mirror of https://github.com/calzoneman/sync.git
36 lines
3.3 MiB
36 lines
3.3 MiB
var Module=typeof Module!=="undefined"?Module:{};var Promise=function(){function noop(){}function bind(fn,thisArg){return function(){fn.apply(thisArg,arguments)}}function Promise(fn){if(!(this instanceof Promise))throw new TypeError("Promises must be constructed via new");if(typeof fn!=="function")throw new TypeError("not a function");this._state=0;this._handled=false;this._value=undefined;this._deferreds=[];doResolve(fn,this)}function handle(self,deferred){while(self._state===3){self=self._value}if(self._state===0){self._deferreds.push(deferred);return}self._handled=true;Promise._immediateFn(function(){var cb=self._state===1?deferred.onFulfilled:deferred.onRejected;if(cb===null){(self._state===1?resolve:reject)(deferred.promise,self._value);return}var ret;try{ret=cb(self._value)}catch(e){reject(deferred.promise,e);return}resolve(deferred.promise,ret)})}function resolve(self,newValue){try{if(newValue===self)throw new TypeError("A promise cannot be resolved with itself.");if(newValue&&(typeof newValue==="object"||typeof newValue==="function")){var then=newValue.then;if(newValue instanceof Promise){self._state=3;self._value=newValue;finale(self);return}else if(typeof then==="function"){doResolve(bind(then,newValue),self);return}}self._state=1;self._value=newValue;finale(self)}catch(e){reject(self,e)}}function reject(self,newValue){self._state=2;self._value=newValue;finale(self)}function finale(self){if(self._state===2&&self._deferreds.length===0){Promise._immediateFn(function(){if(!self._handled){Promise._unhandledRejectionFn(self._value)}})}for(var i=0,len=self._deferreds.length;i<len;i++){handle(self,self._deferreds[i])}self._deferreds=null}function Handler(onFulfilled,onRejected,promise){this.onFulfilled=typeof onFulfilled==="function"?onFulfilled:null;this.onRejected=typeof onRejected==="function"?onRejected:null;this.promise=promise}function doResolve(fn,self){var done=false;try{fn(function(value){if(done)return;done=true;resolve(self,value)},function(reason){if(done)return;done=true;reject(self,reason)})}catch(ex){if(done)return;done=true;reject(self,ex)}}Promise.prototype["catch"]=function(onRejected){return this.then(null,onRejected)};Promise.prototype.then=function(onFulfilled,onRejected){var prom=new this.constructor(noop);handle(this,new Handler(onFulfilled,onRejected,prom));return prom};Promise.all=function(arr){return new Promise(function(resolve,reject){if(!Array.isArray(arr)){return reject(new TypeError("Promise.all accepts an array"))}var args=Array.prototype.slice.call(arr);if(args.length===0)return resolve([]);var remaining=args.length;function res(i,val){try{if(val&&(typeof val==="object"||typeof val==="function")){var then=val.then;if(typeof then==="function"){then.call(val,function(val){res(i,val)},reject);return}}args[i]=val;if(--remaining===0){resolve(args)}}catch(ex){reject(ex)}}for(var i=0;i<args.length;i++){res(i,args[i])}})};Promise.resolve=function(value){if(value&&typeof value==="object"&&value.constructor===Promise){return value}return new Promise(function(resolve){resolve(value)})};Promise.reject=function(value){return new Promise(function(resolve,reject){reject(value)})};Promise.race=function(arr){return new Promise(function(resolve,reject){if(!Array.isArray(arr)){return reject(new TypeError("Promise.race accepts an array"))}for(var i=0,len=arr.length;i<len;i++){Promise.resolve(arr[i]).then(resolve,reject)}})};Promise._immediateFn=typeof setImmediate==="function"&&function(fn){setImmediate(fn)}||function(fn){setTimeout(fn,0)};Promise._unhandledRejectionFn=function _unhandledRejectionFn(err){if(typeof console!=="undefined"&&console){console.warn("Possible Unhandled Promise Rejection:",err)}};return Promise}();if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0}Module.expectedDataFileDownloads++;(function(){var loadPackage=function(metadata){var PACKAGE_PATH;if(typeof window==="object"){PACKAGE_PATH=window["encodeURIComponent"](window.location.pathname.toString().substring(0,window.location.pathname.toString().lastIndexOf("/"))+"/")}else if(typeof location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}else{throw"using preloaded data can only be done on a web page or in a web worker"}var PACKAGE_NAME="dist/js/subtitles-octopus-worker-legacy.data";var REMOTE_PACKAGE_BASE="subtitles-octopus-worker-legacy.data";if(typeof Module["locateFilePackage"]==="function"&&!Module["locateFile"]){Module["locateFile"]=Module["locateFilePackage"];err("warning: you defined Module.locateFilePackage, that has been renamed to Module.locateFile (using your locateFilePackage for now)")}var REMOTE_PACKAGE_NAME=Module["locateFile"]?Module["locateFile"](REMOTE_PACKAGE_BASE,""):REMOTE_PACKAGE_BASE;var REMOTE_PACKAGE_SIZE=metadata["remote_package_size"];var PACKAGE_UUID=metadata["package_uuid"];function fetchRemotePackage(packageName,packageSize,callback,errback){var xhr=new XMLHttpRequest;xhr.open("GET",packageName,true);xhr.responseType="arraybuffer";xhr.onprogress=function(event){var url=packageName;var size=packageSize;if(event.total)size=event.total;if(event.loaded){if(!xhr.addedTotal){xhr.addedTotal=true;if(!Module.dataFileDownloads)Module.dataFileDownloads={};Module.dataFileDownloads[url]={loaded:event.loaded,total:size}}else{Module.dataFileDownloads[url].loaded=event.loaded}var total=0;var loaded=0;var num=0;for(var download in Module.dataFileDownloads){var data=Module.dataFileDownloads[download];total+=data.total;loaded+=data.loaded;num++}total=Math.ceil(total*Module.expectedDataFileDownloads/num);if(Module["setStatus"])Module["setStatus"]("Downloading data... ("+loaded+"/"+total+")")}else if(!Module.dataFileDownloads){if(Module["setStatus"])Module["setStatus"]("Downloading data...")}};xhr.onerror=function(event){throw new Error("NetworkError for: "+packageName)};xhr.onload=function(event){if(xhr.status==200||xhr.status==304||xhr.status==206||xhr.status==0&&xhr.response){var packageData=xhr.response;callback(packageData)}else{throw new Error(xhr.statusText+" : "+xhr.responseURL)}};xhr.send(null)}function handleError(error){console.error("package error:",error)}var fetchedCallback=null;var fetched=Module["getPreloadedPackage"]?Module["getPreloadedPackage"](REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE):null;if(!fetched)fetchRemotePackage(REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE,function(data){if(fetchedCallback){fetchedCallback(data);fetchedCallback=null}else{fetched=data}},handleError);function runWithFS(){function assert(check,msg){if(!check)throw msg+(new Error).stack}Module["FS_createPath"]("/","assets",true,true);function DataRequest(start,end,audio){this.start=start;this.end=end;this.audio=audio}DataRequest.prototype={requests:{},open:function(mode,name){this.name=name;this.requests[name]=this;Module["addRunDependency"]("fp "+this.name)},send:function(){},onload:function(){var byteArray=this.byteArray.subarray(this.start,this.end);this.finish(byteArray)},finish:function(byteArray){var that=this;Module["FS_createPreloadedFile"](this.name,null,byteArray,true,true,function(){Module["removeRunDependency"]("fp "+that.name)},function(){if(that.audio){Module["removeRunDependency"]("fp "+that.name)}else{err("Preloading file "+that.name+" failed")}},false,true);this.requests[this.name]=null}};var files=metadata["files"];for(var i=0;i<files.length;++i){new DataRequest(files[i]["start"],files[i]["end"],files[i]["audio"]).open("GET",files[i]["filename"])}function processPackageData(arrayBuffer){assert(arrayBuffer,"Loading data file failed.");assert(arrayBuffer instanceof ArrayBuffer,"bad input to processPackageData");var byteArray=new Uint8Array(arrayBuffer);DataRequest.prototype.byteArray=byteArray;var files=metadata["files"];for(var i=0;i<files.length;++i){DataRequest.prototype.requests[files[i].filename].onload()}Module["removeRunDependency"]("datafile_dist/js/subtitles-octopus-worker-legacy.data")}Module["addRunDependency"]("datafile_dist/js/subtitles-octopus-worker-legacy.data");if(!Module.preloadResults)Module.preloadResults={};Module.preloadResults[PACKAGE_NAME]={fromCache:false};if(fetched){processPackageData(fetched);fetched=null}else{fetchedCallback=processPackageData}}if(Module["calledRun"]){runWithFS()}else{if(!Module["preRun"])Module["preRun"]=[];Module["preRun"].push(runWithFS)}};loadPackage({"files":[{"filename":"/assets/default.woff2","start":0,"end":145972,"audio":0},{"filename":"/assets/fonts.conf","start":145972,"end":146775,"audio":0}],"remote_package_size":146775,"package_uuid":"1cb4abf6-a2d2-4213-93ea-eefb88bcbd14"})})();if(!String.prototype.startsWith){String.prototype.startsWith=function(search,pos){if(pos===undefined){pos=0}return this.substring(pos,search.length)===search}}if(!String.prototype.endsWith){String.prototype.endsWith=function(search,this_len){if(this_len===undefined||this_len>this.length){this_len=this.length}return this.substring(this_len-search.length,this_len)===search}}if(!String.prototype.includes){String.prototype.includes=function(search,pos){return this.indexOf(search,pos)!==-1}}if(!ArrayBuffer.isView){var typedArrays=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];ArrayBuffer.isView=function(obj){return obj&&obj.constructor&&typedArrays.indexOf(obj.constructor)!==-1}}if(!Int8Array.prototype.slice){Object.defineProperty(Int8Array.prototype,"slice",{value:function(begin,end){return new Int8Array(this.subarray(begin,end))}})}if(!Uint8Array.prototype.slice){Object.defineProperty(Uint8Array.prototype,"slice",{value:function(begin,end){return new Uint8Array(this.subarray(begin,end))}})}if(!Int16Array.from){Int16Array.from=function(source){var arr=new Int16Array(source.length);arr.set(source,0);return arr}}if(!Int32Array.from){Int32Array.from=function(source){var arr=new Int32Array(source.length);arr.set(source,0);return arr}}if("performance"in self===false){self.performance={}}Date.now=Date.now||function(){return(new Date).getTime()};if("now"in self.performance===false){var nowOffset=Date.now();if(performance.timing&&performance.timing.navigationStart){nowOffset=performance.timing.navigationStart}self.performance.now=function now(){return Date.now()-nowOffset}}if(!Int32Array.__proto__.from){Object.defineProperty(Int32Array.__proto__,"from",{value:function(obj){obj=Object(obj);if(!obj["length"]){return new this(0)}var typed_array=new this(obj.length);for(var i=0;i<typed_array.length;i++){typed_array[i]=obj[i]}return typed_array}})}if(!Array.prototype.copyWithin){Array.prototype.copyWithin=function(target,start,end){var O=Object(this);var len=O.length>>>0;var to=target|0;var from=start|0;var count=Math.min(Math.min(end|0,len)-from,len-to);var direction=1;if(from<to&&to<from+count){direction=-1;from+=count-1;to+=count-1}while(count>0){O[to]=O[from];from+=direction;to+=direction;count--}return O}}if(!Array.prototype.fill){Object.defineProperty(Array.prototype,"fill",{value:function(value,start,end){end=end|0;var O=Object(this);var k=start|0;while(k<end){O[k]=value;k++}return O}})}if(!Int8Array.prototype.copyWithin){Int8Array.prototype.copyWithin=Array.prototype.copyWithin}if(!Int8Array.prototype.fill){Int8Array.prototype.fill=Array.prototype.fill}if(!Int32Array.prototype.fill){Int32Array.prototype.fill=Array.prototype.fill}var hasNativeConsole=typeof console!=="undefined";function makeCustomConsole(){var console=function(){function postConsoleMessage(prefix,args){postMessage({target:"console-"+prefix,content:JSON.stringify(Array.prototype.slice.call(args))})}return{log:function(){postConsoleMessage("log",arguments)},debug:function(){postConsoleMessage("debug",arguments)},info:function(){postConsoleMessage("info",arguments)},warn:function(){postConsoleMessage("warn",arguments)},error:function(){postConsoleMessage("error",arguments)}}}();return console}function isBrotliFile(url){var len=url.indexOf("?");if(len===-1){len=url.length}return url.endsWith(".br",len)}Module=Module||{};Module["preRun"]=Module["preRun"]||[];Module["preRun"].push(function(){var i;Module["FS_createPath"]("/","fonts",true,true);Module["FS_createPath"]("/","fontconfig",true,true);if(!self.subContent){if(isBrotliFile(self.subUrl)){self.subContent=Module["BrotliDecode"](readBinary(self.subUrl))}else{self.subContent=read_(self.subUrl)}}if(self.availableFonts&&self.availableFonts.length!==0){var sections=parseAss(self.subContent);for(var i=0;i<sections.length;i++){for(var j=0;j<sections[i].body.length;j++){if(sections[i].body[j].key==="Style"){self.writeFontToFS(sections[i].body[j].value["Fontname"])}}}var regex=/\\fn([^\\}]*?)[\\}]/g;var matches;while(matches=regex.exec(self.subContent)){self.writeFontToFS(matches[1])}}if(self.subContent){Module["FS"].writeFile("/sub.ass",self.subContent)}self.subContent=null;var fontFiles=self.fontFiles||[];for(i=0;i<fontFiles.length;i++){Module["FS_createPreloadedFile"]("/fonts","font"+i+"-"+fontFiles[i].split("/").pop(),fontFiles[i],true,true)}});Module["onRuntimeInitialized"]=function(){self.octObj=new Module.SubtitleOctopus;self.changed=Module._malloc(4);self.blendTime=Module._malloc(8);self.blendX=Module._malloc(4);self.blendY=Module._malloc(4);self.blendW=Module._malloc(4);self.blendH=Module._malloc(4);self.octObj.initLibrary(screen.width,screen.height);self.octObj.createTrack("/sub.ass");self.ass_track=self.octObj.track;self.ass_library=self.octObj.ass_library;self.ass_renderer=self.octObj.ass_renderer;if(self.libassMemoryLimit>0||self.libassGlyphLimit>0){self.octObj.setMemoryLimits(self.libassGlyphLimit,self.libassMemoryLimit)}};Module["print"]=function(text){if(arguments.length>1)text=Array.prototype.slice.call(arguments).join(" ");console.log(text)};Module["printErr"]=function(text){if(arguments.length>1)text=Array.prototype.slice.call(arguments).join(" ");console.error(text)};if(!hasNativeConsole){var console={log:function(x){if(typeof dump==="function")dump("log: "+x+"\n")},debug:function(x){if(typeof dump==="function")dump("debug: "+x+"\n")},info:function(x){if(typeof dump==="function")dump("info: "+x+"\n")},warn:function(x){if(typeof dump==="function")dump("warn: "+x+"\n")},error:function(x){if(typeof dump==="function")dump("error: "+x+"\n")}}}function BrotliDecodeClosure(){null;var DICTIONARY_DATA=new Int8Array(0);function InputStream(bytes){this.data=bytes;this.offset=0}var MAX_HUFFMAN_TABLE_SIZE=Int32Array.from([256,402,436,468,500,534,566,598,630,662,694,726,758,790,822,854,886,920,952,984,1016,1048,1080]);var CODE_LENGTH_CODE_ORDER=Int32Array.from([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]);var DISTANCE_SHORT_CODE_INDEX_OFFSET=Int32Array.from([0,3,2,1,0,0,0,0,0,0,3,3,3,3,3,3]);var DISTANCE_SHORT_CODE_VALUE_OFFSET=Int32Array.from([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]);var FIXED_TABLE=Int32Array.from([131072,131076,131075,196610,131072,131076,131075,262145,131072,131076,131075,196610,131072,131076,131075,262149]);var DICTIONARY_OFFSETS_BY_LENGTH=Int32Array.from([0,0,0,0,0,4096,9216,21504,35840,44032,53248,63488,74752,87040,93696,100864,104704,106752,108928,113536,115968,118528,119872,121280,122016]);var DICTIONARY_SIZE_BITS_BY_LENGTH=Int32Array.from([0,0,0,0,10,10,11,11,10,10,10,10,10,9,9,8,7,7,8,7,7,6,6,5,5]);var BLOCK_LENGTH_OFFSET=Int32Array.from([1,5,9,13,17,25,33,41,49,65,81,97,113,145,177,209,241,305,369,497,753,1265,2289,4337,8433,16625]);var BLOCK_LENGTH_N_BITS=Int32Array.from([2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,7,8,9,10,11,12,13,24]);var INSERT_LENGTH_N_BITS=Int16Array.from([0,0,0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,7,8,9,10,12,14,24]);var COPY_LENGTH_N_BITS=Int16Array.from([0,0,0,0,0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,7,8,9,10,24]);var CMD_LOOKUP=new Int16Array(2816);{unpackCommandLookupTable(CMD_LOOKUP)}function log2floor(i){var result=-1;var step=16;while(step>0){if(i>>>step!=0){result+=step;i=i>>>step}step=step>>1}return result+i}function calculateDistanceAlphabetSize(npostfix,ndirect,maxndistbits){return 16+ndirect+2*(maxndistbits<<npostfix)}function calculateDistanceAlphabetLimit(maxDistance,npostfix,ndirect){if(maxDistance<ndirect+(2<<npostfix)){throw"maxDistance is too small"}var offset=(maxDistance-ndirect>>npostfix)+4;var ndistbits=log2floor(offset)-1;var group=ndistbits-1<<1|offset>>ndistbits&1;return(group-1<<npostfix)+(1<<npostfix)+ndirect+16}function unpackCommandLookupTable(cmdLookup){var insertLengthOffsets=new Int16Array(24);var copyLengthOffsets=new Int16Array(24);copyLengthOffsets[0]=2;for(var i=0;i<23;++i){insertLengthOffsets[i+1]=insertLengthOffsets[i]+(1<<INSERT_LENGTH_N_BITS[i]);copyLengthOffsets[i+1]=copyLengthOffsets[i]+(1<<COPY_LENGTH_N_BITS[i])}for(var cmdCode=0;cmdCode<704;++cmdCode){var rangeIdx=cmdCode>>>6;var distanceContextOffset=-4;if(rangeIdx>=2){rangeIdx-=2;distanceContextOffset=0}var insertCode=(170064>>>rangeIdx*2&3)<<3|cmdCode>>>3&7;var copyCode=(156228>>>rangeIdx*2&3)<<3|cmdCode&7;var copyLengthOffset=copyLengthOffsets[copyCode];var distanceContext=distanceContextOffset+(copyLengthOffset>4?3:copyLengthOffset-2);var index=cmdCode*4;cmdLookup[index+0]=INSERT_LENGTH_N_BITS[insertCode]|COPY_LENGTH_N_BITS[copyCode]<<8;cmdLookup[index+1]=insertLengthOffsets[insertCode];cmdLookup[index+2]=copyLengthOffsets[copyCode];cmdLookup[index+3]=distanceContext}}function decodeWindowBits(s){var largeWindowEnabled=s.isLargeWindow;s.isLargeWindow=0;if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}if(readFewBits(s,1)==0){return 16}var n=readFewBits(s,3);if(n!=0){return 17+n}n=readFewBits(s,3);if(n!=0){if(n==1){if(largeWindowEnabled==0){return-1}s.isLargeWindow=1;if(readFewBits(s,1)==1){return-1}n=readFewBits(s,6);if(n<10||n>30){return-1}return n}else{return 8+n}}return 17}function initState(s,input){if(s.runningState!=0){throw"State MUST be uninitialized"}s.blockTrees=new Int32Array(3091);s.blockTrees[0]=7;s.distRbIdx=3;var maxDistanceAlphabetLimit=calculateDistanceAlphabetLimit(2147483644,3,15<<3);s.distExtraBits=new Int8Array(maxDistanceAlphabetLimit);s.distOffset=new Int32Array(maxDistanceAlphabetLimit);s.input=input;initBitReader(s);s.runningState=1}function close(s){if(s.runningState==0){throw"State MUST be initialized"}if(s.runningState==11){return}s.runningState=11;if(s.input!=null){closeInput(s.input);s.input=null}}function decodeVarLenUnsignedByte(s){if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}if(readFewBits(s,1)!=0){var n=readFewBits(s,3);if(n==0){return 1}else{return readFewBits(s,n)+(1<<n)}}return 0}function decodeMetaBlockLength(s){if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}s.inputEnd=readFewBits(s,1);s.metaBlockLength=0;s.isUncompressed=0;s.isMetadata=0;if(s.inputEnd!=0&&readFewBits(s,1)!=0){return}var sizeNibbles=readFewBits(s,2)+4;if(sizeNibbles==7){s.isMetadata=1;if(readFewBits(s,1)!=0){throw"Corrupted reserved bit"}var sizeBytes=readFewBits(s,2);if(sizeBytes==0){return}for(var i=0;i<sizeBytes;i++){if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}var bits=readFewBits(s,8);if(bits==0&&i+1==sizeBytes&&sizeBytes>1){throw"Exuberant nibble"}s.metaBlockLength|=bits<<i*8}}else{for(var i=0;i<sizeNibbles;i++){if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}var bits=readFewBits(s,4);if(bits==0&&i+1==sizeNibbles&&sizeNibbles>4){throw"Exuberant nibble"}s.metaBlockLength|=bits<<i*4}}s.metaBlockLength++;if(s.inputEnd==0){s.isUncompressed=readFewBits(s,1)}}function readSymbol(tableGroup,tableIdx,s){var offset=tableGroup[tableIdx];var val=s.accumulator32>>>s.bitOffset;offset+=val&255;var bits=tableGroup[offset]>>16;var sym=tableGroup[offset]&65535;if(bits<=8){s.bitOffset+=bits;return sym}offset+=sym;var mask=(1<<bits)-1;offset+=(val&mask)>>>8;s.bitOffset+=(tableGroup[offset]>>16)+8;return tableGroup[offset]&65535}function readBlockLength(tableGroup,tableIdx,s){if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}var code=readSymbol(tableGroup,tableIdx,s);var n=BLOCK_LENGTH_N_BITS[code];if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}return BLOCK_LENGTH_OFFSET[code]+(n<=16?readFewBits(s,n):readManyBits(s,n))}function moveToFront(v,index){var value=v[index];for(;index>0;index--){v[index]=v[index-1]}v[0]=value}function inverseMoveToFrontTransform(v,vLen){var mtf=new Int32Array(256);for(var i=0;i<256;i++){mtf[i]=i}for(var i=0;i<vLen;i++){var index=v[i]&255;v[i]=mtf[index];if(index!=0){moveToFront(mtf,index)}}}function readHuffmanCodeLengths(codeLengthCodeLengths,numSymbols,codeLengths,s){var symbol=0;var prevCodeLen=8;var repeat=0;var repeatCodeLen=0;var space=32768;var table=new Int32Array(32+1);var tableIdx=table.length-1;buildHuffmanTable(table,tableIdx,5,codeLengthCodeLengths,18);while(symbol<numSymbols&&space>0){if(s.halfOffset>2030){doReadMoreInput(s)}if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}var p=s.accumulator32>>>s.bitOffset&31;s.bitOffset+=table[p]>>16;var codeLen=table[p]&65535;if(codeLen<16){repeat=0;codeLengths[symbol++]=codeLen;if(codeLen!=0){prevCodeLen=codeLen;space-=32768>>codeLen}}else{var extraBits=codeLen-14;var newLen=0;if(codeLen==16){newLen=prevCodeLen}if(repeatCodeLen!=newLen){repeat=0;repeatCodeLen=newLen}var oldRepeat=repeat;if(repeat>0){repeat-=2;repeat<<=extraBits}if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}repeat+=readFewBits(s,extraBits)+3;var repeatDelta=repeat-oldRepeat;if(symbol+repeatDelta>numSymbols){throw"symbol + repeatDelta > numSymbols"}for(var i=0;i<repeatDelta;i++){codeLengths[symbol++]=repeatCodeLen}if(repeatCodeLen!=0){space-=repeatDelta<<15-repeatCodeLen}}}if(space!=0){throw"Unused space"}codeLengths.fill(0,symbol,numSymbols)}function checkDupes(symbols,length){for(var i=0;i<length-1;++i){for(var j=i+1;j<length;++j){if(symbols[i]==symbols[j]){throw"Duplicate simple Huffman code symbol"}}}}function readSimpleHuffmanCode(alphabetSizeMax,alphabetSizeLimit,tableGroup,tableIdx,s){var codeLengths=new Int32Array(alphabetSizeLimit);var symbols=new Int32Array(4);var maxBits=1+log2floor(alphabetSizeMax-1);var numSymbols=readFewBits(s,2)+1;for(var i=0;i<numSymbols;i++){if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}var symbol=readFewBits(s,maxBits);if(symbol>=alphabetSizeLimit){throw"Can't readHuffmanCode"}symbols[i]=symbol}checkDupes(symbols,numSymbols);var histogramId=numSymbols;if(numSymbols==4){histogramId+=readFewBits(s,1)}switch(histogramId){case 1:codeLengths[symbols[0]]=1;break;case 2:codeLengths[symbols[0]]=1;codeLengths[symbols[1]]=1;break;case 3:codeLengths[symbols[0]]=1;codeLengths[symbols[1]]=2;codeLengths[symbols[2]]=2;break;case 4:codeLengths[symbols[0]]=2;codeLengths[symbols[1]]=2;codeLengths[symbols[2]]=2;codeLengths[symbols[3]]=2;break;case 5:codeLengths[symbols[0]]=1;codeLengths[symbols[1]]=2;codeLengths[symbols[2]]=3;codeLengths[symbols[3]]=3;break;default:break}return buildHuffmanTable(tableGroup,tableIdx,8,codeLengths,alphabetSizeLimit)}function readComplexHuffmanCode(alphabetSizeLimit,skip,tableGroup,tableIdx,s){var codeLengths=new Int32Array(alphabetSizeLimit);var codeLengthCodeLengths=new Int32Array(18);var space=32;var numCodes=0;for(var i=skip;i<18&&space>0;i++){var codeLenIdx=CODE_LENGTH_CODE_ORDER[i];if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}var p=s.accumulator32>>>s.bitOffset&15;s.bitOffset+=FIXED_TABLE[p]>>16;var v=FIXED_TABLE[p]&65535;codeLengthCodeLengths[codeLenIdx]=v;if(v!=0){space-=32>>v;numCodes++}}if(space!=0&&numCodes!=1){throw"Corrupted Huffman code histogram"}readHuffmanCodeLengths(codeLengthCodeLengths,alphabetSizeLimit,codeLengths,s);return buildHuffmanTable(tableGroup,tableIdx,8,codeLengths,alphabetSizeLimit)}function readHuffmanCode(alphabetSizeMax,alphabetSizeLimit,tableGroup,tableIdx,s){if(s.halfOffset>2030){doReadMoreInput(s)}if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}var simpleCodeOrSkip=readFewBits(s,2);if(simpleCodeOrSkip==1){return readSimpleHuffmanCode(alphabetSizeMax,alphabetSizeLimit,tableGroup,tableIdx,s)}else{return readComplexHuffmanCode(alphabetSizeLimit,simpleCodeOrSkip,tableGroup,tableIdx,s)}}function decodeContextMap(contextMapSize,contextMap,s){if(s.halfOffset>2030){doReadMoreInput(s)}var numTrees=decodeVarLenUnsignedByte(s)+1;if(numTrees==1){contextMap.fill(0,0,contextMapSize);return numTrees}if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}var useRleForZeros=readFewBits(s,1);var maxRunLengthPrefix=0;if(useRleForZeros!=0){maxRunLengthPrefix=readFewBits(s,4)+1}var alphabetSize=numTrees+maxRunLengthPrefix;var tableSize=MAX_HUFFMAN_TABLE_SIZE[alphabetSize+31>>5];var table=new Int32Array(tableSize+1);var tableIdx=table.length-1;readHuffmanCode(alphabetSize,alphabetSize,table,tableIdx,s);for(var i=0;i<contextMapSize;){if(s.halfOffset>2030){doReadMoreInput(s)}if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}var code=readSymbol(table,tableIdx,s);if(code==0){contextMap[i]=0;i++}else if(code<=maxRunLengthPrefix){if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}var reps=(1<<code)+readFewBits(s,code);while(reps!=0){if(i>=contextMapSize){throw"Corrupted context map"}contextMap[i]=0;i++;reps--}}else{contextMap[i]=code-maxRunLengthPrefix;i++}}if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}if(readFewBits(s,1)==1){inverseMoveToFrontTransform(contextMap,contextMapSize)}return numTrees}function decodeBlockTypeAndLength(s,treeType,numBlockTypes){var ringBuffers=s.rings;var offset=4+treeType*2;if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}var blockType=readSymbol(s.blockTrees,2*treeType,s);var result=readBlockLength(s.blockTrees,2*treeType+1,s);if(blockType==1){blockType=ringBuffers[offset+1]+1}else if(blockType==0){blockType=ringBuffers[offset]}else{blockType-=2}if(blockType>=numBlockTypes){blockType-=numBlockTypes}ringBuffers[offset]=ringBuffers[offset+1];ringBuffers[offset+1]=blockType;return result}function decodeLiteralBlockSwitch(s){s.literalBlockLength=decodeBlockTypeAndLength(s,0,s.numLiteralBlockTypes);var literalBlockType=s.rings[5];s.contextMapSlice=literalBlockType<<6;s.literalTreeIdx=s.contextMap[s.contextMapSlice]&255;var contextMode=s.contextModes[literalBlockType];s.contextLookupOffset1=contextMode<<9;s.contextLookupOffset2=s.contextLookupOffset1+256}function decodeCommandBlockSwitch(s){s.commandBlockLength=decodeBlockTypeAndLength(s,1,s.numCommandBlockTypes);s.commandTreeIdx=s.rings[7]}function decodeDistanceBlockSwitch(s){s.distanceBlockLength=decodeBlockTypeAndLength(s,2,s.numDistanceBlockTypes);s.distContextMapSlice=s.rings[9]<<2}function maybeReallocateRingBuffer(s){var newSize=s.maxRingBufferSize;if(newSize>s.expectedTotalSize){var minimalNewSize=s.expectedTotalSize;while(newSize>>1>minimalNewSize){newSize>>=1}if(s.inputEnd==0&&newSize<16384&&s.maxRingBufferSize>=16384){newSize=16384}}if(newSize<=s.ringBufferSize){return}var ringBufferSizeWithSlack=newSize+37;var newBuffer=new Int8Array(ringBufferSizeWithSlack);if(s.ringBuffer.length!=0){newBuffer.set(s.ringBuffer.subarray(0,0+s.ringBufferSize),0)}s.ringBuffer=newBuffer;s.ringBufferSize=newSize}function readNextMetablockHeader(s){if(s.inputEnd!=0){s.nextRunningState=10;s.runningState=12;return}s.literalTreeGroup=new Int32Array(0);s.commandTreeGroup=new Int32Array(0);s.distanceTreeGroup=new Int32Array(0);if(s.halfOffset>2030){doReadMoreInput(s)}decodeMetaBlockLength(s);if(s.metaBlockLength==0&&s.isMetadata==0){return}if(s.isUncompressed!=0||s.isMetadata!=0){jumpToByteBoundary(s);s.runningState=s.isMetadata!=0?5:6}else{s.runningState=3}if(s.isMetadata!=0){return}s.expectedTotalSize+=s.metaBlockLength;if(s.expectedTotalSize>1<<30){s.expectedTotalSize=1<<30}if(s.ringBufferSize<s.maxRingBufferSize){maybeReallocateRingBuffer(s)}}function readMetablockPartition(s,treeType,numBlockTypes){var offset=s.blockTrees[2*treeType];if(numBlockTypes<=1){s.blockTrees[2*treeType+1]=offset;s.blockTrees[2*treeType+2]=offset;return 1<<28}var blockTypeAlphabetSize=numBlockTypes+2;offset+=readHuffmanCode(blockTypeAlphabetSize,blockTypeAlphabetSize,s.blockTrees,2*treeType,s);s.blockTrees[2*treeType+1]=offset;var blockLengthAlphabetSize=26;offset+=readHuffmanCode(blockLengthAlphabetSize,blockLengthAlphabetSize,s.blockTrees,2*treeType+1,s);s.blockTrees[2*treeType+2]=offset;return readBlockLength(s.blockTrees,2*treeType+1,s)}function calculateDistanceLut(s,alphabetSizeLimit){var distExtraBits=s.distExtraBits;var distOffset=s.distOffset;var npostfix=s.distancePostfixBits;var ndirect=s.numDirectDistanceCodes;var postfix=1<<npostfix;var bits=1;var half=0;var i=16;for(var j=0;j<ndirect;++j){distExtraBits[i]=0;distOffset[i]=j+1;++i}while(i<alphabetSizeLimit){var base=ndirect+((2+half<<bits)-4<<npostfix)+1;for(var j=0;j<postfix;++j){distExtraBits[i]=bits;distOffset[i]=base+j;++i}bits=bits+half;half=half^1}}function readMetablockHuffmanCodesAndContextMaps(s){s.numLiteralBlockTypes=decodeVarLenUnsignedByte(s)+1;s.literalBlockLength=readMetablockPartition(s,0,s.numLiteralBlockTypes);s.numCommandBlockTypes=decodeVarLenUnsignedByte(s)+1;s.commandBlockLength=readMetablockPartition(s,1,s.numCommandBlockTypes);s.numDistanceBlockTypes=decodeVarLenUnsignedByte(s)+1;s.distanceBlockLength=readMetablockPartition(s,2,s.numDistanceBlockTypes);if(s.halfOffset>2030){doReadMoreInput(s)}if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}s.distancePostfixBits=readFewBits(s,2);s.numDirectDistanceCodes=readFewBits(s,4)<<s.distancePostfixBits;s.distancePostfixMask=(1<<s.distancePostfixBits)-1;s.contextModes=new Int8Array(s.numLiteralBlockTypes);for(var i=0;i<s.numLiteralBlockTypes;){var limit=min(i+96,s.numLiteralBlockTypes);for(;i<limit;++i){if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}s.contextModes[i]=readFewBits(s,2)}if(s.halfOffset>2030){doReadMoreInput(s)}}s.contextMap=new Int8Array(s.numLiteralBlockTypes<<6);var numLiteralTrees=decodeContextMap(s.numLiteralBlockTypes<<6,s.contextMap,s);s.trivialLiteralContext=1;for(var j=0;j<s.numLiteralBlockTypes<<6;j++){if(s.contextMap[j]!=j>>6){s.trivialLiteralContext=0;break}}s.distContextMap=new Int8Array(s.numDistanceBlockTypes<<2);var numDistTrees=decodeContextMap(s.numDistanceBlockTypes<<2,s.distContextMap,s);s.literalTreeGroup=decodeHuffmanTreeGroup(256,256,numLiteralTrees,s);s.commandTreeGroup=decodeHuffmanTreeGroup(704,704,s.numCommandBlockTypes,s);var distanceAlphabetSizeMax=calculateDistanceAlphabetSize(s.distancePostfixBits,s.numDirectDistanceCodes,24);var distanceAlphabetSizeLimit=distanceAlphabetSizeMax;if(s.isLargeWindow==1){distanceAlphabetSizeMax=calculateDistanceAlphabetSize(s.distancePostfixBits,s.numDirectDistanceCodes,62);distanceAlphabetSizeLimit=calculateDistanceAlphabetLimit(2147483644,s.distancePostfixBits,s.numDirectDistanceCodes)}s.distanceTreeGroup=decodeHuffmanTreeGroup(distanceAlphabetSizeMax,distanceAlphabetSizeLimit,numDistTrees,s);calculateDistanceLut(s,distanceAlphabetSizeLimit);s.contextMapSlice=0;s.distContextMapSlice=0;s.contextLookupOffset1=s.contextModes[0]*512;s.contextLookupOffset2=s.contextLookupOffset1+256;s.literalTreeIdx=0;s.commandTreeIdx=0;s.rings[4]=1;s.rings[5]=0;s.rings[6]=1;s.rings[7]=0;s.rings[8]=1;s.rings[9]=0}function copyUncompressedData(s){var ringBuffer=s.ringBuffer;if(s.metaBlockLength<=0){reload(s);s.runningState=2;return}var chunkLength=min(s.ringBufferSize-s.pos,s.metaBlockLength);copyBytes(s,ringBuffer,s.pos,chunkLength);s.metaBlockLength-=chunkLength;s.pos+=chunkLength;if(s.pos==s.ringBufferSize){s.nextRunningState=6;s.runningState=12;return}reload(s);s.runningState=2}function writeRingBuffer(s){var toWrite=min(s.outputLength-s.outputUsed,s.ringBufferBytesReady-s.ringBufferBytesWritten);if(toWrite!=0){s.output.set(s.ringBuffer.subarray(s.ringBufferBytesWritten,s.ringBufferBytesWritten+toWrite),s.outputOffset+s.outputUsed);s.outputUsed+=toWrite;s.ringBufferBytesWritten+=toWrite}if(s.outputUsed<s.outputLength){return 1}else{return 0}}function decodeHuffmanTreeGroup(alphabetSizeMax,alphabetSizeLimit,n,s){var maxTableSize=MAX_HUFFMAN_TABLE_SIZE[alphabetSizeLimit+31>>5];var group=new Int32Array(n+n*maxTableSize);var next=n;for(var i=0;i<n;++i){group[i]=next;next+=readHuffmanCode(alphabetSizeMax,alphabetSizeLimit,group,i,s)}return group}function calculateFence(s){var result=s.ringBufferSize;if(s.isEager!=0){result=min(result,s.ringBufferBytesWritten+s.outputLength-s.outputUsed)}return result}function decompress(s){if(s.runningState==0){throw"Can't decompress until initialized"}if(s.runningState==11){throw"Can't decompress after close"}if(s.runningState==1){var windowBits=decodeWindowBits(s);if(windowBits==-1){throw"Invalid 'windowBits' code"}s.maxRingBufferSize=1<<windowBits;s.maxBackwardDistance=s.maxRingBufferSize-16;s.runningState=2}var fence=calculateFence(s);var ringBufferMask=s.ringBufferSize-1;var ringBuffer=s.ringBuffer;while(s.runningState!=10){switch(s.runningState){case 2:if(s.metaBlockLength<0){throw"Invalid metablock length"}readNextMetablockHeader(s);fence=calculateFence(s);ringBufferMask=s.ringBufferSize-1;ringBuffer=s.ringBuffer;continue;case 3:readMetablockHuffmanCodesAndContextMaps(s);s.runningState=4;case 4:if(s.metaBlockLength<=0){s.runningState=2;continue}if(s.halfOffset>2030){doReadMoreInput(s)}if(s.commandBlockLength==0){decodeCommandBlockSwitch(s)}s.commandBlockLength--;if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}var cmdCode=readSymbol(s.commandTreeGroup,s.commandTreeIdx,s)<<2;var insertAndCopyExtraBits=CMD_LOOKUP[cmdCode];var insertLengthOffset=CMD_LOOKUP[cmdCode+1];var copyLengthOffset=CMD_LOOKUP[cmdCode+2];s.distanceCode=CMD_LOOKUP[cmdCode+3];if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}var extraBits=insertAndCopyExtraBits&255;s.insertLength=insertLengthOffset+(extraBits<=16?readFewBits(s,extraBits):readManyBits(s,extraBits));if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}var extraBits=insertAndCopyExtraBits>>8;s.copyLength=copyLengthOffset+(extraBits<=16?readFewBits(s,extraBits):readManyBits(s,extraBits));s.j=0;s.runningState=7;case 7:if(s.trivialLiteralContext!=0){while(s.j<s.insertLength){if(s.halfOffset>2030){doReadMoreInput(s)}if(s.literalBlockLength==0){decodeLiteralBlockSwitch(s)}s.literalBlockLength--;if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}ringBuffer[s.pos]=readSymbol(s.literalTreeGroup,s.literalTreeIdx,s);s.pos++;s.j++;if(s.pos>=fence){s.nextRunningState=7;s.runningState=12;break}}}else{var prevByte1=ringBuffer[s.pos-1&ringBufferMask]&255;var prevByte2=ringBuffer[s.pos-2&ringBufferMask]&255;while(s.j<s.insertLength){if(s.halfOffset>2030){doReadMoreInput(s)}if(s.literalBlockLength==0){decodeLiteralBlockSwitch(s)}var literalContext=LOOKUP[s.contextLookupOffset1+prevByte1]|LOOKUP[s.contextLookupOffset2+prevByte2];var literalTreeIdx=s.contextMap[s.contextMapSlice+literalContext]&255;s.literalBlockLength--;prevByte2=prevByte1;if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}prevByte1=readSymbol(s.literalTreeGroup,literalTreeIdx,s);ringBuffer[s.pos]=prevByte1;s.pos++;s.j++;if(s.pos>=fence){s.nextRunningState=7;s.runningState=12;break}}}if(s.runningState!=7){continue}s.metaBlockLength-=s.insertLength;if(s.metaBlockLength<=0){s.runningState=4;continue}var distanceCode=s.distanceCode;if(distanceCode<0){s.distance=s.rings[s.distRbIdx]}else{if(s.halfOffset>2030){doReadMoreInput(s)}if(s.distanceBlockLength==0){decodeDistanceBlockSwitch(s)}s.distanceBlockLength--;if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}var distTreeIdx=s.distContextMap[s.distContextMapSlice+distanceCode]&255;distanceCode=readSymbol(s.distanceTreeGroup,distTreeIdx,s);if(distanceCode<16){var index=s.distRbIdx+DISTANCE_SHORT_CODE_INDEX_OFFSET[distanceCode]&3;s.distance=s.rings[index]+DISTANCE_SHORT_CODE_VALUE_OFFSET[distanceCode];if(s.distance<0){throw"Negative distance"}}else{var extraBits=s.distExtraBits[distanceCode];var bits;if(s.bitOffset+extraBits<=32){bits=readFewBits(s,extraBits)}else{if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}bits=extraBits<=16?readFewBits(s,extraBits):readManyBits(s,extraBits)}s.distance=s.distOffset[distanceCode]+(bits<<s.distancePostfixBits)}}if(s.maxDistance!=s.maxBackwardDistance&&s.pos<s.maxBackwardDistance){s.maxDistance=s.pos}else{s.maxDistance=s.maxBackwardDistance}if(s.distance>s.maxDistance){s.runningState=9;continue}if(distanceCode>0){s.distRbIdx=s.distRbIdx+1&3;s.rings[s.distRbIdx]=s.distance}if(s.copyLength>s.metaBlockLength){throw"Invalid backward reference"}s.j=0;s.runningState=8;case 8:var src=s.pos-s.distance&ringBufferMask;var dst=s.pos;var copyLength=s.copyLength-s.j;var srcEnd=src+copyLength;var dstEnd=dst+copyLength;if(srcEnd<ringBufferMask&&dstEnd<ringBufferMask){if(copyLength<12||srcEnd>dst&&dstEnd>src){for(var k=0;k<copyLength;k+=4){ringBuffer[dst++]=ringBuffer[src++];ringBuffer[dst++]=ringBuffer[src++];ringBuffer[dst++]=ringBuffer[src++];ringBuffer[dst++]=ringBuffer[src++]}}else{ringBuffer.copyWithin(dst,src,srcEnd)}s.j+=copyLength;s.metaBlockLength-=copyLength;s.pos+=copyLength}else{for(;s.j<s.copyLength;){ringBuffer[s.pos]=ringBuffer[s.pos-s.distance&ringBufferMask];s.metaBlockLength--;s.pos++;s.j++;if(s.pos>=fence){s.nextRunningState=8;s.runningState=12;break}}}if(s.runningState==8){s.runningState=4}continue;case 9:if(s.distance>2147483644){throw"Invalid backward reference"}if(s.copyLength>=4&&s.copyLength<=24){var offset=DICTIONARY_OFFSETS_BY_LENGTH[s.copyLength];var wordId=s.distance-s.maxDistance-1;var shift=DICTIONARY_SIZE_BITS_BY_LENGTH[s.copyLength];var mask=(1<<shift)-1;var wordIdx=wordId&mask;var transformIdx=wordId>>>shift;offset+=wordIdx*s.copyLength;if(transformIdx<121){var len=transformDictionaryWord(ringBuffer,s.pos,DICTIONARY_DATA,offset,s.copyLength,RFC_TRANSFORMS,transformIdx);s.pos+=len;s.metaBlockLength-=len;if(s.pos>=fence){s.nextRunningState=4;s.runningState=12;continue}}else{throw"Invalid backward reference"}}else{throw"Invalid backward reference"}s.runningState=4;continue;case 5:while(s.metaBlockLength>0){if(s.halfOffset>2030){doReadMoreInput(s)}if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}readFewBits(s,8);s.metaBlockLength--}s.runningState=2;continue;case 6:copyUncompressedData(s);continue;case 12:s.ringBufferBytesReady=min(s.pos,s.ringBufferSize);s.runningState=13;case 13:if(writeRingBuffer(s)==0){return}if(s.pos>=s.maxBackwardDistance){s.maxDistance=s.maxBackwardDistance}if(s.pos>=s.ringBufferSize){if(s.pos>s.ringBufferSize){ringBuffer.copyWithin(0,s.ringBufferSize,s.pos)}s.pos&=ringBufferMask;s.ringBufferBytesWritten=0}s.runningState=s.nextRunningState;continue;default:throw"Unexpected state "+s.runningState}}if(s.runningState==10){if(s.metaBlockLength<0){throw"Invalid metablock length"}jumpToByteBoundary(s);checkHealth(s,1)}}function Transforms(numTransforms,prefixSuffixLen,prefixSuffixCount){this.numTransforms=0;this.triplets=new Int32Array(0);this.prefixSuffixStorage=new Int8Array(0);this.prefixSuffixHeads=new Int32Array(0);this.params=new Int16Array(0);this.numTransforms=numTransforms;this.triplets=new Int32Array(numTransforms*3);this.params=new Int16Array(numTransforms);this.prefixSuffixStorage=new Int8Array(prefixSuffixLen);this.prefixSuffixHeads=new Int32Array(prefixSuffixCount+1)}var RFC_TRANSFORMS=new Transforms(121,167,50);function unpackTransforms(prefixSuffix,prefixSuffixHeads,transforms,prefixSuffixSrc,transformsSrc){var n=prefixSuffixSrc.length;var index=1;var j=0;for(var i=0;i<n;++i){var c=prefixSuffixSrc.charCodeAt(i);if(c==35){prefixSuffixHeads[index++]=j}else{prefixSuffix[j++]=c}}for(var i=0;i<363;++i){transforms[i]=transformsSrc.charCodeAt(i)-32}}{unpackTransforms(RFC_TRANSFORMS.prefixSuffixStorage,RFC_TRANSFORMS.prefixSuffixHeads,RFC_TRANSFORMS.triplets,'# #s #, #e #.# the #.com/#Â # of # and # in # to #"#">#\n#]# for # a # that #. # with #\'# from # by #. The # on # as # is #ing #\n\t#:#ed #(# at #ly #="# of the #. This #,# not #er #al #=\'#ful #ive #less #est #ize #ous #'," !! ! , *! &! \" ! ) * * - ! # ! #!*! + ,$ ! - % . / # 0 1 . \" 2 3!* 4% ! # / 5 6 7 8 0 1 & $ 9 + : ; < ' != > ?! 4 @ 4 2 & A *# ( B C& ) % ) !*# *-% A +! *. D! %' & E *6 F G% ! *A *% H! D I!+! J!+ K +- *4! A L!*4 M N +6 O!*% +.! K *G P +%( ! G *D +D Q +# *K!*G!+D!+# +G +A +4!+% +K!+4!*D!+K!*K")}function transformDictionaryWord(dst,dstOffset,src,srcOffset,len,transforms,transformIndex){var offset=dstOffset;var triplets=transforms.triplets;var prefixSuffixStorage=transforms.prefixSuffixStorage;var prefixSuffixHeads=transforms.prefixSuffixHeads;var transformOffset=3*transformIndex;var prefixIdx=triplets[transformOffset];var transformType=triplets[transformOffset+1];var suffixIdx=triplets[transformOffset+2];var prefix=prefixSuffixHeads[prefixIdx];var prefixEnd=prefixSuffixHeads[prefixIdx+1];var suffix=prefixSuffixHeads[suffixIdx];var suffixEnd=prefixSuffixHeads[suffixIdx+1];var omitFirst=transformType-11;var omitLast=transformType-0;if(omitFirst<1||omitFirst>9){omitFirst=0}if(omitLast<1||omitLast>9){omitLast=0}while(prefix!=prefixEnd){dst[offset++]=prefixSuffixStorage[prefix++]}if(omitFirst>len){omitFirst=len}srcOffset+=omitFirst;len-=omitFirst;len-=omitLast;var i=len;while(i>0){dst[offset++]=src[srcOffset++];i--}if(transformType==10||transformType==11){var uppercaseOffset=offset-len;if(transformType==10){len=1}while(len>0){var c0=dst[uppercaseOffset]&255;if(c0<192){if(c0>=97&&c0<=122){dst[uppercaseOffset]^=32}uppercaseOffset+=1;len-=1}else if(c0<224){dst[uppercaseOffset+1]^=32;uppercaseOffset+=2;len-=2}else{dst[uppercaseOffset+2]^=5;uppercaseOffset+=3;len-=3}}}else if(transformType==21||transformType==22){var shiftOffset=offset-len;var param=transforms.params[transformIndex];var scalar=(param&32767)+(16777216-(param&32768));while(len>0){var step=1;var c0=dst[shiftOffset]&255;if(c0<128){scalar+=c0;dst[shiftOffset]=scalar&127}else if(c0<192){}else if(c0<224){if(len>=2){var c1=dst[shiftOffset+1];scalar+=c1&63|(c0&31)<<6;dst[shiftOffset]=192|scalar>>6&31;dst[shiftOffset+1]=c1&192|scalar&63;step=2}else{step=len}}else if(c0<240){if(len>=3){var c1=dst[shiftOffset+1];var c2=dst[shiftOffset+2];scalar+=c2&63|(c1&63)<<6|(c0&15)<<12;dst[shiftOffset]=224|scalar>>12&15;dst[shiftOffset+1]=c1&192|scalar>>6&63;dst[shiftOffset+2]=c2&192|scalar&63;step=3}else{step=len}}else if(c0<248){if(len>=4){var c1=dst[shiftOffset+1];var c2=dst[shiftOffset+2];var c3=dst[shiftOffset+3];scalar+=c3&63|(c2&63)<<6|(c1&63)<<12|(c0&7)<<18;dst[shiftOffset]=240|scalar>>18&7;dst[shiftOffset+1]=c1&192|scalar>>12&63;dst[shiftOffset+2]=c2&192|scalar>>6&63;dst[shiftOffset+3]=c3&192|scalar&63;step=4}else{step=len}}shiftOffset+=step;len-=step;if(transformType==21){len=0}}}while(suffix!=suffixEnd){dst[offset++]=prefixSuffixStorage[suffix++]}return offset-dstOffset}function getNextKey(key,len){var step=1<<len-1;while((key&step)!=0){step>>=1}return(key&step-1)+step}function replicateValue(table,offset,step,end,item){do{end-=step;table[offset+end]=item}while(end>0)}function nextTableBitSize(count,len,rootBits){var left=1<<len-rootBits;while(len<15){left-=count[len];if(left<=0){break}len++;left<<=1}return len-rootBits}function buildHuffmanTable(tableGroup,tableIdx,rootBits,codeLengths,codeLengthsSize){var tableOffset=tableGroup[tableIdx];var key;var sorted=new Int32Array(codeLengthsSize);var count=new Int32Array(16);var offset=new Int32Array(16);var symbol;for(symbol=0;symbol<codeLengthsSize;symbol++){count[codeLengths[symbol]]++}offset[1]=0;for(var len=1;len<15;len++){offset[len+1]=offset[len]+count[len]}for(symbol=0;symbol<codeLengthsSize;symbol++){if(codeLengths[symbol]!=0){sorted[offset[codeLengths[symbol]]++]=symbol}}var tableBits=rootBits;var tableSize=1<<tableBits;var totalSize=tableSize;if(offset[15]==1){for(key=0;key<totalSize;key++){tableGroup[tableOffset+key]=sorted[0]}return totalSize}key=0;symbol=0;for(var len=1,step=2;len<=rootBits;len++,step<<=1){for(;count[len]>0;count[len]--){replicateValue(tableGroup,tableOffset+key,step,tableSize,len<<16|sorted[symbol++]);key=getNextKey(key,len)}}var mask=totalSize-1;var low=-1;var currentOffset=tableOffset;for(var len=rootBits+1,step=2;len<=15;len++,step<<=1){for(;count[len]>0;count[len]--){if((key&mask)!=low){currentOffset+=tableSize;tableBits=nextTableBitSize(count,len,rootBits);tableSize=1<<tableBits;totalSize+=tableSize;low=key&mask;tableGroup[tableOffset+low]=tableBits+rootBits<<16|currentOffset-tableOffset-low}replicateValue(tableGroup,currentOffset+(key>>rootBits),step,tableSize,len-rootBits<<16|sorted[symbol++]);key=getNextKey(key,len)}}return totalSize}function doReadMoreInput(s){if(s.endOfStreamReached!=0){if(halfAvailable(s)>=-2){return}throw"No more input"}var readOffset=s.halfOffset<<1;var bytesInBuffer=4096-readOffset;s.byteBuffer.copyWithin(0,readOffset,4096);s.halfOffset=0;while(bytesInBuffer<4096){var spaceLeft=4096-bytesInBuffer;var len=readInput(s.input,s.byteBuffer,bytesInBuffer,spaceLeft);if(len<=0){s.endOfStreamReached=1;s.tailBytes=bytesInBuffer;bytesInBuffer+=1;break}bytesInBuffer+=len}bytesToNibbles(s,bytesInBuffer)}function checkHealth(s,endOfStream){if(s.endOfStreamReached==0){return}var byteOffset=(s.halfOffset<<1)+(s.bitOffset+7>>3)-4;if(byteOffset>s.tailBytes){throw"Read after end"}if(endOfStream!=0&&byteOffset!=s.tailBytes){throw"Unused bytes after end"}}function readFewBits(s,n){var val=s.accumulator32>>>s.bitOffset&(1<<n)-1;s.bitOffset+=n;return val}function readManyBits(s,n){var low=readFewBits(s,16);s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16;return low|readFewBits(s,n-16)<<16}function initBitReader(s){s.byteBuffer=new Int8Array(4160);s.accumulator32=0;s.shortBuffer=new Int16Array(2080);s.bitOffset=32;s.halfOffset=2048;s.endOfStreamReached=0;prepare(s)}function prepare(s){if(s.halfOffset>2030){doReadMoreInput(s)}checkHealth(s,0);s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16;s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}function reload(s){if(s.bitOffset==32){prepare(s)}}function jumpToByteBoundary(s){var padding=32-s.bitOffset&7;if(padding!=0){var paddingBits=readFewBits(s,padding);if(paddingBits!=0){throw"Corrupted padding bits"}}}function halfAvailable(s){var limit=2048;if(s.endOfStreamReached!=0){limit=s.tailBytes+1>>1}return limit-s.halfOffset}function copyBytes(s,data,offset,length){if((s.bitOffset&7)!=0){throw"Unaligned copyBytes"}while(s.bitOffset!=32&&length!=0){data[offset++]=s.accumulator32>>>s.bitOffset;s.bitOffset+=8;length--}if(length==0){return}var copyNibbles=min(halfAvailable(s),length>>1);if(copyNibbles>0){var readOffset=s.halfOffset<<1;var delta=copyNibbles<<1;data.set(s.byteBuffer.subarray(readOffset,readOffset+delta),offset);offset+=delta;length-=delta;s.halfOffset+=copyNibbles}if(length==0){return}if(halfAvailable(s)>0){if(s.bitOffset>=16){s.accumulator32=s.shortBuffer[s.halfOffset++]<<16|s.accumulator32>>>16;s.bitOffset-=16}while(length!=0){data[offset++]=s.accumulator32>>>s.bitOffset;s.bitOffset+=8;length--}checkHealth(s,0);return}while(length>0){var len=readInput(s.input,data,offset,length);if(len==-1){throw"Unexpected end of input"}offset+=len;length-=len}}function bytesToNibbles(s,byteLen){var byteBuffer=s.byteBuffer;var halfLen=byteLen>>1;var shortBuffer=s.shortBuffer;for(var i=0;i<halfLen;++i){shortBuffer[i]=byteBuffer[i*2]&255|(byteBuffer[i*2+1]&255)<<8}}var LOOKUP=new Int32Array(2048);function unpackLookupTable(lookup,map,rle){for(var i=0;i<256;++i){lookup[i]=i&63;lookup[512+i]=i>>2;lookup[1792+i]=2+(i>>6)}for(var i=0;i<128;++i){lookup[1024+i]=4*(map.charCodeAt(i)-32)}for(var i=0;i<64;++i){lookup[1152+i]=i&1;lookup[1216+i]=2+(i&1)}var offset=1280;for(var k=0;k<19;++k){var value=k&3;var rep=rle.charCodeAt(k)-32;for(var i=0;i<rep;++i){lookup[offset++]=value}}for(var i=0;i<16;++i){lookup[1792+i]=1;lookup[2032+i]=6}lookup[1792]=0;lookup[2047]=7;for(var i=0;i<256;++i){lookup[1536+i]=lookup[1792+i]<<3}}{unpackLookupTable(LOOKUP," !! ! \"#$##%#$&'##(#)#++++++++++((&*'##,---,---,-----,-----,-----&#'###.///.///./////./////./////&#'# ","A/* ': & : $ @")}function State(){this.ringBuffer=new Int8Array(0);this.contextModes=new Int8Array(0);this.contextMap=new Int8Array(0);this.distContextMap=new Int8Array(0);this.distExtraBits=new Int8Array(0);this.output=new Int8Array(0);this.byteBuffer=new Int8Array(0);this.shortBuffer=new Int16Array(0);this.intBuffer=new Int32Array(0);this.rings=new Int32Array(0);this.blockTrees=new Int32Array(0);this.literalTreeGroup=new Int32Array(0);this.commandTreeGroup=new Int32Array(0);this.distanceTreeGroup=new Int32Array(0);this.distOffset=new Int32Array(0);this.runningState=0;this.nextRunningState=0;this.accumulator32=0;this.bitOffset=0;this.halfOffset=0;this.tailBytes=0;this.endOfStreamReached=0;this.metaBlockLength=0;this.inputEnd=0;this.isUncompressed=0;this.isMetadata=0;this.literalBlockLength=0;this.numLiteralBlockTypes=0;this.commandBlockLength=0;this.numCommandBlockTypes=0;this.distanceBlockLength=0;this.numDistanceBlockTypes=0;this.pos=0;this.maxDistance=0;this.distRbIdx=0;this.trivialLiteralContext=0;this.literalTreeIdx=0;this.commandTreeIdx=0;this.j=0;this.insertLength=0;this.contextMapSlice=0;this.distContextMapSlice=0;this.contextLookupOffset1=0;this.contextLookupOffset2=0;this.distanceCode=0;this.numDirectDistanceCodes=0;this.distancePostfixMask=0;this.distancePostfixBits=0;this.distance=0;this.copyLength=0;this.maxBackwardDistance=0;this.maxRingBufferSize=0;this.ringBufferSize=0;this.expectedTotalSize=0;this.outputOffset=0;this.outputLength=0;this.outputUsed=0;this.ringBufferBytesWritten=0;this.ringBufferBytesReady=0;this.isEager=0;this.isLargeWindow=0;this.input=null;this.ringBuffer=new Int8Array(0);this.rings=new Int32Array(10);this.rings[0]=16;this.rings[1]=15;this.rings[2]=11;this.rings[3]=4}function unpackDictionaryData(dictionary,data0,data1,skipFlip){var dict=toUsAsciiBytes(data0+data1);if(dict.length!=dictionary.length){throw"Corrupted brotli dictionary"}var offset=0;var n=skipFlip.length;for(var i=0;i<n;i+=2){var skip=skipFlip.charCodeAt(i)-36;var flip=skipFlip.charCodeAt(i+1)-36;offset+=skip;for(var j=0;j<flip;++j){dict[offset]|=128;offset++}}dictionary.set(dict)}{var dictionary=new Int8Array(122784);unpackDictionaryData(dictionary,'timedownlifeleftbackcodedatashowonlysitecityopenjustlikefreeworktextyearoverbodyloveformbookplaylivelinehelphomesidemorewordlongthemviewfindpagedaysfullheadtermeachareafromtruemarkableuponhighdatelandnewsevennextcasebothpostusedmadehandherewhatnameLinkblogsizebaseheldmakemainuser\') +holdendswithNewsreadweresigntakehavegameseencallpathwellplusmenufilmpartjointhislistgoodneedwayswestjobsmindalsologorichuseslastteamarmyfoodkingwilleastwardbestfirePageknowaway.pngmovethanloadgiveselfnotemuchfeedmanyrockicononcelookhidediedHomerulehostajaxinfoclublawslesshalfsomesuchzone100%onescareTimeracebluefourweekfacehopegavehardlostwhenparkkeptpassshiproomHTMLplanTypedonesavekeepflaglinksoldfivetookratetownjumpthusdarkcardfilefearstaykillthatfallautoever.comtalkshopvotedeepmoderestturnbornbandfellroseurl(skinrolecomeactsagesmeetgold.jpgitemvaryfeltthensenddropViewcopy1.0"</a>stopelseliestourpack.gifpastcss?graymean>rideshotlatesaidroadvar feeljohnrickportfast\'UA-dead</b>poorbilltypeU.S.woodmust2px;Inforankwidewantwalllead[0];paulwavesure$(\'#waitmassarmsgoesgainlangpaid!-- lockunitrootwalkfirmwifexml"songtest20pxkindrowstoolfontmailsafestarmapscorerainflowbabyspansays4px;6px;artsfootrealwikiheatsteptriporg/lakeweaktoldFormcastfansbankveryrunsjulytask1px;goalgrewslowedgeid="sets5px;.js?40pxif (soonseatnonetubezerosentreedfactintogiftharm18pxcamehillboldzoomvoideasyringfillpeakinitcost3px;jacktagsbitsrolleditknewnear\x3c!--growJSONdutyNamesaleyou lotspainjazzcoldeyesfishwww.risktabsprev10pxrise25pxBlueding300,ballfordearnwildbox.fairlackverspairjunetechif(!pickevil$("#warmlorddoespull,000ideadrawhugespotfundburnhrefcellkeystickhourlossfuel12pxsuitdealRSS"agedgreyGET"easeaimsgirlaids8px;navygridtips#999warsladycars); }php?helltallwhomzh:e*/\r\n 100hall.\n\nA7px;pushchat0px;crew*/</hash75pxflatrare && tellcampontolaidmissskiptentfinemalegetsplot400,\r\n\r\ncoolfeet.php<br>ericmostguidbelldeschairmathatom/imgRluckcent000;tinygonehtmlselldrugFREEnodenick?id=losenullvastwindRSS wearrelybeensamedukenasacapewishgulfT23:hitsslotgatekickblurthey15px\'\'););">msiewinsbirdsortbetaseekT18:ordstreemall60pxfarmb\0sboys[0].\');"POSTbearkids);}}marytend(UK)quadzh:f-siz----prop\');\rliftT19:viceandydebt>RSSpoolneckblowT16:doorevalT17:letsfailoralpollnovacolsgene b\0softrometillross<h3>pourfadepink<tr>mini)|!(minezh:hbarshear00);milk --\x3eironfreddiskwentsoilputs/js/holyT22:ISBNT20:adamsees<h2>json\', \'contT21: RSSloopasiamoon</p>soulLINEfortcartT14:<h1>80px!--<9px;T04:mike:46ZniceinchYorkricezh:d\'));puremageparatonebond:37Z_of_\']);000,zh:gtankyardbowlbush:56ZJava30px\n|}\n%C3%:34ZjeffEXPIcashvisagolfsnowzh:iquer.csssickmeatmin.binddellhirepicsrent:36ZHTTP-201fotowolfEND xbox:54ZBODYdick;\n}\nexit:35Zvarsbeat\'});diet999;anne}}</[i].LangkmB2wiretoysaddssealalex;\n\t}echonine.org005)tonyjewssandlegsroof000) 200winegeardogsbootgarycutstyletemption.xmlcockgang$(\'.50pxPh.Dmiscalanloandeskmileryanunixdisc);}\ndustclip).\n\n70px-200DVDs7]><tapedemoi++)wageeurophiloptsholeFAQsasin-26TlabspetsURL bulkcook;}\r\nHEAD[0])abbrjuan(198leshtwin</i>sonyguysfuckpipe|-\n!002)ndow[1];[];\nLog salt\r\n\t\tbangtrimbath){\r\n00px\n});ko:lfeesad>\rs:// [];tollplug(){\n{\r\n .js\'200pdualboat.JPG);\n}quot);\n\n\');\n\r\n}\r201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037201320122011201020092008200720062005200420032002200120001999199819971996199519941993199219911990198919881987198619851984198319821981198019791978197719761975197419731972197119701969196819671966196519641963196219611960195919581957195619551954195319521951195010001024139400009999comomC!sesteestaperotodohacecadaaC1obiendC-aasC-vidacasootroforosolootracualdijosidograntipotemadebealgoquC)estonadatrespococasabajotodasinoaguapuesunosantediceluisellamayozonaamorpisoobraclicellodioshoracasiP7P0P=P0P>P<Q\0P0Q\0QQP0P=P5P?P>P>QP8P7P=P>P4P>QP>P6P5P>P=P8QPP0P5P5P1Q\vP<Q\vPQ\vQP>P2Q\vP2P>PP>P>P1PP>P;P8P=P8P P$PP5PQ\vQQ\vPP=P8P<P4P0PP0PP0PQPP1QP5PP7P5P9P=QP<P<P"Q\vQP6YY\nX#YYX\'YX9YYX#Y\bX1X/Y\nX\'YY\tYY\bYYYYX\'Y\bYYX(X3X\'YX%YYY\nX#Y\nYX/YYX+YX(YYY\bYY\nX(YX\'Y\nX(YX4Y\nX\'YX#YYX*X(Y\nYYX-X(YYYX4Y\bX4firstvideolightworldmediawhitecloseblackrightsmallbooksplacemusicfieldorderpointvalueleveltableboardhousegroupworksyearsstatetodaywaterstartstyledeathpowerphonenighterrorinputabouttermstitletoolseventlocaltimeslargewordsgamesshortspacefocusclearmodelblockguideradiosharewomenagainmoneyimagenamesyounglineslatercolorgreenfront&watchforcepricerulesbeginaftervisitissueareasbelowindextotalhourslabelprintpressbuiltlinksspeedstudytradefoundsenseundershownformsrangeaddedstillmovedtakenaboveflashfixedoftenotherviewschecklegalriveritemsquickshapehumanexistgoingmoviethirdbasicpeacestagewidthloginideaswrotepagesusersdrivestorebreaksouthvoicesitesmonthwherebuildwhichearthforumthreesportpartyClicklowerlivesclasslayerentrystoryusagesoundcourtyour birthpopuptypesapplyImagebeinguppernoteseveryshowsmeansextramatchtrackknownearlybegansuperpapernorthlearngivennamedendedTermspartsGroupbrandusingwomanfalsereadyaudiotakeswhile.com/livedcasesdailychildgreatjudgethoseunitsneverbroadcoastcoverapplefilescyclesceneplansclickwritequeenpieceemailframeolderphotolimitcachecivilscaleenterthemetheretouchboundroyalaskedwholesincestock namefaithheartemptyofferscopeownedmightalbumthinkbloodarraymajortrustcanonunioncountvalidstoneStyleLoginhappyoccurleft:freshquitefilmsgradeneedsurbanfightbasishoverauto;route.htmlmixedfinalYour slidetopicbrownalonedrawnsplitreachRightdatesmarchquotegoodsLinksdoubtasyncthumballowchiefyouthnovel10px;serveuntilhandsCheckSpacequeryjamesequaltwice0,000Startpanelsongsroundeightshiftworthpostsleadsweeksavoidthesemilesplanesmartalphaplantmarksratesplaysclaimsalestextsstarswrong</h3>thing.org/multiheardPowerstandtokensolid(thisbringshipsstafftriedcallsfullyfactsagentThis //--\x3eadminegyptEvent15px;Emailtrue"crossspentblogsbox">notedleavechinasizesguest</h4>robotheavytrue,sevengrandcrimesignsawaredancephase>\x3c!--en_US'200px_namelatinenjoyajax.ationsmithU.S. holdspeterindianav">chainscorecomesdoingpriorShare1990sromanlistsjapanfallstrialowneragree</h2>abusealertopera"-//WcardshillsteamsPhototruthclean.php?saintmetallouismeantproofbriefrow">genretrucklooksValueFrame.net/--\x3e\n<try {\nvar makescostsplainadultquesttrainlaborhelpscausemagicmotortheir250pxleaststepsCountcouldglasssidesfundshotelawardmouthmovesparisgivesdutchtexasfruitnull,||[];top">\n\x3c!--POST"ocean<br/>floorspeakdepth sizebankscatchchart20px;aligndealswould50px;url="parksmouseMost ...</amongbrainbody none;basedcarrydraftreferpage_home.meterdelaydreamprovejoint</tr>drugs\x3c!-- aprilidealallenexactforthcodeslogicView seemsblankports (200saved_linkgoalsgrantgreekhomesringsrated30px;whoseparse();" Blocklinuxjonespixel\');">);if(-leftdavidhorseFocusraiseboxesTrackement</em>bar">.src=toweralt="cablehenry24px;setupitalysharpminortastewantsthis.resetwheelgirls/css/100%;clubsstuffbiblevotes 1000korea});\r\nbandsqueue= {};80px;cking{\r\n\t\taheadclockirishlike ratiostatsForm"yahoo)[0];Aboutfinds</h1>debugtasksURL =cells})();12px;primetellsturns0x600.jpg"spainbeachtaxesmicroangel--\x3e</giftssteve-linkbody.});\n\tmount (199FAQ</rogerfrankClass28px;feeds<h1><scotttests22px;drink) || lewisshall#039; for lovedwaste00px;ja:csimon<fontreplymeetsuntercheaptightBrand) != dressclipsroomsonkeymobilmain.Name platefunnytreescom/"1.jpgwmodeparamSTARTleft idden, 201);\n}\nform.viruschairtransworstPagesitionpatch\x3c!--\no-cacfirmstours,000 asiani++){adobe\')[0]id=10both;menu .2.mi.png"kevincoachChildbruce2.jpgURL)+.jpg|suitesliceharry120" sweettr>\r\nname=diegopage swiss--\x3e\n\n#fff;">Log.com"treatsheet) && 14px;sleepntentfiledja:cid="cName"worseshots-box-delta\n<bears:48Z<data-rural</a> spendbakershops= "";php">ction13px;brianhellosize=o=%2F joinmaybe<img img">, fjsimg" ")[0]MTopBType"newlyDanskczechtrailknows</h5>faq">zh-cn10);\n-1");type=bluestrulydavis.js\';>\r\n<!steel you h2>\r\nform jesus100% menu.\r\n\t\r\nwalesrisksumentddingb-likteachgif" vegasdanskeestishqipsuomisobredesdeentretodospuedeaC1osestC!tienehastaotrospartedondenuevohacerformamismomejormundoaquC-dC-assC3loayudafechatodastantomenosdatosotrassitiomuchoahoralugarmayorestoshorastenerantesfotosestaspaC-snuevasaludforosmedioquienmesespoderchileserC!vecesdecirjosC)estarventagrupohechoellostengoamigocosasnivelgentemismaairesjuliotemashaciafavorjuniolibrepuntobuenoautorabrilbuenatextomarzosaberlistaluegocC3moenerojuegoperC:haberestoynuncamujervalorfueralibrogustaigualvotoscasosguC-apuedosomosavisousteddebennochebuscafaltaeurosseriedichocursoclavecasasleC3nplazolargoobrasvistaapoyojuntotratavistocrearcampohemoscincocargopisosordenhacenC!readiscopedrocercapuedapapelmenorC:tilclarojorgecalleponertardenadiemarcasigueellassiglocochemotosmadreclaserestoniC1oquedapasarbancohijosviajepabloC)stevienereinodejarfondocanalnorteletracausatomarmanoslunesautosvillavendopesartipostengamarcollevapadreunidovamoszonasambosbandamariaabusomuchasubirriojavivirgradochicaallC-jovendichaestantalessalirsuelopesosfinesllamabuscoC)stalleganegroplazahumorpagarjuntadobleislasbolsabaC1ohablaluchaCreadicenjugarnotasvalleallC!cargadolorabajoestC)gustomentemariofirmacostofichaplatahogarartesleyesaquelmuseobasespocosmitadcielochicomiedoganarsantoetapadebesplayaredessietecortecoreadudasdeseoviejodeseaaguas"domaincommonstatuseventsmastersystemactionbannerremovescrollupdateglobalmediumfilternumberchangeresultpublicscreenchoosenormaltravelissuessourcetargetspringmodulemobileswitchphotosborderregionitselfsocialactivecolumnrecordfollowtitle>eitherlengthfamilyfriendlayoutauthorcreatereviewsummerserverplayedplayerexpandpolicyformatdoublepointsseriespersonlivingdesignmonthsforcesuniqueweightpeopleenergynaturesearchfigurehavingcustomoffsetletterwindowsubmitrendergroupsuploadhealthmethodvideosschoolfutureshadowdebatevaluesObjectothersrightsleaguechromesimplenoticesharedendingseasonreportonlinesquarebuttonimagesenablemovinglatestwinterFranceperiodstrongrepeatLondondetailformeddemandsecurepassedtoggleplacesdevicestaticcitiesstreamyellowattackstreetflighthiddeninfo">openedusefulvalleycausesleadersecretseconddamagesportsexceptratingsignedthingseffectfieldsstatesofficevisualeditorvolumeReportmuseummoviesparentaccessmostlymother" id="marketgroundchancesurveybeforesymbolmomentspeechmotioninsidematterCenterobjectexistsmiddleEuropegrowthlegacymannerenoughcareeransweroriginportalclientselectrandomclosedtopicscomingfatheroptionsimplyraisedescapechosenchurchdefinereasoncorneroutputmemoryiframepolicemodelsNumberduringoffersstyleskilledlistedcalledsilvermargindeletebetterbrowselimitsGlobalsinglewidgetcenterbudgetnowrapcreditclaimsenginesafetychoicespirit-stylespreadmakingneededrussiapleaseextentScriptbrokenallowschargedividefactormember-basedtheoryconfigaroundworkedhelpedChurchimpactshouldalwayslogo" bottomlist">){var prefixorangeHeader.push(couplegardenbridgelaunchReviewtakingvisionlittledatingButtonbeautythemesforgotSearchanchoralmostloadedChangereturnstringreloadMobileincomesupplySourceordersviewed courseAbout island<html cookiename="amazonmodernadvicein</a>: The dialoghousesBEGIN MexicostartscentreheightaddingIslandassetsEmpireSchooleffortdirectnearlymanualSelect.\n\nOnejoinedmenu">PhilipawardshandleimportOfficeregardskillsnationSportsdegreeweekly (e.g.behinddoctorloggedunited</b></beginsplantsassistartistissued300px|canadaagencyschemeremainBrazilsamplelogo">beyond-scaleacceptservedmarineFootercamera</h1>\n_form"leavesstress" />\r\n.gif" onloadloaderOxfordsistersurvivlistenfemaleDesignsize="appealtext">levelsthankshigherforcedanimalanyoneAfricaagreedrecentPeople<br />wonderpricesturned|| {};main">inlinesundaywrap">failedcensusminutebeaconquotes150px|estateremoteemail"linkedright;signalformal1.htmlsignupprincefloat:.png" forum.AccesspaperssoundsextendHeightsliderUTF-8"& Before. WithstudioownersmanageprofitjQueryannualparamsboughtfamousgooglelongeri++) {israelsayingdecidehome">headerensurebranchpiecesblock;statedtop"><racingresize-->pacitysexualbureau.jpg" 10,000obtaintitlesamount, Inc.comedymenu" lyricstoday.indeedcounty_logo.FamilylookedMarketlse ifPlayerturkey);var forestgivingerrorsDomain}else{insertBlog</footerlogin.fasteragents<body 10px 0pragmafridayjuniordollarplacedcoversplugin5,000 page">boston.test(avatartested_countforumsschemaindex,filledsharesreaderalert(appearSubmitline">body">\n* TheThoughseeingjerseyNews</verifyexpertinjurywidth=CookieSTART across_imagethreadnativepocketbox">\nSystem DavidcancertablesprovedApril reallydriveritem">more">boardscolorscampusfirst || [];media.guitarfinishwidth:showedOther .php" assumelayerswilsonstoresreliefswedenCustomeasily your String\n\nWhiltaylorclear:resortfrenchthough") + "<body>buyingbrandsMembername">oppingsector5px;">vspacepostermajor coffeemartinmaturehappen</nav>kansaslink">Images=falsewhile hspace0& \n\nIn powerPolski-colorjordanBottomStart -count2.htmlnews">01.jpgOnline-rightmillerseniorISBN 00,000 guidesvalue)ectionrepair.xml" rights.html-blockregExp:hoverwithinvirginphones</tr>\rusing \n\tvar >\');\n\t</td>\n</tr>\nbahasabrasilgalegomagyarpolskisrpskiX1X/Y\bd8-fg.\0d=g9i+d?!f/d8-e=f\bd;,d8\0d8*e,e8g.!gh.:ee/d;%f\re\n!f6i4d8*d::d:\'eh*e71d<d8f%g\ve7%d=hg3;f2!f\tg=g+f\t\0f\th/h.:d8-e?fg+ g(f\b7i&i!5d=h\0f\n\0f/i.i"g8e3d8\vh==fg4"d=?g(h=/d;6e(g:?d8;i"h5fh\'i"ee$\rf3(e\fg=g;f6hee.9f(h\re8e:f6\bf/g):i4ee8d;\0d9\be%=e\vgf4;e>g\tee1e&ff\t\vf:f0i;f\0f0f9e<e\fd:,fd>e3d:f4e$h?d8*g3;g;g%if88f\be9?e\ne6d;eh!(e.\te(g,,d8\0d<eh?h!\fg9e;g\t\bfg5e-d8g\fh.>h.!e\rh49fh2e\n e%f4;e\n(d;d;,eee\re."g0e(d8\nf57e&d=e72g;gh(\0h/&g;g$>e\f:g;e=f,g+i\0h&d;7f <f/f\fe=ii>f%e=e.6e;:h.>f\ve\vih/;f3e>\vd=\rg=.g;f5i\0\tf\v)h?f 7e=e\t\re\bg1;fh!\fe d8:d:$ff\0ei3d9d8\rh=i\0h?h!\fd8g\'f\n\0e/h=h.>e$e\bd=e$\'e.6g$>d<g g)6d8d8e(i(i!9g.h?i\fh?f/e<\0e\'\vfe5g5hfd;6eg\t\fe8.e\n)fe\fh5f:e$\'e-&e-&d9 e0e\0f5h\'\bf\nh5e7%g(\vh&f1f\0d9\bf6e\0e\nh=d8;h&g.e\t\rh5h./ee8f9f3g5e=1f\vhe#0fd;;d=e%e:7f0f\r.g>e=f1=h=&d;\vg;\rd=f/d:$f5gd:\'f\t\0d;%g5h/f>g$:d8\0d:e\rd=\rd::ee\bfe0e>ff88e7%e7e-&gg3;e\bg=e\ve8e-e/g i"if\'e\b6e0e\f:e:f,e(e=g=d8\ni\rh&g,,d:\fef,"h?e%e\vfh?d:h\0h/eg0e9h.-d;%d8\nf?e:f\bd8:g/e"i&f8/e\ff6e(1d9ei\0d8\0e.e<\0ed=ef ef,"h?h\'#e3e0f9d8\0d8\vd;%e\nh4#d;;f\bh\0e."f\b7d;#h!(g\'/e\be%3d::f0g i\0e.e:g0g&;g:?e:g(e\bh!(d8\re\fg<h>g;h.!f%h/"d8\rh&f\te3f:fe>\be$f-f>g;g;f?g-g4f%h=e\nf%f:fig\ve\b0g-i(e3i.d8e\f:ie88h\v1h/-g>e:&e8\ffg>e%3f/h>g%h/h\'e.e;:h..i(i(fh\'g2>e=)f%f,fi+eh(\0f9i"e:ie$gfie=1g\ti6h!\fh?f\te\bd:+g\t)eg;h%f7;e\n d8e.6h?g\'\rh/i"h57f%d8e\n!e,e\nh.0e=g.\0d;\vh4(ig7d::e=1e\re<g(f\n%e\ni(e\be?+i\0e(h/"f6e0f3(fg3h/7e-&f !e:h/%ee2e*f/h?eh4-d90e\rg\'0d8:d:f\be\nh/4fd>e:e-)e-d8i"g(\ve:d8\0h\b,fe!e*f\te6e.d?f\n$h\0\fd8d;\ne$)g*e#e\n(f\0g\n6f\0g\t9e\b+h.$d8:e?i!;f4f0e0h/4f\be\0d=d8:e*d=e\ff\v,i#d9\bd8\0f 7e=ef/e&f 9f\r.g5h\'e-&i"e7f\th?g(\vg1d:d::f\t\re:f%d8\rh?f-#e(fffd:\ve3g3;f i"ee\n!h>e%d8\0g4e:g!\0fe-&d:h\'#e;:g-g;fe(gi\0g%h.!e\be/9d:h\t:f/g8e\feggge;:g+\vg-\tg:\'g1;e\vg;i*\fe.g0e\b6d=f%h*f g->d;%d8\vee\bf f3e6d8-e\0\vd::d8\0e\bf\fe\re3i-ie"g,,d8\te3f3(e f-$g\'g\tf71e3ed8e9?e7f%fi+g:\'f\0h?g;<e\bh!(g$:d8h>h!\fd8:d:$i\0h/d;7h\'\te>g2>e\re.6e:-e.\ff\bfh\'\te.\th#e>e\b0i.d;6e\b6e:&i#eh=g6h=,h==f\n%d;7h.0h\0f9f!\bh!\ff?d::f0g(ed8h%?fe:ie:g6ed;f,>g-g9d;%e\t\re.\fe(ee8h.>g=.i"e/<e7%d8e\f;i"g\vg\vg;e8ee e93e0eg\'\re"e\n fff0e"d9\veh\fd8f\bfd;\ne94h.:ff\be=e\nh/\tg\t\bd8;d?.f9ed8f\te\r0e?+d9f:f"0h\'g9e-e(g2>g%h7e>e\b)g(g;\'g;-d= d;,h?d9\bf(!e<h/-h(\0h=e$ihf\rd=i#f <d8\0h57g\'e-&d=h2g-d?!f!d;6f2;gh?e\n(d:\'d8d<h..e/<h\b*e\bghge/f/ei!\fg;fd=g(h0f%h3fh*e\n(h4h4#ed8h.?i.e.f=f%eh.(h.:i#d8*e\ri&\be\n e<:e%3f\0\'h\fe4f\re\vd<i2d;\nf%e."f\rh\'\0g\vee\n gh/d8\0g9d?h/e>d9&f\tf\bf5\vh/g\';e\n(f\t\rh=e3e.h!g%(d8\rf-i\0f1d8\re>e\nf3d9\vi4ig(h%i\0f\nh/\tg.f g\b1ffe=1f\td:h$h#=fe-&f:d<f0e-h#d?.h4-g\t)efe(i"g2>ee6e.d:\vff04e93fg$:d8\ne8h0"h0"f.i\0fe8\bd8\nd< g1;e\b+f-\ff2f\v%f\te\bf0i\rd;6e*h&f6d;#h3h(\nh>>e\b0d::gh."ih\0e8\be1g$:e?gh44e-g62g+d8;i!\fh*g6g:\'e\b+g.\0e\rf9i)i#d:f%h/4f\te<\0d;#g e\b i$h/e\b8h\ng.i\rg9f,!f8e$e0h\'e\bh5if\t>e\b0d;%ee$\'e(d8;i!5f\0d=3eg-e$)d8\vd?ig0d;#f#\0f%f\ng%(e0f6f2f\tf-#e88gh3d;#gg.e=e,e<\0e$\re\b6ih\re98g&g\t\bf,e="f\bee$h!\ffee\b0f\0f3f\0f 7e\rh..h.$h/f\0e%=d:\'gf\f\tg\'f\rh#e9?d8e\n(f<+ih4-f0f\t\vg;e>i"f?eh\0f?f2;e.9fe$)e0e\n*e\nd::d;,e\rg:\'i\0e:&d::g\t)h0f4f5h!\fi\0 f\bfe-i)e=h48fe<\0e1g8ih!(g0e=1h\'e&f-$g>e.9e$\'e0f\n%if!f,>e?fh.8e$f3h\'e.6e1d9&e:h?f%g+\ve\r3d8>f\n%f\n\0e7\'e%%h?g;e%d;%f%gh.:d:\vd;6h*g1d8-e\re\ne,e&\be&\bgf-#d8\rie(fe\be\fd;7e\0<e\b+d::gg#e7d=d8g:*e"ie\bd8f\t?f\ve"i?f\td::d?f\fee.6g;4d?.e0f9>e7&e3h!d;=g-f!\be.ig5d?!g;gge=e.#d< d;;e\n!f-#e<g\t9h\t2d8\vf%e\rd<e*h=e=g6i\rf0e\'e.9f\fe/<h?h!\ff%e?h3#e.6h6h?ee0f5f1f/d;f(e:g+i?f-e7f\t\'h!\fe\b6i\0 d9\vd8\0f(e9?g0e:fh?0ee\fd< g;f-\ff\t\vd?i)h/>g(\ve\f;gg;h?h?e;d9\ve\t\rf6e%e94e:&fe?g>d8=f\0i+g;if*f%e\n e7%e\rh4#fg(\vg\t\beh:+d=i\re:e:e.f\bf,e="e<eh1e:e9d8f9i.g.1e\rd:,f1h\fee>h\fd=\rg8d?!i!5i"e\big=i!5g!.e.e>d>\vg=e\0g\'/fih//g.ge.h4f:e3i#i)f\bfgf/e. g\t)i$d:h)h+g>ge\nf6f1h4-g+g9e?g+%f/e$)d8-e$.h.$h/f/d8*e$)f4%e-d=e0g#g;4f\n$f,i!5d8*f\0\'e.f9e88h\'g8f:f\bg%e:e=e>\ve8\bf9d>?f !e-h!e8f\b?e1\vf g.ee7%e/<h4g*g6ie7f,g=g;e\bf!#f!\be\n3e\n(e&e$g>ee<h57f9eg,,ed<h.!h**fig\'e.e.h\'h\ff6\bh49e1e\fe?h.0d=g3;e8&f%e\re-g<h!(e<\0f>e\n gee\b0d:\ff\t\ve$\'if\bd::f0ie1d:+e\f:ee%3e-)ee\bf\t\0e(g;fi\0d?!h6g:\'i\rg=.e=f6d<g\'\0f\0\'ff\b?d:\'i\nf\b2e:e#fd:$e01d8d?e%g(\ve:&ef0d:\vd8f4d8*e11d8ffg\t9f.\ne\bi!fe0\ve1d:i(f\b7h4"e\n!e#0i3e\ne6h4"g;ef\fe92i(f\bg+\ve\b)g\nh\0hf\bi=e\fh#g(f\b6f/h5fff\vee.\ff4gf/g<gd<d<4e(fi"ee\r+gd<f h+e#e,e1h\t/e%=ee\bg,&e\bid;6g\t9g9d8\re/h\v1fh5d:\'f 9f,ff>e/g"<e,d<f0ff4e\n d:+ee\fe-&e/e\n(i\0e\bef%i.g-f,fg>i#g;?h\t2g(3e.g;\bd:gg\t)d>f1fg\ve\nid8%i\rf08h?egf\tig+d:\te/9h1!h49g(d8\re%=g;e/9e\re\bd?h?g9h/e=1i3d<e\n?d8\re0f,#h5e96d8f\tg9f9ee(f0d?!g(h.>f=e="h1!h5f <g*g 4ig\0i\re$\'d:f/f/d8f:h=e\fe7%e.\fg>eeg;d8\0e:g\t\bf\ti\0 g"ef&e5g(d:d?ge g4 d8-e\ve-e(h44e>f\0fi?fe#d;7gh4"e:e0e.\tff-&f1\ti\fi"e\be;:e$)g):i&e\be.\fei)1e\n(d8\vi"d8\re\rh/d?!fd9\ti3e\th\v1e=f<d:.ed:\vg)e.6g>$d<ef0e\r3e/e\rg(1e.6e7e\n(g;f3e\b0f3(fe0e-&f\0\'h=h\0g g!,d;6h\'g\vf8f%fg,i&i i;ii\0g(f1h\vge.d8;g.!i6f.5h(;e\ng?;h/fe\b)ee%=d<<d9i\0h./f=e7%g\v\0f\vd9h.8g/d?e9e;f&e?5e$\'e\vf:g%(gh\'#e\f?e\rcuandoenviarmadridbuscariniciotiempoporquecuentaestadopuedenjuegoscontraestC!nnombretienenperfilmaneraamigosciudadcentroaunquepuedesdentroprimerpreciosegC:nbuenosvolverpuntossemanahabC-aagostonuevosunidoscarlosequiponiC1osmuchosalgunacorreoimagenpartirarribamarC-ahombreempleoverdadcambiomuchasfueronpasadolC-neaparecenuevascursosestabaquierolibroscuantoaccesomiguelvarioscuatrotienesgruposserC!neuropamediosfrenteacercademC!sofertacochesmodeloitalialetrasalgC:ncompracualesexistecuerposiendoprensallegarviajesdineromurciapodrC!puestodiariopuebloquieremanuelpropiocrisisciertoseguromuertefuentecerrargrandeefectopartesmedidapropiaofrecetierrae-mailvariasformasfuturoobjetoseguirriesgonormasmismosC:nicocaminositiosrazC3ndebidopruebatoledotenC-ajesC:sesperococinaorigentiendacientocC!dizhablarserC-alatinafuerzaestiloguerraentrarC)xitolC3pezagendavC-deoevitarpaginametrosjavierpadresfC!cilcabezaC!reassalidaenvC-ojapC3nabusosbienestextosllevarpuedanfuertecomC:nclaseshumanotenidobilbaounidadestC!seditarcreadoP4P;QQQP>P:P0P:P8P;P8Q\rQP>P2QP5P5P3P>P?Q\0P8QP0P:P5Q\tP5QP6P5PP0P:P1P5P7P1Q\vP;P>P=P8PQP5P?P>P4P-QP>QP>P<QP5P<P=P5QP;P5QQ\0P0P7P>P=P0P3P4P5P<P=P5PP;QPQ\0P8P=P0QP=P8QQP5P<P:QP>P3P>P4P2P>QQP0P<P!P(PP<P0QP\'QP>P2P0QP2P0P<P5P<QP"P0P:P4P2P0P=P0P<Q\rQP8Q\rQQPP0P<QP5QP?Q\0P>QQQP=P0P4P4P=QPP>QQQ\0P8P=P5P9PP0QP=P8P<QP0P<QP>QQ\0QP1PP=P8P<P8Q\0P=P5P5PPPP;P8QQ\rQP0PP=P0P=P5P<P4P>P<P<P>P9P4P2P5P>P=P>QQP4`$`%`$9`%\b`$`%\0`$8`%`$`$>`$`%\v`$`$0`$*`$0`$(`%`$`$`$`$?`$-`%\0`$`$8`$`$0`$$`%\v`$9`%\v`$`$*`$9`%\0`$/`$9`$/`$>`$$`$`$%`$>jagran`$`$`$`%\v`$`$,`$&`%\v`$`$\b`$`$>`$`$`$9`$.`$`$(`$5`$9`$/`%`$%`%`$%`%\0`$`$0`$`$,`$&`%\0`$`$\b`$`%\0`$5`%`$(`$\b`$(`$`$9`$0`$\t`$8`$.`%`$`$.`$5`%\v`$2`%`$8`$,`$.`$\b`$&`%`$`$0`$`$.`$,`$8`$-`$0`$,`$(`$`$2`$.`$(`$`$`$8`%\0`$2`%\0X9YY\tX%YY\tYX0X\'X"X.X1X9X/X/X\'YY\tYX0YX5Y\bX1X:Y\nX1YX\'YY\bYX\'X(Y\nYX9X1X6X0YYYYX\'Y\nY\bYYX\'YX9YY\nX\'YX\'YYYX-X*Y\tYX(YY\bX-X)X\'X.X1YYX7X9X(X/X1YYX%X0X\'YYX\'X\'X-X/X%YX\'YY\nYX(X9X6YY\nYX(X-X+Y\bYYY\bYY\bX#YX\'X,X/X\'YYX\'X3YYX9YX/YY\nX3X9X(X1X5YY\tYYX0X(YX\'X#YYYX+YYYX*X\'YX\'X-Y\nX+YX5X1X4X1X-X-Y\bYY\bYY\nX\'X0X\'YYYYX1X)X\'YX*X\'YYX#X(Y\bX.X\'X5X#YX*X\'YYX\'YY\nX9X6Y\bY\bYX/X\'X(YX.Y\nX1X(YX*YYYX4X\'X!Y\bYY\nX\'X(Y\bYX5X5Y\bYX\'X1YYX#X-X/YX-YX9X/YX1X#Y\nX\'X-X)YX*X(X/Y\bYY\nX,X(YYYX*X-X*X,YX)X3YX)Y\nX*YYX1X)X:X2X)YYX3X(Y\nX*YYYYYX\'X*YYYYX(YYX\'X9YYX#Y\bYX4Y\nX!YY\bX1X#YX\'YY\nYX(YYX0X\'X*X1X*X(X(X#YYYX3X\'YYX(Y\nX9YYX/X-X3YYYYX4X9X1X#YYX4YX1YX7X1X7YX(profileservicedefaulthimselfdetailscontentsupportstartedmessagesuccessfashion<title>countryaccountcreatedstoriesresultsrunningprocesswritingobjectsvisiblewelcomearticleunknownnetworkcompanydynamicbrowserprivacyproblemServicerespectdisplayrequestreservewebsitehistoryfriendsoptionsworkingversionmillionchannelwindow.addressvisitedweathercorrectproductedirectforwardyou canremovedsubjectcontrolarchivecurrentreadinglibrarylimitedmanagerfurthersummarymachineminutesprivatecontextprogramsocietynumberswrittenenabledtriggersourcesloadingelementpartnerfinallyperfectmeaningsystemskeepingculture",journalprojectsurfaces"expiresreviewsbalanceEnglishContentthroughPlease opinioncontactaverageprimaryvillageSpanishgallerydeclinemeetingmissionpopularqualitymeasuregeneralspeciessessionsectionwriterscounterinitialreportsfiguresmembersholdingdisputeearlierexpressdigitalpictureAnothermarriedtrafficleadingchangedcentralvictoryimages/reasonsstudiesfeaturelistingmust beschoolsVersionusuallyepisodeplayinggrowingobviousoverlaypresentactions</ul>\r\nwrapperalreadycertainrealitystorageanotherdesktopofferedpatternunusualDigitalcapitalWebsitefailureconnectreducedAndroiddecadesregular & animalsreleaseAutomatgettingmethodsnothingPopularcaptionletterscapturesciencelicensechangesEngland=1&History = new CentralupdatedSpecialNetworkrequirecommentwarningCollegetoolbarremainsbecauseelectedDeutschfinanceworkersquicklybetweenexactlysettingdiseaseSocietyweaponsexhibit<!--Controlclassescoveredoutlineattacksdevices(windowpurposetitle="Mobile killingshowingItaliandroppedheavilyeffects-1\']);\nconfirmCurrentadvancesharingopeningdrawingbillionorderedGermanyrelated</form>includewhetherdefinedSciencecatalogArticlebuttonslargestuniformjourneysidebarChicagoholidayGeneralpassage,"animatefeelingarrivedpassingnaturalroughly.\n\nThe but notdensityBritainChineselack oftributeIreland" data-factorsreceivethat isLibraryhusbandin factaffairsCharlesradicalbroughtfindinglanding:lang="return leadersplannedpremiumpackageAmericaEdition]"Messageneed tovalue="complexlookingstationbelievesmaller-mobilerecordswant tokind ofFirefoxyou aresimilarstudiedmaximumheadingrapidlyclimatekingdomemergedamountsfoundedpioneerformuladynastyhow to SupportrevenueeconomyResultsbrothersoldierlargelycalling."AccountEdward segmentRobert effortsPacificlearnedup withheight:we haveAngelesnations_searchappliedacquiremassivegranted: falsetreatedbiggestbenefitdrivingStudiesminimumperhapsmorningsellingis usedreversevariant role="missingachievepromotestudentsomeoneextremerestorebottom:evolvedall thesitemapenglishway to AugustsymbolsCompanymattersmusicalagainstserving})();\r\npaymenttroubleconceptcompareparentsplayersregionsmonitor \'\'The winningexploreadaptedGalleryproduceabilityenhancecareers). The collectSearch ancientexistedfooter handlerprintedconsoleEasternexportswindowsChannelillegalneutralsuggest_headersigning.html">settledwesterncausing-webkitclaimedJusticechaptervictimsThomas mozillapromisepartieseditionoutside:false,hundredOlympic_buttonauthorsreachedchronicdemandssecondsprotectadoptedprepareneithergreatlygreateroverallimprovecommandspecialsearch.worshipfundingthoughthighestinsteadutilityquarterCulturetestingclearlyexposedBrowserliberal} catchProjectexamplehide();FloridaanswersallowedEmperordefenseseriousfreedomSeveral-buttonFurtherout of != nulltrainedDenmarkvoid(0)/all.jspreventRequestStephen\n\nWhen observe</h2>\r\nModern provide" alt="borders.\n\nFor \n\nMany artistspoweredperformfictiontype ofmedicalticketsopposedCouncilwitnessjusticeGeorge Belgium...</a>twitternotablywaitingwarfare Other rankingphrasesmentionsurvivescholar</p>\r\n Countryignoredloss ofjust asGeorgiastrange<head><stopped1\']);\r\nislandsnotableborder:list ofcarried100,000</h3>\n severalbecomesselect wedding00.htmlmonarchoff theteacherhighly biologylife ofor evenrise of»plusonehunting(thoughDouglasjoiningcirclesFor theAncientVietnamvehiclesuch ascrystalvalue =Windowsenjoyeda smallassumed<a id="foreign All rihow theDisplayretiredhoweverhidden;battlesseekingcabinetwas notlook atconductget theJanuaryhappensturninga:hoverOnline French lackingtypicalextractenemieseven ifgeneratdecidedare not/searchbeliefs-image:locatedstatic.login">convertviolententeredfirst">circuitFinlandchemistshe was10px;">as suchdivided</span>will beline ofa greatmystery/index.fallingdue to railwaycollegemonsterdescentit withnuclearJewish protestBritishflowerspredictreformsbutton who waslectureinstantsuicidegenericperiodsmarketsSocial fishingcombinegraphicwinners<br /><by the NaturalPrivacycookiesoutcomeresolveSwedishbrieflyPersianso muchCenturydepictscolumnshousingscriptsnext tobearingmappingrevisedjQuery(-width:title">tooltipSectiondesignsTurkishyounger.match(})();\n\nburningoperatedegreessource=Richardcloselyplasticentries</tr>\r\ncolor:#ul id="possessrollingphysicsfailingexecutecontestlink toDefault<br />\n: true,chartertourismclassicproceedexplain</h1>\r\nonline.?xml vehelpingdiamonduse theairlineend --\x3e).attr(readershosting#ffffffrealizeVincentsignals src="/ProductdespitediversetellingPublic held inJoseph theatreaffects<style>a largedoesn\'tlater, ElementfaviconcreatorHungaryAirportsee theso thatMichaelSystemsPrograms, and width=e"tradingleft">\npersonsGolden Affairsgrammarformingdestroyidea ofcase ofoldest this is.src = cartoonregistrCommonsMuslimsWhat isin manymarkingrevealsIndeed,equally/show_aoutdoorescape(Austriageneticsystem,In the sittingHe alsoIslandsAcademy\n\t\t\x3c!--Daniel bindingblock">imposedutilizeAbraham(except{width:putting).html(|| [];\nDATA[ *kitchenmountedactual dialectmainly _blank\'installexpertsif(typeIt also© ">Termsborn inOptionseasterntalkingconcerngained ongoingjustifycriticsfactoryits ownassaultinvitedlastinghis ownhref="/" rel="developconcertdiagramdollarsclusterphp?id=alcohol);})();using a><span>vesselsrevivalAddressamateurandroidallegedillnesswalkingcentersqualifymatchesunifiedextinctDefensedied in\n\t\x3c!-- customslinkingLittle Book ofeveningmin.js?are thekontakttoday\'s.html" target=wearingAll Rig;\n})();raising Also, crucialabout">declare--\x3e\n<scfirefoxas muchappliesindex, s, but type = \n\r\n\x3c!--towardsRecordsPrivateForeignPremierchoicesVirtualreturnsCommentPoweredinline;povertychamberLiving volumesAnthonylogin" RelatedEconomyreachescuttinggravitylife inChapter-shadowNotable</td>\r\n returnstadiumwidgetsvaryingtravelsheld bywho arework infacultyangularwho hadairporttown of\n\nSome \'click\'chargeskeywordit willcity of(this);Andrew unique checkedor more300px; return;rsion="pluginswithin herselfStationFederalventurepublishsent totensionactresscome tofingersDuke ofpeople,exploitwhat isharmonya major":"httpin his menu">\nmonthlyofficercouncilgainingeven inSummarydate ofloyaltyfitnessand wasemperorsupremeSecond hearingRussianlongestAlbertalateralset of small">.appenddo withfederalbank ofbeneathDespiteCapitalgrounds), and percentit fromclosingcontainInsteadfifteenas well.yahoo.respondfighterobscurereflectorganic= Math.editingonline paddinga wholeonerroryear ofend of barrierwhen itheader home ofresumedrenamedstrong>heatingretainscloudfrway of March 1knowingin partBetweenlessonsclosestvirtuallinks">crossedEND --\x3efamous awardedLicenseHealth fairly wealthyminimalAfricancompetelabel">singingfarmersBrasil)discussreplaceGregoryfont copursuedappearsmake uproundedboth ofblockedsaw theofficescoloursif(docuwhen heenforcepush(fuAugust UTF-8">Fantasyin mostinjuredUsuallyfarmingclosureobject defenceuse of Medical<body>\nevidentbe usedkeyCodesixteenIslamic#000000entire widely active (typeofone cancolor =speakerextendsPhysicsterrain<tbody>funeralviewingmiddle cricketprophetshifteddoctorsRussell targetcompactalgebrasocial-bulk ofman and</td>\n he left).val()false);logicalbankinghome tonaming Arizonacredits);\n});\nfounderin turnCollinsbefore But thechargedTitle">CaptainspelledgoddessTag --\x3eAdding:but wasRecent patientback in=false&Lincolnwe knowCounterJudaismscript altered\']);\n has theunclearEvent\',both innot all\n\n\x3c!-- placinghard to centersort ofclientsstreetsBernardassertstend tofantasydown inharbourFreedomjewelry/about..searchlegendsis mademodern only ononly toimage" linear painterand notrarely acronymdelivershorter00&as manywidth="/* <![Ctitle =of the lowest picked escapeduses ofpeoples PublicMatthewtacticsdamagedway forlaws ofeasy to windowstrong simple}catch(seventhinfoboxwent topaintedcitizenI don\'tretreat. Some ww.");\nbombingmailto:made in. Many carries||{};wiwork ofsynonymdefeatsfavoredopticalpageTraunless sendingleft"><comScorAll thejQuery.touristClassicfalse" Wilhelmsuburbsgenuinebishops.split(global followsbody ofnominalContactsecularleft tochiefly-hidden-banner</li>\n\n. When in bothdismissExplorealways via thespaC1olwelfareruling arrangecaptainhis sonrule ofhe tookitself,=0&(calledsamplesto makecom/pagMartin Kennedyacceptsfull ofhandledBesides//--\x3e</able totargetsessencehim to its by common.mineralto takeways tos.org/ladvisedpenaltysimple:if theyLettersa shortHerbertstrikes groups.lengthflightsoverlapslowly lesser social </p>\n\t\tit intoranked rate oful>\r\n attemptpair ofmake itKontaktAntoniohaving ratings activestreamstrapped").css(hostilelead tolittle groups,Picture--\x3e\r\n\r\n rows=" objectinverse<footerCustomV><\\/scrsolvingChamberslaverywoundedwhereas!= \'undfor allpartly -right:Arabianbacked centuryunit ofmobile-Europe,is homerisk ofdesiredClintoncost ofage of become none ofp"Middle ead\')[0Criticsstudios>©group">assemblmaking pressedwidget.ps:" ? rebuiltby someFormer editorsdelayedCanonichad thepushingclass="but arepartialBabylonbottom carrierCommandits useAs withcoursesa thirddenotesalso inHouston20px;">accuseddouble goal ofFamous ).bind(priests Onlinein Julyst + "gconsultdecimalhelpfulrevivedis veryr\'+\'iptlosing femalesis alsostringsdays ofarrivalfuture <objectforcingString(" />\n\t\there isencoded. The balloondone by/commonbgcolorlaw of Indianaavoidedbut the2px 3pxjquery.after apolicy.men andfooter-= true;for usescreen.Indian image =family,http:// driverseternalsame asnoticedviewers})();\n is moreseasonsformer the newis justconsent Searchwas thewhy theshippedbr><br>width: height=made ofcuisineis thata very Admiral fixed;normal MissionPress, ontariocharsettry to invaded="true"spacingis mosta more totallyfall of});\r\n immensetime inset outsatisfyto finddown tolot of Playersin Junequantumnot thetime todistantFinnishsrc = (single help ofGerman law andlabeledforestscookingspace">header-well asStanleybridges/globalCroatia About [0];\n it, andgroupedbeing a){throwhe madelighterethicalFFFFFF"bottom"like a employslive inas seenprintermost ofub-linkrejectsand useimage">succeedfeedingNuclearinformato helpWomen\'sNeitherMexicanprotein<table by manyhealthylawsuitdevised.push({sellerssimply Through.cookie Image(older">us.js"> Since universlarger open to!-- endlies in\']);\r\n marketwho is ("DOMComanagedone fortypeof Kingdomprofitsproposeto showcenter;made itdressedwere inmixtureprecisearisingsrc = \'make a securedBaptistvoting \n\t\tvar March 2grew upClimate.removeskilledway the</head>face ofacting right">to workreduceshas haderectedshow();action=book ofan area== "htt<header\n<html>conformfacing cookie.rely onhosted .customhe wentbut forspread Family a meansout theforums.footage">MobilClements" id="as highintense--\x3e\x3c!--female is seenimpliedset thea stateand hisfastestbesidesbutton_bounded"><img Infoboxevents,a youngand areNative cheaperTimeoutand hasengineswon the(mostlyright: find a -bottomPrince area ofmore ofsearch_nature,legallyperiod,land ofor withinducedprovingmissilelocallyAgainstthe wayk"px;">\r\npushed abandonnumeralCertainIn thismore inor somename isand, incrownedISBN 0-createsOctobermay notcenter late inDefenceenactedwish tobroadlycoolingonload=it. TherecoverMembersheight assumes<html>\npeople.in one =windowfooter_a good reklamaothers,to this_cookiepanel">London,definescrushedbaptismcoastalstatus title" move tolost inbetter impliesrivalryservers SystemPerhapses and contendflowinglasted rise inGenesisview ofrising seem tobut in backinghe willgiven agiving cities.flow of Later all butHighwayonly bysign ofhe doesdiffersbattery&lasinglesthreatsintegertake onrefusedcalled =US&See thenativesby thissystem.head of:hover,lesbiansurnameand allcommon/header__paramsHarvard/pixel.removalso longrole ofjointlyskyscraUnicodebr />\r\nAtlantanucleusCounty,purely count">easily build aonclicka givenpointerh"events else {\nditionsnow the, with man whoorg/Webone andcavalryHe diedseattle00,000 {windowhave toif(windand itssolely m"renewedDetroitamongsteither them inSenatorUs</a><King ofFrancis-produche usedart andhim andused byscoringat hometo haverelatesibilityfactionBuffalolink"><what hefree toCity ofcome insectorscountedone daynervoussquare };if(goin whatimg" alis onlysearch/tuesdaylooselySolomonsexual - <a hrmedium"DO NOT France,with a war andsecond take a >\r\n\r\n\r\nmarket.highwaydone inctivity"last">obligedrise to"undefimade to Early praisedin its for hisathleteJupiterYahoo! termed so manyreally s. The a woman?value=direct right" bicycleacing="day andstatingRather,higher Office are nowtimes, when a pay foron this-link">;borderaround annual the Newput the.com" takin toa brief(in thegroups.; widthenzymessimple in late{returntherapya pointbanninginks">\n();" rea place\\u003Caabout atr>\r\n\t\tccount gives a<SCRIPTRailwaythemes/toolboxById("xhumans,watchesin some if (wicoming formats Under but hashanded made bythan infear ofdenoted/iframeleft involtagein eacha"base ofIn manyundergoregimesaction </p>\r\n<ustomVa;></importsor thatmostly &re size="</a></ha classpassiveHost = WhetherfertileVarious=[];(fucameras/></td>acts asIn some>\r\n\r\n<!organis <br />BeijingcatalC deutscheuropeueuskaragaeilgesvenskaespaC1amensajeusuariotrabajomC)xicopC!ginasiempresistemaoctubreduranteaC1adirempresamomentonuestroprimeratravC)sgraciasnuestraprocesoestadoscalidadpersonanC:meroacuerdomC:sicamiembroofertasalgunospaC-sesejemploderechoademC!sprivadoagregarenlacesposiblehotelessevillaprimeroC:ltimoeventosarchivoculturamujeresentradaanuncioembargomercadograndesestudiomejoresfebrerodiseC1oturismocC3digoportadaespaciofamiliaantoniopermiteguardaralgunaspreciosalguiensentidovisitastC-tuloconocersegundoconsejofranciaminutossegundatenemosefectosmC!lagasesiC3nrevistagranadacompraringresogarcC-aacciC3necuadorquienesinclusodeberC!materiahombresmuestrapodrC-amaC1anaC:ltimaestamosoficialtambienningC:nsaludospodemosmejorarpositionbusinesshomepagesecuritylanguagestandardcampaignfeaturescategoryexternalchildrenreservedresearchexchangefavoritetemplatemilitaryindustryservicesmaterialproductsz-index:commentssoftwarecompletecalendarplatformarticlesrequiredmovementquestionbuildingpoliticspossiblereligionphysicalfeedbackregisterpicturesdisabledprotocolaudiencesettingsactivityelementslearninganythingabstractprogressoverviewmagazineeconomictrainingpressurevarious <strong>propertyshoppingtogetheradvancedbehaviordownloadfeaturedfootballselectedLanguagedistanceremembertrackingpasswordmodifiedstudentsdirectlyfightingnortherndatabasefestivalbreakinglocationinternetdropdownpracticeevidencefunctionmarriageresponseproblemsnegativeprogramsanalysisreleasedbanner">purchasepoliciesregionalcreativeargumentbookmarkreferrerchemicaldivisioncallbackseparateprojectsconflicthardwareinterestdeliverymountainobtained= false;for(var acceptedcapacitycomputeridentityaircraftemployedproposeddomesticincludesprovidedhospitalverticalcollapseapproachpartnerslogo"><adaughterauthor" culturalfamilies/images/assemblypowerfulteachingfinisheddistrictcriticalcgi-bin/purposesrequireselectionbecomingprovidesacademicexerciseactuallymedicineconstantaccidentMagazinedocumentstartingbottom">observed: "extendedpreviousSoftwarecustomerdecisionstrengthdetailedslightlyplanningtextareacurrencyeveryonestraighttransferpositiveproducedheritageshippingabsolutereceivedrelevantbutton" violenceanywherebenefitslaunchedrecentlyalliancefollowedmultiplebulletinincludedoccurredinternal$(this).republic><tr><tdcongressrecordedultimatesolution<ul id="discoverHome</a>websitesnetworksalthoughentirelymemorialmessagescontinueactive">somewhatvictoriaWestern title="LocationcontractvisitorsDownloadwithout right">\nmeasureswidth = variableinvolvedvirginianormallyhappenedaccountsstandingnationalRegisterpreparedcontrolsaccuratebirthdaystrategyofficialgraphicscriminalpossiblyconsumerPersonalspeakingvalidateachieved.jpg" />machines</h2>\n keywordsfriendlybrotherscombinedoriginalcomposedexpectedadequatepakistanfollow" valuable</label>relativebringingincreasegovernorplugins/List of Header">" name=" ("graduate</head>\ncommercemalaysiadirectormaintain;height:schedulechangingback to catholicpatternscolor: #greatestsuppliesreliable</ul>\n\t\t<select citizensclothingwatching<li id="specificcarryingsentence<center>contrastthinkingcatch(e)southernMichael merchantcarouselpadding:interior.split("lizationOctober ){returnimproved-->\n\ncoveragechairman.png" />subjectsRichard whateverprobablyrecoverybaseballjudgmentconnect..css" /> websitereporteddefault"/></a>\r\nelectricscotlandcreationquantity. ISBN 0did not instance-search-" lang="speakersComputercontainsarchivesministerreactiondiscountItalianocriteriastrongly: \'http:\'script\'coveringofferingappearedBritish identifyFacebooknumerousvehiclesconcernsAmericanhandlingdiv id="William provider_contentaccuracysection andersonflexibleCategorylawrence<script>layout="approved maximumheader"></table>Serviceshamiltoncurrent canadianchannels/themes//articleoptionalportugalvalue=""intervalwirelessentitledagenciesSearch" measuredthousandspending…new Date" size="pageNamemiddle" " /></a>hidden">sequencepersonaloverflowopinionsillinoislinks">\n\t<title>versionssaturdayterminalitempropengineersectionsdesignerproposal="false"EspaC1olreleasessubmit" er"additionsymptomsorientedresourceright"><pleasurestationshistory.leaving border=contentscenter">.\n\nSome directedsuitablebulgaria.show();designedGeneral conceptsExampleswilliamsOriginal"><span>search">operatorrequestsa "allowingDocumentrevision. \n\nThe yourselfContact michiganEnglish columbiapriorityprintingdrinkingfacilityreturnedContent officersRussian generate-8859-1"indicatefamiliar qualitymargin:0 contentviewportcontacts-title">portable.length eligibleinvolvesatlanticonload="default.suppliedpaymentsglossary\n\nAfter guidance</td><tdencodingmiddle">came to displaysscottishjonathanmajoritywidgets.clinicalthailandteachers<head>\n\taffectedsupportspointer;toString</small>oklahomawill be investor0" alt="holidaysResourcelicensed (which . After considervisitingexplorerprimary search" android"quickly meetingsestimate;return ;color:# height=approval, " checked.min.js"magnetic></a></hforecast. While thursdaydvertiseéhasClassevaluateorderingexistingpatients Online coloradoOptions"campbell\x3c!-- end</span><<br />\r\n_popups|sciences," quality Windows assignedheight: <b classle" value=" Companyexamples<iframe believespresentsmarshallpart of properly).\n\nThe taxonomymuch of </span>\n" data-srtuguC*sscrollTo project<head>\r\nattorneyemphasissponsorsfancyboxworld\'s wildlifechecked=sessionsprogrammpx;font- Projectjournalsbelievedvacationthompsonlightingand the special border=0checking</tbody><button Completeclearfix\n<head>\narticle <sectionfindingsrole in popular Octoberwebsite exposureused to changesoperatedclickingenteringcommandsinformed numbers </div>creatingonSubmitmarylandcollegesanalyticlistingscontact.loggedInadvisorysiblingscontent"s")s. This packagescheckboxsuggestspregnanttomorrowspacing=icon.pngjapanesecodebasebutton">gamblingsuch as , while </span> missourisportingtop:1px .</span>tensionswidth="2lazyloadnovemberused in height="cript">\n </<tr><td height:2/productcountry include footer" <!-- title"></jquery.</form>\n(g.\0d=)(g9i+)hrvatskiitalianoromC"nDtC<rkC\'eX\'X1X/Y\btambiC)nnoticiasmensajespersonasderechosnacionalserviciocontactousuariosprogramagobiernoempresasanunciosvalenciacolombiadespuC)sdeportesproyectoproductopC:bliconosotroshistoriapresentemillonesmediantepreguntaanteriorrecursosproblemasantiagonuestrosopiniC3nimprimirmientrasamC)ricavendedorsociedadrespectorealizarregistropalabrasinterC)sentoncesespecialmiembrosrealidadcC3rdobazaragozapC!ginassocialesbloqueargestiC3nalquilersistemascienciascompletoversiC3ncompletaestudiospC:blicaobjetivoalicantebuscadorcantidadentradasaccionesarchivossuperiormayorC-aalemaniafunciC3nC:ltimoshaciendoaquellosediciC3nfernandoambientefacebooknuestrasclientesprocesosbastantepresentareportarcongresopublicarcomerciocontratojC3venesdistritotC)cnicaconjuntoenergC-atrabajarasturiasrecienteutilizarboletC-nsalvadorcorrectatrabajosprimerosnegocioslibertaddetallespantallaprC3ximoalmerC-aanimalesquiC)nescorazC3nsecciC3nbuscandoopcionesexteriorconceptotodavC-agalerC-aescribirmedicinalicenciaconsultaaspectoscrC-ticadC3laresjusticiadeberC!nperC-odonecesitamantenerpequeC1orecibidatribunaltenerifecanciC3ncanariasdescargadiversosmallorcarequieretC)cnicodeberC-aviviendafinanzasadelantefuncionaconsejosdifC-cilciudadesantiguasavanzadatC)rminounidadessC!nchezcampaC1asoftonicrevistascontienesectoresmomentosfacultadcrC)ditodiversassupuestofactoressegundospequeC1aP3P>P4P0P5QP;P8P5QQQ\fP1Q\vP;P>P1Q\vQQ\fQ\rQP>P<PQP;P8QP>P3P>P<P5P=QP2QP5QQ\rQP>P9P4P0P6P5P1Q\vP;P8P3P>P4QP4P5P=Q\fQ\rQP>QP1Q\vP;P0QP5P1QP>P4P8P=QP5P1P5P=P0P4P>QP0P9QQP>QP>P=P5P3P>QP2P>P8QP2P>P9P8P3Q\0Q\vQP>P6P5P2QP5P<QP2P>QP;P8Q\bQ\fQ\rQP8QP?P>P:P0P4P=P5P9P4P>P<P0P<P8Q\0P0P;P8P1P>QP5P<QQP>QQP4P2QQQP5QP8P;QP4P8P4P5P;P>P<P8Q\0P5QP5P1QQP2P>P5P2P8P4P5QP5P3P>Q\rQP8P<QQP5QQP5P<Q\vQP5P=Q\vQQP0P;P2P5P4Q\fQP5P<P5P2P>P4Q\vQP5P1P5P2Q\vQ\bP5P=P0P<P8QP8P?P0QP>P<QP?Q\0P0P2P;P8QP0P>P4P=P0P3P>P4Q\vP7P=P0QP<P>P3QP4Q\0QP3P2QP5P9P8P4P5QP:P8P=P>P>P4P=P>P4P5P;P0P4P5P;P5QQ\0P>P:P8QP=QP2P5QQ\fPQQQ\fQ\0P0P7P0P=P0Q\bP8X\'YYYX\'YX*Y\nX,YY\nX9X.X\'X5X)X\'YX0Y\nX9YY\nYX,X/Y\nX/X\'YX"YX\'YX1X/X*X-YYX5YX-X)YX\'YX*X\'YYY\nY\nYY\bYX4X(YX)YY\nYX\'X(YX\'X*X-Y\bX\'X!X#YX+X1X.YX\'YX\'YX-X(X/YY\nYX/X1Y\bX3X\'X6X:X7X*YY\bYYYX\'YX3X\'X-X)YX\'X/Y\nX\'YX7X(X9YY\nYX4YX1X\'Y\nYYYYYYX\'X4X1YX)X1X&Y\nX3YX4Y\nX7YX\'X0X\'X\'YYYX4X(X\'X(X*X9X(X1X1X-YX)YX\'YX)Y\nYY\bYYX1YX2YYYX)X#X-YX/YYX(Y\nY\nX9YY\nX5Y\bX1X)X7X1Y\nYX4X\'X1YX,Y\bX\'YX#X.X1Y\tYX9YX\'X\'X(X-X+X9X1Y\bX6X(X4YYYX3X,YX(YX\'YX.X\'YX/YX*X\'X(YYY\nX)X(X/Y\bYX#Y\nX6X\'Y\nY\bX,X/YX1Y\nYYX*X(X*X#YX6YYX7X(X.X\'YX+X1X(X\'X1YX\'YX6YX\'X-YY\tYYX3YX#Y\nX\'YX1X/Y\bX/X#YYX\'X/Y\nYX\'X\'YX\'YYX9X1X6X*X9YYX/X\'X.YYYYY\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\b\t\n\v\f\r\r\f\v\n\t\b\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\b\0\b\0\b\0\b\0\0\0\0\0\0\0\0\0resourcescountriesquestionsequipmentcommunityavailablehighlightDTD/xhtmlmarketingknowledgesomethingcontainerdirectionsubscribeadvertisecharacter" value="</select>Australia" class="situationauthorityfollowingprimarilyoperationchallengedevelopedanonymousfunction functionscompaniesstructureagreement" title="potentialeducationargumentssecondarycopyrightlanguagesexclusivecondition</form>\r\nstatementattentionBiography} else {\nsolutionswhen the Analyticstemplatesdangeroussatellitedocumentspublisherimportantprototypeinfluence»</effectivegenerallytransformbeautifultransportorganizedpublishedprominentuntil thethumbnailNational .focus();over the migrationannouncedfooter">\nexceptionless thanexpensiveformationframeworkterritoryndicationcurrentlyclassNamecriticismtraditionelsewhereAlexanderappointedmaterialsbroadcastmentionedaffiliate</option>treatmentdifferent/default.Presidentonclick="biographyotherwisepermanentFranC\'aisHollywoodexpansionstandards</style>\nreductionDecember preferredCambridgeopponentsBusiness confusion>\n<title>presentedexplaineddoes not worldwideinterfacepositionsnewspaper</table>\nmountainslike the essentialfinancialselectionaction="/abandonedEducationparseInt(stabilityunable to</title>\nrelationsNote thatefficientperformedtwo yearsSince thethereforewrapper">alternateincreasedBattle ofperceivedtrying tonecessaryportrayedelectionsElizabeth</iframe>discoveryinsurances.length;legendaryGeographycandidatecorporatesometimesservices.inherited</strong>CommunityreligiouslocationsCommitteebuildingsthe worldno longerbeginningreferencecannot befrequencytypicallyinto the relative;recordingpresidentinitiallytechniquethe otherit can beexistenceunderlinethis timetelephoneitemscopepracticesadvantage);return For otherprovidingdemocracyboth the extensivesufferingsupportedcomputers functionpracticalsaid thatit may beEnglish</from the scheduleddownloads</label>\nsuspectedmargin: 0spiritual</head>\n\nmicrosoftgraduallydiscussedhe becameexecutivejquery.jshouseholdconfirmedpurchasedliterallydestroyedup to thevariationremainingit is notcenturiesJapanese among thecompletedalgorithminterestsrebellionundefinedencourageresizableinvolvingsensitiveuniversalprovision(althoughfeaturingconducted), which continued-header">February numerous overflow:componentfragmentsexcellentcolspan="technicalnear the Advanced source ofexpressedHong Kong Facebookmultiple mechanismelevationoffensive</form>\n\tsponsoreddocument.or "there arethose whomovementsprocessesdifficultsubmittedrecommendconvincedpromoting" width=".replace(classicalcoalitionhis firstdecisionsassistantindicatedevolution-wrapper"enough toalong thedelivered--\x3e\r\n\x3c!--American protectedNovember </style><furnitureInternet onblur="suspendedrecipientbased on Moreover,abolishedcollectedwere madeemotionalemergencynarrativeadvocatespx;bordercommitteddir="ltr"employeesresearch. selectedsuccessorcustomersdisplayedSeptemberaddClass(Facebook suggestedand lateroperatingelaborateSometimesInstitutecertainlyinstalledfollowersJerusalemthey havecomputinggeneratedprovincesguaranteearbitraryrecognizewanted topx;width:theory ofbehaviourWhile theestimatedbegan to it becamemagnitudemust havemore thanDirectoryextensionsecretarynaturallyoccurringvariablesgiven theplatform.</label><failed tocompoundskinds of societiesalongside -->\n\nsouthwestthe rightradiationmay have unescape(spoken in" href="/programmeonly the come fromdirectoryburied ina similarthey were</font></Norwegianspecifiedproducingpassenger(new DatetemporaryfictionalAfter theequationsdownload.regularlydeveloperabove thelinked tophenomenaperiod oftooltip">substanceautomaticaspect ofAmong theconnectedestimatesAir Forcesystem ofobjectiveimmediatemaking itpaintingsconqueredare stillproceduregrowth ofheaded byEuropean divisionsmoleculesfranchiseintentionattractedchildhoodalso useddedicatedsingaporedegree offather ofconflicts</a></p>\ncame fromwere usednote thatreceivingExecutiveeven moreaccess tocommanderPoliticalmusiciansdeliciousprisonersadvent ofUTF-8" /><![CDATA[">ContactSouthern bgcolor="series of. It was in Europepermittedvalidate.appearingofficialsseriously-languageinitiatedextendinglong-terminflationsuch thatgetCookiemarked by</button>implementbut it isincreasesdown the requiringdependent--\x3e\n\x3c!-- interviewWith the copies ofconsensuswas builtVenezuela(formerlythe statepersonnelstrategicfavour ofinventionWikipediacontinentvirtuallywhich wasprincipleComplete identicalshow thatprimitiveaway frommolecularpreciselydissolvedUnder theversion="> </It is the This is will haveorganismssome timeFriedrichwas firstthe only fact thatform id="precedingTechnicalphysicistoccurs innavigatorsection">span id="sought tobelow thesurviving}</style>his deathas in thecaused bypartiallyexisting using thewas givena list oflevels ofnotion ofOfficial dismissedscientistresemblesduplicateexplosiverecoveredall othergalleries{padding:people ofregion ofaddressesassociateimg alt="in modernshould bemethod ofreportingtimestampneeded tothe Greatregardingseemed toviewed asimpact onidea thatthe Worldheight ofexpandingThese arecurrent">carefullymaintainscharge ofClassicaladdressedpredictedownership<div id="right">\r\nresidenceleave thecontent">are often })();\r\nprobably Professor-button" respondedsays thathad to beplaced inHungarianstatus ofserves asUniversalexecutionaggregatefor whichinfectionagreed tohowever, popular">placed onconstructelectoralsymbol ofincludingreturn toarchitectChristianprevious living ineasier toprofessor\n<!-- effect ofanalyticswas takenwhere thetook overbelief inAfrikaansas far aspreventedwork witha special<fieldsetChristmasRetrieved\n\nIn the back intonortheastmagazines><strong>committeegoverninggroups ofstored inestablisha generalits firsttheir ownpopulatedan objectCaribbeanallow thedistrictswisconsinlocation.; width: inhabitedSocialistJanuary 1</footer>similarlychoice ofthe same specific business The first.length; desire todeal withsince theuserAgentconceivedindex.phpas "engage inrecently,few yearswere also\n<head>\n<edited byare knowncities inaccesskeycondemnedalso haveservices,family ofSchool ofconvertednature of languageministers</object>there is a popularsequencesadvocatedThey wereany otherlocation=enter themuch morereflectedwas namedoriginal a typicalwhen theyengineerscould notresidentswednesdaythe third productsJanuary 2what theya certainreactionsprocessorafter histhe last contained"></div>\n</a></td>depend onsearch">\npieces ofcompetingReferencetennesseewhich has version=</span> <</header>gives thehistorianvalue="">padding:0view thattogether,the most was foundsubset ofattack onchildren,points ofpersonal position:allegedlyClevelandwas laterand afterare givenwas stillscrollingdesign ofmakes themuch lessAmericans.\n\nAfter , but theMuseum oflouisiana(from theminnesotaparticlesa processDominicanvolume ofreturningdefensive00px|righmade frommouseover" style="states of(which iscontinuesFranciscobuilding without awith somewho woulda form ofa part ofbefore itknown as Serviceslocation and oftenmeasuringand it ispaperbackvalues of\r\n<title>= window.determineer" played byand early</center>from thisthe threepower andof "innerHTML<a href="y:inline;Church ofthe eventvery highofficial -height: content="/cgi-bin/to createafrikaansesperantofranC\'aislatvieE!ulietuviE3D\feE!tinaD\reE!tina`9`8`8"f%f,h*g.\0d=e-g9i+e-mj5-l4d8:d;\0d9\bh.!g.f:g,h.0f,h(h+e\r\0f\re\n!e(d:hg=f\b?e0d:\'d?1d9i(e:g\t\bg$>fh!\ff&i(h=f <h?d8\0f-%f/d;e.i*\fh/g e\'ed<f0f\r.e:f6\bh49h\0e\ne,e.$h.(h.:e\f:f71e3e8f-f>e(e\fd:,e8e$\'e-&gh6\nf%h6\ng.!ged?!f/g=serviciosartC-culoargentinabarcelonacualquierpublicadoproductospolC-ticarespuestawikipediasiguientebC:squedacomunidadseguridadprincipalpreguntascontenidorespondervenezuelaproblemasdiciembrerelaciC3nnoviembresimilaresproyectosprogramasinstitutoactividadencuentraeconomC-aimC!genescontactardescargarnecesarioatenciC3ntelC)fonocomisiC3ncancionescapacidadencontraranC!lisisfavoritostC)rminosprovinciaetiquetaselementosfuncionesresultadocarC!cterpropiedadprincipionecesidadmunicipalcreaciC3ndescargaspresenciacomercialopinionesejercicioeditorialsalamancagonzC!lezdocumentopelC-cularecientesgeneralestarragonaprC!cticanovedadespropuestapacientestC)cnicasobjetivoscontactos`$.`%`$`$2`$?`$`$9`%\b`$`$`$/`$>`$8`$>`$%`$`$5`$`$0`$9`%`$`%\v`$\b`$`%`$`$0`$9`$>`$,`$>`$&`$`$9`$>`$8`$-`%\0`$9`%`$`$0`$9`%\0`$.`%\b`$`$&`$?`$(`$,`$>`$$diplodocs`$8`$.`$/`$0`%`$*`$(`$>`$.`$*`$$`$>`$+`$?`$0`$`$8`$$`$$`$0`$9`$2`%\v`$`$9`%`$`$,`$>`$0`$&`%`$6`$9`%`$\b`$`%`$2`$/`$&`$?`$`$>`$.`$5`%`$,`$$`%\0`$(`$,`%\0`$`$.`%\f`$$`$8`$>`$2`$2`%`$`$`%\t`$,`$.`$&`$&`$$`$%`$>`$(`$9`%\0`$6`$9`$0`$`$2`$`$`$-`%\0`$(`$`$0`$*`$>`$8`$0`$>`$$`$`$?`$`$\t`$8`%`$`$/`%\0`$9`%`$`$`$`%`$`%\0`$.`$`%\v`$`$`$>`$0`$`$-`%\0`$`$/`%`$$`%`$.`$5`%\v`$`$&`%`$`$`$`$0`$`$8`%`$.`%`$2`$2`$`$>`$9`$>`$2`$\n`$*`$0`$`$>`$0`$`$8`$>`$&`%`$0`$`$?`$8`$&`$?`$2`$,`$`$&`$,`$(`$>`$9`%`$`$2`$>`$`$`%\0`$$`$,`$`$(`$.`$?`$2`$`$8`%`$`$(`%`$(`$/`$>`$`%`$2`$2`%\t`$`$-`$>`$`$0`%`$2`$`$`$9`$0`$>`$.`$2`$`%`$*`%`$`$9`$>`$%`$`$8`%\0`$8`$9`%\0`$`$2`$>`$ `%\0`$`$9`$>`$`$&`%`$0`$$`$9`$$`$8`$>`$$`$/`$>`$&`$`$/`$>`$*`$>`$`$`%\f`$(`$6`$>`$.`$&`%`$`$/`$9`%\0`$0`$>`$/`$`%`$&`$2`$`%\0categoriesexperience</title>\r\nCopyright javascriptconditionseverything<p class="technologybackground<a class="management© 201javaScriptcharactersbreadcrumbthemselveshorizontalgovernmentCaliforniaactivitiesdiscoveredNavigationtransitionconnectionnavigationappearance</title><mcheckbox" techniquesprotectionapparentlyas well asunt\', \'UA-resolutionoperationstelevisiontranslatedWashingtonnavigator. = window.impression<br>literaturepopulationbgcolor="#especially content="productionnewsletterpropertiesdefinitionleadershipTechnologyParliamentcomparisonul class=".indexOf("conclusiondiscussioncomponentsbiologicalRevolution_containerunderstoodnoscript><permissioneach otheratmosphere onfocus="<form id="processingthis.valuegenerationConferencesubsequentwell-knownvariationsreputationphenomenondisciplinelogo.png" (document,boundariesexpressionsettlementBackgroundout of theenterprise("https:" unescape("password" democratic<a href="/wrapper">\nmembershiplinguisticpx;paddingphilosophyassistanceuniversityfacilitiesrecognizedpreferenceif (typeofmaintainedvocabularyhypothesis.submit();&nbsp;annotationbehind theFoundationpublisher"assumptionintroducedcorruptionscientistsexplicitlyinstead ofdimensions onClick="considereddepartmentoccupationsoon afterinvestmentpronouncedidentifiedexperimentManagementgeographic" height="link rel=".replace(/depressionconferencepunishmenteliminatedresistanceadaptationoppositionwell knownsupplementdeterminedh1 class="0px;marginmechanicalstatisticscelebratedGovernment\n\nDuring tdevelopersartificialequivalentoriginatedCommissionattachment<span id="there wereNederlandsbeyond theregisteredjournalistfrequentlyall of thelang="en" </style>\r\nabsolute; supportingextremely mainstream</strong> popularityemployment</table>\r\n colspan="</form>\n conversionabout the </p></div>integrated" lang="enPortuguesesubstituteindividualimpossiblemultimediaalmost allpx solid #apart fromsubject toin Englishcriticizedexcept forguidelinesoriginallyremarkablethe secondh2 class="<a title="(includingparametersprohibited= "http://dictionaryperceptionrevolutionfoundationpx;height:successfulsupportersmillenniumhis fatherthe "no-repeat;commercialindustrialencouragedamount of unofficialefficiencyReferencescoordinatedisclaimerexpeditiondevelopingcalculatedsimplifiedlegitimatesubstring(0" class="completelyillustratefive yearsinstrumentPublishing1" class="psychologyconfidencenumber of absence offocused onjoined thestructurespreviously></iframe>once againbut ratherimmigrantsof course,a group ofLiteratureUnlike the</a> \nfunction it was theConventionautomobileProtestantaggressiveafter the Similarly," /></div>collection\r\nfunctionvisibilitythe use ofvolunteersattractionunder the threatened*<![CDATA[importancein generalthe latter</form>\n</.indexOf(\'i = 0; i <differencedevoted totraditionssearch forultimatelytournamentattributesso-called }\n</style>evaluationemphasizedaccessible</section>successionalong withMeanwhile,industries</a><br />has becomeaspects ofTelevisionsufficientbasketballboth sidescontinuingan article<img alt="adventureshis mothermanchesterprinciplesparticularcommentaryeffects ofdecided to"><strong>publishersJournal ofdifficultyfacilitateacceptablestyle.css"\tfunction innovation>Copyrightsituationswould havebusinessesDictionarystatementsoften usedpersistentin Januarycomprising</title>\n\tdiplomaticcontainingperformingextensionsmay not beconcept of onclick="It is alsofinancial making theLuxembourgadditionalare calledengaged in"script");but it waselectroniconsubmit="\n\x3c!-- End electricalofficiallysuggestiontop of theunlike theAustralianOriginallyreferences\n</head>\r\nrecognisedinitializelimited toAlexandriaretirementAdventuresfour years\n\n<!-- increasingdecorationh3 class="origins ofobligationregulationclassified(function(advantagesbeing the historians<base hrefrepeatedlywilling tocomparabledesignatednominationfunctionalinside therevelationend of thes for the authorizedrefused totake placeautonomouscompromisepolitical restauranttwo of theFebruary 2quality ofswfobject.understandnearly allwritten byinterviews" width="1withdrawalfloat:leftis usuallycandidatesnewspapersmysteriousDepartmentbest knownparliamentsuppressedconvenientremembereddifferent systematichas led topropagandacontrolledinfluencesceremonialproclaimedProtectionli class="Scientificclass="no-trademarksmore than widespreadLiberationtook placeday of theas long asimprisonedAdditional\n<head>\n<mLaboratoryNovember 2exceptionsIndustrialvariety offloat: lefDuring theassessmenthave been deals withStatisticsoccurrence/ul></div>clearfix">the publicmany yearswhich wereover time,synonymouscontent">\npresumablyhis familyuserAgent.unexpectedincluding challengeda minorityundefined"belongs totaken fromin Octoberposition: said to bereligious Federation rowspan="only a fewmeant thatled to the--\x3e\r\n<div <fieldset>Archbishop class="nobeing usedapproachesprivilegesnoscript>\nresults inmay be theEaster eggmechanismsreasonablePopulationCollectionselected">noscript>\r/index.phparrival of-jssdk\'));managed toincompletecasualtiescompletionChristiansSeptember arithmeticproceduresmight haveProductionit appearsPhilosophyfriendshipleading togiving thetoward theguaranteeddocumentedcolor:#000video gamecommissionreflectingchange theassociatedsans-serifonkeypress; padding:He was theunderlyingtypically , and the srcElementsuccessivesince the should be networkingaccountinguse of thelower thanshows that</span>\n\t\tcomplaintscontinuousquantitiesastronomerhe did notdue to itsapplied toan averageefforts tothe futureattempt toTherefore,capabilityRepublicanwas formedElectronickilometerschallengespublishingthe formerindigenousdirectionssubsidiaryconspiracydetails ofand in theaffordablesubstancesreason forconventionitemtype="absolutelysupposedlyremained aattractivetravellingseparatelyfocuses onelementaryapplicablefound thatstylesheetmanuscriptstands for no-repeat(sometimesCommercialin Americaundertakenquarter ofan examplepersonallyindex.php?</button>\npercentagebest-knowncreating a" dir="ltrLieutenant\n<div id="they wouldability ofmade up ofnoted thatclear thatargue thatto anotherchildren\'spurpose offormulatedbased uponthe regionsubject ofpassengerspossession.\n\nIn the Before theafterwardscurrently across thescientificcommunity.capitalismin Germanyright-wingthe systemSociety ofpoliticiandirection:went on toremoval of New York apartmentsindicationduring theunless thehistoricalhad been adefinitiveingredientattendanceCenter forprominencereadyStatestrategiesbut in theas part ofconstituteclaim thatlaboratorycompatiblefailure of, such as began withusing the to providefeature offrom which/" class="geologicalseveral ofdeliberateimportant holds thating" valign=topthe Germanoutside ofnegotiatedhis careerseparationid="searchwas calledthe fourthrecreationother thanpreventionwhile the education,connectingaccuratelywere builtwas killedagreementsmuch more Due to thewidth: 100some otherKingdom ofthe entirefamous forto connectobjectivesthe Frenchpeople andfeatured">is said tostructuralreferendummost oftena separate->\n<div id Official worldwide.aria-labelthe planetand it wasd" value="looking atbeneficialare in themonitoringreportedlythe modernworking onallowed towhere the innovative</a></div>soundtracksearchFormtend to beinput id="opening ofrestrictedadopted byaddressingtheologianmethods ofvariant ofChristian very largeautomotiveby far therange frompursuit offollow thebrought toin Englandagree thataccused ofcomes frompreventingdiv style=his or hertremendousfreedom ofconcerning0 1em 1em;Basketball/style.cssan earliereven after/" title=".com/indextaking thepittsburghcontent">\r<script>(fturned outhaving the</span>\r\n occasionalbecause itstarted tophysically></div>\n created byCurrently, bgcolor="tabindex="disastrousAnalytics also has a><div id="</style>\n<called forsinger and.src = "//violationsthis pointconstantlyis locatedrecordingsd from thenederlandsportuguC*sW"WW(WW*YX\'X1X3[\fdesarrollocomentarioeducaciC3nseptiembreregistradodirecciC3nubicaciC3npublicidadrespuestasresultadosimportantereservadosartC-culosdiferentessiguientesrepC:blicasituaciC3nministerioprivacidaddirectorioformaciC3npoblaciC3npresidentecont','enidosaccesoriostechnoratipersonalescategorC-aespecialesdisponibleactualidadreferenciavalladolidbibliotecarelacionescalendariopolC-ticasanterioresdocumentosnaturalezamaterialesdiferenciaeconC3micatransporterodrC-guezparticiparencuentrandiscusiC3nestructurafundaciC3nfrecuentespermanentetotalmenteP<P>P6P=P>P1QP4P5QP<P>P6P5QP2Q\0P5P<QQP0P:P6P5QQP>P1Q\vP1P>P;P5P5P>QP5P=Q\fQ\rQP>P3P>P:P>P3P4P0P?P>QP;P5P2QP5P3P>QP0P9QP5QP5Q\0P5P7P<P>P3QQQP0P9QP0P6P8P7P=P8P<P5P6P4QP1QP4QQPP>P8QP:P7P4P5QQ\fP2P8P4P5P>QP2QP7P8P=QP6P=P>QP2P>P5P9P;QP4P5P9P?P>Q\0P=P>P<P=P>P3P>P4P5QP5P9QP2P>P8QP?Q\0P0P2P0QP0P:P>P9P<P5QQP>P8P<P5P5QP6P8P7P=Q\fP>P4P=P>P9P;QQQ\bP5P?P5Q\0P5P4QP0QQP8QP0QQQ\fQ\0P0P1P>QP=P>P2Q\vQP?Q\0P0P2P>QP>P1P>P9P?P>QP>P<P<P5P=P5P5QP8QP;P5P=P>P2Q\vP5QQP;QP3P>P:P>P;P>P=P0P7P0P4QP0P:P>P5QP>P3P4P0P?P>QQP8PP>QP;P5QP0P:P8P5P=P>P2Q\vP9QQP>P8QQP0P:P8QQQ\0P0P7QP!P0P=P:QQP>Q\0QP<PP>P3P4P0P:P=P8P3P8QP;P>P2P0P=P0Q\bP5P9P=P0P9QP8QP2P>P8P<QP2QP7Q\fP;QP1P>P9QP0QQP>QQ\0P5P4P8PQ\0P>P<P5P$P>Q\0QP<Q\0Q\vP=P:P5QQP0P;P8P?P>P8QP:QQ\vQQQP<P5QQQQP5P=QQ\0QQ\0QP4P0QP0P<Q\vQQ\0Q\vP=P:P0PP>P2Q\vP9QP0QP>P2P<P5QQP0QP8P;Q\fP<P<P0Q\0QP0QQQ\0P0P=P<P5QQP5QP5P:QQP=P0Q\bP8QP<P8P=QQP8P<P5P=P8P8P<P5QQP=P>P<P5Q\0P3P>Q\0P>P4QP0P<P>P<Q\rQP>P<QP:P>P=QP5QP2P>P5P<P:P0P:P>P9PQ\0QP8P2YYX*X/Y\tX%X1X3X\'YX1X3X\'YX)X\'YX9X\'YYX*X(YX\'X(X1X\'YX,X\'YY\nY\bYX\'YX5Y\bX1X,X/Y\nX/X)X\'YX9X6Y\bX%X6X\'YX)X\'YYX3YX\'YX9X\'X(X*X-YY\nYYYYX\'X*YYX*YY\tX*X9X/Y\nYX\'YX4X9X1X#X.X(X\'X1X*X7Y\bY\nX1X9YY\nYYX%X1YX\'YX7YX(X\'X*X\'YYX:X)X*X1X*Y\nX(X\'YYX\'X3X\'YX4Y\nX.YYX*X/Y\nX\'YX9X1X(X\'YYX5X5X\'YYX\'YX9YY\nYX\'X*X-X/Y\nX+X\'YYYYX\'YX9YYYYX*X(X)Y\nYYYYX\'YX7YYYY\nX/Y\nY\bX%X/X\'X1X)X*X\'X1Y\nX.X\'YX5X-X)X*X3X,Y\nYX\'YY\bYX*X9YX/YX\'YX/Y\nYX)X*X5YY\nYX#X1X4Y\nYX\'YX0Y\nYX9X1X(Y\nX)X(Y\bX\'X(X)X#YX9X\'X(X\'YX3YX1YX4X\'YYX*X9X\'YY\tX\'YX#Y\bYX\'YX3YX)X,X\'YX9X)X\'YX5X-YX\'YX/Y\nYYYYX\'X*X\'YX.X\'X5X\'YYYYX#X9X6X\'X!YX*X\'X(X)X\'YX.Y\nX1X1X3X\'X&YX\'YYYX(X\'YX#X/X(YYX\'X7X9YX1X\'X3YYYX7YX)X\'YYX*X(X\'YX1X,YX\'X4X*X1YX\'YYX/YY\nX9X7Y\nYsByTagName(.jpg" alt="1px solid #.gif" alt="transparentinformationapplication" onclick="establishedadvertising.png" alt="environmentperformanceappropriate&mdash;immediately</strong></rather thantemperaturedevelopmentcompetitionplaceholdervisibility:copyright">0" height="even thoughreplacementdestinationCorporation<ul class="AssociationindividualsperspectivesetTimeout(url(http://mathematicsmargin-top:eventually description) no-repeatcollections.JPG|thumb|participate/head><bodyfloat:left;<li class="hundreds of\n\nHowever, compositionclear:both;cooperationwithin the label for="border-top:New Zealandrecommendedphotographyinteresting<sup>controversyNetherlandsalternativemaxlength="switzerlandDevelopmentessentially\n\nAlthough </textarea>thunderbirdrepresented&ndash;speculationcommunitieslegislationelectronics\n\t<div id="illustratedengineeringterritoriesauthoritiesdistributed6" height="sans-serif;capable of disappearedinteractivelooking forit would beAfghanistanwas createdMath.floor(surroundingcan also beobservationmaintenanceencountered<h2 class="more recentit has beeninvasion of).getTime()fundamentalDespite the"><div id="inspirationexaminationpreparationexplanation<input id="</a></span>versions ofinstrumentsbefore the = \'http://Descriptionrelatively .substring(each of theexperimentsinfluentialintegrationmany peopledue to the combinationdo not haveMiddle East<noscript><copyright" perhaps theinstitutionin Decemberarrangementmost famouspersonalitycreation oflimitationsexclusivelysovereignty-content">\n<td class="undergroundparallel todoctrine ofoccupied byterminologyRenaissancea number ofsupport forexplorationrecognitionpredecessor<img src="/<h1 class="publicationmay also bespecialized</fieldset>progressivemillions ofstates thatenforcementaround the one another.parentNodeagricultureAlternativeresearcherstowards theMost of themany other (especially<td width=";width:100%independent<h3 class=" onchange=").addClass(interactionOne of the daughter ofaccessoriesbranches of\r\n<div id="the largestdeclarationregulationsInformationtranslationdocumentaryin order to">\n<head>\n<" height="1across the orientation);<\/script>implementedcan be seenthere was ademonstratecontainer">connectionsthe Britishwas written!important;px; margin-followed byability to complicatedduring the immigrationalso called<h4 class="distinctionreplaced bygovernmentslocation ofin Novemberwhether the</p>\n</div>acquisitioncalled the persecutiondesignation{font-size:appeared ininvestigateexperiencedmost likelywidely useddiscussionspresence of (document.extensivelyIt has beenit does notcontrary toinhabitantsimprovementscholarshipconsumptioninstructionfor exampleone or morepx; paddingthe currenta series ofare usuallyrole in thepreviously derivativesevidence ofexperiencescolorschemestated thatcertificate</a></div>\n selected="high schoolresponse tocomfortableadoption ofthree yearsthe countryin Februaryso that thepeople who provided by<param nameaffected byin terms ofappointmentISO-8859-1"was born inhistorical regarded asmeasurementis based on and other : function(significantcelebrationtransmitted/js/jquery.is known astheoretical tabindex="it could be<noscript>\nhaving been\r\n<head>\r\n< "The compilationhe had beenproduced byphilosopherconstructedintended toamong othercompared toto say thatEngineeringa differentreferred todifferencesbelief thatphotographsidentifyingHistory of Republic ofnecessarilyprobabilitytechnicallyleaving thespectacularfraction ofelectricityhead of therestaurantspartnershipemphasis onmost recentshare with saying thatfilled withdesigned toit is often"></iframe>as follows:merged withthrough thecommercial pointed outopportunityview of therequirementdivision ofprogramminghe receivedsetInterval"></span></in New Yorkadditional compression\n\n<div id="incorporate;<\/script><attachEventbecame the " target="_carried outSome of thescience andthe time ofContainer">maintainingChristopherMuch of thewritings of" height="2size of theversion of mixture of between theExamples ofeducationalcompetitive onsubmit="director ofdistinctive/DTD XHTML relating totendency toprovince ofwhich woulddespite thescientific legislature.innerHTML allegationsAgriculturewas used inapproach tointelligentyears later,sans-serifdeterminingPerformanceappearances, which is foundationsabbreviatedhigher thans from the individual composed ofsupposed toclaims thatattributionfont-size:1elements ofHistorical his brotherat the timeanniversarygoverned byrelated to ultimately innovationsit is stillcan only bedefinitionstoGMTStringA number ofimg class="Eventually,was changedoccurred inneighboringdistinguishwhen he wasintroducingterrestrialMany of theargues thatan Americanconquest ofwidespread were killedscreen and In order toexpected todescendantsare locatedlegislativegenerations backgroundmost peopleyears afterthere is nothe highestfrequently they do notargued thatshowed thatpredominanttheologicalby the timeconsideringshort-lived</span></a>can be usedvery littleone of the had alreadyinterpretedcommunicatefeatures ofgovernment,</noscript>entered the" height="3Independentpopulationslarge-scale. Although used in thedestructionpossibilitystarting intwo or moreexpressionssubordinatelarger thanhistory and</option>\r\nContinentaleliminatingwill not bepractice ofin front ofsite of theensure thatto create amississippipotentiallyoutstandingbetter thanwhat is nowsituated inmeta name="TraditionalsuggestionsTranslationthe form ofatmosphericideologicalenterprisescalculatingeast of theremnants ofpluginspage/index.php?remained intransformedHe was alsowas alreadystatisticalin favor ofMinistry ofmovement offormulationis required<link rel="This is the <a href="/popularizedinvolved inare used toand severalmade by theseems to belikely thatPalestiniannamed afterit had beenmost commonto refer tobut this isconsecutivetemporarilyIn general,conventionstakes placesubdivisionterritorialoperationalpermanentlywas largelyoutbreak ofin the pastfollowing a xmlns:og="><a class="class="textConversion may be usedmanufactureafter beingclearfix">\nquestion ofwas electedto become abecause of some peopleinspired bysuccessful a time whenmore commonamongst thean officialwidth:100%;technology,was adoptedto keep thesettlementslive birthsindex.html"Connecticutassigned to&times;account foralign=rightthe companyalways beenreturned toinvolvementBecause thethis period" name="q" confined toa result ofvalue="" />is actuallyEnvironment\r\n</head>\r\nConversely,>\n<div id="0" width="1is probablyhave becomecontrollingthe problemcitizens ofpoliticiansreached theas early as:none; over<table cellvalidity ofdirectly toonmousedownwhere it iswhen it wasmembers of relation toaccommodatealong with In the latethe Englishdelicious">this is notthe presentif they areand finallya matter of\r\n\t</div>\r\n\r\n<\/script>faster thanmajority ofafter whichcomparativeto maintainimprove theawarded theer" class="frameborderrestorationin the sameanalysis oftheir firstDuring the continentalsequence offunction(){font-size: work on the<\/script>\n<begins withjavascript:constituentwas foundedequilibriumassume thatis given byneeds to becoordinatesthe variousare part ofonly in thesections ofis a commontheories ofdiscoveriesassociationedge of thestrength ofposition inpresent-dayuniversallyto form thebut insteadcorporationattached tois commonlyreasons for "the can be madewas able towhich meansbut did notonMouseOveras possibleoperated bycoming fromthe primaryaddition offor severaltransferreda period ofare able tohowever, itshould havemuch larger\n\t<\/script>adopted theproperty ofdirected byeffectivelywas broughtchildren ofProgramminglonger thanmanuscriptswar againstby means ofand most ofsimilar to proprietaryoriginatingprestigiousgrammaticalexperience.to make theIt was alsois found incompetitorsin the U.S.replace thebrought thecalculationfall of thethe generalpracticallyin honor ofreleased inresidentialand some ofking of thereaction to1st Earl ofculture andprincipally</title>\n they can beback to thesome of hisexposure toare similarform of theaddFavoritecitizenshippart in thepeople within practiceto continue&minus;approved by the first allowed theand for thefunctioningplaying thesolution toheight="0" in his bookmore than afollows thecreated thepresence in </td>nationalistthe idea ofa characterwere forced class="btndays of thefeatured inshowing theinterest inin place ofturn of thethe head ofLord of thepoliticallyhas its ownEducationalapproval ofsome of theeach other,behavior ofand becauseand anotherappeared onrecorded inblack"may includethe world\'scan lead torefers to aborder="0" government winning theresulted in while the Washington,the subjectcity in the></div>\r\n\t\treflect theto completebecame moreradioactiverejected bywithout anyhis father,which couldcopy of theto indicatea politicalaccounts ofconstitutesworked wither</a></li>of his lifeaccompaniedclientWidthprevent theLegislativedifferentlytogether inhas severalfor anothertext of thefounded thee with the is used forchanged theusually theplace wherewhereas the> <a href=""><a href="themselves,although hethat can betraditionalrole of theas a resultremoveChilddesigned bywest of theSome peopleproduction,side of thenewslettersused by thedown to theaccepted bylive in theattempts tooutside thefrequenciesHowever, inprogrammersat least inapproximatealthough itwas part ofand variousGovernor ofthe articleturned into><a href="/the economyis the mostmost widelywould laterand perhapsrise to theoccurs whenunder whichconditions.the westerntheory thatis producedthe city ofin which heseen in thethe centralbuilding ofmany of hisarea of theis the onlymost of themany of thethe WesternThere is noextended toStatisticalcolspan=2 |short storypossible totopologicalcritical ofreported toa Christiandecision tois equal toproblems ofThis can bemerchandisefor most ofno evidenceeditions ofelements in". Thecom/images/which makesthe processremains theliterature,is a memberthe popularthe ancientproblems intime of thedefeated bybody of thea few yearsmuch of thethe work ofCalifornia,served as agovernment.concepts ofmovement in\t\t<div id="it" value="language ofas they areproduced inis that theexplain thediv></div>\nHowever thelead to the\t<a href="/was grantedpeople havecontinuallywas seen asand relatedthe role ofproposed byof the besteach other.Constantinepeople fromdialects ofto revisionwas renameda source ofthe initiallaunched inprovide theto the westwhere thereand similarbetween twois also theEnglish andconditions,that it wasentitled tothemselves.quantity ofransparencythe same asto join thecountry andthis is theThis led toa statementcontrast tolastIndexOfthrough hisis designedthe term isis providedprotect theng</a></li>The currentthe site ofsubstantialexperience,in the Westthey shouldslovenD\rinacomentariosuniversidadcondicionesactividadesexperienciatecnologC-aproducciC3npuntuaciC3naplicaciC3ncontraseC1acategorC-asregistrarseprofesionaltratamientoregC-stratesecretarC-aprincipalesprotecciC3nimportantesimportanciaposibilidadinteresantecrecimientonecesidadessuscribirseasociaciC3ndisponiblesevaluaciC3nestudiantesresponsableresoluciC3nguadalajararegistradosoportunidadcomercialesfotografC-aautoridadesingenierC-atelevisiC3ncompetenciaoperacionesestablecidosimplementeactualmentenavegaciC3nconformidadline-height:font-family:" : "http://applicationslink" href="specifically//<![CDATA[\nOrganizationdistribution0px; height:relationshipdevice-width<div class="<label for="registration</noscript>\n/index.html"window.open( !important;application/independence//www.googleorganizationautocompleterequirementsconservative<form name="intellectualmargin-left:18th centuryan importantinstitutionsabbreviation<img class="organisationcivilization19th centuryarchitectureincorporated20th century-container">most notably/></a></div>notification\'undefined\')Furthermore,believe thatinnerHTML = prior to thedramaticallyreferring tonegotiationsheadquartersSouth AfricaunsuccessfulPennsylvaniaAs a result,<html lang="</sup>dealing withphiladelphiahistorically);<\/script>\npadding-top:experimentalgetAttributeinstructionstechnologiespart of the =function(){subscriptionl.dtd">\r\n<htgeographicalConstitution\', function(supported byagriculturalconstructionpublicationsfont-size: 1a variety of<div style="Encyclopediaiframe src="demonstratedaccomplisheduniversitiesDemographics);<\/script><dedicated toknowledge ofsatisfactionparticularly</div></div>English (US)appendChild(transmissions. However, intelligence" tabindex="float:right;Commonwealthranging fromin which theat least onereproductionencyclopedia;font-size:1jurisdictionat that time"><a class="In addition,description+conversationcontact withis generallyr" content="representing<math>presentationoccasionally<img width="navigation">compensationchampionshipmedia="all" violation ofreference toreturn true;Strict//EN" transactionsinterventionverificationInformation difficultiesChampionshipcapabilities<![endif]--\x3e}\n<\/script>\nChristianityfor example,Professionalrestrictionssuggest thatwas released(such as theremoveClass(unemploymentthe Americanstructure of/index.html published inspan class=""><a href="/introductionbelonging toclaimed thatconsequences<meta name="Guide to theoverwhelmingagainst the concentrated,\n.nontouch observations</a>\n</div>\nf (document.border: 1px {font-size:1treatment of0" height="1modificationIndependencedivided intogreater thanachievementsestablishingJavaScript" neverthelesssignificanceBroadcasting> </td>container">\nsuch as the influence ofa particularsrc=\'http://navigation" half of the substantial </div>advantage ofdiscovery offundamental metropolitanthe opposite" xml:lang="deliberatelyalign=centerevolution ofpreservationimprovementsbeginning inJesus ChristPublicationsdisagreementtext-align:r, function()similaritiesbody></html>is currentlyalphabeticalis sometimestype="image/many of the flow:hidden;available indescribe theexistence ofall over thethe Internet\t<ul class="installationneighborhoodarmed forcesreducing thecontinues toNonetheless,temperatures\n\t\t<a href="close to theexamples of is about the(see below)." id="searchprofessionalis availablethe official\t\t<\/script>\n\n\t\t<div id="accelerationthrough the Hall of Famedescriptionstranslationsinterference type=\'text/recent yearsin the worldvery popular{background:traditional some of the connected toexploitationemergence ofconstitutionA History ofsignificant manufacturedexpectations><noscript><can be foundbecause the has not beenneighbouringwithout the added to the\t<li class="instrumentalSoviet Unionacknowledgedwhich can bename for theattention toattempts to developmentsIn fact, the<li class="aimplicationssuitable formuch of the colonizationpresidentialcancelBubble Informationmost of the is describedrest of the more or lessin SeptemberIntelligencesrc="http://px; height: available tomanufacturerhuman rightslink href="/availabilityproportionaloutside the astronomicalhuman beingsname of the are found inare based onsmaller thana person whoexpansion ofarguing thatnow known asIn the earlyintermediatederived fromScandinavian</a></div>\r\nconsider thean estimatedthe National<div id="pagresulting incommissionedanalogous toare required/ul>\n</div>\nwas based onand became a t" value="" was capturedno more thanrespectivelycontinue to >\r\n<head>\r\n<were createdmore generalinformation used for theindependent the Imperialcomponent ofto the northinclude the Constructionside of the would not befor instanceinvention ofmore complexcollectivelybackground: text-align: its originalinto accountthis processan extensivehowever, thethey are notrejected thecriticism ofduring whichprobably thethis article(function(){It should bean agreementaccidentallydiffers fromArchitecturebetter knownarrangementsinfluence onattended theidentical tosouth of thepass throughxml" title="weight:bold;creating thedisplay:nonereplaced the<img src="/ihttps://www.World War IItestimonialsfound in therequired to and that thebetween the was designedconsists of considerablypublished bythe languageConservationconsisted ofrefer to theback to the css" media="People from available onproved to besuggestions"was known asvarieties oflikely to becomprised ofsupport the hands of thecoupled withconnect and border:none;performancesbefore beinglater becamecalculationsoften calledresidents ofmeaning that><li class="evidence forexplanationsenvironments"></a></div>which allowsIntroductiondeveloped bya wide rangeon behalf ofvalign="top"principle ofat the time,</noscript>\rsaid to havein the firstwhile othershypotheticalphilosopherspower of thecontained inperformed byinability towere writtenspan style="input name="the questionintended forrejection ofimplies thatinvented thethe standardwas probablylink betweenprofessor ofinteractionschanging theIndian Ocean class="lastworking with\'http://www.years beforeThis was therecreationalentering themeasurementsan extremelyvalue of thestart of the\n<\/script>\n\nan effort toincrease theto the southspacing="0">sufficientlythe Europeanconverted toclearTimeoutdid not haveconsequentlyfor the nextextension ofeconomic andalthough theare producedand with theinsufficientgiven by thestating thatexpenditures</span></a>\nthought thaton the basiscellpadding=image of thereturning toinformation,separated byassassinateds" content="authority ofnorthwestern</div>\n<div "></div>\r\n consultationcommunity ofthe nationalit should beparticipants align="leftthe greatestselection ofsupernaturaldependent onis mentionedallowing thewas inventedaccompanyinghis personalavailable atstudy of theon the otherexecution ofHuman Rightsterms of theassociationsresearch andsucceeded bydefeated theand from thebut they arecommander ofstate of theyears of agethe study of<ul class="splace in thewhere he was<li class="fthere are nowhich becamehe publishedexpressed into which thecommissionerfont-weight:territory ofextensions">Roman Empireequal to theIn contrast,however, andis typicallyand his wife(also called><ul class="effectively evolved intoseem to havewhich is thethere was noan excellentall of thesedescribed byIn practice,broadcastingcharged withreflected insubjected tomilitary andto the pointeconomicallysetTargetingare actuallyvictory over();<\/script>continuouslyrequired forevolutionaryan effectivenorth of the, which was front of theor otherwisesome form ofhad not beengenerated byinformation.permitted toincludes thedevelopment,entered intothe previousconsistentlyare known asthe field ofthis type ofgiven to thethe title ofcontains theinstances ofin the northdue to theirare designedcorporationswas that theone of thesemore popularsucceeded insupport fromin differentdominated bydesigned forownership ofand possiblystandardizedresponseTextwas intendedreceived theassumed thatareas of theprimarily inthe basis ofin the senseaccounts fordestroyed byat least twowas declaredcould not beSecretary ofappear to bemargin-top:1/^\\s+|\\s+$/ge){throw e};the start oftwo separatelanguage andwho had beenoperation ofdeath of thereal numbers\t<link rel="provided thethe story ofcompetitionsenglish (UK)english (US)PP>P=P3P>P;P!Q\0P?QP:P8QQ\0P?QP:P8QQ\0P?QP:P>YX9X1X(Y\nX)f-#i+d8-fg.\0d=d8-fg9d=d8-ff\tie,e8d::f0f?e:i?i\fe74e74g$>d<d8;d9\tf\rd=g3;g;f?g-f3h\'informaciC3nherramientaselectrC3nicodescripciC3nclasificadosconocimientopublicaciC3nrelacionadasinformC!ticarelacionadosdepartamentotrabajadoresdirectamenteayuntamientomercadoLibrecontC!ctenoshabitacionescumplimientorestaurantesdisposiciC3nconsecuenciaelectrC3nicaaplicacionesdesconectadoinstalaciC3nrealizaciC3nutilizaciC3nenciclopediaenfermedadesinstrumentosexperienciasinstituciC3nparticularessubcategoriaQP>P;Q\fP:P>P P>QQP8P8Q\0P0P1P>QQ\vP1P>P;Q\fQ\bP5P?Q\0P>QQP>P<P>P6P5QP5P4Q\0QP3P8QQP;QQP0P5QP5P9QP0QP2QP5P3P4P0P P>QQP8QPP>QP:P2P5P4Q\0QP3P8P5P3P>Q\0P>P4P0P2P>P?Q\0P>QP4P0P=P=Q\vQP4P>P;P6P=Q\vP8P<P5P=P=P>PP>QP:P2Q\vQ\0QP1P;P5P9PP>QP:P2P0QQQ\0P0P=Q\vP=P8QP5P3P>Q\0P0P1P>QP5P4P>P;P6P5P=QQP;QP3P8QP5P?P5Q\0Q\fPP4P=P0P:P>P?P>QP>P<QQ\0P0P1P>QQP0P?Q\0P5P;QP2P>P>P1Q\tP5P>P4P=P>P3P>QP2P>P5P3P>QQP0QQ\fP8P4Q\0QP3P>P9QP>Q\0QP<P5QP>Q\0P>Q\bP>P?Q\0P>QP8P2QQQ\vP;P:P0P:P0P6P4Q\vP9P2P;P0QQP8P3Q\0QP?P?Q\vP2P<P5QQP5Q\0P0P1P>QP0QP:P0P7P0P;P?P5Q\0P2Q\vP9P4P5P;P0QQ\fP4P5P=Q\fP3P8P?P5Q\0P8P>P4P1P8P7P=P5QP>QP=P>P2P5P<P>P<P5P=QP:QP?P8QQ\fP4P>P;P6P=P0Q\0P0P<P:P0QP=P0QP0P;P>P P0P1P>QP0P"P>P;Q\fP:P>QP>P2QP5P<P2QP>Q\0P>P9P=P0QP0P;P0QP?P8QP>P:QP;QP6P1Q\vQP8QQP5P<P?P5QP0QP8P=P>P2P>P3P>P?P>P<P>Q\tP8QP0P9QP>P2P?P>QP5P<QP?P>P<P>Q\tQ\fP4P>P;P6P=P>QQQ\vP;P:P8P1Q\vQQQ\0P>P4P0P=P=Q\vP5P<P=P>P3P8P5P?Q\0P>P5P:QP!P5P9QP0QP<P>P4P5P;P8QP0P:P>P3P>P>P=P;P0P9P=P3P>Q\0P>P4P5P2P5Q\0QP8QQQQ\0P0P=P5QP8P;Q\fP<Q\vQQ\0P>P2P=QQ\0P0P7P=Q\vQP8QP:P0QQ\fP=P5P4P5P;QQP=P2P0Q\0QP<P5P=Q\fQ\bP5P<P=P>P3P8QP4P0P=P=P>P9P7P=P0QP8QP=P5P;Q\fP7QQP>Q\0QP<P0P"P5P?P5Q\0Q\fP<P5QQQP0P7P0Q\tP8QQ\vPQQQ\bP8P5`$(`$9`%\0`$`$`$0`$(`%`$`$*`$(`%`$`$?`$/`$>`$`$0`%`$`$`$(`%\r`$/`$`%\r`$/`$>`$`$>`$`$!`$,`$>`$0`%`$`$?`$8`%\0`$&`$?`$/`$>`$*`$9`$2`%`$8`$?`$`$9`$-`$>`$0`$$`$`$*`$(`%\0`$5`$>`$2`%`$8`%`$5`$>`$`$0`$$`%`$.`%`$0`%`$9`%\v`$(`%`$8`$`$$`%`$,`$9`%`$$`$8`$>`$`$`$9`%\v`$`$>`$`$>`$(`%`$.`$?`$(`$`$`$0`$$`$>`$`$0`$(`$>`$\t`$(`$`%`$/`$9`$>`$`$8`$,`$8`%`$-`$>`$7`$>`$`$*`$`%`$2`$?`$/`%`$6`%`$0`%`$`$8`$`%`$`$`$`%`$.`%`$0`%\0`$8`$`$$`$>`$.`%`$0`$>`$2`%`$`$0`$`$\'`$?`$`$`$*`$(`$>`$8`$.`$>`$`$.`%`$`%`$`$>`$0`$#`$9`%\v`$$`$>`$`$!`$<`%\0`$/`$9`$>`$`$9`%\v`$`$2`$6`$,`%\r`$&`$2`$?`$/`$>`$`%\0`$5`$(`$`$>`$$`$>`$`%\b`$8`%`$`$*`$`$>`$5`$>`$2`%\0`$&`%`$(`%`$*`%`$0`%\0`$*`$>`$(`%\0`$\t`$8`$`%`$9`%\v`$`%\0`$,`%\b`$ `$`$`$*`$`%\0`$5`$0`%\r`$7`$`$>`$`$5`$`$*`$`%\v`$`$?`$2`$>`$`$>`$(`$>`$8`$9`$.`$$`$9`$.`%`$`$\t`$(`$`%\0`$/`$>`$9`%`$&`$0`%\r`$`$8`%`$`%\0`$*`$8`$`$&`$8`$5`$>`$2`$9`%\v`$(`$>`$9`%\v`$$`%\0`$`%\b`$8`%`$5`$>`$*`$8`$`$(`$$`$>`$(`%`$$`$>`$`$>`$0`%\0`$`$>`$/`$2`$`$?`$2`%`$(`%\0`$`%`$`$>`$`$`$*`$$`%\r`$0`$`%`$`$2`$`$>`$$`%`$,`$>`$9`$0`$`$*`$(`%`$5`$>`$9`$(`$`$8`$`$>`$8`%`$,`$9`$0`$9`$(`%`$`$8`$8`%`$8`$9`$?`$$`$,`$!`$<`%`$`$`$(`$>`$$`$2`$>`$6`$*`$>`$`$`$6`%\r`$0`%\0`$,`$!`$<`%\0`$9`%\v`$$`%`$8`$>`$\b`$`$6`$>`$/`$&`$8`$`$$`%\0`$`$>`$$`%\0`$5`$>`$2`$>`$9`$`$>`$0`$*`$`$(`$>`$0`$`$(`%`$8`$!`$<`$`$.`$?`$2`$>`$\t`$8`$`%\0`$`%`$5`$2`$2`$`$$`$>`$`$>`$(`$>`$`$0`%\r`$%`$`$9`$>`$`$&`%`$`$>`$*`$9`$2`%\0`$(`$?`$/`$.`$,`$?`$(`$>`$,`%\b`$`$`$`$9`%\0`$`$`$9`$(`$>`$&`%`$$`$>`$9`$.`$2`%`$`$>`$+`%\0`$`$,`$`$?`$$`%`$0`$$`$.`$>`$`$`$5`$9`%\0`$`$0`%\v`$`$<`$.`$?`$2`%\0`$`$0`%\v`$*`$8`%`$(`$>`$/`$>`$&`$5`$2`%`$(`%`$`$>`$$`$>`$`$0`%\0`$,`$\t`$(`$`$>`$`$5`$>`$,`$*`%`$0`$>`$,`$!`$<`$>`$8`%\f`$&`$>`$6`%`$/`$0`$`$?`$/`%`$`$9`$>`$`$`$`$8`$0`$,`$(`$>`$`$5`$9`$>`$`$8`%\r`$%`$2`$.`$?`$2`%`$2`%`$`$`$5`$?`$7`$/`$`%\r`$0`$`$8`$.`%`$9`$%`$>`$(`$>X*X3X*X7Y\nX9YX4X\'X1YX)X(Y\bX\'X3X7X)X\'YX5YX-X)YY\bX\'X6Y\nX9X\'YX.X\'X5X)X\'YYX2Y\nX/X\'YX9X\'YX)X\'YYX\'X*X(X\'YX1X/Y\bX/X(X1YX\'YX,X\'YX/Y\bYX)X\'YX9X\'YYX\'YYY\bYX9X\'YX9X1X(Y\nX\'YX3X1Y\nX9X\'YX,Y\bX\'YX\'YX0YX\'X(X\'YX-Y\nX\'X)X\'YX-YY\bYX\'YYX1Y\nYX\'YX9X1X\'YYX-YY\bX8X)X\'YX+X\'YY\nYX4X\'YX/X)X\'YYX1X#X)X\'YYX1X"YX\'YX4X(X\'X(X\'YX-Y\bX\'X1X\'YX,X/Y\nX/X\'YX#X3X1X)X\'YX9YY\bYYX,YY\bX9X)X\'YX1X-YYX\'YYYX\'X7YYX3X7Y\nYX\'YYY\bY\nX*X\'YX/YY\nX\'X(X1YX\'X*YX\'YX1Y\nX\'X6X*X-Y\nX\'X*Y\nX(X*Y\bYY\nX*X\'YX#Y\bYY\tX\'YX(X1Y\nX/X\'YYYX\'YX\'YX1X\'X(X7X\'YX4X.X5Y\nX3Y\nX\'X1X\'X*X\'YX+X\'YX+X\'YX5YX\'X)X\'YX-X/Y\nX+X\'YX2Y\bX\'X1X\'YX.YY\nX,X\'YX,YY\nX9X\'YX9X\'YYX\'YX,YX\'YX\'YX3X\'X9X)YX4X\'YX/YX\'YX1X&Y\nX3X\'YX/X.Y\bYX\'YYYY\nX)X\'YYX*X\'X(X\'YX/Y\bX1Y\nX\'YX/X1Y\bX3X\'X3X*X:X1YX*X5X\'YY\nYX\'YX(YX\'X*X\'YX9X8Y\nYentertainmentunderstanding = function().jpg" width="configuration.png" width="<body class="Math.random()contemporary United Statescircumstances.appendChild(organizations<span class=""><img src="/distinguishedthousands of communicationclear"></div>investigationfavicon.ico" margin-right:based on the Massachusettstable border=internationalalso known aspronunciationbackground:#fpadding-left:For example, miscellaneous</math>psychologicalin particularearch" type="form method="as opposed toSupreme Courtoccasionally Additionally,North Americapx;backgroundopportunitiesEntertainment.toLowerCase(manufacturingprofessional combined withFor instance,consisting of" maxlength="return false;consciousnessMediterraneanextraordinaryassassinationsubsequently button type="the number ofthe original comprehensiverefers to the</ul>\n</div>\nphilosophicallocation.hrefwas publishedSan Francisco(function(){\n<div id="mainsophisticatedmathematical /head>\r\n<bodysuggests thatdocumentationconcentrationrelationshipsmay have been(for example,This article in some casesparts of the definition ofGreat Britain cellpadding=equivalent toplaceholder="; font-size: justificationbelieved thatsuffered fromattempted to leader of thecript" src="/(function() {are available\n\t<link rel=" src=\'http://interested inconventional " alt="" /></are generallyhas also beenmost popular correspondingcredited withtyle="border:</a></span></.gif" width="<iframe src="table class="inline-block;according to together withapproximatelyparliamentarymore and moredisplay:none;traditionallypredominantly | </span> cellspacing=<input name="or" content="controversialproperty="og:/x-shockwave-demonstrationsurrounded byNevertheless,was the firstconsiderable Although the collaborationshould not beproportion of<span style="known as the shortly afterfor instance,described as /head>\n<body starting withincreasingly the fact thatdiscussion ofmiddle of thean individualdifficult to point of viewhomosexualityacceptance of</span></div>manufacturersorigin of thecommonly usedimportance ofdenominationsbackground: #length of thedeterminationa significant" border="0">revolutionaryprinciples ofis consideredwas developedIndo-Europeanvulnerable toproponents ofare sometimescloser to theNew York City name="searchattributed tocourse of themathematicianby the end ofat the end of" border="0" technological.removeClass(branch of theevidence that![endif]--\x3e\r\nInstitute of into a singlerespectively.and thereforeproperties ofis located insome of whichThere is alsocontinued to appearance of &ndash; describes theconsiderationauthor of theindependentlyequipped withdoes not have</a><a href="confused with<link href="/at the age ofappear in theThese includeregardless ofcould be used style="several timesrepresent thebody>\n</html>thought to bepopulation ofpossibilitiespercentage ofaccess to thean attempt toproduction ofjquery/jquerytwo differentbelong to theestablishmentreplacing thedescription" determine theavailable forAccording to wide range of\t<div class="more commonlyorganisationsfunctionalitywas completed &mdash; participationthe characteran additionalappears to befact that thean example ofsignificantlyonmouseover="because they async = true;problems withseems to havethe result of src="http://familiar withpossession offunction () {took place inand sometimessubstantially<span></span>is often usedin an attemptgreat deal ofEnvironmentalsuccessfully virtually all20th century,professionalsnecessary to determined bycompatibilitybecause it isDictionary ofmodificationsThe followingmay refer to:Consequently,Internationalalthough somethat would beworld\'s firstclassified asbottom of the(particularlyalign="left" most commonlybasis for thefoundation ofcontributionspopularity ofcenter of theto reduce thejurisdictionsapproximation onmouseout="New Testamentcollection of</span></a></in the Unitedfilm director-strict.dtd">has been usedreturn to thealthough thischange in theseveral otherbut there areunprecedentedis similar toespecially inweight: bold;is called thecomputationalindicate thatrestricted to\t<meta name="are typicallyconflict withHowever, the An example ofcompared withquantities ofrather than aconstellationnecessary forreported thatspecificationpolitical and <references tothe same yearGovernment ofgeneration ofhave not beenseveral yearscommitment to\t\t<ul class="visualization19th century,practitionersthat he wouldand continuedoccupation ofis defined ascentre of thethe amount of><div style="equivalent ofdifferentiatebrought aboutmargin-left: automaticallythought of asSome of these\n<div class="input class="replaced withis one of theeducation andinfluenced byreputation as\n<meta name="accommodation</div>\n</div>large part ofInstitute forthe so-called against the In this case,was appointedclaimed to beHowever, thisDepartment ofthe remainingeffect on theparticularly deal with the\n<div style="almost alwaysare currentlyexpression ofphilosophy offor more thancivilizationson the islandselectedIndexcan result in" value="" />the structure /></a></div>Many of thesecaused by theof the Unitedspan class="mcan be tracedis related tobecame one ofis frequentlyliving in thetheoreticallyFollowing theRevolutionarygovernment inis determinedthe politicalintroduced insufficient todescription">short storiesseparation ofas to whetherknown for itswas initiallydisplay:blockis an examplethe principalconsists of arecognized as/body></html>a substantialreconstructedhead of stateresistance toundergraduateThere are twogravitationalare describedintentionallyserved as theclass="headeropposition tofundamentallydominated theand the otheralliance withwas forced torespectively,and politicalin support ofpeople in the20th century.and publishedloadChartbeatto understandmember statesenvironmentalfirst half ofcountries andarchitecturalbe consideredcharacterizedclearIntervalauthoritativeFederation ofwas succeededand there area consequencethe Presidentalso includedfree softwaresuccession ofdeveloped thewas destroyedaway from the;\n<\/script>\n<although theyfollowed by amore powerfulresulted in aUniversity ofHowever, manythe presidentHowever, someis thought tountil the endwas announcedare importantalso includes><input type=the center of DO NOT ALTERused to referthemes/?sort=that had beenthe basis forhas developedin the summercomparativelydescribed thesuch as thosethe resultingis impossiblevarious otherSouth Africanhave the sameeffectivenessin which case; text-align:structure and; background:regarding thesupported theis also knownstyle="marginincluding thebahasa Melayunorsk bokmC%lnorsk nynorskslovenE!D\rinainternacionalcalificaciC3ncomunicaciC3nconstrucciC3n"><div class="disambiguationDomainName\', \'administrationsimultaneouslytransportationInternational margin-bottom:responsibility<![endif]--\x3e\n</><meta name="implementationinfrastructurerepresentationborder-bottom:</head>\n<body>=http%3A%2F%2F<form method="method="post" /favicon.ico" });\n<\/script>\n.setAttribute(Administration= new Array();<![endif]--\x3e\r\ndisplay:block;Unfortunately,"> </div>/favicon.ico">=\'stylesheet\' identification, for example,<li><a href="/an alternativeas a result ofpt"><\/script>\ntype="submit" \n(function() {recommendationform action="/transformationreconstruction.style.display According to hidden" name="along with thedocument.body.approximately Communicationspost" action="meaning "--<![endif]--\x3ePrime Ministercharacteristic</a> <a class=the history of onmouseover="the governmenthref="https://was originallywas introducedclassificationrepresentativeare considered<![endif]--\x3e\n\ndepends on theUniversity of in contrast to placeholder="in the case ofinternational constitutionalstyle="border-: function() {Because of the-strict.dtd">\n<table class="accompanied byaccount of the<script src="/nature of the the people in in addition tos); js.id = id" width="100%"regarding the Roman Catholican independentfollowing the .gif" width="1the following discriminationarchaeologicalprime minister.js"><\/script>combination of marginwidth="createElement(w.attachEvent(</a></td></tr>src="https://aIn particular, align="left" Czech RepublicUnited Kingdomcorrespondenceconcluded that.html" title="(function () {comes from theapplication of<span class="sbelieved to beement(\'script\'</a>\n</li>\n<livery different><span class="option value="(also known as\t<li><a href="><input name="separated fromreferred to as valign="top">founder of theattempting to carbon dioxide\n\n<div class="class="search-/body>\n</html>opportunity tocommunications</head>\r\n<body style="width:Tia:?ng Via;tchanges in theborder-color:#0" border="0" </span></div><was discovered" type="text" );\n<\/script>\n\nDepartment of ecclesiasticalthere has beenresulting from</body></html>has never beenthe first timein response toautomatically </div>\n\n<div iwas consideredpercent of the" /></a></div>collection of descended fromsection of theaccept-charsetto be confusedmember of the padding-right:translation ofinterpretation href=\'http://whether or notThere are alsothere are manya small numberother parts ofimpossible to class="buttonlocated in the. However, theand eventuallyAt the end of because of itsrepresents the<form action=" method="post"it is possiblemore likely toan increase inhave also beencorresponds toannounced thatalign="right">many countriesfor many yearsearliest knownbecause it waspt"><\/script>\r valign="top" inhabitants offollowing year\r\n<div class="million peoplecontroversial concerning theargue that thegovernment anda reference totransferred todescribing the style="color:although therebest known forsubmit" name="multiplicationmore than one recognition ofCouncil of theedition of the <meta name="Entertainment away from the ;margin-right:at the time ofinvestigationsconnected withand many otheralthough it isbeginning with <span class="descendants of<span class="i align="right"</head>\n<body aspects of thehas since beenEuropean Unionreminiscent ofmore difficultVice Presidentcomposition ofpassed throughmore importantfont-size:11pxexplanation ofthe concept ofwritten in the\t<span class="is one of the resemblance toon the groundswhich containsincluding the defined by thepublication ofmeans that theoutside of thesupport of the<input class="<span class="t(Math.random()most prominentdescription ofConstantinoplewere published<div class="seappears in the1" height="1" most importantwhich includeswhich had beendestruction ofthe population\n\t<div class="possibility ofsometimes usedappear to havesuccess of theintended to bepresent in thestyle="clear:b\r\n<\/script>\r\n<was founded ininterview with_id" content="capital of the\r\n<link rel="srelease of thepoint out thatxMLHttpRequestand subsequentsecond largestvery importantspecificationssurface of theapplied to theforeign policy_setDomainNameestablished inis believed toIn addition tomeaning of theis named afterto protect theis representedDeclaration ofmore efficientClassificationother forms ofhe returned to<span class="cperformance of(function() {\rif and only ifregions of theleading to therelations withUnited Nationsstyle="height:other than theype" content="Association of\n</head>\n<bodylocated on theis referred to(including theconcentrationsthe individualamong the mostthan any other/>\n<link rel=" return false;the purpose ofthe ability to;color:#fff}\n.\n<span class="the subject ofdefinitions of>\r\n<link rel="claim that thehave developed<table width="celebration ofFollowing the to distinguish<span class="btakes place inunder the namenoted that the><![endif]--\x3e\nstyle="margin-instead of theintroduced thethe process ofincreasing thedifferences inestimated thatespecially the/div><div id="was eventuallythroughout histhe differencesomething thatspan></span></significantly ><\/script>\r\n\r\nenvironmental to prevent thehave been usedespecially forunderstand theis essentiallywere the firstis the largesthave been made" src="http://interpreted assecond half ofcrolling="no" is composed ofII, Holy Romanis expected tohave their owndefined as thetraditionally have differentare often usedto ensure thatagreement withcontaining theare frequentlyinformation onexample is theresulting in a</a></li></ul> class="footerand especiallytype="button" </span></span>which included>\n<meta name="considered thecarried out byHowever, it isbecame part ofin relation topopular in thethe capital ofwas officiallywhich has beenthe History ofalternative todifferent fromto support thesuggested thatin the process <div class="the foundationbecause of hisconcerned withthe universityopposed to thethe context of<span class="ptext" name="q"\t\t<div class="the scientificrepresented bymathematicianselected by thethat have been><div class="cdiv id="headerin particular,converted into);\n<\/script>\n<philosophical srpskohrvatskitia:?ng Via;tP QQQP:P8P9Q\0QQQP:P8P9investigaciC3nparticipaciC3nP:P>QP>Q\0Q\vP5P>P1P;P0QQP8P:P>QP>Q\0Q\vP9QP5P;P>P2P5P:QP8QQP5P<Q\vPP>P2P>QQP8P:P>QP>Q\0Q\vQP>P1P;P0QQQ\fP2Q\0P5P<P5P=P8P:P>QP>Q\0P0QQP5P3P>P4P=QQP:P0QP0QQ\fP=P>P2P>QQP8P#P:Q\0P0P8P=Q\vP2P>P?Q\0P>QQ\vP:P>QP>Q\0P>P9QP4P5P;P0QQ\fP?P>P<P>Q\tQ\fQQQ\0P5P4QQP2P>P1Q\0P0P7P>P<QQP>Q\0P>P=Q\vQQP0QQP8P5QP5QP5P=P8P5PP;P0P2P=P0QP8QQP>Q\0P8P8QP8QQP5P<P0Q\0P5Q\bP5P=P8QP!P:P0QP0QQ\fP?P>Q\rQP>P<QQP;P5P4QP5QQP:P0P7P0QQ\fQP>P2P0Q\0P>P2P:P>P=P5QP=P>Q\0P5Q\bP5P=P8P5P:P>QP>Q\0P>P5P>Q\0P3P0P=P>P2P:P>QP>Q\0P>P<P P5P:P;P0P<P0X\'YYYX*X/Y\tYYX*X/Y\nX\'X*X\'YYY\bX6Y\bX9X\'YX(X1X\'YX,X\'YYY\bX\'YX9X\'YX1X3X\'X&YYX4X\'X1YX\'X*X\'YX#X9X6X\'X!X\'YX1Y\nX\'X6X)X\'YX*X5YY\nYX\'YX\'X9X6X\'X!X\'YYX*X\'X&X,X\'YX#YX9X\'X(X\'YX*X3X,Y\nYX\'YX#YX3X\'YX\'YX6X:X7X\'X*X\'YYY\nX/Y\nY\bX\'YX*X1X-Y\nX(X\'YX,X/Y\nX/X)X\'YX*X9YY\nYX\'YX#X.X(X\'X1X\'YX\'YYX\'YX\'YX#YYX\'YX\'YX*X\'X1Y\nX.X\'YX*YYY\nX)X\'YX\'YX9X\'X(X\'YX.Y\bX\'X7X1X\'YYX,X*YX9X\'YX/Y\nYY\bX1X\'YX3Y\nX\'X-X)X9X(X/X\'YYYX\'YX*X1X(Y\nX)X\'YX1Y\bX\'X(X7X\'YX#X/X(Y\nX)X\'YX\'X.X(X\'X1X\'YYX*X-X/X)X\'YX\'X:X\'YY\ncursor:pointer;</title>\n<meta " href="http://"><span class="members of the window.locationvertical-align:/a> | <a href="<!doctype html>media="screen" <option value="favicon.ico" />\n\t\t<div class="characteristics" method="get" /body>\n</html>\nshortcut icon" document.write(padding-bottom:representativessubmit" value="align="center" throughout the science fiction\n <div class="submit" class="one of the most valign="top"><was established);\r\n<\/script>\r\nreturn false;">).style.displaybecause of the document.cookie<form action="/}body{margin:0;Encyclopedia ofversion of the .createElement(name" content="</div>\n</div>\n\nadministrative </body>\n</html>history of the "><input type="portion of the as part of the <a href="other countries">\n<div class="</span></span><In other words,display: block;control of the introduction of/>\n<meta name="as well as the in recent years\r\n\t<div class="</div>\n\t</div>\ninspired by thethe end of the compatible withbecame known as style="margin:.js"><\/script>< International there have beenGerman language style="color:#Communist Partyconsistent withborder="0" cell marginheight="the majority of" align="centerrelated to the many different Orthodox Churchsimilar to the />\n<link rel="swas one of the until his death})();\n<\/script>other languagescompared to theportions of thethe Netherlandsthe most commonbackground:url(argued that thescrolling="no" included in theNorth American the name of theinterpretationsthe traditionaldevelopment of frequently useda collection ofvery similar tosurrounding theexample of thisalign="center">would have beenimage_caption =attached to thesuggesting thatin the form of involved in theis derived fromnamed after theIntroduction torestrictions on style="width: can be used to the creation ofmost important information andresulted in thecollapse of theThis means thatelements of thewas replaced byanalysis of theinspiration forregarded as themost successfulknown as "a comprehensiveHistory of the were consideredreturned to theare referred toUnsourced image>\n\t<div class="consists of thestopPropagationinterest in theavailability ofappears to haveelectromagneticenableServices(function of theIt is important<\/script></div>function(){var relative to theas a result of the position ofFor example, in method="post" was followed by&mdash; thethe applicationjs"><\/script>\r\nul></div></div>after the deathwith respect tostyle="padding:is particularlydisplay:inline; type="submit" is divided intod8-f (g.\0d=)responsabilidadadministraciC3ninternacionalescorrespondiente`$\t`$*`$/`%\v`$`$*`%`$0`%\r`$5`$9`$.`$>`$0`%`$2`%\v`$`%\v`$`$`%`$(`$>`$5`$2`%`$`$?`$(`$8`$0`$`$>`$0`$*`%`$2`$?`$8`$`%\v`$`%`$`$`$>`$9`$?`$`$-`%`$`%`$`$6`$>`$.`$?`$2`$9`$.`$>`$0`%\0`$`$>`$`$0`$#`$,`$(`$>`$(`%`$`%`$.`$>`$0`$,`%\r`$2`%\t`$`$.`$>`$2`$?`$`$.`$9`$?`$2`$>`$*`%`$7`%\r`$ `$,`$"`$<`$$`%`$-`$>`$`$*`$>`$`%\r`$2`$?`$`$`%\r`$0`%`$(`$`$?`$2`$>`$+`$&`%\f`$0`$>`$(`$.`$>`$.`$2`%`$.`$$`$&`$>`$(`$,`$>`$`$>`$0`$5`$?`$`$>`$8`$`%\r`$/`%\v`$`$`$>`$9`$$`%`$*`$9`%`$`$`$,`$$`$>`$/`$>`$8`$`$5`$>`$&`$&`%`$`$(`%`$*`$?`$`$2`%`$5`$?`$6`%`$7`$0`$>`$`%\r`$/`$\t`$$`%\r`$$`$0`$.`%`$`$,`$\b`$&`%\v`$(`%\v`$`$\t`$*`$`$0`$#`$*`$"`$<`%`$`$8`%\r`$%`$?`$$`$+`$?`$2`%\r`$.`$.`%`$`%\r`$/`$`$`%\r`$`$>`$`%`$`$$`%\0`$8`$`$`%\0`$$`$`$>`$`$`$>`$5`$?`$-`$>`$`$`$#`%\r`$`%`$&`%`$8`$0`%`$&`$?`$(`%\v`$`$9`$$`%\r`$/`$>`$8`%`$`%\r`$8`$`$>`$`$\'`%\0`$5`$?`$6`%\r`$5`$0`$>`$$`%`$`$&`%\b`$`%\r`$8`$(`$`%\r`$6`$>`$8`$>`$.`$(`%`$`$&`$>`$2`$$`$,`$?`$`$2`%\0`$*`%`$0`%`$7`$9`$?`$`$&`%\0`$.`$?`$$`%\r`$0`$`$5`$?`$$`$>`$0`%`$*`$/`%`$8`%\r`$%`$>`$(`$`$0`%\v`$!`$<`$.`%`$`%\r`$$`$/`%\v`$`$(`$>`$`%`$*`$/`$>`$*`%\v`$8`%\r`$`$`$0`%`$2`%`$`$>`$0`%\r`$/`$5`$?`$`$>`$0`$8`%`$`$(`$>`$.`%`$2`%\r`$/`$&`%`$`%`$`$9`$.`%`$6`$>`$8`%\r`$`%`$2`$.`%\b`$`$(`%`$$`%\b`$/`$>`$0`$`$?`$8`$`%rss+xml" title="-type" content="title" content="at the same time.js"><\/script>\n<" method="post" </span></a></li>vertical-align:t/jquery.min.js">.click(function( style="padding-})();\n<\/script>\n</span><a href="<a href="http://); return false;text-decoration: scrolling="no" border-collapse:associated with Bahasa IndonesiaEnglish language<text xml:space=.gif" border="0"</body>\n</html>\noverflow:hidden;img src="http://addEventListenerresponsible for s.js"><\/script>\n/favicon.ico" />operating system" style="width:1target="_blank">State Universitytext-align:left;\ndocument.write(, including the around the world);\r\n<\/script>\r\n<" style="height:;overflow:hiddenmore informationan internationala member of the one of the firstcan be found in </div>\n\t\t</div>\ndisplay: none;">" />\n<link rel="\n (function() {the 15th century.preventDefault(large number of Byzantine Empire.jpg|thumb|left|vast majority ofmajority of the align="center">University Pressdominated by theSecond World Wardistribution of style="position:the rest of the characterized by rel="nofollow">derives from therather than the a combination ofstyle="width:100English-speakingcomputer scienceborder="0" alt="the existence ofDemocratic Party" style="margin-For this reason,.js"><\/script>\n\tsByTagName(s)[0]js"><\/script>\r\n<.js"><\/script>\r\nlink rel="icon" \' alt=\'\' class=\'formation of theversions of the </a></div></div>/page>\n <page>\n<div class="contbecame the firstbahasa Indonesiaenglish (simple)NN;N;N7N=N9N:N,QQ\0P2P0QQP:P8P:P>P<P?P0P=P8P8QP2P;QP5QQQPP>P1P0P2P8QQ\fQP5P;P>P2P5P:P0Q\0P0P7P2P8QP8QPP=QP5Q\0P=P5QPQP2P5QP8QQ\fP=P0P?Q\0P8P<P5Q\0P8P=QP5Q\0P=P5QP:P>QP>Q\0P>P3P>QQQ\0P0P=P8QQ\vP:P0QP5QQP2P5QQP;P>P2P8QQP?Q\0P>P1P;P5P<Q\vP?P>P;QQP8QQ\fQP2P;QQQQQP=P0P8P1P>P;P5P5P:P>P<P?P0P=P8QP2P=P8P<P0P=P8P5QQ\0P5P4QQP2P0X\'YYY\bX\'X6Y\nX9X\'YX1X&Y\nX3Y\nX)X\'YX\'YX*YX\'YYX4X\'X1YX\'X*YX\'YX3Y\nX\'X1X\'X*X\'YYYX*Y\bX(X)X\'YX3X9Y\bX/Y\nX)X\'X-X5X\'X&Y\nX\'X*X\'YX9X\'YYY\nX)X\'YX5Y\bX*Y\nX\'X*X\'YX\'YX*X1YX*X\'YX*X5X\'YY\nYX\'YX%X3YX\'YY\nX\'YYX4X\'X1YX)X\'YYX1X&Y\nX\'X*robots" content="<div id="footer">the United States<img src="http://.jpg|right|thumb|.js"><\/script>\r\n<location.protocolframeborder="0" s" />\n<meta name="</a></div></div><font-weight:bold;" and "depending on the margin:0;padding:" rel="nofollow" President of the twentieth centuryevision>\n </pageInternet Explorera.async = true;\r\ninformation about<div id="header">" action="http://<a href="https://<div id="content"</div>\r\n</div>\r\n<derived from the <img src=\'http://according to the \n</body>\n</html>\nstyle="font-size:script language="Arial, Helvetica,</a><span class="<\/script><script political partiestd></tr></table><href="http://www.interpretation ofrel="stylesheet" document.write(\'<charset="utf-8">\nbeginning of the revealed that thetelevision series" rel="nofollow"> target="_blank">claiming that thehttp%3A%2F%2Fwww.manifestations ofPrime Minister ofinfluenced by theclass="clearfix">/div>\r\n</div>\r\n\r\nthree-dimensionalChurch of Englandof North Carolinasquare kilometres.addEventListenerdistinct from thecommonly known asPhonetic Alphabetdeclared that thecontrolled by theBenjamin Franklinrole-playing gamethe University ofin Western Europepersonal computerProject Gutenbergregardless of thehas been proposedtogether with the></li><li class="in some countriesmin.js"><\/script>of the populationofficial language<img src="images/identified by thenatural resourcesclassification ofcan be consideredquantum mechanicsNevertheless, themillion years ago</body>\r\n</html>\rNN;N;N7N=N9N:N,\ntake advantage ofand, according toattributed to theMicrosoft Windowsthe first centuryunder the controldiv class="headershortly after thenotable exceptiontens of thousandsseveral differentaround the world.reaching militaryisolated from theopposition to thethe Old TestamentAfrican Americansinserted into theseparate from themetropolitan areamakes it possibleacknowledged thatarguably the mosttype="text/css">\nthe InternationalAccording to the pe="text/css" />\ncoincide with thetwo-thirds of theDuring this time,during the periodannounced that hethe internationaland more recentlybelieved that theconsciousness andformerly known assurrounded by thefirst appeared inoccasionally usedposition:absolute;" target="_blank" position:relative;text-align:center;jax/libs/jquery/1.background-color:#type="application/anguage" content="<meta http-equiv="Privacy Policy</a>e("%3Cscript src=\'" target="_blank">On the other hand,.jpg|thumb|right|2</div><div class="<div style="float:nineteenth century</body>\r\n</html>\r\n<img src="http://s;text-align:centerfont-weight: bold; According to the difference between" frameborder="0" " style="position:link href="http://html4/loose.dtd">\nduring this period</td></tr></table>closely related tofor the first time;font-weight:bold;input type="text" <span style="font-onreadystatechange\t<div class="cleardocument.location. For example, the a wide variety of <!DOCTYPE html>\r\n< "><a href="http://style="float:left;concerned with the=http%3A%2F%2Fwww.in popular culturetype="text/css" />it is possible to Harvard Universitytylesheet" href="/the main characterOxford University name="keywords" cstyle="text-align:the United Kingdomfederal government<div style="margin depending on the description of the<div class="header.min.js"><\/script>destruction of theslightly differentin accordance withtelecommunicationsindicates that theshortly thereafterespecially in the European countriesHowever, there aresrc="http://staticsuggested that the" src="http://www.a large number of Telecommunications" rel="nofollow" tHoly Roman Emperoralmost exclusively" border="0" alt="Secretary of Stateculminating in theCIA World Factbookthe most importantanniversary of thestyle="background-<li><em><a href="/the Atlantic Oceanstrictly speaking,shortly before thedifferent types ofthe Ottoman Empire><img src="http://An Introduction toconsequence of thedeparture from theConfederate Statesindigenous peoplesProceedings of theinformation on thetheories have beeninvolvement in thedivided into threeadjacent countriesis responsible fordissolution of thecollaboration withwidely regarded ashis contemporariesfounding member ofDominican Republicgenerally acceptedthe possibility ofare also availableunder constructionrestoration of thethe general publicis almost entirelypasses through thehas been suggestedcomputer and videoGermanic languages according to the different from theshortly afterwardshref="https://www.recent developmentBoard of Directors<div class="search| <a href="http://In particular, theMultiple footnotesor other substancethousands of yearstranslation of the</div>\r\n</div>\r\n\r\n<a href="index.phpwas established inmin.js"><\/script>\nparticipate in thea strong influencestyle="margin-top:represented by thegraduated from theTraditionally, theElement("script");However, since the/div>\n</div>\n<div left; margin-left:protection against0; vertical-align:Unfortunately, thetype="image/x-icon/div>\n<div class=" class="clearfix"><div class="footer\t\t</div>\n\t\t</div>\nthe motion picturePQ\nP;P3P0Q\0QP:P8P1Q\nP;P3P0Q\0QP:P8P$P5P4P5Q\0P0QP8P8P=P5QP:P>P;Q\fP:P>QP>P>P1Q\tP5P=P8P5QP>P>P1Q\tP5P=P8QP?Q\0P>P3Q\0P0P<P<Q\vPQP?Q\0P0P2P8QQ\fP1P5QP?P;P0QP=P>P<P0QP5Q\0P8P0P;Q\vP?P>P7P2P>P;QP5QP?P>QP;P5P4P=P8P5Q\0P0P7P;P8QP=Q\vQP?Q\0P>P4QP:QP8P8P?Q\0P>P3Q\0P0P<P<P0P?P>P;P=P>QQQ\fQP=P0QP>P4P8QQQP8P7P1Q\0P0P=P=P>P5P=P0QP5P;P5P=P8QP8P7P<P5P=P5P=P8QP:P0QP5P3P>Q\0P8P8PP;P5P:QP0P=P4Q\0`$&`%\r`$5`$>`$0`$>`$.`%\b`$(`%`$`$2`$*`%\r`$0`$&`$>`$(`$-`$>`$0`$$`%\0`$/`$`$(`%`$&`%`$6`$9`$?`$(`%\r`$&`%\0`$`$`$!`$?`$/`$>`$&`$?`$2`%\r`$2`%\0`$`$\'`$?`$`$>`$0`$5`%\0`$!`$?`$/`%\v`$`$?`$`%\r`$ `%`$8`$.`$>`$`$>`$0`$`$`$`%\r`$6`$(`$&`%`$(`$?`$/`$>`$*`%\r`$0`$/`%\v`$`$`$(`%`$8`$>`$0`$`$(`$2`$>`$`$(`$*`$>`$0`%\r`$`%\0`$6`$0`%\r`$$`%\v`$`$2`%\v`$`$8`$-`$>`$+`$<`%\r`$2`%\b`$6`$6`$0`%\r`$$`%`$`$*`%\r`$0`$&`%`$6`$*`%\r`$2`%`$/`$0`$`%`$`$&`%\r`$0`$8`%\r`$%`$?`$$`$?`$\t`$$`%\r`$*`$>`$&`$\t`$(`%\r`$9`%`$`$`$?`$`%\r`$ `$>`$/`$>`$$`%\r`$0`$>`$`%\r`$/`$>`$&`$>`$*`%`$0`$>`$(`%`$`%\v`$!`$<`%`$`$`$(`%`$5`$>`$&`$6`%\r`$0`%`$#`%\0`$6`$?`$`%\r`$7`$>`$8`$0`$`$>`$0`%\0`$8`$`$`%\r`$0`$9`$*`$0`$?`$#`$>`$.`$,`%\r`$0`$>`$`$!`$,`$`%\r`$`%\v`$`$\t`$*`$2`$,`%\r`$\'`$.`$`$$`%\r`$0`%\0`$8`$`$*`$0`%\r`$`$\t`$.`%\r`$.`%\0`$&`$.`$>`$\'`%\r`$/`$.`$8`$9`$>`$/`$$`$>`$6`$,`%\r`$&`%\v`$`$.`%\0`$!`$?`$/`$>`$`$\b`$*`%\0`$`$2`$.`%\v`$,`$>`$`$2`$8`$`$`%\r`$/`$>`$`$*`$0`%`$6`$(`$`$(`%`$,`$`$\'`$,`$>`$`$<`$>`$0`$(`$5`%\0`$(`$$`$.`$*`%\r`$0`$.`%`$`$*`%\r`$0`$6`%\r`$(`$*`$0`$?`$5`$>`$0`$(`%`$`$8`$>`$(`$8`$.`$0`%\r`$%`$(`$`$/`%\v`$`$?`$$`$8`%\v`$.`$5`$>`$0X\'YYX4X\'X1YX\'X*X\'YYYX*X/Y\nX\'X*X\'YYYX(Y\nY\bX*X1X\'YYX4X\'YX/X\'X*X9X/X/X\'YX2Y\bX\'X1X9X/X/X\'YX1X/Y\bX/X\'YX%X3YX\'YY\nX)X\'YYY\bX*Y\bX4Y\bX(X\'YYX3X\'X(YX\'X*X\'YYX9YY\bYX\'X*X\'YYX3YX3YX\'X*X\'YX,X1X\'YY\nYX3X\'YX\'X3YX\'YY\nX)X\'YX\'X*X5X\'YX\'X*keywords" content="w3.org/1999/xhtml"><a target="_blank" text/html; charset=" target="_blank"><table cellpadding="autocomplete="off" text-align: center;to last version by background-color: #" href="http://www./div></div><div id=<a href="#" class=""><img src="http://cript" src="http://\n<script language="//EN" "http://www.wencodeURIComponent(" href="javascript:<div class="contentdocument.write(\'<scposition: absolute;script src="http:// style="margin-top:.min.js"><\/script>\n</div>\n<div class="w3.org/1999/xhtml" \n\r\n</body>\r\n</html>distinction between/" target="_blank"><link href="http://encoding="utf-8"?>\nw.addEventListener?action="http://www.icon" href="http:// style="background:type="text/css" />\nmeta property="og:t<input type="text" style="text-align:the development of tylesheet" type="tehtml; charset=utf-8is considered to betable width="100%" In addition to the contributed to the differences betweendevelopment of the It is important to <\/script>\n\n<script style="font-size:1></span><span id=gbLibrary of Congress<img src="http://imEnglish translationAcademy of Sciencesdiv style="display:construction of the.getElementById(id)in conjunction withElement(\'script\'); <meta property="og:PQ\nP;P3P0Q\0QP:P8\n type="text" name=">Privacy Policy</a>administered by theenableSingleRequeststyle="margin:</div></div></div><><img src="http://i style="float:referred to as the total population ofin Washington, D.C. style="background-among other things,organization of theparticipated in thethe introduction ofidentified with thefictional character Oxford University misunderstanding ofThere are, however,stylesheet" href="/Columbia Universityexpanded to includeusually referred toindicating that thehave suggested thataffiliated with thecorrelation betweennumber of different></td></tr></table>Republic of Ireland\n<\/script>\n<script under the influencecontribution to theOfficial website ofheadquarters of thecentered around theimplications of thehave been developedFederal Republic ofbecame increasinglycontinuation of theNote, however, thatsimilar to that of capabilities of theaccordance with theparticipants in thefurther developmentunder the directionis often consideredhis younger brother</td></tr></table><a http-equiv="X-UA-physical propertiesof British Columbiahas been criticized(with the exceptionquestions about thepassing through the0" cellpadding="0" thousands of peopleredirects here. Forhave children under%3E%3C/script%3E"));<a href="http://www.<li><a href="http://site_name" content="text-decoration:nonestyle="display: none<meta http-equiv="X-new Date().getTime() type="image/x-icon"</span><span class="language="javascriptwindow.location.href<a href="javascript:--\x3e\r\n<script type="t<a href=\'http://www.hortcut icon" href="</div>\r\n<div class="<script src="http://" rel="stylesheet" t</div>\n<script type=/a> <a href="http:// allowTransparency="X-UA-Compatible" conrelationship between\n<\/script>\r\n<script </a></li></ul></div>associated with the programming language</a><a href="http://</a></li><li class="form action="http://<div style="display:type="text" name="q"<table width="100%" background-position:" border="0" width="rel="shortcut icon" h6><ul><li><a href=" <meta http-equiv="css" media="screen" responsible for the " type="application/" style="background-html; charset=utf-8" allowtransparency="stylesheet" type="te\r\n<meta http-equiv="></span><span class="0" cellspacing="0">;\n<\/script>\n<script sometimes called thedoes not necessarilyFor more informationat the beginning of <!DOCTYPE html><htmlparticularly in the type="hidden" name="javascript:void(0);"effectiveness of the autocomplete="off" generally considered><input type="text" "><\/script>\r\n<scriptthroughout the worldcommon misconceptionassociation with the</div>\n</div>\n<div cduring his lifetime,corresponding to thetype="image/x-icon" an increasing numberdiplomatic relationsare often consideredmeta charset="utf-8" <input type="text" examples include the"><img src="http://iparticipation in thethe establishment of\n</div>\n<div class="&nbsp;&nbsp;to determine whetherquite different frommarked the beginningdistance between thecontributions to theconflict between thewidely considered towas one of the firstwith varying degreeshave speculated that(document.getElementparticipating in theoriginally developedeta charset="utf-8"> type="text/css" />\ninterchangeably withmore closely relatedsocial and politicalthat would otherwiseperpendicular to thestyle type="text/csstype="submit" name="families residing indeveloping countriescomputer programmingeconomic developmentdetermination of thefor more informationon several occasionsportuguC*s (Europeu)P#P:Q\0P0QP=QQ\fP:P0QP:Q\0P0QP=QQ\fP:P0P P>QQP8P9QP:P>P9P<P0QP5Q\0P8P0P;P>P2P8P=QP>Q\0P<P0QP8P8QP?Q\0P0P2P;P5P=P8QP=P5P>P1QP>P4P8P<P>P8P=QP>Q\0P<P0QP8QPP=QP>Q\0P<P0QP8QP P5QP?QP1P;P8P:P8P:P>P;P8QP5QQP2P>P8P=QP>Q\0P<P0QP8QQP5Q\0Q\0P8QP>Q\0P8P8P4P>QQP0QP>QP=P>X\'YYX*Y\bX\'X,X/Y\bYX\'YX\'X4X*X1X\'YX\'X*X\'YX\'YX*X1X\'X-X\'X*html; charset=UTF-8" setTimeout(function()display:inline-block;<input type="submit" type = \'text/javascri<img src="http://www." "http://www.w3.org/shortcut icon" href="" autocomplete="off" </a></div><div class=</a></li>\n<li class="css" type="text/css" <form action="http://xt/css" href="http://link rel="alternate" \r\n<script type="text/ onclick="javascript:(new Date).getTime()}height="1" width="1" People\'s Republic of <a href="http://www.text-decoration:underthe beginning of the </div>\n</div>\n</div>\nestablishment of the </div></div></div></d#viewport{min-height:\n<script src="http://option><option value=often referred to as /option>\n<option valu<!DOCTYPE html>\n\x3c!--[International Airport>\n<a href="http://www</a><a href="http://w`8 `82`8)`82`9`8`8"a%aa aa#aaf-#i+d8-f (g9i+)`$(`$?`$0`%\r`$&`%`$6`$!`$>`$\t`$(`$2`%\v`$!`$`%\r`$7`%`$$`%\r`$0`$`$>`$(`$`$>`$0`%\0`$8`$`$,`$`$\'`$?`$$`$8`%\r`$%`$>`$*`$(`$>`$8`%\r`$5`%\0`$`$>`$0`$8`$`$8`%\r`$`$0`$#`$8`$>`$.`$`%\r`$0`%\0`$`$?`$`%\r`$ `%\v`$`$5`$?`$`%\r`$`$>`$(`$`$.`%`$0`$?`$`$>`$5`$?`$-`$?`$(`%\r`$(`$`$>`$!`$?`$/`$>`$`$`%\r`$/`%\v`$`$`$?`$8`%`$0`$`%\r`$7`$>`$*`$9`%`$`$`$$`%\0`$*`%\r`$0`$,`$`$\'`$(`$`$?`$*`%\r`$*`$#`%\0`$`%\r`$0`$?`$`%`$`$*`%\r`$0`$>`$0`$`$-`$*`%\r`$0`$>`$*`%\r`$$`$.`$>`$2`$?`$`%\v`$`$0`$+`$<`%\r`$$`$>`$0`$(`$?`$0`%\r`$.`$>`$#`$2`$?`$.`$?`$`%`$!description" content="document.location.prot.getElementsByTagName(<!DOCTYPE html>\n<html <meta charset="utf-8">:url" content="http://.css" rel="stylesheet"style type="text/css">type="text/css" href="w3.org/1999/xhtml" xmltype="text/javascript" method="get" action="link rel="stylesheet" = document.getElementtype="image/x-icon" />cellpadding="0" cellsp.css" type="text/css" </a></li><li><a href="" width="1" height="1""><a href="http://www.style="display:none;">alternate" type="appli-//W3C//DTD XHTML 1.0 ellspacing="0" cellpad type="hidden" value="/a> <span role="s\n<input type="hidden" language="JavaScript" document.getElementsBg="0" cellspacing="0" ype="text/css" media="type=\'text/javascript\'with the exception of ype="text/css" rel="st height="1" width="1" =\'+encodeURIComponent(<link rel="alternate" \nbody, tr, input, textmeta name="robots" conmethod="post" action=">\n<a href="http://www.css" rel="stylesheet" </div></div><div classlanguage="javascript">aria-hidden="true">B7<ript" type="text/javasl=0;})();\n(function(){background-image: url(/a></li><li><a href="h\t\t<li><a href="http://ator" aria-hidden="tru> <a href="http://www.language="javascript" /option>\n<option value/div></div><div class=rator" aria-hidden="tre=(new Date).getTime()portuguC*s (do Brasil)P>Q\0P3P0P=P8P7P0QP8P8P2P>P7P<P>P6P=P>QQQ\fP>P1Q\0P0P7P>P2P0P=P8QQ\0P5P3P8QQQ\0P0QP8P8P2P>P7P<P>P6P=P>QQP8P>P1QP7P0QP5P;Q\fP=P0<!DOCTYPE html PUBLIC "nt-Type" content="text/<meta http-equiv="Conteransitional//EN" "http:<html xmlns="http://www-//W3C//DTD XHTML 1.0 TDTD/xhtml1-transitional//www.w3.org/TR/xhtml1/pe = \'text/javascript\';<meta name="descriptionparentNode.insertBefore<input type="hidden" najs" type="text/javascri(document).ready(functiscript type="text/javasimage" content="http://UA-Compatible" content=tml; charset=utf-8" />\nlink rel="shortcut icon<link rel="stylesheet" <\/script>\n<script type== document.createElemen<a target="_blank" href= document.getElementsBinput type="text" name=a.type = \'text/javascrinput type="hidden" namehtml; charset=utf-8" />dtd">\n<html xmlns="http-//W3C//DTD HTML 4.01 TentsByTagName(\'script\')input type="hidden" nam<script type="text/javas" style="display:none;">document.getElementById(=document.createElement(\' type=\'text/javascript\'input type="text" name="d.getElementsByTagName(snical" href="http://www.C//DTD HTML 4.01 Transit<style type="text/css">\n\n<style type="text/css">ional.dtd">\n<html xmlns=http-equiv="Content-Typeding="0" cellspacing="0"html; charset=utf-8" />\n style="display:none;"><<li><a href="http://www. type=\'text/javascript\'>P4P5QQP5P;Q\fP=P>QQP8QP>P>QP2P5QQQP2P8P8P?Q\0P>P8P7P2P>P4QQP2P0P1P5P7P>P?P0QP=P>QQP8`$*`%`$8`%\r`$$`$?`$`$>`$`$>`$`$`%\r`$0`%`$8`$\t`$(`%\r`$9`%\v`$`$(`%`$5`$?`$\'`$>`$(`$8`$-`$>`$+`$?`$`%\r`$8`$?`$`$`$8`%`$0`$`%\r`$7`$?`$$`$`%\t`$*`%\0`$0`$>`$`$`$5`$?`$`%\r`$`$>`$*`$(`$`$>`$0`%\r`$0`$5`$>`$\b`$8`$`%\r`$0`$?`$/`$$`$>',"۷%ƌ'T%
'W%×%O%g%¦&Ɠ%ǥ&>&*&'&^&Ÿా&ƭ&ƒ&)&^&%&'&&P&1&±&3&]&m&u&E&t&C&Ï&V&V&/&>&6&ྲྀo&p&@&E&M&P&x&@&F&e&Ì&7&:&(&D&0&C&)&.&F&-&1&(&L&F&1ɞ*Ϫ⇳&፲&K&;&)&E&H&P&0&?&9&V&&-&v&a&,&E&)&?&=&'&'&B&മ&ԃ&̖*&*8&%&%&&&%,)&&>&&7&]&F&2&>&J&6&n&2&%&?&&2&6&J&g&-&0&,&*&J&*&O&)&6&(&<&B&N&.&P&@&2&.&W&M&%Լ(,(<&,&Ϛ&ᣇ&-&,(%&(&%&(Ļ0&X&D&&j&'&J&(&.&B&3&Z&R&h&3&E&E&<Æ-͠ỳ&%8?&@&,&Z&@&0&J&,&^&x&_&6&C&6&Cܬ⨥&f&-&-&-&-&,&J&2&8&z&8&C&Y&8&-&d&ṸÌ-&7&1&F&7&t&W&7&I&.&.&^&=ྜ᧓&8(>&/&/&ݻ')'ၥ')'%@/&0&%оী*&*@&CԽהɴ4ܚӑ6&/Ÿ̃Z&*%ɆϿ&Ĵ&1¨ҴŴ");flipBuffer(dictionary);DICTIONARY_DATA=dictionary}function min(a,b){return a<=b?a:b}function readInput(src,dst,offset,length){if(src==null)return-1;var end=min(src.offset+length,src.data.length);var bytesRead=end-src.offset;dst.set(src.data.subarray(src.offset,end),offset);src.offset+=bytesRead;return bytesRead}function closeInput(src){return 0}function flipBuffer(buffer){}function toUsAsciiBytes(src){var n=src.length;var result=new Int8Array(n);for(var i=0;i<n;++i){result[i]=src.charCodeAt(i)}return result}function decode(bytes){var s=new State;initState(s,new InputStream(bytes));var totalOutput=0;var chunks=[];while(true){var chunk=new Int8Array(16384);chunks.push(chunk);s.output=chunk;s.outputOffset=0;s.outputLength=16384;s.outputUsed=0;decompress(s);totalOutput+=s.outputUsed;if(s.outputUsed<16384)break}close(s);var result=new Int8Array(totalOutput);var offset=0;for(var i=0;i<chunks.length;++i){var chunk=chunks[i];var end=min(totalOutput,offset+16384);var len=end-offset;if(len<16384){result.set(chunk.subarray(0,len),offset)}else{result.set(chunk,offset)}offset+=len}return result}return decode}var BrotliDecode=BrotliDecodeClosure();Module["BrotliDecode"]=BrotliDecode;var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var arguments_=[];var thisProgram="./this.program";var quit_=function(status,toThrow){throw toThrow};var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof process.versions==="object"&&typeof process.versions.node==="string";ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;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(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=function(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=function(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}readAsync=function(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var STACK_ALIGN=16;function alignMemory(size,factor){if(!factor)factor=STACK_ALIGN;return Math.ceil(size/factor)*factor}function warnOnce(text){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[text]){warnOnce.shown[text]=1;err(text)}}var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};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(Oa){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 ArrayBuffer(16);var g=new Int32Array(f);var h=new Float32Array(f);var i=new Float64Array(f);function j(k){return g[k]}function l(k,m){g[k]=m}function n(){return i[0]}function o(m){i[0]=m}function p(){return h[2]}function q(m){h[2]=m}function Ma(Na){var r=Na.a;var s=r.buffer;r.grow=Ka;var t=new Int8Array(s);var u=new Int16Array(s);var v=new Int32Array(s);var w=new Uint8Array(s);var x=new Uint16Array(s);var y=new Uint32Array(s);var z=new Float32Array(s);var A=new Float64Array(s);var B=Math.imul;var C=Math.fround;var D=Math.abs;var E=Math.clz32;var F=Math.min;var G=Math.max;var H=Math.floor;var I=Math.ceil;var J=Math.trunc;var K=Math.sqrt;var L=Na.abort;var M=NaN;var N=Infinity;var O=Na.b;var P=Na.c;var Q=Na.d;var R=Na.e;var S=Na.f;var T=Na.g;var U=Na.h;var V=Na.i;var W=Na.j;var X=Na.k;var Y=Na.l;var Z=Na.m;var _=Na.n;var $=Na.o;var aa=Na.p;var ba=Na.q;var ca=Na.r;var da=Na.s;var ea=Na.t;var fa=Na.u;var ga=Na.v;var ha=Na.w;var ia=Na.x;var ja=Na.y;var ka=Na.z;var la=Na.A;var ma=Na.B;var na=Na.C;var oa=Na.D;var pa=Na.E;var qa=Na.F;var ra=Na.G;var sa=Na.H;var ta=Na.I;var ua=Na.J;var va=Na.K;var wa=Na.L;var xa=Na.M;var ya=Na.N;var za=Na.O;var Aa=Na.P;var Ba=Na.Q;var Ca=5901136;var Da=0;
|
||
// EMSCRIPTEN_START_FUNCS
|
||
function IP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,E=0,F=0,G=0,I=C(0),J=0,K=0,M=0,N=C(0),P=0,Q=0,R=0,S=0,T=0,U=C(0),V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;a:{e=v[b+140>>2];b:{if(e){break b}while(1){j=v[b>>2];if(!j){e=280448;break b}K=Ca-48|0;Ca=K;e=eb(1,8);if(e){x=K;v[x+16>>2]=0;v[x+20>>2]=0;t[x+21|0]=0;t[x+22|0]=0;t[x+23|0]=0;t[x+24|0]=0;t[x+25|0]=0;t[x+26|0]=0;t[x+27|0]=0;t[x+28|0]=0;v[x+32>>2]=0;v[x+36>>2]=0;v[x+8>>2]=0;v[x+12>>2]=0;g=Nb(j);t[x+44|0]=1;v[x+40>>2]=g;h=e;g=Jb(j,1935829368);p=0;P=Ca-16|0;Ca=P;x=x+8|0;i=Hb(g);v[x+28>>2]=i;c:{d:{e:{f:{g:{h:{while(1){t[x+20|0]=p;p=v[i+12>>2];v[x+4>>2]=p;o=v[i+16>>2];v[x+8>>2]=o+p;if((o|0)<=-1){break a}v[x+24>>2]=0;M=x;if(o>>>0>67108862){f=1073741823}else{f=o<<6;f=f>>>0>16384?f:16384;f=f>>>0<1073741823?f:1073741823}v[M+12>>2]=f;v[x>>2]=0;if(!p){Sa(i);v[x+28>>2]=0;v[x+4>>2]=0;v[x+8>>2]=0;break d}if(o>>>0<=7){break g}v[x+12>>2]=f-8;if(!(w[p+1|0]|w[p|0]<<8)){break g}v[P+8>>2]=p;i:{f=p+4|0;if(sx(f,x,P+8|0)){if(!v[x+24>>2]){break i}v[x+24>>2]=0;if(p>>>0<y[x+4>>2]){break g}J=v[x+8>>2];if(J>>>0<p>>>0|J-p>>>0<=7){break g}J=v[x+12>>2]-8|0;v[x+12>>2]=J;if(!(w[p+1|0]|w[p|0]<<8)|(J|0)<1){break g}v[P+12>>2]=p;f=sx(f,x,P+12|0);i=v[x+28>>2];if(v[x+24>>2]){break f}Sa(i);v[x+28>>2]=0;v[x+4>>2]=0;v[x+8>>2]=0;if(f){break h}break e}if(w[x+20|0]|!v[x+24>>2]){break g}f=xc(g);v[x+4>>2]=f;v[x+8>>2]=f+v[g+16>>2];i=v[x+28>>2];p=1;if(f){continue}break f}break}Sa(v[x+28>>2]);v[x+28>>2]=0;v[x+4>>2]=0;v[x+8>>2]=0}if(v[g+4>>2]){v[g+4>>2]=0}break d}i=v[x+28>>2]}Sa(i);v[x+28>>2]=0;v[x+4>>2]=0;v[x+8>>2]=0}Sa(g);g=280448}Ca=P+16|0;break c}v[h>>2]=g;g=e;x=v[j+32>>2];if((x|0)==-1){x=Xc(j)}v[g+4>>2]=x}Ca=K+48|0;x=e?e:280448;e=v[b+140>>2];if(!e){v[b+140>>2]=x;e=x;break b}if((x|0)!=280448){e=v[x>>2];Sa(e?e:280448);Pa(x);e=v[b+140>>2]}if(!e){continue}break}}P=1;J=a;K=c;h=Ca-16|0;Ca=h;a=v[e>>2];a=a?a:280448;a=y[a+16>>2]<8?280448:v[a+12>>2];if(w[a|0]<<8|w[a+1|0]){v[h+12>>2]=0;v[h+8>>2]=0;v[h+4>>2]=0;a=K;p=v[e>>2];s=v[e+4>>2];c=v[e>>2];c=c?c:280448;f=y[c+16>>2]<8?280448:v[c+12>>2];c=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(i){g=0;if((i|0)!=1){c=v[J+52>>2];e=v[J+48>>2];c=c>>>0>e>>>0?c:e;j=c?c:1073741824;c=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+f|0:280448;e=w[c|0]<<8|w[c+1|0];c=1;while(1){x=c>>>0<i>>>0?(f+(c<<2)|0)+8|0:280448;x=w[x|0]|w[x+1|0]<<8|(w[x+2|0]<<16|w[x+3|0]<<24);x=x<<24|x<<8&16711680|(x>>>8&65280|x>>>24);x=x?x+f|0:280448;x=w[x|0]<<8|w[x+1|0];if(e>>>0>=j>>>0|e>>>0>=x>>>0?e>>>0>x>>>0?x>>>0>=j>>>0:0:1){g=c;e=x}c=c+1|0;if((i|0)!=(c|0)){continue}break}}c=g>>>0<i>>>0?(f+(g<<2)|0)+8|0:280448;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=c?c+f|0:280448}else{e=280448}c=280448;j:{E=w[e+1|0]|w[e|0]<<8;if(!E){break j}f=h+12|0;i=h+8|0;j=h+4|0;c=v[p+16>>2];o=e-v[p+12>>2]|0;if(c>>>0>o>>>0){F=c-o|0;m=e+4|0;c=8;k:{while(1){x=c;l:{m:{if(a>>>0>=s>>>0){break m}c=a+1|0;c=(c|0)<0?280448:m+(c<<2)|0;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a=(a|0)<0?280448:m+(a<<2)|0;a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(c>>>0<=g>>>0){break m}a=c-g|0;if(a>>>0<9){break m}if(c>>>0<=F>>>0){break l}}c=280448;break j}q=a-8|0;a=g?e+g|0:280448;c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);G=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((G|0)!=1685418085){break k}if(q>>>0>=2){a=w[a+9|0]|w[a+8|0]<<8;c=x-1|0;if(x){continue}}break}c=280448;break j}c=280448;if((G|0)!=1886283552){break j}if(j){v[j>>2]=E}if(f){c=w[a|0]|w[a+1|0]<<8;v[f>>2]=(c<<8|c>>>8)<<16>>16}if(i){a=w[a+2|0]|w[a+3|0]<<8;v[i>>2]=(a<<8|a>>>8)<<16>>16}c=Sp(p,(g+o|0)+8|0,q);break j}O(248855,248880,106,248908);L()}x=c;a=v[c+12>>2];c=v[c+16>>2];i=v[h+12>>2];v[d>>2]=i;c=c>>>0<29?280448:a;a=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);a=v[h+8>>2]+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;v[d+4>>2]=a;e=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);v[d+8>>2]=e;c=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);g=0-(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;v[d+12>>2]=g;f=d;c=v[h+4>>2];n:{if(c){g=v[J+16>>2];a=v[g+28>>2];o:{if(a){e=a;break o}e=Fb(g);i=v[d>>2];g=v[J+16>>2];a=v[g+28>>2];c=v[h+4>>2]}I=C(C(e>>>0)/C(c>>>0));N=C(I*C(i|0));i=v[J+20>>2];p:{if(a){c=a;break p}c=Fb(g);g=v[J+16>>2];a=v[g+28>>2]}e=d;N=C(H(C(C(C(N*C(i|0))/C(c>>>0))+C(.5))));q:{if(C(D(N))<C(2147483648)){c=~~N;break q}c=-2147483648}v[e>>2]=c;N=C(I*C(v[d+4>>2]));i=v[J+24>>2];r:{if(a){c=a;break r}c=Fb(g);g=v[J+16>>2];a=v[g+28>>2]}e=d;N=C(H(C(C(C(N*C(i|0))/C(c>>>0))+C(.5))));s:{if(C(D(N))<C(2147483648)){c=~~N;break s}c=-2147483648}v[e+4>>2]=c;N=C(I*C(v[d+8>>2]));i=v[J+20>>2];t:{if(a){c=a;break t}c=Fb(g);g=v[J+16>>2];a=v[g+28>>2]}e=d;N=C(H(C(C(C(N*C(i|0))/C(c>>>0))+C(.5))));u:{if(C(D(N))<C(2147483648)){c=~~N;break u}c=-2147483648}v[e+8>>2]=c;I=C(C(I*C(v[d+12>>2]))*C(v[J+24>>2]));if(!a){a=Fb(g)}I=C(H(C(C(I/C(a>>>0))+C(.5))));if(C(D(I))<C(2147483648)){a=~~I;break n}a=-2147483648;break n}c=v[J+36>>2];o=c;m=v[J+32>>2];c=i<<16;i=c>>31;c=eQ(m,o,c>>16,i);v[d>>2]=(Da&65535)<<16|c>>>16;p=v[J+40>>2];j=v[J+44>>2];c=e<<16;i=c>>31;c=eQ(m,o,c>>16,i);v[d+8>>2]=(Da&65535)<<16|c>>>16;c=a<<16;i=c>>31;a=eQ(p,j,c>>16,i);v[d+4>>2]=(Da&65535)<<16|a>>>16;c=g<<16;i=c>>31;a=eQ(p,j,c>>16,i);a=(Da&65535)<<16|a>>>16}v[f+12>>2]=a;Sa(x);a=v[h+4>>2]!=0}else{a=0}Ca=h+16|0;v:{if(a){break v}if(Bx(Uh(b+48|0),J,K,d)){break v}a=Fn(b+52|0);x=d;h=Ca-32|0;Ca=h;i=Hn(a,K,h,0);w:{if(!i){break w}u=A[h+16>>3];k=A[h>>3];x:{if(!(u>k)){v[x>>2]=0;v[x+8>>2]=0;break x}g=v[J+20>>2];I=C(k);d=v[J+16>>2];a=v[d+28>>2];y:{if(a){c=a;e=g;break y}c=Fb(d);d=v[J+16>>2];a=v[d+28>>2];e=v[J+20>>2]}f=x;I=C(H(C(C(C(I*C(g|0))/C(c>>>0))+C(.5))));z:{if(C(D(I))<C(2147483648)){c=~~I;break z}c=-2147483648}v[f>>2]=c;if(!a){a=Fb(d);c=v[x>>2]}d=x;I=C(H(C(C(C(C(u)*C(e|0))/C(a>>>0))+C(.5))));A:{if(C(D(I))<C(2147483648)){a=~~I;break A}a=-2147483648}v[d+8>>2]=a-c}u=A[h+24>>3];k=A[h+8>>3];if(!(u>k)){v[x+4>>2]=0;v[x+12>>2]=0;break w}g=v[J+24>>2];I=C(u);d=v[J+16>>2];a=v[d+28>>2];B:{if(a){c=a;e=g;break B}c=Fb(d);d=v[J+16>>2];a=v[d+28>>2];e=v[J+24>>2]}f=x;I=C(H(C(C(C(I*C(g|0))/C(c>>>0))+C(.5))));C:{if(C(D(I))<C(2147483648)){c=~~I;break C}c=-2147483648}v[f+4>>2]=c;if(!a){a=Fb(d);c=v[x+4>>2]}d=x;I=C(H(C(C(C(C(k)*C(e|0))/C(a>>>0))+C(.5))));D:{if(C(D(I))<C(2147483648)){a=~~I;break D}a=-2147483648}v[d+12>>2]=a-c}Ca=h+32|0;if(i){break v}e=v[b+56>>2];E:{if(e){break E}e=0;while(1){c=v[b>>2];if(!c){e=280448;break E}a=eb(1,128);F:{if(!a){if(e){break F}e=280448;v[b+56>>2]=280448;break E}m=0;q=Ca-112|0;Ca=q;e=a;v[a+44>>2]=0;v[a+48>>2]=0;v[a+100>>2]=0;v[a+104>>2]=0;v[a+68>>2]=0;v[a+72>>2]=0;v[a+60>>2]=0;v[a+64>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+108>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;v[a+120>>2]=0;if(!w[a+40|0]){a=Nb(c);t[e+40|0]=1;v[e+36>>2]=a}a=Jb(c,1128678962);h=Hb(a);g=e;E=g+4|0;c=E;t[c+20|0]=0;v[c+28>>2]=h;p=v[h+12>>2];v[c+4>>2]=p;i=v[h+16>>2];v[c+8>>2]=i+p;G:{if((i|0)>-1){v[c+24>>2]=0;f=c;if(i>>>0>67108862){d=1073741823}else{d=i<<6;d=d>>>0>16384?d:16384;d=d>>>0<1073741823?d:1073741823}v[f+12>>2]=d;v[c>>2]=0;if(!p){Sa(h);v[c+28>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;break G}H:{if(i>>>0>=5){v[c+12>>2]=d-5;d=w[p|0];Sa(h);v[c+28>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;if((d|0)!=2){break H}if(v[a+4>>2]){v[a+4>>2]=0}break G}Sa(h);v[c+28>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0}Sa(a);a=280448;break G}break a}v[g>>2]=a;a=Hb(a);t[e+24|0]=0;v[e+32>>2]=a;g=v[a+12>>2];v[e+8>>2]=g;a=v[a+16>>2];f=a+g|0;v[e+12>>2]=f;I:{J:{if((a|0)>-1){v[e+4>>2]=0;v[e+28>>2]=0;c=e;if(a>>>0>67108862){a=1073741823}else{a=a<<6;a=a>>>0>16384?a:16384;a=a>>>0<1073741823?a:1073741823}v[c+16>>2]=a;K:{c=v[e>>2];if(y[c+16>>2]>=5){F=v[c+12>>2];if((F|0)!=280448){break K}}Xd(e);break I}d=F+w[F+2|0]|0;L:{c=w[F+4|0]|w[F+3|0]<<8;if(!c){break L}if(!(d>>>0<g>>>0|d>>>0>f>>>0|f-d>>>0<c>>>0)){a=a-c|0;v[e+16>>2]=a;if((a|0)>0){break L}}Xd(e);break I}g=e+44|0;v[q+32>>2]=0;v[q+36>>2]=0;v[q+40>>2]=0;v[q+44>>2]=0;t[q+28|0]=0;v[q+12>>2]=c;v[q+8>>2]=d;a=Va(4744);t[q+24|0]=0;v[q+16>>2]=0;v[q+20>>2]=0;M:{if(!a){v[q+36>>2]=-1;break M}v[q+36>>2]=593;v[q+40>>2]=513;v[q+44>>2]=a;Ra(a,0,4104)}a=0;t[q+48|0]=0;d=g;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;N:{if(c){f=w[280448];i=f|256;h=1;while(1){O:{P:{if(a>>>0<c>>>0){p=v[q+8>>2];d=w[p+a|0];if((d|0)==12){a=i;if(c>>>0<=h>>>0){break P}d=w[h+p|0]|256;a=h}if(a>>>0>=c>>>0){a=d;break P}v[q+20>>2]=a+1;break O}t[q+24|0]=1;d=65535;a=f;if((a|0)==12){break O}}t[q+24|0]=1;v[q+20>>2]=c;d=a}p=q+8|0;Q:{R:{S:{T:{U:{if((d|0)!=24){if((d|0)==293){break U}if((d|0)!=263){break S}Jj(g,263,p);c=p+24|0;break T}h=g;c=p+24|0;a=v[c>>2];V:{if(a){a=a-1|0;if(a>>>0>=y[p+32>>2]){a=v[70113];j=v[70112];v[163916]=j;v[163917]=a;l(0,j|0);l(1,a|0);u=+n();break V}u=A[v[p+36>>2]+(a<<3)>>3];break V}t[p+20|0]=1;a=v[70113];j=v[70112];v[163916]=j;v[163917]=a;l(0,j|0);l(1,a|0);u=+n()}W:{if(D(u)<2147483648){a=~~u;break W}a=-2147483648}if((a|0)<=-1){t[p+20|0]=1;a=0}v[h+24>>2]=a;break T}h=g;c=p+24|0;a=v[c>>2];X:{if(a){a=a-1|0;if(a>>>0>=y[p+32>>2]){a=v[70113];j=v[70112];v[163916]=j;v[163917]=a;l(0,j|0);l(1,a|0);u=+n();break X}u=A[v[p+36>>2]+(a<<3)>>3];break X}t[p+20|0]=1;a=v[70113];j=v[70112];v[163916]=j;v[163917]=a;l(0,j|0);l(1,a|0);u=+n()}Y:{if(D(u)<2147483648){a=~~u;break Y}a=-2147483648}if((a|0)<=-1){t[p+20|0]=1;a=0}v[h+28>>2]=a}v[c>>2]=0;break R}mx(d,p,g);if(v[p+24>>2]){break Q}}if(w[p+40|0]|w[p+16|0]|(w[p+20|0]|v[p+28>>2]<0)){break Q}Jj(g,d,p)}if(w[q+48|0]|w[q+24|0]|(w[q+28|0]|v[q+36>>2]<0)){break N}c=v[q+12>>2];a=v[q+20>>2];h=a+1|0;if(c>>>0>=h>>>0){continue}break}}Pa(v[q+44>>2]);d=w[F+2|0];g=w[F+4|0];f=w[F+3|0];a=v[e+68>>2];c=a?a+F|0:280448;v[e+80>>2]=c;a=v[e+60>>2];a=a?a+F|0:280448;v[e+84>>2]=a;h=v[e- -64>>2];v[e+88>>2]=h?h+F|0:280448;h=v[e+72>>2];v[e+92>>2]=h?h+F|0:280448;v[e+76>>2]=F+(d+(g|f<<8)|0);if((c|0)!=280448){h=0;f=Ca-16|0;Ca=f;i=v[E+4>>2];Z:{if(i>>>0>c>>>0){break Z}g=v[E+8>>2];if(g>>>0<c>>>0|g-c>>>0<10){break Z}d=v[E+12>>2]-10|0;v[E+12>>2]=d;if((d|0)<1){break Z}a=c+2|0;p=w[c+1|0]|w[c|0]<<8;if(p){if(a>>>0<i>>>0|a>>>0>g>>>0|p>>>0>g-a>>>0){break Z}d=d-p|0;v[E+12>>2]=d;if((d|0)<1){break Z}}if(a>>>0<i>>>0|a>>>0>g>>>0|g-a>>>0<=7){break Z}v[E+12>>2]=d-8;if((w[c+3|0]|w[c+2|0]<<8)!=1|(d|0)<9){break Z}if(!Uj(c+4|0,E,a)){break Z}v[f+12>>2]=a;h=Tj(c+8|0,E,f+12|0)}Ca=f+16|0;if(!h){break J}a=v[e+84>>2]}if((a|0)==280448){break J}if(!Ij(a,E)){break J}a=v[e+76>>2];if((a|0)==280448){break J}if(!Ij(a,E)){break J}a=v[e+88>>2];if((a|0)==280448){break J}if(!Ij(a,E)){break J}a=v[e+92>>2];_:{if((a|0)==280448){break _}g=v[e+8>>2];if(g>>>0>a>>>0){break J}d=v[e+12>>2];if(d>>>0<a>>>0|d-a>>>0<2){break J}c=v[e+88>>2];c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);f=v[e+16>>2];h=f-2|0;v[e+16>>2]=h;if((h|0)<1){break J}c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);$:{switch(w[a|0]){case 0:c=v[e+36>>2];if(!c){break _}i=a+1|0;f=f-3|0;a=0;while(1){p=a+i|0;if(p>>>0<g>>>0|d>>>0<=p>>>0){break J}h=h-1|0;v[e+16>>2]=h;if((a|0)==(f|0)){break J}a=a+1|0;if((c|0)!=(a|0)){continue}break};break _;case 3:if(nx(a+1|0,E,c)){break _}break J;case 4:break $;default:break J}}d=Ca-16|0;Ca=d;v[d+12>>2]=c;aa:{ba:{a=a+1|0;if(a>>>0<y[E+4>>2]){break ba}c=v[E+8>>2];if(c>>>0<a>>>0|c-a>>>0<=3){break ba}c=v[E+12>>2]-4|0;v[E+12>>2]=c;if((c|0)<1){break ba}v[d+8>>2]=0;c=0;i=v[E+4>>2];ca:{if(i>>>0>a>>>0){break ca}g=v[E+8>>2];if(g>>>0<a>>>0|g-a>>>0<4){break ca}h=v[E+12>>2]-4|0;v[E+12>>2]=h;if((h|0)<1){break ca}f=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(f>>>0>715827881){break ca}if(f){M=i;i=a+4|0;if(M>>>0>i>>>0|g>>>0<i>>>0){break ca}i=g-i|0;g=B(f,6);if(i>>>0<g>>>0){break ca}g=h-g|0;v[E+12>>2]=g;if((g|0)<1){break ca}c=1;g=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);i=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if(!i){break ca}p=v[d+12>>2];j=v[E+32>>2];c=0;g=0;while(1){f=a+B(g,6)|0;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);if(j>>>0<=(h<<24|h<<8&16711680|(h>>>8&65280|h>>>24))>>>0|p>>>0<=(w[f+9|0]|w[f+8|0]<<8)>>>0){break ca}g=g+1|0;if((i|0)!=(g|0)){continue}break}}c=1}if(!c){break ba}g=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);if(!g){break ba}c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);if(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)){break ba}c=1;g=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);if(g>>>0>1){while(1){h=a+B(c,6)|0;f=g>>>0>c-1>>>0?h-2|0:280448;f=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);i=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=c>>>0<g>>>0?h+4|0:280448;f=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);if(i>>>0>=(f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))>>>0){break ba}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=(a+B(g,6)|0)+4|0;if(c>>>0<y[E+4>>2]){break ba}g=v[E+8>>2];if(g>>>0<c>>>0|g-c>>>0<4){break ba}c=v[E+12>>2]-4|0;v[E+12>>2]=c;if((c|0)<1){break ba}Ca=d+16|0;c=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);a=c?(a+B(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24),6)|0)-2|0:280448;a=w[a+6|0]|w[a+7|0]<<8|(w[a+8|0]<<16|w[a+9|0]<<24);a=v[E+32>>2]==(a<<8&16711680|a<<24|(a>>>8&65280|a>>>24));break aa}Ca=d+16|0;a=0}if(!a){break J}}a=v[e+84>>2];a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);v[e+124>>2]=a;if((a|0)!=v[e+36>>2]){Xd(e);break I}a=v[e+88>>2];a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);c=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);v[e+96>>2]=c;da:{ea:{a=v[e+112>>2];if((a|0)>=0){c=(c|0)>0?c:0;if(c>>>0<=a>>>0){break da}d=a;while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(!(a>>>0>d>>>0|d>>>0>153391688)){a=gb(v[e+120>>2],B(d,28));if(a){break ea}}v[e+112>>2]=-1}Xd(e);break I}v[e+112>>2]=d;v[e+120>>2]=a}a=v[e+116>>2];if(a>>>0<c>>>0){Ra(v[e+120>>2]+B(a,28)|0,0,B(c-a|0,28))}v[e+116>>2]=c;if(!v[e+96>>2]){break I}p=v[70112];g=p&255;f=g|256;j=v[70114];o=v[70113];while(1){d=p;a=o;c=j;s=v[e+88>>2];h=w[s|0]|w[s+1|0]<<8|(w[s+2|0]<<16|w[s+3|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);if(h>>>0>m>>>0){G=s+4|0;i=w[s+4|0];M=B(i,h+1|0);c=0;h=0;fa:{if(!i){break fa}d=i&3;a=(s+B(i,m)|0)+5|0;if(i-1>>>0>=3){h=i&252;while(1){i=a;a=a+4|0;h=h-4|0;if(h){continue}break}h=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24)}if(!d){break fa}while(1){h=w[a|0]|h<<8;a=a+1|0;d=d-1|0;if(d){continue}break}}d=(G+M|0)+h|0;a=An(s,m)}ga:{ha:{ia:{switch(a+1|0){case 1:break ga;case 0:break ha;default:break ia}}if(y[e+8>>2]>d>>>0){break ha}h=v[e+12>>2];if(h>>>0<d>>>0|h-d>>>0<a>>>0){break ha}h=v[e+16>>2]-a|0;v[e+16>>2]=h;if((h|0)>0){break ga}}Xd(e);break I}t[q+84|0]=0;t[q+80|0]=0;v[q+76>>2]=0;v[q+72>>2]=c;v[q+68>>2]=a;v[q+64>>2]=d;v[q+96>>2]=0;v[q+100>>2]=0;v[q+88>>2]=0;v[q+92>>2]=0;a=Va(4744);ja:{if(!a){v[q+92>>2]=-1;break ja}v[q+92>>2]=593;v[q+96>>2]=513;v[q+100>>2]=a;Ra(a,0,4104)}t[q+104|0]=0;ka:{la:{ma:{na:{a=v[e+100>>2];if((a|0)>=0){c=a;d=v[e+104>>2];h=d+1|0;h=(h|0)>0?h:0;if(a>>>0>=h>>>0){break ma}while(1){c=((c>>>1|0)+c|0)+8|0;if(h>>>0>=c>>>0){continue}break}if(!(a>>>0>c>>>0|c>>>0>153391688)){a=gb(v[e+108>>2],B(c,28));if(a){break na}}v[e+100>>2]=-1}v[163922]=v[70118];a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;break la}v[e+100>>2]=c;v[e+108>>2]=a;d=v[e+104>>2]}if(d>>>0<h>>>0){Ra(v[e+108>>2]+B(d,28)|0,0,B(h-d|0,28))}v[e+104>>2]=h;a=v[e+108>>2];R=v[70118];v[163922]=R;c=v[70117];S=c;X=v[70116];v[163920]=X;v[163921]=c;c=v[70115];V=c;Y=v[70114];v[163918]=Y;v[163919]=c;c=v[70113];_=c;Z=v[70112];v[163916]=Z;v[163917]=c;d=a+B(h-1|0,28)|0;if((d|0)==655664){break la}v[d>>2]=0;v[d+4>>2]=0;v[d+24>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;oa:{if(w[q+80|0]){break oa}while(1){a=v[q+76>>2];h=a+1|0;i=v[q+68>>2];if(h>>>0>i>>>0){break oa}pa:{qa:{if(a>>>0<i>>>0){s=v[q+64>>2];c=w[s+a|0];if((c|0)==12){a=f;if(h>>>0>=i>>>0){break qa}c=w[h+s|0]|256;a=h}if(a>>>0>=i>>>0){a=c;break qa}v[q+76>>2]=a+1;break pa}t[q+80|0]=1;c=65535;a=g;if((p&255)==12){break pa}}t[q+80|0]=1;v[q+76>>2]=i;c=a}s=q- -64|0;ra:{sa:{ta:{ua:{switch(c-18|0){case 0:i=d;a=v[s+24>>2];va:{if(a){h=a-1|0;v[s+24>>2]=h;if(y[s+32>>2]<=h>>>0){a=v[70113];G=v[70112];v[163916]=G;v[163917]=a;l(0,G|0);l(1,a|0);u=+n();break va}u=A[v[s+36>>2]+(h<<3)>>3];break va}t[s+20|0]=1;h=0;a=v[70113];G=v[70112];v[163916]=G;v[163917]=a;l(0,G|0);l(1,a|0);u=+n()}wa:{if(D(u)<2147483648){a=~~u;break wa}a=-2147483648}if((a|0)<=-1){t[s+20|0]=1;a=0}v[i+16>>2]=a;xa:{if(h){a=h-1|0;if(a>>>0>=y[s+32>>2]){a=v[70113];h=v[70112];v[163916]=h;v[163917]=a;l(0,h|0);l(1,a|0);u=+n();break xa}u=A[v[s+36>>2]+(a<<3)>>3];break xa}t[s+20|0]=1;a=v[70113];h=v[70112];v[163916]=h;v[163917]=a;l(0,h|0);l(1,a|0);u=+n()}ya:{if(D(u)<2147483648){a=~~u;break ya}a=-2147483648}if((a|0)<=-1){t[s+20|0]=1;a=0}v[i+20>>2]=a;v[s+24>>2]=0;break sa;case 11:Th(s+20|0,s);break ta;case 12:u=Sh(s);a=v[s+24>>2];if(a>>>0<y[s+32>>2]){v[s+24>>2]=a+1;A[v[s+36>>2]+(a<<3)>>3]=u;break ta}t[s+20|0]=1;a=v[70113];v[163916]=v[70112];v[163917]=a;A[81958]=u;break ta;default:break ua}}Rg(c,s)}if(v[s+24>>2]){break ra}}if(w[s+40|0]|w[s+16|0]|(w[s+20|0]|v[s+28>>2]<0)){break ra}Jj(d,c,s)}if(w[q+84|0]|(w[q+104|0]|w[q+80|0])){break la}if(v[q+92>>2]>-1){continue}break}break la}a=v[d+16>>2];M=a?a+F|0:280448;za:{Aa:{Q=v[d+20>>2];switch(Q+1|0){case 0:break la;case 1:break za;default:break Aa}}if(M>>>0<y[e+8>>2]){break la}a=v[e+12>>2];if(a>>>0<M>>>0|Q>>>0>a-M>>>0){break la}a=v[e+16>>2]-Q|0;v[e+16>>2]=a;if((a|0)<=0){break la}}t[q+28|0]=0;v[q+12>>2]=Q;v[q+8>>2]=M;v[q+40>>2]=0;v[q+44>>2]=0;v[q+32>>2]=0;v[q+36>>2]=0;a=Va(4744);t[q+24|0]=0;v[q+16>>2]=0;v[q+20>>2]=0;Ba:{if(!a){v[q+36>>2]=-1;break Ba}v[q+36>>2]=593;v[q+40>>2]=513;v[q+44>>2]=a;Ra(a,0,4104)}t[q+56|0]=0;v[q+52>>2]=0;t[q+48|0]=0;Ca:{if(y[e+116>>2]<=m>>>0){v[163922]=R;v[163920]=X;v[163921]=S;v[163918]=Y;v[163919]=V;v[163916]=Z;v[163917]=_;a=655664;break Ca}a=v[e+120>>2]+B(m,28)|0}v[a+24>>2]=0;v[a+20>>2]=280448;v[a>>2]=0;v[a+4>>2]=0;v[a+16>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;Da:{if(y[e+116>>2]<=m>>>0){v[163922]=R;v[163920]=X;v[163921]=S;v[163918]=Y;v[163919]=V;v[163916]=Z;v[163917]=_;d=655664;break Da}d=v[e+120>>2]+B(m,28)|0}v[d+24>>2]=0;v[d+20>>2]=280448;v[d>>2]=0;v[d+4>>2]=0;v[d+16>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;Ea:{Fa:{Ga:{if(w[q+24|0]){break Ga}while(1){a=v[q+20>>2];h=a+1|0;i=v[q+12>>2];if(h>>>0>i>>>0){break Ga}Ha:{Ia:{if(a>>>0<i>>>0){s=v[q+8>>2];c=w[s+a|0];if((c|0)==12){a=f;if(h>>>0>=i>>>0){break Ia}c=w[h+s|0]|256;a=h}if(a>>>0>=i>>>0){a=c;break Ia}v[q+20>>2]=a+1;break Ha}t[q+24|0]=1;c=65535;a=g;if((p&255)==12){break Ha}}t[q+24|0]=1;v[q+20>>2]=i;c=a}s=q+8|0;G=Ca-32|0;Ca=G;v[G+28>>2]=0;v[G+20>>2]=0;v[G+24>>2]=0;v[G+12>>2]=0;v[G+16>>2]=0;Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{switch(c-6|0){default:a=c-265|0;if(a>>>0>9){break Oa}a=1<<a;if(a&775){break Ta}if(!(a&24)){break Oa}break;case 17:break Ka;case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 14:case 15:case 18:case 19:case 20:case 21:case 22:break Oa;case 24:break Pa;case 23:break Qa;case 16:break Ra;case 13:break Sa;case 4:case 5:break Ta;case 0:case 1:case 2:case 3:break Ua}}h=s+24|0;break La}h=s+24|0;a=v[h>>2];if(a){a=a-1|0;if(a>>>0<y[s+32>>2]){break Ma}a=v[70113];i=v[70112];v[163916]=i;v[163917]=a;v[G+24>>2]=i;v[G+28>>2]=a;break La}t[s+20|0]=1;a=v[70113];i=v[70112];v[163916]=i;v[163917]=a;v[G+24>>2]=i;v[G+28>>2]=a;break La}i=d;h=s+24|0;a=v[h>>2];Va:{if(a){a=a-1|0;if(a>>>0>=y[s+32>>2]){a=v[70113];W=v[70112];v[163916]=W;v[163917]=a;l(0,W|0);l(1,a|0);u=+n();break Va}u=A[v[s+36>>2]+(a<<3)>>3];break Va}t[s+20|0]=1;a=v[70113];W=v[70112];v[163916]=W;v[163917]=a;l(0,W|0);l(1,a|0);u=+n()}Wa:{if(D(u)<2147483648){a=~~u;break Wa}a=-2147483648}if((a|0)<=-1){t[s+20|0]=1;a=0}v[i+16>>2]=a;break La}Xa:{if(w[s+48|0]){h=v[s+44>>2];break Xa}a=v[s+24>>2];Ya:{if(a){a=a-1|0;if(a>>>0>=y[s+32>>2]){a=v[70113];h=v[70112];v[163916]=h;v[163917]=a;l(0,h|0);l(1,a|0);u=+n();break Ya}u=A[v[s+36>>2]+(a<<3)>>3];break Ya}t[s+20|0]=1;a=v[70113];h=v[70112];v[163916]=h;v[163917]=a;l(0,h|0);l(1,a|0);u=+n()}Za:{if(D(u)<2147483648){h=~~u;break Za}h=-2147483648}if((h|0)<=-1){t[s+20|0]=1;h=0}v[s+44>>2]=h}t[s+48|0]=1;v[d+24>>2]=h;h=s+24|0;break La}Th(s+20|0,s);break Na}u=Sh(s);a=v[s+24>>2];if(a>>>0<y[s+32>>2]){v[s+24>>2]=a+1;A[v[s+36>>2]+(a<<3)>>3]=u;break Na}t[s+20|0]=1;a=v[70113];v[163916]=v[70112];v[163917]=a;A[81958]=u;break Na}Rg(c,s)}if(!v[s+24>>2]){break Ka}break Ja}a=v[s+36>>2]+(a<<3)|0;i=v[a+4>>2];v[G+24>>2]=v[a>>2];v[G+28>>2]=i}v[h>>2]=0}if(w[s+40|0]|w[s+16|0]|(w[s+20|0]|v[s+28>>2]<0)){break Ja}lx(d,c,s,G+8|0)}Ca=G+32|0;if(w[q+28|0]|(w[q+48|0]|w[q+24|0])){break Fa}if(v[q+36>>2]>=0){continue}break}break Fa}_a:{$a:{if(y[e+116>>2]>m>>>0){c=B(m,28);d=c+v[e+120>>2]|0;a=v[d+16>>2];a=a?a+(Q?M:280448)|0:280448;v[d+20>>2]=a;if((a|0)!=280448){break $a}a=0;break Ea}a=v[70117];v[163920]=v[70116];v[163921]=a;v[163922]=v[70118];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=0;if(v[163921]==280448){break Ea}v[163922]=R;v[163920]=X;v[163921]=S;v[163918]=Y;v[163919]=V;v[163916]=Z;v[163917]=_;c=655664;break _a}c=c+v[e+120>>2]|0}a=0;if(Ij(v[c+20>>2],E)){break Ea}}Xd(e);a=1}Pa(v[q+44>>2]);a=!a;break ka}Xd(e);a=0}Pa(v[q+100>>2]);if(!a){break I}m=m+1|0;if(m>>>0<y[e+96>>2]){continue}break}break I}Xd(e);Pa(v[q+44>>2]);break I}break a}Xd(e)}Ca=q+112|0;if(!v[b+56>>2]){v[b+56>>2]=e;break E}Xd(e);Pa(e);e=v[b+56>>2]}if(!e){continue}break}}g=0;d=0;p=Ca-240|0;Ca=p;ab:{a=K;if(!v[e>>2]|a>>>0>=y[e+124>>2]){break ab}c=0;f=v[e+92>>2];bb:{if((f|0)==280448){break bb}cb:{switch(w[f|0]){case 0:c=w[(a+f|0)+1|0];break bb;case 3:c=1;h=f+1|0;d=w[f+1|0]|w[f+2|0]<<8;d=(d<<8|d>>>8)&65535;db:{if(d>>>0<2){break db}while(1){f=c>>>0<d>>>0?(h+B(c,3)|0)+2|0:280448;if(a>>>0<(w[f|0]<<8|w[f+1|0])>>>0){break db}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=d}c=c-1|0;c=w[(c>>>0<d>>>0?(h+B(c,3)|0)+2|0:280448)+2|0];break bb;case 4:break cb;default:break bb}}c=1;d=w[f+1|0]|w[f+2|0]<<8|(w[f+3|0]<<16|w[f+4|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);eb:{if(d>>>0<2){break eb}while(1){h=c>>>0<d>>>0?(f+B(c,6)|0)+5|0:280448;h=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);if(a>>>0<(h<<24|h<<8&16711680|(h>>>8&65280|h>>>24))>>>0){break eb}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=d}c=c-1|0;c=c>>>0<d>>>0?(f+B(c,6)|0)+5|0:280448;c=w[c+4|0]<<8|w[c+5|0]}t[p+72|0]=0;d=p- -64|0;v[d>>2]=0;v[d+4>>2]=0;v[p+92>>2]=0;v[p+84>>2]=0;v[p+88>>2]=0;v[p+108>>2]=0;v[p+112>>2]=0;t[p+116|0]=0;v[p+160>>2]=0;v[p+152>>2]=0;v[p+156>>2]=0;v[p+228>>2]=0;v[p+56>>2]=0;v[p+60>>2]=0;v[p+100>>2]=0;v[p+104>>2]=0;v[p+220>>2]=0;v[p+224>>2]=0;h=v[e+84>>2];d=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);fb:{if(d>>>0<=a>>>0){v[p+48>>2]=v[70114];a=v[70113];v[p+40>>2]=v[70112];v[p+44>>2]=a;break fb}f=w[h+4|0];j=(h+B(f,d+1|0)|0)+5|0;gb:{if(!f){break gb}i=f&3;d=(h+B(a,f)|0)+5|0;if(f-1>>>0<3){g=0}else{g=f&252;while(1){f=d;d=f+4|0;g=g-4|0;if(g){continue}break}g=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24)}if(!i){break gb}while(1){g=w[d|0]|g<<8;d=d+1|0;i=i-1|0;if(i){continue}break}}a=An(h,a);v[p+48>>2]=0;v[p+44>>2]=a;v[p+40>>2]=(g+j|0)-1}j=v[J+64>>2];o=v[J+60>>2];h=v[e+76>>2];i=v[(c>>>0<y[e+116>>2]?v[e+120>>2]+B(c,28)|0:280448)+20>>2];d=v[p+44>>2];f=p+56|0;a=f;v[a>>2]=v[p+40>>2];v[a+4>>2]=d;v[a+8>>2]=v[p+48>>2];v[a+24>>2]=0;v[a+28>>2]=0;t[a+20|0]=0;t[a+16|0]=0;v[a+12>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;a=Va(18976);hb:{if(!a){v[f+28>>2]=-1;break hb}v[f+28>>2]=593;v[f+36>>2]=a;g=Ra(a,0,16416);v[f+32>>2]=513;d=0;while(1){a=g+(d<<5)|0;v[a>>2]=0;v[a+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+56>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+88>>2]=0;v[a+80>>2]=0;v[a+84>>2]=0;a=a- -64|0;v[a>>2]=0;v[a+4>>2]=0;d=d+3|0;if((d|0)!=513){continue}break}}t[f+40|0]=0;a=v[p+44>>2];d=v[p+40>>2];v[f+52>>2]=v[p+48>>2];v[f+44>>2]=d;v[f+48>>2]=a;v[f+128>>2]=0;v[f+132>>2]=0;t[f+73|0]=1;t[f+74|0]=0;a=f- -64|0;v[a>>2]=0;v[a+4>>2]=0;t[f+60|0]=0;v[f+56>>2]=0;v[f+136>>2]=0;v[f+140>>2]=0;a=Va(560);v[f+100>>2]=0;v[f+104>>2]=0;v[f+92>>2]=0;v[f+96>>2]=0;v[f+76>>2]=0;v[f+80>>2]=0;t[f+81|0]=0;t[f+82|0]=0;t[f+83|0]=0;t[f+84|0]=0;t[f+85|0]=0;t[f+86|0]=0;t[f+87|0]=0;t[f+88|0]=0;ib:{if(!a){v[f+96>>2]=-1;break ib}v[f+96>>2]=20;v[f+104>>2]=a;Ra(a,0,280);v[f+100>>2]=10;g=1;d=0;while(1){jb:{if(!g){v[163922]=v[70118];a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break jb}a=v[f+104>>2]+B(d,28)|0}v[a+20>>2]=0;v[a+24>>2]=0;v[a>>2]=0;v[a+4>>2]=0;t[a+16|0]=0;v[a+8>>2]=0;v[a+12>>2]=0;d=d+1|0;a=v[f+100>>2];if(d>>>0>=a>>>0){break ib}g=a>>>0>d>>>0;continue}}v[f+112>>2]=h;kb:{lb:{if(h){a=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(a>>>0>1239){break lb}}v[f+108>>2]=107;break kb}if(a>>>0<=33899){v[f+108>>2]=1131;break kb}v[f+108>>2]=32768}v[f+120>>2]=i;mb:{nb:{if(i){a=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(a>>>0>1239){break nb}}v[f+116>>2]=107;break mb}if(a>>>0<=33899){v[f+116>>2]=1131;break mb}v[f+116>>2]=32768}v[p+204>>2]=o;v[p+200>>2]=j;a=v[e+80>>2];v[p+208>>2]=a;i=0;t[p+233|0]=0;t[p+234|0]=0;v[p+228>>2]=0;v[p+220>>2]=0;v[p+224>>2]=0;t[p+232|0]=!o|!j?i:(w[a+1|0]|w[a|0]<<8)!=0;v[p+216>>2]=v[(c>>>0<y[e+116>>2]?v[e+120>>2]+B(c,28)|0:280448)+24>>2];t[p+128|0]=0;v[p+32>>2]=0;v[p+36>>2]=-1042284544;v[p+24>>2]=0;v[p+28>>2]=-1042284544;v[p+16>>2]=-4194304;v[p+20>>2]=1105199103;v[p+8>>2]=-4194304;v[p+12>>2]=1105199103;t[p|0]=0;d=!!w[p+72|0];while(1){ob:{pb:{if(!d){g=v[p+68>>2];a=g+1|0;e=v[p+60>>2];if(a>>>0>e>>>0){break ob}c=w[280448];qb:{if(e>>>0>g>>>0){f=v[p+56>>2];d=w[f+g|0];if((d|0)==12){if(a>>>0>=e>>>0){c=c|256;break qb}g=a;d=w[f+a|0]|256}if(e>>>0<=g>>>0){c=d;break qb}v[p+68>>2]=g+1;break pb}t[p+72|0]=1;d=65535;if((c|0)==12){break pb}}t[p+72|0]=1;v[p+68>>2]=e;d=c;break pb}d=v[p+148>>2]?11:14}f=p+56|0;rb:{sb:{tb:{switch(d-10|0){case 0:case 19:a=v[f+24>>2]-1|0;ub:{if(a>>>0>=y[f+32>>2]){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break ub}a=v[f+36>>2]+(a<<5)|0}if(!v[a+20>>2]){break sb}t[f+40|0]=1;break rb;case 6:h=0;if(!w[f+178|0]){a=v[f+152>>2];c=v[f+160>>2];c=c>>>0<(w[a+9|0]|w[a+8|0]<<8)>>>0?(a+(c<<2)|0)+10|0:280448;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a=c?(a+c|0)+2|0:280448;d=w[a+4|0]<<8|w[a+5|0];v[f+156>>2]=d;vb:{if(!w[f+176|0]){break vb}wb:{xb:{a=v[f+164>>2];if((a|0)>=0){if(a>>>0>=d>>>0){break wb}c=a;while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(!(a>>>0>c>>>0|c>>>0>1073741822)){a=gb(v[f+172>>2],c<<2);if(a){break xb}}v[f+164>>2]=-1}t[f+40|0]=1;break vb}v[f+164>>2]=c;v[f+172>>2]=a}a=v[f+168>>2];if(a>>>0<d>>>0){Ra(v[f+172>>2]+(a<<2)|0,0,d-a<<2)}v[f+168>>2]=d;G=v[f+148>>2];M=v[f+144>>2];e=v[f+160>>2];c=v[f+152>>2];yb:{if(!d){v[163916]=v[70112];a=655664;break yb}a=v[f+172>>2]}g=c+2|0;d=e>>>0<(w[c+9|0]|w[c+8|0]<<8)>>>0?(c+(e<<2)|0)+10|0:280448;d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);m=d?g+d|0:280448;c=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=c?c+g|0:280448;i=0;E=w[m+5|0]|w[m+4|0]<<8;q=v[f+156>>2];s=q>>>0>E>>>0?E:q;if(s){while(1){c=m+(i<<1)|0;c=w[c+6|0]<<8|w[c+7|0];zb:{if(c>>>0>=(w[d+3|0]|w[d+2|0]<<8)>>>0){I=C(0);break zb}I=C(1);F=w[d+1|0]|w[d|0]<<8;if(!F){break zb}Q=(d+B(B(c,F),6)|0)+4|0;e=0;while(1){j=0;j=e>>>0<G>>>0?v[M+(e<<2)>>2]:j;N=I;U=C(1);g=Q+B(e,6)|0;c=w[g+2|0]|w[g+3|0]<<8;c=(c<<8|c>>>8)<<16>>16;o=w[g|0]|w[g+1|0]<<8;o=(o<<8|o>>>8)<<16>>16;Ab:{if((c|0)<(o|0)){break Ab}g=w[g+4|0]|w[g+5|0]<<8;g=(g<<8|g>>>8)<<16>>16;if((g|0)<(c|0)|!(c?(g|0)<1|(o|0)>-1:1)){break Ab}if(!c|(c|0)==(j|0)){break Ab}if((j|0)<=(o|0)){I=C(0);break zb}if((g|0)<=(j|0)){I=C(0);break zb}I=C(0);S=j-o|0;V=g-j|0;j=(c|0)>(j|0);U=C(C((j?S:V)|0)/C((j?c-o|0:g-c|0)|0));if(U==C(0)){break zb}}I=C(N*U);e=e+1|0;if((F|0)!=(e|0)){continue}break}}z[a+(i<<2)>>2]=I;i=i+1|0;if((s|0)!=(i|0)){continue}break}}if(q>>>0>E>>>0){Ra(a+(s<<2)|0,0,q-s<<2)}}t[f+178|0]=1}a=v[f+24>>2];Bb:{Cb:{if(a){a=a-1|0;v[f+24>>2]=a;if(a>>>0>=y[f+32>>2]){break Cb}a=v[f+36>>2]+(a<<5)|0;break Bb}t[f+20|0]=1}a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664}i=v[f+156>>2];u=A[a>>3];Db:{if(D(u)<2147483648){d=~~u;break Db}d=-2147483648}if((d|0)<=-1){t[f+20|0]=1;d=0}a=v[f+24>>2];s=a+B(i^-1,d)|0;Eb:{Fb:{if(a>>>0>=s>>>0){if(!d){break Fb}j=(i|0)>0?i:0;Q=d+s|0;o=v[70112];q=v[70113];g=i&-2;R=i&1;while(1){m=v[f+32>>2];c=a;a=h+s|0;if(c>>>0<=a>>>0){t[f+20|0]=1}E=v[f+36>>2];Gb:{if(a>>>0>=m>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;v[163916]=o;v[163917]=q;c=655664;break Gb}c=E+(a<<5)|0}v[c+12>>2]=h;v[c+8>>2]=d;e=v[c+16>>2];Hb:{if((e|0)<0){break Hb}a=e;if(j>>>0>a>>>0){while(1){a=((a>>>1|0)+a|0)+8|0;if(j>>>0>=a>>>0){continue}break}Ib:{if(!(a>>>0<e>>>0|a>>>0>536870910)){e=gb(v[c+24>>2],a<<3);if(e){break Ib}}v[c+16>>2]=-1;break Hb}v[c+16>>2]=a;v[c+24>>2]=e}a=v[c+20>>2];if(a>>>0<j>>>0){Ra(v[c+24>>2]+(a<<3)|0,0,j-a<<3)}v[c+20>>2]=j}Jb:{if(!i){break Jb}a=Q+B(h,i)|0;e=m-a|0;e=a?e>>>0>m>>>0?0:e:m;E=E+(a<<5)|0;F=v[c+20>>2];m=0;a=g;if((i|0)!=1){while(1){M=E+(m<<5)|0;Kb:{if(m>>>0>=F>>>0){v[163916]=o;v[163917]=q;G=655664;break Kb}G=v[c+24>>2]+(m<<3)|0}M=e>>>0>m>>>0?M:280448;S=v[M+4>>2];v[G>>2]=v[M>>2];v[G+4>>2]=S;G=m|1;S=E+(G<<5)|0;Lb:{if(F>>>0<=G>>>0){v[163916]=o;v[163917]=q;M=655664;break Lb}M=v[c+24>>2]+(G<<3)|0}G=e>>>0>G>>>0?S:280448;S=v[G+4>>2];v[M>>2]=v[G>>2];v[M+4>>2]=S;m=m+2|0;a=a-2|0;if(a){continue}break}}if(!R){break Jb}E=E+(m<<5)|0;Mb:{if(m>>>0>=F>>>0){v[163916]=o;v[163917]=q;a=655664;break Mb}a=v[c+24>>2]+(m<<3)|0}c=e>>>0>m>>>0?E:280448;e=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=e}a=v[f+24>>2];h=h+1|0;if((h|0)!=(d|0)){continue}break}break Fb}t[f+40|0]=1;break Eb}c=B(d,i);if(c>>>0<=a>>>0){v[f+24>>2]=a-c;break Eb}t[f+20|0]=1}break rb;case 5:break tb;default:break sb}}c=v[f+32>>2];a=v[f+24>>2]-1|0;Nb:{if(c>>>0<=a>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Nb}a=v[f+36>>2]+(a<<5)|0}if(v[a+20>>2]){t[f+40|0]=1;break rb}a=v[f+24>>2];Ob:{Pb:{if(a){a=a-1|0;v[f+24>>2]=a;if(a>>>0>=c>>>0){break Pb}a=v[f+36>>2]+(a<<5)|0;break Ob}t[f+20|0]=1}a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664}u=A[a>>3];Qb:{if(D(u)<2147483648){c=~~u;break Qb}c=-2147483648}if((c|0)<=-1){t[f+20|0]=1;c=0}Rb:{if(w[f+178|0]?1:w[f+177|0]){t[f+40|0]=1;break Rb}v[f+160>>2]=c}v[f+24>>2]=0;t[f+177|0]=1;break rb}g=0;k=0;i=0;e=0;o=0;c=0;u=0;Sb:{Tb:{Ub:{Vb:{Wb:{Xb:{Yb:{Zb:{_b:{$b:{ac:{bc:{cc:{dc:{ec:{fc:{gc:{hc:{ic:{jc:{kc:{lc:{mc:{nc:{oc:{pc:{qc:{rc:{sc:{tc:{uc:{vc:{wc:{switch(d-1|0){default:switch(d-255|0){case 38:break $b;case 37:break ac;case 36:break bc;case 35:break cc;case 0:break vc;default:break _b};case 10:if(w[f+16|0]){t[f+40|0]=1}a=v[f+92>>2];xc:{yc:{if(a){a=a-1|0;v[f+92>>2]=a;if(a>>>0>=y[f+100>>2]){break yc}a=v[f+104>>2]+B(a,28)|0;break xc}t[f+88|0]=1}v[163922]=v[70118];a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664}d=v[a+4>>2];c=f;v[c+44>>2]=v[a>>2];v[c+48>>2]=d;v[c+68>>2]=v[a+24>>2];c=v[a+20>>2];v[f+60>>2]=v[a+16>>2];v[f+64>>2]=c;c=v[a+12>>2];v[f+52>>2]=v[a+8>>2];v[f+56>>2]=c;c=v[a+8>>2];d=v[a+12>>2];e=v[a>>2];g=v[a+4>>2];t[f+16|0]=w[a+16|0];v[f+8>>2]=c;v[f+12>>2]=d;v[f>>2]=e;v[f+4>>2]=g;break Sb;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break _b;case 30:break dc;case 29:break ec;case 26:break fc;case 25:break gc;case 24:break hc;case 23:break ic;case 7:break jc;case 6:break kc;case 5:break lc;case 4:break mc;case 3:break nc;case 21:break oc;case 20:break pc;case 18:case 19:break qc;case 2:case 22:break rc;case 0:case 17:break sc;case 28:break tc;case 9:break uc;case 13:break wc}}t[f+72|0]=1;break Tb}if(w[f+16|0]){break Sb}c=v[f+4>>2];a=v[f+12>>2];if(c>>>0<a+4>>>0){break Sb}zc:{if(a>>>0>=c>>>0){t[f+16|0]=1;a=280448;break zc}a=a+v[f>>2]|0}c=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);d=c>>>8&65280|c>>>24;a=v[f+24>>2];Ac:{if(a>>>0<y[f+32>>2]){v[f+24>>2]=a+1;a=v[f+36>>2]+(a<<5)|0;break Ac}t[f+20|0]=1;a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664}v[a+8>>2]=0;v[a+12>>2]=0;if(v[a+16>>2]>=0){v[a+20>>2]=0}A[a>>3]=+(d|(c<<8&16711680|c<<24))*152587890625e-16;if(w[f+16|0]){a=v[f+4>>2];break Vb}a=v[f+4>>2];c=v[f+12>>2];if(a>>>0<c>>>0){break Vb}c=c+4|0;if(c>>>0>a>>>0){break Vb}v[f+12>>2]=c;break Sb}Ex(f,f+116|0,2);break Sb}Ex(f,f+108|0,1);break Sb}a=v[f+24>>2];v[f+24>>2]=0;v[f+76>>2]=v[f+76>>2]+(a>>>1|0);break Sb}a=v[f+24>>2];v[f+24>>2]=0;v[f+80>>2]=v[f+80>>2]+(a>>>1|0);break Sb}Bc:{if(w[f+74|0]){a=v[f+84>>2];break Bc}t[f+74|0]=1;a=v[f+80>>2]+(v[f+24>>2]>>>1|0)|0;v[f+80>>2]=a;a=(a+v[f+76>>2]|0)+7>>>3|0;v[f+84>>2]=a}if(w[f+16|0]){break Sb}c=v[f+12>>2];d=c+a|0;a=v[f+4>>2];if(d>>>0>a>>>0){break Sb}v[f+24>>2]=0;if(a>>>0>=c>>>0){v[f+12>>2]=d;break Sb}t[f+16|0]=1;v[f+12>>2]=a;break Sb}a=v[f+24>>2];Cc:{Dc:{if(a){a=a-1|0;v[f+24>>2]=a;if(a>>>0>=y[f+32>>2]){break Dc}a=v[f+36>>2]+(a<<5)|0;break Cc}t[f+20|0]=1}a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664}u=A[f+136>>3];r=A[f+128>>3];g=w[f+176|0];Ec:{if(!g){break Ec}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break Ec}d=v[f+172>>2];e=v[a+24>>2];k=A[a>>3];if((c|0)!=1){i=c&-2;while(1){h=o|1;k=k+A[e+(o<<3)>>3]*+z[d+(o<<2)>>2]+A[e+(h<<3)>>3]*+z[d+(h<<2)>>2];o=o+2|0;i=i-2|0;if(i){continue}break}}k=c&1?k+A[e+(o<<3)>>3]*+z[d+(o<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Ec}v[a+20>>2]=0}c=v[f+24>>2];Fc:{Gc:{if(c){c=c-1|0;v[f+24>>2]=c;if(c>>>0>=y[f+32>>2]){break Gc}c=v[f+36>>2]+(c<<5)|0;break Fc}t[f+20|0]=1}c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664}Hc:{if(!g){break Hc}d=v[c+20>>2];if(!d|(d|0)!=v[f+168>>2]){break Hc}h=d&1;e=v[f+172>>2];g=v[c+24>>2];k=A[c>>3];Ic:{if((d|0)==1){o=0;break Ic}i=d&-2;o=0;while(1){d=o|1;k=k+A[g+(o<<3)>>3]*+z[e+(o<<2)>>2]+A[g+(d<<3)>>3]*+z[e+(d<<2)>>2];o=o+2|0;i=i-2|0;if(i){continue}break}}k=h?k+A[g+(o<<3)>>3]*+z[e+(o<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break Hc}v[c+20>>2]=0}k=A[c>>3];T=A[a>>3];t[p|0]=0;A[f+136>>3]=u+T;A[f+128>>3]=r+k;break Ub}a=v[f+24>>2];Jc:{Kc:{if(a){a=a-1|0;v[f+24>>2]=a;if(a>>>0>=y[f+32>>2]){break Kc}c=v[f+36>>2]+(a<<5)|0;break Jc}t[f+20|0]=1}a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;c=655664}u=A[f+136>>3];r=A[f+128>>3];if(!w[f+176|0]){break Wb}a=v[c+20>>2];if(!a|(a|0)!=v[f+168>>2]){break Wb}g=a&1;d=v[f+172>>2];e=v[c+24>>2];k=A[c>>3];if((a|0)==1){a=0;break Xb}i=a&-2;a=0;while(1){h=a|1;k=k+A[e+(a<<3)>>3]*+z[d+(a<<2)>>2]+A[e+(h<<3)>>3]*+z[d+(h<<2)>>2];a=a+2|0;i=i-2|0;if(i){continue}break}break Xb}a=v[f+24>>2];Lc:{Mc:{if(a){a=a-1|0;v[f+24>>2]=a;if(a>>>0>=y[f+32>>2]){break Mc}c=v[f+36>>2]+(a<<5)|0;break Lc}t[f+20|0]=1}a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;c=655664}u=A[f+136>>3];r=A[f+128>>3];if(!w[f+176|0]){break Yb}a=v[c+20>>2];if(!a|(a|0)!=v[f+168>>2]){break Yb}g=a&1;d=v[f+172>>2];e=v[c+24>>2];k=A[c>>3];if((a|0)==1){a=0;break Zb}i=a&-2;a=0;while(1){h=a|1;k=k+A[e+(a<<3)>>3]*+z[d+(a<<2)>>2]+A[e+(h<<3)>>3]*+z[d+(h<<2)>>2];a=a+2|0;i=i-2|0;if(i){continue}break}break Zb}m=v[f+24>>2];if(m>>>0>=2){h=v[f+172>>2];o=v[f+36>>2];q=v[f+32>>2];i=v[f+168>>2];a=i&-2;s=i&1;E=i-1|0;F=w[f+176|0];c=2;while(1){if(e>>>0>=m>>>0){t[f+20|0]=1}Nc:{if(e>>>0>=q>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;g=655664;break Nc}g=o+(e<<5)|0}u=A[f+136>>3];k=A[f+128>>3];Oc:{if(!F){break Oc}d=v[g+20>>2];if(!d|(d|0)!=(i|0)){break Oc}j=v[g+24>>2];r=A[g>>3];m=0;d=a;if(E){while(1){G=m|1;r=r+A[j+(m<<3)>>3]*+z[h+(m<<2)>>2]+A[j+(G<<3)>>3]*+z[h+(G<<2)>>2];m=m+2|0;d=d-2|0;if(d){continue}break}}r=s?r+A[j+(m<<3)>>3]*+z[h+(m<<2)>>2]:r;v[g+8>>2]=0;v[g+12>>2]=0;A[g>>3]=r;if(v[g+16>>2]<0){break Oc}v[g+20>>2]=0}d=e|1;if(d>>>0>=y[f+24>>2]){t[f+20|0]=1}Pc:{if(d>>>0>=q>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;e=655664;break Pc}e=o+(d<<5)|0}Qc:{if(!F){break Qc}d=v[e+20>>2];if(!d|(d|0)!=(i|0)){break Qc}j=v[e+24>>2];r=A[e>>3];m=0;d=a;if(E){while(1){G=m|1;r=r+A[j+(m<<3)>>3]*+z[h+(m<<2)>>2]+A[j+(G<<3)>>3]*+z[h+(G<<2)>>2];m=m+2|0;d=d-2|0;if(d){continue}break}}r=s?r+A[j+(m<<3)>>3]*+z[h+(m<<2)>>2]:r;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=r;if(v[e+16>>2]<0){break Qc}v[e+20>>2]=0}T=u+A[e>>3];r=k+A[g>>3];Rc:{if(w[p|0]){break Rc}t[p|0]=1;u=A[f+128>>3];if(u<A[p+8>>3]){A[p+8>>3]=u;u=A[f+128>>3]}if(A[p+24>>3]<u){A[p+24>>3]=u}u=A[f+136>>3];if(u<A[p+16>>3]){A[p+16>>3]=u;u=A[f+136>>3]}if(!(A[p+32>>3]<u)){break Rc}A[p+32>>3]=u}A[f+136>>3]=T;A[f+128>>3]=r;if(A[p+8>>3]>r){A[p+8>>3]=r;r=A[f+128>>3]}if(A[p+24>>3]<r){A[p+24>>3]=r}r=A[f+136>>3];if(r<A[p+16>>3]){A[p+16>>3]=r;r=A[f+136>>3]}if(A[p+32>>3]<r){A[p+32>>3]=r}e=c;c=c+2|0;m=v[f+24>>2];if(c>>>0<=m>>>0){continue}break}}break Tb}h=v[f+172>>2];i=v[f+168>>2];j=v[f+36>>2];o=v[f+32>>2];q=w[f+176|0];m=v[f+24>>2];if(m>>>0>=2){d=i&-2;E=i&1;F=i-1|0;a=2;while(1){c=a;if(e>>>0>=m>>>0){t[f+20|0]=1}Sc:{if(e>>>0>=o>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;g=655664;break Sc}g=j+(e<<5)|0}r=A[f+136>>3];k=A[f+128>>3];Tc:{if(!q){break Tc}a=v[g+20>>2];if(!a|(a|0)!=(i|0)){break Tc}s=v[g+24>>2];u=A[g>>3];m=0;a=d;if(F){while(1){G=m|1;u=u+A[s+(m<<3)>>3]*+z[h+(m<<2)>>2]+A[s+(G<<3)>>3]*+z[h+(G<<2)>>2];m=m+2|0;a=a-2|0;if(a){continue}break}}u=E?u+A[s+(m<<3)>>3]*+z[h+(m<<2)>>2]:u;v[g+8>>2]=0;v[g+12>>2]=0;A[g>>3]=u;if(v[g+16>>2]<0){break Tc}v[g+20>>2]=0}k=k+A[g>>3];Uc:{if(w[p|0]){break Uc}t[p|0]=1;u=A[f+128>>3];if(u<A[p+8>>3]){A[p+8>>3]=u;u=A[f+128>>3]}if(A[p+24>>3]<u){A[p+24>>3]=u}u=A[f+136>>3];if(u<A[p+16>>3]){A[p+16>>3]=u;u=A[f+136>>3]}if(!(A[p+32>>3]<u)){break Uc}A[p+32>>3]=u}A[f+136>>3]=r;A[f+128>>3]=k;u=k;if(A[p+8>>3]>k){A[p+8>>3]=k;u=A[f+128>>3]}if(A[p+24>>3]<u){A[p+24>>3]=u}u=A[f+136>>3];if(u<A[p+16>>3]){A[p+16>>3]=u;u=A[f+136>>3]}if(A[p+32>>3]<u){A[p+32>>3]=u}a=e|1;if(a>>>0>=y[f+24>>2]){t[f+20|0]=1}Vc:{if(a>>>0>=o>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;e=655664;break Vc}e=j+(a<<5)|0}Wc:{if(!q){break Wc}a=v[e+20>>2];if(!a|(a|0)!=(i|0)){break Wc}g=v[e+24>>2];u=A[e>>3];m=0;a=d;if(F){while(1){s=m|1;u=u+A[g+(m<<3)>>3]*+z[h+(m<<2)>>2]+A[g+(s<<3)>>3]*+z[h+(s<<2)>>2];m=m+2|0;a=a-2|0;if(a){continue}break}}u=E?u+A[g+(m<<3)>>3]*+z[h+(m<<2)>>2]:u;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=u;if(v[e+16>>2]<0){break Wc}v[e+20>>2]=0}u=r+A[e>>3];Xc:{if(w[p|0]){break Xc}t[p|0]=1;r=A[f+128>>3];if(r<A[p+8>>3]){A[p+8>>3]=r;r=A[f+128>>3]}if(A[p+24>>3]<r){A[p+24>>3]=r}r=A[f+136>>3];if(r<A[p+16>>3]){A[p+16>>3]=r;r=A[f+136>>3]}if(!(A[p+32>>3]<r)){break Xc}A[p+32>>3]=r}A[f+136>>3]=u;A[f+128>>3]=k;if(A[p+8>>3]>k){A[p+8>>3]=k;k=A[f+128>>3]}if(A[p+24>>3]<k){A[p+24>>3]=k}u=A[f+136>>3];if(u<A[p+16>>3]){A[p+16>>3]=u;u=A[f+136>>3]}if(A[p+32>>3]<u){A[p+32>>3]=u}e=c;a=c+2|0;m=v[f+24>>2];if(a>>>0<=m>>>0){continue}break}}Yc:{if(c>>>0>=m>>>0){break Yc}Zc:{if(c>>>0>=o>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;c=655664;break Zc}c=j+(c<<5)|0}k=A[f+136>>3];r=A[f+128>>3];_c:{if(!q){break _c}a=v[c+20>>2];if(!a|(a|0)!=(i|0)){break _c}e=i&1;d=v[c+24>>2];u=A[c>>3];$c:{if((i|0)==1){m=0;break $c}a=i&-2;m=0;while(1){g=m|1;u=u+A[d+(m<<3)>>3]*+z[h+(m<<2)>>2]+A[d+(g<<3)>>3]*+z[h+(g<<2)>>2];m=m+2|0;a=a-2|0;if(a){continue}break}}u=e?u+A[d+(m<<3)>>3]*+z[h+(m<<2)>>2]:u;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=u;if(v[c+16>>2]<0){break _c}v[c+20>>2]=0}u=r+A[c>>3];ad:{if(w[p|0]){break ad}t[p|0]=1;r=A[f+128>>3];if(r<A[p+8>>3]){A[p+8>>3]=r;r=A[f+128>>3]}if(A[p+24>>3]<r){A[p+24>>3]=r}r=A[f+136>>3];if(r<A[p+16>>3]){A[p+16>>3]=r;r=A[f+136>>3]}if(!(A[p+32>>3]<r)){break ad}A[p+32>>3]=r}A[f+136>>3]=k;A[f+128>>3]=u;if(A[p+8>>3]>u){A[p+8>>3]=u;u=A[f+128>>3]}if(A[p+24>>3]<u){A[p+24>>3]=u}u=A[f+136>>3];if(u<A[p+16>>3]){A[p+16>>3]=u;u=A[f+136>>3]}if(!(A[p+32>>3]<u)){break Yc}A[p+32>>3]=u}break Tb}h=v[f+172>>2];i=v[f+168>>2];j=v[f+36>>2];o=v[f+32>>2];q=w[f+176|0];m=v[f+24>>2];if(m>>>0>=2){d=i&-2;E=i&1;F=i-1|0;a=2;while(1){c=a;if(e>>>0>=m>>>0){t[f+20|0]=1}bd:{if(e>>>0>=o>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;g=655664;break bd}g=j+(e<<5)|0}r=A[f+136>>3];k=A[f+128>>3];cd:{if(!q){break cd}a=v[g+20>>2];if(!a|(a|0)!=(i|0)){break cd}s=v[g+24>>2];u=A[g>>3];m=0;a=d;if(F){while(1){G=m|1;u=u+A[s+(m<<3)>>3]*+z[h+(m<<2)>>2]+A[s+(G<<3)>>3]*+z[h+(G<<2)>>2];m=m+2|0;a=a-2|0;if(a){continue}break}}u=E?u+A[s+(m<<3)>>3]*+z[h+(m<<2)>>2]:u;v[g+8>>2]=0;v[g+12>>2]=0;A[g>>3]=u;if(v[g+16>>2]<0){break cd}v[g+20>>2]=0}T=r+A[g>>3];dd:{if(w[p|0]){break dd}t[p|0]=1;u=A[f+128>>3];if(u<A[p+8>>3]){A[p+8>>3]=u;u=A[f+128>>3]}if(A[p+24>>3]<u){A[p+24>>3]=u}u=A[f+136>>3];if(u<A[p+16>>3]){A[p+16>>3]=u;u=A[f+136>>3]}if(!(A[p+32>>3]<u)){break dd}A[p+32>>3]=u}A[f+136>>3]=T;A[f+128>>3]=k;u=k;if(k<A[p+8>>3]){A[p+8>>3]=k;u=A[f+128>>3]}if(A[p+24>>3]<u){A[p+24>>3]=u}u=A[f+136>>3];if(u<A[p+16>>3]){A[p+16>>3]=u;u=A[f+136>>3]}if(A[p+32>>3]<u){A[p+32>>3]=u}a=e|1;if(a>>>0>=y[f+24>>2]){t[f+20|0]=1}ed:{if(a>>>0>=o>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;e=655664;break ed}e=j+(a<<5)|0}fd:{if(!q){break fd}a=v[e+20>>2];if(!a|(a|0)!=(i|0)){break fd}g=v[e+24>>2];u=A[e>>3];m=0;a=d;if(F){while(1){s=m|1;u=u+A[g+(m<<3)>>3]*+z[h+(m<<2)>>2]+A[g+(s<<3)>>3]*+z[h+(s<<2)>>2];m=m+2|0;a=a-2|0;if(a){continue}break}}u=E?u+A[g+(m<<3)>>3]*+z[h+(m<<2)>>2]:u;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=u;if(v[e+16>>2]<0){break fd}v[e+20>>2]=0}u=k+A[e>>3];gd:{if(w[p|0]){break gd}t[p|0]=1;r=A[f+128>>3];if(r<A[p+8>>3]){A[p+8>>3]=r;r=A[f+128>>3]}if(A[p+24>>3]<r){A[p+24>>3]=r}r=A[f+136>>3];if(r<A[p+16>>3]){A[p+16>>3]=r;r=A[f+136>>3]}if(!(A[p+32>>3]<r)){break gd}A[p+32>>3]=r}A[f+136>>3]=T;A[f+128>>3]=u;if(A[p+8>>3]>u){A[p+8>>3]=u;u=A[f+128>>3]}if(A[p+24>>3]<u){A[p+24>>3]=u}u=A[f+136>>3];if(u<A[p+16>>3]){A[p+16>>3]=u;u=A[f+136>>3]}if(A[p+32>>3]<u){A[p+32>>3]=u}e=c;a=c+2|0;m=v[f+24>>2];if(a>>>0<=m>>>0){continue}break}}hd:{if(c>>>0>=m>>>0){break hd}id:{if(c>>>0>=o>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;c=655664;break id}c=j+(c<<5)|0}k=A[f+136>>3];r=A[f+128>>3];jd:{if(!q){break jd}a=v[c+20>>2];if(!a|(a|0)!=(i|0)){break jd}e=i&1;d=v[c+24>>2];u=A[c>>3];kd:{if((i|0)==1){m=0;break kd}a=i&-2;m=0;while(1){g=m|1;u=u+A[d+(m<<3)>>3]*+z[h+(m<<2)>>2]+A[d+(g<<3)>>3]*+z[h+(g<<2)>>2];m=m+2|0;a=a-2|0;if(a){continue}break}}u=e?u+A[d+(m<<3)>>3]*+z[h+(m<<2)>>2]:u;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=u;if(v[c+16>>2]<0){break jd}v[c+20>>2]=0}k=k+A[c>>3];ld:{if(w[p|0]){break ld}t[p|0]=1;u=A[f+128>>3];if(u<A[p+8>>3]){A[p+8>>3]=u;u=A[f+128>>3]}if(A[p+24>>3]<u){A[p+24>>3]=u}u=A[f+136>>3];if(u<A[p+16>>3]){A[p+16>>3]=u;u=A[f+136>>3]}if(!(A[p+32>>3]<u)){break ld}A[p+32>>3]=u}A[f+136>>3]=k;A[f+128>>3]=r;if(A[p+8>>3]>r){A[p+8>>3]=r;r=A[f+128>>3]}if(A[p+24>>3]<r){A[p+24>>3]=r}u=A[f+136>>3];if(u<A[p+16>>3]){A[p+16>>3]=u;u=A[f+136>>3]}if(!(A[p+32>>3]<u)){break hd}A[p+32>>3]=u}break Tb}a=0;g=Ca-48|0;Ca=g;h=v[f+24>>2];if(h>>>0>5){c=6;while(1){e=a;a=c;c=v[f+140>>2];v[g+40>>2]=v[f+136>>2];v[g+44>>2]=c;c=v[f+132>>2];v[g+32>>2]=v[f+128>>2];v[g+36>>2]=c;if(e>>>0>=h>>>0){t[f+20|0]=1}j=v[f+32>>2];md:{if(j>>>0<=e>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break md}c=v[f+36>>2]+(e<<5)|0}o=w[f+176|0];nd:{if(!o){break nd}d=v[c+20>>2];if(!d|(d|0)!=v[f+168>>2]){break nd}m=v[c+24>>2];q=v[f+172>>2];k=A[c>>3];h=0;if((d|0)!=1){i=d&-2;while(1){s=h|1;k=k+A[m+(h<<3)>>3]*+z[q+(h<<2)>>2]+A[m+(s<<3)>>3]*+z[q+(s<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}k=d&1?k+A[m+(h<<3)>>3]*+z[q+(h<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break nd}v[c+20>>2]=0}d=e|1;if(d>>>0>=y[f+24>>2]){t[f+20|0]=1}od:{if(d>>>0>=j>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break od}d=v[f+36>>2]+(d<<5)|0}pd:{if(!o){break pd}m=v[d+20>>2];if(!m|(m|0)!=v[f+168>>2]){break pd}q=v[d+24>>2];s=v[f+172>>2];k=A[d>>3];h=0;if((m|0)!=1){i=m&-2;while(1){E=h|1;k=k+A[q+(h<<3)>>3]*+z[s+(h<<2)>>2]+A[q+(E<<3)>>3]*+z[s+(E<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}k=m&1?k+A[q+(h<<3)>>3]*+z[s+(h<<2)>>2]:k;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=k;if(v[d+16>>2]<0){break pd}v[d+20>>2]=0}A[g+32>>3]=A[g+32>>3]+A[c>>3];A[g+40>>3]=A[g+40>>3]+A[d>>3];c=v[g+44>>2];v[g+24>>2]=v[g+40>>2];v[g+28>>2]=c;c=v[g+36>>2];v[g+16>>2]=v[g+32>>2];v[g+20>>2]=c;c=e+2|0;if(c>>>0>=y[f+24>>2]){t[f+20|0]=1}qd:{if(c>>>0>=j>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break qd}c=v[f+36>>2]+(c<<5)|0}rd:{if(!o){break rd}d=v[c+20>>2];if(!d|(d|0)!=v[f+168>>2]){break rd}m=v[c+24>>2];q=v[f+172>>2];k=A[c>>3];h=0;if((d|0)!=1){i=d&-2;while(1){s=h|1;k=k+A[m+(h<<3)>>3]*+z[q+(h<<2)>>2]+A[m+(s<<3)>>3]*+z[q+(s<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}k=d&1?k+A[m+(h<<3)>>3]*+z[q+(h<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break rd}v[c+20>>2]=0}d=e+3|0;if(d>>>0>=y[f+24>>2]){t[f+20|0]=1}sd:{if(d>>>0>=j>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break sd}d=v[f+36>>2]+(d<<5)|0}td:{if(!o){break td}m=v[d+20>>2];if(!m|(m|0)!=v[f+168>>2]){break td}q=v[d+24>>2];s=v[f+172>>2];k=A[d>>3];h=0;if((m|0)!=1){i=m&-2;while(1){E=h|1;k=k+A[q+(h<<3)>>3]*+z[s+(h<<2)>>2]+A[q+(E<<3)>>3]*+z[s+(E<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}k=m&1?k+A[q+(h<<3)>>3]*+z[s+(h<<2)>>2]:k;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=k;if(v[d+16>>2]<0){break td}v[d+20>>2]=0}A[g+16>>3]=A[g+16>>3]+A[c>>3];A[g+24>>3]=A[g+24>>3]+A[d>>3];c=v[g+28>>2];v[g+8>>2]=v[g+24>>2];v[g+12>>2]=c;c=v[g+20>>2];v[g>>2]=v[g+16>>2];v[g+4>>2]=c;c=e+4|0;if(c>>>0>=y[f+24>>2]){t[f+20|0]=1}ud:{if(c>>>0>=j>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break ud}c=v[f+36>>2]+(c<<5)|0}vd:{if(!o){break vd}d=v[c+20>>2];if(!d|(d|0)!=v[f+168>>2]){break vd}m=v[c+24>>2];q=v[f+172>>2];k=A[c>>3];h=0;if((d|0)!=1){i=d&-2;while(1){s=h|1;k=k+A[m+(h<<3)>>3]*+z[q+(h<<2)>>2]+A[m+(s<<3)>>3]*+z[q+(s<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}k=d&1?k+A[m+(h<<3)>>3]*+z[q+(h<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break vd}v[c+20>>2]=0}d=e+5|0;if(d>>>0>=y[f+24>>2]){t[f+20|0]=1}wd:{if(d>>>0>=j>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break wd}d=v[f+36>>2]+(d<<5)|0}xd:{if(!o){break xd}e=v[d+20>>2];if(!e|(e|0)!=v[f+168>>2]){break xd}j=v[d+24>>2];o=v[f+172>>2];k=A[d>>3];h=0;if((e|0)!=1){i=e&-2;while(1){m=h|1;k=k+A[j+(h<<3)>>3]*+z[o+(h<<2)>>2]+A[j+(m<<3)>>3]*+z[o+(m<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}k=e&1?k+A[j+(h<<3)>>3]*+z[o+(h<<2)>>2]:k;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=k;if(v[d+16>>2]<0){break xd}v[d+20>>2]=0}A[g>>3]=A[g>>3]+A[c>>3];A[g+8>>3]=A[g+8>>3]+A[d>>3];yb(f,p,g+32|0,g+16|0,g);c=a+6|0;h=v[f+24>>2];if(c>>>0<=h>>>0){continue}break}}Ca=g+48|0;break Tb}a=0;g=Ca-48|0;Ca=g;i=v[f+24>>2];yd:{if(i>>>0<8){break yd}E=i-2|0;d=6;while(1){e=a;a=d;c=v[f+140>>2];v[g+40>>2]=v[f+136>>2];v[g+44>>2]=c;c=v[f+132>>2];v[g+32>>2]=v[f+128>>2];v[g+36>>2]=c;if(e>>>0>=i>>>0){t[f+20|0]=1}h=v[f+32>>2];zd:{if(h>>>0<=e>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break zd}c=v[f+36>>2]+(e<<5)|0}j=w[f+176|0];Ad:{if(!j){break Ad}d=v[c+20>>2];if(!d|(d|0)!=v[f+168>>2]){break Ad}o=v[c+24>>2];q=v[f+172>>2];r=A[c>>3];i=0;if((d|0)!=1){m=d&-2;while(1){s=i|1;r=r+A[o+(i<<3)>>3]*+z[q+(i<<2)>>2]+A[o+(s<<3)>>3]*+z[q+(s<<2)>>2];i=i+2|0;m=m-2|0;if(m){continue}break}}r=d&1?r+A[o+(i<<3)>>3]*+z[q+(i<<2)>>2]:r;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=r;if(v[c+16>>2]<0){break Ad}v[c+20>>2]=0}d=e|1;if(d>>>0>=y[f+24>>2]){t[f+20|0]=1}Bd:{if(d>>>0>=h>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break Bd}d=v[f+36>>2]+(d<<5)|0}Cd:{if(!j){break Cd}o=v[d+20>>2];if(!o|(o|0)!=v[f+168>>2]){break Cd}q=v[d+24>>2];s=v[f+172>>2];r=A[d>>3];i=0;if((o|0)!=1){m=o&-2;while(1){F=i|1;r=r+A[q+(i<<3)>>3]*+z[s+(i<<2)>>2]+A[q+(F<<3)>>3]*+z[s+(F<<2)>>2];i=i+2|0;m=m-2|0;if(m){continue}break}}r=o&1?r+A[q+(i<<3)>>3]*+z[s+(i<<2)>>2]:r;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=r;if(v[d+16>>2]<0){break Cd}v[d+20>>2]=0}A[g+32>>3]=A[g+32>>3]+A[c>>3];A[g+40>>3]=A[g+40>>3]+A[d>>3];c=v[g+44>>2];v[g+24>>2]=v[g+40>>2];v[g+28>>2]=c;c=v[g+36>>2];v[g+16>>2]=v[g+32>>2];v[g+20>>2]=c;c=e+2|0;if(c>>>0>=y[f+24>>2]){t[f+20|0]=1}Dd:{if(c>>>0>=h>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break Dd}c=v[f+36>>2]+(c<<5)|0}Ed:{if(!j){break Ed}d=v[c+20>>2];if(!d|(d|0)!=v[f+168>>2]){break Ed}o=v[c+24>>2];q=v[f+172>>2];r=A[c>>3];i=0;if((d|0)!=1){m=d&-2;while(1){s=i|1;r=r+A[o+(i<<3)>>3]*+z[q+(i<<2)>>2]+A[o+(s<<3)>>3]*+z[q+(s<<2)>>2];i=i+2|0;m=m-2|0;if(m){continue}break}}r=d&1?r+A[o+(i<<3)>>3]*+z[q+(i<<2)>>2]:r;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=r;if(v[c+16>>2]<0){break Ed}v[c+20>>2]=0}d=e+3|0;if(d>>>0>=y[f+24>>2]){t[f+20|0]=1}Fd:{if(d>>>0>=h>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break Fd}d=v[f+36>>2]+(d<<5)|0}Gd:{if(!j){break Gd}o=v[d+20>>2];if(!o|(o|0)!=v[f+168>>2]){break Gd}q=v[d+24>>2];s=v[f+172>>2];r=A[d>>3];i=0;if((o|0)!=1){m=o&-2;while(1){F=i|1;r=r+A[q+(i<<3)>>3]*+z[s+(i<<2)>>2]+A[q+(F<<3)>>3]*+z[s+(F<<2)>>2];i=i+2|0;m=m-2|0;if(m){continue}break}}r=o&1?r+A[q+(i<<3)>>3]*+z[s+(i<<2)>>2]:r;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=r;if(v[d+16>>2]<0){break Gd}v[d+20>>2]=0}A[g+16>>3]=A[g+16>>3]+A[c>>3];A[g+24>>3]=A[g+24>>3]+A[d>>3];c=v[g+28>>2];v[g+8>>2]=v[g+24>>2];v[g+12>>2]=c;c=v[g+20>>2];v[g>>2]=v[g+16>>2];v[g+4>>2]=c;c=e+4|0;if(c>>>0>=y[f+24>>2]){t[f+20|0]=1}Hd:{if(c>>>0>=h>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break Hd}c=v[f+36>>2]+(c<<5)|0}Id:{if(!j){break Id}d=v[c+20>>2];if(!d|(d|0)!=v[f+168>>2]){break Id}o=v[c+24>>2];q=v[f+172>>2];r=A[c>>3];i=0;if((d|0)!=1){m=d&-2;while(1){s=i|1;r=r+A[o+(i<<3)>>3]*+z[q+(i<<2)>>2]+A[o+(s<<3)>>3]*+z[q+(s<<2)>>2];i=i+2|0;m=m-2|0;if(m){continue}break}}r=d&1?r+A[o+(i<<3)>>3]*+z[q+(i<<2)>>2]:r;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=r;if(v[c+16>>2]<0){break Id}v[c+20>>2]=0}d=e+5|0;if(d>>>0>=y[f+24>>2]){t[f+20|0]=1}Jd:{if(d>>>0>=h>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break Jd}d=v[f+36>>2]+(d<<5)|0}Kd:{if(!j){break Kd}e=v[d+20>>2];if(!e|(e|0)!=v[f+168>>2]){break Kd}h=v[d+24>>2];j=v[f+172>>2];r=A[d>>3];i=0;if((e|0)!=1){m=e&-2;while(1){o=i|1;r=r+A[h+(i<<3)>>3]*+z[j+(i<<2)>>2]+A[h+(o<<3)>>3]*+z[j+(o<<2)>>2];i=i+2|0;m=m-2|0;if(m){continue}break}}r=e&1?r+A[h+(i<<3)>>3]*+z[j+(i<<2)>>2]:r;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=r;if(v[d+16>>2]<0){break Kd}v[d+20>>2]=0}A[g>>3]=A[g>>3]+A[c>>3];A[g+8>>3]=A[g+8>>3]+A[d>>3];yb(f,p,g+32|0,g+16|0,g);i=v[f+24>>2];d=a+6|0;if(E>>>0>=d>>>0){continue}break}if(a>>>0>=i>>>0){t[f+20|0]=1}j=v[f+32>>2];Ld:{if(j>>>0<=a>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break Ld}c=v[f+36>>2]+(a<<5)|0}u=A[f+136>>3];k=A[f+128>>3];o=w[f+176|0];Md:{if(!o){break Md}d=v[c+20>>2];if(!d|(d|0)!=v[f+168>>2]){break Md}q=d&1;e=v[c+24>>2];h=v[f+172>>2];r=A[c>>3];Nd:{if((d|0)==1){i=0;break Nd}m=d&-2;i=0;while(1){d=i|1;r=r+A[e+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[e+(d<<3)>>3]*+z[h+(d<<2)>>2];i=i+2|0;m=m-2|0;if(m){continue}break}}r=q?r+A[e+(i<<3)>>3]*+z[h+(i<<2)>>2]:r;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=r;if(v[c+16>>2]<0){break Md}v[c+20>>2]=0}a=a|1;if(a>>>0>=y[f+24>>2]){t[f+20|0]=1}Od:{if(a>>>0>=j>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Od}a=v[f+36>>2]+(a<<5)|0}Pd:{if(!o){break Pd}d=v[a+20>>2];if(!d|(d|0)!=v[f+168>>2]){break Pd}j=d&1;e=v[a+24>>2];h=v[f+172>>2];r=A[a>>3];Qd:{if((d|0)==1){i=0;break Qd}m=d&-2;i=0;while(1){d=i|1;r=r+A[e+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[e+(d<<3)>>3]*+z[h+(d<<2)>>2];i=i+2|0;m=m-2|0;if(m){continue}break}}r=j?r+A[e+(i<<3)>>3]*+z[h+(i<<2)>>2]:r;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=r;if(v[a+16>>2]<0){break Pd}v[a+20>>2]=0}T=u+A[a>>3];r=k+A[c>>3];Rd:{if(w[p|0]){break Rd}t[p|0]=1;u=A[f+128>>3];if(u<A[p+8>>3]){A[p+8>>3]=u;u=A[f+128>>3]}if(A[p+24>>3]<u){A[p+24>>3]=u}u=A[f+136>>3];if(u<A[p+16>>3]){A[p+16>>3]=u;u=A[f+136>>3]}if(!(A[p+32>>3]<u)){break Rd}A[p+32>>3]=u}A[f+136>>3]=T;A[f+128>>3]=r;if(A[p+8>>3]>r){A[p+8>>3]=r;r=A[f+128>>3]}if(A[p+24>>3]<r){A[p+24>>3]=r}r=A[f+136>>3];if(r<A[p+16>>3]){A[p+16>>3]=r;r=A[f+136>>3]}if(!(A[p+32>>3]<r)){break yd}A[p+32>>3]=r}Ca=g+48|0;break Tb}j=Ca-48|0;Ca=j;h=v[f+24>>2];if(h>>>0>=8){Q=h-6|0;m=v[f+168>>2];a=m&-2;G=m&1;q=m-1|0;o=v[f+172>>2];s=v[f+36>>2];E=v[f+32>>2];F=w[f+176|0];M=F;g=2;while(1){if(e>>>0>=h>>>0){t[f+20|0]=1}d=g;Sd:{if(e>>>0>=E>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;h=655664;break Sd}h=s+(e<<5)|0}u=A[f+136>>3];k=A[f+128>>3];Td:{if(!M){break Td}c=v[h+20>>2];if(!c|(c|0)!=(m|0)){break Td}i=v[h+24>>2];r=A[h>>3];g=0;c=a;if(q){while(1){R=g|1;r=r+A[i+(g<<3)>>3]*+z[o+(g<<2)>>2]+A[i+(R<<3)>>3]*+z[o+(R<<2)>>2];g=g+2|0;c=c-2|0;if(c){continue}break}}r=G?r+A[i+(g<<3)>>3]*+z[o+(g<<2)>>2]:r;v[h+8>>2]=0;v[h+12>>2]=0;A[h>>3]=r;if(v[h+16>>2]<0){break Td}v[h+20>>2]=0}c=e|1;if(c>>>0>=y[f+24>>2]){t[f+20|0]=1}Ud:{if(c>>>0>=E>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;e=655664;break Ud}e=s+(c<<5)|0}Vd:{if(!M){break Vd}c=v[e+20>>2];if(!c|(c|0)!=(m|0)){break Vd}i=v[e+24>>2];r=A[e>>3];g=0;c=a;if(q){while(1){R=g|1;r=r+A[i+(g<<3)>>3]*+z[o+(g<<2)>>2]+A[i+(R<<3)>>3]*+z[o+(R<<2)>>2];g=g+2|0;c=c-2|0;if(c){continue}break}}r=G?r+A[i+(g<<3)>>3]*+z[o+(g<<2)>>2]:r;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=r;if(v[e+16>>2]<0){break Vd}v[e+20>>2]=0}T=u+A[e>>3];r=k+A[h>>3];Wd:{if(w[p|0]){break Wd}t[p|0]=1;u=A[f+128>>3];if(u<A[p+8>>3]){A[p+8>>3]=u;u=A[f+128>>3]}if(A[p+24>>3]<u){A[p+24>>3]=u}u=A[f+136>>3];if(u<A[p+16>>3]){A[p+16>>3]=u;u=A[f+136>>3]}if(!(A[p+32>>3]<u)){break Wd}A[p+32>>3]=u}A[f+136>>3]=T;A[f+128>>3]=r;if(A[p+8>>3]>r){A[p+8>>3]=r;r=A[f+128>>3]}if(A[p+24>>3]<r){A[p+24>>3]=r}r=A[f+136>>3];if(r<A[p+16>>3]){A[p+16>>3]=r;r=A[f+136>>3]}if(A[p+32>>3]<r){A[p+32>>3]=r}h=v[f+24>>2];e=d;g=d+2|0;if(Q>>>0>=g>>>0){continue}break}a=v[f+140>>2];v[j+40>>2]=v[f+136>>2];v[j+44>>2]=a;a=v[f+132>>2];v[j+32>>2]=v[f+128>>2];v[j+36>>2]=a;if(e>>>0>=h>>>0){t[f+20|0]=1}Xd:{if(e>>>0>=E>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Xd}a=s+(e<<5)|0}Yd:{if(!F){break Yd}c=v[a+20>>2];if(!c|(c|0)!=(m|0)){break Yd}d=m&1;c=v[a+24>>2];r=A[a>>3];Zd:{if(!q){h=0;break Zd}i=m&-2;h=0;while(1){G=h|1;r=r+A[c+(h<<3)>>3]*+z[o+(h<<2)>>2]+A[c+(G<<3)>>3]*+z[o+(G<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}r=d?r+A[c+(h<<3)>>3]*+z[o+(h<<2)>>2]:r;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=r;if(v[a+16>>2]<0){break Yd}v[a+20>>2]=0}c=e|1;if(c>>>0>=y[f+24>>2]){t[f+20|0]=1}_d:{if(c>>>0>=E>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break _d}c=s+(c<<5)|0}$d:{if(!F){break $d}d=v[c+20>>2];if(!d|(d|0)!=(m|0)){break $d}G=m&1;d=v[c+24>>2];r=A[c>>3];ae:{if(!q){h=0;break ae}i=m&-2;h=0;while(1){M=h|1;r=r+A[d+(h<<3)>>3]*+z[o+(h<<2)>>2]+A[d+(M<<3)>>3]*+z[o+(M<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}r=G?r+A[d+(h<<3)>>3]*+z[o+(h<<2)>>2]:r;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=r;if(v[c+16>>2]<0){break $d}v[c+20>>2]=0}A[j+32>>3]=A[j+32>>3]+A[a>>3];A[j+40>>3]=A[j+40>>3]+A[c>>3];a=v[j+44>>2];v[j+24>>2]=v[j+40>>2];v[j+28>>2]=a;a=v[j+36>>2];v[j+16>>2]=v[j+32>>2];v[j+20>>2]=a;if(y[f+24>>2]<=g>>>0){t[f+20|0]=1}be:{if(g>>>0>=E>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break be}a=s+(g<<5)|0}ce:{if(!F){break ce}c=v[a+20>>2];if(!c|(c|0)!=(m|0)){break ce}h=m&1;d=v[a+24>>2];r=A[a>>3];de:{if(!q){g=0;break de}c=m&-2;g=0;while(1){i=g|1;r=r+A[d+(g<<3)>>3]*+z[o+(g<<2)>>2]+A[d+(i<<3)>>3]*+z[o+(i<<2)>>2];g=g+2|0;c=c-2|0;if(c){continue}break}}r=h?r+A[d+(g<<3)>>3]*+z[o+(g<<2)>>2]:r;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=r;if(v[a+16>>2]<0){break ce}v[a+20>>2]=0}c=e+3|0;if(c>>>0>=y[f+24>>2]){t[f+20|0]=1}ee:{if(c>>>0>=E>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;d=655664;break ee}d=s+(c<<5)|0}fe:{if(!F){break fe}c=v[d+20>>2];if(!c|(c|0)!=(m|0)){break fe}i=m&1;h=v[d+24>>2];r=A[d>>3];ge:{if(!q){g=0;break ge}c=m&-2;g=0;while(1){G=g|1;r=r+A[h+(g<<3)>>3]*+z[o+(g<<2)>>2]+A[h+(G<<3)>>3]*+z[o+(G<<2)>>2];g=g+2|0;c=c-2|0;if(c){continue}break}}r=i?r+A[h+(g<<3)>>3]*+z[o+(g<<2)>>2]:r;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=r;if(v[d+16>>2]<0){break fe}v[d+20>>2]=0}A[j+16>>3]=A[j+16>>3]+A[a>>3];A[j+24>>3]=A[j+24>>3]+A[d>>3];a=v[j+28>>2];v[j+8>>2]=v[j+24>>2];v[j+12>>2]=a;a=v[j+20>>2];v[j>>2]=v[j+16>>2];v[j+4>>2]=a;a=e+4|0;if(a>>>0>=y[f+24>>2]){t[f+20|0]=1}he:{if(a>>>0>=E>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break he}a=s+(a<<5)|0}ie:{if(!F){break ie}c=v[a+20>>2];if(!c|(c|0)!=(m|0)){break ie}h=m&1;d=v[a+24>>2];r=A[a>>3];je:{if(!q){g=0;break je}c=m&-2;g=0;while(1){i=g|1;r=r+A[d+(g<<3)>>3]*+z[o+(g<<2)>>2]+A[d+(i<<3)>>3]*+z[o+(i<<2)>>2];g=g+2|0;c=c-2|0;if(c){continue}break}}r=h?r+A[d+(g<<3)>>3]*+z[o+(g<<2)>>2]:r;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=r;if(v[a+16>>2]<0){break ie}v[a+20>>2]=0}c=e+5|0;if(c>>>0>=y[f+24>>2]){t[f+20|0]=1}ke:{if(c>>>0>=E>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;d=655664;break ke}d=s+(c<<5)|0}le:{if(!F){break le}c=v[d+20>>2];if(!c|(c|0)!=(m|0)){break le}h=m&1;e=v[d+24>>2];r=A[d>>3];me:{if(!q){g=0;break me}c=m&-2;g=0;while(1){i=g|1;r=r+A[e+(g<<3)>>3]*+z[o+(g<<2)>>2]+A[e+(i<<3)>>3]*+z[o+(i<<2)>>2];g=g+2|0;c=c-2|0;if(c){continue}break}}r=h?r+A[e+(g<<3)>>3]*+z[o+(g<<2)>>2]:r;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=r;if(v[d+16>>2]<0){break le}v[d+20>>2]=0}A[j>>3]=A[j>>3]+A[a>>3];A[j+8>>3]=A[j+8>>3]+A[d>>3];yb(f,p,j+32|0,j+16|0,j)}Ca=j+48|0;break Tb}a=0;g=Ca-48|0;Ca=g;c=v[f+140>>2];v[g+40>>2]=v[f+136>>2];v[g+44>>2]=c;c=v[f+132>>2];v[g+32>>2]=v[f+128>>2];v[g+36>>2]=c;h=v[f+24>>2];if(h&1){ne:{if(!v[f+32>>2]){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break ne}a=v[f+36>>2]}oe:{if(!w[f+176|0]){break oe}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break oe}j=c&1;d=v[f+172>>2];e=v[a+24>>2];k=A[a>>3];pe:{if((c|0)==1){h=0;break pe}i=c&-2;h=0;while(1){c=h|1;k=k+A[e+(h<<3)>>3]*+z[d+(h<<2)>>2]+A[e+(c<<3)>>3]*+z[d+(c<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}k=j?k+A[e+(h<<3)>>3]*+z[d+(h<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break oe}v[a+20>>2]=0}A[g+32>>3]=A[g+32>>3]+A[a>>3];h=v[f+24>>2];a=1}c=a|4;if(h>>>0>=c>>>0){while(1){e=a;a=c;if(e>>>0>=h>>>0){t[f+20|0]=1}o=v[f+32>>2];qe:{if(o>>>0<=e>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break qe}c=v[f+36>>2]+(e<<5)|0}m=w[f+176|0];re:{if(!m){break re}d=v[c+20>>2];if(!d|(d|0)!=v[f+168>>2]){break re}j=v[c+24>>2];q=v[f+172>>2];k=A[c>>3];h=0;if((d|0)!=1){i=d&-2;while(1){s=h|1;k=k+A[j+(h<<3)>>3]*+z[q+(h<<2)>>2]+A[j+(s<<3)>>3]*+z[q+(s<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}k=d&1?k+A[j+(h<<3)>>3]*+z[q+(h<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break re}v[c+20>>2]=0}A[g+40>>3]=A[g+40>>3]+A[c>>3];c=v[g+44>>2];v[g+24>>2]=v[g+40>>2];v[g+28>>2]=c;c=v[g+36>>2];v[g+16>>2]=v[g+32>>2];v[g+20>>2]=c;c=e+1|0;if(c>>>0>=y[f+24>>2]){t[f+20|0]=1}se:{if(c>>>0>=o>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break se}c=v[f+36>>2]+(c<<5)|0}te:{if(!m){break te}d=v[c+20>>2];if(!d|(d|0)!=v[f+168>>2]){break te}j=v[c+24>>2];q=v[f+172>>2];k=A[c>>3];h=0;if((d|0)!=1){i=d&-2;while(1){s=h|1;k=k+A[j+(h<<3)>>3]*+z[q+(h<<2)>>2]+A[j+(s<<3)>>3]*+z[q+(s<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}k=d&1?k+A[j+(h<<3)>>3]*+z[q+(h<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break te}v[c+20>>2]=0}d=e+2|0;if(d>>>0>=y[f+24>>2]){t[f+20|0]=1}ue:{if(d>>>0>=o>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break ue}d=v[f+36>>2]+(d<<5)|0}ve:{if(!m){break ve}j=v[d+20>>2];if(!j|(j|0)!=v[f+168>>2]){break ve}q=v[d+24>>2];s=v[f+172>>2];k=A[d>>3];h=0;if((j|0)!=1){i=j&-2;while(1){E=h|1;k=k+A[q+(h<<3)>>3]*+z[s+(h<<2)>>2]+A[q+(E<<3)>>3]*+z[s+(E<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}k=j&1?k+A[q+(h<<3)>>3]*+z[s+(h<<2)>>2]:k;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=k;if(v[d+16>>2]<0){break ve}v[d+20>>2]=0}A[g+16>>3]=A[g+16>>3]+A[c>>3];A[g+24>>3]=A[g+24>>3]+A[d>>3];c=v[g+28>>2];v[g+8>>2]=v[g+24>>2];v[g+12>>2]=c;c=v[g+20>>2];v[g>>2]=v[g+16>>2];v[g+4>>2]=c;c=e+3|0;if(c>>>0>=y[f+24>>2]){t[f+20|0]=1}we:{if(c>>>0>=o>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break we}c=v[f+36>>2]+(c<<5)|0}xe:{if(!m){break xe}d=v[c+20>>2];if(!d|(d|0)!=v[f+168>>2]){break xe}e=v[c+24>>2];j=v[f+172>>2];k=A[c>>3];h=0;if((d|0)!=1){i=d&-2;while(1){o=h|1;k=k+A[e+(h<<3)>>3]*+z[j+(h<<2)>>2]+A[e+(o<<3)>>3]*+z[j+(o<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}k=d&1?k+A[e+(h<<3)>>3]*+z[j+(h<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break xe}v[c+20>>2]=0}A[g+8>>3]=A[g+8>>3]+A[c>>3];yb(f,p,g+32|0,g+16|0,g);c=v[f+140>>2];v[g+40>>2]=v[f+136>>2];v[g+44>>2]=c;c=v[f+132>>2];v[g+32>>2]=v[f+128>>2];v[g+36>>2]=c;c=a+4|0;h=v[f+24>>2];if(c>>>0<=h>>>0){continue}break}}Ca=g+48|0;break Tb}a=0;g=Ca-48|0;Ca=g;c=v[f+140>>2];v[g+40>>2]=v[f+136>>2];v[g+44>>2]=c;c=v[f+132>>2];v[g+32>>2]=v[f+128>>2];v[g+36>>2]=c;h=v[f+24>>2];if(h&1){ye:{if(!v[f+32>>2]){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break ye}a=v[f+36>>2]}ze:{if(!w[f+176|0]){break ze}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break ze}j=c&1;d=v[f+172>>2];e=v[a+24>>2];k=A[a>>3];Ae:{if((c|0)==1){h=0;break Ae}i=c&-2;h=0;while(1){c=h|1;k=k+A[e+(h<<3)>>3]*+z[d+(h<<2)>>2]+A[e+(c<<3)>>3]*+z[d+(c<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}k=j?k+A[e+(h<<3)>>3]*+z[d+(h<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break ze}v[a+20>>2]=0}A[g+40>>3]=A[g+40>>3]+A[a>>3];h=v[f+24>>2];a=1}c=a|4;if(h>>>0>=c>>>0){while(1){e=a;a=c;if(e>>>0>=h>>>0){t[f+20|0]=1}o=v[f+32>>2];Be:{if(o>>>0<=e>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break Be}c=v[f+36>>2]+(e<<5)|0}m=w[f+176|0];Ce:{if(!m){break Ce}d=v[c+20>>2];if(!d|(d|0)!=v[f+168>>2]){break Ce}j=v[c+24>>2];q=v[f+172>>2];k=A[c>>3];h=0;if((d|0)!=1){i=d&-2;while(1){s=h|1;k=k+A[j+(h<<3)>>3]*+z[q+(h<<2)>>2]+A[j+(s<<3)>>3]*+z[q+(s<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}k=d&1?k+A[j+(h<<3)>>3]*+z[q+(h<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break Ce}v[c+20>>2]=0}A[g+32>>3]=A[g+32>>3]+A[c>>3];c=v[g+44>>2];v[g+24>>2]=v[g+40>>2];v[g+28>>2]=c;c=v[g+36>>2];v[g+16>>2]=v[g+32>>2];v[g+20>>2]=c;c=e+1|0;if(c>>>0>=y[f+24>>2]){t[f+20|0]=1}De:{if(c>>>0>=o>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break De}c=v[f+36>>2]+(c<<5)|0}Ee:{if(!m){break Ee}d=v[c+20>>2];if(!d|(d|0)!=v[f+168>>2]){break Ee}j=v[c+24>>2];q=v[f+172>>2];k=A[c>>3];h=0;if((d|0)!=1){i=d&-2;while(1){s=h|1;k=k+A[j+(h<<3)>>3]*+z[q+(h<<2)>>2]+A[j+(s<<3)>>3]*+z[q+(s<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}k=d&1?k+A[j+(h<<3)>>3]*+z[q+(h<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break Ee}v[c+20>>2]=0}d=e+2|0;if(d>>>0>=y[f+24>>2]){t[f+20|0]=1}Fe:{if(d>>>0>=o>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break Fe}d=v[f+36>>2]+(d<<5)|0}Ge:{if(!m){break Ge}j=v[d+20>>2];if(!j|(j|0)!=v[f+168>>2]){break Ge}q=v[d+24>>2];s=v[f+172>>2];k=A[d>>3];h=0;if((j|0)!=1){i=j&-2;while(1){E=h|1;k=k+A[q+(h<<3)>>3]*+z[s+(h<<2)>>2]+A[q+(E<<3)>>3]*+z[s+(E<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}k=j&1?k+A[q+(h<<3)>>3]*+z[s+(h<<2)>>2]:k;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=k;if(v[d+16>>2]<0){break Ge}v[d+20>>2]=0}A[g+16>>3]=A[g+16>>3]+A[c>>3];A[g+24>>3]=A[g+24>>3]+A[d>>3];c=v[g+28>>2];v[g+8>>2]=v[g+24>>2];v[g+12>>2]=c;c=v[g+20>>2];v[g>>2]=v[g+16>>2];v[g+4>>2]=c;c=e+3|0;if(c>>>0>=y[f+24>>2]){t[f+20|0]=1}He:{if(c>>>0>=o>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break He}c=v[f+36>>2]+(c<<5)|0}Ie:{if(!m){break Ie}d=v[c+20>>2];if(!d|(d|0)!=v[f+168>>2]){break Ie}e=v[c+24>>2];j=v[f+172>>2];k=A[c>>3];h=0;if((d|0)!=1){i=d&-2;while(1){o=h|1;k=k+A[e+(h<<3)>>3]*+z[j+(h<<2)>>2]+A[e+(o<<3)>>3]*+z[j+(o<<2)>>2];h=h+2|0;i=i-2|0;if(i){continue}break}}k=d&1?k+A[e+(h<<3)>>3]*+z[j+(h<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break Ie}v[c+20>>2]=0}A[g>>3]=A[g>>3]+A[c>>3];yb(f,p,g+32|0,g+16|0,g);c=v[f+140>>2];v[g+40>>2]=v[f+136>>2];v[g+44>>2]=c;c=v[f+132>>2];v[g+32>>2]=v[f+128>>2];v[g+36>>2]=c;c=a+4|0;h=v[f+24>>2];if(c>>>0<=h>>>0){continue}break}}Ca=g+48|0;break Tb}d=0;j=Ca-48|0;Ca=j;g=v[f+24>>2];Je:{if(!(g&4)){a=8;if(g>>>0<8){break Je}while(1){c=d;d=a;a=v[f+140>>2];v[j+40>>2]=v[f+136>>2];v[j+44>>2]=a;a=v[f+132>>2];v[j+32>>2]=v[f+128>>2];v[j+36>>2]=a;if(c>>>0>=g>>>0){t[f+20|0]=1}i=v[f+32>>2];Ke:{if(i>>>0<=c>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Ke}a=v[f+36>>2]+(c<<5)|0}o=w[f+176|0];Le:{if(!o){break Le}e=v[a+20>>2];if(!e|(e|0)!=v[f+168>>2]){break Le}h=v[a+24>>2];q=v[f+172>>2];k=A[a>>3];g=0;if((e|0)!=1){m=e&-2;while(1){s=g|1;k=k+A[h+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[h+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[h+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Le}v[a+20>>2]=0}A[j+40>>3]=A[j+40>>3]+A[a>>3];a=v[j+44>>2];v[j+24>>2]=v[j+40>>2];v[j+28>>2]=a;a=v[j+36>>2];v[j+16>>2]=v[j+32>>2];v[j+20>>2]=a;a=c|1;if(a>>>0>=y[f+24>>2]){t[f+20|0]=1}Me:{if(a>>>0>=i>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Me}a=v[f+36>>2]+(a<<5)|0}Ne:{if(!o){break Ne}e=v[a+20>>2];if(!e|(e|0)!=v[f+168>>2]){break Ne}h=v[a+24>>2];q=v[f+172>>2];k=A[a>>3];g=0;if((e|0)!=1){m=e&-2;while(1){s=g|1;k=k+A[h+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[h+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[h+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Ne}v[a+20>>2]=0}e=c|2;if(e>>>0>=y[f+24>>2]){t[f+20|0]=1}Oe:{if(e>>>0>=i>>>0){e=v[70119];v[163922]=v[70118];v[163923]=e;e=v[70117];v[163920]=v[70116];v[163921]=e;e=v[70115];v[163918]=v[70114];v[163919]=e;e=v[70113];v[163916]=v[70112];v[163917]=e;e=655664;break Oe}e=v[f+36>>2]+(e<<5)|0}Pe:{if(!o){break Pe}h=v[e+20>>2];if(!h|(h|0)!=v[f+168>>2]){break Pe}q=v[e+24>>2];s=v[f+172>>2];k=A[e>>3];g=0;if((h|0)!=1){m=h&-2;while(1){E=g|1;k=k+A[q+(g<<3)>>3]*+z[s+(g<<2)>>2]+A[q+(E<<3)>>3]*+z[s+(E<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=h&1?k+A[q+(g<<3)>>3]*+z[s+(g<<2)>>2]:k;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=k;if(v[e+16>>2]<0){break Pe}v[e+20>>2]=0}A[j+16>>3]=A[j+16>>3]+A[a>>3];A[j+24>>3]=A[j+24>>3]+A[e>>3];a=v[j+28>>2];v[j+8>>2]=v[j+24>>2];v[j+12>>2]=a;a=v[j+20>>2];v[j>>2]=v[j+16>>2];v[j+4>>2]=a;a=c|3;if(a>>>0>=y[f+24>>2]){t[f+20|0]=1}Qe:{if(a>>>0>=i>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Qe}a=v[f+36>>2]+(a<<5)|0}Re:{if(!o){break Re}e=v[a+20>>2];if(!e|(e|0)!=v[f+168>>2]){break Re}h=v[a+24>>2];i=v[f+172>>2];k=A[a>>3];g=0;if((e|0)!=1){m=e&-2;while(1){o=g|1;k=k+A[h+(g<<3)>>3]*+z[i+(g<<2)>>2]+A[h+(o<<3)>>3]*+z[i+(o<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[h+(g<<3)>>3]*+z[i+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Re}v[a+20>>2]=0}A[j>>3]=A[j>>3]+A[a>>3];yb(f,p,j+32|0,j+16|0,j);a=v[j+12>>2];v[j+40>>2]=v[j+8>>2];v[j+44>>2]=a;a=v[j+4>>2];v[j+32>>2]=v[j>>2];v[j+36>>2]=a;a=c|4;if(a>>>0>=y[f+24>>2]){t[f+20|0]=1}h=v[f+32>>2];Se:{if(h>>>0<=a>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Se}a=v[f+36>>2]+(a<<5)|0}i=w[f+176|0];Te:{if(!i){break Te}e=v[a+20>>2];if(!e|(e|0)!=v[f+168>>2]){break Te}o=v[a+24>>2];q=v[f+172>>2];k=A[a>>3];g=0;if((e|0)!=1){m=e&-2;while(1){s=g|1;k=k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[o+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Te}v[a+20>>2]=0}u=A[a>>3];a=v[j+44>>2];v[j+24>>2]=v[j+40>>2];v[j+28>>2]=a;A[j+32>>3]=u+A[j+32>>3];a=v[j+36>>2];v[j+16>>2]=v[j+32>>2];v[j+20>>2]=a;a=c|5;if(a>>>0>=y[f+24>>2]){t[f+20|0]=1}Ue:{if(a>>>0>=h>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Ue}a=v[f+36>>2]+(a<<5)|0}Ve:{if(!i){break Ve}e=v[a+20>>2];if(!e|(e|0)!=v[f+168>>2]){break Ve}o=v[a+24>>2];q=v[f+172>>2];k=A[a>>3];g=0;if((e|0)!=1){m=e&-2;while(1){s=g|1;k=k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[o+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Ve}v[a+20>>2]=0}e=c|6;if(e>>>0>=y[f+24>>2]){t[f+20|0]=1}We:{if(e>>>0>=h>>>0){e=v[70119];v[163922]=v[70118];v[163923]=e;e=v[70117];v[163920]=v[70116];v[163921]=e;e=v[70115];v[163918]=v[70114];v[163919]=e;e=v[70113];v[163916]=v[70112];v[163917]=e;e=655664;break We}e=v[f+36>>2]+(e<<5)|0}Xe:{if(!i){break Xe}o=v[e+20>>2];if(!o|(o|0)!=v[f+168>>2]){break Xe}q=v[e+24>>2];s=v[f+172>>2];k=A[e>>3];g=0;if((o|0)!=1){m=o&-2;while(1){E=g|1;k=k+A[q+(g<<3)>>3]*+z[s+(g<<2)>>2]+A[q+(E<<3)>>3]*+z[s+(E<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=o&1?k+A[q+(g<<3)>>3]*+z[s+(g<<2)>>2]:k;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=k;if(v[e+16>>2]<0){break Xe}v[e+20>>2]=0}A[j+16>>3]=A[j+16>>3]+A[a>>3];A[j+24>>3]=A[j+24>>3]+A[e>>3];a=v[j+28>>2];v[j+8>>2]=v[j+24>>2];v[j+12>>2]=a;a=v[j+20>>2];v[j>>2]=v[j+16>>2];v[j+4>>2]=a;a=c|7;if(a>>>0>=y[f+24>>2]){t[f+20|0]=1}Ye:{if(a>>>0>=h>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Ye}a=v[f+36>>2]+(a<<5)|0}Ze:{if(!i){break Ze}e=v[a+20>>2];if(!e|(e|0)!=v[f+168>>2]){break Ze}o=v[a+24>>2];q=v[f+172>>2];k=A[a>>3];g=0;if((e|0)!=1){m=e&-2;while(1){s=g|1;k=k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[o+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Ze}v[a+20>>2]=0}A[j+8>>3]=A[j+8>>3]+A[a>>3];a=v[f+24>>2];if(!(a-c>>>0>15|!(a&1))){if(a>>>0<=d>>>0){t[f+20|0]=1}_e:{if(d>>>0>=h>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break _e}a=v[f+36>>2]+(d<<5)|0}$e:{if(!i){break $e}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break $e}e=v[a+24>>2];h=v[f+172>>2];k=A[a>>3];g=0;if((c|0)!=1){o=c&-2;while(1){i=g|1;k=k+A[e+(g<<3)>>3]*+z[h+(g<<2)>>2]+A[e+(i<<3)>>3]*+z[h+(i<<2)>>2];g=g+2|0;o=o-2|0;if(o){continue}break}}k=c&1?k+A[e+(g<<3)>>3]*+z[h+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break $e}v[a+20>>2]=0}A[j>>3]=A[j>>3]+A[a>>3]}yb(f,p,j+32|0,j+16|0,j);a=d+8|0;g=v[f+24>>2];if(a>>>0<=g>>>0){continue}break}break Je}a=v[f+140>>2];v[j+40>>2]=v[f+136>>2];v[j+44>>2]=a;a=v[f+132>>2];v[j+32>>2]=v[f+128>>2];v[j+36>>2]=a;i=v[f+32>>2];af:{if(!i){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break af}a=v[f+36>>2]}h=w[f+176|0];bf:{if(!h){break bf}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break bf}m=c&1;d=v[f+172>>2];e=v[a+24>>2];k=A[a>>3];cf:{if((c|0)==1){g=0;break cf}o=c&-2;g=0;while(1){c=g|1;k=k+A[e+(g<<3)>>3]*+z[d+(g<<2)>>2]+A[e+(c<<3)>>3]*+z[d+(c<<2)>>2];g=g+2|0;o=o-2|0;if(o){continue}break}}k=m?k+A[e+(g<<3)>>3]*+z[d+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break bf}v[a+20>>2]=0}A[j+40>>3]=A[j+40>>3]+A[a>>3];a=v[j+44>>2];v[j+24>>2]=v[j+40>>2];v[j+28>>2]=a;a=v[j+36>>2];v[j+16>>2]=v[j+32>>2];v[j+20>>2]=a;if(y[f+24>>2]<=1){t[f+20|0]=1}df:{if(i>>>0<=1){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break df}a=v[f+36>>2]+32|0}ef:{if(!h){break ef}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break ef}m=c&1;d=v[f+172>>2];e=v[a+24>>2];k=A[a>>3];ff:{if((c|0)==1){g=0;break ff}o=c&-2;g=0;while(1){c=g|1;k=k+A[e+(g<<3)>>3]*+z[d+(g<<2)>>2]+A[e+(c<<3)>>3]*+z[d+(c<<2)>>2];g=g+2|0;o=o-2|0;if(o){continue}break}}k=m?k+A[e+(g<<3)>>3]*+z[d+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break ef}v[a+20>>2]=0}if(y[f+24>>2]<=2){t[f+20|0]=1}gf:{if(i>>>0<=2){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break gf}c=v[f+36>>2]- -64|0}hf:{if(!h){break hf}d=v[c+20>>2];if(!d|(d|0)!=v[f+168>>2]){break hf}q=d&1;e=v[f+172>>2];m=v[c+24>>2];k=A[c>>3];jf:{if((d|0)==1){g=0;break jf}o=d&-2;g=0;while(1){d=g|1;k=k+A[m+(g<<3)>>3]*+z[e+(g<<2)>>2]+A[m+(d<<3)>>3]*+z[e+(d<<2)>>2];g=g+2|0;o=o-2|0;if(o){continue}break}}k=q?k+A[m+(g<<3)>>3]*+z[e+(g<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break hf}v[c+20>>2]=0}A[j+16>>3]=A[j+16>>3]+A[a>>3];A[j+24>>3]=A[j+24>>3]+A[c>>3];a=v[j+28>>2];v[j+8>>2]=v[j+24>>2];v[j+12>>2]=a;a=v[j+20>>2];v[j>>2]=v[j+16>>2];v[j+4>>2]=a;if(y[f+24>>2]<=3){t[f+20|0]=1}kf:{if(i>>>0<=3){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break kf}a=v[f+36>>2]+96|0}lf:{if(!h){break lf}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break lf}m=c&1;d=v[f+172>>2];e=v[a+24>>2];k=A[a>>3];mf:{if((c|0)==1){g=0;break mf}o=c&-2;g=0;while(1){c=g|1;k=k+A[e+(g<<3)>>3]*+z[d+(g<<2)>>2]+A[e+(c<<3)>>3]*+z[d+(c<<2)>>2];g=g+2|0;o=o-2|0;if(o){continue}break}}k=m?k+A[e+(g<<3)>>3]*+z[d+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break lf}v[a+20>>2]=0}A[j>>3]=A[j>>3]+A[a>>3];g=12;a=4;d=v[f+24>>2];if(d>>>0>=12){while(1){c=a;a=g;yb(f,p,j+32|0,j+16|0,j);d=v[f+140>>2];v[j+40>>2]=v[f+136>>2];v[j+44>>2]=d;d=v[f+132>>2];v[j+32>>2]=v[f+128>>2];v[j+36>>2]=d;if(c>>>0>=y[f+24>>2]){t[f+20|0]=1}i=v[f+32>>2];nf:{if(i>>>0<=c>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break nf}d=v[f+36>>2]+(c<<5)|0}o=w[f+176|0];of:{if(!o){break of}e=v[d+20>>2];if(!e|(e|0)!=v[f+168>>2]){break of}h=v[d+24>>2];q=v[f+172>>2];k=A[d>>3];g=0;if((e|0)!=1){m=e&-2;while(1){s=g|1;k=k+A[h+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[h+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[h+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=k;if(v[d+16>>2]<0){break of}v[d+20>>2]=0}u=A[d>>3];d=v[j+44>>2];v[j+24>>2]=v[j+40>>2];v[j+28>>2]=d;A[j+32>>3]=u+A[j+32>>3];d=v[j+36>>2];v[j+16>>2]=v[j+32>>2];v[j+20>>2]=d;d=c|1;if(d>>>0>=y[f+24>>2]){t[f+20|0]=1}pf:{if(d>>>0>=i>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break pf}d=v[f+36>>2]+(d<<5)|0}qf:{if(!o){break qf}e=v[d+20>>2];if(!e|(e|0)!=v[f+168>>2]){break qf}h=v[d+24>>2];q=v[f+172>>2];k=A[d>>3];g=0;if((e|0)!=1){m=e&-2;while(1){s=g|1;k=k+A[h+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[h+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[h+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=k;if(v[d+16>>2]<0){break qf}v[d+20>>2]=0}e=c|2;if(e>>>0>=y[f+24>>2]){t[f+20|0]=1}rf:{if(e>>>0>=i>>>0){e=v[70119];v[163922]=v[70118];v[163923]=e;e=v[70117];v[163920]=v[70116];v[163921]=e;e=v[70115];v[163918]=v[70114];v[163919]=e;e=v[70113];v[163916]=v[70112];v[163917]=e;e=655664;break rf}e=v[f+36>>2]+(e<<5)|0}sf:{if(!o){break sf}h=v[e+20>>2];if(!h|(h|0)!=v[f+168>>2]){break sf}q=v[e+24>>2];s=v[f+172>>2];k=A[e>>3];g=0;if((h|0)!=1){m=h&-2;while(1){E=g|1;k=k+A[q+(g<<3)>>3]*+z[s+(g<<2)>>2]+A[q+(E<<3)>>3]*+z[s+(E<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=h&1?k+A[q+(g<<3)>>3]*+z[s+(g<<2)>>2]:k;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=k;if(v[e+16>>2]<0){break sf}v[e+20>>2]=0}A[j+16>>3]=A[j+16>>3]+A[d>>3];A[j+24>>3]=A[j+24>>3]+A[e>>3];d=v[j+28>>2];v[j+8>>2]=v[j+24>>2];v[j+12>>2]=d;d=v[j+20>>2];v[j>>2]=v[j+16>>2];v[j+4>>2]=d;d=c|3;if(d>>>0>=y[f+24>>2]){t[f+20|0]=1}tf:{if(d>>>0>=i>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break tf}d=v[f+36>>2]+(d<<5)|0}uf:{if(!o){break uf}e=v[d+20>>2];if(!e|(e|0)!=v[f+168>>2]){break uf}h=v[d+24>>2];i=v[f+172>>2];k=A[d>>3];g=0;if((e|0)!=1){m=e&-2;while(1){o=g|1;k=k+A[h+(g<<3)>>3]*+z[i+(g<<2)>>2]+A[h+(o<<3)>>3]*+z[i+(o<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[h+(g<<3)>>3]*+z[i+(g<<2)>>2]:k;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=k;if(v[d+16>>2]<0){break uf}v[d+20>>2]=0}A[j+8>>3]=A[j+8>>3]+A[d>>3];yb(f,p,j+32|0,j+16|0,j);d=v[j+12>>2];v[j+40>>2]=v[j+8>>2];v[j+44>>2]=d;d=v[j+4>>2];v[j+32>>2]=v[j>>2];v[j+36>>2]=d;d=c+4|0;if(d>>>0>=y[f+24>>2]){t[f+20|0]=1}i=v[f+32>>2];vf:{if(d>>>0>=i>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break vf}d=v[f+36>>2]+(d<<5)|0}h=w[f+176|0];wf:{if(!h){break wf}e=v[d+20>>2];if(!e|(e|0)!=v[f+168>>2]){break wf}o=v[d+24>>2];q=v[f+172>>2];k=A[d>>3];g=0;if((e|0)!=1){m=e&-2;while(1){s=g|1;k=k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[o+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=k;if(v[d+16>>2]<0){break wf}v[d+20>>2]=0}A[j+40>>3]=A[j+40>>3]+A[d>>3];d=v[j+44>>2];v[j+24>>2]=v[j+40>>2];v[j+28>>2]=d;d=v[j+36>>2];v[j+16>>2]=v[j+32>>2];v[j+20>>2]=d;d=c+5|0;if(d>>>0>=y[f+24>>2]){t[f+20|0]=1}xf:{if(d>>>0>=i>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break xf}d=v[f+36>>2]+(d<<5)|0}yf:{if(!h){break yf}e=v[d+20>>2];if(!e|(e|0)!=v[f+168>>2]){break yf}o=v[d+24>>2];q=v[f+172>>2];k=A[d>>3];g=0;if((e|0)!=1){m=e&-2;while(1){s=g|1;k=k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[o+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=k;if(v[d+16>>2]<0){break yf}v[d+20>>2]=0}e=c+6|0;if(e>>>0>=y[f+24>>2]){t[f+20|0]=1}zf:{if(e>>>0>=i>>>0){e=v[70119];v[163922]=v[70118];v[163923]=e;e=v[70117];v[163920]=v[70116];v[163921]=e;e=v[70115];v[163918]=v[70114];v[163919]=e;e=v[70113];v[163916]=v[70112];v[163917]=e;e=655664;break zf}e=v[f+36>>2]+(e<<5)|0}Af:{if(!h){break Af}o=v[e+20>>2];if(!o|(o|0)!=v[f+168>>2]){break Af}q=v[e+24>>2];s=v[f+172>>2];k=A[e>>3];g=0;if((o|0)!=1){m=o&-2;while(1){E=g|1;k=k+A[q+(g<<3)>>3]*+z[s+(g<<2)>>2]+A[q+(E<<3)>>3]*+z[s+(E<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=o&1?k+A[q+(g<<3)>>3]*+z[s+(g<<2)>>2]:k;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=k;if(v[e+16>>2]<0){break Af}v[e+20>>2]=0}A[j+16>>3]=A[j+16>>3]+A[d>>3];A[j+24>>3]=A[j+24>>3]+A[e>>3];d=v[j+28>>2];v[j+8>>2]=v[j+24>>2];v[j+12>>2]=d;d=v[j+20>>2];v[j>>2]=v[j+16>>2];v[j+4>>2]=d;c=c+7|0;if(c>>>0>=y[f+24>>2]){t[f+20|0]=1}Bf:{if(c>>>0>=i>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break Bf}c=v[f+36>>2]+(c<<5)|0}Cf:{if(!h){break Cf}d=v[c+20>>2];if(!d|(d|0)!=v[f+168>>2]){break Cf}e=v[c+24>>2];m=v[f+172>>2];k=A[c>>3];g=0;if((d|0)!=1){o=d&-2;while(1){q=g|1;k=k+A[e+(g<<3)>>3]*+z[m+(g<<2)>>2]+A[e+(q<<3)>>3]*+z[m+(q<<2)>>2];g=g+2|0;o=o-2|0;if(o){continue}break}}k=d&1?k+A[e+(g<<3)>>3]*+z[m+(g<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break Cf}v[c+20>>2]=0}A[j>>3]=A[j>>3]+A[c>>3];d=v[f+24>>2];g=a+8|0;if(d>>>0>=g>>>0){continue}break}}if(a>>>0<d>>>0){Df:{if(a>>>0>=i>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Df}a=v[f+36>>2]+(a<<5)|0}Ef:{if(!h){break Ef}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break Ef}h=c&1;d=v[a+24>>2];e=v[f+172>>2];k=A[a>>3];Ff:{if((c|0)==1){g=0;break Ff}o=c&-2;g=0;while(1){c=g|1;k=k+A[d+(g<<3)>>3]*+z[e+(g<<2)>>2]+A[d+(c<<3)>>3]*+z[e+(c<<2)>>2];g=g+2|0;o=o-2|0;if(o){continue}break}}k=h?k+A[d+(g<<3)>>3]*+z[e+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Ef}v[a+20>>2]=0}A[j+8>>3]=A[j+8>>3]+A[a>>3]}yb(f,p,j+32|0,j+16|0,j)}Ca=j+48|0;break Tb}d=0;j=Ca-48|0;Ca=j;g=v[f+24>>2];Gf:{if(!(g&4)){a=8;if(g>>>0<8){break Gf}while(1){c=d;d=a;a=v[f+140>>2];v[j+40>>2]=v[f+136>>2];v[j+44>>2]=a;a=v[f+132>>2];v[j+32>>2]=v[f+128>>2];v[j+36>>2]=a;if(c>>>0>=g>>>0){t[f+20|0]=1}i=v[f+32>>2];Hf:{if(i>>>0<=c>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Hf}a=v[f+36>>2]+(c<<5)|0}o=w[f+176|0];If:{if(!o){break If}e=v[a+20>>2];if(!e|(e|0)!=v[f+168>>2]){break If}h=v[a+24>>2];q=v[f+172>>2];k=A[a>>3];g=0;if((e|0)!=1){m=e&-2;while(1){s=g|1;k=k+A[h+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[h+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[h+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break If}v[a+20>>2]=0}u=A[a>>3];a=v[j+44>>2];v[j+24>>2]=v[j+40>>2];v[j+28>>2]=a;A[j+32>>3]=u+A[j+32>>3];a=v[j+36>>2];v[j+16>>2]=v[j+32>>2];v[j+20>>2]=a;a=c|1;if(a>>>0>=y[f+24>>2]){t[f+20|0]=1}Jf:{if(a>>>0>=i>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Jf}a=v[f+36>>2]+(a<<5)|0}Kf:{if(!o){break Kf}e=v[a+20>>2];if(!e|(e|0)!=v[f+168>>2]){break Kf}h=v[a+24>>2];q=v[f+172>>2];k=A[a>>3];g=0;if((e|0)!=1){m=e&-2;while(1){s=g|1;k=k+A[h+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[h+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[h+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Kf}v[a+20>>2]=0}e=c|2;if(e>>>0>=y[f+24>>2]){t[f+20|0]=1}Lf:{if(e>>>0>=i>>>0){e=v[70119];v[163922]=v[70118];v[163923]=e;e=v[70117];v[163920]=v[70116];v[163921]=e;e=v[70115];v[163918]=v[70114];v[163919]=e;e=v[70113];v[163916]=v[70112];v[163917]=e;e=655664;break Lf}e=v[f+36>>2]+(e<<5)|0}Mf:{if(!o){break Mf}h=v[e+20>>2];if(!h|(h|0)!=v[f+168>>2]){break Mf}q=v[e+24>>2];s=v[f+172>>2];k=A[e>>3];g=0;if((h|0)!=1){m=h&-2;while(1){E=g|1;k=k+A[q+(g<<3)>>3]*+z[s+(g<<2)>>2]+A[q+(E<<3)>>3]*+z[s+(E<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=h&1?k+A[q+(g<<3)>>3]*+z[s+(g<<2)>>2]:k;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=k;if(v[e+16>>2]<0){break Mf}v[e+20>>2]=0}A[j+16>>3]=A[j+16>>3]+A[a>>3];A[j+24>>3]=A[j+24>>3]+A[e>>3];a=v[j+28>>2];v[j+8>>2]=v[j+24>>2];v[j+12>>2]=a;a=v[j+20>>2];v[j>>2]=v[j+16>>2];v[j+4>>2]=a;a=c|3;if(a>>>0>=y[f+24>>2]){t[f+20|0]=1}Nf:{if(a>>>0>=i>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Nf}a=v[f+36>>2]+(a<<5)|0}Of:{if(!o){break Of}e=v[a+20>>2];if(!e|(e|0)!=v[f+168>>2]){break Of}h=v[a+24>>2];i=v[f+172>>2];k=A[a>>3];g=0;if((e|0)!=1){m=e&-2;while(1){o=g|1;k=k+A[h+(g<<3)>>3]*+z[i+(g<<2)>>2]+A[h+(o<<3)>>3]*+z[i+(o<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[h+(g<<3)>>3]*+z[i+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Of}v[a+20>>2]=0}A[j+8>>3]=A[j+8>>3]+A[a>>3];yb(f,p,j+32|0,j+16|0,j);a=v[j+12>>2];v[j+40>>2]=v[j+8>>2];v[j+44>>2]=a;a=v[j+4>>2];v[j+32>>2]=v[j>>2];v[j+36>>2]=a;a=c|4;if(a>>>0>=y[f+24>>2]){t[f+20|0]=1}h=v[f+32>>2];Pf:{if(h>>>0<=a>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Pf}a=v[f+36>>2]+(a<<5)|0}i=w[f+176|0];Qf:{if(!i){break Qf}e=v[a+20>>2];if(!e|(e|0)!=v[f+168>>2]){break Qf}o=v[a+24>>2];q=v[f+172>>2];k=A[a>>3];g=0;if((e|0)!=1){m=e&-2;while(1){s=g|1;k=k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[o+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Qf}v[a+20>>2]=0}A[j+40>>3]=A[j+40>>3]+A[a>>3];a=v[j+44>>2];v[j+24>>2]=v[j+40>>2];v[j+28>>2]=a;a=v[j+36>>2];v[j+16>>2]=v[j+32>>2];v[j+20>>2]=a;a=c|5;if(a>>>0>=y[f+24>>2]){t[f+20|0]=1}Rf:{if(a>>>0>=h>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Rf}a=v[f+36>>2]+(a<<5)|0}Sf:{if(!i){break Sf}e=v[a+20>>2];if(!e|(e|0)!=v[f+168>>2]){break Sf}o=v[a+24>>2];q=v[f+172>>2];k=A[a>>3];g=0;if((e|0)!=1){m=e&-2;while(1){s=g|1;k=k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[o+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Sf}v[a+20>>2]=0}e=c|6;if(e>>>0>=y[f+24>>2]){t[f+20|0]=1}Tf:{if(e>>>0>=h>>>0){e=v[70119];v[163922]=v[70118];v[163923]=e;e=v[70117];v[163920]=v[70116];v[163921]=e;e=v[70115];v[163918]=v[70114];v[163919]=e;e=v[70113];v[163916]=v[70112];v[163917]=e;e=655664;break Tf}e=v[f+36>>2]+(e<<5)|0}Uf:{if(!i){break Uf}o=v[e+20>>2];if(!o|(o|0)!=v[f+168>>2]){break Uf}q=v[e+24>>2];s=v[f+172>>2];k=A[e>>3];g=0;if((o|0)!=1){m=o&-2;while(1){E=g|1;k=k+A[q+(g<<3)>>3]*+z[s+(g<<2)>>2]+A[q+(E<<3)>>3]*+z[s+(E<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=o&1?k+A[q+(g<<3)>>3]*+z[s+(g<<2)>>2]:k;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=k;if(v[e+16>>2]<0){break Uf}v[e+20>>2]=0}A[j+16>>3]=A[j+16>>3]+A[a>>3];A[j+24>>3]=A[j+24>>3]+A[e>>3];a=v[j+28>>2];v[j+8>>2]=v[j+24>>2];v[j+12>>2]=a;a=v[j+20>>2];v[j>>2]=v[j+16>>2];v[j+4>>2]=a;a=c|7;if(a>>>0>=y[f+24>>2]){t[f+20|0]=1}Vf:{if(a>>>0>=h>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Vf}a=v[f+36>>2]+(a<<5)|0}Wf:{if(!i){break Wf}e=v[a+20>>2];if(!e|(e|0)!=v[f+168>>2]){break Wf}o=v[a+24>>2];q=v[f+172>>2];k=A[a>>3];g=0;if((e|0)!=1){m=e&-2;while(1){s=g|1;k=k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[o+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Wf}v[a+20>>2]=0}A[j>>3]=A[j>>3]+A[a>>3];a=v[f+24>>2];if(!(a-c>>>0>15|!(a&1))){if(a>>>0<=d>>>0){t[f+20|0]=1}Xf:{if(d>>>0>=h>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Xf}a=v[f+36>>2]+(d<<5)|0}Yf:{if(!i){break Yf}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break Yf}e=v[a+24>>2];h=v[f+172>>2];k=A[a>>3];g=0;if((c|0)!=1){m=c&-2;while(1){i=g|1;k=k+A[e+(g<<3)>>3]*+z[h+(g<<2)>>2]+A[e+(i<<3)>>3]*+z[h+(i<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=c&1?k+A[e+(g<<3)>>3]*+z[h+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Yf}v[a+20>>2]=0}A[j+8>>3]=A[j+8>>3]+A[a>>3]}yb(f,p,j+32|0,j+16|0,j);a=d+8|0;g=v[f+24>>2];if(a>>>0<=g>>>0){continue}break}break Gf}a=v[f+140>>2];v[j+40>>2]=v[f+136>>2];v[j+44>>2]=a;a=v[f+132>>2];v[j+32>>2]=v[f+128>>2];v[j+36>>2]=a;d=v[f+32>>2];Zf:{if(!d){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Zf}a=v[f+36>>2]}i=w[f+176|0];_f:{if(!i){break _f}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break _f}o=c&1;e=v[f+172>>2];h=v[a+24>>2];k=A[a>>3];$f:{if((c|0)==1){g=0;break $f}m=c&-2;g=0;while(1){c=g|1;k=k+A[h+(g<<3)>>3]*+z[e+(g<<2)>>2]+A[h+(c<<3)>>3]*+z[e+(c<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=o?k+A[h+(g<<3)>>3]*+z[e+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break _f}v[a+20>>2]=0}A[j+32>>3]=A[j+32>>3]+A[a>>3];a=v[j+44>>2];v[j+24>>2]=v[j+40>>2];v[j+28>>2]=a;a=v[j+36>>2];v[j+16>>2]=v[j+32>>2];v[j+20>>2]=a;if(y[f+24>>2]<=1){t[f+20|0]=1}ag:{if(d>>>0<=1){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break ag}a=v[f+36>>2]+32|0}bg:{if(!i){break bg}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break bg}o=c&1;e=v[f+172>>2];h=v[a+24>>2];k=A[a>>3];cg:{if((c|0)==1){g=0;break cg}m=c&-2;g=0;while(1){c=g|1;k=k+A[h+(g<<3)>>3]*+z[e+(g<<2)>>2]+A[h+(c<<3)>>3]*+z[e+(c<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=o?k+A[h+(g<<3)>>3]*+z[e+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break bg}v[a+20>>2]=0}if(y[f+24>>2]<=2){t[f+20|0]=1}dg:{if(d>>>0<=2){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break dg}c=v[f+36>>2]- -64|0}eg:{if(!i){break eg}e=v[c+20>>2];if(!e|(e|0)!=v[f+168>>2]){break eg}q=e&1;h=v[f+172>>2];o=v[c+24>>2];k=A[c>>3];fg:{if((e|0)==1){g=0;break fg}m=e&-2;g=0;while(1){e=g|1;k=k+A[o+(g<<3)>>3]*+z[h+(g<<2)>>2]+A[o+(e<<3)>>3]*+z[h+(e<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=q?k+A[o+(g<<3)>>3]*+z[h+(g<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break eg}v[c+20>>2]=0}A[j+16>>3]=A[j+16>>3]+A[a>>3];A[j+24>>3]=A[j+24>>3]+A[c>>3];a=v[j+28>>2];v[j+8>>2]=v[j+24>>2];v[j+12>>2]=a;a=v[j+20>>2];v[j>>2]=v[j+16>>2];v[j+4>>2]=a;if(y[f+24>>2]<=3){t[f+20|0]=1}gg:{if(d>>>0<=3){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break gg}a=v[f+36>>2]+96|0}hg:{if(!i){break hg}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break hg}o=c&1;e=v[f+172>>2];h=v[a+24>>2];k=A[a>>3];ig:{if((c|0)==1){g=0;break ig}m=c&-2;g=0;while(1){c=g|1;k=k+A[h+(g<<3)>>3]*+z[e+(g<<2)>>2]+A[h+(c<<3)>>3]*+z[e+(c<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=o?k+A[h+(g<<3)>>3]*+z[e+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break hg}v[a+20>>2]=0}A[j+8>>3]=A[j+8>>3]+A[a>>3];g=12;a=4;e=v[f+24>>2];if(e>>>0>=12){while(1){c=a;a=g;yb(f,p,j+32|0,j+16|0,j);d=v[f+140>>2];v[j+40>>2]=v[f+136>>2];v[j+44>>2]=d;d=v[f+132>>2];v[j+32>>2]=v[f+128>>2];v[j+36>>2]=d;if(c>>>0>=y[f+24>>2]){t[f+20|0]=1}i=v[f+32>>2];jg:{if(i>>>0<=c>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break jg}d=v[f+36>>2]+(c<<5)|0}o=w[f+176|0];kg:{if(!o){break kg}e=v[d+20>>2];if(!e|(e|0)!=v[f+168>>2]){break kg}h=v[d+24>>2];q=v[f+172>>2];k=A[d>>3];g=0;if((e|0)!=1){m=e&-2;while(1){s=g|1;k=k+A[h+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[h+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[h+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=k;if(v[d+16>>2]<0){break kg}v[d+20>>2]=0}A[j+40>>3]=A[j+40>>3]+A[d>>3];d=v[j+44>>2];v[j+24>>2]=v[j+40>>2];v[j+28>>2]=d;d=v[j+36>>2];v[j+16>>2]=v[j+32>>2];v[j+20>>2]=d;d=c|1;if(d>>>0>=y[f+24>>2]){t[f+20|0]=1}lg:{if(d>>>0>=i>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break lg}d=v[f+36>>2]+(d<<5)|0}mg:{if(!o){break mg}e=v[d+20>>2];if(!e|(e|0)!=v[f+168>>2]){break mg}h=v[d+24>>2];q=v[f+172>>2];k=A[d>>3];g=0;if((e|0)!=1){m=e&-2;while(1){s=g|1;k=k+A[h+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[h+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[h+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=k;if(v[d+16>>2]<0){break mg}v[d+20>>2]=0}e=c|2;if(e>>>0>=y[f+24>>2]){t[f+20|0]=1}ng:{if(e>>>0>=i>>>0){e=v[70119];v[163922]=v[70118];v[163923]=e;e=v[70117];v[163920]=v[70116];v[163921]=e;e=v[70115];v[163918]=v[70114];v[163919]=e;e=v[70113];v[163916]=v[70112];v[163917]=e;e=655664;break ng}e=v[f+36>>2]+(e<<5)|0}og:{if(!o){break og}h=v[e+20>>2];if(!h|(h|0)!=v[f+168>>2]){break og}q=v[e+24>>2];s=v[f+172>>2];k=A[e>>3];g=0;if((h|0)!=1){m=h&-2;while(1){E=g|1;k=k+A[q+(g<<3)>>3]*+z[s+(g<<2)>>2]+A[q+(E<<3)>>3]*+z[s+(E<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=h&1?k+A[q+(g<<3)>>3]*+z[s+(g<<2)>>2]:k;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=k;if(v[e+16>>2]<0){break og}v[e+20>>2]=0}A[j+16>>3]=A[j+16>>3]+A[d>>3];A[j+24>>3]=A[j+24>>3]+A[e>>3];d=v[j+28>>2];v[j+8>>2]=v[j+24>>2];v[j+12>>2]=d;d=v[j+20>>2];v[j>>2]=v[j+16>>2];v[j+4>>2]=d;d=c|3;if(d>>>0>=y[f+24>>2]){t[f+20|0]=1}pg:{if(d>>>0>=i>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break pg}d=v[f+36>>2]+(d<<5)|0}qg:{if(!o){break qg}e=v[d+20>>2];if(!e|(e|0)!=v[f+168>>2]){break qg}h=v[d+24>>2];i=v[f+172>>2];k=A[d>>3];g=0;if((e|0)!=1){m=e&-2;while(1){o=g|1;k=k+A[h+(g<<3)>>3]*+z[i+(g<<2)>>2]+A[h+(o<<3)>>3]*+z[i+(o<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[h+(g<<3)>>3]*+z[i+(g<<2)>>2]:k;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=k;if(v[d+16>>2]<0){break qg}v[d+20>>2]=0}A[j>>3]=A[j>>3]+A[d>>3];yb(f,p,j+32|0,j+16|0,j);d=v[j+12>>2];v[j+40>>2]=v[j+8>>2];v[j+44>>2]=d;d=v[j+4>>2];v[j+32>>2]=v[j>>2];v[j+36>>2]=d;e=c+4|0;if(e>>>0>=y[f+24>>2]){t[f+20|0]=1}d=v[f+32>>2];rg:{if(e>>>0>=d>>>0){e=v[70119];v[163922]=v[70118];v[163923]=e;e=v[70117];v[163920]=v[70116];v[163921]=e;e=v[70115];v[163918]=v[70114];v[163919]=e;e=v[70113];v[163916]=v[70112];v[163917]=e;e=655664;break rg}e=v[f+36>>2]+(e<<5)|0}i=w[f+176|0];sg:{if(!i){break sg}h=v[e+20>>2];if(!h|(h|0)!=v[f+168>>2]){break sg}o=v[e+24>>2];q=v[f+172>>2];k=A[e>>3];g=0;if((h|0)!=1){m=h&-2;while(1){s=g|1;k=k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[o+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=h&1?k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=k;if(v[e+16>>2]<0){break sg}v[e+20>>2]=0}u=A[e>>3];e=v[j+44>>2];v[j+24>>2]=v[j+40>>2];v[j+28>>2]=e;A[j+32>>3]=u+A[j+32>>3];e=v[j+36>>2];v[j+16>>2]=v[j+32>>2];v[j+20>>2]=e;e=c+5|0;if(e>>>0>=y[f+24>>2]){t[f+20|0]=1}tg:{if(d>>>0<=e>>>0){e=v[70119];v[163922]=v[70118];v[163923]=e;e=v[70117];v[163920]=v[70116];v[163921]=e;e=v[70115];v[163918]=v[70114];v[163919]=e;e=v[70113];v[163916]=v[70112];v[163917]=e;e=655664;break tg}e=v[f+36>>2]+(e<<5)|0}ug:{if(!i){break ug}h=v[e+20>>2];if(!h|(h|0)!=v[f+168>>2]){break ug}o=v[e+24>>2];q=v[f+172>>2];k=A[e>>3];g=0;if((h|0)!=1){m=h&-2;while(1){s=g|1;k=k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]+A[o+(s<<3)>>3]*+z[q+(s<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=h&1?k+A[o+(g<<3)>>3]*+z[q+(g<<2)>>2]:k;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=k;if(v[e+16>>2]<0){break ug}v[e+20>>2]=0}g=c+6|0;if(g>>>0>=y[f+24>>2]){t[f+20|0]=1}vg:{if(d>>>0<=g>>>0){g=v[70119];v[163922]=v[70118];v[163923]=g;g=v[70117];v[163920]=v[70116];v[163921]=g;g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g;h=655664;break vg}h=v[f+36>>2]+(g<<5)|0}wg:{if(!i){break wg}o=v[h+20>>2];if(!o|(o|0)!=v[f+168>>2]){break wg}q=v[h+24>>2];s=v[f+172>>2];k=A[h>>3];g=0;if((o|0)!=1){m=o&-2;while(1){E=g|1;k=k+A[q+(g<<3)>>3]*+z[s+(g<<2)>>2]+A[q+(E<<3)>>3]*+z[s+(E<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=o&1?k+A[q+(g<<3)>>3]*+z[s+(g<<2)>>2]:k;v[h+8>>2]=0;v[h+12>>2]=0;A[h>>3]=k;if(v[h+16>>2]<0){break wg}v[h+20>>2]=0}A[j+16>>3]=A[j+16>>3]+A[e>>3];A[j+24>>3]=A[j+24>>3]+A[h>>3];e=v[j+28>>2];v[j+8>>2]=v[j+24>>2];v[j+12>>2]=e;e=v[j+20>>2];v[j>>2]=v[j+16>>2];v[j+4>>2]=e;c=c+7|0;if(c>>>0>=y[f+24>>2]){t[f+20|0]=1}xg:{if(c>>>0>=d>>>0){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break xg}c=v[f+36>>2]+(c<<5)|0}yg:{if(!i){break yg}e=v[c+20>>2];if(!e|(e|0)!=v[f+168>>2]){break yg}h=v[c+24>>2];o=v[f+172>>2];k=A[c>>3];g=0;if((e|0)!=1){m=e&-2;while(1){q=g|1;k=k+A[h+(g<<3)>>3]*+z[o+(g<<2)>>2]+A[h+(q<<3)>>3]*+z[o+(q<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=e&1?k+A[h+(g<<3)>>3]*+z[o+(g<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break yg}v[c+20>>2]=0}A[j+8>>3]=A[j+8>>3]+A[c>>3];e=v[f+24>>2];g=a+8|0;if(e>>>0>=g>>>0){continue}break}}if(a>>>0<e>>>0){zg:{if(a>>>0>=d>>>0){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break zg}a=v[f+36>>2]+(a<<5)|0}Ag:{if(!i){break Ag}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break Ag}h=c&1;d=v[a+24>>2];e=v[f+172>>2];k=A[a>>3];Bg:{if((c|0)==1){g=0;break Bg}m=c&-2;g=0;while(1){c=g|1;k=k+A[d+(g<<3)>>3]*+z[e+(g<<2)>>2]+A[d+(c<<3)>>3]*+z[e+(c<<2)>>2];g=g+2|0;m=m-2|0;if(m){continue}break}}k=h?k+A[d+(g<<3)>>3]*+z[e+(g<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Ag}v[a+20>>2]=0}A[j>>3]=A[j>>3]+A[a>>3]}yb(f,p,j+32|0,j+16|0,j)}Ca=j+48|0;break Tb}d=Ca-96|0;Ca=d;Cg:{Dg:{Eg:{if(v[f+24>>2]==7){a=v[f+140>>2];v[d+88>>2]=v[f+136>>2];v[d+92>>2]=a;a=v[f+132>>2];v[d+80>>2]=v[f+128>>2];v[d+84>>2]=a;e=v[f+32>>2];Fg:{if(!e){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Fg}a=v[f+36>>2]}g=w[f+176|0];if(!g){break Dg}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break Dg}m=c&1;h=v[f+172>>2];j=v[a+24>>2];k=A[a>>3];if((c|0)==1){break Eg}o=c&-2;while(1){c=i|1;k=k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[j+(c<<3)>>3]*+z[h+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}break Eg}t[f+40|0]=1;break Cg}k=m?k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Dg}v[a+20>>2]=0}A[d+80>>3]=A[d+80>>3]+A[a>>3];a=v[d+92>>2];v[d+72>>2]=v[d+88>>2];v[d+76>>2]=a;a=v[d+84>>2];v[d+64>>2]=v[d+80>>2];v[d+68>>2]=a;if(y[f+24>>2]<=1){t[f+20|0]=1}Gg:{if(e>>>0<=1){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Gg}a=v[f+36>>2]+32|0}Hg:{if(!g){break Hg}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break Hg}m=c&1;h=v[f+172>>2];j=v[a+24>>2];k=A[a>>3];Ig:{if((c|0)==1){i=0;break Ig}o=c&-2;i=0;while(1){c=i|1;k=k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[j+(c<<3)>>3]*+z[h+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=m?k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Hg}v[a+20>>2]=0}if(y[f+24>>2]<=2){t[f+20|0]=1}Jg:{if(e>>>0<=2){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break Jg}c=v[f+36>>2]- -64|0}Kg:{if(!g){break Kg}h=v[c+20>>2];if(!h|(h|0)!=v[f+168>>2]){break Kg}q=h&1;j=v[f+172>>2];m=v[c+24>>2];k=A[c>>3];Lg:{if((h|0)==1){i=0;break Lg}o=h&-2;i=0;while(1){h=i|1;k=k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]+A[m+(h<<3)>>3]*+z[j+(h<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=q?k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break Kg}v[c+20>>2]=0}A[d+64>>3]=A[d+64>>3]+A[a>>3];A[d+72>>3]=A[d+72>>3]+A[c>>3];a=v[d+76>>2];v[d+56>>2]=v[d+72>>2];v[d+60>>2]=a;a=v[d+68>>2];v[d+48>>2]=v[d+64>>2];v[d+52>>2]=a;if(y[f+24>>2]<=3){t[f+20|0]=1}Mg:{if(e>>>0<=3){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Mg}a=v[f+36>>2]+96|0}Ng:{if(!g){break Ng}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break Ng}m=c&1;h=v[f+172>>2];j=v[a+24>>2];k=A[a>>3];Og:{if((c|0)==1){i=0;break Og}o=c&-2;i=0;while(1){c=i|1;k=k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[j+(c<<3)>>3]*+z[h+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=m?k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Ng}v[a+20>>2]=0}A[d+48>>3]=A[d+48>>3]+A[a>>3];a=v[d+60>>2];v[d+40>>2]=v[d+56>>2];v[d+44>>2]=a;a=v[d+52>>2];v[d+32>>2]=v[d+48>>2];v[d+36>>2]=a;if(y[f+24>>2]<=4){t[f+20|0]=1}Pg:{if(e>>>0<=4){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Pg}a=v[f+36>>2]+128|0}Qg:{if(!g){break Qg}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break Qg}m=c&1;h=v[f+172>>2];j=v[a+24>>2];k=A[a>>3];Rg:{if((c|0)==1){i=0;break Rg}o=c&-2;i=0;while(1){c=i|1;k=k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[j+(c<<3)>>3]*+z[h+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=m?k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Qg}v[a+20>>2]=0}A[d+32>>3]=A[d+32>>3]+A[a>>3];a=v[d+44>>2];v[d+24>>2]=v[d+40>>2];v[d+28>>2]=a;a=v[d+36>>2];v[d+16>>2]=v[d+32>>2];v[d+20>>2]=a;if(y[f+24>>2]<=5){t[f+20|0]=1}Sg:{if(e>>>0<=5){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Sg}a=v[f+36>>2]+160|0}Tg:{if(!g){break Tg}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break Tg}m=c&1;h=v[f+172>>2];j=v[a+24>>2];k=A[a>>3];Ug:{if((c|0)==1){i=0;break Ug}o=c&-2;i=0;while(1){c=i|1;k=k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[j+(c<<3)>>3]*+z[h+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=m?k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Tg}v[a+20>>2]=0}u=A[a>>3];a=v[d+92>>2];c=v[d+88>>2];v[d+24>>2]=c;v[d+28>>2]=a;A[d+16>>3]=u+A[d+16>>3];v[d+8>>2]=c;v[d+12>>2]=a;a=v[d+20>>2];v[d>>2]=v[d+16>>2];v[d+4>>2]=a;if(y[f+24>>2]<=6){t[f+20|0]=1}Vg:{if(e>>>0<=6){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Vg}a=v[f+36>>2]+192|0}Wg:{if(!g){break Wg}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break Wg}h=c&1;e=v[f+172>>2];g=v[a+24>>2];k=A[a>>3];Xg:{if((c|0)==1){i=0;break Xg}o=c&-2;i=0;while(1){c=i|1;k=k+A[g+(i<<3)>>3]*+z[e+(i<<2)>>2]+A[g+(c<<3)>>3]*+z[e+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=h?k+A[g+(i<<3)>>3]*+z[e+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Wg}v[a+20>>2]=0}A[d>>3]=A[d>>3]+A[a>>3];yb(f,p,d+80|0,d- -64|0,d+48|0);yb(f,p,d+32|0,d+16|0,d)}Ca=d+96|0;break Tb}d=Ca-96|0;Ca=d;Yg:{Zg:{_g:{if(v[f+24>>2]==13){a=v[f+140>>2];v[d+88>>2]=v[f+136>>2];v[d+92>>2]=a;a=v[f+132>>2];v[d+80>>2]=v[f+128>>2];v[d+84>>2]=a;e=v[f+32>>2];$g:{if(!e){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break $g}a=v[f+36>>2]}g=w[f+176|0];if(!g){break Zg}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break Zg}m=c&1;h=v[f+172>>2];j=v[a+24>>2];k=A[a>>3];if((c|0)==1){break _g}o=c&-2;while(1){c=i|1;k=k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[j+(c<<3)>>3]*+z[h+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}break _g}t[f+40|0]=1;break Yg}k=m?k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Zg}v[a+20>>2]=0}if(y[f+24>>2]<=1){t[f+20|0]=1}ah:{if(e>>>0<=1){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break ah}c=v[f+36>>2]+32|0}bh:{if(!g){break bh}h=v[c+20>>2];if(!h|(h|0)!=v[f+168>>2]){break bh}q=h&1;j=v[f+172>>2];m=v[c+24>>2];k=A[c>>3];ch:{if((h|0)==1){i=0;break ch}o=h&-2;i=0;while(1){h=i|1;k=k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]+A[m+(h<<3)>>3]*+z[j+(h<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=q?k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break bh}v[c+20>>2]=0}A[d+80>>3]=A[d+80>>3]+A[a>>3];A[d+88>>3]=A[d+88>>3]+A[c>>3];a=v[d+92>>2];v[d+72>>2]=v[d+88>>2];v[d+76>>2]=a;a=v[d+84>>2];v[d+64>>2]=v[d+80>>2];v[d+68>>2]=a;if(y[f+24>>2]<=2){t[f+20|0]=1}dh:{if(e>>>0<=2){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break dh}a=v[f+36>>2]- -64|0}eh:{if(!g){break eh}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break eh}m=c&1;h=v[f+172>>2];j=v[a+24>>2];k=A[a>>3];fh:{if((c|0)==1){i=0;break fh}o=c&-2;i=0;while(1){c=i|1;k=k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[j+(c<<3)>>3]*+z[h+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=m?k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break eh}v[a+20>>2]=0}if(y[f+24>>2]<=3){t[f+20|0]=1}gh:{if(e>>>0<=3){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break gh}c=v[f+36>>2]+96|0}hh:{if(!g){break hh}h=v[c+20>>2];if(!h|(h|0)!=v[f+168>>2]){break hh}q=h&1;j=v[f+172>>2];m=v[c+24>>2];k=A[c>>3];ih:{if((h|0)==1){i=0;break ih}o=h&-2;i=0;while(1){h=i|1;k=k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]+A[m+(h<<3)>>3]*+z[j+(h<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=q?k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break hh}v[c+20>>2]=0}A[d+64>>3]=A[d+64>>3]+A[a>>3];A[d+72>>3]=A[d+72>>3]+A[c>>3];a=v[d+76>>2];v[d+56>>2]=v[d+72>>2];v[d+60>>2]=a;a=v[d+68>>2];v[d+48>>2]=v[d+64>>2];v[d+52>>2]=a;if(y[f+24>>2]<=4){t[f+20|0]=1}jh:{if(e>>>0<=4){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break jh}a=v[f+36>>2]+128|0}kh:{if(!g){break kh}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break kh}m=c&1;h=v[f+172>>2];j=v[a+24>>2];k=A[a>>3];lh:{if((c|0)==1){i=0;break lh}o=c&-2;i=0;while(1){c=i|1;k=k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[j+(c<<3)>>3]*+z[h+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=m?k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break kh}v[a+20>>2]=0}if(y[f+24>>2]<=5){t[f+20|0]=1}mh:{if(e>>>0<=5){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break mh}c=v[f+36>>2]+160|0}nh:{if(!g){break nh}h=v[c+20>>2];if(!h|(h|0)!=v[f+168>>2]){break nh}q=h&1;j=v[f+172>>2];m=v[c+24>>2];k=A[c>>3];oh:{if((h|0)==1){i=0;break oh}o=h&-2;i=0;while(1){h=i|1;k=k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]+A[m+(h<<3)>>3]*+z[j+(h<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=q?k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break nh}v[c+20>>2]=0}A[d+48>>3]=A[d+48>>3]+A[a>>3];A[d+56>>3]=A[d+56>>3]+A[c>>3];a=v[d+60>>2];v[d+40>>2]=v[d+56>>2];v[d+44>>2]=a;a=v[d+52>>2];v[d+32>>2]=v[d+48>>2];v[d+36>>2]=a;if(y[f+24>>2]<=6){t[f+20|0]=1}ph:{if(e>>>0<=6){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break ph}a=v[f+36>>2]+192|0}qh:{if(!g){break qh}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break qh}m=c&1;h=v[f+172>>2];j=v[a+24>>2];k=A[a>>3];rh:{if((c|0)==1){i=0;break rh}o=c&-2;i=0;while(1){c=i|1;k=k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[j+(c<<3)>>3]*+z[h+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=m?k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break qh}v[a+20>>2]=0}if(y[f+24>>2]<=7){t[f+20|0]=1}sh:{if(e>>>0<=7){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break sh}c=v[f+36>>2]+224|0}th:{if(!g){break th}h=v[c+20>>2];if(!h|(h|0)!=v[f+168>>2]){break th}q=h&1;j=v[f+172>>2];m=v[c+24>>2];k=A[c>>3];uh:{if((h|0)==1){i=0;break uh}o=h&-2;i=0;while(1){h=i|1;k=k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]+A[m+(h<<3)>>3]*+z[j+(h<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=q?k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break th}v[c+20>>2]=0}A[d+32>>3]=A[d+32>>3]+A[a>>3];A[d+40>>3]=A[d+40>>3]+A[c>>3];a=v[d+44>>2];v[d+24>>2]=v[d+40>>2];v[d+28>>2]=a;a=v[d+36>>2];v[d+16>>2]=v[d+32>>2];v[d+20>>2]=a;if(y[f+24>>2]<=8){t[f+20|0]=1}vh:{if(e>>>0<=8){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break vh}a=v[f+36>>2]+256|0}wh:{if(!g){break wh}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break wh}m=c&1;h=v[f+172>>2];j=v[a+24>>2];k=A[a>>3];xh:{if((c|0)==1){i=0;break xh}o=c&-2;i=0;while(1){c=i|1;k=k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[j+(c<<3)>>3]*+z[h+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=m?k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break wh}v[a+20>>2]=0}if(y[f+24>>2]<=9){t[f+20|0]=1}yh:{if(e>>>0<=9){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break yh}c=v[f+36>>2]+288|0}zh:{if(!g){break zh}h=v[c+20>>2];if(!h|(h|0)!=v[f+168>>2]){break zh}q=h&1;j=v[f+172>>2];m=v[c+24>>2];k=A[c>>3];Ah:{if((h|0)==1){i=0;break Ah}o=h&-2;i=0;while(1){h=i|1;k=k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]+A[m+(h<<3)>>3]*+z[j+(h<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=q?k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break zh}v[c+20>>2]=0}A[d+16>>3]=A[d+16>>3]+A[a>>3];A[d+24>>3]=A[d+24>>3]+A[c>>3];a=v[d+28>>2];v[d+8>>2]=v[d+24>>2];v[d+12>>2]=a;a=v[d+20>>2];v[d>>2]=v[d+16>>2];v[d+4>>2]=a;if(y[f+24>>2]<=10){t[f+20|0]=1}Bh:{if(e>>>0<=10){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Bh}a=v[f+36>>2]+320|0}Ch:{if(!g){break Ch}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break Ch}m=c&1;h=v[f+172>>2];j=v[a+24>>2];k=A[a>>3];Dh:{if((c|0)==1){i=0;break Dh}o=c&-2;i=0;while(1){c=i|1;k=k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[j+(c<<3)>>3]*+z[h+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=m?k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Ch}v[a+20>>2]=0}if(y[f+24>>2]<=11){t[f+20|0]=1}Eh:{if(e>>>0<=11){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break Eh}c=v[f+36>>2]+352|0}Fh:{if(!g){break Fh}e=v[c+20>>2];if(!e|(e|0)!=v[f+168>>2]){break Fh}j=e&1;g=v[f+172>>2];h=v[c+24>>2];k=A[c>>3];Gh:{if((e|0)==1){i=0;break Gh}o=e&-2;i=0;while(1){e=i|1;k=k+A[h+(i<<3)>>3]*+z[g+(i<<2)>>2]+A[h+(e<<3)>>3]*+z[g+(e<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=j?k+A[h+(i<<3)>>3]*+z[g+(i<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break Fh}v[c+20>>2]=0}A[d>>3]=A[d>>3]+A[a>>3];A[d+8>>3]=A[d+8>>3]+A[c>>3];yb(f,p,d+80|0,d- -64|0,d+48|0);yb(f,p,d+32|0,d+16|0,d)}Ca=d+96|0;break Tb}d=Ca-96|0;Ca=d;Hh:{Ih:{Jh:{if(v[f+24>>2]==9){a=v[f+140>>2];v[d+88>>2]=v[f+136>>2];v[d+92>>2]=a;a=v[f+132>>2];v[d+80>>2]=v[f+128>>2];v[d+84>>2]=a;e=v[f+32>>2];Kh:{if(!e){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Kh}a=v[f+36>>2]}g=w[f+176|0];if(!g){break Ih}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break Ih}m=c&1;h=v[f+172>>2];j=v[a+24>>2];k=A[a>>3];if((c|0)==1){break Jh}o=c&-2;while(1){c=i|1;k=k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[j+(c<<3)>>3]*+z[h+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}break Jh}t[f+40|0]=1;break Hh}k=m?k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Ih}v[a+20>>2]=0}if(y[f+24>>2]<=1){t[f+20|0]=1}Lh:{if(e>>>0<=1){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break Lh}c=v[f+36>>2]+32|0}Mh:{if(!g){break Mh}h=v[c+20>>2];if(!h|(h|0)!=v[f+168>>2]){break Mh}q=h&1;j=v[f+172>>2];m=v[c+24>>2];k=A[c>>3];Nh:{if((h|0)==1){i=0;break Nh}o=h&-2;i=0;while(1){h=i|1;k=k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]+A[m+(h<<3)>>3]*+z[j+(h<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=q?k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break Mh}v[c+20>>2]=0}A[d+80>>3]=A[d+80>>3]+A[a>>3];A[d+88>>3]=A[d+88>>3]+A[c>>3];a=v[d+92>>2];v[d+72>>2]=v[d+88>>2];v[d+76>>2]=a;a=v[d+84>>2];v[d+64>>2]=v[d+80>>2];v[d+68>>2]=a;if(y[f+24>>2]<=2){t[f+20|0]=1}Oh:{if(e>>>0<=2){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Oh}a=v[f+36>>2]- -64|0}Ph:{if(!g){break Ph}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break Ph}m=c&1;h=v[f+172>>2];j=v[a+24>>2];k=A[a>>3];Qh:{if((c|0)==1){i=0;break Qh}o=c&-2;i=0;while(1){c=i|1;k=k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[j+(c<<3)>>3]*+z[h+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=m?k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Ph}v[a+20>>2]=0}if(y[f+24>>2]<=3){t[f+20|0]=1}Rh:{if(e>>>0<=3){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break Rh}c=v[f+36>>2]+96|0}Sh:{if(!g){break Sh}h=v[c+20>>2];if(!h|(h|0)!=v[f+168>>2]){break Sh}q=h&1;j=v[f+172>>2];m=v[c+24>>2];k=A[c>>3];Th:{if((h|0)==1){i=0;break Th}o=h&-2;i=0;while(1){h=i|1;k=k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]+A[m+(h<<3)>>3]*+z[j+(h<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=q?k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break Sh}v[c+20>>2]=0}A[d+64>>3]=A[d+64>>3]+A[a>>3];A[d+72>>3]=A[d+72>>3]+A[c>>3];a=v[d+76>>2];v[d+56>>2]=v[d+72>>2];v[d+60>>2]=a;a=v[d+68>>2];v[d+48>>2]=v[d+64>>2];v[d+52>>2]=a;if(y[f+24>>2]<=4){t[f+20|0]=1}Uh:{if(e>>>0<=4){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Uh}a=v[f+36>>2]+128|0}Vh:{if(!g){break Vh}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break Vh}m=c&1;h=v[f+172>>2];j=v[a+24>>2];k=A[a>>3];Wh:{if((c|0)==1){i=0;break Wh}o=c&-2;i=0;while(1){c=i|1;k=k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[j+(c<<3)>>3]*+z[h+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=m?k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Vh}v[a+20>>2]=0}A[d+48>>3]=A[d+48>>3]+A[a>>3];a=v[d+60>>2];v[d+40>>2]=v[d+56>>2];v[d+44>>2]=a;a=v[d+52>>2];v[d+32>>2]=v[d+48>>2];v[d+36>>2]=a;if(y[f+24>>2]<=5){t[f+20|0]=1}Xh:{if(e>>>0<=5){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Xh}a=v[f+36>>2]+160|0}Yh:{if(!g){break Yh}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break Yh}m=c&1;h=v[f+172>>2];j=v[a+24>>2];k=A[a>>3];Zh:{if((c|0)==1){i=0;break Zh}o=c&-2;i=0;while(1){c=i|1;k=k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[j+(c<<3)>>3]*+z[h+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=m?k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break Yh}v[a+20>>2]=0}A[d+32>>3]=A[d+32>>3]+A[a>>3];a=v[d+44>>2];v[d+24>>2]=v[d+40>>2];v[d+28>>2]=a;a=v[d+36>>2];v[d+16>>2]=v[d+32>>2];v[d+20>>2]=a;if(y[f+24>>2]<=6){t[f+20|0]=1}_h:{if(e>>>0<=6){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break _h}a=v[f+36>>2]+192|0}$h:{if(!g){break $h}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break $h}m=c&1;h=v[f+172>>2];j=v[a+24>>2];k=A[a>>3];ai:{if((c|0)==1){i=0;break ai}o=c&-2;i=0;while(1){c=i|1;k=k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]+A[j+(c<<3)>>3]*+z[h+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=m?k+A[j+(i<<3)>>3]*+z[h+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break $h}v[a+20>>2]=0}if(y[f+24>>2]<=7){t[f+20|0]=1}bi:{if(e>>>0<=7){c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break bi}c=v[f+36>>2]+224|0}ci:{if(!g){break ci}h=v[c+20>>2];if(!h|(h|0)!=v[f+168>>2]){break ci}q=h&1;j=v[f+172>>2];m=v[c+24>>2];k=A[c>>3];di:{if((h|0)==1){i=0;break di}o=h&-2;i=0;while(1){h=i|1;k=k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]+A[m+(h<<3)>>3]*+z[j+(h<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=q?k+A[m+(i<<3)>>3]*+z[j+(i<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break ci}v[c+20>>2]=0}A[d+16>>3]=A[d+16>>3]+A[a>>3];A[d+24>>3]=A[d+24>>3]+A[c>>3];a=v[d+28>>2];v[d+8>>2]=v[d+24>>2];v[d+12>>2]=a;a=v[d+20>>2];v[d>>2]=v[d+16>>2];v[d+4>>2]=a;if(y[f+24>>2]<=8){t[f+20|0]=1}ei:{if(e>>>0<=8){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break ei}a=v[f+36>>2]+256|0}fi:{if(!g){break fi}c=v[a+20>>2];if(!c|(c|0)!=v[f+168>>2]){break fi}h=c&1;e=v[f+172>>2];g=v[a+24>>2];k=A[a>>3];gi:{if((c|0)==1){i=0;break gi}o=c&-2;i=0;while(1){c=i|1;k=k+A[g+(i<<3)>>3]*+z[e+(i<<2)>>2]+A[g+(c<<3)>>3]*+z[e+(c<<2)>>2];i=i+2|0;o=o-2|0;if(o){continue}break}}k=h?k+A[g+(i<<3)>>3]*+z[e+(i<<2)>>2]:k;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=k;if(v[a+16>>2]<0){break fi}v[a+20>>2]=0}A[d>>3]=A[d>>3]+A[a>>3];a=v[f+140>>2];v[d+8>>2]=v[f+136>>2];v[d+12>>2]=a;yb(f,p,d+80|0,d- -64|0,d+48|0);yb(f,p,d+32|0,d+16|0,d)}Ca=d+96|0;break Tb}i=Ca-96|0;Ca=i;hi:{ii:{if(v[f+24>>2]==11){m=v[f+168>>2];a=m&-2;G=m&1;q=m-1|0;o=v[f+172>>2];c=v[f+36>>2];s=v[f+32>>2];E=w[f+176|0];M=E;j=1;while(1){if(!(j&1)){t[f+20|0]=1}ji:{if(g>>>0>=s>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;e=655664;break ji}e=c+(g<<5)|0}ki:{if(!M){break ki}d=v[e+20>>2];if(!d|(d|0)!=(m|0)){break ki}h=v[e+24>>2];r=A[e>>3];j=0;d=a;if(q){while(1){F=j|1;r=r+A[h+(j<<3)>>3]*+z[o+(j<<2)>>2]+A[h+(F<<3)>>3]*+z[o+(F<<2)>>2];j=j+2|0;d=d-2|0;if(d){continue}break}}r=G?r+A[h+(j<<3)>>3]*+z[o+(j<<2)>>2]:r;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=r;if(v[e+16>>2]<0){break ki}v[e+20>>2]=0}d=g|1;if(d>>>0>=y[f+24>>2]){t[f+20|0]=1}li:{if(d>>>0>=s>>>0){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;h=655664;break li}h=c+(d<<5)|0}mi:{if(!M){break mi}d=v[h+20>>2];if(!d|(d|0)!=(m|0)){break mi}F=v[h+24>>2];r=A[h>>3];j=0;d=a;if(q){while(1){Q=j|1;r=r+A[F+(j<<3)>>3]*+z[o+(j<<2)>>2]+A[F+(Q<<3)>>3]*+z[o+(Q<<2)>>2];j=j+2|0;d=d-2|0;if(d){continue}break}}r=G?r+A[F+(j<<3)>>3]*+z[o+(j<<2)>>2]:r;v[h+8>>2]=0;v[h+12>>2]=0;A[h>>3]=r;if(v[h+16>>2]<0){break mi}v[h+20>>2]=0}u=u+A[h>>3];k=k+A[e>>3];if(g>>>0>7){break ii}g=g+2|0;j=g>>>0<y[f+24>>2];continue}}t[f+40|0]=1;break hi}a=v[f+140>>2];v[i+88>>2]=v[f+136>>2];v[i+92>>2]=a;a=v[f+132>>2];v[i+80>>2]=v[f+128>>2];v[i+84>>2]=a;if(!v[f+24>>2]){t[f+20|0]=1}g=c;if(!s){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;g=655664}ni:{if(!E){break ni}a=v[g+20>>2];if(!a|(a|0)!=(m|0)){break ni}e=m&1;a=v[g+24>>2];r=A[g>>3];oi:{if(!q){j=0;break oi}d=m&-2;j=0;while(1){h=j|1;r=r+A[a+(j<<3)>>3]*+z[o+(j<<2)>>2]+A[a+(h<<3)>>3]*+z[o+(h<<2)>>2];j=j+2|0;d=d-2|0;if(d){continue}break}}r=e?r+A[a+(j<<3)>>3]*+z[o+(j<<2)>>2]:r;v[g+8>>2]=0;v[g+12>>2]=0;A[g>>3]=r;if(v[g+16>>2]<0){break ni}v[g+20>>2]=0}if(y[f+24>>2]<=1){t[f+20|0]=1}pi:{if(s>>>0<=1){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break pi}a=c+32|0}qi:{if(!E){break qi}d=v[a+20>>2];if(!d|(d|0)!=(m|0)){break qi}h=m&1;e=v[a+24>>2];r=A[a>>3];ri:{if(!q){j=0;break ri}d=m&-2;j=0;while(1){F=j|1;r=r+A[e+(j<<3)>>3]*+z[o+(j<<2)>>2]+A[e+(F<<3)>>3]*+z[o+(F<<2)>>2];j=j+2|0;d=d-2|0;if(d){continue}break}}r=h?r+A[e+(j<<3)>>3]*+z[o+(j<<2)>>2]:r;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=r;if(v[a+16>>2]<0){break qi}v[a+20>>2]=0}A[i+80>>3]=A[i+80>>3]+A[g>>3];A[i+88>>3]=A[i+88>>3]+A[a>>3];a=v[i+92>>2];v[i+72>>2]=v[i+88>>2];v[i+76>>2]=a;a=v[i+84>>2];v[i+64>>2]=v[i+80>>2];v[i+68>>2]=a;if(y[f+24>>2]<=2){t[f+20|0]=1}si:{if(s>>>0<=2){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break si}a=c- -64|0}ti:{if(!E){break ti}d=v[a+20>>2];if(!d|(d|0)!=(m|0)){break ti}g=m&1;e=v[a+24>>2];r=A[a>>3];ui:{if(!q){j=0;break ui}d=m&-2;j=0;while(1){h=j|1;r=r+A[e+(j<<3)>>3]*+z[o+(j<<2)>>2]+A[e+(h<<3)>>3]*+z[o+(h<<2)>>2];j=j+2|0;d=d-2|0;if(d){continue}break}}r=g?r+A[e+(j<<3)>>3]*+z[o+(j<<2)>>2]:r;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=r;if(v[a+16>>2]<0){break ti}v[a+20>>2]=0}if(y[f+24>>2]<=3){t[f+20|0]=1}vi:{if(s>>>0<=3){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;e=655664;break vi}e=c+96|0}wi:{if(!E){break wi}d=v[e+20>>2];if(!d|(d|0)!=(m|0)){break wi}h=m&1;g=v[e+24>>2];r=A[e>>3];xi:{if(!q){j=0;break xi}d=m&-2;j=0;while(1){F=j|1;r=r+A[g+(j<<3)>>3]*+z[o+(j<<2)>>2]+A[g+(F<<3)>>3]*+z[o+(F<<2)>>2];j=j+2|0;d=d-2|0;if(d){continue}break}}r=h?r+A[g+(j<<3)>>3]*+z[o+(j<<2)>>2]:r;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=r;if(v[e+16>>2]<0){break wi}v[e+20>>2]=0}A[i+64>>3]=A[i+64>>3]+A[a>>3];A[i+72>>3]=A[i+72>>3]+A[e>>3];a=v[i+76>>2];v[i+56>>2]=v[i+72>>2];v[i+60>>2]=a;a=v[i+68>>2];v[i+48>>2]=v[i+64>>2];v[i+52>>2]=a;if(y[f+24>>2]<=4){t[f+20|0]=1}yi:{if(s>>>0<=4){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break yi}a=c+128|0}zi:{if(!E){break zi}d=v[a+20>>2];if(!d|(d|0)!=(m|0)){break zi}g=m&1;e=v[a+24>>2];r=A[a>>3];Ai:{if(!q){j=0;break Ai}d=m&-2;j=0;while(1){h=j|1;r=r+A[e+(j<<3)>>3]*+z[o+(j<<2)>>2]+A[e+(h<<3)>>3]*+z[o+(h<<2)>>2];j=j+2|0;d=d-2|0;if(d){continue}break}}r=g?r+A[e+(j<<3)>>3]*+z[o+(j<<2)>>2]:r;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=r;if(v[a+16>>2]<0){break zi}v[a+20>>2]=0}if(y[f+24>>2]<=5){t[f+20|0]=1}Bi:{if(s>>>0<=5){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;e=655664;break Bi}e=c+160|0}Ci:{if(!E){break Ci}d=v[e+20>>2];if(!d|(d|0)!=(m|0)){break Ci}h=m&1;g=v[e+24>>2];r=A[e>>3];Di:{if(!q){j=0;break Di}d=m&-2;j=0;while(1){F=j|1;r=r+A[g+(j<<3)>>3]*+z[o+(j<<2)>>2]+A[g+(F<<3)>>3]*+z[o+(F<<2)>>2];j=j+2|0;d=d-2|0;if(d){continue}break}}r=h?r+A[g+(j<<3)>>3]*+z[o+(j<<2)>>2]:r;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=r;if(v[e+16>>2]<0){break Ci}v[e+20>>2]=0}A[i+48>>3]=A[i+48>>3]+A[a>>3];A[i+56>>3]=A[i+56>>3]+A[e>>3];a=v[i+60>>2];v[i+40>>2]=v[i+56>>2];v[i+44>>2]=a;a=v[i+52>>2];v[i+32>>2]=v[i+48>>2];v[i+36>>2]=a;if(y[f+24>>2]<=6){t[f+20|0]=1}Ei:{if(s>>>0<=6){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Ei}a=c+192|0}Fi:{if(!E){break Fi}d=v[a+20>>2];if(!d|(d|0)!=(m|0)){break Fi}g=m&1;e=v[a+24>>2];r=A[a>>3];Gi:{if(!q){j=0;break Gi}d=m&-2;j=0;while(1){h=j|1;r=r+A[e+(j<<3)>>3]*+z[o+(j<<2)>>2]+A[e+(h<<3)>>3]*+z[o+(h<<2)>>2];j=j+2|0;d=d-2|0;if(d){continue}break}}r=g?r+A[e+(j<<3)>>3]*+z[o+(j<<2)>>2]:r;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=r;if(v[a+16>>2]<0){break Fi}v[a+20>>2]=0}if(y[f+24>>2]<=7){t[f+20|0]=1}Hi:{if(s>>>0<=7){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;e=655664;break Hi}e=c+224|0}Ii:{if(!E){break Ii}d=v[e+20>>2];if(!d|(d|0)!=(m|0)){break Ii}h=m&1;g=v[e+24>>2];r=A[e>>3];Ji:{if(!q){j=0;break Ji}d=m&-2;j=0;while(1){F=j|1;r=r+A[g+(j<<3)>>3]*+z[o+(j<<2)>>2]+A[g+(F<<3)>>3]*+z[o+(F<<2)>>2];j=j+2|0;d=d-2|0;if(d){continue}break}}r=h?r+A[g+(j<<3)>>3]*+z[o+(j<<2)>>2]:r;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=r;if(v[e+16>>2]<0){break Ii}v[e+20>>2]=0}A[i+32>>3]=A[i+32>>3]+A[a>>3];A[i+40>>3]=A[i+40>>3]+A[e>>3];a=v[i+44>>2];v[i+24>>2]=v[i+40>>2];v[i+28>>2]=a;a=v[i+36>>2];v[i+16>>2]=v[i+32>>2];v[i+20>>2]=a;if(y[f+24>>2]<=8){t[f+20|0]=1}Ki:{if(s>>>0<=8){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Ki}a=c+256|0}Li:{if(!E){break Li}d=v[a+20>>2];if(!d|(d|0)!=(m|0)){break Li}g=m&1;e=v[a+24>>2];r=A[a>>3];Mi:{if(!q){j=0;break Mi}d=m&-2;j=0;while(1){h=j|1;r=r+A[e+(j<<3)>>3]*+z[o+(j<<2)>>2]+A[e+(h<<3)>>3]*+z[o+(h<<2)>>2];j=j+2|0;d=d-2|0;if(d){continue}break}}r=g?r+A[e+(j<<3)>>3]*+z[o+(j<<2)>>2]:r;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=r;if(v[a+16>>2]<0){break Li}v[a+20>>2]=0}if(y[f+24>>2]<=9){t[f+20|0]=1}Ni:{if(s>>>0<=9){d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;e=655664;break Ni}e=c+288|0}Oi:{if(!E){break Oi}d=v[e+20>>2];if(!d|(d|0)!=(m|0)){break Oi}h=m&1;g=v[e+24>>2];r=A[e>>3];Pi:{if(!q){j=0;break Pi}d=m&-2;j=0;while(1){F=j|1;r=r+A[g+(j<<3)>>3]*+z[o+(j<<2)>>2]+A[g+(F<<3)>>3]*+z[o+(F<<2)>>2];j=j+2|0;d=d-2|0;if(d){continue}break}}r=h?r+A[g+(j<<3)>>3]*+z[o+(j<<2)>>2]:r;v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=r;if(v[e+16>>2]<0){break Oi}v[e+20>>2]=0}A[i+16>>3]=A[i+16>>3]+A[a>>3];A[i+24>>3]=A[i+24>>3]+A[e>>3];a=v[i+28>>2];v[i+8>>2]=v[i+24>>2];v[i+12>>2]=a;a=v[i+20>>2];v[i>>2]=v[i+16>>2];v[i+4>>2]=a;Qi:{Ri:{Si:{if(D(k)>D(u)){if(y[f+24>>2]<=10){t[f+20|0]=1}Ti:{if(s>>>0<=10){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Ti}a=c+320|0}if(!E){break Ri}c=v[a+20>>2];if(!c|(c|0)!=(m|0)){break Ri}e=m&1;c=v[a+24>>2];r=A[a>>3];if(!q){j=0;break Si}d=m&-2;j=0;while(1){g=j|1;r=r+A[c+(j<<3)>>3]*+z[o+(j<<2)>>2]+A[c+(g<<3)>>3]*+z[o+(g<<2)>>2];j=j+2|0;d=d-2|0;if(d){continue}break}break Si}a=v[f+132>>2];v[i>>2]=v[f+128>>2];v[i+4>>2]=a;if(y[f+24>>2]<=10){t[f+20|0]=1}Ui:{if(s>>>0<=10){a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Ui}a=c+320|0}Vi:{if(!E){break Vi}c=v[a+20>>2];if(!c|(c|0)!=(m|0)){break Vi}e=m&1;c=v[a+24>>2];r=A[a>>3];Wi:{if(!q){j=0;break Wi}d=m&-2;j=0;while(1){g=j|1;r=r+A[c+(j<<3)>>3]*+z[o+(j<<2)>>2]+A[c+(g<<3)>>3]*+z[o+(g<<2)>>2];j=j+2|0;d=d-2|0;if(d){continue}break}}r=e?r+A[c+(j<<3)>>3]*+z[o+(j<<2)>>2]:r;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=r;if(v[a+16>>2]<0){break Vi}v[a+20>>2]=0}A[i+8>>3]=A[i+8>>3]+A[a>>3];break Qi}r=e?r+A[c+(j<<3)>>3]*+z[o+(j<<2)>>2]:r;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=r;if(v[a+16>>2]<0){break Ri}v[a+20>>2]=0}A[i>>3]=A[i>>3]+A[a>>3];a=v[f+140>>2];v[i+8>>2]=v[f+136>>2];v[i+12>>2]=a}yb(f,p,i+80|0,i- -64|0,i+48|0);yb(f,p,i+32|0,i+16|0,i)}Ca=i+96|0;break Tb}Xi:{Yi:{Zi:{_i:{$i:{aj:{switch(d-247|0){default:if((d|0)!=28){break $i}a=v[f+12>>2];d=v[f+4>>2];bj:{if(a>>>0>=d>>>0){t[f+16|0]=1;c=280448;break bj}c=a+v[f>>2]|0}c=w[c|0];a=a+1|0;cj:{if(a>>>0>=d>>>0){t[f+16|0]=1;a=280448;break cj}a=a+v[f>>2]|0}d=w[a|0];a=v[f+24>>2];dj:{if(a>>>0<y[f+32>>2]){v[f+24>>2]=a+1;a=v[f+36>>2]+(a<<5)|0;break dj}t[f+20|0]=1;a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664}v[a+8>>2]=0;v[a+12>>2]=0;if(v[a+16>>2]>=0){v[a+20>>2]=0}A[a>>3]=(d|c<<8)<<16>>16;if(w[f+16|0]){d=v[f+4>>2];break _i}d=v[f+4>>2];a=v[f+12>>2];if(d>>>0<a>>>0){break _i}a=a+2|0;if(d>>>0<a>>>0){break _i}break Zi;case 0:case 1:case 2:case 3:a=v[f+12>>2];ej:{if(a>>>0>=y[f+4>>2]){t[f+16|0]=1;a=280448;break ej}a=a+v[f>>2]|0}c=((w[a|0]|(d<<8)+2304)<<16)+7077888|0;a=v[f+24>>2];fj:{if(a>>>0<y[f+32>>2]){v[f+24>>2]=a+1;a=v[f+36>>2]+(a<<5)|0;break fj}t[f+20|0]=1;a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664}v[a+8>>2]=0;v[a+12>>2]=0;if(v[a+16>>2]>=0){v[a+20>>2]=0}A[a>>3]=c>>16;if(w[f+16|0]){d=v[f+4>>2];break Yi}d=v[f+4>>2];a=v[f+12>>2];if(d>>>0<a>>>0){break Yi}a=a+1|0;if(d>>>0<a>>>0){break Yi}break Zi;case 4:case 5:case 6:case 7:break aj}}a=v[f+12>>2];gj:{if(a>>>0>=y[f+4>>2]){t[f+16|0]=1;a=280448;break gj}a=a+v[f>>2]|0}c=w[a|0]|(d<<16)-16449536>>>8;a=v[f+24>>2];hj:{if(a>>>0<y[f+32>>2]){v[f+24>>2]=a+1;a=v[f+36>>2]+(a<<5)|0;break hj}t[f+20|0]=1;a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664}v[a+8>>2]=0;v[a+12>>2]=0;if(v[a+16>>2]>=0){v[a+20>>2]=0}A[a>>3]=-108-c|0;if(w[f+16|0]){d=v[f+4>>2];break Yi}d=v[f+4>>2];a=v[f+12>>2];if(d>>>0<a>>>0){break Yi}a=a+1|0;if(d>>>0<a>>>0){break Yi}break Zi}if(d-32>>>0<=214){a=v[f+24>>2];ij:{if(a>>>0<y[f+32>>2]){v[f+24>>2]=a+1;a=v[f+36>>2]+(a<<5)|0;break ij}t[f+20|0]=1;a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664}v[a+8>>2]=0;v[a+12>>2]=0;if(v[a+16>>2]>=0){v[a+20>>2]=0}A[a>>3]=d-139|0;break Xi}t[f+40|0]=1;v[f+24>>2]=0;break Xi}t[f+16|0]=1;v[f+12>>2]=d;break Xi}v[f+12>>2]=a;break Xi}t[f+16|0]=1;v[f+12>>2]=d}break Sb}k=g?k+A[e+(a<<3)>>3]*+z[d+(a<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break Yb}v[c+20>>2]=0}k=A[c>>3];t[p|0]=0;A[f+136>>3]=u+k;A[f+128>>3]=r;break Ub}k=g?k+A[e+(a<<3)>>3]*+z[d+(a<<2)>>2]:k;v[c+8>>2]=0;v[c+12>>2]=0;A[c>>3]=k;if(v[c+16>>2]<0){break Wb}v[c+20>>2]=0}k=A[c>>3];t[p|0]=0;A[f+136>>3]=u;A[f+128>>3]=r+k;break Ub}t[f+16|0]=1;v[f+12>>2]=a;break Sb}if(!w[f+73|0]){if(!w[f+74|0]){t[f+74|0]=1;a=v[f+80>>2]+(v[f+24>>2]>>>1|0)|0;v[f+80>>2]=a;v[f+84>>2]=(a+v[f+76>>2]|0)+7>>>3}t[f+73|0]=1}}v[f+24>>2]=0}}d=0;jj:{kj:{if(w[p+144|0]|v[p+152>>2]<0|(w[p+96|0]|w[p+72|0])){break kj}if(w[p+76|0]|v[p+84>>2]<0){break kj}if(!w[p+128|0]){break jj}k=A[p+24>>3];u=A[p+8>>3];lj:{if(!(k>u)){v[x>>2]=0;v[x+8>>2]=0;break lj}g=v[J+20>>2];I=C(u);c=v[J+16>>2];d=v[c+28>>2];mj:{if(d){a=d;e=g;break mj}a=Fb(c);c=v[J+16>>2];d=v[c+28>>2];k=A[p+24>>3];e=v[J+20>>2]}h=x;I=C(H(C(C(C(I*C(g|0))/C(a>>>0))+C(.5))));nj:{if(C(D(I))<C(2147483648)){g=~~I;break nj}g=-2147483648}v[h>>2]=g;if(!d){d=Fb(c);g=v[x>>2]}a=x;I=C(H(C(C(C(C(k)*C(e|0))/C(d>>>0))+C(.5))));oj:{if(C(D(I))<C(2147483648)){c=~~I;break oj}c=-2147483648}v[a+8>>2]=c-g}k=A[p+16>>3];u=A[p+32>>3];pj:{if(!(k<u)){v[x+4>>2]=0;v[x+12>>2]=0;break pj}g=v[J+24>>2];I=C(u);c=v[J+16>>2];d=v[c+28>>2];qj:{if(d){a=d;e=g;break qj}a=Fb(c);c=v[J+16>>2];d=v[c+28>>2];k=A[p+16>>3];e=v[J+24>>2]}h=x;I=C(H(C(C(C(I*C(g|0))/C(a>>>0))+C(.5))));rj:{if(C(D(I))<C(2147483648)){g=~~I;break rj}g=-2147483648}v[h+4>>2]=g;if(!d){d=Fb(c);g=v[x+4>>2]}a=x;I=C(H(C(C(C(C(k)*C(e|0))/C(d>>>0))+C(.5))));sj:{if(C(D(I))<C(2147483648)){c=~~I;break sj}c=-2147483648}v[a+12>>2]=c-g}d=1}a=0;Pa(v[p+228>>2]);v[p+228>>2]=0;v[p+220>>2]=0;v[p+224>>2]=0;e=v[p+88>>2];if(e){while(1){c=v[p+92>>2]+(a<<5)|0;Pa(v[c+24>>2]);v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;a=a+1|0;if((e|0)!=(a|0)){continue}break}}Pa(v[p+92>>2]);v[p+92>>2]=0;v[p+84>>2]=0;v[p+88>>2]=0;Pa(v[p+160>>2]);v[p+160>>2]=0;v[p+152>>2]=0;v[p+156>>2]=0;Pa(v[p+228>>2]);v[p+228>>2]=0;v[p+220>>2]=0;v[p+224>>2]=0;Pa(v[p+160>>2]);v[p+160>>2]=0;v[p+152>>2]=0;v[p+156>>2]=0;Pa(v[p+92>>2]);v[p+92>>2]=0;v[p+84>>2]=0;v[p+88>>2]=0;break ab}continue}d=1;continue}}Ca=p+240|0;if(d){break v}c=Ca-48|0;Ca=c;i=b+136|0;b=v[i>>2];tj:{if(b){break tj}m=i-136|0;while(1){P=v[m>>2];if(!P){b=280448;break tj}a=eb(1,12);uj:{if(!a){if(b){break uj}b=280448;v[i>>2]=280448;break tj}v[c+16>>2]=0;v[c+20>>2]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;b=Nb(P);t[c+44|0]=1;v[c+40>>2]=b;g=a;e=Jb(P,1128418371);d=0;j=Ca-16|0;Ca=j;b=c+8|0;p=Hb(e);v[b+28>>2]=p;vj:{wj:{xj:{yj:{zj:{Aj:{while(1){t[b+20|0]=d;h=v[p+12>>2];v[b+4>>2]=h;o=v[p+16>>2];v[b+8>>2]=o+h;if((o|0)<=-1){break a}v[b+24>>2]=0;f=b;if(o>>>0>67108862){d=1073741823}else{d=o<<6;d=d>>>0>16384?d:16384;d=d>>>0<1073741823?d:1073741823}v[f+12>>2]=d;v[b>>2]=0;if(!h){Sa(p);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;break wj}if(o>>>0<=7){break zj}v[b+12>>2]=d-8;if((w[h+1|0]&254|w[h|0]<<8)!=2){break zj}v[j+8>>2]=h;Bj:{d=h+4|0;if(kx(d,b,j+8|0)){if(!v[b+24>>2]){break Bj}v[b+24>>2]=0;if(h>>>0<y[b+4>>2]){break zj}f=v[b+8>>2];if(f>>>0<h>>>0|f-h>>>0<=7){break zj}f=v[b+12>>2]-8|0;v[b+12>>2]=f;if((w[h+1|0]&254|w[h|0]<<8)!=2|(f|0)<1){break zj}v[j+12>>2]=h;d=kx(d,b,j+12|0);p=v[b+28>>2];if(v[b+24>>2]){break yj}Sa(p);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(d){break Aj}break xj}if(w[b+20|0]|!v[b+24>>2]){break zj}f=xc(e);v[b+4>>2]=f;v[b+8>>2]=f+v[e+16>>2];p=v[b+28>>2];d=1;if(f){continue}break yj}break}Sa(v[b+28>>2]);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0}if(v[e+4>>2]){v[e+4>>2]=0}break wj}p=v[b+28>>2]}Sa(p);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0}Sa(e);e=280448}Ca=j+16|0;break vj}v[g>>2]=e;v[c+16>>2]=0;v[c+20>>2]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;t[c+44|0]=0;v[c+40>>2]=65536;b=Nb(P);t[c+44|0]=1;v[c+40>>2]=b;e=a;b=Jb(P,1128416340);f=Hb(b);t[c+28|0]=0;v[c+36>>2]=f;h=v[f+12>>2];v[c+12>>2]=h;p=v[f+16>>2];v[c+16>>2]=p+h;Cj:{if((p|0)>-1){v[c+32>>2]=0;g=c;if(p>>>0>67108862){d=1073741823}else{d=p<<6;d=d>>>0>16384?d:16384;d=d>>>0<1073741823?d:1073741823}v[g+20>>2]=d;v[c+8>>2]=0;if(!h){Sa(f);v[c+36>>2]=0;v[c+12>>2]=0;v[c+16>>2]=0;break Cj}Dj:{if(p>>>0>=4){v[c+20>>2]=d-4;d=w[h|0];g=w[h+1|0];Sa(f);v[c+36>>2]=0;v[c+12>>2]=0;v[c+16>>2]=0;if((g&254|d<<8)!=2){break Dj}if(v[b+4>>2]){v[b+4>>2]=0}break Cj}Sa(f);v[c+36>>2]=0;v[c+12>>2]=0;v[c+16>>2]=0}Sa(b);b=280448;break Cj}break a}v[e+4>>2]=b;$=a,aa=Ej(P),v[$+8>>2]=aa;if(!v[i>>2]){b=a;v[i>>2]=a;break tj}b=v[a>>2];Sa(b?b:280448);v[a>>2]=0;b=v[a+4>>2];Sa(b?b:280448);Pa(a);b=v[i>>2]}if(!b){continue}break}}Ca=c+48|0;d=b;f=Ca-16|0;Ca=f;b=280448;a=v[d>>2];a=a?a:280448;g=y[a+16>>2]<8?280448:v[a+12>>2];a=w[g+4|0]|w[g+5|0]<<8|(w[g+6|0]<<16|w[g+7|0]<<24);h=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(h){b=0;if((h|0)!=1){a=v[J+52>>2];b=v[J+48>>2];a=a>>>0>b>>>0?a:b;i=a?a:1073741824;c=w[(w[g+52|0]<w[g+53|0]?g+53|0:g+52|0)|0];b=0;a=1;while(1){e=g+B(a,48)|0;e=w[(w[e+52|0]<w[e+53|0]?e+53|0:e+52|0)|0];if(c>>>0>=i>>>0|c>>>0>=e>>>0?c>>>0>e>>>0?e>>>0>=i>>>0:0:1){b=a;c=e}a=a+1|0;if((h|0)!=(a|0)){continue}break}}b=b>>>0<h>>>0?(g+B(b,48)|0)+8|0:280448}a=0;c=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);Ej:{if(!h){break Ej}c=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);e=g+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;while(1){c=(a|0)<0?280448:e+(a<<3)|0;if(!(K>>>0<(w[c|0]<<8|w[c+1|0])>>>0|K>>>0>(w[c+3|0]|w[c+2|0]<<8)>>>0)){a=0;if(!w[b+44|0]|!w[b+45|0]){break Ej}v[f+12>>2]=0;v[f+8>>2]=0;v[f+4>>2]=0;g=0;h=w[c+1|0]|w[c|0]<<8;Fj:{if(h>>>0>K>>>0|K>>>0>(w[c+3|0]|w[c+2|0]<<8)>>>0){break Fj}c=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+e|0:280448;v[f+4>>2]=w[c+2|0]<<8|w[c+3|0];K=K-h|0;Gj:{Hj:{e=w[c|0]|w[c+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 2:break Gj;case 0:break Hj;default:break Fj}}h=c+8|0;e=K+1|0;e=(e|0)<0?280448:h+(e<<2)|0;g=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);i=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);g=(K|0)<0?280448:h+(K<<2)|0;K=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);K=K<<24|K<<8&16711680|(K>>>8&65280|K>>>24);if(i>>>0>K>>>0){c=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);v[f+12>>2]=K+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24));c=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);v[f+8>>2]=e-(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))}g=i>>>0>K>>>0;break Fj}h=c+8|0;e=K+1|0;e=(e|0)<0?280448:h+(e<<1)|0;K=(K|0)<0?280448:h+(K<<1)|0;h=w[K|0]<<8|w[K+1|0];if((w[e|0]<<8|w[e+1|0])>>>0<=h>>>0){break Fj}c=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);v[f+12>>2]=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+h;v[f+8>>2]=(w[e+1|0]|w[e|0]<<8)-(w[K+1|0]|w[K|0]<<8);g=1}if(!g){break Ej}c=v[d+4>>2];K=c?c:280448;c=v[K+16>>2];e=v[f+12>>2];if(c>>>0<e>>>0){break Ej}g=v[f+8>>2];if(g>>>0>c-e>>>0){break Ej}Ij:{Jj:{switch(v[f+4>>2]-17|0){case 0:if(g>>>0>=9){break Ij}break Ej;case 1:break Jj;default:break Ej}}if(g>>>0<12){break Ej}}I=C(y[d+8>>2]);N=C(I/C(w[b+44|0]));g=v[J+32>>2];h=v[J+36>>2];a=e+(c>>>0<4?280448:v[K+12>>2])|0;c=eQ(g,h,w[a+1|0],0);U=C(H(C(C(N*C((Da&65535)<<16|c>>>16))+C(.5))));Kj:{if(C(D(U))<C(2147483648)){c=~~U;break Kj}c=-2147483648}K=w[a|0];d=t[a+2|0];i=d;p=d>>31;P=t[a+3|0];j=P;d=v[J+40>>2];e=v[J+44>>2];b=w[b+45|0];v[x+8>>2]=c;a=x;I=C(I/C(b>>>0));b=eQ(j,j>>31,d,e);U=C(H(C(C(I*C((Da&65535)<<16|b>>>16))+C(.5))));Lj:{if(C(D(U))<C(2147483648)){b=~~U;break Lj}b=-2147483648}v[a+4>>2]=b;a=x;b=eQ(i,p,g,h);N=C(H(C(C(N*C((Da&65535)<<16|b>>>16))+C(.5))));Mj:{if(C(D(N))<C(2147483648)){b=~~N;break Mj}b=-2147483648}v[a>>2]=b;a=eQ(K,0,d,e);b=0-(((a|0)!=0)+Da|0)|0;a=0-a|0;I=C(H(C(C(I*C((b&65535)<<16|a>>>16))+C(.5))));Nj:{if(C(D(I))<C(2147483648)){a=~~I;break Nj}a=-2147483648}v[x+12>>2]=a;a=1;break Ej}a=a+1|0;if((h|0)!=(a|0)){continue}break}a=0}Ca=f+16|0;P=a}return P|0}O(248800,248825,194,248842);L()}
|
||
function Bw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,A=0,E=0,F=0,G=0,I=0,J=0,K=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=C(0),W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0;P=Ca-16|0;Ca=P;v[c+32>>2]=0;f=v[c+76>>2];a:{if(f>>>0>67108862){break a}i=f<<6;v[c+36>>2]=i>>>0>16384?i:16384;if(f>>>0>4194302){break a}f=f<<10;v[c+40>>2]=f>>>0>16384?f:16384}t[c+168|0]=48;ea=v[c+48>>2];v[c+80>>2]=0;t[c+69|0]=1;t[c+70|0]=0;v[c+92>>2]=v[c+88>>2];k=v[c+76>>2];if(k){h=v[a+96>>2];i=k&7;j=v[c+88>>2];f=0;if(k-1>>>0>=7){g=k&-8;while(1){v[(j+B(f,20)|0)+4>>2]=h;v[(j+B(f|1,20)|0)+4>>2]=h;v[(j+B(f|2,20)|0)+4>>2]=h;v[(j+B(f|3,20)|0)+4>>2]=h;v[(j+B(f|4,20)|0)+4>>2]=h;v[(j+B(f|5,20)|0)+4>>2]=h;v[(j+B(f|6,20)|0)+4>>2]=h;v[(j+B(f|7,20)|0)+4>>2]=h;f=f+8|0;g=g-8|0;if(g){continue}break}}if(i){while(1){v[(j+B(f,20)|0)+4>>2]=h;f=f+1|0;i=i-1|0;if(i){continue}break}}h=0;while(1){f=j+B(h,20)|0;Aw(f,c);g=f+16|0;i=x[f+16>>1];b:{c:{if(v[f>>2]-127995>>>0<5?(i&31)==24:0){break c}if(!(!h|v[f>>2]-127462>>>0>25)){f=j+B(h-1|0,20)|0;if(v[f>>2]-127462>>>0>25){break b}if(!(w[f+16|0]&128)){break c}break b}if((i&287)==257){u[f+16>>1]=i|128;f=h+1|0;if(f>>>0>=k>>>0){break b}n=j+B(f,20)|0;i=v[n>>2];if(i>>>0<=131069){i=w[((i&56|w[((w[(i>>>11|0)+281184|0]>>>(i>>>8&4)<<4&240)+(i>>>6&15|64)|0)+281184|0]<<6)>>>3|0)+281408|0]>>>(i&7)&1}else{i=0}if(!i){break b}Aw(n,c);g=n+16|0;i=x[n+16>>1];h=f;break c}if(v[f>>2]-917536>>>0>95){break b}}u[g>>1]=i|128}h=h+1|0;if(k>>>0>h>>>0){continue}break}}d:{if(!(1<<x[v[c+88>>2]+16>>1]&7168)|(v[c+144>>2]|(v[c+16>>2]&17)!=1)){break d}v[P+12>>2]=0;f=v[b+72>>2];if(!(Ea[v[f+156>>2]](b,v[b+76>>2],9676,P+12|0,v[f+20>>2])|0)){break d}f=v[c+12>>2];g=Ea[v[f+24>>2]](f,9676,v[f+56>>2])|0;v[c+32>>2]=v[c+32>>2]|1;if(!(!(1<<g&7168)|g>>>0>31)){g=w[(Ea[v[f+16>>2]](f,9676,v[f+48>>2])|0)+280928|0]<<8|g|128}v[c+80>>2]=0;t[c+69|0]=1;t[c+70|0]=0;v[c+92>>2]=v[c+88>>2];v[c+72>>2]=0;f=v[c+88>>2];i=v[f+4>>2];h=v[f+8>>2];if(cb(c,0,1)){f=v[c+92>>2]+B(v[c+80>>2],20)|0;u[f+18>>1]=0;u[f+16>>1]=g;v[f+12>>2]=0;v[f+8>>2]=h;v[f+4>>2]=i;v[f>>2]=9676;v[c+80>>2]=v[c+80>>2]+1}td(c)}e:{if(!(t[c+32|0]&1)){break e}k=v[c+76>>2];if(!v[c+20>>2]){if(!k){break e}f=k-1|0;h=v[c+88>>2];i=0;while(1){f:{if((f|0)==(i|0)){i=k;break f}i=i+1|0;if(w[(B(i,20)+h|0)+16|0]&128){continue}}break}g=0;j=k;while(1){if(i-g>>>0>=2){rc(c,g,i);j=v[c+76>>2];h=v[c+88>>2]}f=i+1|0;g=f>>>0<j>>>0?j:f;n=g-1|0;f=i;while(1){g:{if((f|0)==(n|0)){f=g;break g}f=f+1|0;if(w[(B(f,20)+h|0)+16|0]&128){continue}}break}n=i>>>0<k>>>0;g=i;i=f;if(n){continue}break}break e}if(!k){break e}i=k-1|0;h=v[c+88>>2];f=0;while(1){h:{if((f|0)==(i|0)){f=k;break h}f=f+1|0;if(w[(B(f,20)+h|0)+16|0]&128){continue}}break}g=0;j=k;while(1){i=f;if(f-g>>>0>=2){Mb(c,g,i);j=v[c+76>>2];h=v[c+88>>2]}f=i+1|0;g=f>>>0<j>>>0?j:f;n=g-1|0;f=i;while(1){i:{if((f|0)==(n|0)){f=g;break i}f=f+1|0;if(w[(B(f,20)+h|0)+16|0]&128){continue}}break}g=i;if(g>>>0<k>>>0){continue}break}}f=v[c+48>>2];j:{k:{l:{g=ck(v[c+52>>2]);m:{if(!((g|0)!=5|(f|0)!=4)){k=v[c+76>>2];if(!k){g=5;break m}n=v[c+88>>2];j=0;i=1;g=0;while(1){n:{h=1;m=x[(n+B(g,20)|0)+16>>1]&31;if((m|0)!=13){h=j;if(1<<m&992){break n}}g=g+1|0;i=k>>>0>g>>>0;j=h;if((g|0)!=(k|0)){continue}}break}g=h&1?i&1?5:4:5}i=f&-2;if((i|0)!=4){break l}}if((f|0)==(g|0)){break j}if(g){break k}break j}if((f|0)==6|(i|0)!=6){break j}}h=v[c+76>>2];o:{if(v[c+20>>2]==1){if(!h){break o}i=h-1|0;g=v[c+88>>2];f=0;while(1){p:{if((f|0)==(i|0)){f=h;break p}f=f+1|0;if(w[(g+B(f,20)|0)+16|0]&128){continue}}break}g=0;while(1){i=f;if(f-g>>>0>=2){rc(c,g,i)}jw(c,g,i);f=v[c+76>>2];g=i+1|0;g=f>>>0>g>>>0?f:g;j=g-1|0;k=v[c+88>>2];f=i;while(1){q:{if((f|0)==(j|0)){f=g;break q}f=f+1|0;if(w[(k+B(f,20)|0)+16|0]&128){continue}}break}g=i;if(g>>>0<h>>>0){continue}break}break o}if(!h){break o}i=h-1|0;g=v[c+88>>2];f=0;while(1){r:{if((f|0)==(i|0)){f=h;break r}f=f+1|0;if(w[(g+B(f,20)|0)+16|0]&128){continue}}break}i=0;while(1){g=i;i=f;jw(c,g,f);g=v[c+76>>2];j=f+1|0;g=g>>>0>j>>>0?g:j;j=g-1|0;k=v[c+88>>2];while(1){s:{if((f|0)==(j|0)){f=g;break s}f=f+1|0;if(w[(k+B(f,20)|0)+16|0]&128){continue}}break}if(h>>>0>i>>>0){continue}break}}nd(c);v[c+48>>2]=v[c+48>>2]^1}N=a+60|0;t:{if(!v[v[a+80>>2]+16>>2]){break t}if(!Bb(c,b,279113,0)){break t}Ea[v[v[a+80>>2]+16>>2]](N,c,b);Bb(c,b,279135,0)}k=v[c+88>>2];g=v[c+76>>2];if(!(!g|(ea&-3)!=5)){n=v[a+188>>2];i=v[c+12>>2];h=0;while(1){f=k+B(h,20)|0;j=Ea[v[i+28>>2]](i,v[f>>2],v[i+60>>2])|0;u:{v:{if((j|0)==v[f>>2]){break v}v[P+12>>2]=0;m=v[b+72>>2];if(!(Ea[v[m+156>>2]](b,v[b+76>>2],j,P+12|0,v[m+20>>2])|0)){break v}v[f>>2]=j;break u}v[f+4>>2]=n|v[f+4>>2]}h=h+1|0;if((g|0)!=(h|0)){continue}break}}if(!(!g|(w[a+200|0]&8|(ea&-2)!=6))){f=0;while(1){w:{x:{y:{z:{A:{B:{C:{j=k+B(f,20)|0;i=v[j>>2];h=i>>>8|0;switch(h-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break w;case 16:break y;case 0:break B;default:break C}}switch(h-254|0){case 1:break z;case 0:break A;default:break w}}h=65074;D:{switch(i-8211|0){case 1:h=65073;break x;case 18:h=65072;break x;case 0:break x;case 19:break D;default:break w}}h=65049;break x}h=65076;if((i|0)==65103){break x}break w}h=65045;E:{switch(i-65281|0){case 7:h=65077;break x;case 8:h=65078;break x;case 11:h=65040;break x;case 25:h=65043;break x;case 26:h=65044;break x;case 30:h=65046;break x;case 58:h=65095;break x;case 60:h=65096;break x;case 62:h=65075;break x;case 90:h=65079;break x;case 0:break x;case 92:break E;default:break w}}h=65080;break x}h=i-12289|0;if(h>>>0>=23|!(7995267>>>h&1)){break w}h=v[(h<<2)+279316>>2]}if((h|0)==(i|0)){break w}v[P+12>>2]=0;i=v[b+72>>2];if(!(Ea[v[i+156>>2]](b,v[b+76>>2],h,P+12|0,v[i+20>>2])|0)){break w}v[j>>2]=h}f=f+1|0;if((g|0)!=(f|0)){continue}break}}F:{G:{f=w[c+168|0];if(!(f&15)){t[c+168|0]=f|15;k=Ca-48|0;Ca=k;H:{I:{J:{if(!v[c+76>>2]){break J}if((w[c+168|0]&48)!=48){break I}f=v[N+20>>2];i=v[f+24>>2];v[k+24>>2]=b;v[k+20>>2]=c;v[k+16>>2]=N;v[k+28>>2]=v[c+12>>2];h=v[f+28>>2];v[k+32>>2]=h?h:564;f=v[f+32>>2];v[k+36>>2]=f?f:565;v[c+80>>2]=0;t[c+69|0]=1;t[c+70|0]=0;v[c+92>>2]=v[c+88>>2];v[c+72>>2]=0;q=(i|0)==4?2:i;o=q&-3;m=v[c+76>>2];h=0;j=1;K:{L:{M:{while(1){f=h+1|0;g=f>>>0<m>>>0?m:f;f=h;while(1){N:{i=f;f=f+1|0;if(m>>>0<=f>>>0){i=g;break N}if(!(1<<x[(v[c+88>>2]+B(f,20)|0)+16>>1]&7168)){continue}}break}if((o|0)!=1){f=v[c+88>>2]+B(h,20)|0;g=f;n=f+12|0;f=v[b+72>>2];f=Ea[v[f+160>>2]](b,v[b+76>>2],i-h|0,g,20,n,20,v[f+24>>2])|0;if(w[c+69|0]){O:{if(v[c+92>>2]==v[c+88>>2]){h=v[c+80>>2];if((h|0)==v[c+72>>2]){break O}}if(!cb(c,f,f)){break M}mb(v[c+92>>2]+B(v[c+80>>2],20)|0,v[c+88>>2]+B(v[c+72>>2],20)|0,B(f,20));h=v[c+80>>2]}v[c+80>>2]=f+h}h=f+v[c+72>>2]|0;v[c+72>>2]=h}P:{if(!w[c+68|0]|h>>>0>=i>>>0){break P}while(1){Cw(k+16|0,(o|0)!=1);h=v[c+72>>2];if(i>>>0<=h>>>0){break P}if(w[c+68|0]){continue}break}}if(!w[c+68|0]|(h|0)==(m|0)){break M}f=h+1|0;f=f>>>0<m>>>0?m:f;g=f-1|0;while(1){Q:{i=h;h=h+1|0;if(m>>>0<=h>>>0){i=g;h=f;break Q}if(1<<x[(v[c+88>>2]+B(h,20)|0)+16>>1]&7168){continue}}break}j=v[k+20>>2];g=v[j+72>>2];R:{if(g>>>0>=h>>>0|!w[j+68|0]){break R}n=v[j+88>>2];f=g;S:{while(1){l=v[n+B(f,20)>>2];if(!((l&-16)==65024|l-917760>>>0<=239)){l=(f|0)==(i|0);f=f+1|0;if(!l){continue}break S}break}n=v[k+24>>2];T:{if(g>>>0>=i>>>0){break T}while(1){g=v[j+88>>2]+B(g,20)|0;v[g+12>>2]=0;l=g+12|0;r=v[g>>2];f=v[n+72>>2];g=v[g+20>>2];U:{if(!(g-917760>>>0>239?(g&-16)!=65024:0)){V:{if(Ea[v[f+164>>2]](n,v[n+76>>2],r,g,l,v[f+28>>2])|0){v[k+44>>2]=v[v[j+88>>2]+B(v[j+72>>2],20)>>2];Qh(j,2,k+44|0);break V}f=v[j+88>>2]+B(v[j+72>>2],20)|0;v[f+12>>2]=0;g=v[f>>2];l=f+12|0;f=v[n+72>>2];Ea[v[f+156>>2]](n,v[n+76>>2],g,l,v[f+20>>2])|0;W:{if(w[j+69|0]){X:{if(v[j+92>>2]==v[j+88>>2]){f=v[j+80>>2];if((f|0)==v[j+72>>2]){break X}}if(!cb(j,1,1)){f=v[j+72>>2];break W}g=v[j+88>>2]+B(v[j+72>>2],20)|0;l=v[g+4>>2];f=v[j+92>>2]+B(v[j+80>>2],20)|0;v[f>>2]=v[g>>2];v[f+4>>2]=l;v[f+16>>2]=v[g+16>>2];l=v[g+12>>2];v[f+8>>2]=v[g+8>>2];v[f+12>>2]=l;f=v[j+80>>2]}v[j+80>>2]=f+1}f=v[j+72>>2]+1|0;v[j+72>>2]=f}f=v[j+88>>2]+B(f,20)|0;v[f+12>>2]=0;g=v[f>>2];l=f+12|0;f=v[n+72>>2];Ea[v[f+156>>2]](n,v[n+76>>2],g,l,v[f+20>>2])|0;if(w[j+69|0]){Y:{if(v[j+92>>2]==v[j+88>>2]){f=v[j+80>>2];if((f|0)==v[j+72>>2]){break Y}}if(!cb(j,1,1)){break V}g=v[j+88>>2]+B(v[j+72>>2],20)|0;l=v[g+4>>2];f=v[j+92>>2]+B(v[j+80>>2],20)|0;v[f>>2]=v[g>>2];v[f+4>>2]=l;v[f+16>>2]=v[g+16>>2];l=v[g+12>>2];v[f+8>>2]=v[g+8>>2];v[f+12>>2]=l;f=v[j+80>>2]}v[j+80>>2]=f+1}v[j+72>>2]=v[j+72>>2]+1}g=v[j+72>>2];if(g>>>0>=h>>>0){break U}while(1){if(!w[j+68|0]){break U}f=v[j+88>>2]+B(g,20)|0;l=v[f>>2];if(l-917760>>>0>239?(l&-16)!=65024:0){break U}v[f+12>>2]=0;g=f+12|0;f=v[n+72>>2];Ea[v[f+156>>2]](n,v[n+76>>2],l,g,v[f+20>>2])|0;Z:{if(w[j+69|0]){_:{if(v[j+92>>2]==v[j+88>>2]){f=v[j+80>>2];if((f|0)==v[j+72>>2]){break _}}if(!cb(j,1,1)){g=v[j+72>>2];break Z}g=v[j+88>>2]+B(v[j+72>>2],20)|0;l=v[g+4>>2];f=v[j+92>>2]+B(v[j+80>>2],20)|0;v[f>>2]=v[g>>2];v[f+4>>2]=l;v[f+16>>2]=v[g+16>>2];l=v[g+12>>2];v[f+8>>2]=v[g+8>>2];v[f+12>>2]=l;f=v[j+80>>2]}v[j+80>>2]=f+1}g=v[j+72>>2]+1|0;v[j+72>>2]=g}if(h>>>0>g>>>0){continue}break}break U}Ea[v[f+156>>2]](n,v[n+76>>2],r,l,v[f+20>>2])|0;if(w[j+69|0]){$:{if(v[j+92>>2]==v[j+88>>2]){f=v[j+80>>2];if((f|0)==v[j+72>>2]){break $}}if(!cb(j,1,1)){g=v[j+72>>2];break U}g=v[j+88>>2]+B(v[j+72>>2],20)|0;l=v[g+4>>2];f=v[j+92>>2]+B(v[j+80>>2],20)|0;v[f>>2]=v[g>>2];v[f+4>>2]=l;v[f+16>>2]=v[g+16>>2];l=v[g+12>>2];v[f+8>>2]=v[g+8>>2];v[f+12>>2]=l;f=v[j+80>>2]}v[j+80>>2]=f+1}g=v[j+72>>2]+1|0;v[j+72>>2]=g}if(g>>>0>=i>>>0){break T}if(w[j+68|0]){continue}break}}if(h>>>0<=g>>>0){break R}f=v[j+88>>2]+B(g,20)|0;v[f+12>>2]=0;i=v[f>>2];g=f+12|0;f=v[n+72>>2];Ea[v[f+156>>2]](n,v[n+76>>2],i,g,v[f+20>>2])|0;if(w[j+69|0]){aa:{if(v[j+92>>2]==v[j+88>>2]){f=v[j+80>>2];if((f|0)==v[j+72>>2]){break aa}}if(!cb(j,1,1)){break R}i=v[j+88>>2]+B(v[j+72>>2],20)|0;h=v[i+4>>2];f=v[j+92>>2]+B(v[j+80>>2],20)|0;v[f>>2]=v[i>>2];v[f+4>>2]=h;v[f+16>>2]=v[i+16>>2];h=v[i+12>>2];v[f+8>>2]=v[i+8>>2];v[f+12>>2]=h;f=v[j+80>>2]}v[j+80>>2]=f+1}v[j+72>>2]=v[j+72>>2]+1;break R}while(1){Cw(k+16|0,!q);if(y[j+72>>2]>=h>>>0){break R}if(w[j+68|0]){continue}break}}h=v[c+72>>2];if(m>>>0>h>>>0){j=0;if(w[c+68|0]){continue}}break}td(c);break L}td(c);g=1;if(j){break K}}g=0;if(!Bb(c,b,278990,0)){break K}g=v[c+76>>2];if(g){i=0;while(1){j=v[c+88>>2];f=x[(j+B(i,20)|0)+16>>1];ba:{if(!(1<<f&7168)){f=i;break ba}if(f>>>0<256){f=i;break ba}f=i+1|0;h=f>>>0<g>>>0?g:f;f=i;while(1){ca:{f=f+1|0;if(g>>>0<=f>>>0){f=h;break ca}n=x[(j+B(f,20)|0)+16>>1];if(!(1<<n&7168)){break ca}if(n>>>0>255){continue}}break}if(f-i>>>0>32){break ba}fw(c,i,f,566);h=v[v[N+20>>2]+44>>2];if(!h){break ba}Ea[h|0](N,c,i,f)}i=f+1|0;if(g>>>0>i>>>0){continue}break}}Bb(c,b,279004,0);g=0}da:{if(!(w[c+32|0]&32)){break da}i=v[c+76>>2];if(i>>>0<3){break da}f=1;h=2;while(1){j=f;f=h;h=B(j,20);j=v[c+88>>2];h=h+j|0;ea:{if(v[h>>2]!=847){break ea}j=x[(j+B(f,20)|0)+16>>1];fa:{if(!(1<<j&7168)){break fa}j=j>>>8|0;if(!j){break fa}n=x[h-4>>1];if(j>>>0<(1<<n&7168?n>>>8|0:0)>>>0){break ea}}u[h+16>>1]=x[h+16>>1]&65471;i=v[c+76>>2]}h=f+1|0;if(i>>>0>h>>>0){continue}break}}if(!w[c+68|0]|g|(q&-2)!=2){break J}v[c+80>>2]=0;t[c+69|0]=1;t[c+70|0]=0;v[c+92>>2]=v[c+88>>2];n=v[c+76>>2];ga:{if(w[c+69|0]){ha:{if(v[c+92>>2]==v[c+88>>2]){f=v[c+80>>2];if((f|0)==v[c+72>>2]){break ha}}if(!cb(c,1,1)){f=v[c+72>>2];break ga}i=v[c+88>>2]+B(v[c+72>>2],20)|0;h=v[i+4>>2];f=v[c+92>>2]+B(v[c+80>>2],20)|0;v[f>>2]=v[i>>2];v[f+4>>2]=h;v[f+16>>2]=v[i+16>>2];h=v[i+12>>2];v[f+8>>2]=v[i+8>>2];v[f+12>>2]=h;f=v[c+80>>2]}v[c+80>>2]=f+1}f=v[c+72>>2]+1|0;v[c+72>>2]=f}ia:{if(f>>>0>=n>>>0){break ia}h=0;while(1){ja:{ka:{la:{ma:{na:{i=v[c+88>>2]+B(f,20)|0;g=x[i+16>>1];if(!(1<<g&7168)){break na}f=v[c+92>>2];j=v[c+80>>2];m=j-1|0;if((m|0)!=(h|0)){o=g>>>8|0;g=x[(f+B(j?m:0,20)|0)+16>>1];if(o>>>0<=(1<<g&7168?g>>>8|0:0)>>>0){break na}}g=B(h,20);if(!(Ea[v[k+36>>2]](k+16|0,v[g+f>>2],v[i>>2],k+44|0)|0)){break na}v[k+12>>2]=0;f=v[b+72>>2];if(!(Ea[v[f+156>>2]](b,v[b+76>>2],v[k+44>>2],k+12|0,v[f+20>>2])|0)){break na}oa:{if(!w[c+69|0]){f=v[c+80>>2];break oa}pa:{if(v[c+92>>2]==v[c+88>>2]){f=v[c+80>>2];if((f|0)==v[c+72>>2]){break pa}}if(!cb(c,1,1)){break ia}i=v[c+88>>2]+B(v[c+72>>2],20)|0;j=v[i+4>>2];f=v[c+92>>2]+B(v[c+80>>2],20)|0;v[f>>2]=v[i>>2];v[f+4>>2]=j;v[f+16>>2]=v[i+16>>2];j=v[i+12>>2];v[f+8>>2]=v[i+8>>2];v[f+12>>2]=j;f=v[c+80>>2]}f=f+1|0;v[c+80>>2]=f}v[c+72>>2]=v[c+72>>2]+1;Hf(c,h,f);v[c+80>>2]=v[c+80>>2]-1;f=g+v[c+92>>2]|0;v[f>>2]=v[k+44>>2];v[f+12>>2]=v[k+12>>2];j=v[c+12>>2];m=g+v[c+92>>2]|0;g=v[m>>2];f=Ea[v[j+24>>2]](j,g,v[j+56>>2])|0;if(g>>>0<128){break ka}v[c+32>>2]=v[c+32>>2]|1;i=f;qa:{if(!Jf(g)){break qa}q=v[c+32>>2];v[c+32>>2]=q|2;ra:{switch(g-8204|0){case 0:i=f|544;break qa;case 1:i=f|288;break qa;default:break ra}}if(!(g-6155>>>0<=2|g-917536>>>0<=95)){i=f|32;if((g|0)!=847){break qa}v[c+32>>2]=q|34}i=f|96}if(f>>>0>31){f=i;break ka}if(!(1<<f&7168)){f=i;break ka}if((g|0)==6752|(g|0)==4038){break ma}f=32512;if((g|0)==3897){break la}f=w[(Ea[v[j+16>>2]](j,g,v[j+48>>2])|0)+280928|0]<<8;break la}sa:{if(!w[c+69|0]){i=v[c+80>>2];break sa}ta:{if(v[c+92>>2]==v[c+88>>2]){f=v[c+80>>2];if((f|0)==v[c+72>>2]){break ta}}if(!cb(c,1,1)){break ia}i=v[c+88>>2]+B(v[c+72>>2],20)|0;g=v[i+4>>2];f=v[c+92>>2]+B(v[c+80>>2],20)|0;v[f>>2]=v[i>>2];v[f+4>>2]=g;v[f+16>>2]=v[i+16>>2];g=v[i+12>>2];v[f+8>>2]=v[i+8>>2];v[f+12>>2]=g;f=v[c+80>>2]}i=f+1|0;v[c+80>>2]=i}f=v[c+72>>2]+1|0;v[c+72>>2]=f;g=i-1|0;i=x[(v[c+92>>2]+B(i?g:0,20)|0)+16>>1];h=1<<i&7168?i>>>0<256?g:h:g;break ja}f=65024}f=f|i|128}u[m+16>>1]=f;f=v[c+72>>2]}if(f>>>0<n>>>0){continue}break}}td(c)}Ca=k+48|0;break H}O(279042,279016,173,279031);L()}ua:{if(!(t[c+32|0]&1)|!(w[a+200|0]&4)){break ua}va:{if((v[c+48>>2]&-3)==4){f=v[a+176>>2];k=f|v[a+180>>2];g=a+184|0;break va}f=v[a+176>>2];k=f|v[a+184>>2];g=a+180|0}n=v[c+76>>2];if(!n){break ua}q=v[g>>2]|f;m=v[c+88>>2];j=0;while(1){o=m+B(j,20)|0;if(v[o>>2]==8260){h=j+1|0;g=j;while(1){f=g;if(f){g=f-1|0;if((x[(m+B(g,20)|0)+16>>1]&31)==13){continue}}break}i=h;wa:{if(n>>>0<=h>>>0){break wa}while(1){if((x[(m+B(i,20)|0)+16>>1]&31)!=13){break wa}i=i+1|0;if((n|0)!=(i|0)){continue}break}i=n}if(i-f>>>0>=2){Mb(c,f,i)}xa:{if(f>>>0>=j>>>0){break xa}l=(f^-1)+j|0;g=j-f&3;if(g){while(1){r=m+B(f,20)|0;v[r+4>>2]=k|v[r+4>>2];f=f+1|0;g=g-1|0;if(g){continue}break}}if(l>>>0<=2){break xa}while(1){g=m+B(f,20)|0;v[g+4>>2]=k|v[g+4>>2];v[g+24>>2]=k|v[g+24>>2];v[g+44>>2]=k|v[g+44>>2];g=g- -64|0;v[g>>2]=k|v[g>>2];f=f+4|0;if((j|0)!=(f|0)){continue}break}}v[o+4>>2]=v[o+4>>2]|v[a+176>>2];ya:{if(h>>>0>=i>>>0){break ya}f=(j^-1)+i&3;if(f){while(1){g=m+B(h,20)|0;v[g+4>>2]=q|v[g+4>>2];h=h+1|0;f=f-1|0;if(f){continue}break}}if((i-j|0)-2>>>0<3){break ya}while(1){f=m+B(h,20)|0;v[f+4>>2]=q|v[f+4>>2];v[f+24>>2]=q|v[f+24>>2];v[f+44>>2]=q|v[f+44>>2];f=f- -64|0;v[f>>2]=q|v[f>>2];h=h+4|0;if((i|0)!=(h|0)){continue}break}}j=i-1|0}j=j+1|0;if(n>>>0>j>>>0){continue}break}}f=v[v[a+80>>2]+36>>2];if(f){Ea[f|0](N,c,b)}if(e){i=0;while(1){h=(i<<4)+d|0;j=v[h+8>>2];if(v[h+12>>2]==-1?j:1){q=v[h+4>>2];za:{Aa:{f=v[a+104>>2];if((f|0)<1){break Aa}k=v[h>>2];o=v[a+108>>2];f=f-1|0;g=0;while(1){Ba:{n=f+g>>>1|0;m=o+B(n,36)|0;l=v[m>>2];Ca:{if(l>>>0>k>>>0){f=n-1|0;break Ca}if(k>>>0<=l>>>0){break Ba}g=n+1|0}if((f|0)>=(g|0)){continue}break Aa}break}g=v[m+24>>2];f=v[m+20>>2];break za}g=0;f=0}f=q<<f;k=v[h+12>>2];Da:{if(!g){break Da}n=v[c+76>>2];if(!n){break Da}m=f&g;q=g^-1;h=v[c+88>>2];f=0;if((n|0)!=1){g=n&-2;while(1){o=h+B(f,20)|0;l=v[o+8>>2];if(!(l>>>0<j>>>0|k>>>0<=l>>>0)){v[o+4>>2]=m|q&v[o+4>>2]}o=h+B(f|1,20)|0;l=v[o+8>>2];if(!(l>>>0<j>>>0|k>>>0<=l>>>0)){v[o+4>>2]=m|q&v[o+4>>2]}f=f+2|0;g=g-2|0;if(g){continue}break}}if(!(n&1)){break Da}g=v[(h+B(f,20)|0)+8>>2];if(g>>>0<j>>>0|g>>>0>=k>>>0){break Da}f=h+B(f,20)|0;v[f+4>>2]=m|q&v[f+4>>2]}}i=i+1|0;if((i|0)!=(e|0)){continue}break}}if(w[a+200|0]&128){j=v[c+76>>2];if(j){k=v[c+88>>2];h=0;while(1){g=k+B(h,20)|0;i=x[g+16>>1];if((i&31)==12){d=i>>>8|0;Ea:{if(i>>>0>51199){f=d;break Ea}Fa:{Ga:{f=v[g>>2];if((f&-256)==3584){if(!d){e=0;Ha:{switch(f-3633|0){case 128:case 131:case 132:case 133:case 134:case 138:case 155:case 156:e=230;break Fa;case 0:case 3:case 4:case 5:case 6:case 22:case 27:case 28:case 29:break Ga;case 139:break Ha;default:break Fa}}e=220;break Fa}e=222;if((f|0)==3642){break Fa}}f=220;Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{e=d;switch(d-3|0){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 27:case 30:case 115:case 126:case 128:break Ea;case 119:case 129:break Ia;case 104:break Ja;case 0:break Ka;case 23:case 24:case 25:case 26:case 28:case 29:case 31:case 32:case 33:break La;case 8:case 11:break Ma;case 7:break Na;case 10:break Oa;default:break Fa}}f=214;break Ea}f=232;break Ea}f=228;break Ea}f=230;break Ea}f=222;break Ea}f=232;break Ea}f=230;break Ea}e=232}f=e}u[g+16>>1]=i&255|f<<8}h=h+1|0;if((j|0)!=(h|0)){continue}break}}}e=v[c+76>>2];Pa:{if(!e){break Pa}d=v[c+88>>2];h=e&3;f=0;if(e-1>>>0>=3){i=e&-4;while(1){e=d+B(f,20)|0;v[e>>2]=v[e+12>>2];e=d+B(f|1,20)|0;v[e>>2]=v[e+12>>2];e=d+B(f|2,20)|0;v[e>>2]=v[e+12>>2];e=d+B(f|3,20)|0;v[e>>2]=v[e+12>>2];f=f+4|0;i=i-4|0;if(i){continue}break}}if(!h){break Pa}while(1){e=d+B(f,20)|0;v[e>>2]=v[e+12>>2];f=f+1|0;h=h-1|0;if(h){continue}break}}v[c+44>>2]=2;Qa:{d=w[c+168|0];if((d&15)==15){t[c+168|0]=d|15;Ra:{d=w[c+168|0];if((d&3)==3){if(!(!(d&4)|!(d&8))){d=Oe(v[b+16>>2]+132|0);i=v[c+76>>2];if(i){d=v[d>>2];d=d?d:280448;e=y[d+16>>2]<12?280448:v[d+12>>2];j=0;while(1){Sa:{Ta:{Ua:{Va:{Wa:{f=B(j,20);h=f+v[c+88>>2]|0;d=v[h>>2];switch(pe(e,d)-1|0){case 2:break Ta;case 1:break Ua;case 0:break Va;default:break Wa}}d=0;break Sa}d=2;break Sa}d=4;break Sa}d=oe(e,d)<<8|8}u[h+12>>1]=d;t[(f+v[c+88>>2]|0)+14|0]=0;t[(f+v[c+88>>2]|0)+15|0]=0;j=j+1|0;if((i|0)!=(j|0)){continue}break}}break Ra}}break F}f=x[a+200>>1];Xa:{if(!(f&64)){break Xa}e=v[c+76>>2];if(!e){break Xa}i=v[c+88>>2];f=0;while(1){d=i+B(f,20)|0;g=x[d+16>>1];Ya:{if((g&31)==12){h=8;if(!(g&32)|w[d+12|0]&16){break Ya}}h=2}u[d+12>>1]=h;f=f+1|0;if((e|0)!=(f|0)){continue}break}f=x[a+200>>1]}Za:{if(f&4096){k=0;j=Ca-80|0;Ca=j;f=Ca-48|0;Ca=f;i=v[b+16>>2]+148|0;d=v[i>>2];_a:{if(d){break _a}h=i-100|0;while(1){d=v[h>>2];if(!d){d=280448;break _a}v[f+16>>2]=0;v[f+20>>2]=0;t[f+21|0]=0;t[f+22|0]=0;t[f+23|0]=0;t[f+24|0]=0;t[f+25|0]=0;t[f+26|0]=0;t[f+27|0]=0;t[f+28|0]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;e=Nb(d);t[f+44|0]=1;v[f+40>>2]=e;e=Op(f+8|0,Jb(d,1836020344));if(!e){e=280448}d=v[i>>2];if(!d){v[i>>2]=e;d=e;break _a}if(e){if((e|0)!=280448){Sa(e)}d=v[i>>2]}if(!d){continue}break}}Ca=f+48|0;e=y[d+16>>2]<8?280448:v[d+12>>2];$a:{if(w[e|0]<<8|w[e+1|0]){d=Zg(j+8|0,N,b,c,d);if(Bb(c,b,229264,0)){ab:{if(!w[v[d+16>>2]+68|0]){break ab}v[d+68>>2]=0;f=w[e+4|0]|w[e+5|0]<<8|(w[e+6|0]<<16|w[e+7|0]<<24);m=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(!m){break ab}h=e+8|0;while(1){e=v[d+4>>2];if(y[e+104>>2]<=k>>>0){e=280448}else{e=v[e+108>>2]+(k<<2)|0}q=v[e>>2];f=0;i=Ca-32|0;Ca=i;e=w[h+12|0]|w[h+13|0]<<8|(w[h+14|0]<<16|w[h+15|0]<<24);o=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);bb:{if(!o){break bb}e=w[h+8|0]|w[h+9|0]<<8|(w[h+10|0]<<16|w[h+11|0]<<24);e=(B(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24),12)+h|0)+16|0;while(1){g=w[e+8|0]|w[e+9|0]<<8|(w[e+10|0]<<16|w[e+11|0]<<24);cb:{if(!(q&(g<<24|g<<8&16711680|(g>>>8&65280|g>>>24)))){break cb}g=w[e+4|0];if(!((g>>>7|0)==((v[v[d+16>>2]+48>>2]&-2)!=6|0)?g&32:1)){break cb}db:{if(g&16){n=v[d+16>>2];g=(g&64)>>>6|0;break db}n=v[d+16>>2];g=(g&64)>>>6^(v[n+48>>2]&-3)==5}l=v[d+8>>2];v[i+16>>2]=v[d+68>>2];if(!Bb(n,l,229415,i+16|0)){break cb}eb:{if(g){nd(v[d+16>>2]);Dp(e,d);nd(v[d+16>>2]);break eb}Dp(e,d)}g=v[d+8>>2];n=v[d+16>>2];v[i>>2]=v[d+68>>2];Bb(n,g,229438,i);if(!w[v[d+16>>2]+68|0]){break bb}}g=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);v[d+68>>2]=v[d+68>>2]+1;e=(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))+e|0;f=f+1|0;if((o|0)!=(f|0)){continue}break}}Ca=i+32|0;if(!w[v[d+16>>2]+68|0]){break ab}e=w[h+4|0]|w[h+5|0]<<8|(w[h+6|0]<<16|w[h+7|0]<<24);h=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))+h|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}Bb(c,b,229281,0)}Sa(v[d+48>>2]);break $a}f=Ca-48|0;Ca=f;i=v[b+16>>2]+152|0;d=v[i>>2];fb:{if(d){break fb}h=i-104|0;while(1){d=v[h>>2];if(!d){d=280448;break fb}v[f+16>>2]=0;v[f+20>>2]=0;t[f+21|0]=0;t[f+22|0]=0;t[f+23|0]=0;t[f+24|0]=0;t[f+25|0]=0;t[f+26|0]=0;t[f+27|0]=0;t[f+28|0]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;e=Nb(d);t[f+44|0]=1;v[f+40>>2]=e;e=Np(f+8|0,Jb(d,1836020340));if(!e){e=280448}d=v[i>>2];if(!d){v[i>>2]=e;d=e;break fb}if(e){if((e|0)!=280448){Sa(e)}d=v[i>>2]}if(!d){continue}break}}Ca=f+48|0;e=y[d+16>>2]<8?280448:v[d+12>>2];if(!(w[e|0]<<8|w[e+1|0])){break $a}d=Zg(j+8|0,N,b,c,d);if(Bb(c,b,229296,0)){gb:{if(!w[v[d+16>>2]+68|0]){break gb}v[d+68>>2]=0;f=w[e+4|0]|w[e+5|0]<<8|(w[e+6|0]<<16|w[e+7|0]<<24);m=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(!m){break gb}h=e+8|0;while(1){e=v[d+4>>2];if(y[e+104>>2]<=k>>>0){e=280448}else{e=v[e+108>>2]+(k<<2)|0}q=v[e>>2];f=0;i=Ca-32|0;Ca=i;o=w[h+11|0]|w[h+10|0]<<8;hb:{if(!o){break hb}e=(B(w[h+9|0]|w[h+8|0]<<8,12)+h|0)+12|0;while(1){g=w[e+4|0]|w[e+5|0]<<8|(w[e+6|0]<<16|w[e+7|0]<<24);ib:{if(!(q&(g<<24|g<<8&16711680|(g>>>8&65280|g>>>24)))){break ib}g=w[e+2|0];if(!((g>>>7|0)==((v[v[d+16>>2]+48>>2]&-2)!=6|0)?g&32:1)){break ib}jb:{if(g&16){n=v[d+16>>2];g=(g&64)>>>6|0;break jb}n=v[d+16>>2];g=(g&64)>>>6^(v[n+48>>2]&-3)==5}l=v[d+8>>2];v[i+16>>2]=v[d+68>>2];if(!Bb(n,l,229415,i+16|0)){break ib}kb:{if(g){nd(v[d+16>>2]);zp(e,d);nd(v[d+16>>2]);break kb}zp(e,d)}g=v[d+8>>2];n=v[d+16>>2];v[i>>2]=v[d+68>>2];Bb(n,g,229438,i);if(!w[v[d+16>>2]+68|0]){break hb}}g=w[e+1|0];n=w[e|0];v[d+68>>2]=v[d+68>>2]+1;e=(g|n<<8)+e|0;f=f+1|0;if((o|0)!=(f|0)){continue}break}}Ca=i+32|0;if(!w[v[d+16>>2]+68|0]){break gb}e=w[h+4|0]|w[h+5|0]<<8|(w[h+6|0]<<16|w[h+7|0]<<24);h=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))+h|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}Bb(c,b,229313,0)}Sa(v[d+48>>2])}Ca=j+80|0;break Za}k=0;g=0;o=Ca-16|0;Ca=o;d=v[b+16>>2]+136|0;e=v[Ic(d)>>2];e=e?e:280448;v[o+8>>2]=y[e+16>>2]<10?280448:v[e+12>>2];ia=o,ja=v[Ic(d)+8>>2],v[ia+12>>2]=ja;if(Bb(c,b,229688,0)){d=Ca-176|0;Ca=d;v[d+56>>2]=0;v[d+60>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;e=d- -64|0;v[e>>2]=0;v[e+4>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;v[d+104>>2]=0;v[d+108>>2]=0;v[d+112>>2]=0;v[d+96>>2]=0;v[d+100>>2]=0;v[d+56>>2]=0;v[d+52>>2]=0;t[d+48|0]=0;v[d+44>>2]=-1;t[d+92|0]=0;v[d+88>>2]=-1;v[d+24>>2]=0;v[d+28>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+116>>2]=b;e=v[b+16>>2];v[d+128>>2]=0;v[d+124>>2]=c;v[d+120>>2]=e;e=v[Oe(e+132|0)>>2];e=e?e:280448;f=y[e+16>>2]<12?280448:v[e+12>>2];v[d+132>>2]=f;e=d;i=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);if((i<<24|i<<8&16711680|(i>>>8&65280|i>>>24))>>>0>=65539){i=w[f+14|0]|w[f+15|0]<<8|(w[f+16|0]<<16|w[f+17|0]<<24);i=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);i=i?i+f|0:280448}else{i=280448}v[e+136>>2]=i;e=v[c+48>>2];v[d+160>>2]=6;v[d+152>>2]=-1;v[d+156>>2]=0;v[d+144>>2]=1;v[d+148>>2]=0;v[d+140>>2]=e;e=w[f+5|0];f=w[f+4|0];v[d+60>>2]=0;v[d+104>>2]=0;u[d+40>>1]=256;v[d+36>>2]=0;u[d+84>>1]=257;v[d+80>>2]=0;v[d+168>>2]=1;t[d+167|0]=0;t[d+165|0]=1;t[d+166|0]=1;v[d+32>>2]=d+24;v[d+52>>2]=0;v[d+56>>2]=0;v[d+76>>2]=d+24;v[d+44>>2]=1;v[d+96>>2]=0;v[d+100>>2]=0;v[d+128>>2]=435;v[d+88>>2]=-1;t[d+164|0]=(e|f<<8)!=0;i=v[a+140>>2];if(i){while(1){n=280448;n=g>>>0<i>>>0?v[a+144>>2]+(g<<3)|0:n;if(y[n>>2]>k>>>0){while(1){l=x[(y[a+116>>2]<=k>>>0?280448:v[a+120>>2]+(k<<3)|0)>>1];v[d+16>>2]=l;if(Bb(c,b,230141,d+16|0)){v[d+152>>2]=l;h=y[a+116>>2]<=k>>>0;f=v[(h?280448:v[a+120>>2]+(k<<3)|0)+4>>2];v[d+60>>2]=0;v[d+144>>2]=f;v[d+52>>2]=0;v[d+56>>2]=0;e=v[d+156>>2];v[d+36>>2]=e;v[d+104>>2]=0;v[d+44>>2]=f;t[d+41|0]=w[d+166|0];v[d+96>>2]=0;v[d+100>>2]=0;v[d+80>>2]=e;v[d+88>>2]=-1;t[d+85|0]=1;i=v[d+148>>2]==1;t[d+40|0]=i;m=i|w[d+165|0]!=0;t[d+84|0]=m;v[d+32>>2]=d+24;v[d+76>>2]=d+24;j=w[(h?280448:v[a+120>>2]+(k<<3)|0)+2|0];v[d+60>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+104>>2]=0;v[d+44>>2]=f;t[d+40|0]=i;v[d+36>>2]=e;v[d+96>>2]=0;v[d+100>>2]=0;v[d+88>>2]=-1;t[d+84|0]=m;v[d+80>>2]=e;t[d+85|0]=1;j=j>>>1&1;t[d+166|0]=j;t[d+41|0]=j;v[d+32>>2]=d+24;v[d+76>>2]=d+24;m=w[(h?280448:v[a+120>>2]+(k<<3)|0)+2|0];v[d+60>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+104>>2]=0;v[d+44>>2]=f;t[d+41|0]=j;t[d+40|0]=i;v[d+36>>2]=e;v[d+96>>2]=0;v[d+100>>2]=0;v[d+88>>2]=-1;v[d+80>>2]=e;t[d+85|0]=1;e=m&1;t[d+165|0]=e;t[d+84|0]=e|i;v[d+32>>2]=d+24;v[d+76>>2]=d+24;if(w[(h?280448:v[a+120>>2]+(k<<3)|0)+2|0]&4){t[d+167|0]=1;Mb(c,0,v[c+76>>2])}i=280448;e=v[o+8>>2];f=w[e+9|0]|w[e+8|0]<<8;e=f?e+f|0:280448;if(l>>>0<(w[e|0]<<8|w[e+1|0])>>>0){f=e;e=e+(l<<1)|0;e=w[e+2|0]<<8|w[e+3|0];i=e?f+e|0:280448}m=v[d+124>>2];lb:{if(!v[m+76>>2]){break lb}e=v[d+144>>2];if(!e){break lb}f=v[o+12>>2];j=w[i+3|0];h=j|w[i+2|0]<<8;if(j&16){j=h;h=(i+4|0)+(w[i+5|0]<<1|w[i+4|0]<<9)|0;h=j|w[h+2|0]<<24|w[h+3|0]<<16}q=f+B(l,24)|0;v[d+88>>2]=-1;v[d+60>>2]=0;v[d+156>>2]=h;v[d+52>>2]=0;v[d+56>>2]=0;v[d+36>>2]=h;v[d+104>>2]=0;v[d+44>>2]=e;t[d+41|0]=w[d+166|0];v[d+96>>2]=0;v[d+100>>2]=0;v[d+80>>2]=h;e=w[d+165|0];t[d+85|0]=1;f=v[d+148>>2]==1;t[d+40|0]=f;t[d+84|0]=f|(e|0)!=0;v[d+32>>2]=d+24;v[d+76>>2]=d+24;mb:{nb:{ob:{e=w[i|0]|w[i+1|0]<<8;switch(((e<<8|e>>>8)&65535)-7|0){case 1:break mb;case 0:break ob;default:break nb}}e=w[i+5|0]|w[i+4|0]<<8?i+6|0:280448;e=w[e|0]<<8|w[e+1|0];e=e?e+i|0:280448;if((w[e|0]<<8|w[e+1|0])!=1){break nb}if((w[e+3|0]|w[e+2|0]<<8)==8){break mb}}v[m+80>>2]=0;t[m+69|0]=1;t[m+70|0]=0;v[m+92>>2]=v[m+88>>2];v[m+72>>2]=0;j=v[d+124>>2];h=v[j+72>>2];if(h>>>0>=y[j+76>>2]){break lb}f=0;while(1){if(w[j+68|0]){i=v[j+88>>2]+B(h,20)|0;e=v[i>>2];pb:{qb:{if(!(v[q>>2]>>>(e>>>4)&1)|!(v[q+4>>2]>>>e&1)|(!(v[q+8>>2]>>>(e>>>9)&1)|!(v[d+144>>2]&v[i+4>>2]))){break qb}h=v[d+156>>2];i=x[i+12>>1];if(h&i&14){break qb}if(i&8){if(!Of(d+24|0,e,i,h)){break qb}}h=0;e=v[q+16>>2];if(!e){break qb}while(1){i=e>>>0<=h>>>0?280448:v[q+20>>2]+B(h,20)|0;r=v[d+124>>2];r=v[v[r+88>>2]+B(v[r+72>>2],20)>>2];if(!(!(v[i+8>>2]>>>(r>>>4)&1)|!(v[i+12>>2]>>>r&1)|!(v[i+16>>2]>>>(r>>>9)&1))){if(Ea[v[i+4>>2]](v[i>>2],d+24|0)|0){f=1;break pb}e=v[q+16>>2]}h=h+1|0;if(h>>>0<e>>>0){continue}break}}if(w[j+69|0]){rb:{if(v[j+92>>2]==v[j+88>>2]){h=v[j+80>>2];if((h|0)==v[j+72>>2]){break rb}}if(!cb(j,1,1)){break pb}e=v[j+88>>2]+B(v[j+72>>2],20)|0;r=v[e+4>>2];i=v[j+92>>2]+B(v[j+80>>2],20)|0;h=i;v[h>>2]=v[e>>2];v[h+4>>2]=r;v[h+16>>2]=v[e+16>>2];h=v[e+12>>2];v[i+8>>2]=v[e+8>>2];v[i+12>>2]=h;h=v[j+80>>2]}v[j+80>>2]=h+1}v[j+72>>2]=v[j+72>>2]+1}h=v[j+72>>2];if(h>>>0<y[j+76>>2]){continue}}break}if(!f){break lb}td(m);break lb}v[m+80>>2]=0;t[m+69|0]=0;t[m+70|0]=0;v[m+92>>2]=v[m+88>>2];v[m+72>>2]=v[m+76>>2]-1;Wo(d+24|0,q)}v[d>>2]=l;Bb(c,b,230157,d)}k=k+1|0;if(k>>>0<y[n>>2]){continue}break}}if(v[n+4>>2]){v[c+80>>2]=0;t[c+69|0]=1;t[c+70|0]=0;v[c+92>>2]=v[c+88>>2];Ea[v[n+4>>2]](N,b,c)}i=v[a+140>>2];g=g+1|0;if(i>>>0>g>>>0){continue}break}}Ca=d+176|0;Bb(c,b,229705,0)}Ca=o+16|0}kw(c);e=v[c+88>>2];d=v[c+76>>2];f=v[c+96>>2];sb:{if((v[c+48>>2]&-2)==4){i=v[b+72>>2];Ea[v[i+176>>2]](b,v[b+76>>2],d,e,20,f,20,v[i+40>>2]);if(!Rh(b,9)|!d){break sb}g=0;while(1){i=B(g,20);Nf(b,v[i+e>>2],P+12|0,P+8|0);i=f+i|0;v[i+8>>2]=v[i+8>>2]-v[P+12>>2];v[i+12>>2]=v[i+12>>2]-v[P+8>>2];g=g+1|0;if((d|0)!=(g|0)){continue}break}break sb}i=v[b+72>>2];Ea[v[i+180>>2]](b,v[b+76>>2],d,e,20,f+4|0,20,v[i+44>>2]);if(!d){break sb}g=0;while(1){i=B(g,20);Vo(b,v[i+e>>2],P+12|0,P+8|0);i=f+i|0;v[i+8>>2]=v[i+8>>2]-v[P+12>>2];v[i+12>>2]=v[i+12>>2]-v[P+8>>2];g=g+1|0;if((d|0)!=(g|0)){continue}break}}if(w[c+32|0]&4){h=0;d=Ca-16|0;Ca=d;k=v[c+76>>2];if(k){e=v[c+96>>2];n=v[c+88>>2];i=(v[c+48>>2]&-2)!=4;while(1){f=B(h,20);j=f+n|0;g=x[j+16>>1];tb:{if((g&31)!=29|w[j+12|0]&32){break tb}ub:{vb:{wb:{xb:{yb:{zb:{Ab:{j=g>>>8|0;switch(j-1|0){case 20:break wb;case 19:break xb;case 18:break yb;case 16:break zb;case 0:case 1:case 2:case 3:case 4:case 5:case 15:break Ab;default:break tb}}if(!i){v[e+f>>2]=(v[b+20>>2]+(g>>>9|0)|0)/(j|0);break tb}v[(e+f|0)+4>>2]=(0-(v[b+24>>2]+(g>>>9|0)|0)|0)/(j|0);break tb}if(!i){j=e+f|0;f=v[b+20>>2];g=f>>31;ia=j,ja=fQ(f<<2,g<<2|f>>>30,18,0),v[ia>>2]=ja;break tb}j=e+f|0;f=0-v[b+24>>2]|0;g=f>>31;ia=j,ja=fQ(f<<2,g<<2|f>>>30,18,0),v[ia+4>>2]=ja;break tb}v[d+12>>2]=0;g=v[b+72>>2];if(Ea[v[g+156>>2]](b,v[b+76>>2],48,d+12|0,v[g+20>>2])|0){break ub}v[d+12>>2]=0;g=v[b+72>>2];if(!(Ea[v[g+156>>2]](b,v[b+76>>2],49,d+12|0,v[g+20>>2])|0)){break vb}break ub}v[d+12>>2]=0;g=v[b+72>>2];if(!(Ea[v[g+156>>2]](b,v[b+76>>2],46,d+12|0,v[g+20>>2])|0)){v[d+12>>2]=0;g=v[b+72>>2];if(!(Ea[v[g+156>>2]](b,v[b+76>>2],44,d+12|0,v[g+20>>2])|0)){break tb}}g=v[b+72>>2];j=v[d+12>>2];if(!i){ia=e+f|0,ja=Ea[v[g+168>>2]](b,v[b+76>>2],j,v[g+32>>2])|0,v[ia>>2]=ja;break tb}ia=e+f|0,ja=Ea[v[g+172>>2]](b,v[b+76>>2],j,v[g+36>>2])|0,v[ia+4>>2]=ja;break tb}if(!i){f=e+f|0;v[f>>2]=v[f>>2]/2;break tb}f=e+f|0;v[f+4>>2]=v[f+4>>2]/2;break tb}v[d+12>>2]=0;g=v[b+72>>2];if(Ea[v[g+156>>2]](b,v[b+76>>2],50,d+12|0,v[g+20>>2])|0){break ub}v[d+12>>2]=0;g=v[b+72>>2];if(Ea[v[g+156>>2]](b,v[b+76>>2],51,d+12|0,v[g+20>>2])|0){break ub}v[d+12>>2]=0;g=v[b+72>>2];if(Ea[v[g+156>>2]](b,v[b+76>>2],52,d+12|0,v[g+20>>2])|0){break ub}v[d+12>>2]=0;g=v[b+72>>2];if(Ea[v[g+156>>2]](b,v[b+76>>2],53,d+12|0,v[g+20>>2])|0){break ub}v[d+12>>2]=0;g=v[b+72>>2];if(Ea[v[g+156>>2]](b,v[b+76>>2],54,d+12|0,v[g+20>>2])|0){break ub}v[d+12>>2]=0;g=v[b+72>>2];if(Ea[v[g+156>>2]](b,v[b+76>>2],55,d+12|0,v[g+20>>2])|0){break ub}v[d+12>>2]=0;g=v[b+72>>2];if(Ea[v[g+156>>2]](b,v[b+76>>2],56,d+12|0,v[g+20>>2])|0){break ub}v[d+12>>2]=0;g=v[b+72>>2];if(!(Ea[v[g+156>>2]](b,v[b+76>>2],57,d+12|0,v[g+20>>2])|0)){break tb}}g=v[b+72>>2];j=v[d+12>>2];if(!i){ia=e+f|0,ja=Ea[v[g+168>>2]](b,v[b+76>>2],j,v[g+32>>2])|0,v[ia>>2]=ja;break tb}ia=e+f|0,ja=Ea[v[g+172>>2]](b,v[b+76>>2],j,v[g+36>>2])|0,v[ia+4>>2]=ja}h=h+1|0;if((k|0)!=(h|0)){continue}break}}Ca=d+16|0}e=0;e=t[a+201|0]&1?(v[c+48>>2]&-3)==4:e;fa=v[c+88>>2];da=v[c+76>>2];ga=v[c+96>>2];if(!(!Rh(b,9)|!da)){g=0;while(1){d=B(g,20);Nf(b,v[d+fa>>2],P+12|0,P+8|0);d=d+ga|0;v[d+8>>2]=v[d+8>>2]+v[P+12>>2];v[d+12>>2]=v[d+12>>2]+v[P+8>>2];g=g+1|0;if((da|0)!=(g|0)){continue}break}}h=0;d=v[c+76>>2];Bb:{if(!d){break Bb}g=d&3;if(d-1>>>0>=3){i=d&-4;while(1){d=B(h,20);t[(d+v[c+96>>2]|0)+18|0]=0;u[(d+v[c+96>>2]|0)+16>>1]=0;d=B(h|1,20);t[(d+v[c+96>>2]|0)+18|0]=0;u[(d+v[c+96>>2]|0)+16>>1]=0;d=B(h|2,20);t[(d+v[c+96>>2]|0)+18|0]=0;u[(d+v[c+96>>2]|0)+16>>1]=0;d=B(h|3,20);t[(d+v[c+96>>2]|0)+18|0]=0;u[(d+v[c+96>>2]|0)+16>>1]=0;h=h+4|0;i=i-4|0;if(i){continue}break}}if(!g){break Bb}while(1){d=B(h,20);t[(d+v[c+96>>2]|0)+18|0]=0;u[(d+v[c+96>>2]|0)+16>>1]=0;h=h+1|0;g=g-1|0;if(g){continue}break}}Cb:{if(!(w[a+200|0]&32)|v[v[a+80>>2]+48>>2]!=1){break Cb}i=v[c+76>>2];if(!i){break Cb}h=v[c+88>>2];if(e){g=0;while(1){d=B(g,20);if(w[(d+h|0)+12|0]&8){d=d+v[c+96>>2]|0;f=v[d+4>>2];v[d+4>>2]=0;j=v[d>>2];v[d>>2]=0;v[d+8>>2]=v[d+8>>2]-j;v[d+12>>2]=v[d+12>>2]-f}g=g+1|0;if((i|0)!=(g|0)){continue}break}break Cb}f=0;if((i|0)!=1){g=i&-2;while(1){d=B(f,20);if(w[(d+h|0)+12|0]&8){d=d+v[c+96>>2]|0;v[d>>2]=0;v[d+4>>2]=0}d=B(f|1,20);if(w[(d+h|0)+12|0]&8){d=d+v[c+96>>2]|0;v[d>>2]=0;v[d+4>>2]=0}f=f+2|0;g=g-2|0;if(g){continue}break}}if(!(i&1)){break Cb}d=B(f,20);if(!(w[(d+h|0)+12|0]&8)){break Cb}d=d+v[c+96>>2]|0;v[d>>2]=0;v[d+4>>2]=0}d=x[N+140>>1];Db:{if(d&512){k=0;j=0;m=Ca-16|0;Ca=m;d=v[b+16>>2]+140|0;f=v[ad(d)>>2];f=f?f:280448;v[m+8>>2]=y[f+16>>2]<10?280448:v[f+12>>2];ia=m,ja=v[ad(d)+8>>2],v[ia+12>>2]=ja;if(Bb(c,b,229720,0)){f=Ca-176|0;Ca=f;v[f+56>>2]=0;v[f+60>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+88>>2]=0;v[f+92>>2]=0;d=f- -64|0;v[d>>2]=0;v[d+4>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+80>>2]=0;v[f+84>>2]=0;v[f+104>>2]=0;v[f+108>>2]=0;v[f+112>>2]=0;v[f+96>>2]=0;v[f+100>>2]=0;v[f+56>>2]=0;v[f+52>>2]=0;t[f+48|0]=0;v[f+44>>2]=-1;t[f+92|0]=0;v[f+88>>2]=-1;v[f+24>>2]=0;v[f+28>>2]=0;v[f+72>>2]=0;v[f+76>>2]=0;v[f+116>>2]=b;d=v[b+16>>2];v[f+128>>2]=0;v[f+124>>2]=c;v[f+120>>2]=d;d=v[Oe(d+132|0)>>2];d=d?d:280448;i=y[d+16>>2]<12?280448:v[d+12>>2];v[f+132>>2]=i;d=f;h=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);if((h<<24|h<<8&16711680|(h>>>8&65280|h>>>24))>>>0>=65539){h=w[i+14|0]|w[i+15|0]<<8|(w[i+16|0]<<16|w[i+17|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);g=h?h+i|0:280448}else{g=280448}v[d+136>>2]=g;d=v[c+48>>2];v[f+160>>2]=6;v[f+152>>2]=-1;v[f+156>>2]=0;v[f+144>>2]=1;v[f+148>>2]=1;v[f+140>>2]=d;d=w[i+5|0];i=w[i+4|0];v[f+60>>2]=0;v[f+104>>2]=0;u[f+40>>1]=257;v[f+36>>2]=0;u[f+84>>1]=257;v[f+80>>2]=0;v[f+168>>2]=1;t[f+167|0]=0;t[f+165|0]=1;t[f+166|0]=1;v[f+32>>2]=f+24;v[f+52>>2]=0;v[f+56>>2]=0;v[f+76>>2]=f+24;v[f+44>>2]=1;v[f+96>>2]=0;v[f+100>>2]=0;v[f+128>>2]=436;v[f+88>>2]=-1;t[f+164|0]=(d|i<<8)!=0;Eb:{Fb:{d=v[N+92>>2];if(d){while(1){n=280448;n=d>>>0>j>>>0?v[N+96>>2]+(j<<3)|0:n;if(y[n>>2]>k>>>0){while(1){A=x[(y[N+68>>2]<=k>>>0?280448:v[N+72>>2]+(k<<3)|0)>>1];v[f+16>>2]=A;if(Bb(c,b,230141,f+16|0)){v[f+152>>2]=A;g=y[N+68>>2]<=k>>>0;i=v[(g?280448:v[N+72>>2]+(k<<3)|0)+4>>2];v[f+60>>2]=0;v[f+144>>2]=i;v[f+52>>2]=0;v[f+56>>2]=0;d=v[f+156>>2];v[f+36>>2]=d;v[f+104>>2]=0;v[f+44>>2]=i;t[f+41|0]=w[f+166|0];v[f+96>>2]=0;v[f+100>>2]=0;v[f+80>>2]=d;v[f+88>>2]=-1;t[f+85|0]=1;h=v[f+148>>2]==1;t[f+40|0]=h;o=h|w[f+165|0]!=0;t[f+84|0]=o;v[f+32>>2]=f+24;v[f+76>>2]=f+24;q=w[(g?280448:v[N+72>>2]+(k<<3)|0)+2|0];v[f+60>>2]=0;v[f+52>>2]=0;v[f+56>>2]=0;v[f+104>>2]=0;v[f+44>>2]=i;t[f+40|0]=h;v[f+36>>2]=d;v[f+96>>2]=0;v[f+100>>2]=0;v[f+88>>2]=-1;t[f+84|0]=o;v[f+80>>2]=d;t[f+85|0]=1;q=q>>>1&1;t[f+166|0]=q;t[f+41|0]=q;v[f+32>>2]=f+24;v[f+76>>2]=f+24;o=w[(g?280448:v[N+72>>2]+(k<<3)|0)+2|0];v[f+60>>2]=0;v[f+52>>2]=0;v[f+56>>2]=0;v[f+104>>2]=0;v[f+44>>2]=i;t[f+41|0]=q;t[f+40|0]=h;v[f+36>>2]=d;v[f+96>>2]=0;v[f+100>>2]=0;v[f+88>>2]=-1;v[f+80>>2]=d;t[f+85|0]=1;d=o&1;t[f+165|0]=d;t[f+84|0]=d|h;v[f+32>>2]=f+24;v[f+76>>2]=f+24;if(w[(g?280448:v[N+72>>2]+(k<<3)|0)+2|0]&4){t[f+167|0]=1;Mb(c,0,v[c+76>>2])}g=280448;d=v[m+8>>2];i=w[d+9|0]|w[d+8|0]<<8;d=i?d+i|0:280448;if(A>>>0<(w[d|0]<<8|w[d+1|0])>>>0){i=d;d=d+(A<<1)|0;d=w[d+2|0]<<8|w[d+3|0];g=d?i+d|0:280448}d=v[f+124>>2];Gb:{if(!v[d+76>>2]){break Gb}i=v[f+144>>2];if(!i){break Gb}q=v[m+12>>2];o=w[g+3|0];h=o|w[g+2|0]<<8;if(o&16){o=h;h=(g+4|0)+(w[g+5|0]<<1|w[g+4|0]<<9)|0;h=o|w[h+2|0]<<24|w[h+3|0]<<16}g=0;v[f+60>>2]=0;v[f+156>>2]=h;v[f+52>>2]=0;v[f+56>>2]=0;v[f+36>>2]=h;v[f+104>>2]=0;v[f+44>>2]=i;t[f+41|0]=w[f+166|0];v[f+96>>2]=0;v[f+100>>2]=0;v[f+80>>2]=h;v[f+88>>2]=-1;i=w[f+165|0];t[f+85|0]=1;h=v[f+148>>2]==1;t[f+40|0]=h;t[f+84|0]=h|(i|0)!=0;v[f+32>>2]=f+24;v[f+76>>2]=f+24;v[d+72>>2]=0;q=q+B(A,24)|0;r=q;h=0;while(1){if(w[d+68|0]){g=v[d+88>>2]+B(g,20)|0;i=v[g>>2];Hb:{Ib:{if(!(v[q>>2]>>>(i>>>4)&1)|!(v[q+4>>2]>>>i&1)|(!(v[q+8>>2]>>>(i>>>9)&1)|!(v[f+144>>2]&v[g+4>>2]))){break Ib}o=v[f+156>>2];g=x[g+12>>1];if(o&g&14){break Ib}if(g&8){if(!Of(f+24|0,i,g,o)){break Ib}}i=v[q+16>>2];if(!i){break Ib}g=0;while(1){o=g>>>0<i>>>0?v[r+20>>2]+B(g,20)|0:280448;l=v[f+124>>2];l=v[v[l+88>>2]+B(v[l+72>>2],20)>>2];if(!(!(v[o+8>>2]>>>(l>>>4)&1)|!(v[o+12>>2]>>>l&1)|!(v[o+16>>2]>>>(l>>>9)&1))){if(Ea[v[o+4>>2]](v[o>>2],f+24|0)|0){h=1;break Hb}i=v[q+16>>2]}g=g+1|0;if(g>>>0<i>>>0){continue}break}}if(w[d+69|0]){Jb:{if(v[d+92>>2]==v[d+88>>2]){g=v[d+80>>2];if((g|0)==v[d+72>>2]){break Jb}}if(!cb(d,1,1)){break Hb}g=v[d+88>>2]+B(v[d+72>>2],20)|0;o=v[g+4>>2];i=v[d+92>>2]+B(v[d+80>>2],20)|0;v[i>>2]=v[g>>2];v[i+4>>2]=o;v[i+16>>2]=v[g+16>>2];o=v[g+12>>2];v[i+8>>2]=v[g+8>>2];v[i+12>>2]=o;g=v[d+80>>2]}v[d+80>>2]=g+1}v[d+72>>2]=v[d+72>>2]+1}g=v[d+72>>2];if(g>>>0<y[d+76>>2]){continue}}break}if(!h){break Gb}if(v[d+88>>2]!=v[d+92>>2]){break Fb}}v[f>>2]=A;Bb(c,b,230157,f)}k=k+1|0;if(k>>>0<y[n>>2]){continue}break}}if(v[n+4>>2]){v[c+80>>2]=0;t[c+69|0]=1;t[c+70|0]=0;v[c+92>>2]=v[c+88>>2];Ea[v[n+4>>2]](N,b,c)}d=v[N+92>>2];j=j+1|0;if(d>>>0>j>>>0){continue}break}}Ca=f+176|0;break Eb}O(230171,230203,1900,230219);L()}Bb(c,b,229737,0)}Ca=m+16|0;break Db}if(d&2048){k=0;M=Ca-80|0;Ca=M;d=Ca-48|0;Ca=d;h=v[b+16>>2]+156|0;i=v[h>>2];Kb:{if(i){break Kb}g=h-108|0;while(1){f=v[g>>2];if(!f){i=280448;break Kb}v[d+16>>2]=0;v[d+20>>2]=0;t[d+21|0]=0;t[d+22|0]=0;t[d+23|0]=0;t[d+24|0]=0;t[d+25|0]=0;t[d+26|0]=0;t[d+27|0]=0;t[d+28|0]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;i=Nb(f);t[d+44|0]=1;v[d+40>>2]=i;f=Lp(d+8|0,Jb(f,1801810552));if(!f){f=280448}i=v[h>>2];if(!i){v[h>>2]=f;i=f;break Kb}if(f){if((f|0)!=280448){Sa(f)}i=v[h>>2]}if(!i){continue}break}}Ca=d+48|0;q=v[i+16>>2];o=v[i+12>>2];r=Zg(M+8|0,N,b,c,i);Lb:{if(Bb(c,b,229328,0)){g=Ca-48|0;Ca=g;j=v[b+16>>2]+160|0;i=v[j>>2];Mb:{if(i){break Mb}l=j-112|0;while(1){d=v[l>>2];if(!d){i=280448;break Mb}v[g+16>>2]=0;v[g+20>>2]=0;t[g+21|0]=0;t[g+22|0]=0;t[g+23|0]=0;t[g+24|0]=0;t[g+25|0]=0;t[g+26|0]=0;t[g+27|0]=0;t[g+28|0]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;f=Nb(d);t[g+44|0]=1;v[g+40>>2]=f;n=0;i=g+8|0;d=Jb(d,1634626418);f=Hb(d);v[i+28>>2]=f;Nb:{Ob:{Pb:{Qb:{Rb:{while(1){t[i+20|0]=n;n=v[f+12>>2];v[i+4>>2]=n;m=v[f+16>>2];v[i+8>>2]=m+n;if((m|0)<=-1){break Lb}v[i+24>>2]=0;h=i;if(m>>>0>67108862){m=1073741823}else{m=m<<6;m=m>>>0>16384?m:16384;m=m>>>0<1073741823?m:1073741823}v[h+12>>2]=m;v[i>>2]=0;if(!n){Sa(f);v[i+28>>2]=0;v[i+4>>2]=0;v[i+8>>2]=0;f=d;break Nb}h=wp(n,i);f=v[i+24>>2];Sb:{if(h){if(!f){break Sb}v[i+24>>2]=0;f=wp(n,i);h=v[i+24>>2];Sa(v[i+28>>2]);v[i+28>>2]=0;v[i+4>>2]=0;v[i+8>>2]=0;if(h){break Ob}if(f){break Rb}break Ob}if(w[i+20|0]|!f){break Qb}h=xc(d);v[i+4>>2]=h;v[i+8>>2]=h+v[d+16>>2];f=v[i+28>>2];n=1;if(h){continue}break Pb}break}Sa(v[i+28>>2]);v[i+28>>2]=0;v[i+4>>2]=0;v[i+8>>2]=0}if(v[d+4>>2]){v[d+4>>2]=0}f=d;break Nb}f=v[i+28>>2]}Sa(f);v[i+28>>2]=0;v[i+4>>2]=0;v[i+8>>2]=0}Sa(d);f=280448;break Nb}f=f?f:280448;i=v[j>>2];if(!i){v[j>>2]=f;i=f;break Mb}if(f){if((f|0)!=280448){Sa(f)}i=v[j>>2]}if(!i){continue}break}}Ca=g+48|0;v[r+60>>2]=y[i+16>>2]<12?280448:v[i+12>>2];Q=Ca-32|0;Ca=Q;v[r+68>>2]=0;d=q>>>0<8?280448:o;f=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);W=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(W){Z=W-1|0;f=d+8|0;while(1){d=v[r+16>>2];i=v[d+48>>2];h=t[f+4|0];Tb:{if(((i&-2)!=4|0)==((h|0)>-1|0)){break Tb}g=v[r+8>>2];v[Q+16>>2]=k;if(!Bb(d,g,229536,Q+16|0)){break Tb}ca=(h&16)>>>4^(i&-3)!=5;d=1;Ub:{if(A){break Ub}d=0;if(!(w[f+4|0]&64)){break Ub}h=v[r+16>>2];i=v[h+76>>2];d=1;if(!i){break Ub}h=v[h+96>>2];k=0;if((i|0)!=1){A=i&-2;while(1){d=h+B(k,20)|0;t[d+18|0]=2;u[d+16>>1]=(v[v[r+16>>2]+48>>2]&-3)==4?-1:1;d=h+B(k|1,20)|0;t[d+18|0]=2;u[d+16>>1]=(v[v[r+16>>2]+48>>2]&-3)==4?-1:1;k=k+2|0;A=A-2|0;if(A){continue}break}}d=1;if(!(i&1)){break Ub}d=h+B(k,20)|0;t[d+18|0]=2;u[d+16>>1]=(v[v[r+16>>2]+48>>2]&-3)==4?-1:1;d=1}A=d;if(!ca){nd(v[r+16>>2])}d=v[r+48>>2];i=v[d+12>>2];v[r+24>>2]=i;d=v[d+16>>2];h=d+i|0;v[r+28>>2]=h;if((d|0)<=-1){break Lb}d=Z>>>0>aa>>>0?f:0;Vb:{if(!d){break Vb}if(!(d>>>0<h>>>0?d>>>0>=i>>>0:0)){v[r+24>>2]=0;v[r+28>>2]=0;break Vb}v[r+24>>2]=d;i=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);i=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);h=h-d|0;v[r+28>>2]=d+(h>>>0>i>>>0?i:h)}k=0;h=Ca-80|0;Ca=h;Wb:{Xb:{switch(w[f+7|0]){case 0:d=v[r+4>>2];if(!(t[d+140|0]&1)){break Wb}i=w[f+4|0];if(i&16){break Wb}v[h+8>>2]=f;k=1;v[h+12>>2]=r;t[h+68|0]=i>>>6&1;v[h+64>>2]=h+8;I=h- -64|0;K=v[d+132>>2];i=0;U=Ca-160|0;Ca=U;E=v[r+8>>2];s=v[r+16>>2];g=Yg(U+8|0,1,E,s);v[g+120>>2]=K;v[g+132>>2]=8;v[g+36>>2]=0;v[g+8>>2]=g;v[g+28>>2]=0;v[g+32>>2]=0;v[g+80>>2]=0;v[g+52>>2]=g;v[g+20>>2]=K;t[g+17|0]=w[g+142|0];v[g+12>>2]=8;v[g+72>>2]=0;v[g+76>>2]=0;v[g- -64>>2]=-1;t[g+61|0]=1;v[g+56>>2]=8;d=v[g+124>>2]==1;t[g+16|0]=d;t[g+60|0]=d|w[g+141|0]!=0;m=v[s+76>>2];if(m){X=g+4|0;F=v[s+96>>2];R=v[s+88>>2];_=(v[s+48>>2]&-2)!=4;while(1){q=m;Yb:{Zb:{Y=B(i,20);n=Y+R|0;if(!(K&v[n+4>>2])){break Zb}v[g+40>>2]=1;v[g+4>>2]=i;j=v[v[g+8>>2]+100>>2];v[g+44>>2]=v[j+76>>2];t[g+24|0]=v[j+72>>2]==(i|0)?w[(Y+v[j+88>>2]|0)+15|0]:0;if(!Rc(X)){break Zb}S=v[n>>2];ba=v[X>>2];J=B(ba,20);T=v[J+R>>2];d=0;j=280448;G=v[I>>2];o=v[G>>2];n=w[o+12|0]|w[o+13|0]<<8|(w[o+14|0]<<16|w[o+15|0]<<24);n=n<<24|n<<8&16711680|(n>>>8&65280|n>>>24);_b:{if((n|0)<1){break _b}n=n-1|0;while(1){$b:{ac:{bc:{l=d+n>>>1|0;p=o+B(l,6)|0;$=w[p+28|0]<<8|w[p+29|0];cc:{if(($|0)==(S|0)){p=w[p+31|0]|w[p+30|0]<<8;if(p>>>0>T>>>0){break cc}if((p|0)==(T|0)){break bc}break ac}if(S>>>0>=$>>>0){break ac}}n=l-1|0;break $b}j=(o+B(l,6)|0)+28|0;break _b}d=l+1|0}if((d|0)<=(n|0)){continue}break}}d=w[j+4|0]|w[j+5|0]<<8;j=(d<<8|d>>>8)<<16>>16;n=w[o+8|0]|w[o+9|0]<<8|(w[o+10|0]<<16|w[o+11|0]<<24);p=n<<24|n<<8&16711680|(n>>>8&65280|n>>>24);d=j;dc:{if(!p){break dc}l=v[G+4>>2];d=j;if(!l){break dc}n=0;ec:{if(p>>>0>2147483646){break ec}d=j+o|0;if(d>>>0<y[l+24>>2]){break ec}j=v[l+28>>2];if(j>>>0<d>>>0){break ec}o=j-d|0;j=p<<1;if(o>>>0<j>>>0){break ec}j=v[l+32>>2]-j|0;v[l+32>>2]=j;if((j|0)<1){break ec}d=w[d|0]|w[d+1|0]<<8;n=(d<<8|d>>>8)<<16>>16}d=n}fc:{if(!d){break fc}gc:{if(!_){p=d<<16;l=p>>31;d=eQ(v[E+32>>2],v[E+36>>2],p>>16,l);d=(Da&65535)<<16|d>>>16;if(w[I+4|0]){v[(F+J|0)+12>>2]=d;v[s+32>>2]=v[s+32>>2]|8;break gc}j=F+Y|0;n=d>>1;v[j>>2]=n+v[j>>2];j=F+J|0;d=d-n|0;v[j>>2]=d+v[j>>2];v[j+8>>2]=d+v[j+8>>2];break gc}p=d<<16;l=p>>31;d=eQ(v[E+40>>2],v[E+44>>2],p>>16,l);d=(Da&65535)<<16|d>>>16;if(w[I+4|0]){v[(F+J|0)+8>>2]=d;v[s+32>>2]=v[s+32>>2]|8;break gc}j=F+Y|0;n=d>>1;v[j+4>>2]=n+v[j+4>>2];j=F+J|0;d=d-n|0;v[j+4>>2]=d+v[j+4>>2];v[j+12>>2]=d+v[j+12>>2]}d=ba+1|0;if(d-i>>>0<2){break fc}Mb(s,i,d)}i=v[X>>2];break Yb}i=i+1|0}if(q>>>0>i>>>0){continue}break}}Ca=U+160|0;break Wb;case 1:i=w[f+4|0];d=t[v[r+4>>2]+140|0]&1|i&64;s=!d;if(d){v[h+12>>2]=f;v[h+8>>2]=r;d=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);v[h+52>>2]=0;t[h+56|0]=i>>>6&1;i=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);d=f+12|0;v[h+16>>2]=i+d;g=v[v[r+8>>2]+16>>2];v[h+68>>2]=v[r+16>>2];v[h+64>>2]=d;i=h;d=v[g+32>>2];if((d|0)==-1){d=Xc(g)}v[i+72>>2]=d;m=h+8|0;d=0;q=h- -64|0;n=v[q+4>>2];v[n+72>>2]=0;hc:{if(!w[n+68|0]){break hc}while(1){o=0;ic:{if(y[n+76>>2]<=k>>>0){break ic}k=v[v[n+88>>2]+B(k,20)>>2];o=2;if((k|0)==65535){break ic}i=v[q>>2];j=w[i+4|0]|w[i+5|0]<<8|(w[i+6|0]<<16|w[i+7|0]<<24);i=od((j<<8&16711680|j<<24|(j>>>8&65280|j>>>24))+i|0,k,v[q+8>>2]);o=1;if(!i){break ic}o=w[i+1|0]|w[i|0]<<8}i=v[q>>2];j=w[i+12|0]|w[i+13|0]<<8|(w[i+14|0]<<16|w[i+15|0]<<24);k=(j<<24|j<<8&16711680|(j>>>8&65280|j>>>24))+i|0;g=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);n=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);o=o>>>0<n>>>0?o:1;l=B(d,n);g=w[i+8|0]|w[i+9|0]<<8|(w[i+10|0]<<16|w[i+11|0]<<24);g=i+(g<<24|g<<8&16711680|(g>>>8&65280|g>>>24))|0;i=(o+l<<1)+g|0;j=k+B(w[i|0]<<8|w[i+1|0],6)|0;i=w[j|0]<<8|w[j+1|0];jc:{kc:{if((w[j+5|0]|w[j+4|0]<<8)!=65535){break kc}lc:{if(!d){break lc}p=w[j+2|0];if(i?0:p&64){break lc}d=g+(o<<1)|0;d=k+B(w[d|0]<<8|w[d+1|0],6)|0;if((w[d+4|0]<<8|w[d+5|0])!=65535|(i|0)!=(w[d+1|0]|w[d|0]<<8)|(p^w[d+2|0])&64){break kc}}d=g+(l+!n<<1)|0;d=k+B(w[d|0]<<8|w[d+1|0],6)|0;if((w[d+4|0]<<8|w[d+5|0])==65535){break jc}}d=v[q+4>>2];g=v[(w[d+69|0]?80:72)+d>>2];if(!g){break jc}k=v[d+72>>2];if(k>>>0>=y[d+76>>2]){break jc}md(d,g-1|0,k+1|0)}d=v[q+4>>2];g=w[j+2|0];if(g&32){v[m+44>>2]=0}mc:{if(!(g&128)){break mc}g=v[m+44>>2];if(g>>>0<=7){k=v[d+72>>2];v[m+44>>2]=g+1;v[(m+(g<<2)|0)+12>>2]=k;break mc}v[m+44>>2]=0}n=w[j+5|0]|w[j+4|0]<<8;nc:{if((n|0)==65535){break nc}k=v[m+44>>2];if(!k){break nc}oc:{g=v[m+4>>2];g=w[g+8|0]|w[g+9|0]<<8|(w[g+10|0]<<16|w[g+11|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);o=g>>>0>1?g:1;pc:{if(4294967295/(o>>>0)>>>0<=k>>>0){break pc}l=B(k,o);if(l>>>0>2147483646){break pc}n=v[m+8>>2]+(n&65534)|0;g=v[m>>2];if(!l){break oc}if(y[g+24>>2]>n>>>0){break pc}p=v[g+28>>2];if(p>>>0<n>>>0){break pc}l=l<<1;if(l>>>0>p-n>>>0){break pc}l=v[g+32>>2]-l|0;v[g+32>>2]=l;if((l|0)>0){break oc}}v[m+44>>2]=0;break nc}l=v[v[g+4>>2]+132>>2];F=o<<1;while(1){k=k-1|0;v[m+44>>2]=k;o=v[(m+(k<<2)|0)+12>>2];if(o>>>0<y[d+76>>2]){g=w[n|0]|w[n+1|0]<<8;k=(g<<8|g>>>8)<<16>>16;g=k&-2;E=k&1;p=w[m+48|0];k=v[d+96>>2];qc:{if((v[d+48>>2]&-2)==4){if(p){k=k+B(o,20)|0;o=k;if((g|0)==-32768){u[o+16>>1]=0;t[o+18|0]=0;v[k+12>>2]=0;break qc}if(!w[o+18|0]){break qc}o=k;G=v[k+12>>2];k=v[v[m>>2]+8>>2];g=eQ(v[k+40>>2],v[k+44>>2],g,g>>31);v[o+12>>2]=G+((Da&65535)<<16|g>>>16);v[d+32>>2]=v[d+32>>2]|8;break qc}o=B(o,20);if(!(l&v[(o+v[d+88>>2]|0)+4>>2])){break qc}p=v[v[m>>2]+8>>2];g=eQ(v[p+32>>2],v[p+36>>2],g,g>>31);g=(Da&65535)<<16|g>>>16;k=k+o|0;v[k>>2]=g+v[k>>2];v[k+8>>2]=g+v[k+8>>2];break qc}if(p){k=k+B(o,20)|0;o=k;if((g|0)==-32768){u[o+16>>1]=0;t[o+18|0]=0;v[k+8>>2]=0;break qc}if(!w[o+18|0]){break qc}o=k;G=v[k+8>>2];k=v[v[m>>2]+8>>2];g=eQ(v[k+32>>2],v[k+36>>2],g,g>>31);v[o+8>>2]=G+((Da&65535)<<16|g>>>16);v[d+32>>2]=v[d+32>>2]|8;break qc}o=B(o,20);if(!(l&v[(o+v[d+88>>2]|0)+4>>2])){break qc}p=v[v[m>>2]+8>>2];g=eQ(v[p+40>>2],v[p+44>>2],g,g>>31);g=(Da&65535)<<16|g>>>16;k=k+o|0;v[k+4>>2]=g+v[k+4>>2];v[k+12>>2]=g+v[k+12>>2]}if(E){break nc}k=v[m+44>>2]}n=n+F|0;if(k){continue}break}}d=v[q+4>>2];k=v[d+72>>2];if((k|0)==v[d+76>>2]|!w[d+68|0]){break hc}rc:{if(w[j+2|0]&64){g=v[d+40>>2];v[d+40>>2]=g-1;if((g|0)>0){break rc}}if(w[d+69|0]){l=d;sc:{if(v[d+92>>2]==v[d+88>>2]){g=k;j=g;if(v[d+80>>2]==(g|0)){break sc}}if(!cb(d,1,1)){break rc}g=v[d+88>>2]+B(v[d+72>>2],20)|0;o=v[g+4>>2];k=v[d+92>>2]+B(v[d+80>>2],20)|0;v[k>>2]=v[g>>2];v[k+4>>2]=o;v[k+16>>2]=v[g+16>>2];n=v[g+12>>2];v[k+8>>2]=v[g+8>>2];v[k+12>>2]=n;k=v[d+72>>2];j=v[d+80>>2]}v[l+80>>2]=j+1}v[d+72>>2]=k+1}n=v[q+4>>2];if(!w[n+68|0]){break hc}k=v[n+72>>2];d=i;continue}}}k=!s;break Wb;case 2:d=v[r+4>>2];if(!(t[d+140|0]&1)){break Wb}i=w[f+4|0];if(i&16){break Wb}v[h+8>>2]=f;k=1;v[h+12>>2]=r;t[h+68|0]=i>>>6&1;v[h+64>>2]=h+8;I=h- -64|0;K=v[d+132>>2];i=0;U=Ca-160|0;Ca=U;E=v[r+8>>2];s=v[r+16>>2];g=Yg(U+8|0,1,E,s);v[g+120>>2]=K;v[g+132>>2]=8;v[g+36>>2]=0;v[g+8>>2]=g;v[g+28>>2]=0;v[g+32>>2]=0;v[g+80>>2]=0;v[g+52>>2]=g;v[g+20>>2]=K;t[g+17|0]=w[g+142|0];v[g+12>>2]=8;v[g+72>>2]=0;v[g+76>>2]=0;v[g- -64>>2]=-1;t[g+61|0]=1;v[g+56>>2]=8;d=v[g+124>>2]==1;t[g+16|0]=d;t[g+60|0]=d|w[g+141|0]!=0;n=v[s+76>>2];if(n){X=g+4|0;F=v[s+96>>2];R=v[s+88>>2];T=(v[s+48>>2]&-2)!=4;while(1){q=n;tc:{uc:{Y=B(i,20);m=Y+R|0;if(!(K&v[m+4>>2])){break uc}v[g+40>>2]=1;v[g+4>>2]=i;j=v[v[g+8>>2]+100>>2];v[g+44>>2]=v[j+76>>2];t[g+24|0]=v[j+72>>2]==(i|0)?w[(Y+v[j+88>>2]|0)+15|0]:0;if(!Rc(X)){break uc}_=v[X>>2];J=B(_,20);j=v[J+R>>2];l=v[I>>2];o=v[l>>2];d=w[o+16|0]|w[o+17|0]<<8|(w[o+18|0]<<16|w[o+19|0]<<24);l=v[l+4>>2];p=v[l+52>>2];d=od((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+o|0,v[m>>2],p);if(d){m=w[d+1|0]|w[d|0]<<8}else{m=0}d=w[o+20|0]|w[o+21|0]<<8|(w[o+22|0]<<16|w[o+23|0]<<24);d=od(o+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0,j,p);if(d){m=(w[d+1|0]|w[d|0]<<8)+m|0}j=0;ba=v[l+24>>2];d=w[o+24|0]|w[o+25|0]<<8|(w[o+26|0]<<16|w[o+27|0]<<24);G=o+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;d=G+(m<<1)|0;vc:{wc:{if(ba>>>0>d>>>0){break wc}p=v[l+28>>2];if(p>>>0<d>>>0|p-d>>>0<2){break wc}S=v[l+32>>2]-2|0;v[l+32>>2]=S;if((S|0)<1){break wc}G=(w[(G+(m<<1)|0)+1|0]|w[d|0]<<8)<<16>>16;d=G;m=w[o+8|0]|w[o+9|0]<<8|(w[o+10|0]<<16|w[o+11|0]<<24);m=m<<24|m<<8&16711680|(m>>>8&65280|m>>>24);if(!m){break vc}if(m>>>0>2147483646){break wc}d=o+G|0;if(d>>>0<ba>>>0|d>>>0>p>>>0){break wc}m=m<<1;if(m>>>0>p-d>>>0){break wc}m=S-m|0;v[l+32>>2]=m;if((m|0)<1){break wc}d=w[d|0]|w[d+1|0]<<8;j=(d<<8|d>>>8)<<16>>16}d=j}xc:{if(!d){break xc}yc:{if(!T){p=d<<16;l=p>>31;d=eQ(v[E+32>>2],v[E+36>>2],p>>16,l);d=(Da&65535)<<16|d>>>16;if(w[I+4|0]){v[(F+J|0)+12>>2]=d;v[s+32>>2]=v[s+32>>2]|8;break yc}j=F+Y|0;m=d>>1;v[j>>2]=m+v[j>>2];j=F+J|0;d=d-m|0;v[j>>2]=d+v[j>>2];v[j+8>>2]=d+v[j+8>>2];break yc}p=d<<16;l=p>>31;d=eQ(v[E+40>>2],v[E+44>>2],p>>16,l);d=(Da&65535)<<16|d>>>16;if(w[I+4|0]){v[(F+J|0)+8>>2]=d;v[s+32>>2]=v[s+32>>2]|8;break yc}j=F+Y|0;m=d>>1;v[j+4>>2]=m+v[j+4>>2];j=F+J|0;d=d-m|0;v[j+4>>2]=d+v[j+4>>2];v[j+12>>2]=d+v[j+12>>2]}d=_+1|0;if(d-i>>>0<2){break xc}Mb(s,i,d)}i=v[X>>2];break tc}i=i+1|0}if(q>>>0>i>>>0){continue}break}}Ca=U+160|0;break Wb;case 4:v[h+8>>2]=r;v[h+12>>2]=w[f+28|0]>>>6;d=w[f+31|0];i=w[f+30|0];g=w[f+29|0];v[h+24>>2]=0;t[h+20|0]=0;i=d|(i<<8|g<<16);d=f+12|0;v[h+16>>2]=i+d;g=v[v[r+8>>2]+16>>2];v[h+68>>2]=v[r+16>>2];v[h+64>>2]=d;i=h;d=v[g+32>>2];if((d|0)==-1){d=Xc(g)}v[i+72>>2]=d;d=0;o=h- -64|0;n=v[o+4>>2];v[n+72>>2]=0;zc:{if(!w[n+68|0]){break zc}while(1){m=0;Ac:{if(y[n+76>>2]<=k>>>0){break Ac}k=v[v[n+88>>2]+B(k,20)>>2];m=2;if((k|0)==65535){break Ac}i=v[o>>2];j=w[i+4|0]|w[i+5|0]<<8|(w[i+6|0]<<16|w[i+7|0]<<24);i=od((j<<8&16711680|j<<24|(j>>>8&65280|j>>>24))+i|0,k,v[o+8>>2]);m=1;if(!i){break Ac}m=w[i+1|0]|w[i|0]<<8}i=v[o>>2];j=w[i+12|0]|w[i+13|0]<<8|(w[i+14|0]<<16|w[i+15|0]<<24);j=(j<<24|j<<8&16711680|(j>>>8&65280|j>>>24))+i|0;g=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);k=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);n=m>>>0<k>>>0?m:1;m=B(d,k);g=w[i+8|0]|w[i+9|0]<<8|(w[i+10|0]<<16|w[i+11|0]<<24);g=i+(g<<24|g<<8&16711680|(g>>>8&65280|g>>>24))|0;i=(n+m<<1)+g|0;q=j+B(w[i|0]<<8|w[i+1|0],6)|0;i=w[q|0]<<8|w[q+1|0];Bc:{Cc:{if((w[q+5|0]|w[q+4|0]<<8)!=65535){break Cc}Dc:{if(!d){break Dc}l=w[q+2|0];if(i?0:l&64){break Dc}d=g+(n<<1)|0;d=j+B(w[d|0]<<8|w[d+1|0],6)|0;if((w[d+4|0]<<8|w[d+5|0])!=65535|(i|0)!=(w[d+1|0]|w[d|0]<<8)|(l^w[d+2|0])&64){break Cc}}d=g+(m+!k<<1)|0;d=j+B(w[d|0]<<8|w[d+1|0],6)|0;if((w[d+4|0]<<8|w[d+5|0])==65535){break Bc}}d=v[o+4>>2];g=v[(w[d+69|0]?80:72)+d>>2];if(!g){break Bc}j=v[d+72>>2];if(j>>>0>=y[d+76>>2]){break Bc}md(d,g-1|0,j+1|0)}j=Ca-32|0;Ca=j;s=v[o+4>>2];Ec:{Fc:{if(!w[h+20|0]){break Fc}n=w[q+5|0]|w[q+4|0]<<8;if((n|0)==65535){break Fc}F=v[s+72>>2];if(F>>>0>=y[s+76>>2]){break Fc}E=v[s+96>>2];Gc:{Hc:{switch(v[h+12>>2]){case 0:k=v[h+16>>2];g=k+(n<<2)|0;d=v[h+8>>2];if(g>>>0<y[d+24>>2]){break Ec}m=v[d+28>>2];if(m>>>0<g>>>0|m-g>>>0<4){break Ec}m=v[d+32>>2]-4|0;v[d+32>>2]=m;if((m|0)<1){break Ec}l=w[g+3|0];k=w[(k+(n<<2)|0)+1|0];p=w[g+2|0];n=w[g|0];v[j+20>>2]=0;v[j+16>>2]=0;v[j+12>>2]=0;v[j+8>>2]=0;g=v[v[v[d+16>>2]+88>>2]+B(v[h+24>>2],20)>>2];d=v[d+8>>2];v[j+20>>2]=0;v[j+16>>2]=0;m=k|n<<8;k=v[d+72>>2];if(!(Ea[v[k+204>>2]](d,v[d+76>>2],g,m,j+20|0,j+16|0,v[k+68>>2])|0)){break Ec}Nf(d,g,j+28|0,j+24|0);v[j+20>>2]=v[j+20>>2]-v[j+28>>2];v[j+16>>2]=v[j+16>>2]-v[j+24>>2];d=v[h+8>>2];g=v[d+8>>2];d=v[d+16>>2];m=v[v[d+88>>2]+B(v[d+72>>2],20)>>2];d=Ca-16|0;Ca=d;k=j+8|0;v[k>>2]=0;n=j+12|0;v[n>>2]=0;G=l|p<<8;l=v[g+72>>2];l=Ea[v[l+204>>2]](g,v[g+76>>2],m,G,n,k,v[l+68>>2])|0;if(l){Nf(g,m,d+12|0,d+8|0);v[n>>2]=v[n>>2]-v[d+12>>2];v[k>>2]=v[k>>2]-v[d+8>>2]}Ca=d+16|0;if(!l){break Ec}d=E+B(F,20)|0;v[d+8>>2]=v[j+20>>2]-v[j+12>>2];v[d+12>>2]=v[j+16>>2]-v[j+8>>2];break Gc;case 1:k=v[h+16>>2];d=k+(n<<2)|0;g=v[h+8>>2];if(d>>>0<y[g+24>>2]){break Ec}m=v[g+28>>2];if(m>>>0<d>>>0|m-d>>>0<4){break Ec}m=v[g+32>>2]-4|0;v[g+32>>2]=m;if((m|0)<1){break Ec}l=w[d+2|0];p=w[d+3|0];J=w[d|0];I=w[(k+(n<<2)|0)+1|0];n=280448;m=280448;d=v[g+60>>2];k=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);k=k<<24|k<<8&16711680|(k>>>8&65280|k>>>24);k=vp(k?d+k|0:280858,v[v[v[g+16>>2]+88>>2]+B(v[h+24>>2],20)>>2],v[g+52>>2]);if(k){g=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);d=(d+(g<<24|g<<8&16711680|(g>>>8&65280|g>>>24))|0)+(w[k+1|0]|w[k|0]<<8)|0;g=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);k=I|J<<8;m=k>>>0<(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))>>>0?(d+(k<<2)|0)+4|0:280448}k=v[h+8>>2];d=v[k+60>>2];g=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);G=g?d+g|0:280858;g=v[k+16>>2];k=vp(G,v[v[g+88>>2]+B(v[g+72>>2],20)>>2],v[k+52>>2]);if(k){g=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);d=(d+(g<<24|g<<8&16711680|(g>>>8&65280|g>>>24))|0)+(w[k+1|0]|w[k|0]<<8)|0;g=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);k=p|l<<8;n=k>>>0<(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))>>>0?(d+(k<<2)|0)+4|0:280448}k=v[v[h+8>>2]+8>>2];g=k;d=v[g+36>>2];J=v[g+32>>2];g=d;d=w[m|0]|w[m+1|0]<<8;p=(d<<8|d>>>8)<<16;l=p>>31;d=eQ(J,g,p>>16,l);I=E+B(F,20)|0;G=(Da&65535)<<16|d>>>16;d=w[n|0]|w[n+1|0]<<8;p=(d<<8|d>>>8)<<16;l=p>>31;d=eQ(J,g,p>>16,l);v[I+8>>2]=G-((Da&65535)<<16|d>>>16);d=v[k+44>>2];g=d;k=v[k+40>>2];d=w[m+2|0]|w[m+3|0]<<8;p=(d<<8|d>>>8)<<16;l=p>>31;d=eQ(k,g,p>>16,l);m=(Da&65535)<<16|d>>>16;d=w[n+2|0]|w[n+3|0]<<8;p=(d<<8|d>>>8)<<16;l=p>>31;d=eQ(k,g,p>>16,l);v[I+12>>2]=m-((Da&65535)<<16|d>>>16);break Gc;case 2:break Hc;default:break Gc}}l=v[h+16>>2];k=l+(n<<3)|0;d=v[h+8>>2];if(k>>>0<y[d+24>>2]){break Ec}g=v[d+28>>2];if(g>>>0<k>>>0|g-k>>>0<8){break Ec}g=v[d+32>>2]-8|0;v[d+32>>2]=g;if((g|0)<1){break Ec}m=w[k+6|0]|w[k+7|0]<<8;J=w[k+2|0]|w[k+3|0]<<8;I=v[d+8>>2];g=I;d=v[g+36>>2];K=v[g+32>>2];g=d;p=(w[(l+(n<<3)|0)+1|0]|w[k|0]<<8)<<16;l=p>>31;d=eQ(K,d,p>>16,l);X=E+B(F,20)|0;n=(Da&65535)<<16|d>>>16;d=w[k+4|0]|w[k+5|0]<<8;p=(d<<8|d>>>8)<<16;l=p>>31;d=eQ(K,g,p>>16,l);v[X+8>>2]=n-((Da&65535)<<16|d>>>16);d=v[I+44>>2];g=d;k=v[I+40>>2];p=(J<<8|J>>>8)<<16;l=p>>31;d=eQ(k,d,p>>16,l);n=(Da&65535)<<16|d>>>16;p=(m<<8|m>>>8)<<16;l=p>>31;d=eQ(k,g,p>>16,l);v[X+12>>2]=n-((Da&65535)<<16|d>>>16)}d=E+B(F,20)|0;t[d+18|0]=1;u[d+16>>1]=v[h+24>>2]-v[s+72>>2];v[s+32>>2]=v[s+32>>2]|8}if(t[q+2|0]>-1){break Ec}t[h+20|0]=1;v[h+24>>2]=v[s+72>>2]}Ca=j+32|0;d=v[o+4>>2];k=v[d+72>>2];if((k|0)==v[d+76>>2]|!w[d+68|0]){break zc}Ic:{if(w[q+2|0]&64){g=v[d+40>>2];v[d+40>>2]=g-1;if((g|0)>0){break Ic}}if(w[d+69|0]){m=d;Jc:{if(v[d+92>>2]==v[d+88>>2]){g=k;j=g;if(v[d+80>>2]==(g|0)){break Jc}}if(!cb(d,1,1)){break Ic}k=v[d+88>>2]+B(v[d+72>>2],20)|0;n=v[k+4>>2];g=v[d+92>>2]+B(v[d+80>>2],20)|0;v[g>>2]=v[k>>2];v[g+4>>2]=n;v[g+16>>2]=v[k+16>>2];n=v[k+12>>2];v[g+8>>2]=v[k+8>>2];v[g+12>>2]=n;k=v[d+72>>2];j=v[d+80>>2]}v[m+80>>2]=j+1}v[d+72>>2]=k+1}n=v[o+4>>2];if(!w[n+68|0]){break zc}k=v[n+72>>2];d=i;continue}}k=1;break Wb;case 6:break Xb;default:break Wb}}d=v[r+4>>2];if(!(t[d+140|0]&1)){break Wb}i=w[f+4|0];if(i&16){break Wb}v[h+8>>2]=f;k=1;v[h+12>>2]=r;t[h+68|0]=i>>>6&1;v[h+64>>2]=h+8;X=h- -64|0;Y=v[d+132>>2];i=0;S=Ca-160|0;Ca=S;E=v[r+8>>2];s=v[r+16>>2];j=Yg(S+8|0,1,E,s);v[j+120>>2]=Y;v[j+132>>2]=8;v[j+36>>2]=0;v[j+8>>2]=j;d=j;v[d+28>>2]=0;v[d+32>>2]=0;v[d+80>>2]=0;v[d+52>>2]=d;v[d+20>>2]=Y;t[d+17|0]=w[d+142|0];v[d+12>>2]=8;v[d+72>>2]=0;v[d+76>>2]=0;v[d- -64>>2]=-1;t[d+61|0]=1;v[d+56>>2]=8;g=v[d+124>>2]==1;t[d+16|0]=g;t[d+60|0]=g|w[d+141|0]!=0;q=v[s+76>>2];if(q){U=j+4|0;F=v[s+96>>2];T=v[s+88>>2];_=(v[s+48>>2]&-2)!=4;while(1){o=q;Kc:{Lc:{R=B(i,20);n=R+T|0;if(!(Y&v[n+4>>2])){break Lc}v[j+40>>2]=1;v[j+4>>2]=i;g=v[v[j+8>>2]+100>>2];v[j+44>>2]=v[g+76>>2];t[j+24|0]=v[g+72>>2]==(i|0)?w[(R+v[g+88>>2]|0)+15|0]:0;if(!Rc(U)){break Lc}n=v[n>>2];ba=v[U>>2];J=B(ba,20);I=v[J+T>>2];g=0;m=v[X>>2];l=v[m>>2];d=w[l+20|0]|w[l+21|0]<<8|(w[l+22|0]<<16|w[l+23|0]<<24);d=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+l|0;p=v[m+4>>2];K=v[p+52>>2];Mc:{Nc:{Oc:{if(t[l+15|0]&1){m=tp(d,n,K);d=w[l+24|0]|w[l+25|0]<<8|(w[l+26|0]<<16|w[l+27|0]<<24);n=tp(l+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0,I,K);d=m+n|0;if(d>>>0<n>>>0|d>>>0>1073741822){break Nc}K=v[p+24>>2];n=w[l+28|0]|w[l+29|0]<<8|(w[l+30|0]<<16|w[l+31|0]<<24);d=(l+(n<<24|n<<8&16711680|(n>>>8&65280|n>>>24))|0)+(d<<2)|0;if(K>>>0>d>>>0){break Nc}n=v[p+28>>2];if(n>>>0<d>>>0|n-d>>>0<4){break Nc}I=v[p+32>>2]-4|0;v[p+32>>2]=I;if((I|0)<1){break Nc}d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);G=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);m=w[l+8|0]|w[l+9|0]<<8|(w[l+10|0]<<16|w[l+11|0]<<24);m=m<<24|m<<8&16711680|(m>>>8&65280|m>>>24);d=G;if(!m){break Mc}if(m>>>0>2147483646){break Nc}d=w[l+32|0]|w[l+33|0]<<8|(w[l+34|0]<<16|w[l+35|0]<<24);d=G+(l+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0)|0;if(K>>>0>d>>>0|d>>>0>n>>>0){break Nc}l=n-d|0;n=m<<1;if(l>>>0<n>>>0){break Nc}n=I-n|0;v[p+32>>2]=n;if((n|0)>0){break Oc}break Nc}Pc:{if((w[d+1|0]|w[d|0]<<8)==10){Qc:{g=w[d+5|0]|w[d+4|0]<<8;if(g>>>0<=n>>>0){g=n-g|0;if(g>>>0<(w[d+7|0]|w[d+6|0]<<8)>>>0){break Qc}}n=w[280449]|w[280448]<<8;break Pc}G=w[d+3|0];m=G|w[d+2|0]<<8;if(!m){n=0;break Pc}n=0;$=d;d=B(g,m);d=(d|0)<0?280448:($+d|0)+8|0;g=G&3;if(m-1>>>0>=3){n=m-g|0;while(1){m=d;d=d+4|0;n=n-4|0;if(n){continue}break}n=w[m|0]|w[m+1|0]<<8|(w[m+2|0]<<16|w[m+3|0]<<24);n=n<<24|n<<8&16711680|(n>>>8&65280|n>>>24)}if(!g){break Pc}while(1){n=w[d|0]|n<<8;d=d+1|0;g=g-1|0;if(g){continue}break}break Pc}d=od(d,n,K);d=d?d:280448;n=w[d|0]<<8|w[d+1|0]}G=n&65535;d=w[l+24|0]|w[l+25|0]<<8|(w[l+26|0]<<16|w[l+27|0]<<24);d=l+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;Rc:{if((w[d|0]<<8|w[d+1|0])==10){Sc:{g=w[d+5|0]|w[d+4|0]<<8;if(g>>>0<=I>>>0){g=I-g|0;if(g>>>0<(w[d+7|0]|w[d+6|0]<<8)>>>0){break Sc}}n=w[280449]|w[280448]<<8;break Rc}I=w[d+3|0];m=I|w[d+2|0]<<8;if(!m){n=0;break Rc}n=0;$=d;d=B(g,m);d=(d|0)<0?280448:($+d|0)+8|0;g=I&3;if(m-1>>>0>=3){n=m-g|0;while(1){m=d;d=d+4|0;n=n-4|0;if(n){continue}break}n=w[m|0]|w[m+1|0]<<8|(w[m+2|0]<<16|w[m+3|0]<<24);n=n<<24|n<<8&16711680|(n>>>8&65280|n>>>24)}if(!g){break Rc}while(1){n=w[d|0]|n<<8;d=d+1|0;g=g-1|0;if(g){continue}break}break Rc}d=od(d,I,K);d=d?d:280448;n=w[d|0]<<8|w[d+1|0]}g=0;K=v[p+24>>2];d=w[l+28|0]|w[l+29|0]<<8|(w[l+30|0]<<16|w[l+31|0]<<24);d=(l+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0)+(G+(n&65535)<<1)|0;if(K>>>0>d>>>0){break Nc}n=v[p+28>>2];if(n>>>0<d>>>0|n-d>>>0<2){break Nc}I=v[p+32>>2]-2|0;v[p+32>>2]=I;if((I|0)<1){break Nc}d=w[d|0]|w[d+1|0]<<8;G=(d<<8|d>>>8)<<16>>16;m=w[l+8|0]|w[l+9|0]<<8|(w[l+10|0]<<16|w[l+11|0]<<24);m=m<<24|m<<8&16711680|(m>>>8&65280|m>>>24);d=G;if(!m){break Mc}if(m>>>0>2147483646){break Nc}d=w[l+32|0]|w[l+33|0]<<8|(w[l+34|0]<<16|w[l+35|0]<<24);d=G+(l+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0)|0;if(K>>>0>d>>>0|d>>>0>n>>>0){break Nc}l=n-d|0;n=m<<1;if(l>>>0<n>>>0){break Nc}n=I-n|0;v[p+32>>2]=n;if((n|0)<1){break Nc}}d=w[d|0]|w[d+1|0]<<8;g=(d<<8|d>>>8)<<16>>16}d=g}Tc:{if(!d){break Tc}Uc:{if(!_){p=d<<16;l=p>>31;d=eQ(v[E+32>>2],v[E+36>>2],p>>16,l);d=(Da&65535)<<16|d>>>16;if(w[X+4|0]){v[(F+J|0)+12>>2]=d;v[s+32>>2]=v[s+32>>2]|8;break Uc}g=F+R|0;n=d>>1;v[g>>2]=n+v[g>>2];g=F+J|0;d=d-n|0;v[g>>2]=d+v[g>>2];v[g+8>>2]=d+v[g+8>>2];break Uc}p=d<<16;l=p>>31;d=eQ(v[E+40>>2],v[E+44>>2],p>>16,l);d=(Da&65535)<<16|d>>>16;if(w[X+4|0]){v[(F+J|0)+8>>2]=d;v[s+32>>2]=v[s+32>>2]|8;break Uc}g=F+R|0;n=d>>1;v[g+4>>2]=n+v[g+4>>2];g=F+J|0;d=d-n|0;v[g+4>>2]=d+v[g+4>>2];v[g+12>>2]=d+v[g+12>>2]}d=ba+1|0;if(d-i>>>0<2){break Tc}Mb(s,i,d)}i=v[U>>2];break Kc}i=i+1|0}if(o>>>0>i>>>0){continue}break}}Ca=S+160|0}Ca=h+80|0;d=v[r+48>>2];i=v[d+12>>2];v[r+24>>2]=i;d=v[d+16>>2];v[r+28>>2]=d+i;if((d|0)<=-1){break Lb}if(!ca){nd(v[r+16>>2])}ha=k|ha;d=v[r+8>>2];i=v[r+16>>2];v[Q>>2]=v[r+68>>2];Bb(i,d,229554,Q)}d=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);k=v[r+68>>2]+1|0;v[r+68>>2]=k;f=(d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+f|0;aa=aa+1|0;if((W|0)!=(aa|0)){continue}break}}Ca=Q+32|0;Bb(c,b,229345,0)}Sa(v[r+48>>2]);Ca=M+80|0;break Db}O(229360,229385,194,229402);L()}if(d&1024){m=0;g=0;n=0;Y=Ca-80|0;Ca=Y;f=Ca-48|0;Ca=f;h=v[b+16>>2]+128|0;d=v[h>>2];Vc:{if(d){break Vc}j=h-80|0;while(1){d=v[j>>2];if(!d){d=280448;break Vc}v[f+16>>2]=0;v[f+20>>2]=0;t[f+21|0]=0;t[f+22|0]=0;t[f+23|0]=0;t[f+24|0]=0;t[f+25|0]=0;t[f+26|0]=0;t[f+27|0]=0;t[f+28|0]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;i=Nb(d);t[f+44|0]=1;v[f+40>>2]=i;i=pp(f+8|0,Jb(d,1801810542));if(!i){i=280448}d=v[h>>2];if(!d){v[h>>2]=i;d=i;break Vc}if(i){if((i|0)!=280448){Sa(i)}d=v[h>>2]}if(!d){continue}break}}Ca=f+48|0;f=v[d+16>>2];i=v[d+12>>2];q=Zg(Y+8|0,N,b,c,d);Wc:{if(Bb(c,b,229656,0)){Xc:{Yc:{Zc:{d=f>>>0<4?280448:i;f=w[d|0]|w[d+1|0]<<8;switch((f<<8|f>>>8)&65535){case 1:break Yc;case 0:break Zc;default:break Xc}}F=Ca-32|0;Ca=F;v[q+68>>2]=0;U=w[d+3|0]|w[d+2|0]<<8;if(U){ca=U-1|0;i=d+4|0;while(1){d=v[q+16>>2];f=v[d+48>>2];_c:{if((t[i+5|0]&1)==((f&-2)!=4|0)){break _c}h=v[q+8>>2];v[F+16>>2]=g;if(!Bb(d,h,229752,F+16|0)){break _c}j=f&-3;d=1;$c:{if(n){break $c}d=0;if(!(w[i+5|0]&4)){break $c}h=v[q+16>>2];f=v[h+76>>2];d=1;if(!f){break $c}h=v[h+96>>2];n=0;if((f|0)!=1){g=f&-2;while(1){d=h+B(n,20)|0;t[d+18|0]=2;u[d+16>>1]=(v[v[q+16>>2]+48>>2]&-3)==4?-1:1;d=h+B(n|1,20)|0;t[d+18|0]=2;u[d+16>>1]=(v[v[q+16>>2]+48>>2]&-3)==4?-1:1;n=n+2|0;g=g-2|0;if(g){continue}break}}d=1;if(!(f&1)){break $c}d=h+B(n,20)|0;t[d+18|0]=2;u[d+16>>1]=(v[v[q+16>>2]+48>>2]&-3)==4?-1:1;d=1}n=d;aa=(j|0)!=5;if(!aa){nd(v[q+16>>2])}d=v[q+48>>2];f=v[d+12>>2];v[q+24>>2]=f;d=v[d+16>>2];h=d+f|0;v[q+28>>2]=h;if((d|0)<=-1){break Wc}d=m>>>0<ca>>>0?i:0;ad:{if(!d){break ad}if(!(d>>>0<h>>>0?d>>>0>=f>>>0:0)){v[q+24>>2]=0;v[q+28>>2]=0;break ad}v[q+24>>2]=d;f=w[d+3|0]|w[d+2|0]<<8;h=h-d|0;v[q+28>>2]=d+(f>>>0<h>>>0?f:h)}J=0;j=Ca-16|0;Ca=j;bd:{cd:{switch(w[i+4|0]){case 0:d=v[q+4>>2];J=u[d+140>>1]&1;if(J){f=w[i+5|0];v[j+8>>2]=i;v[j+12>>2]=q;t[j+4|0]=f>>>2&1;v[j>>2]=j+8;r=v[q+8>>2];A=v[q+16>>2];E=v[d+132>>2];d=0;h=Ca-160|0;Ca=h;v[h+40>>2]=0;v[h+44>>2]=0;v[h+32>>2]=0;v[h+36>>2]=0;v[h+24>>2]=0;v[h+28>>2]=0;v[h+72>>2]=0;v[h+76>>2]=0;v[h+48>>2]=0;v[h+52>>2]=0;v[h+16>>2]=0;v[h+20>>2]=0;o=h- -64|0;f=o;v[f>>2]=0;v[f+4>>2]=0;v[h+88>>2]=0;v[h+92>>2]=0;v[h+96>>2]=0;v[h+80>>2]=0;v[h+84>>2]=0;v[h+40>>2]=0;v[h+36>>2]=0;t[h+32|0]=0;v[h+28>>2]=-1;t[h+76|0]=0;v[h+72>>2]=-1;v[h+8>>2]=0;v[h+12>>2]=0;v[h+56>>2]=0;v[h+60>>2]=0;v[h+100>>2]=r;f=v[r+16>>2];v[h+112>>2]=0;v[h+108>>2]=A;v[h+104>>2]=f;f=v[Oe(f+132|0)>>2];f=f?f:280448;g=y[f+16>>2]<12?280448:v[f+12>>2];v[h+116>>2]=g;f=h;k=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);if((k<<24|k<<8&16711680|(k>>>8&65280|k>>>24))>>>0>=65539){k=w[g+14|0]|w[g+15|0]<<8|(w[g+16|0]<<16|w[g+17|0]<<24);k=k<<24|k<<8&16711680|(k>>>8&65280|k>>>24);k=k?k+g|0:280448}else{k=280448}v[f+120>>2]=k;f=v[A+48>>2];v[h+144>>2]=6;v[h+136>>2]=-1;v[h+140>>2]=0;v[h+128>>2]=1;v[h+132>>2]=1;v[h+124>>2]=f;k=w[g+5|0];g=w[g+4|0];v[h+44>>2]=0;v[h+88>>2]=0;u[h+24>>1]=257;v[h+20>>2]=8;u[h+68>>1]=257;v[o>>2]=8;v[h+152>>2]=1;t[h+151|0]=0;t[h+149|0]=1;t[h+150|0]=1;v[h+140>>2]=8;v[h+128>>2]=E;v[h+16>>2]=h+8;v[h+36>>2]=0;v[h+40>>2]=0;v[h+60>>2]=h+8;v[h+28>>2]=E;v[h+80>>2]=0;v[h+84>>2]=0;v[h+72>>2]=-1;t[h+148|0]=(k|g<<8)!=0;S=v[A+76>>2];if(S){T=h+8|4;s=v[A+96>>2];K=v[A+88>>2];Z=(f&-2)!=4;while(1){g=d;dd:{ed:{I=B(d,20);k=I+K|0;if(!(E&v[k+4>>2])){break ed}v[h+48>>2]=1;v[h+12>>2]=g;f=v[v[h+16>>2]+100>>2];v[h+52>>2]=v[f+76>>2];t[h+32|0]=(g|0)==v[f+72>>2]?w[(I+v[f+88>>2]|0)+15|0]:0;if(!Rc(T)){break ed}d=v[h+12>>2];Q=B(d,20);p=v[v[j>>2]>>2];f=w[p+6|0]<<8|w[p+7|0];fd:{if(f){R=v[K+Q>>2];M=v[k>>2];k=f-1|0;o=0;while(1){gd:{hd:{W=k+o>>>1|0;l=p+B(W,6)|0;f=l+14|0;_=w[f|0]<<8|w[l+15|0];id:{if((_|0)==(M|0)){l=w[l+17|0]|w[l+16|0]<<8;if(l>>>0>R>>>0){break id}if((l|0)==(R|0)){break fd}break hd}if(M>>>0>=_>>>0){break hd}}k=W-1|0;break gd}o=W+1|0}if((k|0)>=(o|0)){continue}break}}f=280448}f=w[f+4|0]|w[f+5|0]<<8;f=f<<8|f>>>8;if(!(f&65535)){break dd}jd:{if(!Z){p=f<<16;l=p>>31;f=eQ(v[r+32>>2],v[r+36>>2],p>>16,l);f=(Da&65535)<<16|f>>>16;if(w[j+4|0]){v[(s+Q|0)+12>>2]=f;v[A+32>>2]=v[A+32>>2]|8;break jd}k=s+I|0;o=f>>1;v[k>>2]=o+v[k>>2];k=s+Q|0;f=f-o|0;v[k>>2]=f+v[k>>2];v[k+8>>2]=f+v[k+8>>2];break jd}p=f<<16;l=p>>31;f=eQ(v[r+40>>2],v[r+44>>2],p>>16,l);f=(Da&65535)<<16|f>>>16;if(w[j+4|0]){v[(s+Q|0)+8>>2]=f;v[A+32>>2]=v[A+32>>2]|8;break jd}k=s+I|0;o=f>>1;v[k+4>>2]=o+v[k+4>>2];k=s+Q|0;f=f-o|0;v[k+4>>2]=f+v[k+4>>2];v[k+12>>2]=f+v[k+12>>2]}f=d+1|0;if(f-g>>>0<2){break dd}Mb(A,g,f);d=v[h+12>>2];break dd}d=g+1|0}if(d>>>0<S>>>0){continue}break}}Ca=h+160|0}break bd;case 2:break cd;default:break bd}}d=v[q+4>>2];J=u[d+140>>1]&1;if(J){f=w[i+5|0];v[j+8>>2]=i;v[j+12>>2]=q;t[j+4|0]=f>>>2&1;v[j>>2]=j+8;r=v[q+8>>2];A=v[q+16>>2];I=v[d+132>>2];k=0;d=Ca-160|0;Ca=d;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;o=d- -64|0;f=o;v[f>>2]=0;v[f+4>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+96>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;v[d+40>>2]=0;v[d+36>>2]=0;t[d+32|0]=0;v[d+28>>2]=-1;t[d+76|0]=0;v[d+72>>2]=-1;v[d+8>>2]=0;v[d+12>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+100>>2]=r;f=v[r+16>>2];v[d+112>>2]=0;v[d+108>>2]=A;v[d+104>>2]=f;f=v[Oe(f+132|0)>>2];f=f?f:280448;h=y[f+16>>2]<12?280448:v[f+12>>2];v[d+116>>2]=h;f=d;g=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);if((g<<24|g<<8&16711680|(g>>>8&65280|g>>>24))>>>0>=65539){g=w[h+14|0]|w[h+15|0]<<8|(w[h+16|0]<<16|w[h+17|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);g=g?g+h|0:280448}else{g=280448}v[f+120>>2]=g;f=v[A+48>>2];v[d+144>>2]=6;v[d+136>>2]=-1;v[d+140>>2]=0;v[d+128>>2]=1;v[d+132>>2]=1;v[d+124>>2]=f;g=w[h+5|0];h=w[h+4|0];v[d+44>>2]=0;v[d+88>>2]=0;u[d+24>>1]=257;v[d+20>>2]=8;u[d+68>>1]=257;v[o>>2]=8;v[d+152>>2]=1;t[d+151|0]=0;t[d+149|0]=1;t[d+150|0]=1;v[d+140>>2]=8;v[d+128>>2]=I;v[d+16>>2]=d+8;v[d+36>>2]=0;v[d+40>>2]=0;v[d+60>>2]=d+8;v[d+28>>2]=I;v[d+80>>2]=0;v[d+84>>2]=0;v[d+72>>2]=-1;t[d+148|0]=(g|h<<8)!=0;h=v[A+76>>2];if(h){W=d+8|4;s=v[A+96>>2];R=v[A+88>>2];S=(f&-2)!=4;while(1){g=h;kd:{ld:{K=B(k,20);M=K+R|0;if(!(I&v[M+4>>2])){break ld}v[d+48>>2]=1;v[d+12>>2]=k;o=v[v[d+16>>2]+100>>2];v[d+52>>2]=v[o+76>>2];t[d+32|0]=v[o+72>>2]==(k|0)?w[(K+v[o+88>>2]|0)+15|0]:0;if(!Rc(W)){break ld}f=v[j>>2];l=v[f>>2];T=v[d+12>>2];Q=B(T,20);Z=v[Q+R>>2];E=v[f+4>>2];o=0;p=0;f=l+(w[l+9|0]|w[l+8|0]<<8)|0;M=v[M>>2]-(w[f|0]<<8|w[f+1|0])|0;if(M>>>0<(w[f+3|0]|w[f+2|0]<<8)>>>0){f=f+(M<<1)|0;p=w[f+4|0]<<8|w[f+5|0]}f=l+(w[l+11|0]|w[l+10|0]<<8)|0;M=Z-(w[f|0]<<8|w[f+1|0])|0;if(M>>>0<(w[f+3|0]|w[f+2|0]<<8)>>>0){f=f+(M<<1)|0;o=w[f+4|0]<<8|w[f+5|0]}f=0;o=(l+p|0)+o|0;l=l+(w[l+13|0]|w[l+12|0]<<8)|0;p=o-l>>>1|0;o=(p<<1)+l|0;md:{if(o>>>0<y[E+24>>2]){break md}M=v[E+28>>2];if(M>>>0<o>>>0|M-o>>>0<2){break md}G=E;E=v[E+32>>2]-2|0;v[G+32>>2]=E;if((E|0)<1){break md}f=(w[(l+(p<<1)|0)+1|0]|w[o|0]<<8)<<16>>16}nd:{if(!f){break nd}od:{if(!S){p=f<<16;l=p>>31;f=eQ(v[r+32>>2],v[r+36>>2],p>>16,l);f=(Da&65535)<<16|f>>>16;if(w[j+4|0]){v[(s+Q|0)+12>>2]=f;v[A+32>>2]=v[A+32>>2]|8;break od}o=s+K|0;l=f>>1;v[o>>2]=l+v[o>>2];o=s+Q|0;f=f-l|0;v[o>>2]=f+v[o>>2];v[o+8>>2]=f+v[o+8>>2];break od}p=f<<16;l=p>>31;f=eQ(v[r+40>>2],v[r+44>>2],p>>16,l);f=(Da&65535)<<16|f>>>16;if(w[j+4|0]){v[(s+Q|0)+8>>2]=f;v[A+32>>2]=v[A+32>>2]|8;break od}o=s+K|0;l=f>>1;v[o+4>>2]=l+v[o+4>>2];o=s+Q|0;f=f-l|0;v[o+4>>2]=f+v[o+4>>2];v[o+12>>2]=f+v[o+12>>2]}f=T+1|0;if(f-k>>>0<2){break nd}Mb(A,k,f)}k=v[d+12>>2];break kd}k=k+1|0}if(g>>>0>k>>>0){continue}break}}Ca=d+160|0}}Ca=j+16|0;d=v[q+48>>2];f=v[d+12>>2];v[q+24>>2]=f;d=v[d+16>>2];v[q+28>>2]=d+f;if((d|0)<=-1){break Wc}if(!aa){nd(v[q+16>>2])}X=J|X;d=v[q+8>>2];f=v[q+16>>2];v[F>>2]=v[q+68>>2];Bb(f,d,229770,F)}d=w[i+3|0];f=w[i+2|0];g=v[q+68>>2]+1|0;v[q+68>>2]=g;i=(d|f<<8)+i|0;m=m+1|0;if((U|0)!=(m|0)){continue}break}}Ca=F+32|0;break Xc}h=0;Q=Ca-32|0;Ca=Q;v[q+68>>2]=0;f=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);U=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(U){ca=U-1|0;i=d+8|0;while(1){d=w[i+4|0];pd:{if(d&32){break pd}f=v[q+16>>2];j=v[f+48>>2];if(((j&-2)!=4|0)==(d<<24>>24>-1|0)){break pd}d=v[q+8>>2];v[Q+16>>2]=h;if(!Bb(f,d,229752,Q+16|0)){break pd}j=j&-3;d=1;qd:{if(g){break qd}d=0;if(!(w[i+4|0]&64)){break qd}h=v[q+16>>2];f=v[h+76>>2];d=1;if(!f){break qd}h=v[h+96>>2];m=0;if((f|0)!=1){g=f&-2;while(1){d=h+B(m,20)|0;t[d+18|0]=2;u[d+16>>1]=(v[v[q+16>>2]+48>>2]&-3)==4?-1:1;d=h+B(m|1,20)|0;t[d+18|0]=2;u[d+16>>1]=(v[v[q+16>>2]+48>>2]&-3)==4?-1:1;m=m+2|0;g=g-2|0;if(g){continue}break}}d=1;if(!(f&1)){break qd}d=h+B(m,20)|0;t[d+18|0]=2;u[d+16>>1]=(v[v[q+16>>2]+48>>2]&-3)==4?-1:1;d=1}g=d;aa=(j|0)!=5;if(!aa){nd(v[q+16>>2])}d=v[q+48>>2];f=v[d+12>>2];v[q+24>>2]=f;d=v[d+16>>2];h=d+f|0;v[q+28>>2]=h;if((d|0)<=-1){break Wc}d=n>>>0<ca>>>0?i:0;rd:{if(!d){break rd}if(!(d>>>0<h>>>0?d>>>0>=f>>>0:0)){v[q+24>>2]=0;v[q+28>>2]=0;break rd}v[q+24>>2]=d;f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);h=h-d|0;v[q+28>>2]=d+(f>>>0<h>>>0?f:h)}A=0;j=Ca-80|0;Ca=j;sd:{td:{switch(w[i+5|0]){case 0:d=v[q+4>>2];A=u[d+140>>1]&1;if(A){f=w[i+4|0];v[j+24>>2]=i;v[j+28>>2]=q;t[j+12|0]=f>>>6&1;v[j+8>>2]=j+24;s=v[q+8>>2];r=v[q+16>>2];J=v[d+132>>2];d=0;h=Ca-160|0;Ca=h;v[h+40>>2]=0;v[h+44>>2]=0;v[h+32>>2]=0;v[h+36>>2]=0;v[h+24>>2]=0;v[h+28>>2]=0;v[h+72>>2]=0;v[h+76>>2]=0;v[h+48>>2]=0;v[h+52>>2]=0;v[h+16>>2]=0;v[h+20>>2]=0;o=h- -64|0;f=o;v[f>>2]=0;v[f+4>>2]=0;v[h+88>>2]=0;v[h+92>>2]=0;v[h+96>>2]=0;v[h+80>>2]=0;v[h+84>>2]=0;v[h+40>>2]=0;v[h+36>>2]=0;t[h+32|0]=0;v[h+28>>2]=-1;t[h+76|0]=0;v[h+72>>2]=-1;v[h+8>>2]=0;v[h+12>>2]=0;v[h+56>>2]=0;v[h+60>>2]=0;v[h+100>>2]=s;f=v[s+16>>2];v[h+112>>2]=0;v[h+108>>2]=r;v[h+104>>2]=f;f=v[Oe(f+132|0)>>2];f=f?f:280448;k=y[f+16>>2]<12?280448:v[f+12>>2];v[h+116>>2]=k;f=h;m=w[k|0]|w[k+1|0]<<8|(w[k+2|0]<<16|w[k+3|0]<<24);if((m<<24|m<<8&16711680|(m>>>8&65280|m>>>24))>>>0>=65539){m=w[k+14|0]|w[k+15|0]<<8|(w[k+16|0]<<16|w[k+17|0]<<24);m=m<<24|m<<8&16711680|(m>>>8&65280|m>>>24);m=m?m+k|0:280448}else{m=280448}v[f+120>>2]=m;f=v[r+48>>2];v[h+144>>2]=6;v[h+136>>2]=-1;v[h+140>>2]=0;v[h+128>>2]=1;v[h+132>>2]=1;v[h+124>>2]=f;m=w[k+5|0];k=w[k+4|0];v[h+44>>2]=0;v[h+88>>2]=0;u[h+24>>1]=257;v[h+20>>2]=8;u[h+68>>1]=257;v[o>>2]=8;v[h+152>>2]=1;t[h+151|0]=0;t[h+149|0]=1;t[h+150|0]=1;v[h+140>>2]=8;v[h+128>>2]=J;v[h+16>>2]=h+8;v[h+36>>2]=0;v[h+40>>2]=0;v[h+60>>2]=h+8;v[h+28>>2]=J;v[h+80>>2]=0;v[h+84>>2]=0;v[h+72>>2]=-1;t[h+148|0]=(m|k<<8)!=0;S=v[r+76>>2];if(S){T=h+8|4;F=v[r+96>>2];K=v[r+88>>2];Z=(f&-2)!=4;while(1){m=d;ud:{vd:{I=B(d,20);k=I+K|0;if(!(J&v[k+4>>2])){break vd}v[h+48>>2]=1;v[h+12>>2]=m;f=v[v[h+16>>2]+100>>2];v[h+52>>2]=v[f+76>>2];t[h+32|0]=(m|0)==v[f+72>>2]?w[(I+v[f+88>>2]|0)+15|0]:0;if(!Rc(T)){break vd}d=v[h+12>>2];E=B(d,20);p=v[v[j+8>>2]>>2];f=w[p+8|0]<<8|w[p+9|0];wd:{if(f){R=v[E+K>>2];M=v[k>>2];k=f-1|0;o=0;while(1){xd:{yd:{W=k+o>>>1|0;l=p+B(W,6)|0;f=l+16|0;_=w[f|0]<<8|w[l+17|0];zd:{if((_|0)==(M|0)){l=w[l+19|0]|w[l+18|0]<<8;if(l>>>0>R>>>0){break zd}if((l|0)==(R|0)){break wd}break yd}if(M>>>0>=_>>>0){break yd}}k=W-1|0;break xd}o=W+1|0}if((k|0)>=(o|0)){continue}break}}f=280448}f=w[f+4|0]|w[f+5|0]<<8;f=f<<8|f>>>8;if(!(f&65535)){break ud}Ad:{if(!Z){p=f<<16;l=p>>31;f=eQ(v[s+32>>2],v[s+36>>2],p>>16,l);f=(Da&65535)<<16|f>>>16;if(w[j+12|0]){v[(F+E|0)+12>>2]=f;v[r+32>>2]=v[r+32>>2]|8;break Ad}k=F+I|0;o=f>>1;v[k>>2]=o+v[k>>2];k=F+E|0;f=f-o|0;v[k>>2]=f+v[k>>2];v[k+8>>2]=f+v[k+8>>2];break Ad}p=f<<16;l=p>>31;f=eQ(v[s+40>>2],v[s+44>>2],p>>16,l);f=(Da&65535)<<16|f>>>16;if(w[j+12|0]){v[(F+E|0)+8>>2]=f;v[r+32>>2]=v[r+32>>2]|8;break Ad}k=F+I|0;o=f>>1;v[k+4>>2]=o+v[k+4>>2];k=F+E|0;f=f-o|0;v[k+4>>2]=f+v[k+4>>2];v[k+12>>2]=f+v[k+12>>2]}f=d+1|0;if(f-m>>>0<2){break ud}Mb(r,m,f);d=v[h+12>>2];break ud}d=m+1|0}if(d>>>0<S>>>0){continue}break}}Ca=h+160|0}break sd;case 1:d=w[i+4|0];f=t[v[q+4>>2]+140|0]&1|d&64;F=!f;if(f){v[j+28>>2]=i;v[j+24>>2]=q;f=w[i+17|0];h=w[i+16|0];t[j+72|0]=d>>>6&1;v[j+68>>2]=0;d=i+8|0;v[j+32>>2]=d+(f|h<<8);h=v[v[q+8>>2]+16>>2];v[j+12>>2]=v[q+16>>2];v[j+8>>2]=d;f=j;d=v[h+32>>2];if((d|0)==-1){d=Xc(h)}v[f+16>>2]=d;A=j+24|0;d=0;m=0;k=v[j+12>>2];v[k+72>>2]=0;Bd:{if(!w[k+68|0]){break Bd}while(1){f=v[j+8>>2];l=(w[f+7|0]|w[f+6|0]<<8)+f|0;$=l;r=w[f+5|0]|w[f+4|0]<<8;p=r+f|0;K=p;I=y[k+76>>2]<=m>>>0;G=0;Cd:{if(I){break Cd}o=v[v[k+88>>2]+B(m,20)>>2];G=2;if((o|0)==65535){break Cd}h=o;o=f+(w[f+3|0]|w[f+2|0]<<8)|0;s=h-(w[o|0]<<8|w[o+1|0])|0;G=1;if(s>>>0>=(w[o+3|0]|w[o+2|0]<<8)>>>0){break Cd}G=w[(o+s|0)+4|0]}h=w[f+1|0]|w[f|0]<<8;E=G>>>0<h>>>0?G:1;J=B(d,h);o=$+(w[K+(E+J|0)|0]<<2)|0;f=((w[o|0]<<8|w[o+1|0])-r|0)/(h|0)|0;s=w[o+2|0];Dd:{Ed:{if(w[o+3|0]|s<<8&16128){break Ed}if(!(!d|(f?0:s&64))){d=l+(w[p+E|0]<<2)|0;E=w[d+2|0];if(E<<8&16128|w[d+3|0]|(f|0)!=(((w[d+1|0]|w[d|0]<<8)-r|0)/(h|0)|0)|(s^E)&64){break Ed}}d=l+(w[p+(J+!h|0)|0]<<2)|0;if(!(w[d+2|0]<<8&16128|w[d+3|0])){break Dd}}d=v[(w[k+69|0]?80:72)+k>>2];if(I|!d){break Dd}md(k,d-1|0,m+1|0)}d=v[j+12>>2];Fd:{if(t[o+2|0]>-1){break Fd}h=v[A+44>>2];if(h>>>0<=7){k=v[d+72>>2];v[A+44>>2]=h+1;v[(A+(h<<2)|0)+12>>2]=k;break Fd}v[A+44>>2]=0}h=w[o+3|0]|w[o+2|0]<<8&16128;Gd:{if(!h){break Gd}k=v[A+44>>2];if(!k){break Gd}Hd:{Id:{if(k>>>0>2147483646){break Id}m=h+v[A+4>>2]|0;h=v[A+8>>2];m=((m-h|0)+8&-2)+h|0;h=v[A>>2];if(m>>>0<y[h+24>>2]){break Id}l=v[h+28>>2];if(l>>>0<m>>>0){break Id}G=l-m|0;l=k<<1;if(G>>>0<l>>>0){break Id}l=v[h+32>>2]-l|0;v[h+32>>2]=l;if((l|0)>0){break Hd}}v[A+44>>2]=0;break Gd}r=v[v[h+4>>2]+132>>2];while(1){k=k-1|0;v[A+44>>2]=k;l=v[(A+(k<<2)|0)+12>>2];if(l>>>0<y[d+76>>2]){h=w[m|0]|w[m+1|0]<<8;k=(h<<8|h>>>8)<<16>>16;h=k&-2;s=k&1;p=w[A+48|0];k=v[d+96>>2];Jd:{if((v[d+48>>2]&-2)==4){if(p){k=k+B(l,20)|0;l=k;if((h|0)==-32768){u[l+16>>1]=0;t[l+18|0]=0;v[k+12>>2]=0;break Jd}if(!w[l+18|0]){break Jd}l=k;G=v[k+12>>2];k=v[v[A>>2]+8>>2];h=eQ(v[k+40>>2],v[k+44>>2],h,h>>31);v[l+12>>2]=G+((Da&65535)<<16|h>>>16);v[d+32>>2]=v[d+32>>2]|8;break Jd}l=B(l,20);if(!(r&v[(l+v[d+88>>2]|0)+4>>2])){break Jd}p=v[v[A>>2]+8>>2];h=eQ(v[p+32>>2],v[p+36>>2],h,h>>31);h=(Da&65535)<<16|h>>>16;k=k+l|0;v[k>>2]=h+v[k>>2];v[k+8>>2]=h+v[k+8>>2];break Jd}if(p){k=k+B(l,20)|0;l=k;if((h|0)==-32768){u[l+16>>1]=0;t[l+18|0]=0;v[k+8>>2]=0;break Jd}if(!w[l+18|0]){break Jd}l=k;G=v[k+8>>2];k=v[v[A>>2]+8>>2];h=eQ(v[k+32>>2],v[k+36>>2],h,h>>31);v[l+8>>2]=G+((Da&65535)<<16|h>>>16);v[d+32>>2]=v[d+32>>2]|8;break Jd}l=B(l,20);if(!(r&v[(l+v[d+88>>2]|0)+4>>2])){break Jd}p=v[v[A>>2]+8>>2];h=eQ(v[p+40>>2],v[p+44>>2],h,h>>31);h=(Da&65535)<<16|h>>>16;k=k+l|0;v[k+4>>2]=h+v[k+4>>2];v[k+12>>2]=h+v[k+12>>2]}if(s){break Gd}k=v[A+44>>2]}m=m+2|0;if(k){continue}break}}d=v[j+12>>2];k=v[d+72>>2];if((k|0)==v[d+76>>2]|!w[d+68|0]){break Bd}Kd:{if(w[o+2|0]&64){h=v[d+40>>2];v[d+40>>2]=h-1;if((h|0)>0){break Kd}}if(w[d+69|0]){l=d;Ld:{if(v[d+92>>2]==v[d+88>>2]){h=k;m=h;if(v[d+80>>2]==(h|0)){break Ld}}if(!cb(d,1,1)){break Kd}k=v[d+88>>2]+B(v[d+72>>2],20)|0;o=v[k+4>>2];h=v[d+92>>2]+B(v[d+80>>2],20)|0;v[h>>2]=v[k>>2];v[h+4>>2]=o;v[h+16>>2]=v[k+16>>2];o=v[k+12>>2];v[h+8>>2]=v[k+8>>2];v[h+12>>2]=o;k=v[d+72>>2];m=v[d+80>>2]}v[l+80>>2]=m+1}v[d+72>>2]=k+1}k=v[j+12>>2];if(!w[k+68|0]){break Bd}m=v[k+72>>2];d=f;continue}}}A=!F;break sd;case 2:d=v[q+4>>2];A=u[d+140>>1]&1;if(A){f=w[i+4|0];v[j+24>>2]=i;v[j+28>>2]=q;t[j+12|0]=f>>>6&1;v[j+8>>2]=j+24;s=v[q+8>>2];r=v[q+16>>2];I=v[d+132>>2];k=0;f=Ca-160|0;Ca=f;v[f+40>>2]=0;v[f+44>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+72>>2]=0;v[f+76>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;o=f- -64|0;d=o;v[d>>2]=0;v[d+4>>2]=0;v[f+88>>2]=0;v[f+92>>2]=0;v[f+96>>2]=0;v[f+80>>2]=0;v[f+84>>2]=0;v[f+40>>2]=0;v[f+36>>2]=0;t[f+32|0]=0;v[f+28>>2]=-1;t[f+76|0]=0;v[f+72>>2]=-1;v[f+8>>2]=0;v[f+12>>2]=0;v[f+56>>2]=0;v[f+60>>2]=0;v[f+100>>2]=s;d=v[s+16>>2];v[f+112>>2]=0;v[f+108>>2]=r;v[f+104>>2]=d;d=v[Oe(d+132|0)>>2];d=d?d:280448;h=y[d+16>>2]<12?280448:v[d+12>>2];v[f+116>>2]=h;d=f;m=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);if((m<<24|m<<8&16711680|(m>>>8&65280|m>>>24))>>>0>=65539){m=w[h+14|0]|w[h+15|0]<<8|(w[h+16|0]<<16|w[h+17|0]<<24);m=m<<24|m<<8&16711680|(m>>>8&65280|m>>>24);m=m?m+h|0:280448}else{m=280448}v[d+120>>2]=m;d=v[r+48>>2];v[f+144>>2]=6;v[f+136>>2]=-1;v[f+140>>2]=0;v[f+128>>2]=1;v[f+132>>2]=1;v[f+124>>2]=d;m=w[h+5|0];h=w[h+4|0];v[f+44>>2]=0;v[f+88>>2]=0;u[f+24>>1]=257;v[f+20>>2]=8;u[f+68>>1]=257;v[o>>2]=8;v[f+152>>2]=1;t[f+151|0]=0;t[f+149|0]=1;t[f+150|0]=1;v[f+140>>2]=8;v[f+128>>2]=I;v[f+16>>2]=f+8;v[f+36>>2]=0;v[f+40>>2]=0;v[f+60>>2]=f+8;v[f+28>>2]=I;v[f+80>>2]=0;v[f+84>>2]=0;v[f+72>>2]=-1;t[f+148|0]=(m|h<<8)!=0;h=v[r+76>>2];if(h){W=f+8|4;F=v[r+96>>2];R=v[r+88>>2];S=(d&-2)!=4;while(1){m=h;Md:{Nd:{K=B(k,20);M=K+R|0;if(!(I&v[M+4>>2])){break Nd}v[f+48>>2]=1;v[f+12>>2]=k;o=v[v[f+16>>2]+100>>2];v[f+52>>2]=v[o+76>>2];t[f+32|0]=v[o+72>>2]==(k|0)?w[(K+v[o+88>>2]|0)+15|0]:0;if(!Rc(W)){break Nd}d=v[j+8>>2];l=v[d>>2];T=v[f+12>>2];E=B(T,20);Z=v[E+R>>2];J=v[d+4>>2];o=0;p=0;d=l+(w[l+11|0]|w[l+10|0]<<8)|0;M=v[M>>2]-(w[d|0]<<8|w[d+1|0])|0;if(M>>>0<(w[d+3|0]|w[d+2|0]<<8)>>>0){d=d+(M<<1)|0;p=w[d+4|0]<<8|w[d+5|0]}d=l+(w[l+13|0]|w[l+12|0]<<8)|0;M=Z-(w[d|0]<<8|w[d+1|0])|0;if(M>>>0<(w[d+3|0]|w[d+2|0]<<8)>>>0){d=d+(M<<1)|0;o=w[d+4|0]<<8|w[d+5|0]}d=0;o=(l+p|0)+o|0;l=l+(w[l+15|0]|w[l+14|0]<<8)|0;p=o-l>>>1|0;o=(p<<1)+l|0;Od:{if(o>>>0<y[J+24>>2]){break Od}M=v[J+28>>2];if(M>>>0<o>>>0|M-o>>>0<2){break Od}G=J;J=v[J+32>>2]-2|0;v[G+32>>2]=J;if((J|0)<1){break Od}d=(w[(l+(p<<1)|0)+1|0]|w[o|0]<<8)<<16>>16}Pd:{if(!d){break Pd}Qd:{if(!S){p=d<<16;l=p>>31;d=eQ(v[s+32>>2],v[s+36>>2],p>>16,l);d=(Da&65535)<<16|d>>>16;if(w[j+12|0]){v[(F+E|0)+12>>2]=d;v[r+32>>2]=v[r+32>>2]|8;break Qd}o=F+K|0;l=d>>1;v[o>>2]=l+v[o>>2];o=F+E|0;d=d-l|0;v[o>>2]=d+v[o>>2];v[o+8>>2]=d+v[o+8>>2];break Qd}p=d<<16;l=p>>31;d=eQ(v[s+40>>2],v[s+44>>2],p>>16,l);d=(Da&65535)<<16|d>>>16;if(w[j+12|0]){v[(F+E|0)+8>>2]=d;v[r+32>>2]=v[r+32>>2]|8;break Qd}o=F+K|0;l=d>>1;v[o+4>>2]=l+v[o+4>>2];o=F+E|0;d=d-l|0;v[o+4>>2]=d+v[o+4>>2];v[o+12>>2]=d+v[o+12>>2]}d=T+1|0;if(d-k>>>0<2){break Pd}Mb(r,k,d)}k=v[f+12>>2];break Md}k=k+1|0}if(m>>>0>k>>>0){continue}break}}Ca=f+160|0}break sd;case 3:break td;default:break sd}}d=v[q+4>>2];A=u[d+140>>1]&1;if(A){f=w[i+4|0];v[j+24>>2]=i;t[j+28|0]=f>>>6&1;o=v[q+8>>2];m=v[q+16>>2];F=v[d+132>>2];d=0;f=Ca-160|0;Ca=f;v[f+40>>2]=0;v[f+44>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+72>>2]=0;v[f+76>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;r=f- -64|0;h=r;v[h>>2]=0;v[h+4>>2]=0;v[f+88>>2]=0;v[f+92>>2]=0;v[f+96>>2]=0;v[f+80>>2]=0;v[f+84>>2]=0;v[f+40>>2]=0;v[f+36>>2]=0;t[f+32|0]=0;v[f+28>>2]=-1;t[f+76|0]=0;v[f+72>>2]=-1;v[f+8>>2]=0;v[f+12>>2]=0;v[f+56>>2]=0;v[f+60>>2]=0;v[f+100>>2]=o;h=v[o+16>>2];v[f+112>>2]=0;v[f+108>>2]=m;v[f+104>>2]=h;h=v[Oe(h+132|0)>>2];h=h?h:280448;k=y[h+16>>2]<12?280448:v[h+12>>2];v[f+116>>2]=k;h=f;l=w[k|0]|w[k+1|0]<<8|(w[k+2|0]<<16|w[k+3|0]<<24);if((l<<24|l<<8&16711680|(l>>>8&65280|l>>>24))>>>0>=65539){l=w[k+14|0]|w[k+15|0]<<8|(w[k+16|0]<<16|w[k+17|0]<<24);l=l<<24|l<<8&16711680|(l>>>8&65280|l>>>24);l=l?l+k|0:280448}else{l=280448}v[h+120>>2]=l;h=v[m+48>>2];v[f+144>>2]=6;v[f+136>>2]=-1;v[f+140>>2]=0;v[f+128>>2]=1;v[f+132>>2]=1;v[f+124>>2]=h;l=w[k+5|0];k=w[k+4|0];v[f+44>>2]=0;v[f+88>>2]=0;u[f+24>>1]=257;v[f+20>>2]=8;u[f+68>>1]=257;v[r>>2]=8;v[f+152>>2]=1;t[f+151|0]=0;t[f+149|0]=1;t[f+150|0]=1;v[f+140>>2]=8;v[f+128>>2]=F;v[f+16>>2]=f+8;v[f+36>>2]=0;v[f+40>>2]=0;v[f+60>>2]=f+8;v[f+28>>2]=F;v[f+80>>2]=0;v[f+84>>2]=0;v[f+72>>2]=-1;t[f+148|0]=(l|k<<8)!=0;I=v[m+76>>2];if(I){K=f+8|4;r=v[m+96>>2];J=v[m+88>>2];R=(h&-2)!=4;while(1){k=d;Rd:{Sd:{E=B(d,20);l=E+J|0;if(!(F&v[l+4>>2])){break Sd}v[f+48>>2]=1;v[f+12>>2]=k;h=v[v[f+16>>2]+100>>2];v[f+52>>2]=v[h+76>>2];t[f+32|0]=(k|0)==v[h+72>>2]?w[(E+v[h+88>>2]|0)+15|0]:0;if(!Rc(K)){break Sd}d=v[f+12>>2];h=v[j+24>>2];M=w[h+10|0];p=((M<<1)+h|0)+14|0;l=v[l>>2];$=p+l|0;G=l;l=w[h+9|0]|w[h+8|0]<<8;W=w[(G>>>0<l>>>0?$:280448)|0];S=w[h+11|0];if(W>>>0>=S>>>0){break Rd}T=l+p|0;s=B(d,20);p=v[s+J>>2];Z=w[(l>>>0>p>>>0?T+p|0:280448)|0];p=w[h+12|0];if(Z>>>0>=p>>>0){break Rd}G=l+T|0;l=Z+B(p,W)|0;l=w[(l>>>0<B(p,S)>>>0?G+l|0:280448)|0];h=l>>>0<M>>>0?(h+(l<<1)|0)+14|0:280448;h=w[h|0]|w[h+1|0]<<8;h=h<<8|h>>>8;if(!(h&65535)){break Rd}Td:{if(!R){p=h<<16;l=p>>31;h=eQ(v[o+32>>2],v[o+36>>2],p>>16,l);h=(Da&65535)<<16|h>>>16;if(w[j+28|0]){v[(r+s|0)+12>>2]=h;v[m+32>>2]=v[m+32>>2]|8;break Td}l=r+E|0;p=h>>1;v[l>>2]=p+v[l>>2];l=r+s|0;h=h-p|0;v[l>>2]=h+v[l>>2];v[l+8>>2]=h+v[l+8>>2];break Td}p=h<<16;l=p>>31;h=eQ(v[o+40>>2],v[o+44>>2],p>>16,l);h=(Da&65535)<<16|h>>>16;if(w[j+28|0]){v[(r+s|0)+8>>2]=h;v[m+32>>2]=v[m+32>>2]|8;break Td}l=r+E|0;p=h>>1;v[l+4>>2]=p+v[l+4>>2];l=r+s|0;h=h-p|0;v[l+4>>2]=h+v[l+4>>2];v[l+12>>2]=h+v[l+12>>2]}h=d+1|0;if(h-k>>>0<2){break Rd}Mb(m,k,h);d=v[f+12>>2];break Rd}d=k+1|0}if(d>>>0<I>>>0){continue}break}}Ca=f+160|0}}Ca=j+80|0;d=v[q+48>>2];f=v[d+12>>2];v[q+24>>2]=f;d=v[d+16>>2];v[q+28>>2]=d+f;if((d|0)<=-1){break Wc}if(!aa){nd(v[q+16>>2])}X=A|X;d=v[q+8>>2];f=v[q+16>>2];v[Q>>2]=v[q+68>>2];Bb(f,d,229770,Q)}d=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);h=v[q+68>>2]+1|0;v[q+68>>2]=h;i=(d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+i|0;n=n+1|0;if((U|0)!=(n|0)){continue}break}}Ca=Q+32|0}Bb(c,b,229673,0)}Sa(v[q+48>>2]);v[q+48>>2]=0;v[q+24>>2]=0;v[q+28>>2]=0;Ca=Y+80|0;break Db}O(229786,229811,194,229828);L()}f=Ca-16|0;Ca=f;Ud:{Vd:{if((v[c+48>>2]&-2)==4){if(Rh(b,11)){break Vd}break Ud}if(!Rh(b,12)){break Ud}}i=f;d=v[c+48>>2];F=(d&-3)!=5;if(!F){nd(c);d=v[c+48>>2]}v[i+12>>2]=d;v[f+8>>2]=b;t[f+4|0]=0;v[f>>2]=f+8;A=v[N+132>>2];i=0;l=Ca-160|0;Ca=l;d=Yg(l+8|0,1,b,c);v[d+120>>2]=A;v[d+132>>2]=8;v[d+36>>2]=0;v[d+8>>2]=d;v[d+28>>2]=0;v[d+32>>2]=0;v[d+80>>2]=0;v[d+52>>2]=d;v[d+20>>2]=A;t[d+17|0]=w[d+142|0];v[d+12>>2]=8;v[d+72>>2]=0;v[d+76>>2]=0;v[d- -64>>2]=-1;t[d+61|0]=1;v[d+56>>2]=8;h=v[d+124>>2]==1;t[d+16|0]=h;t[d+60|0]=h|w[d+141|0]!=0;g=v[c+76>>2];if(g){q=d+4|0;k=v[c+96>>2];r=v[c+88>>2];Q=(v[c+48>>2]&-2)!=4;while(1){j=g;Wd:{Xd:{o=B(i,20);m=o+r|0;if(!(A&v[m+4>>2])){break Xd}v[d+40>>2]=1;v[d+4>>2]=i;n=v[v[d+8>>2]+100>>2];v[d+44>>2]=v[n+76>>2];t[d+24|0]=v[n+72>>2]==(i|0)?w[(o+v[n+88>>2]|0)+15|0]:0;if(!Rc(q)){break Xd}p=v[m>>2];E=v[q>>2];n=B(E,20);s=v[n+r>>2];J=v[f>>2];h=v[J>>2];m=v[h+72>>2];Yd:{if((v[J+4>>2]&-2)==4){h=Ea[v[m+192>>2]](h,v[h+76>>2],p,s,v[m+56>>2])|0;break Yd}h=Ea[v[m+196>>2]](h,v[h+76>>2],p,s,v[m+60>>2])|0}Zd:{if(!h){break Zd}_d:{if(!Q){if(w[f+4|0]){v[(k+n|0)+12>>2]=h;v[c+32>>2]=v[c+32>>2]|8;break _d}m=k+o|0;o=m;G=v[m>>2];m=h>>1;v[o>>2]=G+m;n=k+n|0;h=h-m|0;v[n>>2]=h+v[n>>2];v[n+8>>2]=h+v[n+8>>2];break _d}if(w[f+4|0]){v[(k+n|0)+8>>2]=h;v[c+32>>2]=v[c+32>>2]|8;break _d}m=k+o|0;o=m;G=v[m+4>>2];m=h>>1;v[o+4>>2]=G+m;n=k+n|0;h=h-m|0;v[n+4>>2]=h+v[n+4>>2];v[n+12>>2]=h+v[n+12>>2]}h=E+1|0;if(h-i>>>0<2){break Zd}Mb(c,i,h)}i=v[q>>2];break Wd}i=i+1|0}if(j>>>0>i>>>0){continue}break}}Ca=l+160|0;if(F){break Ud}nd(c)}Ca=f+16|0}if(w[N+141|0]&32){n=Ca-80|0;Ca=n;d=Kp(v[b+16>>2]+164|0);q=Zg(n+8|0,N,b,c,280448);g=q;V=z[v[g+8>>2]+56>>2];if(!(V<=C(0))){m=v[v[g+4>>2]+136>>2];k=v[g+16>>2];$d:{if((v[k+48>>2]&-2)==4){f=w[d+7|0]|w[d+6|0]<<8;A=Jp(f?f+d|0:280448,d,V);V=C((A|0)/2|0);d=v[g+8>>2];h=v[d+20>>2];j=v[d+16>>2];f=v[j+28>>2];ae:{if(f){d=h;i=f;break ae}i=Fb(j);f=v[g+8>>2];d=v[f+20>>2];j=v[f+16>>2];f=v[j+28>>2]}V=C(H(C(C(C(V*C(h|0))/C(i>>>0))+C(.5))));be:{if(C(D(V))<C(2147483648)){i=~~V;break be}i=-2147483648}if(!f){f=Fb(j)}h=v[k+76>>2];V=C(H(C(C(C(C(A|0)*C(d|0))/C(f>>>0))+C(.5))));ce:{if(C(D(V))<C(2147483648)){d=~~V;break ce}d=-2147483648}if(!h){break $d}g=h-1|0;j=v[k+88>>2];f=0;while(1){de:{if((f|0)==(g|0)){f=h;break de}f=f+1|0;if(w[(j+B(f,20)|0)+16|0]&128){continue}}break}if(!h){break $d}g=i;j=d;A=v[k+88>>2];i=0;while(1){d=B(i,20);if(m&v[(d+A|0)+4>>2]){d=d+v[k+96>>2]|0;v[d>>2]=j+v[d>>2];v[d+8>>2]=g+v[d+8>>2]}d=f+1|0;i=d>>>0<h>>>0?h:d;d=f;while(1){ee:{d=d+1|0;if(h>>>0<=d>>>0){d=i;break ee}if(w[(A+B(d,20)|0)+16|0]&128){continue}}break}o=f>>>0<h>>>0;i=f;f=d;if(o){continue}break}break $d}f=w[d+9|0]|w[d+8|0]<<8;A=Jp(f?f+d|0:280448,d,V);V=C((A|0)/2|0);d=v[g+8>>2];h=v[d+24>>2];j=v[d+16>>2];f=v[j+28>>2];fe:{if(f){d=h;i=f;break fe}i=Fb(j);f=v[g+8>>2];d=v[f+24>>2];j=v[f+16>>2];f=v[j+28>>2]}V=C(H(C(C(C(V*C(h|0))/C(i>>>0))+C(.5))));ge:{if(C(D(V))<C(2147483648)){i=~~V;break ge}i=-2147483648}if(!f){f=Fb(j)}h=v[k+76>>2];V=C(H(C(C(C(C(A|0)*C(d|0))/C(f>>>0))+C(.5))));he:{if(C(D(V))<C(2147483648)){f=~~V;break he}f=-2147483648}if(!h){break $d}g=h-1|0;j=v[k+88>>2];d=0;while(1){ie:{if((d|0)==(g|0)){d=h;break ie}d=d+1|0;if(w[(j+B(d,20)|0)+16|0]&128){continue}}break}if(!h){break $d}g=i;A=v[k+88>>2];i=0;while(1){i=B(i,20);if(m&v[(i+A|0)+4>>2]){i=i+v[k+96>>2]|0;v[i+4>>2]=f+v[i+4>>2];v[i+12>>2]=g+v[i+12>>2]}i=d;j=d+1|0;j=h>>>0>j>>>0?h:j;while(1){je:{d=d+1|0;if(h>>>0<=d>>>0){d=j;break je}if(w[(A+B(d,20)|0)+16|0]&128){continue}}break}if(h>>>0>i>>>0){continue}break}}}Sa(v[q+48>>2]);Ca=n+80|0}ke:{if(!(w[a+200|0]&32)|v[v[a+80>>2]+48>>2]!=2){break ke}i=v[c+76>>2];if(!i){break ke}h=v[c+88>>2];if(e){g=0;while(1){d=B(g,20);if(w[(d+h|0)+12|0]&8){d=d+v[c+96>>2]|0;f=v[d+4>>2];v[d+4>>2]=0;j=v[d>>2];v[d>>2]=0;v[d+8>>2]=v[d+8>>2]-j;v[d+12>>2]=v[d+12>>2]-f}g=g+1|0;if((i|0)!=(g|0)){continue}break}break ke}f=0;if((i|0)!=1){g=i&-2;while(1){d=B(f,20);if(w[(d+h|0)+12|0]&8){d=d+v[c+96>>2]|0;v[d>>2]=0;v[d+4>>2]=0}d=B(f|1,20);if(w[(d+h|0)+12|0]&8){d=d+v[c+96>>2]|0;v[d>>2]=0;v[d+4>>2]=0}f=f+2|0;g=g-2|0;if(g){continue}break}}if(!(i&1)){break ke}d=B(f,20);if(!(w[(d+h|0)+12|0]&8)){break ke}d=d+v[c+96>>2]|0;v[d>>2]=0;v[d+4>>2]=0}le:{if(!(w[c+32|0]&2)|w[c+16|0]&12){break le}d=v[c+76>>2];if(!d){break le}i=v[c+88>>2];h=v[c+96>>2];f=0;if((d|0)!=1){g=d&-2;while(1){j=B(f,20);k=j+i|0;if(!(!(w[k+16|0]&32)|w[k+12|0]&16)){j=h+j|0;v[j>>2]=0;v[j+4>>2]=0;v[j+8>>2]=0;v[j+12>>2]=0}j=B(f|1,20);k=j+i|0;if(!(!(w[k+16|0]&32)|w[k+12|0]&16)){j=h+j|0;v[j>>2]=0;v[j+4>>2]=0;v[j+8>>2]=0;v[j+12>>2]=0}f=f+2|0;g=g-2|0;if(g){continue}break}}if(!(d&1)){break le}d=i+B(f,20)|0;if(!(w[d+16|0]&32)|w[d+12|0]&16){break le}d=h+B(f,20)|0;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0}if(w[a+201|0]&16){me:{i=v[c+76>>2];if(!i){break me}h=v[c+96>>2];g=v[c+88>>2];d=0;if((i|0)!=1){f=i&-2;while(1){j=B(d,20);if(v[j+g>>2]==65535){j=h+j|0;v[j>>2]=0;v[j+4>>2]=0;v[j+8>>2]=0;v[j+12>>2]=0}j=B(d|1,20);if(v[j+g>>2]==65535){j=h+j|0;v[j>>2]=0;v[j+4>>2]=0;v[j+8>>2]=0;v[j+12>>2]=0}d=d+2|0;f=f-2|0;if(f){continue}break}}if(!(i&1)){break me}d=B(d,20);if(v[d+g>>2]!=65535){break me}d=d+h|0;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0}}d=Ca-16|0;Ca=d;ne:{f=w[c+168|0];if((f&3)==3){if(!(!(f&4)|!(f&8))){f=cf(c,d+12|0);oe:{if(!(w[c+32|0]&8)){break oe}i=v[d+12>>2];if(!i){break oe}h=v[c+48>>2];g=0;while(1){Xo(f,i,g,h);i=v[d+12>>2];g=g+1|0;if(i>>>0>g>>>0){continue}break}}Ca=d+16|0;break ne}}break F}if(!(!Rh(b,9)|!da)){g=0;while(1){d=B(g,20);Nf(b,v[d+fa>>2],P+12|0,P+8|0);d=d+ga|0;v[d+8>>2]=v[d+8>>2]-v[P+12>>2];v[d+12>>2]=v[d+12>>2]-v[P+8>>2];g=g+1|0;if((da|0)!=(g|0)){continue}break}}if(w[a+200|0]&128){pe:{d=w[c+168|0];if((d&3)==3){if(!(!(d&4)|!(d&8))){f=1;d=0;i=v[c+76>>2];if(i>>>0>1){h=v[c+88>>2];while(1){if(!(1<<x[(h+B(f,20)|0)+16>>1]&7168)){Dw(N,b,c,d,f,e);d=f}f=f+1|0;if((i|0)!=(f|0)){continue}break}}Dw(N,b,c,d,i,e);break pe}}O(278954,278928,173,278943);L()}}if((v[c+48>>2]&-3)==5){nd(c)}d=w[c+168|0];if(!(d&8)){break G}t[c+168|0]=d&247;if(!(d&4)){break G}t[c+168|0]=d&243;if((d&3)!=3){break G}t[c+168|0]=d&240;qe:{if(!(w[c+32|0]&2)){break qe}e=v[c+16>>2];if(e&4){break qe}i=v[c+88>>2];d=v[c+76>>2];f=v[c+28>>2];v[P+12>>2]=f;re:{if(e&8){break re}if(!f){v[P+12>>2]=0;e=v[b+72>>2];if(!(Ea[v[e+156>>2]](b,v[b+76>>2],32,P+12|0,v[e+20>>2])|0)){break re}}if(!d){break qe}f=0;while(1){e=i+B(f,20)|0;if(!(!(w[e+16|0]&32)|w[e+12|0]&16)){v[e>>2]=v[P+12>>2]}f=f+1|0;if((d|0)!=(f|0)){continue}break}break qe}Yo(c,567)}if(w[a+201|0]&16){Yo(c,433)}se:{if(!v[v[a+80>>2]+20>>2]){break se}if(!Bb(c,b,279267,0)){break se}Ea[v[v[a+80>>2]+20>>2]](N,c,b);Bb(c,b,279292,0)}te:{if(!(w[c+32|0]&16)){break te}b=v[c+76>>2];if(!b){break te}a=b-1|0;e=v[c+88>>2];d=v[e+8>>2];f=0;while(1){ue:{if((a|0)==(f|0)){f=b;break ue}f=f+1|0;if((d|0)==v[(e+B(f,20)|0)+8>>2]){continue}}break}h=0;while(1){a=f;i=h;ve:{if(h>>>0>=f>>>0){break ve}while(1){if(!(t[(e+B(i,20)|0)+4|0]&1)){i=i+1|0;if((a|0)!=(i|0)){continue}break ve}break}d=a+(h^-1)|0;f=a-h&3;if(f){while(1){i=e+B(h,20)|0;v[i+4>>2]=v[i+4>>2]|1;h=h+1|0;f=f-1|0;if(f){continue}break}}if(d>>>0<3){break ve}while(1){d=e+B(h,20)|0;v[d+4>>2]=v[d+4>>2]|1;v[d+24>>2]=v[d+24>>2]|1;v[d+44>>2]=v[d+44>>2]|1;d=d- -64|0;v[d>>2]=v[d>>2]|1;h=h+4|0;if((a|0)!=(h|0)){continue}break}}d=a+1|0;d=b>>>0>d>>>0?b:d;i=d-1|0;h=v[(e+B(a,20)|0)+8>>2];f=a;while(1){we:{if((f|0)==(i|0)){f=d;break we}f=f+1|0;if((h|0)==v[(e+B(f,20)|0)+8>>2]){continue}}break}h=a;if(b>>>0>h>>>0){continue}break}}if((w[c+168|0]&48)!=48){break Qa}t[c+168|0]=0;v[c+36>>2]=1073741823;v[c+40>>2]=536870911;v[c+48>>2]=ea;Ca=P+16|0;return 1}break G}break G}O(279183,279155,153,279170);L()}O(279231,279155,163,279216);L()}O(229922,229896,173,229911);L()}function Uz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,C=0,D=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0;n=Ca-128|0;Ca=n;e=v[b+96>>2];g=v[e+4>>2];d=b;aa=v[d+540>>2];a:{if(!aa){aa=re(g,161248);if(!aa){e=11;break a}v[b+540>>2]=aa;v[b+516>>2]=v[aa>>2];e=v[b+96>>2]}pa=d,qa=xd(e,161980,1),v[pa+544>>2]=qa;if(!v[b+548>>2]){pa=b,qa=xd(pc(g,161997),162006,0),v[pa+548>>2]=qa}if(!v[b+552>>2]){pa=b,qa=xd(pc(g,161997),162020,0),v[pa+552>>2]=qa}ma=v[a+28>>2];v[b+140>>2]=0;v[b+132>>2]=0;v[b+136>>2]=0;P=v[a+8>>2];d=Ob(a,n+12|0);e=v[n+12>>2];if(e){break a}na=b+132|0;oa=n+104|0;while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if((d|0)<=1954115632){if((d|0)<=131071){if((d|0)==-1519689116|(d|0)==-1519619212){break k}e=2;if((d|0)==65536){break k}break a}if((d|0)<=1953658212){if((d|0)==131072){break k}e=2;if((d|0)==1330926671){break k}break a}if((d|0)==1953658213){break k}e=2;if((d|0)==1953784678){break k}break a}if((d|0)==2001684018){break f}if((d|0)==2001684038){break j}e=2;if((d|0)!=1954115633){break a}}v[na>>2]=1953784678;if((d|0)!=1953784678){break i}e=ub(a,162048,na);v[n+12>>2]=e;if(e){break a}d=v[b+140>>2];if(d){break h}e=8;break a}e=Ya(a,P);v[n+12>>2]=e;if(e){break a}X=v[a+28>>2];v[n+24>>2]=0;e=ub(a,162064,n+48|0);v[n+24>>2]=e;if(e){break a}e=8;d=v[n+52>>2];if((d|0)==1953784678|(d|0)==2001684038){break a}d=v[n+56>>2];if((d|0)!=v[a+4>>2]){break a}g=x[n+60>>1];if(!g|d>>>0<=B(g,20)+44>>>0){break a}g=g<<4|12;d=v[n+64>>2];if(g>>>0>=d>>>0|d&3){break a}d=v[n+76>>2];l:{if(!v[n+72>>2]){if(!(d|v[n+80>>2])){break l}break a}if(!d){break l}if(!v[n+80>>2]){break a}}if(!(v[n+88>>2]?v[n+84>>2]:1)){break a}e=0;H=qb(X,g,n+24|0);if(v[n+24>>2]){g=0;P=0;break d}g=wb(X,40,n+24|0);if(v[n+24>>2]){P=0;break d}d=x[n+60>>1];if(!d){e=-1;break e}P=1;e=d;while(1){e=e>>>1|0;if(e){P=P+1|0;continue}else{e=P-1|0;break e}}}v[b+136>>2]=65536;v[b+140>>2]=1;a=qb(ma,4,n+12|0);v[b+144>>2]=a;e=v[n+12>>2];if(e){break a}v[a>>2]=P;v[n+48>>2]=0;break g}e=10;if(d>>>0>v[a+4>>2]>>>5>>>0){break a}pa=b,qa=Ua(ma,4,0,d,0,n+12|0),v[pa+144>>2]=qa;e=v[n+12>>2];if(e){break a}e=vb(a,v[b+140>>2]<<2);v[n+12>>2]=e;if(e){break a}if(v[b+140>>2]>=1){e=0;while(1){d=tc(a);v[v[b+144>>2]+(e<<2)>>2]=d;e=e+1|0;if((e|0)<v[b+140>>2]){continue}break}}pb(a);e=v[n+12>>2];v[n+48>>2]=e;if(e){break a}}g=n;r=v[b+104>>2];d=r;h=v[b+144>>2];a=c>>31;j=a+c^a;a=(j&65535)+a|0;if((a|0)>=v[b+140>>2]){e=6;if((c|0)>-1){break a}a=0}e=Ya(d,v[h+(a<<2)>>2]);v[g+48>>2]=e;if(e){break a}e=Ea[v[aa+88>>2]](b,r)|0;v[n+48>>2]=e;if(e){break a}o=v[b+100>>2];g=0;m:{n:{if(Ea[v[b+516>>2]](b,1719034226,r,n+24|0)|y[n+24>>2]<20){break n}h=Ob(r,n+48|0);if(v[n+48>>2]){break n}i=kb(r,n+48|0);if(v[n+48>>2]){break n}a=Ub(r,2);v[n+48>>2]=a;if(a){break n}e=kb(r,n+48|0);if(v[n+48>>2]){break n}f=kb(r,n+48|0);if(v[n+48>>2]){break n}d=kb(r,n+48|0);if(v[n+48>>2]){break n}P=kb(r,n+48|0);if(v[n+48>>2]){break n}h=(h|0)!=65536;break m}i=0;e=0;f=0;d=0;P=0;h=1}a=0;o:{if(h){break o}a=0;if((f|0)!=20){break o}a=0;if(!e){break o}a=0;if(e>>>0>16382){break o}h=e<<2;a=0;if((h+4|0)!=(P|0)&(h+6|0)!=(P|0)){break o}a=0;if(d>>>0>32511){break o}a=0;if(y[n+24>>2]<(B(e,20)+i|0)+B(d,P)>>>0){break o}v[b+740>>2]=v[b+740>>2]|1;a=d}p:{if(!(t[b+740|0]&1)){H=0;break p}l=e<<2;H=qb(o,l,n+48|0);if(v[n+48>>2]){break p}g=qb(o,l,n+48|0);if(v[n+48>>2]){break p}h=(v[r+8>>2]+i|0)-16|0;q:{if(!e){break q}aa=h+8|0;d=1;i=H;while(1){pa=n,qa=ni(r,aa,i,4),v[pa+48>>2]=qa;if((d|0)==(e|0)){break q}i=i+4|0;aa=f+aa|0;d=d+1|0;continue}}r:{if(!a){aa=0;break r}e=(h+B(e,f)|0)+4|0;aa=0;while(1){pa=n,qa=ni(r,e,g,l),v[pa+48>>2]=qa;if(!lc(H,g,l)){break r}e=e+P|0;aa=aa+1|0;if((aa|0)!=(a|0)){continue}break}aa=a}a=((a|0)==(aa|0))+a|0}if(H){Ea[v[o+8>>2]](o,H)}if(g){Ea[v[o+8>>2]](o,g)}e=j>>>16|0;s:{if(!(Ea[v[b+516>>2]](b,1735162214,r,0)|0)){break s}if(!(Ea[v[b+516>>2]](b,1128678962,r,0)|0)){break s}a=Ea[v[b+516>>2]](b,1128678944,r,0)|0?a:0}d=b;t:{a=a&65535;if(a>>>0<e>>>0){if((c|0)>-1){break t}a=0}v[d+12>>2]=a<<16;v[b+4>>2]=c;v[b>>2]=v[b+140>>2];if(ka){v[b>>2]=ka}e=v[n+48>>2];break a}e=6;break a}e=Ya(a,P);v[n+12>>2]=e;if(e){break a}C=v[a+28>>2];v[n+120>>2]=0;v[n+40>>2]=0;v[n+44>>2]=0;v[n+32>>2]=0;v[n+36>>2]=0;v[n+24>>2]=0;v[n+28>>2]=0;v[n+20>>2]=0;e=ub(a,162128,n+48|0);v[n+120>>2]=e;if(e){break c}e=8;if(v[n+52>>2]==2001684018){break c}i=v[n+56>>2];if((i|0)!=v[a+4>>2]){break c}g=x[n+60>>1];if(!g|i>>>0<=B(g,20)+48>>>0){break c}h=v[n+76>>2];d=v[n+72>>2];u:{if(!d){if(h|v[n+80>>2]){break c}break u}if(h){if(!v[n+80>>2]|d>>>0>=i>>>0|h>>>0>i-d>>>0){break c}break u}if(d>>>0>=i>>>0){break c}}d=v[n+84>>2];v:{if(!d){if(v[n+88>>2]){break c}break v}if(y[n+88>>2]>i-d>>>0|d>>>0>=i>>>0){break c}}P=0;v[n+112>>2]=0;la=Ua(C,32,0,g,0,n+120|0);w:{if(v[n+120>>2]){e=0;H=0;break w}H=Ua(C,4,0,x[n+60>>1],0,n+120|0);if(v[n+120>>2]){e=0;break w}l=0;F=0;x:{y:{z:{if(!x[n+60>>1]){e=0;break z}while(1){i=(l<<5)+la|0;d=cc(a,n+120|0);t[i|0]=d;if(v[n+120>>2]){e=0;break w}e=d&63;A:{if((e|0)==63){f=Ob(a,n+120|0);v[i+4>>2]=f;if(v[n+120>>2]){break x}d=w[i|0];break A}f=v[(e<<2)+162192>>2];v[i+4>>2]=f}h=(d&192)>>>6|0;B:{if(!((f|0)!=1735162214?(f|0)!=1819239265:0)){g=!h<<8;e=(h|0)!=0;break B}g=((h|0)!=0)<<8;e=!h}d=bq(a,i+8|0);v[n+120>>2]=d;if(d){break x}d=v[i+8>>2];v[i+12>>2]=d;C:{D:{if(!e){d=bq(a,i+12|0);v[n+120>>2]=d;if(d){break x}e=v[i+12>>2];if(v[i+4>>2]==1819239265){break D}d=e}if((F^-1)>>>0<d>>>0){break y}break C}d=0;if(e){break y}}v[i+24>>2]=d;v[i+20>>2]=F;v[i+16>>2]=g|h;v[(l<<2)+H>>2]=i;F=d+F|0;e=x[n+60>>1];l=l+1|0;if(e>>>0>l>>>0){continue}break}}d=v[((e<<2)+H|0)-4>>2];e=v[d+24>>2];d=e+v[d+20>>2]|0;v[n+92>>2]=d;if(d>>>0<e>>>0){break y}v[n+100>>2]=0;u[n+104>>1]=1;E:{if(v[n+52>>2]==1953784678){d=Ob(a,n+120|0);v[n+100>>2]=d;if(v[n+120>>2]){break x}if((d|0)!=131072?(d|0)!=65536:0){break y}d=Pf(a,oa);v[n+120>>2]=d;if(d){break x}d=x[n+104>>1];if(!d){break y}l=Ua(C,12,0,d,0,n+120|0);v[n+112>>2]=l;if(v[n+120>>2]){e=0;break w}if(!x[n+104>>1]){break E}f=l+4|0;d=Pf(a,f);v[n+120>>2]=d;if(d){break x}g=0;while(1){h=B(g,12)+l|0;pa=h,qa=Ob(a,n+120|0),v[pa>>2]=qa;if(v[n+120>>2]){e=0;break w}e=0;pa=h,qa=Ua(C,2,0,x[f>>1],0,n+120|0),v[pa+8>>2]=qa;if(v[n+120>>2]){break w}l=0;F:{if(!x[f>>1]){d=0;i=0;break F}i=0;d=0;while(1){e=Pf(a,n+124|0);v[n+120>>2]=e;if(e){break x}j=x[n+124>>1];if(j>>>0>=x[n+60>>1]){v[n+120>>2]=8;break x}u[v[h+8>>2]+(l<<1)>>1]=j;e=v[v[(j<<2)+H>>2]+4>>2];d=(e|0)==1735162214?j:d;i=(e|0)==1819239265?j:i;l=l+1|0;if(l>>>0<x[f>>1]){continue}break}}if((i-d|0)!=1|d>>>0>i>>>0?d|i:0){break y}g=g+1|0;if(g>>>0>=x[n+104>>1]){break E}l=v[n+112>>2];f=(l+B(g,12)|0)+4|0;d=Pf(a,f);v[n+120>>2]=d;e=0;if(!d){continue}break}break w}v[n+112>>2]=0}d=v[a+8>>2];v[n+96>>2]=d;h=(d+v[n+68>>2]|0)+3|0;e=h&-4;g=v[n+56>>2];if(e>>>0>g>>>0){break y}d=v[n+72>>2];if(d){if((d|0)!=(e|0)){break y}e=v[n+76>>2]+(h|3)&-4}d=v[n+84>>2];if(d){if((d|0)!=(e|0)){break y}e=v[n+88>>2]+(e|3)&-4}if((g+3&-4)!=(e|0)){break y}G:{ha=c>>31;e=ha+((c+ha^ha)&65535)|0;ka=x[n+104>>1];if((e|0)<(ka|0)){break G}e=0;if((c|0)<0){break G}v[n+120>>2]=6;break x}H:{if(!v[n+100>>2]){e=x[n+60>>1];break H}f=v[n+112>>2]+B(e,12)|0;j=Ua(C,4,0,x[f+4>>1],0,n+120|0);if(v[n+120>>2]){e=0;break w}h=x[f+4>>1];I:{if(!h){break I}e=0;if((h|0)!=1){d=h&65534;while(1){v[j+(e<<2)>>2]=v[(x[v[f+8>>2]+(e<<1)>>1]<<2)+H>>2];g=e|1;v[j+(g<<2)>>2]=v[(x[v[f+8>>2]+(g<<1)>>1]<<2)+H>>2];e=e+2|0;d=d-2|0;if(d){continue}break}}if(!(h&1)){break I}v[j+(e<<2)>>2]=v[(x[v[f+8>>2]+(e<<1)>>1]<<2)+H>>2]}H=Ua(C,4,x[n+60>>1],h,H,n+120|0);if(v[n+120>>2]){break x}g=x[f+4>>1];J:{if(!g){break J}d=g&3;e=0;if(g-1>>>0>=3){i=g&65532;while(1){h=e<<2;v[h+H>>2]=v[h+j>>2];g=h|4;v[g+H>>2]=v[g+j>>2];g=h|8;v[g+H>>2]=v[g+j>>2];g=h|12;v[g+H>>2]=v[g+j>>2];e=e+4|0;i=i-4|0;if(i){continue}break}}if(!d){break J}while(1){g=e<<2;v[g+H>>2]=v[g+j>>2];e=e+1|0;d=d-1|0;if(d){continue}break}}if(j){Ea[v[C+8>>2]](C,j)}v[n+52>>2]=v[f>>2];e=x[f+4>>1];u[n+60>>1]=e}l=(e&65535)<<4|12;v[n+16>>2]=l;e=v[n+64>>2];if(e>>>0>l>>>0){d=v[n+56>>2];d=d>>>0<e>>>6>>>0?d<<6:e;l=d>>>0<67108864?d:67108864;v[n+16>>2]=l}h=qb(C,l,n+120|0);v[n+20>>2]=h;e=0;if(v[n+120>>2]){break w}P=wb(C,40,n+120|0);if(v[n+120>>2]){break w}t[h|0]=w[n+55|0];t[h+1|0]=x[n+54>>1];t[h+2|0]=v[n+52>>2]>>>8;t[h+3|0]=v[n+52>>2];g=x[n+60>>1];if(g){t[h+4|0]=g>>>8;d=w[n+60|0];e=32-E(g>>>1|0)|0;t[h+9|0]=e;t[h+5|0]=d;t[h+8|0]=e>>>8;e=16<<e;t[h+7|0]=e;d=(g<<4)-e|0;t[h+11|0]=d;t[h+6|0]=e>>>8;t[h+10|0]=d>>>8;d=x[n+60>>1]}else{d=0}pa=n,qa=hk(h,12),v[pa+24>>2]=qa;Uc(H,d,4,311);K:{h=x[n+60>>1];if(h>>>0>=2){d=v[v[H>>2]+4>>2];e=1;while(1){g=d;d=v[v[(e<<2)+H>>2]+4>>2];if((g|0)==(d|0)){break K}e=e+1|0;if((h|0)!=(e|0)){continue}break}}d=v[n+92>>2];if(!d|d>>>0>l>>>0){break K}e=qb(C,d,n+120|0);if(v[n+120>>2]){break w}d=vb(a,v[n+68>>2]);v[n+120>>2]=d;if(d){break w}g=v[a+32>>2];d=v[n+68>>2];ia=v[n+92>>2];v[n+124>>2]=ia;h=0;z=Ca-5040|0;Ca=z;v[z+20>>2]=0;v[z+16>>2]=d;v[z+12>>2]=g;v[z+8>>2]=v[n+124>>2];v[z+4>>2]=e;v[z+116>>2]=0;v[z+56>>2]=0;v[z+52>>2]=308;v[z+48>>2]=309;v[z+32>>2]=0;v[z+36>>2]=32;v[z+24>>2]=0;v[z+28>>2]=0;v[z+296>>2]=0;v[z+300>>2]=0;v[z+72>>2]=0;v[z+76>>2]=0;v[z+120>>2]=0;v[z+600>>2]=0;v[z+604>>2]=0;v[z+88>>2]=0;v[z+92>>2]=0;v[z+276>>2]=0;v[z+160>>2]=0;v[z+164>>2]=0;v[z+176>>2]=0;v[z+180>>2]=0;v[z+136>>2]=0;v[z+140>>2]=0;v[z+144>>2]=0;v[z+148>>2]=0;v[z+568>>2]=0;v[z+572>>2]=0;v[z+576>>2]=0;v[z+580>>2]=0;v[z+588>>2]=0;v[z+592>>2]=0;v[z+84>>2]=0;v[z+100>>2]=16;v[z+104>>2]=15;v[z+108>>2]=11;v[z+112>>2]=4;u[z+584>>1]=x[z+584>>1]&65472|16;v[z+304>>2]=63;v[z+192>>2]=0;v[z+196>>2]=0;v[z+96>>2]=0;v[z+608>>2]=29428;v[z+612>>2]=152384;f=z+24|0;Y=z+4|0;da=Ca-16|0;Ca=da;ea=z+20|0;if(ea){v[ea>>2]=v[f+276>>2]}ga=z+8|0;L:{if(v[f+92>>2]<0){break L}M:{if(!v[ga>>2]){Y=0;break M}if(v[Y>>2]?Y:0){break M}v[f+92>>2]=-20;break L}N:{if(!v[f+48>>2]){v[f+20>>2]=v[z+16>>2];v[f+16>>2]=v[z+12>>2];h=1;break N}v[f+16>>2]=f+40;h=2}o=f+8|0;ja=f+824|0;$=f+1168|0;ba=f+624|0;D=f+152|0;J=f+136|0;r=f+120|0;N=f+252|0;Z=f+248|0;ca=f+576|0;p=f+572|0;F=f+40|0;X=f+204|0;O:while(1){P:{Q:{R:{S:{switch(h-1|0){case 1:if(v[f+96>>2]){h=bi(f,ga,Y,ea,1);if((h|0)<0){break R}}d=v[f+48>>2];if(d){if(!v[f+20>>2]){v[f+48>>2]=0;v[f+20>>2]=v[z+16>>2];v[f+16>>2]=v[z+12>>2];h=1;continue}if(!v[z+16>>2]){v[f+92>>2]=2;h=2;break L}t[d+F|0]=w[v[z+12>>2]];h=1;d=v[f+48>>2]+1|0;v[f+20>>2]=d;v[f+48>>2]=d;v[z+12>>2]=v[z+12>>2]+1;v[z+16>>2]=v[z+16>>2]-1;continue}d=v[f+16>>2];v[z+12>>2]=d;g=v[f+20>>2];v[z+16>>2]=g;h=2;if(!g){break R}g=F;while(1){t[g|0]=w[d|0];i=v[f+48>>2]+1|0;v[f+48>>2]=i;d=v[z+12>>2]+1|0;v[z+12>>2]=d;g=v[z+16>>2]-1|0;v[z+16>>2]=g;if(!g){break R}g=i+F|0;continue};case 0:break P;default:break S}}if(!v[f+48>>2]){break Q}v[f+48>>2]=0}v[f+92>>2]=h;h=h-1>>>0<3?h:0;break L}l=v[f+12>>2];j=32-l|0;d=j>>>3|0;i=d+v[f+20>>2]|0;v[f+20>>2]=i;g=v[f+16>>2]-d|0;v[f+16>>2]=g;d=o;r=j&-8;if((r|0)!=32){j=v[o>>2]<<r}else{j=0}v[d>>2]=j;v[f+12>>2]=l+r;v[z+16>>2]=i;v[z+12>>2]=g;v[f+92>>2]=h;h=h-1>>>0<3?h:0;break L}h=1;k=f;l=o;T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{switch(v[f>>2]){case 19:d=v[f+4>>2];h=v[(f+(d<<2)|0)+204>>2];break W;case 2:d=v[f+564>>2];break ba;case 22:h=v[f+204>>2];break ja;case 6:d=v[f+4>>2];break ka;case 12:h=v[f+184>>2];if((h|0)<1){break _}d=v[f+12>>2];while(1){i=h;ma:{if(32-d>>>0>7){g=d;break ma}h=2;k=v[f+20>>2];if(!k){continue O}g=v[o>>2]>>>8|0;v[o>>2]=g;l=v[f+16>>2];v[o>>2]=g|w[l|0]<<24;g=d-8|0;v[f+12>>2]=g;j=k-1|0;v[f+20>>2]=j;v[f+16>>2]=l+1;if(40-d>>>0>=8){break ma}if(!j){continue O}g=v[o>>2]>>>8|0;v[o>>2]=g;h=v[f+16>>2];v[o>>2]=g|w[h|0]<<24;g=d-16|0;v[f+12>>2]=g;v[f+20>>2]=k-2;v[f+16>>2]=h+1}h=i-1|0;v[f+184>>2]=h;d=g+8|0;v[f+12>>2]=d;if((i|0)>1){continue}break};break _;case 14:h=-10;if(v[f+184>>2]<0){continue}Ea[v[f+28>>2]](v[f+32>>2],v[f+580>>2]);v[f+580>>2]=0;Ea[v[f+28>>2]](v[f+32>>2],v[f+576>>2]);v[f+576>>2]=0;Ea[v[f+28>>2]](v[f+32>>2],v[f+252>>2]);v[f+252>>2]=0;Ea[v[f+28>>2]](v[f+32>>2],v[f+120>>2]);v[f+120>>2]=0;Ea[v[f+28>>2]](v[f+32>>2],v[f+136>>2]);v[f+136>>2]=0;Ea[v[f+28>>2]](v[f+32>>2],v[f+152>>2]);v[f+152>>2]=0;if(!(t[f+560|0]&1)){v[f>>2]=3;h=1;continue}d=v[f+12>>2];j=0-d&7;na:{if(!j){g=d;break na}i=v[o>>2];g=d+j|0;v[f+12>>2]=g;h=-15;if(v[(j<<2)+29296>>2]&i>>>d){continue}}if(!v[f+48>>2]){j=32-g|0;d=j>>>3|0;i=d+v[f+20>>2]|0;v[f+20>>2]=i;h=v[f+16>>2]-d|0;v[f+16>>2]=h;d=o;l=j&-8;if((l|0)!=32){j=v[o>>2]<<l}else{j=0}v[d>>2]=j;v[f+12>>2]=g+l;v[z+16>>2]=i;v[z+12>>2]=h}v[f>>2]=26;case 26:if(v[f+96>>2]){h=bi(f,ga,Y,ea,1);if((h|0)!=1){continue}}v[f+92>>2]=1;h=1;break L;case 13:case 15:case 16:h=bi(f,ga,Y,ea,0);if((h|0)!=1){continue}if(w[f+560|0]&8){Ta(v[f+96>>2],v[f+100>>2],v[f+52>>2]);u[f+560>>1]=x[f+560>>1]&65527}if(v[f+64>>2]==1<<v[f+564>>2]){v[f+60>>2]=v[f+56>>2]}oa:{switch(v[f>>2]-15|0){case 0:if(!v[f+184>>2]){break _}v[f>>2]=7;h=1;continue;case 1:v[f>>2]=10;h=1;continue;default:break oa}}if(!v[f+4>>2]){if(!v[f+184>>2]){break _}v[f>>2]=9;h=1;continue}v[f>>2]=8;h=1;continue;case 24:d=r;pa:{qa:{ra:{g=v[f+4>>2];switch(g|0){case 0:break ha;case 2:break qa;case 1:break ra;default:break pa}}d=J;break ha}d=D;break ha}v[f+92>>2]=-31;h=0;break L;case 0:break T;case 21:break U;case 20:break V;case 17:break Y;case 4:break $;case 3:break aa;case 1:break ca;case 18:break da;case 11:break ea;case 7:case 8:case 9:case 10:break fa;case 25:break ga;case 23:break ia;case 5:break la;default:continue}}i=v[f+12>>2];sa:{if(32-i>>>0>=6){g=v[o>>2];d=i;break sa}h=2;k=v[f+20>>2];if(!k){continue}d=v[o>>2]>>>8|0;v[o>>2]=d;l=v[f+16>>2];g=d|w[l|0]<<24;v[o>>2]=g;d=i-8|0;v[f+12>>2]=d;j=k-1|0;v[f+20>>2]=j;v[f+16>>2]=l+1;if(40-i>>>0>=6){break sa}if(!j){continue}d=v[o>>2]>>>8|0;v[o>>2]=d;h=v[f+16>>2];g=d|w[h|0]<<24;v[o>>2]=g;d=i-16|0;v[f+12>>2]=d;v[f+20>>2]=k-2;v[f+16>>2]=h+1}v[f+12>>2]=d+6;g=g>>>d|0;d=g&3;v[f+240>>2]=d;v[f+244>>2]=(g>>>2&15)<<d;d=Ea[v[f+24>>2]](v[f+32>>2],v[f+204>>2])|0;v[f+580>>2]=d;h=-21;if(!d){continue}v[f>>2]=6;v[f+4>>2]=0;d=0}h=v[f+204>>2];if((d|0)<(h|0)){while(1){ta:{i=v[f+12>>2];if(32-i>>>0>=2){g=v[f+8>>2];h=i;break ta}ua:{m=v[f+20>>2];if(!m){break ua}k=v[f+8>>2]>>>8|0;v[f+8>>2]=k;l=v[f+16>>2];g=w[l|0];j=m-1|0;v[f+20>>2]=j;h=i-8|0;v[f+12>>2]=h;v[f+16>>2]=l+1;g=k|g<<24;v[f+8>>2]=g;if(40-i>>>0>=2){break ta}if(!j){break ua}l=v[f+8>>2]>>>8|0;v[f+8>>2]=l;j=v[f+16>>2];g=w[j|0];v[f+20>>2]=m-2;h=i-16|0;v[f+12>>2]=h;v[f+16>>2]=j+1;g=l|g<<24;v[f+8>>2]=g;break ta}v[f+4>>2]=d;h=2;continue O}v[f+12>>2]=h+2;t[v[f+580>>2]+d|0]=g>>>h&3;d=d+1|0;h=v[f+204>>2];if((d|0)<(h|0)){continue}break}}v[f>>2]=22}h=pq(h<<6,p,ca,f);if((h|0)!=1){continue}v[f+592>>2]=0;v[f+596>>2]=0;v[f+616>>2]=0;v[f+620>>2]=0;v[f+608>>2]=0;v[f+612>>2]=0;v[f+600>>2]=0;v[f+604>>2]=0;m=v[f+204>>2];if(m){s=v[ca>>2];i=0;while(1){A=i<<6;k=A|3;l=A|2;j=A|1;q=w[s+A|0];h=0;g=0;while(1){g=q^w[s+(h+A|0)|0]|g|q^w[s+(h+j|0)|0]|q^w[s+(h+l|0)|0]|q^w[s+(h+k|0)|0];d=h>>>0<60;h=h+4|0;if(d){continue}break}if(!g){d=f+(i>>>3&536870908)|0;v[d+592>>2]=v[d+592>>2]|1<<i}i=i+1|0;if((m|0)!=(i|0)){continue}break}}v[f>>2]=23}k=v[f+244>>2];d=k+16|0;l=v[f+240>>2];j=l+1|0;va:{if(!(w[f+560|0]&32)){d=d+(24<<j)|0;g=d;break va}g=-2147483636;wa:{if(k>>>0>2147483643){break wa}h=(2147483644-k>>>l|0)+4|0;i=E(h>>>1|0);h=((h>>>31-i&1)-(i<<1)|0)+60|0;g=d;if(!h){break wa}g=(k+(-1<<l^-1|h-1<<l)|0)+17|0}d=d+(62<<j)|0}h=pq(v[f+212>>2]<<2,Z,N,f);if((h|0)!=1){continue}if(!(ik(f,r,256,256,v[f+572>>2])&ik(f,J,704,704,v[f+208>>2])&ik(f,D,d,g,v[f+248>>2])&1)){v[f+92>>2]=-22;h=0;break L}v[f>>2]=24;v[f+4>>2]=0;g=0;d=r}if(v[f+624>>2]==1){h=v[f+2412>>2]}else{h=v[d+4>>2];v[f+2412>>2]=0;v[f+2416>>2]=h;v[f+624>>2]=1;h=0}if((h|0)<x[d+12>>1]){h=v[f+2416>>2];while(1){h=ai(x[d+8>>1],x[d+10>>1],h,da+12|0,f);if((h|0)!=1){continue O}g=v[f+2412>>2];v[v[d>>2]+(g<<2)>>2]=v[f+2416>>2];h=v[da+12>>2];g=g+1|0;v[f+2412>>2]=g;h=v[f+2416>>2]+(h<<2)|0;v[f+2416>>2]=h;if((g|0)<x[d+12>>1]){continue}break}g=v[f+4>>2]}v[f+624>>2]=0;h=1;v[f+4>>2]=g+1;if((g|0)<2){continue}v[f>>2]=25}g=v[f+220>>2];d=v[f+576>>2]+(g<<6)|0;v[f+112>>2]=d;v[f+176>>2]=v[(f+(g>>>3&536870908)|0)+592>>2]>>>g&1;v[f+256>>2]=v[v[f+120>>2]+(w[d|0]<<2)>>2];d=w[g+v[f+580>>2]|0];v[f+116>>2]=v[f+252>>2];v[f+108>>2]=((d&3)<<9)+153136;v[f+104>>2]=v[v[f+136>>2]>>2];h=-27;if(!oq(f)){continue}k=x[f+162>>1];l=v[f+240>>2];m=v[f+244>>2];xa:{if(!m){h=16;break xa}g=m&3;ya:{if(m-1>>>0<3){h=16;d=0;break ya}i=m&-4;h=16;d=0;while(1){t[h+ba|0]=0;v[$+(h<<2)>>2]=d|1;j=h|1;t[j+ba|0]=0;v[$+(j<<2)>>2]=d|2;j=h|2;t[j+ba|0]=0;v[$+(j<<2)>>2]=d|3;j=h|3;t[j+ba|0]=0;d=d+4|0;v[$+(j<<2)>>2]=d;h=h+4|0;i=i-4|0;if(i){continue}break}}if(!g){break xa}while(1){t[h+ba|0]=0;d=d+1|0;v[$+(h<<2)>>2]=d;h=h+1|0;g=g-1|0;if(g){continue}break}}g=1;i=0;if(h>>>0<k>>>0){while(1){j=m+((i+2<<g)-4<<l)|0;d=1;while(1){t[h+ba|0]=g;v[$+(h<<2)>>2]=d+j;h=h+1|0;if(!(d>>>l|0)){d=d+1|0;continue}break}g=g+i|0;i=i^1;if(h>>>0<k>>>0){continue}break}}v[f>>2]=7}d=v[f+4>>2];h=v[f+52>>2];j=2;za:{Aa:{Ba:{if(y[f+20>>2]<28){break Ba}jk(f+8|0);j=-31;Ca:{Da:{switch(v[f>>2]-7|0){case 0:g=0;break Ca;case 1:g=1;break Ca;case 2:g=2;break Ca;case 3:break Da;default:break Aa}}g=3}while(1){Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{switch(g|0){case 0:Ka:{La:{k=v[f+20>>2];if(k>>>0<28){break La}i=v[f+196>>2];if(i){break Ka}while(1){s=v[f+208>>2];if(s>>>0>=2){l=v[f+168>>2]+2528|0;i=v[f+8>>2];g=v[f+12>>2];if(g>>>0>=16){g=g^16;v[f+12>>2]=g;j=i>>>16|0;v[f+8>>2]=j;k=v[f+16>>2];i=w[k|0]|w[k+1|0]<<8;v[f+20>>2]=v[f+20>>2]-2;v[f+16>>2]=k+2;i=j|i<<16;v[f+8>>2]=i}m=v[f+172>>2];k=i>>>g|0;l=l+((k&255)<<2)|0;j=w[l|0];if(j>>>0>=9){l=(x[l+2>>1]+(v[(j<<2)+29264>>2]&k>>>8)<<2)+l|0;j=w[l|0];g=g+8|0}A=x[l+2>>1];g=(j&255)+g|0;if(g>>>0>=16){g=g^16;v[f+12>>2]=g;j=i>>>16|0;v[f+8>>2]=j;l=v[f+16>>2];i=w[l|0]|w[l+1|0]<<8;v[f+20>>2]=v[f+20>>2]-2;v[f+16>>2]=l+2;i=j|i<<16;v[f+8>>2]=i}k=i>>>g|0;l=(m+1584|0)+((k&255)<<2)|0;j=w[l|0];if(j>>>0>=9){l=(x[l+2>>1]+(v[(j<<2)+29264>>2]&k>>>8)<<2)+l|0;j=w[l|0];g=g+8|0}g=g+(j&255)|0;j=(x[l+2>>1]<<2)+155184|0;q=x[j>>1];k=f;M=w[j+2|0];Ma:{if(M>>>0<=16){if(g>>>0>=16){g=g^16;v[f+12>>2]=g;j=i>>>16|0;v[f+8>>2]=j;l=v[f+16>>2];i=w[l|0]|w[l+1|0]<<8;v[f+20>>2]=v[f+20>>2]-2;v[f+16>>2]=l+2;i=j|i<<16;v[f+8>>2]=i}v[f+12>>2]=g+M;g=v[(M<<2)+29296>>2]&i>>>g;break Ma}Na:{Oa:{if(g>>>0<=15){j=g+16|0;l=i>>>g&65535;O=v[f+20>>2];g=v[f+16>>2];break Oa}m=g^16;v[f+12>>2]=m;j=i>>>16|0;v[f+8>>2]=j;g=v[f+16>>2];i=w[g|0]|w[g+1|0]<<8;O=v[f+20>>2]-2|0;v[f+20>>2]=O;g=g+2|0;v[f+16>>2]=g;i=j|i<<16;v[f+8>>2]=i;l=i>>>m&65535;j=m+16|0;if(m>>>0>4294967279){break Na}}j=j^16;v[f+12>>2]=j;m=i>>>16|0;v[f+8>>2]=m;i=w[g|0]|w[g+1|0]<<8;v[f+20>>2]=O-2;v[f+16>>2]=g+2;i=m|i<<16;v[f+8>>2]=i}g=M-16|0;v[f+12>>2]=g+j;g=(v[(g<<2)+29296>>2]&i>>>j)<<16|l}v[k+196>>2]=g+q;Pa:{Qa:{switch(A|0){case 1:g=v[f+228>>2]+1|0;break Pa;case 0:g=v[f+224>>2];break Pa;default:break Qa}}g=A-2|0}v[f+224>>2]=v[f+228>>2];g=g-(g>>>0<s>>>0?0:s)|0;v[f+228>>2]=g;v[f+104>>2]=v[v[f+136>>2]+(g<<2)>>2]}k=v[f+20>>2];if(k>>>0<=27){break La}i=v[f+196>>2];if(!i){continue}break}break Ka}v[f>>2]=7;j=2;break Ba}d=v[f+8>>2];l=v[f+104>>2];g=v[f+12>>2];if(g>>>0>=16){g=g^16;v[f+12>>2]=g;j=d>>>16|0;v[f+8>>2]=j;m=v[f+16>>2];d=w[m|0]|w[m+1|0]<<8;k=k-2|0;v[f+20>>2]=k;v[f+16>>2]=m+2;d=j|d<<16;v[f+8>>2]=d}M=f;m=d>>>g|0;l=l+((m&255)<<2)|0;j=w[l|0];if(j>>>0>=9){l=(x[l+2>>1]+(v[(j<<2)+29264>>2]&m>>>8)<<2)+l|0;j=w[l|0];g=g+8|0}j=g+(j&255)|0;v[M+12>>2]=j;A=x[l+2>>1]<<3;g=w[A+155619|0];v[f+180>>2]=g;v[f+268>>2]=t[A+155618|0];t[f+260|0]=w[g+v[f+116>>2]|0];q=A+155620|0;m=A+155622|0;M=w[A+155617|0];l=0;s=w[A+155616|0];Ra:{if(!s){break Ra}if(s>>>0<=16){if(j>>>0>=16){j=j^16;v[f+12>>2]=j;g=d>>>16|0;v[f+8>>2]=g;l=v[f+16>>2];d=w[l|0]|w[l+1|0]<<8;k=k-2|0;v[f+20>>2]=k;v[f+16>>2]=l+2;d=g|d<<16;v[f+8>>2]=d}l=v[(s<<2)+29296>>2]&d>>>j;j=j+s|0;break Ra}Sa:{Ta:{if(j>>>0<=15){L=j+16|0;l=d>>>j&65535;j=v[f+16>>2];break Ta}A=j^16;v[f+12>>2]=A;g=d>>>16|0;v[f+8>>2]=g;j=v[f+16>>2];d=w[j|0]|w[j+1|0]<<8;k=k-2|0;v[f+20>>2]=k;j=j+2|0;v[f+16>>2]=j;d=g|d<<16;v[f+8>>2]=d;l=d>>>A&65535;L=A+16|0;if(A>>>0>4294967279){break Sa}}L=L^16;v[f+12>>2]=L;g=d>>>16|0;v[f+8>>2]=g;d=w[j|0]|w[j+1|0]<<8;k=k-2|0;v[f+20>>2]=k;v[f+16>>2]=j+2;d=g|d<<16;v[f+8>>2]=d}g=s-16|0;l=(v[(g<<2)+29296>>2]&d>>>L)<<16|l;j=g+L|0}A=x[q>>1];q=x[m>>1];Ua:{if(M>>>0<=16){if(j>>>0>=16){j=j^16;v[f+12>>2]=j;g=d>>>16|0;v[f+8>>2]=g;m=v[f+16>>2];d=w[m|0]|w[m+1|0]<<8;v[f+20>>2]=k-2;v[f+16>>2]=m+2;d=g|d<<16;v[f+8>>2]=d}v[f+12>>2]=j+M;d=v[(M<<2)+29296>>2]&d>>>j;break Ua}Va:{Wa:{if(j>>>0<=15){g=j+16|0;L=d>>>j&65535;j=v[f+16>>2];break Wa}m=j^16;v[f+12>>2]=m;g=d>>>16|0;v[f+8>>2]=g;j=v[f+16>>2];d=w[j|0]|w[j+1|0]<<8;k=k-2|0;v[f+20>>2]=k;j=j+2|0;v[f+16>>2]=j;d=g|d<<16;v[f+8>>2]=d;L=d>>>m&65535;g=m+16|0;if(m>>>0>4294967279){break Va}}g=g^16;v[f+12>>2]=g;m=d>>>16|0;v[f+8>>2]=m;d=w[j|0]|w[j+1|0]<<8;v[f+20>>2]=k-2;v[f+16>>2]=j+2;d=m|d<<16;v[f+8>>2]=d}j=M-16|0;v[f+12>>2]=j+g;d=(v[(j<<2)+29296>>2]&d>>>g)<<16|L}v[f+196>>2]=i-1;v[f+264>>2]=d+q;d=l+A|0;if(!d){break Ia}v[f+184>>2]=v[f+184>>2]-d;g=1;continue;case 2:break Ga;case 1:break Ja;default:break Ha}}k=v[f+176>>2];Xa:while(1){Ya:{Za:{if(k){j=v[f+8>>2];l=v[f+256>>2];k=v[f+12>>2];if(k>>>0>=16){k=k^16;v[f+12>>2]=k;i=j>>>16|0;v[f+8>>2]=i;j=v[f+16>>2];g=w[j|0]|w[j+1|0]<<8;v[f+20>>2]=v[f+20>>2]-2;v[f+16>>2]=j+2;j=i|g<<16;v[f+8>>2]=j}g=l+((j>>>k&255)<<2)|0;i=x[g+2>>1];j=w[g|0];while(1){if(y[f+20>>2]<=27){v[f>>2]=8;j=2;break Ba}_a:{if(v[f+192>>2]){l=v[f+12>>2];L=v[f+256>>2];break _a}mq(f);j=v[f+8>>2];l=v[f+12>>2];if(l>>>0>=16){l=l^16;v[f+12>>2]=l;i=j>>>16|0;v[f+8>>2]=i;j=v[f+16>>2];g=w[j|0]|w[j+1|0]<<8;v[f+20>>2]=v[f+20>>2]-2;v[f+16>>2]=j+2;j=i|g<<16;v[f+8>>2]=j}if(!v[f+176>>2]){break Ya}L=v[f+256>>2];g=L+((j>>>l&255)<<2)|0;i=x[g+2>>1];j=w[g|0]}m=j&255;$a:{if(m>>>0>=9){k=v[f+8>>2];if(l>>>0>=16){l=l^16;v[f+12>>2]=l;j=k>>>16|0;v[f+8>>2]=j;k=v[f+16>>2];g=w[k|0]|w[k+1|0]<<8;v[f+20>>2]=v[f+20>>2]-2;v[f+16>>2]=k+2;k=j|g<<16;v[f+8>>2]=k}g=k>>>l|0;g=((((g&255)<<2)+L|0)+((i&65535)<<2)|0)+((v[(m<<2)+29264>>2]&g>>>8)<<2)|0;j=(w[g|0]+l|0)+8|0;v[f+12>>2]=j;i=w[g+2|0];break $a}j=l+m|0;v[f+12>>2]=j;k=v[f+8>>2]}g=i;if(j>>>0>=16){j=j^16;v[f+12>>2]=j;l=k>>>16|0;v[f+8>>2]=l;k=v[f+16>>2];i=w[k|0]|w[k+1|0]<<8;v[f+20>>2]=v[f+20>>2]-2;v[f+16>>2]=k+2;k=l|i<<16;v[f+8>>2]=k}j=((k>>>j&255)<<2)+L|0;i=x[j+2>>1];j=w[j|0];t[v[f+96>>2]+h|0]=g;v[f+192>>2]=v[f+192>>2]-1;h=h+1|0;if((h|0)==v[f+64>>2]){v[f>>2]=13;d=d-1|0;j=1;break Ba}d=d-1|0;if(d){continue}break}break Za}g=v[f+96>>2];i=v[f+68>>2];j=w[g+(i&h-2)|0];i=w[g+(i&h-1)|0];while(1){if(y[f+20>>2]<=27){v[f>>2]=8;j=2;break Ba}if(!v[f+192>>2]){mq(f);k=v[f+176>>2];if(k){continue Xa}}g=v[f+108>>2];m=v[v[f+120>>2]+(w[v[f+112>>2]+(w[(g+(j&255)|0)+256|0]|w[g+(i&255)|0])|0]<<2)>>2];k=v[f+8>>2];j=v[f+12>>2];if(j>>>0>=16){j=j^16;v[f+12>>2]=j;l=k>>>16|0;v[f+8>>2]=l;k=v[f+16>>2];g=w[k|0]|w[k+1|0]<<8;v[f+20>>2]=v[f+20>>2]-2;v[f+16>>2]=k+2;k=l|g<<16;v[f+8>>2]=k}M=f;g=k>>>j|0;k=m+((g&255)<<2)|0;l=w[k|0];if(l>>>0>=9){k=(x[k+2>>1]+(v[(l<<2)+29264>>2]&g>>>8)<<2)+k|0;l=w[k|0];j=j+8|0}v[M+12>>2]=j+(l&255);g=x[k+2>>1];t[v[f+96>>2]+h|0]=g;v[f+192>>2]=v[f+192>>2]-1;h=h+1|0;if((h|0)==v[f+64>>2]){v[f>>2]=13;d=d-1|0;j=1;break Ba}j=i;i=g;d=d-1|0;if(d){continue}break}}d=0;if(v[f+184>>2]>0){break Ia}v[f>>2]=14;j=1;break Ba}k=0;continue}}g=2;continue}j=v[f+64>>2]-h|0;ab:{bb:{while(1){g=d-1|0;if((d|0)<1){break bb}d=v[f+96>>2];t[d+h|0]=w[d+(v[f+68>>2]&h-v[f+268>>2])|0];h=h+1|0;d=g;j=j-1|0;if(j){continue}break}v[f>>2]=16;break ab}if(v[f+184>>2]>0){d=g;break Fa}v[f>>2]=14}j=1;d=g;break Ba}d=v[f+268>>2];cb:{if((d|0)>=0){l=!d;v[f+180>>2]=l;d=v[f+72>>2]-1|0;v[f+72>>2]=d;g=v[(f+((d&3)<<2)|0)+76>>2];v[f+268>>2]=g;break cb}if(!v[f+200>>2]){s=v[f+212>>2];if(s>>>0>=2){j=v[f+168>>2]+5056|0;g=v[f+8>>2];d=v[f+12>>2];if(d>>>0>=16){d=d^16;v[f+12>>2]=d;i=g>>>16|0;v[f+8>>2]=i;l=v[f+16>>2];g=w[l|0]|w[l+1|0]<<8;v[f+20>>2]=v[f+20>>2]-2;v[f+16>>2]=l+2;g=i|g<<16;v[f+8>>2]=g}k=v[f+172>>2];l=g>>>d|0;j=j+((l&255)<<2)|0;i=w[j|0];if(i>>>0>=9){j=(x[j+2>>1]+(v[(i<<2)+29264>>2]&l>>>8)<<2)+j|0;i=w[j|0];d=d+8|0}q=x[j+2>>1];d=(i&255)+d|0;if(d>>>0>=16){d=d^16;v[f+12>>2]=d;i=g>>>16|0;v[f+8>>2]=i;j=v[f+16>>2];g=w[j|0]|w[j+1|0]<<8;v[f+20>>2]=v[f+20>>2]-2;v[f+16>>2]=j+2;g=i|g<<16;v[f+8>>2]=g}l=g>>>d|0;j=(k+3168|0)+((l&255)<<2)|0;i=w[j|0];if(i>>>0>=9){j=(x[j+2>>1]+(v[(i<<2)+29264>>2]&l>>>8)<<2)+j|0;i=w[j|0];d=d+8|0}d=d+(i&255)|0;i=(x[j+2>>1]<<2)+155184|0;m=x[i>>1];j=f;M=w[i+2|0];db:{if(M>>>0<=16){if(d>>>0>=16){d=d^16;v[f+12>>2]=d;i=g>>>16|0;v[f+8>>2]=i;l=v[f+16>>2];g=w[l|0]|w[l+1|0]<<8;v[f+20>>2]=v[f+20>>2]-2;v[f+16>>2]=l+2;g=i|g<<16;v[f+8>>2]=g}v[f+12>>2]=d+M;d=v[(M<<2)+29296>>2]&g>>>d;break db}eb:{fb:{if(d>>>0<=15){i=d+16|0;A=g>>>d&65535;l=v[f+20>>2];d=v[f+16>>2];break fb}k=d^16;v[f+12>>2]=k;i=g>>>16|0;v[f+8>>2]=i;d=v[f+16>>2];g=w[d|0]|w[d+1|0]<<8;l=v[f+20>>2]-2|0;v[f+20>>2]=l;d=d+2|0;v[f+16>>2]=d;g=i|g<<16;v[f+8>>2]=g;A=g>>>k&65535;i=k+16|0;if(k>>>0>4294967279){break eb}}i=i^16;v[f+12>>2]=i;k=g>>>16|0;v[f+8>>2]=k;g=w[d|0]|w[d+1|0]<<8;v[f+20>>2]=l-2;v[f+16>>2]=d+2;g=k|g<<16;v[f+8>>2]=g}d=M-16|0;v[f+12>>2]=d+i;d=(v[(d<<2)+29296>>2]&g>>>i)<<16|A}v[j+200>>2]=d+m;gb:{hb:{switch(q|0){case 1:d=v[f+236>>2]+1|0;break gb;case 0:d=v[f+232>>2];break gb;default:break hb}}d=q-2|0}v[f+232>>2]=v[f+236>>2];d=d-(d>>>0<s>>>0?0:s)|0;v[f+236>>2]=d;d=v[f+252>>2]+(d<<2)|0;v[f+116>>2]=d;t[f+260|0]=w[d+v[f+180>>2]|0]}}g=v[f+8>>2];m=v[v[f+152>>2]+(w[f+260|0]<<2)>>2];d=v[f+12>>2];if(d>>>0>=16){d=d^16;v[f+12>>2]=d;i=g>>>16|0;v[f+8>>2]=i;j=v[f+16>>2];g=w[j|0]|w[j+1|0]<<8;v[f+20>>2]=v[f+20>>2]-2;v[f+16>>2]=j+2;g=i|g<<16;v[f+8>>2]=g}M=f;k=g>>>d|0;i=k&255;j=m+(i<<2)|0;l=w[j|0];if(l>>>0>=9){j=(x[(m+(i<<2)|0)+2>>1]+(v[(l<<2)+29264>>2]&k>>>8)<<2)+j|0;l=w[j|0];d=d+8|0}l=d+(l&255)|0;v[M+12>>2]=l;A=x[j+2>>1];v[f+180>>2]=0;v[f+200>>2]=v[f+200>>2]-1;d=f;ib:{if(A>>>0<=15){v[f+268>>2]=A;if(A>>>0<=3){l=1>>>A|0;v[f+180>>2]=l;d=v[f+72>>2];g=v[(f+((d+(A^-1)&3)<<2)|0)+76>>2];v[f+268>>2]=g;v[f+72>>2]=d-l;break cb}g=A>>>0<10;g=((6312258>>>(A+(g?-4:-10)<<2)&15)+v[(f+((v[f+72>>2]+(g?3:2)&3)<<2)|0)+76>>2]|0)-3|0;g=(g|0)<1?2147483647:g;break ib}q=w[A+(f+624|0)|0];jb:{if(q>>>0<=16){if(l>>>0>=16){l=l^16;v[f+12>>2]=l;i=g>>>16|0;v[f+8>>2]=i;j=v[f+16>>2];g=w[j|0]|w[j+1|0]<<8;v[f+20>>2]=v[f+20>>2]-2;v[f+16>>2]=j+2;g=i|g<<16;v[f+8>>2]=g}v[f+12>>2]=l+q;g=v[(q<<2)+29296>>2]&g>>>l;break jb}kb:{lb:{if(l>>>0<=15){k=l+16|0;i=g>>>l&65535;L=v[f+20>>2];l=v[f+16>>2];break lb}m=l^16;v[f+12>>2]=m;i=g>>>16|0;v[f+8>>2]=i;j=v[f+16>>2];g=w[j|0]|w[j+1|0]<<8;L=v[f+20>>2]-2|0;v[f+20>>2]=L;l=j+2|0;v[f+16>>2]=l;g=i|g<<16;v[f+8>>2]=g;i=g>>>m&65535;k=m+16|0;if(m>>>0>4294967279){break kb}}k=k^16;v[f+12>>2]=k;j=g>>>16|0;v[f+8>>2]=j;g=w[l|0]|w[l+1|0]<<8;v[f+20>>2]=L-2;v[f+16>>2]=l+2;g=j|g<<16;v[f+8>>2]=g}j=q-16|0;v[f+12>>2]=j+k;g=(v[(j<<2)+29296>>2]&g>>>k)<<16|i}g=v[(f+(A<<2)|0)+1168>>2]+(g<<v[f+240>>2])|0}v[d+268>>2]=g;l=0}j=v[f+60>>2];d=v[f+56>>2];if((j|0)!=(d|0)){j=(d|0)>(h|0)?h:d;v[f+60>>2]=j}d=v[f+264>>2];mb:{if((g|0)>(j|0)){i=-16;if((g|0)>2147483644){break za}i=-12;if(d-4>>>0>20){break za}m=v[f+584>>2];k=v[(m+(d<<2)|0)+32>>2];q=w[d+m|0];v[f+72>>2]=v[f+72>>2]+l;l=v[m+164>>2];i=-19;if(!l){break za}g=(j^-1)+g|0;j=g>>q;m=v[f+588>>2];i=-11;if((j|0)>=v[m+12>>2]){break za}i=l+(k+B(g&v[(q<<2)+29296>>2],d)|0)|0;g=v[f+96>>2]+h|0;nb:{if((j|0)==u[m+24>>1]){Ta(g,i,d);g=d;break nb}g=rq(g,i,d,m,j)}v[f+184>>2]=v[f+184>>2]-g;h=g+h|0;if((h|0)<v[f+64>>2]){g=h;break mb}v[f>>2]=15;j=1;break Ba}k=v[f+96>>2];j=v[f+68>>2];i=v[f+72>>2];v[(f+((i&3)<<2)|0)+76>>2]=g;v[f+72>>2]=i+1;v[f+184>>2]=v[f+184>>2]-d;l=j&h-g;q=l+k|0;i=w[q|0]|w[q+1|0]<<8|(w[q+2|0]<<16|w[q+3|0]<<24);g=w[q+4|0]|w[q+5|0]<<8|(w[q+6|0]<<16|w[q+7|0]<<24);m=h+k|0;k=w[q+12|0]|w[q+13|0]<<8|(w[q+14|0]<<16|w[q+15|0]<<24);j=w[q+8|0]|w[q+9|0]<<8|(w[q+10|0]<<16|w[q+11|0]<<24);t[m+8|0]=j;t[m+9|0]=j>>>8;t[m+10|0]=j>>>16;t[m+11|0]=j>>>24;t[m+12|0]=k;t[m+13|0]=k>>>8;t[m+14|0]=k>>>16;t[m+15|0]=k>>>24;t[m|0]=i;t[m+1|0]=i>>>8;t[m+2|0]=i>>>16;t[m+3|0]=i>>>24;t[m+4|0]=g;t[m+5|0]=g>>>8;t[m+6|0]=g>>>16;t[m+7|0]=g>>>24;j=d+l|0;g=d+h|0;if((l|0)<(g|0)?(j|0)>(h|0):0){break Ea}i=v[f+64>>2];if((i|0)<=(g|0)|(i|0)<=(j|0)){break Ea}if((d|0)<17){break mb}j=q+16|0;k=m+16|0;if((d|0)>=33){Ta(k,j,d-16|0);break mb}i=w[j|0]|w[j+1|0]<<8|(w[j+2|0]<<16|w[j+3|0]<<24);h=w[j+4|0]|w[j+5|0]<<8|(w[j+6|0]<<16|w[j+7|0]<<24);l=w[j+12|0]|w[j+13|0]<<8|(w[j+14|0]<<16|w[j+15|0]<<24);j=w[j+8|0]|w[j+9|0]<<8|(w[j+10|0]<<16|w[j+11|0]<<24);t[k+8|0]=j;t[k+9|0]=j>>>8;t[k+10|0]=j>>>16;t[k+11|0]=j>>>24;t[k+12|0]=l;t[k+13|0]=l>>>8;t[k+14|0]=l>>>16;t[k+15|0]=l>>>24;t[k|0]=i;t[k+1|0]=i>>>8;t[k+2|0]=i>>>16;t[k+3|0]=i>>>24;t[k+4|0]=h;t[k+5|0]=h>>>8;t[k+6|0]=h>>>16;t[k+7|0]=h>>>24}if(v[f+184>>2]>0){h=g;break Fa}v[f>>2]=14;j=1;h=g;break Ba}g=0;continue}g=3;continue}}v[f+4>>2]=d;v[f+52>>2]=h}i=j}h=i;if((h|0)!=2){continue}W=Ca-16|0;Ca=W;I=f+8|0;j=v[f+4>>2];l=v[f+52>>2];g=-31;ob:{pb:{qb:{switch(v[f>>2]-7|0){case 0:h=0;break pb;case 1:h=2;break pb;case 2:h=1;break pb;case 3:break qb;default:break ob}}h=3}while(1){rb:{m=f;sb:{tb:{ub:{vb:{wb:{xb:{yb:{zb:{Ab:{Bb:{Cb:{switch(h|0){case 0:v[f>>2]=7;if(v[f+196>>2]){break wb}while(1){O=Ca-16|0;Ca=O;Db:{Eb:{M=v[f+208>>2];Fb:{if(M>>>0<2){break Fb}m=v[f+172>>2];q=v[f+168>>2]+2528|0;S=v[f+20>>2];R=v[f+16>>2];U=f+8|0;s=v[U>>2];d=s;Gb:{Hb:{Q=v[f+12>>2];h=Q;if(32-h>>>0>14){break Hb}Ib:{if(!S){break Ib}i=s>>>8|0;v[f+8>>2]=i;d=w[R|0];g=S-1|0;v[f+20>>2]=g;h=Q-8|0;v[f+12>>2]=h;v[f+16>>2]=R+1;d=i|d<<24;v[f+8>>2]=d;if(40-Q>>>0>=15){break Hb}if(!g){break Ib}i=d>>>8|0;v[f+8>>2]=i;d=w[R+1|0];g=S-2|0;v[f+20>>2]=g;h=Q-16|0;v[f+12>>2]=h;v[f+16>>2]=R+2;d=i|d<<24;v[f+8>>2]=d;if(48-Q>>>0>14){break Hb}if(!g){break Ib}g=d>>>8|0;v[f+8>>2]=g;d=w[R+2|0];v[f+20>>2]=S-3;h=Q-24|0;v[f+12>>2]=h;v[f+16>>2]=R+3;d=g|d<<24;v[f+8>>2]=d;break Hb}if(!Id(q,U,O+8|0)){break Fb}break Gb}g=f;k=d>>>h|0;d=q+((k&255)<<2)|0;i=w[d|0];if(i>>>0>=9){h=h+8|0;d=(x[d+2>>1]+(v[(i<<2)+29264>>2]&k>>>8&127)<<2)+d|0;i=w[d|0]}v[g+12>>2]=(i&255)+h;v[O+8>>2]=x[d+2>>1]}Jb:{Kb:{Lb:{Mb:{Nb:{if(!v[f+556>>2]){q=m+1584|0;d=v[f+12>>2];if(32-d>>>0>=15){k=v[U>>2];h=d;break Lb}A=v[f+20>>2];if(!A){break Mb}m=v[f+8>>2]>>>8|0;v[f+8>>2]=m;k=v[f+16>>2];i=w[k|0];g=A-1|0;v[f+20>>2]=g;h=d-8|0;v[f+12>>2]=h;v[f+16>>2]=k+1;k=m|i<<24;v[f+8>>2]=k;if(40-d>>>0<15){break Nb}break Lb}i=v[f+188>>2];break Kb}if(!g){break Mb}m=v[f+8>>2]>>>8|0;v[f+8>>2]=m;k=v[f+16>>2];i=w[k|0];g=A-2|0;v[f+20>>2]=g;h=d-16|0;v[f+12>>2]=h;v[f+16>>2]=k+1;k=m|i<<24;v[f+8>>2]=k;if(48-d>>>0>14){break Lb}if(!g){break Mb}k=v[f+8>>2]>>>8|0;v[f+8>>2]=k;i=v[f+16>>2];g=w[i|0];v[f+20>>2]=A-3;h=d-24|0;v[f+12>>2]=h;v[f+16>>2]=i+1;k=k|g<<24;v[f+8>>2]=k;break Lb}if(!Id(q,U,O+12|0)){break Jb}i=v[O+12>>2];break Kb}g=f;k=k>>>h|0;d=q+((k&255)<<2)|0;i=w[d|0];if(i>>>0>=9){h=h+8|0;d=(x[d+2>>1]+(v[(i<<2)+29264>>2]&k>>>8&127)<<2)+d|0;i=w[d|0]}v[g+12>>2]=(i&255)+h;i=x[d+2>>1]}A=(i<<2)+155184|0;L=w[A+2|0];g=v[f+12>>2];if(L>>>0<=32-g>>>0){k=v[U>>2];break Eb}h=v[f+20>>2];d=g;while(1){if(h){q=v[f+8>>2]>>>8|0;v[f+8>>2]=q;m=v[f+16>>2];k=w[m|0];h=h-1|0;v[f+20>>2]=h;g=d-8|0;v[f+12>>2]=g;v[f+16>>2]=m+1;k=q|k<<24;v[f+8>>2]=k;m=40-d|0;d=g;if(m>>>0<L>>>0){continue}break Eb}break}v[f+188>>2]=i}v[f+20>>2]=S;v[f+16>>2]=R;v[f+8>>2]=s;v[f+556>>2]=0;v[f+12>>2]=Q}d=0;break Db}v[f+556>>2]=0;v[f+12>>2]=g+L;v[f+196>>2]=x[A>>1]+(v[(L<<2)+29296>>2]&k>>>g);Ob:{Pb:{Qb:{Rb:{d=v[O+8>>2];switch(d|0){case 1:break Pb;case 0:break Rb;default:break Qb}}d=v[f+224>>2];break Ob}d=d-2|0;break Ob}d=v[f+228>>2]+1|0}v[f+224>>2]=v[f+228>>2];d=d-(d>>>0<M>>>0?0:M)|0;v[f+228>>2]=d;v[f+104>>2]=v[v[f+136>>2]+(d<<2)>>2];d=1}Ca=O+16|0;if(d){v[f>>2]=7;if(!v[f+196>>2]){continue}break wb}break};g=2;break rb;case 1:v[f>>2]=9;d=v[f+268>>2];if((d|0)<0){break Bb}v[f+180>>2]=!d;d=v[f+72>>2]-1|0;v[f+72>>2]=d;h=v[(f+((d&3)<<2)|0)+76>>2];break Ab;case 2:g=v[f+176>>2];Sb:{Tb:while(1){Ub:{v[f>>2]=8;if(g){g=v[f+192>>2];while(1){Vb:{if(g){break Vb}if(!lq(f)){g=2;break rb}if(v[f+176>>2]){break Vb}g=0;continue Tb}q=v[f+256>>2];Wb:{Xb:{d=v[f+12>>2];if(32-d>>>0>=15){k=v[I>>2];g=d;break Xb}Yb:{A=v[f+20>>2];if(!A){break Yb}m=v[f+8>>2]>>>8|0;v[f+8>>2]=m;k=v[f+16>>2];i=w[k|0];h=A-1|0;v[f+20>>2]=h;g=d-8|0;v[f+12>>2]=g;v[f+16>>2]=k+1;k=m|i<<24;v[f+8>>2]=k;if(40-d>>>0>=15){break Xb}if(!h){break Yb}m=v[f+8>>2]>>>8|0;v[f+8>>2]=m;k=v[f+16>>2];i=w[k|0];h=A-2|0;v[f+20>>2]=h;g=d-16|0;v[f+12>>2]=g;v[f+16>>2]=k+1;k=m|i<<24;v[f+8>>2]=k;if(48-d>>>0>14){break Xb}if(!h){break Yb}k=v[f+8>>2]>>>8|0;v[f+8>>2]=k;i=v[f+16>>2];h=w[i|0];v[f+20>>2]=A-3;g=d-24|0;v[f+12>>2]=g;v[f+16>>2]=i+1;k=k|h<<24;v[f+8>>2]=k;break Xb}if(!Id(q,I,W+12|0)){break Sb}d=v[W+12>>2];break Wb}m=f;h=k>>>g|0;d=q+((h&255)<<2)|0;i=w[d|0];if(i>>>0>=9){d=(x[d+2>>1]+(v[(i<<2)+29264>>2]&h>>>8&127)<<2)+d|0;i=w[d|0];g=g+8|0}v[m+12>>2]=g+(i&255);d=x[d+2>>1]}t[v[f+96>>2]+l|0]=d;g=v[f+192>>2]-1|0;v[f+192>>2]=g;l=l+1|0;if((l|0)==v[f+64>>2]){v[f>>2]=13;j=j-1|0;g=1;break rb}j=j-1|0;if(j){continue}break}break Ub}d=v[f+96>>2];g=v[f+68>>2];k=w[d+(g&l-2)|0];d=w[d+(g&l-1)|0];i=v[f+192>>2];while(1){if(!i){if(!lq(f)){g=2;break rb}g=v[f+176>>2];if(g){continue Tb}}g=v[f+108>>2];A=v[v[f+120>>2]+(w[v[f+112>>2]+(w[(g+(k&255)|0)+256|0]|w[g+(d&255)|0])|0]<<2)>>2];Zb:{_b:{h=v[f+12>>2];if(32-h>>>0>=15){i=v[I>>2];g=h;break _b}$b:{s=v[f+20>>2];if(!s){break $b}q=v[f+8>>2]>>>8|0;v[f+8>>2]=q;m=v[f+16>>2];i=w[m|0];k=s-1|0;v[f+20>>2]=k;g=h-8|0;v[f+12>>2]=g;v[f+16>>2]=m+1;i=q|i<<24;v[f+8>>2]=i;if(40-h>>>0>=15){break _b}if(!k){break $b}q=v[f+8>>2]>>>8|0;v[f+8>>2]=q;m=v[f+16>>2];i=w[m|0];k=s-2|0;v[f+20>>2]=k;g=h-16|0;v[f+12>>2]=g;v[f+16>>2]=m+1;i=q|i<<24;v[f+8>>2]=i;if(48-h>>>0>14){break _b}if(!k){break $b}m=v[f+8>>2]>>>8|0;v[f+8>>2]=m;k=v[f+16>>2];i=w[k|0];v[f+20>>2]=s-3;g=h-24|0;v[f+12>>2]=g;v[f+16>>2]=k+1;i=m|i<<24;v[f+8>>2]=i;break _b}if(!Id(A,I,W+12|0)){break Sb}g=v[W+12>>2];break Zb}m=f;h=i>>>g|0;i=A+((h&255)<<2)|0;k=w[i|0];if(k>>>0>=9){i=(x[i+2>>1]+(v[(k<<2)+29264>>2]&h>>>8&127)<<2)+i|0;k=w[i|0];g=g+8|0}v[m+12>>2]=g+(k&255);g=x[i+2>>1]}t[v[f+96>>2]+l|0]=g;i=v[f+192>>2]-1|0;v[f+192>>2]=i;l=l+1|0;if((l|0)==v[f+64>>2]){v[f>>2]=13;j=j-1|0;g=1;break rb}k=d;d=g;j=j-1|0;if(j){continue}break}}break}if(v[f+184>>2]>0){break vb}v[f>>2]=14;g=1;j=0;break rb}g=2;break rb;default:break Cb}}g=v[f+64>>2]-l|0;ac:{bc:{while(1){d=j-1|0;if((j|0)<1){break bc}h=v[f+96>>2];t[h+l|0]=w[h+(v[f+68>>2]&l-v[f+268>>2])|0];l=l+1|0;j=d;g=g-1|0;if(g){continue}break}v[f>>2]=16;break ac}if(v[f+184>>2]>0){j=d;break yb}v[f>>2]=14}g=1;j=d;break rb}cc:{if(v[f+200>>2]){break cc}R=Ca-16|0;Ca=R;dc:{ec:{L=v[f+212>>2];fc:{if(L>>>0<2){break fc}q=v[f+172>>2];A=v[f+168>>2]+5056|0;Q=v[f+20>>2];V=v[f+16>>2];S=f+8|0;M=v[S>>2];d=M;gc:{hc:{O=v[f+12>>2];h=O;if(32-h>>>0>14){break hc}ic:{if(!Q){break ic}i=M>>>8|0;v[f+8>>2]=i;d=w[V|0];g=Q-1|0;v[f+20>>2]=g;h=O-8|0;v[f+12>>2]=h;v[f+16>>2]=V+1;d=i|d<<24;v[f+8>>2]=d;if(40-O>>>0>=15){break hc}if(!g){break ic}i=d>>>8|0;v[f+8>>2]=i;d=w[V+1|0];g=Q-2|0;v[f+20>>2]=g;h=O-16|0;v[f+12>>2]=h;v[f+16>>2]=V+2;d=i|d<<24;v[f+8>>2]=d;if(48-O>>>0>14){break hc}if(!g){break ic}g=d>>>8|0;v[f+8>>2]=g;d=w[V+2|0];v[f+20>>2]=Q-3;h=O-24|0;v[f+12>>2]=h;v[f+16>>2]=V+3;d=g|d<<24;v[f+8>>2]=d;break hc}if(!Id(A,S,R+8|0)){break fc}break gc}g=f;k=d>>>h|0;d=A+((k&255)<<2)|0;i=w[d|0];if(i>>>0>=9){h=h+8|0;d=(x[d+2>>1]+(v[(i<<2)+29264>>2]&k>>>8&127)<<2)+d|0;i=w[d|0]}v[g+12>>2]=(i&255)+h;v[R+8>>2]=x[d+2>>1]}jc:{kc:{lc:{mc:{nc:{if(!v[f+556>>2]){A=q+3168|0;d=v[f+12>>2];if(32-d>>>0>=15){k=v[S>>2];h=d;break lc}s=v[f+20>>2];if(!s){break mc}q=v[f+8>>2]>>>8|0;v[f+8>>2]=q;k=v[f+16>>2];i=w[k|0];g=s-1|0;v[f+20>>2]=g;h=d-8|0;v[f+12>>2]=h;v[f+16>>2]=k+1;k=q|i<<24;v[f+8>>2]=k;if(40-d>>>0<15){break nc}break lc}i=v[f+188>>2];break kc}if(!g){break mc}q=v[f+8>>2]>>>8|0;v[f+8>>2]=q;k=v[f+16>>2];i=w[k|0];g=s-2|0;v[f+20>>2]=g;h=d-16|0;v[f+12>>2]=h;v[f+16>>2]=k+1;k=q|i<<24;v[f+8>>2]=k;if(48-d>>>0>14){break lc}if(!g){break mc}k=v[f+8>>2]>>>8|0;v[f+8>>2]=k;i=v[f+16>>2];g=w[i|0];v[f+20>>2]=s-3;h=d-24|0;v[f+12>>2]=h;v[f+16>>2]=i+1;k=k|g<<24;v[f+8>>2]=k;break lc}if(!Id(A,S,R+12|0)){break jc}i=v[R+12>>2];break kc}g=f;k=k>>>h|0;d=A+((k&255)<<2)|0;i=w[d|0];if(i>>>0>=9){h=h+8|0;d=(x[d+2>>1]+(v[(i<<2)+29264>>2]&k>>>8&127)<<2)+d|0;i=w[d|0]}v[g+12>>2]=(i&255)+h;i=x[d+2>>1]}s=(i<<2)+155184|0;U=w[s+2|0];g=v[f+12>>2];if(U>>>0<=32-g>>>0){k=v[S>>2];break ec}h=v[f+20>>2];d=g;while(1){if(h){A=v[f+8>>2]>>>8|0;v[f+8>>2]=A;q=v[f+16>>2];k=w[q|0];h=h-1|0;v[f+20>>2]=h;g=d-8|0;v[f+12>>2]=g;v[f+16>>2]=q+1;k=A|k<<24;v[f+8>>2]=k;q=40-d|0;d=g;if(q>>>0<U>>>0){continue}break ec}break}v[f+188>>2]=i}v[f+20>>2]=Q;v[f+16>>2]=V;v[f+8>>2]=M;v[f+556>>2]=0;v[f+12>>2]=O}d=0;break dc}v[f+556>>2]=0;v[f+12>>2]=g+U;v[f+200>>2]=x[s>>1]+(v[(U<<2)+29296>>2]&k>>>g);oc:{pc:{qc:{rc:{d=v[R+8>>2];switch(d|0){case 1:break pc;case 0:break rc;default:break qc}}d=v[f+232>>2];break oc}d=d-2|0;break oc}d=v[f+236>>2]+1|0}v[f+232>>2]=v[f+236>>2];d=d-(d>>>0<L>>>0?0:L)|0;v[f+236>>2]=d;d=v[f+252>>2]+(d<<2)|0;v[f+116>>2]=d;t[f+260|0]=w[d+v[f+180>>2]|0];d=1}Ca=R+16|0;if(d){break cc}g=2;break rb}S=v[f+20>>2];_=v[f+16>>2];q=v[v[f+152>>2]+(w[f+260|0]<<2)>>2];M=v[f+8>>2];d=M;sc:{tc:{uc:{O=v[f+12>>2];h=O;vc:{wc:{xc:{if(32-h>>>0>14){break xc}yc:{zc:{if(!S){break zc}i=M>>>8|0;v[f+8>>2]=i;d=w[_|0];g=S-1|0;v[f+20>>2]=g;h=O-8|0;v[f+12>>2]=h;v[f+16>>2]=_+1;d=i|d<<24;v[f+8>>2]=d;if(40-O>>>0>=15){break xc}if(!g){break zc}i=d>>>8|0;v[f+8>>2]=i;d=w[_+1|0];g=S-2|0;v[f+20>>2]=g;h=O-16|0;v[f+12>>2]=h;v[f+16>>2]=_+2;d=i|d<<24;v[f+8>>2]=d;if(48-O>>>0>14){break xc}if(g){break yc}}if(!Id(q,I,W+12|0)){break vc}d=v[W+12>>2];break wc}g=d>>>8|0;v[f+8>>2]=g;d=w[_+2|0];v[f+20>>2]=S-3;h=O-24|0;v[f+12>>2]=h;v[f+16>>2]=_+3;d=g|d<<24;v[f+8>>2]=d}s=f;k=d>>>h|0;g=k&255;d=q+(g<<2)|0;i=w[d|0];if(i>>>0>=9){d=(x[(q+(g<<2)|0)+2>>1]+(v[(i<<2)+29264>>2]&k>>>8&127)<<2)+d|0;i=w[d|0];h=h+8|0}v[s+12>>2]=h+(i&255);d=x[d+2>>1]}g=0;v[f+180>>2]=0;k=v[f+200>>2]-1|0;v[f+200>>2]=k;q=d;if(d>>>0<=15){v[f+268>>2]=q;if((q|0)>3){break sc}g=1>>>q|0;v[f+180>>2]=g;d=v[f+72>>2];h=v[(f+((d+(q^-1)&3)<<2)|0)+76>>2];v[f+268>>2]=h;v[f+72>>2]=d-g;break zb}L=w[q+(f+624|0)|0];if(!L){break tc}Ac:{if(L>>>0<=24){i=v[f+12>>2];Bc:{if(L>>>0<=32-i>>>0){A=v[I>>2];break Bc}g=v[f+20>>2];d=i;while(1){if(!g){break Ac}s=v[f+8>>2]>>>8|0;v[f+8>>2]=s;A=v[f+16>>2];h=w[A|0];g=g-1|0;v[f+20>>2]=g;i=d-8|0;v[f+12>>2]=i;v[f+16>>2]=A+1;A=s|h<<24;v[f+8>>2]=A;h=40-d|0;d=i;if(h>>>0<L>>>0){continue}break}}v[f+12>>2]=i+L;g=v[(L<<2)+29296>>2]&A>>>i;break tc}V=v[I+8>>2];fa=V;U=v[I+12>>2];k=U;R=v[I+4>>2];Q=R;s=v[I>>2];d=s;Cc:{Dc:{Ec:{if(32-R>>>0>15){break Ec}if(!U){break Dc}g=s>>>8|0;v[I>>2]=g;d=w[V|0];k=U-1|0;v[I+12>>2]=k;Q=R-8|0;v[I+4>>2]=Q;fa=V+1|0;v[I+8>>2]=fa;d=g|d<<24;v[I>>2]=d;if(40-R>>>0>=16){break Ec}if(!k){break Dc}g=d>>>8|0;v[I>>2]=g;d=w[V+1|0];k=U-2|0;v[I+12>>2]=k;Q=R-16|0;v[I+4>>2]=Q;fa=V+2|0;v[I+8>>2]=fa;d=g|d<<24;v[I>>2]=d;if(48-R>>>0>15){break Ec}if(!k){break Dc}g=d>>>8|0;v[I>>2]=g;d=w[V+2|0];k=U-3|0;v[I+12>>2]=k;Q=R-24|0;v[I+4>>2]=Q;fa=V+3|0;v[I+8>>2]=fa;d=g|d<<24;v[I>>2]=d}g=Q+16|0;v[I+4>>2]=g;L=L-16|0;Fc:{if(L>>>0<=16-Q>>>0){h=g;i=d;break Fc}i=d;while(1){if(!k){break Dc}A=i>>>8|0;v[I>>2]=A;i=w[fa|0];k=k-1|0;v[I+12>>2]=k;h=g-8|0;v[I+4>>2]=h;fa=fa+1|0;v[I+8>>2]=fa;i=A|i<<24;v[I>>2]=i;A=40-g|0;g=h;if(A>>>0<L>>>0){continue}break}}v[I+4>>2]=h+L;v[W+8>>2]=d>>>Q&65535|(v[(L<<2)+29296>>2]&i>>>h)<<16;d=1;break Cc}v[I+12>>2]=U;v[I+8>>2]=V;v[I>>2]=s;v[I+4>>2]=R;d=0}if(d){break uc}k=v[f+200>>2]}v[f+20>>2]=S;v[f+16>>2]=_;v[f+8>>2]=M;v[f+12>>2]=O;v[f+200>>2]=k+1}g=2;break rb}g=v[W+8>>2]}h=v[(f+(q<<2)|0)+1168>>2]+(g<<v[f+240>>2])|0;break Ab}d=(q|0)<10;d=((6312258>>>(q+(d?-4:-10)<<2)&15)+v[(f+((v[f+72>>2]+(d?3:10)&3)<<2)|0)+76>>2]|0)-3|0;h=(d|0)<1?2147483647:d}v[m+268>>2]=h}g=v[f+60>>2];d=v[f+56>>2];if((g|0)!=(d|0)){g=(d|0)>(l|0)?l:d;v[f+60>>2]=g}j=v[f+264>>2];Gc:{if((g|0)<(h|0)){if((h|0)>2147483644){g=-16;break ob}if(j-4>>>0>20){g=-12;break ob}d=v[f+584>>2];k=v[(d+(j<<2)|0)+32>>2];q=w[d+j|0];v[f+72>>2]=v[f+72>>2]+v[f+180>>2];i=v[d+164>>2];if(!i){g=-19;break ob}d=(g^-1)+h|0;h=d>>q;m=v[f+588>>2];if((h|0)>=v[m+12>>2]){g=-11;break ob}g=i+(k+B(d&v[(q<<2)+29296>>2],j)|0)|0;d=v[f+96>>2]+l|0;Hc:{if((h|0)==u[m+24>>1]){Ta(d,g,j);d=j;break Hc}d=rq(d,g,j,m,h)}v[f+184>>2]=v[f+184>>2]-d;l=d+l|0;if((l|0)<v[f+64>>2]){h=l;break Gc}v[f>>2]=15;g=1;break rb}k=v[f+96>>2];g=v[f+68>>2];d=v[f+72>>2];v[(f+((d&3)<<2)|0)+76>>2]=h;v[f+72>>2]=d+1;v[f+184>>2]=v[f+184>>2]-j;i=g&l-h;q=i+k|0;g=w[q|0]|w[q+1|0]<<8|(w[q+2|0]<<16|w[q+3|0]<<24);d=w[q+4|0]|w[q+5|0]<<8|(w[q+6|0]<<16|w[q+7|0]<<24);m=k+l|0;k=w[q+12|0]|w[q+13|0]<<8|(w[q+14|0]<<16|w[q+15|0]<<24);h=w[q+8|0]|w[q+9|0]<<8|(w[q+10|0]<<16|w[q+11|0]<<24);t[m+8|0]=h;t[m+9|0]=h>>>8;t[m+10|0]=h>>>16;t[m+11|0]=h>>>24;t[m+12|0]=k;t[m+13|0]=k>>>8;t[m+14|0]=k>>>16;t[m+15|0]=k>>>24;t[m|0]=g;t[m+1|0]=g>>>8;t[m+2|0]=g>>>16;t[m+3|0]=g>>>24;t[m+4|0]=d;t[m+5|0]=d>>>8;t[m+6|0]=d>>>16;t[m+7|0]=d>>>24;g=i+j|0;h=j+l|0;if((i|0)<(h|0)?(g|0)>(l|0):0){break xb}d=v[f+64>>2];if((d|0)<=(h|0)|(d|0)<=(g|0)){break xb}if((j|0)<17){break Gc}i=q+16|0;k=m+16|0;if((j|0)>=33){Ta(k,i,j-16|0);break Gc}g=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);d=w[i+4|0]|w[i+5|0]<<8|(w[i+6|0]<<16|w[i+7|0]<<24);l=w[i+12|0]|w[i+13|0]<<8|(w[i+14|0]<<16|w[i+15|0]<<24);i=w[i+8|0]|w[i+9|0]<<8|(w[i+10|0]<<16|w[i+11|0]<<24);t[k+8|0]=i;t[k+9|0]=i>>>8;t[k+10|0]=i>>>16;t[k+11|0]=i>>>24;t[k+12|0]=l;t[k+13|0]=l>>>8;t[k+14|0]=l>>>16;t[k+15|0]=l>>>24;t[k|0]=g;t[k+1|0]=g>>>8;t[k+2|0]=g>>>16;t[k+3|0]=g>>>24;t[k+4|0]=d;t[k+5|0]=d>>>8;t[k+6|0]=d>>>16;t[k+7|0]=d>>>24}if(v[f+184>>2]>0){l=h;break yb}v[f>>2]=14;g=1;l=h;break rb}h=0;continue}h=3;continue}U=v[f+20>>2];Q=v[f+16>>2];m=v[f+104>>2];M=v[f+8>>2];g=M;i=f;S=v[f+12>>2];h=S;Ic:{Jc:{if(32-h>>>0>14){break Jc}Kc:{Lc:{if(!U){break Lc}k=M>>>8|0;v[f+8>>2]=k;g=w[Q|0];d=U-1|0;v[f+20>>2]=d;h=S-8|0;v[f+12>>2]=h;v[f+16>>2]=Q+1;g=k|g<<24;v[f+8>>2]=g;if(40-S>>>0>=15){break Jc}if(!d){break Lc}k=g>>>8|0;v[f+8>>2]=k;g=w[Q+1|0];d=U-2|0;v[f+20>>2]=d;h=S-16|0;v[f+12>>2]=h;v[f+16>>2]=Q+2;g=k|g<<24;v[f+8>>2]=g;if(48-S>>>0>14){break Jc}if(d){break Kc}}if(!Id(m,I,W+12|0)){break tb}d=v[W+12>>2];break Ic}g=g>>>8|0;v[f+8>>2]=g;d=w[Q+2|0];v[f+20>>2]=U-3;h=S-24|0;v[f+12>>2]=h;v[f+16>>2]=Q+3;g=g|d<<24;v[f+8>>2]=g}d=f;k=g>>>h|0;j=m+((k&255)<<2)|0;g=w[j|0];if(g>>>0>=9){h=h+8|0;j=(x[j+2>>1]+(v[(g<<2)+29264>>2]&k>>>8&127)<<2)+j|0;g=w[j|0]}v[d+12>>2]=(g&255)+h;d=x[j+2>>1]}A=d<<3;d=w[A+155619|0];v[i+180>>2]=d;v[f+268>>2]=t[A+155618|0];t[f+260|0]=w[d+v[f+116>>2]|0];j=x[A+155620>>1];q=w[A+155616|0];if(q){d=v[f+12>>2];Mc:{if(q>>>0<=32-d>>>0){k=v[I>>2];break Mc}h=v[f+20>>2];g=d;while(1){if(!h){break ub}m=v[f+8>>2]>>>8|0;v[f+8>>2]=m;k=v[f+16>>2];i=w[k|0];h=h-1|0;v[f+20>>2]=h;d=g-8|0;v[f+12>>2]=d;v[f+16>>2]=k+1;k=m|i<<24;v[f+8>>2]=k;i=40-g|0;g=d;if(i>>>0<q>>>0){continue}break}}v[f+12>>2]=d+q;m=v[(q<<2)+29296>>2]&k>>>d}else{m=0}q=x[A+155622>>1];i=f;L=w[A+155617|0];if(L){d=v[f+12>>2];Nc:{if(L>>>0<=32-d>>>0){k=v[I>>2];break Nc}h=v[f+20>>2];g=d;while(1){if(!h){break ub}s=v[f+8>>2]>>>8|0;v[f+8>>2]=s;A=v[f+16>>2];k=w[A|0];h=h-1|0;v[f+20>>2]=h;d=g-8|0;v[f+12>>2]=d;v[f+16>>2]=A+1;k=s|k<<24;v[f+8>>2]=k;A=40-g|0;g=d;if(A>>>0<L>>>0){continue}break}}v[f+12>>2]=d+L;q=q+(v[(L<<2)+29296>>2]&k>>>d)|0}v[i+264>>2]=q;v[f+196>>2]=v[f+196>>2]-1;j=j+m|0;if(j){break sb}}j=0;h=1;continue}v[f+16>>2]=Q;v[f+8>>2]=M;v[f+20>>2]=U;v[f+12>>2]=S}g=2;break rb}v[f+184>>2]=v[f+184>>2]-j;h=2;continue}break}v[f+4>>2]=j;v[f+52>>2]=l}Ca=W+16|0;h=g;continue}if(oq(f)){d=v[f+548>>2];Oc:{while(1){Pc:{Qc:{switch(d|0){case 0:h=v[f+64>>2];l=v[f+52>>2];g=v[f+184>>2];d=v[f+20>>2];i=v[f+12>>2];j=32-i|0;d=d>>>0>1073741824?1073741824:d+(j>>>3|0)|0;d=(d|0)>(g|0)?g:d;g=(h|0)<(d+l|0)?h-l|0:d;h=l+v[f+96>>2]|0;Rc:{if(j>>>0<8){d=g;break Rc}d=g;if(!d){break Rc}while(1){t[h|0]=v[f+8>>2]>>>i;j=v[f+12>>2];i=j+8|0;v[f+12>>2]=i;d=d-1|0;h=h+1|0;if(24-j>>>0<8){break Rc}if(d){continue}break}}Ta(h,v[f+16>>2],d);v[f+20>>2]=v[f+20>>2]-d;v[f+16>>2]=v[f+16>>2]+d;h=g+v[f+52>>2]|0;v[f+52>>2]=h;d=v[f+184>>2]-g|0;v[f+184>>2]=d;if((h|0)<1<<v[f+564>>2]){break Pc}v[f+548>>2]=1;break;case 1:break Qc;default:continue}}d=bi(f,ga,Y,ea,0);if((d|0)!=1){break Oc}if(v[f+64>>2]==1<<v[f+564>>2]){v[f+60>>2]=v[f+56>>2]}d=0;v[f+548>>2]=0;continue}break}d=d?2:1}}else{d=-26}h=d;if((d|0)!=1){continue}break _}d=v[f+4>>2];if((d|0)<=2){d=(f+(d<<2)|0)+204|0;break X}v[f>>2]=5;continue}i=v[f+12>>2];Sc:{if(32-i>>>0>=6){g=v[o>>2];d=i;break Sc}h=2;q=v[f+20>>2];if(!q){continue}d=v[o>>2]>>>8|0;v[o>>2]=d;m=v[f+16>>2];g=d|w[m|0]<<24;v[o>>2]=g;d=i-8|0;v[f+12>>2]=d;j=q-1|0;v[f+20>>2]=j;v[f+16>>2]=m+1;if(40-i>>>0>=6){break Sc}if(!j){continue}d=v[o>>2]>>>8|0;v[o>>2]=d;h=v[f+16>>2];g=d|w[h|0]<<24;v[o>>2]=g;d=i-16|0;v[f+12>>2]=d;v[f+20>>2]=q-2;v[f+16>>2]=h+1}v[f+12>>2]=d+6;d=g>>>d&63;v[f+564>>2]=d;h=-13;if(d-10>>>0>20){continue}v[f>>2]=2}v[f+56>>2]=(1<<d)-16;d=Ea[v[f+24>>2]](v[f+32>>2],12336)|0;v[f+168>>2]=d;h=-30;if(!d){continue}v[f>>2]=3;v[f+172>>2]=d+7584}v[f+576>>2]=0;v[f+580>>2]=0;v[f+216>>2]=1;v[f+220>>2]=0;v[f+192>>2]=16777216;v[f+196>>2]=16777216;v[f+184>>2]=0;v[f+136>>2]=0;v[f+140>>2]=0;v[f+152>>2]=0;v[f+156>>2]=0;v[f+108>>2]=0;v[f+112>>2]=0;v[f+252>>2]=0;v[f+256>>2]=0;v[f+232>>2]=1;v[f+236>>2]=0;v[f+224>>2]=1;v[f+228>>2]=0;v[f+208>>2]=1;v[f+212>>2]=1;v[f+200>>2]=16777216;v[f+204>>2]=1;v[f+116>>2]=0;v[f+120>>2]=0;v[f+124>>2]=0;t[f+260|0]=0;v[f>>2]=4}d=v[f+544>>2];Tc:{Uc:{Vc:{Wc:{Xc:{while(1){j=-31;Yc:{Zc:{_c:{$c:{ad:{bd:{cd:{dd:{ed:{fd:{gd:{hd:{id:{switch(d|0){case 2:d=v[o+4>>2];break hd;case 0:d=v[o+4>>2];jd:{if((d|0)!=32){h=v[o>>2];break jd}i=v[o+12>>2];if(!i){break Vc}h=v[o>>2]>>>8|0;v[o>>2]=h;d=v[o+8>>2];g=w[d|0];v[o+12>>2]=i-1;v[o+8>>2]=d+1;d=24;h=h|g<<24;v[o>>2]=h}v[o+4>>2]=d+1;v[f+184>>2]=0;d=1<<d&h;u[f+560>>1]=x[f+560>>1]&65528|(d|0)!=0;if(!d){d=2;v[f+544>>2]=2;continue}v[f+544>>2]=1;break;case 7:break bd;case 6:break dd;case 5:break ed;case 4:break fd;case 3:break gd;case 1:break id;default:break Uc}}h=v[o+4>>2];kd:{if((h|0)!=32){i=v[o>>2];break kd}h=v[o+12>>2];if(!h){break Vc}i=v[o>>2]>>>8|0;v[o>>2]=i;g=v[o+8>>2];d=w[g|0];v[o+12>>2]=h-1;v[o+8>>2]=g+1;h=24;i=i|d<<24;v[o>>2]=i}d=h+1|0;v[o+4>>2]=d;if(i>>>h&1){v[f+544>>2]=0;h=1;break Tc}v[f+544>>2]=2}if(32-d>>>0>=2){i=v[o>>2];h=d;break Yc}j=2;A=v[o+12>>2];if(!A){break Uc}q=v[o>>2]>>>8|0;v[o>>2]=q;m=v[o+8>>2];i=w[m|0];g=A-1|0;v[o+12>>2]=g;h=d-8|0;v[o+4>>2]=h;v[o+8>>2]=m+1;i=q|i<<24;v[o>>2]=i;if(40-d>>>0<2){break ad}break Yc}d=x[f+560>>1];h=v[f+4>>2];break Xc}d=x[f+560>>1];break Wc}d=v[o+4>>2];ld:{if((d|0)!=32){h=v[o>>2];break ld}i=v[o+12>>2];if(!i){break Vc}h=v[o>>2]>>>8|0;v[o>>2]=h;d=v[o+8>>2];g=w[d|0];v[o+12>>2]=i-1;v[o+8>>2]=d+1;d=24;h=h|g<<24;v[o>>2]=h}g=d+1|0;v[o+4>>2]=g;j=-2;if(h>>>d&1){break Uc}v[f+544>>2]=6;break cd}g=v[o+4>>2]}j=2;if(32-g>>>0>=2){h=v[o>>2];d=g;break _c}q=v[o+12>>2];if(!q){break Uc}m=v[o>>2]>>>8|0;v[o>>2]=m;j=v[o+8>>2];h=w[j|0];i=q-1|0;v[o+12>>2]=i;d=g-8|0;v[o+4>>2]=d;v[o+8>>2]=j+1;h=m|h<<24;v[o>>2]=h;j=2;if(40-g>>>0<2){break $c}break _c}g=x[f+560>>1];break Zc}if(!g){break Uc}j=v[o>>2]>>>8|0;v[o>>2]=j;i=v[o+8>>2];g=w[i|0];v[o+12>>2]=A-2;h=d-16|0;v[o+4>>2]=h;v[o+8>>2]=i+1;i=j|g<<24;v[o>>2]=i;break Yc}if(!i){break Uc}j=v[o>>2]>>>8|0;v[o>>2]=j;i=v[o+8>>2];h=w[i|0];v[o+12>>2]=q-2;d=g-16|0;v[o+4>>2]=d;v[o+8>>2]=i+1;h=j|h<<24;v[o>>2]=h}v[o+4>>2]=d+2;d=h>>>d&3;if(!d){v[f+544>>2]=0;h=1;break Tc}v[f+544>>2]=7;g=x[f+560>>1]&-16321|d<<6;u[f+560>>1]=g}d=v[f+4>>2];md:{if((d|0)>=(g>>>6&255)){h=v[f+184>>2];break md}g=v[o+4>>2];while(1){h=d;nd:{if(32-g>>>0>=8){i=v[o>>2];d=g;break nd}od:{A=v[o+12>>2];if(!A){break od}q=v[o>>2]>>>8|0;v[o>>2]=q;m=v[o+8>>2];i=w[m|0];j=A-1|0;v[o+12>>2]=j;d=g-8|0;v[o+4>>2]=d;v[o+8>>2]=m+1;i=q|i<<24;v[o>>2]=i;if(40-g>>>0>=8){break nd}if(!j){break od}m=v[o>>2]>>>8|0;v[o>>2]=m;j=v[o+8>>2];i=w[j|0];v[o+12>>2]=A-2;d=g-16|0;v[o+4>>2]=d;v[o+8>>2]=j+1;i=m|i<<24;v[o>>2]=i;break nd}v[f+4>>2]=h;break Vc}g=d+8|0;v[o+4>>2]=g;j=i>>>d&255;d=h+1|0;i=x[f+560>>1]>>>6&255;if(!(j|((d|0)!=(i|0)|i>>>0<2))){h=-3;break Tc}h=v[f+184>>2]|j<<(h<<3);v[f+184>>2]=h;if((d|0)<(i|0)){continue}break}}v[f+544>>2]=0;v[f+184>>2]=h+1;h=1;break Tc}v[o+4>>2]=h+2;v[f+4>>2]=0;g=i>>>h&3;d=x[f+560>>1]&-16321|g<<6|256;u[f+560>>1]=d;if((g|0)==3){u[f+560>>1]=d|4;d=5;v[f+544>>2]=5;continue}break}v[f+544>>2]=3;h=0}if((h|0)<(d>>>6&255)){g=v[o+4>>2];while(1){i=h;pd:{if(32-g>>>0>=4){h=v[o>>2];d=g;break pd}qd:{A=v[o+12>>2];if(!A){break qd}q=v[o>>2]>>>8|0;v[o>>2]=q;m=v[o+8>>2];h=w[m|0];j=A-1|0;v[o+12>>2]=j;d=g-8|0;v[o+4>>2]=d;v[o+8>>2]=m+1;h=q|h<<24;v[o>>2]=h;if(40-g>>>0>=4){break pd}if(!j){break qd}m=v[o>>2]>>>8|0;v[o>>2]=m;j=v[o+8>>2];h=w[j|0];v[o+12>>2]=A-2;d=g-16|0;v[o+4>>2]=d;v[o+8>>2]=j+1;h=m|h<<24;v[o>>2]=h;break pd}v[f+4>>2]=i;break Vc}g=d+4|0;v[o+4>>2]=g;m=h>>>d&15;h=i+1|0;d=x[f+560>>1];j=d>>>6&255;if(!(m|((h|0)!=(j|0)|j>>>0<5))){h=-1;break Tc}v[f+184>>2]=v[f+184>>2]|m<<(i<<2);if((h|0)<(j|0)){continue}break}}v[f+544>>2]=4}if(!(d&1)){g=v[o+4>>2];rd:{if((g|0)!=32){d=v[o>>2];break rd}i=v[o+12>>2];if(!i){break Vc}h=v[o>>2]>>>8|0;v[o>>2]=h;g=v[o+8>>2];d=w[g|0];v[o+12>>2]=i-1;v[o+8>>2]=g+1;g=24;d=h|d<<24;v[o>>2]=d}v[o+4>>2]=g+1;u[f+560>>1]=x[f+560>>1]&65533|(d>>>g&1)<<1}v[f+544>>2]=0;v[f+184>>2]=v[f+184>>2]+1;h=1;break Tc}j=2}h=j}if((h|0)!=1){continue}g=x[f+560>>1];sd:{if(!(g&6)){break sd}j=v[f+12>>2];i=0-j&7;if(!i){break sd}d=v[o>>2];v[f+12>>2]=i+j;h=-14;if(v[(i<<2)+29296>>2]&d>>>j){continue}}if(g&4){v[f>>2]=12;h=1;continue}if(v[f+184>>2]){break Z}}v[f>>2]=14;h=1;continue}d=1<<v[f+564>>2];i=v[f+64>>2];td:{if((d|0)==(i|0)){break td}h=x[f+560>>1];if(h&4){break td}g=v[f+96>>2]?v[f+52>>2]:0;ud:{if(!(h&16)){g=d;break ud}h=g+v[f+184>>2]|0;g=i?i:1024;h=(g|0)<(h|0)?h:g;while(1){g=d;d=d>>1;if((h|0)<=(d|0)){continue}break}}v[f+568>>2]=g}if(!(w[f+560|0]&2)){break Y}v[f>>2]=11;h=1;continue}v[f+788>>2]=ja;v[f>>2]=18;v[f+4>>2]=0;v[f+632>>2]=0;v[f+636>>2]=0;v[f+624>>2]=0;v[f+628>>2]=0;d=X}h=nq(k,l,d);if((h|0)!=1){continue}g=f+204|0;d=g+(v[f+4>>2]<<2)|0;v[d>>2]=v[d>>2]+1;d=v[f+4>>2];h=v[g+(d<<2)>>2];if(h>>>0<=1){h=1;v[f+4>>2]=d+1;continue}v[f>>2]=19}g=h+2|0;h=ai(g,g,v[f+168>>2]+B(d,2528)|0,0,f);if((h|0)!=1){continue}v[f>>2]=20}h=ai(26,26,v[f+172>>2]+B(v[f+4>>2],1584)|0,0,f);if((h|0)!=1){continue}v[f>>2]=21}m=v[f+4>>2];vd:{wd:{xd:{yd:{if(!v[f+556>>2]){l=v[f+172>>2]+B(m,1584)|0;d=v[f+12>>2];if(32-d>>>0>=15){g=v[o>>2];h=d;break wd}k=v[f+20>>2];if(!k){break xd}g=v[o>>2]>>>8|0;v[o>>2]=g;j=v[f+16>>2];g=g|w[j|0]<<24;v[o>>2]=g;h=d-8|0;v[f+12>>2]=h;i=k-1|0;v[f+20>>2]=i;v[f+16>>2]=j+1;if(40-d>>>0<15){break yd}break wd}j=v[f+188>>2];break vd}if(!i){break xd}g=v[o>>2]>>>8|0;v[o>>2]=g;j=v[f+16>>2];g=g|w[j|0]<<24;v[o>>2]=g;h=d-16|0;v[f+12>>2]=h;i=k-2|0;v[f+20>>2]=i;v[f+16>>2]=j+1;if(48-d>>>0>14){break wd}if(!i){break xd}g=v[o>>2]>>>8|0;v[o>>2]=g;i=v[f+16>>2];g=g|w[i|0]<<24;v[o>>2]=g;h=d-24|0;v[f+12>>2]=h;v[f+20>>2]=k-3;v[f+16>>2]=i+1;break wd}if(!Id(l,o,da+8|0)){h=2;continue}j=v[da+8>>2];break vd}i=f;j=g>>>h|0;d=l+((j&255)<<2)|0;g=w[d|0];if(g>>>0>=9){h=h+8|0;d=(x[d+2>>1]+(v[(g<<2)+29264>>2]&j>>>8&127)<<2)+d|0;g=w[d|0]}v[i+12>>2]=(g&255)+h;j=x[d+2>>1]}zd:{k=(j<<2)+155184|0;q=w[k+2|0];g=v[f+12>>2];Ad:{if(q>>>0<=32-g>>>0){i=v[o>>2];break Ad}h=v[f+20>>2];d=g;while(1){if(!h){break zd}g=v[o>>2]>>>8|0;v[o>>2]=g;l=v[f+16>>2];i=g|w[l|0]<<24;v[o>>2]=i;g=d-8|0;v[f+12>>2]=g;h=h-1|0;v[f+20>>2]=h;v[f+16>>2]=l+1;l=40-d|0;d=g;if(l>>>0<q>>>0){continue}break}}v[f+12>>2]=g+q;v[(f+(m<<2)|0)+192>>2]=x[k>>1]+(v[(q<<2)+29296>>2]&i>>>g);v[f+556>>2]=0;v[f>>2]=18;h=1;v[f+4>>2]=v[f+4>>2]+1;continue}v[f+556>>2]=1;v[f+188>>2]=j;h=2;continue}h=2;if(!jk(o)){continue}j=x[f+560>>1];h=j&-33;u[f+560>>1]=h;k=v[f+12>>2];d=k+1|0;v[f+12>>2]=d;l=v[f+8>>2];Bd:{if(!(l>>>k&1)){v[f+564>>2]=16;break Bd}i=k+4|0;v[f+12>>2]=i;d=l>>>d&7;if(d){v[f+564>>2]=d+17;break Bd}g=k+7|0;v[f+12>>2]=g;Cd:{Dd:{Ed:{d=l>>>i&7;switch(d|0){case 0:break Cd;case 1:break Ed;default:break Dd}}h=-13;if(!(j&32)){continue}v[f+12>>2]=k+8;if(l>>>g&1){continue}h=j|32;u[f+560>>1]=h;break Bd}v[f+564>>2]=d|8;break Bd}v[f+564>>2]=17}if(h&32){v[f>>2]=1}else{v[f>>2]=2}h=1;continue}}Ca=da+16|0;v[n+124>>2]=v[z+20>>2];Ea[v[z+52>>2]](v[z+56>>2],v[z+604>>2]);v[z+604>>2]=0;Ea[v[z+52>>2]](v[z+56>>2],v[z+600>>2]);v[z+600>>2]=0;Ea[v[z+52>>2]](v[z+56>>2],v[z+276>>2]);v[z+276>>2]=0;Ea[v[z+52>>2]](v[z+56>>2],v[z+144>>2]);v[z+144>>2]=0;Ea[v[z+52>>2]](v[z+56>>2],v[z+160>>2]);v[z+160>>2]=0;Ea[v[z+52>>2]](v[z+56>>2],v[z+176>>2]);v[z+176>>2]=0;Ea[v[z+52>>2]](v[z+56>>2],v[z+120>>2]);v[z+120>>2]=0;Ea[v[z+52>>2]](v[z+56>>2],v[z+192>>2]);v[z+192>>2]=0;Ca=z+5040|0;v[n+120>>2]=(h|0)==1?((ia|0)!=v[n+124>>2])<<3:8;pb(a);if(v[n+120>>2]){break w}L=v[n+92>>2];W=n+16|0;F=0;s=0;j=0;A=0;S=0;p=Ca-48|0;Ca=p;v[p+16>>2]=0;g=v[n+20>>2];v[p+12>>2]=g;_=x[n+60>>1];l=_<<4|12;v[p+8>>2]=l;v[p>>2]=0;T=n+24|0;fa=v[T>>2];Fd:{Gd:{if(_){Hd:{while(1){f=v[(F<<2)+H>>2];if(v[f+4>>2]==1735162214){break Hd}F=F+1|0;if((_|0)!=(F|0)){continue}break}f=0}v[T+12>>2]=f;V=T+12|0;F=0;Id:{while(1){d=v[(F<<2)+H>>2];if(v[d+4>>2]!=1819239265){F=F+1|0;if((_|0)!=(F|0)){continue}break Id}break}v[T+16>>2]=d;F=8;if(!f|(v[d+16>>2]^v[f+16>>2])&256){break Fd}X=T+16|0;break Gd}v[T+16>>2]=0;F=8;if(f){break Fd}X=T+16|0;break Gd}v[T+12>>2]=0;v[T+16>>2]=0;V=T+12|0;X=T+16|0}K=Ua(C,1,0,16,0,p+16|0);Jd:{Kd:{if(v[p+16>>2]){break Kd}s=wb(C,40,p+16|0);if(v[p+16>>2]){break Kd}v[s+32>>2]=0;v[s+8>>2]=0;v[s+4>>2]=L;v[s>>2]=e;v[s+20>>2]=0;v[s+24>>2]=0;Ld:{Md:{Nd:{if(!_){break Nd}ia=e+8|0;k=12;while(1){i=v[(S<<2)+H>>2];d=v[i+28>>2];h=v[i+16>>2];Q=v[i+8>>2];R=v[i+4>>2];q=v[i+24>>2];i=v[i+20>>2];f=Ya(s,i);v[p+16>>2]=f;if(L>>>0<i+q>>>0|f){break Ld}Od:{Pd:{if((R|0)==1751672161){d=Ub(s,34);v[p+44>>2]=d;if(d){break Md}A=kb(s,p+44|0);if(v[p+44>>2]){break Md}u[T+6>>1]=A;if(!(h&256)){break Pd}break Md}u[T+6>>1]=A;v[p+4>>2]=0;if(h&256){Qd:{Rd:{Sd:{Td:{Ud:{if((R|0)!=1819239265){if((R|0)==1752003704){break Ud}if((R|0)!=1735162214){break Md}F=0;v[p+44>>2]=0;v[p+40>>2]=g;r=v[s+8>>2];v[p+36>>2]=l;G=Ua(C,12,0,7,0,p+44|0);if(v[p+44>>2]){break Rd}d=Ub(s,4);v[p+44>>2]=d;if(d){break Rd}da=kb(s,p+44|0);if(v[p+44>>2]){break Rd}U=kb(s,p+44|0);o=0;f=0;i=0;if(v[p+44>>2]){break Qd}u[T+4>>1]=da;$=da+1|0;if(v[v[T+16>>2]+8>>2]!=(B($,U?4:2)|0)|y[v[V>>2]+12>>2]<36){break Sd}g=Ob(s,p+44|0);if(v[p+44>>2]){break Qd}if(g>>>0>v[v[V>>2]+12>>2]-36>>>0){break Sd}v[G+8>>2]=g;d=r+36|0;v[G+4>>2]=d;v[G>>2]=d;j=Ob(s,p+44|0);if(v[p+44>>2]){break Qd}g=g+36|0;if(j>>>0>v[v[V>>2]+12>>2]-g>>>0){break Sd}v[G+20>>2]=j;d=g+r|0;v[G+16>>2]=d;v[G+12>>2]=d;h=Ob(s,p+44|0);if(v[p+44>>2]){break Qd}g=g+j|0;if(h>>>0>v[v[V>>2]+12>>2]-g>>>0){break Sd}v[G+32>>2]=h;d=g+r|0;v[G+28>>2]=d;v[G+24>>2]=d;j=Ob(s,p+44|0);if(v[p+44>>2]){break Qd}g=g+h|0;if(j>>>0>v[v[V>>2]+12>>2]-g>>>0){break Sd}v[G+44>>2]=j;d=g+r|0;v[G+40>>2]=d;v[G+36>>2]=d;h=Ob(s,p+44|0);if(v[p+44>>2]){break Qd}g=g+j|0;if(h>>>0>v[v[V>>2]+12>>2]-g>>>0){break Sd}v[G+56>>2]=h;d=g+r|0;v[G+52>>2]=d;v[G+48>>2]=d;j=Ob(s,p+44|0);if(v[p+44>>2]){break Qd}h=g+h|0;if(j>>>0>v[v[V>>2]+12>>2]-h>>>0){break Sd}v[G+68>>2]=j;d=h+r|0;v[G+64>>2]=d;v[G+60>>2]=d;g=Ob(s,p+44|0);if(v[p+44>>2]){break Qd}d=h+j|0;if(g>>>0>v[v[V>>2]+12>>2]-d>>>0){break Sd}v[G+80>>2]=g;d=d+r|0;v[G+76>>2]=d;v[G+72>>2]=d;F=Ua(C,4,0,$,0,p+44|0);if(v[p+44>>2]){break Rd}ja=v[G+64>>2];v[G+64>>2]=ja+(da+31>>>3&16380);f=Ua(C,1,0,5120,0,p+44|0);if(v[p+44>>2]){break Qd}pa=T,qa=Ua(C,2,0,da,0,p+44|0),v[pa+8>>2]=qa;if(v[p+44>>2]){break Qd}d=5120;ea=0;i=l;if(da){while(1){v[p+32>>2]=0;u[p+30>>1]=0;g=Ya(s,ja+(ea>>>3|0)|0);v[p+44>>2]=g;if(g){break Td}h=cc(s,p+44|0);if(v[p+44>>2]){break Td}g=Ya(s,v[G+4>>2]);v[p+44>>2]=g;if(g){break Td}ba=kb(s,p+44|0);if(v[p+44>>2]){break Td}ca=h&128>>>(ea&7);v[G+4>>2]=v[G+4>>2]+2;Vd:{Wd:{if(ba){if((ba|0)==65535){t[p+22|0]=0;u[p+28>>1]=0;if(!ca){break Td}h=0;j=Ca-16|0;Ca=j;r=v[G+52>>2];i=Ya(s,r);v[j+12>>2]=i;Xd:{if(i){break Xd}i=32;while(1){if(i){J=kb(s,j+12|0);i=v[j+12>>2];if(i){break Xd}M=j;g=s;m=J&1?6:4;i=m+2|0;Yd:{if(J&8){break Yd}i=m+4|0;if(J&64){break Yd}i=m|J>>>4&8}i=Ub(g,i);v[M+12>>2]=i;if(i){break Xd}h=J>>>8&1|h;i=J&32;continue}break}v[p+24>>2]=v[s+8>>2]-r;t[p+22|0]=h;i=v[j+12>>2]}Ca=j+16|0;if(i){break Td}if(w[p+22|0]){g=Ya(s,v[G+40>>2]);v[p+44>>2]=g;if(g){break Td}g=Pf(s,p+28|0);v[p+44>>2]=g;if(g){break Td}v[G+40>>2]=v[s+8>>2];g=x[p+28>>1]}else{g=0}i=(g+v[p+24>>2]|0)+12|0;Zd:{if(i>>>0<=d>>>0){i=d;break Zd}f=Ua(C,1,d,i,f,p+44|0);if(v[p+44>>2]){break Td}}d=v[p+32>>2]+f|0;t[d|0]=255;t[d+1|0]=255;v[p+32>>2]=v[p+32>>2]+2;d=Ya(s,v[G+64>>2]);v[p+44>>2]=d;if(d){break Td}pa=p,qa=kb(s,p+44|0),u[pa+30>>1]=qa;if(v[p+44>>2]){break Td}d=Ya(s,v[G+64>>2]);v[p+44>>2]=d;if(d){break Td}d=Vb(s,v[p+32>>2]+f|0,8);v[p+44>>2]=d;if(d){break Td}v[G+64>>2]=v[G+64>>2]+8;v[p+32>>2]=v[p+32>>2]+8;d=Ya(s,v[G+52>>2]);v[p+44>>2]=d;if(d){break Td}g=v[p+24>>2];d=Vb(s,v[p+32>>2]+f|0,g);v[p+44>>2]=d;if(d){break Td}v[G+52>>2]=g+v[G+52>>2];d=g+v[p+32>>2]|0;v[p+32>>2]=d;if(w[p+22|0]){d=d+f|0;t[d|0]=w[p+29|0];t[d+1|0]=w[p+28|0];v[p+32>>2]=v[p+32>>2]+2;d=Ya(s,v[G+76>>2]);v[p+44>>2]=d;if(d){break Td}g=x[p+28>>1];d=Vb(s,v[p+32>>2]+f|0,g);v[p+44>>2]=d;if(d){break Td}v[G+76>>2]=g+v[G+76>>2];v[p+32>>2]=g+v[p+32>>2]}d=i;break Vd}i=Ua(C,2,0,ba,0,p+44|0);if(v[p+44>>2]){break Sd}h=Ya(s,v[G+16>>2]);v[p+44>>2]=h;j=0;g=0;if(h){break Sd}while(1){h=Pf(s,p+28|0);v[p+44>>2]=h;if(h){break Sd}h=x[p+28>>1];u[(j<<1)+i>>1]=h;J=g+h|0;if(J>>>0<g>>>0){break Sd}g=J;j=j+1|0;if((ba|0)!=(j|0)){continue}break}v[G+16>>2]=v[s+8>>2];if(y[G+32>>2]<g>>>0){break Sd}m=v[G+44>>2];j=v[G+40>>2];r=j-v[G+36>>2]|0;if(m>>>0<r>>>0){break Sd}D=v[s>>2];h=v[G+28>>2];v[p+24>>2]=0;q=Ua(C,12,0,g,0,p+44|0);_d:{if(v[p+44>>2]){break _d}N=h+D|0;ga=j+D|0;h=0;D=0;z=0;O=0;j=0;M=8;Z=m-r|0;$d:{if(Z>>>0<g>>>0){break $d}if(J){while(1){m=Z;Y=w[N+O|0];r=Y&127;g=r>>>0>83;j=h+1|0;ae:{if(!g){break ae}j=h+2|0;if(r>>>0<=119){break ae}j=(r>>>0<124?3:4)+h|0}if(m>>>0<j>>>0|h>>>0>j>>>0){break $d}be:{if(r>>>0<=9){I=0;g=w[h+ga|0]|r<<7&1792;g=Y&1?g:0-g|0;break be}if(r>>>0<=19){g=w[h+ga|0]|(r<<7)+768&1792;I=Y&1?g:0-g|0;g=0;break be}if(!g){r=r-20|0;h=w[h+ga|0];g=(r&48|1)+(h>>>4|0)|0;I=Y&1?g:0-g|0;g=(h&15)+(r<<2&48|1)|0;g=Y&2?g:0-g|0;break be}if(r>>>0<=119){m=h+ga|0;r=r-84|0;h=((r&255)>>>0)/12|0;g=w[m|0]+(h<<8|1)|0;I=Y&1?g:0-g|0;g=w[m+1|0]+(r-B(h,12)<<6&768|1)|0;g=Y&2?g:0-g|0;break be}if(r>>>0<=123){r=h+ga|0;h=w[r+1|0];g=w[r|0]<<4|h>>>4;I=Y&1?g:0-g|0;g=w[r+2|0]|h<<8&3840;g=Y&2?g:0-g|0;break be}h=h+ga|0;g=w[h|0]<<8|w[h+1|0];I=Y&1?g:0-g|0;g=w[h+3|0]|w[h+2|0]<<8;g=Y&2?g:0-g|0}if(((2147483647-z|0)<(I|0)?(z|0)>=1:0)|((-2147483648-z|0)>(I|0)?(z|0)<=-1:0)|(((g|0)>(2147483647-D|0)?(D|0)>=1:0)|((g|0)<(-2147483648-D|0)?(D|0)<=-1:0))){break $d}h=q+B(O,12)|0;t[h+8|0]=((Y^-1)&128)>>>7;D=g+D|0;v[h+4>>2]=D;z=z+I|0;v[h>>2]=z;h=j;O=O+1|0;if((J|0)!=(O|0)){continue}break}}v[p+24>>2]=j;M=0}if(M){break _d}v[G+28>>2]=J+v[G+28>>2];g=v[G+40>>2]+v[p+24>>2]|0;v[G+40>>2]=g;g=Ya(s,g);v[p+44>>2]=g;if(g){break _d}g=Pf(s,p+22|0);v[p+44>>2]=g;if(g){break _d}v[G+40>>2]=v[s+8>>2];if(J>>>0>134217727){break _d}r=(x[p+22>>1]+(B(J,5)+(ba<<1)|0)|0)+12|0;ce:{if(r>>>0<=d>>>0){r=d;break ce}f=Ua(C,1,d,r,f,p+44|0);if(v[p+44>>2]){break _d}}g=v[p+32>>2]+f|0;d=ba<<8|ba>>>8;t[g|0]=d;t[g+1|0]=d>>>8;v[p+32>>2]=v[p+32>>2]+2;de:{if(ca){d=Ya(s,v[G+64>>2]);v[p+44>>2]=d;if(d){break _d}pa=p,qa=kb(s,p+44|0),u[pa+30>>1]=qa;if(v[p+44>>2]){break _d}d=Ya(s,v[G+64>>2]);v[p+44>>2]=d;if(d){break _d}d=Vb(s,v[p+32>>2]+f|0,8);v[p+44>>2]=d;if(d){break _d}v[G+64>>2]=v[G+64>>2]+8;break de}h=0;d=0;g=0;ee:{if(!J){j=0;break ee}I=1;g=v[q+4>>2];d=v[q>>2];if((J|0)==1){j=g;h=d;break ee}h=J-1|0;m=h&1;fe:{if((J|0)==2){h=d;j=g;break fe}ca=h&-2;h=d;j=g;while(1){D=q+B(I,12)|0;M=v[D+16>>2];N=v[D+4>>2];j=(j|0)<(N|0)?N:j;j=(j|0)<(M|0)?M:j;Z=v[D+12>>2];D=v[D>>2];h=(h|0)<(D|0)?D:h;h=(h|0)<(Z|0)?Z:h;g=(g|0)>(N|0)?N:g;g=(g|0)>(M|0)?M:g;d=(d|0)>(D|0)?D:d;d=(d|0)>(Z|0)?Z:d;I=I+2|0;ca=ca-2|0;if(ca){continue}break}}if(!m){break ee}m=q+B(I,12)|0;D=v[m>>2];d=(d|0)>(D|0)?D:d;m=v[m+4>>2];g=(g|0)>(m|0)?m:g;h=(h|0)<(D|0)?D:h;j=(j|0)<(m|0)?m:j}t[f+9|0]=j;t[f+7|0]=h;t[f+5|0]=g;t[f+3|0]=d;t[f+8|0]=j>>>8;t[f+6|0]=h>>>8;t[f+4|0]=g>>>8;t[f+2|0]=d>>>8;u[p+30>>1]=d}v[p+32>>2]=10;h=f+10|0;g=-1;j=0;while(1){d=h;g=x[(j<<1)+i>>1]+g|0;if((g|0)>65535){break _d}h=g<<8|(g&65280)>>>8;t[d|0]=h;t[d+1|0]=h>>>8;v[p+32>>2]=v[p+32>>2]+2;h=d+2|0;j=j+1|0;if((ba|0)!=(j|0)){continue}break}j=x[p+22>>1];g=j<<8|j>>>8;t[d+2|0]=g;t[d+3|0]=g>>>8;v[p+32>>2]=v[p+32>>2]+2;d=Ya(s,v[G+76>>2]);v[p+44>>2]=d;if(d){break _d}d=Vb(s,v[p+32>>2]+f|0,j);v[p+44>>2]=d;if(d){break _d}v[G+76>>2]=j+v[G+76>>2];v[p+32>>2]=j+v[p+32>>2];h=0;D=0;z=0;O=0;ca=0;N=(j+(ba<<1)|0)+12|0;ge:{he:{ie:{if(!J){break ie}g=255;d=0;while(1){j=q+B(ca,12)|0;m=v[j+4>>2];Z=m-d|0;d=w[j+8|0]!=0;j=v[j>>2];h=j-h|0;je:{if(!h){d=d|16;break je}if(h+255>>>0<=510){z=z+1|0;d=((h|0)>0?18:2)|d;break je}z=z+2|0}ke:{if(!Z){d=d|32;break ke}if(Z+255>>>0<=510){O=O+1|0;d=((Z|0)>0?36:4)|d;break ke}O=O+2|0}le:{if(!((D&255)==255|(g&255)!=(d|0))){g=(f+N|0)-1|0;t[g|0]=w[g|0]|8;D=D+1|0;break le}if(D&255){g=8;if(r>>>0<=N>>>0){break ge}t[f+N|0]=D;N=N+1|0}g=8;if(r>>>0<=N>>>0){break ge}t[f+N|0]=d;N=N+1|0;D=0}g=d;h=j;d=m;ca=ca+1|0;if((J|0)!=(ca|0)){continue}break}if(!(D&255)){break ie}d=8;if(r>>>0<=N>>>0){break he}t[f+N|0]=D;N=N+1|0}d=8;g=z+O|0;if(g>>>0<z>>>0){break he}g=g+N|0;if(g>>>0<N>>>0|g>>>0>r>>>0){break he}g=z+N|0;if(J){d=0;h=0;D=0;while(1){m=h;j=d;d=q+B(D,12)|0;h=v[d+4>>2];Z=h-m|0;d=v[d>>2];j=d-j|0;me:{if(!j){break me}if(j+255>>>0<=510){m=j;j=j>>31;t[f+N|0]=m+j^j;N=N+1|0;break me}m=f+N|0;j=j<<8|(j&65280)>>>8;t[m|0]=j;t[m+1|0]=j>>>8;N=N+2|0}ne:{if(!Z){break ne}if(Z+255>>>0<=510){j=Z>>31;t[f+g|0]=j+Z^j;g=g+1|0;break ne}m=f+g|0;j=Z<<8|(Z&65280)>>>8;t[m|0]=j;t[m+1|0]=j>>>8;g=g+2|0}D=D+1|0;if((J|0)!=(D|0)){continue}break}}v[p+32>>2]=g;d=0}g=d}if(!g){break Wd}}o=q;break Sd}if(!ca){break Vd}break Td}if(q){Ea[v[C+8>>2]](C,q)}if(i){Ea[v[C+8>>2]](C,i)}d=r}v[(ea<<2)+F>>2]=v[p+36>>2]-l;if(Xp(p+40|0,W,p+36|0,f,v[p+32>>2],C)){break Td}q=Ca-16|0;Ca=q;h=v[p+40>>2];g=v[p+36>>2];t[q+10|0]=0;u[q+8>>1]=0;j=8;oe:{if(g>>>0>4294967292){break oe}i=g+3&-4;m=i-g|0;pe:{if(!m){i=g;break pe}v[q+12>>2]=0;if(i>>>0>31457280){break oe}r=v[W>>2];if(r>>>0<i>>>0){h=Ua(C,1,r,i,h,q+12|0);if(v[q+12>>2]){break oe}v[W>>2]=i}Ta(g+h|0,q+8|0,m);if(v[q+12>>2]){break oe}}v[p+40>>2]=h;v[p+36>>2]=i;j=0}Ca=q+16|0;if(j){break Td}pa=p,qa=v[p+4>>2]+hk(f,v[p+32>>2])|0,v[pa+4>>2]=qa;if(ba){u[v[T+8>>2]+(ea<<1)>>1]=x[p+30>>1]}ea=ea+1|0;if((da|0)!=(ea|0)){continue}break}i=v[p+36>>2]}d=v[V>>2];g=i-v[d+28>>2]|0;v[d+8>>2]=g;v[v[X>>2]+28>>2]=i;v[(da<<2)+F>>2]=g;i=0;d=0;h=0;g=0;D=Ca-16|0;Ca=D;v[D+8>>2]=0;qe:{if($>>>0<=1073741823){r=v[p+36>>2];O=v[p+40>>2];J=B($,U?4:2);g=Ua(C,1,0,J,0,D+8|0);if(v[D+8>>2]){break qe}re:{if(!$){break re}se:{if(U){N=0;d=g;if(($|0)!=1){q=$&-2;while(1){h=N<<2;j=v[h+F>>2];j=j<<24|j<<8&16711680|(j>>>8&65280|j>>>24);t[d|0]=j;t[d+1|0]=j>>>8;t[d+2|0]=j>>>16;t[d+3|0]=j>>>24;h=v[(h|4)+F>>2];h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);t[d+4|0]=h;t[d+5|0]=h>>>8;t[d+6|0]=h>>>16;t[d+7|0]=h>>>24;N=N+2|0;d=d+8|0;q=q-2|0;if(q){continue}break}}if(!($&1)){break se}h=v[(N<<2)+F>>2];h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);t[d|0]=h;t[d+1|0]=h>>>8;t[d+2|0]=h>>>16;t[d+3|0]=h>>>24;break se}N=$&3;d=g;if($-1>>>0>=3){q=$&-4;while(1){m=h<<2;j=v[m+F>>2];t[d+1|0]=j>>>1;t[d|0]=j>>>9;j=v[(m|4)+F>>2];t[d+3|0]=j>>>1;t[d+2|0]=j>>>9;j=v[(m|8)+F>>2];t[d+5|0]=j>>>1;t[d+4|0]=j>>>9;j=v[(m|12)+F>>2];t[d+7|0]=j>>>1;t[d+6|0]=j>>>9;h=h+4|0;d=d+8|0;q=q-4|0;if(q){continue}break}}if(!N){break se}while(1){j=v[(h<<2)+F>>2];t[d+1|0]=j>>>1;t[d|0]=j>>>9;h=h+1|0;d=d+2|0;N=N-1|0;if(N){continue}break}}d=0;j=J&-4;if(!j){h=0;break re}h=0;while(1){h=(w[(d|3)+g|0]|(w[(d|1)+g|0]<<16|w[d+g|0]<<24|w[(d|2)+g|0]<<8))+h|0;d=d+4|0;if(j>>>0>d>>>0){continue}break}d=j}M=p;if(!((d|0)==(J|0)|d>>>0>=J>>>0)){N=J-d|0;m=0;while(1){j=d<<3&16;m=w[(d|1)+g|0]<<(j^16)|(w[d+g|0]<<(j^24)|m);d=d+2|0;N=N-2|0;if(N){continue}break}h=h+m|0}v[M>>2]=h;v[D+12>>2]=0;te:{h=r+J|0;if(h>>>0>31457280){break te}d=v[W>>2];if(d>>>0<h>>>0){O=Ua(C,1,d,h,O,D+12|0);if(v[D+12>>2]){break te}v[W>>2]=h}Ta(r+O|0,g,J);if(v[D+12>>2]){break te}v[p+40>>2]=O;v[p+36>>2]=h;break qe}if(v[D+8>>2]){break qe}}v[D+8>>2]=8}if(g){Ea[v[C+8>>2]](C,g)}Ca=D+16|0;if(v[D+8>>2]){break Sd}g=v[X>>2];d=v[p+36>>2];v[g+8>>2]=d-v[g+28>>2];v[p+8>>2]=d;break Qd}v[p+4>>2]=v[p>>2];l=d;break Od}F=A;if(!(j&255)){g=0;r=Ca-16|0;Ca=r;d=8;ue:{if(!_){break ue}ve:{while(1){f=v[(g<<2)+H>>2];if(v[f+4>>2]==1835104368){break ve}g=g+1|0;if((_|0)!=(g|0)){continue}break}f=0}g=0;while(1){h=v[(g<<2)+H>>2];if(v[h+4>>2]!=1751474532){g=g+1|0;if((_|0)!=(g|0)){continue}break ue}break}if(!f|!v[T+16>>2]){break ue}d=Ya(s,v[f+20>>2]);if(d){break ue}d=Ub(s,8);v[r+12>>2]=d;if(d){break ue}o=kb(s,r+12|0);d=v[r+12>>2];if(d){break ue}u[T+4>>1]=o;d=Ya(s,v[h+20>>2]);v[r+12>>2]=d;if(d){break ue}d=Ub(s,50);v[r+12>>2]=d;if(d){break ue}h=kb(s,r+12|0);d=v[r+12>>2];if(d){break ue}pa=T,qa=Ua(C,2,0,o,0,r+12|0),v[pa+8>>2]=qa;d=v[r+12>>2];if(d){break ue}d=0;if(!o){break ue}i=h?4:2;g=v[v[T+16>>2]+20>>2];f=0;if(!h){while(1){d=Ya(s,g);v[r+12>>2]=d;if(d){break ue}h=kb(s,r+12|0);d=v[r+12>>2];if(d){break ue}d=Ya(s,v[v[T+12>>2]+20>>2]+(h<<1)|0);v[r+12>>2]=d;if(d){break ue}d=Ub(s,2);v[r+12>>2]=d;if(d){break ue}d=kb(s,r+12|0);u[v[T+8>>2]+(f<<1)>>1]=d;d=v[r+12>>2];if(d){break ue}g=g+i|0;d=0;f=f+1|0;if((o|0)!=(f|0)){continue}break ue}}while(1){d=Ya(s,g);v[r+12>>2]=d;if(d){break ue}h=Ob(s,r+12|0);d=v[r+12>>2];if(d){break ue}d=Ya(s,h+v[v[T+12>>2]+20>>2]|0);v[r+12>>2]=d;if(d){break ue}d=Ub(s,2);v[r+12>>2]=d;if(d){break ue}d=kb(s,r+12|0);u[v[T+8>>2]+(f<<1)>>1]=d;d=v[r+12>>2];if(d){break ue}g=g+i|0;d=0;f=f+1|0;if((o|0)!=(f|0)){continue}break}}Ca=r+16|0;if(d){break Md}F=x[T+6>>1]}J=x[T+4>>1];h=F&65535;q=v[T+8>>2];f=0;F=0;r=0;D=Ca-16|0;Ca=D;v[D+12>>2]=0;v[D+8>>2]=v[p+12>>2];v[D+4>>2]=v[p+8>>2];d=cc(s,D+12|0);we:{xe:{ye:{if(!d|(v[D+12>>2]|(d&255)>>>0>3)){break ye}if(J>>>0<=(h-1&65535)>>>0){break xe}r=Ua(C,2,0,h,0,D+12|0);if(v[D+12>>2]){break ye}F=Ua(C,2,0,J,0,D+12|0);if(v[D+12>>2]){break xe}m=d&2;i=d&1;g=0;while(1){d=kb(s,D+12|0);if(v[D+12>>2]){break xe}u[(g<<1)+r>>1]=d;g=g+1|0;if((h|0)!=(g|0)){continue}break}ze:{if(!i){g=0;while(1){d=kb(s,D+12|0);if(v[D+12>>2]){break ye}u[(g<<1)+F>>1]=d;g=g+1|0;if((h|0)!=(g|0)){continue}break}break ze}f=h&3;g=0;if(h-1>>>0>=3){o=h&65532;while(1){i=g<<1;u[i+F>>1]=x[i+q>>1];d=i|2;u[d+F>>1]=x[d+q>>1];d=i|4;u[d+F>>1]=x[d+q>>1];d=i|6;u[d+F>>1]=x[d+q>>1];g=g+4|0;o=o-4|0;if(o){continue}break}}if(!f){break ze}while(1){d=g<<1;u[d+F>>1]=x[d+q>>1];g=g+1|0;f=f-1|0;if(f){continue}break}}Ae:{if(h>>>0>=J>>>0){break Ae}if(!m){g=h;while(1){d=kb(s,D+12|0);if(v[D+12>>2]){break ye}u[(g<<1)+F>>1]=d;g=g+1|0;if((J|0)!=(g|0)){continue}break}break Ae}f=J+(h^-1)|0;g=J-h&3;Be:{if(!g){d=h;break Be}d=h;while(1){i=d<<1;u[i+F>>1]=x[i+q>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}if(f>>>0<3){break Ae}while(1){i=d<<1;u[i+F>>1]=x[i+q>>1];g=i+2|0;u[g+F>>1]=x[g+q>>1];g=i+4|0;u[g+F>>1]=x[g+q>>1];g=i+6|0;u[g+F>>1]=x[g+q>>1];d=d+4|0;if((J|0)!=(d|0)){continue}break}}g=0;m=h+J<<1;f=Ua(C,1,0,m,0,D+12|0);if(v[D+12>>2]){break xe}o=J>>>0>1?J:1;d=f;while(1){if(g>>>0<h>>>0){i=(g<<1)+r|0;t[d|0]=w[i+1|0];t[d+1|0]=w[i|0];d=d+2|0}i=(g<<1)+F|0;t[d|0]=w[i+1|0];t[d+1|0]=w[i|0];d=d+2|0;g=g+1|0;if((o|0)!=(g|0)){continue}break}pa=p,qa=hk(f,m),v[pa+4>>2]=qa;if(Xp(D+8|0,W,D+4|0,f,m,C)){break xe}v[p+12>>2]=v[D+8>>2];v[p+8>>2]=v[D+4>>2];if(r){Ea[v[C+8>>2]](C,r)}if(F){Ea[v[C+8>>2]](C,F)}if(f){Ea[v[C+8>>2]](C,f)}d=v[D+12>>2];break we}f=0}if(r){Ea[v[C+8>>2]](C,r)}if(F){Ea[v[C+8>>2]](C,F)}if(f){Ea[v[C+8>>2]](C,f)}d=v[D+12>>2];d=d?d:8}Ca=D+16|0;if(d){break Md}g=v[p+12>>2];break Od}i=0}if(v[p+44>>2]){break Qd}v[p+44>>2]=8;break Qd}o=0;f=0;i=0}g=v[p+40>>2];v[p+12>>2]=g;if(G){Ea[v[C+8>>2]](C,G)}if(F){Ea[v[C+8>>2]](C,F)}if(i){Ea[v[C+8>>2]](C,i)}if(f){Ea[v[C+8>>2]](C,f)}if(o){Ea[v[C+8>>2]](C,o)}j=1;if(!v[p+44>>2]){break Od}break Md}if((R|0)!=1751474532){break Pd}if(q>>>0<12){break Md}d=i+ia|0;t[d|0]=0;t[d+1|0]=0;t[d+2|0]=0;t[d+3|0]=0}m=e+i|0;F=0;o=0;i=q&-4;if(i){while(1){o=(w[m+(F|3)|0]|(w[m+(F|1)|0]<<16|w[m+F|0]<<24|w[m+(F|2)|0]<<8))+o|0;F=F+4|0;if(F>>>0<i>>>0){continue}break}}d=p;if((i|0)!=(q|0)){F=0;Ce:{if(i>>>0>=q>>>0){break Ce}r=q&1;if((q|0)!=(i|1)){h=(q&3)-r|0;while(1){f=i<<3&16;F=w[m+(i|1)|0]<<(f^16)|(w[i+m|0]<<(f^24)|F);i=i+2|0;h=h-2|0;if(h){continue}break}}if(!r){break Ce}F=w[i+m|0]<<((i<<3^-1)&24)|F}o=o+F|0}v[d+4>>2]=o;v[p+44>>2]=0;h=l+q|0;if(h>>>0>31457280){break Md}d=v[W>>2];if(d>>>0<h>>>0){g=Ua(C,1,d,h,g,p+44|0);if(v[p+44>>2]){break Md}v[W>>2]=h}Ta(g+l|0,m,q);v[p+12>>2]=g;v[p+8>>2]=h;if(v[p+44>>2]){break Md}}J=v[p+4>>2];t[K+15|0]=Q;t[K+11|0]=l;t[K+7|0]=J;t[K+3|0]=R;t[K+14|0]=Q>>>8;t[K+13|0]=Q>>>16;t[K+12|0]=Q>>>24;t[K+10|0]=l>>>8;t[K+9|0]=l>>>16;t[K+8|0]=l>>>24;t[K+6|0]=J>>>8;t[K+5|0]=J>>>16;t[K+4|0]=J>>>24;t[K+2|0]=R>>>8;t[K+1|0]=R>>>16;t[K|0]=R>>>24;v[p+44>>2]=0;h=k+16|0;De:{if(h>>>0>31457280){d=g;break De}d=v[W>>2];Ee:{if(d>>>0>=h>>>0){d=g;break Ee}d=Ua(C,1,d,h,g,p+44|0);if(v[p+44>>2]){d=g;break De}v[W>>2]=h}i=w[K+4|0]|w[K+5|0]<<8|(w[K+6|0]<<16|w[K+7|0]<<24);f=d+k|0;g=w[K|0]|w[K+1|0]<<8|(w[K+2|0]<<16|w[K+3|0]<<24);t[f|0]=g;t[f+1|0]=g>>>8;t[f+2|0]=g>>>16;t[f+3|0]=g>>>24;t[f+4|0]=i;t[f+5|0]=i>>>8;t[f+6|0]=i>>>16;t[f+7|0]=i>>>24;i=w[K+12|0]|w[K+13|0]<<8|(w[K+14|0]<<16|w[K+15|0]<<24);g=w[K+8|0]|w[K+9|0]<<8|(w[K+10|0]<<16|w[K+11|0]<<24);t[f+8|0]=g;t[f+9|0]=g>>>8;t[f+10|0]=g>>>16;t[f+11|0]=g>>>24;t[f+12|0]=i;t[f+13|0]=i>>>8;t[f+14|0]=i>>>16;t[f+15|0]=i>>>24;v[p+12>>2]=d;k=h}q=w[K+12|0]|w[K+13|0]<<8|(w[K+14|0]<<16|w[K+15|0]<<24);m=w[K+8|0]|w[K+9|0]<<8|(w[K+10|0]<<16|w[K+11|0]<<24);r=w[K+4|0]|w[K+5|0]<<8|(w[K+6|0]<<16|w[K+7|0]<<24);o=w[K|0]|w[K+1|0]<<8|(w[K+2|0]<<16|w[K+3|0]<<24);h=v[p+8>>2];t[p+42|0]=0;u[p+40>>1]=0;if(h>>>0>4294967292){break Md}f=h+3&-4;i=f-h|0;Fe:{if(!i){g=d;f=h;break Fe}v[p+44>>2]=0;if(f>>>0>31457280){break Md}g=v[W>>2];Ge:{if(g>>>0>=f>>>0){g=d;break Ge}g=Ua(C,1,g,f,d,p+44|0);if(v[p+44>>2]){break Md}v[W>>2]=f}Ta(g+h|0,p+40|0,i);if(v[p+44>>2]){break Md}}v[p+12>>2]=g;v[p+8>>2]=f;if(l+Q>>>0>f>>>0){break Md}fa=J+fa+((((r<<8&16711680|r<<24|(r>>>8&65280|r>>>24))+(o<<8&16711680|o<<24|(o>>>8&65280|o>>>24))|0)+(m<<8&16711680|m<<24|(m>>>8&65280|m>>>24))|0)+(q<<8&16711680|q<<24|(q>>>8&65280|q>>>24)))|0;l=f;S=S+1|0;if((_|0)!=(S|0)){continue}break}if(!_){break Nd}F=0;while(1){d=v[(F<<2)+H>>2];if(v[d+4>>2]!=1751474532){F=F+1|0;if((_|0)!=(F|0)){continue}break Nd}break}v[T+20>>2]=d;if(y[d+8>>2]<12){break Md}h=v[d+28>>2]+g|0;d=-1313820742-fa|0;d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[h+8|0]=d;t[h+9|0]=d>>>8;t[h+10|0]=d>>>16;t[h+11|0]=d>>>24;v[n+108>>2]=v[p+8>>2];v[n+20>>2]=g;break Jd}v[T+20>>2]=0}f=v[p+16>>2]}if(f){break Kd}v[p+16>>2]=8}v[n+20>>2]=v[p+12>>2]}if(K){Ea[v[C+8>>2]](C,K)}He:{if(!s){break He}d=v[s+24>>2];if(!d){break He}Ea[d|0](s)}if(s){Ea[v[C+8>>2]](C,s)}F=v[p+16>>2]}Ca=p+48|0;v[n+120>>2]=F;if(F){break w}l=v[n+20>>2];d=v[n+108>>2];g=v[n+16>>2];if(d>>>0<g>>>0){l=Ua(C,1,g,d,l,n+120|0);v[n+20>>2]=l;if(v[n+120>>2]){break w}d=v[n+108>>2]}v[P+32>>2]=0;v[P+8>>2]=0;v[P+4>>2]=d;v[P>>2]=l;v[P+20>>2]=0;v[P+24>>2]=0;a=v[a+28>>2];v[P+24>>2]=312;v[P+28>>2]=a;ds(v[b+104>>2],v[b+8>>2]>>>10&1);v[b+104>>2]=P;v[b+8>>2]=v[b+8>>2]&-1025;c=ha;break w}v[n+120>>2]=8;e=0;break w}v[n+120>>2]=8}e=0}if(la){Ea[v[C+8>>2]](C,la)}if(H){Ea[v[C+8>>2]](C,H)}if(e){Ea[v[C+8>>2]](C,e)}a=v[n+32>>2];if(a){Ea[v[C+8>>2]](C,a)}a=v[n+112>>2];if(a){if(x[n+104>>1]){e=1;while(1){d=v[a+8>>2];if(d){Ea[v[C+8>>2]](C,d)}v[a+8>>2]=0;if(x[n+104>>1]>e>>>0){a=a+12|0;e=e+1|0;continue}break}a=v[n+112>>2]}if(a){Ea[v[C+8>>2]](C,a)}v[n+112>>2]=0}Ie:{if(!v[n+120>>2]){break Ie}a=v[n+20>>2];if(a){Ea[v[C+8>>2]](C,a)}if(!P){break Ie}Je:{if(!P){break Je}a=v[P+24>>2];if(!a){break Je}Ea[a|0](P)}if(P){Ea[v[C+8>>2]](C,P)}}e=v[n+120>>2];break c}t[H|0]=w[n+55|0];t[H+1|0]=x[n+54>>1];t[H+2|0]=v[n+52>>2]>>>8;t[H+3|0]=v[n+52>>2];t[H+4|0]=w[n+61|0];h=w[n+60|0];i=16<<e;d=(d<<4)-i|0;t[H+11|0]=d;t[H+10|0]=d>>>8;t[H+9|0]=e;t[H+8|0]=e>>>8;t[H+7|0]=i;t[H+6|0]=i>>>8;t[H+5|0]=h;e=0;P=Ua(X,24,0,x[n+60>>1],0,n+24|0);if(v[n+24>>2]){break d}e=Ua(X,4,0,x[n+60>>1],0,n+24|0);if(v[n+24>>2]){break d}d=vb(a,B(x[n+60>>1],20));v[n+24>>2]=d;if(d){break d}i=0;d=0;if(x[n+60>>1]){while(1){h=B(d,24)+P|0;pa=h,qa=tc(a),v[pa>>2]=qa;pa=h,qa=tc(a),v[pa+4>>2]=qa;pa=h,qa=tc(a),v[pa+8>>2]=qa;pa=h,qa=tc(a),v[pa+12>>2]=qa;pa=h,qa=tc(a),v[pa+16>>2]=qa;f=i;i=v[h>>2];if(f>>>0>=i>>>0){pb(a);v[n+24>>2]=8;break d}v[(d<<2)+e>>2]=h;d=d+1|0;if(d>>>0<x[n+60>>1]){continue}break}}pb(a);Uc(e,x[n+60>>1],4,313);r=x[n+60>>1];l=B(r,20)+44|0;f=0;k=v[n+64>>2];m=v[n+56>>2];i=r<<4|12;d=i;if(r){while(1){Ke:{o=v[(f<<2)+e>>2];Le:{if(v[o+4>>2]!=(l|0)){break Le}j=v[o+8>>2];if(j>>>0>m>>>0|m-j>>>0<l>>>0){break Le}h=v[o+12>>2];if(h>>>0>k>>>0|k-h>>>0<d>>>0){break Le}if(h>>>0>=j>>>0){break Ke}}v[n+24>>2]=8;break d}v[o+20>>2]=d;d=(h+3&-4)+d|0;l=(j+3&-4)+l|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}Me:{h=v[n+72>>2];if(!h){break Me}if((h|0)==(l|0)){l=v[n+76>>2]+l|0;if(m>>>0>=l>>>0){break Me}}v[n+24>>2]=8;break d}Ne:{h=v[n+84>>2];if(!h){break Ne}if((h|0)==(l+3&-4)){l=h+v[n+88>>2]|0;if(m>>>0>=l>>>0){break Ne}}v[n+24>>2]=8;break d}if(!((l|0)==(m|0)?(d|0)==(k|0):0)){v[n+24>>2]=8;break d}H=Ua(X,1,i,k,H,n+24|0);if(v[n+24>>2]){break d}if(x[n+60>>1]){d=H+12|0;i=0;while(1){k=B(i,24)+P|0;t[d|0]=w[k+3|0];t[d+1|0]=x[k+2>>1];t[d+2|0]=v[k>>2]>>>8;t[d+3|0]=v[k>>2];t[d+4|0]=w[k+19|0];t[d+5|0]=x[k+18>>1];t[d+6|0]=v[k+16>>2]>>>8;t[d+7|0]=v[k+16>>2];t[d+8|0]=w[k+23|0];t[d+9|0]=x[k+22>>1];t[d+10|0]=v[k+20>>2]>>>8;t[d+11|0]=v[k+20>>2];t[d+12|0]=w[k+15|0];t[d+13|0]=x[k+14>>1];t[d+14|0]=v[k+12>>2]>>>8;t[d+15|0]=v[k+12>>2];h=Ya(a,v[k+4>>2]);v[n+24>>2]=h;if(h){break d}h=vb(a,v[k+8>>2]);v[n+24>>2]=h;if(h){break d}Oe:{f=v[k+8>>2];h=v[k+12>>2];if((f|0)==(h|0)){Ta(v[k+20>>2]+H|0,v[a+32>>2],f);break Oe}v[n+124>>2]=h;l=v[k+20>>2]+H|0;j=v[a+32>>2];f=v[k+8>>2];m=Ca+-64|0;Ca=m;h=6;o=n+124|0;Pe:{if(!l|(!X|!o)){break Pe}v[m+20>>2]=l;v[m+12>>2]=f;v[m+8>>2]=j;f=v[o>>2];v[m+48>>2]=X;v[m+44>>2]=266;v[m+40>>2]=267;v[m+24>>2]=f;if(Cq(m+8|0,15)){break Pe}j=Aq(m+8|0,4);if((j|0)!=1){r=v[m+36>>2];Qe:{if(!r){break Qe}h=v[m+44>>2];if(!h){break Qe}l=v[r+20>>2];if(l){f=v[l>>2];if((f&-2)==4){Ea[h|0](v[m+48>>2],v[l+12>>2]);f=v[l>>2]}if((f|0)==6){Ea[v[m+44>>2]](v[m+48>>2],v[l+4>>2])}v[l+28>>2]=0;v[l+32>>2]=0;v[l>>2]=0;r=v[l+40>>2];v[l+52>>2]=r;v[l+48>>2]=r;h=v[l+56>>2];if(h){h=Ea[h|0](0,0,0)|0;v[l+60>>2]=h;v[m+56>>2]=h;r=v[l+40>>2]}Ea[v[m+44>>2]](v[m+48>>2],r);Ea[v[m+44>>2]](v[m+48>>2],v[l+36>>2]);Ea[v[m+44>>2]](v[m+48>>2],l);r=v[m+36>>2];h=v[m+44>>2]}Ea[h|0](v[m+48>>2],r)}h=0;f=j+5|0;if(f>>>0>=6){break Pe}h=v[(f<<2)+25268>>2];break Pe}v[o>>2]=v[m+28>>2];h=0;r=v[m+36>>2];if(!r){break Pe}o=v[m+44>>2];if(!o){break Pe}j=v[r+20>>2];if(j){f=v[j>>2];if((f&-2)==4){Ea[o|0](v[m+48>>2],v[j+12>>2]);f=v[j>>2]}if((f|0)==6){Ea[v[m+44>>2]](v[m+48>>2],v[j+4>>2])}v[j+28>>2]=0;v[j+32>>2]=0;v[j>>2]=0;r=v[j+40>>2];v[j+52>>2]=r;v[j+48>>2]=r;f=v[j+56>>2];if(f){f=Ea[f|0](0,0,0)|0;v[j+60>>2]=f;v[m+56>>2]=f;r=v[j+40>>2]}Ea[v[m+44>>2]](v[m+48>>2],r);Ea[v[m+44>>2]](v[m+48>>2],v[j+36>>2]);Ea[v[m+44>>2]](v[m+48>>2],j);r=v[m+36>>2];o=v[m+44>>2]}Ea[o|0](v[m+48>>2],r)}Ca=m- -64|0;v[n+24>>2]=h;if(!h){if(v[n+124>>2]==v[k+12>>2]){break Oe}v[n+24>>2]=8}pb(a);break d}pb(a);j=v[k+12>>2];f=v[k+20>>2];h=j+f|0;if(h&3){Ra(h+H|0,0,((j^-1)-f&3)+1|0)}d=d+16|0;i=i+1|0;if(i>>>0<x[n+60>>1]){continue}break}}d=v[n+64>>2];v[g+32>>2]=0;v[g+8>>2]=0;v[g+4>>2]=d;v[g>>2]=H;v[g+20>>2]=0;v[g+24>>2]=0;a=v[a+28>>2];v[g+24>>2]=314;v[g+28>>2]=a;ds(v[b+104>>2],v[b+8>>2]>>>10&1);v[b+104>>2]=g;v[b+8>>2]=v[b+8>>2]&-1025}if(P){Ea[v[X+8>>2]](X,P)}if(e){Ea[v[X+8>>2]](X,e)}if(!v[n+24>>2]){v[n+12>>2]=0;break b}if(H){Ea[v[X+8>>2]](X,H)}Re:{if(!g){break Re}a=v[g+24>>2];if(!a){break Re}Ea[a|0](g)}if(g){Ea[v[X+8>>2]](X,g)}e=v[n+24>>2]}v[n+12>>2]=e;if(e){break a}}a=v[b+104>>2];P=v[a+8>>2];d=Ob(a,n+12|0);e=v[n+12>>2];if(!e){continue}break}}Ca=n+128|0;return e|0}function Km(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,m=0,p=0,q=0,r=0,s=0,z=0,C=0,E=0,H=0,I=0,J=0,K=0,M=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Qa=0,Sa=0,Ua=0,Wa=0,Xa=0,Ya=0;a:{b:{if(!(v[a+20>>2]?1:v[a+16>>2])|!v[a+8>>2]){break b}h=v[a>>2];if(!v[b+8>>2]|(h|0)!=v[b+84>>2]){break b}v[a+176>>2]=c;v[a+180>>2]=d;v[a+168>>2]=b;g=Ca+-64|0;Ca=g;f=v[b+40>>2];c:{d:{e:{la=b;b=v[b+36>>2];if((b|0)>=1){if((f|0)>0){break c}if((b|0)!=1280){break e}v[la+40>>2]=1024;v[g>>2]=1024;hb(h,2,1977,g);break c}if((f|0)>0){break d}hb(h,2,1921,0);v[la+36>>2]=384;v[la+40>>2]=288;break c}b=eQ(b,0,3,0);i=Da;b=!i&b>>>0<4?1:(i&3)<<30|b>>>2;v[la+40>>2]=b;v[g+16>>2]=b;hb(h,2,1977,g+16|0);break c}if(!((f|0)!=1024|(b|0)>0)){v[la+36>>2]=1280;v[g+32>>2]=1280;hb(h,2,2011,g+32|0);break c}b=gQ(f<<2,f>>>30|0,3,0);v[la+36>>2]=b;v[g+48>>2]=b;hb(h,2,2011,g+48|0)}Ca=g- -64|0;f:{f=v[v[a>>2]+16>>2];b=v[a+12>>2];if((f|0)!=(b|0)){if(b>>>0>=f>>>0){break f}g=a;i=v[a+8>>2];h=v[i+40>>2];if(h){f=v[v[i>>2]+16>>2];g:{if(f>>>0<=b>>>0){break g}Om(h,b);b=b+1|0;if((f|0)==(b|0)){break g}while(1){Om(v[i+40>>2],b);b=b+1|0;if((f|0)!=(b|0)){continue}break}}b=f}v[g+12>>2]=b}v[v[v[a+116>>2]+32>>2]+36>>2]=v[la+64>>2]!=0;b=v[a+116>>2];f=v[la+68>>2];h:{if(!f){v[b+36>>2]=0;break h}Na=b,Oa=dk(f),v[Na+36>>2]=Oa}v[v[a+116>>2]>>2]=v[a+92>>2];t[v[a+116>>2]+48|0]=w[v[la+88>>2]+36|0];p=A[a+80>>3];i:{if(p!=0){break i}p=1;b=v[a+148>>2];if(!b){break i}f=v[a+144>>2];if(!f){break i}g=v[a+24>>2];if(!g){break i}i=v[a+28>>2];if(!i){break i}p=+(b|0)/+(f|0)/(+(g|0)/+(i|0))}A[a+192>>3]=p;Aa=a+120|0;b=v[Aa>>2];v[Aa>>2]=0;v[a+124>>2]=b;Nm(v[a+748>>2],v[a+760>>2]);Nm(v[a+744>>2],v[a+756>>2]);Nm(v[a+740>>2],v[a+752>>2]);z=v[la+8>>2];j:{if((z|0)<=0){break j}while(1){ja=v[la+20>>2]+B($,56)|0;f=ja;b=v[f>>2];g=v[f+4>>2];f=g;k:{if((d|0)<(f|0)?1:(d|0)<=(f|0)?c>>>0<b>>>0:0){break k}k=g+v[ja+12>>2]|0;f=b+v[ja+8>>2]|0;k=f>>>0<b>>>0?k+1|0:k;if((d|0)>(k|0)?1:(d|0)>=(k|0)?c>>>0>=f>>>0:0){break k}b=v[a+132>>2];l:{if((b|0)>(_|0)){z=v[a+128>>2];break l}b=b+100|0;v[a+132>>2]=b;z=gb(v[a+128>>2],b<<5);v[a+128>>2]=z}ba=(_<<5)+z|0;sa=0;E=Ca-224|0;Ca=E;m:{if(v[ja+24>>2]>=v[v[a+168>>2]>>2]){hb(v[a>>2],2,365467,0);b=0;break m}if(!v[ja+48>>2]){hb(v[a>>2],2,365482,0);b=0;break m}Ib(v[a+224>>2]);v[a+640>>2]=0;v[a+644>>2]=0;v[a+224>>2]=0;v[a+684>>2]=0;v[a+448>>2]=0;v[a+452>>2]=0;v[a+368>>2]=0;v[a+240>>2]=0;v[a+216>>2]=ja;b=v[a+168>>2];v[a+660>>2]=v[b+56>>2];t[a+408|0]=0;v[a+392>>2]=0;v[a+396>>2]=0;v[a+296>>2]=0;v[a+300>>2]=0;v[a+304>>2]=0;v[a+308>>2]=0;v[a+312>>2]=0;v[a+316>>2]=0;v[a+320>>2]=0;v[a+324>>2]=0;v[a+400>>2]=v[b+36>>2];v[a+404>>2]=v[b+40>>2];v[a+620>>2]=0;v[a+612>>2]=0;v[a+616>>2]=0;v[a+440>>2]=0;v[a+444>>2]=0;v[a+412>>2]=0;v[a+600>>2]=0;t[a+409|0]=0;t[a+410|0]=1;i=0;z=0;m=Ca-48|0;Ca=m;k=v[ja+44>>2];n:{if(!k|!w[k|0]){break n}g=Tb(k,59);o:{if(!g){h=1;b=0;break o}h=1;f=g+1|0;g=Pb(f);i=Tb(f,59);b=1;if(!i){break o}f=i+1|0;i=Pb(f);f=Tb(f,59);b=2;if(!f){break o}b=f+1|0;z=Pb(b);h=0;b=Tb(b,59)?4:3}if(!$a(k,365934,7)){f=a;p:{q:{switch(b|0){case 0:b=v[a>>2];v[m>>2]=k;hb(b,6,365942,m);break n;default:b=0;if(i){break p}break;case 1:break q}}b=1}v[f+624>>2]=b;f=v[a+216>>2];b=v[f>>2];f=v[f+4>>2];v[a+368>>2]=v[a+368>>2]|2;v[a+660>>2]=2;t[a+410|0]=0;i=v[a+176>>2];h=i-b|0;f=v[a+180>>2]-((b>>>0>i>>>0)+f|0)|0;b=g?g:1;Na=a,Oa=fQ(h,f,b,b>>31),v[Na+628>>2]=Oa;break n}r:{b=a;if($a(k,365969,10)){if($a(k,365980,12)){break r}f=2}else{f=3}v[b+624>>2]=f;if(h){b=v[a>>2];v[m+16>>2]=k;hb(b,6,365942,m+16|0);break n}f=v[a+216>>2];b=v[f>>2];f=v[f+4>>2];h=(g|0)<(i|0);v[a+636>>2]=h?i:g;v[a+632>>2]=h?g:i;t[a+410|0]=0;v[a+368>>2]=v[a+368>>2]|4;g=v[a+176>>2];i=g-b|0;f=v[a+180>>2]-((b>>>0>g>>>0)+f|0)|0;b=z?z:1;Na=a,Oa=fQ(i,f,b,b>>31),v[Na+628>>2]=Oa;break n}b=v[a>>2];v[m+32>>2]=k;hb(b,7,365993,m+32|0)}Ca=m+48|0;f=a;if(v[f+368>>2]){b=1}else{s:{i=v[ja+48>>2];t:while(1){u:{v:{b=w[i|0];if((b|0)!=92){if((b|0)==123){break v}if(b){break u}b=0;break s}if(!w[i+1|0]){break u}i=i+2|0;continue}while(1){b=i;i=b+1|0;g=w[b+1|0];if((g|0)!=92){if(!g|(g|0)==125){continue t}continue}w:{x:{switch(w[b+2|0]-99|0){case 10:if(w[b+3|0]!=111|w[b+4|0]!=118|w[b+5|0]!=101){continue}break w;case 0:if(w[b+3|0]!=108|w[b+4|0]!=105|w[b+5|0]!=112){continue}break w;case 6:if(w[b+3|0]!=99|w[b+4|0]!=108|(w[b+5|0]!=105|w[b+6|0]!=112)){continue}break w;case 13:break w;case 12:break x;default:continue}}if(w[b+3|0]!=114|w[b+4|0]!=103){continue}}break}b=1;break s}i=i+1|0;continue}}}v[f+676>>2]=b;Lm(a,0);b=v[a+220>>2];v[a+248>>2]=v[b+104>>2];v[a+252>>2]=v[b+136>>2];i=v[ja+48>>2];v[E+96>>2]=i;da=a+680|0;while(1){y:{z:{b=w[i|0];f=(b|0)==123;if(!f){if(!b){break y}break z}b=Tb(i,125);if(!b){break z}b=Ju(a,i,b,1,0);v[E+96>>2]=b;if(w[b|0]==125){i=b+1|0;v[E+96>>2]=i;continue}O(365553,365277,1929,365563);L()}A:{if(v[a+600>>2]){b=f?i+1|0:i;while(1){f=w[b|0];if(!(!f|(f|0)==123)){b=b+1|0;continue}break}v[E+96>>2]=b;k=b-i|0;g=65532;break A}k=0;i=0;z=Ca-16|0;Ca=z;b=v[E+96>>2];v[z+12>>2]=b;C=E;B:{C:{f=w[b|0];if((f|0)!=92){if((f|0)!=9){break C}f=32;b=b+1|0;break B}D:{E:{F:{G:{H:{switch(w[b+1|0]-78|0){case 32:if(v[a+660>>2]!=2){break G}break;case 47:break D;case 45:break E;case 26:break F;case 0:break H;default:break C}}f=10;b=b+2|0;break B}f=32;b=b+2|0;break B}f=160;b=b+2|0;break B}f=123;b=b+2|0;break B}f=125;b=b+2|0;break B}m=v[z+12>>2];h=w[m|0];I:{J:{if(!(h&128)){break J}g=-1;f=64;while(1){b=g+1|0;if(f&h){f=f>>>1|0;g=b;continue}break}if(g>>>0>3){break J}g=w[m+1|0];if((g&192)!=128){break J}q=m+1|0;f=h&f-1;while(1){if((b|0)<1){break J}f=g&63|f<<6;b=b-1|0;g=w[q+1|0];r=q+1|0;q=r;if((g&192)==128){continue}break}if(!b){break I}}r=m+1|0;f=h}v[z+12>>2]=r;b=v[z+12>>2]}v[C+96>>2]=b;Ca=z+16|0;g=f;if(!f){break y}}K:{L:{f=v[a+224>>2];M:{if(!f){break M}b=v[a+684>>2];h=v[a+724>>2];if((b|0)<(h|0)){break K}r=b;b=((h|0)<1073741823?h:1073741823)<<1;if((r|0)>=(b|0)){break M}v[164114]=0;Na=da,Oa=Xb(v[da>>2],b,352),v[Na>>2]=Oa;if(!v[164114]){break L}f=v[a+224>>2]}Ib(f);v[a+640>>2]=0;v[a+644>>2]=0;v[a+224>>2]=0;v[a+684>>2]=0;v[a+448>>2]=0;v[a+452>>2]=0;b=0;break m}v[a+724>>2]=b;b=v[a+684>>2]}b=Ra(v[da>>2]+B(b,352)|0,0,352);N:{if(i){v[b+32>>2]=i;v[b+36>>2]=k;v[b+40>>2]=v[a+600>>2];f=b;p=A[a+440>>3];O:{if(D(p)<2147483648){h=~~p;break O}h=-2147483648}v[f+44>>2]=h;v[b>>2]=g;v[b+8>>2]=v[a+224>>2];break N}v[b>>2]=g;f=v[a+224>>2];v[b+8>>2]=f;Df(f)}f=v[a+376>>2];v[E+176>>2]=f;t[b+140|0]=f;f=v[a+412>>2];if((f|0)>=1){h=w[E+176|0];r=h+f|0;f=eQ(f,0,h,0)+127|0;k=Da;Ec(E+176|0,r-gQ(f,f>>>0<127?k+1|0:k,255,0)|0,1)}v[b+124>>2]=v[E+176>>2];f=v[a+380>>2];v[E+176>>2]=f;t[b+141|0]=f;f=v[a+412>>2];if((f|0)>0){h=w[E+176|0];k=h+f|0;f=eQ(f,0,h,0)+127|0;C=Da;Ec(E+176|0,k-gQ(f,f>>>0<127?C+1|0:C,255,0)|0,1)}v[b+128>>2]=v[E+176>>2];f=v[a+384>>2];v[E+176>>2]=f;t[b+142|0]=f;f=v[a+412>>2];if((f|0)>=1){h=w[E+176|0];k=h+f|0;f=eQ(f,0,h,0)+127|0;h=Da;Ec(E+176|0,k-gQ(f,f>>>0<127?h+1|0:h,255,0)|0,1)}v[b+132>>2]=v[E+176>>2];f=v[a+388>>2];v[E+176>>2]=f;t[b+143|0]=f;f=v[a+412>>2];if((f|0)>=1){h=w[E+176|0];k=h+f|0;f=eQ(f,0,h,0)+127|0;r=Da;Ec(E+176|0,k-gQ(f,f>>>0<127?r+1|0:r,255,0)|0,1)}v[b+136>>2]=v[E+176>>2];v[b+160>>2]=v[a+612>>2];v[b+164>>2]=v[a+616>>2];v[b+168>>2]=v[a+620>>2];V=A[a+184>>3];p=A[a+232>>3]*V;A[b+24>>3]=p;v[b+180>>2]=t[a+411|0];A[b+184>>3]=A[a+416>>3];A[b+192>>3]=A[a+424>>3];A[b+200>>3]=A[a+432>>3];s=A[a+328>>3];A[b+248>>3]=s;H=A[a+336>>3];A[b+256>>3]=H;v[b+272>>2]=v[a+372>>2];A[b+280>>3]=A[a+352>>3];A[b+288>>3]=A[a+360>>3];ca=A[a+344>>3];A[b+296>>3]=ca;v[b+312>>2]=v[a+648>>2];v[b+308>>2]=v[a+652>>2];f=v[a+244>>2];v[b+316>>2]=f;if(!(!v[v[b+8>>2]+16>>2]|g>>>0<=752)){v[b+316>>2]=f|4}A[b+208>>3]=A[a+256>>3];A[b+216>>3]=A[a+264>>3];A[b+224>>3]=A[a+272>>3];A[b+232>>3]=A[a+280>>3];A[b+240>>3]=A[a+288>>3];f=v[a+412>>2];v[b+304>>2]=0;v[b+320>>2]=f;v[b+264>>2]=0;v[b+268>>2]=1072693248;if(!i){f=b;V=hQ(s*(V*ca)*64);P:{if(D(V)<2147483648){g=~~V;break P}g=-2147483648}v[f+304>>2]=g;V=v[a+88>>2]?p*H:256;p=p/V;A[b+264>>3]=1/p;A[b+248>>3]=s*p;A[b+256>>3]=H*p;A[b+24>>3]=V}v[a+620>>2]=0;v[a+612>>2]=0;v[a+616>>2]=0;v[a+684>>2]=v[a+684>>2]+1;i=v[E+96>>2];continue}break}q=v[a+684>>2];if(!q){Ib(v[a+224>>2]);v[a+640>>2]=0;v[a+644>>2]=0;v[a+224>>2]=0;v[a+684>>2]=0;v[a+448>>2]=0;v[a+452>>2]=0;b=0;break m}i=1;z=v[a+680>>2];t[z+121|0]=1;if((q|0)>=2){m=v[z+160>>2];while(1){b=z+B(i,352)|0;k=v[b+160>>2];f=b;g=1;Q:{if(v[b+164>>2]){break Q}g=1;if(!(!k|(k|0)==(m|0))){break Q}g=1;if(v[b+32>>2]){break Q}h=z+B(i-1|0,352)|0;g=1;if(v[h+32>>2]){break Q}C=v[h+8>>2];I=v[C+4>>2];r=v[b+8>>2];g=1;if((I|0)!=v[r+4>>2]){break Q}g=1;if(lc(v[C>>2],v[r>>2],I)){break Q}g=1;if(v[C+16>>2]!=v[r+16>>2]){break Q}g=1;if(A[h+24>>3]!=A[b+24>>3]){break Q}g=1;if(v[h+124>>2]!=v[b+124>>2]){break Q}g=1;if(v[h+128>>2]!=v[b+128>>2]){break Q}g=1;if(v[h+132>>2]!=v[b+132>>2]){break Q}g=1;if(v[h+136>>2]!=v[b+136>>2]){break Q}g=1;if(v[h+180>>2]!=v[b+180>>2]){break Q}g=1;if(A[h+184>>3]!=A[b+184>>3]){break Q}g=1;if(A[h+192>>3]!=A[b+192>>3]){break Q}g=1;if(A[h+200>>3]!=A[b+200>>3]){break Q}g=1;if(A[h+208>>3]!=A[b+208>>3]){break Q}g=1;if(A[h+216>>3]!=A[b+216>>3]){break Q}g=1;if(A[h+224>>3]!=A[b+224>>3]){break Q}g=1;if(A[h+232>>3]!=A[b+232>>3]){break Q}g=1;if(A[h+240>>3]!=A[b+240>>3]){break Q}g=1;if(A[h+248>>3]!=A[b+248>>3]){break Q}g=1;if(A[h+256>>3]!=A[b+256>>3]){break Q}g=1;if(v[h+272>>2]!=v[b+272>>2]){break Q}g=1;if(A[h+280>>3]!=A[b+280>>3]){break Q}g=1;if(A[h+288>>3]!=A[b+288>>3]){break Q}g=1;if(A[h+296>>3]!=A[b+296>>3]){break Q}g=1;if(v[h+308>>2]!=v[b+308>>2]){break Q}g=1;if(v[h+312>>2]!=v[b+312>>2]){break Q}g=((v[b+316>>2]^v[h+316>>2])&-5)!=0}t[f+121|0]=g;m=k?k:m;i=i+1|0;if((q|0)!=(i|0)){continue}break}}v[v[a+116>>2]+24>>2]=v[a+664>>2]==-1?64:272;z=v[a+680>>2];m=v[a+684>>2];b=0;k=ek();R:{if(!m){break R}f=1517976186;i=0;while(1){g=f;q=z+B(i,352)|0;f=Ea[v[k+32>>2]](k,v[q>>2],v[k- -64>>2])|0;v[q+20>>2]=f;S:{if(!((f|0)!=1516858984?(f|0)!=1517910393:0)){f=1517976186;h=1;if((g|0)==1517976186){break S}v[q+20>>2]=g;f=g}h=b}b=h;i=i+1|0;if((m|0)!=(i|0)){continue}break}f=0;g=m-1|0;T:{if(!b|(g|0)<0){break T}q=m&1;U:{if(!g){b=1517976186;break U}k=m&-2;b=1517976186;while(1){h=z+B(g,352)|0;i=v[h+20>>2];V:{if((i|0)!=1516858984?(i|0)!=1517910393:0){break V}i=1517976186;if((b|0)==1517976186){break V}v[h+20>>2]=b;i=b}h=h-332|0;b=v[h>>2];W:{if((b|0)!=1517910393?(b|0)!=1516858984:0){break W}b=1517976186;if((i|0)==1517976186){break W}v[h>>2]=i;b=i}g=g-2|0;k=k-2|0;if(k){continue}break}}if(!q){break T}g=z+B(g,352)|0;i=v[g+20>>2];if((b|0)==1517976186|((i|0)!=1516858984?(i|0)!=1517910393:0)){break T}v[g+20>>2]=b}while(1){X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{i=z+B(f,352)|0;b=v[i>>2];g=b>>>8|0;switch(g|0){case 1:case 2:case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:break $;case 32:break da;case 24:break ea;case 23:break fa;case 6:break ga;case 3:break ha;case 0:break ia;default:break ja}}switch(g-254|0){case 1:break ba;case 0:break ca;default:break aa}}if((b|0)==173){break Y}break X}if((b|0)==847){break Y}break X}if((b|0)==1564){break Y}break X}if((b&-2)==6068){break Y}break X}if(b-6155>>>0<4){break Y}break X}switch(b-8203|0){case 0:case 1:case 2:case 3:case 4:case 31:case 32:case 33:case 34:case 35:break Y;default:break _}}if((b|0)==65279|(b&-16)==65024){break Y}break X}if(b-65520>>>0<9){break Y}break X}if((g|0)==465){break Z}}if((b&-4096)==917504){break Y}break X}if((b&-16)!=8288){break X}break Y}if(b-119155>>>0>=8){break X}}t[i+4|0]=1}f=f+1|0;if((m|0)!=(f|0)){continue}break}if(!m){break R}if(!(v[z+32>>2]|w[z+4|0])){Tu(v[a+8>>2],v[z+8>>2],v[z>>2],z+12|0,z+16|0)}i=0;v[z+324>>2]=0;b=1;if((m|0)==1){break R}while(1){f=z+B(b,352)|0;if(!(v[f+32>>2]|w[f+4|0])){Tu(v[a+8>>2],v[f+8>>2],v[f>>2],f+12|0,f+16|0)}ka:{la:{ma:{if(v[f-344>>2]!=v[f+8>>2]){break ma}h=w[f+4|0];g=f-352|0;if(w[f+121|0]|(!(v[g+12>>2]!=v[f+12>>2]?h:1)|v[g+20>>2]!=v[f+20>>2])){break ma}if(v[g+316>>2]==v[f+316>>2]){break la}}i=i+1|0;break ka}if(!h){break ka}v[f+12>>2]=v[g+12>>2]}v[f+324>>2]=i;b=b+1|0;if((m|0)!=(b|0)){continue}break}}i=0;g=0;z=0;Ba=0;aa=Ca-32|0;Ca=aa;ia=v[da>>2];h=v[da+4>>2];U=v[a+116>>2];na:{if(h>>>0>y[U+4>>2]){v[164114]=0;Na=U,Oa=Xb(v[U+8>>2],h,4),v[Na+8>>2]=Oa;if(v[164114]){break na}v[164114]=0;Na=U,Oa=Xb(v[U+12>>2],h,4),v[Na+12>>2]=Oa;if(v[164114]){break na}if(w[U+48|0]){v[164114]=0;Na=U,Oa=Xb(v[U+44>>2],h,4),v[Na+44>>2]=Oa;if(v[164114]){break na}}v[164114]=0;Na=U,Oa=Xb(v[U+16>>2],h,1),v[Na+16>>2]=Oa;if(v[164114]){break na}v[164114]=0;Na=U,Oa=Xb(v[U+20>>2],h,4),v[Na+20>>2]=Oa;if(v[164114]){break na}v[U+4>>2]=h;h=v[da+4>>2]}if((h|0)>=1){while(1){b=v[U+8>>2];f=B(i,352)+ia|0;v[b+(i<<2)>>2]=v[f>>2];oa:{pa:{if(v[f>>2]==10){break pa}h=v[da+4>>2];if((h-1|0)==(i|0)){break pa}i=i+1|0;break oa}v[aa+4>>2]=v[U+24>>2];f=g<<2;z=f+b|0;h=f+v[U+12>>2]|0;W=(i-g|0)+1|0;m=W;if(m){while(1){b=h;k=v[z>>2];if(k>>>0>=1114112){k=366048}else{k=(w[(x[(k>>>7&33554430)+393280>>1]+(k&255)|0)+366144|0]<<2)+366048|0}v[b>>2]=v[k>>2];z=z+4|0;h=h+4|0;m=m-1|0;if(m){continue}break}}z=0;C=0;if(w[U+48|0]){m=f+v[U+8>>2]|0;k=f+v[U+12>>2]|0;C=f+v[U+44>>2]|0;q=C;I=0;if((W|0)>=1){while(1){h=0;qa:{if(v[k>>2]!=64){break qa}b=v[m>>2];if(b>>>0>65535){break qa}r=w[(x[(b>>>6&67108862)+401984>>1]+(b&127)|0)+405056|0];if(!r){break qa}b=b+v[(x[(b>>>5&134217726)+403008>>1]+(b&63)<<2)+406848>>2]|0;if(r&2){h=b|-2147483648;break qa}h=b&2147483647}v[q>>2]=h;m=m+4|0;k=k+4|0;q=q+4|0;I=I+1|0;if((W|0)!=(I|0)){continue}break}}}Ha=f+v[U+12>>2]|0;La=v[U+16>>2]+g|0;g=0;m=0;r=0;Y=0;J=0;na=0;M=Ca-9040|0;Ca=M;b=1;ra:{if(!W){break ra}h=0;b=Va(36);sa:{if(b){u[b+20>>1]=255;v[b+28>>2]=0;v[b+32>>2]=0;q=128;v[b+16>>2]=128;v[b+8>>2]=-1;v[b+12>>2]=-1;v[b+4>>2]=b;ta:{if((W|0)<1){f=b;break ta}if(!C){f=b;while(1){k=v[Ha+(J<<2)>>2];if(!(v[f+24>>2]|q&32768?0:(k|0)==(q|0))){h=Va(36);if(!h){h=0;break ta}v[h+8>>2]=0;v[h+12>>2]=0;u[h+20>>1]=0;v[h+28>>2]=0;v[h+32>>2]=0;v[h>>2]=0;v[h+4>>2]=0;v[h+16>>2]=k;v[h+8>>2]=J;v[f+4>>2]=h;v[f+12>>2]=J-v[f+8>>2];v[h+24>>2]=0;v[h>>2]=f;q=k;f=h}J=J+1|0;if((W|0)!=(J|0)){continue}break}break ta}f=b;while(1){k=J<<2;I=v[k+C>>2];k=v[k+Ha>>2];if(v[f+24>>2]|q&32768?1:I|(k|0)!=(q|0)){h=Va(36);if(!h){h=0;break ta}v[h+8>>2]=0;v[h+12>>2]=0;u[h+20>>1]=0;v[h+28>>2]=0;v[h+32>>2]=0;v[h>>2]=0;v[h+4>>2]=0;v[h+16>>2]=k;v[h+8>>2]=J;v[f+4>>2]=h;v[f+12>>2]=J-v[f+8>>2];v[h+24>>2]=I;v[h>>2]=f;q=k;f=h}J=J+1|0;if((W|0)!=(J|0)){continue}break}}v[f+4>>2]=b;v[f+12>>2]=W-v[f+8>>2];v[b>>2]=f;if(h){break sa}v[f+4>>2]=0;while(1){f=v[b+4>>2];Pa(b);b=f;if(b){continue}break}}b=0}ua:{if(!b){break ua}P=b;h=v[aa+4>>2];va:{if(h&16){b=h;break va}f=P;while(1){f=v[f+4>>2];b=v[f+16>>2];if((b|0)==128){b=h;break va}if((b|0)==32864){g=g-((g|0)>0)|0;continue}if(b&32768){g=g+1|0;continue}if(g){continue}g=0;if(!(b&256)){continue}break}v[aa+4>>2]=b&1|272}Ra(M+8528|0,0,508);wa:{oa=Hu();if(!oa){break wa}J=1;S=b&1;q=128;g=v[P+4>>2];h=v[g+16>>2];xa:{if((h|0)==128){break xa}R=g+16|0;q=64;k=S;J=0;f=0;while(1){ya:{t[g+21|0]=J;za:{if(h&1052672){Aa:{if(h&16){b=v[g+12>>2];if(!b){break Aa}C=h&1;h=h&16384?C|272:64;I=C|2;R=!Y;while(1){r=(k+I&254)-C|0;Ba:{if(r<<24<2113929216?m|Y:1){m=m+R|0;break Ba}m=(M+512|0)+(f<<4)|0;v[m+12>>2]=J;t[m+4|0]=k;v[m+8>>2]=0;v[m>>2]=q;f=f+1|0;q=h;k=r;m=0}b=b-1|0;if(b){continue}break}break Aa}if((h|0)!=4128){break Aa}h=v[g+12>>2];if(!h){break Aa}while(1){Ca:{if(!f){f=0;break Ca}b=f-1|0;C=(M+512|0)+(b<<4)|0;if(v[C+8>>2]){break Aa}if((m|0)>=1){m=m-1|0;break Ca}J=v[C+12>>2];q=v[C>>2];k=w[C+4|0];f=b}h=h-1|0;if(h){continue}break}}t[g+20|0]=255;h=v[g+4>>2];v[M+4>>2]=h;b=v[g>>2];if(b){v[b+4>>2]=h;v[v[g+4>>2]>>2]=b}v[g>>2]=v[oa>>2];v[v[oa>>2]+4>>2]=g;v[g+4>>2]=oa;v[oa>>2]=g;g=M;break za}if((h|0)==32864){I=v[g+12>>2];if(!I){break za}while(1){Da:{if((Y|0)>=1){t[g+20|0]=k;Y=Y-1|0;break Da}if((na|0)>=1){C=0;Ea:{if(!f){break Ea}while(1){b=f-1|0;h=(M+512|0)+(b<<4)|0;if(!v[h+8>>2]){if((m|0)>=1){m=m-1|0;if(f){continue}break Ea}J=v[h+12>>2];q=v[h>>2];k=w[h+4|0];f=b;if(b){continue}break Ea}break}J=v[h+12>>2];q=v[h>>2];k=w[h+4|0];C=b}t[g+20|0]=k;J=J-1|0;t[g+21|0]=J;na=na-1|0;m=0;f=C;break Da}v[R>>2]=64;t[g+20|0]=k}I=I-1|0;if(I){continue}break}break za}Fa:{Ga:{Ha:{Ia:{if(h&32768){Ja:{switch(h-32832|0){case 0:break Ha;case 1:break Ia;default:break Ja}}if((h|0)!=33587264){break Fa}r=0;h=g;while(1){h=v[h+4>>2];b=v[h+16>>2];if((b|0)==128){break Ga}if((b|0)==32864){r=r-1|0;if((na|0)>=0){continue}break Ga}if(b&32768){r=r+1|0;continue}if(r){continue}r=0;if(!(b&256)){continue}break}if(!(b&1)){break Ga}r=(((k<<24>>24)%2|0)+k|0)+1|0;break Fa}if((h|0)==2107456){break ya}t[g+20|0]=k;if(q&64){break za}v[R>>2]=q;break za}r=(((k<<24>>24)%2|0)+k|0)+1|0;break Fa}r=(k-((k<<24>>24)%2|0)|0)+2|0;break Fa}r=(k-((k<<24>>24)%2|0)|0)+2|0}t[g+21|0]=J;t[g+20|0]=k;if(!(q&64)){v[R>>2]=q}J=((J|0)<124)+J|0;if(r<<24>>24<=125){na=na+1|0;if(!(m|Y)){b=(M+512|0)+(f<<4)|0;v[b+12>>2]=J;t[b+4|0]=k;v[b+8>>2]=1;v[b>>2]=q;f=f+1|0;q=64;Y=0;m=0;k=r;break za}m=!Y+m|0;k=r;break za}Y=Y+1|0}g=v[g+4>>2];R=g+16|0;h=v[g+16>>2];if((h|0)!=128){continue}}break}g=v[P+4>>2];q=v[g+16>>2];J=(q|0)==128;if(J){J=1;q=128;break xa}m=M+8528|4;b=g;k=0;while(1){f=t[b+21|0];if((f|0)<(k|0)){Ra(m+(f<<2)|0,0,k-f<<2)}k=(M+8528|0)+(f<<2)|0;h=v[k>>2];if(h){v[h+32>>2]=b;v[b+28>>2]=h}v[k>>2]=b;k=f;b=v[b+4>>2];if(v[b+16>>2]!=128){continue}break}}na=S?273:272;Ka:{La:{Ma:{Na:{Oa:{if(!g){g=0;break Oa}if(J){break Na}while(1){b=v[g>>2];Pa:{if(v[b+16>>2]!=(q|0)){b=g;break Pa}if(w[b+20|0]!=w[g+20|0]){b=g;break Pa}if(v[g+24>>2]){b=g;break Pa}if(v[b+24>>2]){b=g;break Pa}f=v[g+4>>2];v[b+4>>2]=f;v[f>>2]=b;v[b+12>>2]=v[b+12>>2]+v[g+12>>2];f=v[g+32>>2];if(f){v[f+28>>2]=b}v[b+32>>2]=f;Pa(g)}g=v[b+4>>2];q=v[g+16>>2];if((q|0)!=128){continue}break}g=v[P+4>>2];q=v[g+16>>2]}v[M+512>>2]=na;if((q|0)==128){break Na}C=g+16|0;Y=0;while(1){b=654872;f=v[g+28>>2];Qa:{if(!f){break Qa}if(v[f+16>>2]==128){b=f;break Qa}h=t[g+21|0];b=f;while(1){if((h|0)>=t[b+21|0]){break Qa}b=v[b+28>>2];b=b?b:654872;if(v[b+16>>2]!=128){continue}break}}h=v[g+32>>2];Ra:{if(!h){f=654872;break Ra}f=h;k=v[f+16>>2];if((k|0)==128){break Ra}m=t[g+21|0];while(1){if((k|0)!=32864?(m|0)>=t[f+21|0]:0){break Ra}f=v[f+32>>2];f=f?f:654872;k=v[f+16>>2];if((k|0)!=128){continue}break}}I=t[g+21|0];k=w[g+20|0];r=k<<24>>24;m=w[b+20|0];R=m<<24>>24;if((k|0)==(m|0)){k=v[b+16>>2]}else{k=((r|0)<(R|0)?R:r)&1?273:272}m=w[f+20|0];if((m|0)==(r&255)){m=v[f+16>>2]}else{m=m<<24>>24;m=((m|0)>(r|0)?m:r)&1?273:272}if(k&16){v[(M+512|0)+(I<<2)>>2]=k}J=(I|0)>(Y|0);Sa:{Ta:{if((q|0)!=544){if((q|0)!=524320){break Ta}q=v[g>>2];if(w[q+17|0]&128){v[C>>2]=64}Ua:{Va:{if((r|0)==(R|0)){if((b|0)!=(q|0)){break Va}q=v[g+4>>2];v[b+4>>2]=q;v[q>>2]=b;v[b+12>>2]=v[b+12>>2]+v[g+12>>2];if(h){v[h+28>>2]=b}v[b+32>>2]=h;Pa(g);break Ua}v[C>>2]=k}b=g}if((k|0)!=(m|0)){break Sa}g=v[b+4>>2];if(w[b+20|0]!=w[g+20|0]|(f|0)!=(g|0)){break Sa}b=v[f>>2];g=v[f+4>>2];v[b+4>>2]=g;v[g>>2]=b;v[b+12>>2]=v[b+12>>2]+v[f+12>>2];g=v[f+32>>2];if(g){v[g+28>>2]=b}v[b+32>>2]=g;Pa(f);break Sa}if(v[(M+512|0)+(I<<2)>>2]!=275){break Ta}v[C>>2]=546;if((m|0)!=524320){break Ta}v[f+16>>2]=546}b=g}Y=J?I:Y;g=v[b+4>>2];C=g+16|0;q=v[g+16>>2];if((q|0)!=128){continue}break}g=v[P+4>>2];q=v[g+16>>2];v[M+512>>2]=na;if((q|0)==128){break La}J=g+16|0;I=64;C=1;m=g;while(1){k=t[m+21|0];f=654872;b=v[m+28>>2];Wa:{if(!b){break Wa}f=b;if(v[b+16>>2]==128){break Wa}while(1){if((k|0)>=t[f+21|0]){break Wa}b=v[f+28>>2];f=b?b:654872;if(v[f+16>>2]!=128){continue}break}}b=v[m+32>>2];Xa:{if(!b){b=654872;break Xa}h=v[b+16>>2];if((h|0)==128){break Xa}while(1){if((h|0)!=32864?(k|0)>=t[b+21|0]:0){break Xa}b=v[b+32>>2];b=b?b:654872;h=v[b+16>>2];if((h|0)!=128){continue}break}}r=w[m+20|0];h=r<<24>>24;R=r;r=w[f+20|0];if((R|0)==(r|0)){f=v[f+16>>2]}else{f=r<<24>>24;f=((f|0)>(h|0)?f:h)&1?273:272}r=w[b+20|0];R=h&255;if((r|0)==(R|0)){b=v[b+16>>2]}else{b=r<<24>>24;b=((b|0)>(h|0)?b:h)&1?273:272}if(f&16){v[(M+512|0)+(k<<2)>>2]=f}Ya:{if((q|0)==275){v[J>>2]=273;m=v[m+4>>2];C=1;I=64;break Ya}Za:{if(!C|v[m+12>>2]!=1|(!(q&327680)|!(I&512))){break Za}if((b|0)!=(I|0)|((q|0)!=263200?(I|0)!=544:0)){break Za}v[J>>2]=f;q=f}_a:{$a:{ab:{bb:{if((q|0)==132128){if((b|0)!=544?(I|0)!=544:0){break bb}v[J>>2]=544;C=0;break $a}if(!(q&1024)){break ab}}v[J>>2]=64;C=1;break _a}C=1;if((q|0)!=544){break _a}}if(v[(M+512|0)+(k<<2)>>2]!=272){break _a}v[J>>2]=272;m=v[m+4>>2];I=(R|0)==w[m+20|0]?544:64;break Ya}m=v[m+4>>2];b=v[m>>2];f=w[b+20|0];h=w[m+20|0];if((f|0)==(h|0)){I=v[b+16>>2];break Ya}b=f<<24>>24;f=h<<24>>24;I=((b|0)>(f|0)?b:f)&1?273:272}J=m+16|0;q=v[m+16>>2];if((q|0)!=128){continue}break}break Ma}v[M+512>>2]=na;Y=0}if(!g){break Ka}}f=v[g+16>>2];if((f|0)==128){break Ka}while(1){b=v[g>>2];cb:{if(w[b+20|0]!=w[g+20|0]){b=g;break cb}db:{h=v[b+16>>2];if((h|0)==(f|0)){break db}if(!(h&64)){b=g;break cb}if(f&64){break db}b=g;break cb}if(v[g+24>>2]){b=g;break cb}if(v[b+24>>2]){b=g;break cb}f=v[g+4>>2];v[b+4>>2]=f;v[f>>2]=b;v[b+12>>2]=v[b+12>>2]+v[g+12>>2];f=v[g+32>>2];if(f){v[f+28>>2]=b}v[b+32>>2]=f;Pa(g)}g=v[b+4>>2];f=v[g+16>>2];if((f|0)!=128){continue}break}}v[M+8524>>2]=0;r=t[P+20|0];b=(Y<<2)+4|0;Ra(M+8528|0,0,b);J=Ra(M,0,b);v[J+8588>>2]=J+1472;v[J+8584>>2]=J+1408;v[J+8580>>2]=J+1344;v[J+8576>>2]=J+1280;v[J+8572>>2]=J+1216;v[J+8568>>2]=J+1152;v[J+8564>>2]=J+1088;v[J+8560>>2]=J+1024;v[J+8556>>2]=J+960;v[J+8552>>2]=J+896;v[J+8548>>2]=J+832;v[J+8544>>2]=J+768;v[J+8540>>2]=J+704;v[J+8536>>2]=J+640;v[J+8532>>2]=J+576;v[J+8528>>2]=J+512;if((Y|0)>15){b=16;while(1){Na=(J+8528|0)+(b<<2)|0,Oa=Va(252),v[Na>>2]=Oa;f=(b|0)==(Y|0);b=b+1|0;if(!f){continue}break}}m=v[P+4>>2];f=v[m+16>>2];if((f|0)!=128){C=v[J+8524>>2];R=0;q=0;while(1){b=q;h=v[m+24>>2];g=r;r=t[m+20|0];q=t[m+21|0];if(!((g|0)==(r|0)|(b|0)!=(q|0))){v[J+(b<<2)>>2]=0}eb:{fb:{if(!h|(f|0)!=64){break fb}f=q<<2;g=f+J|0;b=v[g>>2];if((h|0)<=-1){if((b|0)==63){break eb}f=v[f+(J+8528|0)>>2];v[g>>2]=b+1;v[f+(b<<2)>>2]=m;break fb}if((b|0)<1){break fb}k=v[f+(J+8528|0)>>2];while(1){f=b-1|0;I=v[k+(f<<2)>>2];if(!((h^v[I+24>>2])&2147483647)){v[g>>2]=f;C=Va(12);v[C+8>>2]=R;v[C+4>>2]=m;v[C>>2]=I;R=C;break fb}I=(b|0)>1;b=f;if(I){continue}break}}m=v[m+4>>2];f=v[m+16>>2];if((f|0)!=128){continue}}break}v[J+8524>>2]=C}Fm(J+8524|0);I=v[J+8524>>2];gb:{if(!I){break gb}r=I;while(1){k=v[r>>2];h=t[k+20|0];hb:{ib:{b=k;m=v[r+4>>2];C=(b|0)==(m|0);if(!C){while(1){f=273;jb:{kb:{lb:{g=v[b+16>>2];switch(g-544|0){case 0:case 2:break jb;case 1:break kb;default:break lb}}if((g|0)==273){break jb}}f=g}if(f&16){g=f;f=t[b+20|0];if((((g^f)&1)+f|0)==(h|0)){break ib}}b=v[b+4>>2];if((m|0)!=(b|0)){continue}break}}q=w[k+21|0];b=k;mb:{while(1){g=273;nb:{ob:{pb:{b=v[b>>2];f=v[b+16>>2];switch(f-544|0){case 0:case 2:break nb;case 1:break ob;default:break pb}}if((f|0)==273){break nb}if((f|0)==128){break mb}}g=f;if(!(f&16)){continue}}if((q|0)!=w[b+21|0]){continue}break}b=w[b+20|0];h=((b^g)&1)+b|0}b=k;if(C){break hb}while(1){qb:{rb:{sb:{tb:{f=v[b+16>>2];switch(f-544|0){case 0:case 2:break rb;case 1:break sb;default:break tb}}if((f|0)==273){break rb}}if(!(f&16)){break qb}}if((q|0)==w[b+21|0]){break ib}}b=v[b+4>>2];if((m|0)!=(b|0)){continue}break}break hb}b=h&1|272;v[m+16>>2]=b;v[k+16>>2]=b}r=v[r+8>>2];if(r){continue}break}if(!I){break gb}while(1){b=v[I+8>>2];Pa(I);I=b;if(b){continue}break}}b=16;if((Y|0)>=16){while(1){Pa(v[(J+8528|0)+(b<<2)>>2]);f=(b|0)!=(Y|0);b=b+1|0;if(f){continue}break}}f=v[P+4>>2];g=v[f+16>>2];ub:{if((g|0)==128){break ub}b=f;while(1){v[b+24>>2]=0;b=v[b+4>>2];if(v[b+16>>2]!=128){continue}break}if(!f|(g|0)==128){break ub}while(1){b=v[f>>2];vb:{if(w[b+20|0]!=w[f+20|0]){b=f;break vb}wb:{h=v[b+16>>2];if((h|0)==(g|0)){break wb}if(!(h&64)){b=f;break vb}if(g&64){break wb}b=f;break vb}if(v[f+24>>2]){b=f;break vb}if(v[b+24>>2]){b=f;break vb}g=v[f+4>>2];v[b+4>>2]=g;v[g>>2]=b;v[b+12>>2]=v[b+12>>2]+v[f+12>>2];g=v[f+32>>2];if(g){v[g+28>>2]=b}v[b+32>>2]=g;Pa(f)}f=v[b+4>>2];g=v[f+16>>2];if((g|0)!=128){continue}break}}h=v[P+4>>2];q=v[h+16>>2];xb:{if((q|0)==128){break xb}m=h;J=h+16|0;k=h;while(1){f=654872;b=v[k+28>>2];yb:{if(!b){break yb}if(v[b+16>>2]==128){f=b;break yb}g=t[k+21|0];f=b;while(1){if((g|0)>=t[f+21|0]){break yb}b=v[f+28>>2];f=b?b:654872;if(v[f+16>>2]!=128){continue}break}}b=v[k+32>>2];zb:{if(!b){b=654872;break zb}g=v[b+16>>2];if((g|0)==128){break zb}r=t[k+21|0];while(1){if((g|0)!=32864?(r|0)>=t[b+21|0]:0){break zb}b=v[b+32>>2];b=b?b:654872;g=v[b+16>>2];if((g|0)!=128){continue}break}}r=w[k+20|0];g=r<<24>>24;C=r;r=w[f+20|0];Ab:{if((C|0)==(r|0)){f=v[f+16>>2];f=f&512?273:f;break Ab}f=r<<24>>24;f=((f|0)>(g|0)?f:g)&1?273:272}r=w[b+20|0];Bb:{if((r|0)==(g&255)){b=v[b+16>>2];b=b&512?273:b;break Bb}b=r<<24>>24;b=((b|0)>(g|0)?b:g)&1?273:272}if((q&576)==64){v[J>>2]=(b|0)==(f|0)?f:g&1?273:272}k=v[k+4>>2];J=k+16|0;q=v[k+16>>2];if((q|0)!=128){continue}break}if(!h){h=0;break xb}f=v[m+16>>2];if((f|0)==128){break xb}while(1){b=v[h>>2];Cb:{if(v[b+16>>2]!=(f|0)){b=h;break Cb}if(w[b+20|0]!=w[h+20|0]){b=h;break Cb}if(v[h+24>>2]){b=h;break Cb}if(v[b+24>>2]){b=h;break Cb}f=v[h+4>>2];v[b+4>>2]=f;v[f>>2]=b;v[b+12>>2]=v[b+12>>2]+v[h+12>>2];f=v[h+32>>2];if(f){v[f+28>>2]=b}v[b+32>>2]=f;Pa(h)}h=v[b+4>>2];f=v[h+16>>2];if((f|0)!=128){continue}break}h=v[P+4>>2]}k=S;m=v[h+16>>2];Db:{if((m|0)==128){break Db}f=m;b=h;while(1){q=w[b+20|0];f=f&512?q+2&-2:q+((f^q)&1)|0;t[b+20|0]=f;k=f<<24>>24>k<<24>>24?f:k;b=v[b+4>>2];f=v[b+16>>2];if((f|0)!=128){continue}break}if(!h|(m|0)==128){break Db}while(1){b=v[h>>2];Eb:{if(v[b+16>>2]!=(m|0)){b=h;break Eb}if(w[b+20|0]!=w[h+20|0]){b=h;break Eb}if(v[h+24>>2]){b=h;break Eb}if(v[b+24>>2]){b=h;break Eb}f=v[h+4>>2];v[b+4>>2]=f;v[f>>2]=b;v[b+12>>2]=v[b+12>>2]+v[h+12>>2];f=v[h+32>>2];if(f){v[f+28>>2]=b}v[b+32>>2]=f;Pa(h)}h=v[b+4>>2];m=v[h+16>>2];if((m|0)!=128){continue}break}}Fb:{if(v[oa+4>>2]==(oa|0)){break Fb}if(!Gu(P,oa,1)){break wa}b=v[P+4>>2];if(!((P|0)==(b|0)|w[b+20|0]!=255)){t[b+20|0]=S}oa=0;if(v[b+16>>2]==128){break Fb}while(1){if(w[b+20|0]==255){t[b+20|0]=w[v[b>>2]+20|0]}b=v[b+4>>2];if(v[b+16>>2]!=128){continue}break}}r=Hu();f=1;Gb:{if(!r){break Gb}if((W|0)>=0){g=1;m=r;h=W-1|0;f=h;while(1){q=f;b=(f|0)<0?64:v[Ha+(f<<2)>>2];Hb:{if(!g){g=!g&(b&8192)>>>13;h=g?q:h;break Hb}g=1;if(b&9482240){break Hb}b=Va(36);if(b){u[b+20>>1]=0;v[b+28>>2]=0;v[b+32>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0}if(!b){mj(r);f=1;break Gb}t[b+20|0]=S;v[b+16>>2]=na;v[b+12>>2]=h-q;v[b+8>>2]=q+1;f=v[b>>2];if(f){v[f+4>>2]=v[b+4>>2];v[v[b+4>>2]>>2]=f}v[b>>2]=v[m>>2];v[v[m>>2]+4>>2]=b;v[b+4>>2]=m;v[m>>2]=b;g=0;m=b}f=q-1|0;if((q|0)>-1){continue}break}}f=1;if(!Gu(P,r,0)){break Gb}g=0;b=v[P+4>>2];f=0;if(v[b+16>>2]==128){break Gb}while(1){f=v[b+12>>2];if(f){Ra(g+La|0,w[b+20|0],f);g=f+g|0}b=v[b+4>>2];if(v[b+16>>2]!=128){continue}break}f=0}mj(P);if(oa){mj(oa);if(f){break ua}b=k+1|0;break ra}if(f){break ua}b=k+1|0;break ra}mj(P)}b=0}Ca=M+9040|0;if(!(b&255)){break na}h=v[da+4>>2];i=i+1|0;g=i}if((h|0)>(i|0)){continue}break}}if(!v[U>>2]){z=1;i=eb(1,h);k=v[U+8>>2];f=i;b=h;Ib:{if(!b){break Ib}if(b&1){g=f;h=v[k>>2];if(h>>>0<=1048575){h=w[(x[(h>>>7&33554430)+411200>>1]+(h&255)|0)+419392|0]}else{h=0}t[g|0]=h;k=k+4|0;f=f+1|0;g=b-1|0}else{g=b}if((b|0)==1){break Ib}while(1){h=f;m=v[k>>2];if(m>>>0<=1048575){r=w[(x[(m>>>7&33554430)+411200>>1]+(m&255)|0)+419392|0]}else{r=0}t[h|0]=r;h=f;m=v[k+4>>2];if(m>>>0<=1048575){r=w[(x[(m>>>7&33554430)+411200>>1]+(m&255)|0)+419392|0]}else{r=0}t[h+1|0]=r;k=k+8|0;f=f+2|0;g=g-2|0;if(g){continue}break}}R=v[U+12>>2];W=v[U+16>>2];g=i;k=0;i=0;f=0;h=0;r=b;Jb:{if((b|0)<1){break Jb}m=255;while(1){M=g+i|0;I=w[M|0];S=I&24;Kb:{if((S|0)==16){break Kb}b=255;b=v[R+(i<<2)>>2]&1052672?b:w[i+W|0];P=I&4;q=0;C=0;Lb:{Mb:{Nb:{if(k){if((b|0)==255){break Nb}k=m&255;if((k|0)==255){break Nb}C=1;if((b|0)==(k|0)){break Nb}}if(!P|S){break Mb}t[M|0]=I&(b&1?-2:-3);break Mb}k=1;if(S){break Lb}q=1;C=1;S=b&1?1:2;if(!(S&I)){break Mb}I=f+1|0;if((I|0)>=(i|0)){break Lb}S=S|Ba;C=(f^-1)+i&3;if(C){while(1){q=g+I|0;t[q|0]=S|w[q|0];I=I+1|0;C=C-1|0;if(C){continue}break}}if((i-2|0)-f>>>0<3){break Lb}while(1){q=g+I|0;t[q|0]=S|w[q|0];t[q+1|0]=S|w[q+1|0];t[q+2|0]=S|w[q+2|0];t[q+3|0]=S|w[q+3|0];I=I+4|0;if((I|0)!=(i|0)){continue}break}break Lb}if(!(!C|!h)){k=f+g|0;t[k|0]=w[k|0]&(Ba^-1)}k=q}q=w[M|0];if(q&24){break Kb}Ba=b&1?2:1;k=(q&Ba)!=0;h=P;m=b;f=i}i=i+1|0;if((r|0)!=(i|0)){continue}break}if(!k|!h){break Jb}b=f+g|0;t[b|0]=w[b|0]&(Ba^-1)}q=v[U+16>>2];f=g;k=0;b=r;m=v[U+8>>2];if(!(!b|!m)){if(f){h=f;if(!(!b|!m)){if((b|0)>=1){while(1){f=w[h+k|0];if(f&4){i=m+(k<<2)|0;C=i;i=v[i>>2]-1569|0;v[C>>2]=v[(i>>>0>178?C:(i<<4|(f&3)<<2)+437568|0)>>2]}k=k+1|0;if((k|0)!=(b|0)){continue}break}}if((b|0)>=2){R=b-1|0;i=0;while(1){f=i;i=f+1|0;k=w[f+q|0];Ob:{if(!(k&1)|(k|0)!=w[i+q|0]){break Ob}W=m+(f<<2)|0;I=v[W>>2];if(I-65247>>>0>1){break Ob}J=m+(i<<2)|0;P=v[J>>2];k=7;C=0;while(1){Pb:{Qb:{Rb:{Sb:{S=k+C>>>1|0;M=B(S,12);Y=v[M+436800>>2];Tb:{if((Y|0)!=(I|0)){if(I>>>0<Y>>>0){break Tb}break Rb}Y=v[M+436804>>2];if(Y>>>0<=P>>>0){break Sb}}k=S-1|0;break Qb}if(P>>>0<=Y>>>0){break Pb}}C=S+1|0}if((k|0)>=(C|0)){continue}break Ob}break}v[W>>2]=65279;f=f+h|0;t[f|0]=w[f|0]|32;v[J>>2]=v[M+436808>>2]}if((i|0)!=(R|0)){continue}break}}}}if(!(!m|(b|0)<1)){while(1){f=b;b=b-1|0;Ub:{if(!(t[q+b|0]&1)){break Ub}h=m+(b<<2)|0;i=v[h>>2];if(i>>>0>65535){break Ub}k=u[(x[(i>>>5&134217726)+440560>>1]+(i&63)<<1)+442608>>1];if(!k){break Ub}v[h>>2]=i+k}if((f|0)>1){continue}break}}}if(r){i=0;while(1){b=B(i,352)+ia|0;f=v[(v[b+8>>2]+(v[b+12>>2]<<2)|0)+68>>2];m=v[U+8>>2]+(i<<2)|0;v[b>>2]=v[m>>2];h=b;k=f;b=v[m>>2];f=v[f+92>>2];if(f){b=v[f+4>>2]==1937337698?b|61440:b}Na=h,Oa=kc(k,b),v[Na+16>>2]=Oa;i=i+1|0;if((r|0)!=(i|0)){continue}break}}Pa(g);break na}C=df();i=0;v[aa+24>>2]=0;v[aa+16>>2]=0;v[aa+20>>2]=0;v[aa+8>>2]=0;v[aa+12>>2]=0;Vb:{if(!h){break Vb}b=h&7;if(h-1>>>0>=7){g=h&-8;while(1){t[(B(i,352)+ia|0)+4|0]=1;t[(B(i|1,352)+ia|0)+4|0]=1;t[(B(i|2,352)+ia|0)+4|0]=1;t[(B(i|3,352)+ia|0)+4|0]=1;t[(B(i|4,352)+ia|0)+4|0]=1;t[(B(i|5,352)+ia|0)+4|0]=1;t[(B(i|6,352)+ia|0)+4|0]=1;t[(B(i|7,352)+ia|0)+4|0]=1;i=i+8|0;g=g-8|0;if(g){continue}break}}if(!b){break Vb}while(1){t[(B(i,352)+ia|0)+4|0]=1;i=i+1|0;b=b-1|0;if(b){continue}break}}if(h){S=h-1|0;f=0;while(1){I=B(f,352)+ia|0;Wb:{if(v[I+32>>2]){t[I+4|0]=0;z=f;break Wb}Xb:{m=v[I+8>>2];i=v[m+108>>2];if(i){break Xb}i=eb(120,1);v[m+108>>2]=i;if(i){break Xb}z=0;break na}g=v[I+12>>2];b=g<<2;if(v[b+i>>2]){b=g}else{z=0;q=v[(b+m|0)+68>>2];b=ww(822,q);if(!b){break na}g=v[q+4>>2];if(v[b+4>>2]){v[b+24>>2]=g}g=x[q+68>>1];if(v[b+4>>2]){v[b+28>>2]=g}P=Ww(b);v[(v[I+12>>2]<<2)+i>>2]=P;on(b);if(!P){break na}g=x[q+68>>1];k=v[q+88>>2];b=v[k+16>>2];b=eQ(g,0,b,b>>31)+32768|0;r=Da;r=b>>>0<32768?r+1|0:r;r=(r&65535)<<16|b>>>16;b=v[k+20>>2];b=eQ(b,b>>31,g,0)+32768|0;k=Da;k=b>>>0<32768?k+1|0:k;Hj(P,r,(k&65535)<<16|b>>>16);g=eb(40,1);v[(v[m+108>>2]+(v[I+12>>2]<<2)|0)+80>>2]=g;if(!g){break na}v[g>>2]=v[U+40>>2];v[g+32>>2]=v[v[I+8>>2]+16>>2];b=xn();if(!b){break na}v[(v[m+108>>2]+(v[I+12>>2]<<2)|0)+40>>2]=b;wn(b,823,g);vn(b,824,g);if(v[b+4>>2]){k=v[b+100>>2];if(k){Ea[k|0](v[b+32>>2])}v[b+100>>2]=0;v[b+168>>2]=825;v[b+32>>2]=g}ax(b,826,g);if(v[b+4>>2]){k=v[b+116>>2];if(k){Ea[k|0](v[b+48>>2])}v[b+116>>2]=0;v[b+184>>2]=827;v[b+48>>2]=g}un(b,828,g);_w(b,829,g);if(v[b+4>>2]){k=v[b+128>>2];if(k){Ea[k|0](v[b+60>>2])}v[b+128>>2]=0;v[b+196>>2]=830;v[b+60>>2]=g}tn(b,831,g);Zw(b,832,g);sn(P,b,q,0);b=v[I+12>>2]}g=m+68|0;Uu(v[(b<<2)+g>>2],A[I+24>>3]);k=v[I+12>>2]<<2;b=v[k+i>>2];g=v[g+k>>2];k=x[g+68>>1];z=v[g+88>>2];q=v[z+16>>2];q=eQ(k,0,q,q>>31);r=(Da&65535)<<16|q>>>16;z=v[z+20>>2];k=eQ(z,z>>31,k,0);Hj(b,r,(Da&65535)<<16|k>>>16);g=v[g+88>>2];k=x[g+12>>1];g=x[g+14>>1];if(v[b+4>>2]){v[b+52>>2]=g;v[b+48>>2]=k}g=v[I+12>>2];k=g<<2;b=v[(k+v[m+108>>2]|0)+80>>2];v[b+8>>2]=v[I+8>>2];v[b+24>>2]=g;A[b+16>>3]=A[I+24>>3];W=v[i+k>>2];if(!W){z=0;break na}b=f>>>0>S>>>0?f:S;g=v[U+16>>2];M=w[g+f|0];k=v[I+324>>2];i=f;while(1){Yb:{z=i;if((b|0)==(i|0)){z=b;break Yb}i=z+1|0;if((k|0)!=v[(B(i,352)+ia|0)+324>>2]){break Yb}if((M|0)==w[g+i|0]){continue}}break}k=(z-f|0)+1|0;b=k;if(!(!b|b>>>0<y[C+84>>2])){Le(C,b)}i=v[U+8>>2]+(f<<2)|0;g=k;R=v[C+24>>2];Zb:{_b:{b=v[C+44>>2];if(!(b|v[C+76>>2]?(b|0)!=1:0)){if(!v[C+4>>2]){break Zb}if((k|0)!=-1){break _b}if(!v[i>>2]){k=0;break _b}k=1;b=i;while(1){if(!v[b+4>>2]){break _b}b=b+4|0;k=k+1|0;continue}}O(282006,282117,356,282132);L()}g=(g|0)==-1?k:g;if(g>>>0>268435455){break Zb}b=v[C+76>>2];m=g+b|0;if(!(!m|m>>>0<y[C+84>>2])){if(!Le(C,m)){break Zb}b=v[C+76>>2]}$b:{if(b){break $b}}b=i;ac:{if((g|0)<1){g=b;break ac}J=(g<<2)+b|0;while(1){r=v[b>>2];g=b+4|0;q=v[C+76>>2];P=q+1|0;m=-1;bc:{cc:{if(q>>>0>P>>>0){break cc}m=q;if(P>>>0<y[C+84>>2]){break cc}if(!Le(C,P)){break bc}m=v[C+76>>2]}m=v[C+88>>2]+B(m,20)|0;v[m+8>>2]=0;v[m+12>>2]=0;v[m+4>>2]=0;v[m>>2]=r>>>0>55295?r-57344>>>0>1056767?R:r:r;v[m+16>>2]=0;v[m+8>>2]=b-i>>2;v[C+76>>2]=v[C+76>>2]+1}b=g;if(J>>>0>b>>>0){continue}break}}b=0;v[C+148>>2]=0;k=i+(k<<2)|0;dc:{if(k>>>0<=g>>>0){break dc}while(1){i=v[g>>2];v[C+148>>2]=b+1;v[(C+(b<<2)|0)+124>>2]=i>>>0>55295?i-57344>>>0>1056767?R:i:i;g=g+4|0;if(k>>>0<=g>>>0){break dc}b=v[C+148>>2];if(b>>>0<5){continue}break}}v[C+44>>2]=1}v[aa+8>>2]=M&1|4;b=v[I+20>>2];v[aa+12>>2]=b;g=v[U+36>>2];ec:{if(g){break ec}fc:{gc:{hc:{ic:{jc:{kc:{lc:{mc:{nc:{oc:{pc:{qc:{rc:{sc:{tc:{uc:{vc:{wc:{xc:{yc:{zc:{Ac:{Bc:{Cc:{Dc:{Ec:{Fc:{Gc:{if((b|0)<=1265134961){if((b|0)<=1165256808){if((b|0)<=1130458738){if((b|0)<=1113943654){g=446249;if((b|0)==1098015074){break gc}if((b|0)!=1098018158){break fc}g=446252;break gc}if((b|0)==1113943655){break Gc}if((b|0)==1114990441){break hc}if((b|0)!=1114990692){break fc}g=446345;break gc}if((b|0)<=1131376755){if((b|0)==1130458739){break Fc}if((b|0)!=1130915186){break fc}g=446261;break gc}if((b|0)==1131376756){break Ec}if((b|0)==1132032620){break Dc}if((b|0)!=1147500129){break fc}g=446272;break gc}if((b|0)<=1214344806){if((b|0)<=1198679402){if((b|0)==1165256809){break oc}if((b|0)!=1197830002){break fc}g=446275;break gc}if((b|0)==1198679403){break Cc}if((b|0)==1198877298){break Bc}if((b|0)!=1198879349){break fc}g=446284;break gc}if((b|0)<=1214870112){switch(b-1214344807|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break fc;case 8:break jc;case 0:break Ac;default:break zc}}if((b|0)==1214870113){break yc}if((b|0)!=1264676449){break fc}g=446293;break gc}if((b|0)<=1400468066){if((b|0)<=1299148390){if((b|0)<=1281453934){if((b|0)==1265134962){break nc}if((b|0)!=1265525857){break fc}g=446296;break gc}if((b|0)==1281453935){break xc}if((b|0)==1281455214){break wc}if((b|0)!=1298954605){break fc}g=446305;break gc}if((b|0)<=1332902240){if((b|0)==1299148391){break vc}if((b|0)==1299803506){break mc}if((b|0)!=1315663727){break fc}g=446376;break gc}if((b|0)==1332902241){break uc}if((b|0)==1399418472){break lc}if((b|0)!=1400466543){break fc}g=446372;break gc}if((b|0)<=1416126816){if((b|0)<=1415671147){if((b|0)==1400468067){break tc}if((b|0)!=1415669602){break fc}g=446356;break gc}if((b|0)==1415671148){break sc}if((b|0)==1415933045){break rc}if((b|0)!=1416064103){break fc}g=446353;break gc}if((b|0)<=1432838513){switch(b-1416126817|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break fc;case 0:break kc;case 8:break qc;default:break pc}}if((b|0)==1432838514){break ic}if((b|0)!=1483761007){break fc}g=446368;break gc}g=446255;break gc}g=446258;break gc}g=446265;break gc}g=446269;break gc}g=446278;break gc}g=446281;break gc}g=446287;break gc}if((b|0)!=1214603890){break fc}g=446290;break gc}g=446293;break gc}g=446299;break gc}g=446302;break gc}g=446308;break gc}g=446311;break gc}g=446314;break gc}g=446318;break gc}g=446321;break gc}g=446324;break gc}if((b|0)!=1416192628){break fc}g=446327;break gc}g=446330;break gc}g=446333;break gc}g=446336;break gc}g=446339;break gc}g=446342;break gc}g=446349;break gc}g=446360;break gc}g=446364}g=dk(g);if(g){break ec}}g=Tp()}v[aa+16>>2]=g;if(v[C+4>>2]){b=v[aa+12>>2];v[C+48>>2]=v[aa+8>>2];v[C+52>>2]=b;v[C- -64>>2]=v[aa+24>>2];b=v[aa+20>>2];v[C+56>>2]=v[aa+16>>2];v[C+60>>2]=b}k=0;b=v[U+32>>2];g=v[v[I+8>>2]+16>>2]!=0;v[b+4>>2]=g;v[b+20>>2]=g;g=A[I+296>>3]==0;v[b+52>>2]=g;v[b+68>>2]=g;jn(W,C,b,v[U+28>>2]);r=v[C+76>>2];I=v[C+88>>2];P=cf(C,0);if((r|0)>=1){while(1){m=B(k,20);q=m+I|0;g=B(v[q+8>>2]+f|0,352)+ia|0;i=g;b=g;Hc:{if(w[b+4|0]){break Hc}while(1){b=i;i=v[b+344>>2];if(i){continue}break}i=Va(352);v[b+344>>2]=i;if(!i){break Hc}Ta(i,b,352);Df(v[b+8>>2]);b=v[b+344>>2];v[b+344>>2]=0}t[b+4|0]=0;v[b+16>>2]=v[q>>2];i=b;p=A[b+248>>3];q=m+P|0;s=hQ(p*+v[q+8>>2]);Ic:{if(D(s)<2147483648){m=~~s;break Ic}m=-2147483648}v[i+112>>2]=m;i=b;s=A[b+256>>3];H=hQ(s*+(0-v[q+12>>2]|0));Jc:{if(D(H)<2147483648){m=~~H;break Jc}m=-2147483648}v[i+116>>2]=m;m=b;p=hQ(p*+v[q>>2]);Kc:{if(D(p)<2147483648){i=~~p;break Kc}i=-2147483648}v[m+144>>2]=i;p=hQ(s*+(0-v[q+4>>2]|0));Lc:{if(D(p)<2147483648){m=~~p;break Lc}m=-2147483648}v[b+148>>2]=m;v[g+156>>2]=m+v[g+156>>2];v[g+152>>2]=i+v[g+152>>2];k=k+1|0;if((r|0)!=(k|0)){continue}break}}if(v[C+4>>2]){Mh(v[C+12>>2]);b=mw(ek());v[C+44>>2]=0;v[C+48>>2]=0;v[C+32>>2]=0;v[C+24>>2]=65533;v[C+28>>2]=0;v[C+16>>2]=0;v[C+12>>2]=b;v[C+52>>2]=0;v[C+56>>2]=0;v[C+60>>2]=0;v[C+64>>2]=0;v[C+80>>2]=0;v[C+72>>2]=0;v[C+76>>2]=0;t[C+70|0]=0;u[C+68>>1]=1;t[C+168|0]=0;v[C+100>>2]=0;v[C+104>>2]=0;v[C+108>>2]=0;v[C+112>>2]=0;v[C+116>>2]=0;v[C+120>>2]=0;v[C+124>>2]=0;v[C+128>>2]=0;v[C+132>>2]=0;v[C+136>>2]=0;v[C+140>>2]=0;v[C+144>>2]=0;v[C+148>>2]=0;v[C+92>>2]=v[C+88>>2]}}f=z+1|0;if(h>>>0>f>>>0){continue}break}}ne(C);z=1}Ca=aa+32|0;if(!z){hb(v[a>>2],1,365494,0);Ib(v[a+224>>2]);v[a+640>>2]=0;v[a+644>>2]=0;v[a+224>>2]=0;v[a+684>>2]=0;v[a+448>>2]=0;v[a+452>>2]=0;b=0;break m}q=0;m=v[a+684>>2];Mc:{if((m|0)<1){break Mc}h=v[a+680>>2];while(1){k=B(q,352);b=k+h|0;while(1){f=b;Nc:{Oc:{Pc:{if(v[b+32>>2]){v[E+96>>2]=1;g=v[b+36>>2];v[E+104>>2]=v[b+32>>2];v[E+108>>2]=g;g=ld(v[a+740>>2],E+96|0,a);if(w[g|0]?g:0){break Pc}Ib(g);break Nc}v[E+96>>2]=0;v[E+104>>2]=v[b+8>>2];A[E+112>>3]=A[b+24>>3];v[E+120>>2]=v[b+12>>2];v[E+124>>2]=v[b+16>>2];v[E+128>>2]=v[b+312>>2];v[E+132>>2]=v[b+308>>2];v[E+136>>2]=v[b+316>>2];g=ld(v[a+740>>2],E+96|0,a);if(!(!g|!w[g|0])){i=v[g+76>>2];m=v[g+72>>2];s=A[b+256>>3];p=0;H=A[b+248>>3];break Oc}Ib(g);break Nc}H=A[a+184>>3]/+(1<<v[b+40>>2]-1);s=A[b+256>>3]*H;i=v[b+44>>2]<<6;m=v[g+72>>2]-i|0;p=s*+(0-m|0);H=A[b+248>>3]*H}A[f+56>>3]=H;v[b+48>>2]=g;A[b+80>>3]=p;v[b+72>>2]=0;v[b+76>>2]=0;A[b- -64>>3]=s;f=b;V=hQ(H*+v[g+52>>2]+0);Qc:{if(D(V)<2147483648){r=~~V;break Qc}r=-2147483648}v[f+88>>2]=r;f=b;V=hQ(p+s*+v[g+56>>2]);Rc:{if(D(V)<2147483648){r=~~V;break Rc}r=-2147483648}v[f+92>>2]=r;f=b;V=hQ(H*+v[g+60>>2]+0);Sc:{if(D(V)<2147483648){r=~~V;break Sc}r=-2147483648}v[f+96>>2]=r;f=b;p=hQ(p+s*+v[g+64>>2]);Tc:{if(D(p)<2147483648){r=~~p;break Tc}r=-2147483648}v[f+100>>2]=r;if(v[a+92>>2]?v[b+32>>2]:1){g=v[g+68>>2];v[b+156>>2]=0;v[b+148>>2]=0;f=b;p=hQ(H*+(g|0));Uc:{if(D(p)<2147483648){g=~~p;break Uc}g=-2147483648}v[f+152>>2]=g;v[b+144>>2]=g}f=b;p=hQ(s*+(i|0));Vc:{if(D(p)<2147483648){g=~~p;break Vc}g=-2147483648}v[f+176>>2]=g;f=b;p=hQ(s*+(m|0));Wc:{if(D(p)<2147483648){g=~~p;break Wc}g=-2147483648}v[f+172>>2]=g}b=v[b+344>>2];if(b){continue}break}Xc:{if(!q){break Xc}b=q-1|0;if(v[(h+k|0)+308>>2]|!v[(h+B(b,352)|0)+308>>2]){break Xc}i=0;Yc:{if(!b){break Yc}while(1){f=h+B(b,352)|0;if(v[f+96>>2]!=v[f+88>>2]){i=b;break Yc}if(!v[f+308>>2]){i=b;break Yc}b=b-1|0;if(b){continue}break}}b=h+B(i,352)|0;f=v[b+96>>2];if((f|0)<=v[b+152>>2]){break Xc}v[b+152>>2]=f}b=h+k|0;v[b+152>>2]=v[b+152>>2]+v[b+304>>2];q=q+1|0;m=v[a+684>>2];if((q|0)<(m|0)){continue}break}if((m|0)<1){q=0;break Mc}z=v[a+680>>2];k=0;f=0;h=0;while(1){q=B(k,352);b=q+z|0;g=f;i=h;while(1){v[b+104>>2]=i;v[b+108>>2]=g;i=v[b+144>>2]+i|0;g=v[b+148>>2]+g|0;b=v[b+344>>2];if(b){continue}break}b=q+z|0;h=v[b+152>>2]+h|0;f=v[b+156>>2]+f|0;q=1;k=k+1|0;if((m|0)!=(k|0)){continue}break}}i=v[ja+32>>2];if(!i){i=v[v[a+220>>2]+108>>2]}g=v[ja+36>>2];if(!g){g=v[v[a+220>>2]+112>>2]}J=v[ja+40>>2];if(!J){J=v[v[a+220>>2]+116>>2]}b=v[v[a+168>>2]+36>>2];p=+(b-g|0);Zc:{_c:{f=v[a+676>>2];if(!(f|!v[a+72>>2])){H=A[a+160>>3];s=A[a+192>>3];K=H*p/s/+(b|0)+(+v[a+136>>2]-H);T=+(i|0);break _c}Q=p;p=+v[a+148>>2];s=A[a+192>>3];H=+(b|0);V=+v[a- -64>>2];K=Q*p/s/H+V;T=+(i|0);if(!f){if(v[a+72>>2]){break _c}V=+v[a- -64>>2];p=+v[a+148>>2]}p=p*T/s/H+V;break Zc}p=T*A[a+160>>3]/s/+(b|0)}Y=v[a+248>>2];v[a+692>>2]=1;Q=K-p;$c:{if(!q){break $c}f=-1;b=0;g=v[a+680>>2];k=g;while(1){g=B(b,352)+g|0;i=v[g>>2];ad:{if((i|0)==32){f=b;break ad}bd:{cd:{if((i|0)==10){g=v[a>>2];v[E+16>>2]=b;hb(g,7,365576,E+16|0);h=2;g=b;break cd}if(!(Q<=+(v[g+104>>2]+v[g+96>>2]|0)*.015625-+(v[k+104>>2]+v[k+88>>2]|0)*.015625)|v[a+660>>2]==2){break ad}if((f|0)>=0){g=v[a>>2];v[E>>2]=f;hb(g,7,365600,E);h=1;g=f;break cd}h=1;g=f;if((f|0)==-1){break bd}}i=v[a+728>>2];if((i|0)<=v[a+692>>2]){v[a+728>>2]=i<<1;Na=a,Oa=gb(v[a+688>>2],B(i,48)),v[Na+688>>2]=Oa}m=v[a+684>>2];g=g+1|0;if((m|0)<=(g|0)){break ad}k=v[a+680>>2]+B(g,352)|0;t[k+120|0]=h;v[a+692>>2]=v[a+692>>2]+1}f=-1}b=b+1|0;if((m|0)<=(b|0)){break $c}g=v[a+680>>2];continue}}dd:{if(v[a+660>>2]==1){break dd}q=0;if((m|0)<0){break dd}h=1;g=0;f=v[a+680>>2];k=f;while(1){ed:{C=(m|0)==(q|0);b=B(q,352);if(w[(b+f|0)+120|0]?1:C){r=b+f|0;fd:{if(!g){z=h;break fd}b=k;if(w[b+120|0]!=1){z=h;break fd}gd:{while(1){b=b-352|0;if(g>>>0>=b>>>0){break gd}if(v[b>>2]==32){continue}break}while(1){b=b-352|0;if(g>>>0>=b>>>0){break gd}if(v[b>>2]!=32){continue}break}}i=b;hd:{if(b>>>0<=g>>>0){break hd}while(1){if(v[i>>2]!=32){break hd}i=i-352|0;if(i>>>0>g>>>0){continue}break}}z=h;h=v[r-248>>2]+v[r-256>>2]|0;b=v[b>>2]==32?b+352|0:b;p=+(h-(v[b+88>>2]+v[b+104>>2]|0)|0)*.015625;g=v[g+104>>2]+v[g+88>>2]|0;s=+(v[i+104>>2]+(v[i+96>>2]-g|0)|0)*.015625;H=p>s?p-s:s-p;p=+(h-(v[k+88>>2]+v[k+104>>2]|0)|0)*.015625;s=+((v[k-248>>2]+v[k-256>>2]|0)-g|0)*.015625;if(!(H<(p>s?p-s:s-p))){break fd}if((b|0)!=(f|0)?w[b+120|0]:1){v[a+692>>2]=v[a+692>>2]-1}if((b|0)!=(f|0)){t[b+120|0]=1}z=0;t[k+120|0]=0}if(C){break ed}g=k;k=r;h=z}q=q+1|0;continue}h=1;q=0;g=0;k=f;if(!z){continue}break}}id:{C=v[a+692>>2];if((C|0)>0){g=v[a+680>>2];b=m-1|0;jd:{if(b){while(1){f=g+B(b,352)|0;i=v[f>>2];if(!(((i|0)!=10?(i|0)!=32:0)|w[f+120|0])){u[f+4>>1]=257;b=b-1|0;if(b){continue}}break}if((m|0)<1){break jd}}i=0;b=g;kd:{while(1){f=v[b>>2];if(!(w[b+120|0]|((f|0)!=10?(f|0)!=32:0))){u[b+4>>1]=257;i=i+1|0;b=g+B(i,352)|0;if((i|0)!=(m|0)){continue}break kd}break}t[b+121|0]=1}h=g+B(m,352)|0;f=0;while(1){k=B(f,352);q=k+g|0;ld:{md:{if(!w[q+120|0]){break md}b=f-1|0;nd:{if(!b){break nd}while(1){i=g+B(b,352)|0;z=v[i>>2];if(((z|0)!=10?(z|0)!=32:0)|w[i+120|0]){break nd}u[i+4>>1]=257;b=b-1|0;if(b){continue}break}}od:{b=v[q>>2];if((b|0)!=10?(b|0)!=32:0){break od}b=g+k|0;u[b+4>>1]=257;q=b+352|0;i=f+1|0;if((m|0)<=(i|0)){break od}while(1){b=i;i=v[q>>2];if((i|0)!=10?(i|0)!=32:0){break od}i=g+B(b,352)|0;if(w[i+120|0]){break od}u[i+4>>1]=257;q=i+352|0;f=b;i=b+1|0;if((m|0)!=(i|0)){continue}break}break ld}if(h>>>0<=q>>>0){break md}t[q+121|0]=1}b=f}f=b+1|0;if((m|0)>(f|0)){continue}break}}h=0;v[a+720>>2]=0;v[a+704>>2]=0;v[a+708>>2]=0;p=.0078125;V=0;if((m|0)<=0){i=0;q=0;s=0;K=0;f=0;break id}z=1;f=0;k=0;K=0;s=0;q=0;i=0;while(1){pd:{qd:{rd:{r=g+B(k,352)|0;sd:{if(w[r+120|0]){b=v[a+688>>2]+B(f,24)|0;H=p*+(q|0);A[b+8>>3]=H;p=p*+(i|0);A[b>>3]=p;V=V+(p+H);A[a+704>>3]=V;i=a;p=A[a+200>>3];s=s*p+.5;td:{if(D(s)<2147483648){b=~~s;break td}b=-2147483648}v[i+716>>2]=b;if(!f){v[a+712>>2]=b}b=a;i=h;p=K*p+.5;ud:{if(D(p)<2147483648){z=~~p;break ud}z=-2147483648}h=(h|0)>(z|0)?i:z;v[b+720>>2]=h;f=f+1|0;p=.0078125;q=0;K=0;s=0;i=0;break sd}if(!z){break rd}}if(!w[r+5|0]){i=0;s=0;q=0;K=0;z=0;break qd}z=1;break qd}z=0;if(w[r+5|0]){break pd}}H=A[r+280>>3];K=H<K?K:H;H=A[r+288>>3];s=s>H?s:H;b=v[r+176>>2];q=(b|0)<(q|0)?q:b;b=v[r+172>>2];i=(b|0)<(i|0)?i:b;p=v[r>>2]==10?p:.015625}k=k+1|0;if((m|0)!=(k|0)){continue}break}break id}O(365617,365277,1757,365641);L()}if((C-1|0)!=(f|0)){O(365658,365277,1561,365693);L()}z=v[a+688>>2];b=z+B(f,24)|0;H=p*+(q|0);A[b+8>>3]=H;p=p*+(i|0);A[b>>3]=p;i=a;ca=s;s=A[a+200>>3];ca=ca*s+.5;vd:{if(D(ca)<2147483648){b=~~ca;break vd}b=-2147483648}v[i+716>>2]=b;if(!f){v[a+712>>2]=b}H=V+(p+H);p=A[a+40>>3];A[a+704>>3]=H+p*+(f|0);b=a;f=h;s=K*s+.5;wd:{if(D(s)<2147483648){i=~~s;break wd}i=-2147483648}v[b+720>>2]=(h|0)>(i|0)?f:i;b=0;if((m|0)>0){f=g+B(m,352)|0;i=g;xd:{while(1){if(!w[i+4|0]){break xd}b=b+1|0;i=g+B(b,352)|0;if((b|0)!=(m|0)){continue}break}i=f}K=+(0-v[i+104>>2]|0)*.015625;s=0;b=0;k=1;while(1){q=B(b,352);i=q+g|0;yd:{if(!w[i+120|0]){q=v[(g+q|0)+104>>2];break yd}zd:{if((b|0)>=(m|0)){break zd}while(1){if(!w[i+4|0]|v[i>>2]==10){break zd}b=b+1|0;i=g+B(b,352)|0;if((b|0)!=(m|0)){continue}break}i=f;b=m}q=z+B(k,24)|0;v[q-4>>2]=b-v[q-8>>2];v[q+16>>2]=b;s=s+(p+(A[q-16>>3]+A[q>>3]));k=k+1|0;q=v[i+104>>2];K=+(0-q|0)*.015625}h=i;H=hQ(K*64);Ad:{if(D(H)<2147483648){r=~~H;break Ad}r=-2147483648}v[h+104>>2]=r+q;h=i;H=hQ(s*64);Bd:{if(D(H)<2147483648){r=~~H;break Bd}r=-2147483648}v[h+108>>2]=r+v[i+108>>2];b=b+1|0;if((m|0)>(b|0)){continue}break}b=k-1|0}else{b=0}b=B(b,24)+z|0;v[b+20>>2]=m-v[b+16>>2];i=0;b=0;f=0;k=0;m=0;g=v[a+684>>2];if((g|0)>=0){h=v[a+176>>2];z=v[a+216>>2];q=v[z>>2];M=h-q|0;W=v[a+180>>2]-(v[z+4>>2]+(h>>>0<q>>>0)|0)|0;U=v[a+680>>2];while(1){S=i;Cd:{Dd:{if((g|0)<=(i|0)){break Dd}g=U+B(S,352)|0;if(w[g+121|0]){break Dd}m=v[g+168>>2]+m|0;break Cd}P=U+B(S,352)|0;Ed:{if(!b){break Ed}g=v[b+160>>2];k=g?g:k;if(!k){k=0;break Ed}i=v[b+168>>2]+f|0;g=i;h=v[b+164>>2];z=h;f=g+h|0;r=g>>31;h=r+(h>>31)|0;h=f>>>0<z>>>0?h+1|0:h;R=f;i=-1e8;Fd:{if((r|0)>(W|0)?1:(r|0)>=(W|0)?g>>>0>M>>>0:0){break Fd}i=f;f=(k|0)==2;z=f?i:g;C=f?h:r;f=C;i=1e8;if((f|0)<(W|0)?1:(f|0)<=(W|0)?z>>>0<=M>>>0:0){break Fd}f=b;i=P-352|0;Gd:{if(i>>>0<=b>>>0){break Gd}while(1){if(!w[f+4|0]){break Gd}f=f+352|0;if(i>>>0>f>>>0){continue}break}}Hd:{if(f>>>0>=i>>>0){break Hd}while(1){if(!w[i+4|0]){break Hd}i=i-352|0;if(i>>>0>f>>>0){continue}break}}h=M;s=(+(h-g>>>0)+ +(W-((g>>>0>h>>>0)+r|0)|0)*4294967296)/(+(z-g>>>0)+ +(C-((g>>>0>z>>>0)+r|0)|0)*4294967296);p=A[b+224>>3];o(+p);g=j(1)|0;C=j(0)|0;q=g;h=g>>>20&2047;Id:{if((h|0)==2047){p=p*360;p=p/p;break Id}r=q<<1|C>>>31;z=C<<1;Jd:{Kd:{g=r;if((g|0)==-2131951616&(z|0)!=0|g>>>0>2163015680){if(!h){h=C;z=h<<12;r=q<<12|h>>>20;g=r;if((g|0)<0){h=0;break Kd}h=-1;while(1){r=g<<1|z>>>31;z=z<<1;g=r;if((g|0)<0){break Kd}h=h-1|0;continue}}z=C;g=q&1048575|1048576;break Jd}p=!z&(g|0)==-2131951616?p*0:p;break Id}g=q;r=1-h|0;z=r&31;if((r&63)>>>0>=32){r=C<<z;z=0}else{r=(1<<z)-1&C>>>32-z|g<<z;z=C<<z}g=r}if((h|0)>1031){while(1){I=g-1474560|0;C=I;r=z;Ld:{if((C|0)<0){break Ld}g=C;if(r|g){break Ld}p=p*0;break Id}r=g<<1|z>>>31;z=z<<1;g=r;h=h-1|0;if((h|0)>1031){continue}break}h=1031}I=g-1474560|0;C=I;r=z;Md:{if((C|0)<0){break Md}g=C;if(r|g){break Md}p=p*0;break Id}Nd:{if(g>>>0>1048575){I=z;r=g;break Nd}while(1){h=h-1|0;aa=g>>>0<524288;C=g<<1|z>>>31;I=z<<1;r=C;z=I;g=C;if(aa){continue}break}}z=0;q=q&-2147483648;if((h|0)>=1){h=r+-1048576|h<<20}else{C=I;h=1-h|0;g=h&31;if((h&63)>>>0>=32){h=0;I=r>>>g|0}else{h=r>>>g|0;I=((1<<g)-1&r)<<32-g|C>>>g}}l(0,I|z);l(1,h|q);p=+n()}g=v[i+144>>2];h=v[i+104>>2];f=v[f+104>>2];Od:{if(!(p>90)|!(p<270)){break Od}s=1-s;i=b;if(b>>>0>=P>>>0){break Od}while(1){Na=i,Oa=kQ(v[i+124>>2],v[i+128>>2],32),v[Na+124>>2]=Oa;v[i+128>>2]=Da;i=i+352|0;if(P>>>0>i>>>0){continue}break}}p=hQ(s*+(g+(h-f|0)|0));Pd:{if(D(p)<2147483648){g=~~p;break Pd}g=-2147483648}i=g+f|0}f=m+R|0;m=0;if(b>>>0>=P>>>0){break Ed}while(1){v[b+160>>2]=k;v[b+164>>2]=i-v[b+104>>2];b=b+352|0;if(P>>>0>b>>>0){continue}break}}b=P}i=S+1|0;g=v[a+684>>2];if((S|0)<(g|0)){continue}break}}r=v[a+116>>2];q=0;if(v[da+4>>2]>=1){b=v[r+20>>2];while(1){v[b+(q<<2)>>2]=q;q=q+1|0;if((q|0)<v[da+4>>2]){continue}break}}q=0;Qd:{if(v[da+12>>2]>0){while(1){b=v[da+8>>2]+B(q,24)|0;f=v[b+16>>2];g=f<<2;h=g+v[r+12>>2]|0;C=f+v[r+16>>2]|0;I=g+v[r+20>>2]|0;z=0;i=v[b+20>>2];Rd:{if(!i){break Rd}f=i-1|0;k=(f|0)<0;if(k){break Rd}b=f;while(1){if(v[h+(b<<2)>>2]&9441280){t[b+C|0]=0;g=(b|0)>0;b=b-1|0;if(g){continue}}break}if(k){break Rd}g=i&3;Sd:{if(i-1>>>0<3){b=f;break Sd}i=i&-4;b=f;while(1){h=b+C|0;m=t[h-3|0];P=t[h-2|0];S=t[h-1|0];h=t[h|0];h=(h|0)>z<<24>>24?h:z;h=(S|0)>h<<24>>24?S:h;h=(P|0)>h<<24>>24?P:h;z=(m|0)>h<<24>>24?m:h;b=b-4|0;i=i-4|0;if(i){continue}break}}if(g){while(1){i=t[b+C|0];z=(i|0)>z<<24>>24?i:z;b=b-1|0;g=g-1|0;if(g){continue}break}}if(!I|(k|z<<24>>24<1)){break Rd}h=z;while(1){g=f;while(1){P=h<<24>>24;Td:{if((P|0)>t[g+C|0]){i=g;break Td}k=(g|0)<0?g:0;m=k-1|0;i=g;while(1){Ud:{b=i;if((b|0)<=0){b=k;i=m;break Ud}i=b-1|0;if((P|0)<=t[C+i|0]){continue}}break}m=g-i|0;if((m|0)<2){break Td}S=(m|0)/2|0;k=I+(b<<2)|0;b=0;if((m&-2)!=2){g=S&-2;while(1){M=b<<2;R=M+k|0;W=v[R>>2];U=R;R=k+(m+(b^-1)<<2)|0;v[U>>2]=v[R>>2];v[R>>2]=W;M=k+(M|4)|0;R=v[M>>2];W=M;M=(k+(m-b<<2)|0)-8|0;v[W>>2]=v[M>>2];v[M>>2]=R;b=b+2|0;g=g-2|0;if(g){continue}break}}if(!(S&1)){break Td}g=k+(b<<2)|0;S=v[g>>2];b=k+(m+(b^-1)<<2)|0;v[g>>2]=v[b>>2];v[b>>2]=S}g=i-1|0;if((i|0)>0){continue}break}h=h-1|0;if((P|0)>1){continue}break}}k=0;if(!((z<<24)+16777216>>24)){break Qd}q=q+1|0;if((q|0)<v[da+12>>2]){continue}break}}k=v[r+20>>2]}Vd:{if(k){f=v[a+684>>2];if((f|0)<1){break Vd}r=v[da>>2];m=0;h=1;q=0;z=0;while(1){g=B(v[k+(m<<2)>>2],352);if(w[(r+B(m,352)|0)+120|0]){p=hQ(A[a+40>>3]*64);Wd:{if(D(p)<2147483648){b=~~p;break Wd}b=-2147483648}z=v[a+688>>2]+B(h,24)|0;p=hQ(A[z-16>>3]*64);Xd:{if(D(p)<2147483648){i=~~p;break Xd}i=-2147483648}C=i+q|0;p=hQ(A[z>>3]*64);Yd:{if(D(p)<2147483648){i=~~p;break Yd}i=-2147483648}q=b+(C+i|0)|0;z=0;h=h+1|0}i=g+r|0;if(!w[i+4|0]){b=g+r|0;C=v[i+152>>2];I=v[i+156>>2];g=z;i=q;while(1){v[b+104>>2]=v[b+112>>2]+g;v[b+108>>2]=v[b+116>>2]+i;g=v[b+144>>2]+g|0;i=v[b+148>>2]+i|0;b=v[b+344>>2];if(b){continue}break}q=q+I|0;z=z+C|0}m=m+1|0;if((m|0)!=(f|0)){continue}break}f=v[a+684>>2];break Vd}f=0;hb(v[a>>2],1,365706,0);Fu(da);Ib(v[a+224>>2]);v[a+640>>2]=0;v[a+644>>2]=0;v[a+224>>2]=0;v[a+684>>2]=0;v[a+448>>2]=0;v[a+452>>2]=0}b=0;ca=0;Zd:{if((f|0)<0){V=0;Q=0;H=0;break Zd}g=v[a+248>>2]&3;i=w[a+368|0]&2;m=i?g:v[a+252>>2];i=i?1:g;z=v[a+680>>2];K=0;s=0;while(1){h=(b|0)==(f|0);if(w[(z+B(b,352)|0)+120|0]?1:h){K=s<K?K:s;s=0}_d:{if((b|0)>=(f|0)){break _d}g=z+B(b,352)|0;if(w[g+4|0]){break _d}$d:{switch(v[g>>2]){case 0:case 10:break _d;default:break $d}}s=s+ +v[g+152>>2]*.015625}b=b+1|0;if(!h){continue}break}H=Q-K;V=H*.5;fa=K+V;b=0;q=i-1|0;k=-1;while(1){g=b;if(!(w[(z+B(b,352)|0)+120|0]?0:(b|0)!=(f|0))){p=0;ae:{be:{switch(q|0){case 0:ce:{switch(m-2|0){case 1:p=K-s;break ae;case 0:break ce;default:break ae}}p=(K-s)*.5;break ae;case 2:p=H;de:{switch(m-1|0){case 1:p=H+(K-s)*.5;break ae;case 0:break ae;default:break de}}p=Q-s;break ae;case 1:break be;default:break ae}}p=V;ee:{switch(m-1|0){case 2:p=fa-s;break ae;case 0:break ae;default:break ee}}p=(Q-s)*.5}p=hQ(p*64);fe:{if(D(p)<2147483648){h=~~p;break fe}h=-2147483648}i=k+1|0;ge:{if(!z|(g|0)<=(i|0)){break ge}if(g+(k^-1)&1){b=z+B(i,352)|0;while(1){v[b+104>>2]=h+v[b+104>>2];b=v[b+344>>2];if(b){continue}break}i=k+2|0}if((g-2|0)==(k|0)){break ge}while(1){k=B(i,352);b=k+z|0;while(1){v[b+104>>2]=h+v[b+104>>2];b=v[b+344>>2];if(b){continue}break}b=(k+z|0)+352|0;while(1){v[b+104>>2]=h+v[b+104>>2];b=v[b+344>>2];if(b){continue}break}i=i+2|0;if((g|0)!=(i|0)){continue}break}}k=g-1|0;s=0}he:{if((f|0)<=(g|0)){break he}b=z+B(g,352)|0;if(w[b+4|0]){break he}ie:{switch(v[b>>2]){case 0:case 10:break he;default:break ie}}s=s+ +v[b+152>>2]*.015625}b=g+1|0;if((f|0)!=(g|0)){continue}break}V=0;Q=0;H=0;if((f|0)<1){break Zd}H=A[a+704>>3];p=A[v[a+688>>2]>>3];b=0;V=-32e3;ca=32e3;while(1){g=z+B(b,352)|0;if(!w[g+4|0]){s=+v[g+104>>2]*.015625;Q=s+ +v[g+152>>2]*.015625;V=Q<V?V:Q;ca=s<ca?s:ca}b=b+1|0;if((f|0)!=(b|0)){continue}break}Q=H-p;H=-p}k=v[v[a+116>>2]+20>>2];z=v[a+684>>2];if((z|0)>=1){f=v[a+680>>2];i=0;m=0;s=0;while(1){p=s;g=B(v[k+(m<<2)>>2],352);b=g+f|0;s=A[b+240>>3];i=w[(f+B(m,352)|0)+120|0]?0:p!=s?0:i;je:{ke:{p=A[b+248>>3];if(p!=0){h=f+g|0;K=A[h+256>>3];if(K!=0){break ke}}t[(f+g|0)+4|0]=1;break je}if(w[h+4|0]){break je}while(1){v[b+108>>2]=v[b+108>>2]+i;b=v[b+344>>2];if(b){continue}break}p=s/p*K*+v[h+152>>2]+ +(i|0);if(D(p)<2147483648){i=~~p;break je}i=-2147483648}m=m+1|0;if((z|0)!=(m|0)){continue}break}}I=Y&12;le:{me:{ne:{oe:{pe:{qe:{re:{se:{b=v[a+368>>2];f=b&1;if(f){g=v[a+248>>2];i=g&12;s=0;p=ca;K=0;te:{ue:{ve:{switch((g&3)-1|0){case 1:p=(ca+V)*.5;break ue;case 0:break ue;case 2:break ve;default:break te}}p=V}K=p}p=H;we:{xe:{ye:{switch(i|0){case 8:p=(H+Q)*.5;break xe;case 4:break xe;case 0:break ye;default:break we}}p=Q}s=p}g=v[a+168>>2];sa=A[a+296>>3]*+v[a+148>>2]/A[a+192>>3]/+v[g+36>>2]+ +v[a- -64>>2]-K;fa=A[a+304>>3]*+v[a+144>>2]/+v[g+40>>2]+ +v[a+56>>2]-s;if(!(b&2)){break se}break re}fa=0;if(b&2){break re}if(v[a+72>>2]?v[a+676>>2]:1){sa=+v[a+148>>2]*T/A[a+192>>3]/+v[v[a+168>>2]+36>>2]+ +v[a- -64>>2]}else{sa=A[a+160>>3]*T/A[a+192>>3]/+v[v[a+168>>2]+36>>2]}if(!(b&4)){break qe}break pe}if(!(b&4)){break le}break pe}ze:{Ae:{switch(v[a+624>>2]){case 1:g=v[v[a+168>>2]+36>>2];sa=+v[a+148>>2]*+(g-v[a+628>>2]|0)/A[a+192>>3]/+(g|0)+ +v[a- -64>>2];break ze;case 0:break Ae;default:break ze}}sa=+v[a+628>>2]*+v[a+148>>2]/A[a+192>>3]/+v[v[a+168>>2]+36>>2]+ +v[a- -64>>2]-(V-ca)}if(b&4){break pe}if(f){break le}}switch(I-4|0){case 4:break ne;case 0:break oe;default:break me}}Be:{switch(v[a+624>>2]-2|0){case 0:fa=Jm(a,+(v[a+628>>2]+v[a+632>>2]|0))-Q;break le;case 1:break Be;default:break le}}fa=Jm(a,+(v[a+636>>2]-v[a+628>>2]|0))-H;break le}fa=Mu(a,+(J|0))+A[v[a+688>>2]>>3];break le}fa=Jm(a,+v[v[a+168>>2]+40>>2]*.5)-(H+Q)*.5;break le}s=0;s=v[a+676>>2]?s:A[a+48>>3];if(I){hb(v[a>>2],6,365515,0)}p=+(v[v[a+168>>2]+40>>2]-J|0);K=+v[a+144>>2]*p/+v[v[a+168>>2]+40>>2]+ +v[a+56>>2];Ce:{if(v[a+72>>2]?v[a+676>>2]:1){break Ce}K=A[a+152>>3];K=K*p/+v[v[a+168>>2]+40>>2]+(+v[a+140>>2]-K)}p=K;K=Mu(a,0);fa=A[v[a+688>>2]>>3];T=K+fa;p=fa+(p+s*(K-p)/100-A[a+704>>3]);fa=p<T?s>0?T:p:p}f=a;z=v[a+676>>2];De:{Ee:{if(v[a+72>>2]?z:1){b=a;K=+v[a+148>>2];k=v[a+168>>2];p=+v[k+36>>2];T=+v[a- -64>>2];s=+v[a+392>>2]*K/p+T;Fe:{if(D(s)<2147483648){i=~~s;break Fe}i=-2147483648}v[b+392>>2]=i;b=a;s=K*+v[a+400>>2]/p+T;Ge:{if(D(s)<2147483648){h=~~s;break Ge}h=-2147483648}v[b+400>>2]=h;g=a;X=+v[a+144>>2];s=+v[k+40>>2];ea=+v[a+56>>2];Z=X*+v[a+404>>2]/s+ea;He:{if(D(Z)<2147483648){b=~~Z;break He}b=-2147483648}v[g+404>>2]=b;k=a;Z=+v[a+396>>2]*X/s+ea;Ie:{if(D(Z)<2147483648){g=~~Z;break Ie}g=-2147483648}v[k+396>>2]=g;if(!z){break De}k=a;Z=K*p/p+T;ga=+(h|0);Z=Z<ga?Z:ga;Je:{if(D(Z)<2147483648){h=~~Z;break Je}h=-2147483648}v[k+400>>2]=h;h=a;Z=+(g|0);ga=X*0/s+ea;Z=Z>ga?Z:ga;Ke:{if(D(Z)<2147483648){g=~~Z;break Ke}g=-2147483648}v[h+396>>2]=g;h=a;Z=+(i|0);p=K*0/p+T;p=p<Z?Z:p;Le:{if(D(p)<2147483648){i=~~p;break Le}i=-2147483648}v[h+392>>2]=i;p=X*s/s+ea;s=+(b|0);p=p<s?p:s;if(D(p)<2147483648){b=~~p;break Ee}b=-2147483648;break Ee}v[a+392>>2]=0;v[a+396>>2]=0;v[a+400>>2]=v[a+16>>2];g=0;b=v[a+20>>2]}v[f+404>>2]=b}if(w[a+368|0]&4){f=a;p=+v[a+144>>2];s=+v[v[a+168>>2]+40>>2];K=+v[a+56>>2];T=p*+v[a+636>>2]/s+K;X=+(b|0);T=T<X?T:X;Me:{if(D(T)<2147483648){b=~~T;break Me}b=-2147483648}v[f+404>>2]=b;b=a;f=b;T=+(g|0);p=+v[b+632>>2]*p/s+K;p=p<T?T:p;Ne:{if(D(p)<2147483648){b=~~p;break Ne}b=-2147483648}v[f+396>>2]=b}Oe:{if(w[a+408|0]){b=v[a+168>>2];s=A[a+312>>3]*+v[a+148>>2]/A[a+192>>3]/+v[b+36>>2]+ +v[a- -64>>2];K=A[a+320>>3]*+v[a+144>>2]/+v[b+40>>2]+ +v[a+56>>2];break Oe}b=v[a+248>>2];f=b&12;s=0;p=0;Pe:{Qe:{switch((b&3)-1|0){case 0:p=ca;break Pe;case 1:p=(ca+V)*.5;break Pe;case 2:break Qe;default:break Pe}}p=V}Re:{Se:{switch(f|0){case 4:s=H;break Re;case 8:s=(H+Q)*.5;break Re;case 0:break Se;default:break Re}}s=Q}K=fa+s;s=sa+p}m=1;i=v[a+684>>2];Te:{if((i|0)<1){break Te}k=v[a+680>>2];if(!k){break Te}H=fa-K;s=sa-s;Q=A[a+192>>3];p=A[a+200>>3];g=0;while(1){b=k+B(g,352)|0;while(1){f=b;K=hQ((H+p*A[b+200>>3])*64);Ue:{if(D(K)<2147483648){h=~~K;break Ue}h=-2147483648}v[f+332>>2]=h+v[b+108>>2];f=b;K=hQ((s+p*A[b+192>>3]/Q)*64);Ve:{if(D(K)<2147483648){h=~~K;break Ve}h=-2147483648}v[f+328>>2]=h+v[b+104>>2];b=v[b+344>>2];if(b){continue}break}g=g+1|0;if((i|0)!=(g|0)){continue}break}}f=v[a- -64>>2];p=A[a+192>>3];k=0;z=v[a+696>>2];s=hQ(fa*64);We:{if(D(s)<2147483648){C=~~s;break We}C=-2147483648}Xe:{if((i|0)<=0){break Xe}H=p;p=+(f|0);Ma=H*(sa-p)+p;P=E+192|0;S=E+188|0;i=0;h=0;while(1){b=v[a+680>>2]+B(h,352)|0;m=w[b+121|0]!=0|m;Ye:{if(w[b+4|0]){while(1){Ib(v[b+48>>2]);b=v[b+344>>2];if(b){continue}break Ye}}while(1){f=v[b+272>>2];g=(f|0)==3;g=(A[b+288>>3]==0?A[b+280>>3]==0:0)?g:g|2;g=(A[b+200>>3]==0?A[b+192>>3]==0:0)?g:g|4;if(!(!(g&4)|!((f|0)!=3?(v[b+160>>2]&-2)==2|w[b+140|0]!=255:1))){g=g|8}g=g&10?g:g&11;Ze:{_e:{if(!(w[b+141|0]|(w[b+140|0]|!(g&2)))){if(!v[b+320>>2]|(f|0)==3){break _e}break Ze}if((f|0)!=3){break Ze}}g=g|16}$e:{af:{bf:{cf:{df:{ef:{if(m&1){f=v[a+732>>2];if(f>>>0<=k>>>0){v[164114]=0;f=f<<1;Na=a,Oa=Xb(v[a+696>>2],f,84),v[Na+696>>2]=Oa;if(v[164114]){break cf}v[a+732>>2]=f;z=v[a+696>>2]}f=v[b+128>>2];M=B(k,84);i=M+z|0;v[i+20>>2]=v[b+124>>2];v[i+24>>2]=f;f=v[b+136>>2];v[i+28>>2]=v[b+132>>2];v[i+32>>2]=f;v[i+36>>2]=v[b+160>>2];f=v[b+164>>2];v[i+44>>2]=268435455;v[i+40>>2]=f;v[i>>2]=g;v[i+4>>2]=v[b+180>>2];p=A[b+184>>3]*(A[a+208>>3]*.8493218002880191)*.03125;tg((p+1)*4,E+96|0);R=v[E+96>>2];r=i;Q=0;o(+p);f=j(1)|0;j(0)|0;ff:{gf:{hf:{jf:{if(!((f|0)>-1?f>>>0>=1071284858:0)){if(f>>>0>=3220176896){H=-N;if(p==-1){break gf}p=(p-p)/0;break ff}if(f<<1>>>0<2034237440){break ff}if(f>>>0>=3218259653){break jf}H=0;break hf}if(f>>>0>2146435071){break ff}}s=p+1;o(+s);f=j(1)|0;q=j(0)|0;f=f+614242|0;W=(f>>>20|0)-1023|0;Q=f>>>0<=1129316351?(f>>>0>1074790399?p-s+1:p-(s+-1))/s:Q;l(0,q|0);l(1,(f&1048575)+1072079006|0);p=+n()+-1;H=+(W|0)}K=p/(p+2);T=K*K;s=T*T;ka=p;p=p*(p*.5);H=H*.6931471803691238+(ka+(Q+H*1.9082149292705877e-10+K*(p+(s*(s*(s*.15313837699209373+.22222198432149784)+.3999999999940942)+T*(s*(s*(s*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))-p))}p=H}p=hQ(p*256);kf:{if(D(p)<2147483648){f=~~p;break kf}f=-2147483648}v[r+8>>2]=f;q=0;f=z+M|0;r=f;if(g&4){p=A[a+200>>3];s=hQ(p*A[b+200>>3]*64);lf:{if(D(s)<2147483648){q=~~s;break lf}q=-2147483648}m=-1<<R;R=m>>1^-1;q=q+R&m;p=hQ(p*A[b+192>>3]*64);mf:{if(D(p)<2147483648){M=~~p;break mf}M=-2147483648}m=m&M+R}else{m=0}v[r+12>>2]=m;v[f+60>>2]=2147483647;v[f+64>>2]=2147483647;v[f+48>>2]=0;v[f+52>>2]=0;v[f+16>>2]=q;m=Va(1536);v[f+76>>2]=0;v[f+80>>2]=0;v[f+68>>2]=0;v[f+72>>2]=0;v[f+56>>2]=m;if(m){break ef}Ib(v[b+48>>2]);m=1;break $e}if(i){break df}O(365729,365277,2393,365742);L()}v[f+52>>2]=64;k=k+1|0}ea=A[a+192>>3];r=C+v[b+108>>2]|0;v[b+108>>2]=r;m=b;p=hQ((Ma+ea*(+v[b+104>>2]*.015625))*64);nf:{if(D(p)<2147483648){f=~~p;break nf}f=-2147483648}v[m+104>>2]=f;of:{m=v[b+48>>2];pf:{if(!m){break pf}qf:{switch(v[b>>2]){case 0:case 10:break pf;default:break qf}}if(!w[b+4|0]){break of}}Ib(m);break af}M=v[i+48>>2];T=A[b+248>>3];K=A[b+232>>3];X=A[b+256>>3];s=A[b+224>>3]*.017453292519943295;p=ml(s);s=ll(s);Q=A[b+216>>3]*.017453292519943295;H=ll(Q);ra=A[b+208>>3]*.017453292519943295;ma=ll(ra);Q=ml(Q);Z=A[b+72>>3];ga=A[b+80>>3];q=v[b+332>>2];R=v[b+172>>2];W=v[b+328>>2];xa=A[a+208>>3];ka=A[b+56>>3];ta=A[b+240>>3];ha=K*T/X;ua=s+p*ha;Fa=p-s*ha;pa=-ma;ya=Fa*pa;K=H*ua+Q*ya;qa=A[b- -64>>3];Ia=K*qa;A[E+152>>3]=Ia;T=X*ta/T;Ga=p+s*T;ma=p*T-s;va=ma*pa;T=H*Ga+Q*va;Ja=ka*T;A[E+144>>3]=Ja;ta=ml(ra);X=xa*2e4;xa=+(r-q|0);ra=ta*Fa*X+K*xa;Fa=qa*ra;A[E+128>>3]=Fa;ma=X*(ta*ma)+T*xa;Ka=ka*ma;A[E+120>>3]=Ka;za=qa;wa=+(W|0);qa=+(f|0)-ea*wa;ya=Q*ua-H*ya;ua=ea*X;ea=qa*K+ya*ua;ya=za*ea;A[E+104>>3]=ya;za=ka;ka=ua*(Q*Ga-H*va)+qa*T;Ga=za*ka;A[E+96>>3]=Ga;va=+(q|0);ha=ha*+(R|0)+wa;wa=s*va+p*ha;ha=p*va-s*ha;pa=ha*pa;s=X+(H*wa+Q*pa);p=T*Z+K*ga+s;A[E+160>>3]=p;ha=X*(ta*ha)+s*xa;ta=ra*ga+Z*ma+ha;A[E+136>>3]=ta;za=ea*ga+Z*ka;Z=ua*(Q*wa-H*pa)+qa*s;ga=za+Z;A[E+112>>3]=ga;if(v[b+160>>2]==2){f=E+96|0;R=v[m+4>>2];if(R){W=v[m+20>>2];Q=A[f- -64>>3];X=A[f+56>>3];pa=A[f+16>>3];qa=A[f+8>>3];xa=A[f>>3];ua=A[f+48>>3];f=0;while(1){m=W+(f<<3)|0;va=+v[m>>2];wa=+v[m+4>>2];H=Q+(ua*va+X*wa);H=(pa+(xa*va+qa*wa))/(H>.1?H:.1);o(+H);m=j(1)|0;m=m&2147483647;if(!(j(0)|0)&(m|0)==2146435072|m>>>0<2146435072){r=v[i+44>>2];m=i;H=hQ(F(H>-268435455?H:-268435455,268435455));rf:{if(D(H)<2147483648){q=~~H;break rf}q=-2147483648}v[m+44>>2]=(q|0)<(r|0)?q:r}f=f+1|0;if((R|0)!=(f|0)){continue}break}}}v[E+56>>2]=v[b+48>>2];if(!Im(E+96|0,E+32|0,E+40|0,!M,E+56|0)){Ib(v[b+48>>2]);break af}f=ld(v[a+744>>2],E+56|0,a);v[b+336>>2]=f;if(!(v[f+20>>2]?f:0)){Ib(f);v[b+336>>2]=0}f=v[E+36>>2];q=f;r=v[E+32>>2];v[E+24>>2]=r;v[E+28>>2]=f;sf:{if(g&1){if(!(g&6)){break af}v[E+176>>2]=3;p=A[b+280>>3];f=v[b+144>>2];g=v[b+304>>2];X=A[b+248>>3];ga=A[a+200>>3]*64;pa=A[b+264>>3];Q=pa*A[b+256>>3];H=G(ga*A[b+288>>3]*Q,64);m=v[b+172>>2];Q=(Q*+(m+v[b+176>>2]|0)+(H+H))*.015625;A[E+152>>3]=K*Q;X=X*pa;p=G(p*ga*X,64);X=(X*+(f+g|0)+(p+p))*.015625;A[E+144>>3]=T*X;A[E+128>>3]=ra*Q;A[E+120>>3]=ma*X;A[E+104>>3]=ea*Q;A[E+96>>3]=ka*X;H=-H-+(m|0);A[E+136>>3]=ha+(ra*H-ma*p);A[E+112>>3]=Z+(ea*H-ka*p);p=s+(K*H-T*p);break sf}if(!(g&2)){break af}v[E+176>>2]=2;f=v[b+48>>2];v[E+184>>2]=f;Q=A[E+160>>3];H=A[a+200>>3]*64;ea=H*A[b+280>>3]/A[b+56>>3];s=ea+64+ +(v[f+60>>2]-v[f+52>>2]|0)*.5;Z=D(A[E+144>>3]);ka=H*A[b+288>>3]/A[b+64>>3];H=ka+64+ +(v[f- -64>>2]-v[f+56>>2]|0)*.5;ra=D(A[E+152>>3]);K=Q-s*Z-H*ra;Q=Q*.0625;Q=1/(K>Q?K:Q);K=Q+Q;T=D(A[E+96>>3]);X=D(A[E+104>>3]);ma=T*s+X*H;qa=s;s=D(A[E+120>>3]);za=H;H=D(A[E+128>>3]);ha=qa*s+za*H;Q=(ha<ma?ma:ha)*Q;tg(K*((s<T?T:s)+Z*Q),S);tg(K*((H<X?X:H)+ra*Q),P);M=v[E+188>>2];s=rf(ea,M);R=v[E+192>>2];H=rf(ka,R);if(!(s<268435455)|!(H<268435455)){break af}g=E;H=hQ(H*.0625);tf:{if(D(H)<2147483648){f=~~H;break tf}f=-2147483648}v[g+200>>2]=f;g=E;s=hQ(s*.0625);uf:{if(D(s)<2147483648){m=~~s;break uf}m=-2147483648}v[g+196>>2]=m;if(!(f|m)){break bf}f=0-M|0;Na=E,Qa=rf(Ga,f),A[Na+96>>3]=Qa;A[E+112>>3]=ga;g=0-R|0;Na=E,Qa=rf(ya,g),A[Na+104>>3]=Qa;Na=E,Qa=rf(Ka,f),A[Na+120>>3]=Qa;A[E+136>>3]=ta;Na=E,Qa=rf(Fa,g),A[Na+128>>3]=Qa;Na=E,Qa=rf(Ja,f),A[Na+144>>3]=Qa;Na=E,Qa=rf(Ia,g),A[Na+152>>3]=Qa}A[E+160>>3]=p;f=ld(v[a+740>>2],E+176|0,a);v[E+56>>2]=f;if(!f){Ib(0);break af}vf:{if(w[f|0]){if(Im(E+96|0,E+24|0,E+40|0,0,E+56|0)){break vf}f=v[E+56>>2]}Ib(f);break af}f=ld(v[a+744>>2],E+56|0,a);v[b+340>>2]=f;if(!(v[f+20>>2]?f:0)){Ib(f);v[b+340>>2]=0;v[E+24>>2]=r;v[E+28>>2]=q;break af}if(v[b+336>>2]){break af}f=v[E+28>>2];v[E+32>>2]=v[E+24>>2];v[E+36>>2]=f;break af}Ib(v[b+48>>2]);m=1;break $e}Df(v[b+336>>2]);v[b+340>>2]=v[b+336>>2]}m=v[b+336>>2];wf:{if(!(m|v[b+340>>2])){Ib(0);Ib(v[b+340>>2]);break wf}xf:{g=v[i+48>>2];f=v[i+52>>2];if(g>>>0>=f>>>0){v[164114]=0;f=f<<1;Na=i,Oa=Xb(v[i+56>>2],f,24),v[Na+56>>2]=Oa;if(v[164114]){break xf}v[i+52>>2]=f;m=v[b+336>>2];g=v[i+48>>2]}q=v[i+56>>2]+B(g,24)|0;v[q>>2]=m;v[q+4>>2]=v[b+340>>2];f=v[E+36>>2];g=v[E+32>>2];v[q+8>>2]=g;v[q+12>>2]=f;q=v[E+28>>2];m=v[i+56>>2]+B(v[i+48>>2],24)|0;v[m+16>>2]=v[E+24>>2];v[m+20>>2]=q;v[i+48>>2]=v[i+48>>2]+1;q=v[i+60>>2];v[i+60>>2]=(g|0)<(q|0)?g:q;g=v[i+64>>2];v[i+64>>2]=(f|0)<(g|0)?f:g;break wf}Ib(v[b+336>>2]);Ib(v[b+340>>2])}m=0}b=v[b+344>>2];if(b){continue}break}}h=h+1|0;if((h|0)<v[a+684>>2]){continue}break}h=0;if(!k){k=0;break Xe}while(1){b=B(h,84)+z|0;q=v[b+48>>2];yf:{if(!q){Pa(v[b+56>>2]);break yf}if(v[b+36>>2]==2){i=b;p=+v[b+44>>2]*.015625+A[a+192>>3]*(+v[b+40>>2]*.015625);o(+p);f=j(1)|0;j(0)|0;g=f;f=f>>>20&2047;if(f>>>0<=1074){if(f>>>0<=1021){p=p*0}else{p=(g|0)>-1?p:-p;s=p+4503599627370496+-4503599627370496-p;zf:{if(s>.5){p=p+s+-1;break zf}H=p+s;p=H;if(!(s<=-.5)){break zf}p=H+1}p=(g|0)>-1?p:-p}}Af:{if(D(p)<2147483648){f=~~p;break Af}f=-2147483648}v[i+40>>2]=f}i=v[b+64>>2];r=v[b+56>>2];m=v[b+60>>2];g=0;while(1){f=r+B(g,24)|0;v[f+8>>2]=v[f+8>>2]-m;v[f+16>>2]=v[f+16>>2]-m;v[f+12>>2]=v[f+12>>2]-i;v[f+20>>2]=v[f+20>>2]-i;g=g+1|0;if((q|0)!=(g|0)){continue}break}v[E+112>>2]=v[b+16>>2];f=v[b+12>>2];v[E+104>>2]=v[b+8>>2];v[E+108>>2]=f;f=v[b+4>>2];v[E+96>>2]=v[b>>2];v[E+100>>2]=f;v[E+116>>2]=v[b+48>>2];v[E+120>>2]=v[b+56>>2];f=ld(v[a+748>>2],E+96|0,a);if(!f){break yf}if(v[f+20>>2]){v[b+68>>2]=f}if(v[f+44>>2]){v[b+72>>2]=f+24}if(v[f+68>>2]){v[b+76>>2]=f+48}v[b+80>>2]=f}h=h+1|0;if((k|0)!=(h|0)){continue}break}}v[a+700>>2]=k;v[ba+24>>2]=0;v[ba+28>>2]=0;v[ba+16>>2]=0;v[ba+20>>2]=0;v[ba+8>>2]=0;v[ba+12>>2]=0;v[ba>>2]=0;v[ba+4>>2]=0;b=ba;p=+v[a+712>>2];s=fa-A[v[a+688>>2]>>3]-p;Bf:{if(D(s)<2147483648){f=~~s;break Bf}f=-2147483648}v[b+4>>2]=f;b=ba;p=A[a+704>>3]+ +v[a+716>>2]+p;Cf:{if(D(p)<2147483648){f=~~p;break Cf}f=-2147483648}v[b+8>>2]=f;b=ba;p=A[a+192>>3];g=v[a+720>>2];s=(ca+sa)*p-+(g|0)+.5;Df:{if(D(s)<2147483648){f=~~s;break Df}f=-2147483648}v[b+12>>2]=f;b=ba;p=(V-ca)*p+ +(g<<1)+.5;Ef:{if(D(p)<2147483648){f=~~p;break Ef}f=-2147483648}v[b+16>>2]=f;b=t[a+410|0];v[ba+28>>2]=ja;v[ba+24>>2]=I?1:-1;v[ba+20>>2]=b;q=E+32|0;f=v[a+700>>2];if(f){g=v[a+696>>2];b=0;while(1){i=g+B(b,84)|0;h=v[i+76>>2];if(!(!h|v[a+372>>2]==4)){q=Jg(a,h,v[i+60>>2],v[i+64>>2],v[i+32>>2],0,1e6,q,2,v[i+80>>2])}b=b+1|0;if((f|0)!=(b|0)){continue}break}m=0;while(1){b=g+B(m,84)|0;i=v[b+72>>2];if(!(!i|(v[b+40>>2]<1?v[b+36>>2]==3:0))){q=Jg(a,i,v[b+60>>2],v[b+64>>2],v[b+28>>2],0,1e6,q,1,v[b+80>>2])}m=m+1|0;if((f|0)!=(m|0)){continue}break}m=0;while(1){b=g+B(m,84)|0;i=v[b+68>>2];Ff:{if(!i){break Ff}Gf:{switch(v[b+36>>2]-1|0){case 0:case 2:h=v[b+64>>2];k=v[b+60>>2];if(v[b+40>>2]>=1){q=Jg(a,i,k,h,v[b+20>>2],0,1e6,q,0,v[b+80>>2]);break Ff}q=Jg(a,i,k,h,v[b+24>>2],0,1e6,q,0,v[b+80>>2]);break Ff;case 1:q=Jg(a,i,v[b+60>>2],v[b+64>>2],v[b+20>>2],v[b+24>>2],v[b+40>>2],q,0,v[b+80>>2]);break Ff;default:break Gf}}q=Jg(a,i,v[b+60>>2],v[b+64>>2],v[b+20>>2],0,1e6,q,0,v[b+80>>2])}m=m+1|0;if((f|0)!=(m|0)){continue}break}b=0;while(1){Ib(v[(g+B(b,84)|0)+80>>2]);b=b+1|0;if((f|0)!=(b|0)){continue}break}}i=0;v[q>>2]=0;b=v[E+32>>2];g=ba;if(v[a+448>>2]){v[E+176>>2]=1;f=v[a+452>>2];v[E+184>>2]=v[a+448>>2];v[E+188>>2]=f;v[E+152>>2]=0;v[E+156>>2]=0;v[E+144>>2]=0;v[E+148>>2]=0;v[E+136>>2]=0;v[E+140>>2]=0;v[E+128>>2]=0;v[E+132>>2]=0;v[E+120>>2]=0;v[E+124>>2]=0;v[E+112>>2]=0;v[E+116>>2]=0;v[E+104>>2]=0;v[E+108>>2]=0;v[E+96>>2]=0;v[E+100>>2]=0;f=v[a+604>>2];p=A[a+192>>3];s=A[a+184>>3];v[E+160>>2]=0;v[E+164>>2]=1072693248;s=s/+(1<<f-1);A[E+128>>3]=s;A[E+96>>3]=p*s;A[E+112>>3]=v[a+64>>2]<<6;A[E+136>>3]=v[a+56>>2]<<6;f=ld(v[a+740>>2],E+176|0,a);v[E+56>>2]=f;Hf:{if(!f){break Hf}i=f;if(!w[f|0]){break Hf}if(!Im(E+96|0,E+40|0,0,1,E+56|0)){i=v[E+56>>2];break Hf}If:{i=ld(v[a+744>>2],E+56|0,a);if(!i){break If}q=v[i+20>>2];if(!q|!b){break If}U=v[E+44>>2];Y=v[E+40>>2];while(1){k=Y+v[i>>2]|0;f=k+v[i+8>>2]|0;S=v[b+4>>2];m=v[b+24>>2];h=S+m|0;r=U+v[i+4>>2]|0;aa=v[b>>2];z=v[b+20>>2];I=aa+z|0;M=(h|0)<(r|0)|(k|0)>(I|0)|(f|0)<(z|0);C=r+v[i+12>>2]|0;P=(m|0)>(r|0)?m:r;h=((h|0)<(C|0)?h:C)-P|0;R=(k|0)<(z|0)?z:k;f=((f|0)>(I|0)?I:f)-R|0;W=P-r|0;J=R-k|0;I=P-m|0;P=R-z|0;k=1<<v[v[a+764>>2]>>2];r=v[i+16>>2];z=v[b+8>>2];R=v[b+12>>2];Jf:{Kf:{if(v[a+608>>2]){if((m|0)>(C|0)|M|(!h|!f)){break Jf}m=Ee(k,k+B(z,S)|0,0);if(!m){break If}Oa=P+(Ta(m,R,aa+B(z,S-1|0)|0)+B(z,I)|0)|0,Sa=z,Ua=J+(B(r,W)+q|0)|0,Wa=r,Xa=f,Ya=h,Na=v[v[a+764>>2]+24>>2],Ea[Na](Oa|0,Sa|0,Ua|0,Wa|0,Xa|0,Ya|0);break Kf}Lf:{if(!(!h|((m|0)>(C|0)|M))){if(f){break Lf}}v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;break Jf}m=0-k|0;C=f>>>0>m>>>0?f:m&(f+k|0)-1;m=Ee(k,k+B(C,h)|0,0);if(!m){break If}Ea[v[v[a+764>>2]+28>>2]](m,C,P+(R+B(z,I)|0)|0,z,J+(B(r,W)+q|0)|0,r,f,h);v[b+8>>2]=C;v[b+4>>2]=h;v[b>>2]=f;v[b+20>>2]=P+v[b+20>>2];v[b+24>>2]=I+v[b+24>>2]}v[b+12>>2]=m;v[b+40>>2]=m;Ib(v[b+36>>2]);v[b+36>>2]=0}b=v[b+28>>2];if(!b){break If}q=v[i+20>>2];continue}}}Ib(i);b=v[E+32>>2]}v[g>>2]=b;Mf:{if(v[a+372>>2]!=4){break Mf}s=0;K=0;p=A[a+424>>3];if(p>0){K=p*A[a+200>>3]}p=A[a+432>>3];if(p>0){s=p*A[a+200>>3]}b=v[ba+4>>2];p=+(b|0)-s;Nf:{if(D(p)<2147483648){g=~~p;break Nf}g=-2147483648}p=s+ +(b+v[ba+8>>2]|0);Of:{if(D(p)<2147483648){i=~~p;break Of}i=-2147483648}b=v[a+136>>2];h=b;z=v[ba+12>>2];p=+(z|0)-K;Pf:{if(D(p)<2147483648){f=~~p;break Pf}f=-2147483648}f=(f|0)>0?f:0;k=(b|0)<(f|0)?h:f;r=b;p=K+ +(z+v[ba+16>>2]|0);Qf:{if(D(p)<2147483648){h=~~p;break Qf}h=-2147483648}f=(h|0)>0?h:0;f=((b|0)<(f|0)?r:f)-k|0;if((f|0)<1){break Mf}b=v[a+140>>2];g=(g|0)>0?g:0;h=(b|0)<(g|0)?b:g;g=(i|0)>0?i:0;i=((b|0)<(g|0)?b:g)-h|0;if((i|0)<1){break Mf}b=B(f,i);g=Ee(1,b,0);if(!g){break Mf}g=Ra(g,255,b);z=v[a+388>>2];b=Va(48);if(!b){Gd(g);break Mf}v[b+36>>2]=0;v[b+24>>2]=h;v[b+20>>2]=k;v[b+16>>2]=z;v[b+12>>2]=g;v[b+8>>2]=f;v[b+4>>2]=i;v[b>>2]=f;Df(0);v[b+44>>2]=0;v[b+40>>2]=g;v[b+28>>2]=v[ba>>2];v[ba>>2]=b}Fu(da);Ib(v[a+224>>2]);v[a+640>>2]=0;v[a+644>>2]=0;v[a+224>>2]=0;v[a+684>>2]=0;v[a+448>>2]=0;v[a+452>>2]=0;b=1}Ca=E+224|0;_=b+_|0;z=v[la+8>>2]}$=$+1|0;if(($|0)<(z|0)){continue}break}if((_|0)<=0){break j}Uc(v[a+128>>2],_,32,820);f=v[a+128>>2];Rf:{if((_|0)==1){b=f;_=1;break Rf}$=1;b=f;while(1){c=$<<5;d=c+f|0;if(v[v[b+28>>2]+20>>2]!=v[v[d+28>>2]+20>>2]){Ou(a,b,d-b>>5);f=v[a+128>>2];b=c+f|0}$=$+1|0;if(($|0)!=(_|0)){continue}break}if((_|0)<=0){break j}}Ou(a,b,((_<<5)+f|0)-b>>5);c=_&1;f=0;$=Aa;if((_|0)!=1){_=_&-2;while(1){d=f<<5;b=v[d+v[a+128>>2]>>2];if(b){while(1){v[$>>2]=b;$=b+28|0;b=v[b+28>>2];if(b){continue}break}}b=v[v[a+128>>2]+(d|32)>>2];if(b){while(1){v[$>>2]=b;$=b+28|0;b=v[b+28>>2];if(b){continue}break}}f=f+2|0;_=_-2|0;if(_){continue}break}}if(!c){break j}b=v[v[a+128>>2]+(f<<5)>>2];if(!b){break j}while(1){v[$>>2]=b;$=b+28|0;b=v[b+28>>2];if(b){continue}break}}i=v[Aa>>2];if(i){v[i+44>>2]=v[i+44>>2]+1}$=v[a+124>>2];if(e){f=0;Sf:{if(!$){b=i;break Sf}_=$;b=i;while(1){if(!b){b=0;f=2;break Sf}c=v[_+28>>2];z=2;Tf:{if(v[_>>2]!=v[b>>2]|v[_+4>>2]!=v[b+4>>2]|(v[_+8>>2]!=v[b+8>>2]|v[_+16>>2]!=v[b+16>>2])){break Tf}if(v[_+12>>2]!=v[b+12>>2]){break Tf}z=1;if(v[_+20>>2]!=v[b+20>>2]){break Tf}z=v[_+24>>2]!=v[b+24>>2]}f=f>>>0<z>>>0?z:f;b=v[b+28>>2];if(!c){break Sf}_=c;if((f|0)<2){continue}break}}v[e>>2]=b?2:f}Uf:{if(!$){break Uf}b=v[$+44>>2]-1|0;v[$+44>>2]=b;if(b){break Uf}while(1){b=v[$+28>>2];Ib(v[$+36>>2]);Gd(v[$+40>>2]);Pa($);$=b;if(b){continue}break}i=v[Aa>>2]}v[a+124>>2]=0;break a}O(365389,365277,2880,365451);L()}if(!e){break a}v[e>>2]=2;return 0}return i}function AF(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,z=0,A=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;j=Ca+-64|0;Ca=j;d=v[a>>2];b=0;a:{if(v[v[d+96>>2]+64>>2]!=40){break a}b=0;if(!w[a+641|0]){break a}b=0;if(w[d+9|0]&32){break a}b=(w[a+340|0]>>>2^-1)&1}u[a+644>>1]=0;t[a+643|0]=b;b=v[a+388>>2];f=x[a+152>>1];c=b+f<<1;c=c>>>0>30?c:30;if(c>>>0<x[a+188>>1]){u[a+188>>1]=c>>>0<65535?c:65535}v[a+656>>2]=0;v[a+648>>2]=0;c=a;b:{if(f){f=B(f,10);b=(f>>>0>50?f:50)+(b>>>0<500?50:(b>>>0)/10|0)|0;break b}b=B(b,22)+300|0}v[c+652>>2]=b;c=v[d+16>>2];v[a+260>>2]=0;c=B(c,100);b=b>>>0>c>>>0?c:b;v[a+660>>2]=b;v[a+652>>2]=b;b=a;c:{if(x[a+220>>1]!=x[a+222>>1]){f=32;h=33;d=30;c=31;break c}f=36;h=37;d=34;c=35}v[b+636>>2]=d;v[a+632>>2]=c;v[a+628>>2]=f;v[a+624>>2]=h;v[a+404>>2]=v[a+392>>2];v[a+504>>2]=v[a+492>>2];v[a+356>>2]=v[a+360>>2];d=u[a+302>>1];d:{if((d&65535)==16384){b=u[a+298>>1];v[a+596>>2]=b;c=b;break d}b=u[a+304>>1];if((b|0)==16384){b=u[a+300>>1];v[a+596>>2]=b;c=x[a+298>>1];break d}c=u[a+298>>1];b=B(b,u[a+300>>1])+B(d,c)>>14;v[a+596>>2]=b}e:{if((c&65535)==16384){v[a+604>>2]=38;break e}if(x[a+300>>1]==16384){v[a+604>>2]=39;break e}v[a+604>>2]=40}f:{if(x[a+294>>1]==16384){v[a+608>>2]=38;break f}if(x[a+296>>1]==16384){v[a+608>>2]=39;break f}v[a+608>>2]=41}v[a+620>>2]=42;v[a+616>>2]=43;g:{if((b|0)!=16384){break g}c=a;h:{if((d|0)==16384){f=45;e=44;break h}if(x[a+304>>1]!=16384){break g}f=47;e=46}v[c+620>>2]=e;v[a+616>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+596>>2]=16384}v[a+260>>2]=0;b=v[a+316>>2];if((b&255)>>>0<=7){v[a+600>>2]=v[(b<<24>>22)+6888>>2]}E=a+180|0;F=a+144|0;n=a+72|0;o=a+36|0;p=a+108|0;c=v[a+368>>2];i:{j:{while(1){k=v[a+364>>2];i=w[k+c|0];t[a+376|0]=i;f=t[i+4704|0];v[a+380>>2]=f;k:{if((i&254)!=64){h=v[a+372>>2];break k}h=v[a+372>>2];b=c+1|0;if((h|0)<=(b|0)){h=131;break j}f=2-B(w[b+k|0],f)|0;v[a+380>>2]=f}if((c+f|0)>(h|0)){h=131;break j}d=w[i+4960|0];b=d>>>4|0;c=v[a+16>>2]-b|0;v[a+28>>2]=c;if((c|0)<=-1){if(w[a+593|0]){h=129;break j}if(b){Ra(v[a+24>>2],0,d>>>2&60)}v[a+28>>2]=0;c=0}b=a;l:{m:{if((i|0)==145){d=v[v[a>>2]+736>>2];if(!d){d=v[a+32>>2];break l}d=v[d>>2]+c|0;break m}d=(d&15)+c|0}v[b+32>>2]=d}h=130;b=v[a+20>>2];if((b|0)<(d|0)){break j}v[a+12>>2]=0;t[a+384|0]=1;g=v[a+24>>2];e=g+(c<<2)|0;h=135;n:{o:{p:{q:{r:{s:{t:{switch(i|0){case 0:case 1:case 2:case 3:case 4:case 5:c=i<<14&16384;b=c^16384;if(i>>>0<=3){u[a+296>>1]=b;u[a+294>>1]=c;u[a+300>>1]=b;u[a+298>>1]=c}u:{if(i&2){c=x[a+302>>1];break u}u[a+304>>1]=b;u[a+302>>1]=c}v:{if((c&65535)==16384){b=u[a+298>>1];v[a+596>>2]=b;d=b;break v}b=u[a+304>>1];if((b|0)==16384){b=u[a+300>>1];v[a+596>>2]=b;d=x[a+298>>1];break v}d=u[a+298>>1];b=B(b,u[a+300>>1])+B(d,c<<16>>16)>>14;v[a+596>>2]=b}f=38;v[a+604>>2]=(d&65535)!=16384?x[a+300>>1]==16384?39:40:38;f=x[a+294>>1]!=16384?x[a+296>>1]==16384?39:41:f;v[a+620>>2]=42;v[a+616>>2]=43;v[a+608>>2]=f;w:{if((b|0)!=16384){break w}e=a;x:{if((c&65535)==16384){f=45;c=44;break x}if(x[a+304>>1]!=16384){break w}f=47;c=46}v[e+620>>2]=c;v[a+616>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+596>>2]=16384}v[a+260>>2]=0;break s;case 6:case 7:y:{b=x[e+4>>1];if(b>>>0<x[a+116>>1]){c=x[e>>1];if(c>>>0<x[a+80>>1]){break y}}if(!w[a+593|0]){break s}h=134;break j}c=v[a+88>>2]+(c<<3)|0;b=v[a+124>>2]+(b<<3)|0;d=v[c>>2]-v[b>>2]|0;b=v[c+4>>2]-v[b+4>>2]|0;c=b|d;d=c?d:16384;c=!c|!(i&1);f=c?d:0-b|0;b=c?b:d;if(f|b){v[j+28>>2]=b;v[j+24>>2]=f;Cd(j+24|0);u[a+298>>1]=v[j+24>>2]/4;u[a+300>>1]=v[j+28>>2]/4}d=x[a+298>>1]|x[a+300>>1]<<16;u[a+294>>1]=d;u[a+296>>1]=d>>>16;f=u[a+302>>1];b=d<<16>>16;z:{if((f&65535)==16384){break z}c=u[a+304>>1];b=d>>16;if((c|0)==16384){break z}b=B(c,d>>16)+B(f,d<<16>>16)>>14}v[a+620>>2]=42;v[a+616>>2]=43;c=b;v[a+596>>2]=b;g=(d&-65536)==1073741824;d=(d&65535)==16384;v[a+608>>2]=d?38:g?39:41;v[a+604>>2]=d?38:g?39:40;A:{if((b|0)!=16384){break A}b=a;B:{if((f|0)==16384){f=45;e=44;break B}if(x[a+304>>1]!=16384){break A}f=47;e=46}v[b+620>>2]=e;v[a+616>>2]=f}b=c>>31;if((b+c^b)>>>0<=1023){v[a+596>>2]=16384}v[a+260>>2]=0;break s;case 8:case 9:C:{b=x[e+4>>1];if(b>>>0<x[a+116>>1]){c=x[e>>1];if(c>>>0<x[a+80>>1]){break C}}if(!w[a+593|0]){break s}h=134;break j}c=v[a+88>>2]+(c<<3)|0;b=v[a+124>>2]+(b<<3)|0;d=v[c>>2]-v[b>>2]|0;b=v[c+4>>2]-v[b+4>>2]|0;c=b|d;d=c?d:16384;c=!c|!(i&1);f=c?d:0-b|0;b=c?b:d;D:{if(!(f|b)){c=x[a+302>>1];break D}v[j+28>>2]=b;v[j+24>>2]=f;Cd(j+24|0);c=v[j+24>>2]/4|0;u[a+302>>1]=c;u[a+304>>1]=v[j+28>>2]/4}E:{if((c&65535)==16384){b=u[a+298>>1];v[a+596>>2]=b;d=b;break E}b=u[a+304>>1];if((b|0)==16384){b=u[a+300>>1];v[a+596>>2]=b;d=x[a+298>>1];break E}d=u[a+298>>1];b=B(b,u[a+300>>1])+B(d,c<<16>>16)>>14;v[a+596>>2]=b}f=38;v[a+604>>2]=(d&65535)!=16384?x[a+300>>1]==16384?39:40:38;f=x[a+294>>1]!=16384?x[a+296>>1]==16384?39:41:f;v[a+620>>2]=42;v[a+616>>2]=43;v[a+608>>2]=f;F:{if((b|0)!=16384){break F}e=a;G:{if((c&65535)==16384){f=45;c=44;break G}if(x[a+304>>1]!=16384){break F}f=47;c=46}v[e+620>>2]=c;v[a+616>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+596>>2]=16384}v[a+260>>2]=0;break s;case 10:b=v[e>>2]<<16;c=v[e+4>>2]<<16;if(b|c){v[j+28>>2]=c>>16;v[j+24>>2]=b>>16;Cd(j+24|0);u[a+298>>1]=v[j+24>>2]/4;u[a+300>>1]=v[j+28>>2]/4}d=x[a+298>>1]|x[a+300>>1]<<16;u[a+294>>1]=d;u[a+296>>1]=d>>>16;f=u[a+302>>1];b=d<<16>>16;H:{if((f&65535)==16384){break H}c=u[a+304>>1];b=d>>16;if((c|0)==16384){break H}b=B(c,d>>16)+B(f,d<<16>>16)>>14}v[a+620>>2]=42;v[a+616>>2]=43;c=b;v[a+596>>2]=b;g=(d&-65536)==1073741824;d=(d&65535)==16384;v[a+608>>2]=d?38:g?39:41;v[a+604>>2]=d?38:g?39:40;I:{if((b|0)!=16384){break I}b=a;J:{if((f|0)==16384){f=45;e=44;break J}if(x[a+304>>1]!=16384){break I}f=47;e=46}v[b+620>>2]=e;v[a+616>>2]=f}b=c>>31;if((b+c^b)>>>0<=1023){v[a+596>>2]=16384}v[a+260>>2]=0;break s;case 11:b=v[e>>2]<<16;c=v[e+4>>2]<<16;K:{if(!(b|c)){c=x[a+302>>1];break K}v[j+28>>2]=c>>16;v[j+24>>2]=b>>16;Cd(j+24|0);c=v[j+24>>2]/4|0;u[a+302>>1]=c;u[a+304>>1]=v[j+28>>2]/4}L:{if((c&65535)==16384){b=u[a+298>>1];v[a+596>>2]=b;d=b;break L}b=u[a+304>>1];if((b|0)==16384){b=u[a+300>>1];v[a+596>>2]=b;d=x[a+298>>1];break L}d=u[a+298>>1];b=B(b,u[a+300>>1])+B(d,c<<16>>16)>>14;v[a+596>>2]=b}f=38;v[a+604>>2]=(d&65535)!=16384?x[a+300>>1]==16384?39:40:38;f=x[a+294>>1]!=16384?x[a+296>>1]==16384?39:41:f;v[a+620>>2]=42;v[a+616>>2]=43;v[a+608>>2]=f;M:{if((b|0)!=16384){break M}e=a;N:{if((c&65535)==16384){f=45;c=44;break N}if(x[a+304>>1]!=16384){break M}f=47;c=46}v[e+620>>2]=c;v[a+616>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+596>>2]=16384}v[a+260>>2]=0;break s;case 12:b=u[a+298>>1];v[e+4>>2]=u[a+300>>1];v[e>>2]=b;break s;case 13:b=u[a+302>>1];v[e+4>>2]=u[a+304>>1];v[e>>2]=b;break s;case 14:d=x[a+298>>1]|x[a+300>>1]<<16;u[a+302>>1]=d;u[a+304>>1]=d>>>16;g=d>>>16|0;c=d<<16>>16;f=38;O:{if((d&65535)==16384){h=38;b=c;break O}h=39;b=16384;if((g|0)==16384){break O}h=40;b=d>>16;b=B(c,c)+B(b,b)>>>14|0}v[a+604>>2]=h;v[a+596>>2]=b;f=x[a+294>>1]!=16384?x[a+296>>1]==16384?39:41:f;v[a+620>>2]=42;v[a+616>>2]=43;v[a+608>>2]=f;P:{if((b|0)!=16384){break P}c=a;Q:{if((d&65535)==16384){f=45;e=44;break Q}if((g|0)!=16384){break P}f=47;e=46}v[c+620>>2]=e;v[a+616>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+596>>2]=16384}v[a+260>>2]=0;break s;case 15:R:{c=x[e+12>>1];b=x[a+44>>1];S:{if(c>>>0>=b>>>0){break S}f=x[e+16>>1];if(f>>>0>=b>>>0){break S}g=x[e+4>>1];b=x[a+80>>1];if(g>>>0>=b>>>0){break S}h=x[e+8>>1];if(h>>>0>=b>>>0){break S}b=x[e>>1];if(b>>>0<x[a+116>>1]){break R}}if(!w[a+593|0]){break s}h=134;break j}e=v[a+52>>2];q=c<<3;c=e+q|0;d=v[c>>2];r=f<<3;i=r+e|0;k=v[i>>2];e=v[a+88>>2];f=g<<3;m=e+f|0;g=v[m+4>>2];l=h<<3;e=l+e|0;h=v[e+4>>2];s=v[m>>2];e=v[e>>2]-s|0;z=v[c+4>>2];m=v[i+4>>2]-z|0;A=0-m|0;h=h-g|0;i=k-d|0;c=fb(e,A,64)+fb(h,i,64)|0;k=c>>31;C=fb(e,i,64)+fb(h,m,64)|0;m=C>>31;T:{if((B(k^c+k,19)|0)>(m^m+C)){d=fb(d-s|0,A,64)+fb(z-g|0,i,64)|0;g=fb(d,e,c);d=fb(d,h,c);c=v[a+124>>2];f=f+v[a+88>>2]|0;v[c+(b<<3)>>2]=g+v[f>>2];d=d+v[f+4>>2]|0;break T}c=v[a+124>>2];d=v[a+52>>2];g=d+q|0;e=v[a+88>>2];h=e+l|0;f=e+f|0;d=d+r|0;v[c+(b<<3)>>2]=((v[g>>2]+(v[h>>2]+v[f>>2]|0)|0)+v[d>>2]|0)/4;d=(v[d+4>>2]+(v[g+4>>2]+(v[h+4>>2]+v[f+4>>2]|0)|0)|0)/4|0}v[((b<<3)+c|0)+4>>2]=d;b=b+v[a+132>>2]|0;t[b|0]=w[b|0]|24;break s;case 16:u[a+288>>1]=v[e>>2];break s;case 17:u[a+290>>1]=v[e>>2];break s;case 18:u[a+292>>1]=v[e>>2];break s;case 19:b=E;U:{switch(v[e>>2]){default:if(!w[a+593|0]){break s}h=134;break j;case 1:b=F;break;case 0:break U}}c=v[b+4>>2];v[o>>2]=v[b>>2];v[o+4>>2]=c;v[o+32>>2]=v[b+32>>2];c=v[b+28>>2];v[o+24>>2]=v[b+24>>2];v[o+28>>2]=c;c=v[b+20>>2];v[o+16>>2]=v[b+16>>2];v[o+20>>2]=c;c=v[b+12>>2];v[o+8>>2]=v[b+8>>2];v[o+12>>2]=c;u[a+348>>1]=v[e>>2];break s;case 20:b=E;V:{switch(v[e>>2]){default:if(!w[a+593|0]){break s}h=134;break j;case 1:b=F;break;case 0:break V}}c=v[b+4>>2];v[n>>2]=v[b>>2];v[n+4>>2]=c;v[n+32>>2]=v[b+32>>2];c=v[b+28>>2];v[n+24>>2]=v[b+24>>2];v[n+28>>2]=c;c=v[b+20>>2];v[n+16>>2]=v[b+16>>2];v[n+20>>2]=c;c=v[b+12>>2];v[n+8>>2]=v[b+8>>2];v[n+12>>2]=c;u[a+350>>1]=v[e>>2];break s;case 21:b=E;W:{switch(v[e>>2]){default:if(!w[a+593|0]){break s}h=134;break j;case 1:b=F;break;case 0:break W}}c=v[b+4>>2];v[p>>2]=v[b>>2];v[p+4>>2]=c;v[p+32>>2]=v[b+32>>2];c=v[b+28>>2];v[p+24>>2]=v[b+24>>2];v[p+28>>2]=c;c=v[b+20>>2];v[p+16>>2]=v[b+16>>2];v[p+20>>2]=c;c=v[b+12>>2];v[p+8>>2]=v[b+8>>2];v[p+12>>2]=c;u[a+352>>1]=v[e>>2];break s;case 22:b=E;X:{switch(v[e>>2]){default:if(!w[a+593|0]){break s}h=134;break j;case 1:b=F;break;case 0:break X}}c=v[b+4>>2];v[o>>2]=v[b>>2];v[o+4>>2]=c;v[o+32>>2]=v[b+32>>2];c=v[b+28>>2];v[o+24>>2]=v[b+24>>2];v[o+28>>2]=c;c=v[b+20>>2];v[o+16>>2]=v[b+16>>2];v[o+20>>2]=c;c=v[b+12>>2];v[o+8>>2]=v[b+8>>2];v[o+12>>2]=c;v[n+32>>2]=v[b+32>>2];c=v[b+28>>2];v[n+24>>2]=v[b+24>>2];v[n+28>>2]=c;c=v[b+20>>2];v[n+16>>2]=v[b+16>>2];v[n+20>>2]=c;c=v[b+12>>2];v[n+8>>2]=v[b+8>>2];v[n+12>>2]=c;c=v[b+4>>2];v[n>>2]=v[b>>2];v[n+4>>2]=c;v[p+32>>2]=v[b+32>>2];c=v[b+28>>2];v[p+24>>2]=v[b+24>>2];v[p+28>>2]=c;c=v[b+20>>2];v[p+16>>2]=v[b+16>>2];v[p+20>>2]=c;c=v[b+12>>2];v[p+8>>2]=v[b+8>>2];v[p+12>>2]=c;c=v[b+4>>2];v[p>>2]=v[b>>2];v[p+4>>2]=c;b=x[e>>1];u[a+352>>1]=b;u[a+350>>1]=b;u[a+348>>1]=b;break s;case 23:b=v[e>>2];if((b|0)<0){h=132;break j}v[a+308>>2]=(b|0)<65535?b:65535;break s;case 24:v[a+600>>2]=48;v[a+316>>2]=1;break s;case 25:v[a+600>>2]=49;v[a+316>>2]=0;break s;case 26:v[a+312>>2]=v[e>>2];break s;case 27:b=v[a+368>>2];c=v[a+372>>2];d=1;while(1){b=b+f|0;v[a+368>>2]=b;if((b|0)>=(c|0)){h=131;break j}g=w[b+k|0];t[a+376|0]=g;f=t[g+4704|0];v[a+380>>2]=f;if((g&254)==64){e=b+1|0;if((e|0)>=(c|0)){h=131;break j}f=2-B(w[e+k|0],f)|0;v[a+380>>2]=f}if((c|0)<(b+f|0)){h=131;break j}Y:{switch(g-88|0){case 0:d=d+1|0;if(d){continue}break s;case 1:d=d-1|0;break;default:break Y}}if(d){continue}break};break s;case 28:b=132;d=c;c=v[e>>2];Z:{if(!(d|c)){break Z}c=c+v[a+368>>2]|0;v[a+368>>2]=c;if((c|0)<0){break Z}d=v[a+448>>2];if((c|0)>v[v[(v[a+456>>2]+(d<<4)|0)-4>>2]+8>>2]?(d|0)>=1:0){break Z}t[a+384|0]=0;if(v[e>>2]>-1){break s}c=v[a+656>>2]+1|0;v[a+656>>2]=c;b=139;if(c>>>0<=y[a+660>>2]){break s}}v[a+12>>2]=b;break r;case 29:v[a+324>>2]=v[e>>2];break s;case 30:v[a+328>>2]=v[e>>2];break s;case 31:Q=a,R=Qa(v[e>>2],v[a+264>>2]),v[Q+332>>2]=R;break s;case 32:v[e+4>>2]=v[e>>2];break s;case 34:v[a+32>>2]=0;break s;case 35:Q=e,R=kQ(v[e>>2],v[e+4>>2],32),v[Q>>2]=R;v[e+4>>2]=Da;break s;case 36:v[e>>2]=v[a+16>>2];break s;case 37:b=e;f=b;d=v[b>>2];_:{if(!((c|0)>=(d|0)?(d|0)>=1:0)){b=0;if(!w[a+593|0]){break _}v[a+12>>2]=134;v[e>>2]=0;break s}b=v[(c-d<<2)+g>>2]}v[f>>2]=b;break s;case 38:b=v[e>>2];if(!((b|0)<=(c|0)?(b|0)>=1:0)){if(!w[a+593|0]){break s}h=134;break j}c=(c-b<<2)+g|0;d=v[c>>2];mb(c,c+4|0,(b<<2)-4|0);v[(v[a+24>>2]+(v[a+28>>2]<<2)|0)-4>>2]=d;break s;case 39:$:{b=x[e>>1];if(b>>>0<x[a+80>>1]){c=x[e+4>>1];if(c>>>0<x[a+44>>1]){break $}}if(!w[a+593|0]){break s}h=134;break j}e=b;d=v[a+52>>2]+(c<<3)|0;b=v[a+88>>2]+(b<<3)|0;b=(Ea[v[a+604>>2]](a,v[d>>2]-v[b>>2]|0,v[d+4>>2]-v[b+4>>2]|0)|0)/2|0;Ea[v[a+616>>2]](a,n,e,b);Ea[v[a+616>>2]](a,o,c,0-b|0);break s;case 40:Tf(a);break s;case 41:b=x[e>>1];if(b>>>0>=x[a+44>>1]){if(!w[a+593|0]){break s}h=134;break j}b=b+v[a+60>>2]|0;c=b;e=w[b|0];b=x[a+302>>1]?-9:-1;t[c|0]=e&(x[a+304>>1]?b&239:b);break s;case 42:b=134;f=v[e+4>>2];c=v[a+440>>2]+1|0;aa:{if(f>>>0>=c>>>0){break aa}d=v[a+424>>2];g=v[a+416>>2];ba:{if((g|0)==(c|0)){c=d?d+B(f,24)|0:0;if((f|0)==v[c+12>>2]){break ba}}c=d;d=c?c+B(g,24)|0:0;ca:{if(c>>>0>=d>>>0){break ca}while(1){if((f|0)==v[c+12>>2]){break ca}c=c+24|0;if(d>>>0>c>>>0){continue}break}}if((c|0)==(d|0)){break aa}}if(!w[c+16|0]){break aa}b=130;d=v[a+448>>2];if((d|0)>=v[a+452>>2]){break aa}if(v[e>>2]<1){break s}b=v[a+456>>2]+(d<<4)|0;v[b>>2]=v[a+360>>2];v[b+4>>2]=v[a+368>>2]+1;f=v[e>>2];v[b+12>>2]=c;v[b+8>>2]=f;v[a+448>>2]=d+1;d=v[c>>2];b=d-1|0;da:{if(b>>>0>=3){v[a+12>>2]=132;break da}f=v[((b<<3)+a|0)+464>>2];if(!f){v[a+12>>2]=138;break da}b=v[((b<<3)+a|0)+468>>2];c=v[c+4>>2];if((b|0)<(c|0)){v[a+12>>2]=131;break da}v[a+372>>2]=b;v[a+364>>2]=f;v[a+368>>2]=c;v[a+360>>2]=d}t[a+384|0]=0;c=v[a+648>>2]+v[e>>2]|0;v[a+648>>2]=c;b=139;if(c>>>0<=y[a+652>>2]){break s}}v[a+12>>2]=b;break r;case 43:h=134;b=v[a+440>>2]+1|0;d=v[e>>2];if(b>>>0<=d>>>0){break j}c=v[a+424>>2];if(!c){break j}f=v[a+416>>2];ea:{if((f|0)==(b|0)){b=c+B(d,24)|0;if((d|0)==v[b+12>>2]){break ea}}g=c+B(f,24)|0;b=c;fa:{if((f|0)<1){break fa}while(1){if((d|0)==v[b+12>>2]){break fa}b=b+24|0;if(g>>>0>b>>>0){continue}break}}if((b|0)==(g|0)){break j}}if(!w[b+16|0]){break j}h=130;d=v[a+448>>2];if((d|0)>=v[a+452>>2]){break j}c=v[a+456>>2]+(d<<4)|0;v[c>>2]=v[a+360>>2];f=v[a+368>>2];v[c+12>>2]=b;v[c+8>>2]=1;v[c+4>>2]=f+1;v[a+448>>2]=d+1;d=v[b>>2];c=d-1|0;ga:{if(c>>>0>=3){v[a+12>>2]=132;break ga}f=v[((c<<3)+a|0)+464>>2];if(!f){v[a+12>>2]=138;break ga}c=v[((c<<3)+a|0)+468>>2];b=v[b+4>>2];if((c|0)<(b|0)){v[a+12>>2]=131;break ga}v[a+372>>2]=c;v[a+364>>2]=f;v[a+368>>2]=b;v[a+360>>2]=d}t[a+384|0]=0;break s;case 44:if(v[a+356>>2]==3){h=156;break j}b=v[a+424>>2];ha:{ia:{if(!b){d=v[a+416>>2];h=v[e>>2];c=0;break ia}d=v[a+416>>2];c=B(d,24)+b|0;h=v[e>>2];ja:{if((d|0)<1){break ja}while(1){if(v[b+12>>2]==(h|0)){break ja}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break ha}}if(y[a+420>>2]<=d>>>0){h=140;break j}v[a+416>>2]=d+1;b=c}if(h>>>0>65535){h=140;break j}c=v[a+360>>2];v[b+12>>2]=h;v[b>>2]=c;c=v[a+368>>2];v[b+20>>2]=0;u[b+16>>1]=1;v[b+4>>2]=c+1;if(y[a+440>>2]<h>>>0){v[a+440>>2]=h}g=v[a+372>>2];while(1){c=c+f|0;v[a+368>>2]=c;if((c|0)>=(g|0)){h=131;break j}d=w[c+k|0];t[a+376|0]=d;f=t[d+4704|0];v[a+380>>2]=f;if((d&254)==64){e=c+1|0;if((e|0)>=(g|0)){h=131;break j}f=2-B(w[e+k|0],f)|0;v[a+380>>2]=f}if((g|0)<(c+f|0)){h=131;break j}h=137;ka:{switch(d-44|0){case 1:v[b+8>>2]=c;break s;case 0:break j;default:break ka}}if((d|0)!=137){continue}break};break j;case 33:case 89:case 126:case 127:v[a+16>>2]=d;break q;default:if(i>>>0>=224){c=v[e+4>>2];b=0;la:{ma:{f=v[e>>2];d=f&65535;na:{if(d>>>0>=x[a+80>>1]){break na}g=c+1|0;if(g>>>0>=v[a+388>>2]+1>>>0){break na}if(x[a+288>>1]<x[a+44>>1]){break ma}}if(!w[a+593|0]){break la}v[a+12>>2]=134;break la}if(g){b=Ea[v[a+628>>2]](a,c)|0}c=v[a+332>>2];e=b-c|0;g=e>>31;b=v[a+328>>2]>(g^e+g)?(b|0)>-1?c:0-c|0:b;if(!x[a+350>>1]){g=u[a+302>>1];c=g>>31;h=c^c+g;c=b>>31;i=c+b^c;k=i>>>16|0;m=B(h,k);e=m<<16|8192;q=d<<3;c=q+v[a+84>>2]|0;r=v[a+48>>2]+(x[a+288>>1]<<3)|0;l=e;s=h;h=i&65535;e=e+B(s,h)|0;e=(m>>>16|0)+(l>>>0>e>>>0)<<18|e>>>14;v[c>>2]=v[r>>2]+((b^g)>-1?e:0-e|0);g=u[a+304>>1];e=g>>31;i=e^e+g;k=B(i,k);e=k<<16|8192;m=e;e=e+B(h,i)|0;e=(k>>>16|0)+(m>>>0>e>>>0)<<18|e>>>14;v[c+4>>2]=v[r+4>>2]+((b^g)>-1?e:0-e|0);e=v[c+4>>2];g=q+v[a+88>>2]|0;v[g>>2]=v[c>>2];v[g+4>>2]=e}c=d<<3;d=c+v[a+84>>2]|0;g=v[a+48>>2]+(x[a+288>>1]<<3)|0;d=Ea[v[a+608>>2]](a,v[d>>2]-v[g>>2]|0,v[d+4>>2]-v[g+4>>2]|0)|0;c=c+v[a+88>>2]|0;g=v[a+52>>2]+(x[a+288>>1]<<3)|0;h=Ea[v[a+604>>2]](a,v[c>>2]-v[g>>2]|0,v[c+4>>2]-v[g+4>>2]|0)|0;b=w[a+320|0]?(b^d)<0?0-b|0:b:b;g=w[a+376|0];oa:{if(g&4){c=a;if(x[a+348>>1]==x[a+350>>1]){i=b-d|0;e=i>>31;b=v[a+324>>2]<(e^e+i)?d:b}b=Ea[v[a+600>>2]](c,b,g&3)|0;g=w[a+376|0];break oa}c=v[(((g&3)<<2)+a|0)+268>>2];if((b|0)>=0){b=b+c|0;b=(b|0)>0?b:0;break oa}b=b-c|0;b=b>>31&b}e=a+72|0;pa:{if(!(g&8)){break pa}c=v[a+312>>2];if((d|0)>=0){b=(b|0)<(c|0)?c:b;break pa}c=0-c|0;b=(b|0)>(c|0)?c:b}Ea[v[a+616>>2]](a,e,f&65535,b-h|0)}u[a+290>>1]=x[a+288>>1];if(w[a+376|0]&16){u[a+288>>1]=f}u[a+292>>1]=f;break s}if(i>>>0>=192){qa:{ra:{d=v[e>>2];f=d&65535;if(f>>>0<x[a+80>>1]){b=x[a+288>>1];if(b>>>0<x[a+44>>1]){break ra}}if(!w[a+593|0]){break qa}v[a+12>>2]=134;break qa}sa:{if(!(x[a+350>>1]?x[a+348>>1]:0)){c=v[a+84>>2]+(f<<3)|0;b=v[a+48>>2]+(b<<3)|0;b=Ea[v[a+608>>2]](a,v[c>>2]-v[b>>2]|0,v[c+4>>2]-v[b+4>>2]|0)|0;break sa}b=v[a+56>>2]+(b<<3)|0;c=v[a+92>>2]+(f<<3)|0;g=v[a+224>>2];if((g|0)==v[a+228>>2]){b=Qa(Ea[v[a+608>>2]](a,v[c>>2]-v[b>>2]|0,v[c+4>>2]-v[b+4>>2]|0)|0,v[a+224>>2]);break sa}b=(R=a,S=Qa(v[c>>2]-v[b>>2]|0,g),T=Qa(v[c+4>>2]-v[b+4>>2]|0,v[a+228>>2]),Q=v[a+608>>2],Ea[Q](R|0,S|0,T|0)|0)}g=v[a+328>>2];ta:{if((g|0)<1){break ta}c=v[a+332>>2];if((c+g|0)<=(b|0)|(c-g|0)>=(b|0)){break ta}b=(b|0)>-1?c:0-c|0}g=w[a+376|0];ua:{if(g&4){c=Ea[v[a+600>>2]](a,b,g&3)|0;g=w[a+376|0];break ua}c=v[(((g&3)<<2)+a|0)+268>>2];if((b|0)>=0){c=b+c|0;c=(c|0)>0?c:0;break ua}c=b-c|0;c=c>>31&c}e=a+72|0;va:{if(!(g&8)){break va}g=v[a+312>>2];if((b|0)>=0){c=(c|0)<(g|0)?g:c;break va}b=0-g|0;c=(b|0)<(c|0)?b:c}g=c;b=v[a+88>>2]+(f<<3)|0;c=v[a+52>>2]+(x[a+288>>1]<<3)|0;T=a,S=e,R=d&65535,U=g-(Ea[v[a+604>>2]](a,v[b>>2]-v[c>>2]|0,v[b+4>>2]-v[c+4>>2]|0)|0)|0,Q=v[a+616>>2],Ea[Q](T|0,S|0,R|0,U|0)}u[a+292>>1]=d;u[a+290>>1]=x[a+288>>1];if(w[a+376|0]&16){u[a+288>>1]=d}break s}if(i>>>0>=184){b=w[a+376|0]+65353&65535;if(b>>>0>=(v[a+20>>2]-v[a+16>>2]|0)+1>>>0){v[a+12>>2]=130;break s}c=v[a+368>>2];d=c+1|0;v[a+368>>2]=d;wa:{if(!b){break wa}v[a+368>>2]=c+3;f=v[a+364>>2];v[e>>2]=(w[f+d|0]<<8|w[(c+f|0)+2|0])<<16>>16;if((b|0)==1){break wa}d=e+4|0;c=2;while(1){g=v[a+368>>2];v[a+368>>2]=g+2;h=d;d=f+g|0;d=w[d|0]|w[d+1|0]<<8;v[h>>2]=(d<<8|d>>>8)<<16>>16;d=c&65535;if(d>>>0>=b>>>0){break wa}c=c+1|0;d=e+(d<<2)|0;continue}}t[a+384|0]=0;break s}if(i>>>0>=176){d=w[a+376|0]+65361&65535;if(d>>>0<(v[a+20>>2]-v[a+16>>2]|0)+1>>>0){if(!d){break s}f=v[a+364>>2];b=1;c=2;while(1){v[(e+(b<<2)|0)-4>>2]=w[f+(v[a+368>>2]+b|0)|0];b=c&65535;if(d>>>0<b>>>0){break s}c=c+1|0;continue}}v[a+12>>2]=130;break s}Tf(a);break s;case 146:if(v[v[a>>2]+736>>2]){v[e>>2]=17;break s}Tf(a);break s;case 145:if(v[v[a>>2]+736>>2]){c=v[v[a>>2]+736>>2];b=v[c>>2];if(b>>>0>=(v[a+20>>2]-v[a+16>>2]|0)+1>>>0){v[a+12>>2]=130;break s}g=v[c+8>>2];xa:{if(g){if(!b){break xa}d=b&3;c=0;if(b-1>>>0>=3){f=b&-4;while(1){b=c<<2;v[b+e>>2]=v[b+g>>2]>>2;h=b|4;v[h+e>>2]=v[g+h>>2]>>2;h=b|8;v[h+e>>2]=v[g+h>>2]>>2;b=b|12;v[b+e>>2]=v[b+g>>2]>>2;c=c+4|0;f=f-4|0;if(f){continue}break}}if(!d){break xa}while(1){b=c<<2;v[b+e>>2]=v[b+g>>2]>>2;c=c+1|0;d=d-1|0;if(d){continue}break}break xa}if(!b){break xa}Ra(e,0,b<<2)}break s}Tf(a);break s;case 143:case 144:Tf(a);break s;case 142:d=v[e+4>>2];b=d-1|0;if(b>>>0>=3){if(!w[a+593|0]){break s}h=134;break j}c=1<<b;b=v[e>>2];if(!(!b|(b|0)==(c|0))){if(!w[a+593|0]){break s}h=134;break j}t[a+340|0]=b|w[a+340|0]&(c^-1);if((d|0)!=3|v[v[v[a>>2]+96>>2]+64>>2]!=40){break s}t[a+643|0]=(b|0)!=4;break s;case 141:b=v[e>>2];if((b|0)<0){break s}v[a+344>>2]=b&65535;break s;case 140:b=v[e+4>>2];if((b|0)>=v[e>>2]){break s}v[e>>2]=b;break s;case 139:b=v[e+4>>2];if((b|0)<=v[e>>2]){break s}v[e>>2]=b;break s;case 138:b=v[e+8>>2];c=v[e+4>>2];v[e+8>>2]=v[e>>2];v[e>>2]=c;v[e+4>>2]=b;break s;case 137:if(v[a+356>>2]==3){h=156;break j}d=v[a+428>>2];b=v[a+436>>2];ya:{za:{if(!b){c=0;break za}c=B(d,24)+b|0;Aa:{if((d|0)<1){break Aa}g=v[e>>2];while(1){if((g|0)==v[b+12>>2]){break Aa}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break ya}}if(d>>>0>=y[a+432>>2]){h=141;break j}v[a+428>>2]=d+1;b=c}c=v[e>>2];if(c>>>0>255){h=141;break j}v[b+12>>2]=c;c=v[a+368>>2];v[b+4>>2]=c+1;d=v[a+360>>2];t[b+16|0]=1;v[b>>2]=d;d=v[e>>2];if(d>>>0>y[a+444>>2]){v[a+444>>2]=d&255}g=v[a+372>>2];while(1){c=c+f|0;v[a+368>>2]=c;if((c|0)>=(g|0)){h=131;break j}d=w[c+k|0];t[a+376|0]=d;f=t[d+4704|0];v[a+380>>2]=f;if((d&254)==64){e=c+1|0;if((e|0)>=(g|0)){h=131;break j}f=2-B(w[e+k|0],f)|0;v[a+380>>2]=f}if((g|0)<(c+f|0)){h=131;break j}h=137;Ba:{switch(d-44|0){default:if((d|0)!=137){continue}break j;case 0:break j;case 1:break Ba}}break};v[b+8>>2]=c;break s;case 136:b=0;c=v[e>>2];b=c&1?v[v[v[a>>2]+96>>2]+64>>2]:b;b=c&2?w[a+285|0]?b|256:b:b;b=c&4?w[a+286|0]?b|512:b:b;b=c&8?v[v[a>>2]+736>>2]?b|1024:b:b;g=e;b=c&32?w[a+640|0]?b|4096:b:b;e=b;Ca:{if(!w[a+641|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40){break Ca}d=c<<7;b=d&8192|b;if(c&256){b=w[a+642|0]?b|32768:b}b=d&393216|b;e=b;if(!(c&4096)){break Ca}e=w[a+646|0]?b|524288:b}v[g>>2]=e;break s;case 134:case 135:Da:{b=x[e>>1];if(b>>>0<x[a+80>>1]){c=x[e+4>>1];if(c>>>0<x[a+116>>1]){break Da}}if(!w[a+593|0]){break s}h=134;break j}d=b<<3;b=d+v[a+84>>2]|0;f=c<<3;c=f+v[a+120>>2]|0;g=v[b>>2]-v[c>>2]|0;b=v[b+4>>2]-v[c+4>>2]|0;c=b|g;g=c?g:16384;c=!c|!(i&1);e=c?g:0-b|0;b=c?b:g;if(e|b){v[j+28>>2]=b;v[j+24>>2]=e;Cd(j+24|0);u[a+294>>1]=v[j+24>>2]/4;u[a+296>>1]=v[j+28>>2]/4}b=d+v[a+88>>2]|0;d=f+v[a+124>>2]|0;f=v[b>>2]-v[d>>2]|0;b=v[b+4>>2]-v[d+4>>2]|0;d=b|f;f=d?f:16384;c=c|!d;d=c?f:0-b|0;b=c?b:f;if(d|b){v[j+28>>2]=b;v[j+24>>2]=d;Cd(j+24|0);u[a+298>>1]=v[j+24>>2]/4;u[a+300>>1]=v[j+28>>2]/4}f=x[a+302>>1];Ea:{if((f|0)==16384){b=u[a+298>>1];v[a+596>>2]=b;h=b;break Ea}b=u[a+304>>1];if((b|0)==16384){b=u[a+300>>1];v[a+596>>2]=b;h=x[a+298>>1];break Ea}h=u[a+298>>1];b=B(b,u[a+300>>1])+B(h,f<<16>>16)>>14;v[a+596>>2]=b}c=38;v[a+604>>2]=(h&65535)!=16384?x[a+300>>1]==16384?39:40:38;c=x[a+294>>1]!=16384?x[a+296>>1]==16384?39:41:c;v[a+620>>2]=42;v[a+616>>2]=43;v[a+608>>2]=c;Fa:{if((b|0)!=16384){break Fa}c=a;Ga:{if((f|0)==16384){f=45;e=44;break Ga}if(x[a+304>>1]!=16384){break Fa}f=47;e=46}v[c+620>>2]=e;v[a+616>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+596>>2]=16384}v[a+260>>2]=0;break s;case 133:b=v[e>>2];c=b&255;if((c|0)==255){t[a+341|0]=1;break s}if(!c){t[a+341|0]=0;break s}if(!(!(b&256)|c>>>0<x[a+256>>1])){t[a+341|0]=1}if(!(!(b&512)|!w[a+285|0])){t[a+341|0]=1}if(!(!(b&1024)|!w[a+286|0])){t[a+341|0]=1}if(!(!(b&2048)|c>>>0>=x[a+256>>1])){t[a+341|0]=0}if(!(!(b&4096)|!w[a+285|0])){t[a+341|0]=0}if(!(b&8192)|!w[a+286|0]){break s}t[a+341|0]=0;break s;case 131:case 132:Tf(a);break s;case 130:if(!(!w[a+644|0]|(!w[a+643|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+645|0]){break s}}Ha:{d=x[e+4>>1];c=x[a+152>>1];if(d>>>0>=c>>>0){break Ha}b=x[e>>1];if(c>>>0<=b>>>0){break Ha}if(b>>>0>d>>>0){break s}c=b;while(1){b=v[a+168>>2]+b|0;t[b|0]=w[b|0]&254;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break s}if(!w[a+593|0]){break s}h=134;break j;case 129:if(!(!w[a+644|0]|(!w[a+643|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+645|0]){break s}}Ia:{d=x[e+4>>1];c=x[a+152>>1];if(d>>>0>=c>>>0){break Ia}b=x[e>>1];if(c>>>0<=b>>>0){break Ia}if(b>>>0>d>>>0){break s}c=b;while(1){b=v[a+168>>2]+b|0;t[b|0]=w[b|0]|1;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break s}if(!w[a+593|0]){break s}h=134;break j;case 128:Ja:{if(!(!w[a+644|0]|(!w[a+643|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+645|0]){break Ja}}Ka:{b=v[a+308>>2];if((b|0)<=v[a+16>>2]){if((b|0)>0){break Ka}break Ja}if(!w[a+593|0]){break Ja}v[a+12>>2]=129;break Ja}while(1){c=c-1|0;v[a+28>>2]=c;c=x[(c<<2)+g>>1];La:{if(c>>>0>=x[a+152>>1]){if(!w[a+593|0]){break La}h=134;break j}b=c+v[a+168>>2]|0;t[b|0]=w[b|0]^1;b=v[a+308>>2]}d=b-1|0;v[a+308>>2]=d;c=v[a+28>>2];if((b|0)<2){break Ja}g=v[a+24>>2];b=d;continue}}v[a+32>>2]=c;v[a+308>>2]=1;break s;case 125:v[a+600>>2]=50;v[a+316>>2]=3;break s;case 124:v[a+600>>2]=51;v[a+316>>2]=4;break s;case 123:Tf(a);break s;case 122:v[a+600>>2]=52;v[a+316>>2]=5;break s;case 121:if(v[e+4>>2]){break s}b=132;d=c;c=v[e>>2];Ma:{if(!(d|c)){break Ma}c=c+v[a+368>>2]|0;v[a+368>>2]=c;if((c|0)<0){break Ma}d=v[a+448>>2];if((c|0)>v[v[(v[a+456>>2]+(d<<4)|0)-4>>2]+8>>2]?(d|0)>=1:0){break Ma}t[a+384|0]=0;if(v[e>>2]>-1){break s}c=v[a+656>>2]+1|0;v[a+656>>2]=c;b=139;if(c>>>0<=y[a+660>>2]){break s}}v[a+12>>2]=b;break r;case 120:if(!v[e+4>>2]){break s}b=132;d=c;c=v[e>>2];Na:{if(!(d|c)){break Na}c=c+v[a+368>>2]|0;v[a+368>>2]=c;if((c|0)<0){break Na}d=v[a+448>>2];if((c|0)>v[v[(v[a+456>>2]+(d<<4)|0)-4>>2]+8>>2]?(d|0)>=1:0){break Na}t[a+384|0]=0;if(v[e>>2]>-1){break s}c=v[a+656>>2]+1|0;v[a+656>>2]=c;b=139;if(c>>>0<=y[a+660>>2]){break s}}v[a+12>>2]=b;break r;case 119:f=v[e>>2];b=f>>>4|0;d=v[(b&12)+6936>>2];v[a+508>>2]=d;Oa:{Pa:{Qa:{Ra:{c=b&3;switch(c-1|0){case 2:break Pa;case 1:break Qa;case 0:break Ra;default:break Oa}}c=d>>>10|0;break Oa}c=d>>>9|0;break Oa}c=B(d,3)>>>10|0}v[a+512>>2]=c;v[a+600>>2]=53;v[a+316>>2]=7;b=a;c=f&15;if(c){c=(B(d,c-4|0)|0)/8|0}else{c=d-1|0}v[b+516>>2]=c>>8;v[a+508>>2]=d>>>8;break s;case 118:f=v[e>>2];b=f>>>4|0;d=v[(b&12)+6920>>2];v[a+508>>2]=d;Sa:{Ta:{Ua:{Va:{c=b&3;switch(c-1|0){case 2:break Ta;case 1:break Ua;case 0:break Va;default:break Sa}}c=d>>>10|0;break Sa}c=d>>>9|0;break Sa}c=B(d,3)>>>10|0}v[a+512>>2]=c;v[a+600>>2]=54;v[a+316>>2]=6;b=a;c=f&15;if(c){c=(B(d,c-4|0)|0)/8|0}else{c=d-1|0}v[b+516>>2]=c>>8;v[a+508>>2]=d>>>8;break s;case 115:case 116:case 117:d=Ea[v[a+624>>2]](a)|0;c=1;f=v[e>>2];Wa:{if(!f){break Wa}while(1){b=v[a+28>>2];if((b|0)<=1){if(w[a+593|0]){v[a+12>>2]=129}v[a+28>>2]=0;break Wa}g=b-2|0;v[a+28>>2]=g;e=b<<2;b=v[a+24>>2];e=v[(e+b|0)-4>>2];Xa:{if(e>>>0>=y[a+388>>2]){if(!w[a+593|0]){break Xa}h=134;break j}g=v[b+(g<<2)>>2];b=g>>>4&15;Ya:{Za:{switch(w[a+376|0]-116|0){case 0:b=b|16;break Ya;case 1:break Za;default:break Ya}}b=b|32}if((d|0)!=(x[a+336>>1]+b|0)){break Xa}b=g&15;Ea[v[a+636>>2]](a,e,(b>>>0>7?-7:-8)+b<<6-x[a+338>>1])}c=c+1|0;if(f>>>0>=c>>>0){continue}break}}v[a+32>>2]=v[a+28>>2];break s;case 113:case 114:qr(a,e);break s;case 112:b=v[e>>2];if(b>>>0>=y[a+388>>2]){if(!w[a+593|0]){break s}h=134;break j}c=Qa(v[e+4>>2],v[a+264>>2]);v[v[a+392>>2]+(b<<2)>>2]=c;break s;case 108:case 109:case 110:case 111:b=v[(((i&3)<<2)+a|0)+268>>2];c=v[e>>2];if((c|0)>=0){b=b+c|0;v[e>>2]=(b|0)>0?b:0;break s}b=c-b|0;v[e>>2]=b>>31&b;break s;case 104:case 105:case 106:case 107:Q=e,U=Ea[v[a+600>>2]](a,v[e>>2],i&3)|0,v[Q>>2]=U;break s;case 103:v[e>>2]=v[e>>2]+63&-64;break s;case 102:v[e>>2]=v[e>>2]&-64;break s;case 101:v[e>>2]=0-v[e>>2];break s;case 100:b=v[e>>2];if((b|0)>-1){break s}v[e>>2]=0-b;break s;case 99:Q=e,U=fb(v[e>>2],v[e+4>>2],64),v[Q>>2]=U;break s;case 98:b=v[e+4>>2];if(!b){h=133;break j}Q=e,U=Ol(v[e>>2],64,b),v[Q>>2]=U;break s;case 97:v[e>>2]=v[e>>2]-v[e+4>>2];break s;case 96:v[e>>2]=v[e+4>>2]+v[e>>2];break s;case 95:b=v[e>>2];if(b>>>0>6){h=132;break j}u[a+338>>1]=b;break s;case 94:u[a+336>>1]=v[e>>2];break s;case 93:qr(a,e);break s;case 92:v[e>>2]=!v[e>>2];break s;case 91:b=e;v[b>>2]=v[b>>2]?1:v[b+4>>2]!=0;break s;case 90:if(!v[e>>2]){v[e>>2]=0;break s}v[e>>2]=v[e+4>>2]!=0;break s;case 88:if(v[e>>2]){break s}c=v[a+368>>2];d=v[a+372>>2];l=1;_a:while(1){c=c+f|0;v[a+368>>2]=c;$a:{if((l|0)==1){if((c|0)>=(d|0)){h=131;break j}b=w[c+k|0];t[a+376|0]=b;f=t[b+4704|0];v[a+380>>2]=f;if((b&254)==64){g=c+1|0;if((g|0)>=(d|0)){h=131;break j}f=2-B(w[g+k|0],f)|0;v[a+380>>2]=f}if((d|0)<(c+f|0)){h=131;break j}ab:{switch(b-88|0){case 1:break s;case 0:break $a;default:break ab}}l=1;if((b|0)!=27){continue}break s}if((c|0)>=(d|0)){h=131;break j}bb:{while(1){g=w[c+k|0];t[a+376|0]=g;f=t[g+4704|0];v[a+380>>2]=f;if((g&254)==64){b=c+1|0;if((b|0)>=(d|0)){h=131;break j}f=2-B(w[b+k|0],f)|0;v[a+380>>2]=f}b=c+f|0;if((b|0)>(d|0)){h=131;break j}if((g|0)!=27){switch(g-88|0){case 0:break $a;case 1:break bb;default:continue _a}}v[a+368>>2]=b;c=b;if((b|0)<(d|0)){continue}break}h=131;break j}l=l-1|0;if(l){continue}break s}l=l+1|0;continue};case 87:Q=e,U=!(Ea[v[a+600>>2]](a,v[e>>2],3)&127),v[Q>>2]=U;break s;case 86:Q=e,U=(Ea[v[a+600>>2]](a,v[e>>2],3)&127)==64,v[Q>>2]=U;break s;case 85:v[e>>2]=v[e>>2]!=v[e+4>>2];break s;case 84:v[e>>2]=v[e>>2]==v[e+4>>2];break s;case 83:v[e>>2]=v[e>>2]>=v[e+4>>2];break s;case 82:v[e>>2]=v[e>>2]>v[e+4>>2];break s;case 81:v[e>>2]=v[e>>2]<=v[e+4>>2];break s;case 80:v[e>>2]=v[e>>2]<v[e+4>>2];break s;case 78:t[a+320|0]=0;break s;case 77:t[a+320|0]=1;break s;case 76:if(v[v[v[a>>2]+96>>2]+64>>2]==35){Q=e,U=Ea[v[a+624>>2]](a)|0,v[Q>>2]=U;break s}v[e>>2]=v[a+216>>2];break s;case 75:Q=e,U=Ea[v[a+624>>2]](a)|0,v[Q>>2]=U;break s;case 73:case 74:cb:{db:{b=e;d=x[b>>1];if(d>>>0<x[a+44>>1]){c=x[e+4>>1];if(c>>>0<x[a+80>>1]){break db}}c=0;if(!w[a+593|0]){break cb}v[a+12>>2]=134;v[e>>2]=0;break s}if(i&1){b=v[a+52>>2]+(d<<3)|0;c=v[a+88>>2]+(c<<3)|0;Q=e,U=Ea[v[a+604>>2]](a,v[b>>2]-v[c>>2]|0,v[b+4>>2]-v[c+4>>2]|0)|0,v[Q>>2]=U;break s}if(!(x[a+350>>1]?x[a+348>>1]:0)){b=v[a+48>>2]+(d<<3)|0;c=v[a+84>>2]+(c<<3)|0;Q=e,U=Ea[v[a+608>>2]](a,v[b>>2]-v[c>>2]|0,v[b+4>>2]-v[c+4>>2]|0)|0,v[Q>>2]=U;break s}c=v[a+92>>2]+(c<<3)|0;d=v[a+56>>2]+(d<<3)|0;f=v[a+224>>2];if((f|0)==v[a+228>>2]){Q=e,U=Qa(Ea[v[a+608>>2]](a,v[d>>2]-v[c>>2]|0,v[d+4>>2]-v[c+4>>2]|0)|0,v[a+224>>2]),v[Q>>2]=U;break s}c=(U=a,R=Qa(v[d>>2]-v[c>>2]|0,f),S=Qa(v[d+4>>2]-v[c+4>>2]|0,v[a+228>>2]),Q=v[a+608>>2],Ea[Q](U|0,R|0,S|0)|0)}v[b>>2]=c;break s;case 72:b=x[e>>1];if(b>>>0>=x[a+116>>1]){if(!w[a+593|0]){break s}h=134;break j}c=b<<3;d=c+v[a+124>>2]|0;d=Ea[v[a+604>>2]](a,v[d>>2],v[d+4>>2])|0;Ea[v[a+616>>2]](a,p,b,v[e+4>>2]-d|0);if(x[a+352>>1]){break s}b=c+v[a+120>>2]|0;c=c+v[a+124>>2]|0;d=v[c+4>>2];v[b>>2]=v[c>>2];v[b+4>>2]=d;break s;case 70:case 71:b=e;c=v[b>>2];eb:{if(c>>>0>=x[a+116>>1]){c=0;if(!w[a+593|0]){break eb}v[a+12>>2]=134;v[e>>2]=0;break s}if(i&1){b=v[a+120>>2]+(c<<3)|0;Q=e,S=Ea[v[a+608>>2]](a,v[b>>2],v[b+4>>2])|0,v[Q>>2]=S;break s}c=v[a+124>>2]+(c<<3)|0;c=Ea[v[a+604>>2]](a,v[c>>2],v[c+4>>2])|0}v[b>>2]=c;break s;case 69:b=e;e=b;c=v[b>>2];fb:{if(c>>>0>=y[a+388>>2]){b=0;if(!w[a+593|0]){break fb}h=134;break j}b=Ea[v[a+628>>2]](a,c)|0}v[e>>2]=b;break s;case 68:b=v[e>>2];if(b>>>0>=y[a+388>>2]){if(!w[a+593|0]){break s}h=134;break j}Ea[v[a+632>>2]](a,b,v[e+4>>2]);break s;case 67:b=e;e=b;c=v[b>>2];gb:{if(c>>>0>=x[a+488>>1]){b=0;if(!w[a+593|0]){break gb}h=134;break j}b=v[v[a+492>>2]+(c<<2)>>2]}v[e>>2]=b;break s;case 66:d=v[e>>2];c=x[a+488>>1];if(d>>>0>=c>>>0){if(!w[a+593|0]){break s}h=134;break j}b=v[a+492>>2];if(!(v[a+356>>2]!=3|(b|0)!=v[a+504>>2])){h=x[a+496>>1];hb:{if(c>>>0<=h>>>0){u[a+496>>1]=h;v[a+12>>2]=0;break hb}Q=a,S=Ua(v[a+8>>2],1,h<<2,c<<2,v[a+500>>2],j+24|0),v[Q+500>>2]=S;b=v[j+24>>2];u[a+496>>1]=b?h:c;v[a+12>>2]=b;if(b){break r}b=v[a+492>>2];h=c}Ta(v[a+500>>2],b,h<<2);b=v[a+500>>2];v[a+492>>2]=b}v[(d<<2)+b>>2]=v[e+4>>2];break s;case 65:h=130;g=(b-v[a+16>>2]|0)+1|0;b=v[a+368>>2];d=b+k|0;c=w[d+1|0];if(g>>>0<=c>>>0){break j}f=b+2|0;v[a+368>>2]=f;ib:{if(!c){break ib}v[a+368>>2]=b+4;v[e>>2]=(w[d+3|0]|w[f+k|0]<<8)<<16>>16;if((c|0)==1){break ib}f=e+4|0;b=2;while(1){d=v[a+368>>2];v[a+368>>2]=d+2;d=d+k|0;d=w[d|0]|w[d+1|0]<<8;v[f>>2]=(d<<8|d>>>8)<<16>>16;d=b&65535;if(d>>>0>=c>>>0){break ib}b=b+1|0;f=e+(d<<2)|0;continue}}t[a+384|0]=0;v[a+32>>2]=c+v[a+32>>2];break s;case 64:h=130;c=k+v[a+368>>2]|0;d=w[c+1|0];if(d>>>0>=(b-v[a+16>>2]|0)+1>>>0){break j}jb:{if(!d){break jb}b=2;v[e>>2]=w[c+2|0];if((d|0)==1){break jb}c=3;while(1){v[(e+(b<<2)|0)-4>>2]=w[(k+(v[a+368>>2]+b|0)|0)+1|0];b=c&65535;if(d>>>0<b>>>0){break jb}c=c+1|0;continue}}v[a+32>>2]=d+v[a+32>>2];break s;case 62:case 63:kb:{lb:{c=x[e>>1];if(c>>>0<x[a+44>>1]){b=v[e+4>>2];if(b>>>0<y[a+388>>2]){break lb}}if(!w[a+593|0]){break kb}v[a+12>>2]=134;break kb}b=Ea[v[a+628>>2]](a,b)|0;if(!x[a+348>>1]){f=u[a+302>>1];d=f>>31;e=d^d+f;d=b>>31;h=d+b^d;i=h>>>16|0;k=B(e,i);g=k<<16|8192;m=c<<3;d=m+v[a+48>>2]|0;q=g;r=e;e=h&65535;g=g+B(r,e)|0;g=(k>>>16|0)+(q>>>0>g>>>0)<<18|g>>>14;v[d>>2]=(b^f)>-1?g:0-g|0;f=u[a+304>>1];g=f>>31;h=g^f+g;i=B(h,i);g=i<<16|8192;k=g;g=g+B(e,h)|0;g=(i>>>16|0)+(k>>>0>g>>>0)<<18|g>>>14;v[d+4>>2]=(b^f)>-1?g:0-g|0;g=v[d+4>>2];f=m+v[a+52>>2]|0;v[f>>2]=v[d>>2];v[f+4>>2]=g}d=v[a+52>>2]+(c<<3)|0;e=Ea[v[a+604>>2]](a,v[d>>2],v[d+4>>2])|0;d=a;f=o;g=c;if(t[a+376|0]&1){i=b-e|0;h=i>>31;b=Ea[v[a+600>>2]](a,v[a+324>>2]<(h^h+i)?e:b,3)|0}Ea[v[a+616>>2]](d,f,g,b-e|0)}u[a+290>>1]=c;u[a+288>>1]=c;break s;case 61:v[a+600>>2]=55;v[a+316>>2]=2;break s;case 60:mb:{b=v[a+308>>2];if(!(x[a+288>>1]<x[a+44>>1]?(b|0)<=v[a+16>>2]:0)){if(!w[a+593|0]){break mb}v[a+12>>2]=134;break mb}if((b|0)<1){break mb}while(1){c=c-1|0;v[a+28>>2]=c;c=x[(c<<2)+g>>1];nb:{if(c>>>0>=x[a+80>>1]){if(!w[a+593|0]){break nb}h=134;break j}e=c;b=v[a+88>>2]+(c<<3)|0;c=v[a+52>>2]+(x[a+288>>1]<<3)|0;S=a,R=n,U=e,T=0-(Ea[v[a+604>>2]](a,v[b>>2]-v[c>>2]|0,v[b+4>>2]-v[c+4>>2]|0)|0)|0,Q=v[a+616>>2],Ea[Q](S|0,R|0,U|0,T|0);b=v[a+308>>2]}d=b-1|0;v[a+308>>2]=d;c=v[a+28>>2];if((b|0)<2){break mb}g=v[a+24>>2];b=d;continue}}v[a+32>>2]=c;v[a+308>>2]=1;break s;case 58:case 59:ob:{b=x[e>>1];if(b>>>0<x[a+80>>1]){c=x[a+288>>1];if(c>>>0<x[a+44>>1]){break ob}}if(!w[a+593|0]){break s}h=134;break j}if(!x[a+350>>1]){c=v[a+48>>2]+(c<<3)|0;g=v[c+4>>2];d=b<<3;f=d+v[a+84>>2]|0;v[f>>2]=v[c>>2];v[f+4>>2]=g;Ea[v[a+620>>2]](a,n,b,v[e+4>>2]);c=d+v[a+88>>2]|0;d=d+v[a+84>>2]|0;f=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=f;c=x[a+288>>1]}d=v[a+88>>2]+(b<<3)|0;c=v[a+52>>2]+(c<<3)|0;c=Ea[v[a+604>>2]](a,v[d>>2]-v[c>>2]|0,v[d+4>>2]-v[c+4>>2]|0)|0;Ea[v[a+616>>2]](a,n,b,v[e+4>>2]-c|0);u[a+292>>1]=b;u[a+290>>1]=x[a+288>>1];if(!(t[a+376|0]&1)){break s}u[a+288>>1]=b;break s;case 57:pb:{qb:{b=v[a+308>>2];rb:{if((b|0)>v[a+16>>2]){if(w[a+593|0]){break rb}break pb}c=1;c=!x[a+348>>1]|!x[a+350>>1]?c:!x[a+352>>1];d=x[a+290>>1];if(d>>>0<x[a+44>>1]){break qb}if(!w[a+593|0]){break pb}}v[a+12>>2]=134;break pb}h=v[(c?48:56)+a>>2];f=d<<3;g=h+f|0;m=v[a+52>>2];e=m+f|0;k=0;f=0;i=x[a+292>>1];if(i>>>0<x[a+80>>1]){sb:{if(c){b=v[a+84>>2]+(i<<3)|0;f=Ea[v[a+608>>2]](a,v[b>>2]-v[g>>2]|0,v[b+4>>2]-v[(h+(d<<3)|0)+4>>2]|0)|0;break sb}b=v[a+224>>2];if((b|0)==v[a+228>>2]){b=v[a+92>>2]+(i<<3)|0;f=Ea[v[a+608>>2]](a,v[b>>2]-v[g>>2]|0,v[b+4>>2]-v[(h+(d<<3)|0)+4>>2]|0)|0;break sb}f=(T=a,U=Qa(v[v[a+92>>2]+(i<<3)>>2]-v[g>>2]|0,b),R=Qa(v[(v[a+92>>2]+(x[a+292>>1]<<3)|0)+4>>2]-v[(h+(d<<3)|0)+4>>2]|0,v[a+228>>2]),Q=v[a+608>>2],Ea[Q](T|0,U|0,R|0)|0)}b=v[a+88>>2]+(x[a+292>>1]<<3)|0;k=Ea[v[a+604>>2]](a,v[b>>2]-v[e>>2]|0,v[b+4>>2]-v[(m+(d<<3)|0)+4>>2]|0)|0;b=v[a+308>>2]}if((b|0)<1){break pb}if(c){while(1){c=v[a+28>>2]-1|0;v[a+28>>2]=c;d=a;c=v[v[a+24>>2]+(c<<2)>>2];tb:{if(c>>>0>=x[a+116>>1]){if(!w[a+593|0]){break tb}h=134;break j}h=c<<3;b=h+v[a+120>>2]|0;b=Ea[v[a+608>>2]](a,v[b>>2]-v[g>>2]|0,v[b+4>>2]-v[g+4>>2]|0)|0;h=h+v[a+124>>2]|0;h=Ea[v[a+604>>2]](a,v[h>>2]-v[e>>2]|0,v[h+4>>2]-v[e+4>>2]|0)|0;i=a;m=p;c=c&65535;if(!(!b|!f)){b=fb(b,k,f)}Ea[v[a+616>>2]](i,m,c,b-h|0);b=v[a+308>>2]}c=b;b=c-1|0;v[d+308>>2]=b;if((c|0)>1){continue}break pb}}while(1){c=v[a+28>>2]-1|0;v[a+28>>2]=c;d=a;c=v[v[a+24>>2]+(c<<2)>>2];ub:{if(c>>>0>=x[a+116>>1]){if(!w[a+593|0]){break ub}h=134;break j}b=v[a+224>>2];vb:{if((b|0)==v[a+228>>2]){b=v[a+128>>2]+(c<<3)|0;b=Ea[v[a+608>>2]](a,v[b>>2]-v[g>>2]|0,v[b+4>>2]-v[g+4>>2]|0)|0;break vb}h=c<<3;b=(R=a,U=Qa(v[h+v[a+128>>2]>>2]-v[g>>2]|0,b),T=Qa(v[(h+v[a+128>>2]|0)+4>>2]-v[g+4>>2]|0,v[a+228>>2]),Q=v[a+608>>2],Ea[Q](R|0,U|0,T|0)|0)}h=v[a+124>>2]+(c<<3)|0;h=Ea[v[a+604>>2]](a,v[h>>2]-v[e>>2]|0,v[h+4>>2]-v[e+4>>2]|0)|0;i=a;m=p;c=c&65535;if(!(!b|!f)){b=fb(b,k,f)}Ea[v[a+616>>2]](i,m,c,b-h|0);b=v[a+308>>2]}c=b;b=c-1|0;v[d+308>>2]=b;if((c|0)>1){continue}break}}v[a+308>>2]=1;v[a+32>>2]=v[a+28>>2];break s;case 56:f=1;f=!x[a+348>>1]|!x[a+350>>1]?f:!x[a+352>>1];wb:{b=v[a+308>>2];if((b|0)>=v[a+16>>2]){if(!w[a+593|0]){break wb}v[a+12>>2]=134;break wb}if((b|0)<1){break wb}d=u[a+304>>1];h=d>>31;b=v[e>>2];e=b>>31;h=h^d+h;i=e^b+e;k=i>>>16|0;m=B(h,k);e=m<<16|8192;q=e;r=h;h=i&65535;e=e+B(r,h)|0;e=(m>>>16|0)+(q>>>0>e>>>0)<<18|e>>>14;i=(b^d)>-1?e:0-e|0;d=u[a+302>>1];e=d>>31;m=k;k=e^d+e;m=B(m,k);e=m<<16|8192;q=e;e=e+B(h,k)|0;e=(m>>>16|0)+(q>>>0>e>>>0)<<18|e>>>14;d=(b^d)>-1?e:0-e|0;while(1){b=c-1|0;v[a+28>>2]=b;b=x[(b<<2)+g>>1];xb:{if(b>>>0>=x[a+116>>1]){if(!w[a+593|0]){break xb}h=134;break j}yb:{zb:{Ab:{Bb:{if(v[v[v[a>>2]+96>>2]+64>>2]==40){if(w[a+643|0]){Cb:{if(f){break Cb}if(w[a+645|0]?w[a+644|0]:0){break xb}if(x[a+304>>1]?w[a+592|0]:0){break Cb}if(!(w[b+v[a+132>>2]|0]&16)){break xb}}if(x[a+302>>1]){c=b+v[a+132>>2]|0;t[c|0]=w[c|0]|8}if(!x[a+304>>1]){break xb}if(!w[a+643|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40|(!w[a+644|0]|!w[a+645|0])){break zb}break yb}if(x[a+302>>1]){break Bb}break Ab}if(!x[a+302>>1]){break Ab}}c=v[a+124>>2]+(b<<3)|0;v[c>>2]=d+v[c>>2];c=b+v[a+132>>2]|0;t[c|0]=w[c|0]|8}if(!x[a+304>>1]){break xb}if(!w[a+644|0]|(!w[a+643|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40)){break zb}if(w[a+645|0]){break yb}}c=v[a+124>>2]+(b<<3)|0;v[c+4>>2]=i+v[c+4>>2]}b=b+v[a+132>>2]|0;t[b|0]=w[b|0]|16}b=v[a+308>>2];v[a+308>>2]=b-1;c=v[a+28>>2];if((b|0)<2){break wb}g=v[a+24>>2];continue}}v[a+32>>2]=c;v[a+308>>2]=1;break s;case 54:case 55:if(y[e>>2]>=2){if(!w[a+593|0]){break s}v[a+12>>2]=134;break s}if(Bk(a,j+16|0,j+12|0,j+24|0,j+22|0)){break s}Db:{Eb:{switch(x[a+352>>1]){case 0:b=x[a+116>>1];break Db;case 1:break Eb;default:break s}}b=u[a+118>>1];if((b|0)<1){break s}b=x[(v[a+136>>2]+((b&65535)<<1)|0)-2>>1]+1|0}if(!(b&65535)){break s}c=v[j+12>>2];d=v[j+16>>2];f=v[j+40>>2];g=v[a+124>>2];if((f|0)==(g|0)){g=x[j+22>>1];e=b&65535;b=0;while(1){Fb:{if((b|0)==(g|0)){break Fb}if(!(!x[a+302>>1]|(w[a+643|0]?v[v[v[a>>2]+96>>2]+64>>2]==40:0))){h=f+(b<<3)|0;v[h>>2]=d+v[h>>2]}if(!x[a+304>>1]){break Fb}if(!(!w[a+644|0]|(!w[a+643|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+645|0]){break Fb}}h=f+(b<<3)|0;v[h+4>>2]=c+v[h+4>>2]}b=b+1|0;if((e|0)!=(b|0)){continue}break}break s}f=x[a+302>>1];if(!x[a+304>>1]){if(!f){break s}f=v[v[v[a>>2]+96>>2]+64>>2];c=0;e=b&65535;if((e|0)!=1){h=e&65534;while(1){if(!(w[a+643|0]?(f|0)==40:0)){e=g+(c<<3)|0;v[e>>2]=d+v[e>>2]}if(!(w[a+643|0]?(f|0)==40:0)){e=g+((c|1)<<3)|0;v[e>>2]=d+v[e>>2]}c=c+2|0;h=h-2|0;if(h){continue}break}}if(!(b&1)|(w[a+643|0]?(f|0)==40:0)){break s}b=g+(c<<3)|0;v[b>>2]=d+v[b>>2];break s}e=v[v[v[a>>2]+96>>2]+64>>2];if(!f){if((e|0)!=40){d=b&3;f=0;b=b&65535;if(b-1>>>0>=3){l=b&65532;while(1){b=f<<3;e=b+g|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|8)|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|16)|0;v[e+4>>2]=c+v[e+4>>2];b=g+(b|24)|0;v[b+4>>2]=c+v[b+4>>2];f=f+4|0;l=l-4|0;if(l){continue}break}}if(!d){break s}while(1){b=g+(f<<3)|0;v[b+4>>2]=c+v[b+4>>2];f=f+1|0;d=d-1|0;if(d){continue}break}break s}if(!w[a+643|0]){d=b&3;f=0;b=b&65535;if(b-1>>>0>=3){l=b&65532;while(1){b=f<<3;e=b+g|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|8)|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|16)|0;v[e+4>>2]=c+v[e+4>>2];b=g+(b|24)|0;v[b+4>>2]=c+v[b+4>>2];f=f+4|0;l=l-4|0;if(l){continue}break}}if(!d){break s}while(1){b=g+(f<<3)|0;v[b+4>>2]=c+v[b+4>>2];f=f+1|0;d=d-1|0;if(d){continue}break}break s}if(!w[a+644|0]){d=b&3;f=0;b=b&65535;if(b-1>>>0>=3){l=b&65532;while(1){b=f<<3;e=b+g|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|8)|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|16)|0;v[e+4>>2]=c+v[e+4>>2];b=g+(b|24)|0;v[b+4>>2]=c+v[b+4>>2];f=f+4|0;l=l-4|0;if(l){continue}break}}if(!d){break s}while(1){b=g+(f<<3)|0;v[b+4>>2]=c+v[b+4>>2];f=f+1|0;d=d-1|0;if(d){continue}break}break s}if(w[a+645|0]){break s}d=b&3;f=0;b=b&65535;if(b-1>>>0>=3){l=b&65532;while(1){b=f<<3;e=b+g|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|8)|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|16)|0;v[e+4>>2]=c+v[e+4>>2];b=g+(b|24)|0;v[b+4>>2]=c+v[b+4>>2];f=f+4|0;l=l-4|0;if(l){continue}break}}if(!d){break s}while(1){b=g+(f<<3)|0;v[b+4>>2]=c+v[b+4>>2];f=f+1|0;d=d-1|0;if(d){continue}break}break s}if((e|0)==40){b=b&65535;e=w[a+643|0];f=0;while(1){Gb:{Hb:{if(!e){h=g+(f<<3)|0;v[h>>2]=d+v[h>>2];break Hb}if(!w[a+644|0]){break Hb}if(w[a+645|0]){break Gb}}h=g+(f<<3)|0;v[h+4>>2]=c+v[h+4>>2]}f=f+1|0;if((b|0)!=(f|0)){continue}break}break s}h=0;f=b&65535;if((f|0)!=1){l=f&65534;while(1){e=h<<3;f=e+g|0;v[f>>2]=d+v[f>>2];v[f+4>>2]=c+v[f+4>>2];f=g+(e|8)|0;v[f>>2]=d+v[f>>2];v[f+4>>2]=c+v[f+4>>2];h=h+2|0;l=l-2|0;if(l){continue}break}}if(!(b&1)){break s}b=g+(h<<3)|0;v[b>>2]=d+v[b>>2];v[b+4>>2]=c+v[b+4>>2];break s;case 52:case 53:b=v[e>>2]<<16;c=b>>16;if(c>>>0>=(x[a+352>>1]?u[a+118>>1]:1)>>>0){if(!w[a+593|0]){break s}v[a+12>>2]=134;break s}if(Bk(a,j+16|0,j+12|0,j+24|0,j+22|0)){break s}b=(b?(x[(v[a+136>>2]+(c<<1)|0)-2>>1]-x[a+140>>1]|0)+1|0:0)&65535;e=b;if(x[a+352>>1]){c=(x[v[a+136>>2]+(c<<1)>>1]-x[a+140>>1]|0)+1|0}else{c=x[a+116>>1]}c=c&65535;if(e>>>0>=c>>>0){break s}d=v[j+12>>2];f=v[j+16>>2];g=v[j+40>>2];e=x[j+22>>1];while(1){h=v[a+124>>2];Ib:{if((b|0)==(e|0)?(h|0)==(g|0):0){break Ib}if(x[a+302>>1]){if(!(w[a+643|0]?v[v[v[a>>2]+96>>2]+64>>2]==40:0)){h=h+(b<<3)|0;v[h>>2]=f+v[h>>2]}h=v[a+132>>2]+b|0;t[h|0]=w[h|0]|8}if(!x[a+304>>1]){break Ib}Jb:{if(!(!w[a+644|0]|(!w[a+643|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+645|0]){break Jb}}h=v[a+124>>2]+(b<<3)|0;v[h+4>>2]=d+v[h+4>>2]}h=v[a+132>>2]+b|0;t[h|0]=w[h|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break};break s;case 50:case 51:Kb:{if(v[a+16>>2]<v[a+308>>2]){if(!w[a+593|0]){break Kb}v[a+12>>2]=134;break Kb}if(Bk(a,j+16|0,j+12|0,j+24|0,j+22|0)){break s}if(v[a+308>>2]<1){break Kb}c=v[j+12>>2];d=v[j+16>>2];while(1){b=v[a+28>>2]-1|0;v[a+28>>2]=b;b=x[v[a+24>>2]+(b<<2)>>1];Lb:{if(b>>>0>=x[a+116>>1]){if(!w[a+593|0]){break Lb}v[a+12>>2]=134;break s}if(x[a+302>>1]){if(!(w[a+643|0]?v[v[v[a>>2]+96>>2]+64>>2]==40:0)){f=v[a+124>>2]+(b<<3)|0;v[f>>2]=d+v[f>>2]}f=b+v[a+132>>2]|0;t[f|0]=w[f|0]|8}if(!x[a+304>>1]){break Lb}Mb:{if(!(!w[a+644|0]|(!w[a+643|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+645|0]){break Mb}}f=v[a+124>>2]+(b<<3)|0;v[f+4>>2]=c+v[f+4>>2]}b=b+v[a+132>>2]|0;t[b|0]=w[b|0]|16}b=v[a+308>>2];v[a+308>>2]=b-1;if((b|0)>1){continue}break}}v[a+308>>2]=1;v[a+32>>2]=v[a+28>>2];break s;case 48:case 49:Nb:{if(!w[a+643|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40){break Nb}if(w[a+645|0]?w[a+644|0]:0){break s}if(i&1){t[a+644|0]=1;break Nb}t[a+645|0]=1}if(!x[a+154>>1]){break s}Ob:{if(i&1){s=v[a+156>>2];v[j+24>>2]=s;l=v[a+160>>2];v[j+28>>2]=l;A=v[a+164>>2];v[j+32>>2]=A;r=8;break Ob}s=v[a+156>>2]+4|0;v[j+24>>2]=s;l=v[a+160>>2]+4|0;v[j+28>>2]=l;A=v[a+164>>2]+4|0;v[j+32>>2]=A;r=16}q=x[a+152>>1];v[j+36>>2]=q;C=0;b=q;k=0;while(1){c=x[v[a+172>>2]+(C<<1)>>1]-x[a+176>>1]|0;b=b&65535;z=b>>>0>c>>>0?c:b-1|0;Pb:{if(z>>>0<k>>>0){f=k;break Pb}b=v[a+168>>2];d=k;Qb:{while(1){Rb:{f=d+1|0;if(r&w[b+d|0]){i=f;h=d;c=d;Sb:{Tb:{J=f>>>0>z>>>0;if(!J){while(1){e=i;Ub:{if(!(r&w[e+b|0])){g=c;break Ub}g=e;b=c+1|0;if(h>>>0<b>>>0|c>>>0>=q>>>0|e>>>0>=q>>>0){break Ub}m=v[(e<<3)+A>>2];g=v[(c<<3)+A>>2];Vb:{if((m|0)>=(g|0)){i=m;m=g;g=e;break Vb}i=g;g=c;c=e}D=g<<3;g=v[D+l>>2];H=v[s+D>>2];K=g-H|0;D=c<<3;c=v[D+l>>2];I=v[s+D>>2];L=c-I|0;Wb:{if(!((c|0)==(g|0)|(i|0)==(m|0))){O=i-m|0;D=g-c|0;M=0;i=0;while(1){P=(b<<3)+l|0;g=v[(b<<3)+s>>2];Xb:{if((g|0)<=(I|0)){G=g+L|0;break Xb}G=g+K|0;if((g|0)>=(H|0)){break Xb}if(!M){i=ab(D,O)}M=1;G=Qa(v[(b<<3)+A>>2]-m|0,i)+c|0}v[P>>2]=G;b=b+1|0;if(h>>>0>=b>>>0){continue}break}break Wb}while(1){i=b<<3;g=v[i+s>>2];v[i+l>>2]=(g|0)>(I|0)?(g|0)<(H|0)?c:g+K|0:g+L|0;b=b+1|0;if(h>>>0>=b>>>0){continue}break}}g=e}i=e+1|0;if(z>>>0>=i>>>0){b=v[a+168>>2];h=e;c=g;continue}break}if((d|0)!=(g|0)){break Tb}}b=d<<3;g=v[b+l>>2]-v[b+s>>2]|0;if(!g){break Qb}if(d>>>0<=k>>>0){break Rb}b=(k^-1)+d|0;c=d-k&3;if(c){while(1){e=(k<<3)+l|0;v[e>>2]=g+v[e>>2];k=k+1|0;c=c-1|0;if(c){continue}break}}if(b>>>0>2){break Sb}break Rb}pr(j+24|0,g+1&65535,z,g,d);if(!d){break Qb}pr(j+24|0,k,d-1|0,g,d);break Qb}while(1){b=(k<<3)+l|0;v[b>>2]=g+v[b>>2];v[b+8>>2]=g+v[b+8>>2];v[b+16>>2]=g+v[b+16>>2];v[b+24>>2]=g+v[b+24>>2];k=k+4|0;if((k|0)!=(d|0)){continue}break}break Rb}d=f;if(z>>>0>=d>>>0){continue}break Pb}break}if(J){break Qb}while(1){b=(f<<3)+l|0;v[b>>2]=g+v[b>>2];f=f+1|0;if(z>>>0>=f>>>0){continue}break}}f=i}C=C+1|0;if((C|0)>=u[a+154>>1]){break s}b=x[a+152>>1];k=f;continue};case 46:case 47:b=x[e>>1];if(b>>>0>=x[a+44>>1]){if(!w[a+593|0]){break s}h=134;break j}c=a;e=o;d=b;if(i&1){g=v[a+52>>2]+(b<<3)|0;g=Ea[v[a+604>>2]](a,v[g>>2],v[g+4>>2])|0;g=(Ea[v[a+600>>2]](a,g,3)|0)-g|0}else{g=0}Ea[v[a+616>>2]](c,e,d,g);u[a+290>>1]=b;u[a+288>>1]=b;break s;case 79:break j;case 45:break t}}c=v[a+448>>2];if((c|0)<1){h=136;break j}b=c-1|0;v[a+448>>2]=b;b=v[a+456>>2]+(b<<4)|0;d=v[b+8>>2];v[b+8>>2]=d-1;t[a+384|0]=0;if((d|0)>=2){v[a+448>>2]=c;v[a+368>>2]=v[v[b+12>>2]+4>>2];break s}c=v[b>>2];d=c-1|0;if(d>>>0>2){h=132;break j}d=(d<<3)+a|0;f=v[d+464>>2];if(!f){h=138;break j}d=v[d+468>>2];b=v[b+4>>2];if((d|0)<(b|0)){h=131;break j}v[a+372>>2]=d;v[a+364>>2]=f;v[a+368>>2]=b;v[a+360>>2]=c}b=v[a+12>>2]}if(b){h=128;if((b|0)!=128){break i}b=v[a+436>>2];if(!b){break j}c=v[a+428>>2];if((c|0)<1){break j}c=B(c,24)+b|0;while(1){if(!(!w[b+16|0]|w[a+376|0]!=w[b+12|0])){c=v[a+448>>2];if((c|0)>=v[a+452>>2]){h=134;break j}c=v[a+456>>2]+(c<<4)|0;v[c>>2]=v[a+360>>2];d=v[a+368>>2];v[c+12>>2]=b;v[c+8>>2]=1;v[c+4>>2]=d+1;c=v[b>>2];d=c-1|0;if(d>>>0>2){h=132;break j}d=(d<<3)+a|0;f=v[d+464>>2];if(!f){h=138;break j}d=v[d+468>>2];b=v[b+4>>2];if((d|0)>=(b|0)){break o}h=131;break j}b=b+24|0;if(c>>>0>b>>>0){continue}break}break j}v[a+16>>2]=v[a+32>>2];if(!w[a+384|0]){break p}}v[a+368>>2]=v[a+368>>2]+v[a+380>>2]}N=N+1|0;if(N>>>0<=1e6){break n}h=139;break j}v[a+372>>2]=d;v[a+364>>2]=f;v[a+368>>2]=b;v[a+360>>2]=c}c=v[a+368>>2];if((c|0)>=v[a+372>>2]){b=0;h=131;if(v[a+448>>2]>0){break j}break i}if(!w[a+520|0]){continue}break}b=0;break i}v[a+12>>2]=h;b=h}v[a+392>>2]=v[a+404>>2];v[a+492>>2]=v[a+504>>2];Ca=j- -64|0;return b|0}function Hn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,o=0,p=0,q=0,r=0,s=0,x=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;m=Ca-224|0;Ca=m;v[c+16>>2]=0;v[c+20>>2]=-1042284544;v[c+8>>2]=-4194304;v[c+12>>2]=1105199103;v[c>>2]=-4194304;v[c+4>>2]=1105199103;v[c+24>>2]=0;v[c+28>>2]=-1042284544;if(!(!v[a>>2]|y[a+212>>2]<=b>>>0)){e=v[a+76>>2];a:{if((e|0)==280448){break a}b:{c:{switch(w[e|0]){case 0:i=(b+e|0)+1|0;break b;case 3:break c;default:break a}}i=1;g=w[e+1|0]|w[e+2|0]<<8;g=(g<<8|g>>>8)&65535;d:{if(g>>>0<2){break d}while(1){F=g>>>0>i>>>0?(e+B(i,3)|0)+3|0:280448;if((w[F|0]<<8|w[F+1|0])>>>0>b>>>0){break d}i=i+1|0;if((g|0)!=(i|0)){continue}break}i=g}i=i-1|0;i=(g>>>0>i>>>0?(e+B(i,3)|0)+3|0:280448)+2|0}J=w[i|0]}t[m+72|0]=0;i=m- -64|0;v[i>>2]=0;v[i+4>>2]=0;v[m+92>>2]=0;v[m+84>>2]=0;v[m+88>>2]=0;v[m+108>>2]=0;v[m+112>>2]=0;t[m+116|0]=0;v[m+160>>2]=0;v[m+152>>2]=0;v[m+156>>2]=0;v[m+56>>2]=0;v[m+60>>2]=0;v[m+100>>2]=0;v[m+104>>2]=0;F=v[a+68>>2];i=w[F|0]<<8|w[F+1|0];e:{if(i>>>0<=b>>>0){q=v[70114];i=v[70112];k=v[70113];break e}e=w[F+2|0];M=(F+B(e,i+1|0)|0)+3|0;f:{if(!e){break f}g=e&3;i=(F+B(b,e)|0)+3|0;if(e-1>>>0<3){k=0}else{k=e&252;while(1){e=i;i=e+4|0;k=k-4|0;if(k){continue}break}k=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);k=k<<24|k<<8&16711680|(k>>>8&65280|k>>>24)}if(!g){break f}while(1){k=w[i|0]|k<<8;i=i+1|0;g=g-1|0;if(g){continue}break}}i=(k+M|0)-1|0;k=Sg(F,b)}g=v[(y[a+204>>2]>J>>>0?v[a+208>>2]+B(J,24)|0:280448)+20>>2];e=v[a+64>>2];v[m+80>>2]=0;v[m+84>>2]=0;v[m+88>>2]=0;v[m+92>>2]=0;t[m+76|0]=0;t[m+72|0]=0;v[m+68>>2]=0;v[m+64>>2]=q;v[m+60>>2]=k;v[m+56>>2]=i;b=Va(4744);g:{if(!b){v[m+84>>2]=-1;break g}v[m+84>>2]=593;v[m+88>>2]=513;v[m+92>>2]=b;Ra(b,0,4104)}v[m+120>>2]=0;v[m+124>>2]=0;t[m+116|0]=0;v[m+112>>2]=0;v[m+108>>2]=q;v[m+104>>2]=k;v[m+192>>2]=0;v[m+196>>2]=0;v[m+184>>2]=0;v[m+188>>2]=0;t[m+129|0]=1;t[m+130|0]=0;v[m+100>>2]=i;t[m+96|0]=0;b=Va(560);v[m+156>>2]=0;v[m+160>>2]=0;v[m+148>>2]=0;v[m+152>>2]=0;t[m+137|0]=0;t[m+138|0]=0;t[m+139|0]=0;t[m+140|0]=0;t[m+141|0]=0;t[m+142|0]=0;t[m+143|0]=0;t[m+144|0]=0;v[m+132>>2]=0;v[m+136>>2]=0;h:{if(!b){v[m+152>>2]=-1;break h}v[m+152>>2]=20;v[m+160>>2]=b;i=Ra(b+16|0,0,256);v[m+156>>2]=10;t[i|0]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[b+272>>2]=0;v[b+276>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;t[b+44|0]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;i=b- -64|0;v[i>>2]=0;v[i+4>>2]=0;t[b+72|0]=0;v[b+76>>2]=0;v[b+80>>2]=0;v[b+84>>2]=0;v[b+88>>2]=0;v[b+92>>2]=0;v[b+96>>2]=0;t[b+100|0]=0;t[b+128|0]=0;v[b+120>>2]=0;v[b+124>>2]=0;v[b+112>>2]=0;v[b+116>>2]=0;v[b+104>>2]=0;v[b+108>>2]=0;t[b+156|0]=0;v[b+148>>2]=0;v[b+152>>2]=0;v[b+140>>2]=0;v[b+144>>2]=0;v[b+132>>2]=0;v[b+136>>2]=0;t[b+184|0]=0;v[b+176>>2]=0;v[b+180>>2]=0;v[b+168>>2]=0;v[b+172>>2]=0;v[b+160>>2]=0;v[b+164>>2]=0;t[b+212|0]=0;v[b+204>>2]=0;v[b+208>>2]=0;v[b+196>>2]=0;v[b+200>>2]=0;v[b+188>>2]=0;v[b+192>>2]=0;t[b+240|0]=0;v[b+232>>2]=0;v[b+236>>2]=0;v[b+224>>2]=0;v[b+228>>2]=0;v[b+216>>2]=0;v[b+220>>2]=0;t[b+268|0]=0;v[b+260>>2]=0;v[b+264>>2]=0;v[b+252>>2]=0;v[b+256>>2]=0;v[b+244>>2]=0;v[b+248>>2]=0}v[m+168>>2]=e;i:{j:{if(e){b=w[e+1|0]|w[e|0]<<8;if(b>>>0>1239){break j}}v[m+164>>2]=107;break i}if(b>>>0<=33899){v[m+164>>2]=1131;break i}v[m+164>>2]=32768}v[m+176>>2]=g;k:{l:{if(g){b=w[g+1|0]|w[g|0]<<8;if(b>>>0>1239){break l}}v[m+172>>2]=107;break k}if(b>>>0<=33899){v[m+172>>2]=1131;break k}v[m+172>>2]=32768}t[m+216|0]=d;v[m+204>>2]=0;u[m+200>>1]=0;v[m+40>>2]=0;v[m+44>>2]=-1042284544;v[m+32>>2]=0;v[m+36>>2]=-1042284544;v[m+24>>2]=-4194304;v[m+28>>2]=1105199103;t[m+128|0]=0;v[m+48>>2]=a;t[m+8|0]=0;v[m+16>>2]=-4194304;v[m+20>>2]=1105199103;M=w[280448];Q=M|256;F=v[70112];J=v[70113];i=0;m:{while(1){a=65535;n:{o:{p:{b=i+1|0;if(b>>>0>k>>>0){break p}q:{r:{if(i>>>0<k>>>0){a=v[m+56>>2];g=w[a+i|0];if((g|0)==12){g=Q;if(b>>>0>=k>>>0){break r}i=b;g=w[a+b|0]|256}if(i>>>0>=k>>>0){break r}v[m+68>>2]=i+1;break q}t[m+72|0]=1;g=M;if((g|0)==12){break p}}t[m+72|0]=1;v[m+68>>2]=k}if((g|0)!=14){a=g;if((a|0)!=256){break p}break o}d=v[m+80>>2];if(!w[m+200|0]){if(d&1){s:{if(!v[m+88>>2]){v[163916]=F;v[163917]=J;a=F;b=J;break s}b=v[m+92>>2];a=v[b>>2];b=v[b+4>>2]}v[m+204>>2]=1;t[m+201|0]=1;v[m+208>>2]=a;v[m+212>>2]=b}t[m+200|0]=1}if(d>>>0>=4){d=Ca+-64|0;Ca=d;a=v[m+80>>2];b=a-4|0;if(a>>>0<=3){t[m+76|0]=1}k=v[m+88>>2];t:{if(k>>>0<=b>>>0){b=v[70113];i=v[70112];v[163916]=i;v[163917]=b;l(0,i|0);l(1,b|0);r=+n();break t}r=A[v[m+92>>2]+(b<<3)>>3]}if(a>>>0<=2){t[m+76|0]=1}b=a-3|0;u:{if(b>>>0>=k>>>0){b=v[70113];i=v[70112];v[163916]=i;v[163917]=b;l(0,i|0);l(1,b|0);s=+n();break u}s=A[v[m+92>>2]+(b<<3)>>3]}i=v[m+48>>2];if(a>>>0<=1){t[m+76|0]=1}g=0;b=a-2|0;v:{if(b>>>0>=k>>>0){b=v[70113];k=v[70112];v[163916]=k;v[163917]=b;l(0,k|0);l(1,b|0);h=+n();break v}h=A[v[m+92>>2]+(b<<3)>>3]}w:{if(D(h)<2147483648){b=~~h;break w}b=-2147483648}x:{if(b>>>0<=255){g=w[b+248544|0];k=v[i+48>>2];if((k|0)!=280448){g=zn(k,g,v[i+212>>2]);i=v[m+48>>2];b=v[m+80>>2];break x}g=v[i+168>>2]?0:b>>>0<229?g:0}b=a}a=a-1|0;if(b>>>0<=a>>>0){t[m+76|0]=1}y:{if(a>>>0>=y[m+88>>2]){a=v[70113];b=v[70112];v[163916]=b;v[163917]=a;l(0,b|0);l(1,a|0);h=+n();break y}h=A[v[m+92>>2]+(a<<3)>>3]}z:{if(D(h)<2147483648){b=~~h;break z}b=-2147483648}a=0;A:{if(b>>>0>255){break A}a=w[b+248544|0];k=v[i+48>>2];if((k|0)!=280448){a=zn(k,a,v[i+212>>2]);break A}a=v[i+168>>2]?0:b>>>0<229?a:0}B:{C:{if(!a|(w[m+216|0]|!g)){break C}if(!Hn(v[m+48>>2],g,d+32|0,1)){break C}if(!Hn(v[m+48>>2],a,d,1)){break C}D:{E:{G=A[m+32>>3];E=A[m+16>>3];if(G>E){O=A[m+40>>3];P=A[m+24>>3];if(O>P){break E}}a=v[d+36>>2];v[m+16>>2]=v[d+32>>2];v[m+20>>2]=a;a=v[d+60>>2];v[m+40>>2]=v[d+56>>2];v[m+44>>2]=a;a=v[d+52>>2];v[m+32>>2]=v[d+48>>2];v[m+36>>2]=a;a=v[d+44>>2];v[m+24>>2]=v[d+40>>2];v[m+28>>2]=a;break D}h=A[d+48>>3];j=A[d+32>>3];if(!(h>j)){break D}C=A[d+56>>3];x=A[d+40>>3];if(!(C>x)){break D}if(j<E){A[m+16>>3]=j}if(h>G){A[m+32>>3]=h}if(x<P){A[m+24>>3]=x}if(!(C>O)){break D}A[m+40>>3]=C}h=A[d+16>>3];j=A[d>>3];F:{if(!(h>j)){break F}C=A[d+24>>3];x=A[d+8>>3];if(!(C>x)){break F}A[d+24>>3]=s+C;h=r+h;A[d+16>>3]=h;A[d+8>>3]=s+x;j=r+j;A[d>>3]=j}G:{C=A[m+32>>3];x=A[m+16>>3];if(C>x){G=A[m+40>>3];E=A[m+24>>3];if(G>E){break G}}a=v[d+4>>2];v[m+16>>2]=v[d>>2];v[m+20>>2]=a;a=v[d+28>>2];v[m+40>>2]=v[d+24>>2];v[m+44>>2]=a;a=v[d+20>>2];v[m+32>>2]=v[d+16>>2];v[m+36>>2]=a;a=v[d+12>>2];v[m+24>>2]=v[d+8>>2];v[m+28>>2]=a;break B}if(!(h>j)){break B}r=A[d+24>>3];s=A[d+8>>3];if(!(r>s)){break B}if(j<x){A[m+16>>3]=j}if(h>C){A[m+32>>3]=h}if(s<E){A[m+24>>3]=s}if(!(r>G)){break B}A[m+40>>3]=r;break B}t[m+96|0]=1}Ca=d- -64|0}t[m+128|0]=1;break o}e=m+56|0;b=m+8|0;H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{switch(a-1|0){default:switch(a-255|0){case 0:break ma;case 38:break S;case 37:break T;case 36:break U;case 35:break V;default:break R};case 10:if(w[e+16|0]){t[e+40|0]=1}a=v[e+92>>2];oa:{pa:{if(a){a=a-1|0;v[e+92>>2]=a;if(a>>>0>=y[e+100>>2]){break pa}a=v[e+104>>2]+B(a,28)|0;break oa}t[e+88|0]=1}v[163922]=v[70118];a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664}d=v[a+4>>2];v[e+44>>2]=v[a>>2];v[e+48>>2]=d;v[e+68>>2]=v[a+24>>2];b=v[a+20>>2];v[e+60>>2]=v[a+16>>2];v[e+64>>2]=b;b=v[a+12>>2];v[e+52>>2]=v[a+8>>2];v[e+56>>2]=b;b=v[a+8>>2];d=v[a+12>>2];i=v[a>>2];g=v[a+4>>2];t[e+16|0]=w[a+16|0];v[e+8>>2]=b;v[e+12>>2]=d;v[e>>2]=i;v[e+4>>2]=g;break H;case 5:break ca;case 4:break da;case 3:break ea;case 21:break fa;case 20:break ga;case 18:case 19:break ha;case 2:case 22:break ia;case 0:case 17:break ja;case 28:break ka;case 9:break la;case 13:break na;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break R;case 30:break W;case 29:break X;case 26:break Y;case 25:break Z;case 24:break _;case 23:break $;case 7:break aa;case 6:break ba}}if(!w[e+144|0]){if(t[e+24|0]&1){qa:{if(!v[e+32>>2]){a=v[70113];p=a;o=v[70112];v[163916]=o;v[163917]=a;break qa}a=v[e+36>>2];o=v[a>>2];p=v[a+4>>2]}t[e+145|0]=1;v[e+152>>2]=o;v[e+156>>2]=p}t[e+144|0]=1}v[e+148>>2]=0;t[e+72|0]=1;v[e+24>>2]=0;break H}if(w[e+16|0]){break H}d=v[e+12>>2];i=d+4|0;b=v[e+4>>2];if(i>>>0>b>>>0){break H}ra:{if(b>>>0<=d>>>0){t[e+16|0]=1;a=280448;break ra}a=d+v[e>>2]|0}a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=v[e+24>>2];sa:{if(a>>>0<y[e+32>>2]){v[e+24>>2]=a+1;k=v[e+36>>2]+(a<<3)|0;a=b;break sa}t[e+20|0]=1;a=v[70113];v[163916]=v[70112];v[163917]=a;k=655664;a=v[e+4>>2]}A[k>>3]=+(g|0)*152587890625e-16;if(!(a>>>0<d>>>0|b>>>0<=d>>>0|a>>>0<i>>>0)){v[e+12>>2]=i;break H}break L}Fx(e,e+116|0,2);break H}Fx(e,e+108|0,1);break H}if(w[e+144|0]|a>>>0>18){break M}if(1<<a&278538){break Q}if((a|0)!=4){break M}a=v[e+24>>2];i=a>>>0>1;break N}ta:{if(w[e+144|0]|a>>>0>23){break ta}ua:{va:{b=1<<a;if(!(b&10240008)){if(b&4194320){break va}if((a|0)!=21){break ta}a=v[e+24>>2];b=a>>>0>2;break ua}a=v[e+24>>2];b=a&1;break ua}a=v[e+24>>2];b=a>>>0>1}if(!(!a|!b)){wa:{if(!v[e+32>>2]){a=v[70113];p=a;o=v[70112];v[163916]=o;v[163917]=a;break wa}a=v[e+36>>2];o=v[a>>2];p=v[a+4>>2]}t[e+145|0]=1;v[e+152>>2]=o;v[e+156>>2]=p}t[e+144|0]=1}v[e+148>>2]=0;a=v[e+24>>2];v[e+24>>2]=0;v[e+80>>2]=v[e+80>>2]+(a>>>1|0);break H}if(!w[e+144|0]){if(t[e+24|0]&1){xa:{if(!v[e+32>>2]){a=v[70113];p=a;o=v[70112];v[163916]=o;v[163917]=a;break xa}a=v[e+36>>2];o=v[a>>2];p=v[a+4>>2]}v[e+148>>2]=1;t[e+145|0]=1;v[e+152>>2]=o;v[e+156>>2]=p}t[e+144|0]=1}ya:{if(w[e+74|0]){a=v[e+84>>2];break ya}t[e+74|0]=1;a=v[e+80>>2]+(v[e+24>>2]>>>1|0)|0;v[e+80>>2]=a;a=(a+v[e+76>>2]|0)+7>>>3|0;v[e+84>>2]=a}if(w[e+16|0]){break H}d=v[e+12>>2];b=d+a|0;a=v[e+4>>2];if(b>>>0>a>>>0){break H}v[e+148>>2]=0;v[e+24>>2]=0;if(a>>>0>=d>>>0){v[e+12>>2]=b;break H}break L}a=v[e+24>>2];if(!w[e+144|0]){if(a>>>0>=3){za:{if(!v[e+32>>2]){d=v[70113];p=d;o=v[70112];v[163916]=o;v[163917]=d;break za}d=v[e+36>>2];o=v[d>>2];p=v[d+4>>2]}v[e+148>>2]=1;t[e+145|0]=1;v[e+152>>2]=o;v[e+156>>2]=p}t[e+144|0]=1}r=A[e+136>>3];h=A[e+128>>3];if(!a){k=655664;break P}d=a-1|0;v[e+24>>2]=d;i=v[e+32>>2];Aa:{if(i>>>0<=d>>>0){g=v[70113];v[163916]=v[70112];v[163917]=g;k=655664;break Aa}k=v[e+36>>2]+(d<<3)|0}if(!d){break P}a=a-2|0;if(i>>>0<=a>>>0){d=v[70113];i=v[70112];v[163916]=i;v[163917]=d;l(0,i|0);l(1,d|0);j=+n();break O}j=A[v[e+36>>2]+(a<<3)>>3];break O}a=v[e+24>>2];if(!w[e+144|0]){if(a>>>0>=2){Ba:{if(!v[e+32>>2]){d=v[70113];p=d;o=v[70112];v[163916]=o;v[163917]=d;break Ba}d=v[e+36>>2];o=v[d>>2];p=v[d+4>>2]}v[e+148>>2]=1;t[e+145|0]=1;v[e+152>>2]=o;v[e+156>>2]=p}t[e+144|0]=1}r=A[e+136>>3];h=A[e+128>>3];Ca:{if(a){a=a-1|0;if(a>>>0>=y[e+32>>2]){d=v[70113];i=v[70112];v[163916]=i;v[163917]=d;l(0,i|0);l(1,d|0);j=+n();break Ca}j=A[v[e+36>>2]+(a<<3)>>3];break Ca}t[e+20|0]=1;a=0;d=v[70113];i=v[70112];v[163916]=i;v[163917]=d;l(0,i|0);l(1,d|0);j=+n()}t[b|0]=0;A[e+136>>3]=r;break K}a=v[e+24>>2];if(!w[e+144|0]){if(a>>>0>=2){Da:{if(!v[e+32>>2]){d=v[70113];p=d;o=v[70112];v[163916]=o;v[163917]=d;break Da}d=v[e+36>>2];o=v[d>>2];p=v[d+4>>2]}v[e+148>>2]=1;t[e+145|0]=1;v[e+152>>2]=o;v[e+156>>2]=p}t[e+144|0]=1}j=A[e+136>>3];r=A[e+128>>3];Ea:{if(a){a=a-1|0;if(a>>>0>=y[e+32>>2]){d=v[70113];i=v[70112];v[163916]=i;v[163917]=d;l(0,i|0);l(1,d|0);h=+n();break Ea}h=A[v[e+36>>2]+(a<<3)>>3];break Ea}t[e+20|0]=1;a=0;d=v[70113];i=v[70112];v[163916]=i;v[163917]=d;l(0,i|0);l(1,d|0);h=+n()}t[b|0]=0;A[e+136>>3]=j+h;A[e+128>>3]=r;break J}a=0;g=v[e+24>>2];if(g>>>0>=2){k=v[e+36>>2];f=v[e+32>>2];d=v[70113];o=d;p=v[70112];l(0,p|0);l(1,d|0);r=+n();i=2;while(1){if(a>>>0>=g>>>0){t[e+20|0]=1}Fa:{if(a>>>0>=f>>>0){v[163916]=p;v[163917]=o;d=655664;break Fa}d=k+(a<<3)|0}a=a|1;if(a>>>0>=g>>>0){t[e+20|0]=1}h=A[e+128>>3];s=A[e+136>>3];Ga:{if(a>>>0>=f>>>0){v[163916]=p;v[163917]=o;j=r;break Ga}j=A[k+(a<<3)>>3]}s=s+j;j=h+A[d>>3];Ha:{if(w[b|0]){break Ha}t[b|0]=1;if(A[b+8>>3]>h){A[b+8>>3]=h;h=A[e+128>>3]}if(A[b+24>>3]<h){A[b+24>>3]=h}h=A[e+136>>3];if(h<A[b+16>>3]){A[b+16>>3]=h;h=A[e+136>>3]}if(!(A[b+32>>3]<h)){break Ha}A[b+32>>3]=h}A[e+136>>3]=s;A[e+128>>3]=j;if(A[b+8>>3]>j){A[b+8>>3]=j;j=A[e+128>>3]}if(A[b+24>>3]<j){A[b+24>>3]=j}j=A[e+136>>3];if(j<A[b+16>>3]){A[b+16>>3]=j;j=A[e+136>>3]}if(A[b+32>>3]<j){A[b+32>>3]=j}a=i;i=a+2|0;if(g>>>0>=i>>>0){continue}break}}break I}i=0;a=0;o=v[e+36>>2];p=v[e+32>>2];d=v[70112];k=v[70113];f=v[e+24>>2];if(f>>>0>=2){l(0,d|0);l(1,k|0);G=+n();g=2;while(1){a=g;if(f>>>0<=i>>>0){t[e+20|0]=1}h=A[e+128>>3];Ia:{if(i>>>0>=p>>>0){v[163916]=d;v[163917]=k;j=G;break Ia}j=A[o+(i<<3)>>3]}E=A[e+136>>3];j=h+j;Ja:{if(w[b|0]){break Ja}t[b|0]=1;if(A[b+8>>3]>h){A[b+8>>3]=h;h=A[e+128>>3]}if(A[b+24>>3]<h){A[b+24>>3]=h}h=A[e+136>>3];if(h<A[b+16>>3]){A[b+16>>3]=h;h=A[e+136>>3]}if(!(A[b+32>>3]<h)){break Ja}A[b+32>>3]=h}A[e+136>>3]=E;A[e+128>>3]=j;h=j;r=A[b+8>>3];if(h<r){A[b+8>>3]=j;r=j;h=A[e+128>>3]}s=A[b+24>>3];if(s<h){A[b+24>>3]=h;s=h}C=A[b+16>>3];h=A[e+136>>3];if(C>h){A[b+16>>3]=h;C=h;h=A[e+136>>3]}x=A[b+32>>3];if(h>x){A[b+32>>3]=h;x=h}i=i|1;if(i>>>0>=f>>>0){t[e+20|0]=1}Ka:{if(i>>>0>=p>>>0){v[163916]=d;v[163917]=k;h=G;break Ka}h=A[o+(i<<3)>>3]}E=E+h;La:{if(w[b|0]){break La}t[b|0]=1;h=A[e+128>>3];if(r>h){A[b+8>>3]=h;h=A[e+128>>3]}if(h>s){A[b+24>>3]=h}h=A[e+136>>3];if(C>h){A[b+16>>3]=h;h=A[e+136>>3]}if(!(h>x)){break La}A[b+32>>3]=h}A[e+136>>3]=E;A[e+128>>3]=j;if(A[b+8>>3]>j){A[b+8>>3]=j;j=A[e+128>>3]}if(A[b+24>>3]<j){A[b+24>>3]=j}j=A[e+136>>3];if(j<A[b+16>>3]){A[b+16>>3]=j;j=A[e+136>>3]}if(A[b+32>>3]<j){A[b+32>>3]=j}i=a;g=a+2|0;if(f>>>0>=g>>>0){continue}break}}Ma:{if(a>>>0>=f>>>0){break Ma}h=A[e+128>>3];Na:{if(a>>>0>=p>>>0){v[163916]=d;v[163917]=k;l(0,d|0);l(1,k|0);j=+n();break Na}j=A[o+(a<<3)>>3]}r=A[e+136>>3];j=h+j;Oa:{if(w[b|0]){break Oa}t[b|0]=1;if(A[b+8>>3]>h){A[b+8>>3]=h;h=A[e+128>>3]}if(A[b+24>>3]<h){A[b+24>>3]=h}h=A[e+136>>3];if(h<A[b+16>>3]){A[b+16>>3]=h;h=A[e+136>>3]}if(!(A[b+32>>3]<h)){break Oa}A[b+32>>3]=h}A[e+136>>3]=r;A[e+128>>3]=j;if(A[b+8>>3]>j){A[b+8>>3]=j;j=A[e+128>>3]}if(A[b+24>>3]<j){A[b+24>>3]=j}j=A[e+136>>3];if(j<A[b+16>>3]){A[b+16>>3]=j;j=A[e+136>>3]}if(!(A[b+32>>3]<j)){break Ma}A[b+32>>3]=j}break I}a=0;i=0;o=v[e+36>>2];p=v[e+32>>2];d=v[70112];k=v[70113];f=v[e+24>>2];if(f>>>0>=2){l(0,d|0);l(1,k|0);G=+n();g=2;while(1){a=g;if(f>>>0<=i>>>0){t[e+20|0]=1}r=A[e+136>>3];Pa:{if(i>>>0>=p>>>0){v[163916]=d;v[163917]=k;h=G;break Pa}h=A[o+(i<<3)>>3]}j=A[e+128>>3];E=r+h;Qa:{if(w[b|0]){break Qa}t[b|0]=1;h=j;if(h<A[b+8>>3]){A[b+8>>3]=j;h=A[e+128>>3]}if(A[b+24>>3]<h){A[b+24>>3]=h}h=A[e+136>>3];if(h<A[b+16>>3]){A[b+16>>3]=h;h=A[e+136>>3]}if(!(A[b+32>>3]<h)){break Qa}A[b+32>>3]=h}A[e+136>>3]=E;A[e+128>>3]=j;h=j;r=A[b+8>>3];if(h<r){A[b+8>>3]=j;r=j;h=A[e+128>>3]}s=A[b+24>>3];if(s<h){A[b+24>>3]=h;s=h}C=A[b+16>>3];h=A[e+136>>3];if(C>h){A[b+16>>3]=h;C=h;h=A[e+136>>3]}x=A[b+32>>3];if(h>x){A[b+32>>3]=h;x=h}i=i|1;if(i>>>0>=f>>>0){t[e+20|0]=1}Ra:{if(i>>>0>=p>>>0){v[163916]=d;v[163917]=k;h=G;break Ra}h=A[o+(i<<3)>>3]}j=j+h;Sa:{if(w[b|0]){break Sa}t[b|0]=1;h=A[e+128>>3];if(r>h){A[b+8>>3]=h;h=A[e+128>>3]}if(h>s){A[b+24>>3]=h}h=A[e+136>>3];if(C>h){A[b+16>>3]=h;h=A[e+136>>3]}if(!(h>x)){break Sa}A[b+32>>3]=h}A[e+136>>3]=E;A[e+128>>3]=j;if(A[b+8>>3]>j){A[b+8>>3]=j;j=A[e+128>>3]}if(A[b+24>>3]<j){A[b+24>>3]=j}j=A[e+136>>3];if(j<A[b+16>>3]){A[b+16>>3]=j;j=A[e+136>>3]}if(A[b+32>>3]<j){A[b+32>>3]=j}i=a;g=a+2|0;if(f>>>0>=g>>>0){continue}break}}Ta:{if(a>>>0>=f>>>0){break Ta}r=A[e+136>>3];Ua:{if(a>>>0>=p>>>0){v[163916]=d;v[163917]=k;l(0,d|0);l(1,k|0);h=+n();break Ua}h=A[o+(a<<3)>>3]}j=A[e+128>>3];r=r+h;Va:{if(w[b|0]){break Va}t[b|0]=1;h=j;if(h<A[b+8>>3]){A[b+8>>3]=j;h=A[e+128>>3]}if(A[b+24>>3]<h){A[b+24>>3]=h}h=A[e+136>>3];if(h<A[b+16>>3]){A[b+16>>3]=h;h=A[e+136>>3]}if(!(A[b+32>>3]<h)){break Va}A[b+32>>3]=h}A[e+136>>3]=r;A[e+128>>3]=j;if(A[b+8>>3]>j){A[b+8>>3]=j;j=A[e+128>>3]}if(A[b+24>>3]<j){A[b+24>>3]=j}j=A[e+136>>3];if(j<A[b+16>>3]){A[b+16>>3]=j;j=A[e+136>>3]}if(!(A[b+32>>3]<j)){break Ta}A[b+32>>3]=j}break I}i=b;a=0;g=Ca-48|0;Ca=g;k=v[e+24>>2];if(k>>>0>5){f=v[70112];o=v[70113];d=6;while(1){b=v[e+140>>2];v[g+40>>2]=v[e+136>>2];v[g+44>>2]=b;b=v[e+132>>2];v[g+32>>2]=v[e+128>>2];v[g+36>>2]=b;if(a>>>0>=k>>>0){t[e+20|0]=1}p=v[e+32>>2];Wa:{if(p>>>0<=a>>>0){v[163916]=f;v[163917]=o;b=655664;break Wa}b=v[e+36>>2]+(a<<3)|0}q=a|1;if(q>>>0>=k>>>0){t[e+20|0]=1}Xa:{if(p>>>0<=q>>>0){v[163916]=f;v[163917]=o;q=655664;break Xa}q=v[e+36>>2]+(q<<3)|0}A[g+32>>3]=A[g+32>>3]+A[b>>3];A[g+40>>3]=A[g+40>>3]+A[q>>3];b=v[g+44>>2];v[g+24>>2]=v[g+40>>2];v[g+28>>2]=b;b=v[g+36>>2];v[g+16>>2]=v[g+32>>2];v[g+20>>2]=b;b=a+2|0;if(b>>>0>=k>>>0){t[e+20|0]=1}Ya:{if(b>>>0>=p>>>0){v[163916]=f;v[163917]=o;b=655664;break Ya}b=v[e+36>>2]+(b<<3)|0}q=a+3|0;if(q>>>0>=k>>>0){t[e+20|0]=1}Za:{if(p>>>0<=q>>>0){v[163916]=f;v[163917]=o;q=655664;break Za}q=v[e+36>>2]+(q<<3)|0}A[g+16>>3]=A[g+16>>3]+A[b>>3];A[g+24>>3]=A[g+24>>3]+A[q>>3];b=v[g+28>>2];v[g+8>>2]=v[g+24>>2];v[g+12>>2]=b;b=v[g+20>>2];v[g>>2]=v[g+16>>2];v[g+4>>2]=b;b=a+4|0;if(b>>>0>=k>>>0){t[e+20|0]=1}_a:{if(b>>>0>=p>>>0){v[163916]=f;v[163917]=o;b=655664;break _a}b=v[e+36>>2]+(b<<3)|0}a=a+5|0;if(a>>>0>=k>>>0){t[e+20|0]=1}$a:{if(a>>>0>=p>>>0){v[163916]=f;v[163917]=o;a=655664;break $a}a=v[e+36>>2]+(a<<3)|0}A[g>>3]=A[g>>3]+A[b>>3];A[g+8>>3]=A[g+8>>3]+A[a>>3];yb(e,i,g+32|0,g+16|0,g);a=d;d=a+6|0;k=v[e+24>>2];if(d>>>0<=k>>>0){continue}break}}Ca=g+48|0;break I}a=0;g=Ca-48|0;Ca=g;k=v[e+24>>2];ab:{if(k>>>0<8){break ab}z=k-2|0;f=v[70112];o=v[70113];i=6;while(1){d=v[e+140>>2];v[g+40>>2]=v[e+136>>2];v[g+44>>2]=d;d=v[e+132>>2];v[g+32>>2]=v[e+128>>2];v[g+36>>2]=d;if(a>>>0>=k>>>0){t[e+20|0]=1}p=v[e+32>>2];bb:{if(p>>>0<=a>>>0){v[163916]=f;v[163917]=o;d=655664;break bb}d=v[e+36>>2]+(a<<3)|0}q=a|1;if(q>>>0>=k>>>0){t[e+20|0]=1}cb:{if(p>>>0<=q>>>0){v[163916]=f;v[163917]=o;q=655664;break cb}q=v[e+36>>2]+(q<<3)|0}A[g+32>>3]=A[g+32>>3]+A[d>>3];A[g+40>>3]=A[g+40>>3]+A[q>>3];d=v[g+44>>2];v[g+24>>2]=v[g+40>>2];v[g+28>>2]=d;d=v[g+36>>2];v[g+16>>2]=v[g+32>>2];v[g+20>>2]=d;d=a+2|0;if(d>>>0>=k>>>0){t[e+20|0]=1}db:{if(d>>>0>=p>>>0){v[163916]=f;v[163917]=o;d=655664;break db}d=v[e+36>>2]+(d<<3)|0}q=a+3|0;if(q>>>0>=k>>>0){t[e+20|0]=1}eb:{if(p>>>0<=q>>>0){v[163916]=f;v[163917]=o;q=655664;break eb}q=v[e+36>>2]+(q<<3)|0}A[g+16>>3]=A[g+16>>3]+A[d>>3];A[g+24>>3]=A[g+24>>3]+A[q>>3];d=v[g+28>>2];v[g+8>>2]=v[g+24>>2];v[g+12>>2]=d;d=v[g+20>>2];v[g>>2]=v[g+16>>2];v[g+4>>2]=d;d=a+4|0;if(d>>>0>=k>>>0){t[e+20|0]=1}fb:{if(d>>>0>=p>>>0){v[163916]=f;v[163917]=o;d=655664;break fb}d=v[e+36>>2]+(d<<3)|0}a=a+5|0;if(a>>>0>=k>>>0){t[e+20|0]=1}gb:{if(a>>>0>=p>>>0){v[163916]=f;v[163917]=o;a=655664;break gb}a=v[e+36>>2]+(a<<3)|0}A[g>>3]=A[g>>3]+A[d>>3];A[g+8>>3]=A[g+8>>3]+A[a>>3];yb(e,b,g+32|0,g+16|0,g);k=v[e+24>>2];a=i;i=a+6|0;if(z>>>0>=i>>>0){continue}break}if(a>>>0>=k>>>0){t[e+20|0]=1}i=v[e+32>>2];hb:{if(i>>>0<=a>>>0){v[163916]=f;v[163917]=o;d=655664;break hb}d=v[e+36>>2]+(a<<3)|0}a=a|1;if(a>>>0>=k>>>0){t[e+20|0]=1}h=A[e+128>>3];s=A[e+136>>3];ib:{if(a>>>0>=i>>>0){v[163916]=f;v[163917]=o;l(0,f|0);l(1,o|0);j=+n();break ib}j=A[v[e+36>>2]+(a<<3)>>3]}r=s+j;j=h+A[d>>3];jb:{if(w[b|0]){break jb}t[b|0]=1;if(A[b+8>>3]>h){A[b+8>>3]=h;h=A[e+128>>3]}if(A[b+24>>3]<h){A[b+24>>3]=h}h=A[e+136>>3];if(h<A[b+16>>3]){A[b+16>>3]=h;h=A[e+136>>3]}if(!(A[b+32>>3]<h)){break jb}A[b+32>>3]=h}A[e+136>>3]=r;A[e+128>>3]=j;if(A[b+8>>3]>j){A[b+8>>3]=j;j=A[e+128>>3]}if(A[b+24>>3]<j){A[b+24>>3]=j}j=A[e+136>>3];if(j<A[b+16>>3]){A[b+16>>3]=j;j=A[e+136>>3]}if(!(A[b+32>>3]<j)){break ab}A[b+32>>3]=j}Ca=g+48|0;break I}a=0;g=Ca-48|0;Ca=g;k=v[e+24>>2];if(k>>>0>=8){z=k-6|0;f=v[e+36>>2];o=v[e+32>>2];d=v[70113];p=d;q=v[70112];l(0,q|0);l(1,d|0);r=+n();i=2;while(1){if(a>>>0>=k>>>0){t[e+20|0]=1}kb:{if(a>>>0>=o>>>0){v[163916]=q;v[163917]=p;d=655664;break kb}d=f+(a<<3)|0}a=a|1;if(a>>>0>=k>>>0){t[e+20|0]=1}h=A[e+128>>3];s=A[e+136>>3];lb:{if(a>>>0>=o>>>0){v[163916]=q;v[163917]=p;j=r;break lb}j=A[f+(a<<3)>>3]}s=s+j;j=h+A[d>>3];mb:{if(w[b|0]){break mb}t[b|0]=1;if(A[b+8>>3]>h){A[b+8>>3]=h;h=A[e+128>>3]}if(A[b+24>>3]<h){A[b+24>>3]=h}h=A[e+136>>3];if(h<A[b+16>>3]){A[b+16>>3]=h;h=A[e+136>>3]}if(!(A[b+32>>3]<h)){break mb}A[b+32>>3]=h}A[e+136>>3]=s;A[e+128>>3]=j;if(A[b+8>>3]>j){A[b+8>>3]=j;j=A[e+128>>3]}if(A[b+24>>3]<j){A[b+24>>3]=j}j=A[e+136>>3];if(j<A[b+16>>3]){A[b+16>>3]=j;j=A[e+136>>3]}if(A[b+32>>3]<j){A[b+32>>3]=j}a=i;i=a+2|0;if(z>>>0>=i>>>0){continue}break}d=v[e+140>>2];v[g+40>>2]=v[e+136>>2];v[g+44>>2]=d;d=v[e+132>>2];v[g+32>>2]=v[e+128>>2];v[g+36>>2]=d;if(a>>>0>=k>>>0){t[e+20|0]=1}nb:{if(a>>>0>=o>>>0){v[163916]=q;v[163917]=p;d=655664;break nb}d=f+(a<<3)|0}z=a|1;if(z>>>0>=k>>>0){t[e+20|0]=1}ob:{if(o>>>0<=z>>>0){v[163916]=q;v[163917]=p;z=655664;break ob}z=f+(z<<3)|0}A[g+32>>3]=A[g+32>>3]+A[d>>3];A[g+40>>3]=A[g+40>>3]+A[z>>3];d=v[g+44>>2];v[g+24>>2]=v[g+40>>2];v[g+28>>2]=d;d=v[g+36>>2];v[g+16>>2]=v[g+32>>2];v[g+20>>2]=d;if(i>>>0>=k>>>0){t[e+20|0]=1}pb:{if(i>>>0>=o>>>0){v[163916]=q;v[163917]=p;d=655664;break pb}d=f+(i<<3)|0}i=a+3|0;if(i>>>0>=k>>>0){t[e+20|0]=1}qb:{if(i>>>0>=o>>>0){v[163916]=q;v[163917]=p;i=655664;break qb}i=f+(i<<3)|0}A[g+16>>3]=A[g+16>>3]+A[d>>3];A[g+24>>3]=A[g+24>>3]+A[i>>3];d=v[g+28>>2];v[g+8>>2]=v[g+24>>2];v[g+12>>2]=d;d=v[g+20>>2];v[g>>2]=v[g+16>>2];v[g+4>>2]=d;d=a+4|0;if(d>>>0>=k>>>0){t[e+20|0]=1}rb:{if(d>>>0>=o>>>0){v[163916]=q;v[163917]=p;d=655664;break rb}d=f+(d<<3)|0}a=a+5|0;if(a>>>0>=k>>>0){t[e+20|0]=1}sb:{if(a>>>0>=o>>>0){v[163916]=q;v[163917]=p;a=655664;break sb}a=f+(a<<3)|0}A[g>>3]=A[g>>3]+A[d>>3];A[g+8>>3]=A[g+8>>3]+A[a>>3];yb(e,b,g+32|0,g+16|0,g)}Ca=g+48|0;break I}i=b;a=0;g=Ca-48|0;Ca=g;b=v[e+140>>2];v[g+40>>2]=v[e+136>>2];v[g+44>>2]=b;b=v[e+132>>2];v[g+32>>2]=v[e+128>>2];v[g+36>>2]=b;k=v[e+24>>2];if(k&1){tb:{if(!v[e+32>>2]){a=v[70113];b=v[70112];v[163916]=b;v[163917]=a;l(0,b|0);l(1,a|0);h=+n();break tb}h=A[v[e+36>>2]>>3]}A[g+32>>3]=A[g+32>>3]+h;a=1}d=a|4;if(k>>>0>=d>>>0){b=v[70113];f=b;o=v[70112];l(0,o|0);l(1,f|0);h=+n();while(1){if(a>>>0>=k>>>0){t[e+20|0]=1}p=v[e+32>>2];ub:{if(p>>>0<=a>>>0){v[163916]=o;v[163917]=f;j=h;break ub}j=A[v[e+36>>2]+(a<<3)>>3]}A[g+40>>3]=A[g+40>>3]+j;b=v[g+44>>2];v[g+24>>2]=v[g+40>>2];v[g+28>>2]=b;b=v[g+36>>2];v[g+16>>2]=v[g+32>>2];v[g+20>>2]=b;b=a+1|0;if(b>>>0>=k>>>0){t[e+20|0]=1}vb:{if(b>>>0>=p>>>0){v[163916]=o;v[163917]=f;b=655664;break vb}b=v[e+36>>2]+(b<<3)|0}q=a+2|0;if(q>>>0>=k>>>0){t[e+20|0]=1}wb:{if(p>>>0<=q>>>0){v[163916]=o;v[163917]=f;q=655664;break wb}q=v[e+36>>2]+(q<<3)|0}A[g+16>>3]=A[g+16>>3]+A[b>>3];A[g+24>>3]=A[g+24>>3]+A[q>>3];b=v[g+28>>2];v[g+8>>2]=v[g+24>>2];v[g+12>>2]=b;b=v[g+20>>2];v[g>>2]=v[g+16>>2];v[g+4>>2]=b;b=a+3|0;if(b>>>0>=k>>>0){t[e+20|0]=1}a=d;xb:{if(b>>>0>=p>>>0){v[163916]=o;v[163917]=f;j=h;break xb}j=A[v[e+36>>2]+(b<<3)>>3]}A[g+8>>3]=A[g+8>>3]+j;yb(e,i,g+32|0,g+16|0,g);b=v[e+140>>2];v[g+40>>2]=v[e+136>>2];v[g+44>>2]=b;b=v[e+132>>2];v[g+32>>2]=v[e+128>>2];v[g+36>>2]=b;d=a+4|0;k=v[e+24>>2];if(d>>>0<=k>>>0){continue}break}}Ca=g+48|0;break I}i=b;a=0;g=Ca-48|0;Ca=g;b=v[e+140>>2];v[g+40>>2]=v[e+136>>2];v[g+44>>2]=b;b=v[e+132>>2];v[g+32>>2]=v[e+128>>2];v[g+36>>2]=b;k=v[e+24>>2];if(k&1){yb:{if(!v[e+32>>2]){a=v[70113];b=v[70112];v[163916]=b;v[163917]=a;l(0,b|0);l(1,a|0);h=+n();break yb}h=A[v[e+36>>2]>>3]}A[g+40>>3]=A[g+40>>3]+h;a=1}d=a|4;if(k>>>0>=d>>>0){b=v[70113];f=b;o=v[70112];l(0,o|0);l(1,f|0);h=+n();while(1){if(a>>>0>=k>>>0){t[e+20|0]=1}p=v[e+32>>2];zb:{if(p>>>0<=a>>>0){v[163916]=o;v[163917]=f;j=h;break zb}j=A[v[e+36>>2]+(a<<3)>>3]}A[g+32>>3]=A[g+32>>3]+j;b=v[g+44>>2];v[g+24>>2]=v[g+40>>2];v[g+28>>2]=b;b=v[g+36>>2];v[g+16>>2]=v[g+32>>2];v[g+20>>2]=b;b=a+1|0;if(b>>>0>=k>>>0){t[e+20|0]=1}Ab:{if(b>>>0>=p>>>0){v[163916]=o;v[163917]=f;b=655664;break Ab}b=v[e+36>>2]+(b<<3)|0}q=a+2|0;if(q>>>0>=k>>>0){t[e+20|0]=1}Bb:{if(p>>>0<=q>>>0){v[163916]=o;v[163917]=f;q=655664;break Bb}q=v[e+36>>2]+(q<<3)|0}A[g+16>>3]=A[g+16>>3]+A[b>>3];A[g+24>>3]=A[g+24>>3]+A[q>>3];b=v[g+28>>2];v[g+8>>2]=v[g+24>>2];v[g+12>>2]=b;b=v[g+20>>2];v[g>>2]=v[g+16>>2];v[g+4>>2]=b;b=a+3|0;if(b>>>0>=k>>>0){t[e+20|0]=1}a=d;Cb:{if(b>>>0>=p>>>0){v[163916]=o;v[163917]=f;j=h;break Cb}j=A[v[e+36>>2]+(b<<3)>>3]}A[g>>3]=A[g>>3]+j;yb(e,i,g+32|0,g+16|0,g);b=v[e+140>>2];v[g+40>>2]=v[e+136>>2];v[g+44>>2]=b;b=v[e+132>>2];v[g+32>>2]=v[e+128>>2];v[g+36>>2]=b;d=a+4|0;k=v[e+24>>2];if(d>>>0<=k>>>0){continue}break}}Ca=g+48|0;break I}k=b;a=0;f=Ca-48|0;Ca=f;q=v[e+24>>2];Db:{if(!(q&4)){if(q>>>0<8){break Db}b=v[70113];i=b;g=v[70112];l(0,g|0);l(1,b|0);h=+n();d=8;while(1){b=a;a=d;d=v[e+140>>2];v[f+40>>2]=v[e+136>>2];v[f+44>>2]=d;d=v[e+132>>2];v[f+32>>2]=v[e+128>>2];v[f+36>>2]=d;if(b>>>0>=q>>>0){t[e+20|0]=1}o=v[e+32>>2];Eb:{if(o>>>0<=b>>>0){v[163916]=g;v[163917]=i;j=h;break Eb}j=A[v[e+36>>2]+(b<<3)>>3]}A[f+40>>3]=A[f+40>>3]+j;d=v[f+44>>2];v[f+24>>2]=v[f+40>>2];v[f+28>>2]=d;d=v[f+36>>2];v[f+16>>2]=v[f+32>>2];v[f+20>>2]=d;d=b|1;if(d>>>0>=q>>>0){t[e+20|0]=1}Fb:{if(d>>>0>=o>>>0){v[163916]=g;v[163917]=i;d=655664;break Fb}d=v[e+36>>2]+(d<<3)|0}p=b|2;if(p>>>0>=q>>>0){t[e+20|0]=1}Gb:{if(o>>>0<=p>>>0){v[163916]=g;v[163917]=i;p=655664;break Gb}p=v[e+36>>2]+(p<<3)|0}A[f+16>>3]=A[f+16>>3]+A[d>>3];A[f+24>>3]=A[f+24>>3]+A[p>>3];d=v[f+28>>2];v[f+8>>2]=v[f+24>>2];v[f+12>>2]=d;d=v[f+20>>2];v[f>>2]=v[f+16>>2];v[f+4>>2]=d;d=b|3;if(d>>>0>=q>>>0){t[e+20|0]=1}Hb:{if(d>>>0>=o>>>0){v[163916]=g;v[163917]=i;j=h;break Hb}j=A[v[e+36>>2]+(d<<3)>>3]}A[f>>3]=A[f>>3]+j;yb(e,k,f+32|0,f+16|0,f);d=v[f+12>>2];v[f+40>>2]=v[f+8>>2];v[f+44>>2]=d;d=v[f+4>>2];v[f+32>>2]=v[f>>2];v[f+36>>2]=d;o=v[e+24>>2];d=b|4;if(o>>>0<=d>>>0){t[e+20|0]=1}p=v[e+32>>2];Ib:{if(p>>>0<=d>>>0){v[163916]=g;v[163917]=i;j=h;break Ib}j=A[v[e+36>>2]+(d<<3)>>3]}d=v[f+44>>2];v[f+24>>2]=v[f+40>>2];v[f+28>>2]=d;A[f+32>>3]=A[f+32>>3]+j;d=v[f+36>>2];v[f+16>>2]=v[f+32>>2];v[f+20>>2]=d;d=b|5;if(d>>>0>=o>>>0){t[e+20|0]=1}Jb:{if(d>>>0>=p>>>0){v[163916]=g;v[163917]=i;d=655664;break Jb}d=v[e+36>>2]+(d<<3)|0}q=b|6;if(q>>>0>=o>>>0){t[e+20|0]=1}Kb:{if(p>>>0<=q>>>0){v[163916]=g;v[163917]=i;q=655664;break Kb}q=v[e+36>>2]+(q<<3)|0}A[f+16>>3]=A[f+16>>3]+A[d>>3];A[f+24>>3]=A[f+24>>3]+A[q>>3];d=v[f+28>>2];v[f+8>>2]=v[f+24>>2];v[f+12>>2]=d;d=v[f+20>>2];v[f>>2]=v[f+16>>2];v[f+4>>2]=d;d=b|7;if(d>>>0>=o>>>0){t[e+20|0]=1}Lb:{if(d>>>0>=p>>>0){v[163916]=g;v[163917]=i;j=h;break Lb}j=A[v[e+36>>2]+(d<<3)>>3]}A[f+8>>3]=A[f+8>>3]+j;if(!(!(o&1)|o-b>>>0>15)){if(a>>>0>=o>>>0){t[e+20|0]=1}Mb:{if(a>>>0>=p>>>0){v[163916]=g;v[163917]=i;j=h;break Mb}j=A[v[e+36>>2]+(a<<3)>>3]}A[f>>3]=A[f>>3]+j}yb(e,k,f+32|0,f+16|0,f);d=a+8|0;q=v[e+24>>2];if(d>>>0<=q>>>0){continue}break}break Db}a=v[e+140>>2];v[f+40>>2]=v[e+136>>2];v[f+44>>2]=a;a=v[e+132>>2];v[f+32>>2]=v[e+128>>2];v[f+36>>2]=a;a=v[e+32>>2];Nb:{if(!a){b=v[70113];d=v[70112];v[163916]=d;v[163917]=b;l(0,d|0);l(1,b|0);h=+n();break Nb}h=A[v[e+36>>2]>>3]}A[f+40>>3]=A[f+40>>3]+h;b=v[f+44>>2];v[f+24>>2]=v[f+40>>2];v[f+28>>2]=b;b=v[f+36>>2];v[f+16>>2]=v[f+32>>2];v[f+20>>2]=b;Ob:{Pb:{Qb:{if(a>>>0<2){g=655664;break Qb}g=v[e+36>>2]+8|0;if((a|0)!=2){break Pb}}b=v[70113];d=v[70112];v[163916]=d;v[163917]=b;l(0,d|0);l(1,b|0);h=+n();break Ob}h=A[v[e+36>>2]+16>>3]}j=A[g>>3];A[f+24>>3]=A[f+24>>3]+h;A[f+16>>3]=j+A[f+16>>3];b=v[f+28>>2];v[f+8>>2]=v[f+24>>2];v[f+12>>2]=b;b=v[f+20>>2];v[f>>2]=v[f+16>>2];v[f+4>>2]=b;Rb:{if(a>>>0<=3){b=v[70113];p=b;o=v[70112];v[163916]=o;v[163917]=b;l(0,o|0);l(1,b|0);h=+n();break Rb}o=v[70112];p=v[70113];h=A[v[e+36>>2]+24>>3]}A[f>>3]=A[f>>3]+h;d=12;i=4;if(q>>>0>=12){l(0,o|0);l(1,p|0);h=+n();g=4;while(1){i=d;yb(e,k,f+32|0,f+16|0,f);a=v[e+140>>2];v[f+40>>2]=v[e+136>>2];v[f+44>>2]=a;a=v[e+132>>2];v[f+32>>2]=v[e+128>>2];v[f+36>>2]=a;b=v[e+24>>2];if(b>>>0<=g>>>0){t[e+20|0]=1}d=v[e+32>>2];Sb:{if(d>>>0<=g>>>0){v[163916]=o;v[163917]=p;j=h;break Sb}j=A[v[e+36>>2]+(g<<3)>>3]}a=v[f+44>>2];v[f+24>>2]=v[f+40>>2];v[f+28>>2]=a;A[f+32>>3]=A[f+32>>3]+j;a=v[f+36>>2];v[f+16>>2]=v[f+32>>2];v[f+20>>2]=a;a=g|1;if(a>>>0>=b>>>0){t[e+20|0]=1}Tb:{if(a>>>0>=d>>>0){v[163916]=o;v[163917]=p;a=655664;break Tb}a=v[e+36>>2]+(a<<3)|0}q=g|2;if(q>>>0>=b>>>0){t[e+20|0]=1}Ub:{if(d>>>0<=q>>>0){v[163916]=o;v[163917]=p;q=655664;break Ub}q=v[e+36>>2]+(q<<3)|0}A[f+16>>3]=A[f+16>>3]+A[a>>3];A[f+24>>3]=A[f+24>>3]+A[q>>3];a=v[f+28>>2];v[f+8>>2]=v[f+24>>2];v[f+12>>2]=a;a=v[f+20>>2];v[f>>2]=v[f+16>>2];v[f+4>>2]=a;a=g|3;if(a>>>0>=b>>>0){t[e+20|0]=1}Vb:{if(a>>>0>=d>>>0){v[163916]=o;v[163917]=p;j=h;break Vb}j=A[v[e+36>>2]+(a<<3)>>3]}A[f+8>>3]=A[f+8>>3]+j;yb(e,k,f+32|0,f+16|0,f);a=v[f+12>>2];v[f+40>>2]=v[f+8>>2];v[f+44>>2]=a;a=v[f+4>>2];v[f+32>>2]=v[f>>2];v[f+36>>2]=a;q=v[e+24>>2];b=g+4|0;if(q>>>0<=b>>>0){t[e+20|0]=1}a=v[e+32>>2];Wb:{if(b>>>0>=a>>>0){v[163916]=o;v[163917]=p;j=h;break Wb}j=A[v[e+36>>2]+(b<<3)>>3]}A[f+40>>3]=A[f+40>>3]+j;b=v[f+44>>2];v[f+24>>2]=v[f+40>>2];v[f+28>>2]=b;b=v[f+36>>2];v[f+16>>2]=v[f+32>>2];v[f+20>>2]=b;b=g+5|0;if(b>>>0>=q>>>0){t[e+20|0]=1}Xb:{if(a>>>0<=b>>>0){v[163916]=o;v[163917]=p;b=655664;break Xb}b=v[e+36>>2]+(b<<3)|0}d=g+6|0;if(d>>>0>=q>>>0){t[e+20|0]=1}Yb:{if(a>>>0<=d>>>0){v[163916]=o;v[163917]=p;d=655664;break Yb}d=v[e+36>>2]+(d<<3)|0}A[f+16>>3]=A[f+16>>3]+A[b>>3];A[f+24>>3]=A[f+24>>3]+A[d>>3];b=v[f+28>>2];v[f+8>>2]=v[f+24>>2];v[f+12>>2]=b;b=v[f+20>>2];v[f>>2]=v[f+16>>2];v[f+4>>2]=b;b=g+7|0;if(b>>>0>=q>>>0){t[e+20|0]=1}Zb:{if(a>>>0<=b>>>0){v[163916]=o;v[163917]=p;j=h;break Zb}j=A[v[e+36>>2]+(b<<3)>>3]}A[f>>3]=A[f>>3]+j;g=i;d=g+8|0;if(q>>>0>=d>>>0){continue}break}}if(i>>>0<q>>>0){_b:{if(a>>>0<=i>>>0){v[163916]=o;v[163917]=p;l(0,o|0);l(1,p|0);h=+n();break _b}h=A[v[e+36>>2]+(i<<3)>>3]}A[f+8>>3]=A[f+8>>3]+h}yb(e,k,f+32|0,f+16|0,f)}Ca=f+48|0;break I}g=b;a=0;f=Ca-48|0;Ca=f;k=v[e+24>>2];$b:{if(!(k&4)){if(k>>>0<8){break $b}b=v[70113];i=b;o=v[70112];l(0,o|0);l(1,b|0);h=+n();d=8;while(1){b=a;a=d;d=v[e+140>>2];v[f+40>>2]=v[e+136>>2];v[f+44>>2]=d;d=v[e+132>>2];v[f+32>>2]=v[e+128>>2];v[f+36>>2]=d;if(b>>>0>=k>>>0){t[e+20|0]=1}p=v[e+32>>2];ac:{if(p>>>0<=b>>>0){v[163916]=o;v[163917]=i;j=h;break ac}j=A[v[e+36>>2]+(b<<3)>>3]}d=v[f+44>>2];v[f+24>>2]=v[f+40>>2];v[f+28>>2]=d;A[f+32>>3]=A[f+32>>3]+j;d=v[f+36>>2];v[f+16>>2]=v[f+32>>2];v[f+20>>2]=d;d=b|1;if(d>>>0>=k>>>0){t[e+20|0]=1}bc:{if(d>>>0>=p>>>0){v[163916]=o;v[163917]=i;d=655664;break bc}d=v[e+36>>2]+(d<<3)|0}q=b|2;if(q>>>0>=k>>>0){t[e+20|0]=1}cc:{if(p>>>0<=q>>>0){v[163916]=o;v[163917]=i;q=655664;break cc}q=v[e+36>>2]+(q<<3)|0}A[f+16>>3]=A[f+16>>3]+A[d>>3];A[f+24>>3]=A[f+24>>3]+A[q>>3];d=v[f+28>>2];v[f+8>>2]=v[f+24>>2];v[f+12>>2]=d;d=v[f+20>>2];v[f>>2]=v[f+16>>2];v[f+4>>2]=d;d=b|3;if(d>>>0>=k>>>0){t[e+20|0]=1}dc:{if(d>>>0>=p>>>0){v[163916]=o;v[163917]=i;j=h;break dc}j=A[v[e+36>>2]+(d<<3)>>3]}A[f+8>>3]=A[f+8>>3]+j;yb(e,g,f+32|0,f+16|0,f);d=v[f+12>>2];v[f+40>>2]=v[f+8>>2];v[f+44>>2]=d;d=v[f+4>>2];v[f+32>>2]=v[f>>2];v[f+36>>2]=d;k=v[e+24>>2];d=b|4;if(k>>>0<=d>>>0){t[e+20|0]=1}p=v[e+32>>2];ec:{if(p>>>0<=d>>>0){v[163916]=o;v[163917]=i;j=h;break ec}j=A[v[e+36>>2]+(d<<3)>>3]}A[f+40>>3]=A[f+40>>3]+j;d=v[f+44>>2];v[f+24>>2]=v[f+40>>2];v[f+28>>2]=d;d=v[f+36>>2];v[f+16>>2]=v[f+32>>2];v[f+20>>2]=d;d=b|5;if(d>>>0>=k>>>0){t[e+20|0]=1}fc:{if(d>>>0>=p>>>0){v[163916]=o;v[163917]=i;d=655664;break fc}d=v[e+36>>2]+(d<<3)|0}q=b|6;if(q>>>0>=k>>>0){t[e+20|0]=1}gc:{if(p>>>0<=q>>>0){v[163916]=o;v[163917]=i;q=655664;break gc}q=v[e+36>>2]+(q<<3)|0}A[f+16>>3]=A[f+16>>3]+A[d>>3];A[f+24>>3]=A[f+24>>3]+A[q>>3];d=v[f+28>>2];v[f+8>>2]=v[f+24>>2];v[f+12>>2]=d;d=v[f+20>>2];v[f>>2]=v[f+16>>2];v[f+4>>2]=d;d=b|7;if(d>>>0>=k>>>0){t[e+20|0]=1}hc:{if(d>>>0>=p>>>0){v[163916]=o;v[163917]=i;j=h;break hc}j=A[v[e+36>>2]+(d<<3)>>3]}A[f>>3]=A[f>>3]+j;if(!(!(k&1)|k-b>>>0>15)){if(a>>>0>=k>>>0){t[e+20|0]=1}ic:{if(a>>>0>=p>>>0){v[163916]=o;v[163917]=i;j=h;break ic}j=A[v[e+36>>2]+(a<<3)>>3]}A[f+8>>3]=A[f+8>>3]+j}yb(e,g,f+32|0,f+16|0,f);d=a+8|0;k=v[e+24>>2];if(d>>>0<=k>>>0){continue}break}break $b}a=v[e+140>>2];v[f+40>>2]=v[e+136>>2];v[f+44>>2]=a;a=v[e+132>>2];v[f+32>>2]=v[e+128>>2];v[f+36>>2]=a;q=v[e+32>>2];jc:{if(!q){a=v[70113];b=v[70112];v[163916]=b;v[163917]=a;l(0,b|0);l(1,a|0);h=+n();break jc}h=A[v[e+36>>2]>>3]}A[f+32>>3]=A[f+32>>3]+h;a=v[f+44>>2];v[f+24>>2]=v[f+40>>2];v[f+28>>2]=a;a=v[f+36>>2];v[f+16>>2]=v[f+32>>2];v[f+20>>2]=a;kc:{lc:{mc:{if(q>>>0<2){i=655664;break mc}i=v[e+36>>2]+8|0;if((q|0)!=2){break lc}}a=v[70113];b=v[70112];v[163916]=b;v[163917]=a;l(0,b|0);l(1,a|0);h=+n();break kc}h=A[v[e+36>>2]+16>>3]}j=A[i>>3];A[f+24>>3]=A[f+24>>3]+h;A[f+16>>3]=j+A[f+16>>3];a=v[f+28>>2];v[f+8>>2]=v[f+24>>2];v[f+12>>2]=a;a=v[f+20>>2];v[f>>2]=v[f+16>>2];v[f+4>>2]=a;nc:{if(q>>>0<=3){a=v[70113];p=a;o=v[70112];v[163916]=o;v[163917]=a;l(0,o|0);l(1,a|0);h=+n();break nc}o=v[70112];p=v[70113];h=A[v[e+36>>2]+24>>3]}A[f+8>>3]=A[f+8>>3]+h;d=12;a=4;if(k>>>0>=12){l(0,o|0);l(1,p|0);h=+n();i=4;while(1){a=d;yb(e,g,f+32|0,f+16|0,f);b=v[e+140>>2];v[f+40>>2]=v[e+136>>2];v[f+44>>2]=b;b=v[e+132>>2];v[f+32>>2]=v[e+128>>2];v[f+36>>2]=b;d=v[e+24>>2];if(d>>>0<=i>>>0){t[e+20|0]=1}k=v[e+32>>2];oc:{if(k>>>0<=i>>>0){v[163916]=o;v[163917]=p;j=h;break oc}j=A[v[e+36>>2]+(i<<3)>>3]}A[f+40>>3]=A[f+40>>3]+j;b=v[f+44>>2];v[f+24>>2]=v[f+40>>2];v[f+28>>2]=b;b=v[f+36>>2];v[f+16>>2]=v[f+32>>2];v[f+20>>2]=b;b=i|1;if(b>>>0>=d>>>0){t[e+20|0]=1}pc:{if(b>>>0>=k>>>0){v[163916]=o;v[163917]=p;b=655664;break pc}b=v[e+36>>2]+(b<<3)|0}q=i|2;if(q>>>0>=d>>>0){t[e+20|0]=1}qc:{if(k>>>0<=q>>>0){v[163916]=o;v[163917]=p;q=655664;break qc}q=v[e+36>>2]+(q<<3)|0}A[f+16>>3]=A[f+16>>3]+A[b>>3];A[f+24>>3]=A[f+24>>3]+A[q>>3];b=v[f+28>>2];v[f+8>>2]=v[f+24>>2];v[f+12>>2]=b;b=v[f+20>>2];v[f>>2]=v[f+16>>2];v[f+4>>2]=b;b=i|3;if(b>>>0>=d>>>0){t[e+20|0]=1}rc:{if(b>>>0>=k>>>0){v[163916]=o;v[163917]=p;j=h;break rc}j=A[v[e+36>>2]+(b<<3)>>3]}A[f>>3]=A[f>>3]+j;yb(e,g,f+32|0,f+16|0,f);b=v[f+12>>2];v[f+40>>2]=v[f+8>>2];v[f+44>>2]=b;b=v[f+4>>2];v[f+32>>2]=v[f>>2];v[f+36>>2]=b;k=v[e+24>>2];b=i+4|0;if(k>>>0<=b>>>0){t[e+20|0]=1}q=v[e+32>>2];sc:{if(b>>>0>=q>>>0){v[163916]=o;v[163917]=p;j=h;break sc}j=A[v[e+36>>2]+(b<<3)>>3]}b=v[f+44>>2];v[f+24>>2]=v[f+40>>2];v[f+28>>2]=b;A[f+32>>3]=A[f+32>>3]+j;b=v[f+36>>2];v[f+16>>2]=v[f+32>>2];v[f+20>>2]=b;b=i+5|0;if(b>>>0>=k>>>0){t[e+20|0]=1}tc:{if(b>>>0>=q>>>0){v[163916]=o;v[163917]=p;b=655664;break tc}b=v[e+36>>2]+(b<<3)|0}d=i+6|0;if(d>>>0>=k>>>0){t[e+20|0]=1}uc:{if(d>>>0>=q>>>0){v[163916]=o;v[163917]=p;d=655664;break uc}d=v[e+36>>2]+(d<<3)|0}A[f+16>>3]=A[f+16>>3]+A[b>>3];A[f+24>>3]=A[f+24>>3]+A[d>>3];b=v[f+28>>2];v[f+8>>2]=v[f+24>>2];v[f+12>>2]=b;b=v[f+20>>2];v[f>>2]=v[f+16>>2];v[f+4>>2]=b;b=i+7|0;if(b>>>0>=k>>>0){t[e+20|0]=1}vc:{if(b>>>0>=q>>>0){v[163916]=o;v[163917]=p;j=h;break vc}j=A[v[e+36>>2]+(b<<3)>>3]}A[f+8>>3]=A[f+8>>3]+j;i=a;d=a+8|0;if(k>>>0>=d>>>0){continue}break}}if(a>>>0<k>>>0){wc:{if(a>>>0>=q>>>0){v[163916]=o;v[163917]=p;l(0,o|0);l(1,p|0);h=+n();break wc}h=A[v[e+36>>2]+(a<<3)>>3]}A[f>>3]=A[f>>3]+h}yb(e,g,f+32|0,f+16|0,f)}Ca=f+48|0;break I}a=Ca-96|0;Ca=a;xc:{if(v[e+24>>2]==7){d=v[e+140>>2];v[a+88>>2]=v[e+136>>2];v[a+92>>2]=d;d=v[e+132>>2];v[a+80>>2]=v[e+128>>2];v[a+84>>2]=d;d=v[e+32>>2];yc:{if(!d){i=v[70113];g=v[70112];v[163916]=g;v[163917]=i;l(0,g|0);l(1,i|0);h=+n();break yc}h=A[v[e+36>>2]>>3]}A[a+80>>3]=A[a+80>>3]+h;i=v[a+92>>2];v[a+72>>2]=v[a+88>>2];v[a+76>>2]=i;i=v[a+84>>2];v[a+64>>2]=v[a+80>>2];v[a+68>>2]=i;zc:{Ac:{Bc:{if(d>>>0<2){g=655664;break Bc}g=v[e+36>>2]+8|0;if((d|0)!=2){break Ac}}i=v[70113];k=v[70112];v[163916]=k;v[163917]=i;l(0,k|0);l(1,i|0);h=+n();break zc}h=A[v[e+36>>2]+16>>3]}j=A[g>>3];A[a+72>>3]=A[a+72>>3]+h;A[a+64>>3]=j+A[a+64>>3];i=v[a+76>>2];v[a+56>>2]=v[a+72>>2];v[a+60>>2]=i;i=v[a+68>>2];v[a+48>>2]=v[a+64>>2];v[a+52>>2]=i;Cc:{if(d>>>0<=3){i=v[70113];g=v[70112];v[163916]=g;v[163917]=i;l(0,g|0);l(1,i|0);h=+n();break Cc}h=A[v[e+36>>2]+24>>3]}A[a+48>>3]=A[a+48>>3]+h;i=v[a+60>>2];v[a+40>>2]=v[a+56>>2];v[a+44>>2]=i;i=v[a+52>>2];v[a+32>>2]=v[a+48>>2];v[a+36>>2]=i;Dc:{if(d>>>0<=4){i=v[70113];g=v[70112];v[163916]=g;v[163917]=i;l(0,g|0);l(1,i|0);h=+n();break Dc}h=A[v[e+36>>2]+32>>3]}A[a+32>>3]=A[a+32>>3]+h;i=v[a+44>>2];v[a+24>>2]=v[a+40>>2];v[a+28>>2]=i;i=v[a+36>>2];v[a+16>>2]=v[a+32>>2];v[a+20>>2]=i;Ec:{if(d>>>0<=5){i=v[70113];g=v[70112];v[163916]=g;v[163917]=i;l(0,g|0);l(1,i|0);h=+n();break Ec}h=A[v[e+36>>2]+40>>3]}i=v[a+92>>2];g=v[a+88>>2];v[a+24>>2]=g;v[a+28>>2]=i;A[a+16>>3]=A[a+16>>3]+h;v[a+8>>2]=g;v[a+12>>2]=i;i=v[a+20>>2];v[a>>2]=v[a+16>>2];v[a+4>>2]=i;Fc:{if(d>>>0<=6){d=v[70113];i=v[70112];v[163916]=i;v[163917]=d;l(0,i|0);l(1,d|0);h=+n();break Fc}h=A[v[e+36>>2]+48>>3]}A[a>>3]=A[a>>3]+h;yb(e,b,a+80|0,a- -64|0,a+48|0);yb(e,b,a+32|0,a+16|0,a);break xc}t[e+40|0]=1}Ca=a+96|0;break I}a=Ca-96|0;Ca=a;Gc:{if(v[e+24>>2]==13){d=v[e+140>>2];v[a+88>>2]=v[e+136>>2];v[a+92>>2]=d;d=v[e+132>>2];v[a+80>>2]=v[e+128>>2];v[a+84>>2]=d;Hc:{Ic:{d=v[e+32>>2];Jc:{if(!d){i=655664;break Jc}i=v[e+36>>2];if((d|0)!=1){break Ic}}g=v[70113];k=v[70112];v[163916]=k;v[163917]=g;l(0,k|0);l(1,g|0);h=+n();break Hc}h=A[v[e+36>>2]+8>>3]}j=A[i>>3];A[a+88>>3]=A[a+88>>3]+h;A[a+80>>3]=j+A[a+80>>3];i=v[a+92>>2];v[a+72>>2]=v[a+88>>2];v[a+76>>2]=i;i=v[a+84>>2];v[a+64>>2]=v[a+80>>2];v[a+68>>2]=i;Kc:{Lc:{Mc:{if(d>>>0<3){i=655664;break Mc}i=v[e+36>>2]+16|0;if((d|0)!=3){break Lc}}g=v[70113];k=v[70112];v[163916]=k;v[163917]=g;l(0,k|0);l(1,g|0);h=+n();break Kc}h=A[v[e+36>>2]+24>>3]}j=A[i>>3];A[a+72>>3]=A[a+72>>3]+h;A[a+64>>3]=j+A[a+64>>3];i=v[a+76>>2];v[a+56>>2]=v[a+72>>2];v[a+60>>2]=i;i=v[a+68>>2];v[a+48>>2]=v[a+64>>2];v[a+52>>2]=i;Nc:{Oc:{Pc:{if(d>>>0<5){i=655664;break Pc}i=v[e+36>>2]+32|0;if((d|0)!=5){break Oc}}g=v[70113];k=v[70112];v[163916]=k;v[163917]=g;l(0,k|0);l(1,g|0);h=+n();break Nc}h=A[v[e+36>>2]+40>>3]}j=A[i>>3];A[a+56>>3]=A[a+56>>3]+h;A[a+48>>3]=j+A[a+48>>3];i=v[a+60>>2];v[a+40>>2]=v[a+56>>2];v[a+44>>2]=i;i=v[a+52>>2];v[a+32>>2]=v[a+48>>2];v[a+36>>2]=i;Qc:{Rc:{Sc:{if(d>>>0<7){i=655664;break Sc}i=v[e+36>>2]+48|0;if((d|0)!=7){break Rc}}g=v[70113];k=v[70112];v[163916]=k;v[163917]=g;l(0,k|0);l(1,g|0);h=+n();break Qc}h=A[v[e+36>>2]+56>>3]}j=A[i>>3];A[a+40>>3]=A[a+40>>3]+h;A[a+32>>3]=j+A[a+32>>3];i=v[a+44>>2];v[a+24>>2]=v[a+40>>2];v[a+28>>2]=i;i=v[a+36>>2];v[a+16>>2]=v[a+32>>2];v[a+20>>2]=i;Tc:{Uc:{Vc:{if(d>>>0<9){i=655664;break Vc}i=v[e+36>>2]- -64|0;if((d|0)!=9){break Uc}}g=v[70113];k=v[70112];v[163916]=k;v[163917]=g;l(0,k|0);l(1,g|0);h=+n();break Tc}h=A[v[e+36>>2]+72>>3]}j=A[i>>3];A[a+24>>3]=A[a+24>>3]+h;A[a+16>>3]=j+A[a+16>>3];i=v[a+28>>2];v[a+8>>2]=v[a+24>>2];v[a+12>>2]=i;i=v[a+20>>2];v[a>>2]=v[a+16>>2];v[a+4>>2]=i;Wc:{Xc:{Yc:{if(d>>>0<11){i=655664;break Yc}i=v[e+36>>2]+80|0;if((d|0)!=11){break Xc}}d=v[70113];g=v[70112];v[163916]=g;v[163917]=d;l(0,g|0);l(1,d|0);h=+n();break Wc}h=A[v[e+36>>2]+88>>3]}j=A[i>>3];A[a+8>>3]=A[a+8>>3]+h;A[a>>3]=j+A[a>>3];yb(e,b,a+80|0,a- -64|0,a+48|0);yb(e,b,a+32|0,a+16|0,a);break Gc}t[e+40|0]=1}Ca=a+96|0;break I}a=Ca-96|0;Ca=a;Zc:{if(v[e+24>>2]==9){d=v[e+140>>2];v[a+88>>2]=v[e+136>>2];v[a+92>>2]=d;d=v[e+132>>2];v[a+80>>2]=v[e+128>>2];v[a+84>>2]=d;_c:{$c:{d=v[e+32>>2];ad:{if(!d){g=655664;break ad}g=v[e+36>>2];if((d|0)!=1){break $c}}i=v[70113];k=v[70112];v[163916]=k;v[163917]=i;l(0,k|0);l(1,i|0);h=+n();break _c}h=A[v[e+36>>2]+8>>3]}j=A[g>>3];A[a+88>>3]=A[a+88>>3]+h;A[a+80>>3]=j+A[a+80>>3];i=v[a+92>>2];v[a+72>>2]=v[a+88>>2];v[a+76>>2]=i;i=v[a+84>>2];v[a+64>>2]=v[a+80>>2];v[a+68>>2]=i;bd:{cd:{dd:{if(d>>>0<3){g=655664;break dd}g=v[e+36>>2]+16|0;if((d|0)!=3){break cd}}i=v[70113];k=v[70112];v[163916]=k;v[163917]=i;l(0,k|0);l(1,i|0);h=+n();break bd}h=A[v[e+36>>2]+24>>3]}j=A[g>>3];A[a+72>>3]=A[a+72>>3]+h;A[a+64>>3]=j+A[a+64>>3];i=v[a+76>>2];v[a+56>>2]=v[a+72>>2];v[a+60>>2]=i;i=v[a+68>>2];v[a+48>>2]=v[a+64>>2];v[a+52>>2]=i;ed:{if(d>>>0<=4){i=v[70113];g=v[70112];v[163916]=g;v[163917]=i;l(0,g|0);l(1,i|0);h=+n();break ed}h=A[v[e+36>>2]+32>>3]}A[a+48>>3]=A[a+48>>3]+h;i=v[a+60>>2];v[a+40>>2]=v[a+56>>2];v[a+44>>2]=i;i=v[a+52>>2];v[a+32>>2]=v[a+48>>2];v[a+36>>2]=i;fd:{if(d>>>0<=5){i=v[70113];g=v[70112];v[163916]=g;v[163917]=i;l(0,g|0);l(1,i|0);h=+n();break fd}h=A[v[e+36>>2]+40>>3]}A[a+32>>3]=A[a+32>>3]+h;i=v[a+44>>2];v[a+24>>2]=v[a+40>>2];v[a+28>>2]=i;i=v[a+36>>2];v[a+16>>2]=v[a+32>>2];v[a+20>>2]=i;gd:{hd:{id:{if(d>>>0<7){g=655664;break id}g=v[e+36>>2]+48|0;if((d|0)!=7){break hd}}i=v[70113];k=v[70112];v[163916]=k;v[163917]=i;l(0,k|0);l(1,i|0);h=+n();break gd}h=A[v[e+36>>2]+56>>3]}j=A[g>>3];A[a+24>>3]=A[a+24>>3]+h;A[a+16>>3]=j+A[a+16>>3];i=v[a+28>>2];v[a+8>>2]=v[a+24>>2];v[a+12>>2]=i;i=v[a+20>>2];v[a>>2]=v[a+16>>2];v[a+4>>2]=i;jd:{if(d>>>0<=8){d=v[70113];i=v[70112];v[163916]=i;v[163917]=d;l(0,i|0);l(1,d|0);h=+n();break jd}h=A[v[e+36>>2]+64>>3]}A[a>>3]=A[a>>3]+h;d=v[e+140>>2];v[a+8>>2]=v[e+136>>2];v[a+12>>2]=d;yb(e,b,a+80|0,a- -64|0,a+48|0);yb(e,b,a+32|0,a+16|0,a);break Zc}t[e+40|0]=1}Ca=a+96|0;break I}g=b;k=0;q=0;H=0;I=0;K=0;N=0;f=Ca-96|0;Ca=f;kd:{ld:{md:{nd:{od:{pd:{qd:{rd:{sd:{td:{ud:{if(v[e+24>>2]==11){a=v[e+36>>2];o=v[70112];p=v[70113];L=655664;d=655664;vd:{wd:{z=v[e+32>>2];switch(z|0){case 0:break vd;case 1:break wd;default:break ud}}d=a}v[163916]=o;v[163917]=p;l(0,o|0);l(1,p|0);h=+n()+0;j=A[d>>3]+0;b=0;break td}t[e+40|0]=1;break kd}h=A[a+8>>3]+0;j=A[a>>3]+0;b=1;if(z>>>0<3){break td}if((z|0)!=3){break sd}L=a+16|0;k=1;b=1}v[163916]=o;v[163917]=p;l(0,o|0);l(1,p|0);h=h+ +n();j=j+A[L>>3];d=655664;break rd}h=h+A[a+24>>3];j=j+A[a+16>>3];if(z>>>0<5){q=1;b=1;k=1;d=655664;break rd}if((z|0)!=5){break qd}q=1;b=1;k=1;H=1;d=a+32|0}v[163916]=o;v[163917]=p;l(0,o|0);l(1,p|0);h=h+ +n();r=j+A[d>>3];d=655664;break pd}h=h+A[a+40>>3];r=j+A[a+32>>3];if(z>>>0<7){I=1;q=1;b=1;k=1;H=1;d=655664;break pd}if((z|0)!=7){break od}I=1;q=1;b=1;k=1;H=1;K=1;d=a+48|0}v[163916]=o;v[163917]=p;l(0,o|0);l(1,p|0);j=h+ +n();h=r+A[d>>3];d=655664;i=0;break nd}j=h+A[a+56>>3];h=r+A[a+48>>3];if(z>>>0<9){I=1;q=1;b=1;k=1;H=1;K=1;i=1;break nd}d=a- -64|0;if((z|0)!=9){break md}I=1;q=1;b=1;k=1;H=1;K=1;N=1;i=1}L=0;v[163916]=o;v[163917]=p;l(0,o|0);l(1,p|0);r=+n();break ld}L=1;i=1;I=1;q=1;b=1;k=1;H=1;K=1;N=1;r=A[a+72>>3]}C=A[d>>3];d=v[e+140>>2];v[f+88>>2]=v[e+136>>2];v[f+92>>2]=d;d=v[e+132>>2];v[f+80>>2]=v[e+128>>2];v[f+84>>2]=d;d=a;if(!z){v[163916]=o;v[163917]=p;d=655664}xd:{if(!b){v[163916]=o;v[163917]=p;l(0,o|0);l(1,p|0);s=+n();break xd}s=A[a+8>>3]}x=A[d>>3];A[f+88>>3]=A[f+88>>3]+s;A[f+80>>3]=x+A[f+80>>3];b=v[f+92>>2];v[f+72>>2]=v[f+88>>2];v[f+76>>2]=b;b=v[f+84>>2];v[f+64>>2]=v[f+80>>2];v[f+68>>2]=b;yd:{if(!k){v[163916]=o;v[163917]=p;b=655664;break yd}b=a+16|0}zd:{if(!q){v[163916]=o;v[163917]=p;l(0,o|0);l(1,p|0);s=+n();break zd}s=A[a+24>>3]}x=A[b>>3];A[f+72>>3]=A[f+72>>3]+s;A[f+64>>3]=x+A[f+64>>3];b=v[f+76>>2];v[f+56>>2]=v[f+72>>2];v[f+60>>2]=b;b=v[f+68>>2];v[f+48>>2]=v[f+64>>2];v[f+52>>2]=b;Ad:{if(!H){v[163916]=o;v[163917]=p;b=655664;break Ad}b=a+32|0}Bd:{if(!I){v[163916]=o;v[163917]=p;l(0,o|0);l(1,p|0);s=+n();break Bd}s=A[a+40>>3]}x=A[b>>3];A[f+56>>3]=A[f+56>>3]+s;A[f+48>>3]=x+A[f+48>>3];b=v[f+60>>2];v[f+40>>2]=v[f+56>>2];v[f+44>>2]=b;b=v[f+52>>2];v[f+32>>2]=v[f+48>>2];v[f+36>>2]=b;Cd:{if(!K){v[163916]=o;v[163917]=p;b=655664;break Cd}b=a+48|0}Dd:{if(!i){v[163916]=o;v[163917]=p;l(0,o|0);l(1,p|0);s=+n();break Dd}s=A[a+56>>3]}x=A[b>>3];A[f+40>>3]=A[f+40>>3]+s;A[f+32>>3]=x+A[f+32>>3];b=v[f+44>>2];v[f+24>>2]=v[f+40>>2];v[f+28>>2]=b;b=v[f+36>>2];v[f+16>>2]=v[f+32>>2];v[f+20>>2]=b;Ed:{if(!N){v[163916]=o;v[163917]=p;b=655664;break Ed}b=a- -64|0}j=j+r;r=h+C;Fd:{if(!L){v[163916]=o;v[163917]=p;l(0,o|0);l(1,p|0);h=+n();break Fd}h=A[a+72>>3]}s=A[b>>3];A[f+24>>3]=A[f+24>>3]+h;A[f+16>>3]=s+A[f+16>>3];b=v[f+28>>2];v[f+8>>2]=v[f+24>>2];v[f+12>>2]=b;b=v[f+20>>2];v[f>>2]=v[f+16>>2];v[f+4>>2]=b;Gd:{if(D(r)>D(j)){Hd:{if(z>>>0<=10){v[163916]=o;v[163917]=p;l(0,o|0);l(1,p|0);h=+n();break Hd}h=A[a+80>>3]}A[f>>3]=A[f>>3]+h;a=v[e+140>>2];v[f+8>>2]=v[e+136>>2];v[f+12>>2]=a;break Gd}b=v[e+132>>2];v[f>>2]=v[e+128>>2];v[f+4>>2]=b;Id:{if(z>>>0<=10){v[163916]=o;v[163917]=p;l(0,o|0);l(1,p|0);h=+n();break Id}h=A[a+80>>3]}A[f+8>>3]=A[f+8>>3]+h}yb(e,g,f+80|0,f- -64|0,f+48|0);yb(e,g,f+32|0,f+16|0,f)}Ca=f+96|0;break I}Rg(a,e);break H}a=v[e+24>>2];i=a&1;break N}t[e+20|0]=1;a=0;d=v[70113];i=v[70112];v[163916]=i;v[163917]=d;l(0,i|0);l(1,d|0);j=+n()}s=A[k>>3];t[b|0]=0;A[e+136>>3]=r+s;break K}if(!(!a|!i)){Jd:{if(!v[e+32>>2]){a=v[70113];p=a;o=v[70112];v[163916]=o;v[163917]=a;break Jd}a=v[e+36>>2];o=v[a>>2];p=v[a+4>>2]}t[e+145|0]=1;v[e+152>>2]=o;v[e+156>>2]=p}t[e+144|0]=1}v[e+148>>2]=0;a=v[e+24>>2];v[e+24>>2]=0;v[e+76>>2]=v[e+76>>2]+(a>>>1|0);break H}t[e+16|0]=1;v[e+12>>2]=a;break H}A[e+128>>3]=h+j}if(!w[e+73|0]){if(!w[e+74|0]){t[e+74|0]=1;a=v[e+80>>2]+(a>>>1|0)|0;v[e+80>>2]=a;v[e+84>>2]=(a+v[e+76>>2]|0)+7>>>3}t[e+73|0]=1}}v[e+24>>2]=0;v[e+148>>2]=0}break n}v[m+80>>2]=0;v[m+204>>2]=0}a=w[m+144|0]!=0|v[m+152>>2]<0|w[m+96|0]!=0|w[m+72|0]!=0|w[m+76|0]!=0|v[m+84>>2]<0;if(a){break m}if(!w[m+128|0]){k=v[m+60>>2];i=v[m+68>>2];continue}break}b=v[m+20>>2];v[c>>2]=v[m+16>>2];v[c+4>>2]=b;b=v[m+44>>2];v[c+24>>2]=v[m+40>>2];v[c+28>>2]=b;b=v[m+36>>2];v[c+16>>2]=v[m+32>>2];v[c+20>>2]=b;b=v[m+28>>2];v[c+8>>2]=v[m+24>>2];v[c+12>>2]=b}Pa(v[m+92>>2]);v[m+92>>2]=0;v[m+84>>2]=0;v[m+88>>2]=0;Pa(v[m+160>>2]);v[m+160>>2]=0;v[m+152>>2]=0;v[m+156>>2]=0;Pa(v[m+92>>2]);i=!a}Ca=m+224|0;return i}function Gh(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;i=Ca-15984|0;Ca=i;v[i+15976>>2]=g;v[i+15980>>2]=f;q=v[a+176>>2];p=q;k=v[v[p+536>>2]+544>>2];P=v[a+52>>2];I=v[a>>2];Ra(i+15824|0,0,128);v[i+15968>>2]=0;f=i+15808|0;v[f>>2]=0;v[f+4>>2]=0;f=i+15780|0;v[f>>2]=0;v[f+4>>2]=0;f=i+15748|0;v[f>>2]=0;v[f+4>>2]=0;f=i+15708|0;v[f>>2]=0;v[f+4>>2]=0;f=i+15716|0;v[f>>2]=0;v[f+4>>2]=0;v[i+15960>>2]=0;v[i+15964>>2]=0;v[i+15792>>2]=0;v[i+15796>>2]=0;v[i+15800>>2]=0;v[i+15804>>2]=0;v[i+15772>>2]=0;v[i+15776>>2]=0;v[i+15768>>2]=20;L=a+4|0;v[i+15764>>2]=L;v[i+15760>>2]=I;v[i+15740>>2]=0;v[i+15744>>2]=0;v[i+15736>>2]=20;v[i+15732>>2]=L;v[i+15728>>2]=I;v[i+15700>>2]=0;v[i+15704>>2]=0;v[i+15696>>2]=L;Ra(i+15612|0,0,80);f=i+15536|0;v[f>>2]=0;v[f+4>>2]=0;v[i+15532>>2]=8;v[i+15528>>2]=L;f=i+15544|0;v[f>>2]=0;v[f+4>>2]=0;v[i+15524>>2]=I;v[i+3916>>2]=c;v[i+3912>>2]=a;Ra(i+11668|0,0,3856);f=w[a+184|0];v[i+11672>>2]=P;t[i+11669|0]=f;R=i+15524|0;v[i+11664>>2]=R;S=i+11656|0;v[i+11660>>2]=S;v[i+11656>>2]=a;Ra(i+7800|0,0,3856);v[i+7804>>2]=P;t[i+7801|0]=f;v[i+7796>>2]=R;v[i+7792>>2]=S;v[i+7788>>2]=a;Ra(i+3932|0,0,3856);v[i+3936>>2]=P;t[i+3933|0]=f;v[i+3928>>2]=R;v[i+3924>>2]=S;v[i+3920>>2]=a;v[i+15552>>2]=v[a+40>>2];M=48;f=v[a+48>>2];v[i+15560>>2]=P;v[i+15556>>2]=f;l=v[d+4>>2];f=v[d>>2];v[i+15592>>2]=a+240;v[i+15588>>2]=g;v[i+15564>>2]=f;v[i+15568>>2]=l;v[i+15584>>2]=i+15696;v[i+15580>>2]=i+15728;v[i+15576>>2]=i+15760;t[i+15574|0]=w[a+185|0];f=v[a+228>>2];v[i+15596>>2]=f;l=v[a+232>>2];v[i+15608>>2]=6554;v[i+15600>>2]=l;t[i+15652|0]=0;u[i+15572>>1]=0;t[i+15575|0]=1;g=f;f=f>>31;g=g+f^f;f=l>>31;f=f+l^f;v[i+15604>>2]=((f|0)<(g|0)?g:f)<<1;f=w[a+9|0];t[i+15791|0]=(f|0)!=0;v[h>>2]=v[v[p+536>>2]+540>>2]<<16;M=f?v[v[p+532>>2]+1556>>2]:M;v[i+40>>2]=0;l=qb(I,20,i+40|0);a:{b:{c:{d:{if(!v[i+40>>2]){v[l+4>>2]=L;v[l>>2]=I;f=Ua(I,8,0,M,0,i+40|0);v[l+8>>2]=f;if(!v[i+40>>2]){break d}if(l){Ea[v[I+8>>2]](I,l)}}j=64;l=0;b=1;break c}v[l+16>>2]=M;p=l;v[l+12>>2]=f;v[i+40>>2]=0;J=Kd(I,1,0,272,0,i+40|0);f=v[a+4>>2];if(v[i+40>>2]){b=0;if(f){break a}j=64;break b}if(f){b=0;break a}T=k<<16;U=i+7788|0;H=i+3920|0;N=i+15696|4;f=v[b+4>>2];v[J>>2]=v[b>>2];v[J+4>>2]=f;f=v[b+12>>2];v[J+8>>2]=v[b+8>>2];v[J+12>>2]=f;O=a+92|0;W=i+52|0;X=i+8|4;Q=i+15612|0;V=2e7;A=J;b=0;e:while(1){G=0;while(1){f=b;j=A+12|0;b=v[j>>2];s=v[A+8>>2];f:{if(b>>>0>=s>>>0){g=F?11:14;k=b;break f}k=b+1|0;v[j>>2]=k;g:{g=w[b|0];switch(g-11|0){case 0:case 3:break g;default:break f}}g=w[a+9|0]?0:g}o=w[a+8|0];if(o){h:{if(f&255){break h}i:{switch(g-1|0){case 0:case 2:case 9:case 10:case 11:case 12:case 13:break h;default:break i}}if(g>>>0>31){break h}v[p+12>>2]=v[p+8>>2];b=0;continue}m=(g|0)==12;b=g>>>0>31;K=K&255?b?K:m?K:0:K;D=(D|0)<1?D:(g|0)==10?D:(g|0)==11?D:m?D:b?D:0}if(v[a+4>>2]){b=0;break a}V=V-1|0;if(!V){b=0;j=18;break b}b=f;j:{k:{l:{m:{n:{o:{p:{switch(g|0){case 15:if(!w[a+9|0]){break l}if(w[a+93|0]){break j}b=v[p+12>>2];if((b|0)==v[p+8>>2]){g=0;b=v[l+4>>2];if(!b|v[b>>2]){break m}v[b>>2]=161;v[a+120>>2]=0;break l}if(v[b-4>>2]!=2){g=0;b=v[l+4>>2];if(!b|v[b>>2]){break m}v[b>>2]=160;break m}b=b-8|0;v[p+12>>2]=b;g=v[b>>2];if((g|0)>=0){break m}break l;case 16:if(!w[a+9|0]){break l}j=18;b=0;if(!v[a+96>>2]){break c}q:{if(!(Ea[v[v[a+548>>2]+12>>2]](O,v[a+120>>2],v[a+124>>2],v[a+128>>2])|0)){break q}g=Ea[v[v[a+548>>2]+16>>2]](O,v[a+120>>2],v[a+124>>2],v[a+128>>2])|0;if(!g){break q}j=g;break c}g=v[p+12>>2];r:{if((g|0)==v[p+8>>2]){g=0;b=v[l+4>>2];if(!b|v[b>>2]){break r}v[b>>2]=161;break r}if(v[g-4>>2]!=2){g=0;b=v[l+4>>2];if(!b|v[b>>2]){break r}v[b>>2]=160;break r}g=g-8|0;v[l+12>>2]=g;g=v[g>>2];if(M>>>0<g>>>0){break c}}n=0;j=v[l+12>>2];b=v[l+8>>2];k=j-b>>3;C=B(v[O+20>>2],g);if(g){o=k-C|0;r=o+g|0;while(1){m=v[O+24>>2];s=j-b>>3;x=o+n|0;s:{if(s>>>0<=x>>>0){k=0;z=v[l+4>>2];if(!z|v[z>>2]){break s}v[z>>2]=130;break s}t:{u:{v:{k=(x<<3)+b|0;switch(v[k+4>>2]-1|0){case 0:break u;case 1:break v;default:break t}}k=v[k>>2]<<16;break s}k=v[k>>2];k=((k>>31)+k|0)- -8192>>14;break s}k=v[k>>2]}z=1;if(y[O+20>>2]>=2){while(1){s=v[m+4>>2];w:{if(j-b>>3>>>0<=r>>>0){b=0;j=v[l+4>>2];if(!j|v[j>>2]){break w}v[j>>2]=130;break w}x:{y:{z:{b=(r<<3)+b|0;switch(v[b+4>>2]-1|0){case 0:break y;case 1:break z;default:break x}}b=v[b>>2]<<16;break w}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break w}b=v[b>>2]}r=r+1|0;m=m+4|0;k=Qa(s,b)+k|0;j=v[l+12>>2];b=v[l+8>>2];z=z+1|0;if(z>>>0<y[O+20>>2]){continue}break}s=j-b>>3}A:{if(s>>>0<x>>>0){k=v[l+4>>2];if(!k|v[k>>2]){break A}v[k>>2]=130;break A}j=x<<3;v[j+b>>2]=k;b=v[l+8>>2];v[(j+b|0)+4>>2]=0}j=v[l+12>>2];n=n+1|0;if((n|0)!=(g|0)){continue}break}k=j-b>>3}b=C-g|0;B:{if(k>>>0<b>>>0){b=v[l+4>>2];if(!b|v[b>>2]){break B}v[b>>2]=161;break B}v[l+12>>2]=j-(b<<3)}t[a+93|0]=1;b=f;continue;case 1:case 18:g=a;k=l;j=i+15760|0;m=h;n=i+15791|0;C:{if(!o){if(w[i+15700|0]){break l}f=0;break C}f=v[v[q+32>>2]+4>>2]}rj(g,k,j,m,n,f);if(!w[q+548|0]){break k}break n;case 3:case 23:g=a;k=l;j=i+15728|0;m=h;n=i+15791|0;D:{if(!o){if(w[i+15700|0]){break l}f=0;break D}f=v[v[q+32>>2]>>2]}rj(g,k,j,m,n,f);if(w[q+548|0]){break n}break k;case 4:g=v[p+12>>2];m=v[p+8>>2];if(!(w[i+15791|0]|g-m>>3>>>0<2)){E:{if((g|0)==(m|0)){j=0;b=v[l+4>>2];if(!b|v[b>>2]){break E}v[b>>2]=130;break E}F:{switch(v[m+4>>2]-1|0){case 1:j=v[m>>2]<<16;break E;case 0:b=v[m>>2];j=((b>>31)+b|0)- -8192>>14;break E;default:break F}}j=v[m>>2]}v[h>>2]=j+T}t[i+15791|0]=1;if(w[q+548|0]){break n}k=v[i+15976>>2];G:{if((g|0)==(m|0)){g=0;b=v[l+4>>2];if(!b|v[b>>2]){break G}v[b>>2]=161;break G}b=g-8|0;v[p+12>>2]=b;H:{switch(v[b+4>>2]-1|0){case 1:g=v[b>>2]<<16;break G;case 0:b=v[b>>2];g=((b>>31)+b|0)- -8192>>14;break G;default:break H}}g=v[b>>2]}g=g+k|0;v[i+15976>>2]=g;if(v[q+468>>2]){break l}b=v[i+15980>>2];if(w[i+15572|0]){t[i+15573|0]=1;Ud(i+3912|0,v[i+15644>>2],v[i+15648>>2]);if(w[i+15652|0]){He(i+3912|0,H,Q,v[i+15620>>2],v[i+15624>>2],1)}t[i+15652|0]=0;u[i+15572>>1]=0}v[i+15648>>2]=g;v[i+15628>>2]=b;v[i+15644>>2]=b;v[i+15632>>2]=g;t[i+15575|0]=1;b=v[i+15584>>2];if(!(w[b+5|0]?0:w[i+3932|0])){Ge(H,v[i+15576>>2],v[i+15580>>2],b,v[i+15588>>2],0)}Ta(U,H,3868);break l;case 5:I:{j=v[p+12>>2];b=v[p+8>>2];g=j-b|0;if(!g){break I}r=g>>3;g=0;while(1){m=v[i+15980>>2];n=j-b>>3;J:{if(n>>>0<=g>>>0){j=0;k=v[l+4>>2];if(!k|v[k>>2]){break J}v[k>>2]=130;break J}K:{L:{M:{k=(g<<3)+b|0;switch(v[k+4>>2]-1|0){case 1:break M;case 0:break L;default:break K}}j=v[k>>2]<<16;break J}k=v[k>>2];j=((k>>31)+k|0)- -8192>>14;break J}j=v[k>>2]}j=j+m|0;v[i+15980>>2]=j;m=v[i+15976>>2];k=g|1;N:{if(k>>>0>=n>>>0){b=0;k=v[l+4>>2];if(!k|v[k>>2]){break N}v[k>>2]=130;j=v[i+15980>>2];break N}O:{P:{Q:{b=(k<<3)+b|0;switch(v[b+4>>2]-1|0){case 0:break P;case 1:break Q;default:break O}}b=v[b>>2]<<16;break N}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break N}b=v[b>>2]}b=b+m|0;v[i+15976>>2]=b;Ud(i+3912|0,j,b);b=v[p+8>>2];g=g+2|0;if(r>>>0<=g>>>0){break I}j=v[p+12>>2];continue}}v[p+12>>2]=b;b=f;continue;case 6:case 7:k=p;o=v[k+12>>2];j=v[k+8>>2];b=o-j|0;if(b){b=b>>3;m=b>>>0>1?b:1;b=(g|0)==6;g=0;while(1){R:{if(o-j>>3>>>0<=g>>>0){j=0;n=v[l+4>>2];if(!n|v[n>>2]){break R}v[n>>2]=130;break R}S:{T:{U:{j=(g<<3)+j|0;switch(v[j+4>>2]-1|0){case 0:break T;case 1:break U;default:break S}}j=v[j>>2]<<16;break R}j=v[j>>2];j=((j>>31)+j|0)- -8192>>14;break R}j=v[j>>2]}V:{if(b&255){v[i+15980>>2]=v[i+15980>>2]+j;break V}v[i+15976>>2]=v[i+15976>>2]+j}Ud(i+3912|0,v[i+15980>>2],v[i+15976>>2]);g=g+1|0;if((m|0)!=(g|0)){b=b^1;o=v[p+12>>2];j=v[p+8>>2];continue}break}j=v[p+8>>2]}v[k+12>>2]=j;b=f;continue;case 8:case 24:j=6;b=0;k=v[p+12>>2];o=v[p+8>>2];z=k-o>>3;if(z>>>0<6){break o}while(1){m=j;x=k-o>>3;W:{if(x>>>0<=b>>>0){k=0;j=v[l+4>>2];if(!j|v[j>>2]){break W}v[j>>2]=130;break W}X:{Y:{Z:{k=(b<<3)+o|0;switch(v[k+4>>2]-1|0){case 0:break Y;case 1:break Z;default:break X}}k=v[k>>2]<<16;break W}k=v[k>>2];k=((k>>31)+k|0)- -8192>>14;break W}k=v[k>>2]}s=v[i+15980>>2];j=b|1;_:{if(j>>>0>=x>>>0){n=0;j=v[l+4>>2];if(!j|v[j>>2]){break _}v[j>>2]=130;break _}$:{aa:{ba:{j=(j<<3)+o|0;switch(v[j+4>>2]-1|0){case 0:break aa;case 1:break ba;default:break $}}n=v[j>>2]<<16;break _}j=v[j>>2];n=((j>>31)+j|0)- -8192>>14;break _}n=v[j>>2]}r=v[i+15976>>2];j=b+2|0;ca:{if(j>>>0>=x>>>0){E=0;j=v[l+4>>2];if(!j|v[j>>2]){break ca}v[j>>2]=130;break ca}da:{ea:{fa:{j=(j<<3)+o|0;switch(v[j+4>>2]-1|0){case 0:break ea;case 1:break fa;default:break da}}E=v[j>>2]<<16;break ca}j=v[j>>2];E=((j>>31)+j|0)- -8192>>14;break ca}E=v[j>>2]}C=k+s|0;k=b+3|0;ga:{if(k>>>0>=x>>>0){k=0;j=v[l+4>>2];if(!j|v[j>>2]){break ga}v[j>>2]=130;break ga}ha:{ia:{ja:{k=(k<<3)+o|0;switch(v[k+4>>2]-1|0){case 0:break ia;case 1:break ja;default:break ha}}k=v[k>>2]<<16;break ga}k=v[k>>2];k=((k>>31)+k|0)- -8192>>14;break ga}k=v[k>>2]}s=n+r|0;r=C+E|0;j=b+4|0;ka:{if(j>>>0>=x>>>0){E=0;j=v[l+4>>2];if(!j|v[j>>2]){break ka}v[j>>2]=130;break ka}la:{ma:{na:{j=(j<<3)+o|0;switch(v[j+4>>2]-1|0){case 0:break ma;case 1:break na;default:break la}}E=v[j>>2]<<16;break ka}j=v[j>>2];E=((j>>31)+j|0)- -8192>>14;break ka}E=v[j>>2]}n=k+s|0;j=r+E|0;b=b+5|0;oa:{if(b>>>0>=x>>>0){b=0;k=v[l+4>>2];if(!k|v[k>>2]){break oa}v[k>>2]=130;break oa}pa:{qa:{ra:{b=(b<<3)+o|0;switch(v[b+4>>2]-1|0){case 0:break qa;case 1:break ra;default:break pa}}b=v[b>>2]<<16;break oa}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break oa}b=v[b>>2]}b=b+n|0;Ef(i+3912|0,C,s,r,n,j,b);v[i+15976>>2]=b;v[i+15980>>2]=j;j=m+6|0;if(z>>>0<j>>>0){b=m;break o}else{k=v[p+12>>2];o=v[p+8>>2];b=m;continue}};default:if(g>>>0<=246){b=v[l+12>>2];if((b|0)==(v[l+8>>2]+(v[l+16>>2]<<3)|0)){b=f;f=v[l+4>>2];if(!f|v[f>>2]){continue}v[f>>2]=130;continue}v[b>>2]=g-139;b=v[p+12>>2];v[b+4>>2]=2;v[p+12>>2]=b+8;b=f;continue}if(g>>>0<=250){sa:{if(k>>>0<s>>>0){v[j>>2]=k+1;j=w[k|0];break sa}j=0;b=v[A>>2];if(!b|v[b>>2]){break sa}v[b>>2]=85}b=v[l+12>>2];if((b|0)==(v[l+8>>2]+(v[l+16>>2]<<3)|0)){b=f;f=v[l+4>>2];if(!f|v[f>>2]){continue}v[f>>2]=130;continue}v[b>>2]=((g<<8)+j|0)-63124;b=v[p+12>>2];v[b+4>>2]=2;v[p+12>>2]=b+8;b=f;continue}if((g|0)!=255){g=0-(g<<8)|0;ta:{if(k>>>0<s>>>0){v[j>>2]=k+1;b=w[k|0];break ta}b=0;k=v[A>>2];if(!k|v[k>>2]){break ta}v[k>>2]=85}Mg(l,(g-b|0)+64148|0);b=f;continue}ua:{if(k>>>0<s>>>0){g=k+1|0;v[j>>2]=g;r=w[k|0];break ua}r=0;b=v[A>>2];if(!(!b|v[b>>2])){v[b>>2]=85}g=k}va:{if(g>>>0<s>>>0){b=g+1|0;v[j>>2]=b;k=w[g|0];break va}k=0;b=v[A>>2];if(!(!b|v[b>>2])){v[b>>2]=85}b=g}wa:{if(b>>>0<s>>>0){g=b+1|0;v[j>>2]=g;n=w[b|0];break wa}n=0;g=v[A>>2];if(!(!g|v[g>>2])){v[g>>2]=85}g=b}xa:{if(g>>>0<s>>>0){v[j>>2]=g+1;g=w[g|0];break xa}g=0;b=v[A>>2];if(!b|v[b>>2]){break xa}v[b>>2]=85}b=k<<16|r<<24|n<<8|g;if(o){Mg(l,b);K=b+32e3>>>0<64001?K:K&255?K:1;b=f;continue}Zb(l,b);b=f;continue;case 28:ya:{if(k>>>0<s>>>0){g=k+1|0;v[j>>2]=g;b=w[k|0];break ya}b=0;g=v[A>>2];if(!(!g|v[g>>2])){v[g>>2]=85}g=k}za:{if(g>>>0<s>>>0){v[j>>2]=g+1;g=w[g|0];break za}g=0;k=v[A>>2];if(!k|v[k>>2]){break za}v[k>>2]=85}k=v[l+12>>2];if((k|0)==(v[l+8>>2]+(v[l+16>>2]<<3)|0)){b=f;f=v[l+4>>2];if(!f|v[f>>2]){continue}v[f>>2]=130;continue}v[k>>2]=(g<<16|b<<24)>>16;b=v[p+12>>2];v[b+4>>2]=2;v[p+12>>2]=b+8;b=f;continue;case 30:case 31:s=p;k=v[p+8>>2];b=v[p+12>>2]-k>>3;C=b&-3;b=b&2;if(C>>>0>b>>>0){E=(g|0)==31;while(1){Aa:{if(E&255){x=v[p+8>>2];z=v[p+12>>2]-x>>3;Ba:{if(z>>>0<=b>>>0){j=0;g=v[l+4>>2];if(!g|v[g>>2]){break Ba}v[g>>2]=130;break Ba}Ca:{Da:{Ea:{g=x+(b<<3)|0;switch(v[g+4>>2]-1|0){case 0:break Da;case 1:break Ea;default:break Ca}}j=v[g>>2]<<16;break Ba}g=v[g>>2];j=((g>>31)+g|0)- -8192>>14;break Ba}j=v[g>>2]}m=v[i+15980>>2];g=v[i+15976>>2];n=b+1|0;Fa:{if(z>>>0<=n>>>0){r=0;k=v[l+4>>2];if(!k|v[k>>2]){break Fa}v[k>>2]=130;break Fa}Ga:{Ha:{Ia:{k=x+(n<<3)|0;switch(v[k+4>>2]-1|0){case 0:break Ha;case 1:break Ia;default:break Ga}}r=v[k>>2]<<16;break Fa}k=v[k>>2];r=((k>>31)+k|0)- -8192>>14;break Fa}r=v[k>>2]}k=b+2|0;Ja:{if(k>>>0>=z>>>0){o=0;k=v[l+4>>2];if(!k|v[k>>2]){break Ja}v[k>>2]=130;break Ja}Ka:{La:{Ma:{k=x+(k<<3)|0;switch(v[k+4>>2]-1|0){case 0:break La;case 1:break Ma;default:break Ka}}o=v[k>>2]<<16;break Ja}k=v[k>>2];o=((k>>31)+k|0)- -8192>>14;break Ja}o=v[k>>2]}j=j+m|0;o=g+o|0;k=b+3|0;Na:{if(k>>>0>=z>>>0){k=0;m=v[l+4>>2];if(!m|v[m>>2]){break Na}v[m>>2]=130;break Na}Oa:{Pa:{Qa:{k=x+(k<<3)|0;switch(v[k+4>>2]-1|0){case 0:break Pa;case 1:break Qa;default:break Oa}}k=v[k>>2]<<16;break Na}k=v[k>>2];k=((k>>31)+k|0)- -8192>>14;break Na}k=v[k>>2]}r=j+r|0;k=k+o|0;E=0;if((C-b|0)!=5){n=b;m=r;break Aa}b=b+4|0;Ra:{if(b>>>0>=z>>>0){m=v[l+4>>2];b=0;if(!m|v[m>>2]){break Ra}v[m>>2]=130;m=r;break Aa}Sa:{Ta:{Ua:{b=x+(b<<3)|0;switch(v[b+4>>2]-1|0){case 0:break Ta;case 1:break Ua;default:break Sa}}m=(v[b>>2]<<16)+r|0;break Aa}b=v[b>>2];m=(((b>>31)+b|0)- -8192>>14)+r|0;break Aa}b=v[b>>2]}m=b+r|0;break Aa}j=v[i+15980>>2];x=v[p+8>>2];z=v[p+12>>2]-x>>3;Va:{if(z>>>0<=b>>>0){o=0;g=v[l+4>>2];if(!g|v[g>>2]){break Va}v[g>>2]=130;break Va}Wa:{Xa:{Ya:{g=x+(b<<3)|0;switch(v[g+4>>2]-1|0){case 0:break Xa;case 1:break Ya;default:break Wa}}o=v[g>>2]<<16;break Va}g=v[g>>2];o=((g>>31)+g|0)- -8192>>14;break Va}o=v[g>>2]}k=v[i+15976>>2];n=b+1|0;Za:{if(z>>>0<=n>>>0){r=0;g=v[l+4>>2];if(!g|v[g>>2]){break Za}v[g>>2]=130;break Za}_a:{$a:{ab:{g=x+(n<<3)|0;switch(v[g+4>>2]-1|0){case 0:break $a;case 1:break ab;default:break _a}}r=v[g>>2]<<16;break Za}g=v[g>>2];r=((g>>31)+g|0)- -8192>>14;break Za}r=v[g>>2]}g=b+2|0;bb:{if(g>>>0>=z>>>0){m=0;g=v[l+4>>2];if(!g|v[g>>2]){break bb}v[g>>2]=130;break bb}cb:{db:{eb:{g=x+(g<<3)|0;switch(v[g+4>>2]-1|0){case 0:break db;case 1:break eb;default:break cb}}m=v[g>>2]<<16;break bb}g=v[g>>2];m=((g>>31)+g|0)- -8192>>14;break bb}m=v[g>>2]}g=k+o|0;r=j+r|0;k=b+3|0;fb:{if(k>>>0>=z>>>0){E=0;k=v[l+4>>2];if(!k|v[k>>2]){break fb}v[k>>2]=130;break fb}gb:{hb:{ib:{k=x+(k<<3)|0;switch(v[k+4>>2]-1|0){case 0:break hb;case 1:break ib;default:break gb}}E=v[k>>2]<<16;break fb}k=v[k>>2];E=((k>>31)+k|0)- -8192>>14;break fb}E=v[k>>2]}o=g+m|0;m=r+E|0;E=1;if((C-b|0)!=5){n=b;k=o;break Aa}b=b+4|0;jb:{if(b>>>0>=z>>>0){b=0;k=v[l+4>>2];if(!k|v[k>>2]){break jb}v[k>>2]=130;break jb}kb:{lb:{mb:{b=x+(b<<3)|0;switch(v[b+4>>2]-1|0){case 0:break lb;case 1:break mb;default:break kb}}b=v[b>>2]<<16;break jb}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break jb}b=v[b>>2]}k=b+o|0}Ef(i+3912|0,j,g,r,o,m,k);v[i+15976>>2]=k;v[i+15980>>2]=m;b=n+4|0;if(C>>>0>b>>>0){continue}break}k=v[p+8>>2]}v[s+12>>2]=k;b=f;continue;case 27:k=p;b=v[k+8>>2];C=v[k+12>>2]-b>>3;z=C&-3;g=C&2;if(z>>>0>g>>>0){while(1){nb:{if(C-g&1){o=v[p+8>>2];b=v[p+12>>2]-o>>3;ob:{if(g>>>0>=b>>>0){j=0;m=v[l+4>>2];if(!m|v[m>>2]){break ob}v[m>>2]=130;break ob}pb:{qb:{rb:{j=(g<<3)+o|0;switch(v[j+4>>2]-1|0){case 0:break qb;case 1:break rb;default:break pb}}j=v[j>>2]<<16;break ob}j=v[j>>2];j=((j>>31)+j|0)- -8192>>14;break ob}j=v[j>>2]}g=g+1|0;n=v[i+15976>>2]+j|0;break nb}o=v[p+8>>2];b=v[p+12>>2]-o>>3;n=v[i+15976>>2]}sb:{if(b>>>0<=g>>>0){j=0;m=v[l+4>>2];if(!m|v[m>>2]){break sb}v[m>>2]=130;break sb}tb:{ub:{vb:{j=(g<<3)+o|0;switch(v[j+4>>2]-1|0){case 0:break ub;case 1:break vb;default:break tb}}j=v[j>>2]<<16;break sb}j=v[j>>2];j=((j>>31)+j|0)- -8192>>14;break sb}j=v[j>>2]}r=v[i+15980>>2];m=g+1|0;wb:{if(m>>>0>=b>>>0){m=0;s=v[l+4>>2];if(!s|v[s>>2]){break wb}v[s>>2]=130;break wb}xb:{yb:{zb:{m=(m<<3)+o|0;switch(v[m+4>>2]-1|0){case 0:break yb;case 1:break zb;default:break xb}}m=v[m>>2]<<16;break wb}m=v[m>>2];m=((m>>31)+m|0)- -8192>>14;break wb}m=v[m>>2]}s=j+r|0;j=g+2|0;Ab:{if(j>>>0>=b>>>0){j=0;r=v[l+4>>2];if(!r|v[r>>2]){break Ab}v[r>>2]=130;break Ab}Bb:{Cb:{Db:{j=(j<<3)+o|0;switch(v[j+4>>2]-1|0){case 0:break Cb;case 1:break Db;default:break Bb}}j=v[j>>2]<<16;break Ab}j=v[j>>2];j=((j>>31)+j|0)- -8192>>14;break Ab}j=v[j>>2]}m=m+s|0;r=j+n|0;j=b;b=g+3|0;Eb:{if(j>>>0<=b>>>0){b=0;j=v[l+4>>2];if(!j|v[j>>2]){break Eb}v[j>>2]=130;break Eb}Fb:{Gb:{Hb:{b=(b<<3)+o|0;switch(v[b+4>>2]-1|0){case 0:break Gb;case 1:break Hb;default:break Fb}}b=v[b>>2]<<16;break Eb}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break Eb}b=v[b>>2]}b=b+m|0;Ef(i+3912|0,s,n,m,r,b,r);v[i+15976>>2]=r;v[i+15980>>2]=b;g=g+4|0;if(z>>>0>g>>>0){continue}break}b=v[p+8>>2]}v[k+12>>2]=b;b=f;continue;case 26:k=p;b=v[k+8>>2];C=v[k+12>>2]-b>>3;z=C&-3;g=C&2;if(z>>>0>g>>>0){while(1){Ib:{if(C-g&1){o=v[p+8>>2];b=v[p+12>>2]-o>>3;Jb:{if(g>>>0>=b>>>0){j=0;m=v[l+4>>2];if(!m|v[m>>2]){break Jb}v[m>>2]=130;break Jb}Kb:{Lb:{Mb:{j=(g<<3)+o|0;switch(v[j+4>>2]-1|0){case 0:break Lb;case 1:break Mb;default:break Kb}}j=v[j>>2]<<16;break Jb}j=v[j>>2];j=((j>>31)+j|0)- -8192>>14;break Jb}j=v[j>>2]}g=g+1|0;r=v[i+15980>>2]+j|0;break Ib}o=v[p+8>>2];b=v[p+12>>2]-o>>3;r=v[i+15980>>2]}Nb:{if(b>>>0<=g>>>0){j=0;m=v[l+4>>2];if(!m|v[m>>2]){break Nb}v[m>>2]=130;break Nb}Ob:{Pb:{Qb:{j=(g<<3)+o|0;switch(v[j+4>>2]-1|0){case 0:break Pb;case 1:break Qb;default:break Ob}}j=v[j>>2]<<16;break Nb}j=v[j>>2];j=((j>>31)+j|0)- -8192>>14;break Nb}j=v[j>>2]}n=v[i+15976>>2];m=g+1|0;Rb:{if(m>>>0>=b>>>0){m=0;s=v[l+4>>2];if(!s|v[s>>2]){break Rb}v[s>>2]=130;break Rb}Sb:{Tb:{Ub:{m=(m<<3)+o|0;switch(v[m+4>>2]-1|0){case 0:break Tb;case 1:break Ub;default:break Sb}}m=v[m>>2]<<16;break Rb}m=v[m>>2];m=((m>>31)+m|0)- -8192>>14;break Rb}m=v[m>>2]}s=j+n|0;j=g+2|0;Vb:{if(j>>>0>=b>>>0){n=0;j=v[l+4>>2];if(!j|v[j>>2]){break Vb}v[j>>2]=130;break Vb}Wb:{Xb:{Yb:{j=(j<<3)+o|0;switch(v[j+4>>2]-1|0){case 0:break Xb;case 1:break Yb;default:break Wb}}n=v[j>>2]<<16;break Vb}j=v[j>>2];n=((j>>31)+j|0)- -8192>>14;break Vb}n=v[j>>2]}x=m+r|0;m=n+s|0;j=b;b=g+3|0;Zb:{if(j>>>0<=b>>>0){b=0;j=v[l+4>>2];if(!j|v[j>>2]){break Zb}v[j>>2]=130;break Zb}_b:{$b:{ac:{b=(b<<3)+o|0;switch(v[b+4>>2]-1|0){case 0:break $b;case 1:break ac;default:break _b}}b=v[b>>2]<<16;break Zb}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break Zb}b=v[b>>2]}b=b+m|0;Ef(i+3912|0,r,s,x,m,x,b);v[i+15976>>2]=b;v[i+15980>>2]=x;g=g+4|0;if(z>>>0>g>>>0){continue}break}b=v[p+8>>2]}v[k+12>>2]=b;b=f;continue;case 25:g=0;j=v[p+12>>2];b=v[p+8>>2];z=j-b>>3;if(z>>>0>6){while(1){m=v[i+15980>>2];n=j-b>>3;bc:{if(n>>>0<=g>>>0){j=0;k=v[l+4>>2];if(!k|v[k>>2]){break bc}v[k>>2]=130;break bc}cc:{dc:{ec:{k=(g<<3)+b|0;switch(v[k+4>>2]-1|0){case 0:break dc;case 1:break ec;default:break cc}}j=v[k>>2]<<16;break bc}k=v[k>>2];j=((k>>31)+k|0)- -8192>>14;break bc}j=v[k>>2]}j=j+m|0;v[i+15980>>2]=j;m=v[i+15976>>2];k=g|1;fc:{if(k>>>0>=n>>>0){b=0;k=v[l+4>>2];if(!k|v[k>>2]){break fc}v[k>>2]=130;j=v[i+15980>>2];break fc}gc:{hc:{ic:{b=(k<<3)+b|0;switch(v[b+4>>2]-1|0){case 0:break hc;case 1:break ic;default:break gc}}b=v[b>>2]<<16;break fc}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break fc}b=v[b>>2]}b=b+m|0;v[i+15976>>2]=b;Ud(i+3912|0,j,b);k=g+2|0;if(z>>>0>g+8>>>0){j=v[p+12>>2];b=v[p+8>>2];g=k;continue}break}g=k}if(g>>>0<z>>>0){while(1){x=v[p+8>>2];C=v[p+12>>2]-x>>3;jc:{if(C>>>0<=g>>>0){o=0;b=v[l+4>>2];if(!b|v[b>>2]){break jc}v[b>>2]=130;break jc}kc:{lc:{mc:{b=x+(g<<3)|0;switch(v[b+4>>2]-1|0){case 0:break lc;case 1:break mc;default:break kc}}o=v[b>>2]<<16;break jc}b=v[b>>2];o=((b>>31)+b|0)- -8192>>14;break jc}o=v[b>>2]}m=v[i+15980>>2];b=g|1;nc:{if(b>>>0>=C>>>0){k=0;b=v[l+4>>2];if(!b|v[b>>2]){break nc}v[b>>2]=130;break nc}oc:{pc:{qc:{b=x+(b<<3)|0;switch(v[b+4>>2]-1|0){case 0:break pc;case 1:break qc;default:break oc}}k=v[b>>2]<<16;break nc}b=v[b>>2];k=((b>>31)+b|0)- -8192>>14;break nc}k=v[b>>2]}j=v[i+15976>>2];b=g+2|0;rc:{if(b>>>0>=C>>>0){n=0;b=v[l+4>>2];if(!b|v[b>>2]){break rc}v[b>>2]=130;break rc}sc:{tc:{uc:{b=x+(b<<3)|0;switch(v[b+4>>2]-1|0){case 0:break tc;case 1:break uc;default:break sc}}n=v[b>>2]<<16;break rc}b=v[b>>2];n=((b>>31)+b|0)- -8192>>14;break rc}n=v[b>>2]}o=m+o|0;b=g+3|0;vc:{if(b>>>0>=C>>>0){E=0;b=v[l+4>>2];if(!b|v[b>>2]){break vc}v[b>>2]=130;break vc}wc:{xc:{yc:{b=x+(b<<3)|0;switch(v[b+4>>2]-1|0){case 0:break xc;case 1:break yc;default:break wc}}E=v[b>>2]<<16;break vc}b=v[b>>2];E=((b>>31)+b|0)- -8192>>14;break vc}E=v[b>>2]}s=j+k|0;r=o+n|0;b=g+4|0;zc:{if(b>>>0>=C>>>0){n=0;b=v[l+4>>2];if(!b|v[b>>2]){break zc}v[b>>2]=130;break zc}Ac:{Bc:{Cc:{b=x+(b<<3)|0;switch(v[b+4>>2]-1|0){case 0:break Bc;case 1:break Cc;default:break Ac}}n=v[b>>2]<<16;break zc}b=v[b>>2];n=((b>>31)+b|0)- -8192>>14;break zc}n=v[b>>2]}m=s+E|0;j=n+r|0;b=g+5|0;Dc:{if(b>>>0>=C>>>0){b=0;k=v[l+4>>2];if(!k|v[k>>2]){break Dc}v[k>>2]=130;break Dc}Ec:{Fc:{Gc:{b=x+(b<<3)|0;switch(v[b+4>>2]-1|0){case 0:break Fc;case 1:break Gc;default:break Ec}}b=v[b>>2]<<16;break Dc}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break Dc}b=v[b>>2]}b=b+m|0;Ef(i+3912|0,o,s,r,m,j,b);v[i+15976>>2]=b;v[i+15980>>2]=j;g=g+6|0;if(z>>>0>g>>>0){continue}break}}v[p+12>>2]=v[p+8>>2];b=f;continue;case 22:g=v[p+12>>2];m=v[p+8>>2];if(!(w[i+15791|0]|g-m>>3>>>0<2)){Hc:{if((g|0)==(m|0)){j=0;b=v[l+4>>2];if(!b|v[b>>2]){break Hc}v[b>>2]=130;break Hc}Ic:{switch(v[m+4>>2]-1|0){case 1:j=v[m>>2]<<16;break Hc;case 0:b=v[m>>2];j=((b>>31)+b|0)- -8192>>14;break Hc;default:break Ic}}j=v[m>>2]}v[h>>2]=j+T}t[i+15791|0]=1;if(w[q+548|0]){break n}k=v[i+15980>>2];Jc:{if((g|0)==(m|0)){g=0;b=v[l+4>>2];if(!b|v[b>>2]){break Jc}v[b>>2]=161;break Jc}b=g-8|0;v[p+12>>2]=b;Kc:{switch(v[b+4>>2]-1|0){case 1:g=v[b>>2]<<16;break Jc;case 0:b=v[b>>2];g=((b>>31)+b|0)- -8192>>14;break Jc;default:break Kc}}g=v[b>>2]}g=g+k|0;v[i+15980>>2]=g;if(v[q+468>>2]){break l}b=v[i+15976>>2];if(w[i+15572|0]){t[i+15573|0]=1;Ud(i+3912|0,v[i+15644>>2],v[i+15648>>2]);if(w[i+15652|0]){He(i+3912|0,H,Q,v[i+15620>>2],v[i+15624>>2],1)}t[i+15652|0]=0;u[i+15572>>1]=0}v[i+15648>>2]=b;v[i+15628>>2]=g;v[i+15644>>2]=g;v[i+15632>>2]=b;t[i+15575|0]=1;b=v[i+15584>>2];if(!(w[b+5|0]?0:w[i+3932|0])){Ge(H,v[i+15576>>2],v[i+15580>>2],b,v[i+15588>>2],0)}Ta(U,H,3868);break l;case 21:m=v[p+12>>2];n=v[p+8>>2];if(!(w[i+15791|0]|m-n>>3>>>0<3)){Lc:{if((m|0)==(n|0)){j=0;b=v[l+4>>2];if(!b|v[b>>2]){break Lc}v[b>>2]=130;break Lc}Mc:{switch(v[n+4>>2]-1|0){case 1:j=v[n>>2]<<16;break Lc;case 0:b=v[n>>2];j=((b>>31)+b|0)- -8192>>14;break Lc;default:break Mc}}j=v[n>>2]}v[h>>2]=j+T}t[i+15791|0]=1;if(w[q+548|0]){break n}k=v[i+15976>>2];Nc:{Oc:{Pc:{if((m|0)==(n|0)){b=v[l+4>>2];if(!(!b|v[b>>2])){v[b>>2]=161}v[i+15976>>2]=k;o=v[i+15980>>2];break Pc}j=m-8|0;v[p+12>>2]=j;b=i;Qc:{Rc:{switch(v[j+4>>2]-1|0){case 0:g=v[j>>2];g=((g>>31)+g|0)- -8192>>14;break Qc;default:g=v[j>>2];break Qc;case 1:break Rc}}g=v[j>>2]<<16}v[b+15976>>2]=g+k;o=v[i+15980>>2];if((j|0)!=(n|0)){break Oc}}g=0;b=v[l+4>>2];if(!b|v[b>>2]){break Nc}v[b>>2]=161;break Nc}b=m-16|0;v[p+12>>2]=b;Sc:{switch(v[b+4>>2]-1|0){case 1:g=v[b>>2]<<16;break Nc;case 0:b=v[b>>2];g=((b>>31)+b|0)- -8192>>14;break Nc;default:break Sc}}g=v[b>>2]}g=g+o|0;v[i+15980>>2]=g;if(v[q+468>>2]){break l}b=v[i+15976>>2];if(w[i+15572|0]){t[i+15573|0]=1;Ud(i+3912|0,v[i+15644>>2],v[i+15648>>2]);if(w[i+15652|0]){He(i+3912|0,H,Q,v[i+15620>>2],v[i+15624>>2],1)}t[i+15652|0]=0;u[i+15572>>1]=0}v[i+15648>>2]=b;v[i+15628>>2]=g;v[i+15644>>2]=g;v[i+15632>>2]=b;t[i+15575|0]=1;b=v[i+15584>>2];if(!(w[b+5|0]?0:w[i+3932|0])){Ge(H,v[i+15576>>2],v[i+15580>>2],b,v[i+15588>>2],0)}Ta(U,H,3868);break l;case 19:case 20:if(w[i+15700|0]?v[p+12>>2]-v[p+8>>2]>>3>>>0>=2:0){break l}b=0;rj(a,l,i+15728|0,h,i+15791|0,0);if(w[q+548|0]){j=0;break c}if((g|0)==19){g=v[i+15744>>2]+v[i+15776>>2]|0;if(g>>>0>=97){b=v[i+15696>>2];if(!b|v[b>>2]){break l}v[b>>2]=18;break l}v[i+15704>>2]=g;u[i+15700>>1]=257;b=g+7>>>3|0;v[i+15708>>2]=b;if(!g){break l}g=0;if(!b){break l}while(1){b=v[j>>2];Tc:{if(b>>>0<y[A+8>>2]){v[j>>2]=b+1;b=w[b|0];break Tc}b=0;k=v[A>>2];if(!k|v[k>>2]){break Tc}v[k>>2]=85}t[(g+i|0)+15712|0]=b;g=g+1|0;if(g>>>0<y[i+15708>>2]){continue}break}break l}Ra(W,0,3856);b=w[a+184|0];v[i+56>>2]=P;t[i+53|0]=b;v[i+48>>2]=R;v[i+44>>2]=S;v[i+40>>2]=a;b=X;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[i+8>>2]=L;g=v[i+15744>>2]+v[i+15776>>2]|0;Uc:{if(g>>>0>=97){if(v[a+4>>2]){break Uc}v[a+4>>2]=18;break Uc}v[i+16>>2]=g;u[i+12>>1]=257;b=g+7>>>3|0;v[i+20>>2]=b;if(!g){break Uc}g=0;if(!b){break Uc}while(1){b=v[j>>2];Vc:{if(b>>>0<y[A+8>>2]){v[j>>2]=b+1;b=w[b|0];break Vc}b=0;k=v[A>>2];if(!k|v[k>>2]){break Vc}v[k>>2]=85}t[(g+i|0)+24|0]=b;g=g+1|0;if(g>>>0<y[i+20>>2]){continue}break}}Ge(i+40|0,i+15760|0,i+15728|0,i+8|0,0,0);break l;case 14:if(!(!o|f&255)){f=v[i+15976>>2];b=v[i+15980>>2];if(w[i+15572|0]){t[i+15573|0]=1;Ud(i+3912|0,v[i+15644>>2],v[i+15648>>2]);if(w[i+15652|0]){He(i+3912|0,H,Q,v[i+15620>>2],v[i+15624>>2],1)}t[i+15652|0]=0;u[i+15572>>1]=0}v[i+15648>>2]=f;v[i+15628>>2]=b;v[i+15644>>2]=b;v[i+15632>>2]=f;t[i+15575|0]=1;b=v[i+15584>>2];if(!(w[b+5|0]?0:w[i+3932|0])){Ge(H,v[i+15576>>2],v[i+15580>>2],b,v[i+15588>>2],0)}Ta(U,H,3868);v[i+15776>>2]=0;v[i+15744>>2]=0;b=N;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;u[i+15700>>1]=256;v[i+15696>>2]=L;if((F|0)>=1){g=F;Wc:{if(!(g&1)){break Wc}g=F-1|0;if(g>>>0<17){j=g;break Wc}j=0;if(v[a+4>>2]){break Wc}v[a+4>>2]=130}if((F|0)!=1){while(1){b=g;if(!(v[a+4>>2]|b-1>>>0<17)){v[a+4>>2]=130}g=b-2|0;j=g;Xc:{if(g>>>0<17){break Xc}j=0;if(v[a+4>>2]){break Xc}v[a+4>>2]=130}if((b|0)>2){continue}break}}F=0;A=(j<<4)+J|0}v[A+12>>2]=v[A+4>>2];b=1;break k}b=v[p+12>>2]-v[p+8>>2]|0;Yc:{Zc:{if((b|0)!=8){if((b|0)!=40){break Yc}if(!w[i+15791|0]){break Zc}break Yc}if(w[i+15791|0]){break Yc}}Y=h,Z=af(l,0)+T|0,v[Y>>2]=Z}t[i+15791|0]=1;if(w[q+548|0]){break n}b=i+3912|0;if(w[b+11660|0]){t[b+11661|0]=1;Ud(b,v[b+11732>>2],v[b+11736>>2]);if(w[b+11740|0]){He(b,b+8|0,b+11700|0,v[b+11708>>2],v[b+11712>>2],1)}t[b+11740|0]=0;u[b+11660>>1]=0;t[b+11663|0]=1}if(w[a+9|0]|w[a+8|0]|v[l+12>>2]-v[l+8>>2]>>3>>>0<2){break n}j=18;_c:{if(e){break _c}b=$c(l);e=$c(l);Y=i,Z=sb(l),v[Y+15976>>2]=Z;Y=i,Z=sb(l),v[Y+15980>>2]=Z;j=nv(q,b,i+40|0);if(j){break _c}Gh(a,i+40|0,c,d,1,v[i+15980>>2],v[i+15976>>2],i+8|0);b=i+40|4;Ea[v[q+600>>2]](v[q+4>>2],b,v[i+48>>2]-v[i+44>>2]|0);j=nv(q,e,i+40|0);if(j){break _c}j=0;Gh(a,i+40|0,c,d,1,0,0,i+8|0);Ea[v[q+600>>2]](v[q+4>>2],b,v[i+48>>2]-v[i+44>>2]|0)}b=0;break c;case 13:if(!o){break l}g=v[p+12>>2];k=v[p+8>>2];$c:{if((g|0)==(k|0)){o=0;b=v[l+4>>2];if(!b|v[b>>2]){break $c}v[b>>2]=161;break $c}g=g-8|0;v[p+12>>2]=g;ad:{switch(v[g+4>>2]-1|0){case 1:o=v[g>>2]<<16;break $c;case 0:b=v[g>>2];o=((b>>31)+b|0)- -8192>>14;break $c;default:break ad}}o=v[g>>2]}b=v[q+36>>2];v[b+4>>2]=0;v[b>>2]=o;bd:{if((g|0)==(k|0)){g=0;b=v[l+4>>2];if(!b|v[b>>2]){break bd}v[b>>2]=161;break bd}b=g-8|0;v[p+12>>2]=b;cd:{switch(v[b+4>>2]-1|0){case 1:g=v[b>>2]<<16;break bd;case 0:b=v[b>>2];g=((b>>31)+b|0)- -8192>>14;break bd;default:break cd}}g=v[b>>2]}b=v[q+32>>2];v[b>>2]=v[b>>2]+g;t[i+15791|0]=1;if(w[q+47|0]){break n}if(!(f&255)){b=0;break k}v[i+15980>>2]=v[i+15980>>2]+g;break l;case 12:dd:{if(k>>>0>=s>>>0){b=v[A>>2];if(b){g=0;if(v[b>>2]){break dd}v[b>>2]=85}g=0;break dd}v[j>>2]=k+1;ed:{fd:{gd:{hd:{g=w[k|0];switch(g-8|0){case 0:case 5:case 11:case 17:case 23:case 24:break k;case 27:break ed;case 29:break fd;case 28:break gd;case 26:break hd;default:break dd}}qj(l,i+15980|0,i+15976|0,i+3912|0,301181,0);continue}qj(l,i+15980|0,i+15976|0,i+3912|0,301205,0);continue}qj(l,i+15980|0,i+15976|0,i+3912|0,301217,1);continue}qj(l,i+15980|0,i+15976|0,i+3912|0,301193,0);break l}if(w[a+9|0]|g>>>0>37){break l}if(!(!o|(D|0)<1|(g|0)==17)){D=0;break l}b=f;id:{jd:{kd:{ld:{switch(g-1|0){case 0:case 1:if(!o){break l}m=af(l,0);n=af(l,2);j=af(l,4);k=af(l,1);b=v[l+8>>2];md:{if(v[l+12>>2]-b>>3>>>0<=1){b=v[l+4>>2];if(!b|v[b>>2]){break md}v[b>>2]=130;break md}v[b+16>>2]=n-(k+m|0);v[v[p+8>>2]+20>>2]=0}k=af(l,3);b=v[l+8>>2];nd:{if(v[l+12>>2]-b>>3>>>0<=3){b=v[l+4>>2];if(!b|v[b>>2]){break nd}v[b>>2]=130;break nd}v[b+32>>2]=j-(k+n|0);v[v[p+8>>2]+36>>2]=0}rj(a,l,(g|0)==1?i+15728|0:i+15760|0,h,i+15791|0,v[v[q+32>>2]+(((g|0)!=1)<<2)>>2]);b=f;if(w[q+548|0]){break n}break k;case 2:b=sb(l);Mg(l,(sb(l)|0)!=0&(b|0)!=0);b=f;continue;case 3:Mg(l,(sb(l)|sb(l))!=0);continue;case 4:Mg(l,!sb(l));continue;case 5:if(!o){break k}h=v[q+4>>2];j=18;g=$c(l);b=$c(l);N=sb(l);f=sb(l);k=sb(l);od:{if(w[q+47|0]|e){break od}e=v[v[h+128>>2]+52>>2];pd:{if(!v[q+580>>2]){if(!e){break od}M=v[v[q+32>>2]>>2];break pd}M=v[v[q+32>>2]>>2];if(e){break pd}b=mv(q,b);g=mv(q,g)}if((b|0)<0|(g|0)<0){break od}p=f+M|0;qd:{if(w[q+46|0]){e=v[q+8>>2];d=v[v[e+156>>2]>>2];j=Ps(d,2);if(j){break od}c=v[d+88>>2];v[c+32>>2]=g;v[c+8>>2]=0;v[c+12>>2]=0;u[c+4>>1]=514;v[c>>2]=b;u[c+36>>1]=2;b=p-k|0;v[c+40>>2]=(((b>>31)+b|0)+32768&-65536)>>16;v[c+44>>2]=((N+(N>>31)|0)+32768&-65536)>>16;v[e+128>>2]=2;b=v[d+52>>2];v[e+72>>2]=1668246896;v[e+132>>2]=b;v[d+84>>2]=2;break qd}e=v[q+12>>2];v[e+56>>2]=0;v[e+84>>2]=0;f=e;m=f;h=v[f+24>>2];if(h){f=h+(u[e+22>>1]<<3)|0}else{f=0}v[m+60>>2]=f;h=e- -64|0;f=v[e+28>>2];if(f){f=f+u[e+22>>1]|0}else{f=0}v[h>>2]=f;f=e;m=f;h=v[f+32>>2];if(h){f=h+(u[e+20>>1]<<1)|0}else{f=0}v[m+68>>2]=f;if(w[e+16|0]){f=u[e+22>>1]<<3;v[e+76>>2]=f+v[e+40>>2];v[e+80>>2]=f+v[e+44>>2]}f=e;m=f;h=v[f+52>>2];if(h){e=h+(v[e+48>>2]<<5)|0}else{e=0}v[m+88>>2]=e;j=lv(q,b,i+40|0);if(j){break od}b=v[q+36>>2];z=v[b>>2];o=v[b+4>>2];b=v[q+32>>2];s=v[b>>2];m=v[b+4>>2];Gh(a,i+40|0,c,d,1,0,0,i+3908|0);e=v[q+4>>2];b=v[i+44>>2];v[i+12>>2]=v[i+48>>2]-b;v[i+8>>2]=b;b=v[v[e+128>>2]+52>>2];if(b){Ea[v[v[b>>2]+4>>2]](v[b+4>>2],i+8|0)}rd:{if(w[i+15791|0]){b=v[q+32>>2];break rd}b=v[q+36>>2];z=v[b>>2];o=v[b+4>>2];b=v[q+32>>2];s=v[b>>2];m=v[b+4>>2]}v[b>>2]=0;v[b+4>>2]=0;j=lv(q,g,i+40|0);if(j){break od}Gh(a,i+40|0,c,d,1,p-k|0,N,i+3908|0);c=v[q+4>>2];b=v[i+44>>2];v[i+12>>2]=v[i+48>>2]-b;v[i+8>>2]=b;b=v[v[c+128>>2]+52>>2];if(b){Ea[v[v[b>>2]+4>>2]](v[b+4>>2],i+8|0)}b=v[q+32>>2];v[b>>2]=s;v[b+4>>2]=m;b=v[q+36>>2];v[b>>2]=z;v[b+4>>2]=o}j=0}b=0;break c;case 6:if(!o){break l}b=sb(l);v[v[q+36>>2]+4>>2]=b;b=sb(l);v[v[q+36>>2]>>2]=b;g=sb(l);b=sb(l);k=v[q+32>>2];v[k>>2]=b+v[k>>2];v[k+4>>2]=g+v[k+4>>2];t[i+15791|0]=1;if(w[q+47|0]){break n}if(!(f&255)){b=0;break k}v[i+15980>>2]=b+v[i+15980>>2];v[i+15976>>2]=g+v[i+15976>>2];break l;case 8:b=sb(l);if((b|0)==-2147483648){Zb(l,2147483647);b=f;continue}g=b;b=b>>31;Zb(l,g+b^b);b=f;continue;case 9:Zb(l,sb(l)+sb(l)|0);continue;case 10:b=sb(l);Zb(l,sb(l)-b|0);b=f;continue;case 11:f=l;sd:{if(!(!o|!(K&255))){K=0;g=$c(l);k=$c(l);break sd}g=sb(l);k=sb(l)}Zb(f,ab(k,g));continue;case 13:b=sb(l);if((b|0)==-2147483648){Zb(l,2147483647);b=f;continue}Zb(l,0-b|0);b=f;continue;case 14:Mg(l,(sb(l)|0)==(sb(l)|0));continue;case 15:if(!o){continue}m=$c(l);j=18;b=0;n=$c(l);k=v[l+8>>2];g=v[l+12>>2]-k>>3;if(n>>>0>g>>>0){break c}td:{switch(m|0){case 0:if((n|0)!=3|(!v[q+468>>2]|v[q+472>>2]!=7?f&255:0)){break c}Zb(l,v[i+15980>>2]);Zb(l,v[i+15976>>2]);G=2;break jd;case 1:if(n){break c}D=0;G=0;if(!(f&255)){continue}ud:{g=v[q+12>>2];if((u[g+22>>1]+u[g+58>>1]|0)+6>>>0<=y[g+4>>2]){break ud}if(!mc(g,6,0)){break ud}j=0;break c}v[q+468>>2]=1;v[q+472>>2]=0;break id;case 2:if(n){break c}D=0;G=0;if(!(f&255)){continue}if(!v[q+468>>2]){break c}k=v[q+472>>2];v[q+472>>2]=k+1;b=f;if(k-1>>>0>5){continue}g=v[q+12>>2];if((u[g+22>>1]+u[g+58>>1]|0)+1>>>0>y[g+4>>2]){b=0;if(mc(g,1,0)){break c}}b=k<<1;b=(i+15792|0)+(((k|0)>3?b-6|0:b)<<2)|0;v[b-8>>2]=v[i+15980>>2];v[b-4>>2]=v[i+15976>>2];b=f;vd:{switch(k-3|0){case 0:case 3:break vd;default:continue}}Ef(i+3912|0,v[i+15792>>2],v[i+15796>>2],v[i+15800>>2],v[i+15804>>2],v[i+15808>>2],v[i+15812>>2]);continue e;case 3:G=1;if((n|0)!=1){break c}D=0;if(!(f&255)){continue}v[i+15776>>2]=0;v[i+15744>>2]=0;b=N;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;u[i+15700>>1]=256;v[i+15696>>2]=L;b=f;continue;case 12:case 13:v[p+12>>2]=k;break id;case 14:case 15:case 16:case 17:case 18:k=v[q+644>>2];if(!k){break c}G=(m+((m|0)==18)|0)-13|0;if((n|0)!=(B(G,v[k>>2])|0)){break c}D=g-n|0;b=G+D|0;r=0;while(1){j=af(l,D);g=1;if(y[k>>2]>=2){while(1){j=Qa(af(l,b),v[v[k+136>>2]+(g<<2)>>2])+j|0;b=b+1|0;g=g+1|0;if(g>>>0<y[k>>2]){continue}break}}g=v[l+8>>2];wd:{if(v[l+12>>2]-g>>3>>>0<D>>>0){g=v[l+4>>2];if(!g|v[g>>2]){break wd}v[g>>2]=130;break wd}m=g;g=D<<3;v[m+g>>2]=j;v[(g+v[l+8>>2]|0)+4>>2]=0}D=D+1|0;r=r+1|0;if((G|0)!=(r|0)){continue}break};b=n-G|0;g=v[p+12>>2];if(b>>>0>g-v[p+8>>2]>>3>>>0){D=0;b=f;f=v[l+4>>2];if(!f|v[f>>2]){continue}v[f>>2]=161;continue}v[p+12>>2]=g-(b<<3);break jd;case 19:if((n|0)!=1){break c}m=v[q+644>>2];if(!m){break c}k=$c(l);if((k|0)<0){break c}g=v[m>>2];if(y[q+652>>2]<g+k>>>0){break c}Ta(v[q+648>>2]+(k<<2)|0,v[m+136>>2],g<<2);break id;case 20:if((n|0)!=2){break c}Zb(l,sb(l)+sb(l)|0);break kd;case 21:if((n|0)!=2){break c}b=sb(l);Zb(l,sb(l)-b|0);break kd;case 22:if((n|0)!=2){break c}b=sb(l);Zb(l,Qa(sb(l),b));break kd;case 23:if((n|0)!=2){break c}k=sb(l);g=sb(l);if(!k){break c}Zb(l,ab(g,k));break kd;case 24:if(!v[q+644>>2]|(n|0)!=2){break c}g=$c(l);if((g|0)<0|g>>>0>=y[q+652>>2]){break c}b=sb(l);v[v[q+648>>2]+(g<<2)>>2]=b;break id;case 25:if(!v[q+644>>2]|(n|0)!=1){break c}g=$c(l);if((g|0)<0|g>>>0>=y[q+652>>2]){break c}Zb(l,v[v[q+648>>2]+(g<<2)>>2]);break kd;case 27:if((n|0)!=4){break c}g=sb(l);b=sb(l);Zb(l,(Y=sb(l),Z=sb(l),_=(b|0)>(g|0),_?Y:Z));break kd;case 28:if(n){break c}g=v[q+536>>2];k=v[g+648>>2];b=k<<13^k;b=b>>>17^b;v[g+648>>2]=b^b<<5;G=1;Zb(l,(k&65535)+1|0);break jd;default:break td}}if((n|0)<0){break c}G=0;if((m|0)<0){break c}D=0;b=f;g=1;f=(n|0)<3?n:3;if((f|0)<1){continue}while(1){Y=(i+15960|0)+(f-g<<2)|0,Z=sb(l),v[Y>>2]=Z;k=(f|0)==(g|0);g=g+1|0;if(!k){continue}break};D=f;continue;case 16:if(!o){continue}if((G|0)>=1){G=G-1|0;continue}if(!D){break j}D=D-1|0;Zb(l,v[(i+15960|0)+(D<<2)>>2]);continue;case 17:sb(l);continue;case 19:g=$c(l);f=sb(l);if(g>>>0>31){continue}v[(i+15824|0)+(g<<2)>>2]=f;continue;case 20:f=$c(l);if(f>>>0>31){continue}Zb(l,v[(i+15824|0)+(f<<2)>>2]);continue;case 21:g=sb(l);b=sb(l);Zb(l,(Y=sb(l),Z=sb(l),_=(b|0)>(g|0),_?Y:Z));b=f;continue;case 22:g=v[q+536>>2];k=v[g+648>>2];b=k<<13^k;b=b>>>17^b;v[g+648>>2]=b^b<<5;Zb(l,(k&65535)+1|0);b=f;continue;case 23:b=sb(l);Zb(l,Qa(sb(l),b));b=f;continue;case 25:k=sb(l);xd:{if((k|0)<1){g=0;break xd}b=k>>>((k|0)>9)|0;while(1){g=b;b=(ab(k,b)+b|0)+1>>1;if((b|0)!=(g|0)){continue}break}}Zb(l,g);b=f;continue;case 26:b=sb(l);Zb(l,b);Zb(l,b);b=f;continue;case 27:g=sb(l);b=sb(l);Zb(l,g);Zb(l,b);b=f;continue;case 28:m=$c(l);k=v[l+12>>2]-v[l+8>>2]|0;if(!k){continue}f=l;g=l;k=k>>3;j=k-1|0;yd:{if((m|0)<=-1){break yd}j=0;if(k>>>0<=m>>>0){break yd}j=k+(m^-1)|0}Zb(f,af(g,j));continue;case 29:b=$c(l);r=0;x=$c(l);zd:{if((x|0)<2){break zd}if(x>>>0>v[l+12>>2]-v[l+8>>2]>>3>>>0){b=v[l+4>>2];if(!b|v[b>>2]){break zd}v[b>>2]=130;break zd}C=(b|0)%(x|0)|0;if(!C){break zd}j=0-x|0;z=0;o=2;b=-1;k=l;g=-1;while(1){Ad:{if((b|0)!=(g|0)){n=v[k+8>>2];s=z;m=o;break Ad}n=v[k+8>>2];g=b+1|0;b=n+(g<<3)|0;s=v[b>>2];m=v[b+4>>2];b=g}b=b+C|0;b=((b|0)<(x|0)?x&b>>31:j)+b|0;n=(b<<3)+n|0;z=v[n>>2];o=v[n+4>>2];v[n>>2]=s;v[n+4>>2]=m;r=r+1|0;if((x|0)!=(r|0)){continue}break}}b=f;continue;case 32:break ld;default:break k}}if(!o|!(f&255)){break l}Y=i,Z=sb(l),v[Y+15976>>2]=Z;Y=i,Z=sb(l),v[Y+15980>>2]=Z;v[q+468>>2]=0;break l}G=1}D=0;b=f;continue}D=0;b=f;continue e;case 11:if((F|0)<1){break j}F=F-1|0;if(F>>>0<=16){A=(F<<4)+J|0;continue}v[a+4>>2]=130;A=J;continue;case 10:case 29:j=18;b=0;if(!((F|0)>16?o:1)|((F|0)>16?o:0)){break c}F=F+1|0;Bd:{if(F>>>0<=16){k=F<<4;break Bd}v[a+4>>2]=130;k=0}m=v[p+12>>2];Cd:{if((m|0)==v[p+8>>2]){r=0;m=v[l+4>>2];if(!m|v[m>>2]){break Cd}v[m>>2]=161;break Cd}if(v[m-4>>2]!=2){r=0;m=v[l+4>>2];if(!m|v[m>>2]){break Cd}v[m>>2]=160;break Cd}m=m-8|0;v[p+12>>2]=m;r=v[m>>2]}A=k+J|0;Dd:{if(!o){break Dd}k=v[q+616>>2];if(!k){break Dd}k=Mc(r,k);if(!k){r=-1;break Dd}r=v[k>>2]}v[A>>2]=0;v[A+4>>2]=0;v[A+8>>2]=0;v[A+12>>2]=0;if((g|0)==29){g=v[q+568>>2]+r|0;if(g>>>0>=y[q+560>>2]){break c}g=v[q+576>>2]+(g<<2)|0;b=v[g>>2];v[A+4>>2]=b;v[A+12>>2]=b;v[A+8>>2]=v[g+4>>2];b=f;continue}g=v[q+564>>2]+r|0;if(g>>>0>=y[q+556>>2]){break c}k=g<<2;j=k+v[q+572>>2]|0;g=v[j>>2];v[A+4>>2]=g;Ed:{if(w[q+48|0]){b=v[q+612>>2];if(b){if(!g){g=0;b=0;break Ed}b=v[b+k>>2]+g|0;break Ed}b=v[q+608>>2];g=((b|0)>0?b:0)+g|0;v[A+4>>2]=g;b=v[j+4>>2];break Ed}b=v[j+4>>2]}v[A+12>>2]=g;v[A+8>>2]=b;b=f;continue;case 0:case 2:case 17:break k;case 9:break p}}if(!o){break l}if(w[i+15572|0]){t[i+15573|0]=1;Ud(i+3912|0,v[i+15644>>2],v[i+15648>>2]);if(w[i+15652|0]){He(i+3912|0,H,Q,v[i+15620>>2],v[i+15624>>2],1)}t[i+15652|0]=0;u[i+15572>>1]=0;t[i+15575|0]=1}t[i+15791|0]=1;break l}if((g|0)==24){k=v[i+15980>>2];m=v[p+8>>2];j=v[p+12>>2]-m>>3;Fd:{if(j>>>0<=b>>>0){o=0;g=v[l+4>>2];if(!g|v[g>>2]){break Fd}v[g>>2]=130;break Fd}Gd:{Hd:{Id:{g=m+(b<<3)|0;switch(v[g+4>>2]-1|0){case 0:break Hd;case 1:break Id;default:break Gd}}o=v[g>>2]<<16;break Fd}g=v[g>>2];o=((g>>31)+g|0)- -8192>>14;break Fd}o=v[g>>2]}g=k+o|0;v[i+15980>>2]=g;k=v[i+15976>>2];b=b|1;Jd:{if(b>>>0>=j>>>0){b=0;j=v[l+4>>2];if(!j|v[j>>2]){break Jd}v[j>>2]=130;g=v[i+15980>>2];break Jd}Kd:{Ld:{Md:{b=m+(b<<3)|0;switch(v[b+4>>2]-1|0){case 0:break Ld;case 1:break Md;default:break Kd}}b=v[b>>2]<<16;break Jd}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break Jd}b=v[b>>2]}b=b+k|0;v[i+15976>>2]=b;Ud(i+3912|0,g,b)}v[p+12>>2]=v[p+8>>2];b=f;continue}b=0;j=0;break c}v[a+120>>2]=g}b=f}v[p+12>>2]=v[p+8>>2];continue}break}break}j=18;b=0}if(v[a+4>>2]){break a}}v[a+4>>2]=j}v[i+15544>>2]=0;v[i+15536>>2]=0;v[i+15540>>2]=0;d=v[i+15524>>2];c=i+15548|0;a=v[c>>2];if(a){Ea[v[d+8>>2]](d,a)}v[c>>2]=0;v[i+15748>>2]=0;v[i+15740>>2]=0;v[i+15744>>2]=0;c=v[i+15728>>2];a=v[i+15752>>2];if(a){Ea[v[c+8>>2]](c,a)}v[i+15752>>2]=0;v[i+15780>>2]=0;v[i+15772>>2]=0;v[i+15776>>2]=0;c=v[i+15760>>2];a=v[i+15784>>2];if(a){Ea[v[c+8>>2]](c,a)}v[i+15784>>2]=0;if(J){Ea[v[I+8>>2]](I,J)}if(!b){c=v[l>>2];b=c;a=v[l+8>>2];if(a){Ea[v[b+8>>2]](b,a)}v[l+8>>2]=0;if(l){Ea[v[c+8>>2]](c,l)}}Ca=i+15984|0}function Os(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,z=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Fa=0,Ga=0,Ha=0;na=Ca-16|0;Ca=na;oa=Oc(b);if(oa){F=Wb(oa);if(F){while(1){if(w[656428]&8){v[na>>2]=F;Za(515979,na)}O=yl(a);c=0;d=0;i=Ca-16|0;Ca=i;v[i+12>>2]=0;f=yl(O);if(f){k=i+12|0;e=Ca-384|0;Ca=e;r=ae(f);v[e+136>>2]=0;v[e+140>>2]=0;a:{if(r){v[e+68>>2]=0;v[e+64>>2]=F;c=dc(r,e- -64|0);break a}c=ib(F)}g=um(c,e+144|0);Pa(c);b:{if((g|0)<0){break b}nm(f,F,e+320|0);l=Oc(v[f+12>>2]);if(!l){break b}g=Wb(l);c:{if(!g){break c}if(!r){while(1){v[e+20>>2]=0;v[e+16>>2]=e+320;j=1;c=dc(g,e+16|0);if(!c){break c}d:{while(1){r=Af(c,0,0);if((r|0)>=0){if((rl(r,e+232|0)|0)>-1){d=Ea[856](f,r,e+232|0,e+144|0,e+136|0,k)|0;rd(r);if(d){Pa(c);break d}Pa(c);d=0;break d}rd(r)}if(j){hu(f,F,e+80|0);r=w[e+80|0];Pa(c);if(!r){break d}v[e+4>>2]=0;v[e>>2]=e+80;c=dc(g,e);if(!c){break c}j=0;continue}break}Pa(c)}g=Wb(l);if(g){continue}break c}}while(1){v[e+56>>2]=0;v[e+48>>2]=g;v[e+52>>2]=e+320;j=1;c=dc(r,e+48|0);if(!c){break c}e:{f:{while(1){g:{m=Af(c,0,0);if((m|0)>=0){if((rl(m,e+232|0)|0)>-1){break g}rd(m)}if(!j){break f}hu(f,F,e+80|0);j=w[e+80|0];Pa(c);if(!j){break e}v[e+40>>2]=0;v[e+32>>2]=g;v[e+36>>2]=e+80;c=dc(r,e+32|0);if(!c){break c}j=0;continue}break}d=Ea[856](f,m,e+232|0,e+144|0,e+136|0,k)|0;rd(m);if(d){break f}Pa(c);d=0;break e}Pa(c)}g=Wb(l);if(g){continue}break}}qc(l);if(!k){break b}d=v[k>>2]!=0}Ca=e+384|0;if(!d){v[i+12>>2]=0}ac(f);c=v[i+12>>2]}Ca=i+16|0;d=c;if(!c){r=0;J=0;X=Ca-112|0;Ca=X;c=ae(O);h:{if(c){v[X+20>>2]=0;v[X+16>>2]=F;pa=dc(c,X+16|0);break h}pa=ib(F)}if(w[656428]&8){v[X>>2]=pa;Za(499746,X)}i:{if((um(pa,X+24|0)|0)<0){break i}G=zf();if(!G){break i}T=Zl(2);if(T){d=Ca-144|0;Ca=d;f=ae(O);nm(O,F,d+80|0);e=Oc(v[O+12>>2]);j:{if(!e){j=-1;break j}k:{l:{m:{if(!f){j=-1;while(1){c=Wb(e);if(!c){break l}v[d+20>>2]=0;v[d+16>>2]=d+80;f=dc(c,d+16|0);if(!f){break l}c=Af(f,2,0);Pa(f);if((c|0)==-1){continue}break}break m}j=-1;while(1){c=Wb(e);if(!c){break l}v[d+40>>2]=0;v[d+32>>2]=c;v[d+36>>2]=d+80;i=dc(f,d+32|0);if(!i){break l}c=Af(i,2,0);Pa(i);if((c|0)==-1){continue}break}}f=d- -64|0;v[f>>2]=0;v[f+4>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+48>>2]=1;Ga=d,Ha=U()|0,v[Ga+72>>2]=Ha;v[d>>2]=d+48;if((Bs(c,14,d)|0)==-1){break k}j=c}qc(e);break j}qc(e);rd(c)}Ca=d+144|0;sa=j;aa=Ca-32|0;Ca=aa;c=ae(O);n:{if(!G){j=1;if(!T){break n}}j=0;d=Va(Xa(F)+4098|0);if(!d){break n}ga=Ac(d,F);d=ga+Xa(ga)|0;t[d|0]=47;t[d+1|0]=0;d=Xa(ga);o:{if(c){v[aa+20>>2]=0;v[aa+16>>2]=F;P=dc(c,aa+16|0);break o}P=ib(F)}if(P){if(w[656428]&128){v[aa>>2]=P;Za(499728,aa)}ia=pl(P);p:{if(!ia){j=v[164114]==44;break p}Z=Zl(3);if(Z){j=ug(ia);q:{if(j){c=d+ga|0;while(1){r:{if(w[j+19|0]==46){break r}d=j+19|0;if(Xa(d)>>>0>4095){break r}Ac(c,d);if(hd(Z,ga)){break r}j=0;break q}j=ug(ia);if(j){continue}break}}Uc(v[Z+12>>2],v[Z+4>>2],4,861);j=1;if(v[Z+4>>2]<1){break q}while(1){m=0;ja=0;ta=0;Y=Ca-96|0;Ca=Y;K=v[v[Z+12>>2]+(J<<2)>>2];s:{if(!(Hg(K,Y+8|0)|(v[Y+20>>2]&61440)!=16384)){c=ae(O);t:{if(!c){break t}d=c;c=Xa(c);if($a(K,d,c)){break t}if(w[c+K|0]!=47){c=c-1|0}else{d=c+1|0;c=w[d+K|0]==47?d:c}K=c+K|0}hd(T,K);break s}if(!G){break s}V=v[G>>2];ua=ae(O);if(w[656428]&128){v[Y>>2]=K;Za(499765,Y);jl(v[130914])}z=Ca-32|0;Ca=z;v[z+28>>2]=0;v[z+24>>2]=0;v[z+20>>2]=0;v[z+16>>2]=0;v[z+12>>2]=0;v[z+8>>2]=0;u:{if(hv(z+24|0)){break u}if(!ri(v[z+24>>2],K,0,z+28|0)){c=v[z+28>>2];Aa=v[c>>2];d=v[c+12>>2]>>16;if(d){hn(c,z+8|0);W=v[z+8>>2]?d:0}else{W=0}while(1){v:{w:{if(!(m>>>0<=W>>>0?(m|0)!=32768:0)){ew(v[z+28>>2],0,0);break w}if(!m){break w}c=v[z+8>>2];e=v[c>>2];d=0;if(!e){break v}d=v[(v[c+16>>2]+B(m,12)|0)-12>>2];f=v[c+12>>2];c=0;x:{while(1){if(v[d+(c<<2)>>2]!=v[(f+B(c,24)|0)+8>>2]){break x}c=c+1|0;if((e|0)!=(c|0)){continue}break}d=0;break v}ew(v[z+28>>2],e,d)}n=v[z+28>>2];k=(m<<16)+ja|0;va=z+20|0;wa=z+16|0;ha=z+12|0;c=0;g=0;S=0;D=0;_=0;qa=0;ra=0;p=0;H=0;E=0;h=Ca-640|0;Ca=h;v[h+628>>2]=0;v[h+624>>2]=0;v[h+620>>2]=0;v[h+616>>2]=0;v[h+612>>2]=0;v[h+608>>2]=0;v[h+604>>2]=0;v[h+600>>2]=0;Tl();i=uh();y:{if(!i){break y}z:{A:{c=v[n+8>>2]&1;if(!Zc(i,24,c)){break A}d=v[n+8>>2]&16384;if(!Zc(i,47,d>>>14|0)){break A}if(!Zc(i,25,(c|d)!=0)){break z}L=-1;o=1;ba=1;d=i;e=k>>>16|0;B:{C:{D:{if(!e){Q=1;break D}if(hn(n,h+628|0)){break z}if((e|0)==32768){e=v[h+628>>2];if(!v[e>>2]){break z}I=-1;while(1){f=v[e+12>>2]+B(g,24)|0;ca=+v[f+4>>2]*152587890625e-16;ya=+v[f+8>>2]*152587890625e-16;E:{if(ca>ya){break E}Q=+v[f+12>>2]*152587890625e-16;if(ya>Q|Q==ca){break E}l=i;f=v[f+16>>2];F:{if((f|0)!=1869640570){if((f|0)==2003072104){L=0;H=1;e=9;break F}if((f|0)!=2003265652){break E}I=0;E=1;ca=dm(ca);Q=dm(Q);e=8;break F}_=1;e=10}c=rm(ca,Q);e=Ut(l,e,c);Pa(c);if(!e){break A}D=1;e=v[h+628>>2]}g=g+1|0;if(g>>>0<y[e>>2]){continue}break}if(!D){break A}k=k&65535;qa=1;Q=1;o=0;c=1;break B}e=e-1|0;c=v[h+628>>2];if(e>>>0>=y[c+8>>2]){break z}ra=v[c+16>>2]+B(e,12)|0;Q=1;if(!v[c>>2]){break C}while(1){I=+v[v[ra>>2]+(_<<2)>>2]*152587890625e-16;f=v[c+12>>2]+B(_,24)|0;e=v[f+16>>2];G:{if((e|0)!=1869640570){ca=I;I=+v[f+8>>2]*152587890625e-16;I=I!=0?ca/I:1;if((e|0)==2003072104){ba=I;break G}if((e|0)!=2003265652){break G}Q=I;break G}if(!We(i,10,I)){break A}c=v[h+628>>2]}_=_+1|0;if(_>>>0<y[c>>2]){continue}break}}_=0}I=-1;c=0}if(!Zc(d,50,c)){break A}D=0;R=Qe(n,2);H:{if(!R){break H}c=x[R>>1];if(!w[R+60|0]|(!c|(c|0)==65535)){break H}D=Va(5);c=v[R+60>>2];t[D+4|0]=0;v[D>>2]=c}if(t[656429]&1){Rb(10)}c=0;s=!n|!(w[n+8|0]&8)?c:x[n+340>>1];I:{if(ha){S=v[ha>>2];if(S){break I}}g=0;S=Va(B(s,20));s=S?s:0;if((s|0)>=1){while(1){e=-1;f=-1;q=-1;C=-1;d=B(g,20)+S|0;l=d;if(oi(n,g,h+320|0)){c=-1}else{C=x[h+324>>1];q=x[h+322>>1];f=x[h+326>>1];e=x[h+320>>1];c=g}v[l+16>>2]=c;v[d+12>>2]=C;v[d+8>>2]=q;v[d+4>>2]=f;v[d>>2]=e;g=g+1|0;if((s|0)!=(g|0)){continue}break}}Uc(S,s,20,859);if(!ha){break I}v[ha>>2]=S}M=D;if((s|0)>=1){da=s-1|0;while(1){ka=x[(p<<1)+452700>>1];la=0;while(1){l=x[(la<<1)+452720>>1];J:{K:{if(!ra){d=l;break K}d=l;L:{switch(la-4|0){case 0:case 1:case 2:break J;case 3:break L;default:break K}}d=v[ra+4>>2]}c=da;g=0;while(1){M:{N:{e=c+g|0;q=(e|0)/2|0;O:{if(oi(n,v[(B(q,20)+S|0)+16>>2],h+584|0)){q=0;break O}P:{Q:{R:{f=x[h+584>>1];S:{if(f>>>0>ka>>>0){break S}if((f|0)!=(ka|0)){break Q}f=x[h+590>>1];if(f>>>0>d>>>0){break S}if((d|0)!=(f|0)|e+1>>>0<3){break R}C=B(q-1|0,20)+S|0;if(v[C>>2]!=(ka|0)|v[C+4>>2]!=(d|0)){break R}}c=q-1|0;break M}if(d>>>0<=f>>>0){break P}break N}if(f>>>0<ka>>>0){break N}}if(e+3>>>0<2){break J}}ea=0;$=0;fa=0;ma=0;while(1){T:{U:{V:{W:{switch(l-1|0){case 0:case 15:case 20:fa=1;ea=h+624|0;$=h+620|0;ma=2;if(!(t[656429]&1)){break U}v[h+272>>2]=x[h+590>>1];v[h+276>>2]=x[h+584>>1];v[h+280>>2]=x[h+586>>1];v[h+284>>2]=x[h+588>>1];Za(452740,h+272|0);break U;case 3:case 17:if(!o){break V}ea=h+608|0;$=h+604|0;fa=5;ma=6;if(!(t[656429]&1)){break U}v[h+288>>2]=x[h+590>>1];v[h+292>>2]=x[h+584>>1];v[h+296>>2]=x[h+586>>1];v[h+300>>2]=x[h+588>>1];Za(452780,h+288|0);break U;case 1:case 16:case 21:if(!o){break V}ea=h+616|0;$=h+612|0;fa=3;ma=4;if(!(t[656429]&1)){break U}v[h+304>>2]=x[h+590>>1];v[h+308>>2]=x[h+584>>1];v[h+312>>2]=x[h+586>>1];v[h+316>>2]=x[h+588>>1];Za(452820,h+304|0);break U;case 6:case 7:break W;default:break V}}if(M){break V}c=Rt(h+584|0);M=Qt(c);Pa(c)}if(fa){break U}fa=0;break T}N=Rt(h+584|0);C=x[h+588>>1];xa=x[h+584>>1];if(!(x[h+586>>1]|(xa|0)!=1)){Ba=C;f=v[h+596>>2];if((f|0)<=0){c=0}else{Fa=f&1;e=0;c=v[h+592>>2];X:{if((f|0)==1){f=0;break X}C=f&-2;f=0;while(1){za=w[c|0];g=w[c+1|0];f=(za>>>7|0)+f+(g>>>7)|0;e=(((za^-1)&128)>>>7|0)+e+(((g^-1)&128)>>>7)|0;c=c+2|0;C=C-2|0;if(C){continue}break}}if(Fa){c=w[c|0];f=(c>>>7|0)+f|0;e=(((c^-1)&128)>>>7|0)+e|0}c=f<<1>>>0>e>>>0}C=c?11:Ba}c=0;Y:{while(1){Z:{_:{$:{aa:{e=B(c,12);if((xa|0)!=x[e+454720>>1]){break aa}if(!c){break $}if(x[e+454722>>1]!=(C&65535)){break aa}e=c;break Z}e=c|1;if((e|0)!=335){break _}}c=0;break Y}f=B(e,12);if(x[f+454722>>1]==(C&65535)?(xa|0)==x[f+454720>>1]:0){break Z}c=c+2|0;continue}break}c=B(e,12)+454724|0}if(t[656429]&1){uc(N?N:452861)}g=N;if(!g){break T}e=c;while(1){c=g;g=c+1|0;if(w[c|0]==32){continue}break}f=c;c=Xa(c);C=mb(N,f,c+1|0);c=c+C|0;f=c>>>0>C>>>0?C:c;while(1){ba:{g=c;if(c>>>0<=C>>>0){g=f;break ba}c=g-1|0;if(w[c|0]==32){continue}}break}t[g|0]=0;Xt(i,h+632|0);ca:{da:{if(!Cc(i,h+632|0,fa)){break da}c=Tt(h+632|0);if(!c){break da}while(1){Gc(h+320|0,c+8|0);if(v[h+320>>2]!=3){break da}if(!Db(v[h+328>>2],C)){break ca}f=c;c=v[c>>2];c=c&1?f+(c&-2)|0:c;if(c){continue}break}}c=Dc(i,fa,C);Pa(C);if(!c){break z}if(e){if(v[$>>2]<v[ea>>2]){while(1){if(!Dc(i,ma,452868)){break z}c=v[$>>2]+1|0;v[$>>2]=c;if((c|0)<v[ea>>2]){continue}break}}if(!Dc(i,ma,e)){break z}v[$>>2]=v[$>>2]+1}v[ea>>2]=v[ea>>2]+1;break T}Pa(C)}q=q+1|0;if((s|0)<=(q|0)){break J}if(oi(n,v[(B(q,20)+S|0)+16>>2],h+584|0)|x[h+584>>1]!=(ka|0)){break J}if(x[h+590>>1]==(d|0)){continue}break}break J}g=q+1|0}if((c|0)>=(g|0)){continue}break}}la=la+1|0;if((la|0)!=10){continue}break}p=p+1|0;if((p|0)!=4){continue}break}}if(!ha){Pa(S);S=0}c=v[h+624>>2];ea:{if(c){break ea}c=0;d=v[n+20>>2];if(!d){break ea}if(!Db(d,452872)){break ea}if(t[656429]&1){v[h+256>>2]=v[n+20>>2];Za(452873,h+256|0)}if(!Dc(i,1,v[n+20>>2])){break z}if(!Dc(i,2,452901)){break z}c=1;v[h+624>>2]=1}if(!(v[h+616>>2]!=0|qa)){fa:{ga:{d=v[n+24>>2];if(!d){break ga}if(!Db(d,452872)){break ga}if(t[656429]&1){v[h+240>>2]=v[n+24>>2];Za(452912,h+240|0)}g=v[n+24>>2];break fa}g=452904;if(!(t[656429]&1)){break fa}uc(459168)}if(!Dc(i,3,g)){break z}if(!Dc(i,4,452901)){break z}v[h+616>>2]=1}if(!(!w[K|0]|(!K|c))){c=Se(K,47);d=c?c+1|0:K;c=Se(d,46);if(!c){c=Xa(d)+d|0}e=c-d|0;c=ve(Va(e+1|0),d,e);t[c+e|0]=0;if(t[656429]&1){v[h+224>>2]=c;Za(452939,h+224|0)}if(!Dc(i,1,c)){Pa(c);break z}d=Dc(i,2,452901);Pa(c);if(!d){break z}v[h+624>>2]=1}c=0;if(!(v[h+608>>2]!=0|qa)){ha:{if(ke(i,2,0,h+580|0)){break ha}while(1){if(!he(v[h+580>>2],452901)){break ha}v[h+580>>2]=0;c=c+1|0;if(!ke(i,2,c,h+580|0)){continue}break}}g=v[h+580>>2]?c:0;if(ke(i,1,g,h+584|0)){break z}e=v[h+584>>2];c=Xa(e);ia:{if(!c){break ia}while(1){d=c+e|0;f=w[d|0];if(!((f|0)==32|f-9>>>0<5)){e=d;break ia}c=c-1|0;if(c){continue}break}}t[e|0]=0;ja:{if(ke(i,4,g,h+580|0)){break ja}while(1){if(!he(v[h+580>>2],452901)){break ja}v[h+580>>2]=0;g=g+1|0;if(!ke(i,4,g,h+580|0)){continue}break}}if(ke(i,3,v[h+580>>2]?g:0,h+632|0)){break z}Cg(h+320|0,0,0);Ae(h+320|0,v[h+584>>2]);rh(h+320|0,32);Ae(h+320|0,v[h+632>>2]);c=Dc(i,5,ge(h+320|0));Wc(h+320|0);if(!c){break z}if(!Dc(i,6,452901)){break z}v[h+608>>2]=1}if(!qa){c=Kk(n);ka:{if(!c){v[h+632>>2]=0;c=0;la:{if(ke(i,2,0,h+632|0)){break la}while(1){if(!he(v[h+632>>2],452901)){break la}v[h+632>>2]=0;c=c+1|0;if(!ke(i,2,c,h+632|0)){continue}break}}if(ke(i,1,v[h+632>>2]?c:0,h+584|0)){break z}d=v[h+584>>2];c=Xa(d);if(c){c=c-1|0;e=c>>>0<254?c:254;f=e+1|0;c=0;while(1){g=w[c+d|0];Ga=(h+320|0)+c|0,Ha=we(452976,g,16)?45:g,t[Ga|0]=Ha;g=(c|0)!=(e|0);c=c+1|0;if(g){continue}break}c=f+(h+320|0)|0}else{c=h+320|0}t[c|0]=0;break ka}ve(h+320|0,c,255);t[h+575|0]=0}if(!Dc(i,46,h+320|0)){break z}}if(!(!K|!w[K|0])){if(!Dc(i,21,K)){break z}}if(!Rd(i,22,k)){break z}c=Qe(n,0);ma:{if(c){if(Rd(i,35,v[c+4>>2])){break ma}break z}if(!Rd(i,35,0)){break z}}q=0;if(!Rd(i,52,0)){break z}na:{if(!R){break na}c=x[R>>1];oa:{pa:{if(!c){break pa}if((c|0)==65535){break oa}c=v[R+80>>2];d=c&262144;qa:{ra:{sa:{ta:{if(!(c&131072)){e=452680;if(!d){break ta}break sa}e=452673;if(!d){break sa}break pa}e=0;if(!(c&524288)){break ra}e=452687;if(c&1048576){break pa}break qa}if(c&524288){break pa}}if(!(c&1048576)){break qa}if(e){break pa}e=452694}q=e}I=dm(Q*+x[R+4>>1]);if(!(!(t[656429]&1)|I==-1)){c=x[R+4>>1];A[h+208>>3]=I;A[h+200>>3]=Q;v[h+192>>2]=c;Kb(452992,h+192|0)}Q=ba;c=x[R+6>>1];d=c-1|0;if((d&65535)>>>0<=8){L=A[(d<<16>>16<<3)+459200>>3]}L=Q*L;if(!(t[656429]&1)|L==-1){break oa}A[h+176>>3]=L;A[h+168>>3]=ba;v[h+160>>2]=c;Kb(453046,h+160|0)}e=0;g=Ca-16|0;Ca=g;v[g+12>>2]=0;v[g+8>>2]=0;v[g+4>>2]=0;c=dh(n,1399417958,0,g+12|0);d=Ot(n,1196445523,g+4|0);f=Ot(n,1196643650,g+8|0);ua:{if(!(d&65535?1:!c|f&65535)){break ua}f=f&65535;l=d&65535;d=Va(B(f+l|0,14)+(c?0:13)|0);if(!d){break ua}t[d|0]=0;if(!c){c=w[458749]|w[458750]<<8|(w[458751]<<16|w[458752]<<24);k=w[458745]|w[458746]<<8|(w[458747]<<16|w[458748]<<24);t[d+5|0]=k;t[d+6|0]=k>>>8;t[d+7|0]=k>>>16;t[d+8|0]=k>>>24;t[d+9|0]=c;t[d+10|0]=c>>>8;t[d+11|0]=c>>>16;t[d+12|0]=c>>>24;c=w[458744]|w[458745]<<8|(w[458746]<<16|w[458747]<<24);k=w[458740]|w[458741]<<8|(w[458742]<<16|w[458743]<<24);t[d|0]=k;t[d+1|0]=k>>>8;t[d+2|0]=k>>>16;t[d+3|0]=k>>>24;t[d+4|0]=c;t[d+5|0]=c>>>8;t[d+6|0]=c>>>16;t[d+7|0]=c>>>24}if(f|l){p=v[g+4>>2];s=v[g+8>>2];c=0;while(1){va:{if((c|0)==(f|0)){aj(d,v[p+(e<<2)>>2]);e=e+1|0;c=f;break va}k=v[s+(c<<2)>>2];wa:{if((e|0)!=(l|0)){o=v[p+(e<<2)>>2];if(o>>>0<=k>>>0){break wa}}aj(d,k);c=c+1|0;break va}if((k|0)==(o|0)){aj(d,k);e=e+1|0;c=c+1|0;break va}aj(d,o);e=e+1|0}if((c|0)<(f|0)|(e|0)<(l|0)){continue}break}}if(t[656429]&1){v[g>>2]=d;Za(458753,g)}e=d}Pa(v[g+8>>2]);Pa(v[g+4>>2]);Ca=g+16|0;if(!e){break na}c=Dc(i,36,e);Pa(e);if(!c){break z}}c=i;d=v[n+104>>2];if(d){d=St(n,1886545264,d)}else{d=1}if(!Zc(c,51,!d)){break z}xa:{if(!R|_){break xa}c=x[R>>1];if(c>>>0<5|(c|0)==65535){break xa}of(h+144|0,x[R+98>>1]);ui(h+128|0,v[h+144>>2],v[h+148>>2],v[h+152>>2],v[h+156>>2],0,0,0,1073954816);of(h+112|0,x[R+100>>1]);ui(h+96|0,v[h+112>>2],v[h+116>>2],v[h+120>>2],v[h+124>>2],0,0,0,1073954816);c=v[h+104>>2];d=v[h+108>>2];e=v[h+96>>2];f=v[h+100>>2];ba=eh(v[h+128>>2],v[h+132>>2],v[h+136>>2],v[h+140>>2]);Q=eh(e,f,c,d);if(ba==Q){if(We(i,10,ba)){break xa}break z}c=rm(ba,Q);d=Ut(i,10,c);Pa(c);if(!d){break z}}ya:{if(!gv(n,h+320|0)){za:{if(I!=-1){break za}I=-1;c=v[h+336>>2];if(!c){break za}d=453108;Aa:{Ba:{if(!Db(c,458799)){break Ba}d=453116;if(!Db(c,458804)){break Ba}d=453124;if(!Db(c,458815)){break Ba}d=453132;if(!Db(c,458826)){break Ba}d=453140;if(!Db(c,458836)){break Ba}d=453148;if(!Db(c,458846)){break Ba}d=453156;if(!Db(c,458852)){break Ba}d=453164;if(!Db(c,458857)){break Ba}d=453172;if(!Db(c,458865)){break Ba}d=453180;if(!Db(c,458872)){break Ba}d=453188;if(!Db(c,458879)){break Ba}d=453196;if(!Db(c,458888)){break Ba}d=453204;if(!Db(c,458893)){break Ba}d=453212;if(!Db(c,458902)){break Ba}d=453220;if(!Db(c,458912)){break Ba}d=453228;if(!Db(c,458922)){break Ba}d=453236;if(!Db(c,458932)){break Ba}d=453244;if(!Db(c,458937)){break Ba}d=453252;if(!Db(c,458948)){break Ba}d=453260;if(!Db(c,458959)){break Ba}d=453268;if(!Db(c,458970)){break Ba}d=453276;if(!Db(c,458977)){break Ba}I=-1;if(Db(c,458983)){break Aa}d=453284}I=+v[d>>2]}if(!(t[656429]&1)){break za}v[h+80>>2]=v[h+336>>2];A[h+88>>3]=I;Kb(453288,h+80|0)}if(M){break ya}M=Qt(v[h+324>>2])}if(M){break ya}M=0;if(Eg(n,453317,h+584|0)|v[h+584>>2]!=1){break ya}M=v[h+588>>2]}Ca:{if(L!=-1){break Ca}Da:{Ea:{Fa:{Ga:{if(!(Eg(n,453325,h+584|0)|(v[h+584>>2]&-2)!=2)){c=((v[h+588>>2]+5|0)/10|0)-1|0;if(c>>>0<9){break Ga}}L=-1;if(Eg(n,453343,h+584|0)|v[h+584>>2]!=1){break Ca}c=v[h+588>>2];if(!c){break Ca}d=453364;if(!Db(c,458989)){break Ea}if(Db(c,459004)){break Fa}d=453372;break Ea}L=A[(c<<3)+459200>>3];break Ca}d=453380;if(!Db(c,459019)){break Ea}d=453388;if(!Db(c,459033)){break Ea}d=453396;if(!Db(c,458865)){break Ea}d=453404;if(!Db(c,459043)){break Ea}d=453412;if(!Db(c,459056)){break Ea}d=453420;if(!Db(c,459070)){break Ea}d=453428;if(!Db(c,459084)){break Ea}L=-1;if(Db(c,459093)){break Da}d=453436}L=+v[d>>2]}if(!(t[656429]&1)){break Ca}v[h+64>>2]=v[h+588>>2];A[h+72>>3]=L;Kb(453440,h- -64|0)}Ha:{Ia:{if(Ed(i,453465,0,h+600|0)){f=0;break Ia}e=-1;f=0;c=0;while(1){Ja:{if(I!=-1){break Ja}I=+(bj(v[h+600>>2],453104,23)|0);if(!(t[656429]&1)){break Ja}v[h+48>>2]=v[h+600>>2];A[h+56>>3]=I;Kb(453471,h+48|0)}Ka:{if(L!=-1){break Ka}L=+(bj(v[h+600>>2],453360,10)|0);if(!(t[656429]&1)){break Ka}v[h+32>>2]=v[h+600>>2];A[h+40>>3]=L;Kb(453500,h+32|0)}La:{if((e|0)!=-1){break La}e=bj(v[h+600>>2],453536,3);if(!(t[656429]&1)){break La}v[h+16>>2]=v[h+600>>2];v[h+20>>2]=e;Za(453560,h+16|0)}Ma:{if(f){break Ma}f=(bj(v[h+600>>2],453600,6)|0)>0;if(!(t[656429]&1)){break Ma}v[h>>2]=v[h+600>>2];v[h+4>>2]=f;Za(453648,h)}c=c+1|0;if(!Ed(i,453465,c,h+600|0)){continue}break}if((e|0)!=-1){break Ha}}e=0-(v[n+12>>2]&1)&100}I=I==-1?w[n+12|0]&2?200:100:I;if(!Rd(i,7,e)){break z}if(!E){if(!We(i,8,I)){break z}}if(!H){if(!We(i,9,L==-1?100:L)){break z}}if(!Dc(i,14,M?M:453681)){break z}if(!Zc(i,40,f)){break z}Na:{if(!va){c=Pt(n);break Na}c=v[va>>2];if(c){c=vh(c);break Na}c=Pt(n);Ga=va,Ha=vh(c),v[Ga>>2]=Ha}if(!c){break z}e=i;d=v[n+92>>2];if(d){l=v[d+4>>2]==1937337698}else{l=0}if(!Zc(e,48,l)){break z}e=0;f=Ca-32|0;Ca=f;v[f+24>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;p=v[n+8>>2]&1;Oa:{if(p|v[n+28>>2]<1){break Oa}if(!Qe(n,0)){break Oa}o=v[n+28>>2];if((o|0)>=2){g=v[n+32>>2];d=1;while(1){s=e;k=u[g+(d<<4)>>1];e=u[g+(e<<4)>>1];e=(((k|0)<16?16-k|0:k-16|0)|0)<(((e|0)<16?16-e|0:e-16|0)|0)?d:s;d=d+1|0;if((o|0)!=(d|0)){continue}break}}Pk(n,e)}p=p?523:515;Pa:{Qa:{if(!nf(n,1970170211)){e=0;g=Nk(n,f+12|0);d=v[f+12>>2];if(!d){break Qa}while(1){v[f+8>>2]=0;Ra:{if(Vi(n,d,p,f+8|0)){break Ra}k=v[f+8>>2];if(!k){break Ra}Sa:{if(e){d=k>>31;o=d+k^d;d=0;while(1){s=v[(f+16|0)+(d<<2)>>2];C=k-s|0;E=C>>31;M=s;s=s>>31;s=M+s^s;if((B(E^C+E,33)|0)<=((o>>>0<s>>>0?s:o)|0)){if((d|0)==(e|0)){break Sa}break Ra}d=d+1|0;if((e|0)!=(d|0)){continue}break}break Sa}if(e){break Ra}}v[(f+16|0)+(e<<2)>>2]=k;e=e+1|0}g=Vf(n,g,f+12|0);d=v[f+12>>2];if(!d){break Qa}if(e>>>0<3){continue}break}break Qa}d=100;if(nf(n,1937337698)){break Pa}e=0;g=Nk(n,f+12|0);d=v[f+12>>2];if(!d){break Qa}while(1){v[f+8>>2]=0;Ta:{if(Vi(n,d,p,f+8|0)){break Ta}k=v[f+8>>2];if(!k){break Ta}Ua:{if(e){d=k>>31;o=d+k^d;d=0;while(1){s=v[(f+16|0)+(d<<2)>>2];C=k-s|0;E=C>>31;M=s;s=s>>31;s=M+s^s;if((B(E^C+E,33)|0)<=((o>>>0<s>>>0?s:o)|0)){if((d|0)==(e|0)){break Ua}break Ta}d=d+1|0;if((e|0)!=(d|0)){continue}break}break Ua}if(e){break Ta}}v[(f+16|0)+(e<<2)>>2]=k;e=e+1|0}g=Vf(n,g,f+12|0);d=v[f+12>>2];if(!d){break Qa}if(e>>>0<3){continue}break}}d=100;if(e>>>0<2){break Pa}if((e|0)==2){d=v[f+20>>2];e=v[f+16>>2];g=((d|0)<(e|0)?d:e)<<1;e=(d|0)>(e|0)?d:e;p=g-e|0;k=p>>31;d=e;e=e>>31;e=d+e^e;d=g;g=g>>31;g=d+g^g;d=90;if((B(k^k+p,33)|0)<=((e>>>0>g>>>0?e:g)|0)){break Pa}}d=0}Ca=f+32|0;Va:{if(Eg(n,453689,h+584|0)){f=d;break Va}if(v[h+584>>2]!=1){f=d;break Va}e=v[h+588>>2];if(!e){f=d;break Va}f=110;if(!Wa(e,453697)){break Va}if(!Wa(e,453699)){break Va}f=100;if(!Wa(e,453701)){break Va}if(!Wa(e,453703)){break Va}if(Wa(e,453705)){f=d;if(Wa(e,453707)){break Va}}f=0}d=0;Wa:{if(!c){break Wa}g=v[c+4>>2];p=g;o=v[c+12>>2]+c|0;Xa:{if(o){e=g-1|0;Ya:{Za:{if((g|0)<1){k=e;break Za}while(1){s=e>>1;k=s;if(!x[o+(e&-2)>>1]){break Ya}E=(e|0)>1;k=s-1|0;e=k;if(E){continue}break}}k=-2-k|0}if((k|0)>-1){break Xa}k=k^-1}else{k=0}if((p|0)==(k|0)){break Wa}}e=v[c+8>>2]+c|0;e=v[e+(k<<2)>>2]+e|0;if(!e){break Wa}while(1){d=iQ(v[e+28>>2])+(iQ(v[e+24>>2])+(iQ(v[e+20>>2])+(iQ(v[e+16>>2])+(iQ(v[e+12>>2])+(iQ(v[e+8>>2])+(iQ(v[e+4>>2])+(iQ(v[e>>2])+d|0)|0)|0)|0)|0)|0)|0)|0;k=k+1|0;if((g|0)<=(k|0)){break Wa}e=v[c+8>>2]+c|0;e=v[e+(k<<2)>>2]+e|0;if(e){continue}break}}_a:{if(!d){if(!Eg(n,453709,h+584|0)){break _a}}d=Ca-32|0;Ca=d;v[d+24>>2]=c;e=v[d+28>>2];v[d+8>>2]=v[d+24>>2];v[d+12>>2]=e;v[d+16>>2]=6;e=v[d+20>>2];v[d>>2]=v[d+16>>2];v[d+4>>2]=e;e=Qc(i,33,d,1);Ca=d+32|0;if(!e){break _a}$a:{ab:{if(!l){if(!wa){g=Nt(c,q);if(g){break $a}break _a}d=v[wa>>2];if(!d){break ab}g=cg(d);if(g){break $a}break _a}g=$i();break $a}g=Nt(c,q);Ga=wa,Ha=cg(g),v[Ga>>2]=Ha;if(!g){break _a}}d=Ca-32|0;Ca=d;v[d+16>>2]=8;v[d+24>>2]=g;e=v[d+28>>2];v[d+8>>2]=v[d+24>>2];v[d+12>>2]=e;e=v[d+20>>2];v[d>>2]=v[d+16>>2];v[d+4>>2]=e;e=Qc(i,34,d,1);Ca=d+32|0;ie(g);if(!e){break _a}if(f){if(!Rd(i,13,f)){break _a}}if(!(t[n+8|0]&1)){g=0;if(v[n+28>>2]>0){while(1){d=i;e=Ca-16|0;Ca=e;bb:{cb:{if(v[n+28>>2]!=1){break cb}if(Eg(n,453709,e+8|0)|v[e+8>>2]!=2){break cb}L=+v[e+12>>2];break bb}L=+v[(v[n+32>>2]+(g<<4)|0)+12>>2]*.015625}Ca=e+16|0;if(!We(d,12,L)){break _a}g=g+1|0;if((g|0)<v[n+28>>2]){continue}break}}if(!Zc(i,15,0)){break _a}}e=0;db:{if(!n){break db}d=v[n+96>>2];f=v[v[d>>2]+32>>2];if(!f){break db}e=Ea[f|0](d,4178)|0}if(e){if(!Dc(i,37,e)){break _a}}jd(c);if(D){Pa(D)}c=v[h+628>>2];if(!c){c=i;break y}d=v[n+84>>2];if(!d){c=i;break y}d=v[d>>2];if(d){d=v[d>>2];if(c){Ea[v[d+8>>2]](d,c)}}c=i;break y}jd(c);break z}D=0}Ce(i);c=v[h+628>>2];eb:{if(!c){break eb}d=v[n+84>>2];if(!d){break eb}d=v[d>>2];if(d){d=v[d>>2];if(c){Ea[v[d+8>>2]](d,c)}}}if(!(!S|ha)){Pa(S)}c=0;if(!D){break y}Pa(D)}Ca=h+640|0;if(c){ta=ta+1|0;if(G){d=0;if(gj(G,c)){break v}}Ce(c);d=0;break v}d=(m|0)!=32768}c=d;d=m+1|0;fb:{if(m>>>0<W>>>0){break fb}d=32768;if((m|0)==(W|0)){break fb}Pa(v[z+12>>2]);v[z+12>>2]=0;ie(v[z+16>>2]);v[z+16>>2]=0;jd(v[z+20>>2]);v[z+20>>2]=0;zd(v[z+28>>2]);v[z+28>>2]=0;ja=ja+1|0;c=ri(v[z+24>>2],K,ja,z+28|0)?3:c;d=0}m=d;if(!(ja>>>0<Aa>>>0?c:1)){continue}break}m=v[z+8>>2]}c=v[z+24>>2];if(c){c=v[c>>2];if(m){Ea[v[c+8>>2]](c,m)}}ie(v[z+16>>2]);jd(v[z+20>>2]);c=v[z+28>>2];if(c){zd(c)}Qm(v[z+24>>2]);c=v[z+12>>2];if(!c){break u}Pa(c)}Ca=z+32|0;if(!ta){break s}if(w[656428]&128){uc(499806)}m=1;K=v[G>>2];if((V|0)>=(K|0)){break s}if(ua){while(1){c=v[v[G+8>>2]+(V<<2)>>2];e=Xa(ua);v[Y+8>>2]=0;gb:{if(ke(c,21,0,Y+8|0)){break gb}d=v[Y+8>>2];if($a(d,ua,e)){break gb}f=ib(d);th(c,21);d=c;if(w[e+f|0]!=47){e=e-1|0}else{i=e+1|0;e=w[f+i|0]==47?i:e}Dc(d,21,e+f|0);Pa(f)}if(O){m=Ji(O,c,2)?m:0}if(t[656429]&1){uc(499786);Dd(c)}V=V+1|0;if((V|0)<v[G>>2]){continue}break}break s}if(O){while(1){c=v[v[G+8>>2]+(V<<2)>>2];d=Ji(O,c,2);if(t[656429]&1){uc(499786);Dd(c)}m=d?m:0;V=V+1|0;if((V|0)<v[G>>2]){continue}break}break s}c=v[164107];while(1){if(c&256){c=v[v[G+8>>2]+(V<<2)>>2];uc(499786);Dd(c);K=v[G>>2];c=v[164107]}V=V+1|0;if((V|0)<(K|0)){continue}break}}Ca=Y+96|0;J=J+1|0;if((J|0)<v[Z+4>>2]){continue}break}}bc(Z);Hi(ia);break p}Hi(ia)}Pa(P)}Pa(ga)}Ca=aa+32|0;hb:{if(!j){break hb}M=F;da=X+24|0;c=0;W=0;d=Va(32776);if(d){l=Ra(d,0,32776)}else{l=0}ib:{if(l){v[l>>2]=v[l>>2]+40;jb:{if(!tm(l,M)){break jb}Td(l,T,v[T+4>>2]<<2);if(v[T+4>>2]>0){while(1){if(!tm(l,v[v[T+12>>2]+(c<<2)>>2])){break jb}c=c+1|0;if((c|0)<v[T+4>>2]){continue}break}}kb:{lb:{if(!Td(l,G,12)){break lb}if(!Td(l,v[G+8>>2],v[G>>2]<<2)){break lb}c=1;if(v[G>>2]<=0){break kb}mb:{while(1){P=v[v[G+8>>2]+(W<<2)>>2];c=v[P+8>>2];nb:{ob:{if(!Td(l,P,16)){break ob}z=c+P|0;if(!Td(l,z,v[P>>2]<<3)){break ob}k=0;c=1;if(v[P>>2]<=0){break nb}pb:{while(1){s=0;d=z+(k<<3)|0;c=v[d+4>>2];H=c&1?(c&-2)+d|0:c;qb:{if(H){while(1){if(!Td(l,H,32)){break qb}rb:{sb:{switch(v[H+8>>2]-3|0){case 0:if(tm(l,v[H+16>>2])){break rb}break qb;case 3:f=0;p=0;E=0;q=0;tb:{ub:{d=v[H+16>>2];if(v[d>>2]!=-1){m=v[l+4>>2];if(!m){m=eb(1,1596);v[l+4>>2]=m;if(!m){break ub}}c=v[(((d>>>0)%67<<2)+m|0)+1304>>2];vb:{if(!c){break vb}while(1){if(v[c+4>>2]!=(d|0)){c=v[c>>2];if(c){continue}break vb}break}e=1;if(v[c+8>>2]){break tb}}C=d;d=0;c=0;e=0;g=Va(16);i=0;wb:{if(!g){break wb}v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=1;v[g+4>>2]=0;xb:{yb:{zb:{Ab:{Bb:{if(v[C+4>>2]>=1){while(1){c=C+v[C+8>>2]|0;d=v[c+(p<<2)>>2]+c|0;e=jQ(jQ(jQ(jQ(jQ(jQ(v[d+4>>2]^jQ(v[d>>2],1),1)^v[d+8>>2],1)^v[d+12>>2],1)^v[d+16>>2],1)^v[d+20>>2],1)^v[d+24>>2],1)^v[d+28>>2];f=((e>>>0)%257<<2)+m|0;j=v[f>>2];Cb:{if(j){while(1){if((e|0)==v[j+4>>2]){J=j+8|0;if(!lc(J,d,32)){break Cb}}j=v[j>>2];if(j){continue}break}}c=m;q=c;i=v[c+1576>>2];Db:{if(i){j=v[m+1572>>2];c=i-1|0;break Db}i=v[m+1032>>2]+1|0;v[m+1032>>2]=i;o=0;i=gb(v[m+1028>>2],i<<2);if(!i){break xb}v[m+1028>>2]=i;j=Va(4080);v[(i+(v[m+1032>>2]<<2)|0)-4>>2]=j;v[m+1572>>2]=j;if(!j){break xb}c=101}v[q+1576>>2]=c;v[m+1572>>2]=j+40;v[m+1588>>2]=v[m+1588>>2]+1;if(!j){o=0;break xb}c=v[d+4>>2];v[j+8>>2]=v[d>>2];v[j+12>>2]=c;c=v[d+28>>2];v[j+32>>2]=v[d+24>>2];v[j+36>>2]=c;c=v[d+20>>2];v[j+24>>2]=v[d+16>>2];v[j+28>>2]=c;c=v[d+12>>2];v[j+16>>2]=v[d+8>>2];v[j+20>>2]=c;v[j+4>>2]=e;v[j>>2]=v[f>>2];v[f>>2]=j;J=j+8|0}Eb:{Fb:{c=g;f=c;i=x[(C+v[C+12>>2]|0)+(p<<1)>>1];N=i<<8;o=J;q=c+v[c+12>>2]|0;if(q){D=v[g+4>>2];j=D-1|0;d=0;Gb:{Hb:{Ib:{if((D|0)<1){break Ib}while(1){E=d+j|0;e=E>>1;E=x[q+(E&-2)>>1];if((E|0)==(i|0)){break Gb}E=i>>>0>E>>>0;d=E?e+1|0:d;j=E?j:e-1|0;if((d|0)<=(j|0)){continue}break}if((j|0)<0){break Ib}if(i>>>0<=x[q+(j<<1)>>1]|(j|0)>=(D|0)){break Hb}}j=j+1|0}e=j^-1}if((e|0)>-1){break Fb}c=e^-1}else{c=0}if(bu(f,N,o,c)){break Eb}o=0;break xb}c=g+v[g+8>>2]|0;d=e<<2;Pa(v[c+d>>2]+c|0);c=g+v[g+8>>2]|0;v[c+d>>2]=J-c}p=p+1|0;if((p|0)<v[C+4>>2]){continue}break}e=0;c=v[g+4>>2];Jb:{if((c|0)<1){break Jb}i=g+v[g+8>>2]|0;d=0;while(1){f=i+v[i+(d<<2)>>2]|0;e=v[f+28>>2]^jQ(e,1)^jQ(v[f+24>>2]^jQ(v[f+20>>2]^jQ(v[f+16>>2]^jQ(v[f+12>>2]^jQ(v[f+8>>2]^jQ(v[f+4>>2]^jQ(v[f>>2],1),1),1),1),1),1),1);d=d+1|0;if((d|0)!=(c|0)){continue}break}f=c&1;d=g+v[g+12>>2]|0;Kb:{if((c|0)==1){j=0;break Kb}E=c&-2;j=0;while(1){e=jQ(e,1);i=j<<1;e=((e^x[i+d>>1])<<1|e>>>31)^x[d+(i|2)>>1];j=j+2|0;E=E-2|0;if(E){continue}break}}if(!f){break Jb}e=x[d+(j<<1)>>1]^jQ(e,1)}q=(c|0)>0;E=c<<1;D=(((e>>>0)%67<<2)+m|0)+1036|0;j=v[D>>2];if(!j){break Ab}if((c|0)<=0){d=c;break Bb}f=c&-2;K=c&1;i=g+v[g+8>>2]|0;R=g+v[g+12>>2]|0;while(1){Lb:{if(v[j+4>>2]!=(e|0)|v[j+12>>2]!=(c|0)){break Lb}o=j+8|0;if(lc(o+v[j+20>>2]|0,R,E)){break Lb}N=v[j+16>>2]+o|0;p=1;J=0;d=f;if((c|0)!=1){while(1){h=J<<2;n=h|4;p=(N+v[n+N>>2]|0)==(i+v[i+n>>2]|0)?(N+v[h+N>>2]|0)==(i+v[h+i>>2]|0)?p:0:0;J=J+2|0;d=d-2|0;if(d){continue}break}}if(K){d=J<<2;p=(N+v[d+N>>2]|0)==(i+v[d+i>>2]|0)?p:0}if(p){break yb}}j=v[j>>2];if(j){continue}break}break Ab}D=m+1036|0;j=v[m+1036>>2];i=0;if(!j){break zb}}c=d;d=g+v[g+12>>2]|0;while(1){if(!(v[j+4>>2]!=(e|0)|v[j+12>>2]!=(c|0))){o=j+8|0;if(!lc(o+v[j+20>>2]|0,d,E)){break yb}}j=v[j>>2];if(j){continue}break}q=0}f=e;i=E}d=i;e=Va(B(c,6)+24|0);if(!e){o=0;break yb}v[m+1592>>2]=v[m+1592>>2]+1;v[e+12>>2]=c;v[e+8>>2]=-1;o=e+8|0;Mb:{if(c){v[e+16>>2]=16;j=(c<<2)+16|0;v[e+20>>2]=j;if(q){c=-16-o|0;d=o+16|0;j=0;while(1){i=j<<2;q=i+d|0;p=i;i=g+v[g+8>>2]|0;v[q>>2]=(c+v[p+i>>2]|0)+i;j=j+1|0;i=v[g+4>>2];if((j|0)<(i|0)){continue}break}j=v[e+20>>2];d=i<<1}Ta(j+o|0,g+v[g+12>>2]|0,d);break Mb}v[e+16>>2]=0;v[e+20>>2]=0}v[e+4>>2]=f;v[e>>2]=v[D>>2];v[D>>2]=e}c=Va(12);if(!c){o=0;break xb}v[c+8>>2]=o;v[c+4>>2]=C;d=(((C>>>0)%67<<2)+m|0)+1304|0;v[c>>2]=v[d>>2];v[d>>2]=c;v[m+1584>>2]=v[m+1584>>2]+1;v[m+1580>>2]=v[m+1580>>2]+v[C+4>>2]}Nb:{if(!v[g+4>>2]){break Nb}Pa(g+v[g+8>>2]|0);if(!v[g+4>>2]){break Nb}Pa(g+v[g+12>>2]|0)}Pa(g);i=o}d=i}c=v[d+12>>2];f=v[d+8>>2];e=0;if(!Td(l,d,16)){break tb}if(!Td(l,d+f|0,v[d+4>>2]<<2)){break tb}if(!Td(l,c+d|0,v[d+4>>2]<<1)){break tb}c=0;e=1;if(v[d+4>>2]<=0){break tb}while(1){e=v[d+8>>2]+d|0;if(!Td(l,v[e+(c<<2)>>2]+e|0,32)){break ub}c=c+1|0;if((c|0)<v[d+4>>2]){continue}break}e=1;break tb}e=0}if(e){break rb}break qb;case 5:if(Td(l,v[H+16>>2],40)){break rb}break qb;case 6:break sb;default:break rb}}if(!Td(l,v[H+16>>2],16)){break qb}}H=v[H>>2];if(H){continue}break}}s=1}if(!s){break pb}k=k+1|0;if((k|0)<v[P>>2]){continue}break}c=1;break nb}}c=0}if(!c){break mb}W=W+1|0;if((W|0)<v[G>>2]){continue}break}c=1;break kb}}c=0}if(!c){break jb}c=v[l>>2];d=Va(c);if(!d){break jb}i=Ra(d,0,c);v[l+8>>2]=i;v[i>>2]=-66913275;v[i+4>>2]=7;v[i+8>>2]=v[l>>2];c=v[da- -64>>2];f=Ca-48|0;Ca=f;e=Yb(452131);Ob:{if(!e){break Ob}v[164114]=0;g=yi(e,f+44|0,10,-1,-1);d=Da;k=v[f+44>>2];if((k|0)==(e|0)){Lc(452149,38,1,v[130915]);break Ob}j=g+1|0;e=j>>>0<1?d+1|0:d;if(!v[164114]|(g|d)?!e&j>>>0<2?v[164114]==68:0:1){e=jh(v[164114]);v[f+8>>2]=g;v[f+12>>2]=d;v[f>>2]=e;$b(v[130915],452188,f);break Ob}if(w[k|0]){Lc(452239,51,1,v[130915]);break Ob}if((d|0)==1|d>>>0>1){v[f+24>>2]=g;v[f+28>>2]=d;v[f+16>>2]=-1;$b(v[130915],452291,f+16|0);break Ob}e=c>>31;c=(e|0)==(d|0)&c>>>0>g>>>0|d>>>0<e>>>0?g:c}Ca=f+48|0;v[i+28>>2]=c;c=i;if(Yb(452131)){d=0;e=0}else{e=v[da+68>>2];d=e;e=d>>31}v[c+32>>2]=d;v[c+36>>2]=e;Pb:{c=sm(l,M);if(!c){break Pb}v[i+12>>2]=c-i;d=Sd(l,T);if(!d){break Pb}v[i+16>>2]=d-i;c=v[T+4>>2];v[i+20>>2]=c;if((c|0)>=1){c=0;while(1){e=c<<2;f=sm(l,v[e+v[T+12>>2]>>2]);if(!f){break Pb}v[d+e>>2]=f-d;c=c+1|0;if((c|0)<v[T+4>>2]){continue}break}}c=0;m=Sd(l,G);Qb:{Rb:{if(!m){break Rb}d=v[G+4>>2];e=v[G>>2];v[m>>2]=e;v[m+4>>2]=d;v[m+8>>2]=v[G+8>>2];v[m+4>>2]=e;C=Sd(l,v[G+8>>2]);if(!C){break Rb}v[m+8>>2]=C-m|1;if(v[G>>2]>=1){while(1){d=0;J=0;da=c<<2;D=v[da+v[G+8>>2]>>2];e=v[D+8>>2];k=Sd(l,D);Sb:{if(!k){break Sb}f=v[D+4>>2];v[k>>2]=v[D>>2];v[k+4>>2]=f;f=v[D+12>>2];v[k+8>>2]=v[D+8>>2];v[k+12>>2]=f;f=v[D>>2];v[k+12>>2]=-1;v[k+4>>2]=f;h=e+D|0;M=Sd(l,h);if(!M){break Sb}v[k+8>>2]=M-k;if(v[D>>2]>=1){while(1){d=0;e=0;Tb:{Ub:{n=J<<3;N=n+h|0;f=v[N+4>>2];H=f&1?(f&-2)+N|0:f;if(!H){break Ub}while(1){f=d;d=Sd(l,H);if(!d){break Ub}Vb:{if(!f){e=d;break Vb}v[f>>2]=d-f|1}v[d>>2]=0;v[d+8>>2]=v[H+8>>2];s=d+8|0;Wb:{Xb:{switch(v[H+8>>2]-1|0){case 0:v[d+16>>2]=v[H+16>>2];break Wb;case 1:A[d+16>>3]=A[H+16>>3];break Wb;case 2:f=sm(l,v[H+16>>2]);if(!f){break Ub}v[d+16>>2]=f-s|1;break Wb;case 3:v[d+16>>2]=v[H+16>>2];break Wb;case 5:f=0;p=0;j=v[H+16>>2];Yb:{Zb:{if(v[j>>2]==-1){break Zb}g=v[l+4>>2];if(!g){break Zb}g=v[(g+((j>>>0)%67<<2)|0)+1304>>2];if(!g){break Yb}while(1){if(v[g+4>>2]!=(j|0)){g=v[g>>2];if(g){continue}break Yb}break}j=v[g+8>>2];if(!j){break Yb}}g=Sd(l,j);if(!g){break Yb}v[g>>2]=-1;v[g+4>>2]=v[j+4>>2];_b:{if(v[j+4>>2]){E=Sd(l,v[j+8>>2]+j|0);if(!E){break Yb}v[g+8>>2]=E-g;P=v[j+12>>2]+j|0;W=Sd(l,P);if(!P){break Yb}v[g+12>>2]=W-g;if(v[j+4>>2]<1){break _b}while(1){f=0;q=v[j+8>>2]+j|0;z=p<<2;q=v[q+z>>2]+q|0;o=Sd(l,q);if(!o){break Yb}f=q;q=v[f+4>>2];v[o>>2]=v[f>>2];v[o+4>>2]=q;q=v[f+28>>2];v[o+24>>2]=v[f+24>>2];v[o+28>>2]=q;q=v[f+20>>2];v[o+16>>2]=v[f+16>>2];v[o+20>>2]=q;q=v[f+12>>2];v[o+8>>2]=v[f+8>>2];v[o+12>>2]=q;v[z+E>>2]=o-E;f=p<<1;u[f+W>>1]=x[f+P>>1];p=p+1|0;if((p|0)<v[j+4>>2]){continue}break}break _b}v[g+8>>2]=0;v[g+12>>2]=0}f=g}if(!f){break Ub}v[d+16>>2]=f-s|1;break Wb;case 7:g=v[H+16>>2];f=Sd(l,g);if(f){v[f+8>>2]=0;v[f+12>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;j=g+8|0;g=v[g+4>>2]<<2;Ta(f+8|0,j,g>>>0<32?g:32);v[f>>2]=0;v[f+4>>2]=8}else{f=0}if(!f){break Ub}v[d+16>>2]=f-s|1;break Wb;case 8:break Xb;default:break Wb}}g=v[H+16>>2];f=Sd(l,g);if(f){j=v[g+4>>2];v[f>>2]=v[g>>2];v[f+4>>2]=j;j=v[g+12>>2];v[f+8>>2]=v[g+8>>2];v[f+12>>2]=j}else{f=0}if(!f){break Ub}v[d+16>>2]=f-s|1}H=v[H>>2];if(H){continue}break}break Tb}e=0}d=0;if(!e){break Sb}d=n+M|0;v[d>>2]=v[N>>2];v[d+4>>2]=e-d|1;J=J+1|0;if((J|0)<v[D>>2]){continue}break}}d=k;if(!(w[656428]&32)){break Sb}uc(452449);Dd(D);uc(452462);Dd(d);Rb(10)}e=0;if(!d){break Qb}v[C+da>>2]=d-m|1;c=c+1|0;if((c|0)<v[G>>2]){continue}break}}c=m}e=c}if(!e){break Pb}v[i+24>>2]=e-i;ru(l);du(i,0);c=i;break ib}Pa(i)}ru(l)}c=0}if(!c){break hb}e=0;k=Ca-208|0;Ca=k;f=c;j=v[c+12>>2];i=ae(O);d=Oc(v[O+12>>2]);$b:{if(!d){break $b}ac:{bc:{cc:{dc:{g=Wb(d);ec:{if(!g){break ec}if(!i){while(1){if(r){Pa(r)}r=fe(g);if(!sf(r,2)){break bc}fc:{if((sf(r,0)|0)!=-1){if(sl(r)){break fc}break dc}if(yh(r)){break cc}}g=Wb(d);if(g){continue}break ec}}while(1){if(r){Pa(r)}v[k+52>>2]=0;v[k+48>>2]=g;r=dc(i,k+48|0);if(!sf(r,2)){break bc}gc:{if((sf(r,0)|0)==-1){if(!yh(r)){break gc}break cc}if(!sl(r)){break dc}}g=Wb(d);if(g){continue}break}}Lc(451523,48,1,v[130915]);break ac}e=fe(r);cu(r);break ac}e=fe(r);cu(r);break ac}e=fe(r)}if(r){Pa(r)}qc(d);if(!e){break $b}d=f+j|0;nm(O,d,k+144|0);v[k+36>>2]=0;v[k+32>>2]=k+144;l=dc(e,k+32|0);Pa(e);if(!l){break $b}if(w[656428]&16){v[k+20>>2]=l;v[k+16>>2]=d;Za(451572,k+16|0)}j=ju(l);if(j){if(pm(j)){d=v[j+4>>2];v[k>>2]=438;hc:{e=Af(d,66,k);if((e|0)==-1){break hc}d=v[f>>2];ic:{if((d|0)==-66913276){g=ys(e,f,v[f+8>>2]);d=f+8|0;break ic}v[f>>2]=-66913276;g=ys(e,f,v[f+8>>2]);v[f>>2]=d;d=f+8|0}if(v[d>>2]!=(g|0)){f=jh(v[164114]);d=v[130915];if(w[451611]){Lc(451611,Xa(451611),1,d);Re(58,d);Re(32,d)}Lc(f,Xa(f),1,d);Re(10,d);rd(e);break hc}rd(e);if(!iu(j)){break hc}jc:{if(v[d>>2]>1023){break jc}if(!Hg(l,k+56|0)){break jc}kc:{lc:{if(!v[164105]){while(1){e=Va(28);d=v[164105];v[164105]=d?d:e;if(!d){break lc}if(!v[164105]){continue}break}}break kc}Ze()}mc:{nc:{if(!f){break nc}g=656352;r=v[164104];if((r|0)>=1){while(1){e=r;r=e-1|0;m=r<<2;d=v[m+g>>2];if(!(!d|f>>>0<v[d>>2]+v[d+8>>2]>>>0)){while(1){i=d;d=v[(d+m|0)+40>>2];if(f>>>0>=v[d>>2]+v[d+8>>2]>>>0?d:0){continue}break}g=i+40|0}if((e|0)>1){continue}break}}d=v[g>>2];if(!d){break nc}if(f>>>0<v[d>>2]+v[d+8>>2]>>>0){break mc}}d=0}if(d){v[d+16>>2]=v[k+56>>2];e=v[k+140>>2];v[d+24>>2]=v[k+136>>2];v[d+28>>2]=e;v[d+32>>2]=v[k+120>>2];v[d+36>>2]=v[k+124>>2]}}Pa(l);om(j);Pa(j);break $b}om(j)}Pa(j)}Pa(l)}Ca=k+208|0;r=c}c=Ca-48|0;Ca=c;if((sa|0)!=-1){v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=2;Ga=c,Ha=U()|0,v[Ga+40>>2]=Ha;v[c>>2]=c+16;Bs(sa,13,c);rd(sa)}Ca=c+48|0;bc(T)}le(G)}Pa(pa);Ca=X+112|0;d=r}ac(O);if(d){q=0;D=0;k=Ca-32|0;Ca=k;g=F;m=Wa(v[d+12>>2]+d|0,g);l=v[d+24>>2]+d|0;if(l){if(v[l>>2]>=1){while(1){e=0;j=0;oc:{pc:{qc:{c=v[l+8>>2];rc:{if(c&1){F=l+(v[(l+(c&-2)|0)+(q<<2)>>2]&-2)|0;break rc}F=v[c+(q<<2)>>2]}sc:{if(ke(F,21,0,k+28|0)){break sc}c=0;f=v[k+28>>2];if(m){f=Se(f,47);v[k+20>>2]=0;v[k+16>>2]=f+1;f=dc(g,k+16|0);v[k+28>>2]=f;j=f}else{j=0}i=v[a+36>>2];if(v[i+4>>2]>0){while(1){if(Dg(v[v[i+12>>2]+(c<<2)>>2],f)){break sc}c=c+1|0;if((c|0)<v[i+4>>2]){continue}break}}c=0;i=v[a+40>>2];if(v[i+4>>2]<=0){break sc}while(1){if(Dg(v[v[i+12>>2]+(c<<2)>>2],f)){break qc}c=c+1|0;if((c|0)<v[i+4>>2]){continue}break}}c=v[a+44>>2];if(v[c>>2]>0){while(1){if(nu(v[v[c+8>>2]+(e<<2)>>2],F)){break pc}e=e+1|0;if((e|0)<v[c>>2]){continue}break}}e=0;c=v[a+48>>2];if(v[c>>2]<=0){break pc}while(1){if(nu(v[v[c+8>>2]+(e<<2)>>2],F)){break qc}e=e+1|0;if((e|0)<v[c>>2]){continue}break}break pc}Pa(j);break oc}if(j){i=F;p=v[i+8>>2];o=(Xa(j)+(v[i>>2]<<3)|0)+49|0;f=0;tc:{uc:{if(!v[164105]){while(1){e=Va(28);c=v[164105];v[164105]=c?c:e;if(!c){break uc}if(!v[164105]){continue}break}}break tc}Ze()}vc:{if(!d){break vc}F=656352;c=v[164104];if((c|0)>=1){while(1){r=c;c=c-1|0;J=c<<2;e=v[J+F>>2];if(!(!e|v[e>>2]+v[e+8>>2]>>>0>d>>>0)){while(1){F=e;e=v[(e+J|0)+40>>2];if(v[e>>2]+v[e+8>>2]>>>0<=d>>>0?e:0){continue}break}F=F+40|0}if((r|0)>1){continue}break}}c=v[F>>2];if(!c|v[c>>2]+v[c+8>>2]>>>0<=d>>>0){break vc}e=Va(o+4|0);if(!e){break vc}v[e>>2]=v[c+12>>2];v[c+12>>2]=e;f=e+4|0}c=v[i>>2];F=f;e=v[i+12>>2];v[f+8>>2]=v[i+8>>2];v[f+12>>2]=e;e=v[i+4>>2];v[f>>2]=v[i>>2];v[f+4>>2]=e;v[f+8>>2]=16;o=f+16|0;c=o+(c<<3)|0;r=c+32|0;if(v[i>>2]){J=i+p|0;f=0;while(1){e=f<<3;p=e+o|0;e=e+J|0;v[p>>2]=v[e>>2];wc:{if(v[e>>2]!=21){s=p;p=v[e+4>>2];v[s+4>>2]=p&1?e+(p&-2)|0:p;break wc}v[p+4>>2]=c}f=f+1|0;if(f>>>0<y[i>>2]){continue}break}}v[c+24>>2]=0;v[c+8>>2]=3;v[c>>2]=0;v[c+16>>2]=r;Ac(r,j);Pa(j)}D=((gj(v[a+52>>2],F)|0)!=0)+D|0}q=q+1|0;if((q|0)<v[l>>2]){continue}break}}c=fu(d);if(c){v[c+4>>2]=v[c+4>>2]+D}}j=0;xc:{e=v[d+16>>2];if((e|0)==(0-d|0)|v[d+20>>2]<1){break xc}while(1){c=d+e|0;c=v[c+(j<<2)>>2]+c|0;if(m){e=Se(c,47);yc:{if(!e){e=ib(c);break yc}e=ib(e+1|0)}v[k+4>>2]=0;v[k>>2]=e;c=dc(g,k);Pa(e);f=c}else{f=0}e=0;i=v[a+36>>2];zc:{Ac:{if(v[i+4>>2]>0){while(1){if(Dg(v[v[i+12>>2]+(e<<2)>>2],c)){break Ac}e=e+1|0;if((e|0)<v[i+4>>2]){continue}break}}e=0;i=v[a+40>>2];if(v[i+4>>2]<=0){break Ac}while(1){if(Dg(v[v[i+12>>2]+(e<<2)>>2],c)){break zc}e=e+1|0;if((e|0)<v[i+4>>2]){continue}break}}Yl(b,c)}if(f){Pa(f)}j=j+1|0;if((j|0)>=v[d+20>>2]){break xc}e=v[d+16>>2];continue}}Ca=k+32|0;Ye(d)}F=Wb(oa);if(F){continue}break}}qc(oa);a=1}else{a=0}Ca=na+16|0;return a}function yw(a,b,c,d,e,f){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,z=0,A=0,C=0,D=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;if(v[b>>2]){M=eb(1,204);a:{if(M){v[M>>2]=1;v[M+4>>2]=1;j=a?a:654360;a=j;if(v[a+4>>2]){v[a+4>>2]=0}v[M+12>>2]=j;a=M+16|0;if(zw(a,1,j,b,c,d,e,f)){D=Ca-144|0;Ca=D;k=M+60|0;G=Ra(k+24|0,0,88);v[D>>2]=j;g=a;c=a;a=v[a+4>>2];v[D+4>>2]=v[c>>2];v[D+8>>2]=a;a=v[c+12>>2];v[D+12>>2]=v[c+8>>2];v[D+16>>2]=a;v[D+20>>2]=v[c+16>>2];d=Ca-32|0;Ca=d;a=D+24|0;Ra(a+4|0,0,92);v[a>>2]=j;b=v[c+4>>2];v[a+4>>2]=v[c>>2];v[a+8>>2]=b;b=v[c+12>>2];v[a+12>>2]=v[c+8>>2];v[a+16>>2]=b;v[a+20>>2]=v[c+16>>2];v[d+28>>2]=3;v[d+24>>2]=3;Kn(v[a+8>>2],v[a+12>>2],d+28|0,d+12|0,d+24|0,d);aa=a,ba=(mp(v[a>>2],1196643650,v[d+28>>2],d+12|0,a+36|0,a+24|0)|0)!=0,t[aa+32|0]=ba;kp(v[a>>2],1196643650,v[a+36>>2],v[d+24>>2],d,a+44|0);aa=a,ba=(mp(v[a>>2],1196445523,v[d+28>>2],d+12|0,a+40|0,a+28|0)|0)!=0,t[aa+33|0]=ba;kp(v[a>>2],1196445523,v[a+40>>2],v[d+24>>2],d,a+48|0);Ca=d+32|0;v[D+120>>2]=j;v[D+132>>2]=0;v[D+124>>2]=0;v[D+128>>2]=0;a=D;b=Qp(j+148|0);if(w[b|0]<<8|w[b+1|0]){c=1}else{b=Pp(j+152|0);c=(w[b|0]<<8|w[b+1|0])!=0}b=0;b:{if(!c){break b}b=1;if((v[g>>2]&-2)==4){break b}b=!_o(j)}d=a;a=b;c=a|w[D+136|0]&-2;t[d+136|0]=c;d=v[D+48>>2];b=242132;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{e=v[D+8>>2];if((e|0)<=1298231906){if((e|0)<=1198877297){if((e|0)<=1130914156){if((e|0)<=1113943654){if((e|0)<=1098015073){if((e|0)==1097100397|(e|0)==1097363309){break e}break c}if((e|0)==1098015074){break l}if((e|0)==1113681001|(e|0)==1113683051){break e}break c}if((e|0)<=1114990440){if((e|0)==1113943655){break d}if((e|0)==1114139507|(e|0)==1114792296){break e}break c}if((e|0)==1114990441|(e|0)==1114990692|(e|0)==1130457965){break e}break c}if((e|0)<=1164409199){if((e|0)<=1147756906){if((e|0)==1130914157|(e|0)==1130918515){break e}if((e|0)==1147500129){break d}break c}if((e|0)==1147756907|(e|0)==1148151666|(e|0)==1148547180){break e}break c}if((e|0)<=1198485094){if((e|0)==1164409200|(e|0)==1164736877){break e}break c}switch(e-1198485095|0){case 0:case 6:break e;case 1:case 2:case 3:case 4:case 5:break c;default:break f}}if((e|0)<=1265135465){if((e|0)<=1215131238){if((e|0)<=1214344806){if((e|0)==1198877298|(e|0)==1198879349){break d}break c}switch(e-1214344807|0){case 8:break e;case 0:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break c;default:break i}}if((e|0)<=1264675944){m:{switch(e-1215131239|0){case 0:case 9:break e;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break c;default:break m}}if((e|0)==1247901281){break e}break c}if((e|0)==1264675945|(e|0)==1265131890){break e}if((e|0)!=1265134962){break c}b=245840;break c}if((e|0)<=1281977697){if((e|0)<=1281453664){if((e|0)==1265135466){break e}if((e|0)==1265525857){break d}if((e|0)==1265920105){break e}break c}if((e|0)==1281453665){break e}if((e|0)==1281453935){break k}if((e|0)==1281716323){break e}break c}if((e|0)<=1298230883){if((e|0)==1281977698|(e|0)==1298229354|(e|0)==1298230113){break e}break c}switch(e-1298230884|0){case 0:case 5:break e;default:break c}}if((e|0)<=1399418467){if((e|0)<=1315663726){if((e|0)<=1299473768){if((e|0)<=1298954604){if((e|0)==1298231907|(e|0)==1298490470){break e}break c}if((e|0)==1298954605){break d}if((e|0)==1299145833|(e|0)==1299148391){break e}break c}if((e|0)<=1299803505){if((e|0)==1299473769|(e|0)==1299541108){break e}break c}if((e|0)==1299803506){break h}if((e|0)==1315008100|(e|0)==1315272545){break e}break c}if((e|0)<=1365336422){if((e|0)<=1349017958){if((e|0)==1315663727){break e}if((e|0)==1332902241){break d}break c}if((e|0)==1349017959|(e|0)==1349020784|(e|0)==1349284452){break e}break c}if((e|0)<=1398895985){if((e|0)==1365336423){break g}if((e|0)==1382706791|(e|0)==1383032935){break e}break c}if((e|0)==1398895986|(e|0)==1399353956|(e|0)==1399415908){break e}break c}if((e|0)<=1415670884){if((e|0)<=1400204899){n:{switch(e-1399418468|0){case 4:break d;case 0:break e;case 1:case 2:case 3:break c;default:break n}}o:{switch(e-1399809892|0){case 0:case 11:break e;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;default:break o}}if((e|0)==1399814511){break e}break c}if((e|0)<=1400468066){if((e|0)==1400204900|(e|0)==1400466543){break e}break c}if((e|0)==1400468067){break l}if((e|0)==1415669602|(e|0)==1415670642){break e}break c}if((e|0)<=1416064102){if((e|0)<=1415673459){if((e|0)==1415670885){break e}if((e|0)!=1415671148){break c}break d}if((e|0)==1415673460){break e}if((e|0)==1415933045){break d}if((e|0)==1415999079){break e}break c}if((e|0)<=1416196711){if((e|0)==1416064103){break e}if((e|0)==1416126825){break k}if((e|0)==1416192628){break e}break c}if((e|0)==1416196712|(e|0)==1466132591|(e|0)==1516334690){break e}break c}b=(v[D+4>>2]&-2)==4?257072:242132;b=(d|0)!=1145457748?b:(e|0)==1098015074?b:242132;break c}b=260716;break c}b=261460;break c}if((e|0)!=1214603890){break c}b=261664;break c}if((d|0)==1145457748|(d|0)==1818326126|(d|0)==1836674418){break c}b=261836;break c}b=261892;break c}if((e|0)!=1198678382){break c}}b=(d|0)==1145457748?242132:(d|0)==1818326126?242132:264224;break c}if((d|0)==1145457748|(d|0)==1818326126){break c}b=(d&255)==51?264224:275096}v[D+140>>2]=b;c=c&-3|(v[b+48>>2]!=0)<<1;t[D+136|0]=c;t[D+136|0]=c&251|w[b+52|0]<<2;if(!(!a|(b|0)==242132)){v[D+140>>2]=242188}r=v[g+24>>2];p=v[g+20>>2];a=D;n=a+24|0;bb(n,1920365166,1,1);zb(n,0);p:{q:{switch(v[a+4>>2]-4|0){case 0:bb(n,1819570785,1,1);bb(n,1819570797,1,1);break p;case 1:break q;default:break p}}bb(n,1920232545,1,1);bb(n,1920232557,0,1)}bb(n,1718772067,0,1);bb(n,1853189490,0,1);bb(n,1684959085,0,1);bb(n,1918987876,33,255);bb(n,1953653099,3,1);bb(n,1212240454,1,1);b=v[v[a+140>>2]>>2];if(b){Ea[b|0](a)}bb(n,1112889946,1,1);bb(n,1633842797,1,1);bb(n,1651275629,1,1);bb(n,1667460464,1,1);bb(n,1819239276,1,1);bb(n,1835102827,13,1);bb(n,1835756907,13,1);bb(n,1919707495,1,1);r:{if((v[a+4>>2]&-2)==4){bb(n,1667329140,1,1);bb(n,1668049255,1,1);bb(n,1668641395,1,1);bb(n,1684632436,1,1);bb(n,1801810542,3,1);bb(n,1818847073,1,1);bb(n,1919118452,1,1);break r}bb(n,1986359924,17,1)}if(r){c=0;while(1){f=p+(c<<4)|0;bb(n,v[f>>2],v[f+8>>2]?0:v[f+12>>2]==-1,v[f+4>>2]);c=c+1|0;if((r|0)!=(c|0)){continue}break}}if(!(!(t[a+136|0]&1)|!r)){c=0;while(1){b=p+(c<<4)|0;e=v[b>>2];j=v[b+4>>2];q=0;b=Zh(v[a+120>>2]+172|0);b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);s:{if(!(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))){break s}if((e|0)==1633774708){f=280448;o=Zh(v[a+120>>2]+172|0);b=w[o+4|0]<<8|w[o+5|0];t:{if(!b){break t}q=b-1|0;b=0;while(1){u:{e=b+q>>>1|0;d=o+B(e,12)|0;d=w[d+12|0]<<8|w[d+13|0];v:{if(d>>>0>=18){q=e-1|0;break v}if((d|0)==17){break u}b=e+1|0}if((b|0)<=(q|0)){continue}break t}break}f=(o+B(e,12)|0)+12|0}if(!(w[f+3|0]|w[f+2|0]<<8)){break s}w:{x:{y:{d=v[a+124>>2];if((d|0)>=0){b=v[a+128>>2];e=b+1|0;q=(e|0)>0?e:0;if(d>>>0>=q>>>0){break x}b=d;while(1){b=((b>>>1|0)+b|0)+8|0;if(q>>>0>=b>>>0){continue}break}if(!(b>>>0<d>>>0|b>>>0>268435454)){d=gb(v[a+132>>2],b<<4);if(d){break y}}v[a+124>>2]=-1}b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;q=v[a+128>>2];b=655664;break w}v[a+124>>2]=b;v[a+132>>2]=d;b=v[a+128>>2]}if(b>>>0<q>>>0){Ra(v[a+132>>2]+(b<<4)|0,0,q-b<<4)}v[a+128>>2]=q;b=(v[a+132>>2]+(q<<4)|0)-16|0}v[b+12>>2]=q;v[b+4>>2]=j;v[b>>2]=17;t[b+8|0]=1;break s}f=0;C=75;z:{A:{while(1){d=f+C>>>1|0;b=v[(d<<4)+228048>>2];B:{if(b>>>0>e>>>0){C=d-1|0;break B}if(b>>>0>=e>>>0){break A}f=d+1|0}if((f|0)<=(C|0)){continue}break}e=0;break z}e=(d<<4)+228048|0}if(!e){break s}l=Zh(v[a+120>>2]+172|0);f=v[e+4>>2];C=280448;b=w[l+5|0]|w[l+4|0]<<8;C:{if(!b){break C}b=b-1|0;while(1){D:{o=b+q>>>1|0;d=l+B(o,12)|0;d=f-(w[d+12|0]<<8|w[d+13|0])|0;E:{if((d|0)<=-1){b=o-1|0;break E}if(!d){break D}q=o+1|0}if((b|0)>=(q|0)){continue}break C}break}C=(l+B(o,12)|0)+12|0}if(!(w[C+3|0]|w[C+2|0]<<8)){if((f|0)!=37|v[e+8>>2]!=1){break s}C=280448;o=Zh(v[a+120>>2]+172|0);b=w[o+4|0]<<8|w[o+5|0];F:{if(!b){break F}q=b-1|0;b=0;while(1){G:{f=b+q>>>1|0;d=o+B(f,12)|0;d=w[d+12|0]<<8|w[d+13|0];H:{if(d>>>0>=4){q=f-1|0;break H}if((d|0)==3){break G}b=f+1|0}if((b|0)<=(q|0)){continue}break F}break}C=(o+B(f,12)|0)+12|0}if(!(w[C+3|0]|w[C+2|0]<<8)){break s}}I:{J:{K:{d=v[a+124>>2];if((d|0)>=0){b=v[a+128>>2];f=b+1|0;q=(f|0)>0?f:0;if(d>>>0>=q>>>0){break J}b=d;while(1){b=((b>>>1|0)+b|0)+8|0;if(q>>>0>=b>>>0){continue}break}if(!(b>>>0<d>>>0|b>>>0>268435454)){d=gb(v[a+132>>2],b<<4);if(d){break K}}v[a+124>>2]=-1}b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;q=v[a+128>>2];b=655664;break I}v[a+124>>2]=b;v[a+132>>2]=d;b=v[a+128>>2]}if(b>>>0<q>>>0){Ra(v[a+132>>2]+(b<<4)|0,0,q-b<<4)}v[a+128>>2]=q;b=(v[a+132>>2]+(q<<4)|0)-16|0}v[b>>2]=v[e+4>>2];d=v[e+(j?8:12)>>2];v[b+12>>2]=q;v[b+4>>2]=d;t[b+8|0]=w[C+8|0]>>>7}c=c+1|0;if((r|0)!=(c|0)){continue}break}}b=v[v[a+140>>2]+4>>2];if(b){Ea[b|0](a)}f=0;l=a;a=v[a+8>>2];v[k>>2]=v[l+4>>2];v[k+4>>2]=a;v[k+16>>2]=v[l+20>>2];a=v[l+16>>2];v[k+8>>2]=v[l+12>>2];v[k+12>>2]=a;v[k+20>>2]=v[l+140>>2];Z=g+28|0;a=0;s=Ca-160|0;Ca=s;z=k+24|0;v[z+12>>2]=2;v[s>>2]=0;v[s+4>>2]=0;h=l+24|0;v[z>>2]=v[h+24>>2];t[z+8|0]=w[h+32|0];jp(v[h>>2],1196643650,v[h+36>>2],v[h+44>>2],s+20|0,s+12|0);v[z+4>>2]=v[h+28>>2];t[z+9|0]=w[h+33|0];jp(v[h>>2],1196445523,v[h+40>>2],v[h+48>>2],s+24|0,s+16|0);b=v[h- -64>>2];L:{if(!b){break L}Oj(v[h+68>>2],b,28,464);i=1;a=v[h+64>>2];M:{if(a>>>0>1){while(1){r=a>>>0>i>>>0;N:{if(!r){v[163922]=v[70118];b=v[70117];v[163920]=v[70116];v[163921]=b;b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;b=655664;break N}b=v[h+68>>2]+B(i,28)|0}c=v[b>>2];o=a>>>0>f>>>0;O:{if(!o){v[163922]=v[70118];b=v[70117];v[163920]=v[70116];v[163921]=b;b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;b=655664;break O}b=v[h+68>>2]+B(f,28)|0}P:{if((c|0)!=v[b>>2]){Q:{if(!r){v[163922]=v[70118];b=v[70117];v[163920]=v[70116];v[163921]=b;b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;b=655664;break Q}b=v[h+68>>2]+B(i,28)|0}f=f+1|0;R:{if(f>>>0>=a>>>0){v[163922]=v[70118];a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break R}a=v[h+68>>2]+B(f,28)|0}c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+24>>2]=v[b+24>>2];c=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=c;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c;break P}S:{if(!r){v[163922]=v[70118];b=v[70117];v[163920]=v[70116];v[163921]=b;b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;b=655664;break S}b=v[h+68>>2]+B(i,28)|0}T:{if(t[b+12|0]&1){U:{if(!o){v[163922]=v[70118];a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break U}a=v[h+68>>2]+B(f,28)|0}v[a+12>>2]=v[a+12>>2]|1;V:{if(!r){v[163922]=v[70118];a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break V}a=v[h+68>>2]+B(i,28)|0}b=v[a+8>>2];W:{if(!o){v[163922]=v[70118];a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break W}a=v[h+68>>2]+B(f,28)|0}v[a+8>>2]=b;X:{if(!r){v[163922]=v[70118];a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break X}a=v[h+68>>2]+B(i,28)|0}b=v[a+16>>2];if(!o){v[163922]=v[70118];a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;v[163920]=b;break T}v[(v[h+68>>2]+B(f,28)|0)+16>>2]=b;break T}Y:{Z:{_:{$:{aa:{if(a>>>0>f>>>0){a=B(f,28);if(!(t[(a+v[h+68>>2]|0)+12|0]&1)){break $}a=a+v[h+68>>2]|0;break aa}a=v[70115];p=a;j=v[70114];v[163918]=j;v[163919]=a;g=v[70118];v[163922]=g;a=v[70117];e=a;d=v[70116];v[163920]=d;v[163921]=a;c=v[70113];b=c;a=v[70112];v[163916]=a;v[163917]=b;if(!(t[655676]&1)){break _}v[163922]=g;v[163920]=d;v[163921]=e;v[163918]=j;v[163919]=p;v[163916]=a;v[163917]=b;a=655664}v[a+12>>2]=v[a+12>>2]^1}if(o){break Z}}v[163922]=v[70118];a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Y}a=v[h+68>>2]+B(f,28)|0}ba:{if(!r){v[163922]=v[70118];b=v[70117];v[163920]=v[70116];v[163921]=b;b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;b=655664;break ba}b=v[h+68>>2]+B(i,28)|0}b=v[b+8>>2];a=v[a+8>>2];b=a>>>0<b>>>0?b:a;ca:{if(!o){v[163922]=v[70118];a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break ca}a=v[h+68>>2]+B(f,28)|0}v[a+8>>2]=b}da:{if(!r){v[163922]=v[70118];a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;b=655664;break da}b=v[h+68>>2]+B(i,28)|0}ea:{if(!o){v[163922]=v[70118];a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break ea}a=v[h+68>>2]+B(f,28)|0;v[a+12>>2]=v[a+12>>2]|v[b+12>>2]&2}fa:{if(!r){v[163922]=v[70118];b=v[70117];v[163920]=v[70116];v[163921]=b;b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;b=655664;break fa}b=v[h+68>>2]+B(i,28)|0}b=v[b+20>>2];a=v[a+20>>2];b=a>>>0>b>>>0?b:a;ga:{if(!o){v[163922]=v[70118];a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break ga}a=v[h+68>>2]+B(f,28)|0}v[a+20>>2]=b;b=v[h+64>>2];c=b>>>0>f>>>0;ha:{if(!c){v[163922]=v[70118];a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break ha}a=v[h+68>>2]+B(f,28)|0}ia:{if(b>>>0<=i>>>0){v[163922]=v[70118];b=v[70117];v[163920]=v[70116];v[163921]=b;b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;b=655664;break ia}b=v[h+68>>2]+B(i,28)|0}b=v[b+24>>2];a=v[a+24>>2];b=a>>>0>b>>>0?b:a;ja:{if(!c){v[163922]=v[70118];a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break ja}a=v[h+68>>2]+B(f,28)|0}v[a+24>>2]=b}a=v[h+64>>2];i=i+1|0;if(a>>>0>i>>>0){continue}break}b=f+1|0;break M}b=1}b=(b|0)>0?b:0;if(b>>>0>=a>>>0){break L}v[h+64>>2]=b;a=b}ka:{if(!a){break ka}p=s+36|0;H=v[s+4>>2];d=v[s>>2];i=0;b=2;while(1){la:{if(a>>>0<=i>>>0){v[163922]=v[70118];c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;j=655664;break la}j=v[h+68>>2]+B(i,28)|0}e=v[j+8>>2];ma:{if(!(!(t[j+12|0]&1)|(e|0)!=1)){c=b;e=0;break ma}c=e?32-E(e)|0:0;c=(c>>>0<8?c:8)+b|0;e=!e}if(!(e|c>>>0>32)){a=v[j>>2];d=(a|0)==v[s+12>>2]?v[j+20>>2]:d;f=ip(v[h>>2],1196643650,v[h+36>>2],v[h+44>>2],a,s+32|0);a=v[j>>2];H=(a|0)==v[s+16>>2]?v[j+24>>2]:H;e=0;na:{oa:{if(ip(v[h>>2],1196445523,v[h+40>>2],v[h+48>>2],a,p)|f){break oa}a=v[j+12>>2];if(a&16){if(lp(v[h>>2],1196643650,v[j>>2],s+32|0)|lp(v[h>>2],1196445523,v[j>>2],p)){break oa}a=v[j+12>>2]}e=1;if(!(a&2)){break na}}pa:{qa:{ra:{f=v[z+16>>2];if((f|0)>=0){a=f;I=v[z+20>>2];g=I+1|0;g=(g|0)>0?g:0;if(a>>>0>=g>>>0){break qa}while(1){a=((a>>>1|0)+a|0)+8|0;if(g>>>0>=a>>>0){continue}break}if(!(a>>>0<f>>>0|a>>>0>119304646)){f=gb(v[z+24>>2],B(a,36));if(f){break ra}}v[z+16>>2]=-1}v[163924]=v[70120];a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;g=655664;break pa}v[z+16>>2]=a;v[z+24>>2]=f;I=v[z+20>>2]}if(g>>>0>I>>>0){Ra(v[z+24>>2]+B(I,36)|0,0,B(g-I|0,36))}v[z+20>>2]=g;g=(v[z+24>>2]+B(g,36)|0)-36|0}v[g>>2]=v[j>>2];v[g+4>>2]=v[s+32>>2];v[g+8>>2]=v[s+36>>2];v[g+12>>2]=v[j+20>>2];v[g+16>>2]=v[j+24>>2];f=1;I=2;a=(w[j+12|0]>>>1&2|w[g+32|0]&-3)^2;t[g+32|0]=a;a=(w[j+12|0]>>>1&4|a&-5)^4;t[g+32|0]=a;a=a&-9|w[j+12|0]>>>2&8;t[g+32|0]=a;sa:{if(!(!(t[j+12|0]&1)|v[j+8>>2]!=1)){c=b;break sa}I=(1<<c)+(-1<<b)|0;v[z+12>>2]=v[z+12>>2]|I&v[j+16>>2]<<b;a=w[g+32|0];f=b}v[g+24>>2]=I;v[g+20>>2]=f;t[g+32|0]=a&254|e;v[g+28>>2]=1<<f&I;b=c}a=v[h+64>>2]}i=i+1|0;if(i>>>0<a>>>0){continue}break}v[s+4>>2]=H;v[s>>2]=d;if(!a){break ka}v[h+64>>2]=0}ta:{ua:{va:{b=v[h+72>>2];if((b|0)>=0){a=v[h+76>>2];c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ua}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(c>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>536870910)){b=gb(v[h+80>>2],a<<3);if(b){break va}}v[h+72>>2]=-1}a=v[70113];v[163916]=v[70112];v[163917]=a;b=655664;break ta}v[h+72>>2]=a;v[h+80>>2]=b;a=v[h+76>>2]}if(a>>>0<c>>>0){Ra(v[h+80>>2]+(a<<3)|0,0,c-a<<3)}v[h+76>>2]=c;b=(v[h+80>>2]+(c<<3)|0)-8|0}a=v[h+52>>2];v[b+4>>2]=0;v[b>>2]=a;v[h+52>>2]=v[h+52>>2]+1;wa:{xa:{ya:{b=v[h+84>>2];if((b|0)>=0){a=v[h+88>>2];c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break xa}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(c>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>536870910)){b=gb(v[h+92>>2],a<<3);if(b){break ya}}v[h+84>>2]=-1}a=v[70113];p=a;o=v[70112];v[163916]=o;v[163917]=a;b=655664;break wa}v[h+84>>2]=a;v[h+92>>2]=b;a=v[h+88>>2]}if(a>>>0<c>>>0){Ra(v[h+92>>2]+(a<<3)|0,0,c-a<<3)}v[h+88>>2]=c;o=v[70112];p=v[70113];b=(v[h+92>>2]+(c<<3)|0)-8|0}a=v[h+56>>2];v[b+4>>2]=0;v[b>>2]=a;v[h+56>>2]=v[h+56>>2]+1;a=p;j=a;b=(a&65535)<<16|o>>>16;g=o;while(1){P=R<<2;W=P+h|0;if(v[W+52>>2]){X=P+242124|0;Y=P+Z|0;a=B(R,12);m=a+z|0;S=m;U=a+h|0;T=U;_=s+P|0;$=P+(s+20|0)|0;I=0;d=0;Q=0;while(1){J=v[$>>2];za:{if((J|0)==65535|v[_>>2]!=(I|0)){break za}K=v[Y>>2];H=0;N=v[X>>2];q=gp(v[h>>2],N);while(1){v[s+28>>2]=32;hp(v[h>>2],N,J,K,H,s+28|0,s+32|0);i=0;a=v[s+28>>2];if(!a){break za}while(1){r=(s+32|0)+(i<<2)|0;if(q>>>0>y[r>>2]){Aa:{Ba:{Ca:{a=v[m+28>>2];if((a|0)>=0){e=a;c=v[m+32>>2];f=c+1|0;f=(f|0)>0?f:0;if(a>>>0>=f>>>0){break Ba}while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}if(!(a>>>0>e>>>0|e>>>0>536870910)){a=gb(v[m+36>>2],e<<3);if(a){break Ca}}v[m+28>>2]=-1}v[163916]=o;v[163917]=p;a=655664;c=b;break Aa}v[m+36>>2]=a;v[m+28>>2]=e;c=v[m+32>>2]}if(c>>>0<f>>>0){Ra(v[m+36>>2]+(c<<3)|0,0,f-c<<3)}v[m+32>>2]=f;c=v[m+36>>2]+(f<<3)|0;a=c-8|0;c=w[c-6|0]}v[a+4>>2]=2;e=v[r>>2];t[a+2|0]=c&248|3;u[a>>1]=e;a=v[s+28>>2]}i=i+1|0;if(i>>>0<a>>>0){continue}break}H=a+H|0;if((a|0)==32){continue}break}}f=0;i=v[z+20>>2];if(i){while(1){Da:{if(f>>>0>=i>>>0){v[163924]=v[70120];a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Da}a=v[z+24>>2]+B(f,36)|0}Ea:{if(v[(a+P|0)+12>>2]!=(I|0)){break Ea}i=v[z+20>>2];Fa:{if(i>>>0<=f>>>0){v[163924]=v[70120];a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;i=v[z+20>>2];a=655664;break Fa}a=v[z+24>>2]+B(f,36)|0}C=v[(a+P|0)+4>>2];A=v[Y>>2];Ga:{if(f>>>0>=i>>>0){v[163924]=v[70120];a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;i=v[z+20>>2];a=655664;break Ga}a=v[z+24>>2]+B(f,36)|0}H=v[a+24>>2];Ha:{if(f>>>0>=i>>>0){v[163924]=v[70120];a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;i=v[z+20>>2];a=655664;break Ha}a=v[z+24>>2]+B(f,36)|0}e=w[a+32|0];Ia:{if(f>>>0>=i>>>0){v[163924]=v[70120];a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;i=v[z+20>>2];a=655664;break Ia}a=v[z+24>>2]+B(f,36)|0}c=w[a+32|0];Ja:{if(f>>>0>=i>>>0){v[163924]=v[70120];a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Ja}a=v[z+24>>2]+B(f,36)|0}J=w[a+32|0]>>>1&4|(c>>>1&2|e>>>1&1);V=0;K=v[X>>2];N=gp(v[h>>2],K);while(1){v[s+28>>2]=32;hp(v[h>>2],K,C,A,V,s+28|0,s+32|0);i=0;a=v[s+28>>2];if(!a){break Ea}while(1){q=(s+32|0)+(i<<2)|0;if(y[q>>2]<N>>>0){Ka:{La:{Ma:{a=v[m+28>>2];if((a|0)>=0){e=a;c=v[m+32>>2];r=c+1|0;r=(r|0)>0?r:0;if(a>>>0>=r>>>0){break La}while(1){e=((e>>>1|0)+e|0)+8|0;if(r>>>0>=e>>>0){continue}break}if(!(a>>>0>e>>>0|e>>>0>536870910)){a=gb(v[m+36>>2],e<<3);if(a){break Ma}}v[m+28>>2]=-1}v[163916]=o;v[163917]=p;a=655664;c=b;break Ka}v[m+36>>2]=a;v[m+28>>2]=e;c=v[m+32>>2]}if(c>>>0<r>>>0){Ra(v[m+36>>2]+(c<<3)|0,0,r-c<<3)}v[m+32>>2]=r;c=v[m+36>>2]+(r<<3)|0;a=c-8|0;c=w[c-6|0]}v[a+4>>2]=H;e=v[q>>2];t[a+2|0]=J|c&248;u[a>>1]=e;a=v[s+28>>2]}i=i+1|0;if(i>>>0<a>>>0){continue}break}V=a+V|0;if((a|0)==32){continue}break}}f=f+1|0;i=v[z+20>>2];if(f>>>0<i>>>0){continue}break}}a=v[m+32>>2];Na:{if(a>>>0<=d>>>0){d=a;break Na}Oj(v[m+36>>2]+(d<<3)|0,a-d|0,8,465);a=v[m+32>>2];i=d+1|0;if(a>>>0>i>>>0){while(1){Oa:{if(a>>>0<=i>>>0){v[163916]=o;v[163917]=p;a=v[m+32>>2];c=g;break Oa}c=x[v[m+36>>2]+(i<<3)>>1]}Pa:{if(a>>>0<=d>>>0){v[163916]=o;v[163917]=p;e=g;break Pa}e=x[v[m+36>>2]+(d<<3)>>1]}a=v[m+32>>2];Qa:{if((c&65535)!=(e&65535)){Ra:{if(a>>>0<=i>>>0){v[163916]=o;v[163917]=p;a=v[m+32>>2];c=655664;break Ra}c=v[m+36>>2]+(i<<3)|0}d=d+1|0;Sa:{if(d>>>0>=a>>>0){v[163916]=o;v[163917]=p;e=655664;break Sa}e=v[m+36>>2]+(d<<3)|0}a=v[c+4>>2];v[e>>2]=v[c>>2];v[e+4>>2]=a;break Qa}Ta:{if(a>>>0<=i>>>0){v[163916]=o;v[163917]=p;a=v[m+32>>2];c=j;break Ta}c=v[(v[m+36>>2]+(i<<3)|0)+4>>2]}Ua:{if(a>>>0<=d>>>0){v[163916]=o;v[163917]=p;a=v[m+32>>2];f=655664;e=j;break Ua}f=v[m+36>>2]+(d<<3)|0;e=v[f+4>>2]}v[f+4>>2]=c|e;Va:{if(a>>>0<=i>>>0){v[163916]=o;v[163917]=p;a=v[m+32>>2];c=b;break Va}c=w[(v[m+36>>2]+(i<<3)|0)+2|0]}Wa:{if(a>>>0<=d>>>0){v[163916]=o;v[163917]=p;a=655664;e=b;break Wa}a=v[m+36>>2]+(d<<3)|0;e=w[a+2|0]}t[a+2|0]=e&(c|254);a=v[m+32>>2];Xa:{if(i>>>0>=a>>>0){v[163916]=o;v[163917]=p;a=v[m+32>>2];c=b;break Xa}c=w[(v[m+36>>2]+(i<<3)|0)+2|0]}Ya:{if(a>>>0<=d>>>0){v[163916]=o;v[163917]=p;a=655664;e=b;break Ya}a=v[m+36>>2]+(d<<3)|0;e=w[a+2|0]}t[a+2|0]=e&(c|253)}a=v[m+32>>2];i=i+1|0;if(a>>>0>i>>>0){continue}break}i=d+1|0}d=a;a=(i|0)>0?i:0;if(d>>>0<=a>>>0){break Na}v[m+32>>2]=a;d=a}Za:{if(y[U+76>>2]<=Q>>>0){break Za}r=Q<<3;if(v[r+v[T+80>>2]>>2]!=(I|0)){break Za}_a:{$a:{ab:{a=v[m+52>>2];if((a|0)>=0){c=a;f=v[m+56>>2];e=f+1|0;e=(e|0)>0?e:0;if(a>>>0>=e>>>0){break $a}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(!(a>>>0>c>>>0|c>>>0>536870910)){a=gb(v[S+60>>2],c<<3);if(a){break ab}}v[m+52>>2]=-1}v[163916]=o;v[163917]=p;a=655664;break _a}v[S+60>>2]=a;v[m+52>>2]=c;f=v[m+56>>2]}if(e>>>0>f>>>0){Ra(v[S+60>>2]+(f<<3)|0,0,e-f<<3)}v[m+56>>2]=e;a=(v[S+60>>2]+(e<<3)|0)-8|0}v[a>>2]=d;bb:{if(y[U+76>>2]<=Q>>>0){v[163916]=o;v[163917]=p;c=j;break bb}c=v[(r+v[T+80>>2]|0)+4>>2]}v[a+4>>2]=c;Q=Q+1|0}I=I+1|0;if(I>>>0<y[W+52>>2]){continue}break}}R=R+1|0;if((R|0)!=2){continue}break}Ca=s+160|0;if(t[l+136|0]&1){e=k+100|0;b=0;a=v[l+128>>2];cb:{if(!a){break cb}Ew(v[l+132>>2],a,16);c=1;d=v[l+128>>2];db:{if(d>>>0>1){while(1){eb:{if(c>>>0>=d>>>0){a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;d=v[l+128>>2];a=655664;break eb}a=v[l+132>>2]+(c<<4)|0}f=v[a>>2];fb:{if(b>>>0>=d>>>0){a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break fb}a=v[l+132>>2]+(b<<4)|0}gb:{if((f|0)==v[a>>2]){hb:{if(y[l+128>>2]<=c>>>0){a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break hb}a=v[l+132>>2]+(c<<4)|0}if(w[a+8|0]){break gb}d=v[l+128>>2];ib:{if(d>>>0<=c>>>0){a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;d=v[l+128>>2];a=655664;break ib}a=v[l+132>>2]+(c<<4)|0}f=v[a+4>>2];jb:{if(b>>>0>=d>>>0){a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break jb}a=v[l+132>>2]+(b<<4)|0}if((f^v[a+4>>2])>>>0<2){break gb}}d=v[l+128>>2];kb:{if(d>>>0<=c>>>0){a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;d=v[l+128>>2];a=655664;break kb}a=v[l+132>>2]+(c<<4)|0}b=b+1|0;lb:{if(d>>>0<=b>>>0){d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;f=655664;break lb}f=v[l+132>>2]+(b<<4)|0}d=v[a+4>>2];v[f>>2]=v[a>>2];v[f+4>>2]=d;d=v[a+12>>2];v[f+8>>2]=v[a+8>>2];v[f+12>>2]=d}c=c+1|0;d=v[l+128>>2];if(c>>>0<d>>>0){continue}break}a=b+1|0;break db}a=1}a=(a|0)>0?a:0;if(a>>>0>=d>>>0){break cb}v[l+128>>2]=a}K=0;b=Qp(v[l+120>>2]+148|0);mb:{if(w[b|0]<<8|w[b+1|0]){a=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);r=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!r){break mb}a=b+8|0;N=v[70112];while(1){f=0;b=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);c=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);d=a;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);o=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);nb:{if(!o){break nb}a=v[l+128>>2];if((a|0)<=0){break nb}b=a-1|0;p=v[l+132>>2];while(1){A=(f|0)<0?280448:(d+B(f,12)|0)+16|0;C=w[A+2|0]<<8|w[A+3|0];H=w[A+1|0]|w[A|0]<<8;while(1){J=0;a=b;ob:{while(1){pb:{qb:{rb:{q=a+J>>>1|0;j=p+(q<<4)|0;g=v[j>>2];sb:{if((g|0)!=(H|0)){if((g|0)>(H|0)){break sb}break qb}g=v[j+4>>2];if((g|0)==(C|0)){break rb}if((g|0)<=(C|0)){break qb}}a=q-1|0;break pb}a=w[A+8|0]|w[A+9|0]<<8|(w[A+10|0]<<16|w[A+11|0]<<24);c=w[A+7|0]|((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))&c|(w[A+5|0]<<16|w[A+4|0]<<24)|w[A+6|0]<<8);break ob}J=q+1|0}if((a|0)>=(J|0)){continue}break}if((H|0)!=3){break ob}H=37;a=(C|0)==3;C=1;if(a){continue}}break}f=f+1|0;if((o|0)!=(f|0)){continue}break}}tb:{ub:{vb:{b=v[e>>2];if((b|0)>=0){a=b;f=v[e+4>>2];g=f+1|0;g=(g|0)>0?g:0;if(a>>>0>=g>>>0){break ub}while(1){a=((a>>>1|0)+a|0)+8|0;if(g>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>1073741822)){b=gb(v[e+8>>2],a<<2);if(b){break vb}}v[e>>2]=-1}v[163916]=N;break tb}v[e>>2]=a;v[e+8>>2]=b;f=v[e+4>>2]}if(f>>>0<g>>>0){Ra(v[e+8>>2]+(f<<2)|0,0,g-f<<2)}v[e+4>>2]=g;a=v[e+8>>2];v[163916]=N;a=(a+(g<<2)|0)-4|0;if((a|0)==655664){break tb}v[a>>2]=c}a=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);a=d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;K=K+1|0;if((r|0)!=(K|0)){continue}break}break mb}b=Pp(v[l+120>>2]+152|0);if(!(w[b|0]<<8|w[b+1|0])){break mb}a=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);r=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!r){break mb}a=b+8|0;N=v[70112];while(1){H=0;b=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);c=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);d=a;o=w[a+9|0]|w[a+8|0]<<8;wb:{if(!o){break wb}a=v[l+128>>2];if((a|0)<=0){break wb}b=a-1|0;p=v[l+132>>2];while(1){A=d+B(H,12)|0;f=w[A+14|0]<<8|w[A+15|0];C=w[A+13|0]|w[A+12|0]<<8;while(1){J=0;a=b;xb:{while(1){yb:{zb:{Ab:{q=a+J>>>1|0;j=p+(q<<4)|0;g=v[j>>2];Bb:{if((g|0)!=(C|0)){if((g|0)>(C|0)){break Bb}break zb}g=v[j+4>>2];if((g|0)==(f|0)){break Ab}if((f|0)>=(g|0)){break zb}}a=q-1|0;break yb}a=w[A+20|0]|w[A+21|0]<<8|(w[A+22|0]<<16|w[A+23|0]<<24);c=w[A+19|0]|((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))&c|(w[A+17|0]<<16|w[A+16|0]<<24)|w[A+18|0]<<8);break xb}J=q+1|0}if((a|0)>=(J|0)){continue}break}if((C|0)!=3){break xb}C=37;a=(f|0)==3;f=1;if(a){continue}}break}H=H+1|0;if((o|0)!=(H|0)){continue}break}}Cb:{Db:{Eb:{b=v[e>>2];if((b|0)>=0){a=b;f=v[e+4>>2];g=f+1|0;g=(g|0)>0?g:0;if(a>>>0>=g>>>0){break Db}while(1){a=((a>>>1|0)+a|0)+8|0;if(g>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>1073741822)){b=gb(v[e+8>>2],a<<2);if(b){break Eb}}v[e>>2]=-1}v[163916]=N;break Cb}v[e>>2]=a;v[e+8>>2]=b;f=v[e+4>>2]}if(f>>>0<g>>>0){Ra(v[e+8>>2]+(f<<2)|0,0,g-f<<2)}v[e+4>>2]=g;a=v[e+8>>2];v[163916]=N;a=(a+(g<<2)|0)-4|0;if((a|0)==655664){break Cb}v[a>>2]=c}a=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);a=d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;K=K+1|0;if((r|0)!=(K|0)){continue}break}}}p=v[k+48>>2];j=v[k+44>>2];Fb:{Gb:{if((j|0)>=1){c=j-1|0;a=c;b=k;Hb:{Ib:{while(1){e=a+F>>>1|0;d=v[p+B(e,36)>>2];Jb:{if(d>>>0>=1718772068){a=e-1|0;break Jb}if((d|0)==1718772067){break Ib}F=e+1|0}if((a|0)>=(F|0)){continue}break}e=0;break Hb}e=v[(p+B(e,36)|0)+28>>2]}v[b+116>>2]=e;F=0;a=c;b=k;Kb:{Lb:{while(1){f=a+F>>>1|0;d=v[p+B(f,36)>>2];Mb:{if(d>>>0>=1853189491){a=f-1|0;break Mb}if((d|0)==1853189490){break Lb}F=f+1|0}if((a|0)>=(F|0)){continue}break}d=0;break Kb}d=v[(p+B(f,36)|0)+28>>2]}v[b+120>>2]=d;a=0;T=k;Nb:{Ob:{while(1){g=a+c>>>1|0;f=v[p+B(g,36)>>2];Pb:{if(f>>>0>=1684959086){c=g-1|0;break Pb}if((f|0)==1684959085){break Ob}a=g+1|0}if((a|0)<=(c|0)){continue}break}b=0;break Nb}b=v[(p+B(g,36)|0)+28>>2]}v[T+124>>2]=b;a=!e;c=a;if(!d){break Gb}b=(b|0)!=0;break Fb}v[k+124>>2]=0;v[k+116>>2]=0;v[k+120>>2]=0;c=1}a=c;b=0}c=0;f=x[k+140>>1]&-5|(a?b?4:0:4);u[k+140>>1]=f;d=k;Qb:{Rb:{if((j|0)<=0){v[k+128>>2]=0;break Rb}a=j-1|0;F=a;b=k;Sb:{Tb:{while(1){g=c+F>>>1|0;e=v[p+B(g,36)>>2];Ub:{if(e>>>0>=1920232558){F=g-1|0;break Ub}if((e|0)==1920232557){break Tb}c=g+1|0}if((c|0)<=(F|0)){continue}break}c=0;break Sb}c=v[(p+B(g,36)|0)+28>>2]}v[b+128>>2]=c;c=0;while(1){Vb:{e=a+c>>>1|0;b=v[p+B(e,36)>>2];Wb:{if(b>>>0>=1986359925){a=e-1|0;break Wb}if((b|0)==1986359924){break Vb}c=e+1|0}if((a|0)>=(c|0)){continue}break Rb}break}if(!v[(p+B(e,36)|0)+28>>2]){break Rb}c=f|8;break Qb}c=f&65527}u[d+140>>1]=c;g=(v[l+4>>2]&-2)==4?1801810542:1986753134;b=k;e=(j|0)<1;a=0;Xb:{if(e){break Xb}a=j-1|0;F=0;Yb:{while(1){f=a+F>>>1|0;d=v[p+B(f,36)>>2];Zb:{if(d>>>0>g>>>0){a=f-1|0;break Zb}if(d>>>0>=g>>>0){break Yb}F=f+1|0}if((a|0)>=(F|0)){continue}break}a=0;break Xb}a=v[(p+B(f,36)|0)+24>>2]}v[b+132>>2]=a;d=c&-2|(a|0)!=0;u[k+140>>1]=d;b=k;_b:{$b:{ac:{if(!e){a=j-1|0;F=0;while(1){e=a+F>>>1|0;c=v[p+B(e,36)>>2];bc:{if(c>>>0>=1953653100){a=e-1|0;break bc}if((c|0)==1953653099){break ac}F=e+1|0}if((a|0)>=(F|0)){continue}break}}v[k+136>>2]=0;break $b}a=v[(p+B(e,36)|0)+24>>2];v[k+136>>2]=a;if(!a){break $b}a=d|2;break _b}a=d&65533}u[b+140>>1]=a;a=0;d=1;cc:{if((j|0)<=0){break cc}F=j-1|0;dc:{while(1){c=a+F>>>1|0;b=v[p+B(c,36)>>2];ec:{if(b>>>0>g>>>0){F=c-1|0;break ec}if(b>>>0>=g>>>0){break dc}a=c+1|0}if((a|0)<=(F|0)){continue}break}d=1;break cc}d=v[(p+B(c,36)|0)+8>>2]==65535}a=v[v[k+20>>2]+40>>2];b=(a|0)!=0&(a|0)!=v[k+28>>2];a=v[Oe(v[l>>2]+132|0)>>2];a=a?a:280448;c=y[a+16>>2]<12?280448:v[a+12>>2];a=x[k+140>>1];if(!(w[c+5|0]|w[c+4|0]<<8)){a=a|64;u[k+140>>1]=a}c=1;u[k+140>>1]=a&61439|(t[l+136|0]&1)<<12;e=_o(v[l>>2]);if(!b){a=v[ad(v[l>>2]+140|0)>>2];a=a?a:280448;a=y[a+16>>2]<10?280448:v[a+12>>2];a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);c=!(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))}b=k;fc:{gc:{if(!(!Mp(v[l>>2])|(!e|c)!=1)){a=x[k+140>>1]|2048;break gc}a=x[k+140>>1];if(t[l+136|0]&1|c){break fc}a=a|512}u[b+140>>1]=a}hc:{if(a&2048|(d|!(a&512))!=1){break hc}a=2048;if(!Mp(v[l>>2])){a=1024;b=_j(v[l>>2]+128|0);b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);if(!(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))){break hc}}u[k+140>>1]=x[k+140>>1]|a}a=0;ic:{if(!(w[l+136|0]&2)){break ic}b=x[k+140>>1];if(b&2048){break ic}a=32;if(!(b&1024)){break ic}d=0;jc:{kc:{lc:{b=_j(v[l>>2]+128|0);a=w[b|0]|w[b+1|0]<<8;switch((a<<8|a>>>8)&65535){case 1:break kc;case 0:break lc;default:break jc}}a=w[b+3|0]|w[b+2|0]<<8;if(!a){break jc}d=1;if(w[b+8|0]==1){break jc}b=b+4|0;while(1){mc:{if((a|0)==(d|0)){break mc}b=(w[b+3|0]|w[b+2|0]<<8)+b|0;if(w[b+4|0]==1){break mc}d=d+1|0;continue}break}d=a>>>0>d>>>0;break jc}a=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break jc}d=1;if(w[b+13|0]==1){break jc}b=b+8|0;while(1){nc:{if((a|0)==(d|0)){break nc}c=b;b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);b=c+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;if(w[b+5|0]==1){break nc}d=d+1|0;continue}break}d=a>>>0>d>>>0}a=d?0:32}g=x[k+140>>1];f=g&-33|a;u[k+140>>1]=f;b=k;p=b;oc:{pc:{a=v[b+44>>2];if((a|0)<1){break pc}e=v[k+48>>2];a=a-1|0;c=0;while(1){qc:{j=a+c>>>1|0;d=v[e+B(j,36)>>2];rc:{if(d>>>0>=1835102828){a=j-1|0;break rc}if((d|0)==1835102827){break qc}c=j+1|0}if((a|0)>=(c|0)){continue}break pc}break}if(!v[(e+B(j,36)|0)+28>>2]){break pc}a=f|16;break oc}a=f&65519}u[p+140>>1]=a;e=k;sc:{tc:{if(!(g&2560)){if(!(g&1024)){break tc}d=0;uc:{vc:{wc:{b=_j(v[l>>2]+128|0);a=w[b|0]|w[b+1|0]<<8;switch((a<<8|a>>>8)&65535){case 1:break vc;case 0:break wc;default:break uc}}a=w[b+3|0]|w[b+2|0]<<8;if(!a){break uc}d=1;if(w[b+9|0]&4){break uc}b=b+4|0;while(1){xc:{if((a|0)==(d|0)){break xc}b=(w[b+3|0]|w[b+2|0]<<8)+b|0;if(w[b+5|0]&4){break xc}d=d+1|0;continue}break}d=a>>>0>d>>>0;break uc}a=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break uc}d=1;if(w[b+12|0]&64){break uc}b=b+8|0;while(1){yc:{if((a|0)==(d|0)){break yc}c=b;b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);b=c+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;if(w[b+4|0]&64){break yc}d=d+1|0;continue}break}d=a>>>0>d>>>0}a=x[k+140>>1];if(!d){break tc}}a=a&65279;b=0;break sc}a=a|256;u[k+140>>1]=a;b=w[l+136|0]<<5&128}b=b|a&-129;a=a&4096?b&-257:b;u[e+140>>1]=a;c=0;if(a&2){a=Kp(v[l>>2]+164|0);a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);c=((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0)<<13;a=x[k+140>>1]}u[k+140>>1]=a&57343|c;c=1;a=v[v[k+20>>2]+8>>2];zc:{if(!a){break zc}a=Ea[a|0](k)|0;v[k+112>>2]=a;if(a){break zc}Pa(v[G+24>>2]);v[G+24>>2]=0;v[G+16>>2]=0;v[G+20>>2]=0;Pa(v[G+36>>2]);v[G+36>>2]=0;v[G+28>>2]=0;v[G+32>>2]=0;Pa(v[G+60>>2]);v[G+60>>2]=0;v[G+52>>2]=0;v[G+56>>2]=0;Pa(v[G+48>>2]);v[G+48>>2]=0;v[G+40>>2]=0;v[G+44>>2]=0;Pa(v[G+72>>2]);v[G+72>>2]=0;a=G- -64|0;v[a>>2]=0;v[a+4>>2]=0;Pa(v[k+108>>2]);c=0;v[k+108>>2]=0;v[k+100>>2]=0;v[k+104>>2]=0}Pa(v[l+132>>2]);v[l+132>>2]=0;v[l+124>>2]=0;v[l+128>>2]=0;Pa(v[n+68>>2]);v[n+68>>2]=0;v[n+60>>2]=0;v[n+64>>2]=0;Pa(v[n+80>>2]);v[n+80>>2]=0;v[n+72>>2]=0;v[n+76>>2]=0;Pa(v[n+92>>2]);v[n+92>>2]=0;v[n+84>>2]=0;v[n+88>>2]=0;Pa(v[n+80>>2]);v[n+80>>2]=0;v[n+72>>2]=0;v[n+76>>2]=0;Pa(v[n+68>>2]);v[n+68>>2]=0;v[n+60>>2]=0;v[n+64>>2]=0;Ca=D+144|0;if(c){break a}Pa(v[M+36>>2])}Pa(M)}M=280448}return M}O(279475,279516,234,279533);L()}function DO(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,y=0,z=0,A=0,C=0,D=0;d=Ca-208|0;Ca=d;v[d+204>>2]=c;h=v[c+88>>2];v[d+200>>2]=h;l=h;o=v[c+76>>2];a:{if(!o){break a}l=h+B(o,20)|0;b=0;e=h;i=o;b:{c:{while(1){f=w[e+18|0];if(f){if((f|0)==14){break c}break b}if(!(w[e+16|0]&32)|x[e+12>>1]&16){break b}e=e+20|0;b=b+1|0;i=i-1|0;if(i){continue}break}f=0;j=o;k=j;break a}m=b;d:{e:while(1){f=m;while(1){f=f+1|0;if(o>>>0<=f>>>0){break d}g=h+B(f,20)|0;l=x[g+16>>1];if(!(x[g+12>>1]&16?1:w[g+18|0]|!(l&32))){continue}break}g=e;j=b;f=i;k=m;if(!(1<<l&7168)){break d}while(1){f=f-1|0;if(f){l=g+20|0;j=j+1|0;k=k+1|0;p=w[g+38|0];if(p){e=l;i=f;b=j;m=k;if((p|0)==14){continue e}break a}if(!(w[g+36|0]&32)){break a}p=g;g=l;if(!(x[p+32>>1]&16)){continue}break a}break}break}j=b+i|0;k=i+m|0;l=B(i,20)+e|0;f=0;break a}l=e;f=i;j=b;k=m;break a}l=e;f=i;j=b;k=b}v[d+188>>2]=264281;v[d+176>>2]=264280;v[d+168>>2]=j;v[d+164>>2]=f;v[d+160>>2]=l;v[d+184>>2]=d+200;v[d+180>>2]=d+204;v[d+144>>2]=0;v[d+148>>2]=1;v[d+152>>2]=k;v[d+156>>2]=1;f:{if(f){n=1;g=f;while(1){b=l;g:{while(1){g=g-1|0;if(!g){break g}l=b+20|0;k=k+1|0;e=k;h:{i:{j=w[b+38|0];if(j){if((j|0)==14){break i}break h}if(!(w[b+36|0]&32)){break h}e=b;b=l;if(!(x[e+32>>1]&16)){continue}break h}while(1){e=e+1|0;if(o>>>0<=e>>>0){break h}b=h+B(e,20)|0;j=x[b+16>>1];if(!(x[b+12>>1]&16?1:w[b+18|0]|!(j&32))){continue}break}b=l;if(1<<j&7168){continue}}break}n=n+1|0;continue}break}b=-1;if((n|0)==-1){break f}}b=n}g=v[d+188>>2];v[d+136>>2]=v[d+184>>2];v[d+140>>2]=g;g=v[d+180>>2];v[d+128>>2]=v[d+176>>2];v[d+132>>2]=g;g=v[d+172>>2];v[d+120>>2]=v[d+168>>2];v[d+124>>2]=g;g=v[d+164>>2];v[d+112>>2]=v[d+160>>2];v[d+116>>2]=g;g=v[d+156>>2];v[d+104>>2]=v[d+152>>2];v[d+108>>2]=g;g=v[d+148>>2];v[d+96>>2]=v[d+144>>2];v[d+100>>2]=g;fc(d+96|0,b);y=v[d+116>>2];A=v[d+96>>2];b=v[d+188>>2];i=v[d+184>>2];v[d+88>>2]=i;v[d+92>>2]=b;g=v[d+180>>2];m=v[d+176>>2];v[d+80>>2]=m;v[d+84>>2]=g;e=v[d+172>>2];h=v[d+168>>2];v[d+72>>2]=h;v[d+76>>2]=e;j=v[d+164>>2];l=d- -64|0;n=v[d+160>>2];v[l>>2]=n;v[l+4>>2]=j;l=v[d+156>>2];o=v[d+152>>2];v[d+56>>2]=o;v[d+60>>2]=l;k=v[d+148>>2];p=v[d+144>>2];v[d+48>>2]=p;v[d+52>>2]=k;v[d+40>>2]=i;v[d+44>>2]=b;v[d+32>>2]=m;v[d+36>>2]=g;v[d+24>>2]=h;v[d+28>>2]=e;v[d+16>>2]=n;v[d+20>>2]=j;v[d+8>>2]=o;v[d+12>>2]=l;v[d>>2]=p;v[d+4>>2]=k;b=v[d+48>>2];if(!v[d+68>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}if(b){_b(d+48|0,b)}b=v[d>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}if(b){_b(d,b)}m=0;l=1;j=2;while(1){if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}if(!y){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}j:{if((m|0)!=(A|0)){break j}if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}if(y){break j}v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}k:{if(w[j+265984|0]!=4){break k}if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=v[d+48>>2];if(!v[d+68>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}if(b>>>0<m>>>0){fc(d+48|0,m-b|0);break k}if(b>>>0<=m>>>0){break k}_b(d+48|0,b-m|0)}i=v[d+144>>2];if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}if(!y){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}l:{if((i|0)==(A|0)){if((j|0)==62){break l}s=t[j+264288|0]-1|0;break l}m:{n:{if(!f){b=v[70116];v[163920]=b;g=v[70115];e=g;k=v[70114];v[163918]=k;v[163919]=e;g=v[70113];m=g;h=v[70112];v[163916]=h;v[163917]=g;if(w[655682]>=53){break n}v[163920]=b;v[163918]=k;v[163919]=e;v[163916]=h;v[163917]=m;b=w[655682];break m}b=w[v[d+160>>2]+18|0];if(b>>>0<53){break m}}s=t[j+265760|0];break l}o:{b=t[(b&255)+265696|0];g=j<<1;if((b|0)>w[g+264353|0]){break o}e=w[g+264352|0];if((e|0)>(b|0)){break o}s=t[u[g+265568>>1]+264480+(b-e)|0];break l}s=t[j+265760|0]}b=t[s+265904|0];p:{if(!b){break p}q:{switch(b-1|0){case 1:m=v[d+148>>2];r:{s:{if(!f){break s}h=v[d+156>>2];k=v[d+152>>2];b=v[d+160>>2];n=v[d+180>>2];o=v[d+184>>2];while(1){f=f-1|0;if(!f){break s}g=b+20|0;k=h+k|0;t:{e=w[b+38|0];if(e){if((e|0)==14){break t}break r}if(!(w[b+36|0]&32)){break r}e=b;b=g;if(!(x[e+32>>1]&16)){continue}break r}p=v[v[n>>2]+76>>2];b=k;while(1){b=b+1|0;if(p>>>0<=b>>>0){break r}e=v[o>>2]+B(b,20)|0;j=x[e+16>>1];if(!(x[e+12>>1]&16?1:w[e+18|0]|!(j&32))){continue}break}b=g;if(1<<j&7168){continue}break}break r}v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=v[d>>2];if(!v[d+20>>2]){v[163920]=v[70116];f=v[70115];v[163918]=v[70114];v[163919]=f;f=v[70113];v[163916]=v[70112];v[163917]=f}f=i+m|0;if(f>>>0>b>>>0){fc(d,f-b|0);break p}if(b>>>0<=f>>>0){break p}_b(d,b-f|0);break p;case 4:m=v[d+148>>2];u:{v:{if(!f){break v}h=v[d+156>>2];k=v[d+152>>2];b=v[d+160>>2];n=v[d+180>>2];o=v[d+184>>2];while(1){f=f-1|0;if(!f){break v}g=b+20|0;k=h+k|0;w:{e=w[b+38|0];if(e){if((e|0)==14){break w}break u}if(!(w[b+36|0]&32)){break u}e=b;b=g;if(!(x[e+32>>1]&16)){continue}break u}p=v[v[n>>2]+76>>2];b=k;while(1){b=b+1|0;if(p>>>0<=b>>>0){break u}e=v[o>>2]+B(b,20)|0;j=x[e+16>>1];if(!(x[e+12>>1]&16?1:w[e+18|0]|!(j&32))){continue}break}b=g;if(1<<j&7168){continue}break}break u}v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=v[d>>2];if(!v[d+20>>2]){v[163920]=v[70116];f=v[70115];v[163918]=v[70114];v[163919]=f;f=v[70113];v[163916]=v[70112];v[163917]=f}f=i+m|0;x:{if(f>>>0>b>>>0){fc(d,f-b|0);break x}if(b>>>0<=f>>>0){break x}_b(d,b-f|0)}e=v[d+56>>2];if(!v[d+68>>2]){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=l<<4;while(1){f=v[d+8>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}if(e>>>0>=f>>>0){b=l+1|0;l=(b|0)==16?1:b;break p}else{t[(v[d+200>>2]+B(e,20)|0)+15|0]=b;e=e+1|0;continue}};case 8:m=v[d+148>>2];y:{z:{if(!f){break z}h=v[d+156>>2];k=v[d+152>>2];b=v[d+160>>2];n=v[d+180>>2];o=v[d+184>>2];while(1){f=f-1|0;if(!f){break z}g=b+20|0;k=h+k|0;A:{e=w[b+38|0];if(e){if((e|0)==14){break A}break y}if(!(w[b+36|0]&32)){break y}e=b;b=g;if(!(x[e+32>>1]&16)){continue}break y}p=v[v[n>>2]+76>>2];b=k;while(1){b=b+1|0;if(p>>>0<=b>>>0){break y}e=v[o>>2]+B(b,20)|0;j=x[e+16>>1];if(!(x[e+12>>1]&16?1:w[e+18|0]|!(j&32))){continue}break}b=g;if(1<<j&7168){continue}break}break y}v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=v[d>>2];if(!v[d+20>>2]){v[163920]=v[70116];f=v[70115];v[163918]=v[70114];v[163919]=f;f=v[70113];v[163916]=v[70112];v[163917]=f}f=i+m|0;B:{if(f>>>0>b>>>0){fc(d,f-b|0);break B}if(b>>>0<=f>>>0){break B}_b(d,b-f|0)}e=v[d+56>>2];if(!v[d+68>>2]){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=l<<4|3;while(1){f=v[d+8>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}if(e>>>0>=f>>>0){b=l+1|0;l=(b|0)==16?1:b;break p}else{t[(v[d+200>>2]+B(e,20)|0)+15|0]=b;e=e+1|0;continue}};case 6:m=v[d+148>>2];C:{D:{if(!f){break D}h=v[d+156>>2];k=v[d+152>>2];b=v[d+160>>2];n=v[d+180>>2];o=v[d+184>>2];while(1){f=f-1|0;if(!f){break D}g=b+20|0;k=h+k|0;E:{e=w[b+38|0];if(e){if((e|0)==14){break E}break C}if(!(w[b+36|0]&32)){break C}e=b;b=g;if(!(x[e+32>>1]&16)){continue}break C}p=v[v[n>>2]+76>>2];b=k;while(1){b=b+1|0;if(p>>>0<=b>>>0){break C}e=v[o>>2]+B(b,20)|0;j=x[e+16>>1];if(!(x[e+12>>1]&16?1:w[e+18|0]|!(j&32))){continue}break}b=g;if(1<<j&7168){continue}break}break C}v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=v[d>>2];if(!v[d+20>>2]){v[163920]=v[70116];f=v[70115];v[163918]=v[70114];v[163919]=f;f=v[70113];v[163916]=v[70112];v[163917]=f}f=i+m|0;F:{if(f>>>0>b>>>0){fc(d,f-b|0);break F}if(b>>>0<=f>>>0){break F}_b(d,b-f|0)}e=v[d+56>>2];if(!v[d+68>>2]){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=l<<4|8;while(1){f=v[d+8>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}if(e>>>0>=f>>>0){b=l+1|0;l=(b|0)==16?1:b;break p}else{t[(v[d+200>>2]+B(e,20)|0)+15|0]=b;e=e+1|0;continue}};case 5:m=v[d+148>>2];G:{H:{if(!f){break H}h=v[d+156>>2];k=v[d+152>>2];b=v[d+160>>2];n=v[d+180>>2];o=v[d+184>>2];while(1){f=f-1|0;if(!f){break H}g=b+20|0;k=h+k|0;I:{e=w[b+38|0];if(e){if((e|0)==14){break I}break G}if(!(w[b+36|0]&32)){break G}e=b;b=g;if(!(x[e+32>>1]&16)){continue}break G}p=v[v[n>>2]+76>>2];b=k;while(1){b=b+1|0;if(p>>>0<=b>>>0){break G}e=v[o>>2]+B(b,20)|0;j=x[e+16>>1];if(!(x[e+12>>1]&16?1:w[e+18|0]|!(j&32))){continue}break}b=g;if(1<<j&7168){continue}break}break G}v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=v[d>>2];if(!v[d+20>>2]){v[163920]=v[70116];f=v[70115];v[163918]=v[70114];v[163919]=f;f=v[70113];v[163916]=v[70112];v[163917]=f}f=i+m|0;J:{if(f>>>0>b>>>0){fc(d,f-b|0);break J}if(b>>>0<=f>>>0){break J}_b(d,b-f|0)}e=v[d+56>>2];if(!v[d+68>>2]){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=l<<4|9;while(1){f=v[d+8>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}if(e>>>0>=f>>>0){b=l+1|0;l=(b|0)==16?1:b;break p}else{t[(v[d+200>>2]+B(e,20)|0)+15|0]=b;e=e+1|0;continue}};case 9:if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=v[d>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}K:{if(b>>>0<i>>>0){fc(d,i-b|0);break K}if(b>>>0<=i>>>0){break K}_b(d,b-i|0)}m=v[d+148>>2];L:{M:{if(!f){break M}o=v[d+156>>2];g=v[d+152>>2];b=v[d+160>>2];k=v[d+168>>2];p=v[d+180>>2];r=v[d+184>>2];j=f;while(1){h=(k|0)!=0;j=h+j|0;if(!j){break M}n=B(k?-1:0,20);e=n+b|0;g=g-o|0;k=k-h|0;N:{h=b+n|0;b=w[h+18|0];if(b){if((b|0)==14){break N}break L}if(!(w[h+16|0]&32)){break L}b=e;if(!(x[h+12>>1]&16)){continue}break L}q=v[v[p>>2]+76>>2];b=g;while(1){b=b+1|0;if(q>>>0<=b>>>0){break L}h=v[r>>2]+B(b,20)|0;n=x[h+16>>1];if(!(x[h+12>>1]&16?1:w[h+18|0]|!(n&32))){continue}break}b=e;if(1<<n&7168){continue}break}break L}v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}O:{if(i>>>0<m>>>0){fc(d+144|0,0-m|0);break O}if(i>>>0<=i-m>>>0){break O}_b(d+144|0,m)}e=v[d+56>>2];if(!v[d+68>>2]){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=l<<4|1;while(1){f=v[d+8>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}if(e>>>0>=f>>>0){b=l+1|0;l=(b|0)==16?1:b;break p}else{t[(v[d+200>>2]+B(e,20)|0)+15|0]=b;e=e+1|0;continue}};case 10:if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=v[d>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}P:{if(b>>>0<i>>>0){fc(d,i-b|0);break P}if(b>>>0<=i>>>0){break P}_b(d,b-i|0)}m=v[d+148>>2];Q:{R:{if(!f){break R}o=v[d+156>>2];g=v[d+152>>2];b=v[d+160>>2];k=v[d+168>>2];p=v[d+180>>2];r=v[d+184>>2];j=f;while(1){h=(k|0)!=0;j=h+j|0;if(!j){break R}n=B(k?-1:0,20);e=n+b|0;g=g-o|0;k=k-h|0;S:{h=b+n|0;b=w[h+18|0];if(b){if((b|0)==14){break S}break Q}if(!(w[h+16|0]&32)){break Q}b=e;if(!(x[h+12>>1]&16)){continue}break Q}q=v[v[p>>2]+76>>2];b=g;while(1){b=b+1|0;if(q>>>0<=b>>>0){break Q}h=v[r>>2]+B(b,20)|0;n=x[h+16>>1];if(!(x[h+12>>1]&16?1:w[h+18|0]|!(n&32))){continue}break}b=e;if(1<<n&7168){continue}break}break Q}v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}T:{if(i>>>0<m>>>0){fc(d+144|0,0-m|0);break T}if(i>>>0<=i-m>>>0){break T}_b(d+144|0,m)}e=v[d+56>>2];if(!v[d+68>>2]){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=l<<4|2;while(1){f=v[d+8>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}if(e>>>0>=f>>>0){b=l+1|0;l=(b|0)==16?1:b;break p}else{t[(v[d+200>>2]+B(e,20)|0)+15|0]=b;e=e+1|0;continue}};case 7:if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=v[d>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}U:{if(b>>>0<i>>>0){fc(d,i-b|0);break U}if(b>>>0<=i>>>0){break U}_b(d,b-i|0)}m=v[d+148>>2];V:{W:{if(!f){break W}o=v[d+156>>2];g=v[d+152>>2];b=v[d+160>>2];k=v[d+168>>2];p=v[d+180>>2];r=v[d+184>>2];j=f;while(1){h=(k|0)!=0;j=h+j|0;if(!j){break W}n=B(k?-1:0,20);e=n+b|0;g=g-o|0;k=k-h|0;X:{h=b+n|0;b=w[h+18|0];if(b){if((b|0)==14){break X}break V}if(!(w[h+16|0]&32)){break V}b=e;if(!(x[h+12>>1]&16)){continue}break V}q=v[v[p>>2]+76>>2];b=g;while(1){b=b+1|0;if(q>>>0<=b>>>0){break V}h=v[r>>2]+B(b,20)|0;n=x[h+16>>1];if(!(x[h+12>>1]&16?1:w[h+18|0]|!(n&32))){continue}break}b=e;if(1<<n&7168){continue}break}break V}v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}Y:{if(i>>>0<m>>>0){fc(d+144|0,0-m|0);break Y}if(i>>>0<=i-m>>>0){break Y}_b(d+144|0,m)}e=v[d+56>>2];if(!v[d+68>>2]){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=l<<4|3;while(1){f=v[d+8>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}if(e>>>0>=f>>>0){b=l+1|0;l=(b|0)==16?1:b;break p}else{t[(v[d+200>>2]+B(e,20)|0)+15|0]=b;e=e+1|0;continue}};case 12:if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=v[d>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}Z:{if(b>>>0<i>>>0){fc(d,i-b|0);break Z}if(b>>>0<=i>>>0){break Z}_b(d,b-i|0)}m=v[d+148>>2];_:{$:{if(!f){break $}o=v[d+156>>2];g=v[d+152>>2];b=v[d+160>>2];k=v[d+168>>2];p=v[d+180>>2];r=v[d+184>>2];j=f;while(1){h=(k|0)!=0;j=h+j|0;if(!j){break $}n=B(k?-1:0,20);e=n+b|0;g=g-o|0;k=k-h|0;aa:{h=b+n|0;b=w[h+18|0];if(b){if((b|0)==14){break aa}break _}if(!(w[h+16|0]&32)){break _}b=e;if(!(x[h+12>>1]&16)){continue}break _}q=v[v[p>>2]+76>>2];b=g;while(1){b=b+1|0;if(q>>>0<=b>>>0){break _}h=v[r>>2]+B(b,20)|0;n=x[h+16>>1];if(!(x[h+12>>1]&16?1:w[h+18|0]|!(n&32))){continue}break}b=e;if(1<<n&7168){continue}break}break _}v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}ba:{if(i>>>0<m>>>0){fc(d+144|0,0-m|0);break ba}if(i>>>0<=i-m>>>0){break ba}_b(d+144|0,m)}e=v[d+56>>2];if(!v[d+68>>2]){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=l<<4|4;while(1){f=v[d+8>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}if(e>>>0>=f>>>0){b=l+1|0;l=(b|0)==16?1:b;break p}else{t[(v[d+200>>2]+B(e,20)|0)+15|0]=b;e=e+1|0;continue}};case 11:if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=v[d>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}ca:{if(b>>>0<i>>>0){fc(d,i-b|0);break ca}if(b>>>0<=i>>>0){break ca}_b(d,b-i|0)}m=v[d+148>>2];da:{ea:{if(!f){break ea}o=v[d+156>>2];g=v[d+152>>2];b=v[d+160>>2];k=v[d+168>>2];p=v[d+180>>2];r=v[d+184>>2];j=f;while(1){h=(k|0)!=0;j=h+j|0;if(!j){break ea}n=B(k?-1:0,20);e=n+b|0;g=g-o|0;k=k-h|0;fa:{h=b+n|0;b=w[h+18|0];if(b){if((b|0)==14){break fa}break da}if(!(w[h+16|0]&32)){break da}b=e;if(!(x[h+12>>1]&16)){continue}break da}q=v[v[p>>2]+76>>2];b=g;while(1){b=b+1|0;if(q>>>0<=b>>>0){break da}h=v[r>>2]+B(b,20)|0;n=x[h+16>>1];if(!(x[h+12>>1]&16?1:w[h+18|0]|!(n&32))){continue}break}b=e;if(1<<n&7168){continue}break}break da}v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}ga:{if(i>>>0<m>>>0){fc(d+144|0,0-m|0);break ga}if(i>>>0<=i-m>>>0){break ga}_b(d+144|0,m)}e=v[d+56>>2];if(!v[d+68>>2]){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=l<<4|5;while(1){f=v[d+8>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}if(e>>>0>=f>>>0){b=l+1|0;l=(b|0)==16?1:b;break p}else{t[(v[d+200>>2]+B(e,20)|0)+15|0]=b;e=e+1|0;continue}};case 13:if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=v[d>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}ha:{if(b>>>0<i>>>0){fc(d,i-b|0);break ha}if(b>>>0<=i>>>0){break ha}_b(d,b-i|0)}m=v[d+148>>2];ia:{ja:{if(!f){break ja}o=v[d+156>>2];g=v[d+152>>2];b=v[d+160>>2];k=v[d+168>>2];p=v[d+180>>2];r=v[d+184>>2];j=f;while(1){h=(k|0)!=0;j=h+j|0;if(!j){break ja}n=B(k?-1:0,20);e=n+b|0;g=g-o|0;k=k-h|0;ka:{h=b+n|0;b=w[h+18|0];if(b){if((b|0)==14){break ka}break ia}if(!(w[h+16|0]&32)){break ia}b=e;if(!(x[h+12>>1]&16)){continue}break ia}q=v[v[p>>2]+76>>2];b=g;while(1){b=b+1|0;if(q>>>0<=b>>>0){break ia}h=v[r>>2]+B(b,20)|0;n=x[h+16>>1];if(!(x[h+12>>1]&16?1:w[h+18|0]|!(n&32))){continue}break}b=e;if(1<<n&7168){continue}break}break ia}v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}la:{if(i>>>0<m>>>0){fc(d+144|0,0-m|0);break la}if(i>>>0<=i-m>>>0){break la}_b(d+144|0,m)}e=v[d+56>>2];if(!v[d+68>>2]){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=l<<4|6;while(1){f=v[d+8>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}if(e>>>0>=f>>>0){b=l+1|0;l=(b|0)==16?1:b;break p}else{t[(v[d+200>>2]+B(e,20)|0)+15|0]=b;e=e+1|0;continue}};case 16:if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=v[d>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}ma:{if(b>>>0<i>>>0){fc(d,i-b|0);break ma}if(b>>>0<=i>>>0){break ma}_b(d,b-i|0)}m=v[d+148>>2];na:{oa:{if(!f){break oa}o=v[d+156>>2];g=v[d+152>>2];b=v[d+160>>2];k=v[d+168>>2];p=v[d+180>>2];r=v[d+184>>2];j=f;while(1){h=(k|0)!=0;j=h+j|0;if(!j){break oa}n=B(k?-1:0,20);e=n+b|0;g=g-o|0;k=k-h|0;pa:{h=b+n|0;b=w[h+18|0];if(b){if((b|0)==14){break pa}break na}if(!(w[h+16|0]&32)){break na}b=e;if(!(x[h+12>>1]&16)){continue}break na}q=v[v[p>>2]+76>>2];b=g;while(1){b=b+1|0;if(q>>>0<=b>>>0){break na}h=v[r>>2]+B(b,20)|0;n=x[h+16>>1];if(!(x[h+12>>1]&16?1:w[h+18|0]|!(n&32))){continue}break}b=e;if(1<<n&7168){continue}break}break na}v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}qa:{if(i>>>0<m>>>0){fc(d+144|0,0-m|0);break qa}if(i>>>0<=i-m>>>0){break qa}_b(d+144|0,m)}e=v[d+56>>2];if(!v[d+68>>2]){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=l<<4|7;while(1){f=v[d+8>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}if(e>>>0>=f>>>0){b=l+1|0;l=(b|0)==16?1:b;break p}else{t[(v[d+200>>2]+B(e,20)|0)+15|0]=b;e=e+1|0;continue}};case 14:if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=v[d>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}ra:{if(b>>>0<i>>>0){fc(d,i-b|0);break ra}if(b>>>0<=i>>>0){break ra}_b(d,b-i|0)}m=v[d+148>>2];sa:{ta:{if(!f){break ta}o=v[d+156>>2];g=v[d+152>>2];b=v[d+160>>2];k=v[d+168>>2];p=v[d+180>>2];r=v[d+184>>2];j=f;while(1){h=(k|0)!=0;j=h+j|0;if(!j){break ta}n=B(k?-1:0,20);e=n+b|0;g=g-o|0;k=k-h|0;ua:{h=b+n|0;b=w[h+18|0];if(b){if((b|0)==14){break ua}break sa}if(!(w[h+16|0]&32)){break sa}b=e;if(!(x[h+12>>1]&16)){continue}break sa}q=v[v[p>>2]+76>>2];b=g;while(1){b=b+1|0;if(q>>>0<=b>>>0){break sa}h=v[r>>2]+B(b,20)|0;n=x[h+16>>1];if(!(x[h+12>>1]&16?1:w[h+18|0]|!(n&32))){continue}break}b=e;if(1<<n&7168){continue}break}break sa}v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}va:{if(i>>>0<m>>>0){fc(d+144|0,0-m|0);break va}if(i>>>0<=i-m>>>0){break va}_b(d+144|0,m)}e=v[d+56>>2];if(!v[d+68>>2]){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=l<<4|8;while(1){f=v[d+8>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}if(e>>>0>=f>>>0){b=l+1|0;l=(b|0)==16?1:b;break p}else{t[(v[d+200>>2]+B(e,20)|0)+15|0]=b;e=e+1|0;continue}};case 15:if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=v[d>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}wa:{if(b>>>0<i>>>0){fc(d,i-b|0);break wa}if(b>>>0<=i>>>0){break wa}_b(d,b-i|0)}m=v[d+148>>2];xa:{ya:{if(!f){break ya}o=v[d+156>>2];g=v[d+152>>2];b=v[d+160>>2];k=v[d+168>>2];p=v[d+180>>2];r=v[d+184>>2];j=f;while(1){h=(k|0)!=0;j=h+j|0;if(!j){break ya}n=B(k?-1:0,20);e=n+b|0;g=g-o|0;k=k-h|0;za:{h=b+n|0;b=w[h+18|0];if(b){if((b|0)==14){break za}break xa}if(!(w[h+16|0]&32)){break xa}b=e;if(!(x[h+12>>1]&16)){continue}break xa}q=v[v[p>>2]+76>>2];b=g;while(1){b=b+1|0;if(q>>>0<=b>>>0){break xa}h=v[r>>2]+B(b,20)|0;n=x[h+16>>1];if(!(x[h+12>>1]&16?1:w[h+18|0]|!(n&32))){continue}break}b=e;if(1<<n&7168){continue}break}break xa}v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}Aa:{if(i>>>0<m>>>0){fc(d+144|0,0-m|0);break Aa}if(i>>>0<=i-m>>>0){break Aa}_b(d+144|0,m)}e=v[d+56>>2];if(!v[d+68>>2]){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=l<<4|9;while(1){f=v[d+8>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}if(e>>>0>=f>>>0){b=l+1|0;l=(b|0)==16?1:b;break p}else{t[(v[d+200>>2]+B(e,20)|0)+15|0]=b;e=e+1|0;continue}};case 0:break q;default:break p}}n=v[d+4>>2];o=v[d>>2];Ba:{Ca:{j=v[d+20>>2];if(!j){break Ca}p=v[d+12>>2];g=v[d+8>>2];b=v[d+16>>2];k=v[d+24>>2];r=v[d+36>>2];q=v[d+40>>2];while(1){m=(k|0)!=0;j=m+j|0;if(!j){break Ca}h=B(k?-1:0,20);e=h+b|0;g=g-p|0;k=k-m|0;Da:{m=b+h|0;b=w[m+18|0];if(b){if((b|0)==14){break Da}break Ba}if(!(w[m+16|0]&32)){break Ba}b=e;if(!(x[m+12>>1]&16)){continue}break Ba}z=v[v[r>>2]+76>>2];b=g;while(1){b=b+1|0;if(z>>>0<=b>>>0){break Ba}m=v[q>>2]+B(b,20)|0;h=x[m+16>>1];if(!(x[m+12>>1]&16?1:w[m+18|0]|!(h&32))){continue}break}b=e;if(1<<h&7168){continue}break}break Ba}v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}if(!f){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=o-n|0;Ea:{if(b>>>0>i>>>0){fc(d+144|0,b-i|0);break Ea}if(b>>>0>=i>>>0){break Ea}_b(d+144|0,i-b|0)}e=v[d+56>>2];if(!v[d+68>>2]){v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=l<<4|8;while(1){f=v[d+8>>2];if(!v[d+20>>2]){v[163920]=v[70116];g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g}if(e>>>0>=f>>>0){b=l+1|0;l=(b|0)==16?1:b}else{t[(v[d+200>>2]+B(e,20)|0)+15|0]=b;e=e+1|0;continue}break}}b=v[d+144>>2];g=v[d+164>>2];if(!g){v[163920]=v[70116];f=v[70115];v[163918]=v[70114];v[163919]=f;f=v[70113];v[163916]=v[70112];v[163917]=f}if(!y){v[163920]=v[70116];f=v[70115];v[163918]=v[70114];v[163919]=f;f=v[70113];v[163916]=v[70112];v[163917]=f}if((b|0)!=(A|0)){j=t[s+265824|0];Fa:{if(w[j+266048|0]!=3){break Fa}f=v[d+48>>2];if(!v[d+68>>2]){v[163920]=v[70116];e=v[70115];v[163918]=v[70114];v[163919]=e;e=v[70113];v[163916]=v[70112];v[163917]=e}if(!f){break Fa}_b(d+48|0,f)}m=b+v[d+148>>2]|0;v[d+144>>2]=m;f=0;if(!g){continue}b=v[d+168>>2];f=v[d+164>>2];C=v[d+180>>2];D=v[d+184>>2];h=v[d+160>>2];i=v[d+152>>2];z=v[d+156>>2];Ga:{Ha:{while(1){o=i;k=f;p=b;n=b;r=h;e=h;f=g;Ia:{while(1){f=f-1|0;if(!f){break Ha}h=e+20|0;b=b+1|0;i=i+z|0;q=w[e+38|0];if(q){break Ia}if(w[e+36|0]&32){q=e;e=h;if(!(x[q+32>>1]&16)){continue}}break}v[d+168>>2]=n;v[d+164>>2]=k;break Ga}v[d+160>>2]=h;Ja:{if((q|0)!=14){break Ja}n=v[v[C>>2]+76>>2];e=i;while(1){e=e+1|0;if(n>>>0<=e>>>0){break Ja}g=v[D>>2]+B(e,20)|0;k=x[g+16>>1];if(!(x[g+12>>1]&16?1:w[g+18|0]|!(k&32))){continue}break}g=f;if(1<<k&7168){continue}}break}v[d+168>>2]=b;v[d+164>>2]=f;v[d+152>>2]=i;continue}v[d+168>>2]=n;v[d+164>>2]=k;b=g+p|0;h=r+B(g,20)|0;i=o+B(g,z)|0}v[d+168>>2]=b;v[d+164>>2]=f;v[d+152>>2]=i;v[d+160>>2]=h;continue}break}Ka:{La:{b=v[c+76>>2];if(b){f=b-1|0;e=0;g=v[c+88>>2];j=w[g+15|0];while(1){Ma:{if((e|0)==(f|0)){e=b;break Ma}e=e+1|0;if((j|0)==w[(g+B(e,20)|0)+15|0]){continue}}break}f=0;if(b){break La}}g=0;break Ka}g=b;while(1){j=e;if(e-f>>>0>=2){Mb(c,f,j);g=v[c+76>>2]}f=j+1|0;f=g>>>0>f>>>0?g:f;l=f-1|0;k=v[c+88>>2];i=w[(k+B(j,20)|0)+15|0];while(1){Na:{if((e|0)==(l|0)){e=f;break Na}e=e+1|0;if((i|0)==w[(k+B(e,20)|0)+15|0]){continue}}break}f=j;if(f>>>0<b>>>0){continue}break}}k=v[a+112>>2];l=v[k>>2];if(!(!l|!g)){b=g-1|0;f=0;j=v[c+88>>2];e=w[j+15|0];while(1){Oa:{if((b|0)==(f|0)){f=g;break Oa}f=f+1|0;if((e|0)==w[(j+B(f,20)|0)+15|0]){continue}}break}e=0;while(1){b=f;f=b-e|0;f=w[(j+B(e,20)|0)+18|0]==18?1:f>>>0<3?f:3;i=f+e|0;Pa:{if(i>>>0<=e>>>0){break Pa}m=f-1|0;if(f){while(1){h=j+B(e,20)|0;v[h+4>>2]=l|v[h+4>>2];e=e+1|0;f=f-1|0;if(f){continue}break}}if(m>>>0<=2){break Pa}while(1){f=j+B(e,20)|0;v[f+4>>2]=l|v[f+4>>2];v[f+24>>2]=l|v[f+24>>2];v[f+44>>2]=l|v[f+44>>2];f=f- -64|0;v[f>>2]=l|v[f>>2];e=e+4|0;if((i|0)!=(e|0)){continue}break}}f=b+1|0;e=g>>>0>f>>>0?g:f;i=e-1|0;m=w[(j+B(b,20)|0)+15|0];f=b;while(1){Qa:{if((f|0)==(i|0)){f=e;break Qa}f=f+1|0;if((m|0)==w[(j+B(f,20)|0)+15|0]){continue}}break}e=b;if(b>>>0<g>>>0){continue}break}}Ra:{if(v[k+4>>2]){break Ra}b=v[a+44>>2];if((b|0)<1){break Ra}j=v[a+36>>2];e=v[a+48>>2];i=0;f=b-1|0;b=f;Sa:{Ta:{while(1){a=b+i>>>1|0;l=v[e+B(a,36)>>2];Ua:{if(l>>>0>=1769172845){b=a-1|0;break Ua}if((l|0)==1769172844){break Ta}i=a+1|0}if((b|0)>=(i|0)){continue}break}a=0;break Sa}a=v[(e+B(a,36)|0)+28>>2]}i=0;l=(a|0)==(j|0)?0:a;v[d+144>>2]=l;b=f;Va:{while(1){a=b+i>>>1|0;k=v[e+B(a,36)>>2];Wa:{if(k>>>0<=1768843636){i=v[(e+B(a,36)|0)+28>>2];if((k|0)==1768843636){break Va}i=a+1|0;break Wa}b=a-1|0}if((b|0)>=(i|0)){continue}break}i=0}a=i;i=0;a=(a|0)==(j|0)?0:a;v[d+148>>2]=a;l=a|l;b=f;Xa:{while(1){a=b+i>>>1|0;k=v[e+B(a,36)>>2];Ya:{if(k>>>0<=1835361385){i=v[(e+B(a,36)|0)+28>>2];if((k|0)==1835361385){break Xa}i=a+1|0;break Ya}b=a-1|0}if((b|0)>=(i|0)){continue}break}i=0}a=i;b=0;a=(a|0)==(j|0)?0:a;v[d+152>>2]=a;k=a|l;m=d;Za:{while(1){l=b+f>>>1|0;i=v[e+B(l,36)>>2];_a:{if(i>>>0<=1718185569){b=v[(e+B(l,36)|0)+28>>2];if((i|0)==1718185569){break Za}b=l+1|0;break _a}f=l-1|0}if((b|0)<=(f|0)){continue}break}b=0}a=(b|0)==(j|0)?0:b;v[m+156>>2]=a;a=a|k;if(!a|!g){break Ra}f=a^-1;a=g-1|0;e=0;c=v[c+88>>2];h=w[c+15|0];b=h;$a:{while(1){if((a|0)!=(e|0)){e=e+1|0;if((b|0)==w[(c+B(e,20)|0)+15|0]){continue}break $a}break}e=g}l=0;i=0;k=4;while(1){a=l;l=e;b=h&15;ab:{if(b>>>0>9){break ab}if(!(1<<b&318)){k=4;break ab}n=0;bb:{cb:{switch(k|0){case 0:case 3:break cb;default:break bb}}n=3;if(a>>>0<=i>>>0){break bb}b=a+(i^-1)|0;e=v[(d+144|((k|0)==3?8:4))>>2];h=a-i&3;if(h){while(1){j=c+B(i,20)|0;v[j+4>>2]=e|f&v[j+4>>2];i=i+1|0;h=h-1|0;if(h){continue}break}}if(b>>>0<3){break bb}while(1){b=c+B(i,20)|0;v[b+4>>2]=e|f&v[b+4>>2];v[b+24>>2]=e|f&v[b+24>>2];v[b+44>>2]=e|f&v[b+44>>2];b=b- -64|0;v[b>>2]=e|f&v[b>>2];i=i+4|0;if((a|0)!=(i|0)){continue}break}}db:{if(a>>>0>=l>>>0){break db}j=v[(d+144|n<<2)>>2];e=a;h=l-e&3;if(h){while(1){b=c+B(e,20)|0;v[b+4>>2]=j|f&v[b+4>>2];e=e+1|0;h=h-1|0;if(h){continue}break}}if((a^-1)+l>>>0<3){break db}while(1){b=c+B(e,20)|0;v[b+4>>2]=j|f&v[b+4>>2];v[b+24>>2]=j|f&v[b+24>>2];v[b+44>>2]=j|f&v[b+44>>2];b=b- -64|0;v[b>>2]=j|f&v[b>>2];e=e+4|0;if((l|0)!=(e|0)){continue}break}}k=n}b=l+1|0;b=b>>>0<g>>>0?g:b;h=w[(c+B(l,20)|0)+15|0];e=l;while(1){eb:{e=e+1|0;if(g>>>0<=e>>>0){e=b;break eb}if(w[(c+B(e,20)|0)+15|0]==(h&255)){continue}}break}i=a;if(g>>>0>l>>>0){continue}break}}Ca=d+208|0}function Po(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,x=0,z=0,A=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;d=w[a+3|0]|w[a+2|0]<<8;gc(d?d+a|0:280448,v[b+12>>2]);L=w[a+11|0]|w[a+10|0]<<8;if(L){d=w[a+9|0]|w[a+8|0]<<8;x=d?d+a|0:280448;d=w[a+7|0]|w[a+6|0]<<8;z=d?d+a|0:280448;d=w[a+5|0]|w[a+4|0]<<8;A=d?d+a|0:280448;d=v[70113];m=d;n=v[70112];F=d;M=a+12|0;while(1){d=w[M+1|0]|w[M|0]<<8;N=d?d+a|0:280448;O=w[N|0]<<8|w[N+1|0];if(O){P=N+2|0;while(1){d=w[P+1|0]|w[P|0]<<8;f=d?d+N|0:280448;c=w[f+1|0];d=w[f|0];s=(c<<1|d<<9)+f|0;e=s;Q=w[e+3|0]|w[e+2|0]<<8;R=(e+2|0)+(Q?Q<<1:2)|0;r=w[R+1|0];q=w[R|0];S=(r<<1|q<<9)+R|0;I=w[S+2|0];J=w[S+3|0];H=c|d<<8;if(H){k=v[b+8>>2];C=f+2|0;while(1){i=w[C+1|0]|w[C|0]<<8;a:{b:{c:{d=w[A|0]|w[A+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}g=0;h=w[A+5|0];d=w[A+4|0];t=h|d<<8;if(!t){break a}while(1){d=(h&255|(d&255)<<8)>>>0>g>>>0?((g<<1)+A|0)+6|0:280448;d:{if(!w[k+12|0]|(i|0)!=(w[d|0]<<8|w[d+1|0])){break d}D=(w[A+3|0]|w[A+2|0]<<8)+g|0;if((D|0)==-1){break d}v[k+16>>2]=-1;p=D>>>9|0;f=v[k+40>>2];o=v[k+28>>2];e:{f:{if((o|0)<1){d=0;break f}l=v[k+32>>2];h=o-1|0;d=0;while(1){c=d+h>>>1|0;e=p-v[l+(c<<3)>>2]|0;g:{if((e|0)<=-1){h=c-1|0;break g}if(!e){d=c;break e}d=c+1|0}if((d|0)<=(h|0)){continue}break}}if(!hc(k,f+1|0)){break d}h:{if(f>>>0>=y[k+40>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;v[163916]=n;v[163917]=m;c=655664;break h}c=v[k+44>>2]+(f<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=d<<3;c=e+v[k+32>>2]|0;mb(c+8|0,c,v[k+28>>2]+(d^-1)<<3);i:{if(y[k+28>>2]<=d>>>0){v[163916]=n;v[163917]=m;e=655664;break i}e=e+v[k+32>>2]|0}v[e>>2]=p;v[e+4>>2]=f;o=v[k+28>>2]}j:{if(d>>>0>=o>>>0){v[163916]=n;v[163917]=m;d=F;break j}d=v[(v[k+32>>2]+(d<<3)|0)+4>>2]}k:{if(d>>>0>=y[k+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=n;v[163917]=m;d=655664;break k}c=v[k+44>>2];if(!c){break d}d=c+(d<<6)|0}c=d+(D>>>3&56)|0;d=c;e=v[c+4>>2];l=c;h=v[c>>2];c=D&63;f=c&31;if((c&63)>>>0>=32){c=1<<f;f=0}else{c=(1<<f)-1&1>>>32-f;f=1<<f}v[l>>2]=h|f;v[d+4>>2]=c|e}g=g+1|0;if((t|0)==(g|0)){break a}h=w[A+5|0];d=w[A+4|0];continue}}u=0;h=w[A+3|0];d=w[A+2|0];t=h|d<<8;if(!t){break a}while(1){e=(h&255|(d&255)<<8)>>>0>u>>>0?(B(u,6)+A|0)+4|0:280840;if(!(!w[k+12|0]|(i|0)!=(w[e+4|0]<<8|w[e+5|0]))){E=w[e+1|0];c=w[e|0];p=E|c<<8;G=w[e+3|0];d=w[e+2|0];D=G|d<<8;if(p>>>0>D>>>0){break a}v[k+16>>2]=-1;K=d>>>1|0;j=c>>>1|0;f=v[k+40>>2];g=0;d=0;o=v[k+28>>2];l:{m:{if((o|0)>=1){l=v[k+32>>2];h=o-1|0;while(1){c=d+h>>>1|0;e=j-v[(c<<3)+l>>2]|0;n:{if((e|0)<=-1){h=c-1|0;break n}if(!e){d=c;break m}d=c+1|0}if((d|0)<=(h|0)){continue}break}}if(!hc(k,f+1|0)){break l}o:{if(f>>>0>=y[k+40>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;v[163916]=n;v[163917]=m;c=655664;break o}c=v[k+44>>2]+(f<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=d<<3;c=e+v[k+32>>2]|0;mb(c+8|0,c,v[k+28>>2]+(d^-1)<<3);p:{if(y[k+28>>2]<=d>>>0){v[163916]=n;v[163917]=m;e=655664;break p}e=e+v[k+32>>2]|0}v[e>>2]=j;v[e+4>>2]=f;o=v[k+28>>2]}q:{if(d>>>0>=o>>>0){v[163916]=n;v[163917]=m;d=F;break q}d=v[(v[k+32>>2]+(d<<3)|0)+4>>2]}if(d>>>0>=y[k+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=n;v[163917]=m;g=655664;break l}g=v[k+44>>2]+(d<<6)|0}r:{if((j|0)==(K|0)){if(!g){break a}d=E&63;e=d&31;if((d&63)>>>0>=32){c=-1<<e;f=0}else{c=(1<<e)-1&-1>>>32-e|-1<<e;f=-1<<e}e=p>>>6&7;d=(e<<3)+g|0;l=e;e=D>>>6&7;if((l|0)!=(e|0)){c=c|v[d+4>>2];v[d>>2]=f|v[d>>2];v[d+4>>2]=c;c=d+8|0;d=(e<<3)+g|0;Ra(c,255,d-c|0);f=-1;c=-1}e=c;l=f;c=G&63;f=c&31;if((c&63)>>>0>=32){c=2<<f;f=0}else{c=(1<<f)-1&2>>>32-f;f=2<<f}l=l+f|0;c=c+e|0;c=f>>>0>l>>>0?c+1|0:c;f=l;break r}if(!g){break a}d=E&63;e=d&31;if((d&63)>>>0>=32){c=-1<<e;f=0}else{c=(1<<e)-1&-1>>>32-e|-1<<e;f=-1<<e}e=p>>>6&7;d=(e<<3)+g|0;if((e|0)!=7){c=c|v[d+4>>2];v[d>>2]=f|v[d>>2];v[d+4>>2]=c;c=d+8|0;d=g+56|0;Ra(c,255,d-c|0);f=-1;c=-1}c=c|v[d+4>>2];v[d>>2]=f|v[d>>2];v[d+4>>2]=c;o=j+1|0;if(K>>>0>o>>>0){while(1){p=o&8388607;f=v[k+40>>2];g=v[k+28>>2];s:{t:{if((g|0)<1){d=0;break t}l=v[k+32>>2];h=g-1|0;d=0;while(1){c=d+h>>>1|0;e=p-v[l+(c<<3)>>2]|0;u:{if((e|0)<=-1){h=c-1|0;break u}if(!e){d=c;break s}d=c+1|0}if((d|0)<=(h|0)){continue}break}}if(!hc(k,f+1|0)){break a}v:{if(f>>>0>=y[k+40>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;v[163916]=n;v[163917]=m;c=655664;break v}c=v[k+44>>2]+(f<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=d<<3;c=e+v[k+32>>2]|0;mb(c+8|0,c,v[k+28>>2]+(d^-1)<<3);w:{if(y[k+28>>2]<=d>>>0){v[163916]=n;v[163917]=m;e=655664;break w}e=e+v[k+32>>2]|0}v[e>>2]=p;v[e+4>>2]=f;g=v[k+28>>2]}x:{if(d>>>0>=g>>>0){v[163916]=n;v[163917]=m;d=F;break x}d=v[(v[k+32>>2]+(d<<3)|0)+4>>2]}y:{if(d>>>0>=y[k+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=n;v[163917]=m;d=655664;break y}c=v[k+44>>2];if(!c){break a}d=c+(d<<6)|0}v[d>>2]=-1;v[d+4>>2]=-1;v[d+56>>2]=-1;v[d+60>>2]=-1;v[d+48>>2]=-1;v[d+52>>2]=-1;v[d+40>>2]=-1;v[d+44>>2]=-1;v[d+32>>2]=-1;v[d+36>>2]=-1;v[d+24>>2]=-1;v[d+28>>2]=-1;v[d+16>>2]=-1;v[d+20>>2]=-1;v[d+8>>2]=-1;v[d+12>>2]=-1;o=o+1|0;if((K|0)!=(o|0)){continue}break}}f=v[k+40>>2];g=v[k+28>>2];z:{A:{if((g|0)<1){d=0;break A}l=v[k+32>>2];h=g-1|0;d=0;while(1){c=d+h>>>1|0;e=K-v[l+(c<<3)>>2]|0;B:{if((e|0)<=-1){h=c-1|0;break B}if(!e){d=c;break z}d=c+1|0}if((d|0)<=(h|0)){continue}break}}if(!hc(k,f+1|0)){break a}C:{if(f>>>0>=y[k+40>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;v[163916]=n;v[163917]=m;c=655664;break C}c=v[k+44>>2]+(f<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=d<<3;c=e+v[k+32>>2]|0;mb(c+8|0,c,v[k+28>>2]+(d^-1)<<3);D:{if(y[k+28>>2]<=d>>>0){v[163916]=n;v[163917]=m;e=655664;break D}e=e+v[k+32>>2]|0}v[e>>2]=K;v[e+4>>2]=f;g=v[k+28>>2]}E:{if(d>>>0>=g>>>0){v[163916]=n;v[163917]=m;d=F;break E}d=v[(v[k+32>>2]+(d<<3)|0)+4>>2]}F:{if(d>>>0>=y[k+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=n;v[163917]=m;d=655664;break F}c=v[k+44>>2];if(!c){break a}d=c+(d<<6)|0}c=D>>>6&7;if(c){v[d>>2]=-1;v[d+4>>2]=-1;c=c<<3;Ra(d+8|0,255,c-8|0);d=c+d|0}c=G&63;e=c&31;if((c&63)>>>0>=32){c=2<<e;e=0}else{c=(1<<e)-1&2>>>32-e;e=2<<e}f=e-1|0;c=c-(e>>>0<1)|0}c=c|v[d+4>>2];v[d>>2]=f|v[d>>2];v[d+4>>2]=c}u=u+1|0;if((t|0)==(u|0)){break a}h=w[A+3|0];d=w[A+2|0];continue}}C=C+2|0;H=H-1|0;if(H){continue}break}}I=I<<8;H=r|q<<8;G:{if(!Q){break G}G=Q-1|0;if(!G){break G}C=s+4|0;j=v[b+12>>2];while(1){D=w[C+1|0]|w[C|0]<<8;H:{I:{J:{d=w[z|0]|w[z+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break I;case 0:break J;default:break H}}g=0;h=w[z+5|0];d=w[z+4|0];t=h|d<<8;if(!t){break H}while(1){d=(h&255|(d&255)<<8)>>>0>g>>>0?((g<<1)+z|0)+6|0:280448;K:{if(!w[j+12|0]|(D|0)!=(w[d|0]<<8|w[d+1|0])){break K}r=(w[z+3|0]|w[z+2|0]<<8)+g|0;if((r|0)==-1){break K}v[j+16>>2]=-1;q=r>>>9|0;f=v[j+40>>2];o=v[j+28>>2];L:{M:{if((o|0)<1){d=0;break M}l=v[j+32>>2];h=o-1|0;d=0;while(1){c=d+h>>>1|0;e=q-v[l+(c<<3)>>2]|0;N:{if((e|0)<=-1){h=c-1|0;break N}if(!e){d=c;break L}d=c+1|0}if((d|0)<=(h|0)){continue}break}}if(!hc(j,f+1|0)){break K}O:{if(f>>>0>=y[j+40>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;v[163916]=n;v[163917]=m;c=655664;break O}c=v[j+44>>2]+(f<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=d<<3;c=e+v[j+32>>2]|0;mb(c+8|0,c,v[j+28>>2]+(d^-1)<<3);P:{if(y[j+28>>2]<=d>>>0){v[163916]=n;v[163917]=m;e=655664;break P}e=e+v[j+32>>2]|0}v[e>>2]=q;v[e+4>>2]=f;o=v[j+28>>2]}Q:{if(d>>>0>=o>>>0){v[163916]=n;v[163917]=m;d=F;break Q}d=v[(v[j+32>>2]+(d<<3)|0)+4>>2]}R:{if(d>>>0>=y[j+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=n;v[163917]=m;d=655664;break R}c=v[j+44>>2];if(!c){break K}d=c+(d<<6)|0}c=d+(r>>>3&56)|0;d=c;e=v[c+4>>2];l=c;s=v[c>>2];c=r&63;f=c&31;if((c&63)>>>0>=32){c=1<<f;f=0}else{c=(1<<f)-1&1>>>32-f;f=1<<f}v[l>>2]=s|f;v[d+4>>2]=c|e}g=g+1|0;if((t|0)==(g|0)){break H}h=w[z+5|0];d=w[z+4|0];continue}}u=0;h=w[z+3|0];d=w[z+2|0];t=h|d<<8;if(!t){break H}while(1){e=(h&255|(d&255)<<8)>>>0>u>>>0?(B(u,6)+z|0)+4|0:280840;if(!(!w[j+12|0]|(D|0)!=(w[e+4|0]<<8|w[e+5|0]))){p=w[e+1|0];c=w[e|0];q=p|c<<8;s=w[e+3|0];d=w[e+2|0];r=s|d<<8;if(q>>>0>r>>>0){break H}v[j+16>>2]=-1;i=d>>>1|0;E=c>>>1|0;f=v[j+40>>2];g=0;d=0;o=v[j+28>>2];S:{T:{if((o|0)>=1){l=v[j+32>>2];h=o-1|0;while(1){c=d+h>>>1|0;e=E-v[l+(c<<3)>>2]|0;U:{if((e|0)<=-1){h=c-1|0;break U}if(!e){d=c;break T}d=c+1|0}if((d|0)<=(h|0)){continue}break}}if(!hc(j,f+1|0)){break S}V:{if(f>>>0>=y[j+40>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;v[163916]=n;v[163917]=m;c=655664;break V}c=v[j+44>>2]+(f<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=d<<3;c=e+v[j+32>>2]|0;mb(c+8|0,c,v[j+28>>2]+(d^-1)<<3);W:{if(y[j+28>>2]<=d>>>0){v[163916]=n;v[163917]=m;e=655664;break W}e=e+v[j+32>>2]|0}v[e>>2]=E;v[e+4>>2]=f;o=v[j+28>>2]}X:{if(d>>>0>=o>>>0){v[163916]=n;v[163917]=m;d=F;break X}d=v[(v[j+32>>2]+(d<<3)|0)+4>>2]}if(d>>>0>=y[j+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=n;v[163917]=m;g=655664;break S}g=v[j+44>>2]+(d<<6)|0}Y:{if((i|0)==(E|0)){if(!g){break H}d=p&63;e=d&31;if((d&63)>>>0>=32){c=-1<<e;f=0}else{c=(1<<e)-1&-1>>>32-e|-1<<e;f=-1<<e}e=q>>>6&7;d=(e<<3)+g|0;l=e;e=r>>>6&7;if((l|0)!=(e|0)){c=c|v[d+4>>2];v[d>>2]=f|v[d>>2];v[d+4>>2]=c;c=d+8|0;d=(e<<3)+g|0;Ra(c,255,d-c|0);f=-1;c=-1}e=c;l=f;c=s&63;f=c&31;if((c&63)>>>0>=32){c=2<<f;f=0}else{c=(1<<f)-1&2>>>32-f;f=2<<f}l=l+f|0;c=c+e|0;c=f>>>0>l>>>0?c+1|0:c;f=l;break Y}if(!g){break H}d=p&63;e=d&31;if((d&63)>>>0>=32){c=-1<<e;f=0}else{c=(1<<e)-1&-1>>>32-e|-1<<e;f=-1<<e}e=q>>>6&7;d=(e<<3)+g|0;if((e|0)!=7){c=c|v[d+4>>2];v[d>>2]=f|v[d>>2];v[d+4>>2]=c;c=d+8|0;d=g+56|0;Ra(c,255,d-c|0);f=-1;c=-1}c=c|v[d+4>>2];v[d>>2]=f|v[d>>2];v[d+4>>2]=c;o=E+1|0;if(i>>>0>o>>>0){while(1){q=o&8388607;f=v[j+40>>2];g=v[j+28>>2];Z:{_:{if((g|0)<1){d=0;break _}l=v[j+32>>2];h=g-1|0;d=0;while(1){c=d+h>>>1|0;e=q-v[l+(c<<3)>>2]|0;$:{if((e|0)<=-1){h=c-1|0;break $}if(!e){d=c;break Z}d=c+1|0}if((d|0)<=(h|0)){continue}break}}if(!hc(j,f+1|0)){break H}aa:{if(f>>>0>=y[j+40>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;v[163916]=n;v[163917]=m;c=655664;break aa}c=v[j+44>>2]+(f<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=d<<3;c=e+v[j+32>>2]|0;mb(c+8|0,c,v[j+28>>2]+(d^-1)<<3);ba:{if(y[j+28>>2]<=d>>>0){v[163916]=n;v[163917]=m;e=655664;break ba}e=e+v[j+32>>2]|0}v[e>>2]=q;v[e+4>>2]=f;g=v[j+28>>2]}ca:{if(d>>>0>=g>>>0){v[163916]=n;v[163917]=m;d=F;break ca}d=v[(v[j+32>>2]+(d<<3)|0)+4>>2]}da:{if(d>>>0>=y[j+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=n;v[163917]=m;d=655664;break da}c=v[j+44>>2];if(!c){break H}d=c+(d<<6)|0}v[d>>2]=-1;v[d+4>>2]=-1;v[d+56>>2]=-1;v[d+60>>2]=-1;v[d+48>>2]=-1;v[d+52>>2]=-1;v[d+40>>2]=-1;v[d+44>>2]=-1;v[d+32>>2]=-1;v[d+36>>2]=-1;v[d+24>>2]=-1;v[d+28>>2]=-1;v[d+16>>2]=-1;v[d+20>>2]=-1;v[d+8>>2]=-1;v[d+12>>2]=-1;o=o+1|0;if((i|0)!=(o|0)){continue}break}}f=v[j+40>>2];g=v[j+28>>2];ea:{fa:{if((g|0)<1){d=0;break fa}l=v[j+32>>2];h=g-1|0;d=0;while(1){c=d+h>>>1|0;e=i-v[l+(c<<3)>>2]|0;ga:{if((e|0)<=-1){h=c-1|0;break ga}if(!e){d=c;break ea}d=c+1|0}if((d|0)<=(h|0)){continue}break}}if(!hc(j,f+1|0)){break H}ha:{if(f>>>0>=y[j+40>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;v[163916]=n;v[163917]=m;c=655664;break ha}c=v[j+44>>2]+(f<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=d<<3;c=e+v[j+32>>2]|0;mb(c+8|0,c,v[j+28>>2]+(d^-1)<<3);ia:{if(y[j+28>>2]<=d>>>0){v[163916]=n;v[163917]=m;e=655664;break ia}e=e+v[j+32>>2]|0}v[e>>2]=i;v[e+4>>2]=f;g=v[j+28>>2]}ja:{if(d>>>0>=g>>>0){v[163916]=n;v[163917]=m;d=F;break ja}d=v[(v[j+32>>2]+(d<<3)|0)+4>>2]}ka:{if(d>>>0>=y[j+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=n;v[163917]=m;d=655664;break ka}c=v[j+44>>2];if(!c){break H}d=c+(d<<6)|0}c=r>>>6&7;if(c){v[d>>2]=-1;v[d+4>>2]=-1;c=c<<3;Ra(d+8|0,255,c-8|0);d=c+d|0}c=s&63;e=c&31;if((c&63)>>>0>=32){c=2<<e;e=0}else{c=(1<<e)-1&2>>>32-e;e=2<<e}f=e-1|0;c=c-(e>>>0<1)|0}c=c|v[d+4>>2];v[d>>2]=f|v[d>>2];v[d+4>>2]=c}u=u+1|0;if((t|0)==(u|0)){break H}h=w[z+3|0];d=w[z+2|0];continue}}C=C+2|0;G=G-1|0;if(G){continue}break}}if(H){C=R+2|0;i=v[b+16>>2];while(1){D=w[C+1|0]|w[C|0]<<8;la:{ma:{na:{d=w[x|0]|w[x+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break ma;case 0:break na;default:break la}}g=0;h=w[x+5|0];d=w[x+4|0];t=h|d<<8;if(!t){break la}while(1){d=(h&255|(d&255)<<8)>>>0>g>>>0?((g<<1)+x|0)+6|0:280448;oa:{if(!w[i+12|0]|(D|0)!=(w[d|0]<<8|w[d+1|0])){break oa}r=(w[x+3|0]|w[x+2|0]<<8)+g|0;if((r|0)==-1){break oa}v[i+16>>2]=-1;q=r>>>9|0;f=v[i+40>>2];o=v[i+28>>2];pa:{qa:{if((o|0)<1){d=0;break qa}l=v[i+32>>2];h=o-1|0;d=0;while(1){c=d+h>>>1|0;e=q-v[l+(c<<3)>>2]|0;ra:{if((e|0)<=-1){h=c-1|0;break ra}if(!e){d=c;break pa}d=c+1|0}if((d|0)<=(h|0)){continue}break}}if(!hc(i,f+1|0)){break oa}sa:{if(f>>>0>=y[i+40>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;v[163916]=n;v[163917]=m;c=655664;break sa}c=v[i+44>>2]+(f<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=d<<3;c=e+v[i+32>>2]|0;mb(c+8|0,c,v[i+28>>2]+(d^-1)<<3);ta:{if(y[i+28>>2]<=d>>>0){v[163916]=n;v[163917]=m;e=655664;break ta}e=e+v[i+32>>2]|0}v[e>>2]=q;v[e+4>>2]=f;o=v[i+28>>2]}ua:{if(d>>>0>=o>>>0){v[163916]=n;v[163917]=m;d=F;break ua}d=v[(v[i+32>>2]+(d<<3)|0)+4>>2]}va:{if(d>>>0>=y[i+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=n;v[163917]=m;d=655664;break va}c=v[i+44>>2];if(!c){break oa}d=c+(d<<6)|0}c=d+(r>>>3&56)|0;d=c;e=v[c+4>>2];l=c;s=v[c>>2];c=r&63;f=c&31;if((c&63)>>>0>=32){c=1<<f;f=0}else{c=(1<<f)-1&1>>>32-f;f=1<<f}v[l>>2]=s|f;v[d+4>>2]=c|e}g=g+1|0;if((t|0)==(g|0)){break la}h=w[x+5|0];d=w[x+4|0];continue}}u=0;h=w[x+3|0];d=w[x+2|0];t=h|d<<8;if(!t){break la}while(1){e=(h&255|(d&255)<<8)>>>0>u>>>0?(B(u,6)+x|0)+4|0:280840;if(!(!w[i+12|0]|(D|0)!=(w[e+4|0]<<8|w[e+5|0]))){p=w[e+1|0];c=w[e|0];q=p|c<<8;s=w[e+3|0];d=w[e+2|0];r=s|d<<8;if(q>>>0>r>>>0){break la}v[i+16>>2]=-1;E=d>>>1|0;G=c>>>1|0;f=v[i+40>>2];g=0;d=0;o=v[i+28>>2];wa:{xa:{if((o|0)>=1){l=v[i+32>>2];h=o-1|0;while(1){c=d+h>>>1|0;e=G-v[l+(c<<3)>>2]|0;ya:{if((e|0)<=-1){h=c-1|0;break ya}if(!e){d=c;break xa}d=c+1|0}if((d|0)<=(h|0)){continue}break}}if(!hc(i,f+1|0)){break wa}za:{if(f>>>0>=y[i+40>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;v[163916]=n;v[163917]=m;c=655664;break za}c=v[i+44>>2]+(f<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=d<<3;c=e+v[i+32>>2]|0;mb(c+8|0,c,v[i+28>>2]+(d^-1)<<3);Aa:{if(y[i+28>>2]<=d>>>0){v[163916]=n;v[163917]=m;e=655664;break Aa}e=e+v[i+32>>2]|0}v[e>>2]=G;v[e+4>>2]=f;o=v[i+28>>2]}Ba:{if(d>>>0>=o>>>0){v[163916]=n;v[163917]=m;d=F;break Ba}d=v[(v[i+32>>2]+(d<<3)|0)+4>>2]}if(d>>>0>=y[i+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=n;v[163917]=m;g=655664;break wa}g=v[i+44>>2]+(d<<6)|0}Ca:{if((E|0)==(G|0)){if(!g){break la}d=p&63;e=d&31;if((d&63)>>>0>=32){c=-1<<e;f=0}else{c=(1<<e)-1&-1>>>32-e|-1<<e;f=-1<<e}e=q>>>6&7;d=(e<<3)+g|0;l=e;e=r>>>6&7;if((l|0)!=(e|0)){c=c|v[d+4>>2];v[d>>2]=f|v[d>>2];v[d+4>>2]=c;c=d+8|0;d=(e<<3)+g|0;Ra(c,255,d-c|0);f=-1;c=-1}e=c;l=f;c=s&63;f=c&31;if((c&63)>>>0>=32){c=2<<f;f=0}else{c=(1<<f)-1&2>>>32-f;f=2<<f}l=l+f|0;c=c+e|0;c=f>>>0>l>>>0?c+1|0:c;f=l;break Ca}if(!g){break la}d=p&63;e=d&31;if((d&63)>>>0>=32){c=-1<<e;f=0}else{c=(1<<e)-1&-1>>>32-e|-1<<e;f=-1<<e}e=q>>>6&7;d=(e<<3)+g|0;if((e|0)!=7){c=c|v[d+4>>2];v[d>>2]=f|v[d>>2];v[d+4>>2]=c;c=d+8|0;d=g+56|0;Ra(c,255,d-c|0);f=-1;c=-1}c=c|v[d+4>>2];v[d>>2]=f|v[d>>2];v[d+4>>2]=c;o=G+1|0;if(E>>>0>o>>>0){while(1){q=o&8388607;f=v[i+40>>2];g=v[i+28>>2];Da:{Ea:{if((g|0)<1){d=0;break Ea}l=v[i+32>>2];h=g-1|0;d=0;while(1){c=d+h>>>1|0;e=q-v[l+(c<<3)>>2]|0;Fa:{if((e|0)<=-1){h=c-1|0;break Fa}if(!e){d=c;break Da}d=c+1|0}if((d|0)<=(h|0)){continue}break}}if(!hc(i,f+1|0)){break la}Ga:{if(f>>>0>=y[i+40>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;v[163916]=n;v[163917]=m;c=655664;break Ga}c=v[i+44>>2]+(f<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=d<<3;c=e+v[i+32>>2]|0;mb(c+8|0,c,v[i+28>>2]+(d^-1)<<3);Ha:{if(y[i+28>>2]<=d>>>0){v[163916]=n;v[163917]=m;e=655664;break Ha}e=e+v[i+32>>2]|0}v[e>>2]=q;v[e+4>>2]=f;g=v[i+28>>2]}Ia:{if(d>>>0>=g>>>0){v[163916]=n;v[163917]=m;d=F;break Ia}d=v[(v[i+32>>2]+(d<<3)|0)+4>>2]}Ja:{if(d>>>0>=y[i+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=n;v[163917]=m;d=655664;break Ja}c=v[i+44>>2];if(!c){break la}d=c+(d<<6)|0}v[d>>2]=-1;v[d+4>>2]=-1;v[d+56>>2]=-1;v[d+60>>2]=-1;v[d+48>>2]=-1;v[d+52>>2]=-1;v[d+40>>2]=-1;v[d+44>>2]=-1;v[d+32>>2]=-1;v[d+36>>2]=-1;v[d+24>>2]=-1;v[d+28>>2]=-1;v[d+16>>2]=-1;v[d+20>>2]=-1;v[d+8>>2]=-1;v[d+12>>2]=-1;o=o+1|0;if((E|0)!=(o|0)){continue}break}}f=v[i+40>>2];g=v[i+28>>2];Ka:{La:{if((g|0)<1){d=0;break La}l=v[i+32>>2];h=g-1|0;d=0;while(1){c=d+h>>>1|0;e=E-v[l+(c<<3)>>2]|0;Ma:{if((e|0)<=-1){h=c-1|0;break Ma}if(!e){d=c;break Ka}d=c+1|0}if((d|0)<=(h|0)){continue}break}}if(!hc(i,f+1|0)){break la}Na:{if(f>>>0>=y[i+40>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;v[163916]=n;v[163917]=m;c=655664;break Na}c=v[i+44>>2]+(f<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=d<<3;c=e+v[i+32>>2]|0;mb(c+8|0,c,v[i+28>>2]+(d^-1)<<3);Oa:{if(y[i+28>>2]<=d>>>0){v[163916]=n;v[163917]=m;e=655664;break Oa}e=e+v[i+32>>2]|0}v[e>>2]=E;v[e+4>>2]=f;g=v[i+28>>2]}Pa:{if(d>>>0>=g>>>0){v[163916]=n;v[163917]=m;d=F;break Pa}d=v[(v[i+32>>2]+(d<<3)|0)+4>>2]}Qa:{if(d>>>0>=y[i+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=n;v[163917]=m;d=655664;break Qa}c=v[i+44>>2];if(!c){break la}d=c+(d<<6)|0}c=r>>>6&7;if(c){v[d>>2]=-1;v[d+4>>2]=-1;c=c<<3;Ra(d+8|0,255,c-8|0);d=c+d|0}c=s&63;e=c&31;if((c&63)>>>0>=32){c=2<<e;e=0}else{c=(1<<e)-1&2>>>32-e;e=2<<e}f=e-1|0;c=c-(e>>>0<1)|0}c=c|v[d+4>>2];v[d>>2]=f|v[d>>2];v[d+4>>2]=c}u=u+1|0;if((t|0)==(u|0)){break la}h=w[x+3|0];d=w[x+2|0];continue}}C=C+2|0;H=H-1|0;if(H){continue}break}}I=I|J;if(I){t=S+4|0;g=0;while(1){Ra:{if(!v[b+32>>2]|!v[b+24>>2]|v[b+20>>2]==280448){break Ra}c=t+(g<<2)|0;d=w[c+2|0];J=w[c+3|0];s=d<<8|J;r=d>>>1|0;q=v[b+28>>2];d=v[q+28>>2];Sa:{if((d|0)<1){break Sa}f=v[q+32>>2];h=d-1|0;d=0;while(1){Ta:{l=d+h>>>1|0;e=f+(l<<3)|0;c=r-v[e>>2]|0;Ua:{if((c|0)<=-1){h=l-1|0;break Ua}if(!c){break Ta}d=l+1|0}if((d|0)<=(h|0)){continue}break Sa}break}c=v[e+4>>2];if(c>>>0>=y[q+40>>2]){d=280448}else{d=v[q+44>>2];if(!d){break Sa}d=d+(c<<6)|0}c=d+(s>>>3&56)|0;d=v[c>>2];e=v[c+4>>2];c=d;d=J&63;f=d&31;if(((d&63)>>>0>=32?e>>>f|0:((1<<f)-1&e)<<32-f|c>>>f)&1){break Ra}}d=b;f=v[d+12>>2];e=v[d+8>>2];c=v[d+16>>2];v[d+12>>2]=280448;v[d+16>>2]=280448;v[d+8>>2]=280448;v[d+32>>2]=v[d+32>>2]-1;Ea[v[d+24>>2]](d,s);v[d+16>>2]=c;v[d+8>>2]=e;v[d+12>>2]=f;v[d+32>>2]=v[d+32>>2]+1;p=v[d+28>>2];if(!w[p+12|0]){break Ra}v[p+16>>2]=-1;f=v[p+40>>2];q=v[p+28>>2];Va:{Wa:{if((q|0)<1){d=0;break Wa}l=v[p+32>>2];h=q-1|0;d=0;while(1){c=d+h>>>1|0;e=r-v[l+(c<<3)>>2]|0;Xa:{if((e|0)<=-1){h=c-1|0;break Xa}if(!e){d=c;break Va}d=c+1|0}if((d|0)<=(h|0)){continue}break}}if(!hc(p,f+1|0)){break Ra}Ya:{if(f>>>0>=y[p+40>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;v[163916]=n;v[163917]=m;c=655664;break Ya}c=v[p+44>>2]+(f<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=d<<3;c=e+v[p+32>>2]|0;mb(c+8|0,c,v[p+28>>2]+(d^-1)<<3);Za:{if(y[p+28>>2]<=d>>>0){v[163916]=n;v[163917]=m;e=655664;break Za}e=e+v[p+32>>2]|0}v[e>>2]=r;v[e+4>>2]=f;q=v[p+28>>2]}_a:{if(d>>>0>=q>>>0){v[163916]=n;v[163917]=m;d=F;break _a}d=v[(v[p+32>>2]+(d<<3)|0)+4>>2]}$a:{if(d>>>0>=y[p+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=n;v[163917]=m;d=655664;break $a}c=v[p+44>>2];if(!c){break Ra}d=c+(d<<6)|0}c=d+(s>>>3&56)|0;d=c;e=v[c+4>>2];l=c;s=v[c>>2];c=J&63;f=c&31;if((c&63)>>>0>=32){c=1<<f;f=0}else{c=(1<<f)-1&1>>>32-f;f=1<<f}v[l>>2]=s|f;v[d+4>>2]=c|e}g=g+1|0;if((I|0)!=(g|0)){continue}break}}P=P+2|0;O=O-1|0;if(O){continue}break}}M=M+2|0;L=L-1|0;if(L){continue}break}}}function TG(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,u=0;d=v[a>>2];if(d){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{c=v[d+4>>2];switch(c-2|0){case 45:break i;case 44:break j;case 43:break k;case 42:break l;case 41:break m;case 40:break n;case 39:break o;case 38:break p;case 37:break q;case 36:break r;case 35:break s;case 34:break t;case 33:break u;case 32:break v;case 31:break w;case 20:break x;case 19:break y;case 18:break z;case 16:case 17:break A;case 30:break B;case 52:break b;case 29:break C;case 28:break D;case 27:break E;case 26:break F;case 25:break G;case 24:break H;case 23:break I;case 22:break J;case 21:break K;case 14:break L;case 51:break c;case 13:break M;case 12:break N;case 11:break O;case 10:break P;case 9:break Q;case 8:break R;case 7:break S;case 6:break T;case 5:break U;case 3:break V;case 50:break d;case 2:break W;case 1:break X;case 0:break Y;case 49:break e;case 48:break f;case 47:break g;case 46:break h;default:break a}}h=Ca-16|0;Ca=h;e=ge(v[a>>2]+12|0);Z:{if(!e){db(a,2,511350,0);break Z}if(!w[e|0]){db(a,1,512461,0);break Z}d=v[a>>2];_:{if(!d){break _}$:{b=v[d+8>>2];if(!b){break $}c=v[b>>2];if(!c){break $}aa:{while(1){if(!Wa(c,512495)){t[c|0]=0;d=v[a>>2];g=v[b+4>>2];break aa}c=v[b+8>>2];b=b+8|0;if(c){continue}break}g=0}if(d){break $}break _}b=v[d+8>>2];if(!b){break _}c=v[b>>2];if(!c){break _}while(1){if(!Wa(c,512502)){t[c|0]=0;f=v[b+4>>2];break _}c=v[b+8>>2];b=b+8|0;if(c){continue}break}}b=Rs(a,e,g);if(!b){break Z}c=Oc(b);bc(b);b=Wb(c);if(b){while(1){ba:{if(v[a+2856>>2]|!w[b|0]){break ba}if(w[b|0]==126){if(!Ii()){break ba}}if(Ns(v[a+16>>2],b,0,f)){break ba}v[h>>2]=b;db(a,2,512507,h)}Wc(v[a>>2]+12|0);b=Wb(c);if(b){continue}break}}qc(c)}Ca=h+16|0;break a}b=0;j=Ca-16|0;Ca=j;c=v[a>>2];ca:{da:{if(!c){break da}c=v[c+8>>2];if(!c){break da}d=v[c>>2];if(!d){break da}while(1){if(Wa(d,512495)){d=v[c+8>>2];c=c+8|0;if(d){continue}break da}break}t[d|0]=0;c=v[c+4>>2];if(!c){break da}if(he(c,512546)){break da}b=Hs();if(!b){break ca}}d=Yi(v[a>>2]+12|0);ea:{if(!d){db(a,2,511350,0);if(b){break ea}break ca}if(!w[d|0]){db(a,1,512666,0);Pa(d);if(b){break ea}break ca}fa:{ga:{if(b){f=Xa(b);h=f+1|0;g=Xa(d);e=h+g|0;c=gb(b,e+1|0);if(!c){db(a,2,511350,0);Pa(b);b=d;break ea}t[c+f|0]=47;Ta(c+h|0,d,g);t[c+e|0]=0;Pa(d);if(!w[c|0]){break ga}b=c}else{b=d}if(v[a+2856>>2]){break fa}if(w[b|0]==126){if(!Ii()){break fa}}if(wl(v[a+16>>2],b)){break fa}v[j>>2]=b;db(a,2,512701,j);break fa}db(a,1,512666,0);b=c}Wc(v[a>>2]+12|0)}Pa(b)}Ca=j+16|0;break a}if(!ge(d+12|0)){db(a,2,511350,0);break a}Wc(v[a>>2]+12|0);break a}k=Ca-80|0;Ca=k;c=ge(v[a>>2]+12|0);ha:{if(!c){db(a,2,511350,0);break ha}ia:{ja:{ka:{b=v[a>>2];if(!b){l=1;break ka}l=1;d=v[b+8>>2];la:{if(!d){break la}b=v[d>>2];if(!b){break la}while(1){if(Wa(b,512746)){b=v[d+8>>2];d=d+8|0;if(b){continue}break la}break}t[b|0]=0;b=v[d+4>>2];if(!b){break la}v[k+64>>2]=0;if(!xh(b,k- -64|0)){v[k+48>>2]=b;db(a,1,512855,k+48|0)}l=v[k+64>>2]!=1}b=v[a>>2];if(!b){break ka}d=v[b+8>>2];j=0;ma:{if(!d){break ma}b=v[d>>2];j=0;if(!b){break ma}na:{while(1){if(!Wa(b,512761)){break na}b=v[d+8>>2];d=d+8|0;if(b){continue}break}j=0;break ma}t[b|0]=0;b=v[d+4>>2];j=0;if(!b){break ma}v[k+64>>2]=0;if(!xh(b,k- -64|0)){v[k+32>>2]=b;db(a,1,512855,k+32|0)}j=v[k+64>>2]==1}b=v[a>>2];if(!b){break ka}d=v[b+8>>2];if(!d){break ka}b=v[d>>2];if(!b){break ka}while(1){if(Wa(b,512495)){b=v[d+8>>2];d=d+8|0;if(b){continue}break ka}break}t[b|0]=0;b=v[d+4>>2];if(!b){break ka}if(he(b,512546)){break ka}d=0;b=Yb(515714);oa:{if(!v[163728]){break oa}if(b){d=ib(b);break oa}g=Yb(515686);if(g){e=Xa(g)}b=Va(e+9|0);if(!b){break oa}if(g){Ta(b,g,e)}d=b+e|0;t[d|0]=47;t[d+1|0]=46;t[d+2|0]=99;t[d+3|0]=111;t[d+4|0]=110;t[d+5|0]=102;t[d+6|0]=105;t[d+7|0]=103;t[b+(e+8|0)|0]=0;d=b}if(!d){break ha}i=Xa(d);f=i+1|0;g=Xa(c);e=f+g|0;b=gb(d,e+1|0);if(!b){db(a,2,511350,0);b=d;break ia}t[b+i|0]=47;Ta(b+f|0,c,g);t[b+e|0]=0;pa:{qa:{if(Ag(b)){break qa}if(!At(b)){c=b;ra:{sa:{if(!b){break sa}d=c;if((c|0)==512772){break ra}o=w[512772];if(!o){break sa}ta:while(1){f=c;c=c+1|0;d=w[f|0];if((d|0)!=(o|0)?d:0){continue}if((d|0)!=(o|0)){break sa}i=w[512773];n=!i;g=w[c|0];q=!g;ua:{if(!(!g|!i)){e=512773;d=c;if((g|0)!=(i|0)){continue}break ua}e=512773;d=c}while(1){if(!(n|q)){p=w[e+1|0];n=!p;d=d+1|0;i=w[d|0];q=!i;g=e+1|0;e=g;if(!i){continue}e=g;if(!p|(i|0)==(p|0)){continue}continue ta}break}break}h=n?f:0}d=h}if(d){break qa}}g=0;f=v[164109];if(f){break pa}while(1){f=ib(b);c=v[164109];v[164109]=c?c:f;if(!c){break pa}Pa(f);f=v[164109];if(!f){continue}break}break pa}g=v[164108];if(!g){f=0;while(1){g=ib(b);c=v[164108];v[164108]=c?c:g;if(!c){break pa}Pa(g);g=v[164108];if(!g){continue}break}}f=0}c=b;break ja}b=0}h=v[a+20>>2];e=Fs(v[h+4>>2]);v[a+20>>2]=e;d=v[h+16>>2];if(e){v[e+16>>2]=d}Es(v[a+20>>2],v[h+12>>2],v[h+8>>2]);e=k- -64|0;d=v[h+20>>2];v[e>>2]=d;d=v[d+4>>2];v[e+8>>2]=0;v[e+4>>2]=d;d=k- -64|0;if(v[d>>2]==v[h+20>>2]){d=v[d+4>>2]}else{d=0}if(d){vf(v[v[a+16>>2]+20>>2],k- -64|0);if(v[h>>2]!=-1){v[h>>2]=v[h>>2]+1}uf(v[v[a+16>>2]+20>>2],k- -64|0,h)}e=k- -64|0;d=v[h+24>>2];v[e>>2]=d;d=v[d+4>>2];v[e+8>>2]=0;v[e+4>>2]=d;d=k- -64|0;if(v[d>>2]==v[h+24>>2]){d=v[d+4>>2]}else{d=0}if(d){vf(v[v[a+16>>2]+24>>2],k- -64|0);if(v[h>>2]!=-1){v[h>>2]=v[h>>2]+1}uf(v[v[a+16>>2]+24>>2],k- -64|0,h)}e=k- -64|0;d=v[h+28>>2];v[e>>2]=d;d=v[d+4>>2];v[e+8>>2]=0;v[e+4>>2]=d;d=k- -64|0;if(v[d>>2]==v[h+28>>2]){d=v[d+4>>2]}else{d=0}if(d){vf(v[v[a+16>>2]+28>>2],k- -64|0);if(v[h>>2]!=-1){v[h>>2]=v[h>>2]+1}uf(v[v[a+16>>2]+28>>2],k- -64|0,h)}zl(h);va:{if(Ki(v[a+16>>2],c,l,!v[a+2856>>2])){h=vl(v[a+16>>2],c);wa:{if(!((h|0)!=0&j)|!g){break wa}d=Ca-96|0;Ca=d;e=xa(h|0,d+8|0)|0;if(e>>>0>=4294963201){v[164114]=0-e;e=-1}Ca=d+96|0;if(!e&(v[d+20>>2]&61440)==40960){break wa}xa:{if(Ag(h)){d=qh(g);if(!Ag(d)){yh(d)}Pa(d);ya:{za:{if(Ag(g)){break za}if(dl(h,g)){break za}if(!xs(g,h)){break wa}if(!(t[656444]&1)){break ya}break wa}if(w[656444]){break wa}}v[k+20>>2]=g;v[k+16>>2]=c;db(a,1,512779,k+16|0);c=656444;break xa}d=qh(f);if(!Ag(d)){yh(d)}Pa(d);Aa:{Ba:{if(At(f)){break Ba}if(dl(h,f)){break Ba}if(!xs(f,h)){break wa}if(!(t[656440]&1)){break Aa}break wa}if(w[656440]){break wa}}v[k+4>>2]=f;v[k>>2]=c;db(a,1,512779,k);c=656440}t[c|0]=1}if(!h){break va}Pa(h);break va}v[a+8>>2]=1}Wc(v[a>>2]+12|0);if(!b){break ha}}Pa(b)}Ca=k+80|0;break a}b=0;h=Ca-32|0;Ca=h;Ca:{Da:{Ea:{c=v[a>>2];if(!c){break Ea}d=v[c+8>>2];if(!d){break Ea}c=v[d>>2];if(!c){break Ea}while(1){if(Wa(c,512881)){c=v[d+8>>2];d=d+8|0;if(c){continue}break Ea}break}t[c|0]=0;c=v[d+4>>2];e=0;if(!c){break Da}if(!Wa(c,512888)){break Ea}e=1;if(!Wa(c,512896)){break Da}if(!Wa(c,510970)){f=1;e=2;break Da}v[h+16>>2]=c;db(a,1,512901,h+16|0);break Ca}e=0}Fa:{d=v[a+4>>2];if(d){while(1){if(v[d+4>>2]==v[a>>2]){Ga:{Ha:{Ia:{switch(v[d+8>>2]-17|0){case 0:g=v[d+16>>2];c=Va(12);Ja:{if(!c){c=0;break Ja}v[c+8>>2]=g;v[c>>2]=0;v[c+4>>2]=1}if(b){v[c>>2]=b}v[d+8>>2]=0;b=c;break Ga;case 2:if(!f){g=v[d+16>>2];break Ha}g=v[d+16>>2];c=v[g>>2];if((c|0)<=52){break Ha}s=h,u=_c(c),v[s>>2]=u;db(a,2,512927,h);if(!b){break Ca}while(1){c=v[b>>2];Ka:{La:{Ma:{switch(v[b+4>>2]-1|0){case 0:d=v[b+8>>2];Ab(v[d+16>>2]);break La;case 1:break Ma;default:break Ka}}d=v[b+8>>2];e=v[d+8>>2];if(!e){break La}Ab(e)}Pa(d)}Pa(b);b=c;if(b){continue}break};break Ca;default:break Ia}}db(a,1,512986,0);break Ga}c=Va(12);Na:{if(!c){c=0;break Na}v[c+8>>2]=g;v[c>>2]=0;v[c+4>>2]=2}if(b){v[c>>2]=b}v[d+8>>2]=0;b=c}Qd(a);d=v[a+4>>2];if(d){continue}}break}if(b){break Fa}}db(a,1,513008,0);break Ca}c=Ds(v[a+20>>2],b,e);if((c|0)==-1){db(a,2,511350,0);while(1){c=v[b>>2];Oa:{Pa:{Qa:{switch(v[b+4>>2]-1|0){case 0:d=v[b+8>>2];Ab(v[d+16>>2]);break Pa;case 1:break Qa;default:break Oa}}d=v[b+8>>2];e=v[d+8>>2];if(!e){break Pa}Ab(e)}Pa(d)}Pa(b);b=c;if(b){continue}break}break Ca}b=v[a+16>>2];if((c|0)<=v[b+32>>2]){break Ca}v[b+32>>2]=c}Ca=h+32|0;break a}j=Ca-16|0;Ca=j;Ra:{Sa:{Ta:{b=v[a>>2];Ua:{if(!b){break Ua}c=v[b+8>>2];if(!c){break Ua}b=v[c>>2];if(!b){break Ua}Va:{while(1){if(!Wa(b,513049)){break Va}b=v[c+8>>2];c=c+8|0;if(b){continue}break}break Ua}t[b|0]=0;b=v[c+4>>2];if(!b){break Ua}if(!Wa(b,513179)){break Ua}if(!Wa(b,513184)){n=1;break Ua}if(Wa(b,513191)){break Ta}n=2}b=v[a+4>>2];if(b){c=0;while(1){if(v[b+4>>2]==v[a>>2]){Wa:{Xa:{Ya:{switch(v[b+8>>2]-2|0){case 0:if(e){db(a,1,513057,0);h=v[b+16>>2];d=Vc(v[a+16>>2]);if(d){v[d+8>>2]=h;v[d>>2]=36;v[d+12>>2]=e;e=d;break Xa}db(a,2,511350,0);break Wa}e=v[b+16>>2];if(e){break Xa}e=0;break Wa;case 5:if(f){Ab(f)}v[b+8>>2]=0;f=v[b+16>>2];break Wa;case 6:if(g){Ab(g)}v[b+8>>2]=0;g=v[b+16>>2];break Wa;case 7:if(l){Ab(l)}v[b+8>>2]=0;l=v[b+16>>2];break Wa;case 15:h=v[b+16>>2];d=Va(12);Za:{if(c){if(!d){d=0;v[0]=c;break Za}v[d+8>>2]=h;v[d>>2]=0;v[d+4>>2]=1;v[d>>2]=c;break Za}if(!d){c=0;v[b+8>>2]=0;break Wa}v[d+8>>2]=h;v[d>>2]=0;v[d+4>>2]=1}c=d;v[b+8>>2]=0;break Wa;default:break Ya}}db(a,1,513138,0);break Wa}v[b+8>>2]=0}Qd(a);b=v[a+4>>2];if(b){continue}}break}if(!e){db(a,2,513148,0);if(f){Ab(f)}if(g){Ab(g)}if(l){Ab(l)}if(!c){break Ra}while(1){b=v[c>>2];_a:{$a:{ab:{switch(v[c+4>>2]-1|0){case 0:d=v[c+8>>2];Ab(v[d+16>>2]);break $a;case 1:break ab;default:break _a}}d=v[c+8>>2];e=v[d+8>>2];if(!e){break $a}Ab(e)}Pa(d)}Pa(c);c=b;if(b){continue}break}break Ra}if(!(l|(f|g))){Ab(e);if(!c){break Ra}while(1){b=v[c>>2];bb:{cb:{db:{switch(v[c+4>>2]-1|0){case 0:d=v[c+8>>2];Ab(v[d+16>>2]);break cb;case 1:break db;default:break bb}}d=v[c+8>>2];e=v[d+8>>2];if(!e){break cb}Ab(e)}Pa(d)}Pa(c);c=b;if(b){continue}break}break Ra}h=Va(20);eb:{if(!h){break eb}v[h>>2]=0;v[h+4>>2]=0;b=sd(513172);v[h+16>>2]=e;v[h+12>>2]=65558;v[h+8>>2]=b;b=yf(_c(b));if(!b){break eb}Ue(a,e,v[b+4>>2])}fb:{if(c){b=c;while(1){d=b;b=v[b>>2];if(b){continue}break}b=Va(12);if(!b){b=0;v[d>>2]=0;break fb}v[b+8>>2]=h;v[b>>2]=0;v[b+4>>2]=1;v[d>>2]=b;break fb}c=Va(12);if(!c){c=0;b=0;break fb}v[c+8>>2]=h;v[c>>2]=0;v[c+4>>2]=1;b=c}if(!f){d=b;break Sa}e=Va(16);if(e){v[e+12>>2]=n;v[e+8>>2]=f;v[e>>2]=1;v[e+4>>2]=14;d=yf(_c(1));if(d){Ue(a,f,v[d+4>>2])}d=Va(12);gb:{if(!d){d=0;break gb}v[d+8>>2]=e;v[d>>2]=0;v[d+4>>2]=2}v[b>>2]=d;break Sa}Ab(f);d=b;break Sa}db(a,2,513148,0);break Ra}v[j>>2]=b;db(a,1,513196,j);break Ra}hb:{if(!g){b=d;break hb}e=Va(16);if(e){v[e+12>>2]=n;v[e+8>>2]=g;v[e>>2]=1;v[e+4>>2]=15;b=yf(_c(1));if(b){Ue(a,g,v[b+4>>2])}b=Va(12);ib:{if(!b){b=0;break ib}v[b+8>>2]=e;v[b>>2]=0;v[b+4>>2]=2}v[d>>2]=b;break hb}Ab(g);b=d}jb:{if(!l){break jb}e=Va(16);if(e){v[e+12>>2]=n;v[e+8>>2]=l;v[e>>2]=1;v[e+4>>2]=16;d=yf(_c(1));if(d){Ue(a,l,v[d+4>>2])}f=Va(12);kb:{if(!f){f=0;break kb}v[f+8>>2]=e;v[f>>2]=0;v[f+4>>2]=2}v[b>>2]=f;break jb}Ab(l)}d=Ds(v[a+20>>2],c,0);if((d|0)==-1){while(1){b=v[c>>2];lb:{mb:{nb:{switch(v[c+4>>2]-1|0){case 0:d=v[c+8>>2];Ab(v[d+16>>2]);break mb;case 1:break nb;default:break lb}}d=v[c+8>>2];e=v[d+8>>2];if(!e){break mb}Ab(e)}Pa(d)}Pa(c);c=b;if(b){continue}break Ra}}b=v[a+16>>2];if((d|0)<=v[b+32>>2]){break Ra}v[b+32>>2]=d}Ca=j+16|0;break a}c=v[a>>2];ob:{if(!c){c=0;break ob}b=v[c+8>>2];if(!b){break ob}d=v[b>>2];if(!d){break ob}while(1){if(!Wa(d,513325)){t[d|0]=0;c=v[a>>2];e=v[b+4>>2];break ob}d=v[b+8>>2];b=b+8|0;if(d){continue}break}}b=Yi(c+12|0);pb:{if(!b){db(a,2,511350,0);break pb}Es(v[a+20>>2],e,b);Pa(b)}break a}j=Ca-16|0;Ca=j;h=ge(v[a>>2]+12|0);qb:{if(!h){db(a,2,511350,0);break qb}if(!w[h|0]){db(a,1,513332,0);break qb}rb:{b=v[a>>2];sb:{if(!b){break sb}b=v[b+8>>2];if(!b){break sb}c=v[b>>2];if(!c){break sb}while(1){if(Wa(c,513376)){c=v[b+8>>2];b=b+8|0;if(c){continue}break sb}break}t[c|0]=0;d=v[b+4>>2];if(d){break rb}}db(a,1,513384,0);break qb}e=v[a>>2];tb:{if(!e){break tb}ub:{b=v[e+8>>2];if(!b){break ub}c=v[b>>2];if(!c){break ub}vb:{while(1){if(!Wa(c,512495)){t[c|0]=0;e=v[a>>2];g=v[b+4>>2];break vb}c=v[b+8>>2];b=b+8|0;if(c){continue}break}g=0}if(e){break ub}break tb}b=v[e+8>>2];if(!b){break tb}c=v[b>>2];if(!c){break tb}while(1){if(!Wa(c,512502)){t[c|0]=0;f=v[b+4>>2];break tb}c=v[b+8>>2];b=b+8|0;if(c){continue}break}}b=Rs(a,h,g);if(!b){break qb}c=Oc(b);bc(b);b=Wb(c);if(b){while(1){wb:{if(v[a+2856>>2]|!w[b|0]){break wb}if(w[b|0]==126){if(!Ii()){break wb}}if(Ns(v[a+16>>2],b,d,f)){break wb}v[j+4>>2]=d;v[j>>2]=b;db(a,2,513413,j)}Wc(v[a>>2]+12|0);b=Wb(c);if(b){continue}break}}qc(c)}Ca=j+16|0;break a}xb:{if(v[a+2856>>2]){break xb}b=v[a+16>>2];if(w[656428]&16){uc(516237)}e=v[b+8>>2];if(v[e>>2]==-1){b=0}else{b=v[e+4>>2];if((b|0)>=1){while(1){c=b-1|0;Pa(v[v[e+12>>2]+(c<<2)>>2]);v[e+4>>2]=v[e+4>>2]-1;d=(b|0)>1;b=c;if(d){continue}break}}b=1}if(b){break xb}db(a,2,513466,0)}break a}d=0;yb:{e=v[a+4>>2];if(!e){break yb}b=v[a>>2];c=e;zb:{while(1){if((b|0)==v[c+4>>2]){d=d+1|0;c=v[c>>2];if(c){continue}break zb}break}if(!d){break yb}}while(1){b=d-1|0;Ab:{if(!e){break Ab}c=b;if((d|0)==1){break Ab}while(1){e=v[e>>2];if(!e){break Ab}g=(c|0)>1;c=c-1|0;if(g){continue}break}}Bb:{if(v[e+8>>2]!=10){db(a,1,513493,0);break Bb}v[v[a+16>>2]+64>>2]=v[e+16>>2]}if((d|0)<2){break yb}e=v[a+4>>2];d=b;continue}}break a}Fl(a,7);break a}Fl(a,8);break a}Fl(a,9);break a}b=v[a>>2];Cb:{if(!b){break Cb}b=ge(b+12|0);if(!b){db(a,2,511350,0);break Cb}e=Vc(v[a+16>>2]);if(!e){Wc(v[a>>2]+12|0);break Cb}v[e>>2]=2;s=e,u=ib(b),v[s+8>>2]=u;Wc(v[a>>2]+12|0);b=v[a+1312>>2];Db:{if(b>>>0<=63){v[a+1312>>2]=b+1;b=(B(b,24)+a|0)+1320|0;break Db}b=Va(24);if(!b){break Cb}}v[b+8>>2]=0;v[b>>2]=v[a+4>>2];c=b;d=v[a>>2];if(d){d=v[d>>2]}else{d=0}v[c+4>>2]=d;v[a+4>>2]=b;v[b+8>>2]=2;v[b+16>>2]=e}break a}i=Ca+-64|0;Ca=i;Eb:{Fb:{Gb:{Hb:{Ib:{b=v[a>>2];Jb:{if(!b){break Jb}Kb:{c=v[b+8>>2];if(!c){e=-1;break Kb}b=v[c>>2];if(!b){e=-1;break Kb}Lb:{while(1){if(!Wa(b,512881)){break Lb}b=v[c+8>>2];c=c+8|0;if(b){continue}break}e=-1;break Kb}t[b|0]=0;b=v[c+4>>2];if(!b){e=-1;break Kb}if(!Wa(b,512888)){break Kb}if(!Wa(b,512896)){e=1;break Kb}if(!Wa(b,510970)){e=2;break Kb}e=-1;if(!Wa(b,512550)){break Kb}v[i+48>>2]=b;db(a,1,513523,i+48|0);break Eb}b=v[a>>2];if(!b){break Jb}c=v[b+8>>2];Mb:{if(!c){break Mb}b=v[c>>2];if(!b){break Mb}while(1){if(Wa(b,513548)){b=v[c+8>>2];c=c+8|0;if(b){continue}break Mb}break}t[b|0]=0;b=v[c+4>>2];if(!b){break Mb}if(!Wa(b,513553)){break Mb}if(!Wa(b,513557)){f=1;break Mb}if(!Wa(b,513561)){f=2;break Mb}if(Wa(b,513567)){break Hb}f=3}b=v[a>>2];if(!b){break Jb}c=v[b+8>>2];if(!c){break Jb}b=v[c>>2];if(!b){break Jb}while(1){if(Wa(b,513600)){b=v[c+8>>2];c=c+8|0;if(b){continue}break Jb}break}t[b|0]=0;g=v[c+4>>2];if(g){break Ib}}db(a,1,513605,0);break Eb}b=v[a>>2];if(!b){l=22;break Fb}l=22;c=v[b+8>>2];if(!c){break Gb}b=v[c>>2];if(!b){break Gb}while(1){if(Wa(b,513623)){b=v[c+8>>2];c=c+8|0;if(b){continue}break Gb}break}t[b|0]=0;b=v[c+4>>2];if(!b){break Gb}l=Qs(b,513808);if((l|0)!=41){break Gb}v[i+16>>2]=b;db(a,1,513631,i+16|0);break Eb}v[i+32>>2]=b;db(a,1,513577,i+32|0);break Eb}b=v[a>>2];if(!b){break Fb}c=v[b+8>>2];if(!c){break Fb}b=v[c>>2];if(!b){break Fb}while(1){if(Wa(b,513657)){b=v[c+8>>2];c=c+8|0;if(b){continue}break Fb}break}t[b|0]=0;b=v[c+4>>2];if(!b){break Fb}v[i+60>>2]=0;if(!xh(b,i+60|0)){v[i>>2]=b;db(a,1,513671,i)}j=(v[i+60>>2]!=0)<<16}Nb:{Ob:{Pb:{c=Pd(a);if(c){b=0;Qb:{while(1){if(b){d=Vc(v[a+16>>2]);if(!d){break Qb}v[d+8>>2]=c;v[d>>2]=36;v[d+12>>2]=b;b=d}else{b=c}c=Pd(a);if(c){continue}break}if(v[b>>2]==36){db(a,1,513727,0)}h=Va(20);if(!h){break Nb}v[h+4>>2]=f;v[h>>2]=e;c=sd(g);v[h+16>>2]=b;v[h+12>>2]=l&65535|j;v[h+8>>2]=c;c=yf(_c(c));if(c){Ue(a,b,v[c+4>>2])}b=v[a+1312>>2];if(b>>>0>63){break Pb}v[a+1312>>2]=b+1;b=(B(b,24)+a|0)+1320|0;break Ob}db(a,2,511350,0);Ab(c);Ab(b)}db(a,1,513703,0);break Eb}b=Va(24);if(!b){break Eb}}v[b+8>>2]=0;v[b>>2]=v[a+4>>2];c=b;d=v[a>>2];if(d){d=v[d>>2]}else{d=0}v[c+4>>2]=d;v[a+4>>2]=b;v[b+8>>2]=17;v[b+16>>2]=h;break Eb}db(a,2,511350,0)}Ca=i- -64|0;break a}d=0;h=Ca-32|0;Ca=h;Rb:{Sb:{b=v[a>>2];Tb:{if(!b){break Tb}c=v[b+8>>2];if(!c){break Tb}b=v[c>>2];if(!b){break Tb}while(1){if(Wa(b,513600)){b=v[c+8>>2];c=c+8|0;if(b){continue}break Tb}break}t[b|0]=0;e=v[c+4>>2];if(e){break Sb}}db(a,1,513968,0);break Rb}Ub:{Vb:{Wb:{Xb:{b=v[a>>2];Yb:{if(!b){f=11;break Yb}f=11;Zb:{c=v[b+8>>2];if(!c){break Zb}b=v[c>>2];if(!b){break Zb}while(1){if(Wa(b,513986)){b=v[c+8>>2];c=c+8|0;if(b){continue}break Zb}break}t[b|0]=0;b=v[c+4>>2];if(!b){break Zb}f=Qs(b,514080);if((f|0)!=41){break Zb}v[h+16>>2]=b;db(a,1,513991,h+16|0);break Rb}b=v[a>>2];if(!b){break Yb}c=v[b+8>>2];if(!c){break Yb}b=v[c>>2];if(!b){break Yb}while(1){if(Wa(b,513049)){b=v[c+8>>2];c=c+8|0;if(b){continue}break Yb}break}t[b|0]=0;b=v[c+4>>2];if(!b){break Yb}if(!Wa(b,513179)){break Yb}if(!Wa(b,513184)){g=1;break Yb}if(Wa(b,513191)){break Xb}g=2}b=0;c=Pd(a);if(!c){break Ub}while(1){if(b){d=Vc(v[a+16>>2]);if(!d){break Wb}v[d+8>>2]=c;v[d>>2]=36;v[d+12>>2]=b;b=d}else{b=c}c=Pd(a);if(c){continue}break}if(f-17>>>0>1){d=b;break Ub}db(a,1,514014,0);break Vb}v[h>>2]=b;db(a,1,513196,h);break Rb}db(a,2,511350,0);Ab(c)}d=0;Ab(b)}b=sd(e);e=Va(16);if(e){v[e+12>>2]=g;v[e+8>>2]=d;v[e+4>>2]=f;v[e>>2]=b;b=yf(_c(b));if(b){Ue(a,d,v[b+4>>2])}_b:{b=v[a+1312>>2];$b:{if(b>>>0<=63){v[a+1312>>2]=b+1;b=(B(b,24)+a|0)+1320|0;break $b}b=Va(24);if(!b){break _b}}v[b+8>>2]=0;v[b>>2]=v[a+4>>2];c=b;d=v[a>>2];if(d){d=v[d>>2]}else{d=0}v[c+4>>2]=d;v[a+4>>2]=b;v[b+8>>2]=19;v[b+16>>2]=e;break Rb}b=v[e+8>>2];if(b){Ab(b)}Pa(e);break Rb}db(a,2,511350,0);Ab(d)}Ca=h+32|0;break a}g=Ca-16|0;Ca=g;b=v[a>>2];ac:{if(!b){break ac}b=ge(b+12|0);if(!b){db(a,2,511350,0);break ac}v[g+12>>2]=0;e=jc(b,g+12|0,0);bc:{if(v[g+12>>2]!=(Xa(b)+b|0)){v[g>>2]=b;db(a,2,514240,g);break bc}b=v[a+1312>>2];cc:{if(b>>>0<=63){v[a+1312>>2]=b+1;b=(B(b,24)+a|0)+1320|0;break cc}b=Va(24);if(!b){break bc}}v[b+8>>2]=0;v[b>>2]=v[a+4>>2];c=b;d=v[a>>2];if(d){d=v[d>>2]}else{d=0}v[c+4>>2]=d;v[a+4>>2]=b;v[b+8>>2]=10;v[b+16>>2]=e}Wc(v[a>>2]+12|0)}Ca=g+16|0;break a}f=Ca-144|0;Ca=f;b=v[a>>2];dc:{if(!b){break dc}b=ge(b+12|0);if(!b){db(a,2,511350,0);break dc}v[f+8>>2]=0;h=v[131059];g=Xa(h);e=Tb(b,46);ec:{if(!(!e|(w[h+1|0]?0:w[h|0]==46))){if((Xa(b)+g|0)>=129){v[f+8>>2]=b;c=b;break ec}c=e-b|0;d=ve(f+16|0,b,c);Ac(Ac(c+(f+16|0)|0,h)+g|0,e+1|0);c=0;v[f+12>>2]=0;m=bs(d,f+12|0);d=v[f+12>>2];fc:{if(!d){break fc}c=b+(d-(f+16|0)|0)|0;if(e>>>0>=c>>>0){break fc}c=(c-g|0)+1|0}v[f+8>>2]=c;break ec}m=bs(b,f+8|0);c=v[f+8>>2]}gc:{if((Xa(b)+b|0)!=(c|0)){v[f>>2]=b;db(a,2,514266,f);break gc}b=v[a+1312>>2];hc:{if(b>>>0<=63){v[a+1312>>2]=b+1;b=(B(b,24)+a|0)+1320|0;break hc}b=Va(24);if(!b){break gc}}v[b+8>>2]=0;v[b>>2]=v[a+4>>2];c=b;d=v[a>>2];if(d){d=v[d>>2]}else{d=0}v[c+4>>2]=d;v[a+4>>2]=b;v[b+8>>2]=11;A[b+16>>3]=m}Wc(v[a>>2]+12|0)}Ca=f+144|0;break a}El(a,1);break a}f=Pd(a);h=Pd(a);g=Pd(a);e=Pd(a);ic:{jc:{if(!(!g|(!f|!h))){if(e){break jc}}db(a,1,514291,0);break ic}if(Pd(a)){db(a,2,514324,0);break ic}b=v[a+1312>>2];kc:{lc:{if(b>>>0<=63){v[a+1312>>2]=b+1;b=(B(b,24)+a|0)+1320|0;break lc}b=Va(24);if(!b){break kc}}v[b+8>>2]=0;v[b>>2]=v[a+4>>2];c=b;d=v[a>>2];if(d){d=v[d>>2]}else{d=0}v[c+4>>2]=d;v[a+4>>2]=b;c=Va(16);if(c){v[c+12>>2]=f;v[c+8>>2]=h;v[c+4>>2]=g;v[c>>2]=e}v[b+8>>2]=12;v[b+16>>2]=c}}break a}d=0;g=Ca-32|0;Ca=g;v[g+24>>2]=0;v[g+28>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=0;v[g+4>>2]=0;mc:{nc:{e=v[a+4>>2];if(e){b=1;while(1){if(v[e+4>>2]==v[a>>2]){if((b|0)<=-1){db(a,2,514356,0);break mc}oc:{pc:{switch(v[e+8>>2]-10|0){case 0:c=v[e+16>>2];if(d){A[g+(b<<3)>>3]=c|0;d=1;break oc}v[(g+24|0)+(b<<2)>>2]=c;d=0;break oc;case 1:if(!(b|d)){A[g+8>>3]=y[g+28>>2]}A[g+(b<<3)>>3]=A[e+16>>3];d=1;break oc;default:break pc}}db(a,2,514383,0);if(d){c=g+(b<<3)|0;v[c>>2]=0;v[c+4>>2]=0;d=1;break oc}v[(g+24|0)+(b<<2)>>2]=0;d=0}b=b-1|0;Qd(a);e=v[a+4>>2];if(e){continue}}break}if((b|0)<0){break nc}}db(a,2,514408,0);break mc}qc:{if(d){r=A[g>>3];m=A[g+8>>3];if(r>m){db(a,2,514408,0);break mc}b=rm(r,m);break qc}d=v[g+24>>2];c=v[g+28>>2];if(d>>>0>c>>>0){db(a,2,514408,0);break mc}b=Va(16);if(b){A[b+8>>3]=c>>>0;A[b>>3]=d>>>0}}d=b;b=v[a+1312>>2];rc:{if(b>>>0<=63){v[a+1312>>2]=b+1;b=(B(b,24)+a|0)+1320|0;break rc}b=Va(24);if(!b){break mc}}v[b+8>>2]=0;v[b>>2]=v[a+4>>2];c=b;e=v[a>>2];if(e){e=v[e>>2]}else{e=0}v[c+4>>2]=e;v[a+4>>2]=b;v[b+8>>2]=13;v[b+16>>2]=d}Ca=g+32|0;break a}g=Ca-16|0;Ca=g;b=v[a>>2];sc:{if(!b){break sc}b=ge(b+12|0);if(!b){db(a,2,511350,0);break sc}v[g+12>>2]=0;if(!xh(b,g+12|0)){v[g>>2]=b;db(a,1,512855,g)}e=v[g+12>>2];b=v[a+1312>>2];tc:{uc:{if(b>>>0<=63){v[a+1312>>2]=b+1;b=(B(b,24)+a|0)+1320|0;break uc}b=Va(24);if(!b){break tc}}v[b+8>>2]=0;v[b>>2]=v[a+4>>2];c=b;d=v[a>>2];if(d){d=v[d>>2]}else{d=0}v[c+4>>2]=d;v[a+4>>2]=b;v[b+8>>2]=14;v[b+16>>2]=e}Wc(v[a>>2]+12|0)}Ca=g+16|0;break a}c=0;h=Ca-32|0;Ca=h;g=lm();vc:{wc:{b=v[a+4>>2];if(!b){break wc}while(1){if(v[b+4>>2]==v[a>>2]){xc:{yc:{switch(v[b+8>>2]-10|0){case 0:if(!fj(g,v[b+16>>2])){v[h>>2]=v[b+16>>2];db(a,1,514422,h);break xc}c=c+1|0;break xc;case 3:b=v[b+16>>2];m=A[b+8>>3];zc:{if(m<4294967296&m>=0){d=~~m>>>0;break zc}d=0}e=d;m=A[b>>3];Ac:{if(m<4294967296&m>=0){b=~~m>>>0;break Ac}b=0}if(e>>>0<b>>>0){break xc}while(1){Bc:{if(!fj(g,b)){v[h+16>>2]=b;db(a,1,514422,h+16|0);break Bc}c=c+1|0}b=b+1|0;if(d>>>0>=b>>>0){continue}break};break xc;default:break yc}}db(a,2,514448,0)}Qd(a);b=v[a+4>>2];if(b){continue}}break}if((c|0)<1){break wc}if(!g){break vc}b=v[a+1312>>2];Cc:{if(b>>>0<=63){v[a+1312>>2]=b+1;b=(B(b,24)+a|0)+1320|0;break Cc}b=Va(24);if(!b){break vc}}v[b+8>>2]=0;v[b>>2]=v[a+4>>2];c=b;d=v[a>>2];if(d){d=v[d>>2]}else{d=0}v[c+4>>2]=d;v[a+4>>2]=b;v[b+8>>2]=15;v[b+16>>2]=g;break vc}jd(g)}Ca=h+32|0;break a}d=0;e=Ca-16|0;Ca=e;g=$i();Dc:{Ec:{b=v[a+4>>2];if(!b){break Ec}while(1){if(v[b+4>>2]==v[a>>2]){Fc:{if(v[b+8>>2]==1){if(!$l(g,v[b+16>>2])){v[e>>2]=v[b+16>>2];db(a,1,514475,e);break Fc}d=d+1|0;break Fc}db(a,2,514495,0)}Qd(a);b=v[a+4>>2];if(b){continue}}break}if((d|0)<1){break Ec}if(!g){break Dc}b=v[a+1312>>2];Gc:{if(b>>>0<=63){v[a+1312>>2]=b+1;b=(B(b,24)+a|0)+1320|0;break Gc}b=Va(24);if(!b){break Dc}}v[b+8>>2]=0;v[b>>2]=v[a+4>>2];c=b;d=v[a>>2];if(d){d=v[d>>2]}else{d=0}v[c+4>>2]=d;v[a+4>>2]=b;v[b+8>>2]=16;v[b+16>>2]=g;break Dc}ie(g)}Ca=e+16|0;break a}b=v[a+4>>2];if(!b|(d|0)!=v[b+4>>2]){break a}d=(c|0)==18;while(1){Hc:{Ic:{switch(v[b+8>>2]-4|0){case 0:if(!v[a+2856>>2]){if(!hd(v[v[a+16>>2]+(d?36:40)>>2],v[b+16>>2])){db(a,2,511350,0);break Hc}if(!v[a+2856>>2]){break Hc}}c=v[b+16>>2];if(!c){break Hc}Pa(c);v[b+8>>2]=0;break Hc;case 2:Jc:{if(!v[a+2856>>2]){if(!gj(v[v[a+16>>2]+(d?44:48)>>2],v[b+16>>2])){db(a,2,511350,0);break Hc}if(!v[a+2856>>2]){break Jc}}c=v[b+16>>2];if(!c){break Jc}Ce(c)}v[b+8>>2]=0;break Hc;default:break Ic}}db(a,1,514522,0)}Qd(a);b=v[a+4>>2];if(!b){break a}if(v[b+4>>2]==v[a>>2]){continue}break}break a}El(a,4);break a}h=uh();Kc:{if(h){b=v[a+4>>2];Lc:{if(!b){break Lc}while(1){if(v[b+4>>2]!=v[a>>2]){break Lc}Mc:{if(v[b+8>>2]==6){e=0;i=Ca-32|0;Ca=i;j=v[b+16>>2];f=0;Nc:{if(!j){break Nc}f=0;if(v[j>>2]<1){break Nc}f=j+v[j+8>>2]|0}while(1){Oc:{Pc:{if(!f){break Pc}b=v[f+4>>2];d=b&1?(b&-2)+f|0:b;if(!d){break Pc}while(1){b=f?v[f>>2]:0;g=d+8|0;Qc:{Rc:{switch(v[d+8>>2]-3|0){case 0:c=v[d+16>>2];v[i+16>>2]=3;v[i+24>>2]=c&1?g+(c&-2)|0:c;break Qc;case 3:c=v[d+16>>2];v[i+16>>2]=6;v[i+24>>2]=c&1?g+(c&-2)|0:c;break Qc;case 5:c=v[d+16>>2];v[i+16>>2]=8;v[i+24>>2]=c&1?g+(c&-2)|0:c;break Qc;case 6:c=v[d+16>>2];v[i+16>>2]=9;v[i+24>>2]=c&1?g+(c&-2)|0:c;break Qc;default:break Rc}}c=v[g+12>>2];v[i+24>>2]=v[g+8>>2];v[i+28>>2]=c;c=v[g+4>>2];v[i+16>>2]=v[g>>2];v[i+20>>2]=c}g=v[d+24>>2];c=v[i+28>>2];v[i+8>>2]=v[i+24>>2];v[i+12>>2]=c;c=v[i+20>>2];v[i>>2]=v[i+16>>2];v[i+4>>2]=c;if(!Qc(h,b,i,g)){d=0;break Oc}b=v[d>>2];d=b&1?(b&-2)+d|0:b;if(d){continue}break}}d=1;if(!j){break Oc}e=e+1|0;b=v[j>>2];if((e|0)>=(b|0)){break Oc}f=0;if((b|0)<1){continue}f=(j+v[j+8>>2]|0)+(e<<3)|0;continue}break}Ca=i+32|0;if(d){break Mc}db(a,2,511350,0);Ce(h);break Kc}db(a,1,514540,0)}Qd(a);b=v[a+4>>2];if(b){continue}break}}b=v[a+1312>>2];Sc:{Tc:{if(b>>>0<=63){v[a+1312>>2]=b+1;b=(B(b,24)+a|0)+1320|0;break Tc}b=Va(24);if(!b){break Sc}}v[b+8>>2]=0;v[b>>2]=v[a+4>>2];c=b;d=v[a>>2];if(d){d=v[d>>2]}else{d=0}v[c+4>>2]=d;v[a+4>>2]=b;v[b+8>>2]=6;v[b+16>>2]=h}break Kc}db(a,2,511350,0)}break a}f=Ca-96|0;Ca=f;g=uh();Uc:{if(!g){db(a,2,511350,0);break Uc}Vc:{b=v[a>>2];if(!b){break Vc}c=v[b+8>>2];if(!c){break Vc}d=v[c>>2];if(!d){break Vc}while(1){if(Wa(d,513600)){d=v[c+8>>2];c=c+8|0;if(d){continue}break Vc}break}t[d|0]=0;d=v[c+4>>2];if(!d){break Vc}e=f+72|0;while(1){c=v[a+4>>2];Wc:{if(!(v[c+4>>2]==v[a>>2]?c:0)){v[f+64>>2]=0;break Wc}v[f+64>>2]=0;Xc:{Yc:{Zc:{_c:{$c:{ad:{bd:{cd:{dd:{ed:{b=v[c+8>>2];switch(b-1|0){case 12:break Zc;case 15:break _c;case 14:break $c;case 13:break ad;case 10:break bd;case 9:break cd;case 2:break dd;case 0:break ed;default:break Yc}}b=ib(v[c+16>>2]);v[f+72>>2]=b;if(!b){break Xc}v[f+64>>2]=3;break Xc}if(!ku(v[c+16>>2],e)){break Xc}v[f+64>>2]=1;break Xc}b=v[c+16>>2];v[f+64>>2]=1;v[f+72>>2]=b;break Xc}m=A[c+16>>3];v[f+64>>2]=2;A[f+72>>3]=m;break Xc}b=v[c+16>>2];v[f+64>>2]=4;v[f+72>>2]=b;break Xc}b=vh(v[c+16>>2]);v[f+72>>2]=b;if(!b){break Xc}v[f+64>>2]=6;break Xc}b=cg(v[c+16>>2]);v[f+72>>2]=b;if(!b){break Xc}v[f+64>>2]=8;break Xc}b=qm(v[c+16>>2]);v[f+72>>2]=b;if(!b){break Xc}v[f+64>>2]=9;break Xc}v[f+48>>2]=b;db(a,1,514593,f+48|0)}Qd(a)}b=v[e+4>>2];v[f+88>>2]=v[e>>2];v[f+92>>2]=b;c=v[f+68>>2];b=v[f+64>>2];v[f+80>>2]=b;v[f+84>>2]=c;fd:{if(b){b=v[f+92>>2];v[f+40>>2]=v[f+88>>2];v[f+44>>2]=b;b=v[f+84>>2];v[f+32>>2]=v[f+80>>2];v[f+36>>2]=b;h=Ca-16|0;Ca=h;c=sd(d);b=v[f+44>>2];v[h+8>>2]=v[f+40>>2];v[h+12>>2]=b;b=v[f+36>>2];v[h>>2]=v[f+32>>2];v[h+4>>2]=b;b=Qc(g,c,h,1);Ca=h+16|0;if(b){break fd}db(a,2,511350,0);b=v[f+92>>2];v[f+8>>2]=v[f+88>>2];v[f+12>>2]=b;b=v[f+84>>2];v[f>>2]=v[f+80>>2];v[f+4>>2]=b;Fd(f)}b=v[a+1312>>2];gd:{if(b>>>0<=63){v[a+1312>>2]=b+1;c=(B(b,24)+a|0)+1320|0;break gd}c=Va(24);if(!c){break Uc}}v[c+8>>2]=0;v[c>>2]=v[a+4>>2];b=c;d=v[a>>2];if(d){d=v[d>>2]}else{d=0}v[b+4>>2]=d;v[a+4>>2]=c;v[c+8>>2]=6;v[c+16>>2]=g;break Uc}b=v[f+92>>2];v[f+24>>2]=v[f+88>>2];v[f+28>>2]=b;b=v[f+84>>2];v[f+16>>2]=v[f+80>>2];v[f+20>>2]=b;Fd(f+16|0);continue}}db(a,1,514564,0);Ce(g)}Ca=f+96|0;break a}c=0;f=Ca-16|0;Ca=f;b=v[a>>2];hd:{if(!b){break hd}id:{b=v[b+8>>2];if(!b){c=-1;break id}d=v[b>>2];if(!d){c=-1;break id}jd:{while(1){if(!Wa(d,512881)){break jd}d=v[b+8>>2];b=b+8|0;if(d){continue}break}c=-1;break id}t[d|0]=0;b=v[b+4>>2];if(!b){c=-1;break id}if(!Wa(b,512888)){break id}if(!Wa(b,512896)){c=1;break id}c=-1;if(!Wa(b,512550)){break id}v[f>>2]=b;db(a,1,514620,f);break hd}b=v[a>>2];if(!b){break hd}h=Yi(b+12|0);if(!h){db(a,2,511350,0);break hd}g=sd(h);b=v[a+1312>>2];kd:{ld:{if(b>>>0<=63){v[a+1312>>2]=b+1;b=(B(b,24)+a|0)+1320|0;break ld}b=Va(24);if(!b){break kd}}v[b+8>>2]=0;v[b>>2]=v[a+4>>2];d=b;e=v[a>>2];if(e){e=v[e>>2]}else{e=0}v[d+4>>2]=e;v[a+4>>2]=b;v[b+20>>2]=c;v[b+16>>2]=g;v[b+8>>2]=5}Pa(h)}Ca=f+16|0;break a}El(a,3);break a}dd(a,20);break a}dd(a,21);break a}dd(a,22);break a}dd(a,23);break a}dd(a,27);break a}dd(a,28);break a}dd(a,29);break a}dd(a,30);break a}dd(a,24);break a}dd(a,26);break a}dd(a,31);break a}dd(a,32);break a}dd(a,33);break a}dd(a,34);break a}mh(a,35);break a}dd(a,19);break a}mh(a,37);break a}mh(a,38);break a}mh(a,39);break a}mh(a,40)}Ss(a)}}function Ju(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,m=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,C=0,E=0,H=0,I=0,J=0,M=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;f=Ca-96|0;Ca=f;v[f+84>>2]=b;a:{if(b>>>0>=c>>>0){break a}Q=a+376|0;R=a+380|0;S=a+384|0;T=a+388|0;while(1){g=w[b|0];i=(g|0)!=92;b:{if((g|0)==92){g=b;break b}g=b;if((b|0)==(c|0)){break b}while(1){g=b+1|0;v[f+84>>2]=g;b=w[b+1|0];i=(b|0)!=92;if((b|0)==92){break b}b=g;if((c|0)!=(b|0)){continue}break}}if(i){b=g;break a}b=g+1|0;v[f+84>>2]=b;i=c;if((b|0)!=(i|0)){Hc(f+84|0);i=v[f+84>>2]}b=i;c:{while(1){d:{v[f+80>>2]=b;e:{m=w[b|0];g=b;f:{if((m|0)==40){break f}g=b;if((m|0)==92){break f}if((b|0)!=(c|0)){break e}g=c}r=g;if((r|0)==(i|0)){break c}v[f+20>>2]=365793;v[f+28>>2]=365793;v[f+16>>2]=365793;v[f+36>>2]=365793;v[f+24>>2]=365793;v[f+44>>2]=365793;v[f+32>>2]=365793;v[f+52>>2]=365793;v[f+40>>2]=365793;v[f+60>>2]=365793;v[f+48>>2]=365793;v[f+68>>2]=365793;v[f+56>>2]=365793;v[f+76>>2]=365793;v[f+64>>2]=365793;v[f+72>>2]=365793;y=0;v[f+12>>2]=0;if(w[r|0]!=40){break d}b=r+1|0;v[f+80>>2]=b;g:while(1){p=c;if((p|0)!=(b|0)){Hc(f+80|0);p=v[f+80>>2]}b=p;while(1){h:{i:{j:{k:{m=w[b|0];switch(m-41|0){case 0:case 3:break i;case 1:case 2:break j;default:break k}}if((m|0)==92){break i}}if((b|0)!=(c|0)){break h}b=c}i=f;l:{if((m|0)==44){v[f+88>>2]=b;m:{if(v[f+12>>2]>7){break m}kd(f+88|0,p);g=v[f+88>>2];if(g>>>0<=p>>>0){break m}s=v[f+12>>2];u=(f+16|0)+(s<<3)|0;v[u+4>>2]=g;v[u>>2]=p;v[f+12>>2]=s+1}b=b+1|0;break l}g=b;n:{if((m|0)!=92){break n}while(1){y=1;g=b;if(w[b|0]==41){break n}b=g+1|0;if((c|0)!=(g|0)){continue}break}}v[f+88>>2]=g;o:{if(v[f+12>>2]>7){break o}kd(f+88|0,p);b=v[f+88>>2];if(b>>>0<=p>>>0){break o}s=v[f+12>>2];u=(f+16|0)+(s<<3)|0;v[u+4>>2]=b;v[u>>2]=p;v[f+12>>2]=s+1}b=(c|0)==(g|0)?g:g+1|0}v[i+80>>2]=b;if((m|0)==44){continue g}y=y&1;i=v[f+84>>2];break d}b=b+1|0;continue}}}b=b+1|0;continue}break}p=i+5|0;g=a;p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{u=w[i|0];switch(u-120|0){case 1:break Z;case 0:break _;default:break Y}}if(w[i+1|0]==98){break X}break A}if(w[i+1|0]==98){break W}break B}m=i+3|0;$:{switch(u-102|0){case 0:if(w[i+1|0]==97){break V}break R;case 3:H=1;if(w[i+1|0]!=99|w[i+2|0]!=108|(w[i+3|0]!=105|w[i+4|0]!=112)){break y}v[f+84>>2]=p;b=v[f+12>>2];if((b|0)==4){b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;k=lb(b,f+88|0);b=v[f+24>>2];v[f+92>>2]=v[f+28>>2];v[f+88>>2]=b;q=lb(b,f+88|0);b=v[f+32>>2];v[f+92>>2]=v[f+36>>2];v[f+88>>2]=b;z=lb(b,f+88|0);b=v[f+40>>2];v[f+92>>2]=v[f+44>>2];v[f+88>>2]=b;x=lb(b,f+88|0);t[a+409|0]=1;b=a;h=d;k=k+(k>0?.5:-.5);aa:{if(D(k)<2147483648){g=~~k;break aa}g=-2147483648}k=1-d;h=h*+(g|0)+k*+v[a+392>>2];ba:{if(D(h)<2147483648){g=~~h;break ba}g=-2147483648}v[b+392>>2]=g;b=a;h=d;z=z+(z>0?.5:-.5);ca:{if(D(z)<2147483648){g=~~z;break ca}g=-2147483648}h=h*+(g|0)+k*+v[a+400>>2];da:{if(D(h)<2147483648){g=~~h;break da}g=-2147483648}v[b+400>>2]=g;b=a;h=d;q=q+(q>0?.5:-.5);ea:{if(D(q)<2147483648){g=~~q;break ea}g=-2147483648}h=h*+(g|0)+k*+v[a+396>>2];fa:{if(D(h)<2147483648){g=~~h;break fa}g=-2147483648}v[b+396>>2]=g;k=k*+v[a+404>>2];h=d;q=x+(x>0?.5:-.5);ga:{if(D(q)<2147483648){b=~~q;break ga}b=-2147483648}h=h*+(b|0)+k;if(D(h)<2147483648){v[a+404>>2]=~~h;break q}v[a+404>>2]=-2147483648;break q}if(v[a+448>>2]){break q}if(!Iu(a,f+16|0,b)){break q}v[a+608>>2]=1;break q;default:break $}}s=i+4|0;C=0;E=0;if((u|0)!=98){break S}if(w[i+1|0]==108){break U}break T}if(w[i+2|0]!=111|w[i+3|0]!=114|w[i+4|0]!=100){break A}v[f+84>>2]=p;v[f+88>>2]=r;if(v[f+12>>2]<8){break t}break s}if(w[i+2|0]!=111|w[i+3|0]!=114|w[i+4|0]!=100){break B}v[f+84>>2]=p;v[f+88>>2]=r;if(v[f+12>>2]<8){break w}break v}if(w[i+2|0]!=120){break R}v[f+84>>2]=m;v[f+88>>2]=r;if(v[f+12>>2]<8){break E}break D}if(w[i+2|0]!=117|w[i+3|0]!=114){break T}v[f+84>>2]=s;Lb(f+16|0,f+12|0,s,r);if(v[f+12>>2]){b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;X=a,Y=F(G(d*lb(b,f+88|0)+(1-d)*A[a+416>>3],0),100),A[X+416>>3]=Y;break q}v[a+416>>2]=0;v[a+420>>2]=0;break q}E=1;if(w[i+1|0]!=111|w[i+2|0]!=114|w[i+3|0]!=100){break S}v[f+84>>2]=s;Lb(f+16|0,f+12|0,s,r);ha:{if(v[f+12>>2]){b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;k=d*lb(b,f+88|0);q=1-d;h=G(k+q*A[a+360>>3],0);k=G(k+q*A[a+352>>3],0);break ha}h=A[v[a+220>>2]+88>>3];k=h}A[a+360>>3]=h;A[a+352>>3]=k;break q}b=i+2|0;if((u|0)!=109|w[i+1|0]!=111|(w[i+2|0]!=118|w[i+3|0]!=101)){break Q}v[f+84>>2]=s;if((v[f+12>>2]&-3)!=4){break q}b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;k=lb(b,f+88|0);b=v[f+24>>2];v[f+92>>2]=v[f+28>>2];v[f+88>>2]=b;q=lb(b,f+88|0);b=v[f+32>>2];v[f+92>>2]=v[f+36>>2];v[f+88>>2]=b;z=lb(b,f+88|0);b=v[f+40>>2];v[f+92>>2]=v[f+44>>2];v[f+88>>2]=b;x=lb(b,f+88|0);g=0;b=0;if(v[f+12>>2]==6){b=v[f+48>>2];v[f+92>>2]=v[f+52>>2];v[f+88>>2]=b;g=Md(b,f+88|0,10);b=Da;i=v[f+56>>2];v[f+92>>2]=v[f+60>>2];v[f+88>>2]=i;i=Md(i,f+88|0,10);p=i;m=i>>>0>2147483648;i=Da;m=(i|0)>-1?1:(i|0)>=-1?m:0;p=m?p:-2147483648;i=m?i:-1;i=((i|0)<0?1:(i|0)<=0?p>>>0<2147483647:0)?p:2147483647;m=g;g=(b|0)>-1?1:(b|0)>=-1?g>>>0>2147483648:0;m=g?m:-2147483648;b=g?b:-1;g=((b|0)<0?1:(b|0)<=0?m>>>0<2147483647:0)?m:2147483647;m=(i|0)<(g|0);b=m?i:g;g=m?g:i}i=v[a+216>>2];if(!((b|0)>0|(g|0)>0)){g=v[i+8>>2];b=0}m=v[a+176>>2];i=v[i>>2];i=m-i|0;h=0;ia:{if((i|0)<=(b|0)){break ia}h=1;if((g|0)<=(i|0)){break ia}h=+(i-b|0)/+(g-b|0)}b=v[a+368>>2];if(b&1){break q}t[a+410|0]=0;v[a+368>>2]=b|1;A[a+304>>3]=q+(x-q)*h;A[a+296>>3]=k+(z-k)*h;break q}if(!(w[i+1|0]!=97|w[i+2|0]!=121)){v[f+84>>2]=m;v[f+88>>2]=r;ja:{if(v[f+12>>2]<8){kd(f+88|0,m);b=v[f+12>>2];g=v[f+88>>2];if(g>>>0>m>>>0){i=(f+16|0)+(b<<3)|0;v[i+4>>2]=g;v[i>>2]=m;b=b+1|0;v[f+12>>2]=b}if(!b){break ja}}b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;X=a,Y=d*lb(b,f+88|0)+(1-d)*A[a+288>>3],A[X+288>>3]=Y;break q}v[a+288>>2]=0;v[a+292>>2]=0;break q}s=i+4|0;if(!(w[i+1|0]!=115|w[i+2|0]!=99|w[i+3|0]!=120)){v[f+84>>2]=s;Lb(f+16|0,f+12|0,s,r);if(v[f+12>>2]){b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;X=a,Y=G(d*(lb(b,f+88|0)/100)+(1-d)*A[a+328>>3],0),A[X+328>>3]=Y;break q}A[a+328>>3]=A[v[a+220>>2]+48>>3];break q}if(!(w[i+1|0]!=115|w[i+2|0]!=99|w[i+3|0]!=121)){v[f+84>>2]=s;Lb(f+16|0,f+12|0,s,r);if(v[f+12>>2]){b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;X=a,Y=G(d*(lb(b,f+88|0)/100)+(1-d)*A[a+336>>3],0),A[X+336>>3]=Y;break q}A[a+336>>3]=A[v[a+220>>2]+56>>3];break q}if(!(w[i+1|0]!=115|w[i+2|0]!=99)){v[f+84>>2]=m;Lb(f+16|0,f+12|0,m,r);b=v[a+220>>2];A[a+328>>3]=A[b+48>>3];A[a+336>>3]=A[b+56>>3];break q}if(!(w[i+1|0]!=115|w[i+2|0]!=112)){v[f+84>>2]=m;Lb(f+16|0,f+12|0,m,r);if(v[f+12>>2]){b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;X=a,Y=d*lb(b,f+88|0)+(1-d)*A[a+344>>3],A[X+344>>3]=Y;break q}A[a+344>>3]=A[v[a+220>>2]+64>>3];break q}b=i+2|0;ka:{la:{ma:{na:{oa:{pa:{qa:{if(w[i+1|0]!=115){if(w[i+1|0]==114){break qa}break ka}v[f+84>>2]=b;Lb(f+16|0,f+12|0,b,r);if(!v[f+12>>2]){break ma}b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;h=lb(b,f+88|0);switch(w[v[f+16>>2]]-43|0){case 0:case 2:break oa;default:break pa}}if(w[i+2|0]!=120){break ka}v[f+84>>2]=m;Lb(f+16|0,f+12|0,m,r);if(v[f+12>>2]){b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;X=a,Y=d*lb(b,f+88|0)+(1-d)*A[a+256>>3],A[X+256>>3]=Y;break q}v[a+256>>2]=0;v[a+260>>2]=0;break q}h=d*h+(1-d)*A[a+232>>3];break na}h=(d*h/10+1)*A[a+232>>3]}if(!(h<=0)){break la}}h=A[v[a+220>>2]+8>>3]}A[a+232>>3]=h;break q}if(!(w[i+1|0]!=114|w[i+2|0]!=121)){v[f+84>>2]=m;Lb(f+16|0,f+12|0,m,r);if(v[f+12>>2]){b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;X=a,Y=d*lb(b,f+88|0)+(1-d)*A[a+264>>3],A[X+264>>3]=Y;break q}v[a+264>>2]=0;v[a+268>>2]=0;break q}ra:{if(!(w[i+2|0]==122?w[i+1|0]==114:0)){if(w[i+1|0]!=114){break ra}m=b}v[f+84>>2]=m;Lb(f+16|0,f+12|0,m,r);if(v[f+12>>2]){b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;X=a,Y=d*lb(b,f+88|0)+(1-d)*A[a+272>>3],A[X+272>>3]=Y;break q}A[a+272>>3]=A[v[a+220>>2]+72>>3];break q}if(w[i+1|0]==110){break P}C=1;E=0}g=i+1|0;H=0;J=0;M=u-97|0;if(!M){break O}if((M|0)==15){break N}break K}v[f+84>>2]=b;Lb(f+16|0,f+12|0,b,r);b=v[f+16>>2];v[f+88>>2]=b;if(v[f+12>>2]){break H}break G}if(w[g|0]==108){break M}break J}J=1;if(w[g|0]==111){break L}break K}if(w[i+2|0]!=112|w[i+3|0]!=104|w[i+4|0]!=97){break J}v[f+84>>2]=p;Lb(f+16|0,f+12|0,p,r);if(!v[f+12>>2]){break I}b=Bh(v[f+16>>2]);Ec(Q,b,d);Ec(R,b,d);Ec(S,b,d);Ec(T,b,d);break q}if(w[i+2|0]!=115){break K}v[f+84>>2]=m;if(v[f+12>>2]!=2){break q}b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;h=lb(b,f+88|0);b=v[f+24>>2];v[f+92>>2]=v[f+28>>2];v[f+88>>2]=b;k=lb(b,f+88|0);b=v[a+368>>2];if(b&1){hb(v[a>>2],6,365796,0);break q}t[a+410|0]=0;A[a+304>>3]=k;A[a+296>>3]=h;v[a+368>>2]=b|1;break q}if(!C){M=0;break x}M=1;if(w[g|0]!=97){break x}sa:{if(!(w[i+2|0]!=100|w[i+3|0]!=101)){m=s;break sa}if(w[g|0]!=97|w[i+2|0]!=100){break x}}v[f+84>>2]=m;h=d;ta:{ua:{switch(v[f+12>>2]-2|0){case 5:b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;h=lb(b,f+88|0);b=v[f+24>>2];v[f+92>>2]=v[f+28>>2];v[f+88>>2]=b;k=lb(b,f+88|0);b=v[f+32>>2];v[f+92>>2]=v[f+36>>2];v[f+88>>2]=b;q=lb(b,f+88|0);b=v[f+40>>2];v[f+92>>2]=v[f+44>>2];v[f+88>>2]=b;i=Md(b,f+88|0,10);b=Da;g=v[f+48>>2];v[f+92>>2]=v[f+52>>2];v[f+88>>2]=g;p=Md(g,f+88|0,10);g=Da;m=v[f+56>>2];v[f+92>>2]=v[f+60>>2];v[f+88>>2]=m;y=Md(m,f+88|0,10);m=v[f+64>>2];v[f+92>>2]=v[f+68>>2];v[f+88>>2]=m;r=(g|0)>-1?1:(g|0)>=-1?p>>>0>2147483648:0;J=Da;s=J;s=(s|0)>-1?1:(s|0)>=-1?y>>>0>2147483648:0;u=(b|0)>-1?1:(b|0)>=-1?i>>>0>2147483648:0;i=u?i:-2147483648;b=u?b:-1;m=Md(m,f+88|0,10);M=m;E=m>>>0>2147483648;m=Da;C=(m|0)>-1?1:(m|0)>=-1?E:0;u=C?M:-2147483648;C=C?m:-1;h=h+(h>0?.5:-.5);va:{if(D(h)<2147483648){m=~~h;break va}m=-2147483648}E=r?p:-2147483648;g=r?g:-1;H=s?y:-2147483648;p=s?J:-1;b=(b|0)<0?1:(b|0)<=0?i>>>0<2147483647:0;r=(C|0)<0?1:(C|0)<=0?u>>>0<2147483647:0;h=k+(k>0?.5:-.5);wa:{if(D(h)<2147483648){y=~~h;break wa}y=-2147483648}s=(g|0)<0?1:(g|0)<=0?E>>>0<2147483647:0;b=b?i:2147483647;g=r?u:2147483647;r=s?E:2147483647;i=((p|0)<0?1:(p|0)<=0?H>>>0<2147483647:0)?H:2147483647;h=q+(q>0?.5:-.5);xa:{if(D(h)<2147483648){p=~~h;break xa}p=-2147483648}break ta;case 0:break ua;default:break p}}b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;b=Md(b,f+88|0,10);g=v[f+24>>2];v[f+92>>2]=v[f+28>>2];v[f+88>>2]=g;m=b;i=b>>>0>2147483648;b=Da;i=(b|0)>-1?1:(b|0)>=-1?i:0;m=i?m:-2147483648;b=i?b:-1;r=((b|0)<0?1:(b|0)<=0?m>>>0<2147483647:0)?m:2147483647;b=Md(g,f+88|0,10);m=b;g=b>>>0>2147483648;b=Da;g=(b|0)>-1?1:(b|0)>=-1?g:0;i=g?m:-2147483648;b=g?b:-1;i=((b|0)<0?1:(b|0)<=0?i>>>0<2147483647:0)?i:2147483647;y=0;g=-1;m=255;b=-1;p=255}if(!((b|0)!=-1|(g|0)!=-1)){g=v[v[a+216>>2]+8>>2];i=g-i|0;b=0}C=v[a+240>>2];if(C&1){break q}s=v[a+176>>2];H=v[a+180>>2];E=v[a+216>>2];u=v[E>>2];J=v[E+4>>2];v[a+240>>2]=C|1;M=a;E=s-u|0;s=H-((s>>>0<u>>>0)+J|0)|0;H=b>>31;if((s|0)>(H|0)?1:(s|0)>=(H|0)?b>>>0<=E>>>0:0){ya:{za:{u=r>>31;if((s|0)<(u|0)?1:(u|0)>=(s|0)?r>>>0>E>>>0:0){h=+(E-b|0)/+(r-b|0);h=(1-h)*+(m|0)+h*+(y|0);if(!(D(h)<2147483648)){break za}b=~~h;break ya}m=i>>31;b=y;if((m|0)>(s|0)?1:(m|0)>=(s|0)?i>>>0>E>>>0:0){break ya}m=g>>31;b=p;if((m|0)<(s|0)?1:(m|0)<=(s|0)?g>>>0<=E>>>0:0){break ya}h=+(E-i|0)/+(g-i|0);h=(1-h)*+(y|0)+h*+(p|0);if(!(D(h)<2147483648)){break za}b=~~h;break ya}b=-2147483648}}else{b=m}v[M+412>>2]=b;break q}if(w[i+1|0]!=110){b=i+1|0;v[f+84>>2]=b;Lb(f+16|0,f+12|0,b,r);b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;h=lb(b,f+88|0);i=v[a+240>>2];g=i&2;h=h+(h>0?.5:-.5);Aa:{if(D(h)<2147483648){b=~~h;break Aa}b=-2147483648}if(g){break q}v[a+248>>2]=b-1>>>0<=10?b&3?b:5:v[v[a+220>>2]+104>>2];v[a+240>>2]=i|2;break q}v[f+84>>2]=b;Lb(f+16|0,f+12|0,b,r);b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;h=lb(b,f+88|0);g=v[a+240>>2];b=g&2;h=h+(h>0?.5:-.5);Ba:{if(D(h)<2147483648){i=~~h;if(!b){break Ba}break q}i=-2147483648;if(b){break q}}Ca:{if(i-1>>>0<=8){X=a,Z=lu(i),v[X+248>>2]=Z;g=v[a+240>>2];break Ca}v[a+248>>2]=v[v[a+220>>2]+104>>2]}v[a+240>>2]=g|2;break q}Ec(Q,w[v[a+220>>2]+16|0],1);Ec(R,w[v[a+220>>2]+20|0],1);Ec(S,w[v[a+220>>2]+24|0],1);Ec(T,w[v[a+220>>2]+28|0],1);break q}if(!$a(b,365794,v[f+20>>2]-b|0)){break G}Hc(f+88|0);b=v[f+88>>2];v[a+640>>2]=b;b=v[f+20>>2]-b|0;break F}b=v[v[a+220>>2]+4>>2];v[a+640>>2]=b;b=Xa(b)}v[g+644>>2]=b;nj(a);break q}kd(f+88|0,m);b=v[f+12>>2];g=v[f+88>>2];if(g>>>0>m>>>0){i=(f+16|0)+(b<<3)|0;v[i+4>>2]=g;v[i>>2]=m;b=b+1|0;v[f+12>>2]=b}if(!b){break C}}b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;X=a,Y=d*lb(b,f+88|0)+(1-d)*A[a+280>>3],A[X+280>>3]=Y;break q}v[a+280>>2]=0;v[a+284>>2]=0;break q}if(w[i+1|0]!=115|w[i+2|0]!=104|(w[i+3|0]!=97|w[i+4|0]!=100)){break z}v[f+84>>2]=p;v[f+88>>2]=r;Da:{if(v[f+12>>2]<8){kd(f+88|0,p);b=v[f+12>>2];g=v[f+88>>2];if(g>>>0>p>>>0){i=(f+16|0)+(b<<3)|0;v[i+4>>2]=g;v[i>>2]=p;b=b+1|0;v[f+12>>2]=b}if(!b){break Da}}b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;X=a,Y=d*lb(b,f+88|0)+(1-d)*A[a+432>>3],A[X+432>>3]=Y;break q}A[a+432>>3]=A[v[a+220>>2]+96>>3];break q}if(w[i+1|0]!=115|w[i+2|0]!=104|(w[i+3|0]!=97|w[i+4|0]!=100)){break z}v[f+84>>2]=p;v[f+88>>2]=r;Ea:{if(v[f+12>>2]<8){kd(f+88|0,p);b=v[f+12>>2];g=v[f+88>>2];if(g>>>0>p>>>0){i=(f+16|0)+(b<<3)|0;v[i+4>>2]=g;v[i>>2]=p;b=b+1|0;v[f+12>>2]=b}if(!b){break Ea}}b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;X=a,Y=d*lb(b,f+88|0)+(1-d)*A[a+424>>3],A[X+424>>3]=Y;break q}A[a+424>>3]=A[v[a+220>>2]+96>>3];break q}m=i+3|0;H=0}g=i+1|0;b=i+2|0;s=i+4|0;M=0;E=0;J=0}C=0;p=0;Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{switch(u-99|0){default:switch(u-49|0){case 1:break Ra;case 0:break Ta;default:break Ja};case 17:v[f+84>>2]=g;h=1;Va:{Wa:{Xa:{Ya:{Za:{_a:{$a:{J=v[f+12>>2];switch(J-2|0){case 2:break Ya;case 0:break _a;case 1:break $a;default:break Za}}b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;h=lb(b,f+88|0);b=v[f+24>>2];v[f+92>>2]=v[f+28>>2];v[f+88>>2]=b;i=h>=2147483648;if(D(h)<2147483648){g=~~h}else{g=-2147483648}i=h<=-2147483648?-2147483648:i?-2147483648:g;o(+h);g=j(1)|0;m=j(0)|0;g=g&2147483647;m=(g|0)==2146435072&(m|0)!=0|g>>>0>2146435072;k=lb(b,f+88|0);o(+k);b=j(1)|0;g=j(0)|0;b=b&2147483647;p=(b|0)==2146435072&(g|0)!=0|b>>>0>2146435072;if(D(k)<2147483648){g=~~k}else{g=-2147483648}b=m?-2147483648:i;if(!(k<=-2147483648|p)){h=1;if(!(k>=2147483648)){break Xa}}t[a+410|0]=0;g=-2147483648;h=1;break Va}b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;h=lb(b,f+88|0)}b=0;t[a+410|0]=0;break Wa}b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;g=Md(b,f+88|0,10);b=Da;i=v[f+24>>2];v[f+92>>2]=v[f+28>>2];v[f+88>>2]=i;i=Md(i,f+88|0,10);m=v[f+32>>2];v[f+92>>2]=v[f+36>>2];v[f+88>>2]=m;p=g;g=(b|0)>-1?1:(b|0)>=-1?g>>>0>2147483648:0;p=g?p:-2147483648;b=g?b:-1;b=((b|0)<0?1:(b|0)<=0?p>>>0<2147483647:0)?p:2147483647;p=i;g=Da;i=(g|0)>-1?1:(g|0)>=-1?i>>>0>2147483648:0;p=i?p:-2147483648;g=i?g:-1;g=((g|0)<0?1:(g|0)<=0?p>>>0<2147483647:0)?p:2147483647;h=lb(m,f+88|0)}t[a+410|0]=0;if(g){break Va}}g=v[v[a+216>>2]+8>>2]}k=0;i=v[a+176>>2]-v[v[a+216>>2]>>2]|0;ab:{if((i|0)<(b|0)){break ab}k=1;if((g|0)<=(i|0)){break ab}g=g-b|0;if(!g){break Na}q=+(i-b|0)/+(g|0);i=0;o(+h);g=j(1)|0;b=j(0)|0;m=g;C=g;u=g&2147483647;g=b;bb:{if(!(u|b)){break bb}o(+q);s=j(1)|0;b=j(0)|0;p=s;E=p;r=b;if(b?0:(p|0)==1072693248){break bb}cb:{s=E&2147483647;if(!(s>>>0>2146435072|(s|0)==2146435072&(r|0)!=0|u>>>0>2146435072)){if(!g|(u|0)!=2146435072){break cb}}k=q+h;break bb}db:{eb:{fb:{gb:{if((p|0)>-1){break gb}b=2;if(u>>>0>1128267775){break fb}if(u>>>0<1072693248){break gb}H=u>>>20|0;if(u>>>0>=1094713344){i=1075-H|0;H=g>>>i|0;b=0;if((g|0)!=H<<i){break fb}b=2-(H&1)|0;break fb}if(g){break db}b=1043-H|0;g=u>>>b|0;if((u|0)!=g<<b){break eb}i=2-(g&1)|0;break eb}b=0}i=b;if(g){break db}}if((u|0)==2146435072){if(!(r|s-1072693248)){break bb}k=(m|0)>-1?h:0;if(s>>>0>=1072693248){break bb}k=(m|0)>-1?0:-h;break bb}if((u|0)==1072693248){k=q;if((m|0)>-1){break bb}k=1/q;break bb}k=q*q;if((C|0)==1073741824){break bb}if((C|0)!=1071644672|(p|0)<0){break db}k=K(q);break bb}x=D(q);if(!((s?(E&1073741823)!=1072693248:0)|r)){k=(m|0)<0?1/x:x;if((p|0)>-1){break bb}if(!(s-1072693248|i)){h=k-k;k=h/h;break bb}k=(i|0)==1?-k:k;break bb}z=1;hb:{if((p|0)>-1){break hb}ib:{switch(i|0){case 0:h=q-q;k=h/h;break bb;case 1:break ib;default:break hb}}z=-1}jb:{if(u>>>0>=1105199105){if(u>>>0>=1139802113){k=(m|0)<0?N:0;if(s>>>0<=1072693247){break bb}k=(C|0)>0?N:0;break bb}k=(m|0)<0?z*1e300*1e300:z*1e-300*1e-300;if(s>>>0<=1072693246){break bb}k=(C|0)>0?z*1e300*1e300:z*1e-300*1e-300;if(s>>>0>=1072693249){break bb}k=x+-1;q=k*1.9259629911266175e-8+k*k*(.5-k*(k*-.25+.3333333333333333))*-1.4426950408889634;x=q;k=k*1.4426950216293335;o(+(q+k));b=j(1)|0;j(0)|0;l(0,0);l(1,b|0);q=+n();x=x-(q-k);break jb}k=x*9007199254740992;b=s>>>0<1048576;q=b?k:x;o(+k);g=j(1)|0;j(0)|0;p=b?g:s;g=p&1048575;i=g|1072693248;p=(p>>20)+(b?-1076:-1023)|0;b=0;kb:{if(g>>>0<235663){break kb}if(g>>>0<767610){b=1;break kb}i=g|1071644672;p=p+1|0}r=b<<3;W=A[r+522928>>3];k=A[r+522912>>3];o(+q);j(1)|0;l(0,j(0)|0);l(1,i|0);I=+n();q=1/(k+I);U=q;x=I-k;P=x;l(0,0);l(1,((i>>>1|536870912)+(b<<18)|0)+524288|0);V=+n();x=x*q;o(+x);b=j(1)|0;j(0)|0;l(0,0);l(1,b|0);q=+n();k=U*(P-V*q-(I-(V-k))*q);P=k;I=q*q;U=k*(x+q);k=x*x;V=U+k*k*(k*(k*(k*(k*(k*.20697501780033842+.23066074577556175)+.272728123808534)+.33333332981837743)+.4285714285785502)+.5999999999999946);o(+(I+3+V));b=j(1)|0;j(0)|0;l(0,0);l(1,b|0);k=+n();x=P*k+x*(V-(k+-3-I));q=q*k;o(+(x+q));b=j(1)|0;j(0)|0;l(0,0);l(1,b|0);k=+n();q=W+((x-(k-q))*.9617966939259756+k*-7.028461650952758e-9);P=q;x=A[r+522944>>3];k=k*.9617967009544373;I=+(p|0);o(+(x+(q+k)+I));b=j(1)|0;j(0)|0;l(0,0);l(1,b|0);q=+n();x=P-(q-I-x-k)}l(0,0);l(1,m|0);I=+n();k=q*I;h=x*h+(h-I)*q;q=k+h;o(+q);i=j(1)|0;b=j(0)|0;g=i;m=b;lb:{mb:{nb:{if((i|0)>=1083179008){if(m|i-1083179008){break mb}if(!(h+8.008566259537294e-17>q-k)){break nb}break mb}if((i&2147482624)>>>0<1083231232){break nb}if(m|i+1064252416){break lb}if(!(h<=q-k)){break nb}break lb}b=0;P=z;m=i&2147483647;if(m>>>0>=1071644673){i=i+(1048576>>>(m>>>20|0)-1022|0)|0;m=i>>>20&2047;b=(i&1048575|1048576)>>>1043-m|0;b=(g|0)<0?0-b|0:b;l(0,0);l(1,i&-1048576>>m-1023);k=k-+n();o(+(h+k));g=j(1)|0;j(0)|0}l(0,0);l(1,g|0);q=+n();x=q*.6931471824645996;q=(h-(q-k))*.6931471805599453+q*-1.904654299957768e-9;h=x+q;k=h*h;k=h-k*(k*(k*(k*(k*4.1381367970572385e-8+-16533902205465252e-22)+6613756321437934e-20)+-.0027777777777015593)+.16666666666666602);U=h*k/(k+-2);k=q-(h-x);h=h-(U-(k+h*k))+1;o(+h);g=j(1)|0;i=j(0)|0;g=(b<<20)+g|0;ob:{if((g|0)<=1048575){h=_d(h,b);break ob}l(0,i|0);l(1,g|0);h=+n()}k=P*h;break bb}k=z*1e300*1e300;break bb}k=z*1e-300*1e-300}}g=e&1;h=g?k:d;b=J-1|0;if(y^1|b>>>0>3){break p}e=(f+16|0)+(b<<3)|0;b=v[e>>2];v[f+84>>2]=b;e=v[e+4>>2];if(e>>>0<c>>>0){if(g){break Ma}X=f,Z=Ju(a,b,e,k,1),v[X+84>>2]=Z;e=0;break q}if(v[f+80>>2]!=(c|0)){break La}v[f+80>>2]=b;e=1;h=k;break p;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:break Ja;case 12:break Qa;case 0:break Ua}}if(w[g|0]!=108|w[i+2|0]!=105|w[i+3|0]!=112){break Sa}v[f+84>>2]=s;b=v[f+12>>2];if((b|0)==4){b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;k=lb(b,f+88|0);b=v[f+24>>2];v[f+92>>2]=v[f+28>>2];v[f+88>>2]=b;q=lb(b,f+88|0);b=v[f+32>>2];v[f+92>>2]=v[f+36>>2];v[f+88>>2]=b;z=lb(b,f+88|0);b=v[f+40>>2];v[f+92>>2]=v[f+44>>2];v[f+88>>2]=b;x=lb(b,f+88|0);t[a+409|0]=0;b=a;h=d;k=k+(k>0?.5:-.5);pb:{if(D(k)<2147483648){g=~~k;break pb}g=-2147483648}k=1-d;h=h*+(g|0)+k*+v[a+392>>2];qb:{if(D(h)<2147483648){g=~~h;break qb}g=-2147483648}v[b+392>>2]=g;b=a;h=d;z=z+(z>0?.5:-.5);rb:{if(D(z)<2147483648){g=~~z;break rb}g=-2147483648}h=h*+(g|0)+k*+v[a+400>>2];sb:{if(D(h)<2147483648){g=~~h;break sb}g=-2147483648}v[b+400>>2]=g;b=a;h=d;q=q+(q>0?.5:-.5);tb:{if(D(q)<2147483648){g=~~q;break tb}g=-2147483648}h=h*+(g|0)+k*+v[a+396>>2];ub:{if(D(h)<2147483648){g=~~h;break ub}g=-2147483648}v[b+396>>2]=g;k=k*+v[a+404>>2];h=d;q=x+(x>0?.5:-.5);vb:{if(D(q)<2147483648){b=~~q;break vb}b=-2147483648}h=h*+(b|0)+k;if(D(h)<2147483648){v[a+404>>2]=~~h;break q}v[a+404>>2]=-2147483648;break q}if(v[a+448>>2]){break q}if(!Iu(a,f+16|0,b)){break q}v[a+608>>2]=0;break q}p=1;if(w[g|0]!=99){break Ja}g=b}v[f+84>>2]=g;Lb(f+16|0,f+12|0,g,r);if(v[f+12>>2]){Cf(Q,ij(v[f+16>>2]),d);break q}Cf(Q,v[v[a+220>>2]+16>>2],1);break q}y=0;switch(w[g|0]-97|0){case 0:break Oa;case 2:break Pa;default:break Ia}}if(w[g|0]!=114|w[i+2|0]!=103){break Ja}v[f+84>>2]=m;if(v[f+12>>2]==2){break Fa}break q}v[f+84>>2]=b;Lb(f+16|0,f+12|0,b,r);if(!v[f+12>>2]){break Ga}Cf(R,ij(v[f+16>>2]),d);break q}v[f+84>>2]=b;Lb(f+16|0,f+12|0,b,r);if(!v[f+12>>2]){break Ka}Ec(R,Bh(v[f+16>>2]),d);break q}O(365850,365864,667,365906);L()}O(365917,365864,680,365906);L()}O(365925,365864,683,365906);L()}Ec(R,w[v[a+220>>2]+20|0],1);break q}wb:{xb:{yb:{zb:{Ab:{Bb:{switch(u-51|0){case 0:if(w[g|0]==99){break zb}y=1;if(p){break Ab}break Ia;case 1:C=1;if(w[g|0]==99){break yb}break;default:break Bb}}y=0;if(!p){break Ia}}if(w[g|0]!=97){break Ia}v[f+84>>2]=b;Lb(f+16|0,f+12|0,b,r);if(v[f+12>>2]){break xb}Ec(Q,w[v[a+220>>2]+16|0],1);break q}v[f+84>>2]=b;Lb(f+16|0,f+12|0,b,r);if(!v[f+12>>2]){break Ha}Cf(S,ij(v[f+16>>2]),d);break q}v[f+84>>2]=b;Lb(f+16|0,f+12|0,b,r);if(!v[f+12>>2]){break wb}Cf(T,ij(v[f+16>>2]),d);break q}Ec(Q,Bh(v[f+16>>2]),d);break q}Cf(T,v[v[a+220>>2]+28>>2],1);break q}Cb:{Db:{Eb:{Fb:{Gb:{Hb:{Ib:{Jb:{Kb:{Lb:{Mb:{Nb:{Ob:{if(!(w[g|0]==97?y:0)){if(!(!C|w[g|0]!=97)){v[f+84>>2]=b;Lb(f+16|0,f+12|0,b,r);if(v[f+12>>2]){Ec(T,Bh(v[f+16>>2]),d);break q}Ec(T,w[v[a+220>>2]+28|0],1);break q}if((u|0)==114){v[f+84>>2]=g;Lb(f+16|0,f+12|0,g,r);if(v[f+12>>2]){g=a;b=v[f+16>>2];s=b;p=v[f+20>>2]-b|0;m=Ca-16|0;Ca=m;r=v[a+168>>2];b=v[r>>2];Pb:{if((b|0)>=1){u=v[r+16>>2];while(1){i=b-1|0;y=u+B(i,144)|0;C=v[y>>2];if(!(X=1,Z=$a(C,s,p),_=w[p+C|0],_?X:Z)){break Pb}y=(b|0)>1;b=i;if(y){continue}break}}b=v[r+84>>2];v[m+8>>2]=s;v[m+4>>2]=p;v[m>>2]=r;hb(b,2,3716,m);y=0}Ca=m+16|0;Lm(g,y);break q}Lm(a,0);break q}if(E){if(w[g|0]==101){break Ob}v[f+84>>2]=g;Lb(f+16|0,f+12|0,g,r);b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;h=lb(b,f+88|0);h=h+(h>0?.5:-.5);Qb:{if(D(h)<2147483648){b=~~h;break Qb}b=-2147483648}if(!(b>>>0<2|(b|0)>99?v[f+12>>2]:0)){b=v[v[a+220>>2]+32>>2]}v[a+648>>2]=b;nj(a);break q}if(H){v[f+84>>2]=g;Lb(f+16|0,f+12|0,g,r);b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;h=lb(b,f+88|0);h=h+(h>0?.5:-.5);Rb:{if(D(h)<2147483648){b=~~h;break Rb}b=-2147483648}g=a;if(!(b>>>0<2?v[f+12>>2]:0)){b=v[v[a+220>>2]+36>>2]}v[g+652>>2]=b;nj(a);break q}Sb:{switch(u-107|0){case 0:if(w[g|0]==102){g=b;break Eb}if(w[g|0]==111){break Nb}v[f+84>>2]=g;Lb(f+16|0,f+12|0,g,r);if(v[f+12>>2]){b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;h=lb(b,f+88|0)}else{h=100}v[a+612>>2]=1;b=v[a+616>>2];if(b){v[a+620>>2]=b+v[a+620>>2]}h=h*10;if(D(h)<2147483648){v[a+616>>2]=~~h;break q}v[a+616>>2]=-2147483648;break q;case 8:if(w[g|0]==104){break Mb}break Jb;case 10:v[f+84>>2]=g;Lb(f+16|0,f+12|0,g,r);b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;h=lb(b,f+88|0);h=h+(h>0?.5:-.5);Tb:{if(D(h)<2147483648){b=~~h;break Tb}b=-2147483648}g=v[a+244>>2];if(!(b>>>0<2?v[f+12>>2]:0)){b=v[v[a+220>>2]+40>>2]}if(b){v[a+244>>2]=g|1;break q}v[a+244>>2]=g&-2;break q;default:if((u|0)==75){break Eb}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 9:break Sb}}if(J){if(w[g|0]==98){break Lb}break Kb}if((u|0)==113){v[f+84>>2]=g;Lb(f+16|0,f+12|0,g,r);b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;h=lb(b,f+88|0);h=h+(h>0?.5:-.5);Ub:{if(D(h)<2147483648){b=~~h;break Ub}b=-2147483648}if((b|0)<4?!v[f+12>>2]|(b|0)<0:1){b=v[v[a+168>>2]+56>>2]}v[a+660>>2]=b;break q}if(!M|w[g|0]!=101){break q}v[f+84>>2]=b;Lb(f+16|0,f+12|0,b,r);b=a;Vb:{if(v[f+12>>2]){g=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=g;h=lb(g,f+88|0);h=h+(h>0?.5:-.5);if(D(h)<2147483648){g=~~h;break Vb}g=-2147483648;break Vb}g=v[v[a+220>>2]+120>>2]}v[b+664>>2]=g;break q}v[f+84>>2]=b;Lb(f+16|0,f+12|0,b,r);if(!v[f+12>>2]){break Cb}Ec(S,Bh(v[f+16>>2]),d);break q}v[f+84>>2]=b;Lb(f+16|0,f+12|0,b,r);if(v[f+12>>2]){break Db}t[a+411|0]=0;break q}v[f+84>>2]=b;Lb(f+16|0,f+12|0,b,r);if(v[f+12>>2]){break Gb}h=100;break Fb}if(w[i+2|0]!=97|w[i+3|0]!=100){break Jb}v[f+84>>2]=s;Lb(f+16|0,f+12|0,s,r);if(!v[f+12>>2]){break Ib}b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;h=d*lb(b,f+88|0);q=1-d;k=G(h+q*A[a+432>>3],0);h=G(h+q*A[a+424>>3],0);break Hb}if(w[i+2|0]!=111){break Kb}v[f+84>>2]=m;Lb(f+16|0,f+12|0,m,r);b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;X=a,Y=lb(b,f+88|0),A[X+440>>3]=Y;break q}v[f+84>>2]=g;Lb(f+16|0,f+12|0,g,r);g=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=g;b=a;h=lb(g,f+88|0);h=h+(h>0?.5:-.5);Wb:{if(D(h)<2147483648){g=~~h;break Wb}g=-2147483648}v[b+600>>2]=(g|0)>0?g:0;break q}v[f+84>>2]=g;Lb(f+16|0,f+12|0,g,r);b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;h=lb(b,f+88|0);h=h+(h>0?.5:-.5);Xb:{if(D(h)<2147483648){b=~~h;break Xb}b=-2147483648}g=v[a+244>>2];if(!(b>>>0<2?v[f+12>>2]:0)){b=v[v[a+220>>2]+44>>2]}if(b){v[a+244>>2]=g|2;break q}v[a+244>>2]=g&-3;break q}h=A[v[a+220>>2]+96>>3];k=h}A[a+432>>3]=k;A[a+424>>3]=h;break q}b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;h=lb(b,f+88|0)}v[a+612>>2]=3;b=v[a+616>>2];if(b){v[a+620>>2]=b+v[a+620>>2]}h=h*10;if(D(h)<2147483648){v[a+616>>2]=~~h;break q}v[a+616>>2]=-2147483648;break q}v[f+84>>2]=g;Lb(f+16|0,f+12|0,g,r);if(v[f+12>>2]){b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;h=lb(b,f+88|0)}else{h=100}v[a+612>>2]=2;b=v[a+616>>2];if(b){v[a+620>>2]=b+v[a+620>>2]}h=h*10;if(D(h)<2147483648){v[a+616>>2]=~~h;break q}v[a+616>>2]=-2147483648;break q}g=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=g;b=a;m=b;h=d*lb(g,f+88|0)+(1-d)*+t[b+411|0]+.5;Yb:{if(D(h)<2147483648){g=~~h;break Yb}g=-2147483648}b=(g|0)>0?g:0;t[m+411|0]=(b|0)<127?b:127;break q}Ec(S,w[v[a+220>>2]+24|0],1);break q}Cf(S,v[v[a+220>>2]+24>>2],1);break q}Cf(R,v[v[a+220>>2]+20>>2],1);break q}b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;h=lb(b,f+88|0);b=v[f+24>>2];v[f+92>>2]=v[f+28>>2];v[f+88>>2]=b;k=lb(b,f+88|0);if(w[a+408|0]){break q}t[a+410|0]=0;t[a+408|0]=1;A[a+320>>3]=k;A[a+312>>3]=h;break q}kd(f+88|0,p);b=v[f+12>>2];g=v[f+88>>2];if(g>>>0>p>>>0){i=(f+16|0)+(b<<3)|0;v[i+4>>2]=g;v[i>>2]=p;b=b+1|0;v[f+12>>2]=b}if(!b){break u}}b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;X=a,Y=G(d*lb(b,f+88|0)+(1-d)*A[a+360>>3],0),A[X+360>>3]=Y;break q}A[a+360>>3]=A[v[a+220>>2]+88>>3];break q}kd(f+88|0,p);b=v[f+12>>2];g=v[f+88>>2];if(g>>>0>p>>>0){i=(f+16|0)+(b<<3)|0;v[i+4>>2]=g;v[i>>2]=p;b=b+1|0;v[f+12>>2]=b}if(!b){break r}}b=v[f+16>>2];v[f+92>>2]=v[f+20>>2];v[f+88>>2]=b;X=a,Y=G(d*lb(b,f+88|0)+(1-d)*A[a+352>>3],0),A[X+352>>3]=Y;break q}A[a+352>>3]=A[v[a+220>>2]+88>>3]}h=d}b=v[f+80>>2];d=h}v[f+84>>2]=b;if(b>>>0<c>>>0){continue}break}}Ca=f+96|0;return b}function vx(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=C(0),r=0,s=0,u=C(0),x=0,A=C(0),D=0,E=C(0),F=0,G=0,H=0,I=0,J=C(0),K=0,L=0,M=0,N=C(0),O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0;k=Ca-112|0;Ca=k;if(f>>>0<=6){v[k+104>>2]=0;v[k+96>>2]=0;v[k+100>>2]=0;j=4;a:{b:{c:{d:{e:{f:{switch(v[a+20>>2]-1|0){case 1:g:{g=v[a+16>>2];h=g+10|0;i=v[a>>2];h:{if(h>>>0<i>>>0){break h}x=i+v[a+4>>2]|0;if(x>>>0<h>>>0){break h}m=x-h|0;if(m>>>0<4){break h}D=w[g+11|0];g=D&1?8:6;l=g+2|0;i:{if(D&8){break i}l=g+4|0;if(D&64){break i}l=D&128?g+8|0:g}if(m>>>0<l>>>0){break h}g=1;if(!(D&32)){break g}while(1){j:{l=i;m=D&1?8:6;r=m+2|0;k:{if(D&8){break k}s=D&255;r=m+4|0;if(s&64){break k}r=s&128?m+8|0:m}h=r+h|0;if(l>>>0>h>>>0|h>>>0>x>>>0){break j}n=x-h|0;if(n>>>0<4){break j}D=w[h+1|0];l=D&1?8:6;m=l+2|0;l:{if(D&8){break l}m=l+4|0;if(D&64){break l}m=D&128?l+8|0:l}if(m>>>0>n>>>0){break j}g=g+1|0;if(D&32){continue}}break}if((g|0)>0){break g}}h=0;v[k+100>>2]=0;break c}h=0;while(1){h=((h>>>1|0)+h|0)+8|0;if(h>>>0<=g>>>0){continue}break};m:{if(h>>>0<=268435454){i=Va(h<<4);if(i){break m}}v[k+96>>2]=-1;D=0;break a}v[k+96>>2]=h;v[k+104>>2]=i;i=Ra(i,0,g<<4);v[k+100>>2]=g;if(!g){g=0;break d}x=g&3;j=0;if(g-1>>>0>=3){m=g&-4;while(1){l=j<<4;n=l+i|0;v[n+4>>2]=0;v[n+8>>2]=0;t[n|0]=0;t[n+12|0]=0;n=i+(l|16)|0;v[n+4>>2]=0;v[n+8>>2]=0;t[n|0]=0;t[n+12|0]=0;n=i+(l|32)|0;v[n+4>>2]=0;v[n+8>>2]=0;t[n|0]=0;t[n+12|0]=0;l=i+(l|48)|0;v[l+4>>2]=0;v[l+8>>2]=0;t[l|0]=0;t[l+12|0]=0;j=j+4|0;m=m-4|0;if(m){continue}break}}if(!x){break e}while(1){l=i+(j<<4)|0;v[l+4>>2]=0;v[l+8>>2]=0;t[l|0]=0;t[l+12|0]=0;j=j+1|0;x=x-1|0;if(x){continue}break};break e;case 0:break f;default:break c}}v[k+24>>2]=v[a+16>>2];v[k+36>>2]=v[a+8>>2];g=v[a+4>>2];v[k+28>>2]=v[a>>2];v[k+32>>2]=g;g=v[k+24>>2];l=g+10|0;h=v[k+28>>2];g=w[g|0]|w[g+1|0]<<8;m=(g<<8|g>>>8)<<16>>16;n=m+1|0;g=l+(n<<1)|0;n:{o:{if(h>>>0>g>>>0){break o}h=h+v[k+32>>2]|0;if(h>>>0<g>>>0|h-g>>>0<2){break o}g=(l+(m<<1)|0)-2|0;x=w[g|0]<<8|w[g+1|0];j=0;g=v[k+96>>2];p:{if((g|0)<0){break p}h=x+1|0;if(g>>>0<=x>>>0){i=g;while(1){i=((i>>>1|0)+i|0)+8|0;if(h>>>0>=i>>>0){continue}break}q:{if(!(g>>>0>i>>>0|i>>>0>268435454)){g=gb(v[k+104>>2],i<<4);if(g){break q}}v[k+96>>2]=-1;break p}v[k+96>>2]=i;v[k+104>>2]=g}g=v[k+100>>2];if(g>>>0<=x>>>0){Ra(v[k+104>>2]+(g<<4)|0,0,h-g<<4)}v[k+100>>2]=h}h=v[k+100>>2];r:{if(!h){h=0;break r}while(1){s:{if(h>>>0<=j>>>0){g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g;h=v[k+100>>2];g=655664;break s}g=v[k+104>>2]+(j<<4)|0}v[g+4>>2]=0;v[g+8>>2]=0;t[g|0]=0;t[g+12|0]=0;j=j+1|0;if(j>>>0<h>>>0){continue}break}}i=1;if(e){break o}j=0;t:{if((m|0)<=0){break t}while(1){g=l+(j<<1)|0;g=w[g|0]<<8|w[g+1|0];u:{if(g>>>0>=h>>>0){g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g;g=655664;break u}g=v[k+104>>2]+(g<<4)|0}t[g+12|0]=1;j=j+1|0;if((m|0)==(j|0)){break t}h=v[k+100>>2];continue}}g=l+(m<<1)|0;g=(l+(n<<1)|0)+(w[g|0]<<8|w[g+1|0])|0;i=0;j=0;while(1){h=v[k+28>>2];if(h>>>0>g>>>0|h+v[k+32>>2]>>>0<=g>>>0){break o}l=w[g|0];h=g+1|0;v:{if(y[k+100>>2]<=j>>>0){m=v[70115];v[163918]=v[70114];v[163919]=m;m=v[70113];v[163916]=v[70112];v[163917]=m;s=655664;break v}s=v[k+104>>2]+(j<<4)|0}t[s|0]=l;if(l&8){m=v[k+28>>2];if(m>>>0>h>>>0|m+v[k+32>>2]>>>0<=h>>>0){break o}h=g+2|0;g=w[g+1|0];w:{if(!g){break w}while(1){j=j+1|0;if(x>>>0<j>>>0){break w}g=g-1|0;x:{if(y[k+100>>2]<=j>>>0){m=v[70115];v[163918]=v[70114];v[163919]=m;m=v[70113];v[163916]=v[70112];v[163917]=m;s=655664;break x}s=v[k+104>>2]+(j<<4)|0}t[s|0]=l;if(g){continue}break}}}g=h;j=j+1|0;if(x>>>0>=j>>>0){continue}break}h=v[k+100>>2];l=1;if(!h){break n}j=0;while(1){y:{if(h>>>0<=j>>>0){h=v[70115];v[163918]=v[70114];v[163919]=h;h=v[70113];v[163916]=v[70112];v[163917]=h;h=655664;break y}h=v[k+104>>2]+(j<<4)|0}l=w[h|0];z:{if(l&2){h=v[k+28>>2];if(h>>>0>g>>>0|h+v[k+32>>2]>>>0<=g>>>0){break o}h=g+1|0;A=C(w[g|0]);if(l&16){q=C(q+A);g=h;break z}q=C(q-A);g=h;break z}if(l&16){break z}h=v[k+28>>2];if(h>>>0>g>>>0){break o}h=h+v[k+32>>2]|0;if(h>>>0<g>>>0|h-g>>>0<2){break o}h=w[g|0]|w[g+1|0]<<8;q=C(q+C((h<<8|h>>>8)<<16>>16));g=g+2|0}h=v[k+100>>2];A:{if(j>>>0>=h>>>0){h=v[70115];v[163918]=v[70114];v[163919]=h;h=v[70113];v[163916]=v[70112];v[163917]=h;h=v[k+100>>2];l=655664;break A}l=v[k+104>>2]+(j<<4)|0}z[l+4>>2]=q;j=j+1|0;if(j>>>0<h>>>0){continue}break}l=1;if(!h){break n}q=C(0);j=0;while(1){B:{if(h>>>0<=j>>>0){h=v[70115];v[163918]=v[70114];v[163919]=h;h=v[70113];v[163916]=v[70112];v[163917]=h;i=655664;break B}i=v[k+104>>2]+(j<<4)|0}l=w[i|0];C:{if(l&4){i=0;h=v[k+28>>2];if(h>>>0>g>>>0|h+v[k+32>>2]>>>0<=g>>>0){break o}h=g+1|0;A=C(w[g|0]);if(l&32){q=C(q+A);g=h;break C}q=C(q-A);g=h;break C}if(l&32){break C}i=0;h=v[k+28>>2];if(h>>>0>g>>>0){break o}h=h+v[k+32>>2]|0;if(h>>>0<g>>>0|h-g>>>0<2){break o}h=w[g|0]|w[g+1|0]<<8;q=C(q+C((h<<8|h>>>8)<<16>>16));g=g+2|0}h=v[k+100>>2];D:{if(j>>>0>=h>>>0){h=v[70115];v[163918]=v[70114];v[163919]=h;h=v[70113];v[163916]=v[70112];v[163917]=h;h=v[k+100>>2];i=655664;break D}i=v[k+104>>2]+(j<<4)|0}z[i+8>>2]=q;i=1;j=j+1|0;if(j>>>0<h>>>0){continue}break}}l=i}if(!l){break a}h=v[k+96>>2];g=v[k+100>>2]}D=0;if((h|0)<0){break a}i=g+4|0;j=(i|0)>0?i:0}if(h>>>0>=j>>>0){break b}}g=h;while(1){g=((g>>>1|0)+g|0)+8|0;if(j>>>0>=g>>>0){continue}break}E:{if(!(g>>>0<h>>>0|g>>>0>268435454)){h=gb(v[k+104>>2],g<<4);if(h){break E}}v[k+96>>2]=-1;D=0;break a}v[k+96>>2]=g;v[k+104>>2]=h;g=v[k+100>>2]}if(g>>>0<j>>>0){Ra(v[k+104>>2]+(g<<4)|0,0,j-g<<4)}v[k+100>>2]=j;I=v[k+104>>2];F=j-4|0;h=I+(F<<4)|0;v[k+80>>2]=h;v[k+88>>2]=0;g=j-F|0;g=g>>>0>j>>>0?0:g;n=g>>>0<4?g:4;v[k+84>>2]=n;g=h;if(!n){g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g;g=655664}v[g+4>>2]=0;v[g+8>>2]=0;t[g|0]=0;t[g+12|0]=0;F:{if(n>>>0<=1){g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g;g=655664;break F}g=h+16|0}v[g+4>>2]=0;v[g+8>>2]=0;t[g|0]=0;t[g+12|0]=0;G:{if(n>>>0<=2){g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g;g=655664;break G}g=h+32|0}v[g+4>>2]=0;v[g+8>>2]=0;t[g|0]=0;t[g+12|0]=0;H:{if(n>>>0<=3){g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g;g=655664;break H}g=h+48|0}v[g+4>>2]=0;v[g+8>>2]=0;t[g|0]=0;t[g+12|0]=0;r=v[a+16>>2];g=w[r+2|0]|w[r+3|0]<<8;i=(g<<8|g>>>8)<<16>>16;g=v[a+12>>2];x=v[c+4>>2];l=v[x+4>>2];I:{J:{if(g>>>0<l>>>0){m=v[x+12>>2];m=(g|0)<0?280448:v[(m?m:280448)+12>>2]+(g<<2)|0;s=m+3|0;m=m+2|0;break J}if(y[x>>2]<=g>>>0){break I}m=v[x+12>>2];m=(g-l<<1)+((l|0)<0?280448:v[(m?m:280448)+12>>2]+(l<<2)|0)|0;s=m+1|0}i=i-((w[s|0]|w[m|0]<<8)<<16>>16)|0}m=w[r+8|0]|w[r+9|0]<<8;s=(m<<8|m>>>8)<<16>>16;m=v[c+8>>2];r=v[m+4>>2];K:{L:{if(r>>>0>g>>>0){H=v[m+12>>2];L=(g|0)<0?280448:v[(H?H:280448)+12>>2]+(g<<2)|0;H=L+3|0;L=L+2|0;break L}if(y[m>>2]<=g>>>0){break K}H=v[m+12>>2];L=(g-r<<1)+((r|0)<0?280448:v[(H?H:280448)+12>>2]+(r<<2)|0)|0;H=L+1|0}s=((w[H|0]|w[L|0]<<8)<<16>>16)+s|0}H=v[x>>2];M:{if(H>>>0<=g>>>0){l=0;if(H){break M}l=v[x+8>>2];break M}x=v[x+12>>2];l=l-1|0;l=g>>>0>l>>>0?l:g;l=(l|0)<0?280448:v[(x?x:280448)+12>>2]+(l<<2)|0;l=w[l|0]<<8|w[l+1|0]}x=l;H=v[m>>2];N:{if(H>>>0<=g>>>0){l=0;if(H){break N}l=v[m+8>>2];break N}l=v[m+12>>2];m=v[(l?l:280448)+12>>2];l=r-1|0;l=g>>>0>l>>>0?l:g;l=(l|0)<0?280448:m+(l<<2)|0;l=w[l|0]<<8|w[l+1|0]}O:{P:{Q:{R:{S:{if(!n){g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g;break S}z[(I+(F<<4)|0)+4>>2]=i|0;if((n|0)==1){break S}z[h+20>>2]=i+x>>>0;if(n>>>0>2){break R}}q=C(s-l|0);break Q}z[h+40>>2]=s|0;q=C(s-l|0);if((n|0)!=3){break P}}g=v[70115];v[163918]=v[70114];v[163919]=g;g=v[70113];v[163916]=v[70112];v[163917]=g;g=v[a+12>>2];i=655664;break O}i=h+48|0}z[i+8>>2]=q;m=v[c>>2];D=0;v[k+72>>2]=0;v[k+16>>2]=0;v[k+68>>2]=j;v[k+64>>2]=I;h=v[k+68>>2];v[k+8>>2]=v[k+64>>2];v[k+12>>2]=h;H=0;x=0;o=Ca-176|0;Ca=o;i=1;L=b;h=v[b+60>>2];T:{if(!h){break T}l=v[m>>2];b=l?l:280448;b=y[b+16>>2]<20?280448:v[b+12>>2];if((h|0)!=(w[b+4|0]<<8|w[b+5|0])|(w[b+13|0]|w[b+12|0]<<8)>>>0<=g>>>0){break T}h=b+20|0;U:{if(t[b+15|0]&1){h=h+(g<<2)|0;g=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);h=w[h+4|0]|w[h+5|0]<<8|(w[h+6|0]<<16|w[h+7|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);break U}h=h+(g<<1)|0;g=w[h+1|0]<<1|w[h|0]<<9;h=w[h+3|0]<<1|w[h+2|0]<<9}h=h-g|0;j=v[l+16>>2];b=w[b+16|0]|w[b+17|0]<<8|(w[b+18|0]<<16|w[b+19|0]<<24);g=(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))+g|0;b=j-g|0;b=b>>>0>j>>>0?0:b;b=b>>>0>h>>>0?h:b;V:{if(b>>>0<4){b=0;g=0;break V}g=g+v[l+12>>2]|0}v[o+168>>2]=0;v[o+164>>2]=b;v[o+160>>2]=g;b=y[o+164>>2]<4?280448:v[o+160>>2];if(!(w[b|0]<<8|w[b+1|0])){break T}b=0;v[o+152>>2]=0;v[o+144>>2]=0;v[o+148>>2]=0;v[o+136>>2]=0;v[o+128>>2]=0;v[o+132>>2]=0;g=v[m>>2];g=g?g:280448;g=y[g+16>>2]<20?280448:v[g+12>>2];n=w[g+5|0];s=w[g+4|0];v[o+24>>2]=v[o+168>>2];g=v[o+164>>2];v[o+16>>2]=v[o+160>>2];v[o+20>>2]=g;r=o+144|0;l=Ca-16|0;Ca=l;h=v[o+16>>2];j=v[o+20>>2];g=o+112|0;v[g+24>>2]=v[o+24>>2];v[g+20>>2]=j;v[g+16>>2]=h;v[g+8>>2]=n|s<<8;n=0;v[g+4>>2]=0;v[g+12>>2]=0;h=j>>>0<4?280448:h;v[g>>2]=h;v[g+28>>2]=h+4;j=t[h|0];W:{if((j|0)>-1){s=0}else{j=h;h=w[h+3|0]|w[h+2|0]<<8;h=h?j+h|0:280448;v[l+12>>2]=h;if(!ux(l+12|0,r,g+16|0)){break W}v[g+12>>2]=v[l+12>>2]-h;h=v[g>>2];j=w[h|0];s=v[g+4>>2]}if(s>>>0>=(w[h+1|0]|j<<8&3840)>>>0){break W}j=v[g+16>>2];h=v[g+28>>2];if(j>>>0>h>>>0){break W}j=j+v[g+20>>2]|0;if(j>>>0<h>>>0){break W}j=j-h|0;if(j>>>0<4){break W}s=v[g+8>>2];g=w[h+2|0];g=(B(s,g>>>5&2|g>>>7)<<1)+4|0;h=w[h+1|0]|w[h|0]<<8;n=j>>>0>=(g>>>0>h>>>0?g:h)>>>0&(g|0)!=0}Ca=l+16|0;if(n){h=v[k+12>>2];l=(h|0)>0?h:0;X:{Y:{n=(h|0)<1;if(!n){while(1){b=((b>>>1|0)+b|0)+8|0;if(l>>>0>=b>>>0){continue}break}g=0;if(b>>>0>268435454){break X}O=Va(b<<4);if(O){break Y}}O=0;g=0;break X}s=Ra(O,0,l<<4);r=v[k+8>>2];g=0;while(1){Z:{if(g>>>0>=h>>>0){b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;b=655664;break Z}b=r+(g<<4)|0}F=v[b+4>>2];i=s+(g<<4)|0;j=i;v[j>>2]=v[b>>2];v[j+4>>2]=F;j=v[b+12>>2];v[i+8>>2]=v[b+8>>2];v[i+12>>2]=j;g=g+1|0;if((h|0)!=(g|0)){continue}break}g=h}R=g;g=0;_:{$:{if(!n){b=0;while(1){b=((b>>>1|0)+b|0)+8|0;if(l>>>0>=b>>>0){continue}break}i=0;if(b>>>0>268435454){break _}G=Va(b<<4);if(G){break $}}G=0;i=0;break _}Ra(G,0,l<<4);i=h}F=i;l=v[70112];aa:{if(!h){h=0;break aa}i=0;while(1){ba:{if(g>>>0>=h>>>0){b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;b=655664;break ba}b=v[k+8>>2]+(g<<4)|0}ca:{if(!w[b+12|0]){break ca}da:{if((i|0)<0){break da}h=i;b=H+1|0;j=(b|0)>0?b:0;ea:{if(h>>>0>=j>>>0){b=x;break ea}while(1){h=((h>>>1|0)+h|0)+8|0;if(j>>>0>=h>>>0){continue}break}b=h>>>0<i>>>0;i=-1;if(h>>>0>1073741822|b){break da}b=gb(x,h<<2);if(!b){break da}}if(j>>>0>H>>>0){Ra((H<<2)+b|0,0,j-H<<2)}v[163916]=l;i=((j<<2)+b|0)-4|0;if((i|0)!=655664){v[i>>2]=g}i=h;H=j;x=b;break ca}v[163916]=l}g=g+1|0;h=v[k+12>>2];if(g>>>0<h>>>0){continue}break}}b=v[m>>2];b=b?b:280448;b=y[b+16>>2]<20?280448:v[b+12>>2];_=B(w[b+4|0]<<8|w[b+5|0],w[b+7|0]|w[b+6|0]<<8);g=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);$=b+(g<<24|g<<8&16711680|(g>>>8&65280|g>>>24))|0;aa=F&-4;P=F&3;K=v[L+60>>2];V=v[L+64>>2];g=v[o+140>>2];ba=F-1>>>0>2;while(1){fa:{v[o+104>>2]=0;v[o+8>>2]=0;v[o+100>>2]=_;v[o+96>>2]=$;b=v[o+100>>2];v[o>>2]=v[o+96>>2];v[o+4>>2]=b;b=w[g+2|0];m=b<<24>>24;ga:{ha:{if((m|0)<=-1){j=g+4|0;b=m&255;b=B(b>>>5&2|b>>>7,K);i=b>>>0>K>>>0?K:b;break ha}q=C(0);b=B(w[g+3|0]|b<<8&3840,K);i=v[o+4>>2];if(b>>>0>=i>>>0){break ga}j=v[o>>2]+(b<<1)|0;b=i-b|0;b=b>>>0>i>>>0?0:b;i=b>>>0>K>>>0?K:b}ia:{if(!(m&64)){q=C(1);if(!K){break ia}b=0;while(1){g=b>>>0<i>>>0?(b<<1)+j|0:280448;g=w[g|0]|w[g+1|0]<<8;g=g<<8|g>>>8;u=q;ja:{if(!(g&65535)){break ja}E=q;m=v[(b<<2)+V>>2];g=g<<16>>16;u=q;if((m|0)==(g|0)){break ja}q=C(0);if(!m|(m|0)<(g&g>>31)|(m|0)>(((g|0)>0?g:0)|0)){break ia}u=C(E*C(C(m|0)/C(g|0)))}q=u;b=b+1|0;if((K|0)!=(b|0)){continue}break}break ia}q=C(1);if(!K){break ia}b=0;n=m&255;n=B(n>>>5&2|n>>>7,K);m=m>>31&K;s=m+K|0;r=n-s|0;r=n>>>0<r>>>0?0:r;r=r>>>0>K>>>0?K:r;I=n-m|0;n=n>>>0<I>>>0?0:I;I=n>>>0>K>>>0?K:n;g=g+4|0;p=g+(m<<1)|0;M=g+(s<<1)|0;while(1){s=b<<1;g=b>>>0<i>>>0?s+j|0:280448;g=w[g|0]|w[g+1|0]<<8;g=g<<8|g>>>8;u=q;ka:{if(!(g&65535)){break ka}E=q;m=v[(b<<2)+V>>2];g=g<<16>>16;u=q;if((m|0)==(g|0)){break ka}n=b>>>0<I>>>0?p+s|0:280448;n=w[n|0]|w[n+1|0]<<8;n=(n<<8|n>>>8)<<16>>16;u=E;if((n|0)>(g|0)){break ka}s=b>>>0<r>>>0?s+M|0:280448;s=w[s|0]|w[s+1|0]<<8;s=(s<<8|s>>>8)<<16>>16;u=E;if((s|0)<(g|0)){break ka}u=E;if(!((s|0)<=0|(n|0)>-1)){break ka}q=C(0);if((m|0)<(n|0)|(m|0)>(s|0)){break ia}if((g|0)>(m|0)){u=E;if((g|0)==(n|0)){break ka}u=C(E*C(C(m-n|0)/C(g-n|0)));break ka}u=E;if((g|0)==(s|0)){break ka}u=C(E*C(C(s-m|0)/C(s-g|0)))}q=u;b=b+1|0;if((K|0)!=(b|0)){continue}break}}}la:{if(q==C(0)){break la}b=v[o+112>>2];g=w[b+3|0]|w[b+2|0]<<8;g=v[o+124>>2]+(g?b+g|0:280448)|0;v[o+92>>2]=g;ma:{na:{oa:{pa:{qa:{ra:{sa:{b=v[o+128>>2];if(b>>>0>g>>>0){break sa}b=b+v[o+132>>2]|0;if(b>>>0<g>>>0){break sa}i=v[o+140>>2];j=w[i|0]<<8|w[i+1|0];if(j>>>0>b-g>>>0){break sa}b=0;v[o+88>>2]=0;v[o+84>>2]=j;v[o+80>>2]=g;v[o+72>>2]=0;v[o+64>>2]=0;v[o+68>>2]=0;m=0;j=0;if(w[i+2|0]&32){g=0;if(!ux(o+92|0,o- -64|0,o+80|0)){break ma}m=v[o+72>>2];j=v[o+68>>2]}g=v[o+148>>2];p=v[o+152>>2];v[o+56>>2]=0;v[o+48>>2]=0;v[o+52>>2]=0;s=j?j:g;n=s?s:h;g=(n|0)>0?n:0;i=(n|0)<1;ta:{ua:{if(i){break ua}while(1){b=((b>>>1|0)+b|0)+8|0;if(g>>>0>=b>>>0){continue}break}va:{if(b>>>0<=1073741822){r=Va(b<<2);if(r){break va}}v[o+48>>2]=-1;break ta}v[o+48>>2]=b;v[o+56>>2]=r;if(i){break ua}Ra(r,0,g<<2)}v[o+52>>2]=g}I=1;if(!tx(o+92|0,o+48|0,o+80|0)){break na}b=0;v[o+40>>2]=0;v[o+32>>2]=0;v[o+36>>2]=0;wa:{xa:{if(i){break xa}while(1){b=((b>>>1|0)+b|0)+8|0;if(g>>>0>=b>>>0){continue}break}ya:{if(b>>>0<=1073741822){r=Va(b<<2);if(r){break ya}}v[o+32>>2]=-1;break wa}v[o+32>>2]=b;v[o+40>>2]=r;if(i){break xa}Ra(r,0,g<<2)}v[o+36>>2]=g}if(!tx(o+92|0,o+32|0,o+80|0)){S=v[o+40>>2];break oa}if(!F){break pa}g=0;b=aa;if(ba){break ra}break qa}i=0;break fa}while(1){i=g<<4;r=i+G|0;v[r+4>>2]=0;v[r+8>>2]=0;t[r|0]=0;t[r+12|0]=0;r=(i|16)+G|0;v[r+4>>2]=0;v[r+8>>2]=0;t[r|0]=0;t[r+12|0]=0;r=(i|32)+G|0;v[r+4>>2]=0;v[r+8>>2]=0;t[r|0]=0;t[r+12|0]=0;i=(i|48)+G|0;v[i+4>>2]=0;v[i+8>>2]=0;t[i|0]=0;t[i+12|0]=0;g=g+4|0;b=b-4|0;if(b){continue}break}}b=P;if(!b){break pa}while(1){i=(g<<4)+G|0;v[i+4>>2]=0;v[i+8>>2]=0;t[i|0]=0;t[i+12|0]=0;g=g+1|0;b=b-1|0;if(b){continue}break}}S=v[o+40>>2];if(n){m=j?m:p;g=0;r=v[o+36>>2];I=v[o+56>>2];p=v[o+52>>2];while(1){b=g;za:{if(!s){break za}if(g>>>0>=s>>>0){v[163916]=l;b=l;break za}b=v[m+(g<<2)>>2]}j=b>>>0<F>>>0;Aa:{if(!j){i=v[70115];v[163918]=v[70114];v[163919]=i;i=v[70113];v[163916]=v[70112];v[163917]=i;i=655664;break Aa}i=(b<<4)+G|0}t[i|0]=1;u=q;Ba:{if(g>>>0>=p>>>0){v[163916]=l;i=l;break Ba}i=v[I+(g<<2)>>2]}A=C(u*C(i|0));Ca:{if(!j){i=v[70115];v[163918]=v[70114];v[163919]=i;i=v[70113];v[163916]=v[70112];v[163917]=i;i=655664;break Ca}i=(b<<4)+G|0}z[i+4>>2]=A+z[i+4>>2];u=q;Da:{if(g>>>0>=r>>>0){v[163916]=l;i=l;break Da}i=v[(g<<2)+S>>2]}A=C(u*C(i|0));Ea:{if(!j){b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;b=655664;break Ea}b=(b<<4)+G|0}z[b+8>>2]=A+z[b+8>>2];g=g+1|0;if((n|0)!=(g|0)){continue}break}}Q=0;j=0;if(H){while(1){I=0;g=j;M=v[(Q<<2)+x>>2];Fa:{if(g>>>0>M>>>0){break Fa}while(1){Ga:{if(g>>>0>=F>>>0){b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;b=655664;break Ga}b=(g<<4)+G|0}I=!w[b|0]+I|0;g=g+1|0;if(M>>>0>=g>>>0){continue}break}if(!I){break Fa}g=j;if(M-g>>>0<I>>>0){break Fa}Ha:while(1){i=g;g=g>>>0<M>>>0?g+1|0:j;T=i>>>0<F>>>0;Ia:{if(!T){b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;b=655664;break Ia}b=(i<<4)+G|0}if(!w[b|0]){continue}Ja:{if(g>>>0>=F>>>0){b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;b=655664;break Ja}b=(g<<4)+G|0}if(w[b|0]){continue}g=i;while(1){m=g>>>0<M>>>0;n=g+1|0;Ka:{if(g>>>0>=F>>>0){b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;b=655664;break Ka}b=(g<<4)+G|0}g=m?n:j;if(w[b|0]){continue}U=g>>>0<F>>>0;La:{if(!U){b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;b=655664;break La}b=(g<<4)+G|0}if(!w[b|0]){continue}break}b=g<<4;m=b+G|0;r=i<<4;n=r+G|0;s=b+O|0;r=r+O|0;b=i;while(1){b=b>>>0<M>>>0?b+1|0:j;if((g|0)==(b|0)){continue Ha}W=b>>>0<R>>>0;Ma:{if(!W){p=v[70115];v[163918]=v[70114];v[163919]=p;p=v[70113];v[163916]=v[70112];v[163917]=p;p=655664;break Ma}p=(b<<4)+O|0}q=z[p+4>>2];X=i>>>0<R>>>0;if(X){p=r}else{p=v[70115];v[163918]=v[70114];v[163919]=p;p=v[70113];v[163916]=v[70112];v[163917]=p;p=655664}A=z[p+4>>2];Y=g>>>0<R>>>0;if(Y){p=s}else{p=v[70115];v[163918]=v[70114];v[163919]=p;p=v[70113];v[163916]=v[70112];v[163917]=p;p=655664}E=z[p+4>>2];if(T){p=n}else{p=v[70115];v[163918]=v[70114];v[163919]=p;p=v[70113];v[163916]=v[70112];v[163917]=p;p=655664}u=z[p+4>>2];J=u;if(U){p=m}else{p=v[70115];v[163918]=v[70114];v[163919]=p;p=v[70113];v[163916]=v[70112];v[163917]=p;p=655664}N=z[p+4>>2];J=N==u?J:C(0);Na:{if(A==E){break Na}J=A<E?u:N;if(q<=(A<=E?A:E)){break Na}J=A>E?u:N;if(q>=(A>=E?A:E)){break Na}q=C(C(q-A)/C(E-A));J=C(C(C(C(1)-q)*u)+C(q*N))}q=J;Z=b>>>0<F>>>0;Oa:{if(!Z){p=v[70115];v[163918]=v[70114];v[163919]=p;p=v[70113];v[163916]=v[70112];v[163917]=p;p=655664;break Oa}p=(b<<4)+G|0}z[p+4>>2]=q;Pa:{if(!W){p=v[70115];v[163918]=v[70114];v[163919]=p;p=v[70113];v[163916]=v[70112];v[163917]=p;p=655664;break Pa}p=(b<<4)+O|0}q=z[p+8>>2];if(X){p=r}else{p=v[70115];v[163918]=v[70114];v[163919]=p;p=v[70113];v[163916]=v[70112];v[163917]=p;p=655664}A=z[p+8>>2];if(Y){p=s}else{p=v[70115];v[163918]=v[70114];v[163919]=p;p=v[70113];v[163916]=v[70112];v[163917]=p;p=655664}E=z[p+8>>2];if(T){p=n}else{p=v[70115];v[163918]=v[70114];v[163919]=p;p=v[70113];v[163916]=v[70112];v[163917]=p;p=655664}u=z[p+8>>2];J=u;if(U){p=m}else{p=v[70115];v[163918]=v[70114];v[163919]=p;p=v[70113];v[163916]=v[70112];v[163917]=p;p=655664}N=z[p+8>>2];J=N==u?J:C(0);Qa:{if(A==E){break Qa}J=A<E?u:N;if(q<=(A<=E?A:E)){break Qa}J=A>E?u:N;if(q>=(A>=E?A:E)){break Qa}q=C(C(q-A)/C(E-A));J=C(C(C(C(1)-q)*u)+C(q*N))}q=J;Ra:{if(!Z){p=v[70115];v[163918]=v[70114];v[163919]=p;p=v[70113];v[163916]=v[70112];v[163917]=p;p=655664;break Ra}p=(b<<4)+G|0}z[p+8>>2]=q;I=I-1|0;if(I){continue}break}break}}j=M+1|0;Q=Q+1|0;if((Q|0)!=(H|0)){continue}break}}b=v[k+12>>2];I=0;if(h){j=v[k+8>>2];g=0;while(1){m=g>>>0<F>>>0;Sa:{if(!m){i=v[70115];v[163918]=v[70114];v[163919]=i;i=v[70113];v[163916]=v[70112];v[163917]=i;i=655664;break Sa}i=(g<<4)+G|0}q=z[i+4>>2];n=b>>>0>g>>>0;Ta:{if(!n){i=v[70115];v[163918]=v[70114];v[163919]=i;i=v[70113];v[163916]=v[70112];v[163917]=i;i=655664;break Ta}i=j+(g<<4)|0}z[i+4>>2]=q+z[i+4>>2];Ua:{if(!m){i=v[70115];v[163918]=v[70114];v[163919]=i;i=v[70113];v[163916]=v[70112];v[163917]=i;i=655664;break Ua}i=(g<<4)+G|0}q=z[i+8>>2];Va:{if(!n){i=v[70115];v[163918]=v[70114];v[163919]=i;i=v[70113];v[163916]=v[70112];v[163917]=i;i=655664;break Va}i=j+(g<<4)|0}z[i+8>>2]=q+z[i+8>>2];g=g+1|0;if((h|0)!=(g|0)){continue}break}}h=b}Pa(S)}Pa(v[o+56>>2]);g=!I}Pa(v[o+72>>2]);if(g){break la}i=0;break fa}b=v[o+140>>2];v[o+124>>2]=v[o+124>>2]+(w[b|0]<<8|w[b+1|0]);i=1;j=v[o+120>>2]<<1;g=w[b+2|0];g=(b+B(j,g>>>5&2|g>>>7)|0)+4|0;v[o+140>>2]=g;b=v[o+116>>2]+1|0;v[o+116>>2]=b;m=v[o+112>>2];if(b>>>0>=(w[m|0]<<8&3840|w[m+1|0])>>>0){break fa}b=v[o+128>>2];if(b>>>0>g>>>0){break fa}b=b+v[o+132>>2]|0;if(b>>>0<g>>>0){break fa}m=b-g|0;if(m>>>0<4){break fa}b=w[g+2|0];b=B(j,b>>>5&2|b>>>7)+4|0;j=w[g+1|0]|w[g|0]<<8;if(m>>>0<(b>>>0>j>>>0?b:j)>>>0){break fa}if(b){continue}}break}Pa(x);Pa(G);Pa(O)}Pa(v[o+152>>2])}Ca=o+176|0;if(!i){break a}Wa:{Xa:{switch(v[a+20>>2]-1|0){case 0:v[k+32>>2]=0;ca=k,da=kQ(v[k+100>>2],v[k+104>>2],32),v[ca+24>>2]=da;v[k+28>>2]=Da;Kj(d,k+24|0);break Wa;case 1:l=v[a>>2];m=l+v[a+4>>2]|0;a=v[a+16>>2];i=a+10|0;Ya:{Za:{if(l>>>0>i>>>0|i>>>0>m>>>0){break Za}h=m-i|0;if(h>>>0<4){break Za}a=w[a+11|0];b=a&1?8:6;g=b+2|0;_a:{if(a&8){break _a}g=b+4|0;if(a&64){break _a}g=a&128?b+8|0:b}if(g>>>0<=h>>>0){break Ya}}i=0}$a:{if(!i){break $a}s=f+1|0;x=0;while(1){v[k+56>>2]=0;v[k+48>>2]=0;v[k+52>>2]=0;Dn(k+24|0,c,w[i+3|0]|w[i+2|0]<<8);a=vx(k+24|0,L,c,k+48|0,e,s)^1;b=v[k+52>>2];r=a|b>>>0<4;if(!r){if(w[i|0]&2){g=v[k+56>>2];h=v[k+80>>2];D=h;j=v[k+84>>2];if(!j){a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;D=655664}a=g+(b-4<<4)|0;n=v[a+4>>2];v[D>>2]=v[a>>2];v[D+4>>2]=n;n=v[a+12>>2];v[D+8>>2]=v[a+8>>2];v[D+12>>2]=n;n=b-3|0;ab:{if(j>>>0<=1){a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break ab}a=h+16|0}n=g+(n<<4)|0;F=v[n+4>>2];v[a>>2]=v[n>>2];v[a+4>>2]=F;F=v[n+12>>2];v[a+8>>2]=v[n+8>>2];v[a+12>>2]=F;n=b-2|0;bb:{if(j>>>0<=2){a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break bb}a=h+32|0}n=g+(n<<4)|0;F=v[n+4>>2];v[a>>2]=v[n>>2];v[a+4>>2]=F;F=v[n+12>>2];v[a+8>>2]=v[n+8>>2];v[a+12>>2]=F;b=b-1|0;cb:{if(j>>>0<=3){a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break cb}a=h+48|0}b=g+(b<<4)|0;g=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=g;g=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=g}a=0;j=Ca-32|0;Ca=j;v[j+24>>2]=0;v[j+28>>2]=1065353216;v[j+16>>2]=1065353216;v[j+20>>2]=0;n=w[i+1|0];db:{if(n&1){b=w[i+4|0]|w[i+5|0]<<8;h=(b<<8|b>>>8)<<16>>16;g=i+6|0;b=w[g|0]|w[g+1|0]<<8;P=(b<<8|b>>>8)<<16>>16;break db}g=i+4|0;h=t[i+4|0];P=t[i+5|0]}t[j+12|0]=0;t[j|0]=0;b=n<<30>>31;n=P&b;z[j+8>>2]=n|0;h=b&h;z[j+4>>2]=h|0;b=w[i+1|0];eb:{if(b&8){b=w[g+2|0]|w[g+3|0]<<8;q=C(C((b<<8|b>>>8)<<16>>16)*C(6103515625e-14));z[j+16>>2]=q;z[j+28>>2]=q;b=1;break eb}if(b&64){b=w[g+2|0]|w[g+3|0]<<8;z[j+16>>2]=C((b<<8|b>>>8)<<16>>16)*C(6103515625e-14);b=w[g+4|0]|w[g+5|0]<<8;z[j+28>>2]=C((b<<8|b>>>8)<<16>>16)*C(6103515625e-14);b=1;break eb}if(b&128){b=w[g+2|0]|w[g+3|0]<<8;z[j+16>>2]=C((b<<8|b>>>8)<<16>>16)*C(6103515625e-14);b=w[g+4|0]|w[g+5|0]<<8;z[j+20>>2]=C((b<<8|b>>>8)<<16>>16)*C(6103515625e-14);b=w[g+6|0]|w[g+7|0]<<8;z[j+24>>2]=C((b<<8|b>>>8)<<16>>16)*C(6103515625e-14);b=w[g+8|0]|w[g+9|0]<<8;z[j+28>>2]=C((b<<8|b>>>8)<<16>>16)*C(6103515625e-14);b=1;break eb}b=(h|n)!=0}fb:{if(!b){break fb}if((w[i|0]&24)==8){g=v[k+52>>2];if(!g){break fb}while(1){gb:{if(a>>>0>=g>>>0){b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;g=v[k+52>>2];b=655664;break gb}b=v[k+56>>2]+(a<<4)|0}z[b+4>>2]=z[j+4>>2]+z[b+4>>2];z[b+8>>2]=z[j+8>>2]+z[b+8>>2];a=a+1|0;if(g>>>0>a>>>0){continue}break}if(!g){break fb}A=z[j+16>>2];a=0;while(1){hb:{if(a>>>0>=g>>>0){b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;g=v[k+52>>2];b=655664;break hb}b=v[k+56>>2]+(a<<4)|0}E=z[j+24>>2];q=z[b+4>>2];u=z[b+8>>2];z[b+8>>2]=C(q*z[j+20>>2])+C(u*z[j+28>>2]);z[b+4>>2]=C(q*A)+C(u*E);a=a+1|0;if(g>>>0>a>>>0){continue}break}break fb}g=v[k+52>>2];if(!g){break fb}A=z[j+16>>2];while(1){ib:{if(a>>>0>=g>>>0){b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;g=v[k+52>>2];b=655664;break ib}b=v[k+56>>2]+(a<<4)|0}E=z[j+24>>2];q=z[b+4>>2];u=z[b+8>>2];z[b+8>>2]=C(q*z[j+20>>2])+C(u*z[j+28>>2]);z[b+4>>2]=C(q*A)+C(u*E);a=a+1|0;if(g>>>0>a>>>0){continue}break}if(!g){break fb}a=0;while(1){jb:{if(a>>>0>=g>>>0){b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;g=v[k+52>>2];b=655664;break jb}b=v[k+56>>2]+(a<<4)|0}z[b+4>>2]=z[j+4>>2]+z[b+4>>2];z[b+8>>2]=z[j+8>>2]+z[b+8>>2];a=a+1|0;if(g>>>0>a>>>0){continue}break}}Ca=j+32|0;kb:{if(y[k+100>>2]<=x>>>0){a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break kb}a=v[k+104>>2]+(x<<4)|0}b=v[k+52>>2];lb:{if(!b){break lb}h=0;g=v[k+56>>2];if((b|0)!=1){D=b&-2;while(1){q=z[a+8>>2];n=h<<4;j=n+g|0;z[j+4>>2]=z[a+4>>2]+z[j+4>>2];z[j+8>>2]=q+z[j+8>>2];q=z[a+8>>2];j=g+(n|16)|0;z[j+4>>2]=z[a+4>>2]+z[j+4>>2];z[j+8>>2]=q+z[j+8>>2];h=h+2|0;D=D-2|0;if(D){continue}break}}if(!(b&1)){break lb}q=z[a+8>>2];g=g+(h<<4)|0;z[g+4>>2]=z[a+4>>2]+z[g+4>>2];z[g+8>>2]=q+z[g+8>>2]}a=w[i+1|0];mb:{if(a&2){break mb}g=w[i+4|0];nb:{if(a&1){g=w[i+5|0]|g<<8;a=w[i+7|0]|w[i+6|0]<<8;break nb}a=w[i+5|0]}if(y[d+4>>2]<=g>>>0){break mb}h=v[k+52>>2];if(h>>>0<=a>>>0){break mb}g=v[d+8>>2]+(g<<4)|0;n=v[k+56>>2];a=n+(a<<4)|0;q=C(z[g+8>>2]-z[a+8>>2]);A=C(z[g+4>>2]-z[a+4>>2]);j=0;while(1){ob:{if(h>>>0<=j>>>0){a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break ob}a=n+(j<<4)|0}z[a+4>>2]=A+z[a+4>>2];z[a+8>>2]=q+z[a+8>>2];j=j+1|0;if((h|0)!=(j|0)){continue}break}}v[k+32>>2]=0;v[k+24>>2]=v[k+56>>2];a=b-4|0;b=v[k+52>>2];v[k+28>>2]=a>>>0<b>>>0?a:b;Kj(d,k+24|0);x=x+1|0}Pa(v[k+56>>2]);if(r){D=0;break a}b=w[i+1|0];if(!(b&32)){break $a}a=l;g=b&1?8:6;h=g+2|0;pb:{if(b&8){break pb}h=g+4|0;if(b&64){break pb}h=b&128?g+8|0:g}i=h+i|0;if(a>>>0>i>>>0|i>>>0>m>>>0){break $a}h=m-i|0;if(h>>>0<4){break $a}a=w[i+1|0];b=a&1?8:6;g=b+2|0;qb:{if(a&8){break qb}g=b+4|0;if(a&64){break qb}g=a&128?b+8|0:b}if(g>>>0<=h>>>0){continue}break}}Kj(d,k+80|0);break Wa;default:break Xa}}Kj(d,k+80|0)}D=1;if(f){break a}rb:{if(!v[k+84>>2]){a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break rb}a=v[k+80>>2]}q=z[a+4>>2];if(q==C(0)){break a}h=v[d+4>>2];if(!h){break a}j=0;while(1){sb:{if(h>>>0<=j>>>0){a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;h=v[d+4>>2];a=655664;break sb}a=v[d+8>>2]+(j<<4)|0}z[a+4>>2]=z[a+4>>2]-q;z[a+8>>2]=z[a+8>>2]+C(0);j=j+1|0;if(j>>>0<h>>>0){continue}break}}Pa(v[k+104>>2])}Ca=k+112|0;return D}function zg(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,z=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,P=0,Q=0;n=Ca+-64|0;Ca=n;v[n+52>>2]=f;m=v[a+352>>2];a:{if(v[a+144>>2]==(b|0)){E=a+284|0;D=a+288|0;break a}E=v[a+296>>2];D=E+4|0}s=a+412|0;r=a+424|0;I=a+288|0;J=a+284|0;F=m+132|0;p=m+92|0;x=m+80|0;G=a+252|0;b:{c:{d:{while(1){e:{v[E>>2]=c;f=v[n+52>>2];v[D>>2]=f;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{if((e|0)>0){l=e;break t}if(e?h:0){break c}l=15;k=5;u:{switch(e+15|0){case 15:v[E>>2]=f;k=4;break b;case 11:if(v[a+144>>2]!=(b|0)){if(!w[v[a+296>>2]+20|0]){break c}break d}if(w[a+484|0]){break d}k=3;break b;case 13:break s;case 0:break t;case 14:break b;default:break u}}v[n+52>>2]=d;l=0-e|0;f=d}v:{z=Ea[v[G>>2]](G,l,c,f,b)|0;if(z-1>>>0<2|(z|0)==57){break v}if(ye(a,l,c,v[n+52>>2],4445,j)){break v}while(1){b=a;a=v[a+472>>2];if(a){continue}break}k=43;if(v[b+512>>2]<1){break b}a=v[b+504>>2];g=v[b+508>>2];K=1;c=v[b+500>>2];d=c;e=v[b+496>>2];if(c|e){f=d+g|0;h=a+e|0;K=+C(C(+(h>>>0)+ +((a>>>0>h>>>0?f+1|0:f)>>>0)*4294967296)/C(+(e>>>0)+ +(d>>>0)*4294967296))}v[n+32>>2]=509254;A[n+24>>3]=K;v[n+16>>2]=a;v[n+20>>2]=g;v[n+8>>2]=e;v[n+12>>2]=d;v[n>>2]=b;Nd(v[130915],509100,n);break b}f=1;k=0;w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{switch(z+1|0){case 2:k=ft(a,0,c,v[n+52>>2]);if(k){break b}b=v[a+144>>2];break f;case 5:xa:{if(!v[a+84>>2]){e=1;break xa}e=v[n+52>>2];v[n+60>>2]=c;if(!v[r>>2]){if(!_a(s)){break e}}while(1){if(Ea[v[b+56>>2]](b,n+60|0,e,r,v[a+420>>2])>>>0>=2){if(_a(s)){continue}break e}break}if(!v[a+428>>2]){break e}l=v[a+424>>2];if((l|0)==v[a+420>>2]){if(!_a(s)){break e}l=v[r>>2]}k=1;v[a+424>>2]=l+1;e=0;t[l|0]=0;f=v[a+428>>2];v[a+316>>2]=f;if(!f){break b}v[a+324>>2]=0;v[a+428>>2]=v[a+424>>2]}v[a+320>>2]=0;if(e){break g}break f;case 8:e=v[a+84>>2];if(!e){break g}Ea[e|0](v[a+4>>2],v[a+316>>2],v[a+320>>2],v[a+324>>2],1);v[a+316>>2]=0;c=v[a+412>>2];k=v[a+416>>2];ya:{if(!k){v[a+416>>2]=c;break ya}if(!c){break ya}while(1){e=v[c>>2];v[c>>2]=k;v[a+416>>2]=c;k=c;c=e;if(e){continue}break}}v[a+428>>2]=0;v[a+412>>2]=0;v[a+420>>2]=0;v[a+424>>2]=0;break f;case 58:k=ft(a,1,c,v[n+52>>2]);if(k){break b}b=v[a+144>>2];break f;case 40:break x;case 34:break y;case 18:break z;case 12:break A;case 4:break B;case 1:break C;case 57:break D;case 56:break E;case 46:break F;case 49:break G;case 47:break H;case 48:break I;case 52:break K;case 54:break L;case 55:break M;case 53:break N;case 44:break O;case 42:case 43:break P;case 41:break Q;case 60:case 61:break R;case 50:break S;case 51:break T;case 45:break U;case 59:break V;case 0:break W;case 21:break X;case 20:break Y;case 22:break Z;case 19:break _;case 11:break $;case 10:break aa;case 17:break ba;case 16:break ca;case 14:break da;case 6:break ea;case 13:break fa;case 38:case 39:break ga;case 36:case 37:break ha;case 32:case 33:break ia;case 31:break ja;case 30:break ka;case 29:break la;case 28:break ma;case 27:break na;case 26:break oa;case 25:break pa;case 24:break qa;case 23:break ra;case 35:break sa;case 3:break ta;case 9:break ua;case 15:break va;case 7:break wa;default:break g}}t[a+485|0]=0;e=vc(a,F,508100,36);v[a+312>>2]=e;if(!e){k=1;break b}t[m+129|0]=1;if(!v[a+84>>2]){break va}if(!(Ea[v[b+52>>2]](b,c,v[n+52>>2],E)|0)){k=32;break b}e=v[n+52>>2];f=v[b+64>>2];v[n+60>>2]=f+c;za:{Aa:{if(!v[r>>2]){if(!_a(s)){break Aa}}e=e-f|0;while(1){if(Ea[v[b+56>>2]](b,n+60|0,e,r,v[a+420>>2])>>>0<2){break za}if(_a(s)){continue}break}}k=1;break b}k=1;if(!v[a+428>>2]){break b}l=v[a+424>>2];if((l|0)==v[a+420>>2]){if(!_a(s)){break b}l=v[r>>2]}v[a+424>>2]=l+1;t[l|0]=0;o=v[a+428>>2];if(!o){break b}e=o;f=e;k=e;l=w[e|0];Ba:{if(!l){break Ba}while(1){k=f;q=e;Ca:{Da:{e=(l<<24>>24)-10|0;if(e>>>0>22|!(1<<e&4194313)){break Da}f=o;if((k|0)==(f|0)){break Ca}l=32;if(w[k-1|0]!=32){break Da}f=k;break Ca}t[k|0]=l;f=k+1|0}e=q+1|0;l=w[q+1|0];if(l){continue}break}k=o;if((k|0)==(f|0)){break Ba}e=f-1|0;k=w[e|0]==32?e:f}f=0;t[k|0]=0;v[a+324>>2]=o;v[a+428>>2]=v[a+424>>2];break i}if(Ea[v[b+52>>2]](b,c,v[n+52>>2],E)|0){break i}k=32;break b}if((i|0)!=1){k=4;break b}e=v[a+316>>2];if(e){Ea[v[a+84>>2]](v[a+4>>2],e,v[a+320>>2],v[a+324>>2],0);e=v[a+412>>2];l=v[a+416>>2];Ea:{if(!l){v[a+416>>2]=e;break Ea}if(!e){break Ea}while(1){f=v[e>>2];v[e>>2]=l;v[a+416>>2]=e;l=e;e=f;if(e){continue}break}}v[a+428>>2]=0;v[a+412>>2]=0;v[a+420>>2]=0;v[a+424>>2]=0;f=0}if(w[a+485|0]?1:v[a+320>>2]){l=w[m+129|0];t[m+129|0]=1;Fa:{if(!v[a+488>>2]|!v[a+112>>2]){break Fa}e=vc(a,F,508100,36);if(!e){k=1;break b}if(w[a+485|0]){v[e+20>>2]=v[a+356>>2]}t[m+131|0]=0;if(!(Ea[v[a+112>>2]](v[a+116>>2],0,v[e+20>>2],v[e+16>>2],v[e+24>>2])|0)){k=21;break b}if(w[m+131|0]){if(w[m+130|0]){break Fa}e=v[a+108>>2];if(!e){break Fa}if(Ea[e|0](v[a+4>>2])|0){break Fa}k=22;break b}if(v[a+320>>2]){break Fa}t[m+129|0]=l}t[a+485|0]=0}e=v[a+88>>2];if(!e){break h}Ea[e|0](v[a+4>>2]);break f}Ga:{if(!w[a+485|0]){break Ga}e=w[m+129|0];t[m+129|0]=1;if(!v[a+488>>2]|!v[a+112>>2]){break Ga}b=vc(a,F,508100,36);if(!b){k=1;break b}v[b+20>>2]=v[a+356>>2];t[m+131|0]=0;if(!(Ea[v[a+112>>2]](v[a+116>>2],0,v[b+20>>2],v[b+16>>2],v[b+24>>2])|0)){k=21;break b}if(w[m+131|0]){if(w[m+130|0]){break Ga}b=v[a+108>>2];if(!b){break Ga}if(Ea[b|0](v[a+4>>2])|0){break Ga}k=22;break b}t[m+129|0]=e}v[a+276>>2]=992;k=ag(a,0,v[a+144>>2],c,d,g,!w[a+480|0],0);if(k){break b}b=v[a+360>>2];if(!b){k=0;break b}while(1){f=v[b+4>>2];c=v[b+36>>2];d=v[b+24>>2]+1|0;k=c+d|0;if((f|0)==(k|0)){k=0;break b}l=v[b+8>>2];e=d+l|0;if((e|0)>(v[b+40>>2]-c|0)){c=Ea[v[a+16>>2]](c,e)|0;if(!c){k=1;break b}f=v[b+36>>2];if((f|0)==v[b+12>>2]){v[b+12>>2]=c}g=v[b+16>>2];if(g){v[b+16>>2]=c+(g-f|0)}v[b+36>>2]=c;v[b+40>>2]=c+e;k=c+d|0;l=v[b+8>>2];f=v[b+4>>2]}P=b,Q=Ta(k,f,l),v[P+4>>2]=Q;b=v[b>>2];if(b){continue}break}k=0;break b}e=v[a+352>>2];f=v[n+52>>2];v[n+60>>2]=c;l=e+80|0;k=e+92|0;Ha:{if(!v[k>>2]){if(!_a(l)){break Ha}}while(1){if(Ea[v[b+56>>2]](b,n+60|0,f,k,v[e+88>>2])>>>0>=2){if(_a(l)){continue}break Ha}break}if(!v[e+96>>2]){break Ha}f=v[e+92>>2];if((f|0)==v[e+88>>2]){if(!_a(l)){break Ha}f=v[k>>2]}v[e+92>>2]=f+1;t[f|0]=0;l=v[e+96>>2];if(!l){break Ha}f=vc(a,e+20|0,l,24);if(!f){break Ha}if((l|0)!=v[f>>2]){v[e+92>>2]=v[e+96>>2];break k}v[e+96>>2]=v[e+92>>2];if(Mi(a,f)){break k}}v[a+340>>2]=0;k=1;break b}e=Ml(a,b,c,v[n+52>>2]);v[a+344>>2]=e;if(!e){k=1;break b}v[a+328>>2]=0;u[a+348>>1]=0;break j}v[a+328>>2]=508968;t[a+348|0]=1;break j}v[a+328>>2]=508974;t[a+349|0]=1;break j}v[a+328>>2]=508977;break j}v[a+328>>2]=508983;break j}v[a+328>>2]=508990;break j}v[a+328>>2]=508997;break j}v[a+328>>2]=509006;break j}v[a+328>>2]=509014;break j}if(!w[m+128|0]|!v[a+132>>2]){break g}e=v[a+328>>2]?509033:(z|0)==32?509023:509035;k=w[e|0];if(k){while(1){l=v[a+424>>2];if((l|0)==v[a+420>>2]){if(!_a(s)){k=1;break b}k=w[e|0];l=v[r>>2]}v[r>>2]=l+1;t[l|0]=k;k=w[e+1|0];e=e+1|0;if(k){continue}break}}k=1;if(!v[a+428>>2]){break b}e=v[n+52>>2];v[n+60>>2]=c;if(!v[r>>2]){if(!_a(s)){break b}}while(1){if(Ea[v[b+56>>2]](b,n+60|0,e,r,v[a+420>>2])>>>0>=2){if(_a(s)){continue}break b}break}c=v[a+428>>2];if(!c){break b}v[a+328>>2]=c;break f}if(!w[m+128|0]){break g}o=w[a+348|0];l=v[a+344>>2];e=v[a+340>>2];f=v[e+12>>2];Ia:{Ja:{if(!w[a+349|0]){break Ja}if((f|0)>=1){q=v[e+20>>2];while(1){if((l|0)==v[q+B(k,12)>>2]){break Ia}k=k+1|0;if((f|0)!=(k|0)){continue}break}}if(v[e+8>>2]|w[l+9|0]){break Ja}v[e+8>>2]=l}Ka:{if((f|0)!=v[e+16>>2]){k=v[e+20>>2];break Ka}if(!f){v[e+16>>2]=8;k=Ea[v[a+12>>2]](96)|0;v[e+20>>2]=k;if(k){break Ka}v[e+16>>2]=0;k=1;break b}k=Ea[v[a+16>>2]](v[e+20>>2],B(f,24))|0;if(!k){k=1;break b}v[e+20>>2]=k;v[e+16>>2]=f<<1}f=B(v[e+12>>2],12)+k|0;v[f+8>>2]=0;v[f>>2]=l;t[f+4|0]=o;if(!o){t[l+8|0]=1}v[e+12>>2]=v[e+12>>2]+1}if(!v[a+132>>2]){break g}e=v[a+328>>2];if(!e){break g}f=w[e|0];if(!((f|0)!=78|w[e+1|0]!=79?(f|0)!=40:0)){l=v[a+424>>2];if((l|0)==v[a+420>>2]){if(!_a(s)){k=1;break b}l=v[r>>2]}k=1;v[a+424>>2]=l+1;t[l|0]=41;l=v[a+424>>2];if((l|0)==v[a+420>>2]){if(!_a(s)){break b}l=v[r>>2]}v[a+424>>2]=l+1;t[l|0]=0;v[a+328>>2]=v[a+428>>2];v[a+428>>2]=v[a+424>>2]}v[D>>2]=c;Ea[v[a+132>>2]](v[a+4>>2],v[v[a+340>>2]>>2],v[v[a+344>>2]>>2],v[a+328>>2],0,(z|0)==36);c=v[a+412>>2];k=v[a+416>>2];La:{if(!k){v[a+416>>2]=c;break La}if(!c){break La}while(1){e=v[c>>2];v[c>>2]=k;v[a+416>>2]=c;k=c;c=e;if(e){continue}break}}v[a+428>>2]=0;v[a+412>>2]=0;v[a+420>>2]=0;v[a+424>>2]=0;break f}if(!w[m+128|0]){break g}e=w[a+348|0];f=v[b+64>>2];k=Ll(a,b,e,f+c|0,v[n+52>>2]-f|0,x,2);if(k){break b}k=v[p>>2];Ma:{if((k|0)==v[m+96>>2]|e){break Ma}e=k-1|0;if(w[e|0]!=32){break Ma}v[p>>2]=e;k=e}if(v[m+88>>2]==(k|0)){if(!_a(x)){k=1;break b}k=v[p>>2]}v[p>>2]=k+1;t[k|0]=0;o=v[m+96>>2];v[m+96>>2]=v[p>>2];q=w[a+348|0];l=v[a+344>>2];e=v[a+340>>2];f=v[e+12>>2];Na:{if(!(!o|(f|0)<1)){H=v[e+20>>2];k=0;while(1){if((l|0)==v[H+B(k,12)>>2]){break Na}k=k+1|0;if((f|0)!=(k|0)){continue}break}}Oa:{if((f|0)!=v[e+16>>2]){k=v[e+20>>2];break Oa}if(!f){v[e+16>>2]=8;k=Ea[v[a+12>>2]](96)|0;v[e+20>>2]=k;if(k){break Oa}v[e+16>>2]=0;k=1;break b}k=Ea[v[a+16>>2]](v[e+20>>2],B(f,24))|0;if(!k){k=1;break b}v[e+20>>2]=k;v[e+16>>2]=f<<1}f=B(v[e+12>>2],12)+k|0;v[f+8>>2]=o;v[f>>2]=l;t[f+4|0]=q;if(!q){t[l+8|0]=1}v[e+12>>2]=v[e+12>>2]+1}if(!v[a+132>>2]){break g}e=v[a+328>>2];if(!e){break g}f=w[e|0];if(!((f|0)!=78|w[e+1|0]!=79?(f|0)!=40:0)){l=v[a+424>>2];if((l|0)==v[a+420>>2]){if(!_a(s)){k=1;break b}l=v[r>>2]}k=1;v[a+424>>2]=l+1;t[l|0]=41;l=v[a+424>>2];if((l|0)==v[a+420>>2]){if(!_a(s)){break b}l=v[r>>2]}v[a+424>>2]=l+1;t[l|0]=0;v[a+328>>2]=v[a+428>>2];v[a+428>>2]=v[a+424>>2]}v[D>>2]=c;Ea[v[a+132>>2]](v[a+4>>2],v[v[a+340>>2]>>2],v[v[a+344>>2]>>2],v[a+328>>2],o,(z|0)==38);c=v[a+412>>2];k=v[a+416>>2];Pa:{if(!k){v[a+416>>2]=c;break Pa}if(!c){break Pa}while(1){e=v[c>>2];v[c>>2]=k;v[a+416>>2]=c;k=c;c=e;if(e){continue}break}}v[a+428>>2]=0;v[a+412>>2]=0;v[a+420>>2]=0;v[a+424>>2]=0;break f}if(!w[m+128|0]){break g}e=v[b+64>>2];k=et(a,b,e+c|0,v[n+52>>2]-e|0,2);e=v[m+120>>2];f=v[a+312>>2];Qa:{if(f){v[f+4>>2]=e;v[v[a+312>>2]+8>>2]=v[m+116>>2]-v[m+120>>2];v[m+120>>2]=v[m+116>>2];if(!v[a+136>>2]){break Qa}v[D>>2]=c;f=0;e=v[a+312>>2];Ea[v[a+136>>2]](v[a+4>>2],v[e>>2],w[e+33|0],v[e+4>>2],v[e+8>>2],v[a+356>>2],0,0,0);if(!k){break h}break b}v[m+116>>2]=e}f=1;if(!k){break h}break b}t[a+485|0]=0;t[m+129|0]=1;Ra:{if(v[a+84>>2]){e=v[n+52>>2];f=v[b+64>>2];v[n+60>>2]=f+c;if(!v[r>>2]){if(!_a(s)){break l}}e=e-f|0;while(1){if(Ea[v[b+56>>2]](b,n+60|0,e,r,v[a+420>>2])>>>0>=2){if(_a(s)){continue}break l}break}if(!v[a+428>>2]){break l}l=v[a+424>>2];if((l|0)==v[a+420>>2]){if(!_a(s)){break l}l=v[r>>2]}k=1;v[a+424>>2]=l+1;f=0;t[l|0]=0;e=v[a+428>>2];v[a+320>>2]=e;if(!e){break b}v[a+428>>2]=v[a+424>>2];break Ra}v[a+320>>2]=508100}Sa:{if(w[m+130|0]|v[a+488>>2]){break Sa}e=v[a+108>>2];if(!e){break Sa}if(Ea[e|0](v[a+4>>2])|0){break Sa}k=22;break b}if(v[a+312>>2]){break da}e=vc(a,F,508100,36);v[a+312>>2]=e;if(!e){k=1;break b}v[e+24>>2]=0}if(!w[m+128|0]|!v[a+312>>2]){break h}e=v[n+52>>2];l=v[b+64>>2];v[n+60>>2]=l+c;Ta:{Ua:{Va:{if(!v[p>>2]){if(!_a(x)){break Va}}e=e-l|0;while(1){if(Ea[v[b+56>>2]](b,n+60|0,e,p,v[m+88>>2])>>>0<2){break Ua}if(_a(x)){continue}break}}k=0;break Ta}k=0;if(!v[m+96>>2]){break Ta}l=v[m+92>>2];if((l|0)==v[m+88>>2]){if(!_a(x)){break Ta}l=v[p>>2]}v[p>>2]=l+1;t[l|0]=0;k=v[m+96>>2]}v[v[a+312>>2]+16>>2]=k;e=v[a+312>>2];if(!v[e+16>>2]){k=1;break b}v[e+20>>2]=v[a+356>>2];v[m+96>>2]=v[p>>2];if(!v[a+136>>2]|(z|0)!=13){break h}break f}if(!v[a+136>>2]|(!w[m+128|0]|!v[a+312>>2])){break g}v[D>>2]=c;c=v[a+312>>2];Ea[v[a+136>>2]](v[a+4>>2],v[c>>2],w[c+33|0],0,0,v[c+20>>2],v[c+16>>2],v[c+24>>2],0);break f}if(!w[m+128|0]|!v[a+312>>2]){break g}e=v[n+52>>2];v[n+60>>2]=c;Wa:{Xa:{Ya:{if(!v[p>>2]){if(!_a(x)){break Ya}}while(1){if(Ea[v[b+56>>2]](b,n+60|0,e,p,v[m+88>>2])>>>0<2){break Xa}if(_a(x)){continue}break}}e=0;break Wa}e=0;if(!v[m+96>>2]){break Wa}k=v[m+92>>2];if((k|0)==v[m+88>>2]){if(!_a(x)){break Wa}k=v[p>>2]}v[p>>2]=k+1;t[k|0]=0;e=v[m+96>>2]}v[v[a+312>>2]+28>>2]=e;if(!v[v[a+312>>2]+28>>2]){k=1;break b}v[m+96>>2]=v[p>>2];if(v[a+92>>2]){v[D>>2]=c;c=v[a+312>>2];Ea[v[a+92>>2]](v[a+4>>2],v[c>>2],v[c+20>>2],v[c+16>>2],v[c+24>>2],v[c+28>>2]);break f}if(!v[a+136>>2]){break g}v[D>>2]=c;c=v[a+312>>2];Ea[v[a+136>>2]](v[a+4>>2],v[c>>2],0,0,0,v[c+20>>2],v[c+16>>2],v[c+24>>2],v[c+28>>2]);break f}if(Ea[v[b+44>>2]](b,c,v[n+52>>2])|0){v[a+312>>2]=0;break g}if(!w[m+128|0]){break w}e=v[n+52>>2];v[n+60>>2]=c;Za:{_a:{if(!v[p>>2]){if(!_a(x)){break _a}}while(1){if(Ea[v[b+56>>2]](b,n+60|0,e,p,v[m+88>>2])>>>0<2){break Za}if(_a(x)){continue}break}}k=1;break b}k=1;if(!v[m+96>>2]){break b}e=v[m+92>>2];if((e|0)==v[m+88>>2]){if(!_a(x)){break b}e=v[p>>2]}v[p>>2]=e+1;t[e|0]=0;e=v[m+96>>2];if(!e){break b}f=vc(a,m,e,36);v[a+312>>2]=f;if(!f){break b}if((e|0)!=v[f>>2]){v[p>>2]=v[m+96>>2];v[a+312>>2]=0;break g}v[m+96>>2]=v[p>>2];v[v[a+312>>2]+24>>2]=0;t[v[a+312>>2]+33|0]=0;t[v[a+312>>2]+34|0]=!(v[a+472>>2]?1:v[a+296>>2]);if(!v[a+136>>2]){break g}break f}if(w[m+128|0]){e=v[n+52>>2];v[n+60>>2]=c;$a:{ab:{if(!v[p>>2]){if(!_a(x)){break ab}}while(1){if(Ea[v[b+56>>2]](b,n+60|0,e,p,v[m+88>>2])>>>0<2){break $a}if(_a(x)){continue}break}}k=1;break b}k=1;if(!v[m+96>>2]){break b}e=v[m+92>>2];if((e|0)==v[m+88>>2]){if(!_a(x)){break b}e=v[p>>2]}v[p>>2]=e+1;t[e|0]=0;e=v[m+96>>2];if(!e){break b}f=vc(a,F,e,36);v[a+312>>2]=f;if(!f){break b}if((e|0)!=v[f>>2]){v[p>>2]=v[m+96>>2];v[a+312>>2]=0;break g}v[m+96>>2]=v[p>>2];v[v[a+312>>2]+24>>2]=0;t[v[a+312>>2]+33|0]=1;t[v[a+312>>2]+34|0]=!(v[a+472>>2]?1:v[a+296>>2]);if(!v[a+136>>2]){break g}break f}v[p>>2]=v[m+96>>2];v[a+312>>2]=0;break g}v[a+332>>2]=0;v[a+336>>2]=0;if(!v[a+96>>2]){break g}e=v[n+52>>2];v[n+60>>2]=c;if(!v[r>>2]){if(!_a(s)){break m}}while(1){if(Ea[v[b+56>>2]](b,n+60|0,e,r,v[a+420>>2])>>>0>=2){if(_a(s)){continue}break m}break}if(!v[a+428>>2]){break m}c=v[a+424>>2];if((c|0)==v[a+420>>2]){if(!_a(s)){break m}c=v[r>>2]}k=1;v[a+424>>2]=c+1;t[c|0]=0;c=v[a+428>>2];v[a+332>>2]=c;if(!c){break b}v[a+428>>2]=v[a+424>>2];break f}if(!(Ea[v[b+52>>2]](b,c,v[n+52>>2],E)|0)){k=32;break b}if(!v[a+332>>2]){break g}e=v[n+52>>2];f=c;c=v[b+64>>2];v[n+60>>2]=f+c;bb:{cb:{if(!v[r>>2]){if(!_a(s)){break cb}}c=e-c|0;while(1){if(Ea[v[b+56>>2]](b,n+60|0,c,r,v[a+420>>2])>>>0<2){break bb}if(_a(s)){continue}break}}k=1;break b}k=1;if(!v[a+428>>2]){break b}c=v[a+424>>2];if((c|0)==v[a+420>>2]){if(!_a(s)){break b}c=v[r>>2]}v[a+424>>2]=c+1;t[c|0]=0;o=v[a+428>>2];if(!o){break b}f=o;l=f;c=l;e=w[c|0];db:{if(!e){break db}while(1){c=l;k=f;eb:{fb:{f=(e<<24>>24)-10|0;if(f>>>0>22|!(1<<f&4194313)){break fb}l=o;if((c|0)==(l|0)){break eb}e=32;if(w[c-1|0]!=32){break fb}l=c;break eb}t[c|0]=e;l=c+1|0}f=k+1|0;e=w[k+1|0];if(e){continue}break}c=o;if((l|0)==(c|0)){break db}c=l-1|0;c=w[c|0]==32?c:l}t[c|0]=0;v[a+336>>2]=o;v[a+428>>2]=v[a+424>>2];break f}if(!(!v[a+332>>2]|!v[a+96>>2])){e=v[n+52>>2];f=v[b+64>>2];v[n+60>>2]=f+c;gb:{hb:{if(!v[r>>2]){if(!_a(s)){break hb}}e=e-f|0;while(1){if(Ea[v[b+56>>2]](b,n+60|0,e,r,v[a+420>>2])>>>0<2){break gb}if(_a(s)){continue}break}}k=1;break b}k=1;if(!v[a+428>>2]){break b}e=v[a+424>>2];if((e|0)==v[a+420>>2]){if(!_a(s)){break b}e=v[r>>2]}v[a+424>>2]=e+1;f=0;t[e|0]=0;e=v[a+428>>2];if(!e){break b}v[D>>2]=c;Ea[v[a+96>>2]](v[a+4>>2],v[a+332>>2],v[a+356>>2],e,v[a+336>>2])}e=v[a+412>>2];l=v[a+416>>2];ib:{if(!l){v[a+416>>2]=e;break ib}if(!e){break ib}while(1){k=v[e>>2];v[e>>2]=l;v[a+416>>2]=e;l=e;e=k;if(e){continue}break}}v[a+428>>2]=0;v[a+412>>2]=0;v[a+420>>2]=0;v[a+424>>2]=0;if(f){break g}break f}if(!(!v[a+336>>2]|!v[a+96>>2])){v[D>>2]=c;Ea[v[a+96>>2]](v[a+4>>2],v[a+332>>2],v[a+356>>2],0,v[a+336>>2]);f=0}e=v[a+412>>2];l=v[a+416>>2];jb:{if(!l){v[a+416>>2]=e;break jb}if(!e){break jb}while(1){k=v[e>>2];v[e>>2]=l;v[a+416>>2]=e;l=e;e=k;if(e){continue}break}}v[a+428>>2]=0;v[a+412>>2]=0;v[a+420>>2]=0;v[a+424>>2]=0;if(f){break g}break f}k=(l|0)==28?10:(l|0)==12?17:2;break b}f=v[a+80>>2];kb:{if(!f){break kb}e=v[n+52>>2];v[n+60>>2]=c;if(!w[b+68|0]){l=J;f=I;if(v[a+144>>2]!=(b|0)){l=v[a+296>>2];f=l+4|0}while(1){v[n+56>>2]=v[a+44>>2];c=Ea[v[b+56>>2]](b,n+60|0,e,n+56|0,v[a+48>>2])|0;v[f>>2]=v[n+60>>2];k=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],k,v[n+56>>2]-k|0);v[l>>2]=v[n+60>>2];if(c>>>0>=2){continue}break}break kb}Ea[f|0](v[a+4>>2],c,e-c|0)}k=dt(a,b,n+52|0,d,g,h);if(k){break b}if(v[n+52>>2]){break f}v[a+276>>2]=993;k=0;break b}e=v[a+464>>2];lb:{if(e>>>0>y[a+256>>2]){break lb}mb:{if(e){k=1;e=e<<1;v[a+464>>2]=e;e=Ea[v[a+16>>2]](v[a+460>>2],e)|0;if(!e){v[a+464>>2]=v[a+464>>2]>>>1;break b}v[a+460>>2]=e;e=v[m+184>>2];if(!e){break lb}e=Ea[v[a+16>>2]](e,v[a+464>>2]<<2)|0;if(e){break mb}break b}v[a+464>>2]=32;e=Ea[v[a+12>>2]](32)|0;v[a+460>>2]=e;if(e){break lb}v[a+464>>2]=0;k=1;break b}v[m+184>>2]=e}t[v[a+460>>2]+v[a+256>>2]|0]=0;if(!w[m+160|0]){break g}e=bt(a);if((e|0)<0){k=1;break b}f=v[m+184>>2];if(!f){break r}v[f+(v[m+180>>2]<<2)>>2]=e;v[m+180>>2]=v[m+180>>2]+1;v[v[m+164>>2]+B(e,28)>>2]=6;if(!v[a+128>>2]){break g}break f}e=v[a+460>>2]+v[a+256>>2]|0;if(w[e|0]==124){k=2;break b}t[e|0]=44;if(!w[m+160|0]|!v[a+128>>2]){break g}break f}e=v[a+460>>2];k=v[a+256>>2];f=w[e+k|0];if((f|0)==44){k=2;break b}l=1;nb:{if(f|!w[m+160|0]){break nb}f=v[m+164>>2]+B(v[(v[m+184>>2]+(v[m+180>>2]<<2)|0)-4>>2],28)|0;if(v[f>>2]==3){break nb}v[f>>2]=5;k=v[a+256>>2];e=v[a+460>>2];l=!v[a+128>>2]}t[e+k|0]=124;if(l){break g}break f}t[m+129|0]=1;if(!v[a+488>>2]){e=w[m+130|0];t[m+128|0]=e;break n}e=v[n+52>>2];f=v[b+64>>2];v[n+60>>2]=f+c;ob:{pb:{if(!v[p>>2]){if(!_a(x)){break pb}}e=e-f|0;while(1){if(Ea[v[b+56>>2]](b,n+60|0,e,p,v[m+88>>2])>>>0<2){break ob}if(_a(x)){continue}break}}k=1;break b}k=1;if(!v[m+96>>2]){break b}l=v[m+92>>2];if((l|0)==v[m+88>>2]){if(!_a(x)){break b}l=v[p>>2]}v[p>>2]=l+1;t[l|0]=0;e=v[m+96>>2];if(!e){break b}k=vc(a,F,e,0);v[p>>2]=v[m+96>>2];if(!v[a+268>>2]){break p}qb:{if(w[m+130|0]){if(!v[a+296>>2]){break qb}break p}if(w[m+129|0]){break p}}if(!k){k=11;break b}if(w[k+34|0]){break o}k=24;break b}if(!v[a+128>>2]){break g}e=v[a+352>>2];l=v[n+52>>2];v[n+60>>2]=c;c=e+80|0;f=e+92|0;rb:{if(!v[f>>2]){if(!_a(c)){break rb}}while(1){if(Ea[v[b+56>>2]](b,n+60|0,l,f,v[e+88>>2])>>>0>=2){if(_a(c)){continue}break rb}break}if(!v[e+96>>2]){break rb}l=v[e+92>>2];if((l|0)==v[e+88>>2]){if(!_a(c)){break rb}l=v[f>>2]}v[e+92>>2]=l+1;t[l|0]=0;f=v[e+96>>2];if(!f){break rb}c=vc(a,e+20|0,f,24);if(!c){break rb}if((f|0)!=v[c>>2]){v[e+92>>2]=v[e+96>>2];break q}v[e+96>>2]=v[e+92>>2];if(Mi(a,c)){break q}}v[a+340>>2]=0;k=1;break b}if(!w[m+160|0]){break g}if(v[a+128>>2]){e=Ea[v[a+12>>2]](20)|0;if(!e){k=1;break b}v[e+4>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+16>>2]=0;v[e>>2]=(z|0)==41?2:1;v[D>>2]=c;Ea[v[a+128>>2]](v[a+4>>2],v[v[a+340>>2]>>2],e);e=0}else{e=1}t[m+160|0]=0;if(e){break g}break f}if(!w[m+160|0]){break g}v[v[m+164>>2]+B(v[(v[m+184>>2]+(v[m+180>>2]<<2)|0)-4>>2],28)>>2]=3;if(!v[a+128>>2]){break g}break f}f=2;break L}f=3}if(!w[m+160|0]){break g}e=v[n+52>>2]-v[b+64>>2]|0;break J}if(!w[m+160|0]){break g}f=0;e=v[n+52>>2]}k=1;q=bt(a);if((q|0)<0){break b}l=B(q,28);v[l+v[m+164>>2]>>2]=4;v[(l+v[m+164>>2]|0)+4>>2]=f;l=v[a+352>>2];v[n+60>>2]=c;o=l+80|0;z=l+92|0;if(!v[z>>2]){if(!_a(o)){break b}}while(1){if(Ea[v[b+56>>2]](b,n+60|0,e,z,v[l+88>>2])>>>0>=2){if(_a(o)){continue}break b}break}if(!v[l+96>>2]){break b}f=v[l+92>>2];if((f|0)==v[l+88>>2]){if(!_a(o)){break b}f=v[z>>2]}v[l+92>>2]=f+1;t[f|0]=0;f=v[l+96>>2];if(!f){break b}e=vc(a,l+20|0,f,24);if(!e){break b}sb:{if((f|0)!=v[e>>2]){v[l+92>>2]=v[l+96>>2];break sb}v[l+96>>2]=v[l+92>>2];if(!Mi(a,e)){break b}}f=v[e>>2];v[(v[m+164>>2]+B(q,28)|0)+8>>2]=f;e=0;while(1){l=e+f|0;k=e+1|0;e=k;if(w[l|0]){continue}break}v[m+168>>2]=k+v[m+168>>2];if(!v[a+128>>2]){break g}break f}k=1;break F}k=2;break F}k=3}if(!w[m+160|0]){break g}e=v[a+128>>2];f=v[m+180>>2]-1|0;v[m+180>>2]=f;v[(v[m+164>>2]+B(v[v[m+184>>2]+(f<<2)>>2],28)|0)+4>>2]=k;f=!e;if(v[m+180>>2]){break h}if(e){l=v[a+352>>2];e=Ea[v[a+12>>2]](B(v[l+176>>2],20)+v[l+168>>2]|0)|0;if(!e){k=1;break b}l=v[l+176>>2];v[n+60>>2]=e+20;v[n+56>>2]=e+B(l,20);at(a,0,e,n+60|0,n+56|0);v[D>>2]=c;Ea[v[a+128>>2]](v[a+4>>2],v[v[a+340>>2]>>2],e)}v[m+168>>2]=0;t[m+160|0]=0;break h}if(Kl(a,b,c,v[n+52>>2])){break f}k=1;break b}if(Jl(a,b,c,v[n+52>>2])){break f}k=1;break b}if((l|0)!=14){break g}break f}if(!v[a+84>>2]){break g}break f}if(!w[m+128|0]|!v[a+136>>2]){break g}break f}if(!v[a+96>>2]){break g}break f}if(!w[m+128|0]|!v[a+132>>2]){break g}break f}if(!v[a+128>>2]){break g}break f}v[p>>2]=v[m+96>>2];v[a+312>>2]=0;break g}k=6;break b}O(509037,506499,5051,509061);L()}v[a+340>>2]=c;v[m+176>>2]=0;v[m+180>>2]=0;t[m+160|0]=1;break f}if(k){break o}t[m+128|0]=w[m+130|0];if((z|0)!=60){break g}f=v[a+120>>2];if(!f){break g}Ea[f|0](v[a+4>>2],e,1);break f}if(w[k+32|0]){k=12;break b}if(v[k+4>>2]){k=$s(a,k,(z|0)==60);if(!k){break f}break b}if(v[a+112>>2]){f=0;t[m+131|0]=0;t[k+32|0]=1;e=a;o=Ca-48|0;Ca=o;while(1){l=e;e=v[e+472>>2];if(e){continue}break}z=v[l+528>>2]+1|0;v[l+528>>2]=z;e=v[l+532>>2]+1|0;v[l+532>>2]=e;q=v[l+536>>2];if(e>>>0>q>>>0){q=q+1|0;v[l+536>>2]=q}if(v[l+540>>2]>=1){H=w[k+33|0];M=v[k>>2];N=v[k+8>>2];v[o+40>>2]=5152;v[o+36>>2]=N;v[o+32>>2]=509358;v[o+28>>2]=M;v[o+20>>2]=509099;v[o+24>>2]=H?508104:508106;v[o+8>>2]=e;v[o+16>>2]=(e<<1)-2;v[o+12>>2]=q;v[o+4>>2]=z;v[o>>2]=l;$b(v[130915],509364,o)}Ca=o+48|0;if(!(Ea[v[a+112>>2]](v[a+116>>2],0,v[k+20>>2],v[k+16>>2],v[k+24>>2])|0)){Il(a,k,5156);t[k+32|0]=0;k=21;break b}Il(a,k,5160);t[k+32|0]=0;e=w[m+130|0];if(w[m+131|0]){break n}t[m+128|0]=e;break f}t[m+128|0]=w[m+130|0];break g}if(e&255){break h}e=v[a+108>>2];if(!e){break h}if(Ea[e|0](v[a+4>>2])|0){break h}k=22;break b}v[a+332>>2]=0;k=1;break b}v[a+320>>2]=0;k=1;break b}v[a+340>>2]=f}if(!w[m+128|0]|!v[a+132>>2]){break g}break f}if(!w[m+128|0]|!v[a+312>>2]){break h}e=v[n+52>>2];l=v[b+64>>2];v[n+60>>2]=l+c;tb:{ub:{if(!v[p>>2]){if(!_a(x)){break ub}}e=e-l|0;while(1){if(Ea[v[b+56>>2]](b,n+60|0,e,p,v[m+88>>2])>>>0<2){break tb}if(_a(x)){continue}break}}k=1;break b}k=1;if(!v[m+96>>2]){break b}l=v[m+92>>2];if((l|0)==v[m+88>>2]){if(!_a(x)){break b}l=v[p>>2]}v[p>>2]=l+1;t[l|0]=0;o=v[m+96>>2];if(!o){break b}q=o;e=o;k=e;l=w[e|0];vb:{if(!l){break vb}while(1){k=q;wb:{xb:{q=(l<<24>>24)-10|0;if(q>>>0>22|!(1<<q&4194313)){break xb}l=o;q=l;if((e|0)==(l|0)){break wb}l=32;if(w[e-1|0]!=32){break xb}q=e;break wb}t[e|0]=l;q=e+1|0}e=q;q=k+1|0;l=w[k+1|0];if(l){continue}break}k=o;if((k|0)==(e|0)){break vb}l=e-1|0;k=w[l|0]==32?l:e}t[k|0]=0;v[v[a+312>>2]+24>>2]=o;v[m+96>>2]=v[p>>2];if(!v[a+136>>2]){break h}if((z|0)==14){break f}}if(!f){break f}}f=v[a+80>>2];if(!f){break f}e=v[n+52>>2];v[n+60>>2]=c;if(!w[b+68|0]){l=J;f=I;if(v[a+144>>2]!=(b|0)){l=v[a+296>>2];f=l+4|0}while(1){v[n+56>>2]=v[a+44>>2];c=Ea[v[b+56>>2]](b,n+60|0,e,n+56|0,v[a+48>>2])|0;v[f>>2]=v[n+60>>2];k=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],k,v[n+56>>2]-k|0);v[l>>2]=v[n+60>>2];if(c>>>0>=2){continue}break}break f}Ea[f|0](v[a+4>>2],c,e-c|0)}k=35;yb:{switch(v[a+476>>2]-2|0){case 1:v[g>>2]=v[n+52>>2];k=0;break b;case 0:break b;default:break yb}}c=v[n+52>>2];e=Ea[v[b>>2]](b,c,d,n+52|0)|0;continue}break}v[a+316>>2]=0;k=1;break b}if((Ea[v[G>>2]](G,-4,d,d,b)|0)!=-1){break c}k=29;break b}v[g>>2]=c;k=0}Ca=n- -64|0;return k}function WO(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,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0;X=Ca-160|0;Ca=X;a:{b:{c:{d:{T=v[a+112>>2];if(!(t[T+36|0]&1)){break d}while(1){e:{d=v[T+32>>2];if(!d){I=0;M=0;h=Ca-1920|0;Ca=h;f:{g:{F=eb(1,168);h:{if(F){$=x[140224];while(1){i:{j:{d=v[a+44>>2];if((d|0)>=1){f=v[(M<<2)+258720>>2];i=v[a+48>>2];e=d-1|0;d=0;while(1){k=d+e>>>1|0;j=i+B(k,36)|0;g=v[j>>2];k:{if(g>>>0>f>>>0){e=k-1|0;break k}if(f>>>0<=g>>>0){break j}d=k+1|0}if((d|0)<=(e|0)){continue}break}}v[((I<<2)+F|0)+8>>2]=0;break i}Y=(I<<2)+F|0;d=v[j+28>>2];v[Y+8>>2]=d;if(!d){break i}l:{if(M>>>0<=3){e=1569;k=0;while(1){d=x[((e<<3)+(M<<1)|0)+246200>>1];m:{if(!d){break m}f=h+208|0;v[f>>2]=0;j=f;f=v[b+72>>2];if(!(Ea[v[f+156>>2]](b,v[b+76>>2],e,j,v[f+20>>2])|0)){break m}f=h+112|0;v[f>>2]=0;j=d;d=v[b+72>>2];if(!(Ea[v[d+156>>2]](b,v[b+76>>2],j,f,v[d+20>>2])|0)){break m}d=v[h+208>>2];f=v[h+112>>2];if((d|0)==(f|0)|(d|f)>>>0>65535){break m}i=k<<1;u[i+(h+1056|0)>>1]=f<<8|(f&65280)>>>8;u[i+(h+1424|0)>>1]=d<<8|(d&65280)>>>8;k=k+1|0}e=e+1|0;if((e|0)!=1748){continue}break}j=1;e=0;n:{switch(k|0){default:while(1){i=j<<1;f=i+(h+1424|0)|0;g=f|1;d=j;while(1){e=d;if(d){d=e-1|0;l=x[(h+1424|0)+(d<<1)>>1];if(((l<<8|l>>>8)&65535)>>>0>(w[g|0]|w[f|0]<<8)>>>0){continue}}break}if((e|0)!=(j|0)){f=x[f>>1];d=e<<1;g=d+2|0;l=d+(h+1424|0)|0;e=j-e<<1;mb(g+(h+1424|0)|0,l,e);u[l>>1]=f;f=x[i+(h+1056|0)>>1];d=d+(h+1056|0)|0;mb(g+(h+1056|0)|0,d,e);u[d>>1]=f}j=j+1|0;if((k|0)!=(j|0)){continue}break};break;case 0:break l;case 1:break n}}j=1;d=Nw(h+112|0,h+208|0,844);o=Mw(d);o:{if(!Lw(o,d,1)){break o}g=Gj(d);e=h+1800|0;v[e>>2]=0;f=h+1808|0;v[f>>2]=k;v[h+1804>>2]=h+1056;i=v[e+4>>2];v[h+16>>2]=v[e>>2];v[h+20>>2]=i;v[h+1812>>2]=0;e=v[f+4>>2];v[h+24>>2]=v[f>>2];v[h+28>>2]=e;v[h+1796>>2]=k;v[h+1792>>2]=h+1424;e=v[h+1796>>2];v[h+8>>2]=v[h+1792>>2];v[h+12>>2]=e;f=0;e=Ca+-64|0;Ca=e;p:{q:{if(v[d+20>>2]){break q}if(g>>>0<y[d>>2]){break c}k=v[d+4>>2];if(k>>>0<g>>>0){break b}i=g+2|0;if(i>>>0<k>>>0){break a}i=i-k|0;if((i|0)>(v[d+8>>2]-k|0)){v[d+20>>2]=4;break q}Ra(k,0,i);k=v[d+4>>2];v[d+4>>2]=k+i;if(!k){break q}r:{i=v[h+12>>2];if(!i){break r}z=v[h+24>>2];if(!z){break r}k=v[h+20>>2];f=v[h+8>>2];l=(w[k|0]<<8|w[k+1|0])-(w[f|0]<<8|w[f+1|0])|0;i=i-1|0;s:{if(!i){break s}z=z-1|0;if(!z){break s}f=f+2|0;while(1){if((l^(w[k+3|0]|w[k+2|0]<<8)-(w[f+1|0]|w[f|0]<<8))&65535){break r}i=i-1|0;if(!i){break s}k=k+2|0;f=f+2|0;z=z-1|0;if(z){continue}break}}t[g|0]=0;t[g+1|0]=1;f=v[h+28>>2];v[e+48>>2]=v[h+24>>2];v[e+52>>2]=f;f=v[h+20>>2];v[e+40>>2]=v[h+16>>2];v[e+44>>2]=f;f=v[h+12>>2];v[e+32>>2]=v[h+8>>2];v[e+36>>2]=f;v[e+56>>2]=260328;f=0;if(v[d+20>>2]){break q}if(g>>>0<y[d>>2]){break c}k=v[d+4>>2];if(k>>>0<g>>>0){break b}i=g+6|0;if(i>>>0<k>>>0){break a}i=i-k|0;if((i|0)<=(v[d+8>>2]-k|0)){Ra(k,0,i);k=v[d+4>>2];v[d+4>>2]=k+i;if(!k){break q}if(!Hw(g+2|0,d,e+32|0)){break q}f=l<<8|(l&65280)>>>8;t[g+4|0]=f;t[g+5|0]=f>>>8;f=1;break q}v[d+20>>2]=4;break q}t[g|0]=0;t[g+1|0]=2;f=v[h+28>>2];v[e+24>>2]=v[h+24>>2];v[e+28>>2]=f;f=v[h+20>>2];v[e+16>>2]=v[h+16>>2];v[e+20>>2]=f;f=v[h+12>>2];v[e+8>>2]=v[h+8>>2];v[e+12>>2]=f;k=0;f=Ca-32|0;Ca=f;C=v[e+24>>2];i=v[e+20>>2];z=v[e+12>>2];l=v[e+28>>2];v[f+16>>2]=v[e+24>>2];v[f+20>>2]=l;l=v[e+20>>2];v[f+8>>2]=v[e+16>>2];v[f+12>>2]=l;l=v[e+12>>2];v[f>>2]=v[e+8>>2];v[f+4>>2]=l;v[f+24>>2]=260328;t:{u:{if(v[d+20>>2]){break u}if(g>>>0<y[d>>2]){break c}l=v[d+4>>2];if(l>>>0<g>>>0){break b}m=g+6|0;if(m>>>0<l>>>0){break a}m=m-l|0;if((m|0)>(v[d+8>>2]-l|0)){v[d+20>>2]=4;break u}Ra(l,0,m);l=v[d+4>>2];v[d+4>>2]=l+m;if(!l){break u}l=z>>>0>C>>>0?C:z;if(!Og(g+4|0,d,l)){break u}v:{if(!l){break v}z=0;if((l|0)!=1){k=l&-2;m=g+6|0;while(1){p=z<<1;s=p+m|0;n=C?i:280448;n=w[n|0]|w[n+1|0]<<8;t[s|0]=n;t[s+1|0]=n>>>8;p=m+(p|2)|0;n=i;i=(C|0)!=0;s=n+(i<<1)|0;i=C-i|0;C=i?s:280448;C=w[C|0]|w[C+1|0]<<8;t[p|0]=C;t[p+1|0]=C>>>8;n=i;i=(i|0)!=0;C=n-i|0;i=s+(i<<1)|0;z=z+2|0;k=k-2|0;if(k){continue}break}}if(!(l&1)){break v}k=g+(z<<1)|0;i=C?i:280448;i=w[i|0]|w[i+1|0]<<8;t[k+6|0]=i;t[k+7|0]=i>>>8}k=Hw(g+2|0,d,f)}Ca=f+32|0;f=k;break t}}Ca=e- -64|0;break p}if(f){j=0;e=d;w:{if(!(w[o+5|0]|w[o+4|0]<<8)){u[327832]=$;f=655664;break w}f=o+6|0}Qg(e,f,If(d,1));break o}Pg(d)}x:{y:{z:{f=v[h+132>>2];if(v[h+156>>2]<0?f:1){if(f){break z}if(w[h+180|0]){break y}}v[h+132>>2]=1;e=0;break x}e=0;if(!v[h+152>>2]|!(f&2)){break x}v[h+132>>2]=f|1;break x}e=v[h+152>>2];f=0-j|0;A:{if(!e){break A}if(v[e+20>>2]){break g}f=0-j|0;if(y[h+160>>2]<=1){break A}If(d,0);uw(d);f=v[h+132>>2]!=0|j}e=0;if(f&1){break x}k=v[h+120>>2];i=v[h+124>>2]-k|0;j=v[h+112>>2];f=v[h+116>>2]-j|0;g=i+f|0;if(!g){break x}g=Va(g);if(!g){break x}e=Ta(g,j,f);Ta(f+e|0,k,i)}Dj(d);break l}f=0;d=h+208|0;v[d>>2]=0;e=d;d=v[b+72>>2];d=Ea[v[d+156>>2]](b,v[b+76>>2],65247,e,v[d+20>>2])|0;if(d){v[h+1896>>2]=0;v[h+1904>>2]=0;e=x[h+208>>1];u[h+1912>>1]=e<<8|e>>>8;f=1}e=h+208|0;v[e>>2]=0;B:{C:{j=e;e=v[b+72>>2];if(Ea[v[e+156>>2]](b,v[b+76>>2],65248,j,v[e+20>>2])|0){e=1;k=x[h+208>>1];u[(h+1912|f<<1)>>1]=k<<8|k>>>8;k=f<<2;v[k+(h+1896|0)>>2]=0;v[k+(h+1904|0)>>2]=1;k=f+1|0;if(d){break C}break B}k=1;if(d){break B}e=0;break l}while(1){i=e;j=(h+1912|0)+(e<<1)|0;g=j|1;d=e;while(1){e=d;if(d){d=e-1|0;l=x[(h+1912|0)+(d<<1)>>1];if(((l<<8|l>>>8)&65535)>>>0>(w[g|0]|w[j|0]<<8)>>>0){continue}}break}if((e|0)!=(i|0)){d=x[j>>1];j=e+1|0;g=(h+1912|0)+(e<<1)|0;l=i-e|0;mb((h+1912|0)+(j<<1)|0,g,l<<1);u[g>>1]=d;d=v[(h+1904|0)+(i<<2)>>2];e=(h+1904|0)+(e<<2)|0;mb((h+1904|0)+(j<<2)|0,e,l<<2);v[e>>2]=d}e=i+1|0;if((f|0)!=(i|0)){continue}break}}d=0;f=0;while(1){i=f<<2;e=i+(h+1896|0)|0;i=B(v[i+(h+1904|0)>>2],18);j=x[i+260530>>1];g=h+208|0;v[g>>2]=0;n=j;j=v[b+72>>2];D:{if(!(Ea[v[j+156>>2]](b,v[b+76>>2],n,g,v[j+20>>2])|0)){break D}j=x[i+260532>>1];g=h+1424|0;v[g>>2]=0;n=j;j=v[b+72>>2];if(!(Ea[v[j+156>>2]](b,v[b+76>>2],n,g,v[j+20>>2])|0)){break D}v[e>>2]=v[e>>2]+1;v[(h+1056|0)+(d<<2)>>2]=2;j=d<<1;g=x[h+1424>>1];u[j+(h+112|0)>>1]=g<<8|g>>>8;g=j+(h+1792|0)|0;j=x[h+208>>1];u[g>>1]=j<<8|j>>>8;d=d+1|0}j=x[i+260534>>1];g=h+208|0;v[g>>2]=0;n=j;j=v[b+72>>2];E:{if(!(Ea[v[j+156>>2]](b,v[b+76>>2],n,g,v[j+20>>2])|0)){break E}j=x[i+260536>>1];g=h+1424|0;v[g>>2]=0;n=j;j=v[b+72>>2];if(!(Ea[v[j+156>>2]](b,v[b+76>>2],n,g,v[j+20>>2])|0)){break E}v[e>>2]=v[e>>2]+1;v[(h+1056|0)+(d<<2)>>2]=2;j=d<<1;g=x[h+1424>>1];u[j+(h+112|0)>>1]=g<<8|g>>>8;g=j+(h+1792|0)|0;j=x[h+208>>1];u[g>>1]=j<<8|j>>>8;d=d+1|0}j=x[i+260538>>1];g=h+208|0;v[g>>2]=0;n=j;j=v[b+72>>2];F:{if(!(Ea[v[j+156>>2]](b,v[b+76>>2],n,g,v[j+20>>2])|0)){break F}j=x[i+260540>>1];g=h+1424|0;v[g>>2]=0;n=j;j=v[b+72>>2];if(!(Ea[v[j+156>>2]](b,v[b+76>>2],n,g,v[j+20>>2])|0)){break F}v[e>>2]=v[e>>2]+1;v[(h+1056|0)+(d<<2)>>2]=2;j=d<<1;g=x[h+1424>>1];u[j+(h+112|0)>>1]=g<<8|g>>>8;g=j+(h+1792|0)|0;j=x[h+208>>1];u[g>>1]=j<<8|j>>>8;d=d+1|0}j=x[i+260542>>1];g=h+208|0;v[g>>2]=0;n=j;j=v[b+72>>2];G:{if(!(Ea[v[j+156>>2]](b,v[b+76>>2],n,g,v[j+20>>2])|0)){break G}i=x[i+260544>>1];j=h+1424|0;v[j>>2]=0;g=i;i=v[b+72>>2];if(!(Ea[v[i+156>>2]](b,v[b+76>>2],g,j,v[i+20>>2])|0)){break G}v[e>>2]=v[e>>2]+1;v[(h+1056|0)+(d<<2)>>2]=2;e=d<<1;i=x[h+1424>>1];u[e+(h+112|0)>>1]=i<<8|i>>>8;j=e+(h+1792|0)|0;e=x[h+208>>1];u[j>>1]=e<<8|e>>>8;d=d+1|0}f=f+1|0;if((k|0)!=(f|0)){continue}break}if(!d){e=0;break l}g=Nw(h+1424|0,h+208|0,256);U=Mw(g);v[h+1888>>2]=0;v[h+1872>>2]=0;v[h+1856>>2]=0;v[h+1840>>2]=0;v[h+1824>>2]=0;v[h+104>>2]=0;v[h+88>>2]=0;v[h+1884>>2]=k;v[h+1868>>2]=k;v[h+1852>>2]=d;v[h+1836>>2]=d;v[h+1820>>2]=d;v[h+1880>>2]=h+1912;d=v[h+1884>>2];v[h+96>>2]=v[h+1880>>2];v[h+100>>2]=d;v[h+1864>>2]=h+1896;d=v[h+1868>>2];v[h+80>>2]=v[h+1864>>2];v[h+84>>2]=d;v[h+1848>>2]=h+112;v[h+1832>>2]=h+1056;v[h+1816>>2]=h+1792;v[h+72>>2]=0;v[h+56>>2]=0;v[h+40>>2]=0;d=v[h+1852>>2];v[h+64>>2]=v[h+1848>>2];v[h+68>>2]=d;d=v[h+1836>>2];v[h+48>>2]=v[h+1832>>2];v[h+52>>2]=d;d=v[h+1820>>2];v[h+32>>2]=v[h+1816>>2];v[h+36>>2]=d;d=h- -64|0;z=0;C=0;m=Ca-160|0;Ca=m;H:{I:{if(!Lw(U,g,4)){break I}s=Gj(g);v[m+152>>2]=v[h+40>>2];e=v[h+36>>2];v[m+144>>2]=v[h+32>>2];v[m+148>>2]=e;v[m+136>>2]=v[h+56>>2];e=v[h+52>>2];v[m+128>>2]=v[h+48>>2];v[m+132>>2]=e;v[m+120>>2]=v[d+8>>2];e=v[d+4>>2];v[m+112>>2]=v[d>>2];v[m+116>>2]=e;v[m+104>>2]=v[h+88>>2];d=v[h+84>>2];v[m+96>>2]=v[h+80>>2];v[m+100>>2]=d;v[m+88>>2]=v[h+104>>2];d=v[h+100>>2];v[m+80>>2]=v[h+96>>2];v[m+84>>2]=d;J:{if(v[g+20>>2]){break J}K:{if(y[g>>2]<=s>>>0){d=v[g+4>>2];if(d>>>0<s>>>0){break b}e=s+2|0;if(e>>>0<d>>>0){break K}e=e-d|0;if((e|0)>(v[g+8>>2]-d|0)){v[g+20>>2]=4;break J}Ra(d,0,e);d=v[g+4>>2];v[g+4>>2]=d+e;if(!d){break J}t[s|0]=0;t[s+1|0]=1;v[m+72>>2]=v[m+88>>2];v[m+56>>2]=v[m+104>>2];v[m+40>>2]=v[m+120>>2];v[m+24>>2]=v[m+136>>2];v[m+8>>2]=v[m+152>>2];d=v[m+84>>2];v[m+64>>2]=v[m+80>>2];v[m+68>>2]=d;d=v[m+100>>2];v[m+48>>2]=v[m+96>>2];v[m+52>>2]=d;d=v[m+116>>2];v[m+32>>2]=v[m+112>>2];v[m+36>>2]=d;d=v[m+132>>2];v[m+16>>2]=v[m+128>>2];v[m+20>>2]=d;d=v[m+148>>2];v[m>>2]=v[m+144>>2];v[m+4>>2]=d;N=m- -64|0;p=Ca-48|0;Ca=p;L:{M:{if(v[g+20>>2]){break M}if(y[g>>2]>s>>>0){break c}d=v[g+4>>2];if(d>>>0<s>>>0){break b}e=s+6|0;if(e>>>0<d>>>0){break a}e=e-d|0;if((e|0)>(v[g+8>>2]-d|0)){v[g+20>>2]=4;break M}Ra(d,0,e);d=v[g+4>>2];v[g+4>>2]=d+e;if(!d){break M}d=v[N+4>>2];if(!Og(s+4|0,g,d)){break M}if(d){J=0;aa=x[140224];ba=v[m+48>>2];ca=v[m+52>>2];while(1){o=v[(J>>>0<ca>>>0?(J<<2)+ba|0:280448)>>2];N:{if((w[s+5|0]|w[s+4|0]<<8)>>>0<=J>>>0){u[327832]=aa;d=655664;break N}d=((J<<1)+s|0)+6|0}P=v[m+36>>2];Z=v[m+32>>2];v[p+40>>2]=0;v[p+32>>2]=Z;v[p+36>>2]=o>>>0<P>>>0?o:P;Q=v[m+20>>2];_=v[m+16>>2];v[p+24>>2]=0;v[p+16>>2]=_;v[p+20>>2]=o>>>0<Q>>>0?o:Q;l=Ca-32|0;Ca=l;k=d;t[d|0]=0;t[d+1|0]=0;O:{if(v[g+20>>2]){break O}P:{e=v[g+24>>2];if(!e){e=v[g+28>>2];if((e|0)<0){break P}f=v[g+32>>2]+1|0;Q:{if(f>>>0<=e>>>0){d=e;break Q}d=e;while(1){d=((d>>>1|0)+d|0)+8|0;if(f>>>0>=d>>>0){continue}break}R:{if(!(d>>>0<e>>>0|d>>>0>1073741822)){e=gb(v[g+36>>2],d<<2);if(e){break R}}v[g+28>>2]=-1;break P}v[g+28>>2]=d;v[g+36>>2]=e}e=eb(1,384);if(!e){break P}S:{T:{f=v[g+32>>2];i=f+1|0;i=(i|0)>0?i:0;if(i>>>0>d>>>0){f=d;while(1){f=((f>>>1|0)+f|0)+8|0;if(i>>>0>=f>>>0){continue}break}if(d>>>0>f>>>0|f>>>0>1073741822){break T}d=gb(v[g+36>>2],f<<2);if(!d){break T}v[g+28>>2]=f;v[g+36>>2]=d;f=v[g+32>>2]}if(f>>>0<i>>>0){Ra(v[g+36>>2]+(f<<2)|0,0,i-f<<2)}v[g+32>>2]=i;d=v[g+36>>2];v[163916]=v[70112];d=(d+(i<<2)|0)-4|0;if((d|0)==655664){break S}v[d>>2]=e;break S}v[g+28>>2]=-1;v[163916]=v[70112]}v[e+360>>2]=0;v[e+336>>2]=e+360;v[e+312>>2]=e+336;v[e+288>>2]=e+312;v[e+264>>2]=e+288;v[e+240>>2]=e+264;v[e+216>>2]=e+240;v[e+192>>2]=e+216;v[e+168>>2]=e+192;v[e+144>>2]=e+168;v[e+120>>2]=e+144;v[e+96>>2]=e+120;v[e+72>>2]=e+96;v[e+48>>2]=e+72;v[e+24>>2]=e+48;v[e>>2]=e+24;v[g+24>>2]=e}v[g+24>>2]=v[e>>2];v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[e>>2]=v[g+4>>2];v[e+4>>2]=v[g+8>>2];v[e+20>>2]=v[g+40>>2];v[g+40>>2]=e;break O}if(v[g+20>>2]){break O}v[g+20>>2]=1}A=v[g+4>>2];v[l+24>>2]=v[p+40>>2];d=v[p+36>>2];v[l+16>>2]=v[p+32>>2];v[l+20>>2]=d;v[l+8>>2]=v[p+24>>2];d=v[p+20>>2];v[l>>2]=v[p+16>>2];v[l+4>>2]=d;e=0;E=Ca-16|0;Ca=E;U:{V:{W:{if(v[g+20>>2]){break W}if(y[g>>2]>A>>>0){break c}d=v[g+4>>2];if(d>>>0<A>>>0){break b}f=A+2|0;if(f>>>0<d>>>0){break a}f=f-d|0;if((f|0)>(v[g+8>>2]-d|0)){v[g+20>>2]=4;break W}Ra(d,0,f);d=v[g+4>>2];v[g+4>>2]=d+f;if(!d){break W}V=v[l+20>>2];if(!Og(A,g,V)){break W}if(!V){e=1;break W}da=v[l+16>>2];n=0;ea=x[140224];fa=v[l>>2];ga=v[l+4>>2];while(1){d=v[(n>>>0<ga>>>0?fa+(n<<2)|0:280448)>>2];W=(d|0)>0?d-1|0:0;X:{if((w[A+1|0]|w[A|0]<<8)>>>0<=n>>>0){u[327832]=ea;d=655664;break X}d=((n<<1)+A|0)+2|0}e=v[m+4>>2];f=v[m>>2];v[E+8>>2]=0;v[E>>2]=f;v[E+4>>2]=e>>>0>W>>>0?W:e;q=n>>>0<V>>>0?(n<<1)+da|0:280448;K=Ca-16|0;Ca=K;j=d;t[d|0]=0;t[d+1|0]=0;Y:{if(v[g+20>>2]){break Y}Z:{f=v[g+24>>2];if(!f){d=v[g+28>>2];if((d|0)<0){break Z}f=v[g+32>>2]+1|0;_:{if(f>>>0<=d>>>0){e=d;break _}e=d;while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}$:{if(!(d>>>0>e>>>0|e>>>0>1073741822)){d=gb(v[g+36>>2],e<<2);if(d){break $}}v[g+28>>2]=-1;break Z}v[g+28>>2]=e;v[g+36>>2]=d}f=eb(1,384);if(!f){break Z}aa:{ba:{d=v[g+32>>2];i=d+1|0;i=(i|0)>0?i:0;if(i>>>0>e>>>0){d=e;while(1){d=((d>>>1|0)+d|0)+8|0;if(i>>>0>=d>>>0){continue}break}if(d>>>0<e>>>0|d>>>0>1073741822){break ba}e=gb(v[g+36>>2],d<<2);if(!e){break ba}v[g+28>>2]=d;v[g+36>>2]=e;d=v[g+32>>2]}if(d>>>0<i>>>0){Ra(v[g+36>>2]+(d<<2)|0,0,i-d<<2)}v[g+32>>2]=i;d=v[g+36>>2];v[163916]=v[70112];d=(d+(i<<2)|0)-4|0;if((d|0)==655664){break aa}v[d>>2]=f;break aa}v[g+28>>2]=-1;v[163916]=v[70112]}v[f+360>>2]=0;v[f+336>>2]=f+360;v[f+312>>2]=f+336;v[f+288>>2]=f+312;v[f+264>>2]=f+288;v[f+240>>2]=f+264;v[f+216>>2]=f+240;v[f+192>>2]=f+216;v[f+168>>2]=f+192;v[f+144>>2]=f+168;v[f+120>>2]=f+144;v[f+96>>2]=f+120;v[f+72>>2]=f+96;v[f+48>>2]=f+72;v[f+24>>2]=f+48;v[f>>2]=f+24;v[g+24>>2]=f}v[g+24>>2]=v[f>>2];v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[f>>2]=v[g+4>>2];v[f+4>>2]=v[g+8>>2];v[f+20>>2]=v[g+40>>2];v[g+40>>2]=f;break Y}if(v[g+20>>2]){break Y}v[g+20>>2]=1}D=v[g+4>>2];d=w[q+1|0];e=w[q|0];v[K+8>>2]=v[E+8>>2];f=v[E+4>>2];v[K>>2]=v[E>>2];v[K+4>>2]=f;e=d|e<<8;f=0;ca:{da:{if(v[g+20>>2]){break da}if(y[g>>2]>D>>>0){break c}d=v[g+4>>2];if(d>>>0<D>>>0){break b}i=D+4|0;if(i>>>0<d>>>0){break a}i=i-d|0;if((i|0)>(v[g+8>>2]-d|0)){v[g+20>>2]=4;e=0;break ca}Ra(d,0,i);d=v[g+4>>2];v[g+4>>2]=d+i;if(!d){break da}d=e<<8|(e&65280)>>>8;t[D|0]=d;t[D+1|0]=d>>>8;e=v[K>>2];d=D+2|0;i=v[K+4>>2];G=i;ea:{fa:{if(v[g+20>>2]){break fa}ga:{if(d>>>0>=y[g>>2]){q=v[g+4>>2];if(q>>>0<d>>>0){break b}r=d+2|0;if(r>>>0<q>>>0){break ga}r=r-q|0;if((r|0)>(v[g+8>>2]-q|0)){v[g+20>>2]=4;break fa}Ra(q,0,r);q=v[g+4>>2];v[g+4>>2]=q+r;if(!q){break fa}q=G+1|0;r=q<<8|(q&65280)>>>8;t[d|0]=r;t[d+1|0]=r>>>8;if(q>>>0>=65536){v[g+20>>2]=v[g+20>>2]|16}if(v[g+20>>2]){d=0}else{if(d>>>0<y[g>>2]){break c}q=v[g+4>>2];if(q>>>0<d>>>0){break b}r=w[d+1|0]|w[d|0]<<8;r=d+(r?r<<1:2)|0;if(r>>>0<q>>>0){break a}r=r-q|0;ha:{if((r|0)>(v[g+8>>2]-q|0)){v[g+20>>2]=4;d=0;break ha}Ra(q,0,r);q=v[g+4>>2];v[g+4>>2]=q+r;d=q?d:0}}d=(d|0)!=0;break ea}break c}break a}d=0;break ea}if(!d){break da}f=1;if(!i){break da}G=i&1;d=0;ia:{if((i|0)==1){i=1;break ia}q=i&-2;r=D+4|0;while(1){R=d<<1;H=R+r|0;S=i?e:280448;S=w[S|0]|w[S+1|0]<<8;t[H|0]=S;t[H+1|0]=S>>>8;R=(R|2)+r|0;H=e;e=(i|0)!=0;H=H+(e<<1)|0;e=i-e|0;i=e?H:280448;i=w[i|0]|w[i+1|0]<<8;t[R|0]=i;t[R+1|0]=i>>>8;i=e;e=(e|0)!=0;i=i-e|0;e=H+(e<<1)|0;d=d+2|0;q=q-2|0;if(q){continue}break}}if(!G){break da}d=(d<<1)+D|0;e=i?e:280448;e=w[e|0]|w[e+1|0]<<8;t[d+4|0]=e;t[d+5|0]=e>>>8}e=f;break ca}ja:{if(e){Qg(g,j,If(g,1));break ja}Pg(g)}Ca=K+16|0;if(!e){break W}f=v[m+4>>2];d=f>>>0<W>>>0?f:W;v[m+4>>2]=f-d;v[m+8>>2]=d+v[m+8>>2];v[m>>2]=v[m>>2]+(d<<1);n=n+1|0;if((V|0)!=(n|0)){continue}break}}Ca=E+16|0;break V}ka:{if(e){Qg(g,k,If(g,1));break ka}Pg(g)}Ca=l+32|0;break U}if(!e){break M}d=o>>>0>P>>>0?P:o;v[m+36>>2]=P-d;v[m+40>>2]=d+v[m+40>>2];v[m+32>>2]=(d<<1)+Z;d=o>>>0>Q>>>0?Q:o;v[m+20>>2]=Q-d;v[m+16>>2]=(d<<2)+_;v[m+24>>2]=d+v[m+24>>2];J=J+1|0;if(J>>>0<y[N+4>>2]){continue}break}}t[s+2|0]=0;t[s+3|0]=0;l=Gj(g);v[p+8>>2]=v[N+8>>2];d=v[N+4>>2];v[p>>2]=v[N>>2];v[p+4>>2]=d;f=0;j=0;n=0;D=Ca-16|0;Ca=D;la:{ma:{if(v[g+20>>2]){break ma}na:{if(l>>>0>=y[g>>2]){d=v[g+4>>2];if(d>>>0<l>>>0){break b}e=l+2|0;if(e>>>0<d>>>0){break a}e=e-d|0;if((e|0)>(v[g+8>>2]-d|0)){v[g+20>>2]=4;break ma}Ra(d,0,e);d=v[g+4>>2];v[g+4>>2]=d+e;if(!d){break ma}i=v[p>>2];d=v[p+4>>2];A=i+(d<<1)|0;k=-2;f=i;e=d;while(1){oa:{G=j;H=k+1|0;pa:{qa:{if((f|0)==(A|0)){if(e){break qa}e=B(j,3)>>>0<n>>>0?512:256;t[l|0]=e;t[l+1|0]=e>>>8;f=0;switch((e>>>8|0)-1|0){case 1:break na;case 0:break oa;default:break ma}}if(e){break qa}j=280448;break pa}j=f}k=w[j|0]|w[j+1|0]<<8;k=(k<<8|k>>>8)&65535;j=G+((H|0)!=(k|0))|0;n=n+1|0;o=(e|0)!=0;e=e-o|0;f=(o<<1)+f|0;continue}break}f=Og(l+2|0,g,d);if(!f|!d){break ma}o=d&1;e=0;if((d|0)!=1){j=d&-2;k=l+4|0;while(1){n=e<<1;A=n+k|0;E=d?i:280448;E=w[E|0]|w[E+1|0]<<8;t[A|0]=E;t[A+1|0]=E>>>8;n=k+(n|2)|0;G=i;i=(d|0)!=0;A=G+(i<<1)|0;d=d-i|0;i=d?A:280448;i=w[i|0]|w[i+1|0]<<8;t[n|0]=i;t[n+1|0]=i>>>8;i=(d|0)!=0;d=d-i|0;i=A+(i<<1)|0;e=e+2|0;j=j-2|0;if(j){continue}break}}if(!o){break ma}e=l+(e<<1)|0;d=d?i:280448;d=w[d|0]|w[d+1|0]<<8;t[e+4|0]=d;t[e+5|0]=d>>>8;break ma}break c}v[D+8>>2]=v[p+8>>2];d=v[p+4>>2];v[D>>2]=v[p>>2];v[D+4>>2]=d;i=0;f=0;ra:{sa:{if(v[g+20>>2]){break sa}ta:{if(l>>>0>=y[g>>2]){d=v[g+4>>2];if(d>>>0>=l>>>0){e=l+4|0;if(e>>>0>=d>>>0){e=e-d|0;if((e|0)>(v[g+8>>2]-d|0)){v[g+20>>2]=4;f=0;break ra}Ra(d,0,e);d=v[g+4>>2];v[g+4>>2]=d+e;f=0;if(!d){break sa}e=v[D+4>>2];if(!e){t[l+2|0]=0;t[l+3|0]=0;break ta}f=v[D>>2];A=f+(e<<1)|0;k=-2;d=f;j=e;while(1){ua:{n=i;G=k+1|0;va:{wa:{if((d|0)==(A|0)){if(j){break wa}if(Gw(l+2|0,g,i)){break ua}f=0;break ra}if(j){break wa}i=280448;break va}i=d}k=w[i|0]|w[i+1|0]<<8;k=(k<<8|k>>>8)&65535;i=n+((G|0)!=(k|0))|0;o=(j|0)!=0;j=j-o|0;d=(o<<1)+d|0;continue}break}j=-1;d=-2;i=0;while(1){xa:{ya:{if((f|0)==(A|0)){if(!e){break ta}break ya}if(e){break ya}k=280448;break xa}k=f}o=w[k|0]|w[k+1|0]<<8;k=(o<<8|o>>>8)&65535;if((k|0)!=(d+1|0)){d=w[l+3|0]|w[l+2|0]<<8;j=j+1|0;za:{if(d>>>0<=j>>>0){u[327834]=w[280844]|w[280845]<<8;v[163916]=w[280840]|w[280841]<<8|(w[280842]<<16|w[280843]<<24);d=w[l+3|0]|w[l+2|0]<<8;n=655664;break za}n=(l+B(j,6)|0)+4|0}t[n|0]=o;t[n+1|0]=o>>>8;Aa:{if(d>>>0<=j>>>0){u[327834]=w[280844]|w[280845]<<8;v[163916]=w[280840]|w[280841]<<8|(w[280842]<<16|w[280843]<<24);d=655664;break Aa}d=(l+B(j,6)|0)+4|0}n=i<<8|(i&65280)>>>8;t[d+4|0]=n;t[d+5|0]=n>>>8}Ba:{if((w[l+3|0]|w[l+2|0]<<8)>>>0<=j>>>0){u[327834]=w[280844]|w[280845]<<8;v[163916]=w[280840]|w[280841]<<8|(w[280842]<<16|w[280843]<<24);d=655664;break Ba}d=(l+B(j,6)|0)+4|0}t[d+2|0]=o;t[d+3|0]=o>>>8;i=i+1|0;d=(e|0)!=0;e=e-d|0;f=(d<<1)+f|0;d=k;continue}}break a}break b}break c}f=1}}}Ca=D+16|0;break la}if(f){z=1;Qg(g,s+2|0,If(g,1));break M}Pg(g)}Ca=p+48|0;break L}if(!z){break J}C=1;d=g;Ca:{if(!(w[U+5|0]|w[U+4|0]<<8)){u[327832]=x[140224];e=655664;break Ca}e=U+6|0}Qg(d,e,If(g,1));break I}break c}break a}Pg(g)}Ca=m+160|0;d=C;break H}Da:{Ea:{f=v[h+1444>>2];if(!(v[h+1468>>2]<0?f:1)){break Ea}Fa:{if(!f){if(!w[h+1492|0]){break Ea}e=0;k=v[h+1464>>2];j=0;Ga:{if(!k){break Ga}if(v[k+20>>2]){break Da}j=0;if(y[h+1472>>2]<2){break Ga}If(g,0);uw(g);j=v[h+1444>>2]}if(j|!d){break Fa}f=v[h+1432>>2];k=v[h+1436>>2]-f|0;i=v[h+1424>>2];d=v[h+1428>>2]-i|0;j=k+d|0;if(!j){break Fa}j=Va(j);if(!j){break Fa}e=Ta(j,i,d);Ta(d+e|0,f,k);Dj(g);break l}e=0;if(!v[h+1464>>2]|!(f&2)){break Fa}v[h+1444>>2]=f|1}Dj(g);break l}v[h+1444>>2]=1;e=0;Dj(g);break l}break g}v[Y+28>>2]=e;if(!e){break i}Eo((B(I,24)+F|0)+48|0,e);I=I+1|0}M=M+1|0;if((M|0)!=5){continue}break}t[F+4|0]=1;v[F>>2]=I;if(I){break h}Pa(F)}F=280448}Ca=h+1920|0;d=F;break f}O(260499,260193,219,260514);L()}if(v[T+32>>2]){break e}v[T+32>>2]=d}j=0;a=Yg(X+8|0,0,b,c);b=v[d>>2];if(!b){break d}while(1){e=(j<<2)+d|0;c=v[e+28>>2];if(c){b=v[e+8>>2];v[a+36>>2]=0;v[a+120>>2]=b;v[a+28>>2]=0;v[a+32>>2]=0;e=v[a+132>>2];v[a+12>>2]=e;f=v[a+124>>2]==1;t[a+16|0]=f;v[a+80>>2]=0;v[a+20>>2]=b;t[a+17|0]=w[a+142|0];v[a+72>>2]=0;v[a+76>>2]=0;v[a+56>>2]=e;v[a+64>>2]=-1;t[a+61|0]=1;t[a+60|0]=f|w[a+141|0]!=0;v[a+8>>2]=a;v[a+52>>2]=a;i=(B(j,24)+d|0)+48|0;e=0;k=v[a+100>>2];Ha:{if(!v[k+76>>2]){break Ha}b=v[a+120>>2];if(!b){break Ha}g=w[c+3|0];f=g|w[c+2|0]<<8;if(g&16){g=f;f=(c+4|0)+(w[c+5|0]<<1|w[c+4|0]<<9)|0;f=g|w[f+2|0]<<24|w[f+3|0]<<16}v[a+132>>2]=f;v[a- -64>>2]=-1;t[a+61|0]=1;v[a+36>>2]=0;v[a+8>>2]=a;v[a+28>>2]=0;v[a+32>>2]=0;v[a+12>>2]=f;v[a+80>>2]=0;v[a+52>>2]=a;v[a+20>>2]=b;t[a+17|0]=w[a+142|0];v[a+72>>2]=0;v[a+76>>2]=0;v[a+56>>2]=f;b=v[a+124>>2]==1;t[a+16|0]=b;t[a+60|0]=b|w[a+141|0]!=0;Ia:{Ja:{Ka:{b=w[c|0]|w[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-7|0){case 1:break Ia;case 0:break Ka;default:break Ja}}b=w[c+5|0]|w[c+4|0]<<8?c+6|0:280448;b=w[b|0]<<8|w[b+1|0];b=b?b+c|0:280448;if((w[b|0]<<8|w[b+1|0])!=1){break Ja}if((w[b+3|0]|w[b+2|0]<<8)==8){break Ia}}v[k+80>>2]=0;t[k+69|0]=1;t[k+70|0]=0;v[k+92>>2]=v[k+88>>2];v[k+72>>2]=0;c=v[a+100>>2];f=v[c+72>>2];if(f>>>0>=y[c+76>>2]){break Ha}while(1){if(w[c+68|0]){f=v[c+88>>2]+B(f,20)|0;b=v[f>>2];La:{Ma:{if(!(v[i>>2]>>>(b>>>4)&1)|!(v[i+4>>2]>>>b&1)|(!(v[i+8>>2]>>>(b>>>9)&1)|!(v[a+120>>2]&v[f+4>>2]))){break Ma}g=v[a+132>>2];f=x[f+12>>1];if(g&f&14){break Ma}if(f&8){if(!Of(a,b,f,g)){break Ma}}b=v[i+16>>2];if(!b){break Ma}f=0;while(1){g=b>>>0>f>>>0?v[i+20>>2]+B(f,20)|0:280448;l=v[a+100>>2];l=v[v[l+88>>2]+B(v[l+72>>2],20)>>2];if(!(!(v[g+8>>2]>>>(l>>>4)&1)|!(v[g+12>>2]>>>l&1)|!(v[g+16>>2]>>>(l>>>9)&1))){if(Ea[v[g+4>>2]](v[g>>2],a)|0){e=1;break La}b=v[i+16>>2]}f=f+1|0;if(f>>>0<b>>>0){continue}break}}if(w[c+69|0]){Na:{if(v[c+92>>2]==v[c+88>>2]){f=v[c+80>>2];if((f|0)==v[c+72>>2]){break Na}}if(!cb(c,1,1)){break La}b=v[c+88>>2]+B(v[c+72>>2],20)|0;l=v[b+4>>2];f=v[c+92>>2]+B(v[c+80>>2],20)|0;g=f;v[g>>2]=v[b>>2];v[g+4>>2]=l;v[g+16>>2]=v[b+16>>2];g=v[b+12>>2];v[f+8>>2]=v[b+8>>2];v[f+12>>2]=g;f=v[c+80>>2]}v[c+80>>2]=f+1}v[c+72>>2]=v[c+72>>2]+1}f=v[c+72>>2];if(f>>>0<y[c+76>>2]){continue}}break}if(!e){break Ha}td(k);break Ha}v[k+80>>2]=0;t[k+69|0]=0;t[k+70|0]=0;v[k+92>>2]=v[k+88>>2];v[k+72>>2]=v[k+76>>2]-1;Wo(a,i)}b=v[d>>2]}j=j+1|0;if(j>>>0<b>>>0){continue}break}break d}j=0;if(!(!d|!v[d>>2])){while(1){f=(j<<2)+d|0;Oa:{if(!v[f+28>>2]){break Oa}e=B(j,24)+d|0;Pa(v[e+68>>2]);v[e+68>>2]=0;v[e+60>>2]=0;v[e+64>>2]=0;if(!w[d+4|0]){break Oa}Pa(v[f+28>>2])}j=j+1|0;if(j>>>0<y[d>>2]){continue}break}Pa(d)}continue}}Ca=X+160|0;return}O(260227,260193,520,260255);L()}O(260267,260193,521,260255);L()}O(260294,260193,522,260255);L()}function Fn(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,o=0,p=0,q=0,r=0,s=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0;c=v[a>>2];if(!c){I=a-52|0;while(1){b=v[I>>2];if(!b){return 280448}e=eb(1,228);a:{if(!e){if(c){break a}v[a>>2]=280448;return 280448}s=0;d=0;i=Ca-144|0;Ca=i;v[e+84>>2]=0;v[e+88>>2]=0;v[e+100>>2]=0;v[e+104>>2]=0;v[e+92>>2]=0;v[e+96>>2]=0;v[e+108>>2]=-1;v[e+112>>2]=-1;v[e+116>>2]=-1;v[e+120>>2]=-1;v[e+124>>2]=-1;v[e+128>>2]=-1;v[e+132>>2]=-1;v[e+136>>2]=-1;v[e+140>>2]=-1;v[e+144>>2]=-1;v[e+148>>2]=-1;v[e+164>>2]=0;v[e+168>>2]=0;v[e+156>>2]=0;v[e+160>>2]=8720;v[e+172>>2]=0;v[e+176>>2]=0;v[e+180>>2]=0;v[e+184>>2]=0;v[e+188>>2]=0;v[e+192>>2]=0;v[e+196>>2]=0;v[e+200>>2]=0;v[e+204>>2]=0;v[e+208>>2]=0;if(!w[e+40|0]){c=Nb(b);t[e+40|0]=1;v[e+36>>2]=c}h=e;b=Jb(b,1128678944);q=Hb(b);p=e+4|0;c=p;t[c+20|0]=0;v[c+28>>2]=q;g=v[q+12>>2];v[c+4>>2]=g;j=v[q+16>>2];v[c+8>>2]=j+g;b:{c:{d:{if((j|0)>-1){v[c+24>>2]=0;m=c;if(j>>>0>67108862){f=1073741823}else{f=j<<6;f=f>>>0>16384?f:16384;f=f>>>0<1073741823?f:1073741823}v[m+12>>2]=f;v[c>>2]=0;if(!g){Sa(q);v[c+28>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;break d}e:{if(j>>>0>=4){v[c+12>>2]=f-4;f=w[g|0];Sa(q);v[c+28>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;if((f|0)!=1){break e}if(v[b+4>>2]){v[b+4>>2]=0}break d}Sa(q);v[c+28>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0}Sa(b);b=280448;break d}break c}v[h>>2]=b;b=Hb(b);t[e+24|0]=0;v[e+32>>2]=b;c=v[b+12>>2];v[e+8>>2]=c;f=c;c=v[b+16>>2];v[e+12>>2]=f+c;f:{if((c|0)>-1){v[e+4>>2]=0;v[e+28>>2]=0;b=e;if(c>>>0>67108862){f=1073741823}else{c=c<<6;c=c>>>0>16384?c:16384;f=c>>>0<1073741823?c:1073741823}v[b+16>>2]=f;g:{b=v[e>>2];if(y[b+16>>2]>=4){z=v[b+12>>2];if((z|0)!=280448){break g}}oc(e);break b}b=z+w[z+2|0]|0;v[e+52>>2]=b;h:{if((b|0)!=280448){if(Kf(b,p)){break h}}oc(e);break b}f=v[e+52>>2];i:{if((f|0)==280448){break i}b=w[f+1|0]|w[f|0]<<8;if(!b){f=f+2|0;break i}c=w[f+2|0];m=B(c,b+1|0);j:{if(!c){break j}h=c&3;b=(B(b,c)+f|0)+3|0;if(c-1>>>0<3){d=0}else{d=c&252;while(1){c=b;b=b+4|0;d=d-4|0;if(d){continue}break}c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}if(!h){break j}while(1){d=w[b|0]|d<<8;b=b+1|0;h=h-1|0;if(h){continue}break}}f=((d+m|0)+f|0)+2|0}v[e+56>>2]=f;k:{l:{if((f|0)==280448){break l}if(!Kf(f,p)){break l}f=v[e+56>>2];b=w[f|0]<<8|w[f+1|0];if(b){break k}}oc(e);break b}c=w[f+2|0];m=(f+B(c,b+1|0)|0)+3|0;d=0;m:{if(!c){break m}h=c&3;b=f+3|0;if(c-1>>>0<3){d=0}else{d=c&252;while(1){c=b;b=b+4|0;d=d-4|0;if(d){continue}break}c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}if(!h){break m}while(1){d=w[b|0]|d<<8;b=b+1|0;h=h-1|0;if(h){continue}break}}b=(d+m|0)-1|0;n:{o:{p:{d=Sg(f,0);switch(d+1|0){case 1:break n;case 0:break o;default:break p}}if(b>>>0<y[e+8>>2]){break o}c=v[e+12>>2];if(c>>>0<b>>>0|c-b>>>0<d>>>0){break o}c=v[e+16>>2]-d|0;v[e+16>>2]=c;if((c|0)>0){break n}}oc(e);break b}f=e+84|0;v[i+104>>2]=0;v[i+108>>2]=0;v[i+112>>2]=0;v[i+116>>2]=0;v[i+120>>2]=0;v[i+124>>2]=0;v[i+132>>2]=0;v[i+136>>2]=0;v[i+92>>2]=d;v[i+88>>2]=b;t[i+108|0]=0;b=Va(4744);t[i+104|0]=0;v[i+96>>2]=0;v[i+100>>2]=0;q:{if(!b){v[i+116>>2]=-1;break q}v[i+116>>2]=593;v[i+120>>2]=513;v[i+124>>2]=b;Ra(b,0,4104)}b=0;t[i+128|0]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[e+148>>2]=-1;v[e+140>>2]=-1;v[e+144>>2]=-1;v[e+132>>2]=-1;v[e+136>>2]=-1;v[e+124>>2]=-1;v[e+128>>2]=-1;v[e+116>>2]=-1;v[e+120>>2]=-1;v[e+108>>2]=-1;v[e+112>>2]=-1;v[e+156>>2]=0;v[e+160>>2]=8720;v[e+172>>2]=0;v[e+176>>2]=0;v[e+180>>2]=0;v[e+184>>2]=0;v[e+164>>2]=0;v[e+168>>2]=0;r:{if(d){m=w[280448];q=m|256;h=1;while(1){s:{t:{if(b>>>0<d>>>0){j=v[i+88>>2];c=w[j+b|0];if((c|0)==12){b=q;if(d>>>0<=h>>>0){break t}c=w[h+j|0]|256;b=h}if(b>>>0>=d>>>0){b=c;break t}v[i+100>>2]=b+1;break s}t[i+104|0]=1;c=65535;b=m;if((b|0)==12){break s}}t[i+104|0]=1;v[i+100>>2]=d;c=b}o=v[f>>2];g=i+88|0;F=v[g+48>>2];u:{v:{w:{x:{y:{switch(c|0){case 0:case 1:case 2:case 3:case 4:case 256:case 277:case 278:h=g+24|0;b=v[h>>2];z:{if(b){b=b-1|0;if(b>>>0>=y[g+32>>2]){b=v[70113];d=v[70112];v[163916]=d;v[163917]=b;l(0,d|0);l(1,b|0);k=+n();break z}k=A[v[g+36>>2]+(b<<3)>>3];break z}t[g+20|0]=1;b=v[70113];d=v[70112];v[163916]=d;v[163917]=b;l(0,d|0);l(1,b|0);k=+n()}A:{if(D(k)<2147483648){b=~~k;break A}b=-2147483648}if((b|0)<=-1){t[g+20|0]=1;b=0}B:{C:{D:{E:{F:{G:{H:{switch(c-1|0){default:switch(c-256|0){case 22:break B;case 21:break C;case 0:break G;default:break x};case 3:break D;case 2:break E;case 1:break F;case 0:break H}}v[f+28>>2]=b;break w}v[f+32>>2]=b;break w}v[f+36>>2]=b;break w}v[f+40>>2]=b;break w}v[f+44>>2]=b;break w}v[f+48>>2]=b;break w}v[f+56>>2]=b;break w;case 5:case 13:case 14:case 257:case 258:case 259:case 260:case 261:case 262:case 264:case 276:case 279:case 287:case 288:case 289:case 291:h=g+24|0;break w;case 290:d=f;h=g+24|0;b=v[h>>2];I:{if(b){b=b-1|0;if(b>>>0>=y[g+32>>2]){b=v[70113];j=v[70112];v[163916]=j;v[163917]=b;l(0,j|0);l(1,b|0);k=+n();break I}k=A[v[g+36>>2]+(b<<3)>>3];break I}t[g+20|0]=1;b=v[70113];j=v[70112];v[163916]=j;v[163917]=b;l(0,j|0);l(1,b|0);k=+n()}J:{if(D(k)<2147483648){b=~~k;break J}b=-2147483648}if((b|0)<=-1){t[g+20|0]=1;b=0}v[d+76>>2]=b;break w;case 286:j=f;h=g+24|0;b=v[h>>2];K:{if(b){b=b-1|0;v[g+24>>2]=b;if(y[g+32>>2]<=b>>>0){d=v[70113];r=v[70112];v[163916]=r;v[163917]=d;l(0,r|0);l(1,d|0);k=+n();break K}k=A[v[g+36>>2]+(b<<3)>>3];break K}t[g+20|0]=1;b=0;d=v[70113];r=v[70112];v[163916]=r;v[163917]=d;l(0,r|0);l(1,d|0);k=+n()}L:{if(D(k)<2147483648){d=~~k;break L}d=-2147483648}if((d|0)<=-1){t[g+20|0]=1;d=0}v[j+72>>2]=d;d=f- -64|0;M:{if(b){b=b-1|0;v[g+24>>2]=b;if(b>>>0>=y[g+32>>2]){b=v[70113];j=v[70112];v[163916]=j;v[163917]=b;l(0,j|0);l(1,b|0);k=+n();break M}k=A[v[g+36>>2]+(b<<3)>>3];break M}t[g+20|0]=1;b=v[70113];j=v[70112];v[163916]=j;v[163917]=b;l(0,j|0);l(1,b|0);k=+n()}N:{if(D(k)<2147483648){b=~~k;break N}b=-2147483648}if((b|0)<=-1){t[g+20|0]=1;b=0}v[d>>2]=b;d=f;b=v[g+24>>2];O:{if(b){b=b-1|0;if(b>>>0>=y[g+32>>2]){b=v[70113];j=v[70112];v[163916]=j;v[163917]=b;l(0,j|0);l(1,b|0);k=+n();break O}k=A[v[g+36>>2]+(b<<3)>>3];break O}t[g+20|0]=1;b=v[70113];j=v[70112];v[163916]=j;v[163917]=b;l(0,j|0);l(1,b|0);k=+n()}P:{if(D(k)<2147483648){b=~~k;break P}b=-2147483648}if((b|0)<=-1){t[g+20|0]=1;b=0}v[d+60>>2]=b;break w;case 16:b=v[g+24>>2];Q:{if(b){b=b-1|0;v[g+24>>2]=b;if(b>>>0>=y[g+32>>2]){b=v[70113];d=v[70112];v[163916]=d;v[163917]=b;l(0,d|0);l(1,b|0);k=+n();break Q}k=A[v[g+36>>2]+(b<<3)>>3];break Q}t[g+20|0]=1;b=v[70113];d=v[70112];v[163916]=d;v[163917]=b;l(0,d|0);l(1,b|0);k=+n()}R:{if(D(k)<2147483648){b=~~k;break R}b=-2147483648}if((b|0)<=-1){t[g+20|0]=1;v[f+80>>2]=0;v[g+24>>2]=0;break u}v[f+80>>2]=b;v[g+24>>2]=0;if(b){break v}break u;case 15:b=v[g+24>>2];S:{if(b){b=b-1|0;v[g+24>>2]=b;if(b>>>0>=y[g+32>>2]){b=v[70113];d=v[70112];v[163916]=d;v[163917]=b;l(0,d|0);l(1,b|0);k=+n();break S}k=A[v[g+36>>2]+(b<<3)>>3];break S}t[g+20|0]=1;b=v[70113];d=v[70112];v[163916]=d;v[163917]=b;l(0,d|0);l(1,b|0);k=+n()}T:{if(D(k)<2147483648){b=~~k;break T}b=-2147483648}if((b|0)<=-1){t[g+20|0]=1;v[f+84>>2]=0;v[g+24>>2]=0;break u}v[f+84>>2]=b;v[g+24>>2]=0;if(b){break v}break u;case 293:d=f;h=g+24|0;b=v[h>>2];U:{if(b){b=b-1|0;if(b>>>0>=y[g+32>>2]){b=v[70113];j=v[70112];v[163916]=j;v[163917]=b;l(0,j|0);l(1,b|0);k=+n();break U}k=A[v[g+36>>2]+(b<<3)>>3];break U}t[g+20|0]=1;b=v[70113];j=v[70112];v[163916]=j;v[163917]=b;l(0,j|0);l(1,b|0);k=+n()}V:{if(D(k)<2147483648){b=~~k;break V}b=-2147483648}if((b|0)<=-1){t[g+20|0]=1;b=0}v[d+88>>2]=b;break w;case 18:j=f;h=g+24|0;b=v[h>>2];W:{if(b){b=b-1|0;v[g+24>>2]=b;if(y[g+32>>2]<=b>>>0){d=v[70113];r=v[70112];v[163916]=r;v[163917]=d;l(0,r|0);l(1,d|0);k=+n();break W}k=A[v[g+36>>2]+(b<<3)>>3];break W}t[g+20|0]=1;b=0;d=v[70113];r=v[70112];v[163916]=r;v[163917]=d;l(0,r|0);l(1,d|0);k=+n()}X:{if(D(k)<2147483648){d=~~k;break X}d=-2147483648}if((d|0)<=-1){t[g+20|0]=1;d=0}v[j+92>>2]=d;d=f;Y:{if(b){b=b-1|0;if(b>>>0>=y[g+32>>2]){b=v[70113];j=v[70112];v[163916]=j;v[163917]=b;l(0,j|0);l(1,b|0);k=+n();break Y}k=A[v[g+36>>2]+(b<<3)>>3];break Y}t[g+20|0]=1;b=v[70113];j=v[70112];v[163916]=j;v[163917]=b;l(0,j|0);l(1,b|0);k=+n()}Z:{if(D(k)<2147483648){b=~~k;break Z}b=-2147483648}if((b|0)<=-1){t[g+20|0]=1;b=0}v[d+96>>2]=b;break w;default:break y}}v[g+48>>2]=v[g+12>>2];mx(c,g,f);if(!v[g+24>>2]){break v}break u}v[f+24>>2]=b}v[h>>2]=0}if(w[g+40|0]|w[g+16|0]|(w[g+20|0]|v[g+28>>2]<0)){break u}_:{$:{aa:{b=v[f+4>>2];if((b|0)>=0){h=v[f+8>>2];d=h+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break $}h=b;while(1){h=((h>>>1|0)+h|0)+8|0;if(d>>>0>=h>>>0){continue}break}if(!(b>>>0>h>>>0|h>>>0>214748363)){b=gb(v[f+12>>2],B(h,20));if(b){break aa}}v[f+4>>2]=-1}v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;C=655664;break _}v[f+4>>2]=h;v[f+12>>2]=b;h=v[f+8>>2]}if(d>>>0>h>>>0){Ra(v[f+12>>2]+B(h,20)|0,0,B(d-h|0,20))}v[f+8>>2]=d;h=v[f+12>>2];v[163920]=v[70116];b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;j=B(d-1|0,20);d=j+h|0;C=655664;if((d|0)==655664){break _}b=h+j|0;v[b+16>>2]=F+(o^-1);v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;C=d}b=C;v[b>>2]=c;h=v[g+12>>2];d=v[g+4>>2];j=v[g>>2];c=v[f>>2];v[b+12>>2]=0;v[b+4>>2]=c+j;b=h-c|0;c=d-c|0;c=c>>>0>d>>>0?0:c;v[C+8>>2]=b>>>0<c>>>0?b:c;v[f>>2]=v[g+12>>2]}if(w[i+128|0]|w[i+104|0]|(w[i+108|0]|v[i+116>>2]<0)){break r}d=v[i+92>>2];b=v[i+100>>2];h=b+1|0;if(d>>>0>=h>>>0){continue}break}}Pa(v[i+124>>2]);b=v[e+168>>2];if(b>>>0<=2){v[e+48>>2]=280448;break f}b=b+z|0;v[e+48>>2]=b;if((b|0)!=280448){c=0;j=v[p+4>>2];ba:{if(j>>>0>b>>>0){break ba}q=v[p+8>>2];if(q>>>0<=b>>>0){break ba}d=v[p+12>>2];f=d-1|0;v[p+12>>2]=f;if((f|0)<1){break ba}ca:{da:{switch(w[b|0]){case 0:b=(b+(v[p+32>>2]<<1)|0)-1|0;if(b>>>0<j>>>0|b>>>0>q>>>0|q-b>>>0<2){break ba}b=d-3|0;v[p+12>>2]=b;c=(b|0)>0;break ba;case 1:c=1;d=v[p+32>>2]-1|0;if(!d){break ba}m=b+1|0;h=0;while(1){b=m+B(h,3)|0;if(b>>>0<j>>>0|b>>>0>q>>>0|q-b>>>0<3){break ca}f=f-3|0;v[p+12>>2]=f;if((f|0)<1){break ca}b=w[b+2|0];if(b>>>0>=d>>>0){break ca}h=h+1|0;d=(b^-1)+d|0;if(d){continue}break};break ba;case 2:break da;default:break ba}}c=1;m=v[p+32>>2]-1|0;if(!m){break ba}d=0;while(1){c=b+(d<<2)|0;h=c+1|0;if(h>>>0<j>>>0|h>>>0>q>>>0|q-h>>>0<4){break ca}f=f-4|0;v[p+12>>2]=f;if((f|0)<1){break ca}h=w[c+4|0]|w[c+3|0]<<8;if(h>>>0>=m>>>0){break ca}c=1;d=d+1|0;m=(h^-1)+m|0;if(m){continue}break}break ba}c=0}if(c){break f}}oc(e);break b}oc(e);Pa(v[i+124>>2]);break b}break c}v[e+80>>2]=1;ea:{fa:{if(v[e+144>>2]!=-1){b=v[e+104>>2];b=b?b+z|0:280448;v[e+72>>2]=b;c=v[e+172>>2];v[e+76>>2]=c?c+z|0:280448;ga:{ha:{if((b|0)==280448){break ha}if(!Kf(b,p)){break ha}c=v[e+76>>2];if((c|0)==280448){break ha}b=v[e+72>>2];f=w[b|0]<<8|w[b+1|0];d=0;h=v[p+4>>2];ia:{if(h>>>0>c>>>0){break ia}m=v[p+8>>2];if(m>>>0<=c>>>0){break ia}b=v[p+12>>2]-1|0;v[p+12>>2]=b;if((b|0)<1){break ia}ja:{switch(w[c|0]){case 0:d=1;f=v[p+32>>2];if(!f){break ia}q=c+1|0;c=0;while(1){d=0;j=c+q|0;if(j>>>0<h>>>0|j>>>0>=m>>>0){break ia}b=b-1|0;v[p+12>>2]=b;if((b|0)<=0){break ia}c=c+1|0;if((f|0)!=(c|0)){continue}break};d=1;break ia;case 3:break ja;default:break ia}}d=nx(c+1|0,p,f)}if(d){break ga}}oc(e);break b}b=v[e+72>>2];c=w[b+1|0];b=w[b|0];v[e+44>>2]=280448;v[e+80>>2]=c|b<<8;b=e+44|0;if(v[e+144>>2]==-1){break fa}if(v[e+48>>2]!=280448){break ea}oc(e);break b}v[e+76>>2]=280448;v[e+72>>2]=280448;v[e+44>>2]=280448;b=e+44|0}c=v[e+164>>2];if(c>>>0<2){break ea}c=c+z|0;v[b>>2]=c;if((c|0)!=280448){ka:{la:{h=v[p+4>>2];if(h>>>0>c>>>0){break la}f=v[p+8>>2];if(f>>>0<=c>>>0){break la}b=v[p+12>>2];d=b-1|0;v[p+12>>2]=d;if((d|0)<1){break la}d=0;ma:{na:{oa:{pa:{qa:{j=w[c|0];switch(j&127){case 1:break pa;case 0:break qa;default:break ma}}m=c+1|0;if(m>>>0<h>>>0|f>>>0<=m>>>0){break la}b=b-2|0;v[p+12>>2]=b;if((b|0)<1){break la}m=w[c+1|0];if(!m){break na}q=c+2|0;if(q>>>0<h>>>0|f>>>0<q>>>0){break la}if(m>>>0<=f-q>>>0){break oa}break la}d=c+1|0;if(d>>>0<h>>>0|d>>>0>=f>>>0){break la}b=b-2|0;v[p+12>>2]=b;if((b|0)<1){break la}m=w[c+1|0];if(!m){break na}d=c+2|0;if(d>>>0<h>>>0|d>>>0>f>>>0){break la}q=f-d|0;d=m<<1;if(q>>>0<d>>>0){break la}b=b-d|0;v[p+12>>2]=b;if((b|0)>=1){break na}break la}b=b-m|0;v[p+12>>2]=b;if((b|0)<=0){break ma}}d=1;m=j<<24>>24;if((m|0)>-1){break ma}d=280448;ra:{sa:{switch(m&127){case 0:d=c+1|0;c=w[c+1|0];d=(c?d+c|0:280448)+1|0;break ra;case 1:break sa;default:break ra}}d=w[c+1|0];d=(d?c+(d<<1)|0:280448)+2|0}if(d>>>0<h>>>0|d>>>0>=f>>>0){break la}c=b-1|0;v[p+12>>2]=c;if((b|0)<2){break la}m=w[d|0];if(m){b=d+1|0;if(b>>>0<h>>>0|b>>>0>f>>>0){break la}f=f-b|0;b=B(m,3);if(f>>>0<b>>>0){break la}b=c-b|0;v[p+12>>2]=b;d=0;if((b|0)<1){break ma}}d=1}break ka}d=0}if(d){break ea}}oc(e);break b}b=v[e+56>>2];b=px(b)+b|0;v[e+60>>2]=b;ta:{if((b|0)!=280448){if(Kf(b,p)){break ta}}oc(e);break b}b=v[e+60>>2];b=px(b)+b|0;v[e+64>>2]=b;ua:{if((b|0)==280448){break ua}if(Kf(b,p)){break ua}oc(e);break b}b=v[e+100>>2];b=b?b+z|0:280448;v[e+68>>2]=b;va:{if((b|0)!=280448){if(Kf(b,p)){break va}}oc(e);break b}b=v[e+68>>2];b=w[b|0]<<8|w[b+1|0];v[e+212>>2]=b;if((b|0)!=v[e+36>>2]){oc(e);break b}wa:{c=v[e+80>>2];b=v[e+200>>2];xa:{if((b|0)>=0){f=(c|0)>0?c:0;if(f>>>0>b>>>0){c=b;while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}ya:{if(!(b>>>0>c>>>0|c>>>0>178956969)){b=gb(v[e+208>>2],B(c,24));if(b){break ya}}v[e+200>>2]=-1;b=0;break xa}v[e+200>>2]=c;v[e+208>>2]=b}b=v[e+204>>2];if(b>>>0<f>>>0){Ra(v[e+208>>2]+B(b,24)|0,0,B(f-b|0,24))}v[e+204>>2]=f;b=1}else{b=0}}if(b){d=0;if(!v[e+80>>2]){b=0;break wa}while(1){za:{if(y[e+204>>2]<=d>>>0){b=v[70117];v[163920]=v[70116];v[163921]=b;b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;b=655664;break za}b=v[e+208>>2]+B(d,24)|0}v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=280448;v[b+16>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;b=v[e+80>>2];d=d+1|0;if(b>>>0>d>>>0){continue}break}break wa}oc(e);break b}if(v[e+144>>2]!=-1){if(!b){break b}h=0;while(1){d=0;f=v[e+72>>2];b=w[f+1|0]|w[f|0]<<8;Aa:{if(b>>>0>h>>>0){c=b+1|0;b=w[f+2|0];q=(f+B(c,b)|0)+3|0;Ba:{if(!b){break Ba}m=b&3;c=(f+B(b,h)|0)+3|0;if(b-1>>>0<3){d=0}else{d=b&252;while(1){b=c;c=b+4|0;d=d-4|0;if(d){continue}break}b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(!m){break Ba}while(1){d=w[c|0]|d<<8;c=c+1|0;m=m-1|0;if(m){continue}break}}b=Sg(f,h);v[i+80>>2]=0;v[i+76>>2]=b;v[i+72>>2]=(d+q|0)-1;break Aa}v[i+80>>2]=v[70114];b=v[70113];v[i+72>>2]=v[70112];v[i+76>>2]=b}if(!Cn(i+72|0,p)){oc(e);break b}t[i+104|0]=0;v[i+96>>2]=0;v[i+100>>2]=0;v[i+88>>2]=0;v[i+92>>2]=0;v[i+124>>2]=0;v[i+116>>2]=0;v[i+120>>2]=0;Bn(i+88|0,i+72|0);Ca:{Da:{Ea:{b=v[e+188>>2];if((b|0)>=0){c=v[e+192>>2];f=c+1|0;f=(f|0)>0?f:0;if(f>>>0<=b>>>0){break Da}c=b;while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(!(b>>>0>c>>>0|c>>>0>134217726)){b=gb(v[e+196>>2],c<<5);if(b){break Ea}}v[e+188>>2]=-1}b=v[70119];v[163922]=v[70118];v[163923]=b;b=v[70117];v[163920]=v[70116];v[163921]=b;b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;f=655664;break Ca}v[e+188>>2]=c;v[e+196>>2]=b;c=v[e+192>>2]}if(c>>>0<f>>>0){Ra(v[e+196>>2]+(c<<5)|0,0,f-c<<5)}v[e+192>>2]=f;f=(v[e+196>>2]+(f<<5)|0)-32|0}b=v[70119];v[163922]=v[70118];v[163923]=b;b=v[70117];F=b;r=v[70116];v[163920]=r;v[163921]=b;b=v[70115];J=b;G=v[70114];v[163918]=G;v[163919]=b;b=v[70113];C=b;H=v[70112];v[163916]=H;v[163917]=b;Fa:{Ga:{if((f|0)==655664){break Ga}b=f;v[b>>2]=0;v[b+4>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+24>>2]=0;v[b+28>>2]=-1;v[b>>2]=0;v[b+4>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+24>>2]=0;v[b+28>>2]=-1;b=1;o=i+88|0;Ha:{Ia:{if(w[o+16|0]){break Ia}q=w[280448];j=q|256;while(1){b=v[o+12>>2];d=b+1|0;m=v[o+4>>2];c=1;if(d>>>0>m>>>0){break Ha}Ja:{Ka:{if(b>>>0<m>>>0){g=v[o>>2];c=w[g+b|0];if((c|0)==12){b=j;if(d>>>0>=m>>>0){break Ka}c=w[d+g|0]|256;b=d}if(b>>>0>=m>>>0){b=c;break Ka}v[o+12>>2]=b+1;break Ja}t[o+16|0]=1;c=65535;b=q;if((b|0)==12){break Ja}}t[o+16|0]=1;v[o+12>>2]=m;c=b}La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{switch(c-18|0){default:Sa:{switch(c-261|0){case 0:case 2:break Oa;case 1:break Qa;default:break Sa}}if((c|0)!=294){break Qa}m=f;d=o+24|0;b=v[d>>2];Ta:{if(b){b=b-1|0;if(b>>>0>=y[o+32>>2]){b=v[70113];g=v[70112];v[163916]=g;v[163917]=b;l(0,g|0);l(1,b|0);k=+n();break Ta}k=A[v[o+36>>2]+(b<<3)>>3];break Ta}t[o+20|0]=1;b=v[70113];g=v[70112];v[163916]=g;v[163917]=b;l(0,g|0);l(1,b|0);k=+n()}Ua:{if(D(k)<2147483648){b=~~k;break Ua}b=-2147483648}if((b|0)<=-1){t[o+20|0]=1;b=0}v[m+28>>2]=b;break Na;case 0:g=f;d=o+24|0;b=v[d>>2];Va:{if(b){b=b-1|0;v[o+24>>2]=b;if(y[o+32>>2]<=b>>>0){m=v[70113];E=v[70112];v[163916]=E;v[163917]=m;l(0,E|0);l(1,m|0);k=+n();break Va}k=A[v[o+36>>2]+(b<<3)>>3];break Va}t[o+20|0]=1;b=0;m=v[70113];E=v[70112];v[163916]=E;v[163917]=m;l(0,E|0);l(1,m|0);k=+n()}Wa:{if(D(k)<2147483648){m=~~k;break Wa}m=-2147483648}if((m|0)<=-1){t[o+20|0]=1;m=0}v[g+16>>2]=m;m=f;Xa:{if(b){b=b-1|0;if(b>>>0>=y[o+32>>2]){b=v[70113];g=v[70112];v[163916]=g;v[163917]=b;l(0,g|0);l(1,b|0);k=+n();break Xa}k=A[v[o+36>>2]+(b<<3)>>3];break Xa}t[o+20|0]=1;b=v[70113];g=v[70112];v[163916]=g;v[163917]=b;l(0,g|0);l(1,b|0);k=+n()}Ya:{if(D(k)<2147483648){b=~~k;break Ya}b=-2147483648}if((b|0)<=-1){t[o+20|0]=1;b=0}v[m+20>>2]=b;break Na;case 11:Th(o+20|0,o);break Pa;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break Qa;case 12:break Ra}}k=Sh(o);b=v[o+24>>2];if(b>>>0<y[o+32>>2]){v[o+24>>2]=b+1;A[v[o+36>>2]+(b<<3)>>3]=k;break Pa}t[o+20|0]=1;b=v[70113];v[163916]=v[70112];v[163917]=b;A[81958]=k;break Pa}Rg(c,o)}if(!v[o+24>>2]){break Ma}break La}d=o+24|0}v[d>>2]=0}if(w[o+40|0]|w[o+16|0]|(w[o+20|0]|v[o+28>>2]<0)){break La}Jj(f,c,o)}b=0;if(w[o+20|0]|(w[o+40|0]|w[o+16|0])){break Ia}if(v[o+28>>2]>-1){continue}break}}c=b}if(!c){break Ga}Za:{if(y[e+204>>2]<=h>>>0){v[163920]=r;v[163921]=F;v[163918]=G;v[163919]=J;v[163916]=H;v[163917]=C;b=655664;break Za}b=v[e+208>>2]+B(h,24)|0}c=v[f+20>>2];f=v[f+16>>2];v[i+64>>2]=0;v[i+60>>2]=c;v[i+56>>2]=f+z;_a:{if(!Cn(i+56|0,p)){oc(e);d=1;break _a}t[i+24|0]=0;v[i+16>>2]=0;v[i+20>>2]=0;v[i+8>>2]=0;v[i+12>>2]=0;v[i+44>>2]=0;v[i+36>>2]=0;v[i+40>>2]=0;Bn(i+8|0,i+56|0);v[b+16>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=280448;$a:{if(ox(i+8|0,b)){f=b;b=v[b+16>>2];b=b?b+v[i+56>>2]|0:280448;v[f+20>>2]=b;d=0;if((b|0)==280448){break $a}if(Kf(b,p)){break $a}}oc(e);d=1}Pa(v[i+44>>2])}b=!d;break Fa}oc(e);b=0}Pa(v[i+124>>2]);if(!b){break b}h=h+1|0;if(h>>>0<y[e+80>>2]){continue}break}break b}ab:{if(!v[e+204>>2]){b=v[70117];v[163920]=v[70116];v[163921]=b;b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;b=655664;break ab}b=v[e+208>>2]}c=v[e+176>>2];f=v[e+180>>2];v[i+16>>2]=0;v[i+12>>2]=f;v[i+8>>2]=c+z;bb:{if(!Cn(i+8|0,p)){oc(e);break bb}t[i+104|0]=0;v[i+96>>2]=0;v[i+100>>2]=0;v[i+124>>2]=0;v[i+116>>2]=0;v[i+120>>2]=0;v[i+88>>2]=0;v[i+92>>2]=0;Bn(i+88|0,i+8|0);v[b+16>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=280448;cb:{if(ox(i+88|0,b)){f=b;b=v[b+16>>2];b=b?b+v[i+8>>2]|0:280448;v[f+20>>2]=b;if((b|0)==280448){break cb}if(Kf(b,p)){break cb}}oc(e)}Pa(v[i+124>>2])}break b}O(248800,248825,194,248842);L()}Ca=i+144|0;db:{if(!v[e>>2]|v[e+144>>2]!=-1){break db}b=v[e+212>>2];if(b){m=v[70113];q=v[70112];while(1){eb:{fb:{c=v[e+48>>2];gb:{hb:{if((c|0)!=280448){f=rx(c,s,b);break hb}f=0;ib:{switch(v[e+168>>2]){case 2:f=s>>>0<=86?x[(s<<1)+247344>>1]:0;break hb;case 0:f=s>>>0<229?s:0;break gb;case 1:break ib;default:break gb}}f=s>>>0<=165?x[(s<<1)+247008>>1]:0}if(f>>>0>390){break fb}}c=f<<2;b=v[c+248992>>2];h=v[c+248996>>2]+(b^-1)|0;c=b+250560|0;break eb}h=v[e+60>>2];b=w[h|0]<<8|w[h+1|0];g=f-391|0;if(b>>>0>g>>>0){i=h+2|0;d=w[h+2|0];o=B(d,b+1|0);jb:{if(!d){c=0;break jb}j=d&3;b=(h+B(d,g)|0)+3|0;c=0;if(d-1>>>0>=3){c=d&252;while(1){d=b;b=b+4|0;c=c-4|0;if(c){continue}break}c=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}if(!j){break jb}while(1){c=w[b|0]|c<<8;b=b+1|0;j=j-1|0;if(j){continue}break}}c=(i+o|0)+c|0;h=Sg(h,g);break eb}h=m;c=q;if(c){break eb}Pa(v[e+224>>2]);v[e+224>>2]=0;v[e+216>>2]=0;v[e+220>>2]=0;oc(e);break db}d=v[e+216>>2];kb:{if((d|0)<=-1){b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b;break kb}lb:{b=d;j=v[e+220>>2];g=j+1|0;g=(g|0)>0?g:0;if(b>>>0<g>>>0){while(1){b=((b>>>1|0)+b|0)+8|0;if(g>>>0>=b>>>0){continue}break}if(b>>>0<d>>>0|b>>>0>268435454){break lb}d=gb(v[e+224>>2],b<<4);if(!d){break lb}v[e+216>>2]=b;v[e+224>>2]=d;j=v[e+220>>2]}if(g>>>0>j>>>0){Ra(v[e+224>>2]+(j<<4)|0,0,g-j<<4)}v[e+220>>2]=g;b=v[e+224>>2];d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;b=b+(g-1<<4)|0;if((b|0)==655664){break kb}v[b>>2]=c;u[b+12>>1]=f;v[b+8>>2]=0;v[b+4>>2]=h;break kb}v[e+216>>2]=-1;b=v[70115];v[163918]=v[70114];v[163919]=b;b=v[70113];v[163916]=v[70112];v[163917]=b}b=v[e+212>>2];s=s+1|0;if(b>>>0>s>>>0){continue}break}}b=v[e+220>>2];if(!b){break db}qx(v[e+224>>2],b,16)}if(!v[a>>2]){v[a>>2]=e;return e}Pa(v[e+224>>2]);v[e+224>>2]=0;v[e+216>>2]=0;v[e+220>>2]=0;oc(e);Pa(e);c=v[a>>2]}if(!c){continue}break}}return c}function Fw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;c=0;if(!(w[b+16|0]&16)){v[b+80>>2]=0;t[b+69|0]=1;t[b+70|0]=0;v[b+92>>2]=v[b+88>>2];h=v[b+76>>2];a:{b:{c:{a=v[b+52>>2];if((a|0)<=1332902240){if((a|0)>1198879348){break c}if((a|0)>1147500128){break b}if((a|0)!=1113943655){if((a|0)!=1114792296){break a}v[b+72>>2]=0;if(h>>>0<2){break a}a=1;while(1){if(!w[b+68|0]){break a}g=69688;d:{e:{f:{g:{h:{d=v[b+88>>2];switch(v[d+B(c,20)>>2]-69637|0){case 0:break f;case 10:break g;case 6:break h;default:break e}}g=69694;break f}g=69698}e=v[d+B(a,20)>>2];i:{if(w[b+69|0]){i=b;j:{if((d|0)==v[b+92>>2]){a=c;if(v[b+80>>2]==(c|0)){break j}}if(!cb(b,1,1)){break i}a=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[a+4>>2];f=v[b+92>>2]+B(v[b+80>>2],20)|0;d=f;v[d>>2]=v[a>>2];v[d+4>>2]=c;v[d+16>>2]=v[a+16>>2];c=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=c;c=v[b+72>>2];a=v[b+80>>2]}v[i+80>>2]=a+1}v[b+72>>2]=c+1}if((e|0)!=(g|0)){break d}yc(b);break d}if(w[b+69|0]){a=b;k:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break k}}if(!cb(b,1,1)){break d}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1}c=v[b+72>>2];a=c+1|0;if(h>>>0>a>>>0){continue}break}break a}v[b+72>>2]=0;if(h>>>0<2){break a}a=1;while(1){if(!w[b+68|0]){break a}g=2494;l:{m:{n:{o:{p:{d=v[b+88>>2];switch(v[d+B(c,20)>>2]-2437|0){case 0:break n;case 7:break o;case 6:break p;default:break m}}g=2499;break n}g=2530}e=v[d+B(a,20)>>2];q:{if(w[b+69|0]){i=b;r:{if((d|0)==v[b+92>>2]){a=c;if(v[b+80>>2]==(c|0)){break r}}if(!cb(b,1,1)){break q}a=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[a+4>>2];f=v[b+92>>2]+B(v[b+80>>2],20)|0;d=f;v[d>>2]=v[a>>2];v[d+4>>2]=c;v[d+16>>2]=v[a+16>>2];c=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=c;c=v[b+72>>2];a=v[b+80>>2]}v[i+80>>2]=a+1}v[b+72>>2]=c+1}if((e|0)!=(g|0)){break l}yc(b);break l}if(w[b+69|0]){a=b;s:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break s}}if(!cb(b,1,1)){break l}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1}c=v[b+72>>2];a=c+1|0;if(h>>>0>a>>>0){continue}break}break a}if((a|0)<=1415671147){t:{u:{switch(a-1399418468|0){default:if((a|0)==1332902241){break t}if((a|0)!=1415670642){break a}v[b+72>>2]=0;if(h>>>0<2){break a}g=1;while(1){if(!w[b+68|0]){break a}v:{w:{x:{y:{z:{A:{d=v[b+88>>2];switch(v[d+B(c,20)>>2]-71296|0){case 6:break z;case 0:break A;default:break x}}a=v[d+B(g,20)>>2]-71341|0;if(a>>>0>8|!(1<<a&385)){break w}if(w[b+69|0]){a=b;B:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break B}}if(!cb(b,1,1)){break y}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1;yc(b);break v}e=v[d+B(g,20)>>2];C:{if(w[b+69|0]){i=b;D:{if((d|0)==v[b+92>>2]){a=c;if(v[b+80>>2]==(c|0)){break D}}if(!cb(b,1,1)){break C}a=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[a+4>>2];f=v[b+92>>2]+B(v[b+80>>2],20)|0;d=f;v[d>>2]=v[a>>2];v[d+4>>2]=c;v[d+16>>2]=v[a+16>>2];c=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=c;c=v[b+72>>2];a=v[b+80>>2]}v[i+80>>2]=a+1}v[b+72>>2]=c+1}if((e|0)!=71346){break v}}yc(b);break v}if(w[b+69|0]){a=b;E:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break E}}if(!cb(b,1,1)){break v}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1;break v}if(w[b+69|0]){a=b;F:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break F}}if(!cb(b,1,1)){break v}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1}c=v[b+72>>2];g=c+1|0;if(h>>>0>g>>>0){continue}break};break a;case 0:v[b+72>>2]=0;if(h>>>0<2){break a}g=1;while(1){if(!w[b+68|0]){break a}G:{H:{d=v[b+88>>2];if(v[d+B(c,20)>>2]==70320){a=v[d+B(g,20)>>2];if((a|0)!=70368?a-70373>>>0>=4:0){break H}I:{if(w[b+69|0]){a=b;J:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break J}}if(!cb(b,1,1)){break I}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1}yc(b);break G}if(w[b+69|0]){a=b;K:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break K}}if(!cb(b,1,1)){break G}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1;break G}if(w[b+69|0]){a=b;L:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break L}}if(!cb(b,1,1)){break G}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1}c=v[b+72>>2];g=c+1|0;if(h>>>0>g>>>0){continue}break};break a;case 1:case 2:case 3:break a;case 4:break u}}v[b+72>>2]=0;if(h>>>0<2){break a}g=1;while(1){if(!w[b+68|0]){break a}M:{N:{O:{P:{Q:{R:{S:{T:{U:{e=v[b+88>>2];switch(v[e+B(c,20)>>2]-3461|0){case 0:break R;case 12:break S;case 8:break T;case 6:case 10:case 15:break U;default:break O}}d=v[e+B(g,20)>>2]==3551;break Q}d=v[e+B(g,20)>>2]==3544;break Q}a=v[e+B(g,20)>>2]-3530|0;if(a>>>0>20|!(1<<a&1933313)){break N}if(w[b+69|0]){a=b;V:{if((e|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break V}}if(!cb(b,1,1)){break P}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1;yc(b);break M}d=v[e+B(g,20)>>2]-3535>>>0<3}W:{if(w[b+69|0]){i=b;X:{if((e|0)==v[b+92>>2]){a=c;if(v[b+80>>2]==(c|0)){break X}}if(!cb(b,1,1)){break W}a=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[a+4>>2];f=v[b+92>>2]+B(v[b+80>>2],20)|0;e=f;v[e>>2]=v[a>>2];v[e+4>>2]=c;v[e+16>>2]=v[a+16>>2];c=v[a+12>>2];v[e+8>>2]=v[a+8>>2];v[e+12>>2]=c;c=v[b+72>>2];a=v[b+80>>2]}v[i+80>>2]=a+1}v[b+72>>2]=c+1}if(!d){break M}}yc(b);break M}if(w[b+69|0]){a=b;Y:{if((e|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break Y}}if(!cb(b,1,1)){break M}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1;break M}Me(b)}c=v[b+72>>2];g=c+1|0;if(h>>>0>g>>>0){continue}break}break a}v[b+72>>2]=0;if(h>>>0<2){break a}a=1;while(1){if(!w[b+68|0]){break a}g=2878;Z:{_:{$:{aa:{d=v[b+88>>2];switch(v[d+B(c,20)>>2]-2821|0){case 0:break $;case 10:case 14:break aa;default:break _}}g=2903}e=v[d+B(a,20)>>2];ba:{if(w[b+69|0]){i=b;ca:{if((d|0)==v[b+92>>2]){a=c;if(v[b+80>>2]==(c|0)){break ca}}if(!cb(b,1,1)){break ba}a=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[a+4>>2];f=v[b+92>>2]+B(v[b+80>>2],20)|0;d=f;v[d>>2]=v[a>>2];v[d+4>>2]=c;v[d+16>>2]=v[a+16>>2];c=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=c;c=v[b+72>>2];a=v[b+80>>2]}v[i+80>>2]=a+1}v[b+72>>2]=c+1}if((e|0)!=(g|0)){break Z}yc(b);break Z}if(w[b+69|0]){a=b;da:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break da}}if(!cb(b,1,1)){break Z}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1}c=v[b+72>>2];a=c+1|0;if(h>>>0>a>>>0){continue}break}break a}if((a|0)!=1415671148){if((a|0)!=1415933045){if((a|0)!=1416196712){break a}v[b+72>>2]=0;if(h>>>0<2){break a}g=1;while(1){if(!w[b+68|0]){break a}ea:{fa:{ga:{ha:{ia:{ja:{ka:{e=v[b+88>>2];a=v[e+B(c,20)>>2];switch(a-70785|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:break ha;case 10:case 12:break ja;case 0:break ka;default:break ia}}d=v[e+B(g,20)>>2]==70832;break fa}d=v[e+B(g,20)>>2]==70842;break fa}if((a|0)==70826){break ga}}if(w[b+69|0]){a=b;la:{if((e|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break la}}if(!cb(b,1,1)){break ea}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1;break ea}d=v[e+B(g,20)>>2]-70837>>>0<2}ma:{if(w[b+69|0]){i=b;na:{if((e|0)==v[b+92>>2]){a=c;if(v[b+80>>2]==(c|0)){break na}}if(!cb(b,1,1)){break ma}a=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[a+4>>2];f=v[b+92>>2]+B(v[b+80>>2],20)|0;e=f;v[e>>2]=v[a>>2];v[e+4>>2]=c;v[e+16>>2]=v[a+16>>2];c=v[a+12>>2];v[e+8>>2]=v[a+8>>2];v[e+12>>2]=c;c=v[b+72>>2];a=v[b+80>>2]}v[i+80>>2]=a+1}v[b+72>>2]=c+1}if(!d){break ea}yc(b)}c=v[b+72>>2];g=c+1|0;if(h>>>0>g>>>0){continue}break}break a}v[b+72>>2]=0;if(h>>>0<2){break a}g=1;while(1){if(!w[b+68|0]){break a}oa:{pa:{e=v[b+88>>2];d=v[e+B(c,20)>>2];a=d-3135|0;qa:{if(!(a>>>0>11|!(1<<a&2177))){d=v[B(g,20)+e>>2]==3157;break qa}if((d|0)!=3090){break pa}a=v[B(g,20)+e>>2];d=(a|0)==3148|(a|0)==3157}ra:{if(w[b+69|0]){i=b;sa:{if(v[b+92>>2]==(e|0)){a=c;if(v[b+80>>2]==(c|0)){break sa}}if(!cb(b,1,1)){break ra}a=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[a+4>>2];f=v[b+92>>2]+B(v[b+80>>2],20)|0;e=f;v[e>>2]=v[a>>2];v[e+4>>2]=c;v[e+16>>2]=v[a+16>>2];c=v[a+12>>2];v[e+8>>2]=v[a+8>>2];v[e+12>>2]=c;c=v[b+72>>2];a=v[b+80>>2]}v[i+80>>2]=a+1}v[b+72>>2]=c+1}if(!d){break oa}yc(b);break oa}if(w[b+69|0]){a=b;ta:{if(v[b+92>>2]==(e|0)){f=c;if(v[b+80>>2]==(c|0)){break ta}}if(!cb(b,1,1)){break oa}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1}c=v[b+72>>2];g=c+1|0;if(h>>>0>g>>>0){continue}break}break a}v[b+72>>2]=0;if(h>>>0<2){break a}g=1;while(1){if(!w[b+68|0]){break a}d=v[b+88>>2];ua:{if(v[d+B(c,20)>>2]==2949){e=v[d+B(g,20)>>2];va:{if(w[b+69|0]){i=b;wa:{if((d|0)==v[b+92>>2]){a=c;if(v[b+80>>2]==(c|0)){break wa}}if(!cb(b,1,1)){break va}a=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[a+4>>2];f=v[b+92>>2]+B(v[b+80>>2],20)|0;d=f;v[d>>2]=v[a>>2];v[d+4>>2]=c;v[d+16>>2]=v[a+16>>2];c=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=c;c=v[b+72>>2];a=v[b+80>>2]}v[i+80>>2]=a+1}v[b+72>>2]=c+1}if((e|0)!=3010){break ua}yc(b);break ua}if(w[b+69|0]){a=b;xa:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break xa}}if(!cb(b,1,1)){break ua}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1}c=v[b+72>>2];g=c+1|0;if(h>>>0>g>>>0){continue}break}break a}if((a|0)<=1298954604){if((a|0)!=1198879349){if((a|0)!=1265525857){break a}v[b+72>>2]=0;if(h>>>0<2){break a}a=1;while(1){if(!w[b+68|0]){break a}g=3262;ya:{za:{Aa:{Ba:{d=v[b+88>>2];switch(v[d+B(c,20)>>2]-3209|0){case 0:case 2:break Aa;case 9:break Ba;default:break za}}g=3276}e=v[d+B(a,20)>>2];Ca:{if(w[b+69|0]){i=b;Da:{if((d|0)==v[b+92>>2]){a=c;if(v[b+80>>2]==(c|0)){break Da}}if(!cb(b,1,1)){break Ca}a=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[a+4>>2];f=v[b+92>>2]+B(v[b+80>>2],20)|0;d=f;v[d>>2]=v[a>>2];v[d+4>>2]=c;v[d+16>>2]=v[a+16>>2];c=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=c;c=v[b+72>>2];a=v[b+80>>2]}v[i+80>>2]=a+1}v[b+72>>2]=c+1}if((e|0)!=(g|0)){break ya}yc(b);break ya}if(w[b+69|0]){a=b;Ea:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break Ea}}if(!cb(b,1,1)){break ya}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1}c=v[b+72>>2];a=c+1|0;if(h>>>0>a>>>0){continue}break}break a}v[b+72>>2]=0;if(h>>>0<2){break a}g=1;while(1){if(!w[b+68|0]){break a}Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{d=v[b+88>>2];a=v[d+B(c,20)>>2];switch(a-2674|0){case 1:break Pa;case 0:break Qa;default:break Ra}}if((a|0)!=2565){break Ja}a=v[d+B(g,20)>>2]-2622|0;if(a>>>0>14|!(1<<a&17409)){break Ga}if(!w[b+69|0]){a=c;break La}if((d|0)==v[b+92>>2]){a=c;if(v[b+80>>2]==(c|0)){break Ma}}if(cb(b,1,1)){break Na}break Ka}a=v[d+B(g,20)>>2]-2623|0;if(a>>>0>8|!(1<<a&259)){break Ha}if(w[b+69|0]){break Oa}a=c;break La}a=v[d+B(g,20)>>2]-2625|0;if(a>>>0>10|!(1<<a&1027)){break Ia}if(!w[b+69|0]){a=c;break La}if((d|0)==v[b+92>>2]){a=c;if(v[b+80>>2]==(c|0)){break Ma}}if(cb(b,1,1)){break Na}break Ka}if((d|0)==v[b+92>>2]){a=c;if(v[b+80>>2]==(c|0)){break Ma}}if(!cb(b,1,1)){break Ka}}c=v[b+88>>2]+B(v[b+72>>2],20)|0;a=v[c+4>>2];d=v[b+92>>2]+B(v[b+80>>2],20)|0;v[d>>2]=v[c>>2];v[d+4>>2]=a;v[d+16>>2]=v[c+16>>2];a=v[c+12>>2];v[d+8>>2]=v[c+8>>2];v[d+12>>2]=a;c=v[b+80>>2];a=v[b+72>>2]}v[b+80>>2]=c+1}v[b+72>>2]=a+1}yc(b);break Fa}if(w[b+69|0]){a=b;Sa:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break Sa}}if(!cb(b,1,1)){break Fa}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1;break Fa}if(w[b+69|0]){a=b;Ta:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break Ta}}if(!cb(b,1,1)){break Fa}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1;break Fa}if(w[b+69|0]){a=b;Ua:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break Ua}}if(!cb(b,1,1)){break Fa}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1;break Fa}if(w[b+69|0]){a=b;Va:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break Va}}if(!cb(b,1,1)){break Fa}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1}c=v[b+72>>2];g=c+1|0;if(h>>>0>g>>>0){continue}break}break a}if((a|0)!=1298954605){if((a|0)!=1299145833){break a}v[b+72>>2]=0;if(h>>>0<2){break a}g=1;while(1){if(!w[b+68|0]){break a}d=v[b+88>>2];Wa:{if((v[d+B(c,20)>>2]&-2)==71168){e=v[d+B(g,20)>>2]-71225|0;Xa:{if(w[b+69|0]){i=b;Ya:{if((d|0)==v[b+92>>2]){a=c;if(v[b+80>>2]==(c|0)){break Ya}}if(!cb(b,1,1)){break Xa}a=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[a+4>>2];f=v[b+92>>2]+B(v[b+80>>2],20)|0;d=f;v[d>>2]=v[a>>2];v[d+4>>2]=c;v[d+16>>2]=v[a+16>>2];c=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=c;c=v[b+72>>2];a=v[b+80>>2]}v[i+80>>2]=a+1}v[b+72>>2]=c+1}if(e>>>0>1){break Wa}yc(b);break Wa}if(w[b+69|0]){a=b;Za:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break Za}}if(!cb(b,1,1)){break Wa}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1}c=v[b+72>>2];g=c+1|0;if(h>>>0>g>>>0){continue}break}break a}v[b+72>>2]=0;if(h>>>0<2){break a}g=1;while(1){if(!w[b+68|0]){break a}_a:{$a:{ab:{bb:{cb:{db:{e=v[b+88>>2];switch(v[e+B(c,20)>>2]-3335|0){case 11:break bb;case 7:break cb;case 0:case 2:break db;default:break $a}}d=v[e+B(g,20)>>2]==3415;break ab}d=v[e+B(g,20)>>2]==3398;break ab}a=v[e+B(g,20)>>2];d=(a|0)==3390|(a|0)==3415}eb:{if(w[b+69|0]){i=b;fb:{if((e|0)==v[b+92>>2]){a=c;if(v[b+80>>2]==(c|0)){break fb}}if(!cb(b,1,1)){break eb}a=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[a+4>>2];f=v[b+92>>2]+B(v[b+80>>2],20)|0;e=f;v[e>>2]=v[a>>2];v[e+4>>2]=c;v[e+16>>2]=v[a+16>>2];c=v[a+12>>2];v[e+8>>2]=v[a+8>>2];v[e+12>>2]=c;c=v[b+72>>2];a=v[b+80>>2]}v[i+80>>2]=a+1}v[b+72>>2]=c+1}if(!d){break _a}yc(b);break _a}if(w[b+69|0]){a=b;gb:{if((e|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break gb}}if(!cb(b,1,1)){break _a}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1}c=v[b+72>>2];g=c+1|0;if(h>>>0>g>>>0){continue}break}break a}if((a|0)!=1147500129){if((a|0)!=1198877298){break a}v[b+72>>2]=0;if(h>>>0<2){break a}g=1;while(1){if(!w[b+68|0]){break a}hb:{ib:{jb:{d=v[b+88>>2];a=v[d+B(c,20)>>2];kb:{if((a|0)!=2757){if((a|0)!=2693){break jb}a=v[d+B(g,20)>>2]-2750|0;if(a>>>0>14|!(1<<a&28289)){break ib}if(w[b+69|0]){a=b;lb:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break lb}}if(!cb(b,1,1)){break kb}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1;yc(b);break hb}e=v[d+B(g,20)>>2];mb:{if(w[b+69|0]){i=b;nb:{if((d|0)==v[b+92>>2]){a=c;if(v[b+80>>2]==(c|0)){break nb}}if(!cb(b,1,1)){break mb}a=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[a+4>>2];f=v[b+92>>2]+B(v[b+80>>2],20)|0;d=f;v[d>>2]=v[a>>2];v[d+4>>2]=c;v[d+16>>2]=v[a+16>>2];c=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=c;c=v[b+72>>2];a=v[b+80>>2]}v[i+80>>2]=a+1}v[b+72>>2]=c+1}if((e|0)!=2750){break hb}}yc(b);break hb}if(w[b+69|0]){a=b;ob:{if((d|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break ob}}if(!cb(b,1,1)){break hb}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1;break hb}Me(b)}c=v[b+72>>2];g=c+1|0;if(h>>>0>g>>>0){continue}break}break a}v[b+72>>2]=0;if(h>>>0<2){break a}g=1;while(1){if(!w[b+68|0]){break a}pb:{qb:{rb:{sb:{tb:{ub:{vb:{wb:{xb:{yb:{zb:{Ab:{Bb:{e=v[b+88>>2];switch(v[e+B(c,20)>>2]-2309|0){case 4:break xb;case 43:break yb;case 10:break zb;case 1:break Ab;case 0:break Bb;default:break ub}}a=v[e+B(g,20)>>2]-2362|0;if(a>>>0>29|!(1<<a&807901203)){break qb}if(w[b+69|0]){a=b;Cb:{if((e|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break Cb}}if(!cb(b,1,1)){break vb}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1;yc(b);break pb}a=v[e+B(g,20)>>2];if((a|0)!=2362?a-2373>>>0>=4:0){break rb}if(w[b+69|0]){a=b;Db:{if((e|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break Db}}if(!cb(b,1,1)){break vb}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1;yc(b);break pb}d=v[e+B(g,20)>>2]-2373>>>0<3;break wb}if(v[e+B(g,20)>>2]!=2381){break sb}a=c+2|0;if(a>>>0>=h>>>0){break tb}a=v[e+B(a,20)>>2];Me(b);if((a|0)!=2311){break pb}Me(b);yc(b);break pb}d=v[e+B(g,20)>>2]==2369}Eb:{if(w[b+69|0]){i=b;Fb:{if((e|0)==v[b+92>>2]){a=c;if(v[b+80>>2]==(c|0)){break Fb}}if(!cb(b,1,1)){break Eb}a=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[a+4>>2];f=v[b+92>>2]+B(v[b+80>>2],20)|0;e=f;v[e>>2]=v[a>>2];v[e+4>>2]=c;v[e+16>>2]=v[a+16>>2];c=v[a+12>>2];v[e+8>>2]=v[a+8>>2];v[e+12>>2]=c;c=v[b+72>>2];a=v[b+80>>2]}v[i+80>>2]=a+1}v[b+72>>2]=c+1}if(!d){break pb}}yc(b);break pb}if(w[b+69|0]){a=b;Gb:{if((e|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break Gb}}if(!cb(b,1,1)){break pb}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1;break pb}Me(b);break pb}if(w[b+69|0]){a=b;Hb:{if((e|0)==v[b+92>>2]){f=c;if(v[b+80>>2]==(c|0)){break Hb}}if(!cb(b,1,1)){break pb}d=v[b+88>>2]+B(v[b+72>>2],20)|0;c=v[d+4>>2];e=v[b+92>>2]+B(v[b+80>>2],20)|0;v[e>>2]=v[d>>2];v[e+4>>2]=c;v[e+16>>2]=v[d+16>>2];c=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=c;c=v[b+72>>2];f=v[b+80>>2]}v[a+80>>2]=f+1}v[b+72>>2]=c+1;break pb}Me(b);break pb}Me(b)}c=v[b+72>>2];g=c+1|0;if(h>>>0>g>>>0){continue}break}}td(b)}}function OD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=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;z=Ca-16|0;Ca=z;n=v[v[b+96>>2]+4>>2];o=re(n,9992);a:{b:{if(!o){v[z+12>>2]=11;break b}G=xd(v[b+96>>2],10308,1);K=re(n,13048);f=re(n,13057);if(!f){v[z+12>>2]=11;break b}v[b+556>>2]=f;L=xd(v[b+96>>2],10264,1);f=Ya(a,0);v[z+12>>2]=f;if(f){break b}M=Ea[v[o+4>>2]](a,b,c,d,e)|0;c:{if(!M){if(v[b+148>>2]!=1330926671){v[z+12>>2]=2;break b}f=0;if((c|0)<0){break a}d:{if(!(Ea[v[b+516>>2]](b,1751474532,a,0)|0)){d=Ea[v[o+8>>2]](a,b,c,d,e)|0;v[z+12>>2]=d;if(!d){break d}break b}d=Ea[v[o+32>>2]](b,a)|0;v[z+12>>2]=d;if(d){break b}H=1}d=Ea[v[b+516>>2]](b,1128678962,a,0)|0;v[z+12>>2]=d;if(!d){d=1;t[b+732|0]=1;break c}if((d&255)!=142){break b}d=0;e=Ea[v[b+516>>2]](b,1128678944,a,0)|0;v[z+12>>2]=e;if(!e){break c}break b}d=0;e=Ya(a,0);v[z+12>>2]=e;if(e){break b}v[z+12>>2]=0;H=1}J=v[b+100>>2];m=wb(J,3136,z+12|0);if(v[z+12>>2]){break b}v[b+712>>2]=m;o=b;i=Ca-80|0;Ca=i;A=v[a+28>>2];k=Ra(m,0,3136);v[i+72>>2]=0;b=i- -64|0;v[b>>2]=0;v[b+4>>2]=0;v[i+56>>2]=0;v[i+60>>2]=0;v[i+48>>2]=0;v[i+52>>2]=0;v[i+40>>2]=0;v[i+44>>2]=0;I=v[a+8>>2];t[k+32|0]=d;v[k+8>>2]=A;v[k+4>>2]=a;v[k>>2]=n;v[k+12>>2]=I;b=ub(a,13088,k);v[i+76>>2]=b;e:{if(b){break e}f:{if(d){if(!(w[k+26|0]>4?w[k+24|0]==2:0)){v[i+76>>2]=2;break e}N=k,O=kb(a,i+76|0),v[N+28>>2]=O;if(v[i+76>>2]){break e}p=w[k+26|0];break f}b=cc(a,i+76|0);if(v[i+76>>2]){break e}g:{if(w[k+24|0]!=1){break g}p=w[k+26|0];if(p>>>0<4){break g}if((b&255)>>>0<5){break f}}v[i+76>>2]=2;break e}b=Ya(a,p+I|0);v[i+76>>2]=b;if(b){if(!H){break e}v[i+76>>2]=2;break e}h:{if(d){v[k+1240>>2]=0;v[k+1244>>2]=0;v[k+1272>>2]=0;e=k+1264|0;v[e>>2]=0;v[e+4>>2]=0;b=k+1256|0;v[b>>2]=0;v[b+4>>2]=0;b=k+1248|0;v[b>>2]=0;v[b+4>>2]=0;v[k+1260>>2]=v[a+8>>2];b=v[k+28>>2];v[e>>2]=b;b=Ub(a,b);v[i+76>>2]=b;if(b){break e}b=mf(k+108|0,a,1,1);v[i+76>>2]=b;if(b){break e}break h}b=mf(k+36|0,a,0,0);v[i+76>>2]=b;if(b){if(!H){break e}v[i+76>>2]=2;break e}b=v[k+48>>2];if(!(b>>>0<2|b>>>0<=y[k+60>>2])){v[i+76>>2]=H?2:3;break e}b=mf(k+1240|0,a,0,0);v[i+76>>2]=b;if(b){break e}b=mf(i+40|0,a,1,0);v[i+76>>2]=b;if(b){break e}b=mf(k+108|0,a,1,0);v[i+76>>2]=b;if(b){break e}b=qk(i+40|0,k+1360|0,k+1364|0,k+1368|0);v[i+76>>2]=b;if(b){break e}if(y[k+48>>2]<=y[k+1252>>2]){break h}v[i+76>>2]=3;break e}v[k+1356>>2]=v[i+52>>2];i:{j:{if(H){p=c&65535;b=v[k+48>>2];if((c|0)<1|p>>>0<b>>>0){break j}v[i+76>>2]=6;break e}p=0;if(y[k+48>>2]<2){break i}v[i+76>>2]=3;break e}v[k+16>>2]=b}if((c|0)<0){break e}b=Lq(k+1372|0,k+1240|0,p,a,I,d?12288:4096,k,o);v[i+76>>2]=b;if(b){break e}b=Ya(a,I+v[k+1484>>2]|0);v[i+76>>2]=b;if(b){break e}b=mf(k+1204|0,a,0,d);v[i+76>>2]=b;if(b){break e}k:{if(!(d?0:v[k+1504>>2]==65535)){q=k+3112|0;h=Ca-16|0;Ca=h;j=v[a+28>>2];l:{m:{b=v[k+1552>>2];if(!b){break m}b=Ya(a,b+I|0);v[h+12>>2]=b;if(b){break l}b=Ub(a,2);v[h+12>>2]=b;if(b){break l}g=v[a+8>>2];b=kb(a,h+12|0);if(v[h+12>>2]){break l}if((b|0)!=1){v[h+12>>2]=3;break l}e=Ob(a,h+12|0);if(v[h+12>>2]){break l}b=kb(a,h+12|0);v[q>>2]=b;if(v[h+12>>2]){break l}F=Ua(j,4,0,b,0,h+12|0);if(v[h+12>>2]){break l}if(v[q>>2]){while(1){N=(D<<2)+F|0,O=Ob(a,h+12|0),v[N>>2]=O;if(v[h+12>>2]){break l}D=D+1|0;if(D>>>0<y[q>>2]){continue}break}}b=Ya(a,e+g|0);v[h+12>>2]=b;if(b){break l}N=q,O=kb(a,h+12|0),u[N+8>>1]=O;if(v[h+12>>2]){break l}b=kb(a,h+12|0);v[q+12>>2]=b;if(v[h+12>>2]){break l}n=Ua(j,4,0,b,0,h+12|0);v[q+16>>2]=n;if(v[h+12>>2]){break l}n:{if(!v[q+12>>2]){break n}r=Ua(j,12,0,x[q+8>>1],0,h+12|0);v[n>>2]=r;if(v[h+12>>2]){break l}while(1){o:{if(!x[q+8>>1]){r=0;break o}E=kb(a,h+12|0);if(v[h+12>>2]){break l}D=0;while(1){e=kb(a,h+12|0);if(v[h+12>>2]){break l}b=kb(a,h+12|0);if(v[h+12>>2]){break l}f=B(D,12)+r|0;v[f+8>>2]=b<<16>>16<<2;v[f+4>>2]=e<<16>>16<<2;v[f>>2]=E<<16>>16<<2;D=D+1|0;r=x[q+8>>1];if(D>>>0>=r>>>0){break o}r=v[n>>2];E=kb(a,h+12|0);if(!v[h+12>>2]){continue}break}break l}l=l+1|0;if(l>>>0>=y[q+12>>2]){break n}n=v[q+16>>2]+(l<<2)|0;r=Ua(j,12,0,r,0,h+12|0);v[n>>2]=r;if(!v[h+12>>2]){continue}break}break l}D=Ua(j,8,0,v[q>>2],0,h+12|0);v[q+4>>2]=D;if(v[h+12>>2]){break l}if(!v[q>>2]){break m}b=Ya(a,g+v[F>>2]|0);v[h+12>>2]=b;if(b){break l}r=0;while(1){b=Ub(a,4);v[h+12>>2]=b;if(b){break l}e=(r<<3)+D|0;b=kb(a,h+12|0);v[e>>2]=b;if(v[h+12>>2]){break l}N=e,O=Ua(j,4,0,b,0,h+12|0),v[N+4>>2]=O;if(v[h+12>>2]){break l}if(v[e>>2]){D=0;while(1){b=kb(a,h+12|0);v[v[e+4>>2]+(D<<2)>>2]=b;if(v[h+12>>2]){break l}D=D+1|0;if(D>>>0<y[e>>2]){continue}break}}r=r+1|0;if(r>>>0>=y[q>>2]){break m}D=v[q+4>>2];b=Ya(a,g+v[(r<<2)+F>>2]|0);v[h+12>>2]=b;if(!b){continue}break}break l}v[h+12>>2]=0}if(F){Ea[v[j+8>>2]](j,F)}if(v[h+12>>2]){Sq(q,j);b=v[h+12>>2]}else{b=0}Ca=h+16|0;v[i+76>>2]=b;if(b){break e}b=Ya(a,I+v[k+1536>>2]|0);v[i+76>>2]=b;if(b){break e}b=mf(i,a,0,d);v[i+76>>2]=b;if(b){break e}b=v[i+12>>2];p:{if(b>>>0>256){break p}v[k+2024>>2]=b;A=Ua(A,652,0,b,0,i+76|0);if(v[i+76>>2]){break p}l=v[i+12>>2];b=d?0:-1;q:{if(!l){break q}r=l&3;j=0;if(l-1>>>0>=3){f=l&-4;e=k+2028|0;while(1){v[e+(j<<2)>>2]=A+B(j,652);b=j|1;v[e+(b<<2)>>2]=A+B(b,652);b=j|2;v[e+(b<<2)>>2]=A+B(b,652);b=j|3;v[e+(b<<2)>>2]=A+B(b,652);j=j+4|0;f=f-4|0;if(f){continue}break}}if(r){while(1){v[((j<<2)+k|0)+2028>>2]=A+B(j,652);j=j+1|0;r=r-1|0;if(r){continue}break}}r:{if(l){e=d?16384:4096;j=0;break r}b=d?0:-1;break q}while(1){b=Lq(v[((j<<2)+k|0)+2028>>2],i,j,a,I,e,k,o);v[i+76>>2]=b;if(b){break p}j=j+1|0;b=v[i+12>>2];if(j>>>0<b>>>0){continue}break}b=!d|b>>>0>1}if(!(b&1)){break p}e=k+3052|0;f=v[k+1216>>2];l=Ca-16|0;Ca=l;g=Ya(a,I+v[k+1540>>2]|0);v[l+12>>2]=g;s:{if(g){break s}b=cc(a,l+12|0);g=v[l+12>>2];if(g){break s}v[e+20>>2]=0;t[e|0]=b;g=3;t:{switch(b&255){case 3:b=kb(a,l+12|0);g=v[l+12>>2];if(g){break s}g=3;if(!b){break s}f=B(b,3)+2|0;break;case 0:break t;default:break s}}v[e+12>>2]=f;g=Jc(a,f,e+8|0)}Ca=l+16|0;v[i+76>>2]=g}b=v[i>>2];if(b){f=i+32|0;e=v[b+28>>2];if(v[i+32>>2]){Qb(b,f)}b=v[i+28>>2];if(b){Ea[v[e+8>>2]](e,b)}v[f>>2]=0;v[i+24>>2]=0;v[i+28>>2]=0;v[i+16>>2]=0;v[i+20>>2]=0;v[i+8>>2]=0;v[i+12>>2]=0;v[i>>2]=0;v[i+4>>2]=0}if(!v[i+76>>2]){break k}break e}v[k+2024>>2]=0}if(!v[k+1484>>2]){v[i+76>>2]=3;break e}v[k+20>>2]=v[k+1216>>2];b=qk(k+108|0,k+1352|0,0,0);v[i+76>>2]=b;if(b){break e}u:{if(d){break u}g=v[k+20>>2];if(!g){break u}A=k+1180|0;n=A;e=v[k+1476>>2];r=v[k+1504>>2]!=65535&H;C=Ca-16|0;Ca=C;b=v[a+28>>2];v[C+8>>2]=0;v:{w:{x:{y:{if(e>>>0>=3){e=e+I|0;v[n+4>>2]=e;e=Ya(a,e);v[C+8>>2]=e;if(e){break w}N=n,O=cc(a,C+8|0)&255,v[N>>2]=O;if(v[C+8>>2]){break w}e=Ua(b,2,0,g,0,C+8|0);v[n+8>>2]=e;if(v[C+8>>2]){break w}u[e>>1]=0;z:{switch(v[n>>2]){case 0:f=1;e=vb(a,(g<<1)-2|0);v[C+8>>2]=e;if(e){break w}if(g>>>0>=2){while(1){e=Cb(a);u[v[n+8>>2]+(f<<1)>>1]=e;f=f+1|0;if((g|0)!=(f|0)){continue}break}}pb(a);break y;case 1:case 2:f=1;if(g>>>0<=1){break y}while(1){s=kb(a,C+8|0);if(v[C+8>>2]){break w}A:{if(v[n>>2]==2){D=kb(a,C+8|0);if(!v[C+8>>2]){break A}break w}e=cc(a,C+8|0);if(v[C+8>>2]){break w}D=e&255}B:{if(f>>>0>=g>>>0){break B}j=(D^65535)>>>0<s>>>0?s^65535:D;l=v[n+8>>2];D=0;while(1){u[l+(f<<1)>>1]=s;f=f+1|0;if(g>>>0<=f>>>0){break B}s=s+1|0;e=j>>>0>D>>>0;D=D+1|0;if(e){continue}break}}if(f>>>0<g>>>0){continue}break};break y;default:break z}}v[C+8>>2]=3;break w}v[n+4>>2]=e;C:{switch(e|0){case 0:if(g>>>0>=230){v[C+8>>2]=3;break w}e=Ua(b,2,0,g,0,C+8|0);v[n+8>>2]=e;if(v[C+8>>2]){break w}Ta(e,13120,g<<1);break y;case 1:if(g>>>0>=167){v[C+8>>2]=3;break w}e=Ua(b,2,0,g,0,C+8|0);v[n+8>>2]=e;if(v[C+8>>2]){break w}Ta(e,13584,g<<1);break y;case 2:break C;default:break x}}if(g>>>0>=88){v[C+8>>2]=3;break w}e=Ua(b,2,0,g,0,C+8|0);v[n+8>>2]=e;if(v[C+8>>2]){break w}Ta(e,13920,g<<1)}D:{if(!r){f=v[C+8>>2];break D}f=0;v[C+12>>2]=0;E:{if(v[n+16>>2]){break E}h=0;e=n;l=b;if(g){D=g&3;q=v[n+8>>2];F:{if(g-1>>>0<3){s=0;break F}h=g&-4;s=0;while(1){j=s<<1;F=x[q+(j|6)>>1];E=x[q+(j|4)>>1];r=x[q+(j|2)>>1];j=x[j+q>>1];f=j>>>0>(f&65535)>>>0?j:f;f=r>>>0>(f&65535)>>>0?r:f;f=E>>>0>(f&65535)>>>0?E:f;f=F>>>0>(f&65535)>>>0?F:f;s=s+4|0;h=h-4|0;if(h){continue}break}}if(D){while(1){j=x[q+(s<<1)>>1];f=j>>>0>(f&65535)>>>0?j:f;s=s+1|0;D=D-1|0;if(D){continue}break}}h=f&65535}r=Ua(l,2,0,h+1|0,0,C+12|0);v[e+12>>2]=r;f=v[C+12>>2];if(f){break E}G:{if((g|0)<1){break G}j=v[n+8>>2];f=g;E=f&3;if(E){while(1){f=f-1|0;u[r+(x[j+(f<<1)>>1]<<1)>>1]=f;E=E-1|0;if(E){continue}break}}if(g-1>>>0<3){break G}while(1){e=f-1|0;u[r+(x[j+(e<<1)>>1]<<1)>>1]=e;e=f-2|0;u[r+(x[j+(e<<1)>>1]<<1)>>1]=e;e=f-3|0;u[r+(x[j+(e<<1)>>1]<<1)>>1]=e;e=f-4|0;u[r+(x[j+(e<<1)>>1]<<1)>>1]=e;l=(f|0)>4;f=e;if(l){continue}break}}v[n+20>>2]=g;v[n+16>>2]=h;f=0}v[C+8>>2]=f}if(f){break w}b=0;break v}v[C+8>>2]=3}e=v[n+8>>2];if(e){Ea[v[b+8>>2]](b,e)}v[n+8>>2]=0;e=v[n+12>>2];if(e){Ea[v[b+8>>2]](b,e)}v[n>>2]=0;v[n+4>>2]=0;v[n+12>>2]=0;b=v[C+8>>2]}Ca=C+16|0;v[i+76>>2]=b;if(b){break e}if(v[k+1504>>2]!=65535){break u}h=k+144|0;n=v[k+20>>2];e=a;f=v[k+1480>>2];F=0;s=Ca-16|0;Ca=s;v[s+8>>2]=0;a=3;H:{if(!v[A+8>>2]){break H}b=Ra(h+12|0,0,1024);if(f>>>0>=2){a=f+I|0;v[h+4>>2]=a;a=Ya(e,a);v[s+8>>2]=a;if(a){break H}N=h,O=cc(e,s+8|0)&255,v[N>>2]=O;a=v[s+8>>2];if(a){break H}b=cc(e,s+8|0);a=v[s+8>>2];if(a){break H}E=b&255;a=3;I:{J:{switch(v[h>>2]&127){case 0:v[h+8>>2]=E+1;a=vb(e,E);v[s+8>>2]=a;if(a){break H}K:{if(!b){break K}a=1;g=v[e+32>>2];if((b|0)!=1){b=E&254;while(1){if(a>>>0<n>>>0){f=h+(w[g|0]<<1)|0;u[f+524>>1]=a;u[f+12>>1]=x[v[A+8>>2]+(a<<1)>>1]}l=a+1|0;if(l>>>0<n>>>0){f=h+(w[g+1|0]<<1)|0;u[f+524>>1]=l;u[f+12>>1]=x[v[A+8>>2]+(l<<1)>>1]}g=g+2|0;a=a+2|0;b=b-2|0;if(b){continue}break}}if(!(E&1)|a>>>0>=n>>>0){break K}b=h+(w[g|0]<<1)|0;u[b+524>>1]=a;u[b+12>>1]=x[v[A+8>>2]+(a<<1)>>1]}pb(e);break I;case 1:break J;default:break H}}v[h+8>>2]=0;if(!b){break I}b=1;while(1){g=b;l=cc(e,s+8|0);a=v[s+8>>2];if(a){break H}r=cc(e,s+8|0);a=v[s+8>>2];if(a){break H}j=r&255;a=j+1|0;f=v[h+8>>2];if(j>>>0>=f>>>0){v[h+8>>2]=a;f=a}b=a+g|0;L:{if(g>>>0>=b>>>0){break L}a=l&255;if(!(j&1)){if(g>>>0<n>>>0){l=h+(a<<1)|0;u[l+524>>1]=g;u[l+12>>1]=x[v[A+8>>2]+(g<<1)>>1]}g=g+1|0;a=a+1|0}if(!r){break L}while(1){if(!(a>>>0>255|g>>>0>=n>>>0)){l=h+(a<<1)|0;u[l+524>>1]=g;u[l+12>>1]=x[v[A+8>>2]+(g<<1)>>1]}j=g+1|0;M:{if(j>>>0>=n>>>0){break M}l=a+1|0;if(l>>>0>=256){break M}l=h+(l<<1)|0;u[l+524>>1]=j;u[l+12>>1]=x[v[A+8>>2]+(j<<1)>>1]}a=a+2|0;g=g+2|0;if((g|0)!=(b|0)){continue}break}}F=F+1|0;if((E|0)!=(F|0)){continue}break}if(f>>>0<257){break I}v[h+8>>2]=256}if(!(w[h|0]&128)){a=v[s+8>>2];break H}b=cc(e,s+8|0);a=v[s+8>>2];if(a|!b){break H}g=b&255;f=0;while(1){b=cc(e,s+8|0);a=v[s+8>>2];if(a){break H}j=kb(e,s+8|0);a=v[s+8>>2];if(a){break H}l=h+((b&255)<<1)|0;u[l+12>>1]=j;N:{if(!n){break N}b=v[A+8>>2];a=0;while(1){if((j|0)==x[b+(a<<1)>>1]){u[l+524>>1]=a;break N}a=a+1|0;if((n|0)!=(a|0)){continue}break}}a=0;f=f+1|0;if((g|0)!=(f|0)){continue}break}break H}O:{P:{switch(f|0){case 0:Ta(b,10336,512);break O;case 1:break P;default:break H}}Ta(b,14096,512)}v[h+8>>2]=0;e=v[e+28>>2];v[s+12>>2]=0;f=v[A+16>>2];if(!f){f=0;l=A;if(n){f=n&3;q=v[A+8>>2];Q:{if(n-1>>>0<3){a=0;g=0;break Q}b=n&-4;a=0;g=0;while(1){j=g<<1;F=x[q+(j|6)>>1];E=x[q+(j|4)>>1];r=x[q+(j|2)>>1];j=x[j+q>>1];a=j>>>0>(a&65535)>>>0?j:a;a=r>>>0>(a&65535)>>>0?r:a;a=E>>>0>(a&65535)>>>0?E:a;a=F>>>0>(a&65535)>>>0?F:a;g=g+4|0;b=b-4|0;if(b){continue}break}}if(f){while(1){b=x[q+(g<<1)>>1];a=b>>>0>(a&65535)>>>0?b:a;g=g+1|0;f=f-1|0;if(f){continue}break}}f=a&65535}g=Ua(e,2,0,f+1|0,0,s+12|0);v[l+12>>2]=g;a=v[s+12>>2];if(a){break H}R:{if((n|0)<1){break R}l=v[A+8>>2];a=n;b=a&3;if(b){while(1){a=a-1|0;u[g+(x[l+(a<<1)>>1]<<1)>>1]=a;b=b-1|0;if(b){continue}break}}if(n-1>>>0<3){break R}while(1){b=a-1|0;u[g+(x[l+(b<<1)>>1]<<1)>>1]=b;b=a-2|0;u[g+(x[l+(b<<1)>>1]<<1)>>1]=b;b=a-3|0;u[g+(x[l+(b<<1)>>1]<<1)>>1]=b;b=a-4|0;u[g+(x[l+(b<<1)>>1]<<1)>>1]=b;e=(a|0)>4;a=b;if(e){continue}break}}v[A+20>>2]=n;v[A+16>>2]=f}v[s+8>>2]=0;a=0;while(1){S:{T:{l=h+(a<<1)|0;e=l;b=x[e+12>>1];if(!b|b>>>0>f>>>0){break T}b=x[v[A+12>>2]+(b<<1)>>1];if(!b){break T}u[l+524>>1]=b;a=a+1|0;v[h+8>>2]=a;break S}u[l+524>>1]=0;u[e+12>>1]=0;a=a+1|0}if((a|0)!=256){continue}break}a=0}Ca=s+16|0;v[i+76>>2]=a;if(a){break e}}N=k,O=Tq(k,p),v[N+1348>>2]=O}a=v[i+40>>2];if(a){b=v[a+28>>2];if(v[i+72>>2]){Qb(a,i+72|0)}a=v[i+68>>2];if(a){Ea[v[b+8>>2]](b,a)}}Ca=i+80|0;a=v[i+76>>2];v[z+12>>2]=a;if(a){break b}f=0;U:{V:{W:{X:{if((c|0)>=0){v[m+3088>>2]=L;v[m+3084>>2]=G;v[m+3080>>2]=K;L=c&65535;v[o+4>>2]=L;v[o+16>>2]=v[m+20>>2];if(!(G|v[m+1504>>2]!=65535)){v[z+12>>2]=11;break b}Y:{if(!(t[o+9|0]&1)){break Y}b=v[o+548>>2];if(!b){break Y}a=c>>>16|0;if(!a){break Y}c=v[o+552>>2];a=Ea[v[b+28>>2]](o,a)|0;v[z+12>>2]=a;if(a){break b}if(!c){break Y}Ea[v[c+28>>2]](o)}if(!w[m+1436|0]){v[m+1440>>2]=H?1e3:x[o+68>>1]}c=v[m+1432>>2];if(!c){c=v[m+1428>>2]}a=c>>31;a=a+c^a;Z:{if((a|0)==65536){c=v[m+1448>>2];break Z}N=m,O=ab(v[m+1440>>2],a),v[N+1440>>2]=O;N=m,O=ab(v[m+1420>>2],a),v[N+1420>>2]=O;N=m,O=ab(v[m+1428>>2],a),v[N+1428>>2]=O;N=m,O=ab(v[m+1424>>2],a),v[N+1424>>2]=O;N=m,O=ab(v[m+1432>>2],a),v[N+1432>>2]=O;N=m,O=ab(v[m+1444>>2],a),v[N+1444>>2]=O;c=ab(v[m+1448>>2],a);v[m+1448>>2]=c}v[m+1448>>2]=c>>16;v[m+1444>>2]=v[m+1444>>2]>>16;a=v[m+2024>>2];if(a){F=m+2028|0;h=m+1420|0;K=h;while(1){a=a-1|0;p=v[F+(a<<2)>>2];_:{if(w[p+64|0]){if(!w[m+1436|0]){break _}f=1;c=v[m+1440>>2];$:{if(c>>>0<2){break $}b=v[p+68>>2];if(b>>>0<2){break $}f=b>>>0>c>>>0?c:b}q=p+48|0;if(!(!h|!q)){c=v[h>>2];E=v[q>>2];G=f<<16;r=fb(c,E,G);b=v[h+4>>2];j=v[q+8>>2];g=fb(b,j,G);n=v[q+4>>2];A=fb(c,n,G);l=v[q+12>>2];e=fb(b,l,G);c=v[h+8>>2];i=fb(c,E,G);b=v[h+12>>2];N=q,O=i+fb(b,j,G)|0,v[N+8>>2]=O;v[q+4>>2]=e+A;v[q>>2]=g+r;N=q,O=fb(c,n,G)+fb(b,l,G)|0,v[N+12>>2]=O}if(!(!h|(p|0)==-72)){l=v[h+8>>2];e=v[h+12>>2];c=v[p+72>>2];A=f<<16;n=fb(c,v[h>>2],A);b=v[p+76>>2];N=p,O=n+fb(b,v[h+4>>2],A)|0,v[N+72>>2]=O;N=p,O=fb(c,l,A)+fb(b,e,A)|0,v[N+76>>2]=O}N=p,O=fb(v[p+68>>2],v[m+1440>>2],f),v[N+68>>2]=O;break _}b=v[h+4>>2];v[p+48>>2]=v[h>>2];v[p+52>>2]=b;b=v[K+12>>2];v[p+56>>2]=v[K+8>>2];v[p+60>>2]=b;b=v[m+1448>>2];v[p+72>>2]=v[m+1444>>2];v[p+76>>2]=b;v[p+68>>2]=v[m+1440>>2]}f=v[p+60>>2];if(!f){f=v[p+56>>2]}b=f>>31;b=b+f^b;aa:{if((b|0)==65536){f=v[p+76>>2];break aa}N=p,O=ab(v[p+68>>2],b),v[N+68>>2]=O;N=p,O=ab(v[p+48>>2],b),v[N+48>>2]=O;N=p,O=ab(v[p+56>>2],b),v[N+56>>2]=O;N=p,O=ab(v[p+52>>2],b),v[N+52>>2]=O;N=p,O=ab(v[p+60>>2],b),v[N+60>>2]=O;N=p,O=ab(v[p+72>>2],b),v[N+72>>2]=O;f=ab(v[p+76>>2],b);v[p+76>>2]=f}v[p+76>>2]=f>>16;v[p+72>>2]=v[p+72>>2]>>16;if(a){continue}break}}if(!H){break U}v[o>>2]=v[m+16>>2];a=o;if(v[m+1504>>2]!=65535){b=v[m+1196>>2]+1|0}else{b=v[m+1216>>2]}v[a+16>>2]=b;v[o+52>>2]=v[m+1456>>2]>>16;c=v[m+1460>>2]>>16;v[o+56>>2]=c;v[o+60>>2]=v[m+1464>>2]+65535>>16;b=v[m+1468>>2]+65535>>16;v[o- -64>>2]=b;a=v[m+1440>>2];u[o+72>>1]=c;u[o+70>>1]=b;u[o+68>>1]=a;b=b-c|0;a=(B(a&65535,12)>>>0)/10|0;u[o+74>>1]=(b|0)>a<<16>>16?b:a;u[o+80>>1]=x[m+1406>>1];u[o+82>>1]=x[m+1410>>1];a=v[m+1388>>2];ba:{if(!a){break ba}a=ii(m,a);if(!a){break ba}N=o,O=pd(J,a,z),v[N+20>>2]=O}if(!v[o+20>>2]){g=Tq(m,L);v[o+20>>2]=g;if(!g){break X}f=0;a=Xa(g);ca:{if((a|0)<6){break ca}A=a-7|0;l=a-6|0;b=a+1|0;while(1){if(w[g+6|0]!=43|(w[g+5|0]-65&255)>>>0>25|((w[g+4|0]-65&255)>>>0>25|(w[g+3|0]-65&255)>>>0>25)){break ca}if((w[g+2|0]-65&255)>>>0>25|(w[g+1|0]-65&255)>>>0>25|(w[g|0]-65&255)>>>0>25){break ca}a=b;da:{if((b|0)<8){break da}e=B(f,-7);c=e+l|0;j=c&3;b=7;if(e+A>>>0>=3){e=c&-4;while(1){c=b+g|0;n=c-7|0;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[n|0]=c;t[n+1|0]=c>>>8;t[n+2|0]=c>>>16;t[n+3|0]=c>>>24;b=b+4|0;e=e-4|0;if(e){continue}break}}if(!j){break da}while(1){c=b+g|0;t[c-7|0]=w[c|0];b=b+1|0;j=j-1|0;if(j){continue}break}}f=f+1|0;b=a-7|0;if((a|0)>13){continue}break}}if(!v[o+20>>2]){break X}}b=ii(m,v[m+1384>>2]);if(!b){break W}a=v[o+20>>2];if(!a){break W}c=w[b|0];if(!c){break W}while(1){ea:{fa:{e=c&255;c=e-32|0;if(!((c|0)!=13?c:0)){if((e|0)==w[a|0]){break fa}break ea}f=a;c=w[a|0];if((e|0)==(c|0)){break fa}while(1){ga:{ha:{a=c&255;switch(a-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break W;case 0:case 13:break ha;default:break ga}}c=w[f+1|0];a=f+1|0;f=a;if((c|0)!=(e|0)){continue}break fa}break}if(a){break W}c=pd(J,b,z);if(!c){break W}l=v[o+20>>2];e=Xa(l);f=Xa(c);ia:{if((e|0)<=(f|0)){break ia}a=1;if((f|0)>=1){while(1){if(w[l+(e-a|0)|0]!=w[(f-a|0)+c|0]){break ia}b=(a|0)==(f|0);a=a+1|0;if(!b){continue}break}}a=e+(f^-1)|0;if((a|0)<1){break ia}while(1){f=a+l|0;e=w[f|0];b=e-32|0;if(!((1<<b&10241?b>>>0<=13:0)|(e|0)==95)){t[f+1|0]=0;break ia}b=(a|0)>1;a=a-1|0;if(b){continue}break}}break V}a=a+1|0}c=w[b+1|0];b=b+1|0;if(c){continue}break}break W}v[o>>2]=v[m+16>>2];break a}a=ii(m,v[m+1544>>2]);if(!a){break W}N=o,O=pd(J,a,z),v[N+20>>2]=O}c=pd(J,13063,z)}v[o+24>>2]=c;a=M?2065:2073;v[o+8>>2]=v[o+8>>2]|(w[m+1396|0]?a|4:a);c=v[m+1400>>2]!=0;a=ii(m,v[m+1392>>2]);ja:{if(!a){break ja}if(Wa(a,13071)){if(Wa(a,13076)){break ja}}c=c|2}ka:{if(c&2){break ka}a=v[o+24>>2];if(!a){break ka}if($a(a,13071,4)){if($a(a,13076,5)){break ka}}c=c|2}v[o+12>>2]=c}c=512;b=v[m+1504>>2];a=(b|0)!=65535|d;la:{if((a|0)==1){d=(b|0)==65535;if(!H){break la}c=4096;if((b|0)==65535){break la}}v[o+8>>2]=v[o+8>>2]|c;d=a^1}e=v[o+36>>2];ma:{if(e){b=v[o+40>>2];c=0;while(1){na:{oa:{a=v[b+(c<<2)>>2];switch(x[a+8>>1]){case 0:break ma;case 3:break oa;default:break na}}if(x[a+10>>1]==1){break ma}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}if((!H|d)!=1){break b}v[z>>2]=o;v[z+4>>2]=1970170211;v[z+8>>2]=65539;a=yd(9756,0,z,0);v[z+12>>2]=a;pa:{if(!a){break pa}a=a&255;if((a|0)==163){break pa}if((a|0)!=7){break b}}v[z+12>>2]=0;if(v[o+92>>2]|(e|0)==v[o+36>>2]){break ma}v[o+92>>2]=v[v[o+40>>2]+(e<<2)>>2]}if(!v[m+152>>2]){break b}u[z+8>>1]=7;v[z>>2]=o;b=1094995778;c=0;qa:{ra:{switch(v[m+148>>2]){case 1:b=1094992453;c=1;break qa;case 0:break qa;default:break ra}}b=1094992451;c=2}v[z+4>>2]=b;u[z+10>>1]=c;N=z,O=yd(9716,0,z,0),v[N+12>>2]=O}f=v[z+12>>2]}Ca=z+16|0;return f|0}function mK(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,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,M=0,N=0,P=0,Q=0,R=0;n=Ca-32|0;Ca=n;o=Ra(b,0,80);a:{b:{c:{switch(v[a>>2]){case 0:Uu(v[(v[a+8>>2]+(v[a+24>>2]<<2)|0)+68>>2],A[a+16>>3]);g=v[a+40>>2];d=Ca-48|0;Ca=d;i=v[a+8>>2];f=v[(i+(v[a+24>>2]<<2)|0)+68>>2];e=f;l=v[a+28>>2];h=l;b=v[c+88>>2];if(b>>>0<=2){b=v[(b<<2)+364688>>2]}else{b=2568}d:{if(fd(e,h,b)){b=v[i+20>>2];v[d+16>>2]=l;hb(b,2,364604,d+16|0);c=0;break d}if(!(t[f+12|0]&1|y[i+12>>2]<56)){c=Ca-16|0;Ca=c;e=v[f+84>>2];if(!(!e|v[e+72>>2]!=1869968492)){b=c;v[b>>2]=65536;v[b+4>>2]=13930;v[b+8>>2]=0;v[b+12>>2]=65536;ee(e+108|0,b)}Ca=c+16|0}e=v[i+8>>2];b=Qe(f,2);e:{if(!(!b|x[b>>1]==65535)){c=x[b+4>>1];if(c){break e}}c=B(v[f+12>>2]>>>1&1,300)+400|0}f:{if(e>>>0<=c+150>>>0){break f}b=v[f+84>>2];if(v[b+72>>2]!=1869968492){break f}c=b+108|0;b=v[b+4>>2];b=(Qa(x[b+68>>1],v[v[b+88>>2]+20>>2])|0)/64|0;Jr(c,b,b)}s=d+44|0;m=Ca-16|0;Ca=m;h=v[f+84>>2];g:{if(!h){e=37;break g}e=6;if(!s){break g}j=v[h>>2];if(!j){break g}h:{z=v[j>>2];c=v[h+72>>2];b=364212;i:{if((c|0)==1651078259){break i}b=364244;if((c|0)==1869968492){break i}j:{k:{if(!j){break k}e=v[j+148>>2];if(!e){break k}while(1){b=v[e+8>>2];if((c|0)==v[b+16>>2]){break j}e=v[e+4>>2];if(e){continue}break}}b=0}if(!b){break h}b=b+20|0}c=wb(z,v[b>>2],m+12|0);e=v[m+12>>2];if(e){break g}v[c+4>>2]=b;v[c>>2]=j;v[c+8>>2]=v[b+4>>2];e=6;l:{j=v[h+64>>2];m:{if(j+2097151>>>0>4194302){break m}z=v[h+68>>2];if(z+2097151>>>0>4194302){break m}v[c+16>>2]=z<<10;v[c+12>>2]=j<<10;e=Ea[v[b+8>>2]](c,h)|0;if(!e){break l}b=v[c+4>>2]}h=v[v[c>>2]>>2];b=v[b+12>>2];if(b){Ea[b|0](c)}if(c){Ea[v[h+8>>2]](h,c)}break g}v[s>>2]=c;e=0;break g}e=18}Ca=m+16|0;if(e){b=v[i+20>>2];v[d>>2]=l;hb(b,2,364604,d);c=0;break d}n:{if(!(g&4)){e=v[d+44>>2];break n}v[d+36>>2]=0;v[d+24>>2]=0;v[d+32>>2]=65536;v[d+28>>2]=-65536;e=0;b=Qe(f,2);if(b){e=Qa(u[b+72>>1],v[v[f+88>>2]+20>>2])}ic(v[d+44>>2]+20|0,0,0-e|0);ee(v[d+44>>2]+20|0,d+24|0);ic(v[d+44>>2]+20|0,v[v[f+84>>2]+52>>2],e);e=v[d+44>>2];v[e+12>>2]=v[v[f+84>>2]+60>>2]}h=Qe(f,2);i=Qe(f,5);o:{if(!(g&3)){break o}b=e+20|0;j=g&2;g=g&1;c=(j<<1)+(g<<2)|0;if(u[b+2>>1]>(c^32767)){break o}v[164114]=0;Q=e,R=Xb(v[e+24>>2],c+u[e+22>>1]|0,8),v[Q+24>>2]=R;if(v[164114]){break o}v[164114]=0;Q=e,R=Xb(v[e+28>>2],c+u[e+22>>1]|0,1),v[Q+28>>2]=R;if(v[164114]){break o}c=g+(j>>>1|0)|0;if(u[b>>1]>(c^32767)){break o}v[164114]=0;Q=e,R=Xb(v[e+32>>2],c+u[e+20>>1]|0,2),v[Q+32>>2]=R;if(v[164114]){break o}e=v[e+12>>2]+512>>10;c=v[v[f+88>>2]+20>>2];f=pi(b);if(!(!g|!i)){g=Qa(u[i+8>>1],c);i=Qa(u[i+10>>1],(c|0)/2|0);if((g|0)>0|(i|0)<1){break o}Su(b,e,f,g,i)}if(!j|!h){break o}g=Qa(u[h+28>>1],c);c=Qa(u[h+26>>1],(c|0)/2|0);if((g|0)<0|(c|0)<1){break o}Su(b,e,f,g,c)}c=v[d+44>>2]}Ca=d+48|0;if(!c){break b}f=o+4|0;b=1;d=c;p:{q:{if((d|0)==-20){break q}c=u[d+22>>1];if(!c){break q}b=Va(c<<4);v[f+16>>2]=b;e=Va(c);v[f+20>>2]=e;r:{if(!(e?b:0)){Pa(b);break r}v[f+12>>2]=c;e=0;v[f+8>>2]=0;v[f>>2]=0;b=1;v[f+4>>2]=c<<1;m=x[d+20>>1];if(!m){break p}s:{while(1){t:{h=u[v[d+32>>2]+(p<<1)>>1];if(h>>>0<e>>>0|(h|0)>=u[d+22>>1]){break t}u:{if(h-e>>>0<=1){e=h+1|0;break u}g=v[d+24>>2];i=e<<3;c=g+i|0;m=v[c>>2];b=m>>31;if((b^b+m)>>>0>268435455){break t}c=v[c+4>>2];b=c>>31;if((b^b+c)>>>0>268435455){break t}E=0;b=0;v:{w:{l=v[d+28>>2];switch(w[l+e|0]&3){case 1:break v;case 0:break w;default:break t}}g=g+(h<<3)|0;j=v[g>>2];b=j>>31;if((b^b+j)>>>0>268435455){break t}g=v[g+4>>2];b=g>>31;if((b^b+g)>>>0>268435455){break t}b=1;g=0-g|0;E=1;x:{switch(w[h+l|0]&3){case 0:g=g-c>>1;j=j+m>>1;E=0;break;case 1:break x;default:break t}}c=v[f>>2];v[f>>2]=c+1;c=v[f+16>>2]+(c<<3)|0;v[c+4>>2]=g;v[c>>2]=j;g=i+v[d+24>>2]|0;c=v[g+4>>2];m=v[g>>2]}g=v[f>>2];v[f>>2]=g+1;g=v[f+16>>2]+(g<<3)|0;j=0-c|0;v[g+4>>2]=j;v[g>>2]=m;e=e+1|0;if(h>>>0>=e>>>0){while(1){g=e<<3;i=g+v[d+24>>2]|0;l=v[i>>2];c=l>>31;if((c^c+l)>>>0>268435455){break s}i=v[i+4>>2];c=i>>31;if((c^c+i)>>>0>268435455){break s}y:{z:{switch(w[v[d+28>>2]+e|0]&3){case 1:A:{switch(b|0){case 0:b=v[f+8>>2];v[f+8>>2]=b+1;t[b+v[f+20>>2]|0]=1;b=0;break y;case 1:b=v[f+8>>2];v[f+8>>2]=b+1;t[b+v[f+20>>2]|0]=2;b=0;break y;case 3:break A;default:break s}}b=v[f+8>>2];v[f+8>>2]=b+1;t[b+v[f+20>>2]|0]=3;b=0;break y;case 0:c=b;b=1;B:{switch(c|0){case 0:break y;case 1:break B;default:break s}}c=v[f+8>>2];v[f+8>>2]=c+1;t[c+v[f+20>>2]|0]=2;c=g+v[d+24>>2]|0;i=v[c>>2];c=v[c+4>>2];l=v[f>>2];v[f>>2]=l+1;l=v[f+16>>2]+(l<<3)|0;v[l+4>>2]=j-c>>1;v[l>>2]=i+m>>1;break y;case 2:break z;default:break s}}c=b;b=2;C:{switch(c|0){case 0:break y;case 2:break C;default:break t}}b=3}c=g+v[d+24>>2]|0;m=v[c>>2];c=v[c+4>>2];g=v[f>>2];v[f>>2]=g+1;g=v[f+16>>2]+(g<<3)|0;j=0-c|0;v[g+4>>2]=j;v[g>>2]=m;e=e+1|0;if(h>>>0>=e>>>0){continue}break}}D:{E:{switch(b|0){case 0:if(E){v[f>>2]=v[f>>2]-1;break D}b=v[f+8>>2];v[f+8>>2]=b+1;t[b+v[f+20>>2]|0]=1;break D;case 1:b=v[f+8>>2];v[f+8>>2]=b+1;t[b+v[f+20>>2]|0]=2;break D;case 3:break E;default:break s}}b=v[f+8>>2];v[f+8>>2]=b+1;t[b+v[f+20>>2]|0]=3}b=(v[f+8>>2]+v[f+20>>2]|0)-1|0;t[b|0]=w[b|0]|4;m=x[d+20>>1]}b=1;p=p+1|0;if(p>>>0<m<<16>>16>>>0){continue}break p}break}if(f){break s}b=0;break p}Pa(v[f+16>>2]);e=v[f+20>>2]}Pa(e);b=0}v[f>>2]=0;v[f+4>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0}if(!b){break a}v[o+68>>2]=v[d+12>>2]+512>>10;if(d){b=v[v[d>>2]>>2];c=v[v[d+4>>2]+12>>2];if(c){Ea[c|0](d)}if(d){Ea[v[b+8>>2]](b,d)}}a=v[(v[a+8>>2]+(v[a+24>>2]<<2)|0)+68>>2];b=v[v[a+88>>2]+20>>2];Q=o,R=Qa(u[a+70>>1],b),v[Q+72>>2]=R;Q=o,R=Qa(0-u[a+72>>1]|0,b),v[Q+76>>2]=R;break b;case 1:j=n+8|0;e=v[a+8>>2];s=v[c>>2];b=0;a=0;i=Ca-48|0;Ca=i;l=o+4|0;F:{if(!Eu(l,100,100)){break F}v[j+12>>2]=-2147483648;v[j>>2]=2147483647;v[j+4>>2]=2147483647;v[j+8>>2]=-2147483648;v[i+40>>2]=e;G:{H:{if(!e){break H}F=w[e|0];if(!F){break H}b=-1;while(1){c=b;d=e;I:{J:{if(!(!m|(F|0)!=99)){p=0;e=v[m+12>>2];if(!e|v[e>>2]!=5){break I}e=v[e+12>>2];if(e){break J}break I}K:{L:{M:{switch(p|0){case 0:k=lb(d,i+40|0);e=v[i+40>>2];if((e|0)==(d|0)){break L}d=e-1|0;v[i+40>>2]=d;p=1;k=hQ(k*64);N:{if(D(k)<2147483648){g=~~k;break N}g=-2147483648}break I;case 1:break M;default:break L}}k=lb(d,i+40|0);e=v[i+40>>2];if((e|0)!=(d|0)){break K}}p=0;b=0;O:{switch(w[d|0]-98|0){case 12:b=1;break I;case 10:b=2;break I;case 0:b=3;break I;case 15:b=4;break I;case 17:b=5;break I;case 11:break I;default:break O}}b=c;break I}b=-1;d=e-1|0;v[i+40>>2]=d;k=hQ(k*64);P:{if(D(k)<2147483648){f=~~k;break P}f=-2147483648}if((c|0)==-1){p=2;break I}p=0;e=eb(1,20);Q:{if(!a){h=0;a=e;break Q}v[h+12>>2]=e;v[e+16>>2]=h}v[e+4>>2]=g;v[e>>2]=c;v[e+8>>2]=f;b=(c|0)!=5|(m|0)!=0;m=b?m:h;b=b?c:5;h=e;break I}if(!e|v[e>>2]!=5){break I}b=eb(1,20);v[h+12>>2]=b;v[b>>2]=5;v[b+16>>2]=h;e=v[m+8>>2];v[b+4>>2]=v[m+4>>2];v[b+8>>2]=e;f=v[m+12>>2];e=eb(1,20);v[b+12>>2]=e;v[e>>2]=5;v[e+16>>2]=b;b=v[f+8>>2];v[e+4>>2]=v[f+4>>2];v[e+8>>2]=b;b=v[f+12>>2];h=eb(1,20);v[e+12>>2]=h;v[h>>2]=5;v[h+16>>2]=e;e=v[b+8>>2];v[h+4>>2]=v[b+4>>2];v[h+8>>2]=e;b=c;m=0}e=d+1|0;v[i+40>>2]=e;F=w[d+1|0];if(F){continue}break}v[i+40>>2]=0;v[i+44>>2]=0;e=0;if(!a){c=1;a=0;break G}c=!a;d=a;R:{while(1){S:{T:{U:{V:{W:{switch(v[d>>2]){case 0:h=v[d+8>>2];b=v[d+4>>2];v[i+40>>2]=b;v[i+44>>2]=h;g=v[j>>2];v[j>>2]=(b|0)<(g|0)?b:g;g=v[j+8>>2];v[j+8>>2]=(b|0)<(g|0)?g:b;b=h;f=v[j+4>>2];v[j+4>>2]=(b|0)<(f|0)?b:f;f=v[j+12>>2];v[j+12>>2]=(b|0)<(f|0)?f:b;if(e&1){if(!Bu(l)){break R}if(!Au(l)){break R}}e=0;d=v[d+12>>2];if(d){continue}break G;case 2:h=v[d+8>>2];b=v[d+4>>2];v[i+32>>2]=b;v[i+36>>2]=h;g=v[j>>2];v[j>>2]=(b|0)<(g|0)?b:g;g=v[j+8>>2];v[j+8>>2]=(b|0)<(g|0)?g:b;b=h;f=v[j+4>>2];v[j+4>>2]=(b|0)<(f|0)?b:f;f=v[j+12>>2];v[j+12>>2]=(b|0)<(f|0)?f:b;if(!(e&1)){b=v[i+44>>2];v[i+24>>2]=v[i+40>>2];v[i+28>>2]=b;if(!Gb(l,i+24|0,0)){break R}}b=v[i+36>>2];v[i+16>>2]=v[i+32>>2];v[i+20>>2]=b;if(!Gb(l,i+16|0,1)){break R}break U;case 3:b=v[d+12>>2];if(!b|v[b>>2]!=3){break V}b=v[b+12>>2];if(!b|v[b>>2]!=3){break V}b=v[d+16>>2];if(!b){break V}if(!yu(l,j,b,0,e&1)){break R}d=v[v[v[d+12>>2]+12>>2]+12>>2];break T;case 1:h=v[d+8>>2];b=v[d+4>>2];v[i+40>>2]=b;v[i+44>>2]=h;g=v[j>>2];v[j>>2]=(b|0)<(g|0)?b:g;g=v[j+8>>2];v[j+8>>2]=(b|0)<(g|0)?g:b;b=h;f=v[j+4>>2];v[j+4>>2]=(b|0)<(f|0)?b:f;f=v[j+12>>2];v[j+12>>2]=(b|0)<(f|0)?f:b;break V;case 5:break W;default:break V}}b=v[d+12>>2];if(!b|v[b>>2]!=5){break V}b=v[b+12>>2];if(!b|v[b>>2]!=5){break V}b=v[d+16>>2];if(!b){break V}if(yu(l,j,b,1,e&1)){break U}break R}d=v[d+12>>2];if(d){continue}break S}d=v[d+12>>2]}e=1;if(d){continue}}break}if(!(e&1)){break G}if(!Bu(l)){break R}if(Au(l)){break G}}while(1){b=v[a+12>>2];Pa(a);a=b;if(b){continue}break}$e(l);b=0;break F}v[i+40>>2]=0;v[i+44>>2]=0;c=1}if(s){b=v[l>>2];v[i+4>>2]=v[l+8>>2];v[i>>2]=b;hb(s,6,446714,i)}b=1;if(c){break F}while(1){c=v[a+12>>2];Pa(a);a=c;if(c){continue}break}}Ca=i+48|0;if(!b){break a}v[o+68>>2]=v[n+16>>2]-v[n+8>>2];a=v[n+12>>2];b=v[n+20>>2];v[o+76>>2]=0;v[o+72>>2]=b-a;break b;case 2:if(!(v[a+24>>2]?1:v[a+20>>2])){break b}m=v[a+8>>2];if(!v[m+4>>2]){break b}b=v[a+12>>2];d=v[a+16>>2];X:{Y:{if(m+4|0){h=v[m+4>>2];if(h){break Y}}v[n+8>>2]=0;v[n+12>>2]=0;v[n+24>>2]=0;v[n+28>>2]=0;v[n+16>>2]=0;v[n+20>>2]=0;b=1;break X}if((b|0)>=1){e=(b|0)<32?268435455>>>b|0:0}else{b=(b|0)>-32?b:-32;e=268435455}f=e;if((d|0)>=1){g=(d|0)<32?268435455>>>d|0:0}else{d=(d|0)>-32?d:-32;g=268435455}if(!(g?f:0)){v[n+8>>2]=0;v[n+12>>2]=0;v[n+24>>2]=0;v[n+28>>2]=0;v[n+16>>2]=0;v[n+20>>2]=0;b=0;break X}f=v[m+12>>2];l=Va(h<<3);v[n+24>>2]=l;s=Va(f);v[n+28>>2]=s;if(!(s?l:0)){Pa(l);Pa(s);v[n+24>>2]=0;v[n+28>>2]=0;v[n+16>>2]=0;v[n+20>>2]=0;v[n+8>>2]=0;v[n+12>>2]=0;b=0;break X}v[n+20>>2]=f;v[n+12>>2]=h;v[n+16>>2]=0;v[n+8>>2]=0;Z:{_:{z=v[m+4>>2];if(!z){break _}j=1;E=v[m+20>>2];h=v[E>>2];f=h>>31;$:{if((e|0)<(f^f+h)){break $}d=d+32|0;i=b+32|0;b=0;while(1){G=b<<3;f=v[(G+E|0)+4>>2];p=f>>31;if((g|0)<(p^f+p)){break $}H=f>>31;p=f;j=d&31;if((d&63)>>>0>=32){f=p<<j}else{f=(1<<j)-1&p>>>32-j|H<<j}G=l+G|0;v[G+4>>2]=f;p=h>>31;j=h;f=i;h=f&31;if((f&63)>>>0>=32){f=j<<h}else{f=(1<<h)-1&j>>>32-h|p<<h}v[G>>2]=f;b=b+1|0;j=z>>>0>b>>>0;if((b|0)==(z|0)){break _}h=v[E+(b<<3)>>2];f=h>>31;if((e|0)>=(f^f+h)){continue}break}}Pa(l);Pa(s);v[n+24>>2]=0;v[n+28>>2]=0;v[n+16>>2]=0;v[n+20>>2]=0;v[n+8>>2]=0;v[n+12>>2]=0;break Z}b=v[m+12>>2];Ta(s,v[m+24>>2],b);v[n+16>>2]=b;v[n+8>>2]=z}b=!j}if(!b){break a}N=o+28|0;b=N;f=v[a+20>>2]<<4;h=v[a+24>>2]<<4;d=Ca-384|0;Ca=d;g=v[n+16>>2];G=o+4|0;a=G;i=v[n+8>>2];e=Va(i<<4);v[a+16>>2]=e;j=g<<1;g=Va(j);v[a+20>>2]=g;aa:{if(!(g?e:0)){Pa(e);Pa(g);v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=0;break aa}v[a+12>>2]=j;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=i<<1}g=v[n+16>>2];i=v[n+8>>2];e=Va(i<<4);v[b+16>>2]=e;j=g<<1;g=Va(j);v[b+20>>2]=g;ba:{ca:{da:{ea:{if(!(!e|!g)){v[b+12>>2]=j;e=0;v[b+8>>2]=0;v[b>>2]=0;g=i<<1;v[b+4>>2]=g;if(!v[a+4>>2]|!g){break ea}g=(f|0)>(h|0)?f:h;if(!((g|0)<16|(g|0)>=268435456)){t[d+68|0]=1;v[d+24>>2]=0;v[d+28>>2]=0;v[d+20>>2]=b;v[d+16>>2]=a;A[d+40>>3]=h|0;A[d+32>>3]=f|0;v[d+64>>2]=16;k=16/+(g|0);A[d+144>>3]=k*.25;A[d+128>>3]=1-k;A[d+160>>3]=k*(k*390);A[d+56>>3]=1/+(((h|0)<16?16:h)|0);A[d+48>>3]=1/+(((f|0)<16?16:f)|0);q=k+1;A[d+152>>3]=q*(q*8);r=K(k+k);A[d+168>>3]=r;A[d+136>>3]=k*8+1+q*-4*r;a=v[n+24>>2];fa:{f=v[n+8>>2];if(f){while(1){h=(e<<3)+a|0;g=v[h>>2];b=g>>31;if((b^b+g)>>>0>268435455){break fa}h=v[h+4>>2];b=h>>31;if((b^b+h)>>>0>=268435456){break fa}e=e+1|0;if((f|0)!=(e|0)){continue}break}}ga:{ha:{if(v[n+16>>2]){b=a;while(1){if((a|0)==(b|0)){e=v[a+4>>2];v[d+120>>2]=v[a>>2];v[d+124>>2]=e}e=w[v[n+28>>2]+F|0];f=e&3;a=(f<<3)+a|0;P=e&4;g=P?b:a;e=0;ia:{ja:{ka:{switch(f-1|0){case 0:if(fg(d+16|0,v[g>>2],v[g+4>>2])){break ia}break ea;case 1:h=a-8|0;e=v[h+4>>2];m=e-v[d+124>>2]|0;f=v[g+4>>2];j=v[g>>2];s=v[h>>2];z=s-v[d+120>>2]|0;h=v[d+64>>2];g=0-h|0;if(!((z|0)<=(g|0)|(h|0)<=(z|0)|((h|0)<=(m|0)|(g|0)>=(m|0)))){if(fg(d+16|0,j,f)){break ia}e=0;break ea}l=f-e|0;p=j-s|0;if(!((p|0)<=(g|0)|(h|0)<=(p|0)|((h|0)<=(l|0)|(g|0)>=(l|0)))){if(fg(d+16|0,j,f)){break ia}e=0;break ea}i=v[d+124>>2];g=i;h=v[d+120>>2];v[d+224>>2]=h;v[d+228>>2]=g;v[d+120>>2]=j;v[d+124>>2]=f;v[d+240>>2]=j;v[d+244>>2]=f;v[d+232>>2]=s;v[d+236>>2]=e;C=A[d+48>>3];k=C*+(0-p|0);A[d+200>>3]=k;r=A[d+56>>3];q=r*+(l|0);A[d+192>>3]=q;r=r*+(m|0);A[d+176>>3]=r;C=C*+(0-z|0);A[d+184>>3]=C;I=K(q*q+k*k);A[d+296>>3]=I;J=k;k=1/I;A[d+288>>3]=J*k;A[d+280>>3]=q*k;k=K(r*r+C*C);A[d+272>>3]=k;k=1/k;q=C*k;A[d+264>>3]=q;k=r*k;A[d+256>>3]=k;f=w[d+68|0];if(Ig(d+16|0,h,g,k,q,3)){break ja}e=0;break ea;case 2:break ka;default:break ea}}e=a-16|0;j=v[e+4>>2];s=v[d+124>>2];h=j-s|0;f=v[g+4>>2];i=a-8|0;H=v[i>>2];i=v[i+4>>2];z=v[g>>2];p=9;la:{M=v[e>>2];e=v[d+120>>2];E=M-e|0;m=v[d+64>>2];l=0-m|0;if((E|0)<=(l|0)|(m|0)<=(E|0)|((h|0)<=(l|0)|(h|0)>=(m|0))){break la}h=i-s|0;p=8;E=H-e|0;if((l|0)>=(E|0)|(m|0)<=(E|0)|((h|0)<=(l|0)|(h|0)>=(m|0))){break la}if(fg(d+16|0,z,f)){break ia}e=0;break ea}e=f-i|0;ma:{g=z-H|0;if((l|0)>=(g|0)|(g|0)>=(m|0)|((e|0)<=(l|0)|(e|0)>=(m|0))){break ma}e=f-j|0;g=z-M|0;if(!((l|0)>=(g|0)|(g|0)>=(m|0)|((e|0)<=(l|0)|(e|0)>=(m|0)))){if(fg(d+16|0,z,f)){break ia}e=0;break ea}p=p|4;if((p|0)!=12){break ma}if(fg(d+16|0,z,f)){break ia}e=0;break ea}l=v[d+124>>2];s=l;m=v[d+120>>2];v[d+224>>2]=m;v[d+228>>2]=l;l=z;v[d+248>>2]=l;v[d+252>>2]=f;v[d+240>>2]=H;v[d+244>>2]=i;v[d+232>>2]=M;v[d+236>>2]=j;v[d+120>>2]=l;v[d+124>>2]=f;f=(d+224|0)+((p&3)<<3)|0;i=v[f+4>>2];j=(d+224|0)+(p<<1&24)|0;l=v[j+4>>2];C=A[d+48>>3];A[d+280>>3]=C*+(v[f>>2]-v[j>>2]|0);r=A[d+56>>3];A[d+272>>3]=r*+(l-i|0);k=C*+(0-g|0);A[d+296>>3]=k;q=r*+(e|0);A[d+288>>3]=q;r=r*+(h|0);A[d+256>>3]=r;C=C*+(0-E|0);A[d+264>>3]=C;I=K(q*q+k*k);A[d+216>>3]=I;J=k;k=1/I;A[d+208>>3]=J*k;A[d+200>>3]=q*k;k=K(r*r+C*C);A[d+192>>3]=k;k=1/k;q=C*k;A[d+184>>3]=q;k=r*k;A[d+176>>3]=k;f=w[d+68|0];if(!Ig(d+16|0,m,s,k,q,3)){e=0;break ea}e=0;if(!Ch(d+16|0,d+224|0,d+256|0,d+176|0,3,(f|0)!=0)){break ea}break ia}e=0;if(!Dm(d+16|0,d+224|0,d+176|0,d+256|0,3,(f|0)!=0)){break ea}}b=P?a:b;j=(b|0)!=(a|0);if(!j){m=w[d+68|0];na:{if(m){k=0;f=v[d+124>>2];h=v[d+120>>2];q=1;e=15;r=A[d+136>>3];if(r>0){while(1){oa:{k=k+1;q=.7071067811865476/K(k);A[(d+256|0)+(e<<3)>>3]=q;e=e-1|0;k=k*q;if(!(r>k)){break oa}if(e){continue}}break}q=k+1}g=(d+256|0)+(e<<3)|0;A[g>>3]=1/q;pa:{i=15-e|0;qa:{if(!_e(d+16|0,h,f,1,0,0,1,g,i,1)){break qa}if(!_e(d+16|0,h,f,0,1,-1,0,g,i,1)){break qa}if(_e(d+16|0,h,f,-1,0,0,-1,g,i,1)){break pa}}e=0;break ea}e=0;if(_e(d+16|0,h,f,0,-1,1,0,g,i,1)){break na}break ea}if(!fg(d+16|0,v[d+112>>2],v[d+116>>2])){e=0;break ea}if(!Ig(d+16|0,v[d+112>>2],v[d+116>>2],A[d+80>>3],A[d+88>>3],3)){e=0;break ea}h=v[d+72>>2]&(v[d+76>>2]^-1);k=A[d+88>>3]*A[d+40>>3];ra:{if(D(k)<2147483648){e=~~k;break ra}e=-2147483648}l=h&1;k=A[d+80>>3]*A[d+32>>3];sa:{if(D(k)<2147483648){f=~~k;break sa}f=-2147483648}g=v[d+116>>2];i=v[d+112>>2];ta:{if(!l){break ta}v[d+260>>2]=e+g;v[d+256>>2]=f+i;l=v[d+260>>2];v[d+8>>2]=v[d+256>>2];v[d+12>>2]=l;if(Gb(v[d+16>>2],d+8|0,1)){break ta}e=0;break ea}if(h&2){v[d+260>>2]=g-e;v[d+256>>2]=i-f;e=v[d+260>>2];v[d>>2]=v[d+256>>2];v[d+4>>2]=e;e=0;if(!Gb(v[d+20>>2],d,1)){break ea}}q=A[d+96>>3];k=A[d+104>>3];ua:{if(k==A[d+88>>3]?q==A[d+80>>3]:0){break ua}h=(v[d+76>>2]^-1)&(v[d+72>>2]^-1);k=k*A[d+40>>3];va:{if(D(k)<2147483648){e=~~k;break va}e=-2147483648}l=h&1;k=q*A[d+32>>3];wa:{if(D(k)<2147483648){f=~~k;break wa}f=-2147483648}g=v[d+116>>2];i=v[d+112>>2];if(l){l=v[v[d+16>>2]+16>>2]+(v[d+24>>2]<<3)|0;v[l+4>>2]=e+g;v[l>>2]=f+i}if(!(h&2)){break ua}h=v[v[d+20>>2]+16>>2]+(v[d+28>>2]<<3)|0;v[h+4>>2]=g-e;v[h>>2]=i-f}t[d+68|0]=1}e=v[d+16>>2];f=v[e+8>>2];if(!f){break da}e=(f+v[e+20>>2]|0)-1|0;f=w[e|0];if(f>>>0>=4){break ca}t[e|0]=f|4;if(!m){e=v[d+20>>2];f=v[e+8>>2];if(!f){break da}e=(f+v[e+20>>2]|0)-1|0;f=w[e|0];if(f>>>0>=4){break ga}t[e|0]=f|4}v[d+24>>2]=v[v[d+16>>2]>>2];v[d+28>>2]=v[v[d+20>>2]>>2]}F=F+1|0;if(F>>>0<y[n+16>>2]){continue}break}if(j){break ha}}e=1;if((v[n+24>>2]+(v[n+8>>2]<<3)|0)==(a|0)){break ea}}O(446661,446400,1479,446567);L()}break ca}O(446582,446400,1439,446567);L()}O(446534,446400,1414,446567);L()}Pa(e);Pa(g);v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;e=0}Ca=d+384|0;break ba}O(446380,446400,395,446444);L()}O(446466,446400,396,446444);L()}if(!e){hb(v[c>>2],2,365224,0);$e(G);$e(N);$e(n+8|0);break a}$e(n+8|0);break b;case 3:break c;default:break a}}if(!Eu(o+4|0,4,4)){break a}a=v[o+20>>2];v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=64;v[a+20>>2]=64;v[a+24>>2]=0;v[a+12>>2]=0;v[a+16>>2]=64;v[a+28>>2]=64;t[v[o+24>>2]]=1;t[v[o+24>>2]+1|0]=1;t[v[o+24>>2]+2|0]=1;t[v[o+24>>2]+3|0]=5;v[o+4>>2]=4;v[o+12>>2]=4}v[o+64>>2]=-2147483648;v[o+52>>2]=2147483647;v[o+56>>2]=2147483647;v[o+60>>2]=-2147483648;a=o+52|0;zu(o+4|0,a);zu(o+28|0,a);if(!(v[o+56>>2]<=v[o+64>>2]?v[o+52>>2]<=v[o+60>>2]:0)){v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}t[o|0]=1}Ca=n+32|0;return 1}function ai(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,y=0,z=0,A=0,B=0;o=e+2378|0;r=e+8|0;f=v[e+632>>2];h=e+2360|0;i=h;a:{b:{c:{d:{e:{while(1){f:{g:{h:{i:{j:{k:{l:{m:{n:{if(f){q=-31;switch(f-1|0){case 4:break i;case 3:break k;case 2:break l;case 1:break m;case 0:break n;default:break a}}g=v[e+12>>2];if(32-g>>>0>=2){l=v[r>>2];f=g;break g}q=2;j=v[e+20>>2];if(!j){break a}k=v[e+8>>2]>>>8|0;v[e+8>>2]=k;n=v[e+16>>2];m=w[n|0];s=j-1|0;v[e+20>>2]=s;f=g-8|0;v[e+12>>2]=f;v[e+16>>2]=n+1;l=k|m<<24;v[e+8>>2]=l;if(40-g>>>0<2){break j}break g}g=v[e+12>>2];break f}j=v[e+648>>2];p=v[e+636>>2];break e}j=v[e+648>>2];break d}j=v[e+656>>2];m=v[e+652>>2];l=v[e+636>>2];o:{if(l>>>0>17){break o}f=v[e+12>>2];while(1){p:{q:{r:{if(32-f>>>0>=4){g=v[e+8>>2];k=f;break r}a=v[e+20>>2];if(!a){k=f;break q}g=v[e+8>>2]>>>8|0;v[e+8>>2]=g;i=v[e+16>>2];n=w[i|0];q=a-1|0;v[e+20>>2]=q;k=f-8|0;v[e+12>>2]=k;v[e+16>>2]=i+1;g=g|n<<24;v[e+8>>2]=g;if(40-f>>>0>=4){break r}if(!q){break q}g=v[e+8>>2]>>>8|0;v[e+8>>2]=g;i=v[e+16>>2];n=w[i|0];v[e+20>>2]=a-2;k=f-16|0;v[e+12>>2]=k;v[e+16>>2]=i+1;g=g|n<<24;v[e+8>>2]=g}g=g>>>k&15;f=w[g+155584|0];break p}a=32-k|0;g=a?v[e+8>>2]>>>k&15:0;f=w[g+155584|0];if(f>>>0<=a>>>0){break p}v[e+656>>2]=j;v[e+652>>2]=m;v[e+636>>2]=l;v[e+632>>2]=4;return 2}f=f+k|0;v[e+12>>2]=f;a=w[g+155600|0];t[(w[l+155552|0]+e|0)+2360|0]=a;if(!(4369>>>g&1)){g=((a<<1)+e|0)+2378|0;u[g>>1]=x[g>>1]+1;m=m+1|0;j=j-(32>>>a|0)|0;if(j-1>>>0>31){break o}}l=l+1|0;if((l|0)!=18){continue}break}}if((m|0)!=1){q=-6;if(j){break a}}g=e+660|0;j=0;i=Ca-112|0;a=x[o+2>>1]-1|0;v[i+4>>2]=a;a=a+x[o+4>>1]|0;v[i+8>>2]=a;a=a+x[o+6>>1]|0;v[i+12>>2]=a;a=a+x[o+8>>1]|0;v[i+16>>2]=a;f=x[o+10>>1];v[i>>2]=17;v[i+20>>2]=a+f;f=i+(w[h+17|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;v[(i+32|0)+(a<<2)>>2]=17;f=i+(w[h+16|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;v[(i+32|0)+(a<<2)>>2]=16;f=i+(w[h+15|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;v[(i+32|0)+(a<<2)>>2]=15;f=i+(w[h+14|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;v[(i+32|0)+(a<<2)>>2]=14;f=i+(w[h+13|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;v[(i+32|0)+(a<<2)>>2]=13;f=i+(w[h+12|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;v[(i+32|0)+(a<<2)>>2]=12;f=i+(w[h+11|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;v[(i+32|0)+(a<<2)>>2]=11;f=i+(w[h+10|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;v[(i+32|0)+(a<<2)>>2]=10;f=i+(w[h+9|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;v[(i+32|0)+(a<<2)>>2]=9;f=i+(w[h+8|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;v[(i+32|0)+(a<<2)>>2]=8;f=i+(w[h+7|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;v[(i+32|0)+(a<<2)>>2]=7;f=i+(w[h+6|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;v[(i+32|0)+(a<<2)>>2]=6;f=i+(w[h+5|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;v[(i+32|0)+(a<<2)>>2]=5;f=i+(w[h+4|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;v[(i+32|0)+(a<<2)>>2]=4;f=i+(w[h+3|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;v[(i+32|0)+(a<<2)>>2]=3;f=i+(w[h+2|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;v[(i+32|0)+(a<<2)>>2]=2;f=i+(w[h+1|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;v[(i+32|0)+(a<<2)>>2]=1;f=i+(w[h|0]<<2)|0;a=v[f>>2];v[f>>2]=a-1;k=0;v[(i+32|0)+(a<<2)>>2]=0;s:{t:{u:{v:{if(v[i>>2]){a=x[o+2>>1];if(a){while(1){f=g+(w[k+155296|0]<<2)|0;h=v[(i+32|0)+(j<<2)>>2]<<16|1;u[f+112>>1]=h;u[f+114>>1]=h>>>16;u[f+120>>1]=h;u[f+122>>1]=h>>>16;u[f+104>>1]=h;u[f+106>>1]=h>>>16;u[f+96>>1]=h;u[f+98>>1]=h>>>16;u[f+88>>1]=h;u[f+90>>1]=h>>>16;u[f+80>>1]=h;u[f+82>>1]=h>>>16;u[f+72>>1]=h;u[f+74>>1]=h>>>16;u[f+64>>1]=h;u[f+66>>1]=h>>>16;u[f+56>>1]=h;u[f+58>>1]=h>>>16;u[f+48>>1]=h;u[f+50>>1]=h>>>16;u[f+40>>1]=h;u[f+42>>1]=h>>>16;u[f+32>>1]=h;u[f+34>>1]=h>>>16;u[f+24>>1]=h;u[f+26>>1]=h>>>16;u[f+16>>1]=h;u[f+18>>1]=h>>>16;u[f+8>>1]=h;u[f+10>>1]=h>>>16;u[f>>1]=h;u[f+2>>1]=h>>>16;k=k+128|0;j=j+1|0;a=a-1|0;if(a){continue}break}}a=x[o+4>>1];if(a){while(1){f=g+(w[k+155296|0]<<2)|0;h=v[(i+32|0)+(j<<2)>>2]<<16|2;u[f+96>>1]=h;u[f+98>>1]=h>>>16;u[f+112>>1]=h;u[f+114>>1]=h>>>16;u[f+80>>1]=h;u[f+82>>1]=h>>>16;u[f+64>>1]=h;u[f+66>>1]=h>>>16;u[f+48>>1]=h;u[f+50>>1]=h>>>16;u[f+32>>1]=h;u[f+34>>1]=h>>>16;u[f+16>>1]=h;u[f+18>>1]=h>>>16;u[f>>1]=h;u[f+2>>1]=h>>>16;k=k- -64|0;j=j+1|0;a=a-1|0;if(a){continue}break}}f=x[o+6>>1];if(!f){break t}if(f&1){break v}a=f;break u}a=v[i+32>>2]<<16;u[g+124>>1]=a;u[g+126>>1]=a>>>16;u[g+120>>1]=a;u[g+122>>1]=a>>>16;u[g+116>>1]=a;u[g+118>>1]=a>>>16;u[g+112>>1]=a;u[g+114>>1]=a>>>16;u[g+108>>1]=a;u[g+110>>1]=a>>>16;u[g+104>>1]=a;u[g+106>>1]=a>>>16;u[g+100>>1]=a;u[g+102>>1]=a>>>16;u[g+96>>1]=a;u[g+98>>1]=a>>>16;u[g+92>>1]=a;u[g+94>>1]=a>>>16;u[g+88>>1]=a;u[g+90>>1]=a>>>16;u[g+84>>1]=a;u[g+86>>1]=a>>>16;u[g+80>>1]=a;u[g+82>>1]=a>>>16;u[g+76>>1]=a;u[g+78>>1]=a>>>16;u[g+72>>1]=a;u[g+74>>1]=a>>>16;u[g+68>>1]=a;u[g+70>>1]=a>>>16;u[g+64>>1]=a;u[g+66>>1]=a>>>16;u[g+60>>1]=a;u[g+62>>1]=a>>>16;u[g+56>>1]=a;u[g+58>>1]=a>>>16;u[g+52>>1]=a;u[g+54>>1]=a>>>16;u[g+48>>1]=a;u[g+50>>1]=a>>>16;u[g+44>>1]=a;u[g+46>>1]=a>>>16;u[g+40>>1]=a;u[g+42>>1]=a>>>16;u[g+36>>1]=a;u[g+38>>1]=a>>>16;u[g+32>>1]=a;u[g+34>>1]=a>>>16;u[g+28>>1]=a;u[g+30>>1]=a>>>16;u[g+24>>1]=a;u[g+26>>1]=a>>>16;u[g+20>>1]=a;u[g+22>>1]=a>>>16;u[g+16>>1]=a;u[g+18>>1]=a>>>16;u[g+12>>1]=a;u[g+14>>1]=a>>>16;u[g+8>>1]=a;u[g+10>>1]=a>>>16;u[g+4>>1]=a;u[g+6>>1]=a>>>16;u[g>>1]=a;u[g+2>>1]=a>>>16;break s}a=g+(w[k+155296|0]<<2)|0;h=v[(i+32|0)+(j<<2)>>2]<<16|3;u[a+64>>1]=h;u[a+66>>1]=h>>>16;u[a+96>>1]=h;u[a+98>>1]=h>>>16;u[a+32>>1]=h;u[a+34>>1]=h>>>16;u[a>>1]=h;u[a+2>>1]=h>>>16;k=k+32|0;j=j+1|0;a=f-1|0}if((f|0)==1){break t}while(1){f=g+(w[k+155296|0]<<2)|0;n=(i+32|0)+(j<<2)|0;h=v[n>>2]<<16|3;u[f+64>>1]=h;u[f+66>>1]=h>>>16;u[f+96>>1]=h;u[f+98>>1]=h>>>16;u[f+32>>1]=h;u[f+34>>1]=h>>>16;u[f>>1]=h;u[f+2>>1]=h>>>16;f=g+(w[k+155328|0]<<2)|0;h=v[n+4>>2]<<16|3;u[f+64>>1]=h;u[f+66>>1]=h>>>16;u[f+96>>1]=h;u[f+98>>1]=h>>>16;u[f+32>>1]=h;u[f+34>>1]=h>>>16;u[f>>1]=h;u[f+2>>1]=h>>>16;k=k- -64|0;j=j+2|0;a=a-2|0;if(a){continue}break}}f=x[o+8>>1];w:{if(!f){break w}if(f&1){a=g+(w[k+155296|0]<<2)|0;h=v[(i+32|0)+(j<<2)>>2]<<16|4;u[a>>1]=h;u[a+2>>1]=h>>>16;u[a+64>>1]=h;u[a+66>>1]=h>>>16;k=k+16|0;j=j+1|0;a=f-1|0}else{a=f}if((f|0)==1){break w}while(1){f=g+(w[k+155296|0]<<2)|0;n=(i+32|0)+(j<<2)|0;h=v[n>>2]<<16|4;u[f>>1]=h;u[f+2>>1]=h>>>16;u[f+64>>1]=h;u[f+66>>1]=h>>>16;f=g+(w[k+155312|0]<<2)|0;h=v[n+4>>2]<<16|4;u[f>>1]=h;u[f+2>>1]=h>>>16;u[f+64>>1]=h;u[f+66>>1]=h>>>16;k=k+32|0;j=j+2|0;a=a-2|0;if(a){continue}break}}f=x[o+10>>1];if(!f){break s}if(f&1){a=g+(w[k+155296|0]<<2)|0;h=v[(i+32|0)+(j<<2)>>2]<<16|5;u[a>>1]=h;u[a+2>>1]=h>>>16;k=k+8|0;j=j+1|0;a=f-1|0}else{a=f}if((f|0)==1){break s}while(1){f=g+(w[k+155296|0]<<2)|0;h=(i+32|0)+(j<<2)|0;n=v[h>>2]<<16|5;u[f>>1]=n;u[f+2>>1]=n>>>16;f=g+(w[k+155304|0]<<2)|0;h=v[h+4>>2]<<16|5;u[f>>1]=h;u[f+2>>1]=h>>>16;k=k+16|0;j=j+2|0;a=a-2|0;if(a){continue}break}}u[o+24>>1]=0;u[o+26>>1]=0;u[o+28>>1]=0;u[o+30>>1]=0;u[o+16>>1]=0;u[o+18>>1]=0;u[o+20>>1]=0;u[o+22>>1]=0;n=8;u[o+8>>1]=0;u[o+10>>1]=0;u[o+12>>1]=0;u[o+14>>1]=0;u[o>>1]=0;u[o+2>>1]=0;u[o+4>>1]=0;u[o+6>>1]=0;v[e+2232>>2]=-16;k=v[e+788>>2];u[k-32>>1]=65535;v[e+2236>>2]=-15;u[k-30>>1]=65535;v[e+2240>>2]=-14;u[k-28>>1]=65535;v[e+2244>>2]=-13;u[k-26>>1]=65535;v[e+2248>>2]=-12;u[k-24>>1]=65535;v[e+2252>>2]=-11;u[k-22>>1]=65535;v[e+2256>>2]=-10;u[k-20>>1]=65535;v[e+2260>>2]=-9;u[k-18>>1]=65535;v[e+2264>>2]=-8;u[k-16>>1]=65535;v[e+2268>>2]=-7;u[k-14>>1]=65535;v[e+2272>>2]=-6;u[k-12>>1]=65535;v[e+2276>>2]=-5;u[k-10>>1]=65535;v[e+2280>>2]=-4;u[k-8>>1]=65535;v[e+2284>>2]=-3;u[k-6>>1]=65535;v[e+2288>>2]=-2;u[k-4>>1]=65535;v[e+2292>>2]=-1;u[k-2>>1]=65535;v[e+648>>2]=0;v[e+652>>2]=0;m=32768;v[e+656>>2]=32768;v[e+640>>2]=0;v[e+644>>2]=8;v[e+632>>2]=5;i=0;f=0;break h}if(!s){break a}k=v[e+8>>2]>>>8|0;v[e+8>>2]=k;n=v[e+16>>2];m=w[n|0];v[e+20>>2]=j-2;f=g-16|0;v[e+12>>2]=f;v[e+16>>2]=n+1;l=k|m<<24;v[e+8>>2]=l;break g}k=v[e+788>>2];i=v[e+640>>2];n=v[e+644>>2];m=v[e+656>>2];p=v[e+652>>2];f=v[e+648>>2]}x:{y:{z:{if(!jk(r)){f=v[e+648>>2];break z}A:{if(!m|b>>>0<=f>>>0){break A}q=v[e+20>>2];r=e+624|0;while(1){if(q>>>0<=1){v[e+652>>2]=p;v[e+648>>2]=f;v[e+644>>2]=n;v[e+656>>2]=m;v[e+640>>2]=i;break z}a=v[e+8>>2];g=v[e+12>>2];if(g>>>0>=16){g=g^16;v[e+12>>2]=g;j=a>>>16|0;v[e+8>>2]=j;a=v[e+16>>2];h=w[a|0]|w[a+1|0]<<8;q=q-2|0;v[e+20>>2]=q;v[e+16>>2]=a+2;a=j|h<<16;v[e+8>>2]=a}j=g;g=((a>>>g&31)<<2)+e|0;j=j+w[g+660|0]|0;v[e+12>>2]=j;g=x[g+662>>1];B:{if(g>>>0<=15){if(g){a=(r+(g<<2)|0)+1608|0;u[(v[a>>2]<<1)+k>>1]=f;v[a>>2]=f;a=(r+(g<<1)|0)+1754|0;u[a>>1]=x[a>>1]+1;m=m-(32768>>>g|0)|0;n=g}h=f+1|0;p=0;break B}h=(g|0)==16;g=h?2:3;v[e+12>>2]=g+j;a=v[(g<<2)+29296>>2]&a>>>j;C:{D:{j=h?n:0;if((i|0)==(j|0)){if(p){break D}j=i}l=0;g=0;break C}l=p-2<<g;j=i;g=p}a=a+l|0;p=a+3|0;i=p-g|0;h=i+f|0;if(h>>>0>b>>>0){m=1048575;v[e+656>>2]=1048575;break y}if(!j){i=0;break B}l=a-g|0;s=l+2|0;y=((j<<2)+e|0)+2232|0;g=v[y>>2];l=l+3&7;if(l){while(1){a=f;u[(g<<1)+k>>1]=a;f=a+1|0;g=a;l=l-1|0;if(l){continue}break}}if(s>>>0>=7){while(1){u[(g<<1)+k>>1]=f;a=f+1|0;u[(f<<1)+k>>1]=a;g=(a<<1)+k|0;a=f+2|0;u[g>>1]=a;g=(a<<1)+k|0;a=f+3|0;u[g>>1]=a;g=(a<<1)+k|0;a=f+4|0;u[g>>1]=a;g=(a<<1)+k|0;a=f+5|0;u[g>>1]=a;g=(a<<1)+k|0;a=f+6|0;u[g>>1]=a;g=f+7|0;u[(a<<1)+k>>1]=g;a=g;f=f+8|0;if((h|0)!=(f|0)){continue}break}}v[y>>2]=a;a=((j<<1)+e|0)+2378|0;u[a>>1]=i+x[a>>1];m=m-(i<<15-j)|0;i=j}if(b>>>0<=h>>>0){break A}f=h;if(m){continue}break}}v[e+656>>2]=m;break y}m=v[e+656>>2];if(b>>>0<=f>>>0){break y}g=0;p=e+624|0;while(1){if(!m){break x}E:{if(!g){k=v[e+12>>2];break E}a=v[e+20>>2];if(!a){return 2}g=v[e+8>>2]>>>8|0;v[e+8>>2]=g;i=v[e+16>>2];j=w[i|0];k=v[e+12>>2]-8|0;v[e+12>>2]=k;v[e+20>>2]=a-1;v[e+16>>2]=i+1;v[e+8>>2]=g|j<<24}g=1;h=32-k|0;a=h?v[e+8>>2]>>>k|0:0;i=((a&31)<<2)+e|0;j=w[i+660|0];F:{if(j>>>0>h>>>0){break F}G:{i=x[i+662>>1];H:{if(i>>>0<=15){v[e+652>>2]=0;v[e+12>>2]=j+k;if(i){a=(p+(i<<2)|0)+1608|0;u[v[e+788>>2]+(v[a>>2]<<1)>>1]=f;v[a>>2]=f;m=m-(32768>>>i|0)|0;v[e+656>>2]=m;v[e+644>>2]=i;a=(p+(i<<1)|0)+1754|0;u[a>>1]=x[a>>1]+1}f=f+1|0;v[e+648>>2]=f;break H}z=h;h=i-14|0;n=h+j|0;if(z>>>0<n>>>0){break F}v[e+12>>2]=k+n;k=v[(h<<2)+29296>>2]&a>>>j;I:{J:{K:{if((i|0)!=16){j=3;g=0;break K}j=2;g=v[e+644>>2]}if((g|0)!=v[e+640>>2]){v[e+640>>2]=g;break J}a=v[e+652>>2];if(!a){break J}i=a-2<<j;break I}a=0;i=0}j=v[e+788>>2];h=i+k|0;i=h+3|0;v[e+652>>2]=i;k=i-a|0;i=k+f|0;if(i>>>0>b>>>0){v[e+656>>2]=1048575;v[e+648>>2]=b;return-7}if(!g){break G}h=h-a|0;n=h+2|0;m=((g<<2)+e|0)+2232|0;g=v[m>>2];l=h+3&7;if(l){while(1){a=f;u[j+(g<<1)>>1]=a;f=a+1|0;g=a;l=l-1|0;if(l){continue}break}}if(n>>>0>=7){while(1){u[j+(g<<1)>>1]=f;a=f+1|0;u[j+(f<<1)>>1]=a;g=j+(a<<1)|0;a=f+2|0;u[g>>1]=a;g=j+(a<<1)|0;a=f+3|0;u[g>>1]=a;g=j+(a<<1)|0;a=f+4|0;u[g>>1]=a;g=j+(a<<1)|0;a=f+5|0;u[g>>1]=a;g=j+(a<<1)|0;a=f+6|0;u[g>>1]=a;g=f+7|0;u[j+(a<<1)>>1]=g;a=g;f=f+8|0;if((i|0)!=(f|0)){continue}break}}v[e+648>>2]=i;v[m>>2]=a;a=v[e+640>>2];m=v[e+656>>2]-(k<<15-a)|0;v[e+656>>2]=m;a=((a<<1)+e|0)+2378|0;u[a>>1]=k+x[a>>1];f=v[e+648>>2]}g=0;break F}v[e+648>>2]=i;g=0;f=i}if(b>>>0>f>>>0){continue}break}}q=-7;if(m){break a}}k=v[e+788>>2];m=0;a=-1;while(1){b=a;a=a-1|0;if(x[k+(b<<1)>>1]==65535){continue}break}p=256;n=b+16|0;a=(n|0)<8;b=a?1<<n:256;a=a?n:8;q=(a|0)>1?a:1;l=128;h=2;f=1;while(1){j=x[o+(f<<1)>>1];if(j){i=f-16|0;while(1){r=(w[m+155296|0]<<2)+c|0;i=x[k+(i<<1)>>1];g=i<<16|f;a=b;while(1){a=a-h|0;s=r+(a<<2)|0;u[s>>1]=g;u[s+2>>1]=g>>>16;if((a|0)>0){continue}break}m=m+l|0;j=j-1|0;if(j){continue}break}}l=l>>>1|0;h=h<<1;a=(f|0)!=(q|0);f=f+1|0;if(a){continue}break}if((b|0)!=256){while(1){a=b<<2;Ta(a+c|0,c,a);b=b<<1;if((b|0)!=256){continue}break}}if((n|0)>8){q=128;j=256;r=2;b=256;f=8;i=c;while(1){a=f;f=a+1|0;s=o+(f<<1)|0;h=x[s>>1];L:{if(!h){break L}l=a-15|0;g=f-8|0;y=g&255;g=1<<g;if((a|0)<=13){while(1){if((j|0)==256){i=(b<<2)+i|0;a=f;b=a;h=g-(h&65535)|0;M:{if((h|0)<1){break M}while(1){b=15;a=a+1|0;if((a|0)==15){break M}b=a;h=(h<<1)-x[o+(a<<1)>>1]|0;if((h|0)>0){continue}break}}a=w[m+155296|0];j=(a<<2)+c|0;a=b&255|(i-c>>>2|0)-a<<16;u[j>>1]=a;u[j+2>>1]=a>>>16;m=m+1|0;b=1<<b-8;p=p+b|0;j=0}B=(w[j+155296|0]<<2)+i|0;l=x[k+(l<<1)>>1];h=y|l<<16;a=b;while(1){a=a-r|0;A=B+(a<<2)|0;u[A>>1]=h;u[A+2>>1]=h>>>16;if((a|0)>0){continue}break}h=x[s>>1]-1|0;u[s>>1]=h;j=j+q|0;if(h&65535){continue}break L}}B=f&255;while(1){if((j|0)==256){a=w[m+155296|0];j=(a<<2)+c|0;i=(b<<2)+i|0;a=B|(i-c>>>2|0)-a<<16;u[j>>1]=a;u[j+2>>1]=a>>>16;m=m+1|0;p=g+p|0;j=0;b=g}A=(w[j+155296|0]<<2)+i|0;l=x[k+(l<<1)>>1];h=y|l<<16;a=b;while(1){a=a-r|0;z=A+(a<<2)|0;u[z>>1]=h;u[z+2>>1]=h>>>16;if((a|0)>0){continue}break}a=x[s>>1]-1|0;u[s>>1]=a;j=j+q|0;if(a&65535){continue}break}}q=q>>>1|0;r=r<<1;if((f|0)!=(n|0)){continue}break}}break b}g=f+2|0;v[e+12>>2]=g;f=l>>>f&3;v[e+636>>2]=f;if((f|0)==1){break f}v[e+652>>2]=0;v[e+656>>2]=32;u[i+22>>1]=0;u[i+24>>1]=0;u[i+26>>1]=0;u[i+28>>1]=0;v[h+16>>2]=0;v[h+20>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;v[h>>2]=0;v[h+4>>2]=0;f=4;v[e+632>>2]=4;continue}break}N:{if(32-g>>>0>=2){k=v[r>>2];f=g;break N}O:{i=v[e+20>>2];if(!i){break O}j=v[e+8>>2]>>>8|0;v[e+8>>2]=j;p=v[e+16>>2];k=w[p|0];h=i-1|0;v[e+20>>2]=h;f=g-8|0;v[e+12>>2]=f;v[e+16>>2]=p+1;k=j|k<<24;v[e+8>>2]=k;if(40-g>>>0>=2){break N}if(!h){break O}j=v[e+8>>2]>>>8|0;v[e+8>>2]=j;p=v[e+16>>2];k=w[p|0];v[e+20>>2]=i-2;f=g-16|0;v[e+12>>2]=f;v[e+16>>2]=p+1;k=j|k<<24;v[e+8>>2]=k;break N}v[e+632>>2]=1;return 2}v[e+636>>2]=0;v[e+12>>2]=f+2;j=k>>>f&3;v[e+648>>2]=j;p=0}i=0;P:{if(j>>>0<p>>>0){break P}a=a-1|0;a=a?32-E(a)|0:0;h=(a<<2)+29296|0;f=v[e+12>>2];Q:{while(1){R:{if(a>>>0<=32-f>>>0){l=v[e+8>>2];g=f;break R}k=v[e+20>>2];while(1){if(!k){break Q}n=v[e+8>>2]>>>8|0;v[e+8>>2]=n;m=v[e+16>>2];o=w[m|0];k=k-1|0;v[e+20>>2]=k;g=f-8|0;v[e+12>>2]=g;v[e+16>>2]=m+1;l=n|o<<24;v[e+8>>2]=l;n=40-f|0;f=g;if(a>>>0>n>>>0){continue}break}}f=a+g|0;v[e+12>>2]=f;g=v[h>>2]&l>>>g;if(g>>>0<b>>>0){u[((p<<1)+e|0)+792>>1]=g;p=p+1|0;if(p>>>0>j>>>0){break P}continue}break}return-4}v[e+632>>2]=2;v[e+636>>2]=p;return 2}if(!j){j=0;break c}while(1){a=x[((i<<1)+e|0)+792>>1];i=i+1|0;f=i;S:{while(1){if((a|0)!=x[((f<<1)+e|0)+792>>1]){f=f+1|0;if(j>>>0>=f>>>0){continue}break S}break}return-5}if((i|0)!=(j|0)){continue}break}}if((j|0)!=3){break c}f=v[e+12>>2];T:{if((f|0)!=32){k=v[r>>2];break T}a=v[e+20>>2];if(!a){v[e+632>>2]=3;return 2}b=v[e+8>>2]>>>8|0;v[e+8>>2]=b;f=v[e+16>>2];g=w[f|0];v[e+20>>2]=a-1;v[e+16>>2]=f+1;f=24;k=b|g<<24;v[e+8>>2]=k}v[e+12>>2]=f+1;j=(k>>>f&1)+3|0;v[e+648>>2]=j}a=1;U:{V:{W:{X:{switch(j|0){case 0:b=x[e+792>>1]<<16;u[c>>1]=b;u[c+2>>1]=b>>>16;break U;case 1:a=x[e+794>>1];b=x[e+792>>1];if(a>>>0>b>>>0){a=b<<16|1;u[c>>1]=a;u[c+2>>1]=a>>>16;a=x[e+794>>1]<<16|1;u[c+4>>1]=a;u[c+6>>1]=a>>>16;a=2;break U}a=a<<16|1;u[c>>1]=a;u[c+2>>1]=a>>>16;a=x[e+792>>1]<<16|1;u[c+4>>1]=a;u[c+6>>1]=a>>>16;a=2;break U;case 2:a=x[e+792>>1]<<16|1;u[c>>1]=a;u[c+2>>1]=a>>>16;a=x[e+792>>1]<<16|1;u[c+8>>1]=a;u[c+10>>1]=a>>>16;a=x[e+796>>1];b=x[e+794>>1];if(a>>>0>b>>>0){a=b<<16|2;u[c+4>>1]=a;u[c+6>>1]=a>>>16;a=x[e+796>>1]<<16|2;u[c+12>>1]=a;u[c+14>>1]=a>>>16;a=4;break U}a=a<<16|2;u[c+4>>1]=a;u[c+6>>1]=a>>>16;a=x[e+794>>1]<<16|2;u[c+12>>1]=a;u[c+14>>1]=a>>>16;a=4;break U;case 3:a=x[e+794>>1];b=x[e+792>>1];Y:{if(a>>>0>=b>>>0){a=b;break Y}u[e+792>>1]=a;u[e+794>>1]=b}b=x[e+796>>1];if(b>>>0<a>>>0){break W}b=a;break V;case 4:break X;default:break U}}a=x[e+798>>1];b=x[e+796>>1];if(a>>>0<b>>>0){u[e+796>>1]=a;u[e+798>>1]=b}a=x[e+792>>1]<<16|1;u[c>>1]=a;u[c+2>>1]=a>>>16;a=x[e+794>>1]<<16|2;u[c+4>>1]=a;u[c+6>>1]=a>>>16;a=x[e+792>>1]<<16|1;u[c+8>>1]=a;u[c+10>>1]=a>>>16;a=x[e+796>>1]<<16|3;u[c+12>>1]=a;u[c+14>>1]=a>>>16;a=x[e+792>>1]<<16|1;u[c+16>>1]=a;u[c+18>>1]=a>>>16;a=x[e+794>>1]<<16|2;u[c+20>>1]=a;u[c+22>>1]=a>>>16;a=x[e+792>>1]<<16|1;u[c+24>>1]=a;u[c+26>>1]=a>>>16;a=x[e+798>>1]<<16|3;u[c+28>>1]=a;u[c+30>>1]=a>>>16;a=8;break U}u[e+792>>1]=b;u[e+796>>1]=a}a=x[e+798>>1];if(a>>>0<b>>>0){u[e+792>>1]=a;u[e+798>>1]=b}a=x[e+796>>1];b=x[e+794>>1];Z:{if(a>>>0>=b>>>0){a=b;break Z}u[e+794>>1]=a;u[e+796>>1]=b}b=x[e+798>>1];if(b>>>0<a>>>0){u[e+794>>1]=b;u[e+798>>1]=a}a=x[e+798>>1];b=x[e+796>>1];if(a>>>0<b>>>0){u[e+796>>1]=a;u[e+798>>1]=b}a=x[e+792>>1]<<16|2;u[c>>1]=a;u[c+2>>1]=a>>>16;a=x[e+794>>1]<<16|2;u[c+8>>1]=a;u[c+10>>1]=a>>>16;a=x[e+796>>1]<<16|2;u[c+4>>1]=a;u[c+6>>1]=a>>>16;a=x[e+798>>1]<<16|2;u[c+12>>1]=a;u[c+14>>1]=a>>>16;a=4}if((a|0)!=256){while(1){b=a<<2;Ta(b+c|0,c,b);a=a<<1;if((a|0)!=256){continue}break}}p=256}if(d){v[d>>2]=p}v[e+632>>2]=0;q=1}return q}function Aq(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,x=0,z=0,A=0,B=0,C=0,D=0;q=Ca-32|0;Ca=q;x=-2;a:{if(!a){break a}e=v[a+28>>2];if(!e|!v[a>>2]){break a}j=-5;s=(b|0)==4?-5:0;while(1){b=1;r=-3;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{switch(v[e>>2]){case 0:b=j;c=v[a+4>>2];if(!c){break e}v[a+4>>2]=c-1;v[a+8>>2]=v[a+8>>2]+1;b=v[a>>2];v[a>>2]=b+1;b=w[b|0];v[e+4>>2]=b;e=v[a+28>>2];if((b&15)!=8){v[e>>2]=13;v[a+24>>2]=19752;break c}if(y[e+16>>2]<(v[e+4>>2]>>>4|0)+8>>>0){v[e>>2]=13;v[a+24>>2]=19779;break c}v[e>>2]=1;j=s;case 1:b=j;c=v[a+4>>2];if(!c){break e}i=c-1|0;v[a+4>>2]=i;v[a+8>>2]=v[a+8>>2]+1;b=v[a>>2];v[a>>2]=b+1;b=w[b|0];if(((b|v[e+4>>2]<<8)>>>0)%31|0){v[e>>2]=13;v[a+24>>2]=19799;break c}if(!(b&32)){v[e>>2]=7;break b}v[e>>2]=2;j=s;break o;case 8:break i;case 7:break j;case 6:break k;case 5:break l;case 4:break m;case 3:break n;case 2:break p;case 13:break d;case 12:break e;case 11:break f;case 10:break g;case 9:break h;default:break a}}i=v[a+4>>2]}x=j;if(!i){break a}v[a+4>>2]=i-1;v[a+8>>2]=v[a+8>>2]+1;b=v[a>>2];v[a>>2]=b+1;v[e+8>>2]=w[b|0]<<24;e=v[a+28>>2];v[e>>2]=3;j=s}x=j;b=v[a+4>>2];if(!b){break a}v[a+4>>2]=b-1;v[a+8>>2]=v[a+8>>2]+1;b=v[a>>2];v[a>>2]=b+1;v[e+8>>2]=v[e+8>>2]+(w[b|0]<<16);e=v[a+28>>2];v[e>>2]=4;j=s}x=j;b=v[a+4>>2];if(!b){break a}v[a+4>>2]=b-1;v[a+8>>2]=v[a+8>>2]+1;b=v[a>>2];v[a>>2]=b+1;v[e+8>>2]=v[e+8>>2]+(w[b|0]<<8);e=v[a+28>>2];v[e>>2]=5;j=s}x=j;b=v[a+4>>2];if(!b){break a}v[a+4>>2]=b-1;v[a+8>>2]=v[a+8>>2]+1;b=v[a>>2];v[a>>2]=b+1;v[e+8>>2]=v[e+8>>2]+w[b|0];b=a;a=v[a+28>>2];v[b+48>>2]=v[a+8>>2];v[a>>2]=6;x=2;break a}v[e>>2]=13;v[a+24>>2]=19822;v[e+4>>2]=0;break a}d=v[e+20>>2];n=v[d+52>>2];b=v[d+48>>2];q:{if(n>>>0<b>>>0){f=b+(n^-1)|0;break q}f=v[d+44>>2]-n|0}i=v[a+4>>2];e=v[a>>2];g=v[d+28>>2];b=v[d+32>>2];D=d+20|0;C=d+16|0;r:{s:{t:{while(1){u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{k=d;O:{P:{Q:{R:{S:{c=v[d>>2];if((c|0)!=2){T:{U:{switch(c|0){case 5:f=v[d+8>>2];break E;case 3:if(g>>>0>13){break J}if(i){break S}h=e;f=g;break L;case 1:if(g>>>0>31){break v}if(i){break T}c=e;h=g;break t;case 8:break B;case 7:break C;case 6:break D;case 9:break Q;case 4:break R;case 0:break U;default:break N}}V:{W:{X:{Y:{if(!(g>>>0>2)){if(!i){break Y}i=i-1|0;b=w[e|0]<<g|b;j=0;e=e+1|0;g=g+8|0}h=g;v[d+24>>2]=b&1;switch((b>>>1&3)-1|0){case 2:break V;case 1:break W;case 0:break X;default:break P}}v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=0;b=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-b|0);break s}c=Ea[v[a+32>>2]](v[a+40>>2],1,28)|0;if(!c){v[d+32>>2]=b;v[d+4>>2]=0;v[d+28>>2]=h;break I}v[c+24>>2]=24224;v[c+20>>2]=20128;u[c+16>>1]=1289;v[c>>2]=0;v[d+4>>2]=c;g=h-3|0;b=b>>>3|0;c=6;break O}g=h-3|0;b=b>>>3|0;c=3;break O}v[d>>2]=9;v[a+24>>2]=19859;v[d+28>>2]=h-3;v[d+32>>2]=b>>>3;break u}h=g+8|0;c=e+1|0;l=i-1|0;b=w[e|0]<<g|b;j=0;if(g>>>0<24){break w}g=h;e=c;i=l;break v}if(!i){v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=0;b=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-b|0);break s}if(f){c=n;break x}Z:{if(v[d+44>>2]!=(n|0)){c=n;break Z}c=v[d+40>>2];f=v[d+48>>2];if((c|0)==(f|0)){c=n;break Z}f=c>>>0<f>>>0?f+(c^-1)|0:n-c|0;if(f){break x}}v[d+52>>2]=c;h=sc(d,a,j);j=v[d+52>>2];l=v[d+48>>2];_:{if(j>>>0<l>>>0){c=v[d+44>>2];f=l+(j^-1)|0;break _}c=v[d+44>>2];f=c-j|0}$:{if((c|0)!=(j|0)){c=j;break $}c=v[d+40>>2];if((l|0)==(c|0)){c=j;break $}f=c>>>0<l>>>0?l+(c^-1)|0:j-c|0}if(f){break x}v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=i;b=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-b|0);v[d+52>>2]=c;r=sc(d,a,h);break r}f=g+8|0;h=e+1|0;c=i-1|0;b=w[e|0]<<g|b;j=0;if(g>>>0<6){break M}g=f;e=h;i=c;break J}f=v[d+8>>2];if(f>>>0<(v[d+4>>2]>>>10|0)+4>>>0){break G}break F}v[d+28>>2]=g;v[d+32>>2]=b;break u}c=h-3|0;b=b>>>3>>>(c&7)|0;g=c&-8;c=1}v[k>>2]=c;continue}v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=i;b=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-b|0);v[d+52>>2]=n;r=sc(d,a,-2);break r}if(c){break K}}v[d+28>>2]=f;v[d+32>>2]=b;v[a+4>>2]=0;b=v[a>>2];v[a>>2]=h;v[a+8>>2]=v[a+8>>2]+(h-b|0);break s}g=g+16|0;i=i-2|0;b=w[e+1|0]<<f|b;e=e+2|0}v[d+4>>2]=b&16383;aa:{f=b&31;if(f>>>0<=29){c=b>>>5&31;if(c>>>0<30){break aa}}v[d>>2]=9;v[a+24>>2]=19907;v[d+28>>2]=g;v[d+32>>2]=b;break u}c=Ea[v[a+32>>2]](v[a+40>>2],(c+f|0)+258|0,4)|0;v[d+12>>2]=c;if(c){break H}v[d+28>>2]=g;v[d+32>>2]=b}v[a+4>>2]=i;b=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-b|0);v[d+52>>2]=n;r=sc(d,a,-4);break r}v[d>>2]=4;f=0;v[d+8>>2]=0;g=g-14|0;b=b>>>14|0}while(1){ba:{if(g>>>0<=2){if(!i){break ba}i=i-1|0;b=w[e|0]<<g|b;j=0;e=e+1|0;g=g+8|0}v[d+8>>2]=f+1;v[v[d+12>>2]+(v[(f<<2)+19952>>2]<<2)>>2]=b&7;g=g-3|0;b=b>>>3|0;f=v[d+8>>2];if(f>>>0<(v[d+4>>2]>>>10|0)+4>>>0){continue}break F}break}v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=0;b=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-b|0);break s}if(f>>>0<19){while(1){v[d+8>>2]=f+1;v[v[d+12>>2]+(v[(f<<2)+19952>>2]<<2)>>2]=0;f=v[d+8>>2];if(f>>>0<19){continue}break}}v[d+16>>2]=7;f=v[d+12>>2];c=v[d+36>>2];v[q+28>>2]=0;h=Ea[v[a+32>>2]](v[a+40>>2],19,4)|0;if(!h){c=-4;break y}k=24520;ca:{da:{c=nk(f,19,19,0,0,D,C,c,q+28|0,h);switch(c+5|0){case 0:break A;case 2:break da;default:break ca}}k=24480;break A}if(!v[C>>2]){break A}Ea[v[a+36>>2]](v[a+40>>2],h);if(c){if((c|0)!=-3){break y}break z}v[d>>2]=5;v[d+8>>2]=0;f=0}h=v[d+4>>2];c=h&31;h=h>>>5&31;A=(c+h|0)+258|0;if(f>>>0<A>>>0){while(1){ea:{fa:{ga:{o=v[C>>2];ha:{if(o>>>0<=g>>>0){c=g;l=e;h=i;break ha}c=g;k=e;h=i;if(!i){break ga}ia:{while(1){l=k+1|0;h=h-1|0;b=w[k|0]<<c|b;c=c+8|0;if(o>>>0<=c>>>0){break ia}k=l;if(h){continue}break}j=0;break ga}j=0}e=v[D>>2]+((v[(o<<2)+20032>>2]&b)<<3)|0;B=w[e+1|0];z=v[e+4>>2];if(z>>>0>15){break fa}v[d+8>>2]=f+1;v[v[d+12>>2]+(f<<2)>>2]=z;g=c-B|0;b=b>>>B|0;f=v[d+8>>2];e=l;i=h;break ea}v[d+32>>2]=b;v[d+28>>2]=(i<<3)+g;v[a+4>>2]=0;c=v[a>>2];b=e+i|0;v[a>>2]=b;v[a+8>>2]=v[a+8>>2]+(b-c|0);break s}ja:{ka:{o=(z|0)==18;m=o?7:z-14|0;p=m+B|0;la:{if(p>>>0<=c>>>0){g=c;e=l;i=h;break la}g=c;k=l;i=h;if(!i){break ka}ma:{while(1){e=k+1|0;i=i-1|0;b=w[k|0]<<g|b;g=g+8|0;if(p>>>0<=g>>>0){break ma}k=e;if(i){continue}break}j=0;break ka}j=0}g=g-p|0;c=b>>>B|0;b=c>>>m|0;h=(c&v[(m<<2)+20032>>2])+(o?11:3)|0;if(h+f>>>0<=A>>>0){l=(z|0)!=16;if(f|l){break ja}}Ea[v[a+36>>2]](v[a+40>>2],v[d+12>>2]);v[d>>2]=9;v[a+24>>2]=20100;v[d+28>>2]=g;v[d+32>>2]=b;break u}v[d+32>>2]=b;v[d+28>>2]=(h<<3)+c;v[a+4>>2]=0;c=v[a>>2];b=h+l|0;v[a>>2]=b;v[a+8>>2]=v[a+8>>2]+(b-c|0);break s}c=0;c=l?c:v[(v[d+12>>2]+(f<<2)|0)-4>>2];l=h-1|0;k=h&3;if(k){while(1){v[v[d+12>>2]+(f<<2)>>2]=c;h=h-1|0;f=f+1|0;k=k-1|0;if(k){continue}break}}if(l>>>0>=3){while(1){l=f<<2;v[l+v[d+12>>2]>>2]=c;v[(l+v[d+12>>2]|0)+4>>2]=c;v[(l+v[d+12>>2]|0)+8>>2]=c;v[(l+v[d+12>>2]|0)+12>>2]=c;f=f+4|0;h=h-4|0;if(h){continue}break}}v[d+8>>2]=f}h=v[d+4>>2];c=h&31;h=h>>>5&31;A=(c+h|0)+258|0;if(A>>>0>f>>>0){continue}break}}v[d+20>>2]=0;v[q+24>>2]=9;v[q+20>>2]=6;p=v[d+36>>2];o=v[d+12>>2];v[q+28>>2]=0;na:{oa:{pa:{m=Ea[v[a+32>>2]](v[a+40>>2],288,4)|0;k=-4;qa:{if(!m){break qa}k=24812;ra:{sa:{ta:{ua:{va:{wa:{f=c+257|0;switch(nk(o,f,257,24560,24688,q+16|0,q+24|0,p,q+28|0,m)+4|0){case 1:break ra;case 0:break ta;case 4:break wa;default:break va}}l=v[q+24>>2];if(l){break ua}}k=24847;break ra}k=25128;xa:{switch(nk(o+(f<<2)|0,h+1|0,0,24880,25008,q+12|0,q+20|0,p,q+28|0,m)+5|0){case 5:h=v[q+20>>2];if(h|!c){break pa}break;case 2:break ra;case 0:break sa;case 1:break ta;default:break xa}}k=25182;break ra}Ea[v[a+36>>2]](v[a+40>>2],m);k=-4;break qa}k=25157}v[a+24>>2]=k;Ea[v[a+36>>2]](v[a+40>>2],m);Ea[v[a+36>>2]](v[a+40>>2],v[d+12>>2]);v[d>>2]=9;k=-3}j=k;v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=i;c=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-c|0);v[d+52>>2]=n;break oa}Ea[v[a+36>>2]](v[a+40>>2],m);f=v[q+12>>2];c=v[q+16>>2];k=Ea[v[a+32>>2]](v[a+40>>2],1,28)|0;if(k){v[k+24>>2]=f;v[k+20>>2]=c;t[k+17|0]=h;t[k+16|0]=l;v[k>>2]=0;v[d+4>>2]=k;c=1;break na}v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=i;c=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-c|0);v[d+52>>2]=n;j=-4}r=sc(d,a,j);c=0}if(!c){break r}Ea[v[a+36>>2]](v[a+40>>2],v[d+12>>2]);v[d>>2]=6}v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=i;c=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-c|0);v[d+52>>2]=n;m=v[d+4>>2];c=v[d+48>>2];ya:{if(c>>>0>n>>>0){h=c+(n^-1)|0;break ya}h=v[d+44>>2]-n|0}f=v[m>>2];za:{while(1){Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{switch(f|0){case 1:p=v[m+12>>2];break Ua;case 3:p=v[m+12>>2];break Da;case 5:c=v[m+12>>2];break Ea;case 9:break Oa;case 8:break Pa;case 7:break Qa;case 6:break Ra;case 4:break Sa;case 2:break Ta;case 0:break Va;default:break Na}}v[m>>2]=1;p=w[m+16|0];v[m+12>>2]=p;v[m+8>>2]=v[m+20>>2]}if(g>>>0>=p>>>0){f=g;k=e;c=i;break Ga}f=g;l=e;c=i;if(c){break Ha}break Aa}o=v[m+8>>2];if(o>>>0<=g>>>0){f=g;break Ia}f=g;l=e;c=i;if(c){break Ja}break Aa}o=v[m+8>>2];if(o>>>0<=g>>>0){f=g;break Ka}f=g;l=e;c=i;if(c){break La}break Aa}if(h){c=n;break Ma}Wa:{if(v[d+44>>2]!=(n|0)){c=n;break Wa}c=v[d+40>>2];f=v[d+48>>2];if((c|0)==(f|0)){c=n;break Wa}h=c>>>0<f>>>0?f+(c^-1)|0:n-c|0;if(h){break Ma}}v[d+52>>2]=c;l=sc(d,a,j);j=v[d+52>>2];k=v[d+48>>2];Xa:{if(j>>>0<k>>>0){f=v[d+44>>2];h=k+(j^-1)|0;break Xa}f=v[d+44>>2];h=f-j|0}Ya:{if((f|0)!=(j|0)){c=j;break Ya}c=v[d+40>>2];if((k|0)==(c|0)){c=j;break Ya}h=c>>>0<k>>>0?k+(c^-1)|0:j-c|0}if(h){break Ma}v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=i;b=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-b|0);v[d+52>>2]=c;b=sc(d,a,l);break za}v[d+52>>2]=n;c=g>>>0>7;e=c?e-1|0:e;g=c?g-8|0:g;i=c+i|0;c=sc(d,a,j);n=v[d+52>>2];if((n|0)!=v[d+48>>2]){v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=i;b=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-b|0);b=sc(d,a,c);break za}v[m>>2]=8}v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=i;b=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-b|0);v[d+52>>2]=n;b=sc(d,a,1);break za}v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=i;b=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-b|0);break Ca}v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=i;b=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-b|0);v[d+52>>2]=n;b=sc(d,a,-2);break za}t[c|0]=v[m+8>>2];f=0;v[m>>2]=0;h=h-1|0;n=c+1|0;j=0;continue}Za:{while(1){k=l+1|0;c=c-1|0;b=w[l|0]<<f|b;f=f+8|0;if(o>>>0<=f>>>0){break Za}l=k;if(c){continue}break}j=0;break Aa}j=0;e=k;i=c}v[m>>2]=5;c=v[m+12>>2]+(v[(o<<2)+20032>>2]&b)|0;v[m+12>>2]=c;g=f-o|0;b=b>>>o|0;break Ea}_a:{while(1){k=l+1|0;c=c-1|0;b=w[l|0]<<f|b;f=f+8|0;if(o>>>0<=f>>>0){break _a}l=k;if(c){continue}break}j=0;break Aa}j=0;e=k;i=c}v[m>>2]=3;p=w[m+17|0];v[m+12>>2]=p;v[m+8>>2]=v[m+24>>2];v[m+4>>2]=v[m+4>>2]+(v[(o<<2)+20032>>2]&b);g=f-o|0;b=b>>>o|0;break Da}$a:{while(1){k=l+1|0;c=c-1|0;b=w[l|0]<<f|b;f=f+8|0;if(p>>>0<=f>>>0){break $a}l=k;if(c){continue}break}j=0;break Aa}j=0}i=v[m+8>>2]+((v[(p<<2)+20032>>2]&b)<<3)|0;e=w[i+1|0];g=f-e|0;b=b>>>e|0;e=w[i|0];ab:{if(!e){e=v[i+4>>2];v[m>>2]=6;v[m+8>>2]=e;f=6;break ab}if(e&16){v[m+8>>2]=e&15;e=v[i+4>>2];v[m>>2]=2;v[m+4>>2]=e;f=2;break ab}if(!(e&64)){v[m+12>>2]=e;v[m+8>>2]=i+(v[i+4>>2]<<3);f=1;break ab}if(!(e&32)){break Fa}v[m>>2]=7;f=7}e=k;i=c;continue}v[m>>2]=9;v[a+24>>2]=25215;v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=c;b=v[a>>2];v[a>>2]=k;v[a+8>>2]=v[a+8>>2]+(k-b|0);break Ca}f=n-c|0;l=v[d+40>>2];if(f>>>0<l>>>0){c=v[d+44>>2]-l|0;while(1){f=c+f|0;if(l>>>0>f>>>0){continue}break}}if(v[m+4>>2]){while(1){bb:{if(h){c=n;break bb}cb:{if(v[d+44>>2]!=(n|0)){c=n;break cb}c=v[d+40>>2];h=v[d+48>>2];if((c|0)==(h|0)){c=n;break cb}h=c>>>0<h>>>0?h+(c^-1)|0:n-c|0;if(h){break bb}}v[d+52>>2]=c;l=sc(d,a,j);j=v[d+52>>2];k=v[d+48>>2];db:{if(j>>>0<k>>>0){c=v[d+44>>2];h=k+(j^-1)|0;break db}c=v[d+44>>2];h=c-j|0}eb:{if((c|0)!=(j|0)){c=j;break eb}c=v[d+40>>2];if((k|0)==(c|0)){c=j;break eb}h=c>>>0<k>>>0?k+(c^-1)|0:j-c|0}if(h){break bb}v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=i;b=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-b|0);v[d+52>>2]=c;b=sc(d,a,l);break za}t[c|0]=w[f|0];f=f+1|0;if((f|0)==v[d+44>>2]){f=v[d+40>>2]}h=h-1|0;n=c+1|0;c=v[m+4>>2]-1|0;v[m+4>>2]=c;j=0;if(c){continue}break}}f=0;v[m>>2]=0;continue}fb:{if(g>>>0>=p>>>0){f=g;k=e;c=i;break fb}f=g;l=e;c=i;if(!c){break Aa}gb:{while(1){k=l+1|0;c=c-1|0;b=w[l|0]<<f|b;f=f+8|0;if(p>>>0<=f>>>0){break gb}l=k;if(c){continue}break}j=0;break Aa}j=0}i=v[m+8>>2];l=v[(p<<2)+20032>>2]&b;o=i+(l<<3)|0;e=w[o+1|0];g=f-e|0;b=b>>>e|0;e=w[o|0];if(e&16){v[m+8>>2]=e&15;e=v[o+4>>2];f=4;v[m>>2]=4;v[m+12>>2]=e;break Ba}if(!(e&64)){v[m+12>>2]=e;f=3;v[m+8>>2]=o+(v[(i+(l<<3)|0)+4>>2]<<3);break Ba}v[m>>2]=9;v[a+24>>2]=25243;v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=c;b=v[a>>2];v[a>>2]=k;v[a+8>>2]=v[a+8>>2]+(k-b|0)}v[d+52>>2]=n;b=sc(d,a,-3);break za}e=k;i=c;continue}break}v[d+32>>2]=b;v[d+28>>2]=(i<<3)+g;v[a+4>>2]=0;c=v[a>>2];b=e+i|0;v[a>>2]=b;v[a+8>>2]=v[a+8>>2]+(b-c|0);v[d+52>>2]=n;b=sc(d,a,j)}if((b|0)!=1){r=sc(d,a,b);break r}Ea[v[a+36>>2]](v[a+40>>2],v[d+4>>2]);n=v[d+52>>2];b=v[d+48>>2];hb:{if(n>>>0<b>>>0){f=b+(n^-1)|0;break hb}f=v[d+44>>2]-n|0}g=v[d+28>>2];b=v[d+32>>2];i=v[a+4>>2];e=v[a>>2];if(!v[d+24>>2]){j=0;v[d>>2]=0;continue}v[d>>2]=7;j=0}v[d+52>>2]=n;c=sc(d,a,j);n=v[d+52>>2];if((n|0)!=v[d+48>>2]){v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=i;b=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-b|0);r=sc(d,a,c);break r}v[d>>2]=8}v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=i;b=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-b|0);v[d+52>>2]=n;r=sc(d,a,1);break r}v[a+24>>2]=k;Ea[v[a+36>>2]](v[a+40>>2],h)}Ea[v[a+36>>2]](v[a+40>>2],v[d+12>>2]);v[d>>2]=9;c=-3}v[d+28>>2]=g;v[d+32>>2]=b;v[a+4>>2]=i;b=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-b|0);v[d+52>>2]=n;r=sc(d,a,c);break r}j=c;c=v[d+4>>2];c=c>>>0>i>>>0?i:c;h=c>>>0>f>>>0?f:c;j=Ta(j,e,h);c=v[d+4>>2]-h|0;v[d+4>>2]=c;f=f-h|0;n=j+h|0;i=i-h|0;e=e+h|0;j=0;if(c){continue}v[d>>2]=v[d+24>>2]?7:0;continue}if(!l){break t}l=g+16|0;c=e+2|0;k=i-2|0;b=w[e+1|0]<<h|b;if(g>>>0>15){g=l;e=c;i=k;break v}if(!k){h=l;break t}h=g+24|0;c=e+3|0;k=i-3|0;b=w[e+2|0]<<l|b;if(g>>>0>7){g=h;e=c;i=k;break v}if(!k){break t}g=g+32|0;i=i-4|0;b=w[e+3|0]<<h|b;e=e+4|0}c=(b^-1)>>>16|0;if((c|0)!=(b&65535)){v[d>>2]=9;v[a+24>>2]=19878;v[d+28>>2]=g;v[d+32>>2]=b;break u}v[d+4>>2]=c;if(c){b=0;g=0;v[d>>2]=2}else{b=0;g=0;v[d>>2]=v[d+24>>2]?7:0}continue}break}v[a+4>>2]=i;b=v[a>>2];v[a>>2]=e;v[a+8>>2]=v[a+8>>2]+(e-b|0);v[d+52>>2]=n;r=sc(d,a,-3);break r}v[d+28>>2]=h;v[d+32>>2]=b;v[a+4>>2]=0;b=v[a>>2];v[a>>2]=c;v[a+8>>2]=v[a+8>>2]+(c-b|0)}v[d+52>>2]=n;r=sc(d,a,j)}b=s;ib:{switch(r+3|0){case 0:b=v[a+28>>2];v[b>>2]=13;v[b+4>>2]=0;j=-3;e=v[a+28>>2];continue;case 4:break ib;case 3:break e;default:break d}}b=v[a+28>>2];c=v[b+20>>2];v[b+4>>2]=v[c+60>>2];b=v[c>>2];if((b&-2)==4){Ea[v[a+36>>2]](v[a+40>>2],v[c+12>>2]);b=v[c>>2]}if((b|0)==6){Ea[v[a+36>>2]](v[a+40>>2],v[c+4>>2])}v[c+28>>2]=0;v[c+32>>2]=0;v[c>>2]=0;b=v[c+40>>2];v[c+52>>2]=b;v[c+48>>2]=b;b=v[c+56>>2];if(b){b=Ea[b|0](0,0,0)|0;v[c+60>>2]=b;v[a+48>>2]=b}e=v[a+28>>2];if(v[e+12>>2]){v[e>>2]=12;break b}v[e>>2]=8;j=s}b=j;c=v[a+4>>2];if(!c){break e}v[a+4>>2]=c-1;v[a+8>>2]=v[a+8>>2]+1;b=v[a>>2];v[a>>2]=b+1;v[e+8>>2]=w[b|0]<<24;e=v[a+28>>2];v[e>>2]=9;j=s}b=j;c=v[a+4>>2];if(!c){break e}v[a+4>>2]=c-1;v[a+8>>2]=v[a+8>>2]+1;b=v[a>>2];v[a>>2]=b+1;v[e+8>>2]=v[e+8>>2]+(w[b|0]<<16);e=v[a+28>>2];v[e>>2]=10;j=s}b=j;c=v[a+4>>2];if(!c){break e}v[a+4>>2]=c-1;v[a+8>>2]=v[a+8>>2]+1;b=v[a>>2];v[a>>2]=b+1;v[e+8>>2]=v[e+8>>2]+(w[b|0]<<8);e=v[a+28>>2];v[e>>2]=11;j=s}b=j;c=v[a+4>>2];if(!c){break e}v[a+4>>2]=c-1;v[a+8>>2]=v[a+8>>2]+1;b=v[a>>2];v[a>>2]=b+1;v[e+8>>2]=v[e+8>>2]+w[b|0];b=v[a+28>>2];if(v[b+4>>2]!=v[b+8>>2]){v[b>>2]=13;v[a+24>>2]=19838;v[b+4>>2]=5;break b}v[b>>2]=12;x=1;break a}x=b;break a}x=r;break a}v[e+4>>2]=5}e=v[a+28>>2];j=s;continue}}Ca=q+32|0;return x}function is(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,u=0,x=0,z=0,A=0,D=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0;x=Ca-48|0;Ca=x;a:{if(c>>>0<=2){c=c<<2;J=v[c+523740>>2];K=v[c+523728>>2];while(1){c=v[b+4>>2];b:{if(c>>>0<y[b+104>>2]){v[b+4>>2]=c+1;c=w[c|0];break b}c=Eb(b)}if((c|0)==32|c-9>>>0<5){continue}break}o=1;c:{d:{switch(c-43|0){case 0:case 2:break d;default:break c}}o=(c|0)==45?-1:1;c=v[b+4>>2];if(c>>>0<y[b+104>>2]){v[b+4>>2]=c+1;c=w[c|0];break c}c=Eb(b)}e:{f:{while(1){if(t[g+523664|0]==(c|32)){g:{if(g>>>0>6){break g}c=v[b+4>>2];if(c>>>0<y[b+104>>2]){v[b+4>>2]=c+1;c=w[c|0];break g}c=Eb(b)}g=g+1|0;if((g|0)!=8){continue}break f}break}if((g|0)!=3){if((g|0)==8){break f}if(!d|g>>>0<4){break e}if((g|0)==8){break f}}c=v[b+104>>2];if(c){v[b+4>>2]=v[b+4>>2]-1}if(!d|g>>>0<4){break f}while(1){if(c){v[b+4>>2]=v[b+4>>2]-1}g=g-1|0;if(g>>>0>3){continue}break}}n=Ca-16|0;Ca=n;g=(q(C(C(o|0)*C(N))),j(2));c=g&2147483647;h:{if(c-8388608>>>0<=2130706431){k=c>>>7|0;b=c<<25;d=k+1065353216|0;break h}b=g;d=b>>>7|0;b=b<<25;d=d|2147418112;if(c>>>0>=2139095040){break h}b=0;d=0;if(!c){break h}b=E(c);Tc(n,c,0,0,0,b+81|0);h=v[n>>2];i=v[n+4>>2];d=16265-b<<16;b=v[n+8>>2];d=d|v[n+12>>2]^65536}v[x>>2]=h;v[x+4>>2]=i;c=x;v[c+8>>2]=b;v[c+12>>2]=g&-2147483648|d;Ca=n+16|0;h=v[c+8>>2];i=v[c+12>>2];m=v[c>>2];k=v[c+4>>2];break a}i:{j:{k:{if(g){break k}g=0;while(1){if(t[g+523673|0]!=(c|32)){break k}l:{if(g>>>0>1){break l}c=v[b+4>>2];if(c>>>0<y[b+104>>2]){v[b+4>>2]=c+1;c=w[c|0];break l}c=Eb(b)}g=g+1|0;if((g|0)!=3){continue}break}break j}m:{switch(g|0){case 0:n:{if((c|0)!=48){break n}g=v[b+4>>2];o:{if(g>>>0<y[b+104>>2]){v[b+4>>2]=g+1;g=w[g|0];break o}g=Eb(b)}if((g&-33)==88){f=Ca-432|0;Ca=f;c=v[b+4>>2];p:{if(c>>>0<y[b+104>>2]){v[b+4>>2]=c+1;g=w[c|0];break p}g=Eb(b)}q:{r:{while(1){if((g|0)!=48){s:{if((g|0)!=46){break q}c=v[b+4>>2];if(c>>>0>=y[b+104>>2]){break s}v[b+4>>2]=c+1;g=w[c|0];break r}}else{c=v[b+4>>2];if(c>>>0<y[b+104>>2]){L=1;v[b+4>>2]=c+1;g=w[c|0]}else{L=1;g=Eb(b)}continue}break}g=Eb(b)}G=1;if((g|0)!=48){break q}while(1){c=l;l=c-1|0;u=u-(c>>>0<1)|0;c=v[b+4>>2];t:{if(c>>>0<y[b+104>>2]){v[b+4>>2]=c+1;g=w[c|0];break t}g=Eb(b)}if((g|0)==48){continue}break}L=1}k=1073676288;while(1){u:{n=g|32;v:{w:{c=g-48|0;if(c>>>0<10){break w}if((g|0)!=46?n-97>>>0>=6:0){break u}if((g|0)!=46){break w}if(G){break u}G=1;l=h;u=i;break v}c=(g|0)>57?n-87|0:c;x:{if((i|0)<0?1:(i|0)<=0?h>>>0<=7:0){e=c+(e<<4)|0;break x}if((i|0)<0?1:(i|0)<=0?h>>>0<=28:0){qd(f+48|0,c);Sb(f+32|0,H,I,m,k,0,0,0,1073414144);H=v[f+32>>2];I=v[f+36>>2];m=v[f+40>>2];k=v[f+44>>2];Sb(f+16|0,H,I,m,k,v[f+48>>2],v[f+52>>2],v[f+56>>2],v[f+60>>2]);cd(f,r,s,D,F,v[f+16>>2],v[f+20>>2],v[f+24>>2],v[f+28>>2]);D=v[f+8>>2];F=v[f+12>>2];r=v[f>>2];s=v[f+4>>2];break x}if(p|!c){break x}Sb(f+80|0,H,I,m,k,0,0,0,1073610752);cd(f- -64|0,r,s,D,F,v[f+80>>2],v[f+84>>2],v[f+88>>2],v[f+92>>2]);D=v[f+72>>2];F=v[f+76>>2];p=1;r=v[f+64>>2];s=v[f+68>>2]}c=h+1|0;n=c>>>0<1?i+1|0:i;h=c;i=n;L=1}c=v[b+4>>2];if(c>>>0<y[b+104>>2]){v[b+4>>2]=c+1;g=w[c|0]}else{g=Eb(b)}continue}break}y:{z:{A:{if(!L){if(!v[b+104>>2]){if(d){break z}break A}c=v[b+4>>2];v[b+4>>2]=c-1;if(!d){break A}v[b+4>>2]=c-2;if(!G){break z}v[b+4>>2]=c-3;break z}if((i|0)<0?1:(i|0)<=0?h>>>0<=7:0){m=h;k=i;while(1){e=e<<4;c=m+1|0;k=c>>>0<1?k+1|0:k;m=c;if((c|0)!=8|k){continue}break}}B:{C:{D:{if((g&-33)==80){m=hs(b,d);c=Da;k=c;if(m|(c|0)!=-2147483648){break B}if(d){if(v[b+104>>2]){break D}break C}r=0;s=0;$d(b,0,0);c=0;b=0;break y}if(!v[b+104>>2]){break C}}v[b+4>>2]=v[b+4>>2]-1}m=0;k=0}if(!e){ue(f+112|0,+(o|0)*0);r=v[f+112>>2];s=v[f+116>>2];c=v[f+120>>2];b=v[f+124>>2];break y}c=G?l:h;b=(G?u:i)<<2|c>>>30;c=m+(c<<2)|0;k=b+k|0;h=c-32|0;i=(c>>>0<m>>>0?k+1|0:k)-(c>>>0<32)|0;b=i;if((b|0)>0?1:(b|0)>=0?h>>>0>0-J>>>0:0){v[164114]=68;qd(f+160|0,o);Sb(f+144|0,v[f+160>>2],v[f+164>>2],v[f+168>>2],v[f+172>>2],-1,-1,-1,2147418111);Sb(f+128|0,v[f+144>>2],v[f+148>>2],v[f+152>>2],v[f+156>>2],-1,-1,-1,2147418111);r=v[f+128>>2];s=v[f+132>>2];c=v[f+136>>2];b=v[f+140>>2];break y}b=J-226|0;c=h>>>0>=b>>>0;b=b>>31;if((b|0)<(i|0)?1:(i|0)>=(b|0)?c:0){if((e|0)>-1){while(1){cd(f+416|0,r,s,D,F,0,0,0,-1073807360);d=$k(r,s,D,F,1073610752);c=(d|0)<0;cd(f+400|0,r,s,D,F,c?r:v[f+416>>2],c?s:v[f+420>>2],c?D:v[f+424>>2],c?F:v[f+428>>2]);b=h;h=b-1|0;i=i-(b>>>0<1)|0;D=v[f+408>>2];F=v[f+412>>2];r=v[f+400>>2];s=v[f+404>>2];e=e<<1|(d|0)>-1;if((e|0)>-1){continue}break}}c=h;b=J;d=(c-b|0)+32|0;k=i-((b>>31)+(b>>>0>c>>>0)|0)|0;c=d;k=c>>>0<32?k+1|0:k;c=((k|0)<0?1:(k|0)<=0?c>>>0<K>>>0:0)?(c|0)>0?c:0:K;E:{if((c|0)>=113){qd(f+384|0,o);l=v[f+392>>2];u=v[f+396>>2];H=v[f+384>>2];I=v[f+388>>2];d=0;b=0;break E}ue(f+352|0,_d(1,144-c|0));qd(f+336|0,o);H=v[f+336>>2];I=v[f+340>>2];l=v[f+344>>2];u=v[f+348>>2];ks(f+368|0,v[f+352>>2],v[f+356>>2],v[f+360>>2],v[f+364>>2],H,I,l,u);M=v[f+376>>2];A=v[f+380>>2];d=v[f+372>>2];b=v[f+368>>2]}c=!(e&1)&((Yf(r,s,D,F,0,0,0,0)|0)!=0&(c|0)<32);of(f+320|0,c+e|0);Sb(f+304|0,H,I,l,u,v[f+320>>2],v[f+324>>2],v[f+328>>2],v[f+332>>2]);cd(f+272|0,v[f+304>>2],v[f+308>>2],v[f+312>>2],v[f+316>>2],b,d,M,A);Sb(f+288|0,c?0:r,c?0:s,c?0:D,c?0:F,H,I,l,u);cd(f+256|0,v[f+288>>2],v[f+292>>2],v[f+296>>2],v[f+300>>2],v[f+272>>2],v[f+276>>2],v[f+280>>2],v[f+284>>2]);_k(f+240|0,v[f+256>>2],v[f+260>>2],v[f+264>>2],v[f+268>>2],b,d,M,A);g=v[f+240>>2];d=v[f+244>>2];c=v[f+248>>2];b=v[f+252>>2];if(!Yf(g,d,c,b,0,0,0,0)){v[164114]=68}js(f+224|0,g,d,c,b,h);r=v[f+224>>2];s=v[f+228>>2];c=v[f+232>>2];b=v[f+236>>2];break y}v[164114]=68;qd(f+208|0,o);Sb(f+192|0,v[f+208>>2],v[f+212>>2],v[f+216>>2],v[f+220>>2],0,0,0,65536);Sb(f+176|0,v[f+192>>2],v[f+196>>2],v[f+200>>2],v[f+204>>2],0,0,0,65536);r=v[f+176>>2];s=v[f+180>>2];c=v[f+184>>2];b=v[f+188>>2];break y}$d(b,0,0)}ue(f+96|0,+(o|0)*0);r=v[f+96>>2];s=v[f+100>>2];c=v[f+104>>2];b=v[f+108>>2]}v[x+16>>2]=r;v[x+20>>2]=s;v[x+24>>2]=c;v[x+28>>2]=b;Ca=f+432|0;h=v[x+24>>2];i=v[x+28>>2];m=v[x+16>>2];k=v[x+20>>2];break a}if(!v[b+104>>2]){break n}v[b+4>>2]=v[b+4>>2]-1}l=b;g=c;A=o;b=0;o=0;e=Ca-8976|0;Ca=e;L=J+K|0;M=0-L|0;F:{G:{while(1){if((g|0)!=48){H:{if((g|0)!=46){break F}c=v[l+4>>2];if(c>>>0>=y[l+104>>2]){break H}v[l+4>>2]=c+1;g=w[c|0];break G}}else{c=v[l+4>>2];if(c>>>0<y[l+104>>2]){v[l+4>>2]=c+1;g=w[c|0]}else{g=Eb(l)}o=1;continue}break}g=Eb(l)}p=1;if((g|0)!=48){break F}h=-1;i=-1;while(1){c=v[l+4>>2];I:{if(c>>>0<y[l+104>>2]){v[l+4>>2]=c+1;g=w[c|0];break I}g=Eb(l)}if((g|0)==48){c=h;h=c-1|0;i=i-(c>>>0<1)|0;continue}break}o=1}v[e+784>>2]=0;J:{K:{n=(g|0)==46;c=g-48|0;L:{M:{N:{O:{if(c>>>0>9?n:1){while(1){P:{if(n&1){if(!p){h=m;i=k;p=1;break P}n=!o;break O}n=k;k=m+1|0;n=k>>>0<1?n+1|0:n;m=k;k=n;if((b|0)<=2044){f=(g|0)==48?f:m;o=(e+784|0)+(b<<2)|0;n=o;if(z){c=(B(v[o>>2],10)+g|0)-48|0}v[n>>2]=c;o=1;c=z+1|0;g=(c|0)==9;z=g?0:c;b=b+g|0;break P}if((g|0)==48){break P}v[e+8960>>2]=v[e+8960>>2]|1;f=18396}c=v[l+4>>2];Q:{if(c>>>0<y[l+104>>2]){v[l+4>>2]=c+1;g=w[c|0];break Q}g=Eb(l)}n=(g|0)==46;c=g-48|0;if(n|c>>>0<10){continue}break}}h=p?h:m;i=p?i:k;if(!(!o|(g&-33)!=69)){c=hs(l,d);n=Da;g=n;R:{if(c|(g|0)!=-2147483648){d=g+i|0;h=c+h|0;d=h>>>0<c>>>0?d+1|0:d;i=d;break R}if(!d){break L}if(!v[l+104>>2]){break R}v[l+4>>2]=v[l+4>>2]-1}if(!o){break M}break K}n=!o;if((g|0)<0){break N}}if(!v[l+104>>2]){break N}v[l+4>>2]=v[l+4>>2]-1}if(!n){break K}}v[164114]=28}m=0;k=0;$d(l,0,0);c=0;b=0;break J}c=v[e+784>>2];if(!c){ue(e,+(A|0)*0);m=v[e>>2];k=v[e+4>>2];c=v[e+8>>2];b=v[e+12>>2];break J}if(!((h|0)!=(m|0)|(k|0)!=(i|0)|((k|0)>0?1:(k|0)>=0?m>>>0>9:0)|(c>>>K|0?(K|0)<=30:0))){qd(e+48|0,A);of(e+32|0,c);Sb(e+16|0,v[e+48>>2],v[e+52>>2],v[e+56>>2],v[e+60>>2],v[e+32>>2],v[e+36>>2],v[e+40>>2],v[e+44>>2]);m=v[e+16>>2];k=v[e+20>>2];c=v[e+24>>2];b=v[e+28>>2];break J}if((i|0)>0?1:(i|0)>=0?h>>>0>(J|0)/-2>>>0:0){v[164114]=68;qd(e+96|0,A);Sb(e+80|0,v[e+96>>2],v[e+100>>2],v[e+104>>2],v[e+108>>2],-1,-1,-1,2147418111);Sb(e- -64|0,v[e+80>>2],v[e+84>>2],v[e+88>>2],v[e+92>>2],-1,-1,-1,2147418111);m=v[e+64>>2];k=v[e+68>>2];c=v[e+72>>2];b=v[e+76>>2];break J}c=J-226|0;d=h>>>0<c>>>0;c=c>>31;if((c|0)>(i|0)?1:(i|0)<=(c|0)?d:0){v[164114]=68;qd(e+144|0,A);Sb(e+128|0,v[e+144>>2],v[e+148>>2],v[e+152>>2],v[e+156>>2],0,0,0,65536);Sb(e+112|0,v[e+128>>2],v[e+132>>2],v[e+136>>2],v[e+140>>2],0,0,0,65536);m=v[e+112>>2];k=v[e+116>>2];c=v[e+120>>2];b=v[e+124>>2];break J}if(z){if((z|0)<=8){d=(e+784|0)+(b<<2)|0;c=v[d>>2];while(1){c=B(c,10);z=z+1|0;if((z|0)!=9){continue}break}v[d>>2]=c}b=b+1|0}S:{p=h;if((f|0)>(h|0)|(f|0)>=9|(h|0)>17){break S}if((p|0)==9){qd(e+192|0,A);of(e+176|0,v[e+784>>2]);Sb(e+160|0,v[e+192>>2],v[e+196>>2],v[e+200>>2],v[e+204>>2],v[e+176>>2],v[e+180>>2],v[e+184>>2],v[e+188>>2]);m=v[e+160>>2];k=v[e+164>>2];c=v[e+168>>2];b=v[e+172>>2];break J}if((p|0)<=8){qd(e+272|0,A);of(e+256|0,v[e+784>>2]);Sb(e+240|0,v[e+272>>2],v[e+276>>2],v[e+280>>2],v[e+284>>2],v[e+256>>2],v[e+260>>2],v[e+264>>2],v[e+268>>2]);qd(e+224|0,v[(0-p<<2)+523728>>2]);ui(e+208|0,v[e+240>>2],v[e+244>>2],v[e+248>>2],v[e+252>>2],v[e+224>>2],v[e+228>>2],v[e+232>>2],v[e+236>>2]);m=v[e+208>>2];k=v[e+212>>2];c=v[e+216>>2];b=v[e+220>>2];break J}d=(B(p,-3)+K|0)+27|0;c=v[e+784>>2];if(c>>>d|0?(d|0)<=30:0){break S}qd(e+352|0,A);of(e+336|0,c);Sb(e+320|0,v[e+352>>2],v[e+356>>2],v[e+360>>2],v[e+364>>2],v[e+336>>2],v[e+340>>2],v[e+344>>2],v[e+348>>2]);qd(e+304|0,v[(p<<2)+523656>>2]);Sb(e+288|0,v[e+320>>2],v[e+324>>2],v[e+328>>2],v[e+332>>2],v[e+304>>2],v[e+308>>2],v[e+312>>2],v[e+316>>2]);m=v[e+288>>2];k=v[e+292>>2];c=v[e+296>>2];b=v[e+300>>2];break J}while(1){c=b;b=c-1|0;if(!v[(e+784|0)+(b<<2)>>2]){continue}break}z=0;b=(p|0)%9|0;T:{if(!b){b=0;break T}m=(p|0)>-1?b:b+9|0;U:{if(!c){b=0;c=0;break U}o=v[(0-m<<2)+523728>>2];k=1e9/(o|0)|0;n=0;g=0;b=0;while(1){d=(e+784|0)+(g<<2)|0;i=v[d>>2];h=(i>>>0)/(o>>>0)|0;n=h+n|0;v[d>>2]=n;d=!n&(b|0)==(g|0);b=d?b+1&2047:b;p=d?p-9|0:p;n=B(k,i-B(h,o)|0);g=g+1|0;if((g|0)!=(c|0)){continue}break}if(!n){break U}v[(e+784|0)+(c<<2)>>2]=n;c=c+1|0}p=(p-m|0)+9|0}while(1){m=(e+784|0)+(b<<2)|0;V:{while(1){if((p|0)!=36|y[m>>2]>=10384593?(p|0)>=36:0){break V}g=c+2047|0;h=0;while(1){n=0;l=g&2047;o=(e+784|0)+(l<<2)|0;g=v[o>>2];d=g>>>3|0;g=h+(g<<29)|0;k=g>>>0<h>>>0?d+1|0:d;h=g;i=k;if(!i&g>>>0>=1000000001|i){n=gQ(h,i,1e9,0);h=h-eQ(n,Da,1e9,0)|0}v[o>>2]=h;d=(b|0)==(l|0);c=(l|0)!=(c-1&2047)?c:d?c:h?c:l;if(!d){g=l-1|0;h=n;continue}break}z=z-29|0;if(!n){continue}break}b=b-1&2047;if((c|0)==(b|0)){d=(e+784|0)+((c+2046&2047)<<2)|0;c=c-1&2047;v[d>>2]=v[d>>2]|v[(e+784|0)+(c<<2)>>2]}p=p+9|0;v[(e+784|0)+(b<<2)>>2]=n;continue}break}W:{X:while(1){d=c+1&2047;m=(e+784|0)+((c-1&2047)<<2)|0;while(1){l=(p|0)>45?9:1;Y:{while(1){o=b;g=0;Z:{while(1){_:{b=g+o&2047;if((b|0)==(c|0)){break _}h=v[(e+784|0)+(b<<2)>>2];b=v[(g<<2)+523680>>2];if(h>>>0<b>>>0){break _}if(b>>>0<h>>>0){break Z}g=g+1|0;if((g|0)!=4){continue}}break}if((p|0)!=36){break Z}h=0;i=0;g=0;m=0;k=0;while(1){b=g+o&2047;if((b|0)==(c|0)){c=c+1&2047;v[(e+(c<<2)|0)+780>>2]=0}Sb(e+768|0,h,i,m,k,0,0,1342177280,1075633366);of(e+752|0,v[(e+784|0)+(b<<2)>>2]);cd(e+736|0,v[e+768>>2],v[e+772>>2],v[e+776>>2],v[e+780>>2],v[e+752>>2],v[e+756>>2],v[e+760>>2],v[e+764>>2]);m=v[e+744>>2];k=v[e+748>>2];h=v[e+736>>2];i=v[e+740>>2];g=g+1|0;if((g|0)!=4){continue}break}qd(e+720|0,A);Sb(e+704|0,h,i,m,k,v[e+720>>2],v[e+724>>2],v[e+728>>2],v[e+732>>2]);m=v[e+712>>2];k=v[e+716>>2];h=0;i=0;r=v[e+704>>2];s=v[e+708>>2];d=z+113|0;f=d-J|0;p=(f|0)<(K|0);G=p?(f|0)>0?f:0:K;if((G|0)<=112){break Y}l=0;break W}z=l+z|0;b=c;if((o|0)==(c|0)){continue}break}k=1e9>>>l|0;i=-1<<l^-1;g=0;b=o;while(1){n=g;h=(e+784|0)+(o<<2)|0;g=v[h>>2];n=n+(g>>>l|0)|0;v[h>>2]=n;h=!n&(b|0)==(o|0);b=h?b+1&2047:b;p=h?p-9|0:p;g=B(k,g&i);o=o+1&2047;if((o|0)!=(c|0)){continue}break}if(!g){continue}if((b|0)!=(d|0)){v[(e+784|0)+(c<<2)>>2]=g;c=d;continue X}v[m>>2]=v[m>>2]|1;b=d;continue}break}break}ue(e+656|0,_d(1,225-G|0));ks(e+688|0,v[e+656>>2],v[e+660>>2],v[e+664>>2],v[e+668>>2],r,s,m,k);H=v[e+696>>2];I=v[e+700>>2];D=v[e+688>>2];F=v[e+692>>2];ue(e+640|0,_d(1,113-G|0));Zr(e+672|0,r,s,m,k,v[e+640>>2],v[e+644>>2],v[e+648>>2],v[e+652>>2]);h=v[e+672>>2];i=v[e+676>>2];l=v[e+680>>2];u=v[e+684>>2];_k(e+624|0,r,s,m,k,h,i,l,u);cd(e+608|0,D,F,H,I,v[e+624>>2],v[e+628>>2],v[e+632>>2],v[e+636>>2]);m=v[e+616>>2];k=v[e+620>>2];r=v[e+608>>2];s=v[e+612>>2]}b=o+4&2047;$:{if((b|0)==(c|0)){break $}b=v[(e+784|0)+(b<<2)>>2];aa:{if(b>>>0<=499999999){if(!((o+5&2047)==(c|0)?b:1)){break aa}ue(e+496|0,+(A|0)*.25);cd(e+480|0,h,i,l,u,v[e+496>>2],v[e+500>>2],v[e+504>>2],v[e+508>>2]);l=v[e+488>>2];u=v[e+492>>2];h=v[e+480>>2];i=v[e+484>>2];break aa}if((b|0)!=5e8){ue(e+592|0,+(A|0)*.75);cd(e+576|0,h,i,l,u,v[e+592>>2],v[e+596>>2],v[e+600>>2],v[e+604>>2]);l=v[e+584>>2];u=v[e+588>>2];h=v[e+576>>2];i=v[e+580>>2];break aa}O=+(A|0);if((o+5&2047)==(c|0)){ue(e+528|0,O*.5);cd(e+512|0,h,i,l,u,v[e+528>>2],v[e+532>>2],v[e+536>>2],v[e+540>>2]);l=v[e+520>>2];u=v[e+524>>2];h=v[e+512>>2];i=v[e+516>>2];break aa}ue(e+560|0,O*.75);cd(e+544|0,h,i,l,u,v[e+560>>2],v[e+564>>2],v[e+568>>2],v[e+572>>2]);l=v[e+552>>2];u=v[e+556>>2];h=v[e+544>>2];i=v[e+548>>2]}if((G|0)>111){break $}Zr(e+464|0,h,i,l,u,0,0,0,1073676288);if(Yf(v[e+464>>2],v[e+468>>2],v[e+472>>2],v[e+476>>2],0,0,0,0)){break $}cd(e+448|0,h,i,l,u,0,0,0,1073676288);l=v[e+456>>2];u=v[e+460>>2];h=v[e+448>>2];i=v[e+452>>2]}cd(e+432|0,r,s,m,k,h,i,l,u);_k(e+416|0,v[e+432>>2],v[e+436>>2],v[e+440>>2],v[e+444>>2],D,F,H,I);m=v[e+424>>2];k=v[e+428>>2];r=v[e+416>>2];s=v[e+420>>2];ba:{if((-2-L|0)>=(d&2147483647)){break ba}v[e+408>>2]=m;v[e+412>>2]=k&2147483647;v[e+400>>2]=r;v[e+404>>2]=s;Sb(e+384|0,r,s,m,k,0,0,0,1073610752);n=v[e+400>>2];g=v[e+404>>2];d=v[e+408>>2];c=v[e+412>>2];J=$k(n,g,d,c,1081081856);o=(J|0)<0;b=o;m=b?m:v[e+392>>2];k=b?k:v[e+396>>2];r=b?r:v[e+384>>2];s=b?s:v[e+388>>2];z=((J|0)>-1)+z|0;if((z+110|0)<=(M|0)){if(((($k(n,g,d,c,1081081856)|0)<0?p:p&(f|0)!=(G|0))|0)!=1){break ba}if(!Yf(h,i,l,u,0,0,0,0)){break ba}}v[164114]=68}js(e+368|0,r,s,m,k,z);m=v[e+368>>2];k=v[e+372>>2];c=v[e+376>>2];b=v[e+380>>2]}v[x+32>>2]=m;v[x+36>>2]=k;v[x+40>>2]=c;v[x+44>>2]=b;Ca=e+8976|0;h=v[x+40>>2];i=v[x+44>>2];m=v[x+32>>2];k=v[x+36>>2];break a;case 3:break j;default:break m}}if(v[b+104>>2]){v[b+4>>2]=v[b+4>>2]-1}break i}ca:{c=v[b+4>>2];da:{if(c>>>0<y[b+104>>2]){v[b+4>>2]=c+1;c=w[c|0];break da}c=Eb(b)}if((c|0)==40){g=1;break ca}i=2147450880;if(!v[b+104>>2]){break a}v[b+4>>2]=v[b+4>>2]-1;break a}while(1){ea:{c=v[b+4>>2];fa:{if(c>>>0<y[b+104>>2]){v[b+4>>2]=c+1;c=w[c|0];break fa}c=Eb(b)}if(!(c-48>>>0<10|c-65>>>0<26|(c|0)==95)){if(c-97>>>0>=26){break ea}}g=g+1|0;continue}break}i=2147450880;if((c|0)==41){break a}c=v[b+104>>2];if(c){v[b+4>>2]=v[b+4>>2]-1}if(d){if(!g){break a}while(1){g=g-1|0;if(c){v[b+4>>2]=v[b+4>>2]-1}if(g){continue}break}break a}}v[164114]=28;$d(b,0,0)}i=0}v[a>>2]=m;v[a+4>>2]=k;v[a+8>>2]=h;v[a+12>>2]=i;Ca=x+48|0}function ag(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;i=Ca-96|0;Ca=i;v[i+84>>2]=d;s=v[a+352>>2];a:{if(v[a+144>>2]==(c|0)){z=a+284|0;F=a+288|0;break a}z=v[a+296>>2];F=z+4|0}v[z>>2]=d;H=s+92|0;I=s+80|0;J=a+424|0;K=a+412|0;u=a+288|0;p=a+284|0;M=i+89|0;b:{c:{while(1){d=v[i+84>>2];v[i+80>>2]=d;d:{e:{f:{d=Ea[v[c+4>>2]](c,d,e,i+80|0)|0;j=d+5|0;switch(j|0){case 0:case 2:break f;default:break e}}m=v[i+84>>2];k=g?m:e;break d}m=v[i+84>>2];k=v[i+80>>2]}if(!ye(a,d,m,k,2752,h)){while(1){c=a;a=v[a+472>>2];if(a){continue}break}m=43;if(v[c+512>>2]<1){break b}b=v[c+504>>2];e=v[c+508>>2];L=1;a=v[c+500>>2];h=a;g=v[c+496>>2];if(a|g){f=e+h|0;a=b;d=g+a|0;L=+C(C(+(d>>>0)+ +((a>>>0>d>>>0?f+1|0:f)>>>0)*4294967296)/C(+(g>>>0)+ +(h>>>0)*4294967296))}v[i+32>>2]=509254;A[i+24>>3]=L;v[i+16>>2]=b;v[i+20>>2]=e;v[i+8>>2]=g;v[i+12>>2]=h;v[i>>2]=c;Nd(v[130915],509100,i);break b}d=v[i+80>>2];v[F>>2]=d;m=17;g:{h:{i:{j:{switch(j|0){case 2:if(g){v[f>>2]=v[i+84>>2];m=0;break b}v[F>>2]=e;d=v[a+60>>2];k:{if(d){t[i+48|0]=10;Ea[d|0](v[a+4>>2],i+48|0,1);break k}d=v[a+80>>2];if(!d){break k}g=v[i+84>>2];v[i+48>>2]=g;if(!w[c+68|0]){if(v[a+144>>2]!=(c|0)){p=v[a+296>>2];u=p+4|0}while(1){v[i+92>>2]=v[a+44>>2];g=Ea[v[c+56>>2]](c,i+48|0,e,i+92|0,v[a+48>>2])|0;v[u>>2]=v[i+48>>2];d=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],d,v[i+92>>2]-d|0);v[p>>2]=v[i+48>>2];if(g>>>0>=2){continue}break}break k}Ea[d|0](v[a+4>>2],g,e-g|0)}if(!b){m=3;break b}m=13;if(v[a+308>>2]!=(b|0)){break b}break c;case 1:if(g){v[f>>2]=v[i+84>>2];m=0;break b}if((b|0)<1){m=3;break b}m=13;if(v[a+308>>2]!=(b|0)){break b}v[f>>2]=v[i+84>>2];m=0;break b;case 5:v[z>>2]=d;m=4;break b;case 4:if(!g){m=5;break b}v[f>>2]=v[i+84>>2];m=0;break b;case 3:if(!g){m=6;break b}v[f>>2]=v[i+84>>2];m=0;break b;case 14:j=v[c+64>>2];d=Ea[v[c+44>>2]](c,j+v[i+84>>2]|0,d-j|0)|0;t[i+88|0]=d;if(d&255){ye(a,9,i+88|0,M,2818,1);d=v[a+60>>2];if(d){Ea[d|0](v[a+4>>2],i+88|0,1);break g}d=v[a+80>>2];if(!d){break g}l=v[i+80>>2];j=v[i+84>>2];v[i+48>>2]=j;if(!w[c+68|0]){k=p;j=u;if(v[a+144>>2]!=(c|0)){k=v[a+296>>2];j=k+4|0}while(1){v[i+92>>2]=v[a+44>>2];n=Ea[v[c+56>>2]](c,i+48|0,l,i+92|0,v[a+48>>2])|0;v[j>>2]=v[i+48>>2];d=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],d,v[i+92>>2]-d|0);v[k>>2]=v[i+48>>2];if(n>>>0>=2){continue}break}break g}Ea[d|0](v[a+4>>2],j,l-j|0);break g}j=v[i+80>>2];d=v[c+64>>2];v[i+48>>2]=d+v[i+84>>2];l:{m:{if(!v[H>>2]){if(!_a(I)){break m}}d=j-d|0;while(1){if(Ea[v[c+56>>2]](c,i+48|0,d,H,v[s+88>>2])>>>0<2){break l}if(_a(I)){continue}break}}m=1;break b}m=1;if(!v[s+96>>2]){break b}d=v[s+92>>2];if((d|0)==v[s+88>>2]){if(!_a(I)){break b}d=v[H>>2]}v[s+92>>2]=d+1;t[d|0]=0;j=v[s+96>>2];if(!j){break b}x=vc(a,s,j,0);v[s+92>>2]=v[s+96>>2];n:{if(!(w[s+130|0]?0:w[s+129|0])){if(!x){m=11;break b}if(w[x+34|0]){break n}m=24;break b}if(x){break n}d=v[a+120>>2];if(d){Ea[d|0](v[a+4>>2],j,0);break g}if(!v[a+80>>2]){break g}Ni(a,c,v[i+84>>2],v[i+80>>2]);break g}if(w[x+32|0]){m=12;break b}if(v[x+28>>2]){m=15;break b}if(v[x+4>>2]){if(w[a+304|0]){break i}d=v[a+120>>2];if(d){Ea[d|0](v[a+4>>2],v[x>>2],0);break g}if(!v[a+80>>2]){break g}Ni(a,c,v[i+84>>2],v[i+80>>2]);break g}if(v[a+112>>2]){t[x+32|0]=1;o=0;k=0;B=0;o:{p:{D=v[a+352>>2];q:{if(!v[D+156>>2]){break q}l=a+412|0;d=v[a+424>>2];if((d|0)==v[a+420>>2]){if(!_a(l)){break p}d=v[a+424>>2]}k=1;v[a+424>>2]=d+1;t[d|0]=61;n=v[v[D+156>>2]+20>>2]-(w[a+468|0]!=0)|0;if((n|0)<1){break q}while(1){d=v[a+424>>2];if((d|0)==v[a+420>>2]){if(!_a(l)){break p}d=v[a+424>>2]}j=w[v[v[D+156>>2]+16>>2]+o|0];v[a+424>>2]=d+1;t[d|0]=j;o=o+1|0;if((n|0)!=(o|0)){continue}break}}d=v[D+60>>2];if(d){B=(v[D+68>>2]<<2)+d|0}E=a+412|0;r:{while(1){if((d|0)!=(B|0)){G=v[d>>2];j=d+4|0;d=j;if(!G){continue}d=j;if(!v[G+4>>2]){continue}if(k){d=v[a+424>>2];if((d|0)==v[a+420>>2]){if(!_a(E)){break p}d=v[a+424>>2]}v[a+424>>2]=d+1;t[d|0]=12}d=v[G>>2];if(w[d|0]){while(1){n=d;d=v[a+424>>2];s:{if((d|0)!=v[a+420>>2]){break s}k=v[a+428>>2];t:{l=v[a+416>>2];if(!l){break t}if(!k){v[a+412>>2]=l;v[a+416>>2]=v[l>>2];v[l>>2]=0;k=v[a+412>>2];d=k+8|0;v[a+428>>2]=d;k=v[k+4>>2];v[a+424>>2]=d;v[a+420>>2]=d+k;break s}if(v[l+4>>2]<=(d-k|0)){break t}d=v[l>>2];v[l>>2]=v[a+412>>2];k=v[a+416>>2];v[a+416>>2]=d;v[a+412>>2]=k;d=v[a+428>>2];Ta(k+8|0,d,v[a+420>>2]-d|0);d=v[a+428>>2];k=v[a+412>>2];l=k+8|0;v[a+428>>2]=l;d=l+(v[a+424>>2]-d|0)|0;v[a+424>>2]=d;v[a+420>>2]=l+v[k+4>>2];break s}q=d-k|0;l=v[E>>2];if(!(!l|(k|0)!=(l+8|0))){d=0;r=q<<1;if((r|0)<0|!r){break r}k=r+8|0;if((k|0)<1){break r}k=Ea[v[v[a+432>>2]+4>>2]](l,k)|0;if(!k){break r}v[a+412>>2]=k;v[k+4>>2]=r;k=v[a+412>>2]+8|0;v[a+428>>2]=k;d=k+q|0;v[a+424>>2]=d;v[a+420>>2]=k+r;break s}d=0;if((q|0)<0){break r}r=1024;o=1032;if((q|0)>=1024){r=q<<1;if((r|0)<0){break r}o=r+8|0;if((o|0)<1){break r}}l=Ea[v[v[a+432>>2]>>2]](o)|0;if(!l){break r}v[l+4>>2]=r;v[l>>2]=v[a+412>>2];v[a+412>>2]=l;d=v[a+424>>2];k=v[a+428>>2];u:{if((d|0)==(k|0)){k=d;break u}Ta(l+8|0,k,d-k|0);d=v[a+428>>2];k=v[a+424>>2]}l=l+8|0;v[a+428>>2]=l;d=l+(k-d|0)|0;v[a+424>>2]=d;v[a+420>>2]=l+r}k=w[n|0];v[a+424>>2]=d+1;t[d|0]=k;d=n+1|0;if(w[n+1|0]){continue}break}}d=v[a+424>>2];if((d|0)==v[a+420>>2]){if(!_a(E)){break p}d=v[a+424>>2]}k=1;v[a+424>>2]=d+1;t[d|0]=61;o=0;d=j;l=v[v[G+4>>2]+20>>2]-(w[a+468|0]!=0)|0;if((l|0)<1){continue}while(1){d=v[a+424>>2];if((d|0)==v[a+420>>2]){if(!_a(E)){break p}d=v[a+424>>2]}n=w[v[v[G+4>>2]+16>>2]+o|0];v[a+424>>2]=d+1;t[d|0]=n;o=o+1|0;if((l|0)!=(o|0)){continue}break}d=j;continue}break}d=v[D>>2];if(d){n=(v[D+8>>2]<<2)+d|0}else{n=0}while(1){if((d|0)!=(n|0)){l=v[d>>2];j=d+4|0;d=j;if(!l){continue}d=j;if(!w[l+32|0]){continue}if(k){d=v[a+424>>2];if((d|0)==v[a+420>>2]){if(!_a(E)){break p}d=v[a+424>>2]}v[a+424>>2]=d+1;t[d|0]=12}k=1;d=j;o=v[l>>2];l=w[o|0];if(!l){continue}while(1){d=v[a+424>>2];if((d|0)==v[a+420>>2]){if(!_a(E)){break p}l=w[o|0];d=v[a+424>>2]}v[a+424>>2]=d+1;t[d|0]=l;l=w[o+1|0];o=o+1|0;if(l){continue}break}d=j;continue}break}d=v[a+424>>2];if((d|0)==v[a+420>>2]){if(!_a(E)){break p}d=v[a+424>>2]}v[a+424>>2]=d+1;t[d|0]=0;d=v[a+428>>2]}break o}d=0}t[x+32|0]=0;if(!d){break b}if(!(Ea[v[a+112>>2]](v[a+116>>2],d,v[x+20>>2],v[x+16>>2],v[x+24>>2])|0)){m=21;break b}v[a+424>>2]=v[a+428>>2];break g}if(!v[a+80>>2]){break g}Ni(a,c,v[i+84>>2],v[i+80>>2]);break g;case 6:case 7:d=v[a+364>>2];v:{if(d){v[a+364>>2]=v[d>>2];break v}m=1;d=Ea[v[a+12>>2]](48)|0;if(!d){break b}j=Ea[v[a+12>>2]](32)|0;v[d+36>>2]=j;if(!j){Ea[v[a+20>>2]](d);break b}v[d+40>>2]=j+32}v[d+44>>2]=0;v[d>>2]=v[a+360>>2];v[a+360>>2]=d;v[d+16>>2]=0;v[d+20>>2]=0;j=v[i+84>>2]+v[c+64>>2]|0;v[d+4>>2]=j;N=d,O=Ea[v[c+28>>2]](c,j)|0,v[N+8>>2]=O;v[a+308>>2]=v[a+308>>2]+1;k=v[d+8>>2];j=v[d+4>>2];v[i+48>>2]=j;r=d+12|0;n=d+44|0;B=j+k|0;k=v[d+40>>2];m=v[d+36>>2];w:{while(1){x:{v[i+88>>2]=m;k=Ea[v[c+56>>2]](c,i+48|0,B,i+88|0,k-1|0)|0;j=v[i+88>>2];q=v[d+36>>2];l=j-q|0;if((k|0)==1|B>>>0<=y[i+48>>2]){break x}j=v[d+40>>2]-q<<1;q=Ea[v[a+16>>2]](q,j)|0;if(!q){break w}v[d+36>>2]=q;k=j+q|0;v[d+40>>2]=k;m=l+q|0;continue}break}v[d+24>>2]=l;v[d+12>>2]=q;t[j|0]=0;m=Zs(a,c,v[i+84>>2],r,n,h);if(m){break b}d=v[a+52>>2];y:{if(d){Ea[d|0](v[a+4>>2],v[r>>2],v[a+388>>2]);break y}d=v[a+80>>2];if(!d){break y}l=v[i+80>>2];j=v[i+84>>2];v[i+48>>2]=j;if(!w[c+68|0]){k=p;j=u;if(v[a+144>>2]!=(c|0)){k=v[a+296>>2];j=k+4|0}while(1){v[i+92>>2]=v[a+44>>2];n=Ea[v[c+56>>2]](c,i+48|0,l,i+92|0,v[a+48>>2])|0;v[j>>2]=v[i+48>>2];d=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],d,v[i+92>>2]-d|0);v[k>>2]=v[i+48>>2];if(n>>>0>=2){continue}break}break y}Ea[d|0](v[a+4>>2],j,l-j|0)}d=v[a+412>>2];j=v[a+416>>2];z:{if(!j){v[a+416>>2]=d;break z}if(!d){break z}while(1){k=v[d>>2];v[d>>2]=j;v[a+416>>2]=d;j=d;d=k;if(d){continue}break}}v[a+428>>2]=0;v[a+412>>2]=0;v[a+420>>2]=0;v[a+424>>2]=0;break g}m=1;break b;case 8:case 9:j=v[c+64>>2];d=v[i+84>>2];v[i+76>>2]=0;j=d+j|0;d=Ea[v[c+28>>2]](c,j)|0;v[i+92>>2]=j;A:{B:{if(!v[J>>2]){if(!_a(K)){break B}}d=d+j|0;while(1){if(Ea[v[c+56>>2]](c,i+92|0,d,J,v[a+420>>2])>>>0<2){break A}if(_a(K)){continue}break}}m=1;break b}m=1;if(!v[a+428>>2]){break b}d=v[a+424>>2];if((d|0)==v[a+420>>2]){if(!_a(K)){break b}d=v[J>>2]}v[a+424>>2]=d+1;t[d|0]=0;d=v[a+428>>2];v[i+48>>2]=d;if(!d){break b}v[a+428>>2]=v[a+424>>2];m=Zs(a,c,v[i+84>>2],i+48|0,i+76|0,2);if(m){c=v[i+76>>2];if(!c){break b}while(1){b=v[a+104>>2];if(b){Ea[b|0](v[a+4>>2],v[v[c>>2]>>2])}b=v[c+4>>2];v[c+4>>2]=v[a+372>>2];v[a+372>>2]=c;v[v[c>>2]+4>>2]=v[c+8>>2];c=b;if(c){continue}break}break b}v[a+428>>2]=v[a+424>>2];C:{D:{d=v[a+52>>2];E:{if(!d){d=v[a+56>>2];if(!d){break D}m=v[i+48>>2];break E}m=v[i+48>>2];Ea[d|0](v[a+4>>2],m,v[a+388>>2]);d=v[a+56>>2];if(!d){break C}if(!v[a+52>>2]){break E}v[z>>2]=v[F>>2];d=v[a+56>>2]}Ea[d|0](v[a+4>>2],m);break C}d=v[a+80>>2];if(!d){break C}l=v[i+80>>2];j=v[i+84>>2];v[i+92>>2]=j;if(!w[c+68|0]){k=p;j=u;if(v[a+144>>2]!=(c|0)){k=v[a+296>>2];j=k+4|0}while(1){v[i+88>>2]=v[a+44>>2];n=Ea[v[c+56>>2]](c,i+92|0,l,i+88|0,v[a+48>>2])|0;v[j>>2]=v[i+92>>2];d=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],d,v[i+88>>2]-d|0);v[k>>2]=v[i+92>>2];if(n>>>0>=2){continue}break}break C}Ea[d|0](v[a+4>>2],j,l-j|0)}d=v[a+412>>2];j=v[a+416>>2];F:{if(!j){v[a+416>>2]=d;break F}if(!d){break F}while(1){k=v[d>>2];v[d>>2]=j;v[a+416>>2]=d;j=d;d=k;if(d){continue}break}}v[a+428>>2]=0;v[a+412>>2]=0;v[a+420>>2]=0;v[a+424>>2]=0;d=v[i+76>>2];if(d){while(1){j=v[a+104>>2];if(j){Ea[j|0](v[a+4>>2],v[v[d>>2]>>2])}j=v[d+4>>2];v[d+4>>2]=v[a+372>>2];v[a+372>>2]=d;v[v[d>>2]+4>>2]=v[d+8>>2];d=j;if(d){continue}break}}if(v[a+308>>2]){break g}G:{switch(v[a+476>>2]-2|0){case 1:v[a+276>>2]=996;break g;case 0:break g;default:break G}}m=Hl(a,v[i+80>>2],e,f);break b;case 10:if(v[a+308>>2]==(b|0)){m=13;break b}n=v[a+360>>2];v[a+360>>2]=v[n>>2];v[n>>2]=v[a+364>>2];v[a+364>>2]=n;j=v[i+84>>2]+(v[c+64>>2]<<1)|0;d=Ea[v[c+28>>2]](c,j)|0;H:{if((d|0)==v[n+8>>2]){if(!lc(v[n+4>>2],j,d)){break H}}v[z>>2]=j;m=7;break b}v[a+308>>2]=v[a+308>>2]-1;d=v[a+56>>2];I:{if(d){J:{if(!w[a+232|0]){break J}j=v[n+16>>2];if(!j){break J}d=v[n+12>>2]+v[n+28>>2]|0;k=w[j|0];if(k){while(1){t[d|0]=k;d=d+1|0;k=w[j+1|0];j=j+1|0;if(k){continue}break}}K:{if(!w[a+233|0]){break K}j=v[n+20>>2];if(!j){break K}t[d|0]=w[a+468|0];d=d+1|0;k=w[j|0];if(!k){break K}while(1){t[d|0]=k;d=d+1|0;k=w[j+1|0];j=j+1|0;if(k){continue}break}}t[d|0]=0;d=v[a+56>>2]}Ea[d|0](v[a+4>>2],v[n+12>>2]);break I}d=v[a+80>>2];if(!d){break I}B=v[i+80>>2];j=v[i+84>>2];v[i+48>>2]=j;if(!w[c+68|0]){j=p;d=u;if(v[a+144>>2]!=(c|0)){j=v[a+296>>2];d=j+4|0}while(1){v[i+92>>2]=v[a+44>>2];l=Ea[v[c+56>>2]](c,i+48|0,B,i+92|0,v[a+48>>2])|0;v[d>>2]=v[i+48>>2];k=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],k,v[i+92>>2]-k|0);v[j>>2]=v[i+48>>2];if(l>>>0>=2){continue}break}break I}Ea[d|0](v[a+4>>2],j,B-j|0)}while(1){k=v[n+44>>2];if(k){l=n;j=v[a+104>>2];if(j){Ea[j|0](v[a+4>>2],v[v[k>>2]>>2]);d=v[n+44>>2]}else{d=k}v[l+44>>2]=v[d+4>>2];v[k+4>>2]=v[a+372>>2];v[a+372>>2]=k;v[v[k>>2]+4>>2]=v[k+8>>2];continue}break};if(v[a+308>>2]){break g}L:{switch(v[a+476>>2]-2|0){case 1:v[a+276>>2]=996;break g;case 0:break g;default:break L}}m=Hl(a,v[i+80>>2],e,f);break b;case 15:j=Ea[v[c+40>>2]](c,v[i+84>>2])|0;if((j|0)<0){m=14;break b}d=v[a+60>>2];if(d){Ea[d|0](v[a+4>>2],i+48|0,Sl(j,i+48|0));break g}d=v[a+80>>2];if(!d){break g}l=v[i+80>>2];j=v[i+84>>2];v[i+48>>2]=j;if(w[c+68|0]){break h}k=p;j=u;if(v[a+144>>2]!=(c|0)){k=v[a+296>>2];j=k+4|0}while(1){v[i+92>>2]=v[a+44>>2];n=Ea[v[c+56>>2]](c,i+48|0,l,i+92|0,v[a+48>>2])|0;v[j>>2]=v[i+48>>2];d=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],d,v[i+92>>2]-d|0);v[k>>2]=v[i+48>>2];if(n>>>0>=2){continue}break};break g;case 12:j=v[a+60>>2];if(j){t[i+48|0]=10;Ea[j|0](v[a+4>>2],i+48|0,1);break g}j=v[a+80>>2];if(!j){break g}k=v[i+84>>2];v[i+48>>2]=k;if(!w[c+68|0]){k=p;j=u;if(v[a+144>>2]!=(c|0)){k=v[a+296>>2];j=k+4|0}while(1){v[i+92>>2]=v[a+44>>2];l=Ea[v[c+56>>2]](c,i+48|0,d,i+92|0,v[a+48>>2])|0;v[j>>2]=v[i+48>>2];n=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],n,v[i+92>>2]-n|0);v[k>>2]=v[i+48>>2];if(l>>>0>=2){continue}break}break g}Ea[j|0](v[a+4>>2],k,d-k|0);break g;case 13:j=v[a+72>>2];M:{if(j){Ea[j|0](v[a+4>>2]);break M}j=v[a+80>>2];if(!j){break M}k=v[i+84>>2];v[i+48>>2]=k;if(!w[c+68|0]){k=p;j=u;if(v[a+144>>2]!=(c|0)){k=v[a+296>>2];j=k+4|0}while(1){v[i+92>>2]=v[a+44>>2];l=Ea[v[c+56>>2]](c,i+48|0,d,i+92|0,v[a+48>>2])|0;v[j>>2]=v[i+48>>2];n=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],n,v[i+92>>2]-n|0);v[k>>2]=v[i+48>>2];if(l>>>0>=2){continue}break}break M}Ea[j|0](v[a+4>>2],k,d-k|0)}m=Ys(a,c,i+80|0,e,f,g,h);if(m){break b}if(v[i+80>>2]){break g}v[a+276>>2]=997;m=0;break b;case 0:if(g){v[f>>2]=v[i+84>>2];m=0;break b}d=v[a+60>>2];N:{if(d){if(!w[c+68|0]){v[i+48>>2]=v[a+44>>2];Ea[v[c+56>>2]](c,i+84|0,e,i+48|0,v[a+48>>2])|0;c=v[a+44>>2];Ea[v[a+60>>2]](v[a+4>>2],c,v[i+48>>2]-c|0);break N}c=v[i+84>>2];Ea[d|0](v[a+4>>2],c,e-c|0);break N}d=v[a+80>>2];if(!d){break N}g=v[i+84>>2];v[i+48>>2]=g;if(!w[c+68|0]){if(v[a+144>>2]!=(c|0)){p=v[a+296>>2];u=p+4|0}while(1){v[i+92>>2]=v[a+44>>2];g=Ea[v[c+56>>2]](c,i+48|0,e,i+92|0,v[a+48>>2])|0;v[u>>2]=v[i+48>>2];d=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],d,v[i+92>>2]-d|0);v[p>>2]=v[i+48>>2];if(g>>>0>=2){continue}break}break N}Ea[d|0](v[a+4>>2],g,e-g|0)}if(!b){v[z>>2]=e;m=3;break b}if(v[a+308>>2]==(b|0)){break c}v[z>>2]=e;m=13;break b;case 11:k=v[a+60>>2];if(k){if(!w[c+68|0]){while(1){v[i+48>>2]=v[a+44>>2];j=Ea[v[c+56>>2]](c,i+84|0,d,i+48|0,v[a+48>>2])|0;v[F>>2]=v[i+84>>2];d=v[a+44>>2];Ea[k|0](v[a+4>>2],d,v[i+48>>2]-d|0);if(j>>>0<2){break g}v[z>>2]=v[i+84>>2];d=v[i+80>>2];continue}}j=v[i+84>>2];Ea[k|0](v[a+4>>2],j,d-j|0);break g}j=v[a+80>>2];if(!j){break g}k=v[i+84>>2];v[i+48>>2]=k;if(!w[c+68|0]){k=p;j=u;if(v[a+144>>2]!=(c|0)){k=v[a+296>>2];j=k+4|0}while(1){v[i+92>>2]=v[a+44>>2];l=Ea[v[c+56>>2]](c,i+48|0,d,i+92|0,v[a+48>>2])|0;v[j>>2]=v[i+48>>2];n=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],n,v[i+92>>2]-n|0);v[k>>2]=v[i+48>>2];if(l>>>0>=2){continue}break}break g}Ea[j|0](v[a+4>>2],k,d-k|0);break g;case 16:if(Kl(a,c,v[i+84>>2],d)){break g}m=1;break b;case 18:if(Jl(a,c,v[i+84>>2],d)){break g}m=1;break b;case 17:break b;default:break j}}j=v[a+80>>2];if(!j){break g}k=v[i+84>>2];v[i+48>>2]=k;if(!w[c+68|0]){k=p;j=u;if(v[a+144>>2]!=(c|0)){k=v[a+296>>2];j=k+4|0}while(1){v[i+92>>2]=v[a+44>>2];l=Ea[v[c+56>>2]](c,i+48|0,d,i+92|0,v[a+48>>2])|0;v[j>>2]=v[i+48>>2];n=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],n,v[i+92>>2]-n|0);v[k>>2]=v[i+48>>2];if(l>>>0>=2){continue}break}break g}Ea[j|0](v[a+4>>2],k,d-k|0);break g}m=$s(a,x,0);if(!m){break g}break b}Ea[d|0](v[a+4>>2],j,l-j|0)}d=v[i+80>>2];v[i+84>>2]=d;v[z>>2]=d;m=35;O:{switch(v[a+476>>2]-2|0){case 1:break O;case 0:break b;default:continue}}break}v[f>>2]=v[i+80>>2];m=0;break b}v[f>>2]=e;m=0}Ca=i+96|0;return m}function qi(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,x=0,y=0,z=0;h=Ca-272|0;Ca=h;v[h+8>>2]=0;v[h+4>>2]=0;g=6;a:{if(!b|!d&(c|0)>-1){break a}r=w[b|0]&2?v[b+16>>2]!=0:r;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{g=fh(a,b,h+8|0);l:{if(g){break l}s=v[a>>2];m:{i=v[b>>2];if(!(i&8)){break m}n=v[b+20>>2];if(!n){break m}g=32;if(t[v[n>>2]]&1){g=0;e=0;if(i&16){g=v[b+24>>2];e=v[b+28>>2]}g=Xr(n,h+8|0,r,c,g,e,h+4|0);if(!g){break j}}a=v[h+8>>2];if(!a){break b}b=v[a+28>>2];c=v[a+24>>2];if(c){Ea[c|0](a)}if(r){break b}Ea[v[b+8>>2]](b,a);break b}i=v[a+16>>2];if((i|0)<1){g=11;n=0;break c}f=((i<<2)+a|0)+20|0;o=a+20|0;g=11;i=0;while(1){n=v[o>>2];if(t[v[n>>2]]&1){g=0;i=0;if(w[b|0]&16){g=v[b+24>>2];i=v[b+28>>2]}g=Xr(n,h+8|0,r,c,g,i,h+4|0);if(!g){break j}n:{if(!e){break n}if(Wa(v[v[v[o>>2]>>2]+8>>2],4256)|(g&255)!=142){break n}i=v[h+8>>2];g=v[i+20>>2];if(g){if(Ea[g|0](i,0,0,0)|0){break k}}v[i+8>>2]=0;g=Wr(a,i,c,d);if(g){break n}a=v[i+28>>2];b=v[i+24>>2];if(b){Ea[b|0](i)}g=0;if(r){break a}Ea[v[a+8>>2]](a,i);break a}if((g&255)!=2){break l}i=n}o=o+4|0;if(f>>>0>o>>>0){continue}break}n=i}o:{p:{i=g&255;switch(i-81|0){case 0:case 4:break o;case 1:case 2:case 3:break c;default:break p}}if((i|0)!=2){break c}}if(!e){break e}i=v[h+8>>2];if(i){break k}i=0;x=1;break i}e=v[i+20>>2];if(e){if(Ea[e|0](i,0,0,0)|0){break i}}v[i+8>>2]=0;e=v[i+4>>2];if(!e){break i}f=v[i+20>>2];q:{if(f){g=Ea[f|0](i,0,h+144|0,128)|0;break q}g=e>>>0<128?e:128;Ta(h+144|0,v[i>>2],g)}v[i+8>>2]=g;if(g>>>0<128){break i}r:{s:{if(w[h+226|0]|(w[h+144|0]|w[h+218|0])){break s}e=w[h+145|0];if(w[h+207|0]|(e-1&255)>>>0>32|w[(e+h|0)+146|0]){break s}e=t[h+227|0];if((e|0)<=-1){break s}g=Tk(a,i,(w[h+230|0]|(w[h+228|0]<<16|(e&255)<<24|w[h+229|0]<<8))+255&-128,c,d);if((g&255)!=2){break r}}g=Tk(a,i,0,c,d)}e=g&255;if((e|0)==85){break h}if((e|0)!=2){break g}break h}a=Ea[v[s+4>>2]](s,12)|0;if(!a){g=64;break b}t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;t[a+4|0]=0;t[a+5|0]=0;t[a+6|0]=0;t[a+7|0]=0;e=v[h+4>>2];v[a+8>>2]=e;b=v[e+96>>2];i=v[b+20>>2];v[a>>2]=i;v[a+4>>2]=0;v[(i?i+4|0:b+16|0)>>2]=a;v[b+20>>2]=a;t:{if((c|0)>=0){g=Wk(e,0);if(g){break t}g=Vr(e,h+144|0);if(g){break t}v[e+88>>2]=v[h+144>>2]}a=v[e+8>>2];u:{if(!(a&1)){break u}b=u[e+74>>1];if((b|0)<=-1){b=0-b|0;u[e+74>>1]=b}if(a&32){break u}u[e+78>>1]=b}v:{if(!(a&2)){break v}c=v[e+28>>2];if((c|0)<1){break v}i=v[e+32>>2];b=0;while(1){a=i+(b<<4)|0;o=u[a>>1];if((o|0)<=-1){o=0-o|0;u[a>>1]=o}n=v[a+8>>2];if((n|0)<=-1){v[a+8>>2]=0-n}n=v[a+12>>2];if((n|0)<=-1){v[a+12>>2]=0-n}if(o<<16>>16<=-1){v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}b=b+1|0;if((c|0)!=(b|0)){continue}break}}a=v[e+128>>2];v[a+64>>2]=1;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=65536;v[a>>2]=65536;v[a+4>>2]=0;t[a+56|0]=255;if(d){v[d>>2]=e;g=0;break a}zd(e);g=0;break a}a=v[e+96>>2];if(!a){break a}c=v[e+128>>2];b=v[c+64>>2];v[c+64>>2]=b-1;if((b|0)>1){break a}b=v[a+16>>2];if(!b){break a}i=a+16|0;c=v[a+8>>2];while(1){if((e|0)!=v[b+8>>2]){b=v[b+4>>2];if(b){continue}break a}break}d=v[b>>2];n=d?d+4|0:i;i=v[b+4>>2];v[n>>2]=i;v[(i?i:a+20|0)>>2]=d;Ea[v[c+8>>2]](c,b);qg(c,e,a);break a}g=85}if(!(w[b|0]&4)){break g}p=v[a>>2];o=0;v[h+12>>2]=0;k=v[b+12>>2];l=h+96|0;v[h+144>>2]=0;w:{x:{y:{z:{if(i){e=h;g=v[i+20>>2];A:{if(g){f=85;if(Ea[g|0](i,0,0,0)|0){break A}}v[i+8>>2]=0;v[h+48>>2]=0;v[h+144>>2]=0;f=wd(i,333319,l)}v[e+48>>2]=f;v[h+148>>2]=0;B:{C:{e=v[i+20>>2];if(!e){break C}if(!(Ea[e|0](i,0,0,0)|0)){break C}v[h+52>>2]=85;break B}v[i+8>>2]=0;v[h+52>>2]=0;v[h+148>>2]=0;y=h,z=wd(i,333312,l+4|0),v[y+52>>2]=z}v[h+152>>2]=0;D:{e=v[i+20>>2];if(!e){break D}if(!(Ea[e|0](i,0,0,0)|0)){break D}v[h+56>>2]=85;break x}v[i+8>>2]=0;v[h+56>>2]=0;m=v[a>>2];j=bd(m,k,4449);if(!j){e=64;break y}g=v[a>>2];f=Ea[v[g+4>>2]](g,40)|0;if(!f){e=64;break z}t[f|0]=0;t[f+1|0]=0;t[f+2|0]=0;t[f+3|0]=0;t[f+4|0]=0;t[f+5|0]=0;t[f+6|0]=0;t[f+7|0]=0;t[f+32|0]=0;t[f+33|0]=0;t[f+34|0]=0;t[f+35|0]=0;t[f+36|0]=0;t[f+37|0]=0;t[f+38|0]=0;t[f+39|0]=0;t[f+24|0]=0;t[f+25|0]=0;t[f+26|0]=0;t[f+27|0]=0;t[f+28|0]=0;t[f+29|0]=0;t[f+30|0]=0;t[f+31|0]=0;t[f+16|0]=0;t[f+17|0]=0;t[f+18|0]=0;t[f+19|0]=0;t[f+20|0]=0;t[f+21|0]=0;t[f+22|0]=0;t[f+23|0]=0;t[f+8|0]=0;t[f+9|0]=0;t[f+10|0]=0;t[f+11|0]=0;t[f+12|0]=0;t[f+13|0]=0;t[f+14|0]=0;t[f+15|0]=0;e=bg(f,j);if(e){Ea[v[g+8>>2]](g,f);break z}v[f+28>>2]=g;e=wd(f,333319,l+8|0);g=v[f+28>>2];q=v[f+24>>2];if(q){Ea[q|0](f)}Ea[v[g+8>>2]](g,f);if(e){break z}v[h+152>>2]=j;e=0;break y}v[h+144>>2]=0;v[h+48>>2]=81;v[h+148>>2]=0;v[h+52>>2]=81;v[h+152>>2]=0;v[h+56>>2]=0;m=v[a>>2];j=bd(m,k,4449);E:{if(!j){g=64;break E}F:{f=v[a>>2];e=Ea[v[f+4>>2]](f,40)|0;if(!e){g=64;break F}t[e|0]=0;t[e+1|0]=0;t[e+2|0]=0;t[e+3|0]=0;t[e+4|0]=0;t[e+5|0]=0;t[e+6|0]=0;t[e+7|0]=0;t[e+32|0]=0;t[e+33|0]=0;t[e+34|0]=0;t[e+35|0]=0;t[e+36|0]=0;t[e+37|0]=0;t[e+38|0]=0;t[e+39|0]=0;t[e+24|0]=0;t[e+25|0]=0;t[e+26|0]=0;t[e+27|0]=0;t[e+28|0]=0;t[e+29|0]=0;t[e+30|0]=0;t[e+31|0]=0;t[e+16|0]=0;t[e+17|0]=0;t[e+18|0]=0;t[e+19|0]=0;t[e+20|0]=0;t[e+21|0]=0;t[e+22|0]=0;t[e+23|0]=0;t[e+8|0]=0;t[e+9|0]=0;t[e+10|0]=0;t[e+11|0]=0;t[e+12|0]=0;t[e+13|0]=0;t[e+14|0]=0;t[e+15|0]=0;g=bg(e,j);if(g){Ea[v[f+8>>2]](f,e);break F}v[e+28>>2]=f;g=wd(e,333319,l+8|0);f=v[e+28>>2];q=v[e+24>>2];if(q){Ea[q|0](e)}Ea[v[f+8>>2]](f,e);if(g){break F}v[h+152>>2]=j;g=0;break E}Ea[v[m+8>>2]](m,j)}v[h+56>>2]=g;e=0;v[h+156>>2]=0;v[h+60>>2]=0;g=Xa(k);m=g+18|0;f=h;G:{H:{if((g|0)>=-17){e=v[a>>2];e=Ea[v[e+4>>2]](e,m)|0;if(e){break H}j=64;break G}j=6;if(m){break G}}m=Ta(e,k,g);e=m+g|0;g=w[4468]|w[4469]<<8;t[e+16|0]=g;t[e+17|0]=g>>>8;g=w[4464]|w[4465]<<8|(w[4466]<<16|w[4467]<<24);j=w[4460]|w[4461]<<8|(w[4462]<<16|w[4463]<<24);t[e+8|0]=j;t[e+9|0]=j>>>8;t[e+10|0]=j>>>16;t[e+11|0]=j>>>24;t[e+12|0]=g;t[e+13|0]=g>>>8;t[e+14|0]=g>>>16;t[e+15|0]=g>>>24;g=w[4456]|w[4457]<<8|(w[4458]<<16|w[4459]<<24);j=w[4452]|w[4453]<<8|(w[4454]<<16|w[4455]<<24);t[e|0]=j;t[e+1|0]=j>>>8;t[e+2|0]=j>>>16;t[e+3|0]=j>>>24;t[e+4|0]=g;t[e+5|0]=g>>>8;t[e+6|0]=g>>>16;t[e+7|0]=g>>>24;v[h+156>>2]=m;v[l+12>>2]=0;j=0}v[f+60>>2]=j;e=0;v[h+160>>2]=0;v[h+64>>2]=0;g=6;f=Xa(k);j=f+6|0;I:{J:{if((f|0)>=-5){e=v[a>>2];e=Ea[v[e+4>>2]](e,j)|0;if(e){break J}g=64;break I}if(j){break I}}g=0;j=Ta(e,k,f);e=j+f|0;f=w[4474]|w[4475]<<8;t[e+4|0]=f;t[e+5|0]=f>>>8;f=w[4470]|w[4471]<<8|(w[4472]<<16|w[4473]<<24);t[e|0]=f;t[e+1|0]=f>>>8;t[e+2|0]=f>>>16;t[e+3|0]=f>>>24;v[h+160>>2]=j;v[l+16>>2]=0}v[h+64>>2]=g;v[h+164>>2]=0;v[h+68>>2]=0;g=64;e=h;f=bd(v[a>>2],k,4476);if(f){v[h+164>>2]=f;v[l+20>>2]=0;f=0}else{f=64}v[e+68>>2]=f;v[h+168>>2]=0;v[h+72>>2]=0;e=h;f=bd(v[a>>2],k,4490);if(f){v[h+168>>2]=f;v[l+24>>2]=0;f=0}else{f=64}v[e+72>>2]=f;v[h+172>>2]=0;v[h+76>>2]=0;m=v[a>>2];j=bd(m,k,4501);K:{if(!j){break K}L:{f=v[a>>2];e=Ea[v[f+4>>2]](f,40)|0;if(!e){break L}t[e|0]=0;t[e+1|0]=0;t[e+2|0]=0;t[e+3|0]=0;t[e+4|0]=0;t[e+5|0]=0;t[e+6|0]=0;t[e+7|0]=0;t[e+32|0]=0;t[e+33|0]=0;t[e+34|0]=0;t[e+35|0]=0;t[e+36|0]=0;t[e+37|0]=0;t[e+38|0]=0;t[e+39|0]=0;t[e+24|0]=0;t[e+25|0]=0;t[e+26|0]=0;t[e+27|0]=0;t[e+28|0]=0;t[e+29|0]=0;t[e+30|0]=0;t[e+31|0]=0;t[e+16|0]=0;t[e+17|0]=0;t[e+18|0]=0;t[e+19|0]=0;t[e+20|0]=0;t[e+21|0]=0;t[e+22|0]=0;t[e+23|0]=0;t[e+8|0]=0;t[e+9|0]=0;t[e+10|0]=0;t[e+11|0]=0;t[e+12|0]=0;t[e+13|0]=0;t[e+14|0]=0;t[e+15|0]=0;g=bg(e,j);if(g){Ea[v[f+8>>2]](f,e);break L}v[e+28>>2]=f;g=wd(e,333319,l+28|0);f=v[e+28>>2];q=v[e+24>>2];if(q){Ea[q|0](e)}Ea[v[f+8>>2]](f,e);if(g){break L}v[h+172>>2]=j;g=0;break K}Ea[v[m+8>>2]](m,j)}v[h+76>>2]=g;v[h+176>>2]=0;v[h+80>>2]=0;M:{f=h;m=v[a>>2];j=bd(m,k,4503);if(j){k=v[a>>2];g=Ea[v[k+4>>2]](k,40)|0;if(!g){e=64;break M}t[g|0]=0;t[g+1|0]=0;t[g+2|0]=0;t[g+3|0]=0;t[g+4|0]=0;t[g+5|0]=0;t[g+6|0]=0;t[g+7|0]=0;t[g+32|0]=0;t[g+33|0]=0;t[g+34|0]=0;t[g+35|0]=0;t[g+36|0]=0;t[g+37|0]=0;t[g+38|0]=0;t[g+39|0]=0;t[g+24|0]=0;t[g+25|0]=0;t[g+26|0]=0;t[g+27|0]=0;t[g+28|0]=0;t[g+29|0]=0;t[g+30|0]=0;t[g+31|0]=0;t[g+16|0]=0;t[g+17|0]=0;t[g+18|0]=0;t[g+19|0]=0;t[g+20|0]=0;t[g+21|0]=0;t[g+22|0]=0;t[g+23|0]=0;t[g+8|0]=0;t[g+9|0]=0;t[g+10|0]=0;t[g+11|0]=0;t[g+12|0]=0;t[g+13|0]=0;t[g+14|0]=0;t[g+15|0]=0;e=bg(g,j);if(e){Ea[v[k+8>>2]](k,g);break M}v[g+28>>2]=k;e=wd(g,333319,l+32|0);k=v[g+28>>2];l=v[g+24>>2];if(l){Ea[l|0](g)}Ea[v[k+8>>2]](k,g);if(e){break M}v[h+176>>2]=j;e=0}else{e=64}v[f+80>>2]=e;break w}Ea[v[m+8>>2]](m,j);v[h+80>>2]=e;break w}Ea[v[m+8>>2]](m,j)}v[h+56>>2]=e}v[h+156>>2]=0;N:{O:{e=v[i+20>>2];if(!e){break O}if(!(Ea[e|0](i,0,0,0)|0)){break O}v[h+60>>2]=85;break N}v[i+8>>2]=0;v[h+60>>2]=0;f=Xa(k);j=f+18|0;e=h;P:{Q:{if((f|0)>=-17){g=v[a>>2];g=Ea[v[g+4>>2]](g,j)|0;if(g){break Q}g=64;break P}g=6;if(j){break P}g=0}m=Ta(g,k,f);f=m+f|0;g=w[4468]|w[4469]<<8;t[f+16|0]=g;t[f+17|0]=g>>>8;g=w[4464]|w[4465]<<8|(w[4466]<<16|w[4467]<<24);j=w[4460]|w[4461]<<8|(w[4462]<<16|w[4463]<<24);t[f+8|0]=j;t[f+9|0]=j>>>8;t[f+10|0]=j>>>16;t[f+11|0]=j>>>24;t[f+12|0]=g;t[f+13|0]=g>>>8;t[f+14|0]=g>>>16;t[f+15|0]=g>>>24;g=w[4456]|w[4457]<<8|(w[4458]<<16|w[4459]<<24);j=w[4452]|w[4453]<<8|(w[4454]<<16|w[4455]<<24);t[f|0]=j;t[f+1|0]=j>>>8;t[f+2|0]=j>>>16;t[f+3|0]=j>>>24;t[f+4|0]=g;t[f+5|0]=g>>>8;t[f+6|0]=g>>>16;t[f+7|0]=g>>>24;v[h+156>>2]=m;v[l+12>>2]=0;g=0}v[e+60>>2]=g}v[h+160>>2]=0;R:{S:{e=v[i+20>>2];if(!e){break S}if(!(Ea[e|0](i,0,0,0)|0)){break S}v[h+64>>2]=85;break R}v[i+8>>2]=0;v[h+64>>2]=0;e=6;f=Xa(k);g=f+6|0;T:{U:{if((f|0)>=-5){e=v[a>>2];g=Ea[v[e+4>>2]](e,g)|0;if(g){break U}e=64;break T}if(g){break T}g=0}e=0;j=Ta(g,k,f);f=j+f|0;g=w[4474]|w[4475]<<8;t[f+4|0]=g;t[f+5|0]=g>>>8;g=w[4470]|w[4471]<<8|(w[4472]<<16|w[4473]<<24);t[f|0]=g;t[f+1|0]=g>>>8;t[f+2|0]=g>>>16;t[f+3|0]=g>>>24;v[h+160>>2]=j;v[l+16>>2]=0}v[h+64>>2]=e}v[h+164>>2]=0;V:{W:{e=v[i+20>>2];if(!e){break W}if(!(Ea[e|0](i,0,0,0)|0)){break W}v[h+68>>2]=85;break V}v[i+8>>2]=0;v[h+68>>2]=0;e=h;f=bd(v[a>>2],k,4476);if(f){v[h+164>>2]=f;v[l+20>>2]=0;f=0}else{f=64}v[e+68>>2]=f}v[h+168>>2]=0;X:{Y:{e=v[i+20>>2];if(!e){break Y}if(!(Ea[e|0](i,0,0,0)|0)){break Y}v[h+72>>2]=85;break X}v[i+8>>2]=0;v[h+72>>2]=0;e=h;f=bd(v[a>>2],k,4490);if(f){v[h+168>>2]=f;v[l+24>>2]=0;f=0}else{f=64}v[e+72>>2]=f}v[h+172>>2]=0;Z:{_:{e=v[i+20>>2];if(!e){break _}if(!(Ea[e|0](i,0,0,0)|0)){break _}v[h+76>>2]=85;break Z}v[i+8>>2]=0;v[h+76>>2]=0;m=v[a>>2];j=bd(m,k,4501);$:{if(!j){e=64;break $}aa:{g=v[a>>2];f=Ea[v[g+4>>2]](g,40)|0;if(!f){e=64;break aa}t[f|0]=0;t[f+1|0]=0;t[f+2|0]=0;t[f+3|0]=0;t[f+4|0]=0;t[f+5|0]=0;t[f+6|0]=0;t[f+7|0]=0;t[f+32|0]=0;t[f+33|0]=0;t[f+34|0]=0;t[f+35|0]=0;t[f+36|0]=0;t[f+37|0]=0;t[f+38|0]=0;t[f+39|0]=0;t[f+24|0]=0;t[f+25|0]=0;t[f+26|0]=0;t[f+27|0]=0;t[f+28|0]=0;t[f+29|0]=0;t[f+30|0]=0;t[f+31|0]=0;t[f+16|0]=0;t[f+17|0]=0;t[f+18|0]=0;t[f+19|0]=0;t[f+20|0]=0;t[f+21|0]=0;t[f+22|0]=0;t[f+23|0]=0;t[f+8|0]=0;t[f+9|0]=0;t[f+10|0]=0;t[f+11|0]=0;t[f+12|0]=0;t[f+13|0]=0;t[f+14|0]=0;t[f+15|0]=0;e=bg(f,j);if(e){Ea[v[g+8>>2]](g,f);break aa}v[f+28>>2]=g;e=wd(f,333319,l+28|0);g=v[f+28>>2];q=v[f+24>>2];if(q){Ea[q|0](f)}Ea[v[g+8>>2]](g,f);if(e){break aa}v[h+172>>2]=j;e=0;break $}Ea[v[m+8>>2]](m,j)}v[h+76>>2]=e}v[h+176>>2]=0;ba:{e=v[i+20>>2];if(!e){break ba}if(!(Ea[e|0](i,0,0,0)|0)){break ba}v[h+80>>2]=85;break w}v[i+8>>2]=0;v[h+80>>2]=0;j=v[a>>2];k=bd(j,k,4503);if(!k){v[h+80>>2]=64;break w}ca:{g=v[a>>2];f=Ea[v[g+4>>2]](g,40)|0;if(!f){e=64;break ca}t[f|0]=0;t[f+1|0]=0;t[f+2|0]=0;t[f+3|0]=0;t[f+4|0]=0;t[f+5|0]=0;t[f+6|0]=0;t[f+7|0]=0;t[f+32|0]=0;t[f+33|0]=0;t[f+34|0]=0;t[f+35|0]=0;t[f+36|0]=0;t[f+37|0]=0;t[f+38|0]=0;t[f+39|0]=0;t[f+24|0]=0;t[f+25|0]=0;t[f+26|0]=0;t[f+27|0]=0;t[f+28|0]=0;t[f+29|0]=0;t[f+30|0]=0;t[f+31|0]=0;t[f+16|0]=0;t[f+17|0]=0;t[f+18|0]=0;t[f+19|0]=0;t[f+20|0]=0;t[f+21|0]=0;t[f+22|0]=0;t[f+23|0]=0;t[f+8|0]=0;t[f+9|0]=0;t[f+10|0]=0;t[f+11|0]=0;t[f+12|0]=0;t[f+13|0]=0;t[f+14|0]=0;t[f+15|0]=0;e=bg(f,k);if(e){Ea[v[g+8>>2]](g,f);break ca}v[f+28>>2]=g;e=wd(f,333319,l+32|0);g=v[f+28>>2];l=v[f+24>>2];if(l){Ea[l|0](f)}Ea[v[g+8>>2]](g,f);if(e){break ca}v[h+176>>2]=k;v[h+80>>2]=0;break w}Ea[v[j+8>>2]](j,k);v[h+80>>2]=e}e=2;g=0;while(1){da:{k=v[(g<<3)+4356>>2]-3>>>0>1;ea:{if(!(o&255?k:1)){break ea}l=g<<2;if(v[l+(h+48|0)>>2]){break ea}v[h+16>>2]=4;f=h;e=v[l+(f+144|0)>>2];if(!e){e=v[b+12>>2]}v[f+28>>2]=e;e=fh(a,h+16|0,h+12|0);o=k?o:(e&255)==81?1:o;if(e){break ea}f=v[h+12>>2];e=Tk(a,f,v[l+(h+96|0)>>2],c,d);if(f){l=v[f+28>>2];j=v[f+24>>2];if(j){Ea[j|0](f)}Ea[v[l+8>>2]](l,f)}if(!e){e=0;break da}o=k?o:1}g=g+1|0;if((g|0)!=9){continue}}break}a=v[h+144>>2];if(a){Ea[v[p+8>>2]](p,a);v[h+144>>2]=0}a=v[h+148>>2];if(a){Ea[v[p+8>>2]](p,a);v[h+148>>2]=0}a=v[h+152>>2];if(a){Ea[v[p+8>>2]](p,a);v[h+152>>2]=0}a=v[h+156>>2];if(a){Ea[v[p+8>>2]](p,a);v[h+156>>2]=0}a=v[h+160>>2];if(a){Ea[v[p+8>>2]](p,a)}a=v[h+164>>2];if(a){Ea[v[p+8>>2]](p,a)}a=v[h+168>>2];if(a){Ea[v[p+8>>2]](p,a)}a=v[h+172>>2];if(a){Ea[v[p+8>>2]](p,a)}a=v[h+176>>2];if(a){Ea[v[p+8>>2]](p,a)}if(!e){break f}break d}if(g){break e}}g=0;if(x){break a}a=v[i+28>>2];b=v[i+24>>2];if(b){Ea[b|0](i)}if(r){break a}Ea[v[a+8>>2]](a,i);break a}if((g&255)!=2){break c}}g=2}a=v[h+8>>2];if(!a){break b}b=v[a+28>>2];c=v[a+24>>2];if(c){Ea[c|0](a)}if(r){break b}Ea[v[b+8>>2]](b,a)}a=v[h+4>>2];if(!a){break a}qg(s,a,n)}Ca=h+272|0;return g}function kI(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;g=-4;a:{b:{if(b>>>0>=c>>>0){break b}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{e=c-b|0;if(e&1){c=e&-2;if(!c){break s}c=b+c|0}t:{u:{e=w[b|0];switch(e-216|0){case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break o;case 4:case 5:case 6:case 7:break p;case 0:case 1:case 2:case 3:break q;case 39:break u;default:break t}}if(w[b+1|0]<=253){break o}break p}if(!e){break r}break o}return-1}v:{w:{x:{y:{z:{A:{B:{l=a+72|0;switch(w[l+w[b+1|0]|0]){case 0:case 1:case 8:break p;case 7:break q;case 6:break v;case 5:break w;case 4:break x;case 10:break y;case 9:break z;case 3:break A;case 2:break B;default:break o}}g=-1;h=b+2|0;e=c-h|0;if((e|0)<2){break b}C:{D:{E:{f=w[b+2|0];switch(f-216|0){case 39:break C;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break D;case 4:case 5:case 6:case 7:break d;case 0:case 1:case 2:case 3:break g;default:break E}}if(!f){break m}}i=w[b+3|0];break e}i=w[b+3|0];if(i>>>0<=253){break e}break d}return Pi(a,b+2|0,c,d)|0}g=-3;a=b+2|0;if((c-a|0)<2){break b}c=w[b+3|0];e=b+4|0;b=w[b+2|0];if(b){b=Nc(b<<24>>24,c<<24>>24)}else{b=w[c+l|0]}v[d>>2]=(b|0)==10?e:a;return 7}v[d>>2]=b+2;return 7}g=-5;e=b+2|0;if((c-e|0)<2){break b}if(w[e|0]|w[b+3|0]!=93){break n}f=b+4|0;if((c-f|0)<2){break b}if(w[b+4|0]|w[b+5|0]!=62){break n}v[d>>2]=f;break a}g=-2;if((c-b|0)<2){break b}e=b+2|0;break n}g=-2;if((c-b|0)<3){break b}e=b+3|0;break n}g=-2;if((c-b|0)<4){break b}e=b+4|0;break n}v[d>>2]=b;break a}e=b+2|0}g=c-e|0;if((g|0)>=2){b=a+72|0;while(1){F:{G:{H:{I:{J:{K:{a=e;e=w[a|0];switch(e-216|0){case 4:case 5:case 6:case 7:break l;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break G;case 0:case 1:case 2:case 3:break I;case 39:break K;default:break J}}if(w[a+1|0]>253){break l}break G}if(e){break G}L:{switch(w[b+w[a+1|0]|0]){case 0:case 1:case 2:case 3:case 8:case 9:case 10:break l;case 4:break H;case 7:break I;case 6:break L;default:break G}}if((g|0)<=2){break l}e=a+3|0;break F}if((g|0)<=3){break l}e=a+4|0;break F}if((g|0)<4){break l}e=a+2|0;if(w[a+2|0]|w[a+3|0]!=93){break F}if((g|0)<6){break l}if(w[a+4|0]|w[a+5|0]!=62){break F}v[d>>2]=a+4;break a}e=a+2|0}g=c-e|0;if((g|0)>1){continue}break}}v[d>>2]=e;break k}i=w[b+3|0];switch(w[l+i|0]-6|0){case 11:break j;case 16:case 18:break c;case 23:break e;case 0:break f;case 1:break g;case 10:break h;case 9:break i;default:break d}}v[d>>2]=a}g=6;break b}a=b+4|0;e=c-a|0;if((e|0)<2){break b}h=0;M:{N:{O:{P:{Q:{R:{S:{T:{U:{f=w[a|0];switch(f-216|0){case 4:case 5:case 6:case 7:break M;case 0:case 1:case 2:case 3:break Q;case 39:break S;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break T;default:break U}}if(!f){break R}}i=w[b+5|0];break O}i=w[b+5|0];if(i>>>0>253){break M}break O}i=w[b+5|0];switch(w[l+i|0]-6|0){case 16:case 18:break N;case 23:break O;case 0:break P;case 1:break Q;default:break M}}g=-2;if((e|0)>=4){break M}break b}g=-2;if((e|0)<3){break b}break M}if(!(v[(i>>>3&28|w[f+502192|0]<<5)+500176>>2]>>>i&1)){break M}}b=b+6|0;i=c-b|0;if((i|0)<=1){break b}e=a;while(1){a=b;V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{f=w[b|0];switch(f-216|0){case 4:case 5:case 6:case 7:break M;case 0:case 1:case 2:case 3:break Z;case 39:break $;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break aa;default:break ba}}if(!f){break _}}b=w[e+3|0];break W}b=w[e+3|0];if(b>>>0>253){break M}break W}b=w[e+3|0];j=w[l+b|0];if(j-22>>>0<6){break V}ca:{switch(j-6|0){case 23:break W;case 5:break X;case 3:case 4:case 15:break Y;case 1:break Z;case 0:break ca;default:break M}}g=-2;if((i|0)>=3){break M}break b}g=-2;if((i|0)>=4){break M}break b}a=e+4|0;if((c-a|0)<2){break b}while(1){if(w[a|0]){break M}da:{switch(w[l+w[a+1|0]|0]-9|0){case 2:a=a+2|0;h=5;break M;case 0:case 1:case 12:break da;default:break M}}a=a+2|0;if((c-a|0)>1){continue}break}break b}a=e+4|0;h=5;break M}if(!(v[(b>>>3&28|w[f+502448|0]<<5)+500176>>2]>>>b&1)){break M}}e=a;b=a+2|0;i=c-b|0;if((i|0)>1){continue}break}break b}v[d>>2]=a;return h|0}return mt(a,b+4|0,c,d)|0}f=b+4|0;if((c-f|0)<2){break b}e=w[b+5|0];ea:{fa:{ga:{h=w[b+4|0];if(h){e=Nc(h<<24>>24,e<<24>>24)}else{e=w[e+l|0]}switch(e-20|0){case 0:break fa;case 7:break ga;default:break ea}}return kt(a,b+6|0,c,d)|0}e=-1;a=b+6|0;if((c-a|0)>=12){ha:{ia:{if(w[a+1|0]==67?w[a|0]:1){b=a;break ia}b=a+2|0;if(w[a+2|0]|w[a+3|0]!=68){break ia}b=a+4|0;if(w[a+4|0]|w[a+5|0]!=65){break ia}b=a+6|0;if(w[a+6|0]|w[a+7|0]!=84){break ia}b=a+8|0;if(w[a+8|0]|w[a+9|0]!=65){break ia}b=a+10|0;if(w[a+10|0]|w[a+11|0]!=91){break ia}b=a+12|0;e=8;break ha}e=0}v[d>>2]=b}return e|0}v[d>>2]=f;break a}g=-2;if((e|0)>=4){break d}break b}g=-2;if((e|0)>=3){break d}break b}if(v[(i>>>3&28|w[f+502192|0]<<5)+500176>>2]>>>i&1){break c}}v[d>>2]=h;break a}b=b+4|0;e=c-b|0;if((e|0)<=1){break b}i=0;while(1){ja:{h=c;ka:{la:{ma:{na:{oa:{pa:{qa:{ra:{sa:{k=w[b|0];switch(k-216|0){case 4:case 5:case 6:case 7:break ja;case 0:case 1:case 2:case 3:break oa;case 39:break qa;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break ra;default:break sa}}if(!k){break pa}}f=w[b+1|0];break ma}f=w[b+1|0];if(f>>>0<=253){break ma}break ja}ta:{ua:{va:{wa:{f=w[b+1|0];switch(w[l+f|0]-6|0){case 16:case 18:case 19:case 20:case 21:break la;case 23:break ma;case 0:break na;case 1:break oa;case 17:break ta;case 11:break ua;case 5:break va;case 3:case 4:case 15:break wa;default:break ja}}h=b+2|0;e=c-h|0;if((e|0)<2){break b}f=b;while(1){b=h;xa:{ya:{za:{h=w[f+2|0];Aa:{Ba:{if(h){Ca:{switch(h-216|0){default:e=h+502192|0;h=w[f+3|0];break Ba;case 4:case 5:case 6:case 7:break ja;case 0:case 1:case 2:case 3:break ya;case 39:break Ca}}h=w[f+3|0];if(h>>>0>253){break ja}e=502447;break Ba}Da:{h=w[f+3|0];switch(w[l+h|0]-6|0){case 23:break Da;case 11:break ua;case 5:break va;case 3:case 4:case 15:break xa;case 1:break ya;case 0:break za;case 16:case 18:break Aa;default:break ja}}e=502192}if(!(v[(h>>>3&28|w[e|0]<<5)+500176>>2]>>>h&1)){break ja}}i=a;l=d;h=0;e=Ca-16|0;Ca=e;b=f+4|0;v[e+12>>2]=b;d=-1;f=c-b|0;Ea:{if((f|0)<2){break Ea}g=c;k=i+72|0;while(1){Fa:{a=b;Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{m=w[b|0];switch(m-216|0){case 4:case 5:case 6:case 7:break Fa;case 0:case 1:case 2:case 3:break Sa;case 39:break Ua;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break Va;default:break Wa}}if(!m){break Ta}}c=w[b+1|0];break Ia}c=w[b+1|0];if(c>>>0<=253){break Ia}break Fa}c=w[b+1|0];switch(w[k+c|0]-6|0){case 16:case 18:case 19:case 20:case 21:break Ha;case 23:break Ia;case 0:break Oa;case 8:break Pa;case 3:case 4:case 15:break Qa;case 17:break Ra;case 1:break Sa;default:break Fa}}d=-2;a=b;if((f|0)>=4){break Fa}break Ea}if(j){break Fa}a=b+2|0;v[e+12>>2]=a;f=g-a|0;if((f|0)<2){break Ea}Xa:{Ya:{Za:{j=w[a|0];switch(j-216|0){case 4:case 5:case 6:case 7:break Fa;case 0:case 1:case 2:case 3:break Ma;case 39:break Xa;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break Ya;default:break Za}}if(!j){break Na}}c=w[b+3|0];break Ka}c=w[b+3|0];if(c>>>0>253){break Fa}break Ka}c=b+2|0;v[e+12>>2]=c;if((g-c|0)<2){break Ea}while(1){a=c;if(w[b+2|0]){break Fa}_a:{switch(w[w[b+3|0]+k|0]-9|0){case 5:break Pa;case 0:case 1:case 12:break _a;default:break Fa}}c=a+2|0;v[e+12>>2]=c;b=a;if((g-c|0)>1){continue}break}break Ea}b=a+2|0;v[e+12>>2]=b;if((g-b|0)<2){break Ea}while(1){c=b;if(w[a+2|0]){a=c;break Fa}m=w[w[a+3|0]+k|0];if((m&254)!=12){if(m>>>0>21){a=c;break Fa}if(!(1<<m&2098688)){a=c;break Fa}b=c+2|0;v[e+12>>2]=b;a=c;if((g-b|0)>1){continue}break Ea}break}c=a+4|0;v[e+12>>2]=c;f=g-c|0;if((f|0)<2){break Ea}while(1){j=7;$a:{ab:{bb:{cb:{db:{a=w[c|0];switch(a-216|0){case 0:case 1:case 2:case 3:break $a;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break ab;case 39:break bb;case 4:case 5:case 6:case 7:break cb;default:break db}}if(a){break ab}j=w[w[c+1|0]+k|0];break $a}j=8;break $a}j=0;if(w[c+1|0]>253){break $a}}j=29}if((j|0)!=(m|0)){a=c;b=e;eb:{fb:{gb:{switch(j|0){case 6:if((f|0)<3){d=-2;break Ea}c=a+3|0;break fb;case 7:if((f|0)<4){d=-2;break Ea}c=a+4|0;break fb;case 3:a=Pi(i,a+2|0,g,e+12|0);if((a|0)>=1){c=v[e+12>>2];break eb}d=a;if(a){break Ea}a=v[e+12>>2];break Fa;case 0:case 1:case 2:case 8:break Fa;default:break gb}}c=a+2|0}v[b+12>>2]=c}f=g-c|0;if((f|0)>1){continue}break Ea}break}a=c+2|0;v[e+12>>2]=a;if((g-a|0)<2){break Ea}if(w[a|0]){break Fa}hb:{ib:{jb:{switch(w[w[c+3|0]+k|0]-9|0){case 8:break hb;case 2:break ib;case 0:case 1:case 12:break jb;default:break Fa}}b=c+4|0;v[e+12>>2]=b;c=a;j=g-b|0;if((j|0)<2){break Ea}while(1){a=b;kb:{lb:{mb:{nb:{ob:{pb:{b=w[b|0];if(b){qb:{switch(b-216|0){case 4:case 5:case 6:case 7:break Fa;case 0:case 1:case 2:case 3:break lb;case 39:break qb;default:break pb}}f=w[c+3|0];if(f>>>0<=253){break ob}break Fa}f=w[c+3|0];switch(w[k+f|0]-6|0){case 11:break hb;case 5:break ib;case 3:case 4:case 15:break kb;case 1:break lb;case 0:break mb;case 16:case 18:break nb;case 23:break ob;default:break Fa}}f=w[c+3|0]}if(!(v[(f>>>3&28|w[b+502192|0]<<5)+500176>>2]>>>f&1)){break Fa}}b=c+4|0;v[e+12>>2]=b;j=0;break Ga}d=-2;if((j|0)>=3){break Fa}break Ea}d=-2;if((j|0)>=4){break Fa}break Ea}b=a+2|0;v[e+12>>2]=b;c=a;j=g-b|0;if((j|0)>1){continue}break}break Ea}a=a+2|0;h=1;break Fa}b=a+2|0;v[e+12>>2]=b;if((g-b|0)<2){break Ea}if(w[b|0]){a=b;break Fa}c=b;b=w[a+3|0]==62;a=b?a+4|0:c;h=b?3:0;break Fa}d=-2;if((f|0)<3){break Ea}break Fa}c=w[b+3|0];switch(w[k+c|0]-6|0){case 16:case 18:break Ja;case 23:break Ka;case 0:break La;case 1:break Ma;default:break Fa}}d=-2;if((f|0)>=4){break Fa}break Ea}d=-2;if((f|0)>=3){break Fa}break Ea}if(!(v[(c>>>3&28|w[j+502192|0]<<5)+500176>>2]>>>c&1)){break Fa}}b=b+4|0;v[e+12>>2]=b;j=1;break Ga}if(v[(c>>>3&28|w[m+502448|0]<<5)+500176>>2]>>>c&1){break Ha}a=b;break Fa}b=b+2|0;v[e+12>>2]=b}f=g-b|0;if((f|0)>1){continue}break Ea}break}v[l>>2]=a;d=h}Ca=e+16|0;return d|0}g=-2;if((e|0)>=3){break ja}break b}g=-2;if((e|0)>=4){break ja}break b}f=b;h=b+2|0;e=c-h|0;if((e|0)>1){continue}break}break b}v[d>>2]=b+2;return 2}a=b+2|0;if((c-a|0)<2){break b}if(w[b+3|0]==62?w[b+2|0]:1){v[d>>2]=a;break a}v[d>>2]=b+4;return 4}if(i){break ja}k=b+2|0;e=c-k|0;if((e|0)<2){break b}rb:{sb:{tb:{ub:{vb:{wb:{xb:{yb:{zb:{i=w[b+2|0];switch(i-216|0){case 4:case 5:case 6:case 7:break rb;case 0:case 1:case 2:case 3:break vb;case 39:break xb;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break yb;default:break zb}}if(!i){break wb}}f=w[b+3|0];break tb}f=w[b+3|0];if(f>>>0<=253){break tb}break rb}f=w[b+3|0];switch(w[l+f|0]-6|0){case 16:case 18:break sb;case 23:break tb;case 0:break ub;case 1:break vb;default:break rb}}g=-2;if((e|0)>=4){break rb}break b}g=-2;if((e|0)>=3){break rb}break b}if(!(v[(f>>>3&28|w[i+502192|0]<<5)+500176>>2]>>>f&1)){break rb}}i=1;b=b+4|0;break ka}v[d>>2]=k;break a}g=-2;if((e|0)>=4){break ja}break b}g=-2;if((e|0)>=3){break ja}break b}if(!(v[(f>>>3&28|w[k+502448|0]<<5)+500176>>2]>>>f&1)){break ja}}b=b+2|0}e=h-b|0;if((e|0)>1){continue}break b}break}v[d>>2]=b;break a}return g|0}return 0}function BI(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=-4;a:{b:{if(b>>>0>=c>>>0){break b}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{e=c-b|0;if(e&1){c=e&-2;if(!c){break n}c=b+c|0}o:{p:{e=w[b+1|0];switch(e-216|0){case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break j;case 4:case 5:case 6:case 7:break k;case 0:case 1:case 2:case 3:break l;case 39:break p;default:break o}}if(w[b|0]<=253){break j}break k}if(!e){break m}break j}return-1}q:{r:{s:{t:{u:{v:{w:{l=a+72|0;switch(w[l+w[b|0]|0]){case 0:case 1:case 8:break k;case 7:break l;case 6:break q;case 5:break r;case 4:break s;case 10:break t;case 9:break u;case 3:break v;case 2:break w;default:break j}}h=-1;g=b+2|0;e=c-g|0;if((e|0)<2){break b}x:{y:{z:{f=w[b+3|0];switch(f-216|0){case 39:break x;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break y;case 4:case 5:case 6:case 7:break d;case 0:case 1:case 2:case 3:break g;default:break z}}if(!f){break h}}i=w[b+2|0];break e}i=w[b+2|0];if(i>>>0<=253){break e}break d}return Si(a,b+2|0,c,d)|0}h=-3;a=b+2|0;if((c-a|0)<2){break b}c=w[b+2|0];e=b+4|0;b=w[b+3|0];if(b){b=Nc(b<<24>>24,c<<24>>24)}else{b=w[c+l|0]}v[d>>2]=(b|0)==10?e:a;return 7}v[d>>2]=b+2;return 7}h=-5;e=b+2|0;if((c-e|0)<2){break b}if(w[b+3|0]|w[e|0]!=93){break i}f=b+4|0;if((c-f|0)<2){break b}if(w[b+5|0]|w[b+4|0]!=62){break i}v[d>>2]=f;break a}h=-2;if((c-b|0)<2){break b}e=b+2|0;break i}h=-2;if((c-b|0)<3){break b}e=b+3|0;break i}h=-2;if((c-b|0)<4){break b}e=b+4|0;break i}v[d>>2]=b;break a}e=b+2|0}b=c-e|0;A:{if((b|0)<2){break A}h=a+72|0;while(1){g=c;B:{C:{D:{E:{F:{G:{a=w[e+1|0];switch(a-216|0){case 4:case 5:case 6:case 7:break A;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break C;case 0:case 1:case 2:case 3:break E;case 39:break G;default:break F}}if(w[e|0]<=253){break C}break A}if(a){break C}H:{switch(w[h+w[e|0]|0]){case 0:case 1:case 2:case 3:case 8:case 9:case 10:break A;case 4:break D;case 7:break E;case 6:break H;default:break C}}if((b|0)<=2){break A}a=e+3|0;break B}if((b|0)<=3){break A}a=e+4|0;break B}if((b|0)<4){break A}f=e+2|0;a=f;if(w[e+3|0]){break B}a=f;if(w[a|0]!=93){break B}if((b|0)<6){break A}if(w[e+5|0]){break B}if(w[e+4|0]!=62){break B}v[d>>2]=e+4;break a}a=e+2|0}e=a;b=g-a|0;if((b|0)>1){continue}break}}v[d>>2]=e;h=6;break b}I:{J:{K:{i=w[b+2|0];switch(w[l+i|0]-6|0){case 16:case 18:break c;case 10:break I;case 9:break J;case 11:break K;case 23:break e;case 0:break f;case 1:break g;default:break d}}a=b+4|0;e=c-a|0;if((e|0)<2){break b}g=0;L:{M:{N:{O:{P:{Q:{R:{S:{T:{f=w[b+5|0];switch(f-216|0){case 4:case 5:case 6:case 7:break L;case 0:case 1:case 2:case 3:break P;case 39:break R;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break S;default:break T}}if(!f){break Q}}i=w[a|0];break N}i=w[a|0];if(i>>>0>253){break L}break N}i=w[a|0];switch(w[l+i|0]-6|0){case 16:case 18:break M;case 23:break N;case 0:break O;case 1:break P;default:break L}}h=-2;if((e|0)>=4){break L}break b}h=-2;if((e|0)<3){break b}break L}if(!(v[(i>>>3&28|w[f+502192|0]<<5)+500176>>2]>>>i&1)){break L}}b=b+6|0;i=c-b|0;if((i|0)<=1){break b}e=a;while(1){a=b;U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{f=w[e+3|0];switch(f-216|0){case 4:case 5:case 6:case 7:break L;case 0:case 1:case 2:case 3:break Y;case 39:break _;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break $;default:break aa}}if(!f){break Z}}b=w[a|0];break V}b=w[a|0];if(b>>>0>253){break L}break V}b=w[a|0];j=w[l+b|0];if(j-22>>>0<6){break U}ba:{switch(j-6|0){case 23:break V;case 5:break W;case 3:case 4:case 15:break X;case 1:break Y;case 0:break ba;default:break L}}h=-2;if((i|0)>=3){break L}break b}h=-2;if((i|0)>=4){break L}break b}a=e+4|0;if((c-a|0)<2){break b}while(1){if(w[a+1|0]){break L}ca:{switch(w[l+w[a|0]|0]-9|0){case 2:a=a+2|0;g=5;break L;case 0:case 1:case 12:break ca;default:break L}}a=a+2|0;if((c-a|0)>1){continue}break}break b}a=e+4|0;g=5;break L}if(!(v[(b>>>3&28|w[f+502448|0]<<5)+500176>>2]>>>b&1)){break L}}e=a;b=a+2|0;i=c-b|0;if((i|0)>1){continue}break}break b}v[d>>2]=a;return g|0}return qt(a,b+4|0,c,d)|0}f=b+4|0;if((c-f|0)<2){break b}e=w[b+4|0];da:{ea:{fa:{g=w[b+5|0];if(g){e=Nc(g<<24>>24,e<<24>>24)}else{e=w[e+l|0]}switch(e-20|0){case 0:break ea;case 7:break fa;default:break da}}return ot(a,b+6|0,c,d)|0}e=-1;a=b+6|0;if((c-a|0)>=12){ga:{ha:{if(w[a|0]==67?w[a+1|0]:1){b=a;break ha}b=a+2|0;if(w[a+3|0]|w[a+2|0]!=68){break ha}b=a+4|0;if(w[a+5|0]|w[a+4|0]!=65){break ha}b=a+6|0;if(w[a+7|0]|w[a+6|0]!=84){break ha}b=a+8|0;if(w[a+9|0]|w[a+8|0]!=65){break ha}b=a+10|0;if(w[a+11|0]|w[a+10|0]!=91){break ha}b=a+12|0;e=8;break ga}e=0}v[d>>2]=b}return e|0}v[d>>2]=f;break a}h=-2;if((e|0)>=4){break d}break b}h=-2;if((e|0)>=3){break d}break b}if(v[(i>>>3&28|w[f+502192|0]<<5)+500176>>2]>>>i&1){break c}}v[d>>2]=g;break a}b=b+4|0;e=c-b|0;if((e|0)<=1){break b}i=0;while(1){ia:{g=c;ja:{ka:{la:{ma:{na:{oa:{pa:{qa:{ra:{k=w[b+1|0];switch(k-216|0){case 4:case 5:case 6:case 7:break ia;case 0:case 1:case 2:case 3:break na;case 39:break pa;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break qa;default:break ra}}if(!k){break oa}}f=w[b|0];break la}f=w[b|0];if(f>>>0<=253){break la}break ia}sa:{ta:{ua:{va:{f=w[b|0];switch(w[l+f|0]-6|0){case 16:case 18:case 19:case 20:case 21:break ka;case 23:break la;case 0:break ma;case 1:break na;case 17:break sa;case 11:break ta;case 5:break ua;case 3:case 4:case 15:break va;default:break ia}}f=b+2|0;e=c-f|0;if((e|0)<2){break b}g=b;while(1){b=f;wa:{xa:{ya:{f=w[g+3|0];za:{Aa:{if(f){Ba:{switch(f-216|0){default:e=f+502192|0;f=w[b|0];break Aa;case 4:case 5:case 6:case 7:break ia;case 0:case 1:case 2:case 3:break xa;case 39:break Ba}}f=w[b|0];if(f>>>0>253){break ia}e=502447;break Aa}Ca:{f=w[b|0];switch(w[l+f|0]-6|0){case 11:break ta;case 5:break ua;case 3:case 4:case 15:break wa;case 1:break xa;case 0:break ya;case 16:case 18:break za;case 23:break Ca;default:break ia}}e=502192}if(!(v[(f>>>3&28|w[e|0]<<5)+500176>>2]>>>f&1)){break ia}}i=a;l=d;f=0;e=Ca-16|0;Ca=e;b=g+4|0;v[e+12>>2]=b;d=-1;h=c;g=c-b|0;Da:{if((g|0)<2){break Da}k=i+72|0;while(1){Ea:{a=b;Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{m=w[b+1|0];switch(m-216|0){case 4:case 5:case 6:case 7:break Ea;case 0:case 1:case 2:case 3:break Ra;case 39:break Ta;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break Ua;default:break Va}}if(!m){break Sa}}c=w[b|0];break Ha}c=w[b|0];if(c>>>0<=253){break Ha}break Ea}c=w[b|0];switch(w[k+c|0]-6|0){case 16:case 18:case 19:case 20:case 21:break Ga;case 23:break Ha;case 0:break Na;case 8:break Oa;case 3:case 4:case 15:break Pa;case 17:break Qa;case 1:break Ra;default:break Ea}}d=-2;a=b;if((g|0)>=4){break Ea}break Da}if(j){break Ea}a=b+2|0;v[e+12>>2]=a;g=h-a|0;if((g|0)<2){break Da}Wa:{Xa:{Ya:{j=w[b+3|0];switch(j-216|0){case 4:case 5:case 6:case 7:break Ea;case 0:case 1:case 2:case 3:break La;case 39:break Wa;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break Xa;default:break Ya}}if(!j){break Ma}}c=w[a|0];break Ja}c=w[a|0];if(c>>>0>253){break Ea}break Ja}c=b+2|0;v[e+12>>2]=c;if((h-c|0)<2){break Da}while(1){a=c;if(w[b+3|0]){break Ea}Za:{switch(w[w[a|0]+k|0]-9|0){case 5:break Oa;case 0:case 1:case 12:break Za;default:break Ea}}c=a+2|0;v[e+12>>2]=c;b=a;if((h-c|0)>1){continue}break}break Da}c=a+2|0;v[e+12>>2]=c;if((h-c|0)<2){break Da}while(1){b=c;if(w[a+3|0]){a=b;break Ea}m=w[w[b|0]+k|0];if((m&254)!=12){if(m>>>0>21){a=b;break Ea}if(!(1<<m&2098688)){a=b;break Ea}c=b+2|0;v[e+12>>2]=c;a=b;if((h-c|0)>1){continue}break Da}break}b=a+4|0;v[e+12>>2]=b;g=h-b|0;if((g|0)<2){break Da}while(1){j=7;_a:{$a:{ab:{bb:{cb:{a=w[b+1|0];switch(a-216|0){case 0:case 1:case 2:case 3:break _a;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break $a;case 39:break ab;case 4:case 5:case 6:case 7:break bb;default:break cb}}if(a){break $a}j=w[w[b|0]+k|0];break _a}j=8;break _a}j=0;if(w[b|0]>253){break _a}}j=29}if((j|0)!=(m|0)){a=b;c=e;db:{eb:{fb:{switch(j|0){case 6:if((g|0)<3){d=-2;break Da}b=a+3|0;break eb;case 7:if((g|0)<4){d=-2;break Da}b=a+4|0;break eb;case 3:a=Si(i,a+2|0,h,e+12|0);if((a|0)>=1){b=v[e+12>>2];break db}d=a;if(a){break Da}a=v[e+12>>2];break Ea;case 0:case 1:case 2:case 8:break Ea;default:break fb}}b=a+2|0}v[c+12>>2]=b}g=h-b|0;if((g|0)>1){continue}break Da}break}a=b+2|0;v[e+12>>2]=a;if((h-a|0)<2){break Da}if(w[b+3|0]){break Ea}gb:{hb:{ib:{switch(w[w[a|0]+k|0]-9|0){case 8:break gb;case 2:break hb;case 0:case 1:case 12:break ib;default:break Ea}}b=b+4|0;v[e+12>>2]=b;c=a;j=h-b|0;if((j|0)<2){break Da}while(1){a=b;jb:{kb:{lb:{mb:{nb:{ob:{b=w[c+3|0];if(b){pb:{switch(b-216|0){case 4:case 5:case 6:case 7:break Ea;case 0:case 1:case 2:case 3:break kb;case 39:break pb;default:break ob}}g=w[a|0];if(g>>>0<=253){break nb}break Ea}g=w[a|0];switch(w[k+g|0]-6|0){case 11:break gb;case 5:break hb;case 3:case 4:case 15:break jb;case 1:break kb;case 0:break lb;case 16:case 18:break mb;case 23:break nb;default:break Ea}}g=w[a|0]}if(!(v[(g>>>3&28|w[b+502192|0]<<5)+500176>>2]>>>g&1)){break Ea}}b=c+4|0;v[e+12>>2]=b;j=0;break Fa}d=-2;if((j|0)>=3){break Ea}break Da}d=-2;if((j|0)>=4){break Ea}break Da}b=a+2|0;v[e+12>>2]=b;c=a;j=h-b|0;if((j|0)>1){continue}break}break Da}a=a+2|0;f=1;break Ea}b=a+2|0;v[e+12>>2]=b;if((h-b|0)<2){break Da}if(w[a+3|0]){a=b;break Ea}c=b;b=w[a+2|0]==62;a=b?a+4|0:c;f=b?3:0;break Ea}d=-2;if((g|0)<3){break Da}break Ea}c=w[a|0];switch(w[k+c|0]-6|0){case 16:case 18:break Ia;case 23:break Ja;case 0:break Ka;case 1:break La;default:break Ea}}d=-2;if((g|0)>=4){break Ea}break Da}d=-2;if((g|0)>=3){break Ea}break Da}if(!(v[(c>>>3&28|w[j+502192|0]<<5)+500176>>2]>>>c&1)){break Ea}}b=b+4|0;v[e+12>>2]=b;j=1;break Fa}if(v[(c>>>3&28|w[m+502448|0]<<5)+500176>>2]>>>c&1){break Ga}a=b;break Ea}b=b+2|0;v[e+12>>2]=b}g=h-b|0;if((g|0)>1){continue}break Da}break}v[l>>2]=a;d=f}Ca=e+16|0;return d|0}h=-2;if((e|0)>=3){break ia}break b}h=-2;if((e|0)>=4){break ia}break b}g=b;f=b+2|0;e=c-f|0;if((e|0)>1){continue}break}break b}v[d>>2]=b+2;return 2}a=b+2|0;if((c-a|0)<2){break b}if(w[b+2|0]==62?w[b+3|0]:1){v[d>>2]=a;break a}v[d>>2]=b+4;return 4}if(i){break ia}k=b+2|0;e=c-k|0;if((e|0)<2){break b}qb:{rb:{sb:{tb:{ub:{vb:{wb:{xb:{yb:{i=w[b+3|0];switch(i-216|0){case 4:case 5:case 6:case 7:break qb;case 0:case 1:case 2:case 3:break ub;case 39:break wb;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break xb;default:break yb}}if(!i){break vb}}f=w[b+2|0];break sb}f=w[b+2|0];if(f>>>0<=253){break sb}break qb}f=w[b+2|0];switch(w[l+f|0]-6|0){case 16:case 18:break rb;case 23:break sb;case 0:break tb;case 1:break ub;default:break qb}}h=-2;if((e|0)>=4){break qb}break b}h=-2;if((e|0)>=3){break qb}break b}if(!(v[(f>>>3&28|w[i+502192|0]<<5)+500176>>2]>>>f&1)){break qb}}i=1;b=b+4|0;break ja}v[d>>2]=k;break a}h=-2;if((e|0)>=4){break ia}break b}h=-2;if((e|0)>=3){break ia}break b}if(!(v[(f>>>3&28|w[k+502448|0]<<5)+500176>>2]>>>f&1)){break ia}}b=b+2|0}e=g-b|0;if((e|0)>1){continue}break b}break}v[d>>2]=b;break a}return h|0}return 0}
|
||
function Dp(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;c=v[b+48>>2];h=v[c+12>>2];v[b+24>>2]=h;f=v[c+16>>2];c=f+h|0;v[b+28>>2]=c;if((f|0)>-1){a:{b:{if(!(a>>>0<c>>>0?a>>>0>=h>>>0:0)){v[b+24>>2]=0;v[b+28>>2]=0;break b}v[b+24>>2]=a;h=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);c=c-a|0;v[b+28>>2]=(c>>>0>h>>>0?h:c)+a}h=Ca-48|0;Ca=h;c:{d:{switch(w[a+7|0]){case 0:v[h+4>>2]=0;v[h+8>>2]=0;t[h|0]=0;f=v[b+12>>2];v[h+36>>2]=v[b+16>>2];v[h+32>>2]=a+12;c=h;a=v[f+32>>2];if((a|0)==-1){a=Xc(f)}v[c+40>>2]=a;a=0;i=h+32|0;c=v[i+4>>2];v[c+72>>2]=0;e:{if(!w[c+68|0]){break e}while(1){j=0;f:{if(y[c+76>>2]<=e>>>0){break f}g=v[v[c+88>>2]+B(e,20)>>2];j=2;if((g|0)==65535){break f}c=v[i>>2];d=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);c=od((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+c|0,g,v[i+8>>2]);j=1;if(!c){break f}j=w[c+1|0]|w[c|0]<<8}c=v[i>>2];d=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);g=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+c|0;f=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);e=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);l=j>>>0<e>>>0?j:1;k=B(a,e);f=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);c=c+(f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))|0;f=(l+k<<1)+c|0;d=g+((w[f|0]<<8|w[f+1|0])<<2)|0;f=w[d|0]<<8|w[d+1|0];g:{h:{if(y[h+4>>2]<y[h+8>>2]?w[d+3|0]&15:0){break h}i:{if(!a){break i}m=w[d+2|0];if(f?0:m&64){break i}a=c+(l<<1)|0;a=g+((w[a|0]<<8|w[a+1|0])<<2)|0;if((y[h+4>>2]<y[h+8>>2]?w[a+3|0]&15:0)|(f|0)!=(w[a+1|0]|w[a|0]<<8)|(m^w[a+2|0])&64){break h}}a=c+(k+!e<<1)|0;if(!(w[(g+(w[a|0]<<10|w[a+1|0]<<2)|0)+3|0]&15)|y[h+4>>2]>=y[h+8>>2]){break g}}a=v[i+4>>2];c=v[(w[a+69|0]?80:72)+a>>2];if(!c){break g}g=v[a+72>>2];if(g>>>0>=y[a+76>>2]){break g}md(a,c-1|0,g+1|0)}Bp(h,i,d);c=v[i+4>>2];a=v[c+72>>2];if((a|0)==v[c+76>>2]|!w[c+68|0]){break e}j:{if(w[d+2|0]&64){d=v[c+40>>2];v[c+40>>2]=d-1;if((d|0)>0){break j}}if(w[c+69|0]){g=c;k:{if(v[c+92>>2]==v[c+88>>2]){d=a;if(v[c+80>>2]==(a|0)){break k}}if(!cb(c,1,1)){break j}d=v[c+88>>2]+B(v[c+72>>2],20)|0;e=v[d+4>>2];a=v[c+92>>2]+B(v[c+80>>2],20)|0;v[a>>2]=v[d>>2];v[a+4>>2]=e;v[a+16>>2]=v[d+16>>2];e=v[d+12>>2];v[a+8>>2]=v[d+8>>2];v[a+12>>2]=e;a=v[c+72>>2];d=v[c+80>>2]}v[g+80>>2]=d+1}v[c+72>>2]=a+1}c=v[i+4>>2];if(!w[c+68|0]){break e}e=v[c+72>>2];a=f;continue}}break c;case 1:t[h|0]=0;v[h+4>>2]=b;c=v[b+64>>2];t[h+12|0]=0;v[h+8>>2]=c;f=w[c+5|0];g=w[c+4|0];c=a+12|0;v[h+20>>2]=c;v[h+16>>2]=0;t[h+13|0]=(f|g<<8)!=0;a=w[a+28|0]|w[a+29|0]<<8|(w[a+30|0]<<16|w[a+31|0]<<24);v[h+24>>2]=c+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24));f=v[b+12>>2];v[h+36>>2]=v[b+16>>2];v[h+32>>2]=c;c=h;a=v[f+32>>2];if((a|0)==-1){a=Xc(f)}v[c+40>>2]=a;a=0;c=v[h+36>>2];v[c+72>>2]=0;l:{if(!w[c+68|0]){break l}while(1){j=0;m:{if(y[c+76>>2]<=d>>>0){break m}g=v[v[c+88>>2]+B(d,20)>>2];j=2;if((g|0)==65535){break m}c=v[h+32>>2];d=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);c=od((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+c|0,g,v[h+40>>2]);j=1;if(!c){break m}j=w[c+1|0]|w[c|0]<<8}c=v[h+32>>2];d=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);d=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+c|0;f=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);e=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);m=j>>>0<e>>>0?j:1;n=B(a,e);f=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);i=c+(f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))|0;c=(m+n<<1)+i|0;c=d+((w[c|0]<<8|w[c+1|0])<<3)|0;f=w[c|0]<<8|w[c+1|0];g=v[h+36>>2];l=v[g+72>>2];j=v[g+76>>2];k=(l|0)!=(j|0);n:{o:{if(!((w[c+5|0]|w[c+4|0]<<8)!=65535|(w[c+7|0]|w[c+6|0]<<8)!=65535?!(w[h+12|0]?1:k):1)){break o}p:{if(!a){break p}o=w[c+2|0];if(f?0:o&64){break p}a=i+(m<<1)|0;m=w[a|0]<<8|w[a+1|0];if(w[h+12|0]?1:k){a=d+(m<<3)|0;if((w[a+4|0]<<8|w[a+5|0])!=65535|(w[a+7|0]|w[a+6|0]<<8)!=65535){break o}}a=d+(m<<3)|0;if((f|0)!=(w[a|0]<<8|w[a+1|0])|(o^w[a+2|0])&64){break o}}a=i+(n+!e<<1)|0;e=w[a|0];a=w[a+1|0];if(!(w[h+12|0]?1:k)){break n}a=d+((a|e<<8)<<3)|0;if((w[a+4|0]<<8|w[a+5|0])!=65535){break o}if((w[a+7|0]|w[a+6|0]<<8)==65535){break n}}a=v[g+(w[g+69|0]?80:72)>>2];if(!a|l>>>0>=j>>>0){break n}md(g,a-1|0,l+1|0)}a=v[h+36>>2];q:{if(w[h+12|0]?0:v[a+72>>2]==v[a+76>>2]){break q}d=w[c+5|0]|w[c+4|0]<<8;r:{if((d|0)==65535){break r}g=v[h+24>>2];d=g+(d<<2)|0;d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);g=od((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+g|0,v[v[a+88>>2]+B(v[h+16>>2],20)>>2],v[h+40>>2]);if(!g){break r}d=v[a+76>>2];e=v[a+72>>2]+1|0;e=d>>>0<e>>>0?d:e;d=v[h+16>>2];if(e-d>>>0>=2){Mb(a,d,e);d=v[h+16>>2]}i=v[a+88>>2];v[i+B(d,20)>>2]=w[g+1|0]|w[g|0]<<8;if(w[h+13|0]){e=0;s:{t:{u:{v:{l=v[h+8>>2];g=w[g+1|0]|w[g|0]<<8;switch(pe(l,g)-1|0){case 2:break t;case 1:break u;case 0:break v;default:break s}}e=2;break s}e=4;break s}e=oe(l,g)<<8|8}u[(i+B(d,20)|0)+12>>1]=e}t[h|0]=1}d=w[c+7|0]|w[c+6|0]<<8;w:{if((d|0)==65535){break w}g=v[h+24>>2];d=g+(d<<2)|0;d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);j=(d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+g|0;d=v[a+76>>2]-1|0;g=v[a+72>>2];e=d>>>0<g>>>0?d:g;d=B(e,20);g=od(j,v[d+v[a+88>>2]>>2],v[h+40>>2]);if(!g){break w}i=v[a+88>>2];v[i+d>>2]=w[g+1|0]|w[g|0]<<8;if(w[h+13|0]){d=0;x:{y:{z:{A:{l=v[h+8>>2];g=w[g+1|0]|w[g|0]<<8;switch(pe(l,g)-1|0){case 2:break y;case 1:break z;case 0:break A;default:break x}}d=2;break x}d=4;break x}d=oe(l,g)<<8|8}u[(i+B(e,20)|0)+12>>1]=d}t[h|0]=1}if(t[c+2|0]>-1){break q}t[h+12|0]=1;v[h+16>>2]=v[a+72>>2]}a=v[h+36>>2];d=v[a+72>>2];if((d|0)==v[a+76>>2]|!w[a+68|0]){break l}B:{if(w[c+2|0]&64){c=v[a+40>>2];v[a+40>>2]=c-1;if((c|0)>0){break B}}if(w[a+69|0]){g=a;C:{if(v[a+92>>2]==v[a+88>>2]){c=d;e=c;if(v[a+80>>2]==(c|0)){break C}}if(!cb(a,1,1)){break B}d=v[a+88>>2]+B(v[a+72>>2],20)|0;e=v[d+4>>2];c=v[a+92>>2]+B(v[a+80>>2],20)|0;v[c>>2]=v[d>>2];v[c+4>>2]=e;v[c+16>>2]=v[d+16>>2];e=v[d+12>>2];v[c+8>>2]=v[d+8>>2];v[c+12>>2]=e;d=v[a+72>>2];e=v[a+80>>2]}v[g+80>>2]=e+1}v[a+72>>2]=d+1}c=v[h+36>>2];if(!w[c+68|0]){break l}d=v[c+72>>2];a=f;continue}}break c;case 2:d=Ca-304|0;Ca=d;a=a+12|0;v[d+24>>2]=a;t[d+16|0]=0;v[d+20>>2]=b;c=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);v[d+28>>2]=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24));c=w[a+20|0]|w[a+21|0]<<8|(w[a+22|0]<<16|w[a+23|0]<<24);v[d+32>>2]=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24));c=w[a+24|0]|w[a+25|0]<<8|(w[a+26|0]<<16|w[a+27|0]<<24);v[d+40>>2]=0;v[d+36>>2]=a+(c<<8&16711680|c<<24|(c>>>8&65280|c>>>24));f=v[b+12>>2];v[d+4>>2]=v[b+16>>2];v[d>>2]=a;c=d;a=v[f+32>>2];if((a|0)==-1){a=Xc(f)}v[c+8>>2]=a;g=d+16|0;a=0;c=v[d+4>>2];v[c+80>>2]=0;t[c+69|0]=1;t[c+70|0]=0;v[c+92>>2]=v[c+88>>2];c=v[d+4>>2];v[c+72>>2]=0;D:{if(!w[c+68|0]){break D}while(1){j=0;E:{if(y[c+76>>2]<=e>>>0){break E}i=v[v[c+88>>2]+B(e,20)>>2];j=2;if((i|0)==65535){break E}c=v[d>>2];e=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);c=od((e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))+c|0,i,v[d+8>>2]);j=1;if(!c){break E}j=w[c+1|0]|w[c|0]<<8}c=v[d>>2];e=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);e=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))+c|0;f=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);i=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);m=j>>>0<i>>>0?j:1;n=B(a,i);f=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);c=c+(f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))|0;f=(m+n<<1)+c|0;l=e+B(w[f|0]<<8|w[f+1|0],6)|0;f=w[l|0]<<8|w[l+1|0];k=w[l+2|0];F:{G:{if(k&32){break G}if(!(!a|(f?0:k&64))){a=c+(m<<1)|0;a=e+B(w[a|0]<<8|w[a+1|0],6)|0;m=w[a+2|0];if(m&32|(f|0)!=(w[a+1|0]|w[a|0]<<8)|(k^m)&64){break G}}a=c+(n+!i<<1)|0;if(!(w[(e+B(w[a|0]<<8|w[a+1|0],6)|0)+2|0]&32)){break F}}a=v[d+4>>2];c=v[(w[a+69|0]?80:72)+a>>2];if(!c){break F}e=v[a+72>>2];if(e>>>0>=y[a+76>>2]){break F}md(a,c-1|0,e+1|0)}n=0;c=v[d+4>>2];a=t[l+2|0];if((a|0)<=-1){a=g;j=a;e=v[a+24>>2];H:{if(!e){i=v[c+80>>2];e=0;break H}i=v[c+80>>2];e=e-((i|0)==v[(g+((e-1&63)<<2)|0)+28>>2])|0}v[j+24>>2]=e+1;v[(g+((e&63)<<2)|0)+28>>2]=i;a=w[l+2|0]}I:{if(!(a&32)){break I}m=v[g+24>>2];if(!m|y[c+72>>2]>=y[c+76>>2]){break I}s=v[c+80>>2];e=v[g+12>>2]+(w[l+4|0]<<10|w[l+5|0]<<2)|0;J:{while(1){K:{if(!m){v[g+24>>2]=0;break K}m=m-1|0;q=g+((m&63)<<2)|0;if(!Hd(c,v[q+28>>2])){break I}a=v[g+4>>2];j=v[a+24>>2];if(j>>>0>e>>>0){break K}i=v[a+28>>2];if(i>>>0<e>>>0|i-e>>>0<4){break K}o=v[a+32>>2];k=o-4|0;v[a+32>>2]=k;if((k|0)<1){break K}k=w[e|0];p=w[e+3|0]|(w[e+1|0]<<16|k<<24|w[e+2|0]<<8);k=v[v[c+88>>2]+B(v[c+72>>2],20)>>2]+(p&1073741823|k<<26>>31&-1073741824)|0;k=(k|0)<0?280448:v[g+16>>2]+(k<<1)|0;if(k>>>0<j>>>0|i>>>0<k>>>0|i-k>>>0<2){break K}r=o-6|0;v[a+32>>2]=r;if((r|0)<1){break K}n=(w[k+1|0]|w[k|0]<<8)+n|0;if(p>>>0>=1073741824){k=(n|0)<0?280448:v[g+20>>2]+(n<<1)|0;if(k>>>0<j>>>0|i>>>0<k>>>0|i-k>>>0<2){break K}j=a;a=o-8|0;v[j+32>>2]=a;if((a|0)<1){break K}i=w[k|0];k=w[k+1|0];if(!cb(c,1,1)){break I}j=v[c+76>>2];a=v[c+72>>2];if(j>>>0<a+1>>>0){break J}o=k|i<<8;L:{if(a>>>0<j>>>0){k=v[c+80>>2];i=v[c+92>>2];a=v[c+88>>2]+B(a,20)|0;break L}i=v[c+92>>2];k=v[c+80>>2];a=i+B(k?k-1|0:0,20)|0}i=B(k,20)+i|0;k=v[a+4>>2];v[i>>2]=v[a>>2];v[i+4>>2]=k;v[i+16>>2]=v[a+16>>2];k=v[a+12>>2];v[i+8>>2]=v[a+8>>2];v[i+12>>2]=k;v[i>>2]=o;v[c+72>>2]=v[c+72>>2]+1;v[c+80>>2]=v[c+80>>2]+1;a=v[g+24>>2]-1|0;j=v[(g+((a&63)<<2)|0)+28>>2];if(a>>>0>m>>>0){while(1){v[g+24>>2]=a;if(!Hd(c,v[(g+((a&63)<<2)|0)+28>>2])){break I}if(!cb(c,1,1)){break I}i=v[c+76>>2];a=v[c+72>>2];if(i>>>0<a+1>>>0){break J}M:{if(a>>>0<i>>>0){k=v[c+80>>2];i=v[c+92>>2];a=v[c+88>>2]+B(a,20)|0;break M}i=v[c+92>>2];k=v[c+80>>2];a=i+B(k?k-1|0:0,20)|0}i=B(k,20)+i|0;k=v[a+4>>2];v[i>>2]=v[a>>2];v[i+4>>2]=k;v[i+16>>2]=v[a+16>>2];k=v[a+12>>2];v[i+8>>2]=v[a+8>>2];v[i+12>>2]=k;v[i>>2]=65535;v[c+72>>2]=v[c+72>>2]+1;v[c+80>>2]=v[c+80>>2]+1;a=v[g+24>>2]-1|0;if(m>>>0<a>>>0){continue}break}}if(!Hd(c,j+1|0)){break I}Hf(c,v[q+28>>2],v[c+80>>2])}e=e+4|0;if((p|0)>-1){continue}}break}Hd(c,s);break I}O(229459,229479,223,229494);L()}c=v[d+4>>2];a=v[c+72>>2];if((a|0)==v[c+76>>2]|!w[c+68|0]){break D}N:{if(w[l+2|0]&64){e=v[c+40>>2];v[c+40>>2]=e-1;if((e|0)>0){break N}}if(w[c+69|0]){j=c;O:{if(v[c+92>>2]==v[c+88>>2]){e=a;if(v[c+80>>2]==(a|0)){break O}}if(!cb(c,1,1)){break N}e=v[c+88>>2]+B(v[c+72>>2],20)|0;l=v[e+4>>2];a=v[c+92>>2]+B(v[c+80>>2],20)|0;v[a>>2]=v[e>>2];v[a+4>>2]=l;v[a+16>>2]=v[e+16>>2];l=v[e+12>>2];v[a+8>>2]=v[e+8>>2];v[a+12>>2]=l;a=v[c+72>>2];e=v[c+80>>2]}v[j+80>>2]=e+1}v[c+72>>2]=a+1}c=v[d+4>>2];if(!w[c+68|0]){break D}e=v[c+72>>2];a=f;continue}}td(c);Ca=d+304|0;break c;case 4:Cp(a+12|0,b);break c;case 5:break d;default:break c}}v[h+8>>2]=0;t[h|0]=0;v[h+4>>2]=b;c=w[a+28|0]|w[a+29|0]<<8|(w[a+30|0]<<16|w[a+31|0]<<24);a=a+12|0;v[h+12>>2]=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+a;f=v[b+12>>2];v[h+36>>2]=v[b+16>>2];v[h+32>>2]=a;c=h;a=v[f+32>>2];if((a|0)==-1){a=Xc(f)}v[c+40>>2]=a;a=0;e=h+32|0;c=v[e+4>>2];v[c+80>>2]=0;t[c+69|0]=1;t[c+70|0]=0;v[c+92>>2]=v[c+88>>2];c=v[e+4>>2];v[c+72>>2]=0;P:{if(!w[c+68|0]){break P}while(1){j=0;Q:{if(y[c+76>>2]<=d>>>0){break Q}g=v[v[c+88>>2]+B(d,20)>>2];j=2;if((g|0)==65535){break Q}c=v[e>>2];d=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);c=od((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+c|0,g,v[e+8>>2]);j=1;if(!c){break Q}j=w[c+1|0]|w[c|0]<<8}c=v[e>>2];d=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);g=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+c|0;f=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);i=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);k=j>>>0<i>>>0?j:1;m=B(a,i);f=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);c=c+(f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))|0;f=(k+m<<1)+c|0;d=g+((w[f|0]<<8|w[f+1|0])<<3)|0;f=w[d|0]<<8|w[d+1|0];l=w[d+2|0];R:{S:{if((w[d+5|0]|w[d+4|0]<<8)!=65535|(w[d+7|0]|w[d+6|0]<<8)!=65535?w[d+3|0]|l<<8&768:0){break S}if(!(!a|(f?0:l&64))){a=c+(k<<1)|0;a=g+((w[a|0]<<8|w[a+1|0])<<3)|0;k=w[a+2|0];if(((w[a+5|0]|w[a+4|0]<<8)!=65535|(w[a+7|0]|w[a+6|0]<<8)!=65535?k<<8&768|w[a+3|0]:0)|((k^l)&64|(f|0)!=(w[a+1|0]|w[a|0]<<8))){break S}}a=c+(m+!i<<1)|0;a=g+((w[a|0]<<8|w[a+1|0])<<3)|0;if(!(w[a+2|0]<<8&768|w[a+3|0])){break R}if((w[a+5|0]|w[a+4|0]<<8)!=65535){break S}if((w[a+7|0]|w[a+6|0]<<8)==65535){break R}}a=v[e+4>>2];c=v[(w[a+69|0]?80:72)+a>>2];if(!c){break R}g=v[a+72>>2];if(g>>>0>=y[a+76>>2]){break R}md(a,c-1|0,g+1|0)}Ap(h,e,d);c=v[e+4>>2];a=v[c+72>>2];if((a|0)==v[c+76>>2]|!w[c+68|0]){break P}T:{if(w[d+2|0]&64){d=v[c+40>>2];v[c+40>>2]=d-1;if((d|0)>0){break T}}if(w[c+69|0]){g=c;U:{if(v[c+92>>2]==v[c+88>>2]){d=a;if(v[c+80>>2]==(a|0)){break U}}if(!cb(c,1,1)){break T}d=v[c+88>>2]+B(v[c+72>>2],20)|0;i=v[d+4>>2];a=v[c+92>>2]+B(v[c+80>>2],20)|0;v[a>>2]=v[d>>2];v[a+4>>2]=i;v[a+16>>2]=v[d+16>>2];i=v[d+12>>2];v[a+8>>2]=v[d+8>>2];v[a+12>>2]=i;a=v[c+72>>2];d=v[c+80>>2]}v[g+80>>2]=d+1}v[c+72>>2]=a+1}c=v[e+4>>2];if(!w[c+68|0]){break P}d=v[c+72>>2];a=f;continue}}td(c)}Ca=h+48|0;a=v[b+48>>2];h=v[a+12>>2];v[b+24>>2]=h;a=v[a+16>>2];v[b+28>>2]=a+h;if((a|0)<=-1){break a}return}}O(229360,229385,194,229402);L()}function xq(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,z=0,A=0;g=Ca-32|0;Ca=g;p=v[b+100>>2];d=1;a:{b:{c:{d:{e:{f:{g:{if(Ya(a,0)){break g}f=ub(a,25648,b+184|0);v[g+28>>2]=f;if(f){break g}d=3;if(v[b+184>>2]!=1885562369){break g}f=v[b+188>>2];if(!f){break g}e=v[a+4>>2];if(e>>>0<16){break g}d=e>>>4|0;if(!(d>>>0>=f>>>0?f>>>0<=9:0)){f=e>>>0<144?d:9;v[b+188>>2]=f}e=0;f=Ua(p,16,0,f,0,g+28|0);v[b+192>>2]=f;d=v[g+28>>2];if(d){break g}if(v[b+188>>2]){while(1){d=ub(a,25664,f);v[g+28>>2]=d;if(d){break d}f=f+16|0;e=e+1|0;d=v[b+188>>2];if(e>>>0<d>>>0){continue}break}f=v[b+192>>2];if((d|0)==1){break f}e=d}d=0;h:{i:{while(1){j=d+1|0;if((j|0)==(e|0)){i=e-1|0;e=v[a+4>>2];f=v[b+192>>2];break i}m=d^-1;h=v[f+12>>2];l=0;i=0;while(1){d=(i<<4)+f|0;i=i+1|0;k=(i<<4)+f|0;e=v[k+12>>2];if(h>>>0>e>>>0){e=v[d+12>>2];v[g+16>>2]=v[d+8>>2];v[g+20>>2]=e;e=v[d+4>>2];v[g+8>>2]=v[d>>2];v[g+12>>2]=e;e=v[k+12>>2];v[d+8>>2]=v[k+8>>2];v[d+12>>2]=e;e=v[k+4>>2];v[d>>2]=v[k>>2];v[d+4>>2]=e;e=v[g+20>>2];v[k+8>>2]=v[g+16>>2];v[k+12>>2]=e;e=v[g+12>>2];v[k>>2]=v[g+8>>2];v[k+4>>2]=e;l=1;e=v[k+12>>2]}h=v[d+8>>2];if(h>>>0>e>>>0|y[d+12>>2]>e-h>>>0){break h}h=e;e=v[b+188>>2];if(m+e>>>0>i>>>0){continue}break}i=e-1|0;if(l){d=j;if(i>>>0>d>>>0){continue}}break}e=v[a+4>>2];f=v[b+192>>2];j=f;if(!i){break e}}j=(i<<4)+f|0;h=0;d=f;while(1){k=v[d+8>>2];if(!(y[d+12>>2]<=e-k>>>0?k>>>0<=e>>>0:0)){v[g+28>>2]=8;break d}d=d+16|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}break e}v[g+28>>2]=9;break d}v[g+4>>2]=d;break b}e=v[a+4>>2];j=f}d=v[j+12>>2];if(d>>>0>e>>>0){v[g+28>>2]=8;break d}d=e-d|0;if(d>>>0<y[j+8>>2]){v[j+8>>2]=d}v[g+4>>2]=0;break c}d=v[b+192>>2];if(d){Ea[v[p+8>>2]](p,d)}f=0;v[b+192>>2]=0;d=v[g+28>>2];v[g+4>>2]=d;if(d){break b}}v[b>>2]=1;v[b+4>>2]=0;d=0;if((c|0)<0){break a}h=v[b+100>>2];i=3;j:{k:{c=v[b+188>>2];l:{if(!c){break l}d=0;while(1){if(v[(d<<4)+f>>2]==1){i=83;c=v[((d<<4)+f|0)+12>>2];e=v[a+8>>2];if(c>>>0<e>>>0){break l}if(Ub(a,c-e|0)){break l}k=v[((d<<4)+f|0)+8>>2];c=0;v[g+8>>2]=0;d=Sc(a,g+8|0);if(!v[g+8>>2]){break k}d=0;break j}d=d+1|0;if((c|0)!=(d|0)){continue}break}}v[g+8>>2]=i;c=0;d=0;break j}if(d>>>0>255){d=0;break j}e=d&4;m:{if(e){f=Ob(a,g+8|0);break m}f=Sc(a,g+8|0)}if(v[g+8>>2]){d=0;break j}if(f>>>0>(k>>>0)/9>>>0){v[g+8>>2]=8;d=0;break j}j=f>>>0<256?f:256;v[b+280>>2]=j;d=Ua(h,12,0,j,0,g+8|0);if(v[g+8>>2]){break j}n:{if(!j){break n}i=0;if(!e){while(1){l=ub(a,25728,B(i,12)+d|0);v[g+8>>2]=l;if(l){break j}i=i+1|0;if((j|0)!=(i|0)){continue}break n}}while(1){l=ub(a,25696,B(i,12)+d|0);v[g+8>>2]=l;if(l){break j}i=i+1|0;if((j|0)!=(i|0)){continue}break}}i=Ub(a,B(f-j|0,9));v[g+8>>2]=i;if(i){v[g+8>>2]=83;break j}o:{i=f&3;if(!i){break o}i=Ub(a,4-i|0);v[g+8>>2]=i;if(!i){break o}v[g+8>>2]=83;break j}p:{if(e){e=Ob(a,g+8|0);break p}e=Sc(a,g+8|0)}if(v[g+8>>2]){break j}if(e>>>0>k+B(f,-9)>>>0){v[g+8>>2]=8;break j}f=e>>>0<16777472?e:16777472;c=qb(h,f+1|0,g+8|0);if(v[g+8>>2]){break j}e=Vb(a,c,f);v[g+8>>2]=e;if(e){break j}i=0;t[c+f|0]=0;l=Ua(h,12,0,j,0,g+8|0);if(v[g+8>>2]){break j}v[b+284>>2]=l;if(j){while(1){k=B(i,12);e=k+d|0;m=v[e>>2];if(!(f>>>0>=m>>>0?(m|0)>=0:0)){v[g+8>>2]=9;break j}k=k+l|0;z=k,A=pd(h,c+m|0,g+8|0),v[z>>2]=A;if(v[g+8>>2]){break j}m=w[e+4|0];t[k+4|0]=m;e=v[e+8>>2];q:{if(m){if(!(e>>>0<=f>>>0?(e|0)>=0:0)){v[g+8>>2]=9;break j}z=k,A=pd(h,c+e|0,g+8|0),v[z+8>>2]=A;if(!v[g+8>>2]){break q}break j}v[k+8>>2]=e}i=i+1|0;if((j|0)!=(i|0)){continue}break}}v[g+8>>2]=0}if(d){Ea[v[h+8>>2]](h,d)}if(c){Ea[v[h+8>>2]](h,c)}c=v[g+8>>2];v[g+4>>2]=c;if(c){break b}r:{s:{c=v[b+188>>2];if(!c){break s}f=v[b+192>>2];d=0;while(1){if(v[(d<<4)+f>>2]!=256){d=d+1|0;if((d|0)!=(c|0)){continue}break s}break}k=0;break r}c=wq(a,b,2);v[g+4>>2]=c;if(c){break b}c=v[b+188>>2];f=v[b+192>>2];k=1}if(!c){v[g+4>>2]=3;break b}h=v[b+100>>2];d=0;t:{u:{while(1){if(v[(d<<4)+f>>2]==4){c=83;e=v[((d<<4)+f|0)+12>>2];j=v[a+8>>2];if(e>>>0<j>>>0){break t}if(Ub(a,e-j|0)){break t}f=v[((d<<4)+f|0)+8>>2];v[g+28>>2]=0;e=Sc(a,g+28|0);c=v[g+28>>2];if(c){break t}if(((e|256)&-256)==256){break u}v[g+4>>2]=3;break b}d=d+1|0;if((d|0)!=(c|0)){continue}break}v[g+4>>2]=3;break b}j=e&4;v:{if(e>>>0<=255){if(j){d=Ob(a,g+28|0);break v}d=Sc(a,g+28|0);break v}if(j){d=kb(a,g+28|0);break v}d=Fr(a,g+28|0)}c=3;if(v[g+28>>2]){break t}w:{if(e>>>0<=255){c=8;if(d-1>>>0<(f>>>0)/12>>>0){break w}break t}c=8;if(d-1>>>0>=(f>>>0)/5>>>0){break t}}c=(d>>>0<65534?d:65534)+1|0;v[b+288>>2]=c;d=Ua(h,16,0,c,0,g+28|0);v[b+292>>2]=d;c=v[g+28>>2];if(c){break t}x:{y:{z:{A:{if(y[b+288>>2]<2){break A}c=d+16|0;f=1;if(e>>>0<=255){d=j?25888:25920;while(1){e=ub(a,d,c);v[g+28>>2]=e;v[c+12>>2]=0;if(e){break y}if(!(u[c+6>>1]>=(0-u[c+8>>1]|0)?u[c+2>>1]>=u[c>>1]:0)){v[c>>2]=0;v[c+4>>2]=0;u[c+8>>1]=0}c=c+16|0;f=f+1|0;if(f>>>0<y[b+288>>2]){continue}break}break A}while(1){d=ub(a,25952,g+8|0);if(d){break z}u[c>>1]=w[g+8|0]-128;u[c+2>>1]=w[g+9|0]-128;u[c+4>>1]=w[g+10|0]-128;e=w[g+11|0]-128|0;u[c+6>>1]=e;d=w[g+12|0];u[c+10>>1]=0;u[c+8>>1]=d-128;v[g+28>>2]=0;v[c+12>>2]=0;if(!((e|0)>=(128-d|0)?u[c+2>>1]>=u[c>>1]:0)){v[c>>2]=0;v[c+4>>2]=0;u[c+8>>1]=0}c=c+16|0;f=f+1|0;if(f>>>0<y[b+288>>2]){continue}break}}v[g+4>>2]=0;break x}v[g+28>>2]=d;v[c+12>>2]=0}c=v[b+292>>2];if(c){Ea[v[h+8>>2]](h,c)}v[b+292>>2]=0;c=v[g+28>>2];v[g+4>>2]=c;if(c){break b}}f=v[b+188>>2];if(!f){v[g+4>>2]=3;break b}c=v[b+192>>2];d=0;B:{C:{D:{E:{while(1){if(v[c+(d<<4)>>2]==8){f=83;e=v[(c+(d<<4)|0)+12>>2];h=v[a+8>>2];if(e>>>0<h>>>0){break C}if(Ub(a,e-h|0)){break C}e=v[(c+(d<<4)|0)+8>>2];f=vb(a,8);v[g+8>>2]=f;if(f){break C}h=Gr(a);j=h&4;if(!j){break E}c=tc(a);break D}d=d+1|0;if((f|0)!=(d|0)){continue}break}v[g+4>>2]=3;break b}c=Gr(a)}pb(a);if(h>>>0>255){v[g+4>>2]=3;break b}f=3;c=c>>>0<65534?c:65534;if((c|0)!=(v[b+288>>2]-1|0)){break C}F:{if(!c){break F}f=(v[a+8>>2]+(c<<2)|0)+16|0;d=1;if(!j){while(1){i=Sc(a,g+8|0);v[(v[b+292>>2]+(d<<4)|0)+12>>2]=f+(e>>>0<i>>>0?0:i);i=(c|0)==(d|0);d=d+1|0;if(!i){continue}break F}}while(1){i=Ob(a,g+8|0);v[(v[b+292>>2]+(d<<4)|0)+12>>2]=f+(e>>>0<i>>>0?0:i);i=(c|0)!=(d|0);d=d+1|0;if(i){continue}break}}f=v[g+8>>2];if(f){break C}G:{if(j){Ob(a,g+8|0);f=v[g+8>>2];if(f){break C}Ob(a,g+8|0);f=v[g+8>>2];if(f){break C}Ob(a,g+8|0);f=v[g+8>>2];if(f){break C}Ob(a,g+8|0);break G}Sc(a,g+8|0);f=v[g+8>>2];if(f){break C}Sc(a,g+8|0);f=v[g+8>>2];if(f){break C}Sc(a,g+8|0);f=v[g+8>>2];if(f){break C}Sc(a,g+8|0)}f=v[g+8>>2];if(!f){break B}}v[g+4>>2]=f;break b}v[b+312>>2]=h;v[g+4>>2]=0;d=a;e=0;j=Ca-16|0;Ca=j;h=3;f=v[b+188>>2];H:{if(!f){break H}l=b+296|0;a=v[b+192>>2];c=v[b+100>>2];I:{while(1){J:{if(v[a+(e<<4)>>2]==32){h=83;a=v[(a+(e<<4)|0)+12>>2];f=v[d+8>>2];if(a>>>0<f>>>0){break H}if(Ub(d,a-f|0)){break H}v[j+12>>2]=0;f=Sc(d,j+12|0);h=v[j+12>>2];if(h){break H}h=3;if(f>>>0>255){break H}a=j;m=f&4;K:{if(m){h=ub(d,25984,l);break K}h=ub(d,26016,l)}v[a+12>>2]=h;if(h){break H}h=8;a=x[b+298>>1];e=x[b+296>>1];if(a>>>0<e>>>0|a>>>0>255){break H}f=x[b+302>>1];i=x[b+300>>1];if(f>>>0<i>>>0|f>>>0>255){break H}a=B((f-i|0)+1|0,(a-e|0)+1|0);z=b,A=Ua(c,2,0,a,0,j+12|0),v[z+308>>2]=A;h=v[j+12>>2];if(h){break H}a=vb(d,a<<1);v[j+12>>2]=a;if(!a){f=x[b+304>>1];a=f>>>8|0;e=x[b+300>>1];L:{M:{if(a>>>0<e>>>0|x[b+302>>1]<a>>>0){break M}c=x[l>>1];f=f&255;if(c>>>0>f>>>0){break M}i=x[b+298>>1];if(i>>>0>=f>>>0){break L}}c=x[b+296>>1];u[b+304>>1]=c+(e<<8);i=x[b+298>>1];a=e;f=c}h=1;a=v[d+32>>2]+(((f&65535)-c|0)+B((i-c|0)+1|0,a-e|0)<<1)|0;a=w[a+!m|0]<<8|w[a+((m|0)!=0)|0];if((a|0)!=65535){a=a+1&65535;h=a>>>0<y[b+288>>2]?a:1}a=v[b+292>>2];c=(h<<4)+a|0;f=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=f;f=v[c+12>>2];v[a+8>>2]=v[c+8>>2];v[a+12>>2]=f;f=x[b+302>>1];h=x[b+300>>1];if(f>>>0<h>>>0){break J}e=v[b+308>>2];c=x[b+298>>1];a=x[b+296>>1];if(!m){if((a&65535)>>>0>c>>>0){while(1){h=h+1|0;if((h&65535)>>>0<=f>>>0){continue}break J}}while(1){if((a&65535)>>>0<=c>>>0){while(1){c=Uf(d);u[e>>1]=(c|0)==65535?-1:c+1|0;e=e+2|0;c=x[b+298>>1];a=a+1|0;if(c>>>0>=(a&65535)>>>0){continue}break}f=x[b+302>>1]}h=h+1|0;if((h&65535)>>>0>(f&65535)>>>0){break J}a=x[l>>1];continue}}if((a&65535)>>>0>c>>>0){while(1){h=h+1|0;if((h&65535)>>>0<=f>>>0){continue}break J}}while(1){if((a&65535)>>>0<=c>>>0){while(1){c=Cb(d);u[e>>1]=(c|0)==65535?-1:c+1|0;e=e+2|0;c=x[b+298>>1];a=a+1|0;if(c>>>0>=(a&65535)>>>0){continue}break}f=x[b+302>>1]}h=h+1|0;if((h&65535)>>>0>(f&65535)>>>0){break J}a=x[l>>1];continue}}a=v[b+308>>2];if(a){Ea[v[c+8>>2]](c,a)}v[b+308>>2]=0;break I}e=e+1|0;if((f|0)!=(e|0)){continue}break H}break}pb(d)}h=v[j+12>>2]}Ca=j+16|0;v[g+4>>2]=h;if(h){break b}if(!k){a=wq(d,b,256);v[g+4>>2]=a;if(a){break b}}a=v[b+8>>2];v[b+8>>2]=a|18;if(w[b+199|0]){v[b+8>>2]=a|22}a=0;d=0;j=0;i=0;m=Ca-16|0;Ca=m;v[m+12>>2]=0;f=b;v[b+12>>2]=0;h=1;n=v[b+100>>2];e=v[b+280>>2];N:{O:{if((e|0)<1){k=1;s=1;break O}o=v[f+284>>2];while(1){P:{b=a;c=Wa(v[o+B(a,12)>>2],26044);a=a+1|0;if((e|0)<=(a|0)){break P}if(c){continue}}break}a=0;d=2;Q:{if(c){h=0;break Q}b=o+B(b,12)|0;if(!w[b+4|0]){h=0;break Q}h=0;R:{switch(w[v[b+8>>2]]-73|0){case 0:case 6:case 32:case 38:break R;default:break Q}}v[f+12>>2]=1;h=(w[v[b+8>>2]]&223)==79?26050:26058;d=3}while(1){S:{c=a;k=Wa(v[o+B(c,12)>>2],26065);a=c+1|0;if((e|0)<=(a|0)){break S}if(k){continue}}break}a=0;b=1;T:{if(k){break T}c=o+B(c,12)|0;b=1;if(!w[c+4|0]){break T}b=1;if((w[v[c+8>>2]]|32)!=98){break T}v[f+12>>2]=d;i=26077;b=0}k=b;while(1){U:{c=a;d=Wa(v[o+B(c,12)>>2],26082);a=c+1|0;if((e|0)<=(a|0)){break U}if(d){continue}}break}a=0;b=0;V:{if(d){break V}c=o+B(c,12)|0;b=0;if(!w[c+4|0]){break V}c=v[c+8>>2];d=w[c|0];b=0;if(!d){break V}b=0;if((d|0)==78){break V}b=0;if((d|0)==110){break V}b=c}c=b;while(1){W:{d=a;l=Wa(v[o+B(d,12)>>2],26096);a=d+1|0;if((e|0)<=(a|0)){break W}if(l){continue}}break}b=0;e=0;X:{if(l){break X}Y:{a=o+B(d,12)|0;if(!w[a+4|0]){break Y}a=v[a+8>>2];d=w[a|0];if(!d|(d|0)==78){break Y}e=0;if((d|0)==110){break X}b=a;j=Xa(a);e=j+1|0;break X}e=0}Z:{if(k){i=0;break Z}q=Xa(i);e=(q+e|0)+1|0}d=0;if(h){r=Xa(h);e=(r+e|0)+1|0;a=h}else{a=0}o=a;_:{if(!c){a=0;break _}a=Xa(c);e=(e+a|0)+1|0;d=c}h=!h;s=!c;if(e){break N}}e=8;j=7;b=26111}c=qb(n,e,m+12|0);v[f+24>>2]=c;e=v[m+12>>2];if(!e){if(b){l=Ta(c,b,j);$:{if(!j){break $}e=j&3;c=0;if(j-1>>>0>=3){b=j&-4;while(1){n=c+l|0;if(w[n|0]==32){t[n|0]=45}n=l+(c|1)|0;if(w[n|0]==32){t[n|0]=45}n=l+(c|2)|0;if(w[n|0]==32){t[n|0]=45}n=l+(c|3)|0;if(w[n|0]==32){t[n|0]=45}c=c+4|0;b=b-4|0;if(b){continue}break}}if(!e){break $}while(1){b=c+l|0;if(w[b|0]==32){t[b|0]=45}c=c+1|0;e=e-1|0;if(e){continue}break}}c=j+l|0}if(!k){if(v[f+24>>2]!=(c|0)){t[c|0]=32;c=c+1|0}c=Ta(c,i,q)+q|0}if(!h){if(v[f+24>>2]!=(c|0)){t[c|0]=32;c=c+1|0}c=Ta(c,o,r)+r|0}if(!s){if(v[f+24>>2]!=(c|0)){t[c|0]=32;c=c+1|0}d=Ta(c,d,a);aa:{if(!a){a=0;break aa}e=a&3;c=0;if(a-1>>>0>=3){b=a&-4;while(1){h=c+d|0;if(w[h|0]==32){t[h|0]=45}h=d+(c|1)|0;if(w[h|0]==32){t[h|0]=45}h=d+(c|2)|0;if(w[h|0]==32){t[h|0]=45}h=d+(c|3)|0;if(w[h|0]==32){t[h|0]=45}c=c+4|0;b=b-4|0;if(b){continue}break}}if(!e){break aa}while(1){b=c+d|0;if(w[b|0]==32){t[b|0]=45}c=c+1|0;e=e-1|0;if(e){continue}break}}c=a+d|0}t[c|0]=0;e=v[m+12>>2]}Ca=m+16|0;v[g+4>>2]=e;if(e){break b}a=lf(f,25540);ba:{if(!(!a|!w[a+4|0])){z=f,A=pd(p,v[a+8>>2],g+4|0),v[z+20>>2]=A;if(!v[g+4>>2]){break ba}break b}v[f+20>>2]=0}v[f+28>>2]=1;v[f+16>>2]=v[f+288>>2];a=wb(p,16,g+4|0);v[f+32>>2]=a;if(v[g+4>>2]){break b}b=v[f+208>>2]+v[f+204>>2]|0;c=b>>31;ca:{if((c^b+c)>>>0>=32768){u[a>>1]=32767;b=32767;break ca}b=b&32768?0-b|0:b;u[a>>1]=b;b=b<<16>>16}c=a;d=lf(f,25552);da:{if(d){d=v[d+8>>2];e=d>>31;b=32767;if((e^d+e)>>>0>327665){break da}b=(d+5|0)/10|0;b=b&32768?0-b|0:b;break da}b=fb(b,2,3)}u[c+2>>1]=b;c=lf(f,25566);if(c){d=v[c+8>>2];c=d>>31;b=a;c=c^c+d;if(c>>>0<=328898){c=fb(c,460800,72270)}else{c=32767}v[b+4>>2]=c}c=lf(f,25577);if(c){c=v[c+8>>2];d=c>>31;b=a;if((d^c+d)>>>0<=32767){c=c<<16;d=c>>16;c=((c|0)<0?0-d|0:d)<<6}else{c=2097088}v[b+12>>2]=c}c=0;d=lf(f,25588);b=0;ea:{if(!d){break ea}d=v[d+8>>2];e=d>>31;b=32767;if((e^d+e)>>>0>32767){break ea}b=(d&32768?0-d|0:d)<<16>>16}d=lf(f,25601);fa:{if(!d){break fa}c=32767;d=v[d+8>>2];e=d>>31;if((e^d+e)>>>0>32767){break fa}c=d&32768?0-d|0:d}d=v[a+12>>2];ga:{if(!d){d=v[a+4>>2];v[a+12>>2]=d;if(!(c&65535)){break ga}d=fb(d,c<<16>>16,72);v[a+12>>2]=d}if(!b|!(c&65535)){break ga}d=fb(d,b,c<<16>>16)}v[a+8>>2]=d;a=lf(f,25614);b=lf(f,25631);if(!(!a|!w[a+4|0]|(!b|!w[b+4|0]))){z=f,A=pd(p,v[b+8>>2],g+4|0),v[z+176>>2]=A;if(v[g+4>>2]){break b}z=f,A=pd(p,v[a+8>>2],g+4|0),v[z+180>>2]=A;if(v[g+4>>2]){break b}d=0;break a}if(v[g+4>>2]){break b}d=0;break a}v[g+4>>2]=c}d=3}Ca=g+32|0;return d}function Ek(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,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;e=Ca-176|0;Ca=e;v[e+172>>2]=0;o=v[a+12>>2];m=v[a>>2];if(x[m+290>>1]<c>>>0){u[m+290>>1]=c}v[a+20>>2]=b;s=65536;n=65536;if(!(t[a+16|0]&1)){f=v[v[a+4>>2]+44>>2];s=v[f+8>>2];n=v[f+4>>2]}B=v[v[m+128>>2]+52>>2];a:{b:{if(B){f=Ea[v[v[B>>2]>>2]](v[B+4>>2],b,e+120|0)|0;v[e+172>>2]=f;if(f){break a}f=v[e+124>>2];v[a+28>>2]=f;v[e+160>>2]=0;v[e+164>>2]=0;v[e+152>>2]=0;v[e+156>>2]=0;v[e+144>>2]=0;v[e+148>>2]=0;v[e+136>>2]=0;v[e+140>>2]=0;v[e+128>>2]=0;v[e+132>>2]=0;g=v[e+120>>2];v[e+160>>2]=0;v[e+136>>2]=0;v[e+132>>2]=f;v[e+128>>2]=g;v[e+148>>2]=0;v[e+152>>2]=0;v[a+24>>2]=e+128;f=0;break b}f=wk(m,b,a+28|0)}g=v[a+28>>2];c:{if((g|0)>=1){k=v[m+728>>2];if(!(k|v[v[m+128>>2]+52>>2])){v[e+172>>2]=8;break c}g=Ea[v[m+520>>2]](a,b,f+k|0,g)|0;v[e+172>>2]=g;if(g){break c}I=e,J=Ea[v[m+528>>2]](a)|0,v[I+172>>2]=J;Ea[v[m+524>>2]](a);if(v[e+172>>2]){break c}g=v[a+28>>2]}if(!(x[a+32>>1]?g:0)){v[a+36>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0}g=v[a>>2];k=v[a+24>>2];u[e+80>>1]=0;u[e>>1]=0;u[e+40>>1]=0;u[e+64>>1]=0;p=v[k+8>>2];Ea[v[v[g+540>>2]+156>>2]](g,0,b,e+80|0,e+40|0);d:{if(w[g+292|0]){Ea[v[v[g+540>>2]+156>>2]](g,1,b,e,e- -64|0);break d}j=v[a+48>>2];if(x[g+372>>1]!=65535){l=u[g+442>>1];u[e>>1]=l-j;l=l-u[g+444>>1]|0;j=l>>31;u[e+64>>1]=j^j+l;break d}l=u[g+220>>1];u[e>>1]=l-j;l=l-u[g+222>>1]|0;j=l>>31;u[e+64>>1]=j^j+l}k=Ya(k,p);e:{if(k){break e}v[a+52>>2]=u[e+80>>1];j=x[e+40>>1];v[a+56>>2]=j;v[a+172>>2]=u[e>>1];v[a+176>>2]=x[e+64>>1];if(v[v[g+128>>2]+52>>2]|w[a+64|0]){break e}v[a+60>>2]=j;t[a+64|0]=1}v[e+172>>2]=k;if(d|k){break c}if(!(x[a+32>>1]?v[a+28>>2]:0)){d=v[a>>2];c=v[v[d+128>>2]+52>>2];f:{if(!c){break f}f=v[v[c>>2]+8>>2];if(!f){break f}d=v[a+52>>2];v[e+84>>2]=0;v[e+80>>2]=d;d=v[a+56>>2];v[e+92>>2]=0;v[e+88>>2]=d;g:{if(Ea[f|0](v[c+4>>2],b,0,e+80|0)|0){break g}d=u[e+80>>1];c=x[e+88>>1];v[a+172>>2]=0;v[a+176>>2]=0;v[a+56>>2]=c;v[a+52>>2]=d;if(w[a+64|0]){break g}v[a+60>>2]=c;t[a+64|0]=1}d=v[a>>2]}c=0;h:{if(v[v[d+96>>2]+64>>2]!=40){break h}f=v[a+156>>2];c=0;if(!f){break h}c=w[f+641|0]!=0&w[f+646|0]!=0}v[a+72>>2]=0;v[a+80>>2]=0;f=v[a+36>>2]-v[a+52>>2]|0;v[a+68>>2]=f;h=v[a+172>>2]+v[a+48>>2]|0;v[a+184>>2]=h;i=v[a+56>>2];c=c?(i|0)/2|0:0;v[a+180>>2]=c;i=f+i|0;v[a+76>>2]=i;v[a+188>>2]=c;g=h-v[a+176>>2]|0;v[a+192>>2]=g;i:{if(!(w[m+9|0]&128?1:x[m+6>>1]&32767)){break i}v[e+108>>2]=g;v[e+100>>2]=h;v[e+76>>2]=16843009;v[e+64>>2]=65536;v[e+68>>2]=196610;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+104>>2]=c;v[e+96>>2]=c;v[e+92>>2]=0;v[e+88>>2]=i;v[e+84>>2]=0;v[e+80>>2]=f;v[e+40>>2]=262148;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[e+52>>2]=e- -64;v[e+48>>2]=e+76;v[e+44>>2]=e+80;b=vk(d,b,e+40|0,e,4);v[e+172>>2]=b;if(b){break c}f=v[e+80>>2];v[a+68>>2]=f;v[a+72>>2]=v[e+84>>2];v[a+76>>2]=v[e+88>>2];v[a+80>>2]=v[e+92>>2];v[a+180>>2]=v[e+96>>2];v[a+184>>2]=v[e+100>>2];v[a+188>>2]=v[e+104>>2];v[a+192>>2]=v[e+108>>2];b=v[v[a>>2]+740>>2];if(!(b&2)){v[a+60>>2]=((v[e+8>>2]-v[e>>2]|0)+32&-64)/64}if(b&16){break i}v[a+176>>2]=((v[e+24>>2]-v[e+16>>2]|0)+32&-64)/64}if(!(t[a+16|0]&1)){I=a,J=Qa(f,n),v[I+68>>2]=J;I=a,J=Qa(v[a+76>>2],n),v[I+76>>2]=J;I=a,J=Qa(v[a+180>>2],n),v[I+180>>2]=J;I=a,J=Qa(v[a+184>>2],s),v[I+184>>2]=J;I=a,J=Qa(v[a+188>>2],n),v[I+188>>2]=J;I=a,J=Qa(v[a+192>>2],s),v[I+192>>2]=J}v[e+172>>2]=0;break c}d=v[a>>2];g=v[v[d+128>>2]+52>>2];j:{if(!g){break j}k=v[v[g>>2]+8>>2];if(!k){break j}d=v[a+52>>2];v[e+84>>2]=0;v[e+80>>2]=d;d=v[a+56>>2];v[e+92>>2]=0;v[e+88>>2]=d;k:{if(Ea[k|0](v[g+4>>2],b,0,e+80|0)|0){break k}g=u[e+80>>1];d=x[e+88>>1];v[a+172>>2]=0;v[a+176>>2]=0;v[a+56>>2]=d;v[a+52>>2]=g;if(w[a+64|0]){break k}v[a+60>>2]=d;t[a+64|0]=1}d=v[a>>2]}g=0;l:{if(v[v[d+96>>2]+64>>2]!=40){break l}d=v[a+156>>2];g=0;if(!d){break l}g=w[d+641|0]!=0&w[d+646|0]!=0}v[a+72>>2]=0;v[a+80>>2]=0;d=v[a+36>>2]-v[a+52>>2]|0;v[a+68>>2]=d;k=v[a+172>>2]+v[a+48>>2]|0;v[a+184>>2]=k;j=v[a+56>>2];g=g?(j|0)/2|0:0;v[a+180>>2]=g;v[a+76>>2]=d+j;v[a+188>>2]=g;v[a+192>>2]=k-v[a+176>>2];d=Ea[v[m+520>>2]](a,b,(f+v[m+728>>2]|0)+10|0,v[a+28>>2]-10|0)|0;v[e+172>>2]=d;if(d){break c}m:{d=u[a+32>>1];if((d|0)>=1){b=Ea[v[m+532>>2]](a)|0;v[e+172>>2]=b;if(b){break m}Ea[v[m+524>>2]](a);b=0;k=Ca-16|0;Ca=k;h=v[a+12>>2];v[k+12>>2]=0;d=v[v[a>>2]+100>>2];f=v[a+72>>2];g=u[h+58>>1];c=v[h+60>>2]+(g<<3)|0;v[c>>2]=v[a+68>>2];v[c+4>>2]=f;f=v[a+80>>2];j=g+1|0;c=v[h+60>>2]+(j<<3)|0;v[c>>2]=v[a+76>>2];v[c+4>>2]=f;f=v[a+184>>2];p=g+2|0;c=v[h+60>>2]+(p<<3)|0;v[c>>2]=v[a+180>>2];v[c+4>>2]=f;f=v[a+192>>2];l=g+3|0;c=v[h+60>>2]+(l<<3)|0;v[c>>2]=v[a+188>>2];v[c+4>>2]=f;c=h- -64|0;t[g+v[c>>2]|0]=0;t[j+v[c>>2]|0]=0;t[p+v[c>>2]|0]=0;t[l+v[c>>2]|0]=0;q=g+4|0;c=v[a>>2];n:{if(w[c+9|0]&128?1:x[c+6>>1]&32767){b=Ua(d,8,0,q,0,k+12|0);if(v[k+12>>2]){break n}c=vk(v[a>>2],v[a+20>>2],h+56|0,b,q);v[k+12>>2]=c;f=v[v[a>>2]+740>>2];if(!(f&2)){v[a+60>>2]=((v[(j<<3)+b>>2]-v[(g<<3)+b>>2]|0)+32&-64)/64}if(!(f&16)){v[a+176>>2]=((v[(l<<3)+b>>2]-v[(p<<3)+b>>2]|0)+32&-64)/64}if(c){break n}}n=0;c=v[a+16>>2];if(!(c&2)){c=x[h+58>>1];u[a+128>>1]=c;u[a+130>>1]=x[h+56>>1];v[a+132>>2]=v[h+76>>2];f=v[h+60>>2];v[a+136>>2]=f;s=v[h+80>>2];v[a+140>>2]=s;v[a+144>>2]=v[h+64>>2];C=v[h+68>>2];u[a+152>>1]=0;v[a+148>>2]=C;Ta(s,f,(c<<3)+32|0);c=v[a+16>>2]}o:{if(c&1){break o}f=v[h+60>>2];q=f+(q<<3)|0;c=v[v[a+4>>2]+44>>2];n=v[c+8>>2];i=v[c+4>>2];c=v[a>>2];if(!(x[c+6>>1]&32767|w[c+9|0]&128)){if((g|0)<=-4){break o}while(1){I=f,J=Qa(v[f>>2],i),v[I>>2]=J;I=f,J=Qa(v[f+4>>2],n),v[I+4>>2]=J;f=f+8|0;if(q>>>0>f>>>0){continue}break}break o}if((g|0)<-3){break o}c=b;while(1){I=f,J=Qa(v[c>>2],i)+32>>6,v[I>>2]=J;I=f,J=Qa(v[c+4>>2],n)+32>>6,v[I+4>>2]=J;c=c+8|0;f=f+8|0;if(q>>>0>f>>>0){continue}break}}f=v[a>>2];p:{if(!(!(w[f+740|0]&2)|w[a+16|0]&2)){I=a,J=Qa(v[a+68>>2],i),v[I+68>>2]=J;I=a,J=Qa(v[a+76>>2],i),v[I+76>>2]=J;f=v[a>>2];break p}c=v[h+60>>2]+(g<<3)|0;g=v[c+4>>2];v[a+68>>2]=v[c>>2];v[a+72>>2]=g;c=v[h+60>>2]+(j<<3)|0;g=v[c+4>>2];v[a+76>>2]=v[c>>2];v[a+80>>2]=g}q:{if(!(!(w[f+740|0]&16)|w[a+16|0]&2)){I=a,J=Qa(v[a+180>>2],i),v[I+180>>2]=J;I=a,J=Qa(v[a+184>>2],n),v[I+184>>2]=J;I=a,J=Qa(v[a+188>>2],i),v[I+188>>2]=J;I=a,J=Qa(v[a+192>>2],n),v[I+192>>2]=J;break q}c=v[h+60>>2]+(p<<3)|0;f=v[c+4>>2];v[a+180>>2]=v[c>>2];v[a+184>>2]=f;c=v[h+60>>2]+(l<<3)|0;f=v[c+4>>2];v[a+188>>2]=v[c>>2];v[a+192>>2]=f}if(w[a+16|0]&2){break n}u[a+128>>1]=x[a+128>>1]+4;I=k,J=er(a,0),v[I+12>>2]=J}if(b){Ea[v[d+8>>2]](d,b)}Ca=k+16|0;a=v[k+12>>2];v[e+172>>2]=a;if(a){break c}lh(o);break c}if((d|0)>-1){break m}l=v[m+100>>2];u[a+32>>1]=65535;g=a+204|0;r:{s:{d=v[a+204>>2];t:{if(d){f=c;while(1){if(!f){f=d;while(1){v[f+8>>2]=-1;f=v[f+4>>2];if(f){continue}break}if(Rk(g,b)){break t}v[d+8>>2]=b;break r}f=f-1|0;d=v[d+4>>2];if(d){continue}break}}if(!Rk(g,b)){break s}}v[e+172>>2]=21;break m}d=wb(l,12,e+172|0);if(v[e+172>>2]){break m}v[d+8>>2]=b;if(!(!g|!d)){f=v[g+4>>2];v[d>>2]=f;v[d+4>>2]=0;v[(f?f+4|0:g)>>2]=d;v[g+4>>2]=d}}k=u[o+22>>1];C=u[o+20>>1];d=Ea[v[m+536>>2]](a)|0;v[e+172>>2]=d;if(d){break m}F=v[a+164>>2];Ea[v[m+524>>2]](a);if(w[m+9|0]&128?1:x[m+6>>1]&32767){z=v[o+84>>2];d=z+4|0;u[e+80>>1]=d;u[e+82>>1]=d;q=d<<16>>16;g=Ua(l,8,0,q,0,e+172|0);f=0;d=0;u:{if(v[e+172>>2]){break u}j=Ua(l,1,0,q,0,e+172|0);d=0;if(v[e+172>>2]){break u}p=Ua(l,2,0,q,0,e+172|0);d=0;if(v[e+172>>2]){break u}f=Ua(l,8,0,q,0,e+172|0);d=0;if(v[e+172>>2]){break u}z=z<<16;A=z>>16;if((z|0)>=1){d=v[o+88>>2];while(1){r=g+(h<<3)|0;v[r>>2]=v[d+8>>2];v[r+4>>2]=v[d+12>>2];t[h+j|0]=1;u[p+(h<<1)>>1]=i;d=d+32|0;i=i+1|0;h=i<<16>>16;if((A|0)>(h|0)){continue}break}}d=g+(h<<3)|0;v[d>>2]=v[a+68>>2];v[d+4>>2]=v[a+72>>2];t[h+j|0]=1;u[p+(h<<1)>>1]=i;h=i+1|0;d=h<<16>>16;r=g+(d<<3)|0;v[r>>2]=v[a+76>>2];v[r+4>>2]=v[a+80>>2];t[d+j|0]=1;u[p+(d<<1)>>1]=h;h=i+2|0;d=h<<16>>16;r=g+(d<<3)|0;v[r>>2]=v[a+180>>2];v[r+4>>2]=v[a+184>>2];t[d+j|0]=1;u[p+(d<<1)>>1]=h;h=i+3|0;d=h<<16>>16;i=g+(d<<3)|0;v[i>>2]=v[a+188>>2];v[i+4>>2]=v[a+192>>2];t[d+j|0]=1;u[p+(d<<1)>>1]=h;v[e+92>>2]=p;v[e+88>>2]=j;v[e+84>>2]=g;b=vk(m,b,e+80|0,f,q);v[e+172>>2]=b;v:{if(b){break v}w:{if((z|0)<1){d=0;break w}b=v[o+88>>2];d=0;h=0;while(1){if(w[b+4|0]&2){d=g+(d<<3)|0;v[b+8>>2]=u[d>>1];v[b+12>>2]=u[d+4>>1]}b=b+32|0;h=h+1|0;d=h<<16>>16;if((A|0)>(d|0)){continue}break}}b=g+(d<<3)|0;v[a+68>>2]=v[b>>2];v[a+72>>2]=v[b+4>>2];v[a+76>>2]=v[b+8>>2];v[a+80>>2]=v[b+12>>2];v[a+180>>2]=v[b+16>>2];v[a+184>>2]=v[b+20>>2];v[a+188>>2]=v[b+24>>2];v[a+192>>2]=v[b+28>>2];b=v[m+740>>2];if(!(b&2)){d=(q<<3)+f|0;v[a+60>>2]=((v[d-24>>2]-v[d-32>>2]|0)+32&-64)/64}if(b&16){break v}b=(q<<3)+f|0;v[a+176>>2]=((v[b-8>>2]-v[b-16>>2]|0)+32&-64)/64}h=p;i=g;d=j}if(i){Ea[v[l+8>>2]](l,i)}if(d){Ea[v[l+8>>2]](l,d)}if(h){Ea[v[l+8>>2]](l,h)}if(f){Ea[v[l+8>>2]](l,f)}if(v[e+172>>2]){break c}}b=v[a+16>>2];if(!(b&1)){I=a,J=Qa(v[a+68>>2],n),v[I+68>>2]=J;I=a,J=Qa(v[a+76>>2],n),v[I+76>>2]=J;I=a,J=Qa(v[a+180>>2],n),v[I+180>>2]=J;I=a,J=Qa(v[a+184>>2],s),v[I+184>>2]=J;I=a,J=Qa(v[a+188>>2],n),v[I+188>>2]=J;I=a,J=Qa(v[a+192>>2],s),v[I+192>>2]=J;b=v[a+16>>2]}if(b&1024){lh(o);v[v[a+8>>2]+72>>2]=1668246896;break c}l=v[o+48>>2];p=v[o+84>>2];q=v[a+28>>2];s=v[a+24>>2];lh(o);b=0;if(p){z=c+1|0;while(1){d=u[o+22>>1];f=v[a+176>>2];h=v[a+60>>2];i=v[a+188>>2];g=v[a+192>>2];j=v[a+180>>2];n=v[a+184>>2];A=v[a+76>>2];r=v[a+80>>2];G=v[a+68>>2];H=v[a+72>>2];D=b<<5;c=l<<5;E=Ek(a,v[D+(c+v[o+52>>2]|0)>>2],z,0);v[e+172>>2]=E;if(E){break c}c=D+(c+v[o+52>>2]|0)|0;if(!(w[c+5|0]&2)){v[a+188>>2]=i;v[a+192>>2]=g;v[a+180>>2]=j;v[a+184>>2]=n;v[a+76>>2]=A;v[a+80>>2]=r;v[a+68>>2]=G;v[a+72>>2]=H;v[a+176>>2]=f;v[a+60>>2]=h}A=x[o+22>>1];if((A|0)!=(d&65535)){n=0;i=Ca-32|0;Ca=i;g=v[a+12>>2];v[i+12>>2]=v[g+24>>2]+(d<<3);u[i+10>>1]=x[g+22>>1]-d;j=x[c+4>>1];r=j&200;if(r){ee(i+8|0,c+16|0);j=x[c+4>>1]}h=v[c+12>>2];f=v[c+8>>2];x:{y:{if(!(j&2)){n=21;f=f+k|0;if(f>>>0>=d>>>0){break x}d=d+h|0;if(d>>>0>=u[g+22>>1]>>>0){break x}h=f<<3;f=v[g+24>>2];g=h+f|0;d=f+(d<<3)|0;h=v[g+4>>2]-v[d+4>>2]|0;f=v[g>>2]-v[d>>2]|0;break y}if(!(f|h)){break x}if(!(!r|!(j&2048))){d=Pl(v[c+16>>2],v[c+20>>2]);g=Pl(v[c+28>>2],v[c+24>>2]);f=Qa(f,d);h=Qa(h,g)}if(t[a+16|0]&1){break y}d=v[v[a+4>>2]+44>>2];g=v[d+8>>2];f=Qa(f,v[d+4>>2]);h=Qa(h,g);if(!(w[c+4|0]&4)|w[a+16|0]&2){break y}f=v[v[v[a>>2]+96>>2]+64>>2]==35?f+32&-64:f;h=h+32&-64}n=0;if(!(f|h)){break x}ic(i+8|0,f,h)}Ca=i+32|0;v[e+172>>2]=n;if(n){break c}}b=b+1|0;if((p|0)!=(b|0)){continue}break}b=c;c=A<<16>>16}else{c=k}v[a+164>>2]=F;v[a+28>>2]=q;v[a+24>>2]=s;if(!(!b|w[a+16|0]&2|(!(t[b+5|0]&1)|c>>>0<=k>>>0))){f=Ca-16|0;Ca=f;b=v[a+12>>2];d=u[b+22>>1];c=d+4|0;z:{if(!(!c|y[b+4>>2]>=u[b+58>>1]+(c+d|0)>>>0)){d=mc(b,c,0);if(d){break z}d=u[b+22>>1]}c=v[b+24>>2]+(d<<3)|0;d=v[a+72>>2];v[c>>2]=v[a+68>>2];v[c+4>>2]=d;d=v[a+80>>2];c=v[b+24>>2]+(u[b+22>>1]<<3)|0;v[c+8>>2]=v[a+76>>2];v[c+12>>2]=d;d=v[a+184>>2];c=v[b+24>>2]+(u[b+22>>1]<<3)|0;v[c+16>>2]=v[a+180>>2];v[c+20>>2]=d;d=v[a+192>>2];c=v[b+24>>2]+(u[b+22>>1]<<3)|0;v[c+24>>2]=v[a+188>>2];v[c+28>>2]=d;t[v[b+28>>2]+u[b+22>>1]|0]=0;t[(u[b+22>>1]+v[b+28>>2]|0)+1|0]=0;t[(u[b+22>>1]+v[b+28>>2]|0)+2|0]=0;t[(u[b+22>>1]+v[b+28>>2]|0)+3|0]=0;c=v[a+24>>2];d=Ya(c,v[a+164>>2]);v[f+12>>2]=d;if(d){break z}b=kb(c,f+12|0);d=v[f+12>>2];if(d){break z}A:{if(b>>>0>x[v[a>>2]+286>>1]){d=22;if((b|0)>v[a+28>>2]){break z}d=v[a+156>>2];v[f+8>>2]=v[d+408>>2];d=fr(v[d+8>>2],f+8|0,d+412|0,b);v[f+12>>2]=d;i=v[a+156>>2];v[i+408>>2]=x[f+8>>1];if(!d){break A}break z}if(!b){d=0;break z}i=v[a+156>>2]}d=Vb(c,v[i+412>>2],b);v[f+12>>2]=d;if(d){break z}c=v[v[a+156>>2]+412>>2];d=v[a+8>>2];v[d+140>>2]=b;v[d+136>>2]=c;b=v[a+12>>2];h=x[b+22>>1]-k|0;u[a+128>>1]=h;u[a+130>>1]=x[b+20>>1]-C;c=k<<3;v[a+132>>2]=c+v[b+40>>2];v[a+136>>2]=c+v[b+24>>2];v[a+140>>2]=c+v[b+44>>2];d=k+v[b+28>>2]|0;v[a+144>>2]=d;b=v[b+32>>2];u[a+152>>1]=k;c=1;v[a+148>>2]=b+(C<<1);b=a;if(h&65535){t[d|0]=w[d|0]&231;d=x[a+128>>1];if(d>>>0>=2){while(1){d=v[a+144>>2]+c|0;t[d|0]=w[d|0]&231;c=c+1|0;d=x[a+128>>1];if(c>>>0<d>>>0){continue}break}}c=d+4|0}else{c=4}u[b+128>>1]=c;d=er(a,1)}Ca=f+16|0;v[e+172>>2]=d;if(d){break c}}if(!v[o+48>>2]|!(w[v[o+52>>2]+5|0]&4)){break c}v[o+36>>2]=v[o+36>>2]|64;break c}Ea[v[m+524>>2]](a)}if(!B){break a}a=v[v[m+128>>2]+52>>2];Ea[v[v[a>>2]+4>>2]](v[a+4>>2],e+120|0)}Ca=e+176|0;return v[e+172>>2]}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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,y=0,z=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0;b=Ca-16|0;Ca=b;e=v[a+4>>2];a:{if(!e){i=uh();im(i,517543);Wt(i);c=0;Ji(v[a>>2],i,0);e=Ca-176|0;Ca=e;if(!Cc(i,e+168|0,8)){Rd(i,8,80)}if(!Cc(i,e+168|0,7)){Rd(i,7,0)}if(!Cc(i,e+168|0,9)){Rd(i,9,100)}if(!Cc(i,e+168|0,17)){Zc(i,17,1)}if(!Cc(i,e+168|0,18)){Zc(i,18,0)}if(!Cc(i,e+168|0,19)){Zc(i,19,0)}if(!Cc(i,e+168|0,20)){Zc(i,20,1)}if(!Cc(i,e+168|0,39)){Zc(i,39,1)}if(!Cc(i,e+168|0,40)){Zc(i,40,0)}if(!Cc(i,e+168|0,48)){Zc(i,48,0)}if(!Cc(i,e+168|0,50)){Zc(i,50,0)}if(fm(i,10,e+104|0)){p=12;f=Ca-16|0;Ca=f;g=Be(i,10,0,f);b:{if(g){break b}g=2;if(v[f>>2]!=9){break b}v[e+120>>2]=v[f+8>>2];g=0}Ca=f+16|0;c:{if(g){break c}f=v[e+120>>2];if(f){if(e+152|0){A[e+152>>3]=A[f>>3]}if(e+136|0){A[e+136>>3]=A[f+8>>3]}f=1}else{f=0}if(!f){break c}p=(A[e+152>>3]+A[e+136>>3])*.5}A[e+104>>3]=p}if(fm(i,28,e+96|0)){v[e+96>>2]=0;v[e+100>>2]=1072693248}if(fm(i,26,e+112|0)){v[e+112>>2]=0;v[e+116>>2]=1079164928}d:{if(!Cc(i,e+168|0,12)){th(i,28);We(i,28,A[e+96>>3]);p=A[e+96>>3];n=A[e+104>>3];th(i,26);We(i,26,A[e+112>>3]);We(i,12,n*p*(A[e+112>>3]/72));break d}f=0;e:{if((e|0)==-168){break e}g=v[e+168>>2];if(!g){break e}o=v[g+4>>2];g=o&1?g+(o&-2)|0:o;if(!g){break e}while(1){if(!f){o=g+8|0;f:{g:{h:{i:{j:{k:{m=v[g+8>>2];switch(m-3|0){case 6:break h;case 5:break i;case 3:break j;case 0:break k;default:break g}}f=v[g+16>>2];g=f&1?o+(f&-2)|0:f;break f}f=v[g+16>>2];g=f&1?o+(f&-2)|0:f;break f}f=v[g+16>>2];g=f&1?o+(f&-2)|0:f;break f}f=v[g+16>>2];g=f&1?o+(f&-2)|0:f;break f}f=v[g+20>>2];j=v[g+12>>2];g=v[g+16>>2]}v[e+164>>2]=f;v[e+160>>2]=g;v[e+156>>2]=j;v[e+152>>2]=m;break e}f=f-1|0;m=g;g=v[g>>2];g=g&1?m+(g&-2)|0:g;if(g){continue}break}}A[e+104>>3]=A[e+160>>3]/A[e+112>>3]*72/A[e+96>>3]}th(i,10);We(i,10,A[e+104>>3]);if(!Cc(i,e+168|0,35)){Rd(i,35,2147483647)}if(!Cc(i,e+168|0,16)){Rd(i,16,3)}if(!Cc(i,e+168|0,42)){while(1){l:{f=v[164083];if(f){break l}f=ib(v[v[pu()+12>>2]>>2]);g=v[164083];v[164083]=g?g:f;if(!g){break l}Pa(f);continue}break}Dc(i,42,f)}sh(i,42,e+136|0);v[e+128>>2]=449514;v[e+120>>2]=3;if(!Cc(i,e+168|0,2)){f=v[e+148>>2];v[e+88>>2]=v[e+144>>2];v[e+92>>2]=f;f=v[e+140>>2];v[e+80>>2]=v[e+136>>2];v[e+84>>2]=f;jm(i,2,e+80|0);f=v[e+132>>2];v[e+72>>2]=v[e+128>>2];v[e+76>>2]=f;f=v[e+124>>2];v[e+64>>2]=v[e+120>>2];v[e+68>>2]=f;Qc(i,2,e- -64|0,0)}if(!Cc(i,e+168|0,4)){f=v[e+148>>2];v[e+56>>2]=v[e+144>>2];v[e+60>>2]=f;f=v[e+140>>2];v[e+48>>2]=v[e+136>>2];v[e+52>>2]=f;jm(i,4,e+48|0);f=v[e+132>>2];v[e+40>>2]=v[e+128>>2];v[e+44>>2]=f;f=v[e+124>>2];v[e+32>>2]=v[e+120>>2];v[e+36>>2]=f;Qc(i,4,e+32|0,0)}if(!Cc(i,e+168|0,6)){f=v[e+148>>2];v[e+24>>2]=v[e+144>>2];v[e+28>>2]=f;f=v[e+140>>2];v[e+16>>2]=v[e+136>>2];v[e+20>>2]=f;jm(i,6,e+16|0);f=v[e+132>>2];v[e+8>>2]=v[e+128>>2];v[e+12>>2]=f;f=v[e+124>>2];v[e>>2]=v[e+120>>2];v[e+4>>2]=f;Qc(i,6,e,0)}m:{if((sh(i,44,e+152|0)|0)!=1){break m}f=ou();if(!f){break m}Dc(i,44,f)}if(!Cc(i,e+168|0,52)){Rd(i,52,0)}Ca=e+176|0;o=sd(517554);f=v[i+8>>2]+i|0;e=v[i>>2];n:{if((e|0)<=0){g=0}else{g=e-1|0;while(1){e=g+k>>1;j=v[f+(e<<3)>>2]-o|0;if(!j){break n}m=(j|0)<0;k=m?e+1|0:k;g=m?g:e-1|0;if((k|0)<=(g|0)){continue}break}g=(j>>>31|0)+e|0}e=g^-1}if(!(!f|(e|0)<0)){dg(v[(f+(e<<3)|0)+4>>2]);e=f+(e<<3)|0;f=e+8|0;mb(e,f,((v[i+8>>2]+i|0)+(v[i>>2]<<3)|0)-f|0);f=v[i>>2]-1|0;v[i>>2]=f;f=(v[i+8>>2]+i|0)+(f<<3)|0;v[f>>2]=0;v[f+4>>2]=0}ba=a;f=v[a>>2];_=a+8|0;J=b+12|0;K=Ca-16|0;Ca=K;o:{p:{if(i){if(!J){break p}v[J>>2]=1;R=yl(f);if(R){f=v[R+52>>2];if(f){v[K+8>>2]=f;l=1}else{l=0}M=K+8|0;f=v[R+56>>2];if(f){v[(K+8|0)+(l<<2)>>2]=f;l=l+1|0}e=0;h=Ca-528|0;Ca=h;q:{r:{s:{t:{u:{v:{w:{x:{y:{if(M){if(!i){break y}if(!J){break x}v[J>>2]=1;if(t[656428]&1){Za(516382,0);Dd(i)}if((l|0)<1){break v}f=l&1;if((l|0)==1){break w}j=l&-2;while(1){g=e<<2;o=v[g+M>>2];if(o){q=v[o>>2]+q|0}g=v[M+(g|4)>>2];if(g){q=v[g>>2]+q|0}e=e+2|0;j=j-2|0;if(j){continue}break}break w}O(516330,516320,1151,516368);L()}O(516343,516320,1152,516368);L()}O(516353,516320,1153,516368);L()}z:{if(!f){break z}f=v[M+(e<<2)>>2];if(!f){break z}q=v[f>>2]+q|0}if(!q){break v}e=0;while(1){D=e;e=e+1|0;if(!hm(i,D,h+512|0)){continue}break}$=D<<2;aa=B(q,228);o=Va($+aa|0);if(!o){break r}g=Ca-16|0;Ca=g;k=Cl(1007,1008,0,0);f=Xe(i,1);A:{if(!f){break A}e=v[f+4>>2];e=e&1?f+(e&-2)|0:e;if(!e){break A}while(1){f=v[e+16>>2];j=f&1?((f&-2)+e|0)+8|0:f;if(!Od(k,j,g+12|0)){f=Va(16);v[g+12>>2]=f;v[f+8>>2]=-1568170194;v[f+12>>2]=1417495214;v[f>>2]=-1568170194;v[f+4>>2]=1417495214;Al(k,j,f)}p=+(r|0);j=v[g+12>>2];B:{C:{if(!v[e+24>>2]){if(!(p<A[j+8>>3])){break B}j=j+8|0;break C}if(!(p<A[j>>3])){break B}}A[j>>3]=p}r=r+1|0;f=v[e>>2];e=f&1?(f&-2)+e|0:f;if(e){continue}break}}v[h+504>>2]=k;Ca=g+16|0;y=o+B(q,224)|0;if((l|0)>=1){break u}e=o;break t}e=zf();break q}e=o;j=y;while(1){N=v[M+(F<<2)>>2];D:{if(!N){break D}r=0;if(v[N>>2]<1){break D}while(1){if(w[656428]&2){v[h+448>>2]=r;Za(516393,h+448|0);Dd(v[v[N+8>>2]+(r<<2)>>2])}S=v[v[N+8>>2]+(r<<2)>>2];v[e>>2]=S;E=0;T=0;U=Ca-16|0;Ca=U;P=Ra(e+8|0,0,216);f=1;E:{if(v[i>>2]<1){break E}while(1){if(v[S>>2]>(E|0)){m=(v[i+8>>2]+i|0)+(T<<3)|0;z=v[m>>2];g=(v[S+8>>2]+S|0)+(E<<3)|0;f=z-v[g>>2]|0;F:{if((f|0)>=1){E=E+1|0;break F}if((f|0)>-1){G:{H:{I:{if((z|0)==1){k=v[h+504>>2];if(!k){break I}p=1e99;s=1e99;f=v[g+4>>2];f=f&1?g+(f&-2)|0:f;if(f){while(1){g=v[f+16>>2];J:{if(!Od(k,g&1?((g&-2)+f|0)+8|0:g,U+12|0)){break J}g=v[U+12>>2];n=A[g>>3];s=n<s?n:s;n=A[g+8>>3];if(!(n<p)){break J}p=n}g=f;f=v[f>>2];f=f&1?g+(f&-2)|0:f;if(f){continue}break}}A[P+80>>3]=p;A[P+56>>3]=s;break G}C=0;if((z|0)>52){break H}}f=z;k=f&31;C=((f&63)>>>0>=32?147153>>>k|0:((1<<k)-1&147153)<<32-k|-60880779>>>k)&1?0:(f<<4)+516480|0}f=v[m+4>>2];k=f&1?m+(f&-2)|0:f;f=v[g+4>>2];m=f&1?g+(f&-2)|0:f;H=0;Q=0;V=0;I=Ca-32|0;Ca=I;g=1;K:{if(!C){break K}X=v[C+8>>2];Y=v[C+12>>2];G=1e99;L:{M:{if(!k){p=1e99;s=1e99;break M}p=1e99;s=1e99;if(!m){break M}if((X|0)!=(Y|0)){f=k;while(1){W=f+8|0;ca=+(B(Q,100)|0);u=0;g=m;while(1){n=+Ea[v[C+4>>2]](W,g+8|0,I+16|0);if(n<0){break L}n=n*1e3+ca+ +(u|0);H=n<G;G=H?n:G;V=H?u:V;N:{if(!H){break N}}O:{if(v[f+24>>2]==1){if(!(p>n)){break O}p=n;break O}if(!(n<s)){break O}s=n}u=u+1|0;Z=g;g=v[g>>2];g=g&1?Z+(g&-2)|0:g;if(g){continue}break}Q=Q+1|0;g=f;f=v[f>>2];f=f&1?g+(f&-2)|0:f;if(f){continue}break}break M}f=k;P:{while(1){Q=f+8|0;n=+(B(H,100)|0);u=0;g=m;while(1){s=+Ea[v[C+4>>2]](Q,g+8|0,I+16|0);if(s<0){break L}s=s*1e3+n+ +(u|0);W=s<G;V=W?u:V;G=W?s:G;if(G<1e3){break P}u=u+1|0;Z=g;g=v[g>>2];g=g&1?Z+(g&-2)|0:g;if(g){continue}break}H=H+1|0;s=1e99;g=f;f=v[f>>2];f=f&1?g+(f&-2)|0:f;if(f){continue}break}break M}s=1e99}if(w[656428]&2){f=_c(z);A[I+8>>3]=G;v[I>>2]=f;Kb(517331,I);Wl(k);Za(517340,0);Wl(m);Rb(10)}Q:{if(!P){break Q}f=(Y<<3)+P|0;n=A[f>>3];if((X|0)==(Y|0)){A[f>>3]=G+n;break Q}A[f>>3]=s+n;f=(X<<3)+P|0;A[f>>3]=p+A[f>>3]}g=1;break K}v[J>>2]=2;g=0}Ca=I+32|0;f=0;if(!g){break E}}E=E+1|0}T=T+1|0}if(v[i>>2]>(T|0)){continue}}break}f=1}Ca=U+16|0;if(!f){break s}if(w[656428]&2){Za(516402,0);A[h+432>>3]=A[e+8>>3];Kb(516408,h+432|0);A[h+416>>3]=A[e+16>>3];Kb(516408,h+416|0);A[h+400>>3]=A[e+24>>3];Kb(516408,h+400|0);A[h+384>>3]=A[e+32>>3];Kb(516408,h+384|0);A[h+368>>3]=A[e+40>>3];Kb(516408,h+368|0);A[h+352>>3]=A[e+48>>3];Kb(516408,h+352|0);A[h+336>>3]=A[e+56>>3];Kb(516408,h+336|0);A[h+320>>3]=A[e- -64>>3];Kb(516408,h+320|0);A[h+304>>3]=A[e+72>>3];Kb(516408,h+304|0);A[h+288>>3]=A[e+80>>3];Kb(516408,h+288|0);A[h+272>>3]=A[e+88>>3];Kb(516408,h+272|0);A[h+256>>3]=A[e+96>>3];Kb(516408,h+256|0);A[h+240>>3]=A[e+104>>3];Kb(516408,h+240|0);A[h+224>>3]=A[e+112>>3];Kb(516408,h+224|0);A[h+208>>3]=A[e+120>>3];Kb(516408,h+208|0);A[h+192>>3]=A[e+128>>3];Kb(516408,h+192|0);A[h+176>>3]=A[e+136>>3];Kb(516408,h+176|0);A[h+160>>3]=A[e+144>>3];Kb(516408,h+160|0);A[h+144>>3]=A[e+152>>3];Kb(516408,h+144|0);A[h+128>>3]=A[e+160>>3];Kb(516408,h+128|0);A[h+112>>3]=A[e+168>>3];Kb(516408,h+112|0);A[h+96>>3]=A[e+176>>3];Kb(516408,h+96|0);A[h+80>>3]=A[e+184>>3];Kb(516408,h+80|0);A[h+64>>3]=A[e+192>>3];Kb(516408,h- -64|0);A[h+48>>3]=A[e+200>>3];Kb(516408,h+48|0);A[h+32>>3]=A[e+208>>3];Kb(516408,h+32|0);A[h+16>>3]=A[e+216>>3];Kb(516408,h+16|0);Rb(10)}v[j>>2]=e;j=j+4|0;e=e+224|0;r=r+1|0;if((r|0)<v[N>>2]){continue}break}}F=F+1|0;if((F|0)!=(l|0)){continue}break}}Bl(v[h+504>>2]);e=e-o|0;z=(e|0)/224|0;Uc(y,z,4,1013);R:{if(!D){f=0;if((e|0)<=0){break R}f=1;j=(z|0)>1?z:1;g=j&3;e=0;if(j-1>>>0>=3){q=j&2147483644;while(1){j=e<<2;k=v[j+y>>2];v[k+80>>2]=0;v[k+84>>2]=1086556160;k=v[(j|4)+y>>2];v[k+80>>2]=0;v[k+84>>2]=1086556160;k=v[(j|8)+y>>2];v[k+80>>2]=0;v[k+84>>2]=1086556160;j=v[(j|12)+y>>2];v[j+80>>2]=0;v[j+84>>2]=1086556160;e=e+4|0;q=q-4|0;if(q){continue}break}}if(!g){break R}while(1){j=v[(e<<2)+y>>2];v[j+80>>2]=0;v[j+84>>2]=1086556160;e=e+1|0;g=g-1|0;if(g){continue}break}break R}f=0;Ra(o+aa|0,0,$);if((e|0)<1){break R}m=(q<<2)+y|0;f=(e|0)>0;l=(z|0)>1?z:1;j=0;while(1){e=0;S:{T:{k=(j<<2)+y|0;g=v[k>>2];if(A[g+80>>3]<2e3){while(1){g=m+(e<<2)|0;U:{if(v[g>>2]){break U}if(hm(i,e,h+512|0)){break U}if(hm(v[v[k>>2]>>2],0,h+488|0)){break U}p=Cs(h+512|0,h+488|0,h+472|0);if(!(p>=0)){break U}if(p<2){break T}}e=e+1|0;if((D|0)!=(e|0)){continue}break}g=v[k>>2]}e=g;v[e+80>>2]=0;v[e+84>>2]=1086556160;break S}V:{if(!(w[656428]&2)){break V}if(Ed(v[v[k>>2]>>2],516412,0,h+468|0)){break V}if(Ed(v[v[k>>2]>>2],516419,0,h+464|0)){break V}v[h>>2]=v[h+468>>2];v[h+4>>2]=v[h+464>>2];v[h+8>>2]=e;Za(516425,h)}v[g>>2]=1}j=j+1|0;if((l|0)!=(j|0)){continue}break}}Uc(y,z,4,1013);e=zf();if(!e){break s}W:{k=lm();if(!k){break W}X:{Y:{Z:{_:{$:{aa:{ba:{if(f){q=0;while(1){D=v[y>>2];v[h+488>>2]=0;ca:{if(em(v[D>>2],517343,h+472|0)){break ca}g=h+488|0;f=0;F=0;m=v[h+472>>2];da:{ea:{if(!k|!m){break ea}if(v[k>>2]==-1){if(!g){break ea}v[g>>2]=0;g=0;break da}if(g){f=g;g=km(m,k);v[f>>2]=!g;f=1;if(g){break ea}}f=1;E=v[m+4>>2];if((E|0)<1){break ea}f=0;while(1){j=v[k+4>>2];g=(j|0)>(f|0)?x[(k+v[k+12>>2]|0)+(f<<1)>>1]:65535;l=x[(m+v[m+12>>2]|0)+(F<<1)>>1];fa:{if(g>>>0<l>>>0){C=k+v[k+12>>2]|0;if(!C){f=0;break fa}g=j-1|0;u=f+1|0;ga:{if((j|0)>(u|0)){while(1){r=g+u|0;f=r>>1;r=x[C+(r&-2)>>1];if((r|0)==(l|0)){break ga}r=l>>>0>r>>>0;u=r?f+1|0:u;g=r?g:f-1|0;if((u|0)<=(g|0)){continue}break}}if(!(l>>>0<=x[C+(g<<1)>>1]|(g|0)>=(j|0)?(g|0)>=0:0)){g=g+1|0}f=g^-1}if((f|0)>-1){break fa}f=f^-1;break fa}j=m+v[m+8>>2]|0;j=v[j+(F<<2)>>2]+j|0;ha:{if(g>>>0>l>>>0){l=Gg(k,l<<8);g=0;if(!l){break da}g=v[j+4>>2];v[l>>2]=v[j>>2];v[l+4>>2]=g;g=v[j+28>>2];v[l+24>>2]=v[j+24>>2];v[l+28>>2]=g;g=v[j+20>>2];v[l+16>>2]=v[j+16>>2];v[l+20>>2]=g;g=v[j+12>>2];v[l+8>>2]=v[j+8>>2];v[l+12>>2]=g;break ha}g=k+v[k+8>>2]|0;g=v[g+(f<<2)>>2]+g|0;v[g>>2]=v[j>>2]|v[g>>2];v[g+4>>2]=v[j+4>>2]|v[g+4>>2];v[g+8>>2]=v[j+8>>2]|v[g+8>>2];v[g+12>>2]=v[j+12>>2]|v[g+12>>2];v[g+16>>2]=v[j+16>>2]|v[g+16>>2];v[g+20>>2]=v[j+20>>2]|v[g+20>>2];v[g+24>>2]=v[j+24>>2]|v[g+24>>2];v[g+28>>2]=v[j+28>>2]|v[g+28>>2]}F=F+1|0;f=f+1|0;E=v[m+4>>2]}if((E|0)>(F|0)){continue}break}f=1}g=f}if(!g){break ba}if(v[h+488>>2]?0:q){break ca}f=v[D>>2];ia:{if(v[f+12>>2]!=-1){v[f+12>>2]=v[f+12>>2]+1;break ia}g=f+v[f+8>>2]|0;f=v[g+4>>2];gu(f&1?(f&-2)+g|0:f)}if(w[656428]&2){Za(517351,0);Dd(v[D>>2])}if(!gj(e,v[D>>2])){break $}}y=y+4|0;q=q+1|0;if((z|0)!=(q|0)){continue}break}}if(_){break aa}j=1;break _}j=0;break Z}v[_>>2]=k;break X}Ce(v[D>>2]);j=0}if(!k){break Y}}jd(k)}if(!j){break W}}Pa(o);if(t[656428]&1){Za(516457,0);Dd(v[v[e+8>>2]>>2])}if(v[e>>2]<1){break q}v[J>>2]=0;break q}le(e)}Pa(o)}e=0}Ca=h+528|0;ac(R);f=e}else{f=0}Ca=K+16|0;break o}O(516343,516320,1324,516469);L()}O(516353,516320,1325,516469);L()}v[ba+4>>2]=f;if(v[b+12>>2]){da=a,ea=zf(),v[da+4>>2]=ea}Ce(i);e=v[a+4>>2];if(!e){break a}}c=0;if(!v[e>>2]){break a}if(!d){v[b+12>>2]=0;if(Ed(v[v[e+8>>2]>>2],517509,0,b+12|0)){break a}c=ib(v[b+12>>2]);break a}if(!ej(v[a+8>>2],d)){break a}e=v[a+4>>2];if(v[e>>2]<1){break a}while(1){ja:{f=v[v[e+8>>2]+(c<<2)>>2];if(em(f,517501,b+12|0)){break ja}if(!ej(v[b+12>>2],d)){break ja}c=0;v[b+8>>2]=0;if(Ed(f,517509,0,b+8|0)){break a}c=ib(v[b+8>>2]);break a}c=c+1|0;e=v[a+4>>2];if((c|0)<v[e>>2]){continue}break}c=0}Ca=b+16|0;return c|0}function Kn(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=Ca-32|0;Ca=l;a:{if(!b){n=1;if(!v[e>>2]|(!e|!f)){break a}v[e>>2]=0;break a}h=b;j=w[h+1|0];g=w[h|0];b:{if((g|0)==120){m=h;i=0;if((j|0)==45){break b}}i=h+1|0;m=0;c:{if(!j){break c}n=h;while(1){b=i;d:{if((g&255)!=45|w[n+2|0]!=45){break d}k=k?k:n;if((j|0)!=120){break d}m=b;break c}i=b+1|0;j=w[b+1|0];if(!j){break c}g=w[b|0];n=b;continue}}i=k?k:i}n=Jn(m,c,d,230232,462)^1;if(Jn(m,e,f,230238,463)|!e|(!f|!v[e>>2])){break a}v[l+24>>2]=h;g=h;e:{f:{g:{while(1){b=rb(g,241424);if(!b|b>>>0>=i>>>0){break g}g=b+8|0;b=w[b+8|0];if(((b&223)-65&255)>>>0<26|(b-48&255)>>>0<10){continue}break}v[f>>2]=1095782472;break f}g=h;h:{while(1){b=rb(g,241433);if(!b|b>>>0>=i>>>0){break h}g=b+8|0;b=w[b+8|0];if(((b&223)-65&255)>>>0<26|(b-48&255)>>>0<10){continue}break}v[f>>2]=1346851360;break f}g=h;i:{while(1){b=rb(g,241442);if(!b|b>>>0>=i>>>0){break i}g=b+8|0;b=w[b+8|0];if(((b&223)-65&255)>>>0<26|(b-48&255)>>>0<10){continue}break}v[f>>2]=1213809952;break f}g=h;j:{while(1){b=rb(g,241451);if(!b|b>>>0>=i>>>0){break j}g=b+8|0;b=w[b+8|0];if(((b&223)-65&255)>>>0<26|(b-48&255)>>>0<10){continue}break}v[f>>2]=1347571488;break f}g=h;k:{while(1){b=rb(g,241460);if(!b|b>>>0>=i>>>0){break k}g=b+7|0;b=w[b+7|0];if(((b&223)-65&255)>>>0<26|(b-48&255)>>>0<10){continue}break}v[f>>2]=1230000200;break f}g=h;l:{while(1){b=rb(g,241468);if(!b|b>>>0>=i>>>0){break l}g=b+5|0;b=w[b+5|0];if(((b&223)-65&255)>>>0<26|(b-48&255)>>>0<10){continue}break}v[f>>2]=1262961952;break f}if(tb(h,i,241474)){v[f>>2]=1398362693;break f}if(tb(h,i,241480)){v[f>>2]=1398362698;break f}if(tb(h,i,241486)){v[f>>2]=1398362702;break f}m:{n:{switch(t[h|0]-97|0){case 0:b=1;if(Wa(h+1|0,241492)){break m}v[f>>2]=1245859616;break e;case 2:b=1;g=h+1|0;if(nb(g,241502)){v[f>>2]=1514686496;break e}if(nb(g,241513)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(nb(g,241524)){v[f>>2]=1514686496;break e}if(nb(g,241535)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(nb(g,241546)){v[f>>2]=1514686496;break e}if(nb(g,241557)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(nb(g,241568)){v[f>>2]=1514686496;break e}if(nb(g,241579)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(nb(g,241590)){v[f>>2]=1514686496;break e}if(nb(g,241601)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(nb(g,241612)){v[f>>2]=1514686496;break e}if(nb(g,241623)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(nb(g,241634)){v[f>>2]=1514686496;break e}if(nb(g,241645)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(nb(g,241656)){v[f>>2]=1514686496;break e}if(nb(g,241667)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(nb(g,241678)){v[f>>2]=1514689312;break e}if(nb(g,241686)){v[f>>2]=1514689568;break e}if(nb(g,241694)){v[f>>2]=1514689312;break e}if(nb(g,241702)){v[f>>2]=1514689568;break e}if(nb(g,241710)){v[f>>2]=1514689312;break e}if(nb(g,241718)){v[f>>2]=1514689568;break e}if(nb(g,241726)){v[f>>2]=1514689312;break e}if(nb(g,241734)){v[f>>2]=1514689568;break e}if(nb(g,241742)){v[f>>2]=1514689312;break e}if(nb(g,241750)){v[f>>2]=1514689568;break e}if(nb(g,241758)){v[f>>2]=1514689312;break e}if(nb(g,241766)){v[f>>2]=1514689568;break e}if(nb(g,241774)){v[f>>2]=1514689312;break e}if(nb(g,241782)){v[f>>2]=1514689568;break e}if(nb(g,241790)){v[f>>2]=1514689312;break e}if(nb(g,241798)){v[f>>2]=1514689568;break e}o:{if($a(g,241806,3)){break o}if(tb(h,i,241810)){v[f>>2]=1514686496;break e}if(tb(h,i,241814)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(!tb(h,i,241818)){break o}v[f>>2]=1514689568;break e}p:{if($a(g,241822,3)){break p}if(tb(h,i,241810)){v[f>>2]=1514686496;break e}if(tb(h,i,241814)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(!tb(h,i,241818)){break p}v[f>>2]=1514689568;break e}q:{if($a(g,241826,3)){break q}if(tb(h,i,241810)){v[f>>2]=1514686496;break e}if(tb(h,i,241814)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(!tb(h,i,241818)){break q}v[f>>2]=1514689568;break e}r:{if($a(g,241830,3)){break r}if(tb(h,i,241810)){v[f>>2]=1514686496;break e}if(tb(h,i,241814)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(!tb(h,i,241818)){break r}v[f>>2]=1514689568;break e}s:{if($a(g,241834,3)){break s}if(tb(h,i,241810)){v[f>>2]=1514686496;break e}if(tb(h,i,241814)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(!tb(h,i,241818)){break s}v[f>>2]=1514689568;break e}t:{if($a(g,241838,3)){break t}if(tb(h,i,241810)){v[f>>2]=1514686496;break e}if(tb(h,i,241814)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(!tb(h,i,241818)){break t}v[f>>2]=1514689568;break e}u:{if($a(g,241842,3)){break u}if(tb(h,i,241810)){v[f>>2]=1514686496;break e}if(tb(h,i,241814)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(!tb(h,i,241818)){break u}v[f>>2]=1514689568;break e}if($a(g,241846,3)){break m}if(tb(h,i,241810)){v[f>>2]=1514686496;break e}if(tb(h,i,241814)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(!tb(h,i,241818)){break m}v[f>>2]=1514689568;break e;case 6:b=1;g=h+1|0;if(nb(g,241850)){v[f>>2]=1514686496;break e}if(nb(g,241861)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(nb(g,241872)){v[f>>2]=1514689312;break e}if(nb(g,241880)){v[f>>2]=1514689568;break e}if(nb(g,241888)){v[f>>2]=1230132256;break e}if($a(g,241895,3)){break m}if(tb(h,i,241810)){v[f>>2]=1514686496;break e}if(tb(h,i,241814)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(!tb(h,i,241818)){break m}v[f>>2]=1514689568;break e;case 7:b=1;g=h+1|0;if(nb(g,241899)){v[f>>2]=1514686496;break e}if(nb(g,241910)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(nb(g,241921)){v[f>>2]=1514686496;break e}if(nb(g,241932)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(nb(g,241943)){v[f>>2]=1514689312;break e}if(nb(g,241951)){v[f>>2]=1514689568;break e}if(nb(g,241959)){v[f>>2]=1514689312;break e}if(nb(g,241967)){v[f>>2]=1514689568;break e}v:{if($a(g,241975,3)){break v}if(tb(h,i,241810)){v[f>>2]=1514686496;break e}if(tb(h,i,241814)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(!tb(h,i,241818)){break v}v[f>>2]=1514689568;break e}if($a(g,241979,3)){break m}if(tb(h,i,241810)){v[f>>2]=1514686496;break e}if(tb(h,i,241814)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(!tb(h,i,241818)){break m}v[f>>2]=1514689568;break e;case 8:b=1;g=h+1|0;if(!Wa(g,241983)){v[f>>2]=1312904736;if(y[e>>2]<=1){break e}v[f+4>>2]=1096042528;b=2;break e}if(!Wa(g,241991)){v[f>>2]=1514689312;break e}if(Wa(g,241996)){break m}v[f>>2]=1280596512;break e;case 11:b=1;if(!nb(h+1|0,241774)){break m}v[f>>2]=1514689312;break e;case 12:b=1;g=h+1|0;if(nb(g,241568)){v[f>>2]=1514686496;break e}if(nb(g,241579)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(nb(g,241726)){v[f>>2]=1514689312;break e}if(nb(g,241734)){v[f>>2]=1514689568;break e}if($a(g,241830,3)){break m}if(tb(h,i,241810)){v[f>>2]=1514686496;break e}if(tb(h,i,241814)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(!tb(h,i,241818)){break m}v[f>>2]=1514689568;break e;case 13:b=1;g=h+1|0;if(nb(g,241850)){v[f>>2]=1514686496;break e}if(nb(g,241861)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(nb(g,241872)){v[f>>2]=1514689312;break e}if(nb(g,241880)){v[f>>2]=1514689568;break e}w:{if($a(g,241895,3)){break w}if(tb(h,i,241810)){v[f>>2]=1514686496;break e}if(tb(h,i,241814)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(!tb(h,i,241818)){break w}v[f>>2]=1514689568;break e}if(!Wa(g,242001)){v[f>>2]=1313821216;break e}if(Wa(g,242007)){break m}v[f>>2]=1314475552;if(y[e>>2]<=1){break e}v[f+4>>2]=1313821216;b=2;break e;case 17:if($a(h+1|0,242013,2)){break m}if(!tb(h,i,242016)){break m}v[f>>2]=1297042464;b=1;break e;case 22:b=1;g=h+1|0;if(nb(g,242020)){v[f>>2]=1514686496;break e}if(nb(g,242031)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(nb(g,242042)){v[f>>2]=1514689312;break e}if(nb(g,242050)){v[f>>2]=1514689568;break e}if($a(g,242058,3)){break m}if(tb(h,i,241810)){v[f>>2]=1514686496;break e}if(tb(h,i,241814)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(!tb(h,i,241818)){break m}v[f>>2]=1514689568;break e;case 24:b=1;if(!nb(h+1|0,242062)){break m}v[f>>2]=1514689312;break e;case 25:break n;default:break m}}b=1;g=h+1|0;if(nb(g,242070)){v[f>>2]=1514686496;break e}if(nb(g,242080)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(!Wa(g,242090)){v[f>>2]=1514689312;break e}if(nb(g,242100)){v[f>>2]=1514689312;break e}if(nb(g,242107)){v[f>>2]=1514689568;break e}if(!Wa(g,242114)){v[f>>2]=1514689312;break e}if($a(g,242120,2)){break m}if(tb(h,i,241810)){v[f>>2]=1514686496;break e}if(tb(h,i,241814)){v[f>>2]=1514689613;if(y[e>>2]<=1){break e}v[f+4>>2]=1514686496;b=2;break e}if(!tb(h,i,241818)){break m}v[f>>2]=1514689568;break e}g=Tb(h,45);x:{if(!g|(i-h|0)<6){break x}b=g+1|0;h=Tb(b,45);y:{if(h){h=h+(g^-1)|0;break y}h=Xa(b)}if((h|0)!=3|((w[b|0]&223)-65&255)>>>0>25){break x}v[l+24>>2]=b}v[l+12>>2]=1396;v[l+16>>2]=0;v[l+8>>2]=230256;b=v[l+12>>2];z:{if((b|0)<1){v[l+28>>2]=0;b=0;break z}h=b-1|0;p=v[l+8>>2];i=v[l+24>>2];b=Tb(i,45);if(b){o=b-i|0;b=0;while(1){m=b+h>>>1|0;j=p+(m<<3)|0;k=Tb(j,45);A:{if(k){k=k-j|0;break A}k=Xa(j)}j=$a(i,j,k>>>0>o>>>0?k:o);B:{if((j|0)<=-1){h=m-1|0;break B}if(!j){v[l+28>>2]=m;b=1;break z}b=m+1|0}if((b|0)<=(h|0)){continue}break}v[l+28>>2]=b;b=0;break z}o=Xa(i);b=0;while(1){m=b+h>>>1|0;j=p+(m<<3)|0;k=Tb(j,45);C:{if(k){k=k-j|0;break C}k=Xa(j)}j=$a(i,j,k>>>0>o>>>0?k:o);D:{if((j|0)>=0){if(!j){v[l+28>>2]=m;b=1;break z}b=m+1|0;break D}h=m-1|0}if((b|0)<=(h|0)){continue}break}v[l+28>>2]=b;b=0}if(b){b=v[l+28>>2];while(1){h=b;if(h){b=h-1|0;if(!Wa((h<<3)+230256|0,(b<<3)+230256|0)){continue}}break}b=0;if(!v[e>>2]|h>>>0>1395){break e}i=(h<<3)+230256|0;g=h;while(1){g=g<<3;m=v[g+230260>>2];if(!m){break e}if(Wa(g+230256|0,i)){break e}v[(b<<2)+f>>2]=m;b=b+1|0;if(b>>>0>=y[e>>2]){break e}g=b+h|0;if(g>>>0<1396){continue}break}break e}i=v[l+24>>2];b=0;if(!g){g=Xa(i)+i|0}if((g-i|0)!=3){break e}h=Ca-16|0;Ca=h;E:{if(!i){break E}g=w[i|0];if(!g){break E}while(1){F:{t[(h+12|0)+b|0]=g;b=b+1|0;if((b|0)==3){b=3;break F}g=w[b+i|0];if(g){continue}}break}if(b>>>0<=3){Ra((h+12|0)+b|0,32,4-b|0)}b=w[h+12|0]|w[h+13|0]<<8|(w[h+14|0]<<16|w[h+15|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}Ca=h+16|0;v[f>>2]=b&-538976257}b=1}v[e>>2]=b}if(!(!n|!c|(!d|!v[c>>2]))){b=0;e=d;G:{H:{I:{J:{K:{L:{M:{N:{O:{if((a|0)<=1298954604){if((a|0)<=1198877297){i=1651402546;if((a|0)==1113943655){break J}if((a|0)!=1147500129){break H}i=1684370994;break J}if((a|0)==1198877298){break O}if((a|0)==1198879349){break N}if((a|0)!=1265525857){break H}i=1802396722;break J}if((a|0)<=1332902240){if((a|0)==1298954605){break M}if((a|0)!=1299803506){break H}i=1836674354;g=d;b=1;break I}if((a|0)==1332902241){break L}if((a|0)==1415671148){break K}if((a|0)!=1415933045){break H}i=1952803890;break J}i=1735029298;break J}i=1735750194;break J}i=1835822386;break J}i=1869773106;break J}i=1953328178}v[e>>2]=i|51;b=1;if(y[c>>2]<2){break G}g=d+4|0;b=2}v[g>>2]=i;if(y[c>>2]<=b>>>0){break G}}d=(b<<2)+d|0;P:{Q:{R:{S:{if((a|0)<=1315663726){if(!a){break G}if((a|0)!=1214870113){break S}a=1801547361;break P}T:{if((a|0)!=1315663727){if((a|0)==1449224553){break T}if((a|0)!=1500080489){break R}a=2036932640;break P}a=1852534560;break P}a=1986095392;break P}if((a|0)==1281453935){break Q}}a=a|536870912;break P}a=1818324768}v[d>>2]=a;b=b+1|0}v[c>>2]=b}Ca=l+32|0}function Bc(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0,z=0,B=0,C=0,E=0,F=0;f=Ca-880|0;Ca=f;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{h=x[e>>1];switch(h|0){case 19:break j;case 10:break k;case 9:break l;case 5:break m;case 4:break n;case 7:break o;case 6:break p;case 3:break q;case 2:break r;case 1:break s;case 0:break t;case 40:break c;case 39:break d;case 38:break e;case 37:break f;case 35:break g;case 20:case 21:case 31:case 32:case 33:case 34:break h;case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:break i;default:break b}}v[a>>2]=1;v[a+8>>2]=v[e+8>>2];break a}v[a>>2]=2;A[a+8>>3]=A[e+8>>3];break a}v[a>>2]=3;v[a+8>>2]=v[e+8>>2];b=v[a+12>>2];v[f+16>>2]=v[a+8>>2];v[f+20>>2]=b;b=v[a+4>>2];v[f+8>>2]=v[a>>2];v[f+12>>2]=b;eg(f+584|0,f+8|0);b=v[f+596>>2];v[a+8>>2]=v[f+592>>2];v[a+12>>2]=b;b=v[f+588>>2];v[a>>2]=v[f+584>>2];v[a+4>>2]=b;break a}v[a>>2]=5;Bc(f+312|0,b,c,d,v[v[e+8>>2]>>2]);k=v[a>>2];g=A[f+320>>3];A[f+584>>3]=g;u:{v:{w:{h=v[f+312>>2];switch(h|0){case 0:break v;case 1:break w;default:break u}}o(+g);j(1)|0;g=+(j(0)|0);h=2;break u}h=0;if((k|0)!=5){break u}v[f+584>>2]=448128;h=5;g=A[f+584>>3]}Bc(f+296|0,b,c,d,v[v[e+8>>2]+4>>2]);l=v[a>>2];i=A[f+304>>3];A[f+584>>3]=i;x:{y:{z:{k=v[f+296>>2];switch(k|0){case 0:break y;case 1:break z;default:break x}}o(+i);j(1)|0;i=+(j(0)|0);k=2;break x}k=0;if((l|0)!=5){break x}v[f+584>>2]=448128;i=A[f+584>>3];k=5}Bc(f+280|0,b,c,d,v[v[e+8>>2]+8>>2]);p=v[a>>2];m=A[f+288>>3];A[f+584>>3]=m;A:{B:{C:{l=v[f+280>>2];switch(l|0){case 0:break B;case 1:break C;default:break A}}o(+m);j(1)|0;m=+(j(0)|0);l=2;break A}l=0;if((p|0)!=5){break A}v[f+584>>2]=448128;m=A[f+584>>3];l=5}Bc(f+264|0,b,c,d,v[v[e+8>>2]+12>>2]);c=v[a>>2];n=A[f+272>>3];A[f+584>>3]=n;D:{E:{F:{G:{b=v[f+264>>2];switch(b|0){case 0:break E;case 1:break F;default:break G}}b=(b|0)==2;break D}o(+n);j(1)|0;n=+(j(0)|0);b=1;break D}b=0;if((c|0)!=5){break D}v[f+584>>2]=448128;n=A[f+584>>3];b=0}H:{if(!((h|0)!=2|(k|0)!=2|(!b|(l|0)!=2))){A[f+608>>3]=n;A[f+600>>3]=m;A[f+592>>3]=i;A[f+584>>3]=g;v[a+8>>2]=f+584;break H}v[a>>2]=0}b=v[a+12>>2];v[f+32>>2]=v[a+8>>2];v[f+36>>2]=b;b=v[a+4>>2];v[f+24>>2]=v[a>>2];v[f+28>>2]=b;eg(f+328|0,f+24|0);b=v[f+340>>2];v[a+8>>2]=v[f+336>>2];v[a+12>>2]=b;b=v[f+332>>2];v[a>>2]=v[f+328>>2];v[a+4>>2]=b;break a}v[a>>2]=6;v[a+8>>2]=v[e+8>>2];b=v[a+12>>2];v[f+48>>2]=v[a+8>>2];v[f+52>>2]=b;b=v[a+4>>2];v[f+40>>2]=v[a>>2];v[f+44>>2]=b;eg(f+584|0,f+40|0);b=v[f+596>>2];v[a+8>>2]=v[f+592>>2];v[a+12>>2]=b;b=v[f+588>>2];v[a>>2]=v[f+584>>2];v[a+4>>2]=b;break a}v[a>>2]=8;v[a+8>>2]=v[e+8>>2];c=v[a+12>>2];b=f- -64|0;v[b>>2]=v[a+8>>2];v[b+4>>2]=c;b=v[a+4>>2];v[f+56>>2]=v[a>>2];v[f+60>>2]=b;eg(f+584|0,f+56|0);b=v[f+596>>2];v[a+8>>2]=v[f+592>>2];v[a+12>>2]=b;b=v[f+588>>2];v[a>>2]=v[f+584>>2];v[a+4>>2]=b;break a}v[a>>2]=9;v[a+8>>2]=v[e+8>>2];b=v[a+12>>2];v[f+80>>2]=v[a+8>>2];v[f+84>>2]=b;b=v[a+4>>2];v[f+72>>2]=v[a>>2];v[f+76>>2]=b;eg(f+584|0,f+72|0);b=v[f+596>>2];v[a+8>>2]=v[f+592>>2];v[a+12>>2]=b;b=v[f+588>>2];v[a>>2]=v[f+584>>2];v[a+4>>2]=b;break a}v[a>>2]=4;v[a+8>>2]=v[e+8>>2];break a}I:{J:{K:{L:{switch(d|0){case 1:if(v[e+12>>2]){break K}if(sh(c,v[e+8>>2],a)){break J}break I;case 0:break L;default:break K}}if(v[e+12>>2]!=1){break K}Lc(516001,80,1,v[130915]);break J}if(!sh(b,v[e+8>>2],a)){break I}}v[a>>2]=0}b=v[a+12>>2];v[f+96>>2]=v[a+8>>2];v[f+100>>2]=b;b=v[a+4>>2];v[f+88>>2]=v[a>>2];v[f+92>>2]=b;eg(f+584|0,f+88|0);b=v[f+596>>2];v[a+8>>2]=v[f+592>>2];v[a+12>>2]=b;b=v[f+588>>2];v[a>>2]=v[f+584>>2];v[a+4>>2]=b;break a}if(ku(v[e+8>>2],a+8|0)){v[a>>2]=1;break a}v[a>>2]=0;break a}Bc(f+584|0,b,c,d,v[e+8>>2]);h=v[f+596>>2];v[f+864>>2]=v[f+592>>2];v[f+868>>2]=h;h=v[f+588>>2];k=v[f+584>>2];v[f+856>>2]=k;v[f+860>>2]=h;M:{if((k|0)==4){if(v[f+864>>2]){Bc(f+584|0,b,c,d,v[v[e+12>>2]+8>>2]);b=v[f+596>>2];v[a+8>>2]=v[f+592>>2];v[a+12>>2]=b;b=v[f+588>>2];v[a>>2]=v[f+584>>2];v[a+4>>2]=b;break M}Bc(f+584|0,b,c,d,v[v[e+12>>2]+12>>2]);b=v[f+596>>2];v[a+8>>2]=v[f+592>>2];v[a+12>>2]=b;b=v[f+588>>2];v[a>>2]=v[f+584>>2];v[a+4>>2]=b;break M}v[a>>2]=0}a=v[f+868>>2];v[f+112>>2]=v[f+864>>2];v[f+116>>2]=a;a=v[f+860>>2];v[f+104>>2]=v[f+856>>2];v[f+108>>2]=a;Fd(f+104|0);break a}Bc(f+584|0,b,c,d,v[e+8>>2]);h=v[f+596>>2];v[f+864>>2]=v[f+592>>2];v[f+868>>2]=h;h=v[f+588>>2];v[f+856>>2]=v[f+584>>2];v[f+860>>2]=h;Bc(f+584|0,b,c,d,v[e+12>>2]);b=v[f+596>>2];v[f+848>>2]=v[f+592>>2];v[f+852>>2]=b;b=v[f+588>>2];v[f+840>>2]=v[f+584>>2];v[f+844>>2]=b;v[a>>2]=4;E=a,F=ul(f+856|0,v[e>>2],f+840|0),v[E+8>>2]=F;a=v[f+868>>2];v[f+144>>2]=v[f+864>>2];v[f+148>>2]=a;a=v[f+860>>2];v[f+136>>2]=v[f+856>>2];v[f+140>>2]=a;Fd(f+136|0);a=v[f+852>>2];v[f+128>>2]=v[f+848>>2];v[f+132>>2]=a;a=v[f+844>>2];v[f+120>>2]=v[f+840>>2];v[f+124>>2]=a;Fd(f+120|0);break a}Bc(f+584|0,b,c,d,v[e+8>>2]);k=v[f+596>>2];v[f+864>>2]=v[f+592>>2];v[f+868>>2]=k;k=v[f+588>>2];v[f+856>>2]=v[f+584>>2];v[f+860>>2]=k;Bc(f+584|0,b,c,d,v[e+12>>2]);b=v[f+596>>2];v[f+848>>2]=v[f+592>>2];v[f+852>>2]=b;c=v[f+588>>2];b=v[f+584>>2];v[f+840>>2]=b;v[f+844>>2]=c;g=A[f+864>>3];A[f+328>>3]=g;o(+g);j(1)|0;c=j(0)|0;N:{O:{P:{Q:{R:{S:{e=v[f+856>>2];switch(e|0){case 3:break P;case 0:break Q;case 2:break R;case 1:break S;default:break N}}g=+(c|0);A[f+328>>3]=g}e=2;if((b|0)!=9){break N}b=f+584|0;A[b+8>>3]=g;A[f+584>>3]=g;v[f+328>>2]=b;e=9;break N}e=0;T:{switch(b-5|0){case 0:v[f+328>>2]=448128;e=5;break N;case 3:E=f,F=xf(0,f+584|0),v[E+328>>2]=F;break O;case 1:break T;default:break N}}b=f+584|0;v[b+8>>2]=0;v[b+12>>2]=0;v[f+584>>2]=-1;v[f+588>>2]=0;v[f+328>>2]=b;e=6;break N}e=3;if((b|0)!=8){break N}E=f,F=xf(c,f+584|0),v[E+328>>2]=F}e=8}i=A[f+328>>3];g=A[f+848>>3];A[f+872>>3]=g;o(+g);j(1)|0;b=j(0)|0;U:{V:{W:{X:{Y:{Z:{c=v[f+840>>2];switch(c|0){case 3:break V;case 0:break W;case 2:break X;case 1:break Y;default:break Z}}d=(c|0)==(e|0);break U}g=+(b|0);A[f+872>>3]=g}d=(e|0)==9;if(!d){d=(e|0)==2;break U}b=f+328|0;A[b+8>>3]=g;A[f+328>>3]=g;v[f+872>>2]=b;break U}_:{switch(e-5|0){default:d=!e;break U;case 0:v[f+872>>2]=448128;d=(e|0)==5;break U;case 3:E=f,F=xf(0,f+328|0),v[E+872>>2]=F;d=(e|0)==8;break U;case 1:break _}}b=f+328|0;v[b+8>>2]=0;v[b+12>>2]=0;v[f+328>>2]=-1;v[f+332>>2]=0;v[f+872>>2]=b;d=(e|0)==6;break U}d=(e|0)==8;if(!d){d=(e|0)==3;break U}E=f,F=xf(b,f+328|0),v[E+872>>2]=F}$:{if(d){o(+i);j(1)|0;c=j(0)|0;g=A[f+872>>3];o(+g);j(1)|0;d=j(0)|0;aa:{switch(e-2|0){case 0:b=a;ba:{ca:{switch(h-31|0){case 1:v[a>>2]=2;g=i-g;break ba;case 2:v[a>>2]=2;g=i*g;break ba;case 3:v[a>>2]=2;g=i/g;break ba;default:v[a>>2]=0;break $;case 0:break ca}}v[a>>2]=2;g=i+g}A[b+8>>3]=g;if(D(g)<2147483648){b=~~g}else{b=-2147483648}if(+(b|0)!=g){break $}v[a+8>>2]=b;v[a>>2]=1;break $;case 2:da:{switch(h-20|0){case 0:v[a>>2]=4;v[a+8>>2]=(c|d)!=0;break $;case 1:v[a>>2]=4;v[a+8>>2]=(c|0)!=0&(d|0)!=0;break $;default:break da}}v[a>>2]=0;break $;case 1:if((h|0)==31){v[a>>2]=3;b=a;h=Xa(c);k=Xa(d)+1|0;e=Va(h+k|0);if(e){Ta(Ta(e,c,h)+h|0,d,k)}E=b,F=ib(e),v[E+8>>2]=F;Pa(e);if(v[a+8>>2]){break $}v[a>>2]=0;break $}v[a>>2]=0;break $;case 3:if((h|0)==33){v[a>>2]=5;b=Va(32);if(b){g=A[c>>3];i=A[c+8>>3];m=A[d>>3];n=A[d+16>>3];r=A[d+8>>3];s=A[c+16>>3];t=A[d+24>>3];u=A[c+24>>3];A[b+24>>3]=r*s+t*u;A[b+16>>3]=m*s+n*u;A[b+8>>3]=g*r+i*t;A[b>>3]=g*m+i*n;v[a+8>>2]=b;break $}v[a>>2]=0;break $}v[a>>2]=0;break $;case 4:ea:{switch(h-31|0){case 0:v[a>>2]=6;b=$t(c,d,857,1);v[a+8>>2]=b;if(b){break $}v[a>>2]=0;break $;case 1:v[a>>2]=6;b=_t(c,d);v[a+8>>2]=b;if(b){break $}v[a>>2]=0;break $;default:break ea}}v[a>>2]=0;break $;case 6:fa:{switch(h-31|0){case 0:v[a>>2]=8;b=cg(c);d=It(d);c=Oc(d);bc(d);d=Wb(c);if(d){while(1){e=Ve(d);ga:{if((e|0)>=0){d=w[e+495048|0];e=d>>>5|0;if(e>>>0>=y[b+4>>2]){break ga}e=b+(e<<2)|0;v[e+8>>2]=v[e+8>>2]|1<<d;break ga}e=v[b>>2];if(!e){e=gd();v[b>>2]=e;if(!e){break ga}}hd(e,d)}d=Wb(c);if(d){continue}break}}qc(c);v[a+8>>2]=b;if(b){break $}v[a>>2]=0;break $;case 1:v[a>>2]=8;k=cg(c);b=It(d);l=Oc(b);bc(b);b=Wb(l);if(b){while(1){c=Ve(b);ha:{if((c|0)>=0){b=w[c+495048|0];c=b>>>5|0;if(c>>>0>=y[k+4>>2]){break ha}c=k+(c<<2)|0;d=v[c+8>>2];E=c,F=jQ(-2,b)&d,v[E+8>>2]=F;break ha}e=v[k>>2];if(!e){break ha}h=0;z=v[e+4>>2];if((z|0)>=1){ia:{C=v[e+12>>2];while(1){c=b;d=v[(h<<2)+C>>2];p=d;ja:{ka:{if((b|0)==(d|0)){d=b;break ka}while(1){la:{B=w[c|0];q=w[p|0];if(!q){break la}p=p+1|0;c=c+1|0;if((B|0)==(q|0)){continue}}break}if((B|0)!=(q|0)){break ja}}Pa(d);b=v[e+12>>2]+(h<<2)|0;mb(b,b+4|0,v[e+4>>2]-h<<2);v[e+4>>2]=v[e+4>>2]-1;break ia}h=h+1|0;if((z|0)!=(h|0)){continue}break}}}}b=Wb(l);if(b){continue}break}}qc(l);v[a+8>>2]=k;if(k){break $}v[a>>2]=0;break $;default:break fa}}v[a>>2]=0;break $;default:break aa}}v[a>>2]=0;break $}v[a>>2]=0}a=v[f+868>>2];v[f+176>>2]=v[f+864>>2];v[f+180>>2]=a;a=v[f+860>>2];v[f+168>>2]=v[f+856>>2];v[f+172>>2]=a;Fd(f+168|0);a=v[f+852>>2];v[f+160>>2]=v[f+848>>2];v[f+164>>2]=a;a=v[f+844>>2];v[f+152>>2]=v[f+840>>2];v[f+156>>2]=a;Fd(f+152|0);break a}Bc(f+584|0,b,c,d,v[e+8>>2]);b=v[f+596>>2];v[f+864>>2]=v[f+592>>2];v[f+868>>2]=b;b=v[f+588>>2];c=v[f+584>>2];v[f+856>>2]=c;v[f+860>>2]=b;b=a;if((c|0)==4){v[a+8>>2]=!v[f+864>>2];a=4}else{a=0}v[b>>2]=a;a=v[f+868>>2];v[f+192>>2]=v[f+864>>2];v[f+196>>2]=a;a=v[f+860>>2];v[f+184>>2]=v[f+856>>2];v[f+188>>2]=a;Fd(f+184|0);break a}Bc(f+584|0,b,c,d,v[e+8>>2]);b=v[f+596>>2];v[f+864>>2]=v[f+592>>2];v[f+868>>2]=b;b=v[f+588>>2];c=v[f+584>>2];v[f+856>>2]=c;v[f+860>>2]=b;ma:{na:{switch(c-1|0){case 0:b=v[f+860>>2];v[a>>2]=v[f+856>>2];v[a+4>>2]=b;b=v[f+868>>2];v[a+8>>2]=v[f+864>>2];v[a+12>>2]=b;break ma;case 1:v[a>>2]=1;g=A[f+864>>3];if(g>=0){if(D(g)<2147483648){v[a+8>>2]=~~g;break ma}v[a+8>>2]=-2147483648;break ma}i=-g;oa:{if(D(i)<2147483648){b=~~i;break oa}b=-2147483648}d=+(b|0)==i;g=1-g;pa:{if(D(g)<2147483648){c=~~g;break pa}c=-2147483648}v[a+8>>2]=0-(d?b:c);break ma;default:break na}}v[a>>2]=0}a=v[f+868>>2];v[f+208>>2]=v[f+864>>2];v[f+212>>2]=a;a=v[f+860>>2];v[f+200>>2]=v[f+856>>2];v[f+204>>2]=a;Fd(f+200|0);break a}Bc(f+584|0,b,c,d,v[e+8>>2]);b=v[f+596>>2];v[f+864>>2]=v[f+592>>2];v[f+868>>2]=b;b=v[f+588>>2];c=v[f+584>>2];v[f+856>>2]=c;v[f+860>>2]=b;qa:{ra:{switch(c-1|0){case 0:b=v[f+860>>2];v[a>>2]=v[f+856>>2];v[a+4>>2]=b;b=v[f+868>>2];v[a+8>>2]=v[f+864>>2];v[a+12>>2]=b;break qa;case 1:v[a>>2]=1;g=A[f+864>>3];sa:{if(g>=0){if(D(g)<2147483648){e=~~g}else{e=-2147483648}if(+(e|0)==g){break sa}g=g+1;if(D(g)<2147483648){v[a+8>>2]=~~g;break qa}v[a+8>>2]=-2147483648;break qa}g=-g;ta:{if(D(g)<2147483648){b=~~g;break ta}b=-2147483648}e=0-b|0}v[a+8>>2]=e;break qa;default:break ra}}v[a>>2]=0}a=v[f+868>>2];v[f+224>>2]=v[f+864>>2];v[f+228>>2]=a;a=v[f+860>>2];v[f+216>>2]=v[f+856>>2];v[f+220>>2]=a;Fd(f+216|0);break a}Bc(f+584|0,b,c,d,v[e+8>>2]);b=v[f+596>>2];v[f+864>>2]=v[f+592>>2];v[f+868>>2]=b;b=v[f+588>>2];c=v[f+584>>2];v[f+856>>2]=c;v[f+860>>2]=b;ua:{va:{switch(c-1|0){case 0:b=v[f+860>>2];v[a>>2]=v[f+856>>2];v[a+4>>2]=b;b=v[f+868>>2];v[a+8>>2]=v[f+864>>2];v[a+12>>2]=b;break ua;case 1:v[a>>2]=1;g=A[f+864>>3]+.5;if(g>=0){if(D(g)<2147483648){v[a+8>>2]=~~g;break ua}v[a+8>>2]=-2147483648;break ua}i=-g;wa:{if(D(i)<2147483648){b=~~i;break wa}b=-2147483648}d=+(b|0)==i;g=1-g;xa:{if(D(g)<2147483648){c=~~g;break xa}c=-2147483648}v[a+8>>2]=0-(d?b:c);break ua;default:break va}}v[a>>2]=0}a=v[f+868>>2];v[f+240>>2]=v[f+864>>2];v[f+244>>2]=a;a=v[f+860>>2];v[f+232>>2]=v[f+856>>2];v[f+236>>2]=a;Fd(f+232|0);break a}Bc(f+584|0,b,c,d,v[e+8>>2]);b=v[f+596>>2];v[f+864>>2]=v[f+592>>2];v[f+868>>2]=b;b=v[f+588>>2];c=v[f+584>>2];v[f+856>>2]=c;v[f+860>>2]=b;ya:{za:{switch(c-1|0){case 0:b=v[f+860>>2];v[a>>2]=v[f+856>>2];v[a+4>>2]=b;b=v[f+868>>2];v[a+8>>2]=v[f+864>>2];v[a+12>>2]=b;break ya;case 1:v[a>>2]=1;g=A[f+864>>3];i=-g;Aa:{if(D(i)<2147483648){b=~~i;break Aa}b=-2147483648}c=g>=0;d=0-b|0;if(D(g)<2147483648){b=~~g}else{b=-2147483648}v[a+8>>2]=c?b:d;break ya;default:break za}}v[a>>2]=0}a=v[f+868>>2];v[f+256>>2]=v[f+864>>2];v[f+260>>2]=a;a=v[f+860>>2];v[f+248>>2]=v[f+856>>2];v[f+252>>2]=a;Fd(f+248|0);break a}v[a>>2]=0}Ca=f+880|0}function Zj(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,x=0,z=0,A=0,C=0,D=0,E=0,F=0;a:{b:{switch(c-1|0){case 0:c:{d:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}f=Ca+-64|0;Ca=f;c=a;a=w[a+3|0]|w[a+2|0]<<8;if(gc(a?c+a|0:280448,v[b+12>>2])){d=w[c+5|0]|w[c+4|0]<<8;a=0;e:{f:{g:{h:{e=c;c=w[c+3|0]|w[c+2|0]<<8;c=c?e+c|0:280448;e=w[c|0]<<8|w[c+1|0];switch(e-1|0){case 1:break g;case 0:break h;default:break e}}h=0;break f}a=w[c+3|0]|w[c+2|0]<<8;g=a?c+4|0:280840;o=(w[g+1|0]|w[g|0]<<8)>>>0>(w[g+3|0]|w[g+2|0]<<8)>>>0?a:0;h=a?w[c+5|0]|w[c+4|0]<<8:0}a=c}v[f+52>>2]=0;v[f+48>>2]=o;v[f+56>>2]=h;v[f+44>>2]=a;v[f+40>>2]=e;v[f+60>>2]=d;b=v[b+20>>2];a=v[f+52>>2];v[f+16>>2]=v[f+48>>2];v[f+20>>2]=a;a=v[f+60>>2];v[f+24>>2]=v[f+56>>2];v[f+28>>2]=a;v[f+32>>2]=b;a=v[f+44>>2];v[f+8>>2]=v[f+40>>2];v[f+12>>2]=a;while(1){i:{j:{a=v[f+8>>2]-1|0;switch(a|0){case 0:case 1:break j;default:break i}}b=v[f+16>>2];d=v[f+12>>2];if(b>>>0>=(w[d+2|0]<<8|w[d+3|0])>>>0){break i}e=v[f+32>>2];c=0;k:{l:{switch(a|0){case 0:a=b>>>0<(w[d+3|0]|w[d+2|0]<<8)>>>0?(d+(b<<1)|0)+4|0:280448;c=w[a|0]<<8|w[a+1|0];break k;case 1:break l;default:break k}}c=v[f+24>>2]}m:{if(!w[e+12|0]){break m}a=v[f+28>>2];v[e+16>>2]=-1;b=e;e=a+c|0;a=ec(b,e&65535);if(!a){break m}b=a+(e>>>3&56)|0;a=b;c=v[a+4>>2];g=a;h=v[a>>2];b=e&63;e=b&31;if((b&63)>>>0>=32){d=1<<e;b=0}else{d=(1<<e)-1&1>>>32-e;b=1<<e}v[g>>2]=h|b;v[a+4>>2]=c|d}n:{o:{switch(v[f+8>>2]-1|0){case 0:v[f+16>>2]=v[f+16>>2]+1;break n;case 1:break o;default:break n}}e=v[f+12>>2];b=v[f+16>>2];a=b>>>0<(w[e+3|0]|w[e+2|0]<<8)>>>0?(e+B(b,6)|0)+4|0:280840;c=w[a+2|0]<<8|w[a+3|0];a=v[f+24>>2];if(c>>>0<=a>>>0){c=b+1|0;v[f+16>>2]=c;if(c>>>0>=(w[e+3|0]|w[e+2|0]<<8)>>>0){break n}b=(e+2|0)+B(c,6)|0;a=b+2|0;v[f+24>>2]=w[a|0]<<8|w[b+3|0];b=v[f+20>>2];a=c>>>0<(w[e+3|0]|w[e+2|0]<<8)>>>0?a:280840;a=w[a+4|0]<<8|w[a+5|0];v[f+20>>2]=a;if((a|0)==(b+1|0)){break n}v[f+16>>2]=w[e+3|0]|w[e+2|0]<<8;break n}v[f+24>>2]=a+1;v[f+20>>2]=v[f+20>>2]+1}continue}break}}Ca=f- -64|0;return}c=w[a+3|0]|w[a+2|0]<<8;p:{if(!gc(c?c+a|0:280448,v[b+12>>2])){break p}q:{r:{s:{t:{c=w[a+3|0]|w[a+2|0]<<8;e=c?c+a|0:280448;f=w[e|0]<<8|w[e+1|0];h=f-1|0;switch(h|0){case 1:break s;case 0:break t;default:break q}}d=0;break r}c=w[e+3|0]|w[e+2|0]<<8;d=c?e+4|0:280840;l=(w[d+1|0]|w[d|0]<<8)>>>0>(w[d+3|0]|w[d+2|0]<<8)>>>0?c:0;d=c?w[e+5|0]|w[e+4|0]<<8:0}g=e}if((w[g+3|0]|w[g+2|0]<<8)>>>0<=l>>>0|h>>>0>1){break p}h=w[a+5|0]|w[a+4|0]<<8;if(!h){break p}o=v[b+20>>2];c=a+6|0;b=0;s=f-1|0;while(1){u:{if(!w[o+12|0]){break u}a=w[c|0];m=w[c+1|0];v[o+16>>2]=-1;e=m|a<<8;a=ec(o,e);if(!a){break u}a=a+(e>>>3&56)|0;e=a;f=v[a+4>>2];j=a;k=v[a>>2];a=m&63;m=a&31;if((a&63)>>>0>=32){a=1<<m;m=0}else{a=(1<<m)-1&1>>>32-m;m=1<<m}v[j>>2]=k|m;v[e+4>>2]=a|f}v:{w:{switch(s|0){case 0:l=l+1|0;break v;case 1:break w;default:break v}}e=w[g+3|0]|w[g+2|0]<<8;a=e>>>0>l>>>0?(B(l,6)+g|0)+4|0:280840;if((w[a+2|0]<<8|w[a+3|0])>>>0<=d>>>0){l=l+1|0;if(e>>>0<=l>>>0){break v}d=b+1|0;a=B(l,6)+g|0;b=w[a+8|0]<<8|w[a+9|0];l=(d|0)==(b|0)?l:e;d=w[a+5|0]|w[a+4|0]<<8;break v}d=d+1|0;b=b+1|0}if((w[g+3|0]|w[g+2|0]<<8)>>>0<=l>>>0){break p}c=c+2|0;h=h-1|0;if(h){continue}break}}return;case 1:if((w[a+1|0]|w[a|0]<<8)!=1){break a}So(a,b);return;case 2:if((w[a+1|0]|w[a|0]<<8)!=1){break a}So(a,b);return;case 3:if((w[a+1|0]|w[a|0]<<8)!=1){break a}m=a;a=w[a+3|0]|w[a+2|0]<<8;x:{if(!gc(a?m+a|0:280448,v[b+12>>2])){break x}y:{z:{A:{B:{a=w[m+3|0]|w[m+2|0]<<8;c=a?a+m|0:280448;d=w[c|0]<<8|w[c+1|0];e=d-1|0;switch(e|0){case 1:break A;case 0:break B;default:break y}}s=0;break z}a=w[c+3|0]|w[c+2|0]<<8;g=a?c+4|0:280840;q=(w[g+1|0]|w[g|0]<<8)>>>0>(w[g+3|0]|w[g+2|0]<<8)>>>0?a:0;s=a?w[c+5|0]|w[c+4|0]<<8:0}j=c}if((w[j+3|0]|w[j+2|0]<<8)>>>0<=q>>>0|e>>>0>1){break x}z=w[m+5|0]|w[m+4|0]<<8;if(!z){break x}h=b;a=v[70113];u=a;x=v[70112];e=a;A=m+6|0;F=d-1|0;while(1){a=w[A+1|0]|w[A|0]<<8;C=a?a+m|0:280448;D=w[C|0]<<8|w[C+1|0];if(D){E=C+2|0;while(1){a=w[E+1|0]|w[E|0]<<8;t=a?a+C|0:280448;i=v[h+12>>2];C:{if(w[i+12|0]!=1){break C}a=w[t+3|0]|w[t+2|0]<<8;n=a?a-1|0:0;if(!n){break C}v[i+16>>2]=-1;r=w[t+5|0];k=w[t+4|0];p=k>>>1|0;g=v[i+40>>2];d=v[i+28>>2];D:{E:{if((d|0)<1){c=0;break E}l=v[i+32>>2];a=d-1|0;c=0;while(1){b=a+c>>>1|0;f=p-v[l+(b<<3)>>2]|0;F:{if((f|0)<=-1){a=b-1|0;break F}if(!f){c=b;break D}c=b+1|0}if((a|0)>=(c|0)){continue}break}}if(!hc(i,g+1|0)){break C}G:{if(g>>>0>=y[i+40>>2]){a=v[70127];v[163930]=v[70126];v[163931]=a;a=v[70125];v[163928]=v[70124];v[163929]=a;a=v[70123];v[163926]=v[70122];v[163927]=a;a=v[70121];v[163924]=v[70120];v[163925]=a;a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break G}a=v[i+44>>2]+(g<<6)|0}v[a>>2]=0;v[a+4>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;b=c<<3;a=b+v[i+32>>2]|0;mb(a+8|0,a,v[i+28>>2]+(c^-1)<<3);H:{if(y[i+28>>2]<=c>>>0){v[163916]=x;v[163917]=u;b=655664;break H}b=b+v[i+32>>2]|0}v[b>>2]=p;v[b+4>>2]=g;d=v[i+28>>2]}I:{if(c>>>0>=d>>>0){v[163916]=x;v[163917]=u;a=e;break I}a=v[(v[i+32>>2]+(c<<3)|0)+4>>2]}J:{if(a>>>0>=y[i+40>>2]){a=v[70127];v[163930]=v[70126];v[163931]=a;a=v[70125];v[163928]=v[70124];v[163929]=a;a=v[70123];v[163926]=v[70122];v[163927]=a;a=v[70121];v[163924]=v[70120];v[163925]=a;a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;d=655664;break J}b=v[i+44>>2];if(!b){break C}d=b+(a<<6)|0}b=t+4|0;c=r|k<<8;while(1){l=c&-512;f=c+512&-512;a=b;while(1){k=(c>>>3&56)+d|0;b=k;g=v[b+4>>2];p=b;r=v[b>>2];c=c&63;k=c&31;if((c&63)>>>0>=32){c=1<<k;k=0}else{c=(1<<k)-1&1>>>32-k;k=1<<k}v[p>>2]=r|k;v[b+4>>2]=c|g;n=n-1|0;if(!n){break C}b=a+2|0;g=w[a+2|0];c=w[a+3|0]|g<<8;if(l>>>0<=c>>>0){a=b;if(c>>>0<f>>>0){continue}}break}r=g>>>1|0;f=v[i+40>>2];p=v[i+28>>2];K:{L:{if((p|0)<1){a=0;break L}k=v[i+32>>2];d=p-1|0;a=0;while(1){g=a+d>>>1|0;l=r-v[k+(g<<3)>>2]|0;M:{if((l|0)<=-1){d=g-1|0;break M}if(!l){a=g;break K}a=g+1|0}if((a|0)<=(d|0)){continue}break}}if(!hc(i,f+1|0)){break C}N:{if(f>>>0>=y[i+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break N}d=v[i+44>>2]+(f<<6)|0}v[d>>2]=0;v[d+4>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;g=a<<3;d=g+v[i+32>>2]|0;mb(d+8|0,d,v[i+28>>2]+(a^-1)<<3);O:{if(y[i+28>>2]<=a>>>0){v[163916]=x;v[163917]=u;g=655664;break O}g=g+v[i+32>>2]|0}v[g>>2]=r;v[g+4>>2]=f;p=v[i+28>>2]}P:{if(a>>>0>=p>>>0){v[163916]=x;v[163917]=u;a=e;break P}a=v[(v[i+32>>2]+(a<<3)|0)+4>>2]}Q:{if(a>>>0>=y[i+40>>2]){a=v[70127];v[163930]=v[70126];v[163931]=a;a=v[70125];v[163928]=v[70124];v[163929]=a;a=v[70123];v[163926]=v[70122];v[163927]=a;a=v[70121];v[163924]=v[70120];v[163925]=a;a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;d=655664;break Q}d=v[i+44>>2]+(a<<6)|0}if(d){continue}break}}n=v[h+20>>2];R:{if(!w[n+12|0]){break R}p=w[t|0];r=w[t+1|0];v[n+16>>2]=-1;k=p>>>1|0;g=v[n+40>>2];d=v[n+28>>2];S:{T:{if((d|0)<1){c=0;break T}l=v[n+32>>2];a=d-1|0;c=0;while(1){b=a+c>>>1|0;f=k-v[l+(b<<3)>>2]|0;U:{if((f|0)<=-1){a=b-1|0;break U}if(!f){c=b;break S}c=b+1|0}if((a|0)>=(c|0)){continue}break}}if(!hc(n,g+1|0)){break R}V:{if(g>>>0>=y[n+40>>2]){a=v[70127];v[163930]=v[70126];v[163931]=a;a=v[70125];v[163928]=v[70124];v[163929]=a;a=v[70123];v[163926]=v[70122];v[163927]=a;a=v[70121];v[163924]=v[70120];v[163925]=a;a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break V}a=v[n+44>>2]+(g<<6)|0}v[a>>2]=0;v[a+4>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;b=c<<3;a=b+v[n+32>>2]|0;mb(a+8|0,a,v[n+28>>2]+(c^-1)<<3);W:{if(y[n+28>>2]<=c>>>0){v[163916]=x;v[163917]=u;b=655664;break W}b=b+v[n+32>>2]|0}v[b>>2]=k;v[b+4>>2]=g;d=v[n+28>>2]}X:{if(c>>>0>=d>>>0){v[163916]=x;v[163917]=u;a=e;break X}a=v[(v[n+32>>2]+(c<<3)|0)+4>>2]}Y:{if(a>>>0>=y[n+40>>2]){a=v[70127];v[163930]=v[70126];v[163931]=a;a=v[70125];v[163928]=v[70124];v[163929]=a;a=v[70123];v[163926]=v[70122];v[163927]=a;a=v[70121];v[163924]=v[70120];v[163925]=a;a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break Y}b=v[n+44>>2];if(!b){break R}a=b+(a<<6)|0}b=a+((r|p<<8)>>>3&56)|0;a=b;c=v[a+4>>2];k=a;p=v[a>>2];b=r&63;g=b&31;if((b&63)>>>0>=32){d=1<<g;b=0}else{d=(1<<g)-1&1>>>32-g;b=1<<g}v[k>>2]=p|b;v[a+4>>2]=c|d}E=E+2|0;D=D-1|0;if(D){continue}break}}Z:{_:{switch(F|0){case 0:q=q+1|0;break Z;case 1:break _;default:break Z}}b=w[j+3|0]|w[j+2|0]<<8;a=b>>>0>q>>>0?(B(q,6)+j|0)+4|0:280840;if((w[a+2|0]<<8|w[a+3|0])>>>0<=s>>>0){q=q+1|0;if(b>>>0<=q>>>0){break Z}c=b;b=B(q,6)+j|0;a=w[b+8|0]<<8|w[b+9|0];q=(a|0)==(o+1|0)?q:c;s=w[b+5|0]|w[b+4|0]<<8;o=a;break Z}s=s+1|0;o=o+1|0}if((w[j+3|0]|w[j+2|0]<<8)>>>0<=q>>>0){break x}A=A+2|0;z=z-1|0;if(z){continue}break}}return;case 4:Ro(a,b);return;case 5:$:{aa:{ba:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break $;case 1:break aa;case 0:break ba;default:break a}}Qo(a,b);return}Po(a,b);return}Oo(a,b);return;case 6:if((w[a+1|0]|w[a|0]<<8)==1){c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);Zj(c?c+a|0:280448,b,w[a+3|0]|w[a+2|0]<<8)}return;case 7:break b;default:break a}}if((w[a+1|0]|w[a|0]<<8)!=1){break a}c=w[a+3|0]|w[a+2|0]<<8;ca:{if(!gc(c?c+a|0:280448,v[b+12>>2])){break ca}c=b;j=w[a+5|0];o=w[a+4|0];d=j|o<<8;if(d){b=0;while(1){e=(j&255|(o&255)<<8)>>>0>b>>>0?((b<<1)+a|0)+6|0:280448;e=w[e|0]<<8|w[e+1|0];if(!gc(e?e+a|0:280448,v[c+8>>2])){break ca}j=w[a+5|0];o=w[a+4|0];b=b+1|0;if((d|0)!=(b|0)){continue}break}}b=(j<<1|o<<9)+a|0;h=b+6|0;j=w[h|0];g=w[b+7|0];d=g|j<<8;if(d){b=0;while(1){e=((j&255)<<8|g)>>>0>b>>>0?(h+(b<<1)|0)+2|0:280448;e=w[e|0]<<8|w[e+1|0];if(!gc(e?e+a|0:280448,v[c+16>>2])){break ca}g=w[h+1|0];j=w[h|0];b=b+1|0;if((d|0)!=(b|0)){continue}break}}f=v[c+20>>2];if(w[f+12|0]!=1){break ca}a=h+(g<<1|j<<9)|0;o=w[a+2|0]<<8|w[a+3|0];if(!o){break ca}v[f+16>>2]=-1;h=w[a+5|0]|w[a+4|0]<<8;j=ec(f,h);if(!j){break ca}a=a+4|0;while(1){g=h&-512;d=h+512&-512;b=a;while(1){a=(h>>>3&56)+j|0;c=a;e=v[a+4>>2];m=a;k=v[a>>2];a=h&63;h=a&31;if((a&63)>>>0>=32){a=1<<h;h=0}else{a=(1<<h)-1&1>>>32-h;h=1<<h}v[m>>2]=k|h;v[c+4>>2]=a|e;o=o-1|0;if(!o){break ca}a=b+2|0;h=w[b+3|0]|w[b+2|0]<<8;if(g>>>0<=h>>>0){b=a;if(d>>>0>h>>>0){continue}}break}j=ec(f,h);if(j){continue}break}}}}function rO(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,u=0,z=0,A=0,C=0;p=Ca-16|0;Ca=p;if(Bb(c,b,278269,0)){d=v[a+112>>2];e=v[d>>2];a:{if(v[e+12>>2]!=1){break a}f=v[d+8>>2];if((f|0)==-1){i=d;e=v[e+8>>2];if(e){v[p+4>>2]=0;f=e;e=v[b+72>>2];e=Ea[v[e+156>>2]](b,v[b+76>>2],f,p+4|0,v[e+20>>2])|0;f=e?v[p+4>>2]:0}else{f=0}v[i+8>>2]=f}if(!f){break a}q=v[c+76>>2];if(!q){break a}k=p+8|0;n=v[c+88>>2];i=v[b+16>>2];while(1){m=n+B(h,20)|0;if(w[m+19|0]==4){e=v[m>>2];v[p+12>>2]=f;v[p+8>>2]=e;v[p+4>>2]=f;e=0;b:{c:{if(!v[d+40>>2]){break c}while(1){g=8;if(vd(i,x[v[d+36>>2]+(e<<3)>>1],p+4|0,2,w[d+44|0])){break b}e=e+1|0;j=v[d+40>>2];if(e>>>0<j>>>0){continue}break}e=0;if(!j){break c}while(1){if(vd(i,x[v[d+36>>2]+(e<<3)>>1],k,2,w[d+44|0])){break b}e=e+1|0;if(e>>>0<y[d+40>>2]){continue}break}}e=0;d:{if(!v[d+64>>2]){break d}while(1){g=8;if(vd(i,x[v[d+60>>2]+(e<<3)>>1],p+4|0,2,w[d+68|0])){break b}e=e+1|0;j=v[d+64>>2];if(e>>>0<j>>>0){continue}break}e=0;if(!j){break d}while(1){if(vd(i,x[v[d+60>>2]+(e<<3)>>1],k,2,w[d+68|0])){break b}e=e+1|0;if(e>>>0<y[d+64>>2]){continue}break}}e=0;e:{if(!v[d+52>>2]){break e}while(1){g=11;if(vd(i,x[v[d+48>>2]+(e<<3)>>1],p+4|0,2,w[d+56|0])){break b}e=e+1|0;j=v[d+52>>2];if(e>>>0<j>>>0){continue}break}e=0;if(!j){break e}while(1){if(vd(i,x[v[d+48>>2]+(e<<3)>>1],k,2,w[d+56|0])){break b}e=e+1|0;if(e>>>0<y[d+52>>2]){continue}break}}e=0;g=4;if(!v[d+28>>2]){break b}f:{while(1){if(vd(i,x[v[d+24>>2]+(e<<3)>>1],p+4|0,2,w[d+32|0])){break f}e=e+1|0;j=v[d+28>>2];if(e>>>0<j>>>0){continue}break}e=0;if(!j){break b}while(1){if(vd(i,x[v[d+24>>2]+(e<<3)>>1],k,2,w[d+32|0])){break f}e=e+1|0;if(e>>>0<y[d+28>>2]){continue}break}break b}g=11}t[m+19|0]=g}h=h+1|0;if((q|0)!=(h|0)){continue}break}}Nj(b,c,4,12,15,15);s=v[c+76>>2];g:{if(!s){break g}i=s-1|0;d=0;e=v[c+88>>2];g=w[e+15|0];while(1){h:{if((d|0)==(i|0)){d=s;break h}d=d+1|0;if((g|0)==w[(e+B(d,20)|0)+15|0]){continue}}break}if(!s){break g}g=v[c+88>>2];e=w[g+15|0];i=0;while(1){q=d;u=v[b+16>>2];i:{j:{k:{switch(e&15){case 0:case 1:break j;case 2:case 4:break k;default:break i}}if(!w[v[a+112>>2]+5|0]){break j}if(w[(B(q,20)+g|0)-2|0]==12){break i}}h=0;j=0;n=Ca-32|0;Ca=n;l=v[c+88>>2];o=v[a+112>>2];k=q;g=i+3|0;l:{if(v[c+52>>2]!=1265525857|k>>>0<g>>>0){break l}d=B(i,20)+l|0;if(w[d+12|0]&32|w[d+18|0]!=16){break l}f=i+1|0;d=B(f,20)+l|0;if(w[d+12|0]&32|w[d+18|0]!=4){break l}e=B(i+2|0,20)+l|0;if(w[e+12|0]&32|w[e+18|0]!=6){break l}rc(c,f,g);v[n+24>>2]=v[d+16>>2];f=v[d+12>>2];v[n+16>>2]=v[d+8>>2];v[n+20>>2]=f;f=v[d+4>>2];v[n+8>>2]=v[d>>2];v[n+12>>2]=f;v[d+16>>2]=v[e+16>>2];f=v[e+12>>2];v[d+8>>2]=v[e+8>>2];v[d+12>>2]=f;f=v[e+4>>2];v[d>>2]=v[e>>2];v[d+4>>2]=f;v[e+16>>2]=v[n+24>>2];d=v[n+20>>2];v[e+8>>2]=v[n+16>>2];v[e+12>>2]=d;d=v[n+12>>2];v[e>>2]=v[n+8>>2];v[e+4>>2]=d}m=v[o>>2];f=v[m+20>>2];m:{n:{o:{p:{q:{r:{if(!(!v[o+80>>2]|g>>>0>k>>>0)){e=k;g=i;s:{t:{switch(f|0){case 0:d=B(i+2|0,20)+l|0;if(w[d+12|0]&32){break s}d=w[d+18|0];if(d>>>0>31|!(1<<d&96)){break s}break m;case 2:break r;case 1:break t;default:break m}}if(w[(B(i,20)+l|0)+58|0]!=6){break m}}g=B(i,20)+l|0;v[n+8>>2]=v[g>>2];v[n+12>>2]=v[g+20>>2];v[n+16>>2]=(f|0)==1?v[g+40>>2]:0;if(!v[o+16>>2]){break n}while(1){if(vd(u,x[v[o+12>>2]+(j<<3)>>1],n+8|0,2,w[o+20|0])){break p}j=j+1|0;d=v[o+16>>2];if(j>>>0<d>>>0){continue}break}j=0;if(v[v[o>>2]+20>>2]!=1){break n}g=i;if(!d){break o}while(1){if(vd(u,x[v[o+12>>2]+(j<<3)>>1],n+8|0,3,w[o+20|0])){break p}j=j+1|0;if(j>>>0<y[o+16>>2]){continue}break}j=0;break n}if((f|0)!=2){break q}}if(w[(B(i,20)+l|0)+18|0]!=15){break q}j=1;d=i+1|0;g=d>>>0<k>>>0?k:d;d=i;while(1){d=d+1|0;if(k>>>0<=d>>>0){e=i;break m}e=B(d,20)+l|0;if(w[e+12|0]&32){e=i;g=d;break m}e=w[e+18|0];if(1<<e&96?e>>>0<=31:0){continue}break}e=i;g=d;break m}e=k;g=i;break m}j=1;g=i+2|0;if(k>>>0<=g>>>0){e=i;m=v[o>>2];break m}u:{v:{while(1){d=B(g,20)+l|0;if(w[d+12|0]&32){e=i;m=v[o>>2];break m}d=w[d+18|0];if(d>>>0>31|!(1<<d&96)){break v}g=g+1|0;if((k|0)!=(g|0)){continue}break}g=k;e=i;break u}e=i}}m=v[o>>2];break m}g=i;m=v[o>>2]}d=k;w:{x:{switch(v[m+12>>2]){case 1:while(1){f=d;y:{z:{d=d-1|0;m=B(d,20)+l|0;if(w[m+12|0]&32){break z}r=w[m+18|0];if(r>>>0>31|!(1<<r&727046)){break z}e=d;A:{B:{f=w[m+19|0];switch(f-8|0){case 0:break A;case 3:break B;default:break w}}if(!(h&1)){break A}break w}h=(f|0)==8|h;break y}if(w[(B(d,20)+l|0)+18|0]!=6|d>>>0<=i>>>0){break y}if(w[(B(f,20)+l|0)-22|0]==4){break w}}if(d>>>0>g>>>0){continue}break};break w;case 0:break x;default:break w}}f=j?e:g;C:{if(g>>>0>=k>>>0){e=f;break C}d=g;while(1){e=f;h=B(d,20)+l|0;D:{if(w[h+12|0]&32){break D}f=w[h+18|0];if(f>>>0>31){f=e;break D}if(!(1<<f&727046)){f=e;break D}f=d;if(d>>>0<=g>>>0){break D}if(w[h-2|0]==6){break C}}e=f;d=d+1|0;if((k|0)!=(d|0)){continue}break}}d=e+1|0;if(k>>>0<=d>>>0){break w}while(1){f=B(d,20)+l|0;E:{if(w[f+12|0]&32){break E}h=w[f+18|0];if(h>>>0>31|!(1<<h&727046)){break E}t[f+19|0]=8}d=d+1|0;if((k|0)!=(d|0)){continue}break}}F:{if(e>>>0<=i>>>0){break F}d=i;f=e-d&3;if(f){while(1){m=B(d,20)+l|0;h=w[m+19|0];t[m+19|0]=h>>>0<3?h:3;d=d+1|0;f=f-1|0;if(f){continue}break}}if((i^-1)+e>>>0<=2){break F}while(1){f=B(d,20)+l|0;h=w[f+19|0];t[f+19|0]=h>>>0<3?h:3;h=w[f+39|0];t[f+39|0]=h>>>0<3?h:3;h=w[f+59|0];t[f+59|0]=h>>>0<3?h:3;h=f;f=w[f+79|0];t[h+79|0]=f>>>0<3?f:3;d=d+4|0;if((e|0)!=(d|0)){continue}break}}if(e>>>0<k>>>0){t[(B(e,20)+l|0)+19|0]=4}f=(j^1|(e|0)!=(i|0)|g-e>>>0>2)&j;d=e;G:{while(1){g=d;d=d+1|0;if(k>>>0<=d>>>0){break G}if(w[(B(d,20)+l|0)+18|0]!=7){continue}break}d=g+2|0;if(k>>>0<=d>>>0){break G}while(1){H:{g=B(d,20)+l|0;if(w[g+12|0]&32){break H}h=w[g+18|0];if(h>>>0>31|!(1<<h&727046)){break H}t[g+19|0]=13;break G}d=d+1|0;if((k|0)!=(d|0)){continue}break}}if(f){t[(B(i,20)+l|0)+19|0]=1}I:{if(!w[o+4|0]){break I}d=e;while(1){f=d;d=d+1|0;if(k>>>0<=d>>>0){break I}if(w[(B(d,20)+l|0)+18|0]!=4){continue}break}g=k-1|0;if(g>>>0<=d>>>0){break I}m=v[c+52>>2]!=1265525857;while(1){J:{h=B(g,20)+l|0;K:{if(w[h+12|0]&32){break K}j=w[h+18|0];if(j>>>0>31){break K}if(1<<j&727046){break J}}if(!(w[h+18|0]==4?m:1)){break J}g=g-1|0;if(g>>>0>d>>>0){continue}break I}break}h=B(g,20)+l|0;if(w[h+18|0]==4){break I}m=B(d,20)+l|0;v[n+24>>2]=v[m+16>>2];j=v[m+12>>2];v[n+16>>2]=v[m+8>>2];v[n+20>>2]=j;j=v[m+4>>2];v[n+8>>2]=v[m>>2];v[n+12>>2]=j;mb(m,(B(f,20)+l|0)+40|0,B(g-d|0,20));v[h+16>>2]=v[n+24>>2];d=v[n+20>>2];v[h+8>>2]=v[n+16>>2];v[h+12>>2]=d;d=v[n+12>>2];v[h>>2]=v[n+8>>2];v[h+4>>2]=d}z=i>>>0<k>>>0;if(z){j=0;d=i;while(1){f=B(d,20)+l|0;g=f;f=w[f+18|0];L:{if(!(f>>>0>31|!(1<<f&139384))){t[g+19|0]=j;if((f|0)!=4){break L}f=d;if((j&255)!=2){break L}while(1){if(f>>>0<=i>>>0){break L}f=f-1|0;h=w[(B(f,20)+l|0)+19|0];if((h|0)==2){continue}break}t[g+19|0]=h;break L}g=w[g+19|0];j=(g|0)==14?j:g}d=d+1|0;if((k|0)!=(d|0)){continue}break}}d=e+1|0;if(k>>>0>d>>>0){r=e-1|0;j=0;m=e;while(1){h=B(d,20)+l|0;g=w[h+18|0];M:{if(!(!(1<<g&727046)|(w[h+12|0]&32|g>>>0>31))){f=m+1|0;g=d;if(f>>>0>=d>>>0){break M}if((e+j|0)-m&1){g=B(f,20)+l|0;if(w[g+19|0]<=13){t[g+19|0]=w[h+19|0]}f=m+2|0}g=d;if((j+r|0)==(m|0)){break M}while(1){g=B(f,20)+l|0;if(w[g+19|0]<=13){t[g+19|0]=w[h+19|0]}if(w[g+39|0]<14){t[g+39|0]=w[h+19|0]}f=f+2|0;if(f>>>0<d>>>0){continue}break}g=d;break M}g=(g|0)==7?d:m}m=g;j=j+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}h=B(i,20)+l|0;e=w[h+15|0];A=i>>>0>=k>>>0;N:{if(A){break N}d=i;f=k-d&3;if(f){while(1){t[(B(d,20)+l|0)+15|0]=d-i;d=d+1|0;f=f-1|0;if(f){continue}break}}if(k+(i^-1)>>>0<3){break N}while(1){g=B(d,20)+l|0;f=d-i|0;t[g+35|0]=f+1;t[g+15|0]=f;t[g+55|0]=f+2;t[g+75|0]=f+3;d=d+4|0;if((k|0)!=(d|0)){continue}break}}r=k-i|0;if(r>>>0>=2){j=1;while(1){g=h+B(j,20)|0;m=g;f=j;while(1){d=f;if(d){f=d-1|0;if(w[(h+B(f,20)|0)+19|0]>w[m+19|0]){continue}}break}if((d|0)!=(j|0)){v[n+24>>2]=v[m+16>>2];f=v[g+12>>2];v[n+16>>2]=v[g+8>>2];v[n+20>>2]=f;f=v[g+4>>2];v[n+8>>2]=v[g>>2];v[n+12>>2]=f;g=h+B(d,20)|0;mb(g+20|0,g,B(j-d|0,20));v[g+16>>2]=v[n+24>>2];d=v[n+20>>2];v[g+8>>2]=v[n+16>>2];v[g+12>>2]=d;d=v[n+12>>2];v[g>>2]=v[n+8>>2];v[g+4>>2]=d}j=j+1|0;if((r|0)!=(j|0)){continue}break}}h=k;O:{if(!z){break O}h=i;while(1){if(w[(B(h,20)+l|0)+19|0]==4){break O}h=h+1|0;if((k|0)!=(h|0)){continue}break}h=k}P:{if(!(w[o+4|0]|r>>>0>127)){if(h>>>0>=k>>>0){break P}m=h;while(1){d=w[(B(m,20)+l|0)+15|0];Q:{if((d|0)==255){break Q}d=d+i|0;g=m;f=g;if((d|0)!=(f|0)){while(1){j=B(d,20)+l|0;C=w[j+15|0];t[j+15|0]=255;g=d>>>0>g>>>0?d:g;f=d>>>0<f>>>0?d:f;d=i+C|0;if((m|0)!=(d|0)){continue}break}}d=g+1|0;g=f>>>0>h>>>0?f:h;if(d-g>>>0<2){break Q}rc(c,g,d)}m=m+1|0;if((k|0)!=(m|0)){continue}break}break P}if(k-h>>>0<2){break P}rc(c,h,k)}R:{if(A){break R}f=i;d=r&7;if(d){while(1){t[(B(f,20)+l|0)+15|0]=e;f=f+1|0;d=d-1|0;if(d){continue}break}}if(k+(i^-1)>>>0>6){while(1){d=B(f,20)+l|0;t[d+35|0]=e;t[d+15|0]=e;t[d+55|0]=e;t[d+75|0]=e;t[d+95|0]=e;t[d+115|0]=e;t[d+135|0]=e;t[d+155|0]=e;f=f+8|0;if((k|0)!=(f|0)){continue}break}}if(!z){break R}d=i;while(1){e=B(d,20)+l|0;if(w[e+19|0]!=1){break R}v[e+4>>2]=v[e+4>>2]|v[o+80>>2];d=d+1|0;if((k|0)!=(d|0)){continue}break}}f=v[o+100>>2];m=w[o+4|0];f=m|v[v[o>>2]+24>>2]?f:v[o+92>>2]|f;S:{if(h>>>0<=i>>>0){break S}d=i;g=h-d&3;if(g){while(1){e=B(d,20)+l|0;v[e+4>>2]=v[e+4>>2]|f;d=d+1|0;g=g-1|0;if(g){continue}break}}if((i^-1)+h>>>0<=2){break S}while(1){e=B(d,20)+l|0;v[e+4>>2]=v[e+4>>2]|f;v[e+24>>2]=v[e+24>>2]|f;v[e+44>>2]=v[e+44>>2]|f;e=e- -64|0;v[e>>2]=v[e>>2]|f;d=d+4|0;if((h|0)!=(d|0)){continue}break}}d=h+1|0;T:{if(k>>>0<=d>>>0){break T}f=v[o+104>>2]|(v[o+96>>2]|v[o+92>>2]);g=k+(h^-1)&3;if(g){while(1){e=B(d,20)+l|0;v[e+4>>2]=f|v[e+4>>2];d=d+1|0;g=g-1|0;if(g){continue}break}}if((k-h|0)-2>>>0<3){break T}while(1){e=B(d,20)+l|0;v[e+4>>2]=f|v[e+4>>2];v[e+24>>2]=f|v[e+24>>2];v[e+44>>2]=f|v[e+44>>2];e=e- -64|0;v[e>>2]=f|v[e>>2];d=d+4|0;if((k|0)!=(d|0)){continue}break}}U:{if(!m|v[c+52>>2]!=1147500129){break U}g=i+1|0;if(h>>>0<=g>>>0){break U}d=i;while(1){e=d;d=g;g=B(e,20)+l|0;V:{if(w[g+18|0]!=16){break V}f=B(d,20)+l|0;if(w[f+18|0]!=4){break V}e=e+2|0;if(w[(B(e,20)+l|0)+18|0]==6?(e|0)!=(h|0):0){break V}v[g+4>>2]=v[g+4>>2]|v[o+92>>2];v[f+4>>2]=v[f+4>>2]|v[o+92>>2]}g=d+1|0;if((h|0)!=(g|0)){continue}break}}W:{if(!v[o+88>>2]|k>>>0<=h+2>>>0){break W}f=v[o+28>>2];while(1){d=B(h,20)+l|0;v[n+8>>2]=v[d+20>>2];v[n+12>>2]=v[d+40>>2];e=h+1|0;X:{Y:{if(f){g=h+2|0;d=0;break Y}f=0;break X}while(1){if(!vd(u,x[v[o+24>>2]+(d<<3)>>1],n+8|0,2,w[o+32|0])){d=d+1|0;f=v[o+28>>2];if(d>>>0<f>>>0){continue}break X}break}d=B(e,20)+l|0;v[d+4>>2]=v[d+4>>2]|v[o+88>>2];d=B(g,20)+l|0;v[d+4>>2]=v[d+4>>2]|v[o+88>>2];break W}d=h+3|0;h=e;if(d>>>0<k>>>0){continue}break}}f=i+1|0;if(k>>>0>f>>>0){g=i;while(1){d=g;g=f;e=B(f,20)+l|0;Z:{if(w[e+12|0]&32){break Z}e=w[e+18|0];if((e|0)!=5|!(1<<e&96)){break Z}e=B(d,20)+l|0;v[e+4>>2]=v[e+4>>2]&(v[o+100>>2]^-1);if(d>>>0<=i>>>0){break Z}while(1){e=B(d,20)+l|0;_:{if(w[e+12|0]&32){break _}e=w[e+18|0];if(e>>>0>31){break _}if(1<<e&727046){break Z}}d=d-1|0;e=B(d,20)+l|0;v[e+4>>2]=v[e+4>>2]&(v[o+100>>2]^-1);if(d>>>0>i>>>0){continue}break}}f=g+1|0;if((k|0)!=(f|0)){continue}break}}Ca=n+32|0}d=v[c+76>>2];i=q+1|0;i=d>>>0>i>>>0?d:i;f=i-1|0;g=v[c+88>>2];e=w[(g+B(q,20)|0)+15|0];d=q;while(1){$:{if((d|0)==(f|0)){d=i;break $}d=d+1|0;if(w[(B(d,20)+g|0)+15|0]==(e&255)){continue}}break}i=q;if(s>>>0>i>>>0){continue}break}}Bb(c,b,278300,0)}Ca=p+16|0}function zp(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;c=v[b+48>>2];e=v[c+12>>2];v[b+24>>2]=e;g=v[c+16>>2];c=g+e|0;v[b+28>>2]=c;if((g|0)>-1){a:{b:{if(!(a>>>0<c>>>0?a>>>0>=e>>>0:0)){v[b+24>>2]=0;v[b+28>>2]=0;break b}v[b+24>>2]=a;e=w[a+1|0]|w[a|0]<<8;c=c-a|0;v[b+28>>2]=(c>>>0>e>>>0?e:c)+a}e=Ca-304|0;Ca=e;c:{d:{switch(w[a+3|0]){case 0:v[e+4>>2]=0;v[e+8>>2]=0;t[e|0]=0;g=v[b+12>>2];v[e+292>>2]=v[b+16>>2];v[e+288>>2]=a+8;c=e;a=v[g+32>>2];if((a|0)==-1){a=Xc(g)}v[c+296>>2]=a;a=0;f=e+288|0;c=v[f+4>>2];v[c+72>>2]=0;e:{if(!w[c+68|0]){break e}while(1){g=v[f>>2];l=(w[g+7|0]|w[g+6|0]<<8)+g|0;p=l;m=w[g+5|0]|w[g+4|0]<<8;k=m+g|0;r=k;q=y[c+76>>2]<=i>>>0;d=0;f:{if(q){break f}h=v[v[c+88>>2]+B(i,20)>>2];d=2;if((h|0)==65535){break f}d=h;h=g+(w[g+3|0]|w[g+2|0]<<8)|0;j=d-(w[h|0]<<8|w[h+1|0])|0;d=1;if(j>>>0>=(w[h+3|0]|w[h+2|0]<<8)>>>0){break f}d=w[(h+j|0)+4|0]}h=w[g+1|0]|w[g|0]<<8;j=h>>>0>d>>>0?d:1;o=B(a,h);d=p+(w[r+(j+o|0)|0]<<2)|0;g=((w[d|0]<<8|w[d+1|0])-m|0)/(h|0)|0;g:{h:{if(y[e+4>>2]<y[e+8>>2]?w[d+3|0]&15:0){break h}i:{if(!a){break i}n=w[d+2|0];if(g?0:n&64){break i}a=l+(w[j+k|0]<<2)|0;if((y[e+4>>2]<y[e+8>>2]?w[a+3|0]&15:0)|(g|0)!=(((w[a+1|0]|w[a|0]<<8)-m|0)/(h|0)|0)|(n^w[a+2|0])&64){break h}}if(!(w[(l+(w[k+(o+!h|0)|0]<<2)|0)+3|0]&15)|y[e+4>>2]>=y[e+8>>2]){break g}}a=v[(w[c+69|0]?80:72)+c>>2];if(q|!a){break g}md(c,a-1|0,i+1|0)}Bp(e,f,d);a=v[f+4>>2];c=v[a+72>>2];if((c|0)==v[a+76>>2]|!w[a+68|0]){break e}j:{if(w[d+2|0]&64){d=v[a+40>>2];v[a+40>>2]=d-1;if((d|0)>0){break j}}if(w[a+69|0]){k=a;k:{if(v[a+92>>2]==v[a+88>>2]){d=c;if(v[a+80>>2]==(c|0)){break k}}if(!cb(a,1,1)){break j}d=v[a+88>>2]+B(v[a+72>>2],20)|0;h=v[d+4>>2];c=v[a+92>>2]+B(v[a+80>>2],20)|0;v[c>>2]=v[d>>2];v[c+4>>2]=h;v[c+16>>2]=v[d+16>>2];h=v[d+12>>2];v[c+8>>2]=v[d+8>>2];v[c+12>>2]=h;c=v[a+72>>2];d=v[a+80>>2]}v[k+80>>2]=d+1}v[a+72>>2]=c+1}c=v[f+4>>2];if(!w[c+68|0]){break e}i=v[c+72>>2];a=g;continue}}break c;case 1:t[e|0]=0;v[e+4>>2]=b;c=v[b+64>>2];t[e+12|0]=0;v[e+8>>2]=c;g=w[c+5|0];d=w[c+4|0];c=a+8|0;v[e+20>>2]=c;v[e+16>>2]=0;t[e+13|0]=(g|d<<8)!=0;v[e+24>>2]=c+(w[a+17|0]|w[a+16|0]<<8);g=v[b+12>>2];v[e+292>>2]=v[b+16>>2];v[e+288>>2]=c;c=e;a=v[g+32>>2];if((a|0)==-1){a=Xc(g)}v[c+296>>2]=a;a=0;c=v[e+292>>2];v[c+72>>2]=0;l:{if(!w[c+68|0]){break l}while(1){g=v[e+288>>2];h=(w[g+7|0]|w[g+6|0]<<8)+g|0;p=h;l=w[g+5|0]|w[g+4|0]<<8;m=l+g|0;r=m;n=v[c+76>>2];q=n>>>0<=i>>>0;d=0;m:{if(q){break m}f=v[v[c+88>>2]+B(i,20)>>2];d=2;if((f|0)==65535){break m}d=f;f=g+(w[g+3|0]|w[g+2|0]<<8)|0;k=d-(w[f|0]<<8|w[f+1|0])|0;d=1;if(k>>>0>=(w[f+3|0]|w[f+2|0]<<8)>>>0){break m}d=w[(f+k|0)+4|0]}f=w[g+1|0]|w[g|0]<<8;j=f>>>0>d>>>0?d:1;o=B(a,f);d=p+(w[r+(j+o|0)|0]<<3)|0;g=((w[d|0]<<8|w[d+1|0])-l|0)/(f|0)|0;k=(i|0)!=(n|0);n:{o:{if(!((w[d+5|0]|w[d+4|0]<<8)!=65535|(w[d+7|0]|w[d+6|0]<<8)!=65535?!(w[e+12|0]?1:k):1)){break o}p:{if(!a){break p}n=w[d+2|0];if(g?0:n&64){break p}j=w[j+m|0];if(w[e+12|0]?1:k){a=h+(j<<3)|0;if((w[a+4|0]<<8|w[a+5|0])!=65535|(w[a+7|0]|w[a+6|0]<<8)!=65535){break o}}a=h+(j<<3)|0;if((g|0)!=(((w[a|0]<<8|w[a+1|0])-l|0)/(f|0)|0)|(n^w[a+2|0])&64){break o}}a=w[m+(o+!f|0)|0];if(!(w[e+12|0]?1:k)){break n}a=h+(a<<3)|0;if((w[a+4|0]<<8|w[a+5|0])!=65535){break o}if((w[a+7|0]|w[a+6|0]<<8)==65535){break n}}a=v[(w[c+69|0]?80:72)+c>>2];if(q|!a){break n}md(c,a-1|0,i+1|0)}i=v[e+292>>2];m=v[i+72>>2];q:{if(w[e+12|0]?0:(m|0)==v[i+76>>2]){break q}k=v[e+20>>2];l=v[i+88>>2];h=v[e+16>>2];c=v[e+24>>2];j=k+((v[l+B(h,20)>>2]+(w[d+5|0]|w[d+4|0]<<8)<<1)-c|0)>>>1|0;a=v[e+4>>2];o=v[a+24>>2];f=(j<<1)+c|0;r:{if(o>>>0>f>>>0){break r}n=v[a+28>>2];if(n>>>0<f>>>0|n-f>>>0<2){break r}n=v[a+32>>2]-2|0;v[a+32>>2]=n;if((n|0)<1){break r}j=(j<<1)+c|0;n=w[j+1|0]|w[f|0]<<8;if(!n){break r}a=v[i+76>>2];c=m+1|0;a=a>>>0<c>>>0?a:c;if(a-h>>>0>=2){Mb(i,h,a);n=w[j+1|0]|w[f|0]<<8;l=v[i+88>>2];h=v[e+16>>2]}v[B(h,20)+l>>2]=n;if(w[e+13|0]){a=0;s:{t:{u:{v:{c=v[e+8>>2];f=w[j+1|0]|w[f|0]<<8;switch(pe(c,f)-1|0){case 2:break t;case 1:break u;case 0:break v;default:break s}}a=2;break s}a=4;break s}a=oe(c,f)<<8|8}u[(B(h,20)+l|0)+12>>1]=a;l=v[i+88>>2]}t[e|0]=1;a=v[e+4>>2];o=v[a+24>>2];k=v[e+20>>2];c=v[e+24>>2]}f=v[i+76>>2]-1|0;h=v[i+72>>2];h=f>>>0<h>>>0?f:h;m=B(h,20)+l|0;k=((v[m>>2]+(w[d+7|0]|w[d+6|0]<<8)<<1)-c|0)+k>>>1|0;f=(k<<1)+c|0;w:{if(f>>>0<o>>>0){break w}j=v[a+28>>2];if(j>>>0<f>>>0|j-f>>>0<2){break w}p=a;a=v[a+32>>2]-2|0;v[p+32>>2]=a;if((a|0)<1){break w}a=(k<<1)+c|0;c=w[a+1|0]|w[f|0]<<8;if(!c){break w}v[m>>2]=c;if(w[e+13|0]){c=0;x:{y:{z:{A:{m=v[e+8>>2];a=w[a+1|0]|w[f|0]<<8;switch(pe(m,a)-1|0){case 2:break y;case 1:break z;case 0:break A;default:break x}}c=2;break x}c=4;break x}c=oe(m,a)<<8|8}u[(B(h,20)+l|0)+12>>1]=c}t[e|0]=1}if(t[d+2|0]>-1){break q}t[e+12|0]=1;v[e+16>>2]=v[i+72>>2]}a=v[e+292>>2];c=v[a+72>>2];if((c|0)==v[a+76>>2]|!w[a+68|0]){break l}B:{if(w[d+2|0]&64){d=v[a+40>>2];v[a+40>>2]=d-1;if((d|0)>0){break B}}if(w[a+69|0]){h=a;C:{if(v[a+92>>2]==v[a+88>>2]){d=c;if(v[a+80>>2]==(c|0)){break C}}if(!cb(a,1,1)){break B}d=v[a+88>>2]+B(v[a+72>>2],20)|0;f=v[d+4>>2];c=v[a+92>>2]+B(v[a+80>>2],20)|0;v[c>>2]=v[d>>2];v[c+4>>2]=f;v[c+16>>2]=v[d+16>>2];f=v[d+12>>2];v[c+8>>2]=v[d+8>>2];v[c+12>>2]=f;c=v[a+72>>2];d=v[a+80>>2]}v[h+80>>2]=d+1}v[a+72>>2]=c+1}c=v[e+292>>2];if(!w[c+68|0]){break l}i=v[c+72>>2];a=g;continue}}break c;case 2:t[e|0]=0;c=a+8|0;v[e+8>>2]=c;v[e+4>>2]=b;v[e+12>>2]=c+(w[a+17|0]|w[a+16|0]<<8);v[e+16>>2]=c+(w[a+19|0]|w[a+18|0]<<8);g=w[a+21|0];a=w[a+20|0];v[e+24>>2]=0;v[e+20>>2]=c+(g|a<<8);g=v[b+12>>2];v[e+292>>2]=v[b+16>>2];v[e+288>>2]=c;c=e;a=v[g+32>>2];if((a|0)==-1){a=Xc(g)}v[c+296>>2]=a;a=0;c=v[e+292>>2];v[c+80>>2]=0;t[c+69|0]=1;t[c+70|0]=0;v[c+92>>2]=v[c+88>>2];c=v[e+292>>2];v[c+72>>2]=0;D:{if(!w[c+68|0]){break D}while(1){g=v[e+288>>2];h=(w[g+7|0]|w[g+6|0]<<8)+g|0;r=h;m=w[g+5|0]|w[g+4|0]<<8;k=m+g|0;q=k;n=y[c+76>>2]<=f>>>0;p=0;E:{if(n){break E}i=v[v[c+88>>2]+B(f,20)>>2];p=2;if((i|0)==65535){break E}d=i;i=g+(w[g+3|0]|w[g+2|0]<<8)|0;l=d-(w[i|0]<<8|w[i+1|0])|0;p=1;if(l>>>0>=(w[i+3|0]|w[i+2|0]<<8)>>>0){break E}p=w[(i+l|0)+4|0]}d=w[g+1|0]|w[g|0]<<8;j=p>>>0<d>>>0?p:1;o=B(a,d);l=r+(w[q+(j+o|0)|0]<<2)|0;g=((w[l|0]<<8|w[l+1|0])-m|0)/(d|0)|0;i=w[l+2|0];F:{G:{if(w[l+3|0]|i<<8&16128){break G}if(!(!a|(g?0:i&64))){a=h+(w[j+k|0]<<2)|0;j=w[a+2|0];if(j<<8&16128|w[a+3|0]|(g|0)!=(((w[a+1|0]|w[a|0]<<8)-m|0)/(d|0)|0)|(i^j)&64){break G}}a=h+(w[k+(o+!d|0)|0]<<2)|0;if(!(w[a+2|0]<<8&16128|w[a+3|0])){break F}}a=v[(w[c+69|0]?80:72)+c>>2];if(n|!a){break F}md(c,a-1|0,f+1|0)}m=0;d=v[e+292>>2];c=t[l+2|0];if((c|0)<=-1){a=e;h=a;c=v[a+24>>2];H:{if(!c){f=v[d+80>>2];c=0;break H}f=v[d+80>>2];c=c-((f|0)==v[(e+((c-1&63)<<2)|0)+28>>2])|0}v[h+24>>2]=c+1;v[(e+((c&63)<<2)|0)+28>>2]=f;c=w[l+2|0]}I:{a=w[l+3|0]|c<<8&16128;if(!a){break I}h=v[e+24>>2];if(!h|y[d+72>>2]>=y[d+76>>2]){break I}n=v[d+80>>2];c=a+v[e+8>>2]|0;a=v[e+12>>2];i=(c-a&-4)+a|0;J:{while(1){K:{if(!h){v[e+24>>2]=0;break K}h=h-1|0;q=e+((h&63)<<2)|0;if(!Hd(d,v[q+28>>2])){break I}a=v[e+4>>2];j=v[a+24>>2];if(j>>>0>i>>>0){break K}c=v[a+28>>2];if(c>>>0<i>>>0|c-i>>>0<4){break K}o=v[a+32>>2];f=o-4|0;v[a+32>>2]=f;if((f|0)<1){break K}f=w[i|0];k=w[i+3|0]|(w[i+1|0]<<16|f<<24|w[i+2|0]<<8);p=v[e+16>>2];r=v[e+8>>2];f=p+((r-p|0)+((v[v[d+88>>2]+B(v[d+72>>2],20)>>2]+(f<<25&1073741824)|0)+(k&1073741823)<<1)>>>1<<1)|0;if(f>>>0<j>>>0|c>>>0<f>>>0|c-f>>>0<2){break K}p=o-6|0;v[a+32>>2]=p;if((p|0)<1){break K}m=(w[f+1|0]|w[f|0]<<8)+m|0;if(k>>>0>=1073741824){f=v[e+20>>2];m=(m+r|0)-f>>>1|0;f=(m<<1)+f|0;if(f>>>0<j>>>0|c>>>0<f>>>0|c-f>>>0<2){break K}c=a;a=o-8|0;v[c+32>>2]=a;if((a|0)<1){break K}c=w[f|0];f=w[f+1|0];if(!cb(d,1,1)){break I}j=v[d+76>>2];a=v[d+72>>2];if(j>>>0<a+1>>>0){break J}o=f|c<<8;L:{if(a>>>0<j>>>0){c=v[d+80>>2];f=v[d+92>>2];a=v[d+88>>2]+B(a,20)|0;break L}f=v[d+92>>2];c=v[d+80>>2];a=f+B(c?c-1|0:0,20)|0}c=B(c,20)+f|0;f=v[a+4>>2];v[c>>2]=v[a>>2];v[c+4>>2]=f;v[c+16>>2]=v[a+16>>2];f=v[a+12>>2];v[c+8>>2]=v[a+8>>2];v[c+12>>2]=f;v[c>>2]=o;v[d+72>>2]=v[d+72>>2]+1;v[d+80>>2]=v[d+80>>2]+1;c=v[e+24>>2]-1|0;j=v[(e+((c&63)<<2)|0)+28>>2];if(c>>>0>h>>>0){while(1){v[e+24>>2]=c;if(!Hd(d,v[(e+((c&63)<<2)|0)+28>>2])){break I}if(!cb(d,1,1)){break I}c=v[d+76>>2];a=v[d+72>>2];if(c>>>0<a+1>>>0){break J}M:{if(a>>>0<c>>>0){c=v[d+80>>2];f=v[d+92>>2];a=v[d+88>>2]+B(a,20)|0;break M}f=v[d+92>>2];c=v[d+80>>2];a=f+B(c?c-1|0:0,20)|0}c=B(c,20)+f|0;f=v[a+4>>2];v[c>>2]=v[a>>2];v[c+4>>2]=f;v[c+16>>2]=v[a+16>>2];f=v[a+12>>2];v[c+8>>2]=v[a+8>>2];v[c+12>>2]=f;v[c>>2]=65535;v[d+72>>2]=v[d+72>>2]+1;v[d+80>>2]=v[d+80>>2]+1;c=v[e+24>>2]-1|0;if(h>>>0<c>>>0){continue}break}}if(!Hd(d,j+1|0)){break I}Hf(d,v[q+28>>2],v[d+80>>2])}i=i+4|0;if((k|0)>-1){continue}}break}Hd(d,n);break I}O(229459,229479,223,229494);L()}c=v[e+292>>2];a=v[c+72>>2];if((a|0)==v[c+76>>2]|!w[c+68|0]){break D}N:{if(w[l+2|0]&64){d=v[c+40>>2];v[c+40>>2]=d-1;if((d|0)>0){break N}}if(w[c+69|0]){h=c;O:{if(v[c+92>>2]==v[c+88>>2]){d=a;if(v[c+80>>2]==(a|0)){break O}}if(!cb(c,1,1)){break N}d=v[c+88>>2]+B(v[c+72>>2],20)|0;f=v[d+4>>2];a=v[c+92>>2]+B(v[c+80>>2],20)|0;v[a>>2]=v[d>>2];v[a+4>>2]=f;v[a+16>>2]=v[d+16>>2];f=v[d+12>>2];v[a+8>>2]=v[d+8>>2];v[a+12>>2]=f;a=v[c+72>>2];d=v[c+80>>2]}v[h+80>>2]=d+1}v[c+72>>2]=a+1}c=v[e+292>>2];if(!w[c+68|0]){break D}f=v[c+72>>2];a=g;continue}}td(c);break c;case 4:Cp(a+8|0,b);break c;case 5:break d;default:break c}}v[e+8>>2]=0;t[e|0]=0;v[e+4>>2]=b;c=w[a+17|0]|w[a+16|0]<<8;a=a+8|0;v[e+12>>2]=c+a;g=v[b+12>>2];v[e+292>>2]=v[b+16>>2];v[e+288>>2]=a;c=e;a=v[g+32>>2];if((a|0)==-1){a=Xc(g)}v[c+296>>2]=a;a=0;f=e+288|0;c=v[f+4>>2];v[c+80>>2]=0;t[c+69|0]=1;t[c+70|0]=0;v[c+92>>2]=v[c+88>>2];c=v[f+4>>2];v[c+72>>2]=0;P:{if(!w[c+68|0]){break P}while(1){g=v[f>>2];h=(w[g+7|0]|w[g+6|0]<<8)+g|0;p=h;m=w[g+5|0]|w[g+4|0]<<8;k=m+g|0;r=k;q=y[c+76>>2]<=l>>>0;d=0;Q:{if(q){break Q}i=v[v[c+88>>2]+B(l,20)>>2];d=2;if((i|0)==65535){break Q}d=i;i=g+(w[g+3|0]|w[g+2|0]<<8)|0;j=d-(w[i|0]<<8|w[i+1|0])|0;d=1;if(j>>>0>=(w[i+3|0]|w[i+2|0]<<8)>>>0){break Q}d=w[(i+j|0)+4|0]}i=w[g+1|0]|w[g|0]<<8;o=i>>>0>d>>>0?d:1;n=B(a,i);d=p+(w[r+(o+n|0)|0]<<3)|0;g=((w[d|0]<<8|w[d+1|0])-m|0)/(i|0)|0;j=w[d+2|0];R:{S:{if((w[d+5|0]|w[d+4|0]<<8)!=65535|(w[d+7|0]|w[d+6|0]<<8)!=65535?w[d+3|0]|j<<8&768:0){break S}if(!(!a|(g?0:j&64))){a=h+(w[k+o|0]<<3)|0;o=w[a+2|0];if(((w[a+5|0]|w[a+4|0]<<8)!=65535|(w[a+7|0]|w[a+6|0]<<8)!=65535?o<<8&768|w[a+3|0]:0)|((j^o)&64|(g|0)!=(((w[a+1|0]|w[a|0]<<8)-m|0)/(i|0)|0))){break S}}a=h+(w[k+(n+!i|0)|0]<<3)|0;if(!(w[a+2|0]<<8&768|w[a+3|0])){break R}if((w[a+5|0]|w[a+4|0]<<8)!=65535){break S}if((w[a+7|0]|w[a+6|0]<<8)==65535){break R}}a=v[(w[c+69|0]?80:72)+c>>2];if(q|!a){break R}md(c,a-1|0,l+1|0)}Ap(e,f,d);c=v[f+4>>2];a=v[c+72>>2];if((a|0)==v[c+76>>2]|!w[c+68|0]){break P}T:{if(w[d+2|0]&64){d=v[c+40>>2];v[c+40>>2]=d-1;if((d|0)>0){break T}}if(w[c+69|0]){k=c;U:{if(v[c+92>>2]==v[c+88>>2]){d=a;if(v[c+80>>2]==(a|0)){break U}}if(!cb(c,1,1)){break T}d=v[c+88>>2]+B(v[c+72>>2],20)|0;h=v[d+4>>2];a=v[c+92>>2]+B(v[c+80>>2],20)|0;v[a>>2]=v[d>>2];v[a+4>>2]=h;v[a+16>>2]=v[d+16>>2];h=v[d+12>>2];v[a+8>>2]=v[d+8>>2];v[a+12>>2]=h;a=v[c+72>>2];d=v[c+80>>2]}v[k+80>>2]=d+1}v[c+72>>2]=a+1}c=v[f+4>>2];if(!w[c+68|0]){break P}l=v[c+72>>2];a=g;continue}}td(c)}Ca=e+304|0;a=v[b+48>>2];e=v[a+12>>2];v[b+24>>2]=e;a=v[a+16>>2];v[b+28>>2]=a+e;if((a|0)<=-1){break a}return}}O(229360,229385,194,229402);L()}function cp(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,u=0,x=0,z=0,A=0,C=0,D=0;i=Ca+-64|0;Ca=i;a:{if((b|0)!=1196445523){p=280448;if((b|0)!=1196643650){break a}m=v[Ic(a+136|0)>>2];m=m?m:280448;p=y[m+16>>2]<10?280448:v[m+12>>2];break a}m=v[ad(a+140|0)>>2];m=m?m:280448;p=y[m+16>>2]<10?280448:v[m+12>>2]}v[i+40>>2]=0;v[i+44>>2]=0;v[i+48>>2]=0;v[i+52>>2]=0;v[i+56>>2]=0;v[i+60>>2]=0;v[i+32>>2]=0;v[i+36>>2]=0;t[i+28|0]=1;v[i+24>>2]=0;v[i+16>>2]=1;v[i+20>>2]=1;m=i+16|0;g=Ca-176|0;Ca=g;b:{if((b|0)!=1196445523){f=280448;if((b|0)!=1196643650){break b}a=v[Ic(a+136|0)>>2];a=a?a:280448;f=y[a+16>>2]<10?280448:v[a+12>>2];break b}a=v[ad(a+140|0)>>2];a=a?a:280448;f=y[a+16>>2]<10?280448:v[a+12>>2]}a=g;v[a+32>>2]=0;v[a+36>>2]=0;t[a+28|0]=1;v[a+24>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;t[a- -64|0]=0;v[a+84>>2]=0;v[a+88>>2]=0;t[a+80|0]=1;v[a+76>>2]=0;v[a+92>>2]=0;v[a+96>>2]=0;v[a+100>>2]=0;v[a+104>>2]=0;v[a+108>>2]=0;v[a+112>>2]=0;v[a+16>>2]=1;v[a+20>>2]=1;v[a+12>>2]=m;v[a+8>>2]=f;v[a+68>>2]=1;v[a+72>>2]=1;t[a+128|0]=1;v[a+124>>2]=0;v[a+132>>2]=0;v[a+136>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;v[a+156>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;v[a+168>>2]=0;v[a+172>>2]=0;v[a+116>>2]=1;v[a+120>>2]=1;j=a+8|0;c:{if(!d){t[j+56|0]=0;break c}t[j+56|0]=1;x=v[d>>2];if(x){q=j+8|0;a=v[70113];A=a;C=v[70112];m=a;f=v[j>>2];while(1){n=d;a=w[f+7|0]|w[f+6|0]<<8;k=a?a+f|0:280448;a=w[k|0]<<8|w[k+1|0];d:{if(!a){break d}u=a-1|0;d=0;while(1){e:{b=d+u|0;o=b>>>1|0;a=k+B(o,6)|0;a=w[a+2|0]|w[a+3|0]<<8|(w[a+4|0]<<16|w[a+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);f:{if(a>>>0>x>>>0){u=o-1|0;break f}if((a|0)==(x|0)){break e}d=o+1|0}if((d|0)<=(u|0)){continue}break d}break}if((o|0)==65535){break d}g:{if(!w[j+20|0]){break g}v[j+24>>2]=-1;a=ec(q,o);if(!a){break g}b=a+(b>>>4&56)|0;a=b;d=v[a+4>>2];k=a;r=v[a>>2];b=o&63;f=b&31;if((b&63)>>>0>=32){h=1<<f;b=0}else{h=(1<<f)-1&1>>>32-f;b=1<<f}v[k>>2]=r|b;v[a+4>>2]=d|h}a=o;h:{if(!a){break h}while(1){k=a;a=a-1|0;if((a|0)==65535){b=!x}else{d=v[j>>2];b=w[d+7|0]|w[d+6|0]<<8;b=b?b+d|0:280448;b=(w[b+1|0]|w[b|0]<<8)>>>0>a>>>0?(b+B(a,6)|0)+2|0:280448;b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);b=(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))==(x|0)}if(!b){break h}i:{if(!w[j+20|0]){break i}v[j+24>>2]=-1;D=a>>>9|0;h=v[j+48>>2];r=v[j+36>>2];j:{k:{if((r|0)<1){d=0;break k}z=v[j+40>>2];u=r-1|0;d=0;while(1){b=d+u>>>1|0;f=D-v[(b<<3)+z>>2]|0;l:{if((f|0)<=-1){u=b-1|0;break l}if(!f){d=b;break j}d=b+1|0}if((d|0)<=(u|0)){continue}break}}if(!hc(q,h+1|0)){break i}m:{if(h>>>0>=y[j+48>>2]){b=v[70127];v[163930]=v[70126];v[163931]=b;b=v[70125];v[163928]=v[70124];v[163929]=b;b=v[70123];v[163926]=v[70122];v[163927]=b;b=v[70121];v[163924]=v[70120];v[163925]=b;b=v[70119];v[163922]=v[70118];v[163923]=b;b=v[70117];v[163920]=v[70116];v[163921]=b;b=v[70115];v[163918]=v[70114];v[163919]=b;v[163916]=C;v[163917]=A;b=655664;break m}b=v[j+52>>2]+(h<<6)|0}v[b>>2]=0;v[b+4>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;f=d<<3;b=f+v[j+40>>2]|0;mb(b+8|0,b,v[j+36>>2]+(d^-1)<<3);n:{if(y[j+36>>2]<=d>>>0){v[163916]=C;v[163917]=A;f=655664;break n}f=f+v[j+40>>2]|0}v[f>>2]=D;v[f+4>>2]=h;r=v[j+36>>2]}o:{if(d>>>0>=r>>>0){v[163916]=C;v[163917]=A;b=m;break o}b=v[(v[j+40>>2]+(d<<3)|0)+4>>2]}p:{if(b>>>0>=y[j+48>>2]){b=v[70127];v[163930]=v[70126];v[163931]=b;b=v[70125];v[163928]=v[70124];v[163929]=b;b=v[70123];v[163926]=v[70122];v[163927]=b;b=v[70121];v[163924]=v[70120];v[163925]=b;b=v[70119];v[163922]=v[70118];v[163923]=b;b=v[70117];v[163920]=v[70116];v[163921]=b;b=v[70115];v[163918]=v[70114];v[163919]=b;v[163916]=C;v[163917]=A;b=655664;break p}d=v[j+52>>2];if(!d){break i}b=d+(b<<6)|0}d=b+(a>>>3&56)|0;b=d;f=v[b+4>>2];r=b;s=v[b>>2];d=a&63;h=d&31;if((d&63)>>>0>=32){d=1<<h;h=0}else{d=(1<<h)-1&1>>>32-h;h=1<<h}v[r>>2]=s|h;v[b+4>>2]=d|f}if((k|0)>1){continue}break}}f=v[j>>2];b=w[f+7|0]|w[f+6|0]<<8;a=o+1|0;b=b?b+f|0:280448;if(a>>>0>=(w[b|0]<<8|w[b+1|0])>>>0){break d}b=b+B(a,6)|0;b=w[b+2|0]|w[b+3|0]<<8|(w[b+4|0]<<16|w[b+5|0]<<24);if((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))!=(x|0)){break d}while(1){q:{if(!w[j+20|0]){break q}v[j+24>>2]=-1;o=a>>>9|0;k=v[j+48>>2];s=v[j+36>>2];r:{s:{if((s|0)<1){d=0;break s}h=v[j+40>>2];u=s-1|0;d=0;while(1){b=d+u>>>1|0;f=o-v[h+(b<<3)>>2]|0;t:{if((f|0)<=-1){u=b-1|0;break t}if(!f){d=b;break r}d=b+1|0}if((d|0)<=(u|0)){continue}break}}if(!hc(q,k+1|0)){break q}u:{if(k>>>0>=y[j+48>>2]){b=v[70127];v[163930]=v[70126];v[163931]=b;b=v[70125];v[163928]=v[70124];v[163929]=b;b=v[70123];v[163926]=v[70122];v[163927]=b;b=v[70121];v[163924]=v[70120];v[163925]=b;b=v[70119];v[163922]=v[70118];v[163923]=b;b=v[70117];v[163920]=v[70116];v[163921]=b;b=v[70115];v[163918]=v[70114];v[163919]=b;v[163916]=C;v[163917]=A;b=655664;break u}b=v[j+52>>2]+(k<<6)|0}v[b>>2]=0;v[b+4>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;f=d<<3;b=f+v[j+40>>2]|0;mb(b+8|0,b,v[j+36>>2]+(d^-1)<<3);v:{if(y[j+36>>2]<=d>>>0){v[163916]=C;v[163917]=A;f=655664;break v}f=f+v[j+40>>2]|0}v[f>>2]=o;v[f+4>>2]=k;s=v[j+36>>2]}w:{if(d>>>0>=s>>>0){v[163916]=C;v[163917]=A;b=m;break w}b=v[(v[j+40>>2]+(d<<3)|0)+4>>2]}x:{if(b>>>0>=y[j+48>>2]){b=v[70127];v[163930]=v[70126];v[163931]=b;b=v[70125];v[163928]=v[70124];v[163929]=b;b=v[70123];v[163926]=v[70122];v[163927]=b;b=v[70121];v[163924]=v[70120];v[163925]=b;b=v[70119];v[163922]=v[70118];v[163923]=b;b=v[70117];v[163920]=v[70116];v[163921]=b;b=v[70115];v[163918]=v[70114];v[163919]=b;v[163916]=C;v[163917]=A;b=655664;break x}d=v[j+52>>2];if(!d){break q}b=d+(b<<6)|0}d=b+(a>>>3&56)|0;b=d;f=v[b+4>>2];o=b;r=v[b>>2];d=a&63;k=d&31;if((d&63)>>>0>=32){h=1<<k;d=0}else{h=(1<<k)-1&1>>>32-k;d=1<<k}v[o>>2]=r|d;v[b+4>>2]=f|h}f=v[j>>2];b=w[f+7|0]|w[f+6|0]<<8;a=a+1|0;b=b?b+f|0:280448;if(a>>>0>=(w[b|0]<<8|w[b+1|0])>>>0){break d}b=b+B(a,6)|0;b=w[b+2|0]|w[b+3|0]<<8|(w[b+4|0]<<16|w[b+5|0]<<24);if((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))==(x|0)){continue}break}}d=n+4|0;x=v[n+4>>2];if(x){continue}break}}}y:{if(c){b=v[c>>2];if(!b){break y}while(1){a=c;d=v[g+8>>2];c=w[d+5|0]|w[d+4|0]<<8;n=c?c+d|0:280448;m=w[n|0]<<8|w[n+1|0];z:{if(!m){break z}c=m-1|0;f=0;while(1){A:{k=c+f>>>1|0;h=(n+B(k,6)|0)+2|0;d=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);B:{if(d>>>0>b>>>0){c=k-1|0;break B}if((b|0)==(d|0)){break A}f=k+1|0}if((c|0)>=(f|0)){continue}break z}break}b=k>>>0<m>>>0?h:280448;b=w[b+4|0]<<8|w[b+5|0];fp(g+8|0,b?b+n|0:280448)}c=a+4|0;b=v[a+4>>2];if(b){continue}break}break y}c=v[g+8>>2];d=w[c+5|0];f=w[c+4|0];a=f<<8|d;a=a?a+c|0:280448;b=w[a|0]<<8|w[a+1|0];if(!b){break y}while(1){a=d&255|(f&255)<<8;c=a?a+c|0:280448;a=(w[c+1|0]|w[c|0]<<8)>>>0>l>>>0?(c+B(l,6)|0)+2|0:280448;a=w[a+4|0]<<8|w[a+5|0];fp(g+8|0,a?a+c|0:280448);l=l+1|0;if((b|0)==(l|0)){break y}c=v[g+8>>2];d=w[c+5|0];f=w[c+4|0];continue}}v[g+116>>2]=-57005;c=v[g+124>>2];if(c){l=v[c+8>>2];if(l){while(1){l=l-1|0;a=v[c+12>>2]+B(l,12)|0;b=v[a+8>>2];a=v[a+4>>2];v[c+8>>2]=l;if(b){Ea[b|0](a);l=v[c+8>>2]}if(l){continue}break}}Pa(v[c+12>>2]);Pa(c)}v[g+132>>2]=0;v[g+136>>2]=0;Pa(v[g+148>>2]);v[g+148>>2]=0;v[g+140>>2]=0;v[g+144>>2]=0;Pa(v[g+160>>2]);v[g+160>>2]=0;v[g+152>>2]=0;v[g+156>>2]=0;Pa(v[g+148>>2]);v[g+148>>2]=0;v[g+140>>2]=0;v[g+144>>2]=0;v[g+68>>2]=-57005;c=v[g+76>>2];if(c){l=v[c+8>>2];if(l){while(1){l=l-1|0;a=v[c+12>>2]+B(l,12)|0;b=v[a+8>>2];a=v[a+4>>2];v[c+8>>2]=l;if(b){Ea[b|0](a);l=v[c+8>>2]}if(l){continue}break}}Pa(v[c+12>>2]);Pa(c)}v[g+84>>2]=0;v[g+88>>2]=0;Pa(v[g+100>>2]);v[g+100>>2]=0;v[g+92>>2]=0;v[g+96>>2]=0;Pa(v[g+112>>2]);v[g+112>>2]=0;v[g+104>>2]=0;v[g+108>>2]=0;Pa(v[g+100>>2]);v[g+100>>2]=0;v[g+92>>2]=0;v[g+96>>2]=0;v[g+16>>2]=-57005;c=v[g+24>>2];if(c){l=v[c+8>>2];if(l){while(1){l=l-1|0;a=v[c+12>>2]+B(l,12)|0;b=v[a+8>>2];a=v[a+4>>2];v[c+8>>2]=l;if(b){Ea[b|0](a);l=v[c+8>>2]}if(l){continue}break}}Pa(v[c+12>>2]);Pa(c)}v[g+32>>2]=0;v[g+36>>2]=0;Pa(v[g+48>>2]);v[g+48>>2]=0;v[g+40>>2]=0;v[g+44>>2]=0;Pa(v[g+60>>2]);v[g+60>>2]=0;v[g+52>>2]=0;v[g+56>>2]=0;Pa(v[g+48>>2]);Ca=g+176|0;v[i+12>>2]=-1;if(Pe(i+16|0,i+12|0)){while(1){C:{if(w[e+12|0]!=1){break C}a=w[p+7|0]|w[p+6|0]<<8;c=a?a+p|0:280448;b=v[i+12>>2];a=b>>>0<(w[c+1|0]|w[c|0]<<8)>>>0?(c+B(b,6)|0)+2|0:280448;a=w[a+4|0]<<8|w[a+5|0];a=a?a+c|0:280448;c=w[a+2|0]<<8|w[a+3|0];if(!c){break C}v[e+16>>2]=-1;b=w[a+5|0]|w[a+4|0]<<8;d=ec(e,b);if(!d){break C}f=a+4|0;while(1){n=b&-512;k=b+512&-512;a=f;while(1){h=(b>>>3&56)+d|0;m=h;f=v[h+4>>2];g=h;o=v[h>>2];b=b&63;h=b&31;if((b&63)>>>0>=32){b=1<<h;h=0}else{b=(1<<h)-1&1>>>32-h;h=1<<h}v[g>>2]=o|h;v[m+4>>2]=b|f;c=c-1|0;if(!c){break C}f=a+2|0;b=w[a+3|0]|w[a+2|0]<<8;if(n>>>0<=b>>>0){a=f;if(b>>>0<k>>>0){continue}}break}d=ec(e,b);if(d){continue}break}}if(Pe(i+16|0,i+12|0)){continue}break}}a=w[p|0]|w[p+1|0]<<8|(w[p+2|0]<<16|w[p+3|0]<<24);D:{if((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0<65537){break D}a=w[p+10|0]|w[p+11|0]<<8|(w[p+12|0]<<16|w[p+13|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);r=a?a+p|0:280448;a=w[r+4|0]|w[r+5|0]<<8|(w[r+6|0]<<16|w[r+7|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!b){break D}g=(r+(b<<3)|0)+8|0;c=r+8|0;while(1){a=b?c:280448;a=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);D=a?a+r|0:280448;q=w[D+5|0]|w[D+4|0]<<8;E:{if(!q){break E}a=v[i+44>>2];if((a|0)<1){break E}m=a-1|0;p=v[i+48>>2];d=D+6|0;while(1){o=w[d+1|0];a=w[d|0];h=o|a<<8;n=a>>>1|0;s=0;a=m;F:{G:{while(1){H:{z=a+s>>>1|0;k=p+(z<<3)|0;f=n-v[k>>2]|0;I:{if((f|0)<=-1){a=z-1|0;break I}if(!f){break H}s=z+1|0}if((a|0)>=(s|0)){continue}break G}break}f=v[k+4>>2];if(f>>>0>=y[i+56>>2]){a=280448}else{a=v[i+60>>2];if(!a){break G}a=a+(f<<6)|0}f=a+(h>>>3&56)|0;a=v[f>>2];k=v[f+4>>2];f=a;a=o&63;n=a&31;if(((a&63)>>>0>=32?k>>>n|0:((1<<n)-1&k)<<32-n|f>>>n)&1){break F}}d=d+6|0;q=q-1|0;if(q){continue}break E}break}if(!q){break E}To(d,D,e);q=q-1|0;if(!q){break E}while(1){a=v[i+44>>2];if((a|0)<1){break E}m=a-1|0;p=v[i+48>>2];while(1){a=d;d=a+6|0;f=w[d|0];o=w[a+7|0];h=f<<8|o;n=f>>>1|0;s=0;a=m;J:{K:{while(1){L:{z=a+s>>>1|0;k=p+(z<<3)|0;f=n-v[k>>2]|0;M:{if((f|0)<=-1){a=z-1|0;break M}if(!f){break L}s=z+1|0}if((a|0)>=(s|0)){continue}break K}break}f=v[k+4>>2];if(f>>>0>=y[i+56>>2]){a=280448}else{a=v[i+60>>2];if(!a){break K}a=a+(f<<6)|0}f=a+(h>>>3&56)|0;a=v[f>>2];k=v[f+4>>2];f=a;a=o&63;n=a&31;if(((a&63)>>>0>=32?k>>>n|0:((1<<n)-1&k)<<32-n|f>>>n)&1){break J}}q=q-1|0;if(q){continue}break E}break}To(d,D,e);q=q-1|0;if(q){continue}break}}a=(b|0)!=0;b=b-a|0;c=(a<<3)+c|0;if((g|0)!=(c|0)){continue}break}}v[i+16>>2]=-57005;d=v[i+24>>2];if(d){b=v[d+8>>2];if(b){while(1){b=b-1|0;a=v[d+12>>2]+B(b,12)|0;c=v[a+8>>2];a=v[a+4>>2];v[d+8>>2]=b;if(c){Ea[c|0](a);b=v[d+8>>2]}if(b){continue}break}}Pa(v[d+12>>2]);Pa(d)}v[i+32>>2]=0;v[i+36>>2]=0;Pa(v[i+48>>2]);v[i+48>>2]=0;v[i+40>>2]=0;v[i+44>>2]=0;Pa(v[i+60>>2]);v[i+60>>2]=0;v[i+52>>2]=0;v[i+56>>2]=0;Pa(v[i+48>>2]);Ca=i- -64|0}function Va(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;m=Ca-16|0;Ca=m;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(a>>>0<=244){f=v[164437];i=a>>>0<11?16:a+11&-8;c=i>>>3|0;b=f>>>c|0;if(b&3){d=c+((b^-1)&1)|0;b=d<<3;e=v[b+657796>>2];a=e+8|0;c=v[e+8>>2];b=b+657788|0;m:{if((c|0)==(b|0)){n=657748,o=jQ(-2,d)&f,v[n>>2]=o;break m}v[c+12>>2]=b;v[b+8>>2]=c}b=d<<3;v[e+4>>2]=b|3;b=b+e|0;v[b+4>>2]=v[b+4>>2]|1;break a}k=v[164439];if(k>>>0>=i>>>0){break l}if(b){a=2<<c;a=(0-a|a)&b<<c;b=(0-a&a)-1|0;a=b>>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;c=(c|a)+(b>>>a|0)|0;a=c<<3;g=v[a+657796>>2];b=v[g+8>>2];a=a+657788|0;n:{if((b|0)==(a|0)){f=jQ(-2,c)&f;v[164437]=f;break n}v[b+12>>2]=a;v[a+8>>2]=b}a=g+8|0;v[g+4>>2]=i|3;d=g+i|0;b=c<<3;e=b-i|0;v[d+4>>2]=e|1;v[b+g>>2]=e;if(k){b=k>>>3|0;c=(b<<3)+657788|0;g=v[164442];b=1<<b;o:{if(!(b&f)){v[164437]=b|f;b=c;break o}b=v[c+8>>2]}v[c+8>>2]=g;v[b+12>>2]=g;v[g+12>>2]=c;v[g+8>>2]=b}v[164442]=d;v[164439]=e;break a}h=v[164438];if(!h){break l}b=(h&0-h)-1|0;a=b>>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;b=v[((c|a)+(b>>>a|0)<<2)+658052>>2];d=(v[b+4>>2]&-8)-i|0;c=b;while(1){p:{a=v[c+16>>2];if(!a){a=v[c+20>>2];if(!a){break p}}c=(v[a+4>>2]&-8)-i|0;e=c>>>0<d>>>0;d=e?c:d;b=e?a:b;c=a;continue}break}j=b+i|0;if(j>>>0<=b>>>0){break k}l=v[b+24>>2];e=v[b+12>>2];if((e|0)!=(b|0)){a=v[b+8>>2];v[a+12>>2]=e;v[e+8>>2]=a;break b}c=b+20|0;a=v[c>>2];if(!a){a=v[b+16>>2];if(!a){break j}c=b+16|0}while(1){g=c;e=a;c=a+20|0;a=v[c>>2];if(a){continue}c=e+16|0;a=v[e+16>>2];if(a){continue}break}v[g>>2]=0;break b}i=-1;if(a>>>0>4294967231){break l}a=a+11|0;i=a&-8;j=v[164438];if(!j){break l}f=31;d=0-i|0;if(i>>>0<=16777215){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;f=(a<<1|i>>>a+21&1)+28|0}c=v[(f<<2)+658052>>2];q:{r:{s:{if(!c){a=0;break s}a=0;b=i<<((f|0)==31?0:25-(f>>>1|0)|0);while(1){t:{g=(v[c+4>>2]&-8)-i|0;if(g>>>0>=d>>>0){break t}e=c;d=g;if(d){break t}d=0;a=c;break r}g=v[c+20>>2];c=v[((b>>>29&4)+c|0)+16>>2];a=g?(g|0)==(c|0)?a:g:a;b=b<<1;if(c){continue}break}}if(!(a|e)){a=2<<f;a=(0-a|a)&j;if(!a){break l}b=(a&0-a)-1|0;a=b>>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;a=v[((c|a)+(b>>>a|0)<<2)+658052>>2]}if(!a){break q}}while(1){b=(v[a+4>>2]&-8)-i|0;c=b>>>0<d>>>0;d=c?b:d;e=c?a:e;b=v[a+16>>2];if(b){a=b}else{a=v[a+20>>2]}if(a){continue}break}}if(!e|v[164439]-i>>>0<=d>>>0){break l}h=e+i|0;if(h>>>0<=e>>>0){break k}f=v[e+24>>2];b=v[e+12>>2];if((e|0)!=(b|0)){a=v[e+8>>2];v[a+12>>2]=b;v[b+8>>2]=a;break c}c=e+20|0;a=v[c>>2];if(!a){a=v[e+16>>2];if(!a){break i}c=e+16|0}while(1){g=c;b=a;c=a+20|0;a=v[c>>2];if(a){continue}c=b+16|0;a=v[b+16>>2];if(a){continue}break}v[g>>2]=0;break c}c=v[164439];if(c>>>0>=i>>>0){d=v[164442];b=c-i|0;u:{if(b>>>0>=16){v[164439]=b;a=d+i|0;v[164442]=a;v[a+4>>2]=b|1;v[c+d>>2]=b;v[d+4>>2]=i|3;break u}v[164442]=0;v[164439]=0;v[d+4>>2]=c|3;a=c+d|0;v[a+4>>2]=v[a+4>>2]|1}a=d+8|0;break a}h=v[164440];if(h>>>0>i>>>0){b=h-i|0;v[164440]=b;c=v[164443];a=c+i|0;v[164443]=a;v[a+4>>2]=b|1;v[c+4>>2]=i|3;a=c+8|0;break a}a=0;j=i+47|0;b=j;if(v[164555]){c=v[164557]}else{v[164558]=-1;v[164559]=-1;v[164556]=4096;v[164557]=4096;v[164555]=m+12&-16^1431655768;v[164560]=0;v[164548]=0;c=4096}g=b+c|0;e=0-c|0;c=g&e;if(c>>>0<=i>>>0){break a}d=v[164547];if(d){b=v[164545];f=b+c|0;if(d>>>0<f>>>0|b>>>0>=f>>>0){break a}}if(w[658192]&4){break f}v:{w:{d=v[164443];if(d){a=658196;while(1){b=v[a>>2];if(d>>>0<b+v[a+4>>2]>>>0?b>>>0<=d>>>0:0){break w}a=v[a+8>>2];if(a){continue}break}}b=Wf(0);if((b|0)==-1){break g}f=c;d=v[164556];a=d-1|0;if(a&b){f=(c-b|0)+(a+b&0-d)|0}if(f>>>0<=i>>>0|f>>>0>2147483646){break g}d=v[164547];if(d){a=v[164545];e=a+f|0;if(d>>>0<e>>>0|a>>>0>=e>>>0){break g}}a=Wf(f);if((b|0)!=(a|0)){break v}break e}f=e&g-h;if(f>>>0>2147483646){break g}b=Wf(f);if((b|0)==(v[a>>2]+v[a+4>>2]|0)){break h}a=b}if(!((a|0)==-1|i+48>>>0<=f>>>0)){b=v[164557];b=b+(j-f|0)&0-b;if(b>>>0>2147483646){b=a;break e}if((Wf(b)|0)!=-1){f=b+f|0;b=a;break e}Wf(0-f|0);break g}b=a;if((a|0)!=-1){break e}break g}L()}e=0;break b}b=0;break c}if((b|0)!=-1){break e}}v[164548]=v[164548]|4}if(c>>>0>2147483646){break d}b=Wf(c);a=Wf(0);if((b|0)==-1|(a|0)==-1|a>>>0<=b>>>0){break d}f=a-b|0;if(f>>>0<=i+40>>>0){break d}}a=v[164545]+f|0;v[164545]=a;if(a>>>0>y[164546]){v[164546]=a}x:{y:{z:{g=v[164443];if(g){a=658196;while(1){d=v[a>>2];c=v[a+4>>2];if((d+c|0)==(b|0)){break z}a=v[a+8>>2];if(a){continue}break}break y}a=v[164441];if(!(a>>>0<=b>>>0?a:0)){v[164441]=b}a=0;v[164550]=f;v[164549]=b;v[164445]=-1;v[164446]=v[164555];v[164552]=0;while(1){d=a<<3;c=d+657788|0;v[d+657796>>2]=c;v[d+657800>>2]=c;a=a+1|0;if((a|0)!=32){continue}break}d=f-40|0;a=b+8&7?-8-b&7:0;c=d-a|0;v[164440]=c;a=a+b|0;v[164443]=a;v[a+4>>2]=c|1;v[(b+d|0)+4>>2]=40;v[164444]=v[164559];break x}if(w[a+12|0]&8|d>>>0>g>>>0|b>>>0<=g>>>0){break y}v[a+4>>2]=c+f;a=g+8&7?-8-g&7:0;c=a+g|0;v[164443]=c;b=v[164440]+f|0;a=b-a|0;v[164440]=a;v[c+4>>2]=a|1;v[(b+g|0)+4>>2]=40;v[164444]=v[164559];break x}if(y[164441]>b>>>0){v[164441]=b}c=b+f|0;a=658196;A:{B:{C:{D:{E:{F:{while(1){if((c|0)!=v[a>>2]){a=v[a+8>>2];if(a){continue}break F}break}if(!(w[a+12|0]&8)){break E}}a=658196;while(1){c=v[a>>2];if(c>>>0<=g>>>0){e=c+v[a+4>>2]|0;if(e>>>0>g>>>0){break D}}a=v[a+8>>2];continue}}v[a>>2]=b;v[a+4>>2]=v[a+4>>2]+f;j=(b+8&7?-8-b&7:0)+b|0;v[j+4>>2]=i|3;f=c+(c+8&7?-8-c&7:0)|0;h=i+j|0;c=f-h|0;if((f|0)==(g|0)){v[164443]=h;a=v[164440]+c|0;v[164440]=a;v[h+4>>2]=a|1;break B}if(v[164442]==(f|0)){v[164442]=h;a=v[164439]+c|0;v[164439]=a;v[h+4>>2]=a|1;v[a+h>>2]=a;break B}a=v[f+4>>2];if((a&3)==1){g=a&-8;G:{if(a>>>0<=255){d=v[f+8>>2];a=a>>>3|0;b=v[f+12>>2];if((b|0)==(d|0)){n=657748,o=v[164437]&jQ(-2,a),v[n>>2]=o;break G}v[d+12>>2]=b;v[b+8>>2]=d;break G}i=v[f+24>>2];b=v[f+12>>2];H:{if((f|0)!=(b|0)){a=v[f+8>>2];v[a+12>>2]=b;v[b+8>>2]=a;break H}I:{a=f+20|0;d=v[a>>2];if(d){break I}a=f+16|0;d=v[a>>2];if(d){break I}b=0;break H}while(1){e=a;b=d;a=b+20|0;d=v[a>>2];if(d){continue}a=b+16|0;d=v[b+16>>2];if(d){continue}break}v[e>>2]=0}if(!i){break G}d=v[f+28>>2];a=(d<<2)+658052|0;J:{if(v[a>>2]==(f|0)){v[a>>2]=b;if(b){break J}n=657752,o=v[164438]&jQ(-2,d),v[n>>2]=o;break G}v[i+(v[i+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break G}}v[b+24>>2]=i;a=v[f+16>>2];if(a){v[b+16>>2]=a;v[a+24>>2]=b}a=v[f+20>>2];if(!a){break G}v[b+20>>2]=a;v[a+24>>2]=b}f=f+g|0;c=c+g|0}v[f+4>>2]=v[f+4>>2]&-2;v[h+4>>2]=c|1;v[c+h>>2]=c;if(c>>>0<=255){a=c>>>3|0;b=(a<<3)+657788|0;c=v[164437];a=1<<a;K:{if(!(c&a)){v[164437]=a|c;a=b;break K}a=v[b+8>>2]}v[b+8>>2]=h;v[a+12>>2]=h;v[h+12>>2]=b;v[h+8>>2]=a;break B}a=31;if(c>>>0<=16777215){a=c>>>8|0;e=a+1048320>>>16&8;a=a<<e;d=a+520192>>>16&4;a=a<<d;b=a+245760>>>16&2;a=(a<<b>>>15|0)-(b|(d|e))|0;a=(a<<1|c>>>a+21&1)+28|0}v[h+28>>2]=a;v[h+16>>2]=0;v[h+20>>2]=0;e=(a<<2)+658052|0;d=v[164438];b=1<<a;L:{if(!(d&b)){v[164438]=b|d;v[e>>2]=h;v[h+24>>2]=e;break L}a=c<<((a|0)==31?0:25-(a>>>1|0)|0);b=v[e>>2];while(1){d=b;if((v[b+4>>2]&-8)==(c|0)){break C}b=a>>>29|0;a=a<<1;e=d+(b&4)|0;b=v[e+16>>2];if(b){continue}break}v[e+16>>2]=h;v[h+24>>2]=d}v[h+12>>2]=h;v[h+8>>2]=h;break B}d=f-40|0;a=b+8&7?-8-b&7:0;c=d-a|0;v[164440]=c;a=a+b|0;v[164443]=a;v[a+4>>2]=c|1;v[(b+d|0)+4>>2]=40;v[164444]=v[164559];a=(e+(e-39&7?39-e&7:0)|0)-47|0;c=a>>>0<g+16>>>0?g:a;v[c+4>>2]=27;a=v[164552];v[c+16>>2]=v[164551];v[c+20>>2]=a;a=v[164550];v[c+8>>2]=v[164549];v[c+12>>2]=a;v[164551]=c+8;v[164550]=f;v[164549]=b;v[164552]=0;a=c+24|0;while(1){v[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0<e>>>0){continue}break}if((c|0)==(g|0)){break x}v[c+4>>2]=v[c+4>>2]&-2;e=c-g|0;v[g+4>>2]=e|1;v[c>>2]=e;if(e>>>0<=255){a=e>>>3|0;b=(a<<3)+657788|0;c=v[164437];a=1<<a;M:{if(!(c&a)){v[164437]=a|c;a=b;break M}a=v[b+8>>2]}v[b+8>>2]=g;v[a+12>>2]=g;v[g+12>>2]=b;v[g+8>>2]=a;break x}a=31;v[g+16>>2]=0;v[g+20>>2]=0;if(e>>>0<=16777215){a=e>>>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|e>>>a+21&1)+28|0}v[g+28>>2]=a;d=(a<<2)+658052|0;c=v[164438];b=1<<a;N:{if(!(c&b)){v[164438]=b|c;v[d>>2]=g;v[g+24>>2]=d;break N}a=e<<((a|0)==31?0:25-(a>>>1|0)|0);b=v[d>>2];while(1){c=b;if((e|0)==(v[b+4>>2]&-8)){break A}b=a>>>29|0;a=a<<1;d=c+(b&4)|0;b=v[d+16>>2];if(b){continue}break}v[d+16>>2]=g;v[g+24>>2]=c}v[g+12>>2]=g;v[g+8>>2]=g;break x}a=v[d+8>>2];v[a+12>>2]=h;v[d+8>>2]=h;v[h+24>>2]=0;v[h+12>>2]=d;v[h+8>>2]=a}a=j+8|0;break a}a=v[c+8>>2];v[a+12>>2]=g;v[c+8>>2]=g;v[g+24>>2]=0;v[g+12>>2]=c;v[g+8>>2]=a}a=v[164440];if(a>>>0<=i>>>0){break d}b=a-i|0;v[164440]=b;c=v[164443];a=c+i|0;v[164443]=a;v[a+4>>2]=b|1;v[c+4>>2]=i|3;a=c+8|0;break a}v[164114]=48;a=0;break a}O:{if(!f){break O}c=v[e+28>>2];a=(c<<2)+658052|0;P:{if(v[a>>2]==(e|0)){v[a>>2]=b;if(b){break P}j=jQ(-2,c)&j;v[164438]=j;break O}v[f+(v[f+16>>2]==(e|0)?16:20)>>2]=b;if(!b){break O}}v[b+24>>2]=f;a=v[e+16>>2];if(a){v[b+16>>2]=a;v[a+24>>2]=b}a=v[e+20>>2];if(!a){break O}v[b+20>>2]=a;v[a+24>>2]=b}Q:{if(d>>>0<=15){a=d+i|0;v[e+4>>2]=a|3;a=a+e|0;v[a+4>>2]=v[a+4>>2]|1;break Q}v[e+4>>2]=i|3;v[h+4>>2]=d|1;v[d+h>>2]=d;if(d>>>0<=255){a=d>>>3|0;b=(a<<3)+657788|0;c=v[164437];a=1<<a;R:{if(!(c&a)){v[164437]=a|c;a=b;break R}a=v[b+8>>2]}v[b+8>>2]=h;v[a+12>>2]=h;v[h+12>>2]=b;v[h+8>>2]=a;break Q}a=31;if(d>>>0<=16777215){a=d>>>8|0;g=a+1048320>>>16&8;a=a<<g;c=a+520192>>>16&4;a=a<<c;b=a+245760>>>16&2;a=(a<<b>>>15|0)-(b|(c|g))|0;a=(a<<1|d>>>a+21&1)+28|0}v[h+28>>2]=a;v[h+16>>2]=0;v[h+20>>2]=0;c=(a<<2)+658052|0;S:{b=1<<a;T:{if(!(b&j)){v[164438]=b|j;v[c>>2]=h;v[h+24>>2]=c;break T}a=d<<((a|0)==31?0:25-(a>>>1|0)|0);i=v[c>>2];while(1){b=i;if((v[b+4>>2]&-8)==(d|0)){break S}c=a>>>29|0;a=a<<1;c=b+(c&4)|0;i=v[c+16>>2];if(i){continue}break}v[c+16>>2]=h;v[h+24>>2]=b}v[h+12>>2]=h;v[h+8>>2]=h;break Q}a=v[b+8>>2];v[a+12>>2]=h;v[b+8>>2]=h;v[h+24>>2]=0;v[h+12>>2]=b;v[h+8>>2]=a}a=e+8|0;break a}U:{if(!l){break U}c=v[b+28>>2];a=(c<<2)+658052|0;V:{if(v[a>>2]==(b|0)){v[a>>2]=e;if(e){break V}n=657752,o=jQ(-2,c)&h,v[n>>2]=o;break U}v[(v[l+16>>2]==(b|0)?16:20)+l>>2]=e;if(!e){break U}}v[e+24>>2]=l;a=v[b+16>>2];if(a){v[e+16>>2]=a;v[a+24>>2]=e}a=v[b+20>>2];if(!a){break U}v[e+20>>2]=a;v[a+24>>2]=e}W:{if(d>>>0<=15){a=d+i|0;v[b+4>>2]=a|3;a=a+b|0;v[a+4>>2]=v[a+4>>2]|1;break W}v[b+4>>2]=i|3;v[j+4>>2]=d|1;v[d+j>>2]=d;if(k){a=k>>>3|0;c=(a<<3)+657788|0;e=v[164442];a=1<<a;X:{if(!(a&f)){v[164437]=a|f;a=c;break X}a=v[c+8>>2]}v[c+8>>2]=e;v[a+12>>2]=e;v[e+12>>2]=c;v[e+8>>2]=a}v[164442]=j;v[164439]=d}a=b+8|0}Ca=m+16|0;return a|0}function av(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=Ca-240|0;Ca=g;a:{b:{while(1){c:{d:{e:{c=b;d=w[c|0];switch(d-10|0){case 1:case 2:break c;case 0:case 3:break e;default:break d}}b=c+1|0;continue}if((d|0)!=239|w[c+1|0]!=187|w[c+2|0]!=191){break c}b=c+3|0;continue}while(1){d=d&255;if(!(1<<d&9217?d>>>0<=13:0)){d=w[b+1|0];b=b+1|0;continue}break}if((b|0)!=(c|0)){if(d){t[b|0]=0;b=b+1|0}v[g+220>>2]=c;Hc(g+220|0);f:{if(!De(v[g+220>>2],2045,13)){v[v[a+88>>2]>>2]=1;break f}if(!De(v[g+220>>2],2059,11)){v[v[a+88>>2]>>2]=2;v[a+32>>2]=2;break f}if(!De(v[g+220>>2],2071,12)){v[v[a+88>>2]>>2]=2;v[a+32>>2]=1;break f}if(!De(v[g+220>>2],2084,8)){v[v[a+88>>2]>>2]=3;break f}c=De(v[g+220>>2],2093,7);d=v[a+88>>2];if(!c){v[d>>2]=4;break f}g:{switch(v[d>>2]-1|0){case 0:f=v[g+220>>2];if(!$a(f,2101,9)){c=v[d+32>>2];h:{if(c&2){c=v[a+84>>2];v[g>>2]=1424;hb(c,2,2239,g);break h}v[d+32>>2]=c|2}o=a,p=Pb(f+9|0),v[o+36>>2]=p;break f}if(!$a(f,2111,9)){c=v[d+32>>2];i:{if(c&4){c=v[a+84>>2];v[g+16>>2]=1433;hb(c,2,2239,g+16|0);break i}v[d+32>>2]=c|4}o=a,p=Pb(f+9|0),v[o+40>>2]=p;break f}if(!$a(f,2121,6)){c=v[d+32>>2];j:{if(c&8){c=v[a+84>>2];v[g+32>>2]=1442;hb(c,2,2239,g+32|0);break j}v[d+32>>2]=c|8}o=a,q=lb(f+6|0,0),A[o+48>>3]=q;break f}if(!$a(f,2128,10)){c=v[d+32>>2];k:{if(c&16){c=v[a+84>>2];v[g+48>>2]=1448;hb(c,2,2239,g+48|0);break k}v[d+32>>2]=c|16}o=a,p=Pb(f+10|0),v[o+56>>2]=p;break f}if(!$a(f,2139,22)){c=v[d+32>>2];l:{if(c&32){c=v[a+84>>2];v[g+64>>2]=1458;hb(c,2,2239,g- -64|0);break l}v[d+32>>2]=c|32}o=a,p=hj(f+22|0),v[o+60>>2]=p;break f}if(!$a(f,2162,8)){c=v[d+32>>2];m:{if(c&128){c=v[a+84>>2];v[g+80>>2]=1480;hb(c,2,2239,g+80|0);break m}v[d+32>>2]=c|128}o=a,p=hj(f+8|0),v[o+64>>2]=p;break f}if(!$a(f,2171,13)){c=v[d+32>>2];n:{if(c&64){c=v[a+84>>2];v[g+96>>2]=1488;hb(c,2,2239,g+96|0);break n}v[d+32>>2]=c|64}o=a,p=qu(f+13|0),v[o+72>>2]=p;break f}if(!$a(f,2185,9)){c=v[d+32>>2];o:{if(c&1){c=v[a+84>>2];v[g+112>>2]=2195;hb(c,2,2239,g+112|0);break o}v[d+32>>2]=c|1}c=f+9|0;f=w[f+9|0];p:{if(!f){break p}while(1){d=c;c=f<<24>>24;if(!(c-9>>>0<4|(c|0)==32|(f&255)==13)){c=d;break p}c=d+1|0;f=w[d+1|0];if(f){continue}break}}Pa(v[a+68>>2]);d=we(c,0,2);f=d?d-c|0:2;d=Va(f+1|0);if(d){Ta(d,c,f);t[d+f|0]=0}v[a+68>>2]=d;break f}if($a(f,2204,22)){break f}if($a(f+22|0,2227,11)){break f}v[d+32>>2]=v[d+32>>2]|256;break f;case 1:c=v[g+220>>2];if(!$a(c,2302,7)){v[g+236>>2]=c+7;Hc(g+236|0);Pa(v[a+24>>2]);c=ib(v[g+236>>2]);v[a+24>>2]=c;if(!c){break f}d=v[a+84>>2];v[g+128>>2]=c;hb(d,7,2310,g+128|0);_u(a,v[g+236>>2],v[a+32>>2]==1?2327:2557);break f}if($a(c,2746,6)){break f}v[g+224>>2]=c+6;Hc(g+224|0);f=v[g+224>>2];v[g+232>>2]=f;d=v[a+24>>2];if(!d){c=a;e=c;q:{if(v[c+32>>2]==2){d=ib(2557);break q}d=ib(2327)}v[e+24>>2]=d;if(!d){break f}}l=ib(d);v[g+228>>2]=l;if(!l){break f}c=v[a+84>>2];v[g+148>>2]=f;v[g+144>>2]=a;hb(c,6,2844,g+144|0);h=v[a>>2];c=v[a+4>>2];if((h|0)>(c|0)){break b}r:{s:{if((c|0)==(h|0)){if(h>>>0>2147483626){break s}v[164114]=0;c=h+20|0;o=a,p=Xb(v[a+16>>2],c,144),v[o+16>>2]=p;if(v[164114]){break s}v[a+4>>2]=c;h=v[a>>2]}v[a>>2]=h+1;i=B(h,144);Ra(i+v[a+16>>2]|0,0,144);if((h|0)>-1){break r}}Pa(l);break f}e=v[a+16>>2]+i|0;v[e+56>>2]=0;v[e+60>>2]=1079574528;v[e+48>>2]=0;v[e+52>>2]=1079574528;j=e- -64|0;Hc(g+228|0);f=v[g+228>>2];t:{if(!w[f|0]){break t}while(1){d=f;while(1){v[g+236>>2]=d;c=w[d|0];if(!(!c|(c|0)==44)){d=d+1|0;continue}break}v[g+228>>2]=((c|0)==44)+d;kd(g+236|0,f);t[v[g+236>>2]]=0;Hc(g+232|0);c=v[g+232>>2];d=c;if(!w[c|0]){break t}while(1){v[g+236>>2]=d;m=w[d|0];if(!(!m|(m|0)==44)){d=d+1|0;continue}break}v[g+232>>2]=((m|0)==44)+d;kd(g+236|0,c);t[v[g+236>>2]]=0;if(!c){break t}u:{if(!jb(f,2839)){while(1){d=c;c=c+1|0;if(w[d|0]==42){continue}break}c=ib(d);if(!c){break u}Pa(v[e>>2]);v[e>>2]=c;break u}if(!jb(f,1501)){c=ib(c);if(!c){break u}Pa(v[e+4>>2]);v[e+4>>2]=c;break u}if(!jb(f,1510)){o=e,p=Bf(c),v[o+16>>2]=p;break u}if(!jb(f,1524)){o=e,p=Bf(c),v[o+20>>2]=p;break u}if(!jb(f,1540)){o=e,p=Bf(c),v[o+24>>2]=p;break u}if(!jb(f,1554)){c=Bf(c);v[e+28>>2]=c;if(v[a+32>>2]!=2){break u}v[e+24>>2]=c;break u}if(!jb(f,1565)){o=e,q=lb(c,0),A[o+8>>3]=q;break u}if(!jb(f,1574)){o=e,p=Pb(c),v[o+32>>2]=p;break u}if(!jb(f,1579)){o=e,p=Pb(c),v[o+36>>2]=p;break u}if(!jb(f,1586)){o=e,p=Pb(c),v[o+40>>2]=p;break u}if(!jb(f,1596)){o=e,p=Pb(c),v[o+44>>2]=p;break u}if(!jb(f,1606)){o=j,q=lb(c,0),A[o>>3]=q;break u}if(!jb(f,1614)){o=e,q=lb(c,0),A[o+72>>3]=q;break u}if(!jb(f,1620)){o=e,p=Pb(c),v[o+80>>2]=p;break u}if(!jb(f,1632)){c=Pb(c);v[e+104>>2]=c;if(v[a+32>>2]==1){o=e,p=lu(c),v[o+104>>2]=p;break u}v:{switch(c-4|0){case 4:v[e+104>>2]=3;break u;case 0:break v;default:break u}}v[e+104>>2]=11;break u}if(!jb(f,1650)){o=e,p=Pb(c),v[o+108>>2]=p;break u}if(!jb(f,1658)){o=e,p=Pb(c),v[o+112>>2]=p;break u}if(!jb(f,1666)){o=e,p=Pb(c),v[o+116>>2]=p;break u}if(!jb(f,1674)){o=e,p=Pb(c),v[o+120>>2]=p;break u}if(!jb(f,1683)){o=e,q=lb(c,0),A[o+48>>3]=q;break u}if(!jb(f,1690)){o=e,q=lb(c,0),A[o+56>>3]=q;break u}if(!jb(f,1697)){o=e,q=lb(c,0),A[o+88>>3]=q;break u}if(jb(f,1705)){break u}o=e,q=lb(c,0),A[o+96>>3]=q}Hc(g+228|0);f=v[g+228>>2];if(w[f|0]){continue}break}}Pa(l);k=A[e+48>>3];A[e+48>>3]=(k>0?k:0)/100;k=A[e+56>>3];A[e+56>>3]=(k>0?k:0)/100;k=A[j>>3];A[j>>3]=k>0?k:0;k=A[e+88>>3];A[e+88>>3]=k>0?k:0;k=A[e+96>>3];A[e+96>>3]=k>0?k:0;v[e+32>>2]=v[e+32>>2]!=0;v[e+36>>2]=v[e+36>>2]!=0;v[e+40>>2]=v[e+40>>2]!=0;v[e+44>>2]=v[e+44>>2]!=0;d=v[e>>2];if(!d){d=ib(2859);v[e>>2]=d}f=v[e+4>>2];if(!f){f=ib(2867);v[e+4>>2]=f}if(!(f?d:0)){c=v[a+16>>2]+i|0;Pa(v[c>>2]);Pa(v[c+4>>2]);v[a>>2]=v[a>>2]-1;break f}if(Wa(d,2859)){break f}v[a+76>>2]=h;break f;case 2:f=v[g+220>>2];v[g+236>>2]=f;if(!$a(f,2302,7)){v[g+232>>2]=f+7;Hc(g+232|0);Pa(v[a+28>>2]);c=ib(v[g+232>>2]);v[a+28>>2]=c;if(!c){break f}d=v[a+84>>2];v[g+160>>2]=c;hb(d,7,2873,g+160|0);_u(a,v[g+232>>2],v[a+32>>2]==1?2890:2962);if(v[v[a+88>>2]+32>>2]!=262|v[a>>2]!=2){break f}if($a(v[v[a+16>>2]+144>>2],2859,7)){break f}v[a+60>>2]=1;hb(v[a+84>>2],4,3035,0);break f}if(!$a(f,3071,9)){if(!v[a+28>>2]){v[d>>2]=3;c=a;d=c;w:{if(v[c+32>>2]==2){c=ib(2962);break w}c=ib(2890)}v[d+28>>2]=c;hb(v[a+84>>2],6,3259,0);if(!v[a+28>>2]){break f}}v[g+236>>2]=f+9;Hc(g+236|0);d=v[a+8>>2];c=v[a+12>>2];if((d|0)>(c|0)){break a}if((c|0)==(d|0)){if(d>>>0>1073741822){break f}v[164114]=0;c=d<<1|1;o=a,p=Xb(v[a+20>>2],c,56),v[o+20>>2]=p;if(v[164114]){break f}v[a+12>>2]=c;d=v[a+8>>2]}v[a+8>>2]=d+1;f=B(d,56);c=f+v[a+20>>2]|0;v[c>>2]=0;v[c+4>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;if((d|0)<0){break f}f=f+v[a+20>>2]|0;h=Ca+-64|0;Ca=h;v[h+44>>2]=v[g+236>>2];l=ib(v[a+28>>2]);x:{if(!l){break x}v[h+40>>2]=l;Hc(h+40|0);d=v[h+40>>2];y:{if(!w[d|0]){break y}while(1){c=d;while(1){v[h+60>>2]=c;e=w[c|0];if(!(!e|(e|0)==44)){c=c+1|0;continue}break}v[h+40>>2]=((e|0)==44)+c;kd(h+60|0,d);t[v[h+60>>2]]=0;if(!jb(d,3297)){c=ib(v[h+44>>2]);v[f+48>>2]=c;z:{if(!c|!w[c|0]){break z}d=c;c=(Xa(c)+c|0)-1|0;if(d>>>0>c>>>0|w[c|0]!=13){break z}t[c|0]=0}c=v[f+8>>2];d=v[f>>2];e=v[f+12>>2]-(v[f+4>>2]+(c>>>0<d>>>0)|0)|0;v[f+8>>2]=c-d;v[f+12>>2]=e;Pa(l);break x}Hc(h+44|0);e=v[h+44>>2];c=e;if(!w[c|0]){break y}while(1){v[h+60>>2]=c;j=w[c|0];if(!(!j|(j|0)==44)){c=c+1|0;continue}break}v[h+44>>2]=((j|0)==44)+c;kd(h+60|0,e);t[v[h+60>>2]]=0;c=jb(d,3302)?d:3306;c=jb(c,2833)?c:2839;A:{if(!jb(c,3315)){o=f,p=Pb(e),v[o+20>>2]=p;break A}if(!jb(c,3321)){c=e;e=Ca-16|0;Ca=e;while(1){d=c;c=c+1|0;if(w[d|0]==42){continue}break}d=jb(d,3655)?d:3655;c=v[a>>2];B:{while(1){if((c|0)>=1){c=c-1|0;if(Wa(v[v[a+16>>2]+B(c,144)>>2],d)){continue}break B}break}j=v[a+84>>2];c=v[a+76>>2];v[e+8>>2]=v[v[a+16>>2]+B(c,144)>>2];v[e+4>>2]=d;v[e>>2]=a;hb(j,2,3663,e)}Ca=e+16|0;v[f+24>>2]=c;break A}if(!jb(c,2839)){c=ib(e);if(!c){break A}Pa(v[f+28>>2]);v[f+28>>2]=c;break A}if(!jb(c,3327)){c=ib(e);if(!c){break A}Pa(v[f+44>>2]);v[f+44>>2]=c;break A}if(!jb(c,1650)){o=f,p=Pb(e),v[o+32>>2]=p;break A}if(!jb(c,1658)){o=f,p=Pb(e),v[o+36>>2]=p;break A}if(!jb(c,1666)){o=f,p=Pb(e),v[o+40>>2]=p;break A}if(!jb(c,3334)){c=v[a+84>>2];v[h>>2]=h+60;v[h+4>>2]=h+56;v[h+8>>2]=h+52;v[h+12>>2]=h+48;if((es(e,h)|0)<=3){hb(c,2,3352,0);v[f>>2]=0;v[f+4>>2]=0;break A}c=f;d=v[h+52>>2];j=d>>31;m=d;d=v[h+56>>2];e=v[h+60>>2];i=eQ(e,e>>31,60,0);e=d+i|0;d=Da+(d>>31)|0;i=eQ(e,e>>>0<i>>>0?d+1|0:d,60,0);d=m+i|0;e=Da+j|0;e=eQ(d,d>>>0<i>>>0?e+1|0:e,1e3,0);j=Da;d=c;c=v[h+48>>2];i=eQ(c,c>>31,10,0);e=i+e|0;c=Da+j|0;v[d>>2]=e;v[d+4>>2]=e>>>0<i>>>0?c+1|0:c;break A}if(jb(c,3306)){break A}c=v[a+84>>2];v[h+16>>2]=h+60;v[h+20>>2]=h+56;v[h+24>>2]=h+52;v[h+28>>2]=h+48;d=f;m=d;C:{if((es(e,h+16|0)|0)<=3){hb(c,2,3352,0);c=0;e=0;break C}c=v[h+52>>2];j=c>>31;n=c;c=v[h+56>>2];e=v[h+60>>2];i=eQ(e,e>>31,60,0);e=c+i|0;c=Da+(c>>31)|0;i=eQ(e,e>>>0<i>>>0?c+1|0:c,60,0);c=n+i|0;e=Da+j|0;c=eQ(c,c>>>0<i>>>0?e+1|0:e,1e3,0);j=Da;e=c;c=v[h+48>>2];i=eQ(c,c>>31,10,0);e=e+i|0;c=Da+j|0;c=e>>>0<i>>>0?c+1|0:c}v[m+8>>2]=e;v[d+12>>2]=c}Hc(h+40|0);d=v[h+40>>2];if(w[d|0]){continue}break}}Pa(l)}Ca=h- -64|0;break f}c=v[a+84>>2];v[g+176>>2]=f;hb(c,6,3081,g+176|0);break f;case 3:break g;default:break f}}f=v[g+220>>2];if(!$a(f,3105,9)){v[g+236>>2]=f+9;Hc(g+236|0);c=v[a+88>>2];if(v[c+4>>2]){Wu(a);c=v[a+88>>2]}d=c;c=ib(v[g+236>>2]);v[d+4>>2]=c;if(!c){break f}d=v[a+84>>2];v[g+192>>2]=c;hb(d,6,3115,g+192|0);break f}c=v[d+4>>2];if(!c){c=v[a+84>>2];v[g+208>>2]=f;hb(c,6,3128,g+208|0);break f}D:{E:{h=v[d+16>>2];e=Xa(f);l=e>>>0>102400?e:102400;if(h>>>0<(l^-1)>>>0){c=v[d+12>>2];if(c>>>0>=e+h>>>0){break D}v[164114]=0;c=c+l|0;d=Xb(v[v[a+88>>2]+8>>2],c,1);v[v[a+88>>2]+8>>2]=d;d=v[a+88>>2];if(!v[164114]){break E}c=v[d+4>>2]}Pa(c);Pa(v[d+8>>2]);v[d+12>>2]=0;v[d+16>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;break f}v[d+12>>2]=c;h=v[d+16>>2]}Ta(v[d+8>>2]+h|0,f,e);c=v[a+88>>2];v[c+16>>2]=e+v[c+16>>2]}if(w[b|0]){continue}}break}if(v[v[a+88>>2]+4>>2]){Wu(a)}Ca=g+240|0;return}O(1282,1319,104,1355);L()}O(1371,1319,127,1408);L()}function _n(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;d=1;a:{b:{switch(c-1|0){case 0:d=0;if(y[b+4>>2]>a>>>0){break a}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<2){break a}c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break a}d=1;c:{d:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}d=0;c=v[b+4>>2];e:{if(c>>>0>a>>>0){break e}e=v[b+8>>2];if(e>>>0<a>>>0|e-a>>>0<6){break e}f=v[b+12>>2];h=f-6|0;v[b+12>>2]=h;if((h|0)<1){break e}g=c;c=a+2|0;if(g>>>0>c>>>0|c>>>0>e>>>0|e-c>>>0<2){break e}e=f-8|0;v[b+12>>2]=e;if((e|0)<1){break e}e=w[a+3|0]|w[a+2|0]<<8;f:{if(!e){break f}if(nc(a+e|0,b)){break f}e=v[b+24>>2];if(e>>>0>31){break e}v[b+24>>2]=e+1;if(!w[b+20|0]){break e}t[c|0]=0;t[c+1|0]=0}c=a+6|0;f=w[a+5|0];e=f|w[a+4|0]<<8;if(e){if(c>>>0<y[b+4>>2]){break e}f=v[b+8>>2];if(f>>>0<c>>>0){break e}e=iQ(e)<<1;if(e>>>0>f-c>>>0){break e}e=v[b+12>>2]-e|0;v[b+12>>2]=e;if((e|0)<1){break e}f=w[a+5|0]}d=1;if(f>>>0<16){break e}d=kg(a+4|0,b,a,c)}return d}c=v[b+4>>2];g:{if(c>>>0>a>>>0){break g}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<8){break g}f=v[b+12>>2];h=f-8|0;v[b+12>>2]=h;if((h|0)<1){break g}g=c;c=a+2|0;if(g>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<2){break g}d=f-10|0;v[b+12>>2]=d;if((d|0)<1){break g}d=w[a+3|0]|w[a+2|0]<<8;h:{if(!d){break h}if(nc(a+d|0,b)){break h}d=v[b+24>>2];if(d>>>0>31){break g}v[b+24>>2]=d+1;if(!w[b+20|0]){break g}t[c|0]=0;t[c+1|0]=0}f=w[a+7|0]|w[a+6|0]<<8;d=w[a+5|0];c=d|w[a+4|0]<<8;g=iQ(c);h=g<<1;if(f>>>0>=4294967295/(h>>>0)>>>0?c:0){break g}c=a+8|0;h=B(f,h);if(h){if(y[b+4>>2]>c>>>0){break g}d=v[b+8>>2];if(d>>>0<c>>>0|h>>>0>d-c>>>0){break g}d=v[b+12>>2]-h|0;v[b+12>>2]=d;if((d|0)<1){break g}d=w[a+5|0]}e=1;if(!f|d>>>0<16){break g}h=a+4|0;d=0;while(1){e=kg(h,b,a,c);if(!e){break g}c=(g<<1)+c|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}return e;case 1:d=0;if(y[b+4>>2]>a>>>0){break a}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<2){break a}c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break a}d=1;i:{j:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break i;case 0:break j;default:break a}}d=0;h=Ca-32|0;Ca=h;c=v[b+4>>2];k:{if(c>>>0>a>>>0){break k}e=v[b+8>>2];if(e>>>0<a>>>0|e-a>>>0<10){break k}f=v[b+12>>2];g=f-10|0;v[b+12>>2]=g;if((g|0)<1){break k}d=w[a+7|0];g=w[a+6|0];i=w[a+5|0];j=w[a+4|0];v[h+16>>2]=a+4;i=iQ(i|j<<8);v[h+20>>2]=i;q=h,r=(iQ(d|g<<8)+i|0)+1|0,v[q+24>>2]=r;l:{d=c;c=a+2|0;if(d>>>0>c>>>0|c>>>0>e>>>0|e-c>>>0<2){break l}d=f-12|0;v[b+12>>2]=d;if((d|0)<1){break l}d=w[a+3|0]|w[a+2|0]<<8;m:{if(!d){break m}if(nc(a+d|0,b)){break m}d=v[b+24>>2];if(d>>>0>31){break l}v[b+24>>2]=d+1;if(!w[b+20|0]){break l}t[c|0]=0;t[c+1|0]=0}v[h+12>>2]=a;v[h+8>>2]=h+16;d=0;f=a+8|0;g=v[b+4>>2];n:{o:{if(f>>>0<g>>>0){break o}c=v[b+8>>2];if(c>>>0<f>>>0|c-f>>>0<2){break o}e=v[b+12>>2]-2|0;v[b+12>>2]=e;if((e|0)<1){break o}i=w[f+1|0]|w[f|0]<<8;a=1;if(!i){break n}a=f+2|0;if(a>>>0<g>>>0|a>>>0>c>>>0){break o}c=c-a|0;a=i<<1;if(c>>>0<a>>>0){break o}a=e-a|0;v[b+12>>2]=a;if((a|0)<1){break o}d=1;o=w[f+1|0]|w[f|0]<<8;if(!o){break o}d=0;e=f+2|0;if(g>>>0>e>>>0){break o}while(1){p:{a=v[b+8>>2];if(a>>>0<e>>>0|a-e>>>0<2){break p}a=v[h+12>>2];c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break p}c=w[(f+(m<<1)|0)+3|0]|w[e|0]<<8;q:{if(!c){break q}g=v[h+8>>2];n=0;p=v[b+4>>2];c=a+c|0;r:{if(p>>>0>c>>>0){break r}d=v[b+8>>2];if(d>>>0<c>>>0|d-c>>>0<2){break r}k=v[b+12>>2]-2|0;v[b+12>>2]=k;if((k|0)<1){break r}j=v[g+8>>2];a=w[c+1|0];i=w[c|0];l=a<<1|i<<9;if(l>>>0>=4294967295/(j>>>0)>>>0?j:0){break r}l=B(j,l);if(l){a=c+2|0;if(a>>>0<p>>>0|a>>>0>d>>>0|l>>>0>d-a>>>0){break r}a=k-l|0;v[b+12>>2]=a;if((a|0)<1){break r}i=w[c|0];a=w[c+1|0]}a=i<<8|a;k=v[g>>2];if(!(!a|w[k+1|0]<16)){d=c+4|0;i=0;while(1){if(!kg(k,b,c,d)){break r}d=(j<<1)+d|0;i=i+1|0;if((a|0)!=(i|0)){continue}break}k=v[g>>2];j=v[g+8>>2]}n=1;if(!a|w[k+3|0]<16){break r}i=k+2|0;d=0;g=v[g+4>>2];g=(g|0)<0?280448:(c+(g<<1)|0)+4|0;j=j<<1;while(1){n=kg(i,b,c,g);if(!n){break r}g=g+j|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}}if(n){break q}a=v[b+24>>2];if(a>>>0>31){break p}v[b+24>>2]=a+1;if(!w[b+20|0]){break p}t[e|0]=0;t[e+1|0]=0}d=1;m=m+1|0;if((o|0)==(m|0)){break o}e=(f+(m<<1)|0)+2|0;if(e>>>0>=y[b+4>>2]){continue}}break}d=0}a=d}d=a;break k}d=0}Ca=h+32|0;return d}c=v[b+4>>2];s:{if(c>>>0>a>>>0){break s}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<16){break s}f=v[b+12>>2];h=f-16|0;v[b+12>>2]=h;if((h|0)<1){break s}g=c;c=a+2|0;if(g>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<2){break s}d=f-18|0;v[b+12>>2]=d;if((d|0)<1){break s}d=w[a+3|0]|w[a+2|0]<<8;t:{if(!d){break t}if(nc(a+d|0,b)){break t}d=v[b+24>>2];if(d>>>0>31){break s}v[b+24>>2]=d+1;if(!w[b+20|0]){break s}t[c|0]=0;t[c+1|0]=0}c=a+8|0;if(c>>>0<y[b+4>>2]){break s}d=v[b+8>>2];if(d>>>0<c>>>0|d-c>>>0<2){break s}d=v[b+12>>2]-2|0;v[b+12>>2]=d;if((d|0)<1){break s}d=w[a+9|0]|w[a+8|0]<<8;u:{if(!d){break u}if(kf(a+d|0,b)){break u}d=v[b+24>>2];if(d>>>0>31){break s}v[b+24>>2]=d+1;if(!w[b+20|0]){break s}t[c|0]=0;t[c+1|0]=0}c=a+10|0;if(c>>>0<y[b+4>>2]){break s}d=v[b+8>>2];if(d>>>0<c>>>0|d-c>>>0<2){break s}d=v[b+12>>2]-2|0;v[b+12>>2]=d;if((d|0)<1){break s}d=w[a+11|0]|w[a+10|0]<<8;v:{if(!d){break v}if(kf(a+d|0,b)){break v}d=v[b+24>>2];if(d>>>0>31){break s}v[b+24>>2]=d+1;if(!w[b+20|0]){break s}t[c|0]=0;t[c+1|0]=0}h=B(w[a+15|0]|w[a+14|0]<<8,w[a+13|0]|w[a+12|0]<<8);d=w[a+5|0];i=iQ(d|w[a+4|0]<<8);g=iQ(w[a+7|0]|w[a+6|0]<<8)+i|0;f=g<<1;if(h>>>0>=4294967295/(f>>>0)>>>0?g:0){break s}c=a+16|0;f=B(f,h);if(f){if(y[b+4>>2]>c>>>0){break s}d=v[b+8>>2];if(d>>>0<c>>>0|f>>>0>d-c>>>0){break s}d=v[b+12>>2]-f|0;v[b+12>>2]=d;if((d|0)<1){break s}d=w[a+5|0]}if(!(!h|d>>>0<16)){d=a+4|0;f=0;while(1){if(!kg(d,b,a,c)){break s}c=(g<<1)+c|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}e=1;if(!h|w[a+7|0]<16){break s}d=a+6|0;c=((i<<1)+a|0)+16|0;f=0;while(1){e=kg(d,b,a,c);if(!e){break s}c=(g<<1)+c|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}return e;case 2:c=0;d=Ca-16|0;Ca=d;f=v[b+4>>2];w:{if(f>>>0>a>>>0){break w}e=v[b+8>>2];if(e>>>0<a>>>0|e-a>>>0<2){break w}h=v[b+12>>2];g=h-2|0;v[b+12>>2]=g;if((g|0)<1){break w}c=1;if((w[a+1|0]|w[a|0]<<8)!=1){break w}x:{c=a+2|0;if(c>>>0<f>>>0|c>>>0>e>>>0|e-c>>>0<2){break x}e=h-4|0;v[b+12>>2]=e;if((e|0)<1){break x}e=w[a+3|0]|w[a+2|0]<<8;y:{if(!e){break y}if(nc(a+e|0,b)){break y}e=v[b+24>>2];if(e>>>0>31){break x}v[b+24>>2]=e+1;if(!w[b+20|0]){break x}t[c|0]=0;t[c+1|0]=0}v[d+12>>2]=a;z:{A:{h=v[b+4>>2];a=a+4|0;if(h>>>0>a>>>0){break A}e=v[b+8>>2];if(e>>>0<a>>>0|e-a>>>0<2){break A}f=v[b+12>>2]-2|0;v[b+12>>2]=f;c=1;if((f|0)<1){break A}g=w[a+1|0]|w[a|0]<<8;B:{if(!g){break B}c=a+2|0;if(c>>>0<h>>>0|c>>>0>e>>>0){break A}e=e-c|0;c=g<<2;if(e>>>0<c>>>0){break A}e=f-c|0;v[b+12>>2]=e;c=0;if((e|0)<1){break B}c=1;e=w[a+1|0]|w[a|0]<<8;if(!e){break B}f=0;while(1){c=0;h=a+(f<<2)|0;g=v[d+12>>2];if(!Wh(h+2|0,b,g)){break B}if(!Wh(h+4|0,b,g)){break B}f=f+1|0;if((e|0)!=(f|0)){continue}break}c=1}break z}c=0}break w}c=0}Ca=d+16|0;return c;case 3:d=0;if(y[b+4>>2]>a>>>0){break a}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<2){break a}c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break a}d=1;if((w[a+1|0]|w[a|0]<<8)!=1){break a}return Zn(a,b);case 4:d=0;if(y[b+4>>2]>a>>>0){break a}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<2){break a}c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break a}d=1;if((w[a+1|0]|w[a|0]<<8)!=1){break a}h=Ca-16|0;Ca=h;c=v[b+4>>2];C:{if(c>>>0>a>>>0){break C}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<=11){break C}f=v[b+12>>2];g=f-12|0;v[b+12>>2]=g;if((g|0)<1){break C}g=c;c=a+2|0;if(g>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<2){break C}d=f-14|0;v[b+12>>2]=d;if((d|0)<1){break C}d=w[a+3|0]|w[a+2|0]<<8;D:{if(!d){break D}if(nc(a+d|0,b)){break D}d=v[b+24>>2];if(d>>>0>31){break C}v[b+24>>2]=d+1;if(!w[b+20|0]){break C}t[c|0]=0;t[c+1|0]=0}c=a+4|0;if(c>>>0<y[b+4>>2]){break C}d=v[b+8>>2];if(d>>>0<c>>>0|d-c>>>0<2){break C}d=v[b+12>>2]-2|0;v[b+12>>2]=d;if((d|0)<1){break C}d=w[a+5|0]|w[a+4|0]<<8;E:{if(!d){break E}if(nc(a+d|0,b)){break E}d=v[b+24>>2];if(d>>>0>31){break C}v[b+24>>2]=d+1;if(!w[b+20|0]){break C}t[c|0]=0;t[c+1|0]=0}c=a+8|0;if(c>>>0<y[b+4>>2]){break C}d=v[b+8>>2];if(d>>>0<c>>>0|d-c>>>0<2){break C}d=v[b+12>>2]-2|0;v[b+12>>2]=d;if((d|0)<1){break C}d=w[a+9|0]|w[a+8|0]<<8;F:{if(!d){break F}d=a+d|0;v[h+12>>2]=d;if(Yn(d,b,h+12|0)){break F}d=v[b+24>>2];if(d>>>0>31){break C}v[b+24>>2]=d+1;if(!w[b+20|0]){break C}t[c|0]=0;t[c+1|0]=0}v[h+8>>2]=w[a+7|0]|w[a+6|0]<<8;g=v[b+4>>2];d=a+10|0;c=0;G:{if(g>>>0>d>>>0){break G}f=v[b+8>>2];c=0;if(f>>>0<d>>>0){break G}c=0;if(f-d>>>0<2){break G}i=v[b+12>>2];j=i-2|0;v[b+12>>2]=j;e=1;c=0;if((j|0)<1){break G}j=h+8|0;c=w[d+1|0]|w[d|0]<<8;H:{if(!c){break H}I:{J:{a=a+c|0;if(a>>>0<g>>>0|a>>>0>f>>>0|f-a>>>0<2){break J}c=i-4|0;v[b+12>>2]=c;if((c|0)<1){break J}i=w[a+1|0]|w[a|0]<<8;if(!i){break H}e=a+2|0;if(e>>>0<g>>>0|e>>>0>f>>>0){break J}g=f-e|0;e=i<<1;if(g>>>0<e>>>0){break J}c=c-e|0;v[b+12>>2]=c;e=1;if((c|0)<1){break J}c=w[a+1|0]|w[a|0]<<8;if(!c){break H}f=0;while(1){if(!Xn((a+(f<<1)|0)+2|0,b,a,j)){break J}f=f+1|0;if((c|0)!=(f|0)){continue}break}break I}a=v[b+24>>2];c=0;if(a>>>0>31){break G}v[b+24>>2]=a+1;e=0;if(!w[b+20|0]){break H}t[d|0]=0;t[d+1|0]=0}e=1}c=e}e=c}Ca=h+16|0;return e;case 5:d=0;if(y[b+4>>2]>a>>>0){break a}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<2){break a}c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break a}d=1;if((w[a+1|0]|w[a|0]<<8)!=1){break a}return Zn(a,b);case 6:return to(a,b);case 7:return so(a,b);case 8:break b;default:break a}}c=0;K:{if(y[b+4>>2]>a>>>0){break K}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<2){break K}d=v[b+12>>2]-2|0;v[b+12>>2]=d;if((d|0)<1){break K}c=1;if((w[a+1|0]|w[a|0]<<8)!=1){break K}c=0;L:{if(y[b+4>>2]>a>>>0){break L}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<8){break L}d=v[b+12>>2]-8|0;v[b+12>>2]=d;if((d|0)<1){break L}d=w[a+3|0]|w[a+2|0]<<8;if((d|0)==9){break L}c=a;a=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=_n(a?c+a|0:280448,b,d)}}d=c}return d}function BF(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,q=0,r=0,s=0,z=0;g=Ca-256|0;Ca=g;a:{if(!b){e=36;break a}h=v[a+4>>2];if(!h){e=35;break a}if(!(v[v[h+128>>2]+52>>2]|y[h+16>>2]>c>>>0)){e=6;break a}e=b;f=e;l=e+12|0;e=e+48|0;if(d&2){d=w[h+9|0]&32?d&-3:d;d=d>>>14&2|d}if(d&1025){d=(w[h+9|0]&32?9:11)|d}o=d&2;v[f+44>>2]=o?l:e;e=v[b+116>>2];b:{if(d&8|(e|0)==-1|(x[h+6>>1]&32767|w[h+9|0]&128)){break b}f=v[b+20>>2];i=v[b+16>>2];c:{e=Ea[v[v[h+540>>2]+72>>2]](h,e,c,d,v[h+104>>2],a+76|0,g+8|0)|0;if(e){h=v[a+4>>2];k=v[h+8>>2]&1;if((e&255)!=157){break c}if(k){break b}u[g+8>>1]=0;u[g+240>>1]=0;u[g+224>>1]=0;u[g+6>>1]=0;if(!v[h+752>>2]){break a}Ea[v[v[h+540>>2]+156>>2]](h,0,c,g+8|0,g+224|0);b=g+240|0;d=g+6|0;d:{if(w[h+292|0]){Ea[v[v[h+540>>2]+156>>2]](h,1,c,b,d);break d}if(x[h+372>>1]!=65535){u[b>>1]=x[h+442>>1];c=u[h+442>>1]-u[h+444>>1]|0;b=c>>31;u[d>>1]=b^b+c;break d}u[b>>1]=x[h+220>>1];c=u[h+220>>1]-u[h+222>>1]|0;b=c>>31;u[d>>1]=b^b+c}v[a+108>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;b=Qa(u[g+8>>1],i);v[a+36>>2]=0;v[a+32>>2]=b;b=Qa(x[g+224>>1],i);v[a+44>>2]=0;v[a+40>>2]=b;s=a,z=Qa(u[g+240>>1],f),v[s+48>>2]=z;b=Qa(x[g+6>>1],f);v[a+100>>2]=0;v[a+104>>2]=0;t[a+94|0]=1;v[a+72>>2]=1651078259;v[a+52>>2]=b;e=0;break a}e=0;v[a+108>>2]=0;v[a+24>>2]=x[g+10>>1]<<6;v[a+28>>2]=x[g+8>>1]<<6;h=u[g+12>>1];v[a+32>>2]=h<<6;k=u[g+14>>1];v[a+36>>2]=k<<6;v[a+40>>2]=x[g+16>>1]<<6;j=u[g+18>>1];v[a+44>>2]=j<<6;n=u[g+20>>1];v[a+48>>2]=n<<6;o=x[g+22>>1];l=k;k=d&16;v[a+104>>2]=k?n:l;v[a+100>>2]=k?j:h;v[a+72>>2]=1651078259;v[a+52>>2]=o<<6;h=v[a+4>>2];if(!(t[h+8|0]&1)){break a}k=v[h+104>>2];Ra(g+20|0,0,192);v[g+212>>2]=0;v[g+216>>2]=0;v[g+32>>2]=k;v[g+16>>2]=a;v[g+12>>2]=b;v[g+8>>2]=h;v[g+24>>2]=d;Ek(g+8|0,c,0,1);Cr(g+212|0,v[v[g+8>>2]+100>>2]);b=v[g+68>>2];v[a+56>>2]=b;v[a+60>>2]=v[g+184>>2];if(!(v[a+40>>2]|!b)){s=a,z=Qa(b,i),v[s+40>>2]=z}if(v[a+52>>2]){break a}b=v[a+60>>2];if(!b){break a}s=a,z=Qa(b,f),v[s+52>>2]=z;break a}if(!k){break a}}r=d&1;if(!(r|w[b+112|0])){e=36;break a}e=6;if(d&16384){break a}q=v[h+104>>2];p=v[h+96>>2];Ra(g+8|0,0,212);if(!o){n=d>>>7&1;e=v[b+304>>2];e:{f:{if((e|0)>=0){f=v[b+308>>2];if((f|0)<0){break f}if(e){break a}e=f;if(!e){break e}break a}k=v[b>>2];i=v[k+100>>2];e=i;f=v[b+132>>2];if(f){Ea[v[e+8>>2]](e,f)}v[b+132>>2]=0;e=v[b+144>>2];if(e){Ea[v[i+8>>2]](i,e)}v[b+144>>2]=0;e=v[b+252>>2];if(e){Ea[v[i+8>>2]](i,e)}v[b+252>>2]=0;e=v[b+260>>2];if(e){Ea[v[i+8>>2]](i,e)}v[b+260>>2]=0;e=v[b+300>>2];if(e){v[e+460>>2]=0;f=v[e+8>>2];j=f;l=v[e+24>>2];if(l){Ea[v[j+8>>2]](j,l)}v[e+20>>2]=0;v[e+24>>2]=0;j=v[e+400>>2];if(j){Ea[v[f+8>>2]](f,j)}v[e+396>>2]=0;v[e+400>>2]=0;j=v[e+500>>2];if(j){Ea[v[f+8>>2]](f,j)}u[e+496>>1]=0;v[e+500>>2]=0;j=v[e+456>>2];if(j){Ea[v[f+8>>2]](f,j)}v[e+456>>2]=0;v[e+448>>2]=0;v[e+452>>2]=0;j=v[e+412>>2];if(j){Ea[v[f+8>>2]](f,j)}v[e+408>>2]=0;v[e+412>>2]=0;v[e>>2]=0;v[e+4>>2]=0;if(e){Ea[v[f+8>>2]](f,e)}}e=v[b+264>>2];if(e){f=v[b+292>>2];if(f){Ea[v[e+8>>2]](e,f)}v[b+292>>2]=0;f=v[b+288>>2];if(f){Ea[v[e+8>>2]](e,f)}v[b+288>>2]=0;f=v[b+280>>2];if(f){Ea[v[e+8>>2]](e,f)}v[b+280>>2]=0;f=v[b+276>>2];if(f){Ea[v[e+8>>2]](e,f)}v[b+276>>2]=0;f=v[b+284>>2];if(f){Ea[v[e+8>>2]](e,f)}v[b+284>>2]=0;v[b+272>>2]=0;v[b+264>>2]=0;v[b+268>>2]=0}v[b+304>>2]=-1;v[b+308>>2]=-1;j=Ca-16|0;Ca=j;e=v[k+96>>2];g:{h:{if(!e){break h}f=v[e+8>>2];e=wb(f,664,j+8|0);if(v[j+8>>2]){break h}v[e+452>>2]=32;v[e+8>>2]=f;s=e,z=Ua(f,16,0,32,0,j+12|0),v[s+456>>2]=z;if(!v[j+12>>2]){v[e+460>>2]=0;v[e+408>>2]=0;v[e+412>>2]=0;v[e+20>>2]=0;v[e+24>>2]=0;v[e>>2]=0;v[e+4>>2]=0;break g}v[e+460>>2]=0;f=v[e+8>>2];l=f;m=v[e+24>>2];if(m){Ea[v[l+8>>2]](l,m)}v[e+20>>2]=0;v[e+24>>2]=0;l=v[e+400>>2];if(l){Ea[v[f+8>>2]](f,l)}v[e+396>>2]=0;v[e+400>>2]=0;l=v[e+500>>2];if(l){Ea[v[f+8>>2]](f,l)}u[e+496>>1]=0;v[e+500>>2]=0;l=v[e+456>>2];if(l){Ea[v[f+8>>2]](f,l)}v[e+456>>2]=0;v[e+448>>2]=0;v[e+452>>2]=0;l=v[e+412>>2];if(l){Ea[v[f+8>>2]](f,l)}v[e+408>>2]=0;v[e+412>>2]=0;v[e>>2]=0;v[e+4>>2]=0;if(e){Ea[v[f+8>>2]](f,e)}if(!v[j+12>>2]){break g}}e=0}Ca=j+16|0;v[b+300>>2]=e;e=x[k+280>>1];v[b+128>>2]=e;f=x[k+282>>1];v[b+148>>2]=0;v[b+152>>2]=0;v[b+136>>2]=0;v[b+124>>2]=0;v[b+140>>2]=f;v[b+248>>2]=v[k+700>>2];f=x[k+278>>1];t[b+113|0]=0;t[b+114|0]=0;u[b+256>>1]=f;v[b+96>>2]=0;v[b+100>>2]=0;v[b+104>>2]=0;v[b+108>>2]=0;s=b,z=Ua(i,24,0,e,0,g+224|0),v[s+132>>2]=z;i:{if(v[g+224>>2]){break i}s=b,z=Ua(i,24,0,v[b+140>>2],0,g+224|0),v[s+144>>2]=z;if(v[g+224>>2]){break i}s=b,z=Ua(i,4,0,v[b+248>>2],0,g+224|0),v[s+252>>2]=z;if(v[g+224>>2]){break i}s=b,z=Ua(i,4,0,x[b+256>>1],0,g+224|0),v[s+260>>2]=z;if(v[g+224>>2]){break i}e=x[k+276>>1];v[b+292>>2]=0;v[b+296>>2]=0;v[b+284>>2]=0;v[b+288>>2]=0;v[b+276>>2]=0;v[b+280>>2]=0;v[b+268>>2]=0;v[b+272>>2]=0;v[b+264>>2]=i;j=e+4|0;e=j&65535;s=b,z=Ua(i,8,0,e,0,g+240|0),v[s+276>>2]=z;j:{k:{l:{f=v[g+240>>2];m:{if(f){break m}s=b,z=Ua(i,8,0,e,0,g+240|0),v[s+280>>2]=z;f=v[g+240>>2];if(f){break m}s=b,z=Ua(i,8,0,e,0,g+240|0),v[s+284>>2]=z;f=v[g+240>>2];if(f){break m}s=b,z=Ua(i,1,0,e,0,g+240|0),v[s+288>>2]=z;f=v[g+240>>2];if(f){break m}s=b,z=Ua(i,2,0,0,0,g+240|0),v[s+292>>2]=z;f=v[g+240>>2];if(!f){break l}}e=v[b+264>>2];if(e){break k}v[g+224>>2]=f;break i}u[b+268>>1]=j;u[b+270>>1]=0;v[g+224>>2]=0;break j}f=v[b+292>>2];if(f){Ea[v[e+8>>2]](e,f)}v[b+292>>2]=0;f=v[b+288>>2];if(f){Ea[v[e+8>>2]](e,f)}v[b+288>>2]=0;f=v[b+280>>2];if(f){Ea[v[e+8>>2]](e,f)}v[b+280>>2]=0;f=v[b+276>>2];if(f){Ea[v[e+8>>2]](e,f)}v[b+276>>2]=0;f=v[b+284>>2];if(f){Ea[v[e+8>>2]](e,f)}v[b+284>>2]=0;v[b+272>>2]=0;v[b+264>>2]=0;v[b+268>>2]=0;e=v[g+240>>2];v[g+224>>2]=e;if(e){break i}}u[b+272>>1]=j;Ta(b+180|0,4624,68);e=v[v[v[k+96>>2]+4>>2]+164>>2];v[k+708>>2]=e?e:29;e=v[b+300>>2];i=v[b>>2];f=Dk(e,i,b);n:{if(f){break n}v[e+512>>2]=0;v[e+516>>2]=0;v[e+508>>2]=64;v[e+16>>2]=0;v[e+448>>2]=0;v[e+596>>2]=16384;t[e+593|0]=n;v[e+220>>2]=0;v[e+224>>2]=0;t[e+520|0]=0;u[e+256>>1]=0;v[e+228>>2]=0;v[e+260>>2]=65536;v[e+264>>2]=0;k=v[i+688>>2];f=v[i+684>>2];v[e+472>>2]=0;v[e+476>>2]=0;v[e+468>>2]=f;v[e+464>>2]=k;v[e+480>>2]=0;v[e+484>>2]=0;o:{if(!f){v[b+304>>2]=0;break o}v[e+372>>2]=f;v[e+364>>2]=k;v[e+368>>2]=0;v[e+360>>2]=1;f=Ea[v[i+708>>2]](e)|0;v[b+304>>2]=f;if(f){break n}}v[b+124>>2]=v[e+416>>2];v[b+136>>2]=v[e+428>>2];v[b+148>>2]=v[e+440>>2];v[b+152>>2]=v[e+444>>2];f=v[e+468>>2];v[b+156>>2]=v[e+464>>2];v[b+160>>2]=f;f=v[e+476>>2];v[b+164>>2]=v[e+472>>2];v[b+168>>2]=f;f=v[e+484>>2];v[b+172>>2]=v[e+480>>2];v[b+176>>2]=f;f=0}e=f;break f}ur(b);e=v[g+224>>2]}if(e){break a}e=v[b+308>>2];if((e|0)<=-1){i=x[b+272>>1];p:{if(!i){break p}k=v[b+280>>2];j=v[b+276>>2];e=0;if((i|0)!=1){f=i&65534;while(1){l=e<<3;m=l+j|0;v[m>>2]=0;v[m+4>>2]=0;m=k+l|0;v[m>>2]=0;v[m+4>>2]=0;l=l|8;m=l+j|0;v[m>>2]=0;v[m+4>>2]=0;l=k+l|0;v[l>>2]=0;v[l+4>>2]=0;e=e+2|0;f=f-2|0;if(f){continue}break}}if(!(i&1)){break p}e=e<<3;f=e+j|0;v[f>>2]=0;v[f+4>>2]=0;e=e+k|0;v[e>>2]=0;v[e+4>>2]=0}e=x[b+256>>1];if(e){Ra(v[b+260>>2],0,e<<2)}Ta(b+180|0,4624,68);e=tr(b,n)}if(e){break a}}i=v[b+300>>2];if(!i){e=153;break a}e=d&983040;q:{if(v[p+64>>2]!=40){k=(e|0)!=131072;e=0;j=0;f=0;break q}j=(e|0)!=131072;e=j&(d&262144)>>>18;k=0;f=!(d&458752)&j}t[i+642|0]=e;e=Dk(i,h,b);if(e){break a}r:{s:{t:{u:{if(v[p+64>>2]==40){e=w[i+641|0]==(j|0);if(!e){t[i+641|0]=j}if((f|0)!=w[i+646|0]){break u}if(w[i+640|0]==(k|0)){break t}t[i+640|0]=k;break s}if(w[i+640|0]==(k|0)){break r}t[i+640|0]=k;break s}t[i+646|0]=f;if(w[i+640|0]==(k|0)){break s}t[i+640|0]=k;break s}if(e){break r}}e=tr(b,n);if(e){break a}}e=w[i+340|0];f=e<<1&2;if(e&2){Ta(i+288|0,4624,68)}t[i+593|0]=n;v[g+164>>2]=i;v[g+168>>2]=v[i+412>>2];d=d|f}e=v[v[a+156>>2]>>2];tf(e);v[g+24>>2]=d;v[g+20>>2]=e;v[g+212>>2]=0;v[g+216>>2]=0;v[g+32>>2]=q;v[g+16>>2]=a;v[g+12>>2]=b;v[g+8>>2]=h;v[a+124>>2]=0;v[a+128>>2]=0;v[a+72>>2]=1869968492;e=Ek(g+8|0,c,0,0);v:{if(e){break v}d=v[g+20>>2];w:{if(v[a+72>>2]==1668246896){v[a+128>>2]=v[d+48>>2];v[a+132>>2]=v[d+52>>2];break w}h=v[d+24>>2];e=a+108|0;v[e>>2]=v[d+20>>2];v[e+4>>2]=h;v[e+16>>2]=v[d+36>>2];h=v[d+32>>2];v[e+8>>2]=v[d+28>>2];v[e+12>>2]=h;v[a+124>>2]=v[a+124>>2]&-513;d=v[g+76>>2];if(!d){break w}ic(e,0-d|0,0)}x:{if(o){break x}d=8;e=v[g+164>>2];y:{if(!w[e+341|0]){break y}d=32;z:{switch(v[e+344>>2]){case 4:d=48;break y;case 5:d=16;break y;case 1:break x;case 0:break y;default:break z}}d=8}v[a+124>>2]=v[a+124>>2]|d}e=v[g+8>>2];k=65536;f=v[g+12>>2];d=v[g+16>>2];k=t[g+24|0]&1?k:v[v[f+44>>2]+8>>2];h=v[e+96>>2];A:{if(v[d+72>>2]!=1668246896){pf(d+108|0,g+240|0);break A}i=v[g+56>>2];v[g+248>>2]=v[g+52>>2];v[g+252>>2]=i;i=v[g+48>>2];v[g+240>>2]=v[g+44>>2];v[g+244>>2]=i}v[d+56>>2]=v[g+68>>2];o=v[g+240>>2];v[d+32>>2]=o;i=v[g+252>>2];v[d+36>>2]=i;v[d+40>>2]=v[g+84>>2]-v[g+76>>2];B:{C:{if(v[h+64>>2]!=40){break C}h=v[g+164>>2];if(!h){break C}if(w[h+643|0]){break B}}if(v[e+488>>2]|v[g+24>>2]&2097154){break B}p=v[e+776>>2];if(!p){break B}h=0;j=v[e+768>>2];l=j?j+8|0:0;n=v[e+780>>2];q=v[e+784>>2];f=x[v[f+44>>2]>>1];while(1){if((f|0)==w[h+q|0]){f=c+2|0;if(!j|f>>>0>=n>>>0){break B}v[d+40>>2]=w[f+(l+B(h,n)|0)|0]<<6;break B}h=h+1|0;if((p|0)!=(h|0)){continue}break}}v[d+24>>2]=v[g+248>>2]-o;h=i-v[g+244>>2]|0;v[d+28>>2]=h;D:{if(!(!w[e+292|0]|!x[e+330>>1])){f=ab(v[g+192>>2]-i|0,k)<<16>>16;h=0;i=v[g+192>>2];j=v[g+200>>2];if((i|0)<=(j|0)){break D}h=ab(i-j|0,k)&65535;break D}f=ab(h,k);h=x[e+372>>1]==65535;h=u[e+(h?220:442)>>1]-u[e+(h?222:444)>>1]|0;f=(h-(f<<16>>16)|0)/2|0}e=v[v[e+128>>2]+52>>2];E:{if(!e){break E}i=v[v[e>>2]+8>>2];if(!i){break E}v[g+232>>2]=h;v[g+228>>2]=f;v[g+224>>2]=0;e=Ea[i|0](v[e+4>>2],c,1,g+224|0)|0;if(e){break v}h=v[g+232>>2];f=v[g+228>>2]}v[d+60>>2]=h;c=d;if(!(t[g+24|0]&1)){f=Qa(f,k);h=Qa(h,k)}v[c+52>>2]=h;v[d+48>>2]=f;v[d+44>>2]=v[d+32>>2]+(v[d+40>>2]/-2|0);e=0}if(!(x[v[b+44>>2]+2>>1]>23|r)){v[a+124>>2]=v[a+124>>2]|256}Cr(g+212|0,v[v[g+8>>2]+100>>2])}Ca=g+256|0;return e|0}function es(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0,x=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;I=Ca-16|0;Ca=I;v[I+12>>2]=b;c=Ca-144|0;Ca=c;d=Ra(c,0,144);v[d+76>>2]=-1;v[d+44>>2]=a;v[d+32>>2]=1038;v[d+84>>2]=a;D=b;c=3340;j=Ca-304|0;Ca=j;a=w[3340];a:{if(!a){break a}b:{c:{d:{e:{while(1){f:{a=a&255;g:{if((a|0)==32|a-9>>>0<5){while(1){a=c;c=c+1|0;b=w[a+1|0];if((b|0)==32|b-9>>>0<5){continue}break}$d(d,0,0);while(1){b=v[d+4>>2];h:{if(b>>>0<y[d+104>>2]){v[d+4>>2]=b+1;b=w[b|0];break h}b=Eb(d)}if((b|0)==32|b-9>>>0<5){continue}break}c=v[d+4>>2];if(v[d+104>>2]){c=c-1|0;v[d+4>>2]=c}b=c-v[d+8>>2]|0;f=b>>31;g=b;e=s+v[d+124>>2]|0;b=x+v[d+120>>2]|0;e=b>>>0<x>>>0?e+1|0:e;c=b;b=g+b|0;e=e+f|0;x=b;s=b>>>0<c>>>0?e+1|0:e;break g}i:{j:{k:{b=w[c|0];if((b|0)==37){a=w[c+1|0];if((a|0)==42){break k}if((a|0)!=37){break j}}$d(d,0,0);a=((b|0)==37)+c|0;b=v[d+4>>2];l:{if(b>>>0<y[d+104>>2]){v[d+4>>2]=b+1;b=w[b|0];break l}b=Eb(d)}if((b|0)!=w[a|0]){if(v[d+104>>2]){v[d+4>>2]=v[d+4>>2]-1}if((b|0)>-1){break a}C=0;if(F){break a}break c}b=x+1|0;s=b>>>0<1?s+1|0:s;x=b;break g}n=0;a=c+2|0;break i}if(!(w[c+2|0]!=36|a-48>>>0>=10)){a=w[c+1|0]-48|0;b=Ca-16|0;v[b+12>>2]=D;a=a>>>0>1?((a<<2)+D|0)-4|0:D;v[b+8>>2]=a+4;n=v[a>>2];a=c+3|0;break i}n=v[D>>2];D=D+4|0;a=c+1|0}C=0;m:{if(w[a|0]-48>>>0>=10){c=0;break m}c=0;while(1){b=a+1|0;c=(w[a|0]+c|0)-48|0;if(w[a+1|0]-48>>>0<10){c=B(c,10);a=b;continue}else{a=b}break}}g=w[a|0];if((g|0)==109){o=0;C=(n|0)!=0;g=w[a+1|0];q=0;a=a+1|0}b=a;a=b+1|0;i=3;n:{o:{switch(g-65|0){case 39:e=b+2|0;b=w[b+1|0]==104;a=b?e:a;i=b?-2:-1;break n;case 43:e=b+2|0;b=w[b+1|0]==108;a=b?e:a;i=b?3:1;break n;case 51:case 57:i=1;break n;case 11:i=2;break n;case 41:break n;case 0:case 2:case 4:case 5:case 6:case 18:case 23:case 26:case 32:case 34:case 35:case 36:case 37:case 38:case 40:case 45:case 46:case 47:case 50:case 52:case 55:break o;default:break d}}i=0;a=b}b=w[a|0];e=(b&47)==3;G=e?1:i;r=e?b|32:b;p:{if((r|0)==91){break p}q:{if((r|0)!=110){if((r|0)!=99){break q}c=(c|0)>1?c:1;break p}fs(n,G,x,s);break g}$d(d,0,0);while(1){b=v[d+4>>2];r:{if(b>>>0<y[d+104>>2]){v[d+4>>2]=b+1;b=w[b|0];break r}b=Eb(d)}if((b|0)==32|b-9>>>0<5){continue}break}b=v[d+4>>2];if(v[d+104>>2]){b=b-1|0;v[d+4>>2]=b}b=b-v[d+8>>2]|0;e=b;f=b>>31;h=s+v[d+124>>2]|0;b=x+v[d+120>>2]|0;h=b>>>0<x>>>0?h+1|0:h;s=b;b=b+e|0;e=f+h|0;x=b;s=b>>>0<s>>>0?e+1|0:e}g=c;h=c>>31;$d(d,c,h);b=v[d+104>>2];e=v[d+4>>2];s:{if(b>>>0>e>>>0){v[d+4>>2]=e+1;break s}if((Eb(d)|0)<0){break d}b=v[d+104>>2]}if(b){v[d+4>>2]=v[d+4>>2]-1}b=16;t:{u:{v:{w:{x:{y:{z:{switch(r-88|0){default:b=r-65|0;if(b>>>0>6|!(1<<b&113)){break t}case 9:case 13:case 14:case 15:is(j,d,G,0);b=v[d+4>>2]-v[d+8>>2]|0;if(v[d+120>>2]==(0-b|0)&v[d+124>>2]==(0-((b>>31)+((b|0)!=0)|0)|0)){break b}if(!n){break t}e=v[j+8>>2];c=v[j+12>>2];m=v[j>>2];i=v[j+4>>2];switch(G|0){case 2:break v;case 1:break w;case 0:break x;default:break t};case 3:case 11:case 27:if((r&239)==99){Ra(j+32|0,-1,257);t[j+32|0]=0;if((r|0)!=115){break u}t[j+65|0]=0;t[j+46|0]=0;u[j+42>>1]=0;u[j+44>>1]=0;break u}e=w[a+1|0];f=(e|0)==94;Ra(j+32|0,f,257);t[j+32|0]=0;b=f?a+2|0:a+1|0;A:{B:{C:{a=w[(f?2:1)+a|0];if((a|0)!=45){if((a|0)==93){break C}i=(e|0)!=94;a=b;break A}i=(e|0)!=94;t[j+78|0]=i;break B}i=(e|0)!=94;t[j+126|0]=i}a=b+1|0}while(1){b=w[a|0];D:{if((b|0)!=45){if(!b){break d}if((b|0)!=93){break D}break u}b=45;e=w[a+1|0];if(!e|(e|0)==93){break D}f=a+1|0;a=w[a-1|0];E:{if(e>>>0<=a>>>0){b=e;break E}while(1){a=a+1|0;t[a+(j+32|0)|0]=i;b=w[f|0];if(b>>>0>a>>>0){continue}break}}a=f}t[(b+j|0)+33|0]=i;a=a+1|0;continue};case 23:b=8;break y;case 12:case 29:b=10;break y;case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 28:case 30:case 31:break t;case 0:case 24:case 32:break y;case 17:break z}}b=0}f=0;e=0;g=0;k=0;i=0;H=Ca-16|0;Ca=H;F:{G:{H:{I:{J:{K:{if(b>>>0<=36){while(1){c=v[d+4>>2];L:{if(c>>>0<y[d+104>>2]){v[d+4>>2]=c+1;c=w[c|0];break L}c=Eb(d)}if((c|0)==32|c-9>>>0<5){continue}break}M:{N:{switch(c-43|0){case 0:case 2:break N;default:break M}}i=(c|0)==45?-1:0;c=v[d+4>>2];if(c>>>0<y[d+104>>2]){v[d+4>>2]=c+1;c=w[c|0];break M}c=Eb(d)}O:{if(!(b&-17|(c|0)!=48)){c=v[d+4>>2];P:{if(c>>>0<y[d+104>>2]){v[d+4>>2]=c+1;c=w[c|0];break P}c=Eb(d)}if((c&-33)==88){b=16;c=v[d+4>>2];Q:{if(c>>>0<y[d+104>>2]){v[d+4>>2]=c+1;c=w[c|0];break Q}c=Eb(d)}if(w[c+523761|0]<16){break J}if(!v[d+104>>2]){break G}v[d+4>>2]=v[d+4>>2]-1;break G}if(b){break O}b=8;break J}b=b?b:10;if(b>>>0>w[c+523761|0]){break O}if(v[d+104>>2]){v[d+4>>2]=v[d+4>>2]-1}$d(d,0,0);v[164114]=28;b=0;c=0;break F}if((b|0)!=10){break J}g=c-48|0;if(g>>>0<=9){b=0;while(1){f=b+g|0;b=v[d+4>>2];R:{if(b>>>0<y[d+104>>2]){v[d+4>>2]=b+1;c=w[b|0];break R}c=Eb(d)}g=c-48|0;if(!(g>>>0>9|f>>>0>429496728)){b=B(f,10);continue}break}}if(g>>>0>9){break K}m=eQ(f,0,10,0);h=Da;b=g;while(1){e=h;c=b+m|0;e=c>>>0<b>>>0?e+1|0:e;f=c;h=(e|0)==429496729&c>>>0>=2576980378|e>>>0>429496729;b=v[d+4>>2];S:{if(b>>>0<y[d+104>>2]){v[d+4>>2]=b+1;c=w[b|0];break S}c=Eb(d)}g=c-48|0;if(h|g>>>0>9){break K}m=eQ(f,e,10,0);h=Da;b=g;if((h|0)==-1&m>>>0<=(b^-1)>>>0|(h|0)!=-1){continue}break}b=10;break I}v[164114]=28;b=0;c=0;break F}b=10;if(g>>>0<=9){break I}break H}if(b-1&b){k=w[c+523761|0];if(k>>>0<b>>>0){while(1){f=g+k|0;e=b;c=v[d+4>>2];T:{if(c>>>0<y[d+104>>2]){v[d+4>>2]=c+1;c=w[c|0];break T}c=Eb(d)}k=w[c+523761|0];if(!(e>>>0<=k>>>0|f>>>0>119304646)){g=B(b,f);continue}break}e=0}if(b>>>0<=k>>>0){break I}g=b;while(1){E=eQ(f,e,g,0);h=Da;m=k&255;if((h|0)==-1&(m^-1)>>>0<E>>>0){break I}e=h;c=m+E|0;e=c>>>0<m>>>0?e+1|0:e;f=c;h=b;c=v[d+4>>2];U:{if(c>>>0<y[d+104>>2]){v[d+4>>2]=c+1;c=w[c|0];break U}c=Eb(d)}k=w[c+523761|0];if(h>>>0<=k>>>0){break I}Ld(H,g,0,f,e);if(!(v[H+8>>2]|v[H+12>>2])){continue}break}break I}m=t[(B(b,23)>>>5&7)+524017|0];g=w[c+523761|0];if(g>>>0<b>>>0){while(1){f=g|k;e=b;c=v[d+4>>2];V:{if(c>>>0<y[d+104>>2]){v[d+4>>2]=c+1;c=w[c|0];break V}c=Eb(d)}g=w[c+523761|0];if(!(e>>>0<=g>>>0|f>>>0>134217727)){k=f<<m;continue}break}e=0}if(b>>>0<=g>>>0){break I}h=m;k=h&31;if((h&63)>>>0>=32){h=0;E=-1>>>k|0}else{h=-1>>>k|0;E=(1<<k)-1<<32-k|-1>>>k}if(!h&f>>>0>E>>>0){break I}while(1){k=g&255;g=f;c=m;f=c&31;if((c&63)>>>0>=32){e=g<<f;c=0}else{e=(1<<f)-1&g>>>32-f|e<<f;c=g<<f}f=k|c;k=b;c=v[d+4>>2];W:{if(c>>>0<y[d+104>>2]){v[d+4>>2]=c+1;c=w[c|0];break W}c=Eb(d)}g=w[c+523761|0];if(k>>>0<=g>>>0){break I}if((e|0)==(h|0)&f>>>0<=E>>>0|e>>>0<h>>>0){continue}break}}if(w[c+523761|0]>=b>>>0){break H}while(1){e=v[d+4>>2];X:{if(e>>>0<y[d+104>>2]){v[d+4>>2]=e+1;c=w[e|0];break X}c=Eb(d)}if(w[c+523761|0]<b>>>0){continue}break}v[164114]=68;i=0;f=-1;e=-1}if(v[d+104>>2]){v[d+4>>2]=v[d+4>>2]-1}Y:{if((f|0)!=-1|(e|0)!=-1){break Y}}b=i;f=b^f;c=b;b=f-b|0;g=e;e=c>>31;c=(g^e)-((c>>>0>f>>>0)+e|0)|0;break F}$d(d,0,0);b=0;c=0}Ca=H+16|0;e=v[d+4>>2]-v[d+8>>2]|0;if(v[d+120>>2]==(0-e|0)&v[d+124>>2]==(0-((e>>31)+((e|0)!=0)|0)|0)){break b}if(!(!n|(r|0)!=112)){v[n>>2]=b;break t}fs(n,G,b,c);break t}h=Ca-32|0;Ca=h;b=c&2147483647;f=b;k=b-1065418752|0;b=b-1082064896|0;g=e;Z:{if((k|0)==(b|0)&e>>>0>e>>>0|b>>>0>k>>>0){f=(c&33554431)<<7|e>>>25;b=0;k=b;g=e&33554431;if(!(!b&(g|0)==16777216?!(i|m):!b&g>>>0<16777216)){b=f+1073741825|0;break Z}b=f+1073741824|0;if(g^16777216|m|(i|k)){break Z}b=(f&1)+b|0;break Z}if(!(!g&(f|0)==2147418112?!(i|m):f>>>0<2147418112)){b=((c&33554431)<<7|e>>>25)&4194303|2143289344;break Z}b=2139095040;if(f>>>0>1082064895){break Z}b=0;f=f>>>16|0;if(f>>>0<16145){break Z}b=e;g=c&65535|65536;Tc(h+16|0,m,i,b,g,f-16129|0);rg(h,m,i,b,g,16257-f|0);g=v[h+8>>2];b=(v[h+12>>2]&33554431)<<7|g>>>25;m=v[h+4>>2];i=m;f=0;k=f;r=v[h>>2]|((v[h+16>>2]|v[h+24>>2])!=0|(v[h+20>>2]|v[h+28>>2])!=0);g=g&33554431;if(!(!f&(g|0)==16777216?!(i|r):!f&g>>>0<16777216)){b=b+1|0;break Z}if(g^16777216|r|(i|k)){break Z}b=(b&1)+b|0}Ca=h+32|0;z[n>>2]=(l(2,c&-2147483648|b),p());break t}J=n,K=eh(m,i,e,c),A[J>>3]=K;break t}v[n>>2]=m;v[n+4>>2]=i;v[n+8>>2]=e;v[n+12>>2]=c;break t}m=(r|0)==99;i=m?c+1|0:31;k=(G|0)!=1;_:{if(!k){b=n;if(C){b=Va(i<<2);if(!b){break e}}v[j+296>>2]=0;v[j+300>>2]=0;c=0;while(1){q=b;$:{while(1){b=v[d+4>>2];aa:{if(b>>>0<y[d+104>>2]){v[d+4>>2]=b+1;b=w[b|0];break aa}b=Eb(d)}if(!w[(b+j|0)+33|0]){break $}t[j+27|0]=b;b=gs(j+28|0,j+27|0,1,j+296|0);if((b|0)==-2){continue}if((b|0)==-1){break f}if(q){v[(c<<2)+q>>2]=v[j+28>>2];c=c+1|0}if(!((c|0)==(i|0)&C)){continue}break}i=i<<1|1;b=gb(q,i<<2);if(b){continue}break f}break}if(j+296|0?v[j+296>>2]:0){break f}o=0;break _}if(C){c=0;b=Va(i);if(!b){break e}while(1){o=b;while(1){b=v[d+4>>2];ba:{if(b>>>0<y[d+104>>2]){v[d+4>>2]=b+1;b=w[b|0];break ba}b=Eb(d)}if(!w[(b+j|0)+33|0]){q=0;break _}t[c+o|0]=b;c=c+1|0;if((i|0)!=(c|0)){continue}break}q=0;i=i<<1|1;b=gb(o,i);if(b){continue}break}break d}c=0;if(n){while(1){b=v[d+4>>2];ca:{if(b>>>0<y[d+104>>2]){v[d+4>>2]=b+1;b=w[b|0];break ca}b=Eb(d)}if(w[(b+j|0)+33|0]){t[c+n|0]=b;c=c+1|0;continue}else{q=0;o=n;break _}}}while(1){b=v[d+4>>2];da:{if(b>>>0<y[d+104>>2]){v[d+4>>2]=b+1;b=w[b|0];break da}b=Eb(d)}if(w[(b+j|0)+33|0]){continue}break}o=0;q=0}b=v[d+4>>2];if(v[d+104>>2]){b=b-1|0;v[d+4>>2]=b}e=b-v[d+8>>2]|0;f=e;b=e+v[d+120>>2]|0;e=v[d+124>>2]+(e>>31)|0;e=b>>>0<f>>>0?e+1|0:e;if(!(e|b)|((b|0)!=(g|0)|(e|0)!=(h|0)?(r|0)==99:0)){break b}ea:{if(!C){break ea}if(!k){v[n>>2]=q;break ea}v[n>>2]=o}if(m){break t}if(q){v[(c<<2)+q>>2]=0}if(!o){o=0;break t}t[c+o|0]=0}b=v[d+4>>2]-v[d+8>>2]|0;f=b>>31;g=b;e=s+v[d+124>>2]|0;b=x+v[d+120>>2]|0;e=b>>>0<x>>>0?e+1|0:e;c=b;b=g+b|0;h=e+f|0;x=b;s=b>>>0<c>>>0?h+1|0:h;F=((n|0)!=0)+F|0}c=a+1|0;a=w[a+1|0];if(a){continue}break a}break}o=0;break d}o=0;q=0}if(F){break b}}F=-1}if(!C){break a}Pa(o);Pa(q)}Ca=j+304|0;Ca=d+144|0;Ca=I+16|0;return F}function JE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;e=Ca-1536|0;Ca=e;v[b>>2]=1;m=xd(v[b+96>>2],7354,1);v[b+488>>2]=m;k=re(v[v[b+96>>2]+4>>2],7371);v[b+492>>2]=k;a:{if(!k){a=11;break a}q=b,r=re(v[v[b+96>>2]+4>>2],7345),v[q+552>>2]=r;i=v[b+492>>2];Ra(e+8|0,0,380);v[b+544>>2]=0;v[b+536>>2]=-1;v[b+540>>2]=-1;v[b+284>>2]=1;v[b+348>>2]=3932;v[b+172>>2]=4;v[b+276>>2]=2596864;v[b+280>>2]=7;f=v[b+104>>2];h=v[b+100>>2];Ea[v[v[i+4>>2]>>2]](e+8|0,0,0,h);v[e+92>>2]=0;v[e+96>>2]=0;t[e+99|0]=0;t[e+100|0]=0;t[e+101|0]=0;t[e+102|0]=0;v[e+84>>2]=0;v[e+88>>2]=0;v[e+80>>2]=f;a=cr(f,7404,14);v[e+4>>2]=a;b:{c:{d:{if(a){if((a&255)!=2){break d}a=cr(f,7419,10);v[e+4>>2]=a;if(a){break d}}a=Ya(f,0);v[e+4>>2]=a;if(a){break d}g=kb(f,e+1528|0);e:{f:{g:{h:{a=v[e+1528>>2];if(!a){if((g+32767&65535)>>>0>=2){v[e+4>>2]=0;break g}d=Sc(f,e+1528|0);a=v[e+1528>>2];if(!a){break h}}v[e+4>>2]=a;break d}v[e+4>>2]=0;if((g|0)==32769){break f}}a=Ya(f,0);v[e+4>>2]=a;if(a){break d}d=v[f+4>>2];break e}t[e+100|0]=1}i:{if(!v[f+20>>2]){a=v[f+8>>2];g=v[f>>2];t[e+101|0]=1;v[e+88>>2]=d;v[e+84>>2]=a+g;a=Ub(f,d);v[e+4>>2]=a;if(a){break d}d=v[e+88>>2];break i}g=qb(h,d,e+4|0);v[e+84>>2]=g;a=v[e+4>>2];if(a){break d}a=Vb(f,g,d);v[e+4>>2]=a;if(a){break d}v[e+88>>2]=d}f=v[e+84>>2];v[e+12>>2]=f;v[e+8>>2]=f;v[e+16>>2]=d+f;v[e>>2]=0;break c}if(w[e+101|0]){v[e>>2]=a;break b}a=v[e+84>>2];if(a){Ea[v[h+8>>2]](h,a)}f=0;v[e+84>>2]=0;a=v[e+4>>2];v[e>>2]=a;if(a){break b}d=v[e+88>>2]}a=br(b,e+8|0,f,d);v[e>>2]=a;if(a){break b}j=v[e+24>>2];a=v[e+80>>2];v[e+4>>2]=0;j:{k:{l:{m:{if(w[e+100|0]){g=v[a+8>>2];v[e+96>>2]=0;while(1){d=kb(a,e+1528|0);h=v[e+1528>>2];if(h){break k}if((d+32767&65535)>>>0>=2){v[e+4>>2]=0;break m}f=Sc(a,e+1528|0);h=v[e+1528>>2];if(h){break k}v[e+4>>2]=0;if((d|0)!=32770){break m}v[e+96>>2]=f+v[e+96>>2];h=Ub(a,f);v[e+4>>2]=h;if(!h){continue}break}break k}d=v[e+84>>2];g=v[e+88>>2];f=d+g|0;a=d;while(1){n:{o:{if(w[a|0]!=101|a+9>>>0>=f>>>0|(w[a+1|0]!=101|w[a+2|0]!=120)){break o}if(w[a+3|0]!=101){break o}if(w[a+4|0]==99){break n}}a=a+1|0;if(f>>>0>a>>>0){continue}v[e>>2]=3;break b}a=a+10|0;v[e+16>>2]=a;v[e+8>>2]=d;p:{if(a>>>0>d>>>0){while(1){q:{if(w[d|0]!=101|d+5>>>0>=a>>>0|(w[d+1|0]!=101|w[d+2|0]!=120)){break q}if(w[d+3|0]!=101){break q}if(w[d+4|0]==99){break p}}Ea[v[e+40>>2]](e+8|0);if(!v[e+20>>2]){Ea[v[e+36>>2]](e+8|0);d=v[e+8>>2];if(d>>>0<a>>>0){continue}}break}g=v[e+88>>2];d=v[e+84>>2]}h=3;f=d+g|0;if(f>>>0>a>>>0){continue}break k}break}v[e+16>>2]=v[e+84>>2]+v[e+88>>2];Ea[v[e+40>>2]](e+8|0);f=v[e+16>>2];a=v[e+8>>2];d=f-a|0;h=we(a,10,d);if(h){d=we(a,13,d)>>>0<h>>>0}else{d=1}h=3;if(a>>>0>=f>>>0){break k}while(1){r:{g=w[a|0];if(!((g|0)==9|(g|0)==32|d&(g|0)==13)){if((g|0)!=10){break r}}a=a+1|0;if((f|0)!=(a|0)){continue}break k}break}g=v[e+84>>2];d=v[e+88>>2]+(g-a|0)|0;s:{if(w[e+101|0]){g=qb(j,d+1|0,e+4|0);v[e+92>>2]=g;h=v[e+4>>2];if(h){break k}v[e+96>>2]=d;break s}v[e+96>>2]=d;v[e+92>>2]=g;t[e+102|0]=1;v[e+84>>2]=0;v[e+88>>2]=0}t:{if(f>>>0<=a+3>>>0){break t}u:{f=w[a|0];if(f-48>>>0<10){break u}switch(f-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break u;default:break t}}v:{f=w[a+1|0];if(f-48>>>0<10){break v}switch(f-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break v;default:break t}}w:{f=w[a+2|0];if(f-48>>>0<10){break w}switch(f-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break w;default:break t}}x:{f=w[a+3|0];if(f-48>>>0<10){break x}switch(f-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break x;default:break t}}v[e+8>>2]=a;Ea[v[v[i+4>>2]+24>>2]](e+8|0,g,d,e+1528|0,0)|0;a=v[e+1528>>2];v[e+96>>2]=a;t[a+v[e+92>>2]|0]=0;break l}mb(g,a,d);break l}if(!v[e+96>>2]){v[e>>2]=3;break b}h=Ya(a,g);v[e+4>>2]=h;if(h){break k}q=e,r=qb(j,v[e+96>>2],e+4|0),v[q+92>>2]=r;h=v[e+4>>2];if(h){break k}v[e+96>>2]=0;f=kb(a,e+1528|0);y:{if(v[e+1528>>2]){break y}while(1){if((f+32767&65535)>>>0>1){break y}d=Sc(a,e+1528|0);if(v[e+1528>>2]){break y}v[e+4>>2]=0;if((f&65535)!=32770){break y}h=Vb(a,v[e+92>>2]+v[e+96>>2]|0,d);v[e+4>>2]=h;if(h){break k}v[e+96>>2]=d+v[e+96>>2];f=kb(a,e+1528|0);if(!v[e+1528>>2]){continue}break}}v[e+4>>2]=0}Ea[v[i+16>>2]](v[e+92>>2],v[e+96>>2],55665);h=3;if(y[e+96>>2]>3){break j}}v[e>>2]=h;break b}t[v[e+92>>2]]=32;t[v[e+92>>2]+1|0]=32;t[v[e+92>>2]+2|0]=32;t[v[e+92>>2]+3|0]=32;a=v[e+92>>2];v[e+12>>2]=a;v[e+8>>2]=a;d=v[e+96>>2];v[e+16>>2]=d+a;f=v[e+4>>2];v[e>>2]=f;if(f){break b}a=br(b,e+8|0,a,d);v[e>>2]=a;if(a){break b}t[b+176|0]=w[b+176|0]&254;z:{A:{f=v[b+532>>2];if(!f){break A}if(v[f>>2]!=1<<v[f+4>>2]){bh(b);f=v[b+532>>2];if(!f){break A}}a=v[f+416>>2];if(!(!a|(a|0)==v[f+4>>2])){v[f+416>>2]=0}B:{C:{if(v[f>>2]){d=v[f+4>>2];if(d){break C}}bh(b);f=v[b+532>>2];if(!f){break A}d=v[f+4>>2];if(!d){break B}}a=0;while(1){if(w[(B(a,12)+f|0)+88|0]){a=a+1|0;if((d|0)!=(a|0)){continue}break B}break}bh(b);if(!v[b+532>>2]){break A}}a=v[b+544>>2];if(!a){break z}q=b,r=Ua(v[b+100>>2],4,0,a,0,e),v[q+548>>2]=r;if(!v[e>>2]){break z}v[b+544>>2]=0;break b}v[b+544>>2]=0}f=v[e+160>>2];v[b+420>>2]=f;if(v[e+336>>2]){v[b+404>>2]=v[e+320>>2];v[b+392>>2]=v[e+324>>2];v[b+408>>2]=v[e+348>>2];v[b+412>>2]=v[e+352>>2];v[b+416>>2]=v[e+376>>2];v[e+376>>2]=0;v[e+336>>2]=0}if(!(v[v[b+128>>2]+52>>2]|v[e+228>>2])){v[e>>2]=3}h=0;v[e+228>>2]=0;v[b+396>>2]=v[e+216>>2];v[b+428>>2]=v[e+240>>2];v[b+432>>2]=v[e+244>>2];v[b+400>>2]=v[e+164>>2];v[b+424>>2]=v[e+188>>2];v[e+188>>2]=0;v[e+164>>2]=0;if(v[b+368>>2]==1){g=0;i=v[e+124>>2];D:{if((i|0)<1){break D}if((f|0)>0){d=0;while(1){j=d<<2;n=v[j+v[e+132>>2]>>2];o=d<<1;u[o+v[b+384>>2]>>1]=0;v[j+v[b+388>>2]>>2]=7396;E:{if(!n){break E}p=v[b+424>>2];a=0;while(1){l=v[(a<<2)+p>>2];if(Wa(n,l)){a=a+1|0;if((f|0)!=(a|0)){continue}break E}break}u[v[b+384>>2]+o>>1]=a;v[j+v[b+388>>2]>>2]=l;if(!Wa(7396,l)){break E}g=(d|0)<(g|0)?g:d+1|0;h=(d|0)<(h|0)?d:h}d=d+1|0;if((i|0)!=(d|0)){continue}break}break D}f=i&3;a=0;if(i-1>>>0>=3){d=i&-4;while(1){u[v[b+384>>2]+(a<<1)>>1]=0;v[v[b+388>>2]+(a<<2)>>2]=7396;g=a|1;u[v[b+384>>2]+(g<<1)>>1]=0;v[v[b+388>>2]+(g<<2)>>2]=7396;g=a|2;u[v[b+384>>2]+(g<<1)>>1]=0;v[v[b+388>>2]+(g<<2)>>2]=7396;g=a|3;u[v[b+384>>2]+(g<<1)>>1]=0;v[v[b+388>>2]+(g<<2)>>2]=7396;a=a+4|0;d=d-4|0;if(d){continue}break}}g=0;if(!f){break D}while(1){u[v[b+384>>2]+(a<<1)>>1]=0;v[v[b+388>>2]+(a<<2)>>2]=7396;a=a+1|0;f=f-1|0;if(f){continue}break}}v[b+380>>2]=g;v[b+376>>2]=h;v[b+372>>2]=v[e+104>>2]}if(y[b+280>>2]>=1001){v[b+280>>2]=7}if(y[b+284>>2]<1001){break b}v[b+284>>2]=1}a=v[e+24>>2];d=v[e+156>>2];if(d){Ea[d|0](e+108|0)}d=v[e+264>>2];if(d){Ea[d|0](e+216|0)}d=v[e+212>>2];if(d){Ea[d|0](e+164|0)}d=v[e+316>>2];if(d){Ea[d|0](e+268|0)}d=v[e+372>>2];if(d){Ea[d|0](e+324|0)}Ei(v[e+376>>2],a);d=v[e+376>>2];if(d){Ea[v[a+8>>2]](a,d)}v[e+376>>2]=0;a=v[e+24>>2];d=a;f=v[e+92>>2];if(f){Ea[v[d+8>>2]](d,f)}v[e+92>>2]=0;if(!w[e+101|0]){d=v[e+84>>2];if(d){Ea[v[a+8>>2]](a,d)}v[e+84>>2]=0}Ea[v[e+32>>2]](e+8|0);a=v[e>>2];if(a|(c|0)<0){break a}a=6;if(c&65535){break a}v[b+4>>2]=0;v[b+16>>2]=v[b+420>>2];c=v[b+8>>2];a=c|2577;v[b+8>>2]=a;if(w[b+156|0]){a=c|2581;v[b+8>>2]=a}h=v[b+532>>2];if(h){v[b+8>>2]=a|256}v[b+24>>2]=0;f=v[b+144>>2];v[b+20>>2]=f;F:{G:{if(f){a=v[b+140>>2];if(!a){break G}c=w[a|0];if(!c){a=7377;break F}while(1){H:{I:{d=c&255;c=w[f|0];if((d|0)==(c|0)){a=a+1|0;break I}d=d-32|0;if(!((d|0)!=13?d:0)){a=a+1|0;break H}J:{switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break G;case 0:case 13:break I;default:break J}}if(c){break G}break F}f=f+1|0}c=w[a|0];if(c){continue}break}a=7377;break F}a=v[b+364>>2];if(!a){break G}v[b+20>>2]=a}a=v[b+148>>2];a=a?a:7377}v[b+24>>2]=a;c=v[b+152>>2]!=0;v[b+12>>2]=c;a=v[b+148>>2];K:{if(!a){break K}if(Wa(a,7385)){if(Wa(a,7390)){break K}}v[b+12>>2]=c|2}v[b+28>>2]=0;v[b+32>>2]=0;v[b+52>>2]=v[b+464>>2]>>16;a=v[b+468>>2]>>16;v[b+56>>2]=a;f=v[b+472>>2]+65535>>16;v[b+60>>2]=f;d=v[b+476>>2]+65535>>16;v[b- -64>>2]=d;c=x[b+68>>1];if(!c){u[b+68>>1]=1e3;c=1e3}u[b+76>>1]=f;u[b+72>>1]=a;u[b+70>>1]=d;a=d-a|0;c=(B(c,12)>>>0)/10|0;u[b+74>>1]=(a|0)>c<<16>>16?a:c;a=0;d=v[b+492>>2];if(!(Ea[v[v[d+12>>2]>>2]](e+8|0,b,0,0,v[b+424>>2],h,0,0,84)|0)){t[e+76|0]=0;t[e+78|0]=1;v[e+1372>>2]=v[b+404>>2];v[e+1376>>2]=v[b+408>>2];v[e+1380>>2]=v[b+412>>2];v[e+1384>>2]=v[b+416>>2];v[e+1504>>2]=v[b+548>>2];v[e+1508>>2]=v[b+544>>2];L:{if(v[b+420>>2]<1){break L}t[e+4|0]=0;M:{if(ah(e+8|0,0,e+1528|0,e+4|0)){break M}a=v[v[v[e+12>>2]+128>>2]+52>>2];if(!a){break M}Ea[v[v[a>>2]+4>>2]](v[a+4>>2],e+1528|0)}a=v[e+48>>2];if(v[b+420>>2]<2){break L}f=1;while(1){t[e+4|0]=0;N:{if(ah(e+8|0,f,e+1528|0,e+4|0)){break N}c=v[v[v[e+12>>2]+128>>2]+52>>2];if(!c){break N}Ea[v[v[c>>2]+4>>2]](v[c+4>>2],e+1528|0)}c=v[e+48>>2];a=(a|0)<(c|0)?c:a;f=f+1|0;if((f|0)<v[b+420>>2]){continue}break}}Ea[v[v[d+12>>2]+4>>2]](e+8|0);u[b+76>>1]=(((a>>31)+a|0)+32768&-65536)>>>16}u[b+78>>1]=x[b+74>>1];v[b+80>>2]=x[b+158>>1]|x[b+160>>1]<<16;if(!m){a=0;break a}f=v[k+32>>2];v[e+8>>2]=b;v[e+12>>2]=1970170211;v[e+16>>2]=65539;a=yd(v[f+12>>2],0,e+8|0,0);O:{P:{if(!a){break P}c=a&255;if((c|0)==163){break P}if((c|0)!=7){break O}}u[e+16>>1]=7;a=0;Q:{R:{switch(v[b+368>>2]-1|0){case 1:u[e+18>>1]=0;v[e+12>>2]=1094995778;break Q;case 3:u[e+18>>1]=1;v[e+12>>2]=1094992453;f=f+4|0;break Q;case 0:u[e+18>>1]=2;v[e+12>>2]=1094992451;f=f+8|0;break Q;case 2:break R;default:break O}}f=f+12|0;u[e+18>>1]=3;v[e+12>>2]=1818326065}b=v[f>>2];if(!b){break O}a=yd(b,0,e+8|0,0)}Ca=e+1536|0;return a|0}Ca=e+1536|0;return a|0}function vN(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,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;i=Ca-26336|0;Ca=i;X=v[b+92>>2];v[a+40>>2]=x[b+68>>1];c=0;a:{if(nf(b,1970170211)){break a}c=v[b+100>>2];Ra(i+19664|4,0,2748);v[i+19664>>2]=c;v[a+9856>>2]=0;v[a+52>>2]=0;c=v[v[(v[v[a>>2]+8>>2]<<2)+293504>>2]+16>>2];f=df();m=w[c|0];b:{if(m){while(1){if((m&255)==32){while(1){d=w[c+1|0];c=c+1|0;if((d|0)==32){continue}break}}c=hg(c,a,f,i+26288|0);c:{if(y[i+26288>>2]>1){break c}if(i){v[i>>2]=v[f+76>>2]}d=v[f+88>>2];cf(f,i);if(!v[i>>2]){break c}d=v[d>>2];if(!d){break c}ne(f);if(fd(b,d,1)){break b}d=v[b+84>>2];if(u[d+110>>1]<1){break b}g=Ra(i,0,19652);c=v[a+40>>2];v[g+16>>2]=0;v[g+20>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;v[g+8>>2]=65536;v[g+12>>2]=65536;v[g+40>>2]=c;v[g+4>>2]=b;v[g+22404>>2]=0;v[g+22412>>2]=g;if(Lh(g+19664|0,d+108|0)){break b}if(gg(g+19664|0,0)){break b}Kh(g+19664|0,0,0,0);d=v[g+19708>>2];if((d|0)>=1){c=v[g+19716>>2];f=c+B(d,44)|0;while(1){d=v[c+20>>2];if(!(!d|v[d+20>>2]!=(c|0)|(e>>>0>15|c>>>0>=d>>>0))){d=u[c+2>>1]-u[d+2>>1]|0;h=d>>31;v[(B(e,12)+a|0)+56>>2]=h^d+h;e=e+1|0}c=c+44|0;if(f>>>0>c>>>0){continue}break}}v[g+26288>>2]=e;Aj(g+26288|0,a+56|0,y[g+40>>2]/100|0);v[a+52>>2]=v[g+26288>>2];if(gg(g+19664|0,1)){break b}e=0;Kh(g+19664|0,0,0,1);d=v[g+21056>>2];if((d|0)>=1){c=v[g+21064>>2];f=c+B(d,44)|0;while(1){d=v[c+20>>2];if(!(!d|v[d+20>>2]!=(c|0)|(e>>>0>15|c>>>0>=d>>>0))){d=u[c+2>>1]-u[d+2>>1]|0;h=d>>31;v[(B(e,12)+a|0)+9860>>2]=h^d+h;e=e+1|0}c=c+44|0;if(f>>>0>c>>>0){continue}break}}v[g+26288>>2]=e;Aj(g+26288|0,a+9860|0,y[g+40>>2]/100|0);v[a+9856>>2]=v[g+26288>>2];break b}m=w[c|0];if(m){continue}break}}ne(f)}if(v[a+52>>2]){c=v[a+56>>2]}else{c=(B(v[a+40>>2],50)|0)/2048|0}t[a+256|0]=0;v[a+252>>2]=c;v[a+248>>2]=(c|0)/5;if(v[a+9856>>2]){c=v[a+9860>>2]}else{c=(B(v[a+40>>2],50)|0)/2048|0}t[a+10060|0]=0;v[a+10056>>2]=c;v[a+10052>>2]=(c|0)/5;gn(i+19664|0);Y=y[a+40>>2]/14|0;S=v[a>>2];c=v[S+12>>2];L=df();c=(c<<3)+287776|0;e=v[c>>2];if((e|0)!=5531){while(1){z=c;C=0;A=0;m=0;n=0;J=e+282240|0;c=w[J|0];d:{if(!c){break d}while(1){if((c&255)==32){while(1){c=w[J+1|0];J=J+1|0;if((c|0)==32){continue}break}}J=hg(J,a,L,i+26332|0);T=v[i+26332>>2];e:{if(!T){break e}G=t[z+4|0]&1?-2147483648:2147483647;M=0;N=0;while(1){c=i+26288|0;if(c){v[c>>2]=v[L+76>>2]}c=v[L+88>>2];f=cf(L,i+26288|0);f:{if(y[i+26288>>2]<=M>>>0){break f}d=B(M,20);c=v[d+c>>2];if(!c){break f}K=v[(d+f|0)+12>>2];if(fd(b,c,1)){break f}c=v[b+84>>2];if(u[c+110>>1]<3){break f}P=0;g:{h:{o=u[c+108>>1];i:{if((o|0)<1){d=0;break i}l=v[c+120>>2];H=v[c+116>>2];r=v[c+112>>2];f=-1;D=0;E=0;j=0;k=0;d=0;while(1){p=u[l+(k<<1)>>1];j:{if((p|0)<=(j|0)){c=f;break j}k:{if(w[z+4|0]&3){l:{if(!((p-j|0)+1&1)){g=j;e=d;c=f;break l}e=v[((j<<3)+r|0)+4>>2];c=K+e|0;g=j+1|0;m:{if(!((f|0)<0|(d|0)<(e|0))){n=(c|0)>(n|0)?n:c;e=d;c=f;break m}m=(c|0)<(m|0)?m:c;d=e;c=j}}if((j|0)==(p|0)){break k}while(1){d=v[((g<<3)+r|0)+4>>2];h=K+d|0;n:{if(!((d|0)<=(e|0)?(c|0)>=0:0)){m=(h|0)<(m|0)?m:h;c=g;break n}n=(h|0)>(n|0)?n:h;d=e}h=g+1|0;e=v[((h<<3)+r|0)+4>>2];q=K+e|0;o:{if(!((c|0)<0|(d|0)<(e|0))){n=(n|0)<(q|0)?n:q;e=d;break o}m=(m|0)>(q|0)?m:q;c=h}g=g+2|0;d=e;if((h|0)!=(p|0)){continue}break}break k}p:{if(!((p-j|0)+1&1)){g=j;e=d;c=f;break p}e=v[((j<<3)+r|0)+4>>2];c=K+e|0;g=j+1|0;q:{if(!((f|0)<0|(d|0)>(e|0))){m=(c|0)<(m|0)?m:c;e=d;c=f;break q}n=(c|0)>(n|0)?n:c;d=e;c=j}}if((j|0)==(p|0)){break k}while(1){d=v[((g<<3)+r|0)+4>>2];h=K+d|0;r:{if(!((d|0)>=(e|0)?(c|0)>=0:0)){n=(h|0)>(n|0)?n:h;c=g;break r}m=(h|0)<(m|0)?m:h;d=e}h=g+1|0;e=v[((h<<3)+r|0)+4>>2];q=K+e|0;s:{if(!((c|0)<0|(d|0)>(e|0))){m=(m|0)>(q|0)?m:q;e=d;break s}n=(n|0)<(q|0)?n:q;c=h}g=g+2|0;d=e;if((h|0)!=(p|0)){continue}break}}f=(c|0)==(f|0);D=f?D:j;E=f?E:p;f=c}j=p+1|0;k=k+1|0;if((o|0)!=(k|0)){continue}break}if((c|0)>-1){break h}}j=x[z+4>>1];break g}O=v[(c<<3)+r>>2];h=c;e=(w[c+H|0]&3)==1?c:-1;g=e;t:{while(1){f=(h|0)>(D|0)?h-1|0:E;o=(f<<3)+r|0;j=v[o+4>>2]-d|0;l=j>>31;l=l^j+l;if(l>>>0>=6){j=v[o>>2]-O|0;o=j>>31;if(B(l,20)>>>0>=(o^j+o)>>>0){break t}}h=(w[f+H|0]&3)==1;g=h?(g|0)<0?f:g:g;e=h?f:e;h=f;if((f|0)!=(c|0)){continue}break}h=c}f=c;u:{while(1){j=(f|0)<(E|0)?f+1|0:D;Q=(j<<3)+r|0;l=v[Q+4>>2]-d|0;o=l>>31;o=o^l+o;if(o>>>0>=6){l=v[Q>>2]-O|0;k=l>>31;if(B(o,20)>>>0>=(k^k+l)>>>0){break u}}f=(w[j+H|0]&3)==1;e=f?(e|0)<0?j:e:e;g=f?j:g;f=j;if((f|0)!=(c|0)){continue}break}f=c}v:{w:{j=x[z+4>>1];if(!(j&16)){break w}o=v[(f<<3)+r>>2]-v[(h<<3)+r>>2]|0;k=o>>31;l=v[a+40>>2];U=(l>>>0)/25|0;if((U|0)<=(k^k+o)){break w}k=c;if(((f-h|0)+2|0)>(E-D|0)){break w}while(1){k=(k|0)>(D|0)?k-1|0:E;V=v[(k<<3)+r>>2];if((c|0)!=(k|0)?(O|0)==(V|0):0){continue}break}if((c|0)==(k|0)){break f}Z=l>>>2|0;k=0;q=1;l=f;c=f;o=0;while(1){if(q&1){k=(w[c+H|0]&3)==1?c:-1;o=k;l=c}c=(c|0)<(E|0)?c+1|0:D;W=0;F=(l<<3)+r|0;q=v[F+4>>2];p=d-q|0;s=p>>31;x:{if((s^p+s)>>>0>Z>>>0){break x}I=(c<<3)+r|0;p=v[I+4>>2]-q|0;s=p>>31;R=s^p+s;y:{if(R>>>0<=5){I=v[I>>2];F=v[F>>2];p=I-F|0;s=p>>31;s=s^p+s;break y}I=v[I>>2];F=v[F>>2];p=I-F|0;s=p>>31;s=s^p+s;if(s>>>0<=B(R,20)>>>0){break x}}W=1;p=(w[c+H|0]&3)==1;k=p?(k|0)<0?c:k:k;o=p?c:o;if((F|0)<(I|0)^(O|0)>(V|0)|(s|0)<(U|0)){break x}f=B(R,20);while(1){c=(c|0)<(E|0)?c+1|0:D;d=v[((c<<3)+r|0)+4>>2]-q|0;e=d>>31;z:{if((e^d+e)>>>0<6){break z}d=v[Q>>2]-F|0;e=d>>31;if(f>>>0<(e^d+e)>>>0){break z}f=(c|0)>(D|0)?c-1|0:E;break v}k=(w[c+H|0]&3)==1?(k|0)<0?c:k:k;o=c;if((c|0)!=(h|0)){continue}break}f=h;o=f;break v}if((c|0)==(h|0)){break w}q=!W;continue}}q=d;l=h;k=e;o=g}d=q+K|0;if(!((k|0)<0|(o|0)<0)){c=v[(o<<3)+r>>2]-v[(k<<3)+r>>2]|0;e=c>>31;if((e^c+e)>>>0>Y>>>0){break g}}if((w[f+H|0]&3)==1?(w[l+H|0]&3)==1:0){break g}P=1;if(j&4){break f}}if(j&1){c=(d|0)>(G|0);G=c?d:G;N=c?P:N;break f}c=(d|0)<(G|0);G=c?d:G;N=c?P:N}M=M+1|0;if((T|0)!=(M|0)){continue}break}if(G-2147483647>>>0<2){break e}c=N&255;v[(c?(i+19664|0)+(A<<2)|0:(C<<2)+i|0)>>2]=G;C=!c+C|0;A=((c|0)!=0)+A|0}c=w[J|0];if(c){continue}break}if(!(A|C)){break d}A:{if(A>>>0<2){break A}d=1;c=A-1|0;g=c&1;if((A|0)!=2){k=c&-2;while(1){j=v[(i+19664|0)+(d<<2)>>2];c=d;while(1){f=c-1|0;h=(i+19664|0)+(f<<2)|0;e=v[h>>2];if((e|0)>(j|0)){v[(i+19664|0)+(c<<2)>>2]=e;v[h>>2]=j;c=f;if(c){continue}}break}c=d+1|0;j=v[(i+19664|0)+(c<<2)>>2];while(1){f=c-1|0;h=(i+19664|0)+(f<<2)|0;e=v[h>>2];if((e|0)>(j|0)){v[(i+19664|0)+(c<<2)>>2]=e;v[h>>2]=j;c=f;if(c){continue}}break}d=d+2|0;k=k-2|0;if(k){continue}break}}if(!g){break A}h=v[(i+19664|0)+(d<<2)>>2];while(1){c=d-1|0;e=(i+19664|0)+(c<<2)|0;f=v[e>>2];if((f|0)<=(h|0)){break A}v[(i+19664|0)+(d<<2)>>2]=f;v[e>>2]=h;d=c;if(c){continue}break}}B:{if(C>>>0<2){break B}d=1;c=C-1|0;g=c&1;if((C|0)!=2){k=c&-2;while(1){j=v[(d<<2)+i>>2];c=d;while(1){f=c-1|0;h=(f<<2)+i|0;e=v[h>>2];if((e|0)>(j|0)){v[(c<<2)+i>>2]=e;v[h>>2]=j;c=f;if(c){continue}}break}c=d+1|0;j=v[(c<<2)+i>>2];while(1){f=c-1|0;h=(f<<2)+i|0;e=v[h>>2];if((e|0)>(j|0)){v[(c<<2)+i>>2]=e;v[h>>2]=j;c=f;if(c){continue}}break}d=d+2|0;k=k-2|0;if(k){continue}break}}if(!g){break B}h=v[(d<<2)+i>>2];while(1){c=d-1|0;e=(c<<2)+i|0;f=v[e>>2];if((f|0)<=(h|0)){break B}v[(d<<2)+i>>2]=f;v[e>>2]=h;d=c;if(c){continue}break}}c=v[a+10064>>2];v[a+10064>>2]=c+1;g=B(c,36)+a|0;h=g+10080|0;d=g+10068|0;C:{D:{if(!C){e=v[(i+19664|0)+(A<<1&-4)>>2];break D}e=v[(C<<1&-4)+i>>2];if(!A){break D}v[d>>2]=e;c=v[(i+19664|0)+(A<<1&-4)>>2];v[h>>2]=c;if((c|0)==(e|0)){f=x[z+4>>1];break C}f=x[z+4>>1];if(((f&3)!=0|0)==((c|0)>(e|0)|0)){break C}c=(c+e|0)/2|0;v[h>>2]=c;v[d>>2]=c;break C}v[h>>2]=e;v[d>>2]=e;f=x[z+4>>1]}e=g+10100|0;d=f<<1&2;v[e>>2]=d;v[g+10096>>2]=n;v[g+10092>>2]=m;c=x[z+4>>1];if(!(c&14)){break d}c=c<<1;v[e>>2]=d|c&4|c&8|c&16}c=z+8|0;e=v[z+8>>2];if((e|0)!=5531){continue}break}}ne(L);E:{l=v[a+10064>>2];if(l){n=l&3;c=0;if(l-1>>>0>=3){e=l&-4;f=a+10068|0;while(1){v[(i+26288|0)+(c<<2)>>2]=f+B(c,36);d=c|1;v[(i+26288|0)+(d<<2)>>2]=f+B(d,36);d=c|2;v[(i+26288|0)+(d<<2)>>2]=f+B(d,36);d=c|3;v[(i+26288|0)+(d<<2)>>2]=f+B(d,36);c=c+4|0;e=e-4|0;if(e){continue}break}}if(n){while(1){v[(i+26288|0)+(c<<2)>>2]=(B(c,36)+a|0)+10068;c=c+1|0;n=n-1|0;if(n){continue}break}}if(l>>>0>=2){f=1;while(1){j=v[(i+26288|0)+(f<<2)>>2];h=v[(w[j+32|0]&6?0:12)+j>>2];c=f;while(1){d=c-1|0;e=(i+26288|0)+(d<<2)|0;g=v[e>>2];if((h|0)<v[(w[g+32|0]&6?0:12)+g>>2]){v[(i+26288|0)+(c<<2)>>2]=g;v[e>>2]=j;c=d;if(c){continue}}break}f=f+1|0;if((l|0)!=(f|0)){continue}break}}g=l-1|0;if(!g){break E}m=v[i+26288>>2];n=v[m+32>>2];c=1;while(1){f=v[(i+26288|0)+(c<<2)>>2];d=v[f+32>>2];e=v[(d&6?12:0)+f>>2];h=(n&6?12:0)+m|0;if((e|0)<v[h>>2]){v[h>>2]=e}if((c|0)==(g|0)){break E}c=c+1|0;n=d;m=f;continue}}a=v[a+36>>2];g=v[a+4>>2];F:{if((g|0)<1){break F}h=v[a+8>>2];f=v[S>>2];c=0;if((g|0)!=1){e=g&-2;while(1){d=c<<1;a=d+h|0;if((f|0)==(x[a>>1]&16383)){u[a>>1]=66}a=h+(d|2)|0;if((f|0)==(x[a>>1]&16383)){u[a>>1]=66}c=c+2|0;e=e-2|0;if(e){continue}break}}if(!(g&1)){break F}a=h+(c<<1)|0;if((f|0)!=(x[a>>1]&16383)){break F}u[a>>1]=66}c=-1;break a}g=0;v[i+16>>2]=v[74624];c=v[74623];v[i+8>>2]=v[74622];v[i+12>>2]=c;c=v[74621];v[i>>2]=v[74620];v[i+4>>2]=c;c=i;h=df();d=0;G:{while(1){c=hg(c,a,h,i+26288|0);H:{if(y[i+26288>>2]>1){break H}f=i+19664|0;if(f){v[f>>2]=v[h+76>>2]}e=v[h+88>>2];f=cf(h,i+19664|0);if(!v[i+19664>>2]|!v[e>>2]){break H}f=v[f>>2];e=g&255;g=1;if(!e){d=f;break H}if((d|0)==(f|0)){break H}c=0;break G}if(w[c|0]){continue}break}c=1}ne(h);t[a+32|0]=c;c=0}se(b,X);Ca=i+26336|0;return c|0}function Vs(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,x=0,y=0,z=0,A=0;i=Ca-2944|0;Ca=i;a:{if(!c){break a}m=Xa(c);if(w[656429]&4){v[i+52>>2]=b;v[i+48>>2]=e?511187:511195;Za(511162,i+48|0)}b:{c:{f=Va(544);if(f){v[f+12>>2]=983;v[f+20>>2]=431;v[f+16>>2]=984;break c}if(f){break c}f=0;break b}v[f+376>>2]=16;v[f+32>>2]=0;v[f+8>>2]=0;g=Ea[v[f+12>>2]](256)|0;v[f+388>>2]=g;d:{if(!g){break d}g=Ea[v[f+12>>2]](1024)|0;v[f+44>>2]=g;if(!g){Ea[v[f+20>>2]](v[f+388>>2]);break d}h=f+12|0;v[f+48>>2]=g+1024;g=Ea[v[f+12>>2]](188)|0;if(g){v[g+80>>2]=0;v[g+84>>2]=0;v[g+104>>2]=0;v[g+108>>2]=0;v[g+100>>2]=h;v[g+124>>2]=h;v[g+8>>2]=0;v[g+12>>2]=0;t[g+4|0]=0;v[g+28>>2]=0;v[g+32>>2]=0;t[g+24|0]=0;v[g+16>>2]=h;v[g>>2]=0;v[g+48>>2]=0;v[g+52>>2]=0;t[g+44|0]=0;v[g+36>>2]=h;v[g+20>>2]=0;v[g+96>>2]=0;v[g+88>>2]=0;v[g+92>>2]=0;v[g+112>>2]=0;v[g+116>>2]=0;v[g+120>>2]=0;v[g+68>>2]=0;v[g+72>>2]=0;t[g+64|0]=0;v[g+56>>2]=h;v[g+40>>2]=0;v[g+60>>2]=0;v[g+76>>2]=h;v[g+140>>2]=0;v[g+144>>2]=0;t[g+136|0]=0;v[g+128>>2]=1;v[g+132>>2]=0;v[g+148>>2]=h;v[g+152>>2]=0;v[g+156>>2]=0;t[g+160|0]=0;v[g+164>>2]=0;v[g+168>>2]=0;v[g+172>>2]=0;v[g+176>>2]=0;v[g+180>>2]=0;v[g+184>>2]=0;v[f+352>>2]=g;v[f+364>>2]=0;v[f+372>>2]=0;v[f+300>>2]=0;v[f+460>>2]=0;v[f+464>>2]=0;t[f+468|0]=33;v[f+244>>2]=0;v[f+124>>2]=0;u[f+232>>1]=0;v[f+412>>2]=0;v[f+416>>2]=0;v[f+228>>2]=0;v[f+392>>2]=0;v[f+396>>2]=0;v[f+436>>2]=0;v[f+440>>2]=0;v[f+420>>2]=0;v[f+424>>2]=0;v[f+428>>2]=0;t[f+400|0]=0;v[f+432>>2]=h;v[f+452>>2]=0;v[f+444>>2]=0;v[f+448>>2]=0;v[f+456>>2]=h;l=Ca-16|0;Ca=l;v[f+276>>2]=985;v[f+252>>2]=933;v[f+272>>2]=0;v[f+264>>2]=0;v[f+268>>2]=1;while(1){g=j+511204|0;h=j+1|0;j=h;if(w[g|0]){continue}break}g=Ea[v[f+12>>2]](h)|0;if(g){Ta(g,511204,h)}v[f+228>>2]=g;j=0;v[f+356>>2]=0;xt(f+148|0,f+144|0,0);v[f+52>>2]=0;v[f+56>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[f+60>>2]=0;v[f+64>>2]=0;v[f+68>>2]=0;v[f+72>>2]=0;v[f+76>>2]=0;v[f+80>>2]=0;v[f+84>>2]=0;v[f+88>>2]=0;v[f+92>>2]=0;v[f+96>>2]=0;v[f+100>>2]=0;v[f+104>>2]=0;v[f+108>>2]=0;v[f+112>>2]=0;v[f+128>>2]=0;v[f+132>>2]=0;v[f+120>>2]=0;v[f+136>>2]=0;v[f+140>>2]=0;v[f+404>>2]=0;v[f+408>>2]=0;v[f+36>>2]=0;v[f+40>>2]=0;g=v[f+8>>2];v[f+28>>2]=g;v[f+24>>2]=g;v[f+116>>2]=f;v[f+296>>2]=0;v[f+288>>2]=0;v[f+292>>2]=0;v[f+280>>2]=0;v[f+284>>2]=0;v[f+312>>2]=0;v[f+316>>2]=0;v[f+320>>2]=0;v[f+324>>2]=0;v[f+328>>2]=0;v[f+332>>2]=0;v[f+336>>2]=0;v[f+340>>2]=0;u[f+342>>1]=0;u[f+344>>1]=0;u[f+346>>1]=0;u[f+348>>1]=0;v[f+308>>2]=0;v[f+360>>2]=0;v[f+368>>2]=0;v[f+380>>2]=0;t[f+304|0]=1;v[f+248>>2]=0;v[f+236>>2]=0;v[f+240>>2]=0;u[f+484>>1]=0;v[f+472>>2]=0;v[f+476>>2]=0;v[f+520>>2]=0;v[f+524>>2]=0;v[f+512>>2]=0;v[f+516>>2]=0;v[f+504>>2]=0;v[f+508>>2]=0;v[f+496>>2]=0;v[f+500>>2]=0;v[f+488>>2]=0;v[f+492>>2]=0;h=0;g=Yb(508926);e:{if(!g){break e}v[164114]=0;v[l+8>>2]=g;h=cl(g,l+8|0);if(!(w[v[l+8>>2]]?1:v[164114])){break e}v[164114]=0;h=0}v[f+528>>2]=0;v[f+532>>2]=0;v[f+520>>2]=8388608;v[f+524>>2]=0;v[f+516>>2]=1120403456;v[f+512>>2]=h;v[f+536>>2]=0;v[f+540>>2]=0;g=Yb(508949);f:{if(!g){break f}v[164114]=0;v[l+12>>2]=g;j=cl(g,l+12|0);if(!(w[v[l+12>>2]]?1:v[164114])){break f}v[164114]=0;j=0}v[f+540>>2]=j;Ca=l+16|0;if(!v[f+228>>2]){it(f);f=0;break b}v[f+224>>2]=501456;break b}v[f+352>>2]=g;Ea[v[f+20>>2]](v[f+44>>2]);Ea[v[f+20>>2]](v[f+388>>2]);Ea[v[f+20>>2]](f);f=0;break b}Ea[v[f+20>>2]](f);f=0}if(f){v[i+108>>2]=0;v[i+80>>2]=0;v[i+84>>2]=0;v[i+1392>>2]=0;v[i+96>>2]=a;v[i+92>>2]=b;v[i+88>>2]=0;a=Fs(b);v[i+2936>>2]=!e;v[i+104>>2]=f;v[i+100>>2]=a;if(a){v[a+16>>2]=e}g=i+80|0;g:{if(!f){break g}a=v[f>>2];v[f>>2]=g;if((a|0)!=v[f+4>>2]){break g}v[f+4>>2]=g}if(f){v[f+88>>2]=1002;v[f+84>>2]=1001}if(f){v[f+56>>2]=1004;v[f+52>>2]=1003}if(f){v[f+60>>2]=1005}h:{while(1){g=0;h=1024;i:{j:{if(f){k:{switch(v[f+476>>2]-2|0){case 1:v[f+280>>2]=33;break i;case 0:v[f+280>>2]=36;break i;default:break k}}a=v[f+28>>2];g=a;o=v[f+32>>2];k=1;l:{if(!o){break l}j=v[f+28>>2];k=1;if(!j){break l}k=(o-j|0)<1024}if(!k){break i}m:{if(!a){break m}g=v[f+24>>2];if(!g){break m}h=(a-g|0)+1024|0}if((h|0)<=-1){break j}g=0;p=v[f+24>>2];n:{o:{if(!p){break o}l=v[f+8>>2];if(!l){break o}g=p-l|0;j=1024;if((g|0)>1023){break n}}j=g}l=j+h|0;p:{q:{r:{s:{t:{if(o){g=v[f+8>>2];if((l|0)<=((g?o-g|0:0)|0)){break t}if(!p){break s}h=o-p|0;if(h){break r}break s}if((l|0)>0){break s}}u:{v:{if(p){h=v[f+8>>2];g=h?p-h|0:0;if((g|0)>(j|0)){break v}g=a;break p}if((j|0)>-1){g=a;break p}h=v[f+8>>2];g=0-j|0;break u}a=a-p|0;g=g-j|0}k=h;h=g;mb(k,k+g|0,a+j|0);g=v[f+28>>2]-g|0;v[f+28>>2]=g;a=v[f+24>>2]-h|0;break q}h=1024}while(1){h=h<<1;if((h|0)>0?(l|0)>(h|0):0){continue}break}if((h|0)<=0){break j}a=Ea[v[f+12>>2]](h)|0;if(!a){break j}v[f+32>>2]=a+h;g=v[f+24>>2];if(g){h=a;a=v[f+28>>2];h=Ta(h,g-j|0,j+(a?a-g|0:0)|0);Ea[v[f+20>>2]](v[f+8>>2]);v[f+8>>2]=h;k=f;o=v[f+28>>2];a=h;w:{if(!o){break w}l=v[f+24>>2];a=h;if(!l){break w}a=h+(o-l|0)|0}g=a+j|0;v[k+28>>2]=g;a=h+j|0;break q}v[f+8>>2]=a;v[f+28>>2]=a;g=a}v[f+24>>2]=a}v[f+292>>2]=0;v[f+284>>2]=0;v[f+288>>2]=0}break i}v[f+280>>2]=1;g=0}if(!g){db(i+80|0,2,511210,0);m=1;break h}q=m>>>0<1024?m:1024;Ta(g,c,q);x=!q;g=0;if(f){x:{y:{z:{switch(v[f+476>>2]){case 3:v[f+280>>2]=33;break x;case 2:v[f+280>>2]=36;break x;case 0:break z;default:break y}}if(!v[f+24>>2]){v[f+280>>2]=42;break x}if(v[f+472>>2]){break y}p=0;r=Ca-16|0;Ca=r;A:{B:{if(!v[f+492>>2]){a=f;C:{D:{h=kh(509497,0,0);if((h|0)<0){break D}while(1){E:{l=Fi(h,(r+4|0)+g|0,4-g|0);j=l+g|0;if(j>>>0>3?(l|0)>=1:0){break E}g=(l|0)>0?j:g;if(v[164114]==27){continue}}break}rd(h);if((l|0)<1|j>>>0<4){break D}g=ht(509497,v[r+4>>2]);break C}if(Ba(r+8|0,0)|0){break B}g=ht(509510,B(v[r+12>>2]^U(),2147483647))}v[a+492>>2]=g}if(w[f+232|0]){a=509456;F:{G:{H:{I:{g=w[509456];if(!g){break I}y=f+368|0;s=f+412|0;n=v[f+352>>2];o=n+152|0;z=n+80|0;A=n+60|0;k=509456;while(1){J:{K:{L:{M:{N:{h=g&255;switch(h|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break L;case 0:case 12:break N;default:break M}}g=v[f+424>>2];if((g|0)==v[f+420>>2]){if(!_a(s)){break G}g=v[f+424>>2]}v[f+424>>2]=g+1;t[g|0]=0;g=vc(f,n,v[f+428>>2],0);if(g){t[g+32|0]=1}g=w[a|0];v[f+424>>2]=v[f+428>>2];k=g?a+1|0:a;a=k;break J}if((h|0)==61){break K}}h=v[f+424>>2];if((h|0)==v[f+420>>2]){if(!_a(s)){break G}h=v[f+424>>2];g=w[a|0]}v[f+424>>2]=h+1;t[h|0]=g;a=a+1|0;break J}h=o;g=v[f+424>>2];if((g|0)!=v[f+428>>2]){if(v[f+420>>2]==(g|0)){if(!_a(s)){break G}g=v[f+424>>2]}v[f+424>>2]=g+1;t[g|0]=0;h=vc(f,A,v[f+428>>2],8);if(!h){break H}l=f;g=v[h>>2];j=v[f+428>>2];if((g|0)==(j|0)){while(1){k=v[n+92>>2];if((k|0)==v[n+88>>2]){if(!_a(z)){v[h>>2]=0;break G}k=v[n+92>>2]}j=w[g|0];v[n+92>>2]=k+1;t[k|0]=j;j=w[g|0];g=g+1|0;if(j){continue}break}g=v[n+96>>2];v[n+96>>2]=v[n+92>>2];v[h>>2]=g;if(!g){break H}j=v[f+428>>2]}v[l+424>>2]=j}while(1){O:{g=a+1|0;k=w[a+1|0];j=k;if(!j|(j|0)==12){break O}a=v[f+424>>2];if((a|0)==v[f+420>>2]){if(!_a(s)){break G}k=w[g|0];a=v[f+424>>2]}v[f+424>>2]=a+1;t[a|0]=k;a=g;continue}break}k=v[f+424>>2];if((k|0)==v[f+420>>2]){if(!_a(s)){break G}k=v[f+424>>2]}v[f+424>>2]=k+1;t[k|0]=0;if(Nl(f,h,0,v[f+428>>2],y)){break H}v[f+424>>2]=v[f+428>>2];k=w[a+1|0]?a+2|0:g;a=k}if(!w[k|0]){break I}g=w[a|0];continue}}p=1}a=p;break F}a=0}}else{a=1}Ca=r+16|0;break A}O(509586,506499,878,509608);L()}if(a){break y}v[f+280>>2]=1;g=0;break x}g=1;v[f+476>>2]=1;a=v[f+24>>2];v[f+292>>2]=a;t[f+480|0]=x;h=v[f+28>>2]+q|0;v[f+28>>2]=h;v[f+40>>2]=h;v[f+36>>2]=v[f+36>>2]+q;a=Ea[v[f+276>>2]](f,a,h,f+24|0)|0;v[f+280>>2]=a;if(a){v[f+276>>2]=991;v[f+288>>2]=v[f+284>>2];g=0;break x}P:{Q:{switch(v[f+476>>2]){case 0:case 1:if(!x){break P}v[f+476>>2]=2;break x;case 3:break Q;default:break P}}g=2}a=v[f+144>>2];Ea[v[a+48>>2]](a,v[f+292>>2],v[f+24>>2],f+404|0);v[f+292>>2]=v[f+24>>2]}}if(!g){a=i;c=(f?v[f+280>>2]:41)-1|0;R:{if(c>>>0<=42){c=v[(c<<2)+509628>>2];break R}c=0}v[a+32>>2]=c;db(i+80|0,2,511234,i+32|0);m=1;break h}a=m-1024|0;m=a>>>0>m>>>0?0:a;c=c+q|0;if(q){continue}break}m=v[i+88>>2];S:{if(!e){break S}c=i- -64|0;a=v[v[i+100>>2]+20>>2];v[c>>2]=a;a=v[a+4>>2];v[c+8>>2]=0;v[c+4>>2]=a;a=i- -64|0;if(v[a>>2]==v[v[i+100>>2]+20>>2]){a=v[a+4>>2]}else{a=0}if(a){vf(v[v[i+96>>2]+20>>2],i- -64|0);a=v[i+100>>2];if(v[a>>2]!=-1){v[a>>2]=v[a>>2]+1}uf(v[v[i+96>>2]+20>>2],i- -64|0,v[i+100>>2])}c=i- -64|0;a=v[v[i+100>>2]+24>>2];v[c>>2]=a;a=v[a+4>>2];v[c+8>>2]=0;v[c+4>>2]=a;a=i- -64|0;if(v[a>>2]==v[v[i+100>>2]+24>>2]){a=v[a+4>>2]}else{a=0}if(a){vf(v[v[i+96>>2]+24>>2],i- -64|0);a=v[i+100>>2];if(v[a>>2]!=-1){v[a>>2]=v[a>>2]+1}uf(v[v[i+96>>2]+24>>2],i- -64|0,v[i+100>>2])}c=i- -64|0;a=v[v[i+100>>2]+28>>2];v[c>>2]=a;a=v[a+4>>2];v[c+8>>2]=0;v[c+4>>2]=a;a=i- -64|0;if(v[a>>2]==v[v[i+100>>2]+28>>2]){a=v[a+4>>2]!=0}else{a=0}if(!a){break S}vf(v[v[i+96>>2]+28>>2],i- -64|0);a=v[i+100>>2];if(v[a>>2]!=-1){v[a>>2]=v[a>>2]+1}uf(v[v[i+96>>2]+28>>2],i- -64|0,v[i+100>>2])}vf(v[v[i+96>>2]+84>>2],i- -64|0);a=v[i+100>>2];if(v[a>>2]!=-1){v[a>>2]=v[a>>2]+1}uf(v[v[i+96>>2]+84>>2],i- -64|0,v[i+100>>2])}if(v[i+80>>2]){while(1){Ss(i+80|0);if(v[i+80>>2]){continue}break}}zl(v[i+100>>2]);v[i+100>>2]=0;it(f);a=(m|0)!=0}else{a=1}if(!(!a|!d)){v[i+4>>2]=b;v[i>>2]=e?510965:510970;m=0;db(0,2,511237,i);break a}m=1;if(!(w[656429]&4)){break a}v[i+20>>2]=b;v[i+16>>2]=e?511187:511195;Za(511267,i+16|0)}Ca=i+2944|0;return m}function SC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,C=0,D=0,E=0,F=0;f=Ca-384|0;Ca=f;v[b>>2]=1;a:{if(!v[b+136>>2]){d=re(v[v[b+96>>2]+4>>2],14888);if(!d){a=11;break a}v[b+136>>2]=d}if(!v[b+320>>2]){E=b,F=re(v[v[b+96>>2]+4>>2],14894),v[E+320>>2]=F}a=Ya(a,0);if(a){break a}j=v[b+100>>2];v[f+108>>2]=0;i=v[b+104>>2];a=v[b+136>>2];Ra(f+8|0,0,100);Ea[v[v[a+4>>2]>>2]](f+8|0,0,0,j);v[f+80>>2]=i;o=v[i+8>>2];b:{c:{d:{d=vb(i,31);e:{if(d){break e}a=$a(v[i+32>>2],14922,31);pb(i);if(a){v[f+4>>2]=2;break b}l=f+106|0;k=f+84|0;m=f+112|9;while(1){h=v[i+8>>2];a=v[i+4>>2]-v[i+8>>2]|0;a=a>>>0<265?a:265;d=Vb(i,f+112|0,a);if(d){break e}d=f+112|0;e=a;while(1){f:{g=a+d|0;t[g|0]=0;if(f+112>>>0<g-6>>>0){n=e+l|0;d=w[f+112|0];a=f+112|0;while(1){g:{if((d&255)!=83){break g}if($a(a,14954,9)){break g}e=10;break f}h:{d=w[a+1|0];if((d|0)!=115){break h}if($a(a,14964,6)){break h}e=7;break f}a=a+1|0;if((n|0)!=(a|0)){continue}break}}if(e>>>0<9){v[f+4>>2]=3;break b}a=g-9|0;d=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);e=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);t[f+120|0]=w[a+8|0];v[f+112>>2]=e;v[f+116>>2]=d;a=v[i+4>>2]-v[i+8>>2]|0;a=a>>>0<256?a:256;d=Vb(i,m,a);if(d){break e}h=h+256|0;e=a+9|0;d=m;continue}break}d=Ya(i,o);if(d){break e}g=((h-(f+112|0)|0)+a|0)+e|0;a=g-o|0;d=Jc(i,a,k);if(d){break e}v[f+92>>2]=g;h=v[f+84>>2];v[f+12>>2]=h;v[f+104>>2]=-1;v[f+8>>2]=h;v[f+88>>2]=a;v[f+16>>2]=a+h;Ea[v[f+40>>2]](f+8|0);Ea[v[f+36>>2]](f+8|0);a=v[f+8>>2];Ea[v[f+40>>2]](f+8|0);Ea[v[f+36>>2]](f+8|0);d=v[f+8>>2];e=v[f+16>>2];n=e-6|0;if(d>>>0<=n>>>0){p=e-9|0;while(1){e=a;a=d;d=v[f+20>>2];if(d){break e}i:{if(w[a|0]!=83|a>>>0>p>>>0){break i}if($a(a,14954,9)){break i}if($a(h,14971,5)){break c}a=jc(e,0,10);if((a|0)>=0){break d}v[f+4>>2]=3;break b}j:{if(w[a+1|0]!=115){break j}if($a(a,14964,6)){break j}v[f+4>>2]=2;break b}Ea[v[f+40>>2]](f+8|0);Ea[v[f+36>>2]](f+8|0);h=e;d=v[f+8>>2];if(n>>>0>=d>>>0){continue}break}}Qb(i,k);d=Ya(i,g);if(!d){continue}break}}v[f+4>>2]=d;break b}v[f+96>>2]=a}v[f+4>>2]=0;v[f+20>>2]=0;a=v[f+84>>2];g=a+v[f+88>>2]|0;v[f+16>>2]=g;m=b+164|0;i=b+312|0;o=b+196|0;k=b+140|0;q=g-1|0;k:{l:{m:while(1){v[f+8>>2]=a;Ea[v[f+36>>2]](f+8|0);d=v[f+8>>2];e=(d>>>0<g>>>0?d:q)-17|0;if(e>>>0>a>>>0){while(1){n:{if(w[a|0]!=37){break n}if($a(a,14977,17)|v[b+300>>2]<1){break n}v[f+104>>2]=v[f+104>>2]+1}a=a+1|0;if((e|0)!=(a|0)){continue}break}}o:{if(d>>>0>=g>>>0){break o}Ea[v[f+40>>2]](f+8|0);a=v[f+8>>2];if(v[f+20>>2]|g>>>0<=a>>>0){break o}if(w[d|0]!=47|g>>>0<=d+2>>>0){continue}n=d+1|0;l=a-n|0;if(l-1>>>0>20){continue}p=w[n|0];e=15008;d=16916;p:{if(l>>>0>=2){while(1){h=e;q:{if((p|0)!=w[d|0]){break q}e=1;if((Xa(d)|0)!=(l|0)){break q}while(1){if(w[e+n|0]!=w[d+e|0]){break q}e=e+1|0;if((l|0)!=(e|0)){continue}break}e=h;break p}e=h+36|0;d=v[h+36>>2];if(d){continue}continue m}}while(1){if((p|0)==w[d|0]){if((Xa(d)|0)==(l|0)){break p}}d=v[e+36>>2];e=e+36|0;if(d){continue}break}continue}h=f;l=v[e+8>>2];r:{if((l|0)==11){Ea[v[e+12>>2]](b,f+8|0);a=v[f+20>>2];break r}d=k;s:{t:{u:{v:{switch(v[e+4>>2]){case 3:d=m;break u;case 2:d=i;break u;case 5:d=o;break u;case 0:break u;default:break v}}a=v[f+104>>2];if((a|0)<0|(a|0)>=v[b+300>>2]){break t}d=v[b+304>>2]+B(a,252)|0}v[f+112>>2]=d;if(l-9>>>0>1){break s}a=Ea[v[f+76>>2]](f+8|0,e,f+112|0,0,0)|0;break r}v[f+20>>2]=160;v[f+4>>2]=160;break b}a=Ea[v[f+72>>2]](f+8|0,e,f+112|0,0,0)|0}v[h+20>>2]=a;if(a){break l}a=v[f+8>>2];continue}break}if(v[b+300>>2]){break k}a=3}v[f+4>>2]=a;break b}a=v[f+20>>2];v[f+4>>2]=a;if((c|0)<0|a){break b}d=wb(j,40,f+4|0);v[b+328>>2]=d;if(v[f+4>>2]){break b}h=b;a=v[f+96>>2];w:{if(a){e=b;d=v[v[b+104>>2]+4>>2]-v[f+92>>2]|0;if(d>>>0<a>>>0){v[f+96>>2]=d;a=d}d=e;e=qb(j,a,f+4|0);v[d+324>>2]=e;if(v[f+4>>2]){break b}a=v[f+96>>2];d=Ca-256|0;Ca=d;m=e;g=v[b+104>>2];j=Ya(g,v[f+92>>2]);x:{if(j){break x}k=1;y:{if((a|0)<1){break y}p=a+e|0;a=d;n=a;while(1){if(a>>>0>=n>>>0){i=v[g+8>>2];a=v[g+4>>2]-i|0;if(!a){j=160;break x}j=Vb(g,d,a>>>0<256?a:256);if(j){break x}n=(d+v[g+8>>2]|0)-i|0;a=d}i=w[a|0];o=i-48|0;z:{A:{if(o>>>0<10){break A}B:{if((i-97&255)>>>0>=6){if((i-65&255)>>>0<6){break B}o=0;j=160;l=0;C:{switch(i|0){case 62:break z;case 0:case 9:case 10:case 12:case 13:case 32:break C;default:break x}}a=a+1|0;continue}o=i-87|0;break A}o=i-55|0}l=1}D:{if(k&255){t[m|0]=o<<4;break D}t[m|0]=w[m|0]+o;m=m+1|0}if(!l){break y}a=a+1|0;k=1-k|0;if(m>>>0<p>>>0){continue}break}}j=0}v[f+112>>2]=m-e;Ca=d+256|0;v[f+4>>2]=j;if(j){break b}d=v[b+324>>2];e=v[f+112>>2];a=v[b+328>>2];v[a+32>>2]=0;v[a+8>>2]=0;v[a+4>>2]=e;v[a>>2]=d;v[a+20>>2]=0;v[a+24>>2]=0;a=0;break w}a=v[b+104>>2];e=v[a+4>>2];v[d>>2]=v[a>>2];v[d+4>>2]=e;e=v[a+36>>2];v[d+32>>2]=v[a+32>>2];v[d+36>>2]=e;e=v[a+28>>2];v[d+24>>2]=v[a+24>>2];v[d+28>>2]=e;e=v[a+20>>2];v[d+16>>2]=v[a+16>>2];v[d+20>>2]=e;e=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=e;a=v[f+92>>2]}v[h+308>>2]=a;E:{m=v[b+288>>2];if((m|0)>=0){j=v[b+292>>2];if((j|0)>0){break E}}v[f+4>>2]=3;break b}if(!((j|0)<5?(m|0)<=4:0)){v[f+4>>2]=3;break b}d=v[v[b+328>>2]+4>>2]-a|0;v[f+112>>2]=d;o=v[b+300>>2];if((o|0)>=1){k=v[b+304>>2];e=0;while(1){a=k+B(e,252)|0;if(y[a+112>>2]>=1001){v[a+112>>2]=7}if(y[a+116>>2]>=1001){v[a+116>>2]=1}F:{h=v[a+248>>2];if((h|0)>=0){i=v[a+240>>2];if(h|!i){break F}}v[f+4>>2]=3;break b}if((h|0)>=5){v[f+4>>2]=3;break b}a=v[a+244>>2];if(a>>>0>d>>>0){v[f+4>>2]=3;break b}if(!(!h|i>>>0<=(d-a>>>0)/(h>>>0)>>>0?(i|0)>=0:0)){v[f+4>>2]=3;break b}e=e+1|0;if((o|0)!=(e|0)){continue}break}}a=v[b+284>>2];if(a>>>0>d>>>0){v[f+4>>2]=3;break b}e=j+m|0;if(!(!e|y[b+296>>2]<=(d-a>>>0)/(e>>>0)>>>0)){v[f+4>>2]=3;break b}k=0;m=0;q=0;g=Ca-16|0;Ca=g;p=v[b+328>>2];s=v[b+136>>2];j=v[b+100>>2];l=Ua(j,8,0,v[b+300>>2],0,g+12|0);v[b+316>>2]=l;G:{if(v[g+12>>2]){break G}d=v[b+300>>2];if((d|0)<1){break G}while(1){H:{e=v[b+304>>2]+B(q,252)|0;n=v[e+240>>2];if(n){C=v[e+4>>2];z=n+1|0;if(z>>>0>m>>>0){a=n+4&-4;if(a>>>0<=m>>>0){v[g+12>>2]=160;break H}k=Ua(j,4,m,a,k,g+12|0);m=a;if(v[g+12>>2]){break H}}a=Ya(p,v[e+244>>2]+v[b+308>>2]|0);v[g+12>>2]=a;if(a){break H}a=vb(p,B(v[e+248>>2],z));v[g+12>>2]=a;if(a){break H}a=v[e+248>>2];I:{if(!(a&255)){a=0;while(1){v[(a<<2)+k>>2]=0;a=a+1|0;if(n>>>0>=a>>>0){continue}break}break I}A=a-1&255;D=A+1|0;i=a&252;o=a&3;h=v[p+32>>2];r=0;while(1){a=h;e=i;d=0;if(A>>>0>=3){while(1){d=a;a=a+4|0;e=e-4|0;if(e&255){continue}break}d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}e=o;if(e){while(1){d=w[a|0]|d<<8;a=a+1|0;e=e-1|0;if(e&255){continue}break}}v[(r<<2)+k>>2]=d;h=h+D|0;r=r+1|0;if(n>>>0>=r>>>0){continue}break}}pb(p);d=v[k>>2];a=1;J:{while(1){e=d;d=v[(a<<2)+k>>2];if(e>>>0<=d>>>0){a=a+1|0;if(n>>>0>=a>>>0){continue}break J}break}v[g+12>>2]=3;break H}a=v[(n<<2)+k>>2];if(a>>>0>v[p+4>>2]-v[b+308>>2]>>>0){v[g+12>>2]=3;break H}d=v[k>>2];E=l,F=Ua(j,4,0,z,0,g+12|0),v[E+4>>2]=F;if(v[g+12>>2]){break H}a=a-d|0;d=qb(j,a,g+12|0);v[v[l+4>>2]>>2]=d;if(v[g+12>>2]){break H}d=Ya(p,v[k>>2]+v[b+308>>2]|0);v[g+12>>2]=d;if(d){break H}a=Vb(p,v[v[l+4>>2]>>2],a);v[g+12>>2]=a;if(a){break H}d=v[k>>2];a=1;while(1){e=a<<2;h=e+v[l+4>>2]|0;e=v[e+k>>2];v[h>>2]=v[h-4>>2]+(e-d|0);d=e;a=a+1|0;if(n>>>0>=a>>>0){continue}break}K:{if((C|0)<0){break K}d=n>>>0>1?n:1;i=d&1;a=0;if(n>>>0>=2){e=d&-2;while(1){d=a<<2;o=d|4;h=o+k|0;Ea[v[s+16>>2]](v[d+v[l+4>>2]>>2],v[h>>2]-v[d+k>>2]|0,4330);a=a+2|0;Ea[v[s+16>>2]](v[o+v[l+4>>2]>>2],v[(a<<2)+k>>2]-v[h>>2]|0,4330);e=e-2|0;if(e){continue}break}}if(!i){break K}d=a<<2;a=d+k|0;Ea[v[s+16>>2]](v[d+v[l+4>>2]>>2],v[a+4>>2]-v[a>>2]|0,4330)}v[l>>2]=n;d=v[b+300>>2]}l=l+8|0;q=q+1|0;if((q|0)<(d|0)){continue}break G}break}a=v[b+316>>2];if(!a){break G}if(v[b+300>>2]>=1){e=0;while(1){d=j;h=e<<3;m=v[(h+a|0)+4>>2];if(m){a=v[m>>2];if(a){Ea[v[j+8>>2]](j,a)}v[v[(h+v[b+316>>2]|0)+4>>2]>>2]=0;a=v[b+316>>2]}a=v[(a+h|0)+4>>2];if(a){Ea[v[d+8>>2]](d,a)}a=v[b+316>>2];v[(h+a|0)+4>>2]=0;e=e+1|0;if((e|0)<v[b+300>>2]){continue}break}}if(a){Ea[v[j+8>>2]](j,a)}v[b+316>>2]=0}if(k){Ea[v[j+8>>2]](j,k)}Ca=g+16|0;v[f+4>>2]=v[g+12>>2]}if(v[f+84>>2]){Qb(v[f+80>>2],f+84|0)}Ea[v[f+32>>2]](f+8|0);a=v[f+4>>2];if(a|(c|0)<0){break a}a=6;if(c&65535){break a}v[b+36>>2]=0;v[b+4>>2]=0;v[b+16>>2]=v[b+296>>2];a=v[b+8>>2];v[b+8>>2]=a|2065;if(w[b+188|0]){v[b+8>>2]=a|2069}v[b+24>>2]=14903;d=v[b+176>>2];v[b+20>>2]=d;L:{if(d){a=v[b+172>>2];if(!a){break L}e=w[a|0];if(!e){break L}while(1){e=e&255;c=w[d|0];M:{if((e|0)==(c|0)){a=a+1|0;d=d+1|0;break M}e=e-32|0;if(!(!e|(e|0)==13)){N:{switch(c-32|0){case 0:case 13:d=d+1|0;break M;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break L;default:break N}}if(c){break L}v[b+24>>2]=a;break L}a=a+1|0}e=w[a|0];if(e){continue}break}break L}a=v[b+140>>2];if(!a){break L}v[b+20>>2]=a}c=v[b+184>>2]!=0;v[b+12>>2]=c;a=v[b+180>>2];O:{if(!a){break O}if(Wa(a,14911)){if(Wa(a,14916)){break O}}v[b+12>>2]=c|2}v[b+28>>2]=0;v[b+32>>2]=0;v[b+52>>2]=v[b+196>>2]>>16;a=v[b+200>>2]>>16;v[b+56>>2]=a;v[b+60>>2]=v[b+204>>2]+65535>>16;c=v[b+208>>2]+65535>>16;v[b- -64>>2]=c;e=x[b+68>>1];if(!e){u[b+68>>1]=1e3;e=1e3}u[b+72>>1]=a;u[b+70>>1]=c;v[b+80>>2]=x[b+190>>1]|x[b+192>>1]<<16;d=b;a=c-a|0;b=(B(e,12)>>>0)/10|0;u[d+74>>1]=(a|0)>b<<16>>16?a:b;a=0}Ca=f+384|0;return a|0}function Dv(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,y=0,z=0,A=0;m=Ca-144|0;Ca=m;while(1){a:{v[a+84>>2]=0;u[a+78>>1]=0;v[a+40>>2]=0;v[a+44>>2]=0;d=v[a+24>>2];v[a+36>>2]=d;v[a+80>>2]=d;e=v[a+4>>2];v[a+72>>2]=B(e,c);v[a+68>>2]=B(e,y);i=v[a+28>>2]-32|0;v[a+32>>2]=i;v[d+8>>2]=d;u[a+76>>1]=0;b:{c:{d:{e:{if(u[a+120>>1]<1){break e}e=v[a+8>>2];f=v[a+132>>2];g=0;s=0;f:{g:{h:{while(1){v[a+88>>2]=0;v[a+92>>2]=0;j=v[a+12>>2];h=v[a+124>>2];d=h+(g<<3)|0;i=B(j,v[d+4>>2])-e|0;l=B(j,v[d>>2])-e|0;A=s<<1;k=x[A+f>>1];o=h+(k<<3)|0;h=B(j,v[o+4>>2])-e|0;f=B(j,v[o>>2])-e|0;i:{if(!b){j=l;l=i;i=f;f=h;break i}j=i;i=h}h=v[a+128>>2];e=h+g|0;g=w[e|0];if(g&4){t[a+48|0]=g>>>5;g=w[e|0]}g=g&3;j:{if((g|0)==3){break j}k:{switch(g-1|0){case 0:break j;case 1:break h;default:break k}}l:{if((w[h+k|0]&3)==1){o=o-8|0;break l}i=(i+j|0)/2|0;f=(f+l|0)/2|0}l=f;j=i;e=e-1|0;d=d-8|0}v[a+64>>2]=l;v[a+60>>2]=j;m:{if(d>>>0<o>>>0){while(1){h=e+1|0;i=d+8|0;n:{o:{p:{switch(w[e+1|0]&3){case 1:g=v[d+8>>2];f=d;e=h;d=i;h=v[f+12>>2];f=v[a+12>>2];i=v[a+8>>2];h=B(h,f)-i|0;f=B(g,f)-i|0;if(Cv(a,b?h:f,b?f:h)){break d}break n;case 0:e=v[a+12>>2];f=v[a+8>>2];k=B(e,v[d+8>>2])-f|0;e=B(e,v[d+12>>2])-f|0;g=b?k:e;f=b?e:k;d=i;while(1){if(d>>>0>=o>>>0){break o}e=v[a+12>>2];i=v[a+8>>2];k=B(e,v[d+8>>2])-i|0;e=B(e,v[d+12>>2])-i|0;i=b?k:e;k=b?e:k;e=h+1|0;d=d+8|0;h=w[h+1|0]&3;if(h){if((h|0)!=1){break h}if(!Ym(a,f,g,k,i)){break n}break d}p=Ym(a,f,g,(f+k|0)/2|0,(g+i|0)/2|0);h=e;f=k;g=i;if(!p){continue}break};break d;default:break p}}if((w[e+2|0]&3)!=2|d+16>>>0>o>>>0){break h}q=d+24|0;n=v[a+12>>2];r=v[a+8>>2];g=B(n,v[d+16>>2])-r|0;i=B(n,v[d+8>>2])-r|0;f=B(n,v[d+20>>2])-r|0;h=B(n,v[d+12>>2])-r|0;q:{if(!b){p=i;i=h;k=g;g=f;break q}p=h;k=f}if(o>>>0>=q>>>0){f=B(n,v[d+28>>2])-r|0;d=B(n,v[d+24>>2])-r|0;if(Bv(a,p,i,k,g,b?f:d,b?d:f)){break d}e=e+3|0;d=q;break n}if(!Bv(a,p,i,k,g,j,l)){break m}break d}if(Ym(a,f,g,j,l)){break d}break m}if(d>>>0<o>>>0){continue}break}}if(Cv(a,j,l)){break d}}f=v[a+132>>2];j=x[A+f>>1];i=v[a+4>>2];h=i-1|0;d=v[a+64>>2];k=h&d;r:{if(k|(d|0)<v[a+68>>2]|(d|0)>v[a+72>>2]){break r}e=v[a+88>>2];if(!e|(x[v[a+80>>2]+12>>1]^x[e+12>>1])&8){break r}v[a+36>>2]=v[a+36>>2]-4}g=v[a+36>>2];l=v[a+80>>2];p=v[l+8>>2];s:{if(!((g|0)==(p|0)|!(w[l+12|0]&8))){e=v[a+8>>2];d=(k|0)>=(e|0);break s}e=v[a+8>>2];d=(e|0)<=((d+h&0-i)-d|0)}i=g-p|0;if((i|0)<=-1){d=99;v[a+40>>2]=99;break a}t:{if(!i){d=g;break t}v[l+16>>2]=i>>2;if(d){d=x[l+12>>1];u[l+12>>1]=(d&8?16:32)|d}v[a+80>>2]=g;d=g+32|0;v[a+36>>2]=d;v[g+8>>2]=d;v[g+16>>2]=0;v[l+28>>2]=g;u[a+76>>1]=x[a+76>>1]+1}i=v[a+32>>2];if(i>>>0<=d>>>0){break f}t[a+79|0]=0;g=v[a+88>>2];if(g){v[l+28>>2]=g}s=s+1|0;if((s|0)<u[a+120>>1]){g=j+1&65535;continue}break}s=x[a+76>>1];if(s>>>0<2){break e}l=v[a+84>>2];if(!l){break e}o=v[a+28>>2];e=l;while(1){u:{if((s&65535)>>>0>=2){g=v[e+16>>2];p=v[e+8>>2]+(g<<2)|0;v[e+4>>2]=p;break u}p=0;v[e+4>>2]=0;g=v[e+16>>2]}j=v[e+20>>2];v:{if(w[e+12|0]&8){f=j;j=(f+g|0)-1|0;break v}f=(j-g|0)+1|0;v[e+20>>2]=f;v[e+8>>2]=(v[e+8>>2]+(g<<2)|0)-4}q=j;k=v[a+44>>2];h=0-k|0;n=o-(k<<2)|0;e=k;w:{x:{while(1){j=e;if((e|0)<1){break x}e=j-1|0;r=n+(e<<2)|0;g=v[r>>2];if((f|0)<(g|0)){continue}break}if((g|0)>=(f|0)){j=k;break w}v[r>>2]=f;if((j|0)<2){f=g;break x}r=j-2|0;e=r;h=j-1&3;if(h){while(1){j=n+(e<<2)|0;f=v[j>>2];v[j>>2]=g;e=e-1|0;g=f;h=h-1|0;if(h){continue}break}}if(r>>>0<3){break x}while(1){f=n+(e<<2)|0;j=v[f>>2];v[f>>2]=g;g=f-8|0;h=v[g+4>>2];r=v[g>>2];v[f-4>>2]=j;f=f-12|0;g=v[f>>2];v[f>>2]=r;v[f+4>>2]=h;j=(e|0)>3;e=e-4|0;f=g;if(j){continue}break}}i=i-4|0;v[a+32>>2]=i;if(d>>>0>=i>>>0){break f}j=k+1|0;v[a+44>>2]=j;h=k^-1;v[o+(h<<2)>>2]=f}f=q+1|0;k=o+(h<<2)|0;e=j;y:{z:{while(1){h=e;if((e|0)<1){break z}e=h-1|0;n=k+(e<<2)|0;g=v[n>>2];if((f|0)<(g|0)){continue}break}if((g|0)>(q|0)){break y}v[n>>2]=f;if((h|0)<2){f=g;break z}q=h-2|0;e=q;h=h-1&3;if(h){while(1){n=k+(e<<2)|0;f=v[n>>2];v[n>>2]=g;e=e-1|0;g=f;h=h-1|0;if(h){continue}break}}if(q>>>0<3){break z}while(1){f=k+(e<<2)|0;h=v[f>>2];v[f>>2]=g;g=f-8|0;q=v[g+4>>2];n=v[g>>2];v[f-4>>2]=h;f=f-12|0;g=v[f>>2];v[f>>2]=n;v[f+4>>2]=q;h=(e|0)>3;e=e-4|0;f=g;if(h){continue}break}}i=i-4|0;v[a+32>>2]=i;if(d>>>0>=i>>>0){break f}v[a+44>>2]=j+1;v[o+((j^-1)<<2)>>2]=f}e=p;s=s-1|0;if(s&65535){continue}break}if(d>>>0>=i>>>0){break d}v[m+140>>2]=0;v[m+136>>2]=0;v[m+132>>2]=0;c=v[a>>2];k=v[a+72>>2]>>c;p=v[a+68>>2]>>c;d=0;while(1){v[l>>2]=0;f=v[l+20>>2];g=f<<16>>16<k<<16>>16;c=(f+v[l+16>>2]|0)-1|0;i=(p<<16>>16<c<<16>>16?c:p)<<16;c=v[l+4>>2];e=m+140|0;A:{if(!d){d=0;break A}if(v[d>>2]>0){break A}B:{while(1){e=d;d=v[d+4>>2];if(d){if(v[d>>2]<=0){continue}break B}break}d=0}e=e+4|0}k=g?f:k;p=i>>16;v[l+4>>2]=d;v[e>>2]=l;if(c){d=v[m+140>>2];l=c;continue}break}if(v[a+44>>2]){break g}}d=20;v[a+40>>2]=20;break a}f=k<<16>>16;Ea[v[a+140>>2]](a,f,p);d=v[m+140>>2];e=d;if(d){while(1){v[e+24>>2]=v[e+20>>2]-f;e=v[e+4>>2];if(e){continue}break}}c=v[a+44>>2];C:{if((c|0)<1){break C}D:{if((f|0)!=v[v[a+28>>2]-(c<<2)>>2]){i=c;break D}i=c-1|0;v[a+44>>2]=i;if((c|0)<2){break C}}f=0;while(1){if(d){while(1){e=v[d+24>>2]-f|0;v[d+24>>2]=e;c=v[d+4>>2];if(!e){e=v[m+140>>2];E:{if(!e){break E}if((d|0)==(e|0)){v[m+140>>2]=c;break E}while(1){g=e;e=v[e+4>>2];if(!e){break E}if((d|0)!=(e|0)){continue}break}v[g+4>>2]=c}l=v[d>>2];F:{if(w[d+12|0]&8){g=m+136|0;e=v[m+136>>2];if(!e){e=0;break F}if((l|0)<v[e>>2]){break F}G:{while(1){g=e;e=v[e+4>>2];if(e){if((l|0)>=v[e>>2]){continue}break G}break}e=0}g=g+4|0;break F}g=m+132|0;e=v[m+132>>2];if(!e){e=0;break F}if((l|0)<v[e>>2]){break F}H:{while(1){g=e;e=v[e+4>>2];if(e){if((l|0)>=v[e>>2]){continue}break H}break}e=0}g=g+4|0}v[d+4>>2]=e;v[g>>2]=d}d=c;if(d){continue}break}}e=v[m+136>>2];d=e;I:{if(!d){break I}while(1){c=v[d+8>>2];v[d>>2]=v[c>>2];v[d+16>>2]=v[d+16>>2]-1;v[d+8>>2]=c+(x[d+12>>1]&8?4:-4);d=v[d+4>>2];if(d){continue}break}d=v[e+4>>2];if(!d){break I}h=e+4|0;g=m+136|0;while(1){J:{if(v[e>>2]<=v[d>>2]){g=h;e=d;break J}v[g>>2]=d;v[h>>2]=v[d+4>>2];v[d+4>>2]=e;g=m+136|0;e=v[m+136>>2]}h=e+4|0;d=v[e+4>>2];if(d){continue}break}}j=v[m+132>>2];d=j;K:{if(!d){j=0;break K}while(1){c=v[d+8>>2];v[d>>2]=v[c>>2];v[d+16>>2]=v[d+16>>2]-1;v[d+8>>2]=c+(x[d+12>>1]&8?4:-4);d=v[d+4>>2];if(d){continue}break}e=v[j+4>>2];if(!e){break K}h=j+4|0;g=m+132|0;d=j;while(1){if(v[d>>2]<=v[e>>2]){g=h}else{v[g>>2]=e;v[h>>2]=v[e+4>>2];v[e+4>>2]=d;j=v[m+132>>2];e=j;g=m+132|0}d=e;h=d+4|0;e=v[d+4>>2];if(e){continue}break}}v[a+44>>2]=i-1;r=v[v[a+28>>2]-(i<<2)>>2];A=r<<16>>16;L:{if((A|0)>k<<16>>16){c=j;i=j;l=k;while(1){e=v[m+136>>2];M:{if(!e){break M}s=0;d=e;h=i;if(!h){break M}while(1){g=v[d>>2];q=v[h>>2];o=(g|0)>(q|0);N:{O:{f=o?g:q;g=o?q:g;q=v[a+4>>2];if((f-g|0)>(q|0)){break O}n=0-q|0;o=n&g;if((o|0)==(g|0)){break O}n=n&(f+q|0)-1;if((n|0)==(f|0)|((n|0)!=(o+q|0)?(n|0)>=(o|0):0)){break O}if((x[d+12>>1]&7)==2){break N}v[d>>2]=g;v[h>>2]=f;v[d+24>>2]=1;s=s+1|0;break N}Ea[v[a+144>>2]](a,l<<16>>16,g,f,d,h)}d=v[d+4>>2];if(d){h=v[h+4>>2];if(h){continue}}break}d=e;if(s<<16>>16<=0){break M}while(1){if(v[d+24>>2]){v[d+24>>2]=0;Ea[v[a+148>>2]](a,l<<16>>16,v[d>>2],v[i>>2],d,i)}d=v[d+4>>2];if(!d){break M}i=v[i+4>>2];if(i){continue}break}}Ea[v[a+152>>2]](a);l=l+1|0;if(l<<16>>16>=(A|0)){break L}d=e;f=c;P:{if(!d){break P}while(1){f=v[d+8>>2];v[d>>2]=v[f>>2];v[d+16>>2]=v[d+16>>2]-1;v[d+8>>2]=f+(x[d+12>>1]&8?4:-4);d=v[d+4>>2];if(d){continue}break}d=v[e+4>>2];f=c;if(!d){break P}h=e+4|0;g=m+136|0;while(1){Q:{if(v[e>>2]<=v[d>>2]){g=h;e=d;break Q}v[g>>2]=d;v[h>>2]=v[d+4>>2];v[d+4>>2]=e;g=m+136|0;e=v[m+136>>2]}h=e+4|0;d=v[e+4>>2];if(d){continue}break}j=v[m+132>>2];f=j}c=0;i=0;d=f;if(!d){continue}while(1){c=v[d+8>>2];v[d>>2]=v[c>>2];v[d+16>>2]=v[d+16>>2]-1;v[d+8>>2]=c+(x[d+12>>1]&8?4:-4);d=v[d+4>>2];if(d){continue}break}h=f+4|0;g=m+132|0;c=f;i=f;d=f;e=v[d+4>>2];if(!e){continue}while(1){if(v[d>>2]<=v[e>>2]){g=h}else{v[g>>2]=e;v[h>>2]=v[e+4>>2];v[e+4>>2]=d;j=v[m+132>>2];f=j;e=f;g=m+132|0}d=e;h=d+4|0;e=v[d+4>>2];if(e){continue}break}c=f;i=f;continue}}e=v[m+136>>2];l=k}R:{d=e;if(!d){break R}while(1){c=v[d+4>>2];S:{if(v[d+16>>2]|!e){break S}if((d|0)==(e|0)){v[m+136>>2]=c;break S}while(1){f=e;e=v[e+4>>2];if(!e){break S}if((d|0)!=(e|0)){continue}break}v[f+4>>2]=c}if(!c){break R}e=v[m+136>>2];d=c;continue}}T:{if(!j){break T}while(1){c=j;j=v[j+4>>2];U:{if(v[c+16>>2]){break U}d=v[m+132>>2];if(!d){break U}if((c|0)==(d|0)){v[m+132>>2]=j;if(!j){break T}continue}while(1){e=d;d=v[d+4>>2];if(!d){break U}if((c|0)!=(d|0)){continue}break}v[e+4>>2]=j;if(!j){break T}continue}if(j){continue}break}}i=v[a+44>>2];if((i|0)>=1){f=r-k<<16>>16;d=v[m+140>>2];k=l;continue}break}k=l}if(k<<16>>16>(p|0)){break b}while(1){Ea[v[a+152>>2]](a);k=(k<<16)+65536>>16;if((p|0)>=(k|0)){continue}break}break b}v[a+40>>2]=98;break c}v[a+84>>2]=0;if(d>>>0<i>>>0){break b}}d=v[a+40>>2];if((d|0)!=98){break a}}if((c|0)==(y|0)){d=98;break a}v[(z<<2)+m>>2]=y;z=z+1|0;y=(c+y>>1)+1|0;continue}if((z|0)<1){d=0}else{c=y-1|0;z=z-1|0;y=v[(z<<2)+m>>2];continue}}break}Ca=m+144|0;return d}function Yy(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;f=Ca-48|0;Ca=f;g=v[a+720>>2];a:{if(g){break a}b:{c:{if(!(!v[a+736>>2]|!(w[a+9|0]&128?1:x[a+6>>1]&32767))){n=v[a+548>>2];h=v[a+100>>2];if(!v[a+744>>2]){v[f+16>>2]=-1;v[f+20>>2]=-1;e=x[a+340>>1];if(!e){g=0;break b}d=v[a+356>>2];while(1){c=d+B(b,20)|0;d:{if(x[c+6>>1]!=25|!x[c+8>>1]){break d}e:{f:{switch(x[c>>1]-1|0){case 2:if(x[c+2>>1]>1){break d}g=f+20|0;if(x[c+4>>1]==1033|v[f+20>>2]==-1){break e}break d;case 0:break f;default:break d}}if(x[c+2>>1]){break d}g=f+16|0;if(!x[c+4>>1]){break e}if(v[f+16>>2]!=-1){break d}}v[g>>2]=b}b=b+1|0;if((e|0)!=(b|0)){continue}break}g:{h:{b=v[f+20>>2];if((b|0)>-1){break h}c=v[f+16>>2];i:{if((c|0)>-1){break i}v[f+16>>2]=-1;v[f+20>>2]=-1;b=0;while(1){c=d+B(b,20)|0;j:{if(x[c+6>>1]!=16|!x[c+8>>1]){break j}k:{l:{switch(x[c>>1]-1|0){case 2:if(x[c+2>>1]>1){break j}g=f+20|0;if(x[c+4>>1]==1033|v[f+20>>2]==-1){break k}break j;case 0:break l;default:break j}}if(x[c+2>>1]){break j}g=f+16|0;if(!x[c+4>>1]){break k}if(v[f+16>>2]!=-1){break j}}v[g>>2]=b}b=b+1|0;if((e|0)!=(b|0)){continue}break}b=v[f+20>>2];if((b|0)>-1){break h}c=v[f+16>>2];if((c|0)>-1){break i}v[f+16>>2]=-1;v[f+20>>2]=-1;b=0;while(1){c=d+B(b,20)|0;m:{if(x[c+6>>1]!=1|!x[c+8>>1]){break m}n:{o:{switch(x[c>>1]-1|0){case 2:if(x[c+2>>1]>1){break m}g=f+20|0;if(x[c+4>>1]==1033|v[f+20>>2]==-1){break n}break m;case 0:break o;default:break m}}if(x[c+2>>1]){break m}g=f+16|0;if(!x[c+4>>1]){break n}if(v[f+16>>2]!=-1){break m}}v[g>>2]=b}b=b+1|0;if((e|0)!=(b|0)){continue}break}b=v[f+20>>2];if((b|0)>-1){break h}g=0;c=v[f+16>>2];if((c|0)<0){break b}}if((b|0)!=-1){break h}b=0;break g}b=Wp(h,v[a+368>>2],d+B(b,20)|0,322);c=v[f+16>>2]}p:{if((c|0)==-1|b){break p}d=v[a+368>>2];i=v[a+100>>2];m=v[a+356>>2];b=0;v[f+40>>2]=0;k=m+B(c,20)|0;g=qb(i,x[k+8>>1]+1|0,f+40|0);if(v[f+40>>2]){break p}b=Ya(d,v[k+12>>2]);v[f+40>>2]=b;q:{if(b){break q}b=vb(d,x[k+8>>1]);v[f+40>>2]=b;if(b){break q}b=g;r:{j=x[k+8>>1];if(j){e=v[d+32>>2];while(1){l=t[e|0];if((l&-33)-65>>>0>25?l-48>>>0>=10:0){break r}t[b|0]=l;e=e+1|0;b=b+1|0;j=j-1|0;if(j){continue}break}}t[b|0]=0;pb(d);b=g;break p}pb(d)}if(g){Ea[v[i+8>>2]](i,g)}b=0;v[k+12>>2]=0;u[k+8>>1]=0;c=m+B(c,20)|0;g=v[c+16>>2];if(g){Ea[v[i+8>>2]](i,g)}v[c+16>>2]=0}if(!b){g=0;break b}g=a;c=Xa(b);if(c>>>0>=92){t[b+91|0]=0;c=91}v[g+748>>2]=c;v[a+744>>2]=b}g=0;Ea[v[n+40>>2]](a,f+32|0,f+28|0,0,f+24|0)|0;s:{t:{b=v[a+4>>2];if(!(b&2147418112)|w[a+9|0]&128){break t}i=(b>>>16&32767)-1|0;b=v[v[f+24>>2]+16>>2];d=v[(B(i,12)+b|0)+8>>2];e=v[a+540>>2];v[f+40>>2]=0;c=a;if(!(d-256>>>0>32511?(d|0)!=6:0)){Ea[v[e+160>>2]](a,d&65535,f+40|0)|0;b=v[f+40>>2];if(b){break s}b=v[v[f+24>>2]+16>>2]}Ea[v[e+160>>2]](c,x[(B(i,12)+b|0)+4>>1],f+12|0)|0;b=v[f+12>>2];if(!b){break t}b=qb(h,(v[a+748>>2]+Xa(b)|0)+2|0,f+36|0);if(v[f+36>>2]){break b}g=Ac(b,v[a+744>>2]);b=g+v[a+748>>2]|0;t[b|0]=45;d=b+1|0;c=v[f+12>>2];b=w[c|0];if(b){while(1){e=b<<24>>24;if(e-97>>>0>25?e-48>>>0<10|e-65>>>0<26:1){t[d|0]=b;d=d+1|0}b=w[c+1|0];c=c+1|0;if(b){continue}break}}t[d|0]=0;b=v[f+12>>2];if(b){Ea[v[h+8>>2]](h,b)}break c}i=v[v[f+24>>2]+12>>2];b=qb(h,(v[a+748>>2]+B(v[f+32>>2],17)|0)+1|0,f+36|0);if(v[f+36>>2]){break b}g=Ac(b,v[a+744>>2]);d=g+v[a+748>>2]|0;if(v[f+32>>2]){b=v[f+28>>2];e=0;while(1){u:{if(v[b>>2]==v[i+8>>2]){break u}t[d|0]=95;c=v[v[f+28>>2]>>2];v:{if(!c){t[d+1|0]=48;d=d+2|0;break v}if((c|0)>-1){d=d+1|0}else{t[d+1|0]=45;c=0-c|0;d=d+2|0}j=c&65535;b=0;c=c>>>16|0;if(c){while(1){h=(c>>>0)/10|0;t[(f+40|0)+b|0]=c-B(h,10)|48;b=b+1|0;k=c>>>0>9;c=h;if(k){continue}break}while(1){c=b-1|0;t[d|0]=w[c+(f+40|0)|0];d=d+1|0;h=(b|0)>1;b=c;if(h){continue}break}}if(!j){break v}t[d|0]=46;b=B(j,10)+5|0;t[d+1|0]=(b>>>16|0)+48;b=B(b&65535,10);t[d+2|0]=b>>>16|48;b=B(b&65534,10);c=b>>>16|48;t[d+3|0]=c;w:{x:{y:{z:{A:{B:{C:{b=b&65532;if(!b){b=d+3|0;break C}b=B(b,10);c=b>>>16|48;t[d+4|0]=c;b=b&65528;if(!b){b=d+4|0;break C}j=B(b,10);h=j>>>16|0;c=h|48;t[d+5|0]=c;b=d+5|0;j=j&65520;if(!j){break C}d=B(j,10);if(d>>>0>=344800){break y}if((c|0)==49){break B}if((j|0)==17232){if(!(h&1)){break y}c=h+47|0;break z}if(d>>>0>172319){break y}break A}if((b-d|0)!=5){break y}if((c|0)!=49){break A}}t[b|0]=48;break x}if((c|0)==48){break x}c=c-1|0}t[b|0]=c}if((c|0)!=48){break w}}while(1){t[b|0]=0;b=b-1|0;if(w[b|0]==48){continue}break}}d=b+1|0}b=v[i+16>>2];c=b>>24;if(!((c|0)==32|!(c-97>>>0>25?c-48>>>0<10|c-65>>>0<26:1))){t[d|0]=b>>>24;d=d+1|0;b=v[i+16>>2]}h=b>>>16|0;c=h<<24;D:{if((c|0)==536870912){break D}c=c>>24;if(!(c-97>>>0>25?c-48>>>0<10|c-65>>>0<26:1)){break D}t[d|0]=h;d=d+1|0;b=v[i+16>>2]}h=b>>>8|0;c=h<<24;E:{if((c|0)==536870912){break E}c=c>>24;if(!(c-97>>>0>25?c-48>>>0<10|c-65>>>0<26:1)){break E}t[d|0]=h;d=d+1|0;b=v[i+16>>2]}c=b<<24;if((c|0)==536870912){break u}c=c>>24;if(!(c-97>>>0>25?c-48>>>0<10|c-65>>>0<26:1)){break u}t[d|0]=b;d=d+1|0}b=v[f+28>>2]+4|0;v[f+28>>2]=b;i=i+24|0;e=e+1|0;if(e>>>0<y[f+32>>2]){continue}break}}t[d|0]=0;break c}d=Xa(b)+b|0;g=b;break c}v[f+32>>2]=-1;v[f+36>>2]=-1;g=x[a+340>>1];F:{if(g){d=v[a+356>>2];while(1){c=d+B(b,20)|0;G:{if(x[c+6>>1]!=6|!x[c+8>>1]){break G}H:{I:{switch(x[c>>1]-1|0){case 2:if(x[c+2>>1]>1){break G}m=f+36|0;if(x[c+4>>1]==1033|v[f+36>>2]==-1){break H}break G;case 0:break I;default:break G}}if(x[c+2>>1]){break G}m=f+32|0;if(!x[c+4>>1]){break H}if(v[f+32>>2]!=-1){break G}}v[m>>2]=b}b=b+1|0;if((g|0)!=(b|0)){continue}break}b=v[f+32>>2];J:{c=v[f+36>>2];if((c|0)>-1){break J}g=0;if((b|0)<0){break a}if((c|0)!=-1){break J}break F}g=Wp(v[a+100>>2],v[a+368>>2],v[a+356>>2]+B(c,20)|0,323);break F}g=0;b=v[f+32>>2];if((b|0)<0){break a}}if((b|0)==-1|g){break b}d=v[a+368>>2];k=v[a+356>>2];h=v[a+100>>2];g=0;v[f+40>>2]=0;i=k+B(b,20)|0;c=qb(h,x[i+8>>1]+1|0,f+40|0);if(v[f+40>>2]){break b}g=Ya(d,v[i+12>>2]);v[f+40>>2]=g;K:{if(g){break K}g=vb(d,x[i+8>>1]);v[f+40>>2]=g;if(g){break K}e=c;L:{l=x[i+8>>1];if(l){g=v[d+32>>2];while(1){j=t[g|0];if((j|0)<0|!(w[(j>>>3|0)+163584|0]>>>(j&7)&1)){break L}t[e|0]=j;g=g+1|0;e=e+1|0;l=l-1|0;if(l){continue}break}}t[e|0]=0;pb(d);g=c;break b}pb(d)}if(c){Ea[v[h+8>>2]](h,c)}g=0;v[i+12>>2]=0;u[i+8>>1]=0;b=k+B(b,20)|0;c=v[b+16>>2];if(c){Ea[v[h+8>>2]](h,c)}v[b+16>>2]=0;break b}k=(d-g|0)+1|0;if((k|0)<128){break b}c=0-(k>>>4|0)|0;h=(k&-16)+g|0;e=123456789;j=123456789;m=123456789;i=123456789;while(1){b=c<<4;d=v[b+h>>2];d=jQ(B(B(d,597399067)>>>17|B(d,-888307712),-1425107063)^e,19)+j|0;e=v[h+(b|4)>>2];j=B(jQ(B(B(e,-1425107063)>>>16|B(e,-1752629248),951274213)^j,17)+m|0,5)+197830471|0;e=v[h+(b|8)>>2];l=B(jQ(B(B(e,951274213)>>>15|B(e,-1781923840),-1578923117)^m,15)+i|0,5)-1764942795|0;m=l;b=v[h+(b|12)>>2];e=B(d,5)+1444728091|0;d=B(jQ(B(B(b,-1578923117)>>>14|B(b,776732672),597399067)^i,13)+e|0,5)+850148119|0;i=d;b=c;c=b+1|0;if(c>>>0>=b>>>0){continue}break}c=0;M:{switch((k&15)-1|0){case 14:c=w[h+14|0]<<16;case 13:c=w[h+13|0]<<8|c;case 12:b=w[h+12|0]^c;d=B(B(b,-1578923117)>>>14|B(b,776732672),597399067)^d;case 11:c=w[h+11|0]<<24;case 10:c=w[h+10|0]<<16|c;case 9:c=w[h+9|0]<<8^c;case 8:b=w[h+8|0]^c;l=B(B(b,951274213)>>>15|B(b,-1781923840),-1578923117)^l;case 7:c=w[h+7|0]<<24;case 6:c=w[h+6|0]<<16|c;case 5:c=w[h+5|0]<<8^c;case 4:b=w[h+4|0]^c;j=B(B(b,-1425107063)>>>16|B(b,-1752629248),951274213)^j;case 3:c=w[h+3|0]<<24;case 2:c=w[h+2|0]<<16|c;case 1:c=w[h+1|0]<<8^c;case 0:b=w[h|0]^c;e=B(B(b,597399067)>>>17|B(b,-888307712),-1425107063)^e;break;default:break M}}b=v[a+748>>2]+g|0;t[b|0]=45;t[b+33|0]=46;t[b+34|0]=46;t[b+35|0]=46;t[b+36|0]=0;i=j^k;h=k^l;d=d^k;c=(i+(h+d|0)|0)+(e^k)|0;e=B(c>>>16^c,-2048144789);e=B(e>>>13^e,-1028477387);l=e>>>16^e;e=c+i|0;e=B(e>>>16^e,-2048144789);e=B(e>>>13^e,-1028477387);i=e>>>16^e;e=c+h|0;e=B(e>>>16^e,-2048144789);e=B(e>>>13^e,-1028477387);e=e>>>16^e;c=c+d|0;c=B(c>>>16^c,-2048144789);c=B(c>>>13^c,-1028477387);d=c>>>16^c;c=((l+i|0)+e|0)+d|0;d=c+d|0;t[b+32|0]=w[(d&15)+163568|0];t[b+25|0]=w[(d>>>28|0)+163568|0];e=c+e|0;t[b+24|0]=w[(e&15)+163568|0];t[b+31|0]=w[(d>>>4&15)+163568|0];t[b+30|0]=w[(d>>>8&15)+163568|0];t[b+29|0]=w[(d>>>12&15)+163568|0];t[b+28|0]=w[(d>>>16&15)+163568|0];t[b+27|0]=w[(d>>>20&15)+163568|0];t[b+26|0]=w[(d>>>24&15)+163568|0];t[b+23|0]=w[(e>>>4&15)+163568|0];t[b+22|0]=w[(e>>>8&15)+163568|0];t[b+21|0]=w[(e>>>12&15)+163568|0];t[b+20|0]=w[(e>>>16&15)+163568|0];t[b+19|0]=w[(e>>>20&15)+163568|0];t[b+18|0]=w[(e>>>24&15)+163568|0];d=c+i|0;t[b+16|0]=w[(d&15)+163568|0];t[b+17|0]=w[(e>>>28|0)+163568|0];t[b+15|0]=w[(d>>>4&15)+163568|0];t[b+14|0]=w[(d>>>8&15)+163568|0];t[b+13|0]=w[(d>>>12&15)+163568|0];t[b+12|0]=w[(d>>>16&15)+163568|0];t[b+11|0]=w[(d>>>20&15)+163568|0];t[b+10|0]=w[(d>>>24&15)+163568|0];t[b+9|0]=w[(d>>>28|0)+163568|0];t[b+8|0]=w[(c&15)+163568|0];t[b+7|0]=w[(c>>>4&15)+163568|0];t[b+6|0]=w[(c>>>8&15)+163568|0];t[b+5|0]=w[(c>>>12&15)+163568|0];t[b+4|0]=w[(c>>>16&15)+163568|0];t[b+3|0]=w[(c>>>20&15)+163568|0];t[b+2|0]=w[(c>>>24&15)+163568|0];t[b+1|0]=w[(c>>>28|0)+163568|0]}v[a+720>>2]=g}Ca=f+48|0;return g|0}function Zs(a,b,c,d,e,f){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,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;i=Ca+-64|0;Ca=i;z=v[a+352>>2];j=z+20|0;H=vc(a,j,v[d>>2],0);a:{b:{if(H){break b}u=z+80|0;g=v[d>>2];while(1){h=v[z+92>>2];if((h|0)==v[z+88>>2]){if(!_a(u)){p=1;break a}h=v[z+92>>2]}m=w[g|0];v[z+92>>2]=h+1;t[h|0]=m;h=w[g|0];g=g+1|0;if(h){continue}break}g=v[z+96>>2];v[z+96>>2]=v[z+92>>2];p=1;if(!g){break a}H=vc(a,j,g,24);if(!H){break a}if(!w[a+232|0]){break b}if(!Mi(a,H)){break a}}c:{d:{e:{k=v[H+12>>2];l=Ea[v[b+36>>2]](b,c,v[a+376>>2],v[a+388>>2])|0;g=k+l|0;h=v[a+376>>2];f:{if((g|0)<=(h|0)){break f}g=g+16|0;v[a+376>>2]=g;g=Ea[v[a+16>>2]](v[a+388>>2],g<<4)|0;if(!g){break e}v[a+388>>2]=g;if((h|0)>=(l|0)){break f}Ea[v[b+36>>2]](b,c,l,g)|0}y=a+424|0;K=a+412|0;p=1;A=v[a+388>>2];if((l|0)<1){break c}c=v[A>>2];h=Ml(a,b,c,(Ea[v[b+28>>2]](b,c)|0)+c|0);if(!h){break a}while(1){c=v[h>>2]-1|0;if(w[c|0]){p=8;if(v[a+144>>2]!=(b|0)){break a}v[a+284>>2]=v[v[a+388>>2]+(r<<4)>>2];break a}t[c|0]=1;v[(s<<2)+A>>2]=v[h>>2];j=s+1|0;u=v[a+388>>2]+(r<<4)|0;g:{if(!w[u+12|0]){c=1;h:{if(!w[h+8|0]|(k|0)<1){break h}m=v[H+20>>2];g=0;while(1){c=m+B(g,12)|0;if(v[c>>2]==(h|0)){c=w[c+4|0];break h}c=1;g=g+1|0;if((k|0)!=(g|0)){continue}break}}c=c&255;p=Ll(a,b,c,v[u+4>>2],v[u+8>>2],K,f);if(p){break a}g=v[y>>2];i:{if((g|0)==v[a+428>>2]|c){break i}c=g-1|0;if(w[c|0]!=32){break i}v[y>>2]=c;g=c}if(v[a+420>>2]==(g|0)){if(!_a(K)){p=1;break a}g=v[y>>2]}v[a+424>>2]=g+1;t[g|0]=0;v[(j<<2)+A>>2]=v[a+428>>2];break g}c=v[u+8>>2];v[i+8>>2]=v[u+4>>2];if(!v[y>>2]){if(!_a(K)){break d}}while(1){if(Ea[v[b+56>>2]](b,i+8|0,c,y,v[a+420>>2])>>>0>=2){if(_a(K)){continue}break d}break}if(!v[a+428>>2]){break d}g=v[a+424>>2];if((g|0)==v[a+420>>2]){if(!_a(K)){break d}g=v[y>>2]}v[a+424>>2]=g+1;t[g|0]=0;c=v[a+428>>2];v[(j<<2)+A>>2]=c;if(!c){break a}}v[a+428>>2]=v[a+424>>2];c=v[h+4>>2];j:{if(c){if(w[h+9|0]){p=Nl(a,c,h,v[(j<<2)+A>>2],e);if(!p){break j}break a}t[v[h>>2]-1|0]=2;I=I+1|0}s=s+2|0}r=r+1|0;if((l|0)==(r|0)){break c}p=1;c=v[v[a+388>>2]+(r<<4)>>2];h=Ml(a,b,c,(Ea[v[b+28>>2]](b,c)|0)+c|0);if(h){continue}break}break a}v[a+376>>2]=h;p=1;break a}v[(j<<2)+A>>2]=0;break a}v[a+380>>2]=s;k:{l:{b=v[H+8>>2];if(!b){g=-1;break l}g=-1;b=v[b>>2];if(!w[b-1|0]){break l}if((s|0)<1){break k}g=0;while(1){if((b|0)==v[(g<<2)+A>>2]){break l}g=g+2|0;if((s|0)>(g|0)){continue}break}break k}v[a+384>>2]=g}if((k|0)>=1){g=0;while(1){m=v[H+20>>2]+B(g,12)|0;h=v[m>>2];f=v[h>>2]-1|0;m:{if(w[f|0]){break m}c=v[m+8>>2];if(!c){break m}b=v[h+4>>2];n:{if(b){if(w[h+9|0]){p=Nl(a,b,h,c,e);if(!p){break m}break a}t[f|0]=2;I=I+1|0;break n}t[f|0]=1}b=(s<<2)+A|0;v[b>>2]=v[v[m>>2]>>2];v[b+4>>2]=v[m+8>>2];s=s+2|0}g=g+1|0;if((k|0)!=(g|0)){continue}break}}r=0;v[(s<<2)+A>>2]=0;o:{if(!I){break o}b=a;p:{q:{r:{c=w[a+400|0];if(I<<1>>c){g=c;while(1){f=g&255;h=g+1|0;g=h;if(I>>f){continue}break}f=(h&255)>>>0>3?h:3;t[a+400|0]=f;g=f&255;f=Ea[v[a+16>>2]](v[a+392>>2],12<<g)|0;if(f){break r}t[a+400|0]=c;p=1;break a}f=1<<c;c=v[a+396>>2];if(!c){break q}P=c-1|0;break p}v[a+392>>2]=f;f=1<<g}g=f;h=g&3;if(h){while(1){g=g-1|0;v[v[a+392>>2]+B(g,12)>>2]=-1;h=h-1|0;if(h){continue}break}}if(f-1>>>0>2){while(1){c=B(g,12);v[(c+v[a+392>>2]|0)-12>>2]=-1;v[(c+v[a+392>>2]|0)-24>>2]=-1;v[(c+v[a+392>>2]|0)-36>>2]=-1;v[(c+v[a+392>>2]|0)-48>>2]=-1;g=g-4|0;if(g){continue}break}}P=-2}v[b+396>>2]=P;if((s|0)<1){break o}S=0-f|0;T=z+40|0;Q=f-1|0;U=Q>>>2|0;N=i+48|0;u=i+40|0;while(1){s:{t:{R=(r<<2)+A|0;b=v[R>>2];h=b-1|0;if(w[h|0]==2){g=a;while(1){c=g;g=v[g+472>>2];if(g){continue}break}c=v[c+492>>2];v[i+56>>2]=0;v[i+60>>2]=0;v[i+48>>2]=u;v[i+24>>2]=1852142177;v[i+28>>2]=1819895653;v[i+8>>2]=1886610805;v[i+12>>2]=1936682341;v[i+32>>2]=c^2037671283;v[i+36>>2]=1952801890;v[i+16>>2]=c^1852075885;v[i+20>>2]=1685025377;t[h|0]=0;p=1;c=vc(a,T,b,0);if(!c){break a}c=v[c+4>>2];if(!c){break a}O=v[c+4>>2];if(!O){p=27;break a}h=0;g=v[O+20>>2];if((g|0)>=1){while(1){c=w[v[O+16>>2]+h|0];g=v[a+424>>2];if((g|0)==v[a+420>>2]){if(!_a(K)){break a}g=v[y>>2]}v[y>>2]=g+1;t[g|0]=c;g=v[O+20>>2];h=h+1|0;if((g|0)>(h|0)){continue}break}}h=v[O+16>>2];n=h+g|0;u:{while(1){o=0;v:{if(h>>>0>=n>>>0){break v}o=1;g=v[i+48>>2];if(N>>>0<=g>>>0){break v}w:{x:{while(1){c=w[h|0];v[i+48>>2]=g+1;t[g|0]=c;h=h+1|0;if((n|0)==(h|0)){break x}g=v[i+48>>2];if(N>>>0>g>>>0){continue}break}c=h;break w}c=n}o=h>>>0<n>>>0;h=c}g=v[i+48>>2];if(N>>>0>g>>>0){break u}v[i+48>>2]=u;g=v[i+60>>2];m=v[i+56>>2]+8|0;g=m>>>0<8?g+1|0:g;c=i;v[c+56>>2]=m;v[c+60>>2]=g;m=v[c+20>>2];g=m+v[c+12>>2]|0;l=v[c+16>>2];j=v[c+8>>2];k=l+j|0;M=k;x=k^kQ(l,m,13);l=j>>>0>k>>>0?g+1|0:g;m=l^Da;C=v[c+40>>2];D=C^v[c+32>>2];j=v[c+24>>2];k=D+j|0;L=v[c+44>>2];J=L^v[c+36>>2];g=J+v[c+28>>2]|0;g=j>>>0>k>>>0?g+1|0:g;q=k;G=k+x|0;j=g;g=g+m|0;g=k>>>0>G>>>0?g+1|0:g;x=kQ(x,m,17)^G;k=g;m=g^Da;E=m;F=kQ(D,J,16)^q;D=Da^j;j=kQ(M,l,32);l=j+F|0;g=Da+D|0;g=j>>>0>l>>>0?g+1|0:g;q=l;j=l;l=j+x|0;m=g;g=E+g|0;J=l;x=kQ(x,E,13)^l;l=j>>>0>l>>>0?g+1|0:g;j=l^Da;E=j;M=kQ(F,D,21)^q;D=Da^m;c=kQ(G,k,32);k=c+M|0;g=Da+D|0;g=c>>>0>k>>>0?g+1|0:g;G=k+x|0;c=g;g=g+j|0;j=G;V=i,W=kQ(x,E,17)^j,v[V+16>>2]=W;g=k>>>0>j>>>0?g+1|0:g;v[i+20>>2]=g^Da;V=i,W=kQ(j,g,32),v[V+24>>2]=W;v[i+28>>2]=Da;q=kQ(M,D,16)^k;k=Da^c;m=kQ(J,l,32);j=m+q|0;g=Da+k|0;g=m>>>0>j>>>0?g+1|0:g;c=i;V=c,W=kQ(q,k,21)^j,v[V+32>>2]=W;v[c+36>>2]=Da^g;v[c+8>>2]=j^C;v[c+12>>2]=g^L;if(o){continue}break}g=u}while(1){h=w[b|0];c=b+1|0;b=c;if((h|0)!=58){continue}break}if(!w[c|0]){b=c;break t}o=1;h=c;while(1)if(w[h+1|0]){h=h+1|0;o=o+1|0;continue}else{b=c+o|0;break t}}t[h|0]=0;break s}h=c;while(1){q=0;y:{if(b>>>0<=h>>>0){break y}q=1;if(g>>>0>=N>>>0){break y}z:{while(1){A:{m=w[h|0];v[i+48>>2]=g+1;t[g|0]=m;g=v[i+48>>2];h=h+1|0;if((h|0)==(b|0)){break A}if(g>>>0<N>>>0){continue}break z}break}h=b;q=0;break y}q=b>>>0>h>>>0}if(g>>>0>=N>>>0){v[i+48>>2]=u;g=v[i+60>>2];j=v[i+56>>2]+8|0;g=j>>>0<8?g+1|0:g;v[i+56>>2]=j;v[i+60>>2]=g;j=v[i+20>>2];g=j+v[i+12>>2]|0;k=v[i+16>>2];l=v[i+8>>2];n=k+l|0;x=n;F=n^kQ(k,j,13);k=l>>>0>n>>>0?g+1|0:g;j=k^Da;M=v[i+40>>2];C=M^v[i+32>>2];l=v[i+24>>2];n=C+l|0;D=v[i+44>>2];G=D^v[i+36>>2];g=G+v[i+28>>2]|0;g=l>>>0>n>>>0?g+1|0:g;E=n;L=n+F|0;l=g;g=g+j|0;g=n>>>0>L>>>0?g+1|0:g;F=kQ(F,j,17)^L;n=g;j=g^Da;J=j;o=kQ(C,G,16)^E;C=Da^l;l=kQ(x,k,32);k=l+o|0;g=Da+C|0;g=k>>>0<l>>>0?g+1|0:g;E=k;l=k;k=k+F|0;j=g;g=J+g|0;G=k;F=kQ(F,J,13)^k;k=k>>>0<l>>>0?g+1|0:g;l=k^Da;J=l;x=kQ(o,C,21)^E;C=Da^j;m=kQ(L,n,32);n=m+x|0;g=Da+C|0;g=m>>>0>n>>>0?g+1|0:g;L=n+F|0;m=g;g=g+l|0;l=L;V=i,W=kQ(F,J,17)^l,v[V+16>>2]=W;g=n>>>0>l>>>0?g+1|0:g;v[i+20>>2]=g^Da;V=i,W=kQ(l,g,32),v[V+24>>2]=W;v[i+28>>2]=Da;E=kQ(x,C,16)^n;n=Da^m;j=kQ(G,k,32);l=j+E|0;g=Da+n|0;g=j>>>0>l>>>0?g+1|0:g;j=l;V=i,W=kQ(E,n,21)^j,v[V+32>>2]=W;v[i+36>>2]=Da^g;v[i+8>>2]=j^M;v[i+12>>2]=g^D;g=u;if(q){continue}}break}while(1){g=v[a+424>>2];if((g|0)==v[a+420>>2]){if(!_a(K)){break a}g=v[y>>2]}b=w[c|0];v[y>>2]=g+1;t[g|0]=b;b=w[c|0];c=c+1|0;if(b){continue}break}b=Li(i+8|0);n=v[a+392>>2];m=b;c=b&Q;if((P|0)==v[n+B(c,12)>>2]){l=m&S;q=0;while(1){B:{h=B(c,12)+n|0;if((m|0)!=v[h+4>>2]){break B}g=v[a+428>>2];j=w[g|0];b=!j;C:{if(!j){break C}h=v[h+8>>2];if((j|0)!=w[h|0]){break C}while(1){k=w[g+1|0];b=!k;if(!k){break C}g=g+1|0;j=w[h+1|0];h=h+1|0;if((j|0)==(k|0)){continue}break}}if(!b){break B}p=8;break a}q=q&255?q:l>>>w[a+400|0]-1&U|1;b=q&255;c=(c-b|0)+((b|0)>(c|0)?f:0)|0;if((P|0)==v[B(c,12)+n>>2]){continue}break}}if(w[a+233|0]){t[v[a+424>>2]-1|0]=w[a+468|0];g=v[v[O>>2]>>2];while(1){h=v[a+424>>2];if((h|0)==v[a+420>>2]){if(!_a(K)){break a}h=v[y>>2]}b=w[g|0];v[y>>2]=h+1;t[h|0]=b;b=w[g|0];g=g+1|0;if(b){continue}break}}g=v[a+428>>2];v[a+428>>2]=v[a+424>>2];v[R>>2]=g;b=B(c,12);v[b+v[a+392>>2]>>2]=P;v[(b+v[a+392>>2]|0)+4>>2]=m;v[(b+v[a+392>>2]|0)+8>>2]=g;I=I-1|0;if(I){break s}r=r+2|0;break o}r=r+2|0;if((r|0)<(s|0)){continue}break}}if((r|0)<(s|0)){while(1){t[v[(r<<2)+A>>2]-1|0]=0;r=r+2|0;if((r|0)<(s|0)){continue}break}}g=v[e>>2];if(g){while(1){t[v[v[g+12>>2]>>2]-1|0]=0;g=v[g+4>>2];if(g){continue}break}}p=0;if(!w[a+232|0]){break a}b=v[H+4>>2];D:{if(b){e=v[b+4>>2];if(!e){p=27;break a}g=v[d>>2];while(1){b=w[g|0];h=g+1|0;g=h;if((b|0)!=58){continue}break}break D}e=v[z+156>>2];if(!e){break a}h=v[d>>2]}g=0;b=0;E:{if(!w[a+233|0]){break E}c=0;m=v[v[e>>2]>>2];if(!m){break E}while(1){f=c+m|0;b=c+1|0;c=b;if(w[f|0]){continue}break}}v[d+4>>2]=h;v[d+16>>2]=v[e+20>>2];c=v[v[e>>2]>>2];v[d+20>>2]=b;v[d+8>>2]=c;while(1){c=g;g=g+1|0;if(w[c+h|0]){continue}break}o=v[e+20>>2];f=o+(b+g|0)|0;F:{if((f|0)<=v[e+24>>2]){f=v[e+16>>2];break F}m=f+24|0;f=Ea[v[a+12>>2]](m)|0;if(!f){p=1;break a}v[e+24>>2]=m;m=Ta(f,v[e+16>>2],v[e+20>>2]);o=v[a+360>>2];if(o){while(1){if(v[o+12>>2]==v[e+16>>2]){v[o+12>>2]=m}o=v[o>>2];if(o){continue}break}}Ea[v[a+20>>2]](v[e+16>>2]);v[e+16>>2]=m;o=v[e+20>>2]}f=Ta(f+o|0,h,g);if(b){c=c+f|0;t[c|0]=w[a+468|0];Ta(c+1|0,v[v[e>>2]>>2],b)}v[d>>2]=v[e+16>>2]}Ca=i- -64|0;return p}function iN(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,q=0,r=0,s=0,z=0,A=0,C=0;g=Ca-144|0;Ca=g;e=u[b+2>>1];if(!(!e|!x[b>>1])){Ra(g+8|0,0,128);s=v[c>>2];v[g+24>>2]=s;A=g,C=Ua(s,40,0,e,0,g+140|0),v[A+16>>2]=C;m=v[g+140>>2];a:{if(m){break a}f=Ua(s,8,0,u[b>>1],0,g+140|0);v[g+20>>2]=f;m=v[g+140>>2];if(m){break a}p=u[b+2>>1];v[g+8>>2]=p;e=u[b>>1];v[g+12>>2]=e;l=v[g+16>>2];if(e){q=e>>>0>1?e:1;n=v[b+12>>2];m=0;while(1){o=u[n+(m<<1)>>1];j=l+B(k,40)|0;v[f>>2]=j;r=o+1|0;h=r-k|0;v[f+4>>2]=h;if(h){v[j>>2]=l+B(o,40);v[j+8>>2]=f;i=j;b:{if((h|0)==1){break b}z=o+(k^-1)|0;e=j;k=o-k&3;if(k){while(1){v[e+48>>2]=f;i=e+40|0;v[e+4>>2]=i;v[e+40>>2]=e;h=h-1|0;e=i;k=k-1|0;if(k){continue}break}}if(z>>>0<3){break b}while(1){v[e+48>>2]=f;i=e+40|0;v[e+4>>2]=i;v[e+88>>2]=f;v[e+80>>2]=i;i=e+80|0;v[e+44>>2]=i;v[e+128>>2]=f;v[e+120>>2]=i;i=e+120|0;v[e+84>>2]=i;v[e+168>>2]=f;v[e+160>>2]=i;i=e+160|0;v[e+124>>2]=i;v[e+40>>2]=e;e=i;h=h-4|0;if(h>>>0>1){continue}break}}v[i+4>>2]=j}f=f+8|0;k=r;m=m+1|0;if((q|0)!=(m|0)){continue}break}}c:{if(p){k=v[b+4>>2];f=0;e=l;while(1){o=(v[e+4>>2]-l|0)/40|0;h=(v[e>>2]-l|0)/40|0;if(!(t[v[b+8>>2]+f|0]&1)){v[e+12>>2]=1}z=e;j=k+(f<<3)|0;p=v[j+4>>2];m=k+(h<<3)|0;r=p-v[m+4>>2]|0;h=r>>31;q=v[j>>2];m=q-v[m>>2]|0;j=m>>31;j=j^j+m;n=h^h+r;i=(m|0)>-1?2:-2;d:{if(j>>>0>B(n,12)>>>0){break d}i=4;if(n>>>0<=B(j,12)>>>0){break d}i=(r|0)>-1?-1:1}t[z+20|0]=i;j=e;n=k+(o<<3)|0;o=v[n+4>>2]-p|0;h=o>>31;p=v[n>>2]-q|0;q=p>>31;q=q^p+q;n=h^h+o;h=(p|0)>-1?2:-2;e:{if(q>>>0>B(n,12)>>>0){break e}h=4;if(n>>>0<=B(q,12)>>>0){break e}h=(o|0)>-1?-1:1}t[j+21|0]=h;j=v[e+12>>2];f:{g:{if(j&1){break g}if((h|0)!=(i|0)){break f}if((h|0)!=4){break g}if(!ct(m,r,p,o)){break f}j=v[e+12>>2]}v[e+12>>2]=j|2}e=e+40|0;f=f+1|0;i=v[g+8>>2];if(f>>>0<i>>>0){continue}break}f=v[b+4>>2];v[g+32>>2]=c;v[g+28>>2]=b;if(!i){break c}e=v[g+16>>2];b=i-1|0;h=i&3;if(h){while(1){v[e+24>>2]=0;v[e+16>>2]=0;v[e+28>>2]=v[f>>2];v[e+32>>2]=v[f+4>>2];f=f+8|0;e=e+40|0;i=i-1|0;h=h-1|0;if(h){continue}break}}if(b>>>0<3){break c}while(1){v[e+24>>2]=0;v[e+16>>2]=0;v[e+28>>2]=v[f>>2];b=v[f+4>>2];v[e- -64>>2]=0;v[e+56>>2]=0;v[e+32>>2]=b;v[e+68>>2]=v[f+8>>2];b=v[f+12>>2];v[e+104>>2]=0;v[e+96>>2]=0;v[e+72>>2]=b;v[e+108>>2]=v[f+16>>2];b=v[f+20>>2];v[e+144>>2]=0;v[e+136>>2]=0;v[e+112>>2]=b;v[e+148>>2]=v[f+24>>2];v[e+152>>2]=v[f+28>>2];f=f+32|0;e=e+160|0;i=i-4|0;if(i){continue}break}break c}v[g+32>>2]=c;v[g+28>>2]=b}if(v[g+12>>2]){z=0;while(1){b=v[g+20>>2]+(z<<3)|0;h:{if(y[b+4>>2]<4){break h}b=v[b>>2];e=b;while(1){e=v[e+4>>2];if((b|0)==(e|0)){break h}j=v[e+28>>2]-v[b+28>>2]|0;k=v[e+32>>2]-v[b+32>>2]|0;if(!(j|k)){continue}break}l=b;while(1){r=l;l=v[l>>2];if((b|0)==(l|0)){break h}f=v[r+28>>2]-v[l+28>>2]|0;h=v[r+32>>2]-v[l+32>>2]|0;if(!(f|h)){continue}i=gt(j,k,f,h);if(!i){continue}break}b=r;while(1){m=i;o=h;p=f;j=b;l=0;while(1){i=v[e+32>>2];k=v[e+28>>2];while(1){b=e;e=v[e+4>>2];q=v[e+32>>2];h=q-i|0;n=v[e+28>>2];f=n-k|0;l=(e|0)==(r|0)?1:l;i=q;k=n;if(!(f|h)){continue}break}i=gt(p,o,f,h);if(!i){continue}break}if((i^m)<=-1){while(1){v[j+12>>2]=v[j+12>>2]|4;j=v[j+4>>2];if((j|0)!=(b|0)){continue}break}v[b+12>>2]=v[b+12>>2]|4}if(!l){continue}break}}z=z+1|0;if(z>>>0<y[g+12>>2]){continue}break}}m=Pv(g+36|0,a+16|0,a+28|0,s);v[g+140>>2]=m;if(m){break a}m=Pv(g+76|0,a+52|0,a- -64|0,s);if(m){break a}a=v[g+32>>2];o=v[a+200>>2];r=c+416|0;p=v[a+404>>2];a=Qa(v[r>>2],p);b=a+32&-64;q=!b|(a|0)==(b|0);if(!q){e=fb(p,b,a);en(v[g+32>>2],(a|0)>(b|0)?o+((o|0)/-50|0)|0:o,e,0,0)}u[g+128>>1]=257;t[g+132|0]=(d|0)!=1;t[g+131|0]=(d|0)==2|(d|0)==4;t[g+130|0]=(d&-2)==2;m=1;k=0;while(1){l=v[g+16>>2];j=v[g+8>>2];i:{if(!j){break i}e=v[v[g+28>>2]+4>>2];if(!(m&1)){f=l;h=j;i=h&3;if(i){while(1){v[f+24>>2]=0;v[f+16>>2]=0;v[f+28>>2]=v[e+4>>2];v[f+32>>2]=v[e>>2];e=e+8|0;f=f+40|0;h=h-1|0;i=i-1|0;if(i){continue}break}}if(j-1>>>0<3){break i}while(1){v[f+24>>2]=0;v[f+16>>2]=0;v[f+28>>2]=v[e+4>>2];a=v[e>>2];v[f- -64>>2]=0;v[f+56>>2]=0;v[f+32>>2]=a;v[f+68>>2]=v[e+12>>2];a=v[e+8>>2];v[f+104>>2]=0;v[f+96>>2]=0;v[f+72>>2]=a;v[f+108>>2]=v[e+20>>2];a=v[e+16>>2];v[f+144>>2]=0;v[f+136>>2]=0;v[f+112>>2]=a;v[f+148>>2]=v[e+28>>2];v[f+152>>2]=v[e+24>>2];e=e+32|0;f=f+160|0;h=h-4|0;if(h){continue}break}break i}f=l;h=j;i=h&3;if(i){while(1){v[f+24>>2]=0;v[f+16>>2]=0;v[f+28>>2]=v[e>>2];v[f+32>>2]=v[e+4>>2];e=e+8|0;f=f+40|0;h=h-1|0;i=i-1|0;if(i){continue}break}}if(j-1>>>0<3){break i}while(1){v[f+24>>2]=0;v[f+16>>2]=0;v[f+28>>2]=v[e>>2];a=v[e+4>>2];v[f- -64>>2]=0;v[f+56>>2]=0;v[f+32>>2]=a;v[f+68>>2]=v[e+8>>2];a=v[e+12>>2];v[f+104>>2]=0;v[f+96>>2]=0;v[f+72>>2]=a;v[f+108>>2]=v[e+16>>2];a=v[e+20>>2];v[f+144>>2]=0;v[f+136>>2]=0;v[f+112>>2]=a;v[f+148>>2]=v[e+24>>2];v[f+152>>2]=v[e+28>>2];e=e+32|0;f=f+160|0;h=h-4|0;if(h){continue}break}}i=v[g+12>>2];j:{if(!i){b=0;break j}d=0;n=v[g+20>>2];while(1){k:{a=n+(d<<3)|0;if(!v[a+4>>2]){break k}a=v[a>>2];f=a;while(1){f=v[f>>2];if((a|0)==(f|0)){b=d+1|0;break j}if(v[f+28>>2]==v[a+28>>2]){continue}break}s=v[f+4>>2];e=s;while(1){h=e;while(1){e=v[e+4>>2];if((s|0)==(e|0)){break k}b=v[e+28>>2];a=v[h+28>>2];if((b|0)==(a|0)){continue}break}l:{m:{if((a|0)>v[f+28>>2]){if((a|0)>(b|0)){break m}break l}if((a|0)>=(b|0)){break l}}while(1){v[h+16>>2]=v[h+16>>2]|64;h=v[h+4>>2];if((h|0)!=(e|0)){continue}break}}f=v[e>>2];continue}}b=0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}while(1){if(b>>>0<j>>>0){d=B(b,40);a=d+l|0;h=v[a+16>>2];n:{if(!(h&64)){break n}f=d+l|0;e=a;while(1){e=v[e>>2];if((a|0)==(e|0)){break n}i=v[e+32>>2];d=v[f+32>>2];if((i|0)==(d|0)){continue}break}e=a;while(1){e=v[e+4>>2];if((a|0)==(e|0)){break n}f=v[e+32>>2];if((f|0)==(d|0)){continue}break}if((d|0)<=(i|0)|(d|0)>=(f|0)){if((d|0)<=(f|0)|(d|0)>=(i|0)){break n}d=h|256}else{d=h|128}v[a+16>>2]=d}b=b+1|0;continue}break}h=v[g+32>>2];b=(g+8|0)+B(k,40)|0;d=b+28|0;f=v[d>>2];if(f){e=v[b+36>>2];while(1){Ov(e,h,k,g+8|0);e=e+28|0;f=f-1|0;if(f){continue}break}h=v[g+32>>2]}a=v[b+60>>2];e=v[a+8>>2];l=v[a>>2];a=ab(32,v[(B(k,204)+h|0)+200>>2]);i=(a|0)<30?a:30;j=m&1?1:2;o:{p:{q:{if(l>>>0>=2){f=v[g+8>>2];if(!f){j=0;break o}a=v[e+12>>2];h=a>>>0>f>>>0?f:a;while(1){a=v[e+28>>2];a=a>>>0<f>>>0?a:f;if(a>>>0>h>>>0){f=v[g+16>>2];Nv(d,v[e+16>>2],v[e+24>>2]);Mv(v[b+32>>2],v[b+40>>2],f+B(h,40)|0,a-h|0,i,j)}l=l-1|0;if(l>>>0<2){break q}e=e+16|0;f=v[g+8>>2];h=a;continue}}if((l|0)!=1){break p}}a=v[g+16>>2];e=v[g+8>>2];h=d;d=v[v[b+60>>2]+8>>2];Nv(h,v[d>>2],v[d+8>>2]);Mv(v[b+32>>2],v[b+40>>2],a,e,i,j)}j=v[g+8>>2];if(!j){j=0;break o}e=v[g+16>>2];if(j&1){r:{if(!v[e+24>>2]){break r}a=v[e+16>>2];if(a&16){break r}v[e+16>>2]=a|16}e=e+40|0;f=j-1|0}else{f=j}if((j|0)==1){break o}while(1){s:{if(!v[e+24>>2]){break s}a=v[e+16>>2];if(a&16){break s}v[e+16>>2]=a|16}t:{if(!v[e- -64>>2]){break t}a=v[e+56>>2];if(a&16){break t}v[e+56>>2]=a|16}e=e+80|0;f=f-2|0;if(f){continue}break}}a=v[g+16>>2];u:{if(!(k&1)){Lv(j,a,v[g+32>>2],0);Kv(g+8|0,0);Jv(v[g+12>>2],v[g+20>>2],v[g+32>>2],0);h=v[g+8>>2];if(!h){break u}a=v[g+28>>2];b=v[a+8>>2];a=v[a+4>>2];f=0;e=v[g+16>>2];while(1){v[a+(f<<3)>>2]=v[e+36>>2];if(w[e+16|0]&16){d=b+f|0;t[d|0]=w[d|0]|32;h=v[g+8>>2]}e=e+40|0;f=f+1|0;if(h>>>0>f>>>0){continue}break}break u}h=a;b=j;if(b){while(1){d=w[h+20|0];v:{w:{if((d|0)==2|(d|0)==254){break w}d=w[h+21|0];if((d|0)==254){break w}if((d|0)!=2){break v}}k=v[h+16>>2];if(k&16){break v}d=v[h+28>>2];i=v[c+412>>2];x:{if(!i){break x}f=v[c+2488>>2];l=0-f|0;e=r;while(1){n=d-v[e+12>>2]|0;if((n|0)<(l|0)){break x}if(!(!((n|0)>v[c+2484>>2]?w[c+2492|0]:1)|(d|0)>(f+v[e+8>>2]|0))){n=v[e+24>>2];k=k|48;v[h+16>>2]=k;v[h+36>>2]=n}e=e+32|0;i=i-1|0;if(i){continue}break}}i=v[c+928>>2];if(!i){break v}f=v[c+2488>>2];l=0-f|0;e=((i<<5)+c|0)+932|0;while(1){n=v[e-24>>2]-d|0;if((n|0)<(l|0)){break v}if(!(!((n|0)>=v[c+2484>>2]?w[c+2492|0]:1)|(d|0)<(v[e-20>>2]-f|0))){n=v[e-4>>2];k=k|48;v[h+16>>2]=k;v[h+36>>2]=n}e=e-32|0;i=i-1|0;if(i){continue}break}}h=h+40|0;b=b-1|0;if(b){continue}break}}Lv(j,a,v[g+32>>2],1);Kv(g+8|0,1);Jv(v[g+12>>2],v[g+20>>2],v[g+32>>2],1);h=v[g+8>>2];if(!h){break u}a=v[g+28>>2];b=v[a+8>>2];a=v[a+4>>2];f=0;e=v[g+16>>2];while(1){v[(a+(f<<3)|0)+4>>2]=v[e+36>>2];if(w[e+16|0]&16){d=b+f|0;t[d|0]=w[d|0]|64;h=v[g+8>>2]}e=e+40|0;f=f+1|0;if(h>>>0>f>>>0){continue}break}}if(!q){en(v[g+32>>2],o,p,0,0)}k=1;a=m&1;m=0;if(a){continue}break}}a=v[g+24>>2];b=a;c=v[g+100>>2];if(c){Ea[v[b+8>>2]](b,c)}v[g+104>>2]=0;v[g+96>>2]=0;v[g+100>>2]=0;b=v[g+88>>2];if(b){Ea[v[a+8>>2]](a,b)}v[g+88>>2]=0;b=v[g+84>>2];if(b){Ea[v[a+8>>2]](a,b)}v[g+84>>2]=0;v[g+92>>2]=0;v[g+76>>2]=0;v[g+80>>2]=0;b=v[g+60>>2];if(b){Ea[v[a+8>>2]](a,b)}v[g- -64>>2]=0;v[g+56>>2]=0;v[g+60>>2]=0;b=v[g+48>>2];if(b){Ea[v[a+8>>2]](a,b)}v[g+48>>2]=0;b=v[g+44>>2];if(b){Ea[v[a+8>>2]](a,b)}v[g+44>>2]=0;v[g+52>>2]=0;v[g+36>>2]=0;v[g+40>>2]=0;b=v[g+16>>2];if(b){Ea[v[a+8>>2]](a,b)}v[g+16>>2]=0;b=v[g+20>>2];if(b){Ea[v[a+8>>2]](a,b)}}Ca=g+144|0;return m|0}function CL(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;f=Ca-80|0;Ca=f;l=v[a+8>>2];a:{if(!l){b=6;break a}n=v[a>>2];g=v[a+4>>2];b:{if(v[g+12>>2]>1){break b}bf(g);if(v[g+12>>2]>1){break b}j=v[g+8>>2];b=v[g>>2];c:{while(1){d=3;if(b>>>0>=j>>>0){break c}c=b+1|0;v[g>>2]=c;i=w[b|0];b=c;d:{switch(i-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}d=2}v[g+12>>2]=d}while(1){e:{v[g+12>>2]=0;c=Fh(g);if(c){break e}b=2;if(v[g+12>>2]==2){continue}break a}break}b=2;if((v[g>>2]+(c^-1)|0)!=16){break a}if($a(c,299912,16)){break a}i=160;f:while(1){k=v[a+4>>2];g:{if(v[k+12>>2]>1){break g}bf(k);if(v[k+12>>2]>1){break g}g=v[k+8>>2];b=v[k>>2];h:{while(1){d=3;if(b>>>0>=g>>>0){break h}c=b+1|0;v[k>>2]=c;j=w[b|0];b=c;i:{switch(j-10|0){case 16:break h;case 0:case 3:break i;default:continue}}break}d=2}v[k+12>>2]=d}j:{while(1){k:{v[k+12>>2]=0;h=Fh(k);if(h){break k}if(v[k+12>>2]==2){continue}break j}break}j=v[k>>2]+(h^-1)|0;g=w[h|0];c=0;while(1){l:{e=v[(c<<2)+299936>>2];if((g|0)==w[e|0]){d=c;break l}d=c|1;e=v[(d<<2)+299936>>2];if((g|0)==w[e|0]){break l}c=c+2|0;if((c|0)!=74){continue}continue f}break}b=(d|0)>73?d:73;while(1){if($a(e,h,j)){if((b|0)==(d|0)){continue f}d=d+1|0;e=v[(d<<2)+299936>>2];if((g|0)==w[e|0]){continue}continue f}break}b=0;m:{n:{o:{p:{switch(d|0){case 40:v[f+32>>2]=3;if((Ie(a,f+32|0,1)|0)!=1){break j}if(!(v[f+36>>2]&-3)){continue}i=7;break j;case 30:v[f>>2]=4;if((Ie(a,f,1)|0)!=1){break j}t[l|0]=w[f+4|0];continue;case 26:v[f+24>>2]=2;v[f+16>>2]=2;v[f+8>>2]=2;v[f>>2]=2;if((Ie(a,f,4)|0)!=4){break j}v[l+4>>2]=v[f+4>>2];v[l+8>>2]=v[f+12>>2];v[l+12>>2]=v[f+20>>2];v[l+16>>2]=v[f+28>>2];continue;case 0:v[f>>2]=2;if((Ie(a,f,1)|0)!=1){break j}v[l+20>>2]=v[f+4>>2];continue;case 14:v[f>>2]=2;if((Ie(a,f,1)|0)!=1){break j}v[l+24>>2]=v[f+4>>2];continue;case 45:v[f+32>>2]=3;if((Ie(a,f+32|0,1)|0)!=1){break j}i=v[f+36>>2];if((i|0)<1){break m}q:while(1){h=v[a+4>>2];r:{if(v[h+12>>2]>1){break r}bf(h);if(v[h+12>>2]>1){break r}g=v[h+8>>2];c=v[h>>2];s:{while(1){t:{if(c>>>0>=g>>>0){break t}b=c+1|0;v[h>>2]=b;j=w[c|0];d=2;c=b;switch(j-10|0){case 0:case 3:break s;case 16:break t;default:continue}}break}d=3}v[h+12>>2]=d}v[h+12>>2]=0;d=3;c=v[h>>2];g=v[h+8>>2];if(c>>>0>=g>>>0){break n}j=i-1|0;while(1){d=1;b=c+1|0;v[h>>2]=b;u:{switch(w[c|0]-9|0){default:v:{w:{x:{while(1){d=3;if(b>>>0>=g>>>0){break w}c=b;b=b+1|0;v[h>>2]=b;y:{switch(w[c|0]-9|0){case 0:case 23:break v;case 17:break w;case 50:break x;case 1:case 4:break y;default:continue}}break}d=2;break w}d=1}v[h+12>>2]=d}b=(i|0)>1;i=j;if(b){continue q}break m;case 0:case 23:c=b;if((b|0)!=(g|0)){continue}break o;case 50:break n;case 17:break o;case 1:case 4:break u}}v[h+12>>2]=0;c=b;if(b>>>0<g>>>0){continue}break}break};break o;case 20:break a;case 49:break p;default:continue}}m=1;g=0;z:while(1){h=v[a+4>>2];A:{if(v[h+12>>2]>1){break A}bf(h);if(v[h+12>>2]>1){break A}j=v[h+8>>2];c=v[h>>2];B:{while(1){C:{if(c>>>0>=j>>>0){break C}b=c+1|0;v[h>>2]=b;i=w[c|0];d=2;c=b;switch(i-10|0){case 0:case 3:break B;case 16:break C;default:continue}}break}d=3}v[h+12>>2]=d}v[h+12>>2]=0;i=3;D:{E:{c=v[h>>2];j=v[h+8>>2];F:{if(c>>>0>=j>>>0){break F}G:{while(1){d=1;b=c+1|0;v[h>>2]=b;H:{switch(w[c|0]-9|0){case 0:case 23:c=b;if((b|0)!=(j|0)){continue}break F;default:I:{J:{K:{while(1){if(b>>>0>=j>>>0){break J}d=b;b=b+1|0;v[h>>2]=b;L:{switch(w[d|0]-9|0){case 0:case 23:break I;case 17:break J;case 50:break K;case 1:case 4:break L;default:continue}}break}i=2;break J}i=1}v[h+12>>2]=i}i=(c^-1)+b|0;j=w[c|0];b=0;while(1){e=v[(b<<2)+299936>>2];if((j|0)==w[e|0]){d=b;break E}d=b|1;e=v[(d<<2)+299936>>2];if((j|0)==w[e|0]){break E}b=b+2|0;if((b|0)!=74){continue}break};continue z;case 17:break F;case 50:break G;case 1:case 4:break H}}v[h+12>>2]=0;c=b;if(b>>>0<j>>>0){continue}break}d=3}i=d}v[h+12>>2]=i;break D}b=(d|0)>73?d:73;while(1){if($a(e,c,i)){if((b|0)==(d|0)){continue z}d=d+1|0;e=v[(d<<2)+299936>>2];if((j|0)==w[e|0]){continue}continue z}break}if((d|0)==75){continue}b=0;i=160;M:{switch(d-20|0){case 33:if(!m){break D}b=v[a+4>>2];k=v[a+8>>2];v[f+32>>2]=3;if((Ie(a,f+32|0,1)|0)!=1){break D}c=v[f+36>>2];if((c|0)<0){break D}v[k+32>>2]=c;if(c>>>0>(v[b+8>>2]-v[b>>2]>>>0)/20>>>0){break D}if(c){o=k,p=Ua(v[a>>2],20,0,c,0,f+32|0),v[o+28>>2]=p;i=v[f+32>>2];if(i){break j}}m=-1;N:while(1){e=v[a+4>>2];O:{if(v[e+12>>2]>1){break O}bf(e);if(v[e+12>>2]>1){break O}j=v[e+8>>2];b=v[e>>2];P:{while(1){d=3;if(b>>>0>=j>>>0){break P}c=b+1|0;v[e>>2]=c;i=w[b|0];b=c;Q:{switch(i-10|0){case 16:break P;case 0:case 3:break Q;default:continue}}break}d=2}v[e+12>>2]=d}while(1){R:{v[e+12>>2]=0;h=Fh(e);if(h){break R}if(v[e+12>>2]==2){continue}break D}break}i=v[e>>2]+(h^-1)|0;j=w[h|0];c=0;while(1){S:{e=v[(c<<2)+299936>>2];if((j|0)==w[e|0]){d=c;break S}d=c|1;e=v[(d<<2)+299936>>2];if((j|0)==w[e|0]){break S}c=c+2|0;if((c|0)!=74){continue}continue N}break}b=(d|0)>73?d:73;while(1){if($a(e,h,i)){if((b|0)==(d|0)){continue N}d=d+1|0;e=v[(d<<2)+299936>>2];if((j|0)==w[e|0]){continue}continue N}break}T:{switch(d-20|0){case 36:m=m+1|0;if((m|0)>=v[k+32>>2]){break D}b=v[k+28>>2];v[f+64>>2]=2;v[f+56>>2]=2;v[f+48>>2]=2;v[f+40>>2]=2;v[f+32>>2]=3;if((Ie(a,f+32|0,5)|0)!=5){break D}b=b+B(m,20)|0;v[b>>2]=v[f+36>>2];v[b+4>>2]=v[f+44>>2];v[b+8>>2]=v[f+52>>2];v[b+12>>2]=v[f+60>>2];v[b+16>>2]=v[f+68>>2];continue;case 0:case 1:case 3:b=m+1|0;if((b|0)!=v[k+32>>2]){v[k+32>>2]=b}m=0;continue z;case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:break D;default:break T}}if((d|0)==75){continue}break};break D;case 0:case 1:break a;case 30:case 31:break M;default:break j}}if(g){break D}b=v[a+4>>2];k=v[a+8>>2];v[f+32>>2]=3;if((Ie(a,f+32|0,1)|0)!=1){break D}c=v[f+36>>2];if((c|0)<0){break D}v[k+40>>2]=c;if(c>>>0>(v[b+8>>2]-v[b>>2]>>>0)/10>>>0){break D}if(c){o=k,p=Ua(v[a>>2],16,0,c,0,f+32|0),v[o+36>>2]=p;i=v[f+32>>2];if(i){break j}}i=-1;U:while(1){e=v[a+4>>2];V:{if(v[e+12>>2]>1){break V}bf(e);if(v[e+12>>2]>1){break V}g=v[e+8>>2];b=v[e>>2];W:{while(1){d=3;if(b>>>0>=g>>>0){break W}c=b+1|0;v[e>>2]=c;j=w[b|0];b=c;X:{switch(j-10|0){case 16:break W;case 0:case 3:break X;default:continue}}break}d=2}v[e+12>>2]=d}while(1){Y:{v[e+12>>2]=0;h=Fh(e);if(h){break Y}if(v[e+12>>2]==2){continue}break D}break}j=v[e>>2]+(h^-1)|0;g=w[h|0];c=0;while(1){Z:{e=v[(c<<2)+299936>>2];if((g|0)==w[e|0]){d=c;break Z}d=c|1;e=v[(d<<2)+299936>>2];if((g|0)==w[e|0]){break Z}c=c+2|0;if((c|0)!=74){continue}continue U}break}c=(d|0)>73?d:73;while(1){if($a(e,h,j)){if((d|0)==(c|0)){continue U}b=d+1|0;d=b;e=v[(b<<2)+299936>>2];if((g|0)==w[e|0]){continue}continue U}break}if((d|0)==75){continue}b=d-20|0;if(b>>>0>17){break D}b=1<<b;if(!(b&7)){if(!(b&212992)){break D}i=i+1|0;if((i|0)>=v[k+40>>2]){break D}b=v[k+36>>2];v[f+56>>2]=3;v[f+48>>2]=3;v[f+40>>2]=5;v[f+32>>2]=5;h=Ie(a,f+32|0,4);if((h|0)<3){break D}g=b+(i<<4)|0;v[g>>2]=v[f+36>>2];v[g+4>>2]=v[f+44>>2];b=0;c=v[f+52>>2];j=g;if((d|0)!=37){b=c;c=(d|0)==34?(h|0)==4?v[f+60>>2]:0:0}v[j+12>>2]=c;v[g+8>>2]=b;continue}break}b=i+1|0;if((b|0)!=v[k+40>>2]){v[k+40>>2]=b}Uc(v[k+36>>2],b,16,707);g=1;continue}break}i=160;break j}d=3}v[h+12>>2]=d;b=160;break a}_:while(1){g=v[a+4>>2];$:{if(v[g+12>>2]>1){break $}bf(g);if(v[g+12>>2]>1){break $}j=v[g+8>>2];c=v[g>>2];aa:{while(1){ba:{if(c>>>0>=j>>>0){break ba}b=c+1|0;v[g>>2]=b;i=w[c|0];d=2;c=b;switch(i-10|0){case 0:case 3:break aa;case 16:break ba;default:continue}}break}d=3}v[g+12>>2]=d}v[g+12>>2]=0;d=3;ca:{c=v[g>>2];j=v[g+8>>2];da:{if(c>>>0>=j>>>0){break da}while(1){ea:{d=1;b=c+1|0;v[g>>2]=b;fa:{switch(w[c|0]-9|0){default:ga:{ha:{ia:{while(1){i=3;if(b>>>0>=j>>>0){break ha}d=b;b=b+1|0;v[g>>2]=b;ja:{switch(w[d|0]-9|0){case 0:case 23:break ga;case 17:break ha;case 50:break ia;case 1:case 4:break ja;default:continue}}break}i=2;break ha}i=1}v[g+12>>2]=i}i=(c^-1)+b|0;j=w[c|0];b=0;while(1){e=v[(b<<2)+299936>>2];if((j|0)==w[e|0]){d=b;break ca}d=b|1;e=v[(d<<2)+299936>>2];if((j|0)==w[e|0]){break ca}b=b+2|0;if((b|0)!=74){continue}break};continue _;case 1:case 4:v[g+12>>2]=0;c=b;if(b>>>0<j>>>0){continue}break ea;case 50:break da;case 17:break ea;case 0:case 23:break fa}}c=b;if((b|0)!=(j|0)){continue}}break}d=3}v[g+12>>2]=d;b=160;break a}b=(d|0)>73?d:73;while(1){if($a(e,c,i)){if((b|0)==(d|0)){continue _}d=d+1|0;e=v[(d<<2)+299936>>2];if((j|0)==w[e|0]){continue}continue _}break}i=0;if(!((d|0)==20^(d|0)==17)){continue}break}continue}break}a=v[l+28>>2];if(a){Ea[v[n+8>>2]](n,a)}v[l+28>>2]=0;v[l+32>>2]=0;a=v[l+36>>2];if(a){Ea[v[n+8>>2]](n,a)}v[l+36>>2]=0;v[l+40>>2]=0;t[l|0]=0;b=i}Ca=f+80|0;return b|0}function Qo(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,x=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;t=w[a+3|0]|w[a+2|0]<<8;gc(t?t+a|0:280448,v[b+12>>2]);u=w[a+5|0]|w[a+4|0]<<8;if(u){t=v[70113];m=t;n=v[70112];x=a+6|0;while(1){d=w[x+1|0]|w[x|0]<<8;z=d?d+a|0:280448;A=w[z|0]<<8|w[z+1|0];if(A){B=z+2|0;while(1){d=w[B+1|0]|w[B|0]<<8;e=d?d+z|0:280448;c=w[e+1|0];d=w[e|0];k=(c<<1|d<<9)+e|0;f=k;C=w[f+3|0]|w[f+2|0]<<8;D=(f+2|0)+(C?C<<1:2)|0;l=w[D+1|0];q=w[D|0];F=(l<<1|q<<9)+D|0;E=w[F+2|0];G=w[F+3|0];s=c|d<<8;if(s){o=v[b+8>>2];j=e+2|0;while(1){a:{if(!w[o+12|0]){break a}H=w[j|0];g=w[j+1|0];v[o+16>>2]=-1;h=H>>>1|0;e=v[o+40>>2];p=v[o+28>>2];b:{c:{if((p|0)<1){d=0;break c}r=v[o+32>>2];i=p-1|0;d=0;while(1){c=d+i>>>1|0;f=h-v[(c<<3)+r>>2]|0;d:{if((f|0)<=-1){i=c-1|0;break d}if(!f){d=c;break b}d=c+1|0}if((d|0)<=(i|0)){continue}break}}if(!hc(o,e+1|0)){break a}e:{if(e>>>0>=y[o+40>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;v[163916]=n;v[163917]=m;c=655664;break e}c=v[o+44>>2]+(e<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;f=d<<3;c=f+v[o+32>>2]|0;mb(c+8|0,c,v[o+28>>2]+(d^-1)<<3);f:{if(y[o+28>>2]<=d>>>0){v[163916]=n;v[163917]=m;f=655664;break f}f=f+v[o+32>>2]|0}v[f>>2]=h;v[f+4>>2]=e;p=v[o+28>>2]}g:{if(d>>>0>=p>>>0){v[163916]=n;v[163917]=m;d=t;break g}d=v[(v[o+32>>2]+(d<<3)|0)+4>>2]}h:{if(d>>>0>=y[o+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=n;v[163917]=m;c=655664;break h}c=v[o+44>>2];if(!c){break a}c=c+(d<<6)|0}c=c+((g|H<<8)>>>3&56)|0;d=c;f=v[c+4>>2];h=c;i=v[c>>2];c=g&63;e=c&31;if((c&63)>>>0>=32){c=1<<e;e=0}else{c=(1<<e)-1&1>>>32-e;e=1<<e}v[h>>2]=i|e;v[d+4>>2]=c|f}j=j+2|0;s=s-1|0;if(s){continue}break}}s=l|q<<8;i:{if(!C){break i}h=C-1|0;if(!h){break i}j=k+4|0;g=v[b+12>>2];while(1){j:{if(!w[g+12|0]){break j}k=w[j|0];l=w[j+1|0];v[g+16>>2]=-1;q=k>>>1|0;e=v[g+40>>2];p=v[g+28>>2];k:{l:{if((p|0)<1){d=0;break l}r=v[g+32>>2];i=p-1|0;d=0;while(1){c=d+i>>>1|0;f=q-v[r+(c<<3)>>2]|0;m:{if((f|0)<=-1){i=c-1|0;break m}if(!f){d=c;break k}d=c+1|0}if((d|0)<=(i|0)){continue}break}}if(!hc(g,e+1|0)){break j}n:{if(e>>>0>=y[g+40>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;v[163916]=n;v[163917]=m;c=655664;break n}c=v[g+44>>2]+(e<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;f=d<<3;c=f+v[g+32>>2]|0;mb(c+8|0,c,v[g+28>>2]+(d^-1)<<3);o:{if(y[g+28>>2]<=d>>>0){v[163916]=n;v[163917]=m;f=655664;break o}f=f+v[g+32>>2]|0}v[f>>2]=q;v[f+4>>2]=e;p=v[g+28>>2]}p:{if(d>>>0>=p>>>0){v[163916]=n;v[163917]=m;d=t;break p}d=v[(v[g+32>>2]+(d<<3)|0)+4>>2]}q:{if(d>>>0>=y[g+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=n;v[163917]=m;c=655664;break q}c=v[g+44>>2];if(!c){break j}c=c+(d<<6)|0}c=c+((l|k<<8)>>>3&56)|0;d=c;f=v[c+4>>2];k=c;i=v[c>>2];c=l&63;e=c&31;if((c&63)>>>0>=32){c=1<<e;e=0}else{c=(1<<e)-1&1>>>32-e;e=1<<e}v[k>>2]=i|e;v[d+4>>2]=c|f}j=j+2|0;h=h-1|0;if(h){continue}break}}if(s){j=D+2|0;h=v[b+16>>2];while(1){r:{if(!w[h+12|0]){break r}k=w[j|0];l=w[j+1|0];v[h+16>>2]=-1;q=k>>>1|0;e=v[h+40>>2];p=v[h+28>>2];s:{t:{if((p|0)<1){d=0;break t}r=v[h+32>>2];i=p-1|0;d=0;while(1){c=d+i>>>1|0;f=q-v[r+(c<<3)>>2]|0;u:{if((f|0)<=-1){i=c-1|0;break u}if(!f){d=c;break s}d=c+1|0}if((d|0)<=(i|0)){continue}break}}if(!hc(h,e+1|0)){break r}v:{if(e>>>0>=y[h+40>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;v[163916]=n;v[163917]=m;c=655664;break v}c=v[h+44>>2]+(e<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;f=d<<3;c=f+v[h+32>>2]|0;mb(c+8|0,c,v[h+28>>2]+(d^-1)<<3);w:{if(y[h+28>>2]<=d>>>0){v[163916]=n;v[163917]=m;f=655664;break w}f=f+v[h+32>>2]|0}v[f>>2]=q;v[f+4>>2]=e;p=v[h+28>>2]}x:{if(d>>>0>=p>>>0){v[163916]=n;v[163917]=m;d=t;break x}d=v[(v[h+32>>2]+(d<<3)|0)+4>>2]}y:{if(d>>>0>=y[h+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=n;v[163917]=m;c=655664;break y}c=v[h+44>>2];if(!c){break r}c=c+(d<<6)|0}c=c+((l|k<<8)>>>3&56)|0;d=c;f=v[c+4>>2];k=c;g=v[c>>2];c=l&63;e=c&31;if((c&63)>>>0>=32){c=1<<e;e=0}else{c=(1<<e)-1&1>>>32-e;e=1<<e}v[k>>2]=g|e;v[d+4>>2]=c|f}j=j+2|0;s=s-1|0;if(s){continue}break}}E=E<<8|G;if(E){G=F+4|0;j=0;while(1){z:{if(!v[b+32>>2]|!v[b+24>>2]|v[b+20>>2]==280448){break z}c=G+(j<<2)|0;d=w[c+2|0];q=w[c+3|0];h=d<<8|q;k=d>>>1|0;l=v[b+28>>2];d=v[l+28>>2];A:{if((d|0)<1){break A}e=v[l+32>>2];i=d-1|0;d=0;while(1){B:{r=d+i>>>1|0;f=e+(r<<3)|0;c=k-v[f>>2]|0;C:{if((c|0)<=-1){i=r-1|0;break C}if(!c){break B}d=r+1|0}if((d|0)<=(i|0)){continue}break A}break}c=v[f+4>>2];if(c>>>0>=y[l+40>>2]){c=280448}else{d=v[l+44>>2];if(!d){break A}c=d+(c<<6)|0}c=c+(h>>>3&56)|0;d=v[c>>2];f=v[c+4>>2];c=d;d=q&63;e=d&31;if(((d&63)>>>0>=32?f>>>e|0:((1<<e)-1&f)<<32-e|c>>>e)&1){break z}}d=b;e=v[d+12>>2];f=v[d+8>>2];c=v[d+16>>2];v[d+12>>2]=280448;v[d+16>>2]=280448;v[d+8>>2]=280448;v[d+32>>2]=v[d+32>>2]-1;Ea[v[d+24>>2]](d,h);v[d+16>>2]=c;v[d+8>>2]=f;v[d+12>>2]=e;v[d+32>>2]=v[d+32>>2]+1;g=v[d+28>>2];if(!w[g+12|0]){break z}v[g+16>>2]=-1;e=v[g+40>>2];l=v[g+28>>2];D:{E:{if((l|0)<1){d=0;break E}r=v[g+32>>2];i=l-1|0;d=0;while(1){c=d+i>>>1|0;f=k-v[r+(c<<3)>>2]|0;F:{if((f|0)<=-1){i=c-1|0;break F}if(!f){d=c;break D}d=c+1|0}if((d|0)<=(i|0)){continue}break}}if(!hc(g,e+1|0)){break z}G:{if(e>>>0>=y[g+40>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;v[163916]=n;v[163917]=m;c=655664;break G}c=v[g+44>>2]+(e<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;f=d<<3;c=f+v[g+32>>2]|0;mb(c+8|0,c,v[g+28>>2]+(d^-1)<<3);H:{if(y[g+28>>2]<=d>>>0){v[163916]=n;v[163917]=m;f=655664;break H}f=f+v[g+32>>2]|0}v[f>>2]=k;v[f+4>>2]=e;l=v[g+28>>2]}I:{if(d>>>0>=l>>>0){v[163916]=n;v[163917]=m;d=t;break I}d=v[(v[g+32>>2]+(d<<3)|0)+4>>2]}J:{if(d>>>0>=y[g+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=n;v[163917]=m;c=655664;break J}c=v[g+44>>2];if(!c){break z}c=c+(d<<6)|0}c=c+(h>>>3&56)|0;d=c;f=v[c+4>>2];k=c;g=v[c>>2];c=q&63;e=c&31;if((c&63)>>>0>=32){c=1<<e;h=0}else{c=(1<<e)-1&1>>>32-e;h=1<<e}v[k>>2]=g|h;v[d+4>>2]=c|f}j=j+1|0;if((E|0)!=(j|0)){continue}break}}B=B+2|0;A=A-1|0;if(A){continue}break}}x=x+2|0;u=u-1|0;if(u){continue}break}}}function ui(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;m=Ca-192|0;Ca=m;y=h;G=i&65535;r=d;n=e&65535;F=(e^i)&-2147483648;l=i>>>16&32767;a:{t=e>>>16&32767;b:{c:{if(l-1>>>0<32766?t-1>>>0<=32765:0){break c}I=e&2147483647;k=I;j=d;if(!(!j&(k|0)==2147418112?!(b|c):k>>>0<2147418112)){L=d;F=e|32768;break b}I=i&2147483647;e=I;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){L=h;F=i|32768;b=f;c=g;break b}if(!(b|j|(k^2147418112|c))){if(!(d|f|(e^2147418112|g))){b=0;c=0;F=2147450880;break b}F=F|2147418112;b=0;c=0;break b}if(!(d|f|(e^2147418112|g))){b=0;c=0;break b}if(!(b|j|(c|k))){break a}if(!(d|f|(e|g))){F=F|2147418112;b=0;c=0;break b}if((k|0)==65535|k>>>0<65535){i=b;d=!(n|r);h=d<<6;j=E(d?b:r)+32|0;b=E(d?c:n);b=h+((b|0)==32?j:b)|0;Tc(m+176|0,i,c,r,n,b-15|0);K=16-b|0;r=v[m+184>>2];n=v[m+188>>2];c=v[m+180>>2];b=v[m+176>>2]}if(e>>>0>65535){break c}d=!(y|G);e=d<<6;h=E(d?f:y)+32|0;d=E(d?g:G);d=e+((d|0)==32?h:d)|0;Tc(m+160|0,f,g,y,G,d-15|0);K=(d+K|0)-16|0;y=v[m+168>>2];G=v[m+172>>2];f=v[m+160>>2];g=v[m+164>>2]}e=G|65536;I=e;M=y;d=y;j=e<<15|d>>>17;d=d<<15|g>>>17;h=-102865788-d|0;e=j;i=1963258675-(j+(d>>>0>4192101508)|0)|0;Ld(m+144|0,d,j,h,i);j=v[m+152>>2];Ld(m+128|0,0-j|0,0-(v[m+156>>2]+((j|0)!=0)|0)|0,h,i);h=v[m+136>>2];i=h<<1|v[m+132>>2]>>>31;h=v[m+140>>2]<<1|h>>>31;Ld(m+112|0,i,h,d,e);j=h;h=v[m+120>>2];Ld(m+96|0,i,j,0-h|0,0-(v[m+124>>2]+((h|0)!=0)|0)|0);h=v[m+104>>2];i=h<<1|v[m+100>>2]>>>31;h=v[m+108>>2]<<1|h>>>31;Ld(m+80|0,i,h,d,e);j=h;h=v[m+88>>2];Ld(m- -64|0,i,j,0-h|0,0-(v[m+92>>2]+((h|0)!=0)|0)|0);h=v[m+72>>2];i=h<<1|v[m+68>>2]>>>31;h=v[m+76>>2]<<1|h>>>31;Ld(m+48|0,i,h,d,e);j=h;h=v[m+56>>2];Ld(m+32|0,i,j,0-h|0,0-(v[m+60>>2]+((h|0)!=0)|0)|0);h=v[m+40>>2];i=h<<1|v[m+36>>2]>>>31;h=v[m+44>>2]<<1|h>>>31;Ld(m+16|0,i,h,d,e);j=h;h=v[m+24>>2];Ld(m,i,j,0-h|0,0-(v[m+28>>2]+((h|0)!=0)|0)|0);K=(t-l|0)+K|0;h=v[m+8>>2];j=v[m+12>>2]<<1|h>>>31;k=h<<1|v[m+4>>2]>>>31;h=k-1|0;k=j-(k>>>0<1)|0;j=0;D=j;i=h;p=e;t=0;q=eQ(h,j,e,t);e=Da;w=e;x=k;l=0;h=d;j=eQ(k,l,d,0);d=j+q|0;k=Da+e|0;e=d;k=d>>>0<j>>>0?k+1|0:k;d=k;k=0;j=(d|0)==(w|0)&e>>>0<q>>>0|d>>>0<w>>>0;q=eQ(x,l,p,t);t=q+d|0;j=Da+(j|k)|0;z=t;w=q>>>0>t>>>0?j+1|0:j;h=eQ(i,D,h,o);d=0+h|0;j=Da+e|0;j=d>>>0<h>>>0?j+1|0:j;A=(e|0)==(j|0)&d>>>0<k>>>0|e>>>0>j>>>0;p=d;h=j;d=g;B=(d&131071)<<15|f>>>17;o=eQ(i,D,B,0);d=Da;u=d;j=f;s=j<<15&-32768;j=eQ(x,l,s,0);e=j+o|0;k=Da+d|0;k=e>>>0<j>>>0?k+1|0:k;d=k;C=eQ(i,D,s,C);s=0+C|0;j=e;k=j+Da|0;k=s>>>0<C>>>0?k+1|0:k;k=(j|0)==(k|0)&s>>>0<J>>>0|j>>>0>k>>>0;j=(d|0)==(u|0)&j>>>0<o>>>0|d>>>0<u>>>0;e=d;d=eQ(x,l,B,H)+d|0;j=j+Da|0;j=d>>>0<e>>>0?j+1|0:j;e=d;d=k+d|0;j=d>>>0<e>>>0?j+1|0:j;e=d;d=d+p|0;j=j+h|0;j=d>>>0<e>>>0?j+1|0:j;t=d;q=j;e=(j|0)==(h|0)&d>>>0<p>>>0|h>>>0>j>>>0;d=e+A|0;k=0;k=d>>>0<e>>>0?1:k;e=d;d=d+z|0;j=k+w|0;j=d>>>0<e>>>0?j+1|0:j;e=(t|0)!=0|(q|0)!=0;d=e+d|0;j=d>>>0<e>>>0?j+1|0:j;h=d;o=0-d|0;s=0;w=eQ(o,s,i,D);d=Da;u=d;e=w;p=d;s=eQ(x,l,o,s);d=Da;z=d;A=0-(((h|0)!=0)+j|0)|0;o=0;k=eQ(i,D,A,o);h=k+s|0;j=Da+d|0;j=h>>>0<k>>>0?j+1|0:j;d=j;j=h+p|0;B=0;e=B+e|0;p=e;k=e;j=k>>>0<B>>>0?j+1|0:j;e=j;j=(u|0)==(j|0)&k>>>0<w>>>0|j>>>0<u>>>0;k=(d|0)==(z|0)&h>>>0<s>>>0|d>>>0<z>>>0;h=d;d=eQ(x,l,A,o)+d|0;k=k+Da|0;k=d>>>0<h>>>0?k+1|0:k;h=d;d=j+d|0;j=k;A=d;h=d>>>0<h>>>0?j+1|0:j;B=0-(((t|0)!=0)+q|0)|0;q=0;z=eQ(B,q,i,D);s=Da;u=0-t|0;k=eQ(u,0,x,l);d=k+z|0;j=Da+s|0;t=d;d=d>>>0<k>>>0?j+1|0:j;C=0;u=eQ(i,D,u,H);i=C+u|0;k=t;j=k+Da|0;j=i>>>0<u>>>0?j+1|0:j;j=(j|0)==(k|0)&i>>>0<C>>>0|j>>>0<k>>>0;k=(d|0)==(s|0)&k>>>0<z>>>0|d>>>0<s>>>0;i=d;d=eQ(x,l,B,q)+d|0;k=k+Da|0;k=d>>>0<i>>>0?k+1|0:k;i=d;d=j+d|0;j=k;j=d>>>0<i>>>0?j+1|0:j;i=d;d=d+p|0;k=j+e|0;k=d>>>0<i>>>0?k+1|0:k;i=d;j=d;d=k;k=(e|0)==(k|0)&j>>>0<p>>>0|e>>>0>k>>>0;e=k+A|0;j=h;j=e>>>0<k>>>0?j+1|0:j;k=e;e=i;w=e-2|0;h=w;q=d-(e>>>0<2)|0;e=q;e=(d|0)==(e|0)&h>>>0<i>>>0|d>>>0>e>>>0;d=k+e|0;k=d>>>0<e>>>0?j+1|0:j;e=d;d=d-1|0;h=k-(e>>>0<1)|0;e=0;x=e;l=d;i=r;z=i<<2|c>>>30;A=0;p=eQ(d,e,z,A);e=Da;o=e;j=e;e=c;B=(e&1073741823)<<2|b>>>30;t=0;H=h;i=0;e=eQ(B,t,h,i);d=e+p|0;j=Da+j|0;j=d>>>0<e>>>0?j+1|0:j;k=(j|0)==(o|0)&d>>>0<p>>>0|j>>>0<o>>>0;p=d;h=j;e=j;s=q;j=0;q=j;c=k;C=((n&1073741823)<<2|r>>>30)&-262145|262144;j=eQ(s,j,C,0);d=j+d|0;k=Da+e|0;k=d>>>0<j>>>0?k+1|0:k;n=d;e=k;h=(k|0)==(h|0)&d>>>0<p>>>0|h>>>0>k>>>0;d=c+h|0;j=0;j=d>>>0<h>>>0?1:j;h=eQ(H,i,C,J);d=h+d|0;j=Da+j|0;j=d>>>0<h>>>0?j+1|0:j;r=eQ(l,x,C,J);h=Da;c=d;o=eQ(z,A,H,i);d=o+r|0;k=Da+h|0;k=d>>>0<o>>>0?k+1|0:k;o=d;d=k;k=(h|0)==(d|0)&r>>>0>o>>>0|h>>>0>d>>>0;r=c+d|0;j=j+k|0;k=r;h=k>>>0<d>>>0?j+1|0:j;p=n;n=0;d=p+n|0;r=e;j=o+e|0;j=d>>>0<n>>>0?j+1|0:j;e=j;n=(j|0)==(r|0)&d>>>0<p>>>0|j>>>0<r>>>0;j=k+n|0;k=h;u=j;h=j>>>0<n>>>0?k+1|0:k;r=d;n=e;p=eQ(B,t,s,q);e=Da;o=eQ(w,0,z,A);d=o+p|0;j=Da+e|0;j=d>>>0<o>>>0?j+1|0:j;o=d;p=(e|0)==(j|0)&p>>>0>d>>>0|e>>>0>j>>>0;e=j;D=p;k=b;c=k<<2&-4;k=eQ(l,x,c,0);d=k+d|0;j=Da+j|0;j=d>>>0<k>>>0?j+1|0:j;p=d;k=d;d=j;j=(j|0)==(e|0)&k>>>0<o>>>0|e>>>0>j>>>0;e=D+j|0;k=0;k=e>>>0<j>>>0?1:k;o=e;e=r+e|0;j=k+n|0;j=e>>>0<o>>>0?j+1|0:j;o=e;k=e;e=j;n=(j|0)==(n|0)&k>>>0<r>>>0|j>>>0<n>>>0;k=n+u|0;j=h;u=k;n=k>>>0<n>>>0?j+1|0:j;N=eQ(H,i,c,O);H=Da;i=eQ(C,J,w,P);h=i+N|0;k=Da+H|0;k=h>>>0<i>>>0?k+1|0:k;C=h;r=eQ(z,A,s,q);h=h+r|0;i=k;j=k+Da|0;j=h>>>0<r>>>0?j+1|0:j;z=h;k=eQ(l,x,B,t);h=h+k|0;l=j;j=j+Da|0;r=h;j=h>>>0<k>>>0?j+1|0:j;h=j;x=0;D=(j|0)==(l|0)&r>>>0<z>>>0|j>>>0<l>>>0;j=(i|0)==(l|0)&z>>>0<C>>>0|i>>>0>l>>>0;i=j+((i|0)==(H|0)&C>>>0<N>>>0|i>>>0<H>>>0)|0;k=0;i=D+i|0;j=i;k=h|0;i=k+o|0;j=(j|x)+e|0;j=i>>>0<k>>>0?j+1|0:j;k=i;l=j;j=(e|0)==(j|0)&k>>>0<o>>>0|e>>>0>j>>>0;e=j+u|0;k=n;z=e;e=e>>>0<j>>>0?k+1|0:k;o=i;s=eQ(s,q,c,O);q=Da;k=eQ(B,t,w,P);i=k+s|0;j=Da+q|0;j=i>>>0<k>>>0?j+1|0:j;n=j;j=0;k=(n|0)==(q|0)&i>>>0<s>>>0|n>>>0<q>>>0;i=n+p|0;j=(j|k)+d|0;j=i>>>0<n>>>0?j+1|0:j;k=i;i=j;c=(d|0)==(j|0)&k>>>0<p>>>0|d>>>0>j>>>0;j=j+r|0;n=0;h=n+k|0;d=h;j=d>>>0<n>>>0?j+1|0:j;h=(i|0)==(j|0)&d>>>0<k>>>0|i>>>0>j>>>0;d=c+h|0;j=0;j=d>>>0<h>>>0?1:j;h=d;d=d+o|0;k=j+l|0;k=d>>>0<h>>>0?k+1|0:k;h=d;i=k;k=(k|0)==(l|0)&d>>>0<o>>>0|k>>>0<l>>>0;d=k+z|0;j=e;j=d>>>0<k>>>0?j+1|0:j;e=j;d:{if((j|0)==131071|j>>>0<131071){q=0;w=b<<17;l=f;x=0;s=eQ(i,0,l,x);b=Da;z=b;c=0;A=c;t=0;j=eQ(h,c,g,t);c=j+s|0;k=Da+b|0;k=c>>>0<j>>>0?k+1|0:k;b=k;p=q;u=0;o=eQ(l,x,h,A);q=u+o|0;j=c;k=j+Da|0;k=q>>>0<o>>>0?k+1|0:k;o=k;j=(j|0)==(k|0)&u>>>0>q>>>0|j>>>0>k>>>0;H=p-j|0;k=(q|0)!=0|(k|0)!=0;u=H-k|0;w=(w-(j>>>0>p>>>0)|0)-(k>>>0>H>>>0)|0;j=eQ(d,0,l,x);k=Da;l=eQ(h,A,y,0);j=l+j|0;k=Da+k|0;k=j>>>0<l>>>0?k+1|0:k;r=eQ(i,n,g,t);l=r+j|0;j=Da+k|0;j=l>>>0<r>>>0?j+1|0:j;j=((b|0)==(z|0)&c>>>0<s>>>0|b>>>0<z>>>0)+j|0;c=b;b=b+l|0;k=b;b=k>>>0<c>>>0?j+1|0:j;c=eQ(h,i,I,0);j=Da;p=k;l=eQ(f,g,e,0);c=l+c|0;k=Da+j|0;k=c>>>0<l>>>0?k+1|0:k;l=eQ(d,e,g,t);c=l+c|0;j=Da+k|0;k=eQ(i,n,y,G);c=k+c|0;k=c;y=0;c=p+y|0;j=b+k|0;j=c>>>0<y>>>0?j+1|0:j;b=c;y=u-b|0;G=w-((b>>>0>u>>>0)+j|0)|0;K=K-1|0;n=0-q|0;b=0-(((q|0)!=0)+o|0)|0;break d}q=i>>>1|0;w=0;p=b<<16;h=(i&1)<<31|h>>>1;i=d<<31|i>>>1;b=0;s=b;r=0;t=eQ(h,b,g,r);b=Da;A=b;j=n;k=e<<31|d>>>1;n=d<<31|q;H=j|k;o=n;C=0;B=0;k=eQ(n,C,f,B);c=k+t|0;j=Da+b|0;j=c>>>0<k>>>0?j+1|0:j;b=j;u=w;x=0;D=eQ(h,s,f,B);w=x+D|0;j=c;k=j+Da|0;k=w>>>0<D>>>0?k+1|0:k;D=k;j=(j|0)==(k|0)&x>>>0>w>>>0|j>>>0>k>>>0;J=u-j|0;k=(w|0)!=0|(k|0)!=0;x=J-k|0;u=(p-(j>>>0>u>>>0)|0)-(k>>>0>J>>>0)|0;j=eQ(h,i,I,0);p=Da;J=eQ(f,g,e>>>1|0,0);j=J+j|0;k=Da+p|0;k=j>>>0<J>>>0?k+1|0:k;d=(e&1)<<31|d>>>1;e=e>>>1|0;J=eQ(d,e,g,r);p=J+j|0;n=eQ(n,H,y,G);G=n+p|0;n=0;j=eQ(g,r,o,C);r=Da;q=eQ(d,0,f,B);k=q+j|0;j=Da+r|0;l=eQ(h,s,y,0);y=l+k|0;k=Da+(k>>>0<q>>>0?j+1|0:j)|0;j=y;y=l>>>0>j>>>0?k+1|0:k;k=(b|0)==(A|0)&c>>>0<t>>>0|b>>>0<A>>>0;c=b;b=b+j|0;k=k+y|0;k=b>>>0<c>>>0?k+1|0:k;c=b;b=b+n|0;j=k+G|0;j=b>>>0<c>>>0?j+1|0:j;y=x-b|0;G=u-((b>>>0>x>>>0)+j|0)|0;n=0-w|0;b=0-(((w|0)!=0)+D|0)|0}if((K|0)>=16384){F=F|2147418112;b=0;c=0;break b}l=K+16383|0;if((K|0)<=-16383){e:{if(l){break e}l=n;k=b<<1|l>>>31;l=l<<1;c=(g|0)==(k|0)&f>>>0<l>>>0|g>>>0<k>>>0;f=y;k=G<<1|f>>>31;f=f<<1|b>>>31;f=(f|0)==(M|0)&(k|0)==(I|0)?c:(I|0)==(k|0)&f>>>0>M>>>0|k>>>0>I>>>0;b=f+h|0;j=i;j=b>>>0<f>>>0?j+1|0:j;c=j;f=d+((i|0)==(j|0)&b>>>0<h>>>0|i>>>0>j>>>0)|0;k=e&65535;e=f;k=d>>>0>e>>>0?k+1|0:k;d=k;if(!(d&65536)){break e}L=e|L;F=d|F;break b}b=0;c=0;break b}j=i;k=b<<1|n>>>31;r=n<<1;g=(g|0)==(k|0)&f>>>0<=r>>>0|g>>>0<k>>>0;f=y;k=G<<1|f>>>31;c=f<<1|b>>>31;c=(c|0)==(M|0)&(k|0)==(I|0)?g:(I|0)==(k|0)&c>>>0>=M>>>0|k>>>0>I>>>0;b=c+h|0;j=b>>>0<c>>>0?j+1|0:j;c=j;f=d+((i|0)==(j|0)&b>>>0<h>>>0|i>>>0>j>>>0)|0;j=e&65535;e=f;k=(l<<16)+(d>>>0>e>>>0?j+1|0:j)|0;f=0;e=f+e|0;L=L|e;F=F|(e>>>0<f>>>0?k+1|0:k)}v[a>>2]=b;v[a+4>>2]=c;v[a+8>>2]=L;v[a+12>>2]=F;Ca=m+192|0;return}v[a>>2]=0;v[a+4>>2]=0;b=!(d|f|(e|g));v[a+8>>2]=b?0:L;v[a+12>>2]=b?2147450880:F;Ca=m+192|0}function Ch(a,b,c,d,e,f){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,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;g=Ca-288|0;Ca=g;n=A[d>>3];m=A[c+24>>3];s=A[d+8>>3];q=A[c+16>>3];I=n*m-s*q;w=A[d+32>>3];G=A[d+24>>3];k=n*w-s*G;C=A[d+40>>3];p=I+k*C;E=A[d+16>>3];L=G*m-w*q;y=k*E-L;x=n*q+s*m;z=G*q+w*m;a:{if(!(k<0)){h=33;i=k;j=2;break a}p=-p;y=-y;i=-k;j=1}Q=x+z;b:{c:{if(!(Q>0)){break c}n=n*G+s*w;d:{if(e&j){w=z+(n*E+C);s=x+(E+n*C);if(!(!(w<i)|!(s<i))){r=e;e:{m=(q*q+m*m+(C*(z+w)+E*(x+s)))*.5;if(!(m<y)|!(m<p)){break e}q=m*1.3333333333333333;m=K(m/(2-m));q=q*m;if(!(q<C*(w*m+y))|!(q<E*(s*m+p))){break e}B=v[b>>2];H=v[b+4>>2];t=Ca-32|0;Ca=t;f:{g:{if(f){v[a+56>>2]=j|v[a+56>>2];break g}F=j&(v[a+60>>2]^-1);p=A[a+88>>3]*A[a+24>>3];h:{if(D(p)<2147483648){r=~~p;break h}r=-2147483648}u=F&1;p=A[a+80>>3]*A[a+16>>3];i:{if(D(p)<2147483648){o=~~p;break i}o=-2147483648}if(u){v[t+28>>2]=r+H;v[t+24>>2]=o+B;P=v[a>>2];u=v[t+28>>2];v[t+16>>2]=v[t+24>>2];v[t+20>>2]=u;u=0;if(!Gb(P,t+16|0,1)){break f}}if(!(F&2)){break g}v[t+28>>2]=H-r;v[t+24>>2]=B-o;r=v[a+4>>2];o=v[t+28>>2];v[t+8>>2]=v[t+24>>2];v[t+12>>2]=o;u=0;if(!Gb(r,t+8|0,1)){break f}}v[a+60>>2]=j|v[a+60>>2];u=1}Ca=t+32|0;if(!u){break b}j:{if(s<0?1:w<0){if(!lj(a,v[b>>2],v[b+4>>2],0,0,j)){break b}if(lj(a,v[b+24>>2],v[b+28>>2],0,0,j)){break j}break b}i=w/i;if(!lj(a,v[b>>2],v[b+4>>2],i*A[d>>3],i*A[d+8>>3],j)){break b}}r=(j^-1)&e;if(r){break e}b=v[d+28>>2];v[a+80>>2]=v[d+24>>2];v[a+84>>2]=b;b=v[d+36>>2];v[a+88>>2]=v[d+32>>2];v[a+92>>2]=b;l=1;break b}j=e^j;break d}r=I<0?h|64:h;h=L<0?r^65:r;r=h&64;o=r>>>6|0;k:{l:{m:{n:{o:{p:{if(n+y<1){q:{if(!r){break q}h=(n<0?642:130)^h;if(!(i<w)){break q}h=h^10}l=2-o|0;break p}l=!o;if(r){break o}if(!(n>0)){h=h^193;break p}h=h^705}if(!(n+p<1)){break n}if(!r){break l}break m}if(n+p<1){h=h^65;break m}h=h^1;break k}if(r){h=h^64;break k}if(!(n>0)){h=h^320;break k}h=h^1344;break k}h=(n<0?1284:260)^h;if(!(i<s)){break l}h=h^20}l=l+1|0}j=((l|0)>2?j:0)^e}else{j=e}r=e}r:{if(!j){break r}G=n+-1;y=(I+L)/Q;R=y*y;S=G+G+R*3;i=k*y;J=i+i;T=S-J;p=n+1;s=p*R;m=k*k;U=p*s;C=m*3+U*3;E=p*(i*6);q=C-E;i=K(p*.5);i=i*1.5*(i+1);M=(n+4)*J;N=m+m-s*6;V=M+N;w=i*V+(q+q);M=N-M;C=E+C;E=i*M+(C+C);N=(m-n*s)*7.2;m=n*((U-m)*3.6);s=i*N+(m+m);J=J+S;G=G*4+n*(R*3.6);i=((q-i*(i*T))*w+((C-i*(i*J))*E+((m-i*(i*G))*s+0)))/(i*(w*w+(E*E+(s*s+0)))+1e-9);q=T+i*(V+q*i);s=q*q;q=J+i*(M+C*i);m=G+i*(N+m*i);if(!(A[a+144>>3]>s+(q*q+(m*m+0)))){break r}m=k*i;q=p*i+-1;p=y*q;i=m+p;p=p-m;e=h&32;o=e?2:1;s:{if(!(o&j)){m=A[d+40>>3];q=A[d+16>>3];break s}y=e?-k:k;l=q*(y+y)<Q;q=A[d+16>>3];s=e?-p:p;l=q-s<0?l|2:l;w=e?-i:i;m=A[d+40>>3];e=w+m<0?l|4:l;e=y+(x+q)-n*w<0?e|8:e;if(!(((n*s+(y+(z+m))<0?e|16:e)^h)&h>>>6)){break s}j=(o^-1)&j;if(!j){break r}}s=I+I;y=A[a+152>>3];x=x+x;if(!(D(s+p*3*q)<y*(x+q*3))){break r}w=L+L;z=z+z;if(!(D(w+i*3*m)<(z+m*3)*y)){break r}I=k*q;q=n*q;k=m*-k;n=n*m;if(!(D(s+x*p-I+i*q-k/3)<y*(n/3+(x-s*p+q+i*I)))|!(D(w+z*i-k+p*n-I/3)<y*(q/3+(z-w*i+n+p*k)))){break r}h=v[b+4>>2];k=A[d+8>>3];n=A[d+32>>3];u=v[b>>2];x=A[d>>3];z=A[d+24>>3];P=j^-1;v[a+60>>2]=P&v[a+60>>2];m=A[a+88>>3]*A[a+24>>3];t:{if(D(m)<2147483648){e=~~m;break t}e=-2147483648}t=j&1;m=A[a+80>>3]*A[a+16>>3];u:{if(D(m)<2147483648){o=~~m;break u}o=-2147483648}if(t){v[g+52>>2]=e+h;v[g+48>>2]=o+u;B=v[a>>2];l=v[g+52>>2];v[g+40>>2]=v[g+48>>2];v[g+44>>2]=l;l=0;if(!Gb(B,g+40|0,3)){break b}}B=j&2;if(B){v[g+52>>2]=h-e;v[g+48>>2]=u-o;e=v[a+4>>2];j=v[g+52>>2];v[g+32>>2]=v[g+48>>2];v[g+36>>2]=j;l=0;if(!Gb(e,g+32|0,3)){break b}}m=x+p*k;u=v[b+12>>2];H=v[b+8>>2];k=(k-p*x)*A[a+24>>3];v:{if(D(k)<2147483648){j=~~k;break v}j=-2147483648}k=m*A[a+16>>3];w:{if(D(k)<2147483648){o=~~k;break w}o=-2147483648}if(t){l=0;F=o+H|0;e=F>>31;if((e^e+F)>>>0>268435455){break b}e=j+u|0;h=e>>31;if((h^e+h)>>>0>268435455){break b}h=v[a>>2];l=v[h>>2];O=v[h+4>>2];if(l>>>0>=O>>>0){l=0;v[164114]=0;O=O<<1;W=h,X=Xb(v[h+16>>2],O,8),v[W+16>>2]=X;if(v[164114]){break b}v[h+4>>2]=O;l=v[h>>2]}l=v[h+16>>2]+(l<<3)|0;v[l>>2]=F;v[l+4>>2]=e;v[h>>2]=v[h>>2]+1}if(B){l=0;o=H-o|0;e=o>>31;if((e^e+o)>>>0>268435455){break b}e=u-j|0;j=e>>31;if((j^e+j)>>>0>268435455){break b}j=v[a+4>>2];l=v[j>>2];h=v[j+4>>2];if(l>>>0>=h>>>0){l=0;v[164114]=0;h=h<<1;W=j,X=Xb(v[j+16>>2],h,8),v[W+16>>2]=X;if(v[164114]){break b}v[j+4>>2]=h;l=v[j>>2]}l=v[j+16>>2]+(l<<3)|0;v[l>>2]=o;v[l+4>>2]=e;v[j>>2]=v[j>>2]+1}k=z+i*n;u=v[b+20>>2];H=v[b+16>>2];i=(n-i*z)*A[a+24>>3];x:{if(D(i)<2147483648){j=~~i;break x}j=-2147483648}k=k*A[a+16>>3];y:{if(D(k)<2147483648){o=~~k;break y}o=-2147483648}if(t){l=0;t=o+H|0;e=t>>31;if((e^e+t)>>>0>268435455){break b}e=j+u|0;h=e>>31;if((h^e+h)>>>0>268435455){break b}h=v[a>>2];l=v[h>>2];F=v[h+4>>2];if(l>>>0>=F>>>0){l=0;v[164114]=0;F=F<<1;W=h,X=Xb(v[h+16>>2],F,8),v[W+16>>2]=X;if(v[164114]){break b}v[h+4>>2]=F;l=v[h>>2]}l=v[h+16>>2]+(l<<3)|0;v[l>>2]=t;v[l+4>>2]=e;v[h>>2]=v[h>>2]+1}if(B){l=0;o=H-o|0;e=o>>31;if((e^e+o)>>>0>268435455){break b}e=u-j|0;j=e>>31;if((j^e+j)>>>0>268435455){break b}j=v[a+4>>2];l=v[j>>2];h=v[j+4>>2];if(l>>>0>=h>>>0){l=0;v[164114]=0;h=h<<1;W=j,X=Xb(v[j+16>>2],h,8),v[W+16>>2]=X;if(v[164114]){break b}v[j+4>>2]=h;l=v[j>>2]}l=v[j+16>>2]+(l<<3)|0;v[l>>2]=o;v[l+4>>2]=e;v[j>>2]=v[j>>2]+1}e=r&P;if(e){break c}b=v[d+28>>2];v[a+80>>2]=v[d+24>>2];v[a+84>>2]=b;b=v[d+36>>2];v[a+88>>2]=v[d+32>>2];v[a+92>>2]=b;l=1;break b}e=r}r=v[b+12>>2];j=v[b+8>>2];l=v[b>>2];t=v[b+24>>2];o=v[b+16>>2];h=v[b+4>>2];u=v[b+20>>2];B=u+v[b+28>>2]|0;v[g+268>>2]=B>>1;u=(r+u|0)+2|0;B=u+B|0;v[g+260>>2]=B>>2;r=h+r|0;h=r+u|0;H=h>>2;v[g+244>>2]=H;h=(h+B|0)-1>>3;v[g+252>>2]=h;t=o+t|0;v[g+264>>2]=t>>1;l=j+l|0;v[g+232>>2]=l>>1;v[g+236>>2]=r>>1;r=(j+o|0)+2|0;j=r+t|0;v[g+256>>2]=j>>2;r=l+r|0;B=r>>2;v[g+240>>2]=B;t=(j+r|0)-1>>3;v[g+248>>2]=t;r=v[b+4>>2];j=v[b>>2];v[g+224>>2]=j;v[g+228>>2]=r;o=v[b+28>>2];v[g+272>>2]=v[b+24>>2];v[g+276>>2]=o;i=A[c>>3]*.5;A[g+144>>3]=i;k=A[c+8>>3]*.5;A[g+152>>3]=k;n=A[c+24>>3];z=A[c+16>>3];m=A[c+32>>3]*.5;A[g+208>>3]=m;p=A[c+40>>3];s=k;k=n*.5;x=(s+k)*.5;A[g+168>>3]=x;n=p*.5;A[g+216>>3]=n;p=(k+n)*.5;A[g+200>>3]=p;k=(x+p)*.5;A[g+184>>3]=k;s=i;i=z*.5;n=(s+i)*.5;A[g+160>>3]=n;z=(i+m)*.5;A[g+192>>3]=z;i=(n+z)*.5;A[g+176>>3]=i;o=g+176|0;u=g+248|0;m=K(i*i+k*k);q=A[a+128>>3];if(m<q){b=v[d+4>>2];v[g+48>>2]=v[d>>2];v[g+52>>2]=b;b=v[d+12>>2];v[g+56>>2]=v[d+8>>2];v[g+60>>2]=b;A[g+64>>3]=A[d+16>>3]*.5;b=v[d+36>>2];v[g+128>>2]=v[d+32>>2];v[g+132>>2]=b;b=v[d+28>>2];v[g+120>>2]=v[d+24>>2];v[g+124>>2]=b;A[g+136>>3]=A[d+40>>3]*.5;n=n+i;A[g+160>>3]=n;i=z+i;A[g+192>>3]=i;p=p+k;A[g+200>>3]=p;k=x+k;A[g+168>>3]=k;v[o>>2]=0;v[o+4>>2]=0;v[o+8>>2]=0;v[o+12>>2]=0;x=K(n*n+k*k);b=x<q;z:{if(b){c=v[d+20>>2];v[g+88>>2]=v[d+16>>2];v[g+92>>2]=c;c=v[d+12>>2];v[g+80>>2]=v[d+8>>2];v[g+84>>2]=c;c=v[d+4>>2];v[g+72>>2]=v[d>>2];v[g+76>>2]=c;break z}A[g+88>>3]=x;s=k;k=1/x;A[g+80>>3]=s*k;A[g+72>>3]=n*k}k=K(i*i+p*p);A:{if(k<q){c=v[d+44>>2];v[g+112>>2]=v[d+40>>2];v[g+116>>2]=c;c=v[d+36>>2];v[g+104>>2]=v[d+32>>2];v[g+108>>2]=c;c=v[d+28>>2];v[g+96>>2]=v[d+24>>2];v[g+100>>2]=c;break A}A[g+112>>3]=k;n=1/k;A[g+104>>3]=p*n;A[g+96>>3]=i*n}B:{if(b){v[a+60>>2]=v[a+60>>2]&(e^-1);i=A[a+88>>3]*A[a+24>>3];C:{if(D(i)<2147483648){b=~~i;break C}b=-2147483648}d=r;f=e&1;i=A[a+80>>3]*A[a+16>>3];D:{if(D(i)<2147483648){c=~~i;break D}c=-2147483648}if(f){v[g+284>>2]=b+d;v[g+280>>2]=c+j;f=v[a>>2];r=v[g+284>>2];v[g+24>>2]=v[g+280>>2];v[g+28>>2]=r;l=0;if(!Gb(f,g+24|0,1)){break b}}if(!(e&2)){break B}v[g+284>>2]=d-b;v[g+280>>2]=j-c;b=v[a+4>>2];c=v[g+284>>2];v[g+16>>2]=v[g+280>>2];v[g+20>>2]=c;l=0;if(Gb(b,g+16|0,1)){break B}break b}l=0;if(!Ch(a,g+224|0,g+144|0,g+48|0,e,f)){break b}}l=0;if(!Ig(a,B,H,A[g+96>>3],A[g+104>>3],e)){break b}E:{if(k<A[a+128>>3]){v[a+60>>2]=v[a+60>>2]&(e^-1);k=A[a+88>>3]*A[a+24>>3];F:{if(D(k)<2147483648){b=~~k;break F}b=-2147483648}d=e&1;k=A[a+80>>3]*A[a+16>>3];G:{if(D(k)<2147483648){c=~~k;break G}c=-2147483648}if(d){v[g+284>>2]=b+h;v[g+280>>2]=c+t;d=v[a>>2];f=v[g+284>>2];v[g+8>>2]=v[g+280>>2];v[g+12>>2]=f;if(!Gb(d,g+8|0,1)){break b}}if(!(e&2)){break E}v[g+284>>2]=h-b;v[g+280>>2]=t-c;a=v[a+4>>2];b=v[g+284>>2];v[g>>2]=v[g+280>>2];v[g+4>>2]=b;if(Gb(a,g,1)){break E}break b}if(!Ch(a,u,o,g+96|0,e,0)){break b}}l=1;break b}b=v[d+4>>2];v[g+48>>2]=v[d>>2];v[g+52>>2]=b;b=v[d+12>>2];v[g+56>>2]=v[d+8>>2];v[g+60>>2]=b;n=A[d+16>>3];s=k;k=1/m;A[g+80>>3]=s*k;A[g+88>>3]=m;A[g+72>>3]=i*k;A[g+64>>3]=n*.5;b=v[d+36>>2];v[g+104>>2]=v[d+32>>2];v[g+108>>2]=b;b=v[d+28>>2];v[g+96>>2]=v[d+24>>2];v[g+100>>2]=b;A[g+112>>3]=A[d+40>>3]*.5;l=0;if(!Ch(a,g+224|0,g+144|0,g+48|0,e,f)){break b}l=Ch(a,u,o,g+72|0,e,0)}Ca=g+288|0;return l}function zq(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;m=Ca-16|0;Ca=m;d=v[a+72>>2];o=v[a+64>>2];i=v[a+68>>2];a:{if(!c){break a}b:{c:{d:{e:{f:{g:{switch(v[a>>2]){case 0:if(Ya(v[a+164>>2],2)){break f}if((Hk(v[a+164>>2],m+12|0,1)|0)!=1){break f}n=w[m+12|0];v[a+44>>2]=n&128;f=n&31;v[a+40>>2]=f;l=1<<f;v[a+48>>2]=l-256;if(f>>>0>16){break f}v[a+52>>2]=9;v[a+56>>2]=n>>>7;v[a+60>>2]=f>>>0>9?256:l-255|0;d=0;f=mk(a);if(f>>>0>255){break f}if(b){t[b|0]=f}if(c>>>0<2){break e}n=1;v[a>>2]=1;i=f;o=f;break;case 2:break d;case 1:break g;default:break a}}l=0;break c}f=0;break b}l=1;i=f;o=f;break a}l=1}while(1){h:{if(!l){l=mk(a);f=n;if((l|0)<0){break b}i:{j:{k:{while(1){if((l|0)!=256){break k}if(!v[a+44>>2]){break j}t[a+32|0]=1;o=0;v[a+56>>2]=0;i=0;l=mk(a);if((l|0)>=0){continue}break}f=n;break b}f=l;if(f>>>0<256){break i}}f=l;d=f-256|0;k=v[a+56>>2];if(d>>>0>=k>>>0){if(d>>>0>k>>>0){break h}k=v[a+92>>2];d=v[a+96>>2];if(k>>>0>=d>>>0){g=((d>>>1|0)+d|0)+4|0;e=v[a+168>>2];l:{m:{j=v[a+88>>2];f=a+100|0;if((j|0)!=(f|0)){k=65536;if(g>>>0>65536){break m}k=g;break l}j=0;v[a+88>>2]=0;k=g>>>0<65536?g:65536;d=0;break l}if((d|0)==65536){break h}}e=Ua(e,1,d,k,j,m+12|0);v[a+88>>2]=e;if(v[m+12>>2]){break h}if(!d){g=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);d=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[e|0]=d;t[e+1|0]=d>>>8;t[e+2|0]=d>>>16;t[e+3|0]=d>>>24;t[e+4|0]=g;t[e+5|0]=g>>>8;t[e+6|0]=g>>>16;t[e+7|0]=g>>>24;g=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);d=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[e+56|0]=d;t[e+57|0]=d>>>8;t[e+58|0]=d>>>16;t[e+59|0]=d>>>24;t[e+60|0]=g;t[e+61|0]=g>>>8;t[e+62|0]=g>>>16;t[e+63|0]=g>>>24;g=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);d=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[e+48|0]=d;t[e+49|0]=d>>>8;t[e+50|0]=d>>>16;t[e+51|0]=d>>>24;t[e+52|0]=g;t[e+53|0]=g>>>8;t[e+54|0]=g>>>16;t[e+55|0]=g>>>24;g=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);d=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[e+40|0]=d;t[e+41|0]=d>>>8;t[e+42|0]=d>>>16;t[e+43|0]=d>>>24;t[e+44|0]=g;t[e+45|0]=g>>>8;t[e+46|0]=g>>>16;t[e+47|0]=g>>>24;g=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);d=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[e+32|0]=d;t[e+33|0]=d>>>8;t[e+34|0]=d>>>16;t[e+35|0]=d>>>24;t[e+36|0]=g;t[e+37|0]=g>>>8;t[e+38|0]=g>>>16;t[e+39|0]=g>>>24;g=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);d=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[e+24|0]=d;t[e+25|0]=d>>>8;t[e+26|0]=d>>>16;t[e+27|0]=d>>>24;t[e+28|0]=g;t[e+29|0]=g>>>8;t[e+30|0]=g>>>16;t[e+31|0]=g>>>24;g=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);d=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[e+16|0]=d;t[e+17|0]=d>>>8;t[e+18|0]=d>>>16;t[e+19|0]=d>>>24;t[e+20|0]=g;t[e+21|0]=g>>>8;t[e+22|0]=g>>>16;t[e+23|0]=g>>>24;d=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);f=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[e+8|0]=f;t[e+9|0]=f>>>8;t[e+10|0]=f>>>16;t[e+11|0]=f>>>24;t[e+12|0]=d;t[e+13|0]=d>>>8;t[e+14|0]=d>>>16;t[e+15|0]=d>>>24}v[a+96>>2]=k;k=v[a+92>>2]}v[a+92>>2]=k+1;t[v[a+88>>2]+k|0]=i;f=o}if(f>>>0<256){break i}g=a+100|0;k=v[a+76>>2];while(1){if(!k){break h}k=v[a+92>>2];d=v[a+96>>2];if(k>>>0>=d>>>0){k=((d>>>1|0)+d|0)+4|0;e=v[a+168>>2];j=v[a+88>>2];n:{if((g|0)!=(j|0)){if(k>>>0<=65536){break n}k=65536;if((d|0)==65536){break h}break n}j=0;v[a+88>>2]=0;k=k>>>0<65536?k:65536;d=0}h=Ua(e,1,d,k,j,m+12|0);v[a+88>>2]=h;if(v[m+12>>2]){break h}if(!d){d=g;j=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);e=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);t[h|0]=e;t[h+1|0]=e>>>8;t[h+2|0]=e>>>16;t[h+3|0]=e>>>24;t[h+4|0]=j;t[h+5|0]=j>>>8;t[h+6|0]=j>>>16;t[h+7|0]=j>>>24;j=w[d+60|0]|w[d+61|0]<<8|(w[d+62|0]<<16|w[d+63|0]<<24);e=w[d+56|0]|w[d+57|0]<<8|(w[d+58|0]<<16|w[d+59|0]<<24);t[h+56|0]=e;t[h+57|0]=e>>>8;t[h+58|0]=e>>>16;t[h+59|0]=e>>>24;t[h+60|0]=j;t[h+61|0]=j>>>8;t[h+62|0]=j>>>16;t[h+63|0]=j>>>24;j=w[d+52|0]|w[d+53|0]<<8|(w[d+54|0]<<16|w[d+55|0]<<24);e=w[d+48|0]|w[d+49|0]<<8|(w[d+50|0]<<16|w[d+51|0]<<24);t[h+48|0]=e;t[h+49|0]=e>>>8;t[h+50|0]=e>>>16;t[h+51|0]=e>>>24;t[h+52|0]=j;t[h+53|0]=j>>>8;t[h+54|0]=j>>>16;t[h+55|0]=j>>>24;j=w[d+44|0]|w[d+45|0]<<8|(w[d+46|0]<<16|w[d+47|0]<<24);e=w[d+40|0]|w[d+41|0]<<8|(w[d+42|0]<<16|w[d+43|0]<<24);t[h+40|0]=e;t[h+41|0]=e>>>8;t[h+42|0]=e>>>16;t[h+43|0]=e>>>24;t[h+44|0]=j;t[h+45|0]=j>>>8;t[h+46|0]=j>>>16;t[h+47|0]=j>>>24;j=w[d+36|0]|w[d+37|0]<<8|(w[d+38|0]<<16|w[d+39|0]<<24);e=w[d+32|0]|w[d+33|0]<<8|(w[d+34|0]<<16|w[d+35|0]<<24);t[h+32|0]=e;t[h+33|0]=e>>>8;t[h+34|0]=e>>>16;t[h+35|0]=e>>>24;t[h+36|0]=j;t[h+37|0]=j>>>8;t[h+38|0]=j>>>16;t[h+39|0]=j>>>24;j=w[d+28|0]|w[d+29|0]<<8|(w[d+30|0]<<16|w[d+31|0]<<24);e=w[d+24|0]|w[d+25|0]<<8|(w[d+26|0]<<16|w[d+27|0]<<24);t[h+24|0]=e;t[h+25|0]=e>>>8;t[h+26|0]=e>>>16;t[h+27|0]=e>>>24;t[h+28|0]=j;t[h+29|0]=j>>>8;t[h+30|0]=j>>>16;t[h+31|0]=j>>>24;j=w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24);e=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);t[h+16|0]=e;t[h+17|0]=e>>>8;t[h+18|0]=e>>>16;t[h+19|0]=e>>>24;t[h+20|0]=j;t[h+21|0]=j>>>8;t[h+22|0]=j>>>16;t[h+23|0]=j>>>24;e=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);d=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);t[h+8|0]=d;t[h+9|0]=d>>>8;t[h+10|0]=d>>>16;t[h+11|0]=d>>>24;t[h+12|0]=e;t[h+13|0]=e>>>8;t[h+14|0]=e>>>16;t[h+15|0]=e>>>24}v[a+96>>2]=k;k=v[a+92>>2]}d=f-256|0;f=w[d+v[a+80>>2]|0];v[a+92>>2]=k+1;t[v[a+88>>2]+k|0]=f;k=v[a+76>>2];f=x[k+(d<<1)>>1];if(f>>>0>255){continue}break}}o:{k=v[a+92>>2];i=v[a+96>>2];if(k>>>0>=i>>>0){g=((i>>>1|0)+i|0)+4|0;e=v[a+168>>2];p:{q:{j=v[a+88>>2];d=a+100|0;if((j|0)!=(d|0)){k=65536;if(g>>>0>65536){break q}k=g;break p}j=0;v[a+88>>2]=0;k=g>>>0<65536?g:65536;i=0;break p}if((i|0)==65536){break o}}e=Ua(e,1,i,k,j,m+12|0);v[a+88>>2]=e;if(v[m+12>>2]){break o}if(!i){g=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);i=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);t[e|0]=i;t[e+1|0]=i>>>8;t[e+2|0]=i>>>16;t[e+3|0]=i>>>24;t[e+4|0]=g;t[e+5|0]=g>>>8;t[e+6|0]=g>>>16;t[e+7|0]=g>>>24;g=w[d+60|0]|w[d+61|0]<<8|(w[d+62|0]<<16|w[d+63|0]<<24);i=w[d+56|0]|w[d+57|0]<<8|(w[d+58|0]<<16|w[d+59|0]<<24);t[e+56|0]=i;t[e+57|0]=i>>>8;t[e+58|0]=i>>>16;t[e+59|0]=i>>>24;t[e+60|0]=g;t[e+61|0]=g>>>8;t[e+62|0]=g>>>16;t[e+63|0]=g>>>24;g=w[d+52|0]|w[d+53|0]<<8|(w[d+54|0]<<16|w[d+55|0]<<24);i=w[d+48|0]|w[d+49|0]<<8|(w[d+50|0]<<16|w[d+51|0]<<24);t[e+48|0]=i;t[e+49|0]=i>>>8;t[e+50|0]=i>>>16;t[e+51|0]=i>>>24;t[e+52|0]=g;t[e+53|0]=g>>>8;t[e+54|0]=g>>>16;t[e+55|0]=g>>>24;g=w[d+44|0]|w[d+45|0]<<8|(w[d+46|0]<<16|w[d+47|0]<<24);i=w[d+40|0]|w[d+41|0]<<8|(w[d+42|0]<<16|w[d+43|0]<<24);t[e+40|0]=i;t[e+41|0]=i>>>8;t[e+42|0]=i>>>16;t[e+43|0]=i>>>24;t[e+44|0]=g;t[e+45|0]=g>>>8;t[e+46|0]=g>>>16;t[e+47|0]=g>>>24;g=w[d+36|0]|w[d+37|0]<<8|(w[d+38|0]<<16|w[d+39|0]<<24);i=w[d+32|0]|w[d+33|0]<<8|(w[d+34|0]<<16|w[d+35|0]<<24);t[e+32|0]=i;t[e+33|0]=i>>>8;t[e+34|0]=i>>>16;t[e+35|0]=i>>>24;t[e+36|0]=g;t[e+37|0]=g>>>8;t[e+38|0]=g>>>16;t[e+39|0]=g>>>24;g=w[d+28|0]|w[d+29|0]<<8|(w[d+30|0]<<16|w[d+31|0]<<24);i=w[d+24|0]|w[d+25|0]<<8|(w[d+26|0]<<16|w[d+27|0]<<24);t[e+24|0]=i;t[e+25|0]=i>>>8;t[e+26|0]=i>>>16;t[e+27|0]=i>>>24;t[e+28|0]=g;t[e+29|0]=g>>>8;t[e+30|0]=g>>>16;t[e+31|0]=g>>>24;g=w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24);i=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);t[e+16|0]=i;t[e+17|0]=i>>>8;t[e+18|0]=i>>>16;t[e+19|0]=i>>>24;t[e+20|0]=g;t[e+21|0]=g>>>8;t[e+22|0]=g>>>16;t[e+23|0]=g>>>24;g=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);i=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);t[e+8|0]=i;t[e+9|0]=i>>>8;t[e+10|0]=i>>>16;t[e+11|0]=i>>>24;t[e+12|0]=g;t[e+13|0]=g>>>8;t[e+14|0]=g>>>16;t[e+15|0]=g>>>24}v[a+96>>2]=k;k=v[a+92>>2]}v[a+92>>2]=k+1;t[v[a+88>>2]+k|0]=f;v[a>>2]=2;i=f;d=l;k=n;l=1;continue}i=f;break h}r:{if(b){while(1){l=v[a+92>>2];if(!l){break r}l=l-1|0;v[a+92>>2]=l;t[b+k|0]=w[l+v[a+88>>2]|0];k=k+1|0;if((k|0)!=(c|0)){continue}break}l=c;break a}l=v[a+92>>2];while(1){if(!l){break r}l=l-1|0;v[a+92>>2]=l;k=k+1|0;if((k|0)!=(c|0)){continue}break}l=c;break a}n=k;l=v[a+56>>2];if(l>>>0<y[a+48>>2]){j=v[a+84>>2];if(j>>>0<=l>>>0){e=j?j+(j>>>2|0)|0:512;g=Ua(v[a+168>>2],3,j,e,v[a+76>>2],m+12|0);v[a+76>>2]=g;f=n;if(v[m+12>>2]){break b}l=g+(e<<1)|0;v[a+80>>2]=l;mb(l,g+(j<<1)|0,j);v[a+84>>2]=e;l=v[a+56>>2]}u[v[a+76>>2]+(l<<1)>>1]=o;t[v[a+80>>2]+l|0]=i;v[a+56>>2]=v[a+56>>2]+1}v[a>>2]=1;o=d;l=0;continue}break}d=l;f=n}l=f;v[a>>2]=3}v[a+72>>2]=d;v[a+68>>2]=i;v[a+64>>2]=o;Ca=m+16|0;return l}function wu(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,C=0,E=0,F=0,H=0,I=0,J=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0,U=0;a:{if(!v[b+20>>2]){break a}if(d>.001){h=Ca-912|0;Ca=h;b:{c:{if(d<.5){v[h+56>>2]=0;v[h+60>>2]=0;v[h+8>>2]=0;v[h+12>>2]=4;v[h+48>>2]=0;v[h+52>>2]=0;l=d*.085*d*d;A[h+40>>3]=l;A[h+32>>3]=d*.5+l*-4;n=4;break c}p=h;x=1-tg(K(d*.11569+.20591047),h+8|0);d:{e:{m=+v[h+8>>2]*-2;o(+m);e=j(1)|0;j(0)|0;f=e;e=e&2147483647;f:{if(e>>>0>=1083174912){l=m*8.98846567431158e307;if(!((f|0)<0|e>>>0<1083179008)){break d}l=-1/m;if(e>>>0>=2146435072){break d}if(!(m<=-1075)){break e}l=0;if((f|0)<-1?1:(f|0)<=-1){break f}break e}if(e>>>0>1016070143){break e}l=m+1}break d}l=m+26388279066624;o(+l);j(1)|0;f=(j(0)|0)+128|0;e=f<<4&4080;E=A[e+649728>>3];l=m-(l+-26388279066624)-A[(e|8)+649728>>3];l=_d(E+E*l*(l*(l*(l*(l*.0013333559164630223+.009618129842126066)+.0555041086648214)+.2402265069591)+.6931471805599453),(f&-256)/256|0)}m=l;l=x*(m*.8335+10.1525);g:{if(D(l)<2147483648){i=~~l;break g}i=-2147483648}n=(i|0)<4?8-i|0:4;v[p+12>>2]=n;h:{if((n|0)<9){Ra(h+816|0,0,88);H=m*(m*(m*-.013558201058201057+.022569444444444444)+-.010416666666666666)+.0014054232804232803;l=H+0;z=m*(m*(m*.08134920634920635+-.04513888888888889)+-.0763888888888889)+.04017857142857143;J=m*(m*(m*.27116402116402116+.09027777777777778)+.20833333333333334)+.43022486772486773;E=J*0;F=m*(m*(m*-.20337301587301587+-.022569444444444444)+-.017361111111111112)+.24330357142857142;C=E+F*0;A[h+816>>3]=H*l+(z*0+C);x=z+0;P=H*x;A[h+808>>3]=P+(C+z*l);C=F+0;M=H*C;A[h+800>>3]=M+(z*x+(E+F*l));l=J+0;A[h+792>>3]=H*l+(z*C+(J*H+F*x));x=z*l;l=H+F;A[h+784>>3]=M+(x+(J*z+F*l));R=P+(z*l+(J*F+F*(z+J)));A[h+776>>3]=R;M=H*(H+H)+(z*(z+z)+(J*J+F*(F+F)));A[h+768>>3]=M;q=h;l=0;x=0;C=.5/(m*d);d=-C;o(+d);e=j(1)|0;j(0)|0;f=e;e=e>>>31|0;i:{j:{k:{l:{m:{E=d;n:{o:{f=f&2147483647;p:{if(f>>>0>=1082532651){o(+d);f=j(1)|0;p=j(0)|0;f=f&2147483647;m=d;if((f|0)==2146435072&(p|0)!=0|f>>>0>2146435072){break i}m=d*8.98846567431158e307;if(d>709.782712893384){break i}if(!(d<-708.3964185322641)|!(d<-745.1332191019411)){break p}break k}if(f>>>0<1071001155){break m}if(f>>>0<1072734898){break o}}d=d*1.4426950408889634+A[(e<<3)+520048>>3];if(D(d)<2147483648){f=~~d;break n}f=-2147483648;break n}f=!e-e|0}l=+(f|0);d=E+l*-.6931471803691238;x=l*1.9082149292705877e-10;l=d-x;break l}if(f>>>0<=1043333120){break j}f=0;l=d}E=d;m=l*l;d=l-m*(m*(m*(m*(m*4.1381367970572385e-8+-16533902205465252e-22)+6613756321437934e-20)+-.0027777777777015593)+.16666666666666602);l=E+(l*d/(2-d)-x)+1;if(!f){break k}l=_d(l,f)}m=l;break i}m=d+1}d=m;l=K(C/3.141592653589793);m=d*l;A[q+680>>3]=m;A[h+672>>3]=l;if((n|0)<-1){break h}x=d*d;f=n+3|0;g=2;while(1){d=x*d;m=m*d;A[(h+672|0)+(g<<3)>>3]=m;e=(f|0)!=(g|0);g=g+1|0;if(e){continue}break}g=0;if((n|0)<0){break h}P=A[h+696>>3];m=A[h+680>>3];x=m;C=A[h+688>>3];d=C;while(1){E=x;x=l;U=J*l;l=m;m=C;f=(h+672|0)+(g<<3)|0;C=A[f+24>>3];A[f>>3]=U+F*(E+l)+z*(m+d)+H*(P+C);f=(g|0)==(n|0);g=g+1|0;P=d;d=E;if(!f){continue}break}f=0;if((n|0)<=0){break h}d=M*3;while(1){q=(h+160|0)+(f<<6)|0;r=f<<3;A[q+r>>3]=d+A[(h+(f<<4)|0)+784>>3]+R*-4;k=f+2|0;e=f+1|0;if((e|0)<(n|0)){l=M-R;g=e;while(1){p=g+1|0;m=l-A[(h+768|0)+(p<<3)>>3];m=A[(h+768|0)+(g+k<<3)>>3]+A[(h+768|0)+(g-f<<3)>>3]+(m+m);A[r+((h+160|0)+(g<<6)|0)>>3]=m;A[q+(g<<3)>>3]=m;g=p;if((n|0)!=(g|0)){continue}break}}if((e|0)==(n|0)){f=n&-4;p=n&3;q=n&-2;S=n&1;s=(((i|0)>4?i:4)-i|0)+3|0;while(1){T=y<<3;r=(h+160|0)+(y<<6)|0;e=T+r|0;d=A[e>>3];v[e>>2]=0;v[e+4>>2]=1072693248;d=1/d;i=0;while(1){q:{if((i|0)==(y|0)){break q}k=(h+160|0)+(i<<6)|0;e=k+T|0;l=A[e>>3];v[e>>2]=0;v[e+4>>2]=0;l=d*l;g=0;e=q;if(s){while(1){I=g<<3;Q=I+k|0;A[Q>>3]=A[Q>>3]-l*A[r+I>>3];I=I|8;Q=I+k|0;A[Q>>3]=A[Q>>3]-l*A[r+I>>3];g=g+2|0;e=e-2|0;if(e){continue}break}}if(!S){break q}e=g<<3;g=e+k|0;A[g>>3]=A[g>>3]-l*A[e+r>>3]}i=i+1|0;if((n|0)!=(i|0)){continue}break}g=0;i=f;if(s>>>0>=3){while(1){e=g<<3;k=e+r|0;A[k>>3]=d*A[k>>3];k=r+(e|8)|0;A[k>>3]=d*A[k>>3];k=r+(e|16)|0;A[k>>3]=d*A[k>>3];e=r+(e|24)|0;A[e>>3]=d*A[e>>3];g=g+4|0;i=i-4|0;if(i){continue}break}}k=p;if(k){while(1){e=r+(g<<3)|0;A[e>>3]=d*A[e>>3];g=g+1|0;k=k-1|0;if(k){continue}break}}y=y+1|0;if((y|0)!=(n|0)){continue}break}i=n&1;d=A[h+672>>3];r:{if(!s){g=0;break r}f=n&-2;g=0;while(1){p=g<<3;e=p|8;A[p+(h+96|0)>>3]=A[e+(h+672|0)>>3]+(M-A[e+(h+768|0)>>3]-d);p=e+(h+96|0)|0;g=g+2|0;e=g<<3;A[p>>3]=A[e+(h+672|0)>>3]+(M-A[e+(h+768|0)>>3]-d);f=f-2|0;if(f){continue}break}}if(i){e=g<<3;f=e+8|0;A[e+(h+96|0)>>3]=A[f+(h+672|0)>>3]+(M-A[f+(h+768|0)>>3]-d)}f=n&-4;p=n&3;i=0;while(1){g=0;d=0;e=f;if(s>>>0>=3){while(1){k=g<<3;r=k|8;q=(h+160|0)+(i<<6)|0;d=d+A[k+q>>3]*A[k+(h+96|0)>>3]+A[q+r>>3]*A[r+(h+96|0)>>3];r=k|16;k=k|24;d=d+A[r+q>>3]*A[r+(h+96|0)>>3]+A[k+q>>3]*A[k+(h+96|0)>>3];g=g+4|0;e=e-4|0;if(e){continue}break}}k=p;if(k){while(1){e=g<<3;d=d+A[e+((h+160|0)+(i<<6)|0)>>3]*A[e+(h+96|0)>>3];g=g+1|0;k=k-1|0;if(k){continue}break}}A[(h+32|0)+(i<<3)>>3]=G(d,0);i=i+1|0;if((n|0)!=(i|0)){continue}break}break h}else{R=A[(h+768|0)+(k<<3)>>3];f=e;continue}}}O(448096,447973,473,448112);L()}if((n|0)<1){break b}}g=0;if((n|0)!=1){k=n&-2;f=h+16|0;while(1){e=f+(g<<1)|0;d=A[(h+32|0)+(g<<3)>>3]*65536+.5;s:{if(D(d)<2147483648){p=~~d;break s}p=-2147483648}u[e>>1]=p;e=g|1;p=f+(e<<1)|0;d=A[(h+32|0)+(e<<3)>>3]*65536+.5;t:{if(D(d)<2147483648){e=~~d;break t}e=-2147483648}u[p>>1]=e;g=g+2|0;k=k-2|0;if(k){continue}break}}if(!(n&1)){break b}f=h+(g<<1)|0;d=A[(h+32|0)+(g<<3)>>3]*65536+.5;u:{if(D(d)<2147483648){e=~~d;break u}e=-2147483648}u[f+16>>1]=e}k=0;p=1<<v[a>>2]-1;g=v[b+8>>2];y=v[h+12>>2];n=v[h+8>>2];e=((y<<1)+9<<n)-5|0;q=-1<<n;r=(g+e&q)-4|0;i=p+r|0;f=p>>31;f=i>>>0<r>>>0?f+1|0:f;s=0-p|0;T=s&i-1;f=f-(i>>>0<1)&s>>31;i=v[b+12>>2];s=(q&e+i)-4|0;f=eQ(T,f,s,0);q=Da;v:{if(!q&f>>>0>536870911|q){break v}p=Ee(p<<1,f<<2,0);if(!p){break v}Ea[v[a+36>>2]](p,v[b+20>>2],v[b+16>>2],g,i);v[h+164>>2]=p+(f<<1);v[h+160>>2]=p;w:{if((n|0)<1){f=p;break w}I=n&1;S=n-1|0;if(S){k=n&-2;e=v[h+160>>2];f=v[h+164>>2];q=p;while(1){Ea[v[a+48>>2]](f,q,g,i);i=i+5>>>1|0;Ea[v[a+48>>2]](e,f,g,i);i=i+5>>>1|0;q=e;k=k-2|0;if(k){continue}break}f=e}else{f=p}k=0;if(I){e=v[h+164>>2];Ea[v[a+48>>2]](e,f,g,i);k=1;i=i+5>>>1|0}if((n|0)<1){f=e;break w}if(S){f=n&-2;I=(h+160|0)+(k<<2)|0;q=v[(h+160|0)+((k^1)<<2)>>2];while(1){Ea[v[a+44>>2]](q,e,g,i);e=v[I>>2];g=g+5>>>1|0;Ea[v[a+44>>2]](e,q,g,i);g=g+5>>>1|0;f=f-2|0;if(f){continue}break}}if(!(n&1)){f=e;break w}k=k^1;f=v[(h+160|0)+(k<<2)>>2];Ea[v[a+44>>2]](f,e,g,i);g=g+5>>>1|0}x:{e=y-4|0;if(e>>>0<5){q=v[(h+160|0)+((k^1)<<2)>>2];n=h+16|0;Ea[v[((e<<2)+a|0)+60>>2]](q,f,g,i,n);e=v[h+12>>2];g=(e<<1)+g|0;Ea[v[((e<<2)+a|0)- -64>>2]](f,q,g,i,n);e=(v[h+12>>2]<<1)+i|0;if(v[h+8>>2]<1){break x}q=1;while(1){y:{k=k^1;i=v[(h+160|0)+(k<<2)>>2];Ea[v[a+52>>2]](i,f,g,e);g=(g<<1)+4|0;f=v[h+8>>2];if((f|0)<=(q|0)){if((f|0)>=1){break y}f=i;break x}else{q=q+1|0;f=i;continue}}break}q=1;while(1){k=k^1;f=v[(h+160|0)+(k<<2)>>2];Ea[v[a+56>>2]](f,i,g,e);e=(e<<1)+4|0;if(v[h+8>>2]<=(q|0)){break x}q=q+1|0;i=f;continue}}O(447936,447973,567,448014);L()}if(!((e|0)==(s|0)?(g|0)==(r|0):0)){O(448032,447973,584,448014);L()}e=1<<v[a>>2];g=0-e|0;g=g>>>0<r>>>0?r:g&(e+r|0)-1;i=0;z:{if(g>>>0>(2147483647-e>>>0)/(((s|0)>1?s:1)>>>0)>>>0){break z}k=v[b+20>>2];e=Ee(e,e+B(g,s)|0,0);i=0;if(!e){break z}v[b+20>>2]=e;v[b+16>>2]=g;v[b+12>>2]=s;v[b+8>>2]=r;Gd(k);i=1}if(i){e=(v[h+12>>2]+4<<v[h+8>>2])-4|0;v[b>>2]=v[b>>2]-e;v[b+4>>2]=v[b+4>>2]-e;Ea[v[a+40>>2]](v[b+20>>2],v[b+16>>2],f,r,s)}Gd(p)}Ca=h+912|0}if(!c){break a}k=Ee(1<<v[a>>2],v[b+16>>2]<<2,0);if(!k){break a}p=v[b+20>>2];g=v[b+16>>2];h=v[b+12>>2];i=v[b+8>>2];n=c-1|0;A:{if(!n){break A}r=(h|0)>0&(i|0)>0;if(r){e=i&-2;s=i&1;while(1){q=B(g,N);b=0;f=e;if((i|0)!=1){while(1){y=p+(b+q|0)|0;t[y|0]=(w[y|0]>>>1|0)+1>>>1;y=p+(q+(b|1)|0)|0;t[y|0]=(w[y|0]>>>1|0)+1>>>1;b=b+2|0;f=f-2|0;if(f){continue}break}}if(s){b=p+(b+q|0)|0;t[b|0]=(w[b|0]>>>1|0)+1>>>1}N=N+1|0;if((h|0)!=(N|0)){continue}break}}if(!(c&1)){Ea[v[a+32>>2]](p,g,i,h,k);n=c-2|0}if((c|0)!=2){while(1){Ea[v[a+32>>2]](p,g,i,h,k);Ea[v[a+32>>2]](p,g,i,h,k);n=n-2|0;if(n){continue}break}}if(!r){break A}c=i&-2;n=i&1;N=0;while(1){e=B(g,N);b=0;f=c;if((i|0)!=1){while(1){r=p+(b+e|0)|0;q=w[r|0];t[r|0]=(q<<2)-(q>>>0>32);r=p+(e+(b|1)|0)|0;q=w[r|0];t[r|0]=(q<<2)-(q>>>0>32);b=b+2|0;f=f-2|0;if(f){continue}break}}if(n){f=p+(b+e|0)|0;b=w[f|0];t[f|0]=(b<<2)-(b>>>0>32)}N=N+1|0;if((h|0)!=(N|0)){continue}break}}Ea[v[a+32>>2]](p,g,i,h,k);Gd(k)}}function rM(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,u=0,x=0,y=0,z=0,A=0,C=0,D=0;k=Ca-80|0;Ca=k;v[k+76>>2]=0;v[k+8>>2]=0;a:{b:{c:{if(!a|!b){break c}if(v[b+8>>2]!=8){a=97;v[k+76>>2]=97;break b}i=v[b+4>>2];if(!i){break c}x=v[b>>2];if(!x){break c}z=v[a>>2];if(!z){a=32;v[k+76>>2]=32;break b}A=k;d:{if(v[b+48>>2]-2>>>0>=31){a=6}else{h=Kd(z,v[x+4>>2]<<4,0,v[x>>2],0,k+76|0);v[k+8>>2]=h;a=v[k+76>>2];if(a){c=z;break a}v[k+12>>2]=v[x+4>>2];v[k+16>>2]=v[x>>2];a=v[b+12>>2];v[k+28>>2]=v[b+8>>2];v[k+32>>2]=a;a=v[b+20>>2];v[k+36>>2]=v[b+16>>2];v[k+40>>2]=a;a=v[b+28>>2];v[k+44>>2]=v[b+24>>2];v[k+48>>2]=a;a=v[b+36>>2];v[k+52>>2]=v[b+32>>2];v[k+56>>2]=a;a=v[b+44>>2];v[k+60>>2]=v[b+40>>2];v[k+64>>2]=a;a=v[b+52>>2];v[k+68>>2]=v[b+48>>2];v[k+72>>2]=a;a=v[b+4>>2];v[k+20>>2]=v[b>>2];v[k+24>>2]=a;f=6;q=k+8|0;e:{if(!i|!q){break e}r=v[q+4>>2];o=v[i+4>>2];if((r|0)<(o|0)){break e}s=v[q+8>>2];e=v[i>>2];if((s|0)<(e|0)){break e}a=w[i+18|0];if(!a){break e}g=(s-e|0)/2|0;j=(r-o|0)/2|0;p=v[i+12>>2];u=v[q>>2];f=7;f:{switch(a-1|0){case 1:f=0;if((s|0)<1|(r|0)<1){break e}c=r&-4;b=r&3;d=r-1>>>0<3;while(1){l=B(n,r);h=n-g|0;g:{if(!((h|0)>=(e|0)|(h|0)<=-1)){i=e+(h^-1)|0;while(1){a=u+(f+l<<4)|0;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;m=f-j|0;if(!((m|0)<0|(m|0)>=(o|0))){t[a+12|0]=w[p+(m+B(o,w[q+65|0]?i:h)|0)|0]}f=f+1|0;if((r|0)!=(f|0)){continue}break}break g}a=c;if(!d){while(1){i=u+(f+l<<4)|0;v[i>>2]=0;v[i+4>>2]=0;v[i+8>>2]=0;v[i+12>>2]=0;i=u+(l+(f|1)<<4)|0;v[i+8>>2]=0;v[i+12>>2]=0;v[i>>2]=0;v[i+4>>2]=0;i=u+(l+(f|2)<<4)|0;v[i+8>>2]=0;v[i+12>>2]=0;v[i>>2]=0;v[i+4>>2]=0;i=u+(l+(f|3)<<4)|0;v[i+8>>2]=0;v[i+12>>2]=0;v[i>>2]=0;v[i+4>>2]=0;f=f+4|0;a=a-4|0;if(a){continue}break}}a=b;if(!a){break g}while(1){i=u+(f+l<<4)|0;v[i>>2]=0;v[i+4>>2]=0;v[i+8>>2]=0;v[i+12>>2]=0;f=f+1|0;a=a-1|0;if(a){continue}break}}f=0;n=n+1|0;if((s|0)!=(n|0)){continue}break};break e;case 0:break f;default:break e}}f=0;if((s|0)<1|(r|0)<1){break e}c=r&-4;b=r&3;m=r-1>>>0<3;while(1){n=B(r,y);l=y-g|0;h:{if(!((l|0)>=(e|0)|(l|0)<=-1)){d=e+(l^-1)|0;while(1){a=u+(f+n<<4)|0;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;h=f-j|0;if(!((h|0)<0|(h|0)>=(o|0))){t[a+12|0]=w[p+(B(v[i+8>>2],w[q+65|0]?d:l)+(h>>>3|0)|0)|0]>>>((h^-1)&7)&1?-1:0}f=f+1|0;if((r|0)!=(f|0)){continue}break}break h}a=c;if(!m){while(1){d=u+(f+n<<4)|0;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;d=u+(n+(f|1)<<4)|0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;d=u+(n+(f|2)<<4)|0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;d=u+(n+(f|3)<<4)|0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;f=f+4|0;a=a-4|0;if(a){continue}break}}a=b;if(!a){break h}while(1){d=u+(f+n<<4)|0;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;f=f+1|0;a=a-1|0;if(a){continue}break}}f=0;y=y+1|0;if((s|0)!=(y|0)){continue}break}}a=f;v[k+76>>2]=a;if(a){break d}a=0;q=Ca-16|0;Ca=q;f=6;s=k+8|0;i:{if(!s){break i}e=v[s>>2];if(!e){break i}o=v[s+8>>2];if((o|0)>=1){c=v[s+4>>2];while(1){i=a+1|0;if((c|0)>=1){l=!a;f=0;while(1){j:{k:{j=B(a,c)+f<<4;g=j+v[s>>2]|0;b=w[g+12|0];if(!b){break k}l:{if((b|0)!=255){break l}h=0;p=(a|0)>(o|0);if(!(p|l)){h=1;if(!w[(g-(c<<4)|0)+12|0]){break l}}b=(i|0)>=(o|0);if(!b){if(!w[(g+(c<<4)|0)+12|0]){break l}h=h+1|0}m=(f|0)!=0&(c|0)>=(f|0);if(!(!m|(a|0)>=(o|0))){if(!w[g-4|0]){break l}h=h+1|0}d=(f+1|0)>=(c|0);if(!(d|(a|0)>=(o|0))){if(!w[g+28|0]){break l}h=h+1|0}if(!(p|!(m&(a|0)!=0))){if(!w[(g-(c<<4)|0)-4|0]){break l}h=h+1|0}if(!(p|(!a|d))){if(!w[(g-(c<<4)|0)+28|0]){break l}h=h+1|0}if(m&(i|0)<(o|0)){if(!w[(g+(c<<4)|0)-4|0]){break l}h=h+1|0}if(!w[(g+(c<<4)|0)+28|0]|(b|d)){break l}if((h|0)==7){break k}}n=e+j|0;b=n+4|0;m=0;d=0;m:{if(!f){break m}h=c-1|0;if(!a|(h|0)<=(f|0)|(o-1|0)<=(a|0)){break m}g=w[n+12|0];m=c<<4;d=m+n|0;j=w[d+12|0];p=w[(n-m|0)+12|0];m=w[n+28|0];o=w[d+28|0]<<8;h=w[(n+(h<<4)|0)+12|0]<<8;d=w[(n+(1-c<<4)|0)+12|0]<<8;c=w[(n+((c^-1)<<4)|0)+12|0]<<8;C=q,D=o+((d-c-(Qa(w[n-4|0]<<8,92681)+h)|0)+Qa(m<<8,92681)|0)|0,v[C+8>>2]=D;C=q,D=((o+(h-(c+d|0)|0)|0)-Qa(p<<8,92681)|0)+Qa(j<<8,92681)|0,v[C+12>>2]=D;j=g<<8;Cd(q+8|0);n:{o:{c=v[q+8>>2];if(c){d=v[q+12>>2];if(d){break o}}c=32768-j|0;break n}h=c;c=c>>31;m=h+c^c;c=d>>31;d=c+d^c;c=m>>>0<d>>>0;p=c?m:d;d=c?d:m;c=(ab(p,d)|0)/2|0;if((c|0)>(j|0)){c=(d+p>>>1|0)-xv(Qa(d,Qa(p,j))<<1)|0;break n}if((j|0)<(65536-c|0)){c=Qa(32768-j|0,d);break n}c=xv(Qa(d,Qa(p,65536-j|0))<<1)-(d+p>>>1|0)|0}C=q,D=Qa(v[q+8>>2],c),v[C+8>>2]=D;C=q,D=Qa(v[q+12>>2],c),v[C+12>>2]=D;m=v[q+8>>2];d=v[q+12>>2]}v[b>>2]=m;v[b+4>>2]=d;C=n,D=ed(b),v[C>>2]=D;c=v[s+4>>2];break j}b=e+j|0;v[b>>2]=26214400;v[b+4>>2]=13107200;v[b+8>>2]=13107200}o=v[s+8>>2];f=f+1|0;if((f|0)<(c|0)){continue}break}}a=i;if((o|0)>(a|0)){continue}break}}f=0}Ca=q+16|0;a=f;v[k+76>>2]=a;if(a){break d}e=Ca-16|0;Ca=e;i=6;h=k+8|0;p:{if(!h){break p}n=v[h>>2];if(!n){break p}f=v[h+4>>2];b=f-2|0;i=0;j=v[h+8>>2];if(!((j|0)<2|(f|0)<2)){y=1;m=0-f<<4;while(1){p=B(f,y);o=1;while(1){l=(o+p<<4)+n|0;g=l+m|0;d=g-16|0;a=v[l>>2];q:{if((a|0)<=(v[d>>2]-65536|0)){break q}c=v[d+8>>2];v[e+8>>2]=v[d+4>>2]-65536;v[e+12>>2]=c-65536;c=ed(e+8|0);a=v[l>>2];if((c|0)>=(a|0)){break q}v[l>>2]=c;a=v[e+12>>2];v[l+4>>2]=v[e+8>>2];v[l+8>>2]=a;a=c}r:{if((v[g>>2]-65536|0)>=(a|0)){break r}c=v[g+8>>2];v[e+8>>2]=v[g+4>>2];v[e+12>>2]=c-65536;c=ed(e+8|0);a=v[l>>2];if((c|0)>=(a|0)){break r}v[l>>2]=c;a=v[e+12>>2];v[l+4>>2]=v[e+8>>2];v[l+8>>2]=a;a=c}s:{if((v[g+16>>2]-65536|0)>=(a|0)){break s}c=v[g+24>>2];v[e+8>>2]=v[g+20>>2]+65536;v[e+12>>2]=c-65536;c=ed(e+8|0);a=v[l>>2];if((c|0)>=(a|0)){break s}v[l>>2]=c;a=v[e+12>>2];v[l+4>>2]=v[e+8>>2];v[l+8>>2]=a;a=c}c=a;a=l-16|0;t:{if((c|0)<=(v[a>>2]-65536|0)){break t}c=v[a+8>>2];a=v[a+4>>2];v[e+12>>2]=c;v[e+8>>2]=a-65536;a=ed(e+8|0);if((a|0)>=v[l>>2]){break t}v[l>>2]=a;a=v[e+12>>2];v[l+4>>2]=v[e+8>>2];v[l+8>>2]=a}o=o+1|0;if((o|0)!=(f|0)){continue}break}a=b;while(1){c=a;g=(a+p<<4)+n|0;u:{if((v[g+16>>2]-65536|0)>=v[g>>2]){break u}a=v[g+20>>2];v[e+12>>2]=v[g+24>>2];v[e+8>>2]=a+65536;a=ed(e+8|0);if((a|0)>=v[g>>2]){break u}v[g>>2]=a;a=v[e+12>>2];v[g+4>>2]=v[e+8>>2];v[g+8>>2]=a}a=c-1|0;if((c|0)>0){continue}break}y=y+1|0;if((j|0)!=(y|0)){continue}break}j=v[h+8>>2];n=v[h>>2];f=v[h+4>>2];b=f-2|0}if((j|0)<2|(f|0)<2){break p}p=j-2|0;while(1){m=B(f,p);o=1;while(1){g=(m+o<<4)+n|0;j=g+(f<<4)|0;d=j-16|0;a=v[g>>2];v:{if((a|0)<=(v[d>>2]-65536|0)){break v}c=v[d+8>>2];v[e+8>>2]=v[d+4>>2]-65536;v[e+12>>2]=c+65536;c=ed(e+8|0);a=v[g>>2];if((c|0)>=(a|0)){break v}v[g>>2]=c;a=v[e+12>>2];v[g+4>>2]=v[e+8>>2];v[g+8>>2]=a;a=c}w:{if((v[j>>2]-65536|0)>=(a|0)){break w}c=v[j+8>>2];v[e+8>>2]=v[j+4>>2];v[e+12>>2]=c+65536;c=ed(e+8|0);a=v[g>>2];if((c|0)>=(a|0)){break w}v[g>>2]=c;a=v[e+12>>2];v[g+4>>2]=v[e+8>>2];v[g+8>>2]=a;a=c}x:{if((v[j+16>>2]-65536|0)>=(a|0)){break x}c=v[j+24>>2];v[e+8>>2]=v[j+20>>2]+65536;v[e+12>>2]=c+65536;c=ed(e+8|0);a=v[g>>2];if((c|0)>=(a|0)){break x}v[g>>2]=c;a=v[e+12>>2];v[g+4>>2]=v[e+8>>2];v[g+8>>2]=a;a=c}c=a;a=g-16|0;y:{if((c|0)<=(v[a>>2]-65536|0)){break y}c=v[a+8>>2];a=v[a+4>>2];v[e+12>>2]=c;v[e+8>>2]=a-65536;a=ed(e+8|0);if((a|0)>=v[g>>2]){break y}v[g>>2]=a;a=v[e+12>>2];v[g+4>>2]=v[e+8>>2];v[g+8>>2]=a}o=o+1|0;if((o|0)!=(f|0)){continue}break}a=b;while(1){c=a;j=(a+m<<4)+n|0;z:{if((v[j+16>>2]-65536|0)>=v[j>>2]){break z}a=v[j+20>>2];v[e+12>>2]=v[j+24>>2];v[e+8>>2]=a+65536;a=ed(e+8|0);if((a|0)>=v[j>>2]){break z}v[j>>2]=a;a=v[e+12>>2];v[j+4>>2]=v[e+8>>2];v[j+8>>2]=a}a=c-1|0;if((c|0)>0){continue}break}a=(p|0)>0;p=p-1|0;if(a){continue}break}}Ca=e+16|0;a=i;v[k+76>>2]=a;if(a){break d}a=6;h=k+8|0;A:{if(!h|!x){break A}j=v[x+4>>2];if((j|0)!=v[h+4>>2]){break A}m=v[x>>2];if((m|0)!=v[h+8>>2]){break A}a=0;if((m|0)<1|(j|0)<1){break A}i=v[x+12>>2];g=v[h+60>>2]<<16;while(1){f=B(a,j);p=0;while(1){c=f+p|0;b=v[h>>2]+(c<<4)|0;d=v[b>>2];b=w[b+12|0]<127?-1:1;d=ab(B((d|0)<0?g:(d|0)>(g|0)?g:d,w[h+64|0]?0-b|0:b),g);b=d>>31;e=c+i|0;c=b^b+d;b=c>>>9|0;c=(d|0)>0?c>>>0>65535?127:b:b;b=c&255;l=c>>>0>128?128:b;c=(d|0)<0;b=c?l:b;t[e|0]=(c?0-b|0:b)^128;p=p+1|0;if((j|0)!=(p|0)){continue}break}a=a+1|0;if((m|0)!=(a|0)){continue}break}a=0}}v[A+76>>2]=a}c=z;break b}a=6;v[k+76>>2]=6}h=v[k+8>>2]}if(h){if(h){Ea[v[c+8>>2]](c,h)}a=v[k+76>>2]}Ca=k+80|0;return a|0}function lB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0;g=Ca-48|0;Ca=g;p=v[b+100>>2];d=Ya(a,0);v[g+36>>2]=d;a:{if(d){break a}v[g+24>>2]=0;v[g+28>>2]=8;v[g+16>>2]=1;v[g+20>>2]=1;v[g+40>>2]=0;h=wb(p,64,g+40|0);b:{c:{d:{d=v[g+40>>2];if(!d){u[h+12>>1]=32767;v[h+36>>2]=g+16;d=v[a+4>>2];v[h+56>>2]=p;v[h+60>>2]=d;v[h+40>>2]=0;v[h+44>>2]=0;v[h+48>>2]=0;v[h+52>>2]=p;q=v[a+28>>2];v[g+44>>2]=0;d=1024;n=qb(q,1024,g+44|0);if(v[g+44>>2]){break d}v[g>>2]=291;t[n|0]=0;i=256;e=0;r=1;e:while(1){k=d;f:while(1){f=0;d=0;while(1){if(!(f&1)){l=Hk(a,e+n|0,k-e|0);j=l+e|0;e=0}g:{h:{i:{j:{if((d|0)>=(j|0)){break j}s=d+n|0;f=t[s|0];if((i|0)==(f|0)){break g}m=d;while(1){k:{o=f&255;switch(o-10|0){case 0:case 3:break i;default:break k}}m=m+1|0;if((m|0)==(j|0)){break j}f=w[m+n|0];continue}}if(!l){break d}if(!d){if(k>>>0<65536){break h}v[g+44>>2]=6;break d}l=j-d|0;mb(n,d+n|0,l);e=l;j=d;continue f}i=m+n|0;t[i|0]=0;l:{m:{switch(w[s|0]-26|0){case 0:case 9:break l;default:break m}}if((d|0)>=(m|0)){break l}y=m-d|0;d=Ea[v[g>>2]](s,y,r,g,h)|0;v[g+44>>2]=d;if((d|0)==-1){d=Ea[v[g>>2]](s,y,r,g,h)|0;v[g+44>>2]=d}if(d){break d}}t[i|0]=f;i=(o|0)==10?13:(o|0)==13?10:256;f=1;d=m+1|0;r=r+1|0;continue}d=k<<1;n=Kd(q,1,k,d,n,g+44|0);e=k;if(!v[g+44>>2]){continue e}break d}f=1;d=d+1|0;i=256;continue}}}}e=0;if(!h){break b}break c}if(n){Ea[v[q+8>>2]](q,n)}a=v[g+44>>2];v[g+40>>2]=a;e=v[h+32>>2];n:{if(a){break n}o:{p:{q:{if(e){if(v[e+28>>2]!=8){u[e+32>>1]=x[e+4>>1]}r:{if(!v[v[h+36>>2]>>2]|!(v[e+52>>2]|v[e+64>>2])){break r}a=u[h+12>>1];d=u[h+16>>1]-a|0;if((d|0)!=x[e+4>>1]){u[e+4>>1]=d}if(x[e+8>>1]!=(a&65535)){u[e+8>>1]=a}a=x[h+18>>1];d=a<<16;if((a|0)!=x[e+12>>1]){u[e+12>>1]=a}a=x[h+20>>1];f=a<<16>>16;if((a|0)!=x[e+14>>1]){u[e+14>>1]=a;u[e+10>>1]=0-a}a=f+(d>>16)|0;if((a|0)==x[e+6>>1]){break r}u[e+6>>1]=a}d=v[h>>2];if(d&1){break q}a=v[e+88>>2];if(!a){break c}a=Ua(v[e+100>>2],1,a,a+1|0,v[e+84>>2],g+40|0);e=v[h+32>>2];v[e+84>>2]=a;if(v[g+40>>2]){break n}t[a+v[e+88>>2]|0]=0;e=v[h+32>>2];break c}d=v[h>>2];if(!(d&1)){break p}}if(d&32){break o}v[g+40>>2]=185;break n}v[g+40>>2]=3;e=0;break c}v[g+40>>2]=186}vq(e);a=v[h+32>>2];if(a){Ea[v[p+8>>2]](p,a)}e=0;v[h+32>>2]=0}a=v[h+52>>2];if(a){d=v[h+40>>2];if(d){Ea[v[a+8>>2]](a,d)}v[h+48>>2]=0;v[h+52>>2]=0;v[h+40>>2]=0;v[h+44>>2]=0}a=p;d=v[h+24>>2];if(d){Ea[v[a+8>>2]](a,d)}v[h+24>>2]=0;if(h){Ea[v[p+8>>2]](p,h)}d=v[g+40>>2]}v[g+36>>2]=d;s:{t:{u:{v:{w:{x:{y:{z:{if((d&255)!=176){if(d){break a}v[b+140>>2]=e;if(!(!(c&65535)|(c|0)<1)){kk(b);d=6;break a}v[b>>2]=1;v[b+4>>2]=0;v[b+8>>2]=v[b+8>>2]|18;A:{B:{if(!e|!v[e+72>>2]){break B}a=Mc(26272,v[e+92>>2]);C:{if(!a){break C}c=v[e+80>>2];if(!c){break C}a=c+(v[a>>2]<<4)|0;if(v[a+4>>2]!=1){break C}a=v[a+12>>2];if(!a){break C}D:{E:{a=w[a|0];switch(a-67|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break C;case 0:case 10:break D;default:break E}}switch(a-99|0){case 0:case 10:break D;default:break C}}v[b+8>>2]=v[b+8>>2]|4}if(!v[e+72>>2]){break B}a=Mc(26280,v[e+92>>2]);if(!a){break B}c=v[e+80>>2];if(!c){break B}a=v[(c+(v[a>>2]<<4)|0)+12>>2];if(!a){break B}z=b,A=pd(p,a,g+36|0),v[z+20>>2]=A;d=v[g+36>>2];if(!d){break A}break a}v[b+20>>2]=0}m=0;v[g>>2]=0;v[b+12>>2]=0;o=v[b+100>>2];s=1;c=v[b+140>>2];if(!c|!v[c+72>>2]){break u}a=0;q=0;d=Mc(28693,v[c+92>>2]);F:{if(!d){break F}f=v[c+80>>2];if(!f){break F}d=f+(v[d>>2]<<4)|0;if(v[d+4>>2]!=1){break F}f=v[d+12>>2];if(!f){break F}G:{switch(w[f|0]-73|0){case 0:case 6:case 32:case 38:break G;default:break F}}v[b+12>>2]=v[b+12>>2]|1;q=(w[v[d+12>>2]]&223)==79?29264:29272}if(!v[c+72>>2]){i=0;l=0;k=0;n=0;d=0;c=1;break v}l=0;j=1;d=Mc(28879,v[c+92>>2]);k=0;H:{if(!d){break H}f=v[c+80>>2];k=0;if(!f){break H}d=f+(v[d>>2]<<4)|0;k=0;if(v[d+4>>2]!=1){break H}d=v[d+12>>2];k=0;if(!d){break H}k=0;if((w[d|0]|32)!=98){break H}v[b+12>>2]=v[b+12>>2]|2;j=0;k=29279}if(!v[c+72>>2]){break y}i=0;a=Mc(28679,v[c+92>>2]);l=0;I:{if(!a){break I}d=v[c+80>>2];l=0;if(!d){break I}a=d+(v[a>>2]<<4)|0;l=0;if(v[a+4>>2]!=1){break I}a=v[a+12>>2];l=0;if(!a){break I}d=w[a|0];l=0;if(!d){break I}l=0;if((d|0)==78){break I}l=0;if((d|0)==110){break I}l=a}if(!v[c+72>>2]){break x}a=Mc(27888,v[c+92>>2]);if(!a){break y}c=v[c+80>>2];if(!c){break y}a=c+(v[a>>2]<<4)|0;if(v[a+4>>2]!=1){break x}i=v[a+12>>2];if(!i){break y}a=0;c=w[i|0];if(!c|(c|0)==78|(c|0)==110){break z}a=Xa(i);d=a+1|0;break w}kk(b);d=2;break a}i=0;d=0;break w}i=0}a=0;d=0}if(j){k=0;n=0;c=1;break v}n=Xa(k);d=(n+d|0)+1|0;c=0}r=c;J:{if(!q){c=0;break J}c=Xa(q);d=(d+c|0)+1|0}s=!q;if(l){m=Xa(l);d=(m+d|0)+1|0}h=!l;j=h;if(!d){break t}break s}l=0;n=0;k=0;r=1;q=0;c=0;j=1}h=j;d=8;a=7;i=29284}f=qb(o,d,g);v[b+24>>2]=f;d=v[g>>2];if(d){break a}if(i){f=Ta(f,i,a);K:{if(!a){break K}i=a&3;d=0;if(a-1>>>0>=3){j=a&-4;while(1){o=d+f|0;if(w[o|0]==32){t[o|0]=45}o=f+(d|1)|0;if(w[o|0]==32){t[o|0]=45}o=f+(d|2)|0;if(w[o|0]==32){t[o|0]=45}o=f+(d|3)|0;if(w[o|0]==32){t[o|0]=45}d=d+4|0;j=j-4|0;if(j){continue}break}}if(!i){break K}while(1){j=d+f|0;if(w[j|0]==32){t[j|0]=45}d=d+1|0;i=i-1|0;if(i){continue}break}}f=a+f|0}if(!r){if(v[b+24>>2]!=(f|0)){t[f|0]=32;f=f+1|0}f=Ta(f,k,n)+n|0}if(!s){if(v[b+24>>2]!=(f|0)){t[f|0]=32;f=f+1|0}f=Ta(f,q,c)+c|0}if(!h){if(v[b+24>>2]!=(f|0)){t[f|0]=32;f=f+1|0}a=Ta(f,l,m);L:{if(!m){break L}i=m&3;d=0;if(m-1>>>0>=3){j=m&-4;while(1){c=a+d|0;if(w[c|0]==32){t[c|0]=45}c=a+(d|1)|0;if(w[c|0]==32){t[c|0]=45}c=a+(d|2)|0;if(w[c|0]==32){t[c|0]=45}c=a+(d|3)|0;if(w[c|0]==32){t[c|0]=45}d=d+4|0;j=j-4|0;if(j){continue}break}}if(!i){break L}while(1){c=a+d|0;if(w[c|0]==32){t[c|0]=45}d=d+1|0;i=i-1|0;if(i){continue}break}}f=a+m|0}t[f|0]=0;d=v[g>>2];v[g+36>>2]=d;if(d){break a}a=v[e+48>>2];v[b+28>>2]=1;v[b+16>>2]=a+1;a=wb(p,16,g+36|0);v[b+32>>2]=a;d=v[g+36>>2];if(d){break a}d=v[e+40>>2];if(d+32767>>>0>=65535){d=(d|0)<0?-32767:32767;v[e+40>>2]=d}i=v[e+44>>2];if(i+32767>>>0>=65535){i=(i|0)<0?-32767:32767;v[e+44>>2]=i}u[a>>1]=d+i;c=a;f=Sf(e,26292);M:{if(f){f=v[f+12>>2];d=32767;if(f+327665>>>0>655330){break M}f=(f+5|0)/10|0;d=f>>31;d=d^d+f;break M}d=fb(u[a>>1],2,3)}u[c+2>>1]=d;c=a;f=Sf(e,26306);N:{if(f){f=v[f+12>>2];d=32767;if(f+328898>>>0>657796){break N}d=f>>31;d=fb(d+f^d,460800,72270);break N}d=v[e+16>>2];if(d){d=d>>>0>32767?32767:d<<6;break N}d=u[a+2>>1]<<6}v[c+4>>2]=d;c=Sf(e,26317);if(c){c=v[c+12>>2];d=c>>31;v[a+12>>2]=c+32767>>>0>65534?2097088:(d^c+d)<<6}j=0;d=Sf(e,26328);d=v[(d?d+12|0:e+20|0)>>2];c=0;O:{if(!d){break O}c=2147418112;if(d+32767>>>0>65534){break O}c=d>>31;c=(c+d^c)<<16}d=Sf(e,26341);d=v[(d?d+12|0:e+24|0)>>2];P:{if(!d){break P}j=32767;if(d+32767>>>0>65534){break P}k=d;d=d>>31;j=k+d^d}d=v[a+12>>2];Q:{if(!d){d=v[a+4>>2];v[a+12>>2]=d;f=j&65535;if(!f){break Q}d=fb(d,f,72);v[a+12>>2]=d}if(!c){break Q}f=j&65535;if(!f){break Q}d=fb(d,c>>>16|0,f)}v[a+8>>2]=d;a=v[e+56>>2];c=Ua(p,8,0,v[e+48>>2],0,g+36|0);v[b+144>>2]=c;d=v[g+36>>2];if(d){break a}v[b+148>>2]=0;f=v[e+48>>2];R:{if(!f){break R}l=v[e+36>>2];d=0;if((f|0)!=1){m=f&-2;while(1){k=v[(a+B(d,36)|0)+4>>2];j=c+(d<<3)|0;u[j+4>>1]=d;v[j>>2]=k;if((k|0)==(l|0)){v[b+148>>2]=d}k=d|1;j=v[(a+B(k,36)|0)+4>>2];r=c+(k<<3)|0;u[r+4>>1]=k;v[r>>2]=j;if((j|0)==(l|0)){v[b+148>>2]=k}d=d+2|0;m=m-2|0;if(m){continue}break}}if(!(f&1)){break R}a=v[(a+B(d,36)|0)+4>>2];c=c+(d<<3)|0;u[c+4>>1]=d;v[c>>2]=a;if((a|0)!=(l|0)){break R}v[b+148>>2]=d}S:{a=Sf(e,26354);c=Sf(e,26371);if(!a|!c|(v[a+4>>2]!=1|v[c+4>>2]!=1)){break S}if(!v[a+12>>2]){break S}c=v[c+12>>2];if(!c){break S}z=b,A=pd(p,c,g+36|0),v[z+132>>2]=A;d=v[g+36>>2];if(d){break a}a=pd(p,v[a+12>>2],g+36|0);v[b+136>>2]=a;d=v[g+36>>2];if(d){break a}d=1;T:{if((w[a|0]|32)!=105|(w[a+1|0]|32)!=115|(w[a+2|0]|32)!=111){break T}d=0;a=a+3|0;if(!Wa(a,26388)){break T}if(!Wa(a,26394)){if(!Wa(v[b+132>>2],26399)){break T}}d=1;if(Wa(a,26401)){break T}d=(Wa(v[b+132>>2],26410)|0)!=0}v[g+4>>2]=0;v[g+8>>2]=0;v[g>>2]=b;if(!d){v[g+4>>2]=1970170211;v[g+8>>2]=65539}d=yd(26416,0,g,0);break a}v[g+4>>2]=1094995778;v[g+8>>2]=7;v[g>>2]=b;d=yd(26416,0,g,0);v[g+36>>2]=d;if(!v[b+36>>2]){break a}v[b+92>>2]=v[v[b+40>>2]>>2]}Ca=g+48|0;return d|0}function Sz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=Ca-32|0;Ca=g;o=1;j=v[b+540>>2];a:{if((d|0)<1){c=0;break a}h=d&3;b:{if(d-1>>>0<3){c=0;d=0;break b}n=d&-4;c=0;d=0;while(1){i=1;l=d<<3;m=v[l+e>>2]-1768386662|0;if(m){if((m|0)==13){k=1}}else{c=1}f=c;c=v[(l|8)+e>>2]-1768386662|0;if(c){if((c|0)==13){k=1}i=f}c=1;m=v[(l|16)+e>>2]-1768386662|0;if(m){if((m|0)==13){k=1}f=i}else{f=1}i=v[(l|24)+e>>2]-1768386662|0;if(i){if((i|0)==13){k=1}c=f}d=d+4|0;n=n-4|0;if(n){continue}break}}if(!h){break a}f=c;while(1){i=v[(d<<3)+e>>2]-1768386662|0;if(i){if((i|0)==13){k=1}c=f}else{c=1}d=d+1|0;f=c;h=h-1|0;if(h){continue}break}}c:{if(v[v[b+128>>2]+52>>2]){break c}f=0;d=x[b+152>>1];d:{if(!d){break d}f=v[b+156>>2];e=f+(d<<4)|0;d=f;while(1){if(v[d+12>>2]?v[d>>2]==1735162214:0){break c}d=d+16|0;if(e>>>0>d>>>0){continue}break}d=f;while(1){if(v[d+12>>2]?v[d>>2]==1128678944:0){break c}d=d+16|0;if(e>>>0>d>>>0){continue}break}while(1){if(v[f+12>>2]?v[f>>2]==1128678962:0){break d}f=f+16|0;if(e>>>0>f>>>0){continue}break}f=0}o=(f|0)!=0}d=1;e=Ea[v[b+516>>2]](b,1935829368,a,0)|0;i=(e|0)!=0&o;e:{f:{g:{if(i){break g}h=v[j+68>>2];if(!h){break g}f=0;h=Ea[h|0](b,a)|0;d=(h|0)!=0;if(h){break g}if(e){break f}}e=Ea[v[j+24>>2]](b,a)|0;v[g+28>>2]=e;f=d;if(e){break e}}d=Ea[v[b+516>>2]](b,1128418371,a,0)|0;e=Ea[v[b+516>>2]](b,1128416340,a,0)|0;if((x[b+178>>1]-16&65535)>>>0>=16369){v[g+28>>2]=8;break e}d=i&((d|0)!=0&(e|0)!=0);Ea[v[j+36>>2]](b,a)|0;Ea[v[j+32>>2]](b,a)|0;Ea[v[j+48>>2]](b,a)|0;h=Ea[v[j+44>>2]](b,a)|0;h:{if(!f){e=d;break h}e=Ea[v[j+28>>2]](b,a,0)|0;v[g+28>>2]=e;i:{j:{k:{if(!e){f=Ea[v[j+92>>2]](b,a,0)|0;v[g+28>>2]=f;if((f&255)!=142){break j}v[g+28>>2]=147;e=v[v[b+128>>2]+52>>2];if(!e){break e}if(v[v[e>>2]+8>>2]){break k}break e}if((e&255)!=142){break e}e=0;if(v[b+148>>2]==1953658213){break i}v[g+28>>2]=143;e=v[v[b+128>>2]+52>>2];if(!e|!v[v[e>>2]+8>>2]){break e}}u[b+250>>1]=0;e=d;break i}e=d;if(f){break e}}d=Ea[v[j+28>>2]](b,a,1)|0;v[g+28>>2]=d;l:{m:{if(d){break m}d=Ea[v[j+92>>2]](b,a,1)|0;v[g+28>>2]=d;if(d){break m}t[b+292|0]=1;break l}if((d&255)!=142){break e}}if(!(Ea[v[j+40>>2]](b,a)|0)){break h}u[b+372>>1]=65535}d=v[j+96>>2];if(d){Ea[d|0](b,a)|0}d=v[j+112>>2];if(d){Ea[d|0](b,a)|0;Ea[v[j+116>>2]](b,a)|0}Ea[v[j+64>>2]](b,a)|0;Ea[v[j+60>>2]](b,a)|0;Ea[v[j+56>>2]](b,a)|0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+16>>2]=x[b+264>>1];a=b+24|0;d=b+20|0;n:{if(!(!(t[b+437|0]&1)|x[b+372>>1]==65535)){o:{if(!(c&255)){c=Yd(b,16,d);v[g+28>>2]=c;if(c){break e}if(v[d>>2]){break o}}c=Yd(b,1,d);v[g+28>>2]=c;if(c){break e}}if(!(k&255)){c=Yd(b,17,a);v[g+28>>2]=c;if(c){break e}}if(v[a>>2]){break n}a=Yd(b,2,a);v[g+28>>2]=a;if(!a){break n}break e}f=Yd(b,21,d);v[g+28>>2]=f;if(f){break e}i=v[d>>2];if(!(i|c&255)){c=Yd(b,16,d);v[g+28>>2]=c;if(c){break e}i=v[d>>2]}if(!i){c=Yd(b,1,d);v[g+28>>2]=c;if(c){break e}}c=Yd(b,22,a);v[g+28>>2]=c;if(c){break e}d=v[a>>2];if(!(d|k&255)){c=Yd(b,17,a);v[g+28>>2]=c;if(c){break e}d=v[a>>2]}if(d){break n}a=Yd(b,2,a);v[g+28>>2]=a;if(a){break e}}d=v[b+8>>2];a=e|((v[b+872>>2]?0:(v[b+796>>2]&-2)!=2)?d:d|16384);d=a|24;d=h?d:v[b+476>>2]==196608?d:a|536;a=v[b+488>>2]?d|4:d;a=w[b+292|0]?a|32:a;h=v[b+820>>2]?a|64:a;a=b;if(t[a+740|0]&1){k=0;c=x[b+152>>1];p:{if(!c){break p}d=v[b+156>>2];f=d+(c<<4)|0;c=d;while(1){q:{if(!(!v[c+12>>2]|v[c>>2]!=1735162214)){c=d;r:{while(1){if(v[c+12>>2]?v[c>>2]==1735811442:0){break r}c=c+16|0;if(f>>>0>c>>>0){continue}break}c=0}h=c?h|256:h;break q}c=c+16|0;if(f>>>0>c>>>0){continue}}break}while(1){if(!(!v[d+12>>2]|v[d>>2]!=1128678962)){k=d;break p}d=d+16|0;if(f>>>0>d>>>0){continue}break}}h=k?h|256:h}v[a+8>>2]=h;a=b;s:{if(!(!e|x[b+372>>1]==65535)){c=x[b+436>>1];c=c>>>4&2|(c&513)!=0;break s}c=x[b+204>>1];c=c>>>1&1|c<<1&2}v[a+12>>2]=c|v[b+12>>2];a=Ca-224|0;Ca=a;e=Va(40);v[e>>2]=0;h=v[b+508>>2];v[a+216>>2]=h;t:{u:{v:{if(!v[a+216>>2]){break v}c=v[b+512>>2];if(c>>>0<4){break v}v[a+216>>2]=v[a+216>>2]+2;v[a+216>>2]=v[a+216>>2]+2;v[a+220>>2]=w[v[a+216>>2]-1|0]|w[v[a+216>>2]-2|0]<<8;if(!v[a+220>>2]){break v}i=4;k=c+h|0;while(1){if(k>>>0<v[a+216>>2]+8>>>0){break v}v[a+216>>2]=v[a+216>>2]+2;c=w[v[a+216>>2]-2|0];d=w[v[a+216>>2]-1|0];v[a+216>>2]=v[a+216>>2]+2;u[a+208>>1]=d|c<<8;c=w[v[a+216>>2]-2|0];d=w[v[a+216>>2]-1|0];v[a+216>>2]=v[a+216>>2]+4;v[a+200>>2]=b;v[a+204>>2]=0;u[a+210>>1]=d|c<<8;c=w[v[a+216>>2]-1|0]|(w[v[a+216>>2]-3|0]<<16|w[v[a+216>>2]-4|0]<<24|w[v[a+216>>2]-2|0]<<8);if(!(!c|c>>>0>v[b+512>>2]-2>>>0)){v[a+196>>2]=c+h;v[a+192>>2]=w[v[a+196>>2]+1|0]|w[v[a+196>>2]]<<8;v[a+188>>2]=162448;w:{if(!v[v[a+188>>2]>>2]){break w}x:{while(1){y:{v[a+184>>2]=v[v[a+188>>2]>>2];if(v[v[a+184>>2]+40>>2]==v[a+192>>2]){v[a+4>>2]=0;v[164434]=0;v[a+164>>2]=v[a+196>>2];v[a+168>>2]=k;v[a+172>>2]=0;v[a+176>>2]=0;c=v[164434];v[164434]=0;d=-1;if(!c){break x}f=v[164435];if(!f){break x}d=Xf(v[c>>2],e,i);if(d){break y}break u}v[a+188>>2]=v[a+188>>2]+4;if(v[v[a+188>>2]>>2]){continue}break w}break}P(f|0)}c=R()|0;if((d|0)!=1){v[a+180>>2]=x[b+264>>1];e=Yk(a+8|0,1,e,i);i=R()|0;c=0}while(1){if(!c){c=v[v[a+184>>2]+44>>2];v[164434]=0;l=da(c|0,v[a+196>>2],a+8|0)|0;c=v[164434];v[164434]=0;d=-1;z:{if(!c){break z}f=v[164435];if(!f){break z}d=Xf(v[c>>2],e,i);if(!d){break u}P(f|0)}c=R()|0;if((d|0)==1){continue}v[a+4>>2]=l}if(v[a+176>>2]){break w}v[164434]=0;l=ca(318,v[a+184>>2],v[a+196>>2],a+200|0,a|0)|0;c=v[164434];v[164434]=0;d=-1;A:{if(!c){break A}f=v[164435];if(!f){break A}d=Xf(v[c>>2],e,i);if(!d){break u}P(f|0)}c=R()|0;if((d|0)==1){continue}break}if(l){break w}v[v[a>>2]+20>>2]=v[a+4>>2]}}v[a+220>>2]=v[a+220>>2]-1;if(v[a+220>>2]){continue}break}}Pa(e);Ca=a+224|0;break t}S(c|0,f|0);L()}f=v[b+36>>2];B:{if((f|0)>=1){h=v[b+40>>2];i=0;d=0;while(1){a=v[h+(d<<2)>>2];c=u[a+10>>1];e=162496;C:{D:{E:{F:{switch(x[a+8>>1]){case 0:e=162508;break E;case 1:if(c){break D}e=162520;break E;case 2:break E;case 3:break F;default:break D}}e=c&65535;if(e>>>0>=11|!(1151>>>e&1)){break D}e=v[(c<<2)+163636>>2]}c=a;a=v[e+8>>2];v[c+4>>2]=a;if((a|0)!=1937337698?(a|0)!=1970170211:0){break C}i=1;break C}v[a+4>>2]=0}d=d+1|0;if((f|0)!=(d|0)){continue}break}if(i&255){break B}}if(!(w[b+9|0]&2)){break B}v[g>>2]=b;v[g+4>>2]=1970170211;v[g+8>>2]=65539;a=yd(161928,0,g,0);c=a&255;d=(c|0)==163;v[g+28>>2]=(c|0)==7?0:a?d?0:a:0;if(d|!a){break B}if((c|0)!=7){break e}}a=v[b+800>>2];G:{if(!a){break G}e=v[v[b+104>>2]+28>>2];k=x[b+178>>1];if(!k|x[b+372>>1]==65535){k=1;c=1}else{c=x[b+374>>1]}p=b,q=Ua(e,16,0,a,0,g+28|0),v[p+32>>2]=q;if(v[g+28>>2]){break e}f=Ua(e,4,0,a,0,g+28|0);if(v[g+28>>2]){break e}l=k>>>1|0;o=c<<16>>16;h=0;d=0;while(1){c=v[b+32>>2];i=Ea[v[j+108>>2]](b,d,g)|0;v[g+28>>2]=i;H:{if(i){break H}c=c+(h<<4)|0;u[c>>1]=v[g+20>>2]>>>6;i=x[g>>1];v[c+8>>2]=i<<6;u[c+2>>1]=(l+B(i,o)|0)/(k|0);n=x[g+2>>1];m=n<<6;v[c+4>>2]=m;v[c+12>>2]=m;if(!i|!n){break H}v[f+(h<<2)>>2]=d;h=h+1|0}d=d+1|0;if((a|0)!=(d|0)){continue}break}a=Ua(e,4,a,h,f,g+28|0);if(!h){break G}v[b+804>>2]=a;v[b+28>>2]=h;v[b+8>>2]=v[b+8>>2]|2}d=v[b+8>>2];if(!(d&3)){d=d|1;v[b+8>>2]=d}if(!(d&1)){break e}u[b+68>>1]=x[b+178>>1];v[b+52>>2]=u[b+196>>1];v[b+56>>2]=u[b+198>>1];v[b+60>>2]=u[b+200>>1];v[b- -64>>2]=u[b+202>>1];d=x[b+372>>1];I:{if(!(!(w[b+436|0]&128)|(d|0)==65535)){a=x[b+442>>1];u[b+70>>1]=a;c=x[b+444>>1];u[b+72>>1]=c;u[b+74>>1]=x[b+446>>1]+(a-c|0);break I}a=x[b+220>>1];u[b+70>>1]=a;c=x[b+222>>1];u[b+72>>1]=c;u[b+74>>1]=x[b+224>>1]+(a-c|0);if(a|c|(d|0)==65535){break I}a=x[b+442>>1];c=x[b+444>>1];if(a|c){u[b+72>>1]=c;u[b+70>>1]=a;u[b+74>>1]=x[b+446>>1]+(a-c|0);break I}a=x[b+448>>1];u[b+70>>1]=a;c=a;a=x[b+450>>1];u[b+74>>1]=c+a;u[b+72>>1]=0-a}u[b+76>>1]=x[b+226>>1];u[b+78>>1]=x[(w[b+292|0]?306:74)+b>>1];a=u[b+486>>1];u[b+82>>1]=a;u[b+80>>1]=x[b+484>>1]+((a|0)/-2|0)}Ca=g+32|0;return v[g+28>>2]}function uC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=Ca-16|0;Ca=h;a:{b:{d=Ya(a,0);if(!d){d=ub(a,17680,b+132|0);if(!d){break b}}v[h+12>>2]=d;break a}v[b+168>>2]=v[b+168>>2]+(v[b+204>>2]<<16);v[h+12>>2]=0;d=2;if(v[b+132>>2]!=1346785840|y[b+136>>2]>4|(v[b+140>>2]!=3338|y[b+144>>2]<58)){break a}i=v[b+152>>2];d=Ya(a,i);v[h>>2]=d;if(d){break a}e=kb(a,h);d=v[h>>2];if(d){break a}d=8;if(e>>>0>13106){break a}f=v[a+4>>2];if(B(e,5)+2>>>0>=f-i>>>0|f>>>0<=B(e,23)+95>>>0){break a}d=0;v[h+12>>2]=0;v[b>>2]=e;if((c|0)<0){break a}d=6;s=c&65535;if(e>>>0<=s>>>0){break a}j=v[b+204>>2];d=Ya(a,v[b+152>>2]);v[h>>2]=d;if(d){break a}c=kb(a,h);d=v[h>>2];if(d){break a}d=6;if(c>>>0<=s>>>0){break a}d=Ub(a,B(s,5));v[h>>2]=d;if(d){break a}f=kb(a,h);d=v[h>>2];if(d){break a}e=0;d=Ca-16|0;Ca=d;v[h>>2]=0;i=a;c:{d:{e:{f:{c=v[a+4>>2];a=v[a+8>>2];if(c>>>0<=a+2>>>0){break f}c=v[i+20>>2];g:{if(c){if((Ea[c|0](i,a,d+13|0,3)|0)!=3){break f}a=v[i+8>>2];c=d+13|0;break g}c=v[i>>2];if(!c){break e}c=a+c|0}e=w[c+2|0]|(w[c+1|0]<<8|w[c|0]<<16);break d}v[h>>2]=85;break c}e=0}v[i+8>>2]=a+3}Ca=d+16|0;d=v[h>>2];if(d){break a}v[b+240>>2]=f;v[b+244>>2]=e;d=Ya(i,e);v[h>>2]=d;if(d){break a}d=vb(i,f);v[h>>2]=d;if(d){break a}h:{i:{j:{if(f>>>0<13){break j}d=v[i+32>>2];g=d+f|0;v[b+248>>2]=w[d+2|0]|(w[d+1|0]<<8|w[d|0]<<16);v[b+252>>2]=w[d+5|0]|(w[d+4|0]<<8|w[d+3|0]<<16);v[b+256>>2]=w[d+8|0]|(w[d+7|0]<<8|w[d+6|0]<<16);v[b+260>>2]=w[d+11|0]|(w[d+10|0]<<8|w[d+9|0]<<16);c=0;r=g;e=d+13|0;o=e;f=w[d+12|0];a=f&4;if(a){c=f&8?2:1;p=f&3?c:c+3|0}else{p=c}c=f&32;if(r>>>0<o+(p+(f<<27>>31&(c?2:1))|0)>>>0){break j}l=f&16;k:{if(!a){break k}o=b;l:{if(f&8){e=d+15|0;a=w[d+13|0]|w[d+14|0]<<8;a=(a<<8|a>>>8)<<16>>16;break l}e=d+14|0;a=w[d+13|0]}v[o+268>>2]=a;if(f&3){break k}v[b+276>>2]=w[e+2|0]|(w[e+1|0]<<8|w[e|0]<<16);e=e+3|0}m:{if(!l){c=e;break m}n:{if(c){a=w[e|0]|w[e+1|0]<<8;d=(a<<8|a>>>8)<<16>>16;c=e+2|0;break n}d=w[e|0];c=e+1|0}v[b+272>>2]=d}o:{if(!(f&64)){d=c;break o}d=c+1|0;if(g>>>0<d>>>0){break i}c=w[c|0];if(c){while(1){a=d+2|0;if(a>>>0>g>>>0){break i}d=a+w[d|0]|0;if(g>>>0<d>>>0){break i}c=c-1|0;if(c){continue}break}}v[h>>2]=0}if(g>>>0<d+5>>>0){break j}a=w[d+1|0]|w[d|0]<<8;v[b+280>>2]=a;v[b+284>>2]=w[d+4|0]|(w[d+3|0]<<8|w[d+2|0]<<16);if(!j){break h}if(g>>>0<d+6>>>0){break j}v[b+280>>2]=a|w[d+5|0]<<16;break h}v[h>>2]=8;break h}v[h>>2]=8}pb(i);d=v[h>>2];v[h+12>>2]=d;if(d){break a}e=v[b+280>>2];q=v[b+284>>2];n=v[i+28>>2];v[b+428>>2]=b+424;v[b+424>>2]=0;v[b+292>>2]=q;g=b+288|0;v[g>>2]=n;d=Ya(i,q);if(d){break a}d=vb(i,e);v[h>>2]=d;if(d){break a}a=v[i+32>>2];v[g+148>>2]=a;p:{q:{r:{s:{if((e|0)<15){break s}v[g+8>>2]=w[a+1|0]|w[a|0]<<8;v[g+12>>2]=w[a+3|0]|w[a+2|0]<<8;v[g+16>>2]=w[a+5|0]|w[a+4|0]<<8;c=w[a+6|0]|w[a+7|0]<<8;v[g+20>>2]=(c<<8|c>>>8)<<16>>16;c=w[a+8|0]|w[a+9|0]<<8;v[g+24>>2]=(c<<8|c>>>8)<<16>>16;c=w[a+10|0]|w[a+11|0]<<8;v[g+28>>2]=(c<<8|c>>>8)<<16>>16;c=w[a+12|0]|w[a+13|0]<<8;v[g+32>>2]=(c<<8|c>>>8)<<16>>16;l=w[a+14|0];v[g+36>>2]=l;r=l&4;if(r){c=a+15|0}else{if((e|0)<17){break s}c=w[a+15|0]|w[a+16|0]<<8;v[g+40>>2]=(c<<8|c>>>8)<<16>>16;c=a+17|0}j=a+e|0;if(l&128){d=c+1|0;if(j>>>0<d>>>0){break r}k=w[c|0];t:{if(!k){c=d;break t}while(1){f=d+2|0;if(f>>>0>j>>>0){break r}c=f+w[d|0]|0;if(j>>>0<c>>>0){break r}a=215;e=216;u:{v:{w:{x:{switch(w[d+1|0]-1|0){case 2:a=217;break w;case 0:break v;case 1:break w;case 3:break x;default:break u}}a=218}e=a}d=Ea[e|0](f,c,g)|0;if(d){break q}}d=c;k=k-1|0;if(k){continue}break}}v[h>>2]=0}a=c+3|0;if(j>>>0<a>>>0){break s}e=w[c+2|0]|(w[c+1|0]<<8|w[c|0]<<16);if(e){f=(c+e|0)+3|0;if(f>>>0>j>>>0){break s}y:{if(e>>>0<4){break y}p=g+84|0;o=g+88|0;k=c+7|0;while(1){m=w[a+1|0]|w[a|0]<<8;if(m>>>0<4|e>>>0<m>>>0){break y}c=h;z:{A:{B:{C:{D:{d=w[a+2|0]|w[a+3|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break B;case 1:break C;case 0:break D;default:break z}}d=Iq(k,m-4|0,n,p);break A}if(m>>>0<36){break z}c=w[a+14|0]|w[a+15|0]<<8;v[g+44>>2]=(c<<8|c>>>8)<<16>>16;c=w[a+16|0]|w[a+17|0]<<8;v[g+48>>2]=(c<<8|c>>>8)<<16>>16;c=w[a+18|0]|w[a+19|0]<<8;v[g+52>>2]=(c<<8|c>>>8)<<16>>16;break z}d=Iq(k,m-4|0,n,o)}v[c>>2]=d;if(d){break a}}e=e-m|0;if(!e){break y}a=a+m|0;k=a+4|0;if(f>>>0>=k>>>0){continue}break}}a=f}d=a+1|0;if(j>>>0<d>>>0){break s}a=w[a|0];v[g+104>>2]=a;if(j>>>0<(a<<1)+d>>>0){break s}f=Ua(n,4,0,a,0,h);v[g+108>>2]=f;if(v[h>>2]){break p}E:{if(!a){break E}k=a&1;F:{if((a|0)==1){c=0;break F}e=a&254;c=0;while(1){a=c<<2;m=w[d|0]|w[d+1|0]<<8;v[a+f>>2]=(m<<8|m>>>8)<<16>>16;o=f+(a|4)|0;a=w[d+2|0]|w[d+3|0]<<8;v[o>>2]=(a<<8|a>>>8)<<16>>16;c=c+2|0;d=d+4|0;e=e-2|0;if(e){continue}break}}if(!k){break E}a=w[d|0]|w[d+1|0]<<8;v[f+(c<<2)>>2]=(a<<8|a>>>8)<<16>>16;d=d+2|0}c=d+8|0;if(j>>>0<c>>>0){break s}v[g+112>>2]=w[d|0];v[g+116>>2]=w[d+1|0];v[g+68>>2]=w[d+3|0]|w[d+2|0]<<8;v[g+56>>2]=w[d+5|0]|w[d+4|0]<<8;k=w[d+7|0]|w[d+6|0]<<8;v[g+120>>2]=k;v[g+124>>2]=(c+q|0)-v[i+32>>2];m=l&2;q=l&8;p=l&16;l=l&32;if(j>>>0<B(k,(r>>>1|(m?5:4))+(q>>>3|0)+(p>>>4)+(l>>>5)|0)+c>>>0){break s}e=0;n=Ua(n,16,0,k,0,h);v[g+128>>2]=n;if(v[h>>2]|!k){break p}while(1){G:{if(m){f=w[c+1|0]|w[c|0]<<8;d=c+2|0;break G}f=w[c|0];d=c+1|0}j=n+(e<<4)|0;v[j>>2]=f;H:{if(r){a=w[d|0]|w[d+1|0]<<8;f=(a<<8|a>>>8)<<16>>16;d=d+2|0;break H}f=v[g+40>>2]}v[j+4>>2]=f;a=q?d+1|0:d;I:{if(p){f=w[a+1|0]|w[a|0]<<8;c=a+2|0;break I}f=w[a|0];c=a+1|0}v[j+8>>2]=f;J:{if(l){f=w[c+1|0]<<8|w[c|0]<<16;a=c+2|0;c=c+3|0;break J}a=c+1|0;f=w[c|0]<<8;c=c+2|0}v[j+12>>2]=w[a|0]|f;e=e+1|0;if((k|0)!=(e|0)){continue}break}break p}v[h>>2]=8;break p}d=8}v[h>>2]=d}pb(i);a=v[i+8>>2];v[g+148>>2]=0;v[g+144>>2]=a;d=v[h>>2];v[h+12>>2]=d;if(d){break a}v[b+4>>2]=s;a=v[b+408>>2];v[b+16>>2]=a+1;e=v[b+8>>2]|1;v[b+8>>2]=e;K:{L:{M:{if(!a){d=!a;break M}c=v[g+128>>2];d=0;while(1){if(v[(c+(d<<4)|0)+12>>2]){d=(a|0)==(d|0);break M}d=d+1|0;if((a|0)!=(d|0)){continue}break}break L}if(!d){break K}}e=0;if(v[g+92>>2]){break K}d=3;break a}a=v[b+324>>2];d=(a^-1)&4|e|(a&1?32:16);v[b+8>>2]=d;c=v[b+380>>2];if(c){d=d|2;v[b+8>>2]=d}if(v[g+132>>2]){v[b+8>>2]=d|64}d=v[b+372>>2];v[b+20>>2]=d;if(!d){v[b+20>>2]=v[b+368>>2]}v[b+28>>2]=0;v[b+32>>2]=0;v[b+24>>2]=v[b+376>>2];d=v[g+28>>2];e=v[g+32>>2];i=v[g+24>>2];f=v[g+20>>2];j=v[b+300>>2];u[b+68>>1]=j;l=v[b+320>>2];u[b+70>>1]=l;k=v[b+312>>2];u[b+72>>1]=k;v[b+52>>2]=f;v[b+56>>2]=i;v[b+60>>2]=d;v[b+64>>2]=e;d=(l<<16>>16)-(k<<16>>16)|0;e=(B(j&65535,12)>>>0)/10|0;u[b+74>>1]=(d|0)>e<<16>>16?d:e;if(c){a=Ua(v[v[b+104>>2]+28>>2],16,0,c,0,h+12|0);v[b+32>>2]=a;d=v[h+12>>2];if(d){break a}d=v[g+100>>2];if((c|0)!=1){e=c&-2;while(1){f=v[d+4>>2];u[a>>1]=f;i=v[d>>2];f=f<<6;v[a+12>>2]=f;v[a+4>>2]=f;u[a+2>>1]=i;v[a+8>>2]=i<<6;f=v[d+40>>2];u[a+16>>1]=f;i=v[d+36>>2];f=f<<6;v[a+28>>2]=f;v[a+20>>2]=f;u[a+18>>1]=i;v[a+24>>2]=i<<6;d=d+72|0;a=a+32|0;e=e-2|0;if(e){continue}break}}if(c&1){e=v[d+4>>2];u[a>>1]=e;d=v[d>>2];e=e<<6;v[a+12>>2]=e;v[a+4>>2]=e;u[a+2>>1]=d;v[a+8>>2]=d<<6}v[b+28>>2]=c;a=v[b+324>>2]}N:{if(!(a&4)){a=v[g+40>>2];break N}a=v[g+120>>2];if(!a){a=0;break N}c=a&3;d=v[g+128>>2];O:{if(a-1>>>0<3){a=0;break O}e=a&-4;a=0;while(1){i=v[d+52>>2];f=v[d+36>>2];g=v[d+20>>2];j=v[d+4>>2];a=(a|0)<(j|0)?j:a;a=(a|0)<(g|0)?g:a;a=(a|0)<(f|0)?f:a;a=(a|0)<(i|0)?i:a;d=d- -64|0;e=e-4|0;if(e){continue}break}}if(!c){break N}while(1){e=v[d+4>>2];a=(a|0)<(e|0)?e:a;d=d+16|0;c=c-1|0;if(c){continue}break}}u[b+76>>1]=a;u[b+78>>1]=x[b+74>>1];a=x[b+68>>1];u[b+82>>1]=(a>>>0)/30;u[b+80>>1]=0-((a>>>0)/10|0);v[h>>2]=b;v[h+4>>2]=1970170211;v[h+8>>2]=65539;d=yd(17472,0,h,0);if(!v[b+420>>2]){break a}v[b+8>>2]=v[b+8>>2]|64}Ca=h+16|0;return d|0}function pN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,C=0,D=0,F=0,G=0,H=0,I=0;f=Ca-6752|0;Ca=f;c=v[v[a+4>>2]>>2];Ra(f- -64|4,0,2748);v[f+16>>2]=0;v[f+20>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[f+56>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[f+64>>2]=c;v[f+8>>2]=f- -64;p=v[b+4>>2];k=v[p+88>>2];n=v[k+40>>2];l=v[p+84>>2];h=v[l+156>>2];G=v[h>>2];v[f+6720>>2]=0;b=f+6712|0;v[b>>2]=0;v[b+4>>2]=0;b=f+6704|0;v[b>>2]=0;v[b+4>>2]=0;v[f+6696>>2]=0;v[f+6700>>2]=0;g=v[n+12>>2];a:{b:{if(!g){c=e>>>16&15;break b}b=v[n+4>>2];c=e>>>16&15;if((b|0)==(c|0)){break a}}v[n+4>>2]=c;v[n+32>>2]=v[k+36>>2];b=v[k+32>>2];v[n+24>>2]=v[k+28>>2];v[n+28>>2]=b;b=v[k+24>>2];v[n+16>>2]=v[k+20>>2];v[n+20>>2]=b;b=v[k+16>>2];v[n+8>>2]=v[k+12>>2];v[n+12>>2]=b;g=v[n+12>>2];b=c}v[f+6708>>2]=0;v[f+6700>>2]=g;v[f+6696>>2]=p;c=v[n+16>>2];v[f+6720>>2]=0;v[f+6716>>2]=b;v[f+6712>>2]=0;v[f+6704>>2]=c;v[f>>2]=p;i=v[p+116>>2];v[f+4>>2]=i;c:{if(!i){g=yj(p,f|4,a);if(g){break c}i=v[f+4>>2];v[p+116>>2]=i;v[p+120>>2]=598}v[f+6728>>2]=0;g=6;if(y[i+4>>2]<=d>>>0){break c}n=d<<1;g=x[n+v[i+8>>2]>>1]&16383;c=((g<<2)+i|0)+24|0;b=v[c>>2];d:{if(b){break d}e:{while(1){s=v[v[i>>2]+100>>2];k=v[(g<<2)+293760>>2];q=v[(v[k+4>>2]<<2)+293472>>2];b=wb(s,v[q+4>>2],f+6728|0);g=v[f+6728>>2];if(g){break c}v[b+36>>2]=i;v[b>>2]=k;g=v[q+8>>2];if(!g){break e}g=Ea[g|0](b,v[i>>2])|0;v[f+6728>>2]=g;if(!g){break e}c=v[q+16>>2];if(c){Ea[c|0](b)}if(b){Ea[v[s+8>>2]](s,b)}g=v[f+6728>>2];if((g|0)==-1){b=x[n+v[i+8>>2]>>1];v[f+6728>>2]=0;g=b&16383;c=((g<<2)+i|0)+24|0;b=v[c>>2];if(!b){continue}break d}break}if(g){break c}b=0;break d}v[c>>2]=b}c=v[v[b>>2]+4>>2];v[f+12>>2]=b;s=v[(c<<2)+293472>>2];c=v[s+12>>2];f:{if(c){Ea[c|0](b,f+6696|0);break f}c=v[f+6700>>2];v[b+4>>2]=v[f+6696>>2];v[b+8>>2]=c;v[b+28>>2]=v[f+6720>>2];g=f+6712|0;c=v[g+4>>2];v[b+20>>2]=v[g>>2];v[b+24>>2]=c;g=f+6704|0;c=v[g+4>>2];v[b+12>>2]=v[g>>2];v[b+16>>2]=c}c=v[s+24>>2];if(c){g=Ea[c|0](f- -64|0,b)|0;if(g){break c}}g=fd(p,d,e&-10246|10241);if(g){break c}g:{if(v[f+6716>>2]!=1){break g}c=t[v[p+128>>2]+56|0];if(w[a+20|0]|(c|0)>-1?c:0){break g}q=v[v[p+88>>2]+40>>2];g=v[p+84>>2];i=v[f+4>>2];v[f+6688>>2]=0;v[f+6748>>2]=0;n=x[q+8>>1];k=x[p+68>>1];e=x[i+372>>1];a=v[74628];c=f+6736|0;v[c>>2]=v[74627];v[c+4>>2]=a;a=v[74626];v[f+6728>>2]=v[74625];v[f+6732>>2]=a;if(!k){break g}a=v[v[(v[v[b>>2]+4>>2]<<2)+293472>>2]+20>>2];if(!a){break g}Ea[a|0](b,f+6748|0,f+6688|0);a=v[f+6688>>2];h:{i:{j:{if((a|0)==v[i+376>>2]|(a|0)<1?(e|0)==(n|0):0){break j}c=Qa(Sv(v[v[f+4>>2]+396>>2],x[p+68>>1],x[v[p+88>>2]+12>>1],a),v[q+12>>2]);v[i+376>>2]=v[f+6688>>2];a=x[q+8>>1];v[i+384>>2]=c+32768>>16;u[i+372>>1]=a;if((e|0)==(n|0)){break j}e=v[f+6748>>2];break i}e=v[f+6748>>2];if((e|0)<1|v[i+380>>2]==(e|0)){break h}}e=Sv(v[v[f+4>>2]+396>>2],x[p+68>>1],x[v[p+88>>2]+12>>1],e);c=Qa(e,v[q+16>>2]);v[i+380>>2]=v[f+6748>>2];a=x[q+8>>1];v[i+388>>2]=c+32768>>16;u[i+372>>1]=a;a=k<<16;H=i,I=ab((a-e|0)-524288|0,a),v[H+392>>2]=I}a=g+108|0;Jr(a,v[i+384>>2],v[i+388>>2]);v[f+6740>>2]=v[i+392>>2];ee(a,f+6728|0)}a=w[h+8|0];t[f+16|0]=a;k:{if(!a){break k}q=v[h+24>>2];k=v[h+20>>2];v[f+28>>2]=k;v[f+32>>2]=q;n=v[h+16>>2];g=v[h+12>>2];v[f+20>>2]=g;v[f+24>>2]=n;e=v[h+28>>2];c=v[h+32>>2];a=f+6736|0;v[a>>2]=k;v[a+4>>2]=q;v[f+6728>>2]=g;v[f+6732>>2]=n;v[f+36>>2]=e;v[f+40>>2]=c;o=6;z=f+6728|0;l:{if(!z){break l}a=v[z>>2];p=(a|0)<0?-1:1;h=v[z+4>>2];i=(h|0)<0?-1:1;q=v[z+12>>2];c=q>>31;e=a;a=a>>31;D=e+a^a;A=c^c+q;m:{if(D+(A>>>8|0)>>>0<=8190){a=B(A,D)+32768>>>16|0;break m}a=D&65535;a=B(a,A>>>16|0)+B(D>>>16|0,A)+(B(a,A&65535)+32768>>>16)|0}e=0-p|0;g=(((q|0)<0?e:p)|0)<0?0-a|0:a;n=v[z+8>>2];a=n>>31;C=a^a+n;a=h>>31;h=a+h^a;n:{if((C>>>8|0)+h>>>0<=8190){a=B(h,C)+32768>>>16|0;break n}a=h&65535;a=B(a,C>>>16|0)+B(h>>>16|0,C)+(B(a,C&65535)+32768>>>16)|0}c=0-i|0;F=g+((((n|0)<0?c:i)|0)<0?a:0-a|0)|0;if(!F){break l}a=F>>31;j=a+F^a;k=j>>>17^65535;o:{if(k>>>0>=h>>>0){m=((h<<16)+(j>>>1|0)>>>0)/(j>>>0)|0;break o}m=2147483647;a=j>>>1|0;g=a+(h<<16)|0;a=(h>>>16|0)+(a>>>0>g>>>0)|0;if(a>>>0>=j>>>0){break o}h=E(a);o=32-h|0;a=g>>>o|a<<h;m=(a>>>0)/(j>>>0)|0;r=a-B(j,m)|0;g=g<<h;while(1){a=r<<1|g>>>31;r=a-(a>>>0<j>>>0?0:j)|0;m=m<<1|a>>>0>=j>>>0;g=g<<1;o=o-1|0;if(o){continue}break}}v[z+4>>2]=(((F|0)<0?c:i)|0)<0?m:0-m|0;h=(n|0)<0?-1:1;p:{if(k>>>0>=C>>>0){m=((C<<16)+(j>>>1|0)>>>0)/(j>>>0)|0;break p}m=2147483647;a=j>>>1|0;g=a+(C<<16)|0;a=(C>>>16|0)+(a>>>0>g>>>0)|0;if(a>>>0>=j>>>0){break p}c=E(a);o=32-c|0;a=g>>>o|a<<c;m=(a>>>0)/(j>>>0)|0;r=a-B(j,m)|0;g=g<<c;while(1){a=r<<1|g>>>31;r=a-(a>>>0<j>>>0?0:j)|0;m=m<<1|a>>>0>=j>>>0;g=g<<1;o=o-1|0;if(o){continue}break}}v[z+8>>2]=(((F|0)<0?0-h|0:h)|0)<0?m:0-m|0;h=(q|0)<0?-1:1;q:{if(k>>>0>=A>>>0){m=((A<<16)+(j>>>1|0)>>>0)/(j>>>0)|0;break q}m=2147483647;a=j>>>1|0;g=a+(A<<16)|0;a=(A>>>16|0)+(a>>>0>g>>>0)|0;if(a>>>0>=j>>>0){break q}c=E(a);o=32-c|0;a=g>>>o|a<<c;m=(a>>>0)/(j>>>0)|0;r=a-B(j,m)|0;g=g<<c;while(1){a=r<<1|g>>>31;r=a-(a>>>0<j>>>0?0:j)|0;m=m<<1|a>>>0>=j>>>0;g=g<<1;o=o-1|0;if(o){continue}break}}v[z>>2]=(((F|0)<0?0-h|0:h)|0)<0?0-m|0:m;r:{if(k>>>0>=D>>>0){m=((D<<16)+(j>>>1|0)>>>0)/(j>>>0)|0;break r}m=2147483647;a=j>>>1|0;h=a+(D<<16)|0;a=(D>>>16|0)+(a>>>0>h>>>0)|0;if(a>>>0>=j>>>0){break r}c=E(a);o=32-c|0;a=h>>>o|a<<c;m=(a>>>0)/(j>>>0)|0;r=a-B(j,m)|0;g=h<<c;while(1){a=r<<1|g>>>31;r=a-(a>>>0<j>>>0?0:j)|0;m=m<<1|a>>>0>=j>>>0;g=g<<1;o=o-1|0;if(o){continue}break}}o=0;v[z+12>>2]=(((F|0)<0?e:p)|0)<0?0-m|0:m}if(o){break k}Ri(f+36|0,f+6728|0)}c=7;s:{if(v[l+72>>2]!=1869968492){break s}if(w[f+16|0]){ic(l+108|0,v[f+36>>2],v[f+40>>2])}v[f+48>>2]=v[f+80>>2];v[f+44>>2]=v[f+72>>2];a=Qa(v[l+40>>2],v[f+68>>2]);v[f+56>>2]=v[f+80>>2];v[f+52>>2]=a+v[f+72>>2];c=0;if(!x[l+110>>1]){break s}a=v[s+28>>2];if(a){g=Ea[a|0](d,f- -64|0,G+20|0,b)|0;if(g){break c}}e=l;t:{if(v[f+6716>>2]!=1){a=v[f+120>>2];if(!(w[f+2804|0]&4|(a|0)<2)){g=v[f+128>>2];a=g+B(a,44)|0;s=v[a-36>>2];h=v[a-40>>2];k=v[g+8>>2];q=v[g+4>>2];a=k-q|0;g=(q|0)<24?a-8|0:a;i=g+32&-64;v[f+44>>2]=i;n=v[f+52>>2]-h|0;a=n+s|0;h=(n|0)<24?a+8|0:a;a=h+32&-64;v[f+52>>2]=a;if(!((i|0)<(k|0)|(q|0)<1)){i=i+-64|0;v[f+44>>2]=i}if(!((n|0)<1|(a|0)>(s|0))){a=a- -64|0;v[f+52>>2]=a}v[l+144>>2]=i-g;a=a-h|0;break t}k=v[f+52>>2];g=k+32&-64;v[f+52>>2]=g;h=v[f+44>>2];a=h+32&-64;v[f+44>>2]=a;v[l+144>>2]=a-h;a=g-k|0;break t}k=v[f+52>>2];g=k+32&-64;v[f+52>>2]=g;h=v[f+44>>2];a=h+32&-64;v[f+44>>2]=a;v[l+144>>2]=a-h;a=g-k|0}v[e+148>>2]=a}e=v[l+44>>2]-v[l+32>>2]|0;v[f+6688>>2]=e;a=v[l+48>>2]-v[l+36>>2]|0;v[f+6692>>2]=a;H=f,I=Qa(e,v[b+8>>2]),v[H+6688>>2]=I;H=f,I=Qa(a,v[b+12>>2]),v[H+6692>>2]=I;if(w[f+16|0]){a=f+20|0;ee(G+20|0,a);Ri(f+6688|0,a)}a=v[f+44>>2];if(a){ic(G+20|0,0-a|0,0)}pf(G+20|0,f+6728|0);g=v[f+6728>>2]&-64;v[f+6728>>2]=g;h=v[f+6740>>2]+63&-64;v[f+6740>>2]=h;e=v[f+6736>>2]+63&-64;v[f+6736>>2]=e;a=v[f+6732>>2]&-64;v[f+6732>>2]=a;v[l+36>>2]=h;v[l+32>>2]=g;v[l+28>>2]=h-a;v[l+24>>2]=e-g;v[l+44>>2]=g+v[f+6688>>2]&-64;v[l+48>>2]=h+v[f+6692>>2]&-64;u:{v:{if(v[f+6716>>2]==1){break v}if(!(w[v[l+4>>2]+8|0]&4)){a=v[f+4>>2];if(!w[b+32|0]|(y[a+4>>2]<=d>>>0|u[v[a+8>>2]+(d<<1)>>1]>-1)){break v}}a=Qa(v[l+40>>2],v[b+8>>2]);v[l+144>>2]=0;v[l+148>>2]=0;v[l+40>>2]=a;break u}if(!v[l+40>>2]){break u}v[l+40>>2]=v[f+52>>2]-v[f+44>>2]}a=Qa(v[l+52>>2],v[b+12>>2]);v[l+72>>2]=1869968492;v[l+52>>2]=a+32&-64;v[l+40>>2]=v[l+40>>2]+32&-64;g=c}v[f+8>>2]=0;v[f>>2]=0;v[f+4>>2]=0;gn(f- -64|0);Ca=f+6752|0;return g|0}function vk(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,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0;m=Ca-16|0;Ca=m;q=v[a+736>>2];l=v[a+104>>2];n=v[l+28>>2];v[m+4>>2]=0;s=6;a:{if(!w[a+733|0]|!q){break a}b:{if(!e){break b}h=v[c+4>>2];s=0;if((e|0)!=1){f=e&-2;while(1){j=s<<3;k=j+d|0;i=h+j|0;v[k>>2]=v[i>>2]<<6;v[k+4>>2]=v[i+4>>2]<<6;j=j|8;k=j+d|0;j=h+j|0;v[k>>2]=v[j>>2]<<6;v[k+4>>2]=v[j+4>>2]<<6;s=s+2|0;f=f-2|0;if(f){continue}break}}if(!(e&1)){break b}f=s<<3;j=f+d|0;f=f+h|0;v[j>>2]=v[f>>2]<<6;v[j+4>>2]=v[f+4>>2]<<6}s=0;if(y[q+68>>2]<=b>>>0){break a}f=v[q+72>>2];h=b+1|0;if(v[f+(b<<2)>>2]==v[f+(h<<2)>>2]){break a}r=Ua(n,8,0,e,0,m+12|0);c:{if(v[m+12>>2]){break c}p=Ua(n,8,0,e,0,m+12|0);if(v[m+12>>2]){break c}s=Ua(n,1,0,e,0,m+12|0);if(v[m+12>>2]){break c}f=v[q+72>>2];h=v[f+(h<<2)>>2];b=v[f+(b<<2)>>2];f=Ya(l,b);v[m+12>>2]=f;if(f){break c}f=h-b|0;b=vb(l,f);v[m+12>>2]=b;if(b){break c}j=v[l>>2];k=v[l+32>>2];I=Ua(n,4,0,v[q>>2],0,m+12|0);b=0;d:{e:{if(v[m+12>>2]){break e}R=Ua(n,4,0,v[q>>2],0,m+12|0);if(v[m+12>>2]){break e}S=Ua(n,4,0,v[q>>2],0,m+12|0);if(v[m+12>>2]){break e}h=Cb(l);f:{i=Cb(l);if(i>>>0<=f>>>0){V=h&4095;if(f>>>0>=V<<2>>>0){break f}}v[m+12>>2]=8;break e}F=i+(k-j|0)|0;if(h&32768){j=v[l+32>>2];f=v[l>>2];b=v[l+36>>2];v[l+32>>2]=b-f>>>0>F>>>0?f+F|0:b;b=ki(l,v[q+76>>2],m+4|0);k=v[l+32>>2];h=v[l>>2];f=j-f|0;j=v[l+36>>2];v[l+32>>2]=f>>>0<j-h>>>0?h+f|0:j;F=k-h|0}J=Ua(n,4,0,e,0,m+12|0);g:{if(v[m+12>>2]){break g}K=Ua(n,4,0,e,0,m+12|0);if(v[m+12>>2]){break g}h:{if(!e){break h}h=v[c+4>>2];if((e|0)!=1){f=e&-2;while(1){j=g<<3;k=j+r|0;i=h+j|0;v[k>>2]=v[i>>2]<<16;v[k+4>>2]=v[i+4>>2]<<16;j=j|8;k=j+r|0;j=h+j|0;v[k>>2]=v[j>>2]<<16;v[k+4>>2]=v[j+4>>2]<<16;g=g+2|0;f=f-2|0;if(f){continue}break}}if(!(e&1)){break h}f=g<<3;g=f+r|0;f=f+h|0;v[g>>2]=v[f>>2]<<16;v[g+4>>2]=v[f+4>>2]<<16}if(V){_=e-2|0;$=e-3|0;T=e-4|0;aa=v[m+4>>2];ea=e&-4;fa=e&3;W=e-1|0;ga=W>>>0<3;i=0;while(1){ha=Cb(l);i:{j:{k:{l:{m:{f=Cb(l);n:{if(f&32768){g=0;if(!v[q>>2]){break n}while(1){la=(g<<2)+I|0,ma=Cb(l)<<16>>16<<2,v[la>>2]=ma;g=g+1|0;if(g>>>0<y[q>>2]){continue}break}break n}h=f&4095;if(h>>>0>=y[q+60>>2]){break m}g=h;h=v[q>>2];Ta(I,v[q+64>>2]+(B(g,h)<<2)|0,h<<2)}o:{if(!(f&16384)){break o}g=0;if(!v[q>>2]){break o}while(1){la=(g<<2)+R|0,ma=Cb(l)<<16>>16<<2,v[la>>2]=ma;g=g+1|0;h=v[q>>2];if(g>>>0<h>>>0){continue}break}g=0;if(!h){break o}while(1){la=(g<<2)+S|0,ma=Cb(l)<<16>>16<<2,v[la>>2]=ma;g=g+1|0;if(g>>>0<y[q>>2]){continue}break}}k=lr(q,f,I,R,S);if(!k){break i}ia=v[l+32>>2];X=v[l>>2];h=v[l+36>>2];v[l+32>>2]=h-X>>>0>F>>>0?X+F|0:h;p:{if(f&8192){L=ki(l,v[q+76>>2],m+8|0);h=v[m+8>>2];f=L;break p}v[m+8>>2]=aa;h=aa;L=i;f=b}g=h?h:e;M=yk(l,v[q+76>>2],g);j=f;N=yk(l,v[q+76>>2],g);if(!M|(!f|!N)){break j}q:{if((j|0)!=-1){if(!e){break k}g=0;f=ea;if(!ga){break q}break l}g=0;if(!e){break j}while(1){f=g<<2;h=f+K|0;j=v[h>>2];i=f+J|0;o=v[i>>2];A=Qa(v[f+M>>2],k);f=Qa(v[f+N>>2],k);r:{if(g>>>0<T>>>0){v[i>>2]=o+A;v[h>>2]=f+j;break r}if(!(w[a+740|0]&4|(g|0)!=(T|0))){v[i>>2]=o+A;break r}if(!(w[a+740|0]&2|(g|0)!=($|0))){v[i>>2]=o+A;break r}if(!(w[a+740|0]&32|(g|0)!=(_|0))){v[h>>2]=f+j;break r}if(w[a+740|0]&16|(g|0)!=(W|0)){break r}v[h>>2]=f+j}g=g+1|0;if((g|0)!=(e|0)){continue}break}break j}while(1){t[g+s|0]=0;i=g<<3;o=i+p|0;i=i+r|0;A=v[i+4>>2];v[o>>2]=v[i>>2];v[o+4>>2]=A;i=g|1;t[i+s|0]=0;i=i<<3;o=i+p|0;i=i+r|0;A=v[i+4>>2];v[o>>2]=v[i>>2];v[o+4>>2]=A;i=g|2;t[i+s|0]=0;i=i<<3;o=i+p|0;i=i+r|0;A=v[i+4>>2];v[o>>2]=v[i>>2];v[o+4>>2]=A;i=g|3;t[i+s|0]=0;i=i<<3;o=i+p|0;i=i+r|0;A=v[i+4>>2];v[o>>2]=v[i>>2];v[o+4>>2]=A;g=g+4|0;f=f-4|0;if(f){continue}break}break l}v[m+12>>2]=8;break g}f=fa;if(!f){break k}while(1){t[g+s|0]=0;i=g<<3;o=i+p|0;i=i+r|0;A=v[i+4>>2];v[o>>2]=v[i>>2];v[o+4>>2]=A;g=g+1|0;f=f-1|0;if(f){continue}break}}g=0;if(h){while(1){f=x[j+(g<<1)>>1];if(f>>>0<e>>>0){t[f+s|0]=1;f=(f<<3)+p|0;i=g<<2;la=f,ma=Qa(v[i+M>>2],k)+v[f>>2]|0,v[la>>2]=ma;la=f,ma=Qa(v[i+N>>2],k)+v[f+4>>2]|0,v[la+4>>2]=ma}g=g+1|0;if((h|0)!=(g|0)){continue}break}}h=0;U=0;if(x[c>>1]){Y=p+4|0;O=r+4|0;while(1){D=u[v[c+12>>2]+(U<<1)>>1];s:{if((D|0)<(h|0)){break s}o=D+1|0;i=h;while(1){t:{f=i+1|0;if(w[i+s|0]){g=i;j=g;u:{v:{if((g|0)<(D|0)){while(1){A=g;g=f;k=j;w:{if(!w[s+f|0]){break w}f=j;k=g;if((f|0)>=(A|0)){break w}j=f+1|0;z=v[r+(f<<3)>>2]>v[r+(g<<3)>>2];P=z?f:g;Q=P<<3;k=v[Q+p>>2];H=z?g:f;Z=H<<3;E=v[Z+p>>2];C=v[r+Q>>2];z=v[r+Z>>2];if(!((k|0)!=(E|0)?(C|0)==(z|0):0)){ba=0;if((z|0)!=(C|0)){ba=ab(k-E|0,C-z|0)}ja=k-C|0;ka=E-z|0;f=j;while(1){k=f;ca=f<<3;f=v[r+ca>>2];x:{if((f|0)<=(z|0)){G=f+ka|0;break x}G=f+ja|0;if((f|0)>=(C|0)){break x}G=Qa(f-z|0,ba)+E|0}v[p+ca>>2]=G;f=k+1|0;if((k|0)!=(A|0)){continue}break}}k=v[O+Z>>2]>v[O+Q>>2];z=(k?H:P)<<3;f=v[z+Y>>2];k=(k?P:H)<<3;E=v[k+Y>>2];C=v[z+O>>2];z=v[k+O>>2];if((C|0)==(z|0)){k=g;if((f|0)!=(E|0)){break w}}G=0;if((z|0)!=(C|0)){G=ab(f-E|0,C-z|0)}P=f-C|0;Q=E-z|0;while(1){f=j;H=f<<3;j=v[H+O>>2];y:{if((j|0)<=(z|0)){k=j+Q|0;break y}k=j+P|0;if((j|0)>=(C|0)){break y}k=Qa(j-z|0,G)+E|0}v[H+Y>>2]=k;j=f+1|0;if((f|0)!=(A|0)){continue}break}k=g}j=k;f=g+1|0;if((g|0)!=(D|0)){continue}break}if((i|0)!=(j|0)){break v}f=o}g=i<<3;k=g+p|0;g=g+r|0;j=v[k>>2]-v[g>>2]|0;k=v[k+4>>2]-v[g+4>>2]|0;if(!(j|k)){h=f;break s}if((h|0)>=(i|0)){break u}g=h+1|0;if(i-h&1){h=(h<<3)+p|0;v[h>>2]=j+v[h>>2];v[h+4>>2]=k+v[h+4>>2];h=g}if((g|0)==(i|0)){break u}while(1){g=(h<<3)+p|0;v[g>>2]=j+v[g>>2];v[g+4>>2]=k+v[g+4>>2];v[g+12>>2]=k+v[g+12>>2];v[g+8>>2]=j+v[g+8>>2];h=h+2|0;if((i|0)!=(h|0)){continue}break}break u}dr(j+1|0,D,j,i,r,p);if((i|0)<1){break t}dr(h,i-1|0,j,i,r,p);break t}if((i|0)>=(D|0)){h=f;break s}g=i^-1;if(D-i&1){i=i+1|0;h=(i<<3)+p|0;v[h>>2]=j+v[h>>2];v[h+4>>2]=k+v[h+4>>2]}if((g|0)==(0-D|0)){h=f;break s}while(1){h=(i<<3)+p|0;v[h+8>>2]=j+v[h+8>>2];v[h+12>>2]=k+v[h+12>>2];i=i+2|0;h=(i<<3)+p|0;v[h>>2]=j+v[h>>2];v[h+4>>2]=k+v[h+4>>2];if((i|0)!=(D|0)){continue}break}h=f;break s}g=(i|0)==(D|0);i=f;if(!g){continue}}break}h=o}U=U+1|0;if((U|0)<u[c>>1]){continue}break}}g=0;if(!e){break j}while(1){f=g<<3;h=f+p|0;j=f+r|0;f=v[h+4>>2]-v[j+4>>2]|0;h=v[h>>2]-v[j>>2]|0;i=g<<2;j=i+K|0;k=v[j>>2];i=i+J|0;o=v[i>>2];z:{if(g>>>0<T>>>0){v[i>>2]=h+o;v[j>>2]=f+k;break z}if(!(w[a+740|0]&4|(g|0)!=(T|0))){v[i>>2]=h+o;break z}if(!(w[a+740|0]&2|(g|0)!=($|0))){v[i>>2]=h+o;break z}if(!(w[a+740|0]&32|(g|0)!=(_|0))){v[j>>2]=f+k;break z}if(w[a+740|0]&16|(g|0)!=(W|0)){break z}v[j>>2]=f+k}g=g+1|0;if((g|0)!=(e|0)){continue}break}}i=-1;if((L|0)!=-1){if(L){Ea[v[n+8>>2]](n,L)}i=0}f=n;if(M){Ea[v[f+8>>2]](f,M)}if(N){Ea[v[n+8>>2]](n,N)}f=ia-X|0;h=v[l>>2];g=v[l+36>>2];v[l+32>>2]=f>>>0<g-h>>>0?f+h|0:g}F=F+ha|0;da=da+1|0;if((da|0)!=(V|0)){continue}break}}if(!e){break g}c=v[c+4>>2];g=0;while(1){f=g<<3;a=f+d|0;h=g<<2;j=h+J|0;v[a>>2]=v[a>>2]+(v[j>>2]+512>>10);h=h+K|0;v[a+4>>2]=v[a+4>>2]+(v[h>>2]+512>>10);a=c+f|0;v[a>>2]=v[a>>2]+(v[j>>2]+32768>>16);v[a+4>>2]=v[a+4>>2]+(v[h>>2]+32768>>16);g=g+1|0;if((g|0)!=(e|0)){continue}break}}a=n;if(J){Ea[v[a+8>>2]](a,J)}if(K){Ea[v[n+8>>2]](n,K)}if((b|0)==-1){break d}}if(b){Ea[v[n+8>>2]](n,b)}}a=n;if(I){Ea[v[a+8>>2]](a,I)}if(R){Ea[v[a+8>>2]](a,R)}if(S){Ea[v[n+8>>2]](n,S)}pb(l)}if(r){Ea[v[n+8>>2]](n,r)}if(p){Ea[v[n+8>>2]](n,p)}if(s){Ea[v[n+8>>2]](n,s)}s=v[m+12>>2]}Ca=m+16|0;return s}function Hq(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,z=0,A=0,C=0;j=Ca-48|0;Ca=j;d=Ya(b,c+d|0);a:{if(d){break a}d=vb(b,e);if(d){break a}f=v[b+32>>2];l=f+e|0;if(!(!e|t[f|0]>-1)){n=v[a+16>>2];m=v[a+28>>2];v[j>>2]=0;d=8;b:{if((e|0)<1){break b}i=w[f|0];if(!(i&128)){break b}g=f+1|0;h=v[m>>2];c:{if(!(i&64)){e=g;break c}if((e|0)<2){break b}e=f+2|0;f=w[g|0];if(f){while(1){g=e+2|0;if(g>>>0>l>>>0){break b}e=g+w[e|0]|0;if(l>>>0<e>>>0){break b}f=f-1|0;if(f){continue}break}}v[j>>2]=0}o=i&63;g=o+n|0;f=v[a+20>>2];d:{if(g>>>0<=f>>>0){f=v[a+24>>2];break d}g=g+3&-4;if(g>>>0>64){break b}f=Ua(h,24,f,g,v[a+24>>2],j);v[a+24>>2]=f;d=v[j>>2];if(d){break b}v[a+20>>2]=g}if(!o){d=0;break b}f=B(n,24)+f|0;while(1){h=e+1|0;if(l>>>0<h>>>0){d=8;break b}i=w[e|0];v[f>>2]=65536;if(i&16){h=e+3|0;if(l>>>0<h>>>0){d=8;break b}d=w[e+1|0]|w[e+2|0]<<8;v[f>>2]=(d<<8|d>>>8)<<16>>16<<4}v[f+4>>2]=65536;e:{if(!(i&32)){d=h;break e}d=h+2|0;if(l>>>0<d>>>0){d=8;break b}e=w[h|0]|w[h+1|0]<<8;v[f+4>>2]=(e<<8|e>>>8)<<16>>16<<4}h=0;e=0;f:{g:{switch((i&3)-1|0){case 0:g=d+2|0;if(g>>>0>l>>>0){d=8;break b}d=w[d|0]|w[d+1|0]<<8;e=(d<<8|d>>>8)<<16>>16;d=g;break f;case 1:break g;default:break f}}g=d+1|0;if(g>>>0>l>>>0){d=8;break b}e=t[d|0];d=g}h:{i:{switch((i>>>2&3)-1|0){case 0:g=d+2|0;if(g>>>0>l>>>0){d=8;break b}d=w[d|0]|w[d+1|0]<<8;h=(d<<8|d>>>8)<<16>>16;d=g;break h;case 1:break i;default:break h}}g=d+1|0;if(g>>>0>l>>>0){d=8;break b}h=t[d|0];d=g}v[f+12>>2]=h;v[f+8>>2]=e;e=f;j:{if(i&64){h=d+2|0;if(l>>>0<h>>>0){d=8;break b}d=w[d+1|0]|w[d|0]<<8;break j}h=d+1|0;if(l>>>0<h>>>0){d=8;break b}d=w[d|0]}v[e+20>>2]=d;k:{if(i&128){e=h+3|0;if(l>>>0<e>>>0){d=8;break b}i=h+2|0;d=w[h+1|0]<<8|w[h|0]<<16;break k}e=h+2|0;if(l>>>0<e>>>0){d=8;break b}i=h+1|0;d=w[h|0]<<8}v[f+16>>2]=d|w[i|0];v[a+16>>2]=v[a+16>>2]+1;f=f+24|0;d=0;k=k+1|0;if((o|0)!=(k|0)){continue}break}}pb(b);if(d){break a}l=v[a+16>>2]-n|0;if(!l){d=0;break a}k=0;while(1){i=u[m+22>>1];f=B(k,24);e=B(n,24);d=f+(e+v[a+24>>2]|0)|0;d=Hq(a,b,c,v[d+16>>2],v[d+20>>2]);if(d){break a}o=u[m+22>>1];g=o-i|0;e=f+(e+v[a+24>>2]|0)|0;f=v[e>>2];l:{if(!(v[e+4>>2]==65536?(f|0)==65536:0)){if((g|0)<1){break l}d=v[m+24>>2]+(i<<3)|0;h=1;while(1){A=d,C=Qa(v[d>>2],f)+v[e+8>>2]|0,v[A>>2]=C;A=d,C=Qa(v[d+4>>2],v[e+4>>2])+v[e+12>>2]|0,v[A+4>>2]=C;if((g|0)==(h|0)){break l}h=h+1|0;d=d+8|0;f=v[e>>2];continue}}if((g|0)<1){break l}f=g&3;d=v[m+24>>2]+(i<<3)|0;h=v[e+12>>2];e=v[e+8>>2];if(o+(i^-1)>>>0>=3){i=g&-4;while(1){v[d>>2]=e+v[d>>2];v[d+4>>2]=h+v[d+4>>2];v[d+8>>2]=e+v[d+8>>2];v[d+16>>2]=e+v[d+16>>2];v[d+24>>2]=e+v[d+24>>2];v[d+12>>2]=h+v[d+12>>2];v[d+20>>2]=h+v[d+20>>2];v[d+28>>2]=h+v[d+28>>2];d=d+32|0;i=i-4|0;if(i){continue}break}}if(!f){break l}while(1){v[d>>2]=e+v[d>>2];v[d+4>>2]=h+v[d+4>>2];d=d+8|0;f=f-1|0;if(f){continue}break}}k=k+1|0;if((l|0)!=(k|0)){continue}break}d=0;break a}v[j+44>>2]=0;d=8;m:{if((e|0)<1){break m}g=w[f|0];if(g&128){break m}m=v[v[a+28>>2]>>2];n:{if(g&4){if((e|0)<2){break m}c=f+2|0;d=w[f+1|0];o=d>>>4|0;n=d&15;break n}if(g&2){if((e|0)<2){break m}n=w[f+1|0];e=f+2|0}else{e=f+1|0}if(!(g&1)){c=e;break n}c=e+1|0;if(l>>>0<c>>>0){break m}o=w[e|0]}o:{h=n+o|0;d=v[a+4>>2];p:{q:{if(h>>>0>d>>>0){e=h+7&1016;k=Ua(m,4,d,e,v[a+8>>2],j+44|0);v[a+8>>2]=k;d=v[j+44>>2];if(d){break m}q=a+8|0;v[a+4>>2]=e;v[a+12>>2]=(n<<2)+k;r=a+12|0;break q}k=v[a+8>>2];v[a+12>>2]=k+(n<<2);r=a+12|0;q=a+8|0;if(!h){break p}}e=0;d=0;while(1){r:{if(d&7){f=c;break r}f=c+1|0;if(l>>>0<f>>>0){break o}e=w[c|0]}m=(d<<2)+k|0;s:{if(e&1){c=f+2|0;if(l>>>0<c>>>0){break o}f=w[f|0]|w[f+1|0]<<8;i=(f<<8|f>>>8)<<16>>16;break s}c=f+1|0;if(l>>>0<c>>>0){break o}i=w[f|0]+i|0}v[m>>2]=i;e=e>>>1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}d=8;t:{if(!(g&8)){e=c;break t}e=c+1|0;if(l>>>0<e>>>0){break m}f=w[c|0];if(f){while(1){c=e+2|0;if(c>>>0>l>>>0){break m}e=c+w[e|0]|0;if(l>>>0<e>>>0){break m}f=f-1|0;if(f){continue}break}}v[j+44>>2]=0}t[a+32|0]=0;v[j+24>>2]=0;v[j+28>>2]=0;v[j>>2]=0;v[j+4>>2]=0;s=j+16|0;z=j|8;i=0;c=0;while(1){g=e+1|0;if(g>>>0>l>>>0){break o}d=w[e|0];f=d&15;k=1;u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{p=d>>>4|0;switch(p|0){case 0:break x;case 1:case 4:case 5:break y;case 7:break A;case 6:break B;case 3:break D;case 2:break E;default:break z}}if(f>>>0>=n>>>0){break o}v[j>>2]=v[v[q>>2]+(f<<2)>>2];break C}if(f>>>0>=o>>>0){break o}v[j>>2]=c;i=v[v[r>>2]+(f<<2)>>2]}v[j+4>>2]=i;d=v[j+4>>2];c=v[j>>2];v[j+24>>2]=c;v[j+28>>2]=d;i=d;e=g;break w}f=2958;k=3;break y}f=3627;k=3;break y}k=4}h=0;d=j;e=g;while(1){F:{G:{switch(f&3){case 0:g=e+1|0;if(g>>>0>l>>>0){break o}c=w[e|0];if(c>>>0>=n>>>0){break o}c=v[v[q>>2]+(c<<2)>>2];e=g;break F;case 1:g=e+2|0;if(g>>>0>l>>>0){break o}c=w[e|0]|w[e+1|0]<<8;c=(c<<8|c>>>8)<<16>>16;e=g;break F;case 2:break G;default:break F}}g=e+1|0;if(g>>>0>l>>>0){break o}c=t[e|0]+c|0;e=g}v[d>>2]=c;H:{I:{switch(f>>>2&3){case 0:c=e+1|0;if(c>>>0>l>>>0){break o}e=w[e|0];if(e>>>0>=o>>>0){break o}i=v[v[r>>2]+(e<<2)>>2];e=c;break H;case 1:c=e+2|0;if(c>>>0>l>>>0){break o}e=w[e|0]|w[e+1|0]<<8;i=(e<<8|e>>>8)<<16>>16;e=c;break H;case 2:break I;default:break H}}c=e+1|0;if(c>>>0>l>>>0){break o}i=t[e|0]+i|0;e=c}v[d+4>>2]=i;J:{if(!((k|0)!=4|h)){c=e+1|0;if(c>>>0>l>>>0){break o}f=w[e|0];k=3;e=c;break J}f=f>>>4|0}c=v[d+4>>2];g=v[d>>2];v[j+24>>2]=g;v[j+28>>2]=c;d=d+8|0;m=c;i=c;c=g;h=h+1|0;if(k>>>0>h>>>0){continue}break}i=m;K:{switch(p|0){case 4:case 5:f=v[a+28>>2];L:{if(!w[a+32|0]){break L}h=u[f+58>>1];d=h-1|0;k=d;g=x[f+56>>1];m=g<<16>>16;if((m|0)<1){g=0}else{g=u[(v[f+68>>2]+(g<<1)|0)-2>>1]}M:{if((k|0)<=(g|0)){break M}k=v[f+60>>2];p=k+(g<<3)|0;k=k+(d<<3)|0;if(v[p>>2]!=v[k>>2]|v[p+4>>2]!=v[k+4>>2]){break M}u[f+58>>1]=h-1;d=h-2|0}if((d|0)<(g|0)){break L}u[f+56>>1]=m+1;u[v[f+68>>2]+(m<<1)>>1]=d}t[a+32|0]=1;d=u[f+58>>1];h=(d+u[f+22>>1]|0)+1|0;k=v[f+4>>2];if(!(y[f+8>>2]>=(u[f+20>>1]+u[f+56>>1]|0)+1>>>0?h>>>0<=k>>>0:0)){d=mc(f,1,1);if(d){break u}if(!w[a+32|0]){d=8;break u}f=v[a+28>>2];d=u[f+58>>1];h=(d+u[f+22>>1]|0)+1|0;k=v[f+4>>2]}if(h>>>0>k>>>0){d=mc(f,1,0);if(d){break u}d=u[f+58>>1]}h=v[j+4>>2];g=v[f+60>>2]+(d<<3)|0;v[g>>2]=v[j>>2];v[g+4>>2]=h;t[v[f- -64>>2]+d|0]=1;u[f+58>>1]=x[f+58>>1]+1;break v;case 1:case 2:case 3:break w;case 0:break x;default:break K}}d=8;if(w[a+32|0]){g=v[a+28>>2];d=u[g+58>>1];N:{if(y[g+4>>2]<(u[g+22>>1]+d|0)+3>>>0){d=mc(g,3,0);if(d){break N}d=u[g+58>>1]}h=v[g- -64>>2];m=v[j+4>>2];f=v[g+60>>2]+(d<<3)|0;v[f>>2]=v[j>>2];v[f+4>>2]=m;m=v[z+4>>2];v[f+8>>2]=v[z>>2];v[f+12>>2]=m;m=v[s+4>>2];v[f+16>>2]=v[s>>2];v[f+20>>2]=m;d=d+h|0;t[d+2|0]=1;t[d|0]=2;t[d+1|0]=2;u[g+58>>1]=x[g+58>>1]+3;d=0}}break u}if(w[a+32|0]){e=v[a+28>>2];g=u[e+58>>1];d=g-1|0;i=d;c=x[e+56>>1];f=c<<16>>16;if((f|0)<1){c=0}else{c=u[(v[e+68>>2]+(c<<1)|0)-2>>1]}O:{if((i|0)<=(c|0)){break O}i=v[e+60>>2];h=i+(c<<3)|0;i=i+(d<<3)|0;if(v[h>>2]!=v[i>>2]|v[h+4>>2]!=v[i+4>>2]){break O}u[e+58>>1]=g-1;d=g-2|0}if((c|0)<=(d|0)){u[e+56>>1]=f+1;u[v[e+68>>2]+(f<<1)>>1]=d}t[a+32|0]=0}lh(v[a+28>>2]);d=v[j+44>>2];break m}if(!w[a+32|0]){d=8;break u}g=v[a+28>>2];d=u[g+58>>1];if((d+u[g+22>>1]|0)+1>>>0>y[g+4>>2]){d=mc(g,1,0);if(d){break u}d=u[g+58>>1]}h=v[j+4>>2];f=v[g+60>>2]+(d<<3)|0;v[f>>2]=v[j>>2];v[f+4>>2]=h;t[v[g- -64>>2]+d|0]=1;u[g+58>>1]=x[g+58>>1]+1}d=0}v[j+44>>2]=d;if(!d){continue}break}break m}d=8}pb(b)}Ca=j+48|0;return d}function jz(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,x=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0;j=Ca-16|0;Ca=j;g=v[a+872>>2];a:{if(!g|!v[g+20>>2]){break a}e=v[g+36>>2];if(!e){break a}b:{if(w[b+4|0]){v[c>>2]=12;b=v[b>>2];t[c+8|0]=0;v[c+4>>2]=b;b=v[a+88>>2];g=v[b+16>>2];v[j+4>>2]=0;v[j+8>>2]=0;e=g+32>>6;v[j>>2]=e;b=v[b+20>>2]+32>>6;v[j+12>>2]=b;g=c;f=v[a+128>>2];if(t[f+24|0]&1){if(!(!f|!j)){e=v[j>>2];b=e>>31;i=v[f>>2];h=i>>31;d=b^b+e;p=d>>>8|0;b=h^h+i;c:{if(p+b>>>0<=8190){k=B(b,d)+32768>>>16|0;break c}h=b&65535;k=B(h,d>>>16|0)+B(d,b>>>16|0)+(B(h,d&65535)+32768>>>16)|0}h=k;n=v[f+4>>2];l=(n|0)<0;m=v[f+8>>2];s=(m|0)<0?-1:1;z=0-s|0;F=(((e|0)<0?z:s)|0)<0;o=v[f+12>>2];x=(o|0)<0?-1:1;f=0-h|0;h=(i|0)<0?-1:1;q=0-h|0;G=(((e|0)<0?q:h)|0)<0?f:k;r=v[j+8>>2];e=r>>31;e=e^e+r;A=e>>>8|0;f=n>>31;i=f+n^f;d:{if(A+i>>>0<=8190){f=B(e,i)+32768>>>16|0;break d}f=i&65535;f=B(f,e>>>16|0)+B(e,i>>>16|0)+(B(f,e&65535)+32768>>>16)|0}k=l?-1:1;C=0-k|0;H=(((r|0)<0?C:k)|0)<0?0-f|0:f;n=v[j+4>>2];f=n>>31;f=f^f+n;D=f>>>8|0;e:{if(b+D>>>0<=8190){b=B(b,f)+32768>>>16|0;break e}l=b&65535;b=B(l,f>>>16|0)+B(f,b>>>16|0)+(B(l,f&65535)+32768>>>16)|0}q=(((n|0)<0?q:h)|0)<0?0-b|0:b;l=v[j+12>>2];b=l>>31;h=b^b+l;E=h>>>8|0;f:{if(E+i>>>0<=8190){b=B(h,i)+32768>>>16|0;break f}b=i&65535;b=B(b,h>>>16|0)+B(h,i>>>16|0)+(B(h&65535,b)+32768>>>16)|0}k=(((l|0)<0?C:k)|0)<0?0-b|0:b;b=j;i=m>>31;i=i+m^i;g:{if(i+p>>>0<=8190){d=B(d,i)+32768>>>16|0;break g}m=i&65535;d=B(m,d>>>16|0)+B(d,i>>>16|0)+(B(m,d&65535)+32768>>>16)|0}p=F?0-d|0:d;d=o>>31;d=d+o^d;h:{if(d+A>>>0<=8190){e=B(d,e)+32768>>>16|0;break h}o=d&65535;e=B(o,e>>>16|0)+B(e,d>>>16|0)+(B(o,e&65535)+32768>>>16)|0}m=0-x|0;v[b+8>>2]=p+((((r|0)<0?m:x)|0)<0?0-e|0:e);v[j+4>>2]=k+q;v[j>>2]=G+H;b=j;if(i+D>>>0<=8190){e=B(f,i)+32768>>>16|0}else{e=i&65535;e=B(e,f>>>16|0)+B(f,i>>>16|0)+(B(e,f&65535)+32768>>>16)|0}e=(((n|0)<0?z:s)|0)<0?0-e|0:e;if(d+E>>>0<=8190){d=B(d,h)+32768>>>16|0}else{f=d&65535;d=B(f,h>>>16|0)+B(h,d>>>16|0)+(B(f,h&65535)+32768>>>16)|0}v[b+12>>2]=e+((((l|0)<0?m:x)|0)<0?0-d|0:d)}d=v[j+8>>2];h=v[j+4>>2];e=v[j>>2];b=v[j+12>>2]}v[g+28>>2]=b;v[c+24>>2]=d;v[c+16>>2]=h;v[c+12>>2]=e;b=v[a+128>>2];if(w[b+24|0]&2){v[c+20>>2]=v[b+16>>2]<<10;v[c+32>>2]=v[v[a+128>>2]+20>>2]<<10;break b}v[c+32>>2]=0;v[c+20>>2]=0;break b}a=v[b>>2];if(!a){break a}b=v[g+32>>2];if(b>>>0>a>>>0){break a}e=e+v[g+40>>2]|0;if(e>>>0<=a>>>0){break a}f=w[a|0];v[c>>2]=f;if(f>>>0>32){break a}i:{switch(f-1|0){case 0:e=v[g+24>>2];b=w[a+1|0];if(e>>>0<b>>>0){break a}a=w[a+2|0]|w[a+3|0]<<8|(w[a+4|0]<<16|w[a+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(e>>>0<a+b>>>0){break a}v[c+4>>2]=b;v[c+8>>2]=0;v[c+12>>2]=(v[g+28>>2]+(a<<2)|0)+4;break b;case 1:b=w[a+1|0]|w[a+2|0]<<8;u[c+4>>1]=b<<8|b>>>8;a=w[a+3|0]|w[a+4|0]<<8;u[c+6>>1]=a<<8|a>>>8;break b;case 10:v[c+4>>2]=w[a+2|0]|w[a+1|0]<<8;break b;default:break i}}h=w[a+3|0]|(w[a+2|0]<<8|w[a+1|0]<<16);if(!h){break a}k=b;b=a+h|0;if(k>>>0>b>>>0|b>>>0>=e>>>0){break a}j:{switch(f-4|0){case 0:g=w[b|0];if(g>>>0>2){break a}v[c+4>>2]=g;g=w[b+2|0];d=w[b+1|0];v[c+16>>2]=b+3;v[c+12>>2]=0;v[c+8>>2]=g|d<<8;b=w[a+4|0]|w[a+5|0]<<8;v[c+20>>2]=(b<<8|b>>>8)<<16>>16;b=w[a+6|0]|w[a+7|0]<<8;v[c+24>>2]=(b<<8|b>>>8)<<16>>16;b=w[a+8|0]|w[a+9|0]<<8;v[c+28>>2]=(b<<8|b>>>8)<<16>>16;b=w[a+10|0]|w[a+11|0]<<8;v[c+32>>2]=(b<<8|b>>>8)<<16>>16;b=w[a+12|0]|w[a+13|0]<<8;v[c+36>>2]=(b<<8|b>>>8)<<16>>16;a=w[a+14|0]|w[a+15|0]<<8;v[c+40>>2]=(a<<8|a>>>8)<<16>>16;break b;case 2:g=w[b|0];if(g>>>0>2){break a}v[c+4>>2]=g;g=w[b+2|0];d=w[b+1|0];v[c+16>>2]=b+3;v[c+12>>2]=0;v[c+8>>2]=g|d<<8;b=w[a+4|0]|w[a+5|0]<<8;v[c+20>>2]=(b<<8|b>>>8)<<16>>16;b=w[a+6|0]|w[a+7|0]<<8;v[c+24>>2]=(b<<8|b>>>8)<<16>>16;b=w[a+8|0]|w[a+9|0]<<8;u[c+28>>1]=b<<8|b>>>8;b=w[a+10|0]|w[a+11|0]<<8;v[c+32>>2]=(b<<8|b>>>8)<<16>>16;b=w[a+12|0]|w[a+13|0]<<8;v[c+36>>2]=(b<<8|b>>>8)<<16>>16;a=w[a+14|0]|w[a+15|0]<<8;u[c+40>>1]=a<<8|a>>>8;break b;case 4:g=w[b|0];if(g>>>0>2){break a}v[c+4>>2]=g;g=w[b+2|0];d=w[b+1|0];v[c+16>>2]=b+3;v[c+12>>2]=0;v[c+8>>2]=g|d<<8;b=w[a+4|0]|w[a+5|0]<<8;v[c+20>>2]=(b<<8|b>>>8)<<16>>16;b=w[a+6|0]|w[a+7|0]<<8;v[c+24>>2]=(b<<8|b>>>8)<<16>>16;b=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[c+28>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);a=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);v[c+32>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break b;case 6:v[c+4>>2]=b;t[c+8|0]=0;v[c+12>>2]=w[a+5|0]|w[a+4|0]<<8;break b;case 8:v[c+4>>2]=b;t[c+8|0]=0;b=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);v[c+12>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[c+24>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);v[c+16>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);v[c+28>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[a+20|0]|w[a+21|0]<<8|(w[a+22|0]<<16|w[a+23|0]<<24);v[c+20>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);a=w[a+24|0]|w[a+25|0]<<8|(w[a+26|0]<<16|w[a+27|0]<<24);v[c+32>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break b;case 10:v[c+4>>2]=b;t[c+8|0]=0;b=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);v[c+12>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[c+16>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break b;case 12:case 14:case 16:case 18:v[c+4>>2]=b;t[c+8|0]=0;b=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);v[c+12>>2]=e;d=a+8|0;k:{switch(f-16|0){case 0:case 2:b=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);d=a+12|0;break;default:break k}}v[c+16>>2]=e;l:{m:{switch(f-18|0){case 0:case 4:a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[c+20>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break l;default:break m}}v[c+20>>2]=0;a=0}v[c>>2]=16;v[c+24>>2]=a;break b;case 20:v[c+4>>2]=b;t[c+8|0]=0;b=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);v[c+12>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[c+16>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);a=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);v[c+20>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break b;case 24:v[c+4>>2]=b;t[c+8|0]=0;b=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);v[c+12>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[c+16>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);v[c+20>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);a=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);v[c+24>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break b;case 28:break j;default:break a}}v[c+4>>2]=b;t[c+8|0]=0;b=w[a+4|0];if(b>>>0>26){break a}v[c+12>>2]=b;b=w[a+7|0]|(w[a+6|0]<<8|w[a+5|0]<<16);if(!b){break a}a=a+b|0;if(a>>>0<y[g+32>>2]|a>>>0>=v[g+36>>2]+v[g+40>>2]>>>0){break a}t[c+20|0]=0;v[c+16>>2]=a}d=1}Ca=j+16|0;return d|0}function NO(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;g=Ca-32|0;Ca=g;a:{a=t[b+168|0];if((a|0)>-1){t[b+168|0]=a|128;v[b+80>>2]=0;t[b+69|0]=1;t[b+70|0]=0;v[b+92>>2]=v[b+88>>2];v[b+72>>2]=0;m=v[b+76>>2];b:{if(!m){break b}a=0;while(1){if(!w[b+68|0]){break b}k=v[b+88>>2];e=v[k+B(f,20)>>2];c:{if((e&-2)==12334){d:{if(!(v[b+80>>2]!=(a|0)|a>>>0<=h>>>0)){md(b,h,f);if(w[b+69|0]){e:{if(v[b+92>>2]==v[b+88>>2]){f=v[b+80>>2];if((f|0)==v[b+72>>2]){break e}}if(!cb(b,1,1)){break b}d=v[b+88>>2]+B(v[b+72>>2],20)|0;k=v[d+4>>2];f=v[b+92>>2]+B(v[b+80>>2],20)|0;v[f>>2]=v[d>>2];v[f+4>>2]=k;v[f+16>>2]=v[d+16>>2];i=v[d+12>>2];v[f+8>>2]=v[d+8>>2];v[f+12>>2]=i;f=v[b+80>>2]}v[b+80>>2]=f+1}v[b+72>>2]=v[b+72>>2]+1;d=g+8|0;v[d>>2]=0;f=d;d=v[c+72>>2];if(Ea[v[d+156>>2]](c,v[c+76>>2],e,f,v[d+20>>2])|0){d=v[c+72>>2];if(!(Ea[v[d+168>>2]](c,v[c+76>>2],v[g+8>>2],v[d+32>>2])|0)){break d}}Hf(b,h,a+1|0);e=v[b+92>>2];d=e+B(a,20)|0;v[g+24>>2]=v[d+16>>2];f=v[d+12>>2];v[g+16>>2]=v[d+8>>2];v[g+20>>2]=f;f=v[d+4>>2];v[g+8>>2]=v[d>>2];v[g+12>>2]=f;d=e+B(h,20)|0;mb(d+20|0,d,B(a-h|0,20));v[d+16>>2]=v[g+24>>2];a=v[g+20>>2];v[d+8>>2]=v[g+16>>2];v[d+12>>2]=a;a=v[g+12>>2];v[d>>2]=v[g+8>>2];v[d+4>>2]=a;break d}f:{if(w[b+16|0]&16){break f}v[g+8>>2]=0;a=v[c+72>>2];if(!(Ea[v[a+156>>2]](c,v[c+76>>2],9676,g+8|0,v[a+20>>2])|0)){break f}a=g+8|0;v[a>>2]=0;d=a;a=v[c+72>>2];g:{if(!(Ea[v[a+156>>2]](c,v[c+76>>2],e,d,v[a+20>>2])|0)){a=9676;break g}a=v[c+72>>2];d=Ea[v[a+168>>2]](c,v[c+76>>2],v[g+8>>2],v[a+32>>2])|0;a=d?9676:e;e=d?e:9676}if(!cb(b,1,2)){break d}h=v[b+76>>2];d=v[b+72>>2];if(h>>>0<d+1>>>0){break a}h:{if(d>>>0<h>>>0){f=v[b+80>>2];i=v[b+92>>2];d=v[b+88>>2]+B(d,20)|0;break h}i=v[b+92>>2];f=v[b+80>>2];d=i+B(f?f-1|0:0,20)|0}h=B(f,20)+i|0;f=h;i=v[d+4>>2];v[f>>2]=v[d>>2];v[f+4>>2]=i;v[f+16>>2]=v[d+16>>2];f=v[d+12>>2];v[h+8>>2]=v[d+8>>2];v[h+12>>2]=f;v[h>>2]=e;e=v[d+4>>2];v[h+20>>2]=v[d>>2];v[h+24>>2]=e;e=v[d+12>>2];v[h+28>>2]=v[d+8>>2];v[h+32>>2]=e;v[h+36>>2]=v[d+16>>2];v[h+20>>2]=a;v[b+72>>2]=v[b+72>>2]+1;v[b+80>>2]=v[b+80>>2]+2;break d}if(w[b+69|0]){i:{if(v[b+92>>2]==v[b+88>>2]){e=v[b+80>>2];if((e|0)==v[b+72>>2]){break i}}if(!cb(b,1,1)){break d}a=v[b+88>>2]+B(v[b+72>>2],20)|0;h=v[a+4>>2];d=v[b+92>>2]+B(v[b+80>>2],20)|0;v[d>>2]=v[a>>2];v[d+4>>2]=h;v[d+16>>2]=v[a+16>>2];e=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=e;e=v[b+80>>2]}v[b+80>>2]=e+1}v[b+72>>2]=v[b+72>>2]+1}h=v[b+80>>2];a=h;break c}h=v[b+80>>2];j:{k:{l:{m:{n:{j=e-4352|0;if(j>>>0>95&e-43360>>>0>28){break n}d=f+1|0;if(d>>>0>=m>>>0){break n}i=v[k+B(d,20)>>2];if(i-55216>>>0>22?i-4448>>>0>=72:0){break m}d=0;a=0;l=f+2|0;if(l>>>0<m>>>0){d=v[k+B(l,20)>>2];k=d-4520>>>0<88|d-55243>>>0<49;a=k?d:0;d=k?d-4519|0:0}n=f;f=a?3:2;Mb(b,n,n+f|0);o:{if(j>>>0>18|i-4449>>>0>20|(a-4520>>>0>26?a:0)){break o}d=((B(e,588)+B(i,28)|0)+d|0)-2639516|0;v[g+28>>2]=d;v[g+8>>2]=0;e=d;d=v[c+72>>2];if(!(Ea[v[d+156>>2]](c,v[c+76>>2],e,g+8|0,v[d+20>>2])|0)){break o}Qh(b,f,g+28|0);a=h+1|0;break c}t[(v[b+88>>2]+B(v[b+72>>2],20)|0)+19|0]=1;p:{if(w[b+69|0]){q:{if(v[b+92>>2]==v[b+88>>2]){e=v[b+80>>2];if((e|0)==v[b+72>>2]){break q}}if(!cb(b,1,1)){e=v[b+72>>2];break p}e=v[b+88>>2]+B(v[b+72>>2],20)|0;f=v[e+4>>2];d=v[b+92>>2]+B(v[b+80>>2],20)|0;v[d>>2]=v[e>>2];v[d+4>>2]=f;v[d+16>>2]=v[e+16>>2];f=v[e+12>>2];v[d+8>>2]=v[e+8>>2];v[d+12>>2]=f;e=v[b+80>>2]}v[b+80>>2]=e+1}e=v[b+72>>2]+1|0;v[b+72>>2]=e}t[(v[b+88>>2]+B(e,20)|0)+19|0]=2;r:{if(w[b+69|0]){s:{if(v[b+92>>2]==v[b+88>>2]){e=v[b+80>>2];if((e|0)==v[b+72>>2]){break s}}if(!cb(b,1,1)){break r}e=v[b+88>>2]+B(v[b+72>>2],20)|0;f=v[e+4>>2];d=v[b+92>>2]+B(v[b+80>>2],20)|0;v[d>>2]=v[e>>2];v[d+4>>2]=f;v[d+16>>2]=v[e+16>>2];f=v[e+12>>2];v[d+8>>2]=v[e+8>>2];v[d+12>>2]=f;e=v[b+80>>2]}v[b+80>>2]=e+1}v[b+72>>2]=v[b+72>>2]+1}if(a){t[(v[b+88>>2]+B(v[b+72>>2],20)|0)+19|0]=3;t:{if(w[b+69|0]){u:{if(v[b+92>>2]==v[b+88>>2]){e=v[b+80>>2];if((e|0)==v[b+72>>2]){break u}}if(!cb(b,1,1)){break t}a=v[b+88>>2]+B(v[b+72>>2],20)|0;f=v[a+4>>2];d=v[b+92>>2]+B(v[b+80>>2],20)|0;v[d>>2]=v[a>>2];v[d+4>>2]=f;v[d+16>>2]=v[a+16>>2];e=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=e;e=v[b+80>>2]}v[b+80>>2]=e+1}v[b+72>>2]=v[b+72>>2]+1}a=h+3|0}else{a=h+2|0}if(!w[b+68|0]){break b}if(v[b+20>>2]){break c}Hf(b,h,a);break c}d=e-44032|0;if(d>>>0>11171){break m}v[g+8>>2]=0;d=d&65535;i=(d>>>0)/588|0;f=v[c+72>>2];f=Ea[v[f+156>>2]](c,v[c+76>>2],e,g+8|0,v[f+20>>2])|0;k=(d>>>0)%588|0;d=(k>>>0)/28|0;l=k-B(d,28)|0;k=l&65535;v:{w:{if(!k){j=v[b+72>>2]+1|0;x:{if(j>>>0>=m>>>0){break x}j=v[v[b+88>>2]+B(j,20)>>2];if(j-4520>>>0>26){break x}e=(e+j|0)-4519|0;v[g+28>>2]=e;v[g+8>>2]=0;n=e;e=v[c+72>>2];if(Ea[v[e+156>>2]](c,v[c+76>>2],n,g+8|0,v[e+20>>2])|0){Qh(b,2,g+28|0);a=h+1|0;break c}e=v[b+72>>2];Mb(b,e,e+2|0)}if(!f){break w}e=v[b+72>>2]+1|0;if(e>>>0>=m>>>0){break v}e=v[v[b+88>>2]+B(e,20)>>2];if(e-4520>>>0<88){break w}if(e-55243>>>0>48){break v}break w}if(f){break v}}d=d+4449|0;v[g+12>>2]=d;j=i|4352;v[g+8>>2]=j;e=l+4519&65535;v[g+16>>2]=e;v[g+28>>2]=0;y:{i=v[c+72>>2];if(!(Ea[v[i+156>>2]](c,v[c+76>>2],j,g+28|0,v[i+20>>2])|0)){break y}v[g+28>>2]=0;i=d;d=v[c+72>>2];if(!(Ea[v[d+156>>2]](c,v[c+76>>2],i,g+28|0,v[d+20>>2])|0)){break y}z:{if(!k){i=2;break z}v[g+28>>2]=0;i=3;d=v[c+72>>2];if(!(Ea[v[d+156>>2]](c,v[c+76>>2],e,g+28|0,v[d+20>>2])|0)){break v}}if(!cb(b,1,i)){break j}d=v[b+76>>2];a=v[b+72>>2];if(d>>>0<a+1>>>0){break a}A:{if(a>>>0<d>>>0){e=v[b+80>>2];d=v[b+92>>2];a=v[b+88>>2]+B(a,20)|0;break A}d=v[b+92>>2];e=v[b+80>>2];a=d+B(e?e-1|0:0,20)|0}d=B(e,20)+d|0;e=a;l=v[e+4>>2];v[d>>2]=v[e>>2];v[d+4>>2]=l;v[d+16>>2]=v[e+16>>2];l=v[e+12>>2];v[d+8>>2]=v[e+8>>2];v[d+12>>2]=l;v[d>>2]=j;j=v[g+12>>2];l=v[e+4>>2];v[d+20>>2]=v[e>>2];v[d+24>>2]=l;v[d+36>>2]=v[e+16>>2];l=v[e+12>>2];v[d+28>>2]=v[e+8>>2];v[d+32>>2]=l;v[d+20>>2]=j;if(k){break l}break k}if(k){break v}d=v[b+72>>2];e=d+1|0;if(e>>>0>=m>>>0){break v}e=v[v[b+88>>2]+B(e,20)>>2];if(e-55243>>>0>48?e-4520>>>0>=88:0){break v}Mb(b,d,d+2|0)}a=f?h+1|0:a}if(w[b+69|0]){B:{if(v[b+92>>2]==v[b+88>>2]){e=v[b+80>>2];if((e|0)==v[b+72>>2]){break B}}if(!cb(b,1,1)){break c}e=v[b+88>>2]+B(v[b+72>>2],20)|0;f=v[e+4>>2];d=v[b+92>>2]+B(v[b+80>>2],20)|0;v[d>>2]=v[e>>2];v[d+4>>2]=f;v[d+16>>2]=v[e+16>>2];f=v[e+12>>2];v[d+8>>2]=v[e+8>>2];v[d+12>>2]=f;e=v[b+80>>2]}v[b+80>>2]=e+1}v[b+72>>2]=v[b+72>>2]+1;break c}e=v[g+16>>2];j=v[a+4>>2];v[d+40>>2]=v[a>>2];v[d+44>>2]=j;v[d+56>>2]=v[a+16>>2];j=v[a+12>>2];v[d+48>>2]=v[a+8>>2];v[d+52>>2]=j;v[d+40>>2]=e}v[b+72>>2]=v[b+72>>2]+1;v[b+80>>2]=v[b+80>>2]+i}if(!(k|!f)){C:{if(w[b+69|0]){D:{if(v[b+92>>2]==v[b+88>>2]){e=v[b+80>>2];if((e|0)==v[b+72>>2]){break D}}if(!cb(b,1,1)){break C}a=v[b+88>>2]+B(v[b+72>>2],20)|0;f=v[a+4>>2];d=v[b+92>>2]+B(v[b+80>>2],20)|0;v[d>>2]=v[a>>2];v[d+4>>2]=f;v[d+16>>2]=v[a+16>>2];e=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=e;e=v[b+80>>2]}v[b+80>>2]=e+1}v[b+72>>2]=v[b+72>>2]+1}i=i+1|0}if(!w[b+68|0]){break b}d=v[b+92>>2];a=d+B(h,20)|0;t[a+39|0]=2;t[a+19|0]=1;a=h+i|0;e=h+2|0;if(a>>>0>e>>>0){t[(d+B(e,20)|0)+19|0]=3}if(v[b+20>>2]){break c}Hf(b,h,a)}f=v[b+72>>2];if(m>>>0>f>>>0){continue}break}}td(b);Ca=g+32|0;return}O(261544,261516,153,261531);L()}O(261577,261516,223,261597);L()}function lI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=-4;a:{b:{c:{if(b>>>0>=c>>>0){break c}e=c-b|0;if(e&1){c=e&-2;if(!c){break b}c=b+c|0}d:{e:{f:{g:{h:{i:{j:{k:{g=w[b|0];switch(g-216|0){case 4:case 5:case 6:case 7:break a;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break j;case 39:break g;case 0:case 1:case 2:case 3:break h;default:break k}}if(!g){break i}}h=w[b+1|0];break f}e=-2;f=18;l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{h=w[b+1|0];i=a+72|0;switch(w[h+i|0]-2|0){case 4:break l;case 3:break m;case 17:break n;case 9:break o;case 34:break p;case 30:break q;case 29:break r;case 2:break s;case 18:break t;case 33:break u;case 28:break v;case 8:case 19:break w;case 7:break x;case 0:break y;case 11:break z;case 10:break A;case 20:case 22:break d;case 21:case 23:case 24:case 25:break e;case 27:break f;case 5:break h;default:break a}}return nt(12,a,b+2|0,c,d)|0}return nt(13,a,b+2|0,c,d)|0}e=-1;f=b+2|0;if((c-f|0)<2){break c}e=w[b+3|0];B:{g=w[b+2|0];if(g){e=Nc(g<<24>>24,e<<24>>24)}else{e=w[e+i|0]}if(e>>>0>29){break B}if(!(1<<e&557842656)){if((e|0)!=15){if((e|0)!=16){break B}f=-1;b=b+4|0;C:{if((c-b|0)<2){break C}D:{E:{if(w[b|0]){break E}F:{G:{H:{i=a+72|0;switch(w[i+w[b+1|0]|0]-20|0){case 2:case 4:break F;case 0:break G;case 7:break H;default:break E}}f=kt(a,b+2|0,c,d);break C}v[d>>2]=b+2;f=33;break C}a=b+2|0;e=c-a|0;if((e|0)<=1){break C}while(1){I:{if(w[b+2|0]){break I}g=w[i+w[b+3|0]|0];if(g>>>0>30){break I}if(!(1<<g&20971520)){J:{if(1<<g&2098688){break J}if((g|0)!=30){break I}if((e|0)<4){break C}c=w[b+5|0];b=w[b+4|0];if(b){b=Nc(b<<24>>24,c<<24>>24)}else{b=w[c+i|0]}if(b>>>0>30){break J}if(1<<b&1075840512){break I}}v[d>>2]=a;f=16;break C}b=a;a=b+2|0;e=c-a|0;if((e|0)>1){continue}break C}break}v[d>>2]=a;break D}v[d>>2]=b}f=0}return f|0}return mt(a,b+4|0,c,d)|0}v[d>>2]=b;return 29}v[d>>2]=f;return 0}if((b+2|0)!=(c|0)){break w}v[d>>2]=c;return-15}e=b+2|0;if((c-e|0)>=2){while(1){K:{L:{if(w[b+2|0]){break L}M:{switch(w[i+w[b+3|0]|0]-9|0){case 1:case 12:break K;case 0:break M;default:break L}}if((b+4|0)!=(c|0)){break K}}v[d>>2]=e;return 15}b=e;e=b+2|0;if((c-e|0)>1){continue}break}}v[d>>2]=e;return 15}return lt(a,b+2|0,c,d)|0}v[d>>2]=b+2;return 38}v[d>>2]=b+2;return 25}e=-26;a=b+2|0;c=c-a|0;if((c|0)<2){break c}N:{if(w[b+2|0]|w[b+3|0]!=93){break N}e=-1;if((c|0)<4){break c}if(w[b+4|0]|w[b+5|0]!=62){break N}v[d>>2]=b+6;return 34}v[d>>2]=a;return 26}v[d>>2]=b+2;return 23}e=-24;a=b+2|0;if((c-a|0)<2){break c}c=w[b+3|0];O:{P:{Q:{R:{S:{e=w[b+2|0];if(e){c=Nc(e<<24>>24,c<<24>>24)}else{c=w[c+i|0]}switch(c-9|0){case 0:case 1:case 2:case 12:case 23:case 26:case 27:break P;case 25:break Q;case 6:break R;case 24:break S;default:break O}}v[d>>2]=b+4;return 36}v[d>>2]=b+4;return 35}v[d>>2]=b+4;return 37}v[d>>2]=a;return 24}v[d>>2]=a;return 0}v[d>>2]=b+2;return 21}v[d>>2]=b+2;return 17}i=a;e=0;g=-1;a=b+2|0;b=c-a|0;T:{if((b|0)<2){break T}U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{g=w[a|0];switch(g-216|0){case 4:case 5:case 6:case 7:break U;case 0:case 1:case 2:case 3:break Y;case 39:break _;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break $;default:break aa}}if(!g){break Z}}f=w[a+1|0];break W}f=w[a+1|0];if(f>>>0>253){break U}break W}f=w[a+1|0];switch(w[(i+f|0)+72|0]-6|0){case 16:case 18:break V;case 23:break W;case 0:break X;case 1:break Y;default:break U}}g=-2;if((b|0)>=4){break U}break T}g=-2;if((b|0)>=3){break U}break T}if(!(v[(f>>>3&28|w[g+502192|0]<<5)+500176>>2]>>>f&1)){break U}}g=-20;f=a+2|0;h=c-f|0;if((h|0)<=1){break T}i=i+72|0;b=a;while(1){a=f;ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{f=w[b+2|0];switch(f-216|0){case 4:case 5:case 6:case 7:break U;case 0:case 1:case 2:case 3:break ea;case 39:break ga;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break ha;default:break ia}}if(!f){break fa}}b=w[b+3|0];break ca}b=w[b+3|0];if(b>>>0>253){break U}break ca}ja:{b=w[b+3|0];switch(w[i+b|0]-6|0){case 16:case 18:case 19:case 20:case 21:break ba;case 23:break ca;case 0:break da;case 1:break ea;case 3:case 4:case 5:case 15:case 24:case 26:case 30:break ja;default:break U}}e=20;break U}g=-2;if((h|0)>=4){break U}break T}g=-2;if((h|0)>=3){break U}break T}if(!(v[(b>>>3&28|w[f+502448|0]<<5)+500176>>2]>>>b&1)){break U}}b=a;f=b+2|0;h=c-f|0;if((h|0)>1){continue}break}break T}v[d>>2]=a;g=e}return g|0}if((c-b|0)<2){break c}break a}if((c-b|0)>=3){break a}break c}e=-2;if((c-b|0)>=4){break a}break c}h=w[b+1|0];if(h>>>0>253){break a}}f=18;i=1<<h;e=h>>>5<<2;if(i&v[(e|w[g+502192|0]<<5)+500176>>2]){break d}f=19;if(!(i&v[(e|w[g+502448|0]<<5)+500176>>2])){break a}break d}f=19}b=b+2|0;h=c-b|0;if((h|0)>=2){g=a+72|0;while(1){ka:{la:{ma:{na:{oa:{pa:{qa:{ra:{sa:{ta:{a=w[b|0];switch(a-216|0){case 4:case 5:case 6:case 7:break ma;case 0:case 1:case 2:case 3:break pa;case 39:break ra;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break sa;default:break ta}}if(!a){break qa}}e=w[b+1|0];break na}e=w[b+1|0];if(e>>>0<=253){break na}break ma}ua:{va:{wa:{xa:{ya:{e=w[b+1|0];switch(w[g+e|0]-6|0){case 16:case 18:case 19:case 20:case 21:break la;case 23:break na;case 0:break oa;case 1:break pa;case 3:case 4:case 5:case 14:case 15:case 24:case 26:case 29:case 30:break ua;case 17:break va;case 28:break wa;case 27:break xa;case 9:break ya;default:break ma}}if((f|0)==19){break ma}v[d>>2]=b+2;return 30}if((f|0)==19){break ma}v[d>>2]=b+2;return 31}if((f|0)==19){break ma}v[d>>2]=b+2;return 32}a=b+2|0;za:{if((f|0)!=41){if((f|0)!=18){break ka}i=c-a|0;if((i|0)<2){return-1}e=w[b+3|0];f=19;Aa:{Ba:{Ca:{Da:{h=w[b+2|0];if(h){j=Nc(h<<24>>24,e<<24>>24)}else{j=w[e+g|0]}switch(j-5|0){case 2:break Aa;case 1:break Ba;case 17:case 19:case 20:case 21:case 22:break Ca;case 24:break Da;case 0:break za;default:break ka}}if(!(v[(e>>>3&28|w[h+502448|0]<<5)+500176>>2]>>>e&1)){break za}}a=b+4|0;f=41;break ka}e=-2;if((i|0)>=3){break za}break c}e=-2;if((i|0)>=4){break za}break c}f=19;break ka}v[d>>2]=a;return 0}v[d>>2]=b;return f|0}e=-2;if((h|0)>=4){break ma}break c}e=-2;if((h|0)>=3){break ma}break c}if(v[(e>>>3&28|w[a+502448|0]<<5)+500176>>2]>>>e&1){break la}}v[d>>2]=b;return 0}a=b+2|0}b=a;h=c-b|0;if((h|0)>1){continue}break}}e=0-f|0}return e|0}return-1}v[d>>2]=b;return 0}function CI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=-4;a:{b:{c:{if(b>>>0>=c>>>0){break c}e=c-b|0;if(e&1){c=e&-2;if(!c){break b}c=b+c|0}d:{e:{f:{g:{h:{i:{j:{k:{h=w[b+1|0];switch(h-216|0){case 4:case 5:case 6:case 7:break a;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break j;case 39:break g;case 0:case 1:case 2:case 3:break h;default:break k}}if(!h){break i}}g=w[b|0];break f}e=-2;f=18;l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{g=w[b|0];i=a+72|0;switch(w[g+i|0]-2|0){case 4:break l;case 3:break m;case 17:break n;case 9:break o;case 34:break p;case 30:break q;case 29:break r;case 2:break s;case 18:break t;case 33:break u;case 28:break v;case 8:case 19:break w;case 7:break x;case 0:break y;case 11:break z;case 10:break A;case 20:case 22:break d;case 21:case 23:case 24:case 25:break e;case 27:break f;case 5:break h;default:break a}}return rt(12,a,b+2|0,c,d)|0}return rt(13,a,b+2|0,c,d)|0}e=-1;f=b+2|0;if((c-f|0)<2){break c}e=w[b+2|0];B:{h=w[b+3|0];if(h){e=Nc(h<<24>>24,e<<24>>24)}else{e=w[e+i|0]}if(e>>>0>29){break B}if(!(1<<e&557842656)){if((e|0)!=15){if((e|0)!=16){break B}f=-1;b=b+4|0;C:{if((c-b|0)<2){break C}D:{E:{if(w[b+1|0]){break E}F:{G:{H:{i=a+72|0;switch(w[i+w[b|0]|0]-20|0){case 2:case 4:break F;case 0:break G;case 7:break H;default:break E}}f=ot(a,b+2|0,c,d);break C}v[d>>2]=b+2;f=33;break C}a=b+2|0;e=c-a|0;if((e|0)<=1){break C}while(1){I:{if(w[b+3|0]){break I}h=w[i+w[a|0]|0];if(h>>>0>30){break I}if(!(1<<h&20971520)){J:{if(1<<h&2098688){break J}if((h|0)!=30){break I}if((e|0)<4){break C}c=w[b+4|0];b=w[b+5|0];if(b){b=Nc(b<<24>>24,c<<24>>24)}else{b=w[c+i|0]}if(b>>>0>30){break J}if(1<<b&1075840512){break I}}v[d>>2]=a;f=16;break C}b=a;a=b+2|0;e=c-a|0;if((e|0)>1){continue}break C}break}v[d>>2]=a;break D}v[d>>2]=b}f=0}return f|0}return qt(a,b+4|0,c,d)|0}v[d>>2]=b;return 29}v[d>>2]=f;return 0}if((b+2|0)!=(c|0)){break w}v[d>>2]=c;return-15}e=b+2|0;if((c-e|0)>=2){while(1){K:{L:{if(w[b+3|0]){break L}M:{switch(w[i+w[e|0]|0]-9|0){case 1:case 12:break K;case 0:break M;default:break L}}if((b+4|0)!=(c|0)){break K}}v[d>>2]=e;return 15}b=e;e=b+2|0;if((c-e|0)>1){continue}break}}v[d>>2]=e;return 15}return pt(a,b+2|0,c,d)|0}v[d>>2]=b+2;return 38}v[d>>2]=b+2;return 25}e=-26;a=b+2|0;c=c-a|0;if((c|0)<2){break c}N:{if(w[b+3|0]|w[b+2|0]!=93){break N}e=-1;if((c|0)<4){break c}if(w[b+5|0]|w[b+4|0]!=62){break N}v[d>>2]=b+6;return 34}v[d>>2]=a;return 26}v[d>>2]=b+2;return 23}e=-24;a=b+2|0;if((c-a|0)<2){break c}c=w[b+2|0];O:{P:{Q:{R:{S:{e=w[b+3|0];if(e){c=Nc(e<<24>>24,c<<24>>24)}else{c=w[c+i|0]}switch(c-9|0){case 0:case 1:case 2:case 12:case 23:case 26:case 27:break P;case 25:break Q;case 6:break R;case 24:break S;default:break O}}v[d>>2]=b+4;return 36}v[d>>2]=b+4;return 35}v[d>>2]=b+4;return 37}v[d>>2]=a;return 24}v[d>>2]=a;return 0}v[d>>2]=b+2;return 21}v[d>>2]=b+2;return 17}i=a;e=0;h=-1;a=b+2|0;b=c-a|0;T:{if((b|0)<2){break T}U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{f=w[a+1|0];switch(f-216|0){case 4:case 5:case 6:case 7:break U;case 0:case 1:case 2:case 3:break Y;case 39:break _;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break $;default:break aa}}if(!f){break Z}}g=w[a|0];break W}g=w[a|0];if(g>>>0>253){break U}break W}g=w[a|0];switch(w[(i+g|0)+72|0]-6|0){case 16:case 18:break V;case 23:break W;case 0:break X;case 1:break Y;default:break U}}h=-2;if((b|0)>=4){break U}break T}h=-2;if((b|0)>=3){break U}break T}if(!(v[(g>>>3&28|w[f+502192|0]<<5)+500176>>2]>>>g&1)){break U}}h=-20;f=a+2|0;g=c-f|0;if((g|0)<=1){break T}i=i+72|0;b=a;while(1){a=f;ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{b=w[b+3|0];switch(b-216|0){case 4:case 5:case 6:case 7:break U;case 0:case 1:case 2:case 3:break ea;case 39:break ga;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break ha;default:break ia}}if(!b){break fa}}f=w[a|0];break ca}f=w[a|0];if(f>>>0>253){break U}break ca}ja:{f=w[a|0];switch(w[i+f|0]-6|0){case 16:case 18:case 19:case 20:case 21:break ba;case 23:break ca;case 0:break da;case 1:break ea;case 3:case 4:case 5:case 15:case 24:case 26:case 30:break ja;default:break U}}e=20;break U}h=-2;if((g|0)>=4){break U}break T}h=-2;if((g|0)>=3){break U}break T}if(!(v[(f>>>3&28|w[b+502448|0]<<5)+500176>>2]>>>f&1)){break U}}b=a;f=b+2|0;g=c-f|0;if((g|0)>1){continue}break}break T}v[d>>2]=a;h=e}return h|0}if((c-b|0)<2){break c}break a}if((c-b|0)>=3){break a}break c}e=-2;if((c-b|0)>=4){break a}break c}g=w[b|0];if(g>>>0>253){break a}}f=18;i=1<<g;e=g>>>5<<2;if(i&v[(e|w[h+502192|0]<<5)+500176>>2]){break d}f=19;if(!(i&v[(e|w[h+502448|0]<<5)+500176>>2])){break a}break d}f=19}b=b+2|0;g=c-b|0;if((g|0)>=2){h=a+72|0;while(1){ka:{la:{ma:{na:{oa:{pa:{qa:{ra:{sa:{ta:{a=w[b+1|0];switch(a-216|0){case 4:case 5:case 6:case 7:break ma;case 0:case 1:case 2:case 3:break pa;case 39:break ra;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break sa;default:break ta}}if(!a){break qa}}e=w[b|0];break na}e=w[b|0];if(e>>>0<=253){break na}break ma}ua:{va:{wa:{xa:{ya:{e=w[b|0];switch(w[h+e|0]-6|0){case 16:case 18:case 19:case 20:case 21:break la;case 23:break na;case 0:break oa;case 1:break pa;case 3:case 4:case 5:case 14:case 15:case 24:case 26:case 29:case 30:break ua;case 17:break va;case 28:break wa;case 27:break xa;case 9:break ya;default:break ma}}if((f|0)==19){break ma}v[d>>2]=b+2;return 30}if((f|0)==19){break ma}v[d>>2]=b+2;return 31}if((f|0)==19){break ma}v[d>>2]=b+2;return 32}a=b+2|0;za:{if((f|0)!=41){if((f|0)!=18){break ka}i=c-a|0;if((i|0)<2){return-1}e=w[b+2|0];f=19;Aa:{Ba:{Ca:{Da:{g=w[b+3|0];if(g){j=Nc(g<<24>>24,e<<24>>24)}else{j=w[e+h|0]}switch(j-5|0){case 2:break Aa;case 1:break Ba;case 17:case 19:case 20:case 21:case 22:break Ca;case 24:break Da;case 0:break za;default:break ka}}if(!(v[(e>>>3&28|w[g+502448|0]<<5)+500176>>2]>>>e&1)){break za}}a=b+4|0;f=41;break ka}e=-2;if((i|0)>=3){break za}break c}e=-2;if((i|0)>=4){break za}break c}f=19;break ka}v[d>>2]=a;return 0}v[d>>2]=b;return f|0}e=-2;if((g|0)>=4){break ma}break c}e=-2;if((g|0)>=3){break ma}break c}if(v[(e>>>3&28|w[a+502448|0]<<5)+500176>>2]>>>e&1){break la}}v[d>>2]=b;return 0}a=b+2|0}b=a;g=c-b|0;if((g|0)>1){continue}break}}e=0-f|0}return e|0}return-1}v[d>>2]=b;return 0}function yv(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,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0;f=Ca-48|0;Ca=f;k=6;a:{if(!b){break a}o=v[b>>2];if(!o){break a}i=v[b+4>>2];if(i){while(1){e=v[i+8>>2];v[f+40>>2]=0;if(e){while(1){k=6;b:{c:{switch(v[e+32>>2]-1|0){case 0:v[f>>2]=0;l=qb(o,40,f);k=v[f>>2];if(k){break a}v[l>>2]=0;v[l+4>>2]=0;v[l+32>>2]=0;v[l+36>>2]=0;v[l+24>>2]=0;v[l+28>>2]=0;v[l+16>>2]=0;v[l+20>>2]=0;v[l+8>>2]=0;v[l+12>>2]=0;v[l+32>>2]=v[e+32>>2];g=v[e+28>>2];v[l+24>>2]=v[e+24>>2];v[l+28>>2]=g;g=v[e+20>>2];v[l+16>>2]=v[e+16>>2];v[l+20>>2]=g;g=v[e+12>>2];v[l+8>>2]=v[e+8>>2];v[l+12>>2]=g;g=v[e+4>>2];v[l>>2]=v[e>>2];v[l+4>>2]=g;v[l+36>>2]=v[f+40>>2];v[f+40>>2]=l;break b;case 1:g=v[e+4>>2];v[f>>2]=v[e>>2];v[f+4>>2]=g;g=v[e+20>>2];v[f+8>>2]=v[e+16>>2];v[f+12>>2]=g;g=v[e+12>>2];v[f+16>>2]=v[e+8>>2];v[f+20>>2]=g;Xm(o,f,32,f+40|0);break b;case 2:break c;default:break a}}g=v[e+4>>2];v[f>>2]=v[e>>2];v[f+4>>2]=g;g=v[e+20>>2];v[f+8>>2]=v[e+16>>2];v[f+12>>2]=g;g=v[e+28>>2];v[f+16>>2]=v[e+24>>2];v[f+20>>2]=g;g=v[e+12>>2];v[f+24>>2]=v[e+8>>2];v[f+28>>2]=g;Wm(o,f,32,f+40|0)}e=v[e+36>>2];if(e){continue}break}}v[f>>2]=0;h=qb(o,16,f);k=v[f>>2];if(k){break a}v[h>>2]=0;v[h+4>>2]=0;v[h+12>>2]=y;v[h+8>>2]=v[f+40>>2];v[f+40>>2]=0;l=v[i+12>>2];e=v[i+8>>2];if(e){while(1){g=v[e+36>>2];if(e){Ea[v[o+8>>2]](o,e)}e=g;if(e){continue}break}}if(i){Ea[v[o+8>>2]](o,i)}y=h;i=l;if(i){continue}break}}v[b+4>>2]=h;T=v[a+8>>2];o=w[a+5|0];Z=w[a+4|0];a=v[a>>2];v[f+36>>2]=0;d:{e:{if(!d|c-2>>>0>=31){break e}y=v[b>>2];if(!y){break e}M=wb(y,B(B(v[d+4>>2],v[d>>2]),12),f+36|0);if(v[f+36>>2]){break d}f:{C=v[d+4>>2];if(!C){break f}G=v[d>>2];if(!G){break f}H=c<<16;_=v[d+12>>2];I=v[b+4>>2];if(I){$=(a|0)==1;while(1){j=v[I+8>>2];if(j){while(1){n=w[j+12|0]|w[j+13|0]<<8|(w[j+14|0]<<16|w[j+15|0]<<24);l=w[j+8|0]|w[j+9|0]<<8|(w[j+10|0]<<16|w[j+11|0]<<24);h=w[j+20|0]|w[j+21|0]<<8|(w[j+22|0]<<16|w[j+23|0]<<24);b=h;d=w[j+16|0]|w[j+17|0]<<8|(w[j+18|0]<<16|w[j+19|0]<<24);a=d;e=w[j+4|0]|w[j+5|0]<<8|(w[j+6|0]<<16|w[j+7|0]<<24);p=e;k=w[j|0]|w[j+1|0]<<8|(w[j+2|0]<<16|w[j+3|0]<<24);i=k;g:{switch((w[j+32|0]|w[j+33|0]<<8|(w[j+34|0]<<16|w[j+35|0]<<24))-1|0){case 2:g=w[j+28|0]|w[j+29|0]<<8|(w[j+30|0]<<16|w[j+31|0]<<24);b=(g|0)>(h|0)?h:g;i=w[j+24|0]|w[j+25|0]<<8|(w[j+26|0]<<16|w[j+27|0]<<24);a=(d|0)<(i|0)?d:i;h=(g|0)<(h|0)?h:g;d=(d|0)>(i|0)?d:i;case 1:p=(b|0)>(e|0)?e:b;i=(a|0)>(k|0)?k:a;e=(e|0)>(h|0)?e:h;k=(d|0)<(k|0)?k:d;case 0:aa=(e|0)<(n|0)?n:e;ba=(n|0)<(p|0)?n:p;ca=(k|0)<(l|0)?l:k;da=(i|0)>(l|0)?l:i;break;default:break g}}b=(ca+63|0)/64|0;a=(da-63|0)/64|0;h:{q=((ba-63|0)/64|0)-c|0;U=((aa+63|0)/64|0)+c|0;if((q|0)>=(U|0)){break h}V=b+c|0;l=a-c|0;if((V|0)<=(l|0)){break h}while(1){i:{if(!((q|0)<0|(q|0)>=(G|0))){J=q<<6|32;W=0-(J<<10)|0;ea=B(o?q:(q^-1)+G|0,C);d=l;while(1){j:{if((d|0)<0|(d|0)>=(C|0)){break j}D=d<<6|32;k:{l:{switch(v[j+32>>2]-1|0){case 2:h=v[j+20>>2];z=v[j+4>>2];S=B(h-z|0,3);g=v[j+16>>2];N=v[j>>2];p=B(g-N|0,3);i=v[j+28>>2];e=i+(z-(h<<1)|0)|0;O=B(e,6);b=v[j+24>>2];a=b+(N-(g<<1)|0)|0;K=B(a,6);s=B(e,3);u=B(a,3);P=v[j+12>>2]+(B(h-i|0,3)-z|0)|0;Q=v[j+8>>2]+(B(g-b|0,3)-N|0)|0;a=2147483647;r=0;i=0;k=0;while(1){e=r<<14;b=0;while(1){h=Qa(e,e);g=Qa(h,e);x=Qa(Q,g);E=Qa(u,h);m=Qa(p,e);F=Qa(P,g);n=Qa(s,h);g=Qa(S,e);m=m+(E+(x+N|0)|0)|0;v[f+40>>2]=m-D<<10;n=g+(n+(z+F|0)|0)|0;v[f+44>>2]=n-J<<10;g=ed(f+40|0);if((g|0)<(a|0)){X=n<<10;v[f+4>>2]=X;Y=m<<10;v[f>>2]=Y;k=h;i=e;a=g}h=B(h,3);E=Qa(Q,h);g=e<<1;F=Qa(u,g);m=Qa(P,h);n=Qa(s,g);h=B(e,6);g=Qa(Q,h);R=Qa(P,h);A=v[f+40>>2]/1024|0;v[f+40>>2]=A;x=v[f+44>>2]/1024|0;v[f+44>>2]=x;L=e;h=n+(m+S|0)|0;e=F+(p+E|0)|0;e=L-ab(((B(h,x)|0)/64|0)+((B(e,A)|0)/64|0)|0,(((B(h,h)>>>6)+(B(e,e)>>>6)|0)+((B(A,g+K|0)|0)/64|0)|0)+((B(x,O+R|0)|0)/64|0)|0)|0;if(e>>>0<=65536){g=b&65535;b=b+1|0;if(g>>>0<3){continue}}break}r=r+1|0;if((r|0)!=5){continue}break};e=B(k,3);b=i<<1;h=(Qa(Q,e)+p|0)+Qa(u,b)|0;v[f+40>>2]=h;b=(Qa(P,e)+S|0)+Qa(s,b)|0;v[f+44>>2]=b;g=Y-(D<<10)|0;e=W+X|0;b=(Qa(g,b)|0)<(Qa(e,h)|0);k=65536;if(!(i&-65537)){v[f+4>>2]=e;v[f>>2]=g;Cd(f+40|0);Cd(f);k=Qa(v[f+40>>2],v[f+4>>2])-Qa(v[f+44>>2],v[f>>2])|0}b=b?1:-1;break k;case 1:b=v[j+20>>2];A=v[j+4>>2];E=b-A|0;O=E<<1;a=v[j+16>>2];K=v[j>>2];F=a-K|0;x=F<<1;s=v[j+12>>2]+(A-(b<<1)|0)|0;m=s<<1;u=v[j+8>>2]+(K-(a<<1)|0)|0;n=u<<1;a=2147483647;r=0;b=0;while(1){e=r<<14;p=0;while(1){i=Qa(e,e);k=Qa(u,i);h=Qa(x,e);g=Qa(s,i);i=Qa(O,e);h=h+(k+K|0)|0;v[f+40>>2]=h-D<<10;g=i+(g+A|0)|0;v[f+44>>2]=g-J<<10;i=ed(f+40|0);if((i|0)<(a|0)){R=g<<10;v[f+4>>2]=R;z=h<<10;v[f>>2]=z;b=e;a=i}i=e<<1;g=Qa(u,i);i=Qa(s,i);k=v[f+40>>2]/1024|0;v[f+40>>2]=k;h=v[f+44>>2]/1024|0;v[f+44>>2]=h;L=e;i=i+O|0;e=g+x|0;e=L-ab(((B(i,h)|0)/64|0)+((B(e,k)|0)/64|0)|0,(((B(i,i)>>>6)+(B(e,e)>>>6)|0)+((B(k,n)|0)/64|0)|0)+((B(h,m)|0)/64|0)|0)|0;if(e>>>0<=65536){i=p&65535;p=p+1|0;if(i>>>0<3){continue}}break}r=r+1|0;if((r|0)!=5){continue}break};h=Qa(u,b)+F<<1;v[f+40>>2]=h;e=Qa(s,b)+E<<1;v[f+44>>2]=e;g=z-(D<<10)|0;i=R+W|0;e=(Qa(g,e)|0)<(Qa(i,h)|0);k=65536;if(!(b&-65537)){v[f+4>>2]=i;v[f>>2]=g;Cd(f+40|0);Cd(f);k=Qa(v[f+40>>2],v[f+4>>2])-Qa(v[f+44>>2],v[f>>2])|0}b=e?1:-1;break k;case 0:break l;default:break i}}a=v[j+8>>2];h=v[j>>2];i=v[j+4>>2];m=v[j+12>>2]-i|0;v[f+4>>2]=m;n=a-h|0;v[f>>2]=n;k=65536;g=ab(((B(m,J-i|0)|0)/64|0)+((B(n,D-h|0)|0)/64|0)|0,(B(m,m)>>>6)+(B(n,n)>>>6)|0);e=(g|0)>0?(g|0)<65536?g:65536:0;b=Qa(n<<10,e);a=Qa(m<<10,e);b=b+(h-D<<10)|0;v[f+40>>2]=b;a=a+(i-J<<10)|0;v[f+44>>2]=a;b=(Qa(b,m)|0)<(Qa(a,n)|0);a=ed(f+40|0);if(!((e|0)!=65536?(g|0)>=1:0)){Cd(f);Cd(f+40|0);k=Qa(v[f>>2],v[f+44>>2])-Qa(v[f+4>>2],v[f+40>>2])|0}b=b?1:-1}v[f+36>>2]=0;if((a|0)>(H|0)){break j}n=$?0-b|0:b;m=B(d+ea|0,12)+M|0;h=m;e=w[h+8|0];if(e){g=v[m>>2];if((g|0)<=(a|0)){b=g-a|0;i=b>>31;if((i^b+i)>>>0>31){break j}i=v[m+4>>2];b=i>>31;L=a;a=k>>31;a=(b^b+i)>>>0>(a+k^a)>>>0;v[m>>2]=a?g:L;v[m+4>>2]=a?i:k;t[h+8|0]=a?e:n;break j}v[m>>2]=a;v[m+4>>2]=k;t[h+8|0]=n;t[m+11|0]=w[299467];a=w[299465]|w[299466]<<8;t[m+9|0]=a;t[m+10|0]=a>>>8;break j}v[m>>2]=a;v[m+4>>2]=k;t[h+8|0]=n;t[m+11|0]=w[299467];a=w[299465]|w[299466]<<8;t[m+9|0]=a;t[m+10|0]=a>>>8}d=d+1|0;if((V|0)>(d|0)){continue}break}}q=q+1|0;if((U|0)>(q|0)){continue}break h}break}v[f+36>>2]=6;break d}j=v[j+36>>2];if(j){continue}break}}I=v[I+12>>2];if(I){continue}break}}if((G|0)<1|(C|0)<1){break d}c=T?(T|0)>-1?1:-1:-1;b=0;while(1){i=B(b,C);d=c;k=0;while(1){e=i+k|0;g=B(e,12)+M|0;a=w[g+8|0];m:{if(a){d=a;a=v[g>>2];if((H|0)>=(a|0)){break m}}v[g>>2]=H;a=H}h=a;a=d<<24>>24;a=B(h,Z?0-a|0:a);v[g>>2]=a;g=ab(a,H);a=g>>31;l=e+_|0;e=a^a+g;a=e>>>9|0;e=(g|0)>0?e>>>0>65535?127:a:a;a=e&255;h=e>>>0>128?128:a;e=(g|0)<0;a=e?h:a;t[l|0]=(e?0-a|0:a)^128;k=k+1|0;if((C|0)!=(k|0)){continue}break}b=b+1|0;if((G|0)!=(b|0)){continue}break}break d}v[f+36>>2]=19;break d}v[f+36>>2]=6;y=0}if(M){Ea[v[y+8>>2]](y,M)}k=v[f+36>>2]}Ca=f+48|0;return k}function Ip(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,u=0,x=0;f=v[b+4>>2];a:{if(f>>>0>a>>>0){break a}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<2){break a}h=v[b+12>>2];e=h-2|0;v[b+12>>2]=e;if(!(w[a+1|0]|w[a|0]<<8)|(e|0)<1){break a}e=f;f=a+4|0;if(e>>>0>f>>>0|c>>>0<f>>>0|c-f>>>0<4){break a}c=h-6|0;v[b+12>>2]=c;if((c|0)<1){break a}d=1;c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);s=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!s){break a}i=a+8|0;while(1){d=0;f=v[b+4>>2];c=i+4|0;b:{if(f>>>0>c>>>0){break b}a=v[b+8>>2];if(a>>>0<c>>>0|a-c>>>0<4){break b}h=v[b+12>>2]-4|0;v[b+12>>2]=h;if((h|0)<1){break b}c=w[i+4|0]|w[i+5|0]<<8|(w[i+6|0]<<16|w[i+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0<16|f>>>0>i>>>0|(a>>>0<i>>>0|c>>>0>a-i>>>0)){break b}h=h-c|0;v[b+12>>2]=h;if((h|0)<1){break b}c=w[i+8|0]|w[i+9|0]<<8|(w[i+10|0]<<16|w[i+11|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0>357913940){break b}if(c){e=f;f=i+16|0;if(e>>>0>f>>>0|a>>>0<f>>>0){break b}f=a-f|0;a=B(c,12);if(f>>>0<a>>>0){break b}a=h-a|0;v[b+12>>2]=a;if((a|0)<1){break b}a=w[i+8|0]|w[i+9|0]<<8|(w[i+10|0]<<16|w[i+11|0]<<24);c=B(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),12)}else{c=0}d=1;a=w[i+12|0]|w[i+13|0]<<8|(w[i+14|0]<<16|w[i+15|0]<<24);u=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!u){break b}g=(c+i|0)+16|0;r=0;while(1){d=0;c:{if(y[b+4>>2]>g>>>0){break c}a=v[b+8>>2];if(a>>>0<g>>>0){break c}f=a-g|0;if(f>>>0<4){break c}c=v[b+12>>2]-4|0;v[b+12>>2]=c;if((c|0)<1){break c}a=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(a>>>0<13|a>>>0>f>>>0){break c}a=c-a|0;v[b+12>>2]=a;if((a|0)<1){break c}d=v[b+28>>2];a=v[d+12>>2];v[b+4>>2]=a;c=v[d+16>>2];d=c+a|0;v[b+8>>2]=d;d:{if((c|0)<=-1){break d}e:{if(!(d>>>0>g>>>0?a>>>0<=g>>>0:0)){v[b+4>>2]=0;v[b+8>>2]=0;break e}v[b+4>>2]=g;a=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d=d-g|0;v[b+8>>2]=(a>>>0<d>>>0?a:d)+g}d=1;f:{g:{switch(w[g+7|0]){case 0:k=0;m=0;n=0;a=g+12|0;f=v[b+4>>2];h:{i:{if(a>>>0<f>>>0){break i}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<16){break i}h=v[b+12>>2];c=h-16|0;v[b+12>>2]=c;if((c|0)<1){break i}c=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0<4){break i}c=a+4|0;if(c>>>0<f>>>0|c>>>0>d>>>0|d-c>>>0<4){break i}d=h-20|0;v[b+12>>2]=d;if((d|0)<1){break i}c=t[c|0];if((c|0)<0){break i}e=0;if(!qe(a+(w[a+7|0]|(w[a+5|0]<<16|(c&255)<<24|w[a+6|0]<<8))|0,b)){break h}d=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);l=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(l>>>0>2147483646){break i}d=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);o=a+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;d=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);f=a+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;q=l<<1;e=0;h=0;a=0;c=0;while(1){j:{if(!(e&1)){d=c;break j}k:{if(!l){d=0-a|0;e=0;break k}if(4294967295/(l>>>0)>>>0<=a>>>0){break i}d=0-a|0;if(d>>>0>=4294967295/(q>>>0)>>>0){break i}e=B(a,l)}j=(e<<1)+f|0;d=B(d,q);l:{if(!d){d=v[b+12>>2];break l}if(j>>>0<y[b+4>>2]){break i}p=v[b+8>>2];if(p>>>0<j>>>0|d>>>0>p-j>>>0){break i}d=v[b+12>>2]-d|0;v[b+12>>2]=d;if((d|0)<1){break i}}d=(a-h|0)+d|0;v[b+12>>2]=d;if((d|0)<1|(e|0)>0){break i}d=c;h=a;e=f;if(j>>>0>=e>>>0){break j}while(1){e=e-2|0;h=w[e|0]<<8|w[e+1|0];d=d>>>0>h>>>0?d:h+1|0;if(e>>>0>j>>>0){continue}break}h=a}if((k|0)<=(m|0)){j=m+1|0;e=0;if(!(!l|j>>>0<4294967295/(q>>>0)>>>0)){break h}e=B(j,q);m:{if(!e){e=v[b+12>>2];break m}if(f>>>0<y[b+4>>2]){break i}p=v[b+8>>2];if(p>>>0<f>>>0|e>>>0>p-f>>>0){break i}e=v[b+12>>2]-e|0;v[b+12>>2]=e;if((e|0)<1){break i}}e=((m^-1)+k|0)+e|0;v[b+12>>2]=e;if((e|0)<1|(j>>>0>=4294967295/(l>>>0)>>>0?l:0)){break i}e=B(j,l);if((e|0)<0){break i}k=B(k,l);if((k|0)<(e|0)){n=f+(e<<1)|0;e=f+(k<<1)|0;while(1){k=w[e+1|0]|w[e|0]<<8;d=d>>>0>k>>>0?d:k+1|0;e=e+2|0;if(n>>>0>e>>>0){continue}break}}k=j}n=0;if(d>>>0>1073741822){break i}j=d<<2;n:{if(!d){e=v[b+12>>2];break n}if(y[b+4>>2]>o>>>0){break i}e=v[b+8>>2];if(e>>>0<o>>>0|j>>>0>e-o>>>0){break i}e=v[b+12>>2]-j|0;v[b+12>>2]=e;if((e|0)<1){break i}}e=(c-d|0)+e|0;v[b+12>>2]=e;if((e|0)<1){break i}if((c|0)<(d|0)){j=j+o|0;e=(c<<2)+o|0;while(1){c=w[e+1|0]|w[e|0]<<8;m=(c|0)>(m|0)?c:m;a=(a|0)>(c|0)?c:a;e=e+4|0;if(j>>>0>e>>>0){continue}break}}c=d;e=(a|0)<(h|0);if(e|(k|0)<=(m|0)){continue}break}n=1}e=n}d=e;break f;case 1:c=0;a=0;d=0;h=Ca-16|0;Ca=h;v[h+8>>2]=0;f=g+12|0;o:{if(!Hp(f,b,h+8|0)){break o}j=v[h+8>>2];if(j){c=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);n=f+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=0;while(1){e=n+(a<<3)|0;k=w[e+4|0]<<8|w[e+5|0];c=(k|0)==65535?c:c>>>0>k>>>0?c:k+1|0;e=w[e+7|0]|w[e+6|0]<<8;c=(e|0)==65535?c:c>>>0>e>>>0?c:e+1|0;a=a+1|0;if((j|0)!=(a|0)){continue}break}}a=f+16|0;if(a>>>0<y[b+4>>2]){break o}e=v[b+8>>2];if(e>>>0<a>>>0|e-a>>>0<4){break o}e=v[b+12>>2]-4|0;v[b+12>>2]=e;if((e|0)<1){break o}a=t[a|0];if((a|0)<0){break o}e=f+(w[f+19|0]|(w[f+17|0]<<16|(a&255)<<24|w[f+18|0]<<8))|0;v[h+12>>2]=e;p:{if(c>>>0>1073741822){break p}if(c){if(e>>>0<y[b+4>>2]){break p}a=v[b+8>>2];if(a>>>0<e>>>0){break p}f=a-e|0;a=c<<2;if(f>>>0<a>>>0){break p}a=v[b+12>>2]-a|0;v[b+12>>2]=a;if((a|0)<1){break p}a=0;while(1){f=e+(a<<2)|0;if(f>>>0<y[b+4>>2]){break p}k=v[b+8>>2];if(k>>>0<f>>>0|k-f>>>0<4){break p}k=v[h+12>>2];j=v[b+12>>2]-4|0;v[b+12>>2]=j;if((j|0)<1){break p}j=t[f|0];if((j|0)<0){break p}if(!qe(k+(w[f+3|0]|(w[f+1|0]<<16|(j&255)<<24|w[f+2|0]<<8))|0,b)){break p}a=a+1|0;if((a|0)!=(c|0)){continue}break}}d=1}}Ca=h+16|0;break f;case 2:a=0;d=g+12|0;q:{if(d>>>0<y[b+4>>2]){break q}c=v[b+8>>2];if(c>>>0<d>>>0|c-d>>>0<28){break q}c=v[b+12>>2]-28|0;v[b+12>>2]=c;if((c|0)<1){break q}if(!Gp(d,b)){break q}c=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);if(!(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))){break q}c=w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24);if(!(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))){break q}a=w[d+24|0]|w[d+25|0]<<8|(w[d+26|0]<<16|w[d+27|0]<<24);a=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}d=a;break f;case 4:d=qe(g+12|0,b);break f;case 5:break g;default:break f}}d=0;a=g+12|0;if(a>>>0<y[b+4>>2]){break f}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<20){break f}c=v[b+12>>2]-20|0;v[b+12>>2]=c;if((c|0)<1){break f}if(!Hp(a,b,0)){break f}a=w[g+28|0]|w[g+29|0]<<8|(w[g+30|0]<<16|w[g+31|0]<<24);d=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}a=v[b+28>>2];c=v[a+12>>2];v[b+4>>2]=c;a=v[a+16>>2];v[b+8>>2]=a+c;if((a|0)<=-1){break d}break c}O(229360,229385,194,229402);L()}if(!d){break b}a=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);g=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+g|0;r=r+1|0;if((u|0)!=(r|0)){continue}break}}if(!d){break a}a=w[i+4|0]|w[i+5|0]<<8|(w[i+6|0]<<16|w[i+7|0]<<24);i=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+i|0;x=x+1|0;if((x|0)!=(s|0)){continue}break}}return d}function tO(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;h=v[c+88>>2];i=39;g=1;a=0;k=v[c+76>>2];d=!k;while(1){a:{b:{c:{if(!d){d=i<<1;j=u[d+276944>>1]+275584|0;b=t[i+277232|0];a=w[i+277984|0]==10?e:a;i=w[(B(e,20)+h|0)+18|0];l=w[d+275296|0];if(i>>>0>=l>>>0){b=i>>>0>w[d+275297|0]?b:i-l|0}b=w[b+j|0];break c}if((i|0)==39){break b}e=k;b=u[(i<<1)+277696>>1]-1|0}i=w[b+277376|0];b=t[b+277536|0];d:{if(!b){break d}e:{f:{switch(b-1|0){case 1:f=e+1|0;break d;case 10:f=e+1|0;g:{if(f>>>0<=a>>>0){break g}j=g<<4|5;b=a;l=e-b|0;d=l+1&7;if(d){while(1){t[(B(b,20)+h|0)+15|0]=j;b=b+1|0;d=d-1|0;if(d){continue}break}}if(l>>>0<=6){break g}while(1){d=B(b,20)+h|0;t[d+35|0]=j;t[d+15|0]=j;t[d+55|0]=j;t[d+75|0]=j;t[d+95|0]=j;t[d+115|0]=j;t[d+135|0]=j;t[d+155|0]=j;d=b+7|0;b=b+8|0;if((d|0)!=(e|0)){continue}break}}b=g+1|0;g=(b|0)==16?1:b;break d;case 12:h:{if(a>>>0>=e>>>0){break h}d=g<<4;b=a;f=e-b&7;if(f){while(1){t[(B(b,20)+h|0)+15|0]=d;b=b+1|0;f=f-1|0;if(f){continue}break}}if((a^-1)+e>>>0<=6){break h}while(1){f=B(b,20)+h|0;t[f+35|0]=d;t[f+15|0]=d;t[f+55|0]=d;t[f+75|0]=d;t[f+95|0]=d;t[f+115|0]=d;t[f+135|0]=d;t[f+155|0]=d;b=b+8|0;if((e|0)!=(b|0)){continue}break}}b=g+1|0;g=(b|0)==16?1:b;f=e;e=e-1|0;break d;case 13:i:{if(a>>>0>=e>>>0){break i}d=g<<4|1;b=a;f=e-b&7;if(f){while(1){t[(B(b,20)+h|0)+15|0]=d;b=b+1|0;f=f-1|0;if(f){continue}break}}if((a^-1)+e>>>0<=6){break i}while(1){f=B(b,20)+h|0;t[f+35|0]=d;t[f+15|0]=d;t[f+55|0]=d;t[f+75|0]=d;t[f+95|0]=d;t[f+115|0]=d;t[f+135|0]=d;t[f+155|0]=d;b=b+8|0;if((e|0)!=(b|0)){continue}break}}b=g+1|0;g=(b|0)==16?1:b;f=e;e=e-1|0;break d;case 16:j:{if(a>>>0>=e>>>0){break j}d=g<<4|2;b=a;f=e-b&7;if(f){while(1){t[(B(b,20)+h|0)+15|0]=d;b=b+1|0;f=f-1|0;if(f){continue}break}}if((a^-1)+e>>>0<=6){break j}while(1){f=B(b,20)+h|0;t[f+35|0]=d;t[f+15|0]=d;t[f+55|0]=d;t[f+75|0]=d;t[f+95|0]=d;t[f+115|0]=d;t[f+135|0]=d;t[f+155|0]=d;b=b+8|0;if((e|0)!=(b|0)){continue}break}}b=g+1|0;g=(b|0)==16?1:b;f=e;e=e-1|0;break d;case 18:k:{if(a>>>0>=e>>>0){break k}d=g<<4|3;b=a;f=e-b&7;if(f){while(1){t[(B(b,20)+h|0)+15|0]=d;b=b+1|0;f=f-1|0;if(f){continue}break}}if((a^-1)+e>>>0<=6){break k}while(1){f=B(b,20)+h|0;t[f+35|0]=d;t[f+15|0]=d;t[f+55|0]=d;t[f+75|0]=d;t[f+95|0]=d;t[f+115|0]=d;t[f+135|0]=d;t[f+155|0]=d;b=b+8|0;if((e|0)!=(b|0)){continue}break}}b=g+1|0;g=(b|0)==16?1:b;f=e;e=e-1|0;break d;case 14:l:{if(a>>>0>=e>>>0){break l}d=g<<4|4;b=a;f=e-b&7;if(f){while(1){t[(B(b,20)+h|0)+15|0]=d;b=b+1|0;f=f-1|0;if(f){continue}break}}if((a^-1)+e>>>0<=6){break l}while(1){f=B(b,20)+h|0;t[f+35|0]=d;t[f+15|0]=d;t[f+55|0]=d;t[f+75|0]=d;t[f+95|0]=d;t[f+115|0]=d;t[f+135|0]=d;t[f+155|0]=d;b=b+8|0;if((e|0)!=(b|0)){continue}break}}b=g+1|0;g=(b|0)==16?1:b;f=e;e=e-1|0;break d;case 15:m:{if(a>>>0>=e>>>0){break m}d=g<<4|5;b=a;f=e-b&7;if(f){while(1){t[(B(b,20)+h|0)+15|0]=d;b=b+1|0;f=f-1|0;if(f){continue}break}}if((a^-1)+e>>>0<=6){break m}while(1){f=B(b,20)+h|0;t[f+35|0]=d;t[f+15|0]=d;t[f+55|0]=d;t[f+75|0]=d;t[f+95|0]=d;t[f+115|0]=d;t[f+135|0]=d;t[f+155|0]=d;b=b+8|0;if((e|0)!=(b|0)){continue}break}}b=g+1|0;g=(b|0)==16?1:b;f=e;e=e-1|0;break d;case 0:n:{if(a>>>0>=f>>>0){break n}e=g<<4;b=a;d=f-b&7;if(d){while(1){t[(B(b,20)+h|0)+15|0]=e;b=b+1|0;d=d-1|0;if(d){continue}break}}if((a^-1)+f>>>0<=6){break n}while(1){d=B(b,20)+h|0;t[d+35|0]=e;t[d+15|0]=e;t[d+55|0]=e;t[d+75|0]=e;t[d+95|0]=e;t[d+115|0]=e;t[d+135|0]=e;t[d+155|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}e=f-1|0;b=g+1|0;g=(b|0)==16?1:b;break d;case 2:o:{if(a>>>0>=f>>>0){break o}e=g<<4|1;b=a;d=f-b&7;if(d){while(1){t[(B(b,20)+h|0)+15|0]=e;b=b+1|0;d=d-1|0;if(d){continue}break}}if((a^-1)+f>>>0<=6){break o}while(1){d=B(b,20)+h|0;t[d+35|0]=e;t[d+15|0]=e;t[d+55|0]=e;t[d+75|0]=e;t[d+95|0]=e;t[d+115|0]=e;t[d+135|0]=e;t[d+155|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}e=f-1|0;b=g+1|0;g=(b|0)==16?1:b;break d;case 6:p:{if(a>>>0>=f>>>0){break p}e=g<<4|2;b=a;d=f-b&7;if(d){while(1){t[(B(b,20)+h|0)+15|0]=e;b=b+1|0;d=d-1|0;if(d){continue}break}}if((a^-1)+f>>>0<=6){break p}while(1){d=B(b,20)+h|0;t[d+35|0]=e;t[d+15|0]=e;t[d+55|0]=e;t[d+75|0]=e;t[d+95|0]=e;t[d+115|0]=e;t[d+135|0]=e;t[d+155|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}e=f-1|0;b=g+1|0;g=(b|0)==16?1:b;break d;case 7:q:{if(a>>>0>=f>>>0){break q}e=g<<4|3;b=a;d=f-b&7;if(d){while(1){t[(B(b,20)+h|0)+15|0]=e;b=b+1|0;d=d-1|0;if(d){continue}break}}if((a^-1)+f>>>0<=6){break q}while(1){d=B(b,20)+h|0;t[d+35|0]=e;t[d+15|0]=e;t[d+55|0]=e;t[d+75|0]=e;t[d+95|0]=e;t[d+115|0]=e;t[d+135|0]=e;t[d+155|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}e=f-1|0;b=g+1|0;g=(b|0)==16?1:b;break d;case 3:r:{if(a>>>0>=f>>>0){break r}e=g<<4|4;b=a;d=f-b&7;if(d){while(1){t[(B(b,20)+h|0)+15|0]=e;b=b+1|0;d=d-1|0;if(d){continue}break}}if((a^-1)+f>>>0<=6){break r}while(1){d=B(b,20)+h|0;t[d+35|0]=e;t[d+15|0]=e;t[d+55|0]=e;t[d+75|0]=e;t[d+95|0]=e;t[d+115|0]=e;t[d+135|0]=e;t[d+155|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}e=f-1|0;b=g+1|0;g=(b|0)==16?1:b;break d;case 5:s:{switch(m-1|0){case 0:t:{if(a>>>0>=f>>>0){break t}e=g<<4;b=a;d=f-b&7;if(d){while(1){t[(B(b,20)+h|0)+15|0]=e;b=b+1|0;d=d-1|0;if(d){continue}break}}if((a^-1)+f>>>0<=6){break t}while(1){d=B(b,20)+h|0;t[d+35|0]=e;t[d+15|0]=e;t[d+55|0]=e;t[d+75|0]=e;t[d+95|0]=e;t[d+115|0]=e;t[d+135|0]=e;t[d+155|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}e=f-1|0;m=1;b=g+1|0;g=(b|0)==16?1:b;break d;case 4:u:{if(a>>>0>=f>>>0){break u}e=g<<4|4;b=a;d=f-b&7;if(d){while(1){t[(B(b,20)+h|0)+15|0]=e;b=b+1|0;d=d-1|0;if(d){continue}break}}if((a^-1)+f>>>0<=6){break u}while(1){d=B(b,20)+h|0;t[d+35|0]=e;t[d+15|0]=e;t[d+55|0]=e;t[d+75|0]=e;t[d+95|0]=e;t[d+115|0]=e;t[d+135|0]=e;t[d+155|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}e=f-1|0;b=g+1|0;g=(b|0)==16?1:b;m=5;break d;case 5:break s;default:break d}}v:{if(a>>>0>=f>>>0){break v}e=g<<4|5;b=a;d=f-b&7;if(d){while(1){t[(B(b,20)+h|0)+15|0]=e;b=b+1|0;d=d-1|0;if(d){continue}break}}if((a^-1)+f>>>0<=6){break v}while(1){d=B(b,20)+h|0;t[d+35|0]=e;t[d+15|0]=e;t[d+55|0]=e;t[d+75|0]=e;t[d+95|0]=e;t[d+115|0]=e;t[d+135|0]=e;t[d+155|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}e=f-1|0;b=g+1|0;g=(b|0)==16?1:b;break e;case 17:m=1;f=e+1|0;break d;case 4:f=e+1|0;m=5;break d;case 11:break f;default:break d}}f=e+1|0}m=6}a=w[i+278128|0]==9?0:a;e=e+1|0;if((k|0)!=(e|0)){break a}d=1;continue}b=v[c+76>>2];w:{if(!b){break w}a=b-1|0;e=0;f=v[c+88>>2];g=w[f+15|0];while(1){x:{if((a|0)==(e|0)){e=b;break x}e=e+1|0;if((g|0)==w[(f+B(e,20)|0)+15|0]){continue}}break}if(!b){break w}i=0;g=b;while(1){a=e;if(e-i>>>0>=2){Mb(c,i,a);g=v[c+76>>2]}e=a+1|0;f=e>>>0<g>>>0?g:e;i=f-1|0;k=v[c+88>>2];h=w[(k+B(a,20)|0)+15|0];e=a;while(1){y:{if((e|0)==(i|0)){e=f;break y}e=e+1|0;if((h|0)==w[(k+B(e,20)|0)+15|0]){continue}}break}i=a;if(a>>>0<b>>>0){continue}break}}return}d=0;continue}}function Ge(a,b,c,d,e,f){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,x=0,z=0,A=0,C=0,D=0,E=0,F=0;g=Ca-80|0;Ca=g;p=v[a>>2];a:{if(f){break a}i=v[a+4>>2];if(w[i+12|0]){break a}k=v[d>>2];v[g+68>>2]=0;v[g+72>>2]=0;v[g+60>>2]=0;v[g+64>>2]=0;v[g+52>>2]=0;v[g+56>>2]=0;v[g+48>>2]=k;Ge(i,b,c,g+48|0,e,1)}b:{c:{d:{if(w[d+4|0]){break d}c=v[c+16>>2]+v[b+16>>2]|0;e:{if(c>>>0>=97){b=v[d>>2];if(!b|v[b>>2]){break e}v[b>>2]=18;break e}v[d+8>>2]=c;u[d+4>>1]=257;i=c+7>>>3|0;v[d+12>>2]=i;if(!c){break d}k=-1<<(0-c&7);f:{if(i){c=0;while(1){t[(c+d|0)+16|0]=255;c=c+1|0;i=v[d+12>>2];if(c>>>0<i>>>0){continue}break}c=(d+i|0)+15|0;break f}c=d+15|0}t[c|0]=k&w[c|0];if(w[d+4|0]){break d}}if(!w[p+8|0]){break b}v[v[d>>2]>>2]=0;a=a+13|0;break c}v[a+20>>2]=0;v[a+24>>2]=0;v[g+72>>2]=v[d+24>>2];i=v[d+20>>2];m=g- -64|0;c=m;v[c>>2]=v[d+16>>2];v[c+4>>2]=i;c=v[d+12>>2];v[g+56>>2]=v[d+8>>2];v[g+60>>2]=c;c=v[d+4>>2];v[g+48>>2]=v[d>>2];v[g+52>>2]=c;x=v[b+16>>2];if(x>>>0>y[d+8>>2]){break b}if(w[p+249|0]){v[g+40>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;Eh(a,p+288|0,g+24|0);Eh(a,g+24|0,p+268|0)}if(x){i=0;z=128;k=m;while(1){g:{if(!(w[k|0]&z)){break g}j=v[a+16>>2];v[g+40>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;c=i;q=v[b+16>>2];h:{if(c>>>0<q>>>0){break h}c=0;h=v[b+4>>2];if(!h|v[h>>2]){break h}v[h>>2]=130}i:{j:{k:{c=v[b+24>>2]+B(v[b+8>>2],c)|0;h=v[c+8>>2];n=v[c+4>>2];l=h-n|0;if((l|0)==-1376256){n=1}else{if((l|0)==-1310720){break k}h=(l|0)<0?h:n;n=4}v[g+40>>2]=j;v[g+24>>2]=n;v[g+28>>2]=i;o=e+h|0;v[g+32>>2]=o;if(!w[c|0]){break j}r=v[c+12>>2];n=n|16;v[g+24>>2]=n;v[g+36>>2]=r;break i}v[g+40>>2]=j;v[g+32>>2]=e;n=0;v[g+24>>2]=0;v[g+28>>2]=i;o=e}r=Qa(o,j);v[g+36>>2]=r;q=v[b+16>>2]}h=v[a+16>>2];v[g+16>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=0;v[g+4>>2]=0;c=i;l:{if(q>>>0>c>>>0){break l}c=0;j=v[b+4>>2];if(!j|v[j>>2]){break l}v[j>>2]=130}j=g;m:{n:{c=v[b+24>>2]+B(v[b+8>>2],c)|0;s=v[c+8>>2];q=v[c+4>>2];l=s-q|0;if((l|0)==-1310720){l=2}else{if((l|0)==-1376256){v[g+16>>2]=h;v[g+8>>2]=e;l=0;v[g>>2]=0;v[g+4>>2]=i;j=e;break n}q=(l|0)<0?q:s;l=8}v[j>>2]=l;j=v[p+232>>2];v[g+16>>2]=h;v[g+4>>2]=i;j=((j<<1)+q|0)+e|0;v[g+8>>2]=j;if(!w[c|0]){break n}s=v[c+16>>2];l=l|16;v[g>>2]=l;break m}s=Qa(j,h)}v[g+12>>2]=s;o:{if((l|n)&16){break o}A=v[p+244>>2];if(!A){break g}q=v[p+260>>2];h=l&10;p:{q:{r:{s:{if(!(n&5)){c=0;if(!h){break g}while(1){h=B(c,20)+p|0;t:{if(w[h+324|0]){break t}C=v[h+308>>2];if((C-q|0)>(j|0)){break t}if((q+v[h+312>>2]|0)>=(j|0)){break s}}c=c+1|0;if((A|0)!=(c|0)){continue}break}break g}c=0;if(!h){while(1){j=B(c,20)+p|0;if(!(!w[j+324|0]|(v[j+308>>2]-q|0)>(o|0))){h=v[j+312>>2];if((q+h|0)>=(o|0)){break r}}c=c+1|0;if((A|0)!=(c|0)){continue}break g}}while(1){h=B(c,20)+p|0;C=v[h+308>>2];D=C-q|0;u:{if(w[h+324|0]){if((o|0)<(D|0)){break u}h=v[h+312>>2];if((q+h|0)<(o|0)){break u}break r}if((j|0)<(D|0)){break u}if((q+v[h+312>>2]|0)>=(j|0)){break s}}c=c+1|0;if((A|0)!=(c|0)){continue}break}break g}h=v[(B(c,20)+p|0)+320>>2];v:{if(w[p+248|0]){break v}o=s+32768&-65536;h=o;if(v[p+256>>2]>(j-C|0)){break v}c=v[(B(c,20)+p|0)+320>>2]+65536|0;h=(c|0)<(o|0)?o:c}c=h-s|0;if(!n){break p}break q}if(w[p+248|0]){c=v[(B(c,20)+p|0)+320>>2]-r|0;break q}j=r+32768&-65536;if(v[p+256>>2]<=(h-o|0)){c=v[(B(c,20)+p|0)+320>>2]-65536|0;j=(c|0)>(j|0)?j:c}c=j-r|0}v[g+24>>2]=n|16;v[g+36>>2]=c+r}if(!l){break o}v[g>>2]=l|16;v[g+12>>2]=c+s}Eh(a,g+24|0,g);t[k|0]=w[k|0]&(z^-1)}c=(i&7)==7;k=c?k+1|0:k;z=c?128:z>>>1&127;i=i+1|0;if((x|0)!=(i|0)){continue}break}}w:{if(!f){if(!x){break w}c=0;i=128;while(1){if(w[m|0]&i){l=v[a+16>>2];v[g+40>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;k=c;j=v[b+16>>2];x:{if(j>>>0>c>>>0){break x}k=0;h=v[b+4>>2];if(!h|v[h>>2]){break x}v[h>>2]=130}y:{z:{A:{n=v[b+24>>2]+B(v[b+8>>2],k)|0;h=v[n+8>>2];o=v[n+4>>2];k=h-o|0;if((k|0)==-1376256){k=1}else{if((k|0)==-1310720){break A}h=(k|0)<0?h:o;k=4}v[g+40>>2]=l;v[g+24>>2]=k;v[g+28>>2]=c;h=e+h|0;v[g+32>>2]=h;if(!w[n|0]){break z}h=v[n+12>>2];v[g+24>>2]=k|16;v[g+36>>2]=h;break y}v[g+40>>2]=l;v[g+32>>2]=e;v[g+24>>2]=0;v[g+28>>2]=c;h=e}E=g,F=Qa(h,l),v[E+36>>2]=F;j=v[b+16>>2]}l=v[a+16>>2];v[g+16>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=0;v[g+4>>2]=0;k=c;B:{if(c>>>0<j>>>0){break B}k=0;j=v[b+4>>2];if(!j|v[j>>2]){break B}v[j>>2]=130}C:{D:{h=g;n=v[b+24>>2]+B(v[b+8>>2],k)|0;o=v[n+8>>2];j=v[n+4>>2];k=o-j|0;if((k|0)==-1310720){k=2}else{if((k|0)==-1376256){v[g+16>>2]=l;v[g+8>>2]=e;v[g>>2]=0;v[g+4>>2]=c;j=e;break D}j=(k|0)<0?j:o;k=8}v[h>>2]=k;h=v[p+232>>2];v[g+16>>2]=l;v[g+4>>2]=c;j=((h<<1)+j|0)+e|0;v[g+8>>2]=j;if(!w[n|0]){break D}j=v[n+16>>2];v[g>>2]=k|16;v[g+12>>2]=j;break C}E=g,F=Qa(j,l),v[E+12>>2]=F}Eh(a,g+24|0,g)}k=(c&7)==7;m=k?m+1|0:m;i=k?128:i>>>1&127;c=c+1|0;if((x|0)!=(c|0)){continue}break}break w}c=v[a+20>>2];if(!(v[(B(c,20)+a|0)+16>>2]>-1?!c|v[a+36>>2]>0:1)){break w}v[g+36>>2]=0;v[g+28>>2]=0;v[g+32>>2]=0;v[g+24>>2]=49;c=v[a+16>>2];v[g+8>>2]=0;v[g+12>>2]=0;v[g+16>>2]=0;v[g>>2]=0;v[g+4>>2]=0;v[g+40>>2]=c;Eh(a,g+24|0,g)}c=0;v[v[a+8>>2]+16>>2]=0;l=v[a+20>>2];E:{if(!l){break E}p=a+28|0;while(1){n=B(c,20);e=n+p|0;q=e;k=c+1|0;i=v[e>>2];r=i&12;j=r?k:c;z=B(j,20);m=z+p|0;s=m;F:{if(i&16){break F}o=v[e+12>>2];i=o&65535;e=i?65536-i|0:0;x=v[m+12>>2];m=x&65535;h=m?65536-m|0:0;e=e>>>0<h>>>0?e:h;h=i>>>0<m>>>0?i:m;i=0-h|0;G:{H:{if(j>>>0<l-1>>>0){l=B(j+1|0,20)+a|0;if(v[l+40>>2]<((e+x|0)+32768|0)){break H}}if(!(!c|v[(a+n|0)+20>>2]<=((o-h|0)-32768|0))){i=e;break G}i=(e|0)>(h|0)?i:e;break G}I:{if(c){m=0;if(v[(a+n|0)+20>>2]>((o-h|0)-32768|0)){break I}}m=i;if((e|0)>=(h|0)){break G}}if(!(w[l+28|0]&16)){v[g+24>>2]=j;v[g+28>>2]=e-m;kv(v[a+8>>2],g+24|0)}i=m}v[q+12>>2]=i+o;if(!r){break F}v[s+12>>2]=i+x}J:{if(!c){break J}e=a+n|0;i=v[e+36>>2];e=v[e+16>>2];if((i|0)==(e|0)){break J}m=B(c-1|0,20)+a|0;E=m,F=ab(v[q+12>>2]-v[m+40>>2]|0,i-e|0),v[E+44>>2]=F}if(r){c=a+z|0;e=v[c+36>>2];c=v[c+16>>2];if((e|0)!=(c|0)){i=B(j-1|0,20)+a|0;E=i,F=ab(v[s+12>>2]-v[i+40>>2]|0,e-c|0),v[E+44>>2]=F}c=k}c=c+1|0;l=v[a+20>>2];if(c>>>0<l>>>0){continue}break}k=v[a+8>>2];e=v[k+16>>2];if(!e){break E}j=v[k+8>>2];h=v[k+24>>2];c=e;while(1){c=c-1|0;K:{if(e>>>0>c>>>0){m=B(c,j);break K}m=v[k+4>>2];if(!(!m|v[m>>2])){v[m>>2]=130}m=0}m=m+h|0;i=B(v[m>>2],20)+a|0;m=v[m+4>>2];l=m+v[i+40>>2]|0;L:{if(v[i+60>>2]<(l+32768|0)){break L}v[i+40>>2]=l;if(!(w[i+28|0]&12)){break L}v[i+20>>2]=m+v[i+20>>2]}if(c){continue}break}}M:{if(f){break M}k=v[a+20>>2];if(!k){break M}c=0;while(1){e=B(c,20)+a|0;m=e;i=v[e+28>>2];if(!(i&32)){k=v[e+32>>2];N:{if(k>>>0<y[b+16>>2]){break N}k=0;f=v[b+4>>2];if(!f|v[f>>2]){break N}v[f>>2]=130;i=v[m+28>>2]}f=v[b+24>>2]+B(v[b+8>>2],k)|0;v[f+(i&10?16:12)>>2]=v[e+40>>2];t[f|0]=1;k=v[a+20>>2]}c=c+1|0;if(k>>>0>c>>>0){continue}break}}t[a+12|0]=1;a=d+5|0}t[a|0]=0}Ca=g+80|0}function KL(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,z=0,A=0;f=Ca+-64|0;Ca=f;v[f+40>>2]=0;g=w[a+48|0];a:{if(!(v[a+536>>2]|!g)){e=8;break a}e=v[a+540>>2];d=v[e>>2];if(!d){h=v[a>>2];v[e+4>>2]=703;d=wb(h,552,f+40|0);v[v[a+540>>2]>>2]=d;e=64;if(v[f+40>>2]){break a}v[d>>2]=h;if(!g){v[d+548>>2]=v[v[a+532>>2]+3088>>2]}v[d+152>>2]=0;v[d+156>>2]=0;e=d+168|0;v[e>>2]=0;v[e+4>>2]=0;v[d+160>>2]=0;v[d+164>>2]=0;v[d+148>>2]=704;v[d+144>>2]=705;v[d+156>>2]=706;v[d+168>>2]=d+4;v[d+164>>2]=h}v[d+176>>2]=a;v[d+172>>2]=a;h=v[a+4>>2];n=t[v[h+128>>2]+56|0];e=v[h+96>>2];i=w[e+32|0];v[f+8>>2]=0;v[f+12>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+36>>2]=b;v[f+28>>2]=b;v[f>>2]=0;v[f+4>>2]=0;v[f+24>>2]=0;v[f+32>>2]=b?b+c|0:0;b=v[a+8>>2];l=w[b+161|0];c=f;j=w[b+160|0];b:{if(j){m=(v[b+164>>2]+32|0)/64|0;v[f>>2]=m;b=(v[b+168>>2]+32|0)/64|0;break b}m=1024;v[f>>2]=1024;b=1024}v[c+12>>2]=b;c=0;c=g?c:w[h+732|0];t[d+8|0]=g;t[d+9|0]=c;c=(j|0)!=0;v[d+12>>2]=c;if(!(!l|(i|(n|0)>-1?n:0))){v[d+12>>2]=c|2}v[d+188>>2]=v[e+36>>2];v[d+192>>2]=v[e+40>>2];v[d+196>>2]=v[e+44>>2];v[d+200>>2]=v[e+48>>2];v[d+204>>2]=v[e+52>>2];v[d+208>>2]=v[e+56>>2];v[d+212>>2]=v[e+60>>2];v[d+216>>2]=v[e- -64>>2];c=x[v[a+4>>2]+68>>1];v[d+132>>2]=c;if(l){e=36;if((m|0)<1|(b|0)<1){break a}e=164;if(c<<16>>16<0){break a}a=ab(131072e3,c<<16);if((a|0)<(m|0)|(a|0)<(b|0)){break a}a=v[d+176>>2]}v[f+48>>2]=0;v[f+52>>2]=0;e=0;v[f+44>>2]=0;b=v[d+136>>2];n=v[d+140>>2];v[f+60>>2]=0;v[f+56>>2]=0;v[d+4>>2]=0;c=v[a+536>>2];if((c|0)!=v[d+180>>2]){v[d+180>>2]=c;e=1}c:{d:{if(!(w[d+8|0]|!v[v[a+532>>2]+3112>>2])){g=v[d+548>>2];h=v[a+4>>2];h=Ea[v[v[h+548>>2]+40>>2]](h,f+60|0,0,f+56|0,0)|0;v[d+4>>2]=h;if(h){break d}if(Ea[v[g+12>>2]](c+556|0,v[c+548>>2],v[f+60>>2],v[f+56>>2])|0){Ea[v[g+4>>2]](v[a+532>>2],c,v[f+60>>2],v[f+56>>2])|0;e=1}g=v[c+560>>2];t[d+93|0]=0;v[d+96>>2]=g;v[d+120>>2]=v[c+548>>2];v[d+124>>2]=v[f+60>>2];v[d+128>>2]=v[f+56>>2]}g=x[v[v[a+4>>2]+88>>2]+14>>1]<<16;if((g|0)!=v[d+88>>2]){v[d+88>>2]=g;e=1}c=v[d+12>>2];t[d+184|0]=c&1;e:{f:{g:{if(!lc(f,d+16|0,16)){m=d+186|0;c=c&2;if((c|0)!=w[d+186|0]){break g}if(e){break f}break e}e=v[f+4>>2];v[d+16>>2]=v[f>>2];v[d+20>>2]=e;e=v[f+12>>2];v[d+24>>2]=v[f+8>>2];v[d+28>>2]=e;v[d+32>>2]=0;v[d+36>>2]=0;e=v[f+4>>2];v[d+40>>2]=v[f>>2];v[d+44>>2]=e;e=v[f+12>>2];v[d+48>>2]=v[f+8>>2];v[d+52>>2]=e;e=v[f+20>>2];v[d+56>>2]=v[f+16>>2];v[d+60>>2]=e;v[d+72>>2]=0;v[d+76>>2]=65536;v[d+64>>2]=65536;v[d+68>>2]=0;m=d+186|0;c=c&2;if((c|0)==w[d+186|0]){break f}}t[m|0]=c>>>1}c=v[v[a+536>>2]+400>>2]<<16;v[d+220>>2]=c;e=v[d+132>>2];l=e?e:1e3;e=65536e3/(l|0)|0;if((c|0)<=0){c=ab(4915200,e);v[d+220>>2]=c}h=d+188|0;g=(g|0)>262144?g:262144;h:{if((b|0)>=1){c=l<<16;if((ab(c,g)|0)>=(b|0)){b=ab(c,g)}v[d+228>>2]=0;if(!b|(e|0)<655){break h}v[d+228>>2]=(b|0)/2;break h}qv(e,g,c,d+228|0,0,w[d+186|0],h)}b=d;c=v[v[a+536>>2]+396>>2];i:{if(c<<16>=1){a=4915200;if(v[d+220>>2]>c<<17){break i}}a=7208960}a=ab(a,e);v[b+224>>2]=a;qv(e,g,a,d+232|0,n,w[d+186|0],h);a=1;a=v[d+228>>2]?a:v[d+232>>2]!=0;h=0;t[d+236|0]=0;t[d+185|0]=a;a=v[d+176>>2];r=Ra(d+244|0,0,304);v[d+240>>2]=v[d+52>>2];z=d,A=ab(v[v[a+536>>2]+384>>2],65536e3),v[z+252>>2]=A;g=v[a+536>>2];v[d+256>>2]=v[g+388>>2]<<16;v[d+260>>2]=v[g+392>>2]<<16;s=w[g+191|0];n=w[g+190|0];l=w[g+189|0];b=w[g+188|0];j:{k:{l:{if(v[g+524>>2]==1){m:{switch(b|0){case 4:e=v[g+192>>2]<<16;if((e|0)>-7864321|v[g+196>>2]<<16>-7864321|(v[g+200>>2]<<16<57671681|v[g+204>>2]<<16<57671681)){break k}break;case 0:break m;default:break l}}v[d+296>>2]=-7864321;a=Qa(-7864321,v[d+240>>2]);v[d+288>>2]=49;b=v[d+240>>2];v[d+304>>2]=b;v[d+300>>2]=(a+32768&-65536)-32768;a=(v[d+232>>2]<<1)+57671681|0;v[d+276>>2]=a;a=Qa(a,b);v[d+268>>2]=50;t[d+249|0]=1;v[d+284>>2]=v[d+240>>2];v[d+280>>2]=a+32768&-65536|32768;break e}if(!b){break j}}e=v[g+192>>2]<<16}c=v[d+244>>2];a=B(c,20)+d|0;v[a+308>>2]=e;i=v[g+196>>2]<<16;v[a+312>>2]=i;e=i-e|0;if((e|0)>=0){v[a+316>>2]=i;t[a+324|0]=1;c=c+1|0;v[d+244>>2]=c;h=(e|0)>0?e:0}e=2;if(b>>>0<=2){break j}i=g+192|0;while(1){a=B(c,20)+d|0;o=a;k=e<<2;j=v[k+i>>2]<<16;v[a+308>>2]=j;k=v[i+(k|4)>>2]<<16;v[a+312>>2]=k;p=k-j|0;if((p|0)>=0){q=k;k=v[d+232>>2]<<1;v[a+312>>2]=q+k;j=j+k|0;v[o+308>>2]=j;v[a+316>>2]=j;t[a+324|0]=0;c=c+1|0;v[d+244>>2]=c;h=(h|0)<(p|0)?p:h}e=e+2|0;if(b>>>0>e>>>0){continue}break}}if(l){b=v[r>>2];c=g+248|0;e=0;while(1){a=B(b,20)+d|0;i=e<<2;j=v[i+c>>2]<<16;v[a+308>>2]=j;i=v[c+(i|4)>>2]<<16;v[a+312>>2]=i;j=i-j|0;if((j|0)>=0){v[a+316>>2]=i;t[a+324|0]=1;b=b+1|0;v[d+244>>2]=b;h=(h|0)<(j|0)?j:h}e=e+2|0;if(l>>>0>e>>>0){continue}break}}e=ab(65536,v[d+240>>2]);p=v[d+244>>2];if(p){l=0;r=n>>>0<3;while(1){a=B(l,20)+d|0;i=a;j=v[a+316>>2];n:{if(w[a+324|0]){a=0;c=2147483647;o:{if(!s){break o}while(1){o=v[(g+(a<<2|4)|0)+344>>2]<<16;k=j-o|0;b=k>>31;p:{b=b^b+k;if((b|0)>=(c|0)|(b|0)>=(e|0)){break p}v[i+316>>2]=o;c=b;if(k){break p}c=0;break o}a=a+2|0;if(s>>>0>a>>>0){continue}break}}if(n>>>0<2){break n}b=v[g+292>>2]<<16;j=j-b|0;a=j>>31;a=a^a+j;if((a|0)>=(c|0)|(a|0)>=(e|0)){break n}v[i+316>>2]=b;break n}if(r){break n}o=v[d+232>>2]<<1;a=2;c=2147483647;while(1){q=o+(v[(g+(a<<2)|0)+288>>2]<<16)|0;k=j-q|0;b=k>>31;b=b^b+k;if(!((b|0)>=(c|0)|(b|0)>=(e|0))){v[i+316>>2]=q;c=b;if(!k){break n}}a=a+2|0;if(n>>>0>a>>>0){continue}break}}l=l+1|0;if((p|0)!=(l|0)){continue}break}}q:{if((h|0)<1){break q}if(v[d+252>>2]<=(ab(65536,h)|0)){break q}z=d,A=ab(65536,h),v[z+252>>2]=A}a=v[d+240>>2];b=v[d+252>>2];if((a|0)<(b|0)){t[d+248|0]=1;a=fb(39322,a,b);v[d+264>>2]=(a|0)<6555?32767:39322-a|0}if(w[m|0]){v[d+264>>2]=0}if(!v[d+244>>2]){break e}a=0;c=d+240|0;while(1){b=c+B(a,20)|0;e=w[b+84|0];i=b;k=Qa(v[b+76>>2],v[d+240>>2]);b=v[d+264>>2];v[i+80>>2]=(k+(e?0-b|0:b)|0)+32768&-65536;a=a+1|0;if(a>>>0<y[d+244>>2]){continue}break}}if(v[d+4>>2]){break d}t[d+236|0]=0;b=d+144|0;a=w[d+185|0];while(1){v[d+160>>2]=0;tf(v[v[d+172>>2]+12>>2]);Gh(d,f+24|0,b,f+48|0,0,0,0,f+44|0);if(v[d+4>>2]){break d}if(!(!(a&255)|v[d+160>>2]>-1)){t[d+236|0]=1;a=0;continue}break}g=v[d+172>>2];a=v[g+20>>2];r:{if(!a){break r}s:{t:{b=x[a>>1];e=b<<16>>16;if((e|0)>=2){b=u[(v[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break t}b=0;if(e){break t}c=u[a+2>>1];break s}c=u[a+2>>1];if((c|0)!=(b|0)){break s}u[a>>1]=e-1;break r}u:{if((c|0)<2){break u}h=v[a+4>>2];m=h+(b<<3)|0;h=(h+(c<<3)|0)-8|0;if(v[m>>2]!=v[h>>2]|v[m+4>>2]!=v[h+4>>2]|w[(v[a+8>>2]+c|0)-1|0]!=1){break u}c=c-1|0;u[a+2>>1]=c}if((e|0)<1){break r}i=b;b=(c<<16>>16)-1|0;if((i|0)==(b|0)){u[a+2>>1]=c-1;u[a>>1]=e-1;break r}u[(v[a+12>>2]+(e<<1)|0)-2>>1]=b}lh(v[g+12>>2]);if(!v[d+4>>2]){break c}}e=3;break a}a=v[f+44>>2];e=0;v[d+4>>2]=0;b=v[d+172>>2];if(w[b+48|0]){break a}v[v[b+544>>2]>>2]=a+32768>>16}Ca=f- -64|0;return e|0}function qO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=Ca-32|0;Ca=k;a:{if(v[c+76>>2]){if(Bb(c,b,278329,0)){p=v[c+76>>2];b:{if(!p){break b}f=p-1|0;e=v[c+88>>2];j=w[e+15|0];while(1){c:{if((d|0)==(f|0)){d=p;break c}d=d+1|0;if((j|0)==w[(e+B(d,20)|0)+15|0]){continue}}break}if(!p){break b}i=v[c+88>>2];j=0;while(1){h=d;o=v[a+112>>2];e=v[o+8>>2];d:{if(!e){break d}d=j;if(h>>>0<=d>>>0){break d}while(1){f=B(d,20)+i|0;e:{if((e|0)!=v[f>>2]){break e}m=x[f+12>>1];if((m&96)!=96){break e}t[f+18|0]=4;u[f+12>>1]=m&65439}d=d+1|0;if((h|0)!=(d|0)){continue}break}}m=v[o+88>>2];q=(m|0)!=0;f=j;f:{g:{if(h>>>0<=f>>>0){m=j+1|0;if(m>>>0<h>>>0){break g}break f}h:{while(1){d=f+1|0;if(w[(B(f,20)+i|0)+19|0]>=4){i:{if(!m){break i}e=d;if(d>>>0>=h>>>0){break i}while(1){g=B(e,20)+i|0;if(m&v[g+4>>2]){q=1;m=x[g+12>>1];if((m&112)==48){break i}j:{if(e>>>0>=h>>>0){f=e;break j}if(m&32){f=e;break j}f=e;if(w[g+18|0]!=4){break j}while(1){f=f+1|0;if((h|0)==(f|0)){f=h;break j}d=B(f,20)+i|0;if(w[d+12|0]&32){break j}if(w[d+18|0]==4){continue}break}}t[(B(f,20)+i|0)+19|0]=4;d=f+1|0;q=0;break i}q=1;e=e+1|0;if((h|0)!=(e|0)){continue}break}}k:{if(v[c+52>>2]!=1298954605|d>>>0>=h>>>0){break k}while(1){l:{if(d>>>0>=h>>>0){break l}while(1){e=B(d,20)+i|0;if(w[e+12|0]&32){break l}e=w[e+18|0];if(e>>>0>31|!(1<<e&96)){break l}d=d+1|0;if((h|0)!=(d|0)){continue}break}break k}if((d|0)==(h|0)){break k}e=B(d,20)+i|0;if(w[e+12|0]&32|w[e+18|0]!=4){break k}e=d+1|0;e=(e>>>0<h>>>0?h:e)-1|0;m:{while(1){m=d;d=d+1|0;if(h>>>0<=d>>>0){m=e;break m}g=B(d,20)+i|0;if(w[g+12|0]&32){break m}n=w[g+18|0];l=1<<n;n=n>>>0>31;if(!(l&96?n:1)){continue}break}if(!(l&727046)|n|w[g+19|0]!=8){break m}t[g+19|0]=4;f=d}d=m+2|0;if(h>>>0>d>>>0){continue}break}}if(f>>>0<=j>>>0){break h}f=f-(w[(B(f,20)+i|0)+19|0]>4)|0;break h}f=d;if((d|0)!=(h|0)){continue}break}f=h}n:{if(!((f|0)!=(h|0)|f>>>0<=j>>>0)){f=h;d=f-1|0;e=B(d,20)+i|0;if(w[e+12|0]&32){break n}f=w[e+18|0]==6?d:h}if(f>>>0<=j>>>0|f>>>0>=h>>>0){break n}while(1){d=B(f,20)+i|0;if(w[d+12|0]&32){break n}d=w[d+18|0];if(d>>>0>31|!(1<<d&24)){break n}f=f-1|0;if(j>>>0<f>>>0){continue}break}f=j;m=f+1|0;if(m>>>0<h>>>0){break g}break f}m=j+1|0;n=m>>>0>=h>>>0;o:{if(n|f>>>0<=j>>>0){break o}d=((f|0)==(h|0)?-2:-1)+f|0;p:{q:{r:{e=v[c+52>>2];if((e|0)==1298954605|(e|0)==1415671148){break r}while(1){e=0;s:{if(d>>>0<=j>>>0){break s}while(1){e=B(d,20)+i|0;t:{if(w[e+12|0]&32){break t}g=w[e+18|0];if(g>>>0>31){break t}e=1;if(1<<g&144){break s}}d=d-1|0;if(j>>>0<d>>>0){continue}break}d=j;e=0}g=B(d,20)+i|0;if(w[g+12|0]&32|w[g+18|0]!=4|w[g+19|0]==2){break q}g=d+1|0;if(g>>>0>=h>>>0|(e^1|w[(B(g,20)+i|0)+18|0]!=6)){break r}d=d-1|0;continue}}e=j;g=e;if(d>>>0<=e>>>0){break p}g=j;if(w[(B(d,20)+i|0)+19|0]==2){break p}e=d;while(1){l=d-1|0;g=B(l,20)+i|0;if(w[g+19|0]==2){v[k+24>>2]=v[g+16>>2];r=v[g+12>>2];v[k+16>>2]=v[g+8>>2];v[k+20>>2]=r;r=v[g+4>>2];v[k+8>>2]=v[g>>2];v[k+12>>2]=r;mb(g,B(d,20)+i|0,B(e-l|0,20));d=B(e,20)+i|0;v[d+16>>2]=v[k+24>>2];g=v[k+20>>2];v[d+8>>2]=v[k+16>>2];v[d+12>>2]=g;g=v[k+12>>2];v[d>>2]=v[k+8>>2];v[d+4>>2]=g;f=f-(f>>>0>l>>>0&e>>>0>=f>>>0)|0;d=f+1|0;d=d>>>0<h>>>0?d:h;if(d-e>>>0>=2){rc(c,e,d)}e=e-1|0}d=l;if(j>>>0<d>>>0){continue}break}break o}g=j}e=g;while(1){if(w[(B(e,20)+i|0)+19|0]==2){d=f+1|0;d=d>>>0<h>>>0?d:h;if(d-e>>>0<2){break o}rc(c,e,d);break g}e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(n){break f}}l=B(j,20)+i|0;if(w[l+19|0]!=1|(w[l+18|0]==15|0)==((x[l+12>>1]&96)==32|0)){break f}g=v[v[o>>2]+16>>2];u:{v:{if((g|0)==12){break v}w:{x:{y:{d=m;if(f>>>0>d>>>0){while(1){e=d+1|0;n=B(d,20)+i|0;if(!(w[n+18|0]==4?w[n+12|0]&32:1)){break y}d=e;if((f|0)!=(d|0)){continue}break}}switch(g-5|0){case 4:break w;case 0:break x;default:break v}}if(e>>>0>=f>>>0){break u}g=B(e,20)+i|0;if(w[g+12|0]&32){break u}n=e;e=w[g+18|0];d=e>>>0<32?1<<e&96?n:d:d;break u}d=f+1|0;g=(d>>>0<h>>>0?h:d)-1|0;e=f;while(1){z:{d=e;e=d+1|0;if(h>>>0<=e>>>0){d=g;break z}if(w[(B(e,20)+i|0)+19|0]<6){continue}}break}if(d>>>0>=h>>>0){break v}break u}d=f+1|0;g=(d>>>0<h>>>0?h:d)-1|0;e=f;while(1){A:{d=e;e=d+1|0;if(h>>>0<=e>>>0){d=g;break A}n=w[(B(e,20)+i|0)+19|0];if(n>>>0>31|!(1<<n&22528)){continue}}break}if(d>>>0<h>>>0){break u}}B:{d=m;if(f>>>0<=d>>>0){break B}while(1){C:{e=d+1|0;g=B(d,20)+i|0;if(!(w[g+18|0]==4?w[g+12|0]&32:1)){break C}d=e;if((f|0)!=(d|0)){continue}break B}break}if(e>>>0>=f>>>0){break u}g=B(e,20)+i|0;if(w[g+12|0]&32){break u}n=e;e=w[g+18|0];d=e>>>0<32?1<<e&96?n:d:d;break u}d=h-1|0;e=d>>>0>j>>>0?j:d;d=h;while(1){D:{d=d-1|0;if(j>>>0>=d>>>0){d=e;break D}if(w[(B(d,20)+i|0)+19|0]==14){continue}}break}if(w[o+5|0]){break u}e=B(d,20)+i|0;if(w[e+12|0]&32|w[e+18|0]!=4){break u}e=f+1|0;if(e>>>0>=d>>>0){break u}while(1){d=d-(w[(B(e,20)+i|0)+18|0]==7)|0;e=e+1|0;if(d>>>0>e>>>0){continue}break}}e=d+1|0;if(e-j>>>0>=2){rc(c,j,e)}v[k+24>>2]=v[l+16>>2];e=v[l+12>>2];v[k+16>>2]=v[l+8>>2];v[k+20>>2]=e;e=v[l+4>>2];v[k+8>>2]=v[l>>2];v[k+12>>2]=e;mb(l,B(m,20)+i|0,B(d-j|0,20));e=B(d,20)+i|0;v[e+16>>2]=v[k+24>>2];g=v[k+20>>2];v[e+8>>2]=v[k+16>>2];v[e+12>>2]=g;g=v[k+12>>2];v[e>>2]=v[k+8>>2];v[e+4>>2]=g;f=f-(f>>>0>j>>>0&d>>>0>=f>>>0)|0}E:{if(!q){break E}d=f+1|0;if(h>>>0<=d>>>0){break E}e=v[o+88>>2];F:{G:{while(1){H:{g=B(d,20)+i|0;if(e&v[g+4>>2]){if((x[g+12>>1]&96)!=32){break E}e=v[c+52>>2];if((e|0)==1298954605|(e|0)==1415671148){break H}e=f;if(j>>>0>=e>>>0){break G}while(1){e=f;f=e-1|0;l=B(f,20)+i|0;I:{if(w[l+12|0]&32){break I}l=w[l+18|0];if(l>>>0>31){break I}if(1<<l&144){break G}}if(f>>>0>j>>>0){continue}break}e=j;break F}d=d+1|0;if((h|0)!=(d|0)){continue}break E}break}e=f}if(e>>>0<=j>>>0){break F}f=B(e,20)+i|0;if(w[f-8|0]&32|w[f-2|0]!=4|(w[f+12|0]&32|e>>>0>=h>>>0)){break F}f=w[f+18|0];e=(f>>>0<32&(1<<f&96)!=0)+e|0}f=d+1|0;if(f-e>>>0>=2){rc(c,e,f)}v[k+24>>2]=v[g+16>>2];f=v[g+12>>2];v[k+16>>2]=v[g+8>>2];v[k+20>>2]=f;f=v[g+4>>2];v[k+8>>2]=v[g>>2];v[k+12>>2]=f;f=B(e,20)+i|0;mb(f+20|0,f,B(d-e|0,20));v[f+16>>2]=v[k+24>>2];d=v[k+20>>2];v[f+8>>2]=v[k+16>>2];v[f+12>>2]=d;d=v[k+12>>2];v[f>>2]=v[k+8>>2];v[f+4>>2]=d}d=B(j,20)+i|0;J:{if(w[d+19|0]!=2){break J}K:{if(j){f=j-1|0;if(1<<x[(B(f,20)+i|0)+16>>1]&8190){break K}}v[d+4>>2]=v[d+4>>2]|v[o+116>>2];break J}Mb(c,f,m)}L:{if(!w[o+5|0]){break L}d=v[a+4>>2];if((d|0)==1399418472|(d|0)==1415671148|h-j>>>0<2){break L}rc(c,j,h)}d=v[c+76>>2];f=h+1|0;f=d>>>0>f>>>0?d:f;e=f-1|0;i=v[c+88>>2];j=w[(i+B(h,20)|0)+15|0];d=h;while(1){M:{if((d|0)==(e|0)){d=f;break M}d=d+1|0;if((j|0)==w[(B(d,20)+i|0)+15|0]){continue}}break}j=h;if(h>>>0<p>>>0){continue}break}}Bb(c,b,278358,0)}a=w[c+168|0];if(!(a&64)){break a}a=a<<24>>24;t[c+168|0]=a&191;if((a|0)>=0){break a}t[c+168|0]=a&63}Ca=k+32|0;return}O(278415,278385,163,278400);L()}function Ji(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,y=0,z=0,A=0,B=0;l=a;j=b;b=0;d=Ca-128|0;Ca=d;a:{if(c>>>0>2){break a}q=c;b:{if(!l){be();while(1){c:{l=v[164112];if(l){break c}l=_f();if(!l){continue}be();a=v[164112];v[164112]=a?a:l;if(!a){break c}ac(l);continue}break}v[l+68>>2]=v[l+68>>2]+1;if(!l){break a}break b}v[l+68>>2]=v[l+68>>2]+1}s=v[((q<<2)+l|0)+20>>2];d:{if(q){break d}a=pu();if(a){c=Oc(a);f=$i();$l(f,515562);bc(a);e:{if(!c){break e}a=Wb(c);if(!a){break e}while(1){b=Xe(j,34);f:{if(!b){break f}e=v[b+4>>2];b=e&1?b+(e&-2)|0:e;if(!b){break f}while(1){Gc(d+96|0,b+8|0);g:{if(v[d+96>>2]==8){e=$i();$l(e,a);m=Zi(v[d+104>>2],e);ie(e);if(m){break e}if(!Zi(v[d+104>>2],f)){break g}break e}if(!id(v[d+104>>2],a)){break e}if(!id(v[d+104>>2],515562)){break e}}e=b;b=v[b>>2];b=b&1?e+(b&-2)|0:b;if(b){continue}break}}v[d+120>>2]=a;a=v[d+124>>2];v[d+32>>2]=v[d+120>>2];v[d+36>>2]=a;v[d+112>>2]=3;a=v[d+116>>2];v[d+24>>2]=v[d+112>>2];v[d+28>>2]=a;Qc(j,34,d+24|0,0);a=Wb(c);if(a){continue}break}}qc(c);ie(f)}if((sh(j,44,d+80|0)|0)!=1){break d}a=ou();if(!a){break d}Dc(j,44,a)}h:{i:{f=v[l+32>>2];a=f+54|0;b=a<<2;n=Va(b);if(!n){break i}o=Va(b);if(!o){break i}r=Va(b);if(!r){b=0;r=0;break h}if(w[656428]&4){Za(515566,0);Dd(j)}A=d,B=Cl(1007,1008,1009,431),v[A+40>>2]=B;A=d,B=Cl(1010,1011,1009,431),v[A+44>>2]=B;b=Xe(j,1);if(b){c=v[b+4>>2];Ls(d+40|0,c&1?b+(c&-2)|0:c)}b=d- -64|0;v[b>>2]=s;c=v[s+4>>2];v[b+8>>2]=0;v[b+4>>2]=c;b=d- -64|0;if(v[b>>2]==(s|0)){b=v[b+4>>2]}else{b=0}if(b){y=((a|0)>1?a:1)<<2;g=d+40|0;z=(f|0)<-53;while(1){a=0;b=d- -64|0;j:{if(v[b>>2]!=(s|0)){break j}b=v[b+4>>2];if(!b){break j}a=v[b+4>>2]}if(w[656428]&4){v[d+16>>2]=v[a+4>>2];Za(515586,d+16|0)}t=(q<<2)+a|0;a=v[t+20>>2];v[d+48>>2]=a;a=v[a+4>>2];v[d+56>>2]=0;v[d+52>>2]=a;if(v[d+48>>2]==v[t+20>>2]?v[d+52>>2]:0){while(1){a=0;k:{if(v[t+20>>2]!=v[d+48>>2]){break k}b=v[d+52>>2];if(!b){break k}a=v[b+4>>2]}i=a;if(!z){Ra(o,0,y);Ra(n,0,y);Ra(r,0,y)}l:{if(!i){break l}while(1){m:{n:{switch(v[i+4>>2]-1|0){case 0:a=v[v[i+8>>2]+8>>2];if(w[656428]&4){Za(515601,0);Dt(v[i+8>>2])}b=a&-1025;o:{if(!(v[v[i+8>>2]>>2]|(q|0)!=1)){g=0;f=0;break o}g=d+40|0;f=j}if(f){a=Xe(f,v[v[i+8>>2]+8>>2])}else{a=0}k=b<<2;b=k+o|0;if(!(v[b>>2]|v[v[i+8>>2]>>2]!=(q|0))){v[b>>2]=a;v[k+r>>2]=v[i+8>>2]}m=v[i+8>>2];p:{if(!a){if(v[m+4>>2]==1){v[k+n>>2]=0;break m}if(w[656428]&4){break p}break l}h=0;c=v[m+16>>2];if(c){e=v[a+4>>2];while(1){q:{if(x[c>>1]==36){Bc(d+96|0,f,0,q,v[c+8>>2]);b=v[d+108>>2];v[d+120>>2]=v[d+104>>2];v[d+124>>2]=b;b=v[d+100>>2];v[d+112>>2]=v[d+96>>2];v[d+116>>2]=b;c=v[c+12>>2];break q}Bc(d+96|0,f,0,q,c);b=v[d+108>>2];v[d+120>>2]=v[d+104>>2];v[d+124>>2]=b;b=v[d+100>>2];v[d+112>>2]=v[d+96>>2];v[d+116>>2]=b;c=0}r:{s:{t:{if(!g|v[m+8>>2]!=1){break t}u:{v:{b=v[m+12>>2];u=b&65535;switch(u-22|0){case 1:break u;case 0:case 3:break v;default:break t}}p=v[(!(b&65536)<<2)+g>>2];b=v[d+120>>2];if(!Od(p,b&1?(d+112|0)+(b&-2)|0:b,d+96|0)){break s}if((u|0)!=23){break t}}if(v[m+4>>2]!=1){break t}b=v[d+120>>2];h=Od(v[(!(v[m+12>>2]&65536)<<2)+g>>2],b&1?(d+112|0)+(b&-2)|0:b,d+96|0)?0:e;break r}b=e;if(!b){break r}while(1){w:{if(ul(b+8|0,v[m+12>>2],d+112|0)){h=h?h:b;if(v[m+4>>2]!=1){break r}break w}if(v[m+4>>2]==1){break s}}p=b;b=v[b>>2];b=b&1?p+(b&-2)|0:b;if(b){continue}break}break r}h=0}b=v[d+124>>2];v[d+8>>2]=v[d+120>>2];v[d+12>>2]=b;b=v[d+116>>2];v[d>>2]=v[d+112>>2];v[d+4>>2]=b;Fd(d);if(c){continue}break}}b=k+n|0;if(!(v[b>>2]|v[v[i+8>>2]>>2]!=(q|0))){v[b>>2]=h}x:{if(!h){break x}y:{switch(v[v[i+8>>2]+4>>2]-2|0){case 0:if(v[a+4>>2]!=(h|0)){break x}break m;case 1:break y;default:break m}}if(v[a+4>>2]!=(h|0)){break m}}if(!(w[656428]&4)){break l}}uc(516261);break l;case 1:break n;default:break m}}b=v[i+8>>2];f=v[b>>2]&-1025;a=j;c=q;if(w[656428]&4){Za(515626,0);b=Ca-16|0;Ca=b;e=v[i+8>>2];A=b,B=_c(v[e>>2]),v[A>>2]=B;Za(499506,b);Ul(v[e+4>>2]);Rb(32);ze(v[e+8>>2]);Ca=b+16|0;uc(516270);b=v[i+8>>2]}h=Ks(a,0,c,v[b+8>>2],v[b+12>>2]);k=f<<2;a=v[k+r>>2];if(!(!a|(q?v[a>>2]!=1:0))){A=k+o|0,B=Xe(j,v[a+8>>2]),v[A>>2]=B}z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{a=v[i+8>>2];switch(x[a+4>>1]-11|0){case 7:break B;case 6:break C;case 5:break D;case 4:break E;case 2:break F;case 3:break G;case 1:break H;case 0:break I;default:break A}}c=k+n|0;b=v[c>>2];if(!b){break H}e=k+o|0;vg(v[e>>2]+4|0,b,1,h,v[a>>2],g);Js(v[e>>2]+4|0,b,f,g);v[c>>2]=h;break z}b=v[a>>2];a=Xe(j,b);J:{if(!a){break J}c=v[a+4>>2];if(!c){break J}f=a+4|0;u=(b|0)==1&(g|0)!=0;while(1){a=f;K:{L:{if(!u){break L}a=v[c+16>>2];a=a&1?((a&-2)+c|0)+8|0:a;M:{if(!Od(v[g+4>>2],a,d+112|0)){break M}b=v[d+112>>2];v[b>>2]=v[b>>2]-1;if(v[v[d+112>>2]>>2]){break M}xg(v[g+4>>2],a)}N:{if(!Od(v[g>>2],a,d+112|0)){break N}b=v[d+112>>2];v[b>>2]=v[b>>2]-1;if(v[v[d+112>>2]>>2]){break N}xg(v[g>>2],a)}e=v[f>>2];if(!e){break J}a=f;b=e;if((c|0)==(b|0)){break L}while(1){a=b;b=v[b>>2];p=e;if(!b){break K}if((b|0)!=(c|0)){continue}break}}v[a>>2]=v[c>>2];v[c>>2]=0;dg(c);p=v[f>>2]}c=p;if(c){continue}break}}O:{if(!h){break O}a=v[v[i+8>>2]>>2];b=dj(j,a);if(!b){break O}vg(b+4|0,0,1,h,a,g)}v[k+n>>2]=0;break z}b=v[k+n>>2];if(!b){break F}vg(v[k+o>>2]+4|0,b,0,h,v[a>>2],g);break z}if(!h){break z}a=v[a>>2];b=dj(j,a);if(!b){break z}vg(b+4|0,0,0,h,a,g);break z}b=v[k+n>>2];if(!b){break D}vg(v[k+o>>2]+4|0,b,1,h,v[a>>2],g);break z}if(!h){break z}a=v[a>>2];b=dj(j,a);if(!b){break z}vg(b+4|0,0,1,h,a,g);break z}b=v[k+n>>2];if(!b){break B}Js(v[k+o>>2]+4|0,b,f,g);break A}b=v[a>>2];a=Xe(j,b);if(!a){break A}c=v[a+4>>2];if(!c){break A}f=a+4|0;k=(b|0)==1&(g|0)!=0;while(1){a=f;P:{Q:{if(!k){break Q}a=v[c+16>>2];a=a&1?((a&-2)+c|0)+8|0:a;R:{if(!Od(v[g+4>>2],a,d+112|0)){break R}b=v[d+112>>2];v[b>>2]=v[b>>2]-1;if(v[v[d+112>>2]>>2]){break R}xg(v[g+4>>2],a)}S:{if(!Od(v[g>>2],a,d+112|0)){break S}b=v[d+112>>2];v[b>>2]=v[b>>2]-1;if(v[v[d+112>>2]>>2]){break S}xg(v[g>>2],a)}e=v[f>>2];if(!e){break A}a=f;b=e;if((c|0)==(b|0)){break Q}while(1){a=b;b=v[b>>2];p=e;if(!b){break P}if((b|0)!=(c|0)){continue}break}}v[a>>2]=v[c>>2];v[c>>2]=0;dg(c);p=v[f>>2]}c=p;if(c){continue}break}}dg(h)}a=v[v[i+8>>2]>>2];b=Xe(j,a);if(!(!b|v[b+4>>2])){th(j,a)}if(!(w[656428]&4)){break m}Za(515638,0);Dd(j)}i=v[i>>2];if(i){continue}break}}if(v[d+48>>2]==v[t+20>>2]){a=v[d+52>>2];v[d+56>>2]=a;v[d+52>>2]=v[a>>2]}if(v[d+48>>2]==v[t+20>>2]?v[d+52>>2]:0){continue}break}}a=d- -64|0;if(v[a>>2]==(s|0)){b=v[a+4>>2];v[a+8>>2]=b;v[a+4>>2]=v[b>>2]}a=d- -64|0;if(v[a>>2]==(s|0)){a=v[a+4>>2]}else{a=0}if(a){continue}break}}b=1;if(!(w[656428]&4)){break h}Za(515662,0);Dd(j);break h}b=0;o=0}a=v[d+40>>2];if(a){Bl(a)}a=v[d+44>>2];if(a){Bl(a)}if(o){Pa(o)}if(n){Pa(n)}if(r){Pa(r)}ac(l)}Ca=d+128|0;return b}function mC(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,q=0,r=0,s=0,z=0,A=0,C=0,D=0,E=0,F=0;k=Ca-48|0;Ca=k;C=6;q=v[a+4>>2];a:{if(!q){break a}A=c?c-1|0:0;if(A>>>0>=y[q+408>>2]){break a}b:{c:{if(d&9){break c}f=v[q+380>>2];if(!f){break c}z=v[q+416>>2];r=v[q+104>>2];c=v[q+388>>2];e=x[b+12>>1];while(1){if(!(v[c+4>>2]==x[b+14>>1]?(e|0)==v[c>>2]:0)){c=c+36|0;g=g+1|0;if((f|0)!=(g|0)){continue}break c}break}f=v[c+8>>2];if(Ya(r,v[c+24>>2]+v[q+432>>2]|0)){break c}g=f&1;if(vb(r,B(v[c+28>>2],(f>>>2&1)+(f&2?g+5|0:g|4)|0))){break c}i=v[c+8>>2];l=i&1;m=(i&2?l+5|0:l|4)+(i>>>2&1)|0;n=v[z+(A<<4)>>2];g=v[c+28>>2];h=v[r+32>>2];if(!(i&64)){f=v[r+36>>2];p=i|128;v[c+8>>2]=p;d:{e:{f:{e=f;f=B(g,m);o=f+h|0;if(e>>>0>=o>>>0){if((f|0)<1){break d}e=-1;if(l){break f}f=h;while(1){j=e;e=w[f|0];if((j|0)>=(e|0)){break e}f=f+m|0;if(o>>>0>f>>>0){continue}break}break d}p=i&-129;break d}f=h;while(1){j=e;e=w[f+1|0]|w[f|0]<<8;if((j|0)>=(e|0)){break e}f=f+m|0;if(o>>>0>f>>>0){continue}break}break d}p=i&-129}i=p|64;v[c+8>>2]=i}g:{if(!(i&128)){break g}h:{if(!l){c=0;while(1){if(c>>>0>=g>>>0){break g}f=c+g>>>1|0;l=h+B(f,m)|0;e=w[l|0];j=e>>>0>n>>>0;g=j?f:g;c=j?c:e>>>0<n>>>0?f+1|0:c;if((e|0)!=(n|0)){continue}break}f=l+1|0;break h}l=h+2|0;c=0;while(1){if(c>>>0>=g>>>0){break g}e=c+g>>>1|0;f=l+B(e,m)|0;h=f-2|0;h=w[h|0]<<8|w[h+1|0];j=h>>>0>n>>>0;c=j?c:h>>>0<n>>>0?e+1|0:c;g=j?e:g;if((h|0)!=(n|0)){continue}break}}i:{if(i&2){g=w[f+1|0]|w[f|0]<<8;c=f+2|0;break i}g=w[f|0];c=f+1|0}f=w[c|0];j:{if(i&4){e=w[c+1|0]<<8|f<<16;c=c+2|0;break j}e=f<<8;c=c+1|0}c=w[c|0];pb(r);if(!g){break c}h=c|e;v[k+8>>2]=0;v[k+44>>2]=0;v[k+36>>2]=0;v[k+32>>2]=0;v[k+28>>2]=0;i=z+(A<<4)|0;c=v[i+4>>2];e=v[q+304>>2];f=v[q+300>>2];k:{if((e|0)==(f|0)){f=c;break k}f=fb(c,f,e);e=v[q+304>>2];c=v[i+4>>2]}v[a+56>>2]=f;f=fb(x[b+12>>1]<<8,c,e);v[k+40>>2]=f;c=Ya(r,h+v[q+188>>2]|0);l:{if(c){break l}c=vb(r,g);if(c){break l}v[k+24>>2]=v[r+32>>2];n=8;p=v[r+36>>2];e=v[k+24>>2];m:{if(p>>>0<e+1>>>0){break m}h=e;n:{o:{p:{q:{r:{z=w[e|0];switch((z&3)-1|0){case 2:break o;case 1:break p;case 0:break q;default:break r}}c=e+2|0;if(p>>>0<c>>>0){break m}e=t[h+1|0];i=e>>4;m=e<<28>>28;break n}c=e+3|0;if(p>>>0<c>>>0){break m}m=t[e+2|0];i=t[e+1|0];break n}c=e+5|0;if(p>>>0<c>>>0){break m}h=w[e+3|0]|w[e+4|0]<<8;m=(h<<8|h>>>8)<<16>>16;e=w[e+1|0]|w[e+2|0]<<8;i=(e<<8|e>>>8)<<16>>16;break n}c=e+7|0;if(p>>>0<c>>>0){break m}m=w[e+6|0]|(w[e+5|0]<<8|w[e+4|0]<<16);i=w[e+3|0]|(w[e+2|0]<<8|w[e+1|0]<<16)}j=z>>>2&3;l=j;s:{t:{switch(j-1|0){case 0:e=c+1|0;if(e>>>0>p>>>0){break m}c=w[c|0];l=c&15;j=c>>>4|0;c=e;break s;case 1:e=c+2|0;if(e>>>0>p>>>0){break m}l=w[c+1|0];j=w[c|0];c=e;break s;case 2:break t;default:break s}}e=c+4|0;if(e>>>0>p>>>0){break m}l=w[c+3|0]|w[c+2|0]<<8;j=w[c+1|0]|w[c|0]<<8;c=e}u:{v:{w:{x:{h=z>>>4|0;switch((h&3)-1|0){case 2:break v;case 1:break w;case 0:break x;default:break u}}e=c+1|0;if(e>>>0>p>>>0){break m}f=t[c|0]<<8;c=e;break u}e=c+2|0;if(e>>>0>p>>>0){break m}c=w[c|0]|w[c+1|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=e;break u}e=c+3|0;if(e>>>0>p>>>0){break m}f=w[c+2|0]|(w[c+1|0]<<8|w[c|0]<<16);c=e}v[k+8>>2]=i;v[k+44>>2]=m;v[k+36>>2]=j;v[k+32>>2]=l;v[k+40>>2]=f;v[k+28>>2]=h>>>2;v[k+24>>2]=c;n=0}c=n;y:{if(c){break y}c=8;z:{A:{B:{C:{j=v[k+28>>2];switch(j|0){case 2:break A;case 1:break B;case 0:break C;default:break y}}f=v[k+36>>2];e=v[k+32>>2];if(B(f,e)+7>>>3>>>0<=g>>>0){break z}break y}f=v[k+36>>2];e=v[k+32>>2];if(B(f,e)>>>0<=B(g,15)>>>0){break z}break y}f=v[k+36>>2];e=v[k+32>>2];if(B(f,e)>>>0>B(g+1>>>1|0,255)>>>0){break y}}c=23;if((e|0)<0){break y}g=v[k+44>>2];if((g|0)>(2147483647-e|0)){break y}v[a+72>>2]=1651078259;v[a+76>>2]=e;v[a+80>>2]=f;t[a+94|0]=1;v[a+28>>2]=e<<6;h=f<<6;v[a+24>>2]=h;i=f+7>>3;v[a+84>>2]=i;f=v[k+8>>2];v[a+36>>2]=g<<6;v[a+32>>2]=f<<6;n=v[k+40>>2];c=0;v[a+48>>2]=0;v[a+44>>2]=0-h>>1;v[a+40>>2]=(n>>2)+32&-64;h=v[b+32>>2];v[a+104>>2]=e+g;v[a+100>>2]=f;v[a+52>>2]=h;if(d&4194304){break y}c=ti(a,B(e,i));if(c){break y}c=v[k+24>>2];p=v[r+36>>2];g=v[q+208>>2]>>>1&1;o=0;e=0;h=v[a+76>>2];D:{if(!h){break D}f=v[a+80>>2];if(!f){break D}i=v[a+84>>2];D=g?i:0-i|0;n=v[a+88>>2];g=g?n:n+B(i,h-1|0)|0;s=B(f,h);E:{F:{switch(j|0){case 0:e=p-c<<3;j=e>>>0>s>>>0?s:e;if(!j){break D}i=128;m=0;h=g;e=f;l=j;while(1){if(!((j^l)&7)){m=w[c|0];c=c+1|0}o=m<<24>>31&i|o;e=e-1|0;G:{if(!e){t[h|0]=o;o=0;i=128;e=f;g=g+D|0;h=g;break G}i=i>>>1|0;if(i){break G}t[h|0]=o;h=h+1|0;o=0;i=128}m=m<<1;l=l-1|0;if(l){continue}break};if((i|0)!=128){break E}break D;case 1:if(!s){break D}j=128;h=g;i=f;l=0;n=0;m=0;e=1;while(1){H:{I:{if(!(l&1)){z=c>>>0>p>>>0?c:p;l=!e;while(1){J:{K:{if(!(l&1)){break K}m=0;if(!n){break K}m=n;break J}if(c>>>0>=p>>>0){c=z;break J}e=c+1|0;c=w[c|0];n=c&15;m=c>>>4|0;if(m){c=e;break I}else{m=0;l=1;c=e;continue}}break}o=j|o;e=1;break H}if(!e){break I}o=j|o;break H}e=0}i=i-1|0;L:{if(!i){t[h|0]=o;o=0;j=128;i=f;g=g+D|0;h=g;break L}j=j>>>1|0;if(j){break L}t[h|0]=o;h=h+1|0;o=0;j=128}s=s-1|0;if(s){l=(m|0)<2;m=m-1|0;l=!l;continue}break};if((j|0)!=128){break E}break D;case 2:break F;default:break D}}if(!s){break D}n=128;h=g;j=f;m=1;l=1;while(1){M:{if(!(m&1)|c>>>0>=p>>>0){break M}N:{while(1){l=l^1;i=c+1|0;e=w[c|0];if(e){break N}c=i;if((p|0)!=(c|0)){continue}break}e=0;c=p;break M}c=i}o=(l?n:0)|o;j=j-1|0;O:{if(!j){t[h|0]=o;o=0;n=128;j=f;g=g+D|0;h=g;break O}n=n>>>1|0;if(n){break O}t[h|0]=o;h=h+1|0;o=0;n=128}s=s-1|0;if(s){m=(e|0)<2;e=e-1|0;continue}break}if((n|0)==128){break D}}t[h|0]=o}c=0}pb(r)}if(c){break c}break b}pb(r)}if(d&16384){break a}f=v[q+416>>2];v[a+72>>2]=1869968492;v[a+108>>2]=0;c=f+(A<<4)|0;g=v[c+8>>2];c=v[c+12>>2];e=v[q+188>>2];h=v[q+104>>2];tf(v[a+188>>2]);v[a+176>>2]=0;C=Hq(a+160|0,h,e,c,g);if(C){break a}c=v[a+188>>2];g=v[c+24>>2];e=a+108|0;v[e>>2]=v[c+20>>2];v[e+4>>2]=g;v[e+16>>2]=v[c+36>>2];g=v[c+32>>2];v[e+8>>2]=v[c+28>>2];v[e+12>>2]=g;c=v[a+124>>2]&-6;v[a+124>>2]=c|4;if(x[b+14>>1]<=23){v[a+124>>2]=c|260}v[a+52>>2]=0;v[a+40>>2]=0;c=v[(f+(A<<4)|0)+4>>2];f=v[q+304>>2];g=v[q+300>>2];if((f|0)!=(g|0)){c=fb(c,g,f)}f=a;P:{if(t[q+324|0]&1){v[a+52>>2]=c;g=v[a+40>>2];break P}v[a+40>>2]=c;g=c;c=v[a+52>>2]}v[f+60>>2]=c;v[a+56>>2]=g;v[a+44>>2]=0;v[a+48>>2]=0;if(!(d&1)){d=v[b+20>>2];f=v[b+16>>2];b=a;if(u[a+110>>1]>=1){c=v[a+112>>2];g=1;while(1){E=c,F=Qa(v[c>>2],f),v[E>>2]=F;E=c,F=Qa(v[c+4>>2],d),v[E+4>>2]=F;if(u[a+110>>1]>(g|0)){c=c+8|0;g=g+1|0;continue}break}g=v[a+40>>2]}E=b,F=Qa(g,f),v[E+40>>2]=F;E=a,F=Qa(v[a+52>>2],d),v[E+52>>2]=F}pf(e,k+8|0);b=v[k+8>>2];v[a+24>>2]=v[k+16>>2]-b;c=v[k+20>>2];d=v[k+12>>2];v[a+36>>2]=d;v[a+32>>2]=b;v[a+28>>2]=c-d}C=0}Ca=k+48|0;return C|0}function Zo(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;a:{b:{c:{switch(c-1|0){case 0:c=a;d:{e:{f:{e=w[a|0]|w[a+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break e;case 0:break f;default:break b}}if(v[b+12>>2]!=1){break b}a=w[a+3|0]|w[a+2|0]<<8;break d}if(v[b+12>>2]!=1){break b}a=w[a+3|0]|w[a+2|0]<<8}return(xb(a?c+a|0:280448,v[v[b+8>>2]>>2])|0)!=-1;case 1:if((w[a+1|0]|w[a|0]<<8)!=1|v[b+12>>2]!=1){break b}break a;case 2:if((w[a+1|0]|w[a|0]<<8)!=1|v[b+12>>2]!=1){break b}break a;case 3:if((w[a+1|0]|w[a|0]<<8)!=1){break b}c=w[a+3|0]|w[a+2|0]<<8;c=xb(c?c+a|0:280448,v[v[b+8>>2]>>2]);if((c|0)==-1){break b}f=a;a=c>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((c<<1)+a|0)+6|0:280448;a=w[a|0]<<8|w[a+1|0];i=a?f+a|0:280448;m=w[i+1|0]|w[i|0]<<8;g:{if(!m){break g}d=i+2|0;k=v[b+12>>2];if(k>>>0>=2){while(1){h:{a=w[d+1|0]|w[d|0]<<8;j=a?a+i|0:280448;if((k|0)!=(w[j+2|0]<<8|w[j+3|0])){break h}h=v[b+8>>2];if(v[h+4>>2]!=(w[j+5|0]|w[j+4|0]<<8)){break h}c=2;while(1){a=c;if((a|0)!=(k|0)){c=a+1|0;f=a>>>0<k>>>0?(j+(a<<1)|0)+2|0:280448;if(v[h+(a<<2)>>2]==(w[f|0]<<8|w[f+1|0])){continue}}break}if(a>>>0<k>>>0){break h}e=1;break g}d=d+2|0;m=m-1|0;if(m){continue}break g}}while(1){a=w[d+1|0]|w[d|0]<<8;a=a?a+i|0:280448;e=(k|0)==(w[a+2|0]<<8|w[a+3|0]);if(e){break g}d=d+2|0;m=m-1|0;if(m){continue}break}}return e;case 4:h=b;b=0;i:{j:{k:{l:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break j;case 1:break k;case 0:break l;default:break i}}b=a;c=w[a+3|0]|w[a+2|0]<<8;c=xb(c?c+a|0:280448,v[v[h+8>>2]>>2]);a=c>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((c<<1)+a|0)+6|0:280448;a=w[a|0]<<8|w[a+1|0];k=a?b+a|0:280448;g=w[k|0]<<8|w[k+1|0];b=0;m:{if(!g){break m}d=k+2|0;i=v[h+12>>2];n:{if(i>>>0>=2){while(1){a=w[d+1|0]|w[d|0]<<8;j=a?a+k|0:280448;o:{if((i|0)!=(w[j|0]<<8|w[j+1|0])){break o}e=v[h+8>>2];if(v[e+4>>2]!=(w[j+5|0]|w[j+4|0]<<8)){break o}b=2;while(1){f=1;a=b;if((a|0)==(i|0)){break n}b=a+1|0;c=j+(a<<1)|0;if(v[e+(a<<2)>>2]==(w[c+2|0]<<8|w[c+3|0])){continue}break}if(a>>>0>=i>>>0){break n}}d=d+2|0;g=g-1|0;if(g){continue}break}b=0;break m}while(1){a=w[d+1|0]|w[d|0]<<8;a=a?a+k|0:280448;f=(i|0)==(w[a|0]<<8|w[a+1|0]);if(f){break n}d=d+2|0;g=g-1|0;if(g){continue}break}}b=f}break i}j=v[h+8>>2];i=v[j>>2];p:{q:{r:{s:{b=w[a+5|0]|w[a+4|0]<<8;l=b?b+a|0:280448;b=w[l|0]|w[l+1|0]<<8;c=b<<8|b>>>8;switch((c&65535)-1|0){case 1:break r;case 0:break s;default:break p}}b=i-(w[l+3|0]|w[l+2|0]<<8)|0;d=b>>>0<(w[l+5|0]|w[l+4|0]<<8)>>>0?(l+(b<<1)|0)+6|0:280448;b=d+1|0;break q}g=280840;b=w[l+3|0]|w[l+2|0]<<8;t:{if(!b){break t}d=b-1|0;b=0;while(1){f=b+d>>>1|0;e=l+B(f,6)|0;u:{if(i>>>0>=(w[e+4|0]<<8|w[e+5|0])>>>0){if(i>>>0>(w[e+7|0]|w[e+6|0]<<8)>>>0){b=f+1|0;break u}g=(l+B(f,6)|0)+4|0;break t}d=f-1|0}if((b|0)<=(d|0)){continue}break}}d=g+4|0;b=g+5|0}d=w[b|0]|w[d|0]<<8}b=a;a=(w[a+7|0]|w[a+6|0]<<8)>>>0>d>>>0?((d<<1)+a|0)+8|0:280448;a=w[a|0]<<8|w[a+1|0];n=a?b+a|0:280448;g=w[n|0]<<8|w[n+1|0];b=0;v:{if(!g){break v}m=n+2|0;o=v[h+12>>2];w:{if(o>>>0>=2){f=(c&65535)-1|0;e=l+4|0;while(1){a=w[m+1|0]|w[m|0]<<8;k=a?a+n|0:280448;x:{if((o|0)!=(w[k|0]<<8|w[k+1|0])){break x}i=v[j+4>>2];d=0;y:{z:{A:{switch(f|0){case 1:a=w[l+3|0]|w[l+2|0]<<8;B:{if(a){d=a-1|0;b=0;while(1){h=b+d>>>1|0;c=l+B(h,6)|0;a=c+4|0;C:{if(i>>>0>=(w[a|0]<<8|w[c+5|0])>>>0){if(i>>>0<=(w[a+3|0]|w[a+2|0]<<8)>>>0){break B}b=h+1|0;break C}d=h-1|0}if((b|0)<=(d|0)){continue}break}}a=280840}b=a+4|0;a=a+5|0;break z;case 0:break A;default:break y}}a=i-(w[l+3|0]|w[l+2|0]<<8)|0;b=a>>>0<(w[l+5|0]|w[l+4|0]<<8)>>>0?(e+(a<<1)|0)+2|0:280448;a=b+1|0}d=w[a|0]|w[b|0]<<8}if((w[k+5|0]|w[k+4|0]<<8)!=(d|0)){break x}a=2;while(1){d=1;b=a;if((a|0)==(o|0)){break w}a=b+1|0;if(Ko(v[j+(b<<2)>>2],(k+(b<<1)|0)+2|0,l)){continue}break}if(b>>>0>=o>>>0){break w}}m=m+2|0;g=g-1|0;if(g){continue}break}b=0;break v}while(1){a=w[m+1|0]|w[m|0]<<8;a=a?a+n|0:280448;d=(o|0)==(w[a|0]<<8|w[a+1|0]);if(d){break w}m=m+2|0;g=g-1|0;if(g){continue}break}}b=d}break i}e=w[a+3|0]|w[a+2|0]<<8;if((e|0)!=v[h+12>>2]){break i}c=2;b=1;if(e>>>0<2){break i}b=0;f=w[a+9|0]|w[a+8|0]<<8;if((xb(f?f+a|0:280448,v[v[h+8>>2]+4>>2])|0)==-1){break i}d=a+8|0;while(1){D:{b=c;if((e|0)==(c|0)){b=e;break D}c=b+1|0;f=(d+(b<<1)|0)-2|0;f=w[f|0]<<8|w[f+1|0];if((xb(f?f+a|0:280448,v[v[h+8>>2]+(b<<2)>>2])|0)!=-1){continue}}break}b=b>>>0>=e>>>0}return b;case 5:c=0;n=Ca-16|0;Ca=n;E:{F:{G:{H:{e=w[a|0]|w[a+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 2:break F;case 1:break G;case 0:break H;default:break E}}c=w[a+3|0]|w[a+2|0]<<8;c=xb(c?c+a|0:280448,v[v[b+8>>2]>>2]);c=c>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((c<<1)+a|0)+6|0:280448;f=w[c+1|0];e=w[c|0];c=v[57533];v[n+8>>2]=v[57532];v[n+12>>2]=c;c=v[57531];v[n>>2]=v[57530];v[n+4>>2]=c;c=a;a=f|e<<8;c=Lo(a?c+a|0:280448,b,n);break E}o=Ca-16|0;Ca=o;d=w[a+9|0]|w[a+8|0]<<8;h=w[a+5|0]|w[a+4|0]<<8;k=v[v[b+8>>2]>>2];I:{J:{K:{L:{e=w[a+7|0]|w[a+6|0]<<8;g=e?e+a|0:280448;e=w[g|0]|w[g+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break K;case 0:break L;default:break I}}c=k-(w[g+3|0]|w[g+2|0]<<8)|0;c=c>>>0<(w[g+5|0]|w[g+4|0]<<8)>>>0?(g+(c<<1)|0)+6|0:280448;e=c+1|0;break J}i=280840;c=w[g+3|0]|w[g+2|0]<<8;M:{if(!c){break M}c=c-1|0;while(1){j=c+f>>>1|0;e=g+B(j,6)|0;N:{if(k>>>0>=(w[e+4|0]<<8|w[e+5|0])>>>0){if(k>>>0>(w[e+7|0]|w[e+6|0]<<8)>>>0){f=j+1|0;break N}i=(g+B(j,6)|0)+4|0;break M}c=j-1|0}if((c|0)>=(f|0)){continue}break}}c=i+4|0;e=i+5|0}c=w[e|0]|w[c|0]<<8}c=(w[a+11|0]|w[a+10|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+12|0:280448;e=w[c+1|0];c=w[c|0];v[o+12>>2]=d?a+d|0:280448;v[o+8>>2]=g;v[o+4>>2]=h?a+h|0:280448;v[o>>2]=438;f=a;a=e|c<<8;c=Lo(a?f+a|0:280448,b,o);Ca=o+16|0;break E}e=a;f=w[a+3|0];c=w[a+2|0];j=(a+2|0)+(f<<1|c<<9)|0;i=j+2|0;d=w[i|0];h=w[j+3|0];O:{if(w[b+16|0]){f=f|c<<8;c=i+(h<<1|d<<9)|0;a=0;if(f|(w[c+2|0]<<8|w[c+3|0])){break O}}f=h|d<<8;a=0;if((f|0)!=v[b+12>>2]){break O}c=2;a=1;if(f>>>0<2){break O}h=w[i+5|0]|w[i+4|0]<<8;a=0;if((xb(h?h+e|0:280448,v[v[b+8>>2]+4>>2])|0)==-1){break O}d=j+6|0;while(1){P:{a=c;if((f|0)==(a|0)){a=f;break P}c=a+1|0;h=(d+(a<<1)|0)-2|0;h=w[h|0]<<8|w[h+1|0];if((xb(h?h+e|0:280448,v[v[b+8>>2]+(a<<2)>>2])|0)!=-1){continue}}break}a=a>>>0>=f>>>0}c=a}Ca=n+16|0;return c;case 6:if((w[a+1|0]|w[a|0]<<8)==1){c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a=Zo(c?c+a|0:280448,b,w[a+3|0]|w[a+2|0]<<8)}else{a=0}return a;case 7:break c;default:break b}}if((w[a+1|0]|w[a|0]<<8)!=1|v[b+12>>2]!=1){break b}c=a;a=w[a+3|0]|w[a+2|0]<<8;d=(xb(a?c+a|0:280448,v[v[b+8>>2]>>2])|0)!=-1}return d}c=a;a=w[a+3|0]|w[a+2|0]<<8;return(xb(a?c+a|0:280448,v[v[b+8>>2]>>2])|0)!=-1}function Jo(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,u=0,x=0,z=0;d=v[b+4>>2];a:{if(d>>>0>a>>>0){break a}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<4){break a}e=v[b+12>>2];h=e-4|0;v[b+12>>2]=h;if((w[a+1|0]|w[a|0]<<8)!=1|(h|0)<1){break a}g=d;d=a+4|0;if(g>>>0>d>>>0|c>>>0<d>>>0|c-d>>>0<2){break a}c=e-6|0;v[b+12>>2]=c;if((c|0)<1){break a}c=w[a+5|0]|w[a+4|0]<<8;b:{if(!c){break b}if(kf(a+c|0,b)){break b}c=v[b+24>>2];if(c>>>0>31){break a}v[b+24>>2]=c+1;if(!w[b+20|0]){break a}t[d|0]=0;t[d+1|0]=0}f=v[b+4>>2];h=a+6|0;c=0;c:{if(f>>>0>h>>>0){break c}e=v[b+8>>2];c=0;if(e>>>0<h>>>0){break c}c=0;if(e-h>>>0<2){break c}i=v[b+12>>2];j=i-2|0;v[b+12>>2]=j;d=1;c=0;if((j|0)<1){break c}c=w[h+1|0]|w[h|0]<<8;d:{if(!c){break d}e:{f:{c=a+c|0;if(c>>>0<f>>>0|c>>>0>e>>>0|e-c>>>0<2){break f}e=i-4|0;v[b+12>>2]=e;if((e|0)<1){break f}e=w[c+1|0]|w[c|0]<<8;g:{if(!e){break g}if(nc(c+e|0,b)){break g}e=v[b+24>>2];if(e>>>0>31){break f}v[b+24>>2]=e+1;if(!w[b+20|0]){break f}t[c|0]=0;t[c+1|0]=0}j=v[b+4>>2];e=c+2|0;if(j>>>0>e>>>0){break f}f=v[b+8>>2];if(f>>>0<e>>>0|f-e>>>0<2){break f}i=v[b+12>>2]-2|0;v[b+12>>2]=i;if((i|0)<1){break f}g=w[e+1|0]|w[e|0]<<8;if(!g){break d}d=e+2|0;if(d>>>0<j>>>0|d>>>0>f>>>0){break f}f=f-d|0;d=g<<1;if(f>>>0<d>>>0){break f}f=i-d|0;v[b+12>>2]=f;d=1;if((f|0)<1){break f}f=w[e+1|0]|w[e|0]<<8;if(!f){break d}d=0;while(1){if(!Ho((e+(d<<1)|0)+2|0,b,c)){break f}d=d+1|0;if((f|0)!=(d|0)){continue}break}break e}d=v[b+24>>2];c=0;if(d>>>0>31){break c}v[b+24>>2]=d+1;d=0;if(!w[b+20|0]){break d}t[h|0]=0;t[h+1|0]=0}d=1}c=d}if(!c){break a}e=0;p=Ca-16|0;Ca=p;c=v[b+4>>2];j=a+8|0;h:{if(c>>>0>j>>>0){break h}d=v[b+8>>2];if(d>>>0<j>>>0|d-j>>>0<2){break h}h=v[b+12>>2];f=h-2|0;v[b+12>>2]=f;e=1;if((f|0)<1){e=0;break h}f=w[j+1|0]|w[j|0]<<8;if(!f){break h}g=c;c=a+f|0;i:{if(g>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<2){break i}d=h-4|0;v[b+12>>2]=d;if((d|0)<1){break i}d=w[c+1|0]|w[c|0]<<8;j:{if(!d){break j}if(nc(c+d|0,b)){break j}d=v[b+24>>2];if(d>>>0>31){break i}v[b+24>>2]=d+1;if(!w[b+20|0]){break i}t[c|0]=0;t[c+1|0]=0}v[p+12>>2]=c;d=0;q=Ca-16|0;Ca=q;i=c+2|0;f=v[b+4>>2];k:{if(i>>>0<f>>>0){break k}c=v[b+8>>2];if(c>>>0<i>>>0|c-i>>>0<2){break k}h=v[b+12>>2]-2|0;v[b+12>>2]=h;if((h|0)<1){break k}k=w[i+1|0]|w[i|0]<<8;if(!k){d=1;break k}g=i+2|0;if(g>>>0<f>>>0|c>>>0<g>>>0){break k}g=c-g|0;c=k<<1;if(g>>>0<c>>>0){break k}c=h-c|0;v[b+12>>2]=c;if((c|0)<1){break k}d=1;s=w[i+1|0]|w[i|0]<<8;if(!s){break k}d=0;h=i+2|0;if(f>>>0>h>>>0){break k}k=0;while(1){l:{d=v[b+8>>2];if(d>>>0<h>>>0|d-h>>>0<2){break l}d=v[p+12>>2];c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break l}c=w[(i+(k<<1)|0)+3|0]|w[h|0]<<8;m:{if(!c){break m}f=c+d|0;v[q+12>>2]=f;d=0;n=v[b+4>>2];n:{o:{if(n>>>0>f>>>0){break o}g=v[b+8>>2];if(g>>>0<f>>>0|g-f>>>0<2){break o}l=v[b+12>>2]-2|0;v[b+12>>2]=l;if((l|0)<1){break o}m=w[f+1|0]|w[f|0]<<8;c=1;if(!m){break n}c=f+2|0;if(c>>>0<n>>>0|c>>>0>g>>>0){break o}g=g-c|0;c=m<<1;if(g>>>0<c>>>0){break o}c=l-c|0;v[b+12>>2]=c;if((c|0)<1){break o}d=1;u=w[f+1|0]|w[f|0]<<8;if(!u){break o}d=0;g=f+2|0;if(n>>>0>g>>>0){break o}n=0;while(1){p:{d=v[b+8>>2];if(d>>>0<g>>>0|d-g>>>0<2){break p}d=v[q+12>>2];c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break p}c=w[(f+(n<<1)|0)+3|0]|w[g|0]<<8;q:{if(!c){break q}r:{s:{t:{x=v[b+4>>2];d=c+d|0;if(x>>>0>d>>>0){break t}m=v[b+8>>2];if(m>>>0<d>>>0){break t}l=m-d|0;if(l>>>0<2){break t}r=v[b+12>>2];o=r-2|0;v[b+12>>2]=o;c=1;if((o|0)<1){break t}u:{v:{w:{x:{o=w[d|0]|w[d+1|0]<<8;switch(((o<<8|o>>>8)&65535)-1|0){case 2:break v;case 1:break w;case 0:break x;default:break u}}c=0;if(l>>>0<4){break u}break s}c=0;if(l>>>0<4){break u}break s}if(l>>>0<6){break t}c=r-8|0;v[b+12>>2]=c;if((c|0)<1){break t}l=d+4|0;if(l>>>0<x>>>0|l>>>0>m>>>0|m-l>>>0<2){break t}m=r-10|0;v[b+12>>2]=m;c=1;if((m|0)<1){break t}m=w[d+5|0]|w[d+4|0]<<8;if(!m){break u}if(Mf(d+m|0,b)){break u}d=v[b+24>>2];if(d>>>0>31){break t}v[b+24>>2]=d+1;c=0;if(!w[b+20|0]){break u}t[l|0]=0;t[l+1|0]=0;c=1}break r}c=0;break r}d=r-6|0;v[b+12>>2]=d;c=(d|0)>0}if(c){break q}d=v[b+24>>2];if(d>>>0>31){break p}v[b+24>>2]=d+1;if(!w[b+20|0]){break p}t[g|0]=0;t[g+1|0]=0}d=1;n=n+1|0;if((u|0)==(n|0)){break o}g=(f+(n<<1)|0)+2|0;if(g>>>0>=y[b+4>>2]){continue}}break}d=0}c=d}if(c){break m}d=v[b+24>>2];if(d>>>0>31){break l}v[b+24>>2]=d+1;if(!w[b+20|0]){break l}t[h|0]=0;t[h+1|0]=0}d=1;k=k+1|0;if((s|0)==(k|0)){break k}h=(i+(k<<1)|0)+2|0;if(h>>>0>=y[b+4>>2]){continue}}break}d=0}Ca=q+16|0;if(d){break h}}d=v[b+24>>2];if(d>>>0>31){e=0;break h}v[b+24>>2]=d+1;e=0;if(!w[b+20|0]){break h}t[j|0]=0;t[j+1|0]=0;e=1}Ca=p+16|0;if(!e){break a}d=a+10|0;if(d>>>0<y[b+4>>2]){break a}c=v[b+8>>2];if(c>>>0<d>>>0|c-d>>>0<2){break a}c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break a}c=w[a+11|0]|w[a+10|0]<<8;y:{if(!c){break y}if(kf(a+c|0,b)){break y}c=v[b+24>>2];if(c>>>0>31){break a}v[b+24>>2]=c+1;if(!w[b+20|0]){break a}t[d|0]=0;t[d+1|0]=0}d=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0<65538){return 1}d=0;j=Ca-16|0;Ca=j;c=v[b+4>>2];i=a+12|0;z:{if(c>>>0>i>>>0){break z}e=v[b+8>>2];if(e>>>0<i>>>0|e-i>>>0<2){break z}h=v[b+12>>2];f=h-2|0;v[b+12>>2]=f;d=1;if((f|0)<1){d=0;break z}f=w[i+1|0]|w[i|0]<<8;if(!f){break z}g=c;c=a+f|0;A:{if(g>>>0>c>>>0|c>>>0>e>>>0|e-c>>>0<2){break A}e=h-4|0;v[b+12>>2]=e;if((e|0)<1){break A}if((w[c+1|0]|w[c|0]<<8)!=1){break z}v[j+12>>2]=c;f=c+2|0;h=v[b+4>>2];B:{C:{if(f>>>0<h>>>0){break C}c=v[b+8>>2];if(c>>>0<f>>>0|c-f>>>0<2){break C}g=v[b+12>>2]-2|0;v[b+12>>2]=g;e=1;if((g|0)<1){break C}k=w[f+1|0]|w[f|0]<<8;if(!k){break B}e=f+2|0;if(e>>>0<h>>>0|c>>>0<e>>>0){break C}e=c-e|0;c=k<<2;if(e>>>0<c>>>0){break C}c=g-c|0;v[b+12>>2]=c;e=0;if((c|0)<1){break B}e=1;k=w[f+1|0]|w[f|0]<<8;if(!k){break B}e=0;c=f+2|0;if(h>>>0>c>>>0){break B}h=0;while(1){e=v[b+8>>2];if(e>>>0<c>>>0|e-c>>>0<4){break C}n=v[j+12>>2];e=v[b+12>>2]-4|0;v[b+12>>2]=e;if((e|0)<1){break C}e=f+(h<<2)|0;g=t[c|0];e=w[e+3|0]<<16|g<<24|w[e+4|0]<<8|w[e+5|0];g=(e|0)!=0&(g|0)<0;D:{if(!(g|!e)){if(nc(e+n|0,b)){break D}e=v[b+24>>2];if(e>>>0>31){break C}v[b+24>>2]=e+1;if(!w[b+20|0]){break C}t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;break D}if(g){break C}}e=1;h=h+1|0;if((k|0)==(h|0)){break B}c=(f+(h<<2)|0)+2|0;if(c>>>0>=y[b+4>>2]){continue}break}}e=0}if(e){break z}}d=v[b+24>>2];if(d>>>0>31){d=0;break z}v[b+24>>2]=d+1;d=0;if(!w[b+20|0]){break z}t[i|0]=0;t[i+1|0]=0;d=1}Ca=j+16|0;if(!d){break a}z=1;d=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0<65539){break a}z=Io(a+14|0,b,a)}return z}function vc(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,u=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;f=Ca+-64|0;Ca=f;a:{b:{c:{if(!v[b+8>>2]){if(!d){break a}v[b+8>>2]=64;t[b+4|0]=6;g=Ea[v[v[b+16>>2]>>2]](256)|0;v[b>>2]=g;if(!g){v[b+8>>2]=0;break a}Ra(g,0,256);while(1){g=a;a=v[g+472>>2];if(a){continue}break}a=v[g+492>>2];v[f+56>>2]=0;v[f+60>>2]=0;k=f+40|0;v[f+48>>2]=k;v[f+24>>2]=1852142177;v[f+28>>2]=1819895653;v[f+8>>2]=1886610805;v[f+12>>2]=1936682341;v[f+32>>2]=a^2037671283;v[f+36>>2]=1952801890;v[f+16>>2]=a^1852075885;v[f+20>>2]=1685025377;if(!w[c|0]){z=c;break c}g=1;e=c;while(1)if(w[e+1|0]){e=e+1|0;g=g+1|0;continue}else{z=c+g|0;break c}}e=a;while(1){g=e;e=v[e+472>>2];if(e){continue}break}g=v[g+492>>2];v[f+56>>2]=0;v[f+60>>2]=0;p=f+40|0;v[f+48>>2]=p;v[f+24>>2]=1852142177;v[f+28>>2]=1819895653;v[f+8>>2]=1886610805;v[f+12>>2]=1936682341;v[f+32>>2]=g^2037671283;v[f+36>>2]=1952801890;v[f+16>>2]=g^1852075885;v[f+20>>2]=1685025377;if(w[c|0]){g=1;e=c;while(1){if(w[e+1|0]){e=e+1|0;g=g+1|0;continue}else{n=c+g|0}break}}else{n=c}E=f+48|0;g=c;while(1){d:{e=p;if(g>>>0>=n>>>0){break d}e:{f:{while(1){l=w[g|0];v[f+48>>2]=e+1;t[e|0]=l;e=v[f+48>>2];g=g+1|0;if((n|0)==(g|0)){break f}if(e>>>0<E>>>0){continue}break}l=g;break e}l=n}if(e>>>0<E>>>0){break d}z=l;v[f+48>>2]=p;e=v[f+60>>2];i=v[f+56>>2]+8|0;e=i>>>0<8?e+1|0:e;v[f+56>>2]=i;v[f+60>>2]=e;i=v[f+20>>2];e=i+v[f+12>>2]|0;j=v[f+16>>2];h=v[f+8>>2];k=j+h|0;r=k;u=k^kQ(j,i,13);j=h>>>0>k>>>0?e+1|0:e;i=j^Da;B=v[f+40>>2];q=B^v[f+32>>2];h=v[f+24>>2];k=q+h|0;x=v[f+44>>2];s=x^v[f+36>>2];e=s+v[f+28>>2]|0;e=h>>>0>k>>>0?e+1|0:e;m=k;y=k+u|0;h=e;e=e+i|0;e=k>>>0>y>>>0?e+1|0:e;u=kQ(u,i,17)^y;k=e;i=e^Da;o=i;A=kQ(q,s,16)^m;q=Da^h;h=kQ(r,j,32);j=h+A|0;e=Da+q|0;e=h>>>0>j>>>0?e+1|0:e;m=j;h=j;j=h+u|0;i=e;e=o+e|0;s=j;u=kQ(u,o,13)^j;j=h>>>0>j>>>0?e+1|0:e;h=j^Da;o=h;r=kQ(A,q,21)^m;q=Da^i;l=kQ(y,k,32);k=l+r|0;e=Da+q|0;e=k>>>0<l>>>0?e+1|0:e;y=k+u|0;l=e;e=e+h|0;h=y;N=f,O=kQ(u,o,17)^h,v[N+16>>2]=O;e=k>>>0>h>>>0?e+1|0:e;v[f+20>>2]=e^Da;N=f,O=kQ(h,e,32),v[N+24>>2]=O;v[f+28>>2]=Da;m=kQ(r,q,16)^k;k=Da^l;i=kQ(s,j,32);h=i+m|0;e=Da+k|0;e=i>>>0>h>>>0?e+1|0:e;i=h;N=f,O=kQ(m,k,21)^i,v[N+32>>2]=O;v[f+36>>2]=Da^e;v[f+8>>2]=i^B;v[f+12>>2]=e^x;e=g>>>0<n>>>0;g=z;if(e){continue}}break}G=Li(f+8|0);k=v[b+8>>2];g=k-1|0;m=G&g;j=v[b>>2];p=v[(m<<2)+j>>2];if(p){h=g>>>2|0;i=0-k&G;l=w[c|0];n=l;while(1){e=l;g=c;o=v[p>>2];if((n|0)==w[o|0]){while(1){if(!(e&255)){break a}z=w[o+1|0];e=w[g+1|0];o=o+1|0;g=g+1|0;if((e|0)==(z|0)){continue}break}}C=C&255?C:h&i>>>w[b+4|0]-1|1;g=C&255;m=(m-g|0)+(g>>>0>m>>>0?k:0)|0;p=v[j+(m<<2)>>2];if(p){continue}break}}p=0;if(!d){break a}g=w[b+4|0];if(!(v[b+12>>2]>>>g-1|0)){break b}u=g+1|0;l=u&255;D=1<<l;e=D<<2;g=Ea[v[v[b+16>>2]>>2]](e)|0;if(!g){break a}F=Ra(g,0,e);H=D-1|0;J=H>>>2|0;K=l-1|0;L=0-D|0;e=v[b+8>>2];if(e){M=f+48|0;p=f+40|0;while(1){C=I<<2;g=v[C+v[b>>2]>>2];if(g){g=v[g>>2];e=a;while(1){l=e;e=v[e+472>>2];if(e){continue}break}e=v[l+492>>2];v[f+56>>2]=0;v[f+60>>2]=0;v[f+48>>2]=p;v[f+24>>2]=1852142177;v[f+28>>2]=1819895653;v[f+8>>2]=1886610805;v[f+12>>2]=1936682341;v[f+32>>2]=e^2037671283;v[f+36>>2]=1952801890;v[f+16>>2]=e^1852075885;v[f+20>>2]=1685025377;if(w[g|0]){o=1;e=g;while(1){if(w[e+1|0]){e=e+1|0;o=o+1|0;continue}else{n=g+o|0}break}}else{n=g}while(1){g:{e=p;if(g>>>0>=n>>>0){break g}h:{i:{while(1){l=w[g|0];v[f+48>>2]=e+1;t[e|0]=l;e=v[f+48>>2];g=g+1|0;if((n|0)==(g|0)){break i}if(e>>>0<M>>>0){continue}break}l=g;break h}l=n}if(e>>>0<M>>>0){break g}z=l;v[f+48>>2]=p;e=v[f+60>>2];i=v[f+56>>2]+8|0;e=i>>>0<8?e+1|0:e;v[f+56>>2]=i;v[f+60>>2]=e;i=v[f+20>>2];e=i+v[f+12>>2]|0;j=v[f+16>>2];h=v[f+8>>2];k=j+h|0;r=k;A=k^kQ(j,i,13);j=h>>>0>k>>>0?e+1|0:e;i=j^Da;B=v[f+40>>2];q=B^v[f+32>>2];h=v[f+24>>2];k=q+h|0;x=v[f+44>>2];s=x^v[f+36>>2];e=s+v[f+28>>2]|0;e=h>>>0>k>>>0?e+1|0:e;m=k;y=k+A|0;h=e;e=e+i|0;e=k>>>0>y>>>0?e+1|0:e;A=kQ(A,i,17)^y;k=e;i=e^Da;o=i;E=kQ(q,s,16)^m;q=Da^h;h=kQ(r,j,32);j=h+E|0;e=Da+q|0;e=h>>>0>j>>>0?e+1|0:e;m=j;h=j;j=h+A|0;i=e;e=o+e|0;s=j;A=kQ(A,o,13)^j;j=h>>>0>j>>>0?e+1|0:e;h=j^Da;o=h;r=kQ(E,q,21)^m;q=Da^i;l=kQ(y,k,32);k=l+r|0;e=Da+q|0;e=k>>>0<l>>>0?e+1|0:e;y=k+A|0;l=e;e=e+h|0;h=y;N=f,O=kQ(A,o,17)^h,v[N+16>>2]=O;e=k>>>0>h>>>0?e+1|0:e;v[f+20>>2]=e^Da;N=f,O=kQ(h,e,32),v[N+24>>2]=O;v[f+28>>2]=Da;m=kQ(r,q,16)^k;k=Da^l;i=kQ(s,j,32);h=i+m|0;e=Da+k|0;e=i>>>0>h>>>0?e+1|0:e;i=h;N=f,O=kQ(m,k,21)^i,v[N+32>>2]=O;v[f+36>>2]=Da^e;v[f+8>>2]=i^B;v[f+12>>2]=e^x;e=g>>>0<n>>>0;g=z;if(e){continue}}break}g=Li(f+8|0);e=g&H;o=F+(e<<2)|0;if(v[o>>2]){z=J&(g&L)>>>K|1;g=0;while(1){g=g&255?g:z;l=g&255;e=(e-l|0)+(e>>>0<l>>>0?D:0)|0;o=F+(e<<2)|0;if(v[o>>2]){continue}break}}v[o>>2]=v[v[b>>2]+C>>2];e=v[b+8>>2]}I=I+1|0;if(I>>>0<e>>>0){continue}break}}Ea[v[v[b+16>>2]+8>>2]](v[b>>2]);v[b+8>>2]=D;t[b+4|0]=u;v[b>>2]=F;m=G&H;if(!v[F+(m<<2)>>2]){break b}g=J&(G&L)>>>K|1;e=0;while(1){e=e&255?e:g;a=e&255;m=(m-a|0)+(a>>>0>m>>>0?D:0)|0;if(v[F+(m<<2)>>2]){continue}break}break b}u=f+48|0;g=c;while(1){j:{e=k;if(g>>>0>=z>>>0){break j}k:{l:{while(1){a=w[g|0];v[f+48>>2]=e+1;t[e|0]=a;e=v[f+48>>2];g=g+1|0;if((z|0)==(g|0)){break l}if(e>>>0<u>>>0){continue}break}a=g;break k}a=z}if(e>>>0<u>>>0){break j}l=a;v[f+48>>2]=k;e=v[f+60>>2];n=v[f+56>>2]+8|0;e=n>>>0<8?e+1|0:e;v[f+56>>2]=n;v[f+60>>2]=e;n=v[f+20>>2];e=n+v[f+12>>2]|0;h=v[f+16>>2];i=v[f+8>>2];j=h+i|0;B=j;r=j^kQ(h,n,13);h=i>>>0>j>>>0?e+1|0:e;n=h^Da;q=v[f+40>>2];x=q^v[f+32>>2];i=v[f+24>>2];j=x+i|0;y=v[f+44>>2];o=y^v[f+36>>2];e=o+v[f+28>>2]|0;e=i>>>0>j>>>0?e+1|0:e;p=j;s=j+r|0;i=e;e=e+n|0;e=j>>>0>s>>>0?e+1|0:e;r=kQ(r,n,17)^s;j=e;n=e^Da;m=n;C=kQ(x,o,16)^p;x=Da^i;i=kQ(B,h,32);h=i+C|0;e=Da+x|0;e=i>>>0>h>>>0?e+1|0:e;p=h;i=h;h=h+r|0;n=e;e=m+e|0;o=h;r=kQ(r,m,13)^h;h=i>>>0>h>>>0?e+1|0:e;i=h^Da;m=i;B=kQ(C,x,21)^p;x=Da^n;a=kQ(s,j,32);j=a+B|0;e=Da+x|0;e=a>>>0>j>>>0?e+1|0:e;s=j+r|0;a=e;e=e+i|0;i=s;N=f,O=kQ(r,m,17)^i,v[N+16>>2]=O;e=j>>>0>i>>>0?e+1|0:e;v[f+20>>2]=e^Da;N=f,O=kQ(i,e,32),v[N+24>>2]=O;v[f+28>>2]=Da;p=kQ(B,x,16)^j;j=Da^a;n=kQ(o,h,32);i=n+p|0;e=Da+j|0;e=i>>>0<n>>>0?e+1|0:e;N=f,O=kQ(p,j,21)^i,v[N+32>>2]=O;v[f+36>>2]=Da^e;v[f+8>>2]=i^q;v[f+12>>2]=e^y;a=g>>>0<z>>>0;g=l;if(a){continue}}break}m=Li(f+8|0)&v[b+8>>2]-1}a=Ea[v[v[b+16>>2]>>2]](d)|0;g=m<<2;v[g+v[b>>2]>>2]=a;a=v[g+v[b>>2]>>2];if(!a){p=0;break a}Ra(a,0,d);v[v[g+v[b>>2]>>2]>>2]=c;v[b+12>>2]=v[b+12>>2]+1;p=v[g+v[b>>2]>>2]}Ca=f- -64|0;return p}function fn(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,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0;f=Ca-32|0;Ca=f;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;if(!(!c|(!a|!b))){m=v[v[a+12>>2]+16>>2];h=v[b+16>>2];e=v[b+8>>2];v[f+12>>2]=3;Kn(v[(e<<2)+298192>>2],0,f+12|0,f,0,0);i=v[f+12>>2];l=i?v[f>>2]:0;v[f+16>>2]=l;e=i>>>0>1?v[f+4>>2]:0;v[f+20>>2]=e;v[f+24>>2]=i>>>0>2?v[f+8>>2]:0;a:{b:{if(d){if(!l){v[f+16>>2]=1145457748;break b}if((e|0)==1145457748){break b}if(!e){v[f+20>>2]=1145457748;break b}v[f+24>>2]=1145457748;break b}if((l|0)==1145457748){break a}}l=v[(h<<2)+298144>>2];B=Xg();cp(m,1196643650,f+16|0,l,B);e=0;h=0;k=v[B+40>>2];c:{if(!k){break c}h=1;i=v[B+44>>2];d=i;if(v[d>>2]|v[d+4>>2]){break c}while(1){q=i+(e<<6)|0;d=q;if(v[d+8>>2]|v[d+12>>2]|(v[d+16>>2]|v[d+20>>2])|(v[d+24>>2]|v[d+28>>2]|(v[d+32>>2]|v[d+36>>2]))){break c}if(v[q+56>>2]|v[q+60>>2]|(v[q+40>>2]|v[q+44>>2]|(v[q+48>>2]|v[q+52>>2]))){break c}e=e+1|0;h=k>>>0>e>>>0;if((e|0)==(k|0)){break c}d=i+(e<<6)|0;if(!(v[d>>2]|v[d+4>>2])){continue}break}}if((h^-1)&1){break a}j=Xg();v[f>>2]=-1;if(Pe(B,f)){while(1){bp(m,1196643650,v[f>>2],0,j);if(Pe(B,f)){continue}break}}C=Xg();cp(m,1196445523,f+16|0,l,C);D=Xg();v[f>>2]=-1;if(Pe(C,f)){while(1){bp(m,1196445523,v[f>>2],D,0);if(Pe(C,f)){continue}break}}d:{if(v[b+16>>2]==10){break d}o=(v[b+12>>2]<<3)+287776|0;e=v[o>>2];if((e|0)==5531){break a}h=0;while(1){k=e+282240|0;e=w[k|0];if(e){while(1){d=e&255;k=k+1|0;if(e<<24>>24<=-1){i=d>>>0<240;e=d>>>0<224;l=e?1:i?2:3;q=l-1|0;d=(e?31:i?15:7)&d;e=k;i=l;n=i;while(1){d=w[e|0]&63|d<<6;i=i-1|0;e=e+1|0;n=n-1|0;if(n){continue}break}if(q>>>0>=3){while(1){d=w[e+3|0]&63|((w[e+1|0]&63|(d<<12|(w[e|0]&63)<<6))<<12|(w[e+2|0]&63)<<6);e=e+4|0;i=i-4|0;if(i){continue}break}}k=k+l|0}v[f>>2]=-1;while(1){e:{if(!Pe(B,f)){e=h;break e}ea=f,fa=kc(v[a>>2],d),v[ea+12>>2]=fa;e=1;if(!vd(m,v[f>>2],f+12|0,1,1)){continue}}break}h=e;e=w[k|0];if(e){continue}break}}e=v[o+8>>2];o=o+8|0;if((e|0)!=5531){continue}break}if(!(h&255)){break a}if(v[b+16>>2]==10){break d}h=0;k=0;d=0;f:{if(!w[j+12|0]){break f}v[j+16>>2]=-1;p=v[70112];r=v[70113];q=j;e=v[j+40>>2];n=(e|0)!=0;s=D;i=v[s+40>>2];t=n&(i|0)!=0;g:{if(!t){l=e;break g}z=v[s+32>>2];A=v[s+28>>2];l=p;g=v[j+28>>2];while(1){h:{i:{j:{k:{l:{m:{if(d>>>0<g>>>0){o=v[(h>>>0<A>>>0?z+(h<<3)|0:280448)>>2];m=d<<3;if((o|0)==v[m+v[j+32>>2]>>2]){break m}m=v[m+v[j+32>>2]>>2];break k}v[163916]=p;v[163917]=r;m=h>>>0<A>>>0?z+(h<<3)|0:280448;if((l|0)!=v[m>>2]){break l}}h=h+1|0;break j}v[163916]=p;v[163917]=r;o=v[m>>2];m=l}if(m>>>0>=o>>>0){break i}}d=d+1|0;k=k+1|0;break h}h=h+1|0}if(h>>>0<i>>>0?d>>>0<e>>>0:0){continue}break}l=(e-d|0)+k|0}if(!hc(q,l)){break f}n:{if(!t){h=l;d=e;break n}m=r;q=p;h=l;while(1){d=e-1|0;n=v[j+28>>2];z=d>>>0<n>>>0;o:{if(!z){v[163916]=p;v[163917]=r;o=q;break o}o=v[v[j+32>>2]+(d<<3)>>2]}k=i-1|0;A=k<<3;g=y[s+28>>2]>k>>>0?A+v[s+32>>2]|0:280448;t=v[g>>2];p:{if((o|0)==(t|0)){h=h-1|0;q:{if(!z){v[163916]=p;v[163917]=r;e=655664;break q}e=v[j+32>>2]+(d<<3)|0}r:{if(h>>>0>=n>>>0){v[163916]=p;v[163917]=r;g=655664;break r}g=v[j+32>>2]+(h<<3)|0}i=v[e+4>>2];v[g>>2]=v[e>>2];v[g+4>>2]=i;o=v[j+28>>2];s:{if(o>>>0<=d>>>0){v[163916]=p;v[163917]=r;e=m;break s}e=v[(v[j+32>>2]+(d<<3)|0)+4>>2]}t:{if(e>>>0>=y[j+40>>2]){e=v[70127];v[163930]=v[70126];v[163931]=e;e=v[70125];v[163928]=v[70124];v[163929]=e;e=v[70123];v[163926]=v[70122];v[163927]=e;e=v[70121];v[163924]=v[70120];v[163925]=e;e=v[70119];v[163922]=v[70118];v[163923]=e;e=v[70117];v[163920]=v[70116];v[163921]=e;e=v[70115];v[163918]=v[70114];v[163919]=e;e=v[70113];v[163916]=v[70112];v[163917]=e;o=v[j+28>>2];e=655664;break t}e=v[j+44>>2]+(e<<6)|0}i=v[(y[s+28>>2]>k>>>0?A+v[s+32>>2]|0:280448)+4>>2];g=i>>>0<y[s+40>>2]?v[s+44>>2]+(i<<6)|0:280448;Q=v[g+56>>2]^-1;R=v[g+60>>2]^-1;E=v[e+56>>2];F=v[e+60>>2];S=v[g+48>>2]^-1;T=v[g+52>>2]^-1;G=v[e+48>>2];H=v[e+52>>2];U=v[g+40>>2]^-1;V=v[g+44>>2]^-1;I=v[e+40>>2];J=v[e+44>>2];W=v[g+32>>2]^-1;X=v[g+36>>2]^-1;K=v[e+32>>2];M=v[e+36>>2];Y=v[g+24>>2]^-1;Z=v[g+28>>2]^-1;N=v[e+24>>2];P=v[e+28>>2];_=v[g+16>>2]^-1;$=v[g+20>>2]^-1;n=v[e+16>>2];z=v[e+20>>2];aa=v[g+8>>2]^-1;ba=v[g+12>>2]^-1;A=v[e+8>>2];t=v[e+12>>2];ca=v[g>>2]^-1;da=v[g+4>>2]^-1;g=v[e>>2];i=v[e+4>>2];u:{if(h>>>0>=o>>>0){v[163916]=p;v[163917]=r;e=m;break u}e=v[(v[j+32>>2]+(h<<3)|0)+4>>2]}E=E&Q;F=F&R;G=G&S;H=H&T;I=I&U;J=J&V;K=K&W;M=M&X;N=N&Y;P=P&Z;n=n&_;z=z&$;A=A&aa;t=t&ba;g=g&ca;i=i&da;v:{if(e>>>0>=y[j+40>>2]){e=v[70127];v[163930]=v[70126];v[163931]=e;e=v[70125];v[163928]=v[70124];v[163929]=e;e=v[70123];v[163926]=v[70122];v[163927]=e;e=v[70121];v[163924]=v[70120];v[163925]=e;e=v[70119];v[163922]=v[70118];v[163923]=e;e=v[70117];v[163920]=v[70116];v[163921]=e;e=v[70115];v[163918]=v[70114];v[163919]=e;e=v[70113];v[163916]=v[70112];v[163917]=e;e=655664;break v}e=v[j+44>>2]+(e<<6)|0}v[e+56>>2]=E;v[e+60>>2]=F;v[e+48>>2]=G;v[e+52>>2]=H;v[e+40>>2]=I;v[e+44>>2]=J;v[e+32>>2]=K;v[e+36>>2]=M;v[e+24>>2]=N;v[e+28>>2]=P;v[e+16>>2]=n;v[e+20>>2]=z;v[e+8>>2]=A;v[e+12>>2]=t;v[e>>2]=g;v[e+4>>2]=i;break p}w:{x:{if(d>>>0<n>>>0){g=d<<3;if(t>>>0<y[g+v[j+32>>2]>>2]){break x}d=e;break p}v[163916]=p;v[163917]=r;if(q>>>0<=y[g>>2]){d=e;break p}v[163916]=p;v[163917]=r;e=655664;break w}e=g+v[j+32>>2]|0}h=h-1|0;y:{if(n>>>0<=h>>>0){v[163916]=p;v[163917]=r;g=655664;break y}g=v[j+32>>2]+(h<<3)|0}k=v[e+4>>2];v[g>>2]=v[e>>2];v[g+4>>2]=k;k=i}n=(d|0)!=0;if(!d){break n}e=d;i=k;if(i){continue}break}}z:{if(!n){break z}d=d-1|0;k=v[j+28>>2];A:{if(d>>>0>=k>>>0){v[163916]=p;v[163917]=r;e=655664;break A}e=v[j+32>>2]+(d<<3)|0}while(1){h=h-1|0;B:{if(k>>>0<=h>>>0){v[163916]=p;v[163917]=r;k=655664;break B}k=v[j+32>>2]+(h<<3)|0}i=v[e+4>>2];v[k>>2]=v[e>>2];v[k+4>>2]=i;if(!d){break z}d=d-1|0;k=v[j+28>>2];if(d>>>0>=k>>>0){v[163916]=p;v[163917]=r;e=655664}else{e=v[j+32>>2]+(d<<3)|0}continue}}if(!h){if(l>>>0>=y[j+40>>2]){break f}hc(j,l);break f}O(229582,229570,722,229589);L()}}v[f>>2]=-1;if(!Pe(j,f)){break a}while(1){d=v[f>>2];C:{if(d>>>0>=y[a+4>>2]){break C}d=(d<<1)+c|0;if(x[d>>1]!=16383){break C}u[d>>1]=v[b>>2]}if(Pe(j,f)){continue}break}}Wg(B);Wg(j);Wg(C);Wg(D)}Ca=f+32|0}function yj(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;m=Ca-16|0;Ca=m;h=wb(v[a+100>>2],(v[a+16>>2]<<1)+400|0,m+4|0);e=v[m+4>>2];if(!e){v[h>>2]=a;e=v[a+16>>2];v[h+396>>2]=c;v[h+8>>2]=h+400;v[h+4>>2]=e;v[h+376>>2]=0;v[h+380>>2]=0;e=0;u[h+372>>1]=0;v[h+384>>2]=0;v[h+388>>2]=0;v[h+392>>2]=0;c=v[a+104>>2];a:{if(!v[c+20>>2]){n=bk(v[c>>2],v[c+4>>2],1,a,0);c=n;j=v[a+4>>2];d=Ca-48|0;Ca=d;v[d+16>>2]=0;v[d+20>>2]=0;t[d+21|0]=0;t[d+22|0]=0;t[d+23|0]=0;t[d+24|0]=0;t[d+25|0]=0;t[d+26|0]=0;t[d+27|0]=0;t[d+28|0]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;t[d+44|0]=0;v[d+40>>2]=65536;f=d+8|0;c=Hb(c?c:280448);i=Hb(c);v[f+28>>2]=i;b:{c:{d:{e:{f:{g:{while(1){t[f+20|0]=l;l=v[i+12>>2];v[f+4>>2]=l;k=v[i+16>>2];v[f+8>>2]=k+l;if((k|0)<=-1){break c}v[f+24>>2]=0;g=f;if(k>>>0>67108862){k=1073741823}else{k=k<<6;k=k>>>0>16384?k:16384;k=k>>>0<1073741823?k:1073741823}v[g+12>>2]=k;v[f>>2]=0;if(!l){Sa(i);v[f+28>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;break b}g=xw(l,f);k=v[f+24>>2];h:{if(g){if(!k){break h}v[f+24>>2]=0;k=xw(l,f);g=v[f+24>>2];Sa(v[f+28>>2]);v[f+28>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;if(g){break d}if(k){break g}break d}if(w[f+20|0]|!k){break f}g=xc(c);v[f+4>>2]=g;v[f+8>>2]=g+v[c+16>>2];i=v[f+28>>2];l=1;if(g){continue}break e}break}Sa(v[f+28>>2]);v[f+28>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0}if(v[c+4>>2]){v[c+4>>2]=0}break b}i=v[f+28>>2]}Sa(i);v[f+28>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0}Sa(c);c=280448;break b}O(280308,280333,194,280350);L()}g=c;f=eb(1,8);i:{if(f){v[f+4>>2]=j;v[f>>2]=g;c=eb(1,204);j:{if(c){v[c+32>>2]=-1;v[c+20>>2]=570;v[c+16>>2]=f;v[c+12>>2]=571;v[c>>2]=1;v[c+4>>2]=1;v[c+36>>2]=c;v[c+48>>2]=c;break j}Sa(g);Pa(f);c=654360}v[c+24>>2]=j;break i}Sa(g);c=654360}Ca=d+48|0;Sa(n);break a}c=ww(584,a)}g=v[a+4>>2];if(v[c+4>>2]){v[c+24>>2]=g}g=x[a+68>>1];if(v[c+4>>2]){v[c+28>>2]=g}i=Ww(c);on(c);c=v[a+92>>2];if(c){c=v[c+4>>2]==1937337698}else{c=0}g=eb(1,1044);if(g){t[g+13|0]=0;t[g+12|0]=c;v[g+4>>2]=a;v[g+8>>2]=2;Ra(g+20|0,255,1024);c=v[164012];k:{if(c){break k}while(1){a=xn();dx(a,586);wn(a,587,0);bx(a,588);vn(a,589,0);$w(a,590);ax(a,591,0);un(a,592,0);_w(a,593,0);tn(a,594,0);Zw(a,595,0);Yw(a,596);Xw(a,597);if(v[a+4>>2]){v[a+4>>2]=0}a=a?a:654144;c=v[164012];if(!c){v[164012]=a;c=a;break k}if(a){if((a|0)!=654144){ud(a)}c=v[164012]}if(!c){continue}break}}sn(i,c,g,585)}l=Ca-16|0;Ca=l;l:{if(v[i+80>>2]!=585){break l}d=v[v[i+76>>2]+4>>2];g=x[d+68>>1];c=v[d+88>>2];a=v[c+16>>2];a=eQ(g,0,a,a>>31)+32768|0;f=Da;f=a>>>0<32768?f+1|0:f;f=(f&65535)<<16|a>>>16;a=v[c+20>>2];a=eQ(a,a>>31,g,0)+32768|0;c=Da;c=a>>>0<32768?c+1|0:c;Hj(i,f,(c&65535)<<16|a>>>16);v[l+12>>2]=0;if(hn(d,l+12|0)){break l}a=v[l+12>>2];j=eb(v[a>>2],4);n=eb(v[a>>2],4);m:{if(!j|!n){break m}f=v[a>>2];c=6;n:{o:{if(!j){break o}a=35;if(!d){break n}if(!(t[d+9|0]&1)){break o}p:{q:{k=v[d+128>>2];a=v[k+32>>2];switch(a+2|0){case 0:break o;case 2:break q;default:break p}}g=v[d+96>>2];a=v[v[g>>2]+32>>2];r:{if(!a){a=0;break r}a=Ea[a|0](g,282205)|0;k=v[d+128>>2]}v[k+32>>2]=a?a:-2}if(!a){break o}a=v[a+12>>2];if(!a){break o}c=Ea[a|0](d,f,j)|0}a=c}if(a){break m}s:{f=v[l+12>>2];if(!v[f>>2]){break s}a=0;while(1){g=a<<2;c=g+j|0;k=v[c>>2]>>2;v[c>>2]=k;v[g+n>>2]=k;o=(k|0)!=0|o;a=a+1|0;c=v[f>>2];if(a>>>0<c>>>0){continue}break}if(!(o&1)){break s}Uw(i,n,c);break m}Uw(i,0,0)}Pa(n);Pa(j);c=v[l+12>>2];a=v[v[d+84>>2]>>2];if(a){a=v[a>>2];if(c){Ea[v[a+8>>2]](a,c)}}}Ca=l+16|0;v[h+12>>2]=i;p=h,q=df(),v[p+16>>2]=q;d=v[h+8>>2];j=v[h>>2];k=v[j+92>>2];a=v[h+4>>2];t:{if(!a){break t}c=a&7;if(a-1>>>0>=7){i=a&-8;while(1){a=e<<1;u[a+d>>1]=16383;u[d+(a|2)>>1]=16383;u[d+(a|4)>>1]=16383;u[d+(a|6)>>1]=16383;u[d+(a|8)>>1]=16383;u[d+(a|10)>>1]=16383;u[d+(a|12)>>1]=16383;u[d+(a|14)>>1]=16383;e=e+8|0;i=i-8|0;if(i){continue}break}}if(!c){break t}while(1){u[d+(e<<1)>>1]=16383;e=e+1|0;c=c-1|0;if(c){continue}break}}u:{if(nf(j,1970170211)){break u}l=-1;a=291660;i=0;while(1){c=v[a+8>>2];f=v[(c<<2)+293504>>2];e=v[f+4>>2];v:{if(!e){break v}if(v[a+16>>2]==10){g=(c|0)==v[v[h+396>>2]+16>>2];a=v[e>>2];if(a){while(1){c=e;e=kc(j,a);v[m+12>>2]=e;w:{if(!e|e>>>0>=y[h+4>>2]){break w}e=d+(e<<1)|0;if((x[e>>1]&16383)!=16383){break w}u[e>>1]=i}a=Vf(j,a,m+12|0);while(1){e=v[m+12>>2];if(!(!e|y[c+4>>2]<a>>>0)){x:{if(e>>>0>=y[h+4>>2]){break x}e=d+(e<<1)|0;if((x[e>>1]&16383)!=16383){break x}u[e>>1]=i}a=Vf(j,a,m+12|0);continue}break}e=c+8|0;a=v[c+8>>2];if(a){continue}break}}l=g?i:l;e=v[f+8>>2];a=v[e>>2];if(!a){break v}while(1){c=e;e=kc(j,a);v[m+8>>2]=e;y:{if(!e|e>>>0>=y[h+4>>2]){break y}g=d+(e<<1)|0;e=x[g>>1];if((e&16383)!=(i&65535)){break y}u[g>>1]=e|16384}a=Vf(j,a,m+8|0);while(1){e=v[m+8>>2];if(!(!e|y[c+4>>2]<a>>>0)){z:{if(e>>>0>=y[h+4>>2]){break z}g=d+(e<<1)|0;e=x[g>>1];if((e&16383)!=(i&65535)){break z}u[g>>1]=e|16384}a=Vf(j,a,m+8|0);continue}break}e=c+8|0;a=v[c+8>>2];if(a){continue}break}break v}fn(h,a,d,0)}i=i+1|0;a=v[(i<<2)+293760>>2];if((i|0)!=87){continue}break}a=0;e=291660;while(1){if(v[e+16>>2]==10){fn(h,e,d,0)}a=a+1|0;e=v[(a<<2)+293760>>2];if((a|0)!=87){continue}break}fn(h,v[(l<<2)+293760>>2],d,1);a=kc(j,48);if(!(!a|a>>>0>=y[h+4>>2])){a=d+(a<<1)|0;u[a>>1]=x[a>>1]|32768}a=kc(j,49);if(!(!a|a>>>0>=y[h+4>>2])){a=d+(a<<1)|0;u[a>>1]=x[a>>1]|32768}a=kc(j,50);if(!(!a|a>>>0>=y[h+4>>2])){a=d+(a<<1)|0;u[a>>1]=x[a>>1]|32768}a=kc(j,51);if(!(!a|a>>>0>=y[h+4>>2])){a=d+(a<<1)|0;u[a>>1]=x[a>>1]|32768}a=kc(j,52);if(!(!a|a>>>0>=y[h+4>>2])){a=d+(a<<1)|0;u[a>>1]=x[a>>1]|32768}a=kc(j,53);if(!(!a|a>>>0>=y[h+4>>2])){a=d+(a<<1)|0;u[a>>1]=x[a>>1]|32768}a=kc(j,54);if(!(!a|a>>>0>=y[h+4>>2])){a=d+(a<<1)|0;u[a>>1]=x[a>>1]|32768}a=kc(j,55);if(!(!a|a>>>0>=y[h+4>>2])){a=d+(a<<1)|0;u[a>>1]=x[a>>1]|32768}a=kc(j,56);if(!(!a|a>>>0>=y[h+4>>2])){a=d+(a<<1)|0;u[a>>1]=x[a>>1]|32768}a=kc(j,57);if(!a|a>>>0>=y[h+4>>2]){break u}a=d+(a<<1)|0;u[a>>1]=x[a>>1]|32768}o=v[v[h+396>>2]+12>>2];A:{if((o|0)==16383){break A}n=v[h+4>>2];if((n|0)<1){break A}a=0;if((n|0)!=1){e=n&-2;while(1){f=a<<1;g=f+d|0;c=x[g>>1];if((c&16383)==16383){u[g>>1]=o|c&49152}g=d+(f|2)|0;c=x[g>>1];if((c&16383)==16383){u[g>>1]=o|c&49152}a=a+2|0;e=e-2|0;if(e){continue}break}}if(!(n&1)){break A}c=d+(a<<1)|0;a=x[c>>1];if((a&16383)!=16383){break A}u[c>>1]=o|a&49152}se(j,k);v[h+20>>2]=0;e=0}v[b>>2]=h;Ca=m+16|0;return e}function ng(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,z=0,A=0,C=0,D=0,E=0,F=0,G=0;f=Ca+-64|0;Ca=f;q=v[a+100>>2];h=v[a+104>>2];v[f+56>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;e=v[a+736>>2];a:{b:{if(!e){c=Ea[v[a+516>>2]](a,1735811442,h,f+60|0)|0;v[f+56>>2]=c;if(c){c=Ea[v[a+516>>2]](a,1128678962,h,f+60|0)|0;v[f+56>>2]=c;if(c){break a}}c=Ea[v[a+516>>2]](a,1719034226,h,f+60|0)|0;v[f+56>>2]=c;if(c){break a}n=v[h+8>>2];c=ub(h,5520,f+40|0);v[f+56>>2]=c;if(c){break a}i=x[f+46>>1];g=x[f+52>>1];c=wb(q,80,f+56|0);v[a+736>>2]=c;if(v[f+56>>2]){break a}j=x[f+46>>1];v[c>>2]=j;D=(g|0)==((i<<2)+6|0);break b}j=v[e>>2];c=e}s=B(j,24);o=v[a+12>>2]>>>16|0;z=B(o,12);A=(j<<1)+3&-4;E=B(j,o);C=E<<2;if(!e){e=c;c=((((B(j,5)+s|0)+A|0)+z|0)+C|0)+20|0;v[e+16>>2]=c;l=wb(q,c,f+56|0);if(v[f+56>>2]){break a}v[v[a+736>>2]+12>>2]=l;r=l+20|0;m=A+r|0;p=s+m|0;v[l+16>>2]=p;v[l+12>>2]=m;v[l+8>>2]=o;v[l+4>>2]=-1;v[l>>2]=j;e=p+z|0;c:{if(!o){break c}i=o&3;d:{if(o-1>>>0<3){c=e;break d}g=o&65532;c=e;while(1){v[p+B(d,12)>>2]=c;k=c;c=j<<2;k=k+c|0;v[p+B(d|1,12)>>2]=k;k=c+k|0;v[p+B(d|2,12)>>2]=k;k=c+k|0;v[p+B(d|3,12)>>2]=k;c=c+k|0;d=d+4|0;g=g-4|0;if(g){continue}break}}if(!i){break c}g=j<<2;while(1){v[p+B(d,12)>>2]=c;d=d+1|0;c=c+g|0;i=i-1|0;if(i){continue}break}}e:{if(!j){break e}g=j&7;c=e+C|0;d=0;if(j-1>>>0>=7){i=j&-8;while(1){v[B(d,24)+m>>2]=c;v[B(d|1,24)+m>>2]=c+5;v[B(d|2,24)+m>>2]=c+10;v[B(d|3,24)+m>>2]=c+15;v[B(d|4,24)+m>>2]=c+20;v[B(d|5,24)+m>>2]=c+25;v[B(d|6,24)+m>>2]=c+30;v[B(d|7,24)+m>>2]=c+35;d=d+8|0;c=c+40|0;i=i-8|0;if(i){continue}break}}if(!g){break e}while(1){v[B(d,24)+m>>2]=c;d=d+1|0;c=c+5|0;g=g-1|0;if(g){continue}break}}c=Ya(h,x[f+44>>1]+n|0);v[f+56>>2]=c;if(c){break a}if(j){d=v[l+12>>2];e=0;while(1){c=ub(h,5568,f+16|0);v[f+56>>2]=c;if(c){break a}c=v[f+16>>2];v[d+16>>2]=c;v[d+4>>2]=v[f+20>>2];v[d+8>>2]=v[f+24>>2];v[d+12>>2]=v[f+28>>2];v[d+20>>2]=x[f+34>>1];t[v[d>>2]]=c>>>24;t[v[d>>2]+1|0]=x[d+18>>1];t[v[d>>2]+2|0]=v[d+16>>2]>>>8;t[v[d>>2]+3|0]=v[d+16>>2];t[v[d>>2]+4|0]=0;u[r>>1]=x[f+32>>1];c=v[d+8>>2];if(!((c|0)<=v[d+12>>2]?(c|0)>=v[d+4>>2]:0)){v[d+12>>2]=c;v[d+4>>2]=c}r=r+2|0;d=d+24|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}g=Ua(q,4,0,E,0,f+56|0);e=v[a+736>>2];v[e+20>>2]=g;if(v[f+56>>2]){break a}c=!o;f:{if(!x[f+50>>1]){break f}g:{if(!w[e+24|0]){c=v[h+8>>2];or(a);c=Ya(h,c);v[f+56>>2]=c;if(c){break a}if(!x[f+50>>1]){break g}g=v[v[a+736>>2]+20>>2]}m=(j<<2)+(D?6:4)|0;n=!D;e=v[l+16>>2];i=0;p=j<<2;while(1){c=vb(h,m);v[f+56>>2]=c;if(c){break a}F=e,G=Cb(h),v[F+4>>2]=G;Cb(h);h:{if(!j){break h}d=v[e>>2];c=1;while(1){F=d,G=tc(h),v[F>>2]=G;if((c|0)==(j|0)){break h}d=d+4|0;c=c+1|0;continue}}c=e;if(n){k=65535}else{k=Cb(h)}v[c+8>>2]=k;nr(v[a+736>>2],j,v[e>>2],g);pb(h);e=e+12|0;g=g+p|0;i=i+1|0;c=x[f+50>>1];if(i>>>0<c>>>0){continue}break}c=(c|0)==(o|0);break f}c=!o}i:{if(c){break i}c=17;e=v[a+540>>2];if(!(Ea[v[e+164>>2]](a,17,f+16|0,f+12|0)|0)){c=2;if(!(Ea[v[e+164>>2]](a,2,f+16|0,f+12|0)|0)){break i}}if(!(Ea[v[e+164>>2]](a,6,f+16|0,f+12|0)|0)){break i}d=v[l+16>>2]+B(x[f+50>>1],12)|0;v[d+8>>2]=6;v[d+4>>2]=c;if(!j){break i}e=j&7;d=v[d>>2];c=v[l+12>>2];if(j-1>>>0>=7){g=j&-8;while(1){v[d>>2]=v[c+8>>2];v[d+4>>2]=v[c+32>>2];v[d+8>>2]=v[c+56>>2];v[d+12>>2]=v[c+80>>2];v[d+16>>2]=v[c+104>>2];v[d+20>>2]=v[c+128>>2];v[d+24>>2]=v[c+152>>2];v[d+28>>2]=v[c+176>>2];d=d+32|0;c=c+192|0;g=g-8|0;if(g){continue}break}}if(!e){break i}while(1){v[d>>2]=v[c+8>>2];d=d+4|0;c=c+24|0;e=e-1|0;if(e){continue}break}}c=Ca-16|0;Ca=c;d=v[a+736>>2];e=v[a+104>>2];h=v[e+28>>2];i=Ea[v[a+516>>2]](a,1297498450,e,c+8|0)|0;v[c+12>>2]=i;j:{if(i){break j}i=v[e+8>>2];g=kb(e,c+12|0);if(v[c+12>>2]){break j}l=Ub(e,2);v[c+12>>2]=l;if((g|0)!=1|l){break j}F=d,G=wb(h,28,c+12|0),v[F+56>>2]=G;if(v[c+12>>2]){break j}g=Ub(e,4);v[c+12>>2]=g;if(g){break j}g=kb(e,c+12|0);u[v[d+56>>2]>>1]=g;if(v[c+12>>2]){break j}g=kb(e,c+12|0);if(v[c+12>>2]){break j}l=v[e+8>>2];i=jr(v[a+104>>2],v[a+736>>2],g+i|0,v[d+56>>2]+4|0);v[c+12>>2]=i;if(i){break j}h=Ua(h,12,0,x[v[d+56>>2]>>1],0,c+12|0);v[v[d+56>>2]+24>>2]=h;if(v[c+12>>2]){break j}h=Ya(e,l);v[c+12>>2]=h;if(h){break j}h=vb(e,x[v[d+56>>2]>>1]<<3);v[c+12>>2]=h;if(h){break j}h=v[d+56>>2];i=x[h>>1];k:{if(!i){break k}n=v[h+24>>2];i=n+B(i,12)|0;while(1){l:{F=n,G=tc(e),v[F>>2]=G;F=n,G=Cb(e),u[F+4>>1]=G;g=Cb(e);u[n+6>>1]=g;l=x[n+4>>1];if(l>>>0>=y[h+4>>2]|g>>>0>=y[v[h+8>>2]+(l<<4)>>2]){break l}n=n+12|0;if(i>>>0>n>>>0){continue}break k}break}v[c+12>>2]=8}pb(e);if(v[c+12>>2]){break j}e=v[d+56>>2];d=x[e>>1];if(d){g=v[e+24>>2];e=g+B(d,12)|0;while(1){d=ir(a,v[g>>2]);if(d){u[g+8>>1]=x[d>>1]}g=g+12|0;if(e>>>0>g>>>0){continue}break}}v[a+740>>2]=v[a+740>>2]|256}Ca=c+16|0}if(!b){break a}c=wb(q,v[v[a+736>>2]+16>>2],f+56|0);if(v[f+56>>2]){break a}a=v[a+736>>2];g=Ta(c,v[a+12>>2],v[a+16>>2]);c=(g+A|0)+20|0;h=s+c|0;v[g+16>>2]=h;v[g+12>>2]=c;a=h+z|0;e=v[g+8>>2];m:{if(!e){break m}l=e&3;n:{if(e-1>>>0<3){d=0;e=a;break n}i=e&-4;d=0;e=a;while(1){v[h+B(d,12)>>2]=e;k=e;e=j<<2;m=k+e|0;v[h+B(d|1,12)>>2]=m;m=e+m|0;v[h+B(d|2,12)>>2]=m;m=e+m|0;v[h+B(d|3,12)>>2]=m;e=e+m|0;d=d+4|0;i=i-4|0;if(i){continue}break}}if(!l){break m}i=j<<2;while(1){v[h+B(d,12)>>2]=e;d=d+1|0;e=e+i|0;l=l-1|0;if(l){continue}break}}o:{if(!j){break o}i=j&1;d=a+C|0;if((j|0)!=1){j=j&-2;while(1){v[c>>2]=d;a=c;p:{q:{r:{e=v[c+16>>2];if((e|0)<=2003072103){if((e|0)==1869640570){break r}if((e|0)!=1936486004){break p}k=5625;break q}k=5600;if((e|0)==2003265652){break q}if((e|0)!=2003072104){break p}k=5607;break q}k=5613}v[a>>2]=k}v[c+24>>2]=d+5;a=c;s:{t:{u:{v:{e=v[c+40>>2];if((e|0)<=2003072103){if((e|0)==1869640570){break v}if((e|0)!=1936486004){break s}k=5625;break t}if((e|0)==2003072104){break u}k=5600;if((e|0)==2003265652){break t}break s}k=5613;break t}k=5607}v[a+24>>2]=k}c=c+48|0;d=d+10|0;j=j-2|0;if(j){continue}break}}if(!i){break o}v[c>>2]=d;a=c;w:{x:{y:{c=v[c+16>>2];if((c|0)<=2003072103){if((c|0)==1869640570){break y}if((c|0)!=1936486004){break o}e=5625;break w}if((c|0)==2003072104){break x}e=5600;if((c|0)==2003265652){break w}break o}e=5613;break w}e=5607}v[a>>2]=e}v[b>>2]=g}Ca=f- -64|0;return v[f+56>>2]}function fC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0;a=Ca-336|0;Ca=a;v[b>>2]=1;q=b+504|0;v[q>>2]=0;r=xd(v[b+96>>2],18048,1);v[b+488>>2]=r;n=re(v[v[b+96>>2]+4>>2],18065);v[b+492>>2]=n;a:{if(!n){f=11;break a}h=v[b+100>>2];Ra(a+16|0,0,304);y=b,z=qb(h,12,a+12|0),v[y+496>>2]=z;b:{if(v[a+12>>2]){break b}v[b+500>>2]=12;f=v[b+104>>2];Ea[v[v[n+4>>2]>>2]](a+16|0,0,0,h);t[a+100|0]=0;v[a+92>>2]=0;v[a+96>>2]=0;v[a+88>>2]=f;g=Ya(f,0);v[a+320>>2]=g;c:{d:{if(g){break d}g=vb(f,17);v[a+320>>2]=g;if(g){break d}if(lc(v[f+32>>2],18096,17)){g=2;v[a+320>>2]=2;pb(f);break d}pb(f);g=Ya(f,0);v[a+320>>2]=g;if(g){break d}j=v[f+4>>2];e:{if(!v[f+20>>2]){g=v[f+8>>2];i=v[f>>2];t[a+100|0]=1;v[a+96>>2]=j;v[a+92>>2]=g+i;g=Ub(f,j);v[a+320>>2]=g;if(g){break d}j=v[a+96>>2];break e}i=qb(h,j,a+320|0);v[a+92>>2]=i;g=v[a+320>>2];if(g){break d}g=Vb(f,i,j);v[a+320>>2]=g;if(g){break d}v[a+96>>2]=j}h=v[a+92>>2];v[a+20>>2]=h;v[a+12>>2]=0;break c}if(w[a+100|0]){v[a+12>>2]=g;break b}f=v[a+92>>2];if(f){Ea[v[h+8>>2]](h,f)}h=0;v[a+92>>2]=0;f=v[a+320>>2];v[a+12>>2]=f;if(f){break b}j=v[a+96>>2]}v[a+28>>2]=0;v[a+16>>2]=h;j=h+j|0;v[a+24>>2]=j;Ea[v[a+44>>2]](a+16|0);f:{g:{h:{f=v[a+16>>2];if(j>>>0>f>>>0){o=b+132|0;m=b+164|0;p=b+464|0;while(1){i:{j:{g=w[f|0];if(!((g|0)!=70|j>>>0<=f+25>>>0)){if($a(f,18114,13)){break j}Ea[v[a+48>>2]](a+16|0);Ea[v[a+44>>2]](a+16|0);h=v[a+16>>2];f=h;k:{if(j>>>0<=f>>>0){break k}while(1){l:{if(!(w[f|0]!=107|j>>>0<=f+5>>>0)){if(!$a(f,18128,5)){break l}}Ea[v[a+48>>2]](a+16|0);f=v[a+28>>2];if(f){break h}Ea[v[a+44>>2]](a+16|0);f=v[a+16>>2];if(j>>>0>f>>>0){continue}break k}break}Ea[v[a+48>>2]](a+16|0);Ea[v[a+72>>2]](a+16|0,a+320|0);h=v[a+328>>2]==3?v[a+16>>2]:h}v[a+16>>2]=h;break i}if((g|0)!=47|j>>>0<=f+2>>>0){break j}g=f+1|0;v[a+16>>2]=g;Ea[v[a+48>>2]](a+16|0);f=v[a+28>>2];if(f){break h}h=v[a+16>>2];k=h-g|0;if(k-1>>>0>20){break i}f=0;if(h>>>0>=j>>>0){break i}while(1){m:{h=B(f,36);l=h+18144|0;i=v[l>>2];if(!i|w[g|0]!=w[i|0]){break m}if((Xa(i)|0)!=(k|0)){break m}if(lc(g,i,k)){break m}g=a;n:{if(f-15>>>0<=3){Ea[v[h+18156>>2]](b,a+16|0);f=v[a+28>>2];break n}f=v[h+18152>>2];o:{p:{switch(v[h+18148>>2]-2|0){case 0:v[a+320>>2]=m;break o;case 3:v[a+320>>2]=p;break o;default:break p}}v[a+320>>2]=o}if(f-9>>>0<=1){f=Ea[v[a+84>>2]](a+16|0,l,a+320|0,0,0)|0;break n}f=Ea[v[a+80>>2]](a+16|0,l,a+320|0,0,0)|0}v[g+28>>2]=f;if(!f){break i}v[a+12>>2]=f;break b}f=f+1|0;if((f|0)!=20){continue}break}break i}Ea[v[a+48>>2]](a+16|0);f=v[a+28>>2];if(f){break h}}Ea[v[a+44>>2]](a+16|0);f=v[a+16>>2];if(j>>>0>f>>>0){continue}break}}f=v[a+28>>2];v[a+12>>2]=f;if(f){break b}if(w[b+437|0]!=42){v[a+12>>2]=2;break b}h=v[a+160>>2];v[b+420>>2]=h;if(!v[a+228>>2]){v[a+12>>2]=3}j=0;v[a+228>>2]=0;v[b+396>>2]=v[a+216>>2];v[b+428>>2]=v[a+240>>2];v[b+432>>2]=v[a+244>>2];v[b+400>>2]=v[a+164>>2];v[b+424>>2]=v[a+188>>2];v[a+188>>2]=0;v[a+164>>2]=0;if(v[b+368>>2]!=1){break b}i=0;k=v[a+124>>2];if((k|0)<1){break f}g=0;if((h|0)<=0){break g}while(1){l=g<<2;o=v[l+v[a+132>>2]>>2];p=g<<1;u[p+v[b+384>>2]>>1]=0;v[l+v[b+388>>2]>>2]=18088;q:{if(!o){break q}s=v[b+424>>2];f=0;while(1){m=v[(f<<2)+s>>2];if(Wa(o,m)){f=f+1|0;if((h|0)!=(f|0)){continue}break q}break}u[p+v[b+384>>2]>>1]=f;v[l+v[b+388>>2]>>2]=m;if(!Wa(18088,m)){break q}i=(g|0)<(i|0)?i:g+1|0;j=(g|0)<(j|0)?g:j}g=g+1|0;if((k|0)!=(g|0)){continue}break}break f}v[a+12>>2]=f;break b}h=k&3;f=0;if(k-1>>>0>=3){g=k&-4;while(1){u[v[b+384>>2]+(f<<1)>>1]=0;v[v[b+388>>2]+(f<<2)>>2]=18088;i=f|1;u[v[b+384>>2]+(i<<1)>>1]=0;v[v[b+388>>2]+(i<<2)>>2]=18088;i=f|2;u[v[b+384>>2]+(i<<1)>>1]=0;v[v[b+388>>2]+(i<<2)>>2]=18088;i=f|3;u[v[b+384>>2]+(i<<1)>>1]=0;v[v[b+388>>2]+(i<<2)>>2]=18088;f=f+4|0;g=g-4|0;if(g){continue}break}}i=0;if(!h){break f}while(1){u[v[b+384>>2]+(f<<1)>>1]=0;v[v[b+388>>2]+(f<<2)>>2]=18088;f=f+1|0;h=h-1|0;if(h){continue}break}}v[b+380>>2]=i;v[b+376>>2]=j;v[b+372>>2]=v[a+104>>2]}f=v[a+156>>2];if(f){Ea[f|0](a+108|0)}f=v[a+264>>2];if(f){Ea[f|0](a+216|0)}f=v[a+212>>2];if(f){Ea[f|0](a+164|0)}f=v[a+316>>2];if(f){Ea[f|0](a+268|0)}if(!w[a+100|0]){f=v[a+32>>2];g=v[a+92>>2];if(g){Ea[v[f+8>>2]](f,g)}v[a+92>>2]=0}f=v[a+40>>2];if(f){Ea[f|0](a+16|0)}f=v[a+12>>2];if(f|(c|0)<0){break a}f=6;if(c&65535){break a}v[b+36>>2]=0;v[b+4>>2]=0;v[b+24>>2]=18071;v[b+16>>2]=v[b+420>>2];c=v[b+144>>2];v[b+20>>2]=c;v[b+8>>2]=v[b+8>>2]|(w[b+156|0]?533:529)|2048;r:{if(c){f=v[b+140>>2];if(!f){break r}h=w[f|0];if(!h){break r}while(1){h=h&255;g=w[c|0];s:{if((h|0)==(g|0)){f=f+1|0;c=c+1|0;break s}h=h-32|0;if(!(!h|(h|0)==13)){t:{switch(g-32|0){case 0:case 13:c=c+1|0;break s;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break r;default:break t}}if(g){break r}v[b+24>>2]=f;break r}f=f+1|0}h=w[f|0];if(h){continue}break}break r}c=v[b+364>>2];if(!c){break r}v[b+20>>2]=c}v[b+28>>2]=0;v[b+32>>2]=0;v[a+16>>2]=9;y=a,z=pc(v[v[b+96>>2]+4>>2],18079),v[y+36>>2]=z;v[a+20>>2]=v[b+496>>2];v[a+24>>2]=v[b+500>>2];if(d){v[a+44>>2]=e;v[a+40>>2]=d;v[a+16>>2]=25}f=Ur(v[v[b+96>>2]+4>>2],a+16|0,0,q);if(f){break a}Tr(v[v[b+504>>2]+88>>2]);c=v[b+504>>2];d=v[c+56>>2];v[b+52>>2]=v[c+52>>2];v[b+56>>2]=d;d=v[c+64>>2];v[b+60>>2]=v[c+60>>2];v[b+64>>2]=d;u[b+68>>1]=x[c+68>>1];u[b+70>>1]=x[c+70>>1];u[b+72>>1]=x[c+72>>1];u[b+74>>1]=x[c+74>>1];u[b+76>>1]=x[c+76>>1];u[b+78>>1]=x[c+78>>1];u[b+80>>1]=x[b+158>>1];u[b+82>>1]=x[b+160>>1];d=v[b+152>>2]!=0;v[b+12>>2]=d;if(w[c+12|0]&2){v[b+12>>2]=d|2}if(w[c+8|0]&32){v[b+8>>2]=v[b+8>>2]|32}if(!r){f=0;break a}c=v[n+32>>2];v[a+16>>2]=b;v[a+20>>2]=1970170211;v[a+24>>2]=65539;f=yd(v[c+12>>2],0,a+16|0,0);u:{if(!f){break u}d=f&255;if((d|0)==163){break u}if((d|0)!=7){break a}}u[a+24>>1]=7;f=0;v:{w:{switch(v[b+368>>2]-1|0){case 1:u[a+26>>1]=0;v[a+20>>2]=1094995778;break v;case 3:u[a+26>>1]=1;v[a+20>>2]=1094992453;c=c+4|0;break v;case 0:u[a+26>>1]=2;v[a+20>>2]=1094992451;c=c+8|0;break v;case 2:break w;default:break a}}c=c+12|0;u[a+26>>1]=3;v[a+20>>2]=1818326065}b=v[c>>2];if(!b){break a}f=yd(b,0,a+16|0,0)}Ca=a+336|0;return f|0}function qn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Ca-16|0;Ca=g;v[g+12>>2]=0;v[g+8>>2]=0;v[g+4>>2]=0;v[g>>2]=0;e=v[a+8>>2];d=v[a+4>>2];a:{b:{if(!(Ea[v[a+16>>2]](a,c,g+12|0,g+8|0)|0)){break b}c=v[g+8>>2];if(c){v[g>>2]=0;h=c;c=v[e+72>>2];if(!(Ea[v[c+156>>2]](e,v[e+76>>2],h,g,v[c+20>>2])|0)){break b}}v[g+4>>2]=0;c=v[e+72>>2];c=Ea[v[c+156>>2]](e,v[e+76>>2],v[g+12>>2],g+4|0,v[c+20>>2])|0;e=v[g+12>>2];c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(!(!b|!c)){v[(v[d+88>>2]+B(v[d+72>>2],20)|0)+12>>2]=v[g+4>>2];m:{if(!cb(d,0,1)){a=v[d+80>>2];break m}a=v[d+72>>2];b=v[d+76>>2];if(a>>>0>b>>>0){break a}n:{if(a>>>0<b>>>0){f=v[d+80>>2];c=v[d+92>>2];a=v[d+88>>2]+B(a,20)|0;break n}c=v[d+92>>2];f=v[d+80>>2];a=c+B(f?f-1|0:0,20)|0}b=B(f,20)+c|0;c=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=c;v[b+16>>2]=v[a+16>>2];c=v[a+12>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=c;v[b>>2]=e;a=v[d+80>>2]+1|0;v[d+80>>2]=a}e=v[d+12>>2];f=v[d+92>>2]+B(a?a-1|0:0,20)|0;c=v[f>>2];a=Ea[v[e+24>>2]](e,c,v[e+56>>2])|0;if(c>>>0<128){break d}v[d+32>>2]=v[d+32>>2]|1;b=a;o:{if(!Jf(c)){break o}i=v[d+32>>2];v[d+32>>2]=i|2;p:{switch(c-8204|0){case 0:b=a|544;break o;case 1:b=a|288;break o;default:break p}}b=a|96;if(c-6155>>>0<=2){break o}b=a|96;if(c-917536>>>0<=95){break o}b=a|32;if((c|0)!=847){break o}v[d+32>>2]=i|34;b=a|96}if(a>>>0>31){a=b;break d}if(!(1<<a&7168)){a=b;break d}if((c|0)==6752|(c|0)==4038){break l}if((c|0)==3897){a=b|32512;break e}a=b|w[(Ea[v[e+16>>2]](e,c,v[e+48>>2])|0)+280928|0]<<8;break e}f=qn(a,b,e);if(f){c=v[g+8>>2];if(!c){break b}v[(v[d+88>>2]+B(v[d+72>>2],20)|0)+12>>2]=v[g>>2];q:{if(!cb(d,0,1)){a=v[d+80>>2];break q}a=v[d+72>>2];b=v[d+76>>2];if(a>>>0>b>>>0){break a}r:{if(a>>>0<b>>>0){e=v[d+80>>2];b=v[d+92>>2];a=v[d+88>>2]+B(a,20)|0;break r}b=v[d+92>>2];e=v[d+80>>2];a=b+B(e?e-1|0:0,20)|0}b=B(e,20)+b|0;e=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=e;v[b+16>>2]=v[a+16>>2];e=v[a+12>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=e;v[b>>2]=c;a=v[d+80>>2]+1|0;v[d+80>>2]=a}e=v[d+12>>2];i=v[d+92>>2]+B(a?a-1|0:0,20)|0;c=v[i>>2];a=Ea[v[e+24>>2]](e,c,v[e+56>>2])|0;if(c>>>0<128){break f}v[d+32>>2]=v[d+32>>2]|1;h=a;s:{if(!Jf(c)){break s}b=v[d+32>>2];v[d+32>>2]=b|2;t:{switch(c-8204|0){case 0:h=a|544;break s;case 1:h=a|288;break s;default:break t}}h=a|96;if(c-6155>>>0<=2){break s}h=a|96;if(c-917536>>>0<=95){break s}h=a|32;if((c|0)!=847){break s}v[d+32>>2]=b|34;h=a|96}b=h;if(a>>>0>31){a=b;break f}if(!(1<<a&7168)){a=b;break f}if((c|0)==6752|(c|0)==4038){break k}if((c|0)==3897){a=b|32512;break g}a=b|w[(Ea[v[e+16>>2]](e,c,v[e+48>>2])|0)+280928|0]<<8;break g}if(!c){f=0;break b}f=v[g+12>>2];v[(v[d+88>>2]+B(v[d+72>>2],20)|0)+12>>2]=v[g+4>>2];u:{if(!cb(d,0,1)){a=v[d+80>>2];break u}a=v[d+72>>2];b=v[d+76>>2];if(a>>>0>b>>>0){break a}v:{if(a>>>0<b>>>0){e=v[d+80>>2];c=v[d+92>>2];a=v[d+88>>2]+B(a,20)|0;break v}c=v[d+92>>2];e=v[d+80>>2];a=c+B(e?e-1|0:0,20)|0}b=B(e,20)+c|0;c=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=c;v[b+16>>2]=v[a+16>>2];c=v[a+12>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=c;v[b>>2]=f;a=v[d+80>>2]+1|0;v[d+80>>2]=a}e=v[d+12>>2];f=v[d+92>>2]+B(a?a-1|0:0,20)|0;c=v[f>>2];a=Ea[v[e+24>>2]](e,c,v[e+56>>2])|0;if(c>>>0<128){break h}v[d+32>>2]=v[d+32>>2]|1;b=a;w:{if(!Jf(c)){break w}i=v[d+32>>2];v[d+32>>2]=i|2;x:{switch(c-8204|0){case 0:b=a|544;break w;case 1:b=a|288;break w;default:break x}}b=a|96;if(c-6155>>>0<=2){break w}b=a|96;if(c-917536>>>0<=95){break w}b=a|32;if((c|0)!=847){break w}v[d+32>>2]=i|34;b=a|96}if(a>>>0>31){a=b;break h}if(!(1<<a&7168)){a=b;break h}if((c|0)==6752|(c|0)==4038){break j}a=b|32512;if((c|0)==3897){break i}a=b|w[(Ea[v[e+16>>2]](e,c,v[e+48>>2])|0)+280928|0]<<8;break i}a=b|65024;break e}a=b|65024;break g}a=b|65024}a=a|128}u[f+16>>1]=a;f=v[g+8>>2];if(!f){f=1;break b}v[(v[d+88>>2]+B(v[d+72>>2],20)|0)+12>>2]=v[g>>2];y:{if(!cb(d,0,1)){a=v[d+80>>2];break y}a=v[d+72>>2];b=v[d+76>>2];if(a>>>0>b>>>0){break a}z:{if(a>>>0<b>>>0){e=v[d+80>>2];c=v[d+92>>2];a=v[d+88>>2]+B(a,20)|0;break z}c=v[d+92>>2];e=v[d+80>>2];a=c+B(e?e-1|0:0,20)|0}b=B(e,20)+c|0;c=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=c;v[b+16>>2]=v[a+16>>2];c=v[a+12>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=c;v[b>>2]=f;a=v[d+80>>2]+1|0;v[d+80>>2]=a}e=v[d+12>>2];f=v[d+92>>2]+B(a?a-1|0:0,20)|0;c=v[f>>2];a=Ea[v[e+24>>2]](e,c,v[e+56>>2])|0;A:{if(c>>>0<128){break A}v[d+32>>2]=v[d+32>>2]|1;b=a;B:{if(!Jf(c)){break B}i=v[d+32>>2];v[d+32>>2]=i|2;C:{switch(c-8204|0){case 0:b=a|544;break B;case 1:b=a|288;break B;default:break C}}b=a|96;if(c-6155>>>0<=2){break B}b=a|96;if(c-917536>>>0<=95){break B}b=a|32;if((c|0)!=847){break B}v[d+32>>2]=i|34;b=a|96}if(a>>>0>31){a=b;break A}if(!(1<<a&7168)){a=b;break A}D:{if(!((c|0)==6752|(c|0)==4038)){a=b|32512;if((c|0)==3897){break D}a=b|w[(Ea[v[e+16>>2]](e,c,v[e+48>>2])|0)+280928|0]<<8;break D}a=b|65024}a=a|128}u[f+16>>1]=a;break c}a=a|128}u[i+16>>1]=a;f=f+1|0;break b}a=a|128}u[f+16>>1]=a;f=v[g+8>>2];if(!f){f=1;break b}v[(v[d+88>>2]+B(v[d+72>>2],20)|0)+12>>2]=v[g>>2];E:{if(!cb(d,0,1)){e=v[d+80>>2];break E}a=v[d+72>>2];b=v[d+76>>2];if(a>>>0>b>>>0){break a}F:{if(a>>>0<b>>>0){e=v[d+80>>2];c=v[d+92>>2];a=v[d+88>>2]+B(a,20)|0;break F}c=v[d+92>>2];e=v[d+80>>2];a=c+B(e?e-1|0:0,20)|0}b=B(e,20)+c|0;c=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=c;v[b+16>>2]=v[a+16>>2];c=v[a+12>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=c;v[b>>2]=f;e=v[d+80>>2]+1|0;v[d+80>>2]=e}c=v[d+12>>2];f=v[d+92>>2]+B(e?e-1|0:0,20)|0;b=v[f>>2];e=Ea[v[c+24>>2]](c,b,v[c+56>>2])|0;G:{if(b>>>0<128){break G}v[d+32>>2]=v[d+32>>2]|1;a=e;H:{if(!Jf(b)){break H}i=v[d+32>>2];v[d+32>>2]=i|2;I:{switch(b-8204|0){case 0:a=e|544;break H;case 1:a=e|288;break H;default:break I}}a=e|96;if(b-6155>>>0<=2){break H}a=e|96;if(b-917536>>>0<=95){break H}a=e|32;if((b|0)!=847){break H}v[d+32>>2]=i|34;a=e|96}if(e>>>0>31){u[f+16>>1]=a;break c}if(!(1<<e&7168)){u[f+16>>1]=a;break c}J:{if(!((b|0)==6752|(b|0)==4038)){h=a|32512;if((b|0)==3897){break J}h=a|w[(Ea[v[c+16>>2]](c,b,v[c+48>>2])|0)+280928|0]<<8;break J}h=a|65024}e=h|128}u[f+16>>1]=e}f=2}Ca=g+16|0;return f}O(279078,279016,223,279098);L()}function xw(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;n=Ca-16|0;Ca=n;e=v[b+4>>2];a:{if(e>>>0>a>>>0){break a}g=v[b+8>>2];if(g>>>0<a>>>0){break a}h=g-a|0;if(h>>>0<4){break a}f=v[b+12>>2];d=f-4|0;v[b+12>>2]=d;c=1;if((d|0)<1){c=0;break a}b:{c:{d=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d:{if((d|0)<=1953658212){if((d|0)==256){break b}if((d|0)==65536|(d|0)==1330926671){break d}break a}if((d|0)==1954115633){break d}if((d|0)==1953784678){break c}if((d|0)!=1953658213){break a}}if(h>>>0<12){c=0;break a}c=f-16|0;v[b+12>>2]=c;if((c|0)<1){c=0;break a}c=a+4|0;if(c>>>0<e>>>0){c=0;break a}if(c>>>0>g>>>0){c=0;break a}if(g-c>>>0<8){c=0;break a}c=f-24|0;v[b+12>>2]=c;if((c|0)<1){c=0;break a}d=w[a+5|0]|w[a+4|0]<<8;if(d){a=a+12|0;if(a>>>0<e>>>0){c=0;break a}if(a>>>0>g>>>0){c=0;break a}g=g-a|0;a=d<<4;if(g>>>0<a>>>0){c=0;break a}a=c-a|0;v[b+12>>2]=a;c=0;if((a|0)<1){break a}}c=1;break a}c=a+4|0;if(c>>>0<e>>>0){c=0;break a}if(c>>>0>g>>>0){c=0;break a}if(g-c>>>0<4){c=0;break a}g=f-8|0;v[b+12>>2]=g;c=0;if((g|0)<1){break a}c=1;if((w[a+5|0]|w[a+4|0]<<8)-1>>>0>1){break a}v[n+12>>2]=a;c=0;e=a+8|0;h=v[b+4>>2];e:{f:{if(e>>>0<h>>>0){break f}g=v[b+8>>2];if(g>>>0<e>>>0|g-e>>>0<4){break f}d=v[b+12>>2]-4|0;v[b+12>>2]=d;if((d|0)<1){break f}a=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);f=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(f>>>0>1073741822){break f}a=1;if(!f){break e}a=e+4|0;if(a>>>0<h>>>0|a>>>0>g>>>0){break f}g=g-a|0;a=f<<2;if(g>>>0<a>>>0){break f}a=d-a|0;v[b+12>>2]=a;if((a|0)<1){break f}c=1;a=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);l=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!l){break f}g=0;while(1){i=v[n+12>>2];d=0;a=(e+(g<<2)|0)+4|0;h=v[b+4>>2];g:{if(a>>>0<h>>>0){break g}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<4){break g}k=v[b+12>>2];f=k-4|0;v[b+12>>2]=f;if((f|0)<1){break g}d=t[a|0];f=w[a+3|0]|(w[a+1|0]<<16|d<<24|w[a+2|0]<<8);j=(f|0)!=0&(d|0)<0;d=!j;if(!f|j){break g}f=f+i|0;h:{if(f>>>0<h>>>0|c>>>0<f>>>0|c-f>>>0<12){break h}d=k-16|0;v[b+12>>2]=d;if((d|0)<1){break h}d=f+4|0;if(d>>>0<h>>>0|c>>>0<d>>>0|c-d>>>0<8){break h}k=k-24|0;v[b+12>>2]=k;d=1;if((k|0)<1){break h}i=w[f+5|0]|w[f+4|0]<<8;if(!i){break g}f=f+12|0;if(f>>>0<h>>>0|c>>>0<f>>>0){break h}f=c-f|0;c=i<<4;if(f>>>0<c>>>0){break h}c=k-c|0;v[b+12>>2]=c;if((c|0)>0){break g}}d=0;c=v[b+24>>2];if(c>>>0>31){break g}v[b+24>>2]=c+1;if(!w[b+20|0]){break g}t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;d=1}c=d;if(!c){break f}g=g+1|0;if((l|0)!=(g|0)){continue}break}}a=c}c=a;break a}g=0;i:{j:{h=v[b+4>>2];k:{if(h>>>0>a>>>0){break k}e=v[b+8>>2];if(e>>>0<a>>>0|e-a>>>0<16){break k}c=v[b+12>>2];d=c-16|0;v[b+12>>2]=d;if((d|0)<1){break k}c=c-20|0;v[b+12>>2]=c;if((c|0)<1){break k}d=t[a|0];if((d|0)<0){break k}d=w[a+3|0]|(w[a+1|0]<<16|(d&255)<<24|w[a+2|0]<<8);l:{m:{f=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);switch(f+1|0){case 0:break k;case 1:break l;default:break m}}g=a+d|0;if(g>>>0<h>>>0|e>>>0<g>>>0|f>>>0>e-g>>>0){break j}c=c-f|0;v[b+12>>2]=c;if((c|0)<1){break j}g=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);d=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24)}f=a+4|0;if(f>>>0<h>>>0|e>>>0<f>>>0|e-f>>>0<4){break j}v[b+12>>2]=c-4;if((c|0)<5){break j}g=0;c=t[f|0];if((c|0)<0){break k}p=a+d|0;a=(w[a+7|0]|(w[a+5|0]<<16|(c&255)<<24|w[a+6|0]<<8))+a|0;d=v[b+4>>2];n:{if(a>>>0<d>>>0){break n}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<28){break n}e=v[b+12>>2];f=e-28|0;v[b+12>>2]=f;if((f|0)<1){break n}f=a+24|0;if(f>>>0<d>>>0|c>>>0<f>>>0|c-f>>>0<2){break n}h=w[a+24|0];k=w[a+25|0];f=e-30|0;v[b+12>>2]=f;if((f|0)<1){break n}f=a+(w[a+25|0]|w[a+24|0]<<8)|0;if(d>>>0>f>>>0|c>>>0<f>>>0|c-f>>>0<2){break n}e=e-32|0;v[b+12>>2]=e;if((e|0)<1){break n}i=d;d=f+2|0;if(i>>>0>d>>>0|c>>>0<d>>>0){break n}d=c-d|0;c=(w[f+1|0]<<3|w[f|0]<<11)+8|0;if(d>>>0<c>>>0){break n}c=e-c|0;v[b+12>>2]=c;if((c|0)<1){break n}q=a+(k|h<<8)|0;r=w[f+1|0]|w[f|0]<<8;d=0;while(1){c=0;e=((d<<3)+f|0)+2|0;l=v[b+4>>2];o:{p:{if(e>>>0<l>>>0){break p}h=v[b+8>>2];if(h>>>0<e>>>0|h-e>>>0<8){break p}k=v[b+12>>2];a=k-8|0;v[b+12>>2]=a;if((a|0)<1){break p}g=0;a=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);g=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))==1936092788?(w[e+5|0]|w[e+4|0]<<8)+1|0:g;a=e+6|0;if(a>>>0<l>>>0|a>>>0>h>>>0|h-a>>>0<2){break p}i=k-10|0;v[b+12>>2]=i;if((i|0)<1|g>>>0>357913940){break p}a=1;if(!g){break o}k=q+(w[e+7|0]|w[e+6|0]<<8)|0;if(l>>>0>k>>>0|h>>>0<k>>>0){break p}a=B(g,12);if(a>>>0>h-k>>>0){break p}c=i-a|0;v[b+12>>2]=c;l=0;a=0;if((c|0)<1){break o}while(1){i=0;c=0;e=B(l,12)+k|0;q:{if(e>>>0<y[b+4>>2]){break q}a=v[b+8>>2];if(a>>>0<e>>>0|a-e>>>0<12){break q}a=v[b+12>>2]-12|0;v[b+12>>2]=a;if((a|0)<1){break q}a=e+5|0;o=v[b+4>>2];r:{if(a>>>0<o>>>0){break r}h=v[b+8>>2];if(a>>>0>h>>>0|h-a>>>0<3){break r}j=v[b+12>>2];m=j-3|0;v[b+12>>2]=m;if((m|0)<1){break r}a=p+(w[a+2|0]|(w[a+1|0]<<8|w[a|0]<<16))|0;s:{if(a>>>0<o>>>0|a>>>0>h>>>0|h-a>>>0<4){break s}m=j-7|0;v[b+12>>2]=m;i=1;if((m|0)<1){break s}t:{j=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);j=j<<24|j<<8&16711680|(j>>>8&65280|j>>>24);switch(j+1|0){case 1:break r;case 0:break s;default:break t}}a=a+4|0;if(a>>>0<o>>>0|a>>>0>h>>>0|j>>>0>h-a>>>0){break s}a=m-j|0;v[b+12>>2]=a;if((a|0)>0){break r}}i=0}if(!i){break q}h=v[b+4>>2];a=(p+(w[e+7|0]|(w[e+6|0]<<8|w[e+5|0]<<16))|0)+4|0;if(h>>>0>a>>>0){break q}e=v[b+8>>2];if(e>>>0<a>>>0|e-a>>>0<12){break q}j=v[b+12>>2];i=j-12|0;v[b+12>>2]=i;if((i|0)<1){break q}i=a+4|0;if(i>>>0<h>>>0|e>>>0<i>>>0|e-i>>>0<8){break q}i=j-20|0;v[b+12>>2]=i;if((i|0)<1){break q}j=w[a+5|0]|w[a+4|0]<<8;if(j){a=a+12|0;if(a>>>0<h>>>0|a>>>0>e>>>0){break q}e=e-a|0;a=j<<4;if(e>>>0<a>>>0){break q}a=i-a|0;v[b+12>>2]=a;if((a|0)<1){break q}}c=1}if(!c){break p}l=l+1|0;if((l|0)!=(g|0)){continue}break}}a=c}g=a;if(!g){break n}a=(d|0)!=(r|0);d=d+1|0;if(a){continue}break}}}c=g;break i}c=0}}Ca=n+16|0;return c}function MF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=re(v[v[b+96>>2]+4>>2],5272);if(!j){return 11}f=Ya(a,0);a:{if(f){break a}f=Ea[v[j+4>>2]](a,b,c,d,e)|0;if(f){break a}m=v[b+104>>2];f=2;a=v[b+148>>2];b:{if((a|0)<=65535){if((a|0)==-1519689116|(a|0)==-1519619212){break b}break a}if((a|0)==65536|(a|0)==1953658213){break b}if((a|0)!=131072){break a}}v[b+8>>2]=v[b+8>>2]|2048;f=0;if((c|0)<0){break a}f=Ea[v[j+8>>2]](m,b,c,d,e)|0;if(f){break a}i=Ca-128|0;Ca=i;c:{d:{if(!b){break d}a=v[b+20>>2];if(a){l=1;if(rb(a,5664)){break c}if(rb(a,5684)){break c}if(rb(a,5704)){break c}if(rb(a,5724)){break c}if(rb(a,5744)){break c}if(rb(a,5764)){break c}if(rb(a,5784)){break c}if(rb(a,5804)){break c}if(rb(a,5824)){break c}if(rb(a,5844)){break c}if(rb(a,5864)){break c}if(rb(a,5884)){break c}if(rb(a,5904)){break c}if(rb(a,5924)){break c}if(rb(a,5944)){break c}if(rb(a,5964)){break c}if(rb(a,5984)){break c}if(rb(a,6004)){break c}if(rb(a,6024)){break c}if(rb(a,6044)){break c}if(rb(a,6064)){break c}if(rb(a,6084)){break c}if(rb(a,6104)){break c}if(rb(a,6124)){break c}if(rb(a,6144)){break c}if(rb(a,6164)){break c}}g=Ra(i,0,116);e:{f:{a=x[b+152>>1];if(!a){break f}e=0;while(1){l=0;f=1;d=0;k=v[b+156>>2];o=n<<4;j=v[k+o>>2];g:{if((j|0)!=1668707360){h:{if((j|0)!=1886545264){if((j|0)!=1718642541){break g}d=1;break h}d=2}f=e}a=0;while(1){h=k+o|0;j=B(l,24)+(d<<3)|0;if(v[h+12>>2]==v[j+6196>>2]){i:{if(a){break i}e=v[b+516>>2];if(!e){a=0;break i}a=0;if(Ea[e|0](b,v[h>>2],v[b+104>>2],0)|0){break i}p=v[b+104>>2];k=v[(v[b+156>>2]+o|0)+12>>2];if(vb(p,k)){break i}if(k>>>0>3){while(1){a=tc(p)+a|0;k=k-4|0;if(k>>>0>3){continue}break}}e=3;if(k){while(1){h=v[p+32>>2];if(h>>>0<y[p+36>>2]){v[p+32>>2]=h+1;h=t[h|0]}else{h=0}a=((h<<24>>24&255)<<(e<<3))+a|0;e=e-1|0;k=k-1|0;if(k){continue}break}}pb(p)}e=g+(l<<2)|0;k=v[e>>2];if(v[j+6192>>2]==(a|0)){k=k+1|0;v[e>>2]=k}if((k|0)==3){break e}}l=l+1|0;if((l|0)!=29){k=v[b+156>>2];continue}break}a=x[b+152>>1];e=f}n=n+1|0;if(n>>>0<a>>>0){continue}break}if(!(e&255)){break f}if(v[g>>2]==3|v[g+4>>2]==3|(v[g+8>>2]==3|v[g+12>>2]==3)){break e}if(v[g+16>>2]==3|v[g+20>>2]==3|(v[g+24>>2]==3|v[g+28>>2]==3)){break e}if(v[g+32>>2]==3|v[g+36>>2]==3|(v[g+40>>2]==3|v[g+44>>2]==3)){break e}if(v[g+48>>2]==3|v[g+52>>2]==3|(v[g+56>>2]==3|v[g+60>>2]==3)){break e}if(v[g+64>>2]==3|v[g+68>>2]==3|(v[g+72>>2]==3|v[g+76>>2]==3)){break e}if(v[g+80>>2]==3|v[g+84>>2]==3|(v[g+88>>2]==3|v[g+92>>2]==3)){break e}if(v[g+96>>2]==3|v[g+100>>2]==3|(v[g+104>>2]==3|v[g+108>>2]==3)){break e}l=1;if(v[g+112>>2]==3){break c}break d}l=0;while(1){d=g+(l<<2)|0;a=v[d>>2];if(l-16>>>0<=11){a=a+1|0;v[d>>2]=a}if((a|0)==3){break e}a=l|1;if((a|0)==29){break d}d=g+(a<<2)|0;a=v[d>>2];if(l-15>>>0<=11){a=a+1|0;v[d>>2]=a}if((a|0)==3){break e}l=l+2|0;continue}}l=1;break c}l=0}Ca=i+128|0;if(l){v[b+8>>2]=v[b+8>>2]|8192}f=0;i=Ca-16|0;Ca=i;d=v[m+28>>2];a=Ea[v[b+516>>2]](b,1751412088,m,i+8|0)|0;v[i+12>>2]=a;j:{if(a){break j}a=v[i+8>>2];if(a>>>0<8){break j}j=b+768|0;a=Jc(m,a,j);v[i+12>>2]=a;k:{if(a){break k}l:{m:{n=v[j>>2];o=w[n+2|0]<<8|w[n+3|0];if(o>>>0<=255){e=v[i+8>>2];a=w[n+4|0]|w[n+5|0]<<8|(w[n+6|0]<<16|w[n+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=a>>>0>4294901759?a&65535:a;if(!o|h-4>>>0<65534){break m}}v[i+12>>2]=3;break l}a=Ua(d,1,0,o,0,i+12|0);v[b+784>>2]=a;if(v[i+12>>2]){break l}n:{if(!o){break n}d=h+(n+8|0)|0;j=e+n|0;if(d>>>0>j>>>0){break n}t[a|0]=w[n+8|0];f=1;if(o>>>0<2){break n}e=d+h|0;if(j>>>0<e>>>0){break n}while(1){t[v[b+784>>2]+f|0]=w[d|0];f=f+1|0;if(o>>>0<=f>>>0){break n}d=e;e=h+d|0;if(j>>>0>=e>>>0){continue}break}}v[b+776>>2]=f;a=v[i+8>>2];v[b+780>>2]=h;v[b+772>>2]=a;break k}Qb(m,j);v[b+772>>2]=0}f=v[i+12>>2]}Ca=i+16|0;if(f){break a}f=0;o:{if(!(t[b+8|0]&1)){break o}p:{if(v[v[b+128>>2]+52>>2]){break p}i=Ca-16|0;Ca=i;a=b;d=Ea[v[b+516>>2]](b,1735162214,m,b+724|0)|0;q:{r:{if((d&255)==142){v[b+724>>2]=0;d=0;break r}if(d){break q}d=0;if(v[v[b+128>>2]+52>>2]){break r}d=v[m+8>>2]}v[a+728>>2]=d;d=144;if(Ea[v[b+516>>2]](b,1819239265,m,i+12|0)|0){break q}f=v[i+12>>2];a=b;s:{if(x[a+210>>1]){e=2;if(f>>>0>=262144){v[i+12>>2]=262143;f=262143}break s}e=1;if(f>>>0>=131072){v[i+12>>2]=131071;f=131071}}d=f>>>e|0;v[a+760>>2]=d;a=v[b+16>>2];t:{if(a>>>0<d>>>0){break t}a=a+1|0;if((a|0)==(d|0)){break t}f=a<<e;e=v[b+156>>2];n=v[m+8>>2];a=x[b+152>>1];u:{if(a){h=(a<<4)+e|0;d=2147483647;a=0;while(1){o=v[e+8>>2]-n|0;j=(o|0)>0&(d|0)>(o|0);a=j?1:a;d=j?o:d;e=e+16|0;if(h>>>0>e>>>0){continue}break}if(a&255){break u}}d=v[m+4>>2]-n|0}if(d>>>0>=f>>>0){v[b+760>>2]=v[b+16>>2]+1;v[i+12>>2]=f;break t}a=v[b+760>>2];v[b+16>>2]=a?a-1|0:0;f=v[i+12>>2]}d=Jc(m,f,b+764|0)}Ca=i+16|0;f=d;if(v[b+724>>2]){if(f){break a}if((f&255)!=142){break p}break a}if(f){break a}}f=yr(b,m);if((f&255)!=142?f:0){break a}d=Ca-16|0;Ca=d;v:{if(Ea[v[b+516>>2]](b,1718642541,m,d+12|0)|0){v[b+684>>2]=0;v[b+688>>2]=0;f=0;break v}a=v[d+12>>2];v[b+684>>2]=a;f=Jc(m,a,b+688|0)}Ca=d+16|0;if((f&255)!=142?f:0){break a}d=Ca-16|0;Ca=d;w:{if(Ea[v[b+516>>2]](b,1886545264,m,d+12|0)|0){v[b+692>>2]=0;v[b+696>>2]=0;f=0;break w}a=v[d+12>>2];v[b+692>>2]=a;f=Jc(m,a,b+696|0)}Ca=d+16|0;if((f&255)!=142?f:0){break a}if(!v[b+764>>2]|(v[v[b+128>>2]+52>>2]|!v[b+28>>2])){break o}a=0;d=0;h=Ca-16|0;Ca=h;e=0;g=e;x:{if(!v[b+760>>2]){break x}while(1){wk(b,a,h+12|0);y:{if(!v[h+12>>2]){break y}j=e+1|0;d=a;e=1;if(j>>>0<=1){break y}g=0;break x}a=a+1|0;if(a>>>0<y[b+760>>2]){continue}break}a=!e;g=0;if(a){break x}g=1;if(!d){break x}g=0;if(Lk(b,d,h+4|0,8)|w[h+4|0]!=46){break x}g=(w[h+4|0]|w[h+5|0]<<8|(w[h+6|0]<<16|w[h+7|0]<<24))==1953459758&(w[h+8|0]|w[h+9|0]<<8|(w[h+10|0]<<16|w[h+11|0]<<24))==6710628}e=g;Ca=h+16|0;if(!e){break o}v[b+8>>2]=v[b+8>>2]&-2}z:{if(!(t[b+9|0]&1)){break z}a=c>>>16|0;if(!a){break z}f=xr(b,a);if(f){break a}wr(b);f=0}v[b+528>>2]=23;v[b+536>>2]=24;v[b+532>>2]=25;v[b+520>>2]=26;v[b+524>>2]=27}return f|0}function bB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Ca-16|0;Ca=g;v[g+4>>2]=0;f=v[e+32>>2];i=v[f+100>>2];a:{b:{c:{d:{if($a(a,26456,7)){break d}e:{c=w[a+7|0];switch(c|0){case 0:case 9:case 10:case 13:case 32:break e;default:break d}}v[g+12>>2]=0;d=v[f+88>>2];m=d;d=(c?-8:-7)+b|0;h=d+1|0;j=Ua(i,1,m,m+h|0,v[f+84>>2],g+12|0);v[f+84>>2]=j;b=v[g+12>>2];if(!b){n=Ta(j+v[f+88>>2]|0,c?a+8|0:a+7|0,d)+d|0,o=10,t[n|0]=o;v[f+88>>2]=h+v[f+88>>2];b=v[g+12>>2]}v[g+4>>2]=b;break c}h=g;f:{g:{h:{i:{j:{k:{l:{m:{c=v[e>>2];if(!(c&32)){if($a(a,27853,5)){break m}n:{switch(w[a+5|0]){case 0:case 9:case 10:case 13:case 32:break n;default:break m}}b=Jd(e+40|0,27824,a,b);v[g+4>>2]=b;if(b){break b}a=0;c=v[v[e+40>>2]+4>>2];o:{if(!c){break o}b=t[c|0];d=b&255;if(!d|!(w[(d>>>3|0)+28960|0]>>>(b&7)&1)){break o}while(1){if(a>>>0>429496727){a=-1;break o}a=w[b+28992|0]+B(a,10)|0;b=t[c+1|0];c=c+1|0;if(w[((b&248)>>>3|0)+28960|0]>>>(b&7)&1){continue}break}}v[f+48>>2]=a;v[e+4>>2]=a;b=y[e+60>>2]/20|0;if(b>>>0<a>>>0){v[f+48>>2]=b;v[e+4>>2]=b;a=b}if(!a){a=64;v[f+48>>2]=64;break g}if(a>>>0<1114112){break g}b=6;break h}p:{q:{if($a(a,29158,7)){break q}r:{switch(w[a+7|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}if(!(c&4032)){break p}b=186;break h}s:{if($a(a,29166,7)){break s}t:{switch(w[a+7|0]){case 0:case 9:case 10:case 13:case 32:break t;default:break s}}v[e+28>>2]=0;v[e>>2]=c&-4033;break f}d=c&64;if(!(v[v[e+36>>2]+4>>2]?1:!d|v[e+28>>2]!=-1)){break f}u:{if($a(a,29174,9)){break u}v:{switch(w[a+9|0]){case 0:case 9:case 10:case 13:case 32:break v;default:break u}}if(c&4032){break i}c=v[e+24>>2];if(c){Ea[v[i+8>>2]](i,c)}v[e+24>>2]=0;c=e+40|0;b=Jd(c,27824,a,b);v[g+4>>2]=b;if(b){break b}uq(c);a=tq(c,g+8|0);if(!a){break j}c=v[g+8>>2]+1|0;d=qb(i,c,g+4|0);v[e+24>>2]=d;b=v[g+4>>2];if(b){break b}Ta(d,a,c);v[e>>2]=v[e>>2]|64;break f}w:{if($a(a,29184,8)){break w}x:{switch(w[a+8|0]){case 0:case 9:case 10:case 13:case 32:break x;default:break w}}if(!d){break i}b=Jd(e+40|0,27824,a,b);v[g+4>>2]=b;if(b){break b}c=v[e+40>>2];a=sq(v[c+4>>2]);b=(a|0)>-1;a=b?a:-1;v[e+28>>2]=a;if(!(y[e+48>>2]<3|b)){a=sq(v[c+8>>2]);v[e+28>>2]=a}if(a+1>>>0>=1114113){v[e+28>>2]=-1;break l}if((a|0)<0){break l}b=v[f+52>>2];y:{if((b|0)!=v[f+48>>2]){c=v[f+56>>2];break y}c=Ua(i,36,b,b- -64|0,v[f+56>>2],g+4|0);v[f+56>>2]=c;b=v[g+4>>2];if(b){break b}v[f+48>>2]=v[f+48>>2]- -64;b=v[f+52>>2];a=v[e+28>>2]}v[f+52>>2]=b+1;d=v[e+24>>2];b=B(b,36)+c|0;v[b+4>>2]=a;v[b>>2]=d;break k}if(c&128){d=v[e+28>>2]==-1;j=v[f+(d?64:52)>>2]-1|0;k=v[f+(d?68:56)>>2];if(c&2048){d=v[e+8>>2];b=k+B(j,36)|0;if(d>>>0>=x[b+14>>1]){if((c|0)<0){break f}v[e>>2]=c|-2147483648;break f}c=v[b+28>>2];b=v[b+24>>2]+B(c,d)|0;h=0;d=c<<1;z:{if(!d){c=0;break z}A:{while(1){c=h;f=w[c+a|0];h=f<<24>>24;if(!(w[(f>>>3|0)+29232|0]>>>(h&7)&1)){break A}t[b|0]=w[h+28992|0]+(w[b|0]<<4);h=c+1|0;if(!(!(c&1)|d>>>0<=h>>>0)){t[b+1|0]=0;b=b+1|0}if((d|0)!=(h|0)){continue}break}c=d;break z}h=v[e>>2];if(h&1073741824){break z}v[e>>2]=h|1073741824}h=x[(k+B(j,36)|0)+12>>1];if(h){t[b|0]=w[b|0]&w[(B(h,x[v[e+32>>2]+96>>1])&7)+29193|0]}B:{if((c|0)!=(d|0)){break B}a=w[a+d|0];if(!(w[(a>>>3|0)+29232|0]>>>(a&7)&1)){break B}a=v[e>>2];if(a&1073741824){break B}v[e>>2]=a|1073741824}v[e+8>>2]=v[e+8>>2]+1;break f}C:{if($a(a,29201,6)){break C}D:{switch(w[a+6|0]){case 0:case 9:case 10:case 13:case 32:break D;default:break C}}b=Jd(e+40|0,27824,a,b);v[g+4>>2]=b;if(b){break b}n=k+B(j,36)|0,o=mg(v[v[e+40>>2]+4>>2]),u[n+8>>1]=o;v[e>>2]=v[e>>2]|256;break f}E:{if($a(a,29208,6)){break E}F:{switch(w[a+6|0]){case 0:case 9:case 10:case 13:case 32:break F;default:break E}}b=Jd(e+40|0,27824,a,b);v[g+4>>2]=b;if(b){break b}c=k+B(j,36)|0;d=mg(v[v[e+40>>2]+4>>2]);u[c+10>>1]=d;b=e;a=v[e>>2];if(!(a&256)){n=c,o=fb(d&65535,72e3,B(v[f+20>>2],v[f+16>>2])),u[n+8>>1]=o;a=v[e>>2]}v[b>>2]=a|512;break f}G:{if($a(a,29215,3)){break G}H:{switch(w[a+3|0]){case 0:case 9:case 10:case 13:case 32:break H;default:break G}}b=Jd(e+40|0,27824,a,b);v[g+4>>2]=b;if(b){break b}a=k+B(j,36)|0;c=v[e+40>>2];d=ci(v[c+4>>2]);u[a+12>>1]=d;l=ci(v[c+8>>2]);u[a+14>>1]=l;b=_g(v[c+12>>2]);u[a+16>>1]=b;c=_g(v[c+16>>2]);u[a+18>>1]=c;h=0-c|0;u[a+22>>1]=h;c=c+l|0;u[a+20>>1]=c;l=b+d|0;u[e+22>>1]=l;m=u[e+18>>1];u[e+18>>1]=c<<16>>16>(m|0)?c:m;c=u[e+20>>1];u[e+20>>1]=(c|0)<h<<16>>16?h:c;c=u[e+16>>1];u[e+16>>1]=(c|0)<l<<16>>16?l:c;c=u[e+12>>1];u[e+12>>1]=(b|0)<(c|0)?b:c;c=u[e+14>>1];u[e+14>>1]=(b|0)>(c|0)?b:c;b=v[e>>2];if(!(b&512)){u[a+10>>1]=d}I:{if(!v[v[e+36>>2]>>2]){break I}a=k+B(j,36)|0;b=fb(x[a+10>>1],72e3,B(v[f+20>>2],v[f+16>>2]));if(x[a+8>>1]==(b&65535)){b=v[e>>2];break I}u[a+8>>1]=b;b=v[e>>2]|4096}v[e>>2]=b|1024;break f}if($a(a,29219,6)){break j}J:{switch(w[a+6|0]){case 0:case 9:case 10:case 13:case 32:break J;default:break j}}b=183;if(!(c&1024)){break h}a=k+B(j,36)|0;c=B(x[f+96>>1],x[a+12>>1]);b=c+7>>>3|0;v[a+28>>2]=b;K:{if(c>>>0<=524280){a=B(b,x[a+14>>1]);if(a>>>0<65536){break K}}b=184;break h}b=k+B(j,36)|0;u[b+32>>1]=a;n=b,o=wb(i,a,g+4|0),v[n+24>>2]=o;b=v[g+4>>2];if(b){break b}v[e+8>>2]=0;v[e>>2]=v[e>>2]|2048;break f}b=182;break h}Uc(v[f+56>>2],v[f+52>>2],36,294);v[e>>2]=v[e>>2]&-2;v[d>>2]=295;break f}b=180;break h}if(v[v[e+36>>2]+4>>2]){a=v[f+64>>2];L:{if((a|0)!=v[f+60>>2]){c=v[f+68>>2];break L}c=Ua(i,36,a,a+4|0,v[f+68>>2],g+4|0);v[f+68>>2]=c;b=v[g+4>>2];if(b){break b}v[f+60>>2]=v[f+60>>2]+4;a=v[f+64>>2]}b=B(a,36)+c|0;v[b>>2]=v[e+24>>2];v[f+64>>2]=a+1;v[b+4>>2]=a;break k}a=v[e+24>>2];if(a){Ea[v[i+8>>2]](i,a)}}v[e+24>>2]=0;v[e>>2]=v[e>>2]&1073741695|128;break f}b=3;break h}b=181}v[h+4>>2]=b;break b}n=f,o=Ua(i,36,0,a,0,g+4|0),v[n+56>>2]=o;b=v[g+4>>2];if(b){break b}v[e>>2]=v[e>>2]|32}b=v[g+4>>2]}if(b){break b}b=0;break a}if(!(w[e|0]&64)){break a}a=v[e+24>>2];if(a){Ea[v[i+8>>2]](i,a)}v[e+24>>2]=0;b=v[g+4>>2]}Ca=g+16|0;return b|0}function Dm(a,b,c,d,e,f){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,B=0,C=0,E=0,F=0;g=Ca-272|0;Ca=g;k=A[d>>3];m=d;q=A[m+24>>3];n=A[m+8>>3];t=A[m+32>>3];l=k*q+n*t;q=k*t-n*q;o=q<0?1:2;a:{b:{if(o&e){k=D(q);n=A[m+16>>3];w=k*n;t=A[m+40>>3];z=k*t;c:{r=l*n+t;if(!(r<k)){break c}y=n+l*t;if(!(k>y)){break c}d=e;d:{n=(t*r+n*y)*.5;if(!(n<w)|!(n<z)){break d}e:{if(f){v[a+56>>2]=o|v[a+56>>2];break e}j=v[b+4>>2];p=v[b>>2];s=o&(v[a+60>>2]^-1);n=A[a+88>>3]*A[a+24>>3];f:{if(D(n)<2147483648){d=~~n;break f}d=-2147483648}h=s&1;n=A[a+80>>3]*A[a+16>>3];g:{if(D(n)<2147483648){i=~~n;break g}i=-2147483648}if(h){v[g+100>>2]=d+j;v[g+96>>2]=i+p;u=v[a>>2];h=v[g+100>>2];v[g+88>>2]=v[g+96>>2];v[g+92>>2]=h;h=0;if(!Gb(u,g+88|0,1)){break a}}if(!(s&2)){break e}v[g+100>>2]=j-d;v[g+96>>2]=p-i;d=v[a+4>>2];i=v[g+100>>2];v[g+80>>2]=v[g+96>>2];v[g+84>>2]=i;h=0;if(!Gb(d,g+80|0,1)){break a}}v[a+60>>2]=o|v[a+60>>2];h:{if(y<0?1:r<0){j=v[b+4>>2];k=A[a+24>>3]*0;i:{if(D(k)<2147483648){d=~~k;break i}d=-2147483648}h=o&1;k=A[a+16>>3]*0;j:{if(D(k)<2147483648){i=~~k;break j}i=-2147483648}p=v[b>>2];if(h){v[g+100>>2]=d+j;v[g+96>>2]=i+p;s=v[a>>2];h=v[g+100>>2];v[g+56>>2]=v[g+96>>2];v[g+60>>2]=h;h=0;if(!Gb(s,g+56|0,1)){break a}}if(o&2){v[g+100>>2]=j-d;v[g+96>>2]=p-i;d=v[a+4>>2];i=v[g+100>>2];v[g+48>>2]=v[g+96>>2];v[g+52>>2]=i;h=0;if(!Gb(d,g+48|0,1)){break a}}h=0;if(lj(a,v[b+16>>2],v[b+20>>2],0,0,o)){break h}break a}k=r/k;n=k*A[m+8>>3]*A[a+24>>3];k:{if(D(n)<2147483648){d=~~n;break k}d=-2147483648}h=o&1;j=v[b+4>>2];k=k*A[m>>3]*A[a+16>>3];l:{if(D(k)<2147483648){i=~~k;break l}i=-2147483648}p=v[b>>2];if(h){v[g+100>>2]=d+j;v[g+96>>2]=i+p;s=v[a>>2];h=v[g+100>>2];v[g+72>>2]=v[g+96>>2];v[g+76>>2]=h;h=0;if(!Gb(s,g+72|0,1)){break a}}if(!(o&2)){break h}v[g+100>>2]=j-d;v[g+96>>2]=p-i;d=v[a+4>>2];i=v[g+100>>2];v[g+64>>2]=v[g+96>>2];v[g+68>>2]=i;h=0;if(!Gb(d,g- -64|0,1)){break a}}d=(o^-1)&e;if(d){break d}b=v[m+28>>2];v[a+80>>2]=v[m+24>>2];v[a+84>>2]=b;b=v[m+36>>2];v[a+88>>2]=v[m+32>>2];v[a+92>>2]=b;h=1;break a}i=e^o;break b}i=(l+w<1?l+z<1?o:0:0)^e}else{i=e}d=e}m:{if(!i){break m}k=l+3;r=k*k;k=l+1;if(!(r<k*A[a+136>>3])){break m}k=1/k;n=A[m+16>>3];r=n+n;t=A[m+40>>3];w=A[a+152>>3];if(!(D(q*(k*r-t))<w*(r+l*t))){break m}r=q;q=t+t;if(!(D(r*(k*q-n))<w*(l*n+q))){break m}j=v[b+4>>2];l=A[m+32>>3];q=A[m+8>>3];p=v[b>>2];n=A[m+24>>3];t=A[m>>3];B=i^-1;v[a+60>>2]=B&v[a+60>>2];r=A[a+88>>3]*A[a+24>>3];n:{if(D(r)<2147483648){e=~~r;break n}e=-2147483648}s=i&1;r=A[a+80>>3]*A[a+16>>3];o:{if(D(r)<2147483648){o=~~r;break o}o=-2147483648}if(s){v[g+100>>2]=e+j;v[g+96>>2]=o+p;u=v[a>>2];h=v[g+100>>2];v[g+40>>2]=v[g+96>>2];v[g+44>>2]=h;h=0;if(!Gb(u,g+40|0,2)){break a}}C=i&2;if(C){v[g+100>>2]=j-e;v[g+96>>2]=p-o;e=v[a+4>>2];i=v[g+100>>2];v[g+32>>2]=v[g+96>>2];v[g+36>>2]=i;h=0;if(!Gb(e,g+32|0,2)){break a}}n=k*(t+n);p=v[b+12>>2];u=v[b+8>>2];l=k*(q+l)*A[a+24>>3];p:{if(D(l)<2147483648){i=~~l;break p}i=-2147483648}l=n*A[a+16>>3];q:{if(D(l)<2147483648){o=~~l;break q}o=-2147483648}if(s){h=0;s=o+u|0;e=s>>31;if((e^e+s)>>>0>268435455){break a}e=i+p|0;j=e>>31;if((j^e+j)>>>0>268435455){break a}j=v[a>>2];h=v[j>>2];x=v[j+4>>2];if(h>>>0>=x>>>0){h=0;v[164114]=0;x=x<<1;E=j,F=Xb(v[j+16>>2],x,8),v[E+16>>2]=F;if(v[164114]){break a}v[j+4>>2]=x;h=v[j>>2]}h=v[j+16>>2]+(h<<3)|0;v[h>>2]=s;v[h+4>>2]=e;v[j>>2]=v[j>>2]+1}if(C){h=0;o=u-o|0;e=o>>31;if((e^e+o)>>>0>268435455){break a}e=p-i|0;i=e>>31;if((i^e+i)>>>0>268435455){break a}i=v[a+4>>2];h=v[i>>2];j=v[i+4>>2];if(h>>>0>=j>>>0){h=0;v[164114]=0;j=j<<1;E=i,F=Xb(v[i+16>>2],j,8),v[E+16>>2]=F;if(v[164114]){break a}v[i+4>>2]=j;h=v[i>>2]}h=v[i+16>>2]+(h<<3)|0;v[h>>2]=o;v[h+4>>2]=e;v[i>>2]=v[i>>2]+1}d=d&B;if(d){break m}b=v[m+28>>2];v[a+80>>2]=v[m+24>>2];v[a+84>>2]=b;b=v[m+36>>2];v[a+88>>2]=v[m+32>>2];v[a+92>>2]=b;h=1;break a}i=v[b>>2];h=v[b+16>>2];e=v[b+8>>2];o=v[b+4>>2];j=v[b+12>>2];p=j+v[b+20>>2]|0;v[g+252>>2]=p>>1;j=j+o|0;o=(j+p|0)+2>>2;v[g+244>>2]=o;h=e+h|0;v[g+248>>2]=h>>1;e=e+i|0;v[g+232>>2]=e>>1;v[g+236>>2]=j>>1;j=(e+h|0)+2>>2;v[g+240>>2]=j;e=v[b+4>>2];i=v[b>>2];v[g+224>>2]=i;v[g+228>>2]=e;h=v[b+20>>2];v[g+256>>2]=v[b+16>>2];v[g+260>>2]=h;k=A[c>>3]*.5;A[g+176>>3]=k;l=A[c+8>>3]*.5;A[g+184>>3]=l;q=A[c+16>>3]*.5;A[g+208>>3]=q;n=A[c+24>>3]*.5;A[g+216>>3]=n;l=(l+n)*.5;A[g+200>>3]=l;k=(k+q)*.5;A[g+192>>3]=k;q=K(k*k+l*l);if(q<A[a+128>>3]){p=d^-1;v[a+60>>2]=p&v[a+60>>2];l=A[a+88>>3]*A[a+24>>3];r:{if(D(l)<2147483648){b=~~l;break r}b=-2147483648}f=d&1;l=A[a+80>>3]*A[a+16>>3];s:{if(D(l)<2147483648){c=~~l;break s}c=-2147483648}if(f){v[g+100>>2]=b+e;v[g+96>>2]=c+i;s=v[a>>2];h=v[g+100>>2];v[g+24>>2]=v[g+96>>2];v[g+28>>2]=h;h=0;if(!Gb(s,g+24|0,1)){break a}}s=d&2;if(s){v[g+100>>2]=e-b;v[g+96>>2]=i-c;b=v[a+4>>2];c=v[g+100>>2];v[g+16>>2]=v[g+96>>2];v[g+20>>2]=c;h=0;if(!Gb(b,g+16|0,1)){break a}}h=0;if(!Ig(a,j,o,A[m+24>>3],A[m+32>>3],d)){break a}v[a+60>>2]=p&v[a+60>>2];l=A[m+32>>3]*A[a+24>>3];t:{if(D(l)<2147483648){b=~~l;break t}b=-2147483648}l=A[m+24>>3]*A[a+16>>3];u:{if(D(l)<2147483648){c=~~l;break u}c=-2147483648}if(f){v[g+100>>2]=b+o;v[g+96>>2]=c+j;d=v[a>>2];e=v[g+100>>2];v[g+8>>2]=v[g+96>>2];v[g+12>>2]=e;if(!Gb(d,g+8|0,1)){break a}}if(s){v[g+100>>2]=o-b;v[g+96>>2]=j-c;a=v[a+4>>2];b=v[g+100>>2];v[g>>2]=v[g+96>>2];v[g+4>>2]=b;if(!Gb(a,g,1)){break a}}h=1;break a}b=v[m+4>>2];v[g+96>>2]=v[m>>2];v[g+100>>2]=b;b=v[m+12>>2];v[g+104>>2]=v[m+8>>2];v[g+108>>2]=b;n=A[m+16>>3];r=l;l=1/q;A[g+128>>3]=r*l;A[g+136>>3]=q;A[g+120>>3]=k*l;A[g+112>>3]=n*.5;b=v[m+36>>2];v[g+152>>2]=v[m+32>>2];v[g+156>>2]=b;b=v[m+28>>2];v[g+144>>2]=v[m+24>>2];v[g+148>>2]=b;A[g+160>>3]=A[m+40>>3]*.5;h=0;if(!Dm(a,g+224|0,g+176|0,g+96|0,d,f)){break a}h=Dm(a,g+240|0,g+192|0,g+120|0,d,0)}Ca=g+272|0;return h}function QB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0;f=Ca-160|0;Ca=f;k=v[b+100>>2];e=v[b+104>>2];v[b+132>>2]=0;d=Ya(e,0);v[f+156>>2]=d;g=c>>31;l=(g+c^g)&65535;a:{b:{if(d){break b}d=ub(e,19360,f+152|0);v[f+156>>2]=d;if(d){break b}v[f+156>>2]=2;c:{if(x[f+152>>1]!=23117){break c}d=Ya(e,x[f+154>>1]);v[f+156>>2]=d;if(d){break b}d=ub(e,19392,f+144|0);v[f+156>>2]=d;if(d){break b}d=2;v[f+156>>2]=2;d:{e:{f:{g:{h:{i:{j:{k:{l:{switch(x[f+144>>1]-17742|0){case 0:d=Ya(e,x[f+146>>1]+x[f+154>>1]|0);v[f+156>>2]=d;if(d){break b}d=vb(e,x[f+148>>1]-x[f+146>>1]|0);v[f+156>>2]=d;if(d){break b}i=Uf(e);if(i>>>0>16){break k}h=Uf(e);m:{if(h){while(1){d=Uf(e);g=((v[e+8>>2]+v[e+32>>2]|0)-v[e+36>>2]|0)+4|0;if((h&65535)==32776){break m}v[e+32>>2]=(v[e+32>>2]+B(d,12)|0)+4;h=Uf(e);if(h){continue}break}}d=0;g=0}pb(e);if(!(g?d:0)){v[f+156>>2]=3;break b}if(y[e+4>>2]<B(d,118)>>>0){v[f+156>>2]=3;break b}v[b>>2]=d;if((c|0)<0){break b}if(d>>>0<=l>>>0){v[f+156>>2]=6;break b}s=b,z=wb(k,172,f+156|0),v[s+132>>2]=z;if(v[f+156>>2]){break b}d=Ya(e,g+B(l,12)|0);v[f+156>>2]=d;if(d){break c}d=vb(e,12);v[f+156>>2]=d;if(d){break c}d=Uf(e);v[v[b+132>>2]>>2]=d<<i;d=Uf(e);v[v[b+132>>2]+164>>2]=d<<i;v[e+32>>2]=v[e+32>>2]+8;pb(e);d=pk(v[b+132>>2],e);v[f+156>>2]=d;break f;case 2:break l;default:break f}}d=Ya(e,x[f+154>>1]);v[f+156>>2]=d;h=2;if(d){break g}d=ub(e,19424,f+120|0);v[f+156>>2]=d;if(d){break g}if(v[f+120>>2]!=17744|x[f+124>>1]!=332|(x[f+128>>1]!=224|x[f+130>>1]!=267)){break h}v[b>>2]=0;if(!x[f+126>>1]){break j}n:{while(1){o:{d=ub(e,19488,f+96|0);v[f+156>>2]=d;if(d){break o}if(v[f+132>>2]==v[f+104>>2]){break n}j=j+1|0;if(x[f+126>>1]>(j&65535)>>>0){continue}break j}break}break g}d=Ya(e,v[f+112>>2]);v[f+156>>2]=d;if(d){break g}d=ub(e,19520,f+80|0);v[f+156>>2]=d;if(d){break g}d=0;i=1;h=0;if(x[f+94>>1]==(0-x[f+92>>1]|0)){break g}n=v[f+112>>2];p=n+16|0;i=0;while(1){d=Ya(e,d+p|0);v[f+156>>2]=d;if(d){h=2;break g}d=ub(e,19552,f+40|0);v[f+156>>2]=d;if(d){h=2;break g}d=v[f+44>>2];if((d|0)>=0){break h}d=d&2147483647;v[f+44>>2]=d;g=d+v[f+112>>2]|0;d=Ya(e,g);v[f+156>>2]=d;if(d){h=2;break g}d=ub(e,19520,f- -64|0);v[f+156>>2]=d;if(d){h=2;break g}p:{if(x[f+78>>1]==(0-x[f+76>>1]|0)){break p}q=g+16|0;d=0;m=0;while(1){d=Ya(e,d+q|0);v[f+156>>2]=d;if(d){break i}d=ub(e,19552,f+32|0);v[f+156>>2]=d;if(d){break i}d=v[f+36>>2];if((d|0)>=0){break j}d=d&2147483647;v[f+36>>2]=d;g=d+v[f+112>>2]|0;d=Ya(e,g);v[f+156>>2]=d;if(d){break i}d=ub(e,19520,f+48|0);v[f+156>>2]=d;if(d){break i}q:{if(x[f+62>>1]==(0-x[f+60>>1]|0)){break q}r=g+16|0;d=0;h=0;while(1){d=Ya(e,d+r|0);v[f+156>>2]=d;if(d){break i}d=ub(e,19552,f+24|0);v[f+156>>2]=d;if(d){break i}if(v[f+36>>2]<=-1){break j}if(v[f+40>>2]==8){d=Ya(e,v[f+28>>2]+n|0);v[f+156>>2]=d;if(d){break i}d=ub(e,19568,f+8|0);v[f+156>>2]=d;if(d){break i}g=b;d=v[b>>2];if((d|0)==(l|0)){j=wb(k,172,f+156|0);v[b+132>>2]=j;d=v[f+156>>2];if(d){break i}v[j>>2]=(v[f+8>>2]+v[f+112>>2]|0)-v[f+104>>2];v[j+164>>2]=v[f+12>>2];d=pk(j,e);v[f+156>>2]=d;if(d){h=16;break g}d=v[b>>2]}v[g>>2]=d+1}h=h+1|0;d=h&65535;if(d>>>0>=x[f+62>>1]+x[f+60>>1]>>>0){break q}d=d<<3;continue}}m=m+1|0;d=m&65535;if(d>>>0>=x[f+78>>1]+x[f+76>>1]>>>0){break p}d=d<<3;continue}}o=o+1|0;d=o&65535;if(d>>>0>=x[f+94>>1]+x[f+92>>1]>>>0){d=0;i=1;h=0;break g}else{d=d<<3;continue}}}v[f+156>>2]=3;pb(e);break b}d=3;v[f+156>>2]=3}h=2;break g}d=3;v[f+156>>2]=3;h=2}if(!i){break e}}e=v[b>>2];if(!e){v[f+156>>2]=3;break b}if((e|0)>(l|0)){break d}v[f+156>>2]=6;break b}switch(h|0){case 2:break b;case 0:case 16:break d;default:break a}}if(!d){break b}}d=v[b+132>>2];if(!d){break b}e=v[b+100>>2];if(v[d+160>>2]){Qb(v[b+104>>2],d+160|0)}g=v[d+168>>2];if(g){Ea[v[e+8>>2]](e,g)}v[d+168>>2]=0;if(d){Ea[v[e+8>>2]](e,d)}v[b+132>>2]=0}e=v[f+156>>2]}v[f+96>>2]=e;r:{if(!e){d=0;if((c|0)<0){break r}}s:{t:{u:{if((e&255)==2){e=wb(k,172,f+96|0);v[b+132>>2]=e;d=v[f+96>>2];if(d){break r}v[b>>2]=1;d=0;v[e>>2]=0;v[e+164>>2]=v[a+4>>2];a=pk(e,a);v[f+96>>2]=a;if(!((c|0)<0|a)){if(!l){break u}v[f+96>>2]=6;break s}if(a){break s}break r}if(e){break t}}a=v[b+132>>2];if(!x[a+96>>1]){v[f+96>>2]=3;break s}v[b+4>>2]=l;c=v[b+8>>2];v[b+8>>2]=c|18;if(x[a+100>>1]==x[a+102>>1]){v[b+8>>2]=c|22}if(w[a+86|0]){v[b+12>>2]=v[b+12>>2]|1}if(x[a+90>>1]>=800){v[b+12>>2]=v[b+12>>2]|2}c=qb(k,16,f+96|0);v[b+32>>2]=c;if(v[f+96>>2]){break s}v[b+28>>2]=1;u[c+2>>1]=x[a+100>>1];u[c>>1]=x[a+84>>1]+x[a+96>>1];e=x[a+74>>1]<<6;v[c+4>>2]=e;d=x[a+78>>1];g=e;e=x[a+76>>1];e=e?e:72;g=fb(g,e,72)+32&-64;v[c+12>>2]=g;h=d?d:72;d=x[a+96>>1]<<6;v:{if((d|0)>=(g|0)){d=v[c+4>>2];break v}v[c+12>>2]=d;d=fb(d,72,e);v[c+4>>2]=d}s=c,z=fb(d,h,72)+32&-64,v[s+8>>2]=z;v[f+120>>2]=b;v[f+124>>2]=0;v[f+128>>2]=0;if(w[a+92|0]==77){u[f+128>>1]=1;v[f+124>>2]=1634889070}c=yd(19284,0,f+120|0,0);v[f+96>>2]=c;if(c){break s}c=w[a+105|0];d=w[a+104|0];if(c>>>0<d>>>0){v[f+96>>2]=3;break s}v[b+16>>2]=(c-d|0)+2;c=v[a+8>>2];d=v[a+116>>2];if(c>>>0<=d>>>0){v[f+96>>2]=3;break s}c=c-d|0;d=qb(k,c+1|0,f+96|0);v[a+168>>2]=d;if(v[f+96>>2]){break s}Ta(d,v[a+160>>2]+v[a+116>>2]|0,c);t[c+v[a+168>>2]|0]=0;d=a;a=v[a+168>>2];a=Ua(k,1,c,Xa(a)+1|0,a,f+96|0);v[d+168>>2]=a;if(v[f+96>>2]){break s}v[b+24>>2]=19324;v[b+20>>2]=a;c=v[b+12>>2];a=c&1;if(c&2){if(a){v[b+24>>2]=19332;d=0;break r}v[b+24>>2]=19344;d=0;break r}d=0;if(!a){break r}v[b+24>>2]=19349;break r}d=e;if(!b){break r}}a=v[b+100>>2];d=v[b+132>>2];if(d){if(v[d+160>>2]){Qb(v[b+104>>2],d+160|0)}c=a;e=v[d+168>>2];if(e){Ea[v[c+8>>2]](c,e)}v[d+168>>2]=0;if(d){Ea[v[a+8>>2]](a,d)}v[b+132>>2]=0}c=v[b+32>>2];if(c){Ea[v[a+8>>2]](a,c)}v[b+28>>2]=0;v[b+32>>2]=0;d=v[f+96>>2]}Ca=f+160|0;return d|0}function ao(a,b,c){var d=0,e=0;a:{b:{c:{switch(c-1|0){case 0:d:{e:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}c=a;f:{g:{h:{d=v[b+4>>2];b=v[d>>2];if((b|0)>=0){a=v[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break g}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>214748363)){b=gb(v[d+8>>2],B(a,20));if(b){break h}}v[d>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break f}v[d>>2]=a;v[d+8>>2]=b;a=v[d+4>>2]}if(a>>>0<e>>>0){Ra(v[d+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[d+4>>2]=e;a=(v[d+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=453;break a}c=a;i:{j:{k:{d=v[b+4>>2];b=v[d>>2];if((b|0)>=0){a=v[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break j}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>214748363)){b=gb(v[d+8>>2],B(a,20));if(b){break k}}v[d>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break i}v[d>>2]=a;v[d+8>>2]=b;a=v[d+4>>2]}if(a>>>0<e>>>0){Ra(v[d+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[d+4>>2]=e;a=(v[d+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=454;break a;case 1:l:{m:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break l;case 0:break m;default:break b}}c=a;n:{o:{p:{d=v[b+4>>2];b=v[d>>2];if((b|0)>=0){a=v[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break o}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>214748363)){b=gb(v[d+8>>2],B(a,20));if(b){break p}}v[d>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break n}v[d>>2]=a;v[d+8>>2]=b;a=v[d+4>>2]}if(a>>>0<e>>>0){Ra(v[d+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[d+4>>2]=e;a=(v[d+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=455;break a}c=a;q:{r:{s:{d=v[b+4>>2];b=v[d>>2];if((b|0)>=0){a=v[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break r}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>214748363)){b=gb(v[d+8>>2],B(a,20));if(b){break s}}v[d>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break q}v[d>>2]=a;v[d+8>>2]=b;a=v[d+4>>2]}if(a>>>0<e>>>0){Ra(v[d+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[d+4>>2]=e;a=(v[d+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=456;break a;case 2:if((w[a+1|0]|w[a|0]<<8)!=1){break b}c=a;t:{u:{v:{d=v[b+4>>2];b=v[d>>2];if((b|0)>=0){a=v[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break u}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>214748363)){b=gb(v[d+8>>2],B(a,20));if(b){break v}}v[d>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break t}v[d>>2]=a;v[d+8>>2]=b;a=v[d+4>>2]}if(a>>>0<e>>>0){Ra(v[d+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[d+4>>2]=e;a=(v[d+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=457;break a;case 3:if((w[a+1|0]|w[a|0]<<8)!=1){break b}c=a;w:{x:{y:{d=v[b+4>>2];b=v[d>>2];if((b|0)>=0){a=v[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break x}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>214748363)){b=gb(v[d+8>>2],B(a,20));if(b){break y}}v[d>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break w}v[d>>2]=a;v[d+8>>2]=b;a=v[d+4>>2]}if(a>>>0<e>>>0){Ra(v[d+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[d+4>>2]=e;a=(v[d+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=458;break a;case 4:if((w[a+1|0]|w[a|0]<<8)!=1){break b}c=a;z:{A:{B:{d=v[b+4>>2];b=v[d>>2];if((b|0)>=0){a=v[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break A}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>214748363)){b=gb(v[d+8>>2],B(a,20));if(b){break B}}v[d>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break z}v[d>>2]=a;v[d+8>>2]=b;a=v[d+4>>2]}if(a>>>0<e>>>0){Ra(v[d+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[d+4>>2]=e;a=(v[d+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=459;break a;case 5:if((w[a+1|0]|w[a|0]<<8)!=1){break b}c=a;C:{D:{E:{d=v[b+4>>2];b=v[d>>2];if((b|0)>=0){a=v[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break D}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>214748363)){b=gb(v[d+8>>2],B(a,20));if(b){break E}}v[d>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break C}v[d>>2]=a;v[d+8>>2]=b;a=v[d+4>>2]}if(a>>>0<e>>>0){Ra(v[d+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[d+4>>2]=e;a=(v[d+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=460;break a;case 6:F:{G:{H:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break F;case 1:break G;case 0:break H;default:break b}}oo(b,a);return}no(b,a);return}mo(b,a);return;case 7:I:{J:{K:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break I;case 1:break J;case 0:break K;default:break b}}lo(b,a);return}ko(b,a);return}jo(b,a);return;case 8:break c;default:break b}}if((w[a+1|0]|w[a|0]<<8)==1){c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);ao(c?c+a|0:280448,b,w[a+3|0]|w[a+2|0]<<8)}}return}v[a>>2]=c;v[a+16>>2]=0;b=w[c+3|0]|w[c+2|0]<<8;Wd(b?b+c|0:280448,a+8|0)}function wp(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;f=v[b+4>>2];a:{if(f>>>0>a>>>0){break a}g=v[b+8>>2];if(g>>>0<a>>>0){break a}k=g-a|0;if(k>>>0<12){break a}d=v[b+12>>2]-12|0;v[b+12>>2]=d;if(w[a+1|0]|w[a|0]<<8|(d|0)<1){break a}c=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c){if(c>>>0>k>>>0){break a}d=d-c|0;v[b+12>>2]=d;if((d|0)<1){break a}c=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);c=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+a|0}else{c=a}n=a+4|0;if(f>>>0>n>>>0|g>>>0<n>>>0|g-n>>>0<4){break a}v[b+12>>2]=d-4;if((d|0)<5){break a}d=t[a+4|0];g=w[a+7|0]|(w[a+5|0]<<16|d<<24|w[a+6|0]<<8);d=(g|0)!=0&(d|0)<0;p=!d;if(d|!g){break a}d=c;p=1;c=0;k=Ca-16|0;Ca=k;g=a+g|0;b:{if(g>>>0<y[b+4>>2]){break b}a=v[b+8>>2];if(a>>>0<g>>>0){break b}a=a-g|0;if(a>>>0<2){break b}f=v[b+12>>2];h=f-2|0;v[b+12>>2]=h;if((h|0)<1){break b}c:{d:{e:{f:{g:{h:{h=w[g|0]|w[g+1|0]<<8;switch((h<<8|h>>>8)&65535){case 0:break h;case 10:break b;case 8:break d;case 6:break e;case 4:break f;case 2:break g;default:break c}}v[k+12>>2]=d;c=$j(g+2|0,b,v[b+32>>2],k+12|0);break b}v[k+12>>2]=d;i:{c=g+2|0;h=v[b+4>>2];if(c>>>0<h>>>0){break i}f=v[b+8>>2];if(f>>>0<c>>>0|f-c>>>0<10){break i}d=v[b+12>>2]-10|0;v[b+12>>2]=d;if((d|0)<1){break i}j=w[c+1|0]|w[c|0]<<8;if(j>>>0<6){break i}i=w[c+3|0];a=w[c+2|0];g=i|a<<8;if(g>>>0>=4294967295/(j>>>0)>>>0){break i}j=B(g,j);if(j){a=c+10|0;if(a>>>0<h>>>0|a>>>0>f>>>0|j>>>0>f-a>>>0){break i}d=d-j|0;v[b+12>>2]=d;if((d|0)<1){break i}i=w[c+3|0];a=w[c+2|0];g=i|a<<8}j:{if(!g){break j}e=c+B(g-1|0,w[c+1|0]|w[c|0]<<8)|0;if((w[e+10|0]<<8|w[e+11|0])!=65535){break j}g=g-((w[e+13|0]|w[e+12|0]<<8)==65535)|0}if(!g){e=1;break i}m=c+10|0;l=v[k+12>>2];j=0;while(1){a=(a&255)<<8|i;k:{if(!a){break k}e=m+B(a-1|0,w[c+1|0]|w[c|0]<<8)|0;if((w[e|0]<<8|w[e+1|0])!=65535){break k}a=a-((w[e+3|0]|w[e+2|0]<<8)==65535)|0}e=0;a=a>>>0<=j>>>0?280448:m+B(w[c+1|0]|w[c|0]<<8,j)|0;if(a>>>0<h>>>0|a>>>0>f>>>0|f-a>>>0<6){break i}i=d-6|0;v[b+12>>2]=i;if((i|0)<1){break i}i=a+4|0;if(i>>>0<h>>>0|f>>>0<i>>>0|f-i>>>0<2){break i}i=d-8|0;v[b+12>>2]=i;if((i|0)<1){break i}a=l+(w[a+5|0]|w[a+4|0]<<8)|0;if(a>>>0<h>>>0|a>>>0>f>>>0|f-a>>>0<4){break i}d=d-12|0;v[b+12>>2]=d;if((d|0)<1){break i}i=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);i=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);if(i>>>0>1073741822){break i}if(i){a=a+4|0;if(a>>>0<h>>>0|a>>>0>f>>>0){break i}o=f-a|0;a=i<<2;if(o>>>0<a>>>0){break i}d=d-a|0;v[b+12>>2]=d;if((d|0)<1){break i}}e=1;j=j+1|0;if((j|0)==(g|0)){break i}i=w[c+3|0];a=w[c+2|0];continue}}c=e;break b}v[k+12>>2]=d;v[k+8>>2]=g;j=k+12|0;l:{m:{f=g+2|0;i=v[b+4>>2];if(f>>>0<i>>>0){break m}a=v[b+8>>2];if(a>>>0<f>>>0|a-f>>>0<10){break m}e=v[b+12>>2]-10|0;v[b+12>>2]=e;if((e|0)<1){break m}h=w[f+1|0]|w[f|0]<<8;if(h>>>0<6){break m}g=w[f+3|0];d=w[f+2|0];c=g|d<<8;if(c>>>0>=4294967295/(h>>>0)>>>0){break m}h=B(c,h);if(h){c=f+10|0;if(c>>>0<i>>>0|a>>>0<c>>>0|h>>>0>a-c>>>0){break m}a=e-h|0;v[b+12>>2]=a;if((a|0)<1){break m}g=w[f+3|0];d=w[f+2|0];c=g|d<<8}n:{if(!c){break n}a=f+B(c-1|0,w[f+1|0]|w[f|0]<<8)|0;if((w[a+10|0]<<8|w[a+11|0])!=65535){break n}c=c-((w[a+13|0]|w[a+12|0]<<8)==65535)|0}e=1;if(!c){break l}h=f+10|0;a=0;while(1){d=(d&255)<<8|g;o:{if(!d){break o}e=h+B(d-1|0,w[f+1|0]|w[f|0]<<8)|0;if((w[e|0]<<8|w[e+1|0])!=65535){break o}d=d-((w[e+3|0]|w[e+2|0]<<8)==65535)|0}e=a>>>0>=d>>>0?280448:h+B(w[f+1|0]|w[f|0]<<8,a)|0;g=v[b+4>>2];if(e>>>0<g>>>0){break m}d=v[b+8>>2];if(d>>>0<e>>>0|d-e>>>0<6){break m}i=v[k+8>>2];m=v[b+12>>2];l=m-6|0;v[b+12>>2]=l;if((l|0)<1){break m}l=w[e+1|0]|w[e|0]<<8;q=w[e+3|0]|w[e+2|0]<<8;if(l>>>0<q>>>0){break m}o=g;g=e+4|0;if(o>>>0>g>>>0|d>>>0<g>>>0|d-g>>>0<2){break m}d=m-8|0;v[b+12>>2]=d;if((d|0)<1){break m}if(!$j(i+(w[e+5|0]|w[e+4|0]<<8)|0,b,(l-q|0)+1|0,j)){break m}a=a+1|0;e=1;if((c|0)==(a|0)){break l}g=w[f+3|0];d=w[f+2|0];continue}}e=0}c=e;break b}v[k+12>>2]=d;a=0;f=g+2|0;i=v[b+4>>2];p:{if(f>>>0<i>>>0){break p}h=v[b+8>>2];if(h>>>0<f>>>0|h-f>>>0<10){break p}d=v[b+12>>2]-10|0;v[b+12>>2]=d;if((d|0)<1){break p}c=w[f+1|0]|w[f|0]<<8;if(c>>>0<4){break p}e=w[f+3|0];j=w[f+2|0];g=e|j<<8;if(g>>>0>=4294967295/(c>>>0)>>>0){break p}c=B(c,g);if(c){e=f+10|0;if(e>>>0<i>>>0|e>>>0>h>>>0|c>>>0>h-e>>>0){break p}d=d-c|0;v[b+12>>2]=d;if((d|0)<1){break p}e=w[f+3|0];j=w[f+2|0];g=e|j<<8}if(g){a=f+B(g-1|0,w[f+1|0]|w[f|0]<<8)|0;g=g-((w[a+10|0]<<8|w[a+11|0])==65535)|0}q:{if(!g){break q}m=f+10|0;q=v[k+12>>2];a=0;l=1;while(1){r:{c=j<<8|e;if(c){e=c;c=m+B(c-1|0,w[f+1|0]|w[f|0]<<8)|0;c=e-((w[c|0]<<8|w[c+1|0])==65535)|0}c=a>>>0>=c>>>0?280448:m+B(w[f+1|0]|w[f|0]<<8,a)|0;if(c>>>0<i>>>0|c>>>0>h>>>0|h-c>>>0<4){break r}e=d-4|0;v[b+12>>2]=e;if((e|0)<1){break r}e=c+2|0;if(e>>>0<i>>>0|e>>>0>h>>>0|h-e>>>0<2){break r}e=d-6|0;v[b+12>>2]=e;if((e|0)<1){break r}c=q+(w[c+3|0]|w[c+2|0]<<8)|0;if(c>>>0<i>>>0|c>>>0>h>>>0|h-c>>>0<4){break r}d=d-10|0;v[b+12>>2]=d;if((d|0)<1){break r}e=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>1073741822){break r}if(e){c=c+4|0;if(c>>>0<i>>>0|c>>>0>h>>>0){break r}o=h-c|0;c=e<<2;if(o>>>0<c>>>0){break r}d=d-c|0;v[b+12>>2]=d;if((d|0)<1){break r}}a=a+1|0;if((g|0)==(a|0)){break q}l=a>>>0<g>>>0;e=w[f+3|0];j=w[f+2|0];continue}break}a=0;if(l){break p}}a=1}c=a;break b}v[k+12>>2]=d;if(a>>>0<6){break b}a=f-8|0;v[b+12>>2]=a;if((a|0)<1){break b}c=$j(g+6|0,b,w[g+5|0]|w[g+4|0]<<8,k+12|0);break b}c=1}Ca=k+16|0;if(c){break a}p=0;a=v[b+24>>2];if(a>>>0>31){break a}v[b+24>>2]=a+1;if(!w[b+20|0]){break a}t[n|0]=0;t[n+1|0]=0;t[n+2|0]=0;t[n+3|0]=0;p=1}return p}function al(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,u=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;l=Ca-32|0;Ca=l;v[l+24>>2]=0;v[l+28>>2]=0;a:{if(!b|!v[b>>2]){break a}j=v[c>>2];if(!j){break a}q=a&65535;A=q+524385|0;a=a>>>16|0;C=a+524385|0;D=v[163893];v[163893]=524352;n=w[q+524384|0];s=128-n|0;E=n+128|0;m=w[a+524384|0];u=m+128|0;a=v[b>>2];F=(m|0)==232;f=m&254;G=(f|0)==196;H=(m|0)==218;I=(m|0)!=216;r=n-192|0;J=r+586984|0;K=(f|0)!=196;z=m-192|0;L=z>>>0>6;b:{c:{d:{while(1){e:{g=t[a|0];f=g&255;f:{g:{h:{if(L?(g|0)>=0:0){break h}i=25;i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{switch(z|0){case 8:g=28;h=1;y:{z:{a=gs(l+20|0,a,j,l+24|0);switch(a+2|0){case 2:break y;case 0:break c;case 1:break d;default:break z}}h=a}f=v[l+20>>2];break g;case 6:if(j>>>0<4){break i}f=v[a>>2];break w;case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 18:case 19:case 20:case 21:case 22:case 23:case 27:case 28:case 29:case 30:case 31:break l;case 32:break n;case 24:case 25:break r;case 26:break s;case 16:break t;case 17:break u;case 1:case 2:case 4:case 5:break v;case 0:case 3:break x;case 7:break d;default:break m}}if(j>>>0<4){break i}f=m&3;f=w[(f^1)+a|0]<<16|w[a+f|0]<<24|w[(f^2)+a|0]<<8|w[(f^3)+a|0]}if(f>>>0>1114111){break d}h=4;if((f&-2048)==55296){break d}break g}g=28;if(j>>>0<2){break c}f=m&1;f=w[f+a|0]<<8|w[!f+a|0];k=f&-1024;if((k|0)!=55296){h=2;if((k|0)==56320){break d}break g}if(G){break d}if(j>>>0<4){break c}g=m&1;a=a+2|0;a=(w[g+a|0]<<8|w[a+!g|0])-56320|0;if(a>>>0>1023){break d}f=(a+(f<<10)|0)-56557568|0;break p}if(f-161>>>0<=62){f=f+65216|0;break h}if(j>>>0<2){break i}h=w[a+1|0];a=f-129|0;if(a>>>0>=31){if((f&240)!=224){break d}a=f-193|0}g=a<<1;a=h+-64|0;A:{if(a>>>0<=94){if((h|0)==127){break d}a=a+(h<<24>>31)|0;break A}a=h-159|0;f=a>>>0<94;g=f|g;a=f?a:h}f=x[(B(g,188)+(a<<1)|0)+588352>>1];break j}if(j>>>0<2){break i}a=w[a+1|0];if((g|0)==-114){if(a-161>>>0>62){break d}f=a+65216|0;h=2;break g}f=f-161|0;if(f>>>0>83){break d}a=a-161|0;if(a>>>0>93){break d}f=x[(B(f,188)+(a<<1)|0)+588352>>1];break j}if(f>>>0<161){break d}f=f-129|0;if(f>>>0<=125){break q}break d}f=f-129|0;if(f>>>0>125){break d}}g=28;if(j>>>0<2){break c}h=w[a+1|0];if(H?h>>>0<=160:0){break d}k=h+-64|0;if((h|0)!=127?k>>>0<=190:0){break o}if(I|h-48>>>0>9){break d}if(j>>>0<4){break c}g=w[a+2|0]-129|0;if(g>>>0>126){break d}a=w[a+3|0]-48|0;if(a>>>0>9){break d}f=(a+(B(h+B(f,10)|0,1260)+B(g,10)|0)|0)-60352|0;k=0;while(1){h=f-k|0;i=0;g=0;while(1){a=0;while(1){g=(h>>>0>=x[(B(i,380)+(a<<1)|0)+528752>>1]-k>>>0)+g|0;a=a+1|0;if((a|0)!=190){continue}break}i=i+1|0;if((i|0)!=126){continue}break}k=f+1|0;f=f+g|0;if(k>>>0<=f>>>0){continue}break}}h=4;break g}f=x[(B(f,380)+((k>>>0>63?h-65|0:k)<<1)|0)+528752>>1];h=2;break g}if(j>>>0<2){break i}a=w[a+1|0];g=a+-64|0;if(g>>>0>190|a-127>>>0<34){break d}a=g>>>0>62?a-98|0:g;g=f-161|0;if(g>>>0>=89){g=f-135|0;if(g>>>0>119){break d}a=a+B(f>>>0<161?g:f-224|0,157)|0;g=x[(a<<1)+576640>>1];f=g|x[(a>>>3&536870910)+586374>>1]>>>(a&15)<<17&131072;if((f&196352)!=56320){break j}if(y[e>>2]<(r>>>0<=8?t[J|0]:2)>>>0){break e}v[l+12>>2]=4;v[l+16>>2]=(g&255)+586994;o=al(q,l+16|0,l+12|0,d,e)+o|0;h=2;break f}f=x[(B(g,314)+(a<<1)|0)+604144>>1];if((g|0)!=39){break j}B:{switch(a-58|0){default:if((a|0)!=66){break j}break;case 1:break j;case 0:case 2:break B}}f=f|131072;break j}if(F){break k}}if(f>>>0<u>>>0){break h}h=1;a=f-u|0;g=(B(a,5)>>>2|0)+C|0;a=a<<1&6;a=w[g+1|0]<<8-a&1023|w[g|0]>>>a;f=a?x[(a<<1)+587024>>1]:f;if((f|0)==1){break d}break g}if(j>>>0<2){break i}a=w[a+1|0];C:{p=f-161|0;if(p>>>0<=92){g=a-161|0;if(g>>>0<94){break C}}g=f-129|0;if(g>>>0>92|(a>>>0>82?g>>>0>=69:0)){break d}f=a-65|0;D:{if(f>>>0<26){break D}if(a-97>>>0<=25){f=a-71|0;break D}if(a-129>>>0>125){break d}f=a-77|0}k=44032;h=2;f=((g>>>0<32?B(g,178):B(p,84)+5696|0)+f|0)+44032|0;if(f>>>0<44032){break g}while(1){p=f-k|0;i=0;g=0;while(1){a=0;while(1){g=(p>>>0>=x[(B(i,188)+(a<<1)|0)+632096>>1]-k>>>0)+g|0;a=a+1|0;if((a|0)!=94){continue}break}i=i+1|0;if((i|0)!=93){continue}break}k=f+1|0;f=f+g|0;if(k>>>0<=f>>>0){continue}break}break g}f=x[(B(p,188)+(g<<1)|0)+632096>>1]}h=2;if(f){break g}break d}g=28;break c}h=1}E:{F:{G:{switch(r|0){case 6:a=v[e>>2];if(a>>>0<4){break e}g=v[d>>2];v[g>>2]=f;v[d>>2]=g+4;v[e>>2]=a-4;break f;case 8:H:{if(y[e>>2]<=3){a=Ai(l+8|0,f);if(a>>>0<=y[e>>2]){g=v[d>>2];Ta(g,l+8|0,a);break H}g=1;break c}g=v[d>>2];a=Ai(g,f)}v[d>>2]=a+g;v[e>>2]=v[e>>2]-a;break f;case 7:if(f>>>0<128){break F}a=0;break E;case 1:case 2:case 4:case 5:a=v[e>>2];if(!(K?f>>>0>=65536:0)){if(a>>>0<2){break e}g=n&1;a=v[d>>2];f=f>>>0>65535?65533:f;t[g+a|0]=f>>>8;t[a+!g|0]=f;v[d>>2]=a+2;v[e>>2]=v[e>>2]-2;break f}if(a>>>0<4){break e}g=n&1;a=v[d>>2];i=f-65536>>>10|55296;t[g+a|0]=i>>>8;t[a+!g|0]=i;g=n&1;i=a+2|0;f=f&1023|56320;t[g+i|0]=f>>>8;t[i+!g|0]=f;v[d>>2]=a+4;v[e>>2]=v[e>>2]-4;break f;case 0:case 3:break G;default:break F}}if(y[e>>2]<4){break e}g=n&3;a=v[d>>2];t[g+a|0]=f>>>24;t[a+(g^1)|0]=f>>>16;t[a+(g^2)|0]=f>>>8;t[a+(g^3)|0]=f;v[d>>2]=a+4;v[e>>2]=v[e>>2]-4;break f}a=1}while(1){if(!a){o=o+1|0;f=42;a=1;continue}if(!v[e>>2]){break e}I:{if(f>>>0<E>>>0){break I}a=0;if(s){while(1){g=(B(a,5)>>>2|0)+A|0;i=a<<1&6;if(x[((w[g+1|0]<<8-i&1023|w[g|0]>>>i)<<1)+587024>>1]==(f|0)){f=a+128|0;break I}a=a+1|0;if((s|0)!=(a|0)){continue}break}}a=0;continue}break}a=v[d>>2];v[d>>2]=a+1;t[a|0]=f;v[e>>2]=v[e>>2]-1}a=v[b>>2]+h|0;v[b>>2]=a;j=j-h|0;v[c>>2]=j;if(j){continue}break b}break}i=1}g=i}v[164114]=g;o=-1}v[163893]=D}Ca=l+32|0;return o}function bA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=Ca-16|0;Ca=l;f=v[a+16>>2];d=w[f+6|0]|w[f+7|0]<<8|(w[f+8|0]<<16|w[f+9|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{if(!e){c=0;break a}m=f+13|0;b:{while(1){d=e+g>>>1|0;k=m+B(d,11)|0;j=k-3|0;j=w[j+1|0]<<8|w[j|0]<<16|w[j+2|0];c:{if(j>>>0>c>>>0){e=d;break c}if(c>>>0<=j>>>0){break b}g=d+1|0}if(e>>>0>g>>>0){continue}break}c=0;break a}c=0;d=w[k|0]|w[k+1|0]<<8|(w[k+2|0]<<16|w[k+3|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=w[k+4|0]|w[k+5|0]<<8|(w[k+6|0]<<16|w[k+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!(e|d)){break a}d:{e:{f:{g:{if(!e){m=v[a+28>>2];f=d+f|0;j=w[f+3|0];e=w[f+2|0];d=w[f+1|0];c=w[f|0];v[l+12>>2]=0;k=j|(d<<16|c<<24|e<<8);d=k+1|0;h:{if(d>>>0<=m>>>0){c=v[a+32>>2];break h}v[a+36>>2]=b;c=Ua(b,4,m,d,v[a+32>>2],l+12|0);v[a+32>>2]=c;if(v[l+12>>2]){break g}v[a+28>>2]=d}i:{if(!k){break i}b=j&1;d=f+4|0;e=0;if((k|0)!=1){g=k-b|0;while(1){a=e<<2;v[a+c>>2]=w[d+2|0]|(w[d+1|0]<<8|w[d|0]<<16);v[(a|4)+c>>2]=w[d+7|0]|(w[d+6|0]<<8|w[d+5|0]<<16);e=e+2|0;d=d+10|0;g=g-2|0;if(g){continue}break}}if(!b){break i}v[(e<<2)+c>>2]=w[d+2|0]|(w[d+1|0]<<8|w[d|0]<<16)}v[(k<<2)+c>>2]=0;break a}if(d){break f}h=e+f|0;c=w[h+3|0];f=c|(w[h+1|0]<<16|w[h|0]<<24|w[h+2|0]<<8);d=1;if(!f){break d}g=c&3;d=h+7|0;if(f-1>>>0<3){e=0;break e}i=f-g|0;e=1;while(1){c=d+16|0;e=(w[d+12|0]+(w[d+8|0]+(w[d+4|0]+(w[d|0]+e|0)|0)|0)|0)+3|0;i=i-4|0;if(i){e=e+1|0;d=c;continue}else{d=c;break e}}}c=0;break a}c=d+f|0;k=w[c+3|0];o=k|(w[c+1|0]<<16|w[c|0]<<24|w[c+2|0]<<8);i=c+4|0;j:{h=e+f|0;f=w[h+3|0];k:{l:{m:{n:{o:{n=f|(w[h+1|0]<<16|w[h|0]<<24|w[h+2|0]<<8);if(n){g=f&3;d=h+7|0;m=n-1|0;if(m>>>0<3){e=0;break o}c=n-g|0;e=1;while(1){j=d+16|0;e=(w[d+12|0]+(w[d+8|0]+(w[d+4|0]+(w[d|0]+e|0)|0)|0)|0)+3|0;c=c-4|0;if(c){e=e+1|0;d=j;continue}else{d=j;break o}}}if(o){break n}d=1;break k}if(g){while(1){e=(w[d|0]+e|0)+1|0;d=d+4|0;g=g-1|0;if(g){continue}break}}if(!o){d=1;if(!n){break k}g=f&3;d=h+7|0;if(m>>>0<3){e=0;break l}i=n-g|0;e=1;while(1){c=d+16|0;e=(w[d+12|0]+(w[d+8|0]+(w[d+4|0]+(w[d|0]+e|0)|0)|0)|0)+3|0;i=i-4|0;if(i){e=e+1|0;d=c;continue}else{d=c;break l}}}if(e){break m}}c=v[a+28>>2];v[l+12>>2]=0;d=o+1|0;p:{if(d>>>0<=c>>>0){c=v[a+32>>2];break p}v[a+36>>2]=b;c=Ua(b,4,c,d,v[a+32>>2],l+12|0);v[a+32>>2]=c;if(v[l+12>>2]){break j}v[a+28>>2]=d}b=k&1;d=0;if((o|0)!=1){e=o-b|0;while(1){a=d<<2;v[a+c>>2]=w[i+2|0]|(w[i+1|0]<<8|w[i|0]<<16);v[(a|4)+c>>2]=w[i+7|0]|(w[i+6|0]<<8|w[i+5|0]<<16);d=d+2|0;i=i+10|0;e=e-2|0;if(e){continue}break}}if(b){v[(d<<2)+c>>2]=w[i+2|0]|(w[i+1|0]<<8|w[i|0]<<16)}v[(o<<2)+c>>2]=0;break a}c=v[a+28>>2];v[l+12>>2]=0;d=(e+o|0)+1|0;q:{if(d>>>0<=c>>>0){c=v[a+32>>2];break q}v[a+36>>2]=b;c=Ua(b,4,c,d,v[a+32>>2],l+12|0);v[a+32>>2]=c;if(v[l+12>>2]){break j}v[a+28>>2]=d}a=w[i+2|0]|(w[i+1|0]<<8|w[i|0]<<16);b=h+4|0;g=w[b+1|0]<<8|w[b|0]<<16|w[b+2|0];f=i+5|0;h=b+4|0;i=w[b+3|0];d=0;b=1;j=1;while(1){r:{e=0;if(g+i>>>0<a>>>0){while(1){v[(d<<2)+c>>2]=e+g;d=d+1|0;e=e+1|0;if(i>>>0>=e>>>0){continue}break}b=b+1|0;if(n>>>0<b>>>0){break r}g=w[h+2|0]|(w[h+1|0]<<8|w[h|0]<<16);i=w[h+3|0];h=h+4|0;continue}if(a>>>0<g>>>0){v[(d<<2)+c>>2]=a;d=d+1|0}j=j+1|0;if(o>>>0<j>>>0){break r}a=w[f+2|0]|(w[f+1|0]<<8|w[f|0]<<16);f=f+5|0;continue}break}s:{if(j>>>0<=o>>>0){v[(d<<2)+c>>2]=a;a=d+1|0;if(j>>>0>=o>>>0){d=a;break s}b=j+1|0;if(k-j&1){v[(a<<2)+c>>2]=w[f+2|0]|(w[f+1|0]<<8|w[f|0]<<16);j=j+1|0;f=f+5|0;a=d+2|0}d=a;if((b|0)==(o|0)){break s}while(1){a=(d<<2)+c|0;v[a>>2]=w[f+2|0]|(w[f+1|0]<<8|w[f|0]<<16);v[a+4>>2]=w[f+7|0]|(w[f+6|0]<<8|w[f+5|0]<<16);d=d+2|0;f=f+10|0;j=j+2|0;if((o|0)!=(j|0)){continue}break}break s}if(b>>>0>n>>>0){break s}e=0;while(1){v[(d<<2)+c>>2]=e+g;d=d+1|0;e=e+1|0;if(i>>>0>=e>>>0){continue}break}if(b>>>0>=n>>>0){break s}while(1){m=w[h+2|0]|(w[h+1|0]<<8|w[h|0]<<16);j=w[h+3|0];a=j+1|0;f=a&3;e=0;if(j>>>0>=3){a=a&508;while(1){j=(d<<2)+c|0;v[j>>2]=e+m;v[j+12>>2]=m+(e|3);v[j+8>>2]=m+(e|2);v[j+4>>2]=m+(e|1);e=e+4|0;d=d+4|0;a=a-4|0;if(a){continue}break}}if(f){while(1){v[(d<<2)+c>>2]=e+m;e=e+1|0;d=d+1|0;f=f-1|0;if(f){continue}break}}h=h+4|0;b=b+1|0;if((n|0)!=(b|0)){continue}break}}v[(d<<2)+c>>2]=0;break a}if(g){while(1){e=(w[d|0]+e|0)+1|0;d=d+4|0;g=g-1|0;if(g){continue}break}}d=e+1|0}c=v[a+28>>2];v[l+12>>2]=0;t:{if(c>>>0>=d>>>0){c=v[a+32>>2];break t}v[a+36>>2]=b;c=Ua(b,4,c,d,v[a+32>>2],l+12|0);v[a+32>>2]=c;if(v[l+12>>2]){break j}v[a+28>>2]=d}e=c;if(n){while(1){d=w[h+6|0]|(w[h+5|0]<<8|w[h+4|0]<<16);a=w[h+7|0];g=a+1|0;i=g&7;if(i){while(1){v[e>>2]=d;g=g-1|0;e=e+4|0;d=d+1|0;i=i-1|0;if(i){continue}break}}if(a>>>0>=7){while(1){v[e>>2]=d;v[e+28>>2]=d+7;v[e+24>>2]=d+6;v[e+20>>2]=d+5;v[e+16>>2]=d+4;v[e+12>>2]=d+3;v[e+8>>2]=d+2;v[e+4>>2]=d+1;e=e+32|0;d=d+8|0;g=g-8|0;if(g){continue}break}}h=h+4|0;n=n-1|0;if(n){continue}break}}v[e>>2]=0;break a}c=0;break a}if(g){while(1){e=(w[d|0]+e|0)+1|0;d=d+4|0;g=g-1|0;if(g){continue}break}}d=e+1|0}c=v[a+28>>2];v[l+12>>2]=0;u:{v:{if(c>>>0>=d>>>0){c=v[a+32>>2];break v}v[a+36>>2]=b;c=Ua(b,4,c,d,v[a+32>>2],l+12|0);v[a+32>>2]=c;if(v[l+12>>2]){break u}v[a+28>>2]=d}e=c;if(f){while(1){d=w[h+6|0]|(w[h+5|0]<<8|w[h+4|0]<<16);a=w[h+7|0];g=a+1|0;i=g&7;if(i){while(1){v[e>>2]=d;g=g-1|0;e=e+4|0;d=d+1|0;i=i-1|0;if(i){continue}break}}if(a>>>0>=7){while(1){v[e>>2]=d;v[e+28>>2]=d+7;v[e+24>>2]=d+6;v[e+20>>2]=d+5;v[e+16>>2]=d+4;v[e+12>>2]=d+3;v[e+8>>2]=d+2;v[e+4>>2]=d+1;e=e+32|0;d=d+8|0;g=g-8|0;if(g){continue}break}}h=h+4|0;f=f-1|0;if(f){continue}break}}v[e>>2]=0;break a}c=0}Ca=l+16|0;return c|0}function pw(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,u=0,x=0,z=0;i=v[b+4>>2];a:{b:{if(i>>>0>a>>>0){break b}f=v[b+8>>2];if(f>>>0<a>>>0|f-a>>>0<2){break b}e=v[b+12>>2]-2|0;v[b+12>>2]=e;d=1;if((e|0)<1){break b}g=w[a+1|0]|w[a|0]<<8;if(!g){break a}d=a+2|0;if(d>>>0<i>>>0|d>>>0>f>>>0){break b}f=f-d|0;d=g<<3;if(f>>>0<d>>>0){break b}g=e-d|0;v[b+12>>2]=g;d=0;if((g|0)<1){break a}d=1;z=w[a+1|0]|w[a|0]<<8;if(!z){break a}d=0;e=a+2|0;if(i>>>0>e>>>0){break a}while(1){j=v[b+8>>2];if(j>>>0<e>>>0|j-e>>>0<8){break b}e=v[c>>2];g=v[b+12>>2];d=g-8|0;v[b+12>>2]=d;if((d|0)<1){break b}f=(u<<3)+a|0;r=f+6|0;if(r>>>0<i>>>0|j>>>0<r>>>0|j-r>>>0<4){break b}d=g-12|0;v[b+12>>2]=d;if((d|0)<1){break b}d=t[r|0];g=w[f+9|0]|(w[f+7|0]<<16|d<<24|w[f+8|0]<<8);d=(g|0)!=0&(d|0)<0;c:{if(!(d|!g)){d=0;x=Ca-16|0;Ca=x;f=v[b+4>>2];h=e+g|0;d:{if(f>>>0>h>>>0){break d}j=v[b+8>>2];if(j>>>0<h>>>0){break d}i=j-h|0;if(i>>>0<2){break d}e=v[b+12>>2];g=e-2|0;v[b+12>>2]=g;d=1;if((g|0)<1){d=0;break d}e:{f:{g:{h:{i:{j:{k:{g=w[h|0]|w[h+1|0]<<8;switch((g<<8|g>>>8)&65535){case 12:break g;case 10:break h;case 6:break i;case 4:break j;case 0:break k;case 14:break e;case 13:break f;default:break d}}d=0;if(i>>>0<262){break d}d=e-264|0;v[b+12>>2]=d;d=(d|0)>0;break d}if(i>>>0<14){d=0;break d}f=e-16|0;v[b+12>>2]=f;if((f|0)<1){d=0;break d}d=w[h+3|0];e=w[h+2|0];g=d|e<<8;l:{if(!g){break l}m:{if(g>>>0>i>>>0){break m}d=f-g|0;v[b+12>>2]=d;if((d|0)<1){break m}d=w[h+3|0];e=w[h+2|0];break l}d=v[b+24>>2];if(d>>>0>31){d=0;break d}v[b+24>>2]=d+1;d=0;if(!w[b+20|0]){break d}d=i>>>0<65535?i:65535;e=d<<8|(d&65280)>>>8;t[h+2|0]=e;t[h+3|0]=e>>>8;d=d&255}d=(w[h+7|0]<<2|w[h+6|0]<<10)+16>>>0<=((e&255)<<8|d)>>>0;break d}if(i>>>0<10){d=0;break d}d=e-12|0;v[b+12>>2]=d;if((d|0)<1){d=0;break d}d=h+8|0;if(d>>>0<f>>>0){d=0;break d}if(d>>>0>j>>>0){d=0;break d}if(j-d>>>0<2){d=0;break d}e=e-14|0;v[b+12>>2]=e;if((e|0)<1){d=0;break d}d=w[h+9|0]|w[h+8|0]<<8;if(d){g=h+10|0;if(g>>>0<f>>>0){d=0;break d}if(g>>>0>j>>>0){d=0;break d}d=d<<1;if(d>>>0>j-g>>>0){d=0;break d}g=e-d|0;v[b+12>>2]=g;d=0;if((g|0)<1){break d}}d=1;break d}if(i>>>0<20){d=0;break d}g=e-22|0;v[b+12>>2]=g;d=0;if((g|0)<1){break d}e=0;h=h+16|0;g=v[b+4>>2];n:{o:{if(h>>>0<g>>>0){break o}i=v[b+8>>2];if(i>>>0<h>>>0|i-h>>>0<4){break o}j=v[b+12>>2]-4|0;v[b+12>>2]=j;if((j|0)<1){break o}d=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(f>>>0>2147483646){break o}d=1;if(!f){break n}d=h+4|0;if(d>>>0<g>>>0|d>>>0>i>>>0){break o}g=i-d|0;d=f<<1;if(g>>>0<d>>>0){break o}d=j-d|0;v[b+12>>2]=d;e=(d|0)>0}d=e}break d}if(i>>>0<16){d=0;break d}g=e-18|0;v[b+12>>2]=g;d=0;if((g|0)<1){break d}d=ow(h+12|0,b);break d}if(i>>>0<16){d=0;break d}g=e-18|0;v[b+12>>2]=g;d=0;if((g|0)<1){break d}d=ow(h+12|0,b);break d}if(i>>>0<=9){d=0;break d}d=e-12|0;v[b+12>>2]=d;if((d|0)<1){d=0;break d}v[x+12>>2]=h;s=0;g=0;l=h+6|0;f=b;i=v[f+4>>2];p:{q:{if(l>>>0<i>>>0){break q}h=v[f+8>>2];if(h>>>0<l>>>0|h-l>>>0<4){break q}j=v[f+12>>2]-4|0;v[f+12>>2]=j;if((j|0)<1){break q}d=w[l|0]|w[l+1|0]<<8|(w[l+2|0]<<16|w[l+3|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(e>>>0>390451571){break q}d=1;if(!e){break p}d=l+4|0;if(d>>>0<i>>>0|d>>>0>h>>>0){break q}m=h-d|0;d=B(e,11);if(m>>>0<d>>>0){break q}d=j-d|0;v[f+12>>2]=d;if((d|0)<1){break q}g=1;d=w[l|0]|w[l+1|0]<<8|(w[l+2|0]<<16|w[l+3|0]<<24);h=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!h){break q}g=0;e=l+4|0;if(i>>>0>e>>>0){break q}while(1){d=v[f+8>>2];if(d>>>0<e>>>0|d-e>>>0<11){break q}n=v[x+12>>2];d=v[f+12>>2]-11|0;v[f+12>>2]=d;if((d|0)<1){break q}e=0;i=l+B(s,11)|0;o=i+7|0;q=v[f+4>>2];r:{if(o>>>0<q>>>0){break r}k=v[f+8>>2];if(k>>>0<o>>>0|k-o>>>0<4){break r}j=v[f+12>>2];d=j-4|0;v[f+12>>2]=d;if((d|0)<1){break r}d=t[o|0];p=w[o+3|0]|(w[o+1|0]<<16|d<<24|w[o+2|0]<<8);d=(p|0)!=0&(d|0)<0;e=!d;if(!p|d){break r}m=n+p|0;s:{if(m>>>0<q>>>0|k>>>0<m>>>0|k-m>>>0<4){break s}p=j-8|0;v[f+12>>2]=p;if((p|0)<1){break s}d=w[m|0]|w[m+1|0]<<8|(w[m+2|0]<<16|w[m+3|0]<<24);j=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(j>>>0>1073741822){break s}e=1;if(!j){break r}d=m+4|0;if(d>>>0<q>>>0|d>>>0>k>>>0){break s}m=k-d|0;d=j<<2;if(m>>>0<d>>>0){break s}d=p-d|0;v[f+12>>2]=d;if((d|0)>0){break r}}e=0;d=v[f+24>>2];if(d>>>0>31){break r}v[f+24>>2]=d+1;if(!w[f+20|0]){break r}t[o|0]=0;t[o+1|0]=0;t[o+2|0]=0;t[o+3|0]=0;e=1}if(!e){break q}e=0;k=i+11|0;p=v[f+4>>2];t:{if(k>>>0<p>>>0){break t}q=v[f+8>>2];if(q>>>0<k>>>0|q-k>>>0<4){break t}j=v[f+12>>2];d=j-4|0;v[f+12>>2]=d;if((d|0)<1){break t}d=t[k|0];i=w[k+3|0]|(w[k+1|0]<<16|d<<24|w[k+2|0]<<8);d=(i|0)!=0&(d|0)<0;e=!d;if(!i|d){break t}n=i+n|0;u:{if(n>>>0<p>>>0|n>>>0>q>>>0|q-n>>>0<4){break u}i=j-8|0;v[f+12>>2]=i;if((i|0)<1){break u}d=w[n|0]|w[n+1|0]<<8|(w[n+2|0]<<16|w[n+3|0]<<24);j=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(j>>>0>858993458){break u}e=1;if(!j){break t}d=n+4|0;if(d>>>0<p>>>0|d>>>0>q>>>0){break u}m=q-d|0;d=B(j,5);if(m>>>0<d>>>0){break u}d=i-d|0;v[f+12>>2]=d;if((d|0)>0){break t}}e=0;d=v[f+24>>2];if(d>>>0>31){break t}v[f+24>>2]=d+1;if(!w[f+20|0]){break t}t[k|0]=0;t[k+1|0]=0;t[k+2|0]=0;t[k+3|0]=0;e=1}if(!e){break q}s=s+1|0;d=1;if((h|0)==(s|0)){break p}e=(l+B(s,11)|0)+4|0;if(e>>>0>=y[f+4>>2]){continue}break}}d=g}}Ca=x+16|0;if(d){break c}d=v[b+24>>2];if(d>>>0>31){break b}v[b+24>>2]=d+1;if(!w[b+20|0]){break b}t[r|0]=0;t[r+1|0]=0;t[r+2|0]=0;t[r+3|0]=0;break c}if(d){break b}}d=1;u=u+1|0;if((z|0)==(u|0)){break a}e=((u<<3)+a|0)+2|0;i=v[b+4>>2];if(e>>>0>=i>>>0){continue}break}}d=0}return d}function vs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,C=0,E=0,F=0,G=0,I=0;m=Ca-48|0;Ca=m;o(+a);d=j(1)|0;c=j(0)|0;p=d;a:{b:{g=d&2147483647;c:{if(g>>>0<=1074752122){if((d&1048575)==598523){break c}if(g>>>0<=1073928572){if((p|0)>0?1:(p|0)>=0){a=a+-1.5707963267341256;f=a+-6.077100506506192e-11;A[b>>3]=f;A[b+8>>3]=a-f+-6.077100506506192e-11;d=1;break a}a=a+1.5707963267341256;f=a+6.077100506506192e-11;A[b>>3]=f;A[b+8>>3]=a-f+6.077100506506192e-11;d=-1;break a}if((p|0)>0?1:(p|0)>=0){a=a+-3.1415926534682512;f=a+-1.2154201013012384e-10;A[b>>3]=f;A[b+8>>3]=a-f+-1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;f=a+1.2154201013012384e-10;A[b>>3]=f;A[b+8>>3]=a-f+1.2154201013012384e-10;d=-2;break a}if(g>>>0<=1075594811){if(g>>>0<=1075183036){if((g|0)==1074977148){break c}if((p|0)>0?1:(p|0)>=0){a=a+-4.712388980202377;f=a+-1.8231301519518578e-10;A[b>>3]=f;A[b+8>>3]=a-f+-1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;f=a+1.8231301519518578e-10;A[b>>3]=f;A[b+8>>3]=a-f+1.8231301519518578e-10;d=-3;break a}if((g|0)==1075388923){break c}if((p|0)>0?1:(p|0)>=0){a=a+-6.2831853069365025;f=a+-2.430840202602477e-10;A[b>>3]=f;A[b+8>>3]=a-f+-2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;f=a+2.430840202602477e-10;A[b>>3]=f;A[b+8>>3]=a-f+2.430840202602477e-10;d=-4;break a}if(g>>>0>1094263290){break b}}u=a*.6366197723675814+6755399441055744+-6755399441055744;f=a+u*-1.5707963267341256;r=u*6.077100506506192e-11;a=f-r;A[b>>3]=a;o(+a);d=j(1)|0;j(0)|0;c=g>>>20|0;e=(c-(d>>>20&2047)|0)<17;if(D(u)<2147483648){d=~~u}else{d=-2147483648}d:{if(e){break d}r=f;a=u*6.077100506303966e-11;f=f-a;r=u*2.0222662487959506e-21-(r-f-a);a=f-r;A[b>>3]=a;e=c;o(+a);c=j(1)|0;j(0)|0;if((e-(c>>>20&2047)|0)<50){break d}r=f;a=u*2.0222662487111665e-21;f=f-a;r=u*8.4784276603689e-32-(r-f-a);a=f-r;A[b>>3]=a}A[b+8>>3]=f-a-r;break a}if(g>>>0>=2146435072){a=a-a;A[b>>3]=a;A[b+8>>3]=a;d=0;break a}l(0,c|0);l(1,p&1048575|1096810496);a=+n();d=m+16|0;c=m+16|8;k=1;while(1){if(D(a)<2147483648){h=~~a}else{h=-2147483648}f=+(h|0);A[d>>3]=f;a=(a-f)*16777216;if(k){k=0;d=c;continue}break}A[m+32>>3]=a;z=m+16|0;g=(g>>>20|0)-1046|0;e:{if(a==0){d=1;while(1){c=d;d=c-1|0;if(A[(m+16|0)+(c<<3)>>3]==0){continue}break}w=c+1|0;break e}w=3}i=Ca-560|0;Ca=i;d=(g-3|0)/24|0;x=(d|0)>0?d:0;g=g+B(x,-24)|0;s=v[130017];h=w-1|0;if((s+h|0)>=0){d=s+w|0;c=x-h|0;while(1){A[(i+320|0)+(e<<3)>>3]=(c|0)<0?0:+v[(c<<2)+520080>>2];c=c+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}k=g-24|0;e=(s|0)>0?s:0;d=0;while(1){a=0;if((w|0)>0){q=d+h|0;c=0;while(1){a=a+A[(c<<3)+z>>3]*A[(i+320|0)+(q-c<<3)>>3];c=c+1|0;if((w|0)!=(c|0)){continue}break}}A[(d<<3)+i>>3]=a;c=(d|0)==(e|0);d=d+1|0;if(!c){continue}break}G=47-g|0;C=48-g|0;I=g-25|0;d=s;f:{while(1){a=A[(d<<3)+i>>3];c=0;e=d;t=(d|0)<1;if(!t){while(1){q=(i+480|0)+(c<<2)|0;f=a;a=a*5.960464477539063e-8;g:{if(D(a)<2147483648){h=~~a;break g}h=-2147483648}a=+(h|0);f=f+a*-16777216;h:{if(D(f)<2147483648){h=~~f;break h}h=-2147483648}v[q>>2]=h;e=e-1|0;a=A[(e<<3)+i>>3]+a;c=c+1|0;if((d|0)!=(c|0)){continue}break}}a=_d(a,k);a=a+H(a*.125)*-8;i:{if(D(a)<2147483648){q=~~a;break i}q=-2147483648}a=a-+(q|0);j:{k:{l:{E=(k|0)<1;m:{if(!E){e=(d<<2)+i|0;h=v[e+476>>2];c=h>>C;y=e;e=h-(c<<C)|0;v[y+476>>2]=e;q=c+q|0;h=e>>G;break m}if(k){break l}h=v[((d<<2)+i|0)+476>>2]>>23}if((h|0)<1){break j}break k}h=2;if(a>=.5){break k}h=0;break j}n:{if(t){e=0;break n}c=0;F=1;while(1){e=(i+480|0)+(c<<2)|0;t=v[e>>2];y=e;o:{if(F){e=0;if(!t){break o}e=16777216-t|0}else{e=16777215-t|0}v[y>>2]=e;e=1}c=c+1|0;if((d|0)==(c|0)){break n}F=!e;continue}}p:{if(E){break p}c=8388607;q:{switch(I|0){case 1:c=4194303;break;case 0:break q;default:break p}}t=(d<<2)+i|0;v[t+476>>2]=v[t+476>>2]&c}q=q+1|0;if((h|0)!=2){break j}a=1-a;h=2;if(!e){break j}a=a-_d(1,k)}if(a==0){e=0;r:{c=d;if((s|0)>=(c|0)){break r}while(1){c=c-1|0;e=v[(i+480|0)+(c<<2)>>2]|e;if((c|0)>(s|0)){continue}break}if(!e){break r}g=k;while(1){g=g-24|0;d=d-1|0;if(!v[(i+480|0)+(d<<2)>>2]){continue}break}break f}c=1;while(1){e=c;c=c+1|0;if(!v[(i+480|0)+(s-e<<2)>>2]){continue}break}e=d+e|0;while(1){h=d+w|0;d=d+1|0;A[(i+320|0)+(h<<3)>>3]=v[(x+d<<2)+520080>>2];c=0;a=0;if((w|0)>=1){while(1){a=a+A[(c<<3)+z>>3]*A[(i+320|0)+(h-c<<3)>>3];c=c+1|0;if((w|0)!=(c|0)){continue}break}}A[(d<<3)+i>>3]=a;if((d|0)<(e|0)){continue}break}d=e;continue}break}a=_d(a,24-g|0);s:{if(a>=16777216){k=(i+480|0)+(d<<2)|0;f=a;a=a*5.960464477539063e-8;t:{if(D(a)<2147483648){c=~~a;break t}c=-2147483648}a=f+ +(c|0)*-16777216;u:{if(D(a)<2147483648){e=~~a;break u}e=-2147483648}v[k>>2]=e;d=d+1|0;break s}if(D(a)<2147483648){c=~~a}else{c=-2147483648}g=k}v[(i+480|0)+(d<<2)>>2]=c}a=_d(1,g);v:{if((d|0)<=-1){break v}c=d;while(1){A[(c<<3)+i>>3]=a*+v[(i+480|0)+(c<<2)>>2];a=a*5.960464477539063e-8;e=(c|0)>0;c=c-1|0;if(e){continue}break}if((d|0)<=-1){break v}c=d;while(1){e=c;g=d-c|0;a=0;c=0;while(1){w:{a=a+A[(c<<3)+522848>>3]*A[(c+e<<3)+i>>3];if((c|0)>=(s|0)){break w}k=c>>>0<g>>>0;c=c+1|0;if(k){continue}}break}A[(i+160|0)+(g<<3)>>3]=a;c=e-1|0;if((e|0)>0){continue}break}}a=0;if((d|0)>=0){c=d;while(1){a=a+A[(i+160|0)+(c<<3)>>3];e=(c|0)>0;c=c-1|0;if(e){continue}break}}A[m>>3]=h?-a:a;a=A[i+160>>3]-a;c=1;if((d|0)>=1){while(1){a=a+A[(i+160|0)+(c<<3)>>3];e=(c|0)!=(d|0);c=c+1|0;if(e){continue}break}}A[m+8>>3]=h?-a:a;Ca=i+560|0;d=q&7;a=A[m>>3];if((p|0)<-1?1:(p|0)<=-1){A[b>>3]=-a;A[b+8>>3]=-A[m+8>>3];d=0-d|0;break a}A[b>>3]=a;A[b+8>>3]=A[m+8>>3]}Ca=m+48|0;return d}function kK(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,k=0,m=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;d=Ra(b,0,72);J=v[a+20>>2];a:{if(!J){k=2147483647;i=-2147483648;u=-2147483648;h=2147483647;G=-2147483648;H=-2147483648;x=2147483647;A=2147483647;break a}y=v[a+24>>2];H=-2147483648;A=2147483647;x=2147483647;G=-2147483648;h=2147483647;k=2147483647;u=-2147483648;i=-2147483648;while(1){r=B(C,24);b=r+y|0;m=v[b>>2];if(m){F=r+y|0;e=v[m+4>>2]+v[F+12>>2]|0;k=(e|0)<(k|0)?e:k;F=v[m>>2]+v[F+8>>2]|0;h=(h|0)>(F|0)?F:h;e=e+v[m+12>>2]|0;i=(e|0)<(i|0)?i:e;e=F+v[m+8>>2]|0;u=(e|0)<(u|0)?u:e;s=s+1|0;e=b}m=v[b+4>>2];if(m){r=r+y|0;f=v[m+4>>2]+v[r+20>>2]|0;x=(f|0)<(x|0)?f:x;r=v[m>>2]+v[r+16>>2]|0;A=(r|0)<(A|0)?r:A;f=f+v[m+12>>2]|0;G=(f|0)<(G|0)?G:f;f=r+v[m+8>>2]|0;H=(f|0)<(H|0)?H:f;q=q+1|0;f=b}C=C+1|0;if((J|0)!=(C|0)){continue}break}}b:{c:{d:{e:{b=v[a+4>>2];b=(b|0)<4?b:(b|0)<8?4:5;f:{if(!(b|(s|0)!=1)){jj(v[c+764>>2],d,v[e>>2]);v[d>>2]=v[d>>2]+v[e+8>>2];v[d+4>>2]=v[d+4>>2]+v[e+12>>2];break f}if(!s){break f}e=b<<1;if(!vu(v[c+764>>2],d,e+(u-h|0)|0,e+(i-k|0)|0)){break f}v[d+4>>2]=k-b;v[d>>2]=h-b;h=v[a+20>>2];if(!h){break f}e=0;while(1){i=v[a+24>>2]+B(e,24)|0;k=v[i>>2];if(k){h=(v[k>>2]+v[i+8>>2]|0)-v[d>>2]|0;if((h|0)<0){break e}u=v[k+8>>2];if(v[d+8>>2]<(u+h|0)){break e}i=(v[k+4>>2]+v[i+12>>2]|0)-v[d+4>>2]|0;if((i|0)<0){break d}m=v[k+12>>2];if(v[d+12>>2]<(m+i|0)){break d}r=i;i=v[d+16>>2];Ea[v[v[c+764>>2]+20>>2]](h+(v[d+20>>2]+B(r,i)|0)|0,i,v[k+20>>2],v[k+16>>2],u,m);h=v[a+20>>2]}e=e+1|0;if(h>>>0>e>>>0){continue}break}}g:{if(!((q|0)!=1|b)){jj(v[c+764>>2],d+24|0,v[f+4>>2]);v[d+24>>2]=v[d+24>>2]+v[f+16>>2];v[d+28>>2]=v[d+28>>2]+v[f+20>>2];break g}if(!q){break g}e=b<<1;if(!vu(v[c+764>>2],d+24|0,e+(H-A|0)|0,e+(G-x|0)|0)){break g}v[d+28>>2]=x-b;v[d+24>>2]=A-b;h=v[a+20>>2];if(!h){break g}e=0;while(1){f=v[a+24>>2]+B(e,24)|0;b=v[f+4>>2];if(b){h=(v[b>>2]+v[f+16>>2]|0)-v[d+24>>2]|0;if((h|0)<0){break c}q=v[b+8>>2];if(v[d+32>>2]<(q+h|0)){break c}f=(v[b+4>>2]+v[f+20>>2]|0)-v[d+28>>2]|0;if((f|0)<0){break b}k=v[b+12>>2];if(v[d+36>>2]<(k+f|0)){break b}i=f;f=v[d+40>>2];Ea[v[v[c+764>>2]+20>>2]](h+(v[d+44>>2]+B(i,f)|0)|0,f,v[b+20>>2],v[b+16>>2],q,k);h=v[a+20>>2]}e=e+1|0;if(h>>>0>e>>>0){continue}break}}q=v[a>>2];k=q&1;h:{i:{j:{k:{g=+v[a+8>>2]*.00390625;o(+g);e=j(1)|0;j(0)|0;l:{m:{b=e;e=b&2147483647;if(e>>>0>=1078159482){o(+g);e=j(1)|0;f=j(0)|0;e=e&2147483647;if((e|0)==2146435072&(f|0)!=0|e>>>0>2146435072){break i}p=-1;if((b|0)<0){break h}if(!(g>709.782712893384)){break m}p=g*8.98846567431158e307;break h}if(e>>>0<1071001155){break k}if(e>>>0>1072734897){break m}if((b|0)>0?1:(b|0)>=0){b=1;z=1.9082149292705877e-10;p=g+-.6931471803691238;break l}b=-1;z=-1.9082149292705877e-10;p=g+.6931471803691238;break l}o(.5);b=j(1)|0;f=j(0)|0;o(+g);e=j(1)|0;j(0)|0;l(0,f|0);l(1,b&2147483647|e&-2147483648);p=g*1.4426950408889634+ +n();n:{if(D(p)<2147483648){b=~~p;break n}b=-2147483648}p=+(b|0);z=p*1.9082149292705877e-10;p=g+p*-.6931471803691238}g=p;g=g-z;z=p-g-z;break j}if(e>>>0<1016070144){break i}b=0}I=g*.5;E=g*I;p=E*(E*(E*(E*(E*-2.0109921818362437e-7+4008217827329362e-21)+-793650757867488e-19)+.0015873015872548146)+-.03333333333333313)+1;K=p;p=3-I*p;I=E*((K-p)/(6-g*p));p=g-(g*I-E);if(!b){break h}z=g*(I-z)-z-E;o:{switch(b+1|0){case 0:p=(g-z)*.5+-.5;break h;case 2:p=(z-(g+.5))*-2;if(g<-.25){break h}g=g-z;p=g+g+1;break h;default:break o}}l(0,0);l(1,b+1023<<20);p=+n();if(b>>>0>=57){g=g-z+1;p=((b|0)==1024?(g+g)*8.98846567431158e307:g*p)+-1;break h}l(0,0);l(1,1023-b<<20);E=+n();g=((b|0)<=19?1-E+(g-z):g-(z+E)+1)*p}p=g}g=p*32;g=g*g;b=q&2;if(!(k?0:b)){wu(v[c+764>>2],d,v[a+4>>2],g)}h=d+24|0;wu(v[c+764>>2],h,v[a+4>>2],g);if(!(q&24)){wm(d,h)}G=q&8;H=q&16;if(q&4){p:{if(b){b=d+48|0;jj(v[c+764>>2],b,h);if(G|!H){break p}wm(d,b);break p}if(k){b=v[h+4>>2];v[d+48>>2]=v[h>>2];v[d+52>>2]=b;c=v[h+20>>2];b=d- -64|0;v[b>>2]=v[h+16>>2];v[b+4>>2]=c;b=v[h+12>>2];v[d+56>>2]=v[h+8>>2];v[d+60>>2]=b;v[h>>2]=0;v[h+4>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;v[h+16>>2]=0;v[h+20>>2]=0;b=d+48|0;break p}b=d+48|0;jj(v[c+764>>2],b,d)}c=v[a+12>>2];v[d+48>>2]=v[d+48>>2]+(c>>6);a=v[a+16>>2];v[d+52>>2]=v[d+52>>2]+(a>>6);q=0;q:{i=c&63;A=a&63;if(!(i>>>0>63|A>>>0>=64)){k=v[b+20>>2];if(!k){break q}x=v[b+16>>2];c=v[b+12>>2];b=v[b+8>>2];if(!(!i|(c|0)<1|(b|0)<2)){e=b-1|0;s=b&1;C=(b|0)==2;while(1){u=B(q,x);a=b;if(!s){a=k+(e+u|0)|0;m=a-1|0;y=w[m|0];f=B(y,i)>>>6|0;t[m|0]=y-f;t[a|0]=f+w[a|0];a=e}if(!C){while(1){m=k+(a+u|0)|0;y=m-2|0;r=w[y|0];f=B(r,i)>>>6|0;t[y|0]=r-f;m=m-1|0;t[m|0]=f+w[m|0];f=a-2|0;m=k+(f+u|0)|0;r=m-1|0;F=w[r|0];y=B(F,i)>>>6|0;t[r|0]=F-y;t[m|0]=y+w[m|0];m=(a|0)>3;a=f;if(m){continue}break}}q=q+1|0;if((c|0)!=(q|0)){continue}break}}if(!A|(b|0)<1|(c|0)<2){break q}u=c&1;e=c-1|0;m=B(e,x);q=0;y=(c|0)==2;while(1){a=c;if(!u){f=m+q|0;i=k+(f-x|0)|0;s=w[i|0];a=B(s,A)>>>6|0;t[i|0]=s-a;f=f+k|0;t[f|0]=a+w[f|0];a=e}if(!y){while(1){i=B(x,a-1|0)+q|0;s=k+(i-x|0)|0;C=w[s|0];f=B(C,A)>>>6|0;t[s|0]=C-f;i=i+k|0;t[i|0]=f+w[i|0];f=a-2|0;s=B(f,x)+q|0;C=k+(s-x|0)|0;r=w[C|0];i=B(r,A)>>>6|0;t[C|0]=r-i;s=k+s|0;t[s|0]=i+w[s|0];i=(a|0)>3;a=f;if(i){continue}break}}q=q+1|0;if((b|0)!=(q|0)){continue}break}break q}O(447764,447809,225,447852);L()}}if(!(H|!G)){wm(d,h)}return((B(v[d+16>>2],v[d+12>>2])+B(v[d+40>>2],v[d+36>>2])|0)+B(v[d- -64>>2],v[d+60>>2])|0)+100|0}O(365246,365277,2518,365320);L()}O(365344,365277,2519,365320);L()}O(365246,365277,2543,365320);L()}O(365344,365277,2544,365320);L()}function pG(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,k=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,C=0,E=0,F=0,G=0,H=0;l=Ca-560|0;Ca=l;v[l+44>>2]=0;o(+b);n=j(1)|0;j(0)|0;a:{if((n|0)<-1?1:(n|0)<=-1){z=1;A=523616;b=-b;o(+b);n=j(1)|0;j(0)|0;break a}if(e&2048){z=1;A=523619;break a}z=e&1;A=z?523622:523617;H=!z}b:{if((n&2146435072)==2146435072){p=z+3|0;Yc(a,32,c,p,e&-65537);Fc(a,A,z);d=f&32;Fc(a,b!=b?d?523643:523647:d?523635:523639,3);break b}x=l+16|0;c:{d:{e:{b=tg(b,l+44|0);b=b+b;if(b!=0){g=v[l+44>>2];v[l+44>>2]=g-1;C=f|32;if((C|0)!=97){break e}break c}C=f|32;if((C|0)==97){break c}q=v[l+44>>2];m=(d|0)<0?6:d;break d}q=g-29|0;v[l+44>>2]=q;b=b*268435456;m=(d|0)<0?6:d}s=(q|0)<0?l+48|0:l+336|0;h=s;while(1){d=h;if(b<4294967296&b>=0){g=~~b>>>0}else{g=0}v[d>>2]=g;h=h+4|0;b=(b-+(g>>>0))*1e9;if(b!=0){continue}break}f:{if((q|0)<1){d=q;g=h;i=s;break f}i=s;d=q;while(1){p=(d|0)<29?d:29;g=h-4|0;g:{if(i>>>0>g>>>0){break g}k=p;d=0;n=0;while(1){u=g;G=v[g>>2];r=k&31;if((k&63)>>>0>=32){F=G<<r;r=0}else{F=(1<<r)-1&G>>>32-r;r=G<<r}r=r+d|0;F=n+F|0;n=r;d=gQ(n,d>>>0>n>>>0?F+1|0:F,1e9,0);r=eQ(d,Da,1e9,0);v[u>>2]=n-r;g=g-4|0;if(i>>>0<=g>>>0){n=0;continue}break}if(!d){break g}i=i-4|0;v[i>>2]=d}while(1){g=h;if(i>>>0<g>>>0){h=g-4|0;if(!v[h>>2]){continue}}break}d=v[l+44>>2]-p|0;v[l+44>>2]=d;h=g;if((d|0)>0){continue}break}}h=(m+25|0)/9|0;if((d|0)<=-1){r=h+1|0;E=(C|0)==102;while(1){u=(d|0)<-9?9:0-d|0;h:{if(g>>>0>i>>>0){n=1e9>>>u|0;k=-1<<u^-1;d=0;h=i;while(1){p=d;d=v[h>>2];v[h>>2]=p+(d>>>u|0);d=B(n,d&k);h=h+4|0;if(h>>>0<g>>>0){continue}break}i=v[i>>2]?i:i+4|0;if(!d){break h}v[g>>2]=d;g=g+4|0;break h}i=v[i>>2]?i:i+4|0}d=v[l+44>>2]+u|0;v[l+44>>2]=d;h=E?s:i;g=(r|0)<g-h>>2?h+(r<<2)|0:g;if((d|0)<0){continue}break}}h=0;i:{if(g>>>0<=i>>>0){break i}h=B(s-i>>2,9);k=v[i>>2];if(k>>>0<10){break i}d=100;while(1){h=h+1|0;if(d>>>0>k>>>0){break i}d=B(d,10);continue}}d=(m-((C|0)==102?0:h)|0)-((C|0)==103&(m|0)!=0)|0;if((d|0)<(B(g-s>>2,9)-9|0)){n=d+9216|0;k=(n|0)/9|0;p=((k<<2)+((q|0)<0?l+48|4:l+340|0)|0)-4096|0;d=10;j:{k=n-B(k,9)|0;if((k|0)>7){break j}d=100;while(1){k=k+1|0;if((k|0)==8){break j}d=B(d,10);continue}}n=v[p>>2];q=(n>>>0)/(d>>>0)|0;k:{r=n-B(d,q)|0;k=p+4|0;if(!((k|0)==(g|0)?r:1)){break k}b=(g|0)==(k|0)?1:1.5;k=d>>>1|0;y=k>>>0>r>>>0?.5:(k|0)==(r|0)?b:1.5;b=q&1?9007199254740994:9007199254740992;if(!(w[A|0]!=45|H)){y=-y;b=-b}k=n-r|0;v[p>>2]=k;if(b+y==b){break k}d=d+k|0;v[p>>2]=d;if(d>>>0>=1e9){while(1){v[p>>2]=0;p=p-4|0;if(p>>>0<i>>>0){i=i-4|0;v[i>>2]=0}d=v[p>>2]+1|0;v[p>>2]=d;if(d>>>0>999999999){continue}break}}h=B(s-i>>2,9);k=v[i>>2];if(k>>>0<10){break k}d=100;while(1){h=h+1|0;if(d>>>0>k>>>0){break k}d=B(d,10);continue}}d=p+4|0;g=d>>>0<g>>>0?d:g}while(1){q=g;k=g>>>0<=i>>>0;if(!k){g=q-4|0;if(!v[g>>2]){continue}}break}l:{if((C|0)!=103){u=e&8;break l}g=m?m:1;d=(g|0)>(h|0)&(h|0)>-5;m=(d?h^-1:-1)+g|0;f=(d?-1:-2)+f|0;u=e&8;if(u){break l}g=-9;m:{if(k){break m}d=v[q-4>>2];if(!d){break m}g=0;if((d>>>0)%10|0){break m}k=0;g=100;while(1){if(!((d>>>0)%(g>>>0)|0)){k=k+1|0;g=B(g,10);continue}break}g=k^-1}d=B(q-s>>2,9);if((f&-33)==70){u=0;d=(d+g|0)-9|0;d=(d|0)>0?d:0;m=(d|0)>(m|0)?m:d;break l}u=0;d=((d+h|0)+g|0)-9|0;d=(d|0)>0?d:0;m=(d|0)>(m|0)?m:d}r=(m|u)!=0;d=a;k=c;n=f&-33;if((n|0)==70){f=(h|0)>0?h:0}else{g=h>>31;g=sg(g+h^g,0,x);if((x-g|0)<=1){while(1){g=g-1|0;t[g|0]=48;if((x-g|0)<2){continue}break}}E=g-2|0;t[E|0]=f;t[g-1|0]=(h|0)<0?45:43;f=x-E|0}p=(f+(r+(m+z|0)|0)|0)+1|0;Yc(d,32,k,p,e);Fc(a,A,z);Yc(a,48,c,p,e^65536);n:{o:{p:{if((n|0)==70){d=l+16|8;h=l+16|9;f=i>>>0>s>>>0?s:i;i=f;while(1){g=sg(v[i>>2],0,h);q:{if((f|0)!=(i|0)){if(l+16>>>0>=g>>>0){break q}while(1){g=g-1|0;t[g|0]=48;if(l+16>>>0<g>>>0){continue}break}break q}if((g|0)!=(h|0)){break q}t[l+24|0]=48;g=d}Fc(a,g,h-g|0);i=i+4|0;if(s>>>0>=i>>>0){continue}break}g=0;if(!r){break o}Fc(a,523651,1);if((m|0)<1|i>>>0>=q>>>0){break p}while(1){g=sg(v[i>>2],0,h);if(g>>>0>l+16>>>0){while(1){g=g-1|0;t[g|0]=48;if(l+16>>>0<g>>>0){continue}break}}Fc(a,g,(m|0)<9?m:9);g=m-9|0;i=i+4|0;if(q>>>0<=i>>>0){break o}d=(m|0)>9;m=g;if(d){continue}break}break o}r:{if((m|0)<0){break r}f=i>>>0<q>>>0?q:i+4|0;k=l+16|9;d=l+16|8;h=i;while(1){g=sg(v[h>>2],0,k);if((k|0)==(g|0)){t[l+24|0]=48;g=d}s:{if((h|0)!=(i|0)){if(l+16>>>0>=g>>>0){break s}while(1){g=g-1|0;t[g|0]=48;if(l+16>>>0<g>>>0){continue}break}break s}Fc(a,g,1);g=g+1|0;if(u?0:(m|0)<=0){break s}Fc(a,523651,1)}q=g;g=k-g|0;Fc(a,q,(g|0)<(m|0)?g:m);m=m-g|0;h=h+4|0;if(f>>>0<=h>>>0){break r}if((m|0)>-1){continue}break}}Yc(a,48,m+18|0,18,0);Fc(a,E,x-E|0);break n}g=m}Yc(a,48,g+9|0,9,0)}break b}k=f&32;q=k?A+9|0:A;t:{if(d>>>0>11){break t}g=12-d|0;if(!g){break t}y=8;while(1){y=y*16;g=g-1|0;if(g){continue}break}if(w[q|0]==45){b=-(y+(-b-y));break t}b=b+y-y}g=v[l+44>>2];h=g>>31;g=sg(h^g+h,0,x);if((x|0)==(g|0)){t[l+15|0]=48;g=l+15|0}m=z|2;h=v[l+44>>2];n=g-2|0;t[n|0]=f+15;t[g-1|0]=(h|0)<0?45:43;g=e&8;i=l+16|0;while(1){f=i;s=k;if(D(b)<2147483648){h=~~b}else{h=-2147483648}t[i|0]=s|w[h+523600|0];b=(b-+(h|0))*16;i=f+1|0;if(!(!(g?1:(d|0)>0|b!=0)|(i-(l+16|0)|0)!=1)){t[f+1|0]=46;i=f+2|0}if(b!=0){continue}break}f=a;g=c;if(!d|((i-l|0)-18|0)>=(d|0)){k=(x-(n+(l+16|0)|0)|0)+i|0}else{k=((d+x|0)-n|0)+2|0}p=k+m|0;Yc(f,32,g,p,e);Fc(a,q,m);Yc(a,48,c,p,e^65536);d=i-(l+16|0)|0;Fc(a,l+16|0,d);f=d;d=x-n|0;Yc(a,48,k-(f+d|0)|0,0,0);Fc(a,n,d)}Yc(a,32,c,p,e^8192);Ca=l+560|0;return((c|0)>(p|0)?c:p)|0}function vo(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;d=1;a:{b:{switch(c-1|0){case 0:c:{d:{c=v[b+4>>2];if(c>>>0>a>>>0){break d}e=v[b+8>>2];if(e>>>0<a>>>0|e-a>>>0<2){break d}f=v[b+12>>2];g=f-2|0;v[b+12>>2]=g;if((g|0)<1){break d}e:{f:{g:{g=w[a|0]|w[a+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break e}}d=c;c=a+2|0;if(d>>>0>c>>>0|c>>>0>e>>>0|e-c>>>0<2){break d}d=f-4|0;v[b+12>>2]=d;if((d|0)<1){break d}d=w[a+3|0]|w[a+2|0]<<8;h:{if(!d){break h}if(nc(a+d|0,b)){break h}d=v[b+24>>2];if(d>>>0>31){break d}v[b+24>>2]=d+1;if(!w[b+20|0]){break d}t[c|0]=0;t[c+1|0]=0}a=a+4|0;if(a>>>0<y[b+4>>2]){break d}c=v[b+8>>2];if(c>>>0<a>>>0){break d}d=0;if(c-a>>>0<2){break e}a=v[b+12>>2]-2|0;v[b+12>>2]=a;d=(a|0)>0;break c}d=0;c=a+2|0;i:{if(c>>>0<y[b+4>>2]){break i}e=v[b+8>>2];if(e>>>0<c>>>0|e-c>>>0<2){break i}e=v[b+12>>2]-2|0;v[b+12>>2]=e;if((e|0)<1){break i}e=w[a+3|0]|w[a+2|0]<<8;j:{if(!e){break j}if(nc(a+e|0,b)){break j}e=v[b+24>>2];if(e>>>0>31){break i}v[b+24>>2]=e+1;if(!w[b+20|0]){break i}t[c|0]=0;t[c+1|0]=0}f=v[b+4>>2];e=a+4|0;if(f>>>0>e>>>0){break i}c=v[b+8>>2];if(c>>>0<e>>>0|c-e>>>0<2){break i}e=v[b+12>>2]-2|0;v[b+12>>2]=e;if((e|0)<1){break i}g=w[a+5|0]|w[a+4|0]<<8;if(g){a=a+6|0;if(a>>>0<f>>>0|a>>>0>c>>>0){break i}c=c-a|0;a=g<<1;if(c>>>0<a>>>0){break i}a=e-a|0;v[b+12>>2]=a;if((a|0)<1){break i}}d=1}}break c}d=0}return d;case 1:return uo(a,b);case 2:return uo(a,b);case 3:k:{l:{e=v[b+4>>2];if(e>>>0>a>>>0){break l}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<2){break l}f=v[b+12>>2];g=f-2|0;v[b+12>>2]=g;c=1;if((g|0)<1){break l}m:{if((w[a+1|0]|w[a|0]<<8)!=1){break m}c=a+2|0;if(c>>>0<e>>>0|c>>>0>d>>>0|d-c>>>0<2){break l}d=f-4|0;v[b+12>>2]=d;if((d|0)<1){break l}d=w[a+3|0]|w[a+2|0]<<8;n:{if(!d){break n}if(nc(a+d|0,b)){break n}d=v[b+24>>2];if(d>>>0>31){break l}v[b+24>>2]=d+1;if(!w[b+20|0]){break l}t[c|0]=0;t[c+1|0]=0}f=v[b+4>>2];c=a+4|0;if(f>>>0>c>>>0){break l}d=v[b+8>>2];if(d>>>0<c>>>0|d-c>>>0<2){break l}e=v[b+12>>2]-2|0;v[b+12>>2]=e;c=1;if((e|0)<1){break l}g=w[a+5|0]|w[a+4|0]<<8;if(!g){break m}c=a+6|0;if(c>>>0<f>>>0|c>>>0>d>>>0){break l}d=d-c|0;c=g<<1;if(d>>>0<c>>>0){break l}d=e-c|0;v[b+12>>2]=d;c=0;if((d|0)<1){break m}c=1;n=w[a+5|0]|w[a+4|0]<<8;if(!n){break m}d=0;while(1){h=v[b+4>>2];i=((d<<1)+a|0)+6|0;c=0;o:{if(h>>>0>i>>>0){break o}g=v[b+8>>2];c=0;if(g>>>0<i>>>0){break o}c=0;if(g-i>>>0<2){break o}j=v[b+12>>2];f=j-2|0;v[b+12>>2]=f;e=1;c=0;if((f|0)<1){break o}c=w[i+1|0]|w[i|0]<<8;p:{if(!c){break p}q:{r:{f=a+c|0;if(f>>>0<h>>>0|f>>>0>g>>>0|g-f>>>0<2){break r}c=j-4|0;v[b+12>>2]=c;if((c|0)<1){break r}j=w[f+1|0]|w[f|0]<<8;if(!j){break p}e=f+2|0;if(e>>>0<h>>>0|e>>>0>g>>>0){break r}g=g-e|0;e=j<<1;if(g>>>0<e>>>0){break r}c=c-e|0;v[b+12>>2]=c;e=1;if((c|0)<1){break r}o=w[f+1|0]|w[f|0]<<8;if(!o){break p}j=0;while(1){m=v[b+4>>2];h=(f+(j<<1)|0)+2|0;c=0;s:{if(m>>>0>h>>>0){break s}g=v[b+8>>2];c=0;if(g>>>0<h>>>0){break s}c=0;if(g-h>>>0<2){break s}l=v[b+12>>2];k=l-2|0;v[b+12>>2]=k;e=1;c=0;if((k|0)<1){break s}c=w[h+1|0]|w[h|0]<<8;t:{if(!c){break t}c=c+f|0;u:{if(c>>>0<m>>>0|c>>>0>g>>>0|g-c>>>0<2){break u}e=l-4|0;v[b+12>>2]=e;if((e|0)<1){break u}e=c+2|0;if(e>>>0<m>>>0|e>>>0>g>>>0|g-e>>>0<2){break u}l=l-6|0;v[b+12>>2]=l;e=1;if((l|0)<1){break u}k=w[c+3|0]|w[c+2|0]<<8;if(!k){break t}k=k-1|0;if(k>>>0>2147483646){break u}if(!k){break t}c=c+4|0;if(c>>>0<m>>>0|c>>>0>g>>>0){break u}g=g-c|0;c=k<<1;if(g>>>0<c>>>0){break u}c=l-c|0;v[b+12>>2]=c;if((c|0)>0){break t}}e=v[b+24>>2];c=0;if(e>>>0>31){break s}v[b+24>>2]=e+1;e=0;if(!w[b+20|0]){break t}t[h|0]=0;t[h+1|0]=0;e=1}c=e}if(!c){break r}j=j+1|0;if((o|0)!=(j|0)){continue}break}break q}e=v[b+24>>2];c=0;if(e>>>0>31){break o}v[b+24>>2]=e+1;e=0;if(!w[b+20|0]){break p}t[i|0]=0;t[i+1|0]=0}e=1}c=e}if(!c){break m}d=d+1|0;if((n|0)!=(d|0)){continue}break}}break k}c=0}return c;case 4:return to(a,b);case 5:return so(a,b);case 6:c=0;v:{if(y[b+4>>2]>a>>>0){break v}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<2){break v}d=v[b+12>>2]-2|0;v[b+12>>2]=d;if((d|0)<1){break v}c=1;if((w[a+1|0]|w[a|0]<<8)!=1){break v}c=0;w:{if(y[b+4>>2]>a>>>0){break w}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<8){break w}d=v[b+12>>2]-8|0;v[b+12>>2]=d;if((d|0)<1){break w}d=w[a+3|0]|w[a+2|0]<<8;if((d|0)==7){break w}c=a;a=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=vo(a?c+a|0:280448,b,d)}}return c;case 7:break b;default:break a}}d=0;if(y[b+4>>2]>a>>>0){break a}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<2){break a}c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break a}d=1;if((w[a+1|0]|w[a|0]<<8)!=1){break a}c=Ca-16|0;Ca=c;d=a+2|0;x:{if(d>>>0<y[b+4>>2]){break x}f=v[b+8>>2];if(f>>>0<d>>>0|f-d>>>0<2){break x}f=v[b+12>>2]-2|0;v[b+12>>2]=f;if((f|0)<1){break x}f=w[a+3|0]|w[a+2|0]<<8;y:{if(!f){break y}if(nc(a+f|0,b)){break y}f=v[b+24>>2];if(f>>>0>31){break x}v[b+24>>2]=f+1;if(!w[b+20|0]){break x}t[d|0]=0;t[d+1|0]=0}v[c+12>>2]=a;d=a+4|0;if(!Ug(d,b,c+12|0)){break x}f=w[a+5|0];g=w[a+4|0];v[c+8>>2]=a;a=(d+(f<<1|g<<9)|0)+2|0;if(!Ug(a,b,c+8|0)){break x}g=v[b+4>>2];a=(a+(w[a+1|0]<<1|w[a|0]<<9)|0)+2|0;if(g>>>0>a>>>0){break x}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<2){break x}f=v[b+12>>2]-2|0;v[b+12>>2]=f;if((f|0)<1){break x}i=w[a+1|0]|w[a|0]<<8;if(i){a=a+2|0;if(a>>>0<g>>>0|a>>>0>d>>>0){break x}d=d-a|0;a=i<<1;if(d>>>0<a>>>0){break x}a=f-a|0;v[b+12>>2]=a;if((a|0)<1){break x}}e=1}Ca=c+16|0;d=e}return d}function nm(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,u=0,x=0,y=0,z=0;g=Ca-128|0;Ca=g;d=Ms(a);j=0;a:{if(!d){break a}while(1){b:{h=Wb(d);if(h){j=Xa(h);if(!$a(b,h,j)){break b}continue}qc(d);j=0;break a}j=w[b+j|0];if((j|0)!=0&(j|0)!=47){continue}break}qc(d);h=(Xa(h)+h|0)+1|0;h=Xa(h)+h|0;j=w[h+1|0]?h+1|0:0}k=b;i=Ca-16|0;Ca=i;d=Ms(a);h=0;c:{if(!d){break c}while(1){d:{a=Wb(d);if(a){h=Xa(a);if(!$a(b,a,h)){break d}continue}qc(d);h=0;break c}h=w[b+h|0];if((h|0)!=0&(h|0)!=47){continue}break}qc(d);d=Xa(a)+a|0;d=w[d+1|0]?d+1|0:0;h=0;if(!d){break c}a=Xa(a)+b|0;while(1){h=a;a=h+1|0;if(w[h|0]==47){continue}break}v[i+4>>2]=0;v[i>>2]=h;d=dc(d,i);h=0;if(!d){break c}a=Xa(d);while(1){h=a;if(h){a=h-1|0;if(w[d+a|0]==47){continue}}break}t[d+h|0]=0;h=d}Ca=i+16|0;k=h?k:0;a=h?h:b;if(j){b=Xa(a);e=b;d=Xa(j);i=d+b|0;l=Va(i+1|0);b=Ta(l,a,b);Ta(e+b|0,j,d+1|0);t[b+i|0]=0;k=k?k:a;a=b}v[g+48>>2]=-1732584194;v[g+52>>2]=271733878;v[g+40>>2]=1732584193;v[g+44>>2]=-271733879;i=Xa(a);v[g+60>>2]=i>>>29;e=i<<3;v[g+56>>2]=e;d=g- -64|0;e:{if(i>>>0<64){b=a;break e}b=a;while(1){e=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);f=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);t[d|0]=f;t[d+1|0]=f>>>8;t[d+2|0]=f>>>16;t[d+3|0]=f>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;e=w[b+60|0]|w[b+61|0]<<8|(w[b+62|0]<<16|w[b+63|0]<<24);f=w[b+56|0]|w[b+57|0]<<8|(w[b+58|0]<<16|w[b+59|0]<<24);t[d+56|0]=f;t[d+57|0]=f>>>8;t[d+58|0]=f>>>16;t[d+59|0]=f>>>24;t[d+60|0]=e;t[d+61|0]=e>>>8;t[d+62|0]=e>>>16;t[d+63|0]=e>>>24;e=w[b+52|0]|w[b+53|0]<<8|(w[b+54|0]<<16|w[b+55|0]<<24);f=w[b+48|0]|w[b+49|0]<<8|(w[b+50|0]<<16|w[b+51|0]<<24);t[d+48|0]=f;t[d+49|0]=f>>>8;t[d+50|0]=f>>>16;t[d+51|0]=f>>>24;t[d+52|0]=e;t[d+53|0]=e>>>8;t[d+54|0]=e>>>16;t[d+55|0]=e>>>24;e=w[b+44|0]|w[b+45|0]<<8|(w[b+46|0]<<16|w[b+47|0]<<24);f=w[b+40|0]|w[b+41|0]<<8|(w[b+42|0]<<16|w[b+43|0]<<24);t[d+40|0]=f;t[d+41|0]=f>>>8;t[d+42|0]=f>>>16;t[d+43|0]=f>>>24;t[d+44|0]=e;t[d+45|0]=e>>>8;t[d+46|0]=e>>>16;t[d+47|0]=e>>>24;e=w[b+36|0]|w[b+37|0]<<8|(w[b+38|0]<<16|w[b+39|0]<<24);f=w[b+32|0]|w[b+33|0]<<8|(w[b+34|0]<<16|w[b+35|0]<<24);t[d+32|0]=f;t[d+33|0]=f>>>8;t[d+34|0]=f>>>16;t[d+35|0]=f>>>24;t[d+36|0]=e;t[d+37|0]=e>>>8;t[d+38|0]=e>>>16;t[d+39|0]=e>>>24;e=w[b+28|0]|w[b+29|0]<<8|(w[b+30|0]<<16|w[b+31|0]<<24);f=w[b+24|0]|w[b+25|0]<<8|(w[b+26|0]<<16|w[b+27|0]<<24);t[d+24|0]=f;t[d+25|0]=f>>>8;t[d+26|0]=f>>>16;t[d+27|0]=f>>>24;t[d+28|0]=e;t[d+29|0]=e>>>8;t[d+30|0]=e>>>16;t[d+31|0]=e>>>24;e=w[b+20|0]|w[b+21|0]<<8|(w[b+22|0]<<16|w[b+23|0]<<24);f=w[b+16|0]|w[b+17|0]<<8|(w[b+18|0]<<16|w[b+19|0]<<24);t[d+16|0]=f;t[d+17|0]=f>>>8;t[d+18|0]=f>>>16;t[d+19|0]=f>>>24;t[d+20|0]=e;t[d+21|0]=e>>>8;t[d+22|0]=e>>>16;t[d+23|0]=e>>>24;e=w[b+12|0]|w[b+13|0]<<8|(w[b+14|0]<<16|w[b+15|0]<<24);f=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);t[d+8|0]=f;t[d+9|0]=f>>>8;t[d+10|0]=f>>>16;t[d+11|0]=f>>>24;t[d+12|0]=e;t[d+13|0]=e>>>8;t[d+14|0]=e>>>16;t[d+15|0]=e>>>24;mm(g+40|0,d);b=b- -64|0;i=i+-64|0;if(i>>>0>63){continue}break}e=v[g+56>>2]}b=Ta(d,b,i);d=e>>>3&63;i=d+(g+40|0)|0;t[i+24|0]=128;i=i+25|0;f=d^63;f:{if(f>>>0<=7){Ra(i,0,f);mm(g+40|0,b);v[b+48>>2]=0;v[b+52>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;e=v[g+56>>2];break f}Ra(i,0,55-d|0)}v[g+120>>2]=e;v[g+124>>2]=v[g+60>>2];mm(g+40|0,b);b=w[g+55|0];d=w[g+54|0];i=w[g+53|0];e=w[g+52|0];f=w[g+51|0];m=w[g+50|0];n=w[g+49|0];o=w[g+48|0];p=w[g+47|0];q=w[g+46|0];r=w[g+45|0];s=w[g+44|0];u=w[g+43|0];x=w[g+42|0];y=w[g+41|0];z=w[g+40|0];Ra(g+40|0,0,88);if(l){Pa(l)}t[c+33|0]=0;t[c|0]=47;t[c+32|0]=w[(b&15)+451936|0];t[c+31|0]=w[(b>>>4|0)+451936|0];t[c+30|0]=w[(d&15)+451936|0];t[c+29|0]=w[(d>>>4|0)+451936|0];t[c+28|0]=w[(i&15)+451936|0];t[c+27|0]=w[(i>>>4|0)+451936|0];t[c+26|0]=w[(e&15)+451936|0];t[c+25|0]=w[(e>>>4|0)+451936|0];t[c+24|0]=w[(f&15)+451936|0];t[c+23|0]=w[(f>>>4|0)+451936|0];t[c+22|0]=w[(m&15)+451936|0];t[c+21|0]=w[(m>>>4|0)+451936|0];t[c+20|0]=w[(n&15)+451936|0];t[c+19|0]=w[(n>>>4|0)+451936|0];t[c+18|0]=w[(o&15)+451936|0];t[c+17|0]=w[(o>>>4|0)+451936|0];t[c+16|0]=w[(p&15)+451936|0];t[c+15|0]=w[(p>>>4|0)+451936|0];t[c+14|0]=w[(q&15)+451936|0];t[c+13|0]=w[(q>>>4|0)+451936|0];t[c+12|0]=w[(r&15)+451936|0];t[c+11|0]=w[(r>>>4|0)+451936|0];t[c+10|0]=w[(s&15)+451936|0];t[c+9|0]=w[(s>>>4|0)+451936|0];t[c+8|0]=w[(u&15)+451936|0];t[c+7|0]=w[(u>>>4|0)+451936|0];t[c+6|0]=w[(x&15)+451936|0];t[c+5|0]=w[(x>>>4|0)+451936|0];t[c+4|0]=w[(y&15)+451936|0];t[c+3|0]=w[(y>>>4|0)+451936|0];t[c+2|0]=w[(z&15)+451936|0];t[c+1|0]=w[(z>>>4|0)+451936|0];b=Xa(c)+c|0;d=w[451627]|w[451628]<<8|(w[451629]<<16|w[451630]<<24);i=w[451623]|w[451624]<<8|(w[451625]<<16|w[451626]<<24);t[b|0]=i;t[b+1|0]=i>>>8;t[b+2|0]=i>>>16;t[b+3|0]=i>>>24;t[b+4|0]=d;t[b+5|0]=d>>>8;t[b+6|0]=d>>>16;t[b+7|0]=d>>>24;d=w[451635]|w[451636]<<8|(w[451637]<<16|w[451638]<<24);i=w[451631]|w[451632]<<8|(w[451633]<<16|w[451634]<<24);t[b+8|0]=i;t[b+9|0]=i>>>8;t[b+10|0]=i>>>16;t[b+11|0]=i>>>24;t[b+12|0]=d;t[b+13|0]=d>>>8;t[b+14|0]=d>>>16;t[b+15|0]=d>>>24;if(w[656428]&16){v[g+24>>2]=j?j:451996;v[g+20>>2]=j?451999:451996;v[g+16>>2]=h?451997:451996;v[g>>2]=c;v[g+12>>2]=h?h:451996;v[g+8>>2]=h?451983:451996;v[g+4>>2]=k?k:a;Za(451952,g)}if(h){Pa(h)}Ca=g+128|0}function yp(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;a:{b:{e=v[b+4>>2];if(e>>>0>a>>>0){break b}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<2){break b}h=v[b+12>>2];c=h-2|0;v[b+12>>2]=c;if((c|0)<1|(w[a+1|0]|w[a|0]<<8)>>>0<2){break b}c=a+4|0;if(c>>>0<e>>>0|c>>>0>d>>>0|d-c>>>0<4){break b}c=h-6|0;v[b+12>>2]=c;if((c|0)<1){break b}l=1;c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);j=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!j){break b}m=j-1|0;a=a+8|0;l=0;while(1){if(a>>>0<e>>>0|a>>>0>d>>>0|d-a>>>0<12){break b}f=v[b+12>>2];d=f-12|0;v[b+12>>2]=d;if((d|0)<1){break b}d=v[b+28>>2];c=v[d+12>>2];v[b+4>>2]=c;d=v[d+16>>2];e=d+c|0;v[b+8>>2]=e;c:{d:{if((d|0)>-1){d=k>>>0<m>>>0?a:0;e:{if(!d){d=c;break e}if(!(d>>>0<e>>>0?c>>>0<=d>>>0:0)){v[b+4>>2]=0;v[b+8>>2]=0;e=0;break d}v[b+4>>2]=d;c=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=e-d|0;e=(c>>>0<e>>>0?c:e)+d|0;v[b+8>>2]=e}if(a>>>0>=d>>>0){break d}h=0;break c}break a}h=0;if(a>>>0>e>>>0){break c}e=e-a|0;if(e>>>0<12){break c}c=f-24|0;v[b+12>>2]=c;if((c|0)<1){break c}d=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0<13|d>>>0>e>>>0){break c}d=c-d|0;v[b+12>>2]=d;if((d|0)<1){break c}d=1;f:{g:{h:{i:{switch(w[a+7|0]){case 0:d=0;g=v[b+4>>2];c=a+12|0;if(g>>>0>c>>>0){break h}e=v[b+8>>2];if(e>>>0<c>>>0|e-c>>>0<8){break h}f=v[b+12>>2]-8|0;v[b+12>>2]=f;if((f|0)<1){break h}c=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(i>>>0>715827881){break h}c=1;if(!i){break f}c=a+28|0;if(c>>>0<g>>>0|c>>>0>e>>>0){break h}g=e-c|0;c=B(i,6);if(g>>>0<c>>>0){break h}d=f-c|0;v[b+12>>2]=d;c=(d|0)>0;break f;case 1:d=0;if(y[b+4>>2]>a>>>0){break h}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<32){break h}c=v[b+12>>2]-32|0;v[b+12>>2]=c;if((c|0)<1){break h}break g;case 2:d=0;e=v[b+4>>2];j:{if(e>>>0>a>>>0){break j}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<28){break j}f=v[b+12>>2];i=f-28|0;v[b+12>>2]=i;if((i|0)<1){break j}g=e;e=a+16|0;if(g>>>0>e>>>0|c>>>0<e>>>0|c-e>>>0<4){break j}c=f-32|0;v[b+12>>2]=c;if((c|0)<1){break j}c=t[e|0];if((c|0)<0){break j}k:{if(!qe((w[a+19|0]|(w[a+17|0]<<16|(c&255)<<24|w[a+18|0]<<8))+a|0,b)){break k}c=a+20|0;if(c>>>0<y[b+4>>2]){break k}d=v[b+8>>2];if(d>>>0<c>>>0|d-c>>>0<4){break k}d=v[b+12>>2]-4|0;v[b+12>>2]=d;if((d|0)<1){break k}d=0;c=t[c|0];if((c|0)<0){break j}if(!qe((w[a+23|0]|(w[a+21|0]<<16|(c&255)<<24|w[a+22|0]<<8))+a|0,b)){break k}d=1;c=w[a+24|0]|w[a+25|0]<<8|(w[a+26|0]<<16|w[a+27|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){break j}if(y[b+4>>2]>a>>>0){break k}e=v[b+8>>2];if(e>>>0<a>>>0){break k}d=0;if(c>>>0>e-a>>>0){break j}d=v[b+12>>2]-c|0;v[b+12>>2]=d;d=(d|0)>0;break j}d=0}c=d;break f;case 4:d=0;if(y[b+4>>2]>a>>>0){break h}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<32){break h}c=v[b+12>>2]-32|0;v[b+12>>2]=c;if((c|0)<1){break h}break g;case 6:break i;default:break h}}l:{m:{c=v[b+4>>2];if(c>>>0>a>>>0){break m}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<36){break m}e=v[b+12>>2];f=e-36|0;v[b+12>>2]=f;if((f|0)<1){break m}n:{o:{if(t[a+15|0]&1){g=c;c=a+20|0;if(g>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<4){break m}d=e-40|0;v[b+12>>2]=d;if((d|0)<1){break m}d=0;c=t[c|0];if((c|0)<0){break m}if(!xp((w[a+23|0]|(w[a+21|0]<<16|(c&255)<<24|w[a+22|0]<<8))+a|0,b)){break n}c=a+24|0;if(c>>>0<y[b+4>>2]){break n}e=v[b+8>>2];if(e>>>0<c>>>0|e-c>>>0<4){break n}e=v[b+12>>2]-4|0;v[b+12>>2]=e;if((e|0)<1){break n}c=t[c|0];if((c|0)<0){break n}if(!xp((w[a+27|0]|(w[a+25|0]<<16|(c&255)<<24|w[a+26|0]<<8))+a|0,b)){break m}d=w[a+28|0]|w[a+29|0]<<8|(w[a+30|0]<<16|w[a+31|0]<<24);c=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!c){break o}if(y[b+4>>2]>a>>>0){break m}e=v[b+8>>2];if(e>>>0<a>>>0){break m}d=0;if(c>>>0>e-a>>>0){break n}c=v[b+12>>2]-c|0;v[b+12>>2]=c;if((c|0)>0){break o}break n}g=c;c=a+20|0;if(g>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<4){break m}d=e-40|0;v[b+12>>2]=d;if((d|0)<1){break m}d=0;c=t[c|0];if((c|0)<0){break m}if(!qe((w[a+23|0]|(w[a+21|0]<<16|(c&255)<<24|w[a+22|0]<<8))+a|0,b)){break n}c=a+24|0;if(c>>>0<y[b+4>>2]){break n}e=v[b+8>>2];if(e>>>0<c>>>0|e-c>>>0<4){break n}e=v[b+12>>2]-4|0;v[b+12>>2]=e;if((e|0)<1){break n}c=t[c|0];if((c|0)<0){break n}if(!qe((w[a+27|0]|(w[a+25|0]<<16|(c&255)<<24|w[a+26|0]<<8))+a|0,b)){break m}d=w[a+28|0]|w[a+29|0]<<8|(w[a+30|0]<<16|w[a+31|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break o}if(y[b+4>>2]>a>>>0){break m}c=v[b+8>>2];if(c>>>0<a>>>0|d>>>0>c-a>>>0){break m}c=v[b+12>>2]-d|0;v[b+12>>2]=c;d=0;if((c|0)<1){break n}}d=1;c=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);if(!(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))){break n}c=w[a+32|0]|w[a+33|0]<<8|(w[a+34|0]<<16|w[a+35|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){break n}if(y[b+4>>2]>a>>>0){break m}e=v[b+8>>2];if(e>>>0<a>>>0){break m}d=0;if(c>>>0>e-a>>>0){break n}d=v[b+12>>2]-c|0;v[b+12>>2]=d;d=(d|0)>0}break l}d=0}}c=d;break f}c=Gp(a+12|0,b)}if(!c){break c}d=a;a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);a=d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;h=1}d=v[b+28>>2];e=v[d+12>>2];v[b+4>>2]=e;c=v[d+16>>2];d=c+e|0;v[b+8>>2]=d;p:{if((c|0)>-1){if(h){break p}break b}break a}k=k+1|0;if((k|0)!=(j|0)){continue}break}return 1}return l}O(229360,229385,194,229402);L()}function SM(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;d=Ca-256|0;Ca=d;a:{if(!a){a=6;break a}a=19;m=v[b+8>>2];if(!(m&1)){break a}a=20;i=v[b+4>>2];if(!i){break a}k=u[i+2>>1];if(!k){a=0;break a}j=u[i>>1];if((j|0)<1){a=0;break a}e=v[i+12>>2];if(!e|!v[i+4>>2]|(k|0)!=(u[(e+(j<<1)|0)-2>>1]+1|0)){break a}k=v[b>>2];v[d+224>>2]=v[i+16>>2];a=v[i+12>>2];v[d+216>>2]=v[i+8>>2];v[d+220>>2]=a;a=v[i+4>>2];v[d+208>>2]=v[i>>2];v[d+212>>2]=a;b:{if(m&2){a=v[b+12>>2];if(!a){a=0;break a}v[d+236>>2]=a;v[d+240>>2]=v[b+28>>2];j=v[b+32>>2];v[d+156>>2]=j;e=v[b+36>>2];v[d+164>>2]=e;a=v[b+40>>2];v[d+160>>2]=a;b=v[b+44>>2];f=(e|0)<(b|0);a=(a|0)>(j|0);break b}if(!k){a=6;break a}j=v[k+4>>2];if(!j){a=0;break a}b=v[k>>2];if(!b){a=0;break a}a=6;e=v[k+12>>2];if(!e){break a}a=v[k+8>>2];v[d+232>>2]=a;v[d+236>>2]=0;v[d+240>>2]=0;v[d+164>>2]=0;v[d+156>>2]=0;v[d+228>>2]=(a|0)<0?e:e+B(a,b-1|0)|0;f=(b|0)>0;v[d+160>>2]=j;a=(j|0)>0}v[d+168>>2]=b;if(!a){a=0;break a}a=0;if(!f){break a}l=Ca-16608|0;Ca=l;r=v[d+168>>2];p=v[d+164>>2];q=r-p|0;if(q>>>0>=129){a=q+127>>>7|0;q=((a+q|0)-1>>>0)/(a>>>0)|0}v[d+184>>2]=l+16512;a=(q<<2)+15>>>4|0;v[d+196>>2]=1024-a;o=(l+128|0)+(a<<4)|0;v[d+192>>2]=o;v[d+188>>2]=l+128;v[o>>2]=2147483647;v[o+4>>2]=0;v[o+8>>2]=0;v[o+12>>2]=0;c:{if((p|0)>=(r|0)){break c}while(1){v[l+4>>2]=p;p=p+q|0;f=(p|0)<(r|0)?p:r;v[l>>2]=f;a=0;while(1){b=a+1|0;k=l+(b<<2)|0;s=v[k>>2];i=f-s|0;d:{if((i|0)<1){break d}g=i&3;c=0;if((s^-1)+f>>>0>=3){h=i&-4;while(1){e=c<<2;v[e+v[d+188>>2]>>2]=o;v[v[d+188>>2]+(e|4)>>2]=o;v[v[d+188>>2]+(e|8)>>2]=o;v[v[d+188>>2]+(e|12)>>2]=o;c=c+4|0;h=h-4|0;if(h){continue}break}}if(!g){break d}while(1){v[v[d+188>>2]+(c<<2)>>2]=o;c=c+1|0;g=g-1|0;if(g){continue}break}}v[d+176>>2]=o;v[d+172>>2]=i;v[d+168>>2]=f;v[d+164>>2]=s;v[d+180>>2]=v[d+192>>2]+16;c=0;e=Va(40);v[e>>2]=0;g=Yk(d,1,e,4);m=R()|0;j=d+208|0;e:{f:{while(1){if(c){Pa(g);c=98;break e}g:{h:{i:{j:{if(!n){v[164434]=0;e=Z(642,j|0,299064,d|0)|0;c=v[164434];v[164434]=0;f=-1;if(!c){break g}h=v[164435];if(!h){break g}f=Xf(v[c>>2],g,m);if(f){break j}break f}v[164434]=0;e=v[164434];v[164434]=0;f=-1;if(!e){break h}c=v[164435];if(!c){break h}f=Xf(v[e>>2],g,m);if(f){break i}S(e|0,c|0);L()}P(h|0);break g}P(c|0)}c=R()|0;if((f|0)==1){continue}v[164434]=0;e=Z(642,j|0,299064,d|0)|0;c=v[164434];v[164434]=0;f=-1;k:{if(!c){break k}h=v[164435];if(!h){break k}f=Xf(v[c>>2],g,m);if(!f){break f}P(h|0)}c=R()|0;if((f|0)==1){continue}v[164434]=0;c=v[164434];v[164434]=0;f=-1;l:{if(!c){break l}h=v[164435];if(!h){break l}f=Xf(v[c>>2],g,m);if(!f){break f}P(h|0)}}c=R()|0;if((f|0)==1){continue}break}Pa(g);c=e;break e}S(c|0,h|0);L()}m:{if((c|0)!=98){if(c){break c}i=v[d+224>>2]&2;m=i?256:-2147483648;n:{if(v[d+236>>2]){c=v[d+164>>2];n=c;if(v[d+168>>2]<=(c|0)){break n}while(1){c=v[v[d+188>>2]+(n-c<<2)>>2];b=v[c>>2];o:{if((b|0)==2147483647){break o}h=v[d+156>>2];f=0;g=0;while(1){p:{if(!f|(b|0)<=(h|0)){break p}e=(l+16512|0)+B(g,6)|0;u[e+2>>1]=b-h;u[e>>1]=h;b=f>>9;b=(b&m?-1:0)^b;t[e+4|0]=(b|0)>255?i?b:-1:b;g=g+1|0;if((g|0)!=16){break p}Ea[v[d+236>>2]](n,16,l+16512|0,v[d+240>>2]);g=0}f=(v[c+4>>2]<<9)+f|0;e=f-v[c+8>>2]|0;q:{if(!e){break q}b=v[c>>2];if((b|0)<v[d+156>>2]){break q}j=(l+16512|0)+B(g,6)|0;u[j+2>>1]=1;u[j>>1]=b;b=e>>9;b=(b&m?-1:0)^b;t[j+4|0]=(b|0)>255?i?b:-1:b;g=g+1|0;if((g|0)!=16){break q}Ea[v[d+236>>2]](n,16,l+16512|0,v[d+240>>2]);g=0}h=v[c>>2]+1|0;c=v[c+12>>2];b=v[c>>2];if((b|0)!=2147483647){continue}break}if(f){c=(l+16512|0)+B(g,6)|0;u[c>>1]=h;b=f>>9;b=(b&m?-1:0)^b;t[c+4|0]=(b|0)>255?i?b:-1:b;u[c+2>>1]=v[d+160>>2]-h;g=g+1|0}if(!g){break o}Ea[v[d+236>>2]](n,g,l+16512|0,v[d+240>>2])}n=n+1|0;if((n|0)>=v[d+168>>2]){break n}c=v[d+164>>2];continue}}c=v[d+164>>2];k=c;if(v[d+168>>2]<=(c|0)){break n}while(1){c=v[v[d+188>>2]+(k-c<<2)>>2];b=v[c>>2];r:{if((b|0)==2147483647){break r}j=v[d+228>>2]-B(v[d+232>>2],k)|0;h=v[d+156>>2];g=0;while(1){s:{if(!g|(b|0)<=(h|0)){break s}e=g>>9;e=(e&m?-1:0)^e;e=(e|0)>255?i?e:255:e;f=h+j|0;t:{u:{v:{w:{x:{y:{z:{A:{b=b-h|0;switch(b|0){case 0:break s;case 2:break u;case 3:break v;case 4:break w;case 5:break x;case 6:break y;case 7:break z;case 1:break A;default:break t}}t[f|0]=e;break s}t[f|0]=e;f=f+1|0}t[f|0]=e;f=f+1|0}t[f|0]=e;f=f+1|0}t[f|0]=e;f=f+1|0}t[f|0]=e;f=f+1|0}t[f|0]=e;t[f+1|0]=e;break s}Ra(f,e,b)}g=(v[c+4>>2]<<9)+g|0;e=g-v[c+8>>2]|0;B:{if(!e){break B}b=v[c>>2];if((b|0)<v[d+156>>2]){break B}n=b+j|0;b=e>>9;b=(b&m?-1:0)^b;t[n|0]=(b|0)>255?i?b:-1:b}h=v[c>>2]+1|0;c=v[c+12>>2];b=v[c>>2];if((b|0)!=2147483647){continue}break}if(!g){break r}b=g>>9;b=(b&m?-1:0)^b;e=(b|0)>255?i?b:255:b;c=h+j|0;C:{D:{E:{F:{G:{H:{I:{J:{b=v[d+160>>2]-h|0;switch(b|0){case 0:break r;case 2:break D;case 3:break E;case 4:break F;case 5:break G;case 6:break H;case 7:break I;case 1:break J;default:break C}}t[c|0]=e;break r}t[c|0]=e;c=c+1|0}t[c|0]=e;c=c+1|0}t[c|0]=e;c=c+1|0}t[c|0]=e;c=c+1|0}t[c|0]=e;c=c+1|0}t[c|0]=e;t[c+1|0]=e;break r}Ra(c,e,b)}k=k+1|0;if((k|0)>=v[d+168>>2]){break n}c=v[d+164>>2];continue}}b=a-1|0;break m}a=i>>1;if(!a){c=98;break c}v[k+4>>2]=s;v[k>>2]=a+s}if((b|0)>=0){f=v[l+(b<<2)>>2];n=1;a=b;continue}break}c=0;n=1;if((p|0)<(r|0)){continue}break}}Ca=l+16608|0;a=c}Ca=d+256|0;return a|0}function Cz(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=Ca-48|0;Ca=i;h=2;a:{b:{c:{switch(v[a+796>>2]-1|0){case 0:case 1:if(!v[a+864>>2]){h=142;break a}j=v[v[a+804>>2]+(b<<2)>>2];b=v[a+104>>2];h=Ya(b,v[a+860>>2]);if(h){break a}v[i+4>>2]=b;v[i>>2]=a;b=v[a+84>>2];u[i+16>>1]=0;v[i+12>>2]=g;v[i+8>>2]=b+76;v[i+20>>2]=v[a+860>>2];v[i+24>>2]=v[a+864>>2];b=v[a+788>>2];v[i+36>>2]=b;e=v[a+792>>2];v[i+40>>2]=e+b;h=3;g=B(j,48);if(e>>>0<g+55>>>0){break a}b=b+g|0;g=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);j=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);v[i+28>>2]=j;g=w[b+16|0]|w[b+17|0]<<8|(w[b+18|0]<<16|w[b+19|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);v[i+32>>2]=g;t[i+18|0]=w[b+54|0];if(e>>>0<j>>>0|g>>>0>e-j>>>3>>>0){break a}h=_p(i,c,0,0,0,d>>>22&1);if(h){break a}if(!(d&5242880)){break b}h=0;break a;case 2:break c;default:break a}}b=v[v[a+804>>2]+(b<<2)>>2];d=0;u[g>>1]=0;u[g+2>>1]=0;if(y[a+16>>2]<c>>>0){h=6;break a}b=v[a+788>>2]+(b<<2)|0;b=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);g=b+4|0;while(1){f=v[a+864>>2];if(f>>>0<=b>>>0){h=3;break a}c=c<<2;if(c+12>>>0>f-b>>>0){h=3;break a}h=Ya(e,v[a+860>>2]+(c+g|0)|0);if(h){break a}h=vb(e,8);if(h){break a}c=tc(e);f=tc(e);pb(e);if((c|0)==(f|0)){h=157;break a}if(c>>>0>f>>>0){h=3;break a}j=f-c|0;if(j>>>0<8){h=3;break a}h=3;if(f>>>0>v[a+864>>2]-b>>>0){break a}h=Ya(e,v[a+860>>2]+(b+c|0)|0);if(h){break a}h=vb(e,j);if(h){break a}Cb(e);Cb(e);c=tc(e);if((c|0)!=1685418085){d:{if(!((c|0)==1785751328|(c|0)==1919378028)){h=7;if((c|0)!=1953064550){break d}}h=2}pb(e);break a}if((d|0)==4){h=3;pb(e);break a}c=Cb(e);pb(e);d=d+1|0;if(y[a+16>>2]>=c>>>0){continue}break}h=6;break a}h=0;if(w[f+18|0]!=7){break a}n=v[v[a+84>>2]>>2];b=i;if(b){v[b>>2]=0;v[b+4>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0}m=Ca-16|0;Ca=m;v[m+12>>2]=0;e:{if(!n){b=33;break e}b=6;if(!f|!i){break e}f:{if(w[f+18|0]-1>>>0<=6){g=v[n>>2];t[i+18|0]=2;h=v[i>>2];c=v[f>>2];v[i>>2]=c;v[i+4>>2]=v[f+4>>2];e=v[i+8>>2];d=v[f+4>>2];if((d|0)>=1){eQ(d,0,c,0);if(Da){break e}}b=e>>31;c=Kd(g,1,B(h,b+e^b),B(c,d),v[i+12>>2],m+12|0);v[i+12>>2]=c;b=v[m+12>>2];if(b){break e}v[i+8>>2]=v[i+8>>2]<0?0-d|0:d;break f}v[m+12>>2]=6;c=v[i+12>>2]}e=v[f+12>>2];g=v[f+8>>2];if((g|0)<=-1){e=B(1-v[f>>2]|0,g)+e|0}j=v[i+8>>2];if((j|0)<=-1){c=B(1-v[i>>2]|0,j)+c|0}g:{h:{switch(w[f+18|0]-1|0){case 0:u[i+16>>1]=2;j=v[f>>2];if(!j){break g}while(1){b=c;g=e;d=v[f+4>>2];h=d>>>3|0;if(h){while(1){d=w[g|0];t[b+7|0]=d&1;t[b|0]=d>>>7;t[b+6|0]=d>>>1&1;t[b+5|0]=d>>>2&1;t[b+4|0]=d>>>3&1;t[b+3|0]=d>>>4&1;t[b+2|0]=d>>>5&1;t[b+1|0]=d>>>6&1;g=g+1|0;b=b+8|0;h=h-1|0;if(h){continue}break}d=v[f+4>>2]}d=d&7;i:{if(!d){break i}g=w[g|0];t[b|0]=g>>>7;if((d|0)==1){break i}t[b+1|0]=g>>>6&1;if((d|0)==2){break i}t[b+2|0]=g>>>5&1;if((d|0)==3){break i}t[b+3|0]=g>>>4&1;if((d|0)==4){break i}t[b+4|0]=g>>>3&1;if((d|0)==5){break i}t[b+5|0]=g>>>2&1;if((d|0)==6){break i}t[b+6|0]=g>>>1&1}c=v[i+8>>2]+c|0;e=v[f+8>>2]+e|0;j=j-1|0;if(j){continue}break};break g;case 6:u[i+16>>1]=256;k=v[f>>2];if(!k){break g}while(1){d=c;b=e;h=v[f+4>>2];if(h){while(1){g=d;j=w[b+3|0];if(j){l=w[b+1|0];o=B(B(l,l),46871);l=w[b|0];o=o+B(B(l,l),4732)|0;l=w[b+2|0];j=j-((o+B(B(l,l),13933)>>>16>>>0)/(j>>>0)|0)|0}else{j=0}t[g|0]=j;d=d+1|0;b=b+4|0;h=h-1|0;if(h){continue}break}j=v[i+8>>2];g=v[f+8>>2]}c=c+j|0;e=e+g|0;k=k-1|0;if(k){continue}break};break g;case 3:u[i+16>>1]=16;k=v[f>>2];if(!k){break g}while(1){d=e;b=c;h=v[f+4>>2];g=h>>>1|0;if(g){j=g-1|0;h=g&3;if(h){while(1){l=w[d|0];t[b+1|0]=l&15;t[b|0]=l>>>4;g=g-1|0;b=b+2|0;d=d+1|0;h=h-1|0;if(h){continue}break}}if(j>>>0>=3){while(1){h=w[d|0];t[b+1|0]=h&15;t[b|0]=h>>>4;h=w[d+1|0];t[b+3|0]=h&15;t[b+2|0]=h>>>4;h=w[d+2|0];t[b+5|0]=h&15;t[b+4|0]=h>>>4;h=w[d+3|0];t[b+7|0]=h&15;t[b+6|0]=h>>>4;b=b+8|0;d=d+4|0;g=g-4|0;if(g){continue}break}}h=v[f+4>>2]}if(h&1){t[b|0]=w[d|0]>>>4}c=v[i+8>>2]+c|0;e=v[f+8>>2]+e|0;k=k-1|0;if(k){continue}break};break g;case 2:u[i+16>>1]=4;k=v[f>>2];if(!k){break g}while(1){g=v[f+4>>2];j=g>>>2|0;j:{if(!j){d=e;b=c;break j}h=j;b=c;d=e;if(g&4){b=w[e|0];t[c+3|0]=b&3;t[c|0]=b>>>6;t[c+2|0]=b>>>2&3;t[c+1|0]=b>>>4&3;h=j-1|0;d=e+1|0;b=c+4|0}if((j|0)!=1){while(1){g=w[d|0];t[b+3|0]=g&3;t[b|0]=g>>>6;t[b+2|0]=g>>>2&3;t[b+1|0]=g>>>4&3;g=w[d+1|0];t[b+7|0]=g&3;t[b+4|0]=g>>>6;t[b+6|0]=g>>>2&3;t[b+5|0]=g>>>4&3;b=b+8|0;d=d+2|0;h=h-2|0;if(h){continue}break}}g=v[f+4>>2]}g=g&3;k:{if(!g){break k}d=w[d|0];t[b|0]=d>>>6;if((g|0)==1){break k}t[b+1|0]=d>>>4&3;if((g|0)==2){break k}t[b+2|0]=d>>>2&3}c=v[i+8>>2]+c|0;e=v[f+8>>2]+e|0;k=k-1|0;if(k){continue}break};break g;case 1:case 4:case 5:break h;default:break g}}g=v[f+4>>2];u[i+16>>1]=256;b=v[f>>2];if(!b){break g}if(b&1){c=Ta(c,e,g)+v[i+8>>2]|0;e=v[f+8>>2]+e|0;d=b-1|0}else{d=b}if((b|0)==1){break g}while(1){c=Ta(c,e,g);b=v[f+8>>2]+e|0;c=Ta(c+v[i+8>>2]|0,b,g)+v[i+8>>2]|0;e=b+v[f+8>>2]|0;d=d-2|0;if(d){continue}break}}b=v[m+12>>2]}Ca=m+16|0;h=b;if(b){jq(n,i);break a}t[f+18|0]=w[i+18|0];v[f+8>>2]=v[i+8>>2];u[f+16>>1]=x[i+16>>1];Zk(v[a+84>>2],v[i+12>>2]);a=v[v[a+84>>2]+156>>2];v[a+4>>2]=v[a+4>>2]|1}Ca=i+48|0;return h|0}function _I(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;f=-4;a:{b:{c:{d:{e:{f:{g:{if(b>>>0>=c>>>0){break g}h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{h=a+72|0;switch(w[h+w[b|0]|0]){case 7:break j;case 6:break k;case 5:break l;case 4:break m;case 10:break n;case 9:break o;case 3:break p;case 2:break q;case 0:case 1:case 8:break f;default:break i}}e=b+1|0;i=c-e|0;if((i|0)<1){break e}g=c;r:{s:{switch(w[w[e|0]+h|0]-5|0){case 0:f=-2;if((i|0)<2){break g}if(!(Ea[v[a+340>>2]](a,e)|0)){break d}b=e+2|0;break r;case 1:f=-2;if((i|0)<3){break g}if(!(Ea[v[a+344>>2]](a,e)|0)){break d}b=e+3|0;break r;case 2:f=-2;if((i|0)<4){break g}if(!(Ea[v[a+348>>2]](a,e)|0)){break d}b=e+4|0;break r;case 11:f=-1;e=b+2|0;if((c-e|0)<1){break g}t:{switch(w[w[b+2|0]+h|0]-20|0){case 7:return st(a,b+3|0,c,d)|0;case 0:e=-1;a=b+3|0;if((c-a|0)>=6){u:{v:{if(w[a|0]!=67){break v}if(w[a+1|0]!=68){a=a+1|0;break v}if(w[a+2|0]!=65){a=a+2|0;break v}if(w[a+3|0]!=84){a=a+3|0;break v}if(w[a+4|0]!=65){a=a+4|0;break v}if(w[a+5|0]==91){a=a+6|0;e=8;break u}a=a+5|0}e=0}v[d>>2]=a}return e|0;default:break t}}break d;case 10:return ut(a,b+2|0,c,d)|0;case 12:b=b+2|0;i=c-b|0;if((i|0)<1){break e}g=0;e=c;w:{x:{y:{switch(w[w[b|0]+h|0]-5|0){case 17:case 19:b=b+1|0;break x;case 0:f=-2;if((i|0)<2){break g}if(!(Ea[v[a+340>>2]](a,b)|0)){break c}b=b+2|0;break x;case 1:f=-2;if((i|0)<3){break g}if(!(Ea[v[a+344>>2]](a,b)|0)){break c}b=b+3|0;break x;case 2:break y;default:break w}}f=-2;if((i|0)<4){break g}if(!(Ea[v[a+348>>2]](a,b)|0)){break c}b=b+4|0}f=e-b|0;if((f|0)<1){break e}z:{A:{while(1){e=c;B:{C:{switch(w[w[b|0]+h|0]-5|0){case 0:if((f|0)<2){break b}if(!(Ea[v[a+328>>2]](a,b)|0)){break w}b=b+2|0;break B;case 1:if((f|0)<3){break b}if(!(Ea[v[a+332>>2]](a,b)|0)){break w}b=b+3|0;break B;case 2:if((f|0)<4){break b}if(!(Ea[v[a+336>>2]](a,b)|0)){break w}b=b+4|0;break B;case 4:case 5:case 16:a=b+1|0;if((c-a|0)<1){break e}f=b;while(1){b=a;D:{switch(w[w[f+1|0]+h|0]-9|0){case 2:break A;case 0:case 1:case 12:break D;default:break w}}f=b;a=b+1|0;if((c-a|0)>0){continue}break};break e;case 6:b=b+1|0;break z;case 17:case 18:case 19:case 20:case 21:case 22:break C;default:break w}}b=b+1|0}f=e-b|0;if((f|0)>0){continue}break}break e}b=f+2|0}g=5}v[d>>2]=b;return g|0;case 17:case 19:break s;default:break d}}b=e+1|0}f=g-b|0;if((f|0)<1){break e}e=0;while(1){E:{F:{G:{H:{I:{switch(w[w[b|0]+h|0]-5|0){case 0:if((f|0)<2){break b}if(!(Ea[v[a+328>>2]](a,b)|0)){break c}b=b+2|0;break E;case 1:if((f|0)<3){break b}if(!(Ea[v[a+332>>2]](a,b)|0)){break c}b=b+3|0;break E;case 2:if((f|0)<4){break b}if(!(Ea[v[a+336>>2]](a,b)|0)){break c}b=b+4|0;break E;case 18:if(e){break c}e=b+1|0;f=c-e|0;if((f|0)<1){break e}J:{K:{switch(w[w[e|0]+h|0]-5|0){case 17:case 19:e=1;b=b+2|0;break E;case 0:if((f|0)<2){break b}if(!(Ea[v[a+340>>2]](a,e)|0)){break J}e=1;b=b+3|0;break E;case 1:if((f|0)<3){break b}if(!(Ea[v[a+344>>2]](a,e)|0)){break J}e=1;b=b+4|0;break E;case 2:break K;default:break J}}if((f|0)<4){break b}if(!(Ea[v[a+348>>2]](a,e)|0)){break J}e=1;b=b+5|0;break E}break d;case 17:case 19:case 20:case 21:case 22:break F;case 12:break G;case 6:break H;case 4:case 5:case 16:break I;default:break c}}f=b+1|0;g=c-f|0;if((g|0)<1){break e}e=b;L:{while(1){b=f;M:{switch(w[w[e+1|0]+h|0]-5|0){case 0:f=-2;if((g|0)<2){break g}if(!(Ea[v[a+340>>2]](a,b)|0)){break c}return Ui(a,e+3|0,c,d)|0;case 1:f=-2;if((g|0)<3){break g}if(!(Ea[v[a+344>>2]](a,b)|0)){break c}return Ui(a,e+4|0,c,d)|0;case 2:f=-2;if((g|0)<4){break g}if(!(Ea[v[a+348>>2]](a,b)|0)){break c}return Ui(a,e+5|0,c,d)|0;case 12:break G;case 6:break H;case 17:case 19:break L;case 4:case 5:case 16:break M;default:break c}}e=b;f=b+1|0;g=c-f|0;if((g|0)>0){continue}break}break e}return Ui(a,e+2|0,c,d)|0}v[d>>2]=b+1;return 2}f=-1;a=b+1|0;if((c-a|0)<1){break g}if(w[b+1|0]!=62){v[d>>2]=a;break a}v[d>>2]=b+2;return 4}b=b+1|0}f=g-b|0;if((f|0)>0){continue}break}break e}return Ti(a,b+1|0,c,d)|0}a=b+1|0;if((c-a|0)<1){return-3}v[d>>2]=w[w[b+1|0]+h|0]==10?b+2|0:a;return 7}v[d>>2]=b+1;return 7}f=-5;e=b+1|0;if((c-e|0)<1){break g}if(w[e|0]!=93){break h}g=b+2|0;if((c-g|0)<1){break g}if(w[b+2|0]!=62){break h}v[d>>2]=g;break a}f=-2;if((c-b|0)<2){break g}if(Ea[v[a+352>>2]](a,b)|0){break f}e=b+2|0;break h}f=-2;if((c-b|0)<3){break g}if(Ea[v[a+356>>2]](a,b)|0){break f}e=b+3|0;break h}f=-2;if((c-b|0)<4){break g}if(Ea[v[a+360>>2]](a,b)|0){break f}e=b+4|0;break h}e=b+1|0}N:{O:{f=c-e|0;P:{if((f|0)<1){b=e;break P}while(1){Q:{R:{switch(w[w[e|0]+h|0]){case 5:if((f|0)<2){break O}if(Ea[v[a+352>>2]](a,e)|0){break O}b=e+2|0;break Q;case 6:if((f|0)<3){break O}if(Ea[v[a+356>>2]](a,e)|0){break O}b=e+3|0;break Q;case 7:if((f|0)<4){break O}if(Ea[v[a+360>>2]](a,e)|0){break O}b=e+4|0;break Q;case 4:if((f|0)<2){break O}b=e+1|0;if(w[e+1|0]!=93){break Q}if((f|0)<3){break O}if(w[e+2|0]!=62){break Q}v[d>>2]=e+2;break a;case 0:case 1:case 2:case 3:case 8:case 9:case 10:break O;default:break R}}b=e+1|0}e=b;f=c-b|0;if((f|0)>0){continue}break}}v[d>>2]=b;break N}v[d>>2]=e}f=6}return f|0}v[d>>2]=b;break a}return-1}v[d>>2]=e;break a}v[d>>2]=b;break a}return-2}return 0}function Tk(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,u=0,x=0,z=0,A=0,B=0,C=0;k=Ca-32|0;Ca=k;r=v[a>>2];g=Ca-48|0;Ca=g;f=v[b+20>>2];a:{b:{if(f){h=85;if(Ea[f|0](b,c,0,0)|0){break a}f=v[b+4>>2];break b}h=85;f=v[b+4>>2];if(f>>>0<c>>>0){break a}}v[b+8>>2]=c;if(c>>>0>=f>>>0){break a}i=v[b+20>>2];c:{if(i){f=Ea[i|0](b,c,g+16|0,16)|0;break c}f=f-c|0;f=f>>>0<16?f:16;Ta(g+16|0,v[b>>2]+c|0,f)}v[b+8>>2]=c+f;if(f>>>0<16){break a}f=t[g+16|0];if((f|0)<0){h=2;break a}i=t[g+20|0];if((i|0)<0){h=2;break a}j=t[g+24|0];if((j|0)<0){h=2;break a}l=t[g+28|0];if((l|0)<0){h=2;break a}f=w[g+19|0]|(w[g+17|0]<<16|(f&255)<<24|w[g+18|0]<<8);v[k+16>>2]=f;i=w[g+23|0]|(w[g+21|0]<<16|(i&255)<<24|w[g+22|0]<<8);if(!i){h=2;break a}m=w[g+31|0];l=m|(w[g+29|0]<<16|(l&255)<<24|w[g+30|0]<<8);j=w[g+27|0]|(w[g+25|0]<<16|(j&255)<<24|w[g+26|0]<<8);d:{if((f|0)<(i|0)){if((f|0)<=(i-j|0)){break d}h=2;break a}if((i|0)<=(f-l|0)){break d}h=2;break a}if((f|0)>(j^2147483647)){h=2;break a}if(i>>>0>(l^2147483647)>>>0){h=2;break a}if((2147483647-(f+j|0)|0)<(c|0)){h=2;break a}if((i+l^2147483647)<(c|0)){h=2;break a}f=c+f|0;s=f+j|0;j=v[b+4>>2];if(s>>>0>j>>>0){h=2;break a}c=c+i|0;if(j>>>0<c+l>>>0){h=2;break a}v[k+16>>2]=f;f=v[b+20>>2];e:{if(f){if(Ea[f|0](b,c,0,0)|0){break a}m=w[g+31|0];break e}if(c>>>0>y[b+4>>2]){break a}}v[b+8>>2]=c;t[g+15|0]=m+1;h=Vb(b,g,16);if(h){break a}x=w[g|0];z=w[g+1|0];A=w[g+2|0];B=w[g+3|0];C=w[g+4|0];s=w[g+5|0];q=w[g+6|0];o=w[g+7|0];p=w[g+8|0];n=w[g+9|0];h=w[g+10|0];f=w[g+11|0];i=w[g+12|0];l=w[g+13|0];j=w[g+15|0];m=w[g+14|0];if(!(!(x|(z|(A|(B|(C|(s|(q|(o|(p|(n|(h|(f|(i|(l|(j|m)))))))))))))))|w[g+31|0]==(j|0)&w[g+30|0]==(m|0)&w[g+29|0]==(l|0)&w[g+28|0]==(i|0)&w[g+27|0]==(f|0)&w[g+26|0]==(h|0)&(n|0)==w[g+25|0]&(p|0)==w[g+24|0]&(o|0)==w[g+23|0]&(q|0)==w[g+22|0]&(s|0)==w[g+21|0]&(C|0)==w[g+20|0]&(B|0)==w[g+19|0]&(A|0)==w[g+18|0]&(z|0)==w[g+17|0]&(x|0)==w[g+16|0])){h=2;break a}h=v[b+8>>2]+8|0;i=v[b+20>>2];f:{g:{if(i){f=85;if(!(Ea[i|0](b,h,0,0)|0)){break g}break f}f=85;if(h>>>0>y[b+4>>2]){break f}}v[b+8>>2]=h;f=0}v[g+44>>2]=f;f=kb(b,g+44|0);h=v[g+44>>2];if(h){break a}h=2;f=f<<16>>16;if((f|0)<0){break a}c=c+f|0;f=v[b+20>>2];h:{if(f){h=85;if(!(Ea[f|0](b,c,0,0)|0)){break h}break a}h=85;if(c>>>0>y[b+4>>2]){break a}}v[b+8>>2]=c;v[k+20>>2]=c;h=0}Ca=g+48|0;c=h;i:{if(c){break i}c=1;j:{k:{l:{h=v[k+20>>2];f=v[k+16>>2];if(!Ir(a,b,h,f,1347375956,1,k+12|0,k+8|0)){p=v[k+12>>2];m:{if(d+1>>>0<=1){q=v[k+8>>2];if((q|0)>=1){break m}c=10}d=c;if(p){break k}break i}o=v[a>>2];h=0;n:{while(1){c=v[p+(h<<2)>>2];d=v[b+20>>2];o:{if(d){if(Ea[d|0](b,c,0,0)|0){break n}d=v[b+4>>2];break o}d=v[b+4>>2];if(d>>>0<c>>>0){break n}}v[b+8>>2]=c;if(c+3>>>0>=d>>>0){break n}p:{q:{d=v[b+20>>2];r:{if(d){if((Ea[d|0](b,c,k+28|0,4)|0)!=4){break n}c=v[b+8>>2];d=k+28|0;break r}d=v[b>>2];if(!d){break q}d=c+d|0}d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[b+8>>2]=c+4;c=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(c>>>0<=16777215){break p}d=9;break k}v[b+8>>2]=c+4;c=0}f=u+6|0;d=9;if(f>>>0>16777215-c>>>0){break k}u=c+f|0;h=h+1|0;if((q|0)!=(h|0)){continue}break}n=u+2|0;d=10;if(n>>>0<=5){break k}d=6;if((n|0)<1){break k}j=Ea[v[o+4>>2]](o,n)|0;d=64;if(!j){break k}t[j+2|0]=0;t[j+3|0]=0;t[j+4|0]=0;t[j+5|0]=0;t[j|0]=128;t[j+1|0]=1;m=2;h=6;c=0;l=1;d=0;while(1){f=v[p+(d<<2)>>2];g=v[b+20>>2];s:{if(g){if(!(Ea[g|0](b,f,0,0)|0)){break s}break l}if(f>>>0>y[b+4>>2]){break l}}v[b+8>>2]=f;v[k+24>>2]=0;f=Ob(b,k+24|0);if(v[k+24>>2]|(f|0)<0){break l}g=kb(b,k+24|0);if(v[k+24>>2]){break l}g=g>>>8|0;t:{if(g){i=f-2|0;i=f>>>0<i>>>0?0:i;u:{if((g|0)==(l|0)){f=h;c=c+i|0;break u}l=m+3|0;if(l>>>0>n>>>0){break l}f=j+m|0;t[f|0]=c;t[f+2|0]=c>>>16;t[f+1|0]=c>>>8;t[j+l|0]=c>>>24;if((g|0)==5){break t}f=h+6|0;if(n>>>0<f>>>0){break l}l=h+j|0;t[l|0]=128;m=h+2|0;c=j+m|0;t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[l+1|0]=g;l=g;c=i}if(f>>>0>u>>>0){break l}h=f+i|0;if(u>>>0<h>>>0){break l}f=Vb(b,f+j|0,i);v[k+24>>2]=f;if(f){break l}}d=d+1|0;if((q|0)!=(d|0)){continue}}break}d=h+2|0;if(d>>>0>n>>>0){break l}b=h+j|0;t[b|0]=128;t[b+1|0]=3;h=m+3|0;if(h>>>0>n>>>0){break l}b=j+m|0;t[b|0]=c;t[b+2|0]=c>>>16;t[b+1|0]=c>>>8;t[h+j|0]=c>>>24;d=Fk(a,j,d,0,4428,e);break k}d=85;break k}c=Ir(a,b,h,f,1936092788,0,k+12|0,k+8|0);if(c){break i}i=v[k+12>>2];h=v[k+8>>2];c=(d|0)%(h|0)|0;l=c>>31^c;v:{if((h|0)>(l|0)){g=v[a>>2];d=v[i+(l<<2)>>2];f=v[b+20>>2];w:{if(f){c=85;if(!(Ea[f|0](b,d,0,0)|0)){break w}break v}c=85;if(d>>>0>y[b+4>>2]){break v}}v[b+8>>2]=d;v[k+28>>2]=0;f=Ob(b,k+28|0);c=v[k+28>>2];if(c){break v}c=1;if((f|0)<1){break v}c=9;if(f>>>0>16777215){break v}if(!Wr(a,b,l,e)){c=0;break v}d=d+4|0;l=v[b+20>>2];x:{if(l){c=85;if(!(Ea[l|0](b,d,0,0)|0)){break x}break v}c=85;if(d>>>0>y[b+4>>2]){break v}}v[b+8>>2]=d;d=Ea[v[g+4>>2]](g,f)|0;if(!d){c=64;break v}c=Vb(b,d,f);if(c){Ea[v[g+8>>2]](g,d);break v}c=Fk(a,d,f,0,(f|0)>=5?(w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24))==1330926671?4434:4256:4256,e);break v}c=1;if(!i){break i}}Ea[v[r+8>>2]](r,i);if(c){break i}break j}Ea[v[o+8>>2]](o,j);d=1}Ea[v[r+8>>2]](r,p);c=d;if(c){break i}h=1}v[v[e>>2]>>2]=h;c=0}Ca=k+32|0;return c}function hi(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,z=0,A=0;e=Ca-1488|0;Ca=e;h=v[a+4>>2];n=v[h+556>>2];q=v[n+40>>2];a:{b:{c:{i=v[h+712>>2];if(v[i+1504>>2]==65535){break c}f=v[i+1192>>2];if(!f){break c}if(!c){c=0;break b}g=6;if(y[i+1196>>2]<c>>>0){break a}c=x[f+(c<<1)>>1];if(c){break b}break a}g=6;if(y[i+20>>2]<=c>>>0){break a}}v[a+164>>2]=65536;v[a+168>>2]=65536;l=d&1024?d|3:d;d:{e:{if(!b){break e}v[a+164>>2]=v[b+16>>2];v[a+168>>2]=v[b+20>>2];j=v[b+44>>2];if((j|0)==-1){break e}f=v[b>>2];d=v[f+540>>2];if(!v[d+96>>2]|l&8){break e}if(Ea[v[d+72>>2]](h,j,c,l,v[f+104>>2],a+76|0,e+704|0)|0){break e}v[a+108>>2]=0;v[a+24>>2]=x[e+706>>1]<<6;v[a+28>>2]=x[e+704>>1]<<6;k=u[e+708>>1];v[a+32>>2]=k<<6;j=u[e+710>>1];v[a+36>>2]=j<<6;v[a+40>>2]=x[e+712>>1]<<6;f=u[e+714>>1];v[a+44>>2]=f<<6;b=u[e+716>>1];v[a+48>>2]=b<<6;d=x[e+718>>1];g=b;b=l&16;v[a+104>>2]=b?g:j;v[a+100>>2]=b?f:k;v[a+72>>2]=1651078259;v[a+52>>2]=d<<6;Ea[v[v[h+540>>2]+156>>2]](h,0,c,e+32|0,e+48|0);v[a+56>>2]=x[e+48>>1];if(!(!w[h+292|0]|!x[h+330>>1])){Ea[v[v[h+540>>2]+156>>2]](h,1,c,e+32|0,e+48|0);v[a+60>>2]=x[e+48>>1];break d}if(x[h+372>>1]!=65535){v[a+60>>2]=u[h+442>>1]-u[h+444>>1];break d}v[a+60>>2]=u[h+220>>1]-u[h+222>>1];break d}g=6;if(l&16384){break a}k=v[i+2024>>2];f:{if(k){g=0;f=v[i+3060>>2];g:{if(!f){break g}h:{switch(w[i+3052|0]){case 0:g=w[c+f|0];break g;case 3:break h;default:break g}}if(y[i+3072>>2]>c-v[i+3068>>2]>>>0){g=w[i+3076|0];break g}g=f+2|0;d=w[f+1|0]|w[f|0]<<8;j=f+v[i+3064>>2]|0;while(1){if(c>>>0>=d>>>0){f=w[g+2|0]|w[g+1|0]<<8;if(f>>>0>c>>>0){g=w[g|0];t[i+3076|0]=g;v[i+3072>>2]=f-d;v[i+3068>>2]=d;break g}d=f;g=g+3|0;if(j>>>0>g>>>0){continue}}break}g=0}f=(i+(((k>>>0>(g&255)>>>0?g:k-1|0)&255)<<2)|0)+2028|0;m=v[f>>2];k=v[m+68>>2];j=v[i+1440>>2];d=v[m+60>>2];v[e+40>>2]=v[m+56>>2];v[e+44>>2]=d;d=v[m+52>>2];v[e+32>>2]=v[m+48>>2];v[e+36>>2]=d;d=v[f>>2];o=v[d+72>>2];p=v[d+76>>2];if((j|0)==(k|0)){break f}z=a,A=fb(v[a+164>>2],j,k),v[z+164>>2]=A;z=a,A=fb(v[a+168>>2],j,k),v[z+168>>2]=A;s=1;break f}f=i+1428|0;d=v[f+4>>2];v[e+40>>2]=v[f>>2];v[e+44>>2]=d;f=i+1420|0;d=v[f+4>>2];v[e+32>>2]=v[f>>2];v[e+36>>2]=d;p=v[i+1448>>2];o=v[i+1444>>2]}v[a+108>>2]=0;v[a+72>>2]=1869968492;m=l&1;t[a+161|0]=!m;r=(l>>>1^-1)&1;t[a+160|0]=r;Ea[v[q>>2]](e+704|0,h,b,a,r,l>>>16&15,134,135);if(l&256){t[e+1297|0]=1}k=l&1024;t[e+770|0]=k>>>10;d=v[v[h+128>>2]+52>>2];i:{if(d){g=Ea[v[v[d>>2]>>2]](v[d+4>>2],c,e+48|0)|0;v[e+28>>2]=v[e+48>>2];v[e+24>>2]=v[e+52>>2];break i}g=gi(v[h+712>>2]+1204|0,c,e+28|0,e+24|0)}if(g){break a}g=Ea[v[q+4>>2]](e+704|0,b,c)|0;if(g){break a}Ea[v[n+24>>2]](e+48|0,e+704|0,0);f=v[e+24>>2];g=Ea[v[q+8>>2]](e+48|0,v[e+28>>2],f)|0;if((g&255)==164){t[a+160|0]=0;r=0;g=Ea[v[q+8>>2]](e+48|0,v[e+28>>2],f)|0;s=1}d=v[v[h+128>>2]+52>>2];j:{if(d){v[e+12>>2]=f;v[e+8>>2]=v[e+28>>2];Ea[v[v[d>>2]+4>>2]](v[d+4>>2],e+8|0);break j}d=v[h+712>>2];if(v[d+1236>>2]){break j}Qb(v[d+1204>>2],e+28|0)}if(g){break a}g=0;d=a;k:{if(v[v[h+128>>2]+52>>2]){f=0}else{j=v[i+1232>>2];if(!j){break k}g=(v[i+1236>>2]+v[j+(c<<2)>>2]|0)-1|0}v[d+140>>2]=f;v[a+136>>2]=g}Ea[v[e+784>>2]](e+704|0);j=v[v[h+128>>2]+52>>2];l:{if(!j){break l}f=v[v[j>>2]+8>>2];if(!f){break l}v[e+12>>2]=0;v[e+8>>2]=v[e+736>>2];d=v[e+748>>2];v[e+16>>2]=v[e+744>>2];v[e+20>>2]=d;g=Ea[f|0](v[j+4>>2],c,0,e+8|0)|0;v[e+736>>2]=v[e+8>>2];d=v[e+20>>2];v[e+744>>2]=v[e+16>>2];v[e+748>>2]=d;if(g){break a}}if(k){v[a+32>>2]=v[e+736>>2];v[a+40>>2]=v[e+1288>>2];f=v[e+40>>2];d=v[e+44>>2];c=v[e+32>>2];b=v[e+36>>2];a=v[a+156>>2];v[a+28>>2]=o;v[a+32>>2]=p;t[a+8|0]=1;v[a+20>>2]=f;v[a+24>>2]=d;v[a+12>>2]=c;v[a+16>>2]=b;break d}m:{if(x[h+250>>1]){u[e+8>>1]=0;u[e+28>>1]=0;Ea[v[v[h+540>>2]+156>>2]](h,0,c,e+8|0,e+28|0);d=x[e+28>>1];v[a+32>>2]=u[e+8>>1];break m}d=v[e+1288>>2]}v[a+56>>2]=d;v[a+40>>2]=d;t[v[a+156>>2]+8|0]=0;n:{if(!(!w[h+292|0]|!x[h+330>>1])){u[e+8>>1]=0;u[e+28>>1]=0;Ea[v[v[h+540>>2]+156>>2]](h,1,c,e+8|0,e+28|0);v[a+48>>2]=u[e+8>>1];d=x[e+28>>1];v[a+52>>2]=d;f=1;break n}o:{if(x[h+372>>1]!=65535){d=u[h+442>>1]-u[h+444>>1]|0;v[a+52>>2]=d;break o}d=u[h+220>>1]-u[h+222>>1]|0;v[a+52>>2]=d}f=0}v[a+72>>2]=1869968492;v[a+60>>2]=d;n=a+108|0;v[a+124>>2]=b?x[b+14>>1]<24?260:4:4;p:{if(!(v[e+36>>2]|(v[e+32>>2]!=65536|v[e+44>>2]!=65536))){if(!v[e+40>>2]){break p}}ee(n,e+32|0);z=a,A=Qa(v[a+40>>2],v[e+32>>2]),v[z+40>>2]=A;z=a,A=Qa(v[a+52>>2],v[e+44>>2]),v[z+52>>2]=A}if(o|p){ic(n,o,p);v[a+40>>2]=v[a+40>>2]+o;v[a+52>>2]=v[a+52>>2]+p}if(!(s?0:m)){d=v[a+112>>2];k=v[a+168>>2];j=v[a+164>>2];q:{if(v[e+772>>2]?r:0){break q}b=u[a+110>>1];if((b|0)<1){break q}c=b&65535;while(1){z=d,A=Qa(v[d>>2],j),v[z>>2]=A;z=d,A=Qa(v[d+4>>2],k),v[z+4>>2]=A;d=d+8|0;b=(c|0)>1;c=c-1|0;if(b){continue}break}}z=a,A=Qa(v[a+40>>2],j),v[z+40>>2]=A;z=a,A=Qa(v[a+52>>2],k),v[z+52>>2]=A}pf(n,e+8|0);d=v[e+8>>2];v[a+24>>2]=v[e+16>>2]-d;c=v[e+12>>2];b=v[e+20>>2];v[a+36>>2]=b;v[a+32>>2]=d;v[a+28>>2]=b-c;if(f){v[a+44>>2]=d+(v[a+40>>2]/-2|0);z=a,A=Qa(v[a+48>>2],v[a+168>>2]),v[z+48>>2]=A;break d}if(!(l&16)){break d}pg(a+24|0,v[a+52>>2])}g=0}Ca=e+1488|0;return g}function gg(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,y=0,z=0,A=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;g=Ca-48|0;Ca=g;M=v[a>>2];C=v[a+40>>2];d=v[a+36>>2];h=v[v[a+2748>>2]+40>>2];t[g+39|0]=0;t[g+40|0]=0;t[g+41|0]=0;t[g+42|0]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;v[g+8>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g>>2]=0;v[g+4>>2]=0;e=B(b,1348)+a|0;s=e;v[e+44>>2]=0;e=v[e+68>>2];I=(h>>>0)/14|0;c=v[a+28>>2];h=v[a+24>>2];f=c+B(h,40)|0;a:{if(!b){if((h|0)<1){break a}while(1){v[c+24>>2]=u[c+12>>1];v[c+28>>2]=u[c+14>>1];c=c+40|0;if(f>>>0>c>>>0){continue}break}break a}if((h|0)<1){break a}while(1){v[c+24>>2]=u[c+14>>1];v[c+28>>2]=u[c+12>>1];c=c+40|0;if(f>>>0>c>>>0){continue}break}}D=B(b,1348)+a|0;y=D;b:{c:{if((d|0)<1){break c}P=(d<<2)+C|0;J=D+72|0;a=e>>31;A=a+e^a;N=A;d=0;d:while(1){z=v[C>>2];c=v[z+36>>2];b=t[c+3|0];a=b>>31;b=(a^a+b)&255;e:{if((b|0)!=(A|0)){break e}e=t[z+3|0];a=e>>31;if(((a^a+e)&255)!=(A|0)){break e}if((b|0)==(A|0)){while(1){if((c|0)==(z|0)){break e}c=v[c+36>>2];b=t[c+3|0];a=b>>31;if(((a^a+b)&255)==(A|0)){continue}break}}z=v[c+32>>2]}n=0;i=-32e3;b=32e3;c=z;r=1;h=32e3;j=-32e3;q=0;l=32e3;m=-32e3;O=0;f=0;o=32e3;p=-32e3;E=32e3;F=-32e3;K=0;L=0;G=32e3;H=-32e3;while(1){f:{g:{if(!r){e=v[c+24>>2];k=(e|0)>(i|0);a=v[c+28>>2];if((a|0)<(h|0)){n=x[c>>1];h=a}i=k?e:i;b=(b|0)>(e|0)?e:b;e=x[c>>1];k=e&3;m=k?m:(a|0)>(m|0)?a:m;l=k?l:(a|0)<(l|0)?a:l;k=e;e=(a|0)>(j|0);q=e?k:q;j=e?a:j;h:{if(t[c+3|0]!=(N|0)){break h}a=0;if((c|0)==(z|0)){break h}break g}i:{if(f){a=v[d+36>>2];if((a|0)==v[f+40>>2]){break i}}v[d+40>>2]=c;u[d+4>>1]=i-b>>>1;u[d+2>>1]=b+i>>>1;if(!(!((n|q)&3)|(m-l|0)>=(I|0))){t[d|0]=w[d|0]|1}u[d+8>>1]=j;u[d+6>>1]=h;u[d+10>>1]=j-h;e=0;a=1;o=b;p=i;E=h;F=j;K=n;L=q;G=l;H=m;break f}j:{if(w[a+2|0]==w[c+2|0]){v[f+40>>2]=c;a=(j|0)<(F|0);j=a?F:j;u[f+8>>1]=j;d=(h|0)>(E|0);h=d?E:h;u[f+6>>1]=h;u[f+10>>1]=j-h;i=(i|0)<(p|0)?p:i;b=(b|0)>(o|0)?o:b;u[f+4>>1]=i-b>>>1;u[f+2>>1]=b+i>>>1;n=d?K:n;q=a?L:q;m=(m|0)<(H|0)?H:m;l=(l|0)>(G|0)?G:l;t[f|0]=w[f|0]&254|((n|q)&3)!=0&(m-l|0)<(I|0);break j}r=F-E|0;a=r>>31;e=j-h|0;k=e>>31;if((a^a+r)>>>0>(k^e+k)>>>0){v[f+40>>2]=c;p=(i|0)>(p|0)?i:p;o=(b|0)<(o|0)?b:o;u[f+4>>1]=p-o>>>1;u[f+2>>1]=o+p>>>1;break j}v[d+40>>2]=c;i=(i|0)<(p|0)?p:i;b=(b|0)>(o|0)?o:b;u[d+4>>1]=i-b>>>1;u[d+2>>1]=b+i>>>1;if(!(!((n|q)&3)|(m-l|0)>=(I|0))){t[d|0]=w[d|0]|1}u[d+10>>1]=e;u[d+6>>1]=h;u[d+8>>1]=j;v[f+40>>2]=v[d+40>>2];a=v[d+36>>2];v[f+32>>2]=v[d+32>>2];v[f+36>>2]=a;a=v[d+28>>2];v[f+24>>2]=v[d+24>>2];v[f+28>>2]=a;a=v[d+20>>2];v[f+16>>2]=v[d+16>>2];v[f+20>>2]=a;a=v[d+4>>2];v[f>>2]=v[d>>2];v[f+4>>2]=a;a=v[d+12>>2];v[f+8>>2]=v[d+8>>2];v[f+12>>2]=a;o=b;p=i;E=h;F=j;K=n;L=q;G=l;H=m}v[s+44>>2]=v[s+44>>2]-1;d=0}a=1}e=d;d=f}k:{l:{if((c|0)==(z|0)){f=O;O=1;if(f){break l}}if(!a){r=0;c=v[c+32>>2];f=d;d=e;continue}k=t[c+3|0];a=k>>31;if(!((a^a+k)==(A|0)|v[c+36>>2]==(c|0))){c=v[c+32>>2];f=d;d=e;r=1;continue}a=v[s+44>>2];if((a|0)>=1001){h=0;v[s+44>>2]=0;break b}v[g+44>>2]=0;m:{if((a|0)<=17){if(v[y+52>>2]){break m}v[y+52>>2]=J;v[D+48>>2]=18;break m}b=v[D+48>>2];if((b|0)>(a|0)){break m}if((b|0)>48806445){h=64;break b}a=(b+(b>>2)|0)+4|0;a=(b|0)<-16?48806446:(a|0)>48806446?48806446:a;e=v[y+52>>2];n:{if((e|0)==(J|0)){b=Ua(M,44,0,a,0,g+44|0);v[y+52>>2]=b;h=v[g+44>>2];if(h){break b}Ta(b,J,792);break n}Q=y,R=Ua(M,44,b,a,e,g+44|0),v[Q+52>>2]=R;h=v[g+44>>2];if(h){break b}}v[D+48>>2]=a;a=v[s+44>>2]}b=v[y+52>>2];v[s+44>>2]=a+1;a=b+B(a,44)|0;t[a|0]=0;b=v[g+20>>2];e=v[g+16>>2];t[a+1|0]=e;t[a+2|0]=e>>>8;t[a+3|0]=e>>>16;t[a+4|0]=e>>>24;t[a+5|0]=b;t[a+6|0]=b>>>8;t[a+7|0]=b>>>16;t[a+8|0]=b>>>24;b=v[g+28>>2];e=v[g+24>>2];t[a+9|0]=e;t[a+10|0]=e>>>8;t[a+11|0]=e>>>16;t[a+12|0]=e>>>24;t[a+13|0]=b;t[a+14|0]=b>>>8;t[a+15|0]=b>>>16;t[a+16|0]=b>>>24;b=v[g+36>>2];e=v[g+32>>2];t[a+17|0]=e;t[a+18|0]=e>>>8;t[a+19|0]=e>>>16;t[a+20|0]=e>>>24;t[a+21|0]=b;t[a+22|0]=b>>>8;t[a+23|0]=b>>>16;t[a+24|0]=b>>>24;b=w[g+39|0]|w[g+40|0]<<8|(w[g+41|0]<<16|w[g+42|0]<<24);t[a+24|0]=b;t[a+25|0]=b>>>8;t[a+26|0]=b>>>16;t[a+27|0]=b>>>24;v[a+28>>2]=32e3;v[a+40>>2]=v[g+8>>2];b=v[g+4>>2];v[a+32>>2]=v[g>>2];v[a+36>>2]=b;t[a+1|0]=k;v[a+40>>2]=c;v[a+36>>2]=c;f=d?a-44|0:0;h=v[c+28>>2];n=x[c>>1];d=n&3;m=d?-32e3:h;l=d?32e3:h;b=v[c+24>>2];if(v[c+36>>2]!=(c|0)){r=0;c=v[c+32>>2];d=a;break k}u[a+2>>1]=b;if(d){t[a|0]=1}d=0;u[a+10>>1]=0;u[a+8>>1]=h;u[a+6>>1]=h;c=v[c+32>>2];r=1;break k}d=e;C=C+4|0;if(P>>>0>C>>>0){continue d}break c}i=b;j=h;q=n;N=k;continue}}}h=0;c=v[y+52>>2];if(!c){break b}a=v[s+44>>2];if((a|0)<1){break b}f=B(a,44)+c|0;while(1){b=v[c+36>>2];a=v[v[b+36>>2]+28>>2];b=v[b+28>>2];e=v[c+40>>2];d=v[e+28>>2];o:{p:{if((b|0)<(d|0)){if((a|0)<(b|0)){u[c+10>>1]=x[c+10>>1]+(b-a>>>1|0)}a=v[v[e+32>>2]+28>>2];if((a|0)<=(d|0)){break o}a=a-d|0;break p}if((a|0)>(b|0)){u[c+10>>1]=x[c+10>>1]+(a-b>>>1|0)}a=v[v[e+32>>2]+28>>2];if((a|0)>=(d|0)){break o}a=d-a|0}u[c+10>>1]=x[c+10>>1]+(a>>>1|0)}c=c+44|0;if(f>>>0>c>>>0){continue}break}}Ca=g+48|0;return h}function fl(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,C=0;h=Ca-80|0;Ca=h;v[h+76>>2]=b;z=h+55|0;s=h+56|0;b=0;a:while(1){b:{if((q|0)<0){break b}if((2147483647-q|0)<(b|0)){v[164114]=61;q=-1;break b}q=b+q|0}c:{d:{e:{f:{g:{h:{i:{m=h;j:{k:{l:{n=v[h+76>>2];b=n;i=w[b|0];if(i){while(1){m:{i=i&255;n:{if(!i){i=b;break n}if((i|0)!=37){break m}i=b;while(1){if(w[b+1|0]!=37){break n}j=b+2|0;v[h+76>>2]=j;i=i+1|0;k=w[b+2|0];b=j;if((k|0)==37){continue}break}}b=i-n|0;if(a){Fc(a,n,b)}if(b){continue a}b=v[h+76>>2];if(w[b+2|0]!=36|t[v[h+76>>2]+1|0]-48>>>0>=10){break l}r=t[b+1|0]-48|0;y=1;b=b+3|0;break k}j=b+1|0;v[h+76>>2]=j;i=w[b+1|0];b=j;continue}}o=q;if(a){break d}if(!y){break j}b=1;while(1){a=v[(b<<2)+e>>2];if(a){ns((b<<3)+d|0,a,c,g);o=1;b=b+1|0;if((b|0)!=10){continue}break d}break}o=1;if(b>>>0>=10){break d}while(1){if(v[(b<<2)+e>>2]){break e}b=b+1|0;if((b|0)!=10){continue}break}break d}r=-1;b=b+1|0}v[m+76>>2]=b;m=0;k=t[b|0];i=k-32|0;o:{if(i>>>0>31){break o}i=1<<i;if(!(i&75913)){break o}while(1){p:{j=b+1|0;v[h+76>>2]=j;k=t[b+1|0];b=k-32|0;if(b>>>0>=32){break p}b=1<<b;if(!(b&75913)){break p}i=b|i;b=j;continue}break}b=j;m=i}q:{if((k|0)==42){j=h;r:{s:{if(t[b+1|0]-48>>>0>=10){break s}b=v[h+76>>2];if(w[b+2|0]!=36){break s}v[((t[b+1|0]<<2)+e|0)-192>>2]=10;p=v[((t[b+1|0]<<3)+d|0)-384>>2];y=1;b=b+3|0;break r}if(y){break e}y=0;p=0;if(a){b=v[c>>2];v[c>>2]=b+4;p=v[b>>2]}b=v[h+76>>2]+1|0}v[j+76>>2]=b;if((p|0)>-1){break q}p=0-p|0;m=m|8192;break q}p=ms(h+76|0);if((p|0)<0){break e}b=v[h+76>>2]}l=-1;t:{if(w[b|0]!=46){break t}if(w[b+1|0]==42){u:{if(t[b+2|0]-48>>>0>=10){break u}b=v[h+76>>2];if(w[b+3|0]!=36){break u}v[((t[b+2|0]<<2)+e|0)-192>>2]=10;l=v[((t[b+2|0]<<3)+d|0)-384>>2];b=b+4|0;v[h+76>>2]=b;break t}if(y){break e}if(a){b=v[c>>2];v[c>>2]=b+4;l=v[b>>2]}else{l=0}b=v[h+76>>2]+2|0;v[h+76>>2]=b;break t}v[h+76>>2]=b+1;l=ms(h+76|0);b=v[h+76>>2]}i=0;while(1){x=i;o=-1;if(t[b|0]-65>>>0>57){break d}k=b+1|0;v[h+76>>2]=k;i=t[b|0];b=k;i=w[(i+B(x,58)|0)+523071|0];if(i-1>>>0<8){continue}break}if((i|0)==19){break h}if(!i){break d}if((r|0)>=0){v[(r<<2)+e>>2]=i;b=(r<<3)+d|0;i=v[b+4>>2];v[h+64>>2]=v[b>>2];v[h+68>>2]=i;break g}if(a){break i}}o=0;break d}ns(h- -64|0,i,c,g);k=v[h+76>>2];break f}if((r|0)>-1){break d}}b=0;if(!a){continue}}j=m&-65537;i=m&8192?j:m;o=0;r=523112;m=s;v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{b=t[k-1|0];b=x?(b&15)==3?b&-33:b:b;switch(b-88|0){case 11:break v;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 c;case 9:case 13:case 14:case 15:break w;case 27:break B;case 12:case 17:break E;case 23:break F;case 0:case 32:break G;case 24:break H;case 22:break I;case 29:break J;default:break K}}L:{switch(b-65|0){case 1:case 3:break c;case 0:case 4:case 5:case 6:break w;case 2:break z;default:break L}}if((b|0)==83){break A}break c}k=v[h+64>>2];j=v[h+68>>2];r=523112;break D}b=0;M:{switch(x&255){case 0:v[v[h+64>>2]>>2]=q;continue;case 1:v[v[h+64>>2]>>2]=q;continue;case 2:i=v[h+64>>2];v[i>>2]=q;v[i+4>>2]=q>>31;continue;case 3:u[v[h+64>>2]>>1]=q;continue;case 4:t[v[h+64>>2]]=q;continue;case 6:v[v[h+64>>2]>>2]=q;continue;case 7:break M;default:continue}}i=v[h+64>>2];v[i>>2]=q;v[i+4>>2]=q>>31;continue}l=l>>>0>8?l:8;i=i|8;b=120}n=s;C=b&32;x=v[h+68>>2];j=x;k=v[h+64>>2];if(j|k){while(1){n=n-1|0;t[n|0]=C|w[(k&15)+523600|0];x=j;j=j>>>4|0;k=(x&15)<<28|k>>>4;if(k|j){continue}break}}if(!(v[h+64>>2]|v[h+68>>2])|!(i&8)){break C}r=(b>>>4|0)+523112|0;o=2;break C}b=s;n=v[h+68>>2];j=n;k=v[h+64>>2];if(j|k){while(1){b=b-1|0;t[b|0]=k&7|48;n=j;j=j>>>3|0;k=(n&7)<<29|k>>>3;if(k|j){continue}break}}n=b;if(!(i&8)){break C}b=s-n|0;l=(b|0)<(l|0)?l:b+1|0;break C}b=v[h+68>>2];j=b;k=v[h+64>>2];if((b|0)<-1?1:(b|0)<=-1){j=0-(j+((k|0)!=0)|0)|0;k=0-k|0;v[h+64>>2]=k;v[h+68>>2]=j;o=1;r=523112;break D}if(i&2048){o=1;r=523113;break D}o=i&1;r=o?523114:523112}n=sg(k,j,s)}i=(l|0)>-1?i&-65537:i;b=v[h+68>>2];j=b;k=v[h+64>>2];if(!(l|((k|0)!=0|(b|0)!=0))){l=0;n=s;break c}b=!(j|k)+(s-n|0)|0;l=(b|0)<(l|0)?l:b;break c}b=v[h+64>>2];n=b?b:523122;b=we(n,0,l);m=b?b:l+n|0;i=j;l=b?b-n|0:l;break c}m=v[h+64>>2];if(l){break y}b=0;Yc(a,32,p,0,i);break x}v[h+12>>2]=0;v[h+8>>2]=v[h+64>>2];v[h+64>>2]=h+8;l=-1;m=h+8|0}b=0;N:{while(1){j=v[m>>2];if(!j){break N}j=Ai(h+4|0,j);n=(j|0)<0;if(!(n|j>>>0>l-b>>>0)){m=m+4|0;b=b+j|0;if(l>>>0>b>>>0){continue}break N}break}o=-1;if(n){break d}}Yc(a,32,p,b,i);if(!b){b=0;break x}m=0;k=v[h+64>>2];while(1){j=v[k>>2];if(!j){break x}j=Ai(h+4|0,j);m=j+m|0;if((m|0)>(b|0)){break x}Fc(a,h+4|0,j);k=k+4|0;if(b>>>0>m>>>0){continue}break}}Yc(a,32,p,b,i^8192);b=(b|0)<(p|0)?p:b;continue}b=Ea[f|0](a,A[h+64>>3],p,l,i,b)|0;continue}t[h+55|0]=v[h+64>>2];l=1;n=z;i=j;break c}o=-1}Ca=h+80|0;return o}m=m-n|0;k=(l|0)<(m|0)?m:l;j=k+o|0;b=(j|0)>(p|0)?j:p;Yc(a,32,b,j,i);Fc(a,r,o);Yc(a,48,b,j,i^65536);Yc(a,48,k,m,0);Fc(a,n,m);Yc(a,32,b,j,i^8192);continue}}function $I(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;a:{i=-4;b:{if(b>>>0>=c>>>0){break b}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{h=a+72|0;switch(w[h+w[b|0]|0]-2|0){case 3:break j;case 17:break k;case 9:break l;case 34:break m;case 30:break n;case 29:break o;case 2:break p;case 18:break q;case 33:break r;case 28:break s;case 8:case 19:break t;case 7:break u;case 0:break v;case 11:break w;case 10:break x;case 20:case 22:break e;case 21:case 23:case 24:case 25:break g;case 5:break h;case 4:break i;default:break f}}return vt(12,a,b+1|0,c,d)|0}return vt(13,a,b+1|0,c,d)|0}f=b+1|0;if((c-f|0)<1){return-1}y:{e=w[h+w[b+1|0]|0];if(e>>>0>29){break y}if(!(1<<e&557842656)){if((e|0)!=15){if((e|0)!=16){break y}f=-1;b=b+2|0;z:{A:{if((c-b|0)<1){break A}B:{C:{D:{E:{F:{h=a+72|0;switch(w[h+w[b|0]|0]-20|0){case 2:case 4:break D;case 0:break E;case 7:break F;default:break C}}f=st(a,b+1|0,c,d);break z}v[d>>2]=b+1;f=33;break z}a=b+1|0;e=c-a|0;if((e|0)<=0){break A}while(1){G:{g=w[h+w[b+1|0]|0];if(g>>>0>30){break G}if(!(1<<g&20971520)){H:{if(1<<g&2098688){break H}if((g|0)!=30){break G}if((e|0)<2){break A}b=w[h+w[b+2|0]|0];if(b>>>0>30){break H}if(1<<b&1075840512){break G}}v[d>>2]=a;f=16;break z}b=a;a=b+1|0;e=c-a|0;if((e|0)>0){continue}break A}break}v[d>>2]=a;break B}v[d>>2]=b}f=0}}return f|0}return ut(a,b+2|0,c,d)|0}v[d>>2]=b;return 29}v[d>>2]=f;return 0}if((b+1|0)!=(c|0)){break t}v[d>>2]=c;return-15}a=d;e=b+1|0;f=c-e|0;if((f|0)>=1){f=(b+f|0)+1|0;while(1){I:{J:{switch(w[h+w[b+1|0]|0]-9|0){case 0:if((b+2|0)!=(c|0)){break I}break;case 1:case 12:break I;default:break J}}v[d>>2]=e;return 15}b=e;e=b+1|0;if((c-e|0)>0){continue}break}e=f}v[a>>2]=e;return 15}return tt(a,b+1|0,c,d)|0}v[d>>2]=b+1;return 38}v[d>>2]=b+1;return 25}a=b+1|0;c=c-a|0;if((c|0)<1){return-26}K:{if(w[b+1|0]!=93){break K}i=-1;if((c|0)<2){break b}if(w[b+2|0]!=62){break K}v[d>>2]=b+3;return 34}v[d>>2]=a;return 26}v[d>>2]=b+1;return 23}a=b+1|0;if((c-a|0)<1){return-24}L:{switch(w[h+w[b+1|0]|0]-9|0){case 24:v[d>>2]=b+2;return 36;case 6:v[d>>2]=b+2;return 35;case 25:v[d>>2]=b+2;return 37;case 0:case 1:case 2:case 12:case 23:case 26:case 27:v[d>>2]=a;return 24;default:break L}}v[d>>2]=a;return 0}v[d>>2]=b+1;return 21}v[d>>2]=b+1;return 17}b=b+1|0;e=c-b|0;if((e|0)<1){return-1}M:{N:{g=c;O:{P:{switch(w[h+w[b|0]|0]-5|0){case 17:case 19:b=b+1|0;break O;case 0:i=-2;if((e|0)<2){break b}if(!(Ea[v[a+340>>2]](a,b)|0)){break N}b=b+2|0;break O;case 1:i=-2;if((e|0)<3){break b}if(!(Ea[v[a+344>>2]](a,b)|0)){break N}b=b+3|0;break O;case 2:break P;default:break M}}i=-2;if((e|0)<4){break b}if(!(Ea[v[a+348>>2]](a,b)|0)){break N}b=b+4|0}e=g-b|0;if((e|0)<1){return-20}while(1){f=20;g=c;Q:{R:{switch(w[h+w[b|0]|0]-5|0){case 17:case 19:case 20:case 21:case 22:b=b+1|0;break Q;case 0:if((e|0)<2){break a}if(!(Ea[v[a+328>>2]](a,b)|0)){break N}b=b+2|0;break Q;case 1:if((e|0)<3){break a}if(!(Ea[v[a+332>>2]](a,b)|0)){break N}b=b+3|0;break Q;case 4:case 5:case 6:case 16:case 25:case 27:case 31:break M;case 2:break R;default:break N}}if((e|0)<4){break a}if(!(Ea[v[a+336>>2]](a,b)|0)){break N}b=b+4|0}e=g-b|0;if((e|0)>0){continue}break}return-20}f=0}v[d>>2]=b;return f|0}if((c-b|0)<2){break a}f=b+2|0;if(Ea[v[a+340>>2]](a,b)|0){break d}if(!(Ea[v[a+328>>2]](a,b)|0)){break f}b=b+2|0;f=19;break c}if((c-b|0)<3){break a}f=b+3|0;if(Ea[v[a+344>>2]](a,b)|0){break d}if(!(Ea[v[a+332>>2]](a,b)|0)){break f}b=b+3|0;f=19;break c}if((c-b|0)<4){break a}f=b+4|0;if(Ea[v[a+348>>2]](a,b)|0){break d}if(!(Ea[v[a+336>>2]](a,b)|0)){break f}b=b+4|0;f=19;break c}b=b+1|0;f=19;break c}v[d>>2]=b;return 0}f=b+1|0}b=f;f=18}e=c-b|0;if((e|0)>=1){while(1){S:{T:{U:{V:{switch(w[h+w[b|0]|0]-5|0){case 0:if((e|0)<2){break a}if(!(Ea[v[a+328>>2]](a,b)|0)){break U}e=b+2|0;break S;case 1:if((e|0)<3){break a}if(!(Ea[v[a+332>>2]](a,b)|0)){break U}e=b+3|0;break S;case 2:if((e|0)<4){break a}if(!(Ea[v[a+336>>2]](a,b)|0)){break U}e=b+4|0;break S;case 4:case 5:case 6:case 15:case 16:case 25:case 27:case 30:case 31:v[d>>2]=b;return f|0;case 18:e=b+1|0;if((f|0)!=41){if((f|0)!=18){break S}g=c-e|0;if((g|0)<1){return-1}f=19;W:{X:{Y:{switch(w[h+w[e|0]|0]-5|0){case 17:case 19:case 20:case 21:case 22:e=b+2|0;f=41;break S;case 0:if((g|0)<2){break a}if(!(Ea[v[a+328>>2]](a,e)|0)){break X}e=b+3|0;f=41;break S;case 1:if((g|0)<3){break a}if(!(Ea[v[a+332>>2]](a,e)|0)){break X}e=b+4|0;f=41;break S;case 24:break X;case 2:break Y;default:break S}}if((g|0)<4){break a}if(Ea[v[a+336>>2]](a,e)|0){break W}}v[d>>2]=e;return 0}e=b+5|0;f=41;break S}f=19;break S;case 29:if((f|0)==19){break U}v[d>>2]=b+1;return 32;case 28:if((f|0)==19){break U}v[d>>2]=b+1;return 31;case 17:case 19:case 20:case 21:case 22:break T;case 10:break V;default:break U}}if((f|0)==19){break U}v[d>>2]=b+1;return 30}v[d>>2]=b;return 0}e=b+1|0}b=e;e=c-b|0;if((e|0)>0){continue}break}}i=0-f|0}return i|0}return-2}function fd(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;g=35;a:{if(!a|!v[a+88>>2]){break a}d=v[a+84>>2];if(!d){break a}b:{c:{g=v[d+156>>2];if(!g){break c}f=v[g+4>>2];if(!(f&1)){break c}e=v[d+88>>2];if(e){g=v[v[d+4>>2]+100>>2];Ea[v[g+8>>2]](g,e);g=v[d+156>>2];f=v[g+4>>2]}v[d+88>>2]=0;v[g+4>>2]=f&-2;break b}v[d+88>>2]=0}v[d+12>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+100>>2]=0;v[d+104>>2]=0;t[d+94|0]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;e=d- -64|0;v[e>>2]=0;v[e+4>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;v[d+108>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[d+120>>2]=0;v[d+124>>2]=0;v[d+128>>2]=0;v[d+132>>2]=0;v[d+136>>2]=0;v[d+140>>2]=0;v[d+144>>2]=0;v[d+148>>2]=0;v[d+152>>2]=0;d:{e:{c=c&1024?c|2049:c;c=c&1?c&-15|10:c;i=c&4194304?c&-5:c;h=i&2;e=v[a+96>>2];g=v[v[e+4>>2]+160>>2];if(h|!g|i&32768){break e}c=v[a+8>>2];if((c&8193)!=1){break e}f:{if(i&2048){break f}j=v[a+128>>2];f=v[j>>2];if(!v[j+8>>2]){if(f){break f}break e}if(f){break e}}g:{if(i&32){break g}f=v[e>>2];if(!(w[f+1|0]&4)){break g}if(rb(Ea[v[f+32>>2]](e,4178)|0,4190)){c=v[e+28>>2]==1}else{c=0}if(!(c|(w[v[e>>2]+1|0]&8)>>>3|(i&983040)!=65536)){c=v[a+8>>2];break g}c=v[a+8>>2];if(!(c&8)|!v[a+760>>2]|(x[a+286>>1]|v[a+684>>2])){break e}if(v[a+692>>2]){break e}}h:{if(!(c&2)|i&8){break h}if(Ea[v[v[e+12>>2]+72>>2]](d,v[a+88>>2],b,i|16384)|0){break h}c=0;if(v[d+72>>2]==1651078259){break d}}e=v[a+128>>2];f=v[e+24>>2];v[e+24>>2]=0;c=Ea[v[v[v[g>>2]+20>>2]+12>>2]](g,d,v[a+88>>2],b,i)|0;v[e+24>>2]=f;break d}g=Ea[v[v[e+12>>2]+72>>2]](d,v[a+88>>2],b,i)|0;if(g){break a}c=0;if(v[d+72>>2]!=1869968492){break d}e=u[d+110>>1];j=u[d+108>>1];if((e|j)&65535){g=6;if((e|0)<1|(j|0)<1){break a}l=v[d+120>>2];f=-1;while(1){m=f;f=u[l+(k<<1)>>1];if((m|0)>=(f|0)|(e|0)<=(f|0)){break a}k=k+1|0;if((j|0)!=(k|0)){continue}break}if((e-1|0)!=(f|0)){break a}}if(h){break d}i:{if(i>>>4&1){v[d+32>>2]=v[d+32>>2]&-64;e=v[d+44>>2];g=e&-64;v[d+44>>2]=g;f=v[d+48>>2];h=f&-64;v[d+48>>2]=h;v[d+36>>2]=v[d+36>>2]+63&-64;v[d+24>>2]=((e+v[d+24>>2]|0)+63&-64)-g;v[d+28>>2]=((f+v[d+28>>2]|0)+63&-64)-h;break i}v[d+44>>2]=v[d+44>>2]&-64;v[d+48>>2]=v[d+48>>2]&-64;e=v[d+32>>2];g=e&-64;v[d+32>>2]=g;f=v[d+36>>2];h=f+63&-64;v[d+36>>2]=h;v[d+28>>2]=h-(f-v[d+28>>2]&-64);v[d+24>>2]=((e+v[d+24>>2]|0)+63&-64)-g}v[d+40>>2]=v[d+40>>2]+32&-64;v[d+52>>2]=v[d+52>>2]+32&-64}j:{if(i&16){f=0;e=v[d+52>>2];break j}f=v[d+40>>2];e=0}v[d+64>>2]=f;v[d+68>>2]=e;if(!(!(t[a+8|0]&1)|i&8192)){e=v[a+88>>2];n=d,o=fb(v[d+56>>2],v[e+16>>2],64),v[n+56>>2]=o;n=d,o=fb(v[d+60>>2],v[e+20>>2],64),v[n+60>>2]=o}e=c;k:{if(i&2048){break k}j=v[a+128>>2];h=v[j+24>>2];e=c;if(!h){break k}l:{m:{a=v[v[v[d+4>>2]+96>>2]+4>>2];g=v[a+156>>2];n:{if(!g){f=v[d+72>>2];break n}f=v[d+72>>2];if((f|0)==v[g+16>>2]){break m}}a=v[a+148>>2];if(a){while(1){g=v[a+8>>2];if(v[g+16>>2]==(f|0)){break m}a=v[a+4>>2];if(a){continue}break}}e=c;if((f|0)!=1869968492){break l}if(h&1){ee(d+108|0,j);h=v[j+24>>2]}if(!(h&2)){break l}f=u[d+110>>1];if((f|0)<1){break l}h=v[j+20>>2];k=v[j+16>>2];a=v[d+112>>2];g=1;while(1){v[a>>2]=k+v[a>>2];v[a+4>>2]=h+v[a+4>>2];e=c;if((f|0)<=(g&65535)){break l}a=a+8|0;g=g+1|0;continue}}e=Ea[v[v[g+12>>2]+44>>2]](g,d,j,j+16|0)|0}Ri(d- -64|0,j)}g=e;v[d+12>>2]=b;v[v[d+156>>2]+40>>2]=i;if(g){break a}g=0;if(i&1){break a}a=v[d+72>>2];if((a|0)==1651078259|(a|0)==1668246896){break a}a=i>>>16&15;h=a?a:i>>>11&2;if(i&4){a=v[d+4>>2];if(!a){return 6}g=v[v[a+96>>2]+4>>2];e=Ca-32|0;Ca=e;o:{p:{if(!(w[v[d+156>>2]+42|0]&16)){break p}a=v[d+4>>2];b=v[d+12>>2];v[e+24>>2]=0;if(!(w[a+8|0]&8)|(!a|b>>>0>=y[a+16>>2])){break p}c=v[v[a+540>>2]+132>>2];if(!c){break p}if(!(Ea[c|0](a,b,e+12|0,e+8|0,e+16|0)|0)){break p}if(!Wk(a,0)){c=v[a+540>>2];q:{while(1){if(fd(a,v[e+12>>2],v[v[d+156>>2]+40>>2]&-1048581|4)){break q}if(Ea[v[c+152>>2]](a,v[e+8>>2],d,v[a+84>>2])|0){break q}r:{if(!(w[a+8|0]&8)|b>>>0>=y[a+16>>2]){break r}f=v[v[a+540>>2]+132>>2];if(!f){break r}if(Ea[f|0](a,b,e+12|0,e+8|0,e+16|0)|0){continue}}break}v[d+72>>2]=1651078259;si(v[a+84>>2]);b=0;break o}si(v[a+84>>2])}v[d+72>>2]=1869968492}a=v[d+72>>2];s:{if((a|0)!=1869968492){b=7;if(!g){break o}f=v[g+148>>2];if(!f){break o}while(1){c=v[f+8>>2];if((a|0)==v[c+16>>2]){break s}f=v[f+4>>2];if(f){continue}break}break o}c=v[g+156>>2];if(!c){b=7;break o}f=v[g+148>>2]}b=0;c=Ea[v[c+60>>2]](c,d,h,0)|0;if(!c){break o}g=g+148|0;while(1){t:{u:{if((c&255)!=19){break u}f=v[(f?f+4|0:g)>>2];if(!f){break u}b=v[d+72>>2];while(1){a=v[f+8>>2];if((b|0)==v[a+16>>2]){break t}f=v[f+4>>2];if(f){continue}break}}b=c;break o}b=0;c=Ea[v[a+60>>2]](a,d,h,0)|0;if(c){continue}break}}Ca=e+32|0;return b}Qi(d,h,0)}return g}function JP(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=C(0),n=0,o=0,p=0,q=0,r=0;f=Ca+-64|0;Ca=f;g=d;d=v[a+72>>2];q=g,r=(Ea[v[d+168>>2]](a,v[a+76>>2],c,v[d+32>>2])|0)/2|0,v[q>>2]=r;h=Ca-48|0;Ca=h;n=b+60|0;d=v[n>>2];a:{if(d){break a}p=n-60|0;while(1){d=v[p>>2];if(!d){d=280448;break a}v[h+16>>2]=0;v[h+20>>2]=0;t[h+21|0]=0;t[h+22|0]=0;t[h+23|0]=0;t[h+24|0]=0;t[h+25|0]=0;t[h+26|0]=0;t[h+27|0]=0;t[h+28|0]=0;v[h+32>>2]=0;v[h+36>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;g=Nb(d);t[h+44|0]=1;v[h+40>>2]=g;d=Jb(d,1448038983);i=Hb(d);t[h+28|0]=0;v[h+36>>2]=i;k=v[i+12>>2];v[h+12>>2]=k;l=v[i+16>>2];v[h+16>>2]=l+k;b:{if((l|0)>-1){v[h+32>>2]=0;j=h;if(l>>>0>67108862){g=1073741823}else{g=l<<6;g=g>>>0>16384?g:16384;g=g>>>0<1073741823?g:1073741823}v[j+20>>2]=g;v[h+8>>2]=0;if(!k){Sa(i);v[h+36>>2]=0;v[h+12>>2]=0;v[h+16>>2]=0;break b}c:{d:{if(l>>>0<8){break d}v[h+20>>2]=g-8;if((l&-2)==6|(w[k+1|0]|w[k|0]<<8)!=1){break d}g=g-10|0;v[h+20>>2]=g;j=w[k+7|0]|w[k+6|0]<<8;if(!j){break c}j=j<<2;if(j>>>0>l-8>>>0){break d}g=g-j|0;v[h+20>>2]=g;if((g|0)>0){break c}}Sa(i);v[h+36>>2]=0;v[h+12>>2]=0;v[h+16>>2]=0;Sa(d);d=280448;break b}Sa(i);v[h+36>>2]=0;v[h+12>>2]=0;v[h+16>>2]=0;if(v[d+4>>2]){v[d+4>>2]=0}break b}O(248800,248825,194,248842);L()}g=d;if(!g){g=280448}d=v[n>>2];if(!d){v[n>>2]=g;d=g;break a}if(g){if((g|0)!=280448){Sa(g)}d=v[n>>2]}if(!d){continue}break}}Ca=h+48|0;g=y[d+16>>2]<8?280448:v[d+12>>2];d=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);e:{if(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)){f:{g:{j=w[g+7|0]|w[g+6|0]<<8;if(j){d=j-1|0;b=0;while(1){h=b+d>>>1|0;i=g+(h<<2)|0;i=w[i+8|0]<<8|w[i+9|0];h:{if(i>>>0>c>>>0){d=h-1|0;break h}if((c|0)==(i|0)){break g}b=h+1|0}if((b|0)<=(d|0)){continue}break}}d=g+5|0;b=g+4|0;break f}b=h>>>0<j>>>0?(g+(h<<2)|0)+8|0:280448;d=b+3|0;b=b+2|0}c=v[a+40>>2];g=v[a+44>>2];b=(w[d|0]|w[b|0]<<8)<<16;a=b>>31;a=eQ(c,g,b>>16,a);v[e>>2]=(Da&65535)<<16|a>>>16;break e}v[f+56>>2]=0;v[f+60>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;if(Bx(Uh(b+48|0),a,c,f+48|0)){h=Gn(b+44|0);g=v[h+4>>2];i:{j:{if(g>>>0>c>>>0){b=v[h+12>>2];d=(c|0)<0?280448:v[(b?b:280448)+12>>2]+(c<<2)|0;b=d+3|0;g=d+2|0;d=v[h>>2];break j}d=v[h>>2];b=0;if(d>>>0<=c>>>0){break i}b=v[h+12>>2];g=(c-g<<1)+((g|0)<0?280448:v[(b?b:280448)+12>>2]+(g<<2)|0)|0;b=g+1|0}b=(w[b|0]|w[g|0]<<8)<<16>>16}k:{if(c>>>0>=d>>>0){break k}j=v[a+60>>2];if(!j){break k}d=v[h+16>>2];d=d?d:280448;g=v[d+16>>2];if(g){i=v[a+64>>2];d=g>>>0<20?280448:v[d+12>>2];g=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);h=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);l:{if(!h){break l}g=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);if(!(g<<24|g<<8&16711680|(g>>>8&65280|g>>>24))){break l}g=d+h|0;h=w[g+2|0]<<8|w[g+3|0];if(h){c=c>>>0<h>>>0?c:h-1|0;k=w[g+1|0];l=k>>>4&3;h=l+1|0;g=g+B(c,h)|0;c=w[g+4|0];m:{if(!l){break m}c=w[g+5|0]|c<<8;if((h|0)==2){break m}c=w[g+6|0]|c<<8;if((h|0)==3){break m}c=w[g+7|0]|c<<8}g=(k&15)+1|0;c=c>>>g<<16|(-1<<g^-1)&c}g=c>>>16|0;h=d;d=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=d?h+d|0:280448;if(g>>>0>=(w[d+6|0]<<8|w[d+7|0])>>>0){break l}g=d+(g<<2)|0;g=w[g+8|0]|w[g+9|0]<<8|(w[g+10|0]<<16|w[g+11|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);h=c&65535;c=w[d+2|0]|w[d+3|0]<<8|(w[d+4|0]<<16|w[d+5|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);m=Vg(g?g+d|0:280448,h,i,j,c?c+d|0:280448)}m=C(m+C(b|0));if(C(D(m))<C(2147483648)){b=~~m;break k}b=-2147483648;break k}g=Ca-144|0;Ca=g;d=Uh(v[a+16>>2]+96|0);b=0;n:{if(y[d+16>>2]<=c>>>0){break n}v[g+56>>2]=-8388609;v[g+48>>2]=2139095039;v[g+52>>2]=-8388609;v[g+16>>2]=2139095039;v[g+20>>2]=-8388609;v[g+24>>2]=-8388609;v[g+44>>2]=2139095039;v[g+40>>2]=g- -64;h=v[g+44>>2];v[g+8>>2]=v[g+40>>2];v[g+12>>2]=h;v[g+32>>2]=a;v[g+36>>2]=g+128;h=v[g+36>>2];v[g>>2]=v[g+32>>2];v[g+4>>2]=h;if(!Lj(d,a,c,g)){d=v[d+8>>2];h=v[d+4>>2];o:{if(h>>>0>c>>>0){b=v[d+12>>2];b=(c|0)<0?280448:v[(b?b:280448)+12>>2]+(c<<2)|0;c=b+3|0;d=b+2|0;break o}b=0;if(y[d>>2]<=c>>>0){break n}b=v[d+12>>2];d=(c-h<<1)+((h|0)<0?280448:v[(b?b:280448)+12>>2]+(h<<2)|0)|0;c=d+1|0}b=(w[c|0]|w[d|0]<<8)<<16>>16;break n}m=C(C(I(z[g+104>>2]))-C(v[g+132>>2]));if(C(D(m))<C(2147483648)){b=~~m;break n}b=-2147483648}Ca=g+144|0}c=v[f+52>>2];d=v[a+40>>2];g=v[a+44>>2];b=b<<16;a=b>>31;a=eQ(d,g,b>>16,a);v[e>>2]=c+((Da&65535)<<16|a>>>16);break e}b=f;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;b=v[a+72>>2];p:{if(Ea[v[b+148>>2]](a,v[a+76>>2],f,v[b+12>>2])|0){a=v[f>>2];break p}o=+v[a+24>>2]*.8;if(D(o)<2147483648){a=~~o;break p}a=-2147483648}v[e>>2]=a}Ca=f- -64|0;return 1}function Ew(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;m=0-c|0;l=B(b,c)+a|0;if(b>>>0>=10){o=c-1&3;p=c-2>>>0<3;while(1){h=B(b-1|0,c);i=h+a|0;e=i+m|0;f=a+c|0;d=v[f>>2];g=B(b>>>1|0,c)+a|0;b=v[g>>2];a:{if((d|0)!=(b|0)){b=(b|0)>(d|0)?-1:1;break a}b:{if(w[f+8|0]){break b}b=v[g+4>>2];d=v[f+4>>2];if((b^d)>>>0<2){break b}b=(b|0)>(d|0)?-1:1;break a}b=v[f+12>>2];d=v[g+12>>2];b=b>>>0<d>>>0?-1:b>>>0>d>>>0}j=(b|0)>0;b=j?f:g;k=v[b>>2];d=v[e>>2];c:{d:{if((k|0)!=(d|0)){if((d|0)<=(k|0)){break d}break c}e:{if(w[b+8|0]){break e}k=v[e+4>>2];n=v[b+4>>2];if((k^n)>>>0<2){break e}if((k|0)<=(n|0)){break d}break c}if(y[b+12>>2]<=y[e+12>>2]){break c}}b=j?g:f;f=v[b>>2];f:{if((f|0)!=(d|0)){f=(d|0)>(f|0)?-1:1;break f}g:{if(w[b+8|0]){break g}f=v[e+4>>2];g=v[b+4>>2];if((f^g)>>>0<2){break g}f=(f|0)>(g|0)?-1:1;break f}f=v[b+12>>2];g=v[e+12>>2];f=f>>>0<g>>>0?-1:f>>>0>g>>>0}b=(f|0)>0?b:e}if(!((b|0)==(i|0)|(c|0)<1)){f=b+c|0;e=i;while(1){g=w[b|0];t[b|0]=w[e|0];t[e|0]=g;e=e+1|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}g=i;e=g;k=a;b=a;h:{if((h|0)<1){e=i;g=e;break h}while(1){f=e;if(b>>>0>=e>>>0){break h}i:{while(1){d=v[i>>2];e=v[b>>2];j:{if((d|0)!=(e|0)){if((d|0)>(e|0)){break j}break i}k:{if(w[b+8|0]){break k}h=v[i+4>>2];j=v[b+4>>2];if((h^j)>>>0<2){break k}if((h|0)<=(j|0)){break i}break j}h=v[b+12>>2];j=v[i+12>>2];if(h>>>0<j>>>0){break j}if(h>>>0>j>>>0){break i}l:{if((c|0)<1|b>>>0<=k>>>0){break l}d=w[k|0];t[k|0]=e;t[b|0]=d;if((c|0)==1){break l}h=c+k|0;e=k+1|0;d=b;while(1){j=w[e|0];t[e|0]=w[d+1|0];t[d+1|0]=j;d=d+1|0;e=e+1|0;if(h>>>0>e>>>0){continue}break}}k=c+k|0}b=b+c|0;if(f>>>0>b>>>0){continue}break}e=f;break h}m:{if(b>>>0>=f>>>0){e=f;break m}while(1){n:{e=f+m|0;h=v[e>>2];o:{if((h|0)!=(d|0)){if((d|0)<=(h|0)){break o}break n}p:{if(w[e+8|0]){break p}d=v[i+4>>2];j=v[e+4>>2];if((d^j)>>>0<2){break p}if((d|0)>(j|0)){break n}break o}d=v[e+12>>2];j=v[i+12>>2];if(d>>>0<j>>>0){break n}if(d>>>0>j>>>0){break o}j=g+m|0;q:{if((c|0)<1|f>>>0>=g>>>0){break q}t[e|0]=w[j|0];t[j|0]=h;d=e+1|0;if(f>>>0<=d>>>0){break q}h=j;g=o;if(g){while(1){n=w[d|0];t[d|0]=w[h+1|0];t[h+1|0]=n;d=d+1|0;h=h+1|0;g=g-1|0;if(g){continue}break}}if(p){break q}while(1){g=w[d|0];t[d|0]=w[h+1|0];t[h+1|0]=g;g=w[d+1|0];t[d+1|0]=w[h+2|0];t[h+2|0]=g;g=w[d+2|0];t[d+2|0]=w[h+3|0];t[h+3|0]=g;g=w[d+3|0];t[d+3|0]=w[h+4|0];t[h+4|0]=g;h=h+4|0;d=d+4|0;if(f>>>0>d>>>0){continue}break}}g=j}if(b>>>0>=e>>>0){break m}d=v[i>>2];f=e;continue}break}r:{if((c|0)<1|b>>>0>=e>>>0){break r}f=w[b|0];t[b|0]=h;t[e|0]=f;if((c|0)==1){break r}f=b+c|0;d=b+1|0;h=e;while(1){j=w[d|0];t[d|0]=w[h+1|0];t[h+1|0]=j;h=h+1|0;d=d+1|0;if(f>>>0>d>>>0){continue}break}}b=b+c|0}if(b>>>0<e>>>0){continue}break}}b=k-a|0;f=e-k|0;s:{if(!b|!f){break s}if(b>>>0>f>>>0){if((f|0)<1){break s}i=a+f|0;b=a+b|0;d=a;while(1){h=w[d|0];t[d|0]=w[b|0];t[b|0]=h;b=b+1|0;d=d+1|0;if(i>>>0>d>>>0){continue}break}break s}if((b|0)<1){break s}i=a+b|0;b=a+f|0;d=a;while(1){h=w[d|0];t[d|0]=w[b|0];t[b|0]=h;b=b+1|0;d=d+1|0;if(i>>>0>d>>>0){continue}break}}d=g-e|0;t:{if(!d){break t}b=l-g|0;if(!b){break t}if(b>>>0<d>>>0){if((b|0)<1){break t}g=b+e|0;b=d+e|0;while(1){i=w[e|0];t[e|0]=w[b|0];t[b|0]=i;b=b+1|0;e=e+1|0;if(g>>>0>e>>>0){continue}break}break t}if((d|0)<1){break t}g=d+e|0;b=b+e|0;while(1){i=w[e|0];t[e|0]=w[b|0];t[b|0]=i;b=b+1|0;e=e+1|0;if(g>>>0>e>>>0){continue}break}}Ew(a,(f>>>0)/(c>>>0)|0,c);a=l-d|0;b=(d>>>0)/(c>>>0)|0;l=a+B(c,b)|0;if(b>>>0>=10){continue}break}}g=a+c|0;u:{if(l>>>0<=g>>>0){break u}if((c|0)<1){while(1){v:{if(a>>>0>=g>>>0){break v}e=v[g>>2];b=g;while(1){f=e;d=b;b=b+m|0;e=v[b>>2];w:{if((f|0)!=(e|0)){if((e|0)>=(f|0)){break w}break v}x:{if(w[b+8|0]){break x}f=v[d+4>>2];i=v[b+4>>2];if((f^i)>>>0<2){break x}if((f|0)<=(i|0)){break w}break v}if(y[b+12>>2]<=y[d+12>>2]){break v}}if(a>>>0<b>>>0){continue}break}}g=c+g|0;if(l>>>0>g>>>0){continue}break u}}h=c+2&3;j=c-3>>>0<3;while(1){f=g;y:{if(f>>>0<=a>>>0){break y}while(1){i=f;f=f+m|0;b=v[f>>2];e=v[i>>2];z:{if((b|0)!=(e|0)){if((b|0)<(e|0)){break y}break z}A:{if(w[f+8|0]){break A}d=v[i+4>>2];k=v[f+4>>2];if((d^k)>>>0<2){break A}if((d|0)>(k|0)){break y}break z}if(y[f+12>>2]<=y[i+12>>2]){break y}}t[f|0]=e;t[i|0]=b;e=f+1|0;B:{if(e>>>0>=i>>>0){break B}t[e|0]=w[i+1|0];t[i+1|0]=b>>>8;b=e+1|0;if((i|0)==(b|0)){break B}e=i+1|0;d=h;if(d){while(1){k=w[b|0];t[b|0]=w[e+1|0];t[e+1|0]=k;b=b+1|0;e=e+1|0;d=d-1|0;if(d){continue}break}}if(j){break B}while(1){d=w[b|0];t[b|0]=w[e+1|0];t[e+1|0]=d;d=w[b+1|0];t[b+1|0]=w[e+2|0];t[e+2|0]=d;d=w[b+2|0];t[b+2|0]=w[e+3|0];t[e+3|0]=d;d=w[b+3|0];t[b+3|0]=w[e+4|0];t[e+4|0]=d;e=e+4|0;b=b+4|0;if((i|0)!=(b|0)){continue}break}}if(a>>>0<f>>>0){continue}break}}g=c+g|0;if(l>>>0>g>>>0){continue}break}}}function ix(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;d=b<<1;r=d+a|0;if(b>>>0>9){while(1){f=a+2|0;j=(b&-2)+a|0;e=(yn(f,j,c)|0)>0;b=e?f:j;d=d-2|0;h=d+a|0;k=h-2|0;if((yn(b,k,c)|0)>=1){b=e?j:f;b=(yn(b,k,c)|0)>0?b:k}if((b|0)!=(h|0)){k=w[b|0];t[b|0]=w[h|0];t[h|0]=k;k=w[b+1|0];t[b+1|0]=w[h+1|0];t[h+1|0]=k}k=h;e=h;j=a;b=j;a:{if((d|0)<1){break a}while(1){if(b>>>0>=e>>>0){break a}b:{while(1){c:{q=x[b>>1];l=x[h>>1];d:{e:{f:{g:{h:{m=v[c+4>>2];if((m|0)!=131072){if((m|0)!=65536){break e}i=0;p=0;d=0;if(l>>>0<=257){d=l<<2;f=v[d+254016>>2];p=f+255052|0;d=v[d+254020>>2]+(f^-1)|0}if(q>>>0<=257){break h}n=0;break f}i=0;p=0;o=v[c+8>>2];g=w[o|0]<<8|w[o+1|0];d=0;i:{if(g>>>0<=l>>>0){break i}d=o+(l<<1)|0;f=w[d+2|0]<<8|w[d+3|0];if(f>>>0<=257){d=f<<2;f=v[d+254016>>2];p=f+255052|0;d=v[d+254020>>2]+(f^-1)|0;break i}f=f-258|0;d=0;if(f>>>0>=y[c+16>>2]){break i}d=v[c+24>>2]+v[v[c+20>>2]+(f<<2)>>2]|0;p=d+1|0;d=w[d|0]}if(g>>>0>q>>>0){break g}n=0;break f}f=q<<2;i=v[f+254016>>2];n=v[f+254020>>2]+(i^-1)|0;i=i+255052|0;break f}f=o+(q<<1)|0;f=w[f+2|0]<<8|w[f+3|0];if(f>>>0<=257){f=f<<2;i=v[f+254016>>2];n=v[f+254020>>2]+(i^-1)|0;i=i+255052|0;break f}f=f-258|0;if(f>>>0>=y[c+16>>2]){n=0;break f}f=v[c+24>>2]+v[v[c+20>>2]+(f<<2)>>2]|0;i=f+1|0;n=w[f|0]}if((d|0)!=(n|0)){d=n-d|0}else{if(!d){break e}d=lc(i,p,d)}if((d|0)>=1){if(b>>>0<e>>>0){break c}break b}if(d){break d}}if(b>>>0>j>>>0){d=w[j|0];t[j|0]=q;t[b|0]=d;d=w[j+1|0];t[j+1|0]=q>>>8;t[b+1|0]=d}j=j+2|0}b=b+2|0;if(e>>>0>b>>>0){continue}break a}break}j:{while(1){g=l&65535;f=e-2|0;l=x[f>>1];q=l>>>8|0;k:{l:{m:{n:{o:{p:{if((m|0)!=131072){if((m|0)!=65536){break m}i=0;p=0;d=0;if(g>>>0<=257){d=g<<2;g=v[d+254016>>2];p=g+255052|0;d=v[d+254020>>2]+(g^-1)|0}if(l>>>0<=257){break p}m=0;break n}i=0;p=0;n=v[c+8>>2];o=w[n|0]<<8|w[n+1|0];d=0;q:{if(o>>>0<=g>>>0){break q}d=n+(g<<1)|0;g=w[d+2|0]<<8|w[d+3|0];if(g>>>0<=257){d=g<<2;g=v[d+254016>>2];p=g+255052|0;d=v[d+254020>>2]+(g^-1)|0;break q}g=g-258|0;d=0;if(g>>>0>=y[c+16>>2]){break q}d=v[c+24>>2]+v[v[c+20>>2]+(g<<2)>>2]|0;p=d+1|0;d=w[d|0]}if(l>>>0<o>>>0){break o}m=0;break n}i=l<<2;g=v[i+254016>>2];m=v[i+254020>>2]+(g^-1)|0;i=g+255052|0;break n}i=n+(l<<1)|0;g=w[i+2|0]<<8|w[i+3|0];if(g>>>0<=257){i=g<<2;g=v[i+254016>>2];m=v[i+254020>>2]+(g^-1)|0;i=g+255052|0;break n}i=0;g=g-258|0;if(g>>>0>=y[c+16>>2]){m=0;break n}g=v[c+24>>2]+v[v[c+20>>2]+(g<<2)>>2]|0;i=g+1|0;m=w[g|0]}if((d|0)!=(m|0)){d=m-d|0}else{if(!d){break m}d=lc(i,p,d)}if(d){break l}}d=k-2|0;if(e>>>0>=k>>>0){break k}t[f|0]=w[d|0];t[d|0]=l;k=k-1|0;t[e-1|0]=w[k|0];t[k|0]=q;break k}if((d|0)>-1){d=k;break k}if(b>>>0<f>>>0){d=w[b|0];t[b|0]=l;t[f|0]=d;d=w[b+1|0];t[b+1|0]=q;t[e-1|0]=d}b=b+2|0;break j}if(b>>>0<f>>>0){m=v[c+4>>2];l=x[h>>1];k=d;e=f;continue}break}k=d}e=f}if(b>>>0<e>>>0){continue}break}}b=j-a|0;f=e-j|0;r:{if(!b|!f){break r}if(b>>>0>f>>>0){if((f|0)<1){break r}h=a+f|0;b=a+b|0;j=a;while(1){d=w[j|0];t[j|0]=w[b|0];t[b|0]=d;b=b+1|0;j=j+1|0;if(h>>>0>j>>>0){continue}break}break r}if((b|0)<1){break r}h=a+b|0;b=a+f|0;j=a;while(1){d=w[j|0];t[j|0]=w[b|0];t[b|0]=d;b=b+1|0;j=j+1|0;if(h>>>0>j>>>0){continue}break}}h=k-e|0;s:{if(!h){break s}b=r-k|0;if(!b){break s}if(b>>>0<h>>>0){if((b|0)<1){break s}d=b+e|0;b=e+h|0;while(1){k=w[e|0];t[e|0]=w[b|0];t[b|0]=k;b=b+1|0;e=e+1|0;if(d>>>0>e>>>0){continue}break}break s}if((h|0)<1){break s}d=e+h|0;b=b+e|0;while(1){k=w[e|0];t[e|0]=w[b|0];t[b|0]=k;b=b+1|0;e=e+1|0;if(d>>>0>e>>>0){continue}break}}ix(a,f>>>1|0,c);a=r-h|0;d=h&-2;r=a+d|0;b=h>>>1|0;if(h>>>0>=20){continue}break}}i=a+2|0;if(r>>>0>i>>>0){while(1){b=i;t:{if(b>>>0<=a>>>0){break t}while(1){o=x[b>>1];k=b-2|0;g=x[k>>1];u:{v:{w:{e=v[c+4>>2];if((e|0)!=131072){if((e|0)!=65536){break t}m=0;n=0;d=0;if(o>>>0<=257){e=o<<2;h=v[e+254016>>2];n=h+255052|0;d=v[e+254020>>2]+(h^-1)|0}if(g>>>0<=257){break w}l=0;break u}m=0;n=0;f=v[c+8>>2];h=w[f|0]<<8|w[f+1|0];d=0;x:{if(h>>>0<=o>>>0){break x}e=f+(o<<1)|0;e=w[e+2|0]<<8|w[e+3|0];if(e>>>0<=257){e=e<<2;j=v[e+254016>>2];n=j+255052|0;d=v[e+254020>>2]+(j^-1)|0;break x}e=e-258|0;d=0;if(e>>>0>=y[c+16>>2]){break x}e=v[c+24>>2]+v[v[c+20>>2]+(e<<2)>>2]|0;n=e+1|0;d=w[e|0]}if(g>>>0<h>>>0){break v}l=0;break u}e=g<<2;h=v[e+254016>>2];m=h+255052|0;l=v[e+254020>>2]+(h^-1)|0;break u}e=f+(g<<1)|0;e=w[e+2|0]<<8|w[e+3|0];if(e>>>0<=257){e=e<<2;h=v[e+254016>>2];m=h+255052|0;l=v[e+254020>>2]+(h^-1)|0;break u}e=e-258|0;l=0;if(e>>>0>=y[c+16>>2]){break u}e=v[c+24>>2]+v[v[c+20>>2]+(e<<2)>>2]|0;m=e+1|0;l=w[e|0]}if((d|0)!=(l|0)){d=l-d|0}else{if(!d){break t}d=lc(m,n,d)}if((d|0)<1){break t}t[k|0]=o;t[b+1|0]=g>>>8;t[b-1|0]=o>>>8;t[b|0]=g;b=k;if(b>>>0>a>>>0){continue}break}}i=i+2|0;if(r>>>0>i>>>0){continue}break}}}function WJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,w=0,y=0,z=0,A=0,C=0;i=Ca-592|0;Ca=i;Ra(i+80|0,0,512);v[i- -64>>2]=0;v[i+56>>2]=0;v[i+60>>2]=0;v[i+48>>2]=0;v[i+52>>2]=0;v[i+40>>2]=0;v[i+44>>2]=0;v[i+32>>2]=0;v[i+36>>2]=0;a:{b:{c:{if(d){y=B(d,40)+c|0;while(1){g=v[c+32>>2];if(g>>>0>=1024){break c}h=v[c+36>>2];if(h-1>>>0>=1024){break b}if((g|0)>(h|0)){break a}d=g>>>6|0;f=d+1|0;o=(i+32|0)+(f<<1)|0;j=o;l=x[o>>1];n=v[c+20>>2];o=n<<2&4;m=v[c+24>>2]?o:n&4?o^4:o;p=n&2;n=p?m:o;k=g&63;q=B(n,k);u[j>>1]=l-q;l=(i+32|0)+(d<<1)|0;u[l>>1]=(q+x[l>>1]|0)-(n<<6);q=h>>>6|0;n=(i+32|0)+(q<<1)|0;m=p?o:m;o=h&63;p=B(m,o);u[n+2>>1]=p+x[n+2>>1];u[n>>1]=x[n>>1]+((m<<6)-p|0);d:{if((g|0)==(h|0)){break d}w=v[c>>2];g=v[c+4>>2];h=v[c+12>>2];n=h;p=h>>31;h=v[c+16>>2];m=h;l=v[c+8>>2];u[i>>1]=0;j=h>>31;eQ(h,j,l,l>>31);s=Da+131072>>2;h=s>>16;u[i+2>>1]=h;u[i+30>>1]=B(h,15);u[i+28>>1]=B(h,14);u[i+26>>1]=B(h,13);u[i+24>>1]=B(h,12);u[i+22>>1]=B(h,11);u[i+20>>1]=B(h,10);u[i+18>>1]=B(h,9);u[i+16>>1]=h<<3;u[i+14>>1]=B(h,7);u[i+12>>1]=B(h,6);u[i+10>>1]=B(h,5);u[i+8>>1]=h<<2;u[i+6>>1]=B(h,3);u[i+4>>1]=h<<1;eQ(m,j,n,p);n=Da+131072>>18;p=n>>31;p=p^n+p;l=h;h=s>>31;h=l+h^h;g=g<<21|w>>>11;eQ(m,j,g,g>>31);m=(Da+4096>>>13)-(B(d,n)+(s>>17))|0;e:{if(!k){f=d;break e}if((d|0)==(q|0)){f=o-k|0;g=((f<<4)-h|0)+1024|0;q=(g<<16>>16<1024?g<<3:8192)<<16>>16;g=B(n,k+o|0)<<9>>16;o=B(f,p)<<10>>16;h=((h|0)>(o|0)?o:h)+2>>2;o=f-(B(q,g-h|0)>>>16|0)|0;n=f-(B(q,g+h|0)>>>16|0)|0;h=f<<1;m=m<<16>>16;f=0;g=0;while(1){k=((i+80|0)+(d<<5)|0)+(g<<1)|0;j=k;l=x[k>>1];f=B(q,m-f|0)>>16;k=f+n<<16>>16;k=(k|0)>0?k:0;f=f+o<<16>>16;f=(f|0)>0?f:0;u[j>>1]=l+(((h|0)<(k|0)?h:k)+((f|0)>(h|0)?h:f)|0);g=g+1|0;if((g|0)==16){break d}f=u[(g<<1)+i>>1];continue}}g=64-k|0;l=((g<<4)-h|0)+1024|0;l=(l<<16>>16<1024?l<<3:8192)<<16>>16;k=B(n,k<<9|32768)>>16;j=B(g,p)<<10>>>16|0;j=(h>>>0>j>>>0?j:h)+2>>>2|0;s=g-(B(l,k-j|0)>>>16|0)|0;w=g-(B(l,k+j|0)>>>16|0)|0;z=m<<16>>16;k=g<<1;j=0;g=0;while(1){r=((i+80|0)+(d<<5)|0)+(g<<1)|0;A=r;C=x[r>>1];j=B(l,z-j|0)>>16;r=j+w<<16>>16;r=(r|0)>0?r:0;j=j+s<<16>>16;j=(j|0)>0?j:0;u[A>>1]=C+(((k|0)<(r|0)?k:r)+((k|0)<(j|0)?k:j)|0);g=g+1|0;if((g|0)!=16){j=u[(g<<1)+i>>1];continue}break}m=m-n|0}if((f|0)<(q|0)){d=512-(n>>1)|0;g=(h>>>0>p>>>0?p:h)+2>>>2|0;k=d-g|0;g=d+g|0;while(1){d=0;while(1){l=d<<1;j=l+((i+80|0)+(f<<5)|0)|0;r=j;s=x[j>>1];l=m-x[i+l>>1]|0;j=l+g<<16>>16;j=(j|0)>0?j:0;l=k+l<<16>>16;l=(l|0)>0?l:0;u[r>>1]=s+(((j|0)<1024?j:1024)+((l|0)<1024?l:1024)>>>3|0);d=d+1|0;if((d|0)!=16){continue}break}m=m-n|0;f=f+1|0;if((q|0)!=(f|0)){continue}break}}if(!o){break d}d=B(n,o)<<9>>16;f=B(o,p)<<10>>>16|0;g=(f>>>0<h>>>0?f:h)+2>>>2|0;f=((o<<4)-h|0)+1024|0;f=(f<<16>>16<1024?f<<3:8192)<<16>>16;h=o-(B(d-g|0,f)>>>16|0)|0;n=o-(B(f,d+g|0)>>>16|0)|0;d=o<<1;o=m<<16>>16;g=0;while(1){m=g<<1;k=m+((i+80|0)+(q<<5)|0)|0;j=k;l=x[k>>1];m=B(f,o-u[i+m>>1]|0)>>16;k=m+n<<16>>16;k=(k|0)>0?k:0;m=h+m<<16>>16;m=(m|0)>0?m:0;u[j>>1]=l+(((d|0)<(k|0)?d:k)+((d|0)<(m|0)?d:m)|0);g=g+1|0;if((g|0)!=16){continue}break}}c=c+40|0;if((y|0)!=(c|0)){continue}break}}d=e<<8;e=0;while(1){d=x[(i+32|0)+(e<<1)>>1]+d|0;c=(i+80|0)+(e<<5)|0;f=d+x[c>>1]|0;g=0-f|0;f=f<<16>>16>g<<16>>16?f:g;t[a|0]=f<<16>>16<255?f:255;f=x[c+2>>1]+d|0;g=0-f|0;f=f<<16>>16>g<<16>>16?f:g;t[a+1|0]=f<<16>>16<255?f:255;f=x[c+4>>1]+d|0;g=0-f|0;f=f<<16>>16>g<<16>>16?f:g;t[a+2|0]=f<<16>>16<255?f:255;f=x[c+6>>1]+d|0;g=0-f|0;f=f<<16>>16>g<<16>>16?f:g;t[a+3|0]=f<<16>>16<255?f:255;f=x[c+8>>1]+d|0;g=0-f|0;f=f<<16>>16>g<<16>>16?f:g;t[a+4|0]=f<<16>>16<255?f:255;f=x[c+10>>1]+d|0;g=0-f|0;f=f<<16>>16>g<<16>>16?f:g;t[a+5|0]=f<<16>>16<255?f:255;f=x[c+12>>1]+d|0;g=0-f|0;f=f<<16>>16>g<<16>>16?f:g;t[a+6|0]=f<<16>>16<255?f:255;f=x[c+14>>1]+d|0;g=0-f|0;f=f<<16>>16>g<<16>>16?f:g;t[a+7|0]=f<<16>>16<255?f:255;f=x[c+16>>1]+d|0;g=0-f|0;f=f<<16>>16>g<<16>>16?f:g;t[a+8|0]=f<<16>>16<255?f:255;f=x[c+18>>1]+d|0;g=0-f|0;f=f<<16>>16>g<<16>>16?f:g;t[a+9|0]=f<<16>>16<255?f:255;f=x[c+20>>1]+d|0;g=0-f|0;f=f<<16>>16>g<<16>>16?f:g;t[a+10|0]=f<<16>>16<255?f:255;f=x[c+22>>1]+d|0;g=0-f|0;f=f<<16>>16>g<<16>>16?f:g;t[a+11|0]=f<<16>>16<255?f:255;f=x[c+24>>1]+d|0;g=0-f|0;f=f<<16>>16>g<<16>>16?f:g;t[a+12|0]=f<<16>>16<255?f:255;f=x[c+26>>1]+d|0;g=0-f|0;f=f<<16>>16>g<<16>>16?f:g;t[a+13|0]=f<<16>>16<255?f:255;f=x[c+28>>1]+d|0;g=0-f|0;f=f<<16>>16>g<<16>>16?f:g;t[a+14|0]=f<<16>>16<255?f:255;c=x[c+30>>1]+d|0;f=0-c|0;c=c<<16>>16>f<<16>>16?c:f;t[a+15|0]=c<<16>>16<255?c:255;a=a+b|0;e=e+1|0;if((e|0)!=16){continue}break}Ca=i+592|0;return}O(447375,447417,189,447466);L()}O(447492,447417,190,447466);L()}O(447534,447417,191,447466);L()}function li(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,u=0;i=Ca-48|0;Ca=i;v[i+12>>2]=0;t[a+733|0]=0;q=v[a+100>>2];a:{b:{j=v[a+736>>2];if(!j){e=ng(a,0);v[i+12>>2]=e;if(e){break a}j=v[a+736>>2]}o=v[j+12>>2];f=v[o>>2];b=b>>>0>f>>>0?f:b;if(!b){break b}while(1){if(v[(h<<2)+c>>2]+65536>>>0<=131072){h=h+1|0;if((h|0)!=(b|0)){continue}break b}break}e=6;break a}if(!(w[a+732|0]|v[j+72>>2])){f=v[a+104>>2];h=v[f+28>>2];e=Ea[v[a+516>>2]](a,1735811442,f,i+40|0)|0;v[i+44>>2]=e;c:{if(e){break c}l=v[f+8>>2];e=ub(f,5472,i+16|0);v[i+44>>2]=e;if(e){break c}e=8;if(v[i+16>>2]!=65536){break c}g=x[i+20>>1];if((g|0)!=x[v[j+12>>2]>>1]){break c}n=B(g,x[i+22>>1]);g=v[i+40>>2];if(n>>>0>g>>>1>>>0){break c}k=B(x[i+28>>1]+1|0,t[i+30|0]&1?4:2);if(k>>>0>g>>>0){break c}v[j+76>>2]=g;g=v[i+32>>2];e=vb(f,k);v[i+44>>2]=e;if(e){break c}e=0;s=j,u=Ua(h,4,0,x[i+28>>1]+1|0,0,i+44|0),v[s+72>>2]=u;d:{e:{f:{if(v[i+44>>2]){break f}m=g+l|0;g=l+v[i+40>>2]|0;g:{if(!(t[i+30|0]&1)){k=0;while(1){n=m+(Cb(f)<<1)|0;e=e>>>0>n>>>0?e:n;v[v[j+72>>2]+(k<<2)>>2]=e>>>0>g>>>0?g:e;n=x[i+28>>1];p=n>>>0>k>>>0;k=k+1|0;if(p){continue}break}break g}k=0;while(1){n=tc(f)+m|0;k=k>>>0>n>>>0?k:n;v[v[j+72>>2]+(e<<2)>>2]=g>>>0<k>>>0?g:k;n=x[i+28>>1];p=n>>>0>e>>>0;e=e+1|0;if(p){continue}break}}v[j+68>>2]=n;pb(f);if(!x[i+22>>1]){break d}g=Ya(f,l+v[i+24>>2]|0);v[i+44>>2]=g;if(g){break e}g=vb(f,B(x[i+22>>1],x[i+20>>1])<<1);v[i+44>>2]=g;if(g){break e}s=j,u=Ua(h,4,0,B(x[i+22>>1],x[i+20>>1]),0,i+44|0),v[s+64>>2]=u;if(v[i+44>>2]){break f}h=j;g=x[i+22>>1];if(g){m=0;l=x[i+20>>1];while(1){e=0;h:{if(!(l&65535)){l=0;break h}while(1){g=Cb(f);l=x[i+20>>1];v[v[j+64>>2]+(B(m,l)+e<<2)>>2]=g<<16>>16<<2;e=e+1|0;if(l>>>0>e>>>0){continue}break}g=x[i+22>>1]}m=m+1|0;if(m>>>0<(g&65535)>>>0){continue}break}g=g&65535}else{g=0}v[h+60>>2]=g;pb(f);break d}pb(f)}f=v[j+72>>2];if(f){Ea[v[h+8>>2]](h,f)}v[j+68>>2]=0;v[j+72>>2]=0}e=v[i+44>>2]}v[i+12>>2]=e;if(e){break a}}p=v[j+4>>2];if(!p){s=j,u=Ua(q,4,0,v[o>>2],0,i+12|0),v[s+4>>2]=u;e=v[i+12>>2];if(e){break a}}i:{j:{k:{l:{m=v[j+8>>2];if(m){h=0;if(b){break l}break k}m=Ua(q,4,0,v[o>>2],0,i+12|0);v[j+8>>2]=m;e=v[i+12>>2];if(e){break a}k=v[o>>2];n=1;break i}l=1;while(1){f=h<<2;n=2;if(v[f+m>>2]!=v[c+f>>2]){break j}h=h+1|0;if((h|0)!=(b|0)){continue}break}h=b}l=0;n=0}k=v[o>>2];f=v[a+4>>2];m:{if(f&2147418112){if(h>>>0>=k>>>0){break m}g=v[j+20>>2]+(B((f>>>16|0)-1|0,k)<<2)|0;f=h<<2;e=g+f|0;r=(h^-1)+k|0;f=f+m|0;o=k-h&3;n:{if(!o){g=h;break n}g=h;while(1){l=v[f>>2]==v[e>>2]?l:1;f=f+4|0;e=e+4|0;g=g+1|0;o=o-1|0;if(o){continue}break}}if(r>>>0<3){break m}while(1){l=v[f+12>>2]==v[e+12>>2]?v[f+8>>2]==v[e+8>>2]?v[f+4>>2]==v[e+4>>2]?v[f>>2]==v[e>>2]?l:1:1:1:1;f=f+16|0;e=e+16|0;g=g+4|0;if((k|0)!=(g|0)){continue}break}break m}if(h>>>0>=k>>>0){break m}o=(h^-1)+k|0;e=(h<<2)+m|0;g=k-h&3;o:{if(!g){f=h;break o}f=h;while(1){l=v[e>>2]?1:l;e=e+4|0;f=f+1|0;g=g-1|0;if(g){continue}break}}if(o>>>0<3){break m}while(1){l=v[e+12>>2]|v[e+8>>2]|(v[e+4>>2]|v[e>>2])?1:l;e=e+16|0;f=f+4|0;if((k|0)!=(f|0)){continue}break}}p:{if(l&255){if(h>>>0>=k>>>0){break i}break p}t[a+733|0]=1;e=-1;break a}while(1){if(!v[(h<<2)+m>>2]){h=h+1|0;if((k|0)!=(h|0)){continue}break i}break}n=2}v[j>>2]=k;if(c){Ta(m,c,b<<2)}q:{if(!d){break q}e=v[j+4>>2];m=v[a+736>>2];k=v[m>>2];b=p?b:v[j>>2];g=b>>>0>k>>>0?k:b;r:{if(!g){break r}c=v[j+8>>2];f=g&3;h=0;if(g-1>>>0>=3){l=g&-4;while(1){d=h<<2;v[d+e>>2]=v[c+d>>2];j=d|4;v[j+e>>2]=v[c+j>>2];j=d|8;v[j+e>>2]=v[c+j>>2];d=d|12;v[d+e>>2]=v[c+d>>2];h=h+4|0;l=l-4|0;if(l){continue}break}}if(!f){break r}while(1){d=h<<2;v[d+e>>2]=v[c+d>>2];h=h+1|0;f=f-1|0;if(f){continue}break}}if(b>>>0>k>>>0){Ra(e+(g<<2)|0,0,b-g<<2)}k=v[m+28>>2];if(!(!k|!g)){j=0;while(1){d=x[k>>1];s:{if(d>>>0<2){break s}b=v[k+4>>2];f=e+(j<<2)|0;c=v[f>>2];h=1;while(1){l=h<<3;o=l+b|0;p=v[o+4>>2];if((p|0)>(c|0)){h=c;c=b;b=l-8|0;c=c+b|0;d=v[c+4>>2];s=f,u=fb(h-d|0,v[o>>2]-v[c>>2]|0,p-d|0)+v[b+v[k+4>>2]>>2]|0,v[s>>2]=u;break s}h=h+1|0;if((d|0)!=(h|0)){continue}break}}k=k+8|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}}if(!g){break q}b=v[v[m+12>>2]+12>>2];c=0;while(1){j=e+(c<<2)|0;f=v[j>>2];t:{u:{if((f|0)<=-1){h=v[b+4>>2];l=v[b+8>>2];d=l;break u}h=v[b+8>>2];d=h;if(!f){break t}l=v[b+12>>2];d=h}d=Qa(f,l-h|0)+d|0}v[j>>2]=d;b=b+24|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}t[a+733|0]=1;b=v[a+704>>2];v:{if(!b){break v}w:{switch(n-1|0){case 1:if(b){Ea[v[q+8>>2]](q,b)}v[a+704>>2]=0;s=i,u=yr(a,v[a+104>>2]),v[s+12>>2]=u;break v;case 0:break w;default:break v}}s=i,u=mr(a,v[a+104>>2]),v[s+12>>2]=u}b=v[a+720>>2];if(b){Ea[v[q+8>>2]](q,b)}v[a+720>>2]=0;e=v[i+12>>2]}Ca=i+48|0;return e}function Ah(a,b,c,d,e,f){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,w=0,y=0,z=0,A=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;g=Ca-160|0;Ca=g;o=(f<<1)+c|0;a:{if(!o){break a}if(!d){c=16;while(1){if(c>>>0>=o>>>0){break a}c=c+16|0;continue}}G=d<<4;p=B(c+15&-16,d);h=g+128|0;H=h-(f<<1)|0;if((f|0)<=0){l=(15-f<<1)+h|0;m=(14-f<<1)+h|0;n=(13-f<<1)+h|0;q=(12-f<<1)+h|0;r=(11-f<<1)+h|0;s=(10-f<<1)+h|0;t=(9-f<<1)+h|0;w=(8-f<<1)+h|0;y=(7-f<<1)+h|0;z=(6-f<<1)+h|0;A=(5-f<<1)+h|0;C=(4-f<<1)+h|0;D=(3-f<<1)+h|0;E=(2-f<<1)+h|0;F=(1-f<<1)+h|0;c=0;while(1){e=1;while(1){f=c-G|0;f=f>>>0<p>>>0?(f<<1)+b|0:448064;i=x[f+4>>1]|x[f+6>>1]<<16;k=x[f>>1]|x[f+2>>1]<<16;u[g+96>>1]=k;u[g+98>>1]=k>>>16;u[g+100>>1]=i;u[g+102>>1]=i>>>16;i=x[f+28>>1]|x[f+30>>1]<<16;k=x[f+24>>1]|x[f+26>>1]<<16;u[g+120>>1]=k;u[g+122>>1]=k>>>16;u[g+124>>1]=i;u[g+126>>1]=i>>>16;i=x[f+20>>1]|x[f+22>>1]<<16;k=x[f+16>>1]|x[f+18>>1]<<16;u[g+112>>1]=k;u[g+114>>1]=k>>>16;u[g+116>>1]=i;u[g+118>>1]=i>>>16;i=x[f+12>>1]|x[f+14>>1]<<16;f=x[f+8>>1]|x[f+10>>1]<<16;u[g+104>>1]=f;u[g+106>>1]=f>>>16;u[g+108>>1]=i;u[g+110>>1]=i>>>16;f=c>>>0<p>>>0?(c<<1)+b|0:448064;i=x[f+28>>1]|x[f+30>>1]<<16;k=x[f+24>>1]|x[f+26>>1]<<16;u[h+24>>1]=k;u[h+26>>1]=k>>>16;u[h+28>>1]=i;u[h+30>>1]=i>>>16;i=x[f+20>>1]|x[f+22>>1]<<16;k=x[f+16>>1]|x[f+18>>1]<<16;u[h+16>>1]=k;u[h+18>>1]=k>>>16;u[h+20>>1]=i;u[h+22>>1]=i>>>16;i=x[f+12>>1]|x[f+14>>1]<<16;k=x[f+8>>1]|x[f+10>>1]<<16;u[h+8>>1]=k;u[h+10>>1]=k>>>16;u[h+12>>1]=i;u[h+14>>1]=i>>>16;i=x[f+4>>1]|x[f+6>>1]<<16;f=x[f>>1]|x[f+2>>1]<<16;u[h>>1]=f;u[h+2>>1]=f>>>16;u[h+4>>1]=i;u[h+6>>1]=i>>>16;v[g+40>>2]=32768;v[g+44>>2]=32768;v[g+32>>2]=32768;v[g+36>>2]=32768;v[g+24>>2]=32768;v[g+28>>2]=32768;v[g+16>>2]=32768;v[g+20>>2]=32768;v[g+8>>2]=32768;v[g+12>>2]=32768;v[g>>2]=32768;v[g+4>>2]=32768;u[a>>1]=x[H>>1];u[a+2>>1]=x[F>>1];u[a+4>>1]=x[E>>1];u[a+6>>1]=x[D>>1];u[a+8>>1]=x[C>>1];u[a+10>>1]=x[A>>1];u[a+12>>1]=x[z>>1];u[a+14>>1]=x[y>>1];u[a+16>>1]=x[w>>1];u[a+18>>1]=x[t>>1];u[a+20>>1]=x[s>>1];u[a+22>>1]=x[r>>1];u[a+24>>1]=x[q>>1];u[a+26>>1]=x[n>>1];u[a+28>>1]=x[m>>1];u[a+30>>1]=x[l>>1];c=c+16|0;a=a+32|0;if((d|0)!=(e|0)){e=e+1|0;continue}break}j=j+16|0;if(o>>>0>j>>>0){continue}break}break a}r=(15-f<<1)+h|0;s=(14-f<<1)+h|0;t=(13-f<<1)+h|0;w=(12-f<<1)+h|0;y=(11-f<<1)+h|0;z=(10-f<<1)+h|0;A=(9-f<<1)+h|0;C=(8-f<<1)+h|0;D=(7-f<<1)+h|0;E=(6-f<<1)+h|0;F=(5-f<<1)+h|0;k=(4-f<<1)+h|0;K=(3-f<<1)+h|0;L=(2-f<<1)+h|0;M=(1-f<<1)+h|0;while(1){m=0;while(1){c=l-G|0;c=c>>>0<p>>>0?(c<<1)+b|0:448064;j=x[c+4>>1]|x[c+6>>1]<<16;i=x[c>>1]|x[c+2>>1]<<16;u[g+96>>1]=i;u[g+98>>1]=i>>>16;u[g+100>>1]=j;u[g+102>>1]=j>>>16;j=x[c+28>>1]|x[c+30>>1]<<16;i=x[c+24>>1]|x[c+26>>1]<<16;u[g+120>>1]=i;u[g+122>>1]=i>>>16;u[g+124>>1]=j;u[g+126>>1]=j>>>16;j=x[c+20>>1]|x[c+22>>1]<<16;i=x[c+16>>1]|x[c+18>>1]<<16;u[g+112>>1]=i;u[g+114>>1]=i>>>16;u[g+116>>1]=j;u[g+118>>1]=j>>>16;j=x[c+12>>1]|x[c+14>>1]<<16;c=x[c+8>>1]|x[c+10>>1]<<16;u[g+104>>1]=c;u[g+106>>1]=c>>>16;u[g+108>>1]=j;u[g+110>>1]=j>>>16;c=l>>>0<p>>>0?(l<<1)+b|0:448064;j=x[c+28>>1]|x[c+30>>1]<<16;i=x[c+24>>1]|x[c+26>>1]<<16;u[h+24>>1]=i;u[h+26>>1]=i>>>16;u[h+28>>1]=j;u[h+30>>1]=j>>>16;j=x[c+20>>1]|x[c+22>>1]<<16;i=x[c+16>>1]|x[c+18>>1]<<16;u[h+16>>1]=i;u[h+18>>1]=i>>>16;u[h+20>>1]=j;u[h+22>>1]=j>>>16;j=x[c+12>>1]|x[c+14>>1]<<16;i=x[c+8>>1]|x[c+10>>1]<<16;u[h+8>>1]=i;u[h+10>>1]=i>>>16;u[h+12>>1]=j;u[h+14>>1]=j>>>16;j=x[c+4>>1]|x[c+6>>1]<<16;c=x[c>>1]|x[c+2>>1]<<16;u[h>>1]=c;u[h+2>>1]=c>>>16;u[h+4>>1]=j;u[h+6>>1]=j>>>16;v[g+56>>2]=32768;v[g+60>>2]=32768;v[g+48>>2]=32768;v[g+52>>2]=32768;v[g+40>>2]=32768;v[g+44>>2]=32768;v[g+32>>2]=32768;v[g+36>>2]=32768;v[g+24>>2]=32768;v[g+28>>2]=32768;v[g+16>>2]=32768;v[g+20>>2]=32768;v[g+8>>2]=32768;v[g+12>>2]=32768;v[g>>2]=32768;v[g+4>>2]=32768;j=f;while(1){i=j;j=i-1|0;N=u[(j<<1)+e>>1];c=0;while(1){n=c-f|0;q=x[(n<<1)+h>>1];I=(c<<2)+g|0;v[I>>2]=v[I>>2]+B((x[(i+n<<1)+h>>1]-q<<16>>16)+(x[(n-i<<1)+h>>1]-q<<16>>16)|0,N);c=c+1|0;if((c|0)!=16){continue}break}if((i|0)>1){continue}break}u[a>>1]=x[H>>1]+x[g+2>>1];u[a+2>>1]=x[M>>1]+x[g+6>>1];u[a+4>>1]=x[L>>1]+x[g+10>>1];u[a+6>>1]=x[K>>1]+x[g+14>>1];u[a+8>>1]=x[k>>1]+x[g+18>>1];u[a+10>>1]=x[F>>1]+x[g+22>>1];u[a+12>>1]=x[E>>1]+x[g+26>>1];u[a+14>>1]=x[D>>1]+x[g+30>>1];u[a+16>>1]=x[C>>1]+x[g+34>>1];u[a+18>>1]=x[A>>1]+x[g+38>>1];u[a+20>>1]=x[z>>1]+x[g+42>>1];u[a+22>>1]=x[y>>1]+x[g+46>>1];u[a+24>>1]=x[w>>1]+x[g+50>>1];u[a+26>>1]=x[t>>1]+x[g+54>>1];u[a+28>>1]=x[s>>1]+x[g+58>>1];u[a+30>>1]=x[r>>1]+x[g+62>>1];l=l+16|0;a=a+32|0;m=m+1|0;if((m|0)!=(d|0)){continue}break}J=J+16|0;if(o>>>0>J>>>0){continue}break}}Ca=g+160|0}function Sb(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;l=Ca-96|0;Ca=l;p=c;u=(g&131071)<<15|f>>>17;j=i&65535;s=j;k=h;C=k<<15|g>>>17;n=(e^i)&-2147483648;o=e&65535;x=o;m=d;y=o;o=0;D=(j&131071)<<15|k>>>17;F=i>>>16&32767;M=e>>>16&32767;a:{b:{if(M-1>>>0<=32765){j=0;if(F-1>>>0<32766){break b}}q=e&2147483647;w=q;j=d;if(!(!j&(q|0)==2147418112?!(b|c):q>>>0<2147418112)){z=d;n=e|32768;break a}e=i&2147483647;q=e;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){z=h;n=i|32768;b=f;c=g;break a}if(!(b|j|(w^2147418112|c))){if(!(d|f|(g|q))){n=2147450880;b=0;c=0;break a}n=n|2147418112;b=0;c=0;break a}if(!(d|f|(q^2147418112|g))){d=b|j;e=c|w;b=0;c=0;if(!(d|e)){n=2147450880;break a}n=n|2147418112;break a}if(!(b|j|(c|w))){b=0;c=0;break a}if(!(d|f|(g|q))){b=0;c=0;break a}if((w|0)==65535|w>>>0<65535){h=b;i=c;d=!(m|x);e=d<<6;j=E(d?b:m)+32|0;b=E(d?c:x);b=e+((b|0)==32?j:b)|0;Tc(l+80|0,h,i,m,x,b-15|0);m=v[l+88>>2];p=v[l+84>>2];y=v[l+92>>2];t=16-b|0;b=v[l+80>>2]}j=t;if(q>>>0>65535){break b}c=!(k|s);d=c<<6;e=E(c?f:k)+32|0;c=E(c?g:s);c=d+((c|0)==32?e:c)|0;i=c;Tc(l- -64|0,f,g,k,s,c-15|0);e=v[l+76>>2];c=e;h=v[l+72>>2];d=h;d=d<<15;e=v[l+68>>2];C=e>>>17|d;d=0;f=v[l+64>>2];u=d|((e&131071)<<15|f>>>17);D=(c&131071)<<15|h>>>17;j=(t-i|0)+16|0}t=j;d=u;c=b;s=0;q=eQ(d,0,b,s);b=Da;G=b;e=f;A=e<<15&-32768;k=p;g=eQ(A,0,k,0);f=g+q|0;e=Da+b|0;e=f>>>0<g>>>0?e+1|0:e;h=f;j=f;i=0;g=eQ(c,s,A,B);f=i+g|0;b=j;j=j+Da|0;j=f>>>0<g>>>0?j+1|0:j;u=f;g=j;J=(b|0)==(j|0)&f>>>0<i>>>0|b>>>0>j>>>0;N=eQ(d,r,k,H);K=Da;p=m;f=eQ(A,B,m,0);b=f+N|0;j=Da+K|0;O=b;m=eQ(C,0,c,s);i=b+m|0;b=b>>>0<f>>>0?j+1|0:j;f=b+Da|0;w=i;f=i>>>0<m>>>0?f+1|0:f;x=f;j=f;f=(e|0)==(G|0)&h>>>0<q>>>0|e>>>0<G>>>0;h=e+w|0;j=f+j|0;q=h;j=h>>>0<e>>>0?j+1|0:j;m=j;e=h;h=j;Q=eQ(d,r,p,P);G=Da;f=A;I=y|65536;A=o;i=eQ(f,B,I,o);f=i+Q|0;j=Da+G|0;j=f>>>0<i>>>0?j+1|0:j;R=f;B=eQ(C,S,k,H);i=f+B|0;o=j;f=j+Da|0;f=i>>>0<B>>>0?f+1|0:f;L=i;D=D&2147483647|-2147483648;i=eQ(c,s,D,0);c=L+i|0;s=f;j=f+Da|0;B=c;c=c>>>0<i>>>0?j+1|0:j;y=J;i=0;f=i+e|0;j=h+B|0;J=f;h=f;e=y+f|0;y=f>>>0<i>>>0?j+1|0:j;f=y;f=e>>>0<h>>>0?f+1|0:f;h=e;i=f;t=(t+(F+M|0)|0)-16383|0;f=eQ(p,P,C,S);e=Da;r=eQ(d,r,I,A);d=r+f|0;j=Da+e|0;j=d>>>0<r>>>0?j+1|0:j;r=d;f=(e|0)==(j|0)&f>>>0>d>>>0|e>>>0>j>>>0;e=j;F=f;f=eQ(D,T,k,H);d=f+d|0;j=Da+j|0;j=d>>>0<f>>>0?j+1|0:j;f=d;d=j;k=(j|0)==(e|0)&f>>>0<r>>>0|e>>>0>j>>>0;j=F+k|0;e=0;e=j>>>0<k>>>0?1:e;r=f;k=d;F=j;f=(b|0)==(x|0)&w>>>0<O>>>0|b>>>0>x>>>0;b=f+((b|0)==(K|0)&N>>>0>O>>>0|b>>>0<K>>>0)|0;j=0;j=b>>>0<f>>>0?1:j;f=b;b=r+f|0;j=d+j|0;j=b>>>0<f>>>0?j+1|0:j;H=b;d=j;j=(j|0)==(k|0)&b>>>0<r>>>0|j>>>0<k>>>0;b=F+j|0;f=e;f=b>>>0<j>>>0?f+1|0:f;e=eQ(D,T,I,A);b=e+b|0;j=Da+f|0;r=b;e=b>>>0<e>>>0?j+1|0:j;k=eQ(D,T,p,P);f=Da;p=eQ(C,S,I,A);b=p+k|0;j=Da+f|0;j=b>>>0<p>>>0?j+1|0:j;p=b;b=j;j=(f|0)==(j|0)&k>>>0>p>>>0|f>>>0>j>>>0;k=b+r|0;e=e+j|0;e=k>>>0<b>>>0?e+1|0:e;r=k;k=0;b=k+H|0;j=d+p|0;j=b>>>0<k>>>0?j+1|0:j;f=j;k=(d|0)==(j|0)&b>>>0<H>>>0|d>>>0>j>>>0;d=r+k|0;j=e;C=d;d=d>>>0<k>>>0?j+1|0:j;p=b;k=f;f=(o|0)==(s|0)&R>>>0>L>>>0|o>>>0>s>>>0;e=f+((o|0)==(G|0)&Q>>>0>R>>>0|o>>>0<G>>>0)|0;f=e;e=f+((c|0)==(s|0)&B>>>0<L>>>0|c>>>0<s>>>0)|0;f=e;b=c+b|0;e=f+k|0;e=b>>>0<c>>>0?e+1|0:e;o=b;c=b;b=e;e=(e|0)==(k|0)&c>>>0<p>>>0|e>>>0<k>>>0;c=e+C|0;j=d;j=c>>>0<e>>>0?j+1|0:j;d=c;k=d;e=(m|0)==(y|0)&q>>>0>J>>>0|m>>>0>y>>>0;d=e+((m|0)==(x|0)&q>>>0<w>>>0|m>>>0<x>>>0)|0;f=0;f=d>>>0<e>>>0?1:f;m=d;d=d+o|0;e=b+f|0;e=d>>>0<m>>>0?e+1|0:e;c=(b|0)==(e|0)&d>>>0<o>>>0|b>>>0>e>>>0;b=k+c|0;j=b>>>0<c>>>0?j+1|0:j;c=j;c:{if(j&65536){t=t+1|0;break c}m=g>>>31|0;j=c<<1|b>>>31;b=b<<1|e>>>31;c=j;j=e<<1|d>>>31;d=d<<1|i>>>31;e=j;o=u;j=g<<1|o>>>31;u=o<<1;g=j;j=i<<1|h>>>31;h=h<<1|m;i=j}if((t|0)>=32767){n=n|2147418112;b=0;c=0;break a}d:{if((t|0)<=0){f=1-t|0;if(f>>>0>=128){b=0;c=0;break a}j=t+127|0;Tc(l+48|0,u,g,h,i,j);Tc(l+32|0,d,e,b,c,j);rg(l+16|0,u,g,h,i,f);rg(l,d,e,b,c,f);u=(v[l+48>>2]|v[l+56>>2])!=0|(v[l+52>>2]|v[l+60>>2])!=0|(v[l+32>>2]|v[l+16>>2]);g=v[l+36>>2]|v[l+20>>2];h=v[l+40>>2]|v[l+24>>2];i=v[l+44>>2]|v[l+28>>2];d=v[l>>2];e=v[l+4>>2];c=v[l+12>>2];b=v[l+8>>2];break d}c=c&65535|t<<16}z=b|z;n=c|n;if(!(!h&(i|0)==-2147483648?!(g|u):(i|0)>-1)){j=e;b=d+1|0;j=b>>>0<1?j+1|0:j;f=b;c=j;f=(e|0)==(j|0)&d>>>0>f>>>0|e>>>0>j>>>0;d=f+z|0;e=n;z=d;n=d>>>0<f>>>0?e+1|0:e;break a}if(h|u|(i^-2147483648|g)){b=d;c=e;break a}c=d&1;b=c+d|0;j=e;j=b>>>0<c>>>0?j+1|0:j;f=b;c=j;e=(e|0)==(j|0)&d>>>0>f>>>0|e>>>0>j>>>0;d=e+z|0;j=n;z=d;n=d>>>0<e>>>0?j+1|0:j}v[a>>2]=b;v[a+4>>2]=c;v[a+8>>2]=z;v[a+12>>2]=n;Ca=l+96|0}function ul(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0,l=0;d=Ca-560|0;Ca=d;i=b&65535;a:{b:{c:{d:{f=v[a>>2];if((f|0)!=v[c>>2]){Gc(d+264|0,a);a=v[d+276>>2];v[d+544>>2]=v[d+272>>2];v[d+548>>2]=a;a=v[d+268>>2];v[d+536>>2]=v[d+264>>2];v[d+540>>2]=a;Gc(d+264|0,c);a=v[d+276>>2];v[d+528>>2]=v[d+272>>2];v[d+532>>2]=a;a=v[d+268>>2];c=v[d+264>>2];v[d+520>>2]=c;v[d+524>>2]=a;g=A[d+544>>3];A[d+8>>3]=g;o(+g);j(1)|0;e=j(0)|0;f=v[d+540>>2];e:{f:{g:{h:{i:{j:{a=v[d+536>>2];switch(a|0){case 2:break i;case 1:break j;case 3:break g;case 0:break h;default:break e}}g=+(e|0);A[d+8>>3]=g}a=2;if((c|0)!=9){break e}a=d+264|0;A[a+8>>3]=g;A[a>>3]=g;v[d+8>>2]=a;a=9;break e}a=0;k:{switch(c-5|0){case 0:v[d+8>>2]=448128;a=5;break e;case 3:k=d,l=xf(0,d+264|0),v[k+8>>2]=l;break f;case 1:break k;default:break e}}a=d+264|0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=-1;v[a+4>>2]=0;v[d+8>>2]=a;a=6;break e}a=3;if((c|0)!=8){break e}k=d,l=xf(e,d+264|0),v[k+8>>2]=l}a=8}A[d+544>>3]=A[d+8>>3];v[d+540>>2]=f;v[d+536>>2]=a;g=A[d+528>>3];A[d+552>>3]=g;o(+g);j(1)|0;c=j(0)|0;e=v[d+524>>2];l:{m:{n:{o:{p:{q:{f=v[d+520>>2];switch(f|0){case 3:break n;case 0:break o;case 2:break p;case 1:break q;default:break l}}g=+(c|0);A[d+552>>3]=g}f=2;if((a|0)!=9){break l}a=d+8|0;A[a+8>>3]=g;A[a>>3]=g;v[d+552>>2]=a;f=9;break l}f=0;r:{switch(a-5|0){case 0:v[d+552>>2]=448128;f=5;break l;case 3:k=d,l=xf(0,d+8|0),v[k+552>>2]=l;break m;case 1:break r;default:break l}}a=d+8|0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=-1;v[a+4>>2]=0;v[d+552>>2]=a;f=6;break l}f=3;if((a|0)!=8){break l}k=d,l=xf(c,d+8|0),v[k+552>>2]=l}f=8}A[d+528>>3]=A[d+552>>3];v[d+524>>2]=e;v[d+520>>2]=f;if(v[d+536>>2]!=(f|0)){break d}c=d+520|0;a=d+536|0}e=0;s:{switch(f|0){case 1:c=v[c+8>>2];a=v[a+8>>2];t:{switch((b&65535)-22|0){case 0:case 2:case 3:e=(a|0)==(c|0);break a;case 1:case 4:e=(a|0)!=(c|0);break a;case 5:e=(a|0)<(c|0);break a;case 6:e=(a|0)<=(c|0);break a;case 7:e=(a|0)>(c|0);break a;case 8:break t;default:break a}}e=(a|0)>=(c|0);break a;case 2:g=A[c+8>>3];h=A[a+8>>3];u:{switch((b&65535)-22|0){case 0:case 2:case 3:e=g==h;break a;case 1:case 4:e=g!=h;break a;case 5:e=g>h;break a;case 6:e=g>=h;break a;case 7:e=g<h;break a;case 8:break u;default:break a}}e=g<=h;break a;case 4:c=v[c+8>>2];a=v[a+8>>2];v:{switch((b&65535)-22|0){case 0:e=(a|0)==(c|0);break a;case 2:case 3:e=(a|0)==(c|0)|(a|0)>1;break a;case 1:e=(a|0)!=(c|0);break a;case 4:e=(a|0)!=(c|0)&(a|0)<2;break a;case 5:e=(a|0)!=(c|0)&(c|0)>1;break a;case 6:e=(a|0)==(c|0)|(c|0)>1;break a;case 7:e=(a|0)!=(c|0)&(a|0)>1;break a;case 8:break v;default:break a}}e=(a|0)==(c|0)|(a|0)>1;break a;case 3:f=c;c=v[c+8>>2];c=c&1?f+(c&-2)|0:c;f=a;a=v[a+8>>2];a=a&1?f+(a&-2)|0:a;w:{switch((b&65535)-22|0){case 0:case 3:if(b&65536){e=!Db(a,c);break a}e=!id(a,c);break a;case 2:e=(Ht(a,c)|0)!=0;break a;case 1:if(b&65536){e=(Db(a,c)|0)!=0;break a}e=(id(a,c)|0)!=0;break a;case 4:break w;default:break a}}e=!Ht(a,c);break a;case 5:b=b&65535;if(b>>>0>26){break a}b=1<<b;if(b&54525952){break c}if(!(b&75497472)){break a}e=!uu(v[a+8>>2],v[c+8>>2]);break a;case 6:f=c;c=v[c+8>>2];c=c&1?f+(c&-2)|0:c;f=a;a=v[a+8>>2];a=a&1?f+(a&-2)|0:a;x:{switch((b&65535)-22|0){case 2:case 3:e=km(c,a);break a;case 4:e=!km(c,a);break a;case 0:e=au(a,c);break a;case 1:break x;default:break a}}e=!au(a,c);break a;case 8:f=c;c=v[c+8>>2];c=c&1?f+(c&-2)|0:c;f=a;a=v[a+8>>2];a=a&1?f+(a&-2)|0:a;y:{switch((b&65535)-22|0){case 2:case 3:e=Zi(a,c);break a;case 4:e=!Zi(a,c);break a;case 0:e=Kt(a,c);break a;case 1:break y;default:break a}}e=!Kt(a,c);break a;case 7:b=b&65535;if(b>>>0>26){break a}b=1<<b;if(b&54525952){break b}if(!(b&75497472)){break a}e=v[a+8>>2]!=v[c+8>>2];break a;case 9:b=a;a=v[a+8>>2];a=a&1?b+(a&-2)|0:a;b=v[c+8>>2];b=b&1?(b&-2)+c|0:b;c=0;z:{A:{switch(i-22|0){case 0:if(A[a>>3]!=A[b>>3]){break z}c=A[a+8>>3]==A[b+8>>3];break z;case 2:case 3:if(!(A[a>>3]>=A[b>>3])){break z}c=A[a+8>>3]<=A[b+8>>3];break z;case 1:c=1;if(A[a>>3]!=A[b>>3]){break z}c=A[a+8>>3]!=A[b+8>>3];break z;case 4:c=1;if(!(A[a>>3]>=A[b>>3])){break z}c=!(A[a+8>>3]<=A[b+8>>3]);break z;case 5:c=A[a+8>>3]<A[b>>3];break z;case 6:c=A[a+8>>3]<=A[b>>3];break z;case 7:c=A[a>>3]>A[b+8>>3];break z;case 8:break A;default:break z}}c=A[a>>3]>=A[b+8>>3]}e=c;break a;case 0:break s;default:break a}}a=b-22|0;if((a&65535)>>>0>=4){break a}e=v[(a<<16>>16<<2)+516304>>2];break a}e=(i|0)==26|(i|0)==23;break a}e=uu(v[a+8>>2],v[c+8>>2]);break a}e=v[a+8>>2]==v[c+8>>2]}Ca=d+560|0;return e}function Hv(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,w=0,x=0,y=0,z=0,A=0;t=g?a+1032|0:a;v[t>>2]=0;q=g?a+1548|0:a+516|0;v[q>>2]=0;if(b>>>0>=2){while(1){a=c+2|0;m=h&1;p=u[(m?c:a)>>1];r=u[(m?a:c)>>1]-p|0;g=m?t:q;a=g+4|0;h=m?w:n;a:{b:{if(!h){break b}g=(g+(h<<5)|0)+4|0;while(1){i=v[a>>2];if((i|0)>(p|0)){k=h-1|0;g=h&3;if(g){while(1){j=(h<<5)+a|0;h=h-1|0;i=(h<<5)+a|0;o=v[i+4>>2];v[j>>2]=v[i>>2];v[j+4>>2]=o;l=v[i+28>>2];v[j+24>>2]=v[i+24>>2];v[j+28>>2]=l;l=v[i+20>>2];v[j+16>>2]=v[i+16>>2];v[j+20>>2]=l;l=v[i+12>>2];v[j+8>>2]=v[i+8>>2];v[j+12>>2]=l;g=g-1|0;if(g){continue}break}}if(k>>>0<3){break b}while(1){k=(h<<5)+a|0;i=k+-64|0;g=i;o=v[g>>2];s=v[g+4>>2];j=k-96|0;g=j;l=v[g+4>>2];v[i>>2]=v[g>>2];v[i+4>>2]=l;g=k-32|0;x=v[g+4>>2];v[k>>2]=v[g>>2];v[k+4>>2]=x;v[g>>2]=o;v[g+4>>2]=s;l=v[i+24>>2];o=v[i+28>>2];s=v[j+28>>2];v[i+24>>2]=v[j+24>>2];v[i+28>>2]=s;s=v[i+16>>2];x=v[i+20>>2];y=v[j+20>>2];v[i+16>>2]=v[j+16>>2];v[i+20>>2]=y;y=v[i+8>>2];A=v[i+12>>2];z=v[j+12>>2];v[i+8>>2]=v[j+8>>2];v[i+12>>2]=z;i=v[g+24>>2];z=v[g+28>>2];v[g+24>>2]=l;v[g+28>>2]=o;l=v[g+16>>2];o=v[g+20>>2];v[g+16>>2]=s;v[g+20>>2]=x;s=v[g+8>>2];x=v[g+12>>2];v[g+8>>2]=y;v[g+12>>2]=A;v[k+24>>2]=i;v[k+28>>2]=z;v[k+16>>2]=l;v[k+20>>2]=o;v[k+8>>2]=s;v[k+12>>2]=x;h=h-4|0;g=(h<<5)+a|0;i=v[g+28>>2];v[j+24>>2]=v[g+24>>2];v[j+28>>2]=i;i=v[g+20>>2];v[j+16>>2]=v[g+16>>2];v[j+20>>2]=i;i=v[g+12>>2];v[j+8>>2]=v[g+8>>2];v[j+12>>2]=i;i=v[g+4>>2];v[j>>2]=v[g>>2];v[j+4>>2]=i;if(h){continue}break}break b}if((i|0)==(p|0)){g=v[a+4>>2];if((r|0)<=-1){if((g|0)<=(r|0)){break a}v[a+4>>2]=r;break a}if((g|0)>=(r|0)){break a}v[a+4>>2]=r;break a}a=a+32|0;h=h-1|0;if(h){continue}break}a=g}v[a+4>>2]=r;v[a>>2]=p;if(m){w=w+1|0;break a}n=n+1|0}c=c+4|0;h=1;b=b-2|0;if(b>>>0>1){continue}break}}v[t>>2]=w;v[q>>2]=n;if(d>>>0>=2){c=q+4|0;while(1){r=u[e+2>>1];k=u[e>>1]-r|0;b=c;c:{d:{if(!n){break d}b=((n<<5)+q|0)+4|0;a=c;h=n;while(1){g=v[a>>2];if((g|0)>(r|0)){j=h-1|0;g=h&3;if(g){while(1){i=(h<<5)+a|0;h=h-1|0;b=(h<<5)+a|0;p=v[b+4>>2];v[i>>2]=v[b>>2];v[i+4>>2]=p;m=v[b+28>>2];v[i+24>>2]=v[b+24>>2];v[i+28>>2]=m;m=v[b+20>>2];v[i+16>>2]=v[b+16>>2];v[i+20>>2]=m;m=v[b+12>>2];v[i+8>>2]=v[b+8>>2];v[i+12>>2]=m;g=g-1|0;if(g){continue}break}}if(j>>>0>=3){while(1){j=(h<<5)+a|0;g=j+-64|0;p=v[g>>2];l=v[g+4>>2];i=j-96|0;m=v[i+4>>2];v[g>>2]=v[i>>2];v[g+4>>2]=m;b=j-32|0;o=v[b+4>>2];v[j>>2]=v[b>>2];v[j+4>>2]=o;v[b>>2]=p;v[b+4>>2]=l;m=v[g+24>>2];p=v[g+28>>2];l=v[i+28>>2];v[g+24>>2]=v[i+24>>2];v[g+28>>2]=l;l=v[g+16>>2];o=v[g+20>>2];s=v[i+20>>2];v[g+16>>2]=v[i+16>>2];v[g+20>>2]=s;s=v[g+8>>2];x=v[g+12>>2];y=v[i+12>>2];v[g+8>>2]=v[i+8>>2];v[g+12>>2]=y;g=v[b+24>>2];y=v[b+28>>2];v[b+24>>2]=m;v[b+28>>2]=p;m=v[b+16>>2];p=v[b+20>>2];v[b+16>>2]=l;v[b+20>>2]=o;l=v[b+8>>2];o=v[b+12>>2];v[b+8>>2]=s;v[b+12>>2]=x;v[j+24>>2]=g;v[j+28>>2]=y;v[j+16>>2]=m;v[j+20>>2]=p;v[j+8>>2]=l;v[j+12>>2]=o;h=h-4|0;b=(h<<5)+a|0;g=v[b+28>>2];v[i+24>>2]=v[b+24>>2];v[i+28>>2]=g;g=v[b+20>>2];v[i+16>>2]=v[b+16>>2];v[i+20>>2]=g;g=v[b+12>>2];v[i+8>>2]=v[b+8>>2];v[i+12>>2]=g;g=v[b+4>>2];v[i>>2]=v[b>>2];v[i+4>>2]=g;if(h){continue}break}}b=a;break d}if((g|0)==(r|0)){b=v[a+4>>2];if((k|0)<=-1){if((b|0)<=(k|0)){break c}v[a+4>>2]=k;break c}if((b|0)>=(k|0)){break c}v[a+4>>2]=k;break c}a=a+32|0;h=h-1|0;if(h){continue}break}}v[b+4>>2]=k;v[b>>2]=r;n=n+1|0}e=e+4|0;d=d-2|0;if(d>>>0>1){continue}break}}v[t>>2]=w;v[q>>2]=n;e:{if(!w){break e}h=t+4|0;a=w;while(1){f:{g:{switch(a|0){case 1:b=v[h+4>>2];g=v[h>>2];break f;case 0:break e;default:break g}}g=v[h>>2];b=v[h+32>>2]-g|0;c=v[h+4>>2];if((b|0)>=(c|0)){b=c;break f}v[h+4>>2]=b}v[h+12>>2]=g;v[h+8>>2]=b+g;h=h+32|0;a=a-1|0;continue}}h:{if(!n){break h}h=q+4|0;a=n;while(1){i:{j:{switch(a|0){case 1:b=v[h+4>>2];g=v[h>>2];break i;case 0:break h;default:break j}}g=v[h>>2];b=g-v[h+32>>2]|0;c=v[h+4>>2];if((b|0)<=(c|0)){b=c;break i}v[h+4>>2]=b}v[h+8>>2]=g;v[h+12>>2]=b+g;h=h+32|0;a=a-1|0;continue}}if(w){h=t+4|0;v[t+16>>2]=v[t+16>>2]-f;a=v[t+12>>2];g=w-1|0;k:{if(!g){b=h;break k}while(1){b=v[h+44>>2];c=(b-a|0)/2|0;d=c+a|0;e=a+f|0;a=(c|0)<(f|0);v[h+8>>2]=a?d:e;v[h+44>>2]=a?d:b-f|0;a=v[h+40>>2];b=h+32|0;h=b;g=g-1|0;if(g){continue}break}}v[b+8>>2]=a+f}if(n){h=q+4|0;v[q+16>>2]=v[q+16>>2]-f;a=v[q+12>>2];g=n-1|0;l:{if(!g){b=h;break l}while(1){b=v[h+44>>2];c=(b-a|0)/2|0;d=c+a|0;e=a+f|0;a=(c|0)<(f|0);v[h+8>>2]=a?d:e;v[h+44>>2]=a?d:b-f|0;a=v[h+40>>2];b=h+32|0;h=b;g=g-1|0;if(g){continue}break}}v[b+8>>2]=a+f}}function Co(a,b,c){var d=0,e=0;a:{b:{c:{switch(c-1|0){case 0:d:{e:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}c=a;f:{g:{h:{d=v[b+4>>2];b=v[d>>2];if((b|0)>=0){a=v[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break g}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>214748363)){b=gb(v[d+8>>2],B(a,20));if(b){break h}}v[d>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break f}v[d>>2]=a;v[d+8>>2]=b;a=v[d+4>>2]}if(a>>>0<e>>>0){Ra(v[d+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[d+4>>2]=e;a=(v[d+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=439;break a}c=a;i:{j:{k:{d=v[b+4>>2];b=v[d>>2];if((b|0)>=0){a=v[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break j}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>214748363)){b=gb(v[d+8>>2],B(a,20));if(b){break k}}v[d>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break i}v[d>>2]=a;v[d+8>>2]=b;a=v[d+4>>2]}if(a>>>0<e>>>0){Ra(v[d+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[d+4>>2]=e;a=(v[d+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=440;break a;case 1:if((w[a+1|0]|w[a|0]<<8)!=1){break b}c=a;l:{m:{n:{d=v[b+4>>2];b=v[d>>2];if((b|0)>=0){a=v[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break m}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>214748363)){b=gb(v[d+8>>2],B(a,20));if(b){break n}}v[d>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break l}v[d>>2]=a;v[d+8>>2]=b;a=v[d+4>>2]}if(a>>>0<e>>>0){Ra(v[d+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[d+4>>2]=e;a=(v[d+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=441;break a;case 2:if((w[a+1|0]|w[a|0]<<8)!=1){break b}c=a;o:{p:{q:{d=v[b+4>>2];b=v[d>>2];if((b|0)>=0){a=v[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break p}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>214748363)){b=gb(v[d+8>>2],B(a,20));if(b){break q}}v[d>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break o}v[d>>2]=a;v[d+8>>2]=b;a=v[d+4>>2]}if(a>>>0<e>>>0){Ra(v[d+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[d+4>>2]=e;a=(v[d+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=442;break a;case 3:if((w[a+1|0]|w[a|0]<<8)!=1){break b}c=a;r:{s:{t:{d=v[b+4>>2];b=v[d>>2];if((b|0)>=0){a=v[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break s}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>214748363)){b=gb(v[d+8>>2],B(a,20));if(b){break t}}v[d>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break r}v[d>>2]=a;v[d+8>>2]=b;a=v[d+4>>2]}if(a>>>0<e>>>0){Ra(v[d+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[d+4>>2]=e;a=(v[d+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=443;break a;case 4:u:{v:{w:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break u;case 1:break v;case 0:break w;default:break b}}oo(b,a);return}no(b,a);return}mo(b,a);return;case 5:x:{y:{z:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break x;case 1:break y;case 0:break z;default:break b}}lo(b,a);return}ko(b,a);return}jo(b,a);return;case 6:if((w[a+1|0]|w[a|0]<<8)==1){c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);Co(c?c+a|0:280448,b,w[a+3|0]|w[a+2|0]<<8)}return;case 7:break c;default:break b}}if((w[a+1|0]|w[a|0]<<8)!=1){break b}c=a;A:{B:{C:{d=v[b+4>>2];b=v[d>>2];if((b|0)>=0){a=v[d+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=b>>>0){break B}a=b;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<b>>>0|a>>>0>214748363)){b=gb(v[d+8>>2],B(a,20));if(b){break C}}v[d>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break A}v[d>>2]=a;v[d+8>>2]=b;a=v[d+4>>2]}if(a>>>0<e>>>0){Ra(v[d+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[d+4>>2]=e;a=(v[d+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=450;v[a>>2]=c;v[a+16>>2]=0;b=w[c+3|0]|w[c+2|0]<<8;Wd(b?b+c|0:280448,a+8|0)}return}v[a>>2]=c;v[a+16>>2]=0;b=w[c+3|0]|w[c+2|0]<<8;Wd(b?b+c|0:280448,a+8|0)}function NJ(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,q=0,r=0,s=0,t=0,v=0,w=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;v=d<<4;w=B(c+15&-16,d);E=c<<1;A=E+4|0;a:{if(A>>>0<17){break a}if(d){C=16;while(1){D=1;while(1){c=q>>>0<w>>>0?(q<<1)+b|0:448064;m=x[c+16>>1];j=x[c+18>>1];f=x[c+20>>1];g=x[c+22>>1];h=x[c+24>>1];y=x[c+28>>1];F=x[c+30>>1];i=x[c+26>>1];k=q-v|0;k=k>>>0<w>>>0?(k<<1)+b|0:448064;G=x[k+28>>1];z=x[k+30>>1];k=x[c>>1];l=x[c+2>>1];n=x[c+4>>1];o=x[c+6>>1];p=x[c+8>>1];s=x[c+12>>1];t=x[c+14>>1];c=x[c+10>>1];r=(s+((t+c&65534)>>>1|0)&65534)>>>1|0;e=s+1|0;u[a+30>>1]=(e+((r+t&65534)>>>1|0)&65534)>>>1;u[a+28>>1]=(e+((c+r&65534)>>>1|0)&65534)>>>1;e=c+1|0;r=(c+((p+s&65534)>>>1|0)&65534)>>>1|0;u[a+26>>1]=(e+((r+s&65534)>>>1|0)&65534)>>>1;u[a+24>>1]=(e+((p+r&65534)>>>1|0)&65534)>>>1;r=p+1|0;e=c;c=(p+((c+o&65534)>>>1|0)&65534)>>>1|0;u[a+22>>1]=(r+((e+c&65534)>>>1|0)&65534)>>>1;u[a+20>>1]=(r+((c+o&65534)>>>1|0)&65534)>>>1;c=(o+((n+p&65534)>>>1|0)&65534)>>>1|0;e=(c+p&65534)>>>1|0;p=o+1|0;u[a+18>>1]=(e+p&65534)>>>1;u[a+16>>1]=(p+((c+n&65534)>>>1|0)&65534)>>>1;c=(n+((l+o&65534)>>>1|0)&65534)>>>1|0;e=(c+o&65534)>>>1|0;o=n+1|0;u[a+14>>1]=(e+o&65534)>>>1;u[a+12>>1]=(o+((c+l&65534)>>>1|0)&65534)>>>1;c=(l+((k+n&65534)>>>1|0)&65534)>>>1|0;e=(c+n&65534)>>>1|0;n=l+1|0;u[a+10>>1]=(e+n&65534)>>>1;u[a+8>>1]=(n+((c+k&65534)>>>1|0)&65534)>>>1;c=(k+((l+z&65534)>>>1|0)&65534)>>>1|0;e=(c+l&65534)>>>1|0;l=k+1|0;u[a+6>>1]=(e+l&65534)>>>1;u[a+4>>1]=(l+((c+z&65534)>>>1|0)&65534)>>>1;c=(((k+G&65534)>>>1|0)+z&65534)>>>1|0;e=(c+k&65534)>>>1|0;k=z+1|0;u[a+2>>1]=(e+k&65534)>>>1;u[a>>1]=(k+((c+G&65534)>>>1|0)&65534)>>>1;k=v<<1;c=k+a|0;n=y+1|0;l=(((i+F&65534)>>>1|0)+y&65534)>>>1|0;u[c+30>>1]=(n+((l+F&65534)>>>1|0)&65534)>>>1;u[c+28>>1]=(n+((i+l&65534)>>>1|0)&65534)>>>1;n=i+1|0;l=(i+((h+y&65534)>>>1|0)&65534)>>>1|0;u[c+26>>1]=(n+((l+y&65534)>>>1|0)&65534)>>>1;u[c+24>>1]=(n+((h+l&65534)>>>1|0)&65534)>>>1;l=h+1|0;e=i;i=(h+((g+i&65534)>>>1|0)&65534)>>>1|0;u[c+22>>1]=(l+((e+i&65534)>>>1|0)&65534)>>>1;u[c+20>>1]=(l+((g+i&65534)>>>1|0)&65534)>>>1;i=g+1|0;e=h;h=(g+((f+h&65534)>>>1|0)&65534)>>>1|0;u[c+18>>1]=(i+((e+h&65534)>>>1|0)&65534)>>>1;u[c+16>>1]=(i+((f+h&65534)>>>1|0)&65534)>>>1;h=f+1|0;i=g;g=(f+((j+g&65534)>>>1|0)&65534)>>>1|0;u[c+14>>1]=(h+((i+g&65534)>>>1|0)&65534)>>>1;u[c+12>>1]=(h+((j+g&65534)>>>1|0)&65534)>>>1;g=j+1|0;h=f;f=(j+((f+m&65534)>>>1|0)&65534)>>>1|0;u[c+10>>1]=(g+((h+f&65534)>>>1|0)&65534)>>>1;u[c+8>>1]=(g+((f+m&65534)>>>1|0)&65534)>>>1;f=m+1|0;g=j;j=(m+((j+t&65534)>>>1|0)&65534)>>>1|0;u[c+6>>1]=(f+((g+j&65534)>>>1|0)&65534)>>>1;u[c+4>>1]=(f+((j+t&65534)>>>1|0)&65534)>>>1;j=t+1|0;f=m;m=(((m+s&65534)>>>1|0)+t&65534)>>>1|0;u[c+2>>1]=(j+((f+m&65534)>>>1|0)&65534)>>>1;u[c>>1]=(j+((m+s&65534)>>>1|0)&65534)>>>1;q=q+16|0;a=a+32|0;if((d|0)!=(D|0)){D=D+1|0;continue}break}a=a+k|0;C=C+32|0;if(C>>>0<A>>>0){continue}break}break a}c=48;q=v<<1;while(1){a=a+q|0;if(c>>>0<A>>>0){c=c+32|0;continue}break}q=0}b:{if(!d|E+3&16){break b}l=1;while(1){c=q-v|0;c=c>>>0<w>>>0?(c<<1)+b|0:448064;n=x[c+28>>1];k=x[c+30>>1];c=q>>>0<w>>>0?(q<<1)+b|0:448064;m=x[c>>1];j=x[c+2>>1];f=x[c+4>>1];g=x[c+6>>1];h=x[c+8>>1];p=x[c+14>>1];i=x[c+10>>1];c=x[c+12>>1];o=(((p+i&65534)>>>1|0)+c&65534)>>>1|0;e=(o+p&65534)>>>1|0;p=c+1|0;u[a+30>>1]=(e+p&65534)>>>1;u[a+28>>1]=(p+((i+o&65534)>>>1|0)&65534)>>>1;o=i+1|0;e=c;c=(i+((c+h&65534)>>>1|0)&65534)>>>1|0;u[a+26>>1]=(o+((e+c&65534)>>>1|0)&65534)>>>1;u[a+24>>1]=(o+((c+h&65534)>>>1|0)&65534)>>>1;c=(h+((g+i&65534)>>>1|0)&65534)>>>1|0;e=(c+i&65534)>>>1|0;i=h+1|0;u[a+22>>1]=(e+i&65534)>>>1;u[a+20>>1]=(i+((c+g&65534)>>>1|0)&65534)>>>1;c=(g+((f+h&65534)>>>1|0)&65534)>>>1|0;i=(c+h&65534)>>>1|0;h=g+1|0;u[a+18>>1]=(i+h&65534)>>>1;u[a+16>>1]=(h+((c+f&65534)>>>1|0)&65534)>>>1;c=(f+((j+g&65534)>>>1|0)&65534)>>>1|0;h=(c+g&65534)>>>1|0;g=f+1|0;u[a+14>>1]=(h+g&65534)>>>1;u[a+12>>1]=(g+((c+j&65534)>>>1|0)&65534)>>>1;c=(j+((f+m&65534)>>>1|0)&65534)>>>1|0;g=(c+f&65534)>>>1|0;f=j+1|0;u[a+10>>1]=(g+f&65534)>>>1;u[a+8>>1]=(f+((c+m&65534)>>>1|0)&65534)>>>1;c=(m+((j+k&65534)>>>1|0)&65534)>>>1|0;f=(c+j&65534)>>>1|0;j=m+1|0;u[a+6>>1]=(f+j&65534)>>>1;u[a+4>>1]=(j+((c+k&65534)>>>1|0)&65534)>>>1;c=(k+((m+n&65534)>>>1|0)&65534)>>>1|0;j=(c+m&65534)>>>1|0;m=k+1|0;u[a+2>>1]=(j+m&65534)>>>1;u[a>>1]=(m+((c+n&65534)>>>1|0)&65534)>>>1;if((d|0)==(l|0)){break b}q=q+16|0;a=a+32|0;l=l+1|0;continue}}}function et(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,u=0,x=0,y=0,z=0,B=0;f=Ca-256|0;Ca=f;x=v[a+272>>2];v[a+272>>2]=1;j=v[a+352>>2];p=j+104|0;a:{b:{if(v[j+104>>2]){break b}if(_a(p)){break b}h=1;break a}y=j+132|0;r=a+424|0;s=a+412|0;k=j+116|0;q=v[130915];z=f- -64|0;c:{while(1){v[f+248>>2]=c;g=Ea[v[b+20>>2]](b,c,d,f+248|0)|0;if(!ye(a,g,c,v[f+248>>2],5803,e)){b=a;while(1){c=b;b=v[c+472>>2];if(b){continue}break}h=43;if(v[c+512>>2]<1){break c}b=v[c+504>>2];j=v[c+508>>2];u=1;d=v[c+500>>2];e=d;g=v[c+496>>2];if(e|g){i=e+j|0;k=b+g|0;u=+C(C(+(k>>>0)+ +((b>>>0>k>>>0?i+1|0:i)>>>0)*4294967296)/C(+(g>>>0)+ +(e>>>0)*4294967296))}v[f+32>>2]=509254;A[f+24>>3]=u;v[f+16>>2]=b;v[f+20>>2]=j;v[f+8>>2]=g;v[f+12>>2]=e;v[f>>2]=c;Nd(q,509100,f);break c}h=0;d:{e:{f:{g:{switch(g+4|0){case 32:if(!(v[a+144>>2]==(b|0)?w[a+484|0]:1)){break d}g=v[f+248>>2];h=v[b+64>>2];v[f+252>>2]=h+c;h:{i:{if(!v[r>>2]){if(!_a(s)){break i}}g=g-h|0;while(1){if(Ea[v[b+56>>2]](b,f+252|0,g,r,v[a+420>>2])>>>0<2){break h}if(_a(s)){continue}break}}h=1;break c}h=1;if(!v[a+428>>2]){break c}g=v[a+424>>2];if((g|0)==v[a+420>>2]){if(!_a(s)){break c}g=v[r>>2]}v[a+424>>2]=g+1;t[g|0]=0;g=v[a+428>>2];if(!g){break c}i=vc(a,y,g,0);v[a+424>>2]=v[a+428>>2];if(!i){t[j+128|0]=w[j+130|0];h=0;break c}if(w[i+32|0]){h=12;if(v[a+144>>2]!=(b|0)){break c}v[a+284>>2]=c;break c}if(v[i+16>>2]){if(!v[a+112>>2]){break f}t[j+131|0]=0;t[i+32|0]=1;g=a;while(1){c=g;g=v[c+472>>2];if(g){continue}break}l=v[c+528>>2]+1|0;v[c+528>>2]=l;g=v[c+532>>2]+1|0;v[c+532>>2]=g;h=v[c+536>>2];if(g>>>0>h>>>0){h=h+1|0;v[c+536>>2]=h}if(v[c+540>>2]>=1){m=w[i+33|0];n=v[i>>2];o=v[i+8>>2];v[f+232>>2]=5846;v[f+228>>2]=o;v[f+224>>2]=509358;v[f+220>>2]=n;v[f+212>>2]=509099;v[f+216>>2]=m?508104:508106;v[f+200>>2]=g;v[f+208>>2]=(g<<1)-2;v[f+204>>2]=h;v[f+196>>2]=l;v[f+192>>2]=c;$b(q,509364,f+192|0)}g=a;if(!(Ea[v[g+112>>2]](v[g+116>>2],0,v[i+20>>2],v[i+16>>2],v[i+24>>2])|0)){Il(a,i,5850);t[i+32|0]=0;h=21;break c}while(1){c=g;g=v[c+472>>2];if(g){continue}break}if(v[c+540>>2]>=1){h=v[c+536>>2];g=v[c+532>>2];l=v[c+528>>2];m=w[i+33|0];n=v[i>>2];o=v[i+8>>2];v[f+184>>2]=5855;v[f+180>>2]=o;v[f+176>>2]=509449;v[f+172>>2]=n;v[f+168>>2]=m?508104:508106;v[f+164>>2]=509099;v[f+160>>2]=(g<<1)-2;v[f+156>>2]=h;v[f+152>>2]=g;v[f+148>>2]=l;v[f+144>>2]=c;$b(q,509364,f+144|0)}v[c+532>>2]=v[c+532>>2]-1;t[i+32|0]=0;if(w[j+131|0]){break e}t[j+128|0]=w[j+130|0];c=v[f+248>>2];continue}t[i+32|0]=1;g=a;while(1){c=g;g=v[c+472>>2];if(g){continue}break};l=v[c+528>>2]+1|0;v[c+528>>2]=l;g=v[c+532>>2]+1|0;v[c+532>>2]=g;h=v[c+536>>2];if(g>>>0>h>>>0){h=h+1|0;v[c+536>>2]=h}if(v[c+540>>2]>=1){m=w[i+33|0];n=v[i>>2];o=v[i+8>>2];v[f+136>>2]=5863;v[f+132>>2]=o;v[f+128>>2]=509358;v[f+124>>2]=n;v[f+116>>2]=509099;v[f+120>>2]=m?508104:508106;v[f+104>>2]=g;v[f+112>>2]=(g<<1)-2;v[f+108>>2]=h;v[f+100>>2]=l;v[f+96>>2]=c;$b(q,509364,f+96|0)}c=v[i+4>>2];h=et(a,v[a+224>>2],c,c+v[i+8>>2]|0,1);g=a;while(1){c=g;g=v[c+472>>2];if(g){continue}break};if(v[c+540>>2]>=1){l=v[c+536>>2];g=v[c+532>>2];m=v[c+528>>2];n=w[i+33|0];o=v[i>>2];B=v[i+8>>2];v[f+88>>2]=5868;v[f+84>>2]=B;v[f+80>>2]=509449;v[f+76>>2]=o;v[f+72>>2]=n?508104:508106;v[f+68>>2]=509099;v[z>>2]=(g<<1)-2;v[f+60>>2]=l;v[f+56>>2]=g;v[f+52>>2]=m;v[f+48>>2]=c;$b(q,509364,f+48|0)}v[c+532>>2]=v[c+532>>2]-1;t[i+32|0]=0;if(!h){break e}break c;case 10:case 13:g=v[f+248>>2];v[f+252>>2]=c;j:{k:{if(!v[k>>2]){if(!_a(p)){break k}}while(1){if(Ea[v[b+56>>2]](b,f+252|0,g,k,v[j+112>>2])>>>0<2){break j}if(_a(p)){continue}break}}h=1;break c}if(v[j+120>>2]){break e}h=1;break c;case 1:v[f+248>>2]=v[b+64>>2]+c;case 11:g=v[j+116>>2];if((g|0)==v[j+112>>2]){if(!_a(p)){h=1;break c}g=v[k>>2]}v[k>>2]=g+1;t[g|0]=10;c=v[f+248>>2];continue;case 14:g=Ea[v[b+40>>2]](b,c)|0;if((g|0)<=-1){h=14;if(v[a+144>>2]!=(b|0)){break c}v[a+284>>2]=c;break c}c=0;h=Sl(g,f+252|0);if((h|0)<1){break e}while(1){g=v[j+116>>2];if((g|0)==v[j+112>>2]){if(!_a(p)){h=1;break c}g=v[k>>2]}i=w[(f+252|0)+c|0];v[k>>2]=g+1;t[g|0]=i;c=c+1|0;if((h|0)!=(c|0)){continue}break};break e;case 3:h=4;if(v[a+144>>2]!=(b|0)){break c}v[a+284>>2]=c;break c;case 4:h=4;if(v[a+144>>2]!=(b|0)){break c}v[a+284>>2]=v[f+248>>2];break c;case 0:break c;default:break g}}h=23;if(v[a+144>>2]!=(b|0)){break c}v[a+284>>2]=c;break c}t[j+128|0]=w[j+130|0]}c=v[f+248>>2];continue}break}v[a+284>>2]=c;h=10}v[a+272>>2]=x}Ca=f+256|0;return h}function CN(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,z=0,A=0,C=0,D=0,E=0,F=0;i=Ca-432|0;Ca=i;C=v[b+92>>2];v[a+40>>2]=x[b+68>>1];if(!nf(b,1970170211)){cw(a,b);c=v[v[a>>2]+12>>2];r=df();g=(c<<3)+287776|0;d=v[g>>2];if((d|0)!=5531){D=a+7720|0;E=a+44|0;while(1){m=g;g=d+282240|0;d=w[g|0];a:{if(!d){break a}s=w[m+4|0]&2?E:D;q=0;n=0;z=1;while(1){c=d&255;if((c|0)!=32){b:{c:{if((c|0)==124){g=g+1|0;break c}g=hg(g,a,r,i+12|0);if(y[i+12>>2]>1){break b}c=i+428|0;if(c){v[c>>2]=v[r+76>>2]}c=v[r+88>>2];cf(r,i+428|0);if(!v[i+428>>2]){break b}c=v[c>>2];if(!c){break b}if(fd(b,c,1)){break b}c=v[b+84>>2];if(u[c+110>>1]<3){break b}e=0;A=u[c+108>>1];d:{if((A|0)<1){d=0;break d}F=v[c+120>>2];j=v[c+112>>2];f=-1;l=0;d=0;while(1){k=u[(l<<1)+F>>1];e:{if((k|0)<=(e|0)){break e}h=x[m+4>>1];c=h&1;if(h&2){if(c){if((k-e|0)+1&1){c=v[j+(e<<3)>>2];h=(f|0)<0|(c|0)>(d|0);f=h?e:f;d=h?c:d;c=e+1|0}else{c=e}if((e|0)==(k|0)){break e}while(1){e=f;h=(f|0)<0;f=v[j+(c<<3)>>2];h=h|(f|0)>(d|0);o=h?c:e;e=c+1|0;p=v[j+(e<<3)>>2];h=h?f:d;d=(o|0)<0|(p|0)>(h|0);f=d?e:o;d=d?p:h;c=c+2|0;if((e|0)!=(k|0)){continue}break}break e}if((k-e|0)+1&1){c=v[j+(e<<3)>>2];h=(f|0)<0|(c|0)<(d|0);f=h?e:f;d=h?c:d;c=e+1|0}else{c=e}if((e|0)==(k|0)){break e}while(1){e=f;h=(f|0)<0;f=v[j+(c<<3)>>2];h=h|(f|0)<(d|0);o=h?c:e;e=c+1|0;p=v[j+(e<<3)>>2];h=h?f:d;d=(o|0)<0|(p|0)<(h|0);f=d?e:o;d=d?p:h;c=c+2|0;if((e|0)!=(k|0)){continue}break}break e}if(c){if((k-e|0)+1&1){c=v[(j+(e<<3)|0)+4>>2];h=(f|0)<0|(c|0)>(d|0);f=h?e:f;d=h?c:d;c=e+1|0}else{c=e}if((e|0)==(k|0)){break e}while(1){e=f;h=(f|0)<0;f=v[(j+(c<<3)|0)+4>>2];h=h|(f|0)>(d|0);o=h?c:e;e=c+1|0;p=v[(j+(e<<3)|0)+4>>2];h=h?f:d;d=(o|0)<0|(p|0)>(h|0);f=d?e:o;d=d?p:h;c=c+2|0;if((e|0)!=(k|0)){continue}break}break e}if((k-e|0)+1&1){c=v[(j+(e<<3)|0)+4>>2];h=(f|0)<0|(c|0)<(d|0);f=h?e:f;d=h?c:d;c=e+1|0}else{c=e}if((e|0)==(k|0)){break e}while(1){e=f;h=(f|0)<0;f=v[(j+(c<<3)|0)+4>>2];h=h|(f|0)<(d|0);o=h?c:e;e=c+1|0;p=v[(j+(e<<3)|0)+4>>2];h=h?f:d;d=(o|0)<0|(p|0)<(h|0);f=d?e:o;d=d?p:h;c=c+2|0;if((e|0)!=(k|0)){continue}break}}e=k+1|0;l=l+1|0;if((A|0)!=(l|0)){continue}break}}if(z){v[(i+224|0)+(q<<2)>>2]=d;q=q+1|0;break b}v[(i+16|0)+(n<<2)>>2]=d;n=n+1|0}z=0}d=w[g|0];if(d){continue}if(!(n|q)){break a}f:{if(q>>>0<2){break f}c=1;g=q-1|0;k=g&1;if((q|0)!=2){e=g&-2;while(1){f=v[(i+224|0)+(c<<2)>>2];g=c;while(1){d=g-1|0;j=(i+224|0)+(d<<2)|0;l=v[j>>2];if((l|0)>(f|0)){v[(i+224|0)+(g<<2)>>2]=l;v[j>>2]=f;g=d;if(d){continue}}break}g=c+1|0;f=v[(i+224|0)+(g<<2)>>2];while(1){d=g-1|0;j=(i+224|0)+(d<<2)|0;l=v[j>>2];if((l|0)>(f|0)){v[(i+224|0)+(g<<2)>>2]=l;v[j>>2]=f;g=d;if(d){continue}}break}c=c+2|0;e=e-2|0;if(e){continue}break}}if(!k){break f}e=v[(i+224|0)+(c<<2)>>2];while(1){g=c-1|0;d=(i+224|0)+(g<<2)|0;f=v[d>>2];if((f|0)<=(e|0)){break f}v[(i+224|0)+(c<<2)>>2]=f;v[d>>2]=e;c=g;if(c){continue}break}}g:{if(n>>>0<2){break g}c=1;g=n-1|0;k=g&1;if((n|0)!=2){e=g&-2;while(1){f=v[(i+16|0)+(c<<2)>>2];g=c;while(1){d=g-1|0;j=(i+16|0)+(d<<2)|0;l=v[j>>2];if((l|0)>(f|0)){v[(i+16|0)+(g<<2)>>2]=l;v[j>>2]=f;g=d;if(d){continue}}break}g=c+1|0;f=v[(i+16|0)+(g<<2)>>2];while(1){d=g-1|0;j=(i+16|0)+(d<<2)|0;l=v[j>>2];if((l|0)>(f|0)){v[(i+16|0)+(g<<2)>>2]=l;v[j>>2]=f;g=d;if(d){continue}}break}c=c+2|0;e=e-2|0;if(e){continue}break}}if(!k){break g}e=v[(i+16|0)+(c<<2)>>2];while(1){g=c-1|0;d=(i+16|0)+(g<<2)|0;f=v[d>>2];if((f|0)<=(e|0)){break g}v[(i+16|0)+(c<<2)>>2]=f;v[d>>2]=e;c=g;if(c){continue}break}}c=v[s+216>>2];v[s+216>>2]=c+1;c=B(c,28)+s|0;g=c;h:{i:{if(!(!n|!q)){e=v[(i+224|0)+(q<<1&-4)>>2];v[c+220>>2]=e;d=v[(i+16|0)+(n<<1&-4)>>2];v[g+232>>2]=d;if((d|0)==(e|0)){break i}f=x[m+4>>1];if(f&1^(d|0)>=(e|0)){break h}h=g;g=(d+e|0)/2|0;v[h+232>>2]=g;v[c+220>>2]=g;break h}d=g;g=v[((n?n:q)<<1&-4)+(n?i+16|0:i+224|0)>>2];v[d+232>>2]=g;v[c+220>>2]=g}f=x[m+4>>1]}v[c+244>>2]=f<<1&2}else{d=w[g+1|0];g=g+1|0;continue}break}}g=m+8|0;d=v[m+8>>2];if((d|0)!=5531){continue}break}}ne(r);e=0;v[i+240>>2]=v[74624];c=v[74623];v[i+232>>2]=v[74622];v[i+236>>2]=c;c=v[74621];v[i+224>>2]=v[74620];v[i+228>>2]=c;g=i+224|0;f=df();c=0;j:{while(1){g=hg(g,a,f,i+428|0);k:{if(y[i+428>>2]>1){break k}m=i+16|0;if(m){v[m>>2]=v[f+76>>2]}m=v[f+88>>2];d=cf(f,i+16|0);if(!v[i+16>>2]|!v[m>>2]){break k}m=v[d>>2];d=e;e=1;if(!d){c=m;break k}if((c|0)==(m|0)){break k}c=0;break j}if(w[g|0]){continue}break}c=1}ne(f);t[a+32|0]=c}se(b,C);Ca=i+432|0;return 0}function sE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=(e|0)>0?e:0;a:{b:{c:{d:{e:{f:{g:{switch(b|0){case 0:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+437|0];break b;case 1:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;h:{i:{j:{switch(c|0){case 0:a=a+440|0;break i;case 1:a=a+444|0;break i;case 2:a=a+448|0;break i;case 3:break j;default:break h}}a=a+452|0}e=v[a>>2]}v[d>>2]=e;break c;case 2:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;k:{l:{m:{switch(c|0){case 0:a=a+464|0;break l;case 1:a=a+468|0;break l;case 2:a=a+472|0;break l;case 3:break m;default:break k}}a=a+476|0}e=v[a>>2]}v[d>>2]=e;break c;case 3:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+436|0];break b;case 4:a=v[a+364>>2];if(!a){break e}b=Xa(a)+1|0;if(!d|f>>>0<b>>>0){break f}Ta(d,a,b);break f;case 5:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+168>>2];break c;case 6:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+420>>2];break c;case 7:if(y[a+420>>2]<=c>>>0){break e}a=v[v[a+424>>2]+(c<<2)>>2];c=Xa(a);b=c+1|0;if(!d|f>>>0<b>>>0){break f}g=Ta(d,a,b)+c|0,h=0,t[g|0]=h;break f;case 8:if(y[a+420>>2]<=c>>>0){break e}e=v[v[a+432>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0<b>>>0){break f}g=Ta(d,v[v[a+428>>2]+(c<<2)>>2],e)+e|0,h=0,t[g|0]=h;break f;case 9:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+368>>2];break c;case 10:if(v[a+368>>2]!=1|y[a+372>>2]<=c>>>0){break e}c=v[v[a+388>>2]+(c<<2)>>2];a=Xa(c);b=a+1|0;if(!d|f>>>0<b>>>0){break f}g=Ta(d,c,a)+a|0,h=0,t[g|0]=h;break f;case 11:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+404>>2];break c;case 12:b=v[a+416>>2];n:{if(b){b=Mc(c,b);if(!b){break e}c=v[b>>2];break n}if(y[a+404>>2]<=c>>>0){break e}}e=v[a+408>>2];if(!e){break e}a=v[v[a+412>>2]+(c<<2)>>2];b=a+1|0;if(!d|f>>>0<b>>>0){break f}g=Ta(d,v[e+(c<<2)>>2],a)+a|0,h=0,t[g|0]=h;break f;case 13:b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[a+288>>1];break a;case 14:b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[a+290>>1];break a;case 15:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+176|0];break b;case 16:if(w[a+176|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+180>>1];break a;case 24:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+276>>2];break c;case 17:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+284>>2];break c;case 25:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+280>>2];break c;case 18:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+177|0];break b;case 19:if(w[a+177|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+208>>1];break a;case 20:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+178|0];break b;case 21:if(w[a+178|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+228>>1];break a;case 22:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+179|0];break b;case 23:if(w[a+179|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+256>>1];break a;case 26:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+292|0];break b;case 27:if(w[a+292|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+296>>1];break a;case 28:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+293|0];break b;case 29:if(w[a+293|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+322>>1];break a;case 31:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+295|0];break b;case 30:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+294|0];break b;case 32:if(c>>>0>1){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+360>>1];break a;case 33:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+172>>2];break c;case 34:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+356>>2];break c;case 35:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+352>>2];break c;case 41:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+156|0];break b;case 42:b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[a+158>>1];break a;case 43:b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[a+160>>1];break a;case 44:b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[a+164>>1];break a;case 36:a=v[a+132>>2];if(!a){break e}b=Xa(a)+1|0;if(!d|f>>>0<b>>>0){break f}Ta(d,a,b);break f;case 37:a=v[a+136>>2];if(!a){break e}b=Xa(a)+1|0;if(!d|f>>>0<b>>>0){break f}Ta(d,a,b);break f;case 38:a=v[a+140>>2];if(!a){break e}b=Xa(a)+1|0;if(!d|f>>>0<b>>>0){break f}Ta(d,a,b);break f;case 39:a=v[a+144>>2];if(!a){break e}b=Xa(a)+1|0;if(!d|f>>>0<b>>>0){break f}Ta(d,a,b);break f;case 45:break d;case 40:break g;default:break e}}a=v[a+148>>2];if(!a){break e}b=Xa(a)+1|0;if(!d|f>>>0<b>>>0){break f}Ta(d,a,b)}if(b){break c}}return-1}b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+152>>2]}return b|0}return 1}return 2}function nn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=Ca-48|0;Ca=k;c=k;v[c+16>>2]=0;v[c+20>>2]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;g=v[b+32>>2];if((g|0)==-1){g=Xc(b)}t[k+44|0]=1;v[k+40>>2]=g;c=v[b+12>>2];a:{if(c){b=Ea[c|0](b,1668112752,v[b+16>>2])|0;if(b){break a}}b=280448}g=a;h=Ca-16|0;Ca=h;c=k+8|0;d=Hb(b);v[c+28>>2]=d;b:{c:{d:{e:{f:{g:{h:{while(1){t[c+20|0]=e;f=v[d+12>>2];v[c+4>>2]=f;j=v[d+16>>2];v[c+8>>2]=j+f;if((j|0)<=-1){break c}v[c+24>>2]=0;i=c;if(j>>>0>67108862){e=1073741823}else{e=j<<6;e=e>>>0>16384?e:16384;e=e>>>0<1073741823?e:1073741823}v[i+12>>2]=e;v[c>>2]=0;if(!f){Sa(d);v[c+28>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;break d}if(j>>>0<=3){break g}v[c+12>>2]=e-4;if(w[f+1|0]|w[f|0]<<8){break g}v[h+8>>2]=f;i:{e=f+2|0;if(pw(e,c,h+8|0)){if(!v[c+24>>2]){break i}v[c+24>>2]=0;if(f>>>0<y[c+4>>2]){break g}i=v[c+8>>2];if(i>>>0<f>>>0|i-f>>>0<=3){break g}i=v[c+12>>2]-4|0;v[c+12>>2]=i;if(w[f+1|0]|w[f|0]<<8|(i|0)<1){break g}v[h+12>>2]=f;e=pw(e,c,h+12|0);d=v[c+28>>2];if(v[c+24>>2]){break f}Sa(d);v[c+28>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;if(e){break h}break e}if(w[c+20|0]|!v[c+24>>2]){break g}i=xc(b);v[c+4>>2]=i;v[c+8>>2]=i+v[b+16>>2];d=v[c+28>>2];e=1;if(i){continue}break f}break}Sa(v[c+28>>2]);v[c+28>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0}if(v[b+4>>2]){v[b+4>>2]=0}break d}d=v[c+28>>2]}Sa(d);v[c+28>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0}Sa(b);b=280448}Ca=h+16|0;break b}O(280308,280333,194,280350);L()}v[g+44>>2]=b;i=280448;b=b?b:280448;c=y[b+16>>2]<4?280448:v[b+12>>2];e=0;f=k+8|0;if(f){t[f|0]=0}d=280448;g=w[c+3|0]|w[c+2|0]<<8;j:{if(!g){break j}b=g-1|0;while(1){k:{l:{h=b+e>>>1|0;j=c+(h<<3)|0;l=w[j+4|0]<<8|w[j+5|0];m:{if((l|0)==3){if(w[j+7|0]|w[j+6|0]<<8){break m}d=(c+(h<<3)|0)+4|0;break j}if(l>>>0<4){break l}}b=h-1|0;break k}e=h+1|0}if((b|0)>=(e|0)){continue}break}}n:{o:{b=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b){b=b+c|0;if(!f){break n}t[f|0]=1;break n}d=280448;p:{if(!g){break p}b=g-1|0;e=0;while(1){q:{r:{s:{f=b+e>>>1|0;h=c+(f<<3)|0;j=w[h+4|0]<<8|w[h+5|0];t:{if((j|0)==3){h=w[h+7|0]|w[h+6|0]<<8;if(h>>>0>10){break t}if((h|0)==10){break s}break r}if(j>>>0<4){break r}}b=f-1|0;break q}d=(c+(f<<3)|0)+4|0;break p}e=f+1|0}if((b|0)>=(e|0)){continue}break}}b=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(d){break o}d=280448;u:{if(!g){break u}b=g-1|0;e=0;while(1){v:{w:{x:{f=b+e>>>1|0;h=c+(f<<3)|0;if(!(w[h+4|0]<<8|w[h+5|0])){h=w[h+7|0]|w[h+6|0]<<8;if(h>>>0<7){break x}}b=f-1|0;break w}if((h|0)==6){break v}e=f+1|0}if((b|0)>=(e|0)){continue}break u}break}d=(c+(f<<3)|0)+4|0}b=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(d){break o}d=280448;y:{if(!g){break y}b=g-1|0;e=0;while(1){z:{A:{B:{g=b+e>>>1|0;f=c+(g<<3)|0;if(!(w[f+4|0]<<8|w[f+5|0])){f=w[f+7|0]|w[f+6|0]<<8;if(f>>>0<5){break B}}b=g-1|0;break A}if((f|0)==4){break z}e=g+1|0}if((b|0)>=(e|0)){continue}break y}break}d=(c+(g<<3)|0)+4|0}b=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(d){break o}b=Oh(c,3,1);if(b){break n}b=Oh(c,0,3);if(b){break n}b=Oh(c,0,2);if(b){break n}b=Oh(c,0,1);if(b){break n}b=Oh(c,0,0);b=b?b:280448;break n}b=c+d|0}v[a+4>>2]=280448;c=b;v[a>>2]=c;b=v[a+44>>2];b=b?b:280448;e=y[b+16>>2]<4?280448:v[b+12>>2];b=w[e+2|0]<<8|w[e+3|0];C:{if(!b){break C}b=b-1|0;g=0;while(1){D:{E:{F:{d=b+g>>>1|0;f=e+(d<<3)|0;if(!(w[f+4|0]<<8|w[f+5|0])){f=w[f+7|0]|w[f+6|0]<<8;if(f>>>0<6){break F}}b=d-1|0;break E}if((f|0)==5){break D}g=d+1|0}if((b|0)>=(g|0)){continue}break C}break}i=(e+(d<<3)|0)+4|0}b=w[i+4|0]|w[i+5|0]<<8|(w[i+6|0]<<16|w[i+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);G:{if(!b){break G}b=b+e|0;if((w[b|0]<<8|w[b+1|0])!=14){break G}v[a+4>>2]=b}b=c?c:280448;v[a+12>>2]=b;H:{if(w[k+8|0]){g=572;break H}g=573;I:{J:{c=w[b|0]|w[b+1|0]<<8;switch(((c<<8|c>>>8)&65535)-4|0){case 0:break I;case 8:break J;default:break H}}g=574;break H}c=w[b+7|0];e=w[b+6|0];v[a+16>>2]=b+14;e=(c|e<<8)>>>1|0;v[a+36>>2]=e;c=e<<1;g=(c+b|0)+16|0;v[a+20>>2]=g;g=c+g|0;v[a+24>>2]=g;g=c+g|0;v[a+28>>2]=g;v[a+32>>2]=c+g;c=w[b+3|0];b=w[b+2|0];v[a+12>>2]=a+16;v[a+40>>2]=((c|b<<8)-(e<<3)|0)-16>>>1;g=575}v[a+8>>2]=g;Ca=k+48|0}function ZP(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;i=v[c+88>>2];m=v[c+76>>2];g=20;h=1;b=0;while(1){k=w[g+246592|0]==7;a:{if((b|0)==(m|0)){if((g|0)==40){break a}j=t[g+245904|0]-1|0;break a}d=w[(i+B(b,20)|0)+18|0];if((d-1&255)>>>0<=28){b:{d=t[d+246415|0];a=g<<1;if((d|0)>w[a+245953|0]){break b}j=w[a+245952|0];if((j|0)>(d|0)){break b}j=t[u[a+246320>>1]+246048+(d-j)|0];break a}j=t[g+246448|0];break a}j=t[g+246448|0]}a=k?b:e;e=j;d=e&31;c:{if(((e&63)>>>0>=32?56958>>>d|0:((1<<d)-1&56958)<<32-d|-1990440222>>>d)&1){break c}d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{switch(t[j+246544|0]-1|0){case 1:f=b+1|0;break c;case 7:f=b+1|0;if(a>>>0>=f>>>0){break d}g=h<<4|2;e=a;k=b-e|0;d=k+1&7;if(d){while(1){t[(i+B(e,20)|0)+15|0]=g;e=e+1|0;d=d-1|0;if(d){continue}break}}if(k>>>0<=6){break d}while(1){d=i+B(e,20)|0;t[d+35|0]=g;t[d+15|0]=g;t[d+55|0]=g;t[d+75|0]=g;t[d+95|0]=g;t[d+115|0]=g;t[d+135|0]=g;t[d+155|0]=g;d=e+7|0;e=e+8|0;if((b|0)!=(d|0)){continue}break};break d;case 9:if(a>>>0>=b>>>0){break e}f=h<<4;e=a;d=b-e&7;if(d){while(1){t[(i+B(e,20)|0)+15|0]=f;e=e+1|0;d=d-1|0;if(d){continue}break}}if((a^-1)+b>>>0<=6){break e}while(1){d=i+B(e,20)|0;t[d+35|0]=f;t[d+15|0]=f;t[d+55|0]=f;t[d+75|0]=f;t[d+95|0]=f;t[d+115|0]=f;t[d+135|0]=f;t[d+155|0]=f;e=e+8|0;if((e|0)!=(b|0)){continue}break};break e;case 11:if(a>>>0>=b>>>0){break f}f=h<<4|1;e=a;d=b-e&7;if(d){while(1){t[(i+B(e,20)|0)+15|0]=f;e=e+1|0;d=d-1|0;if(d){continue}break}}if((a^-1)+b>>>0<=6){break f}while(1){d=i+B(e,20)|0;t[d+35|0]=f;t[d+15|0]=f;t[d+55|0]=f;t[d+75|0]=f;t[d+95|0]=f;t[d+115|0]=f;t[d+135|0]=f;t[d+155|0]=f;e=e+8|0;if((e|0)!=(b|0)){continue}break};break f;case 10:if(a>>>0>=b>>>0){break g}f=h<<4|2;e=a;d=b-e&7;if(d){while(1){t[(i+B(e,20)|0)+15|0]=f;e=e+1|0;d=d-1|0;if(d){continue}break}}if((a^-1)+b>>>0<=6){break g}while(1){d=i+B(e,20)|0;t[d+35|0]=f;t[d+15|0]=f;t[d+55|0]=f;t[d+75|0]=f;t[d+95|0]=f;t[d+115|0]=f;t[d+135|0]=f;t[d+155|0]=f;e=e+8|0;if((e|0)!=(b|0)){continue}break};break g;case 0:if(a>>>0>=f>>>0){break h}b=h<<4;d=a;g=f-d&7;if(g){while(1){t[(i+B(d,20)|0)+15|0]=b;d=d+1|0;g=g-1|0;if(g){continue}break}}if((a^-1)+f>>>0<=6){break h}while(1){e=i+B(d,20)|0;t[e+35|0]=b;t[e+15|0]=b;t[e+55|0]=b;t[e+75|0]=b;t[e+95|0]=b;t[e+115|0]=b;t[e+135|0]=b;t[e+155|0]=b;d=d+8|0;if((f|0)!=(d|0)){continue}break};break h;case 4:if(a>>>0>=f>>>0){break i}b=h<<4|1;d=a;g=f-d&7;if(g){while(1){t[(i+B(d,20)|0)+15|0]=b;d=d+1|0;g=g-1|0;if(g){continue}break}}if((a^-1)+f>>>0<=6){break i}while(1){e=i+B(d,20)|0;t[e+35|0]=b;t[e+15|0]=b;t[e+55|0]=b;t[e+75|0]=b;t[e+95|0]=b;t[e+115|0]=b;t[e+135|0]=b;t[e+155|0]=b;d=d+8|0;if((f|0)!=(d|0)){continue}break};break i;case 2:n:{switch(l-2|0){case 0:if(a>>>0>=f>>>0){break j}b=h<<4|1;d=a;g=f-d&7;if(g){while(1){t[(i+B(d,20)|0)+15|0]=b;d=d+1|0;g=g-1|0;if(g){continue}break}}if((a^-1)+f>>>0<=6){break j}while(1){e=i+B(d,20)|0;t[e+35|0]=b;t[e+15|0]=b;t[e+55|0]=b;t[e+75|0]=b;t[e+95|0]=b;t[e+115|0]=b;t[e+135|0]=b;t[e+155|0]=b;d=d+8|0;if((f|0)!=(d|0)){continue}break};break j;case 1:break n;default:break c}}if(a>>>0>=f>>>0){break l}b=h<<4|2;d=a;g=f-d&7;if(g){while(1){t[(i+B(d,20)|0)+15|0]=b;d=d+1|0;g=g-1|0;if(g){continue}break}}if((a^-1)+f>>>0<=6){break l}while(1){e=i+B(d,20)|0;t[e+35|0]=b;t[e+15|0]=b;t[e+55|0]=b;t[e+75|0]=b;t[e+95|0]=b;t[e+115|0]=b;t[e+135|0]=b;t[e+155|0]=b;d=d+8|0;if((f|0)!=(d|0)){continue}break};break l;case 3:f=b+1|0;l=2;break c;case 8:break m;default:break c}}f=b+1|0;break k}b=f-1|0;e=h+1|0;h=(e|0)==16?1:e}l=3;break c}b=f-1|0;e=h+1|0;h=(e|0)==16?1:e;l=2;break c}b=f-1|0;e=h+1|0;h=(e|0)==16?1:e;break c}b=f-1|0;e=h+1|0;h=(e|0)==16?1:e;break c}e=h+1|0;h=(e|0)==16?1:e;f=b;b=b-1|0;break c}e=h+1|0;h=(e|0)==16?1:e;f=b;b=b-1|0;break c}e=h+1|0;h=(e|0)==16?1:e;f=b;b=b-1|0;break c}e=h+1|0;h=(e|0)==16?1:e}if((b|0)!=(m|0)){g=t[j+246496|0];e=w[g+246640|0]==6?0:a;b=b+1|0;continue}break}d=v[c+76>>2];o:{if(!d){break o}a=d-1|0;b=0;e=v[c+88>>2];f=w[e+15|0];while(1){p:{if((a|0)==(b|0)){b=d;break p}b=b+1|0;if((f|0)==w[(e+B(b,20)|0)+15|0]){continue}}break}if(!d){break o}f=0;e=d;while(1){a=b;if(b-f>>>0>=2){Mb(c,f,a);e=v[c+76>>2]}b=a+1|0;f=b>>>0<e>>>0?e:b;j=f-1|0;h=v[c+88>>2];g=w[(h+B(a,20)|0)+15|0];b=a;while(1){q:{if((b|0)==(j|0)){b=f;break q}b=b+1|0;if((g|0)==w[(h+B(b,20)|0)+15|0]){continue}}break}f=a;if(d>>>0>f>>>0){continue}break}}}function pM(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,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0;e=Ca-48|0;Ca=e;v[e+44>>2]=0;a:{if(!a){c=6;break a}if(!b){c=6;break a}f=v[b+4>>2];if(!f){c=20;break a}if(u[f+2>>1]<1|u[f>>1]<1){break a}if(!v[f+12>>2]){c=20;break a}c=20;if(!v[f+4>>2]){break a}if(v[b+48>>2]-2>>>0>30){c=6;break a}c=v[a>>2];if(!c){c=32;break a}G=e,H=pi(f),v[G+32>>2]=H;t[e+36|0]=w[b+52|0];a=w[b+53|0];v[e+40>>2]=0;t[e+37|0]=a;j=Ca-16|0;Ca=j;v[j+12>>2]=0;d=6;a=e+44|0;b:{if(!c|!a){break b}h=qb(c,8,j+12|0);d=v[j+12>>2];if(d){break b}v[h>>2]=0;v[h+4>>2]=0;v[h>>2]=c;v[a>>2]=h;d=0}Ca=j+16|0;c=d;if(c){break a}c=6;a=v[e+44>>2];if(!a){break a}c=Mr(f,299432,a);if(c){break a}k=v[b>>2];h=v[b+48>>2];d=v[e+44>>2];c:{if(w[b+54|0]){v[e+24>>2]=v[e+40>>2];a=v[e+36>>2];v[e+16>>2]=v[e+32>>2];v[e+20>>2]=a;i=Ca-32|0;Ca=i;v[i+28>>2]=0;c=6;d:{if(!d|!k){break d}o=v[d>>2];if(!o){break d}F=w[e+20|0];t[e+20|0]=0;c=v[d+4>>2];v[i+16>>2]=o;e:{if(!c){break e}n=1;while(1){c=v[c+12>>2];if(!c){break e}n=n+1|0;continue}}A=v[k>>2];l=v[k+4>>2];r=wb(o,B(n,24),i+28|0);f:{if(v[i+28>>2]){break f}s=wb(o,n<<2,i+28|0);g:{h:{if(v[i+28>>2]){break h}j=d+4|0;i:{if(!n){c=0;break i}d=j;c=0;while(1){p=v[d>>2];m=r+B(q,24)|0;a=m;if(a){v[a>>2]=0;v[a+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}v[m+4>>2]=v[k+4>>2];v[m>>2]=v[k>>2];v[m+8>>2]=v[k+8>>2];u[m+16>>1]=x[k+16>>1];t[m+18|0]=w[k+18|0];G=m,H=wb(o,B(v[k+8>>2],v[k>>2]),i+28|0),v[G+12>>2]=H;if(v[i+28>>2]){break h}b=c;a=e;j:{k:{l:{m:{if(!p){break m}d=0;c=v[p+8>>2];if(!c){break m}while(1){n:{o:{switch(v[c+32>>2]-1|0){case 0:g=(B(v[c+4>>2]+v[c+12>>2]|0,v[c+8>>2]-v[c>>2]|0)|0)/64|0;break n;case 1:g=d;f=v[c+20>>2];d=v[c+16>>2];g=g+((B(f+v[c+4>>2]|0,d-v[c>>2]|0)|0)/64|0)|0;d=(B(f+v[c+12>>2]|0,v[c+8>>2]-d|0)|0)/64|0;break n;case 2:break o;default:break m}}f=d;d=v[c+20>>2];C=v[c+16>>2];g=f+((B(d+v[c+4>>2]|0,C-v[c>>2]|0)|0)/64|0)|0;f=v[c+28>>2];y=f+d|0;d=v[c+24>>2];g=g+((B(y,d-C|0)|0)/64|0)|0;d=(B(f+v[c+12>>2]|0,v[c+8>>2]-d|0)|0)/64|0}d=d+g|0;c=v[c+36>>2];if(c){continue}break}g=s+(q<<2)|0;if((d|0)>0){break l}v[g>>2]=2;if(v[e+16>>2]){break k}d=1;break j}g=s+(q<<2)|0;v[g>>2]=0;break k}v[g>>2]=1;d=1;if(v[e+16>>2]==1){break j}}d=0}v[a+24>>2]=d;c=v[p+12>>2];v[p+12>>2]=0;v[i+20>>2]=p;v[i+8>>2]=v[e+24>>2];a=v[e+20>>2];v[i>>2]=v[e+16>>2];v[i+4>>2]=a;a=yv(i,i+16|0,h,m);v[i+28>>2]=a;if(a){break g}d=p+12|0;v[d>>2]=c;c=v[i+20>>2];v[c+12>>2]=b;p:{if(v[e+16>>2]!=1){break p}a=2;q:{switch(v[g>>2]-1|0){case 1:a=1;break;case 0:break q;default:break p}}v[g>>2]=a}q=q+1|0;if((q|0)!=(n|0)){continue}break}}v[j>>2]=c;if((A|0)<1|(l|0)<1){break h}y=F?-1:0;z=v[k+12>>2];if(n){a=n&-2;C=n&1;while(1){f=B(l,E);q=0;while(1){D=f+q|0;d=0;g=255;c=0;b=a;if((n|0)!=1){while(1){k=w[D+v[(r+B(c,24)|0)+12>>2]|0];j=v[s+(c<<2)>>2]==1;p=j?g:k>>>0>(g&255)>>>0?g:k;h=c|1;m=w[D+v[(r+B(h,24)|0)+12>>2]|0];h=v[s+(h<<2)>>2]==1;g=h?p:m>>>0>(p&255)>>>0?p:m;d=j?k>>>0<(d&255)>>>0?d:k:d;d=h?m>>>0<(d&255)>>>0?d:m:d;c=c+2|0;b=b-2|0;if(b){continue}break}}if(C){h=w[D+v[(r+B(c,24)|0)+12>>2]|0];b=v[s+(c<<2)>>2]==1;d=b?h>>>0<(d&255)>>>0?d:h:d;g=b?g:h>>>0>(g&255)>>>0?g:h}t[z+D|0]=y^((d&255)>>>0<(g&255)>>>0?d:g);q=q+1|0;if((q|0)!=(l|0)){continue}break}E=E+1|0;if((E|0)!=(A|0)){continue}break}break g}d=A&3;c=0;if(A-1>>>0>=3){g=A&-4;while(1){Ra(z+B(c,l)|0,y,l);Ra(z+B(c|1,l)|0,y,l);Ra(z+B(c|2,l)|0,y,l);Ra(z+B(c|3,l)|0,y,l);c=c+4|0;g=g-4|0;if(g){continue}break}}if(!d){break h}while(1){Ra(z+B(c,l)|0,y,l);c=c+1|0;d=d-1|0;if(d){continue}break}}if(!s){break f}}if(s){Ea[v[o+8>>2]](o,s)}}r:{if(!r){break r}if(n){c=0;while(1){b=r+B(c,24)|0;a=v[b+12>>2];if(a){Ea[v[o+8>>2]](o,a)}v[b+12>>2]=0;c=c+1|0;if((n|0)!=(c|0)){continue}break}if(r){Ea[v[o+8>>2]](o,r)}break r}v[i+28>>2]=97}t[e+20|0]=F;c=v[i+28>>2]}Ca=i+32|0;if(!c){break c}break a}v[e+8>>2]=v[e+40>>2];a=v[e+36>>2];v[e>>2]=v[e+32>>2];v[e+4>>2]=a;c=yv(e,d,h,k);if(c){break a}}c=0;if(!v[e+44>>2]){break a}s:{if((e|0)==-44){break s}f=v[e+44>>2];if(!f){break s}j=v[f>>2];if(!j){break s}h=j;b=v[f+4>>2];if(b){while(1){d=v[b+12>>2];f=v[b+8>>2];if(f){while(1){a=v[f+36>>2];if(f){Ea[v[j+8>>2]](j,f)}f=a;if(a){continue}break}}if(b){Ea[v[j+8>>2]](j,b)}b=d;if(d){continue}break}f=v[e+44>>2]}if(f){Ea[v[h+8>>2]](h,f)}v[e+44>>2]=0}}Ca=e+48|0;return c|0}function yo(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,u=0,x=0;o=Ca-16|0;Ca=o;g=v[b+4>>2];a:{if(g>>>0>a>>>0){break a}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<4){break a}f=v[b+12>>2];e=f-4|0;v[b+12>>2]=e;if((e|0)<1){break a}i=t[a|0];e=w[a+3|0]|(w[a+1|0]<<16|i<<24|w[a+2|0]<<8);i=(e|0)!=0&(i|0)<0;p=!i;if(!e|i){break a}c=c+e|0;b:{if(c>>>0<g>>>0|c>>>0>d>>>0|d-c>>>0<=3){break b}d=f-8|0;v[b+12>>2]=d;if((w[c+1|0]|w[c|0]<<8)!=1|(d|0)<1){break b}v[o+12>>2]=c;p=1;c=c+4|0;f=v[b+4>>2];c:{if(c>>>0<f>>>0){break c}d=v[b+8>>2];if(d>>>0<c>>>0|d-c>>>0<4){break c}g=v[b+12>>2]-4|0;v[b+12>>2]=g;if((g|0)<1){break c}e=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>536870910){break c}if(e){h=f;f=c+4|0;if(h>>>0>f>>>0|d>>>0<f>>>0){break c}h=d-f|0;d=e<<3;if(h>>>0<d>>>0){break c}d=g-d|0;v[b+12>>2]=d;if((d|0)<1){break c}r=1;d=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);u=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!u){break c}while(1){r=0;l=v[o+12>>2];h=l;d=0;n=c+(s<<3)|0;e=n+4|0;f=v[b+4>>2];d:{if(e>>>0<f>>>0){break d}g=v[b+8>>2];if(g>>>0<e>>>0|g-e>>>0<4){break d}k=v[b+12>>2];i=k-4|0;v[b+12>>2]=i;if((i|0)<1){break d}d=t[e|0];i=w[e+3|0]|(w[e+1|0]<<16|d<<24|w[e+2|0]<<8);j=(i|0)!=0&(d|0)<0;d=!j;if(!i|j){break d}e:{f:{i=h+i|0;if(i>>>0<f>>>0|g>>>0<i>>>0|g-i>>>0<2){break f}h=k-6|0;v[b+12>>2]=h;d=1;if((h|0)<1){break f}k=w[i+1|0]|w[i|0]<<8;if(!k){break d}d=i+2|0;if(d>>>0<f>>>0|d>>>0>g>>>0){break f}f=g-d|0;d=k<<2;if(f>>>0<d>>>0){break f}g=h-d|0;v[b+12>>2]=g;d=1;if((g|0)<1){break f}q=w[i+1|0]|w[i|0]<<8;if(!q){break d}d=0;while(1){g=0;f=(i+(d<<2)|0)+2|0;m=v[b+4>>2];g:{if(f>>>0<m>>>0){break g}k=v[b+8>>2];if(k>>>0<f>>>0|k-f>>>0<4){break g}j=v[b+12>>2];h=j-4|0;v[b+12>>2]=h;if((h|0)<1){break g}g=t[f|0];h=w[f+3|0]|(w[f+1|0]<<16|g<<24|w[f+2|0]<<8);x=(h|0)!=0&(g|0)<0;g=!x;if(!h|x){break g}h=h+i|0;h:{if(h>>>0<m>>>0|h>>>0>k>>>0){break h}k=k-h|0;if(k>>>0<2){break h}m=j-6|0;v[b+12>>2]=m;g=1;if((m|0)<1){break h}if((w[h+1|0]|w[h|0]<<8)!=1){break g}if(k>>>0<8){break h}h=j-14|0;v[b+12>>2]=h;if((h|0)>0){break g}}g=0;h=v[b+24>>2];if(h>>>0>31){break g}v[b+24>>2]=h+1;if(!w[b+20|0]){break g}t[f|0]=0;t[f+1|0]=0;t[f+2|0]=0;t[f+3|0]=0;g=1}if(!g){break f}d=d+1|0;if((q|0)!=(d|0)){continue}break}break e}d=0;g=v[b+24>>2];if(g>>>0>31){break d}v[b+24>>2]=g+1;if(!w[b+20|0]){break d}t[e|0]=0;t[e+1|0]=0;t[e+2|0]=0;t[e+3|0]=0}d=1}if(!d){break c}i=0;k=Ca-16|0;Ca=k;d=n+8|0;f=v[b+4>>2];i:{if(d>>>0<f>>>0){break i}g=v[b+8>>2];if(g>>>0<d>>>0|g-d>>>0<4){break i}h=v[b+12>>2];e=h-4|0;v[b+12>>2]=e;if((e|0)<1){break i}i=t[d|0];e=w[d+3|0]|(w[d+1|0]<<16|i<<24|w[d+2|0]<<8);j=(e|0)!=0&(i|0)<0;i=!j;if(!e|j){break i}e=e+l|0;j:{if(e>>>0<f>>>0|e>>>0>g>>>0|g-e>>>0<=3){break j}g=h-8|0;v[b+12>>2]=g;if((w[e+1|0]|w[e|0]<<8)!=1|(g|0)<1){break j}v[k+12>>2]=e;i=1;h=v[b+4>>2];e=e+4|0;k:{l:{if(h>>>0>e>>>0){break l}g=v[b+8>>2];if(g>>>0<e>>>0|g-e>>>0<2){break l}j=v[b+12>>2]-2|0;v[b+12>>2]=j;f=1;if((j|0)<1){break l}l=w[e+1|0]|w[e|0]<<8;if(!l){break k}f=e+2|0;if(f>>>0<h>>>0|f>>>0>g>>>0){break l}f=g-f|0;g=B(l,6);if(f>>>0<g>>>0){break l}g=j-g|0;v[b+12>>2]=g;f=0;if((g|0)<1){break k}f=1;n=w[e+1|0]|w[e|0]<<8;if(!n){break k}f=0;j=e+2|0;if(j>>>0<h>>>0){break k}g=0;while(1){l=v[b+8>>2];if(l>>>0<j>>>0|l-j>>>0<6){break l}q=v[k+12>>2];j=v[b+12>>2];f=j-6|0;v[b+12>>2]=f;if((f|0)<1){break l}m=h;h=e+B(g,6)|0;f=h+4|0;if(m>>>0>f>>>0|f>>>0>l>>>0|l-f>>>0<4){break l}j=j-10|0;v[b+12>>2]=j;if((j|0)<1){break l}j=t[f|0];h=w[h+7|0]|(w[h+5|0]<<16|j<<24|w[h+6|0]<<8);j=(h|0)!=0&(j|0)<0;m:{if(!(j|!h)){if(xo(h+q|0,b,0)){break m}h=v[b+24>>2];if(h>>>0>31){break l}v[b+24>>2]=h+1;if(!w[b+20|0]){break l}t[f|0]=0;t[f+1|0]=0;t[f+2|0]=0;t[f+3|0]=0;break m}if(j){break l}}f=1;g=g+1|0;if((n|0)==(g|0)){break k}h=v[b+4>>2];j=(e+B(g,6)|0)+2|0;if(h>>>0<=j>>>0){continue}break}}f=0}if(f){break i}}i=0;e=v[b+24>>2];if(e>>>0>31){break i}v[b+24>>2]=e+1;if(!w[b+20|0]){break i}t[d|0]=0;t[d+1|0]=0;t[d+2|0]=0;t[d+3|0]=0;i=1}Ca=k+16|0;if(!i){break c}s=s+1|0;if((u|0)!=(s|0)){continue}break}}r=1}if(r){break a}}p=0;c=v[b+24>>2];if(c>>>0>31){break a}v[b+24>>2]=c+1;if(!w[b+20|0]){break a}t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;p=1}Ca=o+16|0;return p}function nk(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;k=Ca-192|0;Ca=k;v[k+144>>2]=0;v[k+148>>2]=0;v[k+152>>2]=0;v[k+156>>2]=0;v[k+160>>2]=0;v[k+164>>2]=0;v[k+168>>2]=0;v[k+172>>2]=0;v[k+176>>2]=0;v[k+180>>2]=0;v[k+184>>2]=0;v[k+188>>2]=0;v[k+128>>2]=0;v[k+132>>2]=0;v[k+136>>2]=0;v[k+140>>2]=0;m=a;l=b;q=l&3;if(q){while(1){n=(k+128|0)+(v[m>>2]<<2)|0;v[n>>2]=v[n>>2]+1;l=l-1|0;m=m+4|0;q=q-1|0;if(q){continue}break}}if(b-1>>>0>=3){while(1){n=(k+128|0)+(v[m>>2]<<2)|0;v[n>>2]=v[n>>2]+1;n=(k+128|0)+(v[m+4>>2]<<2)|0;v[n>>2]=v[n>>2]+1;n=(k+128|0)+(v[m+8>>2]<<2)|0;v[n>>2]=v[n>>2]+1;n=(k+128|0)+(v[m+12>>2]<<2)|0;v[n>>2]=v[n>>2]+1;m=m+16|0;l=l-4|0;if(l){continue}break}}a:{if(v[k+128>>2]==(b|0)){v[f>>2]=0;v[g>>2]=0;break a}m=v[g>>2];o=1;l=g;b:{c:{d:{e:{f:{g:{n=v[k+132>>2];if(n){break g}o=2;if(v[k+136>>2]){break g}o=3;if(v[k+140>>2]){break g}o=4;if(v[k+144>>2]){break g}o=5;if(v[k+148>>2]){break g}o=6;if(v[k+152>>2]){break g}o=7;if(v[k+156>>2]){break g}o=8;if(v[k+160>>2]){break g}o=9;if(v[k+164>>2]){break g}o=10;if(v[k+168>>2]){break g}o=11;if(v[k+172>>2]){break g}o=12;if(v[k+176>>2]){break g}o=13;if(v[k+180>>2]){break g}o=14;if(v[k+184>>2]){break g}if(v[k+188>>2]){o=15;r=m>>>0>15?m:15;B=1;p=15;break e}o=16;r=m>>>0>16?m:16;break f}r=m>>>0<o>>>0?o:m;if(!v[k+188>>2]){break f}p=15;u=r>>>0<15?r:15;v[g>>2]=u;l=1<<o;break c}p=14;if(v[k+184>>2]){break d}p=13;if(v[k+180>>2]){break d}p=12;if(v[k+176>>2]){break d}p=11;if(v[k+172>>2]){break d}p=10;if(v[k+168>>2]){break d}p=9;if(v[k+164>>2]){break d}p=8;if(v[k+160>>2]){break d}p=7;if(v[k+156>>2]){break d}p=6;if(v[k+152>>2]){break d}p=5;if(v[k+148>>2]){break d}p=4;if(v[k+144>>2]){break d}p=3;if(v[k+140>>2]){break d}p=2;if(v[k+136>>2]){break d}B=!n;p=(n|0)!=0}u=p>>>0<r>>>0?p:r;v[l>>2]=u;l=1<<o;break b}u=p>>>0<r>>>0?p:r;v[g>>2]=u;B=1;l=1<<o;if(o>>>0>=p>>>0){break b}}m=o;while(1){g=l-v[(k+128|0)+(m<<2)>>2]|0;if((g|0)<0){D=-3;break a}B=1;l=g<<1;m=m+1|0;if((p|0)!=(m|0)){continue}break}}D=-3;g=(k+128|0)+(p<<2)|0;E=l-v[g>>2]|0;if((E|0)<0){break a}v[g>>2]=l;v[k+4>>2]=0;g=p-1|0;h:{if(!g){break h}m=k+128|4;s=g&3;l=k|8;q=0;if(p-2>>>0>=3){g=g&-4;while(1){n=v[m>>2]+q|0;v[l>>2]=n;n=n+v[m+4>>2]|0;v[l+4>>2]=n;n=n+v[m+8>>2]|0;v[l+8>>2]=n;q=n+v[m+12>>2]|0;v[l+12>>2]=q;l=l+16|0;m=m+16|0;g=g-4|0;if(g){continue}break}}if(!s){break h}while(1){q=v[m>>2]+q|0;v[l>>2]=q;l=l+4|0;m=m+4|0;s=s-1|0;if(s){continue}break}}g=b>>>0>1?b:1;n=g&1;m=0;if(b>>>0>=2){l=g&-2;while(1){b=v[a>>2];if(b){g=(b<<2)+k|0;b=v[g>>2];v[g>>2]=b+1;v[(b<<2)+j>>2]=m}b=v[a+4>>2];if(b){g=(b<<2)+k|0;b=v[g>>2];v[g>>2]=b+1;v[(b<<2)+j>>2]=m|1}a=a+8|0;m=m+2|0;l=l-2|0;if(l){continue}break}}i:{if(!n){break i}a=v[a>>2];if(!a){break i}b=(a<<2)+k|0;a=v[b>>2];v[b>>2]=a+1;v[(a<<2)+j>>2]=m}v[k+64>>2]=0;a=v[(p<<2)+k>>2];v[k>>2]=0;if(o>>>0<=p>>>0){I=(a<<2)+j|0;F=p>>>0<r>>>0?p:r;a=0-u|0;r=0;s=0;b=0;m=-1;while(1){G=(k+128|0)+(o<<2)|0;z=v[G>>2];if(z){J=1<<o-1;while(1){l=a+u|0;j:{if((o|0)<=(l|0)){g=o-a|0;break j}C=p-l|0;x=a;n=m;while(1){a=l;g=o-l|0;l=g;m=1<<l;k:{if(m>>>0<=z>>>0){break k}l=g;r=p-a|0;s=r>>>0>u>>>0?u:r;if(l>>>0>=s>>>0){break k}l=g+1|0;if(s>>>0<=l>>>0){break k}r=C>>>0>F>>>0?F:C;q=m-z|0;m=G;while(1){q=q<<1;A=v[m+4>>2];if(q>>>0<=A>>>0){break k}m=m+4|0;q=q-A|0;l=l+1|0;if(s>>>0>l>>>0){continue}break}l=r}r=1<<l;q=v[i>>2];A=r+q|0;if(A>>>0>1440){break a}m=n+1|0;H=m<<2;s=(q<<3)+h|0;v[H+(k- -64|0)>>2]=s;v[i>>2]=A;l:{if(m){v[k+H>>2]=b;q=v[(k- -64|0)+(n<<2)>>2];x=b>>>x|0;n=q+(x<<3)|0;t[n+1|0]=u;t[n|0]=l;y=(s-q>>3)-x|0;v[n+4>>2]=y;break l}v[f>>2]=s}C=C-u|0;x=a;n=m;l=a+u|0;if((o|0)>(l|0)){continue}break}}n=192;m:{if(j>>>0>=I>>>0){break m}y=v[j>>2];if(y>>>0<c>>>0){n=y>>>0<256?0:96;j=j+4|0;break m}j=j+4|0;l=y-c<<2;n=w[l+e|0]+80|0;y=v[d+l>>2]}l=b>>>a|0;if(r>>>0>l>>>0){q=1<<g;while(1){x=(l<<3)+s|0;v[x+4>>2]=y;t[x+1|0]=g;t[x|0]=n;l=l+q|0;if(r>>>0>l>>>0){continue}break}}l=J;if(l&b){while(1){b=b^l;l=l>>>1|0;if(b&l){continue}break}}z=z-1|0;b=b^l;if(v[(m<<2)+k>>2]!=(b&(-1<<a^-1))){while(1){m=m-1|0;a=a-u|0;if(v[(m<<2)+k>>2]!=((-1<<a^-1)&b)){continue}break}}if(z){continue}break}}g=(o|0)!=(p|0);o=o+1|0;if(g){continue}break}}D=E?B?-5:0:0}Ca=k+192|0;return D}function Nq(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;v[a+12>>2]=b;v[a+4>>2]=b;v[a+20>>2]=v[a+16>>2];v[a+8>>2]=c;m=6;a:{b:{while(1){if(b>>>0>=c>>>0){break b}e=v[a+20>>2];j=e-v[a+16>>2]|0;f=j>>2;i=v[a+24>>2];g=w[b|0];c:{d:{if(!((g|0)==31|(g-27&255)>>>0>227)){d=4;if(f>>>0>=i>>>0){break c}v[a+20>>2]=e+4;v[e>>2]=b;e:{switch(g-28|0){case 2:while(1){b=b+1|0;d=7;if(c>>>0<=b>>>0){break c}d=w[b|0];if((d&240)==240){break d}if((d&15)!=15){continue}break};break d;case 0:b=b+2|0;break d;case 1:b=b+4|0;break d;default:break e}}b=g>>>0>246?b+1|0:b;break d}d=4;if(f>>>0>=i>>>0){break c}v[e>>2]=b;if((g|0)==12){b=b+1|0;d=8;if(c>>>0<=b>>>0){break c}g=w[b|0]|256}i=10848;e=4;g=v[a+28>>2]|g;f:{if((g|0)!=4096){while(1){e=v[i+28>>2];if(!e){break f}d=i;i=d+28|0;if((g|0)!=v[d+32>>2]){continue}break}}g=v[i+8>>2];k=v[a+32>>2];if((e|0)!=6){d=12;if(!j){break c}}j=g+k|0;g:{h:{i:{j:{k:{l:{switch(e-1|0){case 0:case 3:case 4:m:{d=v[v[a+16>>2]>>2];f=w[d|0];if((f|0)!=255){if((f|0)!=30){break m}e=zc(a,d,0,0)>>16;break k}e=((w[d+3|0]|(w[d+2|0]<<8|w[d+1|0]<<16))<<8)+32768>>16;break k}g=d+1|0;n:{switch(f-28|0){case 0:e=0;if(y[a+8>>2]<=d+2>>>0){break k}e=(w[d+2|0]|w[g|0]<<8)<<16>>16;break k;case 1:e=0;if(y[a+8>>2]<=d+4>>>0){break k}d=w[d+1|0]|w[d+2|0]<<8|(w[d+3|0]<<16|w[d+4|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break k;default:break n}}e=f-139|0;if(f>>>0<=246){break k}d=v[a+8>>2];if(f>>>0<=250){e=0;if(d>>>0<=g>>>0){break k}e=(w[g|0]|f<<8)-63124|0;break k}e=0;if(d>>>0<=g>>>0){break k}e=64148-(w[g|0]|f<<8)|0;break k;case 1:d=v[v[a+16>>2]>>2];f=w[d|0];if((f|0)==30){e=zc(a,d,0,0);break k}g=d+1|0;o:{p:{q:{switch(f-28|0){case 0:e=0;if(y[a+8>>2]<=d+2>>>0){break k}d=(w[d+2|0]|w[g|0]<<8)<<16>>16;break o;case 1:e=0;if(y[a+8>>2]<=d+4>>>0){break k}d=w[d+1|0]|w[d+2|0]<<8|(w[d+3|0]<<16|w[d+4|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break p;default:break q}}e=(f<<16)-9109504|0;if(f>>>0<=246){break k}d=v[a+8>>2];if(f>>>0<=250){e=0;if(d>>>0<=g>>>0){break k}d=(w[g|0]|f<<8)-63124|0;break o}e=0;if(d>>>0<=g>>>0){break k}d=64148-(w[g|0]|f<<8)|0}e=2147483647;if((d|0)>32767){break k}}e=(d|0)<-32767?-2147483647:d<<16;break k;case 5:break j;case 2:break l;default:break i}}e=v[v[a+16>>2]>>2];f=w[e|0];if((f|0)==30){e=zc(a,e,3,0);break k}g=e+1|0;r:{s:{switch(f-28|0){case 0:d=0;if(y[a+8>>2]<=e+2>>>0){break r}d=(w[e+2|0]|w[g|0]<<8)<<16>>16;break r;case 1:d=0;if(y[a+8>>2]<=e+4>>>0){break r}d=w[e+1|0]|w[e+2|0]<<8|(w[e+3|0]<<16|w[e+4|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break r;default:break s}}d=f-139|0;if(f>>>0<=246){break r}e=v[a+8>>2];if(f>>>0<=250){d=0;if(e>>>0<=g>>>0){break r}d=(w[g|0]|f<<8)-63124|0;break r}d=0;if(e>>>0<=g>>>0){break r}d=64148-(w[g|0]|f<<8)|0}e=d>>31;if((d+e^e)>>>0>=2147484){e=(d|0)>0?2147483647:-2147483647;break k}f=B(d,1e3);e=2147483647;if((f|0)>32767){break k}e=(f|0)<-32767?-2147483647:B(d,65536e3)}t:{switch(w[i+12|0]-1|0){case 1:u[j>>1]=e;break g;case 0:break h;default:break t}}v[j>>2]=e;break g}g=v[a+16>>2];d=v[i+20>>2];f=d>>>0<f>>>0?d:f;t[k+v[i+24>>2]|0]=f;d=0;if(!f){break g}while(1){n=d;u:{v:{e=v[g>>2];k=w[e|0];if((k|0)!=255){if((k|0)!=30){break v}h=zc(a,e,0,0)>>16;break u}h=((w[e+3|0]|(w[e+2|0]<<8|w[e+1|0]<<16))<<8)+32768>>16;break u}d=e+1|0;w:{switch(k-28|0){case 0:h=0;if(y[a+8>>2]<=e+2>>>0){break u}h=(w[e+2|0]|w[d|0]<<8)<<16>>16;break u;case 1:h=0;if(y[a+8>>2]<=e+4>>>0){break u}e=w[e+1|0]|w[e+2|0]<<8|(w[e+3|0]<<16|w[e+4|0]<<24);h=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);break u;default:break w}}h=k-139|0;if(k>>>0<=246){break u}e=v[a+8>>2];if(k>>>0<=250){h=0;if(d>>>0>=e>>>0){break u}h=(w[d|0]|k<<8)-63124|0;break u}h=0;if(d>>>0>=e>>>0){break u}h=64148-(w[d|0]|k<<8)|0}d=n+h|0;x:{y:{z:{A:{B:{e=w[i+12|0];switch(e-1|0){case 3:break z;case 1:break A;case 0:break B;default:break y}}t[j|0]=d;e=w[i+12|0];break x}u[j>>1]=d;e=2;break x}v[j>>2]=d;e=4;break x}v[j>>2]=d}g=g+4|0;j=(e&255)+j|0;f=f-1|0;if(f){continue}break}break g}l=Ea[v[i+16>>2]](a)|0;d=7;if(l){break c}l=0;break g}t[j|0]=e}if(v[i>>2]==8){break d}}v[a+20>>2]=v[a+16>>2]}b=b+1|0;d=0}d=jQ(d,30);if(!d){continue}break}if(d-1>>>0<3){break a}}m=l}return m}function Yv(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,y=0,z=0,A=0;y=Ca-16|0;Ca=y;e=B(b,1348)+a|0;l=e;j=v[e+52>>2];a:{b:{if(j){e=v[e+44>>2];c=gg(a,b);if(c){break a}if((e|0)<1){break b}e=B(e,44)+j|0;while(1){c=v[j+36>>2];d=x[c>>1];f=w[j|0];t[j|0]=f&254;g=v[j+40>>2];c:{if((g|0)==(c|0)){break c}d=d&3;while(1){i=d;c=v[c+32>>2];d=x[c>>1]&3;if(!((i|d)&65535)){break c}if((c|0)!=(g|0)){continue}break}t[j|0]=f|1}j=j+44|0;if(e>>>0>j>>>0){continue}break}break b}c=gg(a,b);if(c){break a}}n=v[v[a+2748>>2]+40>>2]/256|0;m=B(b,1348)+a|0;o=m+44|0;d=v[o>>2];e=v[l+52>>2];h=v[m+68>>2];z=(b?12:4)+a|0;p=ab(192,v[z>>2]);if((d|0)>=1){j=B(d,44)+e|0;d=e;while(1){c=e;if((h|0)==t[d+1|0]){while(1){d:{if((d|0)==(c|0)|(h|0)!=(0-t[c+1|0]|0)){break d}g=u[c+2>>1]-u[d+2>>1]|0;if((g|0)<0){break d}f=u[c+8>>1];i=u[d+8>>1];q=(f|0)<(i|0)?f:i;f=u[c+6>>1];i=u[d+6>>1];f=q-((f|0)>(i|0)?f:i)|0;if((f|0)<(n|0)){break d}i=g<<3;k=v[d+28>>2];if(!((i|0)>=(B(k,9)|0)|((f|0)<=v[d+32>>2]?(i|0)>=(B(k,7)|0):0))){v[d+32>>2]=f;v[d+28>>2]=g;v[d+20>>2]=c}k=v[c+28>>2];if((i|0)>=(B(k,9)|0)|((f|0)<=v[c+32>>2]?(i|0)>=(B(k,7)|0):0)){break d}v[c+32>>2]=f;v[c+28>>2]=g;v[c+20>>2]=d}c=c+44|0;if(j>>>0>c>>>0){continue}break}}d=d+44|0;if(j>>>0>d>>>0){continue}break}d=e;while(1){i=v[d+20>>2];e:{if(!i|v[i+20>>2]!=(d|0)){break e}n=u[i+2>>1];k=u[d+2>>1];if((n|0)<=(k|0)){break e}r=v[d+28>>2];if((r|0)>=(p|0)){break e}A=r<<2;c=e;while(1){f:{f=u[c+2>>1];g:{if((d|0)==(c|0)|(f|0)>(k|0)){break g}h=v[c+20>>2];if(!h|v[h+20>>2]!=(c|0)){break g}g=u[h+2>>1];if((g|0)<(n|0)|((g|0)==(n|0)?(f|0)==(k|0):0)){break g}f=v[c+28>>2];if((f|0)<=(r|0)|(f|0)>=(A|0)){break g}g=e;if(v[d+32>>2]<(B(v[c+32>>2],3)|0)){break f}while(1){f=i;s=v[g+20>>2];h:{if((s|0)!=(c|0)){f=d;if((h|0)!=(s|0)){break h}}v[g+24>>2]=f;v[g+20>>2]=0}g=g+44|0;if(j>>>0>g>>>0){continue}break}}c=c+44|0;if(j>>>0>c>>>0){continue}break e}break}v[i+20>>2]=0;v[d+20>>2]=0}d=d+44|0;if(j>>>0>d>>>0){continue}break}while(1){d=v[e+20>>2];i:{if(!d|v[d+20>>2]==(e|0)){break i}v[e+20>>2]=0;c=v[d+28>>2];if(v[e+28>>2]>=c<<2?(c|0)>=(p|0):0){break i}v[e+24>>2]=v[d+20>>2]}e=e+44|0;if(j>>>0>e>>>0){continue}break}}r=v[a>>2];h=v[l+52>>2];d=v[a+2748>>2];v[m+56>>2]=0;e=v[o>>2];d=d+B(b,7676)|0;l=v[z>>2];j:{if((Qa(v[d+248>>2],l)|0)>=17){f=ab(16,l);break j}f=v[d+248>>2]}p=(B(b,1348)+a|0)- -64|0;if((e|0)>=1){z=B(e,44)+h|0;while(1){k:{l:{A=v[m+56>>2];m:{if((A|0)<=0){a=w[h+1|0];break m}a=w[h+1|0];n=v[p>>2];b=0;e=65535;j=0;while(1){c=B(j,44);g=c+n|0;n:{if(w[g+13|0]!=(a&255)){break n}i=u[h+2>>1]-u[g>>1]|0;d=i>>31;i=d^d+i;if((i|0)>=(f|0)|(e|0)<=(i|0)){break n}s=v[h+20>>2];if(s){d=0;q=v[(c+n|0)+36>>2];c=q;while(1){o:{k=v[c+20>>2];if(k){d=u[s+2>>1];k=u[k+2>>1];d=(d|0)>(k|0)?d-k|0:k-d|0;if((f|0)<=(d|0)){break o}}c=v[c+16>>2];if((q|0)!=(c|0)){continue}}break}if((d|0)>=(f|0)){break n}}e=i;b=g}j=j+1|0;if((A|0)!=(j|0)){continue}break}if(b){break l}}c=Rv(o,u[h+2>>1],a<<24>>24,0,r,y+12|0);if(c){break a}a=v[y+12>>2];v[a+40>>2]=h;v[a+36>>2]=h;v[a>>2]=0;v[a+4>>2]=0;v[a+32>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;t[a+13|0]=w[h+1|0];b=u[h+2>>1];u[a>>1]=b;b=Qa(b,l);v[a+8>>2]=b;v[a+4>>2]=b;v[h+16>>2]=h;break k}v[h+16>>2]=v[b+36>>2];v[v[b+40>>2]+16>>2]=h;v[b+40>>2]=h}h=h+44|0;if(z>>>0>h>>>0){continue}break}}a=v[m+56>>2];if((a|0)>=1){e=v[p>>2];f=e+B(a,44)|0;d=e;while(1){a=v[d+36>>2];c=a;if(c){while(1){v[c+12>>2]=d;c=v[c+16>>2];if((a|0)!=(c|0)){continue}break}}d=d+44|0;if(f>>>0>d>>>0){continue}break}while(1){a=v[e+36>>2];p:{if(!a){c=0;a=1;break p}i=e+28|0;h=e+24|0;j=0;c=a;b=0;while(1){d=0;p=t[c|0]&1;n=!p;g=v[c+20>>2];m=v[c+24>>2];if(m){d=v[m+12>>2]!=(e|0)}q:{if(!(!d?g:1)){break q}m=v[(d?c+24|0:c+20|0)>>2];g=v[(d?i:h)>>2];r:{if(g){o=u[e>>1]-u[g>>1]|0;l=o>>31;q=l^l+o;l=u[c+2>>1];o=u[m+2>>1];if((q|0)<=(((l|0)>(o|0)?l-o|0:o-l|0)|0)){break r}}g=v[m+12>>2]}if(d){v[i>>2]=g;t[g+12|0]=w[g+12|0]|2;break q}v[h>>2]=g}j=j+p|0;b=b+n|0;c=v[c+16>>2];if((a|0)!=(c|0)){continue}break}c=(j|0)>0;a=(b|0)<=(j|0)}t[e+12|0]=a&c;if(!(!v[e+28>>2]|!v[e+24>>2])){v[e+28>>2]=0}e=e+44|0;if(f>>>0>e>>>0){continue}break}}c=0}Ca=y+16|0;return c}function oO(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;g=eb(1,140);a:{if(!g){break a}b=278464;v[g>>2]=278464;d=g;b:{c:{d:{e:{f:{g:{h:{i:{h=v[a+4>>2];if((h|0)<=1298954604){if((h|0)<=1198877297){if((h|0)==1113943655){break i}e=278492;if((h|0)==1147500129){break c}break b}if((h|0)==1198877298){break g}if((h|0)==1198879349){break h}if((h|0)!=1265525857){break b}e=278688;break c}if((h|0)<=1399418471){if((h|0)==1298954605){break e}if((h|0)!=1332902241){break b}e=278604;break c}if((h|0)==1399418472){break d}if((h|0)==1415671148){break f}if((h|0)!=1415933045){break b}e=278660;break c}e=278520;break c}e=278548;break c}e=278576;break c}e=278632;break c}e=278716;break c}e=278744}v[d>>2]=e;b=e}c=w[b+4|0]?w[a+24|0]!=50:c;t[g+4|0]=c;b=v[163909];if(!b){Up();b=v[163909]}v[g+8>>2]=-1;t[g+5|0]=b>>>2&1;h=c?0:v[a+4>>2]!=1298954605;t[g+20|0]=h;j=v[a+48>>2];i=v[a+44>>2];b=-1;j:{if((i|0)<1){break j}c=i-1|0;b=0;k:{while(1){e=b+c>>>1|0;k=v[B(e,36)+j>>2];l:{if(k>>>0>=1919969383){c=e-1|0;break l}if((k|0)==1919969382){break k}b=e+1|0}if((b|0)<=(c|0)){continue}break}b=-1;break j}b=v[(B(e,36)+j|0)+12>>2]}e=v[a+80>>2];m:{if(b>>>0>e>>>0){v[g+12>>2]=0;b=0;break m}if(b){c=b-1|0;if(c>>>0>=e>>>0){c=280448}else{c=v[a+84>>2]+(c<<3)|0}c=v[c>>2]}else{c=0}if(b>>>0<e>>>0){d=v[a+84>>2]+(b<<3)|0}else{d=a+56|0}b=g;d=v[d>>2];f=0;n:{if((d|0)==(c|0)){break n}f=280448;if(c>>>0>=y[a+56>>2]){break n}f=v[a+60>>2]+(c<<3)|0}v[b+12>>2]=f;b=d-c|0}t[g+32|0]=h;v[g+16>>2]=b;b=-1;o:{if((i|0)<1){break o}c=i-1|0;b=0;p:{while(1){d=b+c>>>1|0;f=v[B(d,36)+j>>2];q:{if(f>>>0>=1886545255){c=d-1|0;break q}if((f|0)==1886545254){break p}b=d+1|0}if((b|0)<=(c|0)){continue}break}b=-1;break o}b=v[(B(d,36)+j|0)+12>>2]}r:{if(b>>>0>e>>>0){v[g+24>>2]=0;b=0;break r}if(b){c=b-1|0;if(c>>>0>=e>>>0){c=280448}else{c=v[a+84>>2]+(c<<3)|0}c=v[c>>2]}else{c=0}if(b>>>0<e>>>0){d=v[a+84>>2]+(b<<3)|0}else{d=a+56|0}b=g;d=v[d>>2];f=0;s:{if((d|0)==(c|0)){break s}f=280448;if(c>>>0>=y[a+56>>2]){break s}f=v[a+60>>2]+(c<<3)|0}v[b+24>>2]=f;b=d-c|0}t[g+44|0]=h;v[g+28>>2]=b;b=-1;t:{if((i|0)<1){break t}c=i-1|0;b=0;u:{while(1){d=b+c>>>1|0;f=v[B(d,36)+j>>2];v:{if(f>>>0>=1651275623){c=d-1|0;break v}if((f|0)==1651275622){break u}b=d+1|0}if((b|0)<=(c|0)){continue}break}b=-1;break t}b=v[(B(d,36)+j|0)+12>>2]}w:{if(b>>>0>e>>>0){v[g+36>>2]=0;b=0;break w}if(b){c=b-1|0;if(c>>>0>=e>>>0){c=280448}else{c=v[a+84>>2]+(c<<3)|0}c=v[c>>2]}else{c=0}if(b>>>0<e>>>0){d=v[a+84>>2]+(b<<3)|0}else{d=a+56|0}b=g;d=v[d>>2];f=0;x:{if((d|0)==(c|0)){break x}f=280448;if(c>>>0>=y[a+56>>2]){break x}f=v[a+60>>2]+(c<<3)|0}v[b+36>>2]=f;b=d-c|0}t[g+56|0]=h;v[g+40>>2]=b;b=-1;y:{if((i|0)<1){break y}c=i-1|0;b=0;z:{while(1){d=b+c>>>1|0;f=v[B(d,36)+j>>2];A:{if(f>>>0>=1886614631){c=d-1|0;break A}if((f|0)==1886614630){break z}b=d+1|0}if((b|0)<=(c|0)){continue}break}b=-1;break y}b=v[(B(d,36)+j|0)+12>>2]}B:{if(b>>>0>e>>>0){v[g+48>>2]=0;b=0;break B}if(b){c=b-1|0;if(c>>>0>=e>>>0){c=280448}else{c=v[a+84>>2]+(c<<3)|0}c=v[c>>2]}else{c=0}if(b>>>0<e>>>0){d=v[a+84>>2]+(b<<3)|0}else{d=a+56|0}b=g;d=v[d>>2];f=0;C:{if((d|0)==(c|0)){break C}f=280448;if(c>>>0>=y[a+56>>2]){break C}f=v[a+60>>2]+(c<<3)|0}v[b+48>>2]=f;b=d-c|0}t[g+68|0]=h;v[g+52>>2]=b;l=g- -64|0;b=-1;D:{if((i|0)<1){break D}c=i-1|0;b=0;E:{while(1){k=b+c>>>1|0;f=v[B(k,36)+j>>2];F:{if(f>>>0>=1986098294){c=k-1|0;break F}if((f|0)==1986098293){break E}b=k+1|0}if((b|0)<=(c|0)){continue}break}b=-1;break D}b=v[(B(k,36)+j|0)+12>>2]}G:{if(b>>>0>e>>>0){v[g+60>>2]=0;a=0;break G}if(b){c=b-1|0;if(c>>>0>=e>>>0){c=280448}else{c=v[a+84>>2]+(c<<3)|0}c=v[c>>2]}else{c=0}if(b>>>0<e>>>0){h=v[a+84>>2]+(b<<3)|0}else{h=a+56|0}b=g;h=v[h>>2];d=0;H:{if((h|0)==(c|0)){break H}d=280448;if(c>>>0>=y[a+56>>2]){break H}d=v[a+60>>2]+(c<<3)|0}v[b+60>>2]=d;a=h-c|0}v[l>>2]=a;if((i|0)<1){break a}a=i-1|0;e=0;while(1){i=(e<<2)+g|0;b=0;I:{if(!(2548>>>e&1)){break I}h=v[(e<<3)+275152>>2];b=0;c=a;J:{while(1){k=b+c>>>1|0;d=B(k,36)+j|0;f=v[d>>2];K:{if(f>>>0>h>>>0){c=k-1|0;break K}if(h>>>0<=f>>>0){break J}b=k+1|0}if((b|0)<=(c|0)){continue}break}b=0;break I}b=v[d+28>>2]}v[i+72>>2]=b;e=e+1|0;if((e|0)!=17){continue}break}}return g|0}function YJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=a;a=c?-1:0;e=a;t[f+8|0]=e;t[f+9|0]=e>>>8;t[f+10|0]=e>>>16;t[f+11|0]=e>>>24;e=c?-1:0;t[f+12|0]=e;t[f+13|0]=e>>>8;t[f+14|0]=e>>>16;t[f+15|0]=e>>>24;c=a;t[f|0]=c;t[f+1|0]=c>>>8;t[f+2|0]=c>>>16;t[f+3|0]=c>>>24;t[f+4|0]=e;t[f+5|0]=e>>>8;t[f+6|0]=e>>>16;t[f+7|0]=e>>>24;d=b+f|0;t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=e;t[d+13|0]=e>>>8;t[d+14|0]=e>>>16;t[d+15|0]=e>>>24;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;d=(b<<1)+f|0;t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=e;t[d+13|0]=e>>>8;t[d+14|0]=e>>>16;t[d+15|0]=e>>>24;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;d=B(b,3)+f|0;t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=e;t[d+13|0]=e>>>8;t[d+14|0]=e>>>16;t[d+15|0]=e>>>24;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;d=(b<<2)+f|0;t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=e;t[d+13|0]=e>>>8;t[d+14|0]=e>>>16;t[d+15|0]=e>>>24;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;d=B(b,5)+f|0;t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=e;t[d+13|0]=e>>>8;t[d+14|0]=e>>>16;t[d+15|0]=e>>>24;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;d=B(b,6)+f|0;t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=e;t[d+13|0]=e>>>8;t[d+14|0]=e>>>16;t[d+15|0]=e>>>24;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;d=B(b,7)+f|0;t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=e;t[d+13|0]=e>>>8;t[d+14|0]=e>>>16;t[d+15|0]=e>>>24;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;d=(b<<3)+f|0;t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=e;t[d+13|0]=e>>>8;t[d+14|0]=e>>>16;t[d+15|0]=e>>>24;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;d=B(b,9)+f|0;t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=e;t[d+13|0]=e>>>8;t[d+14|0]=e>>>16;t[d+15|0]=e>>>24;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;d=B(b,10)+f|0;t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=e;t[d+13|0]=e>>>8;t[d+14|0]=e>>>16;t[d+15|0]=e>>>24;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;d=B(b,11)+f|0;t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=e;t[d+13|0]=e>>>8;t[d+14|0]=e>>>16;t[d+15|0]=e>>>24;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;d=B(b,12)+f|0;t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=e;t[d+13|0]=e>>>8;t[d+14|0]=e>>>16;t[d+15|0]=e>>>24;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;d=B(b,13)+f|0;t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=e;t[d+13|0]=e>>>8;t[d+14|0]=e>>>16;t[d+15|0]=e>>>24;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;d=B(b,14)+f|0;t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=e;t[d+13|0]=e>>>8;t[d+14|0]=e>>>16;t[d+15|0]=e>>>24;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;c=B(b,15)+f|0;b=a;t[c+8|0]=b;t[c+9|0]=b>>>8;t[c+10|0]=b>>>16;t[c+11|0]=b>>>24;t[c+12|0]=e;t[c+13|0]=e>>>8;t[c+14|0]=e>>>16;t[c+15|0]=e>>>24;t[c|0]=b;t[c+1|0]=b>>>8;t[c+2|0]=b>>>16;t[c+3|0]=b>>>24;t[c+4|0]=e;t[c+5|0]=e>>>8;t[c+6|0]=e>>>16;t[c+7|0]=e>>>24}function Jg(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;l=Ca+-64|0;Ca=l;a:{b:{c:{if(w[a+409|0]){s=v[a- -64>>2];k=v[a+168>>2];t=v[k+36>>2];m=v[a+148>>2];I=v[a+56>>2];J=v[k+40>>2];K=v[a+144>>2];L=v[a+404>>2];n=v[a+400>>2];o=v[a+392>>2];r=v[a+396>>2];k=v[b+8>>2];q=v[b>>2];x=v[b+4>>2];a=v[b+12>>2];v[l+12>>2]=a;v[l>>2]=0;v[l+4>>2]=0;p=o;o=c+q|0;c=p-o|0;q=(c|0)>(k|0)?k:c;v[l+8>>2]=q;A=(a|0)>0;q=A&(q|0)>0;p=(q<<4)+l|0;y=r;r=d+x|0;d=y-r|0;x=(a|0)<(d|0)?a:d;v[p+12>>2]=x;d=n-o|0;n=(d|0)>(k|0)?k:d;v[p+8>>2]=n;v[p+4>>2]=0;y=p;p=(c|0)>0?c:0;v[y>>2]=p;y=(x|0)>0?q?2:1:q;c=q;q=(n|0)>(p|0);x=q?y:c;c=(x<<4)+l|0;v[c+12>>2]=a;v[c+8>>2]=n;n=L-r|0;n=(n|0)>0?n:0;v[c+4>>2]=n;v[c>>2]=p;q=x+(q&(a|0)>(n|0))|0;c=(q<<4)+l|0;v[c+12>>2]=a;v[c+8>>2]=k;v[c+4>>2]=0;a=c;c=(d|0)>0?d:0;v[a>>2]=c;C=+(K|0);u=+(J|0);E=+(I|0);z=C*0/u+E;d:{if(D(z)<2147483648){a=~~z;break d}a=-2147483648}d=(c|0)<(k|0);F=+(m|0);z=+(t|0);G=+(s|0);H=F*0/z+G;e:{if(D(H)<2147483648){c=~~H;break e}c=-2147483648}k=d&A;u=C*u/u+E;f:{if(D(u)<2147483648){d=~~u;break f}d=-2147483648}q=k+q|0;u=F*z/z+G;g:{if(D(u)<2147483648){k=~~u;break g}k=-2147483648}if(!q){break a}p=c-o|0;n=v[l>>2];v[l>>2]=(c|0)>(o+n|0)?p:n;n=a-r|0;s=v[l+4>>2];v[l+4>>2]=(a|0)>(r+s|0)?n:s;s=k-o|0;t=v[l+8>>2];v[l+8>>2]=(k|0)<(o+t|0)?s:t;t=d-r|0;m=v[l+12>>2];v[l+12>>2]=(d|0)<(m+r|0)?t:m;if((q|0)!=1){break c}break b}k=v[a+140>>2];o=v[a+404>>2];o=(o|0)>0?o:0;q=v[b+4>>2]+d|0;d=((k|0)<(o|0)?k:o)-q|0;o=v[b+12>>2];p=(d|0)<(o|0)?d:o;d=v[a+396>>2];d=(d|0)>0?d:0;d=q-((d|0)>(k|0)?k:d)|0;k=d>>31&0-d;if((p|0)<=(k|0)){break a}o=v[b>>2]+c|0;d=v[a+136>>2];c=v[a+392>>2];c=(c|0)>0?c:0;c=o-((c|0)>(d|0)?d:c)|0;c=c>>31&0-c;a=v[a+400>>2];a=(a|0)>0?a:0;a=((a|0)>(d|0)?d:a)-o|0;d=v[b+8>>2];r=(a|0)<(d|0)?a:d;if((c|0)>=(r|0)){break a}d=g-o|0;if((c|0)<(d|0)){n=v[b+16>>2];g=c+(v[b+20>>2]+B(n,k)|0)|0;a=Va(48);if(!a){if(j){break a}Gd(g);break a}v[a+36>>2]=j;v[a+16>>2]=e;v[a+12>>2]=g;v[a+8>>2]=n;v[a+24>>2]=k+q;v[a+20>>2]=c+o;v[a+4>>2]=p-k;d=(d|0)>(r|0)?r:d;v[a>>2]=d-c;Df(j);v[a+44>>2]=0;v[a+40>>2]=j?0:g;v[a+32>>2]=i;v[h>>2]=a;h=a+28|0}if((d|0)>=(r|0)){break a}c=(c|0)>(d|0)?c:d;e=v[b+16>>2];b=c+(v[b+20>>2]+B(e,k)|0)|0;a=Va(48);if(!a){if(j){break a}Gd(b);break a}v[a+36>>2]=j;v[a+16>>2]=f;v[a+12>>2]=b;v[a+8>>2]=e;v[a+24>>2]=k+q;v[a+20>>2]=c+o;v[a+4>>2]=p-k;v[a>>2]=r-c;Df(j);v[a+44>>2]=0;v[a+40>>2]=j?0:b;v[a+32>>2]=i;v[h>>2]=a;h=a+28|0;break a}m=v[l+20>>2];v[l+20>>2]=(a|0)>(m+r|0)?n:m;m=v[l+24>>2];v[l+24>>2]=(k|0)<(m+o|0)?s:m;m=v[l+28>>2];v[l+28>>2]=(d|0)<(m+r|0)?t:m;m=v[l+16>>2];v[l+16>>2]=(c|0)>(m+o|0)?p:m;if((q|0)==2){break b}m=v[l+36>>2];v[l+36>>2]=(a|0)>(m+r|0)?n:m;m=v[l+40>>2];v[l+40>>2]=(k|0)<(m+o|0)?s:m;m=v[l+44>>2];v[l+44>>2]=(d|0)<(m+r|0)?t:m;m=v[l+32>>2];v[l+32>>2]=(c|0)>(m+o|0)?p:m;if((q|0)==3){break b}m=v[l+52>>2];v[l+52>>2]=(a|0)>(m+r|0)?n:m;m=v[l+56>>2];v[l+56>>2]=(k|0)<(m+o|0)?s:m;m=v[l+60>>2];v[l+60>>2]=(d|0)<(m+r|0)?t:m;m=v[l+48>>2];v[l+48>>2]=(c|0)>(m+o|0)?p:m;if((q|0)==4){break b}y=n;n=v[l+68>>2];v[l+68>>2]=(a|0)>(n+r|0)?y:n;a=v[l+72>>2];v[l+72>>2]=(k|0)<(a+o|0)?s:a;a=v[l+76>>2];v[l+76>>2]=(d|0)<(a+r|0)?t:a;a=v[l+64>>2];v[l+64>>2]=(c|0)>(a+o|0)?p:a}c=g-o|0;a=0;while(1){d=(a<<4)+l|0;s=v[d+8>>2];p=v[d>>2];h:{if((s|0)<=(p|0)){break h}t=v[d+12>>2];n=v[d+4>>2];if((t|0)<=(n|0)){break h}i:{j:{k:{if((c|0)<=(p|0)){d=c;break k}d=v[b+16>>2];g=p+(v[b+20>>2]+B(d,n)|0)|0;k=Va(48);if(!k){if(!j){break j}break a}v[k+36>>2]=j;v[k+16>>2]=e;v[k+12>>2]=g;v[k+8>>2]=d;v[k+24>>2]=n+r;v[k+20>>2]=o+p;v[k+4>>2]=t-n;d=(c|0)>(s|0)?s:c;v[k>>2]=d-p;Df(j);v[k+44>>2]=0;v[k+40>>2]=j?0:g;v[k+32>>2]=i;v[h>>2]=k;h=k+28|0}if((d|0)>=(s|0)){break h}k=(d|0)<(p|0)?p:d;m=v[b+16>>2];g=k+(v[b+20>>2]+B(m,n)|0)|0;d=Va(48);if(d){break i}if(j){break a}}Gd(g);break a}v[d+36>>2]=j;v[d+16>>2]=f;v[d+12>>2]=g;v[d+8>>2]=m;v[d+24>>2]=n+r;v[d+20>>2]=k+o;v[d+4>>2]=t-n;v[d>>2]=s-k;Df(j);v[d+44>>2]=0;v[d+40>>2]=j?0:g;v[d+32>>2]=i;v[h>>2]=d;h=d+28|0}a=a+1|0;if((q|0)!=(a|0)){continue}break}}Ca=l- -64|0;return h}function IO(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;h=v[c+88>>2];g=1;a=0;k=v[c+76>>2];b=!k;while(1){a:{b:{c:{if(!b){d=j<<1;e=u[d+263408>>1]+262064|0;b=t[j+263520|0];a=w[j+263824|0]==2?f:a;j=w[(h+B(f,20)|0)+18|0];i=w[d+261952|0];if(j>>>0>=i>>>0){b=j>>>0>w[d+261953|0]?b:j-i|0}b=t[b+e|0];break c}if(!j){break b}f=k;b=u[(j<<1)+263712>>1]-1|0}j=t[b+263584|0];e=b&31;d:{if(((b&63)>>>0>=32?33529855>>>e|0:((1<<e)-1&33529855)<<32-e|-18874386>>>e)&1){break d}e:{switch(t[b+263648|0]-3|0){case 3:f:{if(f+1>>>0<=a>>>0){break f}e=g<<4;b=a;i=f-b|0;d=i+1&7;if(d){while(1){t[(h+B(b,20)|0)+15|0]=e;b=b+1|0;d=d-1|0;if(d){continue}break}}if(i>>>0<=6){break f}while(1){d=h+B(b,20)|0;t[d+35|0]=e;t[d+15|0]=e;t[d+55|0]=e;t[d+75|0]=e;t[d+95|0]=e;t[d+115|0]=e;t[d+135|0]=e;t[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}b=g+1|0;g=(b|0)==16?1:b;break d;case 1:g:{if(f+1>>>0<=a>>>0){break g}e=g<<4|3;b=a;i=f-b|0;d=i+1&7;if(d){while(1){t[(h+B(b,20)|0)+15|0]=e;b=b+1|0;d=d-1|0;if(d){continue}break}}if(i>>>0<=6){break g}while(1){d=h+B(b,20)|0;t[d+35|0]=e;t[d+15|0]=e;t[d+55|0]=e;t[d+75|0]=e;t[d+95|0]=e;t[d+115|0]=e;t[d+135|0]=e;t[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}b=g+1|0;g=(b|0)==16?1:b;break d;case 7:h:{if(f+1>>>0<=a>>>0){break h}e=g<<4|1;b=a;i=f-b|0;d=i+1&7;if(d){while(1){t[(h+B(b,20)|0)+15|0]=e;b=b+1|0;d=d-1|0;if(d){continue}break}}if(i>>>0<=6){break h}while(1){d=h+B(b,20)|0;t[d+35|0]=e;t[d+15|0]=e;t[d+55|0]=e;t[d+75|0]=e;t[d+95|0]=e;t[d+115|0]=e;t[d+135|0]=e;t[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}b=g+1|0;g=(b|0)==16?1:b;break d;case 5:i:{if(f+1>>>0<=a>>>0){break i}e=g<<4|2;b=a;i=f-b|0;d=i+1&7;if(d){while(1){t[(h+B(b,20)|0)+15|0]=e;b=b+1|0;d=d-1|0;if(d){continue}break}}if(i>>>0<=6){break i}while(1){d=h+B(b,20)|0;t[d+35|0]=e;t[d+15|0]=e;t[d+55|0]=e;t[d+75|0]=e;t[d+95|0]=e;t[d+115|0]=e;t[d+135|0]=e;t[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}b=g+1|0;g=(b|0)==16?1:b;break d;case 0:j:{if(f+1>>>0<=a>>>0){break j}e=g<<4|3;b=a;i=f-b|0;d=i+1&7;if(d){while(1){t[(h+B(b,20)|0)+15|0]=e;b=b+1|0;d=d-1|0;if(d){continue}break}}if(i>>>0<=6){break j}while(1){d=h+B(b,20)|0;t[d+35|0]=e;t[d+15|0]=e;t[d+55|0]=e;t[d+75|0]=e;t[d+95|0]=e;t[d+115|0]=e;t[d+135|0]=e;t[d+155|0]=e;d=b+7|0;b=b+8|0;if((d|0)!=(f|0)){continue}break}}b=g+1|0;g=(b|0)==16?1:b;break d;case 2:k:{if(a>>>0>=f>>>0){break k}e=g<<4;d=a;b=f-d&7;if(b){while(1){t[(h+B(d,20)|0)+15|0]=e;d=d+1|0;b=b-1|0;if(b){continue}break}}if((a^-1)+f>>>0<=6){break k}while(1){b=h+B(d,20)|0;t[b+35|0]=e;t[b+15|0]=e;t[b+55|0]=e;t[b+75|0]=e;t[b+95|0]=e;t[b+115|0]=e;t[b+135|0]=e;t[b+155|0]=e;d=d+8|0;if((f|0)!=(d|0)){continue}break}}f=f-1|0;b=g+1|0;g=(b|0)==16?1:b;break d;case 4:l:{if(a>>>0>=f>>>0){break l}e=g<<4|2;d=a;b=f-d&7;if(b){while(1){t[(h+B(d,20)|0)+15|0]=e;d=d+1|0;b=b-1|0;if(b){continue}break}}if((a^-1)+f>>>0<=6){break l}while(1){b=h+B(d,20)|0;t[b+35|0]=e;t[b+15|0]=e;t[b+55|0]=e;t[b+75|0]=e;t[b+95|0]=e;t[b+115|0]=e;t[b+135|0]=e;t[b+155|0]=e;d=d+8|0;if((f|0)!=(d|0)){continue}break}}f=f-1|0;b=g+1|0;g=(b|0)==16?1:b;break d;case 6:break e;default:break d}}m:{if(a>>>0>=f>>>0){break m}e=g<<4|3;d=a;b=f-d&7;if(b){while(1){t[(h+B(d,20)|0)+15|0]=e;d=d+1|0;b=b-1|0;if(b){continue}break}}if((a^-1)+f>>>0<=6){break m}while(1){b=h+B(d,20)|0;t[b+35|0]=e;t[b+15|0]=e;t[b+55|0]=e;t[b+75|0]=e;t[b+95|0]=e;t[b+115|0]=e;t[b+135|0]=e;t[b+155|0]=e;d=d+8|0;if((f|0)!=(d|0)){continue}break}}f=f-1|0;b=g+1|0;g=(b|0)==16?1:b}a=w[j+263888|0]==1?0:a;f=f+1|0;if((k|0)!=(f|0)){break a}b=1;continue}a=v[c+76>>2];n:{if(!a){break n}b=a-1|0;f=0;d=v[c+88>>2];g=w[d+15|0];while(1){o:{if((b|0)==(f|0)){f=a;break o}f=f+1|0;if((g|0)==w[(d+B(f,20)|0)+15|0]){continue}}break}if(!a){break n}j=0;g=a;while(1){b=f;if(b-j>>>0>=2){Mb(c,j,b);g=v[c+76>>2]}d=b+1|0;d=d>>>0<g>>>0?g:d;j=d-1|0;k=v[c+88>>2];h=w[(k+B(b,20)|0)+15|0];while(1){p:{if((f|0)==(j|0)){f=d;break p}f=f+1|0;if((h|0)==w[(k+B(f,20)|0)+15|0]){continue}}break}j=b;if(b>>>0<a>>>0){continue}break}}return}b=0;continue}}function _p(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=Ca-16|0;Ca=k;h=8;a:{if(e>>>0>100){break a}b:{i=v[a+32>>2];if(!i){break b}j=v[a+40>>2];l=v[a+36>>2]+v[a+28>>2]|0;g=l;while(1){c:{v[k+12>>2]=g+2;h=w[g+1|0];m=w[g|0];v[k+12>>2]=g+4;m=h|m<<8;if((w[g+3|0]|w[g+2|0]<<8)>>>0>=b>>>0?m>>>0<=b>>>0:0){break c}g=g+8|0;i=i-1|0;if(i){continue}break b}break}g=w[g+4|0]|w[g+5|0]<<8|(w[g+6|0]<<16|w[g+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);h=8;if(g>>>0>j-l>>>0){break a}h=g+l|0;g=h+8|0;if(g>>>0>j>>>0){break b}v[k+12>>2]=h+2;i=w[h|0]|w[h+1|0]<<8;v[k+12>>2]=h+4;n=w[h+3|0];o=w[h+2|0];v[k+12>>2]=g;l=w[h+4|0]|w[h+5|0]<<8|(w[h+6|0]<<16|w[h+7|0]<<24);d:{e:{switch(((i<<8|i>>>8)&65535)-1|0){case 0:b=g+(b-m<<2)|0;g=b+8|0;if(g>>>0>j>>>0){break b}v[k+12>>2]=b+4;h=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[k+12>>2]=g;b=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);g=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);i=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if((g|0)!=(i|0)){break d}break b;case 1:if(g+12>>>0>j>>>0){break b}v[k+12>>2]=g+4;g=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);if(gk(a,k+12|0,j)){break b}h=b-m|0;b=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);i=B(h,b);g=i+b|0;break d;case 2:b=g+(b-m<<1)|0;if(b+4>>>0>j>>>0){break b}v[k+12>>2]=b+2;h=w[b+1|0];i=w[b|0];v[k+12>>2]=b+4;g=w[b+3|0]|w[b+2|0]<<8;i=h|i<<8;if((g|0)!=(i|0)){break d}break b;case 3:g=g+4|0;if(j>>>0<g>>>0){break b}v[k+12>>2]=g;if(g+4>>>0>j>>>0){break b}h=g-4|0;h=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);if(h>>>0>(j-g>>2)-1>>>0|!h){break b}i=0;while(1){v[k+12>>2]=g+2;if((w[g+1|0]|w[g|0]<<8)==(b|0)){v[k+12>>2]=g+4;b=w[g+3|0];h=w[g+2|0];v[k+12>>2]=g+6;i=b|h<<8;g=w[g+7|0]|w[g+6|0]<<8;break d}g=g+4|0;i=i+1|0;if((h|0)!=(i|0)){continue}break};break b;case 4:case 18:break e;default:break b}}if(g+16>>>0>j>>>0){break b}v[k+12>>2]=g+4;h=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);if(gk(a,k+12|0,j)){break b}i=v[k+12>>2];g=i+4|0;v[k+12>>2]=g;p=j-g>>1;i=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);j=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);if(p>>>0<j>>>0|!j){break b}m=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);i=0;while(1){f:{h=g+2|0;v[k+12>>2]=h;if((w[g+1|0]|w[g|0]<<8)==(b|0)){break f}g=h;i=i+1|0;if((j|0)!=(i|0)){continue}break b}break}i=B(i,m);g=m+i|0}if(g>>>0<i>>>0){break b}n=n|o<<8;j=Ca-16|0;Ca=j;b=6;h=g-i|0;l=(l<<8&16711680|l<<24|(l>>>8&65280|l>>>24))+i|0;g:{if(!h|y[a+24>>2]<h+l>>>0){break g}o=v[a+4>>2];b=Ya(o,l+v[a+20>>2]|0);if(b){break g}b=Jc(o,h,j+8|0);if(b){break g}g=v[j+8>>2];v[j+12>>2]=g;l=g+h|0;b=7;h:{i:{j:{k:{l:{m:{n:{o:{switch(n-1|0){case 0:case 1:case 7:case 16:b=6;if((h|0)<5){break h}b=v[a+12>>2];u[b>>1]=w[g|0];u[b+2>>1]=w[g+1|0];u[b+4>>1]=t[g+2|0];u[b+6>>1]=t[g+3|0];h=w[g+4|0];u[b+14>>1]=0;u[b+10>>1]=0;u[b+12>>1]=0;u[b+8>>1]=h;t[a+16|0]=1;v[j+12>>2]=g+5;break n;case 18:break h;case 4:break m;case 5:case 6:case 8:case 17:break o;default:break i}}b=gk(a,j+12|0,l);if(b){break h}}m=319;b=7;p:{switch(n-1|0){case 16:case 17:break h;case 0:case 5:break j;case 8:break k;case 7:break l;case 4:break m;case 1:case 6:break p;default:break i}}g=v[a+12>>2];b=x[g>>1];h=x[g+2>>1];g=B(b,h+7>>>3|0);if(g>>>0<=B(b,h)+7>>>3>>>0){break m}if((g|0)==(l-v[j+12>>2]|0)){break j}}m=320;break j}b=0;g=v[j+12>>2]+1|0;if(g>>>0>l>>>0){break h}v[j+12>>2]=g}m=321}if(!w[a+17|0]){if(w[a+16|0]){h=v[a+12>>2];b=x[h+2>>1];g=v[a+8>>2];n=x[h>>1];v[g>>2]=n;v[g+4>>2]=b;h=3;p=g;q:{r:{s:{t:{switch(w[a+18|0]-1|0){case 0:t[g+18|0]=1;b=b+7>>>3|0;h=2;break r;case 1:t[g+18|0]=3;b=b+3>>>2|0;h=4;break r;case 3:t[g+18|0]=4;b=b+1>>>1|0;h=16;break r;case 7:t[g+18|0]=2;break s;case 31:break t;default:break q}}t[g+18|0]=7;b=b<<2}h=256}u[p+16>>1]=h;v[g+8>>2]=b;h=0;b=B(b,n);if(f|!b){break q}h=ti(v[v[a>>2]+84>>2],b);if(h){break q}t[a+17|0]=1;h=0}b=h}else{b=6}if(b){break h}}b=0;if(f){break h}b=Ea[m|0](a,v[j+12>>2],l,c,d,e)|0;break h}b=8}Qb(o,j+8|0)}Ca=j+16|0;h=b;break a}h=e?21:157}Ca=k+16|0;return h}function Cw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ca-16|0;Ca=e;c=v[a+4>>2];d=v[v[c+88>>2]+B(v[c+72>>2],20)>>2];a:{b:{c:{d:{if(b){b=v[a+8>>2];v[e+12>>2]=0;f=b;g=v[b+76>>2];b=v[b+72>>2];if(!(Ea[v[b+156>>2]](f,g,d,e+12|0,v[b+20>>2])|0)){break d}v[(v[c+88>>2]+B(v[c+72>>2],20)|0)+12>>2]=v[e+12>>2];if(w[c+69|0]){e:{if(v[c+92>>2]==v[c+88>>2]){a=v[c+80>>2];if((a|0)==v[c+72>>2]){break e}}if(!cb(c,1,1)){break a}b=v[c+88>>2]+B(v[c+72>>2],20)|0;d=v[b+4>>2];a=v[c+92>>2]+B(v[c+80>>2],20)|0;v[a>>2]=v[b>>2];v[a+4>>2]=d;v[a+16>>2]=v[b+16>>2];d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;a=v[c+80>>2]}v[c+80>>2]=a+1}v[c+72>>2]=v[c+72>>2]+1;break a}if(qn(a,0,d)){break b}b=v[a+8>>2];v[e+12>>2]=0;f=b;g=v[b+76>>2];b=v[b+72>>2];if(!(Ea[v[b+156>>2]](f,g,d,e+12|0,v[b+20>>2])|0)){break c}v[(v[c+88>>2]+B(v[c+72>>2],20)|0)+12>>2]=v[e+12>>2];if(w[c+69|0]){f:{if(v[c+92>>2]==v[c+88>>2]){a=v[c+80>>2];if((a|0)==v[c+72>>2]){break f}}if(!cb(c,1,1)){break a}b=v[c+88>>2]+B(v[c+72>>2],20)|0;d=v[b+4>>2];a=v[c+92>>2]+B(v[c+80>>2],20)|0;v[a>>2]=v[b>>2];v[a+4>>2]=d;v[a+16>>2]=v[b+16>>2];d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;a=v[c+80>>2]}v[c+80>>2]=a+1}v[c+72>>2]=v[c+72>>2]+1;break a}if(qn(a,1,d)){break b}}g:{if((x[(v[c+88>>2]+B(v[c+72>>2],20)|0)+16>>1]&31)!=29){break g}h:{if((d|0)<=8191){b=4608;if((d|0)==32|(d|0)==160){break h}break g}i:{switch(d+-8192|0){case 0:case 2:b=512;break h;case 4:b=768;break h;case 5:b=1024;break h;case 6:b=1536;break h;case 7:b=4864;break h;case 8:b=5120;break h;case 9:b=1280;break h;case 10:b=4096;break h;case 47:b=5376;break h;case 95:b=4352;break h;default:if((d|0)!=12288){break g}break;case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 92:case 93:case 94:break g;case 1:case 3:break i}}b=256}f=v[a+8>>2];v[e+8>>2]=0;g=f;h=v[f+76>>2];f=v[f+72>>2];if(!(Ea[v[f+156>>2]](g,h,32,e+8|0,v[f+20>>2])|0)){break g}a=v[c+88>>2];d=v[c+72>>2];f=a+B(d,20)|0;g=x[f+16>>1];if((g&31)==29){u[f+16>>1]=g&255|b;d=v[c+72>>2];a=v[c+88>>2]}v[(a+B(d,20)|0)+12>>2]=v[e+8>>2];j:{if(w[c+69|0]){k:{if(v[c+92>>2]==v[c+88>>2]){a=v[c+80>>2];if((a|0)==v[c+72>>2]){break k}}if(!cb(c,1,1)){break j}b=v[c+88>>2]+B(v[c+72>>2],20)|0;d=v[b+4>>2];a=v[c+92>>2]+B(v[c+80>>2],20)|0;v[a>>2]=v[b>>2];v[a+4>>2]=d;v[a+16>>2]=v[b+16>>2];d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;a=v[c+80>>2]}v[c+80>>2]=a+1}v[c+72>>2]=v[c+72>>2]+1}v[c+32>>2]=v[c+32>>2]|4;break a}l:{if((d|0)!=8209){break l}a=v[a+8>>2];v[e+4>>2]=0;b=a;f=v[a+76>>2];a=v[a+72>>2];if(!(Ea[v[a+156>>2]](b,f,8208,e+4|0,v[a+20>>2])|0)){break l}v[(v[c+88>>2]+B(v[c+72>>2],20)|0)+12>>2]=v[e+4>>2];if(w[c+69|0]){m:{if(v[c+92>>2]==v[c+88>>2]){a=v[c+80>>2];if((a|0)==v[c+72>>2]){break m}}if(!cb(c,1,1)){break a}b=v[c+88>>2]+B(v[c+72>>2],20)|0;d=v[b+4>>2];a=v[c+92>>2]+B(v[c+80>>2],20)|0;v[a>>2]=v[b>>2];v[a+4>>2]=d;v[a+16>>2]=v[b+16>>2];d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;a=v[c+80>>2]}v[c+80>>2]=a+1}v[c+72>>2]=v[c+72>>2]+1;break a}v[(v[c+88>>2]+B(v[c+72>>2],20)|0)+12>>2]=v[e+12>>2];if(w[c+69|0]){n:{if(v[c+92>>2]==v[c+88>>2]){a=v[c+80>>2];if((a|0)==v[c+72>>2]){break n}}if(!cb(c,1,1)){break a}b=v[c+88>>2]+B(v[c+72>>2],20)|0;d=v[b+4>>2];a=v[c+92>>2]+B(v[c+80>>2],20)|0;v[a>>2]=v[b>>2];v[a+4>>2]=d;v[a+16>>2]=v[b+16>>2];d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;a=v[c+80>>2]}v[c+80>>2]=a+1}v[c+72>>2]=v[c+72>>2]+1;break a}v[c+72>>2]=v[c+72>>2]+1}Ca=e+16|0}function Cs(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;m=Ca-16|0;Ca=m;n=-1;a:{b:{c:{switch(v[a>>2]-3|0){case 5:d:{switch(v[b>>2]-3|0){case 5:e=2;d=a;a=v[a+8>>2];i=a&1?d+(a&-2)|0:a;d=v[i+4>>2];a=v[b+8>>2];h=a&1?(a&-2)+b|0:a;a=v[h+4>>2];d=a>>>0>d>>>0?d:a;e:{f:{if((d|0)<1){break f}g:{h:{if(v[h+8>>2]&v[i+8>>2]){break h}j=(d|0)<8?d:8;if((j|0)<=1){break g}if(v[h+12>>2]&v[i+12>>2]){break h}a=(j|0)>1?j:1;if((a|0)==2){break g}if(v[h+16>>2]&v[i+16>>2]){break h}if((a|0)==3){break g}if(v[h+20>>2]&v[i+20>>2]){break h}if((a|0)==4){break g}if(v[h+24>>2]&v[i+24>>2]){break h}if((a|0)==5){break g}if(v[h+28>>2]&v[i+28>>2]){break h}if((a|0)==6){break g}if(v[h+32>>2]&v[i+32>>2]){break h}if(!(v[h+36>>2]&v[i+36>>2])|(a|0)==7){break g}}a=0;break e}if((d|0)<1){break f}d=(j|0)>1?j:1;f=v[i+8>>2]&1536;e=v[h+8>>2]&1536;i:{if(!(!f|!e)){a=1;break i}a=2;if((j|0)<2){break i}if(!(!f|!e)){a=1;break i}if((d|0)==2){break i}if(!(!f|!e)){a=1;break i}if((d|0)==3){break i}if(!(!f|!e)){a=1;break i}if((d|0)==4){break i}if(!(!f|!e)){a=1;break i}if((d|0)==5){break i}if(!(!f|!e)){a=1;break i}if((d|0)==6){break i}if(f){a=1;if(e){break i}}a=2;if((d|0)==7){break i}a=f?e?1:2:2}j:{k:{g=(j|0)<2;if(g|d-2>>>0<=4){break k}f=v[h+32>>2]&3;k=v[i+32>>2]&3;if(k){e=1;if(f){break j}}if((d|0)==7){break k}e=k?f?1:a:a;break j}e=a}l:{m:{if((d|0)==2|g){break m}a=1;f=v[i+16>>2]&12582912;g=v[h+16>>2]&12582912;if(g?f:0){break l}if((d|0)==3){break m}if(g?f:0){break l}if((d|0)==4){break m}if(g?f:0){break l}if((d|0)==5){break m}if(g?f:0){break l}if((d|0)==6){break m}f=f|v[i+32>>2]&786432;g=g|v[h+32>>2]&786432;if(g?f:0){break l}if((d|0)==7){break m}a=f?g?1:e:e;break l}a=e}k=d-2|0;n:{o:{l=(j|0)<2;if(l){break o}e=1;if(k>>>0<=1){break o}f=v[i+20>>2]&256;g=v[h+20>>2]&256;if(g?f:0){break n}if((d|0)==4){break o}if(g?f:0){break n}if((d|0)==5){break o}if(g?f:0){break n}if((d|0)==6){break o}f=f|v[i+32>>2]&16777216;g=g|v[h+32>>2]&16777216;if(g?f:0){break n}if((d|0)==7){break o}e=f?g?1:a:a;break n}e=a}p:{q:{if(k>>>0<=4|l){break q}f=v[h+32>>2]&1073741824;g=v[i+32>>2]&1073741824;if(g){a=1;if(f){break p}}if((d|0)==7){break q}a=g?f?1:e:e;break p}a=e}r:{s:{k=(j|0)<2;f=d-2|0;if(k|f>>>0<=4){break s}g=v[h+32>>2]&-2147483648;l=v[i+32>>2]&-2147483648;if(l){e=1;if(g){break r}}if((d|0)==7){break s}e=l|v[i+36>>2]&1?g|v[h+36>>2]&1?1:a:a;break r}e=a}a=e;t:{u:{if(k){break u}e=1;if(f>>>0<=1){break u}f=v[i+20>>2]&805306368;g=v[h+20>>2]&805306368;if(g?f:0){break t}if((d|0)==4){break u}if(g?f:0){break t}if((d|0)==5){break u}if(g?f:0){break t}if((d|0)==6){break u}if(g?f:0){break t}if((d|0)==7){break u}e=f?g?1:a:a;break t}e=a}v:{w:{l=(j|0)<2;k=d-2|0;if(l|k>>>0<=2){break w}a=1;f=v[i+24>>2]&1610612736;g=v[h+24>>2]&1610612736;if(g?f:0){break v}if((d|0)==5){break w}if(g?f:0){break v}if((d|0)==6){break w}if(g?f:0){break v}if((d|0)==7){break w}a=f?g?1:e:e;break v}a=e}a=k>>>0<=5|l?a:w[i+38|0]&48?w[h+38|0]&48?1:a:a;if((j|0)<2){e=a;break f}if(d-2>>>0<4){e=a;break f}e=1;j=v[i+28>>2]&520093696;f=v[h+28>>2]&520093696;if(f?j:0){break f}if((d|0)==6){e=a;break f}if(f?j:0){break f}if((d|0)==7){e=a;break f}e=j?f?1:a:a}d=v[i>>2];if(d){a=2;d=Oc(d);if(d){x:{while(1){j=Wb(d);if(!j){break x}j=_i(h,j);a=a>>>0>j>>>0?j:a;if(a){continue}break}a=0}qc(d)}e=a>>>0<e>>>0?a:e}a=0;if(!e){break e}d=v[h>>2];a=e;if(!d){break e}a=2;d=Oc(d);if(d){y:{while(1){h=Wb(d);if(!h){break y}h=_i(i,h);a=a>>>0>h>>>0?h:a;if(a){continue}break}a=0}qc(d)}a=a>>>0<e>>>0?a:e}break b;case 0:break d;default:break a}}e=a;a=v[a+8>>2];e=a&1?e+(a&-2)|0:a;a=v[b+8>>2];a=_i(e,a&1?(a&-2)+b|0:a);break b;case 0:break c;default:break a}}z:{switch(v[b>>2]-3|0){case 5:e=v[b+8>>2];d=a;a=v[a+8>>2];a=_i(e&1?(e&-2)+b|0:e,a&1?d+(a&-2)|0:a);break b;case 0:break z;default:break a}}e=a;a=v[a+8>>2];e=a&1?e+(a&-2)|0:a;a=v[b+8>>2];a=je(e,a&1?(a&-2)+b|0:a)}Gc(m,b);b=v[m+12>>2];v[c+8>>2]=v[m+8>>2];v[c+12>>2]=b;b=v[m+4>>2];v[c>>2]=v[m>>2];v[c+4>>2]=b;n=a?(a|0)==1?1:2:0}Ca=m+16|0;return+n}function kB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Ca-176|0;Ca=f;v[f+172>>2]=0;i=v[e+32>>2];if(i){j=v[i+100>>2]}a:{b:{if($a(a,26456,7)){break b}c:{h=w[a+7|0];switch(h|0){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=0;if(!v[v[e+36>>2]+8>>2]|!i){break a}c=v[i+100>>2];v[f+32>>2]=0;j=c;c=v[i+88>>2];e=(h?-8:-7)+b|0;d=e+1|0;b=Ua(j,1,c,d+c|0,v[i+84>>2],f+32|0);v[i+84>>2]=b;c=v[f+32>>2];if(c){break a}k=Ta(b+v[i+88>>2]|0,h?a+8|0:a+7|0,e)+e|0,l=10,t[k|0]=l;v[i+88>>2]=d+v[i+88>>2];c=v[f+32>>2];break a}g=v[e>>2];if(!(g&1)){h=v[e+56>>2];c=176;if($a(a,26464,9)){break a}d:{switch(w[a+9|0]){case 0:case 9:case 10:case 13:case 32:break d;default:break a}}a=0;v[e+32>>2]=0;v[e>>2]=1;b=wb(h,136,f+172|0);c=v[f+172>>2];if(c){break a}v[e+32>>2]=b;v[b+100>>2]=v[e+56>>2];v[e+56>>2]=0;b=b+112|0;c=Is(b,h);v[f+172>>2]=c;if(c){break a}d=26480;while(1){c=Di(v[d>>2],a,b,h);v[f+172>>2]=c;if(c){break a}d=d+16|0;a=a+1|0;if((a|0)!=83){continue}break}a=wb(h,24,f+172|0);v[v[e+32>>2]+92>>2]=a;c=v[f+172>>2];if(c){break a}c=Is(a,h);if(c){break a}b=v[v[e+36>>2]+12>>2];a=v[e+32>>2];v[a+36>>2]=-1;v[a+28>>2]=b;c=0;break a}e:{if($a(a,27808,15)){break e}f:{switch(w[a+15|0]){case 0:case 9:case 10:case 13:case 32:break f;default:break e}}c=179;if(!(g&8)){break a}c=Jd(e+40|0,27824,a,b);v[f+172>>2]=c;if(c){break a}a=v[e+32>>2];b=mg(v[v[e+40>>2]+4>>2]);v[a+72>>2]=b;v[e+4>>2]=b;if(b>>>0>v[e+60>>2]>>>2>>>0){v[a+72>>2]=0;c=6;break a}b=Ua(j,16,0,b,0,f+172|0);a=v[e+32>>2];v[a+80>>2]=b;c=v[f+172>>2];if(c){v[a+72>>2]=0;break a}v[e>>2]=v[e>>2]|16;v[d>>2]=292;c=0;break a}h=f;g:{h:{if($a(a,27827,15)){break h}i:{switch(w[a+15|0]){case 0:case 9:case 10:case 13:case 32:break i;default:break h}}c=178;if(!(g&4)){break g}c=Jd(e+40|0,27824,a,b);v[f+172>>2]=c;if(c){break a}d=v[e+32>>2];b=v[e+40>>2];k=d,l=ci(v[b+4>>2]),u[k+4>>1]=l;a=ci(v[b+8>>2]);u[d+6>>1]=a;k=d,l=_g(v[b+12>>2]),u[k+8>>1]=l;b=_g(v[b+16>>2]);u[d+10>>1]=b;c=0;u[d+14>>1]=0-b;u[d+12>>1]=a+b;v[e>>2]=v[e>>2]|8;break a}j:{k:{if($a(a,27843,4)){break k}l:{switch(w[a+4|0]){case 0:case 9:case 10:case 13:case 32:break l;default:break k}}d=e+40|0;c=Jd(d,27824,a,b);v[f+172>>2]=c;if(c){break a}uq(d);b=tq(d,f+32|0);if(!b){break j}a=v[v[e+32>>2]>>2];if(a){Ea[v[j+8>>2]](j,a)}v[v[e+32>>2]>>2]=0;a=v[f+32>>2]+1|0;d=qb(j,a,f+172|0);v[v[e+32>>2]>>2]=d;c=v[f+172>>2];if(c){break a}Ta(d,b,a);b=v[e+36>>2];g=Ca-272|0;Ca=g;d=6;h=v[e+32>>2];m:{if(!h){break m}c=v[h>>2];if(!c|!w[c|0]){break m}a=v[h+100>>2];v[g+8>>2]=0;v[g>>2]=0;v[g+4>>2]=0;v[g+12>>2]=a;v[h+28>>2]=v[b+12>>2];a=Xa(c)+1|0;if(a>>>0>255){break m}Ta(g+16|0,c,a);d=Jd(g,29156,g+16|0,a);n:{if(d|v[g+8>>2]!=15){break n}c=32;o:{p:{switch(t[v[v[g>>2]+44>>2]]-67|0){case 10:case 42:c=16;break o;case 0:case 32:break o;case 13:case 45:break p;default:break n}}c=8}v[h+28>>2]=c}b=v[g+12>>2];if(!b){break m}a=v[g>>2];if(a){Ea[v[b+8>>2]](b,a)}}Ca=g+272|0;c=d;v[f+172>>2]=c;if(c){break a}v[e>>2]=v[e>>2]|2;c=0;break a}q:{if($a(a,27848,4)){break q}r:{switch(w[a+4|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}c=177;if(!(g&2)){break g}c=Jd(e+40|0,27824,a,b);v[f+172>>2]=c;if(c){break a}c=v[e+32>>2];a=v[e+40>>2];k=c,l=mg(v[a+4>>2]),v[k+16>>2]=l;k=c,l=mg(v[a+8>>2]),v[k+20>>2]=l;k=c,l=mg(v[a+12>>2]),v[k+24>>2]=l;s:{if(v[e+48>>2]==5){b=_g(v[a+16>>2]);a=b&65535;if(a>>>0>=5){u[c+96>>1]=8;break s}if(a>>>0>=3){u[c+96>>1]=4;break s}if((b|0)==2){u[c+96>>1]=2;break s}u[c+96>>1]=1;break s}u[c+96>>1]=1}v[e>>2]=v[e>>2]|4;c=0;break a}if($a(a,27853,5)){break j}t:{switch(w[a+5|0]){case 0:case 9:case 10:case 13:case 32:break t;default:break j}}c=179;if(!(g&8)){break g}a=u[i+12>>1];v[i+40>>2]=a;v[f+16>>2]=a;Bi(f+32|0,f+16|0);c=Rf(v[e+32>>2],27863,f+32|0);v[f+172>>2]=c;if(c){break a}a=v[e+32>>2];b=u[a+14>>1];v[a+44>>2]=b;v[f>>2]=b;Bi(f+32|0,f);c=Rf(v[e+32>>2],27875,f+32|0);if(c){break a}v[d>>2]=293;c=-1;break g}c=3}v[h+172>>2]=c}Ca=f+176|0;return c|0}
|
||
function Lh(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,y=0,z=0,A=0,C=0,D=0;m=Ca-16|0;Ca=m;v[m+12>>2]=0;v[a+1404>>2]=0;v[a+1392>>2]=0;v[a+56>>2]=0;v[a+44>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;e=v[a>>2];j=v[a+16>>2];n=v[a+8>>2];l=v[a+12>>2];o=v[a+4>>2];d=u[b>>1];a:{b:{c:{if(d>>>0<=8){if(v[a+40>>2]){break b}v[a+40>>2]=a+2752;c=8;break c}c=v[a+32>>2];if(c>>>0>=d>>>0){break b}h=a;g=e;f=c;c=d+3&-4;k=c;d=v[a+40>>2];if((d|0)==(a+2752|0)){v[a+40>>2]=0;d=0}C=h,D=Ua(g,4,f,k,d,m+12|0),v[C+40>>2]=D;if(v[m+12>>2]){break a}}v[a+32>>2]=c}c=u[b+2>>1];d=c+2|0;d:{if(d>>>0<=96){if(v[a+28>>2]){break d}v[a+20>>2]=96;v[a+28>>2]=a+2784;break d}g=d;d=v[a+20>>2];if(g>>>0<=d>>>0){break d}h=a;g=c+11&-8;f=g;c=v[a+28>>2];if((c|0)==(a+2784|0)){v[a+28>>2]=0;c=0}C=h,D=Ua(e,40,d,f,c,m+12|0),v[C+28>>2]=D;if(v[m+12>>2]){break a}v[a+20>>2]=g;c=u[b+2>>1]}v[a+24>>2]=c;c=u[b>>1];v[a+1416>>2]=-1;v[a+68>>2]=2;v[a+36>>2]=c;if((pi(b)|0)==1){v[a+1416>>2]=1;v[a+68>>2]=-2}v[a+12>>2]=l;v[a+4>>2]=o;v[a+16>>2]=j;v[a+8>>2]=n;p=v[a+24>>2];if(!p){break a}h=v[a+28>>2];r=h+B(p,40)|0;e=v[b+12>>2];s=B(x[v[v[a+2748>>2]+4>>2]+68>>1],20)>>>11|0;if((p|0)>=1){d=v[b+4>>2];k=v[b+8>>2];c=h;f=u[e>>1];g=c+B(f,40)|0;e=g;while(1){u[c+2>>1]=1028;i=v[d>>2];u[c+12>>1]=i;u[c+14>>1]=v[d+4>>2];i=Qa(i,o)+n|0;v[c+4>>2]=i;v[c+16>>2]=i;i=Qa(v[d+4>>2],l)+j|0;v[c+8>>2]=i;v[c+20>>2]=i;i=v[b+4>>2]+(f<<16>>16<<3)|0;u[g+12>>1]=v[i>>2];u[g+14>>1]=v[i+4>>2];i=w[k|0]&3;u[c>>1]=i?((i|0)==2)<<1:1;z=u[c+14>>1]-u[e+14>>1]|0;i=z>>31;A=u[c+12>>1]-u[e+12>>1]|0;q=A>>31;if((i^i+z)+(q^q+A)>>>0<s>>>0){u[e>>1]=x[e>>1]|32}v[c+36>>2]=e;v[e+32>>2]=c;e:{if((c|0)!=(g|0)){e=c;break e}y=y+1|0;if((y|0)>=u[b>>1]){e=c;g=c;break e}f=u[v[b+12>>2]+(y<<1)>>1];e=B(f,40)+h|0;g=e}k=k+1|0;d=d+8|0;c=c+40|0;if(r>>>0>c>>>0){continue}break}e=v[b+12>>2]}b=v[a+36>>2];f:{if((b|0)<1){break f}c=v[a+40>>2];g=c+(b<<2)|0;d=0;while(1){v[c>>2]=B(d>>16,40)+h;c=c+4|0;if(c>>>0<g>>>0){d=x[e>>1]+1<<16;e=e+2|0;continue}break}if((b|0)<=0){break f}n=v[a+40>>2];i=n+(b<<2)|0;q=(s<<1)-1|0;while(1){d=v[n>>2];c=d;while(1){g:{g=c;k=u[c+12>>1];c=v[c+36>>2];if((d|0)==(c|0)){b=x[g+14>>1];break g}b=u[g+14>>1];f=b-u[c+14>>1]|0;a=f>>31;j=k-u[c+12>>1]|0;e=j>>31;if((q|0)>((a^a+f)+(e^e+j)|0)){continue}}break}v[g+24>>2]=0;v[g+28>>2]=0;c=0;d=g;a=d;e=0;while(1){j=k<<16;f=b<<16;d=v[d+32>>2];b=u[d+14>>1];e=(b-(f>>16)|0)+e|0;f=e>>31;k=u[d+12>>1];c=(k-(j>>16)|0)+c|0;j=c>>31;f=f^e+f;j=j^c+j;h:{if(f+j>>>0<s>>>0){u[d>>1]=x[d>>1]|16;break h}l=(d-a|0)/40|0;v[a+24>>2]=l;v[d+28>>2]=0-l;l=0-c|0;i:{if((c|0)<=(e|0)){f=c;c=(e|0)<(l|0);j=c?e:f;f=j>>31;f=f^f+j;o=c?-1:2;c=c?l:e;break i}o=1;if((e|0)>=(l|0)){break i}c=0-e|0;o=254;f=j}e=(B(f,14)|0)<(c|0)?o:4;t[a+3|0]=e;c=v[a+32>>2];if((d|0)!=(c|0)){while(1){t[c+3|0]=e;t[c+2|0]=e;c=v[c+32>>2];if((d|0)!=(c|0)){continue}break}}t[d+2|0]=e;a=(g-d|0)/40|0;v[d+24>>2]=a;c=0;v[g+28>>2]=0-a;a=d;e=0}if((d|0)!=(g|0)){continue}break}n=n+4|0;if(i>>>0>n>>>0){continue}break}}if((p|0)<=0){break a}c=h;while(1){e=x[c>>1];j:{if(e&16|w[c+2|0]!=4|w[c+3|0]!=4){break j}d=v[c+24>>2];a=B(d,40)+c|0;b=u[c+12>>1];j=u[a+12>>1]-b|0;f=b;g=v[c+28>>2];b=B(g,40)+c|0;if((j^f-u[b+12>>1])<0){break j}f=u[c+14>>1];if((f-u[b+14>>1]^u[a+14>>1]-f)<0){break j}u[c>>1]=e|16;e=b;b=(B(d-g|0,40)|0)/40|0;v[e+24>>2]=b;v[a+28>>2]=0-b}c=c+40|0;if(r>>>0>c>>>0){continue}break}if((p|0)<=0){break a}while(1){c=x[h>>1];k:{if(c&16){break k}l:{if(c&3){break l}a=w[h+3|0];b=w[h+2|0];if((a|0)==(b|0)){if((a|0)!=4){break l}c=u[h+12>>1];e=v[h+28>>2];a=B(e,40)+h|0;d=u[h+14>>1];g=v[h+24>>2];b=B(g,40)+h|0;if(!ct(c-u[a+12>>1]|0,d-u[a+14>>1]|0,u[b+12>>1]-c|0,u[b+14>>1]-d|0)){break k}c=a;a=(B(g-e|0,40)|0)/40|0;v[c+24>>2]=a;v[b+28>>2]=0-a;c=x[h>>1];break l}if((0-(a<<24>>24)|0)!=b<<24>>24){break k}}u[h>>1]=c|16}h=h+40|0;if(r>>>0>h>>>0){continue}break}}Ca=m+16|0;return v[m+12>>2]}function Tv(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,u=0,x=0;d=B(b,1348)+a|0;j=v[d- -64>>2];p=v[d+56>>2];r=j+B(p,44)|0;m=1;n=1;a:{if((b|0)==1){if((p|0)<1){break a}k=w[v[(v[v[v[a+2748>>2]>>2]+8>>2]<<2)+293504>>2]+12|0];d=j;while(1){n=w[d+12|0];b:{if(n&4){break b}c:{d:{f=v[d+20>>2];c=v[d+24>>2];e:{if(!f|!c){break e}e=1;if(!v[c+20>>2]){break d}g=w[c+12|0];if(g&8){v[c+20>>2]=0;t[c+12|0]=g&247;f=v[d+20>>2];break e}if(!(n&8)){break d}f=0;v[d+20>>2]=0;t[d+12|0]=n&247}e=(f|0)!=0;if(!c|f){break d}e=d;f=v[c+20>>2];if(f){break c}break b}if(!e){break b}e=e?c:0;c=d}f=v[f+8>>2];v[c+8>>2]=f;n=w[c+12|0]|4;t[c+12|0]=n;if(!(v[e+20>>2]|!e)){c=v[c+4>>2];g=v[e+4>>2]-c|0;h=f-c|0;c=w[e+12|0];n=Jh(a,1,g,h,n,c);t[e+12|0]=c|4;v[e+8>>2]=f+n}i=i?i:d}d=d+44|0;if(r>>>0>d>>>0){continue}break}n=!k}if((p|0)>=1){d=j;while(1){m=w[d+12|0];f:{if(m&4){break f}f=v[d+24>>2];if(!f){q=q+1|0;break f}if(v[f+20>>2]){c=v[f+4>>2];e=v[f+8>>2];c=Jh(a,b,v[d+4>>2]-c|0,e-c|0,w[f+12|0],m);t[d+12|0]=m|4;v[d+8>>2]=c+e;break f}if(!i){c=v[d+4>>2];k=v[f+4>>2]-c|0;i=Jh(a,b,k,0,m,w[f+12|0]);g:{if((i|0)<=95){e=c+(k>>1)|0;o=e+32&-64;l=(i|0)<65;g=o+(l?-32:-38)|0;s=e-g|0;h=s>>31;l=o|(l?32:26);o=e-l|0;e=o>>31;e=((i|0)/-2|0)+((h^h+s)>>>0<(e^e+o)>>>0?g:l)|0;v[d+8>>2]=e;v[f+8>>2]=e+i;e=v[d+8>>2];break g}e=c+32&-64;v[d+8>>2]=e}i=m|4;t[d+12|0]=i;u=f,x=Jh(a,b,k,e-c|0,i,w[f+12|0])+e|0,v[u+8>>2]=x;i=d;break f}e=v[i+4>>2];g=v[i+8>>2];h=v[d+4>>2];k=v[f+4>>2]-h|0;l=w[f+12|0];c=Jh(a,b,k,0,m,l);h:{if(l&4){e=v[f+8>>2]-c|0;c=d;break h}g=g+(h-e|0)|0;e=g+(k>>1)|0;i:{if((c|0)<=95){h=e+32&-64;g=(c|0)<65;l=h+(g?-32:-38)|0;o=e-l|0;k=o>>31;g=h|(g?32:26);h=e-g|0;e=h>>31;e=(k^k+o)>>>0<(e^e+h)>>>0?l:g;c=(c|0)/2|0;v[d+8>>2]=e-c;e=c+e|0;break i}h=g+32|0;l=h&-64;o=c>>>1|0;s=(l+o|0)-e|0;g=s>>31;k=(k+h&-64)-c|0;h=k+(o-e|0)|0;e=h>>31;e=(g^g+s)>>>0<(e^e+h)>>>0?l:k;v[d+8>>2]=e;e=c+e|0}c=f}v[c+8>>2]=e;t[d+12|0]=m|4;t[f+12|0]=w[f+12|0]|4;if(d>>>0<=j>>>0){break f}c=v[d-36>>2];e=v[d+8>>2];j:{if(!n){if((c|0)<(e|0)){break j}break f}if((c|0)<=(e|0)){break f}}e=v[f+8>>2]-c|0;f=e>>31;if((f^e+f)>>>0<17){break f}v[d+8>>2]=c}d=d+44|0;if(r>>>0>d>>>0){continue}break}m=(p|0)<1}k:{if(b){break k}d=4;f=2;c=j;l:{switch(p-6|0){case 6:c=j+44|0;d=9;f=5;break;case 0:break l;default:break k}}f=B(f,44)+j|0;a=B(d,44)+j|0;e=(v[f+4>>2]<<1)-(v[c+4>>2]+v[a+4>>2]|0)|0;b=e>>31;if((b^b+e)>>>0>7){break k}b=v[a+8>>2];c=(v[f+8>>2]<<1)-v[c+8>>2]|0;v[a+8>>2]=c;b=b-c|0;a=v[a+24>>2];if(a){v[a+8>>2]=v[a+8>>2]-b}if((p|0)==12){v[j+360>>2]=v[j+360>>2]-b;v[j+492>>2]=v[j+492>>2]-b}b=B(d,44)+j|0;t[b+12|0]=w[b+12|0]|4;if(!a){break k}t[a+12|0]=w[a+12|0]|4}if(!q&(i|0)!=0|m){break a}d=j;while(1){q=w[d+12|0];m:{if(q&4){break m}n:{o:{p:{a=v[d+28>>2];if(!a){break p}c=v[a+4>>2];f=v[d+4>>2];e=c-f|0;b=e>>31;if((b^b+e)>>>0>79){break p}c=f+(v[a+8>>2]-c|0)|0;break o}c=d;if(!i){c=v[d+4>>2]+32&-64;v[d+8>>2]=c;i=d;break n}while(1){a=c;c=c-44|0;e=j>>>0>c>>>0;if(!(w[a-32|0]&4?1:e)){continue}break}f=d;q:{while(1){b=f;f=f+44|0;m=r>>>0<=f>>>0;if(m){break q}if(!(w[b+56|0]&4)){continue}break}if(d>>>0<=c>>>0|e|(d>>>0>=f>>>0|m)){break q}c=v[a-36>>2];f=v[b+48>>2];a=v[a-40>>2];if((f|0)==(a|0)){break o}c=fb(v[d+4>>2]-a|0,v[b+52>>2]-c|0,f-a|0)+c|0;v[d+8>>2]=c;q=w[d+12|0];break n}c=v[i+8>>2]+((v[d+4>>2]-v[i+4>>2]|0)+16&-32)|0}v[d+8>>2]=c}t[d+12|0]=q|4;r:{if(d>>>0<=j>>>0){break r}a=v[d-36>>2];s:{if(!n){if((a|0)<(c|0)){break s}break r}if((a|0)<=(c|0)){break r}}b=v[d+24>>2];if(!b){break r}f=v[b+8>>2]-a|0;b=f>>31;if((b^b+f)>>>0<17){break r}v[d+8>>2]=a;c=a}if(!(w[d+56|0]&4)|d+44>>>0>=r>>>0){break m}a=v[d+52>>2];t:{if(!n){if((a|0)>(c|0)){break t}break m}if((a|0)>=(c|0)){break m}}b=v[d+24>>2];if(!b){break m}c=v[b+8>>2]-v[d-36>>2]|0;b=c>>31;if((b^b+c)>>>0<17){break m}v[d+8>>2]=a}d=d+44|0;if(r>>>0>d>>>0){continue}break}}}function xm(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,P=0,Q=0;m=Ca-32|0;Ca=m;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(!((d|0)<1|(e|0)<=0)){if(g>>>0>1){break i}C=(g<<2)+b|0;l=v[C+28>>2];r=v[h+4>>2];q=v[h>>2];s=r+q|0;if(l>>>0<s>>>0){break i}o=v[a+4>>2];j=-1<<o^-1;if(j&d){break h}if(e&j){break g}u=v[((g<<2)+b|0)+20>>2];z=l-s|0;n=u+B(z,40)|0;t=B(q,40);w=v[i>>2];j=10;l=10;j:{k:{switch(q|0){case 0:l=(w|0)!=0;break j;case 1:break k;default:break j}}l=v[n+20>>2];l=(l&1^(l&6)!=6)+w|0;l=l?(l|0)==1?2:1:6}p=n+t|0;x=v[i+4>>2];l:{m:{switch(r|0){case 0:j=(x|0)!=0;break l;case 1:break m;default:break l}}j=v[p+20>>2];j=(j&1^(j&6)!=6)+x|0;j=j?(j|0)==1?2:1:6}t=j|l;if((t&3)!=2){q=1;i=e>>>o|0;n:{if((i|0)<1){break n}l=d>>>o|0;if((l|0)<1){break n}h=f<<o;k=t&1;b=l&-2;e=l&1;d=0;while(1){j=0;g=b;if((l|0)!=1){while(1){Ea[v[a+8>>2]]((j<<o)+c|0,f,k);Ea[v[a+8>>2]](((j|1)<<o)+c|0,f,k);j=j+2|0;g=g-2|0;if(g){continue}break}}if(e){Ea[v[a+8>>2]]((j<<o)+c|0,f,k)}c=c+h|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}v[C+28>>2]=z;break a}if(!(!((j^l)&2)|t&8)){h=1<<o;b=h-1|0;if(b&d){break f}if(b&e){break e}b=j&2?p:n;g=v[b+16>>2];G=t&4?0-g|0:g;H=v[b>>2];I=v[b+4>>2];A=v[b+12>>2];y=v[b+8>>2];if(!((d|0)!=(h|0)|(e|0)!=(h|0))){Ea[v[a+12>>2]](c,f,y,A,H,I,G);break b}u=e>>>o|0;if((u|0)<1){break b}s=d>>>o|0;if((s|0)<1){break b}b=A>>31;d=b+A^b;b=y>>31;d=d+(b+y^b)|0;e=o+5|0;b=e;g=b&31;if((b&63)>>>0>=32){h=d<<g;p=0}else{h=(1<<g)-1&d>>>32-g;p=d<<g}d=h;b=1<<e;h=b;i=b>>31;J=A>>31;K=y>>31;e=J+K|0;w=A;x=y;b=y;g=w+b|0;q=eQ(h,i,g,b>>>0>g>>>0?e+1|0:e);r=Da;N=f<<o;while(1){t=eQ(M,k,w,J);P=Da;D=0;e=0;while(1){b=q;j=r;i=I;h=H;g=1<<v[a+4>>2]+6;l=g;Q=g>>31;g=t;n=eQ(D,e,x,K)+g|0;F=P+Da|0;g=eQ(l,Q,n,g>>>0>n>>>0?F+1|0:F);n=h-g|0;F=i-(Da+(g>>>0>h>>>0)|0)|0;h=b;b=n;g=j-(F+(h>>>0<b>>>0)|0)|0;h=h-b|0;b=g;l=b>>31;j=l;i=h+j|0;g=b>>31;h=g+b|0;g=g^(i>>>0<j>>>0?h+1|0:h);o:{if((g|0)>(d|0)?1:(g|0)>=(d|0)?p>>>0<=(i^j)>>>0:0){Ea[v[a+8>>2]]((D<<o)+c|0,f,(b^G)&-2147483648);break o}Ea[v[a+12>>2]]((D<<o)+c|0,f,y,A,n,F,G)}b=D+1|0;e=b>>>0<1?e+1|0:e;D=b;if((s|0)!=(b|0)|e){continue}break}c=c+N|0;b=M+1|0;k=b>>>0<1?k+1|0:k;M=b;if((u|0)!=(b|0)|k){continue}break}break b}k=1<<o;if(!((k|0)!=(d|0)|(e|0)!=(k|0))){if(!(j&2)){Ea[v[a+16>>2]](c,f,n,q,w);break b}if(!(l&2)){Ea[v[a+16>>2]](c,f,p,r,x);break b}p:{if(l&8){Ea[v[a+16>>2]](c,f,n,q,w);break p}k=u+B(z,40)|0;g=v[k+16>>2];Ea[v[a+12>>2]](c,f,v[k+8>>2],v[k+12>>2],v[n>>2],v[n+4>>2],l&4?0-g|0:g)}q:{if(j&8){Ea[v[a+16>>2]](v[b+48>>2],d,p,v[h+4>>2],v[i+4>>2]);break q}g=v[p+16>>2];Ea[v[a+12>>2]](v[b+48>>2],d,v[p+8>>2],v[p+12>>2],v[p>>2],v[p+4>>2],j&4?0-g|0:g)}Ea[v[a+20>>2]](c,f,v[b+48>>2],d,d,e);break b}u=g^1;r=(u<<2)+b|0;t=r;k=v[r+36>>2];j=s;s=v[r+28>>2];l=j+s|0;r:{if(k>>>0>=l>>>0){k=v[r+20>>2];break r}k=k<<1;k=k>>>0>64?k:64;while(1){j=k;k=j<<1;if(j>>>0<l>>>0){continue}break}l=(u<<2)+b|0;k=gb(v[l+20>>2],B(j,40));if(!k){q=0;break a}v[l+20>>2]=k;v[t+36>>2]=j;x=v[i+4>>2];w=v[i>>2]}v[m+12>>2]=x;v[m+8>>2]=w;k=B(s,40)+k|0;s:{if((d|0)>(e|0)){j=1<<(E(d-1|0)^31);zm(n,v[h>>2],v[h+4>>2],n,m+24|0,k,m+16|0,m+8|0,j<<6);d=d-j|0;k=j;h=e;break s}l=v[h>>2];p=v[h+4>>2];h=E(e-1|0)^31;j=1<<h;ym(n,l,p,n,m+24|0,k,m+16|0,m+8|0,j<<6);k=f<<h;h=e-j|0;e=j;j=d}v[C+28>>2]=v[m+28>>2]+(v[m+24>>2]+z|0);v[r+28>>2]=v[m+20>>2]+(s+v[m+16>>2]|0);q=0;if(!xm(a,b,c,j,e,f,g,m+24|0,i)){break a}if(v[C+28>>2]!=(z|0)){break d}if(!xm(a,b,c+k|0,d,h,f,u,m+16|0,m+8|0)){break a}q=1;if((s|0)!=v[r+28>>2]){break c}break a}O(446964,446841,632,447199);L()}O(447221,446841,633,447199);L()}O(447004,446841,634,447199);L()}O(447047,446841,635,447199);L()}O(447004,446841,560,447349);L()}O(447047,446841,561,447349);L()}O(447290,446841,714,447199);L()}O(447319,446841,717,447199);L()}v[C+28>>2]=z;q=1}Ca=m+32|0;return q}function Ll(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,B=0,D=0,E=0;h=Ca-160|0;Ca=h;p=a+448|0;q=a+436|0;l=f+12|0;r=v[130915];z=h+152|0;m=v[a+352>>2];B=(m+80|0)!=(f|0);D=h- -64|0;while(1){v[h+152>>2]=d;a:{i=Ea[v[b+16>>2]](b,d,e,h+152|0)|0;b:{if(!ye(a,i,d,v[h+152>>2],5590,g)){while(1){b=a;a=v[a+472>>2];if(a){continue}break}j=43;if(v[b+512>>2]<1){break b}a=v[b+504>>2];g=v[b+508>>2];y=1;c=v[b+500>>2];d=c;e=v[b+496>>2];if(d|e){f=d+g|0;i=a+e|0;y=+C(C(+(i>>>0)+ +((a>>>0>i>>>0?f+1|0:f)>>>0)*4294967296)/C(+(e>>>0)+ +(d>>>0)*4294967296))}v[h+32>>2]=509254;A[h+24>>3]=y;v[h+16>>2]=a;v[h+20>>2]=g;v[h+8>>2]=e;v[h+12>>2]=d;v[h>>2]=b;Nd(r,509100,h);break b}j=0;c:{d:{e:{f:{switch(i+4|0){case 4:j=4;if(v[a+144>>2]!=(b|0)){break b}v[a+284>>2]=v[h+152>>2];break b;case 3:j=4;if(v[a+144>>2]==(b|0)){break c}break b;case 14:j=Ea[v[b+40>>2]](b,d)|0;if((j|0)<=-1){j=14;if(v[a+144>>2]==(b|0)){break c}break b}if(!((j|0)!=32|c)){d=v[f+12>>2];if((d|0)==v[f+16>>2]|w[d-1|0]==32){break a}}i=0;j=Sl(j,h+156|0);if((j|0)<1){break a}while(1){d=v[f+12>>2];if((d|0)==v[f+8>>2]){if(!_a(f)){j=1;break b}d=v[l>>2]}k=w[(h+156|0)+i|0];v[l>>2]=d+1;t[d|0]=k;i=i+1|0;if((j|0)!=(i|0)){continue}break};break a;case 10:i=v[h+152>>2];v[h+156>>2]=d;g:{h:{if(!v[l>>2]){if(!_a(f)){break h}}while(1){if(Ea[v[b+56>>2]](b,h+156|0,i,l,v[f+8>>2])>>>0<2){break g}if(_a(f)){continue}break}}j=1;break b}if(v[f+16>>2]){break a}j=1;break b;case 1:v[h+152>>2]=v[b+64>>2]+d;case 11:case 43:d=v[l>>2];if(!(v[f+16>>2]==(d|0)|w[d-1|0]==32?c:1)){break a}if(v[f+8>>2]==(d|0)){if(!_a(f)){j=1;break b}d=v[l>>2]}v[l>>2]=d+1;t[d|0]=32;break a;case 13:i=v[b+64>>2];i=Ea[v[b+44>>2]](b,i+d|0,v[h+152>>2]-i|0)|0;t[h+151|0]=i;if(i&255){ye(a,9,h+151|0,z,5659,1);d=v[f+12>>2];if((d|0)==v[f+8>>2]){if(!_a(f)){j=1;break b}d=v[l>>2]}i=w[h+151|0];v[l>>2]=d+1;t[d|0]=i;d=v[h+152>>2];continue}i=v[h+152>>2];j=v[b+64>>2];v[h+156>>2]=j+d;i:{j:{if(!v[p>>2]){if(!_a(q)){break j}}i=i-j|0;while(1){if(Ea[v[b+56>>2]](b,h+156|0,i,p,v[a+444>>2])>>>0<2){break i}if(_a(q)){continue}break}}j=1;break b}j=1;if(!v[a+452>>2]){break b}i=v[a+448>>2];if((i|0)==v[a+444>>2]){if(!_a(q)){break b}i=v[p>>2]}v[a+448>>2]=i+1;t[i|0]=0;i=v[a+452>>2];if(!i){break b}k=vc(a,m,i,0);v[a+448>>2]=v[a+452>>2];k:{l:{if(!B){if(!v[a+268>>2]){break k}if(!w[m+130|0]){break l}if(!v[a+296>>2]){break e}break k}if(!w[m+129|0]){break e}if(!w[m+130|0]){break k}break e}if(!w[m+129|0]){break e}}if(!k){break a}break d;case 0:break b;default:break f}}j=23;if(v[a+144>>2]!=(b|0)){break b}break c}if(!k){j=11;break b}if(w[k+34|0]){break d}j=24;break b}if(w[k+32|0]){j=12;if(v[a+144>>2]==(b|0)){break c}break b}if(v[k+28>>2]){j=15;if(v[a+144>>2]==(b|0)){break c}break b}n=v[k+4>>2];if(!n){j=16;if(v[a+144>>2]==(b|0)){break c}break b}t[k+32|0]=1;s=v[k+8>>2];d=a;while(1){i=d;d=v[i+472>>2];if(d){continue}break}o=v[i+528>>2]+1|0;v[i+528>>2]=o;d=v[i+532>>2]+1|0;v[i+532>>2]=d;j=v[i+536>>2];if(d>>>0>j>>>0){j=j+1|0;v[i+536>>2]=j}if(v[i+540>>2]>=1){u=w[k+33|0];x=v[k>>2];E=v[k+8>>2];v[h+136>>2]=5740;v[h+132>>2]=E;v[h+128>>2]=509358;v[h+124>>2]=x;v[h+116>>2]=509099;v[h+120>>2]=u?508104:508106;v[h+104>>2]=d;v[h+112>>2]=(d<<1)-2;v[h+108>>2]=j;v[h+100>>2]=o;v[h+96>>2]=i;$b(r,509364,h+96|0)}j=Ll(a,v[a+224>>2],c,v[k+4>>2],n+s|0,f,1);d=a;while(1){i=d;d=v[i+472>>2];if(d){continue}break}if(v[i+540>>2]>=1){n=v[i+536>>2];d=v[i+532>>2];s=v[i+528>>2];o=w[k+33|0];u=v[k>>2];x=v[k+8>>2];v[h+88>>2]=5747;v[h+84>>2]=x;v[h+80>>2]=509449;v[h+76>>2]=u;v[h+72>>2]=o?508104:508106;v[h+68>>2]=509099;v[D>>2]=(d<<1)-2;v[h+60>>2]=n;v[h+56>>2]=d;v[h+52>>2]=s;v[h+48>>2]=i;$b(r,509364,h+48|0)}v[i+532>>2]=v[i+532>>2]-1;t[k+32|0]=0;if(!j){break a}break b}v[a+284>>2]=d}Ca=h+160|0;return j}d=v[h+152>>2];continue}}function qx(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;n=0-c|0;m=B(b,c)+a|0;if(b>>>0>=10){p=c-1&3;q=c-2>>>0<3;while(1){e=B(b>>>1|0,c)+a|0;h=v[e+4>>2];f=a+c|0;i=v[f+4>>2];g=$a(v[f>>2],v[e>>2],h>>>0<i>>>0?h:i);j=((g?g:i-h|0)|0)>0;d=j?f:e;k=B(b-1|0,c);h=k+a|0;i=h+n|0;l=v[i>>2];b=v[i+4>>2];g=v[d+4>>2];o=$a(v[d>>2],l,b>>>0<g>>>0?b:g);if(((o?o:g-b|0)|0)>=1){f=j?e:f;e=v[f+4>>2];g=f;f=$a(v[f>>2],l,b>>>0<e>>>0?b:e);d=((f?f:e-b|0)|0)>0?g:i}if(!((d|0)==(h|0)|(c|0)<1)){e=c+d|0;b=h;while(1){f=w[d|0];t[d|0]=w[b|0];t[b|0]=f;b=b+1|0;d=d+1|0;if(e>>>0>d>>>0){continue}break}}j=h;e=h;f=a;g=f;a:{if((k|0)<1){break a}b:while(1){if(e>>>0<=g>>>0){break a}while(1){i=v[g>>2];l=v[h>>2];d=v[h+4>>2];b=v[g+4>>2];k=$a(i,l,b>>>0>d>>>0?d:b);b=k?k:b-d|0;if((b|0)>=1){i=e;c:{if(e>>>0<=g>>>0){break c}while(1){d:{e:{e=i+n|0;b=v[e>>2];k=v[e+4>>2];l=$a(b,l,d>>>0<k>>>0?d:k);k=l?l:k-d|0;if(!k){k=j+n|0;if((c|0)<1|i>>>0>=j>>>0){break e}t[e|0]=w[k|0];t[k|0]=b;d=e+1|0;if(i>>>0<=d>>>0){break e}b=k;l=p;if(l){while(1){j=w[d|0];t[d|0]=w[b+1|0];t[b+1|0]=j;d=d+1|0;b=b+1|0;l=l-1|0;if(l){continue}break}}if(q){break e}while(1){j=w[d|0];t[d|0]=w[b+1|0];t[b+1|0]=j;j=w[d+1|0];t[d+1|0]=w[b+2|0];t[b+2|0]=j;j=w[d+2|0];t[d+2|0]=w[b+3|0];t[b+3|0]=j;j=w[d+3|0];t[d+3|0]=w[b+4|0];t[b+4|0]=j;b=b+4|0;d=d+4|0;if(i>>>0>d>>>0){continue}break}break e}if((k|0)>-1){break d}f:{if((c|0)<1|e>>>0<=g>>>0){break f}i=w[g|0];t[g|0]=b;t[e|0]=i;if((c|0)==1){break f}i=c+g|0;d=g+1|0;b=e;while(1){k=w[d|0];t[d|0]=w[b+1|0];t[b+1|0]=k;b=b+1|0;d=d+1|0;if(i>>>0>d>>>0){continue}break}}g=c+g|0;break c}j=k}if(e>>>0<=g>>>0){break c}l=v[h>>2];d=v[h+4>>2];i=e;continue}}if(e>>>0>g>>>0){continue b}break a}if(!b){g:{if((c|0)<1|f>>>0>=g>>>0){break g}b=w[f|0];t[f|0]=i;t[g|0]=b;if((c|0)==1){break g}i=c+f|0;d=f+1|0;b=g;while(1){k=w[d|0];t[d|0]=w[b+1|0];t[b+1|0]=k;b=b+1|0;d=d+1|0;if(i>>>0>d>>>0){continue}break}}f=c+f|0}g=c+g|0;if(g>>>0<e>>>0){continue}break}break}}b=f-a|0;h=e-f|0;h:{if(!b|!h){break h}if(b>>>0>h>>>0){if((h|0)<1){break h}f=a+h|0;d=a+b|0;b=a;while(1){i=w[b|0];t[b|0]=w[d|0];t[d|0]=i;d=d+1|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}break h}if((b|0)<1){break h}f=a+b|0;d=a+h|0;b=a;while(1){i=w[b|0];t[b|0]=w[d|0];t[d|0]=i;d=d+1|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}b=j-e|0;i:{if(!b){break i}f=m-j|0;if(!f){break i}if(b>>>0>f>>>0){if((f|0)<1){break i}f=e+f|0;d=b+e|0;while(1){i=w[e|0];t[e|0]=w[d|0];t[d|0]=i;d=d+1|0;e=e+1|0;if(f>>>0>e>>>0){continue}break}break i}if((b|0)<1){break i}i=b+e|0;d=e+f|0;while(1){f=w[e|0];t[e|0]=w[d|0];t[d|0]=f;d=d+1|0;e=e+1|0;if(i>>>0>e>>>0){continue}break}}qx(a,(h>>>0)/(c>>>0)|0,c);a=m-b|0;b=(b>>>0)/(c>>>0)|0;m=a+B(c,b)|0;if(b>>>0>=10){continue}break}}f=a+c|0;j:{if(m>>>0<=f>>>0){break j}if((c|0)>=1){i=c+2&3;k=c-3>>>0<3;while(1){e=f;k:{if(e>>>0<=a>>>0){break k}while(1){h=e;e=e+n|0;b=v[e>>2];d=v[h>>2];g=v[h+4>>2];j=v[e+4>>2];l=$a(b,d,g>>>0<j>>>0?g:j);if(((l?l:j-g|0)|0)<1){break k}t[e|0]=d;t[h|0]=b;g=e+1|0;l:{if(g>>>0>=h>>>0){break l}t[g|0]=w[h+1|0];t[h+1|0]=b>>>8;d=g+1|0;if((h|0)==(d|0)){break l}b=h+1|0;g=i;if(g){while(1){j=w[d|0];t[d|0]=w[b+1|0];t[b+1|0]=j;d=d+1|0;b=b+1|0;g=g-1|0;if(g){continue}break}}if(k){break l}while(1){g=w[d|0];t[d|0]=w[b+1|0];t[b+1|0]=g;g=w[d+1|0];t[d+1|0]=w[b+2|0];t[b+2|0]=g;g=w[d+2|0];t[d+2|0]=w[b+3|0];t[b+3|0]=g;g=w[d+3|0];t[d+3|0]=w[b+4|0];t[b+4|0]=g;b=b+4|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}}if(a>>>0<e>>>0){continue}break}}f=c+f|0;if(m>>>0>f>>>0){continue}break}break j}while(1){m:{if(a>>>0>=f>>>0){break m}e=v[f>>2];d=v[f+4>>2];b=f;while(1){b=b+n|0;i=v[b>>2];h=v[b+4>>2];e=$a(i,e,d>>>0<h>>>0?d:h);if(((e?e:h-d|0)|0)<1){break m}e=i;d=h;if(a>>>0<b>>>0){continue}break}}f=c+f|0;if(m>>>0>f>>>0){continue}break}}}function Uw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=C(0),k=0,l=0,m=0,n=C(0),o=0,p=0,q=0,r=0,s=0,u=0,x=C(0),A=0,E=0;if(v[a+4>>2]){a:{if(c){o=eb(c,4);p=eb(c,4);q=eb(c,4);if(q?!o|!p:1){Pa(o);Pa(p);Pa(q);return}d=c<<2;Ta(o,b,d);u=Ta(p,b,d);b=Vw(v[a+16>>2]+116|0);d=w[b+6|0]<<8|w[b+7|0];m=c>>>0>d>>>0?d:c;if(m){b=b+8|0;while(1){d=(i<<2)+u|0;k=d;e=v[d>>2];g=w[b+1|0]|w[b|0]<<8;b:{if(g>>>0<=1){if(!g){break b}d=w[b+4|0]|w[b+5|0]<<8;e=e-((d<<8|d>>>8)<<16>>16)|0;d=w[b+2|0]|w[b+3|0]<<8;e=e+((d<<8|d>>>8)<<16>>16)|0;break b}d=w[b+4|0]|w[b+5|0]<<8;d=(d<<8|d>>>8)<<16>>16;if((d|0)>=(e|0)){e=e-d|0;d=w[b+2|0]|w[b+3|0]<<8;e=e+((d<<8|d>>>8)<<16>>16)|0;break b}d=1;g=g-1|0;c:{if(g>>>0<2){break c}while(1){f=(d<<2)+b|0;f=w[f+4|0]|w[f+5|0]<<8;if((f<<8|f>>>8)<<16>>16>=(e|0)){break c}d=d+1|0;if((g|0)!=(d|0)){continue}break}d=g}g=(d<<2)+b|0;f=w[g+4|0]|w[g+5|0]<<8;h=f<<8|f>>>8;f=h<<16>>16;if((f|0)<=(e|0)){d=w[g+2|0]|w[g+3|0]<<8;e=(e-f|0)+((d<<8|d>>>8)<<16>>16)|0;break b}g=d-1|0;l=(g<<2)+b|0;l=w[l+4|0]|w[l+5|0]<<8;l=l<<8|l>>>8;if((l&65535)==(h&65535)){d=(g<<2)+b|0;d=w[d+2|0]|w[d+3|0]<<8;e=(d<<8|d>>>8)<<16>>16;break b}r=e;e=l<<16>>16;s=d<<2;d=b+2|0;h=s+d|0;h=w[h|0]|w[h+1|0]<<8;d=d+(g<<2)|0;d=w[d|0]|w[d+1|0]<<8;d=(d<<8|d>>>8)<<16>>16;j=C(H(C(C(C(C(C(r-e|0)*C(((h<<8|h>>>8)<<16>>16)-d|0))/C(f-e|0))+C(d|0))+C(.5))));if(C(D(j))<C(2147483648)){e=~~j;break b}e=-2147483648}v[k>>2]=e;b=(w[b|0]<<10|w[b+1|0]<<2|2)+b|0;i=i+1|0;if((m|0)!=(i|0)){continue}break}if(!c){break a}}b=0;while(1){l=b<<2;A=l+q|0;E=B(b,20);f=Ca-48|0;Ca=f;m=v[a+16>>2]+112|0;d=v[m>>2];d:{if(d){break d}s=m+-64|0;while(1){d=v[s>>2];if(!d){d=280448;break d}v[f+16>>2]=0;v[f+20>>2]=0;t[f+21|0]=0;t[f+22|0]=0;t[f+23|0]=0;t[f+24|0]=0;t[f+25|0]=0;t[f+26|0]=0;t[f+27|0]=0;t[f+28|0]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;e=Nb(d);t[f+44|0]=1;v[f+40>>2]=e;g=0;e=f+8|0;d=Jb(d,1719034226);i=Hb(d);v[e+28>>2]=i;e:{f:{g:{h:{i:{j:{while(1){t[e+20|0]=g;k=v[i+12>>2];v[e+4>>2]=k;h=v[i+16>>2];v[e+8>>2]=h+k;if((h|0)<=-1){break f}v[e+24>>2]=0;r=e;if(h>>>0>67108862){g=1073741823}else{h=h<<6;h=h>>>0>16384?h:16384;g=h>>>0<1073741823?h:1073741823}v[r+12>>2]=g;v[e>>2]=0;if(!k){Sa(i);v[e+28>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;break e}i=Tw(k,e);g=v[e+24>>2];k:{if(i){if(!g){break k}v[e+24>>2]=0;g=Tw(k,e);i=v[e+24>>2];Sa(v[e+28>>2]);v[e+28>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;if(i){break g}if(g){break j}break g}if(w[e+20|0]|!g){break i}k=xc(d);v[e+4>>2]=k;v[e+8>>2]=k+v[d+16>>2];i=v[e+28>>2];g=1;if(k){continue}break h}break}Sa(v[e+28>>2]);v[e+28>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0}if(v[d+4>>2]){v[d+4>>2]=0}break e}i=v[e+28>>2]}Sa(i);v[e+28>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0}Sa(d);d=280448;break e}O(256980,257005,194,257022);L()}e=d;if(!d){e=280448}d=v[m>>2];if(!d){v[m>>2]=e;d=e;break d}if(e){if((e|0)!=280448){Sa(e)}d=v[m>>2]}if(!d){continue}break}}Ca=f+48|0;d=y[d+16>>2]<16?280448:v[d+12>>2];e=w[d+5|0]|w[d+4|0]<<8;d=(w[d+9|0]|w[d+8|0]<<8)>>>0>b>>>0?(e?d+e|0:280448)+E|0:280448;e=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);j=C(C(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))*C(152587890625e-16));e=v[l+u>>2];if(e){l:{x=C(e|0);if((e|0)<=-1){d=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);n=C(C(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))*C(152587890625e-16));j=C(j+C(C(C(j-(j<=n?j:n))*x)*C(6103515625e-14)));break l}d=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);n=C(C(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))*C(152587890625e-16));j=C(j+C(C(C((j>=n?j:n)-j)*x)*C(6103515625e-14)))}}z[A>>2]=j;b=b+1|0;if((c|0)!=(b|0)){continue}break}break a}Vw(v[a+16>>2]+116|0)}Pa(p);Pa(v[a+64>>2]);Pa(v[a+68>>2]);v[a+68>>2]=q;v[a+64>>2]=o;v[a+60>>2]=c}}function mm(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,B=0,C=0,D=0;l=v[b+16>>2];i=v[b+32>>2];m=v[b+48>>2];n=v[b+36>>2];o=v[b+52>>2];p=v[b+4>>2];g=v[b+20>>2];h=v[a+4>>2];j=v[b>>2];B=v[a>>2];q=v[a+12>>2];k=v[a+8>>2];c=h+jQ(((j+B|0)+(q^(q^k)&h)|0)-680876936|0,7)|0;r=v[b+12>>2];s=v[b+8>>2];e=jQ(((p+q|0)+(c&(h^k)^k)|0)-389564586|0,12)+c|0;d=jQ(((s+k|0)+(e&(c^h)^h)|0)+606105819|0,17)+e|0;f=jQ(((h+r|0)+(c^d&(c^e))|0)-1044525330|0,22)+d|0;c=jQ(((c+l|0)+(e^f&(d^e))|0)-176418897|0,7)+f|0;t=v[b+28>>2];u=v[b+24>>2];e=jQ(((e+g|0)+(d^c&(d^f))|0)+1200080426|0,12)+c|0;d=jQ(((d+u|0)+(f^e&(c^f))|0)-1473231341|0,17)+e|0;f=jQ(((f+t|0)+(c^d&(c^e))|0)-45705983|0,22)+d|0;c=jQ(((c+i|0)+(e^f&(d^e))|0)+1770035416|0,7)+f|0;w=v[b+44>>2];x=v[b+40>>2];e=jQ(((e+n|0)+(d^c&(d^f))|0)-1958414417|0,12)+c|0;d=jQ(((x+d|0)+(f^e&(c^f))|0)-42063|0,17)+e|0;f=jQ(((f+w|0)+(c^d&(c^e))|0)-1990404162|0,22)+d|0;c=jQ(((c+m|0)+(e^f&(d^e))|0)+1804603682|0,7)+f|0;y=v[b+60>>2];A=c+p|0;z=v[b+56>>2];e=jQ(((e+o|0)+(d^c&(d^f))|0)-40341101|0,12)+c|0;b=jQ(((z+d|0)+(f^e&(c^f))|0)-1502002290|0,17)+e|0;c=jQ(((f+y|0)+(c^b&(c^e))|0)+1236535329|0,22)+b|0;d=jQ((A+((b^c)&e^b)|0)-165796510|0,5)+c|0;f=b+w|0;b=jQ(((e+u|0)+(c^b&(c^d))|0)-1069501632|0,9)+d|0;e=jQ((f+(d^c&(b^d))|0)+643717713|0,14)+b|0;c=jQ(((c+j|0)+(b^d&(b^e))|0)-373897302|0,20)+e|0;d=jQ(((d+g|0)+((e^c)&b^e)|0)-701558691|0,5)+c|0;b=jQ(((b+x|0)+(c^e&(c^d))|0)+38016083|0,9)+d|0;e=jQ(((e+y|0)+(d^c&(b^d))|0)-660478335|0,14)+b|0;c=jQ(((c+l|0)+(b^d&(b^e))|0)-405537848|0,20)+e|0;d=jQ(((d+n|0)+((e^c)&b^e)|0)+568446438|0,5)+c|0;f=e+r|0;e=jQ(((b+z|0)+(c^e&(c^d))|0)-1019803690|0,9)+d|0;f=jQ((f+(d^(e^d)&c)|0)-187363961|0,14)+e|0;c=jQ(((c+i|0)+(e^(e^f)&d)|0)+1163531501|0,20)+f|0;b=jQ(((d+o|0)+((f^c)&e^f)|0)-1444681467|0,5)+c|0;d=jQ(((e+s|0)+(c^f&(b^c))|0)-51403784|0,9)+b|0;e=jQ(((f+t|0)+(b^c&(d^b))|0)+1735328473|0,14)+d|0;A=d+i|0;f=d^e;c=jQ(((c+m|0)+(d^f&b)|0)-1926607734|0,20)+e|0;d=jQ(((b+g|0)+(c^f)|0)-378558|0,4)+c|0;b=jQ((A+(c^e^d)|0)-2022574463|0,11)+d|0;e=jQ(((e+w|0)+(b^(c^d))|0)+1839030562|0,16)+b|0;c=jQ(((c+z|0)+(e^(b^d))|0)-35309556|0,23)+e|0;d=jQ(((d+p|0)+(c^(b^e))|0)-1530992060|0,4)+c|0;b=jQ(((b+l|0)+(d^(c^e))|0)+1272893353|0,11)+d|0;e=jQ(((e+t|0)+(b^(c^d))|0)-155497632|0,16)+b|0;c=jQ(((c+x|0)+(e^(b^d))|0)-1094730640|0,23)+e|0;d=jQ(((d+o|0)+(c^(b^e))|0)+681279174|0,4)+c|0;b=jQ(((b+j|0)+(d^(c^e))|0)-358537222|0,11)+d|0;e=jQ(((e+r|0)+(b^(c^d))|0)-722521979|0,16)+b|0;c=jQ(((c+u|0)+(e^(b^d))|0)+76029189|0,23)+e|0;d=jQ(((d+n|0)+(c^(b^e))|0)-640364487|0,4)+c|0;b=jQ(((b+m|0)+(d^(c^e))|0)-421815835|0,11)+d|0;f=d+j|0;j=b^d;d=jQ(((e+y|0)+(b^(c^d))|0)+530742520|0,16)+b|0;e=jQ(((c+s|0)+(j^d)|0)-995338651|0,23)+d|0;c=jQ((f+((e|b^-1)^d)|0)-198630844|0,6)+e|0;f=e+g|0;g=d+z|0;d=jQ(((b+t|0)+(e^(c|d^-1))|0)+1126891415|0,10)+c|0;e=jQ((g+(c^(d|e^-1))|0)-1416354905|0,15)+d|0;b=jQ((f+((e|c^-1)^d)|0)-57434055|0,21)+e|0;f=e+x|0;g=d+r|0;d=jQ(((c+m|0)+(e^(b|d^-1))|0)+1700485571|0,6)+b|0;e=jQ((g+(b^(d|e^-1))|0)-1894986606|0,10)+d|0;c=jQ((f+((e|b^-1)^d)|0)-1051523|0,15)+e|0;f=e+y|0;i=d+i|0;d=jQ(((b+p|0)+(e^(c|d^-1))|0)-2054922799|0,21)+c|0;e=jQ((i+(c^(d|e^-1))|0)+1873313359|0,6)+d|0;b=jQ((f+((e|c^-1)^d)|0)-30611744|0,10)+e|0;c=jQ(((c+u|0)+(e^(b|d^-1))|0)-1560198380|0,15)+b|0;d=jQ(((d+o|0)+(b^(c|e^-1))|0)+1309151649|0,21)+c|0;e=jQ(((e+l|0)+((d|b^-1)^c)|0)-145523070|0,6)+d|0;v[a>>2]=e+B;b=jQ(((b+w|0)+(d^(e|c^-1))|0)-1120210379|0,10)+e|0;v[a+12>>2]=b+q;c=jQ(((c+s|0)+(e^(b|d^-1))|0)+718787259|0,15)+b|0;v[a+8>>2]=c+k;C=a,D=jQ(((d+n|0)+(b^(c|e^-1))|0)-343485551|0,21)+(c+h|0)|0,v[C+4>>2]=D}function Ap(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=Ca-32|0;Ca=i;n=w[c+2|0];k=w[c+3|0];d=v[b+4>>2];o=v[d+80>>2];a:{b:{if((w[c+7|0]|w[c+6|0]<<8)!=65535){b=k&31;e=v[d+40>>2]-b|0;v[d+40>>2]=e;if((e|0)<1){break b}l=v[a+12>>2]+(w[c+6|0]<<9|w[c+7|0]<<1)|0;c:{if(b){e=v[a+4>>2];if(l>>>0<y[e+24>>2]){break c}h=v[e+28>>2];if(h>>>0<l>>>0){break c}f=h-l|0;h=b<<1;if(f>>>0<h>>>0){break c}f=e;e=v[e+32>>2]-h|0;v[f+32>>2]=e;if((e|0)<1){break c}}j=b}if(!Hd(d,v[a+8>>2])){break b}p=n&4;b=v[d+72>>2];if(!(p|b>>>0>=y[d+76>>2])){b=v[d+88>>2]+B(b,20)|0;v[i+24>>2]=v[b+16>>2];e=v[b+12>>2];v[i+16>>2]=v[b+8>>2];v[i+20>>2]=e;e=v[b+4>>2];v[i+8>>2]=v[b>>2];v[i+12>>2]=e;if(!cb(d,0,1)){break b}e=v[i+12>>2];b=v[d+92>>2]+B(v[d+80>>2],20)|0;v[b>>2]=v[i+8>>2];v[b+4>>2]=e;v[b+16>>2]=v[i+24>>2];e=v[i+20>>2];v[b+8>>2]=v[i+16>>2];v[b+12>>2]=e;v[d+80>>2]=v[d+80>>2]+1}if(!cb(d,0,j)){break b}b=v[d+72>>2];h=v[d+76>>2];if(b>>>0>h>>>0){break a}d:{if(b>>>0<h>>>0){g=v[d+80>>2];f=v[d+92>>2];e=v[d+88>>2]+B(b,20)|0;break d}f=v[d+92>>2];g=v[d+80>>2];e=f+B(g?g-1|0:0,20)|0}e:{if(!j){v[d+80>>2]=g;break e}b=B(g,20)+f|0;h=0;if((j|0)!=1){g=j&30;while(1){f=v[e+4>>2];v[b>>2]=v[e>>2];v[b+4>>2]=f;v[b+16>>2]=v[e+16>>2];f=e+8|0;m=v[f+4>>2];v[b+8>>2]=v[f>>2];v[b+12>>2]=m;f=h<<1;m=f+l|0;v[b>>2]=w[m|0]<<8|w[m+1|0];m=v[e+4>>2];v[b+20>>2]=v[e>>2];v[b+24>>2]=m;m=v[e+12>>2];v[b+28>>2]=v[e+8>>2];v[b+32>>2]=m;v[b+36>>2]=v[e+16>>2];f=l+(f|2)|0;v[b+20>>2]=w[f|0]<<8|w[f+1|0];h=h+2|0;b=b+40|0;g=g-2|0;if(g){continue}break}}if(j&1){g=v[e+4>>2];v[b>>2]=v[e>>2];v[b+4>>2]=g;v[b+16>>2]=v[e+16>>2];g=v[e+12>>2];v[b+8>>2]=v[e+8>>2];v[b+12>>2]=g;e=b;b=l+(h<<1)|0;v[e>>2]=w[b|0]<<8|w[b+1|0]}v[d+80>>2]=v[d+80>>2]+j;h=v[d+76>>2];b=v[d+72>>2]}if(!(p|b>>>0>=h>>>0)){v[d+72>>2]=b+1}if(!Hd(d,j+o|0)){break b}b=v[d+76>>2];e=v[d+72>>2]+1|0;md(d,v[a+8>>2],b>>>0<e>>>0?b:e)}if(n&128){v[a+8>>2]=o}if((w[c+5|0]|w[c+4|0]<<8)==65535){break b}b=(k|n<<8)>>>5&31;e=v[d+40>>2]-b|0;v[d+40>>2]=e;if((e|0)<1){break b}e=v[a+12>>2]+(w[c+4|0]<<9|w[c+5|0]<<1)|0;f:{if(b){c=0;a=v[a+4>>2];if(e>>>0<y[a+24>>2]){break f}j=v[a+28>>2];if(j>>>0<e>>>0){break f}f=j-e|0;j=b<<1;if(f>>>0<j>>>0){break f}f=a;a=v[a+32>>2]-j|0;v[f+32>>2]=a;if((a|0)<1){break f}}c=b}l=v[d+80>>2];j=n&8;a=v[d+72>>2];if(!(j|a>>>0>=y[d+76>>2])){a=v[d+88>>2]+B(a,20)|0;v[i+24>>2]=v[a+16>>2];b=v[a+12>>2];v[i+16>>2]=v[a+8>>2];v[i+20>>2]=b;b=v[a+4>>2];v[i+8>>2]=v[a>>2];v[i+12>>2]=b;if(!cb(d,0,1)){break b}b=v[i+12>>2];a=v[d+92>>2]+B(v[d+80>>2],20)|0;v[a>>2]=v[i+8>>2];v[a+4>>2]=b;v[a+16>>2]=v[i+24>>2];b=v[i+20>>2];v[a+8>>2]=v[i+16>>2];v[a+12>>2]=b;v[d+80>>2]=v[d+80>>2]+1}if(!cb(d,0,c)){break b}b=v[d+72>>2];h=v[d+76>>2];if(b>>>0>h>>>0){break a}g:{if(b>>>0<h>>>0){g=v[d+80>>2];f=v[d+92>>2];a=v[d+88>>2]+B(b,20)|0;break g}f=v[d+92>>2];g=v[d+80>>2];a=f+B(g?g-1|0:0,20)|0}h:{if(!c){v[d+80>>2]=g;break h}b=B(g,20)+f|0;h=0;if((c|0)!=1){g=c&30;while(1){f=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=f;v[b+16>>2]=v[a+16>>2];f=a+8|0;k=v[f+4>>2];v[b+8>>2]=v[f>>2];v[b+12>>2]=k;f=h<<1;k=f+e|0;v[b>>2]=w[k|0]<<8|w[k+1|0];k=v[a+4>>2];v[b+20>>2]=v[a>>2];v[b+24>>2]=k;k=v[a+12>>2];v[b+28>>2]=v[a+8>>2];v[b+32>>2]=k;v[b+36>>2]=v[a+16>>2];f=e+(f|2)|0;v[b+20>>2]=w[f|0]<<8|w[f+1|0];h=h+2|0;b=b+40|0;g=g-2|0;if(g){continue}break}}if(c&1){g=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=g;v[b+16>>2]=v[a+16>>2];g=v[a+12>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=g;a=e+(h<<1)|0;v[b>>2]=w[a|0]<<8|w[a+1|0]}v[d+80>>2]=v[d+80>>2]+c;h=v[d+76>>2];b=v[d+72>>2]}if(!(j|b>>>0>=h>>>0)){v[d+72>>2]=b+1}Hd(d,l+(n&64?0:c)|0)}Ca=i+32|0;return}O(229459,229479,223,229494);L()}function lK(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,C=0,E=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,P=0,Q=0,R=0;i=Ca-128|0;Ca=i;k=v[a>>2];C=v[k- -64>>2];E=v[k+56>>2];p=v[a+16>>2];m=p>>31;g=v[a+12>>2];h=g>>31;q=v[a+24>>2];j=q>>31;n=v[a+20>>2];d=n>>31;o=v[k+60>>2];l=v[k+52>>2];r=+(o-l|0)*.5+64;G=8/r;k=v[a+28>>2];h=(m^m+p)+(h^g+h)|0;d=(j^j+q)+(d^d+n)|0;s=.125/+((d>>>0<h>>>0?h:d)|0);w=G*+(k|0)*s;A[i+96>>3]=w;t=+(C-E|0)*.5+64;H=8/t;j=v[a+32>>2];x=H*+(j|0)*s;A[i+104>>3]=x;h=v[a+4>>2];d=v[a+8>>2];I=F(t*D(x)+(r*D(w)+1),16);J=+(o+l|0)*.5;K=+(C+E|0)*.5;A[i+112>>3]=I-(J*w+K*x);r=+(d<<3);s=H*+(q|0)+x*r;A[i+80>>3]=s;t=G*+(n|0)+w*r;A[i+72>>3]=t;A[i+88>>3]=I*r+0-(J*t+K*s);r=+(h<<3);s=H*+(p|0)+x*r;A[i+56>>3]=s;t=G*+(g|0)+w*r;A[i+48>>3]=t;A[i+64>>3]=I*r+0-(J*t+K*s);d=v[a>>2]+4|0;a:{if(j|k){Cu(i,d,i+48|0);Cu(i+24|0,v[a>>2]+28|0,i+48|0);break a}Du(i,d,i+48|0);Du(i+24|0,v[a>>2]+28|0,i+48|0)}M=i+24|0;a=M;y=Ca-16|0;Ca=y;e=c+768|0;b:{c:{if(!i){break c}if(xu(e,i,0)){break c}hb(v[c>>2],2,447664,0);break b}d:{if(!a){break d}if(xu(e,a,(i|0)!=0)){break d}hb(v[c>>2],2,447664,0);break b}j=v[c+772>>2];h=v[c+780>>2];if((j|0)>(h|0)){break b}d=v[c+776>>2];a=v[c+784>>2];if((d|0)>(a|0)){break b}e:{j=j-1>>6;l=(h+127>>6)-j|0;m=a+127>>6;a=d-1>>6;n=m-a|0;f:{if((l|0)<0|(n|0)<0){break f}h=v[c+764>>2];k=-1<<v[h+4>>2];d=k^-2147483648;if((d|0)<(l|0)){break f}if((d|0)>=(n|0)){break e}}a=v[c>>2];v[y+4>>2]=n;v[y>>2]=l;hb(a,2,447698,y);break b}o=1<<v[h>>2];h=0-o|0;d=k^-1;l=k&d+l;q=h>>>0<l>>>0?l:h&(o+l|0)-1;u=k&d+n;if(q>>>0>(2147483647-o>>>0)/(((u|0)>1?u:1)>>>0)>>>0){break b}k=Ee(o,o+B(q,u)|0,0);if(!k){break b}v[b+20>>2]=k;v[b+16>>2]=q;v[b+12>>2]=u;v[b+8>>2]=l;v[b+4>>2]=a;v[b>>2]=j;N=1;P=v[c+764>>2];f=Ca-32|0;Ca=f;g:{h:{i:{if(!((q|0)<1|(u|0)<=0)){l=q;d=-1<<v[P+4>>2]^-1;if(l&d){break i}if(d&u){break h}n=a<<6;o=j<<6;z=v[e+28>>2];if(z){g=v[e+20>>2];Q=g+B(z,40)|0;j=n;R=j>>31;h=o;C=h>>31;while(1){v[g+24>>2]=v[g+24>>2]-o;v[g+28>>2]=v[g+28>>2]-o;v[g+32>>2]=v[g+32>>2]-n;v[g+36>>2]=v[g+36>>2]-n;a=v[g>>2];E=v[g+4>>2];d=v[g+12>>2];m=eQ(d,d>>31,j,R);p=Da;d=g;g=m;m=v[d+8>>2];m=eQ(m,m>>31,h,C);g=g+m|0;p=Da+p|0;p=m>>>0>g>>>0?p+1|0:p;m=g;v[d>>2]=a-m;v[d+4>>2]=E-(p+(a>>>0<m>>>0)|0);g=d+40|0;if((Q|0)!=(g|0)){continue}break}}v[e+4>>2]=v[e+4>>2]-o;g=v[e+12>>2]-o|0;v[e+12>>2]=g;v[e+8>>2]=v[e+8>>2]-n;v[e+16>>2]=v[e+16>>2]-n;a=v[e+40>>2];h=v[e+32>>2]+z|0;j:{if(a>>>0<h>>>0){a=a<<1;a=a>>>0>64?a:64;while(1){d=a;a=a<<1;if(d>>>0<h>>>0){continue}break}h=gb(v[e+24>>2],B(d,40));a=0;if(!h){break j}v[e+40>>2]=d;v[e+24>>2]=h;z=v[e+28>>2];g=v[e+12>>2]}j=v[e+44>>2];v[f+16>>2]=j;h=z-j|0;v[f+20>>2]=h;v[f+8>>2]=0;v[f+12>>2]=0;d=l<<6;if((d|0)<=(g|0)){a=v[e+20>>2];zm(a,j,h,a,f+16|0,v[e+24>>2],f+24|0,f+8|0,d);v[f+8>>2]=0;v[f+12>>2]=0}d=u<<6;if((d|0)<=v[e+16>>2]){a=v[e+20>>2];ym(a,v[f+16>>2],v[f+20>>2],a,f+16|0,v[e+24>>2],f+24|0,f+8|0,d);v[f+8>>2]=0;v[f+12>>2]=0}if(v[e+4>>2]<=0){a=v[e+20>>2];zm(a,v[f+16>>2],v[f+20>>2],v[e+24>>2],f+24|0,a,f+16|0,f+8|0,0)}if(v[e+8>>2]<=0){a=v[e+20>>2];ym(a,v[f+16>>2],v[f+20>>2],v[e+24>>2],f+24|0,a,f+16|0,f+8|0,0)}d=v[f+20>>2];a=v[f+16>>2];v[e+32>>2]=0;v[e+28>>2]=a+d;a=xm(P,e,k,l,u,q,0,f+16|0,f+8|0)}Ca=f+32|0;break g}O(446964,446841,725,446988);L()}O(447004,446841,726,446988);L()}O(447047,446841,727,446988);L()}if(a){break b}N=0;hb(v[c>>2],2,447736,0);Gd(v[b+20>>2])}Ca=y+16|0;if(!N){v[b>>2]=0;v[b+4>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0}$e(i);$e(M);Ca=i+128|0;return B(v[b+12>>2],v[b+16>>2])+60|0}function Bo(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,u=0;p=Ca-16|0;Ca=p;a:{if(y[b+4>>2]>a>>>0){break a}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<4){break a}c=v[b+12>>2]-4|0;v[b+12>>2]=c;if((w[a+1|0]|w[a|0]<<8)!=1|(c|0)<1){break a}if(!Ao(a+4|0,b,a)){break a}if(!zo(a+6|0,b,a)){break a}o=a+8|0;if(o>>>0<y[b+4>>2]){break a}c=v[b+8>>2];if(c>>>0<o>>>0|c-o>>>0<2){break a}c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break a}c=w[a+9|0]|w[a+8|0]<<8;b:{if(!c){break b}k=a+c|0;v[p+12>>2]=k;j=v[b+4>>2];c:{d:{if(j>>>0>k>>>0){break d}m=v[b+8>>2];if(m>>>0<k>>>0|m-k>>>0<2){break d}f=v[b+12>>2]-2|0;v[b+12>>2]=f;if((f|0)<1){break d}g=w[k+1|0]|w[k|0]<<8;c=1;if(!g){break c}c=k+2|0;if(c>>>0<j>>>0|c>>>0>m>>>0){break d}d=m-c|0;c=g<<1;if(d>>>0<c>>>0){break d}c=f-c|0;v[b+12>>2]=c;if((c|0)<1){break d}h=1;m=w[k+1|0]|w[k|0]<<8;if(!m){break d}h=0;l=k+2|0;if(j>>>0>l>>>0){break d}while(1){e:{c=v[b+8>>2];if(c>>>0<l>>>0|c-l>>>0<2){break e}h=v[p+12>>2];c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break e}c=w[((q<<1)+k|0)+3|0]|w[l|0]<<8;f:{if(!c){break f}r=0;n=Ca-16|0;Ca=n;e=c+h|0;g=v[b+4>>2];g:{if(e>>>0<g>>>0){break g}f=v[b+8>>2];if(f>>>0<e>>>0|f-e>>>0<6){break g}h=v[b+12>>2];c=h-6|0;v[b+12>>2]=c;if((c|0)<1){break g}i=e+4|0;if(i>>>0<g>>>0|f>>>0<i>>>0|f-i>>>0<2){break g}d=h-8|0;v[b+12>>2]=d;if((d|0)<1){break g}c=w[e+5|0]|w[e+4|0]<<8;if(c){h=e+6|0;if(h>>>0<g>>>0|f>>>0<h>>>0){break g}c=c<<1;if(c>>>0>f-h>>>0){break g}d=d-c|0;v[b+12>>2]=d;if((d|0)<1){break g}h=w[e+5|0]|w[e+4|0]<<8}else{h=0}c=h+v[b+16>>2]|0;v[b+16>>2]=c;if((c|0)>16383){break g}h:{if(!(w[e+3|0]&16)){break h}c=(e+(w[e+5|0]<<1|w[e+4|0]<<9)|0)+6|0;if(c>>>0<g>>>0){break g}if(c>>>0>f>>>0){break g}if(f-c>>>0<2){break g}v[b+12>>2]=d-2;if((d|0)>=3){break h}break g}v[n+12>>2]=e;v[n+8>>2]=w[e+1|0]|w[e|0]<<8;g=0;s=v[b+4>>2];i:{j:{if(s>>>0>i>>>0){break j}d=v[b+8>>2];if(d>>>0<i>>>0|d-i>>>0<2){break j}j=v[b+12>>2]-2|0;v[b+12>>2]=j;if((j|0)<1){break j}f=w[i+1|0]|w[i|0]<<8;c=1;if(!f){break i}c=i+2|0;if(c>>>0<s>>>0|c>>>0>d>>>0){break j}d=d-c|0;c=f<<1;if(d>>>0<c>>>0){break j}c=j-c|0;v[b+12>>2]=c;if((c|0)<1){break j}g=1;f=w[i+1|0]|w[i|0]<<8;if(!f){break j}g=0;d=i+2|0;if(s>>>0>d>>>0){break j}j=0;while(1){k:{c=v[b+8>>2];if(c>>>0<d>>>0|c-d>>>0<2){break k}g=v[n+12>>2];c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break k}c=w[(i+(j<<1)|0)+3|0]|w[d|0]<<8;l:{if(!c){break l}if(vo(c+g|0,b,v[n+8>>2])){break l}c=v[b+24>>2];if(c>>>0>31){break k}v[b+24>>2]=c+1;if(!w[b+20|0]){break k}t[d|0]=0;t[d+1|0]=0}g=1;j=j+1|0;if((f|0)==(j|0)){break j}d=(i+(j<<1)|0)+2|0;if(d>>>0>=y[b+4>>2]){continue}}break}g=0}c=g}if(!c){break g}r=1;if(v[b+24>>2]|(w[e+1|0]|w[e|0]<<8)!=7){break g}d=1;if(h>>>0<2){break g}g=w[e+5|0]|w[e+4|0]<<8;c=g?e+6|0:280448;c=w[c|0]<<8|w[c+1|0];c=c?c+e|0:280448;f=(w[c+1|0]|w[c|0]<<8)==1?w[c+2|0]<<8|w[c+3|0]:0;while(1){c=d>>>0<g>>>0?(i+(d<<1)|0)+2|0:280448;c=w[c|0]<<8|w[c+1|0];c=c?c+e|0:280448;c=(w[c+1|0]|w[c|0]<<8)==1?w[c+2|0]<<8|w[c+3|0]:0;r=(c|0)==(f|0);if((c|0)!=(f|0)){break g}d=d+1|0;if((h|0)!=(d|0)){continue}break}}Ca=n+16|0;if(r){break f}c=v[b+24>>2];if(c>>>0>31){break e}v[b+24>>2]=c+1;if(!w[b+20|0]){break e}t[l|0]=0;t[l+1|0]=0}h=1;q=q+1|0;if((m|0)==(q|0)){break d}l=((q<<1)+k|0)+2|0;if(l>>>0>=y[b+4>>2]){continue}}break}h=0}c=h}if(c){break b}c=v[b+24>>2];if(c>>>0>31){break a}v[b+24>>2]=c+1;if(!w[b+20|0]){break a}t[o|0]=0;t[o+1|0]=0}c=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>=65537){if(!yo(a+10|0,b,a)){break a}}u=1}Ca=p+16|0;return u}function $n(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,u=0;p=Ca-16|0;Ca=p;a:{if(y[b+4>>2]>a>>>0){break a}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<4){break a}c=v[b+12>>2]-4|0;v[b+12>>2]=c;if((w[a+1|0]|w[a|0]<<8)!=1|(c|0)<1){break a}if(!Ao(a+4|0,b,a)){break a}if(!zo(a+6|0,b,a)){break a}o=a+8|0;if(o>>>0<y[b+4>>2]){break a}c=v[b+8>>2];if(c>>>0<o>>>0|c-o>>>0<2){break a}c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break a}c=w[a+9|0]|w[a+8|0]<<8;b:{if(!c){break b}k=a+c|0;v[p+12>>2]=k;j=v[b+4>>2];c:{d:{if(j>>>0>k>>>0){break d}m=v[b+8>>2];if(m>>>0<k>>>0|m-k>>>0<2){break d}f=v[b+12>>2]-2|0;v[b+12>>2]=f;if((f|0)<1){break d}g=w[k+1|0]|w[k|0]<<8;c=1;if(!g){break c}c=k+2|0;if(c>>>0<j>>>0|c>>>0>m>>>0){break d}d=m-c|0;c=g<<1;if(d>>>0<c>>>0){break d}c=f-c|0;v[b+12>>2]=c;if((c|0)<1){break d}h=1;m=w[k+1|0]|w[k|0]<<8;if(!m){break d}h=0;l=k+2|0;if(j>>>0>l>>>0){break d}while(1){e:{c=v[b+8>>2];if(c>>>0<l>>>0|c-l>>>0<2){break e}h=v[p+12>>2];c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break e}c=w[((q<<1)+k|0)+3|0]|w[l|0]<<8;f:{if(!c){break f}r=0;n=Ca-16|0;Ca=n;e=c+h|0;g=v[b+4>>2];g:{if(e>>>0<g>>>0){break g}f=v[b+8>>2];if(f>>>0<e>>>0|f-e>>>0<6){break g}h=v[b+12>>2];c=h-6|0;v[b+12>>2]=c;if((c|0)<1){break g}i=e+4|0;if(i>>>0<g>>>0|f>>>0<i>>>0|f-i>>>0<2){break g}d=h-8|0;v[b+12>>2]=d;if((d|0)<1){break g}c=w[e+5|0]|w[e+4|0]<<8;if(c){h=e+6|0;if(h>>>0<g>>>0|f>>>0<h>>>0){break g}c=c<<1;if(c>>>0>f-h>>>0){break g}d=d-c|0;v[b+12>>2]=d;if((d|0)<1){break g}h=w[e+5|0]|w[e+4|0]<<8}else{h=0}c=h+v[b+16>>2]|0;v[b+16>>2]=c;if((c|0)>16383){break g}h:{if(!(w[e+3|0]&16)){break h}c=(e+(w[e+5|0]<<1|w[e+4|0]<<9)|0)+6|0;if(c>>>0<g>>>0){break g}if(c>>>0>f>>>0){break g}if(f-c>>>0<2){break g}v[b+12>>2]=d-2;if((d|0)>=3){break h}break g}v[n+12>>2]=e;v[n+8>>2]=w[e+1|0]|w[e|0]<<8;g=0;s=v[b+4>>2];i:{j:{if(s>>>0>i>>>0){break j}d=v[b+8>>2];if(d>>>0<i>>>0|d-i>>>0<2){break j}j=v[b+12>>2]-2|0;v[b+12>>2]=j;if((j|0)<1){break j}f=w[i+1|0]|w[i|0]<<8;c=1;if(!f){break i}c=i+2|0;if(c>>>0<s>>>0|c>>>0>d>>>0){break j}d=d-c|0;c=f<<1;if(d>>>0<c>>>0){break j}c=j-c|0;v[b+12>>2]=c;if((c|0)<1){break j}g=1;f=w[i+1|0]|w[i|0]<<8;if(!f){break j}g=0;d=i+2|0;if(s>>>0>d>>>0){break j}j=0;while(1){k:{c=v[b+8>>2];if(c>>>0<d>>>0|c-d>>>0<2){break k}g=v[n+12>>2];c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break k}c=w[(i+(j<<1)|0)+3|0]|w[d|0]<<8;l:{if(!c){break l}if(_n(c+g|0,b,v[n+8>>2])){break l}c=v[b+24>>2];if(c>>>0>31){break k}v[b+24>>2]=c+1;if(!w[b+20|0]){break k}t[d|0]=0;t[d+1|0]=0}g=1;j=j+1|0;if((f|0)==(j|0)){break j}d=(i+(j<<1)|0)+2|0;if(d>>>0>=y[b+4>>2]){continue}}break}g=0}c=g}if(!c){break g}r=1;if(v[b+24>>2]|(w[e+1|0]|w[e|0]<<8)!=9){break g}d=1;if(h>>>0<2){break g}g=w[e+5|0]|w[e+4|0]<<8;c=g?e+6|0:280448;c=w[c|0]<<8|w[c+1|0];c=c?c+e|0:280448;f=(w[c+1|0]|w[c|0]<<8)==1?w[c+2|0]<<8|w[c+3|0]:0;while(1){c=d>>>0<g>>>0?(i+(d<<1)|0)+2|0:280448;c=w[c|0]<<8|w[c+1|0];c=c?c+e|0:280448;c=(w[c+1|0]|w[c|0]<<8)==1?w[c+2|0]<<8|w[c+3|0]:0;r=(c|0)==(f|0);if((c|0)!=(f|0)){break g}d=d+1|0;if((h|0)!=(d|0)){continue}break}}Ca=n+16|0;if(r){break f}c=v[b+24>>2];if(c>>>0>31){break e}v[b+24>>2]=c+1;if(!w[b+20|0]){break e}t[l|0]=0;t[l+1|0]=0}h=1;q=q+1|0;if((m|0)==(q|0)){break d}l=((q<<1)+k|0)+2|0;if(l>>>0>=y[b+4>>2]){continue}}break}h=0}c=h}if(c){break b}c=v[b+24>>2];if(c>>>0>31){break a}v[b+24>>2]=c+1;if(!w[b+20|0]){break a}t[o|0]=0;t[o+1|0]=0}c=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>=65537){if(!yo(a+10|0,b,a)){break a}}u=1}Ca=p+16|0;return u}function Ao(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,u=0;e=v[b+4>>2];if(e>>>0>a>>>0){return 0}f=v[b+8>>2];if(f>>>0<a>>>0){return 0}if(f-a>>>0<2){return 0}h=v[b+12>>2];j=h-2|0;v[b+12>>2]=j;d=1;if((j|0)<1){return 0}j=w[a+1|0]|w[a|0]<<8;a:{if(!j){break a}b:{c:{j=c+j|0;if(j>>>0<e>>>0|f>>>0<j>>>0|f-j>>>0<2){break c}c=h-4|0;v[b+12>>2]=c;if((c|0)<1){break c}h=w[j+1|0]|w[j|0]<<8;if(!h){break a}d=j+2|0;if(d>>>0<e>>>0|d>>>0>f>>>0){break c}i=f-d|0;d=B(h,6);if(i>>>0<d>>>0){break c}c=c-d|0;v[b+12>>2]=c;d=1;if((c|0)<1){break c}s=w[j+1|0]|w[j|0]<<8;if(!s){break a}while(1){h=0;q=Ca-16|0;Ca=q;f=v[b+4>>2];c=(j+B(r,6)|0)+2|0;d:{if(f>>>0>c>>>0){break d}d=v[b+8>>2];if(d>>>0<c>>>0){break d}if(d-c>>>0<6){break d}e=v[b+12>>2];h=e-6|0;v[b+12>>2]=h;if((h|0)<1){h=0;break d}o=c+4|0;if(f>>>0>o>>>0){h=0;break d}if(d>>>0<o>>>0){h=0;break d}if(d-o>>>0<2){h=0;break d}d=e-8|0;v[b+12>>2]=d;h=1;if((d|0)<1){h=0;break d}d=w[c+5|0]|w[c+4|0]<<8;if(!d){break d}l=v[b+4>>2];f=d+j|0;c=0;e:{if(l>>>0>f>>>0){break e}d=f;g=v[b+8>>2];c=0;if(d>>>0>g>>>0){break e}c=0;if(g-d>>>0<2){break e}k=v[b+12>>2];m=k-2|0;v[b+12>>2]=m;e=1;c=0;if((m|0)<1){break e}c=w[d+1|0]|w[d|0]<<8;f:{if(!c){break f}c=c+f|0;g:{if(c>>>0<l>>>0|c>>>0>g>>>0|g-c>>>0<6){break g}e=k-8|0;v[b+12>>2]=e;if((e|0)<1){break g}e=c+4|0;if(e>>>0<l>>>0|e>>>0>g>>>0|g-e>>>0<2){break g}k=k-10|0;v[b+12>>2]=k;e=1;if((k|0)<1){break g}m=w[c+5|0]|w[c+4|0]<<8;if(!m){break f}c=c+6|0;if(c>>>0<l>>>0|c>>>0>g>>>0){break g}i=g-c|0;c=m<<1;if(i>>>0<c>>>0){break g}c=k-c|0;v[b+12>>2]=c;if((c|0)>0){break f}}e=v[b+24>>2];c=0;if(e>>>0>31){break e}v[b+24>>2]=e+1;e=0;if(!w[b+20|0]){break f}t[d|0]=0;t[d+1|0]=0;e=1}c=e}if(c){v[q+12>>2]=f;d=0;l=Ca-16|0;Ca=l;h:{e=v[b+4>>2];f=f+2|0;if(e>>>0>f>>>0){break h}c=v[b+8>>2];if(c>>>0<f>>>0|c-f>>>0<2){break h}g=v[b+12>>2]-2|0;v[b+12>>2]=g;d=1;if((g|0)<1){d=0;break h}k=w[f+1|0]|w[f|0]<<8;if(!k){break h}d=f+2|0;if(d>>>0<e>>>0){d=0;break h}if(c>>>0<d>>>0){d=0;break h}d=c-d|0;c=B(k,6);if(d>>>0<c>>>0){d=0;break h}c=g-c|0;v[b+12>>2]=c;d=0;if((c|0)<1){break h}d=1;u=w[f+1|0]|w[f|0]<<8;if(!u){break h}k=0;while(1){g=f+B(k,6)|0;c=g+2|0;d=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);p=v[q+12>>2];v[l+12>>2]=p;v[l+8>>2]=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);i:{j:{if(c>>>0<e>>>0){break j}d=v[b+8>>2];if(d>>>0<c>>>0|d-c>>>0<=5){break j}c=v[b+12>>2]-6|0;v[b+12>>2]=c;if((c|0)>0){break i}}d=0;break h}v[l+4>>2]=l+8;m=v[b+4>>2];g=g+6|0;i=0;k:{if(m>>>0>g>>>0){break k}e=v[b+8>>2];i=0;if(e>>>0<g>>>0){break k}i=0;if(e-g>>>0<2){break k}n=v[b+12>>2];c=n-2|0;v[b+12>>2]=c;d=1;i=0;if((c|0)<1){break k}c=w[g+1|0]|w[g|0]<<8;l:{if(!c){break l}c=c+p|0;m:{if(c>>>0<m>>>0|c>>>0>e>>>0|e-c>>>0<6){break m}d=n-8|0;v[b+12>>2]=d;if((d|0)<1){break m}d=c+4|0;if(d>>>0<m>>>0|d>>>0>e>>>0|e-d>>>0<2){break m}n=n-10|0;v[b+12>>2]=n;d=1;if((n|0)<1){break m}p=w[c+5|0]|w[c+4|0]<<8;if(!p){break l}c=c+6|0;if(c>>>0<m>>>0|c>>>0>e>>>0){break m}i=e-c|0;c=p<<1;if(i>>>0<c>>>0){break m}c=n-c|0;v[b+12>>2]=c;if((c|0)>0){break l}}d=v[b+24>>2];i=0;if(d>>>0>31){break k}v[b+24>>2]=d+1;d=0;if(!w[b+20|0]){break l}t[g|0]=0;t[g+1|0]=0;d=1}i=d}d=i;if(!d){break h}k=k+1|0;if((u|0)==(k|0)){break h}e=v[b+4>>2];continue}}Ca=l+16|0;if(d){break d}}c=v[b+24>>2];if(c>>>0>31){h=0;break d}v[b+24>>2]=c+1;h=0;if(!w[b+20|0]){break d}t[o|0]=0;t[o+1|0]=0;h=1}Ca=q+16|0;if(!h){break c}r=r+1|0;if((s|0)!=(r|0)){continue}break}break b}c=v[b+24>>2];if(c>>>0>31){return 0}v[b+24>>2]=c+1;d=0;if(!w[b+20|0]){break a}t[a|0]=0;t[a+1|0]=0}d=1}return d}function Rf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ca-16|0;Ca=f;g=v[a+100>>2];v[f+8>>2]=0;d=Mc(b,v[a+92>>2]);a:{if(d){b:{c:{d:{e=v[a+80>>2];d=v[d>>2];a=e+(d<<4)|0;switch(v[a+4>>2]-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}b=v[a+12>>2];if(b){Ea[v[g+8>>2]](g,b)}v[a+12>>2]=0;if(!c|!w[c|0]){break a}l=a,m=pd(g,c,f+8|0),v[l+12>>2]=m;break a}a=0;e:{if(!c){break e}g=w[c|0];if(!g){break e}b=0;g=(g|0)==45;a=t[g+c|0];f:{if(!(w[((a&248)>>>3|0)+28960|0]>>>(a&7)&1)){break f}c=g?c+1|0:c;while(1){if((b|0)>214748362){b=2147483647;break f}b=w[a+28992|0]+B(b,10)|0;a=t[c+1|0];c=c+1|0;if(w[((a&248)>>>3|0)+28960|0]>>>(a&7)&1){continue}break}}a=g?0-b|0:b}v[(e+(d<<4)|0)+12>>2]=a;break a}b=0;g:{if(!c){break g}a=t[c|0];g=a&255;if(!g|!(w[(g>>>3|0)+28960|0]>>>(a&7)&1)){break g}while(1){if(b>>>0>429496727){b=-1;break g}b=w[a+28992|0]+B(b,10)|0;a=t[c+1|0];c=c+1|0;if(w[((a&248)>>>3|0)+28960|0]>>>(a&7)&1){continue}break}}v[(e+(d<<4)|0)+12>>2]=b;break a}h:{e=a+112|0;d=Mc(b,e);if(!d){d=v[a+100>>2];v[f+12>>2]=0;if(!Mc(b,e)){h=v[a+108>>2];i=Ua(d,16,h,h+1|0,v[a+104>>2],f+12|0);v[a+104>>2]=i;h=v[f+12>>2];if(h){break h}i=i+(v[a+108>>2]<<4)|0;k=Xa(b)+1|0;j=qb(d,k,f+12|0);v[i>>2]=j;h=v[f+12>>2];if(h){break h}Ta(j,b,k);v[i+4>>2]=1;v[i+8>>2]=0;h=Di(v[i>>2],v[a+108>>2]+83|0,e,d);if(h){break h}v[a+108>>2]=v[a+108>>2]+1}v[f+8>>2]=0;d=Mc(b,e)}e=v[a+76>>2];if((e|0)==v[a+72>>2]){l=a,m=Ua(g,16,e,e+1|0,v[a+80>>2],f+8|0),v[l+80>>2]=m;if(v[f+8>>2]){break a}v[a+72>>2]=v[a+72>>2]+1}i=v[a+80>>2];h=v[a+76>>2];k=i+(h<<4)|0;e=k;d=v[d>>2];i:{if(d>>>0>=83){d=(v[a+104>>2]+(d<<4)|0)-1328|0;break i}d=(d<<4)+26480|0}v[e>>2]=v[d>>2];v[k+4>>2]=v[d+4>>2];v[k+8>>2]=v[d+8>>2];j:{k:{l:{switch(v[d+4>>2]-1|0){case 0:v[k+12>>2]=0;if(!c|!w[c|0]){break j}l=k,m=pd(g,c,f+8|0),v[l+12>>2]=m;if(!v[f+8>>2]){break j}break a;case 1:d=0;if(!c){break k}j=w[c|0];if(!j){break k}e=0;j=(j|0)==45;d=t[j+c|0];m:{if(!(w[((d&248)>>>3|0)+28960|0]>>>(d&7)&1)){break m}c=j?c+1|0:c;while(1){if((e|0)>214748362){e=2147483647;break m}e=w[d+28992|0]+B(e,10)|0;d=t[c+1|0];c=c+1|0;if(w[((d&248)>>>3|0)+28960|0]>>>(d&7)&1){continue}break}}d=j?0-e|0:e;break k;case 2:break l;default:break j}}d=0;if(!c){break k}e=t[c|0];j=e&255;if(!j|!(w[(j>>>3|0)+28960|0]>>>(e&7)&1)){break k}while(1){if(d>>>0>429496727){d=-1;break k}d=w[e+28992|0]+B(d,10)|0;e=t[c+1|0];c=c+1|0;if(w[((e&248)>>>3|0)+28960|0]>>>(e&7)&1){continue}break}}v[(i+(h<<4)|0)+12>>2]=d}n:{o:{if($a(b,26456,7)){break o}switch(w[b+7|0]){case 0:case 9:case 10:case 13:case 32:break n;default:break o}}c=Di(v[k>>2],v[a+76>>2],v[a+92>>2],g);v[f+8>>2]=c;if(c){break a}}v[a+76>>2]=v[a+76>>2]+1;p:{if($a(b,27982,12)){break p}q:{switch(w[b+12|0]){case 0:case 9:case 10:case 13:case 32:break q;default:break p}}v[a+36>>2]=v[(i+(h<<4)|0)+12>>2];break a}r:{if($a(b,27863,11)){break r}s:{switch(w[b+11|0]){case 0:case 9:case 10:case 13:case 32:break s;default:break r}}v[a+40>>2]=v[(i+(h<<4)|0)+12>>2];break a}t:{if($a(b,27875,12)){break t}u:{switch(w[b+12|0]){case 0:case 9:case 10:case 13:case 32:break u;default:break t}}v[a+44>>2]=v[(i+(h<<4)|0)+12>>2];break a}if($a(b,26272,7)){break a}v:{switch(w[b+7|0]){case 0:case 9:case 10:case 13:case 32:break v;default:break a}}b=v[(i+(h<<4)|0)+12>>2];if(!b){v[f+8>>2]=3;break a}w:{switch(w[b|0]-67|0){case 13:case 45:v[a+28>>2]=8;break a;case 10:case 42:v[a+28>>2]=16;break a;case 0:case 32:break w;default:break a}}v[a+28>>2]=32;break a}v[f+8>>2]=h}Ca=f+16|0;return v[f+8>>2]}function qe(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;n=Ca-16|0;Ca=n;f=v[b+4>>2];a:{if(f>>>0>a>>>0){break a}h=v[b+8>>2];if(h>>>0<a>>>0){break a}i=h-a|0;if(i>>>0<2){break a}l=v[b+12>>2];e=l-2|0;v[b+12>>2]=e;c=1;if((e|0)<1){c=0;break a}b:{c:{d:{e:{f:{g:{h:{d=w[a|0]|w[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 10:break c;case 8:break d;case 6:break e;case 4:break f;case 2:break g;case 0:break h;default:break a}}d=v[b+32>>2];if(d>>>0>2147483646){c=0;break a}if(!d){break b}a=a+2|0;if(a>>>0<f>>>0){c=0;break a}if(a>>>0>h>>>0){c=0;break a}c=h-a|0;a=d<<1;if(c>>>0<a>>>0){c=0;break a}a=e-a|0;v[b+12>>2]=a;c=0;if((a|0)>=1){break b}break a}d=a+2|0;if(d>>>0<f>>>0){c=0;break a}if(d>>>0>h>>>0){c=0;break a}if(h-d>>>0<10){c=0;break a}e=l-12|0;v[b+12>>2]=e;if((e|0)<1){c=0;break a}c=w[a+3|0]|w[a+2|0]<<8;if(c>>>0<6){c=0;break a}d=w[a+5|0]|w[a+4|0]<<8;if(d>>>0>=4294967295/(c>>>0)>>>0){c=0;break a}d=B(c,d);if(!d){break b}a=a+12|0;if(a>>>0<f>>>0){c=0;break a}if(a>>>0>h>>>0){c=0;break a}c=0;if(d>>>0>h-a>>>0){break a}a=e-d|0;v[b+12>>2]=a;c=(a|0)>0;break a}v[n+12>>2]=a;d=0;i:{g=a+2|0;m=v[b+4>>2];if(g>>>0<m>>>0){break i}j=v[b+8>>2];if(j>>>0<g>>>0|j-g>>>0<10){break i}c=v[b+12>>2]-10|0;v[b+12>>2]=c;if((c|0)<1){break i}a=w[g+1|0]|w[g|0]<<8;if(a>>>0<6){break i}i=w[g+3|0];f=w[g+2|0];k=i|f<<8;if(k>>>0>=4294967295/(a>>>0)>>>0){break i}e=B(a,k);if(e){a=g+10|0;if(a>>>0<m>>>0|a>>>0>j>>>0|e>>>0>j-a>>>0){break i}c=c-e|0;v[b+12>>2]=c;if((c|0)<1){break i}i=w[g+3|0];f=w[g+2|0];k=i|f<<8}j:{if(!k){break j}a=g+B(k-1|0,w[g+1|0]|w[g|0]<<8)|0;if((w[a+10|0]<<8|w[a+11|0])!=65535){break j}k=k-((w[a+13|0]|w[a+12|0]<<8)==65535)|0}if(!k){d=1;break i}h=g+10|0;l=v[n+12>>2];while(1){f=(f&255)<<8|i;k:{if(!f){break k}a=B(f-1|0,w[g+1|0]|w[g|0]<<8)+h|0;if((w[a|0]<<8|w[a+1|0])!=65535){break k}f=f-((w[a+3|0]|w[a+2|0]<<8)==65535)|0}d=0;a=f>>>0<=o>>>0?280448:B(w[g+1|0]|w[g|0]<<8,o)+h|0;if(a>>>0<m>>>0|a>>>0>j>>>0|j-a>>>0<6){break i}e=c-6|0;v[b+12>>2]=e;if((e|0)<1){break i}i=w[a+1|0]|w[a|0]<<8;e=w[a+3|0]|w[a+2|0]<<8;if(i>>>0<e>>>0){break i}f=a+4|0;if(f>>>0<m>>>0|f>>>0>j>>>0|j-f>>>0<2){break i}c=c-8|0;v[b+12>>2]=c;if((c|0)<1){break i}e=(i-e|0)+1|0;if(e>>>0>2147483646){break i}if(e){a=(w[a+5|0]|w[a+4|0]<<8)+l|0;if(a>>>0<m>>>0|a>>>0>j>>>0){break i}i=j-a|0;a=e<<1;if(i>>>0<a>>>0){break i}c=c-a|0;v[b+12>>2]=c;if((c|0)<1){break i}}d=1;o=o+1|0;if((o|0)==(k|0)){break i}i=w[g+3|0];f=w[g+2|0];continue}}c=d;break a}d=a+2|0;if(d>>>0<f>>>0){c=0;break a}if(d>>>0>h>>>0){c=0;break a}if(h-d>>>0<10){c=0;break a}e=l-12|0;v[b+12>>2]=e;if((e|0)<1){c=0;break a}c=w[a+3|0]|w[a+2|0]<<8;if(c>>>0<4){c=0;break a}d=w[a+5|0]|w[a+4|0]<<8;if(d>>>0>=4294967295/(c>>>0)>>>0){c=0;break a}d=B(c,d);if(!d){break b}a=a+12|0;if(a>>>0<f>>>0){c=0;break a}if(a>>>0>h>>>0){c=0;break a}c=0;if(d>>>0>h-a>>>0){break a}a=e-d|0;v[b+12>>2]=a;c=(a|0)>0;break a}if(i>>>0<6){c=0;break a}c=l-8|0;v[b+12>>2]=c;if((c|0)<1){c=0;break a}d=w[a+5|0]|w[a+4|0]<<8;if(!d){break b}a=a+6|0;if(a>>>0<f>>>0){c=0;break a}if(a>>>0>h>>>0){c=0;break a}i=h-a|0;a=d<<1;if(i>>>0<a>>>0){c=0;break a}a=c-a|0;v[b+12>>2]=a;c=0;if((a|0)>=1){break b}break a}if(i>>>0<8){c=0;break a}c=l-10|0;v[b+12>>2]=c;if((c|0)<1){c=0;break a}d=w[a+3|0]|w[a+2|0]<<8;if(d>>>0>4){c=0;break a}d=B(d,w[a+7|0]|w[a+6|0]<<8);if((d|0)==-1){c=0;break a}if(!d){break b}a=a+8|0;if(a>>>0<f>>>0){c=0;break a}if(a>>>0>h>>>0){c=0;break a}if(d>>>0>h-a>>>0){c=0;break a}a=c-d|0;v[b+12>>2]=a;c=0;if((a|0)<1){break a}}c=1}Ca=n+16|0;return c}function xp(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;n=Ca-16|0;Ca=n;f=v[b+4>>2];a:{if(f>>>0>a>>>0){break a}h=v[b+8>>2];if(h>>>0<a>>>0){break a}i=h-a|0;if(i>>>0<2){break a}l=v[b+12>>2];e=l-2|0;v[b+12>>2]=e;if((e|0)<1){break a}c=1;b:{c:{d:{e:{f:{g:{h:{d=w[a|0]|w[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 10:break c;case 8:break d;case 6:break e;case 4:break f;case 2:break g;case 0:break h;default:break a}}d=v[b+32>>2];if(d>>>0>1073741822){c=0;break a}if(!d){break b}a=a+2|0;if(a>>>0<f>>>0){c=0;break a}if(a>>>0>h>>>0){c=0;break a}c=h-a|0;a=d<<2;if(c>>>0<a>>>0){c=0;break a}a=e-a|0;v[b+12>>2]=a;c=0;if((a|0)>=1){break b}break a}d=a+2|0;if(d>>>0<f>>>0){c=0;break a}if(d>>>0>h>>>0){c=0;break a}if(h-d>>>0<10){c=0;break a}e=l-12|0;v[b+12>>2]=e;if((e|0)<1){c=0;break a}c=w[a+3|0]|w[a+2|0]<<8;if(c>>>0<8){c=0;break a}d=w[a+5|0]|w[a+4|0]<<8;if(d>>>0>=4294967295/(c>>>0)>>>0){c=0;break a}d=B(c,d);if(!d){break b}a=a+12|0;if(a>>>0<f>>>0){c=0;break a}if(a>>>0>h>>>0){c=0;break a}c=0;if(d>>>0>h-a>>>0){break a}a=e-d|0;v[b+12>>2]=a;c=(a|0)>0;break a}v[n+12>>2]=a;d=0;i:{g=a+2|0;m=v[b+4>>2];if(g>>>0<m>>>0){break i}j=v[b+8>>2];if(j>>>0<g>>>0|j-g>>>0<10){break i}c=v[b+12>>2]-10|0;v[b+12>>2]=c;if((c|0)<1){break i}a=w[g+1|0]|w[g|0]<<8;if(a>>>0<6){break i}i=w[g+3|0];f=w[g+2|0];k=i|f<<8;if(k>>>0>=4294967295/(a>>>0)>>>0){break i}e=B(a,k);if(e){a=g+10|0;if(a>>>0<m>>>0|a>>>0>j>>>0|e>>>0>j-a>>>0){break i}c=c-e|0;v[b+12>>2]=c;if((c|0)<1){break i}i=w[g+3|0];f=w[g+2|0];k=i|f<<8}j:{if(!k){break j}a=g+B(k-1|0,w[g+1|0]|w[g|0]<<8)|0;if((w[a+10|0]<<8|w[a+11|0])!=65535){break j}k=k-((w[a+13|0]|w[a+12|0]<<8)==65535)|0}if(!k){d=1;break i}h=g+10|0;l=v[n+12>>2];while(1){f=(f&255)<<8|i;k:{if(!f){break k}a=B(f-1|0,w[g+1|0]|w[g|0]<<8)+h|0;if((w[a|0]<<8|w[a+1|0])!=65535){break k}f=f-((w[a+3|0]|w[a+2|0]<<8)==65535)|0}d=0;a=f>>>0<=o>>>0?280448:B(w[g+1|0]|w[g|0]<<8,o)+h|0;if(a>>>0<m>>>0|a>>>0>j>>>0|j-a>>>0<6){break i}e=c-6|0;v[b+12>>2]=e;if((e|0)<1){break i}i=w[a+1|0]|w[a|0]<<8;e=w[a+3|0]|w[a+2|0]<<8;if(i>>>0<e>>>0){break i}f=a+4|0;if(f>>>0<m>>>0|f>>>0>j>>>0|j-f>>>0<2){break i}c=c-8|0;v[b+12>>2]=c;if((c|0)<1){break i}e=(i-e|0)+1|0;if(e>>>0>1073741822){break i}if(e){a=(w[a+5|0]|w[a+4|0]<<8)+l|0;if(a>>>0<m>>>0|a>>>0>j>>>0){break i}i=j-a|0;a=e<<2;if(i>>>0<a>>>0){break i}c=c-a|0;v[b+12>>2]=c;if((c|0)<1){break i}}d=1;o=o+1|0;if((o|0)==(k|0)){break i}i=w[g+3|0];f=w[g+2|0];continue}}c=d;break a}d=a+2|0;if(d>>>0<f>>>0){c=0;break a}if(d>>>0>h>>>0){c=0;break a}if(h-d>>>0<10){c=0;break a}e=l-12|0;v[b+12>>2]=e;if((e|0)<1){c=0;break a}c=w[a+3|0]|w[a+2|0]<<8;if(c>>>0<6){c=0;break a}d=w[a+5|0]|w[a+4|0]<<8;if(d>>>0>=4294967295/(c>>>0)>>>0){c=0;break a}d=B(c,d);if(!d){break b}a=a+12|0;if(a>>>0<f>>>0){c=0;break a}if(a>>>0>h>>>0){c=0;break a}c=0;if(d>>>0>h-a>>>0){break a}a=e-d|0;v[b+12>>2]=a;c=(a|0)>0;break a}if(i>>>0<6){c=0;break a}c=l-8|0;v[b+12>>2]=c;if((c|0)<1){c=0;break a}d=w[a+5|0]|w[a+4|0]<<8;if(!d){break b}a=a+6|0;if(a>>>0<f>>>0){c=0;break a}if(a>>>0>h>>>0){c=0;break a}i=h-a|0;a=d<<2;if(i>>>0<a>>>0){c=0;break a}a=c-a|0;v[b+12>>2]=a;c=0;if((a|0)>=1){break b}break a}if(i>>>0<8){c=0;break a}c=l-10|0;v[b+12>>2]=c;if((c|0)<1){c=0;break a}d=w[a+3|0]|w[a+2|0]<<8;if(d>>>0>4){c=0;break a}d=B(d,w[a+7|0]|w[a+6|0]<<8);if((d|0)==-1){c=0;break a}if(!d){break b}a=a+8|0;if(a>>>0<f>>>0){c=0;break a}if(a>>>0>h>>>0){c=0;break a}if(d>>>0>h-a>>>0){c=0;break a}a=c-d|0;v[b+12>>2]=a;c=0;if((a|0)<1){break a}}c=1}Ca=n+16|0;return c}function cE(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,u=0,x=0,y=0;d=Ca-16|0;Ca=d;k=v[b+16>>2];l=v[b+8>>2];e=v[b>>2];n=v[a+492>>2];c=Ea[v[b+36>>2]](b)|0;a:{if((c|0)<0){v[b+12>>2]=3;break a}e=l-e>>3;e=(c|0)>(e|0)?e:c;if(v[b+12>>2]|!e){break a}i=b+260|0;m=b+156|0;j=b+208|0;b:{if(!v[b+152>>2]){f=e+6|0;c=Ea[v[v[n>>2]>>2]](j,f,k)|0;if(c){break b}c=Ea[v[v[n>>2]>>2]](m,f,k)|0;if(c){break b}c=Ea[v[v[n>>2]>>2]](i,4,k)|0;v[d+12>>2]=c;if(c){break b}}Ea[v[b+28>>2]](b);c:{c=v[b>>2];if(l>>>0<=c>>>0){break c}u=e+5|0;d:{e:{while(1){f:{g:{if(c+3>>>0>=l>>>0){break g}h:{switch(w[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break g}}i:{switch(w[c|0]-100|0){case 0:if(!g|(w[c+1|0]!=101|w[c+2|0]!=102)){break g}break e;case 1:break i;default:break g}}if(w[c+1|0]!=110){break g}if(w[c+2|0]==100){break f}}Ea[v[b+32>>2]](b);h=v[b>>2];if(h>>>0>=l>>>0){break c}if(v[b+12>>2]){break a}j:{if(w[c|0]!=47){break j}if(c+2>>>0>=l>>>0){v[d+12>>2]=3;break d}o=v[v[a+128>>2]+52>>2];f=v[b+8>>2];Ea[v[b+28>>2]](b);k:{e=v[b>>2];l:{if(e>>>0>=f>>>0|w[e|0]-48>>>0>9){break l}e=Ea[v[b+36>>2]](b)|0;Ea[v[b+32>>2]](b);if((e|0)<0){break l}q=f;r=v[b>>2];f=r+1|0;if((e|0)<(q-f|0)){break k}}if(o){break a}v[b+12>>2]=3;break a}v[b>>2]=(e+r|0)+1;if(v[b+12>>2]){break a}if(v[b+152>>2]){break j}c=c+1|0;h=h-c|0;o=Ea[v[b+200>>2]](m,g,c,h+1|0)|0;v[d+12>>2]=o;if(o){break d}q=h;h=g<<2;t[q+v[h+v[b+180>>2]>>2]|0]=0;if(w[c|0]==46){c=Wa(7396,v[h+v[b+180>>2]>>2]);s=c?s:1;p=c?p:g}c=v[a+172>>2];m:{if(!((c|0)<0|(g|0)>=(u|0))){if(c>>>0>=e>>>0){v[d+12>>2]=3;break d}c=qb(k,e,d+12|0);if(v[d+12>>2]){break d}c=Ta(c,f,e);Ea[v[n+16>>2]](c,e,4330);f=v[a+172>>2];x=d,y=Ea[v[b+252>>2]](j,g,f+c|0,e-f|0)|0,v[x+12>>2]=y;if(c){Ea[v[k+8>>2]](k,c)}c=v[d+12>>2];break m}c=Ea[v[b+252>>2]](j,g,f,e)|0;v[d+12>>2]=c}if(c){break d}g=g+1|0}Ea[v[b+28>>2]](b);c=v[b>>2];if(l>>>0>c>>>0){continue}}break}if(!g){break c}}v[b+152>>2]=g;if(s&255){a=v[v[b+180>>2]>>2];if(!Wa(7396,a)){break a}c=Ea[v[b+304>>2]](i,0,a,v[v[b+184>>2]>>2])|0;v[d+12>>2]=c;if(c){break b}c=Ea[v[b+304>>2]](i,1,v[v[b+232>>2]>>2],v[v[b+236>>2]>>2])|0;v[d+12>>2]=c;if(c){break b}a=p<<2;c=Ea[v[b+304>>2]](i,2,v[a+v[b+180>>2]>>2],v[a+v[b+184>>2]>>2])|0;v[d+12>>2]=c;if(c){break b}c=Ea[v[b+304>>2]](i,3,v[a+v[b+232>>2]>>2],v[a+v[b+236>>2]>>2])|0;v[d+12>>2]=c;if(c){break b}c=Ea[v[b+200>>2]](m,p,v[v[b+284>>2]>>2],v[v[b+288>>2]>>2])|0;v[d+12>>2]=c;if(c){break b}c=Ea[v[b+252>>2]](j,p,v[v[b+284>>2]+4>>2],v[v[b+288>>2]+4>>2])|0;v[d+12>>2]=c;if(c){break b}c=Ea[v[b+200>>2]](m,0,v[v[b+284>>2]+8>>2],v[v[b+288>>2]+8>>2])|0;v[d+12>>2]=c;if(c){break b}c=Ea[v[b+252>>2]](j,0,v[v[b+284>>2]+12>>2],v[v[b+288>>2]+12>>2])|0;if(c){break b}break a}t[d+8|0]=w[9712];v[d+4>>2]=w[9708]|w[9709]<<8|(w[9710]<<16|w[9711]<<24);c=Ea[v[b+304>>2]](i,0,v[v[b+180>>2]>>2],v[v[b+184>>2]>>2])|0;v[d+12>>2]=c;if(c){break b}c=Ea[v[b+304>>2]](i,1,v[v[b+232>>2]>>2],v[v[b+236>>2]>>2])|0;v[d+12>>2]=c;if(c){break b}c=Ea[v[b+200>>2]](m,0,7396,8)|0;v[d+12>>2]=c;if(c){break b}c=Ea[v[b+252>>2]](j,0,d+4|0,5)|0;v[d+12>>2]=c;if(c){break b}c=Ea[v[b+200>>2]](m,g,v[v[b+284>>2]>>2],v[v[b+288>>2]>>2])|0;v[d+12>>2]=c;if(c){break b}c=Ea[v[b+252>>2]](j,g,v[v[b+284>>2]+4>>2],v[v[b+288>>2]+4>>2])|0;if(c){break b}v[b+152>>2]=v[b+152>>2]+1;break a}v[b+12>>2]=v[d+12>>2];break a}c=3;v[d+12>>2]=3}v[b+12>>2]=c}Ca=d+16|0}function pq(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;p=Ca-16|0;Ca=p;k=d+8|0;g=-31;a:{b:{c:{d:{e:{f:{switch(v[d+628>>2]){case 3:e=v[d+2428>>2];break d;case 2:g=v[d+2424>>2];break e;case 0:g=nq(d,k,b);if((g|0)!=1){break a}v[b>>2]=v[b>>2]+1;v[d+2420>>2]=0;f=Ea[v[d+24>>2]](v[d+32>>2],a)|0;v[c>>2]=f;if(!f){g=-25;break a}g=1;if(y[b>>2]<=1){Ra(f,0,a);break a}v[d+628>>2]=1;break;case 4:break c;case 1:break f;default:break a}}e=v[d+12>>2];g:{if(32-e>>>0>=5){i=v[k>>2];f=e;break g}g=2;m=v[d+20>>2];if(!m){break a}i=v[d+8>>2]>>>8|0;v[d+8>>2]=i;n=v[d+16>>2];h=w[n|0];j=m-1|0;v[d+20>>2]=j;f=e-8|0;v[d+12>>2]=f;v[d+16>>2]=n+1;i=i|h<<24;v[d+8>>2]=i;if(40-e>>>0>=5){break g}if(!j){break a}g=v[d+8>>2]>>>8|0;v[d+8>>2]=g;i=v[d+16>>2];n=w[i|0];v[d+20>>2]=m-2;f=e-16|0;v[d+12>>2]=f;v[d+16>>2]=i+1;i=g|n<<24;v[d+8>>2]=i}v[d+628>>2]=2;e=f;f=i>>>f|0;g=f&1;v[d+12>>2]=e+(g?5:1);g=(f>>>1&15)+1&0-g;v[d+2424>>2]=g}b=v[b>>2]+g|0;g=ai(b,b,d+2432|0,0,d);if((g|0)!=1){break a}v[d+628>>2]=3;v[d+2428>>2]=65535;e=65535}n=v[d+2424>>2];i=v[d+2420>>2];m=v[c>>2];v[p+12>>2]=e;g=(e|0)!=65535;if((e|0)==65535?a>>>0<=i>>>0:0){break c}j=d+2432|0;while(1){h:{i:{if(g&1){break i}j:{k:{b=v[d+12>>2];if(32-b>>>0>=15){f=v[k>>2];g=b;break k}l:{e=v[d+20>>2];if(!e){break l}f=v[d+8>>2]>>>8|0;v[d+8>>2]=f;h=v[d+16>>2];l=w[h|0];o=e-1|0;v[d+20>>2]=o;g=b-8|0;v[d+12>>2]=g;v[d+16>>2]=h+1;f=f|l<<24;v[d+8>>2]=f;if(40-b>>>0>=15){break k}if(!o){break l}f=v[d+8>>2]>>>8|0;v[d+8>>2]=f;h=v[d+16>>2];l=w[h|0];o=e-2|0;v[d+20>>2]=o;g=b-16|0;v[d+12>>2]=g;v[d+16>>2]=h+1;f=f|l<<24;v[d+8>>2]=f;if(48-b>>>0>14){break k}if(!o){break l}f=v[d+8>>2]>>>8|0;v[d+8>>2]=f;h=v[d+16>>2];l=w[h|0];v[d+20>>2]=e-3;g=b-24|0;v[d+12>>2]=g;v[d+16>>2]=h+1;f=f|l<<24;v[d+8>>2]=f;break k}if(!Id(j,k,p+12|0)){e=65535;break b}e=v[p+12>>2];break j}e=d;h=f>>>g|0;l=((h&255)<<2)+d|0;b=l+2432|0;f=w[b|0];if(f>>>0>=9){g=g+8|0;b=(x[l+2434>>1]+(v[(f<<2)+29264>>2]&h>>>8&127)<<2)+b|0;f=w[b|0]}v[e+12>>2]=(f&255)+g;e=x[b+2>>1];v[p+12>>2]=e}if(!e){e=0;t[i+m|0]=0;b=i+1|0;break h}if(e>>>0<=n>>>0){break i}t[i+m|0]=e-n;b=i+1|0;break h}f=v[d+12>>2];m:{if(32-f>>>0>=e>>>0){h=v[k>>2];break m}g=v[d+20>>2];b=f;while(1){if(!g){break b}h=v[d+8>>2]>>>8|0;v[d+8>>2]=h;l=v[d+16>>2];o=w[l|0];g=g-1|0;v[d+20>>2]=g;f=b-8|0;v[d+12>>2]=f;v[d+16>>2]=l+1;h=h|o<<24;v[d+8>>2]=h;l=40-b|0;b=f;if(e>>>0>l>>>0){continue}break}}v[d+12>>2]=e+f;b=v[(e<<2)+29296>>2]&h>>>f;f=1<<e;g=b+f|0;if(g+i>>>0>a>>>0){g=-8;break a}Ra(i+m|0,0,g);b=f+(b+i|0)|0}i=b;g=0;if(a>>>0>i>>>0){continue}break}}b=v[d+12>>2];n:{o:{if((b|0)!=32){e=v[k>>2];break o}b=v[d+20>>2];if(!b){g=2;f=4;break n}f=v[d+8>>2]>>>8|0;v[d+8>>2]=f;g=v[d+16>>2];e=w[g|0];v[d+20>>2]=b-1;v[d+16>>2]=g+1;b=24;e=f|e<<24;v[d+8>>2]=e}g=1;v[d+12>>2]=b+1;f=0;if(!(e>>>b&1)){break n}l=v[c>>2];c=a;m=0;k=d+288|0;v[k>>2]=50462976;b=v[d+280>>2];e=117835012;a=1;while(1){v[k+(a<<2)>>2]=e;a=a+1|0;if(b>>>0>=a>>>0){e=e+67372036|0;continue}break}i=d;if(c){o=k-1|0;n=0;while(1){e=l+m|0;b=w[e|0];a=w[b+k|0];t[e|0]=a;t[o|0]=a;e=b+1&3;p:{if(!e){a=b;break p}a=b;while(1){j=a+k|0;a=a-1|0;t[j|0]=w[k+a|0];e=e-1|0;if(e){continue}break}}if(b>>>0>=3){while(1){h=(a+k|0)-3|0;e=a-4|0;j=e+k|0;j=w[j|0]|w[j+1|0]<<8|(w[j+2|0]<<16|w[j+3|0]<<24);t[h|0]=j;t[h+1|0]=j>>>8;t[h+2|0]=j>>>16;t[h+3|0]=j>>>24;h=(a|0)>3;a=e;if(h){continue}break}}n=b|n;m=m+1|0;if((c|0)!=(m|0)){continue}break}a=n>>>2|0}else{a=0}v[i+280>>2]=a}v[d+628>>2]=f;break a}v[d+2420>>2]=i;v[d+2428>>2]=e;g=2}Ca=p+16|0;return g}function br(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;f=Ca-16|0;Ca=f;v[b+12>>2]=0;v[b>>2]=c;g=c+d|0;v[b+8>>2]=g;Ea[v[b+28>>2]](b);c=v[b>>2];a:{b:{if(g>>>0<=c>>>0){break b}k=a+132|0;m=a+164|0;n=a+168|0;o=a+464|0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{d=w[c|0];switch(d-99|0){case 1:break i;case 0:break k;case 2:break l;default:break j}}d=c+6|0;if((d|0)==(g|0)){break h}if(d>>>0>=g>>>0){break d}switch(w[c+5|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break d}}m:{d=c+10|0;if((d|0)==(g|0)){break m}if(d>>>0>=g>>>0){break d}switch(w[c+9|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break m;default:break d}}if($a(c,7436,9)){break d}break b}if((d|0)==70){break e}}if(d-48>>>0<=9){Ea[v[b+32>>2]](b);e=1;l=c;if(!v[b+12>>2]){break c}break b}h=c+6|0;if(!((d|0)!=82|h>>>0>=g>>>0)){if(!e|w[c+1|0]!=68){break d}v[b>>2]=l;e=v[v[a+128>>2]+52>>2];d=v[b+8>>2];Ea[v[b+28>>2]](b);n:{c=v[b>>2];o:{if(c>>>0>=d>>>0|w[c|0]-48>>>0>9){break o}c=Ea[v[b+36>>2]](b)|0;Ea[v[b+32>>2]](b);if((c|0)<0){break o}h=d;d=v[b>>2];if((c|0)<(h+(d^-1)|0)){break n}}c=3;if(e){break a}break f}v[b>>2]=(c+d|0)+1;e=0;if(!v[b+12>>2]){break c}c=3;break a}if(!((d|0)!=45|g>>>0<=h>>>0)){if(!e|w[c+1|0]!=124){break d}v[b>>2]=l;e=v[v[a+128>>2]+52>>2];d=v[b+8>>2];Ea[v[b+28>>2]](b);p:{c=v[b>>2];q:{if(c>>>0>=d>>>0|w[c|0]-48>>>0>9){break q}c=Ea[v[b+36>>2]](b)|0;Ea[v[b+32>>2]](b);if((c|0)<0){break q}h=d;d=v[b>>2];if((c|0)<(h+(d^-1)|0)){break p}}c=3;if(!e){break f}break a}v[b>>2]=(c+d|0)+1;e=0;if(!v[b+12>>2]){break c}c=3;break a}if((d|0)!=47|c+2>>>0>=g>>>0){break d}h=c+1|0;v[b>>2]=h;Ea[v[b+32>>2]](b);if(v[b+12>>2]){break b}e=0;c=v[b>>2];j=c-h|0;if(j-1>>>0>20|c>>>0>=g>>>0){break c}p=w[h|0];c=7472;i=9176;while(1){d=c;r:{if(w[i|0]!=(p|0)){break r}if((Xa(i)|0)!=(j|0)){break r}if(lc(h,i,j)){break r}c=v[b+376>>2];if(!(v[d+32>>2]&(c&1?2:1))){break c}if(c&2){if(Wa(i,9164)){break c}}i=v[a+532>>2];if(i){c=v[i>>2]?i:0}else{c=0}h=b;j=v[d+8>>2];s:{if((j|0)==11){Ea[v[d+12>>2]](a,b);c=v[b+12>>2];break s}t:{u:{v:{w:{x:{y:{z:{switch(v[d+4>>2]-2|0){case 1:v[f+12>>2]=k;if(c){break y}e=f+12|0;break u;case 2:v[f+12>>2]=n;e=f+12|0;if(!c){break u}e=c+212|0;break x;case 3:v[f+12>>2]=o;e=f+12|0;if(!c){break u}e=c+284|0;break x;case 4:v[f+12>>2]=b;e=f+12|0;break u;case 5:v[f+12>>2]=a;e=f+12|0;break u;case 6:v[f+12>>2]=i;e=f+12|0;c=0;break w;case 0:break v;default:break z}}v[f+12>>2]=k;e=f+12|0;break u}e=c+144|0}i=v[e>>2];c=v[c>>2]}if(i){break t}break g}v[f+12>>2]=m;e=f+12|0}c=0}if(j-9>>>0<=1){c=Ea[v[b+68>>2]](b,d,e,c,0)|0;break s}c=Ea[v[b+64>>2]](b,d,e,c,0)|0}v[h+12>>2]=c;if(!c){e=0;break c}if((c&255)==162){break g}break a}c=d+36|0;i=v[d+36>>2];if(i){continue}break}break c}if(!$a(c,7430,5)){break b}break d}e=0;v[b+12>>2]=0;break c}v[b+12>>2]=3;break a}A:{d=c+14|0;if((d|0)==(g|0)){break A}if(d>>>0>=g>>>0){break d}switch(w[c+13|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break A;default:break d}}if($a(c,7446,13)){break d}d=v[b+376>>2];if(d&1){v[b+376>>2]=d|2}v[b>>2]=c+13;break c}Ea[v[b+32>>2]](b);e=0;if(v[b+12>>2]){break b}}Ea[v[b+28>>2]](b);c=v[b>>2];if(g>>>0>c>>>0){continue}break}}c=v[b+12>>2]}Ca=f+16|0;return c}function Dw(a,b,c,d,e,f){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,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;h=Ca-32|0;Ca=h;if(!(e-d>>>0<2|d>>>0>=e>>>0)){G=v[c+88>>2];while(1){l=B(d,20);a:{if(1<<x[(l+G|0)+16>>1]&7168){o=d;break a}g=d+1|0;i=e>>>0>g>>>0?e:g;k=i-1|0;j=d;while(1){b:{o=j;j=j+1|0;if(j>>>0>=e>>>0){o=k;j=i;break b}if(1<<x[(B(j,20)+G|0)+16>>1]&7168){continue}}break}if(j-d>>>0>=2){Mb(c,d,j)}i=v[l+v[c+88>>2]>>2];v[h+8>>2]=0;v[h+12>>2]=0;v[h>>2]=0;v[h+4>>2]=0;k=i;i=v[b+72>>2];if(!(Ea[v[i+200>>2]](b,v[b+76>>2],k,h,v[i- -64>>2])|0)){if(g>>>0>=j>>>0){break a}j=v[c+88>>2];if(!f){if(o-d&1){i=B(g,20);if((x[(i+j|0)+16>>1]&31)==12){i=i+v[c+96>>2]|0;v[i>>2]=0;v[i+4>>2]=0}g=d+2|0}if((d+1|0)==(o|0)){break a}while(1){d=B(g,20);if((x[(d+j|0)+16>>1]&31)==12){d=d+v[c+96>>2]|0;v[d>>2]=0;v[d+4>>2]=0}d=g+1|0;i=B(d,20);if((x[(i+j|0)+16>>1]&31)==12){i=i+v[c+96>>2]|0;v[i>>2]=0;v[i+4>>2]=0}g=g+2|0;if((d|0)!=(o|0)){continue}break}break a}while(1){d=B(g,20);if((x[(d+j|0)+16>>1]&31)==12){d=d+v[c+96>>2]|0;i=v[d+4>>2];v[d+4>>2]=0;k=v[d>>2];v[d>>2]=0;v[d+8>>2]=v[d+8>>2]-k;v[d+12>>2]=v[d+12>>2]-i}d=(g|0)==(o|0);g=g+1|0;if(!d){continue}break}break a}d=v[(l+v[c+96>>2]|0)+12>>2];u=0;v[h>>2]=0;v[h+4>>2]=d+v[h+4>>2];d=v[b+72>>2];i=Ea[v[d+168>>2]](b,v[b+76>>2],v[l+v[c+88>>2]>>2],v[d+32>>2])|0;v[h+8>>2]=i;r=0;s=0;if((v[c+48>>2]&-3)==4){d=l+v[c+96>>2]|0;r=0-v[d+4>>2]|0;s=0-v[d>>2]|0}if(g>>>0>=j>>>0){break a}H=v[c+88>>2];j=l+H|0;d=w[j+14|0];p=w[j+12|0]&4?d&16?d&15:1:1;I=d>>>5|0;J=-1;y=255;D=v[h>>2];t=D;E=v[h+4>>2];l=E;j=i;F=v[h+12>>2];k=F;while(1){K=g;z=B(g,20);m=H+z|0;d=x[m+16>>1];q=1<<d&7168;c:{if(!(!q|d>>>0<256)){d:{if(p>>>0<2){break d}g=w[m+14|0];n=g&16?0:g&15;n=I?(g>>>5|0)==(I|0)?p>>>0>=n>>>0?n:p:p:p;g=n-1|0;if((g|0)==(J|0)){break d}F=v[h+12>>2];i=v[h+8>>2];E=v[h+4>>2];y=v[h>>2];e:{if(u){break e}u=v[a>>2];if((u&-2)==4){break e}u=ck(v[a+4>>2]);d=x[m+16>>1];q=1<<d&7168}D=y+((B(i,(u|0)==4?g:p-n|0)|0)/(p|0)|0)|0;i=(i|0)/(p|0)|0;y=255;J=g}d=q?d>>>8|0:0;if((d|0)!=(y|0)){k=F;l=E;t=D;y=d;j=i}g=v[v[c+88>>2]+z>>2];v[h+24>>2]=0;v[h+28>>2]=0;v[h+16>>2]=0;v[h+20>>2]=0;A=g;g=v[b+72>>2];f:{if(!(Ea[v[g+200>>2]](b,v[b+76>>2],A,h+16|0,v[g- -64>>2])|0)){q=v[c+96>>2];break f}m=v[b+24>>2];q=v[c+96>>2];A=z+q|0;g=A;v[g+8>>2]=0;v[g+12>>2]=0;n=(m|0)/16|0;g:{h:{i:{j:{k:{d=d-200|0;switch(d|0){case 16:case 22:case 32:break h;case 0:case 18:case 28:break i;case 33:case 34:break k;default:break j}}l:{switch(v[c+48>>2]-4|0){case 0:C=((j+t|0)+(v[h+24>>2]/-2|0)|0)-v[h+16>>2]|0;break g;case 1:break l;default:break j}}C=((v[h+24>>2]/-2|0)+t|0)-v[h+16>>2]|0;break g}C=(t-v[h+16>>2]|0)+((j-v[h+24>>2]|0)/2|0)|0;break g}C=t-v[h+16>>2]|0;break g}C=j+t-(v[h+24>>2]+v[h+16>>2])|0}v[g+8>>2]=C;m:{switch(d|0){case 18:case 20:case 22:case 33:k=k-n|0;case 0:case 2:d=(k+l|0)-v[h+20>>2]|0;g=(m|0)<16^(d|0)>0;v[A+12>>2]=g?0:d;k=(v[h+28>>2]+k|0)-(g?d:0)|0;break f;case 28:case 30:case 32:case 34:k=k-n|0;l=l+n|0;break;case 14:case 16:break m;default:break f}}g=v[h+28>>2];d=l-(g+v[h+20>>2]|0)|0;if(!((m|0)<16^(d|0)>0)){m=(d|0)/-2|0;d=m+d|0;l=l+m|0;k=k-m|0}v[A+12>>2]=d;k=g+k|0;l=l-g|0}d=q+z|0;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=v[d+8>>2]+s;v[d+12>>2]=v[d+12>>2]+r;break c}d=v[c+96>>2]+z|0;g=v[d>>2];if((v[c+48>>2]&-3)==4){s=s-g|0;r=r-v[d+4>>2]|0;break c}s=g+s|0;r=v[d+4>>2]+r|0}g=K+1|0;if((o|0)!=(K|0)){continue}break}}d=o+1|0;if(e>>>0>d>>>0){continue}break}}Ca=h+32|0}function XC(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;n=Ca-16|0;Ca=n;j=3;c=v[a+32>>2];a:{if(!c){break a}d=v[c+364>>2];if(!d){break a}h=v[d+588>>2];e=v[d+584>>2];c=v[c+360>>2];b:{if(!(!w[d+556|0]|(c|0)!=v[d+564>>2]|(e|0)!=v[d+568>>2])){if(!e){break b}if(!lc(h,v[d+572>>2],e<<2)){break b}}j=Mq(d+556|0,c,e,h);if(j){break a}}c:{d:{e:{i=v[a+20>>2];c=v[i-4>>2];h=w[c|0];if((h|0)!=255){if((h|0)!=30){break e}e=zc(a,c,0,0)>>16;break d}e=((w[c+3|0]|(w[c+2|0]<<8|w[c+1|0]<<16))<<8)+32768>>16;break d}b=c+1|0;f:{switch(h-28|0){case 0:e=0;if(y[a+8>>2]<=c+2>>>0){break c}e=(w[c+2|0]|w[b|0]<<8)<<16>>16;break d;case 1:e=0;if(y[a+8>>2]<=c+4>>>0){break c}e=w[c+1|0]|w[c+2|0]<<8|(w[c+3|0]<<16|w[c+4|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);break d;default:break f}}e=h-139|0;if(h>>>0<=246){break d}c=v[a+8>>2];if(h>>>0<=250){e=0;if(b>>>0>=c>>>0){break c}e=(w[b|0]|h<<8)-63124|0;break d}e=0;if(b>>>0>=c>>>0){break c}e=64148-(w[b|0]|h<<8)|0}j=3;if(y[a+24>>2]<e>>>0){break a}i=v[a+20>>2]}b=v[v[d+560>>2]+8>>2];v[n+12>>2]=0;j=161;i=(i-v[a+16>>2]|0)-4>>2;g=B(v[d+576>>2],e);g:{if(i>>>0<g>>>0){break g}c=v[d+604>>2];f=v[d+600>>2];h=B(e,5);h:{if(c>>>0>=f+h>>>0){break h}k=v[d+596>>2];f=c;j=c+h|0;c=v[d+592>>2];b=Kd(b,1,f,j,c,n+12|0);v[d+592>>2]=b;j=v[n+12>>2];if(j){break g}f=v[d+600>>2];v[d+596>>2]=b+f;v[d+604>>2]=h+v[d+604>>2];if(!c|(b|0)==(c|0)){break h}l=v[a+16>>2];m=v[a+20>>2];if(l>>>0>=m>>>0){break h}j=b-c|0;while(1){b=v[l>>2];if(!(b>>>0<c>>>0|b>>>0>=k>>>0)){v[l>>2]=b+j;m=v[a+20>>2]}l=l+4|0;if(m>>>0>l>>>0){continue}break}}v[d+600>>2]=h+f;p=i-g|0;h=p+e|0;j=0;if(e){c=h;while(1){l=v[d+580>>2];i:{j:{q=j+p<<2;b=v[q+v[a+16>>2]>>2];g=w[b|0];if((g|0)!=255){if((g|0)!=30){break j}f=zc(a,b,0,0)>>16;break i}f=((w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16))<<8)+32768>>16;break i}k=b+1|0;k:{switch(g-28|0){case 0:f=0;if(y[a+8>>2]<=b+2>>>0){break i}f=(w[b+2|0]|w[k|0]<<8)<<16>>16;break i;case 1:f=0;if(y[a+8>>2]<=b+4>>>0){break i}b=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break i;default:break k}}f=g-139|0;if(g>>>0<=246){break i}b=v[a+8>>2];if(g>>>0<=250){f=0;if(b>>>0<=k>>>0){break i}f=(w[k|0]|g<<8)-63124|0;break i}f=0;if(b>>>0<=k>>>0){break i}f=64148-(w[k|0]|g<<8)|0}k=f<<16;m=1;f=v[d+576>>2];if(f>>>0>=2){while(1){l=l+4|0;l:{m:{b=v[v[a+16>>2]+(c<<2)>>2];g=w[b|0];if((g|0)!=255){if((g|0)!=30){break m}i=zc(a,b,0,0)>>16;f=v[d+576>>2];break l}i=((w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16))<<8)+32768>>16;break l}o=b+1|0;n:{switch(g-28|0){case 0:i=0;if(y[a+8>>2]<=b+2>>>0){break l}i=(w[b+2|0]|w[o|0]<<8)<<16>>16;break l;case 1:i=0;if(y[a+8>>2]<=b+4>>>0){break l}b=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);i=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break l;default:break n}}if(g>>>0<=246){i=g-139|0;break l}b=v[a+8>>2];if(g>>>0<=250){i=0;if(b>>>0<=o>>>0){break l}i=(w[o|0]|g<<8)-63124|0;break l}i=0;if(b>>>0<=o>>>0){break l}i=64148-(w[o|0]|g<<8)|0}c=c+1|0;k=B(v[l>>2],i)+k|0;m=m+1|0;if(m>>>0<f>>>0){continue}break}}v[v[a+16>>2]+q>>2]=v[d+596>>2];b=v[d+596>>2];v[d+596>>2]=b+1;t[b|0]=255;b=v[d+596>>2];v[d+596>>2]=b+1;t[b|0]=k>>>24;b=v[d+596>>2];v[d+596>>2]=b+1;t[b|0]=k>>>16;b=v[d+596>>2];v[d+596>>2]=b+1;t[b|0]=k>>>8;b=v[d+596>>2];v[d+596>>2]=b+1;t[b|0]=k;j=j+1|0;if((e|0)!=(j|0)){continue}break}j=v[n+12>>2]}v[a+20>>2]=v[a+16>>2]+(h<<2)}t[d+557|0]=1}Ca=n+16|0;return j|0}function Kq(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,u=0;g=Ca-1328|0;Ca=g;j=v[a+4>>2];k=v[j+328>>2];v[g+1324>>2]=0;n=v[j+136>>2];p=v[j+100>>2];l=v[v[j+128>>2]+52>>2];a:{b:{if(l){c=Ea[v[v[l>>2]>>2]](v[l+4>>2],b,g+664|0)|0;v[g+1324>>2]=c;if(c){break a}c=0;h=v[j+288>>2];c:{if(!(h&255)){break c}k=h&3;f=v[g+664>>2];if((h-1&255)>>>0<3){d=0}else{d=h&252;while(1){e=f;f=e+4|0;d=d-4|0;if(d&255){continue}break}d=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}if(!k){break c}while(1){d=w[f|0]|d<<8;f=f+1|0;k=k-1|0;if(k&255){continue}break}}f=v[g+668>>2];d:{if(!f){f=0;break d}c=f-h|0;f=qb(p,c,g+1324|0);if(v[g+1324>>2]){break d}Ta(f,v[g+664>>2]+v[j+288>>2]|0,c)}Ea[v[v[l>>2]+4>>2]](v[l+4>>2],g+664|0);if(!v[g+1324>>2]){break b}break a}c=v[j+292>>2]+v[j+288>>2]|0;h=Ya(k,(v[j+284>>2]+v[j+308>>2]|0)+B(c,b)|0);v[g+1324>>2]=h;if(h){break a}c=vb(k,c<<1);v[g+1324>>2]=c;if(c){break a}c=v[k+32>>2];o=v[j+288>>2];if(o&255){i=o&3;m=o-1&255;e:{if(m>>>0<3){f=c;d=0;break e}d=o&252;f=c;while(1){h=f;f=h+4|0;d=d-4|0;if(d&255){continue}break}d=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}if(i){while(1){d=w[f|0]|d<<8;f=f+1|0;i=i-1|0;if(i&255){continue}break}}c=(c+m|0)+1|0}i=0;m=v[j+292>>2];f:{if(!(m&255)){break f}i=m&3;q=m-1|0;r=q&255;g:{if(r>>>0<3){f=c;e=0;break g}e=m&252;f=c;while(1){h=f;f=h+4|0;e=e-4|0;if(e&255){continue}break}e=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}if(i){while(1){e=w[f|0]|e<<8;f=f+1|0;i=i-1|0;if(i&255){continue}break}}h=m&3;f=((c+r|0)+o|0)+1|0;if((q&255)>>>0<3){i=0}else{i=m&252;while(1){c=f;f=c+4|0;i=i-4|0;if(i&255){continue}break}c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}if(!h){break f}while(1){i=w[f|0]|i<<8;f=f+1|0;h=h-1|0;if(h&255){continue}break}}pb(k);h:{i:{if(e>>>0<=i>>>0?y[k+4>>2]<i>>>0|y[j+300>>2]<=d>>>0:1){v[g+1324>>2]=9;break i}c=i-e|0;if(c){break h}}i=0;f=0;break a}i=0;f=qb(p,c,g+1324|0);if(v[g+1324>>2]){break a}e=ni(k,v[j+308>>2]+e|0,f,c);v[g+1324>>2]=e;if(e){break a}}e=v[j+316>>2]+(d<<3)|0;v[a+1364>>2]=v[e>>2];e=v[e+4>>2];v[a+1372>>2]=0;v[a+1376>>2]=0;v[a+1368>>2]=e;d=v[j+304>>2]+B(d,252)|0;e=v[d+220>>2];v[a+1380>>2]=v[d+216>>2];v[a+1384>>2]=e;h=v[d+228>>2];e=a+1388|0;v[e>>2]=v[d+224>>2];v[e+4>>2]=h;e=v[d+236>>2];v[a+1396>>2]=v[d+232>>2];v[a+1400>>2]=e;h=v[d+4>>2];v[a+1360>>2]=h;e=(h|0)>-1?h:0;if(e>>>0<=c>>>0){if((h|0)>=0){Ea[v[n+16>>2]](f,c,4330)}j:{if(w[a+70|0]){d=Ea[v[v[n+12>>2]+8>>2]](a,f+e|0,c-e|0)|0;v[g+1324>>2]=d;i=0;break j}Ea[v[n+24>>2]](g+664|0,a,1);Ea[v[n+28>>2]](j,d,g+8|0);v[g+1200>>2]=g+8;h=f+e|0;c=c-e|0;d=Ea[v[v[n+12>>2]+12>>2]](g+664|0,h,c)|0;v[g+1324>>2]=d;i=0;if((d&255)!=164){break j}t[v[a+8>>2]+160|0]=0;d=Ea[v[v[n+12>>2]+12>>2]](g+664|0,h,c)|0;v[g+1324>>2]=d;i=1}if(!v[v[l>>2]+8>>2]|(!l|d)){break a}c=v[a+32>>2];v[g+668>>2]=0;v[g+664>>2]=((c+(c>>31)|0)+32768&-65536)>>16;c=v[a+40>>2];v[g+672>>2]=(((c>>31)+c|0)+32768&-65536)>>16;c=v[a+44>>2];v[g+676>>2]=(((c>>31)+c|0)+32768&-65536)>>16;s=g,u=Ea[v[v[l>>2]+8>>2]](v[l+4>>2],b,0,g+664|0)|0,v[s+1324>>2]=u;v[a+32>>2]=v[g+664>>2]<<16;v[a+40>>2]=v[g+672>>2]<<16;v[a+44>>2]=v[g+676>>2]<<16;break a}v[g+1324>>2]=9}if(f){Ea[v[p+8>>2]](p,f)}t[v[a+8>>2]+161|0]=i;Ca=g+1328|0;return v[g+1324>>2]}function cd(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=Ca-112|0;Ca=k;l=h;o=i&2147483647;m=c-(b>>>0<1)|0;j=b-1|0;q=(j|0)==-1&(m|0)==-1;r=d;p=(c|0)==(m|0)&b>>>0>j>>>0|c>>>0>m>>>0;n=d+p|0;m=e&2147483647;j=m;j=n>>>0<p>>>0?j+1|0:j;p=n-1|0;a:{b:{j=j-(n>>>0<1)|0;if(!((p|0)==-1&(j|0)==2147418111?q:j>>>0>2147418111)){j=f;n=g-(j>>>0<1)|0;j=j-1|0;q=(j|0)!=-1|(n|0)!=-1;p=(g|0)==(n|0)&f>>>0>j>>>0|g>>>0>n>>>0;n=p+l|0;j=o;j=n>>>0<p>>>0?j+1|0:j;p=n;n=n-1|0;j=j-(p>>>0<1)|0;if((n|0)==-1&(j|0)==2147418111?q:(j|0)==2147418111&(n|0)!=-1|j>>>0<2147418111){break b}}if(!(!r&(m|0)==2147418112?!(b|c):m>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!l&(o|0)==2147418112?!(f|g):o>>>0<2147418112)){i=i|32768;break a}if(!(b|r|(m^2147418112|c))){j=d;d=!(b^f|d^h|(c^g|e^i^-2147483648));h=d?0:j;i=d?2147450880:e;f=d?0:b;g=d?0:c;break a}if(!(f|l|(o^2147418112|g))){break a}if(!(b|r|(c|m))){if(f|l|(g|o)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|l|(g|o)){break b}f=b;g=c;h=d;i=e;break a}q=(l|0)==(r|0)&(m|0)==(o|0)?(c|0)==(g|0)&b>>>0<f>>>0|c>>>0<g>>>0:(m|0)==(o|0)&l>>>0>r>>>0|m>>>0<o>>>0;j=q;n=j?f:b;o=j?g:c;l=j?i:e;r=l;m=j?h:d;j=l&65535;i=q?e:i;e=i;h=q?d:h;p=i>>>16&32767;l=l>>>16&32767;if(!l){d=!(j|m);i=d<<6;l=E(d?n:m)+32|0;d=E(d?o:j);d=i+((d|0)==32?l:d)|0;Tc(k+96|0,n,o,m,j,d-15|0);m=v[k+104>>2];n=v[k+96>>2];o=v[k+100>>2];l=16-d|0;j=v[k+108>>2]}f=q?b:f;g=q?c:g;i=e&65535;if(!p){b=!(h|i);c=b<<6;d=E(b?f:h)+32|0;b=E(b?g:i);b=c+((b|0)==32?d:b)|0;Tc(k+80|0,f,g,h,i,b-15|0);p=16-b|0;h=v[k+88>>2];i=v[k+92>>2];g=v[k+84>>2];f=v[k+80>>2]}b=h;c=i<<3|b>>>29;h=b<<3|g>>>29;i=c|524288;b=m;d=j<<3|b>>>29;m=b<<3|o>>>29;s=d;q=e^r;b=f;j=g<<3|b>>>29;b=b<<3;c=j;d=l-p|0;e=b;c:{if(!d){break c}if(d>>>0>127){h=0;i=0;j=0;e=1;break c}Tc(k- -64|0,b,c,h,i,128-d|0);rg(k+48|0,b,c,h,i,d);h=v[k+56>>2];i=v[k+60>>2];j=v[k+52>>2];e=v[k+48>>2]|((v[k+64>>2]|v[k+72>>2])!=0|(v[k+68>>2]|v[k+76>>2])!=0)}f=j;d=m;p=s|524288;b=n;j=o<<3|b>>>29;c=b<<3;d:{if((q|0)<-1?1:(q|0)<=-1){o=e;b=c-e|0;m=h;n=d-h|0;e=(f|0)==(j|0)&c>>>0<e>>>0|f>>>0>j>>>0;h=n-e|0;c=j-((c>>>0<o>>>0)+f|0)|0;i=(p-((d>>>0<m>>>0)+i|0)|0)-(e>>>0>n>>>0)|0;if(!(b|h|(c|i))){f=0;g=0;h=0;i=0;break a}if(i>>>0>524287){break d}f=b;d=!(h|i);e=d<<6;g=E(d?b:h)+32|0;b=E(d?c:i);b=e+((b|0)==32?g:b)|0;b=b-12|0;Tc(k+32|0,f,c,h,i,b);l=l-b|0;h=v[k+40>>2];i=v[k+44>>2];b=v[k+32>>2];c=v[k+36>>2];break d}b=c;g=b+e|0;c=f+j|0;c=b>>>0>g>>>0?c+1|0:c;b=g;g=(c|0)==(f|0)&e>>>0>b>>>0|c>>>0<f>>>0;e=d;f=d+h|0;d=i+p|0;d=e>>>0>f>>>0?d+1|0:d;e=g+f|0;h=e;i=h>>>0<f>>>0?d+1|0:d;if(!(i&1048576)){break d}b=b&1|((c&1)<<31|b>>>1);c=h<<31|c>>>1;l=l+1|0;h=(i&1)<<31|h>>>1;i=i>>>1|0}o=0;r=r&-2147483648;if((l|0)>=32767){h=o;i=r|2147418112;f=0;g=0;break a}if((l|0)>=1){e=l}else{Tc(k+16|0,b,c,h,i,l+127|0);rg(k,b,c,h,i,1-l|0);b=v[k>>2]|((v[k+16>>2]|v[k+24>>2])!=0|(v[k+20>>2]|v[k+28>>2])!=0);c=v[k+4>>2];h=v[k+8>>2];i=v[k+12>>2];e=0}j=(c&7)<<29|b>>>3;l=b&7;b=j+(l>>>0>4)|0;d=h<<29|c>>>3;c=b>>>0<j>>>0?d+1|0:d;f=b;g=c;b=(d|0)==(c|0)&b>>>0<j>>>0|c>>>0<d>>>0;d=o|((i&7)<<29|h>>>3);b=b+d|0;j=r|(i>>>3&65535|e<<16);h=b;i=b>>>0<d>>>0?j+1|0:j;e:{if((l|0)==4){j=i;c=0;d=g+c|0;e=f&1;b=f+e|0;d=b>>>0<f>>>0?d+1|0:d;f=b;g=d;c=(c|0)==(d|0)&b>>>0<e>>>0|c>>>0>d>>>0;b=c+h|0;h=b;i=b>>>0<c>>>0?j+1|0:j;break e}if(!l){break a}}}v[a>>2]=f;v[a+4>>2]=g;v[a+8>>2]=h;v[a+12>>2]=i;Ca=k+112|0}function ft(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=Ca-1104|0;Ca=e;v[e+56>>2]=0;v[e+52>>2]=0;v[e+48>>2]=0;v[e+40>>2]=-1;a:{if(!ye(a,12,c,d,4016,0)){while(1){b=a;a=v[a+472>>2];if(a){continue}break}f=43;if(v[b+512>>2]<1){break a}a=v[b+504>>2];i=v[b+508>>2];j=1;c=v[b+500>>2];d=c;g=v[b+496>>2];if(d|g){h=d+i|0;c=a+g|0;j=+C(C(+(c>>>0)+ +((a>>>0>c>>>0?h+1|0:h)>>>0)*4294967296)/C(+(g>>>0)+ +(d>>>0)*4294967296))}v[e+32>>2]=509254;A[e+24>>3]=j;v[e+16>>2]=a;v[e+20>>2]=i;v[e+8>>2]=g;v[e+12>>2]=d;v[e>>2]=b;Nd(v[130915],509100,e);break a}if(!(Ea[(w[a+232|0]?994:995)|0](b,v[a+144>>2],c,d,a+284|0,e+48|0,e+44|0,e+56|0,e+52|0,e+40|0)|0)){f=b?31:30;break a}b:{if(v[e+40>>2]!=1|b){break b}t[v[a+352>>2]+130|0]=1;if(v[a+488>>2]!=1){break b}v[a+488>>2]=0}c:{if(v[a+140>>2]){c=0;b=0;d=v[e+56>>2];if(d){b=v[a+144>>2];f=Ea[v[b+28>>2]](b,d)|0;v[e+64>>2]=d;g=a+436|0;d:{h=a+448|0;e:{if(!v[h>>2]){if(!_a(g)){break e}}d=d+f|0;while(1){if(Ea[v[b+56>>2]](b,e- -64|0,d,h,v[a+444>>2])>>>0<2){break d}if(_a(g)){continue}break}}f=1;break a}f=1;if(!v[a+452>>2]){break a}d=v[a+448>>2];if((d|0)==v[a+444>>2]){if(!_a(g)){break a}d=v[h>>2]}v[a+448>>2]=d+1;t[d|0]=0;b=v[a+452>>2];if(!b){break a}v[a+452>>2]=v[a+448>>2]}f=v[e+48>>2];if(f){d=v[a+144>>2];h=v[d+64>>2];i=v[e+44>>2];v[e+64>>2]=f;c=a+436|0;f:{g=a+448|0;g:{if(!v[g>>2]){if(!_a(c)){break g}}f=i-h|0;while(1){if(Ea[v[d+56>>2]](d,e- -64|0,f,g,v[a+444>>2])>>>0<2){break f}if(_a(c)){continue}break}}f=1;break a}f=1;if(!v[a+452>>2]){break a}d=v[a+448>>2];if((d|0)==v[a+444>>2]){if(!_a(c)){break a}d=v[g>>2]}v[a+448>>2]=d+1;t[d|0]=0;c=v[a+452>>2];if(!c){break a}}Ea[v[a+140>>2]](v[a+4>>2],c,b,v[e+40>>2]);break c}b=0;g=v[a+80>>2];h:{if(!g){break h}f=v[a+144>>2];v[e+64>>2]=c;if(!w[f+68|0]){while(1){v[e+60>>2]=v[a+44>>2];c=Ea[v[f+56>>2]](f,e- -64|0,d,e+60|0,v[a+48>>2])|0;v[a+288>>2]=v[e+64>>2];g=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],g,v[e+60>>2]-g|0);v[a+284>>2]=v[e+64>>2];if(c>>>0>=2){continue}break h}}Ea[g|0](v[a+4>>2],c,d-c|0)}c=0}i:{if(v[a+228>>2]){break i}j:{d=v[e+52>>2];if(d){g=v[d+64>>2];f=v[a+144>>2];if((d|0)==(f|0)|(g|0)!=2?(g|0)==v[f+64>>2]:0){break j}v[a+284>>2]=v[e+56>>2];f=19;break a}d=v[e+56>>2];if(!d){break i}k:{if(b){break k}b=v[a+144>>2];b=_s(a+436|0,b,d,(Ea[v[b+28>>2]](b,d)|0)+d|0);if(b){break k}f=1;break a}f=18;c=v[a+124>>2];l:{if(!c){break l}Ra(e- -64|0,255,1024);v[e+1096>>2]=0;v[e+1088>>2]=0;v[e+1092>>2]=0;m:{if(!(Ea[c|0](v[a+244>>2],b,e- -64|0)|0)){break m}b=Ea[v[a+12>>2]](1908)|0;v[a+236>>2]=b;if(!b){f=1;b=v[e+1096>>2];if(!b){break l}Ea[b|0](v[e+1088>>2]);break l}b=Ea[(w[a+232|0]?988:989)|0](b,e- -64|0,v[e+1092>>2],v[e+1088>>2])|0;if(!b){break m}v[a+240>>2]=v[e+1088>>2];c=v[e+1096>>2];v[a+144>>2]=b;v[a+248>>2]=c;f=0;break l}b=v[e+1096>>2];if(!b){break l}Ea[b|0](v[e+1088>>2])}d=v[a+436>>2];b=v[a+440>>2];n:{if(!b){v[a+440>>2]=d;break n}if(!d){break n}while(1){c=v[d>>2];v[d>>2]=b;v[a+440>>2]=d;b=d;d=c;if(d){continue}break}}v[a+436>>2]=0;v[a+452>>2]=0;v[a+444>>2]=0;v[a+448>>2]=0;if((f|0)!=18){break a}v[a+284>>2]=v[e+56>>2];f=18;break a}v[a+144>>2]=d}f=0;if(!(b|c)){break a}d=v[a+436>>2];b=v[a+440>>2];o:{if(!b){v[a+440>>2]=d;break o}if(!d){break o}while(1){c=v[d>>2];v[d>>2]=b;v[a+440>>2]=d;b=d;d=c;if(d){continue}break}}v[a+436>>2]=0;v[a+452>>2]=0;v[a+444>>2]=0;v[a+448>>2]=0}Ca=e+1104|0;return f}function sz(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=Ca-16|0;Ca=g;n=v[a+100>>2];v[g+8>>2]=0;c=Ea[v[a+516>>2]](a,1129333068,b,g+4|0)|0;v[g+12>>2]=c;a:{b:{if(c){break b}c=v[g+4>>2];c:{if(c>>>0<12){break c}c=Jc(b,c,g+8|0);v[g+12>>2]=c;if(c){break b}c=v[g+8>>2];l=wb(n,20,g+12|0);if(v[g+12>>2]){break b}e=w[c|0]|w[c+1|0]<<8;f=e<<8|e>>>8;u[l>>1]=f;if((f&65535)>>>0>1){break c}e=w[c+2|0]|w[c+3|0]<<8;h=e<<8|e>>>8;u[a+660>>1]=h;e=w[c+4|0]|w[c+5|0]<<8;e=e<<8|e>>>8;u[a+648>>1]=e;d=w[c+6|0]|w[c+7|0]<<8;j=d<<8|d>>>8;u[l+2>>1]=j;m=e&65535;d=m<<1;e=v[g+4>>2];if(d+12>>>0>e>>>0){break c}i=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);k=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);if(k>>>0>=e>>>0){break c}i=j&65535;if(e-k>>>0<i<<2>>>0|i>>>0<(h&65535)>>>0){break c}c=c+12|0;v[l+8>>2]=c;i=v[g+8>>2];v[l+4>>2]=k+i;d:{if((f&65535)!=1){break d}if(e>>>0<d+24>>>0){break c}c=c+d|0;f=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);k=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c){if(d>>>0>e-c>>>0|c>>>0>=e>>>0){break c}e=Ua(n,2,0,m,0,g+12|0);if(v[g+12>>2]){break b}i=v[g+8>>2];h=x[a+648>>1]<<1;j=h+e|0;e:{if(j>>>0<=e>>>0){break e}d=c+i|0;m=h-1|0;h=(m>>>1|0)+1&3;f:{if(!h){c=e;break f}c=e;while(1){o=w[d|0]|w[d+1|0]<<8;u[c>>1]=o<<8|o>>>8;c=c+2|0;d=d+2|0;h=h-1|0;if(h){continue}break}}if(m>>>0<6){break e}while(1){h=w[d|0]|w[d+1|0]<<8;u[c>>1]=h<<8|h>>>8;h=w[d+2|0]|w[d+3|0]<<8;u[c+2>>1]=h<<8|h>>>8;h=w[d+4|0]|w[d+5|0]<<8;u[c+4>>1]=h<<8|h>>>8;h=w[d+6|0]|w[d+7|0]<<8;u[c+6>>1]=h<<8|h>>>8;d=d+8|0;c=c+8|0;if(j>>>0>c>>>0){continue}break}}v[a+656>>2]=e}c=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);if(c){e=v[g+4>>2];if(e>>>0<=c>>>0){break c}o=e-c|0;e=x[a+648>>1];if(o>>>0<e<<1>>>0){break c}e=Ua(n,2,0,e,0,g+12|0);if(v[g+12>>2]){break b}i=v[g+8>>2];f=x[a+648>>1]<<1;h=f+e|0;g:{if(h>>>0<=e>>>0){break g}d=c+i|0;j=f-1|0;f=(j>>>1|0)+1&3;h:{if(!f){c=e;break h}c=e;while(1){m=w[d|0]|w[d+1|0]<<8;u[c>>1]=m<<8|m>>>8;c=c+2|0;d=d+2|0;f=f-1|0;if(f){continue}break}}if(j>>>0<6){break g}while(1){f=w[d|0]|w[d+1|0]<<8;u[c>>1]=f<<8|f>>>8;f=w[d+2|0]|w[d+3|0]<<8;u[c+2>>1]=f<<8|f>>>8;f=w[d+4|0]|w[d+5|0]<<8;u[c+4>>1]=f<<8|f>>>8;f=w[d+6|0]|w[d+7|0]<<8;u[c+6>>1]=f<<8|f>>>8;d=d+8|0;c=c+8|0;if(h>>>0>c>>>0){continue}break}}v[a+652>>2]=e}c=k<<8&16711680|k<<24|(k>>>8&65280|k>>>24);if(!c){break d}e=v[g+4>>2];if(e>>>0<=c>>>0){break c}o=e-c|0;e=x[a+660>>1];if(o>>>0<e<<1>>>0){break c}e=Ua(n,2,0,e,0,g+12|0);if(v[g+12>>2]){break b}i=v[g+8>>2];f=x[a+660>>1]<<1;k=f+e|0;i:{if(k>>>0<=e>>>0){break i}d=c+i|0;h=f-1|0;f=(h>>>1|0)+1&3;j:{if(!f){c=e;break j}c=e;while(1){j=w[d|0]|w[d+1|0]<<8;u[c>>1]=j<<8|j>>>8;c=c+2|0;d=d+2|0;f=f-1|0;if(f){continue}break}}if(h>>>0<6){break i}while(1){f=w[d|0]|w[d+1|0]<<8;u[c>>1]=f<<8|f>>>8;f=w[d+2|0]|w[d+3|0]<<8;u[c+2>>1]=f<<8|f>>>8;f=w[d+4|0]|w[d+5|0]<<8;u[c+4>>1]=f<<8|f>>>8;f=w[d+6|0]|w[d+7|0]<<8;u[c+6>>1]=f<<8|f>>>8;d=d+8|0;c=c+8|0;if(k>>>0>c>>>0){continue}break}}v[a+664>>2]=e}v[l+12>>2]=i;v[l+16>>2]=v[g+4>>2];v[a+868>>2]=l;d=0;p=a,q=Ua(n,4,0,x[a+660>>1],0,g+12|0),v[p+672>>2]=q;if(v[g+12>>2]){break b}if(!Yp(a,0)){break a}}v[g+12>>2]=8}Qb(b,g+8|0);if(l){Ea[v[n+8>>2]](n,l)}v[a+868>>2]=0;d=v[g+12>>2]}Ca=g+16|0;return d|0}function Pe(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;i=a;k=b;d=v[b>>2];a:{if((d|0)==-1){b=0;b:{c:{c=v[i+40>>2];if(c){f=v[i+28>>2];while(1){a=280448;g=b>>>0>=f>>>0;d=v[(g?280448:v[i+32>>2]+(b<<3)|0)+4>>2];if(d>>>0<c>>>0){a=v[i+44>>2]+(d<<6)|0}d:{e:{if(v[a>>2]|v[a+4>>2]|(v[a+8>>2]|v[a+12>>2])|(v[a+16>>2]|v[a+20>>2]|(v[a+24>>2]|v[a+28>>2]))){break e}if(v[a+32>>2]|v[a+36>>2]|(v[a+40>>2]|v[a+44>>2])|(v[a+48>>2]|v[a+52>>2])){break e}if(!(v[a+56>>2]|v[a+60>>2])){break d}}a=280448;f:{if(g){b=280448;d=280448;break f}b=v[i+32>>2]+(b<<3)|0;d=b}b=v[b>>2];f=c;c=v[d+4>>2];if(f>>>0>c>>>0){a=v[i+44>>2]+(c<<6)|0}d=b<<9;b=0;e=v[a>>2];c=v[a+4>>2];if(e|c){break c}b=64;e=v[a+8>>2];c=v[a+12>>2];if(e|c){break c}b=128;e=v[a+16>>2];c=v[a+20>>2];if(e|c){break c}b=192;f=v[a+28>>2];c=f;e=v[a+24>>2];if(e|c){break c}b=256;e=v[a+32>>2];c=v[a+36>>2];if(e|c){break c}b=320;e=v[a+40>>2];c=v[a+44>>2];if(e|c){break c}b=384;f=v[a+52>>2];c=f;e=v[a+48>>2];if(e|c){break c}b=448;e=v[a+56>>2];c=v[a+60>>2];if(e|c){break c}a=d-1|0;break b}b=b+1|0;if((c|0)!=(b|0)){continue}break}}a=-1;break b}a=d+(dQ(e,c)|b)|0}v[k>>2]=a;a=(a|0)!=-1;break a}g:{h:{a=v[i+28>>2];g=v[i+20>>2];c=d>>>9|0;l=v[i+32>>2];i:{j:{if(!(a>>>0<=g>>>0|(c|0)!=v[l+(g<<3)>>2])){h=v[i+44>>2];break j}k:{if((a|0)<1){g=0;break k}h=a-1|0;g=0;while(1){b=g+h>>>1|0;f=c-v[(b<<3)+l>>2]|0;l:{if((f|0)<=-1){h=b-1|0;break l}if(!f){g=b;break k}g=b+1|0}if((g|0)<=(h|0)){continue}break}}if(a>>>0<=g>>>0){v[k>>2]=-1;a=0;break a}h=v[i+44>>2];if((c|0)!=v[(g<<3)+l>>2]){break i}}m:{n:{c=d+1|0;a=c&511;if(!a){break n}m=(g<<3)+l|0;j=v[m+4>>2];a=a>>>6|0;b=((j<<6)+h|0)+(a<<3)|0;d=v[b>>2];f=v[b+4>>2];e=d;d=c&63;b=d&31;if((d&63)>>>0>=32){d=-1<<b;b=0}else{d=(1<<b)-1&-1>>>32-b|-1<<b;b=-1<<b}b=e&b;d=d&f;f=d;if(b|d){b=dQ(b,f)|c&448;v[k>>2]=b;break h}b=a+1|0;if((b|0)==8){break n}d=((j<<6)+h|0)+(b<<3)|0;c=v[d+4>>2];e=v[d>>2];o:{if(c|e){break o}d=a+2|0;if((d|0)==8){break n}f=((j<<6)+h|0)+(d<<3)|0;c=v[f+4>>2];e=v[f>>2];if(c|e){a=b;b=d;break o}b=a+3|0;if((b|0)==8){break n}f=((j<<6)+h|0)+(b<<3)|0;c=v[f+4>>2];e=v[f>>2];if(c|e){a=d;break o}d=a+4|0;if((d|0)==8){break n}f=((j<<6)+h|0)+(d<<3)|0;c=v[f+4>>2];e=v[f>>2];if(c|e){a=b;b=d;break o}b=a+5|0;if((b|0)==8){break n}f=((j<<6)+h|0)+(b<<3)|0;c=v[f+4>>2];e=v[f>>2];if(c|e){a=d;break o}d=a+6|0;if((d|0)==8){break n}f=((j<<6)+h|0)+(d<<3)|0;c=v[f+4>>2];e=v[f>>2];if(c|e){a=b;b=d;break o}f=a+7|0;if((f|0)==8){break n}b=((j<<6)+h|0)+(f<<3)|0;c=v[b+4>>2];e=v[b>>2];if(c|e){a=d;b=f;break o}b=a|8;if((b|0)==8){break n}a=((j<<6)+h|0)+(b<<3)|0;e=v[a>>2];c=v[a+4>>2];a=f}b=dQ(e,c)|b<<6;v[k>>2]=b;if(a>>>0<7){break h}break m}v[k>>2]=-1}g=g+1|0;a=v[i+28>>2]}if(a>>>0>g>>>0){while(1){p:{b=(v[((g<<3)+l|0)+4>>2]<<6)+h|0;c=v[b+4>>2];e=v[b>>2];d=0;q:{if(c|e){break q}e=v[b+8>>2];c=v[b+12>>2];d=64;if(e|c){break q}e=v[b+16>>2];c=v[b+20>>2];d=128;if(e|c){break q}e=v[b+24>>2];c=v[b+28>>2];d=192;if(e|c){break q}e=v[b+32>>2];c=v[b+36>>2];d=256;if(e|c){break q}e=v[b+40>>2];c=v[b+44>>2];d=320;if(e|c){break q}e=v[b+48>>2];c=v[b+52>>2];d=384;if(e|c){break q}e=v[b+56>>2];c=v[b+60>>2];if(!(e|c)){break p}d=448}n=k,o=dQ(e,c)|d|v[(g<<3)+l>>2]<<9,v[n>>2]=o;break g}g=g+1|0;if((g|0)!=(a|0)){continue}break}}v[i+20>>2]=0;v[k>>2]=-1;a=0;break a}v[k>>2]=(v[m>>2]<<9)+b}v[i+20>>2]=g;a=1}return a}function Jr(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,w=0,x=0,y=0,z=0,A=0,C=0,D=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;if(!a){return}t=(c|0)/2|0;w=(b|0)/2|0;a:{if(c+1>>>0<3?b+1>>>0<=2:0){break a}x=pi(a);if((x|0)==2){return}G=u[a>>1];if((G|0)<1){break a}c=(c|0)<-1;y=c?0-t|0:t;Q=y>>>16|0;H=y&65535;b=(b|0)<-1;z=b?0-w|0:w;R=z>>>16|0;I=z&65535;J=c?-1:1;S=0-J|0;K=b?-1:1;T=0-K|0;D=v[a+4>>2];U=v[a+12>>2];while(1){r=u[(F<<1)+U>>1];b:{if((A|0)==(r|0)|(r|0)==-1){break b}C=-1;c=A;a=r;L=0;k=0;M=0;N=0;h=0;e=0;while(1){o=N;g=M;b=L;c:{d:{if((c|0)==(C|0)){break d}g=(c<<3)+D|0;f=(a<<3)+D|0;o=v[g+4>>2]-v[f+4>>2]|0;b=o>>31;b=b^b+o;g=v[g>>2]-v[f>>2]|0;f=g>>31;f=f^f+g;if(!f){if(!b){break c}o=(o|0)<0?-65536:65536;break d}l=(g|0)<0;if(!b){g=l?-65536:65536;b=f;break d}g=b>>>0<f>>>0?f+(b>>>1|0)|0:(f>>>1|0)+b|0;d=E(g);d=(-1431655766>>>d>>>0>g>>>0?-15:-16)+d|0;m=(d|0)<1;e:{if(!m){f=f<<d;j=b<<d;g=f>>>0>j>>>0?f+(j>>>1|0)|0:(f>>>1|0)+j|0;break e}i=0-d|0;g=g>>>i|0;j=b>>>i|0;f=f>>>i|0}b=65536-g|0;while(1){g=(B(b,f)>>16)+f|0;i=(B(b,j)>>16)+j|0;n=B((B(g,g)+B(i,i)|0)/-512|0,b+65536>>8);b=((n|0)/65536|0)+b|0;if((n|0)>65535){continue}break}b=((B(f,g)+B(j,i)|0)/65536|0)+65536|0;b=m?b<<0-d:b+(1<<d-1)>>>d|0;if(!b){break c}o=(o|0)<0?0-i|0:i;g=l?0-g|0:g}f:{if(!k){break f}if((C|0)<=-1){M=h;C=a;N=e;L=k}s=(h|0)<0;l=s?-1:1;O=(e|0)<0;q=O?-1:1;f=0;d=g>>31;j=d+g^d;d=h>>31;i=d+h^d;g:{if((j>>>8|0)+i>>>0<=8190){d=B(j,i)+32768>>>16|0;break g}d=i&65535;d=B(d,j>>>16|0)+B(j,i>>>16|0)+(B(d,j&65535)+32768>>>16)|0}p=(g|0)<0;n=((p?0-l|0:l)|0)<0?0-d|0:d;d=o>>31;l=d+o^d;d=e>>31;m=d+e^d;h:{if((l>>>8|0)+m>>>0<=8190){d=B(l,m)+32768>>>16|0;break h}d=m&65535;d=B(d,l>>>16|0)+B(l,m>>>16|0)+(B(d,l&65535)+32768>>>16)|0}q=n+((((o|0)<0?0-q|0:q)|0)<0?0-d|0:d)|0;n=0;i:{if((q|0)<-61439){break i}f=p?-1:1;p=(o|0)<0?-1:1;d=q+65536|0;n=(b|0)>(k|0)?k:b;e=e+o|0;P=x?e:0-e|0;if(j+(m>>>8|0)>>>0<=8190){e=B(j,m)+32768>>>16|0}else{e=j&65535;e=B(e,m>>>16|0)+B(m,j>>>16|0)+(B(e,m&65535)+32768>>>16)|0}f=((O?0-f|0:f)|0)<0?0-e|0:e;if(l+(i>>>8|0)>>>0<=8190){e=B(i,l)+32768>>>16|0}else{e=l&65535;e=B(e,i>>>16|0)+B(i,l>>>16|0)+(B(e,i&65535)+32768>>>16)|0}e=f+(((s?0-p|0:p)|0)<0?e:0-e|0)|0;j=x?e:0-e|0;e=j>>31;e=e^e+j;l=e>>>8|0;j:{if(l+z>>>0<=8190){k=B(e,z)+32768>>>16|0;break j}k=B(e>>>16|0,I)+B(e,R)+(B(e&65535,I)+32768>>>16)|0}m=(j|0)<0;i=((m?T:K)|0)<0?0-k|0:k;k=n>>31;k=k+n^k;p=k+(d>>>8|0)>>>0>8190;k:{if(!p){f=B(d,k)+32768>>>16|0;break k}f=k&65535;f=B(f,d>>>16|0)+B(d,k>>>16|0)+(B(f,q&65535)+32768>>>16)|0}s=(n|0)<0;l:{if((i|0)<=((s?0-f|0:f)|0)){f=fb(P,w,d);break l}f=fb(P,n,j)}h=g+h|0;i=x?0-h|0:h;h=l+y>>>0<=8190?B(e,y)+32768>>>16|0:B(e>>>16|0,H)+B(e,Q)+(B(e&65535,H)+32768>>>16)|0;e=((m?S:J)|0)<0?0-h|0:h;if(p){h=k&65535;h=B(h,d>>>16|0)+B(d,k>>>16|0)+(B(h,q&65535)+32768>>>16)|0}else{h=B(d,k)+32768>>>16|0}if((e|0)<=((s?0-h|0:h)|0)){n=fb(i,t,d);break i}n=fb(i,n,j)}if((a|0)==(c|0)){break f}e=n+t|0;k=f+w|0;while(1){h=(a<<3)+D|0;v[h>>2]=k+v[h>>2];v[h+4>>2]=e+v[h+4>>2];a=(a|0)<(r|0)?a+1|0:A;if((c|0)!=(a|0)){continue}break}}e=o;h=g;k=b;a=c}c=(c|0)<(r|0)?c+1|0:A;if((c|0)==(a|0)){break b}if((a|0)!=(C|0)){continue}break}}A=r+1|0;F=F+1|0;if((G|0)!=(F|0)){continue}break}}}function on(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=v[a>>2];if(!b){break a}b:{c:{if((b|0)>0){v[a>>2]=b-1;if((b|0)!=1){break a}v[a>>2]=-57005;e=v[a+8>>2];if(e){c=v[e+8>>2];if(c){while(1){c=c-1|0;b=v[e+12>>2]+B(c,12)|0;d=v[b+8>>2];b=v[b+4>>2];v[e+8>>2]=c;if(d){Ea[d|0](b);c=v[e+8>>2]}if(c){continue}break}}Pa(v[e+12>>2]);Pa(e)}c=v[a+200>>2];if(c){break c}break b}O(280363,280388,272,280423);L()}while(1){b=v[c+4>>2];pn(v[c>>2]);Pa(c);c=b;if(b){continue}break}}b=v[a+52>>2];if(!(!b|(b|0)==280448)){Sa(b)}c=v[a+56>>2];if(!(!c|(c|0)==280448)){b=v[c+44>>2];Sa(b?b:280448);Pa(c)}b=v[a+60>>2];if(!(!b|(b|0)==280448)){Sa(b)}c=v[a+64>>2];if(!(!c|(c|0)==280448)){b=v[c+12>>2];Sa(b?b:280448);v[c+12>>2]=0;b=v[c+16>>2];Sa(b?b:280448);Pa(c)}b=v[a+68>>2];if(!(!b|(b|0)==280448)){Sa(b)}c=v[a+72>>2];if(!(!c|(c|0)==280448)){Pa(v[c+20>>2]);v[c+20>>2]=0;v[c+12>>2]=0;v[c+16>>2]=0;Pa(v[c+28>>2]);b=v[c>>2];Sa(b?b:280448);Pa(c)}c=v[a+76>>2];if(!(!c|(c|0)==280448)){Pa(v[c+20>>2]);v[c+20>>2]=0;v[c+12>>2]=0;v[c+16>>2]=0;b=v[c+8>>2];Sa(b?b:280448);Pa(c)}b=v[a+80>>2];if(!(!b|(b|0)==280448)){Sa(b)}c=v[a+84>>2];if(!(!c|(c|0)==280448)){b=v[c>>2];Sa(b?b:280448);Pa(c)}b=v[a+88>>2];if(!(!b|(b|0)==280448)){Sa(b)}c=v[a+92>>2];if(!(!c|(c|0)==280448)){b=v[c+12>>2];Sa(b?b:280448);v[c+12>>2]=0;b=v[c+16>>2];Sa(b?b:280448);Pa(c)}c=v[a+96>>2];if(!(!c|(c|0)==280448)){b=v[c+20>>2];Sa(b?b:280448);v[c+20>>2]=0;b=v[c+24>>2];Sa(b?b:280448);Pa(c)}b=v[a+100>>2];if(!(!b|(b|0)==280448)){Pa(v[b+224>>2]);v[b+224>>2]=0;v[b+216>>2]=0;v[b+220>>2]=0;oc(b);Pa(b)}b=v[a+104>>2];if(!(!b|(b|0)==280448)){Xd(b);Pa(b)}b=v[a+108>>2];if(!(!b|(b|0)==280448)){Sa(b)}b=v[a+112>>2];if(!(!b|(b|0)==280448)){Sa(b)}b=v[a+116>>2];if(!(!b|(b|0)==280448)){Sa(b)}c=v[a+120>>2];if(!(!c|(c|0)==280448)){b=v[c>>2];Sa(b?b:280448);Pa(c)}b=v[a+124>>2];if(!(!b|(b|0)==280448)){Sa(b)}b=v[a+128>>2];if(!(!b|(b|0)==280448)){Sa(b)}c=v[a+132>>2];if(!(!c|(c|0)==280448)){b=v[c>>2];Sa(b?b:280448);Pa(c)}c=v[a+136>>2];if(!(!c|(c|0)==280448)){if(v[c+4>>2]){d=0;while(1){b=v[c+8>>2]+B(d,24)|0;Pa(v[b+20>>2]);v[b+20>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;d=d+1|0;if(d>>>0<y[c+4>>2]){continue}break}}Pa(v[c+8>>2]);b=v[c>>2];Sa(b?b:280448);Pa(c)}c=v[a+140>>2];if(!(!c|(c|0)==280448)){if(v[c+4>>2]){d=0;while(1){b=v[c+8>>2]+B(d,24)|0;Pa(v[b+20>>2]);v[b+20>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;d=d+1|0;if(d>>>0<y[c+4>>2]){continue}break}}Pa(v[c+8>>2]);b=v[c>>2];Sa(b?b:280448);Pa(c)}b=v[a+144>>2];if(!(!b|(b|0)==280448)){Sa(b)}b=v[a+148>>2];if(!(!b|(b|0)==280448)){Sa(b)}b=v[a+152>>2];if(!(!b|(b|0)==280448)){Sa(b)}b=v[a+156>>2];if(!(!b|(b|0)==280448)){Sa(b)}b=v[a+160>>2];if(!(!b|(b|0)==280448)){Sa(b)}b=v[a+164>>2];if(!(!b|(b|0)==280448)){Sa(b)}b=v[a+168>>2];if(!(!b|(b|0)==280448)){Sa(b)}b=v[a+172>>2];if(!(!b|(b|0)==280448)){Sa(b)}b=v[a+176>>2];if(!(!b|(b|0)==280448)){Sa(b)}b=v[a+180>>2];if(!(!b|(b|0)==280448)){Sa(b)}c=v[a+184>>2];if(!(!c|(c|0)==280448)){b=v[c>>2];Sa(b?b:280448);v[c>>2]=0;b=v[c+4>>2];Sa(b?b:280448);Pa(c)}c=v[a+188>>2];if(!(!c|(c|0)==280448)){b=v[c>>2];Sa(b?b:280448);Pa(c)}c=v[a+192>>2];if(!(!c|(c|0)==280448)){b=v[c>>2];Sa(b?b:280448);Pa(c)}b=v[a+196>>2];if(!(!b|(b|0)==280448)){Sa(b)}b=v[a+20>>2];if(b){Ea[b|0](v[a+16>>2])}Pa(a)}}function mc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Ca-16|0;Ca=i;h=v[a>>2];a:{b:{f=v[a+4>>2];c:{if(!f){f=0;break c}if(v[a+40>>2]){break c}e=f<<1;if((e|0)<0){d=6;break b}if(e){d=10;if((e|0)>268435455){break b}f=f<<4;d=Ea[v[h+4>>2]](h,f)|0;if(!d){d=64;break b}Ra(d,0,f);f=v[a+4>>2]}t[a+16|0]=1;v[a+40>>2]=d;j=(f<<3)+d|0;v[a+44>>2]=j;e=a;g=v[a+24>>2];if(g){g=(u[a+22>>1]<<3)+g|0}else{g=0}v[e+60>>2]=g;g=a- -64|0;e=v[a+28>>2];if(e){e=e+u[a+22>>1]|0}else{e=0}v[g>>2]=e;e=a;g=v[a+32>>2];if(g){g=g+(u[a+20>>1]<<1)|0}else{g=0}v[e+68>>2]=g;e=u[a+22>>1]<<3;v[a+80>>2]=e+j;v[a+76>>2]=d+e}d:{e:{f:{b=u[a+58>>1]+(u[a+22>>1]+b|0)|0;j=b>>>0<=f>>>0;g:{if(j){b=f;break g}d=10;b=b+7&-8;if(b>>>0>32767){break a}e=v[a+24>>2];if((f|0)<0){break f}h:{i:{j:{if(!b){if(e){Ea[v[h+8>>2]](h,e)}e=0;v[a+24>>2]=0;g=a+28|0;d=v[g>>2];if(!d){break j}Ea[v[h+8>>2]](h,d);break j}k:{l:{m:{if(!f){e=Ea[v[h+4>>2]](h,b<<3)|0;d=!e<<6;break m}d=Ea[v[h+12>>2]](h,f<<3,b<<3,e)|0;e=d?d:e;d=!d<<6}if(!(d|!e)){if((b|0)>(f|0)){break l}}v[a+24>>2]=e;if(!d){break k}break e}Ra((f<<3)+e|0,0,b-f<<3);v[a+24>>2]=e}g=a+28|0;n:{if(!f){e=Ea[v[h+4>>2]](h,b)|0;d=!e<<6;break n}e=v[a+28>>2];d=Ea[v[h+12>>2]](h,f,b,e)|0;e=d?d:e;d=!d<<6}if(d|!e|(b|0)<=(f|0)){break i}Ra(e+f|0,0,b-f|0)}v[i+12>>2]=0;v[g>>2]=e;break h}v[i+12>>2]=d;v[a+28>>2]=e;if(d){break e}}if(w[a+16|0]){e=Ua(h,8,f<<1,b<<1,v[a+40>>2],i+12|0);v[a+40>>2]=e;d=v[i+12>>2];if(d){break e}d=b<<3;f=f<<3;mb(d+e|0,f+e|0,f);v[a+44>>2]=d+v[a+40>>2]}v[a+4>>2]=b}if(!(v[a+40>>2]|!b)){f=0;e=b<<1;if((e|0)<0){d=6;break d}if(e){d=10;if((e|0)>268435455){break d}d=v[a>>2];b=b<<4;f=Ea[v[d+4>>2]](d,b)|0;if(!f){d=64;break d}Ra(f,0,b);b=v[a+4>>2]}t[a+16|0]=1;v[a+40>>2]=f;e=(b<<3)+f|0;v[a+44>>2]=e;b=a;d=v[a+24>>2];if(d){d=d+(u[a+22>>1]<<3)|0}else{d=0}v[b+60>>2]=d;d=a- -64|0;b=v[a+28>>2];if(b){b=b+u[a+22>>1]|0}else{b=0}v[d>>2]=b;b=a;d=v[a+32>>2];if(d){d=d+(u[a+20>>1]<<1)|0}else{d=0}v[b+68>>2]=d;b=u[a+22>>1]<<3;v[a+80>>2]=b+e;v[a+76>>2]=b+f}d=0;v[i+12>>2]=0;b=u[a+56>>1]+(u[a+20>>1]+c|0)|0;c=v[a+8>>2];o:{if(b>>>0>c>>>0){d=10;b=b+3&-4;if(b>>>0>32767){break a}k=a,l=Ua(h,2,c,b,v[a+32>>2],i+12|0),v[k+32>>2]=l;d=v[i+12>>2];if(d){break e}v[a+8>>2]=b;break o}if(j){break a}}d=0;b=a;c=v[a+24>>2];if(c){c=c+(u[a+22>>1]<<3)|0}else{c=0}v[b+60>>2]=c;c=a- -64|0;b=v[a+28>>2];if(b){b=b+u[a+22>>1]|0}else{b=0}v[c>>2]=b;b=a;c=v[a+32>>2];if(c){c=c+(u[a+20>>1]<<1)|0}else{c=0}v[b+68>>2]=c;if(!w[a+16|0]){break a}b=u[a+22>>1]<<3;v[a+76>>2]=b+v[a+40>>2];v[a+80>>2]=b+v[a+44>>2];break a}d=6;v[i+12>>2]=6;v[a+24>>2]=e}b=v[a>>2];c=v[a+24>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+24>>2]=0;c=v[a+28>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+28>>2]=0;c=v[a+32>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+32>>2]=0;c=v[a+40>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+40>>2]=0;c=v[a+52>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+20>>2]=0;v[a+36>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+88>>2]=0;b=v[a+24>>2];v[a+56>>2]=v[a+20>>2];v[a+60>>2]=b;c=v[a+32>>2];b=a- -64|0;v[b>>2]=v[a+28>>2];v[b+4>>2]=c;b=v[a+40>>2];v[a+72>>2]=v[a+36>>2];v[a+76>>2]=b;b=v[a+48>>2];v[a+80>>2]=v[a+44>>2];v[a+84>>2]=b;break a}v[a+40>>2]=0;v[i+12>>2]=d;break a}v[a+40>>2]=0;v[i+12>>2]=d}Ca=i+16|0;return d}function ho(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;h=Ca-272|0;Ca=h;a:{b:{c:{i=w[a+3|0]|w[a+2|0]<<8;switch(i|0){case 0:break a;case 1:break c;default:break b}}jf(b,w[a+1|0]|w[a|0]<<8);m=1;break a}v[h+268>>2]=0;v[h+264>>2]=0;m=Lf(b,i,i>>>0<2?280448:a+4|0,451,0,h+264|0,h,h+268|0);if(!m){break a}j=w[a+1|0]|w[a|0]<<8;f=v[h+268>>2];e=b;d=v[e+100>>2];b=v[h+264>>2];if(b>>>0>=2){a=v[d+72>>2];rc(d,a,a+b|0)}c=1;g=v[d+88>>2];b=x[(g+B(v[h>>2],20)|0)+12>>1];d:{e:{if(i>>>0>1){while(1){o=1;if(!(w[(g+B(v[(c<<2)+h>>2],20)|0)+12|0]&8)){break e}c=c+1|0;if((i|0)!=(c|0)){continue}break}}o=!(b&8);a=0;if(b&10){break d}}c=v[d+100>>2];while(1){a=c;c=c+1|0;if(!(a&7)){continue}break}v[d+100>>2]=c;n=a<<5&224;p=1;a=4}c=g+B(v[d+72>>2],20)|0;g=w[c+14|0];b=w[c+12|0]&4?g&16?g&15:1:1;f:{if(!p){break f}t[c+14|0]=f&15|n|16;f=v[d+88>>2]+B(v[d+72>>2],20)|0;c=x[f+16>>1];if((c&31)!=12){break f}u[f+16>>1]=c&224|7}f=v[e+100>>2];c=B(v[f+72>>2],20)+v[f+88>>2]|0;g:{h:{if(w[e+140|0]){i:{j:{k:{l:{a=v[e+108>>2];switch(pe(a,j)-1|0){case 2:break i;case 1:break j;case 0:break k;default:break l}}a=48;break h}a=50;break h}a=52;break h}a=oe(a,j)<<8|56;break h}if(!a){break g}a=a|48}u[c+12>>1]=a;f=v[e+100>>2]}m:{n:{if(cb(f,1,1)){a=v[f+76>>2];c=v[f+72>>2];if(a>>>0<c+1>>>0){break n}o:{if(a>>>0>c>>>0){e=v[f+80>>2];a=v[f+92>>2];c=v[f+88>>2]+B(c,20)|0;break o}a=v[f+92>>2];e=v[f+80>>2];c=a+B(e?e-1|0:0,20)|0}e=B(e,20)+a|0;a=v[c+4>>2];v[e>>2]=v[c>>2];v[e+4>>2]=a;v[e+16>>2]=v[c+16>>2];a=v[c+12>>2];v[e+8>>2]=v[c+8>>2];v[e+12>>2]=a;v[e>>2]=j;v[f+72>>2]=v[f+72>>2]+1;v[f+80>>2]=v[f+80>>2]+1}break m}O(230083,229896,223,230103);L()}e=0-b|0;p:{if(i>>>0<2){a=b;break p}c=v[d+72>>2];l=1;a=b;while(1){j=(l<<2)+h|0;q:{if(y[j>>2]<=c>>>0){break q}if(p){f=b+e|0;while(1){if(!w[d+68|0]){break q}e=v[d+88>>2]+B(c,20)|0;c=w[e+14|0];c=c&16?0:c&15;c=c?c:a;t[e+14|0]=f+(a>>>0<c>>>0?a:c)&15|n;r:{if(w[d+69|0]){s:{if(v[d+92>>2]==v[d+88>>2]){c=v[d+80>>2];if((c|0)==v[d+72>>2]){break s}}if(!cb(d,1,1)){c=v[d+72>>2];break r}k=v[d+88>>2]+B(v[d+72>>2],20)|0;c=v[k+4>>2];g=v[d+92>>2]+B(v[d+80>>2],20)|0;e=g;v[e>>2]=v[k>>2];v[e+4>>2]=c;v[e+16>>2]=v[k+16>>2];c=v[k+12>>2];v[e+8>>2]=v[k+8>>2];v[e+12>>2]=c;c=v[d+80>>2]}v[d+80>>2]=c+1}c=v[d+72>>2]+1|0;v[d+72>>2]=c}if(y[j>>2]>c>>>0){continue}break}break q}if(!w[d+68|0]){break q}while(1){t:{if(w[d+69|0]){a=d;u:{if(v[d+92>>2]==v[d+88>>2]){e=c;if(v[d+80>>2]==(c|0)){break u}}if(!cb(d,1,1)){c=v[d+72>>2];break t}e=v[d+88>>2]+B(v[d+72>>2],20)|0;c=v[e+4>>2];f=v[d+92>>2]+B(v[d+80>>2],20)|0;v[f>>2]=v[e>>2];v[f+4>>2]=c;v[f+16>>2]=v[e+16>>2];c=v[e+12>>2];v[f+8>>2]=v[e+8>>2];v[f+12>>2]=c;c=v[d+72>>2];e=v[d+80>>2]}v[a+80>>2]=e+1}c=c+1|0;v[d+72>>2]=c}if(y[j>>2]<=c>>>0){break q}if(w[d+68|0]){continue}break}}e=v[d+88>>2]+B(c,20)|0;a=x[e+12>>1];g=w[e+14|0];c=c+1|0;v[d+72>>2]=c;a=a&4?g&16?g&15:1:1;e=0-a|0;b=a+b|0;l=l+1|0;if((l|0)!=(i|0)){continue}break}}f=g>>>5|0;v:{if(!((f|0)!=0&o)){break v}c=v[d+72>>2];if(c>>>0>=y[d+76>>2]){break v}e=b+e|0;while(1){b=v[d+88>>2]+B(c,20)|0;g=w[b+14|0];if((f|0)!=(g>>>5|0)){break v}g=g&16?0:g&15;if(!g){break v}t[b+14|0]=e+(a>>>0<g>>>0?a:g)&15|n;c=c+1|0;if(c>>>0<y[d+76>>2]){continue}break}}}Ca=h+272|0;return m}function ap(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;a:{b:{c:{switch(c-1|0){case 0:c=a;d:{e:{f:{e=w[a|0]|w[a+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break e;case 0:break f;default:break b}}a=w[a+3|0]|w[a+2|0]<<8;break d}a=w[a+3|0]|w[a+2|0]<<8}gc(a?c+a|0:280448,v[b+12>>2]);return;case 1:g:{h:{i:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break h;case 0:break i;default:break g}}c=w[a+3|0]|w[a+2|0]<<8;if(!gc(c?c+a|0:280448,v[b+12>>2])){break g}d=w[a+9|0];f=w[a+8|0];n=d|f<<8;if(!n){break g}g=a+4|0;c=0;while(1){e=(f<<8|d)>>>0>c>>>0?((c<<1)+a|0)+10|0:280448;e=w[e|0]<<8|w[e+1|0];e=e?e+a|0:280448;i=v[b+12>>2];j:{if(w[i+12|0]!=1){break j}j=w[e+1|0]|w[e|0]<<8;if(!j){break j}f=w[g+2|0];h=w[g+3|0];l=w[g|0];m=w[g+1|0];v[i+16>>2]=-1;d=w[e+3|0]|w[e+2|0]<<8;k=ec(i,d);if(!k){break j}l=(iQ(m|l<<8)+iQ(h|f<<8)<<1)+2|0;f=e+2|0;while(1){m=d&-512;o=d+512&-512;while(1){h=(d>>>3&56)+k|0;e=h;p=v[e+4>>2];q=e;r=v[e>>2];h=d&63;d=h&31;if((h&63)>>>0>=32){h=1<<d;d=0}else{h=(1<<d)-1&1>>>32-d;d=1<<d}v[q>>2]=r|d;v[e+4>>2]=h|p;j=j-1|0;if(!j){break j}f=f+l|0;d=w[f|0]<<8|w[f+1|0];if(d>>>0<o>>>0?m>>>0<=d>>>0:0){continue}break}k=ec(i,d);if(k){continue}break}}c=c+1|0;if((n|0)==(c|0)){break g}d=w[a+9|0];f=w[a+8|0];continue}}c=0;d=w[a+3|0]|w[a+2|0]<<8;k:{if(!gc(d?d+a|0:280448,v[b+12>>2])){break k}f=v[b+12>>2];l:{m:{b=a;a=w[a+11|0]|w[a+10|0]<<8;a=a?b+a|0:280448;b=w[a|0]|w[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break l;case 0:break m;default:break k}}g=w[a+5|0];d=w[a+4|0];b=g|d<<8;n:{if(b){while(1){d=(d<<8|g)>>>0>c>>>0?(a+(c<<1)|0)+6|0:280448;o:{if(w[d|0]<<8|w[d+1|0]){c=c+1|0;break o}p:{if((c|0)==(e|0)){break p}h=e;e=w[a+3|0]|w[a+2|0]<<8;if(Ph(f,h+e|0,c+e|0)){break p}break n}c=c+1|0;e=c}if((b|0)==(c|0)){c=e}else{g=w[a+5|0];d=w[a+4|0];continue}break}}if((b|0)==(c|0)){break n}a=w[a+3|0]|w[a+2|0]<<8;if(Ph(f,a+c|0,a+b|0)){break n}}break k}e=w[a+3|0];d=w[a+2|0];g=e|d<<8;if(!g){break k}q:while(1){e=d<<8|e;while(1){b=c>>>0<e>>>0?(a+B(c,6)|0)+4|0:280840;if(w[b+4|0]<<8|w[b+5|0]){if(!Ph(f,w[b+1|0]|w[b|0]<<8,w[b+3|0]|w[b+2|0]<<8)){break k}c=c+1|0;if((g|0)==(c|0)){break k}e=w[a+3|0];d=w[a+2|0];continue q}c=c+1|0;if((g|0)!=(c|0)){continue}break}break}}}return;case 2:if((w[a+1|0]|w[a|0]<<8)!=1){break b}c=a;a=w[a+3|0]|w[a+2|0]<<8;gc(a?c+a|0:280448,v[b+12>>2]);return;case 3:if((w[a+1|0]|w[a|0]<<8)!=1){break b}c=w[a+3|0]|w[a+2|0]<<8;if(!gc(c?c+a|0:280448,v[b+12>>2])){break b}break a;case 4:if((w[a+1|0]|w[a|0]<<8)!=1){break b}c=w[a+3|0]|w[a+2|0]<<8;if(!gc(c?c+a|0:280448,v[b+12>>2])){break b}break a;case 5:if((w[a+1|0]|w[a|0]<<8)!=1){break b}c=w[a+3|0]|w[a+2|0]<<8;if(!gc(c?c+a|0:280448,v[b+12>>2])){break b}break a;case 6:Ro(a,b);return;case 7:r:{s:{t:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break r;case 1:break s;case 0:break t;default:break b}}Qo(a,b);return}Po(a,b);return}Oo(a,b);return;case 8:break c;default:break b}}if((w[a+1|0]|w[a|0]<<8)==1){c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);ap(c?c+a|0:280448,b,w[a+3|0]|w[a+2|0]<<8)}}return}c=a;a=w[a+5|0]|w[a+4|0]<<8;gc(a?c+a|0:280448,v[b+12>>2])}function No(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,x=0;n=w[a+1|0]|w[a|0]<<8;if(n){d=v[70113];o=d;p=v[70112];x=d;q=a+2|0;while(1){d=w[q+1|0]|w[q|0]<<8;k=d?d+a|0:280448;u=w[k+2|0]<<8|w[k+3|0];e=w[k+1|0]|w[k|0]<<8;a:{if(!e){break a}i=e-1|0;if(!i){break a}m=v[c+4>>2];j=v[b+12>>2];g=v[c>>2];f=k+4|0;d=i&3;if(d){while(1){Ea[g|0](j,f,m);f=f+2|0;i=i-1|0;d=d-1|0;if(d){continue}break}}if(e-2>>>0<3){break a}while(1){Ea[g|0](j,f,m);Ea[g|0](j,f+2|0,m);Ea[g|0](j,f+4|0,m);Ea[g|0](j,f+6|0,m);f=f+8|0;i=i-4|0;if(i){continue}break}}if(u){m=(k+(e?(e<<1)-2|0:0)|0)+4|0;r=0;while(1){b:{if(!v[b+32>>2]|!v[b+24>>2]|v[b+20>>2]==280448){break b}d=m+(r<<2)|0;e=w[d+2|0];k=w[d+3|0];s=k|e<<8;t=e>>>1|0;l=v[b+28>>2];d=v[l+28>>2];c:{if((d|0)<1){break c}g=v[l+32>>2];i=d-1|0;f=0;while(1){d:{j=f+i>>>1|0;e=g+(j<<3)|0;d=t-v[e>>2]|0;e:{if((d|0)<=-1){i=j-1|0;break e}if(!d){break d}f=j+1|0}if((f|0)<=(i|0)){continue}break c}break}e=v[e+4>>2];if(e>>>0>=y[l+40>>2]){d=280448}else{d=v[l+44>>2];if(!d){break c}d=d+(e<<6)|0}e=d+(s>>>3&56)|0;d=v[e>>2];g=v[e+4>>2];e=d;d=k&63;f=d&31;if(((d&63)>>>0>=32?g>>>f|0:((1<<f)-1&g)<<32-f|e>>>f)&1){break b}}d=b;f=v[d+12>>2];g=v[d+8>>2];e=v[d+16>>2];v[d+12>>2]=280448;v[d+16>>2]=280448;v[d+8>>2]=280448;v[d+32>>2]=v[d+32>>2]-1;Ea[v[d+24>>2]](d,s);v[d+16>>2]=e;v[d+8>>2]=g;v[d+12>>2]=f;v[d+32>>2]=v[d+32>>2]+1;h=v[d+28>>2];if(!w[h+12|0]){break b}v[h+16>>2]=-1;g=v[h+40>>2];l=v[h+28>>2];f:{g:{if((l|0)<1){f=0;break g}j=v[h+32>>2];i=l-1|0;f=0;while(1){d=f+i>>>1|0;e=t-v[j+(d<<3)>>2]|0;h:{if((e|0)<=-1){i=d-1|0;break h}if(!e){f=d;break f}f=d+1|0}if((f|0)<=(i|0)){continue}break}}if(!hc(h,g+1|0)){break b}i:{if(g>>>0>=y[h+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=p;v[163917]=o;d=655664;break i}d=v[h+44>>2]+(g<<6)|0}v[d>>2]=0;v[d+4>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;e=f<<3;d=e+v[h+32>>2]|0;mb(d+8|0,d,v[h+28>>2]+(f^-1)<<3);j:{if(y[h+28>>2]<=f>>>0){v[163916]=p;v[163917]=o;e=655664;break j}e=e+v[h+32>>2]|0}v[e>>2]=t;v[e+4>>2]=g;l=v[h+28>>2]}k:{if(f>>>0>=l>>>0){v[163916]=p;v[163917]=o;d=x;break k}d=v[(v[h+32>>2]+(f<<3)|0)+4>>2]}l:{if(d>>>0>=y[h+40>>2]){d=v[70127];v[163930]=v[70126];v[163931]=d;d=v[70125];v[163928]=v[70124];v[163929]=d;d=v[70123];v[163926]=v[70122];v[163927]=d;d=v[70121];v[163924]=v[70120];v[163925]=d;d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;v[163916]=p;v[163917]=o;d=655664;break l}e=v[h+44>>2];if(!e){break b}d=e+(d<<6)|0}e=d+(s>>>3&56)|0;d=e;g=v[d+4>>2];h=d;i=v[d>>2];e=k&63;f=e&31;if((e&63)>>>0>=32){e=1<<f;f=0}else{e=(1<<f)-1&1>>>32-f;f=1<<f}v[h>>2]=i|f;v[d+4>>2]=e|g}r=r+1|0;if((u|0)!=(r|0)){continue}break}}q=q+2|0;n=n-1|0;if(n){continue}break}}}function mt(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;j=Ca-16|0;Ca=j;h=-1;e=c-b|0;a:{if((e|0)<2){break a}b:{c:{d:{e:{f:{g:{h:{l=w[b|0];if(l){switch(l-216|0){case 4:case 5:case 6:case 7:break c;case 39:break e;case 0:case 1:case 2:case 3:break f;default:break h}}f=w[b+1|0];switch(w[(f+a|0)+72|0]-6|0){case 16:case 18:break b;case 23:break d;case 1:break f;case 0:break g;default:break c}}f=w[b+1|0];break d}h=-2;if((e|0)>=3){break c}break a}h=-2;if((e|0)>=4){break c}break a}f=w[b+1|0];if(f>>>0>253){break c}}if(v[(f>>>3&28|w[l+502192|0]<<5)+500176>>2]>>>f&1){break b}}v[d>>2]=b;h=0;break a}i=b+2|0;k=c-i|0;if((k|0)<=1){break a}n=a+72|0;e=i;a=b;while(1){i:{j:{k:{l:{m:{n:{o:{p:{q:{m=w[a+2|0];switch(m-216|0){case 4:case 5:case 6:case 7:break i;case 0:case 1:case 2:case 3:break m;case 39:break o;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break p;default:break q}}if(!m){break n}}g=w[a+3|0];break k}g=w[a+3|0];if(g>>>0>253){break i}break k}r:{s:{g=w[a+3|0];switch(w[n+g|0]-6|0){case 16:case 18:case 19:case 20:case 21:break j;case 23:break k;case 0:break l;case 1:break m;case 3:case 4:case 15:break r;case 9:break s;default:break i}}v[j+12>>2]=11;f=1;t:{if(w[b|0]|(e-b|0)!=6){break t}g=t[b+1|0];if((g|0)==120){g=0}else{if((g|0)!=88){break t}g=1}if(w[b+2|0]){break t}i=t[b+3|0];if((i|0)!=109){if((i|0)!=77){break t}g=1}if(w[b+4|0]){break t}b=t[b+5|0];if((b|0)!=108){if((b|0)!=76){break t}f=0;break t}f=0;if(g){break t}v[j+12>>2]=12;f=1}if(!f){break i}e=a+4|0;if((c-e|0)<2){break a}if(w[a+4|0]|w[a+5|0]!=62){break i}v[d>>2]=a+6;h=v[j+12>>2];break a}g=11;v[j+12>>2]=11;u:{if(l|(e-b|0)!=6){break u}if((f|0)==120){f=0}else{if((f|0)!=88){break u}f=1}if(w[i|0]){break u}i=t[b+3|0];if((i|0)!=109){if((i|0)!=77){break u}f=1}if(w[b+4|0]){break u}b=t[b+5|0];if((b|0)==76){break i}if((b|0)!=108){break u}if(f){break i}g=12;v[j+12>>2]=12}b=a+4|0;e=c-b|0;if((e|0)<2){break a}while(1){a=b;v:{w:{x:{y:{z:{A:{B:{b=w[b|0];switch(b-216|0){case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break w;case 4:case 5:case 6:case 7:break y;case 0:case 1:case 2:case 3:break z;case 39:break B;default:break A}}if(w[a+1|0]<=253){break w}break y}if(b){break w}C:{switch(w[w[a+1|0]+n|0]){case 15:break x;case 0:case 1:case 8:break y;case 7:break z;case 6:break C;default:break w}}if((e|0)<3){h=-2;break a}b=a+3|0;break v}if((e|0)<4){h=-2;break a}b=a+4|0;break v}v[d>>2]=a;h=0;break a}b=a+2|0;if((c-b|0)<2){break a}if(w[b|0]|w[a+3|0]!=62){break v}v[d>>2]=a+4;h=g;break a}b=a+2|0}e=c-b|0;if((e|0)>1){continue}break}break a}h=-2;if((k|0)>=4){break i}break a}h=-2;if((k|0)<3){break a}break i}if(!(v[(g>>>3&28|w[m+502448|0]<<5)+500176>>2]>>>g&1)){break i}}a=e;e=a+2|0;k=c-e|0;if((k|0)>1){continue}break a}break}v[d>>2]=e;h=0}Ca=j+16|0;return h}function qt(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;j=Ca-16|0;Ca=j;g=-1;f=c-b|0;a:{if((f|0)<2){break a}b:{c:{d:{e:{f:{g:{h:{l=w[b+1|0];if(l){switch(l-216|0){case 4:case 5:case 6:case 7:break c;case 39:break e;case 0:case 1:case 2:case 3:break f;default:break h}}i=w[b|0];switch(w[(i+a|0)+72|0]-6|0){case 16:case 18:break b;case 23:break d;case 1:break f;case 0:break g;default:break c}}i=w[b|0];break d}g=-2;if((f|0)>=3){break c}break a}g=-2;if((f|0)>=4){break c}break a}i=w[b|0];if(i>>>0>253){break c}}if(v[(i>>>3&28|w[l+502192|0]<<5)+500176>>2]>>>i&1){break b}}v[d>>2]=b;g=0;break a}h=b+2|0;f=c-h|0;if((f|0)<=1){break a}n=a+72|0;a=h;k=b;while(1){i:{j:{k:{l:{m:{n:{o:{p:{q:{m=w[k+3|0];switch(m-216|0){case 4:case 5:case 6:case 7:break i;case 0:case 1:case 2:case 3:break m;case 39:break o;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break p;default:break q}}if(!m){break n}}e=w[a|0];break k}e=w[a|0];if(e>>>0>253){break i}break k}r:{s:{e=w[a|0];switch(w[n+e|0]-6|0){case 16:case 18:case 19:case 20:case 21:break j;case 23:break k;case 0:break l;case 1:break m;case 3:case 4:case 15:break r;case 9:break s;default:break i}}v[j+12>>2]=11;f=1;t:{if(w[b+1|0]|(a-b|0)!=6){break t}e=t[b|0];if((e|0)==120){e=0}else{if((e|0)!=88){break t}e=1}if(w[b+3|0]){break t}h=t[b+2|0];if((h|0)!=109){if((h|0)!=77){break t}e=1}if(w[b+5|0]){break t}b=t[b+4|0];if((b|0)!=108){if((b|0)!=76){break t}f=0;break t}f=0;if(e){break t}v[j+12>>2]=12;f=1}if(!f){break i}a=k+4|0;if((c-a|0)<2){break a}if(w[k+5|0]|w[k+4|0]!=62){break i}v[d>>2]=k+6;g=v[j+12>>2];break a}f=11;v[j+12>>2]=11;u:{if(l|(a-b|0)!=6){break u}if((i|0)==120){e=0}else{if((i|0)!=88){break u}e=1}if(w[b+3|0]){break u}h=t[h|0];if((h|0)!=109){if((h|0)!=77){break u}e=1}if(w[b+5|0]){break u}b=t[b+4|0];if((b|0)==76){break i}if((b|0)!=108){break u}if(e){break i}f=12;v[j+12>>2]=12}b=k+4|0;e=c-b|0;if((e|0)<2){break a}while(1){a=b;v:{w:{x:{y:{z:{A:{B:{b=w[b+1|0];switch(b-216|0){case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break w;case 4:case 5:case 6:case 7:break y;case 0:case 1:case 2:case 3:break z;case 39:break B;default:break A}}if(w[a|0]<=253){break w}break y}if(b){break w}C:{switch(w[w[a|0]+n|0]){case 15:break x;case 0:case 1:case 8:break y;case 7:break z;case 6:break C;default:break w}}if((e|0)<3){g=-2;break a}b=a+3|0;break v}if((e|0)<4){g=-2;break a}b=a+4|0;break v}v[d>>2]=a;g=0;break a}b=a+2|0;if((c-b|0)<2){break a}if(w[a+3|0]|w[b|0]!=62){break v}v[d>>2]=a+4;g=f;break a}b=a+2|0}e=c-b|0;if((e|0)>1){continue}break}break a}g=-2;if((f|0)>=4){break i}break a}g=-2;if((f|0)<3){break a}break i}if(!(v[(e>>>3&28|w[m+502448|0]<<5)+500176>>2]>>>e&1)){break i}}k=a;a=a+2|0;f=c-a|0;if((f|0)>1){continue}break a}break}v[d>>2]=a;g=0}Ca=j+16|0;return g}function dp(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;a:{if(w[b+5|0]|w[b+4|0]<<8?0:(w[b+3|0]|w[b+2|0]<<8)==65535){break a}c=v[a+160>>2];v[a+160>>2]=c+1;if(c>>>0>2e3){break a}if(ep(a,b,a+108|0)){break a}if(!w[a+56|0]){b:{if((w[b+3|0]|w[b+2|0]<<8)==65535){break b}c=v[a+164>>2]+1|0;v[a+164>>2]=c;if(c>>>0>1500){break b}d=v[a+4>>2];if(!w[d+12|0]){break b}c=w[b+2|0];f=w[b+3|0];v[d+16>>2]=-1;e=d;d=f|c<<8;c=ec(e,d);if(!c){break b}d=c+(d>>>3&56)|0;c=d;e=v[c+4>>2];h=c;k=v[c>>2];d=f&63;f=d&31;if((d&63)>>>0>=32){d=1<<f;f=0}else{d=(1<<f)-1&1>>>32-f;f=1<<f}v[h>>2]=k|f;v[c+4>>2]=d|e}c=v[a+164>>2]+(w[b+5|0]|w[b+4|0]<<8)|0;v[a+164>>2]=c;if(c>>>0>1500){break a}l=v[a+4>>2];if(w[l+12|0]!=1){break a}h=w[b+5|0]|w[b+4|0]<<8;if(!h){break a}v[l+16>>2]=-1;g=w[b+7|0]|w[b+6|0]<<8;i=ec(l,g);if(!i){break a}a=b+6|0;while(1){f=g&-512;e=g+512&-512;c=a;while(1){b=(g>>>3&56)+i|0;a=b;d=v[a+4>>2];k=a;m=v[a>>2];b=g&63;j=b&31;if((b&63)>>>0>=32){b=1<<j;g=0}else{b=(1<<j)-1&1>>>32-j;g=1<<j}v[k>>2]=m|g;v[a+4>>2]=b|d;h=h-1|0;if(!h){break a}a=c+2|0;g=w[c+3|0]|w[c+2|0]<<8;if(f>>>0<=g>>>0){c=a;if(e>>>0>g>>>0){continue}}break}i=ec(l,g);if(i){continue}break}break a}f=v[a+48>>2];if(!f){break a}e=v[a+52>>2];c=e;if(!(v[c>>2]|v[c+4>>2])){i=1;c=0;while(1){c:{h=e+(c<<6)|0;d=h;if(v[d+8>>2]|v[d+12>>2]|(v[d+16>>2]|v[d+20>>2])|(v[d+24>>2]|v[d+28>>2]|(v[d+32>>2]|v[d+36>>2]))){break c}if(v[h+56>>2]|v[h+60>>2]|(v[h+40>>2]|v[h+44>>2]|(v[h+48>>2]|v[h+52>>2]))){break c}c=c+1|0;i=f>>>0>c>>>0;if((c|0)==(f|0)){break c}d=e+(c<<6)|0;if(!(v[d>>2]|v[d+4>>2])){continue}}break}if(!(i&1)){break a}}c=w[b+5|0];g=w[b+4|0];l=c|g<<8;if(!l){break a}i=0;while(1){e=v[a+36>>2];d:{if((e|0)<1){break d}d=(c&255|(g&255)<<8)>>>0>i>>>0?((i<<1)+b|0)+6|0:280832;c=w[d|0];h=w[d+1|0];n=c<<8|h;o=c>>>1|0;f=v[a+40>>2];c=e-1|0;g=0;while(1){e:{j=c+g>>>1|0;e=f+(j<<3)|0;d=o-v[e>>2]|0;f:{if((d|0)<=-1){c=j-1|0;break f}if(!d){break e}g=j+1|0}if((c|0)>=(g|0)){continue}break d}break}d=v[e+4>>2];if(d>>>0>=y[a+48>>2]){c=280448}else{c=v[a+52>>2];if(!c){break d}c=c+(d<<6)|0}d=h&63;e=d&31;if((d&63)>>>0>=32){d=1<<e;k=0}else{d=(1<<e)-1&1>>>32-e;k=1<<e}m=(n>>>6&7)<<3;c=m+c|0;if(!(k&v[c>>2]|v[c+4>>2]&d)){break d}c=v[a+4>>2];g:{if(!w[c+12|0]){break g}v[c+16>>2]=-1;c=ec(c,n);if(!c){break g}f=c+m|0;c=f;e=v[c>>2];c=d|v[c+4>>2];v[f>>2]=e|k;v[f+4>>2]=c}if(!w[a+20|0]){break d}c=v[a+36>>2];if((c|0)<1){break d}h=v[a+40>>2];c=c-1|0;g=0;while(1){h:{j=c+g>>>1|0;f=h+(j<<3)|0;e=o-v[f>>2]|0;i:{if((e|0)<=-1){c=j-1|0;break i}if(!e){break h}g=j+1|0}if((c|0)>=(g|0)){continue}break d}break}e=v[f+4>>2];j:{if(e>>>0>=y[a+48>>2]){c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break j}c=v[a+52>>2];if(!c){break d}c=c+(e<<6)|0}v[a+24>>2]=-1;f=c+m|0;c=f;e=v[c>>2];c=v[c+4>>2]&(d^-1);v[f>>2]=(k^-1)&e;v[f+4>>2]=c}i=i+1|0;if((l|0)==(i|0)){break a}c=w[b+5|0];g=w[b+4|0];continue}}}function He(a,b,c,d,e,f){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;i=Ca-48|0;Ca=i;g=v[a+11744>>2]==2;j=g?a+11756|0:a+11772|0;h=v[j+4>>2];r=1;o=v[j>>2];n=v[c>>2];k=v[c+4>>2];a:{if(!((o|0)!=(n|0)|(k|0)!=(h|0))){k=0;break a}g=g?a+11748|0:a+11764|0;m=v[g+4>>2];q=o;o=v[g>>2];p=(e-k|0)+16>>5;s=(h-m|0)+16>>5;h=(d-n|0)+16>>5;q=Qa((q-o|0)+16>>5,p)-Qa(s,h)|0;if(!q){k=0;break a}l=ab(Qa((n-o|0)+16>>5,p)-Qa((k-m|0)+16>>5,h)|0,q);k=v[g>>2];k=Qa(l,v[j>>2]-k|0)+k|0;n=v[g+4>>2];m=Qa(l,v[j+4>>2]-n|0);l=v[g>>2];o=v[j>>2];if((l|0)==(o|0)){p=k-l|0;h=p>>31;k=v[a+11696>>2]>(h^h+p)?l:k}l=m+n|0;g=v[g+4>>2];n=v[j+4>>2];if((g|0)==(n|0)){m=l-g|0;h=m>>31;l=v[a+11696>>2]>(h^h+m)?g:l}h=v[c>>2];if((h|0)==(d|0)){m=k-d|0;g=m>>31;k=v[a+11696>>2]>(g^g+m)?d:k}g=v[c+4>>2];if((g|0)==(e|0)){m=l-e|0;d=m>>31;l=v[a+11696>>2]>(d^d+m)?e:l}e=((h+o|0)/-2|0)+k|0;d=e>>31;d=d^d+e;e=v[a+11692>>2];if((d|0)>(e|0)){break a}g=((g+n|0)/-2|0)+l|0;d=g>>31;if((e|0)<(d^d+g)){break a}v[j>>2]=k;v[j+4>>2]=l;r=0}d=v[a+11728>>2];j=d;e=v[a+11724>>2];v[i+8>>2]=e;v[i+12>>2]=d;b:{c:{d:{switch(v[a+11744>>2]-2|0){case 0:g=e;v[i+40>>2]=2;e:{if(f){h=v[a+11760>>2];d=Qa(v[a+11640>>2],v[a+11756>>2])+Qa(v[a+11644>>2],h)|0;h=me(a+3876|0,h);break e}h=v[a+11760>>2];d=Qa(v[a+11640>>2],v[a+11756>>2])+Qa(v[a+11644>>2],h)|0;h=me(b,h)}n=Qa(v[v[a>>2]+64>>2],d);m=Qa(v[v[a>>2]+72>>2],h);o=v[a+11652>>2];d=(Qa(v[v[a>>2]+68>>2],d)+Qa(v[v[a>>2]+76>>2],h)|0)+v[a+11656>>2]|0;v[i+20>>2]=d;h=o+(m+n|0)|0;v[i+16>>2]=h;if((d|0)==(j|0)?(g|0)==(h|0):0){break b}d=v[a+4>>2];j=d+4|0;e=i+16|0;break c;case 2:break d;default:break b}}v[i+40>>2]=4;d=v[a+11760>>2];e=Qa(v[a+11640>>2],v[a+11756>>2]);j=Qa(v[a+11644>>2],d);d=me(b,d);e=e+j|0;t=i,u=(Qa(v[v[a>>2]+64>>2],e)+Qa(v[v[a>>2]+72>>2],d)|0)+v[a+11652>>2]|0,v[t+16>>2]=u;e=Qa(v[v[a>>2]+68>>2],e)+Qa(v[v[a>>2]+76>>2],d)|0;d=a+11656|0;v[i+20>>2]=e+v[d>>2];e=v[a+11768>>2];j=Qa(v[a+11640>>2],v[a+11764>>2]);g=Qa(v[a+11644>>2],e);e=me(b,e);j=g+j|0;t=i,u=(Qa(v[v[a>>2]+64>>2],j)+Qa(v[v[a>>2]+72>>2],e)|0)+v[a+11652>>2]|0,v[t+24>>2]=u;t=i,u=(Qa(v[v[a>>2]+68>>2],j)+Qa(v[v[a>>2]+76>>2],e)|0)+v[d>>2]|0,v[t+28>>2]=u;e=v[a+11776>>2];j=Qa(v[a+11640>>2],v[a+11772>>2]);g=Qa(v[a+11644>>2],e);e=me(b,e);j=g+j|0;t=i,u=(Qa(v[v[a>>2]+64>>2],j)+Qa(v[v[a>>2]+72>>2],e)|0)+v[a+11652>>2]|0,v[t+32>>2]=u;t=i,u=(Qa(v[v[a>>2]+68>>2],j)+Qa(v[v[a>>2]+76>>2],e)|0)+v[d>>2]|0,v[t+36>>2]=u;d=v[a+4>>2];j=d+12|0;e=i+32|0}Ea[v[j>>2]](d,i+8|0);d=v[e+4>>2];v[a+11724>>2]=v[e>>2];v[a+11728>>2]=d}f:{if(!(f?1:r)){break f}g:{if(f){b=v[c+4>>2];d=Qa(v[a+11640>>2],v[c>>2])+Qa(v[a+11644>>2],b)|0;b=me(a+3876|0,b);break g}e=v[c+4>>2];d=Qa(v[a+11640>>2],v[c>>2])+Qa(v[a+11644>>2],e)|0;b=me(b,e)}t=i,u=(Qa(v[v[a>>2]+64>>2],d)+Qa(v[v[a>>2]+72>>2],b)|0)+v[a+11652>>2]|0,v[t+16>>2]=u;b=(Qa(v[v[a>>2]+68>>2],d)+Qa(v[v[a>>2]+76>>2],b)|0)+v[a+11656>>2]|0;v[i+20>>2]=b;if((b|0)==v[a+11728>>2]?v[i+16>>2]==v[a+11724>>2]:0){break f}v[i+40>>2]=2;b=v[a+11728>>2];v[i+8>>2]=v[a+11724>>2];v[i+12>>2]=b;b=v[a+4>>2];Ea[v[b+4>>2]](b,i+8|0);b=v[i+20>>2];v[a+11724>>2]=v[i+16>>2];v[a+11728>>2]=b}if(!r){v[c>>2]=k;v[c+4>>2]=l}Ca=i+48|0}function Oi(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(!a){return 0}l=v[a+12>>2];c=l>>31;h=v[a+8>>2];b=h>>31;g=v[a+4>>2];d=g>>31;e=v[a>>2];a=e>>31;k=c^c+l;o=b^b+h;j=d^d+g;i=a^a+e;a=(i|0)>0?i:0;a=(a|0)<(j|0)?j:a;a=(a|0)<(o|0)?o:a;a=(a|0)<(k|0)?k:a;a:{if((a|0)>=23171){c=e?(i|0)!=2147483647?i:2147483647:2147483647;c=g?(c|0)>(j|0)?j:c:c;c=h?(c|0)>(o|0)?o:c:c;d=l?(c|0)>(k|0)?k:c:c;b:{if(a>>>0<=65535){m=((a<<16|11584)>>>0)/23170|0;break b}m=2147483647;if(a>>>0>1518469119){break b}f=a<<16|11585;c=a>>>16|0;a=E(c);b=32-a|0;c=f>>>b|c<<a;m=(c>>>0)/23170|0;c=B(m,-23170)+c|0;a=f<<a;while(1){f=c<<1|a>>>31;c=(f>>>0<23170?0:-23170)+f|0;m=m<<1|f>>>0>23169;a=a<<1;b=b-1|0;if(b){continue}break}}p=(d|0)<0?-1:1;c=2147483647;a=m>>31;a=a+m^a;c:{if(!a){break c}b=d>>31;b=b+d^b;if(b>>>0<=(a>>>17^65535)>>>0){c=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break c}f=a>>>1|0;d=f+(b<<16)|0;b=(b>>>16|0)+(d>>>0<f>>>0)|0;if(b>>>0>=a>>>0){break c}n=E(b);f=32-n|0;b=d>>>f|b<<n;c=(b>>>0)/(a>>>0)|0;b=b-B(a,c)|0;d=d<<n;while(1){n=b<<1|d>>>31;b=n-(a>>>0>n>>>0?0:a)|0;c=c<<1|a>>>0<=n>>>0;d=d<<1;f=f-1|0;if(f){continue}break}}if(!((((m|0)<0?0-p|0:p)|0)<0?0-c|0:c)){break a}e=(e|0)<0?-1:1;d:{if(a){p=a>>>17^65535;e:{if(p>>>0>=i>>>0){c=((i<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break e}c=2147483647;b=a>>>1|0;d=b+(i<<16)|0;b=(i>>>16|0)+(b>>>0>d>>>0)|0;if(b>>>0>=a>>>0){break e}i=E(b);f=32-i|0;b=d>>>f|b<<i;c=(b>>>0)/(a>>>0)|0;b=b-B(a,c)|0;d=d<<i;while(1){i=b<<1|d>>>31;b=i-(a>>>0>i>>>0?0:a)|0;c=c<<1|a>>>0<=i>>>0;d=d<<1;f=f-1|0;if(f){continue}break}}i=(m|0)<0?0-e|0:e;g=(g|0)<0?-1:1;f:{if(j>>>0<=p>>>0){f=((j<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break f}f=2147483647;b=a>>>1|0;d=b+(j<<16)|0;e=(j>>>16|0)+(b>>>0>d>>>0)|0;if(e>>>0>=a>>>0){break f}j=E(e);b=32-j|0;e=d>>>b|e<<j;f=(e>>>0)/(a>>>0)|0;e=e-B(a,f)|0;d=d<<j;while(1){j=e<<1|d>>>31;e=j-(a>>>0>j>>>0?0:a)|0;f=f<<1|a>>>0<=j>>>0;d=d<<1;b=b-1|0;if(b){continue}break}}i=(i|0)<0;n=0-c|0;q=(((m|0)<0?0-g|0:g)|0)<0;r=0-f|0;j=(h|0)<0?-1:1;g:{if(o>>>0<=p>>>0){b=((o<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break g}b=2147483647;e=a>>>1|0;d=e+(o<<16)|0;h=(o>>>16|0)+(d>>>0<e>>>0)|0;if(h>>>0>=a>>>0){break g}g=E(h);e=32-g|0;h=d>>>e|h<<g;b=(h>>>0)/(a>>>0)|0;h=h-B(a,b)|0;d=d<<g;while(1){g=h<<1|d>>>31;h=g-(a>>>0>g>>>0?0:a)|0;b=b<<1|a>>>0<=g>>>0;d=d<<1;e=e-1|0;if(e){continue}break}}e=i?n:c;g=q?r:f;h=(((m|0)<0?0-j|0:j)|0)<0?0-b|0:b;l=(l|0)<0?-1:1;if(k>>>0<=p>>>0){c=((k<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break d}c=2147483647;b=a>>>1|0;d=b+(k<<16)|0;b=(k>>>16|0)+(b>>>0>d>>>0)|0;if(b>>>0>=a>>>0){break d}k=E(b);f=32-k|0;b=d>>>f|b<<k;c=(b>>>0)/(a>>>0)|0;b=b-B(a,c)|0;d=d<<k;while(1){k=b<<1|d>>>31;b=k-(a>>>0>k>>>0?0:a)|0;c=c<<1|a>>>0<=k>>>0;d=d<<1;f=f-1|0;if(f){continue}break}break d}c=2147483647;a=(h|0)<0?-1:1;d=0-a|0;b=a;a=(m|0)<0;h=((a?d:b)|0)<0?-2147483647:2147483647;b=(g|0)<0?-1:1;g=((a?0-b|0:b)|0)<0?-2147483647:2147483647;e=((a?0-e|0:e)|0)<0?-2147483647:2147483647;l=(l|0)<0?-1:1}l=(((m|0)<0?0-l|0:l)|0)<0?0-c|0:c}q=0;a=B(e,l)-B(g,h)|0;if(!a){break a}b=a;a=a>>31;q=(((B(e,e)+B(g,g)|0)+B(h,h)|0)+B(l,l)>>>0)/((b+a^a)>>>0)>>>0<51}return q}
|
||
function Ui(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ca-16|0;Ca=f;v[f+12>>2]=b;i=-1;g=c-b|0;a:{if((g|0)<1){break a}j=a+72|0;while(1){b:{c:{d:{e:{f:{k=f;g:{h:{i:{j:{k:{l:{m:{n:{e=b;switch(w[w[b|0]+j|0]-5|0){case 9:break i;case 4:case 5:case 16:break j;case 18:break k;case 2:break l;case 1:break m;case 0:break n;case 17:case 19:case 20:case 21:case 22:break h;default:break e}}if((g|0)<2){i=-2;break a}if(!(Ea[v[a+328>>2]](a,b)|0)){break e}b=b+2|0;break g}if((g|0)<3){i=-2;break a}if(!(Ea[v[a+332>>2]](a,b)|0)){break e}b=b+3|0;break g}if((g|0)<4){i=-2;break a}if(!(Ea[v[a+336>>2]](a,b)|0)){break e}b=b+4|0;break g}if(h){break e}e=b+1|0;v[f+12>>2]=e;h=c-e|0;if((h|0)<1){break a}o:{switch(w[w[e|0]+j|0]-5|0){case 17:case 19:b=b+2|0;break c;case 0:if((h|0)<2){i=-2;break a}if(!(Ea[v[a+340>>2]](a,e)|0)){break e}b=b+3|0;break c;case 1:if((h|0)<3){i=-2;break a}if(!(Ea[v[a+344>>2]](a,e)|0)){break e}b=b+4|0;break c;case 2:break o;default:break e}}if((h|0)<4){i=-2;break a}if(!(Ea[v[a+348>>2]](a,e)|0)){break e}b=b+5|0;break c}e=b+1|0;v[f+12>>2]=e;if((c-e|0)<1){break a}while(1){p:{switch(w[w[e|0]+j|0]-9|0){case 5:break i;case 0:case 1:case 12:break p;default:break e}}e=e+1|0;v[f+12>>2]=e;if((c-e|0)>0){continue}break}break a}b=e+1|0;v[f+12>>2]=b;if((c-b|0)<1){break a}g=w[w[b|0]+j|0];if((g&254)==12){break f}while(1){e=b;b=g&255;if(b>>>0>21|!(1<<b&2098688)){break e}b=e+1|0;v[f+12>>2]=b;if((c-b|0)<=0){break a}g=w[w[b|0]+j|0];if((g&254)!=12){continue}break}break f}b=b+1|0}v[k+12>>2]=b;break b}b=e+2|0;v[f+12>>2]=b;h=c-b|0;if((h|0)<1){break a}while(1){l=w[w[b|0]+j|0];if((l|0)!=(g|0)){e=b;k=f;q:{r:{s:{switch(l|0){case 5:if((h|0)<2){i=-2;break a}if(Ea[v[a+352>>2]](a,e)|0){break e}b=e+2|0;break r;case 6:if((h|0)<3){i=-2;break a}if(Ea[v[a+356>>2]](a,e)|0){break e}b=e+3|0;break r;case 7:if((h|0)<4){i=-2;break a}if(Ea[v[a+360>>2]](a,e)|0){break e}b=e+4|0;break r;case 3:b=Ti(a,e+1|0,c,f+12|0);if((b|0)>=1){b=v[f+12>>2];break q}i=b;if(b){break a}e=v[f+12>>2];break e;case 0:case 1:case 2:case 8:break e;default:break s}}b=e+1|0}v[k+12>>2]=b}h=c-b|0;if((h|0)>0){continue}break a}break}e=b+1|0;v[f+12>>2]=e;if((c-e|0)<1){break a}t:{u:{v:{switch(w[w[e|0]+j|0]-9|0){case 2:break t;case 8:break u;case 0:case 1:case 12:break v;default:break e}}b=b+2|0;v[f+12>>2]=b;h=e;g=c-b|0;if((g|0)<1){break a}while(1){w:{x:{y:{z:{A:{e=b;switch(w[w[b|0]+j|0]-5|0){case 6:break t;case 12:break u;case 4:case 5:case 16:break w;case 2:break x;case 1:break y;case 0:break z;case 17:case 19:break A;default:break e}}b=h+2|0;break d}if((g|0)<2){i=-2;break a}if(!(Ea[v[a+340>>2]](a,e)|0)){break e}b=e+2|0;break d}if((g|0)<3){i=-2;break a}if(!(Ea[v[a+344>>2]](a,e)|0)){break e}b=e+3|0;break d}if((g|0)<4){i=-2;break a}if(!(Ea[v[a+348>>2]](a,e)|0)){break e}b=e+4|0;break d}b=e+1|0;v[f+12>>2]=b;h=e;g=c-b|0;if((g|0)>0){continue}break}break a}a=e+1|0;v[f+12>>2]=a;if((c-a|0)<1){break a}b=a;a=w[e+1|0]==62;e=a?e+2|0:b;m=a?3:0;break e}m=1;e=e+1|0}v[d>>2]=e;i=m;break a}v[f+12>>2]=b;h=0;break b}v[f+12>>2]=b;h=1}g=c-b|0;if((g|0)>0){continue}break}}Ca=f+16|0;return i}function to(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{h=v[b+4>>2];if(h>>>0>a>>>0){break a}e=v[b+8>>2];if(e>>>0<a>>>0|e-a>>>0<2){break a}f=v[b+12>>2];c=f-2|0;v[b+12>>2]=c;d=1;if((c|0)<1){break a}b:{c:{d:{e:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break c;case 1:break d;case 0:break e;default:break b}}d=a+2|0;if(d>>>0<h>>>0|d>>>0>e>>>0|e-d>>>0<2){break a}c=f-4|0;v[b+12>>2]=c;if((c|0)<1){break a}c=w[a+3|0]|w[a+2|0]<<8;f:{if(!c){break f}if(nc(a+c|0,b)){break f}c=v[b+24>>2];if(c>>>0>31){break a}v[b+24>>2]=c+1;if(!w[b+20|0]){break a}t[d|0]=0;t[d+1|0]=0}f=v[b+4>>2];g=a+4|0;if(f>>>0>g>>>0){break a}e=v[b+8>>2];if(e>>>0<g>>>0|e-g>>>0<2){break a}h=v[b+12>>2]-2|0;v[b+12>>2]=h;d=1;if((h|0)<1){break a}c=w[a+5|0]|w[a+4|0]<<8;if(!c){break b}d=g+2|0;if(d>>>0<f>>>0|d>>>0>e>>>0){break a}c=c<<1;if(c>>>0>e-d>>>0){break a}c=h-c|0;v[b+12>>2]=c;d=0;if((c|0)<1){break b}d=1;c=w[a+5|0]|w[a+4|0]<<8;if(!c){break b}f=0;while(1){d=ro((g+(f<<1)|0)+2|0,b,a);if(!d){break b}f=f+1|0;if((c|0)!=(f|0)){continue}break}break b}d=0;f=a+2|0;g:{h:{if(f>>>0<y[b+4>>2]){break h}c=v[b+8>>2];if(c>>>0<f>>>0|c-f>>>0<2){break h}c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break h}c=w[a+3|0]|w[a+2|0]<<8;i:{if(!c){break i}if(nc(a+c|0,b)){break i}c=v[b+24>>2];if(c>>>0>31){break h}v[b+24>>2]=c+1;if(!w[b+20|0]){break h}t[f|0]=0;t[f+1|0]=0}f=a+4|0;if(f>>>0<y[b+4>>2]){break h}c=v[b+8>>2];if(c>>>0<f>>>0|c-f>>>0<2){break h}c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break h}c=w[a+5|0]|w[a+4|0]<<8;j:{if(!c){break j}if(kf(a+c|0,b)){break j}c=v[b+24>>2];if(c>>>0>31){break h}v[b+24>>2]=c+1;if(!w[b+20|0]){break h}t[f|0]=0;t[f+1|0]=0}h=v[b+4>>2];c=a+6|0;if(h>>>0>c>>>0){break h}g=v[b+8>>2];if(g>>>0<c>>>0|g-c>>>0<2){break h}e=v[b+12>>2]-2|0;v[b+12>>2]=e;if((e|0)<1){break h}f=w[a+7|0]|w[a+6|0]<<8;c=1;if(!f){break g}c=a+8|0;if(c>>>0<h>>>0|c>>>0>g>>>0){break h}g=g-c|0;c=f<<1;if(g>>>0<c>>>0){break h}c=e-c|0;v[b+12>>2]=c;if((c|0)<1){break h}d=1;c=w[a+7|0]|w[a+6|0]<<8;if(!c){break h}e=0;while(1){d=ro(((e<<1)+a|0)+8|0,b,a);if(!d){break h}e=e+1|0;if((c|0)!=(e|0)){continue}break}}c=d}return c}f=0;g=v[b+4>>2];k:{l:{if(g>>>0>a>>>0){break l}i=v[b+8>>2];if(i>>>0<a>>>0|i-a>>>0<6){break l}e=v[b+12>>2]-6|0;v[b+12>>2]=e;if((e|0)<1){break l}h=w[a+3|0]|w[a+2|0]<<8;if(!h){break l}d=a+6|0;if(d>>>0<g>>>0|d>>>0>i>>>0){break l}c=h<<1;if(c>>>0>i-d>>>0){break l}c=e-c|0;v[b+12>>2]=c;if((c|0)<1){break l}e=0;d=a+6|0;c=0;if(g>>>0>d>>>0){break k}while(1){c=v[b+8>>2];if(c>>>0<d>>>0|c-d>>>0<2){break l}c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break l}c=w[((e<<1)+a|0)+7|0]|w[d|0]<<8;m:{if(!c){break m}if(nc(a+c|0,b)){break m}c=v[b+24>>2];if(c>>>0>31){break l}v[b+24>>2]=c+1;if(!w[b+20|0]){break l}t[d|0]=0;t[d+1|0]=0}e=e+1|0;if((h|0)!=(e|0)){d=((e<<1)+a|0)+6|0;if(d>>>0>=y[b+4>>2]){continue}break l}break}d=w[a+5|0]|w[a+4|0]<<8;c=1;if(!d){break k}c=((w[a+3|0]<<1|w[a+2|0]<<9)+a|0)+6|0;if(c>>>0<y[b+4>>2]){break l}a=v[b+8>>2];if(a>>>0<c>>>0){break l}c=a-c|0;a=d<<2;if(c>>>0<a>>>0){break l}a=v[b+12>>2]-a|0;v[b+12>>2]=a;f=(a|0)>0}c=f}d=c}return d}return 0}function Pa(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=v[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=v[d>>2];d=d-b|0;if(d>>>0<y[164441]){break a}a=a+b|0;if(v[164442]!=(d|0)){if(b>>>0<=255){e=v[d+8>>2];b=b>>>3|0;c=v[d+12>>2];if((c|0)==(e|0)){i=657748,j=v[164437]&jQ(-2,b),v[i>>2]=j;break b}v[e+12>>2]=c;v[c+8>>2]=e;break b}h=v[d+24>>2];b=v[d+12>>2];c:{if((d|0)!=(b|0)){c=v[d+8>>2];v[c+12>>2]=b;v[b+8>>2]=c;break c}d:{e=d+20|0;c=v[e>>2];if(c){break d}e=d+16|0;c=v[e>>2];if(c){break d}b=0;break c}while(1){g=e;b=c;e=b+20|0;c=v[e>>2];if(c){continue}e=b+16|0;c=v[b+16>>2];if(c){continue}break}v[g>>2]=0}if(!h){break b}e=v[d+28>>2];c=(e<<2)+658052|0;e:{if(v[c>>2]==(d|0)){v[c>>2]=b;if(b){break e}i=657752,j=v[164438]&jQ(-2,e),v[i>>2]=j;break b}v[h+(v[h+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}v[b+24>>2]=h;c=v[d+16>>2];if(c){v[b+16>>2]=c;v[c+24>>2]=b}c=v[d+20>>2];if(!c){break b}v[b+20>>2]=c;v[c+24>>2]=b;break b}b=v[f+4>>2];if((b&3)!=3){break b}v[164439]=a;v[f+4>>2]=b&-2;v[d+4>>2]=a|1;v[a+d>>2]=a;return}if(d>>>0>=f>>>0){break a}b=v[f+4>>2];if(!(b&1)){break a}f:{if(!(b&2)){if(v[164443]==(f|0)){v[164443]=d;a=v[164440]+a|0;v[164440]=a;v[d+4>>2]=a|1;if(v[164442]!=(d|0)){break a}v[164439]=0;v[164442]=0;return}if(v[164442]==(f|0)){v[164442]=d;a=v[164439]+a|0;v[164439]=a;v[d+4>>2]=a|1;v[a+d>>2]=a;return}a=(b&-8)+a|0;g:{if(b>>>0<=255){e=v[f+8>>2];b=b>>>3|0;c=v[f+12>>2];if((c|0)==(e|0)){i=657748,j=v[164437]&jQ(-2,b),v[i>>2]=j;break g}v[e+12>>2]=c;v[c+8>>2]=e;break g}h=v[f+24>>2];b=v[f+12>>2];h:{if((f|0)!=(b|0)){c=v[f+8>>2];v[c+12>>2]=b;v[b+8>>2]=c;break h}i:{e=f+20|0;c=v[e>>2];if(c){break i}e=f+16|0;c=v[e>>2];if(c){break i}b=0;break h}while(1){g=e;b=c;e=b+20|0;c=v[e>>2];if(c){continue}e=b+16|0;c=v[b+16>>2];if(c){continue}break}v[g>>2]=0}if(!h){break g}e=v[f+28>>2];c=(e<<2)+658052|0;j:{if(v[c>>2]==(f|0)){v[c>>2]=b;if(b){break j}i=657752,j=v[164438]&jQ(-2,e),v[i>>2]=j;break g}v[h+(v[h+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}v[b+24>>2]=h;c=v[f+16>>2];if(c){v[b+16>>2]=c;v[c+24>>2]=b}c=v[f+20>>2];if(!c){break g}v[b+20>>2]=c;v[c+24>>2]=b}v[d+4>>2]=a|1;v[a+d>>2]=a;if(v[164442]!=(d|0)){break f}v[164439]=a;return}v[f+4>>2]=b&-2;v[d+4>>2]=a|1;v[a+d>>2]=a}if(a>>>0<=255){a=a>>>3|0;b=(a<<3)+657788|0;c=v[164437];a=1<<a;k:{if(!(c&a)){v[164437]=a|c;a=b;break k}a=v[b+8>>2]}v[b+8>>2]=d;v[a+12>>2]=d;v[d+12>>2]=b;v[d+8>>2]=a;return}e=31;v[d+16>>2]=0;v[d+20>>2]=0;if(a>>>0<=16777215){b=a>>>8|0;g=b+1048320>>>16&8;b=b<<g;e=b+520192>>>16&4;b=b<<e;c=b+245760>>>16&2;b=(b<<c>>>15|0)-(c|(e|g))|0;e=(b<<1|a>>>b+21&1)+28|0}v[d+28>>2]=e;g=(e<<2)+658052|0;l:{m:{c=v[164438];b=1<<e;n:{if(!(c&b)){v[164438]=b|c;v[g>>2]=d;v[d+24>>2]=g;break n}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=v[g>>2];while(1){c=b;if((v[b+4>>2]&-8)==(a|0)){break m}b=e>>>29|0;e=e<<1;g=c+(b&4)|0;b=v[g+16>>2];if(b){continue}break}v[g+16>>2]=d;v[d+24>>2]=c}v[d+12>>2]=d;v[d+8>>2]=d;break l}a=v[c+8>>2];v[a+12>>2]=d;v[c+8>>2]=d;v[d+24>>2]=0;v[d+12>>2]=c;v[d+8>>2]=a}a=v[164445]-1|0;v[164445]=a?a:-1}}function QM(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,q=0,r=0;i=Ca+-64|0;Ca=i;v[i+60>>2]=0;h=b+108|0;n=v[a+8>>2];a:{b:{if(v[b+72>>2]!=v[a+16>>2]){v[i+60>>2]=6;break b}if(!((c|0)!=2?c>>>0<=4:0)){v[i+60>>2]=19;break b}if(t[v[b+156>>2]+4|0]&1){f=v[b+88>>2];if(f){Ea[v[n+8>>2]](n,f)}v[b+88>>2]=0;f=v[b+156>>2];v[f+4>>2]=v[f+4>>2]&-2}if(Qi(b,c,d)){v[i+60>>2]=98;break b}e=b+76|0;f=v[e>>2];c:{if(!f){break c}g=v[b+84>>2];if(!g){break c}q=b,r=Ua(n,g,0,f,0,i+60|0),v[q+88>>2]=r;if(v[i+60>>2]){break b}f=v[b+156>>2];v[f+4>>2]=v[f+4>>2]|1;f=v[b+76>>2]<<6;l=(w[b+94|0]==6?(f|0)/3|0:f)-(v[b+104>>2]<<6)|0;m=0-(v[b+100>>2]<<6)|0;if(d){m=v[d>>2]+m|0;l=v[d+4>>2]+l|0}if(l|m){ic(h,m,l)}p=i;d:{e:{if(c>>>0<=1){if(w[b+124|0]&64){f=a;g=Ca+-64|0;Ca=g;a=v[h+4>>2];if(a){d=(u[h+2>>1]<<3)+a|0}else{d=0}c=98;j=v[e+4>>2];f:{if(j&1073733632){break f}v[g+56>>2]=j<<2;v[g+48>>2]=0;v[g+52>>2]=0;v[g+28>>2]=640;v[g+24>>2]=3;v[g+20>>2]=h;v[g+44>>2]=g+8;j=v[e>>2];v[g+60>>2]=j<<2;c=v[e+12>>2];e=v[e+8>>2];v[g+12>>2]=e;v[g+8>>2]=(e|0)<0?c:c+B(e,j-1|0)|0;e=a>>>0>=d>>>0;if(!e){c=a;while(1){v[c>>2]=v[c>>2]<<2;v[c+4>>2]=v[c+4>>2]<<2;c=c+8|0;if(d>>>0>c>>>0){continue}break}}c=Ea[v[f+56>>2]](v[f+52>>2],g+16|0)|0;if(e){break f}while(1){v[a>>2]=v[a>>2]/4;v[a+4>>2]=v[a+4>>2]/4;a=a+8|0;if(d>>>0>a>>>0){continue}break}}Ca=g- -64|0;break e}v[i+16>>2]=1;v[i+12>>2]=h;v[i+8>>2]=e;c=Ea[v[a+56>>2]](v[a+52>>2],i+8|0)|0;break e}g:{switch(c-3|0){default:a=v[i+60>>2];break d;case 0:d=Ca+-64|0;Ca=d;f=v[a+4>>2];v[d+48>>2]=0;v[d+52>>2]=0;v[d+28>>2]=641;v[d+24>>2]=3;v[d+20>>2]=h;v[d+44>>2]=d+8;v[d+56>>2]=v[e+4>>2];g=v[e>>2];v[d+60>>2]=g;c=v[e+12>>2];e=v[e+8>>2];v[d+12>>2]=e;v[d+8>>2]=(e|0)<0?c:c+B(e,g-1|0)|0;e=f+184|0;ic(h,0-v[f+180>>2]|0,0-v[e>>2]|0);c=Ea[v[a+56>>2]](v[a+52>>2],d+16|0)|0;h:{if(c){g=f+180|0;break h}v[d+8>>2]=v[d+8>>2]+1;g=f+188|0;e=f+192|0;ic(h,v[f+180>>2]-v[g>>2]|0,v[f+184>>2]-v[e>>2]|0);c=Ea[v[a+56>>2]](v[a+52>>2],d+16|0)|0;if(c){break h}v[d+8>>2]=v[d+8>>2]+1;g=f+196|0;e=f+200|0;ic(h,v[f+188>>2]-v[g>>2]|0,v[f+192>>2]-v[e>>2]|0);c=Ea[v[a+56>>2]](v[a+52>>2],d+16|0)|0}ic(h,v[g>>2],v[e>>2]);Ca=d- -64|0;break e;case 1:break g}}f=Ca-48|0;Ca=f;d=v[a+4>>2];k=v[e+8>>2];v[f+8>>2]=1;v[f+4>>2]=h;v[f>>2]=e;v[e+8>>2]=B(k,3);v[e>>2]=y[e>>2]/3;ic(h,0-v[d+184>>2]|0,v[d+180>>2]);c=Ea[v[a+56>>2]](v[a+52>>2],f)|0;g=v[d+184>>2];j=v[d+180>>2];i:{if(c){break i}v[e+12>>2]=k+v[e+12>>2];ic(h,g-v[d+192>>2]|0,v[d+188>>2]-j|0);c=Ea[v[a+56>>2]](v[a+52>>2],f)|0;j=v[d+188>>2];g=v[d+192>>2];o=v[e+12>>2]-k|0;v[e+12>>2]=o;if(c){break i}k=k<<1;v[e+12>>2]=k+o;ic(h,g-v[d+200>>2]|0,v[d+196>>2]-j|0);c=Ea[v[a+56>>2]](v[a+52>>2],f)|0;j=v[d+196>>2];g=v[d+200>>2];v[e+12>>2]=v[e+12>>2]-k}ic(h,g,0-j|0);v[e+8>>2]=v[e+8>>2]/3;v[e>>2]=B(v[e>>2],3);Ca=f+48|0}a=c;v[p+60>>2]=a}if(a){break b}}v[b+72>>2]=1651078259;break a}if(!(t[v[b+156>>2]+4|0]&1)){break a}a=v[b+88>>2];if(a){Ea[v[n+8>>2]](n,a)}v[b+88>>2]=0;a=v[b+156>>2];v[a+4>>2]=v[a+4>>2]&-2}if(l|m){ic(h,0-m|0,0-l|0)}Ca=i- -64|0;return v[i+60>>2]}function RO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Ca-32|0;Ca=g;v[b+80>>2]=0;t[b+69|0]=1;t[b+70|0]=0;v[b+92>>2]=v[b+88>>2];v[b+72>>2]=0;l=v[b+76>>2];a:{if(!l){break a}while(1){f=v[b+88>>2];e=v[f+B(d,20)>>2];b:{if((e&-129)!=3635){if(w[b+69|0]){h=b;c:{if((f|0)==v[b+92>>2]){e=d;if(v[b+80>>2]==(d|0)){break c}}if(!cb(b,1,1)){break a}e=v[b+88>>2]+B(v[b+72>>2],20)|0;f=v[e+4>>2];d=v[b+92>>2]+B(v[b+80>>2],20)|0;v[d>>2]=v[e>>2];v[d+4>>2]=f;v[d+16>>2]=v[e+16>>2];f=v[e+12>>2];v[d+8>>2]=v[e+8>>2];v[d+12>>2]=f;d=v[b+72>>2];e=v[b+80>>2]}v[h+80>>2]=e+1}v[b+72>>2]=d+1;break b}v[g+8>>2]=e+26;Qh(b,0,g+8|0);d=v[b+80>>2];d=v[b+92>>2]+B(d?d-1|0:0,20)|0;u[d+16>>1]=x[d+16>>1]|128;v[g+8>>2]=e-1;if(!Qh(b,1,g+8|0)){break a}i=v[b+80>>2];e=i-2|0;f=B(e,20);d=f+v[b+92>>2]|0;u[d+16>>1]=x[d+16>>1]&224|12;d:{e:{while(1){d=e;if(!d){break e}e=d-1|0;j=v[v[b+92>>2]+B(e,20)>>2];if((j&-132)==3636){continue}j=j&-129;if(j-3655>>>0<8|(j|0)==3633){continue}break}if(i>>>0>d+2>>>0){break d}if(v[b+20>>2]){break b}Hf(b,e,i);break b}if(i>>>0<=2){break b}}Hf(b,d,i);e=f;f=v[b+92>>2];e=e+f|0;v[g+24>>2]=v[e+16>>2];j=v[e+12>>2];v[g+16>>2]=v[e+8>>2];v[g+20>>2]=j;j=v[e+4>>2];v[g+8>>2]=v[e>>2];v[g+12>>2]=j;e=B(d,20);f=e+f|0;mb(f+20|0,f,B(i-d|0,20)-40|0);d=e+v[b+92>>2]|0;e=v[g+12>>2];v[d>>2]=v[g+8>>2];v[d+4>>2]=e;v[d+16>>2]=v[g+24>>2];e=v[g+20>>2];v[d+8>>2]=v[g+16>>2];v[d+12>>2]=e}d=v[b+72>>2];if(l>>>0>d>>>0){continue}break}}td(b);f:{if(w[a+32|0]|v[a+4>>2]!=1416126825){break f}n=v[b+76>>2];if(!n){break f}o=v[b+88>>2];l=0;a=2;j=3;i=0;while(1){d=0;g:{h:{h=B(i,20)+o|0;e=v[h>>2];if((e|0)==3633|(e&-4)==3636){break h}f=e-3655|0;if(1<<f&193?f>>>0<=7:0){break h}d=1;if(e-3640>>>0<3){break h}d=2;if(e-3656>>>0<5){break h}i:{j:{d=e-3597|0;if(d>>>0<=18){d=1<<d;a=1;if(d&344064){break i}if(d&9){break j}}a=3;if((e&-2)==3598){break i}a=(e-3585>>>0>45)<<2;break i}a=2}d=a<<2;a=v[d+260864>>2];j=v[d+260832>>2];l=i;break g}d=d<<3;a=d+B(a,24)|0;d=d+B(j,24)|0;e=v[d+260896>>2];if(!e){e=v[a+260992>>2]}if(i-l>>>0>=2){Mb(b,l,i)}a=v[a+260996>>2];j=v[d+260900>>2];if((e|0)==4){d=261424;k:{l:{m:{f=B(l,20)+o|0;e=v[f>>2];switch(e-3597|0){case 0:break l;case 3:break m;default:break k}}d=261436}h=v[d+4>>2];k=g+8|0;v[k>>2]=0;m=h;h=v[c+72>>2];if(Ea[v[h+156>>2]](c,v[c+76>>2],m,k,v[h+20>>2])|0){e=d+4|0}else{h=v[d+8>>2];k=g+8|0;v[k>>2]=0;m=h;h=v[c+72>>2];if(!(Ea[v[h+156>>2]](c,v[c+76>>2],m,k,v[h+20>>2])|0)){break k}e=d+8|0}e=v[e>>2]}v[f>>2]=e;break g}f=v[h>>2];d=0;n:{o:{p:{switch(e|0){case 1:d=261072;break o;case 3:d=261184;break o;case 0:break n;case 2:break p;default:break o}}d=261264}e=v[d>>2];if(!e){break n}while(1){if((e|0)==(f|0)){e=v[d+4>>2];k=g+8|0;v[k>>2]=0;m=e;e=v[c+72>>2];if(Ea[v[e+156>>2]](c,v[c+76>>2],m,k,v[e+20>>2])|0){f=v[d+4>>2];break n}e=v[d+8>>2];k=g+8|0;v[k>>2]=0;m=e;e=v[c+72>>2];if(!(Ea[v[e+156>>2]](c,v[c+76>>2],m,k,v[e+20>>2])|0)){break n}f=v[d+8>>2];break n}e=v[d+12>>2];d=d+12|0;if(e){continue}break}}v[h>>2]=f}i=i+1|0;if((n|0)!=(i|0)){continue}break}}Ca=g+32|0}function MD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(a){i=v[a+100>>2];f=v[a+540>>2];if(f){Ea[v[f+12>>2]](a)}c=v[a+712>>2];if(c){f=v[c+8>>2];e=v[c+108>>2];if(e){d=v[e+28>>2];b=c+140|0;if(v[b>>2]){Qb(e,b)}b=v[c+136>>2];if(b){Ea[v[d+8>>2]](d,b)}v[c+140>>2]=0;v[c+132>>2]=0;v[c+136>>2]=0;v[c+124>>2]=0;v[c+128>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+108>>2]=0;v[c+112>>2]=0}e=v[c+1240>>2];if(e){d=v[e+28>>2];b=c+1272|0;if(v[b>>2]){Qb(e,b)}b=v[c+1268>>2];if(b){Ea[v[d+8>>2]](d,b)}b=c+1240|0;v[b+32>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0}e=v[c+36>>2];if(e){d=v[e+28>>2];b=c+68|0;if(v[b>>2]){Qb(e,b)}b=v[c- -64>>2];if(b){Ea[v[d+8>>2]](d,b)}v[c+68>>2]=0;v[c+60>>2]=0;v[c+64>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+36>>2]=0;v[c+40>>2]=0}e=v[c+1204>>2];if(e){d=v[e+28>>2];b=c+1236|0;if(v[b>>2]){Qb(e,b)}b=v[c+1232>>2];if(b){Ea[v[d+8>>2]](d,b)}b=c+1204|0;v[b+32>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0}b=v[c+2024>>2];if(b){while(1){g=v[((h<<2)+c|0)+2028>>2];if(g){e=v[g+608>>2];if(e){d=v[e+28>>2];b=g+640|0;if(v[b>>2]){Qb(e,b)}b=v[g+636>>2];if(b){Ea[v[d+8>>2]](d,b)}v[g+640>>2]=0;v[g+632>>2]=0;v[g+636>>2]=0;v[g+624>>2]=0;v[g+628>>2]=0;v[g+616>>2]=0;v[g+620>>2]=0;v[g+608>>2]=0;v[g+612>>2]=0}b=f;d=v[g+644>>2];if(d){Ea[v[b+8>>2]](b,d)}v[g+644>>2]=0;d=v[g+572>>2];if(d){Ea[v[b+8>>2]](b,d)}v[g+572>>2]=0;d=v[g+580>>2];if(d){Ea[v[b+8>>2]](b,d)}v[g+580>>2]=0;b=v[g+592>>2];if(b){Ea[v[f+8>>2]](f,b)}v[g+592>>2]=0;b=v[c+2024>>2]}h=h+1|0;if(h>>>0<b>>>0){continue}break}b=v[c+2028>>2];if(b){Ea[v[f+8>>2]](f,b)}v[c+2028>>2]=0}v[c+144>>2]=0;v[c+148>>2]=0;v[c+152>>2]=0;h=v[v[c+4>>2]+28>>2];e=h;d=c+1192|0;b=v[d>>2];if(b){Ea[v[e+8>>2]](e,b)}v[d>>2]=0;v[d+4>>2]=0;d=c+1188|0;b=v[d>>2];if(b){Ea[v[h+8>>2]](h,b)}v[c+1180>>2]=0;v[c+1184>>2]=0;v[d>>2]=0;Sq(c+3112|0,f);h=c+1980|0;e=v[h>>2];if(e){d=v[e+28>>2];b=c+2012|0;if(v[b>>2]){Qb(e,b)}b=v[c+2008>>2];if(b){Ea[v[d+8>>2]](d,b)}v[h+32>>2]=0;v[h+24>>2]=0;v[h+28>>2]=0;v[h+16>>2]=0;v[h+20>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;v[h>>2]=0;v[h+4>>2]=0}b=f;e=c+2016|0;d=v[e>>2];if(d){Ea[v[b+8>>2]](b,d)}v[e>>2]=0;e=c+1944|0;d=v[e>>2];if(d){Ea[v[b+8>>2]](b,d)}v[e>>2]=0;e=c+1952|0;d=v[e>>2];if(d){Ea[v[b+8>>2]](b,d)}v[e>>2]=0;e=c+1964|0;d=v[e>>2];if(d){Ea[v[b+8>>2]](b,d)}v[e>>2]=0;d=c+3060|0;if(v[d>>2]){Qb(v[c+4>>2],d)}t[c+3052|0]=0;v[c+3056>>2]=0;v[c+3064>>2]=0;d=v[c+3092>>2];if(d){Ea[v[b+8>>2]](b,d)}v[c+3092>>2]=0;d=v[c+1348>>2];if(d){Ea[v[b+8>>2]](b,d)}v[c+1348>>2]=0;d=v[c+1352>>2];if(d){Ea[v[b+8>>2]](b,d)}v[c+1352>>2]=0;d=v[c+1360>>2];if(d){Ea[v[b+8>>2]](b,d)}v[c+1360>>2]=0;b=v[c+1364>>2];if(b){Ea[v[f+8>>2]](f,b)}v[c+1364>>2]=0;b=v[c+3108>>2];if(b){Ea[b|0](v[c+3104>>2]);b=v[c+3104>>2];if(b){Ea[v[f+8>>2]](f,b)}v[c+3104>>2]=0}b=v[c+3132>>2];if(b){Ea[v[f+8>>2]](f,b)}v[c+3132>>2]=0;f=v[a+712>>2];if(f){Ea[v[i+8>>2]](i,f)}v[a+712>>2]=0}f=v[a+548>>2];if(f){Ea[v[f+44>>2]](a)}v[a+736>>2]=0}}function zh(a,b,c,d,e,f){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,v=0,w=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;a:{if(!c){break a}o=(f<<1)+d|0;if(!o){d=16;while(1){if(c>>>0<=d>>>0){break a}d=d+16|0;continue}}l=d<<4;J=0-(f<<4)|0;if((f|0)>=1){while(1){p=0;m=0;while(1){d=m+J|0;g=d>>>0<l>>>0?(d<<1)+b|0:448064;K=x[g+30>>1];L=x[g+28>>1];M=x[g+26>>1];N=x[g+24>>1];O=x[g+22>>1];P=x[g+20>>1];Q=x[g+18>>1];R=x[g+16>>1];S=x[g+14>>1];T=x[g+12>>1];U=x[g+10>>1];V=x[g+8>>1];W=x[g+6>>1];X=x[g+4>>1];Y=x[g+2>>1];Z=x[g>>1];q=32768;r=32768;s=32768;t=32768;v=32768;w=32768;y=32768;z=32768;A=32768;C=32768;D=32768;E=32768;F=32768;G=32768;H=32768;I=32768;d=f;while(1){k=(d-f<<4)+m|0;h=l>>>0>k>>>0?(k<<1)+b|0:448064;k=m-(d+f<<4)|0;i=l>>>0>k>>>0?(k<<1)+b|0:448064;k=d-1|0;j=u[(k<<1)+e>>1];q=B((x[h+30>>1]-K<<16>>16)+(x[i+30>>1]-K<<16>>16)|0,j)+q|0;r=B(j,(x[h+28>>1]-L<<16>>16)+(x[i+28>>1]-L<<16>>16)|0)+r|0;s=B(j,(x[h+26>>1]-M<<16>>16)+(x[i+26>>1]-M<<16>>16)|0)+s|0;t=B(j,(x[h+24>>1]-N<<16>>16)+(x[i+24>>1]-N<<16>>16)|0)+t|0;v=B(j,(x[h+22>>1]-O<<16>>16)+(x[i+22>>1]-O<<16>>16)|0)+v|0;w=B(j,(x[h+20>>1]-P<<16>>16)+(x[i+20>>1]-P<<16>>16)|0)+w|0;y=B(j,(x[h+18>>1]-Q<<16>>16)+(x[i+18>>1]-Q<<16>>16)|0)+y|0;z=B(j,(x[h+16>>1]-R<<16>>16)+(x[i+16>>1]-R<<16>>16)|0)+z|0;A=B(j,(x[h+14>>1]-S<<16>>16)+(x[i+14>>1]-S<<16>>16)|0)+A|0;C=B(j,(x[h+12>>1]-T<<16>>16)+(x[i+12>>1]-T<<16>>16)|0)+C|0;D=B(j,(x[h+10>>1]-U<<16>>16)+(x[i+10>>1]-U<<16>>16)|0)+D|0;E=B(j,(x[h+8>>1]-V<<16>>16)+(x[i+8>>1]-V<<16>>16)|0)+E|0;F=B(j,(x[h+6>>1]-W<<16>>16)+(x[i+6>>1]-W<<16>>16)|0)+F|0;G=B(j,(x[h+4>>1]-X<<16>>16)+(x[i+4>>1]-X<<16>>16)|0)+G|0;H=B(j,(x[h+2>>1]-Y<<16>>16)+(x[i+2>>1]-Y<<16>>16)|0)+H|0;I=B(j,(x[h>>1]-Z<<16>>16)+(x[i>>1]-Z<<16>>16)|0)+I|0;h=(d|0)>1;d=k;if(h){continue}break}u[a>>1]=x[g>>1]+(I>>>16|0);u[a+2>>1]=x[g+2>>1]+(H>>>16|0);u[a+4>>1]=x[g+4>>1]+(G>>>16|0);u[a+6>>1]=x[g+6>>1]+(F>>>16|0);u[a+8>>1]=x[g+8>>1]+(E>>>16|0);u[a+10>>1]=x[g+10>>1]+(D>>>16|0);u[a+12>>1]=x[g+12>>1]+(C>>>16|0);u[a+14>>1]=x[g+14>>1]+(A>>>16|0);u[a+16>>1]=x[g+16>>1]+(z>>>16|0);u[a+18>>1]=x[g+18>>1]+(y>>>16|0);u[a+20>>1]=x[g+20>>1]+(w>>>16|0);u[a+22>>1]=x[g+22>>1]+(v>>>16|0);u[a+24>>1]=x[g+24>>1]+(t>>>16|0);u[a+26>>1]=x[g+26>>1]+(s>>>16|0);u[a+28>>1]=x[g+28>>1]+(r>>>16|0);u[a+30>>1]=x[g+30>>1]+(q>>>16|0);m=m+16|0;a=a+32|0;p=p+1|0;if((p|0)!=(o|0)){continue}break}b=(l<<1)+b|0;n=n+16|0;if(n>>>0<c>>>0){continue}break a}}while(1){e=0;f=1;while(1){d=e+J|0;d=d>>>0<l>>>0?(d<<1)+b|0:448064;u[a>>1]=x[d>>1];u[a+2>>1]=x[d+2>>1];u[a+4>>1]=x[d+4>>1];u[a+6>>1]=x[d+6>>1];u[a+8>>1]=x[d+8>>1];u[a+10>>1]=x[d+10>>1];u[a+12>>1]=x[d+12>>1];u[a+14>>1]=x[d+14>>1];u[a+16>>1]=x[d+16>>1];u[a+18>>1]=x[d+18>>1];u[a+20>>1]=x[d+20>>1];u[a+22>>1]=x[d+22>>1];u[a+24>>1]=x[d+24>>1];u[a+26>>1]=x[d+26>>1];u[a+28>>1]=x[d+28>>1];u[a+30>>1]=x[d+30>>1];a=a+32|0;if((f|0)!=(o|0)){e=e+16|0;f=f+1|0;continue}break}b=(l<<1)+b|0;n=n+16|0;if(n>>>0<c>>>0){continue}break}}}function If(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{e=v[a+40>>2];if(v[a+20>>2]|!e){break a}v[a+40>>2]=v[e+20>>2];d=v[a+4>>2];v[e+20>>2]=0;v[e+4>>2]=d;c=v[e>>2];v[a+4>>2]=c;k=d-c|0;if(!k){if(!v[e+12>>2]){break a}O(279973,279955,278,279992);L()}b:{c:{d:{e:{if(b){h=a+56|0;if(v[h+32>>2]){d=v[e+4>>2];g=v[e>>2];c=d-g|0;f:{if(!c){d=0;break f}f=c&3;g:{if(d+(g^-1)>>>0<3){c=0;d=0;break g}i=c&-4;c=0;d=0;while(1){d=B(t[g+(c|3)|0],-1640531535)+B(B(t[g+(c|2)|0],-1640531535)+B(B(t[g+(c|1)|0],-1640531535)+B(B(t[c+g|0],-1640531535)+d|0,31)|0,31)|0,31)|0;c=c+4|0;i=i-4|0;if(!i){break g}d=B(d,31);continue}}if(!f){break f}while(1){d=B(t[c+g|0],-1640531535)+B(d,31)|0;c=c+1|0;f=f-1|0;if(f){continue}break}}i=h;l=e;g=v[e+12>>2]<<4;if(g){j=v[e+16>>2];c=0;f=0;while(1){f=B(t[j+(c|3)|0],-1640531535)+B(B(t[j+(c|2)|0],-1640531535)+B(B(t[j+(c|1)|0],-1640531535)+B(B(t[c+j|0],-1640531535)+f|0,31)|0,31)|0,31)|0;c=c+4|0;if((g|0)==(c|0)){d=d^f}else{f=B(f,31);continue}break}}d=mn(i,l,d);c=0;f=v[h+32>>2]+B(d,12)|0;d=v[f>>2];h:{if(!d){break h}h=v[f+4>>2];if(!h){break h}i=v[d>>2];f=v[d+4>>2]-i|0;g=v[e>>2];if((f|0)!=(v[e+4>>2]-g|0)){break h}j=v[d+12>>2];if((j|0)!=v[e+12>>2]){break h}if(f){if(lc(i,g,f)){break h}}g=j<<4;i:{if(!g){break i}i=v[d+16>>2];j=v[e+16>>2];if(w[i|0]!=w[j|0]){break h}f=1;while(1){d=f;if((g|0)==(d|0)){break i}f=d+1|0;if(w[d+i|0]==w[d+j|0]){continue}break}if(d>>>0<g>>>0){break h}}c=h}}else{c=0}f=c;if(c){break e}c=v[e>>2]}d=v[a+8>>2]-k|0;v[a+8>>2]=d;mb(d,c,k);c=v[a+8>>2];v[e>>2]=c;v[e+4>>2]=c+k;j:{k:{l:{d=v[a+44>>2];if((d|0)>=0){c=v[a+48>>2];f=c+1|0;f=(f|0)>0?f:0;if(f>>>0<=d>>>0){break k}c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(!(c>>>0<d>>>0|c>>>0>1073741822)){d=gb(v[a+52>>2],c<<2);if(d){break l}}v[a+44>>2]=-1}v[163916]=v[70112];break j}v[a+44>>2]=c;v[a+52>>2]=d;c=v[a+48>>2]}if(c>>>0<f>>>0){Ra(v[a+52>>2]+(c<<2)|0,0,f-c<<2)}v[a+48>>2]=f;c=v[a+52>>2];v[163916]=v[70112];c=(c+(f<<2)|0)-4|0;if((c|0)==655664){break j}v[c>>2]=e}m:{c=v[a+20>>2];n:{if(!(c|v[a+44>>2]>-1)){v[a+20>>2]=1;break n}if(!c){break m}}Pa(v[e+16>>2]);v[e+16>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;return 0}f=v[a+48>>2]-1|0;c=0;if(!b){break b}c=v[e+4>>2];h=v[e>>2];b=c-h|0;if(!b){b=0;break c}d=b&3;if(c+(h^-1)>>>0<3){c=0;b=0;break d}g=b&-4;c=0;b=0;while(1){b=B(t[h+(c|3)|0],-1640531535)+B(B(t[h+(c|2)|0],-1640531535)+B(B(t[h+(c|1)|0],-1640531535)+B(B(t[c+h|0],-1640531535)+b|0,31)|0,31)|0,31)|0;c=c+4|0;g=g-4|0;if(!g){break d}b=B(b,31);continue}}Pa(v[e+16>>2]);v[e+16>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;break a}if(!d){break c}while(1){b=B(t[c+h|0],-1640531535)+B(b,31)|0;c=c+1|0;d=d-1|0;if(d){continue}break}}g=a+56|0;h=e;i=v[e+12>>2]<<4;if(i){e=v[e+16>>2];c=0;d=0;while(1){d=B(t[e+(c|3)|0],-1640531535)+B(B(t[e+(c|2)|0],-1640531535)+B(B(t[e+(c|1)|0],-1640531535)+B(B(t[c+e|0],-1640531535)+d|0,31)|0,31)|0,31)|0;c=c+4|0;if((i|0)==(c|0)){b=b^d}else{d=B(d,31);continue}break}}tw(g,h,b,f);c=v[a+20>>2]}if(c|w[a+68|0]){break a}v[a+20>>2]=1;return f}return f}function hv(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Va(16);if(c){v[c+12>>2]=5;v[c+4>>2]=6;v[c>>2]=0;v[c+8>>2]=7}if(!c){return 7}d=6;a:{if(!(!c|!a)){b=Ea[v[c+4>>2]](c,208)|0;d=64;if(!b){break a}Ra(b+16|0,0,188);v[b+204>>2]=1;v[b+12>>2]=0;v[b+4>>2]=2;v[b+8>>2]=11;v[b>>2]=c;v[a>>2]=b;d=0}}j=d;b:{if(d){Pa(c);break b}b=v[a>>2];Kc(b,4528);Kc(b,6960);Kc(b,9800);Kc(b,14616);Kc(b,17516);Kc(b,17804);Kc(b,19124);Kc(b,25296);Kc(b,26124);Kc(b,161424);Kc(b,294140);Kc(b,298936);Kc(b,299004);Kc(b,299120);Kc(b,299208);Kc(b,299300);Kc(b,299876);Kc(b,363304)}i=v[a>>2];h=Ca-432|0;Ca=h;c:{b=Yb(363473);if(!b){break c}while(1){g=0;d:{e:{f:{d=b;c=w[b|0];switch(c|0){case 9:break d;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break e;case 0:break c;default:break f}}if((c|0)==32){break d}}while(1){g:{h:{a=c&255;if(a?(a|0)!=58:0){t[(h+288|0)+g|0]=c;d=d+1|0;g=g+1|0;if((g|0)!=128){break h}a=h+416|0}else{a=(h+288|0)+g|0}t[a|0]=0;if((b|0)==(d|0)|w[d|0]!=58){break c}a=1;g=d+1|0;b=0;while(1){c=w[g|0];if(!c){c=b;break g}if((c|0)==61){c=b;break g}t[(h+144|0)+b|0]=c;c=b|1;f=a+1|0;g=f+d|0;e=w[g|0];if(!(e?(e|0)!=61:0)){a=f;break g}t[(h+144|0)+c|0]=e;c=b|2;f=a+2|0;g=f+d|0;e=w[g|0];if(!e){a=f;break g}if((e|0)==61){a=f;break g}t[(h+144|0)+c|0]=e;c=b|3;f=a+3|0;g=f+d|0;e=w[g|0];if(!e){a=f;break g}if((e|0)==61){a=f;break g}t[(h+144|0)+c|0]=e;a=a+4|0;g=d+a|0;c=128;b=b+4|0;if((b|0)!=128){continue}break}a=129;break g}c=w[d|0];continue}break}t[(h+144|0)+c|0]=0;if((a|0)==1|w[g|0]!=61){break c}a=1;b=g+1|0;c=0;i:{while(1){f=a;d=c;j:{k:{e=w[b|0];switch(e|0){case 0:case 9:break i;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break j;default:break k}}if((e|0)!=32){break j}break i}t[c+h|0]=e;d=c|1;l:{m:{f=a+1|0;b=f+g|0;e=w[b|0];switch(e|0){case 0:case 9:break i;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break l;default:break m}}if((e|0)==32){break i}}t[d+h|0]=e;d=c|2;n:{o:{f=a+2|0;b=f+g|0;e=w[b|0];switch(e|0){case 0:case 9:break i;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break n;default:break o}}if((e|0)==32){break i}}t[d+h|0]=e;d=c|3;p:{q:{f=a+3|0;b=f+g|0;e=w[b|0];switch(e|0){case 0:case 9:break i;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break p;default:break q}}if((e|0)==32){break i}}t[d+h|0]=e;a=a+4|0;b=g+a|0;d=128;c=c+4|0;if((c|0)!=128){continue}break}f=129}t[d+h|0]=0;r:{s:{a=w[b|0];switch(a|0){case 0:case 9:break r;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break c;default:break s}}if((a|0)!=32){break c}}if((f|0)==1){break c}e=h+288|0;f=h+144|0;t:{if(!i){break t}u:{if(!h|(!e|!f)){break u}a=i+20|0;c=v[i+16>>2];d=a+(c<<2)|0;v:{if((c|0)<1){break v}while(1){if(!Wa(v[v[v[a>>2]>>2]+8>>2],e)){break v}a=a+4|0;if(d>>>0>a>>>0){continue}break}}if((a|0)==(d|0)){break t}d=v[a>>2];c=v[v[d>>2]+32>>2];if(!c){break u}c=Ea[c|0](d,4438)|0;if(!c){break u}c=v[c>>2];if(!c){break u}Ea[c|0](v[a>>2],f,h,1)|0}}if(!w[b|0]){break c}}b=b+1|0;continue}}Ca=h+432|0;return j}function kx(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;f=v[b+4>>2];a:{if(f>>>0>a>>>0){break a}g=v[b+8>>2];if(g>>>0<a>>>0|g-a>>>0<4){break a}d=v[b+12>>2]-4|0;v[b+12>>2]=d;if((d|0)<1){break a}e=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>89478484){break a}if(e){j=a+4|0;if(j>>>0<f>>>0|g>>>0<j>>>0){break a}e=B(e,48);if(e>>>0>g-j>>>0){break a}e=d-e|0;v[b+12>>2]=e;if((e|0)<1){break a}p=1;d=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);s=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!s){break a}while(1){p=0;j=B(q,48)+a|0;d=j+4|0;if(d>>>0<f>>>0|d>>>0>g>>>0|g-d>>>0<48){break a}n=v[c>>2];v[b+12>>2]=e-48;if((e|0)<49){break a}f=0;h=v[b+4>>2];b:{c:{if(h>>>0>d>>>0){break c}g=v[b+8>>2];if(g>>>0<d>>>0|g-d>>>0<4){break c}m=v[b+12>>2]-4|0;v[b+12>>2]=m;if((m|0)<1){break c}l=t[d|0];if((l|0)<0){break c}i=w[j+12|0]|w[j+13|0]<<8|(w[j+14|0]<<16|w[j+15|0]<<24);o=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);e=0;if(o>>>0>536870910){break b}e=1;if(!o){break b}n=n+(w[d+3|0]|(w[d+1|0]<<16|(l&255)<<24|w[d+2|0]<<8))|0;e=0;if(n>>>0<h>>>0){break b}e=0;if(g>>>0<n>>>0){break b}e=o<<3;if(e>>>0>g-n>>>0){break c}f=m-e|0;v[b+12>>2]=f;m=0;e=0;if((f|0)<1){break b}while(1){e=0;f=n+(m<<3)|0;g=v[b+4>>2];d:{if(f>>>0<g>>>0){break d}d=v[b+8>>2];if(d>>>0<f>>>0|d-f>>>0<8){break d}i=v[b+12>>2];h=i-8|0;v[b+12>>2]=h;if((h|0)<1){break d}h=w[f+3|0]|w[f+2|0]<<8;l=w[f+1|0]|w[f|0]<<8;if(h>>>0<l>>>0){break d}k=g;g=f+4|0;if(k>>>0>g>>>0|d>>>0<g>>>0|d-g>>>0<4){break d}d=i-12|0;v[b+12>>2]=d;if((d|0)<1){break d}e=t[f+4|0];f=w[f+7|0]|(w[f+5|0]<<16|e<<24|w[f+6|0]<<8);d=(f|0)!=0&(e|0)<0;e=!d;if(d|!f){break d}e=1;h=(h-l|0)+1|0;e:{f:{l=v[b+4>>2];d=f+n|0;if(l>>>0>d>>>0){break f}i=v[b+8>>2];if(i>>>0<d>>>0|i-d>>>0<8){break f}r=v[b+12>>2];k=r-8|0;v[b+12>>2]=k;f=1;if((k|0)<1){break f}g:{h:{i:{j:{k=w[d|0]|w[d+1|0]<<8;switch(((k<<8|k>>>8)&65535)-1|0){case 2:break i;case 0:break j;default:break g}}f=r-16|0;v[b+12>>2]=f;if((f|0)<1){break f}h=h+1|0;if(h>>>0>1073741822){break f}if(!h){break h}d=d+8|0;if(d>>>0<l>>>0|d>>>0>i>>>0){break f}k=i-d|0;d=h<<2;if(k>>>0<d>>>0){break f}d=f-d|0;v[b+12>>2]=d;f=0;if((d|0)>=1){break h}break g}f=r-16|0;v[b+12>>2]=f;if((f|0)<1){break f}h=h+1|0;if(h>>>0>2147483646){break f}if(!h){break h}d=d+8|0;if(d>>>0<l>>>0|d>>>0>i>>>0){break f}k=i-d|0;d=h<<1;if(k>>>0<d>>>0){break f}d=f-d|0;v[b+12>>2]=d;f=0;if((d|0)<1){break g}}f=1}break e}f=0}if(f){break d}e=0;f=v[b+24>>2];if(f>>>0>31){break d}v[b+24>>2]=f+1;if(!w[b+20|0]){break d}t[g|0]=0;t[g+1|0]=0;t[g+2|0]=0;t[g+3|0]=0;e=1}f=e;if(!f){break c}m=m+1|0;if((o|0)!=(m|0)){continue}break}}e=f}if(!e){break a}f=v[b+4>>2];e=j+20|0;if(f>>>0>e>>>0){break a}g=v[b+8>>2];if(e>>>0>g>>>0|g-e>>>0<12){break a}d=v[b+12>>2];e=d-12|0;v[b+12>>2]=e;if((e|0)<1){break a}e=j+32|0;if(e>>>0<f>>>0|e>>>0>g>>>0|g-e>>>0<12){break a}e=d-24|0;v[b+12>>2]=e;if((e|0)<=0){break a}q=q+1|0;if((s|0)!=(q|0)){continue}break}}p=1}return p}function dL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=Ca-16|0;Ca=j;v[j+8>>2]=c;v[j+12>>2]=a;c=Ra(c,0,652);e=w[b+8|0];t[c+188|0]=e;a:{if(!e){break a}g=e&3;if(e-1>>>0>=3){e=e&252;h=c+192|0;i=b+12|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break a}while(1){v[(c+(d<<2)|0)+192>>2]=u[((d<<1)+b|0)+12>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}e=w[b+9|0];t[c+189|0]=e;b:{if(!e){break b}g=e&3;d=0;if(e-1>>>0>=3){e=e&252;h=c+248|0;i=b+40|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break b}while(1){v[(c+(d<<2)|0)+248>>2]=u[((d<<1)+b|0)+40>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}e=w[b+10|0];t[c+190|0]=e;c:{if(!e){break c}g=e&3;d=0;if(e-1>>>0>=3){e=e&252;h=c+288|0;i=b+60|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break c}while(1){v[(c+(d<<2)|0)+288>>2]=u[((d<<1)+b|0)+60>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}e=w[b+11|0];t[c+191|0]=e;d:{if(!e){break d}g=e&3;d=0;if(e-1>>>0>=3){e=e&252;h=c+344|0;i=b+88|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break d}while(1){v[(c+(d<<2)|0)+344>>2]=u[((d<<1)+b|0)+88>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}v[c+384>>2]=v[b+108>>2];v[c+388>>2]=v[b+112>>2];v[c+392>>2]=v[b+116>>2];v[c+396>>2]=x[b+120>>1];v[c+400>>2]=x[b+122>>1];e=w[b+124|0];t[c+404|0]=e;e:{if(!e){break e}g=e&3;d=0;if(e-1>>>0>=3){e=e&252;h=c+408|0;i=b+128|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break e}while(1){v[(c+(d<<2)|0)+408>>2]=u[((d<<1)+b|0)+128>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}e=w[b+125|0];t[c+405|0]=e;f:{if(!e){break f}g=e&3;d=0;if(e-1>>>0>=3){e=e&252;h=c+460|0;i=b+154|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break f}while(1){v[(c+(d<<2)|0)+460>>2]=u[((d<<1)+b|0)+154>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}t[c+512|0]=w[b+126|0];v[c+520>>2]=v[b+4>>2];v[c+524>>2]=v[b+184>>2];b=v[b+180>>2];v[c+552>>2]=c;v[c+528>>2]=b;g:{h:{a=v[a+128>>2];d=v[a+60>>2];if((d|0)==-1){break h}v[c+648>>2]=d;if(!d){break h}while(1){b=d<<13^d;b=b>>>17^b;d=b<<5^b;if((d|0)<0){continue}break}v[a+60>>2]=d;break g}a=j+4^(j+8^j+12);a=a>>>10^a^a>>>20;v[c+648>>2]=a?a:29572}Ca=j+16|0}function qo(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;p=Ca-16|0;Ca=p;g=v[b+4>>2];a:{if(g>>>0>a>>>0){break a}e=v[b+8>>2];if(e>>>0<a>>>0|e-a>>>0<2){break a}i=v[b+12>>2]-2|0;v[b+12>>2]=i;if((i|0)<1){break a}h=w[a+1|0]|w[a|0]<<8;if(!h){d=1;break a}j=a+2|0;if(j>>>0<g>>>0|e>>>0<j>>>0){break a}f=e-j|0;e=h<<1;if(f>>>0<e>>>0){break a}e=i-e|0;v[b+12>>2]=e;if((e|0)<1){break a}d=1;r=w[a+1|0]|w[a|0]<<8;if(!r){break a}d=0;m=a+2|0;if(g>>>0>m>>>0){break a}while(1){b:{d=v[b+8>>2];if(d>>>0<m>>>0|d-m>>>0<2){break b}d=v[c>>2];e=v[b+12>>2]-2|0;v[b+12>>2]=e;if((e|0)<1){break b}e=w[((q<<1)+a|0)+3|0]|w[m|0]<<8;c:{if(!e){break c}j=d+e|0;v[p+12>>2]=j;d=0;i=v[b+4>>2];d:{e:{if(i>>>0>j>>>0){break e}g=v[b+8>>2];if(g>>>0<j>>>0|g-j>>>0<2){break e}h=v[b+12>>2]-2|0;v[b+12>>2]=h;if((h|0)<1){break e}l=w[j+1|0]|w[j|0]<<8;f=1;if(!l){break d}e=j+2|0;if(e>>>0<i>>>0|e>>>0>g>>>0){break e}f=g-e|0;e=l<<1;if(f>>>0<e>>>0){break e}e=h-e|0;v[b+12>>2]=e;if((e|0)<1){break e}d=1;s=w[j+1|0]|w[j|0]<<8;if(!s){break e}d=0;n=j+2|0;if(i>>>0>n>>>0){break e}o=0;while(1){f:{d=v[b+8>>2];if(d>>>0<n>>>0|d-n>>>0<2){break f}d=v[p+12>>2];e=v[b+12>>2]-2|0;v[b+12>>2]=e;if((e|0)<1){break f}g=w[(j+(o<<1)|0)+3|0]|w[n|0]<<8;g:{if(!g){break g}e=0;d=d+g|0;l=v[b+4>>2];h:{if(d>>>0<l>>>0){break h}i=v[b+8>>2];if(i>>>0<d>>>0|i-d>>>0<2){break h}g=v[b+12>>2]-2|0;v[b+12>>2]=g;if((g|0)<1){break h}f=w[d+1|0];h=w[d|0];k=f|h<<8;if(k){h=d+2|0;if(h>>>0<l>>>0|h>>>0>i>>>0){break h}f=i-h|0;h=k<<1;if(f>>>0<h>>>0){break h}g=g-h|0;v[b+12>>2]=g;if((g|0)<1){break h}f=w[d+1|0];h=w[d|0]}d=(d+(f<<1|h<<9)|0)+2|0;if(d>>>0<l>>>0|d>>>0>i>>>0|i-d>>>0<2){break h}h=g-2|0;v[b+12>>2]=h;if((g|0)<3){break h}i:{k=w[d+1|0]|w[d|0]<<8;f=0;j:{if(!k){break j}k=k-1|0;if(k>>>0>2147483646){break h}f=1;if(!k){break j}f=d+2|0;if(f>>>0<l>>>0|i>>>0<f>>>0){break h}g=i-f|0;f=k<<1;if(g>>>0<f>>>0){break h}h=h-f|0;v[b+12>>2]=h;if((h|0)<1){break h}f=w[d+1|0]|w[d|0]<<8}d=(f?f<<1:2)+d|0;if(d>>>0<l>>>0|d>>>0>i>>>0|i-d>>>0<2){break i}g=h-2|0;v[b+12>>2]=g;if((h|0)<3){break i}f=w[d+1|0];h=w[d|0];k=f|h<<8;if(k){e=d+2|0;if(e>>>0<l>>>0|e>>>0>i>>>0){break i}f=i-e|0;e=k<<1;if(f>>>0<e>>>0){break i}g=g-e|0;v[b+12>>2]=g;if((g|0)<1){break i}f=w[d+1|0];h=w[d|0]}d=(d+(f<<1|h<<9)|0)+2|0;if(d>>>0<l>>>0|d>>>0>i>>>0|i-d>>>0<2){break i}e=g-2|0;v[b+12>>2]=e;if((g|0)<3){break i}g=w[d+1|0]|w[d|0]<<8;if(g){d=d+2|0;if(d>>>0<l>>>0|d>>>0>i>>>0){break i}f=i-d|0;d=g<<2;if(f>>>0<d>>>0){break i}d=e-d|0;v[b+12>>2]=d;e=0;if((d|0)<1){break h}}e=1;break h}e=0}if(e){break g}d=v[b+24>>2];if(d>>>0>31){break f}v[b+24>>2]=d+1;if(!w[b+20|0]){break f}t[n|0]=0;t[n+1|0]=0}d=1;o=o+1|0;if((s|0)==(o|0)){break e}n=(j+(o<<1)|0)+2|0;if(n>>>0>=y[b+4>>2]){continue}}break}d=0}f=d}if(f){break c}d=v[b+24>>2];if(d>>>0>31){break b}v[b+24>>2]=d+1;if(!w[b+20|0]){break b}t[m|0]=0;t[m+1|0]=0}d=1;q=q+1|0;if((r|0)==(q|0)){break a}m=((q<<1)+a|0)+2|0;if(m>>>0>=y[b+4>>2]){continue}}break}d=0}Ca=p+16|0;return d}function zw(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{b:{c:{d:{n=(f|0)!=0&b;if(!n){break d}o=eb(f,16);if(o){break d}o=0;break c}i=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=i;v[a+16>>2]=v[d+16>>2];i=v[d+12>>2];v[a+8>>2]=v[d+8>>2];v[a+12>>2]=i;v[a+24>>2]=f;v[a+20>>2]=b?o:e;e:{if(!n){break e}f:{g:{i=Ta(o,e,f<<4);if(v[i+8>>2]){b=1;e=f&1;if((f|0)==1){break g}f=f&-2;b=0;while(1){d=b&1;if(!d){v[i+8>>2]=1}if(v[i+12>>2]!=-1){v[i+12>>2]=2}b=0;if(!d){v[i+8>>2]=1;b=1}if(v[i+12>>2]!=-1){v[i+12>>2]=2}f=f-2|0;if(!f){break g}b=!b;continue}}d=v[i+12>>2];if((d|0)==-1){break e}e=f&3;if(f-1>>>0<3){b=d;break f}f=f&-4;while(1){b=-1;if((d|0)!=-1){v[i+12>>2]=2;b=2}d=b;f=f-4|0;if(f){continue}break}break f}if(!e){break e}if(b){v[i+8>>2]=1}if(v[i+12>>2]==-1){break e}v[i+12>>2]=2;break e}if(!e){break e}while(1){d=(b|0)==-1;b=-1;if(!d){v[i+12>>2]=2;b=2}e=e-1|0;if(e){continue}break}}v[a+36>>2]=0;v[a+40>>2]=0;$o(c,1196643650,g,h,a+28|0);$o(c,1196445523,g,h,a+32|0);g=c;l=g;f=v[163913];if(!f){while(1){h:{d=0;f=0;j=Ca-32|0;Ca=j;k=Yb(279448);i:{if(!k|!w[k|0]){break i}h=eb(1,40);if(!h){break i}b=v[69861];v[h+32>>2]=v[69860];v[h+36>>2]=b;b=v[69859];v[h+24>>2]=v[69858];v[h+28>>2]=b;b=v[69857];v[h+16>>2]=v[69856];v[h+20>>2]=b;b=v[69855];v[h+8>>2]=v[69854];v[h+12>>2]=b;b=v[69853];v[h>>2]=v[69852];v[h+4>>2]=b;m=h+20|0;while(1){f=Tb(k,44);if(!f){f=Xa(k)+k|0}j:{if(d>>>0>1){break j}b=d;e=h+B(b,20)|0;p=f-k|0;k:{if((Xa(e)|0)!=(p|0)){break k}b=d;if($a(e,k,p)){break k}n=v[e+16>>2];v[j+24>>2]=n;q=v[e+12>>2];i=v[e+8>>2];v[j+16>>2]=i;v[j+20>>2]=q;r=v[e+4>>2];b=v[e>>2];v[j+8>>2]=b;v[j+12>>2]=r;v[e+16>>2]=n;v[e+8>>2]=i;v[e+12>>2]=q;v[e>>2]=b;v[e+4>>2]=r;b=d+1|0}l:{if(d){break l}if((Xa(m)|0)!=(p|0)){break l}if($a(m,k,p)){break l}v[j+24>>2]=v[m+16>>2];d=v[m+12>>2];v[j+16>>2]=v[m+8>>2];v[j+20>>2]=d;d=v[m+4>>2];v[j+8>>2]=v[m>>2];v[j+12>>2]=d;e=h+B(b,20)|0;mb(e+20|0,e,B(1-b|0,20));v[e+16>>2]=v[j+24>>2];d=v[j+20>>2];v[e+8>>2]=v[j+16>>2];v[e+12>>2]=d;d=v[j+12>>2];v[e>>2]=v[j+8>>2];v[e+4>>2]=d;d=b+1|0;break j}d=b}k=f+1|0;if(w[f|0]){continue}break}f=h}Ca=j+32|0;b=f?f:279408;f=v[163913];if(!f){v[163913]=b;f=b;break h}if((b|0)!=279408){Pa(b);f=v[163913]}if(!f){continue}}break}}m:{n:{o:{p:{b=v[f+16>>2];if((b|0)==568){if(v[g+40>>2]){break m}while(1){if(!v[c+36>>2]){break p}if(!v[g+40>>2]){break n}if(!v[g+40>>2]){continue}break}break m}if((b|0)!=569){break p}if(v[l+44>>2]){break a}while(1){if(!v[c+36>>2]){break p}if(!v[l+44>>2]){break o}if(!v[l+44>>2]){continue}break}break a}b=v[f+36>>2];if((b|0)!=568){if((b|0)!=569){break c}if(v[l+44>>2]){break a}while(1){if(!v[c+36>>2]){break c}if(!v[l+44>>2]){break o}if(!v[l+44>>2]){continue}break}break a}if(v[g+40>>2]){break m}while(1){if(!v[c+36>>2]){break c}if(!v[g+40>>2]){break n}if(!v[g+40>>2]){continue}break}break m}v[l+44>>2]=1;break a}v[g+40>>2]=1}break b}Pa(o);return 0}v[a+40>>2]=279463;v[a+36>>2]=568;return 1}v[a+40>>2]=279466;v[a+36>>2]=569;return 1}function Zm(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;a:{d=v[a+204>>2];o=d>>8;e=v[a+168>>2];q=c>>8;b:{if((e|0)<=(q|0)?(o|0)>=(e|0):0){break b}r=v[a+164>>2];if((q|0)<(r|0)?(r|0)>(o|0):0){break b}t=c&255;e=d&255;j=v[a+200>>2];if((o|0)==(q|0)){uj(a,o,j,e,b,t);break b}m=c-d|0;s=b-j|0;if(!s){g=v[a+176>>2];d=(m|0)>0;t=d<<8;e=t-e|0;v[g+4>>2]=e+v[g+4>>2];s=j<<1&510;v[g+8>>2]=v[g+8>>2]+B(s,e);h=j>>8;f=d?1:-1;i=f+o|0;e=i-r|0;c:{if((h|0)<v[a+160>>2]?(e|0)<0|(e|0)>=v[a+172>>2]:1){d=v[a+192>>2];break c}n=v[a+188>>2]+(e<<2)|0;e=v[n>>2];l=v[e>>2];d=v[a+156>>2];g=(d|0)>(h|0)?d-1|0:h;if((l|0)<=(g|0)){while(1){d=e;if((g|0)==(l|0)){break c}e=v[d+12>>2];l=v[e>>2];if((g|0)>=(l|0)){continue}break}n=d+12|0}d=v[a+180>>2];v[a+180>>2]=d+16;if(y[a+184>>2]<=d>>>0){break a}v[d>>2]=g;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=v[n>>2];v[n>>2]=d}v[a+176>>2]=d;if((i|0)!=(q|0)){p=(t<<1)-256|0;g=B(p,s);while(1){v[d+4>>2]=p+v[d+4>>2];v[d+8>>2]=g+v[d+8>>2];i=f+i|0;e=i-r|0;d:{if((h|0)<v[a+160>>2]?(e|0)<0|(e|0)>=v[a+172>>2]:1){d=v[a+192>>2];break d}k=v[a+188>>2]+(e<<2)|0;e=v[k>>2];l=v[e>>2];d=v[a+156>>2];j=(d|0)>(h|0)?d-1|0:h;if((l|0)<=(j|0)){while(1){d=e;if((j|0)==(l|0)){break d}e=v[d+12>>2];l=v[e>>2];if((j|0)>=(l|0)){continue}break}k=d+12|0}d=v[a+180>>2];v[a+180>>2]=d+16;if(y[a+184>>2]<=d>>>0){break a}v[d>>2]=j;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=v[k>>2];v[k>>2]=d}v[a+176>>2]=d;if((i|0)!=(q|0)){continue}break}}e=t+(c|-256)|0;v[d+4>>2]=e+v[d+4>>2];v[d+8>>2]=v[d+8>>2]+B(e,s);break b}r=1;f=a;p=o;g=j;d=e;e:{if((m|0)>=1){l=256;e=256-e|0;break e}m=0-m|0;r=-1}h=p;i=g;k=d;d=B(e,s);e=(d|0)/(m|0)|0;p=d-B(e,m)|0;g=p>>31;n=(e+j|0)+g|0;uj(f,h,i,k,n,l);f:{g:{i=o+r|0;e=i-v[a+164>>2]|0;if(!((e|0)<0|(e|0)>=v[a+172>>2])){f=n>>8;if((f|0)<v[a+160>>2]){break g}}d=v[a+192>>2];break f}k=v[a+188>>2]+(e<<2)|0;e=v[k>>2];h=v[e>>2];d=v[a+156>>2];f=(d|0)>(f|0)?d-1|0:f;if((h|0)<=(f|0)){while(1){d=e;if((f|0)==(h|0)){break f}e=v[d+12>>2];h=v[e>>2];if((f|0)>=(h|0)){continue}break}k=d+12|0}d=v[a+180>>2];v[a+180>>2]=d+16;if(y[a+184>>2]<=d>>>0){break a}v[d>>2]=f;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=v[k>>2];v[k>>2]=d}v[a+176>>2]=d;h:{if((i|0)==(q|0)){k=256-l|0;break h}e=p+(g&m)|0;d=s<<8;f=(d|0)/(m|0)|0;g=d-B(f,m)|0;d=g>>31;p=(d&m)+g|0;g=d+f|0;k=256-l|0;while(1){d=n;j=e+p|0;n=(g+n|0)+((j|0)>=(m|0))|0;uj(a,i,d,k,n,l);i:{j:{i=i+r|0;e=i-v[a+164>>2]|0;if(!((e|0)<0|(e|0)>=v[a+172>>2])){f=n>>8;if((f|0)<v[a+160>>2]){break j}}d=v[a+192>>2];break i}o=v[a+188>>2]+(e<<2)|0;e=v[o>>2];h=v[e>>2];d=v[a+156>>2];f=(d|0)>(f|0)?d-1|0:f;if((h|0)<=(f|0)){while(1){d=e;if((f|0)==(h|0)){break i}e=v[d+12>>2];h=v[e>>2];if((f|0)>=(h|0)){continue}break}o=d+12|0}d=v[a+180>>2];v[a+180>>2]=d+16;if(y[a+184>>2]<=d>>>0){break a}v[d>>2]=f;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=v[o>>2];v[o>>2]=d}e=j-((j|0)<(m|0)?0:m)|0;v[a+176>>2]=d;if((i|0)!=(q|0)){continue}break}}uj(a,q,n,k,b,t)}v[a+204>>2]=c;v[a+200>>2]=b;return}S(a|0,1);L()}function yB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Ca-16|0;Ca=d;a:{b:{if(xq(a,b,c)){di(b);h=Ca-16|0;Ca=h;e=b+132|0;g=e;c:{if(!(a?g:0)){v[h+8>>2]=40;break c}j=v[a+28>>2];f=Fq(a);v[h+8>>2]=f;if(f){break c}v[g+24>>2]=0;v[g+28>>2]=0;v[g>>2]=0;v[g+4>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g+28>>2]=j;f=qb(j,8276,h+8|0);if(!v[h+8>>2]){v[f>>2]=a;v[f+4>>2]=g;i=v[g+28>>2];k=f+8264|0;v[f+8272>>2]=k;v[f+8>>2]=i;v[f+8268>>2]=k;v[f+8264>>2]=0;d:{i=Fq(a);e:{if(i){break e}i=v[a+8>>2];v[f+48>>2]=266;v[f+44>>2]=267;v[f+68>>2]=i;i=v[a+28>>2];v[f+16>>2]=0;v[f+52>>2]=i;v[f+12>>2]=f+4168;i=3;if(Cq(f+12|0,-15)){break e}if(v[f+12>>2]){break d}}v[h+8>>2]=i;if(f){Ea[v[j+8>>2]](j,f)}break c}v[h+8>>2]=0;v[g+12>>2]=f}k=v[a+8>>2];f:{g:{if(!Ya(a,v[a+4>>2]-4|0)){i=Sc(a,h+12|0);l=v[h+12>>2];Ya(a,k);k=l?0:i;if(k-1>>>0<=40958){l=qb(j,k,h+8|0);if(!v[h+8>>2]){if((ok(f,0,l,k)|0)==(k|0)){break f}ok(f,0,0,0);if(l){Ea[v[j+8>>2]](j,l)}}v[h+8>>2]=0;break g}if(k){break g}}i=2147483647}v[g+8>>2]=0;v[g+4>>2]=i;v[g+24>>2]=268;v[g+20>>2]=269;v[g>>2]=0;break c}fi(f+12|0);v[f+52>>2]=0;v[f+44>>2]=0;v[f+48>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f+16>>2]=0;if(f){Ea[v[j+8>>2]](j,f)}v[g+4>>2]=k;v[g+8>>2]=0;v[g+12>>2]=0;v[g+24>>2]=268;v[g+20>>2]=0;v[g>>2]=l}Ca=h+16|0;f=v[h+8>>2];if((f&255)==7){break b}if(f){h=Ca-16|0;Ca=h;f=40;h:{if(!e|!a){break h}j=v[a+28>>2];f=Ya(a,0);if(f){break h}f=Vb(a,h+12|0,2);if(f){break h}f=3;if(w[h+12|0]!=31|w[h+13|0]!=157){break h}v[h+8>>2]=0;f=e;v[f+24>>2]=0;v[f+28>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[f+28>>2]=j;g=wb(j,4292,h+8|0);f=v[h+8>>2];if(!f){v[g>>2]=a;v[g+4>>2]=e;i=v[e+28>>2];k=g+4280|0;v[g+4288>>2]=k;v[g+8>>2]=i;v[g+4284>>2]=k;v[g+4280>>2]=0;i:{i=Ya(a,0);j:{if(i){break j}i=Vb(a,h+14|0,2);if(i){break j}i=3;if(w[h+14|0]!=31){break j}if(w[h+15|0]==157){break i}}v[h+8>>2]=i;if(g){Ea[v[j+8>>2]](j,g)}f=v[h+8>>2];break h}Ra(g+12|0,0,172);v[g+176>>2]=a;j=v[a+28>>2];v[g+100>>2]=g+112;v[g+96>>2]=0;v[g+88>>2]=0;v[g+92>>2]=0;v[g+180>>2]=j;v[g+104>>2]=0;v[g+108>>2]=64;v[g+48>>2]=0;v[g+36>>2]=0;v[g+40>>2]=0;t[g+44|0]=0;v[g+64>>2]=9;v[g+12>>2]=0;v[g+16>>2]=0;v[e+12>>2]=g}v[e+8>>2]=0;v[e>>2]=0;v[e+4>>2]=2147483647;v[e+24>>2]=273;v[e+20>>2]=274}Ca=h+16|0;if((f&255)==7|f){break b}}v[b+104>>2]=e;v[b+172>>2]=a;if(xq(e,b,c)){break b}}a=0;if((c|0)<0){break a}if(c&65535){di(b);a=6;break a}a=1;c=v[b+180>>2];k:{if(!c){break k}e=v[b+176>>2];if(!e|(w[c|0]|32)!=105|((w[c+1|0]|32)!=115|(w[c+2|0]|32)!=111)){break k}a=0;c=c+3|0;if(!Wa(c,25472)){break k}if(!Wa(c,25478)){if(!Wa(e,25483)){break k}}a=1;if(Wa(c,25485)){break k}a=(Wa(e,25494)|0)!=0}v[d+4>>2]=0;v[d+8>>2]=0;v[d>>2]=b;if(!a){v[d+4>>2]=1970170211;v[d+8>>2]=65539}a=yd(25500,0,d,0);break a}di(b);a=2}Ca=d+16|0;return a|0}function Hw(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[a|0]=0;t[a+1|0]=0;g=Gj(b);a:{b:{c:{d:{e:{if(v[b+20>>2]){break e}f:{i=g;s=g;g:{h:{if(y[b>>2]<=g>>>0){d=v[b+4>>2];if(d>>>0<g>>>0){break b}f=g+2|0;if(f>>>0<d>>>0){break a}j=f-d|0;if((j|0)>(v[b+8>>2]-d|0)){break f}l=v[c+16>>2];n=v[c+12>>2];f=v[c+4>>2];h=v[c>>2];Ra(d,0,j);c=v[b+4>>2];v[b+4>>2]=c+j;if(!c){break e}q=(l<<1)+n|0;r=(f<<1)+h|0;c=0;if(!(l?f:0)){break g}e=-1;p=1;j=l;k=n;d=f;c=h;while(1){o=e;e=d?c:280448;e=w[e|0]|w[e+1|0]<<8;e=(e<<8|e>>>8)&65535;m=((o|0)!=(e|0))+m|0;o=(d|0)!=0;c=(o<<1)+c|0;d=d-o|0;if(!((r|0)!=(c|0)|(d|0)!=0)){break h}o=(j|0)!=0;k=(o<<1)+k|0;if((q|0)==(k|0)){break h}j=j-o|0;p=p+1|0;e=e+1|0;continue}}break c}c=B(m,3)>>>0<p>>>0}c=c?512:256;t[s|0]=c;t[i+1|0]=c>>>8;i:{switch((c>>>8|0)-1|0){case 0:c=f>>>0>l>>>0?l:f;n=Og(g+2|0,b,c);j:{if(!n|!c){break j}d=0;if((c|0)!=1){j=c&-2;l=g+4|0;while(1){e=d<<1;i=e+l|0;k=f?h:280448;k=w[k|0]|w[k+1|0]<<8;t[i|0]=k;t[i+1|0]=k>>>8;e=l+(e|2)|0;i=h;h=(f|0)!=0;i=i+(h<<1)|0;f=f-h|0;h=f?i:280448;h=w[h|0]|w[h+1|0]<<8;t[e|0]=h;t[e+1|0]=h>>>8;h=(f|0)!=0;f=f-h|0;h=i+(h<<1)|0;d=d+2|0;j=j-2|0;if(j){continue}break}}if(!(c&1)){break j}c=(d<<1)+g|0;d=f?h:280448;d=w[d|0]|w[d+1|0]<<8;t[c+4|0]=d;t[c+5|0]=d>>>8}if(n){break d}break e;case 1:break i;default:break e}}if(v[b+20>>2]){break e}if(y[b>>2]>g>>>0){break c}c=v[b+4>>2];if(c>>>0<g>>>0){break b}d=g+4|0;if(d>>>0<c>>>0){break a}d=d-c|0;if((d|0)>(v[b+8>>2]-c|0)){break f}Ra(c,0,d);c=v[b+4>>2];v[b+4>>2]=c+d;if(!c){break e}k:{if(!(!f|!l)){p=-1;m=0;j=l;e=n;d=f;c=h;while(1){i=d?c:280448;i=w[i|0]|w[i+1|0]<<8;i=(i<<8|i>>>8)&65535;m=((i|0)!=(p|0))+m|0;k=(d|0)!=0;c=(k<<1)+c|0;d=d-k|0;if(!((r|0)!=(c|0)|(d|0)!=0)){break k}k=(j|0)!=0;e=(k<<1)+e|0;if((q|0)==(e|0)){break k}j=j-k|0;p=i+1|0;continue}}t[g+2|0]=0;t[g+3|0]=0;break d}if(!Gw(g+2|0,b,m)){break e}d=-1;j=0;m=-1;while(1){c=f?h:280448;c=w[c|0]|w[c+1|0]<<8;i=(c<<8|c>>>8)&65535;if((i|0)!=(m|0)){d=d+1|0;m=w[g+3|0]|w[g+2|0]<<8;l:{if(d>>>0>=m>>>0){u[327834]=w[280844]|w[280845]<<8;v[163916]=w[280840]|w[280841]<<8|(w[280842]<<16|w[280843]<<24);m=w[g+3|0]|w[g+2|0]<<8;e=655664;break l}e=(B(d,6)+g|0)+4|0}t[e|0]=c;t[e+1|0]=c>>>8;m:{if(d>>>0>=m>>>0){u[327834]=w[280844]|w[280845]<<8;v[163916]=w[280840]|w[280841]<<8|(w[280842]<<16|w[280843]<<24);e=655664;break m}e=(B(d,6)+g|0)+4|0}k=j<<8|(j&65280)>>>8;t[e+4|0]=k;t[e+5|0]=k>>>8}n:{if((w[g+3|0]|w[g+2|0]<<8)>>>0<=d>>>0){u[327834]=w[280844]|w[280845]<<8;v[163916]=w[280840]|w[280841]<<8|(w[280842]<<16|w[280843]<<24);e=655664;break n}e=(B(d,6)+g|0)+4|0}t[e+2|0]=c;t[e+3|0]=c>>>8;c=(f|0)!=0;h=(c<<1)+h|0;f=f-c|0;if(!((r|0)!=(h|0)|(f|0)!=0)){break d}c=(l|0)!=0;n=(c<<1)+n|0;if((q|0)==(n|0)){break d}j=j+1|0;l=l-c|0;m=i+1|0;continue}}v[b+20>>2]=4}Pg(b);return 0}Qg(b,a,If(b,1));return 1}O(260227,260193,520,260255);L()}O(260267,260193,521,260255);L()}O(260294,260193,522,260255);L()}function _r(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=a+b|0;c=v[a+4>>2];a:{b:{if(c&1){break b}if(!(c&3)){break a}c=v[a>>2];b=c+b|0;c:{a=a-c|0;if((a|0)!=v[164442]){if(c>>>0<=255){e=v[a+8>>2];c=c>>>3|0;d=v[a+12>>2];if((d|0)!=(e|0)){break c}i=657748,j=v[164437]&jQ(-2,c),v[i>>2]=j;break b}h=v[a+24>>2];c=v[a+12>>2];d:{if((c|0)!=(a|0)){d=v[a+8>>2];v[d+12>>2]=c;v[c+8>>2]=d;break d}e:{e=a+20|0;d=v[e>>2];if(d){break e}e=a+16|0;d=v[e>>2];if(d){break e}c=0;break d}while(1){g=e;c=d;e=c+20|0;d=v[e>>2];if(d){continue}e=c+16|0;d=v[c+16>>2];if(d){continue}break}v[g>>2]=0}if(!h){break b}e=v[a+28>>2];d=(e<<2)+658052|0;f:{if(v[d>>2]==(a|0)){v[d>>2]=c;if(c){break f}i=657752,j=v[164438]&jQ(-2,e),v[i>>2]=j;break b}v[h+(v[h+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}v[c+24>>2]=h;d=v[a+16>>2];if(d){v[c+16>>2]=d;v[d+24>>2]=c}d=v[a+20>>2];if(!d){break b}v[c+20>>2]=d;v[d+24>>2]=c;break b}c=v[f+4>>2];if((c&3)!=3){break b}v[164439]=b;v[f+4>>2]=c&-2;v[a+4>>2]=b|1;v[f>>2]=b;return}v[e+12>>2]=d;v[d+8>>2]=e}c=v[f+4>>2];g:{if(!(c&2)){if(v[164443]==(f|0)){v[164443]=a;b=v[164440]+b|0;v[164440]=b;v[a+4>>2]=b|1;if(v[164442]!=(a|0)){break a}v[164439]=0;v[164442]=0;return}if(v[164442]==(f|0)){v[164442]=a;b=v[164439]+b|0;v[164439]=b;v[a+4>>2]=b|1;v[a+b>>2]=b;return}b=(c&-8)+b|0;h:{if(c>>>0<=255){e=v[f+8>>2];c=c>>>3|0;d=v[f+12>>2];if((d|0)==(e|0)){i=657748,j=v[164437]&jQ(-2,c),v[i>>2]=j;break h}v[e+12>>2]=d;v[d+8>>2]=e;break h}h=v[f+24>>2];c=v[f+12>>2];i:{if((f|0)!=(c|0)){d=v[f+8>>2];v[d+12>>2]=c;v[c+8>>2]=d;break i}j:{d=f+20|0;e=v[d>>2];if(e){break j}d=f+16|0;e=v[d>>2];if(e){break j}c=0;break i}while(1){g=d;c=e;d=c+20|0;e=v[d>>2];if(e){continue}d=c+16|0;e=v[c+16>>2];if(e){continue}break}v[g>>2]=0}if(!h){break h}e=v[f+28>>2];d=(e<<2)+658052|0;k:{if(v[d>>2]==(f|0)){v[d>>2]=c;if(c){break k}i=657752,j=v[164438]&jQ(-2,e),v[i>>2]=j;break h}v[h+(v[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break h}}v[c+24>>2]=h;d=v[f+16>>2];if(d){v[c+16>>2]=d;v[d+24>>2]=c}d=v[f+20>>2];if(!d){break h}v[c+20>>2]=d;v[d+24>>2]=c}v[a+4>>2]=b|1;v[a+b>>2]=b;if(v[164442]!=(a|0)){break g}v[164439]=b;return}v[f+4>>2]=c&-2;v[a+4>>2]=b|1;v[a+b>>2]=b}if(b>>>0<=255){b=b>>>3|0;c=(b<<3)+657788|0;d=v[164437];b=1<<b;l:{if(!(d&b)){v[164437]=b|d;b=c;break l}b=v[c+8>>2]}v[c+8>>2]=a;v[b+12>>2]=a;v[a+12>>2]=c;v[a+8>>2]=b;return}e=31;v[a+16>>2]=0;v[a+20>>2]=0;if(b>>>0<=16777215){c=b>>>8|0;g=c+1048320>>>16&8;c=c<<g;e=c+520192>>>16&4;c=c<<e;d=c+245760>>>16&2;c=(c<<d>>>15|0)-(d|(e|g))|0;e=(c<<1|b>>>c+21&1)+28|0}v[a+28>>2]=e;g=(e<<2)+658052|0;m:{d=v[164438];c=1<<e;n:{if(!(d&c)){v[164438]=c|d;v[g>>2]=a;v[a+24>>2]=g;break n}e=b<<((e|0)==31?0:25-(e>>>1|0)|0);c=v[g>>2];while(1){d=c;if((v[c+4>>2]&-8)==(b|0)){break m}c=e>>>29|0;e=e<<1;g=d+(c&4)|0;c=v[g+16>>2];if(c){continue}break}v[g+16>>2]=a;v[a+24>>2]=d}v[a+12>>2]=a;v[a+8>>2]=a;return}b=v[d+8>>2];v[b+12>>2]=a;v[d+8>>2]=a;v[a+24>>2]=0;v[a+12>>2]=d;v[a+8>>2]=b}}function ym(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0;v[e>>2]=0;v[e+4>>2]=0;v[g>>2]=0;v[g+4>>2]=0;a:{w=B(b,40)+a|0;x=w+B(c,40)|0;if((x|0)!=(a|0)){c=i;t=i>>31;while(1){l=v[a+20>>2];b=0;b:{if(v[a+24>>2]){break b}b=0;if(!(l&4)){break b}b=v[a+12>>2]>-1?-1:1}u=a>>>0>=w>>>0;if(l&32){k=v[a+36>>2]<=(i|0)}else{j=v[a>>2];p=v[a+4>>2];k=v[a+(l&2?28:24)>>2];m=k;q=k>>31;k=v[a+8>>2];k=eQ(m,q,k,k>>31);o=Da;q=k;k=v[a+12>>2];m=k;n=k>>31;s=eQ(k,n,c,t);r=q+s|0;k=Da+o|0;k=r>>>0<s>>>0?k+1|0:k;o=j-r|0;n=!!((n|0)>0?1:(n|0)>=0?m:0);j=p-((j>>>0<r>>>0)+k|0)|0;k=!((n?0-(j+((o|0)!=0)|0)|0:j)>>>31|0)}c:{d:{if(k){j=u<<2;l=j+h|0;v[l>>2]=b+v[l>>2];if(v[a+32>>2]>=(i|0)){break c}b=v[a+36>>2];v[d+32>>2]=v[a+32>>2];v[d+36>>2]=b;b=v[a+4>>2];v[d>>2]=v[a>>2];v[d+4>>2]=b;b=v[a+28>>2];v[d+24>>2]=v[a+24>>2];v[d+28>>2]=b;b=v[a+20>>2];v[d+16>>2]=v[a+16>>2];v[d+20>>2]=b;b=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=b;b=v[d+36>>2];v[d+36>>2]=(b|0)<(i|0)?b:i;b=e+j|0;v[b>>2]=v[b>>2]+1;break d}if(l&16){k=v[a+32>>2]>=(i|0)}else{j=v[a>>2];r=v[a+4>>2];k=v[a+(l&2?24:28)>>2];m=k;q=k>>31;k=v[a+8>>2];k=eQ(m,q,k,k>>31);p=Da;q=k;k=v[a+12>>2];o=k>>31;m=eQ(k,o,c,t);n=q+m|0;k=Da+p|0;k=n>>>0<m>>>0?k+1|0:k;p=j-n|0;m=p;p=(o|0)<0;j=r-((j>>>0<n>>>0)+k|0)|0;k=!((p?0-(j+((m|0)!=0)|0)|0:j)>>>31|0)}if(k){j=v[a+36>>2];b=f+32|0;l=v[a+32>>2];v[b>>2]=l;v[b+4>>2]=j;b=v[a+12>>2];v[f+8>>2]=v[a+8>>2];v[f+12>>2]=b;j=v[a+4>>2];k=j;b=v[a>>2];v[f>>2]=b;v[f+4>>2]=j;j=v[a+28>>2];v[f+24>>2]=v[a+24>>2];v[f+28>>2]=j;j=v[a+20>>2];v[f+16>>2]=v[a+16>>2];v[f+20>>2]=j;v[f+36>>2]=v[f+36>>2]-i;l=l-i|0;j=(l|0)>0;v[f+32>>2]=j?l:0;l=v[f+12>>2];l=eQ(l,l>>31,c,t);v[f>>2]=b-l;v[f+4>>2]=k-(Da+(b>>>0<l>>>0)|0);e:{if(j){break e}b=v[f+20>>2];if((b&18)!=18){break e}v[f+20>>2]=b&-5}b=(u<<2)+g|0;v[b>>2]=v[b>>2]+1;f=f+40|0;break c}if(l&2){j=(u<<2)+h|0;v[j>>2]=b+v[j>>2]}b=v[a+4>>2];v[d>>2]=v[a>>2];v[d+4>>2]=b;b=a+32|0;j=v[b+4>>2];l=v[b>>2];v[d+32>>2]=l;v[d+36>>2]=j;b=a;j=a+24|0;k=v[j+4>>2];v[d+24>>2]=v[j>>2];v[d+28>>2]=k;j=a+16|0;k=v[j+4>>2];v[d+16>>2]=v[j>>2];v[d+20>>2]=k;j=a+8|0;k=v[j+4>>2];v[d+8>>2]=v[j>>2];v[d+12>>2]=k;if((i|0)<=(l|0)|v[d+36>>2]<=(i|0)){break a}k=v[a+8>>2];n=v[a+12>>2];r=v[b+16>>2];p=v[b+20>>2];o=v[b+24>>2];m=v[b+28>>2];j=v[a>>2];l=v[a+4>>2];q=v[b+36>>2];s=f+32|0;v[s>>2]=v[b+32>>2];v[s+4>>2]=q;v[f+24>>2]=o;v[f+28>>2]=m;v[f+16>>2]=r;v[f+20>>2]=p;v[f+8>>2]=k;v[f+12>>2]=n;v[f>>2]=j;v[f+4>>2]=l;b=v[d+12>>2];v[f+32>>2]=0;v[f+36>>2]=v[f+36>>2]-i;b=eQ(b,b>>31,c,t);v[f>>2]=j-b;v[f+4>>2]=l-(Da+(b>>>0>j>>>0)|0);v[d+36>>2]=i;v[d+20>>2]=v[d+20>>2]&-5;l=v[f+20>>2]&-9;v[f+20>>2]=l;j=d;b=v[j+20>>2];if(b&2){v[d+20>>2]=l;v[f+20>>2]=b;b=v[d+20>>2]}v[j+20>>2]=b|32;v[f+20>>2]=v[f+20>>2]|16;b=u<<2;j=b+e|0;v[j>>2]=v[j>>2]+1;b=b+g|0;v[b>>2]=v[b>>2]+1;f=f+40|0}d=d+40|0}a=a+40|0;if((x|0)!=(a|0)){continue}break}}return}O(447145,446841,376,447180);L()}function Bj(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;c=v[a+36>>2];m=v[a+40>>2];l=v[a+28>>2];n=v[a+24>>2];r=l+B(n,40)|0;a:{if(b){s=8;if((n|0)<=0){break a}a=l;while(1){v[a+24>>2]=v[a+20>>2];v[a+28>>2]=v[a+8>>2];a=a+40|0;if(r>>>0>a>>>0){continue}break}break a}s=4;if((n|0)<1){break a}a=l;while(1){v[a+24>>2]=v[a+16>>2];v[a+28>>2]=v[a+4>>2];a=a+40|0;if(r>>>0>a>>>0){continue}break}}if((c|0)>=1){w=(c<<2)+m|0;while(1){j=v[m>>2];a=j;h=v[a+36>>2];b:{if(a>>>0>h>>>0){break b}c:{while(1){d:{if(x[a>>1]&s){c=a;e:while(1){d=c;g=d>>>0>=h>>>0;if(!g){c=d+40|0;if(x[d+40>>1]&s){continue}}f=1;f:{g:{e=d+40|0;c=e;k=h>>>0<c>>>0;if(!k){while(1){if(x[c>>1]&s){break g}f=f+1|0;c=d+B(f,40)|0;if(h>>>0>=c>>>0){continue}break}}if((a|0)!=(d|0)){break f}e=v[a+24>>2]-v[a+28>>2]|0;if(!e){break b}if(a>>>0>j>>>0){break d}break c}if(f>>>0<2){continue}f=d+B(f,40)|0;o=f-40|0;f=v[d+28>>2]>v[f+28>>2];g=f?d:c;i=v[g+24>>2];g=v[g+28>>2];p=i-g|0;d=f?c:d;k=v[d+24>>2];f=v[d+28>>2];t=k-f|0;if(!((f|0)!=(g|0)?(i|0)!=(k|0):0)){while(1){d=v[e+28>>2];v[e+24>>2]=(d|0)>(f|0)?(d|0)<(g|0)?k:d+p|0:d+t|0;e=e+40|0;if(o>>>0>=e>>>0){continue}continue e}}u=ab(i-k|0,g-f|0);while(1){d=e;q=d;i=v[d+28>>2];h:{if((i|0)<=(f|0)){d=i+t|0;break h}d=i+p|0;if((g|0)<=(i|0)){break h}d=Qa(i-f|0,u)+k|0}v[q+24>>2]=d;e=e+40|0;if(o>>>0>=e>>>0){continue}break}continue}break}i:{if(g|k){break i}f=v[d+28>>2]>v[a+28>>2];g=f?d:a;c=v[g+24>>2];g=v[g+28>>2];o=c-g|0;f=f?a:d;k=v[f+24>>2];f=v[f+28>>2];p=k-f|0;if(!((f|0)!=(g|0)?(c|0)!=(k|0):0)){while(1){c=v[e+28>>2];v[e+24>>2]=(c|0)>(f|0)?(c|0)<(g|0)?k:c+o|0:c+p|0;e=e+40|0;if(h>>>0>=e>>>0){continue}break i}}t=ab(c-k|0,g-f|0);while(1){c=e;q=c;i=v[c+28>>2];j:{if((i|0)<=(f|0)){c=i+p|0;break j}c=i+o|0;if((g|0)<=(i|0)){break j}c=Qa(i-f|0,t)+k|0}v[q+24>>2]=c;e=e+40|0;if(h>>>0>=e>>>0){continue}break}}if(a>>>0<=l>>>0){break b}g=a-40|0;if(g>>>0<j>>>0){break b}c=v[d+28>>2]>v[a+28>>2];e=c?d:a;h=v[e+24>>2];e=v[e+28>>2];k=h-e|0;a=c?a:d;d=v[a+24>>2];c=v[a+28>>2];i=d-c|0;if(!((c|0)!=(e|0)?(d|0)!=(h|0):0)){while(1){a=v[j+28>>2];v[j+24>>2]=(a|0)>(c|0)?(a|0)<(e|0)?d:a+k|0:a+i|0;j=j+40|0;if(g>>>0>=j>>>0){continue}break b}}u=ab(h-d|0,e-c|0);while(1){a=j;q=a;h=v[a+28>>2];k:{if((h|0)<=(c|0)){a=h+i|0;break k}a=h+k|0;if((e|0)<=(h|0)){break k}a=Qa(h-c|0,u)+d|0}v[q+24>>2]=a;j=j+40|0;if(g>>>0>=j>>>0){continue}break}break b}a=a+40|0;if(h>>>0>=a>>>0){continue}break b}break}while(1){v[j+24>>2]=e+v[j+28>>2];j=j+40|0;if(j>>>0<a>>>0){continue}break}}c=a+40|0;if(h>>>0<c>>>0){break b}while(1){v[a- -64>>2]=e+v[a+68>>2];a=c;c=a+40|0;if(h>>>0>=c>>>0){continue}break}}m=m+4|0;if(w>>>0>m>>>0){continue}break}}l:{if(b){if((n|0)<=0){break l}while(1){v[l+20>>2]=v[l+24>>2];l=l+40|0;if(r>>>0>l>>>0){continue}break}break l}if((n|0)<1){break l}while(1){v[l+16>>2]=v[l+24>>2];l=l+40|0;if(r>>>0>l>>>0){continue}break}}}function zm(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0;v[e>>2]=0;v[e+4>>2]=0;v[g>>2]=0;v[g+4>>2]=0;a:{u=B(b,40)+a|0;w=u+B(c,40)|0;if((w|0)!=(a|0)){r=i;s=i>>31;while(1){n=v[a+20>>2];c=0;b:{if(v[a+32>>2]){break b}c=0;if(!(n&16)){break b}c=v[a+8>>2]>-1?-1:1}t=a>>>0>=u>>>0;if(n&8){b=v[a+28>>2]<=(i|0)}else{b=v[a>>2];o=v[a+4>>2];j=v[a+(n&2?36:32)>>2];k=j;m=j>>31;j=v[a+12>>2];j=eQ(k,m,j,j>>31);m=Da;k=j;j=v[a+8>>2];l=j;p=j>>31;j=eQ(j,p,r,s);k=k+j|0;q=Da+m|0;q=j>>>0>k>>>0?q+1|0:q;j=b-k|0;l=!!((p|0)>0?1:(p|0)>=0?l:0);b=o-((b>>>0<k>>>0)+q|0)|0;b=!((l?0-(b+((j|0)!=0)|0)|0:b)>>>31|0)}c:{d:{if(b){j=t<<2;b=j+h|0;v[b>>2]=c+v[b>>2];if(v[a+24>>2]>=(i|0)){break c}b=v[a+28>>2];v[d+24>>2]=v[a+24>>2];v[d+28>>2]=b;b=v[a+4>>2];v[d>>2]=v[a>>2];v[d+4>>2]=b;b=v[a+36>>2];v[d+32>>2]=v[a+32>>2];v[d+36>>2]=b;b=v[a+20>>2];v[d+16>>2]=v[a+16>>2];v[d+20>>2]=b;b=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=b;b=v[d+28>>2];v[d+28>>2]=(b|0)>(i|0)?i:b;b=e+j|0;v[b>>2]=v[b>>2]+1;break d}if(n&4){b=v[a+24>>2]>=(i|0)}else{b=v[a>>2];p=v[a+4>>2];j=v[a+(n&2?32:36)>>2];k=j;o=j>>31;j=v[a+12>>2];j=eQ(k,o,j,j>>31);m=Da;k=j;j=v[a+8>>2];l=j>>31;j=eQ(j,l,r,s);k=k+j|0;m=Da+m|0;m=j>>>0>k>>>0?m+1|0:m;o=k;j=b-k|0;l=(l|0)<0;b=p-((b>>>0<o>>>0)+m|0)|0;b=!((l?0-(b+((j|0)!=0)|0)|0:b)>>>31|0)}if(b){b=v[a+28>>2];c=f+24|0;j=v[a+24>>2];v[c>>2]=j;v[c+4>>2]=b;l=v[a+4>>2];c=v[a>>2];v[f>>2]=c;v[f+4>>2]=l;b=v[a+36>>2];v[f+32>>2]=v[a+32>>2];v[f+36>>2]=b;b=v[a+20>>2];v[f+16>>2]=v[a+16>>2];v[f+20>>2]=b;b=v[a+12>>2];m=v[a+8>>2];v[f+8>>2]=m;v[f+12>>2]=b;v[f+28>>2]=v[f+28>>2]-i;j=j-i|0;k=(j|0)>0;v[f+24>>2]=k?j:0;b=m>>31;b=eQ(m,b,r,s);v[f>>2]=c-b;v[f+4>>2]=l-(Da+(b>>>0>c>>>0)|0);e:{if(k){break e}b=v[f+20>>2];if((b&6)!=6){break e}v[f+20>>2]=b&-17}b=(t<<2)+g|0;v[b>>2]=v[b>>2]+1;f=f+40|0;break c}if(n&2){b=(t<<2)+h|0;v[b>>2]=c+v[b>>2]}b=v[a+4>>2];v[d>>2]=v[a>>2];v[d+4>>2]=b;c=a+32|0;b=v[c+4>>2];v[d+32>>2]=v[c>>2];v[d+36>>2]=b;c=a;j=a+24|0;b=v[j+4>>2];l=v[j>>2];v[d+24>>2]=l;v[d+28>>2]=b;j=a+16|0;b=v[j+4>>2];v[d+16>>2]=v[j>>2];v[d+20>>2]=b;j=a+8|0;b=v[j+4>>2];v[d+8>>2]=v[j>>2];v[d+12>>2]=b;if((i|0)<=(l|0)|v[d+28>>2]<=(i|0)){break a}q=v[a+8>>2];p=v[a+12>>2];o=v[c+16>>2];k=v[c+20>>2];m=v[c+24>>2];l=v[c+28>>2];b=v[a>>2];n=v[a+4>>2];j=v[c+36>>2];v[f+32>>2]=v[c+32>>2];v[f+36>>2]=j;c=f+24|0;v[c>>2]=m;v[c+4>>2]=l;v[f+16>>2]=o;v[f+20>>2]=k;v[f+8>>2]=q;v[f+12>>2]=p;v[f>>2]=b;v[f+4>>2]=n;j=v[d+8>>2];v[f+24>>2]=0;v[f+28>>2]=v[f+28>>2]-i;c=eQ(j,j>>31,r,s);v[f>>2]=b-c;v[f+4>>2]=n-(Da+(b>>>0<c>>>0)|0);v[d+28>>2]=i;v[d+20>>2]=v[d+20>>2]&-17;j=v[f+20>>2]&-33;v[f+20>>2]=j;b=d;c=v[b+20>>2];if(c&2){v[d+20>>2]=j;v[f+20>>2]=c;c=v[d+20>>2]}v[b+20>>2]=c|8;v[f+20>>2]=v[f+20>>2]|4;c=t<<2;b=c+e|0;v[b>>2]=v[b>>2]+1;b=c+g|0;v[b>>2]=v[b>>2]+1;f=f+40|0}d=d+40|0}a=a+40|0;if((w|0)!=(a|0)){continue}break}}return}O(447091,446841,355,447126);L()}function Fo(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;a:{b:{e=v[b+4>>2];if(e>>>0>a>>>0){break b}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<4){break b}h=v[b+12>>2];c=h-4|0;v[b+12>>2]=c;if(!(w[a+1|0]<<16|w[a|0]<<24)|(c|0)<1){break b}c=a+4|0;if(c>>>0<e>>>0|c>>>0>d>>>0|d-c>>>0<4){break b}c=h-8|0;v[b+12>>2]=c;if((c|0)<1){break b}k=1;c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!i){break b}l=i-1|0;a=a+8|0;k=0;while(1){if(a>>>0<e>>>0|a>>>0>d>>>0|d-a>>>0<8){break b}f=v[b+12>>2];d=f-8|0;v[b+12>>2]=d;if((d|0)<1){break b}d=v[b+28>>2];c=v[d+12>>2];v[b+4>>2]=c;d=v[d+16>>2];e=d+c|0;v[b+8>>2]=e;c:{d:{if((d|0)>-1){d=j>>>0<l>>>0?a:0;e:{if(!d){d=c;break e}if(!(d>>>0<e>>>0?c>>>0<=d>>>0:0)){v[b+4>>2]=0;v[b+8>>2]=0;e=0;break d}v[b+4>>2]=d;c=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=e-d|0;e=(c>>>0<e>>>0?c:e)+d|0;v[b+8>>2]=e}if(a>>>0>=d>>>0){break d}h=0;break c}break a}h=0;if(a>>>0>e>>>0){break c}e=e-a|0;if(e>>>0<8){break c}c=f-16|0;v[b+12>>2]=c;if((c|0)<1){break c}d=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0<8|d>>>0>e>>>0){break c}d=c-d|0;v[b+12>>2]=d;if((d|0)<1){break c}d=1;f:{g:{h:{i:{switch(w[a+5|0]){case 0:d=0;f=v[b+4>>2];e=a+8|0;if(f>>>0>e>>>0){break h}c=v[b+8>>2];if(c>>>0<e>>>0|c-e>>>0<8){break h}e=v[b+12>>2]-8|0;v[b+12>>2]=e;if((e|0)<1){break h}g=w[a+9|0]|w[a+8|0]<<8;if(g){m=f;f=a+16|0;if(m>>>0>f>>>0|c>>>0<f>>>0){break h}f=c-f|0;c=B(g,6);if(f>>>0<c>>>0){break h}c=e-c|0;v[b+12>>2]=c;if((c|0)<1){break h}}c=1;break f;case 1:d=0;if(y[b+4>>2]>a>>>0){break h}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<18){break h}c=v[b+12>>2]-18|0;v[b+12>>2]=c;if((c|0)<1){break h}c=Sj(a+8|0,b);break f;case 2:d=0;if(y[b+4>>2]>a>>>0){break h}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<16){break h}c=v[b+12>>2]-16|0;v[b+12>>2]=c;if((c|0)<1){break h}if(!Xh(a+10|0,b,a)){break h}if(!Xh(a+12|0,b,a)){break h}e=w[a+15|0]|w[a+14|0]<<8;c=1;if(!e){break f}if(y[b+4>>2]>a>>>0){break h}c=v[b+8>>2];if(c>>>0<a>>>0|e>>>0>c-a>>>0){break h}d=v[b+12>>2]-e|0;v[b+12>>2]=d;c=(d|0)>0;break f;case 3:break i;default:break h}}g=v[b+4>>2];if(g>>>0>a>>>0){break g}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<14){break g}e=v[b+12>>2]-14|0;v[b+12>>2]=e;if((e|0)<1){break g}f=B(w[a+12|0],w[a+11|0])+(w[a+10|0]+(w[a+9|0]|w[a+8|0]<<8)<<1)|0;if(!f){break h}d=g;g=a+14|0;if(d>>>0>g>>>0|c>>>0<g>>>0){break g}d=0;if(f>>>0>c-g>>>0){break h}d=e-f|0;v[b+12>>2]=d;d=(d|0)>0}c=d;break f}c=0}if(!c){break c}d=a;a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);a=d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;h=1}d=v[b+28>>2];e=v[d+12>>2];v[b+4>>2]=e;c=v[d+16>>2];d=c+e|0;v[b+8>>2]=d;j:{if((c|0)>-1){if(h){break j}break b}break a}j=j+1|0;if((i|0)!=(j|0)){continue}break}return 1}return k}O(229786,229811,194,229828);L()}function Wr(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;i=Ca-16|0;Ca=i;a:{b:{c:{d:{e:{f:{k=v[b+8>>2];if(y[b+4>>2]<=k+3>>>0){break f}o=v[a>>2];e=v[b+20>>2];if(e){if((Ea[e|0](b,k,i+12|0,4)|0)!=4){break f}h=v[b+8>>2];e=i+12|0;break e}e=v[b>>2];if(e){e=e+k|0;h=k;break e}v[b+8>>2]=k+4;e=2;break d}e=85;break a}f=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);j=h+4|0;v[b+8>>2]=j;e=2;if((f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))!=1954115633){break d}f=v[b+4>>2];if(f>>>0<=h+5>>>0){break b}g:{h:{i:{e=v[b+20>>2];j:{if(e){if((Ea[e|0](b,j,i+12|0,2)|0)!=2){break b}h=v[b+20>>2];j=v[b+8>>2];e=i+12|0;break j}e=v[b>>2];if(!e){break i}h=0;e=e+j|0}f=w[e+1|0];e=w[e|0];v[b+8>>2]=j+2;g=j+8|0;p=f|e<<8;if(!h){f=v[b+4>>2];break h}e=85;if(!(Ea[h|0](b,g,0,0)|0)){break g}break a}v[b+8>>2]=h+6;g=h+12|0}e=85;if(f>>>0<g>>>0){break a}}v[b+8>>2]=g;e=142;if(!p){break a}m=-1;n=(c|0)>0?c&65535:c;q=(n|0)<0;while(1){h=v[b+4>>2];if(h>>>0<=g+3>>>0){break c}k:{l:{m:{n:{c=v[b+20>>2];o:{if(c){if((Ea[c|0](b,g,i+12|0,4)|0)!=4){break c}h=v[b+20>>2];g=v[b+8>>2];c=i+12|0;break o}c=v[b>>2];if(!c){break n}h=0;c=c+g|0}c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);v[b+8>>2]=g+4;j=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=g+8|0;if(!h){h=v[b+4>>2];break m}if(!(Ea[h|0](b,c,0,0)|0)){break l}e=85;break a}v[b+8>>2]=g+4;c=g+8|0;j=0}if(c>>>0<=h>>>0){break k}e=85;break a}h=v[b+4>>2]}v[b+8>>2]=c;p:{q:{r:{if(g+11>>>0>=h>>>0){break r}f=v[b+20>>2];s:{if(f){if((Ea[f|0](b,c,i+12|0,4)|0)!=4){break r}h=v[b+4>>2];c=v[b+8>>2];f=i+12|0;break s}f=v[b>>2];if(!f){break q}f=c+f|0}f=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);break p}e=85;break a}f=0}g=c+4|0;v[b+8>>2]=g;t:{u:{v:{if(c+7>>>0>=h>>>0){break v}c=v[b+20>>2];w:{if(c){if((Ea[c|0](b,g,i+12|0,4)|0)!=4){break v}g=v[b+8>>2];c=i+12|0;break w}c=v[b>>2];if(!c){break u}c=c+g|0}c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break t}e=85;break a}c=0}g=g+4|0;v[b+8>>2]=g;x:{y:{if((j|0)!=1415139377){if((j|0)!=1128875040){break y}c=c-22|0;f=f+22|0;r=1;if(q){break x}m=m+1|0;break y}c=c-24|0;f=f+24|0;r=0;if((n|0)<0){break x}m=m+1|0}if(!((m|0)==(n|0)?q:1)){break x}l=l+1|0;if((l|0)==(p|0)){break a}continue}break}e=8;h=v[b+4>>2];if(h>>>0<f>>>0|h-f>>>0<c>>>0){break a}l=f+k|0;f=v[b+20>>2];z:{if(f){e=85;if(!(Ea[f|0](b,l,0,0)|0)){break z}break a}e=85;if(h>>>0<l>>>0){break a}}v[b+8>>2]=l;A:{B:{if((c|0)>=1){g=Ea[v[o+4>>2]](o,c)|0;if(!g){e=64;break a}e=Vb(b,g,c);if(!e){break B}Ea[v[o+8>>2]](o,g);break A}e=6;if(c){break a}g=0;e=Vb(b,0,0);if(e){break A}}e=Fk(a,g,c,n>>31&n,r?4424:4428,d)}if((e&255)!=2){break a}}a=e;c=v[b+20>>2];C:{if(c){e=85;if(!(Ea[c|0](b,k,0,0)|0)){break C}break a}e=85;if(y[b+4>>2]<k>>>0){break a}}v[b+8>>2]=k;e=a;break a}e=85;break a}e=85}Ca=i+16|0;return e}function mr(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,z=0,A=0,C=0,D=0;g=Ca-16|0;Ca=g;h=v[b+28>>2];j=v[a+736>>2];v[g>>2]=0;a:{b:{if(j){c:{if(!v[a+704>>2]){break c}e=Ea[v[a+516>>2]](a,1668702578,b,g+8|0)|0;v[g+12>>2]=e;if(e){break c}e=vb(b,v[g+8>>2]);v[g+12>>2]=e;if(e){break c}e=v[b>>2];d=v[b+32>>2];d:{if((tc(b)|0)!=65536){v[g+12>>2]=0;break d}o=Ua(h,4,0,v[j>>2],0,g+12|0);if(v[g+12>>2]){break d}p=Ua(h,4,0,v[j>>2],0,g+12|0);if(v[g+12>>2]){break d}q=Ua(h,4,0,v[j>>2],0,g+12|0);if(v[g+12>>2]){break d}f=Cb(b);s=f&4095;k=Cb(b);c=v[g+8>>2];if((s<<2)+k>>>0>c>>>0){v[g+12>>2]=8;break d}l=k+(d-e|0)|0;if(f&32768){f=v[b+32>>2];e=v[b>>2];d=v[b+36>>2];v[b+32>>2]=d-e>>>0>l>>>0?e+l|0:d;r=ki(b,c,g);k=v[b+32>>2];d=v[b>>2];e=f-e|0;f=v[b+36>>2];v[b+32>>2]=e>>>0<f-d>>>0?d+e|0:f;l=k-d|0}m=Ua(h,4,0,v[a+700>>2],0,g+12|0);e:{if(v[g+12>>2]){break e}if(s){k=v[g>>2];e=0;while(1){z=Cb(b);d=Cb(b);f:{if(d&32768){c=0;if(!v[j>>2]){break f}while(1){C=(c<<2)+o|0,D=Cb(b)<<16>>16<<2,v[C>>2]=D;c=c+1|0;if(c>>>0<y[j>>2]){continue}break}break f}f=d&4095;if(f>>>0>=y[j+60>>2]){v[g+12>>2]=8;break e}c=v[j+64>>2];if(!c){v[g+12>>2]=8;break e}i=f;f=v[j>>2];Ta(o,c+(B(i,f)<<2)|0,f<<2)}g:{if(!(d&16384)){break g}c=0;if(!v[j>>2]){break g}while(1){C=(c<<2)+p|0,D=Cb(b)<<16>>16<<2,v[C>>2]=D;c=c+1|0;f=v[j>>2];if(c>>>0<f>>>0){continue}break}c=0;if(!f){break g}while(1){C=(c<<2)+q|0,D=Cb(b)<<16>>16<<2,v[C>>2]=D;c=c+1|0;if(c>>>0<y[j>>2]){continue}break}}t=lr(j,d,o,p,q);if(t){i=v[b+32>>2];c=v[b>>2];f=v[b+36>>2];v[b+32>>2]=f-c>>>0>l>>>0?c+l|0:f;u=i-c|0;h:{if(d&8192){f=ki(b,v[g+8>>2],g+4|0);d=v[g+4>>2];e=f;break h}v[g+4>>2]=k;d=k;f=e;e=r}i=yk(b,v[g+8>>2],d?d:v[a+700>>2]);i:{j:{k:{if(!e|!i){break k}if((f|0)!=-1){c=0;if(!d){break j}while(1){n=x[e+(c<<1)>>1];if(n>>>0<y[a+700>>2]){n=(n<<2)+m|0;A=v[n>>2];C=n,D=Qa(v[i+(c<<2)>>2],t)+A|0,v[C>>2]=D}c=c+1|0;if((d|0)!=(c|0)){continue}break}break k}e=-1;if((d|0)!=v[a+700>>2]){break i}c=0;if(!d){break i}while(1){e=c<<2;d=e+m|0;n=v[d>>2];C=d,D=Qa(v[e+i>>2],t)+n|0,v[C>>2]=D;c=c+1|0;if(c>>>0<y[a+700>>2]){continue}break}}e=-1;if((f|0)==-1){break i}}if(f){Ea[v[h+8>>2]](h,f)}e=0}if(i){Ea[v[h+8>>2]](h,i)}d=v[b>>2];f=v[b+36>>2];v[b+32>>2]=u>>>0<f-d>>>0?d+u|0:f}l=l+z|0;w=w+1|0;if((w|0)!=(s|0)){continue}break}}e=v[a+700>>2];if(!e){break e}f=v[a+704>>2];d=0;if((e|0)!=1){k=e&-2;while(1){c=d<<2;i=c+f|0;v[i>>2]=v[i>>2]+(v[c+m>>2]+512>>10);c=c|4;i=c+f|0;v[i>>2]=v[i>>2]+(v[c+m>>2]+512>>10);d=d+2|0;k=k-2|0;if(k){continue}break}}if(!(e&1)){break e}e=d<<2;d=e+f|0;v[d>>2]=v[d>>2]+(v[e+m>>2]+512>>10)}pb(b);if((r|0)==-1){break a}break b}pb(b);break b}}v[g+12>>2]=0}if(r){Ea[v[h+8>>2]](h,r)}}if(o){Ea[v[h+8>>2]](h,o)}if(p){Ea[v[h+8>>2]](h,p)}if(q){Ea[v[h+8>>2]](h,q)}if(m){Ea[v[h+8>>2]](h,m)}Dr(a+108|0,56);Ca=g+16|0;return v[g+12>>2]}function uj(a,b,c,d,e,f){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;n=e>>8;a:{if((d|0)==(f|0)){b=b-v[a+164>>2]|0;if(v[a+160>>2]>(n|0)?(b|0)<0|(b|0)>=v[a+172>>2]:1){v[a+176>>2]=v[a+192>>2];return}h=v[a+188>>2]+(b<<2)|0;g=v[h>>2];b=v[g>>2];c=v[a+156>>2];d=(c|0)>(n|0)?c-1|0:n;b:{if((b|0)<=(d|0)){while(1){c=g;if((b|0)==(d|0)){break b}g=v[c+12>>2];b=v[g>>2];if((d|0)>=(b|0)){continue}break}h=c+12|0}c=v[a+180>>2];v[a+180>>2]=c+16;if(y[a+184>>2]<=c>>>0){break a}v[c>>2]=d;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=v[h>>2];v[h>>2]=c}v[a+176>>2]=c;return}g=c&255;i=c>>8;c:{if((i|0)==(n|0)){c=v[a+176>>2];break c}p=1;j=v[a+176>>2];o=j;h=e-c|0;d:{if((h|0)>=1){s=256;c=256-g|0;break d}h=0-h|0;p=-1;c=g}m=f-d|0;c=B(c,m);l=(c|0)/(h|0)|0;q=c-B(h,l)|0;r=q>>31;k=l+r|0;v[o+4>>2]=k+v[j+4>>2];v[j+8>>2]=v[j+8>>2]+B(k,g|s);j=i+p|0;c=b-v[a+164>>2]|0;e:{if(v[a+160>>2]>(j|0)?(c|0)<0|(c|0)>=v[a+172>>2]:1){g=v[a+192>>2];break e}i=v[a+188>>2]+(c<<2)|0;b=v[i>>2];o=v[b>>2];g=v[a+156>>2];l=(g|0)>(j|0)?g-1|0:j;if((o|0)<=(l|0)){while(1){g=b;if((l|0)==(o|0)){break e}b=v[g+12>>2];o=v[b>>2];if((l|0)>=(o|0)){continue}break}i=g+12|0}g=v[a+180>>2];v[a+180>>2]=g+16;if(y[a+184>>2]<=g>>>0){break a}v[g>>2]=l;v[g+4>>2]=0;v[g+8>>2]=0;v[g+12>>2]=v[i>>2];v[i>>2]=g}d=d+k|0;v[a+176>>2]=g;f:{if((j|0)==(n|0)){c=g;break f}b=q+(h&r)|0;l=m<<8;i=(l|0)/(h|0)|0;l=l-B(h,i)|0;m=l>>31;l=(m&h)+l|0;m=i+m|0;g:{if((c|0)<=-1){c=v[a+192>>2];b=b+l|0;i=m+((b|0)>=(h|0))|0;v[g+4>>2]=i+v[g+4>>2];v[g+8>>2]=v[g+8>>2]+(i<<8);d=d+i|0;g=j+p|0;if((n|0)==(g|0)){break g}i=b-((b|0)<(h|0)?0:h)|0;b=v[c+8>>2];j=v[c+4>>2];while(1){k=i+l|0;i=k-((h|0)>(k|0)?0:h)|0;k=m+((h|0)<=(k|0))|0;d=k+d|0;j=j+k|0;b=(k<<8)+b|0;g=g+p|0;if((n|0)!=(g|0)){continue}break}v[c+8>>2]=b;v[c+4>>2]=j;break g}if((c|0)<v[a+172>>2]){r=v[a+160>>2];t=c<<2;c=g;while(1){o=b+l|0;q=m+((o|0)>=(h|0))|0;v[c+4>>2]=q+v[c+4>>2];v[c+8>>2]=v[c+8>>2]+(q<<8);j=j+p|0;h:{if((r|0)>(j|0)){i=v[a+188>>2]+t|0;g=v[i>>2];b=v[g>>2];c=v[a+156>>2];k=(c|0)>(j|0)?c-1|0:j;if((b|0)<=(k|0)){while(1){c=g;if((b|0)==(k|0)){break h}g=v[c+12>>2];b=v[g>>2];if((k|0)>=(b|0)){continue}break}i=c+12|0}c=v[a+180>>2];v[a+180>>2]=c+16;if(y[a+184>>2]<=c>>>0){break a}v[c>>2]=k;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=v[i>>2];v[i>>2]=c;break h}c=v[a+192>>2]}b=o-((h|0)>(o|0)?0:h)|0;d=d+q|0;v[a+176>>2]=c;if((j|0)!=(n|0)){continue}break}break f}c=v[a+192>>2];b=b+l|0;i=m+((b|0)>=(h|0))|0;v[g+4>>2]=i+v[g+4>>2];v[g+8>>2]=v[g+8>>2]+(i<<8);d=d+i|0;g=j+p|0;if((n|0)==(g|0)){break g}i=b-((b|0)<(h|0)?0:h)|0;b=v[c+8>>2];j=v[c+4>>2];while(1){k=i+l|0;i=k-((h|0)>(k|0)?0:h)|0;k=m+((h|0)<=(k|0))|0;d=k+d|0;j=j+k|0;b=(k<<8)+b|0;g=g+p|0;if((n|0)!=(g|0)){continue}break}v[c+8>>2]=b;v[c+4>>2]=j}v[a+176>>2]=c}g=256-s|0}a=f-d|0;v[c+4>>2]=a+v[c+4>>2];v[c+8>>2]=v[c+8>>2]+B(a,(e&255)+g|0);return}S(a|0,1);L()}function it(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(a){d=v[a+360>>2];while(1){a:{if(!d){d=v[a+364>>2];if(!d){break a}v[a+364>>2]=0}e=v[d>>2];Ea[v[a+20>>2]](v[d+36>>2]);b=v[d+44>>2];if(b){while(1){c=v[b+4>>2];Ea[v[a+20>>2]](v[b+16>>2]);Ea[v[a+20>>2]](b);b=c;if(b){continue}break}}Ea[v[a+20>>2]](d);d=e;continue}break}b=v[a+296>>2];while(1){b:{if(!b){b=v[a+300>>2];if(!b){break b}v[a+300>>2]=0}d=v[b+8>>2];Ea[v[a+20>>2]](b);b=d;continue}break}b=v[a+372>>2];if(b){while(1){d=v[b+4>>2];Ea[v[a+20>>2]](v[b+16>>2]);Ea[v[a+20>>2]](b);b=d;if(b){continue}break}}b=v[a+368>>2];if(b){while(1){d=v[b+4>>2];Ea[v[a+20>>2]](v[b+16>>2]);Ea[v[a+20>>2]](b);b=d;if(b){continue}break}}b=v[a+412>>2];if(b){while(1){d=v[b>>2];Ea[v[v[a+432>>2]+8>>2]](b);b=d;if(b){continue}break}}b=v[a+416>>2];if(b){while(1){d=v[b>>2];Ea[v[v[a+432>>2]+8>>2]](b);b=d;if(b){continue}break}}b=v[a+436>>2];if(b){while(1){d=v[b>>2];Ea[v[v[a+456>>2]+8>>2]](b);b=d;if(b){continue}break}}b=v[a+440>>2];if(b){while(1){d=v[b>>2];Ea[v[v[a+456>>2]+8>>2]](b);b=d;if(b){continue}break}}Ea[v[a+20>>2]](v[a+228>>2]);c:{if(w[a+484|0]){break c}c=v[a+352>>2];if(!c){break c}b=v[c+20>>2];if(b){d=(v[c+28>>2]<<2)+b|0}else{d=0}g=v[a+472>>2];while(1){if((b|0)!=(d|0)){f=v[b>>2];e=b+4|0;b=e;if(!f){continue}b=e;if(!v[f+16>>2]){continue}Ea[v[a+20>>2]](v[f+20>>2]);continue}break}if(v[c+8>>2]){b=0;while(1){Ea[v[v[c+16>>2]+8>>2]](v[v[c>>2]+(b<<2)>>2]);b=b+1|0;if(b>>>0<y[c+8>>2]){continue}break}}Ea[v[v[c+16>>2]+8>>2]](v[c>>2]);if(v[c+140>>2]){b=0;while(1){Ea[v[v[c+148>>2]+8>>2]](v[v[c+132>>2]+(b<<2)>>2]);b=b+1|0;if(b>>>0<y[c+140>>2]){continue}break}}Ea[v[v[c+148>>2]+8>>2]](v[c+132>>2]);if(v[c+28>>2]){b=0;while(1){Ea[v[v[c+36>>2]+8>>2]](v[v[c+20>>2]+(b<<2)>>2]);b=b+1|0;if(b>>>0<y[c+28>>2]){continue}break}}Ea[v[v[c+36>>2]+8>>2]](v[c+20>>2]);if(v[c+48>>2]){b=0;while(1){Ea[v[v[c+56>>2]+8>>2]](v[v[c+40>>2]+(b<<2)>>2]);b=b+1|0;if(b>>>0<y[c+48>>2]){continue}break}}Ea[v[v[c+56>>2]+8>>2]](v[c+40>>2]);if(v[c+68>>2]){b=0;while(1){Ea[v[v[c+76>>2]+8>>2]](v[v[c+60>>2]+(b<<2)>>2]);b=b+1|0;if(b>>>0<y[c+68>>2]){continue}break}}Ea[v[v[c+76>>2]+8>>2]](v[c+60>>2]);b=v[c+80>>2];if(b){while(1){d=v[b>>2];Ea[v[v[c+100>>2]+8>>2]](b);b=d;if(b){continue}break}}b=v[c+84>>2];if(b){while(1){d=v[b>>2];Ea[v[v[c+100>>2]+8>>2]](b);b=d;if(b){continue}break}}b=v[c+104>>2];if(b){while(1){d=v[b>>2];Ea[v[v[c+124>>2]+8>>2]](b);b=d;if(b){continue}break}}b=v[c+108>>2];if(b){while(1){d=v[b>>2];Ea[v[v[c+124>>2]+8>>2]](b);b=d;if(b){continue}break}}if(!g){Ea[v[a+20>>2]](v[c+184>>2]);Ea[v[a+20>>2]](v[c+164>>2])}Ea[v[a+20>>2]](c)}Ea[v[a+20>>2]](v[a+388>>2]);Ea[v[a+20>>2]](v[a+460>>2]);Ea[v[a+20>>2]](v[a+8>>2]);Ea[v[a+20>>2]](v[a+44>>2]);Ea[v[a+20>>2]](v[a+392>>2]);Ea[v[a+20>>2]](v[a+236>>2]);b=v[a+248>>2];if(b){Ea[b|0](v[a+240>>2])}Ea[v[a+20>>2]](a)}}function $M(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;k=Ca-16|0;Ca=k;i=wb(a,2496,k+12|0);g=v[k+12>>2];if(!g){v[i>>2]=a;v[i+212>>2]=x[b+120>>1];f=w[b+124|0];a:{if(!f){break a}h=f-1|0;a=i+224|0;g=b+128|0;d=f&7;b:{if(!d){e=f;break b}e=f;while(1){v[a>>2]=u[g>>1];e=e-1|0;g=g+2|0;a=a+12|0;d=d-1|0;if(d){continue}break}}if(h>>>0<7){break a}while(1){v[a>>2]=u[g>>1];v[a+12>>2]=u[g+2>>1];v[a+24>>2]=u[g+4>>1];v[a+36>>2]=u[g+6>>1];v[a+48>>2]=u[g+8>>1];v[a+60>>2]=u[g+10>>1];v[a+72>>2]=u[g+12>>1];v[a+84>>2]=u[g+14>>1];g=g+16|0;a=a+96|0;e=e-8|0;if(e){continue}break}}a=1;v[i+208>>2]=f+1;v[i+8>>2]=x[b+122>>1];f=w[b+125|0];c:{if(!f){break c}j=f-1|0;g=i+20|0;e=b+154|0;h=f&7;d:{if(!h){d=f;break d}d=f;while(1){v[g>>2]=u[e>>1];d=d-1|0;e=e+2|0;g=g+12|0;h=h-1|0;if(h){continue}break}}if(j>>>0<7){break c}while(1){v[g>>2]=u[e>>1];v[g+12>>2]=u[e+2>>1];v[g+24>>2]=u[e+4>>1];v[g+36>>2]=u[e+6>>1];v[g+48>>2]=u[e+8>>1];v[g+60>>2]=u[e+10>>1];v[g+72>>2]=u[e+12>>1];v[g+84>>2]=u[e+14>>1];e=e+16|0;g=g+96|0;d=d-8|0;if(d){continue}break}}v[i+4>>2]=f+1;d=0;e=i+412|0;Hv(e,w[b+8|0],b+12|0,w[b+9|0],b+40|0,v[b+116>>2],0);Hv(e,w[b+10|0],b+60|0,w[b+11|0],b+88|0,v[b+116>>2],1);e=w[b+8|0];e:{if(!e){break e}e=e-1>>>1|0;f=e+1|0;g=f&1;if(e){h=f&-2;e=b+12|0;while(1){f=d<<1;j=x[e+(f|6)>>1]-x[e+(f|4)>>1]|0;f=x[e+(f|2)>>1]-x[e+f>>1]|0;a=f<<16>>16>a<<16>>16?f:a;a=j<<16>>16>a<<16>>16?j:a;d=d+4|0;h=h-2|0;if(h){continue}break}}if(!g){break e}e=b+12|0;d=d<<1;d=x[e+(d|2)>>1]-x[d+e>>1]|0;a=d<<16>>16>a<<16>>16?d:a}d=w[b+9|0];f:{if(!d){break f}d=d-1>>>1|0;e=d+1|0;g=e&1;g:{if(!d){d=0;break g}h=e&-2;d=0;e=b+40|0;while(1){f=d<<1;j=x[e+(f|6)>>1]-x[e+(f|4)>>1]|0;f=x[e+(f|2)>>1]-x[e+f>>1]|0;a=f<<16>>16>a<<16>>16?f:a;a=j<<16>>16>a<<16>>16?j:a;d=d+4|0;h=h-2|0;if(h){continue}break}}if(!g){break f}e=b+40|0;d=d<<1;d=x[e+(d|2)>>1]-x[d+e>>1]|0;a=d<<16>>16>a<<16>>16?d:a}d=w[b+10|0];h:{if(!d){break h}d=d-1>>>1|0;e=d+1|0;g=e&1;i:{if(!d){d=0;break i}h=e&-2;d=0;e=b+60|0;while(1){f=d<<1;j=x[e+(f|6)>>1]-x[e+(f|4)>>1]|0;f=x[e+(f|2)>>1]-x[e+f>>1]|0;a=f<<16>>16>a<<16>>16?f:a;a=j<<16>>16>a<<16>>16?j:a;d=d+4|0;h=h-2|0;if(h){continue}break}}if(!g){break h}e=b+60|0;d=d<<1;d=x[e+(d|2)>>1]-x[d+e>>1]|0;a=d<<16>>16>a<<16>>16?d:a}d=w[b+11|0];j:{if(!d){break j}d=d-1>>>1|0;e=d+1|0;g=e&1;k:{if(!d){d=0;break k}h=e&-2;d=0;e=b+88|0;while(1){f=d<<1;j=x[e+(f|6)>>1]-x[e+(f|4)>>1]|0;f=x[e+(f|2)>>1]-x[e+f>>1]|0;a=f<<16>>16>a<<16>>16?f:a;a=j<<16>>16>a<<16>>16?j:a;d=d+4|0;h=h-2|0;if(h){continue}break}}if(!g){break j}e=b+88|0;d=d<<1;d=x[e+(d|2)>>1]-x[d+e>>1]|0;a=d<<16>>16>a<<16>>16?d:a}a=ab(1e3,a<<16>>16);d=v[b+108>>2];v[i+2476>>2]=(a|0)>(d|0)?d:a;v[i+2480>>2]=v[b+112>>2];a=v[b+116>>2];v[i+404>>2]=0;v[i+408>>2]=0;v[i+200>>2]=0;v[i+204>>2]=0;v[i+2488>>2]=a;g=v[k+12>>2]}v[c>>2]=i;Ca=k+16|0;return g|0}function cB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Ca-160|0;Ca=g;a:{b:{if($a(a,29120,13)){break b}c:{switch(w[a+13|0]){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}a=v[e+32>>2];d:{e:{if(!a|!v[a+72>>2]){break e}if(!Mc(27863,v[a+92>>2])){break e}if(v[a+80>>2]){break d}}b=v[e+32>>2];a=u[b+12>>1];v[b+40>>2]=a;v[g+16>>2]=a;Bi(g+32|0,g+16|0);c=Rf(v[e+32>>2],27863,g+32|0);if(c){break a}}a=v[e+32>>2];f:{g:{if(!a|!v[a+72>>2]){break g}if(!Mc(27875,v[a+92>>2])){break g}if(v[a+80>>2]){break f}}b=v[e+32>>2];a=u[b+14>>1];v[b+44>>2]=a;v[g>>2]=a;Bi(g+32|0,g);c=Rf(v[e+32>>2],27875,g+32|0);if(c){break a}}v[e>>2]=v[e>>2]&-17;v[d>>2]=293;c=0;break a}h:{if($a(a,29134,21)){break h}c=0;switch(w[a+21|0]){case 0:case 9:case 10:case 13:case 32:break a;default:break h}}i:{if($a(a,26456,7)){break i}c=a+7|0;j:{switch(w[a+7|0]){case 9:case 10:case 13:case 32:t[a+7|0]=0;c=a+8|0;break;case 0:break j;default:break i}}c=Rf(v[e+32>>2],a,c);break a}h=v[e+32>>2];c=a;k:{while(1){l:{f=-1;m:{n:{d=w[c|0];switch(d|0){case 0:break k;case 9:break l;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break m;default:break n}}if((d|0)==32){break l}}c=c+1|0;continue}break}t[c|0]=0;f=d}d=0;o:{if(!a|!w[a|0]){break o}i=Mc(a,h+112|0);if(!i){break o}d=v[i>>2];if(d>>>0>=83){d=(v[h+104>>2]+(d<<4)|0)-1328|0;break o}d=(d<<4)+26480|0}if((f|0)!=-1){t[c|0]=f}if(!(v[d+4>>2]!=1?d:0)){if(w[c|0]){t[c|0]=0;c=c+1|0}f=a+b|0;while(1){b=w[c|0];if(!((b|0)!=9?(b|0)!=32:0)){c=c+1|0;continue}break}b=(b|0)==34?c+1|0:c;p:{if(b>>>0>=f>>>0){break p}while(1){q:{r:{f=f-1|0;switch(w[f|0]-9|0){case 25:break q;case 0:case 23:break r;default:break p}}t[f|0]=0;if(b>>>0<f>>>0){continue}break p}break}t[f|0]=0}c=Rf(v[e+32>>2],a,b);break a}c=Jd(e+40|0,27824,a,b);if(c){break a}b=v[e+40>>2];l=v[b>>2];f=0;s:{t:{u:{a=v[e+48>>2];switch(a|0){case 0:break s;case 1:break u;default:break t}}v[e+48>>2]=0;break s}v[b>>2]=v[b+4>>2];c=1;h=a-1|0;v:{if((h|0)==1){break v}i=a-2|0;b=i&3;d=1;if(a-3>>>0>=3){i=i&-4;while(1){j=v[e+40>>2];a=c<<2;m=j+a|0;k=j;j=d<<2;v[m>>2]=v[(k+j|0)+4>>2];k=v[e+40>>2];v[(k+a|0)+4>>2]=v[(j+k|0)+8>>2];k=v[e+40>>2];v[(k+a|0)+8>>2]=v[(j+k|0)+12>>2];j=a;a=v[e+40>>2];d=d+4|0;v[(j+a|0)+12>>2]=v[a+(d<<2)>>2];c=c+4|0;i=i-4|0;if(i){continue}break}}if(!b){break v}while(1){a=v[e+40>>2];d=d+1|0;v[a+(c<<2)>>2]=v[a+(d<<2)>>2];c=c+1|0;b=b-1|0;if(b){continue}break}}v[e+48>>2]=h;if(!h){break s}d=0;a=v[v[e+40>>2]>>2];c=a;b=0;while(1){f=w[c|0];if(f){while(1){t[a+d|0]=f;d=d+1|0;f=w[c+1|0];c=c+1|0;if(f){continue}break}h=v[e+48>>2]}b=b+1|0;if(h>>>0>b>>>0){t[a+d|0]=32;h=v[e+48>>2];d=d+1|0}if(b>>>0<h>>>0){c=v[v[e+40>>2]+(b<<2)>>2];continue}break}f=28945;if((a|0)==28945){break s}t[a+d|0]=0;f=a}c=Rf(v[e+32>>2],l,f)}Ca=g+160|0;return c|0}function ad(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;i=v[a>>2];if(!i){o=a-92|0;i=0;while(1){j=v[o>>2];if(!j){return 280448}g=eb(1,12);a:{if(!g){if(i){break a}v[a>>2]=280448;return 280448}n=Ca-48|0;Ca=n;b=n;v[b+16>>2]=0;v[b+20>>2]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;c=Nb(j);t[b+44|0]=1;v[b+40>>2]=c;f=g;e=0;d=b+8|0;b=Jb(j,1196445523);h=Hb(b);v[d+28>>2]=h;b:{c:{d:{e:{f:{g:{while(1){t[d+20|0]=e;j=v[h+12>>2];v[d+4>>2]=j;e=v[h+16>>2];v[d+8>>2]=e+j;if((e|0)<=-1){break c}v[d+24>>2]=0;c=d;if(e>>>0>67108862){e=1073741823}else{e=e<<6;e=e>>>0>16384?e:16384;e=e>>>0<1073741823?e:1073741823}v[c+12>>2]=e;v[d>>2]=0;if(!j){Sa(h);v[d+28>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;break b}c=$n(j,d);e=v[d+24>>2];h:{if(c){if(!e){break h}v[d+24>>2]=0;e=$n(j,d);c=v[d+24>>2];Sa(v[d+28>>2]);v[d+28>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;if(c){break d}if(e){break g}break d}if(w[d+20|0]|!e){break f}c=xc(b);v[d+4>>2]=c;v[d+8>>2]=c+v[b+16>>2];h=v[d+28>>2];e=1;if(c){continue}break e}break}Sa(v[d+28>>2]);v[d+28>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0}if(v[b+4>>2]){v[b+4>>2]=0}break b}h=v[d+28>>2]}Sa(h);v[d+28>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0}Sa(b);b=280448;break b}O(229786,229811,194,229828);L()}c=b;v[f>>2]=b;d=b?b:280448;f=y[d+16>>2]<10?280448:v[d+12>>2];b=w[f+9|0]|w[f+8|0]<<8;b=b?b+f|0:280448;b=w[b|0]<<8|w[b+1|0];v[g+4>>2]=b;f=eb(b,24);v[g+8>>2]=f;if(!f){v[g+4>>2]=0;Sa(d);v[g>>2]=0;c=280448;v[g>>2]=280448;b=v[g+4>>2]}i:{if(!b){break i}i=0;while(1){b=v[g+8>>2]+B(i,24)|0;c=c?c:280448;f=y[c+16>>2]<10?280448:v[c+12>>2];c=w[f+9|0]|w[f+8|0]<<8;c=c?c+f|0:280448;if((w[c|0]<<8|w[c+1|0])>>>0>i>>>0){d=c;c=c+(i<<1)|0;c=w[c+2|0]<<8|w[c+3|0];c=c?d+c|0:280448}else{c=280448}h=0;k=Ca-16|0;Ca=k;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[k+12>>2]=b;v[k+8>>2]=0;j=c+4|0;j:{l=w[c+5|0];m=w[c+4|0];e=l|m<<8;if(!e){break j}d=w[c+1|0]|w[c|0]<<8;while(1){f=(m<<8|l)>>>0>h>>>0?((h<<1)+j|0)+2|0:280448;f=w[f|0]<<8|w[f+1|0];Wd(bo(f?f+c|0:280448,k+8|0,d),v[k+12>>2]);h=h+1|0;if((e|0)==(h|0)){break j}l=w[c+5|0];m=w[c+4|0];continue}}v[b+12>>2]=0;v[b+16>>2]=0;h=0;v[b+20>>2]=0;v[k+12>>2]=b+12;v[k+8>>2]=0;k:{l=w[c+5|0];m=w[c+4|0];d=l|m<<8;if(!d){break k}f=w[c+1|0]|w[c|0]<<8;while(1){b=(m<<8|l)>>>0>h>>>0?((h<<1)+j|0)+2|0:280448;b=w[b|0]<<8|w[b+1|0];ao(b?b+c|0:280448,k+8|0,f);h=h+1|0;if((d|0)==(h|0)){break k}l=w[c+5|0];m=w[c+4|0];continue}}Ca=k+16|0;i=i+1|0;if(i>>>0>=y[g+4>>2]){break i}c=v[g>>2];continue}}Ca=n+48|0;if(!v[a>>2]){v[a>>2]=g;return g}i=0;if(v[g+4>>2]){while(1){b=v[g+8>>2]+B(i,24)|0;Pa(v[b+20>>2]);v[b+20>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;i=i+1|0;if(i>>>0<y[g+4>>2]){continue}break}}Pa(v[g+8>>2]);b=v[g>>2];Sa(b?b:280448);Pa(g);i=v[a>>2]}if(!i){continue}break}}return i}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,r=0,s=0,t=0,u=0,w=0,x=0;o=Ca-16|0;Ca=o;h=v[c+40>>2];g=v[c+44>>2]-(h>>>0<40)|0;h=h-40|0;a:{if(!g&h>>>0>2147483607|g){break a}b:{c:{if(!v[164105]){while(1){g=Va(28);i=v[164105];v[164105]=i?i:g;if(!i){break c}if(!v[164105]){continue}break}}break b}Ze()}d:{e:{i=v[164088];if(i){g=v[c>>2];while(1){if(!(v[i+24>>2]!=v[c+80>>2]|v[i+28>>2]!=v[c+84>>2]|(g|0)!=v[i+16>>2]|v[i+32>>2]!=v[c+64>>2])){if(v[i+36>>2]==v[c+68>>2]){break e}}i=v[i+40>>2];if(i){continue}break}}break d}v[i+4>>2]=v[i+4>>2]+1;i=v[i>>2];if(!i){break d}if(eu(a,i,d)){break a}Ye(i)}if(!v[164106]){i=3;g=Yb(452111);f:{if(!g){break f}if(!xh(g,o+12|0)){break f}i=v[o+12>>2]?1:2}g=v[164106];v[164106]=g?g:i}i=0;h=v[c+40>>2];g=Va(h);if(!g){break a}b=Fi(b,g,h);if((b|0)!=v[c+40>>2]|v[c+44>>2]!=b>>31){Pa(g);break a}g:{h:{if(v[g>>2]!=-66913276|v[g+4>>2]<7|(b|0)!=v[g+8>>2]){break h}h=v[g+12>>2];i:{j:{if((h|0)<0){break j}b=v[g+8>>2];if(h>>>0>b-4>>>0){break j}if(!we(g+h|0,0,b-h|0)){break j}h=v[g+16>>2];if((h|0)<0|(b|0)<=(h|0)){break j}l=v[g+20>>2];if((l|0)<0|l>>>0>b-h>>>2>>>0){break j}m=b+g|0;h=g+h|0;if(!(!h|(l|0)<=0)){n=(m-h|0)-4|0;while(1){k=v[h+(j<<2)>>2];if((k|0)<0|k>>>0>n>>>0){break j}k=h+k|0;if(!we(k,0,m-k|0)){break j}j=j+1|0;if((l|0)!=(j|0)){continue}break}}h=v[g+24>>2];if((h|0)<0|h>>>0>b-12>>>0){break j}l=g+h|0;b=1;if(!l){break i}p=v[l>>2];if(p>>>0>m-l>>>4>>>0){break j}b=v[l+8>>2];if(!(b&1)){break j}q=1;if((p|0)<1){break j}u=m-32|0;w=m-12|0;x=(b&-2)+l|0;while(1){q=0;b=(v[x+(r<<2)>>2]&-2)+l|0;if(b>>>0<g>>>0|b>>>0>w>>>0){break j}h=v[b+8>>2];if((h|0)<0){break j}j=m-b|0;if((j|0)<(h|0)){break j}s=v[b>>2];if(v[b+12>>2]!=-1|s>>>0>j-h>>>3>>>0){break j}h=b+h|0;j=v[h+4>>2];if(j&1?0:j){break j}k=0;k:{if((s|0)<1){break k}while(1){b=h;j=j&1?(b+(k<<3)|0)+(j&-2)|0:j;if(j){while(1){if(b>>>0>j>>>0|j>>>0>u>>>0){break j}n=v[j>>2];b=n&1;if(n){if(!b){break j}t=0}else{t=!b}b=j+1|0;j=t?n:(n&-2)+j|0;if(j){continue}break}}k=k+1|0;if((s|0)==(k|0)){break k}j=v[(h+(k<<3)|0)+4>>2];continue}}q=1;r=r+1|0;if((p|0)!=(r|0)){continue}break}}b=q}if(!b){break h}if(!eu(a,g,d)){break h}if(du(g,c)){break g}}Pa(g);break a}v[g>>2]=-66913275;i=g}Ca=o+16|0;l:{if(i){b=v[c+68>>2];g=(b|0)/1e3|0;a=v[c+64>>2];m:{if(!(v[d+64>>2]|v[d+68>>2]+999>>>0>1998)){c=v[f>>2];if(!(b+999>>>0>1998|a)){if(!c){break m}Ye(c);break m}n:{b=v[e>>2];if(b|!c){break n}b=0;if(v[e+4>>2]){break n}Ye(i);return 0}o:{if((a|0)==(b|0)){if((g|0)<=v[e+4>>2]){break m}if(c){break o}break m}if(!c|(a|0)<=(b|0)){break m}}Ye(c);break m}b=v[e>>2];p:{if((b|0)==(a|0)){if((g|0)>v[e+4>>2]){break p}break l}if((a|0)<=(b|0)){break l}}b=v[f>>2];if(!b){break m}Ye(b)}v[e+4>>2]=g;v[e>>2]=a;v[f>>2]=i;a=1}else{a=0}return a|0}Ye(i);return 0}function Ys(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=Ca+-64|0;Ca=h;l=v[c>>2];v[h+52>>2]=l;a:{if(v[a+144>>2]==(b|0)){v[a+284>>2]=l;n=a+284|0;p=a+288|0;break a}n=v[a+296>>2];p=n+4|0}v[n>>2]=l;v[c>>2]=0;o=a+288|0;l=a+284|0;b:{c:{while(1){i=v[h+52>>2];v[h+48>>2]=i;i=Ea[v[b+8>>2]](b,i,d,h+48|0)|0;if(!ye(a,i,v[h+52>>2],v[h+48>>2],3772,g)){while(1){c=a;a=v[a+472>>2];if(a){continue}break}j=43;if(v[c+512>>2]<1){break b}b=v[c+504>>2];e=v[c+508>>2];r=1;a=v[c+500>>2];l=a;g=v[c+496>>2];if(a|g){f=e+l|0;a=b;d=g+a|0;r=+C(C(+(d>>>0)+ +((a>>>0>d>>>0?f+1|0:f)>>>0)*4294967296)/C(+(g>>>0)+ +(l>>>0)*4294967296))}v[h+32>>2]=509254;A[h+24>>3]=r;v[h+16>>2]=b;v[h+20>>2]=e;v[h+8>>2]=g;v[h+12>>2]=l;v[h>>2]=c;Nd(v[130915],509100,h);break b}j=v[h+48>>2];v[p>>2]=j;d:{e:{f:{switch(i+4|0){case 44:d=v[a+76>>2];g:{if(d){Ea[d|0](v[a+4>>2]);break g}d=v[a+80>>2];if(!d){break g}f=v[h+52>>2];v[h+60>>2]=f;if(!w[b+68|0]){if(v[a+144>>2]!=(b|0)){l=v[a+296>>2];o=l+4|0}while(1){v[h+56>>2]=v[a+44>>2];f=Ea[v[b+56>>2]](b,h+60|0,j,h+56|0,v[a+48>>2])|0;v[o>>2]=v[h+60>>2];d=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],d,v[h+56>>2]-d|0);v[l>>2]=v[h+60>>2];if(f>>>0>=2){continue}break}break g}Ea[d|0](v[a+4>>2],f,j-f|0)}b=v[h+48>>2];v[c>>2]=b;v[e>>2]=b;j=v[a+476>>2]==2?35:0;break b;case 11:i=v[a+60>>2];if(i){t[h+60|0]=10;Ea[i|0](v[a+4>>2],h+60|0,1);break d}i=v[a+80>>2];if(!i){break d}k=v[h+52>>2];v[h+60>>2]=k;if(!w[b+68|0]){k=l;i=o;if(v[a+144>>2]!=(b|0)){k=v[a+296>>2];i=k+4|0}while(1){v[h+56>>2]=v[a+44>>2];q=Ea[v[b+56>>2]](b,h+60|0,j,h+56|0,v[a+48>>2])|0;v[i>>2]=v[h+60>>2];m=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],m,v[h+56>>2]-m|0);v[k>>2]=v[h+60>>2];if(q>>>0>=2){continue}break}break d}Ea[i|0](v[a+4>>2],k,j-k|0);break d;case 10:m=v[a+60>>2];if(m){if(w[b+68|0]){break e}while(1){v[h+60>>2]=v[a+44>>2];k=Ea[v[b+56>>2]](b,h+52|0,j,h+60|0,v[a+48>>2])|0;v[p>>2]=v[h+48>>2];i=v[a+44>>2];Ea[m|0](v[a+4>>2],i,v[h+60>>2]-i|0);if(k>>>0<2){break d}v[n>>2]=v[h+52>>2];j=v[h+48>>2];continue}}i=v[a+80>>2];if(!i){break d}k=v[h+52>>2];v[h+60>>2]=k;if(!w[b+68|0]){k=l;i=o;if(v[a+144>>2]!=(b|0)){k=v[a+296>>2];i=k+4|0}while(1){v[h+56>>2]=v[a+44>>2];q=Ea[v[b+56>>2]](b,h+60|0,j,h+56|0,v[a+48>>2])|0;v[i>>2]=v[h+60>>2];m=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],m,v[h+56>>2]-m|0);v[k>>2]=v[h+60>>2];if(q>>>0>=2){continue}break}break d}Ea[i|0](v[a+4>>2],k,j-k|0);break d;case 2:if(!f){j=6;break b}v[e>>2]=v[h+52>>2];j=0;break b;case 0:case 3:if(!f){j=20;break b}v[e>>2]=v[h+52>>2];j=0;break b;case 4:break c;default:break f}}v[n>>2]=j;j=23;break b}i=v[h+52>>2];Ea[m|0](v[a+4>>2],i,j-i|0)}i=v[h+48>>2];v[h+52>>2]=i;v[n>>2]=i;j=35;h:{switch(v[a+476>>2]-2|0){case 0:break b;case 1:break h;default:continue}}break}v[e>>2]=v[h+48>>2];j=0;break b}v[n>>2]=j;j=4}Ca=h- -64|0;return j}function en(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(v[a+204>>2]==(d|0)?v[a+200>>2]==(b|0):0){break a}v[a+200>>2]=b;v[a+204>>2]=d;d=v[a+4>>2];if(!d){break a}f=Qa(v[a+8>>2],b);v[a+12>>2]=f;v[a+16>>2]=f+32&-64;f=d-1|0;if(!f){break a}d=a+20|0;while(1){h=Qa(v[d>>2],b);i=v[a+12>>2];j=h-i|0;g=j>>31;g=(g^g+j)>>>0<128?i:h;v[d+4>>2]=g;v[d+8>>2]=g+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}b:{if(v[a+408>>2]==(e|0)?v[a+404>>2]==(c|0):0){break b}v[a+404>>2]=c;v[a+408>>2]=e;b=v[a+208>>2];c:{if(!b){break c}d=Qa(v[a+212>>2],c);v[a+216>>2]=d;v[a+220>>2]=d+32&-64;f=b-1|0;if(!f){break c}d=a+224|0;while(1){g=Qa(v[d>>2],c);h=v[a+216>>2];i=g-h|0;b=i>>31;b=(b^b+i)>>>0<128?h:g;v[d+4>>2]=b;v[d+8>>2]=b+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}t[a+2492|0]=(c|0)<=34359737?(B(c,125)|0)<v[a+2476>>2]<<3:0;d=v[a+2480>>2];d:{if((d|0)<1){break d}while(1){if((Qa(d,c)|0)<33){break d}b=(d|0)>1;d=d-1|0;if(b){continue}break}d=0}v[a+2484>>2]=d;b=v[a+412>>2];if(b){d=a+416|0;while(1){k=d,l=Qa(v[d+8>>2],c)+e|0,v[k+28>>2]=l;k=d,l=Qa(v[d+12>>2],c)+e|0,v[k+24>>2]=l;k=d,l=Qa(v[d>>2],c)+e|0,v[k+16>>2]=l;k=d,l=Qa(v[d+4>>2],c),v[k+20>>2]=l;v[d+16>>2]=v[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}b=v[a+928>>2];if(b){d=a+932|0;while(1){k=d,l=Qa(v[d+8>>2],c)+e|0,v[k+28>>2]=l;k=d,l=Qa(v[d+12>>2],c)+e|0,v[k+24>>2]=l;k=d,l=Qa(v[d>>2],c)+e|0,v[k+16>>2]=l;k=d,l=Qa(v[d+4>>2],c),v[k+20>>2]=l;v[d+16>>2]=v[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}b=v[a+1444>>2];if(b){d=a+1448|0;while(1){k=d,l=Qa(v[d+8>>2],c)+e|0,v[k+28>>2]=l;k=d,l=Qa(v[d+12>>2],c)+e|0,v[k+24>>2]=l;k=d,l=Qa(v[d>>2],c)+e|0,v[k+16>>2]=l;k=d,l=Qa(v[d+4>>2],c),v[k+20>>2]=l;v[d+16>>2]=v[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}b=v[a+1960>>2];if(b){d=a+1964|0;while(1){k=d,l=Qa(v[d+8>>2],c)+e|0,v[k+28>>2]=l;k=d,l=Qa(v[d+12>>2],c)+e|0,v[k+24>>2]=l;k=d,l=Qa(v[d>>2],c)+e|0,v[k+16>>2]=l;k=d,l=Qa(v[d+4>>2],c),v[k+20>>2]=l;v[d+16>>2]=v[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}e:{g=v[a+412>>2];if(!g){break e}d=v[a+1444>>2];if(!d){break e}b=a+1448|0;f=a+416|0;while(1){e=b;f:{if(!d){break f}while(1){i=v[f>>2]-v[e>>2]|0;h=i>>31;if((Qa(h^h+i,c)|0)<=63){v[f+28>>2]=v[e+28>>2];v[f+24>>2]=v[e+24>>2];v[f+16>>2]=v[e+16>>2];v[f+20>>2]=v[e+20>>2];break f}e=e+32|0;d=d-1|0;if(d){continue}break}}g=g-1|0;if(!g){break e}f=f+32|0;d=v[a+1444>>2];continue}}g=v[a+928>>2];if(!g){break b}d=v[a+1960>>2];if(!d){break b}b=a+1964|0;f=a+932|0;while(1){e=b;g:{if(!d){break g}while(1){i=v[f>>2]-v[e>>2]|0;h=i>>31;if((Qa(h^h+i,c)|0)>=64){e=e+32|0;d=d-1|0;if(d){continue}break g}break}v[f+28>>2]=v[e+28>>2];v[f+24>>2]=v[e+24>>2];v[f+16>>2]=v[e+16>>2];v[f+20>>2]=v[e+20>>2]}g=g-1|0;if(!g){break b}f=f+32|0;d=v[a+1960>>2];continue}}}function tv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=Ca-48|0;Ca=f;Gf(a,f+32|0);g=3;k=v[f+40>>2];a:{if(!k){break a}l=v[f+32>>2];v[f+28>>2]=l;i=v[f+36>>2];b:{c:{e=v[b+8>>2];d:{if((e|0)==7){e=v[a+8>>2];v[a+8>>2]=i-1;h=v[a>>2];v[a>>2]=l+1;Gf(a,f);v[a+8>>2]=e;v[a>>2]=h;e=8;m=1;h=1;if(v[f+8>>2]==3){break d}e=7;break b}if((k|0)!=3){break c}h=d}m=h;if(!d){break a}n=1;v[f+28>>2]=l+1;i=i-1|0;break b}m=1}e:{if(m){l=B(d,3);o=d<<2;q=e-1|0;r=k-2|0;p=d<<1;s=p<<2;while(1){e=v[(n<<2)+c>>2];h=v[b+16>>2];wc(f+28|0,i);k=e+h|0;g=3;f:{g:{h:{i:{j:{k:{switch(q|0){case 0:g=v[f+28>>2];h=g;l:{if(w[g|0]!=116|g+3>>>0>=i>>>0|(w[g+1|0]!=114|w[g+2|0]!=117)){break l}if(w[h+3|0]!=101){break l}e=1;v[f+28>>2]=g+5;break j}e=0;m:{if(w[g|0]!=102|g+4>>>0>=i>>>0|(w[g+1|0]!=97|w[g+2|0]!=108)){break m}if(w[h+3|0]!=115){break m}g=w[g+4|0]==101?g+6|0:g}v[f+28>>2]=g;break j;case 2:e=Je(f+28|0,i,0);break j;case 3:e=Je(f+28|0,i,3);break j;case 7:break g;case 6:break h;case 4:case 5:break i;case 1:break k;default:break a}}j=v[f+28>>2];v[f>>2]=j;h=Ke(f,i,10);e=0;g=v[f>>2];if((j|0)==(g|0)){break j}if(!(w[g|0]!=35|g>>>0>=i>>>0)){j=g+1|0;v[f>>2]=j;h=Ke(f,i,h);g=v[f>>2];if((j|0)==(g|0)){break j}}v[f+28>>2]=g;e=h}n:{switch(w[b+20|0]-1|0){case 0:t[k|0]=e;break f;case 1:u[k>>1]=e;break f;default:break n}}v[k>>2]=e;break f}e=v[f+28>>2];if(e>>>0>=i>>>0){break f}j=i-e|0;h=v[a+16>>2];o:{p:{switch(r|0){case 2:v[f+28>>2]=e+1;e=j-1|0;break o;case 0:break p;default:break a}}v[f+28>>2]=e+1;e=j-2|0}g=v[k>>2];if(g){if(g){Ea[v[h+8>>2]](h,g)}v[k>>2]=0}h=qb(h,e+1|0,f+24|0);g=v[f+24>>2];if(g){break a}g=e;e=Ta(h,v[f+28>>2],e);t[g+e|0]=0;v[k>>2]=e;break f}if((Ng(f+28|0,i,4,f,0)|0)<=3){break a}e=v[f>>2];v[k>>2]=((e>>31)+e|0)+32768&-65536;e=v[f+4>>2];v[k+4>>2]=((e>>31)+e|0)+32768&-65536;e=v[f+8>>2];v[k+8>>2]=((e>>31)+e|0)+32768&-65536;e=v[f+12>>2];v[k+12>>2]=((e>>31)+e|0)+32768&-65536;break f}k=v[a+16>>2];e=Ua(k,4,0,o,0,f+24|0);g=v[f+24>>2];if(g){break a}h=Ng(f+28|0,i,d,e,0);if((h|0)<0|d>>>0>h>>>0){break e}wc(f+28|0,i);h=Ng(f+28|0,i,d,e+o|0,0);if((h|0)<0|d>>>0>h>>>0){break e}wc(f+28|0,i);h=Ng(f+28|0,i,d,e+s|0,0);if((h|0)<0|d>>>0>h>>>0){break e}wc(f+28|0,i);h=Ng(f+28|0,i,d,e+(l<<2)|0,0);if((h|0)<0|d>>>0>h>>>0){break e}wc(f+28|0,i);h=0;if(d){while(1){j=h<<2;g=v[j+c>>2];j=v[e+j>>2];v[g>>2]=((j>>31)+j|0)+32768&-65536;j=v[e+(d+h<<2)>>2];v[g+4>>2]=((j>>31)+j|0)+32768&-65536;j=v[e+(h+p<<2)>>2];v[g+8>>2]=((j>>31)+j|0)+32768&-65536;j=g;g=v[e+(h+l<<2)>>2];v[j+12>>2]=((g>>31)+g|0)+32768&-65536;h=h+1|0;if((h|0)!=(d|0)){continue}break}}if(e){Ea[v[k+8>>2]](k,e)}}n=n+1|0;m=m-1|0;if(m){continue}break}}g=0;break a}v[f+24>>2]=3;if(e){Ea[v[k+8>>2]](k,e)}g=v[f+24>>2]}Ca=f+48|0;return g|0}function Fp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=v[b+4>>2];a:{if(c>>>0>a>>>0){break a}f=v[b+8>>2];if(f>>>0<a>>>0|f-a>>>0<2){break a}e=v[b+12>>2];h=e-2|0;v[b+12>>2]=h;if(!(w[a+1|0]|w[a|0]<<8)|(h|0)<1){break a}g=c;c=a+4|0;if(g>>>0>c>>>0|c>>>0>f>>>0|f-c>>>0<4){break a}f=e-6|0;v[b+12>>2]=f;if((f|0)<1){break a}d=1;f=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);i=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(!i){break a}f=a+8|0;while(1){a=0;e=v[b+4>>2];c=f+4|0;b:{if(e>>>0>c>>>0){break b}d=v[b+8>>2];if(d>>>0<c>>>0|d-c>>>0<4){break b}h=v[b+12>>2]-4|0;v[b+12>>2]=h;if((h|0)<1){break b}c=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0<12|f>>>0<e>>>0|(d>>>0<f>>>0|c>>>0>d-f>>>0)){break b}c=h-c|0;v[b+12>>2]=c;if((c|0)<1){break b}h=w[f+9|0]|w[f+8|0]<<8;if(h){g=e;e=f+12|0;if(g>>>0>e>>>0|d>>>0<e>>>0){break b}e=d-e|0;d=B(h,12);if(e>>>0<d>>>0){break b}d=c-d|0;v[b+12>>2]=d;if((d|0)<1){break b}d=B(w[f+9|0]|w[f+8|0]<<8,12)}else{d=0}a=1;j=w[f+11|0]|w[f+10|0]<<8;if(!j){break b}d=(d+f|0)+12|0;h=0;while(1){a=0;c:{if(y[b+4>>2]>d>>>0){break c}c=v[b+8>>2];if(c>>>0<d>>>0){break c}g=c-d|0;if(g>>>0<2){break c}c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break c}e=w[d+1|0]|w[d|0]<<8;if(e>>>0<9|e>>>0>g>>>0){break c}c=c-e|0;v[b+12>>2]=c;if((c|0)<1){break c}c=v[b+28>>2];a=v[c+12>>2];v[b+4>>2]=a;e=v[c+16>>2];c=e+a|0;v[b+8>>2]=c;d:{if((e|0)<=-1){break d}e:{if(!(d>>>0<c>>>0?a>>>0<=d>>>0:0)){v[b+4>>2]=0;v[b+8>>2]=0;break e}v[b+4>>2]=d;a=w[d+1|0]|w[d|0]<<8;c=c-d|0;v[b+8>>2]=(a>>>0<c>>>0?a:c)+d}c=Ca-16|0;Ca=c;a=1;f:{g:{switch(w[d+3|0]){case 0:a=Sj(d+8|0,b);break f;case 1:a=0;v[c+12>>2]=0;if(!Ep(d+8|0,b,c+12|0)){break f}e=d+16|0;if(e>>>0<y[b+4>>2]){break f}g=v[b+8>>2];if(g>>>0<e>>>0|g-e>>>0<2){break f}a=v[b+12>>2]-2|0;v[b+12>>2]=a;a=(a|0)>0;break f;case 2:a=0;e=d+8|0;if(e>>>0<y[b+4>>2]){break f}g=v[b+8>>2];if(g>>>0<e>>>0|g-e>>>0<28){break f}g=v[b+12>>2]-28|0;v[b+12>>2]=g;if((g|0)<1){break f}if(!Sj(e,b)|!(w[d+17|0]|w[d+16|0]<<8)|!(w[d+19|0]|w[d+18|0]<<8)){break f}a=(w[d+21|0]|w[d+20|0]<<8)!=0;break f;case 4:a=qe(d+8|0,b);break f;case 5:break g;default:break f}}a=0;e=d+8|0;if(e>>>0<y[b+4>>2]){break f}g=v[b+8>>2];if(g>>>0<e>>>0|g-e>>>0<20){break f}g=v[b+12>>2]-20|0;v[b+12>>2]=g;if((g|0)<1){break f}if(!Ep(e,b,0)){break f}a=(w[d+17|0]|w[d+16|0]<<8)!=0}Ca=c+16|0;c=v[b+28>>2];e=v[c+12>>2];v[b+4>>2]=e;c=v[c+16>>2];v[b+8>>2]=c+e;if((c|0)<=-1){break d}break c}O(229360,229385,194,229402);L()}if(!a){break b}d=(w[d+1|0]|w[d|0]<<8)+d|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}d=a;if(!d){break a}a=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);f=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+f|0;k=k+1|0;if((k|0)!=(i|0)){continue}break}}return d}function Ou(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;p=c;if(c>>>28|0){k=0}else{c=p<<4;k=gb(0,c?c:1)}if(k){a:{if((p|0)>0){while(1){g=(i<<5)+b|0;b:{if(!v[g+20>>2]|!v[g+8>>2]|!v[g+16>>2]){break b}c=v[g+28>>2];f=v[c+52>>2];if(!f){f=eb(1,20);v[c+52>>2]=f;if(!f){break b}}if(v[a+112>>2]!=v[f+16>>2]){v[f>>2]=0;v[f+4>>2]=0;v[f+16>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;f=v[c+52>>2];v[f+16>>2]=v[a+112>>2]}e=v[f+4>>2];if((e|0)<1){break b}d=v[f+12>>2];n=d;o=v[f+8>>2];l=o;m=v[f>>2];h=m;c=e;if((c|0)!=v[g+8>>2]){n=0;hb(v[a>>2],2,365768,0);v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=0;l=0;h=0;c=0}if((j|0)>=1){q=d+o|0;r=e+m|0;d=0;while(1){e=(d<<4)+k|0;if(!((m|0)>=v[e+12>>2]|v[e+4>>2]>=(r|0)|((q|0)<=v[e>>2]|(o|0)>=v[e+8>>2]))){v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;n=0;l=0;h=0;c=0}d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((c|0)<1){break b}e=(j<<4)+k|0;v[e+12>>2]=c+h;v[e+4>>2]=h;v[e+8>>2]=l+n;v[e>>2]=l;d=v[g>>2];if(d){l=h-v[g+4>>2]|0;f=v[a+140>>2];while(1){e=l+v[d+24>>2]|0;v[d+24>>2]=e;c=v[d+4>>2];if((e|0)>=0){e=c+e|0}else{v[d+24>>2]=0;c=c+e|0;v[d+4>>2]=c;v[d+12>>2]=v[d+12>>2]-B(e,v[d+8>>2]);e=c}if((e|0)>=(f|0)){c=(f-e|0)+c|0;v[d+4>>2]=c}if((c|0)<=0){v[d+24>>2]=0;v[d+4>>2]=0}d=v[d+28>>2];if(d){continue}break}}j=j+1|0;v[g+4>>2]=h}i=i+1|0;if((p|0)!=(i|0)){continue}break}Uc(k,j,16,821);if((p|0)<1){break a}l=0;while(1){g=(l<<5)+b|0;c:{if(!v[g+20>>2]|!v[g+8>>2]|!v[g+16>>2]){break c}c=v[g+28>>2];h=v[c+52>>2];if(!h){h=eb(1,20);v[c+52>>2]=h;if(!h){break c}}if(v[a+112>>2]!=v[h+16>>2]){v[h>>2]=0;v[h+4>>2]=0;v[h+16>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;h=v[c+52>>2];v[h+16>>2]=v[a+112>>2]}if(v[h+4>>2]){break c}d=v[g+12>>2];o=d+v[g+16>>2]|0;f=v[g+4>>2];n=f+v[g+8>>2]|0;d:{if(v[g+24>>2]==1){i=0;c=0;if((j|0)<1){break d}while(1){e=(c<<4)+k|0;e:{if(v[e+4>>2]>=(i+n|0)){break e}m=v[e+12>>2];if((m|0)<=(f+i|0)|(o|0)<=v[e>>2]){break e}i=(d|0)<v[e+8>>2]?m-f|0:i}c=c+1|0;if((j|0)!=(c|0)){continue}break}break d}i=0;c=j;if((c|0)<1){break d}while(1){e=c;c=c-1|0;m=(c<<4)+k|0;q=v[m+4>>2];if(!((q|0)>=(i+n|0)|v[m+12>>2]<=(f+i|0)|(o|0)<=v[m>>2])){i=(d|0)<v[m+8>>2]?q-n|0:i}if((e|0)>1){continue}break}}c=(j<<4)+k|0;v[c+12>>2]=i+n;v[c+4>>2]=f+i;v[c+8>>2]=o;v[c>>2]=d;j=j+1|0;Uc(k,j,16,821);f:{if(!i){d=v[g+4>>2];break f}d=v[g>>2];if(d){f=v[a+140>>2];while(1){e=v[d+24>>2]+i|0;v[d+24>>2]=e;c=v[d+4>>2];if((e|0)>=0){e=c+e|0}else{v[d+24>>2]=0;c=c+e|0;v[d+4>>2]=c;v[d+12>>2]=v[d+12>>2]-B(e,v[d+8>>2]);e=c}if((e|0)>=(f|0)){c=(f-e|0)+c|0;v[d+4>>2]=c}if((c|0)<=0){v[d+24>>2]=0;v[d+4>>2]=0}d=v[d+28>>2];if(d){continue}break}}d=v[g+4>>2]+i|0;v[g+4>>2]=d}v[h>>2]=d;v[h+4>>2]=v[g+8>>2];v[h+8>>2]=v[g+12>>2];v[h+12>>2]=v[g+16>>2]}l=l+1|0;if((p|0)!=(l|0)){continue}break}break a}Uc(k,0,16,821)}Pa(k)}}function hN(a,b,c){a=a|0;b=+b;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=C(0),j=C(0),k=0,l=C(0),m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,E=C(0),F=C(0),G=C(0),H=0,I=0,J=0;v[a+72>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;u=a+40|0;d=v[a+4>>2];h=v[a+8>>2];b=b*1e3;a:{if(D(b)<2147483648){f=~~b;break a}f=-2147483648}f=Km(d,h,f,f>>31,u);b:{if(!f|!(v[u>>2]|c)){break b}b=+ba();n=v[f+24>>2];g=(n+v[f+4>>2]|0)-1|0;o=v[f+20>>2];c=(o+v[f>>2]|0)-1|0;e=v[f+28>>2];if(e){while(1){k=v[e>>2];c:{if(!k){break c}h=v[e+4>>2];if(!h){break c}d=h;h=v[e+24>>2];d=(d+h|0)-1|0;g=(g|0)<(d|0)?d:g;d=k;k=v[e+20>>2];d=(d+k|0)-1|0;c=(c|0)<(d|0)?d:c;n=(h|0)<(n|0)?h:n;o=(k|0)<(o|0)?k:o}e=v[e+28>>2];if(e){continue}break}}t=c-o|0;k=t+1|0;if(k>>>0<t>>>0){break b}p=g-n|0;x=p+1|0;if(x>>>0<p>>>0){break b}d:{e:{f:{c=v[a+28>>2];e=B(k,x)<<4;if((c|0)>=(e|0)){if(!(+(c|0)>=+(e|0)*1.3)){v[a+32>>2]=0;break f}c=v[a+32>>2];v[a+32>>2]=c+1;if((c|0)<9){break f}}c=Va(e);if(!c){break e}Pa(v[a+24>>2]);v[a+32>>2]=0;v[a+28>>2]=e;v[a+24>>2]=c;break d}c=v[a+24>>2];if(c){break d}}Za(1156,0);break b}h=Ra(c,0,e);while(1){d=v[f>>2];g:{if(!d){break g}q=v[f+4>>2];if(!q){break g}c=v[f+16>>2];e=c&255;if((e|0)==255|(q|0)<1){break g}g=v[f+8>>2];r=(g|0)<(d|0)?d:g;y=v[f+20>>2]-o|0;l=C(+(e^255)/255);E=C(+(c>>>24>>>0)/255);F=C(+((c>>>8&255)>>>0)/255);G=C(+((c>>>16&255)>>>0)/255);H=v[f+12>>2];s=B(k,v[f+24>>2]-n|0);m=0;g=0;while(1){if((d|0)>0){I=s+y|0;c=0;while(1){i=C(C(l*C(w[(c+g|0)+H|0]))/C(255));j=C(C(1)-i);e=h+(c+I<<4)|0;z[e+12>>2]=i+C(z[e+12>>2]*j);z[e>>2]=C(i*E)+C(z[e>>2]*j);z[e+4>>2]=C(i*G)+C(j*z[e+4>>2]);z[e+8>>2]=C(i*F)+C(j*z[e+8>>2]);c=c+1|0;if((d|0)!=(c|0)){continue}break}}s=k+s|0;g=g+r|0;m=m+1|0;if((q|0)!=(m|0)){continue}break}}f=v[f+28>>2];if(f){continue}break}if((p|0)>=0){p=p+1|0;s=t+1|0;c=0;f=0;while(1){e=0;if((t|0)>=0){while(1){g=c+e|0;d=g<<2;q=d+h|0;i=z[h+(g<<4|12)>>2];if(i>C(.0035294117406010628)){m=i<C(1.00352942943573);g=d<<2;j=C(z[g+h>>2]/i);r=j<C(1.00352942943573);l=C(i*C(255));h:{if(C(D(l))<C(2147483648)){d=~~l;break h}d=-2147483648}m=m?d<<24:-16777216;l=C(j*C(255));i:{if(C(D(l))<C(2147483648)){d=~~l;break i}d=-2147483648}l=C(z[h+(g|4)>>2]/i);y=l<C(1.00352942943573);m=(j>C(.0035294117406010628)?r?d:255:0)|m;i=C(z[h+(g|8)>>2]/i);r=i<C(1.00352942943573);j=C(l*C(255));j:{if(C(D(j))<C(2147483648)){d=~~j;break j}d=-2147483648}g=(l>C(.0035294117406010628)?y?d<<8:65280:0)|m;j=C(i*C(255));k:{if(C(D(j))<C(2147483648)){d=~~j;break k}d=-2147483648}d=g|(i>C(.0035294117406010628)?r?d<<16:16711680:0)}else{d=0}v[q>>2]=d;e=e+1|0;if((s|0)!=(e|0)){continue}break}}c=c+k|0;f=f+1|0;if((p|0)!=(f|0)){continue}break}}v[a+68>>2]=x;v[a- -64>>2]=k;v[a+60>>2]=n;v[a+56>>2]=o;J=+ba();v[a+72>>2]=h;A[a+48>>3]=J-b}return u|0}function bD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=v[a+16>>2];if(y[a+20>>2]>=g+16>>>0){h=v[a+32>>2];f=h;b=v[g>>2];d=w[b|0];a:{if((d|0)==30){c=zc(a,b,0,0);break a}e=b+1|0;b:{c:{d:{switch(d-28|0){case 0:c=0;if(y[a+8>>2]<=b+2>>>0){break a}b=(w[b+2|0]|w[e|0]<<8)<<16>>16;break b;case 1:c=0;if(y[a+8>>2]<=b+4>>>0){break a}b=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break c;default:break d}}c=(d<<16)-9109504|0;if(d>>>0<=246){break a}b=v[a+8>>2];if(d>>>0<=250){c=0;if(b>>>0<=e>>>0){break a}b=(w[e|0]|d<<8)-63124|0;break b}c=0;if(b>>>0<=e>>>0){break a}b=64148-(w[e|0]|d<<8)|0}c=2147483647;if((b|0)>32767){break a}}c=(b|0)<-32767?-2147483647:b<<16}b=c;v[f+84>>2]=((b>>31)+b|0)+32768&-65536;f=h;b=v[g+4>>2];e=w[b|0];e:{if((e|0)==30){c=zc(a,b,0,0);break e}d=b+1|0;f:{g:{h:{switch(e-28|0){case 0:c=0;if(y[a+8>>2]<=b+2>>>0){break e}b=(w[b+2|0]|w[d|0]<<8)<<16>>16;break f;case 1:c=0;if(y[a+8>>2]<=b+4>>>0){break e}b=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break g;default:break h}}c=(e<<16)-9109504|0;if(e>>>0<=246){break e}b=v[a+8>>2];if(e>>>0<=250){c=0;if(b>>>0<=d>>>0){break e}b=(w[d|0]|e<<8)-63124|0;break f}c=0;if(b>>>0<=d>>>0){break e}b=64148-(w[d|0]|e<<8)|0}c=2147483647;if((b|0)>32767){break e}}c=(b|0)<-32767?-2147483647:b<<16}d=c;v[f+88>>2]=((d>>31)+d|0)+32768&-65536;f=h;b=v[g+8>>2];e=w[b|0];i:{if((e|0)==30){c=zc(a,b,0,0);break i}d=b+1|0;j:{k:{l:{switch(e-28|0){case 0:c=0;if(y[a+8>>2]<=b+2>>>0){break i}b=(w[b+2|0]|w[d|0]<<8)<<16>>16;break j;case 1:c=0;if(y[a+8>>2]<=b+4>>>0){break i}b=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break k;default:break l}}c=(e<<16)-9109504|0;if(e>>>0<=246){break i}b=v[a+8>>2];if(e>>>0<=250){c=0;if(b>>>0<=d>>>0){break i}b=(w[d|0]|e<<8)-63124|0;break j}c=0;if(b>>>0<=d>>>0){break i}b=64148-(w[d|0]|e<<8)|0}c=2147483647;if((b|0)>32767){break i}}c=(b|0)<-32767?-2147483647:b<<16}d=c;v[f+92>>2]=((d>>31)+d|0)+32768&-65536;b=v[g+12>>2];d=w[b|0];m:{if((d|0)==30){f=zc(a,b,0,0);break m}e=b+1|0;n:{o:{p:{switch(d-28|0){case 0:f=0;if(y[a+8>>2]<=b+2>>>0){break m}a=(w[b+2|0]|w[e|0]<<8)<<16>>16;break n;case 1:f=0;if(y[a+8>>2]<=b+4>>>0){break m}a=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break o;default:break p}}f=(d<<16)-9109504|0;if(d>>>0<=246){break m}a=v[a+8>>2];if(d>>>0<=250){f=0;if(a>>>0<=e>>>0){break m}a=(w[e|0]|d<<8)-63124|0;break n}f=0;if(a>>>0<=e>>>0){break m}a=64148-(w[e|0]|d<<8)|0}f=2147483647;if((a|0)>32767){break m}}f=(a|0)<-32767?-2147483647:a<<16}b=f;v[h+96>>2]=((b>>31)+b|0)+32768&-65536;a=0}else{a=161}return a|0}function Tg(a,b,c){var d=0,e=0,f=C(0),g=C(0);e=v[a+16>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{if((b|0)<=1986098018){if((b|0)==1751216995){break j}if((b|0)==1751413603){break i}if((b|0)!=1751934832){break b}d=e+68|0;if(t[gf(d)+63|0]>-1){break h}b=gf(d);if(!(w[b+4|0]<<8|w[b+5|0]|(w[b+7|0]|w[b+6|0]<<8)|(w[b+65|0]|w[b+64|0]<<8))){if(!(w[b+67|0]|w[b+66|0]<<8)){break h}}if(!c){break c}b=gf(d);b=w[b+72|0]|w[b+73|0]<<8;f=C(ef(ff(e+124|0),1751934832,v[a+64>>2],v[a+60>>2])+C((b<<8|b>>>8)<<16>>16));g=C(v[a+24>>2]);break d}if((b|0)==1986098019){break g}if((b|0)==1986294627){break f}if((b|0)!=1986815856){break b}b=e+88|0;d=ig(b);if(w[d|0]<<8|w[d+1|0]){break e}break a}k:{d=e+68|0;if(t[gf(d)+63|0]>-1){break k}b=gf(d);if(!(w[b+4|0]<<8|w[b+5|0]|(w[b+7|0]|w[b+6|0]<<8)|(w[b+65|0]|w[b+64|0]<<8))){if(!(w[b+67|0]|w[b+66|0]<<8)){break k}}if(!c){break c}b=gf(d);b=w[b+68|0]|w[b+69|0]<<8;f=C(D(C(ef(ff(e+124|0),1751216995,v[a+64>>2],v[a+60>>2])+C((b<<8|b>>>8)<<16>>16))));g=C(v[a+24>>2]);break d}b=e+60|0;d=jg(b);if(!(w[d|0]<<8|w[d+1|0])){break a}if(!c){break c}b=jg(b);b=w[b+4|0]|w[b+5|0]<<8;f=C(D(C(ef(ff(e+124|0),1751216995,v[a+64>>2],v[a+60>>2])+C((b<<8|b>>>8)<<16>>16))));g=C(v[a+24>>2]);break d}l:{d=e+68|0;if(t[gf(d)+63|0]>-1){break l}b=gf(d);if(!(w[b+4|0]<<8|w[b+5|0]|(w[b+7|0]|w[b+6|0]<<8)|(w[b+65|0]|w[b+64|0]<<8))){if(!(w[b+67|0]|w[b+66|0]<<8)){break l}}if(!c){break c}b=gf(d);b=w[b+70|0]|w[b+71|0]<<8;g=C(-C(D(C(ef(ff(e+124|0),1751413603,v[a+64>>2],v[a+60>>2])+C((b<<8|b>>>8)<<16>>16)))));f=C(v[a+24>>2]);break d}b=e+60|0;d=jg(b);if(!(w[d|0]<<8|w[d+1|0])){break a}if(!c){break c}b=jg(b);b=w[b+6|0]|w[b+7|0]<<8;g=C(-C(D(C(ef(ff(e+124|0),1751413603,v[a+64>>2],v[a+60>>2])+C((b<<8|b>>>8)<<16>>16)))));f=C(v[a+24>>2]);break d}b=e+60|0;d=jg(b);if(!(w[d|0]<<8|w[d+1|0])){break a}if(!c){break c}b=jg(b);b=w[b+8|0]|w[b+9|0]<<8;f=C(ef(ff(e+124|0),1751934832,v[a+64>>2],v[a+60>>2])+C((b<<8|b>>>8)<<16>>16));g=C(v[a+24>>2]);break d}b=e+88|0;d=ig(b);if(!(w[d|0]<<8|w[d+1|0])){break a}if(!c){break c}b=ig(b);b=w[b+4|0]|w[b+5|0]<<8;f=C(D(C(ef(ff(e+124|0),1986098019,v[a+64>>2],v[a+60>>2])+C((b<<8|b>>>8)<<16>>16))));g=C(v[a+20>>2]);break d}b=e+88|0;d=ig(b);if(!(w[d|0]<<8|w[d+1|0])){break a}if(!c){break c}b=ig(b);b=w[b+6|0]|w[b+7|0]<<8;g=C(-C(D(C(ef(ff(e+124|0),1986294627,v[a+64>>2],v[a+60>>2])+C((b<<8|b>>>8)<<16>>16)))));f=C(v[a+20>>2]);break d}if(!c){break c}b=ig(b);b=w[b+8|0]|w[b+9|0]<<8;f=C(ef(ff(e+124|0),1986815856,v[a+64>>2],v[a+60>>2])+C((b<<8|b>>>8)<<16>>16));g=C(v[a+20>>2])}b=v[a+16>>2];a=v[b+28>>2];if(!a){a=Fb(b)}f=C(H(C(C(C(f*g)/C(a>>>0))+C(.5))));m:{if(C(D(f))<C(2147483648)){a=~~f;break m}a=-2147483648}v[c>>2]=a}return 1}O(246891,246893,95,246910);L()}return 0}function op(a,b,c){var d=0,e=0,f=0;a=v[b+16>>2];b=1;e=v[Ic(c+136|0)>>2];d=v[(e?e:280448)+16>>2];e=d>>>11|0;f=d<<21;d=a<<10;a=v[ad(c+140|0)>>2];a=f|v[(a?a:280448)+16>>2];c=d|e;d=c;a:{b:{if((d|0)<987147?1:(d|0)<=987147?a>>>0<=2743134887:0){if((d|0)<452609?1:(d|0)<=452609?a>>>0<=1732289589:0){if((d|0)<196614?1:(d|0)<=196614?a>>>0<=843062357:0){if((d|0)<192512?1:(d|0)<=192512?a>>>0<=553651553:0){if((a|0)==1606425686&(d|0)==184326){break a}if((a|0)!=520097548|(d|0)!=192512){break b}break a}if((a|0)==553651554&(d|0)==192512){break a}if((a|0)!=734010454|(d|0)!=196614){break b}break a}if((d|0)<440321?1:(d|0)<=440321?a>>>0<=1732288213:0){if((a|0)==843062358&(d|0)==196614){break a}if((a|0)!=1732286926|(d|0)!=440321){break b}break a}if((a|0)==1732288214&(d|0)==440321){break a}if((a|0)!=1732286668|(d|0)!=452609){break b}break a}if((d|0)<864259?1:(d|0)<=864259?a>>>0<=2428547489:0){if((d|0)<501761?1:(d|0)<=501761?a>>>0<=2092999333:0){if((a|0)==1732289590&(d|0)==452609){break a}if((a|0)!=2092999598|(d|0)!=489473){break b}break a}if((a|0)==2092999334&(d|0)==501761){break a}if((a|0)!=-1820280774|(d|0)!=851971){break b}break a}if((d|0)<931846?1:(d|0)<=931846?a>>>0<=583055987:0){if((a|0)==-1866419806&(d|0)==864259){break a}if((a|0)!=557888902|(d|0)!=919558){break b}break a}if((a|0)==583055988&(d|0)==931846|(a|0)==1614866372&(d|0)==950283){break a}if((a|0)!=1640033596|(d|0)!=962571){break b}break a}c:{if((d|0)<1071126?1:(d|0)<=1071126?a>>>0<=4139790647:0){if((d|0)<1030155?1:(d|0)<=1030155?a>>>0<=4072730923:0){if((d|0)<1017867?1:(d|0)<=1017867?a>>>0<=4081118127:0){if((a|0)==-1551832408&(d|0)==987147){break a}if((a|0)!=-1560219632|(d|0)!=999435){break b}break a}if((a|0)==-213849168&(d|0)==1017867){break a}if((a|0)!=-629130764|(d|0)!=1028124){break b}break a}c=d-((a>>>0<61346)+1030156|0)|0;e=a-61346|0;if(!c&e>>>0<=6){break c}c=d-((a>>>0<4286641516)+1042443|0)|0;e=a+8325780|0;if(!c&e>>>0>6|c){if((a|0)!=-222236372|(d|0)!=1030155){break b}break a}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:break b;default:break a}}if((d|0)<1083427?1:(d|0)<=1083427?a>>>0<=239092841:0){if((d|0)<1071139?1:(d|0)<=1071139?a>>>0<=230704581:0){if((a|0)==-155176648&(d|0)==1071126){break a}if((a|0)!=226509528|(d|0)!=1071139){break b}break a}if((a|0)==230704582&(d|0)==1071139){break a}if((a|0)!=-150983126|(d|0)!=1083414){break b}break a}if((d|0)<1361973?1:(d|0)<=1361973?a>>>0<=2852184657:0){if((a|0)==239092842&(d|0)==1083427){break a}if((a|0)!=243286402|(d|0)!=1083427){break b}break a}if((a|0)==-1442782638&(d|0)==1361973|(a|0)==-1442781604&(d|0)==1361973){break a}break b}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:break b;default:break a}}b=0}return b}function ec(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=b>>>9|0;f=v[a+40>>2];a:{d=v[a+28>>2];b:{c:{if((d|0)<1){b=0;break c}i=v[a+32>>2];e=d-1|0;b=0;while(1){c=b+e>>>1|0;h=g-v[(c<<3)+i>>2]|0;d:{if((h|0)<=-1){e=c-1|0;break d}if(!h){b=c;break b}b=c+1|0}if((b|0)<=(e|0)){continue}break}}e=f+1|0;if(!(w[a+12|0]|e>>>0<f>>>0)){return 0}e:{f:{d=v[a+36>>2];g:{if((d|0)<0){break g}c=f;e=(e|0)>0?e:0;if(e>>>0>d>>>0){c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<d>>>0|c>>>0>67108862){break a}d=gb(v[a+44>>2],c<<6);if(!d){break a}v[a+36>>2]=c;v[a+44>>2]=d;c=v[a+40>>2]}if(c>>>0<e>>>0){Ra(v[a+44>>2]+(c<<6)|0,0,e-c<<6)}v[a+40>>2]=e;h:{i:{j:{k:{d=v[a+24>>2];if((d|0)>=0){if(d>>>0>=e>>>0){break j}c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(!(c>>>0<d>>>0|c>>>0>536870910)){d=gb(v[a+32>>2],c<<3);if(d){break k}}v[a+24>>2]=-1}b=v[a+36>>2];if((b|0)<0){break g}c=v[a+28>>2];f=(c|0)>0?c:0;if(f>>>0<=b>>>0){break h}c=b;while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(!(b>>>0>c>>>0|c>>>0>67108862)){b=gb(v[a+44>>2],c<<6);if(b){break i}}break a}v[a+24>>2]=c;v[a+32>>2]=d}c=v[a+28>>2];if(c>>>0<e>>>0){Ra(v[a+32>>2]+(c<<3)|0,0,e-c<<3)}v[a+28>>2]=e;if(f>>>0<y[a+40>>2]){break f}c=v[70127];v[163930]=v[70126];v[163931]=c;c=v[70125];v[163928]=v[70124];v[163929]=c;c=v[70123];v[163926]=v[70122];v[163927]=c;c=v[70121];v[163924]=v[70120];v[163925]=c;c=v[70119];v[163922]=v[70118];v[163923]=c;c=v[70117];v[163920]=v[70116];v[163921]=c;c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break e}v[a+36>>2]=c;v[a+44>>2]=b}b=v[a+40>>2];if(b>>>0<f>>>0){Ra(v[a+44>>2]+(b<<6)|0,0,f-b<<6)}v[a+40>>2]=f}t[a+12|0]=0;return 0}c=v[a+44>>2]+(f<<6)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;c=b<<3;d=c+v[a+32>>2]|0;mb(d+8|0,d,v[a+28>>2]+(b^-1)<<3);l:{if(y[a+28>>2]<=b>>>0){c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break l}c=c+v[a+32>>2]|0}v[c>>2]=g;v[c+4>>2]=f;d=v[a+28>>2]}m:{if(b>>>0>=d>>>0){c=v[70113];v[163916]=v[70112];v[163917]=c;b=c;break m}b=v[(v[a+32>>2]+(b<<3)|0)+4>>2]}if(b>>>0>=y[a+40>>2]){a=v[70127];v[163930]=v[70126];v[163931]=a;a=v[70125];v[163928]=v[70124];v[163929]=a;a=v[70123];v[163926]=v[70122];v[163927]=a;a=v[70121];v[163924]=v[70120];v[163925]=a;a=v[70119];v[163922]=v[70118];v[163923]=a;a=v[70117];v[163920]=v[70116];v[163921]=a;a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;return 655664}return v[a+44>>2]+(b<<6)|0}v[a+36>>2]=-1;t[a+12|0]=0;return 0}function Lj(a,b,c,d){var e=0,f=0,g=C(0),h=0,i=C(0),j=0,k=0,l=0,m=0,n=0;l=Ca-48|0;Ca=l;if(y[a+16>>2]>c>>>0){v[l+40>>2]=0;v[l+32>>2]=0;v[l+36>>2]=0;e=v[d+4>>2];Dn(l+8|0,a,c);m=vx(l+8|0,b,a,l+32|0,!e,0);a:{if(!m){break a}if(e){b=v[l+36>>2];if(b>>>0>=5){f=v[l+40>>2];k=b-4|0;c=0;while(1){b:{if(b>>>0<=c>>>0){a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break b}a=f+(c<<4)|0}g=z[d+12>>2];i=z[a+4>>2];z[d+12>>2]=g<=i?g:i;g=z[d+16>>2];i=z[a+8>>2];z[d+16>>2]=g<=i?g:i;g=z[d+20>>2];i=z[a+4>>2];z[d+20>>2]=g>=i?g:i;g=z[d+24>>2];i=z[a+8>>2];z[d+24>>2]=g>=i?g:i;c=c+1|0;if((k|0)!=(c|0)){continue}break}}j=v[d>>2];g=z[d+20>>2];i=z[d+12>>2];c:{if(z[d+16>>2]>=z[d+24>>2]?1:g<=i){v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;break c}f=v[j+20>>2];h=v[j+16>>2];b=v[h+28>>2];d:{if(b){a=b;k=f;break d}a=Fb(h);g=z[d+20>>2];h=v[j+16>>2];b=v[h+28>>2];k=v[j+20>>2]}n=e;i=C(H(C(C(C(i*C(f|0))/C(a>>>0))+C(.5))));e:{if(C(D(i))<C(2147483648)){c=~~i;break e}c=-2147483648}v[n>>2]=c;f:{if(b){a=b;break f}a=Fb(h);c=v[e>>2];h=v[j+16>>2];b=v[h+28>>2]}f=e;g=C(H(C(C(C(g*C(k|0))/C(a>>>0))+C(.5))));g:{if(C(D(g))<C(2147483648)){a=~~g;break g}a=-2147483648}v[f+8>>2]=a-c;f=v[j+24>>2];g=z[d+24>>2];h:{if(b){a=b;c=f;break h}a=Fb(h);h=v[j+16>>2];b=v[h+28>>2];c=v[j+24>>2]}k=e;g=C(H(C(C(C(g*C(f|0))/C(a>>>0))+C(.5))));i:{if(C(D(g))<C(2147483648)){a=~~g;break i}a=-2147483648}v[k+4>>2]=a;g=z[d+16>>2];if(!b){b=Fb(h);a=v[e+4>>2]}g=C(H(C(C(C(g*C(c|0))/C(b>>>0))+C(.5))));j:{if(C(D(g))<C(2147483648)){b=~~g;break j}b=-2147483648}v[e+12>>2]=b-a}}a=v[d+8>>2];if(!a){break a}d=v[l+40>>2];k:{l:{m:{n:{o:{b=v[l+36>>2];p:{if(b>>>0>=4){e=(d+(b<<4)|0)+-64|0;f=v[e+4>>2];v[a>>2]=v[e>>2];v[a+4>>2]=f;f=v[e+12>>2];v[a+8>>2]=v[e+8>>2];v[a+12>>2]=f;break p}k=v[70115];e=k;f=v[70114];v[163918]=f;v[163919]=e;h=v[70113];k=h;j=v[70112];v[163916]=j;v[163917]=h;v[a+8>>2]=f;v[a+12>>2]=e;v[a>>2]=j;v[a+4>>2]=h;if((b|0)!=3){break o}}e=(d+(b<<4)|0)-48|0;f=v[e+4>>2];v[a+16>>2]=v[e>>2];v[a+20>>2]=f;f=v[e+12>>2];v[a+24>>2]=v[e+8>>2];v[a+28>>2]=f;break n}v[163918]=f;v[163919]=e;v[163916]=j;v[163917]=k;v[a+24>>2]=f;v[a+28>>2]=e;v[a+16>>2]=j;v[a+20>>2]=k;if(b>>>0<2){break m}}e=(d+(b<<4)|0)-32|0;f=v[e+4>>2];v[a+32>>2]=v[e>>2];v[a+36>>2]=f;f=v[e+12>>2];v[a+40>>2]=v[e+8>>2];v[a+44>>2]=f;break l}k=v[70115];e=k;f=v[70114];v[163918]=f;v[163919]=e;h=v[70113];k=h;j=v[70112];v[163916]=j;v[163917]=h;v[a+40>>2]=f;v[a+44>>2]=e;v[a+32>>2]=j;v[a+36>>2]=h;if(b){break l}v[163918]=f;v[163919]=e;v[163916]=j;v[163917]=k;b=655664;break k}b=(d+(b<<4)|0)-16|0}d=v[b+4>>2];v[a+48>>2]=v[b>>2];v[a+52>>2]=d;c=v[b+12>>2];v[a+56>>2]=v[b+8>>2];v[a+60>>2]=c}Pa(v[l+40>>2])}Ca=l+48|0;return m}function rb(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;c=t[b|0];if(!c){return a}a=Tb(a,c);a:{if(!a){break a}if(!w[b+1|0]){return a}if(!w[a+1|0]){break a}if(!w[b+2|0]){d=w[a+1|0];c=(d|0)!=0;b:{if(!d){break b}f=d|w[a|0]<<8;e=w[b+1|0]|w[b|0]<<8;if((f|0)==(e|0)){break b}b=a+1|0;while(1){a=b;d=w[a+1|0];c=(d|0)!=0;if(!d){break b}b=a+1|0;f=d|f<<8&65280;if((e|0)!=(f|0)){continue}break}}return c?a:0}if(!w[a+2|0]){break a}if(!w[b+3|0]){d=b;b=a+2|0;e=w[a+2|0];c=(e|0)!=0;c:{d:{if(!e){break d}f=w[a+1|0]<<16|w[a|0]<<24|e<<8;e=w[d+1|0]<<16|w[d|0]<<24|w[d+2|0]<<8;if((f|0)==(e|0)){break d}while(1){a=b+1|0;d=w[b+1|0];c=(d|0)!=0;if(!d){break c}b=a;f=(d|f)<<8;if((e|0)!=(f|0)){continue}break}break c}a=b}return c?a-2|0:0}if(!w[a+3|0]){break a}if(!w[b+4|0]){d=b;b=a+3|0;e=w[a+3|0];c=(e|0)!=0;e:{f:{if(!e){break f}f=e|(w[a+1|0]<<16|w[a|0]<<24|w[a+2|0]<<8);a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if((f|0)==(e|0)){break f}while(1){a=b+1|0;d=w[b+1|0];c=(d|0)!=0;if(!d){break e}b=a;f=d|f<<8;if((e|0)!=(f|0)){continue}break}break e}a=b}return c?a-3|0:0}d=a;h=Ca-1056|0;Ca=h;a=h+1048|0;v[a>>2]=0;v[a+4>>2]=0;a=h+1040|0;v[a>>2]=0;v[a+4>>2]=0;v[h+1032>>2]=0;v[h+1036>>2]=0;v[h+1024>>2]=0;v[h+1028>>2]=0;j=b;g:{h:{i:{j:{c=w[b|0];k:{if(!c){i=-1;a=1;break k}while(1){if(!w[d+g|0]){break h}a=c&255;g=g+1|0;v[(a<<2)+h>>2]=g;b=(h+1024|0)+(a>>>3&28)|0;v[b>>2]=v[b>>2]|1<<a;c=w[g+j|0];if(c){continue}break}a=1;i=-1;if(g>>>0>1){break j}}e=-1;b=1;break i}b=0;k=1;c=1;while(1){e=w[(c+i|0)+j|0];f=w[a+j|0];l:{if((e|0)==(f|0)){if((c|0)==(k|0)){b=b+k|0;c=1;break l}c=c+1|0;break l}if(e>>>0>f>>>0){k=a-i|0;b=a;c=1;break l}i=b;b=b+1|0;k=1;c=1}a=b+c|0;if(g>>>0>a>>>0){continue}break}b=1;e=-1;if(g>>>0<=1){a=k;break i}a=0;f=1;c=1;while(1){m=w[(c+e|0)+j|0];l=w[b+j|0];m:{if((m|0)==(l|0)){if((c|0)==(f|0)){a=a+f|0;c=1;break m}c=c+1|0;break m}if(l>>>0>m>>>0){f=b-e|0;a=b;c=1;break m}e=a;a=a+1|0;f=1;c=1}b=a+c|0;if(g>>>0>b>>>0){continue}break}a=k;b=f}c=a;a=e+1>>>0>i+1>>>0;f=a?b:c;l=a?e:i;m=l+1|0;n:{if(lc(j,j+f|0,m)){a=(l^-1)+g|0;f=(a>>>0<l>>>0?l:a)+1|0;n=g-f|0;k=0;break n}n=g-f|0;k=n}p=g-1|0;o=g|63;e=0;a=d;while(1){o:{if(d-a>>>0>=g>>>0){break o}b=we(d,0,o);if(b){d=b;if(b-a>>>0<g>>>0){break h}break o}d=d+o|0}b=w[a+p|0];c=g;p:{q:{if(!(v[(h+1024|0)+(b>>>3&28)>>2]>>>b&1)){break q}b=g-v[(b<<2)+h>>2]|0;if(b){c=k?e?b>>>0<f>>>0?n:b:b:b;break q}r:{c=m;b=c>>>0>e>>>0?c:e;i=w[j+b|0];if(i){while(1){if(w[a+b|0]!=(i&255)){break r}b=b+1|0;i=w[j+b|0];if(i){continue}break}}while(1){if(c>>>0<=e>>>0){break g}c=c-1|0;if(w[j+c|0]==w[a+c|0]){continue}break}c=f;e=k;break p}c=b-l|0}e=0}a=a+c|0;continue}}a=0}Ca=h+1056|0;d=a}return d}function Ir(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;i=Ca-16|0;Ca=i;o=v[a>>2];k=v[b+20>>2];a:{b:{if(k){a=85;if(Ea[k|0](b,c,0,0)|0){break a}j=v[b+4>>2];break b}a=85;j=v[b+4>>2];if(j>>>0<c>>>0){break a}}v[b+8>>2]=c;v[i>>2]=0;c:{d:{if(c+1>>>0>=j>>>0){break d}e:{f:{a=v[b+20>>2];g:{if(a){if((Ea[a|0](b,c,i+6|0,2)|0)!=2){break d}j=v[b+8>>2];l=i+6|0;a=v[i>>2];break g}a=v[b>>2];if(!a){break f}l=a+c|0;j=c;a=0}k=w[l|0]|w[l+1|0]<<8;j=j+2|0;v[b+8>>2]=j;if(a){break a}a=8;p=(k<<8|k>>>8)<<16>>16;if((p|0)>4078){break a}if((p|0)>=0){break e}a=1;break a}j=c+2|0;v[b+8>>2]=j}while(1){v[i>>2]=0;if(y[b+4>>2]<=j+3>>>0){break d}h:{i:{a=v[b+20>>2];if(a){if((Ea[a|0](b,j,i+8|0,4)|0)!=4){break d}j=v[b+8>>2];a=v[i>>2];l=i+8|0;break i}a=v[b>>2];if(a){l=a+j|0;a=0;break i}l=j+4|0;v[b+8>>2]=l;n=0;break h}k=w[l|0]|w[l+1|0]<<8|(w[l+2|0]<<16|w[l+3|0]<<24);l=j+4|0;v[b+8>>2]=l;if(a){break a}n=k<<8&16711680|k<<24|(k>>>8&65280|k>>>24)}v[i>>2]=0;if(y[b+4>>2]<=j+5>>>0){break d}j:{k:{a=v[b+20>>2];if(a){if((Ea[a|0](b,l,i+12|0,2)|0)!=2){break d}l=v[b+8>>2];a=v[i>>2];j=i+12|0;break k}a=v[b>>2];if(a){j=a+l|0;a=0;break k}j=l+2|0;v[b+8>>2]=j;m=0;break j}k=w[j|0]|w[j+1|0]<<8;j=l+2|0;v[b+8>>2]=j;if(a){break a}m=k<<8|k>>>8}v[i>>2]=0;if(y[b+4>>2]<=l+3>>>0){break c}l:{m:{a=v[b+20>>2];if(a){if((Ea[a|0](b,j,i+14|0,2)|0)!=2){break c}j=v[b+8>>2];a=v[i>>2];l=i+14|0;break m}a=v[b>>2];if(a){l=a+j|0;a=0;break m}j=j+2|0;v[b+8>>2]=j;k=0;break l}k=w[l|0]|w[l+1|0]<<8;j=j+2|0;v[b+8>>2]=j;if(a){break a}k=(k<<8|k>>>8)<<16>>16}if((e|0)!=(n|0)){a=1;k=(p|0)==(q|0);q=q+1|0;if(k){break a}continue}break}v[h>>2]=(m<<16>>16)+1;a=8;if((m&65535)>>>0>2726){break a}e=c+k|0;c=v[b+20>>2];n:{if(c){a=85;if(!(Ea[c|0](b,e,0,0)|0)){break n}break a}a=85;if(e>>>0>y[b+4>>2]){break a}}v[b+8>>2]=e;c=0;v[i>>2]=0;m=Ua(o,8,0,v[h>>2],0,i);a=v[i>>2];if(a){break a}a=v[h>>2];o:{if((a|0)>=1){while(1){e=m+(c<<3)|0;r=e,s=kb(b,i),u[r>>1]=s;if(v[i>>2]){break o}k=v[b+8>>2]+2|0;p:{a=v[b+20>>2];q:{if(a){if(Ea[a|0](b,k,0,0)|0){break q}break p}if(k>>>0<=y[b+4>>2]){break p}}v[i>>2]=85;break o}v[b+8>>2]=k;v[i>>2]=0;k=Ob(b,i);if(v[i>>2]){break o}n=v[b+8>>2]+4|0;r:{a=v[b+20>>2];s:{if(a){if(Ea[a|0](b,n,0,0)|0){break s}break r}if(n>>>0<=y[b+4>>2]){break r}}v[i>>2]=85;break o}v[b+8>>2]=n;v[i>>2]=0;if((k|0)<=-1){v[i>>2]=8;break o}v[e+4>>2]=k&16777215;a=v[h>>2];c=c+1|0;if((a|0)>(c|0)){continue}break}}b=0;c=o;if(f){Uc(m,a,8,12);a=v[h>>2]}c=Ua(c,4,0,a,0,i);a=v[i>>2];if(!a){if(v[h>>2]>=1){while(1){v[c+(b<<2)>>2]=v[(m+(b<<3)|0)+4>>2]+d;b=b+1|0;if((b|0)<v[h>>2]){continue}break}}v[g>>2]=c;v[i>>2]=0;a=0}if(!m){break a}}Ea[v[o+8>>2]](o,m);a=v[i>>2];break a}a=85;v[i>>2]=85;break a}a=85}Ca=i+16|0;return a}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,m=0,n=0,o=0,p=0,q=0,r=0;g=Ca-32|0;Ca=g;i=v[b+28>>2];v[g+4>>2]=2;c=v[a+496>>2];if(c){d=v[c+36>>2];if(d){Ea[v[i+8>>2]](i,d)}v[c+36>>2]=0;v[c+40>>2]=0;d=v[c+28>>2];if(d){Ea[v[i+8>>2]](i,d)}v[c+28>>2]=0;v[c+32>>2]=0;if(c){Ea[v[i+8>>2]](i,c)}v[a+496>>2]=0}d=wb(i,44,g+4|0);a:{if(v[g+4>>2]){break a}c=vb(b,v[b+4>>2]);v[g+4>>2]=c;if(c){break a}c=v[a+476>>2];v[d+12>>2]=v[a+472>>2];v[d+16>>2]=c;c=v[a+468>>2];v[d+4>>2]=v[a+464>>2];v[d+8>>2]=c;v[d+20>>2]=v[a+476>>2];v[d+24>>2]=v[a+468>>2];f=v[a+492>>2];c=v[f+36>>2];b:{if(c){c=Ea[v[c>>2]](g+8|0,v[b+28>>2],v[b+32>>2],v[b+36>>2])|0;v[g+4>>2]=c;if(!c){v[g+24>>2]=a+132;v[g+20>>2]=85;v[g+16>>2]=d;q=g,r=Ea[v[v[f+36>>2]+8>>2]](g+8|0)|0,v[q+4>>2]=r;Ea[v[v[f+36>>2]+4>>2]](g+8|0);c=v[g+4>>2]}if((c&255)==2){f=v[b+4>>2];if(f>>>0<7){break b}c=v[b+32>>2];if(w[c+1|0]>3|(f|0)!=(w[c+2|0]|w[c+3|0]<<8|(w[c+4|0]<<16|w[c+5|0]<<24))){break b}l=v[b+28>>2];j=v[b+36>>2];f=Ca-16|0;Ca=f;v[f+12>>2]=0;c:{d:{if(j>>>0<c+101>>>0){v[f+12>>2]=2;break d}e=(c+99|0)+(w[c+99|0]|w[c+100|0]<<8)|0;if(j>>>0<e+36>>>0|(w[e+18|0]|w[e+19|0]<<8)>>>0<18){break c}e=w[e+32|0]|w[e+33|0]<<8|(w[e+34|0]<<16|w[e+35|0]<<24);if(!e){break c}k=c+e|0;c=k+2|0;if(j>>>0<c>>>0){v[f+12>>2]=2;break d}e=w[k|0]|w[k+1|0]<<8;v[d+40>>2]=e;if(j>>>0<(e<<2)+c>>>0){v[f+12>>2]=2;break d}if(!e){break c}e=Ua(l,16,0,e,0,f+12|0);v[d+36>>2]=e;if(v[f+12>>2]){break d}o=v[d+40>>2];j=v[a+92>>2];m=v[a+36>>2];e:{if((m|0)<1){break e}p=v[a+40>>2];while(1){n=v[(h<<2)+p>>2];if(x[n+8>>1]!=7){h=h+1|0;if((m|0)!=(h|0)){continue}break e}break}h=se(a,n);v[f+12>>2]=h;if(h){break d}}h=o<<2;if((h|0)>=1){h=k+(h|2)|0;while(1){q=e,r=kc(a,w[c|0]),v[q>>2]=r;q=e,r=kc(a,w[c+1|0]),v[q+4>>2]=r;k=(w[c+2|0]|w[c+3|0]<<8)<<16>>16;v[e+12>>2]=0;v[e+8>>2]=k;e=e+16|0;c=c+4|0;if(h>>>0>c>>>0){continue}break}}f:{if(j){c=se(a,j);v[f+12>>2]=c;break f}c=v[f+12>>2]}if(c){break d}Uc(v[d+36>>2],v[d+40>>2],16,86);if(v[f+12>>2]){break d}h=0;break c}c=v[d+36>>2];if(c){Ea[v[l+8>>2]](l,c)}v[d+36>>2]=0;v[d+40>>2]=0;h=v[f+12>>2]}Ca=f+16|0;c=h;v[g+4>>2]=c}if(c){break b}}c=v[d+8>>2];v[a+464>>2]=v[d+4>>2];v[a+468>>2]=c;c=v[d+16>>2];v[a+472>>2]=v[d+12>>2];v[a+476>>2]=c;v[a+52>>2]=v[d+4>>2]>>16;v[a+56>>2]=v[d+8>>2]>>16;v[a+60>>2]=v[d+12>>2]+65535>>16;v[a- -64>>2]=v[d+16>>2]+65535>>16;u[a+70>>1]=v[d+20>>2]+32768>>>16;u[a+72>>1]=v[d+24>>2]+32768>>>16;if(!v[d+40>>2]){break b}v[a+496>>2]=d;v[a+8>>2]=v[a+8>>2]|64;d=0}pb(b)}if(d){a=v[d+36>>2];if(a){Ea[v[i+8>>2]](i,a)}v[d+36>>2]=0;v[d+40>>2]=0;a=v[d+28>>2];if(a){Ea[v[i+8>>2]](i,a)}v[d+28>>2]=0;v[d+32>>2]=0;if(d){Ea[v[i+8>>2]](i,d)}}Ca=g+32|0;return v[g+4>>2]}function $t(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;p=Ca-32|0;Ca=p;a:{if(!a|!b){break a}l=Va(16);if(!l){break a}v[l+8>>2]=0;v[l+12>>2]=0;v[l>>2]=1;v[l+4>>2]=0;g=v[a+4>>2];f=g;e=v[a+12>>2]+a|0;b:{c:{if(e){k=g-1|0;d:{e:{if((g|0)<1){h=k;break e}while(1){g=k>>1;j=g;if(!x[e+(k&-2)>>1]){break d}j=(k|0)>1;h=g-1|0;k=h;if(j){continue}break}}j=-2-h|0}h=0;if((j|0)>-1){break c}j=j^-1}else{j=0}if((f|0)==(j|0)){j=0;h=-1;k=0;break b}h=x[e+(j<<1)>>1]<<8}g=v[a+8>>2]+a|0;k=v[g+(j<<2)>>2]+g|0}g=v[b+4>>2];m=g;i=v[b+12>>2]+b|0;f:{g:{if(i){e=g-1|0;h:{i:{if((g|0)<1){f=e;break i}while(1){f=e>>1;g=f;if(!x[i+(e&-2)>>1]){break h}g=(e|0)>1;f=f-1|0;e=f;if(g){continue}break}}g=-2-f|0}f=0;if((g|0)>-1){break g}g=g^-1}else{g=0}if((m|0)==(g|0)){g=0;f=-1;i=0;break f}f=x[i+(g<<1)>>1]<<8}e=v[b+8>>2]+b|0;i=v[e+(g<<2)>>2]+e|0}while(1){j:{k:{if(!k){if(d){break k}e=l;break a}break j}e=l;if(!i){break a}}l:{if(f>>>0>h>>>0){e=Gg(l,h);if(!e){break l}h=v[k+4>>2];v[e>>2]=v[k>>2];v[e+4>>2]=h;h=v[k+28>>2];v[e+24>>2]=v[k+24>>2];v[e+28>>2]=h;h=v[k+20>>2];v[e+16>>2]=v[k+16>>2];v[e+20>>2]=h;h=v[k+12>>2];v[e+8>>2]=v[k+8>>2];v[e+12>>2]=h;k=0;h=-1;e=j+1|0;if((e|0)>=v[a+4>>2]){continue}j=v[a+8>>2]+a|0;k=v[j+(e<<2)>>2]+j|0;h=x[(v[a+12>>2]+a|0)+(e<<1)>>1]<<8;j=e;continue}if(f>>>0<h>>>0){if(d){e=Gg(l,f);if(!e){break l}f=v[i+4>>2];v[e>>2]=v[i>>2];v[e+4>>2]=f;f=v[i+28>>2];v[e+24>>2]=v[i+24>>2];v[e+28>>2]=f;f=v[i+20>>2];v[e+16>>2]=v[i+16>>2];v[e+20>>2]=f;f=v[i+12>>2];v[e+8>>2]=v[i+8>>2];v[e+12>>2]=f;i=0;f=-1;e=g+1|0;if((e|0)>=v[b+4>>2]){continue}g=v[b+8>>2]+b|0;i=v[g+(e<<2)>>2]+g|0;f=x[(v[b+12>>2]+b|0)+(e<<1)>>1]<<8;g=e;continue}m=v[b+4>>2];q=v[b+12>>2]+b|0;m:{if(q){e=m-1|0;n:{o:{p:{if((m|0)<1){break p}r=h>>>8|0;f=0;while(1){n=e+f|0;i=n>>1;o=x[q+(n&-2)>>1];n=r&65535;if((o|0)==(n|0)){break n}o=n>>>0>o>>>0;f=o?i+1|0:f;e=o?e:i-1|0;if((f|0)<=(e|0)){continue}break}if((e|0)<0){break p}if(n>>>0<=x[q+(e<<1)>>1]|(e|0)>=(m|0)){break o}}e=e+1|0}i=e^-1}if((i|0)>-1){f=h;g=i;break m}e=i^-1}else{e=0}i=0;f=-1;if((e|0)==(m|0)){continue}f=x[q+(e<<1)>>1]<<8;g=e}e=v[b+8>>2]+b|0;i=v[(g<<2)+e>>2]+e|0;continue}if(Ea[c|0](p,k,i)|0){f=Gg(l,h);if(!f){break l}e=p;h=v[e+4>>2];v[f>>2]=v[e>>2];v[f+4>>2]=h;h=v[e+28>>2];v[f+24>>2]=v[e+24>>2];v[f+28>>2]=h;h=v[e+20>>2];v[f+16>>2]=v[e+16>>2];v[f+20>>2]=h;h=v[e+12>>2];v[f+8>>2]=v[e+8>>2];v[f+12>>2]=h}i=0;f=-1;h=-1;k=0;e=j+1|0;if((e|0)<v[a+4>>2]){j=v[a+8>>2]+a|0;k=v[j+(e<<2)>>2]+j|0;h=x[(v[a+12>>2]+a|0)+(e<<1)>>1]<<8;j=e}e=g+1|0;if((e|0)>=v[b+4>>2]){continue}g=v[b+8>>2]+b|0;i=v[g+(e<<2)>>2]+g|0;f=x[(v[b+12>>2]+b|0)+(e<<1)>>1]<<8;g=e;continue}break}jd(l);e=0}Ca=p+32|0;return e}function cI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=a+72|0;f=1;while(1){a=f;g=b;i=g+2|0;b=i;a:{b:{c:{d:{e:{f:{j=w[g+2|0];switch(j-216|0){case 4:case 5:case 6:case 7:continue;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break a;case 0:case 1:case 2:case 3:break d;case 39:break f;default:break e}}b=i;if(w[g+3|0]>253){continue}break a}if(j){break a}b=i;g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{l=w[g+3|0];switch(w[l+k|0]-3|0){case 8:case 14:break l;case 6:case 7:break m;case 18:break n;case 0:break o;case 10:break p;case 9:break q;case 19:case 21:case 26:break a;case 2:break b;case 3:break c;case 4:break d;default:continue}}if((a|0)!=2){h=12;f=2;if((c|0)<=(e|0)){continue}v[((e<<4)+d|0)+4>>2]=g+4;continue}f=2;if((h|0)!=12){continue}if((c|0)>(e|0)){v[((e<<4)+d|0)+8>>2]=i}e=e+1|0;h=12;break g}if((a|0)!=2){h=13;f=2;if((c|0)<=(e|0)){continue}v[((e<<4)+d|0)+4>>2]=g+4;continue}f=2;if((h|0)!=13){continue}if((c|0)>(e|0)){v[((e<<4)+d|0)+8>>2]=i}e=e+1|0;h=13;break g}if((c|0)<=(e|0)){continue}t[((e<<4)+d|0)+12|0]=0;break h}f=0;r:{switch(a-1|0){case 0:continue;case 1:break r;default:break h}}f=2;if((c|0)<=(e|0)){continue}j=(e<<4)+d|0;if(!w[j+12|0]){continue}if(v[j+4>>2]==(i|0)|(l|0)!=32){break i}s:{t:{u:{v:{w:{a=w[g+4|0];switch(a-216|0){case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break s;case 39:break u;case 4:case 5:case 6:case 7:break v;case 0:case 1:case 2:case 3:break w;default:break t}}a=(h|0)==7;break j}a=(h|0)==8;break j}if(w[g+5|0]<254){break s}a=!h;break j}if(!a){break k}}a=(h|0)==29;break j}f=0;x:{switch(a-1|0){case 0:continue;case 1:break x;default:break h}}f=2;if((c|0)<=(e|0)){continue}t[((e<<4)+d|0)+12|0]=0;continue}f=2;if((a|0)==2){continue}return e|0}a=w[g+5|0];if((a|0)==32){break i}a=w[a+k|0]==(h|0)}if(!a){continue}}t[j+12|0]=0;continue}f=a;continue}f=0;continue}y:{if(a){break y}a=1;if((c|0)<=(e|0)){break y}b=(e<<4)+d|0;t[b+12|0]=1;v[b>>2]=i}b=g+4|0;f=a;continue}b=g+3|0;if(a){continue}f=1;if((c|0)<=(e|0)){continue}a=(e<<4)+d|0;t[a+12|0]=1;v[a>>2]=i;continue}if(a){continue}f=1;if((c|0)<=(e|0)){continue}a=(e<<4)+d|0;t[a+12|0]=1;v[a>>2]=b;continue}b=i;if(a){continue}f=1;if((c|0)<=(e|0)){continue}a=(e<<4)+d|0;t[a+12|0]=1;v[a>>2]=b;continue}}function tI(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;k=a+72|0;f=1;while(1){a=f;i=b;g=i+2|0;b=g;a:{b:{c:{d:{e:{f:{j=w[i+3|0];switch(j-216|0){case 4:case 5:case 6:case 7:continue;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break a;case 0:case 1:case 2:case 3:break d;case 39:break f;default:break e}}b=g;if(w[g|0]>253){continue}break a}if(j){break a}b=g;g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{l=w[g|0];switch(w[l+k|0]-3|0){case 8:case 14:break l;case 6:case 7:break m;case 18:break n;case 0:break o;case 10:break p;case 9:break q;case 19:case 21:case 26:break a;case 2:break b;case 3:break c;case 4:break d;default:continue}}if((a|0)!=2){h=12;f=2;if((c|0)<=(e|0)){continue}v[((e<<4)+d|0)+4>>2]=i+4;continue}f=2;if((h|0)!=12){continue}if((c|0)>(e|0)){v[((e<<4)+d|0)+8>>2]=g}e=e+1|0;h=12;break g}if((a|0)!=2){h=13;f=2;if((c|0)<=(e|0)){continue}v[((e<<4)+d|0)+4>>2]=i+4;continue}f=2;if((h|0)!=13){continue}if((c|0)>(e|0)){v[((e<<4)+d|0)+8>>2]=g}e=e+1|0;h=13;break g}if((c|0)<=(e|0)){continue}t[((e<<4)+d|0)+12|0]=0;break h}f=0;r:{switch(a-1|0){case 0:continue;case 1:break r;default:break h}}f=2;if((c|0)<=(e|0)){continue}j=(e<<4)+d|0;if(!w[j+12|0]){continue}if(v[j+4>>2]==(g|0)|(l|0)!=32){break i}s:{t:{u:{v:{w:{a=w[i+5|0];switch(a-216|0){case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break s;case 39:break u;case 4:case 5:case 6:case 7:break v;case 0:case 1:case 2:case 3:break w;default:break t}}a=(h|0)==7;break j}a=(h|0)==8;break j}if(w[i+4|0]<254){break s}a=!h;break j}if(!a){break k}}a=(h|0)==29;break j}f=0;x:{switch(a-1|0){case 0:continue;case 1:break x;default:break h}}f=2;if((c|0)<=(e|0)){continue}t[((e<<4)+d|0)+12|0]=0;continue}f=2;if((a|0)==2){continue}return e|0}a=w[i+4|0];if((a|0)==32){break i}a=w[a+k|0]==(h|0)}if(!a){continue}}t[j+12|0]=0;continue}f=a;continue}f=0;continue}y:{if(a){break y}a=1;if((c|0)<=(e|0)){break y}b=(e<<4)+d|0;t[b+12|0]=1;v[b>>2]=g}b=i+4|0;f=a;continue}b=i+3|0;if(a){continue}f=1;if((c|0)<=(e|0)){continue}a=(e<<4)+d|0;t[a+12|0]=1;v[a>>2]=g;continue}if(a){continue}f=1;if((c|0)<=(e|0)){continue}a=(e<<4)+d|0;t[a+12|0]=1;v[a>>2]=b;continue}b=g;if(a){continue}f=1;if((c|0)<=(e|0)){continue}a=(e<<4)+d|0;t[a+12|0]=1;v[a>>2]=b;continue}}function cD(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;e=Ca+-64|0;Ca=e;g=v[a+16>>2];b=161;a:{if(y[a+20>>2]<g+24>>>0){break a}f=v[a+32>>2];n=f+48|0;t[f+64|0]=1;j=-2147483648;i=2147483647;while(1){b=l<<2;k=b+e|0;o=b+(e+32|0)|0;c=v[g>>2];d=w[c|0];b:{if((d|0)==30){b=zc(a,c,0,k);break b}h=c+1|0;c:{d:{e:{switch(d-28|0){case 0:b=0;if(y[a+8>>2]<=c+2>>>0){break c}b=w[c+2|0]|w[h|0]<<8;break c;case 1:b=0;if(y[a+8>>2]<=c+4>>>0){break c}b=w[c+1|0]|w[c+2|0]<<8|(w[c+3|0]<<16|w[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break d;default:break e}}if(d>>>0<=246){b=d-139|0;break c}c=v[a+8>>2];if(d>>>0<=250){b=0;if(c>>>0<=h>>>0){break c}b=(w[h|0]|d<<8)-63124|0;break c}b=0;if(c>>>0<=h>>>0){break c}b=64148-(w[h|0]|d<<8)|0}if((b|0)<32768){break c}m=b;c=5;f:{if((b|0)<1e5){break f}c=6;if((b|0)<=999999){break f}c=7;if((b|0)<1e7){break f}c=8;if((b|0)<1e8){break f}c=(b|0)<1e9?9:10}d=c-5|0;h=v[(d<<2)+13008>>2];if(((m|0)/(h|0)|0)>=32768){c=c-4|0;v[k>>2]=c;b=ab(b,v[(c<<2)+13008>>2]);break b}v[k>>2]=d;b=ab(b,h);break b}v[k>>2]=0;b=b<<16}v[o>>2]=b;if(b){b=v[k>>2];i=(b|0)<(i|0)?b:i;j=(b|0)>(j|0)?b:j}g=g+4|0;l=l+1|0;if((l|0)!=6){continue}break}g:{if(j+9>>>0>9){break g}a=j-i|0;if((a|0)<0|(a|0)>9){break g}k=0;g=0;b=v[e+32>>2];if(b){g=v[(j-v[e>>2]<<2)+13008>>2];c=g>>1;m=e;h:{if((b|0)<=-1){a=(b-c|0)/(g|0)|0;if((b|0)>(c|-2147483648)){break h}a=-2147483648/(g|0)|0;break h}a=(b+c|0)/(g|0)|0;if((b|0)<(2147483647-c|0)){break h}a=2147483647/(g|0)|0}g=a;v[m+32>>2]=g}b=v[e+36>>2];if(b){d=v[(j-v[e+4>>2]<<2)+13008>>2];c=d>>1;k=(((b|0)>=0?(b|0)<(2147483647-c|0)?b+c|0:2147483647:(b|0)>(c|-2147483648)?b-c|0:-2147483648)|0)/(d|0)|0;v[e+36>>2]=k}b=0;d=0;c=v[e+40>>2];if(c){i=v[(j-v[e+8>>2]<<2)+13008>>2];d=i>>1;d=(((c|0)>=0?(c|0)<(2147483647-d|0)?c+d|0:2147483647:(c|0)>(d|-2147483648)?c-d|0:-2147483648)|0)/(i|0)|0;v[e+40>>2]=d}a=v[e+44>>2];if(a){c=v[(j-v[e+12>>2]<<2)+13008>>2];b=c>>1;b=(((a|0)>=0?(a|0)<(2147483647-b|0)?a+b|0:2147483647:(a|0)>(b|-2147483648)?a-b|0:-2147483648)|0)/(c|0)|0}i=0;h=0;a=v[e+48>>2];if(a){h=v[(j-v[e+16>>2]<<2)+13008>>2];c=h>>1;h=(((a|0)>=0?(a|0)<(2147483647-c|0)?a+c|0:2147483647:(a|0)>(c|-2147483648)?a-c|0:-2147483648)|0)/(h|0)|0}a=v[e+52>>2];if(a){i=v[(j-v[e+20>>2]<<2)+13008>>2];c=i>>1;i=(((a|0)>=0?(a|0)<(2147483647-c|0)?a+c|0:2147483647:(a|0)>(c|-2147483648)?a-c|0:-2147483648)|0)/(i|0)|0}v[f+48>>2]=g;v[f+72>>2]=h;v[f+56>>2]=k;v[f+76>>2]=i;v[f+60>>2]=b;v[f+52>>2]=d;v[f+68>>2]=v[13008-(j<<2)>>2];b=0;if(Oi(n)){break a}}v[f+48>>2]=65536;v[f+52>>2]=0;v[f+68>>2]=1;v[f+72>>2]=0;v[f+76>>2]=0;v[f+56>>2]=0;v[f+60>>2]=65536;b=0}Ca=e- -64|0;return b|0}function lq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=Ca-16|0;Ca=h;a:{b:{p=v[a+204>>2];c:{if(p>>>0<2){break c}l=v[a+172>>2];g=v[a+168>>2];m=v[a+20>>2];i=v[a+16>>2];n=a+8|0;q=v[n>>2];b=q;d:{e:{j=v[a+12>>2];d=j;if(32-d>>>0>14){break e}f:{if(!m){break f}e=q>>>8|0;v[a+8>>2]=e;b=w[i|0];c=m-1|0;v[a+20>>2]=c;d=j-8|0;v[a+12>>2]=d;v[a+16>>2]=i+1;b=e|b<<24;v[a+8>>2]=b;if(40-j>>>0>=15){break e}if(!c){break f}e=b>>>8|0;v[a+8>>2]=e;b=w[i+1|0];c=m-2|0;v[a+20>>2]=c;d=j-16|0;v[a+12>>2]=d;v[a+16>>2]=i+2;b=e|b<<24;v[a+8>>2]=b;if(48-j>>>0>14){break e}if(!c){break f}b=b>>>8|0;v[a+8>>2]=b;c=w[i+2|0];v[a+20>>2]=m-3;d=j-24|0;v[a+12>>2]=d;v[a+16>>2]=i+3;b=b|c<<24;v[a+8>>2]=b;break e}if(!Id(g,n,h+8|0)){break c}break d}c=a;f=b>>>d|0;b=g+((f&255)<<2)|0;e=w[b|0];if(e>>>0>=9){d=d+8|0;b=(x[b+2>>1]+(v[(e<<2)+29264>>2]&f>>>8&127)<<2)+b|0;e=w[b|0]}v[c+12>>2]=(e&255)+d;v[h+8>>2]=x[b+2>>1]}g:{h:{i:{j:{k:{if(!v[a+556>>2]){b=v[a+12>>2];if(32-b>>>0>=15){c=v[n>>2];d=b;break i}k=v[a+20>>2];if(!k){break j}g=v[a+8>>2]>>>8|0;v[a+8>>2]=g;f=v[a+16>>2];c=w[f|0];e=k-1|0;v[a+20>>2]=e;d=b-8|0;v[a+12>>2]=d;v[a+16>>2]=f+1;c=g|c<<24;v[a+8>>2]=c;if(40-b>>>0<15){break k}break i}e=v[a+188>>2];break h}if(!e){break j}g=v[a+8>>2]>>>8|0;v[a+8>>2]=g;f=v[a+16>>2];c=w[f|0];e=k-2|0;v[a+20>>2]=e;d=b-16|0;v[a+12>>2]=d;v[a+16>>2]=f+1;c=g|c<<24;v[a+8>>2]=c;if(48-b>>>0>14){break i}if(!e){break j}f=v[a+8>>2]>>>8|0;v[a+8>>2]=f;e=v[a+16>>2];c=w[e|0];v[a+20>>2]=k-3;d=b-24|0;v[a+12>>2]=d;v[a+16>>2]=e+1;c=f|c<<24;v[a+8>>2]=c;break i}if(!Id(l,n,h+12|0)){break g}e=v[h+12>>2];break h}e=a;f=c>>>d|0;b=l+((f&255)<<2)|0;c=w[b|0];if(c>>>0>=9){d=d+8|0;b=(x[b+2>>1]+(v[(c<<2)+29264>>2]&f>>>8&127)<<2)+b|0;c=w[b|0]}v[e+12>>2]=(c&255)+d;e=x[b+2>>1]}k=(e<<2)+155184|0;o=w[k+2|0];c=v[a+12>>2];if(o>>>0<=32-c>>>0){g=v[n>>2];break b}d=v[a+20>>2];b=c;while(1){if(d){l=v[a+8>>2]>>>8|0;v[a+8>>2]=l;g=v[a+16>>2];f=w[g|0];d=d-1|0;v[a+20>>2]=d;c=b-8|0;v[a+12>>2]=c;v[a+16>>2]=g+1;g=l|f<<24;v[a+8>>2]=g;f=40-b|0;b=c;if(f>>>0<o>>>0){continue}break b}break}v[a+188>>2]=e}v[a+20>>2]=m;v[a+16>>2]=i;v[a+8>>2]=q;v[a+556>>2]=0;v[a+12>>2]=j}a=0;break a}v[a+556>>2]=0;v[a+12>>2]=c+o;v[a+192>>2]=x[k>>1]+(v[(o<<2)+29296>>2]&g>>>c);l:{m:{n:{o:{c=v[h+8>>2];switch(c|0){case 1:break m;case 0:break o;default:break n}}c=v[a+216>>2];break l}c=c-2|0;break l}c=v[a+220>>2]+1|0}v[a+216>>2]=v[a+220>>2];b=c-(c>>>0<p>>>0?0:p)|0;v[a+220>>2]=b;c=v[a+576>>2]+(b<<6)|0;v[a+112>>2]=c;v[a+176>>2]=v[((b>>>3&536870908)+a|0)+592>>2]>>>b&1;v[a+256>>2]=v[v[a+120>>2]+(w[c|0]<<2)>>2];v[a+108>>2]=((w[b+v[a+580>>2]|0]&3)<<9)+153136;a=1}Ca=h+16|0;return a}function bL(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;g=Ca-96|0;Ca=g;v[g+80>>2]=0;v[g+84>>2]=0;v[g+72>>2]=0;v[g+76>>2]=0;h=g- -64|0;v[h>>2]=0;v[h+4>>2]=0;v[g+56>>2]=0;v[g+60>>2]=0;v[g+48>>2]=0;v[g+52>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;m=c+10|0;i=Ua(a,8,0,m,0,g+92|0);v[b+20>>2]=i;h=v[g+92>>2];if(!h){a:{if(!c){break a}n=g- -64|0;o=g+80|0;p=g+84|0;q=g+76|0;r=g+48|12;s=g+72|0;t=g+48|4;u=g+68|0;while(1){j=Ea[d|0](f,l)|0;b:{if(!j|!w[j|0]){break b}h=0;c:{d:{if(!Wa(363344,j)){break d}h=1;if(!Wa(363350,j)){break d}h=2;if(!Wa(363356,j)){break d}h=3;if(!Wa(363365,j)){break d}h=4;if(!Wa(363372,j)){break d}h=5;if(!Wa(363379,j)){break d}h=6;if(!Wa(363382,j)){break d}h=7;if(!Wa(363397,j)){break d}h=8;if(!Wa(363403,j)){break d}if(Wa(363416,j)){break c}h=9}h=h<<2;k=h+(g+48|0)|0;if(v[k>>2]){break c}v[k>>2]=1;v[g+h>>2]=l}k=iv(j);if(k&2147483647){e:{f:{g:{h:{i:{j:{k:{l:{m:{if((k|0)<=915){n:{switch(k-160|0){case 0:break i;case 13:break m;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break e;default:break n}}switch(k-538|0){case 1:break g;case 0:break h;default:break l}}o:{p:{switch(k-937|0){default:q:{switch(k-8725|0){case 4:break j;case 0:break o;case 1:case 2:case 3:break e;default:break q}}if((k|0)!=916){break e}h=g+48|0;break f;case 19:break k;case 0:break p;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:break e}}h=t;break f}h=g+48|8;break f}h=r;break f}if((k|0)!=713){break e}h=n;break f}h=u;break f}h=s;break f}h=q;break f}h=o;break f}h=p}v[h>>2]=2}v[i+4>>2]=l;v[i>>2]=k;i=i+8|0}if(!e){break b}Ea[e|0](f,j)}l=l+1|0;if((l|0)!=(c|0)){continue}break}if(v[g+48>>2]!=1){break a}v[i>>2]=916;v[i+4>>2]=v[g>>2];i=i+8|0}if(v[g+52>>2]==1){v[i>>2]=937;v[i+4>>2]=v[g+4>>2];i=i+8|0}if(v[g+56>>2]==1){v[i>>2]=8725;v[i+4>>2]=v[g+8>>2];i=i+8|0}if(v[g+60>>2]==1){v[i>>2]=173;v[i+4>>2]=v[g+12>>2];i=i+8|0}if(v[g+64>>2]==1){v[i>>2]=713;v[i+4>>2]=v[g+16>>2];i=i+8|0}if(v[g+68>>2]==1){v[i>>2]=956;v[i+4>>2]=v[g+20>>2];i=i+8|0}if(v[g+72>>2]==1){v[i>>2]=8729;v[i+4>>2]=v[g+24>>2];i=i+8|0}if(v[g+76>>2]==1){v[i>>2]=160;v[i+4>>2]=v[g+28>>2];i=i+8|0}if(v[g+80>>2]==1){v[i>>2]=538;v[i+4>>2]=v[g+32>>2];i=i+8|0}if(v[g+84>>2]==1){v[i>>2]=539;v[i+4>>2]=v[g+36>>2];i=i+8|0}h=v[b+20>>2];e=i-h|0;d=e>>3;r:{if(!e){if(h){Ea[v[a+8>>2]](a,h)}v[b+20>>2]=0;a=v[g+92>>2];h=a?a:163;break r}if(d>>>0<c>>>1>>>0){h=Ua(a,8,m,d,h,g+92|0);v[b+20>>2]=h;v[g+92>>2]=0}Uc(h,d,8,770);h=v[g+92>>2]}v[b+16>>2]=d}Ca=g+96|0;return h|0}function UB(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;g=v[a+492>>2];i=v[b+16>>2];e=v[b+8>>2];Ea[v[b+28>>2]](b);c=3;a=v[b>>2];a:{b:{if(a>>>0>=e>>>0){break b}a=w[a|0];c:{if(a-48>>>0<=9){a=Ea[v[b+36>>2]](b)|0;v[b+144>>2]=a;if(v[b+12>>2]){break a}if((a|0)<0){break b}f=a;a=v[b>>2];d=e-a>>2;if((f|0)<=(d|0)){break c}v[b+144>>2]=d;break c}if((a|0)!=60){break b}Ea[v[b+32>>2]](b);if(v[b+12>>2]){break a}Ea[v[b+28>>2]](b);d=v[b>>2];if(d>>>0>=e>>>0){a=d;break c}a=d;while(1){a=w[a|0]-47|0;d:{if(a){if((a|0)!=15){break d}v[b>>2]=d;v[b+144>>2]=h;a=d;break c}h=h+1|0}Ea[v[b+32>>2]](b);if(v[b+12>>2]){break a}Ea[v[b+28>>2]](b);a=v[b>>2];if(e>>>0>a>>>0){continue}break}}if(v[b+264>>2]|a>>>0>=e>>>0){break b}k=b+200|0;c=Ea[v[v[g>>2]>>2]](k,v[b+144>>2],i)|0;if(c){break b}l=b+148|0;c=Ea[v[v[g>>2]>>2]](l,v[b+144>>2],i)|0;if(c){break b}h=b+252|0;c=Ea[v[v[g>>2]>>2]](h,4,i)|0;if(c){break b}Ea[v[b+28>>2]](b);a=v[b>>2];if(e>>>0>a>>>0){i=0;g=0;d=0;while(1){e:{c=w[a|0];f:{if(!((c|0)!=101|a+3>>>0>=e>>>0)){if(w[a+1|0]!=110|w[a+2|0]!=100){break f}switch(w[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break e;default:break f}}if((c|0)==62){break e}}Ea[v[b+32>>2]](b);f=v[b>>2];if(f>>>0>=e>>>0){c=3;break b}if(v[b+12>>2]){break a}g:{h:{j=w[a|0];switch(j-40|0){case 0:case 7:break h;default:break g}}c=3;m=(j|0)==40;if((m?3:2)+a>>>0>=e>>>0){break b}a=a+1|0;f=(f-a|0)-m|0;c=Ea[v[b+192>>2]](l,d,a,f+1|0)|0;if(c){break b}c=f;f=d<<2;t[c+v[f+v[b+172>>2]>>2]|0]=0;if(w[a|0]==46){a=Wa(18088,v[f+v[b+172>>2]>>2]);i=a?i:1;g=a?g:d}Ea[v[b+28>>2]](b);if((j|0)==40){Ea[v[b+32>>2]](b)}a=v[b>>2];Ea[v[b+36>>2]](b)|0;c=3;j=v[b>>2];if(j>>>0>=e>>>0){break b}c=a;a=j-a|0;c=Ea[v[b+244>>2]](k,d,c,a+1|0)|0;if(c){break b}t[a+v[f+v[b+224>>2]>>2]|0]=0;d=d+1|0;if((d|0)>=v[b+144>>2]){break e}}Ea[v[b+28>>2]](b);a=v[b>>2];if(e>>>0>a>>>0){continue}}break}v[b+144>>2]=d;if(!(i&255)){c=3;break b}a=v[v[b+172>>2]>>2];if(!Wa(18088,a)){break a}c=Ea[v[b+296>>2]](h,0,a,v[v[b+176>>2]>>2])|0;if(c){break b}c=Ea[v[b+296>>2]](h,1,v[v[b+224>>2]>>2],v[v[b+228>>2]>>2])|0;if(c){break b}a=g<<2;c=Ea[v[b+296>>2]](h,2,v[a+v[b+172>>2]>>2],v[a+v[b+176>>2]>>2])|0;if(c){break b}c=Ea[v[b+296>>2]](h,3,v[a+v[b+224>>2]>>2],v[a+v[b+228>>2]>>2])|0;if(c){break b}c=Ea[v[b+192>>2]](l,g,v[v[b+276>>2]>>2],v[v[b+280>>2]>>2])|0;if(c){break b}c=Ea[v[b+244>>2]](k,g,v[v[b+276>>2]+4>>2],v[v[b+280>>2]+4>>2])|0;if(c){break b}c=Ea[v[b+192>>2]](l,0,v[v[b+276>>2]+8>>2],v[v[b+280>>2]+8>>2])|0;if(c){break b}c=Ea[v[b+244>>2]](k,0,v[v[b+276>>2]+12>>2],v[v[b+280>>2]+12>>2])|0;if(!c){break a}break b}v[b+144>>2]=0;c=3}v[b+12>>2]=c}}function Rq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;b=Ra(b,0,196);d=w[a+188|0];t[b+8|0]=d;a:{if(!d){break a}f=d&3;if(d-1>>>0>=3){d=d&252;g=b+12|0;h=a+192|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break a}while(1){u[(b+(c<<1)|0)+12>>1]=v[((c<<2)+a|0)+192>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}d=w[a+189|0];t[b+9|0]=d;b:{if(!d){break b}f=d&3;c=0;if(d-1>>>0>=3){d=d&252;g=b+40|0;h=a+248|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break b}while(1){u[(b+(c<<1)|0)+40>>1]=v[((c<<2)+a|0)+248>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}d=w[a+190|0];t[b+10|0]=d;c:{if(!d){break c}f=d&3;c=0;if(d-1>>>0>=3){d=d&252;g=b+60|0;h=a+288|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break c}while(1){u[(b+(c<<1)|0)+60>>1]=v[((c<<2)+a|0)+288>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}d=w[a+191|0];t[b+11|0]=d;d:{if(!d){break d}f=d&3;c=0;if(d-1>>>0>=3){d=d&252;g=b+88|0;h=a+344|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break d}while(1){u[(b+(c<<1)|0)+88>>1]=v[((c<<2)+a|0)+344>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}v[b+108>>2]=v[a+384>>2];v[b+112>>2]=v[a+388>>2];v[b+116>>2]=v[a+392>>2];u[b+120>>1]=v[a+396>>2];u[b+122>>1]=v[a+400>>2];d=w[a+404|0];t[b+124|0]=d;e:{if(!d){break e}f=d&3;c=0;if(d-1>>>0>=3){d=d&252;g=b+128|0;h=a+408|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break e}while(1){u[(b+(c<<1)|0)+128>>1]=v[((c<<2)+a|0)+408>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}d=w[a+405|0];t[b+125|0]=d;f:{if(!d){break f}f=d&3;c=0;if(d-1>>>0>=3){d=d&252;g=b+154|0;h=a+460|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break f}while(1){u[(b+(c<<1)|0)+154>>1]=v[((c<<2)+a|0)+460>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}t[b+126|0]=w[a+512|0];v[b+184>>2]=v[a+524>>2];v[b+4>>2]=v[a+520>>2]}function ir(a,b){var c=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{if((b|0)<=1935833198){if((b|0)<=1751346272){J:{switch(b-1735618608|0){case 9:break z;case 8:break A;case 7:break B;case 6:break C;case 5:break D;case 4:break E;case 3:break F;case 2:break G;case 1:break H;case 0:break I;default:break J}}if((b|0)==1668311156){break y}if((b|0)!=1751216995){break a}return a+442|0}if((b|0)<=1751347821){switch(b-1751346273|0){case 1:case 2:break a;case 3:break w;case 0:break x;default:break v}}K:{switch(b-1751347822|0){case 1:case 2:case 3:case 4:break a;case 5:break t;case 0:break u;default:break K}}if((b|0)==1751413603){break s}if((b|0)!=1751934832){break a}return a+446|0}if((b|0)<=1970168942){if((b|0)<=1936750702){L:{switch(b-1935833199|0){case 1:case 2:case 3:break a;case 4:break q;case 0:break r;default:break L}}switch(b-1935833455|0){case 4:break o;case 0:break p;default:break a}}M:{switch(b-1936750703|0){case 1:case 2:case 3:break a;case 4:break m;case 0:break n;default:break M}}N:{switch(b-1936750959|0){case 1:case 2:case 3:break a;case 4:break k;case 0:break l;default:break N}}switch(b-1937011311|0){case 0:break j;case 4:break i;default:break a}}if((b|0)<=1986228845){O:{switch(b-1970168943|0){case 1:case 2:case 3:break a;case 4:break g;case 0:break h;default:break O}}if((b|0)==1986098019){break f}if((b|0)!=1986228070){break a}return a+318|0}if((b|0)<=1986815855){switch(b-1986228846|0){case 1:case 2:case 3:case 4:break a;case 5:break d;case 0:break e;default:break c}}if((b|0)==1986815856){break b}if((b|0)!=2020108148){break a}return a+460|0}if(x[a+562>>1]<2){break a}return v[a+564>>2]}if(x[a+562>>1]<3){break a}return v[a+564>>2]+4|0}if(x[a+562>>1]<4){break a}return v[a+564>>2]+8|0}if(x[a+562>>1]<5){break a}return v[a+564>>2]+12|0}if(x[a+562>>1]<6){break a}return v[a+564>>2]+16|0}if(x[a+562>>1]<7){break a}return v[a+564>>2]+20|0}if(x[a+562>>1]<8){break a}return v[a+564>>2]+24|0}if(x[a+562>>1]<9){break a}return v[a+564>>2]+28|0}if(x[a+562>>1]<10){break a}return v[a+564>>2]+32|0}if(x[a+562>>1]<11){break a}return v[a+564>>2]+36|0}return a+462|0}return a+448|0}return a+450|0}if((b|0)!=1751347046){break a}return a+238|0}return a+236|0}return a+234|0}return a+444|0}return a+386|0}return a+382|0}return a+388|0}return a+384|0}return a+394|0}return a+390|0}return a+396|0}return a+392|0}return a+400|0}return a+398|0}return a+484|0}return a+486|0}return a+300|0}return a+316|0}return a+314|0}if((b|0)!=1986294627){break a}return a+302|0}c=a+304|0}return c}function Ki(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;e=Ca-2320|0;Ca=e;Cg(e+1112|0,0,0);l=vl(a,b);a:{b:{if(!l){Ae(e+1112|0,510831);Ae(e+1112|0,b?b:510846);a=c;break b}h=Ca-4192|0;Ca=h;f=vl(a,b);c:{if(!f){f=0;break c}g=ol(f,h+96|0,4095);if((g|0)==-1){break c}t[g+(h+96|0)|0]=0;d:{if(b){break d}if(Hg(f,h+8|0)){break d}if((v[h+20>>2]&61440)==4096){break c}}if(w[h+96|0]!=47){g=qh(f);Pa(f);f=0;if(!g){break c}v[h+4>>2]=0;v[h>>2]=h+96;j=dc(g,h);Pa(g);if(!j){break c}f=Ca-4128|0;Ca=f;e:{if(w[j|0]==47){g=Bg(j);break e}if(!nl(f+16|0)){g=0;break e}v[f+4>>2]=0;v[f>>2]=j;k=dc(f+16|0,f);g=Bg(k);Pa(k)}Ca=f+4128|0;f=g;Pa(j);break c}Pa(f);f=ib(h+96|0)}Ca=h+4192|0;if(!f){Ae(e+1112|0,510853);Ae(e+1112|0,b?b:510846);Pa(l);a=c;break b}g=0;j=v[a+80>>2];o=v[j+4>>2];k=0;f:{if((o|0)<1){break f}h=f;p=v[j+12>>2];g:{while(1){j=h;m=v[(g<<2)+p>>2];k=1;if((h|0)==(m|0)){break f}while(1){h:{k=w[j|0];n=w[m|0];if(!n){break h}m=m+1|0;j=j+1|0;if((k|0)==(n|0)){continue}}break}if((k|0)==(n|0)){break g}g=g+1|0;if((o|0)!=(g|0)){continue}break}k=0;break f}k=1}if(k){Pa(l);Pa(f);i=1;break a}i:{j:{if(d){if(!hd(v[a+16>>2],l)){break j}}if(!hd(v[a+80>>2],f)){break j}if(Ag(f)){j=pl(f);k:{if(!j){a=0;if(!c){break k}v[e+48>>2]=b;db(0,2,511009,e+48|0);a=0;break k}b=Va(Xa(f)+4098|0);if(b){g=Ac(b,f);b=Xa(g)+g|0;t[b|0]=47;t[b+1|0]=0;i=Xa(g);h=Zl(2);l:{if(!h){i=0;break l}if(w[656429]&4){v[e+64>>2]=f;Za(511037,e- -64|0)}if(d){Yl(v[a>>2],f)}m:{n:{b=ug(j);if(b){k=g+i|0;while(1){m=b+19|0;i=Xa(m);n=t[b+19|0];o:{if((n|0)<48|(n|0)>57|(i|0)<6){break o}if(Wa((b+i|0)+14|0,511062)){break o}Ac(k,m);if(!hd(h,g)){break n}}b=ug(j);if(b){continue}break}}Uc(v[h+12>>2],v[h+4>>2],4,1e3);b=0;if(v[h+4>>2]<=0){i=1;break m}while(1){i=Ki(a,v[v[h+12>>2]+(b<<2)>>2],c,d);if(!i){break n}b=b+1|0;if((b|0)<v[h+4>>2]){continue}break}break m}i=0}bc(h)}Pa(g)}Hi(j);a=(i|0)!=0}Pa(l);Pa(f);i=a|!c;break a}Cg(e+2232|0,0,0);h=Af(f,0,0);p:{if((h|0)!=-1){while(1){g=Fi(h,e+1200|0,1024);if((g|0)<=-1){a=e+80|0;j=v[164114];g=jh(j);i=Xa(g);q:{if(i>>>0>=1024){Ta(a,g,1023);t[a+1023|0]=0;break q}Ta(a,g,i+1|0)}v[e+40>>2]=j;v[e+32>>2]=f;v[e+36>>2]=e+80;i=0;db(0,2,510888,e+32|0);rd(h);a=c;break p}Ft(e+2232|0,e+1200|0,g);if(g){continue}break}rd(h);i=Vs(a,l,ge(e+2232|0),c,d);a=0;break p}Ae(e+1112|0,510872);Ae(e+1112|0,f);a=c}Wc(e+2232|0);break i}a=c}Pa(l);Pa(f)}if(!c){i=1;break a}if(!(!a|i)){a=d?510965:510970;c=ge(e+1112|0);r:{if(b){v[e+24>>2]=c;v[e+20>>2]=b;v[e+16>>2]=a;db(0,2,510934,e+16|0);break r}v[e+4>>2]=c;v[e>>2]=a;db(0,2,510975,e)}Wc(e+1112|0);i=0;break a}Wc(e+1112|0)}Ca=e+2320|0;return i}function Jn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Ca-16|0;Ca=g;a:{if(!a|!b|(!c|!v[b>>2])){break a}a=rb(a,d);if(!a){break a}m=c;b:{c:{d:{e:{f:{a=Xa(d)+a|0;c=w[a|0];if((c|0)!=45){if((c-48&255)>>>0>=10?((c&223)-65&255)>>>0>=26:0){break a}h=Ea[e|0](c)|0;t[g+12|0]=h;d=w[a+1|0];if(((d&223)-65&255)>>>0<26){break f}c=1;if((d-48&255)>>>0<10){break f}break c}c=w[a+1|0];e=c-48|0;if((e&255)>>>0>=10){g:{d=c-65|0;switch(d|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break g;default:break a}}e=((d&255)>>>0<26?c+32|0:c)-87|0}c=w[a+2|0];f=c-48|0;if((f&255)>>>0<10){break d}d=c-65|0;switch(d|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break e;default:break a}}d=Ea[e|0](d)|0;t[g+13|0]=d;f=w[a+2|0];if(((f&223)-65&255)>>>0>=26){c=2;if((f-48&255)>>>0>9){break c}}f=Ea[e|0](f)|0;t[g+14|0]=f;a=w[a+3|0];if(((a&223)-65&255)>>>0>=26){c=3;if((a-48&255)>>>0>=10){break c}}a=Ea[e|0](a)|0;break b}f=((d&255)>>>0<26?c+32|0:c)-87|0}d=w[a+3|0];c=d-48|0;if((c&255)>>>0>=10){h:{c=d-65|0;switch(c|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break h;default:break a}}c=((c&255)>>>0<26?d+32|0:d)-87|0}d=w[a+4|0];i=d-48|0;if((i&255)>>>0>=10){i:{i=d-65|0;switch(i|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break i;default:break a}}i=((i&255)>>>0<26?d+32|0:d)-87|0}d=w[a+5|0];j=d-48|0;if((j&255)>>>0>=10){j:{j=d-65|0;switch(j|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break j;default:break a}}j=((j&255)>>>0<26?d+32|0:d)-87|0}d=w[a+6|0];k=d-48|0;if((k&255)>>>0>=10){k:{k=d-65|0;switch(k|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break k;default:break a}}k=((k&255)>>>0<26?d+32|0:d)-87|0}d=w[a+7|0];l=d-48|0;if((l&255)>>>0>=10){l:{l=d-65|0;switch(l|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break l;default:break a}}l=((l&255)>>>0<26?d+32|0:d)-87|0}d=w[a+8|0];a=d-48|0;if((a&255)>>>0>=10){m:{a=d-65|0;switch(a|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break m;default:break a}}a=((a&255)>>>0<26?d+32|0:d)-87|0}h=(e<<4)+f|0;d=(c<<4)+i|0;f=(j<<4)+k|0;a=(l<<4)+a|0;break b}Ra((g+12|0)+c|0,32,4-c|0);f=w[g+14|0];d=w[g+13|0];h=w[g+12|0];a=w[g+15|0]}a=a&255|((d&255)<<16|h<<24|(f&255)<<8);v[m>>2]=(a&-538976289)==1145457748?a^538976288:a;h=1;v[b>>2]=1}Ca=g+16|0;return h}function Un(a,b){var c=0,d=0,e=C(0),f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Ca-16|0;Ca=g;h=w[a+3|0]|w[a+2|0]<<8;i=v[b+100>>2];h=xb(h?h+a|0:280448,v[v[i+88>>2]+B(v[i+72>>2],20)>>2]);d=h>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((h<<2)+a|0)+6|0:280448;a:{if(!(w[d|0]<<8|w[d+1|0])){h=0;break a}c=v[i+72>>2];v[b+40>>2]=1;v[b+4>>2]=c;f=v[v[b+8>>2]+100>>2];v[b+44>>2]=v[f+76>>2];h=0;t[b+24|0]=(c|0)==v[f+72>>2]?w[(v[f+88>>2]+B(c,20)|0)+15|0]:0;k=b+4|0;if(!Ne(k)){break a}j=w[a+3|0]|w[a+2|0]<<8;j=xb(j?j+a|0:280448,v[v[i+88>>2]+B(v[k>>2],20)>>2]);f=j>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((j<<2)+a|0)+6|0:280448;c=w[f+2|0]<<8|w[f+3|0];if(!c){break a}j=v[i+72>>2];h=v[k>>2];k=j-h|0;if(k>>>0>=2){Mb(i,h,j);c=w[f+3|0]|w[f+2|0]<<8}f=c?a+c|0:280448;c=B(h,20);Vh(f,b,v[c+v[i+88>>2]>>2],g+4|0,g);f=a;a=w[d+1|0]|w[d|0]<<8;d=a?f+a|0:280448;a=B(j,20);Vh(d,b,v[a+v[i+88>>2]>>2],g+12|0,g+8|0);f=v[i+96>>2];b:{c:{d:{e:{f:{m=v[b+116>>2];switch(m-4|0){case 1:break e;case 0:break f;case 3:break c;case 2:break d;default:break b}}d=c+f|0;e=C(C(H(C(z[g+4>>2]+C(.5))))+C(v[d+8>>2]));g:{if(C(D(e))<C(2147483648)){c=~~e;break g}c=-2147483648}v[d>>2]=c;a=a+f|0;d=v[a+8>>2];e=C(C(H(C(z[g+12>>2]+C(.5))))+C(d|0));h:{if(C(D(e))<C(2147483648)){c=~~e;break h}c=-2147483648}v[a+8>>2]=d-c;v[a>>2]=v[a>>2]-c;break b}c=c+f|0;l=v[c+8>>2];e=C(C(H(C(z[g+4>>2]+C(.5))))+C(l|0));i:{if(C(D(e))<C(2147483648)){d=~~e;break i}d=-2147483648}v[c+8>>2]=l-d;v[c>>2]=v[c>>2]-d;a=a+f|0;e=C(C(H(C(z[g+12>>2]+C(.5))))+C(v[a+8>>2]));if(C(D(e))<C(2147483648)){v[a>>2]=~~e;break b}v[a>>2]=-2147483648;break b}d=c+f|0;e=C(C(H(C(z[g>>2]+C(.5))))+C(v[d+12>>2]));j:{if(C(D(e))<C(2147483648)){c=~~e;break j}c=-2147483648}v[d+4>>2]=c;a=a+f|0;d=v[a+12>>2];e=C(C(H(C(z[g+8>>2]+C(.5))))+C(d|0));k:{if(C(D(e))<C(2147483648)){c=~~e;break k}c=-2147483648}v[a+12>>2]=d-c;v[a+4>>2]=v[a+4>>2]-c;break b}c=c+f|0;l=v[c+12>>2];e=C(C(H(C(z[g>>2]+C(.5))))+C(l|0));l:{if(C(D(e))<C(2147483648)){d=~~e;break l}d=-2147483648}v[c+12>>2]=l-d;v[c+4>>2]=v[c+4>>2]-d;c=a+f|0;e=C(H(C(z[g+8>>2]+C(.5))));m:{if(C(D(e))<C(2147483648)){a=~~e;break m}a=-2147483648}v[c+4>>2]=a}a=w[b+132|0];e=C(z[g+8>>2]-z[g>>2]);n:{if(C(D(e))<C(2147483648)){d=~~e;break n}d=-2147483648}a=a&1;e=C(z[g+12>>2]-z[g+4>>2]);o:{if(C(D(e))<C(2147483648)){c=~~e;break o}c=-2147483648}p:{if(a){a=h;h=j;break p}k=h-j|0;d=0-d|0;c=0-c|0;a=j}Tn(f,a,m,h);a=f+B(a,20)|0;u[a+16>>1]=k;t[a+18|0]=2;v[i+32>>2]=v[i+32>>2]|8;q:{if((v[b+116>>2]&-2)==4){v[a+12>>2]=d;break q}v[a+8>>2]=c}b=f+B(h,20)|0;if(u[b+16>>1]==(0-u[a+16>>1]|0)){u[b+16>>1]=0}h=1;v[i+72>>2]=v[i+72>>2]+1}Ca=g+16|0;return h}function og(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;h=v[a+88>>2];k=h+12|0;a:{b:{c:{d:{if(t[a+8|0]&1){e:{f:{g:{h:{i:{j:{k:{o=v[b>>2];switch(o|0){case 3:break i;case 2:break j;case 0:break k;case 1:break g;case 4:break h;default:break e}}e=x[a+68>>1];f=e;break e}e=v[a+60>>2]-v[a+52>>2]|0;d=v[a- -64>>2]-v[a+56>>2]|0;break f}e=u[a+76>>1];d=u[a+70>>1]-u[a+72>>1]|0;break f}c=v[b+4>>2];v[h+16>>2]=c;b=v[b+8>>2];v[h+20>>2]=b;if(!c){break c}if(b){break b}break d}e=u[a+70>>1]-u[a+72>>1]|0;d=e}c=d;c=c>>31;f=d+c^c;c=e>>31;e=c+e^c}d=v[b+4>>2];l=d;c=v[b+12>>2];if(c){l=(B(c,d)+36|0)/72|0}g=v[b+8>>2];j=g;b=v[b+16>>2];if(b){j=(B(b,g)+36|0)/72|0}l:{if(d){c=2147483647;m:{if(!e){break m}b=l>>31;d=b+l^b;if(d>>>0<=(e>>>17^65535)>>>0){c=((d<<16)+(e>>>1|0)>>>0)/(e>>>0)|0;break m}b=d<<16;n=b+(e>>>1|0)|0;b=(d>>>16|0)+(b>>>0>n>>>0)|0;if(b>>>0>=e>>>0){break m}d=E(b);i=32-d|0;b=n>>>i|b<<d;c=(b>>>0)/(e>>>0)|0;m=b-B(c,e)|0;b=n<<d;while(1){d=m<<1|b>>>31;m=d-(d>>>0<e>>>0?0:e)|0;c=c<<1|d>>>0>=e>>>0;b=b<<1;i=i-1|0;if(i){continue}break}}c=(l|0)<0?0-c|0:c;v[h+16>>2]=c;if(g){b=2147483647;n:{if(!f){break n}d=j>>31;g=d+j^d;if(g>>>0<=(f>>>17^65535)>>>0){b=((g<<16)+(f>>>1|0)>>>0)/(f>>>0)|0;break n}d=g<<16;n=d+(f>>>1|0)|0;d=(g>>>16|0)+(d>>>0>n>>>0)|0;if(d>>>0>=f>>>0){break n}g=E(d);i=32-g|0;d=n>>>i|d<<g;b=(d>>>0)/(f>>>0)|0;m=d-B(b,f)|0;e=n<<g;while(1){d=m<<1|e>>>31;m=d-(d>>>0<f>>>0?0:f)|0;b=b<<1|d>>>0>=f>>>0;e=e<<1;i=i-1|0;if(i){continue}break}}b=(j|0)<0?0-b|0:b;v[h+20>>2]=b;if((o|0)!=3){break l}if((b|0)<=(c|0)){break c}break d}v[h+20>>2]=c;j=fb(l,f,e);b=c;break l}c=2147483647;o:{if(!f){break o}b=j>>31;d=b+j^b;if(d>>>0<=(f>>>17^65535)>>>0){c=((d<<16)+(f>>>1|0)>>>0)/(f>>>0)|0;break o}b=d<<16;g=b+(f>>>1|0)|0;b=(d>>>16|0)+(b>>>0>g>>>0)|0;if(b>>>0>=f>>>0){break o}d=E(b);i=32-d|0;b=g>>>i|b<<d;c=(b>>>0)/(f>>>0)|0;m=b-B(c,f)|0;b=g<<d;while(1){d=m<<1|b>>>31;m=d-(d>>>0<f>>>0?0:f)|0;c=c<<1|d>>>0>=f>>>0;b=b<<1;i=i-1|0;if(i){continue}break}}b=(j|0)<0?0-c|0:c;v[h+16>>2]=b;v[h+20>>2]=b;l=fb(j,e,f);c=b}if(!o){break a}break b}v[k>>2]=0;v[k+4>>2]=0;v[k+24>>2]=0;v[k+16>>2]=0;v[k+20>>2]=0;v[k+8>>2]=0;v[k+12>>2]=0;v[h+16>>2]=65536;v[h+20>>2]=65536;return}v[h+20>>2]=c;b=c;break b}v[h+16>>2]=b;c=b}d=(c|0)<0;g=x[a+68>>1];e=c;c=c>>31;c=e+c^c;p:{if(g+(c>>>8|0)>>>0<=8190){c=B(c,g)+32768>>>16|0;break p}c=B(g,c>>>16|0)+(B(g,c&65535)+32768>>>16|0)|0}l=d?0-c|0:c;c=b>>31;c=c+b^c;q:{if(g+(c>>>8|0)>>>0<=8190){c=B(c,g)+32768>>>16|0;break q}c=B(g,c>>>16|0)+(B(g,c&65535)+32768>>>16|0)|0}j=(b|0)<0?0-c|0:c}u[h+14>>1]=j+32>>>6;u[h+12>>1]=l+32>>>6;Rr(a,k)}function Uh(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b=v[a>>2];if(!b){k=a-48|0;while(1){f=v[k>>2];if(!f){return 280448}d=eb(1,32);b:{if(!d){if(b){break b}v[a>>2]=280448;return 280448}v[d+24>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[d+28>>2]=f;t[d+5|0]=0;t[d+6|0]=0;t[d+7|0]=0;t[d+8|0]=0;t[d+9|0]=0;t[d+10|0]=0;t[d+11|0]=0;t[d+12|0]=0;c:{b=nw(f+52|0);f=w[b+50|0]<<8|w[b+51|0];if(f>>>0>1|(w[b+53|0]|w[b+52|0]<<8)){break c}t[d+12|0]=!f;b=v[d+28>>2];Nb(b);d:{b=Jb(b,1819239265);f=Hb(b);if(v[f+16>>2]<=-1){break d}c=v[f+12>>2];Sa(f);if(c){if(v[b+4>>2]){v[b+4>>2]=0}}v[d+20>>2]=b;b=v[d+28>>2];Nb(b);b=Jb(b,1735162214);f=Hb(b);if(v[f+16>>2]<=-1){break d}c=v[f+12>>2];Sa(f);if(c){if(v[b+4>>2]){v[b+4>>2]=0}}v[d+24>>2]=b;j=Ca-48|0;Ca=j;i=v[d+28>>2]+120|0;b=v[i>>2];e:{if(b){break e}l=i-72|0;while(1){e=v[l>>2];if(!e){b=280448;break e}f=eb(1,4);f:{if(!f){if(b){break f}b=280448;v[i>>2]=280448;break e}b=j;v[b+16>>2]=0;v[b+20>>2]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;c=Nb(e);t[b+44|0]=1;v[b+40>>2]=c;m=f;h=0;c=b+8|0;b=Jb(e,1735811442);g=Hb(b);v[c+28>>2]=g;g:{h:{i:{j:{k:{while(1){t[c+20|0]=h;h=v[g+12>>2];v[c+4>>2]=h;e=v[g+16>>2];v[c+8>>2]=e+h;if((e|0)<=-1){break a}v[c+24>>2]=0;n=c;if(e>>>0>67108862){e=1073741823}else{e=e<<6;e=e>>>0>16384?e:16384;e=e>>>0<1073741823?e:1073741823}v[n+12>>2]=e;v[c>>2]=0;if(!h){Sa(g);v[c+28>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;break g}g=hx(h,c);e=v[c+24>>2];l:{if(g){if(!e){break l}v[c+24>>2]=0;e=hx(h,c);g=v[c+24>>2];Sa(v[c+28>>2]);v[c+28>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;if(g){break h}if(e){break k}break h}if(w[c+20|0]|!e){break j}e=xc(b);v[c+4>>2]=e;v[c+8>>2]=e+v[b+16>>2];g=v[c+28>>2];h=1;if(e){continue}break i}break}Sa(v[c+28>>2]);v[c+28>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0}if(v[b+4>>2]){v[b+4>>2]=0}break g}g=v[c+28>>2]}Sa(g);v[c+28>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0}Sa(b);b=280448;break g}v[m>>2]=b;if(!v[i>>2]){b=f;v[i>>2]=b;break e}b=v[f>>2];Sa(b?b:280448);Pa(f);b=v[i>>2]}if(!b){continue}break}}Ca=j+48|0;v[d>>2]=b;o=d,p=Cx(v[d+28>>2]- -64|0),v[o+4>>2]=p;o=d,p=Gn(v[d+28>>2]+92|0),v[o+8>>2]=p;b=v[d+20>>2];b=v[(b?b:280448)+16>>2]>>>(w[d+12|0]?1:2)|0;f=(b>>>0>1?b:1)-1|0;v[d+16>>2]=f;c=v[d+28>>2];b=v[c+32>>2];if((b|0)==-1){b=Xc(c);f=v[d+16>>2]}v[d+16>>2]=b>>>0<f>>>0?b:f;break c}break a}if(!v[a>>2]){v[a>>2]=d;return d}b=v[d+20>>2];Sa(b?b:280448);v[d+20>>2]=0;b=v[d+24>>2];Sa(b?b:280448);Pa(d);b=v[a>>2]}if(!b){continue}break}}return b}O(248800,248825,194,248842);L()}function Nt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ca-208|0;Ca=d;i=0;a:{if(!b){break a}c=-1;while(1){b:{switch(je(b,(f<<5)+459296|0)|0){case 0:i=(f<<5)+459312|0;break a;case 1:c=(c|0)==-1?f:c;break;default:break b}}f=f+1|0;if((f|0)!=246){continue}break}i=(c|0)==-1?0:(c<<5)+459312|0}j=Va(40);c:{if(!j){j=0;break c}b=j;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=8;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;if(w[656429]&8){Za(459272,0);Xl(a);Rb(10)}while(1){if(w[656429]&8){b=g<<5;v[d+160>>2]=b+459296;Za(459285,d+160|0);Xl(b+459312|0);Rb(10)}d:{e:{if(!i){break e}f:{g:{b=g<<5;e=b+459296|0;if(!je(e,452673)){break g}if(!je(e,452680)){break g}if(!je(e,452687)){break g}h=!je(e,452694);break f}h=1}if(!h){break e}if(v[b+459316>>2]!=v[i+4>>2]){break d}}e=g<<5;b=e+459312|0;k=Zt(b,a);h:{if(!(t[656429]&1)){break h}e=e+459296|0;if(k-1>>>0<=8){h=_t(b,a);v[d+128>>2]=e;v[d+132>>2]=k;Za(495540,d+128|0);Rb(123);b=d+172|0;v[b>>2]=0;f=Yt(h,d+176|0,b);if((f|0)!=-1){while(1){c=0;i:{b=v[d+176>>2];if(!b){break i}while(1){if(b>>>c&1){v[d+112>>2]=c+f;Za(495549,d+112|0)}c=c+1|0;if((c|0)==32){break i}b=v[d+176>>2];continue}}j:{b=v[d+180>>2];if(!b){break j}e=f+32|0;c=0;while(1){if(b>>>c&1){v[d+96>>2]=c+e;Za(495549,d+96|0)}c=c+1|0;if((c|0)==32){break j}b=v[d+180>>2];continue}}k:{b=v[d+184>>2];if(!b){break k}e=f- -64|0;c=0;while(1){if(b>>>c&1){v[d+80>>2]=c+e;Za(495549,d+80|0)}c=c+1|0;if((c|0)==32){break k}b=v[d+184>>2];continue}}l:{b=v[d+188>>2];if(!b){break l}e=f+96|0;c=0;while(1){if(b>>>c&1){v[d+64>>2]=c+e;Za(495549,d- -64|0)}c=c+1|0;if((c|0)==32){break l}b=v[d+188>>2];continue}}m:{b=v[d+192>>2];if(!b){break m}e=f+128|0;c=0;while(1){if(b>>>c&1){v[d+48>>2]=c+e;Za(495549,d+48|0)}c=c+1|0;if((c|0)==32){break m}b=v[d+192>>2];continue}}n:{b=v[d+196>>2];if(!b){break n}e=f+160|0;c=0;while(1){if(b>>>c&1){v[d+32>>2]=c+e;Za(495549,d+32|0)}c=c+1|0;if((c|0)==32){break n}b=v[d+196>>2];continue}}o:{b=v[d+200>>2];if(!b){break o}e=f+192|0;c=0;while(1){if(b>>>c&1){v[d+16>>2]=c+e;Za(495549,d+16|0)}c=c+1|0;if((c|0)==32){break o}b=v[d+200>>2];continue}}p:{b=v[d+204>>2];if(!b){break p}e=f+224|0;c=0;while(1){if(b>>>c&1){v[d>>2]=c+e;Za(495549,d)}c=c+1|0;if((c|0)==32){break p}b=v[d+204>>2];continue}}f=Yt(h,d+176|0,d+172|0);if((f|0)!=-1){continue}break}}Za(495555,0);jd(h);break h}v[d+148>>2]=k;v[d+144>>2]=e;Za(495560,d+144|0)}if(k){break d}e=w[g+495048|0];b=(e>>>3&28)+j|0;v[b+8>>2]=v[b+8>>2]|1<<e}g=g+1|0;if((g|0)!=246){continue}break}if(!(t[656429]&1)){break c}Rb(10)}Ca=d+208|0;return j}function BE(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;e=Ca-1568|0;Ca=e;g=v[a+4>>2];t[e+47|0]=0;h=v[v[g+492>>2]+12>>2];a:{if(!(v[v[g+128>>2]+52>>2]|y[g+16>>2]>c>>>0)){f=6;break a}d=d&1024?d|3:d;b:{if(b){v[a+164>>2]=v[b+16>>2];f=v[b+20>>2];break b}v[a+164>>2]=65536;f=65536}v[a+108>>2]=0;v[a+72>>2]=1869968492;v[a+168>>2]=f;j=d&1;t[a+161|0]=!j;f=!(d&3);t[a+160|0]=f;f=Ea[v[h>>2]](e+48|0,g,b,a,v[g+424>>2],v[g+532>>2],f,d>>>16&15,84)|0;if(f){break a}i=d&1024;t[e+117|0]=i>>>10;v[e+1412>>2]=v[g+404>>2];v[e+1416>>2]=v[g+408>>2];v[e+1420>>2]=v[g+412>>2];v[e+1424>>2]=v[g+416>>2];v[e+1544>>2]=v[g+548>>2];v[e+1548>>2]=v[g+544>>2];f=ah(e+48|0,c,e+16|0,e+47|0);if(!f){k=w[a+160|0];c=e+1436|0;f=v[c+4>>2];v[e+32>>2]=v[c>>2];v[e+36>>2]=f;c=v[e+1432>>2];v[e+24>>2]=v[e+1428>>2];v[e+28>>2]=c;c=v[e+1448>>2];f=v[e+1444>>2];Ea[v[h+4>>2]](e+48|0);v[a+124>>2]=v[a+124>>2]&1|4;c:{if(i){b=v[a+156>>2];d=v[e+80>>2];v[a+32>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=v[e+88>>2];v[a+40>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=v[e+36>>2];v[b+20>>2]=v[e+32>>2];v[b+24>>2]=d;d=v[e+28>>2];v[b+12>>2]=v[e+24>>2];v[b+16>>2]=d;v[b+32>>2]=c;v[b+28>>2]=f;t[b+8|0]=1;break c}h=v[e+88>>2];v[a+40>>2]=(((h>>31)+h|0)+32768&-65536)>>16;h=v[e+88>>2];v[a+56>>2]=(((h>>31)+h|0)+32768&-65536)>>16;t[v[a+156>>2]+8|0]=0;i=d&16;d:{if(i){d=v[g+476>>2]-v[g+468>>2]>>16;v[a+52>>2]=d;break d}d=v[e+92>>2];v[a+52>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=v[e+92>>2];d=(((d>>31)+d|0)+32768&-65536)>>16}v[a+72>>2]=1869968492;v[a+60>>2]=d;if(!(!b|x[b+14>>1]>23)){v[a+124>>2]=v[a+124>>2]|256}h=a+108|0;e:{if(!(v[e+28>>2]|(v[e+24>>2]!=65536|v[e+36>>2]!=65536))){if(!v[e+32>>2]){break e}}ee(h,e+24|0);l=a,m=Qa(v[a+40>>2],v[e+24>>2]),v[l+40>>2]=m;l=a,m=Qa(v[a+52>>2],v[e+36>>2]),v[l+52>>2]=m}if(c|f){ic(h,f,c);v[a+40>>2]=f+v[a+40>>2];v[a+52>>2]=c+v[a+52>>2]}if(!(w[e+47|0]?0:j)){c=v[a+168>>2];f=v[a+164>>2];d=v[e+64>>2];b=v[d+4>>2];f:{if(v[e+120>>2]?k:0){break f}d=u[d+2>>1];if((d|0)<1){break f}d=d&65535;while(1){l=b,m=Qa(v[b>>2],f),v[l>>2]=m;l=b,m=Qa(v[b+4>>2],c),v[l+4>>2]=m;b=b+8|0;j=(d|0)>1;d=d-1|0;if(j){continue}break}}l=a,m=Qa(v[a+40>>2],f),v[l+40>>2]=m;l=a,m=Qa(v[a+52>>2],c),v[l+52>>2]=m}pf(h,e);b=v[e>>2];v[a+24>>2]=v[e+8>>2]-b;c=v[e+4>>2];d=v[e+12>>2];v[a+36>>2]=d;v[a+32>>2]=b;v[a+28>>2]=d-c;if(!i){break c}pg(a+24|0,v[a+52>>2])}v[a+136>>2]=v[e+16>>2];v[a+140>>2]=v[e+20>>2];f=0;b=v[v[g+128>>2]+52>>2];if(!b){break a}Ea[v[v[b>>2]+4>>2]](v[b+4>>2],e+16|0);v[a+136>>2]=0;v[a+140>>2]=0;break a}Ea[v[h+4>>2]](e+48|0)}Ca=e+1568|0;return f|0}function vO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=v[v[a+112>>2]+4>>2];if(c){Pw(c,b,v[a+4>>2])}a=w[b+168|0];if(!(a&64)){t[b+168|0]=a|64;d=v[b+76>>2];if(d){g=v[b+88>>2];a=0;while(1){e=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{f=B(a,20)+g|0;b=v[f>>2];switch(b>>>12|0){case 22:break f;case 19:break g;case 17:break h;case 16:break i;case 10:break j;case 2:break k;case 1:break l;case 0:break m;case 30:break c;case 27:break d;case 24:break e;default:break a}}c=b-40|0;if(c>>>0<24){break b}if(b-160>>>0<=55){c=b-136|0;break b}if((b&-8)==1600){c=b-1520|0;break b}if(b-1992>>>0<=55){c=b-1904|0;break b}if((b&-32)==2112){c=b-1968|0;break b}if(b-2304>>>0<=1271){c=b-2128|0;break b}if(b-3840>>>0>199){break a}c=b-2392|0;break b}if(b-4096>>>0<=159){c=b-2448|0;break b}if(b-5888>>>0<=431){c=b-4080|0;break b}if(b-6400>>>0<=415){c=b-4160|0;break b}if(b-6912>>>0<=335){c=b-4256|0;break b}if(b-7376>>>0<=47){c=b-4384|0;break b}if((b&-8)!=7672){break a}c=b-4632|0;break b}if(b-8200>>>0<=15){c=b-5152|0;break b}if(b-8304>>>0<=23){c=b-5240|0;break b}n:{c=b&-8;if((c|0)!=9672){if((c|0)!=8432){break n}c=b-5344|0;break b}c=b-6576|0;break b}if(b-11568>>>0>79){break a}c=b-8464|0;break b}if(b-43008>>>0<=759){c=b-39824|0;break b}if((b&-64)!=43968){break a}c=b-40024|0;break b}if(b-68096>>>0<=79){c=b-64088|0;break b}if(b-68288>>>0<=39){c=b-64200|0;break b}if(b-68480>>>0<=47){c=b-64352|0;break b}if((b&-64)==68864){c=b-64688|0;break b}if(b-69248>>>0<=55){c=b-65008|0;break b}if(b-69424>>>0<=39){c=b-65128|0;break b}if(b-69552>>>0>271){break a}c=b-65216|0;break b}if(b-69552>>>0<=271){c=b-65216|0;break b}if(b-69888>>>0<=319){c=b-65280|0;break b}if(b-70272>>>0<=247){c=b-65344|0;break b}if(b-70656>>>0<=223){c=b-65480|0;break b}if(b-71040>>>0<=447){c=b-65640|0;break b}if((b&-64)==71680){c=b-65832|0;break b}if(b-71936>>>0<=95){c=b-66024|0;break b}if(b-72096>>>0<=255){c=b-66088|0;break b}if(b-72704>>>0<=183){c=b-66440|0;break b}if(b-72960>>>0<=175){c=b-66512|0;break b}if(b-73440>>>0>23){break a}c=b-66816|0;break b}if(b-77824>>>0>1087){break a}c=b-71176|0;break b}if(b-92928>>>0<=55){c=b-85192|0;break b}if(b-93952>>>0<=151){c=b-86160|0;break b}if((b&-8)!=94176){break a}c=b-86232|0;break b}if(b-101120>>>0>471){break a}c=b-93168|0;break b}if(b-113664>>>0>159){break a}c=b-105240|0;break b}if(b-123136>>>0<=79){c=b-114552|0;break b}if((b&-64)==123584){c=b-114920|0;break b}if(b-125184>>>0>95){break a}c=b-116456|0}e=w[c+266272|0]}t[f+18|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}return}O(266230,266151,153,266217);L()}function so(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=Ca-16|0;Ca=h;e=v[b+4>>2];a:{if(e>>>0>a>>>0){break a}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<2){break a}d=v[b+12>>2];g=d-2|0;v[b+12>>2]=g;f=1;if((g|0)<1){f=0;break a}b:{c:{d:{e:{g=w[a|0]|w[a+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 2:break c;case 1:break d;case 0:break e;default:break a}}f=a+2|0;if(f>>>0<e>>>0|c>>>0<f>>>0|c-f>>>0<2){break b}c=d-4|0;v[b+12>>2]=c;if((c|0)<1){break b}c=w[a+3|0]|w[a+2|0]<<8;f:{if(!c){break f}if(nc(a+c|0,b)){break f}c=v[b+24>>2];if(c>>>0>31){break b}v[b+24>>2]=c+1;if(!w[b+20|0]){break b}t[f|0]=0;t[f+1|0]=0}v[h+12>>2]=a;f=qo(a+4|0,b,h+12|0);break a}e=Ca-16|0;Ca=e;g:{h:{f=a+2|0;if(f>>>0<y[b+4>>2]){break h}c=v[b+8>>2];if(c>>>0<f>>>0|c-f>>>0<2){break h}c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break h}c=w[a+3|0]|w[a+2|0]<<8;i:{if(!c){break i}if(nc(a+c|0,b)){break i}c=v[b+24>>2];if(c>>>0>31){break h}v[b+24>>2]=c+1;if(!w[b+20|0]){break h}t[f|0]=0;t[f+1|0]=0}f=0;c=a+4|0;if(c>>>0<y[b+4>>2]){break g}d=v[b+8>>2];if(d>>>0<c>>>0|d-c>>>0<2){break g}d=v[b+12>>2]-2|0;v[b+12>>2]=d;if((d|0)<1){break g}d=w[a+5|0]|w[a+4|0]<<8;j:{if(!d){break j}if(kf(a+d|0,b)){break j}d=v[b+24>>2];if(d>>>0>31){break g}v[b+24>>2]=d+1;if(!w[b+20|0]){break g}t[c|0]=0;t[c+1|0]=0}c=a+6|0;if(c>>>0<y[b+4>>2]){break g}d=v[b+8>>2];if(d>>>0<c>>>0|d-c>>>0<2){break g}d=v[b+12>>2]-2|0;v[b+12>>2]=d;if((d|0)<1){break g}d=w[a+7|0]|w[a+6|0]<<8;k:{if(!d){break k}if(kf(a+d|0,b)){break k}d=v[b+24>>2];if(d>>>0>31){break g}v[b+24>>2]=d+1;if(!w[b+20|0]){break g}t[c|0]=0;t[c+1|0]=0}c=a+8|0;if(c>>>0<y[b+4>>2]){break g}d=v[b+8>>2];if(d>>>0<c>>>0|d-c>>>0<2){break g}d=v[b+12>>2]-2|0;v[b+12>>2]=d;if((d|0)<1){break g}d=w[a+9|0]|w[a+8|0]<<8;l:{if(!d){break l}if(kf(a+d|0,b)){break l}d=v[b+24>>2];if(d>>>0>31){break g}v[b+24>>2]=d+1;if(!w[b+20|0]){break g}t[c|0]=0;t[c+1|0]=0}v[e+12>>2]=a;f=qo(a+10|0,b,e+12|0);break g}f=0}Ca=e+16|0;break a}f=0;c=Ca-16|0;Ca=c;v[c+12>>2]=a;e=a+2|0;m:{if(!Ug(e,b,c+12|0)){break m}d=w[a+3|0];g=w[a+2|0];v[c+8>>2]=a;e=(e+(d<<1|g<<9)|0)+2|0;if(!Ug(e,b,c+8|0)){break m}g=w[e+1|0];d=w[e|0];if(!(g|d<<8)){break m}v[c+4>>2]=a;a=(e+(g<<1|d<<9)|0)+2|0;if(!Ug(a,b,c+4|0)){break m}g=v[b+4>>2];a=(a+(w[a+1|0]<<1|w[a|0]<<9)|0)+2|0;if(g>>>0>a>>>0){break m}e=v[b+8>>2];if(e>>>0<a>>>0|e-a>>>0<2){break m}d=v[b+12>>2]-2|0;v[b+12>>2]=d;if((d|0)<1){break m}i=w[a+1|0]|w[a|0]<<8;if(i){a=a+2|0;if(a>>>0<g>>>0|a>>>0>e>>>0){break m}e=e-a|0;a=i<<2;if(e>>>0<a>>>0){break m}a=d-a|0;v[b+12>>2]=a;if((a|0)<1){break m}}f=1}Ca=c+16|0;break a}f=0}Ca=h+16|0;return f}function jr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=Ca-16|0;Ca=e;j=v[a+28>>2];f=Ya(a,c);v[e+12>>2]=f;a:{if(f){break a}f=kb(a,e+12|0);if(v[e+12>>2]){break a}if((f|0)!=1){v[e+12>>2]=8;break a}g=Ob(a,e+12|0);if(v[e+12>>2]){break a}i=kb(a,e+12|0);v[d>>2]=i;if(v[e+12>>2]){break a}if(!i){v[e+12>>2]=8;break a}f=0;l=Ua(j,4,0,i,0,e+12|0);if(v[e+12>>2]){break a}if(v[d>>2]){while(1){n=(f<<2)+l|0,o=Ob(a,e+12|0),v[n>>2]=o;if(v[e+12>>2]){break a}f=f+1|0;if(f>>>0<y[d>>2]){continue}break}}f=Ya(a,c+g|0);v[e+12>>2]=f;if(f){break a}n=d,o=kb(a,e+12|0),u[n+8>>1]=o;if(v[e+12>>2]){break a}f=kb(a,e+12|0);v[d+12>>2]=f;if(v[e+12>>2]){break a}if(v[v[b+12>>2]>>2]!=x[d+8>>1]){v[e+12>>2]=8;break a}if(f<<16>>16<=-1){v[e+12>>2]=8;break a}n=d,o=Ua(j,4,0,f,0,e+12|0),v[n+16>>2]=o;if(v[e+12>>2]){break a}if(v[d+12>>2]){b=x[d+8>>1];while(1){i=Ua(j,12,0,b&65535,0,e+12|0);v[v[d+16>>2]+(h<<2)>>2]=i;if(v[e+12>>2]){break a}b=0;if(x[d+8>>1]){f=0;while(1){g=kb(a,e+12|0);if(v[e+12>>2]){break a}k=kb(a,e+12|0);if(v[e+12>>2]){break a}m=kb(a,e+12|0);if(v[e+12>>2]){break a}b=i+B(f,12)|0;v[b+8>>2]=m<<16>>16<<2;v[b+4>>2]=k<<16>>16<<2;v[b>>2]=g<<16>>16<<2;b=x[d+8>>1];f=f+1|0;if(b>>>0>f>>>0){continue}break}}h=h+1|0;if(h>>>0<y[d+12>>2]){continue}break}}f=Ua(j,16,0,v[d>>2],0,e+12|0);v[d+4>>2]=f;if(v[e+12>>2]|!v[d>>2]){break a}b=Ya(a,v[l>>2]+c|0);v[e+12>>2]=b;if(b){break a}k=0;while(1){g=(k<<4)+f|0;n=g,o=kb(a,e+12|0),v[n>>2]=o;if(v[e+12>>2]){break a}i=kb(a,e+12|0);if(v[e+12>>2]){break a}b=kb(a,e+12|0);v[g+4>>2]=b;if(v[e+12>>2]){break a}if(b>>>0<i>>>0){v[e+12>>2]=8;break a}if(b>>>0>y[d+12>>2]){v[e+12>>2]=8;break a}n=g,o=Ua(j,4,0,b,0,e+12|0),v[n+8>>2]=o;if(v[e+12>>2]){break a}f=0;b:{if(!v[g+4>>2]){b=0;break b}while(1){b=kb(a,e+12|0);v[v[g+8>>2]+(f<<2)>>2]=b;if(v[e+12>>2]){break a}if(b>>>0<y[d+12>>2]){b=v[g+4>>2];f=f+1|0;if(b>>>0<=f>>>0){break b}continue}break}v[e+12>>2]=8;break a}n=g,o=Ua(j,2,0,B(v[g>>2],b),0,e+12|0),v[n+12>>2]=o;if(v[e+12>>2]){break a}h=v[g+4>>2];if(B(h,v[g>>2])){f=0;while(1){if(i){b=f+i|0;while(1){h=kb(a,e+12|0);if(v[e+12>>2]){break a}u[v[g+12>>2]+(f<<1)>>1]=h;f=f+1|0;if((b|0)!=(f|0)){continue}break}h=v[g+4>>2];f=b}b=i;if(h>>>0>b>>>0){while(1){h=cc(a,e+12|0);if(v[e+12>>2]){break a}u[v[g+12>>2]+(f<<1)>>1]=h;f=f+1|0;b=b+1|0;h=v[g+4>>2];if(b>>>0<h>>>0){continue}break}}if(B(v[g>>2],h)>>>0>f>>>0){continue}break}}k=k+1|0;if(k>>>0>=y[d>>2]){break a}f=v[d+4>>2];b=Ya(a,v[(k<<2)+l>>2]+c|0);v[e+12>>2]=b;if(!b){continue}break}}if(l){Ea[v[j+8>>2]](j,l)}Ca=e+16|0;return v[e+12>>2]}function Oj(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;n=0-c|0;l=B(b,c)+a|0;if(b>>>0>9){while(1){f=a+c|0;g=B(b>>>1|0,c)+a|0;h=(Ea[d|0](f,g)|0)>0;e=h?f:g;j=B(b-1|0,c);i=j+a|0;b=i+n|0;if((Ea[d|0](e,b)|0)>=1){f=h?g:f;e=(Ea[d|0](f,b)|0)>0?f:b}if(!((e|0)==(i|0)|(c|0)<1)){f=c+e|0;b=i;while(1){g=w[e|0];t[e|0]=w[b|0];t[b|0]=g;b=b+1|0;e=e+1|0;if(f>>>0>e>>>0){continue}break}}k=i;f=i;g=a;h=g;a:{if((j|0)<1){break a}while(1){if(f>>>0<=h>>>0){break a}b:{o=(c|0)<1;if(!o){while(1){b=Ea[d|0](h,i)|0;if((b|0)>0){break b}if(!b){if(g>>>0<h>>>0){j=c+g|0;e=g;b=h;while(1){m=w[e|0];t[e|0]=w[b|0];t[b|0]=m;b=b+1|0;e=e+1|0;if(j>>>0>e>>>0){continue}break}}g=c+g|0}h=c+h|0;if(h>>>0<f>>>0){continue}break a}}while(1){b=Ea[d|0](h,i)|0;if((b|0)>=1){break b}g=b?g:c+g|0;h=c+h|0;if(h>>>0<f>>>0){continue}break}break a}c:{if(f>>>0<=h>>>0){break c}while(1){m=f;d:{e:{f=f+n|0;b=Ea[d|0](f,i)|0;if(!b){j=k+n|0;if(k>>>0<=m>>>0){break e}e=f;b=j;if(o){break e}while(1){k=w[e|0];t[e|0]=w[b|0];t[b|0]=k;b=b+1|0;e=e+1|0;if(m>>>0>e>>>0){continue}break}break e}if((b|0)>-1){break d}if(!(o|f>>>0<=h>>>0)){j=c+h|0;e=h;b=f;while(1){m=w[e|0];t[e|0]=w[b|0];t[b|0]=m;b=b+1|0;e=e+1|0;if(j>>>0>e>>>0){continue}break}}h=c+h|0;break c}k=j}if(f>>>0>h>>>0){continue}break}}if(f>>>0>h>>>0){continue}break}}b=g-a|0;i=f-g|0;f:{if(!b|!i){break f}if(b>>>0>i>>>0){if((i|0)<1){break f}g=a+i|0;e=a+b|0;b=a;while(1){h=w[b|0];t[b|0]=w[e|0];t[e|0]=h;e=e+1|0;b=b+1|0;if(g>>>0>b>>>0){continue}break}break f}if((b|0)<1){break f}g=a+b|0;e=a+i|0;b=a;while(1){h=w[b|0];t[b|0]=w[e|0];t[e|0]=h;e=e+1|0;b=b+1|0;if(g>>>0>b>>>0){continue}break}}b=k-f|0;g:{if(!b){break g}e=l-k|0;if(!e){break g}if(b>>>0>e>>>0){if((e|0)<1){break g}g=e+f|0;e=b+f|0;while(1){h=w[f|0];t[f|0]=w[e|0];t[e|0]=h;e=e+1|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}break g}if((b|0)<1){break g}g=b+f|0;e=e+f|0;while(1){h=w[f|0];t[f|0]=w[e|0];t[e|0]=h;e=e+1|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}}Oj(a,(i>>>0)/(c>>>0)|0,c,d);a=l-b|0;b=(b>>>0)/(c>>>0)|0;l=a+B(c,b)|0;if(b>>>0>=10){continue}break}}g=a+c|0;h:{if(l>>>0<=g>>>0){break h}if((c|0)>=1){while(1){f=g;i:{if(f>>>0<=a>>>0){break i}while(1){i=f+n|0;if((Ea[d|0](i,f)|0)<1){break i}e=i;b=f;while(1){h=w[e|0];t[e|0]=w[b|0];t[b|0]=h;b=b+1|0;e=e+1|0;if(f>>>0>e>>>0){continue}break}f=i;if(f>>>0>a>>>0){continue}break}}g=c+g|0;if(l>>>0>g>>>0){continue}break h}}while(1){e=g;j:{if(e>>>0<=a>>>0){break j}while(1){b=e+n|0;if((Ea[d|0](b,e)|0)<1){break j}e=b;if(b>>>0>a>>>0){continue}break}}g=c+g|0;if(l>>>0>g>>>0){continue}break}}}function hq(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,x=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;f=v[a+16>>2];n=w[f+6|0]<<8|w[f+7|0]&254;if(!n){return 0}z=v[a>>2];E=v[z+508>>2]+v[z+512>>2]|0;d=v[b>>2];q=d+1|0;p=c?q:d;u=n+2|0;s=f+14|0;x=n>>>1|0;k=x;a:{b:{c:{while(1){d=g+k|0;e=(d&-2)+s|0;j=w[e|0]<<8|w[e+1|0];d=d>>>1|0;h=d;e=e+u|0;o=w[e|0]<<8|w[e+1|0];if(o>>>0<=p>>>0){if(j>>>0>=p>>>0){break c}h=k;g=d+1|0}k=h;if(h>>>0>g>>>0){continue}break}g=0;if(c){break b}break a}g=0;e=e+n|0;h=e+n|0;A=w[h|0]<<8|w[h+1|0];i=(o|0)==65535&x-1>>>0<=d>>>0&(j|0)==65535&(A|0)!=0&(h+A|0)+2>>>0>E>>>0;l=i?0:A;e=w[e|0]|w[e+1|0]<<8;F=(e<<8|e>>>8)<<16>>16;m=i?1:F;d:{e:{f:{if(w[a+20|0]&2){k=d+1|0;g:{h:{i:{if(d){i=(l|0)==65535?k:d;e=d-1|0;C=e<<1;g=C+s|0;t=w[g|0]<<8|w[g+1|0];j:{if(t>>>0<p>>>0){g=d;r=l;f=j;e=o;break j}l=(f+B(n,3)|0)+16|0;G=s+u|0;k:{while(1){l:{f=t;g=e;D=C+G|0;m=D+n|0;h=m+n|0;r=w[h|0]<<8|w[h+1|0];i=(r|0)==65535?i:e;if(!e){break l}e=g-1|0;C=e<<1;t=C+s|0;t=w[t|0]<<8|w[t+1|0];if(t>>>0>=p>>>0){continue}break k}break}g=0;h=l}e=w[m|0]|w[m+1|0]<<8;m=(e<<8|e>>>8)<<16>>16;e=w[D+1|0]|w[D|0]<<8}if((i|0)==(k|0)){break i}d=g;j=f;break g}r=65535;f=j;e=o;i=0;if((l|0)==65535){break h}i=d;d=0;r=l;break g}i=d;if((d|0)==(g|0)){break h}m=F;r=A;f=j;e=o;i=d}o=i;g=0;if(k>>>0>=x>>>0){j=f;if(c){break b}break a}d=(k<<1)+s|0;h=u+d|0;j=w[h|0]<<8|w[h+1|0];m:{if(p>>>0<j>>>0){i=o;break m}i=o;n:{while(1){o:{e=j;f=d;l=(d+u|0)+n|0;h=l+n|0;r=w[h|0]<<8|w[h+1|0];i=(r|0)==65535?i:k;k=k+1|0;if((x|0)==(k|0)){break o}d=(k<<1)+s|0;h=u+d|0;j=w[h|0]<<8|w[h+1|0];if(p>>>0>=j>>>0){continue}break n}break}k=x}d=w[l|0]|w[l+1|0]<<8;m=(d<<8|d>>>8)<<16>>16;f=w[f+1|0]|w[f|0]<<8}j=f;d=k-1|0;if((i|0)==(o|0)){break e}}if((d|0)==(i|0)){d=i;l=r;o=e;break f}d=(i<<1)+s|0;j=w[d|0]<<8|w[d+1|0];d=d+u|0;o=w[d|0]<<8|w[d+1|0];d=d+n|0;h=d+n|0;l=w[h|0]<<8|w[h+1|0];d=w[d|0]|w[d+1|0]<<8;m=(d<<8|d>>>8)<<16>>16;d=i;break f}if((l|0)==65535){break e}}if(!l){break d}g=0;f=((p-o<<1)+l|0)+h|0;if(f>>>0>E>>>0?c:0){break e}f=w[f+1|0]|w[f|0]<<8;if(!f){break e}f=f+m&65535;g=f>>>0<y[z+16>>2]?f:0}if(c){break b}break a}f=m+p|0;g=f&65535;if(!c){break a}if(y[z+16>>2]>g>>>0){break b}c=j+m|0;p:{if((f|0)>-1){break p}g=0;if((c|0)<0){break p}q=0-m|0;break b}q=(f|0)<65536?(c|0)>65535?65536-m|0:p:p;g=0}c=g;if(j>>>0<q>>>0){g=0;d=d+1|0;if((x|0)==(d|0)){break a}}q:{if(Vp(a,d)){g=c;if(c){break q}return 0}v[a+24>>2]=q;if(c){v[a+28>>2]=c;g=c;break q}v[a+24>>2]=q;gq(a);g=v[a+28>>2];if(!g){return 0}q=v[a+24>>2]}v[b>>2]=q}return g}function GP(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;f=d;k=Ax(b+24|0);a=v[k+4>>2];a:{b:{c:{if((a|0)==65536){l=258;break c}if((a|0)!=131072){break b}a=v[k+8>>2];l=w[a|0]<<8|w[a+1|0];if(!l){break b}}if((f|0)<=-1){f=Xa(c)}if(!f){break b}a=v[k+28>>2];d:{if(a){break d}a=Va(l<<1);if(!a){break b}m=l&7;if(l-1>>>0>=7){j=l&65528;while(1){u[(h<<1)+a>>1]=h;i=h|1;u[(i<<1)+a>>1]=i;i=h|2;u[(i<<1)+a>>1]=i;i=h|3;u[(i<<1)+a>>1]=i;i=h|4;u[(i<<1)+a>>1]=i;i=h|5;u[(i<<1)+a>>1]=i;i=h|6;u[(i<<1)+a>>1]=i;i=h|7;u[(i<<1)+a>>1]=i;h=h+8|0;j=j-8|0;if(j){continue}break}}if(m){while(1){u[(h<<1)+a>>1]=h;h=h+1|0;m=m-1|0;if(m){continue}break}}ix(a,l,k);h=v[k+28>>2];if(!h){v[k+28>>2]=a;break d}Pa(a);a=h}if((l|0)<1){break b}h=l-1|0;l=0;g=v[k+4>>2];o=(g|0)==131072;p=(g|0)!=65536;e:{while(1){n=h+l|0;j=x[(n&-2)+a>>1];f:{if(!o){m=0;g=0;if(j>>>0>257|p){break f}g=j<<2;m=v[g+254016>>2];g=v[g+254020>>2]+(m^-1)|0;m=m+255052|0;break f}m=0;g=0;i=v[k+8>>2];if(j>>>0>=(w[i|0]<<8|w[i+1|0])>>>0){break f}g=i+(j<<1)|0;j=w[g+2|0]<<8|w[g+3|0];if(j>>>0<=257){g=j<<2;m=v[g+254016>>2];g=v[g+254020>>2]+(m^-1)|0;m=m+255052|0;break f}g=0;j=j-258|0;if(j>>>0>=y[k+16>>2]){break f}g=v[k+24>>2]+v[v[k+20>>2]+(j<<2)>>2]|0;m=g+1|0;g=w[g|0]}j=n>>>1|0;if((f|0)!=(g|0)){g=f-g|0}else{g=lc(c,m,f)}g:{if((g|0)<=-1){h=j-1|0;break g}if(!g){break e}l=j+1|0}if((h|0)>=(l|0)){continue}break}f=0;break a}g=1;a=(j<<1)+a|0;f=0;if(!a){break a}v[e>>2]=x[a>>1]}f=g}if(f){a=1}else{h:{b=Fn(b+52|0);a=0;if((d|0)<=-1){d=Xa(c)}i:{if(!d){break i}f=v[b+220>>2];if((f|0)<1){break i}l=v[b+224>>2];a=f-1|0;f=0;j:{while(1){g=a+f>>>1|0;k=l+(g<<4)|0;h=v[k+4>>2];k=$a(c,v[k>>2],d>>>0>h>>>0?h:d);h=k?k:d-h|0;k:{if((h|0)<=-1){a=g-1|0;break k}if(!h){break j}f=g+1|0}if((a|0)>=(f|0)){continue}break}a=0;break h}f=l+(g<<4)|0;d=x[f+12>>1];l:{a=v[b+48>>2];m:{n:{if((a|0)!=280448){d=zn(a,d,v[b+212>>2]);break n}o:{switch(v[b+168>>2]){case 0:a=0;if(d>>>0<229){break n}break i;case 1:a=0;b=164;d=d&65535;p:{q:{while(1){c=a+b>>>1|0;g=x[(c<<2)+247520>>1];r:{if(g>>>0>d>>>0){b=c-1|0;break r}if((d|0)==(g|0)){break q}a=c+1|0}if((a|0)<=(b|0)){continue}break}d=0;break p}d=w[(c<<2)+247522|0]}break n;case 2:break o;default:break m}}a=0;b=85;d=d&65535;s:{t:{while(1){c=a+b>>>1|0;g=x[(c<<2)+248192>>1];u:{if(g>>>0>d>>>0){b=c-1|0;break u}if((d|0)==(g|0)){break t}a=c+1|0}if((a|0)<=(b|0)){continue}break}d=0;break s}d=w[(c<<2)+248194|0]}}if(d){break l}d=x[f+12>>1]}a=d&65535;d=0;if(!a){break l}a=0;break h}v[e>>2]=d;a=1}}}return a|0}function Cv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{switch(v[a+92>>2]){case 0:f=v[a+64>>2];if((f|0)<(c|0)){j:{if(v[a+84>>2]){e=v[a+36>>2];break j}e=v[a+36>>2];v[a+84>>2]=e;v[a+80>>2]=e;e=e+32|0;v[a+36>>2]=e}if(y[a+32>>2]>e>>>0){g=v[a+4>>2];h=v[a+8>>2];d=v[a+80>>2];v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=e;v[d+28>>2]=0;v[d+4>>2]=0;u[d+12>>1]=w[a+48|0]|((h|0)>(((f+g|0)-1&0-g)-f|0)?8:40);if(!v[a+88>>2]){v[a+88>>2]=d}break f}break a}if((c|0)>=(f|0)){break c}k:{if(v[a+84>>2]){e=v[a+36>>2];break k}e=v[a+36>>2];v[a+84>>2]=e;v[a+80>>2]=e;e=e+32|0;v[a+36>>2]=e}if(y[a+32>>2]>e>>>0){g=v[a+4>>2];h=v[a+8>>2];d=v[a+80>>2];v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=e;v[d+28>>2]=0;v[d+4>>2]=0;e=w[a+48|0];u[d+12>>1]=(h|0)>(f&g-1)?e:e|16;if(!v[a+88>>2]){v[a+88>>2]=d}break h}break a;case 2:break g;case 1:break i;default:break c}}d=v[a+64>>2];if((d|0)<=(c|0)){break e}f=v[a+36>>2];e=v[a+80>>2];g=f-v[e+8>>2]|0;if((g|0)<=-1){v[a+40>>2]=99;return 1}h=v[a+4>>2]-1&d;i=v[a+8>>2];l:{if(!g){d=f;break l}v[e+16>>2]=g>>2;if((h|0)>=(i|0)){d=x[e+12>>1];u[e+12>>1]=(d&8?16:32)|d}v[a+80>>2]=f;d=f+32|0;v[a+36>>2]=d;v[f+8>>2]=d;v[f+16>>2]=0;v[e+28>>2]=f;u[a+76>>1]=x[a+76>>1]+1;e=f}g=v[a+32>>2];if(g>>>0<=d>>>0){break a}t[a+79|0]=0;if(!v[a+84>>2]){v[a+84>>2]=d;v[a+80>>2]=d;f=d+32|0;v[a+36>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=d;v[e+28>>2]=0;v[e+4>>2]=0;d=w[a+48|0];u[e+12>>1]=(h|0)<(i|0)?d:d|16;if(!v[a+88>>2]){v[a+88>>2]=e}}t[a+78|0]=1;v[a+92>>2]=2;t[a+79|0]=0;d=v[a+64>>2];break d}d=v[a+64>>2];if((d|0)>=(c|0)){break d}f=v[a+36>>2];e=v[a+80>>2];g=f-v[e+8>>2]|0;if((g|0)<=-1){v[a+40>>2]=99;return 1}h=v[a+4>>2];h=((h+d|0)-1&0-h)-d|0;i=v[a+8>>2];m:{if(!g){d=f;break m}v[e+16>>2]=g>>2;if((h|0)>=(i|0)){d=x[e+12>>1];u[e+12>>1]=(d&8?16:32)|d}v[a+80>>2]=f;d=f+32|0;v[a+36>>2]=d;v[f+8>>2]=d;v[f+16>>2]=0;v[e+28>>2]=f;u[a+76>>1]=x[a+76>>1]+1;e=f}g=v[a+32>>2];if(g>>>0<=d>>>0){break a}t[a+79|0]=0;if(!v[a+84>>2]){v[a+84>>2]=d;v[a+80>>2]=d;f=d+32|0;v[a+36>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=d;v[e+28>>2]=0;v[e+4>>2]=0;u[e+12>>1]=w[a+48|0]|((h|0)<(i|0)?8:40);if(!v[a+88>>2]){v[a+88>>2]=e}}t[a+78|0]=1;v[a+92>>2]=1;t[a+79|0]=0;d=v[a+64>>2]}f=1;if(Av(a,v[a+60>>2],d,b,c,v[a+68>>2],v[a+72>>2])){break b}break c}e=w[a+78|0];d=Av(a,v[a+60>>2],0-d|0,b,0-c|0,0-v[a+72>>2]|0,0-v[a+68>>2]|0);if(!(w[a+78|0]|!e)){e=v[a+80>>2];v[e+20>>2]=0-v[e+20>>2]}f=1;if(d){break b}}v[a+64>>2]=c;v[a+60>>2]=b;f=0}return f}v[a+40>>2]=98;return 1}
|
||
function Pn(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{switch(c-1|0){case 0:c=0;c:{d:{e:{d=w[a|0]|w[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break c}}c=w[a+3|0]|w[a+2|0]<<8;e=c?c+a|0:280448;c=v[b+100>>2];c=v[v[c+88>>2]+B(v[c+72>>2],20)>>2];d=xb(e,c);if((d|0)!=-1){jf(b,c+(w[a+5|0]|w[a+4|0]<<8)&65535)}c=(d|0)!=-1;break c}d=w[a+3|0]|w[a+2|0]<<8;e=d?d+a|0:280448;d=v[b+100>>2];d=xb(e,v[v[d+88>>2]+B(v[d+72>>2],20)>>2]);if((d|0)==-1|d>>>0>=(w[a+5|0]|w[a+4|0]<<8)>>>0){break c}c=1;a=(d<<1)+a|0;jf(b,w[a+6|0]<<8|w[a+7|0])}return c;case 1:if((w[a+1|0]|w[a|0]<<8)!=1){break a}c=w[a+3|0]|w[a+2|0]<<8;e=c?c+a|0:280448;c=v[b+100>>2];c=xb(e,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);if((c|0)==-1){break a}e=a;a=c>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((c<<1)+a|0)+6|0:280448;a=w[a|0]<<8|w[a+1|0];return io(a?e+a|0:280448,b);case 2:if((w[a+1|0]|w[a|0]<<8)!=1){break a}c=w[a+3|0]|w[a+2|0]<<8;e=c?c+a|0:280448;c=v[b+100>>2];c=xb(e,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);if((c|0)==-1){break a}e=a;a=c>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((c<<1)+a|0)+6|0:280448;a=w[a|0]<<8|w[a+1|0];a=a?e+a|0:280448;f=w[a+1|0]|w[a|0]<<8;f:{if(!f){break f}c=v[b+100>>2];e=v[(v[c+88>>2]+B(v[c+72>>2],20)|0)+4>>2];c=v[b+120>>2];c=(e&c)>>>cQ(c)|0;g:{if((c|0)!=255){break g}c=255;if(!w[b+143|0]){break g}c=(B(v[b+144>>2],48271)>>>0)%2147483647|0;v[b+144>>2]=c;c=((c>>>0)%(f>>>0)|0)+1|0}c=c-1|0;if(c>>>0>=f>>>0){break f}d=1;a=c>>>0<(w[a+1|0]|w[a|0]<<8)>>>0?(a+(c<<1)|0)+2|0:280448;jf(b,w[a|0]<<8|w[a+1|0])}return d;case 3:if((w[a+1|0]|w[a|0]<<8)!=1){break a}h:{c=w[a+3|0]|w[a+2|0]<<8;e=c?c+a|0:280448;c=v[b+100>>2];f=xb(e,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);if((f|0)==-1){break h}d=1;c=0;e=a;a=f>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((f<<1)+a|0)+6|0:280448;a=w[a|0]<<8|w[a+1|0];a=a?e+a|0:280448;f=w[a|0];e=w[a+1|0];g=e|f<<8;if(!g){d=0;break h}while(1){f=(f<<8|e)>>>0>c>>>0?(a+(c<<1)|0)+2|0:280448;f=w[f|0]<<8|w[f+1|0];if(ho(f?f+a|0:280448,b)){break h}c=c+1|0;d=g>>>0>c>>>0;if((c|0)==(g|0)){break h}e=w[a+1|0];f=w[a|0];continue}}return d;case 4:i:{j:{k:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break i;case 1:break j;case 0:break k;default:break a}}return On(b,a)}return Rj(a,b)}return Nn(b,a);case 5:return Mn(a,b);case 6:if((w[a+1|0]|w[a|0]<<8)==1){c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a=Pn(c?c+a|0:280448,b,w[a+3|0]|w[a+2|0]<<8)}else{a=0}return a;case 7:break b;default:break a}}if((w[a+1|0]|w[a|0]<<8)!=1){break a}d=co(a,b)}return d}function vl(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;h=Ca-32|0;Ca=h;a:{b:{if(!a){be();while(1){c:{a=v[164112];if(a){break c}a=_f();if(!a){continue}be();e=v[164112];v[164112]=e?e:a;if(!e){break c}ac(a);continue}break}v[a+68>>2]=v[a+68>>2]+1;if(!a){break a}break b}v[a+68>>2]=v[a+68>>2]+1}i=v[a+76>>2];if(!(w[b|0]?b:0)){b=Yb(515800);b=b?b:515816}d:{if(w[b|0]==47){if(!i){f=wg(0,b);break d}f=wg($a(b,i,Xa(i))?i:0,b);break d}if(w[b|0]==126){if(!v[163728]){break d}e=Yb(515686);if(!e){break d}if(!i){f=wg(e,b+1|0);break d}v[h+4>>2]=0;v[h>>2]=e;e=dc(i,h);f=wg(e,b+1|0);Pa(e);break d}e:{f:{g:{h:{d=Yb(516190);if(d){f=w[d|0];if(f){e=3;c=d;while(1){e=((f&255)==58)+e|0;f=w[c+1|0];c=c+1|0;if(f){continue}break}f=0;e=eb(e,4);if(!e){break d}while(1){k=(f<<2)+e|0;c=Tb(d,58);if(!c){c=Xa(d)+d|0}g=c-d|0;j=Va(g+1|0);v[k>>2]=j;if(!j){break f}l=ve(j,d,g)+g|0,m=0,t[l|0]=m;f=f+1|0;d=w[c|0]?c+1|0:c;if(w[d|0]){continue}break}c=(f<<2)+e|0;break g}e=eb(3,4);if(e){break h}f=0;break d}e=eb(2,4);if(e){break h}break d}c=e}d=Va(31);v[c>>2]=d;if(d){break e}}i:{c=v[e>>2];if(!c){break i}f=1;while(1){Pa(c);c=v[(f<<2)+e>>2];if(!c){break i}f=f+1|0;continue}}Pa(e);f=0;break d}f=0;c=w[516233]|w[516234]<<8|(w[516235]<<16|w[516236]<<24);g=w[516229]|w[516230]<<8|(w[516231]<<16|w[516232]<<24);t[d+23|0]=g;t[d+24|0]=g>>>8;t[d+25|0]=g>>>16;t[d+26|0]=g>>>24;t[d+27|0]=c;t[d+28|0]=c>>>8;t[d+29|0]=c>>>16;t[d+30|0]=c>>>24;c=w[516226]|w[516227]<<8|(w[516228]<<16|w[516229]<<24);g=w[516222]|w[516223]<<8|(w[516224]<<16|w[516225]<<24);t[d+16|0]=g;t[d+17|0]=g>>>8;t[d+18|0]=g>>>16;t[d+19|0]=g>>>24;t[d+20|0]=c;t[d+21|0]=c>>>8;t[d+22|0]=c>>>16;t[d+23|0]=c>>>24;c=w[516218]|w[516219]<<8|(w[516220]<<16|w[516221]<<24);g=w[516214]|w[516215]<<8|(w[516216]<<16|w[516217]<<24);t[d+8|0]=g;t[d+9|0]=g>>>8;t[d+10|0]=g>>>16;t[d+11|0]=g>>>24;t[d+12|0]=c;t[d+13|0]=c>>>8;t[d+14|0]=c>>>16;t[d+15|0]=c>>>24;c=w[516210]|w[516211]<<8|(w[516212]<<16|w[516213]<<24);g=w[516206]|w[516207]<<8|(w[516208]<<16|w[516209]<<24);t[d|0]=g;t[d+1|0]=g>>>8;t[d+2|0]=g>>>16;t[d+3|0]=g>>>24;t[d+4|0]=c;t[d+5|0]=c>>>8;t[d+6|0]=c>>>16;t[d+7|0]=c>>>24;c=v[e>>2];j:{if(!c){break j}k:{if(!i){d=e;while(1){f=wg(c,b);if(f){break k}d=d+4|0;c=v[d>>2];if(c){continue}break}f=0;break k}d=e;while(1){v[h+20>>2]=0;v[h+16>>2]=c;c=dc(i,h+16|0);f=wg(c,b);Pa(c);if(f){break k}d=d+4|0;c=v[d>>2];if(c){continue}break}f=0}c=v[e>>2];if(!c){break j}b=e;while(1){Pa(c);c=v[b+4>>2];b=b+4|0;if(c){continue}break}}Pa(e)}ac(a)}Ca=h+32|0;return f}function md(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;a:{b:{c:{if(!w[a+69|0]){if(b>>>0>=c>>>0){break c}h=v[a+88>>2];g=c-b|0;j=g&3;d=-1;e=b;m=(e^-1)+c|0;if(m>>>0>=3){f=g&-4;while(1){i=h+B(e,20)|0;n=v[i+68>>2];l=v[i+48>>2];k=v[i+28>>2];i=v[i+8>>2];d=d>>>0>i>>>0?i:d;d=d>>>0>k>>>0?k:d;d=d>>>0>l>>>0?l:d;d=d>>>0>n>>>0?n:d;e=e+4|0;f=f-4|0;if(f){continue}break}}if(j){while(1){f=v[(h+B(e,20)|0)+8>>2];d=d>>>0>f>>>0?f:d;e=e+1|0;j=j-1|0;if(j){continue}break}}if(g&1){e=h+B(b,20)|0;if(v[e+8>>2]!=(d|0)){v[a+32>>2]=v[a+32>>2]|16;v[e+4>>2]=v[e+4>>2]|1}b=b+1|0}if(!m){break c}while(1){e=h+B(b,20)|0;if(v[e+8>>2]!=(d|0)){v[a+32>>2]=v[a+32>>2]|16;v[e+4>>2]=v[e+4>>2]|1}e=h+B(b+1|0,20)|0;if(v[e+8>>2]!=(d|0)){v[a+32>>2]=v[a+32>>2]|16;v[e+4>>2]=v[e+4>>2]|1}b=b+2|0;if((c|0)!=(b|0)){continue}break}break c}j=v[a+80>>2];if(j>>>0<b>>>0){break b}h=v[a+72>>2];if(h>>>0>c>>>0){break a}i=v[a+92>>2];d=-1;n=b>>>0>=j>>>0;d:{if(n){break d}g=j-b|0;f=g&3;e=b;if(j+(e^-1)>>>0>=3){m=g&-4;while(1){g=i+B(e,20)|0;l=v[g+68>>2];k=v[g+48>>2];o=v[g+28>>2];g=v[g+8>>2];d=d>>>0>g>>>0?g:d;d=d>>>0>o>>>0?o:d;d=d>>>0>k>>>0?k:d;d=d>>>0>l>>>0?l:d;e=e+4|0;m=m-4|0;if(m){continue}break}}if(!f){break d}while(1){g=v[(i+B(e,20)|0)+8>>2];d=d>>>0>g>>>0?g:d;e=e+1|0;f=f-1|0;if(f){continue}break}}g=v[a+88>>2];m=c>>>0<=h>>>0;e:{if(m){break e}l=(h^-1)+c|0;f=c-h&3;f:{if(!f){e=h;break f}e=h;while(1){k=v[(g+B(e,20)|0)+8>>2];d=d>>>0>k>>>0?k:d;e=e+1|0;f=f-1|0;if(f){continue}break}}if(l>>>0<3){break e}while(1){f=g+B(e,20)|0;l=v[f+68>>2];k=v[f+48>>2];o=v[f+28>>2];f=v[f+8>>2];d=d>>>0>f>>>0?f:d;d=d>>>0>o>>>0?o:d;d=d>>>0>k>>>0?k:d;d=d>>>0>l>>>0?l:d;e=e+4|0;if((e|0)!=(c|0)){continue}break}}g:{if(n){break g}f=b+1|0;if(j-b&1){e=i+B(b,20)|0;if(v[e+8>>2]!=(d|0)){v[a+32>>2]=v[a+32>>2]|16;v[e+4>>2]=v[e+4>>2]|1}b=b+1|0}if((f|0)==(j|0)){break g}while(1){e=i+B(b,20)|0;if(v[e+8>>2]!=(d|0)){v[a+32>>2]=v[a+32>>2]|16;v[e+4>>2]=v[e+4>>2]|1}e=i+B(b+1|0,20)|0;if(v[e+8>>2]!=(d|0)){v[a+32>>2]=v[a+32>>2]|16;v[e+4>>2]=v[e+4>>2]|1}b=b+2|0;if((j|0)!=(b|0)){continue}break}}if(m){break c}e=h^-1;if(c-h&1){b=g+B(h,20)|0;if(v[b+8>>2]!=(d|0)){v[a+32>>2]=v[a+32>>2]|16;v[b+4>>2]=v[b+4>>2]|1}h=h+1|0}if((e|0)==(0-c|0)){break c}while(1){b=g+B(h,20)|0;if(v[b+8>>2]!=(d|0)){v[a+32>>2]=v[a+32>>2]|16;v[b+4>>2]=v[b+4>>2]|1}b=g+B(h+1|0,20)|0;if(v[b+8>>2]!=(d|0)){v[a+32>>2]=v[a+32>>2]|16;v[b+4>>2]=v[b+4>>2]|1}h=h+2|0;if((h|0)!=(c|0)){continue}break}}return}O(281926,281818,572,281943);L()}O(281974,281818,573,281943);L()}function Uv(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,x=0,y=0,z=0;n=Ca-16|0;Ca=n;f=gg(a,d);a:{if(f){break a}Kh(a,b,c,d);o=v[a>>2];f=v[a+2748>>2];g=v[v[f>>2]+8>>2];b=B(d,1348)+a|0;j=b;v[b+56>>2]=0;c=0;c=(d|0)==1?w[v[(g<<2)+293504>>2]+12|0]:c;p=b+44|0;e=v[p>>2];b=v[b+52>>2];g=v[(d?12:4)+a>>2];if(!d){h=ab(64,v[a+12>>2])}q=ab(32,g);i=(B(d,1348)+a|0)- -64|0;a=Qa(v[((f+44|0)+B(d,9804)|0)+204>>2],g);k=ab((a|0)<16?a:16,g);if((e|0)>=1){l=B(e,44)+b|0;r=B(h,3);y=c&255;d=b;while(1){a=u[d+10>>1];b:{if((a|0)<(h|0)|(q|0)<u[d+4>>1]){break b}f=w[d+1|0];if((f|0)==4|(a<<1<(r|0)?v[d+24>>2]:0)){break b}c:{s=v[j+56>>2];d:{if((s|0)<=0){c=u[d+2>>1];break d}c=u[d+2>>1];z=v[i>>2];a=0;while(1){e=B(a,44)+z|0;x=c-u[e>>1]|0;m=x>>31;if((f|0)==w[e+13|0]?(k|0)>(m^m+x):0){break c}a=a+1|0;if((s|0)!=(a|0)){continue}break}}f=Rv(p,c,f<<24>>24,y,o,n+12|0);if(f){break a}a=v[n+12>>2];v[a+40>>2]=d;v[a+36>>2]=d;v[a>>2]=0;v[a+4>>2]=0;v[a+32>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;t[a+13|0]=w[d+1|0];c=u[d+2>>1];u[a>>1]=c;c=Qa(c,g);v[a+8>>2]=c;v[a+4>>2]=c;v[d+16>>2]=d;break b}v[d+16>>2]=v[e+36>>2];v[v[e+40>>2]+16>>2]=d;v[e+40>>2]=d}d=d+44|0;if(l>>>0>d>>>0){continue}break}while(1){e:{if(w[b+1|0]!=4){break e}g=v[j+56>>2];if((g|0)<1){break e}e=u[b+2>>1];f=v[i>>2];d=0;while(1){a=f+B(d,44)|0;h=e-u[a>>1]|0;c=h>>31;if((k|0)<=(c^c+h)){d=d+1|0;if((g|0)!=(d|0)){continue}break e}break}v[b+16>>2]=v[a+36>>2];v[v[a+40>>2]+16>>2]=b;v[a+40>>2]=b}b=b+44|0;if(l>>>0>b>>>0){continue}break}}f=0;e=v[i>>2];if(!e){break a}a=v[j+56>>2];if((a|0)<1){break a}l=B(a,44)+e|0;a=e;while(1){b=v[a+36>>2];d=b;if(d){while(1){v[d+12>>2]=a;d=v[d+16>>2];if((b|0)!=(d|0)){continue}break}}a=a+44|0;if(l>>>0>a>>>0){continue}break}while(1){j=e+28|0;g=e+24|0;m=v[e+36>>2];d=m;b=0;f=0;while(1){o=t[d|0]&1;p=!o;f:{g:{h:{i:{i=v[d+24>>2];if(i){a=v[i+12>>2];h=(a|0)!=0&(a|0)!=(e|0);a=v[d+20>>2];if(!a){break i}if(!(h|v[a+12>>2]!=0)){break f}k=0;c=g;if(h){break h}break g}a=v[d+20>>2];if(!a){break f}k=0;c=g;if(v[a+12>>2]){break g}break f}if(!h){break f}}k=1;a=i;c=j}c=v[c>>2];j:{if(c){q=u[d+2>>1]-u[a+2>>1]|0;i=q>>31;r=u[e>>1]-u[c>>1]|0;h=r>>31;if((i^i+q)>>>0>=(h^h+r)>>>0){break j}}c=v[a+12>>2]}if(k){v[j>>2]=c;t[c+12|0]=w[c+12|0]|2;break f}v[g>>2]=c}b=b+o|0;f=f+p|0;d=v[d+16>>2];if((m|0)!=(d|0)){continue}break}t[e+12|0]=(b|0)!=0&b>>>0>=f>>>0;if(!(!v[e+28>>2]|!v[g>>2])){v[j>>2]=0}e=e+44|0;if(l>>>0>e>>>0){continue}break}f=0}Ca=n+16|0;return f}function Wv(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;c=B(b,1348)+a|0;g=v[c- -64>>2];j=v[c+56>>2];k=g+B(j,44)|0;a:{if((j|0)<=0){break a}c=g;while(1){h=w[c+12|0];b:{if(h&4){break b}d=v[c+24>>2];e=v[c+20>>2];c:{if(e){f=c;break c}if(!d){break b}e=v[d+20>>2];if(!e){break b}h=w[d+12|0];f=d;d=c}e=v[e+8>>2];t[f+12|0]=h|4;v[f+8>>2]=e;if(!(v[d+20>>2]|!d)){o=d,p=xj(a,b,v[d+4>>2]-v[f+4>>2]|0)+e|0,v[o+8>>2]=p;t[d+12|0]=w[d+12|0]|4}i=i?i:c}c=c+44|0;if(k>>>0>c>>>0){continue}break}if((j|0)<=0){h=0;break a}c=g;f=0;e=0;h=0;while(1){m=w[c+12|0];d:{if(m&4){break d}d=v[c+24>>2];if(!d){h=h+1|0;break d}e:{if(!(e&255)){break e}l=f- -64|0;if((l|0)<=v[d+8>>2]?(l|0)<=v[c+8>>2]:0){break e}h=h+1|0;break d}if(v[d+20>>2]){l=v[d+8>>2];d=xj(a,b,v[c+4>>2]-v[d+4>>2]|0);t[c+12|0]=m|4;v[c+8>>2]=d+l;break d}if(c>>>0>d>>>0){e=v[d+8>>2];d=xj(a,b,v[c+4>>2]-v[d+4>>2]|0);t[c+12|0]=m|4;f=d+e|0;v[c+8>>2]=f;e=1;break d}f:{if(!(i|(b|0)==1)){n=Qv(a,c,d,0,0);break f}Qv(a,c,d,n,b)}t[c+12|0]=w[c+12|0]|4;t[d+12|0]=w[d+12|0]|4;f=v[d+8>>2];e=1;i=c}c=c+44|0;if(k>>>0>c>>>0){continue}break}}g:{if(b){break g}f=4;d=2;c=g;h:{switch(j-6|0){case 6:c=g+44|0;f=9;d=5;break;case 0:break h;default:break g}}if(v[c+24>>2]!=(c+44|0)){break g}b=B(d,44)+g|0;if(v[b+24>>2]!=(b+44|0)){break g}a=v[(B(f,44)+g|0)+24>>2];e=B(f,44)+g|0;if((a|0)!=(e+44|0)){break g}e=(v[b+4>>2]<<1)-(v[c+4>>2]+v[e+4>>2]|0)|0;b=e>>31;if((b^b+e)>>>0>7){break g}b=B(f,44)+g|0;e=v[b+8>>2];i=b;b=(v[(B(d,44)+g|0)+8>>2]<<1)-v[c+8>>2]|0;v[i+8>>2]=b;b=e-b|0;if(a){v[a+8>>2]=v[a+8>>2]-b}if((j|0)==12){v[g+360>>2]=v[g+360>>2]-b;v[g+492>>2]=v[g+492>>2]-b}b=B(f,44)+g|0;t[b+12|0]=w[b+12|0]|4;if(!a){break g}t[a+12|0]=w[a+12|0]|4}i:{if(!h|(j|0)<1){break i}c=g;while(1){b=w[c+12|0];j:{if(b&4){break j}a=v[c+28>>2];if(!a){break j}d=v[a+8>>2];a=v[a+4>>2];t[c+12|0]=b|4;v[c+8>>2]=v[c+4>>2]+(d-a|0);h=h-1|0}c=c+44|0;if(k>>>0>c>>>0){continue}break}if(!h|(j|0)<1){break i}e=g;while(1){c=e;k:{if(w[c+12|0]&4){break k}while(1){a=c;c=c-44|0;f=g>>>0>c>>>0;if(!(w[a-32|0]&4?1:f)){continue}break}d=e;i=d;l:{m:{n:{while(1){b=d;d=d+44|0;if(k>>>0<=d>>>0){break n}if(!(w[b+56|0]&4)){continue}break}if(c>>>0>=g>>>0){break m}f=v[e+4>>2]+(v[b+52>>2]-v[b+48>>2]|0)|0;break l}if(f){break k}f=v[e+4>>2]+(v[a-36>>2]-v[a-40>>2]|0)|0;break l}d=x[d>>1];c=x[c>>1];f=v[a-36>>2];if((d|0)==(c|0)){break l}c=c<<16>>16;a=v[a-36>>2];f=fb(u[e>>1]-c|0,v[b+52>>2]-a|0,(d<<16>>16)-c|0)+a|0}v[i+8>>2]=f}e=e+44|0;if(k>>>0>e>>>0){continue}break}}}function Li(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;c=v[a+40>>2]-(a+32|0)|0;e=c+v[a+48>>2]|0;f=e<<24;a:{switch((c<<24>>24)-1|0){case 6:f=f|w[a+38|0]<<16;case 5:f=f|w[a+37|0]<<8;case 4:f=f|w[a+36|0];case 3:c=w[a+35|0];b=c>>>8|0;o=o|c<<24;f=b|f;case 2:c=w[a+34|0];b=c>>>16|0;o=o|c<<16;f=b|f;case 1:c=w[a+33|0];b=c>>>24|0;o=o|c<<8;f=b|f;case 0:o=w[a+32|0]|o;break;default:break a}}c=v[a+12>>2];b=c+v[a+4>>2]|0;d=v[a+8>>2];e=v[a>>2];g=d+e|0;j=g;m=g^kQ(d,c,13);g=e>>>0>g>>>0?b+1|0:b;c=g^Da;h=o^v[a+24>>2];e=v[a+16>>2];d=h+e|0;i=f^v[a+28>>2];b=i+v[a+20>>2]|0;b=d>>>0<e>>>0?b+1|0:b;l=d;k=d+m|0;e=b;b=b+c|0;b=d>>>0>k>>>0?b+1|0:b;n=kQ(m,c,17)^k;d=b;c=b^Da;m=kQ(h,i,16)^l;h=Da^e;e=kQ(j,g,32);g=e+m|0;b=Da+h|0;b=e>>>0>g>>>0?b+1|0:b;l=g;i=g+n|0;e=b;b=b+c|0;b=g>>>0>i>>>0?b+1|0:b;j=kQ(n,c,13)^i;g=b;c=b^Da;m=kQ(m,h,21)^l;h=Da^e;e=kQ(k,d,32);d=e+m|0;b=Da+h|0;b=d>>>0<e>>>0?b+1|0:b;k=d;e=d;l=d+j|0;d=b;b=b+c|0;b=e>>>0>l>>>0?b+1|0:b;j=kQ(j,c,17)^l;e=b;c=b^Da;n=c;m=kQ(m,h,16)^k;h=Da^d;d=kQ(i,g,32);g=d+m|0;b=Da+h|0;b=d>>>0>g>>>0?b+1|0:b;d=g^o;k=d+j|0;c=b;b=n+(b^f)|0;b=d>>>0>k>>>0?b+1|0:b;j=kQ(j,n,13)^k;d=b;f=b^Da;h=kQ(m,h,21)^g;i=Da^c;c=kQ(l,e,32)^255;e=c+h|0;b=Da+i|0;b=c>>>0>e>>>0?b+1|0:b;g=e;l=e+j|0;c=b;b=b+f|0;b=e>>>0>l>>>0?b+1|0:b;j=kQ(j,f,17)^l;e=b;f=b^Da;h=kQ(h,i,16)^g;i=Da^c;c=kQ(k,d,32);d=c+h|0;b=Da+i|0;b=d>>>0<c>>>0?b+1|0:b;g=d;k=d+j|0;c=b;b=b+f|0;b=d>>>0>k>>>0?b+1|0:b;j=kQ(j,f,13)^k;d=b;f=b^Da;h=kQ(h,i,21)^g;i=Da^c;c=kQ(l,e,32);e=c+h|0;b=Da+i|0;b=c>>>0>e>>>0?b+1|0:b;g=e;l=e+j|0;c=b;b=b+f|0;b=e>>>0>l>>>0?b+1|0:b;j=kQ(j,f,17)^l;e=b;f=b^Da;h=kQ(h,i,16)^g;i=Da^c;c=kQ(k,d,32);d=c+h|0;b=Da+i|0;b=d>>>0<c>>>0?b+1|0:b;g=d;k=d+j|0;c=b;b=b+f|0;b=d>>>0>k>>>0?b+1|0:b;j=kQ(j,f,13)^k;d=b;f=b^Da;h=kQ(h,i,21)^g;i=Da^c;c=kQ(l,e,32);e=c+h|0;b=Da+i|0;b=c>>>0>e>>>0?b+1|0:b;g=e;c=e;l=c+j|0;e=b;b=b+f|0;b=c>>>0>l>>>0?b+1|0:b;m=kQ(j,f,17)^l;c=b;f=b^Da;n=f;j=kQ(h,i,16)^g;i=Da^e;e=kQ(k,d,32);d=e+j|0;b=Da+i|0;b=d>>>0<e>>>0?b+1|0:b;g=d+m|0;f=b;b=n+b|0;h=g;b=d>>>0>g>>>0?b+1|0:b;e=b;b=kQ(g,b,32);g=Da;k=kQ(j,i,21)^d;d=Da^f;j=b;f=kQ(l,c,32);c=f+k|0;b=Da+d|0;b=c>>>0<f>>>0?b+1|0:b;f=c;k=kQ(k,d,16)^c;d=k;i=j+d|0;c=b;l=b^Da;b=l+g|0;j=i;b=d>>>0>i>>>0?b+1|0:b;g=b;v[a>>2]=i;v[a+4>>2]=b;d=a;n=kQ(m,n,13)^h;h=f+n|0;e=Da^e;b=c+e|0;b=f>>>0>h>>>0?b+1|0:b;i=kQ(n,e,17)^h;f=Da^b;e=f;v[d+8>>2]=i;v[d+12>>2]=f;n=kQ(k,l,21)^j;f=Da^g;c=f;v[d+24>>2]=n;v[d+28>>2]=c;d=kQ(h,b,32);f=Da;b=f;v[a+16>>2]=d;v[a+20>>2]=b;Da=c^(b^(e^g));return n^(d^(i^j))}function Ax(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;b=v[a>>2];if(!b){m=a-24|0;b=0;while(1){e=v[m>>2];if(!e){return 280448}d=eb(1,32);a:{if(!d){if(b){break a}v[a>>2]=280448;return 280448}k=Ca-48|0;Ca=k;v[d+12>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;c=k;v[c+16>>2]=0;v[c+20>>2]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;b=Nb(e);t[c+44|0]=1;v[c+40>>2]=b;i=d;f=0;b=c+8|0;c=Jb(e,1886352244);e=Hb(c);v[b+28>>2]=e;b:{c:{d:{e:{f:{g:{while(1){t[b+20|0]=f;h=v[e+12>>2];v[b+4>>2]=h;g=v[e+16>>2];v[b+8>>2]=g+h;if((g|0)<=-1){break c}v[b+24>>2]=0;j=b;if(g>>>0>67108862){f=1073741823}else{g=g<<6;g=g>>>0>16384?g:16384;f=g>>>0<1073741823?g:1073741823}v[j+12>>2]=f;v[b>>2]=0;if(!h){Sa(e);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;break b}e=jx(h,b);f=v[b+24>>2];h:{if(e){if(!f){break h}v[b+24>>2]=0;f=jx(h,b);e=v[b+24>>2];Sa(v[b+28>>2]);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(e){break d}if(f){break g}break d}if(w[b+20|0]|!f){break f}h=xc(c);v[b+4>>2]=h;v[b+8>>2]=h+v[c+16>>2];e=v[b+28>>2];f=1;if(h){continue}break e}break}Sa(v[b+28>>2]);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0}if(v[c+4>>2]){v[c+4>>2]=0}break b}e=v[b+28>>2]}Sa(e);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0}Sa(c);c=280448;break b}O(248800,248825,194,248842);L()}v[i>>2]=c;c=c?c:280448;i=v[c+16>>2];c=i>>>0<32?280448:v[c+12>>2];b=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);v[d+4>>2]=b;i:{if((b|0)!=131072){break i}b=c+32|0;v[d+8>>2]=b;e=(b+(w[c+33|0]<<1|w[c+32|0]<<9)|0)+2|0;v[d+24>>2]=e;f=v[d+16>>2];if(f>>>0>65534){break i}g=c+i|0;if(g>>>0<=e>>>0){break i}l=v[70112];while(1){if(w[e|0]+e>>>0>=g>>>0){break i}j:{k:{l:{i=v[d+12>>2];if((i|0)>=0){h=f+1|0;n=v[d+24>>2];c=f;b=i;j=c;if(c>>>0<b>>>0){break k}while(1){b=((b>>>1|0)+b|0)+8|0;if(h>>>0>=b>>>0){continue}break}if(!(b>>>0<i>>>0|b>>>0>1073741822)){c=gb(v[d+20>>2],b<<2);if(c){break l}}v[d+12>>2]=-1}v[163916]=l;break j}v[d+12>>2]=b;v[d+20>>2]=c;j=v[d+16>>2]}c=j;if(c>>>0<=f>>>0){Ra(v[d+20>>2]+(c<<2)|0,0,h-c<<2)}v[d+16>>2]=h;c=v[d+20>>2];v[163916]=l;c=c+(f<<2)|0;if((c|0)==655664){break j}v[c>>2]=e-n}f=v[d+16>>2];if(f>>>0>65534){break i}e=(w[e|0]+e|0)+1|0;if(g>>>0>e>>>0){continue}break}}Ca=k+48|0;if(!v[a>>2]){v[a>>2]=d;return d}Pa(v[d+20>>2]);v[d+20>>2]=0;v[d+12>>2]=0;v[d+16>>2]=0;Pa(v[d+28>>2]);c=v[d>>2];Sa(c?c:280448);Pa(d);b=v[a>>2]}if(!b){continue}break}}return b}function St(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=35;a:{if(!(w[a+8|0]&8)){break a}b:{c:{d:{e=v[c+20>>2];if(!e){v[c+8>>2]=0;break d}d=85;if(Ea[e|0](c,0,0,0)|0){break a}v[c+8>>2]=0;if(!v[c+20>>2]){break d}e:{f:{f=v[c+28>>2];d=Ea[v[f+4>>2]](f,4)|0;if(d){v[c>>2]=d;g=Ea[v[c+20>>2]](c,v[c+8>>2],d,4)|0;e=v[c>>2];if(g>>>0<4){break f}d=0;f=1;break e}d=64;break b}d=85;if(e){Ea[v[f+8>>2]](f,e);v[c>>2]=0}e=0;f=0}v[c+32>>2]=e;v[c+36>>2]=e+4;v[c+8>>2]=g+v[c+8>>2];if(!f){break a}f=v[c+20>>2];break c}d=85;if(y[c+4>>2]<4){break a}v[c+8>>2]=4;e=v[c>>2];v[c+36>>2]=e+4;f=0}v[c+32>>2]=e+4;d=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(f){f=v[c+28>>2];Ea[v[f+8>>2]](f,e);v[c>>2]=0}v[c+32>>2]=0;v[c+36>>2]=0;e=0;if((d|0)==1953784678){e=v[a+4>>2];a=(e<<2)+12|0;f=v[c+20>>2];g:{if(!f){d=85;if((e|0)<-3){break a}if(a>>>0<=y[c+4>>2]){break g}break a}d=85;if(Ea[f|0](c,a,0,0)|0){break a}}v[c+8>>2]=a;d=Fg(c,4);if(d){break a}a=v[c+32>>2];v[c+32>>2]=a+4;a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);d=a>>>8&65280|a>>>24;a=a<<8&16711680|a<<24;h:{if(!v[c+20>>2]){break h}e=v[c>>2];if(!e){break h}f=v[c+28>>2];Ea[v[f+8>>2]](f,e);v[c>>2]=0}v[c+32>>2]=0;v[c+36>>2]=0;e=a|d}a=e+4|0;f=v[c+20>>2];i:{if(!f){d=85;if((a|0)<0){break a}if(a>>>0<=y[c+4>>2]){break i}break a}d=85;if(Ea[f|0](c,a,0,0)|0){break a}}v[c+8>>2]=a;d=Fg(c,2);if(d){break a}a=v[c+32>>2];v[c+32>>2]=a+2;g=w[a|0];h=w[a+1|0];j:{k:{f=v[c+20>>2];l:{if(!f){v[c+32>>2]=0;v[c+36>>2]=0;a=e+12|0;break l}a=v[c>>2];if(!a){v[c+32>>2]=0;v[c+36>>2]=0;a=e+12|0;break k}d=v[c+28>>2];Ea[v[d+8>>2]](d,a);v[c>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;a=e+12|0;f=v[c+20>>2];if(f){break k}}d=85;if((a|0)<0|y[c+4>>2]<a>>>0){break a}break j}d=85;if(Ea[f|0](c,a,0,0)|0){break a}}v[c+8>>2]=a;g=h|g<<8;d=Fg(c,g<<4);if(d){break a}d=142;m:{n:{if(!g){break n}a=v[c+32>>2];f=1;while(1){o:{v[c+32>>2]=a+4;e=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);v[c+32>>2]=a+12;h=w[a+11|0];i=w[a+10|0];j=w[a+9|0];k=w[a+8|0];a=a+16|0;v[c+32>>2]=a;if((e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))==(b|0)){break o}if((f|0)==(g|0)){break n}f=f+1|0;continue}break}a=h|(j<<16|k<<24|i<<8);b=v[c+20>>2];p:{if(!b){if((a|0)<0){d=85;break m}d=85;if(a>>>0<=y[c+4>>2]){break p}break n}d=85;if(Ea[b|0](c,a,0,0)|0){break n}}v[c+8>>2]=a;d=0}if(!v[c+20>>2]){break m}a=v[c>>2];if(!a){break m}b=v[c+28>>2];Ea[v[b+8>>2]](b,a);v[c>>2]=0}v[c+32>>2]=0;c=c+36|0}v[c>>2]=0}return d}function Hp(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;f=v[b+4>>2];a:{if(f>>>0>a>>>0){break a}i=v[b+8>>2];if(i>>>0<a>>>0|i-a>>>0<16){break a}e=v[b+12>>2];d=e-16|0;v[b+12>>2]=d;if((d|0)<1){break a}d=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0<4){break a}d=f;f=a+4|0;if(d>>>0>f>>>0|f>>>0>i>>>0|i-f>>>0<4){break a}d=e-20|0;v[b+12>>2]=d;if((d|0)<1){break a}d=t[f|0];if((d|0)<0){break a}if(!qe((w[a+7|0]|(w[a+5|0]<<16|(d&255)<<24|w[a+6|0]<<8))+a|0,b)){return 0}d=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);j=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(j>>>0>2147483646){break a}d=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);n=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+a|0;d=a;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);i=d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;o=j<<1;a=0;f=0;d=0;while(1){b:{if(!(a&1)){e=d;break b}c:{if(!j){e=0-k|0;a=0;break c}if(4294967295/(j>>>0)>>>0<=k>>>0){break a}e=0-k|0;if(e>>>0>=4294967295/(o>>>0)>>>0){break a}a=B(k,j)}h=(a<<1)+i|0;g=B(e,o);d:{if(!g){e=v[b+12>>2];break d}if(h>>>0<y[b+4>>2]){break a}e=v[b+8>>2];if(e>>>0<h>>>0|g>>>0>e-h>>>0){break a}e=v[b+12>>2]-g|0;v[b+12>>2]=e;if((e|0)<1){break a}}e=(k-f|0)+e|0;v[b+12>>2]=e;if((e|0)<1|(a|0)>0){break a}e=d;f=k;a=i;if(h>>>0>=a>>>0){break b}while(1){a=a-2|0;f=w[a|0]<<8|w[a+1|0];e=e>>>0>f>>>0?e:f+1|0;if(a>>>0>h>>>0){continue}break}f=k}if((l|0)<=(m|0)){g=m+1|0;if(!(!j|g>>>0<4294967295/(o>>>0)>>>0)){return 0}h=B(g,o);e:{if(!h){a=v[b+12>>2];break e}if(y[b+4>>2]>i>>>0){break a}a=v[b+8>>2];if(a>>>0<i>>>0|h>>>0>a-i>>>0){break a}a=v[b+12>>2]-h|0;v[b+12>>2]=a;if((a|0)<1){break a}}a=((m^-1)+l|0)+a|0;v[b+12>>2]=a;if((a|0)<1|(g>>>0>=4294967295/(j>>>0)>>>0?j:0)){break a}h=B(g,j);if((h|0)<0){break a}a=B(j,l);if((a|0)<(h|0)){p=(h<<1)+i|0;a=(a<<1)+i|0;while(1){l=w[a+1|0]|w[a|0]<<8;e=e>>>0>l>>>0?e:l+1|0;a=a+2|0;if(p>>>0>a>>>0){continue}break}}l=g}p=0;if(e>>>0>536870910){break a}g=e<<3;f:{if(!e){a=v[b+12>>2];break f}if(y[b+4>>2]>n>>>0){break a}a=v[b+8>>2];if(a>>>0<n>>>0|g>>>0>a-n>>>0){break a}a=v[b+12>>2]-g|0;v[b+12>>2]=a;if((a|0)<1){break a}}a=(d-e|0)+a|0;v[b+12>>2]=a;if((a|0)<1){break a}if((d|0)<(e|0)){g=g+n|0;a=(d<<3)+n|0;while(1){d=w[a+1|0]|w[a|0]<<8;m=(d|0)>(m|0)?d:m;k=(d|0)<(k|0)?d:k;a=a+8|0;if(g>>>0>a>>>0){continue}break}}d=e;a=(f|0)>(k|0);if(a|(l|0)<=(m|0)){continue}break}p=1;if(!c){break a}v[c>>2]=d}return p}function fE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Ca-16|0;Ca=j;l=v[a+492>>2];g=v[b+8>>2];Ea[v[b+28>>2]](b);d=v[b>>2];a:{if(g>>>0<=d>>>0){v[b+12>>2]=3;break a}b:{k=w[d|0];if(!((k|0)!=91?k-48>>>0>=10:0)){f=v[b+16>>2];c:{if((k|0)==91){v[b>>2]=d+1;m=256;c=256;break c}m=Ea[v[b+36>>2]](b)|0;c=(m|0)<256?m:256}Ea[v[b+28>>2]](b);if(y[b>>2]>=g>>>0){break a}h=c;i=b+100|0;e=v[a+384>>2];d:{if(!e){break d}c=f;if(e){Ea[v[c+8>>2]](c,e)}v[a+384>>2]=0;c=v[a+388>>2];if(c){Ea[v[f+8>>2]](f,c)}v[a+388>>2]=0;c=v[b+148>>2];if(!c){break d}Ea[c|0](i)}v[a+372>>2]=h;v[b+96>>2]=h;o=a,p=Ua(f,2,0,h,0,j+12|0),v[o+384>>2]=p;e=v[j+12>>2];if(e){break b}o=a,p=Ua(f,4,0,h,0,j+12|0),v[o+388>>2]=p;e=v[j+12>>2];if(e){break b}e=Ea[v[v[l>>2]>>2]](i,h,f)|0;v[j+12>>2]=e;if(e){break b}e:{if((h|0)<1){break e}f=h&3;c=0;if(h-1>>>0>=3){e=h&-4;while(1){Ea[v[b+144>>2]](i,c,7396,8)|0;Ea[v[b+144>>2]](i,c|1,7396,8)|0;Ea[v[b+144>>2]](i,c|2,7396,8)|0;Ea[v[b+144>>2]](i,c|3,7396,8)|0;c=c+4|0;e=e-4|0;if(e){continue}break}}if(!f){break e}while(1){Ea[v[b+144>>2]](i,c,7396,8)|0;c=c+1|0;f=f-1|0;if(f){continue}break}}Ea[v[b+28>>2]](b);c=v[b>>2];f:{if(g>>>0<=c>>>0){break f}e=0;n=(k|0)==91;while(1){g:{h:{f=w[c|0];if((f|0)!=100){break h}d=c+3|0;if(g>>>0<=d>>>0){break h}if(w[c+1|0]!=101|w[c+2|0]!=102){break g}switch(w[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break f;default:break g}}if((f|0)!=93){break g}d=c+1|0;break f}i:{j:{k:{if(!((k|0)!=91?f-48>>>0>=10:0)){l:{if(n){d=c;f=e;break l}f=Ea[v[b+36>>2]](b)|0;Ea[v[b+28>>2]](b);d=v[b>>2];if((d|0)==(c|0)){break j}}if(w[d|0]!=47|d+2>>>0>=g>>>0|(e|0)>=(m|0)){break k}d=d+1|0;v[b>>2]=d;Ea[v[b+32>>2]](b);c=v[b>>2];if(v[b+12>>2]|c>>>0>=g>>>0){break a}if((e|0)<(h|0)){l=c-d|0;c=Ea[v[b+144>>2]](i,f,d,l+1|0)|0;v[b+12>>2]=c;if(c){break a}t[l+v[v[b+124>>2]+(f<<2)>>2]|0]=0}e=e+1|0;break i}Ea[v[b+32>>2]](b);d=c;if(v[b+12>>2]){break a}break i}if(!n){break i}}v[b+12>>2]=2;break a}Ea[v[b+28>>2]](b);c=v[b>>2];if(g>>>0>c>>>0){continue}break}}v[a+368>>2]=1;v[b>>2]=d;break a}m:{if(d+17>>>0>=g>>>0){break m}if($a(d,9650,16)){break m}v[a+368>>2]=2;break a}n:{if(d+15>>>0>=g>>>0){break n}if($a(d,9667,14)){break n}v[a+368>>2]=4;break a}o:{if(d+18>>>0>=g>>>0){break o}if($a(d,9682,17)){break o}v[a+368>>2]=3;break a}v[b+12>>2]=162;break a}v[b+12>>2]=e}Ca=j+16|0}function Ep(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,x=0,y=0;m=v[b+4>>2];a:{if(m>>>0>a>>>0){break a}k=v[b+8>>2];if(k>>>0<a>>>0|k-a>>>0<8){break a}h=v[b+12>>2];d=h-8|0;v[b+12>>2]=d;if((d|0)<1|(w[a+1|0]|w[a|0]<<8)>>>0<4){break a}d=a+2|0;if(d>>>0<m>>>0|d>>>0>k>>>0|k-d>>>0<2){break a}d=h-10|0;v[b+12>>2]=d;if((d|0)<1){break a}d=(w[a+3|0]|w[a+2|0]<<8)+a|0;if(d>>>0<m>>>0|d>>>0>k>>>0|k-d>>>0<4){break a}j=h-14|0;v[b+12>>2]=j;if((j|0)<1){break a}j=d+2|0;if(j>>>0<m>>>0|k>>>0<j>>>0|k-j>>>0<2){break a}f=h-16|0;v[b+12>>2]=f;if((f|0)<1){break a}h=w[d+3|0]|w[d+2|0]<<8;if(h){d=d+4|0;if(d>>>0<m>>>0|d>>>0>k>>>0|h>>>0>k-d>>>0){break a}f=f-h|0;v[b+12>>2]=f;if((f|0)<1){break a}}r=(w[a+7|0]|w[a+6|0]<<8)+a|0;t=r>>>0<m>>>0|k>>>0<r>>>0;n=(w[a+5|0]|w[a+4|0]<<8)+a|0;u=n>>>0<m>>>0|k>>>0<n>>>0;x=k-r|0;y=k-n|0;l=w[a+1|0]|w[a|0]<<8;j=0;h=0;while(1){b:{if(!(e&1)){d=h;break b}c:{if(!l){i=0-j|0;g=0;break c}e=0;d=4294967295/(l>>>0)|0;if(d>>>0<=j>>>0){break a}i=0-j|0;if(d>>>0<=i>>>0){break a}g=B(j,l)}o=g+n|0;d=B(i,l);if(d){e=0;if(k>>>0<o>>>0|m>>>0>o>>>0|d>>>0>k-o>>>0){break a}f=f-d|0;v[b+12>>2]=f;if((f|0)<1){break a}}f=(j-s|0)+f|0;v[b+12>>2]=f;e=0;if((f|0)<1|(g|0)>0){break a}d:{if(n>>>0<=o>>>0){d=h;break d}e=n;d=h;i=0-g&3;if(i){while(1){e=e-1|0;s=w[e|0];d=d>>>0>s>>>0?d:s+1|0;i=i-1|0;if(i){continue}break}}if(g>>>0>4294967292){break d}while(1){g=w[e-1|0];d=d>>>0>g>>>0?d:g+1|0;g=w[e-2|0];d=d>>>0>g>>>0?d:g+1|0;g=w[e-3|0];d=d>>>0>g>>>0?d:g+1|0;e=e-4|0;g=w[e|0];d=d>>>0>g>>>0?d:g+1|0;if(e>>>0>o>>>0){continue}break}}s=j}if((p|0)<=(q|0)){g=q+1|0;if(!(!l|g>>>0<4294967295/(l>>>0)>>>0)){return 0}i=B(g,l);if(i){e=0;if(i>>>0>y>>>0|u){break a}f=f-i|0;v[b+12>>2]=f;if((f|0)<1){break a}}f=((q^-1)+p|0)+f|0;v[b+12>>2]=f;e=0;if((f|0)<1|((i|0)<0|g>>>0>=4294967295/(l>>>0)>>>0?l:0)){break a}e=B(l,p);if((e|0)<(i|0)){p=i+n|0;e=e+n|0;while(1){i=w[e|0];d=d>>>0>i>>>0?d:i+1|0;e=e+1|0;if(p>>>0>e>>>0){continue}break}}p=g}e=0;if(d>>>0>536870910){break a}g=d<<3;if(d){if(g>>>0>x>>>0|t){break a}f=f-g|0;v[b+12>>2]=f;if((f|0)<1){break a}}f=(h-d|0)+f|0;v[b+12>>2]=f;if((f|0)<1){break a}if((d|0)>(h|0)){g=g+r|0;i=w[a+1|0]|w[a|0]<<8;o=w[a+5|0]|w[a+4|0]<<8;e=(h<<3)+r|0;while(1){h=((w[e+1|0]|w[e|0]<<8)-o|0)/(i|0)|0;q=(h|0)>(q|0)?h:q;j=(h|0)<(j|0)?h:j;e=e+8|0;if(g>>>0>e>>>0){continue}break}}h=d;e=(j|0)<(s|0);if(e|(p|0)<=(q|0)){continue}break}e=1;if(!c){break a}v[c>>2]=h}return e}function Gp(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;e=v[b+4>>2];a:{if(e>>>0>a>>>0){break a}h=v[b+8>>2];if(h>>>0<a>>>0|h-a>>>0<16){break a}d=v[b+12>>2];c=d-16|0;v[b+12>>2]=c;if((c|0)<1){break a}c=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0<4){break a}c=e;e=a+4|0;if(c>>>0>e>>>0|e>>>0>h>>>0|h-e>>>0<4){break a}c=d-20|0;v[b+12>>2]=c;if((c|0)<1){break a}c=t[e|0];if((c|0)<0){break a}if(!qe((w[a+7|0]|(w[a+5|0]<<16|(c&255)<<24|w[a+6|0]<<8))+a|0,b)){return 0}c=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(i>>>0>2147483646){break a}c=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);m=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+a|0;c=a;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);h=c+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;n=i<<1;a=0;e=0;c=0;while(1){b:{if(!(a&1)){d=c;break b}c:{if(!i){d=0-j|0;a=0;break c}if(4294967295/(i>>>0)>>>0<=j>>>0){break a}d=0-j|0;if(d>>>0>=4294967295/(n>>>0)>>>0){break a}a=B(j,i)}g=(a<<1)+h|0;f=B(d,n);d:{if(!f){d=v[b+12>>2];break d}if(g>>>0<y[b+4>>2]){break a}d=v[b+8>>2];if(d>>>0<g>>>0|f>>>0>d-g>>>0){break a}d=v[b+12>>2]-f|0;v[b+12>>2]=d;if((d|0)<1){break a}}d=(j-e|0)+d|0;v[b+12>>2]=d;if((d|0)<1|(a|0)>0){break a}d=c;e=j;a=h;if(g>>>0>=a>>>0){break b}while(1){a=a-2|0;e=w[a|0]<<8|w[a+1|0];d=d>>>0>e>>>0?d:e+1|0;if(a>>>0>g>>>0){continue}break}e=j}if((k|0)<=(l|0)){f=l+1|0;if(!(!i|f>>>0<4294967295/(n>>>0)>>>0)){return 0}g=B(f,n);e:{if(!g){a=v[b+12>>2];break e}if(y[b+4>>2]>h>>>0){break a}a=v[b+8>>2];if(a>>>0<h>>>0|g>>>0>a-h>>>0){break a}a=v[b+12>>2]-g|0;v[b+12>>2]=a;if((a|0)<1){break a}}a=((l^-1)+k|0)+a|0;v[b+12>>2]=a;if((a|0)<1|(f>>>0>=4294967295/(i>>>0)>>>0?i:0)){break a}g=B(f,i);if((g|0)<0){break a}a=B(i,k);if((a|0)<(g|0)){o=(g<<1)+h|0;a=(a<<1)+h|0;while(1){k=w[a+1|0]|w[a|0]<<8;d=d>>>0>k>>>0?d:k+1|0;a=a+2|0;if(o>>>0>a>>>0){continue}break}}k=f}o=0;if(d>>>0>715827881){break a}f=B(d,6);f:{if(!d){a=v[b+12>>2];break f}if(y[b+4>>2]>m>>>0){break a}a=v[b+8>>2];if(a>>>0<m>>>0|f>>>0>a-m>>>0){break a}a=v[b+12>>2]-f|0;v[b+12>>2]=a;if((a|0)<1){break a}}a=(c-d|0)+a|0;v[b+12>>2]=a;if((a|0)<1){break a}if((c|0)<(d|0)){f=f+m|0;a=B(c,6)+m|0;while(1){c=w[a+1|0]|w[a|0]<<8;l=(c|0)>(l|0)?c:l;j=(c|0)<(j|0)?c:j;a=a+6|0;if(f>>>0>a>>>0){continue}break}}c=d;a=(e|0)>(j|0);if(a|(k|0)<=(l|0)){continue}break}o=1}return o}function YP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=Ca-48|0;Ca=g;if(Bb(c,b,246681,0)){Nj(b,c,1,12,15,-1);o=v[c+76>>2];a:{if(!o){break a}j=o-1|0;i=v[c+88>>2];k=w[i+15|0];while(1){b:{if((d|0)==(j|0)){d=o;break b}d=d+1|0;if((k|0)==w[(i+B(d,20)|0)+15|0]){continue}}break}if(!o){break a}l=v[c+88>>2];i=w[l+15|0];k=0;f=o;while(1){j=d;c:{if(i&14){break c}i=k+1|0;if(j>>>0<=i>>>0){break c}n=v[a+112>>2];e=v[n+8>>2]|v[n+4>>2]|v[n+12>>2];d=i;f=j+(k^-1)&3;if(f){while(1){h=B(d,20)+l|0;v[h+4>>2]=e|v[h+4>>2];d=d+1|0;f=f-1|0;if(f){continue}break}}if((j-k|0)-2>>>0>2){while(1){f=B(d,20)+l|0;v[f+4>>2]=e|v[f+4>>2];v[f+24>>2]=e|v[f+24>>2];v[f+44>>2]=e|v[f+44>>2];f=f- -64|0;v[f>>2]=e|v[f>>2];d=d+4|0;if((j|0)!=(d|0)){continue}break}}p=B(i,20)+l|0;f=B(k,20)+l|0;r=f+40|0;m=0;while(1){d=i;i=d+1|0;e=B(d,20)+l|0;h=w[e+18|0];d:{if(!((h|0)!=14|m>>>0>2|j>>>0<=i>>>0)){h=B(i,20)+l|0;if(w[h+18|0]!=16){m=m+1|0;break d}v[e+4>>2]=v[e+4>>2]|v[n>>2];v[h+4>>2]=v[h+4>>2]|v[n>>2];m=d+2|0;if(m-k>>>0>=2){rc(c,k,m)}v[g+40>>2]=v[e+16>>2];q=v[e+12>>2];v[g+32>>2]=v[e+8>>2];v[g+36>>2]=q;q=v[e+4>>2];v[g+24>>2]=v[e>>2];v[g+28>>2]=q;v[g+16>>2]=v[h+16>>2];e=v[h+12>>2];v[g+8>>2]=v[h+8>>2];v[g+12>>2]=e;e=v[h+4>>2];v[g>>2]=v[h>>2];v[g+4>>2]=e;mb(r,f,B(d-k|0,20));v[f+16>>2]=v[g+40>>2];e=v[g+36>>2];v[f+8>>2]=v[g+32>>2];v[f+12>>2]=e;e=v[g+28>>2];v[f>>2]=v[g+24>>2];v[f+4>>2]=e;v[p+16>>2]=v[g+16>>2];e=v[g+12>>2];v[p+8>>2]=v[g+8>>2];v[p+12>>2]=e;e=v[g+4>>2];v[p>>2]=v[g>>2];v[p+4>>2]=e;e=v[n+16>>2];e:{if(!e|j>>>0<=m>>>0){break e}h=B(m,20)+l|0;v[h+4>>2]=e|v[h+4>>2];d=d+3|0;if(j>>>0<=d>>>0){break e}while(1){e=B(d,20)+l|0;v[e+4>>2]=v[e+4>>2]|v[n+16>>2];d=d+1|0;if(j>>>0>d>>>0){continue}break}}m=2;break d}if((h|0)!=28){break d}if(i-k>>>0>=2){rc(c,k,i)}v[g+40>>2]=v[e+16>>2];h=v[e+12>>2];v[g+32>>2]=v[e+8>>2];v[g+36>>2]=h;h=v[e+4>>2];v[g+24>>2]=v[e>>2];v[g+28>>2]=h;mb(p,f,B(d-k|0,20));v[f+16>>2]=v[g+40>>2];d=v[g+36>>2];v[f+8>>2]=v[g+32>>2];v[f+12>>2]=d;d=v[g+28>>2];v[f>>2]=v[g+24>>2];v[f+4>>2]=d}if((j|0)!=(i|0)){continue}break}l=v[c+88>>2];f=v[c+76>>2]}d=j+1|0;k=d>>>0<f>>>0?f:d;e=k-1|0;i=w[(B(j,20)+l|0)+15|0];d=j;while(1){f:{if((e|0)==(d|0)){d=k;break f}d=d+1|0;if(w[(B(d,20)+l|0)+15|0]==(i&255)){continue}}break}k=j;if(j>>>0<o>>>0){continue}break}}Bb(c,b,246704,0)}a=w[c+168|0];if(a&64){t[c+168|0]=a&191;Ca=g+48|0;return}O(246755,246725,163,246740);L()}function Sj(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,x=0;m=v[b+4>>2];a:{if(m>>>0>a>>>0){break a}i=v[b+8>>2];if(i>>>0<a>>>0|i-a>>>0<8){break a}g=v[b+12>>2];c=g-8|0;v[b+12>>2]=c;if((c|0)<1|(w[a+1|0]|w[a|0]<<8)>>>0<4){break a}c=a+2|0;if(c>>>0<m>>>0|c>>>0>i>>>0|i-c>>>0<2){break a}c=g-10|0;v[b+12>>2]=c;if((c|0)<1){break a}c=(w[a+3|0]|w[a+2|0]<<8)+a|0;if(c>>>0<m>>>0|c>>>0>i>>>0|i-c>>>0<4){break a}j=g-14|0;v[b+12>>2]=j;if((j|0)<1){break a}j=c+2|0;if(j>>>0<m>>>0|i>>>0<j>>>0|i-j>>>0<2){break a}e=g-16|0;v[b+12>>2]=e;if((e|0)<1){break a}g=w[c+3|0]|w[c+2|0]<<8;if(g){c=c+4|0;if(c>>>0<m>>>0|c>>>0>i>>>0|g>>>0>i-c>>>0){break a}e=e-g|0;v[b+12>>2]=e;if((e|0)<1){break a}}q=(w[a+7|0]|w[a+6|0]<<8)+a|0;s=q>>>0<m>>>0|i>>>0<q>>>0;j=(w[a+5|0]|w[a+4|0]<<8)+a|0;t=j>>>0<m>>>0|i>>>0<j>>>0;u=i-q|0;x=i-j|0;k=w[a+1|0]|w[a|0]<<8;g=0;while(1){b:{if(!(d&1)){c=g;break b}c:{if(!k){h=0-l|0;f=0;break c}d=0;c=4294967295/(k>>>0)|0;if(c>>>0<=l>>>0){break a}h=0-l|0;if(c>>>0<=h>>>0){break a}f=B(k,l)}n=f+j|0;c=B(h,k);if(c){d=0;if(i>>>0<n>>>0|m>>>0>n>>>0|c>>>0>i-n>>>0){break a}e=e-c|0;v[b+12>>2]=e;if((e|0)<1){break a}}e=(l-r|0)+e|0;v[b+12>>2]=e;d=0;if((e|0)<1|(f|0)>0){break a}d:{if(j>>>0<=n>>>0){c=g;break d}d=j;c=g;h=0-f&3;if(h){while(1){d=d-1|0;r=w[d|0];c=c>>>0>r>>>0?c:r+1|0;h=h-1|0;if(h){continue}break}}if(f>>>0>4294967292){break d}while(1){f=w[d-1|0];c=c>>>0>f>>>0?c:f+1|0;f=w[d-2|0];c=c>>>0>f>>>0?c:f+1|0;f=w[d-3|0];c=c>>>0>f>>>0?c:f+1|0;d=d-4|0;f=w[d|0];c=c>>>0>f>>>0?c:f+1|0;if(d>>>0>n>>>0){continue}break}}r=l}if((o|0)<=(p|0)){f=p+1|0;if(!(!k|f>>>0<4294967295/(k>>>0)>>>0)){return 0}h=B(f,k);if(h){d=0;if(h>>>0>x>>>0|t){break a}e=e-h|0;v[b+12>>2]=e;if((e|0)<1){break a}}e=((p^-1)+o|0)+e|0;v[b+12>>2]=e;d=0;if((e|0)<1|((h|0)<0|f>>>0>=4294967295/(k>>>0)>>>0?k:0)){break a}d=B(k,o);if((d|0)<(h|0)){o=h+j|0;d=d+j|0;while(1){h=w[d|0];c=c>>>0>h>>>0?c:h+1|0;d=d+1|0;if(o>>>0>d>>>0){continue}break}}o=f}d=0;if(c>>>0>1073741822){break a}f=c<<2;if(c){if(f>>>0>u>>>0|s){break a}e=e-f|0;v[b+12>>2]=e;if((e|0)<1){break a}}e=(g-c|0)+e|0;v[b+12>>2]=e;if((e|0)<1){break a}if((c|0)>(g|0)){f=f+q|0;h=w[a+1|0]|w[a|0]<<8;n=w[a+5|0]|w[a+4|0]<<8;d=(g<<2)+q|0;while(1){g=((w[d+1|0]|w[d|0]<<8)-n|0)/(h|0)|0;p=(g|0)>(p|0)?g:p;l=(g|0)<(l|0)?g:l;d=d+4|0;if(f>>>0>d>>>0){continue}break}}g=c;d=(l|0)<(r|0);if(d|(o|0)<=(p|0)){continue}break}d=1}return d}function TO(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;j=Ca-640|0;Ca=j;h=v[b+88>>2];a:{b:{a=c;if(d>>>0<=a>>>0){break b}while(1){f=x[(B(a,20)+h|0)+16>>1];if(f>>>0>56319?1<<f&7168:0){break b}a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}if((a|0)==(d|0)){break a}c:{d:{e:{i=B(a,20)+h|0;e=x[i+16>>1];if(!(!(1<<e&7168)|e>>>0<56576)|a>>>0>=d>>>0){break e}f=a;f:{if(!(1<<e&7168)|(e&65280)!=56320){break f}while(1){e=v[B(f,20)+h>>2];g:{if((e|0)<=1755){e=e-1620|0;if(e>>>0>4){break f}if(1<<e&19){break g}break f}g=e-1756|0;if((e|0)==2291|(1<<g&6273?g>>>0<=12:0)){break g}if((e|0)!=2259){break f}}f=f+1|0;if((f|0)==(d|0)){f=d;break f}e=x[(B(f,20)+h|0)+16>>1];if(!(1<<e&7168)){break f}if((e&65280)==56320){continue}break}}if((a|0)==(f|0)){break e}g=f-a|0;if(g>>>0>=33){break c}if(f-c>>>0>=2){rc(b,c,f)}e=i;i=B(g,20);l=Ta(j,e,i);e=(c-a|0)+f|0;k=B(c,20)+h|0;mb(B(e,20)+h|0,k,B(a-c|0,20));Ta(k,l,i);if(c>>>0>=e>>>0){break d}if(g&1){g=B(c,20)+h|0;i=x[g+16>>1];if(1<<i&7168){u[g+16>>1]=i&255|6400}c=c+1|0}if((a+1|0)==(f|0)){c=e;break d}while(1){a=B(c,20)+h|0;g=x[a+16>>1];if(1<<g&7168){u[a+16>>1]=g&255|6400}g=x[a+36>>1];if(1<<g&7168){u[a+36>>1]=g&255|6400}c=c+2|0;if((e|0)!=(c|0)){continue}break}c=e;break d}f=a}h:{if(d>>>0<=f>>>0){break h}while(1){a=x[(B(f,20)+h|0)+16>>1];if(a>>>0>58879?1<<a&7168:0){break h}f=f+1|0;if((f|0)!=(d|0)){continue}break}break a}if((d|0)==(f|0)){break a}g=B(f,20)+h|0;e=x[g+16>>1];if(!(!(1<<e&7168)|e>>>0<59136)|d>>>0<=f>>>0){break a}a=f;i:{if(!(1<<e&7168)|(e&65280)!=58880){break i}while(1){e=v[B(a,20)+h>>2];j:{if((e|0)<=1755){e=e-1620|0;if(e>>>0>4){break i}if(1<<e&19){break j}break i}i=e-1756|0;if((e|0)==2291|(1<<i&6273?i>>>0<=12:0)){break j}if((e|0)!=2259){break i}}a=a+1|0;if((d|0)==(a|0)){a=d;break i}e=x[(B(a,20)+h|0)+16>>1];if(!(1<<e&7168)){break i}if((e&65280)==58880){continue}break}}if((a|0)==(f|0)){break a}d=a-f|0;if(d>>>0>32){break c}if(a-c>>>0>=2){rc(b,c,a)}e=B(d,20);g=Ta(j,g,e);b=(c-f|0)+a|0;i=B(c,20)+h|0;mb(B(b,20)+h|0,i,B(f-c|0,20));Ta(i,g,e);if(b>>>0<=c>>>0){break a}if(d&1){d=B(c,20)+h|0;e=x[d+16>>1];if(1<<e&7168){u[d+16>>1]=e&255|6656}c=c+1|0}if((f+1|0)==(a|0)){break a}while(1){a=B(c,20)+h|0;d=x[a+16>>1];if(1<<d&7168){u[a+16>>1]=d&255|6656}d=x[a+36>>1];if(1<<d&7168){u[a+36>>1]=d&255|6656}c=c+2|0;if((b|0)!=(c|0)){continue}break}break a}O(260663,260571,667,260692);L()}Ca=j+640|0}function Rm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b=v[v[a+84>>2]+8>>2];if(!b){break a}g=v[b>>2];if(!g){break a}while(1){f=b;i=Se(g,61);b:{if(!i){break b}t[i|0]=0;c=i+1|0;c:{if(!jb(v[f>>2],1424)){k=a,l=Pb(c),v[k+36>>2]=l;break c}if(!jb(v[f>>2],1433)){k=a,l=Pb(c),v[k+40>>2]=l;break c}if(!jb(v[f>>2],1442)){k=a,m=lb(c,0),A[k+48>>3]=m;break c}if(!jb(v[f>>2],1448)){k=a,l=Pb(c),v[k+56>>2]=l;break c}if(!jb(v[f>>2],1458)){k=a,l=hj(c),v[k+60>>2]=l;break c}if(!jb(v[f>>2],1480)){k=a,l=hj(c),v[k+64>>2]=l;break c}if(jb(v[f>>2],1488)){break c}k=a,l=qu(c),v[k+72>>2]=l}b=0;g=0;e=v[f>>2];h=Se(e,46);if(h){t[h|0]=0;e=h+1|0;g=v[f>>2]}if(v[a>>2]>=1){while(1){d:{if(g){if(jb(v[v[a+16>>2]+B(b,144)>>2],g)){break d}}d=v[a+16>>2];if(!jb(e,1501)){j=ib(c);if(!j){break d}d=d+B(b,144)|0;Pa(v[d+4>>2]);v[d+4>>2]=j;break d}if(!jb(e,1510)){k=d+B(b,144)|0,l=Bf(c),v[k+16>>2]=l;break d}if(!jb(e,1524)){k=d+B(b,144)|0,l=Bf(c),v[k+20>>2]=l;break d}if(!jb(e,1540)){k=d+B(b,144)|0,l=Bf(c),v[k+24>>2]=l;break d}if(!jb(e,1554)){k=d+B(b,144)|0,l=Bf(c),v[k+28>>2]=l;break d}if(!jb(e,1565)){k=d+B(b,144)|0,m=lb(c,0),A[k+8>>3]=m;break d}if(!jb(e,1574)){k=d+B(b,144)|0,l=Pb(c),v[k+32>>2]=l;break d}if(!jb(e,1579)){k=d+B(b,144)|0,l=Pb(c),v[k+36>>2]=l;break d}if(!jb(e,1586)){k=d+B(b,144)|0,l=Pb(c),v[k+40>>2]=l;break d}if(!jb(e,1596)){k=d+B(b,144)|0,l=Pb(c),v[k+44>>2]=l;break d}if(!jb(e,1606)){k=d+B(b,144)|0,m=lb(c,0),A[k+64>>3]=m;break d}if(!jb(e,1614)){k=d+B(b,144)|0,m=lb(c,0),A[k+72>>3]=m;break d}if(!jb(e,1620)){k=d+B(b,144)|0,l=Pb(c),v[k+80>>2]=l;break d}if(!jb(e,1632)){k=d+B(b,144)|0,l=Pb(c),v[k+104>>2]=l;break d}if(!jb(e,1642)){k=d+B(b,144)|0,l=Pb(c),v[k+136>>2]=l;break d}if(!jb(e,1650)){k=d+B(b,144)|0,l=Pb(c),v[k+108>>2]=l;break d}if(!jb(e,1658)){k=d+B(b,144)|0,l=Pb(c),v[k+112>>2]=l;break d}if(!jb(e,1666)){k=d+B(b,144)|0,l=Pb(c),v[k+116>>2]=l;break d}if(!jb(e,1674)){k=d+B(b,144)|0,l=Pb(c),v[k+120>>2]=l;break d}if(!jb(e,1683)){k=d+B(b,144)|0,m=lb(c,0),A[k+48>>3]=m;break d}if(!jb(e,1690)){k=d+B(b,144)|0,m=lb(c,0),A[k+56>>3]=m;break d}if(!jb(e,1697)){k=d+B(b,144)|0,m=lb(c,0),A[k+88>>3]=m;break d}if(!jb(e,1705)){k=d+B(b,144)|0,m=lb(c,0),A[k+96>>3]=m;break d}if(jb(e,1712)){break d}k=d+B(b,144)|0,m=lb(c,0),A[k+128>>3]=m}b=b+1|0;if((b|0)<v[a>>2]){continue}break}}t[i|0]=61;if(!h){break b}t[h|0]=46}b=f+4|0;g=v[f+4>>2];if(g){continue}break}}}function Pi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=-1;e=c-b|0;a:{if((e|0)<2){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{i=w[b|0];switch(i-216|0){case 4:case 5:case 6:case 7:break b;case 0:case 1:case 2:case 3:break f;case 39:break h;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break i;default:break j}}if(!i){break g}}g=w[b+1|0];break d}g=w[b+1|0];if(g>>>0>253){break b}break d}k:{g=w[b+1|0];f=a+72|0;switch(w[g+f|0]-6|0){case 13:break k;case 16:case 18:break c;case 23:break d;case 0:break e;case 1:break f;default:break b}}a=b+2|0;if((c-a|0)<2){break a}if(w[a|0]){b=a;break b}e=w[b+3|0];if((e|0)==120){e=b+4|0;if((c-e|0)<2){break a}if(w[e|0]){b=e;break b}if((w[f+w[b+5|0]|0]&254)!=24){b=e;break b}b=b+6|0;if((c-b|0)<2){break a}while(1){if(w[b|0]){break b}a=w[f+w[e+3|0]|0];if(a-24>>>0>=2){if((a|0)!=18){break b}b=e+4|0;j=10;break b}e=b;b=b+2|0;if((c-b|0)>1){continue}break}break a}if(w[e+f|0]!=25){b=a;break b}b=a;while(1){a=b;b=b+2|0;if((c-b|0)<2){break a}if(w[b|0]){break b}e=w[f+w[a+3|0]|0];if((e|0)==25){continue}break}if((e|0)!=18){break b}b=a+4|0;j=10;break b}h=-2;if((e|0)>=4){break b}break a}h=-2;if((e|0)>=3){break b}break a}if(!(v[(g>>>3&28|w[i+502192|0]<<5)+500176>>2]>>>g&1)){break b}}f=b+2|0;g=c-f|0;if((g|0)<=1){break a}i=a+72|0;e=b;while(1){b=f;l:{m:{n:{o:{p:{q:{r:{s:{f=w[e+2|0];switch(f-216|0){case 4:case 5:case 6:case 7:break b;case 0:case 1:case 2:case 3:break o;case 39:break q;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break r;default:break s}}if(!f){break p}}a=w[e+3|0];break m}a=w[e+3|0];if(a>>>0>253){break b}break m}t:{a=w[e+3|0];switch(w[i+a|0]-6|0){case 16:case 18:case 19:case 20:case 21:break l;case 23:break m;case 0:break n;case 1:break o;case 12:break t;default:break b}}b=e+4|0;j=9;break b}h=-2;if((g|0)>=4){break b}break a}h=-2;if((g|0)>=3){break b}break a}if(!(v[(a>>>3&28|w[f+502448|0]<<5)+500176>>2]>>>a&1)){break b}}e=b;f=b+2|0;g=c-f|0;if((g|0)>1){continue}break}break a}v[d>>2]=b;h=j}return h}function Si(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=-1;e=c-b|0;a:{if((e|0)<2){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{i=w[b+1|0];switch(i-216|0){case 4:case 5:case 6:case 7:break b;case 0:case 1:case 2:case 3:break f;case 39:break h;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break i;default:break j}}if(!i){break g}}f=w[b|0];break d}f=w[b|0];if(f>>>0>253){break b}break d}k:{f=w[b|0];g=a+72|0;switch(w[f+g|0]-6|0){case 13:break k;case 16:case 18:break c;case 23:break d;case 0:break e;case 1:break f;default:break b}}a=b+2|0;if((c-a|0)<2){break a}if(w[b+3|0]){b=a;break b}e=w[a|0];if((e|0)==120){e=b+4|0;if((c-e|0)<2){break a}if(w[b+5|0]){b=e;break b}if((w[g+w[e|0]|0]&254)!=24){b=e;break b}b=b+6|0;if((c-b|0)<2){break a}while(1){if(w[e+3|0]){break b}a=w[g+w[b|0]|0];if(a-24>>>0>=2){if((a|0)!=18){break b}b=e+4|0;j=10;break b}e=b;b=b+2|0;if((c-b|0)>1){continue}break}break a}if(w[e+g|0]!=25){b=a;break b}b=a;while(1){a=b;b=b+2|0;if((c-b|0)<2){break a}if(w[a+3|0]){break b}e=w[g+w[b|0]|0];if((e|0)==25){continue}break}if((e|0)!=18){break b}b=a+4|0;j=10;break b}h=-2;if((e|0)>=4){break b}break a}h=-2;if((e|0)>=3){break b}break a}if(!(v[(f>>>3&28|w[i+502192|0]<<5)+500176>>2]>>>f&1)){break b}}e=b+2|0;f=c-e|0;if((f|0)<=1){break a}i=a+72|0;a=b;while(1){b=e;l:{m:{n:{o:{p:{q:{r:{s:{g=w[a+3|0];switch(g-216|0){case 4:case 5:case 6:case 7:break b;case 0:case 1:case 2:case 3:break o;case 39:break q;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break r;default:break s}}if(!g){break p}}e=w[b|0];break m}e=w[b|0];if(e>>>0>253){break b}break m}t:{e=w[b|0];switch(w[i+e|0]-6|0){case 16:case 18:case 19:case 20:case 21:break l;case 23:break m;case 0:break n;case 1:break o;case 12:break t;default:break b}}b=a+4|0;j=9;break b}h=-2;if((f|0)>=4){break b}break a}h=-2;if((f|0)>=3){break b}break a}if(!(v[(e>>>3&28|w[g+502448|0]<<5)+500176>>2]>>>e&1)){break b}}a=b;e=b+2|0;f=c-e|0;if((f|0)>1){continue}break}break a}v[d>>2]=b;h=j}return h}function Zp(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=Ca-16|0;Ca=f;d=v[a+104>>2];b=Ea[v[a+516>>2]](a,1886352244,d,f+4|0)|0;a:{if(b){break a}e=v[a+476>>2];b=Ub(d,32);if(b){break a}b:{c:{d:{e:{f:{g:{c=v[f+4>>2];if(!((e|0)!=131072|c>>>0<34)){e=v[d+28>>2];i=kb(d,f+8|0);b=v[f+8>>2];if(b){break b}b=3;if(x[a+264>>1]<i>>>0){break b}j=c-34|0;h=i<<1;if(j>>>0<h>>>0){break b}l=Ua(e,2,0,i,0,f+8|0);if(v[f+8>>2]){c=0;break e}b=vb(d,h);v[f+8>>2]=b;c=0;if(b){break e}if(!i){break g}b=0;while(1){q=l+(b<<1)|0,r=Cb(d),u[q>>1]=r;b=b+1|0;if((i|0)!=(b|0)){continue}break}pb(d);m=i&1;h:{if((i|0)==1){b=0;break h}c=i&65534;b=0;while(1){k=g<<1;n=x[l+(k|2)>>1];o=n-257|0;k=x[l+k>>1];p=k-257|0;b=k>>>0>257?(b&65535)<(p|0)?p:b:b;b=n>>>0>257?(b&65535)<(o|0)?o:b:b;g=g+2|0;c=c-2|0;if(c){continue}break}}if(m){c=x[l+(g<<1)>>1];g=c-257|0;b=c>>>0>257?(g|0)>(b&65535)?g:b:b}if(!(b&65535)){break d}g=0;m=j-h|0;c=qb(e,m+1|0,f+8|0);if(v[f+8>>2]){break e}d=Vb(d,c,m);v[f+8>>2]=d;if(d){break e}h=0;j=b&65535;g=Ua(e,4,0,j,0,f+8|0);if(v[f+8>>2]){break e}i:{if(m){d=0;while(1){k=c+d|0;n=w[k|0];if(n>>>0>=64){v[f+8>>2]=3;break e}t[k|0]=0;v[(h<<2)+g>>2]=k+1;d=(d+n|0)+1|0;h=h+1|0;if(j>>>0>h>>>0?m>>>0>d>>>0:0){continue}break}d=c+m|0;t[d|0]=0;if(h>>>0<j>>>0){break i}break c}t[c|0]=0;c=Kd(e,1,1,2,c,f+8|0);if(v[f+8>>2]){break e}t[c+1|0]=0;d=c+1|0}c=h&65535;if(c>>>0>=(b&65535)>>>0){break c}e=j+(c^-1)|0;h=j-h&7;if(h){while(1){v[(c<<2)+g>>2]=d;c=c+1|0;h=h-1|0;if(h){continue}break}}if(e>>>0<7){break c}while(1){e=(c<<2)+g|0;v[e>>2]=d;v[e+28>>2]=d;v[e+24>>2]=d;v[e+20>>2]=d;v[e+16>>2]=d;v[e+12>>2]=d;v[e+8>>2]=d;v[e+4>>2]=d;c=c+8|0;if((j|0)!=(c|0)){continue}break}break c}b=3;if((e|0)!=151552|c>>>0<34){break b}e=v[d+28>>2];c=kb(d,f+12|0);b=v[f+12>>2];if(b){break b}b=3;if(x[a+264>>1]<=(c-1&65535)>>>0|c>>>0>258){break b}b=0;g=Ua(e,1,0,c,0,f+12|0);j:{if(v[f+12>>2]){break j}d=Vb(d,g,c);v[f+12>>2]=d;if(d){break j}while(1){d=t[b+g|0]+b|0;if(!((d|0)<0|(c|0)<(d|0))){b=b+1|0;if((c|0)!=(b|0)){continue}break f}break}v[f+12>>2]=3}if(g){Ea[v[e+8>>2]](e,g)}b=v[f+12>>2];break b}pb(d);break d}v[a+640>>2]=g;u[a+636>>1]=c;b=0;break b}if(g){Ea[v[e+8>>2]](e,g)}if(c){Ea[v[e+8>>2]](e,c)}if(l){Ea[v[e+8>>2]](e,l)}b=v[f+8>>2];break b}b=0;g=0}v[a+644>>2]=g;v[a+640>>2]=l;u[a+638>>1]=b;u[a+636>>1]=i;b=0}t[a+632|0]=1}Ca=f+16|0;return b}function Rt(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;h=Ca-16|0;Ca=h;a:{b:{c:{d:{e:{switch(x[a>>1]){case 0:b=453732;break d;case 1:b=453748;if(!x[a+2>>1]){break d}if(x[a+2>>1]!=1){break a}b=453764;break d;case 3:b=453780;if(!x[a+2>>1]){break d}b=453796;if(x[a+2>>1]==1){break d}b=453812;if(x[a+2>>1]==2){break d}b=453828;if(x[a+2>>1]==3){break d}b=453844;if(x[a+2>>1]==4){break d}b=453860;if(x[a+2>>1]==5){break d}b=453876;if(x[a+2>>1]==6){break d}if(x[a+2>>1]!=10){break a}b=453892;break d;case 2:break e;default:break a}}b=453908;if(!x[a+2>>1]){break d}b=453924;if(x[a+2>>1]==1){break d}if(x[a+2>>1]!=2){break a}b=453940}f:{if(Wa(b,453952)){c=b;break f}f=x[a+4>>1];if(!f){e=v[a+12>>2];c=b;if((e|0)<1){break f}c=e&1;d=v[a+8>>2];g:{if((e|0)==1){e=0;break g}i=e&-2;e=0;while(1){j=w[d|0];k=w[d+1|0];g=(j>>>7|0)+g+(k>>>7)|0;e=(((j^-1)&128)>>>7|0)+e+(((k^-1)&128)>>>7)|0;d=d+2|0;i=i-2|0;if(i){continue}break}}if(c){c=w[d|0];g=(c>>>7|0)+g|0;e=(((c^-1)&128)>>>7|0)+e|0}c=453962;if(g<<1>>>0>e>>>0){break f}}c=b;if(f>>>0<256){break f}h:{switch(f-1033|0){case 8:c=453970;break f;case 0:break h;default:break a}}c=453984}if(Wa(c,453996)){if(Wa(c,454004)){break c}}e=v[a+8>>2];c=e;d=0;i=0;k=0;l=h;g=v[a+12>>2];a=g;i:{j:{k:{if(a){while(1){if((a|0)<2){break i}f=w[c|0];j=w[c+1|0]|f<<8;b=c+2|0;if((f&252)==216){if((a|0)<4){break i}f=w[b|0];if((f&252)!=220){break i}j=(j<<10&1047552|(w[b+1|0]|f<<8&768))+65536|0;b=c+4|0}b=b-c|0;if((b|0)<1){break i}d=d>>>0<j>>>0?j:d;i=i+1|0;c=c+b|0;a=a-b|0;if(a){continue}break}v[h+12>>2]=i;a=4;if(d>>>0>65535){break j}a=2;if(d>>>0>256){break j}break k}v[h+12>>2]=0}a=1}v[l+8>>2]=a;k=1}if(!k){break a}c=Va(B(v[h+12>>2],6)|1);if(!c){break a}a=c;d=Gt(e,h+4|0,g);if((d|0)>=1){while(1){a=_l(v[h+4>>2],a)+a|0;e=d+e|0;g=g-d|0;d=Gt(e,h+4|0,g);if((d|0)>0){continue}break}}break b}l:{if(Wa(c,454013)){if(Wa(c,454019)){break l}}e=v[a+8>>2];d=v[a+12>>2];c=Va(d<<1|1);if(!c){break a}a=c;if((d|0)>=1){while(1){a=_l(w[e|0],a)+a|0;b=(d|0)>1;d=d-1|0;e=e+1|0;if(b){continue}break}}break b}if(Wa(c,453952)){break a}e=v[a+8>>2];d=v[a+12>>2];c=Va(B(d,3)+1|0);if(!c){break a}a=c;if((d|0)>=1){while(1){f=t[e|0];b=f&255;e=e+1|0;if((f|0)<=-1){b=x[(b<<1)+453776>>1]}a=_l(b,a)+a|0;b=(d|0)>1;d=d-1|0;if(b){continue}break}}}t[a|0]=0;if(Db(c,452872)){m=c;break a}Pa(c)}Ca=h+16|0;return m}function VB(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=Ca-16|0;Ca=j;l=v[a+492>>2];h=v[b+8>>2];Ea[v[b+28>>2]](b);d=v[b>>2];a:{if(h>>>0<=d>>>0){v[b+12>>2]=3;break a}b:{k=w[d|0];if(!((k|0)!=91?k-48>>>0>=10:0)){f=v[b+16>>2];c:{if((k|0)==91){v[b>>2]=d+1;g=256;break c}e=3;g=Ea[v[b+36>>2]](b)|0;if((g|0)>256){break b}}Ea[v[b+28>>2]](b);if(y[b>>2]>=h>>>0){break a}i=b+92|0;e=v[a+384>>2];d:{if(!e){break d}c=f;if(e){Ea[v[c+8>>2]](c,e)}v[a+384>>2]=0;c=v[a+388>>2];if(c){Ea[v[f+8>>2]](f,c)}v[a+388>>2]=0;c=v[b+140>>2];if(!c){break d}Ea[c|0](i)}v[a+372>>2]=g;v[b+88>>2]=g;n=a,o=Ua(f,2,0,g,0,j+12|0),v[n+384>>2]=o;e=v[j+12>>2];if(e){break b}n=a,o=Ua(f,4,0,g,0,j+12|0),v[n+388>>2]=o;e=v[j+12>>2];if(e){break b}e=Ea[v[v[l>>2]>>2]](i,g,f)|0;v[j+12>>2]=e;if(e){break b}e:{if((g|0)<1){break e}f=g&3;c=0;if(g-1>>>0>=3){e=g&-4;while(1){Ea[v[b+136>>2]](i,c,18088,8)|0;Ea[v[b+136>>2]](i,c|1,18088,8)|0;Ea[v[b+136>>2]](i,c|2,18088,8)|0;Ea[v[b+136>>2]](i,c|3,18088,8)|0;c=c+4|0;e=e-4|0;if(e){continue}break}}if(!f){break e}while(1){Ea[v[b+136>>2]](i,c,18088,8)|0;c=c+1|0;f=f-1|0;if(f){continue}break}}Ea[v[b+28>>2]](b);c=v[b>>2];f:{if(h>>>0<=c>>>0){break f}e=0;m=(k|0)==91;while(1){g:{h:{f=w[c|0];if((f|0)!=100){break h}d=c+3|0;if(h>>>0<=d>>>0){break h}if(w[c+1|0]!=101|w[c+2|0]!=102){break g}switch(w[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break g}}if((f|0)!=93){break g}d=c+1|0;break f}i:{j:{k:{if(!((k|0)!=91?f-48>>>0>=10:0)){l:{if(m){d=c;f=e;break l}f=Ea[v[b+36>>2]](b)|0;Ea[v[b+28>>2]](b);d=v[b>>2];if((d|0)==(c|0)){break j}}if(w[d|0]!=47|d+2>>>0>=h>>>0|(e|0)>=(g|0)){break k}d=d+1|0;v[b>>2]=d;Ea[v[b+32>>2]](b);c=v[b>>2];if(v[b+12>>2]|c>>>0>=h>>>0){break a}l=c-d|0;c=Ea[v[b+136>>2]](i,f,d,l+1|0)|0;v[b+12>>2]=c;if(c){break a}t[l+v[v[b+116>>2]+(f<<2)>>2]|0]=0;e=e+1|0;break i}Ea[v[b+32>>2]](b);d=c;if(v[b+12>>2]){break a}break i}if(!m){break i}}v[b+12>>2]=2;break a}Ea[v[b+28>>2]](b);c=v[b>>2];if(h>>>0>c>>>0){continue}break}}v[a+368>>2]=1;v[b>>2]=d;break a}m:{if(d+17>>>0>=h>>>0){break m}if($a(d,19062,16)){break m}v[a+368>>2]=2;break a}n:{if(d+15>>>0>=h>>>0){break n}if($a(d,19079,14)){break n}v[a+368>>2]=4;break a}o:{if(d+18>>>0>=h>>>0){break o}if($a(d,19094,17)){break o}v[a+368>>2]=3;break a}v[b+12>>2]=162;break a}v[b+12>>2]=e}Ca=j+16|0}function uw(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{d:{e:{f:{if(!v[a+20>>2]){if(v[a+40>>2]){break f}d=v[a+48>>2];if(d>>>0<=1){break e}g=v[a+52>>2];l=g+(d<<2)|0;i=d-1|0;j=g+4|0;g=v[70112];while(1){e=v[(i?j:280448)>>2];f=v[e+12>>2];if(f){h=v[e+16>>2];m=h+(f<<4)|0;while(1){b=f?h:280448;d=v[b+12>>2];g:{if(d>>>0>=y[a+48>>2]){v[163916]=g;d=g;break g}d=v[v[a+52>>2]+(d<<2)>>2]}if(!d){break b}c=0;h:{i:{j:{k:{k=w[b|0];switch(k>>>4&3){case 2:break i;case 1:break j;case 0:break k;default:break h}}c=v[d>>2]-v[e>>2]|0;break h}c=v[d>>2]-v[e+4>>2]|0;break h}c=v[a+4>>2]+v[d>>2]-(v[a>>2]+v[a+8>>2])|0}d=v[b+8>>2];if(d>>>0>c>>>0){break d}d=c-d|0;l:{m:{if(k&8){n:{switch((k&7)-2|0){default:O(280196,279955,407,280144);L();case 2:b=v[e>>2]+(v[b+4>>2]&268435455)|0;c=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);if(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)){break a}c=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;b=c>>>8&65280|(c<<8&16711680|c<<24)|c>>>24;if((d|0)!=(b|0)|b>>31){break m}break l;case 0:break n}}b=v[e>>2]+(v[b+4>>2]&268435455)|0;if(w[b+1|0]|w[b|0]){break a}c=d<<8|(d&65280)>>>8;t[b|0]=c;t[b+1|0]=c>>>8;b=d<<16;c=b>>31;if((d|0)!=b>>16|c){break m}break l}c=k&7;if((c-2&255)>>>0>=3){break c}o:{switch(c-3|0){case 1:b=v[e>>2]+(v[b+4>>2]&268435455)|0;c=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);if(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)){break a}c=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;if((d|0)!=(c>>>8&65280|(c<<8&16711680|c<<24)|c>>>24)){break m}break l;case 0:b=v[e>>2]+(v[b+4>>2]&268435455)|0;if(w[b+1|0]<<8|w[b|0]<<16|w[b+2|0]){break a}t[b+2|0]=d;t[b+1|0]=d>>>8;t[b|0]=d>>>16;if(d>>>0>=16777216){break m}break l;default:break o}}b=v[e>>2]+(v[b+4>>2]&268435455)|0;if(w[b+1|0]|w[b|0]){break a}c=d<<8|(d&65280)>>>8;t[b|0]=c;t[b+1|0]=c>>>8;if(d>>>0<65536){break l}}v[a+20>>2]=v[a+20>>2]|2}d=(f|0)!=0;f=f-d|0;h=(d<<4)+h|0;if((m|0)!=(h|0)){continue}break}}d=(i|0)!=0;i=i-d|0;j=(d<<2)+j|0;if((l|0)!=(j|0)){continue}break}}return}O(279946,279955,388,280144);L()}O(280158,279955,389,280144);L()}O(280176,279955,403,280144);L()}O(280231,279955,415,280144);L()}v[a+20>>2]=v[a+20>>2]|1;return}O(280285,279955,580,280294);L()}function CG(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;d=Ca-864|0;Ca=d;f=eb(1,12);a:{if(!f){b=0;break a}e=xe();v[f>>2]=e;c=Us(e,c);if(!c){hb(a,2,517356,0);ac(v[f>>2]);e=Dl(0);v[f>>2]=e}if(e){c=xl(e)}if(!(v[f>>2]?c:0)){b=0;hb(a,0,517419,0);ac(v[f>>2]);Pa(f);break a}a=eb(1,44);if(a){v[a>>2]=b;b=v[163730];v[a+4>>2]=v[163729];v[a+8>>2]=b;b=v[163732];v[a+12>>2]=v[163731];v[a+16>>2]=b;b=v[163734];v[a+20>>2]=v[163733];v[a+24>>2]=b;b=v[163736];v[a+28>>2]=v[163735];v[a+32>>2]=b;v[a+36>>2]=v[163737];v[a+40>>2]=f}else{a=0}b=a;a=v[f>>2];c=0;l=d+856|0;v[l>>2]=0;m=d+848|0;e=m;v[e>>2]=0;v[e+4>>2]=0;v[d+840>>2]=0;v[d+844>>2]=0;n=d+832|0;e=n;v[e>>2]=0;v[e+4>>2]=0;v[d+824>>2]=0;v[d+828>>2]=0;b:{if(a){break b}while(1){a=v[164112];if(a){break b}a=_f();if(!a){continue}e=v[164112];v[164112]=e?e:a;if(!e){break b}ac(a);continue}}k=v[a+52>>2];if(v[k>>2]<1){break a}while(1){a=Ca-16|0;Ca=a;h=v[v[k+8>>2]+(c<<2)>>2];e=Be(h,sd(517535),0,a);c:{if(e){break c}e=2;if(v[a>>2]!=4){break c}v[d+820>>2]=v[a+8>>2];e=0}Ca=a+16|0;d:{if(v[d+820>>2]!=1|e){break d}i=gm(h,517559,m)|gm(h,517565,l);f=Ca-16|0;Ca=f;e=Be(h,sd(517571),0,f);e:{if(e){break e}e=2;a=d;f:{g:{switch(v[f>>2]-1|0){case 1:g=A[f+8>>3];break f;case 0:break g;default:break e}}g=+v[f+8>>2]}A[a+808>>3]=g;e=0}Ca=f+16|0;if(gm(h,517578,d+816|0)|(e|i)){break d}p=d;g=-1;h:{i:{j=A[d+808>>3];if(!(j<0|j>215)){a=1;while(1){e=a;a=a+1|0;i=v[(e<<3)+452500>>2];g=+(i|0);if(g<j){continue}break}a=e<<3;e=a+452496|0;if(g==j){g=+v[e>>2];break h}f=i;i=v[a+452492>>2];f=f-i|0;if((f|0)<1){break i}a=v[a+452488>>2];e=v[e>>2]-a|0;if((e|0)<0){break i}o=+(i|0);if(!(j>=o)|!(g>=j)){break i}g=(j-o)*+(e|0)/+(f|0)+ +(a|0)}break h}O(452600,452640,48,452651);L()}g=g+.5;j:{if(D(g)<2147483648){a=~~g;break j}a=-2147483648}v[p+852>>2]=a;if(Ed(h,517584,0,d+804|0)){break d}e=0;v[d+840>>2]=0;while(1){if(!Ed(h,517509,e,(e<<2)+d|0)){a=v[d+840>>2];e=a+1|0;v[d+840>>2]=e;if((a|0)<99){continue}}break}e=0;v[d+844>>2]=0;v[d+824>>2]=d;while(1){if(!Ed(h,517589,e,(d+400|0)+(e<<2)|0)){a=v[d+844>>2];e=a+1|0;v[d+844>>2]=e;if((a|0)<99){continue}}break}v[d+828>>2]=d+400;if(Ed(h,517598,0,n)){v[d+832>>2]=0}fv(b,d+824|0,v[d+804>>2],v[d+816>>2],h)}c=c+1|0;if((c|0)<v[k>>2]){continue}break}}Ca=d+864|0;return b|0}function JF(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;n=Ca-16|0;Ca=n;g=v[a+12>>2];k=v[a+200>>2];b=v[a+196>>2];l=u[a+32>>1];a:{if(l){if(y[g+8>>2]<u[g+56>>1]+(u[g+20>>1]+l|0)>>>0){d=mc(g,0,l);if(d){break a}}d=20;if((l|0)>4094){break a}}d=20;e=l<<1;if((e+b|0)+2>>>0>k>>>0){break a}c=v[g+68>>2];j=w[b|0];h=w[b+1|0]|j<<8;if((l|0)>=1){u[c>>1]=h}if(j<<24>>16<0){break a}j=c+e|0;while(1){e=c+2|0;if(e>>>0<j>>>0){c=w[b+2|0]|w[b+3|0]<<8;f=c<<8|c>>>8;u[e>>1]=f;i=h<<16;c=e;e=f<<16>>16;h=e;b=b+2|0;if((e|0)>i>>16){continue}break a}break}e=v[g+4>>2];f=u[g+58>>1];if((l|0)<1){j=0}else{c=u[c>>1];if((c|0)<-1){break a}j=c+1|0}c=j+4|0;if(e>>>0<f+(c+u[g+22>>1]|0)>>>0){d=mc(g,c,0);if(d){break a}}c=v[a+8>>2];v[c+136>>2]=0;v[c+140>>2]=0;e=b+4|0;if(e>>>0>k>>>0){d=20;break a}b=w[b+2|0]|w[b+3|0]<<8;b=b<<8|b>>>8;b:{c:{d:{e:{if(w[a+16|0]&2){c=b&65535;break e}c=b&65535;if((c|0)>(k-e|0)){break d}d=v[a+156>>2];v[n+12>>2]=v[d+408>>2];d=fr(v[d+8>>2],n+12|0,d+412|0,c);f=v[a+156>>2];v[f+408>>2]=v[n+12>>2];if(d){break a}d=v[a+8>>2];v[d+140>>2]=c;i=d;d=v[f+412>>2];v[i+136>>2]=d;if(!(b&65535)){break e}Ta(d,e,c)}b=c+e|0;if((j|0)>=1){e=v[g- -64>>2];f=j+e|0;while(1){c=b+1|0;if(c>>>0>k>>>0){d=20;break a}m=w[b|0];t[e|0]=m;d=e+1|0;i=f;f:{if(!(m&8)){b=c;c=d;break f}b=b+2|0;if(k>>>0<b>>>0){d=20;break a}h=w[c|0];if(f>>>0<h+d>>>0){d=20;break a}c=d;if(!h){break f}Ra(d,m,h);c=((h-1&255)+e|0)+2|0}e=c;if(i>>>0>e>>>0){continue}break}}d=v[g+64>>2];if(!(!j|!(w[d|0]&64))){v[g+36>>2]=v[g+36>>2]|64}if(b>>>0>k>>>0){d=20;break a}if((j|0)<=0){break b}f=v[g+60>>2];m=f+(j<<3)|0;c=f;e=d;while(1){o=w[e|0];g:{if(o&2){i=b+1|0;if(i>>>0>k>>>0){d=20;break a}b=w[b|0];h=o&16?b:0-b|0;b=i;break g}h=0;if(o&16){break g}i=b+2|0;if(i>>>0>k>>>0){d=20;break a}b=w[b|0]|w[b+1|0]<<8;h=(b<<8|b>>>8)<<16>>16;b=i}p=h+p|0;v[c>>2]=p;e=e+1|0;c=c+8|0;if(m>>>0>c>>>0){continue}break}break c}d=22;break a}h=0;if((j|0)<=0){break b}while(1){i=w[d|0];h:{if(i&4){e=b+1|0;if(e>>>0>k>>>0){d=20;break a}b=w[b|0];c=i&32?b:0-b|0;b=e;break h}c=0;if(i&32){break h}e=b+2|0;if(e>>>0>k>>>0){d=20;break a}b=w[b|0]|w[b+1|0]<<8;c=(b<<8|b>>>8)<<16>>16;b=e}h=c+h|0;v[f+4>>2]=h;t[d|0]=i&1;d=d+1|0;f=f+8|0;if(m>>>0>f>>>0){continue}break}}u[g+56>>1]=l;u[g+58>>1]=j;v[a+196>>2]=b;d=0}Ca=n+16|0;return d|0}function fv(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;h=Ca-48|0;Ca=h;j=v[a>>2];v[h+40>>2]=0;v[h+32>>2]=0;v[h+36>>2]=0;v[h+24>>2]=0;v[h+28>>2]=0;v[h+16>>2]=0;v[h+20>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;a:{b:{if(!v[b+16>>2]){f=v[a+36>>2];if(f){d=Ea[f|0](e)|0}c:{if(!c){f=v[a+4>>2];v[h+4>>2]=e;v[h>>2]=f;i=v[j>>2];k=v[j+4>>2];f=v[b+8>>2];if(!f){f=v[b+12>>2]}f=Xu(i,k,f,h,d);break c}f=Yu(v[j>>2],v[j+4>>2],c,v[b+8>>2],d)}if(!f){break b}if(!ev(f,v[b+12>>2],h+8|0)){zd(f);break b}d:{i=v[h+16>>2];if(!i){break d}i=ib(i);v[h+16>>2]=i;if(i){break d}zd(f);break b}zd(f);v[h+20>>2]=v[b+12>>2];b=h+8|0}f=v[b+24>>2];g=f>>>0>110?0:f;f=v[b+32>>2];l=f-50>>>0>150?100:f;f=v[b+28>>2];m=f-100>>>0>800?400:f;i=v[j+24>>2];f=v[j+28>>2];e:{if((i|0)<(f|0)){k=v[j+32>>2];break e}f=(f|0)<1?1:f<<1;v[j+28>>2]=f;k=gb(v[j+32>>2],B(f,56));v[j+32>>2]=k;i=v[j+24>>2]}f=B(i,56)+k|0;v[f>>2]=0;v[f+4>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;n=v[j+8>>2];v[j+8>>2]=n+1;v[f+28>>2]=l;v[f+24>>2]=m;v[f+20>>2]=g;v[f>>2]=n;v[f+16>>2]=v[b+20>>2];g=v[b+16>>2];v[f+12>>2]=g;g=eb(g,4);v[f+4>>2]=g;f:{if(!g){break f}g=v[b+20>>2];if(g){g=eb(g,4);v[(B(i,56)+k|0)+8>>2]=g;if(!g){break f}}n=v[f+12>>2];if((n|0)>=1){l=v[f+4>>2];g=0;while(1){m=g<<2;p=m+l|0,q=ib(v[m+v[b>>2]>>2]),v[p>>2]=q;l=v[f+4>>2];if(!v[m+l>>2]){break f}g=g+1|0;if((n|0)!=(g|0)){continue}break}}n=v[f+16>>2];if((n|0)>=1){o=B(i,56)+k|0;l=v[o+8>>2];g=0;while(1){m=g<<2;p=m+l|0,q=ib(v[m+v[b+4>>2]>>2]),v[p>>2]=q;l=v[o+8>>2];if(!v[m+l>>2]){break f}g=g+1|0;if((n|0)!=(g|0)){continue}break}}g=v[b+8>>2];if(g){g=ib(g);v[(B(i,56)+k|0)+40>>2]=g;if(!g){break f}}b=v[b+12>>2];if(b){b=ib(b);v[(B(i,56)+k|0)+44>>2]=b;if(!b){break f}}if(c){b=ib(c);v[(B(i,56)+k|0)+32>>2]=b;if(!b){break f}}b=B(i,56)+k|0;v[b+52>>2]=e;v[b+36>>2]=d;v[b+48>>2]=a;b=1;v[j+24>>2]=v[j+24>>2]+1;break a}dv(f)}c=v[h+8>>2];if(c){b=0;d=v[h+24>>2];if((d|0)>0){while(1){Pa(v[c+(b<<2)>>2]);b=b+1|0;if((d|0)!=(b|0)){continue}break}}Pa(c)}c=v[h+12>>2];if(c){b=0;d=v[h+28>>2];if((d|0)>0){while(1){Pa(v[c+(b<<2)>>2]);b=b+1|0;if((d|0)!=(b|0)){continue}break}}Pa(c)}Pa(v[h+16>>2]);b=0;a=v[a+16>>2];if(!a){break a}Ea[a|0](e)}Ca=h+48|0;return b}function er(a,b){var c=0,d=0,e=0,f=0;f=v[v[a>>2]+96>>2];e=v[v[a+8>>2]+140>>2];if((e|0)>=1){Ta(v[a+132>>2],v[a+136>>2],x[a+128>>1]<<3)}Ta(v[a+156>>2]+288|0,v[a+4>>2]+180|0,68);a:{if(b){c=v[a+156>>2];v[c+224>>2]=65536;v[c+228>>2]=65536;Ta(v[a+140>>2],v[a+136>>2],x[a+128>>1]<<3);break a}c=v[a+156>>2];d=v[v[a+4>>2]+44>>2];v[c+224>>2]=v[d+4>>2];v[c+228>>2]=v[d+8>>2]}c=v[a+136>>2]+(x[a+128>>1]<<3)|0;d=c-32|0;v[d>>2]=v[d>>2]+32&-64;d=c-24|0;v[d>>2]=v[d>>2]+32&-64;d=c-12|0;v[d>>2]=v[d>>2]+32&-64;c=c-4|0;v[c>>2]=v[c>>2]+32&-64;b:{if((e|0)>=1){d=v[v[a+12>>2]- -64>>2];c=v[a+156>>2];t[c+592|0]=b;v[c+484>>2]=e;v[c+480>>2]=v[c+412>>2];b=v[a+124>>2];v[c+144>>2]=v[a+120>>2];v[c+148>>2]=b;b=v[a+132>>2];v[c+152>>2]=v[a+128>>2];v[c+156>>2]=b;b=v[a+140>>2];v[c+160>>2]=v[a+136>>2];v[c+164>>2]=b;b=v[a+148>>2];v[c+168>>2]=v[a+144>>2];v[c+172>>2]=b;v[c+176>>2]=v[a+152>>2];b=v[a+156>>2];v[b+368>>2]=0;v[b+360>>2]=3;c=v[b+148>>2];v[b+36>>2]=v[b+144>>2];v[b+40>>2]=c;v[b+372>>2]=v[b+484>>2];c=v[b+156>>2];v[b+44>>2]=v[b+152>>2];v[b+48>>2]=c;c=v[b+164>>2];v[b+52>>2]=v[b+160>>2];v[b+56>>2]=c;c=v[b+172>>2];v[b+60>>2]=v[b+168>>2];v[b+64>>2]=c;v[b+68>>2]=v[b+176>>2];v[b+364>>2]=v[b+480>>2];c=v[b+148>>2];v[b+72>>2]=v[b+144>>2];v[b+76>>2]=c;c=v[b+156>>2];v[b+80>>2]=v[b+152>>2];v[b+84>>2]=c;c=v[b+164>>2];v[b+88>>2]=v[b+160>>2];v[b+92>>2]=c;c=v[b+172>>2];v[b+96>>2]=v[b+168>>2];v[b+100>>2]=c;v[b+104>>2]=v[b+176>>2];v[b+140>>2]=v[b+176>>2];c=v[b+172>>2];v[b+132>>2]=v[b+168>>2];v[b+136>>2]=c;c=v[b+164>>2];v[b+124>>2]=v[b+160>>2];v[b+128>>2]=c;c=v[b+156>>2];v[b+116>>2]=v[b+152>>2];v[b+120>>2]=c;c=v[b+148>>2];v[b+108>>2]=v[b+144>>2];v[b+112>>2]=c;u[b+352>>1]=1;v[b+348>>2]=65537;u[b+298>>1]=16384;u[b+300>>1]=0;u[b+302>>1]=16384;u[b+304>>1]=0;v[b+316>>2]=1;u[b+294>>1]=16384;u[b+296>>1]=0;v[b+308>>2]=1;v[b+448>>2]=0;v[b+16>>2]=0;b=Ea[v[v[b>>2]+708>>2]](b)|0;c=v[a+156>>2];if(w[c+593|0]?b:0){break b}t[d|0]=w[d|0]|w[c+344|0]<<5|4}if(v[f+64>>2]==40){b=0;if(w[v[a+156>>2]+643|0]){break b}}b=v[a+136>>2]+(x[a+128>>1]<<3)|0;c=b-32|0;e=v[c+4>>2];v[a+68>>2]=v[c>>2];v[a+72>>2]=e;c=b-24|0;e=v[c+4>>2];v[a+76>>2]=v[c>>2];v[a+80>>2]=e;c=b-16|0;e=v[c+4>>2];v[a+180>>2]=v[c>>2];v[a+184>>2]=e;b=b-8|0;c=v[b+4>>2];v[a+188>>2]=v[b>>2];v[a+192>>2]=c;b=0}return b}function aG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0;o=c;q=d;n=v[b+8>>2];a:{b:{if(!n){break b}a=(e|0)!=0;r=(e|0)<1?0-a|0:a;if((n|0)>=1){u=r;w=r>>31;s=v[b+20>>2];c:{if((r|0)<=-1){h=o;g=q;while(1){d=0;i=o;b=q;a=0;while(1){c=g;k=B(d,56)+s|0;l=k;f=v[l>>2];t=v[l+8>>2]+f|0;l=v[l+12>>2]+v[l+4>>2]|0;l=f>>>0>t>>>0?l+1|0:l;f=t;if((c|0)>(l|0)?1:(c|0)>=(l|0)?f>>>0<h>>>0:0){c=!a|((b|0)<(l|0)?1:(b|0)<=(l|0)?f>>>0>i>>>0:0);a=c?k:a;i=c?f:i;b=c?l:b}d=d+1|0;if((n|0)!=(d|0)){continue}break}p=a?a:p;a=u;c=a+i|0;g=b+w|0;g=a>>>0>c>>>0?g+1|0:g;h=c;e=e-r|0;if(e){continue}break}break c}if(!e){l=n&-2;t=n&1;i=o;b=q;e=0;while(1){d=0;h=o;g=q;c=0;a=l;if((n|0)!=1){while(1){k=B(d,56)+s|0;f=k;m=v[f>>2];j=v[f+4>>2];f=j;if((b|0)>(f|0)?1:(f|0)<=(b|0)?m>>>0<i>>>0:0){f=(c|0)!=0&((g|0)>(j|0)?1:(g|0)>=(j|0)?h>>>0>m>>>0:0);h=f?h:m;g=f?g:j;c=f?c:k}k=B(d|1,56)+s|0;f=k;m=v[f>>2];j=v[f+4>>2];f=j;if((b|0)>(f|0)?1:(f|0)<=(b|0)?m>>>0<i>>>0:0){f=(c|0)!=0&((g|0)>(j|0)?1:(g|0)>=(j|0)?h>>>0>m>>>0:0);h=f?h:m;g=f?g:j;c=f?c:k}d=d+2|0;a=a-2|0;if(a){continue}break}}d:{if(!t){break d}k=i;d=B(d,56)+s|0;a=d;i=v[a>>2];f=v[a+4>>2];if((f|0)>(b|0)?1:(f|0)>=(b|0)?k>>>0<=i>>>0:0){break d}a=(c|0)!=0&((f|0)<(g|0)?1:(f|0)<=(g|0)?h>>>0>i>>>0:0);h=a?h:i;g=a?g:f;c=a?c:d}p=c?c:p;a=u;c=a+h|0;b=g+w|0;b=a>>>0>c>>>0?b+1|0:b;i=c;e=e-r|0;if(e){continue}break}break c}l=n&-2;t=n&1;i=o;b=q;while(1){d=0;h=o;g=q;c=0;a=l;if((n|0)!=1){while(1){k=B(d,56)+s|0;f=k;m=v[f>>2];j=v[f+4>>2];f=j;if((b|0)<(f|0)?1:(f|0)>=(b|0)?m>>>0>i>>>0:0){f=!c|((g|0)>(j|0)?1:(g|0)>=(j|0)?h>>>0>m>>>0:0);c=f?k:c;h=f?m:h;g=f?j:g}k=B(d|1,56)+s|0;f=k;m=v[f>>2];j=v[f+4>>2];f=j;if((b|0)<(f|0)?1:(f|0)>=(b|0)?m>>>0>i>>>0:0){f=!c|((g|0)>(j|0)?1:(g|0)>=(j|0)?h>>>0>m>>>0:0);c=f?k:c;h=f?m:h;g=f?j:g}d=d+2|0;a=a-2|0;if(a){continue}break}}e:{if(!t){break e}k=i;d=B(d,56)+s|0;a=d;i=v[a>>2];f=v[a+4>>2];if((f|0)<(b|0)?1:(f|0)<=(b|0)?k>>>0>=i>>>0:0){break e}a=!c|((f|0)<(g|0)?1:(f|0)<=(g|0)?h>>>0>i>>>0:0);c=a?d:c;h=a?i:h;g=a?f:g}p=c?c:p;a=g+w|0;b=u;c=b+h|0;i=c;b=b>>>0>c>>>0?a+1|0:a;e=e-r|0;if(e){continue}break}}if(!p){break b}b=v[p>>2];a=b-o|0;b=v[p+4>>2]-(q+(b>>>0<o>>>0)|0)|0;break a}while(1){e=e-r|0;if(e){continue}break}}a=0;b=0}P(b|0);return a|0}function cz(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;k=3;a:{if((d|0)<0){break a}j=v[a+8>>2];f=v[a+12>>2];i=x[f+2>>1];if((e|0)<0|y[j+4>>2]<i+d>>>0){break a}f=x[f>>1];if(y[j>>2]<f+e>>>0){break a}i=B(i,w[a+18|0]);if(B(i+7>>>3|0,f)+b>>>0>c>>>0){break a}a=d>>>3|0;h=v[j+8>>2];j=v[j+12>>2];c=(a+B(h,e)|0)+j|0;g=d&7;if(g){k=0;if(!f){break a}if(i>>>0>=8){while(1){d=0;e=i;a=c;while(1){j=a;k=b;d=w[b|0]|d;t[a|0]=w[a|0]|d>>>g;l=e;e=e-8|0;a=a+1|0;b=b+1|0;d=d<<8;if((l|0)>15){continue}break}if((l|0)>8){d=w[k+1|0]&65280>>>e|d;b=k+2|0}t[a|0]=w[a|0]|d>>>g;if((e+g|0)>=9){t[j+2|0]=w[j+2|0]|d<<8>>>g}c=c+h|0;a=f;f=a-1|0;k=0;if((a|0)>1){continue}break a}}d=65280>>>i|0;if(g+i>>>0>=9){if(!i){break a}if((h|0)!=1){if(f&1){a=d&w[b|0];t[c|0]=w[c|0]|a>>>g;t[c+1|0]=w[c+1|0]|a<<8>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){e=d&w[b|0];t[c|0]=w[c|0]|e>>>g;t[c+1|0]=w[c+1|0]|e<<8>>>g;c=c+h|0;e=d&w[b+1|0];t[c|0]=w[c|0]|e>>>g;t[c+1|0]=w[c+1|0]|e<<8>>>g;b=b+2|0;c=c+h|0;e=(a|0)>2;a=a-2|0;if(e){continue}break}break a}e=w[j+(a+e|0)|0];if(f&1){a=d&w[b|0];t[c|0]=a>>>g|e;e=w[c+1|0]|a<<8>>>g;t[c+1|0]=e;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){f=e;e=d&w[b|0];t[c|0]=f|e>>>g;e=w[c+1|0]|e<<8>>>g;t[c+1|0]=e;c=c+h|0;f=d&w[b+1|0];t[c|0]=e|f>>>g;e=w[c+1|0]|f<<8>>>g;t[c+1|0]=e;b=b+2|0;c=c+h|0;f=(a|0)>2;a=a-2|0;if(f){continue}break}break a}if(!i){break a}if(f&1){t[c|0]=w[c|0]|(d&w[b|0])>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){t[c|0]=w[c|0]|(d&w[b|0])>>>g;c=c+h|0;t[c|0]=w[c|0]|(d&w[b+1|0])>>>g;b=b+2|0;c=c+h|0;e=(a|0)>2;a=a-2|0;if(e){continue}break}break a}k=0;if(!f){break a}if(i>>>0>=8){while(1){a=f;d=i;f=c;while(1){e=b;t[f|0]=w[b|0]|w[f|0];j=d;d=d-8|0;f=f+1|0;b=b+1|0;if((j|0)>15){continue}break}if((j|0)>8){t[f|0]=w[f|0]|w[e+1|0]&65280>>>d;b=e+2|0}c=c+h|0;f=a-1|0;if((a|0)>1){continue}break a}}if(!i){break a}d=65280>>>i|0;e=f-1|0;a=f&3;if(a){while(1){t[c|0]=w[c|0]|d&w[b|0];c=c+h|0;f=f-1|0;b=b+1|0;a=a-1|0;if(a){continue}break}}if(e>>>0<3){break a}while(1){t[c|0]=w[c|0]|d&w[b|0];a=c+h|0;t[a|0]=w[a|0]|d&w[b+1|0];a=a+h|0;t[a|0]=w[a|0]|d&w[b+2|0];a=a+h|0;t[a|0]=w[a|0]|d&w[b+3|0];b=b+4|0;c=a+h|0;a=(f|0)>4;f=f-4|0;if(a){continue}break}}return k|0}function ut(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=Ca-16|0;Ca=h;a:{b:{e=c-b|0;c:{if((e|0)<1){break c}g=c;d:{e:{f:{g:{h:{i:{i=a+72|0;switch(w[i+w[b|0]|0]-5|0){case 17:case 19:break e;case 2:break g;case 1:break h;case 0:break i;default:break f}}f=-2;if((e|0)<2){break a}if(!(Ea[v[a+340>>2]](a,b)|0)){break f}e=b+2|0;break d}f=-2;if((e|0)<3){break a}if(!(Ea[v[a+344>>2]](a,b)|0)){break f}e=b+3|0;break d}f=-2;if((e|0)<4){break a}if(!(Ea[v[a+348>>2]](a,b)|0)){break f}e=b+4|0;break d}v[d>>2]=b;f=0;break a}e=b+1|0}f=g-e|0;if((f|0)<1){break c}while(1){g=c;j:{k:{l:{m:{n:{o:{switch(w[i+w[e|0]|0]-5|0){case 0:if((f|0)<2){f=-2;break a}if(!(Ea[v[a+328>>2]](a,e)|0)){break n}e=e+2|0;break j;case 1:if((f|0)<3){f=-2;break a}if(!(Ea[v[a+332>>2]](a,e)|0)){break n}e=e+3|0;break j;case 2:if((f|0)<4){f=-2;break a}if(!(Ea[v[a+336>>2]](a,e)|0)){break n}e=e+4|0;break j;case 4:case 5:case 16:f=11;v[h+12>>2]=11;p:{if((e-b|0)!=3){break p}g=t[b|0];if((g|0)==120){g=0}else{if((g|0)!=88){break p}g=1}j=t[b+1|0];if((j|0)!=109){if((j|0)!=77){break p}g=1}b=t[b+2|0];if((b|0)==76){break n}if((b|0)!=108){break p}if(g){break n}f=12;v[h+12>>2]=12}e=e+1|0;b=c-e|0;if((b|0)<1){break c}while(1){q:{r:{switch(w[i+w[e|0]|0]){case 5:if((b|0)<2){f=-2;break a}if(Ea[v[a+352>>2]](a,e)|0){break b}b=e+2|0;break q;case 6:if((b|0)<3){f=-2;break a}if(Ea[v[a+356>>2]](a,e)|0){break b}b=e+3|0;break q;case 7:if((b|0)<4){f=-2;break a}if(Ea[v[a+360>>2]](a,e)|0){break b}b=e+4|0;break q;case 15:b=e+1|0;if((c-b|0)<1){break c}if(w[b|0]!=62){break q}v[d>>2]=e+2;break a;case 0:case 1:case 8:break b;default:break r}}b=e+1|0}e=b;b=c-e|0;if((b|0)>0){continue}break};break c;case 17:case 19:case 20:case 21:case 22:break k;case 24:break n;case 10:break o;default:break l}}v[h+12>>2]=11;a=1;s:{if((e-b|0)!=3){break s}f=t[b|0];if((f|0)==120){f=0}else{if((f|0)!=88){break s}f=1}g=t[b+1|0];if((g|0)!=109){if((g|0)!=77){break s}f=1}b=t[b+2|0];if((b|0)!=108){if((b|0)!=76){break s}a=0;break s}a=0;if(f){break s}v[h+12>>2]=12;a=1}if(a){break m}}v[d>>2]=e;f=0;break a}f=-1;a=e;e=e+1|0;if((c-e|0)<1){break a}if(w[a+1|0]!=62){break l}v[d>>2]=a+2;f=v[h+12>>2];break a}v[d>>2]=e;f=0;break a}e=e+1|0}f=g-e|0;if((f|0)>0){continue}break}}f=-1;break a}v[d>>2]=e;f=0}Ca=h+16|0;return f}function LL(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;v[a+64>>2]=0;v[a+1140>>2]=b;v[a+1344>>2]=a+1140;j=a+112|0;v[a+1136>>2]=j;d=b+c|0;v[a+1148>>2]=d;v[a+1144>>2]=b;k=160;a:{if((c|0)<1){break a}c=j;while(1){e=b+1|0;f=22;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{g=w[b|0];switch(g-1|0){case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 13:case 14:case 20:case 21:case 29:case 30:break a;case 11:break j;case 12:break k;case 9:break f;case 10:break g;case 1:case 15:case 16:case 17:case 18:case 19:case 22:case 23:case 24:case 25:case 26:case 27:case 28:break h;default:break i}}f=2;break f}if(e>>>0>=d>>>0){break a}e=b+2|0;g=20;f=4;switch(w[b+1|0]-7|0){case 5:break e;case 0:break f;default:break a}}if((g|0)==255){break d}}if(g>>>0<32){break a}l:{if(g>>>0<=246){b=g-139|0;break l}f=b+2|0;if(f>>>0>d>>>0){break a}if(g>>>0<=250){b=(w[e|0]|g<<8)-63124|0}else{b=64148-(w[e|0]|g<<8)|0}e=f}b=i?b:b<<16;f=(i|0)!=0;break c}f=24}g=f;if(i){break a}}b=v[(g<<2)+301056>>2];if((b|0)>c-j>>2){return 161}c=c-(b<<2)|0;b=a;m:{n:{switch(g-2>>>1|0){case 1:v[a+64>>2]=1;v[a+32>>2]=v[c>>2]+v[a+32>>2];v[a+36>>2]=v[c+4>>2]+v[a+36>>2];v[a+40>>2]=v[c+8>>2];a=v[c+12>>2];break m;case 9:n=c,o=ab(v[c>>2],v[c+4>>2]),v[n>>2]=o;c=c+4|0;i=0;b=e;break b;case 10:b=v[c>>2]>>16;d=v[a+1376>>2];if(d){b=Mc(b,d);if(!b){break a}b=v[b>>2]}if((b|0)<0|v[a+1364>>2]<=(b|0)|(h|0)>15){break a}d=B(h,12)+a|0;v[d+1140>>2]=e;f=d+1156|0;g=b<<2;l=g+v[a+1368>>2]|0;b=v[l>>2];v[f>>2]=b;e=d+1152|0;h=h+1|0;m=(B(h,12)+a|0)+1148|0;d=v[a+1372>>2];o:{if(d){d=v[d+g>>2]+b|0;break o}d=b;b=v[a+1360>>2];b=d+((b|0)>0?b:0)|0;v[f>>2]=b;d=v[l+4>>2]}v[m>>2]=d;v[e>>2]=b;if(!b){break a}v[a+1344>>2]=e;break b;case 11:if((h|0)<1){break a}h=h-1|0;b=B(h,12)+a|0;d=v[b+1148>>2];e=b+1140|0;b=v[e>>2];v[a+1344>>2]=e;break b;case 0:break n;default:break a}}v[a+64>>2]=1;v[a+32>>2]=v[c>>2]+v[a+32>>2];v[a+40>>2]=v[c+4>>2];a=0}v[b+44>>2]=a;k=0;break a}e=b+5|0;if(d>>>0<e>>>0){break a}b=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b+32e3>>>0>=64001){f=1;if(!i){break c}break a}b=i?b:b<<16;f=(i|0)!=0}i=f;if((c-j|0)>1020){break a}v[c>>2]=b;c=c+4|0;b=e}v[a+1136>>2]=c;if(b>>>0<d>>>0){continue}break}}return k|0}function ze(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Ca-112|0;Ca=c;a:{if(a){while(1){b:{c:{switch(x[a>>1]){case 0:v[c>>2]=v[a+8>>2];Za(499343,c);break a;case 1:A[c+16>>3]=A[a+8>>3];Kb(499346,c+16|0);break a;case 2:v[c+32>>2]=v[a+8>>2];Za(499349,c+32|0);break a;case 3:Rb(91);ze(v[v[a+8>>2]>>2]);Rb(32);ze(v[v[a+8>>2]+4>>2]);Za(499354,0);ze(v[v[a+8>>2]+8>>2]);Rb(32);ze(v[v[a+8>>2]+12>>2]);Rb(93);Ca=c+112|0;return;case 4:a=v[a+8>>2];d=A[a>>3];A[c+56>>3]=A[a+8>>3];A[c+48>>3]=d;Kb(499357,c+48|0);break a;case 5:v[c+64>>2]=v[a+8>>2]?499366:499371;Za(498948,c- -64|0);break a;case 6:uc(499674);break a;case 7:Za(499377,0);Vl(v[a+8>>2]);Rb(10);break a;case 8:uc(499670);break a;case 9:f=c,g=_c(v[a+8>>2]),v[f+80>>2]=g;Za(499386,c+80|0);d:{switch(v[a+12>>2]){case 0:Za(499390,0);break a;case 1:break d;default:break a}}Za(499401,0);break a;case 10:v[c+96>>2]=v[a+8>>2];Za(498948,c+96|0);break a;case 19:ze(v[a+8>>2]);Za(499409,0);ze(v[v[a+12>>2]+8>>2]);Za(499417,0);a=v[a+12>>2]+12|0;break b;case 11:case 12:case 13:case 14:case 15:case 16:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 36:ze(v[a+8>>2]);Rb(32);e=a+8|0;b=499089;e:{f:{g:{switch(x[a>>1]-11|0){case 1:b=499096;break f;case 2:b=499118;break f;case 3:b=499110;break f;case 4:b=499131;break f;case 5:b=499138;break f;case 9:b=499172;break f;case 10:b=499175;break f;case 11:Za(499179,0);b=499185;if(t[a+2|0]&1){break f}break e;case 12:Za(499201,0);b=499185;if(t[a+2|0]&1){break f}break e;case 16:b=499210;break f;case 17:b=499215;break f;case 18:b=499225;break f;case 19:b=499230;break f;case 13:b=499240;break f;case 14:Za(499322,0);b=499185;if(t[a+2|0]&1){break f}break e;case 15:b=499249;break f;case 20:b=499261;break f;case 21:b=499266;break f;case 22:b=499272;break f;case 23:b=499278;break f;case 0:break f;case 25:break g;default:break e}}b=499293}Za(b,0)}Rb(32);a=e+4|0;break b;case 35:Za(499425,0);a=a+8|0;break b;case 37:Za(499430,0);a=a+8|0;break b;case 38:Za(499437,0);a=a+8|0;break b;case 39:Za(499443,0);a=a+8|0;break b;case 40:Za(499450,0);a=a+8|0;break b;case 41:break c;default:break a}}Za(499330,0);break a}a=v[a>>2];if(a){continue}break}}Za(499338,0)}Ca=c+112|0}function Dk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ca-16|0;Ca=f;v[a+4>>2]=c;v[a>>2]=b;if(c){v[a+416>>2]=v[c+124>>2];v[a+420>>2]=v[c+128>>2];v[a+428>>2]=v[c+136>>2];v[a+432>>2]=v[c+140>>2];v[a+424>>2]=v[c+132>>2];v[a+436>>2]=v[c+144>>2];v[a+216>>2]=v[c+120>>2];d=v[c+80>>2];v[a+248>>2]=v[c+76>>2];v[a+252>>2]=d;d=v[c+88>>2];v[a+256>>2]=v[c+84>>2];v[a+260>>2]=d;d=v[c+96>>2];v[a+264>>2]=v[c+92>>2];v[a+268>>2]=d;d=v[c+104>>2];v[a+272>>2]=v[c+100>>2];v[a+276>>2]=d;d=v[c+112>>2];v[a+280>>2]=v[c+108>>2];v[a+284>>2]=d;d=v[c+44>>2];e=v[d+4>>2];v[a+220>>2]=v[d>>2];v[a+224>>2]=e;e=v[d+12>>2];v[a+228>>2]=v[d+8>>2];v[a+232>>2]=e;e=v[d+20>>2];v[a+236>>2]=v[d+16>>2];v[a+240>>2]=e;v[a+244>>2]=v[d+24>>2];v[a+440>>2]=v[c+148>>2];v[a+444>>2]=v[c+152>>2];d=v[c+160>>2];v[a+464>>2]=v[c+156>>2];v[a+468>>2]=d;d=v[c+168>>2];v[a+472>>2]=v[c+164>>2];v[a+476>>2]=d;d=v[c+176>>2];v[a+480>>2]=v[c+172>>2];v[a+484>>2]=d;Ta(a+288|0,c+180|0,68);v[a+388>>2]=v[c+248>>2];v[a+392>>2]=v[c+252>>2];u[a+488>>1]=x[c+256>>1];v[a+492>>2]=v[c+260>>2];d=v[c+268>>2];v[a+180>>2]=v[c+264>>2];v[a+184>>2]=d;d=v[c+276>>2];v[a+188>>2]=v[c+272>>2];v[a+192>>2]=d;d=v[c+284>>2];v[a+196>>2]=v[c+280>>2];v[a+200>>2]=d;d=v[c+292>>2];v[a+204>>2]=v[c+288>>2];v[a+208>>2]=d;v[a+212>>2]=v[c+296>>2];Ra(a+36|0,0,108)}e=v[a+8>>2];a:{b:{c:{c=x[b+284>>1]+32|0;d=v[a+20>>2];d:{if(c>>>0<=d>>>0){c=d;break d}i=a,j=Ua(e,1,d<<2,c<<2,v[a+24>>2],f+8|0),v[i+24>>2]=j;e=v[f+8>>2];if(e){break c}e=v[a+8>>2]}v[a+20>>2]=c;c=x[b+286>>1];b=v[a+408>>2];if(c>>>0<=b>>>0){c=b;break b}i=a,j=Ua(e,1,b,c,v[a+412>>2],f+12|0),v[i+412>>2]=j;e=v[f+12>>2];if(!e){break b}v[a+408>>2]=b;break a}v[a+20>>2]=d;break a}e=0;v[a+152>>2]=0;v[a+408>>2]=c;b=v[a+148>>2];c=v[a+144>>2];v[a+72>>2]=c;v[a+76>>2]=b;v[a+108>>2]=c;v[a+112>>2]=b;v[a+36>>2]=c;v[a+40>>2]=b;d=v[a+164>>2];b=d;c=v[a+160>>2];v[a+88>>2]=c;v[a+92>>2]=d;g=v[a+172>>2];d=g;h=v[a+168>>2];v[a+96>>2]=h;v[a+100>>2]=d;g=v[a+176>>2];v[a+104>>2]=g;v[a+124>>2]=c;v[a+128>>2]=b;v[a+132>>2]=h;v[a+136>>2]=d;v[a+140>>2]=g;v[a+52>>2]=c;v[a+56>>2]=b;v[a+60>>2]=h;v[a+64>>2]=d;v[a+68>>2]=g;b=v[a+156>>2];c=v[a+152>>2];v[a+80>>2]=c;v[a+84>>2]=b;v[a+116>>2]=c;v[a+120>>2]=b;v[a+44>>2]=c;v[a+48>>2]=b;t[a+520|0]=0}Ca=f+16|0;return e}function VO(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,u=0,z=0,A=0,C=0,D=0,E=0,F=0;a:{b:{c:{if(!(t[b+35|0]&1)){break c}C=v[c+20>>2]>-1?1:-1;s=1;while(1){q=v[b+76>>2];z=q+u|0;d:{if(!q){k=z;break d}p=v[b+96>>2];m=v[b+88>>2];k=z;a=q;while(1){n=0;h=0;f=0;d=a;j=B(d-1|0,20);e=j+m|0;e:{if((w[e+19|0]&254)!=8){if(!E){break e}g=v[e+4>>2];k=k-1|0;f=B(k,20);d=f+m|0;v[d>>2]=v[e>>2];v[d+4>>2]=g;v[d+16>>2]=v[e+16>>2];g=v[e+12>>2];v[d+8>>2]=v[e+8>>2];v[d+12>>2]=g;d=f+p|0;f=j+p|0;v[d+16>>2]=v[f+16>>2];e=v[f+12>>2];v[d+8>>2]=v[f+8>>2];v[d+12>>2]=e;e=v[f+4>>2];v[d>>2]=v[f>>2];v[d+4>>2]=e;break e}f:{while(1){g=d-1|0;e=B(g,20)+m|0;if((w[e+19|0]&254)==8){j=0;d=v[c+72>>2];d=Ea[v[d+168>>2]](c,v[c+76>>2],v[e>>2],v[d+32>>2])|0;e=w[e+19|0];i=(e|0)==8;n=(i?d:0)+n|0;f=(i?0:d)+f|0;h=((e|0)!=8)+h|0;i=0;e=0;d=g;if(d){continue}break f}break}e=d;i=0;g:{while(1){j=e-1|0;l=B(j,20);g=l+m|0;if((w[g+19|0]&254)==8){break g}r=x[g+16>>1];if(!(1<<r&125893836?1:w[g+12|0]&16?0:r&32)){break g}i=v[p+l>>2]+i|0;e=j;if(e){continue}break}e=0}j=d}g=B(i-n|0,C);n=0;l=g;i=B(f,C);d=0;h:{if((i|0)<1){break h}d=0;if((g|0)<=(i|0)){break h}d=((g|0)/(i|0)|0)-1|0}f=d+1|0;i:{if((l|0)<=(B(f,i)|0)){f=d;break i}if((h|0)<1){f=d;break i}d=B(i,d+2|0)-g|0;if((d|0)<1){break i}n=(d|0)/(B(f,h)|0)|0}d=j+1|0;if(s){u=B(f,h)+u|0;a=d;break e}if(a-e>>>0>=2){Mb(b,e,a)}if(a>>>0<=j>>>0){a=d;break e}r=f+1|0;f=0;while(1){a=a-1|0;e=B(a,20);g=e+m|0;h=v[c+72>>2];F=Ea[v[h+168>>2]](c,v[c+76>>2],v[g>>2],v[h+32>>2])|0;D=w[g+19|0]==9?r:1;if(D){i=e+p|0;l=i;e=0;while(1){f=(f-F|0)+(e?n:0)|0;v[l+8>>2]=f;k=k-1|0;o=B(k,20);h=o+m|0;v[h+16>>2]=v[g+16>>2];A=v[g+12>>2];v[h+8>>2]=v[g+8>>2];v[h+12>>2]=A;A=v[g+4>>2];v[h>>2]=v[g>>2];v[h+4>>2]=A;h=p+o|0;v[h+16>>2]=v[i+16>>2];o=v[l+12>>2];v[h+8>>2]=v[l+8>>2];v[h+12>>2]=o;o=v[i+4>>2];v[h>>2]=v[i>>2];v[h+4>>2]=o;e=e+1|0;if((D|0)!=(e|0)){continue}break}}if(a>>>0>j>>>0){continue}break}a=d}a=a-1|0;if(a){continue}break}}if(s){s=0;E=1;a=u+q|0;if(!a|a>>>0<y[b+84>>2]){continue}if(Le(b,a)){continue}break c}break}if(k){break b}v[b+76>>2]=z}a=t[b+168|0];if((a|0)>=0){break a}t[b+168|0]=a&127;return}O(260564,260571,588,260601);L()}O(260627,257128,163,260612);L()}
|
||
function jn(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;p=b+48|0;l=c;q=v[a+64>>2];r=v[a+60>>2];f=Ca-48|0;Ca=f;a:{b:{i=v[a+16>>2];c:{if(v[i>>2]){while(1){k=v[i+200>>2];if(!zw(f,0,i,p,l,d,q,r)){e=280448;break c}c=k;if(c){while(1){d:{h=v[c>>2];if(!lw(h+16|0,f)){break d}n=v[h+40>>2];if((n|0)!=v[f+24>>2]){break d}if(n){o=v[h+36>>2];m=v[f+20>>2];if(v[o>>2]!=v[m>>2]|v[o+4>>2]!=v[m+4>>2]){break d}e=0;s=1;while(1){e:{f:{g:{g=e<<4;j=g+o|0;if(!v[j+8>>2]){j=v[j+12>>2];g=g+m|0;if(!v[g+8>>2]){break g}if((j|0)!=-1){break f}break e}g=g+m|0;if(v[g+8>>2]|v[g+12>>2]!=-1){break f}break e}if((j|0)==-1^v[g+12>>2]==-1){break e}}e=e+1|0;s=n>>>0>e>>>0;if((e|0)==(n|0)){break e}g=e<<4;j=g+o|0;g=g+m|0;if(v[j>>2]!=v[g>>2]){break e}if(v[j+4>>2]==v[g+4>>2]){continue}}break}if(s){break d}}if((w[h+44|0]|w[h+45|0]<<8|(w[h+46|0]<<16|w[h+47|0]<<24))!=(w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24))|(w[h+48|0]|w[h+49|0]<<8|(w[h+50|0]<<16|w[h+51|0]<<24))!=(w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24))|v[h+52>>2]!=v[f+36>>2]){break d}e=v[c>>2];if(!e){e=0;break c}c=v[e>>2];if(!c){break c}if((c|0)<=0){break b}v[e>>2]=c+1;break c}c=v[c+4>>2];if(c){continue}break}}e=yw(i,p,l,d,q,r);c=eb(1,8);if(!c){break c}v[c+4>>2]=k;v[c>>2]=e;if((k|0)==v[i+200>>2]){v[i+200>>2]=c;if(!e){e=0;break c}c=v[e>>2];if(!c){break c}if((c|0)<=0){break b}v[e>>2]=c+1;break c}pn(e);Pa(c);if(v[i>>2]){continue}break}}e=yw(i,p,l,d,q,r)}Ca=f+48|0;c=e;break a}O(279868,279893,262,279908);L()}h:{i:{if(!v[b+76>>2]){break i}j:{k:{if(v[b+4>>2]){if(v[b+44>>2]==1){if(!v[e>>2]){break h}if(v[e+12>>2]==v[a+16>>2]){if(lw(e+16|0,b+48|0)){k=v[e+52>>2];if((k|0)!=568){break k}if(v[a+88>>2]){break j}while(1){if(!v[a+84>>2]){break h}if(!v[a+88>>2]){v[a+88>>2]=1;break j}if(!v[a+88>>2]){continue}break}break j}O(279658,279516,411,279588);L()}O(279620,279516,410,279588);L()}O(279727,279838,356,279853);L()}O(279555,279516,403,279588);L()}if((k|0)!=569){break h}l:{if(v[a+92>>2]){break l}while(1){if(!v[a+84>>2]){break h}if(!v[a+92>>2]){v[a+92>>2]=1;break l}if(!v[a+92>>2]){continue}break}}if(!gx(e,a,b,l,d)){break h}break i}if(!Bw(e,a,b,l,d)){break h}}if(v[b+44>>2]!=1){break h}v[b+44>>2]=2}pn(c)}function kN(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;e=Ca-48|0;Ca=e;a:{b:{if(!Wa(b,298564)){f=6;if(d){break b}d=v[c>>2];b=0;c=291660;while(1){if(!((d|0)!=v[c+8>>2]|v[c+16>>2]!=10)){c=b;break a}c=b+1|0;g=v[(c<<2)+293760>>2];if(v[g+16>>2]==10?(d|0)==v[g+8>>2]:0){break a}c=b+2|0;g=v[(c<<2)+293760>>2];if(v[g+16>>2]==10?(d|0)==v[g+8>>2]:0){break a}b=b+3|0;c=v[(b<<2)+293760>>2];if((b|0)!=87){continue}break}break b}c:{d:{if(!Wa(b,298580)){f=6;if(d){break b}v[a+16>>2]=v[c>>2];break d}if(!Wa(b,298595)){f=6;if(d){break b}b=v[c>>2];if(!b){f=35;break b}d=v[b+116>>2];v[e+16>>2]=d;if(!d){f=yj(b,e+16|0,a);if(f){break b}d=v[e+16>>2];v[b+116>>2]=d;v[b+120>>2]=598}v[d+20>>2]=v[c+4>>2];break d}e:{f:{if(!Wa(b,298613)){if(d){b=jc(c,e+12|0,10);d=v[e+12>>2];if(w[d|0]!=44|(c|0)==(d|0)){break c}d=d+1|0;l=e,m=jc(d,e+12|0,10),v[l+20>>2]=m;c=v[e+12>>2];if(w[c|0]!=44){break c}if((c|0)!=(d|0)){break f}break c}b=v[c>>2];break e}f=12;if(Wa(b,298634)){break b}if(d){f=0;if(!jc(c,0,10)){t[a+20|0]=0;break b}t[a+20|0]=1;break b}t[a+20|0]=w[c|0];break d}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+24>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break c}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+28>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break c}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+32>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break c}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+36>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break c}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+40>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break c}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+44>>2]=m;f=v[e+12>>2];if((w[f|0]|32)!=32){break c}c=e+16|0;if((d|0)!=(f|0)){break e}f=6;break b}f=6;if((b|0)<0){break b}d=v[c+8>>2];if((d|0)<0){break b}g=v[c+16>>2];if((g|0)<0){break b}h=v[c+24>>2];if((h|0)<0){break b}i=v[c+4>>2];if((i|0)<0){break b}j=v[c+12>>2];if((j|0)<0){break b}k=v[c+20>>2];if((k|0)<0){break b}c=v[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|(g|0)>(h|0))){break b}if((i|0)>500|(j|0)>500|((k|0)>500|(c|0)>500)){break b}v[a+48>>2]=h;v[a+36>>2]=j;v[a+24>>2]=b;v[a+52>>2]=c;v[a+44>>2]=k;v[a+40>>2]=g;v[a+32>>2]=d;v[a+28>>2]=i}f=0;break b}f=6}Ca=e+48|0;return f|0}v[a+12>>2]=c;Ca=e+48|0;return 0}function sC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Ca-16|0;Ca=j;i=v[c>>2];v[j+12>>2]=0;d=8;e=a+5|0;a:{if(e>>>0>b>>>0){break a}f=w[a+3|0];h=w[a+4|0];a=v[c+92>>2];d=h+a|0;if(d>>>0>y[c+96>>2]){g=a;a=d+3&-4;o=c,p=Ua(i,36,g,a,v[c+100>>2],j+12|0),v[o+100>>2]=p;d=v[j+12>>2];if(d){break a}v[c+96>>2]=a}d=8;a=b;b=f&4;i=f&1;k=f&2;m=f&8;l=f&16;if(a>>>0<B((b>>>2|0)+(k?i+9|0:i|8)+(m>>>3)+(l>>>4)|0,h)+e>>>0){break a}n=v[c+92>>2];b:{if(!h){break b}a=v[c+100>>2]+B(n,36)|0;if(!b){b=0;while(1){f=a;c:{if(i){d=e+2|0;g=w[e+1|0]|w[e|0]<<8;break c}d=e+1|0;g=w[e|0]}v[f>>2]=g;f=a;d:{if(k){e=d+2|0;g=w[d+1|0]|w[d|0]<<8;break d}e=d+1|0;g=w[d|0]}v[f+4>>2]=g;v[a+8>>2]=w[e|0];v[a+20>>2]=w[e+2|0]|w[e+1|0]<<8;e:{if(m){d=w[e+4|0]<<8|w[e+3|0]<<16;g=e+5|0;f=e+6|0;break e}g=e+4|0;d=w[e+3|0]<<8;f=e+5|0}v[a+24>>2]=w[g|0]|d;g=a;f:{if(l){e=f+2|0;f=w[f+1|0]|w[f|0]<<8;break f}e=f+1|0;f=w[f|0]}v[g+28>>2]=f;a=a+36|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}break b}if(!m){d=0;while(1){f=a;g:{if(i){b=e+2|0;g=w[e+1|0]|w[e|0]<<8;break g}b=e+1|0;g=w[e|0]}v[f>>2]=g;h:{if(k){e=w[b+1|0]|w[b|0]<<8;b=b+2|0;break h}e=w[b|0];b=b+1|0}v[a+4>>2]=e;v[a+8>>2]=w[b|0];v[a+20>>2]=w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16);v[a+24>>2]=w[b+5|0]|w[b+4|0]<<8;f=a;i:{if(l){e=b+8|0;b=w[b+7|0]|w[b+6|0]<<8;break i}e=b+7|0;b=w[b+6|0]}v[f+28>>2]=b;a=a+36|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break b}b=0;if(!i){while(1){v[a>>2]=w[e|0];f=a;j:{if(k){d=e+3|0;g=w[e+2|0]|w[e+1|0]<<8;break j}d=e+2|0;g=w[e+1|0]}v[f+4>>2]=g;v[a+8>>2]=w[d|0];v[a+20>>2]=w[d+3|0]|(w[d+2|0]<<8|w[d+1|0]<<16);v[a+24>>2]=w[d+6|0]|(w[d+5|0]<<8|w[d+4|0]<<16);f=a;k:{if(l){e=d+9|0;g=w[d+8|0]|w[d+7|0]<<8;break k}e=d+8|0;g=w[d+7|0]}v[f+28>>2]=g;a=a+36|0;b=b+1|0;if((h|0)!=(b|0)){continue}break b}}while(1){v[a>>2]=w[e+1|0]|w[e|0]<<8;f=a;l:{if(k){d=e+4|0;g=w[e+3|0]|w[e+2|0]<<8;break l}d=e+3|0;g=w[e+2|0]}v[f+4>>2]=g;v[a+8>>2]=w[d|0];v[a+20>>2]=w[d+3|0]|(w[d+2|0]<<8|w[d+1|0]<<16);v[a+24>>2]=w[d+6|0]|(w[d+5|0]<<8|w[d+4|0]<<16);f=a;m:{if(l){e=d+9|0;g=w[d+8|0]|w[d+7|0]<<8;break m}e=d+8|0;g=w[d+7|0]}v[f+28>>2]=g;a=a+36|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}}v[c+92>>2]=h+n;d=v[j+12>>2]}Ca=j+16|0;return d|0}function lb(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;c=a;while(1){m=t[c|0];if((m|0)!=13?m-9>>>0<4|(m|0)==32:1){c=c+1|0;continue}break}d=c+1|0;d=(m|0)==45?d:(m|0)==43?d:c;c=0;g=-1;e=-1;while(1){a:{l=t[d|0];b:{if(l-48>>>0>=10){if((l|0)!=46|(g|0)!=-1){break a}g=c;break b}e=(l|0)!=48?(e|0)==-1?c:e:e}c=c+1|0;d=d+1|0;continue}break}h=(e|0)==-1?c:e;e=(g|0)!=-1;j=h-(e&g>>>0<h>>>0)|0;e=c-e|0;e=e-j>>>0>18?j+18|0:e;n=0;c:{if(!e){break c}l=l&255;a=(g|0)==-1?c:g;o=a>>>0<e>>>0;q=a-e|0;p=e-a|0;c=(h-c|0)+d|0;d:{e:{f:{g:{j=e-j|0;if((j|0)>=10){a=j-9|0;h=a&1;if((j|0)!=10){break g}a=0;break f}a=0;e=j;if((e|0)>0){break e}k=0;break d}g=a&-2;a=0;while(1){f=w[c|0];if((f|0)!=46){c=c+1|0}else{f=w[c+1|0];c=c+2|0}e=(B(a,10)+(f<<24>>24)|0)-48|0;a=c;f=w[c|0];if((f|0)!=46){c=a+1|0}else{f=w[a+1|0];c=a+2|0}a=(B(e,10)+(f<<24>>24)|0)-48|0;g=g-2|0;if(g){continue}break}}e=9;if(!h){break e}f=w[c|0];if((f|0)!=46){c=c+1|0}else{f=w[c+1|0];c=c+2|0}a=(B(a,10)+(f<<24>>24)|0)-48|0}g=0;while(1){f=w[c|0];if((f|0)!=46){c=c+1|0}else{f=w[c+1|0];c=c+2|0}g=(B(g,10)+(f<<24>>24)|0)-48|0;h=(e|0)>1;e=e-1|0;if(h){continue}break}i=+(g|0);k=+(a|0)}c=o?p:q;k=k*1e9+i;h:{i:{j:{if((l|32)!=101){h=o;a=d;break j}a=d+1|0;h=0;k:{l:{switch(w[d+1|0]-43|0){case 2:a=d+2|0;h=1;break k;case 0:break l;default:break k}}a=d+2|0}r=(h|0)!=(o|0);m:{if(!r){d=0;if(c>>>0>511){break m}d=((511-c&65535)>>>0)/10|0;break m}d=(c>>>0)/10|0;d=((((c-B(d,10)|0)+511&65535)>>>0)/10|0)+d|0}q=d;e=0;f=t[a|0];g=f-48|0;n:{if(g>>>0>9){d=0;break n}p=0;d=0;while(1){if(!(p?0:d>>>0<=q>>>0)){while(1){d=t[a+1|0];c=a+1|0;a=c;if(d-48>>>0<=9){continue}break}a=c;break i}l=a+1|0;e=B(d,10)+g|0;d=(47-f>>>0)/10>>>0<d>>>0;f=t[a+1|0];g=f-48|0;if(g>>>0>9){a=l}else{p=(d|0)!=0;d=e;a=l;continue}break}}if(r){if(!(d?0:c>>>0>e>>>0)){c=e-c|0;break j}c=c-e|0}else{c=c+e|0}h=o}if(c>>>0<512){break h}}c=511;if(k==0){break h}v[164114]=68}d=4016;if(!(!h|c>>>0<309)){i=1;if(j){e=4016;d=j;while(1){i=d&1?i*A[e>>3]:i;e=e+8|0;d=d>>>1|0;if(d){continue}break}}k=k/i;d=4096;h=0;c=c-j|0}i=1;if(c){while(1){i=c&1?i*A[d>>3]:i;d=d+8|0;c=c>>>1|0;if(c){continue}break}}n=k/i;if(h){break c}n=k*i}k=n;if(b){v[b>>2]=a}return(m|0)==45?-k:k}function fk(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=v[a+88>>2];v[c>>2]=0;a:{b:{if(w[a+848|0]){g=v[a+844>>2];f=v[a+828>>2];break b}v[a+828>>2]=0;v[a+832>>2]=0;v[a+836>>2]=0;v[a+840>>2]=0;v[a+844>>2]=0;v[a+848>>2]=0;j=8;d=x[a+152>>1];if(!d){break a}f=v[a+156>>2];d=f+(d<<4)|0;m=v[a+104>>2];while(1){c:{if(v[f>>2]==1111770656){e=v[f+12>>2];if(e){break c}}f=f+16|0;if(d>>>0>f>>>0){continue}break a}break}if(Ya(m,v[f+8>>2])|e>>>0<8){break a}k=a+828|0;if(Jc(m,e,k)){break a}f=v[a+828>>2];v[a+832>>2]=e+f;d:{e:{if((w[f+1|0]|w[f|0]<<8)!=1){break e}d=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);h=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(h>>>0<8){break e}d=w[f+3|0];g=d|w[f+2|0]<<8;if(e>>>0<h+1>>>0|g>>>0>h-8>>>2>>>0){break e}v[a+840>>2]=e-h;n=f+h|0;v[a+836>>2]=n;v[a+844>>2]=g;e=f+8|0;j=e+(g<<2)|0;f:{if(!g){break f}o=g-1|0;i=d&3;g:{if(!i){d=g;break g}d=g;h=e;while(1){d=d-1|0;j=B(w[h+3|0]|w[h+2|0]<<8,10)+j|0;e=h+4|0;h=e;i=i-1|0;if(i){continue}break}}if(o>>>0<3){break f}while(1){j=(((B(w[e+3|0]|w[e+2|0]<<8,10)+j|0)+B(w[e+7|0]|w[e+6|0]<<8,10)|0)+B(w[e+11|0]|w[e+10|0]<<8,10)|0)+B(w[e+15|0]|w[e+14|0]<<8,10)|0;e=e+16|0;d=d-4|0;if(d){continue}break}}if(j>>>0<=n>>>0){break d}}Qb(m,k);v[k+16>>2]=0;v[k+20>>2]=0;v[k+8>>2]=0;v[k+12>>2]=0;v[k>>2]=0;v[k+4>>2]=0;return 8}t[a+848|0]=1}j=6;if(!l|!b){break a}n=Xa(b);if(!n|!g){break a}f=f+8|0;e=f+(g<<2)|0;d=x[l+14>>1];while(1){h=w[f+3|0]|w[f+2|0]<<8;if((d|0)==(w[f+1|0]|w[f|0]<<8)){if(!h){break a}while(1){h:{o=w[e+5|0];if(!(o&16)){break h}i=v[a+840>>2];d=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(i>>>0<=d>>>0){break h}g=i-d|0;if(g>>>0<=n>>>0){break h}l=w[e+6|0]|w[e+7|0]<<8|(w[e+8|0]<<16|w[e+9|0]<<24);m=d;d=v[a+836>>2];if($a(b,m+d|0,g)){break h}g=l<<8&16711680|l<<24|(l>>>8&65280|l>>>24);i:{switch(o&15){case 0:case 1:if(g>>>0>=i>>>0){break h}d=d+g|0;if(!we(d,0,i)){break h}v[c+4>>2]=d;v[c>>2]=1;return 0;case 2:v[c+4>>2]=g;v[c>>2]=2;return 0;case 3:break i;default:break h}}v[c+4>>2]=g;v[c>>2]=3;return 0}e=e+10|0;h=h-1|0;if(h){continue}break}break a}f=f+4|0;e=B(h,10)+e|0;g=g-1|0;if(g){continue}break}}return j|0}function Wk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a){return 35}f=v[a+96>>2];if(!f){return 6}i=v[f+8>>2];a:{b:{j=v[f+12>>2];d=v[j+44>>2];c:{if((d|0)<=0){h=6;g=i;if(!d){break c}break b}e=Ea[v[i+4>>2]](i,d)|0;if(!e){h=64;break b}Ra(e,0,d);f=v[a+96>>2];g=v[f+8>>2];j=v[f+12>>2]}v[e+4>>2]=a;v[e>>2]=v[f+4>>2];h=64;d:{d=Ea[v[g+4>>2]](g,44)|0;e:{if(!d){break e}c=d;t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+36|0]=0;t[c+37|0]=0;t[c+38|0]=0;t[c+39|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;v[e+156>>2]=c;if(!(w[v[f>>2]+1|0]&2)){c=Ea[v[g+4>>2]](g,96)|0;if(!c){break e}Ra(c+4|0,0,92);v[c>>2]=g;v[d>>2]=c}d=v[j+64>>2];if(!d){break d}h=Ea[d|0](e)|0;if(!h){break d}}c=v[v[e+4>>2]+96>>2];g=v[c+8>>2];a=v[v[c+12>>2]+68>>2];if(a){Ea[a|0](e)}f=v[e+156>>2];f:{if(!f){v[e+88>>2]=0;break f}b=v[f+4>>2];g:{if(b&1){d=v[e+88>>2];if(d){a=v[v[e+4>>2]+100>>2];Ea[v[a+8>>2]](a,d);f=v[e+156>>2];b=v[f+4>>2]}v[e+88>>2]=0;v[f+4>>2]=b&-2;break g}v[e+88>>2]=0}if(!(w[v[c>>2]+1|0]&2)){c=v[f>>2];if(c){d=v[c>>2];a=v[c+24>>2];if(a){Ea[v[d+8>>2]](d,a)}v[c+24>>2]=0;a=v[c+28>>2];if(a){Ea[v[d+8>>2]](d,a)}v[c+28>>2]=0;a=v[c+32>>2];if(a){Ea[v[d+8>>2]](d,a)}v[c+32>>2]=0;a=v[c+40>>2];if(a){Ea[v[d+8>>2]](d,a)}v[c+40>>2]=0;a=v[c+52>>2];if(a){Ea[v[d+8>>2]](d,a)}v[c+20>>2]=0;v[c+36>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+12>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+88>>2]=0;a=v[c+24>>2];v[c+56>>2]=v[c+20>>2];v[c+60>>2]=a;a=v[c+32>>2];b=c- -64|0;v[b>>2]=v[c+28>>2];v[b+4>>2]=a;a=v[c+40>>2];v[c+72>>2]=v[c+36>>2];v[c+76>>2]=a;a=v[c+48>>2];v[c+80>>2]=v[c+44>>2];v[c+84>>2]=a;Ea[v[d+8>>2]](d,c);f=v[e+156>>2]}v[f>>2]=0}Ea[v[g+8>>2]](g,f);v[e+156>>2]=0}Ea[v[i+8>>2]](i,e);return h}v[e+8>>2]=v[a+84>>2];v[a+84>>2]=e;h=0;if(!b){break a}v[b>>2]=e;break a}if(!b){break a}v[b>>2]=0;return h}return h}function Pu(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=Ca-80|0;Ca=e;v[e+48>>2]=22028288;hb(a,4,365035,e+48|0);v[e+32>>2]=365078;hb(a,4,365060,e+32|0);a:{b:{if(hv(e+76|0)){v[e+16>>2]=365147;hb(a,0,365137,e+16|0);break b}b=e+72|0;c=v[e+76>>2];if(c){d=v[c+12>>2];f=v[c+8>>2];c=v[c+4>>2]}else{c=0}if(b){v[b>>2]=c}c=e+68|0;if(c){v[c>>2]=f}c=e- -64|0;if(c){v[c>>2]=d}v[e>>2]=v[e+72>>2];v[e+4>>2]=v[e+68>>2];v[e+8>>2]=v[e+64>>2];hb(a,6,365164,e);c=eb(1,968);if(!c){Qm(v[e+76>>2]);c=0;break b}v[c>>2]=a;b=v[e+76>>2];v[c+764>>2]=447564;v[c+4>>2]=b;b=v[111892];v[c+788>>2]=0;v[c+792>>2]=0;v[c+768>>2]=16;v[c+796>>2]=0;v[c+800>>2]=0;v[c+804>>2]=0;v[c+808>>2]=0;v[c+812>>2]=0;b=Ee(32,1<<(b<<1),0);v[c+816>>2]=b;if(!b){break b}b=eb(1,36);c:{if(b){v[b+16>>2]=364700;v[b>>2]=65535;v[b+12>>2]=b+8;d=eb(65535,4);v[b+4>>2]=d;if(d){break c}Pa(b)}b=0}v[c+736>>2]=b;b=eb(1,36);d:{if(b){v[b+16>>2]=364728;v[b>>2]=65535;v[b+12>>2]=b+8;d=eb(65535,4);v[b+4>>2]=d;if(d){break d}Pa(b)}b=0}v[c+744>>2]=b;b=eb(1,36);e:{if(b){v[b+16>>2]=364756;v[b>>2]=65535;v[b+12>>2]=b+8;d=eb(65535,4);v[b+4>>2]=d;if(d){break e}Pa(b)}b=0}v[c+748>>2]=b;b=eb(1,36);f:{if(b){v[b+16>>2]=364784;v[b>>2]=65535;v[b+12>>2]=b+8;d=eb(65535,4);v[b+4>>2]=d;if(d){break f}Pa(b)}b=0}v[c+740>>2]=b;if(!v[c+736>>2]|!v[c+744>>2]|(!v[c+748>>2]|!b)){break b}v[c+760>>2]=67108864;v[c+752>>2]=1e4;v[c+756>>2]=134217728;v[c+732>>2]=16;v[c+724>>2]=1024;v[c+728>>2]=64;v[c+700>>2]=0;b=eb(16,84);v[c+696>>2]=b;d=eb(1024,352);v[c+680>>2]=d;f=eb(64,24);v[c+688>>2]=f;if(!d|(!b|!f)){break b}v[c+96>>2]=2;v[c+32>>2]=0;v[c+36>>2]=1072693248;b=eb(52,1);g:{if(b){v[b+24>>2]=64;d=eb(16,5);v[b+32>>2]=d;if(d){v[b+28>>2]=5;v[d+76>>2]=-1;v[d+60>>2]=-1;v[d+64>>2]=1668049255;v[d+44>>2]=-1;v[d+48>>2]=1818847073;v[d+28>>2]=-1;v[d+32>>2]=1801810542;v[d+12>>2]=-1;v[d+16>>2]=1986752097;v[d>>2]=1986359924;f=eb(1,36);h:{if(f){v[f+16>>2]=364812;v[f>>2]=65535;v[f+12>>2]=f+8;g=eb(65535,4);v[f+4>>2]=g;if(g){break h}Pa(f)}f=0}v[b+40>>2]=f;if(f){break g}}Kg(0);Pa(d);Pa(b)}b=0}v[c+116>>2]=b;if(!b){break b}b=Ca-16|0;Ca=b;v[b>>2]=227705;hb(a,4,446192,b);Ca=b+16|0;v[c+92>>2]=1;hb(a,6,365190,0);break a}hb(a,1,365202,0);oj(c);c=0}Ca=e+80|0;return c}function wd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ca-16|0;Ca=e;v[e+8>>2]=0;a:{b:{c:{d:{f=v[a+8>>2];if(y[a+4>>2]<=f+3>>>0){break d}e:{f:{d=v[a+20>>2];if(d){if((Ea[d|0](a,f,e+12|0,4)|0)!=4){break d}f=v[a+8>>2];d=v[e+8>>2];g=e+12|0;break f}d=v[a>>2];if(d){g=d+f|0;d=0;break f}g=f+4|0;v[a+8>>2]=g;b=!b;break e}h=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);g=f+4|0;v[a+8>>2]=g;if(d){break a}b=(h<<8&16711680|h<<24|(h>>>8&65280|h>>>24))==(b|0)}d=2;if(!b){break a}v[e+8>>2]=0;if(y[a+4>>2]<=f+7>>>0){break d}b=v[a+20>>2];g:{if(!b){v[a+8>>2]=g+4;break g}if((Ea[b|0](a,g,e+12|0,4)|0)!=4){break d}d=v[e+8>>2];g=v[a+8>>2];v[a+8>>2]=g+4;if(d){break a}}f=g+20|0;b=v[a+20>>2];h:{if(b){d=85;if(Ea[b|0](a,f,0,0)|0){break a}b=v[a+4>>2];break h}d=85;b=v[a+4>>2];if(f>>>0>b>>>0){break a}}v[a+8>>2]=f;v[e+8>>2]=0;if(g+21>>>0>=b>>>0){break d}b=v[a+20>>2];i:{if(b){if((Ea[b|0](a,f,e+12|0,2)|0)!=2){break d}f=v[a+8>>2];d=v[e+8>>2];b=e+12|0;break i}b=v[a>>2];if(!b){break c}d=0;b=b+f|0}g=w[b|0]|w[b+1|0]<<8;b=f+2|0;v[a+8>>2]=b;if(d){break a}d=2;i=(g<<8|g>>>8)&65535;if(!i){break a}g=0;v[e+8>>2]=0;j:{if(y[a+4>>2]<=f+5>>>0){break j}while(1){k:{l:{m:{n:{o:{d=v[a+20>>2];p:{if(d){if((Ea[d|0](a,b,e+12|0,4)|0)!=4){break j}b=v[a+8>>2];f=e+12|0;d=v[e+8>>2];break p}d=v[a>>2];if(!d){break o}f=b+d|0;d=0}j=w[f+3|0];k=w[f+2|0];l=w[f+1|0];f=w[f|0];h=b+4|0;v[a+8>>2]=h;if(d){break a}if((l<<16|f<<24|k<<8|j)!=2){break n}v[e+8>>2]=0;q:{if(y[a+4>>2]<=b+7>>>0){break q}d=v[a+20>>2];if(d){if((Ea[d|0](a,h,e+12|0,4)|0)!=4){break q}f=!v[e+8>>2];h=v[a+8>>2];d=e+12|0;break m}d=v[a>>2];if(d){d=d+h|0;f=1;break m}v[a+8>>2]=b+8;b=0;break l}v[e+8>>2]=85;break k}v[a+8>>2]=b+4}b=b+12|0;r:{d=v[a+20>>2];if(d){if(!(Ea[d|0](a,b,0,0)|0)){break r}d=85;break a}if(b>>>0<=y[a+4>>2]){break r}d=85;break a}v[a+8>>2]=b;v[e+8>>2]=0;break k}b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+8>>2]=h+4;if(!f){break k}b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24)}Ob(a,e+8|0);if(v[e+8>>2]){break k}v[c>>2]=b;d=0;break a}g=g+1|0;if((i|0)==(g|0)){break b}b=v[a+8>>2];v[e+8>>2]=0;if(y[a+4>>2]>b+3>>>0){continue}break}}d=85;break a}d=85;v[e+8>>2]=85;break a}v[a+8>>2]=g+22}d=2}Ca=e+16|0;return d}function Ov(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;if(!(w[a+16|0]&8)){e=B(c,204)+b|0;p=v[e+200>>2];g=v[e+204>>2]+Qa(v[a>>2],p)|0;f=Qa(v[a+4>>2],p);a:{b:{c:{d:{e:{switch(c|0){case 1:if(w[d+121|0]){break d}break b;case 0:if(!w[d+120|0]){break b}m=w[d+122|0]!=0;break;default:break e}}v[a+12>>2]=f;j=a+12|0;break c}q=w[d+123|0];v[a+12>>2]=f;r=v[a>>2];o=w[b+2492|0];m=2;e=v[b+412>>2];f:{g:{if(!e){break g}k=v[a+4>>2]+r|0;h=b+416|0;n=v[b+2488>>2];l=0-n|0;while(1){i=k-v[h+12>>2]|0;if((i|0)<(l|0)){break g}if((k|0)<=(n+v[h+8>>2]|0)){if(!o){e=0;if((i|0)>v[b+2484>>2]){break f}}s=v[h+16>>2];m=3;e=1;break f}h=h+32|0;e=e-1|0;if(e){continue}break}}e=0}j=v[b+928>>2];h:{if(!j){k=0;break h}k=0;n=v[b+2488>>2];l=0-n|0;h=((j<<5)+b|0)+932|0;while(1){i=v[h-24>>2]-r|0;if((l|0)>(i|0)){break h}if((v[h-20>>2]-n|0)>(r|0)){h=h-32|0;j=j-1|0;if(j){continue}break h}break}if(!(v[b+2484>>2]<=(i|0)?o:1)){break h}k=v[h-16>>2];e=m}j=a+12|0;m=(q|0)!=0;i:{switch(e-1|0){case 1:v[a+8>>2]=k;if(!q){break a}v[a+12>>2]=(f|0)<64?64:f+32&-64;break a;case 2:v[a+8>>2]=k;v[a+12>>2]=s-k;break a;case 0:break i;default:break c}}v[a+8>>2]=s-f;if(!q){break a}b=(f|0)<64?64:f+32&-64;v[a+12>>2]=b;v[a+8>>2]=s-b;break a}e=v[a+20>>2];if(e){if(!(w[e+16|0]&8)){Ov(e,b,c,d)}g=((v[e+8>>2]-(f>>1)|0)+(v[e+12>>2]>>1)|0)+Qa((v[a>>2]-(v[e>>2]+(v[e+4>>2]>>1)|0)|0)+(v[a+4>>2]>>1)|0,p)|0}v[a+12>>2]=f;o=a;e=f;j:{if(!w[d+124|0]){break j}if((f|0)<=64){if((f|0)>=32){g=(f>>>1|0)+g&-64;e=64;break j}b=g+32&-64;if((f|0)<1){g=b;e=f;break j}e=b-g|0;l=e>>31;c=f+g|0;d=c+32&-64;c=d-c|0;g=c>>31;g=(l^e+l)>>>0>(g^c+g)>>>0?d:b;e=f;break j}b=v[(B(c,204)+b|0)+12>>2];c=f-b|0;d=c>>31;if((d^c+d)>>>0<=39){f=b;e=54;if((f|0)<49){break j}}if((f|0)<=191){c=f&63;e=f;if(c>>>0<10){break j}b=f&-64;e=b|10;if(c>>>0<=31){break j}e=f;if(c>>>0>53){break j}e=b|54;break j}e=f+32&-64}b=e;v[o+12>>2]=b;i=(g+32&-64)-g|0;f=i>>31;c=b+g|0;d=(c+32&-64)-c|0;c=d>>31;c=((f^f+i)>>>0>(c^c+d)>>>0?d:i)+g|0;v[a+8>>2]=c;if(!m){break a}e=(b|0)<64?64:b+32&-64;v[j>>2]=e;d=e>>1;v[a+12>>2]=e;v[a+8>>2]=(e&64?c+d&-64|32:(c+d|0)+32&-64)-d;break a}v[a+12>>2]=f;v[a+8>>2]=g}v[a+16>>2]=v[a+16>>2]|8}}function Ql(a,b,c,d,e,f,g){var h=0,i=0,j=0;h=Ca-16|0;Ca=h;a:{b:{if((b|0)==(c|0)){v[d>>2]=0;break b}v[h+12>>2]=b;v[h+4>>2]=h+11;Ea[v[a+56>>2]](a,h+12|0,c,h+4|0,h+12|0)|0;c:{i=(v[h+4>>2]==(h+11|0)?-1:t[h+11|0])-9|0;d:{if(i>>>0>23|!(1<<i&8388627)){break d}i=h+12|0;while(1){e:{b=v[a+64>>2]+b|0;v[h+12>>2]=b;v[h+4>>2]=h+11;Ea[v[a+56>>2]](a,h+12|0,c,h+4|0,i)|0;j=(v[h+4>>2]==(h+11|0)?-1:t[h+11|0])-9|0;if(j>>>0>23){break e}if(1<<j&8388627){continue}}break}if((b|0)==(c|0)){v[d>>2]=0;break b}v[d>>2]=b;i=h+12|0;f:{g:{while(1){h:{v[h+12>>2]=b;v[h+4>>2]=h+11;Ea[v[a+56>>2]](a,h+12|0,c,h+4|0,i)|0;i:{j:{k:{j=v[h+4>>2]==(h+11|0)?-1:t[h+11|0];switch(j+1|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 12:case 13:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:break i;case 10:case 11:case 14:case 33:break k;case 0:break d;default:break j}}v[e>>2]=b;e=h+12|0;while(1){b=v[a+64>>2]+b|0;v[h+12>>2]=b;v[h+4>>2]=h+11;Ea[v[a+56>>2]](a,h+12|0,c,h+4|0,e)|0;i=v[h+4>>2]==(h+11|0)?-1:t[h+11|0];j=i-9|0;if(j>>>0>23){break g}if(1<<j&8388627){continue}break}break g}if((j|0)==61){break h}}b=v[a+64>>2]+b|0;continue}break}v[e>>2]=b;break f}if((i|0)!=61){break d}}if(v[d>>2]!=(b|0)){break c}}v[g>>2]=b;a=0;break a}d=v[a+64>>2]+b|0;v[h+12>>2]=d;v[h+4>>2]=h+11;i=h+12|0;Ea[v[a+56>>2]](a,h+12|0,c,h+4|0,i)|0;b=v[h+4>>2]==(h+11|0)?-1:t[h+11|0];while(1){l:{m:{e=b-9|0;if(e>>>0<=30){if(1<<e&8388627){break l}if(1<<e&1107296256){break m}}v[g>>2]=d;a=0;break a}d=v[a+64>>2]+d|0;v[f>>2]=d;v[h+12>>2]=d;v[h+4>>2]=h+11;f=h+12|0;Ea[v[a+56>>2]](a,h+12|0,c,h+4|0,f)|0;e=v[h+4>>2]==(h+11|0)?-1:t[h+11|0];if((e|0)!=(b|0)){while(1){if(!((e&-33)-65>>>0<26|e-48>>>0<10|((e|0)==95|e-45>>>0<2))){v[g>>2]=d;a=0;break a}d=v[a+64>>2]+d|0;v[h+12>>2]=d;v[h+4>>2]=h+11;Ea[v[a+56>>2]](a,h+12|0,c,h+4|0,f)|0;e=v[h+4>>2]==(h+11|0)?-1:t[h+11|0];if((e|0)!=(b|0)){continue}break}}v[g>>2]=v[a+64>>2]+d;break b}d=v[a+64>>2]+d|0;v[h+12>>2]=d;v[h+4>>2]=h+11;Ea[v[a+56>>2]](a,h+12|0,c,h+4|0,i)|0;b=v[h+4>>2]==(h+11|0)?-1:t[h+11|0];continue}}a=1}Ca=h+16|0;return a}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;h=Ca-16|0;Ca=h;e=v[a>>2];a:{if(e>>>0>=b>>>0){break a}b:{c:{d=w[e|0];switch(d-43|0){case 0:case 2:break c;default:break b}}e=e+1|0;if((e|0)==(b|0)){break a}m=(d|0)==45;d=w[e|0];switch(d-43|0){case 0:case 2:break a;default:break b}}d:{if((d|0)==46){d=e;break d}v[h+8>>2]=e;f=Ke(h+8|0,b,10);e:{d=v[h+8>>2];if((e|0)!=(d|0)){if(w[d|0]!=35|b>>>0<=d>>>0){break e}i=d+1|0;v[h+8>>2]=i;f=Ke(h+8|0,b,f);d=v[h+8>>2];if((i|0)!=(d|0)){break e}}f=0;break a}if((d|0)==(e|0)){f=0;break a}l=(f|0)>32767;i=l?f:f<<16}f:{if(!(w[d|0]!=46|b>>>0<=d>>>0)){g=1;d=d+1|0;if(d>>>0>=b>>>0){e=0;break f}e=0;g:{if(!i){while(1){h:{f=w[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break h}}if(f<<24>>24<0|f-48>>>0>9){break f}i:{if((g|0)>214748363|(e|0)>214748363){break i}e=t[f+300928|0]+B(e,10)|0;if((c|0)>=1){c=c-1|0;break i}g=B(g,10)}d=d+1|0;if((d|0)!=(b|0)){continue}break g}}while(1){j:{f=w[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break j}}if(f<<24>>24<0|f-48>>>0>9){break f}k=t[f+300928|0]+B(e,10)|0;f=(g|0)<214748364&(e|0)<214748364;e=f?k:e;g=f?B(g,10):g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=b;break f}e=0;g=1}k:{l:{m:{n:{k=d+1|0;if(!((w[d|0]|32)!=101|k>>>0>=b>>>0)){v[h+12>>2]=k;j=Ke(h+12|0,b,10);o:{d=v[h+12>>2];if((k|0)!=(d|0)){if(w[d|0]!=35|b>>>0<=d>>>0){break o}f=d+1|0;v[h+12>>2]=f;j=Ke(h+12|0,b,j);d=v[h+12>>2];if((f|0)!=(d|0)){break o}}f=0;break a}f=0;if((d|0)==(k|0)){break a}if((j|0)>1e3){break n}b=j;j=(j|0)<-1e3;c=(j?0:b)+c|0}v[a>>2]=d;f=0;if(!(e|i)){break a}b=2147483647;if(l){break k}if(j){break a}if((c|0)<=0){break m}while(1){if((i|0)>214748363){break k}p:{if((e|0)>=214748364){if((g|0)==1){break k}g=(g|0)/10|0;break p}e=B(e,10)}i=B(i,10);a=(c|0)>1;c=c-1|0;if(a){continue}break}break l}v[a>>2]=d;b=2147483647;if(e|i){break k}break a}if((c|0)>=0){break l}while(1){a=i;i=(i|0)/10|0;q:{if((g|0)<=214748363){g=B(g,10);break q}e=(e|0)/10|0}if(!(e?0:a+9>>>0<=18)){a=c;c=c+1|0;if(a>>>0>c>>>0){break l}continue}break}break a}if(!e){b=i;break k}b=ab(e,g)+i|0}f=m?0-b|0:b}Ca=h+16|0;return f}function qk(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;h=Ca-16|0;Ca=h;v[h+8>>2]=0;m=v[v[a>>2]+28>>2];v[b>>2]=0;a:{b:{if(v[a+28>>2]){break b}v[h+12>>2]=0;c:{f=v[a+12>>2];if(f){l=w[a+16|0];j=v[a>>2];i=v[j+28>>2];f=f+1|0;r=a,s=Ua(i,4,0,f,0,h+12|0),v[r+28>>2]=s;if(v[h+12>>2]){break c}e=Ya(j,v[a+8>>2]+v[a+4>>2]|0);v[h+12>>2]=e;if(e){break c}f=B(f,l);e=vb(j,f);v[h+12>>2]=e;if(e){break c}e=v[j+32>>2];k=f+e|0;g=v[a+28>>2];d:{e:{switch(l-1|0){case 2:if((f|0)<=0){break d}while(1){v[g>>2]=w[e+2|0]|(w[e+1|0]<<8|w[e|0]<<16);g=g+4|0;e=e+3|0;if(k>>>0>e>>>0){continue}break};break d;case 1:if((f|0)<=0){break d}while(1){v[g>>2]=w[e+1|0]|w[e|0]<<8;g=g+4|0;e=e+2|0;if(k>>>0>e>>>0){continue}break};break d;case 0:if((f|0)<=0){break d}while(1){v[g>>2]=w[e|0];g=g+4|0;e=e+1|0;if(k>>>0>e>>>0){continue}break};break d;default:break e}}if((f|0)<=0){break d}while(1){f=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);v[g>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);g=g+4|0;e=e+4|0;if(k>>>0>e>>>0){continue}break}}pb(j);if(v[h+12>>2]){break c}}v[h+8>>2]=0;break b}f=v[a+28>>2];if(f){Ea[v[i+8>>2]](i,f)}v[a+28>>2]=0;g=v[h+12>>2];v[h+8>>2]=g;if(g){break a}}g=0;i=v[a+12>>2];if(!i){break a}f=v[a+24>>2];j=Ua(m,4,0,i+1|0,0,h+8|0);g=v[h+8>>2];f:{if(g){break f}p=f+i|0;g:{h:{i:{j:{if(c){e=wb(m,p,h+8|0);if(v[h+8>>2]){break g}q=v[a+32>>2];v[j>>2]=e;n=v[a+12>>2];if(n){g=1;k=0;i=0;while(1){f=g<<2;o=v[f+v[a+28>>2]>>2]-1|0;k:{if(o>>>0<i>>>0){v[f+j>>2]=(e+i|0)+k;break k}l=f+j|0;f=v[a+24>>2];f=f>>>0<o>>>0?f:o;o=(f+e|0)+k|0;v[l>>2]=o;if((f|0)!=(i|0)){n=v[l-4>>2];Ta(n,i+q|0,o-n|0);t[v[l>>2]]=0;v[l>>2]=v[l>>2]+1;n=v[a+12>>2];k=k+1|0}i=f}g=g+1|0;if(n>>>0>=g>>>0){continue}break}break j}v[b>>2]=j;break i}f=v[a+32>>2];v[j>>2]=f;e=0;k=v[a+12>>2];if(!k){break j}g=1;while(1){l=g<<2;i=v[l+v[a+28>>2]>>2]-1|0;if(i>>>0>=e>>>0){e=v[a+24>>2];e=e>>>0<i>>>0?e:i}v[j+l>>2]=e+f;g=g+1|0;if(k>>>0>=g>>>0){continue}break}e=0}v[b>>2]=j;if(!c){break h}}v[c>>2]=e}if(!d){break g}v[d>>2]=p}g=v[h+8>>2];if(!g|!e){break f}if(e){Ea[v[m+8>>2]](m,e)}g=v[h+8>>2]}if(!g|!j){break a}if(j){Ea[v[m+8>>2]](m,j)}g=v[h+8>>2]}Ca=h+16|0;return g}function Vu(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;f=Ca-48|0;Ca=f;v[f+20>>2]=0;v[f>>2]=0;v[f+4>>2]=0;i=-1;a:{if(v[b+112>>2]==10){break a}m=f+16|0;n=f+20|0;j=f+12|0;e=Ca-112|0;Ca=e;h=v[a+36>>2];k=v[b+12>>2];l=v[b+8>>2];b:{c:{d=v[b>>2];d:{if(!(!d|!w[d|0])){g=Pm(a,d,0,l,k,m,n,j,f,c);if(g){break d}}e:{g=v[a+12>>2];if(!g){break e}g=Pm(a,g,0,l,k,m,n,j,f,c);if(!g){break e}j=v[a>>2];c=v[n>>2];v[e+96>>2]=v[m>>2];v[e+100>>2]=c?c:363575;v[e+92>>2]=g;v[e+88>>2]=k;v[e+84>>2]=l;v[e+80>>2]=d;hb(j,2,363509,e+80|0);break d}f:{if(!h){break f}g=v[h+32>>2];if(!g){break f}p=v[h+40>>2];q=v[a>>2];g:{if(d){h=d;if(w[d|0]){break g}}h=363582}h=Ea[g|0](p,q,h,c)|0;if(!h){break f}g=Pm(a,h,1,l,k,m,n,j,f,c);Pa(h);if(g){break d}}g=v[a+16>>2];if(!g){break c}j=v[a+20>>2];v[m>>2]=j;h=v[a>>2];c=v[n>>2];v[e- -64>>2]=j;v[e+68>>2]=c?c:363575;v[e+60>>2]=g;v[e+56>>2]=k;v[e+52>>2]=l;v[e+48>>2]=d;hb(h,2,363588,e+48|0)}c=v[a>>2];a=v[n>>2];v[e+32>>2]=v[m>>2];v[e+36>>2]=a?a:363575;v[e+28>>2]=g;v[e+24>>2]=k;v[e+20>>2]=l;v[e+16>>2]=d;hb(c,4,363647,e+16|0);break b}a=v[a>>2];v[e+12>>2]=k;v[e+8>>2]=l;v[e+4>>2]=d;v[e>>2]=c;hb(a,2,363686,e);g=0}Ca=e+112|0;if(!g){break a}c=v[b+112>>2];if((c|0)>=1){a=0;d=v[f+12>>2];while(1){if((d|0)==v[((a<<2)+b|0)+28>>2]){hb(v[b+20>>2],4,364634,0);i=a;break a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=v[b+24>>2];c=v[b+20>>2];h:{if(v[f>>2]){a=Xu(c,a,g,f,v[f+16>>2]);break h}a=Yu(c,a,g,v[f+20>>2],v[f+16>>2])}if(!a){break a}Zu(v[b+20>>2],a);d=Qe(a,2);i:{if(!d){break i}c=u[d+76>>1];i=u[d+78>>1];g=0-i|0;if((c|0)==(g|0)){break i}u[a+70>>1]=c;u[a+74>>1]=c+i;u[a+72>>1]=g}if(!(x[a+74>>1]?x[a+70>>1]!=x[a+72>>1]:0)){c=a;j:{k:{if(!d){break k}i=x[d+70>>1];d=x[d+72>>1];if((i|0)==(d|0)){break k}u[a+72>>1]=d;u[a+70>>1]=i;h=i-d|0;break j}d=v[a- -64>>2];u[a+70>>1]=d;i=v[a+56>>2];u[a+72>>1]=i;h=d-i|0}u[c+74>>1]=h}c=v[b+112>>2];d=(c<<2)+b|0;v[d+68>>2]=a;i=v[f+12>>2];v[b+112>>2]=c+1;v[d+28>>2]=i;o=A[b+120>>3];v[f+24>>2]=1;v[f+28>>2]=0;v[f+36>>2]=0;v[f+40>>2]=0;c=f;o=hQ(o*64);l:{if(D(o)<2147483648){h=~~o;break l}h=-2147483648}v[c+32>>2]=h;Ok(a,f+24|0);i=v[b+112>>2]-1|0}Ca=f+48|0;return i}function Sh(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=Ca-48|0;Ca=i;Ca=i+48|0;a:{if(!w[a+16|0]){j=v[a>>2];m=w[280448];f=v[a+4>>2];while(1){b:{c:{d:{e:{if(!(g&1)){if(k){break b}c=v[a+12>>2];l=c+1|0;if(l>>>0>f>>>0){break b}d=m;f:{g:{if(c>>>0>=f>>>0){break g}d=w[c+j|0];if(k){break g}v[a+12>>2]=l;k=0;break f}t[a+16|0]=1;v[a+12>>2]=f;k=1}c=(d&240)>>>4|0;break e}c=d&15}switch(c-13|0){case 0:break b;case 2:break d;default:break c}}v[i+12>>2]=i+16;f=0;k=0;l=0;h:{i:{m=v[i+12>>2];c=m;h=(i+16|0)+h|0;if(c>>>0>=h>>>0){break i}c=m;while(1){d=w[c|0];if((d|0)!=32?d-9>>>0>=5:0){break i}c=c+1|0;if((h|0)!=(c|0)){continue}break}c=h;break h}if((c|0)==(h|0)){c=h;break h}g=1;j:{while(1){d=t[g+227640|0];o=g<<1;p=w[o+227408|0];j=t[c|0];if((p|0)<=(j|0)){d=(j|0)>w[o+227409|0]?d:j-p|0}d=t[(w[g+227631|0]+227440|0)+d|0];k:{if(587>>>d&1){break k}l:{switch(t[d+227659|0]-1|0){case 0:l=1;break k;case 3:q=1;break k;case 1:b=b*10+ +(j-48|0);break k;case 2:if(!(e<=450359962737049)){break k}e=e*10+ +(j-48|0);n=n+1;break k;case 4:break l;default:break k}}g=(j+B(f,10)|0)-48|0;f=g>>>0<2048?g:f;k=g>>>0>2047|k}if((d|0)==1){break j}g=t[d+227649|0];c=c+1|0;if((h|0)!=(c|0)){continue}break}c=h}m:{n:{o:{p:{if(n!=0){r=b;if(n<4294967296&n>=0){d=~~n>>>0}else{d=0}b=d&256?1e256:1;b=d&128?b*1e128:b;b=d&64?b*1e64:b;b=d&32?b*1e32:b;b=d&16?b*1e16:b;b=d&8?b*1e8:b;b=d&4?b*1e4:b;b=d&2?b*100:b;b=r+e/(d&1?b*10:b);if(l){break p}break o}if(!l){break o}}b=-b;g=1;if(!(k&1)){break m}break n}if(!(k&1)){break m}g=0}if(b==0){break h}if(q){b=g?-2.2250738585072014e-308:2.2250738585072014e-308;break h}b=g?-1.7976931348623157e308:1.7976931348623157e308;break h}if(!f){break h}e=f&256?1e256:1;e=f&128?e*1e128:e;e=f&64?e*1e64:e;e=f&32?e*1e32:e;e=f&16?e*1e16:e;e=f&8?e*1e8:e;e=f&4?e*1e4:e;e=f&2?e*100:e;e=f&1?e*10:e;if(q){b=b/e;break h}b=e*b}A[i>>3]=b;d=0;q:{if((c|0)==(m|0)){break q}v[i+12>>2]=c;d=(c|0)==(h|0)}if(!d){break b}b=A[i>>3];break a}t[(i+16|0)+h|0]=w[c+248970|0];r:{if((c|0)!=12){c=h;break r}c=h+1|0;if((c|0)==32){break b}t[(i+16|0)+c|0]=45}h=c+1|0;g=g+1|0;if(c>>>0<31){continue}}break}t[a+16|0]=1}b=0}return b}function rc(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;a:{if(v[a+20>>2]==2){m=c-b|0;if(m>>>0<2|b>>>0>=c>>>0){break a}k=v[a+88>>2];n=m&3;e=-1;d=b;l=(d^-1)+c|0;if(l>>>0>=3){i=m&-4;while(1){f=B(d,20)+k|0;j=v[f+68>>2];h=v[f+48>>2];g=v[f+28>>2];f=v[f+8>>2];f=e>>>0>f>>>0?f:e;f=f>>>0>g>>>0?g:f;f=f>>>0>h>>>0?h:f;e=f>>>0>j>>>0?j:f;d=d+4|0;i=i-4|0;if(i){continue}break}}if(n){while(1){f=v[(B(d,20)+k|0)+8>>2];e=e>>>0>f>>>0?f:e;d=d+1|0;n=n-1|0;if(n){continue}break}}if(m&1){d=B(b,20)+k|0;if(v[d+8>>2]!=(e|0)){v[a+32>>2]=v[a+32>>2]|16;v[d+4>>2]=v[d+4>>2]|1}b=b+1|0}if(!l){break a}while(1){d=B(b,20)+k|0;if(v[d+8>>2]!=(e|0)){v[a+32>>2]=v[a+32>>2]|16;v[d+4>>2]=v[d+4>>2]|1}d=B(b+1|0,20)+k|0;if(v[d+8>>2]!=(e|0)){v[a+32>>2]=v[a+32>>2]|16;v[d+4>>2]=v[d+4>>2]|1}b=b+2|0;if((c|0)!=(b|0)){continue}break}break a}i=v[a+88>>2];f=v[(i+B(b,20)|0)+8>>2];e=f;d=b+1|0;b:{if(d>>>0>=c>>>0){break b}h=(c-b|0)-2|0;j=(b^-1)+c&3;c:{if(!j){e=f;break c}e=f;while(1){g=v[(i+B(d,20)|0)+8>>2];e=e>>>0>g>>>0?g:e;d=d+1|0;j=j-1|0;if(j){continue}break}}if(h>>>0<=2){break b}while(1){g=i+B(d,20)|0;l=v[g+68>>2];j=v[g+48>>2];h=v[g+28>>2];g=v[g+8>>2];e=e>>>0>g>>>0?g:e;e=e>>>0>h>>>0?h:e;e=e>>>0>j>>>0?j:e;e=e>>>0>l>>>0?l:e;d=d+4|0;if((d|0)!=(c|0)){continue}break}}d=v[a+76>>2];d:{if(d>>>0<=c>>>0){break d}while(1){g=i+B(c,20)|0;if(v[g-12>>2]!=v[g+8>>2]){break d}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=d}h=v[a+72>>2];g=b>>>0>h>>>0?h:b;while(1){e:{d=b;if(h>>>0>=d>>>0){d=g;break e}b=d-1|0;if((f|0)==v[(i+B(b,20)|0)+8>>2]){continue}}break}f:{if((d|0)!=(h|0)){break f}b=v[a+80>>2];if(!b){break f}g=i+B(h,20)|0;f=v[a+92>>2];while(1){b=b-1|0;h=f+B(b,20)|0;a=v[h+8>>2];if((a|0)!=v[g+8>>2]){break f}if((a|0)!=(e|0)){v[h+4>>2]=v[h+4>>2]&-2}v[h+8>>2]=e;if(b){continue}break}}if(c>>>0<=d>>>0){break a}b=d+1|0;if(c-d&1){f=i+B(d,20)|0;a=f;if(v[f+8>>2]!=(e|0)){v[f+4>>2]=v[f+4>>2]&-2}v[a+8>>2]=e;d=d+1|0}if((b|0)==(c|0)){break a}while(1){b=i+B(d,20)|0;a=b;if(v[b+8>>2]!=(e|0)){v[b+4>>2]=v[b+4>>2]&-2}v[a+8>>2]=e;b=i+B(d+1|0,20)|0;a=b;if(v[b+8>>2]!=(e|0)){v[b+4>>2]=v[b+4>>2]&-2}v[a+8>>2]=e;d=d+2|0;if((d|0)!=(c|0)){continue}break}}}function Ak(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;i=Ca-16|0;Ca=i;v[i+12>>2]=0;m=v[a+100>>2];j=v[a+736>>2];a:{b:{if(!j){e=ng(a,0);v[i+12>>2]=e;if(e){break b}j=v[a+736>>2]}k=v[j+12>>2];e=v[k>>2];d=v[j+4>>2];if(!d){d=Ua(m,4,0,e,0,i+12|0);v[j+4>>2]=d;if(v[i+12>>2]){break b}}e=b>>>0>e>>>0?e:b;c:{if(!e){break c}h=e&3;if(e-1>>>0>=3){b=e&-4;while(1){f=v[c>>2];if((f|0)!=v[d>>2]){v[d>>2]=f;g=1}f=v[c+4>>2];if((f|0)!=v[d+4>>2]){v[d+4>>2]=f;g=1}f=v[c+8>>2];if((f|0)!=v[d+8>>2]){v[d+8>>2]=f;g=1}f=v[c+12>>2];if((f|0)!=v[d+12>>2]){v[d+12>>2]=f;g=1}d=d+16|0;c=c+16|0;b=b-4|0;if(b){continue}break}}if(!h){break c}while(1){b=v[c>>2];if((b|0)!=v[d>>2]){v[d>>2]=b;g=1}d=d+4|0;c=c+4|0;h=h-1|0;if(h){continue}break}}f=v[k>>2];b=v[a+4>>2];d:{if(b&2147418112){if(e>>>0>=f>>>0){break d}c=v[(v[k+16>>2]+B(b>>>16|0,12)|0)-12>>2]+(e<<2)|0;n=f+(e^-1)|0;b=f-e&3;e:{if(!b){h=e;break e}h=e;while(1){l=v[c>>2];if((l|0)!=v[d>>2]){v[d>>2]=l;g=1}d=d+4|0;c=c+4|0;h=h+1|0;b=b-1|0;if(b){continue}break}}if(n>>>0<3){break d}while(1){b=v[c>>2];if((b|0)!=v[d>>2]){v[d>>2]=b;g=1}b=v[c+4>>2];if((b|0)!=v[d+4>>2]){v[d+4>>2]=b;g=1}b=v[c+8>>2];if((b|0)!=v[d+8>>2]){v[d+8>>2]=b;g=1}b=v[c+12>>2];if((b|0)!=v[d+12>>2]){v[d+12>>2]=b;g=1}d=d+16|0;c=c+16|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break d}if(e>>>0>=f>>>0){break d}n=f+(e^-1)|0;c=v[k+12>>2]+B(e,24)|0;b=f-e&3;f:{if(!b){h=e;break f}h=e;while(1){l=v[c+8>>2];if((l|0)!=v[d>>2]){v[d>>2]=l;g=1}d=d+4|0;c=c+24|0;h=h+1|0;b=b-1|0;if(b){continue}break}}if(n>>>0<3){break d}while(1){b=v[c+8>>2];if((b|0)!=v[d>>2]){v[d>>2]=b;g=1}b=v[c+32>>2];if((b|0)!=v[d+4>>2]){v[d+4>>2]=b;g=1}b=v[c+56>>2];if((b|0)!=v[d+8>>2]){v[d+8>>2]=b;g=1}b=v[c+80>>2];if((b|0)!=v[d+12>>2]){v[d+12>>2]=b;g=1}d=d+16|0;c=c+96|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}}if(v[j+8>>2]){b=-1;if(!(g&255)){break a}}g=Ua(m,4,0,f,0,i+12|0);if(v[i+12>>2]){break b}b=v[a+736>>2];if(!w[b+24|0]){or(a);b=v[a+736>>2]}nr(b,e,v[j+4>>2],g);b=li(a,v[k>>2],g,0);v[i+12>>2]=b;if(b){break b}v[a+8>>2]=v[a+8>>2]&-32769|((e|0)!=0)<<15}if(g){Ea[v[m+8>>2]](m,g)}b=v[i+12>>2]}Ca=i+16|0;return b|0}function Vv(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;j=v[(c?16:12)+b>>2];f=v[(c?8:4)+b>>2];b=B(c,9804)+a|0;d=b+9840|0;a:{if((j|0)==v[b+9844>>2]?(f|0)==v[d>>2]:0){break a}v[d>>2]=f;v[b+9844>>2]=j;d=v[a+10064>>2];b:{if(!d){break b}b=0;while(1){if(!(w[(B(b,36)+a|0)+10100|0]&16)){b=b+1|0;if((d|0)!=(b|0)){continue}break b}break}b=Qa(v[(B(b,36)+a|0)+10080>>2],f);d=v[v[a+36>>2]+20>>2];g=x[v[v[a+4>>2]+88>>2]+12>>1];d=b+(d?g>>>0>5?d>>>0>=g>>>0?52:40:40:40)&-64;if((b|0)==(d|0)|(c|0)!=1){break b}g=fb(f,d,b);d=v[a+40>>2];b=v[a+10064>>2];c:{if(!b){break c}l=b&1;d:{if((b|0)==1){b=0;break d}e=b&-2;i=a+10068|0;b=0;while(1){h=i+B(b,36)|0;k=v[h+24>>2];d=(d|0)>(k|0)?d:k;h=0-v[h+28>>2]|0;d=(d|0)>(h|0)?d:h;h=i+B(b|1,36)|0;k=v[h+24>>2];d=(d|0)>(k|0)?d:k;h=0-v[h+28>>2]|0;d=(d|0)>(h|0)?d:h;b=b+2|0;e=e-2|0;if(e){continue}break}}if(!l){break c}b=B(b,36)+a|0;e=v[b+10092>>2];d=(d|0)>(e|0)?d:e;b=0-v[b+10096>>2]|0;d=(b|0)<(d|0)?d:b}b=g-f|0;e=Qa(d,b);b=Qa(d,b);f=((e|0)<0?0-b|0:b)>>>0<128?g:f}b=B(c,9804)+a|0;v[b+48>>2]=j;v[b+44>>2]=f;e:{if(!c){v[a+8>>2]=f;b=a+16|0;break e}v[a+12>>2]=f;b=a+20|0}v[b>>2]=j;d=B(c,9804)+a|0;i=d;if(v[d+52>>2]){b=0;while(1){g=d+B(b,12)|0;e=Qa(v[g+56>>2],f);v[g- -64>>2]=e;v[g+60>>2]=e;b=b+1|0;if(b>>>0<y[i+52>>2]){continue}break}}m=d,n=(Qa(v[d+252>>2],f)|0)<40,t[m+256|0]=n;if(!v[a+10064>>2]|(c|0)!=1){break a}d=0;while(1){b=B(d,36)+a|0;g=b+10076|0;c=b+10068|0;e=Qa(v[c>>2],f)+j|0;v[g>>2]=e;i=b+10072|0;v[i>>2]=e;e=b+10088|0;l=b+10080|0;h=Qa(v[l>>2],f)+j|0;v[e>>2]=h;v[b+10084>>2]=h;b=b+10100|0;v[b>>2]=v[b>>2]&-2;c=Qa(v[c>>2]-v[l>>2]|0,f);if(c+48>>>0<=96){h=g;g=v[i>>2]+32&-64;v[h>>2]=g;i=e;e=c>>31;e=e+c^e;e=(e|0)<32?0:(e|0)<48?32:64;v[i>>2]=g+((c|0)<0?e:0-e|0);v[b>>2]=v[b>>2]|1}d=d+1|0;c=v[a+10064>>2];if(d>>>0<c>>>0){continue}break}if(!c){break a}f=0;while(1){b=B(f,36)+a|0;j=b+10100|0;g=v[j>>2];f:{if((g&5)!=5){break f}e=b+10076|0;i=b+10088|0;b=0;while(1){d=B(b,36)+a|0;if(!((v[d+10100>>2]&5)!=1|v[d+10076>>2]>v[i>>2]|v[d+10088>>2]<v[e>>2])){v[j>>2]=g&-2;break f}b=b+1|0;if((c|0)!=(b|0)){continue}break}}f=f+1|0;if((c|0)!=(f|0)){continue}break}}}function Ic(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=v[a>>2];if(!b){k=a-88|0;b=0;while(1){d=v[k>>2];if(!d){return 280448}e=eb(1,12);a:{if(!e){if(b){break a}v[a>>2]=280448;return 280448}i=Ca-48|0;Ca=i;c=i;v[c+16>>2]=0;v[c+20>>2]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;b=Nb(d);t[c+44|0]=1;v[c+40>>2]=b;g=e;h=0;b=c+8|0;c=Jb(d,1196643650);f=Hb(c);v[b+28>>2]=f;b:{c:{d:{e:{f:{g:{while(1){t[b+20|0]=h;h=v[f+12>>2];v[b+4>>2]=h;d=v[f+16>>2];v[b+8>>2]=d+h;if((d|0)<=-1){break c}v[b+24>>2]=0;j=b;if(d>>>0>67108862){d=1073741823}else{d=d<<6;d=d>>>0>16384?d:16384;d=d>>>0<1073741823?d:1073741823}v[j+12>>2]=d;v[b>>2]=0;if(!h){Sa(f);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;break b}f=Bo(h,b);d=v[b+24>>2];h:{if(f){if(!d){break h}v[b+24>>2]=0;d=Bo(h,b);f=v[b+24>>2];Sa(v[b+28>>2]);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(f){break d}if(d){break g}break d}if(w[b+20|0]|!d){break f}d=xc(c);v[b+4>>2]=d;v[b+8>>2]=d+v[c+16>>2];f=v[b+28>>2];h=1;if(d){continue}break e}break}Sa(v[b+28>>2]);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0}if(v[c+4>>2]){v[c+4>>2]=0}break b}f=v[b+28>>2]}Sa(f);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0}Sa(c);c=280448;break b}O(229786,229811,194,229828);L()}v[g>>2]=c;g=c?c:280448;b=y[g+16>>2]<10?280448:v[g+12>>2];d=w[b+9|0]|w[b+8|0]<<8;b=d?b+d|0:280448;b=w[b|0]<<8|w[b+1|0];v[e+4>>2]=b;d=eb(b,24);v[e+8>>2]=d;if(!d){v[e+4>>2]=0;Sa(g);v[e>>2]=0;c=280448;v[e>>2]=280448;b=v[e+4>>2]}i:{if(!b){break i}b=0;while(1){c=c?c:280448;c=y[c+16>>2]<10?280448:v[c+12>>2];g=w[c+9|0]|w[c+8|0]<<8;d=v[e+8>>2]+B(b,24)|0;c=g?c+g|0:280448;if((w[c|0]<<8|w[c+1|0])>>>0>b>>>0){j=c;c=c+(b<<1)|0;c=w[c+2|0]<<8|w[c+3|0];c=c?j+c|0:280448}else{c=280448}Eo(d,c);b=b+1|0;if(b>>>0>=y[e+4>>2]){break i}c=v[e>>2];continue}}Ca=i+48|0;if(!v[a>>2]){v[a>>2]=e;return e}b=0;if(v[e+4>>2]){while(1){c=v[e+8>>2]+B(b,24)|0;Pa(v[c+20>>2]);v[c+20>>2]=0;v[c+12>>2]=0;v[c+16>>2]=0;b=b+1|0;if(b>>>0<y[e+4>>2]){continue}break}}Pa(v[e+8>>2]);c=v[e>>2];Sa(c?c:280448);Pa(e);b=v[a>>2]}if(!b){continue}break}}return b}function ev(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;e=Ca-1840|0;Ca=e;k=a;if(!(!a|!(w[a+8|0]&8))){o=x[k+340>>1]}a:{if(!(t[k+8|0]&1)){break a}b:{c:{d:{if(o>>>0>=1){while(1){e:{if(oi(k,f,e+1024|0)|x[e+1024>>1]!=3){break e}f:{switch(x[e+1030>>1]-1|0){case 0:case 3:break f;default:break e}}a=e;i=v[a+1032>>2];n=1024;d=v[a+1036>>2];g:{if((d|0)<1){break g}p=d+i|0;while(1){d=a;h:{i:{j:{a=i;l=p-a|0;if(l>>>0>=2){q=w[a|0];m=w[a+1|0]|q<<8;i=a+2|0;g=i;if((q&252)!=216){break i}l=l-2|0;if(l>>>0>=2){break j}a=i}i=a+l|0;g=65533;break h}l=w[i|0];g=65533;if((l&252)!=220){break h}m=((w[a+3|0]|l<<8)+(m<<10)|0)-56613888|0;g=a+4|0}i=g;g=(m&-1024)==56320?65533:m}a=g;if(n>>>0<5){a=d;break g}k:{if(a>>>0<=127){t[d|0]=a;g=d+1|0;break k}if(a>>>0<=2047){t[d+1|0]=a&63|128;t[d|0]=a>>>6|192;g=d+2|0;break k}if(a>>>0<=65535){t[d+2|0]=a&63|128;t[d|0]=a>>>12|224;t[d+1|0]=a>>>6&63|128;g=d+3|0;break k}g=d;if(a>>>0>1114111){break k}t[d+3|0]=a&63|128;t[d|0]=a>>>18|240;t[d+2|0]=a>>>6&63|128;t[d+1|0]=a>>>12&63|128;g=d+4|0}a=g;t[a|0]=0;n=(d-a|0)+n|0;if(i>>>0<p>>>0){continue}break}}t[a|0]=0;a=x[e+1030>>1];if(!((a|0)!=4|(j|0)>99)){a=ib(e);v[(e+1440|0)+(j<<2)>>2]=a;if(!a){break c}j=j+1|0;break e}if((a|0)!=1|(h|0)>99){break e}a=ib(e);v[(e+1040|0)+(h<<2)>>2]=a;if(!a){break c}h=h+1|0}f=f+1|0;if((o|0)!=(f|0)){continue}break}if(h){break d}}if(!b){b=v[k+20>>2];if(!b){break b}}a=ib(b);v[e+1040>>2]=a;h=1;if(!a){break b}}b=v[k+12>>2];a=Qe(k,2);l:{if(!(!a|x[a>>1]==65535)){a=x[a+4>>1];if(a){break l}}a=B(v[k+12>>2]>>>1&1,300)+400|0}v[c+32>>2]=100;v[c+28>>2]=a;f=1;v[c+24>>2]=B(b&1,110);r=c,s=Kk(k),v[r+8>>2]=s;a=eb(4,h);v[c>>2]=a;if(!a){break c}Ta(a,e+1040|0,h<<2);v[c+16>>2]=h;if(!j){break a}a=eb(4,j);v[c+4>>2]=a;if(!a){break c}Ta(a,e+1440|0,j<<2);v[c+20>>2]=j;break a}f=0;if((h|0)<=0){break b}while(1){Pa(v[(e+1040|0)+(f<<2)>>2]);f=f+1|0;if((h|0)!=(f|0)){continue}break}}f=0;if((j|0)>0){while(1){Pa(v[(e+1440|0)+(f<<2)>>2]);f=f+1|0;if((j|0)!=(f|0)){continue}break}}Pa(v[c>>2]);Pa(v[c+4>>2]);v[c>>2]=0;v[c+4>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;f=0}Ca=e+1840|0;return f}function Mr(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;d=Ca-48|0;Ca=d;a:{b:{if(!a){break b}if(!b){f=6;break a}if(u[a>>1]<1){break a}h=v[b+20>>2];i=v[b+16>>2];while(1){m=u[v[a+12>>2]+(n<<1)>>1];if((m|0)<0){break b}k=v[a+4>>2];e=k+(g<<3)|0;f=v[e+4>>2];o=(v[e>>2]<<i)-h|0;v[d+32>>2]=o;f=(f<<i)-h|0;v[d+36>>2]=f;l=k+(m<<3)|0;k=v[l>>2];q=v[l+4>>2];j=v[d+36>>2];v[d+40>>2]=v[d+32>>2];v[d+44>>2]=j;p=v[a+8>>2];j=p+g|0;g=w[j|0]&3;c:{if((g|0)==3){break c}d:{switch(g-1|0){case 1:break b;case 0:break c;default:break d}}g=(q<<i)-h|0;k=(k<<i)-h|0;e:{if((w[m+p|0]&3)==1){v[d+36>>2]=g;v[d+32>>2]=k;l=l-8|0;break e}v[d+36>>2]=(g+f|0)/2;v[d+32>>2]=(k+o|0)/2}j=j-1|0;e=e-8|0}f=Ea[v[b>>2]](d+32|0,c)|0;if(f){break a}f:{if(e>>>0<l>>>0){while(1){k=j+1|0;g=e+8|0;g:{h:{i:{switch(w[j+1|0]&3){case 1:v[d+24>>2]=(v[e+8>>2]<<i)-h;v[d+28>>2]=(v[e+12>>2]<<i)-h;e=g;j=k;f=Ea[v[b+4>>2]](d+24|0,c)|0;if(f){break a}break g;case 0:v[d+40>>2]=(v[e+8>>2]<<i)-h;v[d+44>>2]=(v[e+12>>2]<<i)-h;if(g>>>0<l>>>0){while(1){e=w[k+1|0];j=(v[g+8>>2]<<i)-h|0;v[d+24>>2]=j;f=(v[g+12>>2]<<i)-h|0;v[d+28>>2]=f;k=k+1|0;g=g+8|0;j:{e=e&3;k:{if(e){if((e|0)!=1){g=7;f=0;break h}f=Ea[v[b+8>>2]](d+40|0,d+24|0,c)|0;if(f){break k}e=g;j=k;break g}v[d+16>>2]=(j+v[d+40>>2]|0)/2;v[d+20>>2]=(f+v[d+44>>2]|0)/2;f=Ea[v[b+8>>2]](d+40|0,d+16|0,c)|0;if(!f){break j}}g=10;break h}e=v[d+28>>2];v[d+40>>2]=v[d+24>>2];v[d+44>>2]=e;if(g>>>0<l>>>0){continue}break}}f=Ea[v[b+8>>2]](d+40|0,d+32|0,c)|0;break f;default:break i}}g=7;f=0;if((w[j+2|0]&3)!=2|e+16>>>0>l>>>0){break h}v[d+24>>2]=(v[e+8>>2]<<i)-h;v[d+28>>2]=(v[e+12>>2]<<i)-h;v[d+16>>2]=(v[e+16>>2]<<i)-h;v[d+20>>2]=(v[e+20>>2]<<i)-h;g=e+24|0;if(g>>>0<=l>>>0){v[d+8>>2]=(v[e+24>>2]<<i)-h;v[d+12>>2]=(v[e+28>>2]<<i)-h;f=Ea[v[b+12>>2]](d+24|0,d+16|0,d+8|0,c)|0;if(f){g=10;break h}j=j+3|0;e=g;break g}f=Ea[v[b+12>>2]](d+24|0,d+16|0,d+32|0,c)|0;break f}if((g|0)!=7){break a}break b}if(e>>>0<l>>>0){continue}break}}f=Ea[v[b+4>>2]](d+32|0,c)|0}if(f){break a}g=m+1|0;f=0;n=n+1|0;if((n|0)<u[a>>1]){continue}break}break a}f=20}Ca=d+48|0;return f|0}function Zr(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=Ca-128|0;Ca=j;a:{b:{c:{if(!Yf(f,g,h,i,0,0,0,0)){break c}l=h;m=i&65535;o=i>>>16&32767;d:{e:{if((o|0)!=32767){n=4;if(o){break e}n=f|l|(g|m)?3:2;break d}n=!(f|l|(g|m))}}if(!n){break c}r=e>>>16|0;p=r&32767;if((p|0)!=32767){break b}}Sb(j+16|0,b,c,d,e,f,g,h,i);e=v[j+16>>2];d=v[j+20>>2];c=v[j+24>>2];b=v[j+28>>2];ui(j,e,d,c,b,e,d,c,b);d=v[j+8>>2];e=v[j+12>>2];h=v[j>>2];i=v[j+4>>2];break a}l=p<<16;n=d;q=l|e&65535;m=q;o=h;q=i>>>16&32767;k=i&65535|q<<16;if((Yf(b,c,n,m,f,g,h,k)|0)<=0){if(Yf(b,c,n,m,f,g,o,k)){h=b;i=c;break a}Sb(j+112|0,b,c,d,e,0,0,0,0);d=v[j+120>>2];e=v[j+124>>2];h=v[j+112>>2];i=v[j+116>>2];break a}if(p){i=c;h=b}else{Sb(j+96|0,b,c,n,m,0,0,0,1081540608);h=v[j+108>>2];m=h;n=v[j+104>>2];p=(h>>>16|0)-120|0;i=v[j+100>>2];h=v[j+96>>2]}if(!q){Sb(j+80|0,f,g,o,k,0,0,0,1081540608);f=v[j+92>>2];k=f;o=v[j+88>>2];q=(k>>>16|0)-120|0;g=v[j+84>>2];f=v[j+80>>2]}s=k&65535|65536;m=m&65535|65536;if((p|0)>(q|0)){while(1){k=n;l=o;t=k-l|0;l=m-((k>>>0<l>>>0)+s|0)|0;k=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;l=l-(k>>>0>t>>>0)|0;k=t-k|0;f:{if((l|0)>0?1:(l|0)>=0){m=h;h=h-f|0;i=i-((f>>>0>m>>>0)+g|0)|0;if(!(h|k|(i|l))){Sb(j+32|0,b,c,d,e,0,0,0,0);d=v[j+40>>2];e=v[j+44>>2];h=v[j+32>>2];i=v[j+36>>2];break a}l=l<<1|k>>>31;n=k<<1|i>>>31;break f}l=m<<1|n>>>31;n=n<<1|i>>>31}m=l;l=i<<1|h>>>31;h=h<<1;i=l;p=p-1|0;if((q|0)<(p|0)){continue}break}p=q}l=n;q=l-o|0;k=m-((l>>>0<o>>>0)+s|0)|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;k=k-(l>>>0>q>>>0)|0;o=q-l|0;g:{if((k|0)<0){o=n;k=m;break g}n=h;h=h-f|0;i=i-((f>>>0>n>>>0)+g|0)|0;if(h|o|(i|k)){break g}Sb(j+48|0,b,c,d,e,0,0,0,0);d=v[j+56>>2];e=v[j+60>>2];h=v[j+48>>2];i=v[j+52>>2];break a}if((k|0)==65535|k>>>0<65535){while(1){b=i>>>31|0;p=p-1|0;m=i<<1|h>>>31;h=h<<1;i=m;c=b;b=o;k=k<<1|b>>>31;o=c|b<<1;if(k>>>0<65536){continue}break}}b=r&32768;if((p|0)<=0){Sb(j- -64|0,h,i,o,k&65535|(b|p+120)<<16,0,0,0,1065811968);d=v[j+72>>2];e=v[j+76>>2];h=v[j+64>>2];i=v[j+68>>2];break a}d=o;e=k&65535|(b|p)<<16}v[a>>2]=h;v[a+4>>2]=i;v[a+8>>2]=d;v[a+12>>2]=e;Ca=j+128|0}function HO(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;if(Bb(c,b,263940,0)){Nj(b,c,2,11,-1,-1);k=v[c+76>>2];a:{if(!k){break a}f=k-1|0;a=0;d=v[c+88>>2];g=w[d+15|0];while(1){b:{if((a|0)==(f|0)){a=k;break b}a=a+1|0;if((g|0)==w[(d+B(a,20)|0)+15|0]){continue}}break}if(!k){break a}i=v[c+88>>2];e=w[i+15|0];f=0;d=k;while(1){g=a;c:{switch(e&15){case 0:case 2:d:{e:{a=f+3|0;if(g>>>0<a>>>0){break e}d=B(f,20)+i|0;if(w[d+18|0]!=16|w[d+38|0]!=18|w[d+58|0]!=4){break e}j=3;l=0;break d}j=0;a=f;l=1}d=f;f:{if(a>>>0>=g>>>0){break f}while(1){g:{d=B(a,20)+i|0;if(w[d+12|0]&32){break g}d=w[d+18|0];if(d>>>0>31|!(1<<d&727046)){break g}d=a;break f}a=a+1|0;if((g|0)!=(a|0)){continue}break}d=f}a=f;h=j+a|0;if(a>>>0<h>>>0){a=j-1|0;e=f;if(!l){while(1){t[(B(e,20)+i|0)+19|0]=5;e=e+1|0;j=j-1|0;if(j){continue}break}}if(a>>>0>6){while(1){a=B(e,20)+i|0;t[a+39|0]=5;t[a+19|0]=5;t[a+59|0]=5;t[a+79|0]=5;t[a+99|0]=5;t[a+119|0]=5;t[a+139|0]=5;t[a+159|0]=5;e=e+8|0;if((h|0)!=(e|0)){continue}break}}a=h}if(a>>>0<d>>>0){h=d+(a^-1)|0;e=d-a&7;if(e){while(1){t[(B(a,20)+i|0)+19|0]=3;a=a+1|0;e=e-1|0;if(e){continue}break}}if(h>>>0>=7){while(1){e=B(a,20)+i|0;t[e+39|0]=3;t[e+19|0]=3;t[e+59|0]=3;t[e+79|0]=3;t[e+99|0]=3;t[e+119|0]=3;t[e+139|0]=3;t[e+159|0]=3;a=a+8|0;if((d|0)!=(a|0)){continue}break}}a=d}if(a>>>0<g>>>0){t[(B(a,20)+i|0)+19|0]=4;a=a+1|0}e=5;if(a>>>0<g>>>0){while(1){d=3;j=B(a,20)+i|0;l=j;h=w[j+18|0];h:{i:{if((h|0)==22){break i}if(w[l+19|0]<4){break h}if((h|0)==30){d=w[j-1|0];break i}d=8;if(!((e|0)!=5|(h|0)!=27)){e=8;break i}if((e|0)==8){d=7;e=8;if((h|0)==10){break i}d=(h|0)==27?8:9;e=d;break i}d=e}t[l+19|0]=d}a=a+1|0;if((g|0)!=(a|0)){continue}break}}fw(c,f,g,537);i=v[c+88>>2];d=v[c+76>>2];break;default:break c}}a=g+1|0;f=a>>>0<d>>>0?d:a;h=f-1|0;e=w[(B(g,20)+i|0)+15|0];a=g;while(1){j:{if((a|0)==(h|0)){a=f;break j}a=a+1|0;if(w[(B(a,20)+i|0)+15|0]==(e&255)){continue}}break}f=g;if(k>>>0>g>>>0){continue}break}}Bb(c,b,263965,0)}a=w[c+168|0];if(a&64){k:{a=a<<24>>24;t[c+168|0]=a&191;if((a|0)>=0){break k}t[c+168|0]=a&63;return}}O(264018,263988,163,264003);L()}function iz(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,q=0,r=0,s=0,z=0,A=0;l=Ca-16|0;Ca=l;a:{b:{if(!v[c+88>>2]){v[c+100>>2]=v[d+100>>2];v[c+104>>2]=v[d+104>>2];f=v[d+80>>2];v[c+80>>2]=f;e=v[d+76>>2];t[c+94|0]=7;v[c+76>>2]=e;u[c+92>>1]=256;f=f<<2;v[c+84>>2]=f;f=B(e,f);e=ti(c,f);v[l+12>>2]=e;if(e){break a}Ra(v[c+88>>2],0,f);break b}e=v[d+104>>2];f=e-v[d+76>>2]|0;g=v[c+104>>2];h=g-v[c+76>>2]|0;i=v[d+100>>2];j=i+v[d+80>>2]|0;k=v[c+100>>2];m=k+v[c+80>>2]|0;if(!((i|0)<(k|0)|(j|0)>(m|0)|(e|0)>(g|0))){if((f|0)>=(h|0)){break b}}n=(e|0)<(g|0)?g:e;o=n-((f|0)>(h|0)?h:f)|0;i=(i|0)>(k|0)?k:i;k=((j|0)<(m|0)?m:j)-i|0;h=k<<2;j=wb(v[a+100>>2],B(o,h),l+12|0);e=v[l+12>>2];if(e){break a}c:{if(!v[c+76>>2]){break c}g=(j+B(h,n-v[c+104>>2]|0)|0)+(v[c+100>>2]-i<<2)|0;e=v[c+88>>2];f=1;while(1){g=Ta(g,e,v[c+80>>2]<<2);if(y[c+76>>2]<=f>>>0){break c}g=g+h|0;e=v[c+84>>2]+e|0;f=f+1|0;continue}}Zk(c,j);v[c+100>>2]=i;v[c+104>>2]=n;v[c+80>>2]=k;v[c+84>>2]=h;v[c+76>>2]=o;e=v[c+156>>2];v[e+4>>2]=v[e+4>>2]|1;v[c+72>>2]=1651078259}d:{if((b|0)==65535){if(w[a+676|0]){f=w[a+680|0];g=w[a+679|0];e=w[a+677|0];b=w[a+678|0];break d}h=v[a+656>>2];if(h){f=255;g=255;e=255;b=255;if(w[h+(x[a+668>>1]<<1)|0]&2){break d}}g=0;f=255;e=0;b=0;break d}a=v[a+672>>2]+(b<<2)|0;f=w[a+3|0];g=w[a+2|0];e=w[a|0];b=w[a+1|0]}a=v[d+76>>2];if(a){k=g&255;m=b&255;n=e&255;o=f&255;i=v[c+84>>2];f=(v[c+88>>2]+B(i,v[c+104>>2]-v[d+104>>2]|0)|0)+(v[d+100>>2]-v[c+100>>2]<<2)|0;h=v[d+88>>2];b=v[d+80>>2];j=0;while(1){g=0;e=0;if(b){while(1){a=g<<2;e=(a|3)+f|0;i=w[e|0];p=(a|2)+f|0;r=w[p|0];q=(a|1)+f|0;s=w[q|0];a=a+f|0;z=a;A=w[a|0];a=(B(o,w[g+h|0])>>>0)/255|0;b=255-a|0;t[z|0]=(((B(A,b)&65535)>>>0)/255|0)+(((B(a,n)&65535)>>>0)/255|0);t[q|0]=(((B(b,s)&65535)>>>0)/255|0)+(((B(a,m)&65535)>>>0)/255|0);t[p|0]=(((B(b,r)&65535)>>>0)/255|0)+(((B(a,k)&65535)>>>0)/255|0);t[e|0]=a+(((B(b,i)&65535)>>>0)/255|0);e=v[d+80>>2];g=g+1|0;if(e>>>0>g>>>0){continue}break}i=v[c+84>>2];a=v[d+76>>2]}f=f+i|0;h=v[d+84>>2]+h|0;b=e;j=j+1|0;if(j>>>0<a>>>0){continue}break}}e=0}Ca=l+16|0;return e|0}function ox(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=b;v[c>>2]=0;v[c+4>>2]=0;v[c+20>>2]=280448;v[c+16>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;c=1;a:{if(w[a+16|0]){break a}j=w[280448];k=j|256;while(1){c=v[a+12>>2];e=c+1|0;d=v[a+4>>2];if(e>>>0>d>>>0){return 1}b:{c:{if(c>>>0<d>>>0){g=v[a>>2];f=w[g+c|0];if((f|0)==12){c=k;if(d>>>0<=e>>>0){break c}f=w[e+g|0]|256;c=e}if(c>>>0>=d>>>0){c=f;break c}v[a+12>>2]=c+1;break b}t[a+16|0]=1;f=65535;c=j;if((c|0)==12){break b}}t[a+16|0]=1;v[a+12>>2]=d;f=c}d=Ca-32|0;Ca=d;v[d+28>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+12>>2]=0;v[d+16>>2]=0;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{switch(f-6|0){default:c=f-265|0;if(c>>>0>10){break i}c=1<<c;if(c&1831){break m}if(!(c&24)){break i}break;case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 16:case 17:case 18:case 19:case 20:case 21:case 22:break i;case 24:break j;case 23:break k;case 13:break l;case 4:case 5:case 14:case 15:break m;case 0:case 1:case 2:case 3:break n}}g=a+24|0;break f}g=a+24|0;c=v[g>>2];if(c){c=c-1|0;if(c>>>0<y[a+32>>2]){break g}c=v[70113];e=v[70112];v[163916]=e;v[163917]=c;v[d+24>>2]=e;v[d+28>>2]=c;break f}t[a+20|0]=1;c=v[70113];e=v[70112];v[163916]=e;v[163917]=c;v[d+24>>2]=e;v[d+28>>2]=c;break f}e=b;g=a+24|0;c=v[g>>2];o:{if(c){c=c-1|0;if(c>>>0>=y[a+32>>2]){c=v[70113];i=v[70112];v[163916]=i;v[163917]=c;l(0,i|0);l(1,c|0);h=+n();break o}h=A[v[a+36>>2]+(c<<3)>>3];break o}t[a+20|0]=1;c=v[70113];i=v[70112];v[163916]=i;v[163917]=c;l(0,i|0);l(1,c|0);h=+n()}p:{if(D(h)<2147483648){c=~~h;break p}c=-2147483648}if((c|0)<=-1){t[a+20|0]=1;c=0}v[e+16>>2]=c;break f}Th(a+20|0,a);break h}h=Sh(a);c=v[a+24>>2];if(c>>>0<y[a+32>>2]){v[a+24>>2]=c+1;A[v[a+36>>2]+(c<<3)>>3]=h;break h}t[a+20|0]=1;c=v[70113];v[163916]=v[70112];v[163917]=c;A[81958]=h;break h}Rg(f,a)}if(!v[a+24>>2]){break e}break d}c=v[a+36>>2]+(c<<3)|0;e=v[c+4>>2];v[d+24>>2]=v[c>>2];v[d+28>>2]=e}v[g>>2]=0}if(w[a+40|0]|w[a+16|0]|(w[a+20|0]|v[a+28>>2]<0)){break d}lx(b,f,a,d+8|0)}Ca=d+32|0;c=0;if(w[a+20|0]|(w[a+40|0]|w[a+16|0])){break a}if(v[a+28>>2]>-1){continue}break}}return c}function ye(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=C(0);i=Ca-80|0;Ca=i;a:{g=b+4|0;b:{c:{if(g>>>0>=5){b=1;break c}b=1;if(29>>>g&1){break b}}if((f|0)==2){break b}b=0;g=a;while(1){q=b;b=b+1|0;h=g;g=v[h+472>>2];if(g){continue}break}b=0;n=d-c|0;g=n;k=g>>31;a=!f&(a|0)==(h|0);j=(a?496:504)+h|0;m=v[j>>2];l=m;j=v[j+4>>2];o=k^-1;if((j|0)==(o|0)&(g^-1)>>>0<l>>>0|j>>>0>o>>>0){break b}l=a?h+496|0:h+504|0;a=k+j|0;b=g+m|0;a=b>>>0<g>>>0?a+1|0:a;v[l>>2]=b;v[l+4>>2]=a;b=v[h+496>>2];j=v[h+504>>2];g=b+j|0;k=v[h+500>>2];a=k+v[h+508>>2]|0;a=g>>>0<j>>>0?a+1|0:a;r=b|k?C(C(+(g>>>0)+ +(a>>>0)*4294967296)/C(+(b>>>0)+ +(k>>>0)*4294967296)):C(1);b=1;k=v[h+524>>2];b=(a|0)==(k|0)&g>>>0>=y[h+520>>2]|a>>>0>k>>>0?z[h+516>>2]>=r:b;if(v[h+512>>2]<2){break b}if(v[h+512>>2]>=1){a=v[h+504>>2];l=v[h+508>>2];p=1;g=v[h+500>>2];k=g;j=v[h+496>>2];if(g|j){m=k+l|0;g=a+j|0;p=+C(C(+(g>>>0)+ +((a>>>0>g>>>0?m+1|0:m)>>>0)*4294967296)/C(+(j>>>0)+ +(k>>>0)*4294967296))}v[i- -64>>2]=509099;A[i+56>>3]=p;v[i+48>>2]=a;v[i+52>>2]=l;v[i+40>>2]=j;v[i+44>>2]=k;v[i+32>>2]=h;Nd(v[130915],509100,i+32|0);if(v[h+472>>2]){break a}}v[i+20>>2]=509099;v[i+16>>2]=10;v[i+12>>2]=e;v[i+8>>2]=q;v[i>>2]=n;v[i+4>>2]=f?509242:509238;a=v[130915];$b(a,509198,i);t[i+76|0]=w[509250];v[i+72>>2]=w[509246]|w[509247]<<8|(w[509248]<<16|w[509249]<<24);d:{if(!((n|0)<25|v[h+512>>2]>2)){Ad(v[((w[c|0]^128)<<2)+509800>>2],a);Ad(v[((w[c+1|0]^128)<<2)+509800>>2],a);Ad(v[((w[c+2|0]^128)<<2)+509800>>2],a);Ad(v[((w[c+3|0]^128)<<2)+509800>>2],a);Ad(v[((w[c+4|0]^128)<<2)+509800>>2],a);Ad(v[((w[c+5|0]^128)<<2)+509800>>2],a);Ad(v[((w[c+6|0]^128)<<2)+509800>>2],a);Ad(v[((w[c+7|0]^128)<<2)+509800>>2],a);Ad(v[((w[c+8|0]^128)<<2)+509800>>2],a);Ad(v[((w[c+9|0]^128)<<2)+509800>>2],a);$b(a,i+72|0,0);g=d-10|0;while(1){Ad(v[((w[g|0]^128)<<2)+509800>>2],a);g=g+1|0;if(g>>>0<d>>>0){continue}break}break d}if(c>>>0>=d>>>0){break d}while(1){Ad(v[((w[c|0]^128)<<2)+509800>>2],a);c=c+1|0;if((d|0)!=(c|0)){continue}break}}Lc(509251,2,1,a)}Ca=i+80|0;return b}O(509070,506499,7275,509177);L()}function jI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=-4;a:{if(b>>>0>=c>>>0){break a}b:{c:{d:{e:{f:{g:{e=c-b|0;if(e&1){c=e&-2;if(!c){break g}c=b+c|0}f=0;h:{i:{e=w[b|0];switch(e-216|0){case 39:break i;case 4:case 5:case 6:case 7:break b;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break d;case 0:case 1:case 2:case 3:break e;default:break h}}if(w[b+1|0]<=253){break d}break b}if(!e){break f}break d}return-1}j:{k:{l:{m:{n:{e=a+72|0;switch(w[e+w[b+1|0]|0]){case 6:break j;case 5:break k;case 10:break l;case 9:break m;case 4:break n;case 0:case 1:case 8:break b;case 7:break e;default:break d}}f=-1;e=b+2|0;if((c-e|0)<2){break a}if(w[e|0]|w[b+3|0]!=93){break c}if((c-(b+4|0)|0)<2){break a}if(w[b+4|0]|w[b+5|0]!=62){break c}b=b+6|0;f=40;break b}f=-1;a=b+2|0;if((c-a|0)<2){break a}c=w[b+3|0];h=b+4|0;b=w[b+2|0];if(b){b=Nc(b<<24>>24,c<<24>>24)}else{b=w[c+e|0]}b=(b|0)==10?h:a;f=7;break b}b=b+2|0;f=7;break b}f=-2;if((c-b|0)<2){break a}e=b+2|0;break c}f=-2;if((c-b|0)<3){break a}e=b+3|0;break c}f=-2;if((c-b|0)<4){break a}e=b+4|0;break c}e=b+2|0}f=6;g=c-e|0;if((g|0)<2){b=e;break b}a=a+72|0;b=e;while(1){h=c;o:{p:{q:{r:{s:{t:{e=w[b|0];switch(e-216|0){case 4:case 5:case 6:case 7:break b;case 0:case 1:case 2:case 3:break p;case 39:break r;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break s;default:break t}}if(!e){break q}}b=b+2|0;break o}if(w[b+1|0]>253){break b}b=b+2|0;break o}u:{e=w[w[b+1|0]+a|0];if(e>>>0<=10){if((e|0)==6){break u}if((e|0)==7){break p}if(1<<e&1811){break b}}b=b+2|0;break o}if((g|0)<3){break b}b=b+3|0;break o}if((g|0)<4){break b}b=b+4|0}g=h-b|0;if((g|0)>1){continue}break}}v[d>>2]=b}return f|0}function AI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=-4;a:{if(b>>>0>=c>>>0){break a}b:{c:{d:{e:{f:{g:{e=c-b|0;if(e&1){c=e&-2;if(!c){break g}c=b+c|0}f=0;h:{i:{e=w[b+1|0];switch(e-216|0){case 39:break i;case 4:case 5:case 6:case 7:break b;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break d;case 0:case 1:case 2:case 3:break e;default:break h}}if(w[b|0]<=253){break d}break b}if(!e){break f}break d}return-1}j:{k:{l:{m:{n:{e=a+72|0;switch(w[e+w[b|0]|0]){case 6:break j;case 5:break k;case 10:break l;case 9:break m;case 4:break n;case 0:case 1:case 8:break b;case 7:break e;default:break d}}f=-1;e=b+2|0;if((c-e|0)<2){break a}if(w[b+3|0]|w[e|0]!=93){break c}if((c-(b+4|0)|0)<2){break a}if(w[b+5|0]|w[b+4|0]!=62){break c}b=b+6|0;f=40;break b}f=-1;a=b+2|0;if((c-a|0)<2){break a}c=w[b+2|0];h=b+4|0;b=w[b+3|0];if(b){b=Nc(b<<24>>24,c<<24>>24)}else{b=w[c+e|0]}b=(b|0)==10?h:a;f=7;break b}b=b+2|0;f=7;break b}f=-2;if((c-b|0)<2){break a}e=b+2|0;break c}f=-2;if((c-b|0)<3){break a}e=b+3|0;break c}f=-2;if((c-b|0)<4){break a}e=b+4|0;break c}e=b+2|0}f=6;g=c-e|0;if((g|0)<2){b=e;break b}a=a+72|0;b=e;while(1){h=c;o:{p:{q:{r:{s:{t:{e=w[b+1|0];switch(e-216|0){case 4:case 5:case 6:case 7:break b;case 0:case 1:case 2:case 3:break p;case 39:break r;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break s;default:break t}}if(!e){break q}}b=b+2|0;break o}if(w[b|0]>253){break b}b=b+2|0;break o}u:{e=w[w[b|0]+a|0];if(e>>>0<=10){if((e|0)==6){break u}if((e|0)==7){break p}if(1<<e&1811){break b}}b=b+2|0;break o}if((g|0)<3){break b}b=b+3|0;break o}if((g|0)<4){break b}b=b+4|0}g=h-b|0;if((g|0)>1){continue}break}}v[d>>2]=b}return f|0}function Pv(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,x=0;i=Ca-16|0;Ca=i;g=v[b>>2];e=g<<1;u=a,x=Ua(d,4,0,e,0,i+12|0),v[u+12>>2]=x;a:{if(v[i+12>>2]){break a}u=a,x=Ua(d,28,0,g,0,i+12|0),v[u+8>>2]=x;if(v[i+12>>2]){break a}u=a,x=Ua(d,16,0,e|1,0,i+12|0),v[u+24>>2]=x;if(v[i+12>>2]){break a}v[a>>2]=g;v[a+28>>2]=0;v[a+20>>2]=0;v[a+4>>2]=0;v[a+16>>2]=v[a+12>>2]+(g<<2);b:{if(!g){break b}h=g-1|0;d=v[a+8>>2];b=v[b+8>>2];e=g&3;c:{if(!e){f=g;break c}f=g;while(1){v[d>>2]=v[b>>2];v[d+4>>2]=v[b+4>>2];v[d+16>>2]=v[b+8>>2];b=b+12|0;d=d+28|0;f=f-1|0;e=e-1|0;if(e){continue}break}}if(h>>>0<3){break b}while(1){v[d>>2]=v[b>>2];v[d+4>>2]=v[b+4>>2];v[d+16>>2]=v[b+8>>2];v[d+28>>2]=v[b+12>>2];v[d+32>>2]=v[b+16>>2];v[d+44>>2]=v[b+20>>2];v[d+56>>2]=v[b+24>>2];v[d+60>>2]=v[b+28>>2];v[d+72>>2]=v[b+32>>2];v[d+84>>2]=v[b+36>>2];v[d+88>>2]=v[b+40>>2];v[d+100>>2]=v[b+44>>2];b=b+48|0;d=d+112|0;f=f-4|0;if(f){continue}break}}e=0;d:{if(!c){break d}j=v[c>>2];k=v[c+8>>2];v[a+32>>2]=c;if(!j){break d}while(1){p=v[k>>2];if(p){m=v[k+8>>2];b=0;l=0;q=0;while(1){if(!b){q=w[m|0];m=m+1|0;b=128}e:{if(!(b&q)|g>>>0<=l>>>0){break e}h=v[a+8>>2]+B(l,28)|0;c=v[h+16>>2];if(c&4){break e}v[h+16>>2]=c|4;c=v[a+16>>2];v[h+20>>2]=0;f:{if(!e){break f}r=v[h>>2];t=r+v[h+4>>2]|0;f=e;d=c;while(1){n=v[d>>2];s=v[n>>2];if(!((s|0)>(t|0)|(v[n+4>>2]+s|0)<(r|0))){v[h+20>>2]=n;break f}d=d+4|0;f=f-1|0;if(f){continue}break}}if(e>>>0>=g>>>0){break e}d=e+1|0;v[a+4>>2]=d;v[c+(e<<2)>>2]=h;e=d}b=b>>1;l=l+1|0;if((p|0)!=(l|0)){continue}break}}k=k+16|0;j=j-1|0;if(j){continue}break}}if(!g|(e|0)==(g|0)){break a}while(1){f=v[a+8>>2]+B(o,28)|0;b=v[f+16>>2];g:{if(b&4){break g}v[f+16>>2]=b|4;c=v[a+16>>2];v[f+20>>2]=0;h:{if(!e){break h}k=v[f>>2];l=k+v[f+4>>2]|0;b=e;d=c;while(1){h=v[d>>2];j=v[h>>2];if(!((j|0)>(l|0)|(k|0)>(j+v[h+4>>2]|0))){v[f+20>>2]=h;break h}d=d+4|0;b=b-1|0;if(b){continue}break}}if(e>>>0>=g>>>0){break g}b=e+1|0;v[a+4>>2]=b;v[c+(e<<2)>>2]=f;e=b}o=o+1|0;if((o|0)!=(g|0)){continue}break}}Ca=i+16|0;return v[i+12>>2]}function yO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Ca-32|0;Ca=g;if(Bb(c,b,266111,0)){Nj(b,c,8,1,18,-1);l=v[c+76>>2];a:{if(!l){break a}d=l-1|0;a=0;e=v[c+88>>2];h=w[e+15|0];while(1){b:{if((a|0)==(d|0)){a=l;break b}a=a+1|0;if((h|0)==w[(e+B(a,20)|0)+15|0]){continue}}break}if(!l){break a}i=v[c+88>>2];f=w[i+15|0];e=0;while(1){h=a;c:{if(!(1<<(f&15)&270)){break c}j=B(e,20)+i|0;d:{if(w[j+18|0]!=18|h-e>>>0<2){break d}m=e+1|0;if(m>>>0>=h>>>0){break d}n=h-1|0;a=m;while(1){e:{f:{g:{o=B(a,20)+i|0;f=w[o+18|0];h:{if(f>>>0<=63){d=f;k=d&31;if((d&63)>>>0>=32){d=1<<k;k=0}else{d=(1<<k)-1&1>>>32-k;k=1<<k}if(k&2143289344|d&238){break h}}if((f|32)!=44){break g}d=x[o+12>>1]&32;if((a|0)!=(n|0)?d:0){break e}if(d){break f}}a=a-1|0;break f}if((a|0)!=(n|0)){break e}a=n}d=a+1|0;if(d-e>>>0>=2){rc(c,e,d)}v[g+24>>2]=v[j+16>>2];d=v[j+12>>2];v[g+16>>2]=v[j+8>>2];v[g+20>>2]=d;d=v[j+4>>2];v[g+8>>2]=v[j>>2];v[g+12>>2]=d;mb(j,B(m,20)+i|0,B(a-e|0,20));d=B(a,20)+i|0;v[d+16>>2]=v[g+24>>2];a=v[g+20>>2];v[d+8>>2]=v[g+16>>2];v[d+12>>2]=a;a=v[g+12>>2];v[d>>2]=v[g+8>>2];v[d+4>>2]=a;break d}a=a+1|0;if((h|0)!=(a|0)){continue}break}}a=e;if(h>>>0<=a>>>0){break c}while(1){f=B(e,20)+i|0;d=w[f+18|0];i:{if(!((d|32)!=44|w[f+12|0]&32)){a=e+1|0;break i}if(!(1<<d&12582912)|d>>>0>31){break i}d=w[f+14|0];if(!(d&16)&(d&15)!=0|a>>>0>=e>>>0){break i}d=e+1|0;if(d-a>>>0>=2){rc(c,a,d)}v[g+24>>2]=v[f+16>>2];d=v[f+12>>2];v[g+16>>2]=v[f+8>>2];v[g+20>>2]=d;d=v[f+4>>2];v[g+8>>2]=v[f>>2];v[g+12>>2]=d;f=B(a,20)+i|0;mb(f+20|0,f,B(e-a|0,20));v[f+16>>2]=v[g+24>>2];d=v[g+20>>2];v[f+8>>2]=v[g+16>>2];v[f+12>>2]=d;d=v[g+12>>2];v[f>>2]=v[g+8>>2];v[f+4>>2]=d}e=e+1|0;if((h|0)!=(e|0)){continue}break}}e=v[c+76>>2];a=h+1|0;e=a>>>0<e>>>0?e:a;d=e-1|0;i=v[c+88>>2];f=w[(i+B(h,20)|0)+15|0];a=h;while(1){j:{if((a|0)==(d|0)){a=e;break j}a=a+1|0;if(w[(B(a,20)+i|0)+15|0]==(f|0)){continue}}break}e=h;if(l>>>0>e>>>0){continue}break}}Bb(c,b,266132,0)}a=w[c+168|0];if(!(a&64)){O(266181,266151,163,266166);L()}t[c+168|0]=a&191;Ca=g+32|0}function MC(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;e=Ca-1552|0;Ca=e;f=6;g=v[a+4>>2];a:{if(y[g+16>>2]<=c>>>0){break a}h=v[g+136>>2];v[a+164>>2]=v[b+16>>2];v[a+168>>2]=v[b+20>>2];d=d&1024?d|3:d;i=d&1;t[a+161|0]=!i;f=!(d&3);t[a+160|0]=f;v[a+108>>2]=0;v[a+72>>2]=1869968492;f=Ea[v[v[h+12>>2]>>2]](e+32|0,g,b,a,0,0,f,d>>>16&15,193)|0;if(f){break a}j=d&1024;t[e+101|0]=j>>>10;f=Kq(e+32|0,c);if(!f){k=w[a+161|0];l=w[a+160|0];c=e+1420|0;f=v[c+4>>2];v[e+24>>2]=v[c>>2];v[e+28>>2]=f;c=v[e+1416>>2];v[e+16>>2]=v[e+1412>>2];v[e+20>>2]=c;c=v[e+1432>>2];f=v[e+1428>>2];Ea[v[v[h+12>>2]+4>>2]](e+32|0);v[a+124>>2]=v[a+124>>2]&1|4;if(j){b=v[a+156>>2];d=v[e+64>>2];v[a+32>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=a;a=v[e+72>>2];v[d+40>>2]=(((a>>31)+a|0)+32768&-65536)>>16;a=v[e+28>>2];v[b+20>>2]=v[e+24>>2];v[b+24>>2]=a;a=v[e+20>>2];v[b+12>>2]=v[e+16>>2];v[b+16>>2]=a;v[b+32>>2]=c;v[b+28>>2]=f;t[b+8|0]=1;f=0;break a}h=v[e+72>>2];v[a+40>>2]=(((h>>31)+h|0)+32768&-65536)>>16;h=v[e+72>>2];v[a+56>>2]=(((h>>31)+h|0)+32768&-65536)>>16;t[v[a+156>>2]+8|0]=0;h=v[g+200>>2];g=v[g+208>>2];v[a+72>>2]=1869968492;g=g-h>>16;v[a+60>>2]=g;v[a+52>>2]=g;if(x[b+14>>1]<=23){v[a+124>>2]=v[a+124>>2]|256}g=a+108|0;b:{if(!(v[e+20>>2]|(v[e+16>>2]!=65536|v[e+28>>2]!=65536))){if(!v[e+24>>2]){break b}}ee(g,e+16|0);m=a,n=Qa(v[a+40>>2],v[e+16>>2]),v[m+40>>2]=n;m=a,n=Qa(v[a+52>>2],v[e+28>>2]),v[m+52>>2]=n}if(c|f){ic(g,f,c);v[a+40>>2]=f+v[a+40>>2];v[a+52>>2]=c+v[a+52>>2]}if(!(k?0:i)){c=v[a+168>>2];h=v[a+164>>2];b=v[e+48>>2];f=v[b+4>>2];c:{if(v[e+104>>2]?l:0){break c}b=u[b+2>>1];if((b|0)<1){break c}b=b&65535;while(1){m=f,n=Qa(v[f>>2],h),v[m>>2]=n;m=f,n=Qa(v[f+4>>2],c),v[m+4>>2]=n;f=f+8|0;i=(b|0)>1;b=b-1|0;if(i){continue}break}}m=a,n=Qa(v[a+40>>2],h),v[m+40>>2]=n;m=a,n=Qa(v[a+52>>2],c),v[m+52>>2]=n}pf(g,e);b=v[e>>2];v[a+24>>2]=v[e+8>>2]-b;c=v[e+4>>2];f=v[e+12>>2];v[a+36>>2]=f;v[a+32>>2]=b;v[a+28>>2]=f-c;if(d&16){pg(a+24|0,v[a+52>>2])}f=0;break a}Ea[v[v[h+12>>2]+4>>2]](e+32|0)}Ca=e+1552|0;return f|0}function An(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);j=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=b+1|0;if(j>>>0>=d>>>0){a:{b:{c:{d:{e:{g=w[a+4|0];if(g){f=g&3;k=B(d,g)+a|0;d=k+5|0;i=g-1|0;f:{if(i>>>0<3){c=d;e=0;break f}e=g&252;c=d;while(1){h=c;c=c+4|0;e=e-4|0;if(e){continue}break}e=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}if(f){while(1){e=w[c|0]|e<<8;c=c+1|0;f=f-1|0;if(f){continue}break}}if(b>>>0>j>>>0){break a}f=g&3;l=B(b,g)+a|0;c=l+5|0;if(i>>>0>=3){break e}b=0;break d}if(b>>>0<=j>>>0){break c}break a}b=g&252;while(1){h=c;c=c+4|0;b=b-4|0;if(b){continue}break}b=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(f){while(1){b=w[c|0]|b<<8;c=c+1|0;f=f-1|0;if(f){continue}break}}if(b>>>0>e>>>0){return 0}c=g&3;if(i>>>0<3){f=0}else{f=g&252;while(1){b=d;d=d+4|0;f=f-4|0;if(f){continue}break}b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(c){while(1){f=w[d|0]|f<<8;d=d+1|0;c=c-1|0;if(c){continue}break}}g:{if(g){c=g&3;d=(B(g,j)+a|0)+5|0;if(i>>>0<3){e=0}else{e=g&252;while(1){a=d;d=a+4|0;e=e-4|0;if(e){continue}break}a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}if(c){while(1){e=w[d|0]|e<<8;d=d+1|0;c=c-1|0;if(c){continue}break}}if(e>>>0>=f>>>0){break g}return 0}c=0;e=0;if(!f){break c}break b}f=g&3;d=k+5|0;if(i>>>0<3){c=0}else{c=g&252;while(1){a=d;d=a+4|0;c=c-4|0;if(c){continue}break}a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);c=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}if(f){while(1){c=w[d|0]|c<<8;d=d+1|0;f=f-1|0;if(f){continue}break}}f=g&3;d=l+5|0;if(i>>>0<3){e=0}else{e=g&252;while(1){a=d;d=a+4|0;e=e-4|0;if(e){continue}break}a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}if(!f){break c}while(1){e=w[d|0]|e<<8;d=d+1|0;f=f-1|0;if(f){continue}break}}c=c-e|0}return c}}O(248923,248938,250,248960);L()}function Go(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;a:{b:{e=v[b+4>>2];if(e>>>0>a>>>0){break b}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<2){break b}g=v[b+12>>2];c=g-2|0;v[b+12>>2]=c;if((c|0)<1){break b}c=a+2|0;if(c>>>0<e>>>0|d>>>0<c>>>0|d-c>>>0<2){break b}c=g-4|0;v[b+12>>2]=c;if((c|0)<1){break b}j=1;h=w[a+3|0]|w[a+2|0]<<8;if(!h){break b}l=h-1|0;a=a+4|0;j=0;while(1){if(a>>>0<e>>>0|a>>>0>d>>>0|d-a>>>0<6){break b}f=v[b+12>>2];d=f-6|0;v[b+12>>2]=d;if((d|0)<1){break b}d=v[b+28>>2];c=v[d+12>>2];v[b+4>>2]=c;d=v[d+16>>2];e=d+c|0;v[b+8>>2]=e;c:{d:{if((d|0)>-1){d=i>>>0<l>>>0?a:0;e:{if(!d){d=c;break e}if(!(d>>>0<e>>>0?d>>>0>=c>>>0:0)){v[b+4>>2]=0;v[b+8>>2]=0;e=0;break d}v[b+4>>2]=d;c=w[d+3|0]|w[d+2|0]<<8;e=e-d|0;e=(c>>>0<e>>>0?c:e)+d|0;v[b+8>>2]=e}if(a>>>0>=d>>>0){break d}g=0;break c}break a}g=0;if(a>>>0>e>>>0){break c}e=e-a|0;if(e>>>0<6){break c}d=f-12|0;v[b+12>>2]=d;if((d|0)<1){break c}c=w[a+3|0]|w[a+2|0]<<8;if(c>>>0<6|c>>>0>e>>>0){break c}d=d-c|0;v[b+12>>2]=d;if((d|0)<1){break c}d=1;f:{g:{h:{switch(w[a+4|0]){case 0:d=0;f=v[b+4>>2];e=a+6|0;if(f>>>0>e>>>0){break g}c=v[b+8>>2];if(c>>>0<e>>>0|c-e>>>0<8){break g}e=v[b+12>>2]-8|0;v[b+12>>2]=e;if((e|0)<1){break g}k=w[a+7|0]|w[a+6|0]<<8;if(k){m=f;f=a+14|0;if(m>>>0>f>>>0|c>>>0<f>>>0){break g}f=c-f|0;c=B(k,6);if(f>>>0<c>>>0){break g}c=e-c|0;v[b+12>>2]=c;if((c|0)<1){break g}}c=1;break f;case 2:break h;default:break g}}d=0;if(y[b+4>>2]>a>>>0){break g}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<14){break g}c=v[b+12>>2]-14|0;v[b+12>>2]=c;if((c|0)<1){break g}if(!Xh(a+8|0,b,a)){break g}if(!Xh(a+10|0,b,a)){break g}e=w[a+13|0]|w[a+12|0]<<8;c=1;if(!e){break f}if(y[b+4>>2]>a>>>0){break g}c=v[b+8>>2];if(c>>>0<a>>>0|e>>>0>c-a>>>0){break g}d=v[b+12>>2]-e|0;v[b+12>>2]=d;d=(d|0)>0}c=d}if(!c){break c}a=(w[a+3|0]|w[a+2|0]<<8)+a|0;g=1}d=v[b+28>>2];e=v[d+12>>2];v[b+4>>2]=e;c=v[d+16>>2];d=c+e|0;v[b+8>>2]=d;i:{if((c|0)>-1){if(g){break i}break b}break a}i=i+1|0;if((i|0)!=(h|0)){continue}break}return 1}return j}O(229786,229811,194,229828);L()}function Bv(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Ca-784|0;Ca=j;v[j+24>>2]=v[a+60>>2];h=v[a+64>>2];v[j+20>>2]=c;v[j+28>>2]=h;v[j+16>>2]=b;v[j+12>>2]=e;v[j+8>>2]=d;v[j+4>>2]=g;v[j>>2]=f;e=0;a:{while(1){b:{h=(e<<3)+j|0;f=v[h+28>>2];k=(f|0)>(g|0);l=v[h+12>>2];m=v[h+20>>2];b=(l|0)<(m|0);o=v[h>>2];c:{if(!(((k?f:g)|0)>=((b?m:l)|0)?((b?l:m)|0)>=((k?g:f)|0):0)){b=v[h+24>>2];v[h+48>>2]=b;v[h+52>>2]=f;c=f+m|0;v[h+44>>2]=c>>1;d=g+l|0;v[h+12>>2]=d>>1;g=v[h+8>>2];f=g+o|0;v[h+8>>2]=f>>1;i=b;b=v[h+16>>2];k=i+b|0;v[h+40>>2]=k>>1;i=c;c=l+m|0;l=i+c|0;v[h+36>>2]=l>>2;c=c+d|0;v[h+20>>2]=c>>2;b=b+g|0;d=b+f|0;v[h+16>>2]=d>>2;b=b+k|0;v[h+32>>2]=b>>2;v[h+28>>2]=c+l>>3;v[h+24>>2]=b+d>>3;e=e+3|0;break c}d:{if((f|0)==(g|0)){break d}p=k?2:1;c=v[a+92>>2];if((p|0)!=(c|0)){b=v[a+4>>2];d=k?f&b-1:((b+f|0)-1&0-b)-f|0;n=v[a+8>>2];if(c){b=v[a+36>>2];i=v[a+80>>2];c=b-v[i+8>>2]|0;if((c|0)<=-1){v[a+40>>2]=99;a=1;break a}e:{if(!c){c=b;break e}v[i+16>>2]=c>>2;if((d|0)>=(n|0)){c=x[i+12>>1];u[i+12>>1]=(c&8?16:32)|c}v[a+80>>2]=b;c=b+32|0;v[a+36>>2]=c;v[b+8>>2]=c;v[b+16>>2]=0;v[i+28>>2]=b;u[a+76>>1]=x[a+76>>1]+1}if(y[a+32>>2]<=c>>>0){v[a+40>>2]=98;a=1;break a}t[a+79|0]=0}f:{if(v[a+84>>2]){c=v[a+36>>2];break f}b=v[a+36>>2];v[a+84>>2]=b;v[a+80>>2]=b;c=b+32|0;v[a+36>>2]=c}if(y[a+32>>2]<=c>>>0){v[a+40>>2]=98;a=1;break a}b=v[a+80>>2];v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=c;v[b+28>>2]=0;v[b+4>>2]=0;i=w[a+48|0];u[b+12>>1]=i;c=b;g:{h:{if(!k){u[b+12>>1]=i|8;if((d|0)<(n|0)){break g}d=i|40;break h}if((d|0)<(n|0)){break g}d=i|16}u[c+12>>1]=d}if(!v[a+88>>2]){v[a+88>>2]=b}u[a+78>>1]=1;v[a+92>>2]=p}b=v[a+72>>2];c=v[a+68>>2];if(!k){if(!tj(a,3,h,668,c,b)){break d}a=1;break a}d=h|4;v[d>>2]=0-g;v[h+28>>2]=0-f;v[h+20>>2]=0-m;v[h+12>>2]=0-l;f=w[a+78|0];b=tj(a,3,h,668,0-b|0,0-c|0);if(!(w[a+78|0]|!f)){c=v[a+80>>2];v[c+20>>2]=0-v[c+20>>2]}v[d>>2]=0-v[d>>2];if(!b){break d}a=1;break a}if((e|0)<3){break b}e=e-3|0}g=v[((e<<3)+j|0)+4>>2];continue}break}v[a+64>>2]=g;v[a+60>>2]=o;a=0}Ca=j+784|0;return a}function eN(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,u=0,x=0;e=Ca-16|0;Ca=e;a:{if(v[a+4>>2]){break a}d=6;b:{if(v[a+12>>2]!=1){break b}f=(b|0)!=0;b=(B(f,36)+a|0)+16|0;d=v[c>>2];g=(((d>>31)+d|0)+32768&-65536)>>16;d=v[c+4>>2];k=v[a>>2];d=Ih(b,g,(((d>>31)+d|0)+32768&-65536)>>16,k,e);if(d){break b}d=v[c+8>>2];g=(((d>>31)+d|0)+32768&-65536)>>16;d=v[c+12>>2];d=Ih(b,g,(((d>>31)+d|0)+32768&-65536)>>16,k,e+4|0);if(d){break b}d=b;b=v[c+16>>2];g=(((b>>31)+b|0)+32768&-65536)>>16;b=v[c+20>>2];d=Ih(d,g,(((b>>31)+b|0)+32768&-65536)>>16,k,e+8|0);if(d){break b}h=v[e+8>>2];n=128>>>(h&7)|0;i=v[e+4>>2];o=128>>>(i&7)|0;j=v[e>>2];p=128>>>(j&7)|0;g=B(f,36)+a|0;q=g;f=v[g+48>>2];l=v[g+40>>2];c:{if(l){m=h>>3;r=i>>3;s=j>>3;d=l;c=f;while(1){b=v[c>>2];if((w[v[c+8>>2]+s|0]&p?j>>>0<b>>>0:0)|(w[v[c+8>>2]+r|0]&o?b>>>0>i>>>0:0)|(w[m+v[c+8>>2]|0]&n?b>>>0>h>>>0:0)){break c}c=c+16|0;d=d-1|0;if(d){continue}break}}m=l+1|0;b=v[g+44>>2];if(m>>>0>b>>>0){v[e+12>>2]=0;c=b;b=l+8&-8;f=Ua(k,16,c,b,f,e+12|0);v[q+48>>2]=f;d=v[e+12>>2];if(d){break b}v[g+44>>2]=b}b=0;c=(l<<4)+f|0;v[c+12>>2]=0;v[c>>2]=0;v[g+40>>2]=m}if((j|0)>=0){if(b>>>0<=j>>>0){b=v[c+4>>2];v[e+12>>2]=0;d=j+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;u=c,x=Ua(k,1,f,b,v[c+8>>2],e+12|0),v[u+8>>2]=x;d=v[e+12>>2];if(d){break b}v[c+4>>2]=b<<3}v[c>>2]=j+1}b=v[c+8>>2]+(j>>>3|0)|0;t[b|0]=w[b|0]|p}d:{if((i|0)>=0){if(y[c>>2]<=i>>>0){b=v[c+4>>2];v[e+12>>2]=0;d=i+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;u=c,x=Ua(k,1,f,b,v[c+8>>2],e+12|0),v[u+8>>2]=x;d=v[e+12>>2];if(d){break b}v[c+4>>2]=b<<3}v[c>>2]=i+1}b=v[c+8>>2]+(i>>>3|0)|0;t[b|0]=w[b|0]|o;if((h|0)>-1){break d}break a}if((h|0)<0){break a}}if(y[c>>2]<=h>>>0){b=v[c+4>>2];v[e+12>>2]=0;d=h+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;u=c,x=Ua(k,1,f,b,v[c+8>>2],e+12|0),v[u+8>>2]=x;d=v[e+12>>2];if(d){break b}v[c+4>>2]=b<<3}v[c>>2]=h+1}a=v[c+8>>2]+(h>>>3|0)|0;t[a|0]=w[a|0]|n;break a}v[a+4>>2]=d}Ca=e+16|0}function dO(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;j=Ca-16|0;Ca=j;d=v[c>>2];a:{if(!b){a=Hb(d);break a}a=65535;e=y[d+16>>2]<4?280448:v[d+12>>2];g=v[c+4>>2];i=j+12|0;if(i){v[i>>2]=0}d=280448;b:{c:{d:{f=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);e:{if((f|0)<=1953658212){if((f|0)==256){break c}if((f|0)==65536|(f|0)==1330926671){break e}break b}if((f|0)==1954115633){break e}if((f|0)==1953784678){break d}if((f|0)!=1953658213){break b}}d=e;break b}if((w[e+5|0]|w[e+4|0]<<8)-1>>>0>1){break b}d=w[e+8|0]|w[e+9|0]<<8|(w[e+10|0]<<16|w[e+11|0]<<24);d=g>>>0<(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0?(e+(g<<2)|0)+12|0:280448;d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=d?d+e|0:280448;break b}d=w[e+4|0]|w[e+5|0]<<8|(w[e+6|0]<<16|w[e+7|0]<<24);d=e+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;f=(w[d+25|0]|w[d+24|0]<<8)+d|0;m=w[f|0]<<8|w[f+1|0];d=0;f:{while(1){k=f+(d<<3)|0;h=k;h=w[h+2|0]|w[h+3|0]<<8|(w[h+4|0]<<16|w[h+5|0]<<24);if(!((h<<24|h<<8&16711680|(h>>>8&65280|h>>>24))!=1936092788|g>>>0>(w[k+7|0]|w[k+6|0]<<8)>>>0)){d=f+(d<<3)|0;d=(f+(w[d+8|0]<<8|w[d+9|0])|0)+B(g,12)|0;d=(e+(w[d+6|0]<<8|w[d+5|0]<<16|w[d+7|0])|0)+260|0;break f}h=(d|0)!=(m|0);d=d+1|0;if(h){continue}break}d=280448}if(!i){break b}v[i>>2]=d-e}e=d;i=w[d+5|0]|w[d+4|0]<<8;g:{if(!i){break g}h=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);d=i-1|0;while(1){f=d+l>>>1|0;g=e+(f<<4)|0;g=w[g+12|0]|w[g+13|0]<<8|(w[g+14|0]<<16|w[g+15|0]<<24);g=(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))>>>0<b>>>0?1:(g|0)!=(h|0)?-1:0;h:{if((g|0)<=-1){d=f-1|0;break h}if(!g){a=f;break g}l=f+1|0}if((d|0)>=(l|0)){continue}break}}a=a>>>0<i>>>0?(e+(a<<4)|0)+12|0:280448;b=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);a=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);a=Sp(v[c>>2],v[j+12>>2]+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))}Ca=j+16|0;return a|0}function _C(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=v[a+16>>2];if(y[a+20>>2]>=g+12>>>0){h=v[a+32>>2];e=h;a:{b:{b=v[g>>2];c=w[b|0];if((c|0)!=255){if((c|0)!=30){break b}d=zc(a,b,0,0)>>16;break a}d=((w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16))<<8)+32768>>16;break a}f=b+1|0;c:{switch(c-28|0){case 0:d=0;if(y[a+8>>2]<=b+2>>>0){break a}d=(w[b+2|0]|w[f|0]<<8)<<16>>16;break a;case 1:d=0;if(y[a+8>>2]<=b+4>>>0){break a}b=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break a;default:break c}}d=c-139|0;if(c>>>0<=246){break a}b=v[a+8>>2];if(c>>>0<=250){d=0;if(b>>>0<=f>>>0){break a}d=(w[f|0]|c<<8)-63124|0;break a}d=0;if(b>>>0<=f>>>0){break a}d=64148-(w[f|0]|c<<8)|0}v[e+132>>2]=d;e=h;d:{e:{c=v[g+4>>2];f=w[c|0];if((f|0)!=255){if((f|0)!=30){break e}d=zc(a,c,0,0)>>16;break d}d=((w[c+3|0]|(w[c+2|0]<<8|w[c+1|0]<<16))<<8)+32768>>16;break d}b=c+1|0;f:{switch(f-28|0){case 0:d=0;if(y[a+8>>2]<=c+2>>>0){break d}d=(w[c+2|0]|w[b|0]<<8)<<16>>16;break d;case 1:d=0;if(y[a+8>>2]<=c+4>>>0){break d}c=w[c+1|0]|w[c+2|0]<<8|(w[c+3|0]<<16|w[c+4|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break d;default:break f}}d=f-139|0;if(f>>>0<=246){break d}c=v[a+8>>2];if(f>>>0<=250){d=0;if(b>>>0>=c>>>0){break d}d=(w[b|0]|f<<8)-63124|0;break d}d=0;if(b>>>0>=c>>>0){break d}d=64148-(w[b|0]|f<<8)|0}v[e+136>>2]=d;g:{h:{b=v[g+8>>2];c=w[b|0];if((c|0)!=255){if((c|0)!=30){break h}e=zc(a,b,0,0)>>16;break g}e=((w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16))<<8)+32768>>16;break g}f=b+1|0;i:{switch(c-28|0){case 0:e=0;if(y[a+8>>2]<=b+2>>>0){break g}e=(w[b+2|0]|w[f|0]<<8)<<16>>16;break g;case 1:e=0;if(y[a+8>>2]<=b+4>>>0){break g}a=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break g;default:break i}}e=c-139|0;if(c>>>0<=246){break g}a=v[a+8>>2];if(c>>>0<=250){e=0;if(a>>>0<=f>>>0){break g}e=(w[f|0]|c<<8)-63124|0;break g}e=0;if(a>>>0<=f>>>0){break g}e=64148-(w[f|0]|c<<8)|0}v[h+140>>2]=e;a=0}else{a=161}return a|0}function eE(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;f=Ca-16|0;Ca=f;i=v[b+16>>2];n=v[a+492>>2];Ea[v[b+28>>2]](b);h=v[b>>2];a:{if(!(h>>>0>=y[b+8>>2]|w[h|0]!=91)){Ea[v[b+32>>2]](b);Ea[v[b+28>>2]](b);a=v[b>>2];if(w[a|0]==93?a>>>0<y[b+8>>2]:0){break a}v[b+12>>2]=3;break a}h=Ea[v[b+36>>2]](b)|0;if((h|0)<=-1){v[b+12>>2]=3;break a}b:{d=v[b+8>>2];c=v[b>>2];c:{if(d>>>0<c>>>0){break c}d=d-c>>3;if((d|0)>=(h|0)){break c}if(v[b+368>>2]){h=d;break c}e=wb(i,24,f+12|0);v[b+368>>2]=e;c=v[f+12>>2];if(c){break b}h=f;v[e+16>>2]=10;v[e+12>>2]=11;v[e+8>>2]=0;v[e>>2]=80;v[e+4>>2]=241;c=Ea[v[i+4>>2]](i,964)|0;d:{if(!c){v[e+20>>2]=c;c=64;break d}o=e,p=Ra(c,0,964),v[o+20>>2]=p;c=0}v[h+12>>2]=c;h=d;if(c){break b}}Ea[v[b+32>>2]](b);if(v[b+12>>2]){break a}j=b+316|0;Ea[v[b+28>>2]](b);if(!v[b+312>>2]){c=Ea[v[v[n>>2]>>2]](j,h,i)|0;v[f+12>>2]=c;if(c){break b}}d=v[b>>2];e:{if(y[b+8>>2]<=d+4>>>0){break e}e=0;while(1){if($a(d,9700,3)){break e}Ea[v[b+32>>2]](b);d=Ea[v[b+36>>2]](b)|0;k=v[v[a+128>>2]+52>>2];c=v[b+8>>2];Ea[v[b+28>>2]](b);f:{g=v[b>>2];g:{if(g>>>0>=c>>>0|w[g|0]-48>>>0>9){break g}g=Ea[v[b+36>>2]](b)|0;Ea[v[b+32>>2]](b);if((g|0)<0){break g}l=c;c=v[b>>2];m=c+1|0;if((g|0)<(l-m|0)){break f}}if(k){break a}v[b+12>>2]=3;break a}v[b>>2]=(c+g|0)+1;if(v[b+12>>2]){break a}Ea[v[b+32>>2]](b);if(v[b+12>>2]){break a}Ea[v[b+28>>2]](b);c=v[b>>2];h:{if(y[b+8>>2]<=c+4>>>0){break h}if($a(c,9704,3)){break h}Ea[v[b+32>>2]](b);Ea[v[b+28>>2]](b)}c=v[b+368>>2];if(c){Di(d,e,c,i);d=e}if(!v[b+312>>2]){c=v[a+172>>2];i:{if((c|0)>=0){if(c>>>0>g>>>0){c=3;v[f+12>>2]=3;break b}k=qb(i,g,f+12|0);c=v[f+12>>2];if(c){break b}c=Ta(k,m,g);Ea[v[n+16>>2]](c,g,4330);l=d;d=v[a+172>>2];o=f,p=Ea[v[b+360>>2]](j,l,d+c|0,g-d|0)|0,v[o+12>>2]=p;if(c){Ea[v[i+8>>2]](i,c)}c=v[f+12>>2];break i}c=Ea[v[b+360>>2]](j,d,m,g)|0;v[f+12>>2]=c}if(c){break b}}e=e+1|0;d=v[b>>2];if(y[b+8>>2]>d+4>>>0){continue}break}}if(v[b+312>>2]){break a}v[b+312>>2]=h;break a}v[b+12>>2]=c}Ca=f+16|0}function Sg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=w[a+1|0]|w[a|0]<<8;f=b+1|0;if(j>>>0>=f>>>0){a:{b:{c:{d:{e:{g=w[a+2|0];if(g){e=g&3;k=B(f,g)+a|0;f=k+3|0;i=g-1|0;f:{if(i>>>0<3){c=f;d=0;break f}d=g&252;c=f;while(1){h=c;c=c+4|0;d=d-4|0;if(d){continue}break}d=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}if(e){while(1){d=w[c|0]|d<<8;c=c+1|0;e=e-1|0;if(e){continue}break}}if(b>>>0>j>>>0){break a}e=g&3;l=B(b,g)+a|0;c=l+3|0;if(i>>>0>=3){break e}b=0;break d}if(b>>>0<=j>>>0){break c}break a}b=g&252;while(1){h=c;c=c+4|0;b=b-4|0;if(b){continue}break}b=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(e){while(1){b=w[c|0]|b<<8;c=c+1|0;e=e-1|0;if(e){continue}break}}if(b>>>0>d>>>0){return 0}c=g&3;if(i>>>0<3){e=0}else{e=g&252;while(1){b=f;f=b+4|0;e=e-4|0;if(e){continue}break}b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(c){while(1){e=w[f|0]|e<<8;f=f+1|0;c=c-1|0;if(c){continue}break}}g:{if(g){c=g&3;f=(B(g,j)+a|0)+3|0;if(i>>>0<3){d=0}else{d=g&252;while(1){a=f;f=a+4|0;d=d-4|0;if(d){continue}break}a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}if(c){while(1){d=w[f|0]|d<<8;f=f+1|0;c=c-1|0;if(c){continue}break}}if(d>>>0>=e>>>0){break g}return 0}c=0;d=0;if(!e){break c}break b}e=g&3;f=k+3|0;if(i>>>0<3){c=0}else{c=g&252;while(1){a=f;f=a+4|0;c=c-4|0;if(c){continue}break}a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);c=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}if(e){while(1){c=w[f|0]|c<<8;f=f+1|0;e=e-1|0;if(e){continue}break}}e=g&3;f=l+3|0;if(i>>>0<3){d=0}else{d=g&252;while(1){a=f;f=a+4|0;d=d-4|0;if(d){continue}break}a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}if(!e){break c}while(1){d=w[f|0]|d<<8;f=f+1|0;e=e-1|0;if(e){continue}break}}c=c-d|0}return c}}O(248923,248938,250,248960);L()}function gb(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;if(!a){return Va(b)|0}if(b>>>0>=4294967232){v[164114]=48;return 0}g=b>>>0<11?16:b+11&-8;f=a-8|0;j=v[f+4>>2];e=j&-8;a:{if(!(j&3)){if(g>>>0<256){break a}if(e>>>0>=g+4>>>0){c=f;if(e-g>>>0<=v[164557]<<1>>>0){break a}}c=0;break a}h=e+f|0;b:{if(e>>>0>=g>>>0){d=e-g|0;if(d>>>0<16){break b}v[f+4>>2]=j&1|g|2;c=f+g|0;v[c+4>>2]=d|3;v[h+4>>2]=v[h+4>>2]|1;_r(c,d);break b}if(v[164443]==(h|0)){e=e+v[164440]|0;if(e>>>0<=g>>>0){break a}v[f+4>>2]=j&1|g|2;d=f+g|0;c=e-g|0;v[d+4>>2]=c|1;v[164440]=c;v[164443]=d;break b}if(v[164442]==(h|0)){d=e+v[164439]|0;if(d>>>0<g>>>0){break a}c=d-g|0;c:{if(c>>>0>=16){v[f+4>>2]=j&1|g|2;e=f+g|0;v[e+4>>2]=c|1;d=d+f|0;v[d>>2]=c;v[d+4>>2]=v[d+4>>2]&-2;break c}v[f+4>>2]=d|j&1|2;c=d+f|0;v[c+4>>2]=v[c+4>>2]|1;c=0;e=0}v[164442]=e;v[164439]=c;break b}d=v[h+4>>2];if(d&2){break a}k=e+(d&-8)|0;if(k>>>0<g>>>0){break a}m=k-g|0;d:{if(d>>>0<=255){e=v[h+8>>2];c=d>>>3|0;d=v[h+12>>2];if((d|0)==(e|0)){n=657748,o=v[164437]&jQ(-2,c),v[n>>2]=o;break d}v[e+12>>2]=d;v[d+8>>2]=e;break d}l=v[h+24>>2];i=v[h+12>>2];e:{if((i|0)!=(h|0)){c=v[h+8>>2];v[c+12>>2]=i;v[i+8>>2]=c;break e}f:{e=h+20|0;c=v[e>>2];if(c){break f}e=h+16|0;c=v[e>>2];if(c){break f}i=0;break e}while(1){d=e;i=c;e=c+20|0;c=v[e>>2];if(c){continue}e=i+16|0;c=v[i+16>>2];if(c){continue}break}v[d>>2]=0}if(!l){break d}d=v[h+28>>2];c=(d<<2)+658052|0;g:{if(v[c>>2]==(h|0)){v[c>>2]=i;if(i){break g}n=657752,o=v[164438]&jQ(-2,d),v[n>>2]=o;break d}v[(v[l+16>>2]==(h|0)?16:20)+l>>2]=i;if(!i){break d}}v[i+24>>2]=l;c=v[h+16>>2];if(c){v[i+16>>2]=c;v[c+24>>2]=i}c=v[h+20>>2];if(!c){break d}v[i+20>>2]=c;v[c+24>>2]=i}if(m>>>0<=15){v[f+4>>2]=j&1|k|2;c=f+k|0;v[c+4>>2]=v[c+4>>2]|1;break b}v[f+4>>2]=j&1|g|2;d=f+g|0;v[d+4>>2]=m|3;c=f+k|0;v[c+4>>2]=v[c+4>>2]|1;_r(d,m)}c=f}if(c){return c+8|0}f=Va(b);if(!f){return 0}c=v[a-4>>2];c=(c&3?-4:-8)+(c&-8)|0;Ta(f,a,b>>>0>c>>>0?c:b);Pa(a);return f|0}function mp(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if((b|0)!=1196445523){g=280448;if((b|0)!=1196643650){break a}a=v[Ic(a+136|0)>>2];a=a?a:280448;g=y[a+16>>2]<10?280448:v[a+12>>2];break a}a=v[ad(a+140|0)>>2];a=a?a:280448;g=y[a+16>>2]<10?280448:v[a+12>>2]}b:{c:{d:{if(c){while(1){a=w[g+5|0]|w[g+4|0]<<8;k=a?a+g|0:280448;a=w[k|0]<<8|w[k+1|0];if(a){i=(l<<2)+d|0;m=v[i>>2];a=a-1|0;b=0;while(1){j=a+b>>>1|0;h=B(j,6)+k|0;h=w[h+2|0]|w[h+3|0]<<8|(w[h+4|0]<<16|w[h+5|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);e:{if(h>>>0>m>>>0){a=j-1|0;break e}if((h|0)==(m|0)){break d}b=j+1|0}if((a|0)>=(b|0)){continue}break}}if(e){v[e>>2]=65535}l=l+1|0;if((l|0)!=(c|0)){continue}break}}f:{g:{c=w[g+5|0]|w[g+4|0]<<8;h=c?g+c|0:280448;a=w[h|0]<<8|w[h+1|0];if(a){a=a-1|0;b=0;while(1){i=a+b>>>1|0;d=h+B(i,6)|0;d=w[d+2|0]|w[d+3|0]<<8|(w[d+4|0]<<16|w[d+5|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);h:{if(d>>>0>=1145457749){a=i-1|0;break h}if((d|0)==1145457748){break g}b=i+1|0}if((a|0)>=(b|0)){continue}break}}i:{if(e){v[e>>2]=65535;c=w[g+5|0]|w[g+4|0]<<8}h=c?c+g|0:280448;a=w[h|0]<<8|w[h+1|0];if(a){a=a-1|0;b=0;while(1){i=a+b>>>1|0;d=h+B(i,6)|0;d=w[d+2|0]|w[d+3|0]<<8|(w[d+4|0]<<16|w[d+5|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);j:{if(d>>>0>=1684434037){a=i-1|0;break j}if((d|0)==1684434036){break i}b=i+1|0}if((a|0)>=(b|0)){continue}break}}k:{if(e){v[e>>2]=65535;c=w[g+5|0]|w[g+4|0]<<8}d=c?c+g|0:280448;a=w[d|0]<<8|w[d+1|0];if(a){a=a-1|0;b=0;while(1){g=a+b>>>1|0;c=d+B(g,6)|0;c=w[c+2|0]|w[c+3|0]<<8|(w[c+4|0]<<16|w[c+5|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);l:{if(c>>>0>=1818326127){a=g-1|0;break l}if((c|0)==1818326126){break k}b=g+1|0}if((a|0)>=(b|0)){continue}break}}if(e){v[e>>2]=65535}a=65535;break f}if(e){v[e>>2]=g}a=1818326126;break f}if(e){v[e>>2]=i}a=1684434036;break f}if(e){v[e>>2]=i}a=1145457748}b=0;if(!f){break b}break c}if(e){v[e>>2]=j}if(!f){return 1}a=v[i>>2];b=1}v[f>>2]=a}return b}function bj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if((c|0)>=1){while(1){j=v[(k<<3)+b>>2];b:{if(w[j|0]==60){d=0;g=Ca-32|0;Ca=g;f=a;h=Xa(f);j=j+1|0;i=Xa(j);e=0;c:{if((h|0)<(i|0)){break c}while(1){d:{if(d&1){break d}v[g+20>>2]=f;d=0;v[g+16>>2]=0;v[g+4>>2]=j;v[g>>2]=0;while(1){e:{if(d){v[g+16>>2]=d+1;e=w[d|0];if(e){break e}v[g+16>>2]=0}e=v[g+20>>2];v[g+20>>2]=e+1;e=w[e|0];if(e>>>0>=192){e=Pc(g+16|0,e);break e}e=(e-65&255)>>>0<26?e+32|0:e}d=v[g>>2];f:{if(d){v[g>>2]=d+1;d=w[d|0];if(d){break f}v[g>>2]=0}d=v[g+4>>2];v[g+4>>2]=d+1;d=w[d|0];if(d>>>0>=192){d=Pc(g,d);break f}d=(d-65&255)>>>0<26?d+32|0:d}e=e&255;if(!(!e|(e|0)!=(d&255))){d=v[g+16>>2];continue}break}l=e;e=d&255;if(e?(l|0)!=(e|0):0){break d}e=f;if((h|0)==(i|0)){break c}d=w[f+i|0];e=f;if(d>>>0<48){break c}if(d>>>0<58){break d}e=f;if(d>>>0<65){break c}if(d>>>0<91){break d}e=f;if(d>>>0<97){break c}if((d-123&255)>>>0>=4){break d}e=f;break c}d=1;e=w[f|0];g:{if(e>>>0<48){break g}h:{if(e>>>0<58){break h}if(e>>>0<65){break g}if(e>>>0<91){break h}if(e>>>0<97|(e-123&255)>>>0<4){break g}}d=0}if((h|0)>(i|0)){h=h-1|0;f=f+1|0;d=!d;continue}break}e=0}Ca=g+32|0;if(!e){break b}break a}d=Ca-32|0;Ca=d;e=a;i:{if(w[e|0]){while(1){v[d+20>>2]=e;v[d+16>>2]=0;v[d+4>>2]=j;v[d>>2]=0;f=0;while(1){j:{if(f){v[d+16>>2]=f+1;i=w[f|0];if(i){break j}v[d+16>>2]=0}f=v[d+20>>2];while(1){g=f+1|0;v[d+20>>2]=g;h=w[f|0];f=g;if((h|0)==32){continue}break}if(h>>>0>=192){i=Pc(d+16|0,h);break j}i=(h-65&255)>>>0<26?h+32|0:h}f=v[d>>2];k:{if(f){v[d>>2]=f+1;f=w[f|0];if(f){break k}v[d>>2]=0}f=v[d+4>>2];while(1){g=f+1|0;v[d+4>>2]=g;h=w[f|0];f=g;if((h|0)==32){continue}break}if(h>>>0>=192){f=Pc(d,h);break k}f=(h-65&255)>>>0<26?h+32|0:h}g=i&255;if(!(!g|(g|0)!=(f&255))){f=v[d+16>>2];continue}break}f=f&255;if((f|0)==(g|0)|!f){break i}f=w[e+1|0];e=e+1|0;if(f){continue}break}}e=0}Ca=d+32|0;if(e){break a}}k=k+1|0;if((k|0)!=(c|0)){continue}break}}return-1}return v[((k<<3)+b|0)+4>>2]}function lg(a,b,c,d,e,f){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;m=v[a+100>>2];n=v[m+(w[m+69|0]?80:72)>>2];a:{if(!b){break a}i=n-v[m+72>>2]|0;h=b&3;if(b-1>>>0>=3){j=b&-4;while(1){g=l<<2;k=g+c|0;v[k>>2]=i+v[k>>2];k=(g|4)+c|0;v[k>>2]=i+v[k>>2];k=(g|8)+c|0;v[k>>2]=i+v[k>>2];g=(g|12)+c|0;v[g>>2]=i+v[g>>2];l=l+4|0;j=j-4|0;if(j){continue}break}}if(!h){break a}while(1){g=(l<<2)+c|0;v[g>>2]=i+v[g>>2];l=l+1|0;h=h-1|0;if(h){continue}break}}f=f+n|0;b:{if(!d){break b}while(1){if(!w[m+68|0]){break b}i=(o<<2)+e|0;q=w[i+1|0];k=q|w[i|0]<<8;c:{if(k>>>0>=b>>>0|!(v[a+128>>2]==(w[i+3|0]|w[i+2|0]<<8)?k:1)){break c}p=(k<<2)+c|0;if(!Hd(m,v[p>>2])|v[m+40>>2]<1){break b}g=v[a+136>>2];if(!g){break c}n=v[a+104>>2];if(!n){break c}j=w[i+2|0];h=w[i+3|0];l=v[(w[m+69|0]?80:72)+m>>2];s=v[m+72>>2];t=v[m+76>>2];r=v[a+100>>2];i=v[r+40>>2];v[r+40>>2]=i-1;if((i|0)<1){break c}v[a+136>>2]=g-1;i=Ea[n|0](a,h|j<<8)|0;v[a+136>>2]=v[a+136>>2]+1;if(!i){break c}h=(v[m+76>>2]+(v[(w[m+69|0]?80:72)+m>>2]+(s-(l+t|0)|0)|0)|0)-v[m+72>>2]|0;if(!h){break c}i=f+h|0;f=v[p>>2];if((i|0)<=(f|0)){break b}g=k+1|0;j=c;d:{if((h|0)>=1){n=b+h|0;f=g;if(n>>>0<=64){break d}f=i;break b}f=g-b|0;h=(f|0)>(h|0)?f:h;n=h+b|0;f=g-h|0}j=(f<<2)+j|0;mb(j+(h<<2)|0,j,b-f<<2);l=f+h|0;e:{if(l>>>0<=g>>>0){break e}j=f+h|0;k=(j-k|0)-2|0;b=v[p>>2];j=j+(q^-1)&3;if(j){while(1){b=b+1|0;v[(g<<2)+c>>2]=b;g=g+1|0;j=j-1|0;if(j){continue}break}}if(k>>>0<=2){break e}while(1){k=(g<<2)+c|0;v[k>>2]=b+1;j=b+4|0;v[k+12>>2]=j;v[k+8>>2]=b+3;v[k+4>>2]=b+2;b=j;g=g+4|0;if((l|0)!=(g|0)){continue}break}}f:{if(l>>>0>=n>>>0){break f}b=n-(f+h|0)&3;if(b){while(1){g=(l<<2)+c|0;v[g>>2]=v[g>>2]+h;l=l+1|0;b=b-1|0;if(b){continue}break}}if(((h^-1)+n|0)-f>>>0<3){break f}while(1){b=(l<<2)+c|0;v[b>>2]=v[b>>2]+h;v[b+4>>2]=v[b+4>>2]+h;v[b+8>>2]=v[b+8>>2]+h;v[b+12>>2]=v[b+12>>2]+h;l=l+4|0;if((n|0)!=(l|0)){continue}break}}f=i;b=n}o=o+1|0;if((o|0)!=(d|0)){continue}break}}Hd(m,f);return 1}function tp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if((w[a+1|0]|w[a|0]<<8)==10){a:{c=w[a+5|0]|w[a+4|0]<<8;if(c>>>0<=b>>>0){b=b-c|0;if(b>>>0<(w[a+7|0]|w[a+6|0]<<8)>>>0){break a}}a=v[70112];return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}e=w[a+3|0];d=e|w[a+2|0]<<8;if(!d){return 0}c=0;f=a;a=B(b,d);a=(a|0)<0?280448:(f+a|0)+8|0;b=e&3;if(d-1>>>0>=3){c=d-b|0;while(1){d=a;a=a+4|0;c=c-4|0;if(c){continue}break}c=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}if(b){while(1){c=w[a|0]|c<<8;a=a+1|0;b=b-1|0;if(b){continue}break}}return c}b:{c:{d:{e:{f:{g:{e=w[a|0]|w[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 6:break c;case 8:break d;case 4:break e;case 2:break f;case 0:break g;default:break b}}d=b>>>0<c>>>0?(b|0)<0?280448:((b<<2)+a|0)+2|0:0;break b}d=up(a,b);break b}c=w[a+5|0]|w[a+4|0]<<8;h:{if(!c){g=w[a+3|0]|w[a+2|0]<<8;break h}g=w[a+3|0]|w[a+2|0]<<8;e=(a+2|0)+B(g,c-1|0)|0;if((w[e+10|0]<<8|w[e+11|0])!=65535){break h}c=c-((w[e+13|0]|w[e+12|0]<<8)==65535)|0}if((c|0)<1){break b}h=a+12|0;d=c-1|0;e=0;while(1){f=d+e>>>1|0;c=h+B(f,g)|0;i=w[c+2|0]<<8|w[c+3|0];i:{if(i>>>0<=b>>>0){if((w[c+1|0]|w[c|0]<<8)>>>0<b>>>0){e=f+1|0;break i}c=(w[c+5|0]|w[c+4|0]<<8)+a|0;a=b-i|0;d=(a|0)<0?280448:c+(a<<2)|0;break b}d=f-1|0}if((d|0)>=(e|0)){continue}break}d=0;break b}c=w[a+3|0]|w[a+2|0]<<8;if(c>>>0>b>>>0){break b}b=b-c|0;if(b>>>0>=(w[a+5|0]|w[a+4|0]<<8)>>>0){break b}d=(b|0)<0?280448:((b<<2)+a|0)+6|0;break b}c=w[a+5|0]|w[a+4|0]<<8;j:{if(!c){g=w[a+3|0]|w[a+2|0]<<8;break j}f=c;g=w[a+3|0]|w[a+2|0]<<8;c=(a+2|0)+B(g,c-1|0)|0;c=f-((w[c+10|0]<<8|w[c+11|0])==65535)|0}e=0;k:{if((c|0)<1){break k}f=a+12|0;c=c-1|0;while(1){a=c+d>>>1|0;e=f+B(a,g)|0;h=w[e|0]<<8|w[e+1|0];l:{if(h>>>0>b>>>0){c=a-1|0;break l}if((b|0)==(h|0)){break k}d=a+1|0}if((c|0)>=(d|0)){continue}break}e=0}d=e?e+2|0:0}a=d?d:280448;a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}function iv(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:{b:{c:{d:{i=w[a|0];e:{if((i|0)!=117){break e}f:{c=w[a+1|0];if((c|0)!=110|w[a+2|0]!=105){break f}b=w[a+3|0];d=b-48|0;e=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(e>>>0>15){break f}b=w[a+4|0];d=b-48|0;f=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(f>>>0>15){break f}b=w[a+5|0];d=b-48|0;h=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(h>>>0>15){break f}b=w[a+6|0];d=b-48|0;b=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(b>>>0>15){break f}b=b+(h+(f+(e<<4)<<4)<<4)|0;d=w[a+7|0];if(!d){break c}if((d|0)!=46){break f}return b|-2147483648}b=c-65>>>0>5?16:c-55|0;c=c-48|0;d=c>>>0>9?b:c;if(d>>>0>15){break e}c=w[a+2|0];b=c-48|0;e=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(e>>>0>15){break e}c=w[a+3|0];b=c-48|0;f=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(f>>>0>15){break e}c=w[a+4|0];b=c-48|0;c=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(c>>>0>15){break e}b=c+(f+(e+(d<<4)<<4)<<4)|0;d=w[a+5|0];e=d-48|0;d=e>>>0>9?d-65>>>0>5?16:d-55|0:e;c=a+5|0;g:{if(d>>>0>15){break g}b=d+(b<<4)|0;d=w[a+6|0];e=d-48|0;d=e>>>0>9?d-65>>>0>5?16:d-55|0:e;c=a+6|0;if(d>>>0>15){break g}b=d+(b<<4)|0;c=a+7|0}c=w[c|0];if(!c){break c}if((c|0)==46){break d}}e=i<<24>>24;while(1){if(!(!i|(i|0)==46)){g=g+1|0;i=w[g+a|0];continue}break}if(!g){return 0}k=a+g|0;f=a+1|0;b=0;a=52;h:{while(1){h=a+b|0;c=h&-2;c=(w[c+307266|0]<<8|w[c+307267|0])+307264|0;d=w[c|0];j=d&127;if((j|0)==(e|0)){break h}c=h>>1;d=(e|0)>(j|0);b=d?c+1|0:b;a=d?a:c;if((b|0)<(a|0)){continue}break}e=0;break a}if(g>>>0<=1){break b}while(1){a=c+1|0;b=d<<24;d=w[c+1|0];h=t[f|0];i:{if(b>>24<=-1){c=a;if((h|0)==(d&127)){break i}e=0;break a}e=0;b=d&127;if(!b){break a}g=a+(d&128?3:1)|0;while(1){c=(w[g+1|0]|w[g|0]<<8)+307264|0;d=w[c|0];if((h|0)==(d&127)){break i}g=g+2|0;a=(b|0)>1;b=b-1|0;if(a){continue}break}break a}f=f+1|0;if((k|0)!=(f|0)){continue}break}break b}b=b|-2147483648}return b|0}e=0;if(d<<24>>24<0|t[c+1|0]>-1){break a}e=w[c+3|0]|w[c+2|0]<<8}return((i|0)==46?e|-2147483648:e)|0}function SB(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,u=0;f=Ca-16|0;Ca=f;j=v[b+16>>2];k=v[b+8>>2];Ea[v[b+28>>2]](b);a:{b:{c:{d:{c=v[b>>2];if(c>>>0<k>>>0){v[b>>2]=c+1;if(w[c|0]==91){break d}}c=3;v[f+12>>2]=3;break c}Ea[v[b+28>>2]](b);e:{f:{d=v[b>>2];g:{if(k>>>0<=d>>>0){break g}while(1){h:{i:{j:{c=w[d|0];if((c|0)!=60){if((c|0)!=93){break j}v[b>>2]=d+1;break b}if(l?0:g){break e}Ea[v[b+32>>2]](b);if(v[b+12>>2]){break b}c=v[b>>2];i=(c+(d^-1)|0)/2|0;if(c-d>>>0<=2){break g}g=Kd(j,1,p,i,g,f+12|0);c=v[f+12>>2];if(c){break c}v[b>>2]=d;l=1;Ea[v[b+44>>2]](b,g,i,f+8|0,1)|0;h=v[f+8>>2];break i}if(c-48>>>0>9){i=p;break i}if(l){break g}h=Ea[v[b+36>>2]](b)|0;if((h|0)<=-1){break e}Ea[v[b+32>>2]](b);if(v[b+12>>2]){break a}c=v[b>>2];g=c+1|0;if(k-c>>>0<=h>>>0){break e}v[b>>2]=(c+h|0)+1;l=0;break h}if(!g){break f}p=i}k:{l:{if(!(h&1)){c=h;break l}c=h-1|0;if(w[g+c|0]){break k}}h=c;if(!c){break g}}i=k-v[b>>2]|0;n=0;while(1){m:{n:{o:{switch(e|0){case 0:e=0;if((m|0)<12){break n}c=v[a+496>>2];o=(w[c+4|0]<<4)+w[c+5|0]|0;d=o<<4|12;v[a+500>>2]=d;if((d|0)>(i|0)){break g}s=a,u=Kd(j,1,12,d,c,f+12|0),v[s+496>>2]=u;c=v[f+12>>2];if(c){break c}case 1:e=1;c=v[a+500>>2];if((m|0)<(c|0)){break n}q=v[a+496>>2];if(o>>>0>=1){r=q+24|0;d=0;while(1){e=(d<<4)+r|0;e=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>i>>>0|(i-e|0)<(c|0)){break g}c=(e+3&-4)+c|0;v[a+500>>2]=c;d=d+1|0;if((o|0)!=(d|0)){continue}break}}s=a,u=Kd(j,1,o<<4|12,c+1|0,q,f+12|0),v[s+496>>2]=u;c=v[f+12>>2];if(c){break c}break;case 2:break o;default:break m}}e=2;if(v[a+500>>2]<=(m|0)){break g}}t[v[a+496>>2]+m|0]=w[g+n|0];m=m+1|0}n=n+1|0;if((n|0)!=(h|0)){continue}break}Ea[v[b+28>>2]](b);d=v[b>>2];if(k>>>0>d>>>0){continue}break}}c=3;v[f+12>>2]=3;break c}c=3;v[f+12>>2]=3;g=0;break c}c=3;v[f+12>>2]=3;l=0}v[b+12>>2]=c}if(!l){break a}if(g){Ea[v[j+8>>2]](j,g)}}Ca=f+16|0}function Bx(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;e=Ca-96|0;Ca=e;g=0;a:{if(y[a+16>>2]<=c>>>0){break a}b:{g=v[b+60>>2];if(!g){break b}f=v[v[a>>2]>>2];f=f?f:280448;f=y[f+16>>2]<20?280448:v[f+12>>2];if((g|0)!=(w[f+4|0]<<8|w[f+5|0])){break b}v[e+88>>2]=-8388609;v[e+80>>2]=2139095039;v[e+84>>2]=-8388609;v[e+72>>2]=0;v[e+76>>2]=2139095039;v[e+68>>2]=d;v[e+64>>2]=b;if(d){v[e+84>>2]=-8388609;v[e+88>>2]=-8388609;v[e+76>>2]=2139095039;v[e+80>>2]=2139095039}v[e+32>>2]=v[e+88>>2];d=v[e+84>>2];v[e+24>>2]=v[e+80>>2];v[e+28>>2]=d;d=v[e+76>>2];v[e+16>>2]=v[e+72>>2];v[e+20>>2]=d;d=v[e+68>>2];v[e+8>>2]=v[e+64>>2];v[e+12>>2]=d;g=Lj(a,b,c,e+8|0);break a}Dn(e+40|0,a,c);g=1;if(!v[e+60>>2]){break a}g=v[e+56>>2];h=v[a+4>>2];i=v[h+4>>2];f=v[e+52>>2];c:{d:{if(i>>>0>f>>>0){a=v[h+12>>2];f=(f|0)<0?280448:v[(a?a:280448)+12>>2]+(f<<2)|0;a=f+3|0;f=f+2|0;break d}a=0;c=0;if(f>>>0>=y[h>>2]){break c}a=v[h+12>>2];f=(f-i<<1)+((i|0)<0?280448:v[(a?a:280448)+12>>2]+(i<<2)|0)|0;a=f+1|0}f=(w[a|0]|w[f|0]<<8)<<16;a=f>>31;c=f>>16}h=v[b+32>>2];i=v[b+36>>2];a=eQ(c,a,h,i);v[d>>2]=(Da&65535)<<16|a>>>16;a=v[b+44>>2];k=a;l=v[b+40>>2];c=g+8|0;f=g+4|0;a=w[g+4|0]|w[g+5|0]<<8;b=(a<<8|a>>>8)<<16>>16;a=w[g+8|0]|w[g+9|0]<<8;a=(b|0)<(a<<8|a>>>8)<<16>>16?c:f;a=w[a|0]|w[a+1|0]<<8;a=(a<<8|a>>>8)<<16;b=a>>31;a=eQ(l,k,a>>16,b);v[d+4>>2]=(Da&65535)<<16|a>>>16;m=h;n=i;a=g+6|0;b=g+2|0;h=w[g+2|0]|w[g+3|0]<<8;h=(h<<8|h>>>8)<<16>>16;i=w[g+6|0]|w[g+7|0]<<8;i=(i<<8|i>>>8)<<16>>16;j=(h|0)<(i|0)?a:b;j=w[j|0]|w[j+1|0]<<8;a=(h|0)>(i|0)?a:b;a=w[a|0]|w[a+1|0]<<8;a=(j<<8|j>>>8)-(a<<8|a>>>8)<<16;b=a>>31;a=eQ(m,n,a>>16,b);v[d+8>>2]=(Da&65535)<<16|a>>>16;h=d;a=w[g+4|0]|w[g+5|0]<<8;a=(a<<8|a>>>8)<<16>>16;b=w[g+8|0]|w[g+9|0]<<8;b=(b<<8|b>>>8)<<16>>16;d=(a|0)>(b|0)?c:f;d=w[d|0]|w[d+1|0]<<8;a=(a|0)<(b|0)?c:f;a=w[a|0]|w[a+1|0]<<8;a=(d<<8|d>>>8)-(a<<8|a>>>8)<<16;b=a>>31;a=eQ(l,k,a>>16,b);v[h+12>>2]=(Da&65535)<<16|a>>>16;g=1}Ca=e+96|0;return g}function xB(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;f=v[b>>2];if(!f){return 35}b=6;a:{if(y[f+16>>2]<=c>>>0){break a}j=v[f+104>>2];g=v[f+292>>2];b=g+(c<<4)|0;h=u[b+6>>1];k=h+u[b+8>>1]|0;v[a+76>>2]=k;i=u[b>>1];b=u[b+2>>1];t[a+94|0]=1;u[a+92>>1]=1;e=b-i|0;v[a+80>>2]=e;b=3;b:{c:{switch((1<<(v[f+312>>2]&3))-1|0){case 0:b=e+7>>>3|0;break b;case 1:b=e+15>>>3&536870910;break b;case 3:b=e+31>>>3&536870908;break b;case 7:break c;default:break a}}b=e+63>>>3&536870904}v[a+104>>2]=h;v[a+100>>2]=i;v[a+72>>2]=1651078259;v[a+84>>2]=b;b=u[((c<<4)+g|0)+4>>1];v[a+36>>2]=h<<6;v[a+32>>2]=i<<6;v[a+28>>2]=k<<6;v[a+24>>2]=e<<6;v[a+40>>2]=b<<6;pg(a+24|0,v[f+208>>2]+v[f+204>>2]<<6);d:{if(d&4194304){break d}d=B(v[a+76>>2],v[a+84>>2]);b=ti(a,d);if(b){break a}b=Ya(j,v[((c<<4)+g|0)+12>>2]);if(b){break a}b=Vb(j,v[a+88>>2],d);if(b){break a}c=v[f+312>>2];if(!(c&8)){c=v[a+88>>2];b=d;if(b){while(1){e=w[c|0];e=e>>>1&85|e<<1&170;e=e>>>2&51|e<<2&204;t[c|0]=e>>>4|e<<4;c=c+1|0;b=b-1|0;if(b){continue}break}}c=v[f+312>>2]}if(!((c>>>2^c>>>3)&1)){break d}b=0;e:{switch((1<<(c>>>4&3))-2|0){case 0:if(d>>>0<2){break d}a=v[a+88>>2];c=d-2|0;b=(c>>>1|0)+1&3;if(b){while(1){f=w[a+1|0];t[a+1|0]=w[a|0];t[a|0]=f;a=a+2|0;d=d-2|0;b=b-1|0;if(b){continue}break}}if(c>>>0<6){break d}while(1){b=w[a+1|0];t[a+1|0]=w[a|0];t[a|0]=b;b=w[a+2|0];t[a+2|0]=w[a+3|0];t[a+3|0]=b;b=w[a+4|0];t[a+4|0]=w[a+5|0];t[a+5|0]=b;b=w[a+6|0];t[a+6|0]=w[a+7|0];t[a+7|0]=b;a=a+8|0;d=d-8|0;if(d>>>0>1){continue}break};break d;case 2:break e;default:break a}}if(d>>>0<4){break d}a=v[a+88>>2];b=d-4|0;if(!(b&4)){c=w[a+3|0];t[a+3|0]=w[a|0];t[a|0]=c;c=w[a+1|0];t[a+1|0]=w[a+2|0];t[a+2|0]=c;d=b;a=a+4|0}if(b>>>0<4){break d}while(1){b=w[a+3|0];t[a+3|0]=w[a|0];t[a|0]=b;b=w[a+1|0];t[a+1|0]=w[a+2|0];t[a+2|0]=b;b=w[a+4|0];t[a+4|0]=w[a+7|0];t[a+7|0]=b;b=w[a+5|0];t[a+5|0]=w[a+6|0];t[a+6|0]=b;a=a+8|0;d=d-8|0;if(d>>>0>3){continue}break}}b=0}return b|0}function Gv(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;i=Ca-16|0;Ca=i;d=v[a+12>>2];if(d){v[(v[a+20>>2]+(d<<4)|0)-4>>2]=b}j=v[a+24>>2];a:{if((j|0)<2){break a}n=j;while(1){o=n;g=v[a+32>>2];n=n-1|0;b=g+(n<<4)|0;k=v[b>>2];d=v[b+8>>2];l=o-2|0;b:{c:{while(1){d:{e=g+(l<<4)|0;b=v[e+8>>2];e:{e=v[e>>2];f=e>>>0>k>>>0?k:e;f:{g:{if(f>>>0<8){m=d;break g}m=(f-8>>>3|0)+1|0;e=m+b|0;m=d+m|0;h=d;while(1){if(w[b|0]&w[h|0]){break f}b=b+1|0;h=h+1|0;f=f-8|0;if(f>>>0>7){continue}break}b=e}if(!f|!(w[b|0]&w[m|0]&-256>>f)){break e}}d=l>>>0>n>>>0;b=d?n:l;m=d?l:n;if(b>>>0>=m>>>0|j>>>0<=m>>>0){break b}k=g+(m<<4)|0;j=v[k>>2];if(!j){break c}g=g+(b<<4)|0;b=v[g>>2];if(j>>>0<=b>>>0){f=j+7>>>3|0;break d}d=v[g+4>>2];v[i>>2]=0;f=j+7>>>3|0;d=d+7>>>3|0;if(f>>>0>d>>>0){e=d;d=f+7&1073741816;p=g,q=Ua(c,1,e,d,v[g+8>>2],i),v[p+8>>2]=q;h=v[i>>2];if(h){break a}v[g+4>>2]=d<<3}d=b+1|0;if(j-b&1){if(y[g>>2]>b>>>0){e=v[g+8>>2]+(b>>>3|0)|0;t[e|0]=w[e|0]&-129>>(b&7)}b=d}if((d|0)==(j|0)){break d}while(1){if(y[g>>2]>b>>>0){d=v[g+8>>2]+(b>>>3|0)|0;t[d|0]=w[d|0]&-129>>(b&7)}e=b+1|0;if(e>>>0<y[g>>2]){d=v[g+8>>2]+(e>>>3|0)|0;t[d|0]=w[d|0]&-129>>(e&7)}b=b+2|0;if((j|0)!=(b|0)){continue}break}break d}b=(l|0)>0;l=l-1|0;if(b){continue}break b}break}if(!f){break c}d=f-1|0;h=v[k+8>>2];b=v[g+8>>2];l=f&3;if(l){while(1){t[b|0]=w[h|0]|w[b|0];f=f-1|0;h=h+1|0;b=b+1|0;l=l-1|0;if(l){continue}break}}if(d>>>0<3){break c}while(1){t[b|0]=w[h|0]|w[b|0];t[b+1|0]=w[h+1|0]|w[b+1|0];t[b+2|0]=w[h+2|0]|w[b+2|0];t[b+3|0]=w[h+3|0]|w[b+3|0];h=h+4|0;b=b+4|0;f=f-4|0;if(f){continue}break}}v[k>>2]=0;v[k+12>>2]=0;d=a;b=v[d+24>>2];e=b+(m^-1)|0;if((e|0)>=1){b=v[k+12>>2];v[i+8>>2]=v[k+8>>2];v[i+12>>2]=b;b=v[k+4>>2];v[i>>2]=v[k>>2];v[i+4>>2]=b;b=e<<4;e=mb(k,k+16|0,b)+b|0;b=v[i+12>>2];v[e+8>>2]=v[i+8>>2];v[e+12>>2]=b;b=v[i+4>>2];v[e>>2]=v[i>>2];v[e+4>>2]=b;b=v[a+24>>2]}j=b-1|0;v[d+24>>2]=j}if((o|0)>2){continue}break}h=0}Ca=i+16|0;return h}function Lm(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=v[a+168>>2];g=v[i+16>>2];h=v[v[a+216>>2]+24>>2];v[a+824>>2]=365375;d=v[a+96>>2];j=v[a+676>>2];h=b?b:g+B(h,144)|0;g=Ta(a+456|0,h,144);k=!j|!(d&2);v[a+672>>2]=k;b=j?0:d;b=b&1?b|124:b;if(b&512){Ta(g,a+824|0,144)}e=+v[i+40>>2];c=e/288;if(b&4){A[a+504>>3]=A[a+872>>3];A[a+512>>3]=A[a+880>>3];A[a+464>>3]=c*A[a+832>>3];A[a+520>>3]=c*A[a+888>>3]}if(b&8){v[a+460>>2]=v[a+828>>2];v[a+580>>2]=v[a+948>>2]}if(b&16){d=v[a+844>>2];v[a+472>>2]=v[a+840>>2];v[a+476>>2]=d;d=v[a+852>>2];v[a+480>>2]=v[a+848>>2];v[a+484>>2]=d}if(b&32){d=v[a+860>>2];v[a+488>>2]=v[a+856>>2];v[a+492>>2]=d;d=v[a+868>>2];v[a+496>>2]=v[a+864>>2];v[a+500>>2]=d}if(b&64){v[a+536>>2]=v[a+904>>2];A[a+544>>3]=c*A[a+912>>3];A[a+552>>3]=c*A[a+920>>3]}if(b&128){v[a+560>>2]=v[a+928>>2]}if(b&1024){v[a+592>>2]=v[a+960>>2]}if(b&256){v[a+564>>2]=v[a+932>>2];d=v[a+940>>2];v[a+568>>2]=v[a+936>>2];v[a+572>>2]=d}d=v[a+460>>2];if(!d){d=v[h+4>>2];v[a+460>>2]=d}v[a+668>>2]=b;v[a+220>>2]=g;f=+v[a+144>>2];f=!v[a+72>>2]|j?f:A[a+152>>3];e=f/e;A[a+184>>3]=e;c=e;b=v[a+28>>2];if(b){c=f/+(b|0)}A[a+208>>3]=c;f=v[i+60>>2]?e:c;A[a+200>>3]=f;if(k){l=c;c=A[a+32>>3];A[a+208>>3]=l*c;A[a+200>>3]=f*c;A[a+184>>3]=e*c}v[a+640>>2]=d;b=v[a+476>>2];v[a+376>>2]=v[a+472>>2];v[a+380>>2]=b;b=v[a+484>>2];v[a+384>>2]=v[a+480>>2];v[a+388>>2]=b;A[a+232>>3]=A[a+464>>3];v[a+244>>2]=(v[a+500>>2]!=0)<<1|v[a+496>>2]!=0;m=a,n=Xa(d),v[m+644>>2]=n;v[a+656>>2]=v[a+580>>2];b=v[a+492>>2];v[a+648>>2]=v[a+488>>2];v[a+652>>2]=b;nj(a);t[a+411|0]=0;v[a+256>>2]=0;v[a+260>>2]=0;v[a+264>>2]=0;v[a+268>>2]=0;v[a+372>>2]=v[a+536>>2];c=A[a+544>>3];A[a+360>>3]=c;A[a+352>>3]=c;A[a+328>>3]=A[a+504>>3];A[a+336>>3]=A[a+512>>3];A[a+344>>3]=A[a+520>>3];A[a+416>>3]=A[a+584>>3];c=A[a+552>>3];A[a+432>>3]=c;A[a+424>>3]=c;v[a+280>>2]=0;v[a+284>>2]=0;v[a+288>>2]=0;v[a+292>>2]=0;A[a+272>>3]=A[a+528>>3];v[a+664>>2]=v[a+576>>2]}function Qi(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;if(v[a+72>>2]==1869968492){if(c){l=v[c>>2];i=v[c+4>>2]}c=0;g=u[a+110>>1];a:{if(!g){break a}e=v[a+112>>2];c=v[e+4>>2];d=v[e>>2];if((g|0)<2){f=c;h=d;break a}j=(g<<3)+e|0;g=e+8|0;h=d;f=c;while(1){e=v[e+12>>2];f=(e|0)>(f|0)?e:f;c=(c|0)>(e|0)?e:c;e=v[g>>2];h=(e|0)>(h|0)?e:h;d=(d|0)>(e|0)?e:d;e=g;g=e+8|0;if(j>>>0>g>>>0){continue}break}}g=i&63;e=g+(f&63)|0;m=l&63;j=m+(h&63)|0;n=g+(c&63)|0;m=m+(d&63)|0;g=6;k=i>>6;i=k+(f>>6)|0;l=l>>6;f=l+(h>>6)|0;h=(c>>6)+k|0;c=l+(d>>6)|0;b:{c:{d:{switch(b-2|0){default:f=f+(j+63>>>6|0)|0;c=c+(m>>>6|0)|0;d=f-c|0;g=2;e=i+(e+63>>>6|0)|0;h=h+(n>>>6|0)|0;i=e-h|0;break c;case 0:d=j+32|0;f=f+(d>>>6|0)|0;b=c;c=m+31|0;b=b+(c>>>6|0)|0;e:{if((f|0)==(b|0)){if((((d&63)+(c&63)|0)-31|0)<=31){f=b;b=b-1|0;break e}f=b+1|0}}c=b;d=e+32|0;e=i+(d>>>6|0)|0;b=h;h=n+31|0;b=b+(h>>>6|0)|0;f:{if((e|0)==(b|0)){if((((d&63)+(h&63)|0)-31|0)<=31){e=b;b=b-1|0;break f}e=b+1|0}}h=b;i=e-b|0;d=f-c|0;b=d+15>>3&-2;g=1;break b;case 1:o=i;k=e;b=v[a>>2];d=v[b+184>>2];g=v[b+192>>2];e=(d|0)<(g|0)?d:g;i=v[b+200>>2];e=o+((k-((e|0)<(i|0)?e:i)|0)+63>>6)|0;d=(d|0)>(g|0)?d:g;h=(n-((d|0)>(i|0)?d:i)>>6)+h|0;i=e-h|0;k=f;d=v[b+180>>2];g=v[b+188>>2];f=(d|0)<(g|0)?d:g;b=v[b+196>>2];f=k+((j-((b|0)>(f|0)?f:b)|0)+63>>6)|0;k=c;c=(d|0)>(g|0)?d:g;c=k+(m-((b|0)<(c|0)?c:b)>>6)|0;d=B(f-c|0,3);b=d+3&-4;g=5;break b;case 2:break d}}o=f;k=j;b=v[a>>2];d=v[b+184>>2];j=v[b+192>>2];f=(d|0)<(j|0)?d:j;l=v[b+200>>2];f=o+((k-((f|0)<(l|0)?f:l)|0)+63>>6)|0;k=c;c=(d|0)>(j|0)?d:j;c=k+(m-((c|0)>(l|0)?c:l)>>6)|0;d=f-c|0;k=i;i=v[b+180>>2];j=v[b+188>>2];m=(i|0)>(j|0)?i:j;b=v[b+196>>2];e=k+((e+((b|0)<(m|0)?m:b)|0)+63>>6)|0;k=h;h=(i|0)<(j|0)?i:j;h=k+(((b|0)>(h|0)?h:b)+n>>6)|0;i=B(e-h|0,3)}b=d}v[a+104>>2]=e;v[a+100>>2]=c;v[a+76>>2]=i;t[a+94|0]=g;u[a+92>>1]=256;v[a+80>>2]=d;v[a+84>>2]=b;a=(c|0)<-32768|(f|0)>32767|(h|0)<-32768|(e|0)>32767}else{a=1}return a}function qj(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Ca+-64|0;Ca=h;k=v[b>>2];v[h>>2]=k;v[h+4>>2]=v[c>>2];m=w[e+9|0];o=m?10:9;while(1){n=(g<<2)+h|0;v[n+8>>2]=k;if(w[e+g|0]){j=v[a+8>>2];a:{if(v[a+12>>2]-j>>3>>>0<=i>>>0){j=0;l=v[a+4>>2];if(!l|v[l>>2]){break a}v[l>>2]=130;break a}b:{c:{d:{j=j+(i<<3)|0;switch(v[j+4>>2]-1|0){case 0:break c;case 1:break d;default:break b}}j=v[j>>2]<<16;break a}j=v[j>>2];j=((j>>31)+j|0)- -8192>>14;break a}j=v[j>>2]}v[n+8>>2]=j+k;i=i+1|0}g=g+1|0;if((o|0)!=(g|0)){k=v[(g<<2)+h>>2];continue}break}if(!m){v[h+44>>2]=v[c>>2]}e:{f:{if(f){f=v[h+44>>2]-v[c>>2]|0;e=f>>31;f=e^e+f;g=v[h+40>>2]-v[b>>2]|0;e=g>>31;g=e^e+g;e=v[a+8>>2];g:{if(v[a+12>>2]-e>>3>>>0<=i>>>0){i=0;e=v[a+4>>2];if(!e|v[e>>2]){break g}v[e>>2]=130;break g}h:{i:{j:{e=e+(i<<3)|0;switch(v[e+4>>2]-1|0){case 0:break i;case 1:break j;default:break h}}i=v[e>>2]<<16;break g}e=v[e>>2];i=((e>>31)+e|0)- -8192>>14;break g}i=v[e>>2]}if((f|0)<(g|0)){g=v[h+40>>2]+i|0;break f}g=v[b>>2];e=v[h+44>>2]+i|0;break e}f=h;k:{if(w[e+10|0]){j=v[h+40>>2];g=v[a+8>>2];l:{if(v[a+12>>2]-g>>3>>>0<=i>>>0){k=0;g=v[a+4>>2];if(!g|v[g>>2]){break l}v[g>>2]=130;break l}m:{n:{o:{g=g+(i<<3)|0;switch(v[g+4>>2]-1|0){case 0:break n;case 1:break o;default:break m}}k=v[g>>2]<<16;break l}g=v[g>>2];k=((g>>31)+g|0)- -8192>>14;break l}k=v[g>>2]}i=i+1|0;g=j+k|0;break k}g=v[b>>2]}v[f+48>>2]=g;if(!w[e+11|0]){break f}f=v[h+44>>2];e=v[a+8>>2];p:{if(v[a+12>>2]-e>>3>>>0<=i>>>0){i=0;e=v[a+4>>2];if(!e|v[e>>2]){break p}v[e>>2]=130;g=v[h+48>>2];break p}q:{r:{s:{e=e+(i<<3)|0;switch(v[e+4>>2]-1|0){case 0:break r;case 1:break s;default:break q}}i=v[e>>2]<<16;break p}e=v[e>>2];i=((e>>31)+e|0)- -8192>>14;break p}i=v[e>>2]}e=f+i|0;break e}e=v[c>>2]}Ef(d,v[h+8>>2],v[h+12>>2],v[h+16>>2],v[h+20>>2],v[h+24>>2],v[h+28>>2]);Ef(d,v[h+32>>2],v[h+36>>2],v[h+40>>2],v[h+44>>2],g,e);v[a+12>>2]=v[a+8>>2];v[b>>2]=g;v[c>>2]=e;Ca=h- -64|0}function qN(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;e=Lh(b,c);a:{if(e){break a}e=v[b+2740>>2];if(!(e&1)){e=Uv(b,v[d+52>>2],d+56|0,0);if(e){break a}e=v[b+2740>>2]}b:{if(e&2){break b}e=Uv(b,v[d+9856>>2],d+9860|0,1);if(e){break a}if(w[(v[v[d+36>>2]+8>>2]+(a<<1)|0)+1|0]&64){break b}a=v[b+1404>>2];if((a|0)<1){break b}i=v[b+1412>>2];p=i+B(a,44)|0;n=v[d+9848>>2];while(1){a=Qa(y[d+40>>2]/40|0,n);c:{if(!v[d+10064>>2]){break c}e=(a|0)<32?a:32;a=0;g=0;l=0;while(1){h=B(a,36)+d|0;f=v[h+10100>>2];d:{if(!(f&1)){break d}m=(f&6)!=0;j=f>>>3&1;if(j?0:(m|0)!=(v[b+1416>>2]!=t[i+13|0]|0)){break d}o=h+10068|0;k=u[i>>1]-v[o>>2]|0;f=k>>31;k=Qa(f^f+k,n);f=(k|0)<(e|0);e=f?k:e;g=f?o:g;l=f?j:l;if(j|(!(t[i+12|0]&1)|!k)){break d}f=u[i>>1];if(((f|0)<v[o>>2]|0)==(m|0)){break d}m=f;f=h+10080|0;j=m-v[f>>2]|0;h=j>>31;h=Qa(h^h+j,n);if((h|0)>=(e|0)){break d}l=0;e=h;g=f}a=a+1|0;if(a>>>0<y[d+10064>>2]){continue}break}if(!g){break c}v[i+20>>2]=g;if(!(l&255)){break c}t[i+12|0]=w[i+12|0]|8}i=i+44|0;if(p>>>0>i>>>0){continue}break}}if(!(t[b+2740|0]&1)){Tv(b,0);a=v[b+44>>2];if((a|0)>=1){e=v[b+52>>2];g=e+B(a,44)|0;while(1){a=v[e+12>>2];if(a){d=e+36|0;f=v[a+8>>2];h=v[e+40>>2];while(1){a=v[d>>2];v[a+16>>2]=f;u[a>>1]=x[a>>1]|4;d=a+32|0;if((a|0)!=(h|0)){continue}break}}e=e+44|0;if(g>>>0>e>>>0){continue}break}}Cj(b,0);Bj(b,0)}if(!(w[b+2740|0]&2)){Tv(b,1);a=v[b+1392>>2];if((a|0)>=1){e=v[b+1400>>2];g=e+B(a,44)|0;while(1){a=v[e+12>>2];if(a){d=e+36|0;f=v[a+8>>2];h=v[e+40>>2];while(1){a=v[d>>2];v[a+20>>2]=f;u[a>>1]=x[a>>1]|8;d=a+32|0;if((a|0)!=(h|0)){continue}break}}e=e+44|0;if(g>>>0>e>>>0){continue}break}}Cj(b,1);Bj(b,1)}e=0;d=v[b+24>>2];if((d|0)<=0){break a}a=v[b+28>>2];b=a+B(d,40)|0;d=v[c+4>>2];g=v[c+8>>2];while(1){v[d>>2]=v[a+16>>2];v[d+4>>2]=v[a+20>>2];c=x[a>>1];t[g|0]=c&1?0:c&2?2:1;g=g+1|0;d=d+8|0;a=a+40|0;if(b>>>0>a>>>0){continue}break}}return e|0}function Jd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ca-48|0;Ca=f;v[a+8>>2]=0;i=v[a+4>>2];if(i){v[v[a>>2]>>2]=28945;v[v[a>>2]+4>>2]=28945;v[v[a>>2]+8>>2]=28945;v[v[a>>2]+12>>2]=28945;v[v[a>>2]+16>>2]=28945}a:{if(!d){break a}h=w[c|0];if(!h){break a}j=6;if(!b){break a}e=w[b|0];if(!e){break a}v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=0;while(1){b:{c:{d:{g=e&255;if((g|0)!=43){if(!g){break d}g=w[b+1|0];break c}g=w[b+1|0];if(g){break c}k=1;g=0;break b}e=0;e:{if((d|0)>0){i=c+d|0;while(1){e=c;while(1){f:{if(w[((h&248)>>>3|0)+f|0]>>>(h&7)&1){g=e;break f}h=w[e+1|0];g=e+1|0;e=g;if(h){continue}}break}e=a;b=v[a+8>>2];g:{if((b|0)!=v[a+4>>2]){d=b;break g}v[f+44>>2]=0;d=-1;if((b|0)==-1){break g}if((b|0)==536870911){j=64;break a}h=b;d=(b+(b>>>1|0)|0)+5|0;b=b>>>0>d>>>0?536870911:d>>>0>536870911?536870911:d;l=a,m=Ua(v[a+12>>2],4,h,b,v[a>>2],f+44|0),v[l>>2]=m;j=v[f+44>>2];if(j){break a}v[a+4>>2]=b;d=v[a+8>>2]}v[e+8>>2]=d+1;v[v[a>>2]+(d<<2)>>2]=c>>>0<g>>>0?c:28945;e=w[g|0];h:{i:{if(k){d=0;b=g;if(!(e&255)){h=0;c=g;break h}while(1){j:{if(!(w[((e&248)>>>3|0)+f|0]>>>(e&7)&1)){h=e;c=b;break j}h=0;t[b|0]=0;e=w[b+1|0];c=b+1|0;b=c;if(e){continue}}break}if(c>>>0<=g>>>0){break h}break i}if(!(e&255)){h=0;c=g;d=0;break h}t[g|0]=0;c=g+1|0;h=w[g+1|0]}d=!(h&255)}if(h&255?c>>>0<i>>>0:0){continue}break}e=v[a+8>>2]+d|0;i=v[a+4>>2];break e}d=0}k:{if(e>>>0<i>>>0){break k}v[f+44>>2]=0;if(e+1>>>0<=i>>>0){break k}j=64;if((i|0)==536870911){break a}b=((i>>>1|0)+i|0)+5|0;b=b>>>0<i>>>0?536870911:b>>>0>536870911?536870911:b;l=a,m=Ua(v[a+12>>2],4,i,b,v[a>>2],f+44|0),v[l>>2]=m;j=v[f+44>>2];if(j){break a}v[a+4>>2]=b}l:{if(!d){h=v[a+8>>2];break l}b=v[a+8>>2];h=b+1|0;v[a+8>>2]=h;v[v[a>>2]+(b<<2)>>2]=28945}j=0;v[v[a>>2]+(h<<2)>>2]=0;break a}j=((e&248)>>>3|0)+f|0;t[j|0]=w[j|0]|1<<(e&7)}b=b+1|0;e=g;continue}}Ca=f+48|0;return j}function rq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=v[d+8>>2];f=v[d+16>>2]+B(e,3)|0;m=x[g+(w[f+2|0]<<1)>>1];j=w[f+1|0];l=v[d+4>>2];f=l+x[g+(w[f|0]<<1)>>1]|0;g=w[f|0];a:{if(!g){g=0;break a}h=g&3;b:{if(g-1>>>0<3){g=0;break b}i=g&252;g=0;while(1){t[a+g|0]=w[f+1|0];t[(g|1)+a|0]=w[f+2|0];t[(g|2)+a|0]=w[f+3|0];t[(g|3)+a|0]=w[f+4|0];g=g+4|0;f=f+4|0;i=i-4|0;if(i){continue}break}}if(!h){break a}while(1){t[a+g|0]=w[f+1|0];g=g+1|0;f=f+1|0;h=h-1|0;if(h){continue}break}}c:{if(j>>>0<=9){c=c-j|0;break c}if((j-12&255)>>>0>8){break c}f=j-11|0;c=c-f|0;b=b+f|0}d:{if((c|0)<1){break d}i=c&3;e:{if(c-1>>>0<3){f=0;break e}k=c&-4;f=0;while(1){h=a+g|0;t[h|0]=w[b+f|0];t[h+1|0]=w[(f|1)+b|0];t[h+2|0]=w[(f|2)+b|0];t[h+3|0]=w[(f|3)+b|0];g=g+4|0;f=f+4|0;k=k-4|0;if(k){continue}break}}if(!i){break d}while(1){t[a+g|0]=w[b+f|0];g=g+1|0;f=f+1|0;i=i-1|0;if(i){continue}break}}f=m+l|0;f:{g:{switch(j-10|0){case 0:b=(g-c|0)+a|0;c=w[b|0];if(c>>>0<=191){if((c-97&255)>>>0>25){break f}t[b|0]=c^32;break f}if(c>>>0<=223){t[b+1|0]=w[b+1|0]^32;break f}t[b+2|0]=w[b+2|0]^5;break f;case 1:if((c|0)<1){break f}b=(g-c|0)+a|0;while(1){d=w[b|0];h:{if(d>>>0<=191){h=1;if((d-97&255)>>>0>25){break h}t[b|0]=d^32;break h}if(d>>>0<=223){t[b+1|0]=w[b+1|0]^32;h=2;break h}t[b+2|0]=w[b+2|0]^5;h=3}b=b+h|0;c=c-h|0;if((c|0)>0){continue}break};break f;case 11:i=(g-c|0)+a|0;h=c;c=v[d+20>>2];b=e<<1;qq(i,h,w[c+(b|1)|0]<<8|w[b+c|0]);break f;case 12:break g;default:break f}}if((c|0)<1){break f}b=(g-c|0)+a|0;d=v[d+20>>2];e=e<<1;d=w[d+(e|1)|0]<<8|w[d+e|0];while(1){e=qq(b,c,d);b=e+b|0;c=c-e|0;if((c|0)>0){continue}break}}b=w[f|0];i:{if(!b){break i}c=b-1|0;h=b&3;if(h){while(1){t[a+g|0]=w[f+1|0];g=g+1|0;b=b-1|0;f=f+1|0;h=h-1|0;if(h){continue}break}}if(c>>>0<3){break i}while(1){c=a+g|0;t[c|0]=w[f+1|0];t[c+1|0]=w[f+2|0];t[c+2|0]=w[f+3|0];t[c+3|0]=w[f+4|0];g=g+4|0;f=f+4|0;b=b-4|0;if(b){continue}break}}return g}function vg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;i=Ca+-64|0;Ca=i;a:{if(d){g=d;while(1){if(!mu(e,v[g+8>>2])){k=i,l=_c(e),v[k+48>>2]=l;a=v[130915];$b(a,516082,i+48|0);b=v[g+20>>2];v[i+40>>2]=v[g+16>>2];v[i+44>>2]=b;b=v[g+12>>2];v[i+32>>2]=v[g+8>>2];v[i+36>>2]=b;Et(a,i+32|0);Re(10,a);if(!(w[656428]&4)){break a}uc(516293);break a}h=g;g=v[g>>2];g=g&1?h+(g&-2)|0:g;if(g){continue}break}}if(!(!f|(e|0)!=1)){Ls(f,d)}e=b?v[b+24>>2]:0;if(d){g=d;while(1){if(v[g+24>>2]==2){v[g+24>>2]=e}f=v[g>>2];g=f&1?(f&-2)+g|0:f;if(g){continue}break}}b:{if(c){if(b){break b}g=a;while(1){b=g;g=v[g>>2];if(g){continue}break}break b}e=a;c:{if(!b){break c}g=a;while(1){e=g;g=v[e>>2];if(!g){break c}if((b|0)!=(g|0)){continue}break}}if(!(v[e>>2]|!(w[656428]&4))){uc(516272)}b=e}if(w[656428]&4){v[i+16>>2]=c?516160:516167;Za(516144,i+16|0);g=v[b>>2];e=Ca+-64|0;Ca=e;f=v[a>>2];d:{if(!f){break d}j=v[130914];if(!g){while(1){Gc(e+32|0,f+8|0);h=v[e+44>>2];v[e+56>>2]=v[e+40>>2];v[e+60>>2]=h;h=v[e+36>>2];v[e+48>>2]=v[e+32>>2];v[e+52>>2]=h;Rb(32);h=v[e+60>>2];v[e+8>>2]=v[e+56>>2];v[e+12>>2]=h;h=v[e+52>>2];v[e>>2]=v[e+48>>2];v[e+4>>2]=h;oh(j,e);h=v[f+24>>2];if(h>>>0<=2){h=v[(h<<2)+499700>>2]}else{h=499653}Za(h,0);h=f;f=v[f>>2];f=f&1?h+(f&-2)|0:f;if(f){continue}break d}}while(1){Gc(e+32|0,f+8|0);h=v[e+44>>2];v[e+56>>2]=v[e+40>>2];v[e+60>>2]=h;h=v[e+36>>2];v[e+48>>2]=v[e+32>>2];v[e+52>>2]=h;e:{if((f|0)==(g|0)){Za(498927,0);break e}Rb(32)}h=v[e+60>>2];v[e+24>>2]=v[e+56>>2];v[e+28>>2]=h;h=v[e+52>>2];v[e+16>>2]=v[e+48>>2];v[e+20>>2]=h;oh(j,e+16|0);h=v[f+24>>2];if(h>>>0<=2){h=v[(h<<2)+499700>>2]}else{h=499653}Za(h,0);h=f;f=v[f>>2];f=f&1?h+(f&-2)|0:f;if(f){continue}break}}if(!g){Za(498938,0)}Ca=e- -64|0;Rb(10)}if(d){g=d;while(1){e=g;g=v[e>>2];if(g){continue}break}v[e>>2]=v[b>>2];v[b>>2]=d}if(!(w[656428]&4)){break a}v[i>>2]=c?516160:516167;Za(516175,i);Wl(v[a>>2]);Rb(10)}Ca=i- -64|0}function PJ(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,q=0;j=Ca-96|0;n=c+5>>>1|0;if(!(!n|!d)){k=d<<4;l=B(c+15&-16,d);i=j- -64|0;h=j+32|0;c=0;while(1){m=0;while(1){e=c-k|0;e=e>>>0<l>>>0?(e<<1)+b|0:448064;f=x[e+28>>1]|x[e+30>>1]<<16;v[j+24>>2]=x[e+24>>1]|x[e+26>>1]<<16;v[j+28>>2]=f;f=x[e+20>>1]|x[e+22>>1]<<16;v[j+16>>2]=x[e+16>>1]|x[e+18>>1]<<16;v[j+20>>2]=f;f=x[e+4>>1]|x[e+6>>1]<<16;v[j>>2]=x[e>>1]|x[e+2>>1]<<16;v[j+4>>2]=f;f=x[e+12>>1]|x[e+14>>1]<<16;v[j+8>>2]=x[e+8>>1]|x[e+10>>1]<<16;v[j+12>>2]=f;e=c>>>0<l>>>0?(c<<1)+b|0:448064;f=x[e+28>>1]|x[e+30>>1]<<16;g=x[e+24>>1]|x[e+26>>1]<<16;u[h+24>>1]=g;u[h+26>>1]=g>>>16;u[h+28>>1]=f;u[h+30>>1]=f>>>16;f=x[e+20>>1]|x[e+22>>1]<<16;g=x[e+16>>1]|x[e+18>>1]<<16;u[h+16>>1]=g;u[h+18>>1]=g>>>16;u[h+20>>1]=f;u[h+22>>1]=f>>>16;f=x[e+12>>1]|x[e+14>>1]<<16;g=x[e+8>>1]|x[e+10>>1]<<16;u[h+8>>1]=g;u[h+10>>1]=g>>>16;u[h+12>>1]=f;u[h+14>>1]=f>>>16;f=x[e+4>>1]|x[e+6>>1]<<16;e=x[e>>1]|x[e+2>>1]<<16;u[h>>1]=e;u[h+2>>1]=e>>>16;u[h+4>>1]=f;u[h+6>>1]=f>>>16;e=c+k|0;e=e>>>0<l>>>0?(e<<1)+b|0:448064;f=x[e+28>>1]|x[e+30>>1]<<16;g=x[e+24>>1]|x[e+26>>1]<<16;u[i+24>>1]=g;u[i+26>>1]=g>>>16;u[i+28>>1]=f;u[i+30>>1]=f>>>16;f=x[e+20>>1]|x[e+22>>1]<<16;g=x[e+16>>1]|x[e+18>>1]<<16;u[i+16>>1]=g;u[i+18>>1]=g>>>16;u[i+20>>1]=f;u[i+22>>1]=f>>>16;f=x[e+12>>1]|x[e+14>>1]<<16;g=x[e+8>>1]|x[e+10>>1]<<16;u[i+8>>1]=g;u[i+10>>1]=g>>>16;u[i+12>>1]=f;u[i+14>>1]=f>>>16;f=x[e+4>>1]|x[e+6>>1]<<16;e=x[e>>1]|x[e+2>>1]<<16;u[i>>1]=e;u[i+2>>1]=e>>>16;u[i+4>>1]=f;u[i+6>>1]=f>>>16;e=0;while(1){g=e<<2;f=g+h|0;o=u[f-2>>1]+u[f-4>>1]|0;q=u[f-8>>1];f=u[f>>1]+u[f-6>>1]|0;u[(e<<1)+a>>1]=(o+(((u[(g|2)+h>>1]+(q+f|0)>>1)+o>>>1|0)+f>>>1|0)|0)+2>>>2;e=e+1|0;if((e|0)!=16){continue}break}c=c+16|0;a=a+32|0;m=m+1|0;if((m|0)!=(d|0)){continue}break}c=c+k|0;p=p+16|0;if(n>>>0>p>>>0){continue}break}}}function Gm(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;Pa(v[a+100>>2]);Pa(v[a+104>>2]);f=a;if(b){l=ib(b)}else{l=0}v[f+100>>2]=l;f=a;if(c){l=ib(c)}else{l=0}v[f+104>>2]=l;Fe(a);Lg(v[a+736>>2]);f=v[a+116>>2];if(f){Lg(v[f+40>>2])}f=v[a+8>>2];if(f){$u(f)}l=a;h=v[a>>2];p=v[a+4>>2];i=Ca-48|0;Ca=i;f=eb(1,44);a:{if(!f){f=0;break a}v[f+8>>2]=1;v[f+4>>2]=p;v[f>>2]=h;g=f;if(c){c=ib(c)}else{c=0}v[g+12>>2]=c;c=f;if(b){b=ib(b)}else{b=0}v[c+16>>2]=b;g=eb(1,44);b:{if(!g){hb(h,2,363776,0);break b}v[g>>2]=f;v[g+36>>2]=v[91017];b=v[91016];v[g+28>>2]=v[91015];v[g+32>>2]=b;b=v[91014];v[g+20>>2]=v[91013];v[g+24>>2]=b;b=v[91012];v[g+12>>2]=v[91011];v[g+16>>2]=b;b=v[91010];v[g+4>>2]=v[91009];v[g+8>>2]=b;m=v[h>>2];c:{if(!m|!w[m|0]){break c}o=pl(m);if(!o){break c}c=0;r=Xa(m);b=ug(o);if(b){while(1){d:{if(w[b+19|0]==46){break d}q=b+19|0;k=Xa(q);b=k+r|0;if(b>>>0>4294967293|b>>>0<k>>>0){break d}k=b+2|0;e:{if(k>>>0<=c>>>0){b=c;break e}v[164114]=0;b=-3-b|0;b=k+(b>>>0<256?b:256)|0;b=b>>>0>2048?b:2048;n=Xb(n,b,1);if(v[164114]){break d}}v[i+36>>2]=q;v[i+32>>2]=m;c=Ca-16|0;Ca=c;k=i+32|0;v[c+12>>2]=k;qs(n,b,364072,k);Ca=c+16|0;v[i+16>>2]=n;v[i+44>>2]=0;hb(h,4,364078,i+16|0);c=Qu(h,n,i+44|0);if(c){am(h,q,c,v[i+44>>2]);Pa(c)}c=b}b=ug(o);if(b){continue}break}}Pa(n);Hi(o)}f:{if(!v[h+16>>2]){b=0;break f}while(1){Om(g,j);b=v[h+16>>2];j=j+1|0;if(b>>>0>j>>>0){continue}break}}v[a+12>>2]=b;v[f+40>>2]=g}if(!d){break a}j=0;c=v[163713];g:{if(!c){break g}h:{if((d|0)==1){while(1){a=Ea[c|0](h,f,e,p)|0;v[f+36>>2]=a;if(a){break h}j=j+1|0;c=v[B(j,12)+654852>>2];if(c){continue}break g}}while(1){if(v[B(j,12)+654848>>2]==(d|0)){a=Ea[c|0](h,f,e,p)|0;v[f+36>>2]=a;if(a){break h}}j=j+1|0;c=v[B(j,12)+654852>>2];if(c){continue}break}break g}v[i>>2]=v[B(j,12)+654856>>2];hb(h,4,363816,i)}if(v[f+36>>2]){break a}hb(h,2,363839,0)}Ca=i+48|0;v[l+8>>2]=f}function lt(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=-1;g=c-b|0;a:{if((g|0)<2){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{e=w[b|0];switch(e-216|0){case 4:case 5:case 6:case 7:break b;case 0:case 1:case 2:case 3:break f;case 39:break h;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break i;default:break j}}if(!e){break g}}f=w[b+1|0];break d}f=w[b+1|0];if(f>>>0>253){break b}break d}k:{f=w[b+1|0];switch(w[(f+a|0)+72|0]-6|0){case 3:case 4:case 15:case 24:break k;case 16:case 18:break c;case 23:break d;case 0:break e;case 1:break f;default:break b}}i=22;break b}h=-2;if((g|0)>=4){break b}break a}h=-2;if((g|0)>=3){break b}break a}if(!(v[(f>>>3&28|w[e+502192|0]<<5)+500176>>2]>>>f&1)){break b}}e=b+2|0;f=c-e|0;if((f|0)<=1){break a}j=a+72|0;g=b;while(1){b=e;l:{m:{n:{o:{p:{q:{r:{s:{e=w[g+2|0];switch(e-216|0){case 0:case 1:case 2:case 3:break o;case 39:break q;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break r;case 4:case 5:case 6:case 7:break b;default:break s}}if(!e){break p}}a=w[g+3|0];break m}a=w[g+3|0];if(a>>>0>253){break b}break m}t:{a=w[g+3|0];switch(w[j+a|0]-6|0){case 16:case 18:case 19:case 20:case 21:break l;case 23:break m;case 0:break n;case 1:break o;case 12:break t;default:break b}}b=g+4|0;i=28;break b}h=-2;if((f|0)>=4){break b}break a}h=-2;if((f|0)>=3){break b}break a}if(!(v[(a>>>3&28|w[e+502448|0]<<5)+500176>>2]>>>a&1)){break b}}g=b;e=b+2|0;f=c-e|0;if((f|0)>1){continue}break}break a}v[d>>2]=b;h=i}return h}function Bm(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,B=0,C=0,D=0,E=0;g=Ca+-64|0;Ca=g;w=v[b+20>>2];x=v[b+16>>2];y=v[b+12>>2];q=v[b+4>>2];c=y-q|0;k=c;i=c>>31;z=v[b+28>>2];d=z-q|0;c=d;j=c;m=c>>31;c=eQ(k,i,c,m);e=Da;a:{b:{h=c;A=v[b+8>>2];r=v[b>>2];c=A-r|0;n=c;s=c>>31;B=v[b+24>>2];f=B-r|0;c=f;o=c;p=c>>31;l=eQ(n,s,c,p);h=h+l|0;c=Da+e|0;c=h>>>0<l>>>0?c+1|0:c;e=v[a>>2];f=f>>31;f=o+f^f;d=d>>31;d=j+d^d;l=eQ(e,e>>31,d>>>0<f>>>0?f:d,0);e=l;D=0-e|0;d=c;f=Da;C=0-(f+((e|0)!=0)|0)|0;e=C;if((c|0)<(e|0)?1:(c|0)<=(e|0)?h>>>0<D>>>0:0){break b}c=f;e=eQ(j,m,j,m);t=Da;E=h;u=eQ(o,p,o,p);e=u+e|0;h=Da+t|0;h=e>>>0<u>>>0?h+1|0:h;t=e;e=e+l|0;c=c+h|0;c=e>>>0<t>>>0?c+1|0:c;t=e;h=c;if((c|0)<(d|0)?1:(c|0)<=(d|0)?E>>>0>e>>>0:0){break b}c=eQ(k,i,o,p);d=Da;e=eQ(j,m,n,s);n=d;d=c;c=n-(Da+(e>>>0>c>>>0)|0)|0;i=c>>31;k=i+(d-e|0)|0;d=c>>31;c=d+c|0;c=d^(k>>>0<i>>>0?c+1|0:c);if((c|0)>(f|0)?1:(f|0)<=(c|0)?l>>>0<(i^k)>>>0:0){break b}c=w-q|0;e=c;k=c>>31;c=eQ(c,k,j,m);i=Da;d=c;c=x-r|0;n=c;s=c>>31;u=eQ(c,s,o,p);d=d+u|0;c=Da+i|0;i=d;c=d>>>0<u>>>0?c+1|0:c;if(((c|0)<(C|0)?1:(C|0)>=(c|0)?D>>>0>i>>>0:0)|((c|0)>(h|0)?1:(c|0)>=(h|0)?i>>>0>t>>>0:0)){break b}c=eQ(e,k,o,p);d=Da;h=eQ(j,m,n,s);e=d;d=c;c=e-(Da+(h>>>0>c>>>0)|0)|0;j=c>>31;e=j+(d-h|0)|0;d=c>>31;c=d+c|0;c=d^(e>>>0<j>>>0?c+1|0:c);if((c|0)>(f|0)?1:(f|0)<=(c|0)?l>>>0<(e^j)>>>0:0){break b}b=Am(a,r,q,B,z);break a}c=w+z|0;v[g+44>>2]=c>>1;d=c;c=(w+y|0)+2|0;d=d+c|0;v[g+36>>2]=d>>2;e=c;c=q+y|0;f=e+c|0;v[g+20>>2]=f>>2;v[g+28>>2]=(d+f|0)-1>>3;d=x+B|0;v[g+40>>2]=d>>1;v[g+12>>2]=c>>1;c=r+A|0;v[g+8>>2]=c>>1;e=d;d=(x+A|0)+2|0;f=e+d|0;v[g+32>>2]=f>>2;c=c+d|0;v[g+16>>2]=c>>2;v[g+24>>2]=(c+f|0)-1>>3;c=v[b+4>>2];v[g>>2]=v[b>>2];v[g+4>>2]=c;c=v[b+28>>2];v[g+48>>2]=v[b+24>>2];v[g+52>>2]=c;b=0;if(!Bm(a,g)){break a}b=Bm(a,g+24|0)}Ca=g- -64|0;return b}function yz(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;d=Ca-48|0;Ca=d;i=v[b+28>>2];v[d+20>>2]=v[b+8>>2];o=d,p=Ob(b,d+4|0),v[o+8>>2]=p;c=v[d+4>>2];a:{if(c){break a}c=ub(b,163344,d+8|0);v[d+4>>2]=c;if(c){break a}c=1330926671;b:{if(v[d+8>>2]!=1330926671){e=v[d+20>>2];c=Ya(b,e+12|0);v[d+44>>2]=c;if(c){break a}c=2;if(!x[d+12>>1]){break a}j=e+28|0;e=0;while(1){c:{c=ub(b,163376,d+24|0);v[d+44>>2]=c;if(c){u[d+12>>1]=e-1;break c}g=v[b+4>>2];h=v[d+32>>2];d:{if(g>>>0<h>>>0){break d}c=v[d+24>>2];m=g-h|0;g=v[d+36>>2];if(!((c|0)!=1752003704?(c|0)==1986884728|m>>>0>=g>>>0:1)){break d}f=f+1|0;e:{if((c|0)<=1651008867){if((c|0)==1296389185){break e}if((c|0)!=1397313095){break d}l=1;break d}if((c|0)!=1651008868?(c|0)!=1751474532:0){break d}if(g>>>0<54){c=142;break a}c=Ya(b,h+12|0);v[d+44>>2]=c;if(c){break a}Ob(b,d+44|0);c=v[d+44>>2];if(c){break a}c=Ya(b,j+(e<<4)|0);v[d+44>>2]=c;k=1;if(!c){break d}break a}n=1}e=e+1|0;if(e>>>0<x[d+12>>1]){continue}}break}c=2;if(!(f&65535)){break a}if(!k){c=142;if(!l|!n){break a}}v[d+4>>2]=0;c=v[d+8>>2];break b}f=x[d+12>>1];if(f){break b}c=2;break a}v[a+148>>2]=c;u[a+152>>1]=f;o=a,p=Ua(i,16,0,f&65535,0,d+4|0),v[o+156>>2]=p;c=v[d+4>>2];if(c){break a}c=Ya(b,v[d+20>>2]+12|0);v[d+4>>2]=c;if(c){break a}c=vb(b,x[d+12>>1]<<4);v[d+4>>2]=c;if(c){break a}j=0;f:{if(!x[d+12>>1]){f=0;break f}f=0;while(1){h=tc(b);l=tc(b);i=tc(b);k=tc(b);c=v[b+4>>2];g:{if(c>>>0<i>>>0){break g}c=c-i|0;if(c>>>0<k>>>0){if((h|0)!=1752003704?(h|0)!=1986884728:0){break g}k=c&-4}g=v[a+156>>2];e=f&65535;h:{if(!e){e=0;break h}c=0;while(1){if((h|0)==v[g+(c<<4)>>2]){break g}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=g+(e<<4)|0;v[c+12>>2]=k;v[c+8>>2]=i;v[c+4>>2]=l;v[c>>2]=h;f=f+1|0}j=j+1|0;if(x[d+12>>1]>(j&65535)>>>0){continue}break}}u[a+152>>1]=f;pb(b);c=v[d+4>>2]}Ca=d+48|0;return c|0}function pt(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=-1;e=c-b|0;a:{if((e|0)<2){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{g=w[b+1|0];switch(g-216|0){case 4:case 5:case 6:case 7:break b;case 0:case 1:case 2:case 3:break f;case 39:break h;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break i;default:break j}}if(!g){break g}}f=w[b|0];break d}f=w[b|0];if(f>>>0>253){break b}break d}k:{f=w[b|0];switch(w[(f+a|0)+72|0]-6|0){case 3:case 4:case 15:case 24:break k;case 16:case 18:break c;case 23:break d;case 0:break e;case 1:break f;default:break b}}i=22;break b}h=-2;if((e|0)>=4){break b}break a}h=-2;if((e|0)>=3){break b}break a}if(!(v[(f>>>3&28|w[g+502192|0]<<5)+500176>>2]>>>f&1)){break b}}e=b+2|0;f=c-e|0;if((f|0)<=1){break a}j=a+72|0;a=b;while(1){b=e;l:{m:{n:{o:{p:{q:{r:{s:{g=w[a+3|0];switch(g-216|0){case 0:case 1:case 2:case 3:break o;case 39:break q;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break r;case 4:case 5:case 6:case 7:break b;default:break s}}if(!g){break p}}e=w[b|0];break m}e=w[b|0];if(e>>>0>253){break b}break m}t:{e=w[b|0];switch(w[j+e|0]-6|0){case 16:case 18:case 19:case 20:case 21:break l;case 23:break m;case 0:break n;case 1:break o;case 12:break t;default:break b}}b=a+4|0;i=28;break b}h=-2;if((f|0)>=4){break b}break a}h=-2;if((f|0)>=3){break b}break a}if(!(v[(e>>>3&28|w[g+502448|0]<<5)+500176>>2]>>>e&1)){break b}}a=b;e=b+2|0;f=c-e|0;if((f|0)>1){continue}break}break a}v[d>>2]=b;h=i}return h}function Pg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{e=v[a+40>>2];if(!(v[a+20>>2]|!e)){v[a+40>>2]=v[e+20>>2];b=v[e>>2];if(b>>>0>y[a+4>>2]){break b}i=v[e+4>>2];if(i>>>0<y[a+8>>2]){break a}v[a+8>>2]=i;v[a+4>>2]=b;c:{if(v[a+20>>2]){break c}b=v[a+48>>2];if(b>>>0<2){break c}j=a+56|0;i=v[70112];d:{while(1){e:{h=v[(v[a+52>>2]+(b<<2)|0)-4>>2];c=v[h>>2];b=v[a+8>>2];if(c>>>0<b>>>0){k=v[h+4>>2];f=k-c|0;f:{if(!f){d=0;break f}g=f&3;b=0;d=0;g:{if((c^-1)+k>>>0<3){break g}f=f&-4;while(1){d=B(t[c+(b|3)|0],-1640531535)+B(B(t[c+(b|2)|0],-1640531535)+B(B(t[c+(b|1)|0],-1640531535)+B(B(t[b+c|0],-1640531535)+d|0,31)|0,31)|0,31)|0;b=b+4|0;f=f-4|0;if(!f){break g}d=B(d,31);continue}}if(!g){break f}while(1){d=B(t[b+c|0],-1640531535)+B(d,31)|0;b=b+1|0;g=g-1|0;if(g){continue}break}}f=v[h+12>>2]<<4;if(!f){break e}c=v[h+16>>2];b=0;g=0;while(1){g=B(t[c+(b|3)|0],-1640531535)+B(B(t[c+(b|2)|0],-1640531535)+B(B(t[c+(b|1)|0],-1640531535)+B(B(t[b+c|0],-1640531535)+g|0,31)|0,31)|0,31)|0;b=b+4|0;if((f|0)==(b|0)){d=d^g;break e}else{g=B(g,31);continue}}}if((b|0)==(c|0)){break c}O(260470,260193,349,260448);L()}h:{if(!w[a+68|0]|!h){break h}b=v[a+76>>2];if(y[a+80>>2]<=(b>>>1|0)+b>>>0){if(!sw(j)){break h}}b=mn(j,h,d);b=v[a+88>>2]+B(b,12)|0;if(v[b>>2]!=(h|0)){break h}if(!v[b+4>>2]){v[a+72>>2]=v[a+72>>2]-1}v[b>>2]=h;v[b+4>>2]=0;v[b+8>>2]=d}b=v[a+48>>2];i:{if(!b){v[163916]=i;if(v[i+20>>2]){break d}v[163916]=i;b=i;break i}b=b<<2;if(v[v[(b+v[a+52>>2]|0)-4>>2]+20>>2]){break d}b=v[(b+v[a+52>>2]|0)-4>>2]}Pa(v[b+16>>2]);v[b+16>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;b=v[a+48>>2];if(!b){break c}b=b-1|0;v[a+48>>2]=b;if(b>>>0>1){continue}break}break c}O(260426,260193,344,260448);L()}Pa(v[e+16>>2]);v[e+16>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=v[a+24>>2];v[a+24>>2]=e}return}O(260383,260193,330,260401);L()}O(260408,260193,331,260401);L()}function mq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=v[a+204>>2];if(h>>>0>=2){e=v[a+168>>2];d=v[a+8>>2];b=v[a+12>>2];if(b>>>0>=16){b=b^16;v[a+12>>2]=b;d=d>>>16|0;v[a+8>>2]=d;c=v[a+16>>2];f=w[c|0]|w[c+1|0]<<8;v[a+20>>2]=v[a+20>>2]-2;v[a+16>>2]=c+2;d=d|f<<16;v[a+8>>2]=d}f=d>>>b|0;c=e+((f&255)<<2)|0;e=w[c|0];if(e>>>0>=9){c=(x[c+2>>1]+(v[(e<<2)+29264>>2]&f>>>8)<<2)+c|0;e=w[c|0];b=b+8|0}f=v[a+172>>2];j=x[c+2>>1];b=(e&255)+b|0;if(b>>>0>=16){b=b^16;v[a+12>>2]=b;d=d>>>16|0;v[a+8>>2]=d;c=v[a+16>>2];e=w[c|0]|w[c+1|0]<<8;v[a+20>>2]=v[a+20>>2]-2;v[a+16>>2]=c+2;d=d|e<<16;v[a+8>>2]=d}g=d>>>b|0;c=f+((g&255)<<2)|0;e=w[c|0];if(e>>>0>=9){c=(x[c+2>>1]+(v[(e<<2)+29264>>2]&g>>>8)<<2)+c|0;e=w[c|0];b=b+8|0}b=b+(e&255)|0;e=(x[c+2>>1]<<2)+155184|0;c=x[e>>1];k=a;l=c;f=w[e+2|0];a:{if(f>>>0<=16){if(b>>>0>=16){b=b^16;v[a+12>>2]=b;e=d>>>16|0;v[a+8>>2]=e;d=v[a+16>>2];g=w[d|0]|w[d+1|0]<<8;v[a+20>>2]=v[a+20>>2]-2;v[a+16>>2]=d+2;d=e|g<<16;v[a+8>>2]=d}v[a+12>>2]=b+f;c=v[(f<<2)+29296>>2]&d>>>b;break a}b:{c:{if(b>>>0<=15){e=b+16|0;c=d>>>b&65535;i=v[a+20>>2];b=v[a+16>>2];break c}g=b^16;v[a+12>>2]=g;d=d>>>16|0;v[a+8>>2]=d;b=v[a+16>>2];e=w[b|0]|w[b+1|0]<<8;i=v[a+20>>2]-2|0;v[a+20>>2]=i;b=b+2|0;v[a+16>>2]=b;d=d|e<<16;v[a+8>>2]=d;c=d>>>g&65535;e=g+16|0;if(g>>>0>4294967279){break b}}e=e^16;v[a+12>>2]=e;d=d>>>16|0;v[a+8>>2]=d;g=w[b|0]|w[b+1|0]<<8;v[a+20>>2]=i-2;v[a+16>>2]=b+2;d=d|g<<16;v[a+8>>2]=d}b=f-16|0;v[a+12>>2]=b+e;c=(v[(b<<2)+29296>>2]&d>>>e)<<16|c}v[k+192>>2]=l+c;d:{e:{switch(j|0){case 1:c=v[a+220>>2]+1|0;break d;case 0:c=v[a+216>>2];break d;default:break e}}c=j-2|0}v[a+216>>2]=v[a+220>>2];c=c-(c>>>0<h>>>0?0:h)|0;v[a+220>>2]=c;b=v[a+576>>2]+(c<<6)|0;v[a+112>>2]=b;v[a+176>>2]=v[((c>>>3&536870908)+a|0)+592>>2]>>>c&1;v[a+256>>2]=v[v[a+120>>2]+(w[b|0]<<2)>>2];v[a+108>>2]=((w[c+v[a+580>>2]|0]&3)<<9)+153136}}function Pc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=v[a+4>>2];g=Xa(i);a:{if((g|0)==-1){break a}l=i-1|0;c=w[l|0];b:{if(c&128){if(!(c&64)){break a}c:{if(!(c&32)){k=1;h=31;d=1;j=0;break c}d:{if(!(c&16)){d=2;h=15;f=1;break d}if(!(c&8)){d=3;h=7;j=1;break c}d=4;e:{if(!(c&4)){e=1;h=3;break e}if(c&2){break a}d=5;h=1}f=0}j=0}if((d|0)>(g|0)){break a}g=w[i|0];if((g&192)!=128){break a}d=d+i|0;c=g&63|(c&h)<<6;if(k){break b}g=w[i+1|0];if((g&192)!=128){break a}c=g&63|c<<6;if(f){break b}f=w[i+2|0];if((f&192)!=128){break a}c=f&63|c<<6;if(j){break b}f=w[i+3|0];if((f&192)!=128){break a}c=f&63|c<<6;if(e){break b}f=w[i+4|0];if((f&192)!=128){break a}c=f&63|c<<6;break b}d=i;if((g|0)<=-1){break a}}l=d-l|0;if((l|0)<1|c-65>>>0>125152){break a}h=295;d=0;while(1){f:{j=d+h>>1;e=j<<3;g=x[e+496564>>1];f=g>>>2|0;g=g&3;e=v[e+496560>>2];if(((g|0)==2?1:f)+e>>>0<=c>>>0){d=j+1|0;break f}if(c>>>0<e>>>0){h=j-1|0;break f}g:{h:{i:{j:{k:{switch(g-1|0){case 0:if((c^e)&1){break a}default:g=a+8|0;e=u[(j<<3)+496566>>1]+c|0;if(e>>>0<128){break j}l:{if(e>>>0<=2047){d=e>>>6|-64;k=0;h=0;f=0;c=0;b=0;break l}if(e>>>0<=65535){d=e>>>12|-32;c=6;h=0;k=1;f=0;b=0;break l}if(e>>>0<=2097151){d=e>>>18|-16;c=12;f=0;k=1;h=1;b=0;break l}if(e>>>0<=67108863){d=e>>>24|-8;c=18;k=1;h=1;f=1;b=0;break l}f=0;if((e|0)<0){break g}d=e>>>30|-4;c=24;k=1;h=1;f=1;b=1}t[a+8|0]=d;t[a+9|0]=e>>>c&63|128;if(k){break i}d=a+10|0;break h;case 1:break k}}Ta(a+8|0,u[(j<<3)+496566>>1]+496080|0,f);break g}t[a+8|0]=e;f=(a+9|0)-g|0;break g}t[a+10|0]=e>>>c-6&63|128;d=a+11|0;if(!h){break h}t[a+11|0]=e>>>c-12&63|128;d=a+12|0;if(!f){break h}t[a+12|0]=e>>>c-18&63|128;d=a+13|0;if(!b){break h}t[a+13|0]=e>>>c-24&63|128;d=a+14|0}i=v[a+4>>2];f=d-g|0}v[a+4>>2]=(i+l|0)-1;t[(a+8|0)+f|0]=0;v[a>>2]=a+9;b=w[a+8|0];break a}if((d|0)<=(h|0)){continue}break}}return b&255}function Ig(a,b,c,d,e,f){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,u=0,x=0;g=Ca-160|0;Ca=g;a:{if(w[a+52|0]){A[a+80>>3]=d;A[a+88>>3]=e;t[a+52|0]=0;v[a+56>>2]=0;v[a+60>>2]=0;f=v[a+84>>2];v[a+64>>2]=v[a+80>>2];v[a+68>>2]=f;f=v[a+92>>2];v[a+72>>2]=v[a+88>>2];v[a+76>>2]=f;v[a+96>>2]=b;v[a+100>>2]=c;i=1;break a}l=A[a+80>>3];m=A[a+88>>3];n=l*d+m*e;if(n>A[a+112>>3]){h=m+e;e=1/(n+1);A[a+88>>3]=h*e;A[a+80>>3]=e*(l+d);i=1;break a}A[a+88>>3]=e;A[a+80>>3]=d;o=l*e-m*d<0?1:2;b:{if(!(o&f)){break b}p=o&(v[a+60>>2]^-1);h=m*A[a+24>>3];c:{if(D(h)<2147483648){j=~~h;break c}j=-2147483648}i=p&1;h=l*A[a+16>>3];d:{if(D(h)<2147483648){k=~~h;break d}k=-2147483648}if(i){v[g+36>>2]=c+j;v[g+32>>2]=b+k;x=v[a>>2];i=v[g+36>>2];v[g+24>>2]=v[g+32>>2];v[g+28>>2]=i;i=0;if(!Gb(x,g+24|0,1)){break a}}if(p&2){v[g+36>>2]=c-j;v[g+32>>2]=b-k;j=v[a+4>>2];k=v[g+36>>2];v[g+16>>2]=v[g+32>>2];v[g+20>>2]=k;i=0;if(!Gb(j,g+16|0,1)){break a}}h=A[a+24>>3]*0;e:{if(D(h)<2147483648){j=~~h;break e}j=-2147483648}i=o&1;h=A[a+16>>3]*0;f:{if(D(h)<2147483648){k=~~h;break f}k=-2147483648}if(i){v[g+36>>2]=c+j;v[g+32>>2]=b+k;p=v[a>>2];i=v[g+36>>2];v[g+8>>2]=v[g+32>>2];v[g+12>>2]=i;i=0;if(!Gb(p,g+8|0,1)){break a}}if(!(o&2)){break b}v[g+36>>2]=c-j;v[g+32>>2]=b-k;j=v[a+4>>2];k=v[g+36>>2];v[g>>2]=v[g+32>>2];v[g+4>>2]=k;i=0;if(!Gb(j,g,1)){break a}}v[a+60>>2]=o;j=(o^-1)&f;i=1;if(!j){break a}h=n;if(h<0){h=(j&2?-.7071067811865476:.7071067811865476)/K(1-n);q=(l-d)*h;r=(e-m)*h;h=K(G(n*.5+.5,0))}s=A[a+120>>3];g:{if(!(s>h)){f=15;break g}f=15;while(1){h=h+1;u=.7071067811865476/K(h);A[(g+32|0)+(f<<3)>>3]=u;f=f-1|0;h=h*u;if(!(s>h)){break g}if(f){continue}break}}k=(g+32|0)+(f<<3)|0;A[k>>3]=1/(h+1);f=15-f|0;if(!(n<0)){i=_e(a,b,c,l,m,d,e,k,f,j);break a}i=0;if(!_e(a,b,c,l,m,r,q,k,f,j)){break a}i=_e(a,b,c,r,q,d,e,k,f,j)}Ca=g+160|0;return i}function Ym(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;i=Ca-528|0;Ca=i;v[i+16>>2]=v[a+60>>2];v[i+20>>2]=v[a+64>>2];v[i+12>>2]=c;v[i+8>>2]=b;v[i+4>>2]=e;v[i>>2]=d;c=0;a:{while(1){b:{f=(c<<3)+i|0;g=v[f+20>>2];b=(g|0)>(e|0);m=v[f>>2];k=v[f+12>>2];c:{if(!((k|0)<=((b?g:e)|0)?(k|0)>=((b?e:g)|0):0)){b=v[f+16>>2];v[f+32>>2]=b;v[f+36>>2]=g;d=g+k|0;v[f+28>>2]=d>>1;e=e+k|0;v[f+12>>2]=e>>1;h=v[f+8>>2];g=h+m|0;v[f+8>>2]=g>>1;b=b+h|0;v[f+24>>2]=b>>1;v[f+20>>2]=d+e>>2;v[f+16>>2]=b+g>>2;c=c+2|0;break c}d:{if((e|0)==(g|0)){break d}n=(e|0)>(g|0)?1:2;d=v[a+92>>2];if((n|0)!=(d|0)){b=v[a+4>>2];o=(e|0)<=(g|0);h=o?g&b-1:((b+g|0)-1&0-b)-g|0;l=v[a+8>>2];if(d){b=v[a+36>>2];j=v[a+80>>2];d=b-v[j+8>>2]|0;if((d|0)<=-1){v[a+40>>2]=99;a=1;break a}e:{if(!d){d=b;break e}v[j+16>>2]=d>>2;if((h|0)>=(l|0)){d=x[j+12>>1];u[j+12>>1]=(d&8?16:32)|d}v[a+80>>2]=b;d=b+32|0;v[a+36>>2]=d;v[b+8>>2]=d;v[b+16>>2]=0;v[j+28>>2]=b;u[a+76>>1]=x[a+76>>1]+1}if(y[a+32>>2]<=d>>>0){v[a+40>>2]=98;a=1;break a}t[a+79|0]=0}f:{if(v[a+84>>2]){d=v[a+36>>2];break f}b=v[a+36>>2];v[a+84>>2]=b;v[a+80>>2]=b;d=b+32|0;v[a+36>>2]=d}if(y[a+32>>2]<=d>>>0){v[a+40>>2]=98;a=1;break a}b=v[a+80>>2];v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=d;v[b+28>>2]=0;v[b+4>>2]=0;j=w[a+48|0];u[b+12>>1]=j;d=b;g:{h:{if(!o){u[b+12>>1]=j|8;if((h|0)<(l|0)){break g}h=j|40;break h}if((h|0)<(l|0)){break g}h=j|16}u[d+12>>1]=h}if(!v[a+88>>2]){v[a+88>>2]=b}u[a+78>>1]=1;v[a+92>>2]=n}b=v[a+72>>2];d=v[a+68>>2];if((e|0)>(g|0)){if(!tj(a,2,f,667,d,b)){break d}a=1;break a}h=f|4;v[h>>2]=0-e;v[f+20>>2]=0-g;v[f+12>>2]=0-k;g=w[a+78|0];b=tj(a,2,f,667,0-b|0,0-d|0);if(!(w[a+78|0]|!g)){d=v[a+80>>2];v[d+20>>2]=0-v[d+20>>2]}v[h>>2]=0-v[h>>2];if(!b){break d}a=1;break a}if((c|0)<2){break b}c=c-2|0}e=v[((c<<3)+i|0)+4>>2];continue}break}v[a+64>>2]=e;v[a+60>>2]=m;a=0}Ca=i+528|0;return a}function Zt(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;a:{if(!a|!b){break a}n=v[a+4>>2];e=n;o=v[a+12>>2]+a|0;b:{c:{if(o){c=n-1|0;d:{e:{if((n|0)<1){d=c;break e}while(1){d=c>>1;g=d;if(!x[(c&-2)+o>>1]){break d}l=(c|0)>1;d=d-1|0;c=d;if(l){continue}break}}g=-2-d|0}h=0;if((g|0)>-1){break c}g=g^-1}else{g=0}if((e|0)==(g|0)){g=0;h=-1;f=0;break b}h=x[(g<<1)+o>>1]<<8}c=v[a+8>>2]+a|0;f=v[c+(g<<2)>>2]+c|0}j=v[b+4>>2];l=j-1|0;i=j;k=v[b+12>>2]+b|0;f:{g:{if(k){d=l;h:{if((j|0)>=1){c=l;while(1){e=c>>1;d=e;if(!x[(c&-2)+k>>1]){break h}p=(c|0)>1;d=e-1|0;c=d;if(p){continue}break}}d=-2-d|0}e=0;if((d|0)>-1){break g}d=d^-1}else{d=0}if((i|0)==(d|0)){e=-1;c=0;break f}e=x[(d<<1)+k>>1]<<8}c=v[b+8>>2]+b|0;c=v[c+(d<<2)>>2]+c|0}if(!f){break a}while(1){i:{if(e>>>0>=h>>>0){j:{if((e|0)!=(h|0)){d=iQ(v[f+24>>2])+(iQ(v[f+20>>2])+(iQ(v[f+16>>2])+(iQ(v[f+12>>2])+(iQ(v[f+8>>2])+(iQ(v[f+4>>2])+(iQ(v[f>>2])+q|0)|0)|0)|0)|0)|0)|0;h=v[f+28>>2];break j}d=iQ(v[f+24>>2]&(v[c+24>>2]^-1))+(iQ(v[f+20>>2]&(v[c+20>>2]^-1))+(iQ(v[f+16>>2]&(v[c+16>>2]^-1))+(iQ(v[f+12>>2]&(v[c+12>>2]^-1))+(iQ(v[f+8>>2]&(v[c+8>>2]^-1))+(iQ(v[f+4>>2]&(v[c+4>>2]^-1))+(iQ(v[f>>2]&(v[c>>2]^-1))+q|0)|0)|0)|0)|0)|0)|0;h=v[f+28>>2]&(v[c+28>>2]^-1)}q=iQ(h)+d|0;g=g+1|0;if((n|0)<=(g|0)){break a}d=v[a+8>>2]+a|0;f=v[d+(g<<2)>>2]+d|0;h=x[(g<<1)+o>>1]<<8;break i}if(!c){c=0;break i}k:{if(k){e=l;l:{m:{n:{if((j|0)<1){break n}p=h>>>8|0;d=0;while(1){i=d+e|0;c=i>>1;m=x[(i&-2)+k>>1];i=p&65535;if((m|0)==(i|0)){break l}m=i>>>0>m>>>0;d=m?c+1|0:d;e=m?e:c-1|0;if((d|0)<=(e|0)){continue}break}if((e|0)<0){break n}if(i>>>0<=x[(e<<1)+k>>1]|(e|0)>=(j|0)){break m}}e=e+1|0}c=e^-1}e=h;if((c|0)>-1){break k}c=c^-1}else{c=0}e=-1;if((c|0)==(j|0)){c=0;break i}e=x[(c<<1)+k>>1]<<8}d=c<<2;c=v[b+8>>2]+b|0;c=v[d+c>>2]+c|0}if(f){continue}break}}return q}function MP(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;a=v[b+8>>2];a:{if(a){break a}a=0;while(1){g=v[b>>2];if(!g){a=280448;break a}f=eb(1,48);b:{if(!f){if(a){break b}a=280448;v[b+8>>2]=280448;break a}nn(f,g);if(!v[b+8>>2]){a=f;v[b+8>>2]=f;break a}a=v[f+44>>2];Sa(a?a:280448);Pa(f);a=v[b+8>>2]}if(!a){continue}break}}g=280448;b=v[a+4>>2];h=b?b:280448;b=w[h+6|0]|w[h+7|0]<<8|(w[h+8|0]<<16|w[h+9|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c:{if((b|0)<1){break c}f=b-1|0;while(1){d:{b=f+j>>>1|0;i=h+B(b,11)|0;i=w[i+11|0]<<8|w[i+10|0]<<16|w[i+12|0];e:{if(i>>>0>d>>>0){f=b-1|0;break e}if((d|0)==(i|0)){break d}j=b+1|0}if((f|0)>=(j|0)){continue}break c}break}g=(h+B(b,11)|0)+10|0}f:{g:{h:{d=0;j=280448;b=w[g+3|0]|w[g+4|0]<<8|(w[g+5|0]<<16|w[g+6|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);l=b?b+h|0:280448;b=l;b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);i:{if((b|0)>=1){f=b-1|0;while(1){b=d+f>>>1|0;i=(b<<2)+l|0;m=w[i+5|0]<<8|w[i+4|0]<<16|w[i+6|0];j:{if(m>>>0>c>>>0){f=b-1|0;break j}k=2;if(w[i+7|0]+m>>>0>=c>>>0){break i}d=b+1|0}if((d|0)<=(f|0)){continue}break}}b=w[g+7|0]|w[g+8|0]<<8|(w[g+9|0]<<16|w[g+10|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=b?b+h|0:280448;d=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);k:{if((d|0)<1){break k}f=d-1|0;d=0;while(1){l:{g=d+f>>>1|0;h=b+B(g,5)|0;h=w[h+5|0]<<8|w[h+4|0]<<16|w[h+6|0];m:{if(h>>>0>c>>>0){f=g-1|0;break m}if((c|0)==(h|0)){break l}d=g+1|0}if((d|0)<=(f|0)){continue}break k}break}j=(b+B(g,5)|0)+4|0}d=w[j+4|0]|w[j+3|0]<<8;k=0;if(!d){break i}v[e>>2]=d;k=1}b=k;switch(b|0){case 0:break f;case 1:break h;default:break g}}return 1}b=v[a+8>>2];if(!b){return 0}b=Ea[b|0](v[a+12>>2],c,e)|0}return b|0}function Mt(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;g=Ca-96|0;Ca=g;a:{if(!a|!w[a|0]){break a}Tl();b:{c:{d:{e:{if(!id(a,495568)){break e}if(!id(a,495570)){break e}if(!id(a,495578)){break e}if(id(a,495585)){break d}}e=ib(495591);break c}f:{g:{e=ib(a);if(e){c=Tb(e,64);if(c){t[c|0]=0;d=c+1|0;k=Xa(d)}else{k=0}c=Tb(e,46);h:{if(!c){j=d;break h}t[c|0]=0;if(!d){break h}j=c+1|0;mb(j,d,k+1|0)}i:{j:{d=Tb(e,95);if(d){break j}d=Tb(e,45);if(d){break j}d=0;l=0;break i}t[d|0]=0;d=d+1|0;l=Xa(d)}if((Xa(e)&-2)!=2){h=495594;break g}if(!(!d|(l&-2)==2)){h=495653;if(w[d|0]!=122|l>>>0>4){break g}}if(d){t[d-1|0]=45}if(j){t[j-1|0]=64}f=Ca-16|0;Ca=f;v[f>>2]=0;v[f+4>>2]=e;i=1;while(1){k:{l:{if(b){h=b+1|0;v[f>>2]=h;if(w[b|0]){break l}v[f>>2]=0}b=v[f+4>>2];v[f+4>>2]=b+1;c=w[b|0];m:{if(c>>>0>=192){c=Pc(f,c);break m}h=0;if((c-65&255)>>>0<26){break l}}if(!c){break k}h=v[f>>2]}b=h;i=i+1|0;continue}break}n:{h=Va(i);if(!h){break n}v[f>>2]=0;v[f+4>>2]=e;b=0;c=h;while(1){o:{p:{q:{if(b){i=b+1|0;v[f>>2]=i;b=w[b|0];if(b){break q}v[f>>2]=0}b=v[f+4>>2];v[f+4>>2]=b+1;b=w[b|0];if(b>>>0>=192){b=Pc(f,b);break p}if((b-65&255)>>>0>25){break p}b=b+32|0;i=0}t[c|0]=b;b=i;break o}t[c|0]=b;if(!b){break n}b=v[f>>2]}c=c+1|0;continue}}Ca=f+16|0;c=h;if(!c){c=0;break f}r:{s:{t:{if(d){if(w[656429]&8){v[g+64>>2]=e;Za(495710,g- -64|0)}if((Ve(e)|0)>-1){break r}mb(d-1|0,d+l|0,k?k+2|0:1);if(j){break t}break s}d=j;if(!d){break s}}if(w[656429]&8){v[g+48>>2]=e;Za(495710,g+48|0)}if((Ve(e)|0)>-1){break r}t[d-1|0]=0}if(w[656429]&8){v[g+32>>2]=e;Za(495710,g+32|0)}if((Ve(e)|0)<0){break f}}Pa(c);break c}if(!(w[656429]&8)){break a}break b}v[g+80>>2]=a;c=0;$b(v[130915],h,g+80|0)}Pa(e);e=c}if(w[656429]&8){if(!e){break b}v[g+20>>2]=e;v[g+16>>2]=a;Za(495745,g+16|0)}m=e;break a}v[g>>2]=a;Za(495767,g)}Ca=g+96|0;return m}function ck(a){var b=0;b=5;a:{b:{c:{d:{e:{f:{if((a|0)<=1315009121){if((a|0)<=1215655526){if((a|0)<=1130918514){if((a|0)<=1098018152){if((a|0)==1097100397){break a}if((a|0)!=1098015074){break b}break a}if((a|0)==1098018153){break a}if((a|0)!=1098281844){break b}break a}if((a|0)<=1164736876){if((a|0)==1130918515){break a}if((a|0)!=1131442804){break b}break a}if((a|0)==1164736877|(a|0)==1214346354){break a}if((a|0)!=1214603890){break b}break a}if((a|0)<=1298230883){if((a|0)<=1265131889){if((a|0)==1215655527|(a|0)==1232363884){break f}break b}if((a|0)==1265131890){break a}if((a|0)!=1283023977){break b}break a}g:{switch(a-1298230884|0){case 0:case 5:break a;case 1:case 2:case 3:case 4:break b;default:break g}}switch(a-1298494051|0){case 0:case 12:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break b;default:break c}}if((a|0)<=1383032934){if((a|0)<=1349020776){if((a|0)<=1315663726){if((a|0)==1315009122){break a}if((a|0)!=1315070324){break b}break a}if((a|0)==1315663727|(a|0)==1332898664){break a}if((a|0)!=1348562029){break b}break a}h:{switch(a-1349020777|0){case 0:case 7:break a;case 1:case 2:case 3:case 4:case 5:case 6:break b;default:break h}}if((a|0)==1349021304){break a}if((a|0)!=1349678185){break b}break a}if((a|0)>1399809891){break d}if((a|0)>1398893937){break e}if((a|0)==1383032935){break a}if((a|0)!=1383427698){break b}}return 0}if((a|0)==1398893938){break a}if((a|0)!=1398895202){break b}break a}if((a|0)<=1416126816){i:{switch(a-1399809892|0){case 0:case 11:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;default:break i}}if((a|0)!=1400468067){break b}break a}if((a|0)==1416126817){break a}if((a|0)!=1499822697){break b}break a}if((a|0)==1298493028){break a}}b=4}return b}function Hl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=Ca+-64|0;Ca=e;v[a+284>>2]=b;v[a+276>>2]=996;a:{while(1){v[e+52>>2]=0;g=v[a+144>>2];h=Ea[v[g>>2]](g,b,c,e+52|0)|0;if(!ye(a,h,b,v[e+52>>2],5359,0)){while(1){b=a;a=v[a+472>>2];if(a){continue}break}f=43;if(v[b+512>>2]<1){break a}a=v[b+504>>2];i=v[b+508>>2];j=1;c=v[b+500>>2];d=c;g=v[b+496>>2];if(c|g){h=d+i|0;c=a+g|0;j=+C(C(+(c>>>0)+ +((a>>>0>c>>>0?h+1|0:h)>>>0)*4294967296)/C(+(g>>>0)+ +(d>>>0)*4294967296))}v[e+32>>2]=509254;A[e+24>>3]=j;v[e+16>>2]=a;v[e+20>>2]=i;v[e+8>>2]=g;v[e+12>>2]=d;v[e>>2]=b;Nd(v[130915],509100,e);break a}g=v[e+52>>2];v[a+288>>2]=g;f=9;b:{c:{d:{switch(h+15|0){case 0:f=v[a+80>>2];if(f){c=v[a+144>>2];v[e+60>>2]=b;e:{if(!w[c+68|0]){while(1){v[e+56>>2]=v[a+44>>2];b=Ea[v[c+56>>2]](c,e+60|0,g,e+56|0,v[a+48>>2])|0;v[a+288>>2]=v[e+60>>2];f=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],f,v[e+56>>2]-f|0);v[a+284>>2]=v[e+60>>2];if(b>>>0>=2){continue}break e}}Ea[f|0](v[a+4>>2],b,g-b|0)}f=35;if(v[a+476>>2]==2){break a}g=v[e+52>>2]}v[d>>2]=g;f=0;break a;case 30:h=v[a+80>>2];if(!h){break c}f=v[a+144>>2];v[e+60>>2]=b;if(!w[f+68|0]){while(1){v[e+56>>2]=v[a+44>>2];b=Ea[v[f+56>>2]](f,e+60|0,g,e+56|0,v[a+48>>2])|0;v[a+288>>2]=v[e+60>>2];h=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],h,v[e+56>>2]-h|0);v[a+284>>2]=v[e+60>>2];if(b>>>0>=2){continue}break c}}Ea[h|0](v[a+4>>2],b,g-b|0);break c;case 26:if(Kl(a,v[a+144>>2],b,g)){break c}f=1;break a;case 28:if(Jl(a,v[a+144>>2],b,g)){break c}f=1;break a;case 14:f=5;if(!w[a+480|0]){break b}break a;case 13:f=6;if(w[a+480|0]){break a}break b;case 11:break b;case 15:break d;default:break a}}v[a+284>>2]=g;f=4;break a}b=v[e+52>>2];v[a+284>>2]=b;f=35;switch(v[a+476>>2]-2|0){case 0:break a;case 1:break b;default:continue}}break}v[d>>2]=b;f=0}Ca=e- -64|0;return f|0}function cw(a,b){var c=0,d=0,e=0,f=0,g=0;c=Ca-22048|0;Ca=c;d=v[b+100>>2];Ra(c+15424|4,0,2748);v[c+15424>>2]=d;v[a+7728>>2]=0;v[a+52>>2]=0;d=v[v[(v[v[a>>2]+8>>2]<<2)+293504>>2]+16>>2];e=df();f=w[d|0];a:{if(f){while(1){if((f|0)==32){while(1){f=w[d+1|0];d=d+1|0;if((f|0)==32){continue}break}}d=hg(d,a,e,c+12|0);b:{if(y[c+12>>2]>1){break b}f=c+16|0;if(f){v[f>>2]=v[e+76>>2]}f=v[e+88>>2];cf(e,c+16|0);if(!v[c+16>>2]){break b}f=v[f>>2];if(!f){break b}ne(e);if(fd(b,f,1)){break a}d=v[b+84>>2];if(u[d+110>>1]<1){break a}Ra(c+16|0,0,15396);e=v[a+40>>2];v[c+32>>2]=0;v[c+36>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+24>>2]=65536;v[c+28>>2]=65536;v[c+56>>2]=e;v[c+20>>2]=b;v[c+18164>>2]=0;v[c+18172>>2]=c+16;if(Lh(c+15424|0,d+108|0)){break a}if(gg(c+15424|0,0)){break a}b=0;Kh(c+15424|0,0,0,0);e=v[c+15468>>2];if((e|0)>=1){d=v[c+15476>>2];f=d+B(e,44)|0;while(1){e=v[d+20>>2];if(!(!e|v[e+20>>2]!=(d|0)|(e>>>0<=d>>>0|b>>>0>15))){g=u[d+2>>1]-u[e+2>>1]|0;e=g>>31;v[(B(b,12)+a|0)+56>>2]=e^e+g;b=b+1|0}d=d+44|0;if(f>>>0>d>>>0){continue}break}}v[c+12>>2]=b;Aj(c+12|0,a+56|0,y[c+56>>2]/100|0);v[a+52>>2]=v[c+12>>2];if(gg(c+15424|0,1)){break a}b=0;Kh(c+15424|0,0,0,1);e=v[c+16816>>2];if((e|0)>=1){d=v[c+16824>>2];f=d+B(e,44)|0;while(1){e=v[d+20>>2];if(!(!e|v[e+20>>2]!=(d|0)|(e>>>0<=d>>>0|b>>>0>15))){g=u[d+2>>1]-u[e+2>>1]|0;e=g>>31;v[(B(b,12)+a|0)+7732>>2]=e^e+g;b=b+1|0}d=d+44|0;if(f>>>0>d>>>0){continue}break}}v[c+12>>2]=b;Aj(c+12|0,a+7732|0,y[c+56>>2]/100|0);v[a+7728>>2]=v[c+12>>2];break a}f=w[d|0];if(f){continue}break}}ne(e)}if(v[a+52>>2]){b=v[a+56>>2]}else{b=(B(v[a+40>>2],50)|0)/2048|0}t[a+256|0]=0;v[a+252>>2]=b;v[a+248>>2]=(b|0)/5;if(v[a+7728>>2]){b=v[a+7732>>2]}else{b=(B(v[a+40>>2],50)|0)/2048|0}t[a+7932|0]=0;v[a+7928>>2]=b;v[a+7924>>2]=(b|0)/5;gn(c+15424|0);Ca=c+22048|0}function Zv(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=Lh(b,c);a:{if(a){break a}a=v[b+2740>>2];if(!(a&1)){a=Yv(b,0);if(a){break a}Xv(b,d,0);a=v[b+2740>>2]}if(!(a&2)){a=Yv(b,1);if(a){break a}Xv(b,d,1)}if(!(t[b+2740|0]&1)){Wv(b,0);a=v[b+56>>2];b:{if((a|0)<1){break b}d=v[b- -64>>2];j=d+B(a,44)|0;if(!(t[b+2744|0]&1)){while(1){h=v[d+8>>2]-v[d+4>>2]|0;g=v[d+36>>2];a=g;while(1){f=a+36|0;i=v[a+40>>2];while(1){e=v[f>>2];v[e+16>>2]=h+v[e+16>>2];u[e>>1]=x[e>>1]|4;f=e+32|0;if((e|0)!=(i|0)){continue}break}a=v[a+16>>2];if((g|0)!=(a|0)){continue}break}d=d+44|0;if(j>>>0>d>>>0){continue}break b}}while(1){h=v[d+8>>2];g=v[d+36>>2];a=g;while(1){f=a+36|0;i=v[a+40>>2];while(1){e=v[f>>2];v[e+16>>2]=h;u[e>>1]=x[e>>1]|4;f=e+32|0;if((e|0)!=(i|0)){continue}break}a=v[a+16>>2];if((g|0)!=(a|0)){continue}break}d=d+44|0;if(j>>>0>d>>>0){continue}break}}Cj(b,0);Bj(b,0)}if(!(w[b+2740|0]&2)){Wv(b,1);a=v[b+1404>>2];c:{if((a|0)<1){break c}d=v[b+1412>>2];j=d+B(a,44)|0;if(!(w[b+2744|0]&2)){while(1){h=v[d+8>>2]-v[d+4>>2]|0;g=v[d+36>>2];a=g;while(1){f=a+36|0;i=v[a+40>>2];while(1){e=v[f>>2];v[e+20>>2]=h+v[e+20>>2];u[e>>1]=x[e>>1]|8;f=e+32|0;if((e|0)!=(i|0)){continue}break}a=v[a+16>>2];if((g|0)!=(a|0)){continue}break}d=d+44|0;if(j>>>0>d>>>0){continue}break c}}while(1){h=v[d+8>>2];g=v[d+36>>2];a=g;while(1){f=a+36|0;i=v[a+40>>2];while(1){e=v[f>>2];v[e+20>>2]=h;u[e>>1]=x[e>>1]|8;f=e+32|0;if((e|0)!=(i|0)){continue}break}a=v[a+16>>2];if((g|0)!=(a|0)){continue}break}d=d+44|0;if(j>>>0>d>>>0){continue}break}}Cj(b,1);Bj(b,1)}a=0;f=v[b+24>>2];if((f|0)<=0){break a}d=v[b+28>>2];e=d+B(f,40)|0;f=v[c+4>>2];b=v[c+8>>2];while(1){v[f>>2]=v[d+16>>2];v[f+4>>2]=v[d+20>>2];c=x[d>>1];t[b|0]=c&1?0:c&2?2:1;b=b+1|0;f=f+8|0;d=d+40|0;if(e>>>0>d>>>0){continue}break}}return a|0}function Rs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ca-48|0;Ca=h;a:{b:{c:{d:{if(c){e:{if(!he(c,512546)){c=0;a=Yb(515730);f:{if(!v[163728]){break f}if(a){e=ib(a);break f}d=Yb(515686);if(d){g=Xa(d)}a=Va(g+14|0);if(!a){break f}if(d){Ta(a,d,g)}e=w[515748]|w[515749]<<8|(w[515750]<<16|w[515751]<<24);d=a+g|0;f=w[515744]|w[515745]<<8|(w[515746]<<16|w[515747]<<24);t[d|0]=f;t[d+1|0]=f>>>8;t[d+2|0]=f>>>16;t[d+3|0]=f>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;e=w[515753]|w[515754]<<8|(w[515755]<<16|w[515756]<<24);f=w[515749]|w[515750]<<8|(w[515751]<<16|w[515752]<<24);t[d+5|0]=f;t[d+6|0]=f>>>8;t[d+7|0]=f>>>16;t[d+8|0]=f>>>24;t[d+9|0]=e;t[d+10|0]=e>>>8;t[d+11|0]=e>>>16;t[d+12|0]=e>>>24;t[a+(g+13|0)|0]=0;e=a}f=e;if(!e){break a}a=Yb(515758);d=gd();g:{if(a){j=ib(a);if(j){e=j;while(1){a=Tb(e,58);h:{if(!a){i=ib(e);e=0;break h}t[a|0]=0;i=ib(e);e=a+1|0}g=Xa(i);a=g-1|0;if(w[a+i|0]==47){k=a?1:a;while(1){i:{a=g-1|0;if(a>>>0<2){a=k;break i}l=g+i|0;g=a;if(w[l-2|0]==47){continue}}break}t[a+i|0]=0}hd(d,i);Pa(i);if(e){continue}break}}Pa(j);a=d;break g}hd(d,515772);hd(d,515789);a=d}if(a){c=a;break e}Pa(f);break a}if(!he(c,512550)){break d}if(!he(c,512558)){break d}if(he(c,512562)){break d}c=0;f=qh(v[a+12>>2]);if(!f){break a}}a=0;v[h+36>>2]=0;v[h+32>>2]=b;e=dc(f,h+32|0);Pa(f);if(!c){break c}if(v[c+4>>2]>0){while(1){d=a<<2;g=v[d+v[c+12>>2]>>2];v[h+20>>2]=0;v[h+16>>2]=b;g=dc(g,h+16|0);Pa(v[d+v[c+12>>2]>>2]);v[d+v[c+12>>2]>>2]=g;a=a+1|0;if((a|0)<v[c+4>>2]){continue}break}}a=c;break b}if(w[b|0]==47|w[b|0]==126){break d}c=v[v[a>>2]+4>>2]-1|0;v[h>>2]=c>>>0<54?B(c,20)+511376|0:0;db(a,1,512571,h)}e=ib(b)}a=gd()}c=0;d=ib(e);b=0;j:{if(!d){break j}b=1;if(wf(a,d,0)){break j}Pa(d);b=0}k:{if(b){c=a;break k}bc(a)}Pa(e)}Ca=h+48|0;return c}function Ex(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=v[a+24>>2];a:{b:{if(d){d=d-1|0;v[a+24>>2]=d;if(d>>>0>=y[a+32>>2]){break b}d=v[a+36>>2]+(d<<5)|0;break a}t[a+20|0]=1}d=v[70119];v[163922]=v[70118];v[163923]=d;d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664}e=v[b>>2];c:{j=A[d>>3];d:{if(D(j)<2147483648){d=~~j;break d}d=-2147483648}h=d+e|0;e:{if((h|0)<0){break e}d=v[b+4>>2];if(!d){break e}d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0<=h>>>0){break e}e=v[a+92>>2];if(e>>>0<10){break c}}t[a+40|0]=1;return}d=v[a+4>>2];v[a+44>>2]=v[a>>2];v[a+48>>2]=d;t[a+60|0]=w[a+16|0];d=v[a+12>>2];v[a+52>>2]=v[a+8>>2];v[a+56>>2]=d;d=a+44|0;f:{if(e>>>0<y[a+100>>2]){v[a+92>>2]=e+1;g=v[d+4>>2];f=v[a+104>>2]+B(e,28)|0;v[f>>2]=v[d>>2];v[f+4>>2]=g;v[f+24>>2]=v[d+24>>2];g=v[d+20>>2];v[f+16>>2]=v[d+16>>2];v[f+20>>2]=g;g=v[d+12>>2];v[f+8>>2]=v[d+8>>2];v[f+12>>2]=g;break f}t[a+88|0]=1}g:{h:{g=v[b+4>>2];if(g){b=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b>>>0>h>>>0){break h}}k=v[70114];e=v[70112];b=v[70113];break g}f=w[g+4|0];l=(B(f,b+1|0)+g|0)+5|0;e=0;i:{if(!f){break i}i=f&3;b=(B(f,h)+g|0)+5|0;if(f-1>>>0<3){e=0}else{e=f&252;while(1){f=b;b=f+4|0;e=e-4|0;if(e){continue}break}e=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}if(!i){break i}while(1){e=w[b|0]|e<<8;b=b+1|0;i=i-1|0;if(i){continue}break}}e=(e+l|0)-1|0;b=An(g,h)}v[a+44>>2]=e;v[a+68>>2]=h;v[a- -64>>2]=c;t[a+60|0]=0;v[a+56>>2]=0;v[a+52>>2]=k;v[a+48>>2]=b;b=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=b;b=v[d+12>>2];v[a+8>>2]=v[d+8>>2];v[a+12>>2]=b;t[a+16|0]=w[d+16|0]}function $F(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;e=Ca-48|0;Ca=e;a:{b:{c:{d:{if(!Wa(b,4265)){if(d){b=jc(c,e+12|0,10);d=v[e+12>>2];if(w[d|0]!=44|(c|0)==(d|0)){break b}d=d+1|0;l=e,m=jc(d,e+12|0,10),v[l+20>>2]=m;c=v[e+12>>2];if(w[c|0]!=44){break b}if((c|0)!=(d|0)){break d}break b}b=v[c>>2];break c}if(!Wa(b,4286)){if(d){f=6;if(Wa(c,4301)){break a}v[a+28>>2]=1;f=0;break a}f=7;if(v[c>>2]!=1){break a}v[a+28>>2]=1;f=0;break a}if(!Wa(b,4307)){if(d){if(!jc(c,0,10)){t[a+32|0]=0;break a}t[a+32|0]=1;break a}t[a+32|0]=w[c|0];break a}f=12;if(Wa(b,4325)){break a}f=0;e:{if(d){b=jc(c,0,10);break e}b=v[c>>2]}v[a+68>>2]=(b|0)>0?b:0;break a}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+24>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+28>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+32>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+36>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+40>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+44>>2]=m;f=v[e+12>>2];if((w[f|0]|32)!=32){break b}c=e+16|0;if((d|0)!=(f|0)){break c}f=6;break a}f=6;if((b|0)<0){break a}d=v[c+8>>2];if((d|0)<0){break a}g=v[c+16>>2];if((g|0)<0){break a}h=v[c+24>>2];if((h|0)<0){break a}i=v[c+4>>2];if((i|0)<0){break a}j=v[c+12>>2];if((j|0)<0){break a}k=v[c+20>>2];if((k|0)<0){break a}c=v[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|(g|0)>(h|0))){break a}if((i|0)>500|(j|0)>500|((k|0)>500|(c|0)>500)){break a}v[a+60>>2]=h;v[a+48>>2]=j;v[a+36>>2]=b;v[a- -64>>2]=c;v[a+56>>2]=k;v[a+52>>2]=g;v[a+44>>2]=d;v[a+40>>2]=i;f=0;break a}f=6}Ca=e+48|0;return f|0}function Zh(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Ca-48|0;Ca=i;d=v[a>>2];a:{if(d){break a}j=a-124|0;while(1){d=v[j>>2];if(!d){d=280448;break a}b=i;v[b+16>>2]=0;v[b+20>>2]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;c=Nb(d);t[b+44|0]=1;v[b+40>>2]=c;d=Jb(d,1717920116);c=0;h=Ca-16|0;Ca=h;b=b+8|0;g=Hb(d);v[b+28>>2]=g;b:{c:{d:{e:{f:{g:{h:{while(1){t[b+20|0]=c;e=v[g+12>>2];v[b+4>>2]=e;f=v[g+16>>2];v[b+8>>2]=f+e;if((f|0)<=-1){break c}v[b+24>>2]=0;k=b;if(f>>>0>67108862){c=1073741823}else{c=f<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}v[k+12>>2]=c;v[b>>2]=0;if(!e){Sa(g);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;break d}if(f>>>0<=11){break g}v[b+12>>2]=c-12;if((w[e+1|0]|w[e|0]<<8)!=1){break g}c=w[e+5|0];f=w[e+4|0];v[h+8>>2]=e;i:{g=e+12|0;if(qp(g,b,c|f<<8,h+8|0)){if(!v[b+24>>2]){break i}v[b+24>>2]=0;if(e>>>0<y[b+4>>2]){break g}c=v[b+8>>2];if(c>>>0<e>>>0|c-e>>>0<=11){break g}c=v[b+12>>2]-12|0;v[b+12>>2]=c;if((w[e+1|0]|w[e|0]<<8)!=1|(c|0)<1){break g}c=w[e+5|0];f=w[e+4|0];v[h+12>>2]=e;c=qp(g,b,c|f<<8,h+12|0);g=v[b+28>>2];if(v[b+24>>2]){break f}Sa(g);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(c){break h}break e}if(w[b+20|0]|!v[b+24>>2]){break g}f=xc(d);v[b+4>>2]=f;v[b+8>>2]=f+v[d+16>>2];g=v[b+28>>2];c=1;if(f){continue}break f}break}Sa(v[b+28>>2]);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0}if(v[d+4>>2]){v[d+4>>2]=0}break d}g=v[b+28>>2]}Sa(g);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0}Sa(d);d=280448}Ca=h+16|0;break b}O(229360,229385,194,229402);L()}c=d;if(!c){c=280448}d=v[a>>2];if(!d){v[a>>2]=c;d=c;break a}if(c){if((c|0)!=280448){Sa(c)}d=v[a>>2]}if(!d){continue}break}}Ca=i+48|0;return y[d+16>>2]<12?280448:v[d+12>>2]}function wz(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=Ca-16|0;Ca=e;v[a+788>>2]=0;v[a+792>>2]=0;g=a+796|0;v[g>>2]=0;v[g+4>>2]=0;h=a+788|0;a:{b:{c:{d:{if(!(Ea[v[a+516>>2]](a,1128418371,b,e+12|0)|0)){c=2;break d}c=1;if(!(Ea[v[a+516>>2]](a,1161972803,b,e+12|0)|0)){break d}if(!(Ea[v[a+516>>2]](a,1651273571,b,e+12|0)|0)){break d}c=Ea[v[a+516>>2]](a,1935829368,b,e+12|0)|0;if(c){break c}c=3}v[g>>2]=c;c=3;if(y[e+12>>2]<8){break c}i=a+800|0;j=v[b+8>>2];e:{f:{g:{h:{c=v[g>>2];switch(c-1|0){case 2:break g;case 0:case 1:break h;default:break e}}c=Jc(b,v[e+12>>2],h);if(c){break c}f=v[e+12>>2];v[a+792>>2]=f;c=v[a+788>>2];d=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);i:{if((w[c+1|0]<<16|w[c|0]<<24|65536)==196608){break i}c=w[c+2|0]|w[c+3|0]<<8;if(((c<<8|c>>>8|256)&65535)==768){break i}c=2;break c}c=3;d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(d>>>0>65535){break c}if(f>>>0>=(B(d,48)|8)>>>0){break f}d=(f-8>>>0)/48|0;break f}c=vb(b,8);if(c){break c}c=Cb(b);f=Cb(b);d=tc(b);pb(b);if(!c){c=2;break c}j:{if((f|0)!=1){c=3;if((f|0)!=3){break c}if(d>>>0<=65535){break j}break c}c=3;if(d>>>0>65535){break c}}f=v[e+12>>2];c=Ya(b,v[b+8>>2]-8|0);if(c){break c}d=f>>>0<(d<<2)+8>>>0?f-8>>>2|0:d;c=(d<<2)+8|0;v[a+792>>2]=c;c=Jc(b,c,h);if(c){break c}}v[a+800>>2]=d;c=v[g>>2]}v[a+860>>2]=0;v[a+864>>2]=0;g=a;k:{l:{m:{switch(c|0){case 3:v[a+860>>2]=j;b=v[e+12>>2];break l;case 0:break b;default:break m}}n:{if(!(Ea[v[a+516>>2]](a,1128416340,b,e+8|0)|0)){break n}if(!(Ea[v[a+516>>2]](a,1161970772,b,e+8|0)|0)){break n}if(!(Ea[v[a+516>>2]](a,1650745716,b,e+8|0)|0)){break n}b=v[a+864>>2];break k}v[a+860>>2]=v[b+8>>2];b=v[e+8>>2]}v[g+864>>2]=b}c=0;if(b){break a}break b}if(v[h>>2]){Qb(b,h)}v[a+792>>2]=0;i=g}v[i>>2]=0}Ca=e+16|0;return c|0}function hp(a,b,c,d,e,f,g){var h=0,i=0;a:{if((b|0)!=1196445523){h=280448;if((b|0)!=1196643650){break a}a=v[Ic(a+136|0)>>2];a=a?a:280448;h=y[a+16>>2]<10?280448:v[a+12>>2];break a}a=v[ad(a+140|0)>>2];a=a?a:280448;h=y[a+16>>2]<10?280448:v[a+12>>2]}b:{c:{if((d|0)==-1){break c}a=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);if((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0<65537){break c}b=0;a=w[h+10|0]|w[h+11|0]<<8|(w[h+12|0]<<16|w[h+13|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);i=a?a+h|0:280448;a=w[i+4|0]|w[i+5|0]<<8|(w[i+6|0]<<16|w[i+7|0]<<24);a=(a<<8&16711680|a<<24|(a>>>8&65280|a>>>24))>>>0>d>>>0?(i+(d<<3)|0)+8|0:280448;a=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);i=a?a+i|0:280448;d=w[i+4|0]<<8|w[i+5|0];d:{if(d){while(1){a=i+B(b,6)|0;if((w[a+6|0]<<8|w[a+7|0])==(c|0)){a=i+B(b,6)|0;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b=a?a+i|0:280448;break d}b=b+1|0;if((d|0)!=(b|0)){continue}break}}b=0}if(b){break b}}a=w[h+7|0]|w[h+6|0]<<8;b=a?a+h|0:280448;a=(w[b+1|0]|w[b|0]<<8)>>>0>c>>>0?(b+B(c,6)|0)+2|0:280448;a=w[a+4|0]<<8|w[a+5|0];b=a?a+b|0:280448}e:{if(!f){break e}d=v[f>>2];c=w[b+3|0]|w[b+2|0]<<8;a=c-e|0;a=a>>>0>c>>>0?0:a;a=a>>>0>d>>>0?d:a;v[f>>2]=a;if(!a){break e}f=(b+(e<<1)|0)+4|0;if(a&1){b=w[f|0]|w[f+1|0]<<8;v[g>>2]=(b<<8|b>>>8)&65535;f=f+2|0;g=g+4|0;b=a-1|0}else{b=a}if((a|0)==1){break e}i=v[70112];e=b;while(1){c=w[f|0]|w[f+1|0]<<8;if(b){a=g}else{v[163916]=i;a=655664}v[a>>2]=(c<<8|(c&65280)>>>8)&65535;h=w[f+2|0]|w[f+3|0]<<8;d=(b|0)!=0;c=(d<<2)+g|0;a=c;b=b-d|0;if(!b){v[163916]=i;a=655664}v[a>>2]=(h<<8|(h&65280)>>>8)&65535;f=f+4|0;a=(b|0)!=0;b=b-a|0;g=c+(a<<2)|0;e=e-2|0;if(e){continue}break}}}function Eh(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;k=1;a:{b:{if(!v[b>>2]){b=c;break b}if(!v[c>>2]){break b}k=0;if(v[c+8>>2]<v[b+8>>2]){break a}}d=v[a+20>>2];c:{if(!d){break c}g=v[b+8>>2];d:{while(1){h=v[(B(f,20)+a|0)+36>>2];if((h|0)>=(g|0)){break d}f=f+1|0;if((d|0)!=(f|0)){continue}break}f=d;break c}if(w[(B(f,20)+a|0)+28|0]&8|(!((h|0)<=v[c+8>>2]?k:1)|(g|0)==(h|0))){break a}}d=v[a+4>>2];if(!(!w[d+12|0]|w[b|0]&16)){e:{if(!k){d=me(d,(v[b+8>>2]+v[c+8>>2]|0)/2|0);g=Qa((v[c+8>>2]-v[b+8>>2]|0)/2|0,v[a+16>>2]);v[b+12>>2]=d-g;g=d+g|0;d=c;break e}g=me(d,v[b+8>>2]);d=b}v[d+12>>2]=g}if(v[b+12>>2]<v[(B(f,20)+a|0)+20>>2]?f:0){break a}d=v[a+20>>2];f:{if(d>>>0<=f>>>0){break f}if(!k){if(v[c+12>>2]<=v[(B(f,20)+a|0)+40>>2]){break f}break a}if(v[b+12>>2]>v[(B(f,20)+a|0)+40>>2]){break a}}h=d+!k|0;if(h>>>0>191){break a}j=d-f|0;g:{if(!j){break g}l=f+1|0;h:{if(!(j&1)){g=d;break h}e=a+28|0;m=e+B(h,20)|0;i=m;g=d-1|0;e=e+B(g,20)|0;n=v[e+4>>2];v[i>>2]=v[e>>2];v[i+4>>2]=n;v[i+16>>2]=v[e+16>>2];i=v[e+12>>2];v[m+8>>2]=v[e+8>>2];v[m+12>>2]=i;h=h-1|0;j=j-1|0}if((d|0)==(l|0)){break g}m=a+28|0;while(1){l=m+B(g,20)|0;e=l-20|0;n=v[e+4>>2];d=m+B(h,20)|0;v[d>>2]=v[e>>2];v[d+4>>2]=n;v[d+16>>2]=v[e+16>>2];i=v[e+12>>2];v[d+8>>2]=v[e+8>>2];v[d+12>>2]=i;e=l-40|0;l=v[e+4>>2];d=d-20|0;v[d>>2]=v[e>>2];v[d+4>>2]=l;i=v[e+12>>2];v[d+8>>2]=v[e+8>>2];v[d+12>>2]=i;v[d+16>>2]=v[e+16>>2];h=h-2|0;g=g-2|0;j=j-2|0;if(j){continue}break}}d=B(f,20)+a|0;v[d+44>>2]=v[b+16>>2];f=v[b+12>>2];v[d+36>>2]=v[b+8>>2];v[d+40>>2]=f;f=v[b+4>>2];v[d+28>>2]=v[b>>2];v[d+32>>2]=f;v[a+20>>2]=v[a+20>>2]+1;if(k){break a}v[d- -64>>2]=v[c+16>>2];b=v[c+12>>2];v[d+56>>2]=v[c+8>>2];v[d+60>>2]=b;b=v[c+4>>2];v[d+48>>2]=v[c>>2];v[d+52>>2]=b;v[a+20>>2]=v[a+20>>2]+1}}function HA(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;if(y[b+160>>2]<a+4>>>0){ob(b,8)}e=w[a+3|0]|w[a+2|0]<<8;if(y[b+160>>2]<e+a>>>0){if(v[b+164>>2]){ob(b,8)}e=v[b+160>>2]-a|0}if(v[b+160>>2]-a>>>0>e>>>0){if(y[b+164>>2]>=2){ob(b,8)}e=v[b+160>>2]-a|0}if(e>>>0<=15){ob(b,8)}c=w[a+7|0];d=c|w[a+6|0]<<8;if(!(!(c&1)|y[b+164>>2]<2)){ob(b,8)}c=d&65534;if((c<<2)+16>>>0>e>>>0){ob(b,8)}l=d>>>1|0;a:{if(y[b+164>>2]<2){break a}g=w[a+12|0];h=w[a+10|0];j=w[a+11|0];f=w[a+9|0];d=f|w[a+8|0]<<8;i=w[a+13|0];if((i|f)&1){ob(b,8)}f=d>>>1|0;if(!((d&65534)>>>0<l>>>0|f>>>0>l>>>0|(f+((i|g<<8)>>>1|0)|0)!=(l|0))){if((f|0)==1<<(j|h<<8)){break a}}ob(b,8)}f=a+14|0;b:{if(y[b+164>>2]<2){break b}d=(c+f|0)-2|0;if((w[d|0]<<8|w[d+1|0])==65535){break b}ob(b,8)}d=0;if(!l){return 0}i=(a+c|0)+16|0;m=c+i|0;g=c+m|0;o=c+g|0;q=a+e|0;p=l-1|0;c=0;h=0;j=0;while(1){e=c;a=d;k=w[g|0]<<8;n=w[g+1|0];r=w[m|0];s=w[m+1|0];c=w[i+1|0]|w[i|0]<<8;d=w[f+1|0]|w[f|0]<<8;if(c>>>0>d>>>0){ob(b,8)}k=k|n;c:{if(!h|a>>>0<c>>>0){break c}if(v[b+164>>2]){ob(b,8);break c}if(!(a>>>0<=d>>>0?c>>>0>=e>>>0:0)){j=j|1;break c}j=j|2}d:{if(!k){break d}if((k|0)!=65535){a=g+k|0;e:{f:{if(v[b+164>>2]){if(a>>>0<o>>>0|((d-c<<1)+a|0)+2>>>0>q>>>0){break f}break e}if(!((d|0)==65535?(h|0)!=(p|0)|(c|0)!=65535:1)){break e}if(a>>>0<o>>>0){break f}if(y[b+160>>2]>=((d-c<<1)+a|0)+2>>>0){break e}}ob(b,8)}if(!v[b+164>>2]|c>>>0>=d>>>0){break d}k=r<<8|s;e=c;while(1){n=w[a+1|0]|w[a|0]<<8;if(!(!n|y[b+172>>2]>(k+n&65535)>>>0)){ob(b,16)}a=a+2|0;e=e+1|0;if((e|0)!=(d|0)){continue}break}break d}if(!((h|0)!=(p|0)|y[b+164>>2]>1|(c|0)!=65535)){if((d|0)==65535){break d}}ob(b,8)}g=g+2|0;m=m+2|0;f=f+2|0;i=i+2|0;h=h+1|0;if((l|0)!=(h|0)){continue}break}return j|0}function zc(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;if(d){v[d>>2]=0}g=4;a:{while(1){f=i;b:{while(1){c:{if(!g){break c}b=b+1|0;if(b>>>0<y[a+8>>2]){break c}e=0;break a}e=4-g|0;i=w[b|0];h=i>>>g&15;if((h|0)==14){o=1;g=e;continue}if(h>>>0>9){break b}if((f|0)>=214748364){n=n+1|0;g=e;continue}break}i=0;g=e;if(!(f|h)){continue}l=l+1|0;i=B(f,10)+h|0;continue}break}g=0;d:{if((h|0)!=10){break d}e:while(1){j=(f|0)<214748364&(m|0)<9;while(1){if(e){b=b+1|0;if(b>>>0>=y[a+8>>2]){e=0;break a}i=w[b|0]}k=4-e|0;h=(i&255)>>>e&15;if(h>>>0>9){e=k;break d}if(!(f|h)){n=n-1|0;f=0;e=k;continue e}e=k;if(!j){continue}break}m=m+1|0;f=B(f,10)+h|0;continue}}f:{g:{h:{if(h-11>>>0<=1){k=0;while(1){if(e){b=b+1|0;if(b>>>0>=y[a+8>>2]){e=0;break a}i=w[b|0]}j=(i&255)>>>e&15;if(j>>>0<=9){p=j+B(g,10)|0;j=(g|0)>1e3;g=j?g:p;k=j?1:k;e=4-e|0;continue}break}if(!f){e=0;break a}a=(h|0)==12;if(k){break g}e=a?0-g|0:g;break h}e=0;if(!f){break a}}a=(c+n|0)+e|0;if(d){a=a+l|0;b=l+m|0;if((b|0)<=5){if((f|0)>=32768){e=ab(f,10);v[d>>2]=(a-b|0)+1;break a}i:{j:{if((a|0)<1){break j}c=(a|0)<5?a:5;e=c-b|0;if((e|0)<1){break j}b=a-c|0;f=B(v[(e<<2)+13008>>2],f);a=b;if((f|0)<32768){break i}f=(f>>>0)/10|0;a=b+1|0;break i}a=a-b|0}v[d>>2]=a;e=f<<16;break a}b=b<<2;c=v[b+12988>>2];if(((f|0)/(c|0)|0)>=32768){e=ab(f,v[b+12992>>2]);v[d>>2]=a-4;break a}e=ab(f,c);v[d>>2]=a-5;break a}e=2147483647;b=a+l|0;if((b|0)>5){break a}if((b|0)<-5){break f}if((b|0)>-1){a=m-a|0}else{f=(f|0)/v[13008-(b<<2)>>2]|0;a=l+m|0}c=(a|0)==10;b=c?(f|0)/10|0:f;a=c?9:a;if((a|0)>=1){e=0;a=v[(a<<2)+13008>>2];if(((b|0)/(a|0)|0)>32767){break a}e=ab(b,a);break a}a=B(b,v[13008-(a<<2)>>2]);e=(a|0)>32767?2147483647:a<<16;break a}e=2147483647;if(!a){break a}}e=0}return o?0-e|0:e}function qz(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;h=Ca-16|0;Ca=h;k=v[a+100>>2];v[h+8>>2]=0;c=3;a:{if(!v[a+868>>2]){break a}c=Ea[v[a+516>>2]](a,1129270354,b,h+4|0)|0;v[h+12>>2]=c;b:{if(c){break b}c:{c=v[h+4>>2];if(c>>>0<14){break c}c=Jc(b,c,h+8|0);v[h+12>>2]=c;if(c){break b}c=v[h+8>>2];f=wb(k,44,h+12|0);if(v[h+12>>2]){break b}d=w[c|0]|w[c+1|0]<<8;j=d<<8|d>>>8;u[f>>1]=j;if((j&65535)>>>0>1){break c}d=w[c+2|0]|w[c+3|0]<<8;e=d<<8|d>>>8;u[f+2>>1]=e;d=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);l=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=v[h+4>>2];if(l>>>0>=d>>>0|d-l>>>0<B(e&65535,6)>>>0){break c}e=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);g=w[c+12|0]|w[c+13|0]<<8;g=g<<8|g>>>8;u[f+4>>1]=g;m=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);if(d>>>0<=m>>>0|d-m>>>0<(g&65535)<<2>>>0){break c}d:{if((j&65535)!=1){j=v[h+8>>2];break d}e=w[c+14|0]|w[c+15|0]<<8|(w[c+16|0]<<16|w[c+17|0]<<24);i=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(i>>>0>=d>>>0){break c}j=v[h+8>>2];e=i+j|0;g=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);n=B(g,6);if(n>>>0>d-i>>>0){break c}v[f+20>>2]=e;v[f+16>>2]=g;c=w[c+18|0]|w[c+19|0]<<8|(w[c+20|0]<<16|w[c+21|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(g>>>0>=d>>>0){break c}if(g){c=g+j|0;i=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);i=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);o=i<<2;if(o>>>0>d-g>>>0){break c}v[f+28>>2]=c;v[f+24>>2]=i;b=e+n|0;c=c+o|0;v[f+32>>2]=b>>>0<c>>>0?b:c;break d}v[f+24>>2]=0;v[f+28>>2]=0;v[f+32>>2]=e+n}v[f+40>>2]=d;v[f+36>>2]=j;v[f+12>>2]=j+m;v[f+8>>2]=j+l;v[a+872>>2]=f;c=0;break a}v[h+12>>2]=8}Qb(b,h+8|0);if(f){Ea[v[k+8>>2]](k,f)}c=v[h+12>>2]}Ca=h+16|0;return c|0}function Lq(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;i=Ca+-64|0;Ca=i;v[i+12>>2]=0;m=v[h+556>>2];k=v[g>>2];j=v[k>>2];v[i+28>>2]=0;v[i+32>>2]=0;v[i+36>>2]=0;v[i+40>>2]=0;v[i+20>>2]=0;v[i+24>>2]=0;v[i+48>>2]=a;v[i+44>>2]=f;v[i+52>>2]=0;v[i+16>>2]=k;l=(f|0)==12288|(f|0)==16384;n=l?513:96;k=Ua(j,4,0,n,0,i+60|0);v[i+32>>2]=k;a:{b:{if(!v[i+60>>2]){v[i+36>>2]=k;v[i+40>>2]=n;break b}if(k){Ea[v[j+8>>2]](j,k)}v[i+32>>2]=0;j=v[i+60>>2];if(j){break a}}Ra(a+24|0,0,160);v[a+156>>2]=8720;v[a+60>>2]=65536;v[a+44>>2]=2;v[a+48>>2]=65536;v[a+32>>2]=-6553600;v[a+36>>2]=3276800;v[a+184>>2]=l?513:48;v[a+172>>2]=65535;v[a+136>>2]=65535;v[a+128>>2]=65535;v[a+132>>2]=65535;v[a+16>>2]=65535;v[a+20>>2]=65535;v[a+8>>2]=65535;v[a+12>>2]=65535;v[a>>2]=65535;v[a+4>>2]=65535;c:{d:{if(!v[b+12>>2]){j=Ya(d,v[b+20>>2]);if(j){break a}j=Jc(d,v[b+24>>2],i+12|0);if(j){break a}c=v[b+24>>2];v[i+60>>2]=c;break d}j=gi(b,c,i+12|0,i+60|0);if(j){break c}c=v[i+60>>2]}j=v[i+12>>2];j=Nq(i+16|0,j,j?c+j|0:0)}e:{if(v[b+12>>2]){if(v[b+32>>2]){break e}b=v[b>>2]}else{b=d}Qb(b,i+12|0)}if(j){break a}j=0;if(v[a+132>>2]!=65535){break a}j=Oq(g,a,0,0);if(j){break a}f:{if((f|0)==12288|(f|0)==16384){break f}f=v[v[h+128>>2]+60>>2];g:{if((f|0)==-1){b=v[h+96>>2];f=v[b+68>>2];v[a+648>>2]=f;if(!f){break g}while(1){f=Ea[v[m+20>>2]](f)|0;v[b+68>>2]=f;if((f|0)<0){continue}break}break g}v[a+648>>2]=f;if(!f){break g}while(1){f=Ea[v[m+20>>2]](f)|0;v[v[h+128>>2]+60>>2]=f;if((f|0)<0){continue}break}}if(v[a+648>>2]){break f}v[a+648>>2]=v[a+532>>2]}b=v[a+536>>2];if(!b){j=0;break a}j=Ya(d,v[a+116>>2]+(b+e|0)|0);if(j){break a}b=a+608|0;j=mf(b,d,1,l);if(j){break a}j=qk(b,a+644|0,0,0)}a=v[v[i+16>>2]>>2];b=v[i+32>>2];if(b){Ea[v[a+8>>2]](a,b)}Ca=i- -64|0;return j}function co(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ca-16|0;Ca=h;a:{if(v[b+136>>2]!=6){break a}d=w[a+3|0]|w[a+2|0]<<8;c=d?d+a|0:280448;d=v[b+100>>2];j=xb(c,v[v[d+88>>2]+B(v[d+72>>2],20)>>2]);if((j|0)==-1){break a}d=w[a+5|0];g=w[a+4|0];c=(a+4|0)+(d<<1|g<<9)|0;f=c+2|0;c=f+(w[c+3|0]<<1|w[f|0]<<9)|0;k=c+2|0;if((w[k|0]<<8|w[c+3|0])>>>0<=j>>>0){break a}v[h+12>>2]=0;v[h+8>>2]=0;c=0;e=v[b+100>>2];e=v[(w[e+69|0]?80:72)+e>>2];g=d|g<<8;v[b+84>>2]=g;v[b+48>>2]=e;i=v[v[b+52>>2]+100>>2];v[b+88>>2]=v[i+76>>2];d=0;c=v[i+72>>2]==(e|0)?w[(v[i+88>>2]+B(e,20)|0)+15|0]:c;v[b+80>>2]=a+6;v[b+76>>2]=a;v[b+72>>2]=452;t[b+68|0]=c;b:{if(g){d=1;e=b+48|0;if(!Ne(e)){break b}c:{while(1){c=d;if((c|0)==(g|0)){break c}d=c+1|0;if(Ne(e)){continue}break}d=c>>>0<g>>>0;break b}e=v[e>>2];d=c>>>0<g>>>0}v[h+12>>2]=e}if(!(d^1)){break a}i=f+2|0;d=a;a=0;e=0;c=v[v[b+100>>2]+72>>2];f=w[f+1|0]|w[f|0]<<8;v[b+84>>2]=f;v[b+48>>2]=c;g=v[v[b+52>>2]+100>>2];v[b+88>>2]=v[g+76>>2];e=v[g+72>>2]==(c|0)?w[(v[g+88>>2]+B(c,20)|0)+15|0]:e;v[b+80>>2]=i;v[b+76>>2]=d;v[b+72>>2]=452;t[b+68|0]=e;d:{if(f){a=1;c=b+48|0;if(!Rc(c)){break d}e:{while(1){d=a;if((a|0)==(f|0)){break e}a=d+1|0;if(Rc(c)){continue}break}a=d>>>0<f>>>0;break d}c=v[c>>2];a=d>>>0<f>>>0}v[h+8>>2]=c+1}if(!(a^1)){break a}md(v[b+100>>2],v[h+12>>2],v[h+8>>2]);a=(w[k+1|0]|w[k|0]<<8)>>>0>j>>>0?((j<<1)+k|0)+2|0:280448;d=w[a|0]<<8|w[a+1|0];c=v[b+100>>2];a=v[c+72>>2];c=v[c+88>>2];if(w[b+140|0]){a=B(a,20)+c|0;c=a;a=x[c+12>>1]&96;f:{g:{h:{i:{f=v[b+108>>2];switch(pe(f,d)-1|0){case 2:break g;case 1:break h;case 0:break i;default:break f}}a=a|2;break f}a=a|4;break f}a=oe(f,d)<<8|a|8}u[c+12>>1]=a|16;b=v[b+100>>2];a=v[b+72>>2];c=v[b+88>>2]}v[c+B(a,20)>>2]=d;l=1}Ca=h+16|0;return l}function Vh(a,b,c,d,e){var f=0,g=0,h=0,i=C(0),j=0,k=0,l=0;v[e>>2]=0;v[d>>2]=0;a:{b:{c:{d:{f=w[a|0]|w[a+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=w[a+2|0]|w[a+3|0]<<8;h=c<<8|c>>>8;f=v[b+92>>2];j=v[f+20>>2];g=v[f+16>>2];b=v[g+28>>2];e:{if(b){c=b;break e}c=Fb(g);g=v[f+16>>2];b=v[g+28>>2]}z[d>>2]=C(C(j|0)*C(h<<16>>16))/C(c>>>0);i=C(C(v[f+24>>2])*C((w[a+5|0]|w[a+4|0]<<8)<<16>>16));if(!b){b=Fb(g)}z[e>>2]=i/C(b>>>0);return}f=Ca-16|0;Ca=f;g=v[b+92>>2];b=v[g+52>>2];j=v[g+48>>2];v[f+4>>2]=0;v[f>>2]=0;l=d;f:{g:{d=0;h:{if(!(b|j)){break h}k=w[a+7|0];d=w[a+6|0];v[f+4>>2]=0;v[f>>2]=0;h=k|d<<8;k=v[g+72>>2];d=0;if(!(Ea[v[k+204>>2]](g,v[g+76>>2],c,h,f+4|0,f,v[k+68>>2])|0)){break h}Nf(g,c,f+12|0,f+8|0);h=v[f+4>>2]-v[f+12>>2]|0;v[f+4>>2]=h;v[f>>2]=v[f>>2]-v[f+8>>2];if(j){break g}d=1}c=d&(b|0)!=0;b=w[a+2|0]|w[a+3|0]<<8;i=C(C(v[g+20>>2])*C((b<<8|b>>>8)<<16>>16));h=v[g+16>>2];b=v[h+28>>2];if(!b){b=Fb(h)}i=C(i/C(b>>>0));break f}c=(b|0)!=0;i=C(h|0)}z[l>>2]=i;if(c){i=C(v[f>>2])}else{a=w[a+4|0]|w[a+5|0]<<8;i=C(C(v[g+24>>2])*C((a<<8|a>>>8)<<16>>16));b=v[g+16>>2];a=v[b+28>>2];if(!a){a=Fb(b)}i=C(i/C(a>>>0))}z[e>>2]=i;Ca=f+16|0;return}c=w[a+2|0]|w[a+3|0]<<8;j=c<<8|c>>>8;c=b;g=v[b+92>>2];k=v[g+20>>2];h=v[g+16>>2];b=v[h+28>>2];i:{if(b){f=b;break i}f=Fb(h);h=v[g+16>>2];b=v[h+28>>2]}z[d>>2]=C(C(k|0)*C(j<<16>>16))/C(f>>>0);f=e;j=w[a+4|0]|w[a+5|0]<<8;i=C(C(v[g+24>>2])*C((j<<8|j>>>8)<<16>>16));if(!b){b=Fb(h)}z[f>>2]=i/C(b>>>0);if(v[g+60>>2]?1:v[g+48>>2]){b=w[a+7|0]|w[a+6|0]<<8;b=Xj(b?b+a|0:280448,g,v[c+112>>2]);z[d>>2]=z[d>>2]+C(b|0)}if(v[g+60>>2]?1:v[g+52>>2]){b=a;a=w[a+9|0]|w[a+8|0]<<8;a=Yj(a?b+a|0:280448,g,v[c+112>>2]);z[e>>2]=z[e>>2]+C(a|0)}}}function od(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{d=w[a|0]|w[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 4:break b;case 6:break c;case 8:break d;case 2:break e;case 0:break f;default:break a}}return b>>>0<c>>>0?(b|0)<0?280448:((b<<1)+a|0)+2|0:0}e=w[a+5|0]|w[a+4|0]<<8;g:{if(!e){f=w[a+3|0]|w[a+2|0]<<8;break g}f=w[a+3|0]|w[a+2|0]<<8;c=(a+2|0)+B(f,e-1|0)|0;if((w[c+10|0]<<8|w[c+11|0])!=65535){break g}e=e-((w[c+13|0]|w[c+12|0]<<8)==65535)|0}d=0;h:{if((e|0)<1){break h}g=a+12|0;e=e-1|0;c=0;while(1){a=c+e>>>1|0;d=g+B(a,f)|0;i:{if((w[d+2|0]<<8|w[d+3|0])>>>0<=b>>>0){if((w[d+1|0]|w[d|0]<<8)>>>0>=b>>>0){break h}c=a+1|0;break i}e=a-1|0}if((c|0)<=(e|0)){continue}break}d=0}return d?d+4|0:0}c=w[a+3|0]|w[a+2|0]<<8;if(c>>>0>b>>>0){break a}b=b-c|0;if(b>>>0>=(w[a+5|0]|w[a+4|0]<<8)>>>0){break a}e=(b|0)<0?280448:((b<<1)+a|0)+6|0;break a}d=w[a+5|0]|w[a+4|0]<<8;j:{if(!d){f=w[a+3|0]|w[a+2|0]<<8;break j}f=w[a+3|0]|w[a+2|0]<<8;c=(a+2|0)+B(f,d-1|0)|0;d=d-((w[c+10|0]<<8|w[c+11|0])==65535)|0}c=0;k:{if((d|0)<1){break k}g=a+12|0;d=d-1|0;while(1){a=d+e>>>1|0;c=g+B(a,f)|0;h=w[c|0]<<8|w[c+1|0];l:{if(h>>>0>b>>>0){d=a-1|0;break l}if((b|0)==(h|0)){break k}e=a+1|0}if((d|0)>=(e|0)){continue}break}c=0}return c?c+2|0:0}d=w[a+5|0]|w[a+4|0]<<8;m:{if(!d){f=w[a+3|0]|w[a+2|0]<<8;break m}f=w[a+3|0]|w[a+2|0]<<8;c=(a+2|0)+B(f,d-1|0)|0;if((w[c+10|0]<<8|w[c+11|0])!=65535){break m}d=d-((w[c+13|0]|w[c+12|0]<<8)==65535)|0}if((d|0)<1){break a}h=a+12|0;e=d-1|0;c=0;while(1){g=c+e>>>1|0;d=h+B(g,f)|0;i=w[d+2|0]<<8|w[d+3|0];n:{if(i>>>0<=b>>>0){if((w[d+1|0]|w[d|0]<<8)>>>0<b>>>0){c=g+1|0;break n}c=(w[d+5|0]|w[d+4|0]<<8)+a|0;a=b-i|0;return(a|0)<0?280448:c+(a<<1)|0}e=g-1|0}if((c|0)<=(e|0)){continue}break}return 0}return e}function Im(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,B=0,C=0,E=0,F=0;h=v[e>>2];p=v[h+60>>2];l=v[h+52>>2];i=+(p+l|0)*.5;r=A[a>>3];m=v[h- -64>>2];n=v[h+56>>2];q=+(m+n|0)*.5;s=A[a+8>>3];t=A[a+16>>3]+(i*r+q*s);A[a+16>>3]=t;u=A[a+24>>3];f=A[a+32>>3];j=A[a+40>>3]+(i*u+q*f);A[a+40>>3]=j;h=a- -64|0;k=i;i=A[a+48>>3];w=A[a+56>>3];x=A[h>>3]+(k*i+q*w);A[h>>3]=x;a:{if(x<=0){break a}k=f;f=1/x;o=f*j;k=k-w*o;A[a+32>>3]=k;q=u-i*o;A[a+24>>3]=q;f=f*t;s=s-w*f;A[a+8>>3]=s;t=r-i*f;A[a>>3]=t;j=f*.125;if(d){f=0}else{g=A[c+8>>3];f=A[c>>3]}B=j-f;if(!(D(B)<1e6)){break a}f=hQ(B);b:{if(D(f)<2147483648){y=~~f;break b}y=-2147483648}o=o*.125-g;if(!(D(o)<1e6)){break a}f=hQ(o);c:{if(D(f)<2147483648){z=~~f;break c}z=-2147483648}u=+(p-l|0)*.5+64;j=+(m-n|0)*.5+64;g=x-u*D(i)-j*D(w);f=x*.0625;r=.125/(f<g?g:f);f=u*r;g=t*f;if(!(D(g)<1e6)){break a}g=hQ(g);d:{if(D(g)<2147483648){m=~~g;break d}m=-2147483648}j=j*r;g=s*j;if(!(D(g)<1e6)){break a}g=hQ(g);e:{if(D(g)<2147483648){l=~~g;break e}l=-2147483648}g=q*f;if(!(D(g)<1e6)){break a}g=hQ(g);f:{if(D(g)<2147483648){a=~~g;break f}a=-2147483648}g=k*j;if(!(D(g)<1e6)){break a}p=a;k=i;h=l>>31;a=m>>31;h=(h+l^h)+(a+m^a)|0;C=h;g=hQ(g);g:{if(D(g)<2147483648){n=~~g;break g}n=-2147483648}a=n>>31;E=n+a^a;a=p>>31;a=E+(a+p^a)|0;i=+((a>>>0<h>>>0?C:a)|0)*8;f=k*(f*i);if(!(D(f)<1e6)){break a}f=hQ(f);h:{if(D(f)<2147483648){h=~~f;break h}h=-2147483648}f=w*(j*i);if(!(D(f)<1e6)){break a}f=hQ(f);i:{if(D(f)<2147483648){a=~~f;break i}a=-2147483648}if(!(!d|!c)){A[c+8>>3]=o-+(z|0);A[c>>3]=B-+(y|0)}v[b+4>>2]=z>>3;v[b>>2]=y>>3;v[e+32>>2]=a;v[e+28>>2]=h;v[e+24>>2]=n;v[e+20>>2]=p;v[e+16>>2]=l;v[e+12>>2]=m;v[e+8>>2]=z&7;v[e+4>>2]=y&7;F=1}return F}function yF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=Ca-16|0;Ca=g;f=v[a+4>>2]&2147418112;a:{if(d&16){if(w[a+9|0]&128?1:f){h=7;if(!(w[a+740|0]&16)){break a}}if(!c){h=0;break a}b:{if(w[a+292|0]){f=0;d=0;break b}if(x[a+372>>1]==65535){b=u[a+220>>1]-u[a+222>>1]|0;a=b>>31;a=(a^a+b)&65535;f=c&7;h=0;b=0;if(c-1>>>0>=7){c=c&-8;while(1){d=b<<2;v[d+e>>2]=a;v[(d|4)+e>>2]=a;v[(d|8)+e>>2]=a;v[(d|12)+e>>2]=a;v[(d|16)+e>>2]=a;v[(d|20)+e>>2]=a;v[(d|24)+e>>2]=a;v[(d|28)+e>>2]=a;b=b+8|0;c=c-8|0;if(c){continue}break}}if(!f){break a}while(1){v[(b<<2)+e>>2]=a;b=b+1|0;f=f-1|0;if(f){continue}break}break a}b=u[a+442>>1]-u[a+444>>1]|0;a=b>>31;a=(a^a+b)&65535;f=c&7;h=0;b=0;if(c-1>>>0>=7){c=c&-8;while(1){d=b<<2;v[d+e>>2]=a;v[(d|4)+e>>2]=a;v[(d|8)+e>>2]=a;v[(d|12)+e>>2]=a;v[(d|16)+e>>2]=a;v[(d|20)+e>>2]=a;v[(d|24)+e>>2]=a;v[(d|28)+e>>2]=a;b=b+8|0;c=c-8|0;if(c){continue}break}}if(!f){break a}while(1){v[(b<<2)+e>>2]=a;b=b+1|0;f=f-1|0;if(f){continue}break}break a}while(1){h=(d<<2)+e|0;c:{if(!(f&1)){Ea[v[v[a+540>>2]+156>>2]](a,1,b+d|0,g+14|0,g+12|0);f=x[g+12>>1];break c}if(x[a+372>>1]!=65535){i=u[a+442>>1]-u[a+444>>1]|0;f=i>>31;f=f^f+i;break c}i=u[a+220>>1]-u[a+222>>1]|0;f=i>>31;f=f^f+i}v[h>>2]=f&65535;d=d+1|0;if((d|0)!=(c|0)){f=!w[a+292|0];continue}break}h=0;break a}if(w[a+9|0]&128?1:f){h=7;if(!(w[a+740|0]&2)){break a}}if(!c){h=0;break a}h=0;d=0;if((c|0)!=1){f=c&-2;while(1){Ea[v[v[a+540>>2]+156>>2]](a,0,b+d|0,g+10|0,g+8|0);v[(d<<2)+e>>2]=x[g+8>>1];i=d|1;Ea[v[v[a+540>>2]+156>>2]](a,0,i+b|0,g+10|0,g+8|0);v[(i<<2)+e>>2]=x[g+8>>1];d=d+2|0;f=f-2|0;if(f){continue}break}}if(!(c&1)){break a}Ea[v[v[a+540>>2]+156>>2]](a,0,b+d|0,g+10|0,g+8|0);v[(d<<2)+e>>2]=x[g+8>>1]}Ca=g+16|0;return h|0}function Kl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=Ca-16|0;Ca=f;a:{if(!v[a+64>>2]){g=1;e=v[a+80>>2];if(!e){break a}v[f+12>>2]=c;if(!w[b+68|0]){b:{if(v[a+144>>2]==(b|0)){c=a+284|0;e=a+288|0;break b}c=v[a+296>>2];e=c+4|0}while(1){v[f+8>>2]=v[a+44>>2];h=Ea[v[b+56>>2]](b,f+12|0,d,f+8|0,v[a+48>>2])|0;v[e>>2]=v[f+12>>2];i=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],i,v[f+8>>2]-i|0);v[c>>2]=v[f+12>>2];if(h>>>0>=2){continue}break}break a}Ea[e|0](v[a+4>>2],c,d-c|0);break a}c=(v[b+64>>2]<<1)+c|0;g=Ea[v[b+28>>2]](b,c)|0;v[f+12>>2]=c;e=a+412|0;c:{h=a+424|0;d:{if(!v[h>>2]){if(!_a(e)){break d}}i=c+g|0;while(1){if(Ea[v[b+56>>2]](b,f+12|0,i,h,v[a+420>>2])>>>0<2){break c}if(_a(e)){continue}break}}g=0;break a}g=0;if(!v[a+428>>2]){break a}c=v[a+424>>2];if((c|0)==v[a+420>>2]){if(!_a(e)){break a}c=v[h>>2]}v[a+424>>2]=c+1;t[c|0]=0;j=v[a+428>>2];if(!j){break a}v[a+428>>2]=v[a+424>>2];c=Ea[v[b+32>>2]](b,i)|0;i=v[b+64>>2];v[f+12>>2]=c;if(!v[a+424>>2]){if(!_a(e)){break a}}c=d-(i<<1)|0;while(1){if(Ea[v[b+56>>2]](b,f+12|0,c,h,v[a+420>>2])>>>0>=2){if(_a(e)){continue}break a}break}if(!v[a+428>>2]){break a}b=v[a+424>>2];if((b|0)==v[a+420>>2]){if(!_a(e)){break a}b=v[h>>2]}v[a+424>>2]=b+1;t[b|0]=0;e=v[a+428>>2];if(!e){break a}b=e;e:{while(1){c=b;d=w[b|0];g=d;if(!d){break e}if(!((g|0)==13)){b=b+1|0;continue}break}while(1){f:{if((d&255)==13){t[c|0]=10;b=w[b+1|0]==10?b+2|0:b+1|0;break f}t[c|0]=d;b=b+1|0}c=c+1|0;d=w[b|0];if(d){continue}break}t[c|0]=0}Ea[v[a+64>>2]](v[a+4>>2],j,e);b=v[a+412>>2];d=v[a+416>>2];g:{if(!d){v[a+416>>2]=b;break g}if(!b){break g}while(1){c=v[b>>2];v[b>>2]=d;v[a+416>>2]=b;d=b;b=c;if(b){continue}break}}v[a+428>>2]=0;v[a+412>>2]=0;v[a+420>>2]=0;v[a+424>>2]=0;g=1}Ca=f+16|0;return g}function GO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a=w[b+168|0];if(!(a&64)){a=a<<24>>24;t[b+168|0]=a|64;if((a|0)>-1){t[b+168|0]=a|192;f=v[b+76>>2];if(f){h=v[b+88>>2];c=0;while(1){d=B(c,20)+h|0;a=v[d>>2];b=In(a);e=b>>>8|0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{if((a|0)<=8209){if((a|0)<=4099){if((a|0)==45|(a|0)==160){break c}if((a|0)!=215){break d}break c}switch(a-4100|0){case 70:case 71:break f;case 52:case 131:case 132:case 133:case 134:case 135:case 136:case 137:case 139:case 150:case 151:case 152:break g;case 95:case 96:case 101:case 102:case 103:case 104:case 105:break h;case 55:case 90:case 91:break i;case 57:case 126:break j;case 56:break k;case 58:case 92:break l;case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 140:case 141:case 142:case 143:case 144:case 145:case 146:case 147:case 148:case 149:break m;case 54:break n;case 53:break o;case 46:case 50:break p;case 0:case 23:case 86:break q;case 74:break s;default:break d}}if((a|0)<=9722){g=a-8210|0;if(g>>>0<=16){break r}break e}if(a-9723>>>0<4){break c}switch(a-43636|0){case 7:break h;case 0:case 1:case 2:break s;default:break d}}b=1;break a}if(!(1<<g&65551)){break e}break c}b=16;break a}b=10;break a}b=4;break a}b=18;break a}b=32;break a}b=21;break a}b=22;break a}b=23;break a}b=24;break a}b=25;break a}b=8;break a}b=31;break a}if((a|0)==9676){break c}}b=(a&-16)==65024?30:b&255;if((b|0)!=7){break a}a=e-3|0;b=a&255;if(b>>>0<9){break b}b=7;break a}b=11;break a}if(!(297>>>b&1)){b=7;break a}a=a<<24>>24<<2;b=v[a+264100>>2];e=v[a+264136>>2]}t[d+19|0]=e;t[d+18|0]=b;c=c+1|0;if((f|0)!=(c|0)){continue}break}}return}}O(264067,263988,153,264054);L()}function Pw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{f=t[b+168|0];if((f|0)>-1){t[b+168|0]=f|128;i=v[b+88>>2];j=v[b+76>>2];h=0;b:{if(!v[b+144>>2]){break b}c:{while(1){f=v[((d<<2)+b|0)+104>>2];e=v[b+12>>2];f=rn(f,Ea[v[e+24>>2]](e,f,v[e+56>>2])|0);if((f|0)!=7){break c}d=d+1|0;if(d>>>0<y[b+144>>2]){continue}break}h=0;break b}h=x[(f<<2)+257202>>1]}d=h;f=-1;if(!j){break a}while(1){e=i+B(g,20)|0;h=e;e=rn(v[e>>2],x[e+16>>1]&31);d:{if((e|0)==7){t[h+19|0]=7;break d}e=B(d,24)+(e<<2)|0;d=w[e+257200|0];e:{if((d|0)==7|(f|0)==-1){break e}t[(i+B(f,20)|0)+19|0]=d;d=g+1|0;if(d-f>>>0<2){break e}Mb(b,f,d)}t[h+19|0]=w[e+257201|0];d=x[e+257202>>1];f=g}g=g+1|0;if((j|0)!=(g|0)){continue}break}break a}O(257156,257128,153,257143);L()}f:{if(!v[b+148>>2]){break f}g=0;while(1){e=v[((g<<2)+b|0)+124>>2];h=v[b+12>>2];e=rn(e,Ea[v[h+24>>2]](h,e,v[h+56>>2])|0);if((e|0)==7){g=g+1|0;if(g>>>0<y[b+148>>2]){continue}break f}break}d=w[(B(d,24)+(e<<2)|0)+257200|0];if((d|0)==7|(f|0)==-1){break f}t[(i+B(f,20)|0)+19|0]=d}g:{h:{if((c|0)!=1299148391){break h}d=v[b+76>>2];if(d>>>0<2){break g}h=v[b+88>>2];g=1;c=d-1|0;f=c&1;if((d|0)!=2){d=c&-2;while(1){e=h+B(g,20)|0;if(v[e>>2]-6155>>>0<=2){t[e+19|0]=w[e-1|0]}c=h+B(g+1|0,20)|0;if(v[c>>2]-6155>>>0<3){t[c+19|0]=w[e+19|0]}g=g+2|0;d=d-2|0;if(d){continue}break}}if(!f){break h}c=h+B(g,20)|0;if(v[c>>2]-6155>>>0>2){break h}t[c+19|0]=w[c-1|0]}d=v[b+76>>2]}i:{if(!d){break i}f=v[b+88>>2];b=d&1;g=0;if((d|0)!=1){d=d&-2;while(1){c=f+B(g,20)|0;v[c+4>>2]=v[c+4>>2]|v[(w[c+19|0]<<2)+a>>2];c=f+B(g|1,20)|0;v[c+4>>2]=v[c+4>>2]|v[(w[c+19|0]<<2)+a>>2];g=g+2|0;d=d-2|0;if(d){continue}break}}if(!b){break i}b=f+B(g,20)|0;v[b+4>>2]=v[b+4>>2]|v[(w[b+19|0]<<2)+a>>2]}}function uK(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;a:{b:{c:{d:{e:{f:{g:{switch(v[a>>2]){case 0:d=a+42|0;c=a+41|0;e=a+40|0;f=a+39|0;g=a+38|0;h=a+37|0;i=a+36|0;j=a+35|0;k=a+34|0;l=a+33|0;m=a+32|0;n=a+31|0;o=a+30|0;p=a+29|0;q=a+28|0;r=a+27|0;s=a+26|0;t=a+25|0;u=B(w[a+23|0]^B(w[a+22|0]^B(w[a+21|0]^B(w[a+20|0]^B(w[a+19|0]^B(w[a+18|0]^B(w[a+17|0]^B(w[a+16|0]^B(w[a+11|0]^B(w[a+10|0]^B(w[a+9|0]^B(w[a+8|0]^b,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619);b=w[a+24|0];a=a+43|0;break f;case 1:c=v[a+12>>2];if(!c){break a}a=v[a+8>>2];d=c+3>>>2|0;h:{switch((c&3)-1|0){case 2:break c;case 1:break d;case 0:break e;default:break h}}c=0;break b;case 2:break g;default:break a}}d=a+26|0;c=a+25|0;e=a+24|0;f=a+23|0;g=a+22|0;h=a+21|0;i=a+20|0;j=a+19|0;k=a+18|0;l=a+17|0;m=a+16|0;n=a+15|0;o=a+14|0;p=a+13|0;q=a+12|0;r=a+11|0;s=a+10|0;t=a+9|0;u=w[a+8|0];a=a+27|0}b=B(w[a|0]^B(w[d|0]^B(w[c|0]^B(w[e|0]^B(w[f|0]^B(w[g|0]^B(w[h|0]^B(w[i|0]^B(w[j|0]^B(w[k|0]^B(w[l|0]^B(w[m|0]^B(w[n|0]^B(w[o|0]^B(w[p|0]^B(w[q|0]^B(w[r|0]^B(w[s|0]^B(w[t|0]^B(b^u,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619);break a}c=3;break b}c=2;break b}c=1}while(1){i:{switch(c|0){case 0:b=B(w[a|0]^b,16777619);a=a+1|0;c=1;continue;case 1:b=B(w[a|0]^b,16777619);a=a+1|0;c=2;continue;case 2:b=B(w[a|0]^b,16777619);a=a+1|0;c=3;continue;default:break i}}b=B(w[a|0]^b,16777619);d=d-1|0;if(!d){break a}a=a+1|0;c=0;continue}}return b|0}function xu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ca-32|0;Ca=g;e=a;if(c){d=v[a+44>>2]}else{v[a+4>>2]=2147483647;v[a+44>>2]=0;v[a+16>>2]=-2147483648;v[a+8>>2]=2147483647;v[a+12>>2]=-2147483648;d=0}v[e+28>>2]=d;e=v[b+16>>2];a:{b:{c:{d:{e:{f:{d=v[b>>2];if(d){while(1){j=(h<<3)+e|0;i=v[j>>2];f=i>>31;if((f^f+i)>>>0>268435455){break f}j=v[j+4>>2];f=j>>31;if((f^f+j)>>>0>=268435456){break f}h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(v[b+8>>2]){break e}h=e;break d}O(446762,446841,274,446888);L()}h=e;while(1){f=w[v[b+20>>2]+k|0];d=f&3;e=(d<<3)+e|0;j=f&4;f=j?h:e;g:{h:{switch(d-1|0){case 1:d=e-16|0;i=v[d+4>>2];v[g>>2]=v[d>>2];v[g+4>>2]=i;d=e-8|0;i=v[d+4>>2];v[g+8>>2]=v[d>>2];v[g+12>>2]=i;d=v[f+4>>2];v[g+16>>2]=v[f>>2];v[g+20>>2]=d;if(!Cm(a,g)){break b}break g;case 2:d=e-24|0;i=v[d+4>>2];v[g>>2]=v[d>>2];v[g+4>>2]=i;d=e-16|0;i=v[d+4>>2];v[g+8>>2]=v[d>>2];v[g+12>>2]=i;d=e-8|0;i=v[d+4>>2];v[g+16>>2]=v[d>>2];v[g+20>>2]=i;d=v[f+4>>2];v[g+24>>2]=v[f>>2];v[g+28>>2]=d;if(Bm(a,g)){break g}break b;case 0:break h;default:break b}}d=e-8|0;if(!Am(a,v[d>>2],v[d+4>>2],v[f>>2],v[f+4>>2])){break b}}h=j?e:h;k=k+1|0;if(k>>>0<y[b+8>>2]){continue}break}if((e|0)!=(h|0)){break c}}if((v[b+16>>2]+(v[b>>2]<<3)|0)!=(h|0)){break c}h=v[a+44>>2];j=v[a+28>>2];if(h>>>0<j>>>0){k=v[a+16>>2];e=v[a+12>>2];b=v[a+8>>2];f=v[a+4>>2];i=v[a+20>>2];while(1){d=i+B(h,40)|0;l=v[d+36>>2];k=(k|0)>(l|0)?k:l;l=v[d+28>>2];e=(e|0)>(l|0)?e:l;l=v[d+32>>2];b=(b|0)>(l|0)?l:b;d=v[d+24>>2];f=(d|0)<(f|0)?d:f;h=h+1|0;if((j|0)!=(h|0)){continue}break}v[a+16>>2]=k;v[a+12>>2]=e;v[a+8>>2]=b;v[a+4>>2]=f}e=1;if(c){break a}v[a+44>>2]=j;break a}O(446911,446841,315,446888);L()}e=0}Ca=g+32|0;return e}function ln(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Ca-32|0;Ca=g;a:{b:{c:{d:{e:{f:{g:{d=w[a|0]|w[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 13:break b;case 12:break c;case 10:break d;case 6:break e;case 4:break f;case 0:break g;default:break a}}if(b>>>0>255){break a}a=w[(a+b|0)+6|0];if(!a){break a}v[c>>2]=a;h=1;break a}f=w[a+7|0];d=w[a+6|0];v[g>>2]=a+14;f=(f|d<<8)>>>1|0;v[g+20>>2]=f;e=f<<1;d=(e+a|0)+16|0;v[g+4>>2]=d;d=d+e|0;v[g+8>>2]=d;d=d+e|0;v[g+12>>2]=d;v[g+16>>2]=d+e;v[g+24>>2]=((w[a+3|0]|w[a+2|0]<<8)-(f<<3)|0)-16>>>1;h=qw(g,b,c);break a}b=b-(w[a+7|0]|w[a+6|0]<<8)|0;a=b>>>0<(w[a+9|0]|w[a+8|0]<<8)>>>0?((b<<1)+a|0)+10|0:280448;a=w[a|0]<<8|w[a+1|0];if(a){v[c>>2]=a}h=(a|0)!=0;break a}e=b;b=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);b=e-(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;e=((b<<1)+a|0)+20|0;a=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);a=b>>>0<(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0?e:280448;a=w[a|0]<<8|w[a+1|0];if(a){v[c>>2]=a}h=(a|0)!=0;break a}h=rw(a,b,c);break a}f=280846;e=a+12|0;a=e;a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h:{if((a|0)<1){break h}h=a-1|0;a=0;while(1){j=a+h>>>1|0;d=B(j,12)+e|0;i=d+4|0;i=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);i:{if((i<<24|i<<8&16711680|(i>>>8&65280|i>>>24))>>>0<=b>>>0){a=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);if((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0<b>>>0){a=j+1|0;break i}f=(B(j,12)+e|0)+4|0;break h}h=j-1|0}if((a|0)<=(h|0)){continue}break}}a=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(a){v[c>>2]=a}h=(a|0)!=0}Ca=g+32|0;return h}function Tj(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;f=v[b+4>>2];a:{b:{if(f>>>0>a>>>0){break b}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<2){break b}g=v[b+12>>2]-2|0;v[b+12>>2]=g;e=1;if((g|0)<1){break b}h=w[a+1|0]|w[a|0]<<8;if(!h){break a}e=a+2|0;if(e>>>0<f>>>0|e>>>0>d>>>0){break b}d=d-e|0;e=h<<2;if(d>>>0<e>>>0){break b}d=g-e|0;v[b+12>>2]=d;e=0;if((d|0)<1){break a}e=1;o=w[a+1|0]|w[a|0]<<8;if(!o){break a}e=0;g=a+2|0;if(f>>>0>g>>>0){break a}while(1){e=v[b+8>>2];if(e>>>0<g>>>0|e-g>>>0<4){break b}f=v[c>>2];e=v[b+12>>2]-4|0;v[b+12>>2]=e;if((e|0)<1){break b}e=(l<<2)+a|0;h=t[g|0];d=w[e+3|0]<<16|h<<24|w[e+4|0]<<8|w[e+5|0];e=(d|0)!=0&(h|0)<0;c:{if(!(e|!d)){e=0;m=v[b+4>>2];f=d+f|0;d:{if(m>>>0>f>>>0){break d}h=v[b+8>>2];if(h>>>0<f>>>0|h-f>>>0<6){break d}i=v[b+12>>2];d=i-6|0;v[b+12>>2]=d;if((d|0)<1){break d}d=f+4|0;if(d>>>0<m>>>0|d>>>0>h>>>0|h-d>>>0<2){break d}i=i-8|0;v[b+12>>2]=i;if((i|0)<1){break d}k=w[f+5|0];n=w[f+4|0];j=k|n<<8;if(j){d=f+6|0;if(d>>>0<m>>>0|d>>>0>h>>>0){break d}k=h-d|0;d=j<<1;if(k>>>0<d>>>0){break d}i=i-d|0;v[b+12>>2]=i;if((i|0)<1){break d}k=w[f+5|0];n=w[f+4|0];d=k|n<<8}else{d=0}j=w[f+3|0]|w[f+2|0]<<8;if(j>>>0>d>>>0){break d}d=d+j|0;j=w[f+1|0]|w[f|0]<<8;if(!(!d|j>>>0<4294967295/(d>>>0)>>>0)){break d}e=1;d=B(d,j);if(!d){break d}e=0;f=(f+(k<<1|n<<9)|0)+6|0;if(f>>>0<m>>>0){break d}if(f>>>0>h>>>0){break d}if(d>>>0>h-f>>>0){break d}e=i-d|0;v[b+12>>2]=e;e=(e|0)>0}if(e){break c}e=v[b+24>>2];if(e>>>0>31){break b}v[b+24>>2]=e+1;if(!w[b+20|0]){break b}t[g|0]=0;t[g+1|0]=0;t[g+2|0]=0;t[g+3|0]=0;break c}if(e){break b}}e=1;l=l+1|0;if((o|0)==(l|0)){break a}g=((l<<2)+a|0)+2|0;if(g>>>0>=y[b+4>>2]){continue}break}}e=0}return e}function hx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{j=v[b+4>>2];b:{if(j>>>0>a>>>0){break b}g=v[b+8>>2];if(g>>>0<a>>>0|g-a>>>0<20){break b}e=v[b+12>>2];d=e-20|0;v[b+12>>2]=d;if((w[a+1|0]|w[a|0]<<8)!=1|(d|0)<1|v[b+32>>2]!=(w[a+13|0]|w[a+12|0]<<8)){break b}d=a+8|0;if(d>>>0<j>>>0|d>>>0>g>>>0|g-d>>>0<4){break b}k=w[a+4|0];i=w[a+5|0];f=w[a+6|0];c=w[a+7|0];e=e-24|0;v[b+12>>2]=e;if((e|0)<1){break b}d=t[d|0];if((d|0)<0){break b}c=B(c|f<<8,i|k<<8);if(c>>>0>2147483646){break a}c:{if(!c){break c}d=(w[a+11|0]|(w[a+9|0]<<16|(d&255)<<24|w[a+10|0]<<8))+a|0;if(d>>>0<j>>>0|d>>>0>g>>>0){break a}f=g-d|0;d=c<<1;if(f>>>0<d>>>0){break a}e=e-d|0;v[b+12>>2]=e;if((e|0)>=1){break c}break a}f=a+20|0;c=w[a+13|0];d=w[a+12|0];d:{e:{if(t[a+15|0]&1){if(f>>>0<j>>>0|f>>>0>g>>>0){break a}d=(c<<2|d<<10)+4|0;if(d>>>0<=g-f>>>0){break e}break a}if(f>>>0<j>>>0|f>>>0>g>>>0){break a}d=(c<<1|d<<9)+2|0;if(d>>>0>g-f>>>0){break a}e=e-d|0;v[b+12>>2]=e;if((e|0)>=1){break d}break a}e=e-d|0;v[b+12>>2]=e;if((e|0)<=0){break b}}h=a+20|0;k=w[a+20|0];c=t[a+15|0]&1;f:{if(c){i=w[h+1|0];d=w[h+3|0]|(i<<16|k<<24|w[h+2|0]<<8);break f}i=w[h+1|0];d=i<<1|k<<9}f=w[a+13|0]|w[a+12|0]<<8;g:{if(c){c=h+(f<<2)|0;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[h+3|0]|(i<<16|k<<24|w[h+2|0]<<8);break g}c=h+(f<<1)|0;f=w[c+1|0]<<1|w[c|0]<<9;c=i<<1|k<<9}c=f-c|0;if((c|0)==-1){break a}if(!c){return 1}f=a;a=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=d+(a?f+a|0:280448)|0;if(a>>>0<j>>>0|a>>>0>g>>>0){break a}h=0;if(c>>>0>g-a>>>0){break b}a=e-c|0;v[b+12>>2]=a;h=(a|0)>0}return h}return 0}function Ns(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;i=Ca-48|0;Ca=i;a:{if(!(w[656428]&16)){break a}if(c){v[i+32>>2]=d?515550:515549;v[i+20>>2]=c;v[i+16>>2]=b;v[i+28>>2]=d?d:515549;v[i+24>>2]=d?515540:515549;Za(515524,i+16|0);break a}if(!d){break a}v[i+12>>2]=515550;v[i+8>>2]=d;v[i+4>>2]=515540;v[i>>2]=b;Za(515552,i)}j=v[a+8>>2];a=c;m=d;c=0;d=0;b:{c:{if(!b){break c}c=fe(b);if(c){break c}break b}d:{e:{f:{if(!a){break f}d=fe(a);if(d){break f}d=c;if(d){break e}break d}k=v[j+4>>2];g:{if((k|0)<1){break g}l=v[j+12>>2];while(1){b=v[(f<<2)+l>>2];e=b;h:{a=c;if((e|0)==(a|0)){break h}while(1){h=0;i:{if(!e){g=0;e=0;break i}g=w[e|0];e=e+1|0}if(a){h=w[a|0];a=a+1|0}else{a=0}if((g|0)==(h|0)?g:0){continue}break}if(!e|(g|0)!=(h|0)){break h}a=d;if((e|0)!=(a|0)){while(1){h=0;j:{if(!e){g=0;e=0;break j}g=w[e|0];e=e+1|0}if(a){h=w[a|0];a=a+1|0}else{a=0}if((g|0)==(h|0)?g:0){continue}break}if((g|0)!=(h|0)){break h}}f=0;while(1){k:{g=v[(f<<2)+l>>2];a=g;e=b;l:{if((a|0)==(e|0)){g=b;break l}while(1){m:{h=w[e|0];n=w[a|0];if(!n){break m}a=a+1|0;e=e+1|0;if((h|0)==(n|0)){continue}}break}if((h|0)!=(n|0)){break k}}Pa(g);a=v[j+12>>2]+(f<<2)|0;mb(a,a+4|0,v[j+4>>2]-f<<2);v[j+4>>2]=v[j+4>>2]-1;break g}f=f+1|0;if((k|0)!=(f|0)){continue}break}break g}f=f+1|0;if((k|0)!=(f|0)){continue}break}}a=0;e=0;if(c){a=Xa(c)}g=1;if(d){e=Xa(d)}if(m){g=Xa(m)+1|0}k=e+1|0;h=a+1|0;l=k+h|0;f=Va(l+g|0);b=0;n:{if(!f){break n}o:{if(c){Ta(f,c,h);break o}t[f|0]=0}p:{if(d){Ta((a+f|0)+1|0,d,k);break p}t[f+h|0]=0}q:{if(m){Ta(((a+f|0)+e|0)+2|0,m,g);break q}t[f+l|0]=0}b=1;if(wf(j,f,v[j+4>>2])){break n}Pa(f);b=0}e=b;if(c){Pa(c)}if(!d){break d}}Pa(d)}}Ca=i+48|0;return e}function Jp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=C(0),j=0,k=C(0),l=0,m=0;g=w[a+1|0]|w[a|0]<<8;a:{if(!g){break a}while(1){h=((f<<3)+a|0)+8|0;d=h;d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);if(C(C(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))*C(152587890625e-16))!=C(0)){f=f+1|0;if((g|0)!=(f|0)){continue}break a}break}b:{c:{g=w[a+3|0]|w[a+2|0]<<8;switch(g|0){case 0:break a;case 1:break c;default:break b}}a=(f<<3)+a|0;a=(w[a+14|0]<<8|w[a+15|0])+b|0;a=w[a|0]|w[a+1|0]<<8;return(a<<8|a>>>8)<<16>>16}f=b;b=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);j=f+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;l=j;d:{e:{b=g-1|0;if(!b){break e}e=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);m=f+(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;e=0;f:{while(1){d=e>>>0<g>>>0?(e<<2)+m|0:280448;d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);if(C(C(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))*C(152587890625e-16))>=c){break f}e=e+1|0;if((b|0)!=(e|0)){continue}break}e=b}if(!e){break e}b=e-1|0;break d}b=0}a=w[a+3|0]|w[a+2|0]<<8;e=b>>>0<a>>>0;d=b+1|0;g=d>>>0<a>>>0;a=e?(b<<2)+l|0:280448;a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);i=C(C(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))*C(152587890625e-16));a=g?(d<<2)+j|0:280448;a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);k=C(C(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))*C(152587890625e-16));if(i==k){c=C(0)}else{c=C(C(c-i)/C(k-i))}a=f+(w[h+7|0]|w[h+6|0]<<8)|0;f=g?a+(d<<1)|0:280448;f=w[f|0]|w[f+1|0]<<8;a=e?a+(b<<1)|0:280448;a=w[a|0]|w[a+1|0]<<8;c=C(H(C(C(C(c*C((f<<8|f>>>8)<<16>>16))+C(C(C(1)-c)*C((a<<8|a>>>8)<<16>>16)))+C(.5))));if(C(D(c))<C(2147483648)){return~~c}e=-2147483648}return e}function aA(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;d=a+10|0;if(d>>>0>y[b+160>>2]){ob(b,8)}c=w[a+6|0]|w[a+7|0]<<8|(w[a+8|0]<<16|w[a+9|0]<<24);k=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[a+2|0]|w[a+3|0]<<8|(w[a+4|0]<<16|w[a+5|0]<<24);h=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if((h-10>>>0)/11>>>0>=k>>>0?h>>>0<10|v[b+160>>2]-a>>>0<h>>>0:1){ob(b,8)}if(k){l=a+4|0;c=1;while(1){m=w[d+2|0]|(w[d+1|0]<<8|w[d|0]<<16);a=w[d+3|0]|w[d+4|0]<<8|(w[d+5|0]<<16|w[d+6|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[d+7|0]|w[d+8|0]<<8|(w[d+9|0]<<16|w[d+10|0]<<24);f=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!(f>>>0<h>>>0?e>>>0<h>>>0:0)){ob(b,8)}if(c>>>0>m>>>0){ob(b,8)}a:{if(!e){break a}a=e+l|0;if(a>>>0>y[b+160>>2]){ob(b,8)}c=a-4|0;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b:{if(g>>>0>v[b+160>>2]-a>>>2>>>0){ob(b,8);break b}if(!g){break a}}c=0;e=0;while(1){i=w[a+2|0]|(w[a+1|0]<<8|w[a|0]<<16);j=i+w[a+3|0]|0;if(j>>>0>=1114112){ob(b,8)}if(e>>>0>i>>>0){ob(b,8)}a=a+4|0;e=j+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}c:{if(!f){break c}a=f+l|0;if(a>>>0>y[b+160>>2]){ob(b,8)}c=a-4|0;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d:{if(c>>>0>(v[b+160>>2]-a>>>0)/5>>>0){ob(b,8);break d}if(!c){break c}}e=0;f=0;while(1){i=w[a+3|0];j=w[a+4|0];g=w[a+2|0]|(w[a+1|0]<<8|w[a|0]<<16);if(g>>>0>=1114112){ob(b,8)}if(e>>>0>g>>>0){ob(b,8)}if(!(!v[b+164>>2]|y[b+172>>2]>(j|i<<8)>>>0)){ob(b,16)}a=a+5|0;e=g+1|0;f=f+1|0;if((c|0)!=(f|0)){continue}break}}d=d+11|0;c=m+1|0;n=n+1|0;if((n|0)!=(k|0)){continue}break}}return 0}function io(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{i=w[a+1|0]|w[a|0]<<8;switch(i|0){case 1:break b;case 0:break d;default:break c}}a=v[b+100>>2];d=v[a+88>>2];c=v[a+72>>2];e=v[(d+B(c,20)|0)+8>>2];f=c+1|0;e:{f:{g:{if(f>>>0<y[a+76>>2]){if((e|0)==v[(d+B(f,20)|0)+8>>2]){break f}b=v[a+80>>2];if(b){break g}rc(a,c,c+2|0);v[a+72>>2]=v[a+72>>2]+1;break e}b=v[a+80>>2];if(!b){break f}}g=v[a+92>>2];h=v[(g+B(b,20)|0)-12>>2];if(h>>>0<=e>>>0){break f}d=v[(d+B(c,20)|0)+4>>2]&1;while(1){b=b-1|0;c=g+B(b,20)|0;if((h|0)!=v[c+8>>2]){break f}v[c+4>>2]=d|v[c+4>>2]&-2;v[c+8>>2]=e;if(b){continue}break}}v[a+72>>2]=f}return 1}c=v[b+100>>2];f=v[c+72>>2];if(!i){break a}c=v[c+88>>2];j=x[(c+B(f,20)|0)+12>>1]>>>1&2;while(1){t[(B(f,20)+c|0)+14|0]=g&15;c=(g<<1)+a|0;h=w[c+2|0]<<8|w[c+3|0];e=v[b+100>>2];c=v[e+88>>2]+B(v[e+72>>2],20)|0;d=x[c+12>>1]&32|80;h:{i:{if(w[b+140|0]){j:{k:{l:{e=v[b+108>>2];switch(pe(e,h)-1|0){case 2:break j;case 1:break k;case 0:break l;default:break i}}d=d|2;break i}d=d|4;break i}d=oe(e,h)<<8|d|8;break i}if(!j){break h}d=d|j}u[c+12>>1]=d;e=v[b+100>>2]}m:{n:{if(cb(e,0,1)){c=v[e+72>>2];d=v[e+76>>2];if(c>>>0>d>>>0){break n}o:{if(c>>>0<d>>>0){d=v[e+80>>2];f=v[e+92>>2];c=v[e+88>>2]+B(c,20)|0;break o}f=v[e+92>>2];d=v[e+80>>2];c=f+B(d?d-1|0:0,20)|0}d=B(d,20)+f|0;f=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=f;v[d+16>>2]=v[c+16>>2];f=v[c+12>>2];v[d+8>>2]=v[c+8>>2];v[d+12>>2]=f;v[d>>2]=h;v[e+80>>2]=v[e+80>>2]+1}break m}O(230083,229896,223,230103);L()}c=v[b+100>>2];g=g+1|0;if((i|0)==(g|0)){f=v[c+72>>2];break a}else{f=v[c+72>>2];c=v[c+88>>2];continue}}}jf(b,w[a+3|0]|w[a+2|0]<<8);return 1}v[c+72>>2]=f+1;return 1}function Ef(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=Ca+-64|0;Ca=h;j=a+11720|0;Sm(a,v[a+11716>>2],v[j>>2],b,c,h+20|0,h+16|0);Sm(a,d,e,f,g,h+12|0,h+8|0);i=v[a+4>>2];v[i+16>>2]=v[i+16>>2]+(B(e-c>>16,b>>16)-B(d-b>>16,c>>16)|0);i=v[h+20>>2];n=i+v[a+11716>>2]|0;v[h>>2]=n;l=v[h+16>>2];j=l+v[j>>2]|0;v[h+4>>2]=j;o=v[h+8>>2];p=v[h+12>>2];c=c+l|0;l=b+i|0;if(w[a+11663|0]){v[h+56>>2]=1;b=v[a+11728>>2];v[h+24>>2]=v[a+11724>>2];v[h+28>>2]=b;b=a+8|0;if(!w[a+20|0]){i=v[a+11736>>2];k=v[a+11732>>2];m=1;if(w[a+11660|0]){t[a+11661|0]=1;Ud(a,k,i);if(w[a+11740|0]){He(a,b,a+11700|0,v[a+11708>>2],v[a+11712>>2],1)}t[a+11740|0]=0;u[a+11660>>1]=0;m=!w[a+20|0]}v[a+11736>>2]=i;v[a+11716>>2]=k;v[a+11732>>2]=k;v[a+11720>>2]=i;t[a+11663|0]=1;i=v[a+11672>>2];if(w[i+5|0]?1:m){Ge(b,v[a+11664>>2],v[a+11668>>2],i,v[a+11676>>2],0)}Ta(a+3876|0,b,3868)}i=Qa(v[a+11640>>2],n);k=Qa(v[a+11644>>2],j);b=me(b,j);i=i+k|0;q=h,r=(Qa(v[v[a>>2]+64>>2],i)+Qa(v[v[a>>2]+72>>2],b)|0)+v[a+11652>>2]|0,v[q+32>>2]=r;q=h,r=(Qa(v[v[a>>2]+68>>2],i)+Qa(v[v[a>>2]+76>>2],b)|0)+v[a+11656>>2]|0,v[q+36>>2]=r;b=v[a+4>>2];Ea[v[b>>2]](b,h+24|0);k=v[h+32>>2];m=v[h+36>>2];v[a+11700>>2]=n;v[a+11704>>2]=j;v[a+11724>>2]=k;v[a+11728>>2]=m;v[a+11708>>2]=l;v[a+11712>>2]=c;t[a+11660|0]=1;t[a+11663|0]=0}if(w[a+11740|0]){He(a,a+8|0,h,l,c,0)}v[a+11744>>2]=4;t[a+11740|0]=1;b=v[h+4>>2];j=v[h>>2];v[a+11776>>2]=g+o;v[a+11772>>2]=f+p;v[a+11768>>2]=e+o;v[a+11764>>2]=d+p;v[a+11748>>2]=j;v[a+11752>>2]=b;v[a+11756>>2]=l;v[a+11760>>2]=c;b=v[a+11672>>2];if(w[b+5|0]){Ge(a+8|0,v[a+11664>>2],v[a+11668>>2],b,v[a+11676>>2],0)}v[a+11720>>2]=g;v[a+11716>>2]=f;Ca=h- -64|0}function Rg(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{switch(a-247|0){default:if((a|0)!=28){break c}d=v[b+12>>2];a=v[b+4>>2];e:{if(d>>>0>=a>>>0){t[b+16|0]=1;c=280448;break e}c=d+v[b>>2]|0}e=w[c|0]<<8;c=a;a=d+1|0;f:{if(c>>>0<=a>>>0){t[b+16|0]=1;a=280448;break f}a=a+v[b>>2]|0}c=e|w[a|0];a=v[b+24>>2];g:{if(a>>>0<y[b+32>>2]){v[b+24>>2]=a+1;a=v[b+36>>2]+(a<<3)|0;break g}t[b+20|0]=1;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664}A[a>>3]=c<<16>>16;h:{a=v[b+4>>2];if(w[b+16|0]|d>>>0>a>>>0){break h}c=d+2|0;if(c>>>0>a>>>0){break h}break b}break a;case 0:case 1:case 2:case 3:d=v[b+12>>2];i:{if(d>>>0>=y[b+4>>2]){t[b+16|0]=1;c=280448;break i}c=d+v[b>>2]|0}c=((w[c|0]|(a<<8)+2304)<<16)+7077888>>16;a=v[b+24>>2];j:{if(a>>>0<y[b+32>>2]){v[b+24>>2]=a+1;a=v[b+36>>2]+(a<<3)|0;break j}t[b+20|0]=1;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664}A[a>>3]=c|0;k:{a=v[b+4>>2];if(w[b+16|0]|d>>>0>a>>>0){break k}c=d+1|0;if(c>>>0>a>>>0){break k}break b}break a;case 4:case 5:case 6:case 7:break d}}d=v[b+12>>2];l:{if(d>>>0>=y[b+4>>2]){t[b+16|0]=1;c=280448;break l}c=d+v[b>>2]|0}c=-108-(w[c|0]|(a<<16)-16449536>>>8)|0;a=v[b+24>>2];m:{if(a>>>0<y[b+32>>2]){v[b+24>>2]=a+1;a=v[b+36>>2]+(a<<3)|0;break m}t[b+20|0]=1;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664}A[a>>3]=c|0;n:{a=v[b+4>>2];if(w[b+16|0]|d>>>0>a>>>0){break n}c=d+1|0;if(c>>>0>a>>>0){break n}break b}break a}if(a-32>>>0<=214){c=a-139|0;a=v[b+24>>2];o:{if(a>>>0<y[b+32>>2]){v[b+24>>2]=a+1;a=v[b+36>>2]+(a<<3)|0;break o}t[b+20|0]=1;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664}A[a>>3]=c|0;return}t[b+40|0]=1;v[b+24>>2]=0;return}v[b+12>>2]=c;return}t[b+16|0]=1;v[b+12>>2]=a}function iq(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;a:{f=v[a+16>>2];k=w[f+6|0]<<8|w[f+7|0]&254;b:{if(!k){break b}p=(c|0)!=0;e=p+v[b>>2]|0;if(e>>>0>65535){break b}o=v[a>>2];q=v[o+508>>2]+v[o+512>>2]|0;a=k>>>1|0;r=a>>>0>1?a:1;s=a-1|0;m=f+14|0;f=(f+k|0)+16|0;c:{if(!c){while(1){i=w[f+1|0]|w[f|0]<<8;a=i>>>0<=e>>>0;if(!(a|p)){break c}d:{e=a?e:i;a=w[m+1|0]|w[m|0]<<8;if(e>>>0>a>>>0){break d}j=(i|0)==65535&l>>>0>=s>>>0&(a|0)==65535;a=f+k|0;g=a+k|0;h=w[g|0]<<8|w[g+1|0];j=j&(h|0)!=0&(g+h|0)+2>>>0>q>>>0;h=j?0:h;if((h|0)==65535){break d}if(!h){break a}f=g+(h+(e-i<<1)|0)|0;f=w[f|0]<<8|w[f+1|0];if(!f){break c}a=f+(j?1:w[a+1|0]|w[a|0]<<8)&65535;d=a>>>0<y[o+16>>2]?a:0;break c}f=f+2|0;m=m+2|0;l=l+1|0;if((r|0)!=(l|0)){continue}break}break c}while(1){e:{a=f;i=w[a|0]<<8|w[a+1|0];g=i>>>0<=e>>>0;if(!(g|p)){break e}f=a+2|0;d=m;m=d+2|0;j=w[d+1|0]|w[d|0]<<8;t=(i|0)==65535&l>>>0>=s>>>0&(j|0)==65535;e=g?e:i;h=a+k|0;g=h+k|0;u=g+2|0;f:{while(1){if(e>>>0>j>>>0){break f}a=w[h|0]|w[h+1|0]<<8;d=w[g+1|0]|w[g|0]<<8;n=t&(d|0)!=0&d+u>>>0>q>>>0;a=n?1:(a<<8|a>>>8)<<16>>16;g:{h:{d=n?0:d;if(d){if((d|0)==65535){break f}d=(d+(e-i<<1)|0)+g|0;if(d>>>0>q>>>0){break f}d=w[d+1|0]|w[d|0]<<8;if(!d){a=e;break g}d=a+d&65535;if(d>>>0<y[o+16>>2]){break h}a=e;break g}n=a+e|0;d=n&65535;if(d>>>0<y[o+16>>2]){break h}d=a+j|0;if(!((d|0)<0|(n|0)>-1)){a=0-a|0;break g}if((d|0)<65536|(n|0)>65535){break f}a=65536-a|0;break g}a=e;if(d){break c}}e=a+1|0;if(a>>>0<=65534){continue}break}e=a;break e}l=l+1|0;if((r|0)!=(l|0)){continue}}break}d=0}if(!c){break b}v[b>>2]=e}return d}return(j?1:w[a+1|0]|w[a|0]<<8)+e&65535}function SI(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;i=a+72|0;a=1;while(1){e=a;g=b;b=g+1|0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{j=w[g+1|0];switch(w[j+i|0]-3|0){case 4:break i;case 3:break j;case 2:break k;case 8:case 14:break b;case 6:case 7:break c;case 18:break d;case 0:break e;case 10:break f;case 9:break g;case 19:case 21:case 26:break h;default:continue}}l:{if(e){break l}a=1;if((c|0)<=(f|0)){break l}e=(f<<4)+d|0;t[e+12|0]=1;v[e>>2]=b}b=g+2|0;continue}m:{if(e){break m}a=1;if((c|0)<=(f|0)){break m}e=(f<<4)+d|0;t[e+12|0]=1;v[e>>2]=b}b=g+3|0;continue}n:{if(e){break n}a=1;if((c|0)<=(f|0)){break n}e=(f<<4)+d|0;t[e+12|0]=1;v[e>>2]=b}b=g+4|0;continue}if(e){continue}a=1;if((c|0)<=(f|0)){continue}e=(f<<4)+d|0;t[e+12|0]=1;v[e>>2]=b;continue}if((e|0)!=2){h=12;a=2;if((c|0)<=(f|0)){continue}v[((f<<4)+d|0)+4>>2]=g+2;continue}a=2;if((h|0)!=12){continue}if((c|0)>(f|0)){v[((f<<4)+d|0)+8>>2]=b}f=f+1|0;h=12;a=0;continue}if((e|0)!=2){h=13;a=2;if((c|0)<=(f|0)){continue}v[((f<<4)+d|0)+4>>2]=g+2;continue}a=2;if((h|0)!=13){continue}if((c|0)>(f|0)){v[((f<<4)+d|0)+8>>2]=b}f=f+1|0;h=13;a=0;continue}if((c|0)<=(f|0)){continue}t[((f<<4)+d|0)+12|0]=0;continue}a=0;o:{switch(e-1|0){case 0:continue;case 1:break o;default:break a}}a=2;if((c|0)<=(f|0)){continue}e=(f<<4)+d|0;if(!w[e+12|0]){continue}p:{if(v[e+4>>2]==(b|0)|(j|0)!=32){break p}g=w[g+2|0];if((g|0)==32){break p}if(w[g+i|0]!=(h|0)){continue}}t[e+12|0]=0;continue}a=0;q:{switch(e-1|0){case 0:continue;case 1:break q;default:break a}}a=2;if((c|0)<=(f|0)){continue}t[((f<<4)+d|0)+12|0]=0;continue}a=2;if((e|0)==2){continue}return f|0}a=e;continue}}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;e=Ca+-64|0;Ca=e;f=v[a+11716>>2];l=!(w[v[a+11672>>2]+5|0]?w[a+11661|0]:1);g=v[a+11720>>2];if(!(l|(g|0)!=(c|0)?0:(f|0)==(b|0))){Sm(a,f,g,b,c,e+20|0,e+16|0);d=v[e+20>>2];j=d+v[a+11716>>2]|0;v[e+8>>2]=j;f=v[e+16>>2];g=f+v[a+11720>>2]|0;v[e+12>>2]=g;f=c+f|0;k=b+d|0;if(w[a+11663|0]){v[e+56>>2]=1;d=v[a+11728>>2];v[e+24>>2]=v[a+11724>>2];v[e+28>>2]=d;h=a+8|0;if(!w[a+20|0]){i=v[a+11736>>2];d=v[a+11732>>2];a:{b:{if(!w[a+11660|0]){v[a+11720>>2]=i;v[a+11716>>2]=d;t[a+11663|0]=1;d=v[a+11672>>2];break b}t[a+11661|0]=1;Ud(a,d,i);if(w[a+11740|0]){He(a,h,a+11700|0,v[a+11708>>2],v[a+11712>>2],1)}t[a+11740|0]=0;u[a+11660>>1]=0;v[a+11732>>2]=d;v[a+11736>>2]=i;v[a+11716>>2]=d;v[a+11720>>2]=i;t[a+11663|0]=1;if(!w[a+20|0]){d=v[a+11672>>2];break b}d=v[a+11672>>2];if(!w[d+5|0]){break a}}Ge(h,v[a+11664>>2],v[a+11668>>2],d,v[a+11676>>2],0)}Ta(a+3876|0,h,3868)}i=Qa(v[a+11640>>2],j);d=Qa(v[a+11644>>2],g);h=me(h,g);d=d+i|0;m=e,n=(Qa(v[v[a>>2]+64>>2],d)+Qa(v[v[a>>2]+72>>2],h)|0)+v[a+11652>>2]|0,v[m+32>>2]=n;m=e,n=(Qa(v[v[a>>2]+68>>2],d)+Qa(v[v[a>>2]+76>>2],h)|0)+v[a+11656>>2]|0,v[m+36>>2]=n;d=v[a+4>>2];Ea[v[d>>2]](d,e+24|0);h=v[e+32>>2];i=v[e+36>>2];v[a+11700>>2]=j;v[a+11704>>2]=g;v[a+11724>>2]=h;v[a+11728>>2]=i;v[a+11708>>2]=k;v[a+11712>>2]=f;t[a+11660|0]=1;t[a+11663|0]=0}if(w[a+11740|0]){He(a,a+8|0,e+8|0,k,f,0)}v[a+11744>>2]=2;t[a+11740|0]=1;g=v[e+12>>2];v[a+11748>>2]=v[e+8>>2];v[a+11752>>2]=g;v[a+11756>>2]=k;v[a+11760>>2]=f;if(l){Ge(a+8|0,v[a+11664>>2],v[a+11668>>2],v[a+11672>>2],v[a+11676>>2],0)}v[a+11720>>2]=c;v[a+11716>>2]=b}Ca=e- -64|0}function Bp(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;j=Ca-80|0;Ca=j;d=w[c+3|0];e=v[b+4>>2];b=w[c+2|0];if(b&128){v[a+4>>2]=v[e+72>>2]}if(b&32){b=v[e+76>>2];c=v[e+72>>2]+1|0;v[a+8>>2]=b>>>0<c>>>0?b:c}b=d&15;a:{if(!b){break a}c=v[a+4>>2];f=v[a+8>>2];if(c>>>0>=f>>>0){break a}b=w[b+229520|0];k=b>>>4|0;h=k>>>0<2?k:2;l=b&15;i=l>>>0<2?l:2;o=h+i|0;b=f-c|0;if(o>>>0>b>>>0){break a}d=v[e+76>>2];g=v[e+72>>2]+1|0;d=d>>>0<g>>>0?d:g;if(d-c>>>0>=2){rc(e,c,d);f=v[a+8>>2];c=v[a+4>>2];b=f-c|0}d=j;if(b>>>0>=2){rc(e,c,f);f=v[a+8>>2];c=v[a+4>>2]}b=v[e+88>>2];g=b+B(c,20)|0;m=B(h,20);d=Ta(d,g,m);n=B(i,20);p=Ta(d+40|0,(b+B(f,20)|0)+B(0-i|0,20)|0,n);e=b;if((h|0)!=(i|0)){mb(g+n|0,g+m|0,B(f-(c+o|0)|0,20));c=v[a+4>>2]}Ta(B(c,20)+e|0,p,n);Ta((b+B(v[a+8>>2],20)|0)+B(0-h|0,20)|0,d,m);if((k|0)==3){e=b+B(v[a+8>>2],20)|0;c=e-20|0;v[d+16>>2]=v[c+16>>2];f=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=f;f=v[c+12>>2];v[d+8>>2]=v[c+8>>2];v[d+12>>2]=f;e=e-40|0;f=v[e+4>>2];v[c>>2]=v[e>>2];v[c+4>>2]=f;f=v[e+12>>2];v[c+8>>2]=v[e+8>>2];v[c+12>>2]=f;v[c+16>>2]=v[e+16>>2];e=v[d+4>>2];c=(b+B(v[a+8>>2],20)|0)-40|0;v[c>>2]=v[d>>2];v[c+4>>2]=e;v[c+16>>2]=v[d+16>>2];e=v[d+12>>2];v[c+8>>2]=v[d+8>>2];v[c+12>>2]=e}if((l|0)!=3){break a}c=b+B(v[a+4>>2],20)|0;v[d+16>>2]=v[c+16>>2];e=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=e;e=v[c+12>>2];v[d+8>>2]=v[c+8>>2];v[d+12>>2]=e;e=v[c+24>>2];v[c>>2]=v[c+20>>2];v[c+4>>2]=e;e=v[c+32>>2];v[c+8>>2]=v[c+28>>2];v[c+12>>2]=e;v[c+16>>2]=v[c+36>>2];a=b+B(v[a+4>>2],20)|0;v[a+36>>2]=v[d+16>>2];b=v[d+12>>2];v[a+28>>2]=v[d+8>>2];v[a+32>>2]=b;b=v[d+4>>2];v[a+20>>2]=v[d>>2];v[a+24>>2]=b}Ca=j+80|0}function Iz(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;d=Ca-16|0;Ca=d;i=v[b+28>>2];v[a+368>>2]=b;c=Ea[v[a+516>>2]](a,1851878757,b,d+8|0)|0;v[d+12>>2]=c;a:{if(c){break a}j=v[b+8>>2];c=ub(b,163184,a+344|0);v[d+12>>2]=c;if(c){break a}c=145;m=j+6|0;f=v[a+348>>2];h=m+B(f,12)|0;k=v[d+8>>2]+j|0;if(h>>>0>k>>>0){break a}g=a;e=i;if(x[a+344>>1]==1){c=Ya(b,h);v[d+12>>2]=c;if(c){break a}f=kb(b,d+12|0);v[a+360>>2]=f;c=v[d+12>>2];if(c){break a}n=a,o=Ua(i,12,0,f,0,d+12|0),v[n+364>>2]=o;c=v[d+12>>2];if(c){break a}c=vb(b,v[a+360>>2]<<2);v[d+12>>2]=c;if(c){break a}h=((f<<2)+h|0)+2|0;c=v[a+364>>2];b:{if(!c){break b}f=v[a+360>>2];if((f|0)<1){break b}f=B(f,12)+c|0;while(1){n=d,o=ub(b,163244,c),v[n+12>>2]=o;l=v[c+4>>2]+(v[a+352>>2]+j|0)|0;v[c+4>>2]=l;if(!(l+x[c>>1]>>>0<=k>>>0?h>>>0<=l>>>0:0)){u[c>>1]=0}c=c+12|0;if(f>>>0>c>>>0){continue}break}}pb(b);n=d,o=Ya(b,m),v[n+12>>2]=o;f=v[a+348>>2]}n=g,o=Ua(e,20,0,f,0,d+12|0),v[n+356>>2]=o;c=v[d+12>>2];if(c){break a}c=vb(b,B(v[a+348>>2],12));v[d+12>>2]=c;if(c){break a}e=v[a+356>>2];f=v[a+348>>2];c:{if(!f){c=e;g=0;break c}c=e;while(1){e=ub(b,163216,c);v[d+12>>2]=e;d:{if(e){break d}e=x[c+8>>1];if(!e){break d}g=v[c+12>>2]+(v[a+352>>2]+j|0)|0;v[c+12>>2]=g;if(h>>>0>g>>>0|e+g>>>0>k>>>0){break d}e:{if(x[a+344>>1]!=1){break e}e=u[c+4>>1];if((e|0)>-1){break e}e=(e&65535)-32768|0;if(e>>>0>=y[a+360>>2]|!x[v[a+364>>2]+B(e,12)>>1]){break d}}c=c+20|0}f=f-1|0;if(f){continue}break}e=v[a+356>>2];g=v[a+348>>2]}c=(c-e|0)/20|0;i=Ua(i,20,g,c,e,d+12|0);v[a+348>>2]=c;v[a+356>>2]=i;pb(b);u[a+340>>1]=v[a+348>>2];c=v[d+12>>2]}Ca=d+16|0;return c|0}function bv(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,w=0,x=0,y=0,z=0,A=0,C=0;m=v[a+24>>2];if(!m){return 0}a:{b:{y=v[b+20>>2];c:{if((y|0)<=0){break c}C=v[b+4>>2];x=-1;while(1){d:{if((m|0)>=1){s=v[(q<<2)+C>>2];o=0;w=0;while(1){e:{f:{g:{h:{r=v[a+32>>2];u=B(w,56);b=r+u|0;i:{if(v[b+12>>2]>0){l=b;m=0;while(1){if(!jb(v[v[l+4>>2]+(m<<2)>>2],s)){break i}m=m+1|0;if((m|0)<v[b+12>>2]){continue}break}}if(!c){break h}l=v[(r+u|0)+44>>2];if(!l){break h}if(jb(l,s)){break h}}l=r+u|0;p=v[l+24>>2]-d|0;m=p>>31;z=v[l+20>>2]-e|0;n=z>>31;A=v[l+28>>2]-100|0;l=A>>31;m=((m^m+p)+(n^n+z)|0)+(l^l+A)|0;break g}m=0;j:{k:{n=r+u|0;if(v[n+16>>2]<=0){break k}while(1){if(jb(v[v[n+8>>2]+(m<<2)>>2],s)){m=m+1|0;if((m|0)<v[n+16>>2]){continue}break k}break}l=1;m=0;p=v[n+40>>2];if(!p){break j}if(jb(p,s)){break j}break g}l=v[n+40>>2];if(!l){break f}if(jb(l,s)){break f}m=1;l=0}p=v[n+48>>2];if(!p){break b}p=v[p+8>>2];if(!p){break b}l=Ea[p|0](v[n+52>>2])|0?m:l;m=0;if((l|0)!=1){break f}}t[k|0]=1;l:{if(m>>>0>=x>>>0){l=x;b=o;break l}n=r+u|0;l=v[n+48>>2];if(!l){break a}r=v[l+12>>2];if(!r){break a}l=m;if(!(Ea[r|0](v[n+52>>2],j)|0)){break f}}x=l;o=b;if(!m){break e}}w=w+1|0;if((w|0)<v[a+24>>2]){continue}}break}if(o){break d}}q=q+1|0;if((y|0)==(q|0)){return 0}else{m=v[a+24>>2];continue}}break}a=v[o+48>>2];v[g>>2]=v[o+40>>2];v[h>>2]=v[o>>2];b=v[a+36>>2];m:{if(b){b=Ea[b|0](v[o+52>>2])|0;break m}b=v[o+36>>2]}v[f>>2]=b;q=v[o+32>>2];if(q){break c}v[i>>2]=v[a+4>>2];v[i+4>>2]=v[o+52>>2];q=v[o+40>>2];if(q){break c}q=v[v[o+4>>2]>>2]}return q}O(363873,363918,623,363965);L()}O(363982,363918,723,364022);L()}function rD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=Ca-16|0;Ca=h;d=v[a+712>>2];v[h+12>>2]=0;a:{if(!d){break a}e=v[d+3092>>2];if(e){c=0}else{e=qb(v[a+100>>2],32,h+12|0);c=v[h+12>>2];if(c){break a}a=0;i=e;c=v[d+1372>>2];f=0;b:{if((c|0)==65535){break b}if(c>>>0>=391){c=c-391|0;f=0;if(c>>>0>=y[d+1356>>2]){break b}f=v[v[d+1360>>2]+(c<<2)>>2];break b}g=v[d+3084>>2];f=0;if(!g){break b}f=Ea[v[g+20>>2]](c)|0}v[i>>2]=f;c=v[d+1376>>2];c:{if((c|0)==65535){break c}if(c>>>0>=391){c=c-391|0;if(c>>>0>=y[d+1356>>2]){break c}a=v[v[d+1360>>2]+(c<<2)>>2];break c}g=v[d+3084>>2];if(!g){break c}a=Ea[v[g+20>>2]](c)|0}v[e+4>>2]=a;a=0;i=e;c=v[d+1384>>2];f=0;d:{if((c|0)==65535){break d}if(c>>>0>=391){c=c-391|0;f=0;if(c>>>0>=y[d+1356>>2]){break d}f=v[v[d+1360>>2]+(c<<2)>>2];break d}g=v[d+3084>>2];f=0;if(!g){break d}f=Ea[v[g+20>>2]](c)|0}v[i+8>>2]=f;c=v[d+1388>>2];e:{if((c|0)==65535){break e}if(c>>>0>=391){c=c-391|0;if(c>>>0>=y[d+1356>>2]){break e}a=v[v[d+1360>>2]+(c<<2)>>2];break e}g=v[d+3084>>2];if(!g){break e}a=Ea[v[g+20>>2]](c)|0}v[e+12>>2]=a;c=0;a=v[d+1392>>2];f:{if((a|0)==65535){break f}if(a>>>0>=391){a=a-391|0;if(a>>>0>=y[d+1356>>2]){break f}c=v[v[d+1360>>2]+(a<<2)>>2];break f}g=v[d+3084>>2];if(!g){break f}c=Ea[v[g+20>>2]](a)|0}v[e+16>>2]=c;v[e+20>>2]=v[d+1400>>2];t[e+24|0]=w[d+1396|0];u[e+26>>1]=v[d+1404>>2];u[e+28>>1]=v[d+1408>>2];v[d+3092>>2]=e;c=v[h+12>>2]}a=v[e+4>>2];v[b>>2]=v[e>>2];v[b+4>>2]=a;a=v[e+28>>2];v[b+24>>2]=v[e+24>>2];v[b+28>>2]=a;a=v[e+20>>2];v[b+16>>2]=v[e+16>>2];v[b+20>>2]=a;a=v[e+12>>2];v[b+8>>2]=v[e+8>>2];v[b+12>>2]=a}Ca=h+16|0;return c|0}function Jh(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;m=v[a+2744>>2];a:{if(!(m&4)){break a}h=v[a+2748>>2];if(w[(h+B(b,9804)|0)+256|0]){break a}a=c>>31;g=a+c^a;b:{c:{d:{if((b|0)==1){if(m&2){break d}if(!(f&2)|(g|0)>=192){break c}a=g;break b}if(!(m&1)){break c}}e:{f:{g:{h:{i:{a=v[(B(b,9804)+h|0)+52>>2];if(a){q=a&1;if((a|0)!=1){break i}e=98;a=0;f=g;break h}a=g+32&2147483584;f=g;break g}d=a&-2;e=98;a=0;n=(B(b,9804)+h|0)+56|0;f=g;while(1){o=v[(B(a|1,12)+n|0)+4>>2];i=g-o|0;j=i>>31;p=v[(B(a,12)+n|0)+4>>2];k=g-p|0;l=k>>31;k=l^l+k;l=(k|0)<(e|0);i=j^j+i;e=l?k:e;j=(i|0)<(e|0);e=j?i:e;f=j?o:l?p:f;a=a+2|0;d=d-2|0;if(d){continue}break}}if(q){d=v[((B(b,9804)+h|0)+B(a,12)|0)+60>>2];h=g-d|0;a=h>>31;f=(a^a+h)<(e|0)?d:f}a=f+32&-64;if((f|0)>(g|0)){break f}}d=(a|48)>(g|0)?f:g;break e}d=(a-48|0)<(g|0)?f:g}if((b|0)==1){a=64;if((d|0)<64){break b}a=d+16&-64;break b}if(m&8){a=64;if((d|0)<64){break b}a=d+32&-64;break b}if((d|0)<=47){a=d- -64>>1;break b}if((d|0)<=127){a=d+22&-64;d=a-g|0;b=d>>31;if((b^b+d)>>>0<16){break b}if((g|0)>47){a=g;break b}a=g- -64>>>1|0;break b}a=d+32&-64;break b}a=e&1?(g|0)<80?64:g:(g|0)>56?g:56;b=B(b,9804)+h|0;if(!v[b+52>>2]){break b}b=v[b+60>>2];f=a-b|0;e=f>>31;if((e^e+f)>>>0<=39){a=(b|0)>48?b:48;break b}if((a|0)<=191){b=a&63;if(b>>>0<10){break b}d=a&2147483584;if(b>>>0<=31){a=d|10;break b}a=b>>>0<54?d|54:a;break b}j:{if(!((d|0)>0?(c|0)>=1:0)){e=0;if((c|0)>-1|(d|0)>-1){break j}}b=x[v[v[h+4>>2]+88>>2]+12>>1];if(b>>>0>=10){e=0;if(b>>>0>29){break j}d=(B(30-b|0,d)|0)/20|0}b=d>>31;e=b-(b^d)|0}a=(e+a|0)+32&-64}c=(c|0)<0?0-a|0:a}return c}function HP(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;a:{b:{a=Ax(b+24|0);f=v[a+4>>2];c:{if((f|0)!=131072){if((f|0)!=65536|c>>>0>257){break b}a=c<<2;f=v[a+254016>>2];a=v[a+254020>>2]+(f^-1)|0;f=f+255052|0;break c}f=v[a+8>>2];if((w[f|0]<<8|w[f+1|0])>>>0<=c>>>0){break b}f=f+(c<<1)|0;f=w[f+2|0]<<8|w[f+3|0];if(f>>>0<=257){a=f<<2;f=v[a+254016>>2];a=v[a+254020>>2]+(f^-1)|0;f=f+255052|0;break c}f=f-258|0;if(f>>>0>=y[a+16>>2]){break b}a=v[a+24>>2]+v[v[a+20>>2]+(f<<2)>>2]|0;f=a+1|0;a=w[a|0]}if(!a){break b}b=1;if(!e){break a}b=e-1|0;a=a>>>0<b>>>0?a:b;j=ve(d,f,a)+a|0,k=0,t[j|0]=k;return 1}b=Fn(b+52|0);f=0;a=1;d:{if(!d){break d}if(!v[b>>2]|v[b+144>>2]!=-1){a=f}else{e:{f:{a=v[b+48>>2];g:{h:{if((a|0)!=280448){f=rx(a,c,v[b+212>>2]);break h}i:{switch(v[b+168>>2]){case 0:f=c>>>0<229?c:0;break g;case 1:f=c>>>0<=165?x[(c<<1)+247008>>1]:0;break h;case 2:break i;default:break g}}f=c>>>0<=86?x[(c<<1)+247344>>1]:0}if(f>>>0>390){break f}}a=f<<2;b=v[a+248992>>2];a=v[a+248996>>2]+(b^-1)|0;b=b+250560|0;break e}h=f-391|0;c=v[b+60>>2];a=w[c|0]<<8|w[c+1|0];if(h>>>0>=a>>>0){a=v[70113];b=v[70112];break e}b=w[c+2|0];i=(c+B(b,a+1|0)|0)+3|0;j:{if(!b){f=0;break j}g=b&3;a=(c+B(b,h)|0)+3|0;if(b-1>>>0<3){f=0}else{f=b&252;while(1){b=a;a=b+4|0;f=f-4|0;if(f){continue}break}b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(!g){break j}while(1){f=w[a|0]|f<<8;a=a+1|0;g=g-1|0;if(g){continue}break}}a=Sg(c,h);b=(f+i|0)-1|0}if(a){c=b;b=e-1|0;b=a>>>0<b>>>0?a:b;j=ve(d,c,b)+b|0,k=0,t[j|0]=k}a=(a|0)!=0}}b=a}return b|0}
|
||
function Nu(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;k=Ca-16|0;Ca=k;a:{b:{f=Qu(a,b,k+12|0);if(f){if(!c){break b}h=f;d=v[k+12>>2];e=Ca-16|0;Ca=e;c:{d:{e:{f:{if(c){g:{h:{f=as(3366);i:{if((f|0)==-1){break i}c=as(c);if((c|0)==-1){break i}if(w[f+524384|0]<208){break h}}v[164114]=28;i=-1;break g}i=f|c<<16}if((i|0)==-1){break f}hb(a,6,3392,0);v[e+12>>2]=d;v[e+8>>2]=d-1;c=0;j=Va(d);if(!j){break d}v[e>>2]=j;v[e+4>>2]=h;f=d;g=d;c=j;j:{while(1){k:{if(f){if((al(i,e+4|0,e+12|0,e,e+8|0)|0)==-1){break k}if(l){break j}l=0;f=v[e+12>>2];continue}l=1;if((al(i,0,0,e,e+8|0)|0)!=-1){break j}}if(v[164114]==1){j=v[e>>2];g=d+g|0;f=gb(c,g);if(!f){break e}v[e+8>>2]=d+v[e+8>>2];v[e>>2]=f+(j-c|0);c=f;f=v[e+12>>2];continue}break}hb(a,2,3447,0);break e}t[((v[e+8>>2]^-1)+g|0)+c|0]=0;break d}O(3372,1319,1172,3381);L()}c=0;hb(a,1,3416,0);break c}Pa(c);c=0}hb(a,6,3467,0)}Ca=e+16|0;f=c;Pa(h);if(c){break b}}g=0;break a}l:{g=Mm(a);if(g){av(g,f);d=v[g+8>>2];m:{if((d|0)<1){break m}i=d&7;h=v[g+20>>2];c=0;if(d-1>>>0>=7){j=d&-8;while(1){v[(h+B(c,56)|0)+16>>2]=c;d=c|1;v[(h+B(d,56)|0)+16>>2]=d;d=c|2;v[(h+B(d,56)|0)+16>>2]=d;d=c|3;v[(h+B(d,56)|0)+16>>2]=d;d=c|4;v[(h+B(d,56)|0)+16>>2]=d;d=c|5;v[(h+B(d,56)|0)+16>>2]=d;d=c|6;v[(h+B(d,56)|0)+16>>2]=d;d=c|7;v[(h+B(d,56)|0)+16>>2]=d;c=c+8|0;j=j-8|0;if(j){continue}break}}if(!i){break m}while(1){v[(h+B(c,56)|0)+16>>2]=c;c=c+1|0;i=i-1|0;if(i){continue}break}}if(v[g+32>>2]){break l}Ff(g)}Pa(f);g=0;break a}Rm(g);Pa(f);m=g,n=ib(b),v[m+80>>2]=n;c=v[g>>2];v[k+8>>2]=v[g+8>>2];v[k+4>>2]=c;v[k>>2]=b;hb(a,4,1872,k)}Ca=k+16|0;return g}function Kv(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;h=Ca+-64|0;Ca=h;g=v[a>>2];a:{if((g|0)<1){break a}e=v[a+24>>2];c=B(b,204);k=v[a+16>>2];d=v[a+8>>2];l=d+B(g,40)|0;b=0;a=d;while(1){b=(v[a+16>>2]>>>4&1)+b|0;a=a+40|0;if(l>>>0>a>>>0){continue}break}if(!b){break a}m=v[(e+c|0)+200>>2];b:{if(b>>>0<=16){e=h;break b}e=Ua(k,4,0,b,0,h);if(v[h>>2]){break a}}c:{if((g|0)<=0){break c}c=d;while(1){if(w[c+16|0]&16){a=(f<<2)+e|0;d:{if((f|0)<1){b=a;break d}i=v[c+28>>2];while(1){b=a-4|0;j=v[b>>2];if((i|0)>=v[j+28>>2]){b=a;break d}v[a>>2]=j;a=b;if(e>>>0<a>>>0){continue}break}}v[b>>2]=c;f=f+1|0}c=c+40|0;if(l>>>0>c>>>0){continue}break}if((g|0)<1){break c}j=((f<<2)+e|0)-4|0;while(1){b=v[d+16>>2];e:{if(b&16){break e}a=v[d+12>>2];if(a&2){c=w[d+20|0];if(!(b&64|a&4)|((c|0)==4|(c|0)!=w[d+21|0])){break e}v[d+12>>2]=a&-3}n=d;f:{g:{if(f){b=v[d+28>>2];a=0;h:{while(1){if((b|0)<v[v[(a<<2)+e>>2]+28>>2]){break h}a=a+1|0;if((f|0)!=(a|0)){continue}break}a=f}if(a){break g}}a=v[e>>2];c=v[a+36>>2]+Qa(v[d+28>>2]-v[a+28>>2]|0,m)|0;break f}g=v[((a<<2)+e|0)-4>>2];b=f;while(1){a=b;if(a){b=a-1|0;if(v[v[(b<<2)+e>>2]+28>>2]>=v[d+28>>2]){continue}}break}if((a|0)==(f|0)){a=v[j>>2];c=v[a+36>>2]+Qa(v[d+28>>2]-v[a+28>>2]|0,m)|0;break f}b=v[d+28>>2];i=v[g+28>>2];c=v[g+36>>2];if((b|0)==(i|0)){break f}a=v[(a<<2)+e>>2];c=v[a+28>>2];if((c|0)==(b|0)){c=v[a+36>>2];break f}o=v[a+36>>2];a=v[g+36>>2];c=fb(b-i|0,o-a|0,c-i|0)+a|0}v[n+36>>2]=c;v[d+16>>2]=v[d+16>>2]|32}d=d+40|0;if(l>>>0>d>>>0){continue}break}}if((e|0)==(h|0)){break a}if(e){Ea[v[k+8>>2]](k,e)}}Ca=h- -64|0}function KP(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=C(0),l=0,m=0,n=0;h=Gn(b+44|0);a:{if(!c){break a}b=1;while(1){n=Ca-128|0;Ca=n;m=v[d>>2];j=v[h>>2];b:{if(m>>>0>=j>>>0){i=0;if(j){break b}i=v[h+8>>2];break b}i=v[h+12>>2];j=v[(i?i:280448)+12>>2];i=v[h+4>>2]-1|0;i=i>>>0<m>>>0?i:m;i=(i|0)<0?280448:j+(i<<2)|0;j=w[i|0]<<8|w[i+1|0];i=j;if(!v[a+60>>2]){break b}c:{i=v[h+16>>2];i=i?i:280448;l=v[i+16>>2];if(l){k=C(C(H(C(zx(l>>>0<20?280448:v[i+12>>2],m,a)+C(.5))))+C(j>>>0));if(!(k<C(4294967296)&k>=C(0))){break c}i=~~k>>>0;break b}j=Uh(v[a+16>>2]+96|0);if(m>>>0>=y[j+16>>2]){break c}d:{i=v[v[j>>2]>>2];i=i?i:280448;i=y[i+16>>2]<20?280448:v[i+12>>2];if(v[a+60>>2]==(w[i+4|0]<<8|w[i+5|0])){i=n;v[i+48>>2]=2139095039;v[i+52>>2]=-8388609;v[i+56>>2]=-8388609;v[i+16>>2]=2139095039;v[i+20>>2]=-8388609;v[i+24>>2]=-8388609;v[i+44>>2]=2139095039;v[i+40>>2]=i- -64;l=v[i+44>>2];v[i+8>>2]=v[i+40>>2];v[i+12>>2]=l;v[i+36>>2]=0;v[i+32>>2]=a;l=v[i+36>>2];v[i>>2]=v[i+32>>2];v[i+4>>2]=l;if(Lj(j,a,m,i)){break d}}j=v[j+8>>2];l=v[j>>2];if(l>>>0<=m>>>0){i=0;if(l){break b}i=v[j+8>>2];break b}i=v[j+12>>2];l=v[(i?i:280448)+12>>2];i=v[j+4>>2]-1|0;i=i>>>0<m>>>0?i:m;i=(i|0)<0?280448:l+(i<<2)|0;i=w[i|0]<<8|w[i+1|0];break b}k=C(H(C(C(z[n+104>>2]-z[n+120>>2])+C(.5))));k=k>=C(0)?k:C(0);k=k<=C(2147483648)?k:C(2147483648);if(!(k<C(4294967296)&k>=C(0))){break c}i=~~k>>>0;break b}i=0}Ca=n+128|0;i=0-(i<<16)|0;i=eQ(v[a+40>>2],v[a+44>>2],i>>16,i>>31);v[f>>2]=(Da&65535)<<16|i>>>16;if((b|0)==(c|0)){break a}f=f+g|0;d=d+e|0;b=b+1|0;continue}}}function Fx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;a:{e=v[a+24>>2];b:{if(e){e=e-1|0;v[a+24>>2]=e;if(e>>>0>=y[a+32>>2]){e=v[70113];d=v[70112];v[163916]=d;v[163917]=e;l(0,d|0);l(1,e|0);j=+n();break b}j=A[v[a+36>>2]+(e<<3)>>3];break b}t[a+20|0]=1;e=v[70113];d=v[70112];v[163916]=d;v[163917]=e;l(0,d|0);l(1,e|0);j=+n()}c:{if(D(j)<2147483648){d=~~j;break c}d=-2147483648}i=d+v[b>>2]|0;d:{if((i|0)<0){break d}e=v[b+4>>2];if(!e|(w[e+1|0]|w[e|0]<<8)>>>0<=i>>>0){break d}d=v[a+92>>2];if(d>>>0<10){break a}}t[a+40|0]=1;return}e=v[a+4>>2];v[a+44>>2]=v[a>>2];v[a+48>>2]=e;t[a+60|0]=w[a+16|0];e=v[a+12>>2];v[a+52>>2]=v[a+8>>2];v[a+56>>2]=e;e=a+44|0;e:{if(d>>>0<y[a+100>>2]){v[a+92>>2]=d+1;g=v[a+104>>2]+B(d,28)|0;d=e;h=v[d+4>>2];v[g>>2]=v[d>>2];v[g+4>>2]=h;v[g+24>>2]=v[d+24>>2];h=v[d+20>>2];v[g+16>>2]=v[d+16>>2];v[g+20>>2]=h;h=v[d+12>>2];v[g+8>>2]=v[d+8>>2];v[g+12>>2]=h;break e}t[a+88|0]=1}f:{g:{g=v[b+4>>2];if(g){b=w[g+1|0]|w[g|0]<<8;if(b>>>0>i>>>0){break g}}k=v[70114];f=v[70112];b=v[70113];break f}d=w[g+2|0];m=(B(d,b+1|0)+g|0)+3|0;h:{if(!d){break h}h=d&3;b=(B(d,i)+g|0)+3|0;if(d-1>>>0<3){f=0}else{f=d&252;while(1){d=b;b=d+4|0;f=f-4|0;if(f){continue}break}f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24)}if(!h){break h}while(1){f=w[b|0]|f<<8;b=b+1|0;h=h-1|0;if(h){continue}break}}f=(f+m|0)-1|0;b=Sg(g,i)}v[a+44>>2]=f;v[a+68>>2]=i;v[a- -64>>2]=c;t[a+60|0]=0;v[a+56>>2]=0;v[a+52>>2]=k;v[a+48>>2]=b;b=v[e+4>>2];v[a>>2]=v[e>>2];v[a+4>>2]=b;b=v[e+12>>2];v[a+8>>2]=v[e+8>>2];v[a+12>>2]=b;t[a+16|0]=w[e+16|0]}function fh(a,b,c){var d=0,e=0,f=0;v[c>>2]=0;if(!a){return 33}d=6;a:{if(!b){break a}e=v[a>>2];b:{c:{d:{e:{f:{g:{f=v[b>>2];switch((f&7)-1|0){case 1:break e;case 3:break f;case 0:break g;default:break d}}a=Ea[v[e+4>>2]](e,40)|0;if(a){break c}return 64}a=Ea[v[e+4>>2]](e,40)|0;if(!a){return 64}t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;t[a+4|0]=0;t[a+5|0]=0;t[a+6|0]=0;t[a+7|0]=0;t[a+32|0]=0;t[a+33|0]=0;t[a+34|0]=0;t[a+35|0]=0;t[a+36|0]=0;t[a+37|0]=0;t[a+38|0]=0;t[a+39|0]=0;t[a+24|0]=0;t[a+25|0]=0;t[a+26|0]=0;t[a+27|0]=0;t[a+28|0]=0;t[a+29|0]=0;t[a+30|0]=0;t[a+31|0]=0;t[a+16|0]=0;t[a+17|0]=0;t[a+18|0]=0;t[a+19|0]=0;t[a+20|0]=0;t[a+21|0]=0;t[a+22|0]=0;t[a+23|0]=0;t[a+8|0]=0;t[a+9|0]=0;t[a+10|0]=0;t[a+11|0]=0;t[a+12|0]=0;t[a+13|0]=0;t[a+14|0]=0;t[a+15|0]=0;b=bg(a,v[b+12>>2]);if(!b){break b}Ea[v[e+8>>2]](e,a);return b}a=v[b+16>>2];if(a){break b}}if(!(f&2)){break a}a=v[b+16>>2];if(!a){break a}b=v[a+24>>2];if(!b){break a}Ea[b|0](a);return 6}t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;t[a+4|0]=0;t[a+5|0]=0;t[a+6|0]=0;t[a+7|0]=0;d=a+32|0;t[d|0]=0;t[d+1|0]=0;t[d+2|0]=0;t[d+3|0]=0;t[d+4|0]=0;t[d+5|0]=0;t[d+6|0]=0;t[d+7|0]=0;t[a+24|0]=0;t[a+25|0]=0;t[a+26|0]=0;t[a+27|0]=0;t[a+28|0]=0;t[a+29|0]=0;t[a+30|0]=0;t[a+31|0]=0;t[a+16|0]=0;t[a+17|0]=0;t[a+18|0]=0;t[a+19|0]=0;t[a+20|0]=0;t[a+21|0]=0;t[a+22|0]=0;t[a+23|0]=0;d=a+8|0;t[d|0]=0;t[d+1|0]=0;t[d+2|0]=0;t[d+3|0]=0;t[d+4|0]=0;t[d+5|0]=0;t[d+6|0]=0;t[d+7|0]=0;d=v[b+4>>2];b=v[b+8>>2];v[a+32>>2]=0;v[a+8>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a>>2]=d;v[a+4>>2]=b}v[a+28>>2]=e;v[c>>2]=a;d=0}return d}function LP(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=C(0),m=0,n=0;h=Cx(b+16|0);a:{if(!c){break a}b=1;while(1){j=Ca-128|0;Ca=j;m=v[d>>2];k=v[h>>2];b:{if(m>>>0>=k>>>0){i=0;if(k){break b}i=v[h+8>>2];break b}i=v[h+12>>2];k=v[(i?i:280448)+12>>2];i=v[h+4>>2]-1|0;i=i>>>0<m>>>0?i:m;i=(i|0)<0?280448:k+(i<<2)|0;k=w[i|0]<<8|w[i+1|0];i=k;if(!v[a+60>>2]){break b}c:{i=v[h+16>>2];i=i?i:280448;n=v[i+16>>2];if(n){l=C(C(H(C(zx(n>>>0<20?280448:v[i+12>>2],m,a)+C(.5))))+C(k>>>0));if(!(l<C(4294967296)&l>=C(0))){break c}i=~~l>>>0;break b}i=Uh(v[a+16>>2]+96|0);if(m>>>0>=y[i+16>>2]){break c}d:{k=v[v[i>>2]>>2];k=k?k:280448;k=y[k+16>>2]<20?280448:v[k+12>>2];if(v[a+60>>2]==(w[k+4|0]<<8|w[k+5|0])){v[j+48>>2]=2139095039;v[j+52>>2]=-8388609;v[j+56>>2]=-8388609;v[j+16>>2]=2139095039;v[j+20>>2]=-8388609;v[j+24>>2]=-8388609;v[j+44>>2]=2139095039;v[j+40>>2]=j- -64;k=v[j+44>>2];v[j+8>>2]=v[j+40>>2];v[j+12>>2]=k;v[j+36>>2]=0;v[j+32>>2]=a;k=v[j+36>>2];v[j>>2]=v[j+32>>2];v[j+4>>2]=k;if(Lj(i,a,m,j)){break d}}k=v[i+4>>2];n=v[k>>2];if(n>>>0<=m>>>0){i=0;if(n){break b}i=v[k+8>>2];break b}i=v[k+12>>2];n=v[(i?i:280448)+12>>2];i=v[k+4>>2]-1|0;i=i>>>0<m>>>0?i:m;i=(i|0)<0?280448:n+(i<<2)|0;i=w[i|0]<<8|w[i+1|0];break b}l=C(H(C(C(z[j+84>>2]-z[j+68>>2])+C(.5))));l=l>=C(0)?l:C(0);l=l<=C(2147483648)?l:C(2147483648);if(!(l<C(4294967296)&l>=C(0))){break c}i=~~l>>>0;break b}i=0}Ca=j+128|0;i=i<<16;j=i>>31;i=eQ(v[a+32>>2],v[a+36>>2],i>>16,j);v[f>>2]=(Da&65535)<<16|i>>>16;if((b|0)==(c|0)){break a}f=f+g|0;d=d+e|0;b=b+1|0;continue}}}function lO(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;a=w[b+168|0];if(!(a&64)){a=a<<24>>24;t[b+168|0]=a|64;if((a|0)>-1){t[b+168|0]=a|192;h=v[b+76>>2];if(h){i=v[b+88>>2];while(1){c=8;g=B(f,20)+i|0;a=v[g>>2];e=In(a);d=e>>>8|0;a:{b:{c:{d:{if(a-2387>>>0<2){break d}c=1;e:{f:{g:{b=a-7394|0;if(b>>>0>20){break g}b=1<<b;if(!(b&2175)){if(b&1920){break f}if(!(b&1572864)){break g}break d}c=10;break d}if(a-43250>>>0<6){break f}if(a-2674>>>0<2){break d}if(a-7406>>>0<4){c=18;break d}if((a|0)==2641){break c}c=8;if((a&-3)==70401){break d}c=3;if(a-70459>>>0<2){break d}h:{if((a|0)<=2810){if((a|0)==2432|(a|0)==2556){break h}break e}if((a|0)==2811|(a|0)==2901){break d}if((a|0)!=3200){break e}}c=11;break d}c=18;break d}if((a&-2)==8208){c=11;break d}c=12;if((a|0)==9676){break d}c=e&255;if(c>>>0<32){break d}break a}b=0;e=1<<c;if(e&727046){while(1){d=(a|0)==v[(b<<2)+278832>>2];if(!d){b=b+1|0;if((b|0)!=11){continue}}break}c=d?16:c;d=4;break a}if((c|0)!=7){d=e&263424?14:d;break a}i:{j:{k:{switch(d-3|0){case 0:d=2;break b;case 8:l:{switch(a-2432>>>7|0){case 5:c=7;d=a>>>0<3139?7:9;break a;case 6:break l;case 0:case 1:case 2:case 3:case 4:case 7:break c;default:break j}}c=7;d=a-3267>>>0>19?7:9;break a;case 3:b=a-2560|0;if(b>>>0>=768){break j}d=v[(b>>>5&134217724)+278876>>2];break b;case 5:break k;default:break b}}b=a-2560|0;if(b>>>0<896){break i}}d=9;break b}d=v[(b>>>5&134217724)+278900>>2];break b}d=12}c=7}t[g+19|0]=(a|0)==2817?7:d;t[g+18|0]=c;f=f+1|0;if((h|0)!=(f|0)){continue}break}}return}}O(278785,278385,153,278772);L()}function pm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ca-96|0;Ca=e;Ac(v[a+12>>2],v[a>>2]);b=v[a+12>>2];c=Xa(b)+b|0;b=w[451502]|w[451503]<<8|(w[451504]<<16|w[451505]<<24);d=w[451498]|w[451499]<<8|(w[451500]<<16|w[451501]<<24);t[c|0]=d;t[c+1|0]=d>>>8;t[c+2|0]=d>>>16;t[c+3|0]=d>>>24;t[c+4|0]=b;t[c+5|0]=b>>>8;t[c+6|0]=b>>>16;t[c+7|0]=b>>>24;b=w[451506]|w[451507]<<8|(w[451508]<<16|w[451509]<<24);t[c+8|0]=b;t[c+9|0]=b>>>8;t[c+10|0]=b>>>16;t[c+11|0]=b>>>24;d=Ca-16|0;Ca=d;a:{b:{c:{h=v[a+12>>2];b=Xa(h);if(b>>>0>=6){f=(b+h|0)-6|0;if(!lc(f,518114,6)){break c}}v[164114]=28;break b}i=100;while(1){g=0;b=Ca-16|0;Ca=b;va(0,b+8|0)|0;c=(b+8>>>4|0)+f^B(v[b+12>>2],65537);while(1){t[f+g|0]=(c&15|c<<1&32)+65;c=c>>>5|0;g=g+1|0;if((g|0)!=6){continue}break}Ca=b+16|0;v[d>>2]=384;b=kh(h,524482,d);if((b|0)>-1){break a}i=i-1|0;if(v[164114]==20?i:0){continue}break}Ta(f,518114,6)}b=-1}Ca=d+16|0;d:{if((b|0)<0){break d}c=kl(b,451510);if(!c){rd(b);Te(v[a+12>>2]);break d}k=e,l=U()|0,v[k>>2]=l;b=$b(c,451512,e);c=qf(c);if((b|0)<=0){Te(v[a+12>>2]);break d}b=v[a+12>>2];if((c|0)==-1){Te(b);break d}b=sa(b|0,v[a+8>>2])|0;if(b>>>0>=4294963201){v[164114]=0-b;b=-1}e:{if((b|0)>=0){Te(v[a+12>>2]);break e}f:{if(!(v[164114]==63|v[164114]==138|v[164114]==2)){Te(v[a+12>>2]);b=1;break f}b=tl(v[a+8>>2],384);Te(v[a+12>>2]);if((b|0)>-1){break e}b=0}if((Hg(v[a+8>>2],e+8|0)|0)<0){break d}if(((W(0)|0)-v[e+72>>2]|0)<601){break d}c=v[a+8>>2];g:{if(!b){if(!zs(c)){break g}break d}if(Te(c)){break d}}j=pm(a);break d}Te(v[a+4>>2]);j=1}Ca=e+96|0;return j}function QJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;a:{if(!d){break a}if(e){while(1){i=0;g=a;while(1){h=i<<5&32;f=u[c>>1];t[g|0]=x[h+447872>>1]+(f-(f>>>8|0)|0)>>>6;f=u[c+2>>1];t[g+1|0]=x[h+447874>>1]+(f-(f>>>8|0)|0)>>>6;f=u[c+4>>1];t[g+2|0]=x[h+447876>>1]+(f-(f>>>8|0)|0)>>>6;f=u[c+6>>1];t[g+3|0]=x[h+447878>>1]+(f-(f>>>8|0)|0)>>>6;f=u[c+8>>1];t[g+4|0]=x[h+447880>>1]+(f-(f>>>8|0)|0)>>>6;f=u[c+10>>1];t[g+5|0]=x[h+447882>>1]+(f-(f>>>8|0)|0)>>>6;f=u[c+12>>1];t[g+6|0]=x[h+447884>>1]+(f-(f>>>8|0)|0)>>>6;f=u[c+14>>1];t[g+7|0]=x[h+447886>>1]+(f-(f>>>8|0)|0)>>>6;f=u[c+16>>1];t[g+8|0]=x[h+447888>>1]+(f-(f>>>8|0)|0)>>>6;f=u[c+18>>1];t[g+9|0]=x[h+447890>>1]+(f-(f>>>8|0)|0)>>>6;f=u[c+20>>1];t[g+10|0]=x[h+447892>>1]+(f-(f>>>8|0)|0)>>>6;f=u[c+22>>1];t[g+11|0]=x[h+447894>>1]+(f-(f>>>8|0)|0)>>>6;f=u[c+24>>1];t[g+12|0]=x[h+447896>>1]+(f-(f>>>8|0)|0)>>>6;f=u[c+26>>1];t[g+13|0]=x[h+447898>>1]+(f-(f>>>8|0)|0)>>>6;f=u[c+28>>1];t[g+14|0]=x[h+447900>>1]+(f-(f>>>8|0)|0)>>>6;f=x[h+447902>>1];h=u[c+30>>1];t[g+15|0]=f+(h-(h>>>8|0)|0)>>>6;c=c+32|0;g=b+g|0;i=i+1|0;if((i|0)!=(e|0)){continue}break}a=a+16|0;j=j+16|0;if(j>>>0<d>>>0){continue}break}break a}g=16;while(1){a=a+16|0;if(d>>>0<=g>>>0){break a}g=g+16|0;continue}}b:{if(!e){break b}c=b-(d+15&-16)|0;if(!c){break b}d=e&3;g=0;if(e-1>>>0>=3){i=e&-4;while(1){Ra(B(b,g)+a|0,0,c);Ra(B(g|1,b)+a|0,0,c);Ra(B(g|2,b)+a|0,0,c);Ra(B(g|3,b)+a|0,0,c);g=g+4|0;i=i-4|0;if(i){continue}break}}if(!d){break b}while(1){Ra(B(b,g)+a|0,0,c);g=g+1|0;d=d-1|0;if(d){continue}break}}}function $s(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ca-96|0;Ca=e;a:{b:{g=v[a+300>>2];if(g){v[a+300>>2]=v[g+8>>2];break b}g=Ea[v[a+12>>2]](24)|0;if(g){break b}d=1;break a}t[b+32|0]=1;d=a;while(1){f=d;d=v[d+472>>2];if(d){continue}break}i=v[f+528>>2]+1|0;v[f+528>>2]=i;d=v[f+532>>2]+1|0;v[f+532>>2]=d;h=v[f+536>>2];if(d>>>0>h>>>0){h=h+1|0;v[f+536>>2]=h}if(v[f+540>>2]>=1){j=w[b+33|0];k=v[b>>2];l=v[b+8>>2];v[e+88>>2]=5439;v[e+84>>2]=l;v[e+80>>2]=509358;v[e+76>>2]=k;v[e+68>>2]=509099;v[e+72>>2]=j?508104:508106;v[e+56>>2]=d;v[e- -64>>2]=(d<<1)-2;v[e+60>>2]=h;v[e+52>>2]=i;v[e+48>>2]=f;$b(v[130915],509364,e+48|0)}v[b+12>>2]=0;v[g+8>>2]=v[a+296>>2];v[a+296>>2]=g;v[g+12>>2]=b;d=v[a+308>>2];t[g+20|0]=c;v[g+16>>2]=d;v[g>>2]=0;v[g+4>>2]=0;d=v[b+8>>2];c=v[b+4>>2];v[e+92>>2]=c;f=c+d|0;c:{if(w[b+33|0]){d=v[a+224>>2];d=Ea[v[d>>2]](d,c,f,e+92|0)|0;d=zg(a,v[a+224>>2],c,f,d,v[e+92>>2],e+92|0,0,0,1);break c}d=ag(a,v[a+308>>2],v[a+224>>2],c,f,e+92|0,0,1)}if(d){break a}d=a;h=f;f=v[e+92>>2];if(!((h|0)==(f|0)|v[a+476>>2]!=3)){v[b+12>>2]=f-c;v[a+276>>2]=998;d=0;break a}while(1){c=d;d=v[d+472>>2];if(d){continue}break}if(v[c+540>>2]>=1){f=v[c+536>>2];d=v[c+532>>2];h=v[c+528>>2];i=w[b+33|0];j=v[b>>2];k=v[b+8>>2];v[e+40>>2]=5473;v[e+36>>2]=k;v[e+32>>2]=509449;v[e+28>>2]=j;v[e+24>>2]=i?508104:508106;v[e+20>>2]=509099;v[e+16>>2]=(d<<1)-2;v[e+12>>2]=f;v[e+8>>2]=d;v[e+4>>2]=h;v[e>>2]=c;$b(v[130915],509364,e)}v[c+532>>2]=v[c+532>>2]-1;d=0;t[b+32|0]=0;v[a+296>>2]=v[g+8>>2];v[g+8>>2]=v[a+300>>2];v[a+300>>2]=g}Ca=e+96|0;return d}function Pm(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0;k=Ca-128|0;Ca=k;v[k+124>>2]=b;l=v[a+36>>2];v[k+120>>2]=0;v[k+112>>2]=0;v[k+116>>2]=0;v[k+104>>2]=0;v[k+108>>2]=0;v[k+96>>2]=0;v[k+100>>2]=0;v[k+88>>2]=0;v[k+92>>2]=0;t[k+87|0]=0;a:{if(!b){break a}b:{c:{if(!l){break c}m=v[l+28>>2];if(!m){break c}Ea[m|0](v[l+40>>2],b,k+88|0);if(v[k+108>>2]){break b}}v[k+104>>2]=0;v[k+108>>2]=1;v[k+120>>2]=0;v[k+96>>2]=0;v[k+100>>2]=0;v[k+88>>2]=0;v[k+112>>2]=0;v[k+116>>2]=0;v[k+92>>2]=k+124}v[k+80>>2]=v[k+120>>2];b=v[k+116>>2];v[k+72>>2]=v[k+112>>2];v[k+76>>2]=b;m=v[k+108>>2];b=k- -64|0;v[b>>2]=v[k+104>>2];v[b+4>>2]=m;b=v[k+100>>2];v[k+56>>2]=v[k+96>>2];v[k+60>>2]=b;b=v[k+92>>2];v[k+48>>2]=v[k+88>>2];v[k+52>>2]=b;m=bv(a,k+48|0,c,d,e,f,g,h,i,j,k+87|0);d:{if(m){break d}m=0;if(w[k+87|0]|!l){break d}n=v[l+24>>2];if(!n){break d}b=1;e:{if(v[k+108>>2]<1){break e}Ea[n|0](v[l+40>>2],v[a>>2],l,v[v[k+92>>2]>>2]);if(v[k+108>>2]<=1){break e}while(1){Ea[v[l+24>>2]](v[l+40>>2],v[a>>2],l,v[v[k+92>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)<v[k+108>>2]){continue}break}}v[k+40>>2]=v[k+120>>2];b=v[k+116>>2];v[k+32>>2]=v[k+112>>2];v[k+36>>2]=b;b=v[k+108>>2];v[k+24>>2]=v[k+104>>2];v[k+28>>2]=b;b=v[k+100>>2];v[k+16>>2]=v[k+96>>2];v[k+20>>2]=b;b=v[k+92>>2];v[k+8>>2]=v[k+88>>2];v[k+12>>2]=b;m=bv(a,k+8|0,c,d,e,f,g,h,i,j,k+87|0)}a=v[k+92>>2];if((a|0)==(k+124|0)){break a}b=1;if(v[k+108>>2]>=1){Pa(v[a>>2]);if(v[k+108>>2]>1){while(1){Pa(v[v[k+92>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)<v[k+108>>2]){continue}break}}a=v[k+92>>2]}Pa(a)}Ca=k+128|0;return m}function hr(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;f=Ca-16|0;Ca=f;d=v[a+104>>2];e=v[d+28>>2];k=v[a+736>>2];t[k+(b?44:32)|0]=1;c=Ea[v[a+516>>2]](a,b?1448493394:1213612370,d,f+8|0)|0;v[f+12>>2]=c;a:{if(c){break a}g=v[d+8>>2];j=kb(d,f+12|0);c=v[f+12>>2];if(c){break a}c=Ub(d,2);v[f+12>>2]=c;if(c){break a}if((j|0)!=1){c=8;v[f+12>>2]=8;break a}j=Ob(d,f+12|0);c=v[f+12>>2];if(c){break a}h=Ob(d,f+12|0);c=v[f+12>>2];if(c){break a}d=wb(e,32,f+12|0);b:{if(b){v[k+52>>2]=d;break b}v[k+40>>2]=d}c=v[f+12>>2];if(c){break a}c=jr(v[a+104>>2],v[a+736>>2],g+j|0,d);v[f+12>>2]=c;if(c){break a}if(h){e=Ca-16|0;Ca=e;j=v[a+104>>2];i=v[j+28>>2];c=Ya(j,g+h|0);v[e+12>>2]=c;c:{if(c){break c}g=kb(j,e+12|0);c=v[e+12>>2];if(c){break c}h=kb(j,e+12|0);v[d+20>>2]=h;c=v[e+12>>2];if(c){break c}c=8;if(g&65472){break c}p=d,q=Ua(i,4,0,h,0,e+12|0),v[p+28>>2]=q;c=v[e+12>>2];if(c){break c}p=d,q=Ua(i,4,0,v[d+20>>2],0,e+12|0),v[p+24>>2]=q;c=v[e+12>>2];if(c){break c}h=0;if(!v[d+20>>2]){c=0;break c}c=g&15;m=c+1|0;n=g>>>4&3;o=(2<<c)-1|0;while(1){i=0;g=0;while(1){l=cc(j,e+12|0);c=v[e+12>>2];if(c){break c}g=l&255|g<<8;c=(i|0)!=(n|0);i=i+1|0;if(c){continue}break}c=8;i=g>>>m|0;if(i>>>0>=y[d>>2]){break c}l=h<<2;v[l+v[d+24>>2]>>2]=i;g=g&o;if(g>>>0>=y[v[d+4>>2]+(i<<4)>>2]){break c}v[l+v[d+28>>2]>>2]=g;h=h+1|0;if(h>>>0<y[d+20>>2]){continue}break}c=v[e+12>>2]}Ca=e+16|0;if(c){break a}}d:{if(b){t[k+45|0]=1;v[a+740>>2]=v[a+740>>2]|16;break d}t[k+33|0]=1;v[a+740>>2]=v[a+740>>2]|2}c=0}Ca=f+16|0;return c}function Rv(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Ca-16|0;Ca=j;v[j+12>>2]=0;g=v[a+12>>2];a:{b:{c:{d:{if((g|0)<=11){if(v[a+20>>2]){break d}v[a+16>>2]=12;v[a+20>>2]=a+820;break d}k=v[a+16>>2];if((k|0)>(g|0)){e=v[a+20>>2];i=e+B(g,44)|0;break c}g=64;if((k|0)>48806445){break a}g=((k>>2)+k|0)+4|0;l=(k|0)<-16?48806446:(g|0)>48806446?48806446:g;h=v[a+20>>2];e:{if((h|0)==(a+820|0)){e=Ua(e,44,0,l,0,j+12|0);v[a+20>>2]=e;g=v[j+12>>2];if(g){break a}Ta(e,h,528);break e}m=a,n=Ua(e,44,k,l,h,j+12|0),v[m+20>>2]=n;g=v[j+12>>2];if(g){break a}}v[a+16>>2]=l;g=v[a+12>>2]}e=v[a+20>>2];i=e+B(g,44)|0;if((g|0)<1){break b}}if(!d){g=i;while(1){i=g-44|0;d=u[i>>1];if((d|0)<(b|0)){i=g;break b}if(!((b|0)!=(d|0)|v[a+24>>2]!=(c|0))){i=g;break b}d=i;h=v[d+4>>2];v[g>>2]=v[d>>2];v[g+4>>2]=h;v[g+40>>2]=v[d+40>>2];h=v[d+36>>2];v[g+32>>2]=v[d+32>>2];v[g+36>>2]=h;h=v[d+28>>2];v[g+24>>2]=v[d+24>>2];v[g+28>>2]=h;h=v[d+20>>2];v[g+16>>2]=v[d+16>>2];v[g+20>>2]=h;h=v[d+12>>2];v[g+8>>2]=v[d+8>>2];v[g+12>>2]=h;g=d;if(g>>>0>e>>>0){continue}break}break b}g=i;while(1){i=g-44|0;d=u[i>>1];if((d|0)>(b|0)){i=g;break b}if(!((b|0)!=(d|0)|v[a+24>>2]!=(c|0))){i=g;break b}d=i;h=v[d+4>>2];v[g>>2]=v[d>>2];v[g+4>>2]=h;v[g+40>>2]=v[d+40>>2];h=v[d+36>>2];v[g+32>>2]=v[d+32>>2];v[g+36>>2]=h;h=v[d+28>>2];v[g+24>>2]=v[d+24>>2];v[g+28>>2]=h;h=v[d+20>>2];v[g+16>>2]=v[d+16>>2];v[g+20>>2]=h;h=v[d+12>>2];v[g+8>>2]=v[d+8>>2];v[g+12>>2]=h;g=d;if(g>>>0>e>>>0){continue}break}}v[a+12>>2]=v[a+12>>2]+1;g=0}v[f>>2]=i;Ca=j+16|0;return g}function Lf(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(b>>>0>64){return 0}l=v[a+100>>2];k=v[l+72>>2];v[a+40>>2]=b-1;v[a+4>>2]=k;i=v[v[a+8>>2]+100>>2];v[a+44>>2]=v[i+76>>2];j=(k|0)==v[i+72>>2]?w[(v[i+88>>2]+B(k,20)|0)+15|0]:j;v[a+36>>2]=c;v[a+32>>2]=e;v[a+28>>2]=d;t[a+24|0]=j;c=v[l+88>>2]+B(k,20)|0;i=w[c+14|0];d=i&16;a:{b:{c:{if(w[c+12|0]&4){if(!d){e=i>>>5|0;break c}e=i>>>5|0;d=i&15;break a}e=i>>>5|0;if(!d){break c}p=0;break b}p=i&15}d=1}m=a+4|0;v[g>>2]=k;n=1;d:{e:{if(b>>>0<=1){o=v[m>>2];break e}if(!(!e|!p)){c=0;while(1){if(!Rc(m)){break d}v[(n<<2)+g>>2]=v[m>>2];q=v[l+88>>2];o=v[m>>2];i=w[(q+B(o,20)|0)+14|0];f:{if(((i&16?0:i&15)|0)==(p|0)?(i>>>5|0)==(e|0):0){break f}g:{switch(c|0){case 0:break g;case 1:break d;default:break f}}j=v[l+80>>2];c=v[l+92>>2];while(1){if(!j){break d}j=j-1|0;k=c+B(j,20)|0;i=w[k+14|0];if((i>>>5|0)!=(e|0)){break d}if(!(i&15?i&16:1)){continue}break}c=2;i=v[a+12>>2];j=x[k+12>>1];if(i&j&14){break f}if(!(j&8)){break d}if(Of(v[a+8>>2],v[k>>2],j,i)){break d}o=v[m>>2];q=v[l+88>>2]}j=B(o,20)+q|0;i=d+1|0;h:{if(!(w[j+12|0]&4)){break h}j=w[j+14|0];i=d+1|0;if(!(j&16)){break h}i=(j&15)+d|0}d=i;n=n+1|0;if((n|0)!=(b|0)){continue}break}break e}while(1){if(!Rc(m)){break d}v[(n<<2)+g>>2]=v[m>>2];o=v[m>>2];c=v[l+88>>2]+B(o,20)|0;a=w[c+14|0];i=a&15;p=a&16;a=a>>>5|0;if(!(!i|(p|!a))){if((a|0)!=(e|0)){break d}}d=(w[c+12|0]&4?p?i:1:1)+d|0;n=n+1|0;if((n|0)!=(b|0)){continue}break}}r=1;v[f>>2]=(o-v[l+72>>2]|0)+1;if(!h){break d}v[h>>2]=d}return r}function Kc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return}a:{if(!b|v[b+16>>2]>131083){break a}e=v[a+16>>2];if(e){d=v[b+8>>2];b:{while(1){f=v[((c<<2)+a|0)+20>>2];g=v[f>>2];if(Wa(v[g+8>>2],d)){c=c+1|0;if((c|0)!=(e|0)){continue}break b}break}if(v[b+12>>2]<=v[g+12>>2]){break a}Nr(a,f);e=v[a+16>>2]}if(e>>>0>31){break a}}e=0;g=v[a>>2];d=v[b+4>>2];c:{if((d|0)<=0){if(!d){break c}break a}e=Ea[v[g+4>>2]](g,d)|0;if(!e){return}Ra(e,0,d)}v[e+8>>2]=g;v[e+4>>2]=a;v[e>>2]=b;d:{d=b;c=v[d>>2];if(c&2){d=64;f=v[e+4>>2];h=v[f>>2];c=Ea[v[h+4>>2]](h,12)|0;e:{if(!c){break e}t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;i=v[e>>2];v[e+12>>2]=i;v[e+16>>2]=v[i+36>>2];f:{g:{d=v[v[i+56>>2]+4>>2];if(d){d=Ea[d|0](h,e+52|0)|0;if(d){break g}v[e+56>>2]=v[v[i+56>>2]+16>>2];v[e+60>>2]=v[i+40>>2]}v[c+8>>2]=e;d=v[f+152>>2];v[c>>2]=d;v[c+4>>2]=0;v[(d?d+4|0:f+148|0)>>2]=c;v[f+152>>2]=c;d=v[f+148>>2];if(!d){break f}h:{while(1){c=v[d+8>>2];if(v[c+16>>2]==1869968492){break h}d=v[d+4>>2];if(d){continue}break}c=0}v[f+156>>2]=c;d=0;break e}Ea[v[h+8>>2]](h,c);break e}v[f+156>>2]=0;d=0}if(d){break d}d=v[e>>2];c=v[d>>2]}if(c&4){v[a+160>>2]=e}if(c&1){v[e+12>>2]=d}b=v[b+24>>2];if(b){if(Ea[b|0](e)|0){break d}}b=v[a+16>>2];v[a+16>>2]=b+1;v[((b<<2)+a|0)+20>>2]=e;return}i:{if(!(w[v[e>>2]]&2)){break i}a=v[e+12>>2];if(!a|v[a+36>>2]!=1869968492){break i}b=v[e+52>>2];if(!b){break i}Ea[v[v[a+56>>2]+20>>2]](b)}Ea[v[g+8>>2]](g,e)}}function Yg(a,b,c,d){var e=0,f=0,g=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;e=a- -64|0;v[e>>2]=0;v[e+4>>2]=0;v[a>>2]=0;v[a+4>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+92>>2]=c;v[a+40>>2]=0;v[a+44>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;v[a+80>>2]=0;v[a+84>>2]=0;v[a+88>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;v[a+32>>2]=0;v[a+28>>2]=0;t[a+24|0]=0;v[a+20>>2]=-1;t[a+68|0]=0;v[e>>2]=-1;f=v[c+16>>2];v[a+104>>2]=0;v[a+100>>2]=d;v[a+96>>2]=f;c=v[f+132>>2];a:{if(c){break a}c=0;while(1){g=v[f+48>>2];if(!g){c=280448;break a}e=eb(1,4);b:{if(!e){if(c){break b}c=280448;v[f+132>>2]=280448;break a}Rp(e,g);if(!v[f+132>>2]){c=e;v[f+132>>2]=e;break a}c=v[e>>2];Sa(c?c:280448);Pa(e);c=v[f+132>>2]}if(!c){continue}break}}c=v[c>>2];c=c?c:280448;e=y[c+16>>2]<12?280448:v[c+12>>2];v[a+108>>2]=e;c=a;f=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);if((f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))>>>0>=65539){f=w[e+14|0]|w[e+15|0]<<8|(w[e+16|0]<<16|w[e+17|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=f?f+e|0:280448}else{f=280448}v[c+112>>2]=f;c=v[d+48>>2];v[a+136>>2]=6;v[a+128>>2]=-1;v[a+132>>2]=0;v[a+124>>2]=b;v[a+120>>2]=1;v[a+116>>2]=c;c=w[e+5|0];d=w[e+4|0];v[a+144>>2]=1;t[a+143|0]=0;t[a+141|0]=1;t[a+142|0]=1;v[a+36>>2]=0;v[a+8>>2]=a;v[a+28>>2]=0;v[a+32>>2]=0;v[a+80>>2]=0;v[a+52>>2]=a;v[a+20>>2]=1;t[a+17|0]=1;t[a+16|0]=(b|0)==1;v[a+12>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;v[a+64>>2]=-1;u[a+60>>1]=257;v[a+56>>2]=0;t[a+140|0]=(c|d<<8)!=0;return a}function Ln(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{switch(c-1|0){case 0:c:{d:{e:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break c}}c=w[a+3|0]|w[a+2|0]<<8;d=c?c+a|0:280448;c=v[b+100>>2];d=xb(d,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);if((d|0)!=-1){hf(a+4|0,b,a,a+6|0,v[c+96>>2]+B(v[c+72>>2],20)|0);v[c+72>>2]=v[c+72>>2]+1}d=(d|0)!=-1;break c}c=w[a+3|0]|w[a+2|0]<<8;e=c?c+a|0:280448;c=v[b+100>>2];f=xb(e,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);if((f|0)==-1|(w[a+7|0]|w[a+6|0]<<8)>>>0<=f>>>0){break c}d=1;g=a+4|0;e=a;a=B(iQ(w[a+5|0]|w[a+4|0]<<8),f);hf(g,b,e,(a|0)<0?280448:(e+(a<<1)|0)+8|0,v[c+96>>2]+B(v[c+72>>2],20)|0);v[c+72>>2]=v[c+72>>2]+1}return d;case 1:f:{g:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break a}}return Wn(a,b)}return Vn(a,b);case 2:if((w[a+1|0]|w[a|0]<<8)!=1){break a}return Un(a,b);case 3:if((w[a+1|0]|w[a|0]<<8)!=1){break a}return Sn(a,b);case 4:if((w[a+1|0]|w[a|0]<<8)!=1){break a}return Rn(a,b);case 5:if((w[a+1|0]|w[a|0]<<8)!=1){break a}return Qn(a,b);case 6:h:{i:{j:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break h;case 1:break i;case 0:break j;default:break a}}return On(b,a)}return Rj(a,b)}return Nn(b,a);case 7:return Mn(a,b);case 8:break b;default:break a}}if((w[a+1|0]|w[a|0]<<8)==1){c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=Ln(c?c+a|0:280448,b,w[a+3|0]|w[a+2|0]<<8)}else{d=0}}return d}function ux(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=v[c>>2];d=v[a>>2];a:{if(e>>>0>d>>>0){break a}f=v[c+4>>2];if(d>>>0>=f+e>>>0){break a}e=d+1|0;v[a>>2]=e;h=w[d|0];if(h&128){g=v[c>>2];if(g>>>0>e>>>0|e>>>0>=f+g>>>0){break a}v[a>>2]=d+2;h=w[d+1|0]|h<<8&32512}d=v[b>>2];b:{if((d|0)<0){break b}if(d>>>0<h>>>0){f=d;while(1){f=((f>>>1|0)+f|0)+8|0;if(h>>>0>=f>>>0){continue}break}c:{if(!(d>>>0>f>>>0|f>>>0>1073741822)){d=gb(v[b+8>>2],f<<2);if(d){break c}}v[b>>2]=-1;break b}v[b>>2]=f;v[b+8>>2]=d}d=v[b+4>>2];if(d>>>0<h>>>0){Ra(v[b+8>>2]+(d<<2)|0,0,h-d<<2)}v[b+4>>2]=h}l=v[70112];f=0;while(1){i=f&65535;if(i>>>0>=h>>>0){return 1}e=v[c>>2];d=v[a>>2];if(e>>>0>d>>>0|d>>>0>=e+v[c+4>>2]>>>0){break a}g=d+1|0;v[a>>2]=g;d=t[d|0];k=d&127;d:{if((d|0)<0){d=0;while(1){e=v[c>>2];if(e>>>0>g>>>0){break a}e=e+v[c+4>>2]|0;if(e>>>0<g>>>0|e-g>>>0<2){break a}j=(w[g+1|0]|w[g|0]<<8)+j|0;e:{if(y[b+4>>2]<=i>>>0){v[163916]=l;g=v[a>>2];e=655664;break e}e=v[b+8>>2]+(i<<2)|0}v[e>>2]=j;g=g+2|0;v[a>>2]=g;e=d+1|0;f=f+1|0;if((d&65535)>>>0>=k>>>0){break d}d=e;i=f&65535;if(i>>>0<h>>>0){continue}break}break d}d=0;e=v[c>>2];f:{if(g>>>0<e>>>0){break f}while(1){if(v[c+4>>2]+e>>>0<=g>>>0){break f}v[a>>2]=g+1;j=w[g|0]+j|0;g:{if(y[b+4>>2]<=i>>>0){v[163916]=l;e=655664;break g}e=v[b+8>>2]+(i<<2)|0}v[e>>2]=j;e=d+1|0;f=f+1|0;if((d&65535)>>>0>=k>>>0){break d}i=f&65535;if(i>>>0>=h>>>0){break d}d=e;e=v[c>>2];g=v[a>>2];if(e>>>0<=g>>>0){continue}break}}break a}if((e&65535)>>>0>k>>>0){continue}break}}return 0}function Kh(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;f=B(d,1348)+a|0;k=v[f+44>>2];g=b?v[(B(b,12)+c|0)-12>>2]:0;e=v[v[a+2748>>2]+40>>2];b=(e|0)/256|0;l=(B(e,6e3)|0)/2048|0;a:{if((k|0)<1){break a}c=v[f+52>>2];h=c+B(k,44)|0;m=e+255>>>0<511?1:b;i=v[(B(d,1348)+a|0)+68>>2];b:{if(!g){b=c;while(1){if((i|0)==t[b+1|0]){e=u[b+2>>1];a=c;while(1){c:{if((i|0)!=(0-t[a+1|0]|0)){break c}f=u[a+2>>1];if((f|0)<=(e|0)){break c}g=u[a+8>>1];d=u[b+8>>1];j=(d|0)>(g|0)?g:d;g=u[a+6>>1];d=u[b+6>>1];d=j-((d|0)<(g|0)?g:d)|0;if((d|0)<(m|0)){break c}d=(f-e|0)+((l|0)/(d|0)|0)|0;if((d|0)<v[b+28>>2]){v[b+20>>2]=a;v[b+28>>2]=d}if((d|0)>=v[a+28>>2]){break c}v[a+20>>2]=b;v[a+28>>2]=d}a=a+44|0;if(h>>>0>a>>>0){continue}break}}b=b+44|0;if(h>>>0>b>>>0){continue}break}break b}b=c;while(1){if((i|0)==t[b+1|0]){j=u[b+2>>1];a=c;while(1){d:{if((i|0)!=(0-t[a+1|0]|0)){break d}e=u[a+2>>1];if((e|0)<=(j|0)){break d}f=u[a+8>>1];d=u[b+8>>1];n=(d|0)>(f|0)?f:d;f=u[a+6>>1];d=u[b+6>>1];f=n-((d|0)<(f|0)?f:d)|0;if((f|0)<(m|0)){break d}d=(e-j<<10)/(g|0)|0;e=32e3;e:{if((d|0)>11024){break e}e=0;if((d|0)<1025){break e}d=d-1024|0;e=(B(d,d)>>>0)/3e3|0}d=e+((l|0)/(f|0)|0)|0;if((d|0)<v[b+28>>2]){v[b+20>>2]=a;v[b+28>>2]=d}if((d|0)>=v[a+28>>2]){break d}v[a+20>>2]=b;v[a+28>>2]=d}a=a+44|0;if(h>>>0>a>>>0){continue}break}}b=b+44|0;if(h>>>0>b>>>0){continue}break}}if((k|0)<1){break a}while(1){a=v[c+20>>2];if(!(!a|v[a+20>>2]==(c|0))){v[c+20>>2]=0;v[c+24>>2]=v[a+20>>2]}c=c+44|0;if(h>>>0>c>>>0){continue}break}}}function mE(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;g=Ca-80|0;Ca=g;i=v[a+532>>2];a:{if(!i){a=6;break a}f=v[a+100>>2];h=v[i+4>>2];v[g+24>>2]=h;if(h){a=0;while(1){c=B(a,12);e=c+(g+24|0)|0;v[e+8>>2]=v[((a<<2)+i|0)+8>>2];c=c+i|0;d=v[c+92>>2];v[e+12>>2]=v[d>>2];v[e+16>>2]=v[(d+(w[c+88|0]<<2)|0)-4>>2];a=a+1|0;if((h|0)!=(a|0)){continue}break}}c=v[i>>2];v[g+20>>2]=0;d=h<<1;e=d+3&-4;f=wb(f,(e+B(h,24)|0)+20|0,g+20|0);a=v[g+20>>2];if(a){break a}v[f+8>>2]=0;v[f+4>>2]=c;v[f>>2]=h;c=f+20|0;b:{if(!h){v[f+16>>2]=0;v[f+12>>2]=c+e;m=f+12|0;break b}a=0;c=Ra(c,0,d);v[f+16>>2]=0;j=c+e|0;v[f+12>>2]=j;m=f+12|0;while(1){e=j+B(a,24)|0;d=(g+24|0)+B(a,12)|0;c=v[d+8>>2];v[e>>2]=c;v[e+4>>2]=v[d+12>>2]<<16;d=v[d+16>>2];v[e+16>>2]=-1;v[e+20>>2]=-1;v[e+12>>2]=d<<16;c:{if(!c){break c}d=2003265652;d:{if(!Wa(c,7320)){break d}d=2003072104;if(!Wa(c,7327)){break d}if(Wa(c,7333)){break c}d=1869640570}v[e+16>>2]=d}a=a+1|0;if((h|0)!=(a|0)){continue}break}}sk(v[i+140>>2],g,v[i+4>>2]);if(h){e=0;while(1){j=v[(e<<2)+g>>2];c=B(e,12)+i|0;d=v[c+96>>2];e:{if((j|0)>v[d>>2]){a=1;k=w[c+88|0];if(k>>>0>1){while(1){l=a<<2;n=v[d+l>>2];if((j|0)<=(n|0)){c=v[c+92>>2];k=l-4|0;a=v[c+k>>2];c=v[c+l>>2];d=v[d+k>>2];a=B(ab(j-d|0,n-d|0),c-a|0)+(a<<16)|0;break e}a=a+1|0;if((k|0)!=(a|0)){continue}break}}a=v[(v[c+92>>2]+(k<<2)|0)-4>>2]<<16;break e}a=v[v[c+92>>2]>>2]<<16}v[(v[m>>2]+B(e,24)|0)+8>>2]=a;e=e+1|0;if((h|0)!=(e|0)){continue}break}}v[b>>2]=f;a=v[g+20>>2]}Ca=g+80|0;return a|0}function Wh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=v[b+4>>2];if(e>>>0>a>>>0){return 0}d=v[b+8>>2];if(d>>>0<a>>>0){return 0}if(d-a>>>0<2){return 0}f=v[b+12>>2];g=f-2|0;v[b+12>>2]=g;h=1;if((g|0)<1){return 0}g=w[a+1|0]|w[a|0]<<8;a:{if(!g){break a}i=e;e=c+g|0;b:{if(i>>>0>e>>>0|d>>>0<e>>>0){break b}c=d-e|0;if(c>>>0<2){break b}d=f-4|0;v[b+12>>2]=d;if((d|0)<1){break b}c:{d:{e:{d=w[e|0]|w[e+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 2:break d;case 0:break e;default:break a}}if(c>>>0<6){break b}c=f-10|0;v[b+12>>2]=c;if((c|0)<=0){break b}break a}f:{g:{c=v[b+4>>2];if(c>>>0>e>>>0){break g}d=v[b+8>>2];if(d>>>0<e>>>0|d-e>>>0<10){break g}f=v[b+12>>2];g=f-10|0;v[b+12>>2]=g;if((g|0)<1){break g}i=c;c=e+6|0;if(i>>>0>c>>>0|c>>>0>d>>>0|d-c>>>0<2){break g}d=f-12|0;v[b+12>>2]=d;if((d|0)<1){break g}d=w[e+7|0]|w[e+6|0]<<8;h:{if(!d){break h}if(Mf(d+e|0,b)){break h}d=v[b+24>>2];if(d>>>0>31){break g}v[b+24>>2]=d+1;if(!w[b+20|0]){break g}t[c|0]=0;t[c+1|0]=0}d=e+8|0;if(d>>>0<y[b+4>>2]){break g}c=v[b+8>>2];if(c>>>0<d>>>0|c-d>>>0<2){break g}f=v[b+12>>2]-2|0;v[b+12>>2]=f;c=1;if((f|0)<1){break g}f=w[e+9|0]|w[e+8|0]<<8;i:{if(!f){break i}if(Mf(e+f|0,b)){break i}c=v[b+24>>2];if(c>>>0>31){break g}v[b+24>>2]=c+1;c=0;if(!w[b+20|0]){break i}t[d|0]=0;t[d+1|0]=0;c=1}break f}c=0}if(!c){break b}break a}if(c>>>0<8){break b}c=f-12|0;v[b+12>>2]=c;if((c|0)>0){break a}}c=v[b+24>>2];if(c>>>0>31){return 0}v[b+24>>2]=c+1;h=0;if(!w[b+20|0]){break a}t[a|0]=0;t[a+1|0]=0;h=1}return h}function OB(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;i=Ca-16|0;Ca=i;b=v[b>>2];v[i+12>>2]=0;a:{if(!b){e=35;break a}e=6;g=v[b+132>>2];if(!g|y[b+16>>2]<=c>>>0){break a}e=x[g+4>>1];b=(e|0)==768;c=B(c?c-1|0:w[g+106|0],b?6:4)+(b?148:118)|0;b:{f=b?-4:-2;b=v[g+8>>2];if(c>>>0>=(f+b|0)-2>>>0){break b}c=c+v[g+160>>2]|0;h=w[c|0]|w[c+1|0]<<8;v[a+80>>2]=h;f=b;c=c+2|0;j=w[c|0];if((e|0)==768){b=w[c+2|0]<<16|w[c+3|0]<<24|w[c+1|0]<<8}else{b=w[c+1|0]<<8}b=j|b;if(f>>>0<=b>>>0){break b}c=x[g+96>>1];e=0;v[a+100>>2]=0;t[a+94|0]=1;v[a+76>>2]=c;f=x[g+80>>1];v[a+72>>2]=1651078259;v[a+104>>2]=f;h=h<<6;v[a+40>>2]=h;c=c<<6;v[a+28>>2]=c;v[a+24>>2]=h;v[a+32>>2]=0;v[a+36>>2]=f<<6;pg(a+24|0,c);if(d&4194304){break a}e=3;c=v[v[a+4>>2]+100>>2];d=v[g+160>>2];h=v[a+80>>2]+7|0;f=h>>>3|0;v[a+84>>2]=f;if(!f){break a}j=v[g+8>>2];g=v[a+76>>2];if(j>>>0<b+B(g,f)>>>0){break a}c=Kd(c,f,0,g,0,i+12|0);v[a+88>>2]=c;e=v[i+12>>2];if(e){break a}b=b+d|0;if(h&8){d=v[a+76>>2];if((d|0)>=1){d=b+d|0;e=c;while(1){t[e|0]=w[b|0];e=v[a+84>>2]+e|0;b=b+1|0;if(d>>>0>b>>>0){continue}break}}c=c+1|0;d=f-1|0}else{d=f}if((f|0)!=1){while(1){e=v[a+76>>2];if((e|0)>=1){f=b+e|0;e=c;while(1){t[e|0]=w[b|0];e=v[a+84>>2]+e|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}e=v[a+76>>2];if((e|0)>0){f=b+e|0;e=c+1|0;while(1){t[e|0]=w[b|0];e=v[a+84>>2]+e|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}c=c+2|0;d=d-2|0;if(d){continue}break}}e=v[i+12>>2];v[v[a+156>>2]+4>>2]=1;break a}e=3;v[i+12>>2]=3}Ca=i+16|0;return e|0}function zt(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;g=Ta(a,499812,364);a=0;while(1){e=w[a+499884|0];if(!(!e|(e|0)==28|v[(a<<2)+b>>2]==(a|0))){return 0}h=a|1;e=w[h+499884|0];if(!(!e|(e|0)==28|(h|0)==v[(h<<2)+b>>2])){return 0}a=a+2|0;if((a|0)!=128){continue}break}l=g+884|0;m=g+372|0;j=g+72|0;a=0;a:{while(1){k=a<<2;f=v[k+b>>2];b:{if((f|0)==-1){t[a+j|0]=1;u[(a<<1)+m>>1]=65535;u[l+k>>1]=1;break b}if((f|0)<=-1){e=0;if(!c|(f|0)<-4){break a}t[a+j|0]=3-f;t[l+k|0]=0;u[(a<<1)+m>>1]=0;break b}if((f|0)<=127){e=w[f+499884|0];if(!(!e|(e|0)==28|(a|0)==(f|0))){return 0}t[a+j|0]=e;e=l+k|0;t[e+1|0]=f;t[e|0]=1;u[(a<<1)+m>>1]=f?f:-1;break b}c:{i=f>>>8|0;d:{if(i-216>>>0<8){break d}if((i|0)!=255){if(i){break c}if(!w[f+499884|0]){break d}break c}if((f&-2)!=65534){break c}}t[a+j|0]=0;u[(a<<1)+m>>1]=65535;u[l+k>>1]=1;break b}if((f|0)>65535){return 0}e=1<<f;h=(f>>>5&7)<<2;e:{if(e&v[(h|w[i+502192|0]<<5)+500176>>2]){t[a+j|0]=22;break e}n=a+j|0;if(e&v[(h|w[i+502448|0]<<5)+500176>>2]){t[n|0]=26;break e}t[n|0]=28}i=l+k|0;e=i;n=e;f:{if((f|0)<=2047){t[e+1|0]=f>>>6|192;h=2;e=f;break f}t[e+1|0]=f>>>12|224;t[i+3|0]=f&63|128;h=3;e=f>>>6|0}t[n+2|0]=e&63|128;t[i|0]=h;u[(a<<1)+m>>1]=f}a=a+1|0;if((a|0)!=256){continue}break}v[g+364>>2]=c;v[g+368>>2]=d;if(c){v[g+360>>2]=862;v[g+356>>2]=862;v[g+352>>2]=862;v[g+348>>2]=863;v[g+344>>2]=863;v[g+340>>2]=863;v[g+336>>2]=864;v[g+332>>2]=864;v[g+328>>2]=864}v[g+60>>2]=865;v[g+56>>2]=866;e=g}return e|0}function ro(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=v[b+4>>2];if(g>>>0>a>>>0){return 0}d=v[b+8>>2];if(d>>>0<a>>>0){return 0}if(d-a>>>0<2){return 0}h=v[b+12>>2];f=h-2|0;v[b+12>>2]=f;e=1;if((f|0)<1){return 0}f=w[a+1|0]|w[a|0]<<8;a:{if(!f){break a}b:{c:{f=c+f|0;if(f>>>0<g>>>0|d>>>0<f>>>0|d-f>>>0<2){break c}c=h-4|0;v[b+12>>2]=c;if((c|0)<1){break c}h=w[f+1|0]|w[f|0]<<8;if(!h){break a}e=f+2|0;if(e>>>0<g>>>0|d>>>0<e>>>0){break c}e=d-e|0;d=h<<1;if(e>>>0<d>>>0){break c}c=c-d|0;v[b+12>>2]=c;e=1;if((c|0)<1){break c}l=w[f+1|0]|w[f|0]<<8;if(!l){break a}h=0;while(1){k=v[b+4>>2];g=(f+(h<<1)|0)+2|0;c=0;d:{if(k>>>0>g>>>0){break d}e=v[b+8>>2];c=0;if(e>>>0<g>>>0){break d}c=0;if(e-g>>>0<2){break d}j=v[b+12>>2];i=j-2|0;v[b+12>>2]=i;d=1;c=0;if((i|0)<1){break d}c=w[g+1|0]|w[g|0]<<8;e:{if(!c){break e}c=c+f|0;f:{if(c>>>0<k>>>0|c>>>0>e>>>0|e-c>>>0<2){break f}d=j-4|0;v[b+12>>2]=d;if((d|0)<1){break f}d=c+2|0;if(d>>>0<k>>>0|d>>>0>e>>>0|e-d>>>0<2){break f}j=j-6|0;v[b+12>>2]=j;d=1;if((j|0)<1){break f}i=w[c+1|0]|w[c|0]<<8;i=(w[c+3|0]<<2|w[c+2|0]<<10)+(i?(i<<1)-2|0:0)|0;if(!i){break e}c=c+4|0;if(c>>>0<k>>>0|c>>>0>e>>>0|i>>>0>e-c>>>0){break f}c=j-i|0;v[b+12>>2]=c;if((c|0)>0){break e}}d=v[b+24>>2];c=0;if(d>>>0>31){break d}v[b+24>>2]=d+1;d=0;if(!w[b+20|0]){break e}t[g|0]=0;t[g+1|0]=0;d=1}c=d}if(!c){break c}h=h+1|0;if((l|0)!=(h|0)){continue}break}break b}c=v[b+24>>2];if(c>>>0>31){return 0}v[b+24>>2]=c+1;e=0;if(!w[b+20|0]){break a}t[a|0]=0;t[a+1|0]=0}e=1}return e}
|
||
function kp(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{if((b|0)!=1196445523){g=280448;if((b|0)!=1196643650){break a}a=v[Ic(a+136|0)>>2];a=a?a:280448;g=y[a+16>>2]<10?280448:v[a+12>>2];break a}a=v[ad(a+140|0)>>2];a=a?a:280448;g=y[a+16>>2]<10?280448:v[a+12>>2]}a=w[g+5|0]|w[g+4|0]<<8;a=a?g+a|0:280448;b=(w[a+1|0]|w[a|0]<<8)>>>0>c>>>0?(a+B(c,6)|0)+2|0:280448;b=w[b+4|0]<<8|w[b+5|0];i=b?a+b|0:280448;b:{c:{if(!d){break c}if(f){while(1){a=w[i+3|0]|w[i+2|0]<<8;if(a){h=v[(j<<2)+e>>2];b=a-1|0;a=0;while(1){c=a+b>>>1|0;g=B(c,6)+i|0;g=w[g+4|0]|w[g+5|0]<<8|(w[g+6|0]<<16|w[g+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);d:{if(g>>>0>h>>>0){b=c-1|0;break d}if((g|0)==(h|0)){break b}a=c+1|0}if((a|0)<=(b|0)){continue}break}}v[f>>2]=65535;j=j+1|0;if((j|0)!=(d|0)){continue}break}break c}a=w[i+3|0]|w[i+2|0]<<8;if(!a){break c}g=a-1|0;while(1){k=v[(j<<2)+e>>2];a=0;b=g;while(1){c=a+b>>>1|0;h=B(c,6)+i|0;h=w[h+4|0]|w[h+5|0]<<8|(w[h+6|0]<<16|w[h+7|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);e:{if(h>>>0<=k>>>0){if((h|0)==(k|0)){break b}a=c+1|0;break e}b=c-1|0}if((a|0)<=(b|0)){continue}break}j=j+1|0;if((j|0)!=(d|0)){continue}break}}a=w[i+3|0]|w[i+2|0]<<8;if(a){b=a-1|0;a=0;while(1){c=a+b>>>1|0;d=B(c,6)+i|0;d=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);f:{if(d>>>0>=1684434037){b=c-1|0;break f}if((d|0)==1684434036){break b}a=c+1|0}if((a|0)<=(b|0)){continue}break}}if(!f){return}v[f>>2]=65535;return}if(f){v[f>>2]=c}}function Ph(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=1;a:{if(!w[a+12|0]){break a}i=0;if((c|0)==-1|(b|0)==-1|b>>>0>c>>>0){break a}v[a+16>>2]=-1;h=ec(a,b);j=c>>>9|0;k=b>>>9|0;b:{if((j|0)==(k|0)){if(!h){break a}g=-1;e=-1;d=b&63;a=d&31;if((d&63)>>>0>=32){d=-1<<a;a=0}else{d=(1<<a)-1&-1>>>32-a|-1<<a;a=-1<<a}f=b>>>6&7;b=h+(f<<3)|0;i=f;f=c>>>6&7;c:{if((i|0)==(f|0)){g=a;e=d;break c}d=d|v[b+4>>2];v[b>>2]=a|v[b>>2];v[b+4>>2]=d;a=b+8|0;b=h+(f<<3)|0;Ra(a,255,b-a|0)}f=g;a=c&63;c=a&31;if((a&63)>>>0>=32){a=2<<c;g=0}else{a=(1<<c)-1&2>>>32-c;g=2<<c}c=f+g|0;a=a+e|0;a=c>>>0<g>>>0?a+1|0:a;break b}if(!h){break a}g=-1;e=-1;d=b&63;f=d&31;if((d&63)>>>0>=32){d=-1<<f;f=0}else{d=(1<<f)-1&-1>>>32-f|-1<<f;f=-1<<f}l=b>>>6&7;b=h+(l<<3)|0;d:{if((l|0)==7){g=f;e=d;break d}d=d|v[b+4>>2];v[b>>2]=f|v[b>>2];v[b+4>>2]=d;d=b+8|0;b=h+56|0;Ra(d,255,b-d|0)}e=e|v[b+4>>2];v[b>>2]=g|v[b>>2];v[b+4>>2]=e;e=k+1|0;if(j>>>0>e>>>0){while(1){b=ec(a,e<<9);if(!b){break a}v[b>>2]=-1;v[b+4>>2]=-1;v[b+56>>2]=-1;v[b+60>>2]=-1;v[b+48>>2]=-1;v[b+52>>2]=-1;v[b+40>>2]=-1;v[b+44>>2]=-1;v[b+32>>2]=-1;v[b+36>>2]=-1;v[b+24>>2]=-1;v[b+28>>2]=-1;v[b+16>>2]=-1;v[b+20>>2]=-1;v[b+8>>2]=-1;v[b+12>>2]=-1;e=e+1|0;if((j|0)!=(e|0)){continue}break}}b=ec(a,c);if(!b){break a}a=c>>>6&7;if(a){v[b>>2]=-1;v[b+4>>2]=-1;a=a<<3;Ra(b+8|0,255,a-8|0);b=a+b|0}a=c&63;c=a&31;if((a&63)>>>0>=32){a=2<<c;e=0}else{a=(1<<c)-1&2>>>32-c;e=2<<c}c=e-1|0;a=a-(e>>>0<1)|0}a=a|v[b+4>>2];v[b>>2]=c|v[b>>2];v[b+4>>2]=a;i=1}return i}function gi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Ca-16|0;Ca=i;f=6;a:{if(!a){break a}j=v[a+12>>2];if(j>>>0<=b>>>0){break a}l=v[a>>2];b:{c:{d:{e:{f:{g=v[a+28>>2];if(!g){f=Ya(l,(v[a+8>>2]+v[a+4>>2]|0)+B(w[a+16|0],b)|0);if(f){break a}f=Vb(v[a>>2],i+8|0,w[a+16|0]);if(f){break a}g:{f=w[a+16|0];if(f){g=f&3;if(f-1>>>0<3){h=0}else{k=f&252;while(1){h=e;e=h+4|0;k=k-4|0;if(k){continue}break}h=w[(i+8|0)+(h|3)|0]|(w[(i+8|0)+(h|2)|0]|(w[h+(i+8|0)|0]<<16|w[(i+8|0)+(h|1)|0]<<8))<<8}if(g){while(1){h=w[(i+8|0)+e|0]|h<<8;e=e+1|0;g=g-1|0;if(g){continue}break}}if(h){break g}}h=0;f=0;break e}while(1){f=Vb(v[a>>2],i+12|0,f&255);h:{if(f){break h}j=w[a+16|0];if(!j){break h}k=j&3;g=0;e=0;if(j-1>>>0>=3){e=j&252;while(1){j=g;g=g+4|0;e=e-4|0;if(e){continue}break}e=w[(i+12|0)+(j|3)|0]|(w[(i+12|0)+(j|2)|0]|(w[j+(i+12|0)|0]<<16|w[(i+12|0)+(j|1)|0]<<8))<<8}if(k){while(1){e=w[(i+12|0)+g|0]|e<<8;g=g+1|0;k=k-1|0;if(k){continue}break}}if(e){break f}}b=b+1|0;if(b>>>0>=y[a+12>>2]){break e}f=w[a+16|0];continue}}f=0;h=v[g+(b<<2)>>2];if(!h){break e}while(1){b=b+1|0;e=v[g+(b<<2)>>2];if(e){break f}if((b|0)!=(j|0)){continue}break}break e}f=0;b=v[l+4>>2];g=b+1|0;if(g>>>0>=e>>>0){break d}k=v[a+20>>2];break c}b=v[l+4>>2];e=0}k=v[a+20>>2];g=b+1|0;if(k>>>0<=g-e>>>0){break b}}e=g-k|0}if(!(!h|e>>>0<=h>>>0)){b=e-h|0;v[d>>2]=b;d=v[a+32>>2];if(d){v[c>>2]=(d+h|0)-1;break a}f=Ya(l,(v[a+20>>2]+h|0)-1|0);if(f){break a}f=Jc(l,b,c);break a}v[c>>2]=0;v[d>>2]=0}Ca=i+16|0;return f}function yu(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;f=Ca+-64|0;Ca=f;h=v[c+8>>2];k=v[c+4>>2];v[f+32>>2]=k;v[f+36>>2]=h;j=k;i=v[b>>2];i=(i|0)>(j|0)?j:i;v[b>>2]=i;g=v[b+8>>2];j=(g|0)>(j|0)?g:j;v[b+8>>2]=j;k=h;h=v[b+4>>2];h=(h|0)>(k|0)?k:h;v[b+4>>2]=h;g=v[b+12>>2];g=(g|0)>(k|0)?g:k;v[b+12>>2]=g;o=v[c+12>>2];c=o;l=v[c+8>>2];c=v[c+4>>2];v[f+40>>2]=c;v[f+44>>2]=l;k=c;m=(c|0)<(j|0)?j:c;v[b+8>>2]=m;n=(c|0)<(i|0)?c:i;v[b>>2]=n;i=l;l=(g|0)>(i|0)?g:i;v[b+12>>2]=l;h=(h|0)>(i|0)?i:h;v[b+4>>2]=h;p=v[o+12>>2];c=p;g=v[c+8>>2];c=v[c+4>>2];v[f+48>>2]=c;v[f+52>>2]=g;j=c;m=(c|0)<(m|0)?m:c;v[b+8>>2]=m;n=(c|0)<(n|0)?c:n;v[b>>2]=n;l=(g|0)<(l|0)?l:g;v[b+12>>2]=l;o=(g|0)<(h|0)?g:h;v[b+4>>2]=o;c=v[p+12>>2];p=v[c+8>>2];c=v[c+4>>2];v[f+56>>2]=c;v[f+60>>2]=p;h=c;v[b+8>>2]=(c|0)<(m|0)?m:c;v[b>>2]=(c|0)<(n|0)?c:n;c=p;v[b+12>>2]=(c|0)<(l|0)?l:c;v[b+4>>2]=(c|0)<(o|0)?c:o;if(d){b=(g-i|0)/3|0;v[f+52>>2]=g-b;v[f+60>>2]=(((c-g|0)/3|0)-b>>1)+g;c=(j-k|0)/3|0;v[f+48>>2]=j-c;v[f+44>>2]=b+i;v[f+40>>2]=c+k;v[f+56>>2]=(((h-j|0)/3|0)-c>>1)+j;v[f+36>>2]=(b+((i-v[f+36>>2]|0)/-3|0)>>1)+i;v[f+32>>2]=(c+((k-v[f+32>>2]|0)/-3|0)>>1)+k}a:{if(!e){b=v[f+36>>2];v[f+24>>2]=v[f+32>>2];v[f+28>>2]=b;b=0;if(!Gb(a,f+24|0,0)){break a}}b=f+32|8;c=v[b+4>>2];v[f+16>>2]=v[b>>2];v[f+20>>2]=c;b=0;if(!Gb(a,f+16|0,0)){break a}b=v[f+52>>2];v[f+8>>2]=v[f+48>>2];v[f+12>>2]=b;b=0;if(!Gb(a,f+8|0,0)){break a}b=v[f+60>>2];v[f>>2]=v[f+56>>2];v[f+4>>2]=b;b=Gb(a,f,3)}Ca=f- -64|0;return b}function Ti(a,b,c,d){var e=0,f=0,g=0,h=0;a:{g=c-b|0;if((g|0)<1){break a}e=c;b:{c:{d:{e:{f:{g:{h:{i:{h=a+72|0;switch(w[h+w[b|0]|0]-5|0){case 17:case 19:break e;case 14:break f;case 2:break g;case 1:break h;case 0:break i;default:break c}}f=-2;if((g|0)<2){break b}if(!(Ea[v[a+340>>2]](a,b)|0)){f=0;break c}b=b+2|0;break d}f=-2;if((g|0)<3){break b}if(!(Ea[v[a+344>>2]](a,b)|0)){f=0;break c}b=b+3|0;break d}f=-2;if((g|0)<4){break b}if(!(Ea[v[a+348>>2]](a,b)|0)){f=0;break c}b=b+4|0;break d}a=b+1|0;if((c-a|0)<1){break a}e=w[a|0];if((e|0)==120){e=b+2|0;if((c-e|0)<1){break a}if((w[w[e|0]+h|0]&254)!=24){b=e;break c}b=b+3|0;if((c-b|0)<1){break a}while(1){a=w[w[b|0]+h|0];if(a-24>>>0>=2){if((a|0)!=18){break c}b=e+2|0;f=10;break c}e=b;b=b+1|0;if((c-b|0)>0){continue}break}break a}if(w[e+h|0]!=25){b=a;break c}b=a;while(1){a=b;b=b+1|0;if((c-b|0)<1){break a}e=w[w[b|0]+h|0];if((e|0)==25){continue}break}if((e|0)!=18){break c}b=a+2|0;f=10;break c}b=b+1|0}e=e-b|0;if((e|0)<1){break a}f=0;j:{while(1){g=c;k:{l:{switch(w[w[b|0]+h|0]-5|0){case 0:if((e|0)<2){return-2}if(!(Ea[v[a+328>>2]](a,b)|0)){break c}b=b+2|0;break k;case 1:if((e|0)<3){return-2}if(!(Ea[v[a+332>>2]](a,b)|0)){break c}b=b+3|0;break k;case 2:if((e|0)<4){return-2}if(!(Ea[v[a+336>>2]](a,b)|0)){break c}b=b+4|0;break k;case 13:break j;case 17:case 19:case 20:case 21:case 22:break l;default:break c}}b=b+1|0}e=g-b|0;if((e|0)>0){continue}break}break a}b=b+1|0;f=9}v[d>>2]=b}return f}return-1}function xv(a){var b=0,c=0,d=0,e=0,f=0;c=a>>>0>1073741823;b=c<<31;d=b;e=b|1073741824;f=b|536870912;b=(c<<30)+a<<1;c=f>>>0>b>>>0;a=c?d:e;b=b+(c?0:1610612736)<<1;c=a|268435456;d=b>>>0<c>>>0;a=d?a:a|536870912;b=b-(d?0:c)<<1;c=a|134217728;d=b>>>0<c>>>0;a=d?a:a|268435456;b=b-(d?0:c)<<1;c=a+67108864|0;d=b>>>0<c>>>0;a=d?a:a- -134217728|0;b=b-(d?0:c)<<1;c=a+33554432|0;d=b>>>0<c>>>0;a=d?a:a+67108864|0;b=b-(d?0:c)<<1;c=a+16777216|0;d=b>>>0<c>>>0;a=d?a:a+33554432|0;b=b-(d?0:c)<<1;c=a+8388608|0;d=b>>>0<c>>>0;a=d?a:a+16777216|0;b=b-(d?0:c)<<1;c=a+4194304|0;d=b>>>0<c>>>0;a=d?a:a+8388608|0;b=b-(d?0:c)<<1;c=a+2097152|0;d=b>>>0<c>>>0;a=d?a:a+4194304|0;b=b-(d?0:c)<<1;c=a- -1048576|0;d=b>>>0<c>>>0;a=d?a:a+2097152|0;b=b-(d?0:c)<<1;c=a+524288|0;d=b>>>0<c>>>0;a=d?a:a- -1048576|0;b=b-(d?0:c)<<1;c=a+262144|0;d=b>>>0<c>>>0;a=d?a:a+524288|0;b=b-(d?0:c)<<1;c=a+131072|0;d=b>>>0<c>>>0;a=d?a:a+262144|0;b=b-(d?0:c)<<1;c=a+65536|0;d=b>>>0<c>>>0;a=d?a:a+131072|0;b=b-(d?0:c)<<1;c=a+32768|0;d=b>>>0<c>>>0;a=d?a:a+65536|0;b=b-(d?0:c)<<1;c=a+16384|0;d=b>>>0<c>>>0;a=d?a:a+32768|0;b=b-(d?0:c)<<1;c=a- -8192|0;d=b>>>0<c>>>0;a=d?a:a+16384|0;b=b-(d?0:c)<<1;c=a+4096|0;d=b>>>0<c>>>0;a=d?a:a- -8192|0;b=b-(d?0:c)<<1;c=a+2048|0;d=b>>>0<c>>>0;a=d?a:a+4096|0;b=b-(d?0:c)<<1;c=a+1024|0;d=b>>>0<c>>>0;a=d?a:a+2048|0;b=b-(d?0:c)<<1;c=a+512|0;d=b>>>0<c>>>0;a=d?a:a+1024|0;b=b-(d?0:c)<<1;c=a+256|0;d=b>>>0<c>>>0;a=d?a:a+512|0;return(a+128>>>0>b-(d?0:c)<<1>>>0?a:a+256|0)>>>8|0}function Xr(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;j=v[a+8>>2];m=v[a+12>>2];i=v[m+36>>2];a:{b:{if((i|0)<=0){k=6;if(!i){break b}break a}h=Ea[v[j+4>>2]](j,i)|0;if(!h){k=64;h=0;break a}Ra(h,0,i)}v[h+100>>2]=j;v[h+96>>2]=a;v[h+104>>2]=v[b>>2];if(c){v[h+8>>2]=v[h+8>>2]|1024}c:{l=Ea[v[j+4>>2]](j,68)|0;if(!l){k=64;break c}i=0;c=Ra(l,0,68);v[h+128>>2]=c;v[c+52>>2]=0;d:{if((e|0)<1){break d}a=0;while(1){if(i){break d}i=0;k=(a<<3)+f|0;if(v[k>>2]==1768842098){i=v[k+4>>2];v[c+52>>2]=i}a=a+1|0;if((e|0)!=(a|0)){continue}break}}v[c+60>>2]=-1;a=v[m+48>>2];e:{if(!a){v[b>>2]=v[h+104>>2];break e}k=Ea[a|0](v[b>>2],h,d,e,f)|0;v[b>>2]=v[h+104>>2];if(k){break c}}b=v[h+40>>2];f:{if(!b){break f}a=b+(v[h+36>>2]<<2)|0;c=a-4|0;g:{if(b>>>0<=c>>>0){while(1){i=v[c>>2];h:{if(v[i+4>>2]!=1970170211){break h}i:{switch(x[i+8>>1]){case 3:if(x[i+10>>1]!=10){break h}break g;case 0:break i;default:break h}}if(x[i+10>>1]==4){break g}}c=c-4|0;if(b>>>0<=c>>>0){continue}break}}while(1){a=a-4|0;if(b>>>0>a>>>0){break f}i=v[a>>2];if(v[i+4>>2]!=1970170211){continue}break}}v[h+92>>2]=i}v[g>>2]=h;return 0}if(v[h+36>>2]>=1){i=0;while(1){c=i<<2;a=v[c+v[h+40>>2]>>2];b=v[v[a>>2]+100>>2];d=v[v[a+12>>2]+8>>2];if(d){Ea[d|0](a)}Ea[v[b+8>>2]](b,a);v[c+v[h+40>>2]>>2]=0;i=i+1|0;if((i|0)<v[h+36>>2]){continue}break}}a=v[h+40>>2];if(a){Ea[v[j+8>>2]](j,a)}v[h+36>>2]=0;v[h+40>>2]=0}a=v[m+52>>2];if(a){Ea[a|0](h)}if(l){Ea[v[j+8>>2]](j,l)}if(h){Ea[v[j+8>>2]](j,h)}v[g>>2]=0;return k}function Nj(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Ca-32|0;Ca=g;a:{if(w[b+16|0]&16){break a}i=v[b+76>>2];if(!i){break a}j=v[b+88>>2];while(1){if((w[(j+B(h,20)|0)+15|0]&15)!=(c|0)){h=h+1|0;if((i|0)!=(h|0)){continue}break a}break}v[g+28>>2]=0;i=a;h=v[a+76>>2];a=v[a+72>>2];if(!(Ea[v[a+156>>2]](i,h,9676,g+28|0,v[a+20>>2])|0)){break a}l=v[g+28>>2];v[b+80>>2]=0;t[b+69|0]=1;t[b+70|0]=0;v[b+92>>2]=v[b+88>>2];v[b+72>>2]=0;k=v[b+76>>2];b:{if(!k){break b}m=(f|0)==-1?0:f;f=g+8|4;h=0;if((e|0)==-1){a=0;while(1){if(!w[b+68|0]){break b}i=v[b+88>>2]+B(h,20)|0;e=w[i+15|0];c:{if(!((e&15)==(c|0)?(e|0)!=(a|0):0)){Me(b);break c}v[g+8>>2]=l;a=f;u[a+6>>1]=0;u[a+8>>1]=0;u[a+10>>1]=0;u[a+12>>1]=0;v[a>>2]=0;v[a+4>>2]=0;t[g+27|0]=m;t[g+26|0]=d;v[g+16>>2]=v[i+8>>2];v[g+12>>2]=v[i+4>>2];t[g+23|0]=w[i+15|0];Jx(b,g+8|0);a=e}h=v[b+72>>2];if(h>>>0<y[b+76>>2]){continue}break}break b}a=0;while(1){if(!w[b+68|0]){break b}j=v[b+88>>2]+B(h,20)|0;i=w[j+15|0];d:{if(!((i|0)==(a|0)|(i&15)!=(c|0))){v[g+8>>2]=l;a=f;u[a+6>>1]=0;u[a+8>>1]=0;u[a+10>>1]=0;u[a+12>>1]=0;v[a>>2]=0;v[a+4>>2]=0;t[g+27|0]=m;t[g+26|0]=d;v[g+16>>2]=v[j+8>>2];v[g+12>>2]=v[j+4>>2];t[g+23|0]=w[j+15|0];e:{if(h>>>0>=k>>>0){break e}while(1){a=v[b+88>>2]+B(h,20)|0;if((i|0)!=w[a+15|0]|w[a+18|0]!=(e|0)){break e}Me(b);h=v[b+72>>2];if(h>>>0>=y[b+76>>2]){break e}if(w[b+68|0]){continue}break}}Jx(b,g+8|0);a=i;break d}Me(b)}h=v[b+72>>2];k=v[b+76>>2];if(h>>>0<k>>>0){continue}break}}td(b)}Ca=g+32|0}function Jt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Ve(b);a:{b:{if((d|0)<=-1){d=d^-1;break b}f=w[d+495048|0];c=f>>>5|0;if(c>>>0>=y[a+4>>2]){break b}e=1;if(v[((c<<2)+a|0)+8>>2]>>>f&1){break a}}c:{if((d|0)>=1){c=d;while(1){h=c;c=c-1|0;g=(c<<5)+459296|0;if((je(g,b)|0)!=2){d:{e=w[c+495048|0];i=e>>>5|0;if(i>>>0>=y[a+4>>2]){break d}f=b;if(!(v[((i<<2)+a|0)+8>>2]>>>e&1)){break d}while(1){e=w[f|0];j=((e-65&255)>>>0<26?e+32|0:e)&255;e=w[g|0];i=((e-65&255)>>>0<26?e+32|0:e)&255;if((j|0)!=(i|0)){e=1;if(j?0:(i|0)==45){break a}if(i){break d}if((j|0)==45){break a}break d}e=1;g=g+1|0;f=f+1|0;if(i){continue}break}break a}if((h|0)>1){continue}}break}if((d|0)>245){break c}}while(1){g=(d<<5)+459296|0;if((je(g,b)|0)==2){break c}e:{c=w[d+495048|0];h=c>>>5|0;if(h>>>0>=y[a+4>>2]){break e}f=b;if(!(v[((h<<2)+a|0)+8>>2]>>>c&1)){break e}while(1){c=w[g|0];c=((c-65&255)>>>0<26?c+32|0:c)&255;h=w[f|0];h=((h-65&255)>>>0<26?h+32|0:h)&255;if((c|0)!=(h|0)){e=1;if(h?0:(c|0)==45){break a}if(c){break e}if((h|0)==45){break a}break e}e=1;g=g+1|0;f=f+1|0;if(c){continue}break}break a}d=d+1|0;if((d|0)!=246){continue}break}}e=0;a=v[a>>2];if(!a){break a}c=Oc(a);if(!c){break a}while(1){f:{g=b;f=Wb(c);if(!f){e=0;break f}while(1){a=w[f|0];a=((a-65&255)>>>0<26?a+32|0:a)&255;d=w[g|0];d=((d-65&255)>>>0<26?d+32|0:d)&255;if((a|0)==(d|0)){e=1;f=f+1|0;g=g+1|0;if(a){continue}break f}break}e=1;if(d?0:(a|0)==45){break f}if((d|0)!=45|a){continue}}break}qc(c)}return e}function eL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=Ra(a,0,656);v[a+56>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=0;v[a>>2]=v[b>>2];v[a+4>>2]=v[b+4>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=v[b+16>>2];d=v[b+20>>2];v[a+40>>2]=b+48;v[a+36>>2]=b+40;v[a+32>>2]=b+32;v[a+28>>2]=b+28;v[a+24>>2]=b+24;v[a+20>>2]=d;if(c){t[a+44|0]=0;d=w[b+68|0]|w[b+69|0]<<8;e=w[b+70|0];v[a+540>>2]=b+1508;f=v[74885];v[a+52>>2]=v[74884];v[a+56>>2]=f;t[a+48|0]=c;t[a+47|0]=e;t[a+45|0]=d;t[a+46|0]=d>>>8;v[a+604>>2]=v[b+1348>>2];v[a+584>>2]=v[b+1352>>2];v[a+580>>2]=v[b+1356>>2];v[a+588>>2]=v[b+1472>>2];v[a+644>>2]=v[b+1468>>2];v[a+556>>2]=v[b+1364>>2];v[a+572>>2]=v[b+1368>>2];v[a+612>>2]=v[b+1372>>2];v[a+616>>2]=v[b+1376>>2];v[a+648>>2]=v[b+1496>>2];v[a+652>>2]=v[b+1500>>2];v[a+608>>2]=v[b+1360>>2];return}t[a+44|0]=w[b+64|0];c=w[b+65|0]|w[b+66|0]<<8;d=w[b+67|0];e=v[74885];v[a+52>>2]=v[74884];v[a+56>>2]=e;t[a+48|0]=0;t[a+47|0]=d;t[a+45|0]=c;t[a+46|0]=c>>>8;c=v[b+108>>2];v[a+532>>2]=c;v[a+540>>2]=c+3104;v[a+536>>2]=v[b+768>>2];v[a+560>>2]=v[b+732>>2];v[a+576>>2]=v[b+748>>2];v[a+568>>2]=v[b+740>>2];v[a+556>>2]=v[b+728>>2];v[a+572>>2]=v[b+744>>2];c=v[b+736>>2];v[a+544>>2]=b+584;v[a+564>>2]=c;t[a+548|0]=w[b+593|0];v[a+588>>2]=v[b+760>>2];v[a+596>>2]=v[b+772>>2];v[a+600>>2]=v[b+776>>2]}function _e(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;k=Ca-32|0;Ca=k;o=A[(i<<3)+h>>3];r=(e+g)*o;o=(d+f)*o;a:{if(i){i=i-1|0;if(!_e(a,b,c,d,e,o,r,h,i,j)){break a}m=_e(a,b,c,o,r,f,g,h,i,j);break a}e=A[a+24>>3]*e;b:{if(D(e)<2147483648){i=~~e;break b}i=-2147483648}p=j&1;d=A[a+16>>3]*d;c:{if(D(d)<2147483648){h=~~d;break c}h=-2147483648}if(p){v[k+28>>2]=c+i;v[k+24>>2]=b+h;q=v[a>>2];l=v[k+28>>2];v[k+16>>2]=v[k+24>>2];v[k+20>>2]=l;if(!Gb(q,k+16|0,2)){break a}}q=j&2;if(q){v[k+28>>2]=c-i;v[k+24>>2]=b-h;i=v[a+4>>2];h=v[k+28>>2];v[k+8>>2]=v[k+24>>2];v[k+12>>2]=h;if(!Gb(i,k+8|0,2)){break a}}d=r*A[a+24>>3];d:{if(D(d)<2147483648){j=~~d;break d}j=-2147483648}d=o*A[a+16>>3];e:{if(D(d)<2147483648){i=~~d;break e}i=-2147483648}if(p){p=b+i|0;h=p>>31;if((h^h+p)>>>0>268435455){break a}h=c+j|0;l=h>>31;if((l^h+l)>>>0>268435455){break a}n=v[a>>2];m=v[n>>2];l=v[n+4>>2];if(m>>>0>=l>>>0){m=0;v[164114]=0;l=l<<1;s=n,t=Xb(v[n+16>>2],l,8),v[s+16>>2]=t;if(v[164114]){break a}v[n+4>>2]=l;m=v[n>>2]}l=v[n+16>>2]+(m<<3)|0;v[l>>2]=p;v[l+4>>2]=h;v[n>>2]=v[n>>2]+1}m=1;if(!q){break a}m=0;h=b-i|0;b=h>>31;if((b^b+h)>>>0>268435455){break a}b=c-j|0;c=b>>31;if((c^b+c)>>>0>268435455){break a}i=v[a+4>>2];a=v[i>>2];c=v[i+4>>2];if(a>>>0>=c>>>0){v[164114]=0;a=c<<1;s=i,t=Xb(v[i+16>>2],a,8),v[s+16>>2]=t;if(v[164114]){break a}v[i+4>>2]=a;a=v[i>>2]}c=v[i+16>>2]+(a<<3)|0;v[c>>2]=h;v[c+4>>2]=b;m=1;v[i>>2]=v[i>>2]+1}Ca=k+32|0;return m}function wt(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0,o=0,p=0;l=Ca-32|0;Ca=l;v[l+12>>2]=0;v[l+8>>2]=0;v[l+4>>2]=0;m=d;d=v[c+64>>2];m=m+B(d,5)|0;v[l+16>>2]=m;a:{b:{c:{n=m;m=e-(d<<1)|0;if(!Ql(c,n,m,l+8|0,l+4|0,l+12|0,l+16|0)){break c}d=v[l+8>>2];if(!d){break c}d:{e:{f:{e=v[l+4>>2];g:{if(!(Ea[v[c+24>>2]](c,d,e,504252)|0)){if(b){break g}break b}if(g){v[g>>2]=v[l+12>>2]}d=v[l+16>>2];if(h){v[h>>2]=d}if(!Ql(c,d,m,l+8|0,l+4|0,l+12|0,l+16|0)){break c}d=v[l+8>>2];if(!d){break f}e=v[l+4>>2]}if(!(Ea[v[c+24>>2]](c,d,e,504260)|0)){break d}d=v[l+12>>2];v[l+28>>2]=d;v[l+20>>2]=l+27;Ea[v[c+56>>2]](c,l+28|0,m,l+20|0,l+28|0)|0;if(v[l+20>>2]==(l+27|0)|(t[l+27|0]&-33)-65>>>0>25){break b}if(i){v[i>>2]=d}e=v[l+16>>2];if(j){o=j,p=Ea[a|0](c,d,e-v[c+64>>2]|0)|0,v[o>>2]=p}if(!Ql(c,e,m,l+8|0,l+4|0,l+12|0,l+16|0)){break c}d=v[l+8>>2];if(d){break e}a=1;break a}if(b){break c}a=1;break a}e=v[l+4>>2]}if(b|!(Ea[v[c+24>>2]](c,d,e,504269)|0)){break b}d=v[l+12>>2];e=v[l+16>>2];h:{i:{if(Ea[v[c+24>>2]](c,d,e-v[c+64>>2]|0,504280)|0){d=1;if(k){break i}break h}if(!(Ea[v[c+24>>2]](c,d,e-v[c+64>>2]|0,504284)|0)){break b}d=0;if(!k){break h}}v[k>>2]=d}a=l+28|0;while(1){v[l+28>>2]=e;v[l+20>>2]=l+27;Ea[v[c+56>>2]](c,l+28|0,m,l+20|0,a)|0;b=(v[l+20>>2]==(l+27|0)?-1:t[l+27|0])-9|0;if(!(b>>>0>23|!(1<<b&8388627))){e=v[c+64>>2]+e|0;continue}break}v[l+16>>2]=e;d=e;if((m|0)!=(d|0)){break b}a=1;break a}d=v[l+16>>2]}v[f>>2]=d;a=0}Ca=l+32|0;return a}function KF(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;i=v[a+12>>2];j=v[a+200>>2];c=v[a+196>>2];n=v[v[a>>2]+16>>2];a:{while(1){b=k;k=b+1|0;g=Ps(i,k);if(g){break a}g=21;h=c+4|0;if(h>>>0>j>>>0){break a}d=v[i+88>>2]+(b<<5)|0;v[d+8>>2]=0;v[d+12>>2]=0;l=w[c+1|0];e=l|w[c|0]<<8;u[d+4>>1]=e;b=w[c+3|0]|w[c+2|0]<<8;v[d>>2]=b;if((b|0)>=(n|0)){break a}f=l&1?4:2;m=e&8;b=f+2|0;b:{if(m){break b}b=f+4|0;if(e&64){break b}b=f|e>>>4&8}if(b+h>>>0>j>>>0){break a}b=e&1;c:{if(e&2){if(b){b=w[c+4|0]|w[c+5|0]<<8;v[d+8>>2]=(b<<8|b>>>8)<<16>>16;b=w[c+6|0]|w[c+7|0]<<8;f=(b<<8|b>>>8)<<16>>16;b=c+8|0;break c}v[d+8>>2]=t[c+4|0];f=t[c+5|0];b=c+6|0;break c}if(b){v[d+8>>2]=w[c+5|0]|w[c+4|0]<<8;f=w[c+7|0]|w[c+6|0]<<8;b=c+8|0;break c}v[d+8>>2]=w[c+4|0];f=w[c+5|0];b=c+6|0}v[d+12>>2]=f;d:{if(m){c=b+2|0;e=0;b=w[b|0]|w[b+1|0]<<8;g=(b<<8|b>>>8)<<16>>16<<2;f=g;h=0;break d}if(e&64){c=w[b+2|0]|w[b+3|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=w[b|0]|w[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+4|0;e=0;h=0;break d}if(!(e&128)){e=0;g=65536;c=b;f=65536;h=0;break d}c=w[b+6|0]|w[b+7|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=w[b+4|0]|w[b+5|0]<<8;e=(c<<8|c>>>8)<<16>>16<<2;c=w[b+2|0]|w[b+3|0]<<8;h=(c<<8|c>>>8)<<16>>16<<2;c=w[b|0]|w[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+8|0}v[d+16>>2]=g;v[d+28>>2]=f;v[d+24>>2]=h;v[d+20>>2]=e;if(l&32){continue}break}v[i+84>>2]=k;b=v[v[a+24>>2]+8>>2];v[a+196>>2]=c;v[a+164>>2]=(c+b|0)-j;g=0}return g|0}function Gu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=1;g=v[b+4>>2];a:{if(v[g+16>>2]!=128){b:{while(1){d=h;c:{d:{i=v[g+12>>2];if(!i){break d}h=v[g+8>>2];if((d|0)>(h|0)){break d}while(1){e=a;a=v[a+4>>2];k=v[a+16>>2]==128;if(!(v[a+8>>2]<=(h|0)?k:1)){continue}break}j=h+i|0;f=e;d=e;e:{if(k){break e}while(1){d=a;if(v[a+8>>2]>=(j|0)){d=f;break e}f=d;a=v[d+4>>2];if(v[a+16>>2]!=128){continue}break}}if(c){v[d+12>>2]=i+v[d+12>>2]}f=v[e+8>>2];i=f+v[e+12>>2]|0;f:{g:{if((d|0)==(e|0)){if((i|0)>(j|0)){a=Va(36);d=0;if(!a){break b}u[a+20>>1]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a>>2]=0;v[a+4>>2]=0;d=a+8|0;v[d>>2]=0;v[d+4>>2]=0;d=v[e+4>>2];v[d>>2]=a;v[a+4>>2]=d;t[a+20|0]=w[e+20|0];t[a+21|0]=w[e+21|0];v[a+16>>2]=v[e+16>>2];d=v[e+12>>2];f=v[e+8>>2];v[a+8>>2]=j;v[a+12>>2]=d+(f-j|0);f=v[e+8>>2];i=f+v[e+12>>2]|0}if((h|0)>(i|0)){break g}if((f|0)<(h|0)){v[e+12>>2]=h-f;break g}d=v[e>>2];Pa(e);f=a;a=d;break f}h:{if((h|0)>(i|0)){break h}if((f|0)<(h|0)){v[e+12>>2]=h-f;break h}e=v[e>>2]}f=v[d+12>>2]+v[d+8>>2]|0;if((f|0)>(j|0)){v[d+8>>2]=j;v[d+12>>2]=f-j;a=d}d=v[e+4>>2];if((d|0)==(a|0)){break g}while(1){f=v[d+4>>2];Pa(d);d=f;if((d|0)!=(a|0)){continue}break}}f=a;a=e}d=v[g>>2];v[d+4>>2]=v[g+4>>2];v[v[g+4>>2]>>2]=d;v[a+4>>2]=g;v[g+4>>2]=f;v[g>>2]=a;v[f>>2]=g;break c}h=d;d=g}g=v[d+4>>2];if(v[g+16>>2]!=128){continue}break}d=1}if(!b){break a}}v[v[b>>2]+4>>2]=0;while(1){a=v[b+4>>2];Pa(b);b=a;if(a){continue}break}}return d}function VP(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=eb(1,36);if(g){h=g;a:{b:{c:{d:{e:{c=v[a+44>>2];if((c|0)<1){break e}e=v[a+48>>2];c=c-1|0;f:{g:{while(1){d=b+c>>>1|0;f=v[e+B(d,36)>>2];h:{if(f>>>0>=1886545255){c=d-1|0;break h}if((f|0)==1886545254){break g}b=d+1|0}if((b|0)<=(c|0)){continue}break}c=0;break f}c=v[(e+B(d,36)|0)+28>>2]}b=v[a+44>>2];v[g>>2]=c;if((b|0)<1){break e}e=v[a+48>>2];c=b-1|0;b=0;i:{while(1){d=b+c>>>1|0;f=v[e+B(d,36)>>2];j:{if(f>>>0<=1651275622){b=v[(e+B(d,36)|0)+28>>2];if((f|0)==1651275622){break i}b=d+1|0;break j}c=d-1|0}if((b|0)<=(c|0)){continue}break}b=0}c=b;b=v[a+44>>2];v[g+4>>2]=c;if((b|0)<1){break c}e=v[a+48>>2];c=b-1|0;b=0;while(1){d=b+c>>>1|0;f=v[e+B(d,36)>>2];k:{if(f>>>0<=1633842790){b=v[(e+B(d,36)|0)+28>>2];if((f|0)==1633842790){break d}b=d+1|0;break k}c=d-1|0}if((b|0)<=(c|0)){continue}break}b=0;break d}v[g+4>>2]=0;b=0}c=b;b=v[a+44>>2];v[g+8>>2]=c;c=0;if((b|0)<=0){v[g+12>>2]=0;b=0;break a}e=v[a+48>>2];b=b-1|0;while(1){d=b+c>>>1|0;f=v[e+B(d,36)>>2];l:{if(f>>>0<=1886614630){c=v[(e+B(d,36)|0)+28>>2];if((f|0)==1886614630){break b}c=d+1|0;break l}b=d-1|0}if((b|0)>=(c|0)){continue}break}}c=0}b=v[a+44>>2];v[g+12>>2]=c;if((b|0)>=1){d=v[a+48>>2];c=b-1|0;b=0;while(1){a=b+c>>>1|0;e=v[d+B(a,36)>>2];m:{if(e>>>0<=1667654002){b=v[(d+B(a,36)|0)+28>>2];if((e|0)==1667654002){break a}b=a+1|0;break m}c=a-1|0}if((b|0)<=(c|0)){continue}break}}b=0}v[h+16>>2]=b}return g|0}function wo(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;if(y[b+4>>2]>a>>>0){return 0}f=v[b+8>>2];if(f>>>0<a>>>0){return 0}if(f-a>>>0<2){return 0}f=v[b+12>>2]-2|0;v[b+12>>2]=f;h=1;if((f|0)<1){return 0}f=w[a+1|0]|w[a|0]<<8;a:{if(!f){break a}e=c+f|0;c=v[d>>2];b:{if((c|0)==1936292453){d=0;c:{if(e>>>0<y[b+4>>2]){break c}c=v[b+8>>2];if(c>>>0<e>>>0|c-e>>>0<10){break c}c=v[b+12>>2]-10|0;v[b+12>>2]=c;if((c|0)<1){break c}c=w[e+1|0]|w[e|0]<<8;if(!c){break c}if(!(w[e+3|0]|w[e+2|0]<<8|(w[e+5|0]|w[e+4|0]<<8)|(w[e+7|0]|w[e+6|0]<<8|(w[e+9|0]|w[e+8|0]<<8)))){d=1;break c}if(c>>>0<(w[e+7|0]|w[e+6|0]<<8)>>>0|c>>>0>(w[e+9|0]|w[e+8|0]<<8)>>>0){break c}d=(w[e+5|0]|w[e+4|0]<<8)-256>>>0<32512}break b}c=c&-65536;d:{if((c|0)!=1668677632){d=1;if((c|0)!=1936916480){break d}d=0;if(e>>>0<y[b+4>>2]){break d}c=v[b+8>>2];if(c>>>0<e>>>0|c-e>>>0<4){break d}c=v[b+12>>2]-4|0;v[b+12>>2]=c;d=(c|0)>0;break b}d=0;i=v[b+4>>2];if(i>>>0>e>>>0){break d}g=v[b+8>>2];if(g>>>0<e>>>0|g-e>>>0<14){break d}f=v[b+12>>2];c=f-14|0;v[b+12>>2]=c;if((c|0)<1){break d}c=e+12|0;if(c>>>0<i>>>0|c>>>0>g>>>0|g-c>>>0<2){break d}j=f-16|0;v[b+12>>2]=j;if((j|0)<1){break d}c=w[e+13|0]|w[e+12|0]<<8;if(c){f=e+14|0;if(f>>>0<i>>>0|f>>>0>g>>>0){break d}c=B(c,3);if(c>>>0>g-f>>>0){break d}c=j-c|0;v[b+12>>2]=c;if((c|0)<1){break d}}d=1}}if(d){break a}c=v[b+24>>2];if(c>>>0>31){return 0}v[b+24>>2]=c+1;h=0;if(!w[b+20|0]){break a}t[a|0]=0;t[a+1|0]=0;h=1}return h}function aD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=v[a+16>>2];if(y[a+20>>2]>=f+8>>>0){g=v[a+32>>2];a:{b:{c:{b=v[f>>2];d=w[b|0];if((d|0)!=255){if((d|0)!=30){break c}b=zc(a,b,0,0)>>16;break b}b=((w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16))<<8)+32768>>16;break b}e=b+1|0;d:{switch(d-28|0){case 0:if(y[a+8>>2]<=b+2>>>0){break a}b=(w[b+2|0]|w[e|0]<<8)<<16>>16;break b;case 1:if(y[a+8>>2]<=b+4>>>0){break a}c=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);b=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break b;default:break d}}b=d-139|0;if(d>>>0<=246){break b}b=v[a+8>>2];if(d>>>0<=250){if(b>>>0<=e>>>0){break a}b=(w[e|0]|d<<8)-63124|0;break b}if(b>>>0<=e>>>0){break a}b=64148-(w[e|0]|d<<8)|0}c=b;if((c|0)>=0){break a}return 3}v[g+120>>2]=c;e:{f:{g:{b=v[f+4>>2];d=w[b|0];if((d|0)!=255){if((d|0)!=30){break g}c=zc(a,b,0,0)>>16;break f}c=((w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16))<<8)+32768>>16;break f}e=b+1|0;h:{switch(d-28|0){case 0:c=0;if(y[a+8>>2]<=b+2>>>0){break e}c=(w[b+2|0]|w[e|0]<<8)<<16>>16;break f;case 1:c=0;if(y[a+8>>2]<=b+4>>>0){break e}a=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);c=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break f;default:break h}}c=d-139|0;if(d>>>0<=246){break f}a=v[a+8>>2];if(d>>>0<=250){c=0;if(a>>>0<=e>>>0){break e}c=(w[e|0]|d<<8)-63124|0;break f}c=0;if(a>>>0<=e>>>0){break e}c=64148-(w[e|0]|d<<8)|0}if((c|0)>=0){break e}return 3}v[g+116>>2]=c;a=0}else{a=161}return a|0}function Ij(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;a:{l=v[b+4>>2];if(l>>>0>a>>>0){break a}h=v[b+8>>2];if(h>>>0<a>>>0){break a}e=h-a>>>0<5;b:{c:{if(e){break c}d=v[b+12>>2]-5|0;v[b+12>>2]=d;c=1;if((d|0)<1){break c}d=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);if(!(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))){break b}}if(e){break a}g=v[b+12>>2]-5|0;v[b+12>>2]=g;if((g|0)<1){break a}f=w[a+4|0];if((f-1&255)>>>0>3){break a}c=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=i+1|0;if(d>>>0<i>>>0){break a}c=B(d,f);if((c|0)==-1|4294967295/(d>>>0)>>>0<=f>>>0){break a}if(c){d=a+5|0;if(d>>>0<l>>>0|d>>>0>h>>>0|c>>>0>h-d>>>0){break a}g=g-c|0;v[b+12>>2]=g;if((g|0)<1){break a}c=0;d=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((i|0)==-1){break b}j=(B(i+1|0,f)+a|0)+5|0}else{j=(a+c|0)+5|0}n=f&252;o=f&3;p=f-1>>>0<3;while(1){d=(B(f,m)+a|0)+5|0;c=n;e=0;if(!p){while(1){e=d;d=d+4|0;c=c-4|0;if(c){continue}break}c=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}c=o;if(c){while(1){e=w[d|0]|e<<8;d=d+1|0;c=c-1|0;if(c){continue}break}}k=e>>>0>k>>>0?e:k;c=(i|0)!=(m|0);m=m+1|0;if(c){continue}break}a=k-1|0;if(!a){return 1}c=0;if(!k|(a|0)<0|(j>>>0<l>>>0|h>>>0<j>>>0)){break b}if(a>>>0>h-j>>>0){break b}a=g-a|0;v[b+12>>2]=a;c=(a|0)>0}return c}return 0}function Gs(a,b){var c=0,d=0,e=0,f=0;e=Ca-4112|0;Ca=e;a:{b:{c:{if(b){c=1;d:{if(a){break d}a=v[164112];if(a){break d}c=0;a=xe();if(!a){break a}}d=Gi(b,e);d=fe(d?d:b);if(!d){break a}f=v[a+76>>2];if(f){Pa(f)}v[a+76>>2]=d;if(c){break a}a=yg(a);if(a){break c}c=v[164112];a=c;if(!a){a=xe();if(!a){break a}}d=Gi(b,e);d=fe(d?d:b);if(!d){break a}f=v[a+76>>2];if(f){Pa(f)}v[a+76>>2]=d;if(c){break a}a=yg(a);if(a){break c}c=v[164112];a=c;if(!a){a=xe();if(!a){break a}}d=Gi(b,e);b=fe(d?d:b);if(!b){break a}d=v[a+76>>2];if(d){Pa(d)}v[a+76>>2]=b;if(c){break a}a=yg(a);if(a){break c}break b}b=1;e:{if(a){break e}a=v[164112];if(a){break e}b=0;a=xe();if(!a){break a}}c=v[a+76>>2];if(c){Pa(c)}v[a+76>>2]=0;if(b){break a}a=yg(a);if(a){break c}b=v[164112];a=b;if(!a){a=xe();if(!a){break a}}c=v[a+76>>2];if(c){Pa(c)}v[a+76>>2]=0;if(b){break a}a=yg(a);if(a){break c}b=v[164112];a=b;if(!a){a=xe();if(!a){break a}}c=v[a+76>>2];if(c){Pa(c)}v[a+76>>2]=0;if(b){break a}a=yg(a);if(!a){break b}}f:{g:{if(a){if(!v[a+52>>2]){v[a+68>>2]=v[a+68>>2]+1;b=zf();if(!b){break g}c=v[a+52>>2];if(c){le(c)}v[a+52>>2]=b;if(!Os(a,v[a+8>>2])){break g}if(w[656428]&8){Ct(b)}ac(a)}v[a+68>>2]=v[a+68>>2]+1}be();h:{while(1){b=v[164112];if((b|0)==(a|0)){if(!a){break h}ac(a);break f}c=v[164112];v[164112]=(b|0)==(c|0)?a:c;if((b|0)!=(c|0)){continue}break}if(!b){break h}ac(b)}break f}ac(a)}ac(a);break a}Lc(515827,122,1,v[130915])}Ca=e+4112|0}function Hf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(v[a+20>>2]==2){break a}f=c-b|0;if(f>>>0<2){break a}h=v[a+92>>2];g=v[(h+B(b,20)|0)+8>>2];d=g;e=b+1|0;b:{if(e>>>0>=c>>>0){break b}j=f-2|0;f=(b^-1)+c&3;c:{if(!f){d=g;break c}d=g;while(1){i=v[(B(e,20)+h|0)+8>>2];d=d>>>0>i>>>0?i:d;e=e+1|0;f=f-1|0;if(f){continue}break}}if(j>>>0<=2){break b}while(1){f=B(e,20)+h|0;j=v[f+68>>2];i=v[f+48>>2];k=v[f+28>>2];f=v[f+8>>2];d=d>>>0>f>>>0?f:d;d=d>>>0>k>>>0?k:d;d=d>>>0>i>>>0?i:d;d=d>>>0>j>>>0?j:d;e=e+4|0;if((e|0)!=(c|0)){continue}break}}while(1){e=b;if(e){b=e-1|0;if((g|0)==v[(B(b,20)+h|0)+8>>2]){continue}}break}d:{e:{f:{g=v[a+80>>2];if(g>>>0<=c>>>0){break f}while(1){b=B(c,20)+h|0;if(v[b-12>>2]!=v[b+8>>2]){break f}c=c+1|0;if((g|0)!=(c|0)){continue}break}c=g;break e}if((c|0)!=(g|0)){break d}}b=v[a+72>>2];f=v[a+76>>2];if(b>>>0>=f>>>0){break d}g=(B(g,20)+h|0)-12|0;j=v[a+88>>2];while(1){a=j+B(b,20)|0;i=v[a+8>>2];if((i|0)!=v[g>>2]){break d}if((d|0)!=(i|0)){v[a+4>>2]=v[a+4>>2]&-2}v[a+8>>2]=d;b=b+1|0;if((f|0)!=(b|0)){continue}break}}if(c>>>0<=e>>>0){break a}b=e+1|0;if(c-e&1){a=B(e,20)+h|0;g=a;if(v[a+8>>2]!=(d|0)){v[a+4>>2]=v[a+4>>2]&-2}v[g+8>>2]=d;e=e+1|0}if((b|0)==(c|0)){break a}while(1){a=B(e,20)+h|0;b=a;if(v[a+8>>2]!=(d|0)){v[a+4>>2]=v[a+4>>2]&-2}v[b+8>>2]=d;a=B(e+1|0,20)+h|0;b=a;if(v[a+8>>2]!=(d|0)){v[a+4>>2]=v[a+4>>2]&-2}v[b+8>>2]=d;e=e+2|0;if((e|0)!=(c|0)){continue}break}}}function LM(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;i=Ca-400|0;Ca=i;e=v[c+4>>2];f=v[b+4>>2];c=v[c>>2];b=v[b>>2];g=v[a>>2];a=v[a+4>>2];v[i+20>>2]=a<<2;v[i+16>>2]=g<<2;v[i+12>>2]=f<<2;v[i+8>>2]=b<<2;g=e<<2;v[i+4>>2]=g;h=c<<2;v[i>>2]=h;v[i+24>>2]=v[d+200>>2];b=v[d+204>>2];v[i+28>>2]=b;c=a>>6;a:{b:{l=e>>6;a=v[d+168>>2];f=f>>6;c:{d:{if(!((f|0)>=(a|0)?(l|0)>=(a|0):0)){e=b>>8;break d}e=b>>8;if((a|0)>(c|0)){break d}if((a|0)<=(e|0)){break c}}b=0;a=v[d+164>>2];if((a|0)<=(l|0)|(a|0)<=(f|0)|((a|0)<=(c|0)|(a|0)<=(e|0))){break b}}v[d+204>>2]=g;v[d+200>>2]=h;break a}while(1){a=b+3|0;h=v[(a<<3)+i>>2];c=(b<<3)+i|0;m=v[c+8>>2];g=v[c>>2];f=h+(B(m,-3)+(g<<1)|0)|0;e=f>>31;e:{if((e^e+f)>>>0>=129){l=v[c+12>>2];e=v[c+28>>2];f=v[c+4>>2];break e}e=v[c+28>>2];l=v[c+12>>2];f=v[c+4>>2];k=e+(B(l,-3)+(f<<1)|0)|0;j=k>>31;if((j^j+k)>>>0>128){break e}k=(g+(h<<1)|0)+B(v[c+16>>2],-3)|0;j=k>>31;if((j^j+k)>>>0>128){break e}k=((e<<1)+f|0)+B(v[c+20>>2],-3)|0;j=k>>31;if((j^j+k)>>>0>128){break e}Zm(d,g,f);if(!b){break a}b=b-3|0;continue}v[c+48>>2]=h;v[c+52>>2]=e;b=g+m|0;v[c+8>>2]=b>>1;f=f+l|0;v[c+12>>2]=f>>1;g=v[c+16>>2];h=g+h|0;v[c+40>>2]=h>>1;j=b;b=g+m|0;g=j+b|0;v[c+16>>2]=g>>2;b=b+h|0;v[c+32>>2]=b>>2;j=e;e=v[c+20>>2];h=j+e|0;v[c+44>>2]=h>>1;v[c+24>>2]=b+g>>3;b=e+l|0;e=b+f|0;v[c+20>>2]=e>>2;b=b+h|0;v[c+36>>2]=b>>2;v[c+28>>2]=b+e>>3;b=a;continue}}Ca=i+400|0;return 0}function zo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=v[b+4>>2];if(f>>>0>a>>>0){return 0}d=v[b+8>>2];if(d>>>0<a>>>0){return 0}if(d-a>>>0<2){return 0}h=v[b+12>>2];e=h-2|0;v[b+12>>2]=e;g=1;if((e|0)<1){return 0}e=w[a+1|0]|w[a|0]<<8;a:{if(!e){break a}b:{c:{e=c+e|0;if(e>>>0<f>>>0|d>>>0<e>>>0|d-e>>>0<2){break c}c=h-4|0;v[b+12>>2]=c;if((c|0)<1){break c}h=w[e+1|0]|w[e|0]<<8;if(!h){break a}g=e+2|0;if(g>>>0<f>>>0|d>>>0<g>>>0){break c}f=d-g|0;d=B(h,6);if(f>>>0<d>>>0){break c}c=c-d|0;v[b+12>>2]=c;g=1;if((c|0)<1){break c}k=w[e+1|0]|w[e|0]<<8;if(!k){break a}h=0;while(1){g=Ca-16|0;Ca=g;d=(e+B(h,6)|0)+2|0;c=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[g+12>>2]=e;v[g+8>>2]=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);f=v[b+4>>2];d:{if(f>>>0>d>>>0){c=0;break d}c=v[b+8>>2];if(c>>>0<d>>>0){c=0;break d}if(c-d>>>0<6){c=0;break d}i=v[b+12>>2];j=i-6|0;v[b+12>>2]=j;if((j|0)<1){c=0;break d}j=f;f=d+4|0;if(j>>>0>f>>>0){c=0;break d}if(c>>>0<f>>>0){c=0;break d}if(c-f>>>0<2){c=0;break d}i=i-8|0;v[b+12>>2]=i;c=1;if((i|0)<1){c=0;break d}d=w[d+5|0]|w[d+4|0]<<8;if(!d){break d}if(xo(d+e|0,b,g+8|0)){break d}c=v[b+24>>2];if(c>>>0>31){c=0;break d}v[b+24>>2]=c+1;c=0;if(!w[b+20|0]){break d}t[f|0]=0;t[f+1|0]=0;c=1}Ca=g+16|0;if(!c){break c}h=h+1|0;if((k|0)!=(h|0)){continue}break}break b}c=v[b+24>>2];if(c>>>0>31){return 0}v[b+24>>2]=c+1;g=0;if(!w[b+20|0]){break a}t[a|0]=0;t[a+1|0]=0}g=1}return g}function Qm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!a){return}l=v[a>>2];if(a){b=v[a+204>>2];v[a+204>>2]=b-1;if((b|0)<=1){k=v[a>>2];b=v[a+16>>2];a:{if(!b){break a}while(1){i=v[((h<<2)+a|0)+20>>2];c=v[i>>2];b:{if(Wa(v[c+8>>2],4249)|!(t[c|0]&1)){break b}c=v[i+16>>2];if(!c){break b}while(1){f=v[c+8>>2];c:{if(!f){break c}d=v[f+96>>2];if(!d){break c}e=v[f+128>>2];b=v[e+64>>2];v[e+64>>2]=b-1;if((b|0)>1){break c}b=v[d+16>>2];if(!b){break c}g=d+16|0;e=v[d+8>>2];while(1){if((f|0)!=v[b+8>>2]){b=v[b+4>>2];if(b){continue}break c}break}c=v[b>>2];j=c?c+4|0:g;g=v[b+4>>2];v[j>>2]=g;v[(g?g:d+20|0)>>2]=c;Ea[v[e+8>>2]](e,b);qg(e,f,d);c=v[i+16>>2]}if(c){continue}break}b=v[a+16>>2]}h=h+1|0;if(h>>>0<b>>>0){continue}break}if(!b){break a}h=0;while(1){i=v[((h<<2)+a|0)+20>>2];d:{if(!(t[v[i>>2]]&1)){break d}c=v[i+16>>2];if(!c){break d}while(1){f=v[c+8>>2];e:{if(!f){break e}d=v[f+96>>2];if(!d){break e}e=v[f+128>>2];b=v[e+64>>2];v[e+64>>2]=b-1;if((b|0)>1){break e}b=v[d+16>>2];if(!b){break e}g=d+16|0;e=v[d+8>>2];while(1){if((f|0)!=v[b+8>>2]){b=v[b+4>>2];if(b){continue}break e}break}c=v[b>>2];j=c?c+4|0:g;g=v[b+4>>2];v[j>>2]=g;v[(g?g:d+20|0)>>2]=c;Ea[v[e+8>>2]](e,b);qg(e,f,d);c=v[i+16>>2]}if(c){continue}break}b=v[a+16>>2]}h=h+1|0;if(h>>>0<b>>>0){continue}break}if(!b){break a}while(1){Nr(a,v[((b<<2)+a|0)+16>>2]);b=v[a+16>>2];if(b){continue}break}}Ea[v[k+8>>2]](k,a)}}Pa(l)}function kg(a,b,c,d){var e=0,f=0,g=0;f=w[a+1|0];a=f&1?d+2|0:d;a=f&2?a+2|0:a;a=f&4?a+2|0:a;d=f&8?a+2|0:a;a:{b:{if(!(f&16)){a=d;break b}if(d>>>0<y[b+4>>2]){break a}a=v[b+8>>2];if(a>>>0<d>>>0|a-d>>>0<2){break a}a=v[b+12>>2]-2|0;v[b+12>>2]=a;if((a|0)<1){break a}a=d+2|0;e=w[d+1|0]|w[d|0]<<8;if(!e){break b}if(Mf(c+e|0,b)){break b}e=v[b+24>>2];if(e>>>0>31){break a}v[b+24>>2]=e+1;if(!w[b+20|0]){break a}t[d|0]=0;t[d+1|0]=0}c:{if(!(f&32)){d=a;break c}if(y[b+4>>2]>a>>>0){break a}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<2){break a}d=v[b+12>>2]-2|0;v[b+12>>2]=d;if((d|0)<1){break a}d=a+2|0;e=w[a+1|0]|w[a|0]<<8;if(!e){break c}if(Mf(c+e|0,b)){break c}e=v[b+24>>2];if(e>>>0>31){break a}v[b+24>>2]=e+1;if(!w[b+20|0]){break a}t[a|0]=0;t[a+1|0]=0}d:{if(!(f&64)){a=d;break d}if(y[b+4>>2]>d>>>0){break a}a=v[b+8>>2];if(a>>>0<d>>>0|a-d>>>0<2){break a}a=v[b+12>>2]-2|0;v[b+12>>2]=a;if((a|0)<1){break a}a=d+2|0;e=w[d+1|0]|w[d|0]<<8;if(!e){break d}if(Mf(c+e|0,b)){break d}e=v[b+24>>2];if(e>>>0>31){break a}v[b+24>>2]=e+1;if(!w[b+20|0]){break a}t[d|0]=0;t[d+1|0]=0}g=1;if(!(f&128)){break a}if(y[b+4>>2]>a>>>0){return 0}d=v[b+8>>2];if(d>>>0<a>>>0){return 0}if(d-a>>>0<2){return 0}d=v[b+12>>2]-2|0;v[b+12>>2]=d;if((d|0)<1){return 0}d=w[a+1|0]|w[a|0]<<8;if(!d){break a}if(Mf(c+d|0,b)){break a}c=v[b+24>>2];if(c>>>0>31){return 0}v[b+24>>2]=c+1;g=0;if(!w[b+20|0]){break a}t[a|0]=0;t[a+1|0]=0;g=1}return g}function Rz(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=v[a+100>>2];d=v[a+540>>2];a:{if(!d){break a}b=v[d+80>>2];if(b){Ea[b|0](a)}b=v[d+100>>2];if(b){Ea[b|0](a)}b=v[d+120>>2];if(!b){break a}Ea[b|0](a);Ea[v[d+124>>2]](a)}if(w[a+848|0]){if(v[a+828>>2]){Qb(v[a+104>>2],a+828|0)}v[a+840>>2]=0;v[a+832>>2]=0;v[a+836>>2]=0}Qb(v[a+104>>2],a+808|0);v[a+820>>2]=0;v[a+824>>2]=0;v[a+812>>2]=0;v[a+816>>2]=0;b=c;e=v[a+144>>2];if(e){Ea[v[b+8>>2]](b,e)}v[a+140>>2]=0;v[a+144>>2]=0;b=v[a+156>>2];if(b){Ea[v[c+8>>2]](c,b)}u[a+152>>1]=0;v[a+156>>2]=0;Qb(v[a+104>>2],a+508|0);v[a+752>>2]=0;v[a+756>>2]=0;v[a+512>>2]=0;if(w[a+292|0]){b=c;e=v[a+332>>2];if(e){Ea[v[b+8>>2]](b,e)}v[a+332>>2]=0;b=v[a+336>>2];if(b){Ea[v[c+8>>2]](c,b)}t[a+292|0]=0;v[a+336>>2]=0}b=v[a+564>>2];if(b){Ea[v[c+8>>2]](c,b)}u[a+562>>1]=0;v[a+564>>2]=0;if(d){Ea[v[d+52>>2]](a)}b=v[a+20>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+20>>2]=0;b=v[a+24>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+24>>2]=0;b=v[a+32>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+32>>2]=0;b=v[a+804>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+28>>2]=0;v[a+804>>2]=0;b=v[a+720>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+720>>2]=0;b=v[a+744>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+744>>2]=0;b=v[a+652>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+652>>2]=0;b=v[a+656>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+656>>2]=0;b=v[a+664>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+664>>2]=0;b=v[a+672>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+540>>2]=0;v[a+672>>2]=0}}function ji(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ca-16|0;Ca=e;f=v[a+100>>2];v[e+12>>2]=0;d=v[a+532>>2];a:{if(!d){d=wb(f,420,e+12|0);if(v[e+12>>2]){break a}v[d+416>>2]=0;v[a+532>>2]=d}b:{c:{if(!b){break c}g=v[d>>2];if(!g){k=d,l=Ua(f,32,0,b,0,e+12|0),v[k+148>>2]=l;if(v[e+12>>2]){break a}k=d,l=Ua(f,196,0,b,0,e+12|0),v[k+216>>2]=l;if(v[e+12>>2]){break a}k=d,l=Ua(f,16,0,b,0,e+12|0),v[k+288>>2]=l;if(v[e+12>>2]){break a}g=Ua(f,4,0,b<<1,0,e+12|0);v[d+136>>2]=g;if(v[e+12>>2]){break a}v[d+284>>2]=a+464;v[d+212>>2]=a+168;v[d+144>>2]=a+132;v[d+140>>2]=g+(b<<2);if(b>>>0>=2){h=v[d+288>>2];g=v[d+216>>2];i=v[d+148>>2];a=2;while(1){j=(a<<2)+d|0;h=h+16|0;v[j+284>>2]=h;g=g+196|0;v[j+212>>2]=g;i=i+32|0;v[j+144>>2]=i;a=a+1|0;if(b>>>0>=a>>>0){continue}break}}v[d>>2]=b;break c}if((b|0)!=(g|0)){break b}}a=v[d+4>>2];d:{if(!c){c=a;break d}if((a|0)!=(c|0)?a:0){break b}v[d+4>>2]=c}h=v[d>>2];if(v[d+24>>2]|(!h|!c)){break a}b=Ua(f,4,0,B(c,h),0,e+12|0);v[d+24>>2]=b;if(v[e+12>>2]|h>>>0<2){break a}f=h-1|0;g=f&3;a=1;if(h-2>>>0>=3){h=f&-4;f=d+24|0;while(1){v[f+(a<<2)>>2]=b+(B(a,c)<<2);i=a+1|0;v[f+(i<<2)>>2]=b+(B(c,i)<<2);i=a+2|0;v[f+(i<<2)>>2]=b+(B(c,i)<<2);i=a+3|0;v[f+(i<<2)>>2]=b+(B(c,i)<<2);a=a+4|0;h=h-4|0;if(h){continue}break}}if(!g){break a}while(1){v[((a<<2)+d|0)+24>>2]=b+(B(a,c)<<2);a=a+1|0;g=g-1|0;if(g){continue}break}break a}v[e+12>>2]=3}Ca=e+16|0;return v[e+12>>2]}function cA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=Ca-16|0;Ca=j;d=v[a+28>>2];e=v[a+16>>2];k=v[a+24>>2];v[j+12>>2]=0;a:{b:{g=k+1|0;c:{if(g>>>0<=d>>>0){l=v[a+32>>2];break c}v[a+36>>2]=b;l=Ua(b,4,d,g,v[a+32>>2],j+12|0);v[a+32>>2]=l;if(v[j+12>>2]){break b}v[a+28>>2]=g}g=l;if(k){e=e+10|0;while(1){h=w[e+7|0]|w[e+8|0]<<8|(w[e+9|0]<<16|w[e+10|0]<<24);o=w[e|0];p=w[e+1|0];q=w[e+2|0];d:{e:{f:{b=w[e+3|0]|w[e+4|0]<<8|(w[e+5|0]<<16|w[e+6|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break f}d=b+v[a+16>>2]|0;b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);m=d+7|0;i=0;while(1){if(b>>>0<=i>>>0){break f}d=b;b=b+i>>>1|0;n=m+(b<<2)|0;f=n-3|0;f=w[f+1|0]<<8|w[f|0]<<16|w[f+2|0];if(f>>>0>c>>>0){continue}i=b+1|0;b=d;if(f+w[n|0]>>>0<c>>>0){continue}break}break e}b=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if(!b){break d}d=b+v[a+16>>2]|0;b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break d}m=d+7|0;i=0;while(1){g:{d=b+i>>>1|0;h=m+B(d,5)|0;f=h-3|0;f=w[f+1|0]<<8|w[f|0]<<16|w[f+2|0];h:{if(f>>>0>c>>>0){b=d;break h}if(c>>>0<=f>>>0){break g}i=d+1|0}if(b>>>0>i>>>0){continue}break d}break}if(!(w[h+1|0]|w[h|0]<<8)){break d}}v[g>>2]=p<<8|o<<16|q;g=g+4|0}e=e+11|0;k=k-1|0;if(k){continue}break}}v[g>>2]=0;break a}l=0}Ca=j+16|0;return l|0}function ek(){var a=0,b=0,c=0;a=v[163908];if(!a){while(1){b=654564;a:{a=eb(1,112);if(!a){break a}v[a>>2]=1;v[a+4>>2]=1;if(v[163642]){v[163642]=0}b:{b=v[163641];if(b){if((b|0)<=0){break b}v[163641]=b+1}v[a+12>>2]=654564;b=v[163646];v[a+16>>2]=v[163645];v[a+20>>2]=b;b=v[163648];v[a+24>>2]=v[163647];v[a+28>>2]=b;b=v[163650];v[a+32>>2]=v[163649];v[a+36>>2]=b;b=v[163652];v[a+40>>2]=v[163651];v[a+44>>2]=b;b=v[163654];v[a+48>>2]=v[163653];v[a+52>>2]=b;b=v[163656];v[a+56>>2]=v[163655];v[a+60>>2]=b;c=v[163658];b=a- -64|0;v[b>>2]=v[163657];v[b+4>>2]=c;b=v[163660];v[a+72>>2]=v[163659];v[a+76>>2]=b;b=a;break a}O(281728,281753,262,281768);L()}a=b;if(v[a+4>>2]){c=v[a+80>>2];if(c){Ea[c|0](v[a+48>>2])}v[a+16>>2]=425;v[a+80>>2]=0;v[a+48>>2]=0}a=b;if(v[a+4>>2]){c=v[a+88>>2];if(c){Ea[c|0](v[a+56>>2])}v[a+24>>2]=426;v[a+88>>2]=0;v[a+56>>2]=0}if(v[a+4>>2]){c=v[a+92>>2];if(c){Ea[c|0](v[a+60>>2])}v[a+28>>2]=427;v[a+92>>2]=0;v[a+60>>2]=0}if(v[a+4>>2]){c=v[a+96>>2];if(c){Ea[c|0](v[a- -64>>2])}v[a+32>>2]=428;v[a+96>>2]=0;v[a- -64>>2]=0}if(v[a+4>>2]){c=v[a+100>>2];if(c){Ea[c|0](v[a+68>>2])}v[a+36>>2]=429;v[a+100>>2]=0;v[a+68>>2]=0}if(v[a+4>>2]){c=v[a+104>>2];if(c){Ea[c|0](v[a+72>>2])}v[a+40>>2]=430;v[a+104>>2]=0;v[a+72>>2]=0}if(v[a+4>>2]){v[b+4>>2]=0}b=b?b:654564;a=v[163908];if(!a){v[163908]=b;return b}if(b){if((b|0)!=654564){Mh(b)}a=v[163908]}if(!a){continue}break}}return a}function Ml(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=Ca-16|0;Ca=k;e=v[a+352>>2];i=e+80|0;g=e+92|0;f=v[g>>2];a:{if((f|0)==v[e+88>>2]){if(!_a(i)){b=0;break a}f=v[g>>2]}v[g>>2]=f+1;t[f|0]=0;v[k+12>>2]=c;b:{c:{if(!v[g>>2]){if(!_a(i)){break c}}while(1){if(Ea[v[b+56>>2]](b,k+12|0,d,g,v[e+88>>2])>>>0<2){break b}if(_a(i)){continue}break}}b=0;break a}b=0;if(!v[e+96>>2]){break a}d=v[e+92>>2];if((d|0)==v[e+88>>2]){if(!_a(i)){break a}d=v[g>>2]}v[e+92>>2]=d+1;t[d|0]=0;h=v[e+96>>2];if(!h){break a}j=h+1|0;d=vc(a,e+40|0,j,12);if(!d){break a}d:{if(v[d>>2]!=(j|0)){v[e+92>>2]=v[e+96>>2];break d}f=v[e+92>>2];v[e+96>>2]=f;if(!w[a+232|0]){break d}e:{c=w[j|0];if((c|0)!=120|w[h+2|0]!=109|(w[h+3|0]!=108|w[h+4|0]!=110)){break e}if(w[h+5|0]!=115){break e}b=w[h+6|0];f:{if((b|0)!=58){if(b){break e}v[d+4>>2]=e+152;break f}l=d,m=vc(a,e+60|0,h+7|0,8),v[l+4>>2]=m}t[d+9|0]=1;break d}b=0;while(1){c=c&255;if(!c){break d}g:{if((c|0)==58){if(b){c=0;while(1){if(v[e+88>>2]==(f|0)){if(!_a(i)){b=0;break a}f=v[g>>2]}h=w[c+j|0];v[g>>2]=f+1;t[f|0]=h;f=v[g>>2];c=c+1|0;if((c|0)!=(b|0)){continue}break}}if(v[e+88>>2]==(f|0)){if(!_a(i)){b=0;break a}f=v[g>>2]}v[e+92>>2]=f+1;b=0;t[f|0]=0;a=vc(a,e+60|0,v[e+96>>2],8);v[d+4>>2]=a;if(!a){break a}b=v[a>>2];a=v[e+96>>2];if((b|0)!=(a|0)){break g}v[e+96>>2]=v[e+92>>2];break d}b=b+1|0;c=w[j+b|0];continue}break}v[g>>2]=a}b=d}Ca=k+16|0;return b}function Kp(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Ca-48|0;Ca=g;b=v[a>>2];a:{if(b){break a}h=a-116|0;while(1){d=v[h>>2];if(!d){b=280448;break a}c=g;v[c+16>>2]=0;v[c+20>>2]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;b=Nb(d);t[c+44|0]=1;v[c+40>>2]=b;f=0;b=c+8|0;c=Jb(d,1953653099);e=Hb(c);v[b+28>>2]=e;b:{c:{d:{e:{f:{g:{while(1){t[b+20|0]=f;f=v[e+12>>2];v[b+4>>2]=f;d=v[e+16>>2];v[b+8>>2]=d+f;if((d|0)<=-1){break c}v[b+24>>2]=0;i=b;if(d>>>0>67108862){d=1073741823}else{d=d<<6;d=d>>>0>16384?d:16384;d=d>>>0<1073741823?d:1073741823}v[i+12>>2]=d;v[b>>2]=0;if(!f){Sa(e);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;break b}e=sp(f,b);d=v[b+24>>2];h:{if(e){if(!d){break h}v[b+24>>2]=0;d=sp(f,b);e=v[b+24>>2];Sa(v[b+28>>2]);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(e){break d}if(d){break g}break d}if(w[b+20|0]|!d){break f}d=xc(c);v[b+4>>2]=d;v[b+8>>2]=d+v[c+16>>2];e=v[b+28>>2];f=1;if(d){continue}break e}break}Sa(v[b+28>>2]);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0}if(v[c+4>>2]){v[c+4>>2]=0}break b}e=v[b+28>>2]}Sa(e);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0}Sa(c);c=280448;break b}O(229360,229385,194,229402);L()}c=c?c:280448;b=v[a>>2];if(!b){v[a>>2]=c;b=c;break a}if(c){if((c|0)!=280448){Sa(c)}b=v[a>>2]}if(!b){continue}break}}Ca=g+48|0;return y[b+16>>2]<12?280448:v[b+12>>2]}function gf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Ca-48|0;Ca=g;b=v[a>>2];a:{if(b){break a}h=a-20|0;while(1){d=v[h>>2];if(!d){b=280448;break a}c=g;v[c+16>>2]=0;v[c+20>>2]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;b=Nb(d);t[c+44|0]=1;v[c+40>>2]=b;f=0;b=c+8|0;c=Jb(d,1330851634);e=Hb(c);v[b+28>>2]=e;b:{c:{d:{e:{f:{g:{while(1){t[b+20|0]=f;f=v[e+12>>2];v[b+4>>2]=f;d=v[e+16>>2];v[b+8>>2]=d+f;if((d|0)<=-1){break c}v[b+24>>2]=0;i=b;if(d>>>0>67108862){d=1073741823}else{d=d<<6;d=d>>>0>16384?d:16384;d=d>>>0<1073741823?d:1073741823}v[i+12>>2]=d;v[b>>2]=0;if(!f){Sa(e);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;break b}e=Hx(f,b);d=v[b+24>>2];h:{if(e){if(!d){break h}v[b+24>>2]=0;d=Hx(f,b);e=v[b+24>>2];Sa(v[b+28>>2]);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(e){break d}if(d){break g}break d}if(w[b+20|0]|!d){break f}d=xc(c);v[b+4>>2]=d;v[b+8>>2]=d+v[c+16>>2];e=v[b+28>>2];f=1;if(d){continue}break e}break}Sa(v[b+28>>2]);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0}if(v[c+4>>2]){v[c+4>>2]=0}break b}e=v[b+28>>2]}Sa(e);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0}Sa(c);c=280448;break b}O(246945,246970,194,246987);L()}c=c?c:280448;b=v[a>>2];if(!b){v[a>>2]=c;b=c;break a}if(c){if((c|0)!=280448){Sa(c)}b=v[a>>2]}if(!b){continue}break}}Ca=g+48|0;return y[b+16>>2]<78?280448:v[b+12>>2]}function ff(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Ca-48|0;Ca=g;b=v[a>>2];a:{if(b){break a}h=a-76|0;while(1){d=v[h>>2];if(!d){b=280448;break a}c=g;v[c+16>>2]=0;v[c+20>>2]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;b=Nb(d);t[c+44|0]=1;v[c+40>>2]=b;f=0;b=c+8|0;c=Jb(d,1297498450);e=Hb(c);v[b+28>>2]=e;b:{c:{d:{e:{f:{g:{while(1){t[b+20|0]=f;f=v[e+12>>2];v[b+4>>2]=f;d=v[e+16>>2];v[b+8>>2]=d+f;if((d|0)<=-1){break c}v[b+24>>2]=0;i=b;if(d>>>0>67108862){d=1073741823}else{d=d<<6;d=d>>>0>16384?d:16384;d=d>>>0<1073741823?d:1073741823}v[i+12>>2]=d;v[b>>2]=0;if(!f){Sa(e);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;break b}e=Gx(f,b);d=v[b+24>>2];h:{if(e){if(!d){break h}v[b+24>>2]=0;d=Gx(f,b);e=v[b+24>>2];Sa(v[b+28>>2]);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(e){break d}if(d){break g}break d}if(w[b+20|0]|!d){break f}d=xc(c);v[b+4>>2]=d;v[b+8>>2]=d+v[c+16>>2];e=v[b+28>>2];f=1;if(d){continue}break e}break}Sa(v[b+28>>2]);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0}if(v[c+4>>2]){v[c+4>>2]=0}break b}e=v[b+28>>2]}Sa(e);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0}Sa(c);c=280448;break b}O(246945,246970,194,246987);L()}c=c?c:280448;b=v[a>>2];if(!b){v[a>>2]=c;b=c;break a}if(c){if((c|0)!=280448){Sa(c)}b=v[a>>2]}if(!b){continue}break}}Ca=g+48|0;return y[b+16>>2]<12?280448:v[b+12>>2]}function Om(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;d=Ca-80|0;Ca=d;j=v[a>>2];g=v[j>>2];c=v[g+12>>2]+B(b,12)|0;n=v[c+8>>2];k=v[c+4>>2];i=v[c>>2];l=d- -64|0;m=1;while(1){e=v[j+4>>2];f=d+76|0;c=Ca-32|0;Ca=c;if(k){v[c+16>>2]=0;v[c+8>>2]=n;v[c+4>>2]=k;v[c>>2]=1;e=qi(e,c,h,f,1)}else{e=6}Ca=c+32|0;a:{if(e){v[d+32>>2]=i;hb(g,2,364101,d+32|0);break a}c=v[d+76>>2];m=v[c>>2];Zu(g,c);v[d+72>>2]=0;v[l>>2]=0;v[l+4>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;if(!ev(v[d+76>>2],0,d+40|0)){v[d+16>>2]=i;hb(g,2,364132,d+16|0);zd(v[d+76>>2]);break a}b:{c:{d:{e:{f:{g:{c=eb(1,12);if(!c){e=v[d+40>>2];if(!e){break b}c=0;f=v[d+56>>2];if((f|0)>0){break g}break c}v[c>>2]=g;e=v[d+76>>2];v[c+8>>2]=b;v[c+4>>2]=e;if(!fv(a,d+40|0,0,h,c)){v[d>>2]=i;hb(g,2,364178,d);Pa(c)}e=v[d+40>>2];if(!e){break d}c=0;f=v[d+56>>2];if((f|0)>0){break f}break e}while(1){Pa(v[e+(c<<2)>>2]);c=c+1|0;if((f|0)!=(c|0)){continue}break}break c}while(1){Pa(v[e+(c<<2)>>2]);c=c+1|0;if((f|0)!=(c|0)){continue}break}}Pa(e)}e=v[d+44>>2];if(!e){break a}c=0;f=v[d+60>>2];if((f|0)>0){while(1){Pa(v[e+(c<<2)>>2]);c=c+1|0;if((f|0)!=(c|0)){continue}break}}Pa(e);break a}Pa(e)}e=v[d+44>>2];if(e){c=0;f=v[d+60>>2];if((f|0)>0){while(1){Pa(v[e+(c<<2)>>2]);c=c+1|0;if((f|0)!=(c|0)){continue}break}}Pa(e)}zd(v[d+76>>2])}h=h+1|0;if((m|0)>(h|0)){continue}break}Ca=d+80|0}function hf(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;k=w[a+1|0];if(!(k|w[a|0]<<8)){return 0}l=v[b+116>>2];i=v[b+92>>2];if(k&1){j=v[e+8>>2];h=w[d+1|0]|w[d|0]<<8;g=h<<16;f=g>>31;f=eQ(v[i+32>>2],v[i+36>>2],g>>16,f);v[e+8>>2]=j+((Da&65535)<<16|f>>>16);h=(h|0)!=0;d=d+2|0}if(k&2){m=v[e+12>>2];j=w[d+1|0]|w[d|0]<<8;g=j<<16;f=g>>31;f=eQ(v[i+40>>2],v[i+44>>2],g>>16,f);v[e+12>>2]=m+((Da&65535)<<16|f>>>16);h=(j|0)!=0|h;d=d+2|0}l=l&-2;if(k&4){if((l|0)==4){m=v[e>>2];j=w[d+1|0]|w[d|0]<<8;g=j<<16;f=g>>31;f=eQ(v[i+32>>2],v[i+36>>2],g>>16,f);v[e>>2]=m+((Da&65535)<<16|f>>>16);h=(j|0)!=0|h}d=d+2|0}if(k&8){if((l|0)!=4){m=v[e+4>>2];j=w[d+1|0]|w[d|0]<<8;g=j<<16;f=g>>31;f=eQ(v[i+40>>2],v[i+44>>2],g>>16,f);v[e+4>>2]=m-((Da&65535)<<16|f>>>16);h=(j|0)!=0|h}d=d+2|0}a:{if(w[a+1|0]<16){break a}f=1;a=1;a=v[i+48>>2]?a:v[i+60>>2]!=0;if(!v[i+52>>2]){f=v[i+60>>2]!=0;if((f|a)!=1){break a}}b=v[b+112>>2];if(k&16){if(a){g=w[d+1|0]|w[d|0]<<8;n=e,o=Xj(g?g+c|0:280448,i,b)+v[e+8>>2]|0,v[n+8>>2]=o;h=(g|0)!=0|h}d=d+2|0}if(k&32){if(f){g=w[d+1|0]|w[d|0]<<8;n=e,o=Yj(g?g+c|0:280448,i,b)+v[e+12>>2]|0,v[n+12>>2]=o;h=(g|0)!=0|h}d=d+2|0}if(k&64){if(!(a^1|(l|0)!=4)){a=w[d+1|0]|w[d|0]<<8;n=e,o=Xj(a?a+c|0:280448,i,b)+v[e>>2]|0,v[n>>2]=o;h=(a|0)!=0|h}d=d+2|0}if(!f|(!(k&128)|(l|0)==4)){break a}a=w[d+1|0]|w[d|0]<<8;b=Yj(a?a+c|0:280448,i,b);v[e+4>>2]=v[e+4>>2]-b;h=(a|0)!=0|h}return h}function Vw(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Ca-48|0;Ca=g;b=v[a>>2];a:{if(b){break a}h=a-68|0;while(1){d=v[h>>2];if(!d){b=280448;break a}c=g;v[c+16>>2]=0;v[c+20>>2]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;b=Nb(d);t[c+44|0]=1;v[c+40>>2]=b;f=0;b=c+8|0;c=Jb(d,1635148146);e=Hb(c);v[b+28>>2]=e;b:{c:{d:{e:{f:{g:{while(1){t[b+20|0]=f;f=v[e+12>>2];v[b+4>>2]=f;d=v[e+16>>2];v[b+8>>2]=d+f;if((d|0)<=-1){break c}v[b+24>>2]=0;i=b;if(d>>>0>67108862){d=1073741823}else{d=d<<6;d=d>>>0>16384?d:16384;d=d>>>0<1073741823?d:1073741823}v[i+12>>2]=d;v[b>>2]=0;if(!f){Sa(e);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;break b}e=Sw(f,b);d=v[b+24>>2];h:{if(e){if(!d){break h}v[b+24>>2]=0;d=Sw(f,b);e=v[b+24>>2];Sa(v[b+28>>2]);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(e){break d}if(d){break g}break d}if(w[b+20|0]|!d){break f}d=xc(c);v[b+4>>2]=d;v[b+8>>2]=d+v[c+16>>2];e=v[b+28>>2];f=1;if(d){continue}break e}break}Sa(v[b+28>>2]);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0}if(v[c+4>>2]){v[c+4>>2]=0}break b}e=v[b+28>>2]}Sa(e);v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0}Sa(c);c=280448;break b}O(256980,257005,194,257022);L()}c=c?c:280448;b=v[a>>2];if(!b){v[a>>2]=c;b=c;break a}if(c){if((c|0)!=280448){Sa(c)}b=v[a>>2]}if(!b){continue}break}}Ca=g+48|0;return y[b+16>>2]<8?280448:v[b+12>>2]}function FL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{e=v[a+28>>2];if(!w[e+44|0]){f=v[b+4>>2];g=v[b>>2];t[e+44|0]=1;d=v[e+20>>2];if(!d){c=3;break b}c:{if(w[e+45|0]){c=v[e+12>>2];if((u[c+20>>1]+u[c+56>>1]|0)+1>>>0>y[c+8>>2]){c=mc(c,0,1);if(c){break b}}h=x[d>>1];c=h<<16>>16;if((c|0)<1){break c}u[(v[d+12>>2]+(h<<1)|0)-2>>1]=x[d+2>>1]-1}c=x[d>>1]}u[d>>1]=c+1;c=v[e+12>>2];if((u[c+22>>1]+u[c+58>>1]|0)+1>>>0>y[c+4>>2]){c=mc(c,1,0);if(c){break b}}c=v[e+20>>2];if(w[e+45|0]){d=v[c+8>>2];h=u[c+2>>1];i=v[c+4>>2]+(h<<3)|0;v[i+4>>2]=f>>10;v[i>>2]=g>>10;t[d+h|0]=1}u[c+2>>1]=x[c+2>>1]+1}d:{c=v[e+12>>2];if((u[c+22>>1]+u[c+58>>1]|0)+3>>>0<=y[c+4>>2]){break d}c=mc(c,3,0);if(!c){break d}a=v[a+24>>2];if(v[a>>2]){break a}v[a>>2]=c;return}a=v[e+20>>2];e:{f:{g:{if(!w[e+45|0]){u[a+2>>1]=x[a+2>>1]+1;break g}c=v[a+8>>2];d=v[b+8>>2];f=u[a+2>>1];g=v[a+4>>2]+(f<<3)|0;v[g+4>>2]=v[b+12>>2]>>10;v[g>>2]=d>>10;t[c+f|0]=2;d=w[e+45|0];c=v[e+20>>2];u[a+2>>1]=x[a+2>>1]+1;if(d){break f}a=c}u[a+2>>1]=x[a+2>>1]+1;break e}a=v[c+8>>2];d=v[b+16>>2];f=u[c+2>>1];g=v[c+4>>2]+(f<<3)|0;v[g+4>>2]=v[b+20>>2]>>10;v[g>>2]=d>>10;t[a+f|0]=2;d=w[e+45|0];a=v[e+20>>2];u[c+2>>1]=x[c+2>>1]+1;if(!d){break e}c=v[a+8>>2];e=v[b+24>>2];d=u[a+2>>1];f=v[a+4>>2]+(d<<3)|0;v[f+4>>2]=v[b+28>>2]>>10;v[f>>2]=e>>10;t[c+d|0]=1}u[a+2>>1]=x[a+2>>1]+1;break a}a=v[a+24>>2];if(v[a>>2]){break a}v[a>>2]=c}}function rp(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;k=Ca-16|0;Ca=k;v[k+12>>2]=c;i=v[b+4>>2];a:{if(i>>>0>a>>>0){break a}g=v[b+8>>2];if(g>>>0<a>>>0|g-a>>>0<8){break a}f=v[b+12>>2];e=f-8|0;v[b+12>>2]=e;if((e|0)<1){break a}e=a+4|0;if(e>>>0<i>>>0|e>>>0>g>>>0|g-e>>>0<4){break a}f=f-12|0;v[b+12>>2]=f;if((f|0)<1){break a}e=t[e|0];if((e|0)<0){break a}h=w[a+3|0]|w[a+2|0]<<8;if(h){c=(w[a+7|0]|(w[a+5|0]<<16|(e&255)<<24|w[a+6|0]<<8))+c|0;if(c>>>0<i>>>0|c>>>0>g>>>0){break a}e=g-c|0;c=h<<2;if(e>>>0<c>>>0){break a}c=f-c|0;v[b+12>>2]=c;if((c|0)<1){break a}}g=a+8|0;c=0;b:{c:{e=w[a+1|0]|w[a|0]<<8;d:{if(e>>>0>536870910){break d}d=1;if(!e){break b}if(g>>>0<y[b+4>>2]){break d}d=v[b+8>>2];if(d>>>0<g>>>0){break d}f=d-g|0;d=e<<3;if(f>>>0<d>>>0){break d}d=v[b+12>>2]-d|0;v[b+12>>2]=d;if((d|0)<1){break d}i=v[b+4>>2];m=v[k+12>>2];f=0;while(1){d=g+(f<<3)|0;if(d>>>0<i>>>0){break c}c=v[b+8>>2];if(c>>>0<d>>>0|c-d>>>0<8){break c}l=w[a+2|0];n=w[a+3|0];j=v[b+12>>2];h=j-8|0;v[b+12>>2]=h;if((h|0)<1){break c}h=d+6|0;if(h>>>0<i>>>0|c>>>0<h>>>0|c-h>>>0<2){break c}j=j-10|0;v[b+12>>2]=j;if((j|0)<1){break c}e:{l=l<<8|n;if(!l){break e}d=(w[d+7|0]|w[h|0]<<8)+m|0;if(d>>>0<i>>>0|c>>>0<d>>>0){break c}d=c-d|0;c=l<<1;if(d>>>0<c>>>0){break c}c=j-c|0;v[b+12>>2]=c;if((c|0)>=1){break e}break c}c=1;f=f+1|0;if((e|0)!=(f|0)){continue}break}}d=c;break b}d=0}}Ca=k+16|0;return d}function Gq(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;v[d>>2]=0;v[d+4>>2]=0;h=b?b-1|0:0;b=v[a+408>>2];a:{if(h>>>0>b>>>0){break a}c=c?c-1|0:0;if(c>>>0>b>>>0){break a}b=v[a+424>>2];if(!b){break a}i=c<<4;c=v[a+416>>2];c=x[i+c>>1]|v[c+(h<<4)>>2]<<16;j=v[a+104>>2];while(1){if(!(c>>>0<=y[b+20>>2]?c>>>0>=y[b+16>>2]:0)){b=v[b>>2];if(b){continue}break a}break}e=Ya(j,v[b+12>>2]);if(e){break a}e=vb(j,B(v[b+8>>2],w[b+4|0]));if(e){break a}a=w[b+5|0];k=a&1;l=a>>>1&1;h=v[b+8>>2];e=v[j+32>>2];a=w[b+4|0];g=-2147483648>>>E(a)|0;a=a-g|0;b:{c:{d:{if(!a){break d}a=B(a,h)+e|0;e:{if(k){f=w[a+1|0]<<16|w[a|0]<<24|w[a+2|0]<<8;i=a+3|0;a=a+4|0;break e}i=a+1|0;f=w[a|0]<<16;a=a+2|0}f=w[i|0]|f;if((f|0)==(c|0)){break c}if(c>>>0<=f>>>0){break d}e=(l?2:1)+a|0}a=B(g,h);f:{if(h>>>0>=a>>>0){break f}if(!k){while(1){a=a>>>1|0;g=e+a|0;f=w[g|0]<<16|w[g+1|0];if((f|0)==(c|0)){a=g+2|0;break c}e=c>>>0>f>>>0?g:e;if(a>>>0>h>>>0){continue}break f}}while(1){a=a>>>1|0;g=e+a|0;f=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if((f|0)==(c|0)){a=g+4|0;break c}e=c>>>0>f>>>0?g:e;if(a>>>0>h>>>0){continue}break}}g:{if(k){h=e+3|0;a=e+4|0;e=w[e+1|0]<<16|w[e|0]<<24|w[e+2|0]<<8;break g}h=e+1|0;a=e+2|0;e=w[e|0]<<16}if((c|0)!=(e|w[h|0])){break b}}c=w[a|0];if(l){c=(w[a+1|0]|c<<8)<<16>>16}v[d>>2]=u[b+6>>1]+c}pb(j);e=0}return e|0}function Aj(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;h=Ca-16|0;e=1;a:{b:{c:{switch(v[a>>2]){case 1:break a;case 0:break b;default:break c}}while(1){i=e;while(1){f=B(i,12)+b|0;d=f-12|0;if(v[f>>2]<v[d>>2]){v[h+8>>2]=v[f+8>>2];g=v[f+4>>2];v[h>>2]=v[f>>2];v[h+4>>2]=g;v[f+8>>2]=v[d+8>>2];g=v[d+4>>2];v[f>>2]=v[d>>2];v[f+4>>2]=g;v[d+8>>2]=v[h+8>>2];f=v[h+4>>2];v[d>>2]=v[h>>2];v[d+4>>2]=f;i=i-1|0;if(i){continue}}break}e=e+1|0;j=v[a>>2];if(e>>>0<j>>>0){continue}break}e=1;if(j>>>0<2){break b}l=j-1|0;m=v[b>>2];h=0;d=1;while(1){f=v[B(d,12)+b>>2]-m|0;d:{if(!((d|0)==(l|0)|(f|0)>(c|0))){f=d;break d}i=0;g=(d|0)==(l|0)&(c|0)>=(f|0);f=g+d|0;e=h;e:{if(h>>>0>=f>>>0){break e}e=(d+g|0)-h|0;k=e&3;d=h;if(e-1>>>0>=3){e=e&-4;while(1){g=B(d,12)+b|0;n=v[g>>2];v[g>>2]=0;o=v[g+12>>2];v[g+12>>2]=0;p=v[g+24>>2];v[g+24>>2]=0;q=v[g+36>>2];v[g+36>>2]=0;i=q+(((i+n|0)+o|0)+p|0)|0;d=d+4|0;e=e-4|0;if(e){continue}break}}e=f;if(!k){break e}while(1){e=B(d,12)+b|0;g=v[e>>2];v[e>>2]=0;d=d+1|0;i=g+i|0;k=k-1|0;if(k){continue}break}e=f}v[B(h,12)+b>>2]=(i|0)/(e|0);if(f>>>0>=l>>>0){break d}h=f+1|0;m=v[B(h,12)+b>>2]}d=f+1|0;if(j>>>0>d>>>0){continue}break}e=1;if(j>>>0<=1){break b}d=1;while(1){c=B(d,12)+b|0;if(v[c>>2]){h=v[c+4>>2];f=B(e,12)+b|0;v[f>>2]=v[c>>2];v[f+4>>2]=h;v[f+8>>2]=v[c+8>>2];j=v[a>>2];e=e+1|0}d=d+1|0;if(j>>>0>d>>>0){continue}break}}v[a>>2]=e}}function dc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Ca-16|0;Ca=g;a:{if(!a){break a}d=Va(20);if(!d){break a}v[d+16>>2]=3;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=1;v[d+4>>2]=0;a=ib(a);b:{if(!a){break b}if(!wf(d,a,0)){Pa(a);break b}v[g+12>>2]=b;c:{while(1){a=v[g+12>>2];v[g+12>>2]=a+4;a=v[a>>2];if(!a){break c}a=ib(a);if(!a){break b}if(wf(d,a,v[d+4>>2])){continue}break}Pa(a);break b}a=Va(8);d:{if(!a){a=0;e=v[1];break d}v[a>>2]=d;if(v[d>>2]!=-1){v[d>>2]=v[d>>2]+1}v[a+4>>2]=0;e=0}b=v[a>>2];h=v[b+4>>2];e:{if((e|0)>=(h|0)){break e}i=v[b+12>>2];while(1){c=e+1|0;v[a+4>>2]=c;e=v[(e<<2)+i>>2];if(!e){break e}f=(Xa(e)+f|0)+1|0;e=c;if((c|0)<(h|0)){continue}break}}v[a+4>>2]=0;e=Va(f+1|0);if(e){c=e;f:{if((h|0)<1){break f}f=0;while(1){b=v[b+12>>2];v[a+4>>2]=f+1;f=v[b+(f<<2)>>2];if(!f){break f}b=e;if((c|0)!=(b|0)){t[c|0]=47;b=c+1|0}c=b;b=Xa(f);c=Ta(c,f,b)+b|0;f=v[a+4>>2];b=v[a>>2];if((f|0)<v[b+4>>2]){continue}break}}t[c|0]=0;b=v[a>>2]}g:{if(v[b>>2]==-1){break g}c=v[b>>2];v[b>>2]=c-1;if((c|0)!=1){break g}if(v[b+4>>2]>=1){c=0;while(1){Pa(v[v[b+12>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)<v[b+4>>2]){continue}break}}c=v[b+12>>2];if(c){Pa(c)}Pa(b)}Pa(a)}if(v[d>>2]==-1){break a}a=v[d>>2];v[d>>2]=a-1;if((a|0)!=1){break a}if(v[d+4>>2]>=1){a=0;while(1){Pa(v[v[d+12>>2]+(a<<2)>>2]);a=a+1|0;if((a|0)<v[d+4>>2]){continue}break}}a=v[d+12>>2];if(a){Pa(a)}Pa(d)}Ca=g+16|0;return e}function Mv(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if(d){h=(f|0)==2;m=h?256:128;n=h?128:256;l=0-f|0;while(1){i=v[c+16>>2];a:{if(i&16){break a}k=v[c+28>>2];b:{g=t[c+20|0];c:{if((g|0)==(f|0)|(g|0)==(l|0)){break c}g=t[c+21|0];if((g|0)==(f|0)){break c}if((g|0)!=(l|0)){break b}}if(!g){break b}if((f|0)==(g|0)){g=0;if(!a){break a}while(1){h=v[(g<<2)+b>>2];j=k-v[h>>2]|0;if(!((0-j|0)<(e|0)?(j|0)<(e|0):0)){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}v[c+24>>2]=h;v[c+16>>2]=i|528;break a}if((g|0)!=(l|0)){break a}g=0;if(!a){break a}while(1){h=v[(g<<2)+b>>2];j=k-(v[h>>2]+v[h+4>>2]|0)|0;if(!((0-j|0)<(e|0)?(j|0)<(e|0):0)){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}v[c+24>>2]=h;v[c+16>>2]=i|1040;break a}if(!(i&64)){break a}o=c;d:{e:{if(i&n){g=0;if(!a){break a}while(1){j=v[(g<<2)+b>>2];h=k-v[j>>2]|0;if(!((0-h|0)<(e|0)?(h|0)<(e|0):0)){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=i|528;break e}if(!(i&m)){break d}g=0;if(!a){break d}while(1){j=v[(g<<2)+b>>2];h=k-(v[j>>2]+v[j+4>>2]|0)|0;if(!((0-h|0)<(e|0)?(h|0)<(e|0):0)){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=i|1040}v[o+16>>2]=g;v[c+24>>2]=j}if(v[c+24>>2]){break a}g=0;if(!a){break a}while(1){h=v[(g<<2)+b>>2];i=v[h>>2];if(!((i|0)>(k|0)|(i+v[h+4>>2]|0)<(k|0))){v[c+24>>2]=h;break a}g=g+1|0;if((g|0)!=(a|0)){continue}break}}c=c+40|0;d=d-1|0;if(d){continue}break}}}function Mq(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,q=0,r=0;j=Ca-16|0;Ca=j;v[j+12>>2]=0;k=v[a+4>>2];q=v[k+8>>2];e=3;a:{if(d?0:c){break a}t[a|0]=0;if(y[k+3112>>2]<=b>>>0|(x[k+3120>>1]!=(c|0)?c:0)){break a}o=v[k+3116>>2]+(b<<3)|0;p=v[o>>2];f=p+1|0;g=Ua(q,4,v[a+20>>2],f,v[a+24>>2],j+12|0);v[a+24>>2]=g;e=v[j+12>>2];if(e){break a}v[a+20>>2]=f;b:{if(!f){break b}f=0;if(!c){while(1){c:{if(f){e=f<<2;if(y[(e+v[o+4>>2]|0)-4>>2]>=y[k+3124>>2]){e=3;break a}v[e+g>>2]=0;break c}v[g>>2]=65536}e=(f|0)==(p|0);f=f+1|0;if(!e){continue}break b}}while(1){d:{if(!f){v[g>>2]=65536;break d}n=f<<2;e=v[(n+v[o+4>>2]|0)-4>>2];if(e>>>0>=y[k+3124>>2]){e=3;break a}h=v[k+3128>>2];v[g+n>>2]=65536;r=h+(e<<2)|0;e=0;while(1){g=65536;i=v[r>>2]+B(e,12)|0;h=v[i+4>>2];l=v[i>>2];e:{if((h|0)<(l|0)){break e}m=v[i+8>>2];if(!h|((h|0)>(m|0)|!(!h|((m|0)<1|(l|0)>-1)))){break e}g=0;i=v[(e<<2)+d>>2];if((i|0)<(l|0)|(i|0)>(m|0)){break e}g=65536;if((h|0)==(i|0)){break e}if((h|0)>(i|0)){g=ab(i-l|0,h-l|0);break e}g=ab(m-i|0,m-h|0)}h=Qa(v[v[a+24>>2]+n>>2],g);g=v[a+24>>2];v[n+g>>2]=h;e=e+1|0;if((e|0)!=(c|0)){continue}break}}e=(f|0)!=(p|0);f=f+1|0;if(e){continue}break}}v[a+8>>2]=b;if(c){b=Ua(q,4,v[a+12>>2],c,v[a+16>>2],j+12|0);v[a+16>>2]=b;e=v[j+12>>2];if(e){break a}Ta(b,d,c<<2)}t[a|0]=1;v[a+12>>2]=c;e=v[j+12>>2]}Ca=j+16|0;return e|0}function zy(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;d=280448;c=v[v[v[a+96>>2]+136>>2]>>2];c=c?c:280448;c=y[c+16>>2]<10?280448:v[c+12>>2];e=w[c+9|0]|w[c+8|0]<<8;c=e?c+e|0:280448;if((w[c|0]<<8|w[c+1|0])>>>0>b>>>0){d=c+(b<<1)|0;d=w[d+2|0]<<8|w[d+3|0];d=d?d+c|0:280448}m=v[a+128>>2];v[a+128>>2]=b;b=w[d+3|0];c=b|w[d+2|0]<<8;e=v[a+132>>2];if(b&16){b=(d+4|0)+(w[d+5|0]<<1|w[d+4|0]<<9)|0;c=w[b+2|0]<<24|c|w[b+3|0]<<16}v[a+132>>2]=c;b=0;v[a+36>>2]=0;v[a+8>>2]=a;v[a+28>>2]=0;v[a+32>>2]=0;v[a+12>>2]=c;v[a+80>>2]=0;v[a+52>>2]=a;f=v[a+120>>2];v[a+20>>2]=f;g=w[a+142|0];t[a+17|0]=g;v[a+72>>2]=0;v[a+76>>2]=0;v[a+56>>2]=c;v[a- -64>>2]=-1;h=1;t[a+61|0]=1;i=v[a+124>>2];c=(i|0)==1;t[a+16|0]=c;j=w[a+141|0];t[a+60|0]=c|(j|0)!=0;k=w[d+5|0];c=w[d+4|0];l=k|c<<8;a:{if(!l){h=0;break a}f=d+4|0;g=w[d+1|0]|w[d|0]<<8;while(1){b:{c=((c&255)<<8|k)>>>0>b>>>0?(f+(b<<1)|0)+2|0:280448;c=w[c|0]<<8|w[c+1|0];if(Pn(c?c+d|0:280448,a,g)){break b}b=b+1|0;h=l>>>0>b>>>0;if((b|0)==(l|0)){break b}k=w[d+5|0];c=w[d+4|0];continue}break}j=w[a+141|0];f=v[a+120>>2];g=w[a+142|0];i=v[a+124>>2]}v[a+132>>2]=e;v[a+128>>2]=m;v[a+36>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+80>>2]=0;v[a+20>>2]=f;t[a+17|0]=g;v[a+12>>2]=e;v[a+72>>2]=0;v[a+76>>2]=0;v[a+64>>2]=-1;t[a+61|0]=1;v[a+56>>2]=e;b=(i|0)==1;t[a+16|0]=b;t[a+60|0]=b|(j|0)!=0;v[a+8>>2]=a;v[a+52>>2]=a;return h|0}function xy(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;d=280448;c=v[v[v[a+96>>2]+140>>2]>>2];c=c?c:280448;c=y[c+16>>2]<10?280448:v[c+12>>2];e=w[c+9|0]|w[c+8|0]<<8;c=e?c+e|0:280448;if((w[c|0]<<8|w[c+1|0])>>>0>b>>>0){d=c+(b<<1)|0;d=w[d+2|0]<<8|w[d+3|0];d=d?d+c|0:280448}m=v[a+128>>2];v[a+128>>2]=b;b=w[d+3|0];c=b|w[d+2|0]<<8;e=v[a+132>>2];if(b&16){b=(d+4|0)+(w[d+5|0]<<1|w[d+4|0]<<9)|0;c=w[b+2|0]<<24|c|w[b+3|0]<<16}v[a+132>>2]=c;b=0;v[a+36>>2]=0;v[a+8>>2]=a;v[a+28>>2]=0;v[a+32>>2]=0;v[a+12>>2]=c;v[a+80>>2]=0;v[a+52>>2]=a;f=v[a+120>>2];v[a+20>>2]=f;g=w[a+142|0];t[a+17|0]=g;v[a+72>>2]=0;v[a+76>>2]=0;v[a+56>>2]=c;v[a- -64>>2]=-1;h=1;t[a+61|0]=1;i=v[a+124>>2];c=(i|0)==1;t[a+16|0]=c;j=w[a+141|0];t[a+60|0]=c|(j|0)!=0;k=w[d+5|0];c=w[d+4|0];l=k|c<<8;a:{if(!l){h=0;break a}f=d+4|0;g=w[d+1|0]|w[d|0]<<8;while(1){b:{c=((c&255)<<8|k)>>>0>b>>>0?(f+(b<<1)|0)+2|0:280448;c=w[c|0]<<8|w[c+1|0];if(Ln(c?c+d|0:280448,a,g)){break b}b=b+1|0;h=l>>>0>b>>>0;if((b|0)==(l|0)){break b}k=w[d+5|0];c=w[d+4|0];continue}break}j=w[a+141|0];f=v[a+120>>2];g=w[a+142|0];i=v[a+124>>2]}v[a+132>>2]=e;v[a+128>>2]=m;v[a+36>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+80>>2]=0;v[a+20>>2]=f;t[a+17|0]=g;v[a+12>>2]=e;v[a+72>>2]=0;v[a+76>>2]=0;v[a+64>>2]=-1;t[a+61|0]=1;v[a+56>>2]=e;b=(i|0)==1;t[a+16|0]=b;t[a+60|0]=b|(j|0)!=0;v[a+8>>2]=a;v[a+52>>2]=a;return h|0}function SJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;o=1;k=(c<<1)+e|0;f=w[a|0];if(c>>>0<2){g=f}else{h=1;g=c-1|0;m=g&1;a:{if((c|0)==2){g=f;break a}i=g&-2;g=f;while(1){n=h<<1;j=n-2|0;p=f;f=w[a+h|0];l=f+g|0;g=p+l|0;u[j+e>>1]=g;u[k+j>>1]=g;j=h+1|0;g=w[j+a|0];f=f+g|0;l=l+f|0;u[e+n>>1]=l;u[k+n>>1]=l;h=h+2|0;i=i-2|0;if(i){continue}break}}if(m){j=f;i=(h<<1)-2|0;f=g;g=w[a+h|0];f=f+g|0;j=j+f|0;u[i+e>>1]=j;u[i+k>>1]=j;j=h}g=g&255}h=j<<1;f=f+g|0;u[h+e>>1]=f;u[h+k>>1]=f;if(d>>>0>=2){i=1;b:{if(c>>>0>=2){while(1){j=B(i-1|0,b)+a|0;n=B(b,i)+a|0;h=w[n|0];f=h;g=1;while(1){m=g-1|0;l=m<<1;o=l+e|0;r=x[o>>1];p=o;q=h;h=f;o=g;f=w[g+n|0];h=h+f|0;q=q+h|0;u[p>>1]=q;p=j+m|0;m=k+l|0;l=r+q|0;t[p|0]=x[m>>1]+l>>>4;u[m>>1]=l;g=g+1|0;if((g|0)!=(c|0)){continue}break}g=o<<1;n=g+e|0;m=x[n>>1];f=f+h|0;u[n>>1]=f;f=f+m|0;g=g+k|0;t[j+o|0]=f+x[g>>1]>>>4;u[g>>1]=f;i=i+1|0;if((i|0)!=(d|0)){continue}break b}}while(1){f=x[e>>1];g=w[B(b,i)+a|0]<<1;u[e>>1]=g;f=f+g|0;t[B(i-1|0,b)+a|0]=f+x[k>>1]>>>4;u[k>>1]=f;i=i+1|0;if((i|0)!=(d|0)){continue}break}}o=d}c:{if(!c){break c}a=B(o-1|0,b)+a|0;h=0;if((c|0)!=1){f=c&-2;while(1){b=h<<1;t[a+h|0]=x[b+e>>1]+x[b+k>>1]>>>4;d=h|1;b=d<<1;t[a+d|0]=x[b+e>>1]+x[b+k>>1]>>>4;h=h+2|0;f=f-2|0;if(f){continue}break}}if(!(c&1)){break c}b=a+h|0;a=h<<1;t[b|0]=x[a+e>>1]+x[a+k>>1]>>>4}}function sx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=v[b+4>>2];a:{if(e>>>0>a>>>0){break a}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<4){break a}h=v[b+12>>2]-4|0;v[b+12>>2]=h;if((h|0)<1){break a}f=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(f>>>0>1073741822){break a}if(!f){return 1}i=e;e=a+4|0;if(i>>>0>e>>>0|d>>>0<e>>>0){break a}e=d-e|0;d=f<<2;if(e>>>0<d>>>0){break a}d=h-d|0;v[b+12>>2]=d;if((d|0)<1){break a}g=1;d=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);l=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!l){break a}h=0;while(1){j=v[c>>2];g=0;d=((h<<2)+a|0)+4|0;k=v[b+4>>2];b:{if(d>>>0<k>>>0){break b}f=v[b+8>>2];if(f>>>0<d>>>0|f-d>>>0<4){break b}i=v[b+12>>2];e=i-4|0;v[b+12>>2]=e;if((e|0)<1){break b}g=t[d|0];e=w[d+3|0]|(w[d+1|0]<<16|g<<24|w[d+2|0]<<8);m=(e|0)!=0&(g|0)<0;g=!m;if(!e|m){break b}e=e+j|0;c:{if(e>>>0<k>>>0|f>>>0<e>>>0|f-e>>>0<4){break c}j=i-8|0;v[b+12>>2]=j;if((j|0)<1){break c}i=v[b+32>>2]+1|0;if(i>>>0>1073741822){break c}g=1;if(!i){break b}e=e+4|0;if(e>>>0<k>>>0|f>>>0<e>>>0){break c}e=f-e|0;f=i<<2;if(e>>>0<f>>>0){break c}f=j-f|0;v[b+12>>2]=f;if((f|0)>0){break b}}g=0;f=v[b+24>>2];if(f>>>0>31){break b}v[b+24>>2]=f+1;if(!w[b+20|0]){break b}t[d|0]=0;t[d+1|0]=0;t[d+2|0]=0;t[d+3|0]=0;g=1}if(!g){break a}h=h+1|0;if((l|0)!=(h|0)){continue}break}}return g}function Nl(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;h=v[b>>2];j=w[d|0];a:{b:{if(!j){i=28;if(h){break a}h=1;i=40;g=1;break b}c:{if(!h|w[h|0]!=120|(w[h+1|0]!=109|w[h+2|0]!=108)){break c}g=w[h+3|0];if(!g){h=1;while(1){if(w[f+509280|0]==(j|0)?!(h&255)|f>>>0>36:1){h=0}k=1;i=38;g=1;f=f+1|0;j=w[f+d|0];if(j){continue}break}break b}if(w[h+5|0]|((g|0)!=110|w[h+4|0]!=115)){break c}return 39}g=1;h=1;while(1){i=g;g=0;d:{if(!(h&255)){break d}if(f>>>0<=36){g=h;if(w[f+509280|0]==(j|0)){break d}}g=0}h=g;g=0;e:{if(!(i&255)){break e}if(f>>>0<=29){g=i;if(w[f+509328|0]==(j|0)){break e}}g=0}f=f+1|0;j=w[f+d|0];if(j){continue}break}i=40}if(((f|0)==36&(h&255)!=0)!=(k|0)){break a}if(g&255){i=40;if((f|0)==29){break a}}h=(w[a+468|0]!=0)+f|0;f=v[a+372>>2];f:{if(f){if((h|0)>v[f+24>>2]){g=h+24|0;i=Ea[v[a+16>>2]](v[f+16>>2],g)|0;if(!i){return 1}v[f+24>>2]=g;v[f+16>>2]=i}v[a+372>>2]=v[f+4>>2];break f}i=1;f=Ea[v[a+12>>2]](28)|0;if(!f){break a}g=h+24|0;i=Ea[v[a+12>>2]](g)|0;v[f+16>>2]=i;if(!i){Ea[v[a+20>>2]](f);return 1}v[f+24>>2]=g}v[f+20>>2]=h;Ta(v[f+16>>2],d,h);g=w[a+468|0];if(g){t[(h+v[f+16>>2]|0)-1|0]=g}v[f+12>>2]=c;v[f>>2]=b;v[f+8>>2]=v[b+4>>2];g=b;if(w[d|0]|(v[a+352>>2]+152|0)!=(b|0)){h=f}else{h=0}v[g+4>>2]=h;v[f+4>>2]=v[e>>2];v[e>>2]=f;i=0;if(!c){break a}c=v[a+100>>2];if(!c){break a}Ea[c|0](v[a+4>>2],v[b>>2],v[b+4>>2]?d:0)}return i}function tz(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;e=v[a+804>>2];a:{b:{if(e){d=6;if(y[a+28>>2]<=b>>>0){break a}b=v[e+(b<<2)>>2];break b}d=6;if(y[a+800>>2]<=b>>>0){break a}}d=2;c:{d:{switch(v[a+796>>2]-1|0){case 0:case 1:f=v[a+788>>2]+B(b,48)|0;h=w[f+52|0];u[c>>1]=h;i=w[f+53|0];u[c+2>>1]=i;e=t[f+24|0];g=e<<6;v[c+12>>2]=g;j=t[f+25|0];d=j<<6;v[c+16>>2]=d;b=t[f+33|0];k=c;e:{f:{if((j|0)>=1){if((b|0)>-1){break e}d=0-d|0;break f}if(e|j){break e}d=t[f+32|0];if(d|b){g=d<<6;v[c+12>>2]=g;d=b<<6;break f}g=i<<6;v[c+12>>2]=g;d=0}v[k+16>>2]=d}b=g-d|0;v[c+20>>2]=b;if(!b){b=i<<6;v[c+20>>2]=b;v[c+16>>2]=g-b}v[c+24>>2]=t[f+31|0]+(w[f+26|0]+t[f+30|0]|0)<<6;b=a+178|0;break c;case 2:break d;default:break a}}d=3;b=v[a+788>>2]+(b<<2)|0;b=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(y[a+864>>2]<b+4>>>0){break a}e=v[a+104>>2];d=Ya(e,b+v[a+860>>2]|0);if(d){break a}d=vb(e,4);if(d){break a}d=Cb(e);Cb(e);pb(e);b=a+178|0;e=x[b>>1];u[c+2>>1]=d;u[c>>1]=d;d=d<<6;l=c,m=fb(u[a+220>>1],d,e),v[l+12>>2]=m;l=c,m=fb(u[a+222>>1],d,e),v[l+16>>2]=m;l=c,m=fb(u[a+224>>1]+(u[a+220>>1]-u[a+222>>1]|0)|0,d,e),v[l+20>>2]=m;l=c,m=fb(x[a+226>>1],d,e),v[l+24>>2]=m;h=x[c>>1]}l=c,m=fb(h,4194304,x[b>>1]),v[l+4>>2]=m;l=c,m=fb(x[c+2>>1],4194304,x[b>>1]),v[l+8>>2]=m;d=0}return d|0}function dt(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;g=Ca+-64|0;Ca=g;h=v[c>>2];v[g+52>>2]=h;a:{if(v[a+144>>2]==(b|0)){v[a+284>>2]=h;j=a+284|0;i=a+288|0;break a}j=v[a+296>>2];i=j+4|0}v[j>>2]=h;v[c>>2]=0;k=Ea[v[b+12>>2]](b,h,d,g+52|0)|0;b:{if(!ye(a,k,h,v[g+52>>2],3924,0)){while(1){b=a;a=v[a+472>>2];if(a){continue}break}d=43;if(v[b+512>>2]<1){break b}a=v[b+504>>2];h=v[b+508>>2];l=1;c=v[b+500>>2];e=c;f=v[b+496>>2];if(e|f){i=e+h|0;j=a+f|0;l=+C(C(+(j>>>0)+ +((a>>>0>j>>>0?i+1|0:i)>>>0)*4294967296)/C(+(f>>>0)+ +(e>>>0)*4294967296))}v[g+32>>2]=509254;A[g+24>>3]=l;v[g+16>>2]=a;v[g+20>>2]=h;v[g+8>>2]=f;v[g+12>>2]=e;v[g>>2]=b;Nd(v[130915],509100,g);break b}d=i;i=v[g+52>>2];v[d>>2]=i;d=4;c:{d:{e:{switch(k+4|0){case 46:d=v[a+80>>2];if(d){v[g+60>>2]=h;f:{if(!w[b+68|0]){g:{if(v[a+144>>2]==(b|0)){f=a+284|0;d=a+288|0;break g}f=v[a+296>>2];d=f+4|0}while(1){v[g+56>>2]=v[a+44>>2];h=Ea[v[b+56>>2]](b,g+60|0,i,g+56|0,v[a+48>>2])|0;v[d>>2]=v[g+60>>2];j=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],j,v[g+56>>2]-j|0);v[f>>2]=v[g+60>>2];if(h>>>0>=2){continue}break}break f}Ea[d|0](v[a+4>>2],h,i-h|0)}i=v[g+52>>2]}v[c>>2]=i;v[e>>2]=i;d=v[a+476>>2]==2?35:0;break b;case 4:v[j>>2]=i;break b;case 2:if(f){break d}d=6;break b;case 0:case 3:break e;default:break c}}if(f){break d}d=2;break b}v[e>>2]=h;d=0;break b}v[j>>2]=i;d=23}Ca=g- -64|0;return d}function IM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Ca-16544|0;Ca=d;a:{if(!a){a=96;break a}a=20;c=v[b+4>>2];if(!c){break a}e=u[c+2>>1];if(!e){a=0;break a}f=u[c>>1];if((f|0)<1){a=0;break a}g=v[c+12>>2];if(!g|!v[c+4>>2]|(e|0)!=(u[((f<<1)+g|0)-2>>1]+1|0)){break a}a=19;if(w[b+8|0]&3){break a}a=6;b=v[b>>2];if(!b){break a}if(!v[b+4>>2]){a=0;break a}a=0;if(!v[b>>2]){break a}a=6;if(!v[b+12>>2]){break a}v[d+16520>>2]=v[c+16>>2];e=v[c+12>>2];a=d+16512|0;v[a>>2]=v[c+8>>2];v[a+4>>2]=e;a=v[c+4>>2];v[d+16504>>2]=v[c>>2];v[d+16508>>2]=a;c=v[b+12>>2];a=d+16488|0;v[a>>2]=v[b+8>>2];v[a+4>>2]=c;c=v[b+20>>2];a=d+16496|0;v[a>>2]=v[b+16>>2];v[a+4>>2]=c;a=v[b+4>>2];v[d+16480>>2]=v[b>>2];v[d+16484>>2]=a;v[d+16412>>2]=d+16384;v[d+16408>>2]=d;a=d+16384|0;b=v[a+136>>2];c=b&256;v[a+20>>2]=c?30:2;v[a+16>>2]=c?256:32;c=c?12:6;v[a>>2]=c;c=1<<c;v[a+4>>2]=c;v[a+12>>2]=c>>>6;v[a+8>>2]=c>>>1;b:{if(b&8){t[a+48|0]=2;break b}c=b>>>2&4;t[a+48|0]=c;if(b&32){break b}t[a+48|0]=c|1}v[a+152>>2]=659;v[a+148>>2]=660;v[a+144>>2]=661;v[a+140>>2]=662;u[a+50>>1]=v[a+100>>2];c=v[a+108>>2];v[a+52>>2]=c;b=v[a+96>>2]-1|0;e=v[a+104>>2];if((e|0)>=1){v[a+52>>2]=c+B(b,e)}b=Dv(a,0,b);c:{if(b){break c}if(!(w[a+137|0]&2)){v[a+152>>2]=663;v[a+148>>2]=664;v[a+144>>2]=665;v[a+140>>2]=666;b=Dv(a,1,v[a+100>>2]-1|0);if(b){break c}}b=0}a=b}Ca=d+16544|0;return a|0}function GD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ca-16|0;Ca=g;j=v[a+84>>2];a:{b:{c:{f=v[a+8>>2];if(!(f&8)){i=d&16;break c}f=!(v[a+4>>2]&2147418112|f&32768);i=d&16;if(i){if(!f){f=7;if(!(w[a+740|0]&16)){break a}}if(!w[a+292|0]){break c}if(!c){break b}f=0;if((c|0)!=1){i=c&-2;while(1){Ea[v[v[a+540>>2]+156>>2]](a,1,b+h|0,g+14|0,g+12|0);v[(h<<2)+e>>2]=x[g+12>>1];d=h|1;Ea[v[v[a+540>>2]+156>>2]](a,1,d+b|0,g+14|0,g+12|0);v[(d<<2)+e>>2]=x[g+12>>1];h=h+2|0;i=i-2|0;if(i){continue}break}}if(!(c&1)){break a}Ea[v[v[a+540>>2]+156>>2]](a,1,b+h|0,g+14|0,g+12|0);v[(h<<2)+e>>2]=x[g+12>>1];break a}if(!f){f=7;if(!(w[a+740|0]&2)){break a}}if(!x[a+250>>1]){break c}if(!c){break b}f=0;if((c|0)!=1){i=c&-2;while(1){Ea[v[v[a+540>>2]+156>>2]](a,0,b+h|0,g+14|0,g+10|0);v[(h<<2)+e>>2]=x[g+10>>1];d=h|1;Ea[v[v[a+540>>2]+156>>2]](a,0,d+b|0,g+14|0,g+10|0);v[(d<<2)+e>>2]=x[g+10>>1];h=h+2|0;i=i-2|0;if(i){continue}break}}if(!(c&1)){break a}Ea[v[v[a+540>>2]+156>>2]](a,0,b+h|0,g+14|0,g+10|0);v[(h<<2)+e>>2]=x[g+10>>1];break a}f=c?37:0;if(!c|!j){break a}l=(i?60:56)+j|0;while(1){i=b+h|0;f=v[a+88>>2];k=(f?256:259)|d;d:{if(f?k&1:1){f=hi(j,0,i,k);break d}if(v[f>>2]!=v[j+4>>2]){f=35;break a}f=hi(j,f,i,k)}if(f){break a}v[(h<<2)+e>>2]=v[l>>2];h=h+1|0;if((h|0)!=(c|0)){continue}break}}f=0}Ca=g+16|0;return f|0}function Vm(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Ca-16|0;Ca=c;v[c+12>>2]=v[a>>2];d=v[a+8>>2];wc(c+12|0,d);b=v[c+12>>2];a:{if(d>>>0<=b>>>0){break a}b:{c:{d:{e:{f:{g:{h:{i:{e=w[b|0];switch(e-40|0){case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 52:break c;case 7:break d;case 22:break e;case 20:break f;case 0:break g;case 51:case 53:break i;default:break h}}v[c+12>>2]=b+1;break b}if((e|0)!=123){break c}e=wv(c+12|0,d);break a}e=Um(c+12|0,d);break a}if(!(w[b+1|0]!=60|b+1>>>0>=d>>>0)){v[c+12>>2]=b+2;break b}e=vv(c+12|0,d);break a}f=b+1|0;v[c+12>>2]=f;e=3;if(w[f|0]!=62|d>>>0<=f>>>0){break a}v[c+12>>2]=b+2;break b}b=b+1|0}j:{if(b>>>0>=d>>>0){break j}while(1){k:{switch(w[b|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break j;default:break k}}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}v[c+12>>2]=b}e=0}b=a;f=v[c+12>>2];if(f>>>0<d>>>0){e=(f|0)==v[a>>2]?3:e}v[b+12>>2]=e;v[a>>2]=d>>>0<f>>>0?d:f;Ca=c+16|0}function So(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{c=w[a+3|0]|w[a+2|0]<<8;if(!gc(c?c+a|0:280448,v[b+12>>2])){break a}c=0;b:{c:{d:{e:{d=w[a+3|0]|w[a+2|0]<<8;d=d?d+a|0:280448;i=w[d|0]<<8|w[d+1|0];f=i-1|0;switch(f|0){case 1:break d;case 0:break e;default:break b}}g=0;break c}g=w[d+3|0]|w[d+2|0]<<8;c=g?d+4|0:280840;e=(w[c+1|0]|w[c|0]<<8)>>>0>(w[c+3|0]|w[c+2|0]<<8)>>>0?g:0;g=g?w[d+5|0]|w[d+4|0]<<8:0}c=d}if(f>>>0>1){break a}h=w[a+5|0]|w[a+4|0]<<8;f=a+6|0;f:{switch(i-1|0){case 1:if(!h|(w[c+3|0]|w[c+2|0]<<8)>>>0<=e>>>0){break a}d=0;while(1){i=w[f+1|0]|w[f|0]<<8;Wj(i?i+a|0:280448,b);i=w[c+3|0]|w[c+2|0]<<8;j=i>>>0>e>>>0?(B(e,6)+c|0)+4|0:280840;g:{if((w[j+2|0]<<8|w[j+3|0])>>>0<=g>>>0){e=e+1|0;if(i>>>0<=e>>>0){break g}j=d+1|0;g=B(e,6)+c|0;d=w[g+8|0]<<8|w[g+9|0];e=(j|0)==(d|0)?e:i;g=w[g+5|0]|w[g+4|0]<<8;break g}g=g+1|0;d=d+1|0}if(e>>>0>=i>>>0){break a}f=f+2|0;h=h-1|0;if(h){continue}break};break a;default:if(!h|(w[c+3|0]|w[c+2|0]<<8)>>>0<=e>>>0){break a}while(1){d=w[f+1|0]|w[f|0]<<8;Wj(d?d+a|0:280448,b);if((w[c+3|0]|w[c+2|0]<<8)>>>0<=e>>>0){break a}f=f+2|0;h=h-1|0;if(h){continue}break};break a;case 0:break f}}if(!h|(w[c+3|0]|w[c+2|0]<<8)>>>0<=e>>>0){break a}while(1){d=w[f+1|0]|w[f|0]<<8;Wj(d?d+a|0:280448,b);e=e+1|0;if(e>>>0>=(w[c+3|0]|w[c+2|0]<<8)>>>0){break a}f=f+2|0;h=h-1|0;if(h){continue}break}}}function Xo(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{b:{e=B(c,20)+a|0;i=x[e+16>>1];c:{if(!i){break c}g=w[e+18|0];u[e+16>>1]=0;e=i<<16>>16;f=e+c|0;if(f>>>0>=b>>>0){break c}Xo(a,b,f,d);b=g&2;if((g&1)==(b>>>1|0)){break b}if(b){if((d&-2)==4){b=B(c,20)+a|0;v[b+12>>2]=v[b+12>>2]+v[(B(f,20)+a|0)+12>>2];return}b=B(c,20)+a|0;v[b+8>>2]=v[b+8>>2]+v[(B(f,20)+a|0)+8>>2];return}h=B(c,20)+a|0;g=B(f,20)+a|0;b=v[h+8>>2]+v[g+8>>2]|0;v[h+8>>2]=b;g=v[h+12>>2]+v[g+12>>2]|0;v[h+12>>2]=g;if(c>>>0<=f>>>0){break a}d:{if((d&-3)==4){d=0-e&3;if(d){e=f;while(1){f=B(e,20)+a|0;g=g-v[f+4>>2]|0;b=b-v[f>>2]|0;f=e+1|0;e=f;d=d-1|0;if(d){continue}break}}if(i>>>0>65532){break d}while(1){d=B(f,20)+a|0;g=g-(((v[d+4>>2]+v[d+24>>2]|0)+v[d+44>>2]|0)+v[d- -64>>2]|0)|0;b=b-(v[d+60>>2]+(v[d+40>>2]+(v[d>>2]+v[d+20>>2]|0)|0)|0)|0;f=f+4|0;if((f|0)!=(c|0)){continue}break}break d}d=f+1|0;if(d>>>0>=c+1>>>0){break c}f=0-e&3;if(f){e=d;while(1){d=B(e,20)+a|0;g=v[d+4>>2]+g|0;b=v[d>>2]+b|0;d=e+1|0;e=d;f=f-1|0;if(f){continue}break}}if(i>>>0>65532){break d}while(1){e=B(d,20)+a|0;g=(((v[e+4>>2]+g|0)+v[e+24>>2]|0)+v[e+44>>2]|0)+v[e- -64>>2]|0;b=v[e+60>>2]+(v[e+40>>2]+(v[e+20>>2]+(v[e>>2]+b|0)|0)|0)|0;e=d+3|0;d=d+4|0;if((c|0)!=(e|0)){continue}break}}v[h+8>>2]=b;v[h+12>>2]=g}return}O(229958,230019,2905,230048);L()}O(230077,230019,2919,230048);L()}function gx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a=Ca-16|0;Ca=a;e=0;v[a+4>>2]=0;d=v[b+72>>2];n=Ea[v[d+156>>2]](b,v[b+76>>2],32,a+4|0,v[d+20>>2])|0;kw(c);i=v[c+48>>2];j=v[c+76>>2];if(j){o=i&-2;k=v[c+96>>2];l=v[c+88>>2];while(1){a:{b:{if(!n){break b}d=B(e,20);f=d+l|0;if(!Jf(v[f>>2])){break b}v[f>>2]=v[a+4>>2];d=d+k|0;v[d>>2]=0;v[d+4>>2]=0;break a}d=B(e,20);f=d+l|0;g=v[f>>2];v[f>>2]=0;h=g;g=v[b+72>>2];Ea[v[g+156>>2]](b,v[b+76>>2],h,f,v[g+20>>2])|0;h=v[f>>2];d=d+k|0;v[d>>2]=0;v[d+4>>2]=0;g=v[b+72>>2];m=(o|0)!=4;c:{if(!m){p=d,q=Ea[v[g+168>>2]](b,v[b+76>>2],h,v[g+32>>2])|0,v[p>>2]=q;break c}p=d,q=Ea[v[g+172>>2]](b,v[b+76>>2],h,v[g+36>>2])|0,v[p+4>>2]=q}f=v[f>>2];d:{if(!m){Nf(b,f,a+12|0,a+8|0);break d}Vo(b,f,a+12|0,a+8|0)}v[d+8>>2]=v[d+8>>2]-v[a+12>>2];v[d+12>>2]=v[d+12>>2]-v[a+8>>2]}e=e+1|0;if((j|0)!=(e|0)){continue}break}}if((i&-3)==5){nd(c)}d=v[c+76>>2];e:{if(!d){break e}e=d&3;c=v[c+88>>2];b=0;if(d-1>>>0>=3){d=d&-4;while(1){f=c+B(b,20)|0;v[f+4>>2]=v[f+4>>2]&-2;f=c+B(b|1,20)|0;v[f+4>>2]=v[f+4>>2]&-2;f=c+B(b|2,20)|0;v[f+4>>2]=v[f+4>>2]&-2;f=c+B(b|3,20)|0;v[f+4>>2]=v[f+4>>2]&-2;b=b+4|0;d=d-4|0;if(d){continue}break}}if(!e){break e}while(1){d=c+B(b,20)|0;v[d+4>>2]=v[d+4>>2]&-2;b=b+1|0;e=e-1|0;if(e){continue}break}}Ca=a+16|0;return 1}function $o(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=280448;k=-1;a:{if((b|0)!=1196445523){f=280448;if((b|0)!=1196643650){break a}a=v[Ic(a+136|0)>>2];a=a?a:280448;f=y[a+16>>2]<10?280448:v[a+12>>2];break a}a=v[ad(a+140|0)>>2];a=a?a:280448;f=y[a+16>>2]<10?280448:v[a+12>>2]}a=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);if((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0>=65537){a=w[f+10|0]|w[f+11|0]<<8|(w[f+12|0]<<16|w[f+13|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=a?a+f|0:280448}a=w[h+4|0]|w[h+5|0]<<8|(w[h+6|0]<<16|w[h+7|0]<<24);m=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b:{if(!m){break b}b=0;while(1){i=0;n=1;a=(b<<3)+h|0;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);j=a?a+h|0:280448;l=w[j|0]<<8|w[j+1|0];if(!l){k=b;break b}while(1){c:{a=(i<<2)+j|0;a=w[a+2|0]|w[a+3|0]<<8|(w[a+4|0]<<16|w[a+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);g=a?a+j|0:280448;if((w[g|0]<<8|w[g+1|0])!=1){break c}a=0;f=w[g+3|0]|w[g+2|0]<<8;if(f>>>0<d>>>0){a=v[(f<<2)+c>>2]}f=w[g+4|0]|w[g+5|0]<<8;if((f<<8|f>>>8)<<16>>16>(a|0)){break c}f=a;a=w[g+6|0]|w[g+7|0]<<8;if((f|0)>(a<<8|a>>>8)<<16>>16){break c}i=i+1|0;n=l>>>0>i>>>0;if((i|0)!=(l|0)){continue}}break}if(!n){k=b;break b}b=b+1|0;if((m|0)!=(b|0)){continue}break}}v[e>>2]=k}function vq(a){var b=0,c=0,d=0,e=0,f=0;if(a){d=v[a+100>>2];b=d;e=v[a>>2];if(e){Ea[v[b+8>>2]](b,e)}v[a>>2]=0;b=v[a+92>>2];if(b){Ei(b,d);b=v[a+92>>2];if(b){Ea[v[d+8>>2]](d,b)}v[a+92>>2]=0}b=v[a+84>>2];if(b){Ea[v[d+8>>2]](d,b)}v[a+84>>2]=0;e=v[a+72>>2];if(e){while(1){b=c<<4;f=b+v[a+80>>2]|0;if(v[f+4>>2]==1){e=v[f+12>>2];if(e){Ea[v[d+8>>2]](d,e)}v[(b+v[a+80>>2]|0)+12>>2]=0;e=v[a+72>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}b=v[a+80>>2];if(b){Ea[v[d+8>>2]](d,b)}v[a+80>>2]=0;a:{if(!v[a+52>>2]){break a}c=v[a+56>>2];e=1;while(1){b=d;f=v[c>>2];if(f){Ea[v[b+8>>2]](b,f)}v[c>>2]=0;b=v[c+24>>2];if(b){Ea[v[d+8>>2]](d,b)}v[c+24>>2]=0;if(y[a+52>>2]<=e>>>0){break a}c=c+36|0;e=e+1|0;continue}}b:{if(!v[a+64>>2]){break b}c=v[a+68>>2];e=1;while(1){b=d;f=v[c>>2];if(f){Ea[v[b+8>>2]](b,f)}v[c>>2]=0;b=v[c+24>>2];if(b){Ea[v[d+8>>2]](d,b)}v[c+24>>2]=0;if(y[a+64>>2]<=e>>>0){break b}c=c+36|0;e=e+1|0;continue}}b=d;c=v[a+56>>2];if(c){Ea[v[b+8>>2]](b,c)}e=0;v[a+56>>2]=0;c=v[a+68>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+68>>2]=0;Ei(a+112|0,b);c=v[a+104>>2];if(v[a+108>>2]){while(1){f=v[c>>2];if(f){Ea[v[d+8>>2]](d,f)}v[c>>2]=0;if(v[c+4>>2]==1){f=v[c+12>>2];if(f){Ea[v[d+8>>2]](d,f)}v[c+12>>2]=0}c=c+16|0;e=e+1|0;if(e>>>0<y[a+108>>2]){continue}break}c=v[a+104>>2]}if(c){Ea[v[b+8>>2]](b,c)}v[a+104>>2]=0}}function iI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=c-b|0;e=e&1?(e&-2)+b|0:c;c=e-b|0;a:{if((c|0)<2){break a}h=a+72|0;while(1){a=0;b:{c:{d:{e:{f:{g:{h:{i:{j:{g=w[b|0];switch(g-216|0){case 39:break j;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break c;case 4:case 5:case 6:case 7:break e;case 0:case 1:case 2:case 3:break h;default:break i}}if(w[b+1|0]>253){break e}break c}if(g){break c}k:{switch(w[w[b+1|0]+h|0]){case 6:break k;case 0:case 1:case 8:break e;case 4:break f;case 2:break g;case 7:break h;default:break c}}if((c|0)<3){return-2}b=b+3|0;break b}if((c|0)<4){return-2}b=b+4|0;break b}a=b+2|0;if((e-a|0)<2){break a}if(w[a|0]){b=a;break b}if(w[b+3|0]!=33){b=a;break b}a=b+4|0;if((e-a|0)<2){break a}if(w[a|0]){b=a;break b}if(w[b+5|0]!=91){b=a;break b}b=b+6|0;f=f+1|0;break b}a=b+2|0;if((e-a|0)<2){break a}if(w[a|0]){b=a;break b}if(w[b+3|0]!=93){b=a;break b}a=b+4|0;if((e-a|0)<2){break a}if(w[a|0]){b=a;break b}if(w[b+5|0]!=62){b=a;break b}b=b+6|0;if(f){break d}a=42}v[d>>2]=b;return a|0}f=f-1|0;break b}b=b+2|0}c=e-b|0;if((c|0)>1){continue}break}}return-1}function _B(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;i=v[v[v[a+4>>2]+96>>2]+28>>2];j=jc(v[v[v[b>>2]+428>>2]+(c<<2)>>2],0,10);c=v[a+160>>2];f=c;a:{b:{e=v[c+156>>2];if(!e){break b}g=v[e+4>>2];if(!(g&1)){break b}h=v[f+88>>2];if(h){e=v[v[f+4>>2]+100>>2];Ea[v[e+8>>2]](e,h);e=v[f+156>>2];g=v[e+4>>2]}v[f+88>>2]=0;v[e+4>>2]=g&-2;break a}v[f+88>>2]=0}v[c+24>>2]=0;v[c+28>>2]=0;v[c+152>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;Ra(c+72|0,0,72);c=Ea[v[i+72>>2]](v[a+160>>2],v[b+44>>2],j,d|8)|0;if(!c){b=v[a+160>>2];d=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=d;d=v[b+36>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=d;d=v[b+44>>2];v[a+40>>2]=v[b+40>>2];v[a+44>>2]=d;d=v[b+52>>2];v[a+48>>2]=v[b+48>>2];v[a+52>>2]=d;v[a+56>>2]=v[b+56>>2];v[a+60>>2]=v[b+60>>2];v[a+72>>2]=v[b+72>>2];v[a+124>>2]=v[b+124>>2];d=v[b+120>>2];v[a+116>>2]=v[b+116>>2];v[a+120>>2]=d;d=v[b+112>>2];v[a+108>>2]=v[b+108>>2];v[a+112>>2]=d;d=v[b+96>>2];v[a+92>>2]=v[b+92>>2];v[a+96>>2]=d;d=v[b+88>>2];v[a+84>>2]=v[b+84>>2];v[a+88>>2]=d;d=v[b+80>>2];v[a+76>>2]=v[b+76>>2];v[a+80>>2]=d;v[a+100>>2]=v[b+100>>2];v[a+104>>2]=v[b+104>>2];v[a+128>>2]=v[b+128>>2];v[a+132>>2]=v[b+132>>2];v[a+136>>2]=v[b+136>>2];v[a+140>>2]=v[b+140>>2]}return c|0}function eA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=-1;g=v[a+16>>2];a=w[g+6|0]|w[g+7|0]<<8|(w[g+8|0]<<16|w[g+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!a){break a}j=g+13|0;while(1){b:{e=a+f>>>1|0;d=j+B(e,11)|0;h=d-3|0;h=w[h+1|0]<<8|w[h|0]<<16|w[h+2|0];c:{if(h>>>0>c>>>0){a=e;break c}if(c>>>0<=h>>>0){break b}f=e+1|0}if(a>>>0>f>>>0){continue}break a}break}e=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);d:{a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break d}c=a+g|0;a=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=c+7|0;f=0;while(1){if(a>>>0<=f>>>0){break d}c=a;a=a+f>>>1|0;j=h+(a<<2)|0;d=j-3|0;d=w[d+1|0]<<8|w[d|0]<<16|w[d+2|0];if(d>>>0>b>>>0){continue}i=1;f=a+1|0;a=c;if(d+w[j|0]>>>0<b>>>0){continue}break}break a}a=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);e:{if(!a){break e}c=a+g|0;a=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}g=c+7|0;f=0;while(1){f:{c=a+f>>>1|0;e=g+B(c,5)|0;d=e-3|0;d=w[d+1|0]<<8|w[d|0]<<16|w[d+2|0];g:{if(d>>>0>b>>>0){a=c;break g}if(b>>>0<=d>>>0){break f}f=c+1|0}if(a>>>0>f>>>0){continue}break e}break}i=0;if(w[e+1|0]|w[e|0]<<8){break a}}i=-1}return i|0}function zI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=c-b|0;e=e&1?(e&-2)+b|0:c;c=e-b|0;a:{if((c|0)<2){break a}h=a+72|0;while(1){a=0;b:{c:{d:{e:{f:{g:{h:{i:{j:{g=w[b+1|0];switch(g-216|0){case 39:break j;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break c;case 4:case 5:case 6:case 7:break e;case 0:case 1:case 2:case 3:break h;default:break i}}if(w[b|0]>253){break e}break c}if(g){break c}k:{switch(w[w[b|0]+h|0]){case 6:break k;case 0:case 1:case 8:break e;case 4:break f;case 2:break g;case 7:break h;default:break c}}if((c|0)<3){return-2}b=b+3|0;break b}if((c|0)<4){return-2}b=b+4|0;break b}a=b+2|0;if((e-a|0)<2){break a}if(w[b+3|0]){b=a;break b}if(w[a|0]!=33){b=a;break b}a=b+4|0;if((e-a|0)<2){break a}if(w[b+5|0]){b=a;break b}if(w[a|0]!=91){b=a;break b}b=b+6|0;f=f+1|0;break b}a=b+2|0;if((e-a|0)<2){break a}if(w[b+3|0]){b=a;break b}if(w[a|0]!=93){b=a;break b}a=b+4|0;if((e-a|0)<2){break a}if(w[b+5|0]){b=a;break b}if(w[a|0]!=62){b=a;break b}b=b+6|0;if(f){break d}a=42}v[d>>2]=b;return a|0}f=f-1|0;break b}b=b+2|0}c=e-b|0;if((c|0)>1){continue}break}}return-1}function fA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a:{i=v[a+16>>2];a=w[i+6|0]|w[i+7|0]<<8|(w[i+8|0]<<16|w[i+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b:{if(!a){break b}j=i+13|0;while(1){c:{f=a+g>>>1|0;e=j+B(f,11)|0;h=e-3|0;h=w[h+1|0]<<8|w[h|0]<<16|w[h+2|0];d:{if(h>>>0>d>>>0){a=f;break d}if(d>>>0<=h>>>0){break c}g=f+1|0}if(a>>>0>g>>>0){continue}break b}break}f=w[e+4|0]|w[e+5|0]<<8|(w[e+6|0]<<16|w[e+7|0]<<24);e:{a=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}d=a+i|0;a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=d+7|0;g=0;while(1){if(a>>>0<=g>>>0){break e}d=a;a=a+g>>>1|0;j=h+(a<<2)|0;e=j-3|0;e=w[e+1|0]<<8|w[e|0]<<16|w[e+2|0];if(e>>>0>c>>>0){continue}g=a+1|0;a=d;if(e+w[j|0]>>>0<c>>>0){continue}break}return Ea[v[v[b+12>>2]+12>>2]](b,c)|0}a=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);if(!a){break b}b=a+i|0;a=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break b}e=b+7|0;g=0;while(1){b=a+g>>>1|0;d=e+B(b,5)|0;f=d-3|0;f=w[f+1|0]<<8|w[f|0]<<16|w[f+2|0];f:{if(f>>>0>c>>>0){a=b;break f}if(c>>>0<=f>>>0){break a}g=b+1|0}if(a>>>0>g>>>0){continue}break}}return 0}return w[d+1|0]|w[d|0]<<8}function du(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ca+-64|0;Ca=h;a:{b:{if(!v[164105]){while(1){d=Va(28);c=v[164105];v[164105]=c?c:d;if(!c){break b}if(!v[164105]){continue}break}}break a}Ze()}d=v[164104];if((d|0)>=1){i=656352;while(1){e=d;d=d-1|0;j=d<<2;f=j+i|0;c=v[f>>2];if(!(!c|y[c>>2]>a>>>0)){while(1){i=c;f=(c+j|0)+40|0;c=v[f>>2];if(y[c>>2]<=a>>>0?c:0){continue}break}i=i+40|0}v[h+j>>2]=f;if((e|0)>1){continue}break}}c=Ze()|Ze();while(1){c:{d=g;g=d+1|0;if(d>>>0>14){break c}e=c&1;c=c>>1;if(!e){continue}}break}f=0;c=v[164104];if((c|0)<=(d|0)){g=c+1|0;v[164104]=g;c=c<<2;v[c+h>>2]=c+656352}c=Va((g<<2)+44|0);if(c){v[c>>2]=a;a=v[a+8>>2];d=0;v[c+12>>2]=0;v[c+8>>2]=a;v[c+4>>2]=1;a=c;if(b){f=v[b+64>>2];k=v[b+80>>2];l=v[b+84>>2];d=v[b>>2];b=v[b+68>>2]}else{b=0}v[a+36>>2]=b;v[c+32>>2]=f;v[c+24>>2]=k;v[c+28>>2]=l;v[c+16>>2]=d;d:{if((g|0)<1){break d}i=g&3;d=0;if(g-1>>>0>=3){g=g&-4;a=c+40|0;while(1){b=d<<2;e=v[b+h>>2];v[a+b>>2]=v[e>>2];v[e>>2]=c;f=b|4;e=v[f+h>>2];v[a+f>>2]=v[e>>2];v[e>>2]=c;f=b|8;e=v[f+h>>2];v[a+f>>2]=v[e>>2];v[e>>2]=c;e=b|12;b=v[e+h>>2];v[a+e>>2]=v[b>>2];v[b>>2]=c;d=d+4|0;g=g-4|0;if(g){continue}break}}if(!i){break d}while(1){b=d<<2;a=v[b+h>>2];v[(b+c|0)+40>>2]=v[a>>2];v[a>>2]=c;d=d+1|0;i=i-1|0;if(i){continue}break}}f=1}Ca=h- -64|0;return f}function pp(a,b){var c=0,d=0,e=0,f=0,g=0;e=Hb(b);v[a+28>>2]=e;a:{b:{c:{d:{while(1){e:{t[a+20|0]=d;d=v[e+12>>2];v[a+4>>2]=d;f=v[e+16>>2];v[a+8>>2]=f+d;if((f|0)<=-1){break e}v[a+24>>2]=0;g=a;if(f>>>0>67108862){c=1073741823}else{c=f<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}v[g+12>>2]=c;v[a>>2]=0;if(!d){Sa(e);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;return b}if(f>>>0<4){break c}v[a+12>>2]=c-4;f:{g:{h:{c=w[d|0]|w[d+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break g;case 0:break h;default:break d}}if(!Go(d,a)){break f}break d}if(Fo(d,a)){break d}}if(w[a+20|0]|!v[a+24>>2]){break c}c=xc(b);v[a+4>>2]=c;v[a+8>>2]=c+v[b+16>>2];e=v[a+28>>2];d=1;if(c){continue}break b}break}O(229786,229811,194,229828);L()}i:{if(v[a+24>>2]){e=0;v[a+24>>2]=0;if(d>>>0<y[a+4>>2]){break c}c=v[a+8>>2];j:{if(c>>>0<d>>>0|c-d>>>0<4){break j}c=v[a+12>>2]-4|0;v[a+12>>2]=c;if((c|0)<1){break j}e=1;k:{l:{c=w[d|0]|w[d+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break k;case 0:break l;default:break j}}e=Go(d,a);break j}e=Fo(d,a)}c=v[a+24>>2];Sa(v[a+28>>2]);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;if(c){break a}if(e){break i}break a}Sa(v[a+28>>2]);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}if(v[b+4>>2]){v[b+4>>2]=0}return b}e=v[a+28>>2]}Sa(e);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}Sa(b);return 280448}function Pd(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[a+4>>2];if(!(!b|v[b+4>>2]!=v[a>>2])){a:{b:{switch(v[b+8>>2]-1|0){case 0:case 1:c=v[b+16>>2];b=Vc(v[a+16>>2]);if(!b){break a}v[b>>2]=2;g=b,h=ib(c),v[g+8>>2]=h;d=b;break a;case 4:e=v[b+20>>2];c=v[b+16>>2];b=Vc(v[a+16>>2]);if(!b){break a}v[b>>2]=9;v[b+8>>2]=c;v[b+12>>2]=e;d=b;break a;case 2:c=v[b+16>>2];b=Vc(v[a+16>>2]);if(!b){break a}v[b>>2]=10;g=b,h=ib(c),v[g+8>>2]=h;d=b;break a;case 9:c=v[b+16>>2];b=Vc(v[a+16>>2]);if(!b){break a}v[b+8>>2]=c;v[b>>2]=0;d=b;break a;case 10:f=A[b+16>>3];b=Vc(v[a+16>>2]);if(!b){break a}A[b+8>>3]=f;v[b>>2]=1;d=b;break a;case 11:b=v[b+16>>2];c=Vc(v[a+16>>2]);if(!c){break a}v[c>>2]=3;e=Va(16);if(e){d=v[b+4>>2];v[e>>2]=v[b>>2];v[e+4>>2]=d;d=v[b+12>>2];v[e+8>>2]=v[b+8>>2];v[e+12>>2]=d}v[c+8>>2]=e;d=c;break a;case 12:c=v[b+16>>2];b=Vc(v[a+16>>2]);if(!b){break a}v[b>>2]=4;g=b,h=qm(c),v[g+8>>2]=h;d=b;break a;case 13:c=v[b+16>>2];b=Vc(v[a+16>>2]);if(!b){break a}v[b+8>>2]=c;v[b>>2]=5;d=b;break a;case 14:c=v[b+16>>2];b=Vc(v[a+16>>2]);if(!b){break a}v[b>>2]=6;g=b,h=vh(c),v[g+8>>2]=h;d=b;break a;case 15:c=v[b+16>>2];b=Vc(v[a+16>>2]);if(!b){break a}v[b>>2]=7;g=b,h=cg(c),v[g+8>>2]=h;d=b;break a;case 6:case 7:case 8:case 17:break b;default:break a}}v[b+8>>2]=0;d=v[b+16>>2]}Qd(a)}return d}function GE(a){a=a|0;var b=0,c=0,d=0;if(a){c=v[a+100>>2];b=v[a+548>>2];if(b){if(b){Ea[v[c+8>>2]](c,b)}v[a+544>>2]=0;v[a+548>>2]=0}bh(a);v[a+532>>2]=0;b=v[a+132>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+132>>2]=0;b=v[a+136>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+136>>2]=0;b=v[a+140>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+140>>2]=0;b=v[a+144>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+144>>2]=0;b=v[a+148>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+148>>2]=0;b=v[a+432>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+432>>2]=0;b=v[a+428>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+428>>2]=0;b=v[a+424>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+424>>2]=0;b=v[a+408>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+408>>2]=0;b=v[a+412>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+412>>2]=0;Ei(v[a+416>>2],c);b=v[a+416>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+416>>2]=0;b=v[a+392>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+392>>2]=0;b=v[a+396>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+396>>2]=0;b=v[a+400>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+400>>2]=0;b=v[a+384>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+384>>2]=0;b=v[a+388>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+388>>2]=0;b=v[a+364>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+364>>2]=0;b=v[a+496>>2];if(b){d=v[b+36>>2];if(d){Ea[v[c+8>>2]](c,d)}v[b+36>>2]=0;v[b+40>>2]=0;d=v[b+28>>2];if(d){Ea[v[c+8>>2]](c,d)}v[b+28>>2]=0;v[b+32>>2]=0;if(b){Ea[v[c+8>>2]](c,b)}}v[a+20>>2]=0;v[a+24>>2]=0}}function vp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{d=w[a|0]|w[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 6:break a;case 8:break c;case 4:break d;case 2:break e;case 0:break f;default:break b}}return b>>>0<c>>>0?(b|0)<0?280448:((b<<1)+a|0)+2|0:0}return up(a,b)}d=w[a+5|0]|w[a+4|0]<<8;g:{if(!d){f=w[a+3|0]|w[a+2|0]<<8;break g}f=w[a+3|0]|w[a+2|0]<<8;c=(a+2|0)+B(f,d-1|0)|0;if((w[c+10|0]<<8|w[c+11|0])!=65535){break g}d=d-((w[c+13|0]|w[c+12|0]<<8)==65535)|0}if((d|0)<1){break b}h=a+12|0;e=d-1|0;c=0;while(1){g=c+e>>>1|0;d=h+B(g,f)|0;i=w[d+2|0]<<8|w[d+3|0];h:{if(i>>>0<=b>>>0){if((w[d+1|0]|w[d|0]<<8)>>>0<b>>>0){c=g+1|0;break h}c=(w[d+5|0]|w[d+4|0]<<8)+a|0;a=b-i|0;return(a|0)<0?280448:c+(a<<1)|0}e=g-1|0}if((c|0)<=(e|0)){continue}break}return 0}c=w[a+3|0]|w[a+2|0]<<8;if(c>>>0>b>>>0){break b}b=b-c|0;if(b>>>0>=(w[a+5|0]|w[a+4|0]<<8)>>>0){break b}e=(b|0)<0?280448:((b<<1)+a|0)+6|0}return e}d=w[a+5|0]|w[a+4|0]<<8;i:{if(!d){f=w[a+3|0]|w[a+2|0]<<8;break i}f=w[a+3|0]|w[a+2|0]<<8;c=(a+2|0)+B(f,d-1|0)|0;d=d-((w[c+10|0]<<8|w[c+11|0])==65535)|0}c=0;j:{if((d|0)<1){break j}g=a+12|0;d=d-1|0;while(1){a=d+e>>>1|0;c=g+B(a,f)|0;h=w[c|0]<<8|w[c+1|0];k:{if(h>>>0>b>>>0){d=a-1|0;break k}if((b|0)==(h|0)){break j}e=a+1|0}if((d|0)>=(e|0)){continue}break}c=0}return c?c+2|0:0}function si(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}d=v[a+4>>2];b=v[d+84>>2];if(!b){break a}c=v[d+96>>2];g=v[c+8>>2];if((a|0)!=(b|0)){while(1){e=v[b+8>>2];if(!e){break a}f=b;b=e;if((b|0)!=(a|0)){continue}break}}v[(f?f+8|0:d+84|0)>>2]=v[a+8>>2];f=g;b=v[a+20>>2];if(b){Ea[b|0](a);c=v[v[a+4>>2]+96>>2];f=v[c+8>>2]}b=v[v[c+12>>2]+68>>2];if(b){Ea[b|0](a)}d=v[a+156>>2];b:{if(!d){v[a+88>>2]=0;break b}b=v[d+4>>2];c:{if(b&1){e=v[a+88>>2];if(e){b=v[v[a+4>>2]+100>>2];Ea[v[b+8>>2]](b,e);d=v[a+156>>2];b=v[d+4>>2]}v[a+88>>2]=0;v[d+4>>2]=b&-2;break c}v[a+88>>2]=0}if(!(w[v[c>>2]+1|0]&2)){c=v[d>>2];if(c){d=v[c>>2];b=v[c+24>>2];if(b){Ea[v[d+8>>2]](d,b)}v[c+24>>2]=0;b=v[c+28>>2];if(b){Ea[v[d+8>>2]](d,b)}v[c+28>>2]=0;b=v[c+32>>2];if(b){Ea[v[d+8>>2]](d,b)}v[c+32>>2]=0;b=v[c+40>>2];if(b){Ea[v[d+8>>2]](d,b)}v[c+40>>2]=0;b=v[c+52>>2];if(b){Ea[v[d+8>>2]](d,b)}v[c+20>>2]=0;v[c+36>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+12>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+88>>2]=0;b=v[c+24>>2];v[c+56>>2]=v[c+20>>2];v[c+60>>2]=b;b=v[c+32>>2];e=c- -64|0;v[e>>2]=v[c+28>>2];v[e+4>>2]=b;b=v[c+40>>2];v[c+72>>2]=v[c+36>>2];v[c+76>>2]=b;b=v[c+48>>2];v[c+80>>2]=v[c+44>>2];v[c+84>>2]=b;Ea[v[d+8>>2]](d,c);d=v[a+156>>2]}v[d>>2]=0}Ea[v[f+8>>2]](f,d);v[a+156>>2]=0}Ea[v[g+8>>2]](g,a)}}function ub(a,b,c){var d=0,e=0,f=0,g=0,h=0;if(!b){return 6}if(!a){return 40}d=v[a+32>>2];a:{while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{g=w[b|0];switch(g-4|0){case 14:case 15:break g;case 12:case 13:break h;case 10:case 11:break i;case 8:case 9:break j;case 20:case 21:break k;case 0:break l;case 4:case 5:break d;case 18:case 19:break e;case 16:case 17:break f;default:break b}}d=vb(a,x[b+2>>1]);if(d){break a}d=v[a+32>>2];h=1;b=b+4|0;continue}f=w[b+1|0];e=f+d|0;if(e>>>0>y[a+36>>2]){d=85;break a}if((g|0)!=24){d=e;b=b+4|0;continue}Ta(x[b+2>>1]+c|0,d,f);d=e;b=b+4|0;continue}e=w[d+1|0]|w[d|0]<<8;f=16;d=d+2|0;break c}e=w[d|0]|w[d+1|0]<<8;f=16;d=d+2|0;break c}e=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);f=0;d=d+4|0;break c}e=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);f=0;d=d+4|0;break c}f=8;e=w[d+2|0]|(w[d+1|0]<<8|w[d|0]<<16);d=d+3|0;break c}f=8;e=w[d|0]|(w[d+1|0]<<8|w[d+2|0]<<16);d=d+3|0;break c}e=w[d|0];f=24;d=d+1|0}e=g&1?e<<f>>f:e;f=x[b+2>>1]+c|0;m:{n:{switch(w[b+1|0]-1|0){case 0:t[f|0]=e;break m;case 1:u[f>>1]=e;break m;default:break n}}v[f>>2]=e}b=b+4|0;continue}break}v[a+32>>2]=d;d=0}if(h){if(v[a+20>>2]){b=v[a>>2];if(b){c=v[a+28>>2];Ea[v[c+8>>2]](c,b)}v[a>>2]=0}v[a+32>>2]=0;v[a+36>>2]=0}return d}function OG(a,b){a=a|0;b=b|0;var c=0,d=0;a=v[a>>2];c=A[a+8>>3];b=v[b>>2];d=A[b+8>>3];a:{if(c!=d){break a}c=A[a+16>>3];d=A[b+16>>3];if(c!=d){break a}c=A[a+24>>3];d=A[b+24>>3];if(c!=d){break a}c=A[a+32>>3];d=A[b+32>>3];if(c!=d){break a}c=A[a+40>>3];d=A[b+40>>3];if(c!=d){break a}c=A[a+48>>3];d=A[b+48>>3];if(c!=d){break a}c=A[a+56>>3];d=A[b+56>>3];if(c!=d){break a}c=A[a- -64>>3];d=A[b- -64>>3];if(c!=d){break a}c=A[a+72>>3];d=A[b+72>>3];if(c!=d){break a}c=A[a+80>>3];d=A[b+80>>3];if(c!=d){break a}c=A[a+88>>3];d=A[b+88>>3];if(c!=d){break a}c=A[a+96>>3];d=A[b+96>>3];if(c!=d){break a}c=A[a+104>>3];d=A[b+104>>3];if(c!=d){break a}c=A[a+112>>3];d=A[b+112>>3];if(c!=d){break a}c=A[a+120>>3];d=A[b+120>>3];if(c!=d){break a}c=A[a+128>>3];d=A[b+128>>3];if(c!=d){break a}c=A[a+136>>3];d=A[b+136>>3];if(c!=d){break a}c=A[a+144>>3];d=A[b+144>>3];if(c!=d){break a}c=A[a+152>>3];d=A[b+152>>3];if(c!=d){break a}c=A[a+160>>3];d=A[b+160>>3];if(c!=d){break a}c=A[a+168>>3];d=A[b+168>>3];if(c!=d){break a}c=A[a+176>>3];d=A[b+176>>3];if(c!=d){break a}c=A[a+184>>3];d=A[b+184>>3];if(c!=d){break a}c=A[a+192>>3];d=A[b+192>>3];if(c!=d){break a}c=A[a+200>>3];d=A[b+200>>3];if(c!=d){break a}c=A[a+208>>3];d=A[b+208>>3];if(c!=d){break a}d=A[b+216>>3];c=A[a+216>>3]}return(c<d?-1:c>d)|0}function Ye(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ca+-64|0;Ca=f;a:{b:{if(!v[164105]){while(1){b=Va(28);c=v[164105];v[164105]=c?c:b;if(!c){break b}if(!v[164105]){continue}break}}break a}Ze()}c:{if(!a){break c}d=656352;e=v[164104];if((e|0)>=1){while(1){i=e;e=e-1|0;g=e<<2;b=v[g+d>>2];if(!(!b|v[b>>2]+v[b+8>>2]>>>0>a>>>0)){while(1){c=b;b=v[(b+g|0)+40>>2];if(v[b>>2]+v[b+8>>2]>>>0<=a>>>0?b:0){continue}break}d=c+40|0}if((i|0)>1){continue}break}}b=v[d>>2];if(!b|v[b>>2]+v[b+8>>2]>>>0<=a>>>0){break c}a=v[b+4>>2];v[b+4>>2]=a-1;if((a|0)!=1){break c}h=v[b>>2];c=v[164104];d:{if((c|0)>0){e=656352;d=c;while(1){g=d;d=d-1|0;j=d<<2;a=j+e|0;b=v[a>>2];if(!(!b|y[b>>2]>=h>>>0)){while(1){i=b;a=(b+j|0)+40|0;b=v[a>>2];if(y[b>>2]<h>>>0?b:0){continue}break}e=i+40|0}v[f+j>>2]=a;if((g|0)>1){continue}break}a=v[e>>2];d=v[f>>2];e:{if((a|0)!=v[d>>2]){break e}b=0;while(1){v[d>>2]=v[((b<<2)+a|0)+40>>2];b=b+1|0;c=v[164104];if((b|0)>=(c|0)){break e}d=v[(b<<2)+f>>2];if(v[d>>2]==(a|0)){continue}break}}if((c|0)<1){break d}while(1){b=c-1|0;if(v[(b<<2)+656352>>2]){break d}v[164104]=b;d=(c|0)>1;c=b;if(d){continue}break}break d}a=v[164088]}if(a){b=v[a+12>>2];if(b){while(1){c=v[b>>2];Pa(b);b=c;if(b){continue}break}}Pa(a)}if(v[h>>2]!=-66913275){break c}Pa(h)}Ca=f- -64|0}function yi(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,u=0;k=Ca-16|0;Ca=k;a:{b:{c:{if((c|0)<=36){h=w[a|0];if(h){break c}g=a;break b}v[164114]=28;d=0;e=0;break a}g=a;d:{while(1){f=h<<24>>24;if(!((f|0)==32|f-9>>>0<5)){break d}h=w[g+1|0];f=g+1|0;g=f;if(h){continue}break}g=f;break b}e:{f=w[g|0];switch(f-43|0){case 0:case 2:break e;default:break b}}m=(f|0)==45?-1:0;g=g+1|0}f:{if(!(c&-17|w[g|0]!=48)){o=1;if((w[g+1|0]&223)==88){g=g+2|0;l=16;break f}g=g+1|0;l=c?c:8;break f}l=c?c:10}p=l;q=l>>31;c=0;while(1){g:{f=t[g|0];h=f-48|0;h:{if((h&255)>>>0<=9){break h}if((f-97&255)>>>0<=25){h=f-87|0;break h}if((f-65&255)>>>0>25){break g}h=f-55|0}if((h|0)>=(l|0)){break g}Ld(k,p,q,j,i);f=1;i:{if(v[k+8>>2]|v[k+12>>2]){break i}r=eQ(j,i,p,q);n=Da;s=h>>31;u=s^-1;if((n|0)==(u|0)&(h^-1)>>>0<r>>>0|n>>>0>u>>>0){break i}i=n+s|0;f=h+r|0;i=f>>>0<h>>>0?i+1|0:i;j=f;o=1;f=c}g=g+1|0;c=f;continue}break}if(b){v[b>>2]=o?g:a}j:{k:{if(c){v[164114]=68;a=d&1;m=a?0:m;j=d;i=e;break k}if((e|0)==(i|0)&d>>>0>j>>>0|e>>>0>i>>>0){break j}a=d&1}if(!(a|m)){v[164114]=68;a=d;d=a-1|0;e=e-(a>>>0<1)|0;break a}if((e|0)==(i|0)&d>>>0>=j>>>0|e>>>0>i>>>0){break j}v[164114]=68;break a}a=m;c=a^j;d=c-a|0;b=a>>31;e=(b^i)-((a>>>0>c>>>0)+b|0)|0}Ca=k+16|0;Da=e;return d}function au(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;if((a|0)==(b|0)){return 1}a:{if(!a|!b){break a}i=v[a+4>>2];d=i;j=v[a+12>>2]+a|0;b:{c:{if(j){c=i-1|0;d:{e:{if((i|0)<1){e=c;break e}while(1){f=c>>1;e=f;if(!x[(c&-2)+j>>1]){break d}h=(c|0)>1;e=f-1|0;c=e;if(h){continue}break}}e=-2-e|0}h=0;if((e|0)>-1){break c}e=e^-1}else{e=0}if((d|0)==(e|0)){e=0;h=-1;f=0;break b}h=x[(e<<1)+j>>1]<<8}d=v[a+8>>2]+a|0;f=v[d+(e<<2)>>2]+d|0}k=v[b+4>>2];l=v[b+12>>2]+b|0;f:{g:{if(l){c=k-1|0;h:{i:{if((k|0)<1){d=c;break i}while(1){g=c>>1;d=g;if(!x[(c&-2)+l>>1]){break h}m=(c|0)>1;d=g-1|0;c=d;if(m){continue}break}}d=-2-d|0}g=0;if((d|0)>-1){break g}d=d^-1}else{d=0}c=0;if((d|0)==(k|0)){break f}g=x[(d<<1)+l>>1]<<8}c=v[b+8>>2]+b|0;c=v[c+(d<<2)>>2]+c|0;if(!f|!c){break f}while(1){if((g|0)!=(h|0)|v[f>>2]!=v[c>>2]|(v[f+4>>2]!=v[c+4>>2]|v[f+8>>2]!=v[c+8>>2])){break a}if(v[f+12>>2]!=v[c+12>>2]|v[f+16>>2]!=v[c+16>>2]|(v[f+20>>2]!=v[c+20>>2]|v[f+24>>2]!=v[c+24>>2])){break a}if(v[f+28>>2]!=v[c+28>>2]){break a}c=0;h=-1;f=0;g=e+1|0;if((g|0)<(i|0)){e=v[a+8>>2]+a|0;f=v[e+(g<<2)>>2]+e|0;h=x[(g<<1)+j>>1]<<8;e=g}d=d+1|0;if((k|0)<=(d|0)){break f}c=v[b+8>>2]+b|0;c=v[c+(d<<2)>>2]+c|0;if(!f){break f}g=x[(d<<1)+l>>1]<<8;if(c){continue}break}}n=(c|0)==(f|0)}return n}function xj(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;j=v[a+2744>>2];if(j&4){k=v[a+2748>>2];a=c>>31;d=a+c^a;a:{b:{c:{if((b|0)==1){if(!(j&2)){break c}break b}if(j&1){break b}}d:{a=B(b,7676)+k|0;if(!v[a+52>>2]){break d}e=v[a+60>>2];a=d-e|0;b=a>>31;if((b^a+b)>>>0>39){break d}d=(e|0)>48?e:48;break a}if((d|0)<=53){d=(54-d>>>1|0)+d|0;break a}if((d|0)>191){break a}b=d&63;if(b>>>0<10){break a}a=d&2147483584;if(b>>>0<=21){d=a|10;break a}d=b-42>>>0<12?a|54:d;break a}e:{f:{g:{h:{i:{a=v[(B(b,7676)+k|0)+52>>2];if(a){r=a&1;if((a|0)!=1){break i}h=98;a=0;e=d;break h}a=d+32&2147483584;e=d;break g}l=a&-2;h=98;a=0;m=(B(b,7676)+k|0)+56|0;e=d;while(1){n=v[(B(a|1,12)+m|0)+4>>2];g=d-n|0;o=g>>31;p=v[(B(a,12)+m|0)+4>>2];f=d-p|0;i=f>>31;f=i^f+i;q=(f|0)<(h|0);g=o^g+o;f=q?f:h;i=(g|0)<(f|0);h=i?g:f;e=i?n:q?p:e;a=a+2|0;l=l-2|0;if(l){continue}break}}if(r){f=v[((B(b,7676)+k|0)+B(a,12)|0)+60>>2];a=d-f|0;g=a>>31;e=(g^a+g)<(h|0)?f:e}a=e+32&-64;if((d|0)<(e|0)){break f}}a=(a|48)>(d|0)?e:d;break e}a=(a-48|0)<(d|0)?e:d}if((b|0)==1){d=64;if((a|0)<64){break a}d=a+16&-64;break a}if(j&8){d=64;if((a|0)<64){break a}d=a+32&-64;break a}if((a|0)<=47){d=a- -64>>1;break a}if((a|0)<=127){d=a+22&-64;break a}d=a+32&-64}c=(c|0)<0?0-d|0:d}return c}function nq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=-31;a:{b:{c:{d:{e:{switch(v[a+552>>2]){case 2:g=v[c>>2];break c;case 0:f=v[b+4>>2];f:{if((f|0)!=32){d=v[b>>2];break f}f=v[b+12>>2];if(!f){return 2}d=v[b>>2]>>>8|0;v[b>>2]=d;e=v[b+8>>2];g=w[e|0];v[b+12>>2]=f-1;v[b+8>>2]=e+1;f=24;d=d|g<<24;v[b>>2]=d}e=f+1|0;v[b+4>>2]=e;if(d>>>f&1){break d}v[c>>2]=0;return 1;case 1:break e;default:break b}}e=v[b+4>>2]}g:{if(32-e>>>0>=3){d=v[b>>2];f=e;break g}h:{g=v[b+12>>2];if(!g){break h}d=v[b>>2]>>>8|0;v[b>>2]=d;h=v[b+8>>2];i=w[h|0];j=g-1|0;v[b+12>>2]=j;f=e-8|0;v[b+4>>2]=f;v[b+8>>2]=h+1;d=d|i<<24;v[b>>2]=d;if(40-e>>>0>=3){break g}if(!j){break h}d=v[b>>2]>>>8|0;v[b>>2]=d;h=v[b+8>>2];i=w[h|0];v[b+12>>2]=g-2;f=e-16|0;v[b+4>>2]=f;v[b+8>>2]=h+1;d=d|i<<24;v[b>>2]=d;break g}v[a+552>>2]=1;return 2}v[b+4>>2]=f+3;g=d>>>f&7;if(!g){v[c>>2]=1;v[a+552>>2]=0;return 1}v[c>>2]=g}d=v[b+4>>2];i:{if(32-d>>>0>=g>>>0){h=v[b>>2];break i}e=v[b+12>>2];f=d;while(1){if(!e){break a}h=v[b>>2]>>>8|0;v[b>>2]=h;i=v[b+8>>2];j=w[i|0];e=e-1|0;v[b+12>>2]=e;d=f-8|0;v[b+4>>2]=d;v[b+8>>2]=i+1;h=h|j<<24;v[b>>2]=h;i=40-f|0;f=d;if(g>>>0>i>>>0){continue}break}}v[b+4>>2]=d+g;e=1;v[c>>2]=(v[(g<<2)+29296>>2]&h>>>d)+(1<<v[c>>2]);v[a+552>>2]=0}return e}v[a+552>>2]=2;return 2}function sM(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;e=Ca-96|0;Ca=e;v[e+92>>2]=0;f=e- -64|0;if(f){v[f>>2]=0;v[f+4>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0}f=v[a+8>>2];a:{b:{if(v[b+72>>2]!=v[a+16>>2]){v[e+92>>2]=18;break b}if((c|0)!=5){v[e+92>>2]=19;break b}if(d){v[e+92>>2]=7;break b}d=0;g=b+76|0;if(!(!v[g>>2]|!v[b+84>>2])){c=e- -64|0;if(c){v[c>>2]=0;v[c+4>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0}d=v[a+64>>2];c=d<<1;h=c+v[b+76>>2]|0;v[e+64>>2]=h;i=v[b+80>>2];t[e+82|0]=2;u[e+80>>1]=255;c=c+i|0;v[e+68>>2]=c;v[e+72>>2]=c;j=e,k=Ua(f,c,0,h,0,e+92|0),v[j+76>>2]=k;if(v[e+92>>2]){break b}v[e+16>>2]=8;v[e+12>>2]=g;v[e+8>>2]=e- -64;v[e+56>>2]=v[a+64>>2];t[e+60|0]=w[a+68|0];t[e+61|0]=w[a+69|0];a=Ea[v[a+56>>2]](v[a+52>>2],e+8|0)|0;v[e+92>>2]=a;if(a){break b}}a=v[b+156>>2];if(t[a+4|0]&1){a=v[b+88>>2];if(a){Ea[v[f+8>>2]](f,a)}a=v[b+156>>2];v[a+4>>2]=v[a+4>>2]&-2}c=v[e+68>>2];v[b+76>>2]=v[e+64>>2];v[b+80>>2]=c;c=v[e+84>>2];v[b+92>>2]=v[e+80>>2];v[b+96>>2]=c;c=v[e+76>>2];v[b+84>>2]=v[e+72>>2];v[b+88>>2]=c;v[b+104>>2]=v[b+104>>2]+d;v[b+100>>2]=v[b+100>>2]-d;v[a+4>>2]=v[a+4>>2]|1;break a}a=v[e+76>>2];if(!a){break a}if(a){Ea[v[f+8>>2]](f,a)}}Ca=e+96|0;return v[e+92>>2]}function ZI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=-4;a:{if(b>>>0>=c>>>0){break a}e=0;b:{c:{d:{e:{f:{g:{h:{i:{j:{h=a+72|0;switch(w[h+w[b|0]|0]){case 4:break j;case 0:case 1:case 8:break b;case 7:break e;case 6:break f;case 5:break g;case 10:break h;case 9:break i;default:break d}}e=-1;f=b+1|0;if((c-f|0)<1){break a}if(w[f|0]!=93){break c}if((c-(b+2|0)|0)<1){break a}if(w[b+2|0]!=62){break c}b=b+3|0;e=40;break b}a=b+1|0;if((c-a|0)<1){return-1}b=w[w[b+1|0]+h|0]==10?b+2|0:a;e=7;break b}b=b+1|0;e=7;break b}e=-2;if((c-b|0)<2){break a}if(Ea[v[a+352>>2]](a,b)|0){e=0;break b}f=b+2|0;break c}e=-2;if((c-b|0)<3){break a}if(Ea[v[a+356>>2]](a,b)|0){e=0;break b}f=b+3|0;break c}e=-2;if((c-b|0)<4){break a}if(Ea[v[a+360>>2]](a,b)|0){e=0;break b}f=b+4|0;break c}f=b+1|0}e=6;g=c-f|0;if((g|0)<1){b=f;break b}b=f;while(1){f=c;k:{l:{switch(w[w[b|0]+h|0]){default:b=b+1|0;break k;case 5:if((g|0)<2){break b}if(Ea[v[a+352>>2]](a,b)|0){break b}b=b+2|0;break k;case 6:if((g|0)<3){break b}if(Ea[v[a+356>>2]](a,b)|0){break b}b=b+3|0;break k;case 7:break l;case 0:case 1:case 4:case 8:case 9:case 10:break b}}if((g|0)<4){break b}if(Ea[v[a+360>>2]](a,b)|0){break b}b=b+4|0}g=f-b|0;if((g|0)>0){continue}break}}v[d>>2]=b}return e|0}function vr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+736>>2];if(c){e=v[v[c+12>>2]>>2];d=v[a+100>>2];b=d;f=v[c+4>>2];if(f){Ea[v[b+8>>2]](b,f)}v[c+4>>2]=0;b=d;f=v[c+8>>2];if(f){Ea[v[b+8>>2]](b,f)}v[c+8>>2]=0;f=v[c+20>>2];if(f){Ea[v[b+8>>2]](b,f)}v[c+20>>2]=0;b=v[c+12>>2];if(b){Ea[v[d+8>>2]](d,b)}v[c+12>>2]=0;b=v[c+28>>2];if(b){if(e){while(1){f=g<<3;b=v[(f+b|0)+4>>2];if(b){Ea[v[d+8>>2]](d,b)}b=v[c+28>>2];v[(f+b|0)+4>>2]=0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}if(b){Ea[v[d+8>>2]](d,b)}v[c+28>>2]=0}b=v[c+40>>2];if(b){zk(v[a+100>>2],b);b=d;e=v[v[c+40>>2]+28>>2];if(e){Ea[v[b+8>>2]](b,e)}e=v[c+40>>2];v[e+28>>2]=0;e=v[e+24>>2];if(e){Ea[v[b+8>>2]](b,e)}b=v[c+40>>2];v[b+24>>2]=0;if(b){Ea[v[d+8>>2]](d,b)}v[c+40>>2]=0}b=v[c+52>>2];if(b){zk(v[a+100>>2],b);b=d;e=v[v[c+52>>2]+28>>2];if(e){Ea[v[b+8>>2]](b,e)}e=v[c+52>>2];v[e+28>>2]=0;e=v[e+24>>2];if(e){Ea[v[b+8>>2]](b,e)}b=v[c+52>>2];v[b+24>>2]=0;if(b){Ea[v[d+8>>2]](d,b)}v[c+52>>2]=0}b=v[c+56>>2];if(b){zk(v[a+100>>2],b+4|0);a=d;b=v[v[c+56>>2]+24>>2];if(b){Ea[v[a+8>>2]](a,b)}a=v[c+56>>2];v[a+24>>2]=0;if(a){Ea[v[d+8>>2]](d,a)}v[c+56>>2]=0}a=v[c+64>>2];if(a){Ea[v[d+8>>2]](d,a)}v[c+64>>2]=0;a=v[c+72>>2];if(a){Ea[v[d+8>>2]](d,a)}v[c+72>>2]=0;if(c){Ea[v[d+8>>2]](d,c)}}}function wf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{j=v[a+16>>2];f=v[a+4>>2];if(j&1|(f|0)<1){break a}k=v[a+12>>2];while(1){b:{g=b;d=v[(e<<2)+k>>2];if((g|0)==(d|0)){break b}while(1){c:{h=w[g|0];i=w[d|0];if(!i){break c}d=d+1|0;g=g+1|0;if((h|0)==(i|0)){continue}}break}if((h|0)==(i|0)){break b}e=e+1|0;if((f|0)!=(e|0)){continue}break a}break}Pa(b);return 1}if(v[a+8>>2]==(f|0)){h=j&2?64:1;g=h+f|0;d=Va((g<<2)+4|0);if(!d){return 0}d:{if(!f){e=v[a+12>>2];break d}e=v[a+12>>2];Ta(d,e,f<<2)}if(e){Pa(e);f=v[a+4>>2];g=h+v[a+8>>2]|0}v[a+12>>2]=d;v[a+8>>2]=g}if((c|0)>=(f|0)){v[a+4>>2]=f+1;v[v[a+12>>2]+(f<<2)>>2]=b;v[v[a+12>>2]+(v[a+4>>2]<<2)>>2]=0;return 1}d=f+1|0;v[a+4>>2]=d;v[v[a+12>>2]+(d<<2)>>2]=0;e=v[a+4>>2];g=e-1|0;e:{if((g|0)<=(c|0)){break e}h=(e-c|0)-2|0;f=(c^-1)+e&3;f:{if(!f){d=e;break f}while(1){i=v[a+12>>2];d=g;v[i+(d<<2)>>2]=v[(i+(e<<2)|0)-8>>2];g=d-1|0;e=d;f=f-1|0;if(f){continue}break}}if(h>>>0<3){break e}while(1){f=v[a+12>>2];e=g<<2;v[f+e>>2]=v[(f+(d<<2)|0)-8>>2];d=v[a+12>>2];h=(d+e|0)-4|0;f=d;d=e-8|0;v[h>>2]=v[f+d>>2];e=d;d=v[a+12>>2];h=e+d|0;f=d;d=g-3|0;e=d<<2;v[h>>2]=v[f+e>>2];f=e;e=v[a+12>>2];g=g-4|0;v[f+e>>2]=v[e+(g<<2)>>2];if((c|0)<(g|0)){continue}break}}v[v[a+12>>2]+(c<<2)>>2]=b;return 1}function nw(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=Ca-48|0;Ca=b;c=v[a>>2];a:{if(c){break a}h=a-4|0;while(1){d=v[h>>2];if(!d){c=280448;break a}v[b+16>>2]=0;v[b+20>>2]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;c=Nb(d);t[b+44|0]=1;v[b+40>>2]=c;d=Jb(d,1751474532);f=Hb(d);t[b+28|0]=0;v[b+36>>2]=f;e=v[f+12>>2];v[b+12>>2]=e;g=v[f+16>>2];v[b+16>>2]=e+g;b:{if((g|0)>-1){v[b+32>>2]=0;i=b;if(g>>>0>67108862){c=1073741823}else{c=g<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}v[i+20>>2]=c;v[b+8>>2]=0;if(!e){Sa(f);v[b+36>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;break b}c:{d:{if(g>>>0<54){break d}v[b+20>>2]=c-54;if((w[e+1|0]|w[e|0]<<8)!=1){break d}c=w[e+12|0]|w[e+13|0]<<8|(w[e+14|0]<<16|w[e+15|0]<<24);Sa(f);v[b+36>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;if((c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))!=1594834165){break c}if(v[d+4>>2]){v[d+4>>2]=0}break b}Sa(f);v[b+36>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0}Sa(d);d=280448;break b}O(280860,280885,194,280902);L()}d=d?d:280448;c=v[a>>2];if(!c){v[a>>2]=d;c=d;break a}if(d){if((d|0)!=280448){Sa(d)}c=v[a>>2]}if(!c){continue}break}}Ca=b+48|0;return y[c+16>>2]<54?280448:v[c+12>>2]}function bp(a,b,c,d,e){var f=0,g=0,h=0;f=Ca-48|0;Ca=f;v[f+12>>2]=a;v[f+8>>2]=0;v[f+16>>2]=280448;v[f+20>>2]=d?d:280448;v[f+24>>2]=280448;v[f+32>>2]=0;v[f+28>>2]=e?e:280448;d=Xg();v[f+40>>2]=6;v[f+36>>2]=d;a:{if((b|0)!=1196445523){if((b|0)!=1196643650){break a}d=280448;a=v[Ic(a+136|0)>>2];a=a?a:280448;a=y[a+16>>2]<10?280448:v[a+12>>2];b=w[a+9|0]|w[a+8|0]<<8;a=b?a+b|0:280448;if((w[a|0]<<8|w[a+1|0])>>>0>c>>>0){b=a;a=a+(c<<1)|0;a=w[a+2|0]<<8|w[a+3|0];d=a?b+a|0:280448}v[f+32>>2]=434;e=w[d+5|0];b=w[d+4|0];c=e|b<<8;if(!c){break a}g=d+4|0;h=w[d+1|0]|w[d|0]<<8;a=0;while(1){b=(e&255|b<<8)>>>0>a>>>0?(g+(a<<1)|0)+2|0:280448;b=w[b|0]<<8|w[b+1|0];Zj(b?b+d|0:280448,f+8|0,h);a=a+1|0;if((c|0)==(a|0)){break a}e=w[d+5|0];b=w[d+4|0];continue}}d=280448;a=v[ad(a+140|0)>>2];a=a?a:280448;a=y[a+16>>2]<10?280448:v[a+12>>2];b=w[a+9|0]|w[a+8|0]<<8;a=b?a+b|0:280448;if((w[a|0]<<8|w[a+1|0])>>>0>c>>>0){b=a;a=a+(c<<1)|0;a=w[a+2|0]<<8|w[a+3|0];d=a?b+a|0:280448}e=w[d+5|0];b=w[d+4|0];c=e|b<<8;if(!c){break a}g=d+4|0;h=w[d+1|0]|w[d|0]<<8;a=0;while(1){b=(e&255|b<<8)>>>0>a>>>0?(g+(a<<1)|0)+2|0:280448;b=w[b|0]<<8|w[b+1|0];ap(b?b+d|0:280448,f+8|0,h);a=a+1|0;if((c|0)==(a|0)){break a}e=w[d+5|0];b=w[d+4|0];continue}}Wg(v[f+36>>2]);Ca=f+48|0}function Ul(a){var b=0;b=499021;a:{b:{c:{switch(a&65535){case 1:b=499029;break b;case 2:b=499036;break b;case 3:b=499043;break b;case 4:b=499050;break b;case 5:b=499056;break b;case 6:b=499061;break b;case 7:b=499069;break b;case 9:b=499077;break b;case 10:b=499083;break b;case 11:b=499089;break b;case 12:b=499096;break b;case 14:b=499110;break b;case 13:b=499118;break b;case 15:b=499131;break b;case 16:b=499138;break b;case 17:b=499149;break b;case 18:b=499156;break b;case 19:b=499166;break b;case 20:b=499172;break b;case 21:b=499175;break b;case 22:Za(499179,0);b=499185;if(a&65536){break b}break a;case 23:Za(499201,0);b=499185;if(a&65536){break b}break a;case 27:b=499210;break b;case 28:b=499215;break b;case 29:b=499225;break b;case 30:b=499230;break b;case 24:b=499240;break b;case 26:b=499249;break b;case 31:b=499261;break b;case 32:b=499266;break b;case 33:b=499272;break b;case 34:b=499278;break b;case 35:b=499285;break b;case 8:b=499289;break b;case 36:b=499293;break b;case 37:b=499299;break b;case 38:b=499305;break b;case 39:b=499310;break b;case 40:b=499316;break b;case 25:Za(499322,0);b=499185;if(a&65536){break b}break a;case 0:break b;case 41:break c;default:break a}}b=499330}Za(b,0)}}function tM(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;e=Ca+-64|0;Ca=e;v[e+60>>2]=0;j=b+108|0;h=v[a+8>>2];a:{b:{c:{if(v[b+72>>2]!=v[a+16>>2]){v[e+60>>2]=18;break c}if((c|0)!=5){v[e+60>>2]=19;break c}if(t[v[b+156>>2]+4|0]&1){c=v[b+88>>2];if(c){Ea[v[h+8>>2]](h,c)}v[b+88>>2]=0;c=v[b+156>>2];v[c+4>>2]=v[c+4>>2]&-2}if(Qi(b,0,d)){v[e+60>>2]=98;break c}k=b+76|0;i=v[k>>2];d:{if(!i){c=0;break d}c=0;if(!v[b+84>>2]){break d}f=v[a+64>>2];t[b+94|0]=2;u[b+92>>1]=255;c=f<<1;i=c+i|0;v[b+76>>2]=i;c=c+v[b+80>>2]|0;v[b+80>>2]=c;v[b+84>>2]=c;l=b,m=Ua(h,c,0,i,0,e+60|0),v[l+88>>2]=m;c=0;if(v[e+60>>2]){break b}c=v[b+156>>2];v[c+4>>2]=v[c+4>>2]|1;c=f+v[b+104>>2]|0;v[b+104>>2]=c;f=v[b+100>>2]-f|0;v[b+100>>2]=f;g=(v[b+76>>2]<<6)-(c<<6)|0;c=0-(f<<6)|0;if(d){g=v[d+4>>2]+g|0;c=v[d>>2]+c|0}if(c|g){ic(j,c,g)}v[e+8>>2]=8;v[e+4>>2]=j;v[e>>2]=k;v[e+48>>2]=v[a+64>>2];t[e+52|0]=w[a+68|0];t[e+53|0]=w[a+69|0];t[e+54|0]=w[a+70|0];a=Ea[v[a+56>>2]](v[a+52>>2],e)|0;v[e+60>>2]=a;if(a){break b}}v[b+72>>2]=1651078259;break a}c=0}if(!(t[v[b+156>>2]+4|0]&1)){break a}a=v[b+88>>2];if(a){Ea[v[h+8>>2]](h,a)}v[b+88>>2]=0;a=v[b+156>>2];v[a+4>>2]=v[a+4>>2]&-2}if(c|g){ic(j,0-c|0,0-g|0)}Ca=e- -64|0;return v[e+60>>2]}function Xi(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(!a){return 6}e=502704;b=502715;d=a;while(1){f=w[e|0];g=w[d|0];e=e+1|0;d=d+1|0;g=((g-97&255)>>>0<26?g-32|0:g)&255;f=(g|0)==(((f-97&255)>>>0<26?f-32|0:f)&255)?!g<<1:1;if(!f){continue}break}e=a;a:{if((f|0)==2){break a}while(1){d=w[b|0];f=w[e|0];c=1;b=b+1|0;e=e+1|0;f=((f-97&255)>>>0<26?f-32|0:f)&255;f=(f|0)==(((d-97&255)>>>0<26?d-32|0:d)&255)?!f<<1:1;if(!f){continue}break}e=502724;d=a;if((f|0)==2){break a}while(1){c=w[e|0];b=w[d|0];e=e+1|0;d=d+1|0;b=((b-97&255)>>>0<26?b-32|0:b)&255;c=(b|0)==(((c-97&255)>>>0<26?c-32|0:c)&255)?!b<<1:1;if(!c){continue}break}e=502730;d=a;if((c|0)==2){break a}while(1){c=w[e|0];b=w[d|0];e=e+1|0;d=d+1|0;b=((b-97&255)>>>0<26?b-32|0:b)&255;b=(b|0)==(((c-97&255)>>>0<26?c-32|0:c)&255)?!b<<1:1;if(!b){continue}break}c=3;e=502737;d=a;if((b|0)==2){break a}while(1){c=w[e|0];b=w[d|0];e=e+1|0;d=d+1|0;b=((b-97&255)>>>0<26?b-32|0:b)&255;b=(b|0)==(((c-97&255)>>>0<26?c-32|0:c)&255)?!b<<1:1;if(!b){continue}break}c=4;e=502746;if((b|0)==2){break a}while(1){d=w[e|0];c=w[a|0];e=e+1|0;a=a+1|0;c=((c-97&255)>>>0<26?c-32|0:c)&255;d=(c|0)==(((d-97&255)>>>0<26?d-32|0:d)&255)?!c<<1:1;if(!d){continue}break}c=5;if((d|0)==2){break a}c=-1}return c}function Vr(a,b){var c=0,d=0,e=0,f=0,g=0;if(!a){return 35}c=6;a:{b:{c:{if(!b){break c}if(!v[a+96>>2]){return 34}v[b>>2]=0;e=v[a+100>>2];g=v[v[a+96>>2]+12>>2];d=v[g+40>>2];d:{if((d|0)<=0){if(!d){break d}break c}f=Ea[v[e+4>>2]](e,d)|0;if(!f){return 64}Ra(f,0,d)}e:{d=Ea[v[e+4>>2]](e,12)|0;if(d){t[d|0]=0;t[d+1|0]=0;t[d+2|0]=0;t[d+3|0]=0;t[d+4|0]=0;t[d+5|0]=0;t[d+6|0]=0;t[d+7|0]=0;t[d+8|0]=0;t[d+9|0]=0;t[d+10|0]=0;t[d+11|0]=0;v[f>>2]=a;c=Ea[v[e+4>>2]](e,36)|0;if(c){break e}c=64;break b}c=64;if(f){break a}break c}t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;v[f+40>>2]=c;c=v[g+56>>2];if(c){c=Ea[c|0](f)|0;if(c){break b}}v[b>>2]=f;v[d+8>>2]=f;b=v[a+112>>2];v[d>>2]=b;c=0;v[d+4>>2]=0;v[(b?b+4|0:a+108|0)>>2]=d;v[a+112>>2]=d}return c}Ea[v[e+8>>2]](e,d)}a=v[f+40>>2];if(a){Ea[v[e+8>>2]](e,a)}v[f+40>>2]=0;Ea[v[e+8>>2]](e,f);return c}function Cm(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;f=Ca-48|0;Ca=f;p=v[b+12>>2];m=v[b+4>>2];c=p-m|0;t=c;u=c>>31;q=v[b+20>>2];c=q-m|0;k=c;i=c>>31;d=eQ(t,u,c,i);j=Da;a:{b:{g=d;r=v[b+8>>2];n=v[b>>2];d=r-n|0;w=d;x=d>>31;s=v[b+16>>2];e=s-n|0;d=e;l=d;o=d>>31;h=eQ(w,x,d,o);g=g+h|0;d=Da+j|0;d=g>>>0<h>>>0?d+1|0:d;j=v[a>>2];e=e>>31;e=l+e^e;c=c>>31;c=k+c^c;e=eQ(j,j>>31,c>>>0<e>>>0?e:c,0);c=d;j=Da;h=0-(j+((e|0)!=0)|0)|0;if((c|0)<(h|0)?1:(c|0)<=(h|0)?g>>>0<0-e>>>0:0){break b}d=eQ(k,i,k,i);h=Da;z=g;y=eQ(l,o,l,o);g=y+d|0;d=Da+h|0;d=g>>>0<y>>>0?d+1|0:d;h=g+e|0;d=d+j|0;d=e>>>0>h>>>0?d+1|0:d;if((c|0)>(d|0)?1:(d|0)<=(c|0)?z>>>0>h>>>0:0){break b}c=eQ(l,o,t,u);d=Da;g=eQ(k,i,w,x);l=d;d=c;c=l-(Da+(g>>>0>c>>>0)|0)|0;i=c>>31;k=i+(d-g|0)|0;d=c>>31;c=d+c|0;c=d^(k>>>0<i>>>0?c+1|0:c);if((c|0)>(j|0)?1:(j|0)<=(c|0)?e>>>0<(k^i)>>>0:0){break b}b=Am(a,n,m,s,q);break a}c=p+q|0;v[f+28>>2]=c>>1;d=c;c=m+p|0;v[f+20>>2]=(d+c|0)+2>>2;d=r+s|0;v[f+24>>2]=d>>1;v[f+12>>2]=c>>1;c=n+r|0;v[f+8>>2]=c>>1;v[f+16>>2]=(c+d|0)+2>>2;c=v[b+4>>2];v[f>>2]=v[b>>2];v[f+4>>2]=c;c=v[b+20>>2];v[f+32>>2]=v[b+16>>2];v[f+36>>2]=c;b=0;if(!Cm(a,f)){break a}b=Cm(a,f+16|0)}Ca=f+48|0;return b}function XJ(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;i=Ca+-64|0;j=g;g=g>>31;eQ(j,g,d,d>>31);d=Da+131072>>2;k=d>>16;d=d>>31;h=k+d^d;eQ(j,g,c,c>>31);c=Da+131072>>2;d=c>>16;c=c>>31;c=d+c^c;c=(c>>>0>h>>>0?h:c)+2>>>2|0;u[i>>1]=c;u[i+32>>1]=0-c;u[i+34>>1]=d-c;u[i+2>>1]=c+d;h=d<<1;u[i+36>>1]=h-c;u[i+4>>1]=c+h;h=B(d,3);u[i+38>>1]=h-c;u[i+6>>1]=c+h;h=d<<2;u[i+40>>1]=h-c;u[i+8>>1]=c+h;h=B(d,5);u[i+42>>1]=h-c;u[i+10>>1]=c+h;h=B(d,6);u[i+44>>1]=h-c;u[i+12>>1]=c+h;h=B(d,7);u[i+46>>1]=h-c;u[i+14>>1]=c+h;h=d<<3;u[i+48>>1]=h-c;u[i+16>>1]=c+h;h=B(d,9);u[i+18>>1]=h+c;u[i+50>>1]=h-c;h=B(d,10);u[i+52>>1]=h-c;u[i+20>>1]=c+h;h=B(d,11);u[i+54>>1]=h-c;u[i+22>>1]=c+h;h=B(d,12);u[i+56>>1]=h-c;u[i+24>>1]=c+h;h=B(d,13);u[i+58>>1]=h-c;u[i+26>>1]=c+h;h=B(d,14);u[i+60>>1]=h-c;u[i+28>>1]=c+h;h=B(d,15);u[i+62>>1]=h-c;u[i+30>>1]=c+h;e=f<<21|e>>>11;eQ(e,e>>31,j,g);g=((Da+4096>>>13)-(d+k>>>1)|0)+512|0;d=0;while(1){c=0;while(1){e=c<<1;f=g-x[e+i>>1]<<16>>16;f=(f|0)>0?f:0;e=g-x[e+(i+32|0)>>1]<<16>>16;e=(e|0)>0?e:0;e=((f|0)<1024?f:1024)+((e|0)<1024?e:1024)>>>3|0;t[a+c|0]=e>>>0<255?e:255;c=c+1|0;if((c|0)!=16){continue}break}a=a+b|0;g=(g<<16>>16)-k|0;d=d+1|0;if((d|0)!=16){continue}break}}function ur(a){var b=0,c=0,d=0,e=0,f=0;e=v[v[a>>2]+100>>2];b=v[a+300>>2];if(b){v[b+460>>2]=0;c=v[b+8>>2];d=c;f=v[b+24>>2];if(f){Ea[v[d+8>>2]](d,f)}v[b+20>>2]=0;v[b+24>>2]=0;d=v[b+400>>2];if(d){Ea[v[c+8>>2]](c,d)}v[b+396>>2]=0;v[b+400>>2]=0;d=v[b+500>>2];if(d){Ea[v[c+8>>2]](c,d)}u[b+496>>1]=0;v[b+500>>2]=0;d=v[b+456>>2];if(d){Ea[v[c+8>>2]](c,d)}v[b+456>>2]=0;v[b+448>>2]=0;v[b+452>>2]=0;d=v[b+412>>2];if(d){Ea[v[c+8>>2]](c,d)}v[b+408>>2]=0;v[b+412>>2]=0;v[b>>2]=0;v[b+4>>2]=0;if(b){Ea[v[c+8>>2]](c,b)}v[a+300>>2]=0}b=v[a+252>>2];if(b){Ea[v[e+8>>2]](e,b)}v[a+248>>2]=0;v[a+252>>2]=0;b=v[a+260>>2];if(b){Ea[v[e+8>>2]](e,b)}u[a+256>>1]=0;v[a+260>>2]=0;b=v[a+264>>2];if(b){c=v[a+292>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+292>>2]=0;c=v[a+288>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+288>>2]=0;c=v[a+280>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+280>>2]=0;c=v[a+276>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+276>>2]=0;c=v[a+284>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+284>>2]=0;v[a+272>>2]=0;v[a+264>>2]=0;v[a+268>>2]=0}b=v[a+132>>2];if(b){Ea[v[e+8>>2]](e,b)}v[a+132>>2]=0;b=v[a+144>>2];if(b){Ea[v[e+8>>2]](e,b)}v[a+136>>2]=0;v[a+140>>2]=0;v[a+124>>2]=0;v[a+128>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;v[a+304>>2]=-1;v[a+308>>2]=-1}function bh(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;c=v[a+532>>2];if(c){i=v[c+4>>2];e=v[c>>2];g=v[a+100>>2];b=g;d=v[c+24>>2];if(d){Ea[v[b+8>>2]](b,d)}v[c+24>>2]=0;if(e>>>0>=2){Ra(c+28|0,0,(e<<2)-4|0)}b=g;d=v[c+216>>2];if(d){Ea[v[b+8>>2]](b,d)}v[c+216>>2]=0;d=v[c+148>>2];if(d){Ea[v[b+8>>2]](b,d)}v[c+148>>2]=0;d=v[c+288>>2];if(d){Ea[v[b+8>>2]](b,d)}v[c+288>>2]=0;a:{if(!e){break a}j=e&3;if(e-1>>>0>=3){l=e&-4;e=c+212|0;d=c+144|0;k=c+284|0;while(1){b=f<<2;v[b+e>>2]=0;v[b+d>>2]=0;v[b+k>>2]=0;h=b|4;v[h+e>>2]=0;v[d+h>>2]=0;v[h+k>>2]=0;h=b|8;v[h+e>>2]=0;v[d+h>>2]=0;v[h+k>>2]=0;b=b|12;v[b+e>>2]=0;v[b+d>>2]=0;v[b+k>>2]=0;f=f+4|0;l=l-4|0;if(l){continue}break}}if(!j){break a}while(1){b=(f<<2)+c|0;v[b+284>>2]=0;v[b+144>>2]=0;v[b+212>>2]=0;f=f+1|0;j=j-1|0;if(j){continue}break}}b=v[c+136>>2];if(b){Ea[v[g+8>>2]](g,b)}v[c+136>>2]=0;v[c+140>>2]=0;b:{if(!i){break b}f=0;while(1){b=(f<<2)+c|0;e=v[b+8>>2];if(e){Ea[v[g+8>>2]](g,e)}v[b+8>>2]=0;f=f+1|0;if((i|0)!=(f|0)){continue}break}if(!i){break b}f=0;while(1){b=B(f,12)+c|0;e=b;d=v[b+92>>2];if(d){Ea[v[g+8>>2]](g,d)}t[b+88|0]=0;v[e+92>>2]=0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}b=v[a+532>>2];if(b){Ea[v[g+8>>2]](g,b)}v[a+532>>2]=0}}function jw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ca-32|0;a:{if(c-b>>>0<2){break a}d=v[a+76>>2];f=c>>>0>d>>>0?d:c;g=b>>>0>d>>>0?d:b;b:{if(f>>>0<g+2>>>0){break b}h=f-1|0;if(h>>>0<=g>>>0){break b}j=v[a+88>>2];while(1){f=B(h,20)+j|0;v[e+24>>2]=v[f+16>>2];d=v[f+12>>2];v[e+16>>2]=v[f+8>>2];v[e+20>>2]=d;d=v[f+4>>2];v[e+8>>2]=v[f>>2];v[e+12>>2]=d;d=B(g,20)+j|0;v[f+16>>2]=v[d+16>>2];i=v[d+12>>2];v[f+8>>2]=v[d+8>>2];v[f+12>>2]=i;i=v[d+4>>2];v[f>>2]=v[d>>2];v[f+4>>2]=i;v[d+16>>2]=v[e+24>>2];f=v[e+20>>2];v[d+8>>2]=v[e+16>>2];v[d+12>>2]=f;f=v[e+12>>2];v[d>>2]=v[e+8>>2];v[d+4>>2]=f;g=g+1|0;h=h-1|0;if(g>>>0<h>>>0){continue}break}}if(!w[a+70|0]){break a}d=v[a+76>>2];c=c>>>0>d>>>0?d:c;g=b>>>0>d>>>0?d:b;if(c>>>0<g+2>>>0){break a}h=c-1|0;if(h>>>0<=g>>>0){break a}c=v[a+96>>2];while(1){b=c+B(h,20)|0;a=b;v[e+24>>2]=v[a+16>>2];d=v[a+12>>2];v[e+16>>2]=v[a+8>>2];v[e+20>>2]=d;d=v[a+4>>2];v[e+8>>2]=v[a>>2];v[e+12>>2]=d;a=c+B(g,20)|0;v[b+16>>2]=v[a+16>>2];d=v[a+12>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=d;d=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=d;v[a+16>>2]=v[e+24>>2];b=v[e+20>>2];v[a+8>>2]=v[e+16>>2];v[a+12>>2]=b;b=v[e+12>>2];v[a>>2]=v[e+8>>2];v[a+4>>2]=b;g=g+1|0;h=h-1|0;if(g>>>0<h>>>0){continue}break}}}function Hd(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{d:{e:{f:{if(!w[a+69|0]){if(y[a+76>>2]<b>>>0){break d}v[a+72>>2]=b;break f}if(!w[a+68|0]){break e}f=v[a+76>>2];e=v[a+80>>2];c=v[a+72>>2];if((f+e|0)-c>>>0<b>>>0){break c}if(b>>>0>e>>>0){if(y[a+84>>2]<=b>>>0){if(!Le(a,b)){break e}}e=b-e|0;d=v[a+92>>2];c=v[a+88>>2];g:{if((d|0)!=(c|0)){b=c;break g}f=v[a+80>>2];b=d;if(f+e>>>0<=e+v[a+72>>2]>>>0){break g}if(!w[a+69|0]){break b}b=v[a+96>>2];v[a+92>>2]=b;Ta(b,c,B(f,20));d=v[a+92>>2];b=v[a+88>>2]}mb(B(v[a+80>>2],20)+d|0,b+B(v[a+72>>2],20)|0,B(e,20));v[a+72>>2]=e+v[a+72>>2];v[a+80>>2]=e+v[a+80>>2];break f}if(b>>>0>=e>>>0){break f}b=e-b|0;if(b>>>0>c>>>0){e=b+f|0;if(!(!e|e>>>0<y[a+84>>2])){if(!Le(a,e)){break e}f=v[a+76>>2];c=v[a+72>>2]}d=v[a+88>>2]+B(c,20)|0;mb(d+B(b,20)|0,d,B(f-c|0,20));d=v[a+76>>2];c=b+v[a+72>>2]|0;if(d>>>0<c>>>0){Ra(v[a+88>>2]+B(d,20)|0,0,B(c-d|0,20));c=b+v[a+72>>2]|0;d=v[a+76>>2]}v[a+72>>2]=c;v[a+76>>2]=b+d}if(b>>>0>c>>>0){break a}d=c-b|0;v[a+72>>2]=d;c=v[a+80>>2]-b|0;v[a+80>>2]=c;mb(v[a+88>>2]+B(d,20)|0,v[a+92>>2]+B(c,20)|0,B(b,20))}d=1}return d}O(281869,281818,350,281878);L()}O(281886,281818,357,281878);L()}O(281806,281818,168,281831);L()}O(281913,281818,383,281878);L()}function mf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Ca-16|0;Ca=f;k=v[b+28>>2];v[a+28>>2]=0;v[a+32>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=b;v[a+4>>2]=v[b+8>>2];g=a;a:{b:{c:{if(d){e=Ob(b,f+12|0);if(v[f+12>>2]){break b}d=5;break c}e=kb(b,f+12|0);if(v[f+12>>2]){break b}d=3}v[g+8>>2]=d;d=0;if(!e){break a}g=cc(b,f+12|0);if(v[f+12>>2]){break b}if((g-1&255)>>>0>=4){v[f+12>>2]=8;break b}t[a+16|0]=g;v[a+12>>2]=e;g=g&255;v[a+20>>2]=v[a+8>>2]+(v[a+4>>2]+B(g,e+1|0)|0);e=Ub(b,B(e,g));v[f+12>>2]=e;if(e){break b}i=Ca-16|0;Ca=i;l=Vb(v[a>>2],i+12|0,w[a+16|0]);d:{if(l){break d}e=w[a+16|0];if(!e){break d}j=e&3;e:{if(e-1>>>0<3){e=0;h=0;break e}h=e&252;e=0;while(1){g=e;e=e+4|0;h=h-4|0;if(h){continue}break}h=w[(i+12|0)+(g|3)|0]|(w[(i+12|0)+(g|2)|0]|(w[g+(i+12|0)|0]<<16|w[(i+12|0)+(g|1)|0]<<8))<<8}if(!j){break d}while(1){h=w[(i+12|0)+e|0]|h<<8;e=e+1|0;j=j-1|0;if(j){continue}break}}v[f+12>>2]=l;Ca=i+16|0;if(v[f+12>>2]){break b}if(!h){v[f+12>>2]=8;break b}e=h-1|0;v[a+24>>2]=e;g=f;f:{if(c){b=Jc(b,e,a+32|0);break f}b=Ub(b,e)}v[g+12>>2]=b;if(!b){break a}}b=v[a+28>>2];if(b){Ea[v[k+8>>2]](k,b)}v[a+28>>2]=0;d=v[f+12>>2]}Ca=f+16|0;return d}function bo(a,b,c){var d=0;d=280448;a:{b:{c:{switch(c-1|0){case 0:d:{b=w[a|0]|w[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 0:break a;case 1:break d;default:break b}}break a;case 1:e:{b=w[a|0]|w[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 0:break a;case 1:break e;default:break b}}break a;case 2:if((w[a+1|0]|w[a|0]<<8)!=1){break b}break a;case 3:if((w[a+1|0]|w[a|0]<<8)!=1){break b}break a;case 4:if((w[a+1|0]|w[a|0]<<8)!=1){break b}break a;case 5:if((w[a+1|0]|w[a|0]<<8)!=1){break b}break a;case 6:f:{b=w[a|0]|w[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 0:case 1:break a;case 2:break f;default:break b}}b=a;a=w[a+7|0]|w[a+6|0]<<8;return a?b+a|0:280448;case 7:g:{b=w[a|0]|w[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 0:case 1:break a;case 2:break g;default:break b}}b=a;a=(a+2|0)+(w[a+3|0]<<1|w[a+2|0]<<9)|0;a=w[a+3|0]|w[a+2|0]<<8?a+4|0:280448;a=w[a|0]<<8|w[a+1|0];return a?b+a|0:280448;case 8:break c;default:break b}}if((w[a+1|0]|w[a|0]<<8)==1){c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=bo(c?c+a|0:280448,b,w[a+3|0]|w[a+2|0]<<8)}else{d=280448}}return d}b=a;a=w[a+3|0]|w[a+2|0]<<8;return a?b+a|0:280448}function yA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=a+8208|0;if(d>>>0>y[b+160>>2]){ob(b,8)}c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!(c>>>0>8207?c>>>0<=v[b+160>>2]-a>>>0:0)){ob(b,8)}c=w[a+8204|0]|w[a+8205|0]<<8|(w[a+8206|0]<<16|w[a+8207|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{b:{if(g>>>0>(v[b+160>>2]-d>>>0)/12>>>0){ob(b,8);break b}if(!g){break a}}h=a+12|0;c=0;while(1){e=c;f=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);j=w[d+1|0]<<16|w[d|0]<<24;a=w[d+3|0]|(j|w[d+2|0]<<8);k=w[d+5|0]<<16|w[d+4|0]<<24;c=w[d+7|0]|(k|w[d+6|0]<<8);if(a>>>0>c>>>0){ob(b,8)}if(!(!i|a>>>0>e>>>0)){ob(b,8)}c:{if(!v[b+164>>2]){break c}l=v[b+172>>2];e=c-a|0;if(!(l-e>>>0>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0?l>>>0>=e>>>0:0)){ob(b,16)}e=e+1|0;if(j){if(!e){break c}while(1){if(!(w[(a>>>19|0)+h|0]<<(a>>>16&7)&128)){ob(b,8)}if(!(w[(a>>>3&8191)+h|0]<<(a&7)&128)){ob(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}break c}if(k){ob(b,8)}if(!e){break c}while(1){if(w[(a>>>3&8191)+h|0]<<(a&7)&128){ob(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}}d=d+12|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}return 0}function Yd(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;f=Ca-16|0;Ca=f;h=v[a+100>>2];v[f+12>>2]=0;m=x[a+340>>1];a:{if(!m){break a}g=-1;i=-1;k=-1;l=-1;j=v[a+356>>2];e=j;while(1){b:{if(!x[e+8>>1]|x[e+6>>1]!=(b|0)){break b}c:{switch(x[e>>1]){case 0:case 2:g=d;break b;case 1:if(!x[e+4>>1]){k=d;break b}l=x[e+2>>1]?l:d;break b;case 3:break c;default:break b}}if((x[e+4>>1]&1023)!=9?(i|0)!=-1:0){break b}n=x[e+2>>1];if(n>>>0>10|!(1<<n&1027)){break b}o=(x[e+4>>1]&1023)==9;i=d}e=e+20|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}d=(k|0)>-1?k:l;d:{e:{f:{if((i|0)>=0){if((d|0)>=0){b=315;if(!o){break f}}e=0;d=B(i,20)+j|0;g=x[d+2>>1];if(g>>>0>10){break a}b=316;if(1<<g&1027){break e}break a}b=315;if((d|0)>-1){break f}e=0;b=316;d=g;if((d|0)<0){break a}}if(!j){break d}d=B(d,20)+j|0}g:{if(v[d+16>>2]){break g}a=v[a+368>>2];e=0;p=d,q=Ua(h,1,0,x[d+8>>1],0,f+12|0),v[p+16>>2]=q;h:{if(v[f+12>>2]){break h}g=Ya(a,v[d+12>>2]);v[f+12>>2]=g;if(g){break h}a=Vb(a,v[d+16>>2],x[d+8>>1]);v[f+12>>2]=a;if(!a){break g}}a=v[d+16>>2];if(a){Ea[v[h+8>>2]](h,a)}u[d+8>>1]=0;v[d+16>>2]=0;break a}e=Ea[b|0](d,h)|0;break a}e=0}v[c>>2]=e;Ca=f+16|0;return v[f+12>>2]}function VL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;e=Ca-464|0;Ca=e;f=b+8|0;g=v[f+4>>2];v[e+16>>2]=v[f>>2];v[e+20>>2]=g;v[e+40>>2]=v[b+32>>2];f=v[b+28>>2];v[e+32>>2]=v[b+24>>2];v[e+36>>2]=f;f=v[b+20>>2];v[e+24>>2]=v[b+16>>2];v[e+28>>2]=f;f=v[b+4>>2];g=v[b>>2];v[e+16>>2]=2;v[e+8>>2]=g;v[e+12>>2]=f;a:{switch(v[b+8>>2]-7|0){case 0:case 3:v[e+16>>2]=3;break;default:break a}}Gf(a,e+448|0);b:{if(v[e+456>>2]!=3){b=162;break b}i=v[a>>2];g=v[e+448>>2]+1|0;v[a>>2]=g;j=v[a+8>>2];h=v[e+452>>2]-1|0;v[a+8>>2]=h;f=e+48|0;c:{if(g>>>0>=h>>>0){break c}g=e+432|0;while(1){Gf(a,e+432|0);if(!v[e+440>>2]){break c}if(f>>>0<g>>>0){h=v[e+436>>2];v[f>>2]=v[e+432>>2];v[f+4>>2]=h;v[f+8>>2]=v[e+440>>2]}f=f+12|0;if(y[a>>2]<y[a+8>>2]){continue}break}}v[a+8>>2]=j;v[a>>2]=i;g=f-(e+48|0)|0;f=(g|0)/12|0;if((g|0)<0){b=162;break b}g=v[b+24>>2];g=f>>>0>g>>>0?g:f;d:{if(v[b+8>>2]==7){break d}b=v[b+28>>2];if(!b){break d}t[b+v[c>>2]|0]=g}e:{if((g|0)>=1){h=w[e+28|0];f=e+48|0;while(1){v[a>>2]=v[f>>2];v[a+8>>2]=v[f+4>>2];b=tv(a,e+8|0,c,d,0);if(b){break e}v[e+24>>2]=h+v[e+24>>2];f=f+12|0;b=(g|0)>1;g=g-1|0;if(b){continue}break}}b=0}v[a+8>>2]=j;v[a>>2]=i}Ca=e+464|0;return b|0}function Xc(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=Ca-48|0;Ca=b;v[b+16>>2]=0;v[b+20>>2]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;t[b+44|0]=1;v[b+40>>2]=0;h=a;a=Jb(a,1835104368);d=Hb(a);t[b+28|0]=0;v[b+36>>2]=d;e=v[d+12>>2];v[b+12>>2]=e;f=v[d+16>>2];v[b+16>>2]=f+e;a:{if((f|0)>-1){v[b+32>>2]=0;g=b;if(f>>>0>67108862){c=1073741823}else{c=f<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}v[g+20>>2]=c;v[b+8>>2]=0;if(!e){Sa(d);v[b+36>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;break a}b:{c:{if(f>>>0<6){break c}v[b+20>>2]=c-6;d:{e:{g=w[e|0]|w[e+1|0]<<8;switch((g<<8|g>>>8)&65535){case 0:break d;case 1:break e;default:break c}}if(f-6>>>0<26){break c}v[b+20>>2]=c-32;Sa(d);v[b+36>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;if(v[a+4>>2]){v[a+4>>2]=0}break a}c=w[e+3|0];g=w[e+2|0];Sa(d);v[b+36>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;if((c|g<<8)!=20480){break b}if(v[a+4>>2]){v[a+4>>2]=0}break a}Sa(d);v[b+36>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0}Sa(a);a=280448;break a}O(280860,280885,194,280902);L()}c=y[a+16>>2]<6?280448:v[a+12>>2];c=w[c+4|0]<<8|w[c+5|0];v[h+32>>2]=c;Sa(a);Ca=b+48|0;return c}function hs(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{c=v[a+4>>2];d:{if(c>>>0<y[a+104>>2]){v[a+4>>2]=c+1;c=w[c|0];break d}c=Eb(a)}switch(c-43|0){case 0:case 2:break b;default:break c}}e=c-48|0;break a}f=(c|0)==45;b=!b;c=v[a+4>>2];e:{if(c>>>0<y[a+104>>2]){v[a+4>>2]=c+1;c=w[c|0];break e}c=Eb(a)}e=c-48|0;if(!(b|e>>>0<10|!v[a+104>>2])){v[a+4>>2]=v[a+4>>2]-1}}f:{if(e>>>0<=9){b=0;while(1){d=(b+c|0)-48|0;g=(d|0)>214748363;b=v[a+4>>2];g:{if(b>>>0<y[a+104>>2]){v[a+4>>2]=b+1;c=w[b|0];break g}c=Eb(a)}e=c-48|0;if(!(g|e>>>0>9)){b=B(d,10);continue}break}b=d;d=d>>31;h:{if(e>>>0>=10){break h}while(1){d=eQ(b,d,10,0);b=d+c|0;c=Da;c=b>>>0<d>>>0?c+1|0:c;d=b;b=d-48|0;d=c-(d>>>0<48)|0;c=v[a+4>>2];i:{if(c>>>0<y[a+104>>2]){v[a+4>>2]=c+1;c=w[c|0];break i}c=Eb(a)}e=c-48|0;if(e>>>0>9){break h}if((d|0)<21474836?1:(d|0)<=21474836?b>>>0<2061584302:0){continue}break}}if(e>>>0<10){while(1){c=v[a+4>>2];j:{if(c>>>0<y[a+104>>2]){v[a+4>>2]=c+1;c=w[c|0];break j}c=Eb(a)}if(c-48>>>0<10){continue}break}}if(v[a+104>>2]){v[a+4>>2]=v[a+4>>2]-1}a=b;b=f?0-a|0:a;d=f?0-(((a|0)!=0)+d|0)|0:d;break f}b=0;d=-2147483648;if(!v[a+104>>2]){break f}v[a+4>>2]=v[a+4>>2]-1;Da=-2147483648;return 0}Da=d;return b}function rj(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Ca-32|0;Ca=h;j=v[b+12>>2];g=v[b+8>>2];l=j-g>>3;i=l&1;if(!(w[e|0]|(w[a+8|0]|!i))){a:{if((g|0)==(j|0)){m=v[b+4>>2];if(!m|v[m>>2]){break a}v[m>>2]=130;break a}b:{switch(v[g+4>>2]-1|0){case 1:k=v[g>>2]<<16;break a;case 0:k=v[g>>2];k=((k>>31)+k|0)- -8192>>14;break a;default:break b}}k=v[g>>2]}v[d>>2]=(v[v[v[a+176>>2]+536>>2]+544>>2]<<16)+k}if(!w[v[a+176>>2]+548|0]){c:{if(i>>>0>=l>>>0){break c}while(1){j=j-g>>3;d:{if(j>>>0<=i>>>0){a=0;d=v[b+4>>2];if(!d|v[d>>2]){break d}v[d>>2]=130;break d}e:{f:{g:{a=(i<<3)+g|0;switch(v[a+4>>2]-1|0){case 0:break f;case 1:break g;default:break e}}a=v[a>>2]<<16;break d}a=v[a>>2];a=((a>>31)+a|0)- -8192>>14;break d}a=v[a>>2]}d=a+f|0;v[h+12>>2]=d;a=i+1|0;h:{if(a>>>0>=j>>>0){g=0;a=v[b+4>>2];if(!a|v[a>>2]){break h}v[a>>2]=130;break h}i:{j:{k:{a=(a<<3)+g|0;switch(v[a+4>>2]-1|0){case 0:break j;case 1:break k;default:break i}}g=v[a>>2]<<16;break h}a=v[a>>2];g=((a>>31)+a|0)- -8192>>14;break h}g=v[a>>2]}v[h+20>>2]=0;v[h+24>>2]=0;t[h+8|0]=0;f=d+g|0;v[h+16>>2]=f;kv(c,h+8|0);g=v[b+8>>2];i=i+2|0;if(l>>>0<=i>>>0){break c}j=v[b+12>>2];continue}}v[b+12>>2]=g}t[e|0]=1;Ca=h+32|0}function Wm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Ca+-64|0;Ca=f;g=6;a:{if(!a|!d){break a}e=b;b=v[e+4>>2];l=v[e>>2];v[f>>2]=l;v[f+4>>2]=b;g=v[e+8>>2];j=v[e+12>>2];k=v[e+16>>2];h=v[e+20>>2];i=v[e+28>>2];e=v[e+24>>2];v[f+52>>2]=i;i=h+i|0;v[f+44>>2]=(i|0)/2;h=h+j|0;i=h+i|0;v[f+36>>2]=(i|0)/4;j=b+j|0;h=j+h|0;v[f+20>>2]=(h|0)/4;v[f+28>>2]=(h+i|0)/8;h=g+l|0;v[f+8>>2]=(h|0)/2;v[f+48>>2]=e;e=e+k|0;v[f+40>>2]=(e|0)/2;g=g+k|0;k=g+h|0;v[f+16>>2]=(k|0)/4;v[f+12>>2]=(j|0)/2;e=e+g|0;v[f+32>>2]=(e|0)/4;v[f+24>>2]=(e+k|0)/8;if((c|0)>=3){b=c>>>1|0;g=Wm(a,f,b,d);if(g){break a}g=Wm(a,f+24|0,b,d);break a}v[f+60>>2]=0;e=qb(a,40,f+60|0);g=v[f+60>>2];if(g){break a}v[e>>2]=0;v[e+4>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[f+60>>2]=0;a=qb(a,40,f+60|0);g=v[f+60>>2];if(g){break a}v[a+16>>2]=0;v[a+20>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[e>>2]=l;v[e+4>>2]=b;b=v[f+24>>2];c=v[f+28>>2];v[e+32>>2]=1;v[e+8>>2]=b;v[e+12>>2]=c;v[a>>2]=b;v[a+4>>2]=c;b=v[f+48>>2];c=v[f+52>>2];v[a+32>>2]=1;v[a+8>>2]=b;v[a+12>>2]=c;v[e+36>>2]=a;v[a+36>>2]=v[d>>2];v[d>>2]=e;g=0}Ca=f- -64|0;return g}function mx(a,b,c){var d=0,e=0;a:{b:{c:{d:{e:{switch(a-17|0){default:if((a|0)==263){break a}if((a|0)==292){break d}case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:Rg(a,b);return;case 13:break b;case 12:break c;case 0:break e}}a=v[b+24>>2];f:{if(a){a=a-1|0;if(a>>>0>=y[b+32>>2]){a=v[70113];e=v[70112];v[163916]=e;v[163917]=a;l(0,e|0);l(1,a|0);d=+n();break f}d=A[v[b+36>>2]+(a<<3)>>3];break f}t[b+20|0]=1;a=v[70113];e=v[70112];v[163916]=e;v[163917]=a;l(0,e|0);l(1,a|0);d=+n()}g:{if(D(d)<2147483648){a=~~d;break g}a=-2147483648}if((a|0)<=-1){t[b+20|0]=1;a=0}v[c+16>>2]=a;break a}a=v[b+24>>2];h:{if(a){a=a-1|0;if(a>>>0>=y[b+32>>2]){a=v[70113];e=v[70112];v[163916]=e;v[163917]=a;l(0,e|0);l(1,a|0);d=+n();break h}d=A[v[b+36>>2]+(a<<3)>>3];break h}t[b+20|0]=1;a=v[70113];e=v[70112];v[163916]=e;v[163917]=a;l(0,e|0);l(1,a|0);d=+n()}i:{if(D(d)<2147483648){a=~~d;break i}a=-2147483648}if((a|0)<=-1){t[b+20|0]=1;a=0}v[c+20>>2]=a;break a}Th(b+20|0,b);return}d=Sh(b);a=v[b+24>>2];if(a>>>0<y[b+32>>2]){v[b+24>>2]=a+1;A[v[b+36>>2]+(a<<3)>>3]=d;return}t[b+20|0]=1;a=v[70113];v[163916]=v[70112];v[163917]=a;A[81958]=d;return}v[b+24>>2]=0}function kq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ca-16|0;Ca=h;v[h+12>>2]=0;a:{if(!a){d=33;break a}d=6;if(!b|!c){break a}if((b|0)==(c|0)){d=0;break a}f=v[c+8>>2];i=(f|0)>-1?1:-1;d=0;e=v[b+8>>2];j=(e|0)<0?-1:1;if(!v[b+12>>2]){a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;if((i|0)==(j|0)){break a}v[c+8>>2]=0-v[c+8>>2];break a}d=e>>31;e=d+e^d;g=B(e,v[b>>2]);a=v[a>>2];l=c;d=v[c+12>>2];b:{c:{if(d){k=f>>31;f=B(v[c>>2],k^f+k);if((f|0)==(g|0)){break b}d=Kd(a,1,f,g,d,h+12|0);break c}d=qb(a,g,h+12|0)}v[l+12>>2]=d}d:{if(v[h+12>>2]){break d}a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;v[c+12>>2]=d;if((i|0)==(j|0)){Ta(d,v[b+12>>2],g);break d}a=v[c>>2];if(!a){break d}c=0-e|0;f=a-1|0;d=B(f,e)+d|0;b=v[b+12>>2];g=a&3;if(g){while(1){a=a-1|0;d=Ta(d,b,e)+c|0;b=b+e|0;g=g-1|0;if(g){continue}break}}if(f>>>0<3){break d}while(1){f=b+e|0;i=f+e|0;g=i+e|0;d=Ta(Ta(Ta(Ta(d,b,e)+c|0,f,e)+c|0,i,e)+c|0,g,e)+c|0;b=e+g|0;a=a-4|0;if(a){continue}break}}d=v[h+12>>2]}Ca=h+16|0;return d}function Tu(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;g=Ca-80|0;Ca=g;v[e>>2]=0;a:{if(c>>>0<=31){v[d>>2]=0;break a}b:{c:{f=v[b+112>>2];if(f){h=(c|0)==160?32:c;k=h|61440;c=0;d:{if((f|0)<=0){break d}while(1){f=h;i=v[((c<<2)+b|0)+68>>2];j=v[i+92>>2];if(j){f=v[j+4>>2]==1937337698?k:h}f=kc(i,f);if(f){break c}c=c+1|0;if((c|0)>=v[b+112>>2]){break d}if(!f){continue}break}}c=v[b+20>>2];f=v[b+4>>2];i=v[b>>2];j=v[b+8>>2];v[g- -64>>2]=v[b+12>>2];v[g+60>>2]=j;v[g+56>>2]=i;v[g+52>>2]=f;v[g+48>>2]=h;hb(c,4,364436,g+48|0);a=Vu(a,b,h);v[d>>2]=a;f=0;if((a|0)<0){break b}f=h;a=v[((a<<2)+b|0)+68>>2];c=v[a+92>>2];if(c){f=v[c+4>>2]==1937337698?k:h}f=kc(a,f);if(f){break b}e:{if(v[a+36>>2]<1){break e}c=v[b+20>>2];v[g+32>>2]=h;hb(c,2,364501,g+32|0);c=0;if(v[a+36>>2]<=0){break e}while(1){se(a,v[v[a+40>>2]+(c<<2)>>2]);i=a;f=v[a+92>>2];if(f){f=v[f+4>>2]==1937337698?k:h}else{f=h}f=kc(i,f);if(f){break b}c=c+1|0;if((c|0)<v[a+36>>2]){continue}break}}a=v[b+20>>2];c=v[b+4>>2];f=v[b>>2];i=v[b+8>>2];v[g+16>>2]=v[b+12>>2];v[g+12>>2]=i;v[g+8>>2]=f;v[g+4>>2]=c;v[g>>2]=h;hb(a,1,364556,g);f=0;break b}v[d>>2]=0;break a}v[d>>2]=c}a=v[d>>2];v[d>>2]=(a|0)>0?a:0;v[e>>2]=f}Ca=g+80|0}function wP(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;a:{b=v[a+72>>2];h=v[b+168>>2];if((h|0)!=v[163578]){if(!c){break a}k=f,l=Ea[h|0](a,v[a+76>>2],v[d>>2],v[b+32>>2])|0,v[k>>2]=l;if((c|0)==1){break a}b=c-1|0;h=b&1;if((c|0)!=2){c=b&-2;while(1){b=f+g|0;d=d+e|0;f=v[a+72>>2];k=b,l=Ea[v[f+168>>2]](a,v[a+76>>2],v[d>>2],v[f+32>>2])|0,v[k>>2]=l;f=b+g|0;d=d+e|0;b=v[a+72>>2];k=f,l=Ea[v[b+168>>2]](a,v[a+76>>2],v[d>>2],v[b+32>>2])|0,v[k>>2]=l;c=c-2|0;if(c){continue}break}}if(!h){break a}b=a;c=v[a+76>>2];a=v[a+72>>2];k=f+g|0,l=Ea[v[a+168>>2]](b,c,v[d+e>>2],v[a+32>>2])|0,v[k>>2]=l;return}b=v[a+12>>2];h=v[b+72>>2];Ea[v[h+176>>2]](b,v[b+76>>2],c,d,e,f,g,v[h+40>>2]);if(!c){break a}h=v[a+12>>2];if(!h){break a}j=c&1;if((c|0)!=1){e=c&-2;while(1){b=v[f>>2];c=f;d=v[h+20>>2];i=v[a+20>>2];if((d|0)!=(i|0)){b=fQ(eQ(i,i>>31,b,b>>31),Da,d,d>>31)}v[c>>2]=b;c=f+g|0;b=v[c>>2];d=c;f=v[h+20>>2];i=v[a+20>>2];if((f|0)!=(i|0)){b=fQ(eQ(i,i>>31,b,b>>31),Da,f,f>>31)}v[d>>2]=b;f=c+g|0;e=e-2|0;if(e){continue}break}}if(!j){break a}b=v[f>>2];c=v[h+20>>2];a=v[a+20>>2];if((c|0)!=(a|0)){b=fQ(eQ(a,a>>31,b,b>>31),Da,c,c>>31)}v[f>>2]=b}}function vP(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;a:{b=v[a+72>>2];h=v[b+172>>2];if((h|0)!=v[163579]){if(!c){break a}k=f,l=Ea[h|0](a,v[a+76>>2],v[d>>2],v[b+36>>2])|0,v[k>>2]=l;if((c|0)==1){break a}b=c-1|0;h=b&1;if((c|0)!=2){c=b&-2;while(1){b=f+g|0;d=d+e|0;f=v[a+72>>2];k=b,l=Ea[v[f+172>>2]](a,v[a+76>>2],v[d>>2],v[f+36>>2])|0,v[k>>2]=l;f=b+g|0;d=d+e|0;b=v[a+72>>2];k=f,l=Ea[v[b+172>>2]](a,v[a+76>>2],v[d>>2],v[b+36>>2])|0,v[k>>2]=l;c=c-2|0;if(c){continue}break}}if(!h){break a}b=a;c=v[a+76>>2];a=v[a+72>>2];k=f+g|0,l=Ea[v[a+172>>2]](b,c,v[d+e>>2],v[a+36>>2])|0,v[k>>2]=l;return}b=v[a+12>>2];h=v[b+72>>2];Ea[v[h+180>>2]](b,v[b+76>>2],c,d,e,f,g,v[h+44>>2]);if(!c){break a}h=v[a+12>>2];if(!h){break a}j=c&1;if((c|0)!=1){e=c&-2;while(1){b=v[f>>2];c=f;d=v[h+24>>2];i=v[a+24>>2];if((d|0)!=(i|0)){b=fQ(eQ(i,i>>31,b,b>>31),Da,d,d>>31)}v[c>>2]=b;c=f+g|0;b=v[c>>2];d=c;f=v[h+24>>2];i=v[a+24>>2];if((f|0)!=(i|0)){b=fQ(eQ(i,i>>31,b,b>>31),Da,f,f>>31)}v[d>>2]=b;f=c+g|0;e=e-2|0;if(e){continue}break}}if(!j){break a}b=v[f>>2];c=v[h+24>>2];a=v[a+24>>2];if((c|0)!=(a|0)){b=fQ(eQ(a,a>>31,b,b>>31),Da,c,c>>31)}v[f>>2]=b}}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,l=0,m=0,n=0;f=Ca-48|0;Ca=f;j=v[a+296>>2];a:{if(!j){e=23;break a}h=v[j+12>>2];g=v[h+8>>2];i=v[h+4>>2];e=i+v[h+12>>2]|0;v[f+44>>2]=e;g=g+i|0;b:{if(w[h+33|0]){i=v[a+224>>2];i=Ea[v[i>>2]](i,e,g,f+44|0)|0;e=zg(a,v[a+224>>2],e,g,i,v[f+44>>2],f+44|0,0,1,1);break b}e=ag(a,v[j+16>>2],v[a+224>>2],e,g,f+44|0,0,1)}if(e){break a}e=a;i=g;g=v[f+44>>2];if(!((i|0)==(g|0)|v[a+476>>2]!=3)){v[h+12>>2]=g-v[h+4>>2];e=0;break a}while(1){g=e;e=v[g+472>>2];if(e){continue}break}if(v[g+540>>2]>=1){i=v[g+536>>2];e=v[g+532>>2];k=v[g+528>>2];l=w[h+33|0];m=v[h>>2];n=v[h+8>>2];v[f+40>>2]=5523;v[f+36>>2]=n;v[f+32>>2]=509449;v[f+28>>2]=m;v[f+24>>2]=l?508104:508106;v[f+20>>2]=509099;v[f+16>>2]=(e<<1)-2;v[f+12>>2]=i;v[f+8>>2]=e;v[f+4>>2]=k;v[f>>2]=g;$b(v[130915],509364,f)}v[g+532>>2]=v[g+532>>2]-1;t[h+32|0]=0;v[a+296>>2]=v[j+8>>2];v[j+8>>2]=v[a+300>>2];v[a+300>>2]=j;if(w[h+33|0]){v[a+276>>2]=990;e=v[a+144>>2];e=Ea[v[e>>2]](e,b,c,f+44|0)|0;e=zg(a,v[a+144>>2],b,c,e,v[f+44>>2],d,!w[a+480|0],1,0);break a}v[a+276>>2]=992;e=ag(a,v[a+472>>2]!=0,v[a+144>>2],b,c,d,!w[a+480|0],0)}Ca=f+48|0;return e|0}function pi(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(!a){break a}b=x[a+2>>1];c=b<<16>>16;if((c|0)<1){break a}h=2;if((c|0)==1){break a}i=v[a+4>>2];j=i+(b<<3)|0;f=i+8|0;d=v[i>>2];e=d;b=i;c=v[b+4>>2];g=c;while(1){b=v[b+12>>2];g=(b|0)>(g|0)?b:g;c=(b|0)<(c|0)?b:c;b=v[f>>2];e=(b|0)>(e|0)?b:e;d=(b|0)<(d|0)?b:d;b=f;f=b+8|0;if(j>>>0>f>>>0){continue}break}if((d|0)==(e|0)|(c|0)==(g|0)|((d|0)<-16777216|(c|0)<-16777216)){break a}if((e|0)>16777216|(g|0)>16777216){break a}m=u[a>>1];if((m|0)>=1){f=0;b=e>>31;e=b+e^b;b=d>>31;b=17-E(e|b+d^b)|0;h=(b|0)>0?b:0;b=17-E(g-c|0)|0;j=(b|0)>0?b:0;p=v[a+12>>2];a=0;while(1){e=u[(l<<1)+p>>1];b:{if((e|0)<(a|0)){break b}b=(e<<3)+i|0;c=v[b>>2]>>h;b=v[b+4>>2]>>j;c:{if(!((e-a|0)+1&1)){g=b;b=a;break c}d=c;c=(a<<3)+i|0;g=v[c+4>>2]>>j;c=v[c>>2]>>h;f=B(g-b|0,d+c|0)+f|0;b=a+1|0}if((a|0)==(e|0)){break b}while(1){n=b+1|0;d=(n<<3)+i|0;a=v[d+4>>2]>>j;k=(b<<3)+i|0;o=v[k+4>>2]>>j;d=v[d>>2]>>h;k=v[k>>2]>>h;f=B(a-o|0,d+k|0)+(B(c+k|0,o-g|0)+f|0)|0;b=b+2|0;c=d;g=a;if((e|0)!=(n|0)){continue}break}}a=e+1|0;l=l+1|0;if((m|0)!=(l|0)){continue}break}h=1;if((f|0)>0){break a}h=0;if(f){break a}}h=2}return h}function Ie(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;g=Ca-16|0;Ca=g;a:{if((c|0)<1){break a}i=v[a+4>>2];while(1){h=(k<<3)+b|0;b:{if(!v[h>>2]){bf(i);if(v[i+12>>2]>1){break a}d=v[i>>2];e=d-1|0;l=v[i+8>>2];c:{while(1){j=3;if(d>>>0>=l>>>0){f=d;break c}f=d+1|0;v[i>>2]=f;m=w[d|0];d=f;d:{switch(m-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}j=2}v[i+12>>2]=j;v[g+8>>2]=e;break b}e=Fh(i);v[g+8>>2]=e;if(!e){break a}f=v[i>>2]}d=f-e|0;f=d-1|0;e:{f:{switch(v[h>>2]){case 0:case 1:d=qb(v[a>>2],d,g+4|0);v[h+4>>2]=d;if(v[g+4>>2]){break e}Ta(d,e,f);t[f+v[h+4>>2]|0]=0;break e;case 2:n=h,o=Je(g+8|0,f+e|0,0),v[n+4>>2]=o;break e;case 3:v[g+12>>2]=e;l=f+e|0;j=Ke(g+12|0,l,10);f=0;d=v[g+12>>2];g:{if((e|0)==(d|0)){break g}if(!(w[d|0]!=35|d>>>0>=l>>>0)){e=d+1|0;v[g+12>>2]=e;j=Ke(g+12|0,l,j);d=v[g+12>>2];if((e|0)==(d|0)){break g}}v[g+8>>2]=d;f=j}v[h+4>>2]=f;break e;case 4:if((f|0)!=4){t[h+4|0]=0;break e}n=h,o=!$a(e,300920,4),t[n+4|0]=o;break e;case 5:break f;default:break e}}d=v[a+12>>2];if(d){n=h,o=Ea[d|0](e,f,v[a+16>>2])|0,v[n+4>>2]=o;break e}v[h+4>>2]=0}k=k+1|0;if((k|0)!=(c|0)){continue}break}k=c}Ca=g+16|0;return k}function Zn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ca-16|0;Ca=e;d=v[b+4>>2];a:{if(d>>>0>a>>>0){break a}c=v[b+8>>2];if(c>>>0<a>>>0){break a}if(c-a>>>0<=11){break a}g=v[b+12>>2];f=g-12|0;v[b+12>>2]=f;if((f|0)<1){break a}f=d;d=a+2|0;if(f>>>0>d>>>0|c>>>0<d>>>0|c-d>>>0<2){break a}c=g-14|0;v[b+12>>2]=c;if((c|0)<1){break a}c=w[a+3|0]|w[a+2|0]<<8;b:{if(!c){break b}if(nc(a+c|0,b)){break b}c=v[b+24>>2];if(c>>>0>31){break a}v[b+24>>2]=c+1;if(!w[b+20|0]){break a}t[d|0]=0;t[d+1|0]=0}d=a+4|0;if(d>>>0<y[b+4>>2]){break a}c=v[b+8>>2];if(c>>>0<d>>>0|c-d>>>0<2){break a}c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break a}c=w[a+5|0]|w[a+4|0]<<8;c:{if(!c){break c}if(nc(a+c|0,b)){break c}c=v[b+24>>2];if(c>>>0>31){break a}v[b+24>>2]=c+1;if(!w[b+20|0]){break a}t[d|0]=0;t[d+1|0]=0}d=a+8|0;if(d>>>0<y[b+4>>2]){break a}c=v[b+8>>2];if(c>>>0<d>>>0|c-d>>>0<2){break a}c=v[b+12>>2]-2|0;v[b+12>>2]=c;if((c|0)<1){break a}c=w[a+9|0]|w[a+8|0]<<8;d:{if(!c){break d}c=a+c|0;v[e+12>>2]=c;if(Yn(c,b,e+12|0)){break d}c=v[b+24>>2];if(c>>>0>31){break a}v[b+24>>2]=c+1;if(!w[b+20|0]){break a}t[d|0]=0;t[d+1|0]=0}v[e+8>>2]=w[a+7|0]|w[a+6|0]<<8;h=Xn(a+10|0,b,a,e+8|0)}Ca=e+16|0;return h}function Ht(a,b){var c=0,d=0,e=0;c=Ca+-64|0;Ca=c;a:{if(!a|!b){break a}if((a|0)==(b|0)){d=a;break a}v[c+48>>2]=0;v[c+52>>2]=a;v[c+32>>2]=0;v[c+36>>2]=b+1;a=w[b|0];b:{if(a>>>0>=192){a=Pc(c+32|0,a);break b}a=(a-65&255)>>>0<26?a+32|0:a}e=a&255;while(1){d=v[c+52>>2];c:{a=v[c+48>>2];if(a){v[c+48>>2]=a+1;a=w[a|0];if(a){break c}v[c+48>>2]=0}v[c+52>>2]=d+1;d:{a=w[d|0];if(a>>>0>=192){a=Pc(c+48|0,a);break d}if((a-65&255)>>>0>=26){break d}a=a+32|0;break c}if(a){break c}d=0;break a}if((a&255)!=(e|0)){continue}a=v[c+60>>2];v[c+24>>2]=v[c+56>>2];v[c+28>>2]=a;a=v[c+52>>2];v[c+16>>2]=v[c+48>>2];v[c+20>>2]=a;a=v[c+44>>2];v[c+8>>2]=v[c+40>>2];v[c+12>>2]=a;a=v[c+36>>2];v[c>>2]=v[c+32>>2];v[c+4>>2]=a;while(1){a=v[c+16>>2];e:{if(a){v[c+16>>2]=a+1;b=w[a|0];if(b){break e}v[c+16>>2]=0}a=v[c+20>>2];v[c+20>>2]=a+1;a=w[a|0];if(a>>>0>=192){b=Pc(c+16|0,a);break e}b=(a-65&255)>>>0<26?a+32|0:a}a=v[c>>2];f:{if(a){v[c>>2]=a+1;a=w[a|0];if(a){break f}v[c>>2]=0}a=v[c+4>>2];v[c+4>>2]=a+1;g:{a=w[a|0];if(a>>>0>=192){a=Pc(c,a);break g}if((a-65&255)>>>0>=26){break g}a=a+32|0;break f}if(!a){break a}}if((a&255)==(b&255)){continue}break}continue}}Ca=c- -64|0;return d}function Di(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=Ca-16|0;Ca=i;h=Ca-16|0;Ca=h;v[h+8>>2]=a;f=v[c+20>>2];e=f+((Ea[v[c+12>>2]](h+8|0)>>>0)%y[c+4>>2]<<2)|0;g=v[e>>2];a:{if(!g){break a}while(1){if(Ea[v[c+16>>2]](g,h+8|0)|0){break a}e=e-4|0;if(f>>>0>e>>>0){e=(f+(v[c+4>>2]<<2)|0)-4|0}g=v[e>>2];if(g){continue}break}}Ca=h+16|0;g=e;b:{c:{d:{e=v[e>>2];e:{if(!e){e=64;f=Ea[v[d+4>>2]](d,8)|0;if(!f){break b}v[g>>2]=f;v[f+4>>2]=b;v[f>>2]=a;f:{if(y[c+8>>2]<y[c>>2]){break f}j=v[c+4>>2];a=j<<1;v[c+4>>2]=a;v[c>>2]=(a>>>0)/3;e=0;if((a|0)<0){e=6;break c}b=v[c+20>>2];if(a){e=10;if((a|0)>536870911){break c}a=j<<3;e=Ea[v[d+4>>2]](d,a)|0;if(!e){break d}Ra(e,0,a)}v[c+20>>2]=e;if(j){f=0;a=b;while(1){g=v[a>>2];if(g){v[i+8>>2]=v[g>>2];h=v[c+20>>2];e=h+((Ea[v[c+12>>2]](i+8|0)>>>0)%y[c+4>>2]<<2)|0;while(1){g:{g=v[e>>2];if(!g){break g}if(Ea[v[c+16>>2]](g,i+8|0)|0){break g}e=e-4|0;if(h>>>0<=e>>>0){continue}e=(h+(v[c+4>>2]<<2)|0)-4|0;continue}break}v[e>>2]=v[a>>2]}a=a+4|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if(!b){break f}Ea[v[d+8>>2]](d,b)}v[c+8>>2]=v[c+8>>2]+1;break e}v[e+4>>2]=b}e=0;break b}v[c+20>>2]=0;e=64;break b}v[c+20>>2]=0}Ca=i+16|0;return e}function Wi(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=-4;a:{b:{if(d>>>0>=e>>>0){break b}h=v[b+72>>2];c:{d:{if((d+1|0)==(e|0)){g=-1;j=t[b+69|0];if(j-3>>>0<3){break b}i=w[d|0];k=i-239|0;if(k>>>0>16|!(1<<k&98305)){break d}if(j){break b}if((c|0)==1){break c}break b}e:{f:{g:{h:{j=w[d+1|0];i=w[d|0];g=j|i<<8;if(g>>>0<=65278){if((g|0)==15360){break h}if((g|0)!=61371){break e}i:{if((c|0)!=1){break i}g=w[b+69|0];if(g>>>0>5){break i}if(1<<g&57){break c}}if((d+2|0)!=(e|0)){break f}return-1}if((g|0)==65534){break g}if((g|0)!=65279){break e}if(!((c|0)==1?w[b+69|0]:1)){break c}v[f>>2]=d+2;v[h>>2]=v[a+16>>2];return 14}g=w[b+69|0];j:{if((g|0)!=4){if((g|0)!=3|(c|0)!=1){break j}break c}if((c|0)==1){break c}}a=v[a+20>>2];v[h>>2]=a;break a}if(!((c|0)==1?w[b+69|0]:1)){break c}v[f>>2]=d+2;v[h>>2]=v[a+20>>2];return 14}if(w[d+2|0]!=191){break c}v[f>>2]=d+3;v[h>>2]=v[a+8>>2];return 14}if(!i){if(w[b+69|0]==5?(c|0)==1:0){break c}a=v[a+16>>2];v[h>>2]=a;break a}if((c|0)==1|j){break c}a=v[a+20>>2];v[h>>2]=a;g=Ea[v[a>>2]](a,d,e,f)|0;break b}if(!i|(i|0)==60){break b}}a=v[(t[b+69|0]<<2)+a>>2];v[h>>2]=a;break a}return g}return Ea[v[(c<<2)+a>>2]](a,d,e,f)|0}function Wd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}h=w[a+3|0];g=h|w[a+2|0]<<8;if(!g){return}a=a+4|0;f=h&1;d=v[b>>2];i=g-1|0;d:{if(!i){c=a;break d}e=g-f|0;c=a;while(1){d=1<<((w[c+1|0]|w[c|0]<<8)>>>4)|d;v[b>>2]=d;d=d|1<<((w[c+3|0]|w[c+2|0]<<8)>>>4);v[b>>2]=d;c=c+4|0;e=e-2|0;if(e){continue}break}}if(f){v[b>>2]=1<<((w[c+1|0]|w[c|0]<<8)>>>4)|d}e=h&3;d=v[b+4>>2];e:{if(i>>>0<3){c=a;break e}f=g-e|0;c=a;while(1){d=1<<w[c+1|0]|d;v[b+4>>2]=d;d=d|1<<w[c+3|0];v[b+4>>2]=d;d=d|1<<w[c+5|0];v[b+4>>2]=d;d=d|1<<w[c+7|0];v[b+4>>2]=d;c=c+8|0;f=f-4|0;if(f){continue}break}}if(e){while(1){d=1<<w[c+1|0]|d;v[b+4>>2]=d;c=c+2|0;e=e-1|0;if(e){continue}break}}e=h&1;c=v[b+8>>2];if(i){d=g-e|0;while(1){c=1<<(w[a|0]>>>1)|c;v[b+8>>2]=c;c=c|1<<(w[a+2|0]>>>1);v[b+8>>2]=c;a=a+4|0;d=d-2|0;if(d){continue}break}}if(!e){break a}v[b+8>>2]=1<<(w[a|0]>>>1)|c;return}e=w[a+3|0]|w[a+2|0]<<8;if(!e){return}if(!po(a+4|0,b)){break a}d=1;while(1){c=d;if((c|0)==(e|0)){break a}d=c+1|0;if(po(c>>>0<(w[a+3|0]|w[a+2|0]<<8)>>>0?(B(c,6)+a|0)+4|0:280840,b)){continue}break}}}function ok(a,b,c,d){var e=0,f=0,g=0;a:{b:{g=v[a+8264>>2];if(g>>>0>b>>>0){g=0;if(Ya(v[a>>2],v[a+68>>2])){break a}e=v[a+40>>2];c:{if(!e){break c}v[a+20>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[e>>2]=v[e+12>>2]?7:0;f=v[e+20>>2];e=v[f>>2];if((e&-2)==4){Ea[v[a+48>>2]](v[a+52>>2],v[f+12>>2]);e=v[f>>2]}if((e|0)==6){Ea[v[a+48>>2]](v[a+52>>2],v[f+4>>2])}v[f+28>>2]=0;v[f+32>>2]=0;v[f>>2]=0;e=v[f+40>>2];v[f+52>>2]=e;v[f+48>>2]=e;e=v[f+56>>2];if(!e){break c}e=Ea[e|0](0,0,0)|0;v[f+60>>2]=e;v[a+60>>2]=e}v[a+28>>2]=0;v[a+12>>2]=a+72;v[a+16>>2]=0;e=a+8264|0;v[a+8272>>2]=e;v[a+24>>2]=a+4168;v[a+8268>>2]=e;v[e>>2]=0}if(b>>>0>g>>>0){f=v[a+8268>>2];e=v[a+8272>>2]-f|0;b=b-g|0;e=b>>>0>e>>>0?e:b;v[a+8268>>2]=e+f;v[a+8264>>2]=e+g;b=b-e|0;if(b){while(1){if(Bq(a)){return 0}f=v[a+8268>>2];e=v[a+8272>>2]-f|0;e=b>>>0>e>>>0?e:b;v[a+8268>>2]=e+f;v[a+8264>>2]=e+v[a+8264>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}g=0;while(1){e=v[a+8268>>2];b=v[a+8272>>2]-e|0;f=b>>>0<d>>>0?b:d;b=Ta(c,e,f);v[a+8268>>2]=f+v[a+8268>>2];v[a+8264>>2]=f+v[a+8264>>2];g=f+g|0;d=d-f|0;if(!d){break a}c=b+f|0;if(!Bq(a)){continue}break}}return g}function Oq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=Ca-48|0;Ca=e;g=v[a+4>>2];t[b+557|0]=0;v[b+560>>2]=a;if(!(!v[b+116>>2]|!v[b+120>>2])){i=Ra(b+188|0,0,364);v[b+528>>2]=3932;v[b+520>>2]=-1;v[b+392>>2]=1;v[b+588>>2]=d;v[b+584>>2]=c;v[b+552>>2]=b;v[b+384>>2]=2596864;v[b+388>>2]=7;a:{if(!w[a+32|0]){d=8192;c=97;break a}d=20480;c=v[a+1556>>2]+1|0}h=v[a>>2];f=v[h>>2];j=v[b+176>>2];v[e+12>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+24>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;v[e+32>>2]=i;v[e+28>>2]=d;v[e>>2]=h;v[e+36>>2]=j;d=Ua(f,4,0,c,0,e+44|0);v[e+16>>2]=d;b:{c:{if(!v[e+44>>2]){v[e+20>>2]=d;v[e+24>>2]=c;break c}if(d){Ea[v[f+8>>2]](f,d)}f=0;v[e+16>>2]=0;if(v[e+44>>2]){break b}}f=Ya(g,v[b+116>>2]+v[a+12>>2]|0);if(f){break b}f=vb(g,v[b+120>>2]);if(f){break b}f=Nq(e,v[g+32>>2],v[g+36>>2]);pb(g);if(f){break b}t[b+188|0]=w[b+188|0]&254;a=b;c=v[b+532>>2];d:{e:{if((c|0)<=-1){c=0-c|0;break e}if(c){break d}c=987654321}v[a+532>>2]=c}if(y[b+388>>2]>=1001){v[b+388>>2]=7}f=0;if(y[b+392>>2]<1001){break b}v[b+392>>2]=1}v[b+600>>2]=0;v[b+596>>2]=v[b+592>>2];a=v[v[e>>2]>>2];b=v[e+16>>2];if(b){Ea[v[a+8>>2]](a,b)}}Ca=e+48|0;return f|0}function Cq(a,b){var c=0,d=0,e=0,f=0;d=-2;a:{if(!a){break a}v[a+24>>2]=0;d=v[a+32>>2];if(!d){v[a+40>>2]=0;v[a+32>>2]=270;d=270}if(!v[a+36>>2]){v[a+36>>2]=271}c=Ea[d|0](v[a+40>>2],1,24)|0;v[a+28>>2]=c;d=-4;if(!c){break a}v[c+20>>2]=0;v[c+12>>2]=b>>>31;d=b>>31;d=d+b^d;if(d>>>0<=7){fi(a);return-2}v[c+16>>2]=d;b:{c=Ea[v[a+32>>2]](v[a+40>>2],1,64)|0;if(c){e=Ea[v[a+32>>2]](v[a+40>>2],8,1440)|0;v[c+36>>2]=e;if(e){e=1<<d;d=Ea[v[a+32>>2]](v[a+40>>2],1,e)|0;v[c+40>>2]=d;if(d){break b}Ea[v[a+36>>2]](v[a+40>>2],v[c+36>>2])}Ea[v[a+36>>2]](v[a+40>>2],c)}v[v[a+28>>2]+20>>2]=0;fi(a);return-4}f=(b|0)>-1?272:0;v[c+56>>2]=f;v[c+52>>2]=d;v[c+28>>2]=0;v[c+32>>2]=0;v[c>>2]=0;v[c+48>>2]=d;v[c+44>>2]=d+e;d=0;if((b|0)>=0){b=Ea[f|0](0,0,0)|0;v[c+60>>2]=b;v[a+48>>2]=b;d=v[c>>2]}b=v[a+28>>2];v[b+20>>2]=c;v[a+8>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[b>>2]=v[b+12>>2]?7:0;if((d&-2)==4){Ea[v[a+36>>2]](v[a+40>>2],v[c+12>>2]);d=v[c>>2]}if((d|0)==6){Ea[v[a+36>>2]](v[a+40>>2],v[c+4>>2])}v[c+28>>2]=0;v[c+32>>2]=0;v[c>>2]=0;b=v[c+40>>2];v[c+52>>2]=b;v[c+48>>2]=b;b=v[c+56>>2];d=0;if(!b){break a}b=Ea[b|0](0,0,0)|0;v[c+60>>2]=b;v[a+48>>2]=b;d=0}return d}function Kf(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;a:{l=v[b+4>>2];if(l>>>0>a>>>0){break a}h=v[b+8>>2];if(h>>>0<a>>>0){break a}e=h-a>>>0<3;b:{c:{if(e){break c}d=v[b+12>>2]-3|0;v[b+12>>2]=d;c=1;if((d|0)<1){break c}if(!(w[a+1|0]|w[a|0]<<8)){break b}}if(e){break a}g=v[b+12>>2]-3|0;v[b+12>>2]=g;if((g|0)<1){break a}f=w[a+2|0];if((f-1&255)>>>0>3){break a}i=w[a+1|0]|w[a|0]<<8;c=i+1|0;if(4294967295/(c>>>0)>>>0<=f>>>0){break a}c=B(c,f);if(c){e=a+3|0;if(e>>>0<l>>>0|e>>>0>h>>>0|c>>>0>h-e>>>0){break a}g=g-c|0;v[b+12>>2]=g;c=0;if((g|0)<1){break b}i=w[a+1|0]|w[a|0]<<8;j=(B(i+1|0,f)+a|0)+3|0}else{j=a+3|0}n=f&252;o=f&3;p=f-1>>>0<3;while(1){e=(B(f,m)+a|0)+3|0;c=n;d=0;if(!p){while(1){d=e;e=d+4|0;c=c-4|0;if(c){continue}break}c=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}c=o;if(c){while(1){d=w[e|0]|d<<8;e=e+1|0;c=c-1|0;if(c){continue}break}}k=d>>>0>k>>>0?d:k;c=(m|0)!=(i|0);m=m+1|0;if(c){continue}break}a=k-1|0;if(!a){return 1}c=0;if(!k|(a|0)<0|(j>>>0<l>>>0|h>>>0<j>>>0)){break b}if(a>>>0>h-j>>>0){break b}a=g-a|0;v[b+12>>2]=a;c=(a|0)>0}return c}return 0}function Cu(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;a:{b:{if(b){e=v[b>>2];if(e){break b}}v[a>>2]=0;v[a+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;break a}g=v[b+8>>2];h=Va(e<<3);v[a+16>>2]=h;j=Va(g);v[a+20>>2]=j;if(!(j?h:0)){Pa(h);Pa(j);v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=0;break a}v[a+12>>2]=g;v[a+4>>2]=e;v[a+8>>2]=0;v[a>>2]=0;g=v[b>>2];c:{if(g){n=v[b+16>>2];o=A[c- -64>>3];p=A[c+56>>3];q=A[c+40>>3];r=A[c+32>>3];s=A[c+48>>3];t=A[c+24>>3];u=A[c+16>>3];w=A[c+8>>3];x=A[c>>3];c=0;while(1){e=c<<3;f=e+n|0;d=+v[f>>2];k=+v[f+4>>2];i=o+(s*d+p*k);i=1/(i>.1?i:.1);d:{l=(u+(x*d+w*k))*i;if(D(l)<268435455){d=(q+(t*d+r*k))*i;if(D(d)<268435455){break d}}if(!a){break c}Pa(h);Pa(v[a+20>>2]);v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=0;break c}e=e+h|0;f=e;d=hQ(d);e:{if(D(d)<2147483648){m=~~d;break e}m=-2147483648}v[f+4>>2]=m;d=hQ(l);f:{if(D(d)<2147483648){f=~~d;break f}f=-2147483648}v[e>>2]=f;c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=v[b+20>>2];b=v[b+8>>2];Ta(j,c,b);v[a+8>>2]=b;v[a>>2]=g}}}function yK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=B(w[a+19|0]^B(w[a+18|0]^B(w[a+17|0]^B(w[a+16|0]^B(w[a+15|0]^B(w[a+14|0]^B(w[a+13|0]^B(w[a+12|0]^B(w[a+11|0]^B(w[a+10|0]^B(w[a+9|0]^B(w[a+8|0]^B(w[a+7|0]^B(w[a+6|0]^B(w[a+5|0]^B(w[a+4|0]^B(w[a+3|0]^B(w[a+2|0]^B(w[a+1|0]^B(w[a|0]^b,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619);d=v[a+20>>2];if(d){a=v[a+24>>2];b=0;while(1){e=c;c=B(b,24)+a|0;c=B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(e^w[c|0],16777619)^w[c+1|0],16777619)^w[c+2|0],16777619)^w[c+3|0],16777619)^w[c+4|0],16777619)^w[c+5|0],16777619)^w[c+6|0],16777619)^w[c+7|0],16777619)^w[c+8|0],16777619)^w[c+9|0],16777619)^w[c+10|0],16777619)^w[c+11|0],16777619)^w[c+12|0],16777619)^w[c+13|0],16777619)^w[c+14|0],16777619)^w[c+15|0],16777619)^w[c+16|0],16777619)^w[c+17|0],16777619)^w[c+18|0],16777619)^w[c+19|0],16777619)^w[c+20|0],16777619)^w[c+21|0],16777619)^w[c+22|0],16777619)^w[c+23|0],16777619);b=b+1|0;if((d|0)!=(b|0)){continue}break}}return c|0}function hc(a,b){var c=0,d=0,e=0;c=v[a+40>>2];if(!(w[a+12|0]|c>>>0>=b>>>0)){return 0}a:{d=v[a+36>>2];b:{if((d|0)<0){break b}e=(b|0)>0?b:0;if(d>>>0<e>>>0){c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<d>>>0|c>>>0>67108862){break a}b=gb(v[a+44>>2],c<<6);if(!b){break a}v[a+36>>2]=c;v[a+44>>2]=b;c=v[a+40>>2]}if(c>>>0<e>>>0){Ra(v[a+44>>2]+(c<<6)|0,0,e-c<<6)}v[a+40>>2]=e;c:{d:{e:{f:{c=v[a+24>>2];if((c|0)>=0){if(c>>>0>=e>>>0){break e}b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(!(b>>>0<c>>>0|b>>>0>536870910)){c=gb(v[a+32>>2],b<<3);if(c){break f}}v[a+24>>2]=-1}c=v[a+36>>2];if((c|0)<0){break b}b=v[a+28>>2];d=(b|0)>0?b:0;if(d>>>0<=c>>>0){break c}b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(!(b>>>0<c>>>0|b>>>0>67108862)){c=gb(v[a+44>>2],b<<6);if(c){break d}}break a}v[a+24>>2]=b;v[a+32>>2]=c}b=v[a+28>>2];if(b>>>0<e>>>0){Ra(v[a+32>>2]+(b<<3)|0,0,e-b<<3)}v[a+28>>2]=e;return 1}v[a+36>>2]=b;v[a+44>>2]=c}b=v[a+40>>2];if(b>>>0<d>>>0){Ra(v[a+44>>2]+(b<<6)|0,0,d-b<<6)}v[a+40>>2]=d}t[a+12|0]=0;return 0}v[a+36>>2]=-1;t[a+12|0]=0;return 0}function tx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=v[70112];h=v[b+4>>2];while(1){if(f>>>0>=h>>>0){return 1}g=v[c>>2];d=v[a>>2];a:{if(g>>>0>d>>>0|d>>>0>=g+v[c+4>>2]>>>0){break a}e=d+1|0;v[a>>2]=e;d=w[d|0];i=d&63;b:{if(d&128){g=v[b+8>>2];e=0;while(1){c:{if(y[b+4>>2]<=f>>>0){v[163916]=j;d=655664;break c}d=g+(f<<2)|0}v[d>>2]=0;f=f+1|0;d=e+1|0;if(e>>>0>=i>>>0){break b}e=d;if(f>>>0<h>>>0){continue}break}break b}d:{if(d&64){g=0;while(1){d=v[c>>2];if(d>>>0>e>>>0){break d}d=d+v[c+4>>2]|0;if(d>>>0<e>>>0|d-e>>>0<2){break d}d=w[e|0]|w[e+1|0]<<8;d=(d<<8|d>>>8)<<16>>16;e:{if(y[b+4>>2]<=f>>>0){v[163916]=j;e=v[a>>2];k=655664;break e}k=v[b+8>>2]+(f<<2)|0}v[k>>2]=d;e=e+2|0;v[a>>2]=e;f=f+1|0;d=g+1|0;if(g>>>0>=i>>>0){break b}g=d;if(f>>>0<h>>>0){continue}break}break b}g=0;d=v[c>>2];if(e>>>0<d>>>0){break d}while(1){if(v[c+4>>2]+d>>>0<=e>>>0){break d}v[a>>2]=e+1;e=t[e|0];f:{if(y[b+4>>2]<=f>>>0){v[163916]=j;d=655664;break f}d=v[b+8>>2]+(f<<2)|0}v[d>>2]=e;d=g+1|0;f=f+1|0;if(h>>>0<=f>>>0|g>>>0>=i>>>0){break b}g=d;d=v[c>>2];e=v[a>>2];if(d>>>0<=e>>>0){continue}break}}break a}if(d>>>0>i>>>0){continue}}break}return 0}function nx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{j=v[b+4>>2];if(j>>>0>a>>>0){break a}h=v[b+8>>2];if(h>>>0<a>>>0|h-a>>>0<2){break a}d=v[b+12>>2];f=d-2|0;v[b+12>>2]=f;if((f|0)<1){break a}f=d-4|0;v[b+12>>2]=f;if((f|0)<1){break a}g=w[a+1|0]|w[a|0]<<8;b:{if(!g){break b}d=a+2|0;if(d>>>0<j>>>0|d>>>0>h>>>0){break a}e=h-d|0;d=B(g,3);if(e>>>0<d>>>0){break a}f=f-d|0;v[b+12>>2]=f;if((f|0)<1){break a}e=w[a+1|0]|w[a|0]<<8;if(!e){break b}i=v[b+32>>2];d=0;while(1){g=B(d,3)+a|0;if(i>>>0<=(w[g+2|0]<<8|w[g+3|0])>>>0|w[g+4|0]>=c>>>0){break a}d=d+1|0;if((e|0)!=(d|0)){continue}break}}c=w[a|0]|w[a+1|0]<<8;if(!c|(w[a+3|0]|w[a+2|0]<<8)){break a}e=c<<8|c>>>8;g=e&65535;d=1;if((e&65535)>>>0>1){c=(c<<8|c>>>8)&65535;while(1){e=B(d,3)+a|0;i=c>>>0>d-1>>>0?e-1|0:280448;e=c>>>0>d>>>0?e+2|0:280448;if((w[i|0]<<8|w[i+1|0])>>>0>=(w[e|0]<<8|w[e+1|0])>>>0){break a}d=d+1|0;if((g|0)!=(d|0)){continue}break}}c=(B(g,3)+a|0)+2|0;if(c>>>0<j>>>0|c>>>0>h>>>0|h-c>>>0<2){break a}c=f-2|0;v[b+12>>2]=c;if((c|0)<1){break a}c=a;a=w[a|0]|w[a+1|0]<<8;a=a?(c+B((a<<8|a>>>8)&65535,3)|0)-1|0:280448;return v[b+32>>2]==(w[a+3|0]<<8|w[a+4|0])}return 0}function Ta(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){fa(a|0,b|0,c|0)|0;return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if(!(a&3)){c=a;break b}if((c|0)<1){c=a;break b}c=a;while(1){t[c|0]=w[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){v[c>>2]=v[b>>2];v[c+4>>2]=v[b+4>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=v[b+12>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=v[b+20>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=v[b+28>>2];v[c+32>>2]=v[b+32>>2];v[c+36>>2]=v[b+36>>2];v[c+40>>2]=v[b+40>>2];v[c+44>>2]=v[b+44>>2];v[c+48>>2]=v[b+48>>2];v[c+52>>2]=v[b+52>>2];v[c+56>>2]=v[b+56>>2];v[c+60>>2]=v[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){v[c>>2]=v[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){t[c|0]=w[b|0];t[c+1|0]=w[b+1|0];t[c+2|0]=w[b+2|0];t[c+3|0]=w[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){t[c|0]=w[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function Vi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;if(!a){return 35}if(!d){return 6}e=16;a:{if(y[a+16>>2]<=b>>>0){break a}b:{e=v[v[v[a+96>>2]+12>>2]+84>>2];if(!(!e|!((c&983040)!=65536?c&3:1))){e=Ea[e|0](a,b,1,c,d)|0;if(!e){e=0;if(c&1){break a}a=v[a+88>>2];if(a){break b}return 36}if((e&255)!=7){break a}}e=35;c:{if(!a){break c}e=6;if(!d){break c}e=16;f=v[a+16>>2];d:{if(f>>>0<=b>>>0){break d}g=b+1|0;if(g>>>0<1|f>>>0<g>>>0){break d}e=v[v[v[a+96>>2]+12>>2]+84>>2];if(!(!e|!((c&983040)!=65536?c&3:1))){e=Ea[e|0](a,b,1,c,d)|0;if(!e){e:{if(!(c&1)){a=v[a+88>>2];e=36;if(!a){break e}b=v[a+(c&16?20:16)>>2];a=0;while(1){c=(a<<2)+d|0;i=c,j=fb(v[c>>2],b,64),v[i>>2]=j;a=a+1|0;if((a|0)!=1){continue}break}}e=0}break c}if((e&255)!=7){break d}}e=7;if(c&536870912){break d}g=c&1?1:1024;h=c|256;f=0;if(!(c&16)){while(1){e=fd(a,b+f|0,h);if(e){break d}v[(f<<2)+d>>2]=B(g,v[v[a+84>>2]+64>>2]);e=0;f=f+1|0;if((f|0)!=1){continue}break d}}while(1){e=fd(a,b+f|0,h);if(e){break d}v[(f<<2)+d>>2]=B(g,v[v[a+84>>2]+68>>2]);e=0;f=f+1|0;if((f|0)!=1){continue}break}}}return e}i=d,j=fb(v[d>>2],v[a+(c&16?20:16)>>2],64),v[i>>2]=j}return e}function _a(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{c:{c=v[a+4>>2];if(!c){break c}b=v[a+16>>2];if(!b){v[a>>2]=c;v[a+4>>2]=v[c>>2];v[c>>2]=0;b=v[a>>2];c=b+8|0;v[a+16>>2]=c;b=v[b+4>>2];v[a+12>>2]=c;v[a+8>>2]=c+b;break b}if(v[c+4>>2]<=(v[a+8>>2]-b|0)){break c}b=v[c>>2];v[c>>2]=v[a>>2];c=v[a+4>>2];v[a+4>>2]=b;v[a>>2]=c;b=v[a+16>>2];Ta(c+8|0,b,v[a+8>>2]-b|0);c=v[a+16>>2];b=v[a>>2];d=b+8|0;v[a+16>>2]=d;v[a+12>>2]=d+(v[a+12>>2]-c|0);v[a+8>>2]=d+v[b+4>>2];break b}b=v[a+8>>2];e=v[a>>2];g=v[a+16>>2];if(!(!e|(g|0)!=(e+8|0))){c=0;f=b-g<<1;if((f|0)<0|!f){break a}d=f+8|0;if((d|0)<1){break a}b=v[a+12>>2];d=Ea[v[v[a+20>>2]+4>>2]](e,d)|0;if(!d){break a}v[a>>2]=d;v[d+4>>2]=f;c=v[a>>2]+8|0;v[a+16>>2]=c;v[a+12>>2]=c+(b-g|0);v[a+8>>2]=c+f;break b}c=0;d=b-g|0;if((d|0)<0){break a}e=1024;b=1032;if((d|0)>=1024){e=d<<1;if((e|0)<0){break a}b=e+8|0;if((b|0)<1){break a}}d=Ea[v[v[a+20>>2]>>2]](b)|0;if(!d){break a}v[d+4>>2]=e;v[d>>2]=v[a>>2];v[a>>2]=d;c=v[a+12>>2];b=v[a+16>>2];d:{if((c|0)==(b|0)){b=c;break d}Ta(d+8|0,b,c-b|0);c=v[a+16>>2];b=v[a+12>>2]}d=d+8|0;v[a+16>>2]=d;v[a+12>>2]=d+(b-c|0);v[a+8>>2]=d+e}c=1}return c}function Gx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(y[b+4>>2]>a>>>0){break a}c=v[b+8>>2];if(c>>>0<a>>>0){break a}c=c-a|0;if(c>>>0<4){break a}d=v[b+12>>2];e=d-4|0;v[b+12>>2]=e;if((w[a+1|0]|w[a|0]<<8)!=1|(e|0)<1|c>>>0<12){break a}c=d-16|0;v[b+12>>2]=c;if((c|0)<1|(w[a+7|0]|w[a+6|0]<<8)>>>0<8){break a}d=0;g=Ca-16|0;Ca=g;c=v[b+4>>2];e=a+10|0;b:{if(c>>>0>e>>>0){break b}h=v[b+8>>2];if(e>>>0>h>>>0|h-e>>>0<2){break b}i=v[b+12>>2];f=i-2|0;v[b+12>>2]=f;d=1;if((f|0)<1){d=0;break b}f=w[e+1|0]|w[e|0]<<8;if(!f){break b}d=c;c=a+f|0;c:{if(d>>>0>c>>>0|c>>>0>h>>>0|h-c>>>0<=7){break c}d=i-10|0;v[b+12>>2]=d;if((w[c+1|0]|w[c|0]<<8)!=1|(d|0)<1){break c}if(!Uj(c+2|0,b,c)){break c}v[g+12>>2]=c;d=1;if(Tj(c+6|0,b,g+12|0)){break b}}c=v[b+24>>2];if(c>>>0>31){d=0;break b}v[b+24>>2]=c+1;d=0;if(!w[b+20|0]){break b}t[e|0]=0;t[e+1|0]=0;d=1}Ca=g+16|0;if(!d){break a}d=w[a+7|0]|w[a+6|0]<<8;c=w[a+9|0]|w[a+8|0]<<8;if(c>>>0>=4294967295/(d>>>0)>>>0?d:0){break a}c=B(c,d);if(!c){return 1}a=a+12|0;if(a>>>0<y[b+4>>2]){break a}d=v[b+8>>2];if(d>>>0<a>>>0|c>>>0>d-a>>>0){break a}a=v[b+12>>2]-c|0;v[b+12>>2]=a;j=(a|0)>0}return j}function Do(a,b,c){var d=0;d=280448;a:{b:{c:{switch(c-1|0){case 0:d:{b=w[a|0]|w[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 0:break a;case 1:break d;default:break b}}break a;case 1:if((w[a+1|0]|w[a|0]<<8)!=1){break b}break a;case 2:if((w[a+1|0]|w[a|0]<<8)!=1){break b}break a;case 3:if((w[a+1|0]|w[a|0]<<8)!=1){break b}break a;case 4:e:{b=w[a|0]|w[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 0:case 1:break a;case 2:break e;default:break b}}b=a;a=w[a+7|0]|w[a+6|0]<<8;return a?b+a|0:280448;case 5:f:{b=w[a|0]|w[a+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 0:case 1:break a;case 2:break f;default:break b}}b=a;a=(a+2|0)+(w[a+3|0]<<1|w[a+2|0]<<9)|0;a=w[a+3|0]|w[a+2|0]<<8?a+4|0:280448;a=w[a|0]<<8|w[a+1|0];return a?b+a|0:280448;case 6:if((w[a+1|0]|w[a|0]<<8)==1){c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a=Do(c?c+a|0:280448,b,w[a+3|0]|w[a+2|0]<<8)}else{a=280448}return a;case 7:break c;default:break b}}if((w[a+1|0]|w[a|0]<<8)!=1){break b}b=a;a=w[a+3|0]|w[a+2|0]<<8;d=a?b+a|0:280448}return d}b=a;a=w[a+3|0]|w[a+2|0]<<8;return a?b+a|0:280448}function Dl(a){var b=0,c=0,d=0,e=0,f=0,g=0;g=Ca-16|0;Ca=g;a:{b:{if(a){break b}a=xe();if(a){break b}break a}Tl();c:{if(!Us(a,0)){e=ae(a);c=xe();if(!c){break c}Gs(c,e);if(Ts(c)){b=c;break c}ac(c);break c}Ki(a,514728,0,0);b=v[a+12>>2];if(!b){b=a;break a}if(v[b+4>>2]){b=a;break a}c=Yb(514777);b=Yb(514793);d:{if(c){e=0;if(w[c|0]){break d}}if(b){e=0;if(w[b|0]){break d}}b=v[130915];Lc(514809,71,1,b);v[g>>2]=514933;$b(b,514881,g);e=1}b=0;e:{f:{c=Hs();g:{if(!c){break g}b=c;f=Xa(c);c=gb(c,f+12|0);if(!c){break g}d=c+f|0;b=w[514979]|w[514980]<<8|(w[514981]<<16|w[514982]<<24);f=w[514975]|w[514976]<<8|(w[514977]<<16|w[514978]<<24);t[d|0]=f;t[d+1|0]=f>>>8;t[d+2|0]=f>>>16;t[d+3|0]=f>>>24;t[d+4|0]=b;t[d+5|0]=b>>>8;t[d+6|0]=b>>>16;t[d+7|0]=b>>>24;b=w[514982]|w[514983]<<8|(w[514984]<<16|w[514985]<<24);t[d+7|0]=b;t[d+8|0]=b>>>8;t[d+9|0]=b>>>16;t[d+10|0]=b>>>24;t[d+11|0]=0;if(e){Lc(514987,72,1,v[130915])}if(wl(a,514933)){if(wl(a,c)){break f}}b=c}e=ae(a);Lc(515060,31,1,v[130915]);if(b){Pa(b)}c=xe();if(!c){b=0;break c}Gs(c,e);b=0;if(!Ts(c)){break e}b=c;break c}Pa(c);b=a;break a}ac(c)}ac(a)}Ca=g+16|0;return b}function Nr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(!a){return}a:{if(!b){break a}f=v[a+16>>2];if((f|0)<1){break a}d=((f<<2)+a|0)+20|0;c=a+20|0;while(1){if(v[c>>2]==(b|0)){v[a+16>>2]=f-1;a=d-4|0;if(a>>>0>c>>>0){while(1){v[c>>2]=v[c+4>>2];c=c+4|0;if(a>>>0>c>>>0){continue}break}}v[a>>2]=0;h=v[b+8>>2];f=v[b>>2];d=v[b+4>>2];e=f;b:{if(!d){break b}if(v[d+160>>2]==(b|0)){v[d+160>>2]=0}a=f;e=a;if(!(w[a|0]&2)){break b}c=v[d+148>>2];e=f;if(!c){break b}a=v[d>>2];c:{while(1){if(v[c+8>>2]==(b|0)){break c}c=v[c+4>>2];if(c){continue}break}e=f;break b}e=v[b+52>>2];if(e){Ea[v[v[v[b+12>>2]+56>>2]+20>>2]](e)}e=v[c>>2];g=v[c+4>>2];v[(e?e+4|0:d+148|0)>>2]=g;v[(g?g:d+152|0)>>2]=e;Ea[v[a+8>>2]](a,c);c=v[d+148>>2];d:{if(c){while(1){a=v[c+8>>2];if(v[a+16>>2]==1869968492){break d}c=v[c+4>>2];if(c){continue}break}}a=0}v[d+156>>2]=a;e=v[b>>2]}e:{if(!(t[e|0]&1)){break e}d=v[b+8>>2];if(!d){break e}c=v[b+16>>2];if(c){while(1){a=v[c+4>>2];qg(d,v[c+8>>2],b);Ea[v[d+8>>2]](d,c);c=a;if(c){continue}break}}v[b+16>>2]=0;v[b+20>>2]=0}a=v[f+28>>2];if(a){Ea[a|0](b)}Ea[v[h+8>>2]](h,b);return}c=c+4|0;if(d>>>0>c>>>0){continue}break}}}function bz(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;f=3;a:{if((d|0)<0){break a}g=v[a+8>>2];h=v[a+12>>2];i=x[h+2>>1];if((e|0)<0|y[g+4>>2]<i+d>>>0){break a}k=x[h>>1];if(y[g>>2]<k+e>>>0){break a}i=B(i,w[a+18|0]);if((B(i,k)+7>>>3|0)+b>>>0>c>>>0){break a}f=0;if(!i|!k){break a}l=d&7;a=8-l|0;j=a>>>0>i>>>0?i:a;p=(255<<j^-1)<<8-(j+l|0);n=v[g+8>>2];h=v[g+12>>2]+(B(n,e)+(d>>>3|0)|0)|0;q=i-j|0;o=8-j|0;e=0;g=0;d=k;while(1){m=d;b:{if(!l){f=b;d=h;a=i;break b}c:{if((k|0)==(m|0)){e=w[b|0];b=b+1|0;a=l;break c}if((g|0)<(j|0)){a=g+o|0;if(b>>>0>=c>>>0){break c}e=w[b|0]|e;b=b+1|0;a=g+o|0;break c}e=(e&65280)>>>8|0;a=g-j|0}g=a;f=b;t[h|0]=w[h|0]|(e&65535)>>>g&p;e=e<<8;d=h+1|0;a=q}if((a|0)>=8){while(1){b=w[f|0]|e;t[d|0]=w[d|0]|(b&65535)>>>g;d=d+1|0;f=f+1|0;e=b<<8;b=(a|0)>15;a=a-8|0;if(b){continue}break}}d:{if((a|0)>=1){if((a|0)>(g|0)){if(c>>>0<=f>>>0){b=f}else{e=w[f|0]|e;b=f+1|0}t[d|0]=w[d|0]|(e&65535)>>>g&65280>>>a;e=e<<8;g=(g-a|0)+8|0;break d}t[d|0]=w[d|0]|65280>>>a&(e&65535)>>>g;g=g-a|0}b=f}h=h+n|0;d=m-1|0;if((m|0)>1){continue}break}f=0}return f|0}function EG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=Ca-16|0;Ca=g;d=v[a+8>>2];f=v[b+8>>2];Gc(g,b);e=v[g+12>>2];v[c+8>>2]=v[g+8>>2];v[c+12>>2]=e;e=v[g+4>>2];v[c>>2]=v[g>>2];v[c+4>>2]=e;e=d&1?(d&-2)+a|0:d;a=w[e|0];d=f&1?(f&-2)+b|0:f;b=w[d|0];a:{if(!((((a-65&255)>>>0<26?a+32|0:a)|0)==(((b-65&255)>>>0<26?b+32|0:b)|0)|(a|0)==32)){h=1;if((b|0)!=32){break a}}c=Ca-32|0;Ca=c;if((d|0)==(e|0)){a=0}else{v[c+16>>2]=0;v[c+20>>2]=e;v[c+4>>2]=d;v[c>>2]=0;a=0;while(1){b:{if(a){v[c+16>>2]=a+1;f=w[a|0];if(f){break b}v[c+16>>2]=0}a=v[c+20>>2];c:{while(1){b=a+1|0;v[c+20>>2]=b;d=w[a|0];if(!d){d=0;break c}a=b;if(Tb(517328,d)){continue}break}if(d>>>0<192){break c}f=Pc(c+16|0,d);break b}f=(d-65&255)>>>0<26?d+32|0:d}a=v[c>>2];d:{if(a){v[c>>2]=a+1;a=w[a|0];if(a){break d}v[c>>2]=0}a=v[c+4>>2];e:{while(1){b=a+1|0;v[c+4>>2]=b;d=w[a|0];if(!d){d=0;break e}a=b;if(Tb(517328,d)){continue}break}if(d>>>0<192){break e}a=Pc(c,d);break d}a=(d-65&255)>>>0<26?d+32|0:d}b=f&255;if(!(!b|(b|0)!=(a&255))){a=v[c+16>>2];continue}break}a=v[c+20>>2]+(e^-1)|0}Ca=c+32|0;b=Xa(e);h=+(b-a>>>0)/+(b>>>0)}Ca=g+16|0;return+h}function go(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;m=Ca-272|0;Ca=m;v[m+268>>2]=0;k=0;a:{if(!Lf(a,d,e,v[j>>2],v[j+8>>2],m+268|0,m,0)){break a}n=v[a+100>>2];e=v[n+(w[n+69|0]?80:72)>>2];s=v[j+4>>2];q=v[j>>2];v[a+84>>2]=b;v[a+48>>2]=e;k=v[v[a+52>>2]+100>>2];r=v[k+76>>2];v[a+88>>2]=r;p=v[k+72>>2];l=(p|0)==(e|0)?w[(v[k+88>>2]+B(e,20)|0)+15|0]:l;o=a+48|0;v[a+80>>2]=c;v[a+76>>2]=s;v[a+72>>2]=q;t[a+68|0]=l;if(b){k=0;if(!Ne(o)){break a}l=1;b:{c:{while(1){c=l;if((b|0)==(l|0)){break c}l=c+1|0;if(Ne(o)){continue}break}l=0;k=0;if(b>>>0>c>>>0){break a}break b}l=v[o>>2]}n=v[a+100>>2];q=v[j>>2];k=v[v[a+52>>2]+100>>2];p=v[k+72>>2];r=v[k+76>>2];e=l}b=v[j+12>>2];j=v[n+72>>2];c=v[m+268>>2];v[a+88>>2]=r;v[a+84>>2]=f;l=c+j|0;n=l-1|0;v[a+48>>2]=n;j=0;j=(n|0)==(p|0)?w[(v[k+88>>2]+B(p,20)|0)+15|0]:j;v[a+80>>2]=g;v[a+76>>2]=b;v[a+72>>2]=q;t[a+68|0]=j;d:{if(!f){break d}k=0;if(!Rc(o)){break a}l=1;e:{while(1){b=l;if((f|0)==(l|0)){break e}l=b+1|0;if(Rc(o)){continue}break}l=0;k=0;if(b>>>0<f>>>0){break a}break d}l=v[o>>2]+1|0}md(v[a+100>>2],e,l);k=lg(a,d,m,h,i,c)}Ca=m+272|0;return k}function Ro(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Ca-16|0;Ca=f;a:{b:{c:{d:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=w[a+3|0]|w[a+2|0]<<8;gc(c?c+a|0:280448,v[b+12>>2]);c=v[57473];v[f+8>>2]=v[57472];v[f+12>>2]=c;d=w[a+5|0]|w[a+4|0]<<8;if(!d){break a}c=a+6|0;while(1){e=w[c+1|0]|w[c|0]<<8;No(e?e+a|0:280448,b,f+8|0);c=c+2|0;d=d-1|0;if(d){continue}break}break a}c=w[a+3|0]|w[a+2|0]<<8;gc(c?c+a|0:280448,v[b+12>>2]);c=w[a+5|0];d=w[a+4|0];v[f+8>>2]=437;c=c|d<<8;v[f+12>>2]=c?c+a|0:280448;d=w[a+7|0]|w[a+6|0]<<8;if(!d){break a}c=a+8|0;while(1){e=w[c+1|0]|w[c|0]<<8;No(e?e+a|0:280448,b,f+8|0);c=c+2|0;d=d-1|0;if(d){continue}break}break a}c=w[a+7|0]|w[a+6|0]<<8;gc(c?c+a|0:280448,v[b+12>>2]);d=w[a+5|0]|w[a+4|0]<<8;e=w[a+3|0]|w[a+2|0]<<8;e:{if(!e){break e}g=e-1|0;if(!g){break e}i=v[b+12>>2];c=a+8|0;while(1){h=w[c+1|0]|w[c|0]<<8;gc(h?h+a|0:280448,i);c=c+2|0;g=g-1|0;if(g){continue}break}}if(d){a=(a+6|0)+(e<<1)|0;c=0;while(1){e=a+(c<<2)|0;Mo(b,w[e+2|0]<<8|w[e+3|0]);c=c+1|0;if((d|0)!=(c|0)){continue}break}}}Ca=f+16|0}function gQ(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;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{f=b;if(f){e=c;if(!e){break k}g=d;if(!d){break j}e=E(g)-E(f)|0;if(e>>>0<=31){break i}break c}if((d|0)==1|d>>>0>1){break c}a=(a>>>0)/(c>>>0)|0;Da=0;break a}e=d;if(!a){break h}if(!e){break g}if(e-1&e){break g}a=f>>>cQ(e)|0;Da=0;break a}if(!(e-1&e)){break f}f=(E(e)+33|0)-E(f)|0;h=0-f|0;break d}f=e+1|0;h=63-e|0;break d}a=(f>>>0)/(e>>>0)|0;Da=0;break a}e=E(e)-E(f)|0;if(e>>>0<31){break e}break c}if((e|0)==1){break b}d=cQ(e);c=d&31;if((d&63)>>>0>=32){g=0;a=b>>>c|0}else{g=b>>>c|0;a=((1<<c)-1&b)<<32-c|a>>>c}Da=g;break a}f=e+1|0;h=63-e|0}e=b;g=f&63;i=g&31;if(g>>>0>=32){g=0;i=e>>>i|0}else{g=e>>>i|0;i=((1<<i)-1&e)<<32-i|a>>>i}h=h&63;e=h&31;if(h>>>0>=32){b=a<<e;a=0}else{b=(1<<e)-1&a>>>32-e|b<<e;a=a<<e}if(f){e=d-1|0;h=e+1|0;j=e;e=c-1|0;h=(e|0)!=-1?h:j;while(1){j=i<<1|b>>>31;k=j;g=g<<1|i>>>31;j=h-(g+(e>>>0<j>>>0)|0)|0;l=j>>31;m=c&l;i=k-m|0;g=g-((j>>31&d)+(k>>>0<m>>>0)|0)|0;b=b<<1|a>>>31;a=n|a<<1;j=l&1;n=j;f=f-1|0;if(f){continue}break}}Da=b<<1|a>>>31;a=j|a<<1;break a}a=0;b=0}Da=b}return a}function ah(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ca-1312|0;Ca=f;g=v[a+4>>2];i=v[g+492>>2];j=v[i+12>>2];h=v[v[g+128>>2]+52>>2];k=v[g+452>>2];e=a+1388|0;v[e>>2]=v[g+448>>2];v[e+4>>2]=k;e=v[g+444>>2];v[a+1380>>2]=v[g+440>>2];v[a+1384>>2]=e;e=v[g+460>>2];v[a+1396>>2]=v[g+456>>2];v[a+1400>>2]=e;a:{b:{if(!h){e=b<<2;v[c>>2]=v[e+v[g+428>>2]>>2];v[c+4>>2]=v[e+v[g+432>>2]>>2];break b}e=Ea[v[v[h>>2]>>2]](v[h+4>>2],b,c)|0;if(e){break a}}c:{if(w[a+70|0]){e=Ea[v[j+8>>2]](a,v[c>>2],v[c+4>>2])|0;break c}Ea[v[i+24>>2]](f+656|0,a,1);Ea[v[i+28>>2]](g,g+168|0,f);v[f+1192>>2]=f;e=Ea[v[j+12>>2]](f+656|0,v[c>>2],v[c+4>>2])|0;if((e&255)!=164){break c}t[v[a+8>>2]+160|0]=0;t[d|0]=1;e=Ea[v[j+12>>2]](f+656|0,v[c>>2],v[c+4>>2])|0}if(!h|e){break a}if(!v[v[h>>2]+8>>2]){e=0;break a}c=v[a+32>>2];v[f+4>>2]=0;v[f>>2]=((c+(c>>31)|0)+32768&-65536)>>16;c=v[a+40>>2];v[f+8>>2]=(((c>>31)+c|0)+32768&-65536)>>16;c=v[a+44>>2];v[f+12>>2]=(((c>>31)+c|0)+32768&-65536)>>16;e=Ea[v[v[h>>2]+8>>2]](v[h+4>>2],b,0,f)|0;v[a+32>>2]=v[f>>2]<<16;v[a+40>>2]=v[f+8>>2]<<16;v[a+44>>2]=v[f+12>>2]<<16}Ca=f+1312|0;return e}function ki(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Ca-16|0;Ca=i;f=v[a+28>>2];v[i+12>>2]=0;v[c>>2]=0;e=v[a+32>>2];if(e>>>0<y[a+36>>2]){v[a+32>>2]=e+1;d=t[e|0]}else{d=0}e=d<<24>>24;d=-1;a:{if(!e){break a}h=e&255;if(h&128){h=h<<8&32512;e=v[a+32>>2];if(e>>>0<y[a+36>>2]){v[a+32>>2]=e+1;d=t[e|0]}else{d=0}h=h|d<<24>>24&255}d=0;if(b>>>0<h>>>0){break a}e=Ua(f,2,0,h+1|0,0,i+12|0);d=0;if(v[i+12>>2]){break a}v[c>>2]=h;if(h){c=0;while(1){b=v[a+32>>2];if(b>>>0<y[a+36>>2]){v[a+32>>2]=b+1;b=t[b|0]}else{b=0}b=b<<24>>24;d=b&255;b:{if(b&128){c=Cb(a)+c|0;u[e+(g<<1)>>1]=c;g=g+1|0;d=d&127;if(!d){break b}b=1;while(1){c=Cb(a)+c|0;u[e+(g<<1)>>1]=c;g=g+1|0;if(g>>>0>=h>>>0|b>>>0>=d>>>0){break b}b=b+1|0;continue}}j=e+(g<<1)|0;f=v[a+32>>2];if(f>>>0<y[a+36>>2]){v[a+32>>2]=f+1;f=t[f|0]}else{f=0}c=(f<<24>>24&255)+c|0;u[j>>1]=c;g=g+1|0;if(!b){break b}b=1;while(1){j=e+(g<<1)|0;f=v[a+32>>2];if(f>>>0<y[a+36>>2]){v[a+32>>2]=f+1;f=t[f|0]}else{f=0}c=(f<<24>>24&255)+c|0;u[j>>1]=c;g=g+1|0;if(g>>>0>=h>>>0|b>>>0>=d>>>0){break b}b=b+1|0;continue}}if(g>>>0<h>>>0){continue}break}}d=e}Ca=i+16|0;return d}function Cj(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;a:{c=B(b,1348)+a|0;g=v[c+56>>2];if((g|0)<1){break a}d=v[a+24>>2];if((d|0)<1){break a}a=v[a+28>>2];m=a+B(d,40)|0;i=b?8:4;n=i|16;e=v[c- -64>>2];j=e+B(g,44)|0;h=j-44|0;c=(b|0)==1;o=c?14:12;p=c?8:4;q=b?20:16;while(1){if(!(x[a>>1]&n)){b=v[a+p>>2];r=a+q|0;d=u[e>>1];f=u[a+o>>1];c=(b+v[e+8>>2]|0)-v[e+4>>2]|0;b:{if((d|0)>=(f|0)){break b}c=(b+v[h+8>>2]|0)-v[h+4>>2]|0;if(u[h>>1]<=(f|0)){break b}b=0;c:{d:{c=g;if((c|0)<=8){if((d|0)>=(f|0)){break d}b=1;while(1){if((b|0)==(g|0)){d=x[j>>1];b=g;break d}d=u[B(b,44)+e>>1];if((f|0)<=(d|0)){break d}b=b+1|0;continue}}while(1){e:{d=b+c>>1;k=B(d,44)+e|0;l=u[k>>1];f:{if((l|0)>(f|0)){c=d;break f}if((f|0)<=(l|0)){break e}b=d+1|0}if((b|0)<(c|0)){continue}break c}break}c=v[k+8>>2];break b}if((d&65535)!=(f&65535)){break c}c=v[(B(b,44)+e|0)+8>>2];break b}c=B(b,44)+e|0;b=c-44|0;d=v[c-28>>2];if(!d){d=ab(v[c+8>>2]-v[b+8>>2]|0,u[c>>1]-u[b>>1]|0);v[b+16>>2]=d}c=v[b+8>>2]+Qa(f-u[b>>1]|0,d)|0}v[r>>2]=c;u[a>>1]=x[a>>1]|i}a=a+40|0;if(m>>>0>a>>>0){continue}break}}}function Ih(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=Ca-16|0;Ca=h;if(e){v[e>>2]=-1}k=(c|0)==-21;l=k?b-21|0:b;m=(c|0)<0?0:c;i=v[a+8>>2];g=v[a>>2];a:{b:{if(g){b=i;while(1){if(!(v[b>>2]!=(l|0)|v[b+4>>2]!=(m|0))){g=f;break b}b=b+12|0;f=f+1|0;if((f|0)!=(g|0)){continue}break}}j=g+1|0;b=v[a+4>>2];c:{if(j>>>0<b>>>0){break c}v[h+4>>2]=0;if(b>>>0>=j>>>0){break c}f=b;b=g+8&-8;i=Ua(d,12,f,b,i,h+4|0);v[a+8>>2]=i;f=v[h+4>>2];if(f){break a}v[a+4>>2]=b}v[a>>2]=j;b=B(g,12)+i|0;v[b+8>>2]=c>>31&(k?3:1);v[b+4>>2]=m;v[b>>2]=l}b=v[a+12>>2];d:{e:{if(!b){f:{if(v[a+16>>2]){b=v[a+20>>2];break f}v[h+8>>2]=0;b=Ua(d,16,0,8,v[a+20>>2],h+8|0);v[a+20>>2]=b;f=v[h+8>>2];if(f){break a}v[a+16>>2]=8}v[b+12>>2]=0;v[b>>2]=0;v[a+12>>2]=1;break e}b=(v[a+20>>2]+(b<<4)|0)-16|0;if(y[b>>2]>g>>>0){break d}}a=v[b+4>>2];v[h+12>>2]=0;c=g+8>>>3|0;a=a+7>>>3|0;if(c>>>0>a>>>0){f=a;a=c+7&1073741816;n=b,o=Ua(d,1,f,a,v[b+8>>2],h+12|0),v[n+8>>2]=o;f=v[h+12>>2];if(f){break a}v[b+4>>2]=a<<3}v[b>>2]=g+1}a=v[b+8>>2]+(g>>>3|0)|0;t[a|0]=w[a|0]|128>>>(g&7);f=0;if(!e){break a}v[e>>2]=g}Ca=h+16|0;return f}function hu(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Ca-96|0;Ca=d;a=ae(a);t[c|0]=0;a:{if(a){v[d+36>>2]=0;v[d+32>>2]=b;g=dc(a,d+32|0);break a}g=ib(b)}v[d+20>>2]=0;v[d+16>>2]=451517;h=dc(g,d+16|0);e=Af(h,0,0);b:{if((e|0)==-1){break b}t[d+77|0]=0;t[d+78|0]=0;t[d+79|0]=0;t[d+80|0]=0;t[d+81|0]=0;t[d+82|0]=0;t[d+83|0]=0;t[d+84|0]=0;v[d+72>>2]=0;v[d+76>>2]=0;a=d- -64|0;v[a>>2]=0;v[a+4>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;a=Fi(e,d+48|0,36);t[d+84|0]=0;rd(e);if((a|0)<0){break b}t[c|0]=47;Ac(c+1|0,d+48|0);a=Xa(c)+c|0;f=w[451627]|w[451628]<<8|(w[451629]<<16|w[451630]<<24);e=w[451623]|w[451624]<<8|(w[451625]<<16|w[451626]<<24);t[a|0]=e;t[a+1|0]=e>>>8;t[a+2|0]=e>>>16;t[a+3|0]=e>>>24;t[a+4|0]=f;t[a+5|0]=f>>>8;t[a+6|0]=f>>>16;t[a+7|0]=f>>>24;f=w[451635]|w[451636]<<8|(w[451637]<<16|w[451638]<<24);e=w[451631]|w[451632]<<8|(w[451633]<<16|w[451634]<<24);t[a+8|0]=e;t[a+9|0]=e>>>8;t[a+10|0]=e>>>16;t[a+11|0]=e>>>24;t[a+12|0]=f;t[a+13|0]=f>>>8;t[a+14|0]=f>>>16;t[a+15|0]=f>>>24;if(!(w[656428]&16)){break b}v[d+4>>2]=b;v[d>>2]=c;Za(452008,d)}Pa(h);Pa(g);Ca=d+96|0}function ud(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=v[a>>2];if(!b){break b}if((b|0)<=0){break a}v[a>>2]=b-1;if((b|0)!=1){break b}v[a>>2]=-57005;b=v[a+8>>2];if(b){c=v[b+8>>2];if(c){while(1){c=c-1|0;d=v[b+12>>2]+B(c,12)|0;e=v[d+8>>2];d=v[d+4>>2];v[b+8>>2]=c;if(e){Ea[e|0](d);c=v[b+8>>2]}if(c){continue}break}}Pa(v[b+12>>2]);Pa(b)}b=v[a+80>>2];if(b){Ea[b|0](v[a+12>>2])}b=v[a+84>>2];if(b){Ea[b|0](v[a+16>>2])}b=v[a+88>>2];if(b){Ea[b|0](v[a+20>>2])}b=v[a+92>>2];if(b){Ea[b|0](v[a+24>>2])}b=v[a+96>>2];if(b){Ea[b|0](v[a+28>>2])}b=v[a+100>>2];if(b){Ea[b|0](v[a+32>>2])}b=v[a+104>>2];if(b){Ea[b|0](v[a+36>>2])}b=v[a+108>>2];if(b){Ea[b|0](v[a+40>>2])}b=v[a+112>>2];if(b){Ea[b|0](v[a+44>>2])}b=v[a+116>>2];if(b){Ea[b|0](v[a+48>>2])}b=v[a+120>>2];if(b){Ea[b|0](v[a+52>>2])}b=v[a+124>>2];if(b){Ea[b|0](v[a+56>>2])}b=v[a+128>>2];if(b){Ea[b|0](v[a+60>>2])}b=v[a+132>>2];if(b){Ea[b|0](v[a- -64>>2])}b=v[a+136>>2];if(b){Ea[b|0](v[a+68>>2])}b=v[a+140>>2];if(b){Ea[b|0](v[a+72>>2])}b=v[a+144>>2];if(b){Ea[b|0](v[a+76>>2])}Pa(a)}return}O(256902,256927,272,256962);L()}function Jv(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;if(a){c=B(d,204)+c|0;k=v[c+200>>2];l=v[c+204>>2];while(1){c=v[b+4>>2];e=(c|0)<1;a:{if(e){break a}f=v[b>>2];i=f+B(c,40)|0;d=0;c=f;h=0;while(1){g=v[c+16>>2]&32;h=g?h?h:c:h;d=(g>>>5|0)+d|0;c=c+40|0;if(i>>>0>c>>>0){continue}break}c=h;if(d>>>0<=1){if((d|0)==1){l=v[h+36>>2]-Qa(v[h+28>>2],k)|0}if(e){break a}while(1){if((f|0)!=(h|0)){o=f,p=Qa(v[f+28>>2],k)+l|0,v[o+36>>2]=p}f=f+40|0;if(i>>>0>f>>>0){continue}break}break a}while(1){i=c;c=v[c+4>>2];if((h|0)==(c|0)){break a}if(w[c+16|0]&32){continue}d=c;while(1){d=v[d+4>>2];if(!(w[d+16|0]&32)){continue}break}f=v[i+28>>2];g=v[d+28>>2];b:{if((f|0)<=(g|0)){j=g-f|0;g=i;e=d;break b}j=f-g|0;f=g;g=d;e=i}m=v[e+36>>2];g=v[g+36>>2];c:{if((j|0)<1){n=65536;break c}n=ab(m-g|0,j);c=v[i+4>>2]}while(1){i=c;e=v[c+28>>2]-f|0;d:{if((e|0)<=0){e=Qa(e,k)+g|0;break d}if((e|0)>=(j|0)){e=Qa(e-j|0,k)+m|0;break d}e=Qa(e,n)+g|0}v[i+36>>2]=e;c=v[c+4>>2];if((d|0)!=(c|0)){continue}break}c=d;if((h|0)!=(c|0)){continue}break}}b=b+8|0;a=a-1|0;if(a){continue}break}}}function Wn(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;c=w[a+3|0]|w[a+2|0]<<8;d=c?c+a|0:280448;c=v[b+100>>2];g=xb(d,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);a:{if((g|0)==-1){break a}d=v[c+72>>2];v[b+40>>2]=1;v[b+4>>2]=d;e=v[v[b+8>>2]+100>>2];v[b+44>>2]=v[e+76>>2];t[b+24|0]=(d|0)==v[e+72>>2]?w[(v[e+88>>2]+B(d,20)|0)+15|0]:0;if(!Rc(b+4|0)){break a}d=g>>>0<(w[a+9|0]|w[a+8|0]<<8)>>>0?((g<<1)+a|0)+10|0:280448;d=w[d|0]<<8|w[d+1|0];d=d?d+a|0:280448;e=w[d+1|0]|w[d|0]<<8;c=0;b:{if(!e){break b}g=v[b+4>>2];c=a+4|0;j=iQ(w[c+1|0]|w[c|0]<<8);k=w[c+3|0]|w[c+2|0]<<8;n=(j+iQ(k)<<1)+2|0;o=c+2|0;a=v[b+100>>2];l=v[v[a+88>>2]+B(g,20)>>2];e=e-1|0;c:{while(1){i=e+f>>>1|0;h=d+B(n,i)|0;m=h+2|0;h=w[m|0]<<8|w[h+3|0];d:{if(h>>>0>l>>>0){e=i-1|0;break d}if((h|0)==(l|0)){break c}f=i+1|0}if((e|0)>=(f|0)){continue}break}c=0;break b}f=m+2|0;e:{if(!(p=1,q=hf(c,b,d,f,v[a+96>>2]+B(v[a+72>>2],20)|0),r=hf(o,b,d,f+(j<<1)|0,v[a+96>>2]+B(g,20)|0),r?p:q)){break e}b=g+1|0;f=v[a+72>>2];if(b-f>>>0<2){break e}Mb(a,f,b)}v[a+72>>2]=g+((k|0)!=0);c=1}f=c}return f}function Uc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=Ca-208|0;Ca=e;v[e+8>>2]=1;v[e+12>>2]=0;a:{i=B(b,c);if(!i){break a}v[e+16>>2]=c;v[e+20>>2]=c;j=0-c|0;b=c;h=b;g=2;while(1){f=b;b=(c+h|0)+b|0;v[(e+16|0)+(g<<2)>>2]=b;g=g+1|0;h=f;if(b>>>0<i>>>0){continue}break}b:{f=(a+i|0)+j|0;if(f>>>0<=a>>>0){g=1;b=1;break b}g=1;b=1;while(1){c:{if((g|0)==3){bl(a,c,d,b,e+16|0);xi(e+8|0,2);b=b+2|0;break c}h=b-1|0;d:{if(y[(e+16|0)+(h<<2)>>2]>=f-a>>>0){wi(a,c,d,e+8|0,b,0,e+16|0);break d}bl(a,c,d,b,e+16|0)}if((b|0)==1){vi(e+8|0,1);b=0;break c}vi(e+8|0,h);b=1}g=v[e+8>>2]|1;v[e+8>>2]=g;a=a+c|0;if(f>>>0<=a>>>0){break b}g=g&3;continue}}wi(a,c,d,e+8|0,b,0,e+16|0);while(1){e:{f:{g:{if(!((b|0)!=1|(g|0)!=1)){if(v[e+12>>2]){break g}break a}if((b|0)>1){break f}}h=e+8|0;f=cQ(v[e+8>>2]-1|0);if(!f){f=cQ(v[e+12>>2]);f=f?f+32|0:0}xi(h,f);g=v[e+8>>2];b=b+f|0;break e}vi(e+8|0,2);v[e+8>>2]=v[e+8>>2]^7;xi(e+8|0,1);h=a+j|0;f=b-2|0;wi(h-v[(e+16|0)+(f<<2)>>2]|0,c,d,e+8|0,b-1|0,1,e+16|0);vi(e+8|0,1);g=v[e+8>>2]|1;v[e+8>>2]=g;wi(h,c,d,e+8|0,f,1,e+16|0);b=f}a=a+j|0;continue}}Ca=e+208|0}function nd(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ca-32|0;e=v[a+76>>2];a:{if(e>>>0<2){break a}f=e-1|0;i=v[a+88>>2];while(1){d=B(f,20)+i|0;v[c+24>>2]=v[d+16>>2];b=v[d+12>>2];v[c+16>>2]=v[d+8>>2];v[c+20>>2]=b;b=v[d+4>>2];v[c+8>>2]=v[d>>2];v[c+12>>2]=b;b=B(g,20)+i|0;v[d+16>>2]=v[b+16>>2];h=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=h;h=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=h;v[b+16>>2]=v[c+24>>2];d=v[c+20>>2];v[b+8>>2]=v[c+16>>2];v[b+12>>2]=d;d=v[c+12>>2];v[b>>2]=v[c+8>>2];v[b+4>>2]=d;f=f-1|0;g=g+1|0;if(f>>>0>g>>>0){continue}break}if(!w[a+70|0]){break a}b=v[a+76>>2];b=b>>>0<e>>>0?b:e;if(b>>>0<2){break a}d=v[a+96>>2];f=b-1|0;g=0;while(1){b=d+B(f,20)|0;v[c+24>>2]=v[b+16>>2];e=v[b+12>>2];v[c+16>>2]=v[b+8>>2];v[c+20>>2]=e;e=v[b+4>>2];v[c+8>>2]=v[b>>2];v[c+12>>2]=e;a=d+B(g,20)|0;v[b+16>>2]=v[a+16>>2];e=v[a+12>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=e;e=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=e;v[a+16>>2]=v[c+24>>2];b=v[c+20>>2];v[a+8>>2]=v[c+16>>2];v[a+12>>2]=b;b=v[c+12>>2];v[a>>2]=v[c+8>>2];v[a+4>>2]=b;f=f-1|0;g=g+1|0;if(f>>>0>g>>>0){continue}break}}}function MM(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;g=Ca-272|0;Ca=g;e=v[b+4>>2];f=v[b>>2];b=v[a>>2];d=v[a+4>>2];v[g+12>>2]=d<<2;v[g+8>>2]=b<<2;h=e<<2;v[g+4>>2]=h;f=f<<2;v[g>>2]=f;k=v[c+200>>2];v[g+16>>2]=k;a=v[c+204>>2];v[g+20>>2]=a;j=d>>6;a:{b:{l=e>>6;i=v[c+168>>2];c:{d:{if((l|0)<(i|0)){e=a>>8;break d}e=a>>8;if((i|0)>(j|0)){break d}if((e|0)>=(i|0)){break c}}i=v[c+164>>2];if((i|0)<=(l|0)|(i|0)<=(j|0)|(e|0)>=(i|0)){break b}}v[c+204>>2]=h;v[c+200>>2]=f;break a}e=1;d=a+(h-(d<<3)|0)|0;a=d>>31;h=(f-(b<<3)|0)+k|0;b=h>>31;e:{a=a^a+d;b=b^b+h;a=a>>>0>b>>>0?a:b;if(a>>>0<65){break e}e=2;while(1){if(a>>>0<260){break e}a=a>>>2|0;e=e<<1;continue}}a=g;while(1){b=(0-e&e)>>1;if(b){while(1){d=v[a+16>>2];v[a+32>>2]=d;h=v[a+20>>2];v[a+36>>2]=h;f=v[a+8>>2];j=f+v[a>>2]|0;v[a+8>>2]=j>>1;d=d+f|0;v[a+24>>2]=d>>1;v[a+16>>2]=d+j>>2;d=v[a+12>>2];f=d+v[a+4>>2]|0;v[a+12>>2]=f>>1;d=d+h|0;v[a+28>>2]=d>>1;v[a+20>>2]=d+f>>2;a=a+16|0;b=b>>1;if(b){continue}break}}Zm(c,v[a>>2],v[a+4>>2]);a=a-16|0;e=e-1|0;if(e){continue}break}}Ca=g+272|0;return 0}function kt(a,b,c,d){var e=0,f=0,g=0,h=0;g=-1;a:{if((c-b|0)<2){break a}b:{if(w[b|0]|w[b+1|0]!=45){break b}e=b+2|0;f=c-e|0;if((f|0)<2){break a}a=a+72|0;while(1){c:{d:{e:{f:{g:{h:{i:{b=e;e=w[b|0];switch(e-216|0){case 39:break i;case 4:case 5:case 6:case 7:break b;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break e;case 0:case 1:case 2:case 3:break g;default:break h}}if(w[b+1|0]<=253){break e}break b}if(e){break e}j:{switch(w[a+w[b+1|0]|0]){case 6:break j;case 0:case 1:case 8:break b;case 27:break f;case 7:break g;default:break e}}if((f|0)<3){return-2}e=b+3|0;break d}if((f|0)<4){return-2}e=b+4|0;break d}e=b+2|0;if((c-e|0)<2){break a}if(w[e|0]|w[b+3|0]!=45){break d}a=b+4|0;if((c-a|0)<2){break a}if(!w[a|0]){break c}b=a;break b}e=b+2|0}f=c-e|0;if((f|0)>1){continue}break a}break}c=a;a=w[b+5|0]==62;b=a?b+6|0:c;h=a?13:0}v[d>>2]=b;g=h}return g}
|
||
function ot(a,b,c,d){var e=0,f=0,g=0,h=0;g=-1;a:{if((c-b|0)<2){break a}b:{if(w[b+1|0]|w[b|0]!=45){break b}e=b+2|0;f=c-e|0;if((f|0)<2){break a}a=a+72|0;while(1){c:{d:{e:{f:{g:{h:{i:{b=e;e=w[b+1|0];switch(e-216|0){case 39:break i;case 4:case 5:case 6:case 7:break b;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break e;case 0:case 1:case 2:case 3:break g;default:break h}}if(w[b|0]<=253){break e}break b}if(e){break e}j:{switch(w[a+w[b|0]|0]){case 6:break j;case 0:case 1:case 8:break b;case 27:break f;case 7:break g;default:break e}}if((f|0)<3){return-2}e=b+3|0;break d}if((f|0)<4){return-2}e=b+4|0;break d}e=b+2|0;if((c-e|0)<2){break a}if(w[b+3|0]|w[e|0]!=45){break d}a=b+4|0;if((c-a|0)<2){break a}if(!w[b+5|0]){break c}b=a;break b}e=b+2|0}f=c-e|0;if((f|0)>1){continue}break a}break}c=a;a=w[b+4|0]==62;b=a?b+6|0:c;h=a?13:0}v[d>>2]=b;g=h}return g}function Dn(a,b,c){var d=0,e=0,f=0,g=0;f=Ca-16|0;Ca=f;a:{if(y[b+16>>2]<=c>>>0){v[a+16>>2]=280448;v[a+8>>2]=0;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0;b=x[140224];b=b<<8|b>>>8;if(!(b&65535)){v[a+20>>2]=0;break a}if(b<<16>>16>=1){v[a+20>>2]=1;break a}v[a+20>>2]=2;break a}d=v[b+20>>2];d=d?d:280448;b:{if(w[b+12|0]){d=v[d+12>>2]+(c<<1)|0;e=w[d+1|0]<<1|w[d|0]<<9;d=w[d+3|0]<<1|w[d+2|0]<<9;break b}d=v[d+12>>2]+(c<<2)|0;e=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);d=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}c:{if(d>>>0>=e>>>0){b=v[b+24>>2];b=b?b:280448;if(d>>>0<=y[b+16>>2]){break c}}v[a+16>>2]=280448;v[a+8>>2]=0;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0;b=x[140224];b=b<<8|b>>>8;if(!(b&65535)){v[a+20>>2]=0;break a}if(b<<16>>16>=1){v[a+20>>2]=1;break a}v[a+20>>2]=2;break a}g=v[b+12>>2]+e|0;d=d-e|0;b=d>>>0<10?280448:g;e=w[b|0]|w[b+1|0]<<8;e=e<<8|e>>>8;v[a+20>>2]=e&65535?e<<16>>16>0?1:2:0;v[a+16>>2]=b;v[a+12>>2]=c;v[a+8>>2]=0;v[a+4>>2]=d;v[a>>2]=g}Ca=f+16|0}function wK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a){if(v[b+20>>2]){while(1){c=v[b+24>>2];e=B(h,24);a=v[c+e>>2];b:{if(!a){break b}f=v[a-8>>2];if(!f){break a}d=a-4|0;g=v[d>>2];if(!g){break a}i=d;d=g-1|0;v[i>>2]=d;if(d){break b}g=a-32|0;c=v[g>>2];if(c){d=v[a-24>>2];if(d){v[d+12>>2]=v[a-20>>2]}v[v[a-20>>2]>>2]=d;v[c+32>>2]=v[c+32>>2]-1;v[c+20>>2]=v[c+20>>2]-f}c=v[a-28>>2];Ea[v[c+16>>2]](a+(v[c+24>>2]+7&-8)|0,a);Pa(g);c=v[b+24>>2]}a=v[(c+e|0)+4>>2];c:{if(!a){break c}e=v[a-8>>2];if(!e){break a}c=a-4|0;d=v[c>>2];if(!d){break a}i=c;c=d-1|0;v[i>>2]=c;if(c){break c}f=a-32|0;c=v[f>>2];if(c){d=v[a-24>>2];if(d){v[d+12>>2]=v[a-20>>2]}v[v[a-20>>2]>>2]=d;v[c+32>>2]=v[c+32>>2]-1;v[c+20>>2]=v[c+20>>2]-e}c=v[a-28>>2];Ea[v[c+16>>2]](a+(v[c+24>>2]+7&-8)|0,a);Pa(f)}h=h+1|0;if(h>>>0<y[b+20>>2]){continue}break}}Pa(v[b+24>>2]);return 1}c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+24>>2]=v[b+24>>2];c=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=c;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c;return 1}O(364907,364851,432,364955);L()}function ld(a,b,c){var d=0,e=0,f=0,g=0;e=v[a+16>>2];f=v[e+24>>2]+39&-8;g=(Ea[v[e>>2]](b,-2128831035)>>>0)%y[a>>2]|0;a:{b:{d=v[v[a+4>>2]+(g<<2)>>2];if(d){while(1){if(Ea[v[e+4>>2]](b,d+f|0)|0){if(!v[d+24>>2]){break b}f=v[d+20>>2];c:{d:{if(f){c=v[d+16>>2];if(!c){break c}v[c+20>>2]=f;v[v[d+20>>2]>>2]=c;break d}v[d+28>>2]=v[d+28>>2]+1}v[v[a+12>>2]>>2]=d;v[d+20>>2]=v[a+12>>2];v[a+12>>2]=d+16;v[d+16>>2]=0}v[a+24>>2]=v[a+24>>2]+1;Ea[v[e+8>>2]](0,b)|0;v[d+28>>2]=v[d+28>>2]+1;return d+32|0}d=v[d+8>>2];if(d){continue}break}}v[a+28>>2]=v[a+28>>2]+1;d=Va(f+v[e+20>>2]|0);if(!d){Ea[v[e+8>>2]](0,b)|0;return 0}v[d+4>>2]=e;v[d>>2]=a;f=d+f|0;if(!(Ea[v[e+8>>2]](f,b)|0)){Pa(d);return 0}b=f;f=d+32|0;c=Ea[v[e+12>>2]](b,f,c)|0;v[d+24>>2]=c;if(!c){break a}b=v[a+4>>2]+(g<<2)|0;e=v[b>>2];if(e){v[e+12>>2]=d+8}v[d+12>>2]=b;v[d+8>>2]=v[b>>2];v[b>>2]=d;v[v[a+12>>2]>>2]=d;v[d+20>>2]=v[a+12>>2];v[a+12>>2]=d+16;v[d+28>>2]=2;v[d+16>>2]=0;v[a+20>>2]=c+v[a+20>>2];v[a+32>>2]=v[a+32>>2]+1;return f}O(364840,364851,349,364893);L()}O(364840,364851,384,364893);L()}function gq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{b=v[a+24>>2];if(b>>>0>65534){break b}i=v[a>>2];l=v[i+508>>2]+v[i+512>>2]|0;c=v[a+40>>2];b=b+1|0;b=b>>>0<c>>>0?c:b;while(1){g=v[a+44>>2];c:{if(g>>>0<b>>>0){break c}f=v[a+48>>2];d:{e=v[a+52>>2];if(!e){j=v[i+16>>2];c=f+g|0;if((c|0)<=-1){while(1){d=b+f&65535;if(j>>>0<=d>>>0){break c}if(d){break a}b=b+1|0;if(g>>>0>=b>>>0){continue}break c}}e=0-f|0;if((c|0)<=65535){break d}h=65536-f|0;while(1){k=b+f|0;d=k&65535;e:{if(j>>>0<=d>>>0){c=e;if((k|0)<0){break e}c=h;if((k|0)<65536){break e}break c}c=b;if(d){break a}}b=c+1|0;if(g>>>0>=b>>>0){continue}break}break c}c=e+(b-c<<1)|0;if(l>>>0<c>>>0){break c}while(1){e=w[c+1|0]|w[c|0]<<8;if(e){d=f+e&65535;if(d){break a}}c=c+2|0;b=b+1|0;if(g>>>0>=b>>>0){continue}break}break c}while(1){h=b+f|0;d=h&65535;f:{if(j>>>0<=d>>>0){c=e;if((h|0)<0){break f}break c}c=b;if(d){break a}}b=c+1|0;if(g>>>0>=b>>>0){continue}break}}d=0;if((Vp(a,v[a+36>>2]+1|0)|0)<0){break b}c=v[a+40>>2];b=b>>>0<c>>>0?c:b;continue}}b=-1}v[a+28>>2]=d;v[a+24>>2]=b}function Bs(a,b,c){var d=0,e=0;d=Ca-128|0;Ca=d;a:{b:{switch(b-1|0){default:if((b|0)==9){break a}break;case 0:case 2:break a;case 1:break b}}v[d+120>>2]=c+4;e=v[c>>2]}c=(b|0)==4?e|32768:e;c:{d:{if(b>>>0>16){break d}if(!(1<<b&110592)){if((b|0)!=9){if((b|0)!=14){break d}v[d+16>>2]=c;a=Q(a|0,14,d+16|0)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}break c}v[d+48>>2]=d+120;b=Q(a|0,16,d+48|0)|0;if(b){if((b|0)==-28){v[d+32>>2]=c;a=Q(a|0,9,d+32|0)|0;break c}if(b>>>0>=4294963201){v[164114]=0-b;a=-1}else{a=b}break c}a=v[d+124>>2];a=v[d+120>>2]==2?0-a|0:a;break c}v[d+112>>2]=c;a=Q(a|0,b|0,d+112|0)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}break c}if((b|0)!=1030){v[d>>2]=c;a=Q(a|0,b|0,d|0)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}break c}v[d+96>>2]=c;b=Q(a|0,1030,d+96|0)|0;if((b|0)!=-28){a=b;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}break c}v[d+80>>2]=0;b=Q(a|0,1030,d+80|0)|0;if((b|0)!=-28){if((b|0)>=0){T(b|0)|0}v[164114]=28;a=-1;break c}v[d+64>>2]=c;a=Q(a|0,0,d- -64|0)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}}Ca=d+128|0;return a}function mA(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;if(!(!w[a+24|0]|v[a+28>>2]!=v[b>>2])){cq(a);if(!w[a+24|0]){return 0}g=v[a+32>>2];v[b>>2]=v[a+28>>2];return g|0}j=b;c=v[a+16>>2];b=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);i=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);a:{if(!i){break a}b=v[j>>2];if((b|0)==-1){break a}d=a;h=b+1|0;g=c+20|0;a=i;b:{c:{while(1){c=a+k>>>1|0;b=B(c,12)+g|0;f=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);e=b-4|0;e=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0<=h>>>0){if(f>>>0>=h>>>0){break c}k=c+1|0}else{a=c}if(a>>>0>k>>>0){continue}break}a=0;break b}a=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}b=v[d>>2];if(f>>>0<h>>>0){g=0;c=c+1|0;if((i|0)==(c|0)){break a}}t[d+24|0]=1;v[d+36>>2]=c;v[d+28>>2]=h;d:{if(!(a>>>0<y[b+16>>2]?a:0)){cq(d);a=0;if(!w[d+24|0]){break d}a=v[d+32>>2];break d}v[d+32>>2]=a}g=a;v[j>>2]=v[d+28>>2]}return g|0}function Ue(a,b,c){var d=0,e=0,f=0,g=0;e=Ca-16|0;Ca=e;a:{if(!b){break a}b:while(1){d=c;while(1){c=2;c:{d:{switch(x[b>>1]){case 0:case 1:ce(a,2,d);break a;case 2:ce(a,3,d);break a;case 3:ce(a,5,d);break a;case 5:ce(a,4,d);break a;case 6:ce(a,6,d);break a;case 7:ce(a,8,d);break a;case 4:ce(a,9,d);break a;case 9:b=yf(_c(v[b+8>>2]));if(!b){break a}ce(a,v[b+4>>2],d);break a;case 10:g=v[b+8>>2];c=0;e:{while(1){f=B(c,12)+449936|0;if(!id(g,v[f>>2])){break e}c=c+1|0;if((c|0)!=57){continue}break}f=0}if(f){b=yf(v[f+4>>2]);if(!b){break a}ce(a,v[b+4>>2],d);break a}v[e>>2]=v[b+8>>2];db(a,1,513217,e);break a;case 19:Ue(a,v[b+8>>2],4);Ue(a,v[v[b+12>>2]+8>>2],d);b=v[b+12>>2]+8|0;break c;case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:ce(a,4,d);break a;case 20:case 21:case 31:case 32:case 33:case 34:case 36:Ue(a,v[b+8>>2],d);b=b+8|0;break c;case 35:c=4;break;case 37:case 38:case 39:case 40:break d;default:break a}}ce(a,c,d);b=v[b+8>>2];if(b){continue b}break a}b=v[b+4>>2];if(b){continue}break}break}}Ca=e+16|0}function oI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{a=v[b>>2];c=c-a&-2;b:{if((c|0)>=1){i=a+c|0;while(1){g=w[a|0];c=g<<24>>24;c:{d:{e:{f:{f=w[a+1|0];switch(f|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break e;case 0:break f;default:break d}}if((c|0)<0){break e}f=v[d>>2];if((f|0)==(e|0)){break a}v[d>>2]=f+1;t[f|0]=c;break c}h=v[d>>2];g=2;if((e-h|0)<2){break b}v[d>>2]=h+1;t[h|0]=f<<2|c<<24>>>30|192;f=v[d>>2];v[d>>2]=f+1;t[f|0]=c&63|128;break c}if(f-216>>>0>=4){g=v[d>>2];if((e-g|0)<3){break a}v[d>>2]=g+1;t[g|0]=f>>>4|224;g=v[d>>2];v[d>>2]=g+1;t[g|0]=f<<2&60|(c&192)>>>6|128;f=v[d>>2];v[d>>2]=f+1;t[f|0]=c&63|128;break c}h=v[d>>2];if((e-h|0)<4){break a}if((i-a|0)<4){v[b>>2]=a;return 1}v[d>>2]=h+1;f=(f<<2&12|g>>>6)+1|0;t[h|0]=f>>>2|240;h=v[d>>2];v[d>>2]=h+1;t[h|0]=f<<4&48|g>>>2&15|128;g=w[a+3|0];f=w[a+2|0];h=v[d>>2];v[d>>2]=h+1;t[h|0]=g<<2&12|(c<<4&48|f>>>6)|128;c=v[d>>2];v[d>>2]=c+1;t[c|0]=f&63|128;a=a+2|0}a=a+2|0;if(i>>>0>a>>>0){continue}break}}g=0}v[b>>2]=a;return g|0}v[b>>2]=a;return 2}function ZH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{a=v[b>>2];c=c-a&-2;b:{if((c|0)>=1){i=a+c|0;while(1){g=w[a+1|0];c=g<<24>>24;c:{d:{e:{f:{f=w[a|0];switch(f|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break e;case 0:break f;default:break d}}if((c|0)<0){break e}f=v[d>>2];if((f|0)==(e|0)){break a}v[d>>2]=f+1;t[f|0]=c;break c}h=v[d>>2];g=2;if((e-h|0)<2){break b}v[d>>2]=h+1;t[h|0]=f<<2|c<<24>>>30|192;f=v[d>>2];v[d>>2]=f+1;t[f|0]=c&63|128;break c}if(f-216>>>0>=4){g=v[d>>2];if((e-g|0)<3){break a}v[d>>2]=g+1;t[g|0]=f>>>4|224;g=v[d>>2];v[d>>2]=g+1;t[g|0]=f<<2&60|(c&192)>>>6|128;f=v[d>>2];v[d>>2]=f+1;t[f|0]=c&63|128;break c}h=v[d>>2];if((e-h|0)<4){break a}if((i-a|0)<4){v[b>>2]=a;return 1}v[d>>2]=h+1;f=(f<<2&12|g>>>6)+1|0;t[h|0]=f>>>2|240;h=v[d>>2];v[d>>2]=h+1;t[h|0]=f<<4&48|g>>>2&15|128;g=w[a+2|0];f=w[a+3|0];h=v[d>>2];v[d>>2]=h+1;t[h|0]=g<<2&12|(c<<4&48|f>>>6)|128;c=v[d>>2];v[d>>2]=c+1;t[c|0]=f&63|128;a=a+2|0}a=a+2|0;if(i>>>0>a>>>0){continue}break}}g=0}v[b>>2]=a;return g|0}v[b>>2]=a;return 2}function te(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=v[a+88>>2];b=v[a+32>>2]+(b<<4)|0;e=v[b+8>>2];u[f+12>>1]=e+32>>>6;k=v[b+12>>2];u[f+14>>1]=k+32>>>6;if(t[a+8|0]&1){i=2147483647;c=2147483647;b=x[a+68>>1];a:{if(!b){break a}c=e>>31;d=c+e^c;if(d>>>0<=65535){c=((d<<16|b>>>1)>>>0)/(b>>>0)|0;break a}c=2147483647;g=d>>>16|0;if(g>>>0>=b>>>0){break a}h=d<<16|b>>>1;d=E(g);j=32-d|0;g=h>>>j|g<<d;c=(g>>>0)/(b>>>0)|0;g=g-B(b,c)|0;d=h<<d;while(1){h=g<<1|d>>>31;g=h-(b>>>0>h>>>0?0:b)|0;c=c<<1|b>>>0<=h>>>0;d=d<<1;j=j-1|0;if(j){continue}break}}g=f+12|0;v[f+16>>2]=(e|0)<0?0-c|0:c;b:{if(!b){break b}c=k>>31;c=c+k^c;if(c>>>0<=65535){i=((c<<16|b>>>1)>>>0)/(b>>>0)|0;break b}d=c>>>16|0;if(d>>>0>=b>>>0){break b}h=c<<16|b>>>1;e=E(d);c=32-e|0;d=h>>>c|d<<e;i=(d>>>0)/(b>>>0)|0;j=d-B(b,i)|0;d=h<<e;while(1){e=j<<1|d>>>31;j=e-(b>>>0>e>>>0?0:b)|0;i=i<<1|b>>>0<=e>>>0;d=d<<1;c=c-1|0;if(c){continue}break}}v[f+20>>2]=(k|0)<0?0-i|0:i;Rr(a,g);return}v[f+28>>2]=0;v[f+24>>2]=k;v[f+16>>2]=65536;v[f+20>>2]=65536;a=u[b>>1];v[f+36>>2]=e;v[f+32>>2]=a<<6}function lx(a,b,c,d){var e=0,f=0,g=0;a:{b:{c:{f=v[a+4>>2];if((f|0)>=0){e=v[a+8>>2];g=e+1|0;g=(g|0)>0?g:0;if(g>>>0<=f>>>0){break b}e=f;while(1){e=((e>>>1|0)+e|0)+8|0;if(g>>>0>=e>>>0){continue}break}if(!(e>>>0<f>>>0|e>>>0>178956969)){f=gb(v[a+12>>2],B(e,24));if(f){break c}}v[a+4>>2]=-1}d=v[70117];v[163920]=v[70116];v[163921]=d;d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;f=655664;break a}v[a+4>>2]=e;v[a+12>>2]=f;e=v[a+8>>2]}if(e>>>0<g>>>0){Ra(v[a+12>>2]+B(e,24)|0,0,B(g-e|0,24))}v[a+8>>2]=g;e=v[a+12>>2];f=v[70117];v[163920]=v[70116];v[163921]=f;f=v[70115];v[163918]=v[70114];v[163919]=f;f=v[70113];v[163916]=v[70112];v[163917]=f;e=(e+B(g,24)|0)-24|0;f=655664;if((e|0)==655664){break a}f=v[d+4>>2];v[e>>2]=v[d>>2];v[e+4>>2]=f;f=v[d+20>>2];v[e+16>>2]=v[d+16>>2];v[e+20>>2]=f;f=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=f;f=e}v[f>>2]=b;e=v[c+12>>2];d=v[c+4>>2];g=v[c>>2];b=v[a>>2];v[f+12>>2]=0;v[f+4>>2]=b+g;e=e-b|0;b=d-b|0;b=b>>>0>d>>>0?0:b;v[f+8>>2]=b>>>0>e>>>0?e:b;v[a>>2]=v[c+12>>2]}function Bf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{if(!De(a,3582,2)){break c}if(!De(a,3585,2)){break c}e=1;break b}a=a+2|0;h=1;d:{e:{while(1){f:{c=-1;g:{switch(w[a|0]-9|0){case 36:break e;case 34:break f;case 0:case 23:break g;default:break d}}a=a+1|0;continue}break}c=1}a=a+1|0;h=c}c=0;g=De(a,3585,2)?a:a+2|0;d=t[g|0];b=0;if((d|0)<48){break a}e=g;while(1){h:{a=e;f=-48;i:{b=d&255;if(b>>>0<58){break i}e=d<<24>>24;if((e|0)>=97){f=-87;if(b>>>0<103){break i}}if((e|0)<65){e=a;break h}f=-55;if(b>>>0<=70){break i}e=a;break h}e=a+1|0;c=((c<<4)+b|0)+f|0;d=t[a+1|0];if((d|0)>47){continue}}break}b=B((e|0)==(g|0)?1:h,c);break a}j:{k:{while(1){l:{c=-1;m:{f=w[a|0];switch(f-9|0){case 36:break k;case 34:break l;case 0:case 23:break m;default:break j}}a=a+1|0;continue}break}c=1}f=w[a+1|0];a=a+1|0;e=c}c=0;b=0;if(f<<24>>24<48){break a}b=a;while(1){n:{d=f&255;if(d>>>0>57){d=b;break n}c=(d+B(c,10)|0)-48|0;f=t[b+1|0];d=b+1|0;b=d;if((f|0)>47){continue}}break}b=B((a|0)==(d|0)?1:e,c)}return b<<8&16711680|b<<24|(b>>>8&65280|b>>>24)}function eh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=Ca-32|0;Ca=g;e=d&2147483647;h=e;f=e-1006698496|0;e=e-1140785152|0;i=c;a:{if((f|0)==(e|0)&c>>>0>c>>>0|e>>>0>f>>>0){e=d<<4|c>>>28;c=c<<4|b>>>28;b=b&268435455;h=b;if((b|0)==134217728&a>>>0>=1|b>>>0>134217728){e=e+1073741824|0;a=c+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}f=c;e=e+1073741824|0;if(a|h^134217728){break a}b=c&1;a=b+f|0;e=a>>>0<b>>>0?e+1|0:e;f=a;break a}if(!(!i&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){f=c;c=d<<4|c>>>28;f=f<<4|b>>>28;e=c&524287|2146959360;break a}f=0;e=2146435072;if(h>>>0>1140785151){break a}e=0;h=h>>>16|0;if(h>>>0<15249){break a}e=d&65535|65536;Tc(g+16|0,a,b,c,e,h-15233|0);rg(g,a,b,c,e,15361-h|0);e=v[g+4>>2];h=e;a=v[g+8>>2];c=v[g+12>>2]<<4|a>>>28;f=a<<4|e>>>28;e=c;a=h&268435455;c=a;b=v[g>>2]|((v[g+16>>2]|v[g+24>>2])!=0|(v[g+20>>2]|v[g+28>>2])!=0);if((a|0)==134217728&b>>>0>=1|a>>>0>134217728){a=f+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}if(b|c^134217728){break a}a=f+(f&1)|0;e=a>>>0<f>>>0?e+1|0:e;f=a}Ca=g+32|0;l(0,f|0);l(1,d&-2147483648|e);return+n()}function wq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Ca-16|0;Ca=f;d=3;e=v[b+188>>2];a:{if(!e){break a}h=v[b+192>>2];while(1){if(v[h+(g<<4)>>2]==(c|0)){d=83;e=v[(h+(g<<4)|0)+12>>2];c=v[a+8>>2];if(e>>>0<c>>>0){break a}if(Ub(a,e-c|0)){break a}v[f+12>>2]=0;g=Sc(a,f+12|0);d=v[f+12>>2];if(d){break a}h=g&-256;if((h|256)==256){d=b+196|0;c=f;e=g&4;b:{if(e){d=ub(a,25760,d);break b}d=ub(a,25824,d)}v[c+12>>2]=d;if(d){break a}d=v[b+204>>2];c=d>>31;if((c^c+d)>=32768){v[b+204>>2]=(d|0)<0?-32767:32767}d=v[b+208>>2];c=d>>31;if((c^c+d)>=32768){v[b+208>>2]=(d|0)<0?-32767:32767}i=b+216|0;d=ub(a,e?25888:25920,i);v[f+12>>2]=d;if(d){break a}c=g&255;e=b+232|0;d=lk(a,c,e);v[f+12>>2]=d;if(d){break a}d=b+248|0;if((h|0)==256){d=lk(a,c,d);v[f+12>>2]=d;if(d){break a}d=lk(a,c,b+264|0);break a}a=v[i+4>>2];v[d>>2]=v[i>>2];v[d+4>>2]=a;a=v[i+12>>2];v[d+8>>2]=v[i+8>>2];v[d+12>>2]=a;a=v[e+12>>2];v[b+272>>2]=v[e+8>>2];v[b+276>>2]=a;a=v[e+4>>2];v[b+264>>2]=v[e>>2];v[b+268>>2]=a}d=0;break a}g=g+1|0;if((e|0)!=(g|0)){continue}break}}Ca=f+16|0;return d}function sK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{if(!a){if(v[b>>2]){break c}a=v[b+8>>2];if(!a){break c}d=v[a-8>>2];if(!d){break b}b=a-4|0;c=v[b>>2];if(!c){break b}e=b;b=c-1|0;v[e>>2]=b;if(b){break c}e=a-32|0;b=v[e>>2];if(b){c=v[a-24>>2];if(c){v[c+12>>2]=v[a-20>>2]}v[v[a-20>>2]>>2]=c;v[b+32>>2]=v[b+32>>2]-1;v[b+20>>2]=v[b+20>>2]-d}b=v[a-28>>2];Ea[v[b+16>>2]](a+(v[b+24>>2]+7&-8)|0,a);Pa(e);return 1}c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;c=v[b+44>>2];v[a+40>>2]=v[b+40>>2];v[a+44>>2]=c;c=v[b+36>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=c;c=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=c;c=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=c;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c;d:{switch(v[b>>2]-1|0){case 0:d=v[b+8>>2];c=v[b+12>>2];b=Va(c+1|0);if(b){f=Ta(b,d,c)+c|0,g=0,t[f|0]=g}v[a+8>>2]=b;return(b|0)!=0|0;case 1:break d;default:break c}}a=v[b+8>>2];if(!a){break c}if(!v[a-8>>2]){break a}a=a-4|0;b=v[a>>2];if(!b){break a}v[a>>2]=b+1}return 1}O(364907,364851,432,364955);L()}O(364907,364851,423,364937);L()}function nt(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=-1;f=d-c|0;a:{if((f|0)<2){break a}i=b+72|0;while(1){j=d;b:{c:{d:{e:{f:{g:{h:{b=w[c|0];switch(b-216|0){case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break c;case 4:case 5:case 6:case 7:break e;case 0:case 1:case 2:case 3:break f;case 39:break h;default:break g}}if(w[c+1|0]<=253){break c}break e}if(b){break c}i:{b=w[w[c+1|0]+i|0];switch(b|0){case 6:break i;case 12:case 13:break d;case 0:case 1:case 8:break e;case 7:break f;default:break c}}if((f|0)<3){return-2}g=c+3|0;break b}if((f|0)<4){return-2}g=c+4|0;break b}v[e>>2]=c;return 0}f=c+2|0;g=f;if((a|0)!=(b|0)){break b}h=-27;if((d-f|0)<2){break a}v[e>>2]=f;j:{if(w[f|0]){break j}a=w[w[c+3|0]+i|0];if(a>>>0>30){break j}h=27;if(1<<a&1076891136){break a}}return 0}g=c+2|0}c=g;f=j-c|0;if((f|0)>1){continue}break}}return h}function Du(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;a:{b:{if(b){e=v[b>>2];if(e){break b}}v[a>>2]=0;v[a+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;break a}g=v[b+8>>2];h=Va(e<<3);v[a+16>>2]=h;i=Va(g);v[a+20>>2]=i;if(!(i?h:0)){Pa(h);Pa(i);v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=0;break a}v[a+12>>2]=g;v[a+4>>2]=e;v[a+8>>2]=0;v[a>>2]=0;g=v[b>>2];c:{if(g){m=v[b+16>>2];n=A[c+40>>3];o=A[c+32>>3];p=A[c+24>>3];q=A[c+16>>3];r=A[c+8>>3];s=A[c>>3];c=0;while(1){d:{e=c<<3;f=e+m|0;d=+v[f>>2];j=+v[f+4>>2];k=q+(s*d+r*j);if(D(k)<268435455){d=n+(p*d+o*j);if(D(d)<268435455){break d}}if(!a){break c}Pa(h);Pa(v[a+20>>2]);v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=0;break c}e=e+h|0;f=e;d=hQ(d);e:{if(D(d)<2147483648){l=~~d;break e}l=-2147483648}v[f+4>>2]=l;d=hQ(k);f:{if(D(d)<2147483648){f=~~d;break f}f=-2147483648}v[e>>2]=f;c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=v[b+20>>2];b=v[b+8>>2];Ta(i,c,b);v[a+8>>2]=b;v[a>>2]=g}}}function rt(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=-1;f=d-c|0;a:{if((f|0)<2){break a}i=b+72|0;while(1){j=d;b:{c:{d:{e:{f:{g:{h:{b=w[c+1|0];switch(b-216|0){case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break c;case 4:case 5:case 6:case 7:break e;case 0:case 1:case 2:case 3:break f;case 39:break h;default:break g}}if(w[c|0]<=253){break c}break e}if(b){break c}i:{b=w[w[c|0]+i|0];switch(b|0){case 6:break i;case 12:case 13:break d;case 0:case 1:case 8:break e;case 7:break f;default:break c}}if((f|0)<3){return-2}g=c+3|0;break b}if((f|0)<4){return-2}g=c+4|0;break b}v[e>>2]=c;return 0}f=c+2|0;g=f;if((a|0)!=(b|0)){break b}h=-27;if((d-f|0)<2){break a}v[e>>2]=f;j:{if(w[c+3|0]){break j}a=w[w[f|0]+i|0];if(a>>>0>30){break j}h=27;if(1<<a&1076891136){break a}}return 0}g=c+2|0}c=g;f=j-c|0;if((f|0)>1){continue}break}}return h}function Gn(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=v[a>>2];if(!c){h=a-44|0;while(1){f=v[h>>2];if(!f){return 280448}d=eb(1,20);a:{if(!d){if(c){break a}v[a>>2]=280448;return 280448}b=Ca-48|0;Ca=b;i=d,j=Ej(f),v[i+8>>2]=j;c=ig(f+88|0);v[d+4>>2]=w[c+34|0]<<8|w[c+35|0];Nb(f);b:{e=Jb(f,1986884728);c=Hb(e);if(v[c+16>>2]>-1){g=v[c+12>>2];Sa(c);if(g){if(v[e+4>>2]){v[e+4>>2]=0}}v[d+12>>2]=e;g=e?e:280448;e=v[g+16>>2];c=v[d+4>>2];if(e>>>0<c<<2>>>0){c=e>>>2|0;v[d+4>>2]=c}v[d>>2]=(e-(c<<2)>>>1|0)+c;if(!c){v[d>>2]=0;v[d+4>>2]=0;Sa(g);v[d+12>>2]=0;v[d+12>>2]=280448}v[b+16>>2]=0;v[b+20>>2]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;c=Nb(f);t[b+44|0]=1;v[b+40>>2]=c;i=d,j=yx(b+8|0,Jb(f,1448493394)),v[i+16>>2]=j;Ca=b+48|0;break b}O(248800,248825,194,248842);L()}if(!v[a>>2]){v[a>>2]=d;return d}b=v[d+12>>2];Sa(b?b:280448);v[d+12>>2]=0;b=v[d+16>>2];Sa(b?b:280448);Pa(d);c=v[a>>2]}if(!c){continue}break}}return c}function Cx(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=v[a>>2];if(!c){h=a-16|0;while(1){f=v[h>>2];if(!f){return 280448}d=eb(1,20);a:{if(!d){if(c){break a}v[a>>2]=280448;return 280448}b=Ca-48|0;Ca=b;i=d,j=Ej(f),v[i+8>>2]=j;c=jg(f+60|0);v[d+4>>2]=w[c+34|0]<<8|w[c+35|0];Nb(f);b:{e=Jb(f,1752003704);c=Hb(e);if(v[c+16>>2]>-1){g=v[c+12>>2];Sa(c);if(g){if(v[e+4>>2]){v[e+4>>2]=0}}v[d+12>>2]=e;g=e?e:280448;e=v[g+16>>2];c=v[d+4>>2];if(e>>>0<c<<2>>>0){c=e>>>2|0;v[d+4>>2]=c}v[d>>2]=(e-(c<<2)>>>1|0)+c;if(!c){v[d>>2]=0;v[d+4>>2]=0;Sa(g);v[d+12>>2]=0;v[d+12>>2]=280448}v[b+16>>2]=0;v[b+20>>2]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;c=Nb(f);t[b+44|0]=1;v[b+40>>2]=c;i=d,j=yx(b+8|0,Jb(f,1213612370)),v[i+16>>2]=j;Ca=b+48|0;break b}O(248800,248825,194,248842);L()}if(!v[a>>2]){v[a>>2]=d;return d}b=v[d+12>>2];Sa(b?b:280448);v[d+12>>2]=0;b=v[d+16>>2];Sa(b?b:280448);Pa(d);c=v[a>>2]}if(!c){continue}break}}return c}function RC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(a){c=v[a+100>>2];d=v[a+316>>2];if(d){g=c;b=v[a+300>>2];if((b|0)>=1){while(1){e=(f<<3)+d|0;d=v[e+4>>2];if(d){b=c;d=v[d>>2];if(d){Ea[v[b+8>>2]](b,d)}v[v[e+4>>2]>>2]=0;b=v[e+4>>2];if(b){Ea[v[c+8>>2]](c,b)}v[e+4>>2]=0;b=v[a+300>>2]}f=f+1|0;if((f|0)<(b|0)){d=v[a+316>>2];continue}break}d=v[a+316>>2]}if(d){Ea[v[g+8>>2]](g,d)}v[a+316>>2]=0}b=v[a+164>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+164>>2]=0;b=v[a+168>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+168>>2]=0;b=v[a+172>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+172>>2]=0;b=v[a+176>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+176>>2]=0;b=v[a+180>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+180>>2]=0;b=v[a+304>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+300>>2]=0;v[a+304>>2]=0;b=v[a+140>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+140>>2]=0;b=v[a+152>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+152>>2]=0;b=v[a+156>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+20>>2]=0;v[a+24>>2]=0;v[a+156>>2]=0;b=v[a+324>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+324>>2]=0;b=v[a+328>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+328>>2]=0}}function zz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=v[a+816>>2];a:{if(!g){break a}f=v[a+812>>2];if((f|0)<10){break a}i=b<<16|c;c=v[a+808>>2];j=c+f|0;b=c+4|0;c=c+10|0;m=v[a+820>>2];h=1;while(1){f=(w[b+3|0]|w[b+2|0]<<8)+b|0;f=f>>>0>j>>>0?j:f;b:{if(!(h&m)){break b}e=b+14|0;if(w[b+4|0]){break b}n=w[b+5|0];d=f-e|0;c=w[b+7|0]|w[c|0]<<8;c=(d|0)<(B(c,6)|0)?(d|0)/6|0:c;c:{if(v[a+824>>2]&h){if(!c){break b}o=b+18|0;e=0;while(1){k=c+e>>>1|0;b=B(k,6)+o|0;d=b-4|0;d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=(i|0)){b=d>>>0<i>>>0;e=b?k+1|0:e;c=b?c:k;if(e>>>0<c>>>0){continue}break b}break}c=b+1|0;break c}if(!c){break b}while(1){b=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);if((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))!=(i|0)){e=e+6|0;c=c-1|0;if(c){continue}break b}break}b=e+4|0;c=e+5|0}l=((w[c|0]|w[b|0]<<8)<<16>>16)+(n&8?0:l)|0}g=g-1|0;if(!g){break a}h=h<<1;b=f;c=b+6|0;if(j>>>0>=c>>>0){continue}break}}return l|0}function tt(a,b,c,d){var e=0,f=0,g=0,h=0;e=c-b|0;if((e|0)<1){return-1}a:{b:{c:{g=c;d:{e:{f:{g:{h:{h=a+72|0;switch(w[h+w[b|0]|0]-5|0){case 4:case 5:case 16:case 25:break c;case 17:case 19:break e;case 2:break f;case 1:break g;case 0:break h;default:break b}}f=-2;if((e|0)<2){break a}if(!(Ea[v[a+340>>2]](a,b)|0)){f=0;break b}b=b+2|0;break d}f=-2;if((e|0)<3){break a}if(!(Ea[v[a+344>>2]](a,b)|0)){f=0;break b}b=b+3|0;break d}f=-2;if((e|0)<4){break a}if(!(Ea[v[a+348>>2]](a,b)|0)){f=0;break b}b=b+4|0;break d}b=b+1|0}e=g-b|0;if((e|0)<1){return-1}f=0;while(1){g=c;i:{j:{switch(w[w[b|0]+h|0]-5|0){case 0:if((e|0)<2){return-2}if(!(Ea[v[a+328>>2]](a,b)|0)){break b}b=b+2|0;break i;case 1:if((e|0)<3){return-2}if(!(Ea[v[a+332>>2]](a,b)|0)){break b}b=b+3|0;break i;case 2:if((e|0)<4){return-2}if(!(Ea[v[a+336>>2]](a,b)|0)){break b}b=b+4|0;break i;case 13:b=b+1|0;f=28;break b;case 17:case 19:case 20:case 21:case 22:break j;default:break b}}b=b+1|0}e=g-b|0;if((e|0)>0){continue}break}return-1}f=22}v[d>>2]=b}return f}function ZL(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;f=Ca-16|0;Ca=f;wc(a,v[a+8>>2]);g=v[a+8>>2];d=v[a>>2];v[f+12>>2]=d;a:{if(d>>>0>=g>>>0){break a}b:{c:{d:{e=w[d|0];if((e|0)==91){i=93}else{if((e|0)!=123){break d}i=125}d=d+1|0;v[f+12>>2]=d;if(d>>>0>=g>>>0){break a}e:{if(!c){while(1){wc(f+12|0,g);e=v[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(w[e|0]==(i|0)){break c}Je(f+12|0,g,0);d=v[f+12>>2];if((e|0)==(d|0)){break e}h=h+1|0;if(d>>>0<g>>>0){continue}break}break a}b=(b|0)>0?b:0;while(1){wc(f+12|0,g);e=v[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(w[e|0]==(i|0)){break c}if((b|0)==(h|0)){d=e;h=b;break a}j=(h<<1)+c|0,k=Je(f+12|0,g,0)>>>16|0,u[j>>1]=k;d=v[f+12>>2];if((e|0)==(d|0)){break e}h=h+1|0;if(d>>>0<g>>>0){continue}break}break a}h=-1;d=e;break a}wc(f+12|0,g);e=v[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(!w[e|0]){break c}if(!c|(b|0)>=1){break b}d=e;break a}d=e+1|0;break a}j=c?c:f+10|0,k=Je(f+12|0,g,0)>>>16|0,u[j>>1]=k;d=v[f+12>>2];h=(e|0)==(d|0)?-1:1}v[a>>2]=d;Ca=f+16|0;return h|0}function ip(a,b,c,d,e,f){var g=0,h=0;a:{if((b|0)!=1196445523){g=280448;if((b|0)!=1196643650){break a}a=v[Ic(a+136|0)>>2];a=a?a:280448;g=y[a+16>>2]<10?280448:v[a+12>>2];break a}a=v[ad(a+140|0)>>2];a=a?a:280448;g=y[a+16>>2]<10?280448:v[a+12>>2]}a=w[g+5|0]|w[g+4|0]<<8;a=a?g+a|0:280448;b=(w[a+1|0]|w[a|0]<<8)>>>0>c>>>0?(a+B(c,6)|0)+2|0:280448;b=w[b+4|0]<<8|w[b+5|0];a=b?a+b|0:280448;b:{if((d|0)==65535){c=a+1|0;b=a;break b}b=(w[a+3|0]|w[a+2|0]<<8)>>>0>d>>>0?(a+B(d,6)|0)+4|0:280448;c=b+5|0;b=b+4|0}c:{d:{e:{d=a;a=w[c|0]|w[b|0]<<8;d=a?d+a|0:280834;h=w[d+4|0]<<8|w[d+5|0];if(!h){break e}b=0;while(1){a=b>>>0<h>>>0?(d+(b<<1)|0)+6|0:280832;c=w[a|0]<<8|w[a+1|0];if((c|0)==65535){a=!e}else{a=w[g+7|0]|w[g+6|0]<<8;a=a?a+g|0:280448;a=(w[a+1|0]|w[a|0]<<8)>>>0>c>>>0?(a+B(c,6)|0)+2|0:280448;a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);a=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))==(e|0)}if(!a){b=b+1|0;if((h|0)==(b|0)){break e}continue}break}b=1;if(f){break d}break c}c=65535;b=0;if(!f){break c}}v[f>>2]=c}return b}function LO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=v[a+12>>2];v[d>>2]=0;a:{if(!(!b|!c)){f=1;if(Ea[v[e+36>>2]](e,b,c,d,v[e+68>>2])|0){break a}}if(w[v[a>>2]+140|0]&16){return 0}f=0;b:{c:{switch(c-1460|0){case 0:if((b|0)!=1497){break a}v[d>>2]=64285;break b;case 3:if((b|0)!=1488){if((b|0)!=1522){break a}v[d>>2]=64287;break b}v[d>>2]=64302;break b;case 4:if((b|0)!=1488){break a}v[d>>2]=64303;break b;case 5:if((b|0)!=1493){break a}v[d>>2]=64331;break b;case 8:a=b-1488|0;if(a>>>0<=26){v[d>>2]=v[(a<<2)+261728>>2];return 131817343>>>a&1}d:{switch(b-64298|0){case 0:v[d>>2]=64300;break b;case 1:break d;default:break a}}v[d>>2]=64301;break b;case 11:e:{switch(b-1489|0){case 0:v[d>>2]=64332;break b;case 10:v[d>>2]=64333;break b;case 19:break e;default:break a}}v[d>>2]=64334;break b;case 13:if((b|0)!=64329){if((b|0)!=1513){break a}v[d>>2]=64298;break b}v[d>>2]=64300;break b;case 14:break c;default:break a}}if((b|0)!=64329){if((b|0)!=1513){break a}v[d>>2]=64299;break b}v[d>>2]=64301}f=1}return f|0}function Wu(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;g=Ca-16|0;Ca=g;b=v[a+84>>2];v[g>>2]=v[v[a+88>>2]+16>>2];hb(b,6,3149,g);a:{i=v[a+88>>2];b=v[i+16>>2];f=b&3;b:{if((f|0)==1){hb(v[a+84>>2],1,3178,0);break b}j=b>>>2|0;k=(B(j,3)+(f?f:1)|0)-1|0;e=Va(k);if(!e){e=0;break b}c=v[i+8>>2];c:{if(!j){b=e;break c}b=e;d=1;while(1){m=w[c|0];h=w[c+1|0];l=(w[c+2|0]+31&63)<<6;t[b+2|0]=l|w[c+3|0]+31&63;h=(h+31&63)<<12;t[b+1|0]=(h|l)>>>8;t[b|0]=(h|m<<18)+8126464>>>16;c=c+4|0;b=b+3|0;if((d|0)==(j|0)){break c}d=d+1|0;continue}}d:{e:{f:{switch(f-2|0){case 1:d=w[c+2|0];f=w[c|0]<<18;c=(w[c+1|0]+31&63)<<12;t[b|0]=(f|c)+8126464>>>16;c=(c|(d+31&60)<<6)>>>8|0;d=b+2|0;b=b+1|0;break e;case 0:break f;default:break d}}c=((w[c+1|0]+31&48)<<12|(w[c|0]+31&255)<<18)>>>16|0;d=b+1|0}t[b|0]=c;b=d}if((b-e|0)!=(k|0)){break a}b=v[a+84>>2];if(!v[b+4>>2]){break b}am(b,v[i+4>>2],e,k)}Pa(e);a=v[a+88>>2];Pa(v[a+4>>2]);Pa(v[a+8>>2]);v[a+12>>2]=0;v[a+16>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;Ca=g+16|0;return}O(3200,1319,887,3247);L()}function Gz(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;f=Ca-16|0;Ca=f;e=Ea[v[a+516>>2]](a,1801810542,b,f+12|0)|0;a:{if(e){break a}e=142;c=v[f+12>>2];if(c>>>0<4){break a}e=Jc(b,c,a+808|0);if(e){break a}c=v[f+12>>2];v[a+812>>2]=c;e=0;d=v[a+808>>2];b=w[d+2|0]<<8|w[d+3|0];j=b>>>0<32?b:32;b:{if(!j){break b}k=c+d|0;h=d+4|0;while(1){b=h;if(b+6>>>0>k>>>0){break b}c=w[b+3|0]|w[b+2|0]<<8;if(c>>>0<15){break b}c=b+c|0;h=c>>>0>k>>>0?k:c;c:{if(w[b+4|0]|(w[b+5|0]&3)!=1){break c}c=b+14|0;if(c>>>0>h>>>0){break c}l=1<<g;m=l|m;d=h-c|0;c=w[b+7|0]|w[b+6|0]<<8;i=(d|0)<(B(c,6)|0)?(d|0)/6|0:c;if(!i){break c}c=w[b+14|0]|w[b+15|0]<<8|(w[b+16|0]<<16|w[b+17|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b=b+20|0;while(1){i=i-1|0;if(i){c=d;d=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b=b+6|0;if(c>>>0<d>>>0){continue}break c}break}n=n|l}g=g+1|0;if((j|0)!=(g|0)){continue}break}g=j}v[a+824>>2]=n;v[a+820>>2]=m;v[a+816>>2]=g}Ca=f+16|0;return e|0}function Xm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=Ca-48|0;Ca=e;f=6;a:{if(!a|!d){break a}f=v[b+4>>2];h=f;j=v[b>>2];v[e>>2]=j;v[e+4>>2]=f;f=v[b+8>>2];i=v[b+12>>2];g=v[b+20>>2];b=v[b+16>>2];v[e+36>>2]=g;g=g+i|0;v[e+28>>2]=(g|0)/2;i=h+i|0;v[e+20>>2]=(i+g|0)/4;g=f+j|0;v[e+8>>2]=(g|0)/2;v[e+32>>2]=b;b=b+f|0;v[e+24>>2]=(b|0)/2;v[e+12>>2]=(i|0)/2;v[e+16>>2]=(b+g|0)/4;if((c|0)>=3){b=c>>>1|0;f=Xm(a,e,b,d);if(f){break a}f=Xm(a,e+16|0,b,d);break a}v[e+44>>2]=0;c=qb(a,40,e+44|0);f=v[e+44>>2];if(f){break a}b=c;v[b>>2]=0;v[b+4>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[e+44>>2]=0;a=qb(a,40,e+44|0);f=v[e+44>>2];if(f){break a}v[a+16>>2]=0;v[a+20>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[c>>2]=j;v[c+4>>2]=h;b=v[e+16>>2];h=v[e+20>>2];v[c+32>>2]=1;v[c+8>>2]=b;v[c+12>>2]=h;v[a>>2]=b;v[a+4>>2]=h;b=v[e+32>>2];h=v[e+36>>2];v[a+32>>2]=1;v[a+8>>2]=b;v[a+12>>2]=h;v[c+36>>2]=a;v[a+36>>2]=v[d>>2];v[d>>2]=c;f=0}Ca=e+48|0;return f}function BB(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;a:{b:{c:{a=v[a+12>>2];f=v[a+4280>>2];if(f>>>0>b>>>0){f=f-b|0;e=v[a+4284>>2];if(f>>>0<=(e-a|0)-184>>>0){v[a+4280>>2]=b;v[a+4284>>2]=e-f;break c}f=0;if(Ya(v[a>>2],0)){break a}v[a+12>>2]=0;v[a+16>>2]=0;v[a+104>>2]=0;v[a+48>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;t[a+44|0]=0;v[a- -64>>2]=9;e=a+4280|0;v[a+4288>>2]=e;v[a+4284>>2]=e;v[e>>2]=0}if(b>>>0<=f>>>0){break c}g=v[a+4284>>2];h=v[a+4288>>2]-g|0;e=b-f|0;b=e>>>0>h>>>0?h:e;v[a+4284>>2]=b+g;v[a+4280>>2]=b+f;b=e-b|0;if(b){g=a+12|0;while(1){f=0;e=b>>>0<4096?b:4096;if(zq(g,0,e)>>>0<e>>>0){break a}v[a+4280>>2]=e+v[a+4280>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}g=a+184|0;i=a+12|0;e=v[a+4284>>2];b=v[a+4288>>2];f=0;while(1){b=b-e|0;b=b>>>0<d>>>0?b:d;Ta(c+f|0,e,b);v[a+4284>>2]=b+v[a+4284>>2];v[a+4280>>2]=b+v[a+4280>>2];f=b+f|0;d=d-b|0;if(!d){break a}v[a+4284>>2]=g;h=zq(i,g,4096);e=v[a+4284>>2];b=h+e|0;v[a+4288>>2]=b;if(h){continue}break}}return f|0}function Sm(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=w[v[a>>2]+236|0];v[g>>2]=0;v[f>>2]=0;if(w[a+11662|0]){h=e-c|0;e=i?0-h|0:h;j=v[a+4>>2];h=B(h>>16,b>>16);b=d-b|0;v[j+16>>2]=v[j+16>>2]+(h-B(b>>16,c>>16)|0);a:{b:{b=i?0-b|0:b;if((b|0)>=0){if((e|0)>=0){if((b|0)>e<<1){break b}c=v[a+11684>>2];if((e|0)>b<<1){v[f>>2]=c;a=v[a+11688>>2];break a}k=f,l=Qa(45875,c),v[k>>2]=l;a=Qa(19661,v[a+11688>>2]);break a}if((b|0)>(0-(e<<1)|0)){break b}c=v[a+11684>>2];if((0-e|0)>b<<1){v[f>>2]=0-c;a=v[a+11688>>2];break a}k=f,l=Qa(-45874,c),v[k>>2]=l;a=Qa(19661,v[a+11688>>2]);break a}c=0-b|0;if((e|0)>=0){if((c|0)>e<<1){v[f>>2]=0;a=v[a+11688>>2]<<1;break a}c=v[a+11684>>2];if((e|0)>(0-(b<<1)|0)){v[f>>2]=c;a=v[a+11688>>2];break a}k=f,l=Qa(45875,c),v[k>>2]=l;a=Qa(111411,v[a+11688>>2]);break a}if((c|0)>(0-(e<<1)|0)){v[f>>2]=0;a=v[a+11688>>2]<<1;break a}c=v[a+11684>>2];if((0-(b<<1)|0)<(0-e|0)){v[f>>2]=0-c;a=v[a+11688>>2];break a}k=f,l=Qa(-45874,c),v[k>>2]=l;a=Qa(111411,v[a+11688>>2]);break a}v[f>>2]=0;a=0}v[g>>2]=a}}function Rw(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;a:{e=eb(1,40);if(e){f=v[a+44>>2];k=f-1|0;j=v[a+48>>2];h=e;b=v[a+4>>2]==1098015074;b:{c:{if((f|0)<1){break c}a=k;while(1){d:{d=a+c>>>1|0;g=v[B(d,36)+j>>2];e:{if(g>>>0>=1937007465){a=d-1|0;break e}if((g|0)==1937007464){break d}c=d+1|0}if((a|0)>=(c|0)){continue}break c}break}a=2;if(v[(B(d,36)+j|0)+28>>2]){break b}}a=0}t[h+36|0]=b|a;d=0;if((f|0)<=0){break a}while(1){b=d<<2;f=v[b+257040>>2];c=0;a=k;h=e+b|0;f:{g:{while(1){b=a+c>>>1|0;g=B(b,36)+j|0;i=v[g>>2];h:{if(i>>>0>f>>>0){a=b-1|0;break h}if(f>>>0<=i>>>0){break g}c=b+1|0}if((a|0)>=(c|0)){continue}break}a=0;break f}a=v[g+28>>2]}v[h>>2]=a;h=e;g=w[e+36|0];b=0;i:{if(!(g&1)){break i}c=0;a=k;b=1;if(44>>>d&1){break i}j:{while(1){b=a+c>>>1|0;i=B(b,36)+j|0;l=v[i>>2];k:{if(l>>>0>f>>>0){a=b-1|0;break k}if(f>>>0<=l>>>0){break j}c=b+1|0}if((a|0)>=(c|0)){continue}break}b=0;break i}b=t[i+32|0]&1}t[h+36|0]=b|g&254;d=d+1|0;if((d|0)!=7){continue}break}}return e|0}t[e+36|0]=a;return e|0}function hz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Ca-16|0;Ca=f;j=v[a+552>>2];a:{b:{g=x[(b?a+296|0:a+216|0)+34>>1];if(!g){break b}h=v[(b?856:852)+a>>2];k=h+v[(b?756:752)+a>>2]|0;i=v[a+104>>2];if(c>>>0<g>>>0){g=h+(c<<2)|0;if(g+4>>>0>k>>>0){break b}g=Ya(i,g);v[f+12>>2]=g;if(g){break b}m=e,n=kb(i,f+12|0),u[m>>1]=n;if(v[f+12>>2]){break b}m=d,n=kb(i,f+12|0),u[m>>1]=n;if(!v[f+12>>2]){break a}break b}h=h+(g<<2)|0;if(h-2>>>0>k>>>0){break b}h=h-4|0;l=Ya(i,h);v[f+12>>2]=l;if(l){break b}m=e,n=kb(i,f+12|0),u[m>>1]=n;if(v[f+12>>2]){break b}g=h+(c-g<<1)|0;if(g+6>>>0>k>>>0){u[d>>1]=0;break a}g=Ya(i,g+4|0);v[f+12>>2]=g;if(g){u[d>>1]=0;break a}m=d,n=kb(i,f+12|0),u[m>>1]=n;break a}u[d>>1]=0;u[e>>1]=0}if(j){v[f+8>>2]=x[e>>1];v[f+4>>2]=u[d>>1];c:{d:{if(b){b=v[j+12>>2];if(b){Ea[b|0](a,c,f+8|0)|0}b=v[j+16>>2];if(b){break d}break c}b=v[j>>2];if(b){Ea[b|0](a,c,f+8|0)|0}b=v[j+4>>2];if(!b){break c}}Ea[b|0](a,c,f+4|0)|0}u[e>>1]=v[f+8>>2];u[d>>1]=v[f+4>>2]}Ca=f+16|0}function Yj(a,b,c){var d=0,e=0,f=0,g=C(0),h=0;f=w[a+5|0];d=w[a+4|0];e=f|d<<8;a:{if(e-1>>>0>=3){if((e|0)!=32768){break a}d=w[a+1|0]|w[a|0]<<8;if(d>>>0>=(w[c+7|0]|w[c+6|0]<<8)>>>0){g=C(0)}else{d=(d<<2)+c|0;d=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=w[a+3|0]|w[a+2|0]<<8;a=w[c+2|0]|w[c+3|0]<<8|(w[c+4|0]<<16|w[c+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);g=Vg(d?d+c|0:280448,e,v[b+64>>2],v[b+60>>2],a?a+c|0:280448)}g=C(g*C(v[b+24>>2]));b=v[b+16>>2];a=v[b+28>>2];if(!a){a=Fb(b)}g=C(H(C(C(g/C(a>>>0))+C(.5))));b:{if(C(D(g))<C(2147483648)){a=~~g;break b}a=-2147483648}return a}c=v[b+52>>2];if(!c){break a}d=f|d<<8;if(d-1>>>0>2){break a}f=w[a+1|0]|w[a|0]<<8;if(f>>>0>c>>>0|c>>>0>(w[a+3|0]|w[a+2|0]<<8)>>>0){break a}e=a;a=c-f|0;f=4-d|0;e=e+(a>>>f<<1)|0;e=(w[e+6|0]<<8|w[e+7|0])>>>((a^-1|-1<<f)<<d)+16|0;a=65535>>>(-1<<d)+16|0;d=e&a;a=a+1|0;a=d-(d>>>0<a>>>1>>>0?0:a)|0;if(!a){break a}b=v[b+24>>2];h=fQ(eQ(b,b>>31,a,a>>31),Da,c,0)}return h}function Xj(a,b,c){var d=0,e=0,f=0,g=C(0),h=0;f=w[a+5|0];d=w[a+4|0];e=f|d<<8;a:{if(e-1>>>0>=3){if((e|0)!=32768){break a}d=w[a+1|0]|w[a|0]<<8;if(d>>>0>=(w[c+7|0]|w[c+6|0]<<8)>>>0){g=C(0)}else{d=(d<<2)+c|0;d=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=w[a+3|0]|w[a+2|0]<<8;a=w[c+2|0]|w[c+3|0]<<8|(w[c+4|0]<<16|w[c+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);g=Vg(d?d+c|0:280448,e,v[b+64>>2],v[b+60>>2],a?a+c|0:280448)}g=C(g*C(v[b+20>>2]));b=v[b+16>>2];a=v[b+28>>2];if(!a){a=Fb(b)}g=C(H(C(C(g/C(a>>>0))+C(.5))));b:{if(C(D(g))<C(2147483648)){a=~~g;break b}a=-2147483648}return a}c=v[b+48>>2];if(!c){break a}d=f|d<<8;if(d-1>>>0>2){break a}f=w[a+1|0]|w[a|0]<<8;if(f>>>0>c>>>0|c>>>0>(w[a+3|0]|w[a+2|0]<<8)>>>0){break a}e=a;a=c-f|0;f=4-d|0;e=e+(a>>>f<<1)|0;e=(w[e+6|0]<<8|w[e+7|0])>>>((a^-1|-1<<f)<<d)+16|0;a=65535>>>(-1<<d)+16|0;d=e&a;a=a+1|0;a=d-(d>>>0<a>>>1>>>0?0:a)|0;if(!a){break a}b=v[b+20>>2];h=fQ(eQ(b,b>>31,a,a>>31),Da,c,0)}return h}function gc(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;a:{b:{c:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}d=1;if(!w[b+12|0]){break a}g=w[a+3|0]|w[a+2|0]<<8;if(!g){break a}v[b+16>>2]=-1;c=w[a+5|0]|w[a+4|0]<<8;i=ec(b,c);if(!i){d=0;break a}e=a+4|0;d=c;while(1){k=c+512&-512;a=d;f=e;d:{while(1){e:{d=c;if(c>>>0<a>>>0){break e}e=(d>>>3&56)+i|0;c=e;j=v[c+4>>2];l=c;m=v[c>>2];e=d&63;h=e&31;if((e&63)>>>0>=32){e=1<<h;h=0}else{e=(1<<h)-1&1>>>32-h;h=1<<h}v[l>>2]=m|h;v[c+4>>2]=e|j;g=g-1|0;if(!g){break e}j=w[f+2|0];c=w[f+3|0];a=d;e=f+2|0;f=e;c=j<<8|c;if(k>>>0>c>>>0){continue}break d}break}d=a>>>0<=d>>>0;break a}i=ec(b,c);if(i){continue}break}d=0;break a}f:{g=w[a+3|0];f=w[a+2|0];e=g|f<<8;if(!e){c=0;break f}c=1;while(1){f=(g&255|(f&255)<<8)>>>0>d>>>0?(B(d,6)+a|0)+4|0:280840;if(!Ph(b,w[f|0]<<8|w[f+1|0],w[f+3|0]|w[f+2|0]<<8)){break f}d=d+1|0;c=e>>>0>d>>>0;if((d|0)==(e|0)){break f}g=w[a+3|0];f=w[a+2|0];continue}}d=!c}return d&1}function Mo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!v[a+32>>2]|!v[a+24>>2]|v[a+20>>2]==280448){break a}c=v[a+28>>2];d=v[c+28>>2];b:{if((d|0)<1){break b}i=b>>>9|0;f=v[c+32>>2];d=d-1|0;while(1){c:{e=d+g>>>1|0;h=i-v[(e<<3)+f>>2]|0;d:{if((h|0)<=-1){d=e-1|0;break d}if(!h){break c}g=e+1|0}if((d|0)>=(g|0)){continue}break b}break}d=v[((e<<3)+f|0)+4>>2];if(d>>>0>=y[c+40>>2]){c=280448}else{c=v[c+44>>2];if(!c){break b}c=c+(d<<6)|0}c=c+(b>>>3&56)|0;e=v[c>>2];d=v[c+4>>2];f=b&63;c=f&31;if(((f&63)>>>0>=32?d>>>c|0:((1<<c)-1&d)<<32-c|e>>>c)&1){break a}}c=v[a+12>>2];d=v[a+8>>2];e=v[a+16>>2];v[a+12>>2]=280448;v[a+16>>2]=280448;v[a+8>>2]=280448;v[a+32>>2]=v[a+32>>2]-1;Ea[v[a+24>>2]](a,b);v[a+16>>2]=e;v[a+8>>2]=d;v[a+12>>2]=c;v[a+32>>2]=v[a+32>>2]+1;a=v[a+28>>2];if(!w[a+12|0]|(b|0)==-1){break a}v[a+16>>2]=-1;a=ec(a,b);if(!a){break a}c=a+(b>>>3&56)|0;a=c;d=v[a+4>>2];e=a;f=v[a>>2];c=b&63;b=c&31;if((c&63)>>>0>=32){c=1<<b;b=0}else{c=(1<<b)-1&1>>>32-b;b=1<<b}v[e>>2]=f|b;v[a+4>>2]=c|d}}function eq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=v[a+16>>2];f=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);i=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);a:{if(!i){break a}h=v[b>>2];if(c){if((h|0)==-1){break a}h=h+1|0}m=d+20|0;d=i;b:{c:{while(1){f=d+j>>>1|0;k=B(f,12)+m|0;e=k;g=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);l=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);g=f;e=e-4|0;e=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0<=h>>>0){if(h>>>0<=l>>>0){break c}j=f+1|0}else{d=g}if(d>>>0>j>>>0){continue}break}d=0;break b}d=k;d=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);g=h-e|0;d=d>>>0>(g^-1)>>>0?0:d+g|0}if(!c){return d}c=v[a>>2];if(h>>>0>l>>>0){g=0;f=f+1|0;if((i|0)==(f|0)){break a}}t[a+24|0]=1;v[a+36>>2]=f;v[a+28>>2]=h;d:{if(!(d>>>0<y[c+16>>2]?d:0)){dq(a);d=0;if(!w[a+24|0]){break d}d=v[a+32>>2];break d}v[a+32>>2]=d}g=d;v[b>>2]=v[a+28>>2]}return g}function Vn(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;f=w[a+3|0]|w[a+2|0]<<8;d=v[b+100>>2];a:{if((xb(f?f+a|0:280448,v[v[d+88>>2]+B(v[d+72>>2],20)>>2])|0)==-1){break a}e=v[d+72>>2];v[b+40>>2]=1;v[b+4>>2]=e;c=v[v[b+8>>2]+100>>2];v[b+44>>2]=v[c+76>>2];t[b+24|0]=(e|0)==v[c+72>>2]?w[(v[c+88>>2]+B(e,20)|0)+15|0]:0;f=b+4|0;if(!Rc(f)){break a}g=w[a+4|0];i=w[a+5|0];j=w[a+6|0];k=w[a+7|0];e=w[a+9|0]|w[a+8|0]<<8;e=Yh(e?e+a|0:280448,v[v[d+88>>2]+B(v[d+72>>2],20)>>2]);c=w[a+11|0]|w[a+10|0]<<8;c=Yh(c?c+a|0:280448,v[v[d+88>>2]+B(v[f>>2],20)>>2]);if(e>>>0>=(w[a+13|0]|w[a+12|0]<<8)>>>0){break a}h=w[a+15|0]|w[a+14|0]<<8;if(c>>>0>=h>>>0){break a}g=iQ(g<<8|i);c=c+B(e,h)|0;e=j<<8|k;c=B(c,iQ(e)+g|0);c=(c|0)<0?280448:((c<<1)+a|0)+16|0;b:{if(!(m=1,n=hf(a+4|0,b,a,c,v[d+96>>2]+B(v[d+72>>2],20)|0),o=hf(a+6|0,b,a,c+(g<<1)|0,v[d+96>>2]+B(v[b+4>>2],20)|0),o?m:n)){break b}a=v[f>>2]+1|0;b=v[d+72>>2];if(a-b>>>0<2){break b}Mb(d,b,a)}v[d+72>>2]=v[f>>2]+((e|0)!=0);l=1}return l}function Nv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=v[a>>2];a:{if(!h){break a}g=h-1|0;d=v[a+8>>2];f=h&3;b:{if(!f){e=h;break b}e=h;while(1){v[d+24>>2]=-1;v[d+16>>2]=v[d+16>>2]&-5;d=d+28|0;e=e-1|0;f=f-1|0;if(f){continue}break}}if(g>>>0<3){break a}while(1){v[d+24>>2]=-1;v[d+52>>2]=-1;v[d+80>>2]=-1;v[d+108>>2]=-1;v[d+16>>2]=v[d+16>>2]&-5;v[d+44>>2]=v[d+44>>2]&-5;v[d+72>>2]=v[d+72>>2]&-5;v[d+100>>2]=v[d+100>>2]&-5;d=d+112|0;e=e-4|0;if(e){continue}break}}if(b){d=0;f=0;e=0;g=0;while(1){if(!d){f=w[c|0];d=128;c=c+1|0}c:{if(!(d&f)){break c}i=v[a+8>>2]+B(e,28)|0;j=v[i+16>>2];if(j&4){break c}v[i+16>>2]=j|4;if(g>>>0>=h>>>0){break c}v[v[a+12>>2]+(g<<2)>>2]=i;g=g+1|0}d=d>>1;e=e+1|0;if((e|0)!=(b|0)){continue}break}v[a+4>>2]=g;if((g|0)>=2){c=v[a+12>>2];a=1;while(1){e=v[c+(a<<2)>>2];h=v[e>>2];d=a;while(1){b=d-1|0;f=c+(b<<2)|0;i=v[f>>2];if((h|0)<=v[i>>2]){v[c+(d<<2)>>2]=i;v[f>>2]=e;f=(d|0)>1;d=b;if(f){continue}}break}a=a+1|0;if((g|0)!=(a|0)){continue}break}}return}v[a+4>>2]=0}function Rr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=u[a+70>>1];f=(c|0)<0?-1:1;g=b;e=v[b+8>>2];d=e>>31;d=d^d+e;i=d>>>8|0;h=c;c=c>>31;c=h+c^c;a:{if(i+c>>>0<=8190){c=B(c,d)+32768>>>16|0;break a}c=B(c,d>>>16|0)+B(d,c>>>16|0)+(B(c,d&65535)+32768>>>16)|0}v[g+12>>2]=((((e|0)<0?0-f|0:f)|0)<0?0-c|0:c)+63&-64;c=u[a+72>>1];f=(c|0)<0?-1:1;g=b;h=c;c=c>>31;c=h+c^c;b:{if(c+i>>>0<=8190){c=B(c,d)+32768>>>16|0;break b}c=B(d,c>>>16|0)+B(c,d>>>16|0)+(B(c,d&65535)+32768>>>16)|0}v[g+16>>2]=((((e|0)<0?0-f|0:f)|0)<0?0-c|0:c)&-64;c=u[a+74>>1];f=(c|0)<0?-1:1;g=b;h=c;c=c>>31;c=h+c^c;c:{if(c+i>>>0<=8190){d=B(c,d)+32768>>>16|0;break c}d=B(d,c>>>16|0)+B(c,d>>>16|0)+(B(c,d&65535)+32768>>>16)|0}v[g+20>>2]=((((e|0)<0?0-f|0:f)|0)<0?0-d|0:d)+32&-64;a=u[a+76>>1];d=(a|0)<0?-1:1;c=b;e=v[b+4>>2];b=e>>31;g=a;a=a>>31;a=g+a^a;b=b^b+e;d:{if(a+(b>>>8|0)>>>0<=8190){b=B(a,b)+32768>>>16|0;break d}b=B(a,b>>>16|0)+B(b,a>>>16|0)+(B(a,b&65535)+32768>>>16)|0}v[c+24>>2]=((((e|0)<0?0-d|0:d)|0)<0?0-b|0:b)+32&-64}function Ng(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ca-16|0;Ca=h;f=v[a>>2];v[h+12>>2]=f;a:{if(b>>>0<=f>>>0){break a}b:{c:{d:{g=w[f|0];if((g|0)==91){j=93}else{if((g|0)!=123){break d}j=125}f=f+1|0;v[h+12>>2]=f;if(b>>>0<=f>>>0){break a}e:{if(d){c=(c|0)>0?c:0;while(1){wc(h+12|0,b);g=v[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(w[g|0]==(j|0)){break c}if((c|0)==(i|0)){f=g;i=c;break a}k=(i<<2)+d|0,l=Je(h+12|0,b,e),v[k>>2]=l;f=v[h+12>>2];if((g|0)==(f|0)){break e}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}while(1){wc(h+12|0,b);g=v[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(w[g|0]==(j|0)){break c}Je(h+12|0,b,e);f=v[h+12>>2];if((g|0)==(f|0)){break e}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}i=-1;f=g;break a}if(b>>>0<=f>>>0){break a}wc(h+12|0,b);g=v[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(!w[g|0]){break c}if(!d|(c|0)>=1){break b}f=g;break a}f=g+1|0;break a}k=d?d:h+8|0,l=Je(h+12|0,b,e),v[k>>2]=l;f=v[h+12>>2];i=(g|0)==(f|0)?-1:1}v[a>>2]=f;Ca=h+16|0;return i}function wj(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;h=Ca-16|0;Ca=h;i=v[a+12>>2];if(i){v[(v[a+20>>2]+(i<<4)|0)-4>>2]=e}a:{b:{c:{k=i+1|0;g=v[a+16>>2];if(k>>>0>g>>>0){v[h+4>>2]=0;j=i+8&-8;e=Ua(f,16,g,j,v[a+20>>2],h+4|0);v[a+20>>2]=e;g=v[h+4>>2];if(g){break a}v[a+16>>2]=j;g=(i<<4)+e|0;v[g+12>>2]=0;v[g>>2]=0;v[a+12>>2]=k;break c}e=v[a+20>>2];j=e+(i<<4)|0;v[j+12>>2]=0;v[j>>2]=0;v[a+12>>2]=k;if(k){break c}if(!g){v[h+8>>2]=0;e=Ua(f,16,0,8,e,h+8|0);v[a+20>>2]=e;g=v[h+8>>2];if(g){break a}v[a+16>>2]=8}v[e+12>>2]=0;v[e>>2]=0;v[a+12>>2]=1;break b}e=(i<<4)+e|0}a=v[e+4>>2];v[h+12>>2]=0;i=d+7>>>3|0;a=a+7>>>3|0;d:{if(i>>>0<=a>>>0){a=v[e+8>>2];break d}g=f;f=i+7&1073741816;a=Ua(g,1,a,f,v[e+8>>2],h+12|0);v[e+8>>2]=a;g=v[h+12>>2];if(g){break a}v[e+4>>2]=f<<3}v[e>>2]=d;g=0;if(!d){break a}e=(c>>>3|0)+b|0;c=128>>>(c&7)|0;b=128;while(1){f=w[a|0];t[a|0]=w[e|0]&c?f|b:f&(b^-1);b=b>>1;a=b?a:a+1|0;c=c>>1;e=c?e:e+1|0;b=b?b:128;c=c?c:128;d=d-1|0;if(d){continue}break}}Ca=h+16|0;return g}function qg(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=v[c+12>>2];f=v[b+120>>2];if(f){Ea[f|0](v[b+116>>2])}while(1){f=v[b+84>>2];if(f){si(f);continue}break}if(a){e=v[b+108>>2];if(e){while(1){f=v[e+4>>2];g=v[e+8>>2];d=v[g+8>>2];if(d){Ea[d|0](g)}d=v[v[c+12>>2]+60>>2];if(d){Ea[d|0](g)}d=v[g+40>>2];if(d){Ea[v[a+8>>2]](a,d)}v[g+40>>2]=0;Ea[v[a+8>>2]](a,g);Ea[v[a+8>>2]](a,e);e=f;if(e){continue}break}}v[b+108>>2]=0;v[b+112>>2]=0}e=0;v[b+88>>2]=0;c=v[b+48>>2];if(c){Ea[c|0](b)}if(v[b+36>>2]>=1){while(1){f=e<<2;g=v[f+v[b+40>>2]>>2];d=v[v[g>>2]+100>>2];c=v[v[g+12>>2]+8>>2];if(c){Ea[c|0](g)}Ea[v[d+8>>2]](d,g);v[f+v[b+40>>2]>>2]=0;e=e+1|0;if((e|0)<v[b+36>>2]){continue}break}}c=v[b+40>>2];if(c){Ea[v[a+8>>2]](a,c)}v[b+36>>2]=0;v[b+40>>2]=0;c=v[h+52>>2];if(c){Ea[c|0](b)}d=v[b+104>>2];a:{if(!d){break a}f=v[b+8>>2];e=v[d+28>>2];c=v[d+24>>2];if(c){Ea[c|0](d)}if(f&1024){break a}Ea[v[e+8>>2]](e,d)}v[b+104>>2]=0;c=v[b+128>>2];if(c){Ea[v[a+8>>2]](a,c);v[b+128>>2]=0}Ea[v[a+8>>2]](a,b)}function Zg(a,b,c,d,e){var f=0;v[a+8>>2]=c;v[a+4>>2]=b;v[a>>2]=0;c=v[c+16>>2];v[a+60>>2]=280448;t[a+56|0]=0;v[a+52>>2]=65536;t[a+33|0]=0;t[a+34|0]=0;t[a+35|0]=0;t[a+36|0]=0;t[a+37|0]=0;t[a+38|0]=0;t[a+39|0]=0;t[a+40|0]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+16>>2]=d;v[a+12>>2]=c;d=v[c+132>>2];a:{if(d){break a}d=0;while(1){f=v[c+48>>2];if(!f){d=280448;break a}b=eb(1,4);b:{if(!b){if(d){break b}d=280448;v[c+132>>2]=280448;break a}Rp(b,f);if(!v[c+132>>2]){d=b;v[c+132>>2]=b;break a}d=v[b>>2];Sa(d?d:280448);Pa(b);d=v[c+132>>2]}if(!d){continue}break}}b=v[d>>2];b=b?b:280448;c=v[b+12>>2];b=v[b+16>>2];v[a+68>>2]=0;v[a+64>>2]=b>>>0<12?280448:c;c=Hb(e);t[a+40|0]=0;v[a+48>>2]=c;b=v[a+12>>2];d=v[b+32>>2];if((d|0)==-1){d=Xc(b);c=v[a+48>>2]}t[a+56|0]=1;v[a+52>>2]=d;b=v[c+12>>2];v[a+24>>2]=b;d=b;b=v[c+16>>2];v[a+28>>2]=d+b;if((b|0)<=-1){O(229360,229385,194,229402);L()}v[a+20>>2]=0;v[a+44>>2]=0;v[a+32>>2]=1073741823;return a}function or(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Ca-16|0;Ca=c;d=v[a+104>>2];g=v[d+28>>2];e=v[a+736>>2];v[c+12>>2]=0;t[e+24|0]=1;a=Ea[v[a+516>>2]](a,1635148146,d,c+8|0)|0;v[c+12>>2]=a;a:{if(a){break a}a=vb(d,v[c+8>>2]);v[c+12>>2]=a;if(a){break a}a=tc(d);f=tc(d);b:{if((a|0)!=65536|(f|0)!=v[v[e+12>>2]>>2]){break b}a=Ua(g,8,0,f,0,c+12|0);v[e+28>>2]=a;if(v[c+12>>2]|(f|0)<1){break b}while(1){c:{b=Cb(d);u[a>>1]=b;if(y[c+8>>2]<b<<2>>>0){break c}k=a,l=Ua(g,8,0,b,0,c+12|0),v[k+4>>2]=l;if(v[c+12>>2]){break c}b=0;if(x[a>>1]){while(1){i=Cb(d);j=b<<3;v[j+v[a+4>>2]>>2]=i<<16>>16<<2;i=Cb(d);v[(v[a+4>>2]+j|0)+4>>2]=i<<16>>16<<2;b=b+1|0;if(b>>>0<x[a>>1]){continue}break}}a=a+8|0;h=h+1|0;if((f|0)!=(h|0)){continue}break b}break}d:{if(!h){a=v[e+28>>2];break d}a=v[e+28>>2];while(1){f=h-1|0;b=f<<3;a=v[(b+a|0)+4>>2];if(a){Ea[v[g+8>>2]](g,a)}a=v[e+28>>2];v[(b+a|0)+4>>2]=0;b=(h|0)>1;h=f;if(b){continue}break}}if(a){Ea[v[g+8>>2]](g,a)}v[e+28>>2]=0}pb(d)}Ca=c+16|0}function xc(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!v[a+4>>2]){break a}c=v[a+16>>2];b:{if(!c){v[a+20>>2]=2;break b}c:{switch(v[a+20>>2]-2|0){case 1:c=u[258838];d:{if(!c){v[164114]=28;b=-1;break d}e:{f:{if((c|0)>-2){break f}b=200809;g:{switch((c&255)-1|0){case 1:b=131072;break d;case 2:b=32768;break d;case 3:b=65536;break d;case 4:b=2147483647;break d;case 5:case 6:b=1;break d;case 7:case 8:b=Aa()>>>16|0;break d;case 0:break e;case 9:break g;default:break f}}b=0;break d}b=c}}h:{i:{if((b|0)==-1){break i}e=0-b|0;f=v[a+12>>2];d=e&f;c=d&-65536;b=ma(c|0,(((((v[a+16>>2]+(b+f|0)|0)-1&e)-d|0)+d|0)+65535&-65536)-c|0,3)|0;if(b>>>0>=4294963201){v[164114]=0-b;b=-1}if((b|0)==-1){break i}v[a+20>>2]=2;c=1;break h}jh(v[164114]);c=0}if(c){break b}v[a+20>>2]=1;c=v[a+16>>2];break;case 0:break b;default:break c}}b=Va(c);if(!b){break a}c=Ta(b,v[a+12>>2],c);b=v[a+28>>2];if(b){Ea[b|0](v[a+24>>2])}v[a+28>>2]=431;v[a+24>>2]=c;v[a+12>>2]=c;v[a+20>>2]=2}return v[a+12>>2]}return 0}function $D(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;d=Ca-336|0;Ca=d;v[d+332>>2]=0;i=v[a+100>>2];Ea[v[b+60>>2]](b,d+272|0,4,d+268|0);f=v[d+268>>2];a:{if((f|0)<0){c=162;break a}c=3;if(!f|(f|0)>4){break a}j=v[b+8>>2];k=v[b>>2];c=ji(a,0,f);v[d+332>>2]=c;if(c){break a}if(v[d+268>>2]<1){c=0}else{l=v[a+532>>2];while(1){a=B(h,12);c=a+(d+272|0)|0;v[b>>2]=v[c>>2];v[b+8>>2]=v[c+4>>2];Ea[v[b+60>>2]](b,d+16|0,20,d+12|0);c=v[d+12>>2];if(c-1>>>0>=20){c=3;break a}a=a+l|0;f=a;if(v[a+92>>2]){c=3;break a}g=Ua(i,4,0,c<<1,0,d+332|0);v[f+92>>2]=g;c=v[d+332>>2];if(c){break a}e=v[d+12>>2];t[a+88|0]=e;v[a+96>>2]=g+(e<<2);c=0;if((e|0)>=1){while(1){e=(d+16|0)+B(c,12)|0;v[b>>2]=v[e>>2]+1;v[b+8>>2]=v[e+4>>2]-1;e=Ea[v[b+36>>2]](b)|0;g=c<<2;v[g+v[f+92>>2]>>2]=e;e=Ea[v[b+40>>2]](b,0)|0;v[g+v[a+96>>2]>>2]=e;c=c+1|0;if((c|0)<v[d+12>>2]){continue}break}}h=h+1|0;if((h|0)<v[d+268>>2]){continue}break}c=v[d+332>>2]}v[b+8>>2]=j;v[b>>2]=k}v[b+12>>2]=c;Ca=d+336|0}function aC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=Ca-16|0;Ca=f;b=v[a+4>>2];e=v[b+504>>2];g=v[b+100>>2];c=a;a:{if(v[b+84>>2]){e=Wk(e,f+12|0);if(e){b=v[a+160>>2];break a}b=v[f+12>>2]}else{b=v[e+84>>2]}v[c+160>>2]=b;e=0}b=v[v[b+156>>2]>>2];if(b){d=v[b>>2];c=v[b+24>>2];if(c){Ea[v[d+8>>2]](d,c)}v[b+24>>2]=0;c=v[b+28>>2];if(c){Ea[v[d+8>>2]](d,c)}v[b+28>>2]=0;c=v[b+32>>2];if(c){Ea[v[d+8>>2]](d,c)}v[b+32>>2]=0;c=v[b+40>>2];if(c){Ea[v[d+8>>2]](d,c)}v[b+40>>2]=0;c=v[b+52>>2];if(c){Ea[v[d+8>>2]](d,c)}v[b+20>>2]=0;v[b+36>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+12>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+88>>2]=0;c=v[b+24>>2];v[b+56>>2]=v[b+20>>2];v[b+60>>2]=c;h=v[b+32>>2];c=b- -64|0;v[c>>2]=v[b+28>>2];v[c+4>>2]=h;c=v[b+40>>2];v[b+72>>2]=v[b+36>>2];v[b+76>>2]=c;c=v[b+48>>2];v[b+80>>2]=v[b+44>>2];v[b+84>>2]=c;Ea[v[d+8>>2]](d,b)}b=v[v[a+160>>2]+156>>2];if(b){Ea[v[g+8>>2]](g,b)}b=v[a+160>>2];v[b+156>>2]=0;v[b+156>>2]=v[a+156>>2];Ca=f+16|0;return e|0}function DB(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;if(!b){return 1}g=a>>>16|0;d=a&65535;if(c){while(1){a=c>>>0<5552?c:5552;t=c-a|0;a:{if((a|0)>=16){while(1){c=w[b|0]+d|0;e=c+w[b+1|0]|0;f=e+w[b+2|0]|0;h=f+w[b+3|0]|0;i=h+w[b+4|0]|0;j=i+w[b+5|0]|0;k=j+w[b+6|0]|0;l=k+w[b+7|0]|0;m=l+w[b+8|0]|0;n=m+w[b+9|0]|0;o=n+w[b+10|0]|0;p=o+w[b+11|0]|0;q=p+w[b+12|0]|0;r=q+w[b+13|0]|0;s=r+w[b+14|0]|0;d=s+w[b+15|0]|0;g=d+(s+(r+(q+(p+(o+(n+(m+(l+(k+(j+(i+(h+(f+(e+(c+g|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;e=(a|0)>31;c=a-16|0;a=c;if(e){continue}break}if(!c){break a}}a=b;e=c;f=c&3;if(f){while(1){e=e-1|0;d=w[a|0]+d|0;g=d+g|0;a=a+1|0;f=f-1|0;if(f){continue}break}}if(c-1>>>0>=3){while(1){f=w[a|0]+d|0;h=f+w[a+1|0]|0;i=h+w[a+2|0]|0;d=i+w[a+3|0]|0;g=d+(((g+f|0)+h|0)+i|0)|0;a=a+4|0;e=e-4|0;if(e){continue}break}}b=b+c|0}g=(g>>>0)%65521|0;d=(d>>>0)%65521|0;c=t;if(c){continue}break}}return g<<16|d}function Ri(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!(!a|!b)){e=v[a>>2];g=(e|0)<0?-1:1;d=v[b>>2];c=d>>31;f=e;e=e>>31;e=f+e^e;c=c^c+d;a:{if(e+(c>>>8|0)>>>0<=8190){c=B(c,e)+32768>>>16|0;break a}h=e&65535;c=B(h,c>>>16|0)+B(c,e>>>16|0)+(B(h,c&65535)+32768>>>16)|0}f=v[a+4>>2];h=(f|0)<0?-1:1;k=0-g|0;j=(((d|0)<0?k:g)|0)<0?0-c|0:c;i=v[b+4>>2];c=i>>31;d=c^c+i;c=f>>31;c=c+f^c;b:{if((d>>>8|0)+c>>>0<=8190){d=B(c,d)+32768>>>16|0;break b}f=c&65535;d=B(f,d>>>16|0)+B(d,c>>>16|0)+(B(f,d&65535)+32768>>>16)|0}l=0-h|0;i=j+((((i|0)<0?l:h)|0)<0?0-d|0:d)|0;f=v[b+8>>2];d=f>>31;d=d^d+f;c:{if(e+(d>>>8|0)>>>0<=8190){e=B(d,e)+32768>>>16|0;break c}j=e&65535;e=B(j,d>>>16|0)+B(d,e>>>16|0)+(B(j,d&65535)+32768>>>16)|0}d=(((f|0)<0?k:g)|0)<0?0-e|0:e;e=v[b+12>>2];b=e>>31;b=b^b+e;d:{if(c+(b>>>8|0)>>>0<=8190){b=B(b,c)+32768>>>16|0;break d}g=c&65535;b=B(g,b>>>16|0)+B(b,c>>>16|0)+(B(g,b&65535)+32768>>>16)|0}v[a>>2]=i;v[a+4>>2]=d+((((e|0)<0?l:h)|0)<0?0-b|0:b)}}function yn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=x[b>>1];e=x[a>>1];a:{b:{c:{d:{a=v[c+4>>2];if((a|0)!=131072){if((a|0)!=65536){break a}b=0;a=0;if(d>>>0<=257){a=d<<2;c=v[a+254016>>2];g=c+255052|0;a=v[a+254020>>2]+(c^-1)|0}if(e>>>0<=257){break d}c=0;break b}b=0;f=v[c+8>>2];h=w[f|0]<<8|w[f+1|0];a=0;e:{if(d>>>0>=h>>>0){break e}a=(d<<1)+f|0;d=w[a+2|0]<<8|w[a+3|0];if(d>>>0<=257){a=d<<2;d=v[a+254016>>2];g=d+255052|0;a=v[a+254020>>2]+(d^-1)|0;break e}d=d-258|0;a=0;if(d>>>0>=y[c+16>>2]){break e}a=v[c+24>>2]+v[v[c+20>>2]+(d<<2)>>2]|0;g=a+1|0;a=w[a|0]}if(e>>>0<h>>>0){break c}c=0;break b}c=e<<2;b=v[c+254016>>2];c=v[c+254020>>2]+(b^-1)|0;b=b+255052|0;break b}b=(e<<1)+f|0;d=w[b+2|0]<<8|w[b+3|0];if(d>>>0<=257){c=d<<2;b=v[c+254016>>2];c=v[c+254020>>2]+(b^-1)|0;b=b+255052|0;break b}b=0;d=d-258|0;if(d>>>0>=y[c+16>>2]){c=0;break b}c=v[c+24>>2]+v[v[c+20>>2]+(d<<2)>>2]|0;b=c+1|0;c=w[c|0]}if((a|0)!=(c|0)){return c-a|0}if(!a){break a}i=lc(b,g,a)}return i}function RJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if(!(!e|!d)){j=e<<5;while(1){g=0;h=a;while(1){f=w[b+g|0];u[h>>1]=(f>>>1|f<<7)+1>>>1;f=w[(g|1)+b|0];u[h+2>>1]=(f>>>1|f<<7)+1>>>1;f=w[(g|2)+b|0];u[h+4>>1]=(f>>>1|f<<7)+1>>>1;f=w[(g|3)+b|0];u[h+6>>1]=(f>>>1|f<<7)+1>>>1;f=w[(g|4)+b|0];u[h+8>>1]=(f>>>1|f<<7)+1>>>1;f=w[(g|5)+b|0];u[h+10>>1]=(f>>>1|f<<7)+1>>>1;f=w[(g|6)+b|0];u[h+12>>1]=(f>>>1|f<<7)+1>>>1;f=w[(g|7)+b|0];u[h+14>>1]=(f>>>1|f<<7)+1>>>1;f=w[(g|8)+b|0];u[h+16>>1]=(f>>>1|f<<7)+1>>>1;f=w[(g|9)+b|0];u[h+18>>1]=(f>>>1|f<<7)+1>>>1;f=w[(g|10)+b|0];u[h+20>>1]=(f>>>1|f<<7)+1>>>1;f=w[(g|11)+b|0];u[h+22>>1]=(f>>>1|f<<7)+1>>>1;f=w[(g|12)+b|0];u[h+24>>1]=(f>>>1|f<<7)+1>>>1;f=w[(g|13)+b|0];u[h+26>>1]=(f>>>1|f<<7)+1>>>1;f=w[(g|14)+b|0];u[h+28>>1]=(f>>>1|f<<7)+1>>>1;f=w[(g|15)+b|0];u[h+30>>1]=(f>>>1|f<<7)+1>>>1;h=h+j|0;g=g+16|0;if(g>>>0<d>>>0){continue}break}b=b+c|0;a=a+32|0;i=i+1|0;if((i|0)!=(e|0)){continue}break}}}function hw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ca-16|0;Ca=g;i=v[a+24>>2];f=v[a+44>>2];if(!(f|v[a+76>>2]?(f|0)!=1:0)){a:{if(!v[a+4>>2]){break a}if((c|0)==-1){c=Xa(b)}e=(d|0)==-1?c:d;if(e>>>0>268435455){break a}d=v[a+76>>2];f=d+(e>>>2|0)|0;if(!(!f|f>>>0<y[a+84>>2])){if(!Le(a,f)){break a}d=v[a+76>>2]}b:{if(d){break b}}f=b;c:{if((e|0)<1){d=f;break c}j=e+f|0;while(1){d=gw(f,j,g+8|0,i);k=v[g+8>>2];e=v[a+76>>2];h=e+1|0;d:{e:{if(e>>>0>h>>>0){e=-1;break e}if(h>>>0<y[a+84>>2]){break e}if(!Le(a,h)){break d}e=v[a+76>>2]}e=v[a+88>>2]+B(e,20)|0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=0;v[e>>2]=k;v[e+16>>2]=0;v[e+8>>2]=f-b;v[a+76>>2]=v[a+76>>2]+1}f=d;if(j>>>0>f>>>0){continue}break}}v[a+148>>2]=0;b=b+c|0;f:{if(b>>>0<=d>>>0){break f}while(1){d=gw(d,b,g+4|0,i);c=v[g+4>>2];f=v[a+148>>2];v[a+148>>2]=f+1;v[((f<<2)+a|0)+124>>2]=c;if(b>>>0<=d>>>0){break f}if(y[a+148>>2]<5){continue}break}}v[a+44>>2]=1}Ca=g+16|0;return}O(282006,282117,356,282132);L()}function IL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{d=v[a+28>>2];if(!w[d+44|0]){g=v[b+4>>2];i=v[b>>2];t[d+44|0]=1;e=v[d+20>>2];if(!e){c=3;break b}c:{if(w[d+45|0]){c=v[d+12>>2];if((u[c+20>>1]+u[c+56>>1]|0)+1>>>0>y[c+8>>2]){c=mc(c,0,1);if(c){break b}}f=x[e>>1];c=f<<16>>16;if((c|0)<1){break c}u[(v[e+12>>2]+(f<<1)|0)-2>>1]=x[e+2>>1]-1}c=x[e>>1]}u[e>>1]=c+1;c=v[d+12>>2];if((u[c+22>>1]+u[c+58>>1]|0)+1>>>0>y[c+4>>2]){c=mc(c,1,0);if(c){break b}}c=v[d+20>>2];if(w[d+45|0]){e=v[c+8>>2];f=u[c+2>>1];h=v[c+4>>2]+(f<<3)|0;v[h+4>>2]=g>>10;v[h>>2]=i>>10;t[e+f|0]=1}u[c+2>>1]=x[c+2>>1]+1}c=v[b+12>>2];e=v[b+8>>2];d:{b=v[d+12>>2];if((u[b+22>>1]+u[b+58>>1]|0)+1>>>0>y[b+4>>2]){b=mc(b,1,0);if(b){break d}}a=v[d+20>>2];if(w[d+45|0]){b=v[a+8>>2];d=u[a+2>>1];g=v[a+4>>2]+(d<<3)|0;v[g+4>>2]=c>>10;v[g>>2]=e>>10;t[b+d|0]=1}u[a+2>>1]=x[a+2>>1]+1;return}a=v[a+24>>2];if(v[a>>2]){break a}v[a>>2]=b;break a}a=v[a+24>>2];if(v[a>>2]){break a}v[a>>2]=c}}function Bk(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;g=Ca-16|0;Ca=g;a:{if(t[a+376|0]&1){i=v[a+52>>2];j=v[a+48>>2];k=x[a+46>>1];h=x[a+44>>1];l=v[a+36>>2];m=v[a+40>>2];f=a- -64|0;n=v[f+4>>2];v[g+8>>2]=v[f>>2];v[g+12>>2]=n;f=v[a+60>>2];v[g>>2]=v[a+56>>2];v[g+4>>2]=f;f=a+290|0;break a}i=v[a+88>>2];j=v[a+84>>2];k=x[a+82>>1];h=x[a+80>>1];l=v[a+72>>2];m=v[a+76>>2];f=v[a+104>>2];v[g+8>>2]=v[a+100>>2];v[g+12>>2]=f;f=v[a+96>>2];v[g>>2]=v[a+92>>2];v[g+4>>2]=f;f=a+292|0}f=x[f>>1];b:{if(f>>>0>=h>>>0){if(w[a+593|0]){v[a+12>>2]=134}u[e>>1]=0;a=1;break b}v[d+16>>2]=i;v[d+12>>2]=j;u[d+10>>1]=k;u[d+8>>1]=h;v[d>>2]=l;v[d+4>>2]=m;h=v[g+4>>2];v[d+20>>2]=v[g>>2];v[d+24>>2]=h;h=v[g+12>>2];v[d+28>>2]=v[g+8>>2];v[d+32>>2]=h;u[e>>1]=f;e=b;b=f<<3;d=b+i|0;b=b+j|0;b=Ea[v[a+604>>2]](a,v[d>>2]-v[b>>2]|0,v[d+4>>2]-v[b+4>>2]|0)|0;o=e,p=fb(b,u[a+302>>1],v[a+596>>2]),v[o>>2]=p;o=c,p=fb(b,u[a+304>>1],v[a+596>>2]),v[o>>2]=p;a=0}Ca=g+16|0;return a}function uo(a,b){var c=0,d=0,e=0,f=0,g=0;a:{e=v[b+4>>2];if(e>>>0>a>>>0){break a}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<2){break a}f=v[b+12>>2];g=f-2|0;v[b+12>>2]=g;d=1;if((g|0)<1){break a}b:{if((w[a+1|0]|w[a|0]<<8)!=1){break b}d=a+2|0;if(d>>>0<e>>>0|c>>>0<d>>>0|c-d>>>0<2){break a}c=f-4|0;v[b+12>>2]=c;if((c|0)<1){break a}c=w[a+3|0]|w[a+2|0]<<8;c:{if(!c){break c}if(nc(a+c|0,b)){break c}c=v[b+24>>2];if(c>>>0>31){break a}v[b+24>>2]=c+1;if(!w[b+20|0]){break a}t[d|0]=0;t[d+1|0]=0}f=v[b+4>>2];d=a+4|0;if(f>>>0>d>>>0){break a}c=v[b+8>>2];if(c>>>0<d>>>0|c-d>>>0<2){break a}e=v[b+12>>2]-2|0;v[b+12>>2]=e;d=1;if((e|0)<1){break a}g=w[a+5|0]|w[a+4|0]<<8;if(!g){break b}d=a+6|0;if(d>>>0<f>>>0|c>>>0<d>>>0){break a}c=c-d|0;d=g<<1;if(c>>>0<d>>>0){break a}c=e-d|0;v[b+12>>2]=c;d=0;if((c|0)<1){break b}d=1;e=w[a+5|0]|w[a+4|0]<<8;if(!e){break b}c=0;while(1){d=Ho(((c<<1)+a|0)+6|0,b,a);if(!d){break b}c=c+1|0;if((e|0)!=(c|0)){continue}break}}return d}return 0}function vw(a){var b=0,c=0,d=0,e=0;c=v[a+52>>2];b=v[a+48>>2];d=(b|0)!=0;if((b|0)!=(d|0)){e=c+(b<<2)|0;b=b-d|0;c=c+(d<<2)|0;while(1){d=v[(b?c:280448)>>2];Pa(v[d+16>>2]);v[d+16>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;d=(b|0)!=0;b=b-d|0;c=(d<<2)+c|0;if((e|0)!=(c|0)){continue}break}c=v[a+52>>2]}Pa(c);v[a+52>>2]=0;v[a+56>>2]=-57005;v[a+44>>2]=0;v[a+48>>2]=0;c=v[a- -64>>2];if(c){b=v[c+8>>2];if(b){while(1){b=b-1|0;e=v[c+12>>2]+B(b,12)|0;d=v[e+8>>2];e=v[e+4>>2];v[c+8>>2]=b;if(d){Ea[d|0](e);b=v[c+8>>2]}if(b){continue}break}}Pa(v[c+12>>2]);Pa(c)}Pa(v[a+88>>2]);v[a+88>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;b=v[a+40>>2];if(b){while(1){v[a+40>>2]=v[b+20>>2];Pa(v[b+16>>2]);v[b+16>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;b=v[a+40>>2];if(b){continue}break}}v[a+24>>2]=0;c=v[a+36>>2];b=v[a+32>>2];if(b){d=(b<<2)+c|0;while(1){Pa(v[(b?c:280448)>>2]);e=(b|0)!=0;b=b-e|0;c=(e<<2)+c|0;if((d|0)!=(c|0)){continue}break}c=v[a+36>>2]}Pa(c);v[a+36>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0}function kf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{f=v[b+4>>2];if(f>>>0>a>>>0){break a}d=v[b+8>>2];if(d>>>0<a>>>0){break a}h=d-a|0;if(h>>>0<2){break a}e=v[b+12>>2];g=e-2|0;v[b+12>>2]=g;c=1;if((g|0)<1){break a}b:{c:{d:{e:{g=w[a|0]|w[a+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}if(h>>>0<6){break a}c=e-8|0;v[b+12>>2]=c;if((c|0)<1){break a}c=a+4|0;if(c>>>0<f>>>0|c>>>0>d>>>0|d-c>>>0<2){break a}c=e-10|0;v[b+12>>2]=c;if((c|0)<1){break a}e=w[a+5|0]|w[a+4|0]<<8;if(!e){break c}a=a+6|0;if(a>>>0<f>>>0|a>>>0>d>>>0){break a}d=d-a|0;a=e<<1;if(d>>>0<a>>>0){break a}a=c-a|0;v[b+12>>2]=a;c=0;if((a|0)>=1){break c}break b}c=a+2|0;if(c>>>0<f>>>0|c>>>0>d>>>0|d-c>>>0<2){break a}c=e-4|0;v[b+12>>2]=c;if((c|0)<1){break a}e=w[a+3|0]|w[a+2|0]<<8;if(!e){break c}a=a+4|0;if(a>>>0<f>>>0|a>>>0>d>>>0){break a}d=d-a|0;a=B(e,6);if(d>>>0<a>>>0){break a}a=c-a|0;v[b+12>>2]=a;c=0;if((a|0)<1){break b}}c=1}return c}return 0}function di(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}c=v[a+100>>2];d=c;b=v[a+292>>2];if(b){Ea[v[d+8>>2]](d,b)}v[a+292>>2]=0;b=v[a+308>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+308>>2]=0;d=v[a+284>>2];if(d){b=c;if(v[a+280>>2]>=1){while(1){b:{if(!d){break b}e=B(f,12)+d|0;d=v[e>>2];if(d){Ea[v[c+8>>2]](c,d)}v[e>>2]=0;if(!w[e+4|0]){break b}d=v[e+8>>2];if(d){Ea[v[c+8>>2]](c,d)}v[e+8>>2]=0}f=f+1|0;if((f|0)<v[a+280>>2]){d=v[a+284>>2];continue}break}d=v[a+284>>2]}if(d){Ea[v[b+8>>2]](b,d)}v[a+284>>2]=0}b=v[a+192>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+192>>2]=0;b=v[a+20>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+20>>2]=0;b=v[a+24>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+24>>2]=0;b=v[a+32>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+32>>2]=0;b=v[a+176>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+176>>2]=0;b=v[a+180>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+180>>2]=0;c=v[a+104>>2];if((c|0)!=(a+132|0)){break a}c:{if(!c){break c}b=v[c+24>>2];if(!b){break c}Ea[b|0](c)}v[a+104>>2]=v[a+172>>2]}}function uy(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;g=w[b+1|0]|w[b|0]<<8;a:{b:{c:{b=w[c|0]|w[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}d=w[c+5|0];e=w[c+4|0];h=d|e<<8;if(!h){break a}b=0;while(1){d=(e<<8|d)>>>0>b>>>0?((b<<1)+c|0)+6|0:280448;d:{if(!w[a+12|0]|(w[d|0]<<8|w[d+1|0])!=(g|0)){break d}e=(w[c+3|0]|w[c+2|0]<<8)+b|0;if((e|0)==-1){break d}v[a+16>>2]=-1;d=ec(a,e);if(!d){break d}f=d+(e>>>3&56)|0;d=f;i=v[d+4>>2];j=d;k=v[d>>2];f=e&63;e=f&31;if((f&63)>>>0>=32){f=1<<e;e=0}else{f=(1<<e)-1&1>>>32-e;e=1<<e}v[j>>2]=k|e;v[d+4>>2]=f|i}b=b+1|0;if((h|0)==(b|0)){break a}d=w[c+5|0];e=w[c+4|0];continue}}b=0;e:{d=w[c+3|0];e=w[c+2|0];f=d|e<<8;if(!f){break e}while(1){d=(e<<8|d)>>>0>b>>>0?(B(b,6)+c|0)+4|0:280840;if((w[d+4|0]<<8|w[d+5|0])==(g|0)){if(!Ph(a,w[d+1|0]|w[d|0]<<8,w[d+3|0]|w[d+2|0]<<8)){break e}}b=b+1|0;if((f|0)==(b|0)){break e}d=w[c+3|0];e=w[c+2|0];continue}}}}function tj(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;g=v[a+36>>2];a:{h=v[c+4>>2];b:{if((h|0)<(e|0)){break b}j=v[((b<<3)+c|0)+4>>2];if((j|0)>(f|0)){break b}i=h;k=v[a+4>>2];h=0-k|0;l=i&h;i=(l|0)>(f|0);c:{if((e|0)>(j|0)){h=e;break c}h=h&(j+k|0)-1;if(j&k-1&65535){e=h;break c}if(w[a+79|0]){t[a+79|0]=0;g=g-4|0}v[g>>2]=v[(b<<3)+c>>2];e=h+k|0;g=g+4|0}if(w[a+78|0]){v[v[a+80>>2]+20>>2]=h>>v[a>>2];t[a+78|0]=0}h=i?f:l;if((h|0)<(e|0)){break b}if(y[a+32>>2]<=((h-e>>v[a>>2]<<2)+g|0)+4>>>0){break a}j=0-b|0;k=b<<3;f=c;while(1){t[a+79|0]=0;b=v[f+4>>2];d:{if((b|0)>(e|0)){i=b;b=f+k|0;l=v[b+4>>2];i=i-l|0;if((i|0)>=v[a+16>>2]){Ea[d|0](f);break d}b=v[b>>2];v[g>>2]=((B(v[f>>2]-b|0,e-l|0)|0)/(i|0)|0)+b;g=g+4|0;e=v[a+4>>2]+e|0;b=(j<<3)+f|0;break d}if((b|0)==(e|0)){t[a+79|0]=1;v[g>>2]=v[f>>2];g=g+4|0;e=v[a+4>>2]+e|0}b=(j<<3)+f|0}f=b;if(f>>>0<c>>>0){break b}if((e|0)<=(h|0)){continue}break}}v[a+36>>2]=g;return 0}v[a+40>>2]=98;v[a+36>>2]=g;return 1}function NA(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;if(y[b+160>>2]<a+4>>>0){ob(b,8)}c=w[a+3|0]|w[a+2|0]<<8;i=c+a|0;if(!(y[b+160>>2]>=i>>>0?c>>>0>=518:0)){ob(b,8)}c=a+6|0;while(1){d=w[c+1|0];f=d|w[c|0]<<8;if(!(!(d&7)|y[b+164>>2]<2)){ob(b,8)}c=c+2|0;d=f>>>3|0;g=d>>>0>g>>>0?d:g;e=e+1|0;if((e|0)!=256){continue}break}c=a+518|0;j=(c+(g<<3)|0)+8|0;if(j>>>0>y[b+160>>2]){ob(b,8)}a=0;while(1){d=c+8|0;f=w[c+3|0]|w[c+2|0]<<8;a:{if(!f){c=d;break a}e=w[c+7|0]|w[c+6|0]<<8;k=w[c+4|0];l=w[c+5|0];h=w[c|0];m=w[c+1|0];b:{if(y[b+164>>2]<2){break b}h=h<<8|m;if(f>>>0<=256-h>>>0?h>>>0<=255:0){break b}ob(b,8)}if(!e){c=d;break a}e=e+(c+6|0)|0;if(!(e+(f<<1)>>>0<=i>>>0?e>>>0>=j>>>0:0)){ob(b,9)}if(!v[b+164>>2]){c=d;break a}e=k<<8|l;f=((f<<1)+c|0)+8|0;c=d;while(1){d=c;c=c+2|0;d=w[d+1|0]|w[d|0]<<8;if(!(!d|y[b+172>>2]>(d+e&65535)>>>0)){ob(b,16)}if(c>>>0<f>>>0){continue}break}}a=a+1|0;if(g>>>0>=a>>>0){continue}break}return 0}function Ds(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Ca-32|0;Ca=f;d=-1;a:{if(!a|c>>>0>2){break a}e=(c<<2)+a|0;vf(v[e+20>>2],f+16|0);if(!uf(v[e+20>>2],f+16|0,b)){break a}if(b){d=b;while(1){b:{c:{switch(v[d+4>>2]-1|0){case 0:e=v[d+8>>2];if(!e){break b}if(v[e>>2]==-1){v[e>>2]=c;e=v[d+8>>2]}e=v[e+8>>2];g=(e|0)>(g|0)?e:g;break b;case 1:break c;default:break b}}e=v[v[d+8>>2]>>2];g=(e|0)>(g|0)?e:g}d=v[d>>2];if(d){continue}break}}if(w[656428]&4){v[f+4>>2]=v[a+4>>2];v[f>>2]=c;Za(515950,f);a=0;c=Ca-16|0;Ca=c;if(b){while(1){d=v[b+4>>2];if((d|0)!=(a|0)){a=499691;d:{switch(d-1|0){case 1:a=499684;case 0:uc(a);break;default:break d}}a=v[b+4>>2]}Rb(9);e:{f:{switch(v[b+4>>2]-1|0){case 0:Dt(v[b+8>>2]);break e;case 1:break f;default:break e}}d=v[b+8>>2];h=c,i=_c(v[d>>2]),v[h>>2]=i;Za(499506,c);Ul(v[d+4>>2]);Rb(32);ze(v[d+8>>2]);uc(499682)}b=v[b>>2];if(b){continue}break}}Rb(10);Ca=c+16|0}a=g&-1025;d=((a|0)>52?a:52)-52|0}Ca=f+32|0;return d}function oh(a,b){var c=0,d=0,e=0,f=0,g=0;c=Ca-1232|0;Ca=c;a:{b:{switch(v[b>>2]+1|0){case 0:Lc(499564,9,1,a);break a;case 1:Lc(499574,6,1,a);break a;case 2:v[c>>2]=v[b+8>>2];$b(a,499581,c);break a;case 3:A[c+16>>3]=A[b+8>>3];Nd(a,499587,c+16|0);break a;case 4:v[c+32>>2]=v[b+8>>2];$b(a,499349,c+32|0);break a;case 5:e=a;a=v[b+8>>2];$b(e,(a|0)==1?499593:a?499604:499598,0);break a;case 6:b=v[b+8>>2];d=A[b>>3];f=A[b+8>>3];g=A[b+16>>3];A[c+72>>3]=A[b+24>>3];A[c- -64>>3]=g;A[c+56>>3]=f;A[c+48>>3]=d;Nd(a,499613,c+48|0);break a;case 7:if(v[130914]!=(a|0)){break a}Xl(v[b+8>>2]);break a;case 9:a=v[b+8>>2];Cg(c+1144|0,c+112|0,1024);c:{d:{if(!Lt(c+1144|0,a)){break d}if(!rh(c+1144|0,0)){break d}v[c+80>>2]=v[c+1144>>2];Za(498948,c+80|0);break c}Za(498951,0)}Wc(c+1144|0);break a;case 8:Lc(499628,4,1,a);break a;case 10:break b;default:break a}}b=v[b+8>>2];d=A[b>>3];A[c+104>>3]=A[b+8>>3];A[c+96>>3]=d;Nd(a,499633,c+96|0)}Ca=c+1232|0}function tk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a){return 6}f=v[a>>2];a:{if(!f){break a}d=v[a+4>>2];if(d){j=b>>>0>d>>>0?d:b;f=d;while(1){b=0;g=65536;e=0;b:{if(!f){break b}while(1){c:{if(b>>>0>=j>>>0){g=g>>1;break c}e=v[(b<<2)+c>>2];e=i>>>b&1?e:65536-e|0;if((e|0)<1){g=0;e=f;break b}if((e|0)>65535){break c}g=Qa(g,e);d=v[a+4>>2]}f=d;e=d;b=b+1|0;if(d>>>0>b>>>0){continue}break}}b=v[a+136>>2]+(i<<2)|0;if(v[b>>2]!=(g|0)){v[b>>2]=g;h=1}f=e;i=i+1|0;if(i>>>0<y[a>>2]){continue}break}break a}e=f&3;a=v[a+136>>2];d:{if(f-1>>>0<3){b=0;break d}f=f&-4;b=0;while(1){c=b<<2;d=c+a|0;if(v[d>>2]!=65536){v[d>>2]=65536;h=1}d=a+(c|4)|0;if(v[d>>2]!=65536){v[d>>2]=65536;h=1}d=a+(c|8)|0;if(v[d>>2]!=65536){v[d>>2]=65536;h=1}c=a+(c|12)|0;if(v[c>>2]!=65536){v[c>>2]=65536;h=1}b=b+4|0;f=f-4|0;if(f){continue}break}}if(!e){break a}while(1){c=a+(b<<2)|0;if(v[c>>2]!=65536){v[c>>2]=65536;h=1}b=b+1|0;e=e-1|0;if(e){continue}break}}return h?0:-1}function Nw(a,b,c){var d=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a>>2]=b;v[a+56>>2]=1;v[a+60>>2]=1;v[a+16>>2]=0;v[a+20>>2]=0;v[a+4>>2]=b;b=b+c|0;v[a+12>>2]=b;v[a+32>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;t[a+68|0]=1;v[a- -64>>2]=0;v[a+80>>2]=0;v[a+84>>2]=0;v[a+88>>2]=0;v[a+8>>2]=b;vw(a);a:{b:{c:{c=v[a+44>>2];if((c|0)>=0){b=v[a+48>>2];d=b+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break b}b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(!(b>>>0<c>>>0|b>>>0>1073741822)){c=gb(v[a+52>>2],b<<2);if(c){break c}}v[a+44>>2]=-1}v[163916]=v[70112];break a}v[a+44>>2]=b;v[a+52>>2]=c;b=v[a+48>>2]}if(b>>>0<d>>>0){Ra(v[a+52>>2]+(b<<2)|0,0,d-b<<2)}v[a+48>>2]=d;b=v[a+52>>2];v[163916]=v[70112];b=(b+(d<<2)|0)-4|0;if((b|0)==655664){break a}v[b>>2]=0}t[a+68|0]=1;v[a+64>>2]=0;v[a+56>>2]=1;v[a+60>>2]=1;v[a+88>>2]=0;v[a+80>>2]=0;v[a+84>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;return a}function Fk(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;h=Ca-32|0;Ca=h;a:{if(!b){b=6;break a}i=v[a>>2];g=Ea[v[i+4>>2]](i,40)|0;if(!g){Ea[v[i+8>>2]](i,b);b=64;break a}t[g+28|0]=0;t[g+29|0]=0;t[g+30|0]=0;t[g+31|0]=0;t[g+32|0]=0;t[g+33|0]=0;t[g+34|0]=0;t[g+35|0]=0;t[g+20|0]=0;t[g+21|0]=0;t[g+22|0]=0;t[g+23|0]=0;t[g+24|0]=0;t[g+25|0]=0;t[g+26|0]=0;t[g+27|0]=0;t[g+12|0]=0;t[g+13|0]=0;t[g+14|0]=0;t[g+15|0]=0;t[g+16|0]=0;t[g+17|0]=0;t[g+18|0]=0;t[g+19|0]=0;v[g+8>>2]=0;v[g+4>>2]=c;v[g>>2]=b;t[g+36|0]=0;t[g+37|0]=0;t[g+38|0]=0;t[g+39|0]=0;v[g+32>>2]=0;v[g+24>>2]=13;v[g+20>>2]=0;v[h+16>>2]=g;v[h>>2]=2;if(e){v[h>>2]=10;b=v[a+16>>2];b:{if((b|0)<1){c=0;break b}j=((b<<2)+a|0)+20|0;b=a+20|0;while(1){c=v[b>>2];if(!Wa(v[v[c>>2]+8>>2],e)){break b}b=b+4|0;if(j>>>0>b>>>0){continue}break}c=0}v[h+20>>2]=c}b=qi(a,h,d,f,0);if(!b){a=v[f>>2];v[a+8>>2]=v[a+8>>2]&-1025;b=0;break a}a=v[g+24>>2];if(a){Ea[a|0](g)}Ea[v[i+8>>2]](i,g)}Ca=h+32|0;return b}function GM(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;e=Ca+-64|0;Ca=e;v[e+60>>2]=0;h=b+108|0;g=v[a+8>>2];a:{b:{c:{d:{if(v[b+72>>2]!=v[a+16>>2]){v[e+60>>2]=6;break d}i=19;if((c|0)!=2){break a}if(t[v[b+156>>2]+4|0]&1){c=v[b+88>>2];if(c){Ea[v[g+8>>2]](g,c)}v[b+88>>2]=0;c=v[b+156>>2];v[c+4>>2]=v[c+4>>2]&-2}if(Qi(b,2,d)){v[e+60>>2]=98;break d}j=b,k=Ua(g,v[b+84>>2],0,v[b+76>>2],0,e+60|0),v[j+88>>2]=k;c=0;if(v[e+60>>2]){break c}c=v[b+156>>2];v[c+4>>2]=v[c+4>>2]|1;f=v[b+76>>2]-v[b+104>>2]<<6;c=0-(v[b+100>>2]<<6)|0;if(d){f=v[d+4>>2]+f|0;c=v[d>>2]+c|0}if(c|f){ic(h,c,f)}v[e+16>>2]=0;v[e+12>>2]=h;v[e+8>>2]=b+76;a=Ea[v[a+56>>2]](v[a+52>>2],e+8|0)|0;v[e+60>>2]=a;if(a){break c}v[b+72>>2]=1651078259;break b}c=0}if(!(t[v[b+156>>2]+4|0]&1)){break b}a=v[b+88>>2];if(a){Ea[v[g+8>>2]](g,a)}v[b+88>>2]=0;a=v[b+156>>2];v[a+4>>2]=v[a+4>>2]&-2}if(c|f){ic(h,0-c|0,0-f|0)}i=v[e+60>>2]}a=i;Ca=e- -64|0;return a|0}function Qc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=Ca+-64|0;Ca=e;a:{if(v[a+12>>2]==-1){break a}g=eb(1,32);if(!g){break a}f=v[c+12>>2];v[e+40>>2]=v[c+8>>2];v[e+44>>2]=f;f=v[c+4>>2];v[e+32>>2]=v[c>>2];v[e+36>>2]=f;eg(e+48|0,e+32|0);f=v[e+60>>2];v[c+8>>2]=v[e+56>>2];v[c+12>>2]=f;f=v[e+52>>2];v[c>>2]=v[e+48>>2];v[c+4>>2]=f;f=v[c>>2];b:{if(!f){break b}if(!mu(b,f)){i=e,j=_c(b),v[i+16>>2]=j;a=v[130915];$b(a,452387,e+16|0);b=v[c+12>>2];v[e+8>>2]=v[c+8>>2];v[e+12>>2]=b;b=v[c+4>>2];v[e>>2]=v[c>>2];v[e+4>>2]=b;Et(a,e);Re(10,a);break b}f=v[c+4>>2];v[g+8>>2]=v[c>>2];v[g+12>>2]=f;f=v[c+12>>2];v[g+16>>2]=v[c+8>>2];v[g+20>>2]=f;v[g+24>>2]=d;v[g>>2]=0;a=dj(a,b);if(a){c=a+4|0;while(1){a=c;c=v[c>>2];if(c){continue}break}v[a>>2]=g;h=1;break a}a=v[c+8>>2];c:{switch(v[c>>2]-3|0){case 0:Pa(a);break b;case 2:vm(a);break b;case 3:jd(a);break b;case 5:ie(a);break b;case 6:break c;default:break b}}Pa(a)}Pa(g)}Ca=e- -64|0;return h}function Dd(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=Ca-80|0;Ca=b;a:{if(!a){uc(499657);break a}c=a?v[a>>2]:0;v[b+36>>2]=v[a+4>>2];v[b+32>>2]=c;Za(498985,b+32|0);Xt(a,b+40|0);h=v[130914];while(1){d=0;c=b+40|0;b:{if(!c){break b}c=v[c>>2];if(!c){break b}d=v[c>>2]}i=b,j=_c(d),v[i+16>>2]=j;Za(499016,b+16|0);d=Tt(b+40|0);if(d){while(1){Gc(b+48|0,d+8|0);c=v[b+60>>2];v[b+72>>2]=v[b+56>>2];v[b+76>>2]=c;c=v[b+52>>2];v[b+64>>2]=v[b+48>>2];v[b+68>>2]=c;Rb(32);c=v[b+76>>2];v[b+8>>2]=v[b+72>>2];v[b+12>>2]=c;c=v[b+68>>2];v[b>>2]=v[b+64>>2];v[b+4>>2]=c;oh(h,b);c=v[d+24>>2];if(c>>>0<=2){g=v[(c<<2)+499700>>2]}else{g=499653}Za(g,0);c=v[d>>2];d=c&1?(c&-2)+d|0:c;if(d){continue}break}}Rb(10);e=v[b+44>>2];c=e+1|0;v[b+44>>2]=c;g=b;c:{d:{if(!a){d=0;f=0;if((e|0)<-1){break d}break c}d=0;e=v[a>>2];if((e|0)<=(c|0)){break c}f=0;if((e|0)<1){break d}f=(v[a+8>>2]+a|0)+(c<<3)|0}v[g+40>>2]=f;d=1}if(d){continue}break}Rb(10)}Ca=b+80|0}function eC(a){a=a|0;var b=0,c=0;if(a){c=v[a+100>>2];b=v[a+504>>2];if(b){zd(b)}b=v[a+132>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+132>>2]=0;b=v[a+136>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+136>>2]=0;b=v[a+140>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+140>>2]=0;b=v[a+144>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+144>>2]=0;b=v[a+148>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+148>>2]=0;b=v[a+432>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+432>>2]=0;b=v[a+428>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+428>>2]=0;b=v[a+424>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+424>>2]=0;b=v[a+396>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+396>>2]=0;b=v[a+400>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+400>>2]=0;b=v[a+384>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+384>>2]=0;b=v[a+388>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+388>>2]=0;b=v[a+364>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+364>>2]=0;b=v[a+496>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+496>>2]=0;b=v[a+560>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+556>>2]=0;v[a+560>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0}}function Ck(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=v[a>>2];a:{if(w[b+732|0]){break a}t[a+112|0]=0;c=v[a+16>>2];d=v[a+12>>2];v[a+48>>2]=d;v[a+52>>2]=c;c=v[a+24>>2];v[a+56>>2]=v[a+20>>2];v[a+60>>2]=c;e=v[a+32>>2];c=a- -64|0;v[c>>2]=v[a+28>>2];v[c+4>>2]=e;v[a+72>>2]=v[a+36>>2];e=151;if(!(d&65535)|!x[a+50>>1]){break a}if(w[b+176|0]&8){f=a,g=Qa(u[b+70>>1],v[a+56>>2])+32&-64,v[f+60>>2]=g;f=a- -64|0,g=Qa(u[b+72>>1],v[a+56>>2])+32&-64,v[f>>2]=g;f=a,g=Qa(u[b+74>>1],v[a+56>>2])+32&-64,v[f+68>>2]=g}t[a+112|0]=1;e=0;if(w[b+176|0]&8){f=a,g=ab(x[a+48>>1]<<6,x[b+68>>1]),v[f+52>>2]=g;f=a,g=ab(x[a+50>>1]<<6,x[b+68>>1]),v[f+56>>2]=g;f=a,g=Qa(u[b+76>>1],v[a+52>>2])+32&-64,v[f+72>>2]=g}d=a+48|0;b=x[a+50>>1];c=x[a+48>>1];b:{if(b>>>0<=c>>>0){v[a+76>>2]=65536;u[a+84>>1]=c;v[a+92>>2]=v[a+52>>2];b=ab(b,c);break b}u[a+84>>1]=b;v[a+92>>2]=v[a+56>>2];f=a,g=ab(c,b),v[f+76>>2]=g;b=65536}v[a+308>>2]=-1;v[a+44>>2]=d;v[a+80>>2]=b}return e}function tr(a,b){var c=0,d=0,e=0,f=0,g=0;e=v[a>>2];if(v[a+248>>2]){d=v[a+92>>2]>>6;while(1){f=c<<2;g=Qa(v[f+v[e+704>>2]>>2],d);v[f+v[a+252>>2]>>2]=g;c=c+1|0;if(c>>>0<y[a+248>>2]){continue}break}}c=v[a+300>>2];d=Dk(c,e,a);if(!d){t[c+593|0]=b;t[c+520|0]=0;v[c+16>>2]=0;v[c+448>>2]=0;f=v[e+696>>2];b=v[e+692>>2];v[c+480>>2]=0;v[c+484>>2]=0;v[c+476>>2]=b;v[c+472>>2]=f;d=0;if(b){v[c+372>>2]=b;v[c+364>>2]=f;v[c+368>>2]=0;v[c+360>>2]=2;d=Ea[v[e+708>>2]](c)|0}v[a+308>>2]=d;u[c+304>>1]=0;u[c+296>>1]=0;u[c+298>>1]=16384;u[c+300>>1]=0;u[c+302>>1]=16384;v[c+288>>2]=0;v[c+292>>2]=1073741824;u[c+352>>1]=1;v[c+348>>2]=65537;v[c+308>>2]=1;Ta(a+180|0,c+288|0,68);v[a+124>>2]=v[c+416>>2];v[a+136>>2]=v[c+428>>2];v[a+148>>2]=v[c+440>>2];v[a+152>>2]=v[c+444>>2];b=v[c+468>>2];v[a+156>>2]=v[c+464>>2];v[a+160>>2]=b;b=v[c+476>>2];v[a+164>>2]=v[c+472>>2];v[a+168>>2]=b;b=v[c+484>>2];v[a+172>>2]=v[c+480>>2];v[a+176>>2]=b}return d}function iE(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;f=6;d=v[a+532>>2];a:{if(!d){break a}if(!(b|c)){c=v[d>>2];if(!c){return 0}h=c&3;a=v[d+136>>2];b=v[d+140>>2];f=0;if(c-1>>>0>=3){g=c&-4;while(1){c=e<<2;v[c+a>>2]=v[b+c>>2];d=c|4;v[d+a>>2]=v[b+d>>2];d=c|8;v[d+a>>2]=v[b+d>>2];c=c|12;v[c+a>>2]=v[b+c>>2];e=e+4|0;g=g-4|0;if(g){continue}break}}if(!h){break a}while(1){c=e<<2;v[c+a>>2]=v[b+c>>2];e=e+1|0;h=h-1|0;if(h){continue}break}break a}if(!c){break a}l=v[d>>2];f=b>>>0<l>>>0?b:l;b:{if(!f){break b}h=f&3;j=v[d+136>>2];if(f-1>>>0>=3){g=f&-4;while(1){i=e<<2;v[i+j>>2]=v[c+i>>2];k=i|4;v[k+j>>2]=v[c+k>>2];k=i|8;v[k+j>>2]=v[c+k>>2];i=i|12;v[i+j>>2]=v[c+i>>2];e=e+4|0;g=g-4|0;if(g){continue}break}}if(!h){break b}while(1){g=e<<2;v[g+j>>2]=v[c+g>>2];e=e+1|0;h=h-1|0;if(h){continue}break}}if(b>>>0<l>>>0){Ra(v[d+136>>2]+(f<<2)|0,0,l-f<<2)}f=0;v[a+8>>2]=v[a+8>>2]&-32769|((b|0)!=0)<<15}return f|0}function Gf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Ca-16|0;Ca=d;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;wc(a,v[a+8>>2]);c=v[a>>2];v[d+12>>2]=c;f=v[a+8>>2];if(c>>>0<f>>>0){a:{b:{c:{d:{e:{f:{g:{e=w[c|0];if((e|0)!=123){if((e|0)==91){break g}if((e|0)!=40){break f}v[b>>2]=c;v[b+8>>2]=2;if(Um(d+12|0,f)){break e}break d}v[b>>2]=c;v[b+8>>2]=3;if(!wv(d+12|0,f)){break d}break e}v[b>>2]=c;v[b+8>>2]=3;e=1;v[a>>2]=c+1;wc(a,f);c=v[a>>2];h:{if(f>>>0<=c>>>0){break h}while(1){if(v[a+12>>2]){break h}i:{j:{switch(w[c|0]-91|0){case 2:if((e|0)>1){e=e-1|0;break i}c=c+1|0;v[d+12>>2]=c;v[b+4>>2]=c;break a;case 0:break j;default:break i}}e=e+1|0}Vm(a);wc(a,v[a+8>>2]);c=v[a>>2];if(f>>>0>c>>>0){continue}break}}v[d+12>>2]=c;break e}v[b>>2]=c;v[b+8>>2]=w[c|0]==47?4:1;Vm(a);c=v[a>>2];v[d+12>>2]=c;if(!v[a+12>>2]){break c}}c=v[b+4>>2];break b}c=v[d+12>>2]}v[b+4>>2]=c}if(c){break a}v[b+8>>2]=0;v[b>>2]=0}v[a>>2]=v[d+12>>2]}Ca=d+16|0}function rw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=280846;d=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{if((d|0)<1){break a}g=d-1|0;while(1){h=g+i>>>1|0;d=B(h,12)+a|0;e=d+16|0;e=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);b:{if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0<=b>>>0){d=w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0<b>>>0){i=h+1|0;break b}f=(B(h,12)+a|0)+16|0;break a}g=h-1|0}if((g|0)>=(i|0)){continue}break}}g=0;a=f;d=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c:{if(d>>>0>(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0){break c}a=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);a=(b-d|0)+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;if(!a){break c}v[c>>2]=a;g=1}return g}function Jf(a){var b=0,c=0,d=0;a:{b:{c:{b=a>>>16|0;if(!b){d:{e:{f:{g:{h:{i:{j:{k:{l:{b=a>>>8|0;switch(b|0){case 6:break i;case 3:break j;case 0:break k;case 1:case 2:case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:break b;case 32:break f;case 24:break g;case 23:break h;default:break l}}switch(b-254|0){case 1:break d;case 0:break e;default:break b}}return(a|0)==173}return(a|0)==847}return(a|0)==1564}return(a&-2)==6068}return a-6155>>>0<4}b=a-8203|0;if(b>>>0<36){break c}break a}return(a|0)==65279|(a&-16)==65024}return a-65520>>>0<9}m:{b=b-1|0;if(b){if((b|0)==13){break m}else{break b}}return a-119155>>>0<8}return(a&-4096)==917504}d=1;c=b&31;if(!(((b&63)>>>0>=32?15>>>c|0:((1<<c)-1&15)<<32-c|-2147483617>>>c)&1)){break a}}return d}return(a&-16)==8288}function qC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ca-16|0;Ca=g;v[g+12>>2]=0;i=v[c>>2];d=wb(i,24,g+12|0);e=v[g+12>>2];a:{if(e){break a}b:{e=a+4|0;if(e>>>0>b>>>0){break b}h=w[a|0];t[d+4|0]=h;f=w[a+1|0]|w[a+2|0]<<8;u[d+6>>1]=f<<8|f>>>8;f=w[a+3|0];t[d+5|0]=f;k=v[c+148>>2];l=v[c+4>>2];j=f&1;f=(f>>>1&1)+(j?5:3)|0;v[d+8>>2]=f;v[d+12>>2]=(e+l|0)-k;if(e+B(f,h)>>>0>b>>>0){break b}if(h){c:{if(j){a=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);v[d+16>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=e+B(f,h-1|0)|0;a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break c}v[d+16>>2]=w[a+5|0]|w[a+4|0]<<16;a=e+B(f,h-1|0)|0;a=w[a|0]<<16|w[a+1|0]}e=0;v[d>>2]=0;v[d+20>>2]=a;v[v[c+140>>2]>>2]=d;v[c+140>>2]=d;v[c+132>>2]=v[c+132>>2]+h;break a}if(d){Ea[v[i+8>>2]](i,d)}e=v[g+12>>2];break a}if(d){Ea[v[i+8>>2]](i,d)}e=8}Ca=g+16|0;return e|0}function OO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=eb(1,16);a:{if(!g){break a}d=v[a+44>>2];if((d|0)<1){break a}e=v[a+48>>2];d=d-1|0;b=d;f=g;b:{c:{while(1){a=b>>>1|0;if(!v[B(a,36)+e>>2]){break c}b=a-1|0;if(a){continue}break}a=0;break b}a=v[(B(a,36)+e|0)+28>>2]}v[f>>2]=a;b=0;a=d;f=g;d:{while(1){c=a+b>>>1|0;h=v[B(c,36)+e>>2];e:{if(h>>>0<=1818914159){b=v[(B(c,36)+e|0)+28>>2];if((h|0)==1818914159){break d}b=c+1|0;break e}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}v[f+4>>2]=b;b=0;a=d;f=g;f:{while(1){c=a+b>>>1|0;h=v[B(c,36)+e>>2];g:{if(h>>>0<=1986686319){b=v[(B(c,36)+e|0)+28>>2];if((h|0)==1986686319){break f}b=c+1|0;break g}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}v[f+8>>2]=b;a=0;f=g;h:{while(1){b=a+d>>>1|0;c=v[B(b,36)+e>>2];i:{if(c>>>0<=1953131887){a=v[(B(b,36)+e|0)+28>>2];if((c|0)==1953131887){break h}a=b+1|0;break i}d=b-1|0}if((a|0)<=(d|0)){continue}break}a=0}v[f+12>>2]=a}return g|0}function Rn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=w[a+3|0]|w[a+2|0]<<8;c=d?d+a|0:280448;d=v[b+100>>2];i=xb(c,v[v[d+88>>2]+B(v[d+72>>2],20)>>2]);a:{if((i|0)==-1){break a}e=v[d+72>>2];v[b+40>>2]=1;v[b+4>>2]=e;c=v[v[b+8>>2]+100>>2];v[b+44>>2]=v[c+76>>2];f=(e|0)==v[c+72>>2]?w[(v[c+88>>2]+B(e,20)|0)+15|0]:f;v[b+12>>2]=8;t[b+24|0]=f;c=b+4|0;if(!Ne(c)){break a}e=280448;f=w[a+5|0]|w[a+4|0]<<8;g=f?f+a|0:280448;f=v[c>>2];g=xb(g,v[v[d+88>>2]+B(f,20)>>2]);if((g|0)==-1){break a}c=w[a+11|0]|w[a+10|0]<<8;c=c?c+a|0:280448;if(g>>>0<(w[c|0]<<8|w[c+1|0])>>>0){e=c+(g<<1)|0;e=w[e+2|0]<<8|w[e+3|0];e=e?e+c|0:280448}c=w[e+1|0]|w[e|0]<<8;if(!c){break a}g=v[d+88>>2];h=w[(g+B(f,20)|0)+14|0]>>>5|0;b:{if(!h){break b}d=w[(g+B(v[d+72>>2],20)|0)+14|0];if((h|0)!=(d>>>5|0)){break b}d=d&16?0:d&15;if(!d){break b}c=d>>>0<c>>>0?d:c}d=w[a+9|0]|w[a+8|0]<<8;h=Pj(d?d+a|0:280448,b,i,c-1|0,e,w[a+7|0]|w[a+6|0]<<8,f)}return h}function vK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;kj(b);kj(b+24|0);kj(b+48|0);a:{if(v[a+20>>2]){while(1){c=v[a+24>>2];e=B(h,24);b=v[c+e>>2];b:{if(!b){break b}f=v[b-8>>2];if(!f){break a}d=b-4|0;g=v[d>>2];if(!g){break a}i=d;d=g-1|0;v[i>>2]=d;if(d){break b}g=b-32|0;c=v[g>>2];if(c){d=v[b-24>>2];if(d){v[d+12>>2]=v[b-20>>2]}v[v[b-20>>2]>>2]=d;v[c+32>>2]=v[c+32>>2]-1;v[c+20>>2]=v[c+20>>2]-f}c=v[b-28>>2];Ea[v[c+16>>2]](b+(v[c+24>>2]+7&-8)|0,b);Pa(g);c=v[a+24>>2]}b=v[(c+e|0)+4>>2];c:{if(!b){break c}e=v[b-8>>2];if(!e){break a}c=b-4|0;d=v[c>>2];if(!d){break a}i=c;c=d-1|0;v[i>>2]=c;if(c){break c}f=b-32|0;c=v[f>>2];if(c){d=v[b-24>>2];if(d){v[d+12>>2]=v[b-20>>2]}v[v[b-20>>2]>>2]=d;v[c+32>>2]=v[c+32>>2]-1;v[c+20>>2]=v[c+20>>2]-e}c=v[b-28>>2];Ea[v[c+16>>2]](b+(v[c+24>>2]+7&-8)|0,b);Pa(f)}h=h+1|0;if(h>>>0<y[a+20>>2]){continue}break}}Pa(v[a+24>>2]);return}O(364907,364851,432,364955);L()}function jh(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;e=a;i=v[163893];a=0;a:{b:{while(1){if((e|0)!=w[a+518144|0]){b=87;a=a+1|0;if((a|0)!=87){continue}break b}break}b=a;if(a){break b}e=518240;break a}a=518240;while(1){d=w[a|0];e=a+1|0;a=e;if(d){continue}a=e;b=b-1|0;if(b){continue}break}}a=v[i+20>>2];if(a){g=v[a+4>>2];c=v[a>>2];f=v[c>>2]+1794895138|0;h=Zf(v[c+8>>2],f);d=Zf(v[c+12>>2],f);b=Zf(v[c+16>>2],f);c:{if(g>>>2>>>0<=h>>>0){break c}a=g-(h<<2)|0;if((b|d)&3|(a>>>0<=d>>>0|a>>>0<=b>>>0)){break c}n=b>>>2|0;i=d>>>2|0;while(1){j=h>>>1|0;d=j+k|0;b=d<<1;a=c+(b+i<<2)|0;l=Zf(v[a>>2],f);a=Zf(v[a+4>>2],f);if(a>>>0>=g>>>0|g-a>>>0<=l>>>0|w[c+(a+l|0)|0]){break c}a=Wa(e,a+c|0);if(!a){a=c+(b+n<<2)|0;b=Zf(v[a>>2],f);a=Zf(v[a+4>>2],f);if(a>>>0>=g>>>0|b>>>0>=g-a>>>0){break c}m=w[c+(a+b|0)|0]?0:a+c|0;break c}if((h|0)==1){break c}a=(a|0)<0;h=a?j:h-j|0;k=a?k:d;continue}}}return m?m:e}function Sn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=w[a+3|0]|w[a+2|0]<<8;g=c?c+a|0:280448;c=v[b+100>>2];i=xb(g,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);a:{if((i|0)==-1){break a}e=v[c+72>>2];v[b+40>>2]=1;v[b+4>>2]=e;f=v[v[b+8>>2]+100>>2];v[b+44>>2]=v[f+76>>2];h=(e|0)==v[f+72>>2]?w[(v[f+88>>2]+B(e,20)|0)+15|0]:h;v[b+12>>2]=8;t[b+24|0]=h;e=b+4|0;if(!Ne(e)){break a}while(1){b:{j=v[c+88>>2];f=v[e>>2];d=j+B(f,20)|0;if(!(w[d+12|0]&64)){break b}h=w[d+14|0];g=h&16?0:h&15;if(!g|!f){break b}d=d-8|0;if(w[d|0]&8){break b}d=w[d+2|0];if((d^h)>>>0>31|((d&16?1:(d&15)+1|0)|0)!=(g|0)){break b}v[b+40>>2]=v[b+40>>2]+1;f=v[b+36>>2];if(f){v[b+36>>2]=f-2}d=0;if(Ne(e)){continue}break a}break}c=w[a+5|0]|w[a+4|0]<<8;c=xb(c?c+a|0:280448,v[B(f,20)+j>>2]);if((c|0)==-1){return 0}e=w[a+9|0]|w[a+8|0]<<8;g=c;c=w[a+11|0]|w[a+10|0]<<8;d=Pj(e?e+a|0:280448,b,i,g,c?c+a|0:280448,w[a+7|0]|w[a+6|0]<<8,v[b+4>>2])}return d}function LD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Ca-208|0;Ca=d;v[d+204>>2]=0;c=v[a>>2];b=v[v[c+712>>2]+3080>>2];c=pc(v[v[c+96>>2]+4>>2],13048);e=0;a:{if(!c){break a}e=0;if(!b){break a}b=v[b>>2];e=0;if(!b){break a}e=Ea[b|0](c)|0}b:{if(!e){break b}b=v[a>>2];f=v[b+712>>2];c=v[b+100>>2];b=wb(c,1028,d+204|0);c:{d:{if(v[d+204>>2]){break d}Rq(f+1372|0,d+8|0);g=Ea[v[e>>2]](v[v[a>>2]+100>>2],d+8|0,b)|0;v[d+204>>2]=g;if(g){break d}i=b+4|0;g=v[f+2024>>2];while(1){if(!g){break c}g=g-1|0;h=g<<2;Rq(v[(h+f|0)+2028>>2],d+8|0);h=Ea[v[e>>2]](v[v[a>>2]+100>>2],d+8|0,h+i|0)|0;v[d+204>>2]=h;if(!h){continue}break}}if(b){a=v[f+2024>>2];if(a){while(1){a=a-1|0;e=b+(a<<2)|0;f=v[e+4>>2];if(f){Ea[v[c+8>>2]](c,f)}v[e+4>>2]=0;if(a){continue}break}}a=v[b>>2];if(a){Ea[v[c+8>>2]](c,a)}v[b>>2]=0}if(b){Ea[v[c+8>>2]](c,b)}j=v[d+204>>2];break b}v[v[a+40>>2]>>2]=b;v[a+44>>2]=-1}Ca=d+208|0;return j|0}function Lr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=Ca-16|0;Ca=h;a:{if(!a){e=33;break a}e=6;if(!d){break a}f=v[a>>2];if(!f){break a}v[d>>2]=0;v[d+4>>2]=0;v[d+16>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;if((c|0)<0|b>>>0<c>>>0){break a}e=10;if(b>>>0>32767){break a}b:{c:{d:{e:{f:{if(b){e=b<<3;g=Ea[v[f+4>>2]](f,e)|0;if(g){break f}e=d+4|0;g=e;break c}e=0;v[d+4>>2]=0;g=d+4|0;break e}i=d,j=Ra(g,0,e),v[i+4>>2]=j;g=d+4|0;e=Ea[v[f+4>>2]](f,b)|0;if(!e){break d}Ra(e,0,b)}v[h+12>>2]=0;v[d+8>>2]=e;i=d,j=Ua(f,2,0,c,0,h+12|0),v[i+12>>2]=j;e=v[h+12>>2];if(e){break b}u[d>>1]=c;u[d+2>>1]=b;v[d+16>>2]=v[d+16>>2]|1;e=0;break a}e=d+8|0}v[e>>2]=0;e=64}v[d+16>>2]=v[d+16>>2]|1;a=v[a>>2];if(!a){break a}b=v[g>>2];if(b){Ea[v[a+8>>2]](a,b)}v[d+4>>2]=0;b=v[d+8>>2];if(b){Ea[v[a+8>>2]](a,b)}v[d+8>>2]=0;b=v[d+12>>2];if(b){Ea[v[a+8>>2]](a,b)}v[d>>2]=0;v[d+4>>2]=0;v[d+16>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0}Ca=h+16|0;return e}function Cf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,k=0;g=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);i=1-c;b=v[a>>2];h=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=+((g&65280)>>>0)*c+i*+((h&65280)>>>0);f=e>=2147483648;if(D(e)<2147483648){d=~~e}else{d=-2147483648}k=e<=-2147483648?0:f?0:d&65280;o(+e);d=j(1)|0;f=j(0)|0;d=d&2147483647;f=(d|0)==2146435072&(f|0)!=0|d>>>0>2146435072?0:k;e=+((g&16711680)>>>0)*c+i*+((h&16711680)>>>0);d=e>=2147483648;c=+((g&255)>>>0)*c+i*+((h&255)>>>0);g=c>=2147483648;h=a;k=b&255;if(D(e)<2147483648){a=~~e}else{a=-2147483648}a=e<=-2147483648?0:d?0:a&16711680;o(+e);b=j(1)|0;d=j(0)|0;b=b&2147483647;d=f|((b|0)==2146435072&(d|0)!=0|b>>>0>2146435072?0:a);if(D(c)<2147483648){f=~~c}else{f=-2147483648}o(+c);a=j(1)|0;b=j(0)|0;a=a&2147483647;a=d|((a|0)==2146435072&(b|0)!=0|a>>>0>2146435072?0:c<=-2147483648?0:g?0:f&255);v[h>>2]=k|(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))}function Pj(a,b,c,d,e,f,g){var h=0,i=C(0),j=0,k=C(0),l=0;h=Ca-16|0;Ca=h;a:{if((w[e+1|0]|w[e|0]<<8)>>>0<=d>>>0){break a}c=(w[a+1|0]|w[a|0]<<8)>>>0>c>>>0?((c<<2)+a|0)+2|0:280448;j=w[c|0]<<8|w[c+1|0];if(j>>>0>=f>>>0){break a}d=B(d,f)+j|0;d=(d|0)<0?280448:((d<<1)+e|0)+2|0;d=w[d|0]<<8|w[d+1|0];if(!d){break a}f=a;a=w[c+3|0]|w[c+2|0]<<8;f=a?f+a|0:280448;c=v[b+100>>2];a=v[c+72>>2];if(a-g>>>0>=2){Mb(c,g,a);a=v[c+72>>2]}Vh(f,b,v[v[c+88>>2]+B(a,20)>>2],h+12|0,h+8|0);Vh(d?d+e|0:280448,b,v[v[c+88>>2]+B(g,20)>>2],h+4|0,h);a=v[c+96>>2]+B(v[c+72>>2],20)|0;b=a;i=C(H(C(C(z[h+4>>2]-z[h+12>>2])+C(.5))));b:{if(C(D(i))<C(2147483648)){d=~~i;break b}d=-2147483648}v[b+8>>2]=d;i=z[h+8>>2];k=z[h>>2];l=1;t[a+18|0]=1;b=a;i=C(H(C(C(k-i)+C(.5))));c:{if(C(D(i))<C(2147483648)){d=~~i;break c}d=-2147483648}v[b+12>>2]=d;u[a+16>>1]=g-v[c+72>>2];v[c+32>>2]=v[c+32>>2]|8;v[c+72>>2]=v[c+72>>2]+1}Ca=h+16|0;return l}function Yo(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;k=v[a+76>>2];if(k){m=v[a+96>>2];i=v[a+88>>2];while(1){n=k;a:{b:{h=B(f,20);e=h+i|0;if(Ea[b|0](e)|0){h=v[e+8>>2];c:{d:{e:{c=f+1|0;if(c>>>0<k>>>0){if(v[(B(c,20)+i|0)+8>>2]!=(h|0)){break e}d=c;break a}if(g){break d}break b}if(!g){break c}}j=v[(B(g,20)+i|0)-12>>2];d=c;if(j>>>0<=h>>>0){break a}l=v[e+4>>2]&1;f=g;while(1){f=f-1|0;e=B(f,20)+i|0;d=c;if((j|0)!=v[e+8>>2]){break a}v[e+4>>2]=l|v[e+4>>2]&-2;v[e+8>>2]=h;if(f){continue}break}d=c;break a}rc(a,f,f+2|0);break b}if((f|0)!=(g|0)){l=v[e+4>>2];j=B(g,20);d=j+i|0;c=d;v[c>>2]=v[e>>2];v[c+4>>2]=l;v[c+16>>2]=v[e+16>>2];c=v[e+12>>2];v[d+8>>2]=v[e+8>>2];v[d+12>>2]=c;d=j+m|0;c=h+m|0;v[d+16>>2]=v[c+16>>2];e=v[c+12>>2];v[d+8>>2]=v[c+8>>2];v[d+12>>2]=e;e=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=e}g=g+1|0;d=f+1|0;break a}g=0;d=c}f=d;if((n|0)!=(f|0)){continue}break}}v[a+76>>2]=g}function pA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=a+16|0;if(d>>>0>y[b+160>>2]){ob(b,8)}c=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if((c-16>>>0)/12>>>0>=h>>>0?c>>>0<16|c>>>0>v[b+160>>2]-a>>>0:1){ob(b,8)}if(h){c=0;a=0;while(1){f=c;g=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);c=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(c>>>0<e>>>0){ob(b,8)}if(!(!a|e>>>0>f>>>0)){ob(b,8)}a:{if(!v[b+164>>2]){break a}f=v[b+172>>2];e=c-e|0;if(f-e>>>0>(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))>>>0?f>>>0>=e>>>0:0){break a}ob(b,16)}d=d+12|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}return 0}function xe(){var a=0,b=0,c=0,d=0;b=Va(88);if(b){a=gd();v[b>>2]=a;if(a){a=gd();v[b+4>>2]=a;if(a){a=gd();v[b+16>>2]=a;if(a){a=gd();v[b+8>>2]=a;if(a){a=gd();v[b+36>>2]=a;if(a){a=gd();v[b+40>>2]=a;if(a){a=zf();v[b+44>>2]=a;if(a){a=zf();v[b+48>>2]=a;if(a){a=gd();v[b+12>>2]=a;if(a){a=$f(1006);v[b+20>>2]=a;c=$f(1006);v[b+24>>2]=c;d=$f(1006);v[b+28>>2]=d;a:{if(!a|(!d|!c)){break a}v[b+32>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;a=W(0)|0;v[b+72>>2]=0;v[b+64>>2]=30;v[b+60>>2]=a;a=Yb(515505);c=Ca-4112|0;Ca=c;if(a){d=Gi(a,c);a=fe(d?d:a)}else{a=0}Ca=c+4112|0;v[b+76>>2]=a;a=$f(1006);v[b+84>>2]=a;if(!a){break a}a=gd();v[b+80>>2]=a;if(a){v[b+68>>2]=1;return b}de(v[b+84>>2])}a=v[b+20>>2];if(a){de(a)}a=v[b+24>>2];if(a){de(a)}a=v[b+28>>2];if(a){de(a)}bc(v[b+12>>2])}le(v[b+48>>2])}le(v[b+44>>2])}bc(v[b+40>>2])}bc(v[b+36>>2])}bc(v[b+8>>2])}bc(v[b+16>>2])}bc(v[b+4>>2])}bc(v[b>>2])}Pa(b)}return 0}function km(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if((a|0)==(b|0)){return 1}if(!(!a|!b)){k=v[a+4>>2];a:{if((k|0)<1){break a}j=v[b+4>>2];l=j-1|0;while(1){if((d|0)>=(j|0)){break a}g=x[(v[a+12>>2]+a|0)+(i<<1)>>1];h=v[b+12>>2]+b|0;c=x[h+(d<<1)>>1];b:{if((g|0)==(c|0)){c:{c=v[a+8>>2]+a|0;c=v[c+(i<<2)>>2]+c|0;e=v[b+8>>2]+b|0;f=v[e+(d<<2)>>2]+e|0;if((c|0)==(f|0)){break c}g=8;while(1){if(!g){break c}g=g-1|0;h=v[f>>2];e=v[c>>2];c=c+4|0;f=f+4|0;if(!(e&(h^-1))){continue}break}return 0}d=d+1|0;i=i+1|0;break b}if(c>>>0>g>>>0){return 0}if(!h){d=0;break b}c=l;f=d+1|0;d:{if((j|0)>(f|0)){while(1){e=c+f|0;d=e>>1;e=x[h+(e&-2)>>1];if((e|0)==(g|0)){break d}e=e>>>0<g>>>0;f=e?d+1|0:f;c=e?c:d-1|0;if((f|0)<=(c|0)){continue}break}}if(!(g>>>0<=x[h+(c<<1)>>1]|(c|0)>=(j|0)?(c|0)>=0:0)){c=c+1|0}d=c^-1}if((d|0)>-1){break b}d=d^-1}if((i|0)<(k|0)){continue}break}}c=(i|0)>=(k|0)}return c}function My(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{b:{c:{d:{a=b-44032|0;if(!(c>>>0<4520|a>>>0>11171|c>>>0>4546)){if(((a&65535)>>>0)%28|0){break d}c=(b+c|0)-4519|0;break a}if(!(c>>>0<4449|b-4352>>>0>18|c>>>0>4469)){c=(B(b,588)+B(c,28)|0)-2639516|0;break a}if((c&-128)!=768|b>>>0>2047){break d}a=c<<14&2080768|b<<21;c=637;b=0;while(1){e:{e=b+c>>>1|0;g=v[(e<<2)+219856>>2];f=g&-16384;f:{if(a>>>0<f>>>0){c=e-1|0;break f}if(a>>>0<=f>>>0){break e}b=e+1|0}if((b|0)<=(c|0)){continue}break b}break}c=g&16383;break c}a=c>>>11|0;g=c<<21;e=b<<10|a;c=387;b=0;while(1){g:{f=b+c>>>1|0;h=(f<<3)+222416|0;a=v[h+4>>2];h=v[h>>2];a=a&2147483647;i=h&-2097152;h:{if((a|0)==(e|0)&i>>>0>g>>>0|e>>>0<a>>>0){c=f-1|0;break h}if((a|0)==(e|0)&g>>>0<=i>>>0|a>>>0>e>>>0){break g}b=f+1|0}if((b|0)<=(c|0)){continue}break b}break}c=h&2097151}if(c){break a}}return 0}v[d>>2]=c;return 1}function td(a){var b=0,c=0,d=0,e=0,f=0;a:{b:{c:{d:{if(!w[a+68|0]){break d}f=v[a+76>>2];d=v[a+72>>2];if(f>>>0<d>>>0){break c}if(!w[a+69|0]){v[a+72>>2]=f;break a}b=v[a+92>>2];c=v[a+88>>2];e=v[a+80>>2];if(!((e|0)==(d|0)?(b|0)==(c|0):0)){d=f-d|0;e=d+e|0;if(!(!e|e>>>0<y[a+84>>2])){if(!Le(a,e)){break d}c=v[a+88>>2];b=v[a+92>>2]}e:{if((b|0)!=(c|0)){break e}e=v[a+80>>2];if(e+d>>>0<=d+v[a+72>>2]>>>0){b=c;break e}if(!w[a+69|0]){break b}b=v[a+96>>2];v[a+92>>2]=b;Ta(b,c,B(e,20));c=v[a+88>>2];b=v[a+92>>2]}mb(B(v[a+80>>2],20)+b|0,B(v[a+72>>2],20)+c|0,B(d,20));f=d+v[a+80>>2]|0;v[a+80>>2]=f;v[a+72>>2]=d+v[a+72>>2];if(!w[a+69|0]){break a}}t[a+69|0]=0;b=v[a+92>>2];c=v[a+88>>2];if((b|0)!=(c|0)){v[a+96>>2]=c;v[a+92>>2]=c;v[a+88>>2]=b}v[a+72>>2]=0;v[a+80>>2]=v[a+76>>2];v[a+76>>2]=f}return}O(281845,281818,321,281856);L()}O(281806,281818,168,281831);L()}O(281806,281818,324,281856);L()}function Wq(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;j=Ca+-64|0;Ca=j;f=v[a+532>>2];a:{if(!f){b=6;break a}e=v[f+4>>2];n=b>>>0>e>>>0?e:b;b:{if(!e){e=0;break b}while(1){b=B(g,12)+f|0;d=b;i=v[b+96>>2];k=v[b+92>>2];c:{if(g>>>0<n>>>0){h=w[d+88|0];d=v[(g<<2)+c>>2];break c}h=w[d+88|0];d=(v[((h<<2)+k|0)-4>>2]-v[k>>2]|0)/2|0}d:{e:{if(!h){break e}b=0;l=-1;f:{g:{while(1){m=b<<2;o=m+k|0;p=v[o>>2];if((p|0)==(d|0)){break f}if((d|0)<(p|0)){break g}l=b;b=b+1|0;if((h|0)!=(b|0)){continue}break}if(!h){break e}b=v[((h<<2)+i|0)-4>>2];break d}if((l|0)<0){break e}e=d;b=l<<2;d=v[b+k>>2];b=fb(e-d|0,v[i+m>>2]-v[b+i>>2]|0,v[o>>2]-d|0);e=v[f+4>>2];break d}b=v[i+m>>2];break d}b=v[i>>2]}v[(g<<2)+j>>2]=b;g=g+1|0;if(g>>>0<e>>>0){continue}break}f=v[a+532>>2]}b=tk(f,e,j);if(b){break a}b=0;v[a+8>>2]=v[a+8>>2]&-32769|((n|0)!=0)<<15}Ca=j- -64|0;return b|0}function $j(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(c>>>0>2147483646){break b}if(!c){return 1}if(y[b+4>>2]>a>>>0){break b}e=v[b+8>>2];if(e>>>0<a>>>0){break b}g=e-a|0;e=c<<1;if(g>>>0<e>>>0){break b}e=v[b+12>>2]-e|0;v[b+12>>2]=e;if((e|0)<1){break b}h=v[b+4>>2];j=v[d>>2];while(1){d=(i<<1)+a|0;if(d>>>0<h>>>0){break a}e=v[b+8>>2];if(e>>>0<d>>>0|e-d>>>0<2){break a}f=v[b+12>>2];g=f-2|0;v[b+12>>2]=g;if((g|0)<1){break a}d=(w[d+1|0]|w[d|0]<<8)+j|0;if(d>>>0<h>>>0|d>>>0>e>>>0|e-d>>>0<4){break a}g=f-6|0;v[b+12>>2]=g;if((g|0)<1){break a}f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(f>>>0>1073741822){break a}c:{if(!f){break c}d=d+4|0;if(d>>>0<h>>>0|d>>>0>e>>>0){break a}e=e-d|0;d=f<<2;if(e>>>0<d>>>0){break a}d=g-d|0;v[b+12>>2]=d;if((d|0)>=1){break c}break a}f=1;i=i+1|0;if((i|0)!=(c|0)){continue}break}}return f}return 0}function UG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=Ca-16|0;Ca=i;g=a;a:{b:{c:{while(1){if(!Wa(b,B(d,20)+511376|0)){break c}d=d+1|0;if((d|0)!=54){continue}break}if($a(b,512456,4)){break b}a=0;break a}a=v[B(d,20)+511392>>2];break a}v[i>>2]=b;db(g,1,511329,i);a=55}d:{e:{b=v[g+28>>2];if(b>>>0<=7){v[g+28>>2]=b+1;f=(B(b,160)+g|0)+32|0;break e}f=Va(160);if(f){break e}a=0;break d}b=v[g>>2];v[f+4>>2]=a;v[f>>2]=b;f:{if(!c){break f}e=v[c>>2];if(!e){break f}h=f+96|0;a=0;d=1;while(1){d=Xa(e)+d|0;b=a+1|0;e=v[(b<<2)+c>>2];if(e){d=d+1|0;a=b;continue}break}g:{a=a+2<<2;b=a+d|0;if((b|0)<65){break g}h=Va(b);if(h){break g}h=0;db(0,2,511350,0);break f}a=a+h|0;e=0;d=c;while(1){v[(e<<2)+h>>2]=a;a=Ac(a,v[d>>2]);a=(Xa(a)+a|0)+1|0;e=e+1|0;d=(e<<2)+c|0;if(v[d>>2]){continue}break}v[(e<<2)+h>>2]=0}v[f+8>>2]=h;Cg(f+12|0,0,0);v[g>>2]=f;a=1}if(!a){db(g,2,511350,0)}Ca=i+16|0}function Tw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=v[b+4>>2];a:{if(g>>>0>a>>>0){break a}f=v[b+8>>2];if(f>>>0<a>>>0){break a}c=f-a|0;if(c>>>0<4){break a}e=v[b+12>>2];d=e-4|0;v[b+12>>2]=d;if((w[a+1|0]|w[a|0]<<8)!=1|(d|0)<1|c>>>0<16){break a}e=e-20|0;v[b+12>>2]=e;if((w[a+11|0]|w[a+10|0]<<8)!=20|(e|0)<1){break a}c=w[a+9|0];d=w[a+8|0];if((c<<2|d<<10)+4>>>0>(w[a+15|0]|w[a+14|0]<<8)>>>0){break a}d=c|d<<8;if(d){c=w[a+5|0]|w[a+4|0]<<8;c=c?c+a|0:280448;if(c>>>0<g>>>0|c>>>0>f>>>0){break a}h=f-c|0;c=B(d,20);if(h>>>0<c>>>0){break a}e=e-c|0;v[b+12>>2]=e;if((e|0)<1){break a}}d=w[a+13|0]|w[a+12|0]<<8;if(d){c=w[a+5|0]|w[a+4|0]<<8;c=B(w[a+9|0]|w[a+8|0]<<8,20)+(c?c+a|0:280448)|0}else{c=0}a=w[a+15|0]|w[a+14|0]<<8;if(a){if(d>>>0>=4294967295/(a>>>0)>>>0){break a}}a=B(a,d);if(!a){return 1}if(c>>>0<g>>>0|c>>>0>f>>>0|a>>>0>f-c>>>0){break a}a=e-a|0;v[b+12>>2]=a;i=(a|0)>0}return i}function KO(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;f=v[a+8>>2];if(f){Ff(f);v[a+8>>2]=0}k=a;j=v[a>>2];f=0;g=Ca-16|0;Ca=g;a:{if(!b){break a}h=Va(c+1|0);if(!h){break a}l=Ta(h,b,c)+c|0,m=0,t[l|0]=m;b:{a=Mm(j);if(a){av(a,h);e=v[a+8>>2];c:{if((e|0)<1){break c}i=e&7;c=v[a+20>>2];b=0;if(e-1>>>0>=7){e=e&-8;while(1){v[(c+B(b,56)|0)+16>>2]=b;d=b|1;v[(c+B(d,56)|0)+16>>2]=d;d=b|2;v[(c+B(d,56)|0)+16>>2]=d;d=b|3;v[(c+B(d,56)|0)+16>>2]=d;d=b|4;v[(c+B(d,56)|0)+16>>2]=d;d=b|5;v[(c+B(d,56)|0)+16>>2]=d;d=b|6;v[(c+B(d,56)|0)+16>>2]=d;d=b|7;v[(c+B(d,56)|0)+16>>2]=d;b=b+8|0;e=e-8|0;if(e){continue}break}}if(!i){break c}while(1){v[(c+B(b,56)|0)+16>>2]=b;b=b+1|0;i=i-1|0;if(i){continue}break}}if(v[a+32>>2]){break b}Ff(a)}Pa(h);break a}Rm(a);Pa(h);b=v[a>>2];v[g+4>>2]=v[a+8>>2];v[g>>2]=b;hb(j,4,1819,g);f=a}Ca=g+16|0;v[k+8>>2]=f;if(!f){uc(1258);V(4);L()}}function NL(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;a=Ra(a,0,1516);j=xd(v[b+96>>2],301164,1);if(!j){return 7}t[a+68|0]=1;v[a+64>>2]=0;v[a+1348>>2]=j;v[a+8>>2]=d;v[a+4>>2]=b;v[a>>2]=v[b+100>>2];a:{if(!d){break a}j=v[v[d+156>>2]>>2];v[a+12>>2]=j;v[a+20>>2]=j+56;v[a+16>>2]=j+20;tf(j);c=v[v[c+40>>2]>>2];v[a+72>>2]=0;v[a+76>>2]=c;if(!g){break a}v[a+72>>2]=v[v[d+156>>2]+36>>2]}v[a+24>>2]=0;v[a+28>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;c=v[74887];v[a+80>>2]=v[74886];v[a+84>>2]=c;c=v[74889];v[a+88>>2]=v[74888];v[a+92>>2]=c;c=v[74891];v[a+96>>2]=v[74890];v[a+100>>2]=c;c=v[74893];v[a+104>>2]=v[74892];v[a+108>>2]=c;v[a+1352>>2]=v[b+16>>2];v[a+1468>>2]=f;v[a+1476>>2]=i;v[a+1356>>2]=e;v[a+1472>>2]=h;c=v[74897];b=a+1488|0;v[b>>2]=v[74896];v[b+4>>2]=c;b=v[74895];v[a+1480>>2]=v[74894];v[a+1484>>2]=b;return 0}function fg(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;d=Ca-32|0;Ca=d;m=v[a+108>>2];f=c-m|0;k=v[a+104>>2];h=b-k|0;l=v[a+48>>2];e=0-l|0;a:{if(!((h|0)<=(e|0)|(h|0)>=(l|0)|(f|0)<=(e|0))){e=1;if((f|0)<(l|0)){break a}}i=A[a+40>>3]*+(f|0);j=A[a+32>>3]*+(0-h|0);g=1/K(i*i+j*j);i=i*g;j=j*g;e=0;if(!Ig(a,k,m,i,j,3)){break a}v[a+60>>2]=v[a+60>>2]&-4;k=v[a+108>>2];g=A[a+88>>3]*A[a+24>>3];b:{if(D(g)<2147483648){f=~~g;break b}f=-2147483648}g=A[a+80>>3];h=v[a+104>>2];n=A[a+16>>3];l=f;v[d+28>>2]=f+k;e=d;g=g*n;c:{if(D(g)<2147483648){f=~~g;break c}f=-2147483648}v[e+24>>2]=f+h;m=v[a>>2];e=v[d+28>>2];v[d+16>>2]=v[d+24>>2];v[d+20>>2]=e;e=0;if(!Gb(m,d+16|0,1)){break a}v[d+28>>2]=k-l;v[d+24>>2]=h-f;f=v[a+4>>2];h=v[d+28>>2];v[d+8>>2]=v[d+24>>2];v[d+12>>2]=h;e=0;if(!Gb(f,d+8|0,1)){break a}A[a+80>>3]=i;A[a+88>>3]=j;v[a+104>>2]=b;v[a+108>>2]=c;e=1}Ca=d+32|0;return e}function yb(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{if(w[b|0]){g=A[b+8>>3];break a}t[b|0]=1;g=A[b+8>>3];f=A[a+128>>3];if(g>f){A[b+8>>3]=f;g=f;f=A[a+128>>3]}if(f>A[b+24>>3]){A[b+24>>3]=f}f=A[a+136>>3];if(f<A[b+16>>3]){A[b+16>>3]=f;f=A[a+136>>3]}if(!(A[b+32>>3]<f)){break a}A[b+32>>3]=f}f=A[c>>3];if(g>f){A[b+8>>3]=f;g=f;f=A[c>>3]}h=A[b+24>>3];if(f>h){A[b+24>>3]=f;h=f}i=A[b+16>>3];f=A[c+8>>3];if(i>f){A[b+16>>3]=f;i=f;f=A[c+8>>3]}j=A[b+32>>3];if(f>j){A[b+32>>3]=f;j=f}f=A[d>>3];if(f<g){A[b+8>>3]=f;f=A[d>>3]}if(f>h){A[b+24>>3]=f}g=A[d+8>>3];if(i>g){A[b+16>>3]=g;g=A[d+8>>3]}if(g>j){A[b+32>>3]=g}c=v[e+4>>2];v[a+128>>2]=v[e>>2];v[a+132>>2]=c;c=v[e+12>>2];v[a+136>>2]=v[e+8>>2];v[a+140>>2]=c;g=A[a+128>>3];if(g<A[b+8>>3]){A[b+8>>3]=g;g=A[a+128>>3]}if(A[b+24>>3]<g){A[b+24>>3]=g}g=A[a+136>>3];if(g<A[b+16>>3]){A[b+16>>3]=g;g=A[a+136>>3]}if(A[b+32>>3]<g){A[b+32>>3]=g}}function xo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ca-16|0;Ca=f;h=v[b+4>>2];a:{if(h>>>0>a>>>0){break a}g=v[b+8>>2];if(g>>>0<a>>>0|g-a>>>0<4){break a}e=v[b+12>>2];d=e-4|0;v[b+12>>2]=d;if((d|0)<1){break a}d=a+2|0;if(d>>>0<h>>>0|d>>>0>g>>>0|g-d>>>0<2){break a}i=e-6|0;v[b+12>>2]=i;if((i|0)<1){break a}d=w[a+3|0]|w[a+2|0]<<8;if(d){e=a+4|0;if(e>>>0<h>>>0|e>>>0>g>>>0){break a}d=d<<1;if(d>>>0>g-e>>>0){break a}d=i-d|0;v[b+12>>2]=d;if((d|0)<1){break a}}e=w[a+1|0]|w[a|0]<<8;b:{if(!e){break b}v[f+12>>2]=c?v[c>>2]:0;if(!wo(a,b,a,f+12|0)){break a}if(!c|(w[a+1|0]|w[a|0]<<8)|v[c>>2]!=1936292453){break b}d=v[c+4>>2];if(!d|a>>>0<=d>>>0){break b}e=e+(d-a|0)|0;if(e>>>0>65535){break b}d=v[b+24>>2];if(d>>>0>31){break b}v[b+24>>2]=d+1;if(!w[b+20|0]){break b}d=e<<8|(e&65280)>>>8;t[a|0]=d;t[a+1|0]=d>>>8;v[f+8>>2]=v[c>>2];if(!wo(a,b,a,f+8|0)){break a}}j=1}Ca=f+16|0;return j}function Qr(a,b,c,d,e){var f=0,g=0,h=0,i=0;if(!a){return 35}if(!e){return 6}f=v[a+96>>2];v[e>>2]=0;v[e+4>>2]=0;f=v[v[f+12>>2]+76>>2];if(!f){return 0}b=Ea[f|0](a,b,c,e)|0;a:{if(b|(d|0)==2){break a}c=v[e>>2];h=(c|0)<0?-1:1;b=e;f=v[a+88>>2];i=v[f+16>>2];a=i>>31;g=c;c=c>>31;c=g+c^c;a=a^a+i;b:{if(c+(a>>>8|0)>>>0<=8190){a=B(a,c)+32768>>>16|0;break b}g=c&65535;a=B(g,a>>>16|0)+B(a,c>>>16|0)+(B(g,a&65535)+32768>>>16)|0}h=(((i|0)<0?0-h|0:h)|0)<0?0-a|0:a;v[b>>2]=h;b=v[e+4>>2];c=(b|0)<0?-1:1;i=v[f+20>>2];a=i>>31;g=b;b=b>>31;b=g+b^b;a=a^a+i;c:{if(b+(a>>>8|0)>>>0<=8190){a=B(a,b)+32768>>>16|0;break c}g=b&65535;a=B(g,a>>>16|0)+B(a,b>>>16|0)+(B(a&65535,g)+32768>>>16)|0}b=0;a=(((i|0)<0?0-c|0:c)|0)<0?0-a|0:a;v[e+4>>2]=a;if((d|0)==1){break a}c=x[f+12>>1];if(c>>>0<=24){h=fb(h,c,25)}c=e;d=x[f+14>>1];if(d>>>0<=24){a=fb(a,d,25)}v[c+4>>2]=a+32&-64;v[e>>2]=h+32&-64}return b}function Lw(a,b,c){var d=0,e=0,f=0;a:{b:{c:{d:{if(v[b+20>>2]){break d}if(y[b>>2]>a>>>0){break c}d=v[b+4>>2];if(d>>>0<a>>>0){break b}e=a+6|0;if(e>>>0<d>>>0){break a}f=e-d|0;if((f|0)>(v[b+8>>2]-d|0)){v[b+20>>2]=4;return 0}e=0;Ra(d,0,f);d=v[b+4>>2];v[b+4>>2]=d+f;if(!d){break d}t[a+2|0]=0;t[a+3|0]=8;c=c<<8|(c&65280)>>>8;t[a|0]=c;t[a+1|0]=c>>>8;if(!Og(a+4|0,b,1)){break d}e=1;if(!(w[a+3|0]&16)){break d}e=0;if(v[b+20>>2]){b=0}else{if(y[b>>2]>a>>>0){break c}c=v[b+4>>2];if(c>>>0<a>>>0){break b}d=w[a+5|0]<<1|w[a+4|0]<<9;d=(w[a+3|0]&16?d+8|0:d+6|0)+a|0;if(d>>>0<c>>>0){break a}d=d-c|0;e:{if((d|0)>(v[b+8>>2]-c|0)){v[b+20>>2]=4;b=0;break e}Ra(c,0,d);c=b;b=v[b+4>>2];v[c+4>>2]=b+d;b=b?a:0}}if(!b){break d}e=1;a=(w[a+5|0]<<1|w[a+4|0]<<9)+a|0;t[a+6|0]=0;t[a+7|0]=0}return e}O(260227,260193,520,260255);L()}O(260267,260193,521,260255);L()}O(260294,260193,522,260255);L()}function zx(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=d?d+a|0:280448;e=w[d+2|0]<<8|w[d+3|0];if(e){g=w[d+1|0];h=g>>>4&3;f=h+1|0;d=d+B(f,b>>>0<e>>>0?b:e-1|0)|0;b=w[d+4|0];a:{if(!h){break a}b=w[d+5|0]|b<<8;if((f|0)==2){break a}b=w[d+6|0]|b<<8;if((f|0)==3){break a}b=w[d+7|0]|b<<8}d=(g&15)+1|0;b=b>>>d<<16|(-1<<d^-1)&b}d=b>>>16|0;e=a;a=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?e+a|0:280448;if(d>>>0>=(w[a+6|0]<<8|w[a+7|0])>>>0){return C(0)}d=a+(d<<2)|0;d=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=d?d+a|0:280448;e=a;a=w[a+2|0]|w[a+3|0]<<8|(w[a+4|0]<<16|w[a+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return Vg(d,b&65535,v[c+64>>2],v[c+60>>2],a?e+a|0:280448)}function zA(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=v[b>>2];if((e|0)==-1){return 0}c=v[a+16>>2];d=w[c+8204|0]|w[c+8205|0]<<8|(w[c+8206|0]<<16|w[c+8207|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{b:{if(!f){break b}j=v[a>>2];a=e+1|0;d=c+8208|0;while(1){c=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a=a>>>0<g>>>0?g:a;c=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c:{if(a>>>0>h>>>0){break c}c=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=h+1|0;d:{while(1){e=a-g|0;if((e^-1)>>>0<i>>>0){break c}e=e+i|0;if(e){break d}if((a|0)==-1){break b}e=(a|0)==(h|0);a=a+1|0;if(!e){continue}break}a=c;break c}if(y[j+16>>2]>e>>>0){break a}}d=d+12|0;f=f-1|0;if(f){continue}break}}e=0;a=0}v[b>>2]=a;return e|0}function dr(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if((a|0)>(b|0)){break a}g=v[(c<<3)+e>>2]>v[(d<<3)+e>>2];k=g?c:d;h=k<<3;i=v[h+f>>2];l=g?d:c;c=l<<3;j=v[c+f>>2];h=v[e+h>>2];g=v[c+e>>2];if(!((i|0)!=(j|0)?(h|0)==(g|0):0)){if((g|0)!=(h|0)){m=ab(i-j|0,h-g|0)}o=i-h|0;p=j-g|0;d=a;while(1){c=d;n=d<<3;d=v[n+e>>2];b:{if((d|0)<=(g|0)){i=d+p|0;break b}i=d+o|0;if((d|0)>=(h|0)){break b}i=Qa(d-g|0,m)+j|0}v[f+n>>2]=i;d=c+1|0;if((b|0)!=(c|0)){continue}break}}h=f+4|0;e=e+4|0;d=v[e+(l<<3)>>2]>v[e+(k<<3)>>2];g=(d?l:k)<<3;c=v[h+g>>2];d=(d?k:l)<<3;f=v[d+h>>2];g=v[e+g>>2];d=v[d+e>>2];if((c|0)!=(f|0)?(g|0)==(d|0):0){break a}k=0;if((d|0)!=(g|0)){k=ab(c-f|0,g-d|0)}i=c-g|0;l=f-d|0;while(1){c=a;m=c<<3;a=v[m+e>>2];c:{if((a|0)<=(d|0)){j=a+l|0;break c}j=a+i|0;if((a|0)>=(g|0)){break c}j=Qa(a-d|0,k)+f|0}v[h+m>>2]=j;a=c+1|0;if((b|0)!=(c|0)){continue}break}}}function vL(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0;i=v[b+712>>2];a=Ra(a,0,780);v[a+8>>2]=d;v[a+4>>2]=b;t[a+65|0]=1;v[a>>2]=v[b+100>>2];a:{if(!d){break a}b=v[v[d+156>>2]>>2];v[a+12>>2]=b;v[a+20>>2]=b+56;v[a+16>>2]=b+20;tf(b);v[a+68>>2]=0;v[a+72>>2]=0;if(!e|!c){break a}b=v[v[c+40>>2]>>2];if(!b){break a}v[a+72>>2]=v[b>>2];v[a+68>>2]=v[v[d+156>>2]+36>>2]}v[a+24>>2]=0;v[a+28>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;b=v[74946];v[a+76>>2]=v[74945];v[a+80>>2]=b;b=v[74948];v[a+84>>2]=v[74947];v[a+88>>2]=b;b=v[74950];v[a+92>>2]=v[74949];v[a+96>>2]=b;b=v[74952];v[a+100>>2]=v[74951];v[a+104>>2]=b;v[a+108>>2]=i;b=v[i+120>>2];v[a+732>>2]=b;v[a+748>>2]=v[i+1352>>2];b:{if(v[i+1416>>2]==1){break b}j=107;if(b>>>0<1240){break b}j=b>>>0<33900?1131:32768}v[a+776>>2]=h;v[a+772>>2]=g;v[a+760>>2]=f;v[a+740>>2]=j}function AM(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;a:{h=v[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){e=v[a>>2];d=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=x[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((B(h,63)|0)/64|0)>>1&k;break c}if(!(!(l&16)|v[a+8>>2]>(d-c|0)?v[e+28>>2]!=(f|0)|v[e+16>>2]>0:1)|!(!(l&32)|v[a+8>>2]>(d-c|0)?v[f+28>>2]!=(e|0)|v[e+20>>2]!=(b|0):1)){break a}if((m|0)==1){break c}j=(c+d|0)+((B(h,63)|0)/64|0)>>1&k}e=v[a>>2];d=g;d=(j|0)>=0?y[a+96>>2]>j>>>e>>>0?j:i:d;c=((g|0)==(d|0)?i:g)>>e;if((c|0)<0|c>>>0>=y[a+96>>2]){break b}if(w[(v[a+52>>2]+(b>>3)|0)-B(c,v[a+104>>2])|0]&128>>>(b&7)){break a}}c=d>>e;if((c|0)<0|c>>>0>=y[a+96>>2]){break a}a=(v[a+52>>2]+(b>>3)|0)-B(c,v[a+104>>2])|0;t[a|0]=w[a|0]|128>>>(b&7)}}function nr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=v[a+12>>2];e=v[j>>2];g=b>>>0>e>>>0?e:b;if(g){e=v[j+12>>2];while(1){k=v[e+12>>2];b=k;l=i<<2;f=v[l+c>>2];if((b|0)>=(f|0)){b=v[e+4>>2];b=(b|0)>(f|0)?b:f}f=v[e+8>>2];a:{if((f|0)>(b|0)){h=0-ab(b-f|0,v[e+4>>2]-f|0)|0;break a}h=0;if((b|0)<=(f|0)){break a}h=ab(b-f|0,k-f|0)}v[d+l>>2]=h;e=e+24|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}e=v[j>>2]}if(e>>>0>g>>>0){Ra((g<<2)+d|0,0,e-g<<2)}b=v[a+28>>2];b:{if(!b){break b}a=v[j>>2];if(!a){break b}c=0;while(1){h=x[b>>1];c:{if(h>>>0<2){break c}f=v[b+4>>2];i=(c<<2)+d|0;g=v[i>>2];e=1;while(1){k=e<<3;l=k+f|0;m=v[l>>2];if((g|0)<(m|0)){a=k-8|0;e=a+f|0;f=v[e>>2];n=i,o=fb(g-f|0,v[l+4>>2]-v[e+4>>2]|0,m-f|0)+v[(a+v[b+4>>2]|0)+4>>2]|0,v[n>>2]=o;a=v[j>>2];break c}e=e+1|0;if((h|0)!=(e|0)){continue}break}}b=b+8|0;c=c+1|0;if(c>>>0<a>>>0){continue}break}}}function nc(a,b){var c=0,d=0,e=0,f=0,g=0;a:{f=v[b+4>>2];if(f>>>0>a>>>0){break a}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<2){break a}e=v[b+12>>2];g=e-2|0;v[b+12>>2]=g;c=1;if((g|0)<1){break a}b:{c:{d:{e:{g=w[a|0]|w[a+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}c=a+2|0;if(c>>>0<f>>>0|c>>>0>d>>>0|d-c>>>0<2){break a}c=e-4|0;v[b+12>>2]=c;if((c|0)<1){break a}e=w[a+3|0]|w[a+2|0]<<8;if(!e){break c}a=a+4|0;if(a>>>0<f>>>0|a>>>0>d>>>0){break a}d=d-a|0;a=e<<1;if(d>>>0<a>>>0){break a}a=c-a|0;v[b+12>>2]=a;c=0;if((a|0)>=1){break c}break b}c=a+2|0;if(c>>>0<f>>>0|c>>>0>d>>>0|d-c>>>0<2){break a}c=e-4|0;v[b+12>>2]=c;if((c|0)<1){break a}e=w[a+3|0]|w[a+2|0]<<8;if(!e){break c}a=a+4|0;if(a>>>0<f>>>0|a>>>0>d>>>0){break a}d=d-a|0;a=B(e,6);if(d>>>0<a>>>0){break a}a=c-a|0;v[b+12>>2]=a;c=0;if((a|0)<1){break b}}c=1}return c}return 0}function yd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=6;a:{if(!a|!c){break a}g=v[c>>2];if(!g){break a}h=v[g+100>>2];i=v[a>>2];b:{c:{if((i|0)<=0){if(!i){break c}break b}e=Ea[v[h+4>>2]](h,i)|0;if(!e){e=64;break b}f=Ra(e,0,i)}e=v[c+4>>2];v[f>>2]=v[c>>2];v[f+4>>2]=e;v[f+8>>2]=v[c+8>>2];v[f+12>>2]=a;d:{a=v[a+4>>2];if(a){e=Ea[a|0](f,b)|0;if(e){break d}}a=v[g+36>>2];if((a|0)<0){e=6;break d}e=10;if((a|0)>536870910){break d}b=a+1|0;e:{if(!a){c=Ea[v[h+4>>2]](h,b<<2)|0;e=!c<<6;break e}c=v[g+40>>2];b=Ea[v[h+12>>2]](h,a<<2,b<<2,c)|0;c=b?b:c;e=!b<<6}f:{if(!(e|!c)){a=(a<<2)+c|0;t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;v[g+40>>2]=c;break f}v[g+40>>2]=c;if(e){break d}}a=v[g+36>>2];v[g+36>>2]=a+1;v[(a<<2)+c>>2]=f;e=0;break b}a=v[v[f>>2]+100>>2];b=v[v[f+12>>2]+8>>2];if(b){Ea[b|0](f)}Ea[v[a+8>>2]](a,f);f=0}if(!d){break a}v[d>>2]=f}return e|0}function RI(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{c:{d=w[b+2|0];d:{if((d|0)==59){a=0;break d}e:{if((d|0)!=120){c=b+2|0;a=0;while(1){a=((d<<24>>24)+a|0)-48|0;if((a|0)>1114111){return-1}d=w[c+1|0];if((d|0)==59){break e}c=c+1|0;a=B(a,10);continue}}a=0;c=w[b+3|0];if((c|0)==59){break d}d=b+3|0;while(1){f:{g:{h:{i:{j:{b=c<<24>>24;c=b-48|0;switch(c|0){case 49:case 50:case 51:case 52:case 53:case 54:break h;case 17:case 18:case 19:case 20:case 21:case 22:break i;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break j;default:break f}}a=c|a<<4;break g}a=(b+(a<<4)|0)-55|0;break g}a=(b+(a<<4)|0)-87|0}if((a|0)<=1114111){break f}return-1}c=w[d+1|0];d=d+1|0;if((c|0)!=59){continue}break}}c=-1;b=a>>8;if(b-216>>>0<8){break a}if((b|0)==255){break c}if(b){break b}}if(w[a+499884|0]){break b}return-1}if((a&-2)==65534){break a}}c=a}return c|0}function Rj(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;f=Ca-16|0;Ca=f;c=w[a+3|0]|w[a+2|0]<<8;e=c?c+a|0:280448;c=v[b+100>>2];if((xb(e,v[v[c+88>>2]+B(v[c+72>>2],20)>>2])|0)!=-1){d=w[a+5|0]|w[a+4|0]<<8;d=d?d+a|0:280448;c=v[b+100>>2];c=Yh(d,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);c=c>>>0<(w[a+7|0]|w[a+6|0]<<8)>>>0?((c<<1)+a|0)+8|0:280448;e=w[c+1|0];c=w[c|0];v[f+12>>2]=d;v[f+8>>2]=438;d=a;a=e|c<<8;h=a?d+a|0:280448;i=w[h+1|0]|w[h|0]<<8;if(i){c=h+2|0;while(1){d=Ca-272|0;Ca=d;j=v[f+12>>2];a=w[c+1|0]|w[c|0]<<8;e=a?a+h|0:280448;l=w[e+3|0];m=v[f+8>>2];g=w[e+1|0];k=w[e|0];n=w[e+2|0];a=0;v[d+268>>2]=0;g=g|k<<8;k=e+4|0;if(Lf(b,g,k,m,j,d+268|0,d,0)){a=v[d+268>>2];if(a>>>0>=2){j=v[b+100>>2];e=v[j+72>>2];Mb(j,e,a+e|0)}a=lg(b,g,d,n<<8|l,k+(g?(g<<1)-2|0:0)|0,a)}Ca=d+272|0;if(!a){c=c+2|0;i=i-1|0;if(i){continue}}break}}else{a=0}d=a}Ca=f+16|0;return d}function Oo(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;e=(a+2|0)+(w[a+3|0]<<1|w[a+2|0]<<9)|0;c=e+2|0;d=w[e+3|0]|w[c|0]<<8?e+4|0:280448;d=w[d|0]<<8|w[d+1|0];gc(d?d+a|0:280448,v[b+12>>2]);f=w[e+3|0];h=w[c|0];g=c+(f<<1|h<<9)|0;j=w[g+3|0];c=g+2|0;k=w[c|0];i=(j<<1|k<<9)+c|0;m=w[i+2|0];n=w[i+3|0];d=w[a+3|0]|w[a+2|0]<<8;if(d){o=v[b+8>>2];c=a+4|0;while(1){l=w[c+1|0]|w[c|0]<<8;gc(l?l+a|0:280448,o);c=c+2|0;d=d-1|0;if(d){continue}break}}d=k<<8|j;c=f|h<<8;a:{if(!c){break a}f=c-1|0;if(!f){break a}c=e+6|0;e=v[b+12>>2];while(1){h=w[c+1|0]|w[c|0]<<8;gc(h?h+a|0:280448,e);c=c+2|0;f=f-1|0;if(f){continue}break}}if(d){c=g+4|0;e=v[b+16>>2];while(1){g=w[c+1|0]|w[c|0]<<8;gc(g?g+a|0:280448,e);c=c+2|0;d=d-1|0;if(d){continue}break}}a=m<<8|n;if(a){d=i+4|0;c=0;while(1){e=d+(c<<2)|0;Mo(b,w[e+2|0]<<8|w[e+3|0]);c=c+1|0;if((a|0)!=(c|0)){continue}break}}}function Kj(a,b){var c=0,d=0,e=0,f=0,g=0;g=v[a+4>>2];d=v[a>>2];a:{if((d|0)<0){break a}c=g;e=c+v[b+4>>2]|0;e=(e|0)>0?e:0;if(e>>>0>d>>>0){c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}b:{if(!(c>>>0<d>>>0|c>>>0>268435454)){d=gb(v[a+8>>2],c<<4);if(d){break b}}v[a>>2]=-1;break a}v[a>>2]=c;v[a+8>>2]=d;c=v[a+4>>2]}if(c>>>0<e>>>0){Ra(v[a+8>>2]+(c<<4)|0,0,e-c<<4)}v[a+4>>2]=e}c=v[b+4>>2];if(c){while(1){c:{if(c>>>0<=f>>>0){c=v[70115];v[163918]=v[70114];v[163919]=c;c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664;break c}c=v[b>>2]+(f<<4)|0}d=f+g|0;d:{if(d>>>0>=y[a+4>>2]){d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break d}d=v[a+8>>2]+(d<<4)|0}e=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=e;e=v[c+12>>2];v[d+8>>2]=v[c+8>>2];v[d+12>>2]=e;c=v[b+4>>2];f=f+1|0;if(c>>>0>f>>>0){continue}break}}}function yc(a){var b=0,c=0,d=0;a:{b:{if(!cb(a,0,1)){b=v[a+80>>2];break b}b=v[a+72>>2];c=v[a+76>>2];if(b>>>0>c>>>0){break a}c:{if(b>>>0<c>>>0){c=v[a+80>>2];d=v[a+92>>2];b=v[a+88>>2]+B(b,20)|0;break c}d=v[a+92>>2];c=v[a+80>>2];b=d+B(c?c-1|0:0,20)|0}c=B(c,20)+d|0;d=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=d;v[c+16>>2]=v[b+16>>2];d=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=d;v[c>>2]=9676;b=v[a+80>>2]+1|0;v[a+80>>2]=b}b=v[a+92>>2]+B(b?b-1|0:0,20)|0;u[b+16>>1]=x[b+16>>1]&65407;d:{if(w[a+69|0]){e:{if(v[a+92>>2]==v[a+88>>2]){b=v[a+80>>2];if((b|0)==v[a+72>>2]){break e}}if(!cb(a,1,1)){break d}c=v[a+88>>2]+B(v[a+72>>2],20)|0;d=v[c+4>>2];b=v[a+92>>2]+B(v[a+80>>2],20)|0;v[b>>2]=v[c>>2];v[b+4>>2]=d;v[b+16>>2]=v[c+16>>2];d=v[c+12>>2];v[b+8>>2]=v[c+8>>2];v[b+12>>2]=d;b=v[a+80>>2]}v[a+80>>2]=b+1}v[a+72>>2]=v[a+72>>2]+1}return}O(264172,264192,223,264207);L()}function bu(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(b>>>0>16777215){break a}i=v[a+12>>2]+a|0;f=v[a+8>>2]+a|0;e=v[a+4>>2];if(!(e&e-1)){b:{if(!e){f=Va(32);i=Va(16);if(!(!f|!i)){e=0;break b}if(f){Pa(f)}if(!i){break a}Pa(i);return 0}g=gb(f,e<<3);if(!g){break a}e=e<<2;i=gb(i,e);if(!i){b=gb(g,e);if(!b){break a}v[a+8>>2]=b-a;return 0}f=g-f|0;e=v[a+4>>2];c:{if(!f|(e|0)<1){break c}l=e&3;if(e-1>>>0>=3){m=e&-4;while(1){h=k<<2;j=h+g|0;v[j>>2]=v[j>>2]-f;j=g+(h|4)|0;v[j>>2]=v[j>>2]-f;j=g+(h|8)|0;v[j>>2]=v[j>>2]-f;h=g+(h|12)|0;v[h>>2]=v[h>>2]-f;k=k+4|0;m=m-4|0;if(m){continue}break}}if(!l){break c}while(1){h=g+(k<<2)|0;v[h>>2]=v[h>>2]-f;k=k+1|0;l=l-1|0;if(l){continue}break}}f=g}v[a+12>>2]=i-a;v[a+8>>2]=f-a}g=(d<<2)+f|0;mb(g+4|0,g,e-d<<2);k=1;e=(d<<1)+i|0;mb(e+2|0,e,v[a+4>>2]-d<<1);u[e>>1]=b>>>8;v[g>>2]=c-f;v[a+4>>2]=v[a+4>>2]+1}return k}function yx(a,b){var c=0,d=0,e=0,f=0;d=Hb(b);v[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){t[a+20|0]=e;e=v[d+12>>2];v[a+4>>2]=e;c=v[d+16>>2];v[a+8>>2]=c+e;if((c|0)<=-1){break a}v[a+24>>2]=0;f=a;if(c>>>0>67108862){c=1073741823}else{c=c<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}v[f+12>>2]=c;v[a>>2]=0;if(!e){Sa(d);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;return b}d=wx(e,a);c=v[a+24>>2];f:{if(d){if(!c){break f}v[a+24>>2]=0;c=wx(e,a);d=v[a+24>>2];Sa(v[a+28>>2]);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(w[a+20|0]|!c){break d}c=xc(b);v[a+4>>2]=c;v[a+8>>2]=c+v[b+16>>2];d=v[a+28>>2];e=1;if(c){continue}break c}break}Sa(v[a+28>>2]);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}if(v[b+4>>2]){v[b+4>>2]=0}return b}d=v[a+28>>2]}Sa(d);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}Sa(b);return 280448}O(248800,248825,194,248842);L()}function np(a,b){var c=0,d=0,e=0,f=0;d=Hb(b);v[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){t[a+20|0]=e;e=v[d+12>>2];v[a+4>>2]=e;c=v[d+16>>2];v[a+8>>2]=c+e;if((c|0)<=-1){break a}v[a+24>>2]=0;f=a;if(c>>>0>67108862){c=1073741823}else{c=c<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}v[f+12>>2]=c;v[a>>2]=0;if(!e){Sa(d);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;return b}d=Jo(e,a);c=v[a+24>>2];f:{if(d){if(!c){break f}v[a+24>>2]=0;c=Jo(e,a);d=v[a+24>>2];Sa(v[a+28>>2]);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(w[a+20|0]|!c){break d}c=xc(b);v[a+4>>2]=c;v[a+8>>2]=c+v[b+16>>2];d=v[a+28>>2];e=1;if(c){continue}break c}break}Sa(v[a+28>>2]);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}if(v[b+4>>2]){v[b+4>>2]=0}return b}d=v[a+28>>2]}Sa(d);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}Sa(b);return 280448}O(229786,229811,194,229828);L()}function lh(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(a){b=u[a+56>>1];u[a+20>>1]=b+x[a+20>>1];c=x[a+22>>1];u[a+22>>1]=c+x[a+58>>1];i=v[a+48>>2]+v[a+84>>2]|0;v[a+48>>2]=i;a:{if((b|0)<1){break a}g=b&3;d=v[a+68>>2];if(b-1>>>0>=3){h=b&-4;while(1){b=f<<1;e=b+d|0;u[e>>1]=c+x[e>>1];e=d+(b|2)|0;u[e>>1]=c+x[e>>1];e=d+(b|4)|0;u[e>>1]=c+x[e>>1];b=d+(b|6)|0;u[b>>1]=c+x[b>>1];f=f+4|0;h=h-4|0;if(h){continue}break}}if(!g){break a}while(1){b=d+(f<<1)|0;u[b>>1]=c+x[b>>1];f=f+1|0;g=g-1|0;if(g){continue}break}}v[a+84>>2]=0;v[a+56>>2]=0;b=a;d=v[a+24>>2];if(d){c=d+(u[a+22>>1]<<3)|0}else{c=0}v[b+60>>2]=c;d=a- -64|0;c=v[a+28>>2];if(c){b=c+u[a+22>>1]|0}else{b=0}v[d>>2]=b;b=a;d=v[a+32>>2];if(d){c=d+(u[a+20>>1]<<1)|0}else{c=0}v[b+68>>2]=c;if(w[a+16|0]){c=u[a+22>>1]<<3;v[a+76>>2]=c+v[a+40>>2];v[a+80>>2]=c+v[a+44>>2]}b=a;a=v[a+52>>2];v[b+88>>2]=a?a+(i<<5)|0:0}}function Op(a,b){var c=0,d=0,e=0,f=0;d=Hb(b);v[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){t[a+20|0]=e;e=v[d+12>>2];v[a+4>>2]=e;c=v[d+16>>2];v[a+8>>2]=c+e;if((c|0)<=-1){break a}v[a+24>>2]=0;f=a;if(c>>>0>67108862){c=1073741823}else{c=c<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}v[f+12>>2]=c;v[a>>2]=0;if(!e){Sa(d);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;return b}d=Ip(e,a);c=v[a+24>>2];f:{if(d){if(!c){break f}v[a+24>>2]=0;c=Ip(e,a);d=v[a+24>>2];Sa(v[a+28>>2]);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(w[a+20|0]|!c){break d}c=xc(b);v[a+4>>2]=c;v[a+8>>2]=c+v[b+16>>2];d=v[a+28>>2];e=1;if(c){continue}break c}break}Sa(v[a+28>>2]);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}if(v[b+4>>2]){v[b+4>>2]=0}return b}d=v[a+28>>2]}Sa(d);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}Sa(b);return 280448}O(229360,229385,194,229402);L()}function Np(a,b){var c=0,d=0,e=0,f=0;d=Hb(b);v[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){t[a+20|0]=e;e=v[d+12>>2];v[a+4>>2]=e;c=v[d+16>>2];v[a+8>>2]=c+e;if((c|0)<=-1){break a}v[a+24>>2]=0;f=a;if(c>>>0>67108862){c=1073741823}else{c=c<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}v[f+12>>2]=c;v[a>>2]=0;if(!e){Sa(d);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;return b}d=Fp(e,a);c=v[a+24>>2];f:{if(d){if(!c){break f}v[a+24>>2]=0;c=Fp(e,a);d=v[a+24>>2];Sa(v[a+28>>2]);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(w[a+20|0]|!c){break d}c=xc(b);v[a+4>>2]=c;v[a+8>>2]=c+v[b+16>>2];d=v[a+28>>2];e=1;if(c){continue}break c}break}Sa(v[a+28>>2]);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}if(v[b+4>>2]){v[b+4>>2]=0}return b}d=v[a+28>>2]}Sa(d);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}Sa(b);return 280448}O(229360,229385,194,229402);L()}function Lp(a,b){var c=0,d=0,e=0,f=0;d=Hb(b);v[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){t[a+20|0]=e;e=v[d+12>>2];v[a+4>>2]=e;c=v[d+16>>2];v[a+8>>2]=c+e;if((c|0)<=-1){break a}v[a+24>>2]=0;f=a;if(c>>>0>67108862){c=1073741823}else{c=c<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}v[f+12>>2]=c;v[a>>2]=0;if(!e){Sa(d);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;return b}d=yp(e,a);c=v[a+24>>2];f:{if(d){if(!c){break f}v[a+24>>2]=0;c=yp(e,a);d=v[a+24>>2];Sa(v[a+28>>2]);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(w[a+20|0]|!c){break d}c=xc(b);v[a+4>>2]=c;v[a+8>>2]=c+v[b+16>>2];d=v[a+28>>2];e=1;if(c){continue}break c}break}Sa(v[a+28>>2]);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}if(v[b+4>>2]){v[b+4>>2]=0}return b}d=v[a+28>>2]}Sa(d);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}Sa(b);return 280448}O(229360,229385,194,229402);L()}function sk(a,b,c){a:{switch(c-1|0){case 0:v[b>>2]=v[a+4>>2];return;case 1:v[b>>2]=v[a+4>>2]+v[a+12>>2];v[b+4>>2]=v[a+8>>2]+v[a+12>>2];return;case 2:v[b>>2]=v[a+4>>2]+(v[a+12>>2]+(v[a+20>>2]+v[a+28>>2]|0)|0);v[b+4>>2]=v[a+8>>2]+(v[a+12>>2]+(v[a+24>>2]+v[a+28>>2]|0)|0);v[b+8>>2]=v[a+16>>2]+(v[a+20>>2]+(v[a+24>>2]+v[a+28>>2]|0)|0);return;default:break a}}v[b>>2]=v[a+4>>2]+(v[a+12>>2]+(v[a+20>>2]+(v[a+28>>2]+(v[a+36>>2]+(v[a+44>>2]+(v[a+52>>2]+v[a+60>>2]|0)|0)|0)|0)|0)|0);v[b+4>>2]=v[a+8>>2]+(v[a+12>>2]+(v[a+24>>2]+(v[a+28>>2]+(v[a+40>>2]+(v[a+44>>2]+(v[a+56>>2]+v[a+60>>2]|0)|0)|0)|0)|0)|0);v[b+8>>2]=v[a+16>>2]+(v[a+20>>2]+(v[a+24>>2]+(v[a+28>>2]+(v[a+48>>2]+(v[a+52>>2]+(v[a+56>>2]+v[a+60>>2]|0)|0)|0)|0)|0)|0);v[b+12>>2]=v[a+32>>2]+(v[a+36>>2]+(v[a+40>>2]+(v[a+44>>2]+(v[a+48>>2]+(v[a+52>>2]+(v[a+56>>2]+v[a+60>>2]|0)|0)|0)|0)|0)|0)}function xO(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=eb(1,8);a:{if(d){h=d;c=v[a+44>>2];b=0;b:{if((c|0)<1){break b}f=v[a+48>>2];e=c-1|0;c:{while(1){c=e+g>>>1|0;b=v[B(c,36)+f>>2];d:{if(b>>>0>=1919969383){e=c-1|0;break d}if((b|0)==1919969382){break c}g=c+1|0}if((e|0)>=(g|0)){continue}break}b=0;break b}b=v[(B(c,36)+f|0)+28>>2]}v[h>>2]=b;b=v[a+4>>2];e:{if((b|0)<=1315663726){if((b|0)<=1298230883){if((b|0)==1097100397|(b|0)==1098015074|(b|0)==1130918515){break e}break a}f:{switch(b-1298230884|0){case 1:case 2:case 3:case 4:break a;case 0:case 5:break e;default:break f}}if((b|0)==1299148391){break e}break a}if((b|0)<=1383032934){if((b|0)==1315663727|(b|0)==1349017959|(b|0)==1349020784){break e}break a}if((b|0)==1383032935|(b|0)==1400468067){break e}if((b|0)!=1399809892){break a}}a=Rw(a);v[d+4>>2]=a;if(a){break a}Pa(d)}d=0}return d|0}function OA(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;d=v[b>>2]+1|0;a:{if(d>>>0>65535){break a}a=v[a+16>>2];j=a+518|0;k=a+6|0;while(1){b:{a=d>>>8|0;c:{d:{e:{if(!a){c=(d<<1&510)+k|0;a=j;if(!(w[c|0]<<8|w[c+1|0])){break e}break d}a=(a<<1)+k|0;a=w[a|0]<<8|w[a+1|0]&248;if(!a){break d}a=a+j|0}c=a;a=w[c+1|0]|w[c|0]<<8;g=w[c+3|0]|w[c+2|0]<<8;e=d&255;f=w[c+6|0];h=w[c+7|0];l=w[c+4|0];m=w[c+5|0];if(d>>>0<=255){i=256;if(e>>>0>=a+g>>>0){break c}}h=h|f<<8;if(!h){if((d|0)!=256){break d}break b}f=(d&-256)+(a>>>0>e>>>0?a:e)|0;a=e-a|0;a=a>>>0>e>>>0?0:a;if(g>>>0>a>>>0){e=l<<8|m;d=c+6+(h+(a<<1))|0;while(1){c=w[d+1|0]|w[d|0]<<8;if(c){c=c+e&65535;if(c){break a}}d=d+2|0;f=f+1|0;a=a+1|0;if(g>>>0>a>>>0){continue}break}}d=f-((g|0)!=0)|0}i=d>>>0<256?d+1|0:d+256&-256}d=i;if(d>>>0<65536){continue}}break}f=0;c=0}v[b>>2]=f;return c|0}function lJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Ca-16|0;Ca=g;f=v[b>>2];a:{if((f|0)==(c|0)){break a}k=a+72|0;l=a+884|0;while(1){m=b;i=(w[f|0]<<2)+l|0;h=t[i|0];b:{if(!h){h=0;f=Ea[v[a+364>>2]](v[a+368>>2],f)|0;c:{if((f|0)<0){break c}if((f|0)<=127){t[g+12|0]=f;h=1;break c}if((f|0)<=2047){t[g+13|0]=f&63|128;t[g+12|0]=f>>>6|192;h=2;break c}if((f|0)<=65535){t[g+14|0]=f&63|128;t[g+12|0]=f>>>12|224;t[g+13|0]=f>>>6&63|128;h=3;break c}if((f|0)>1114111){break c}t[g+15|0]=f&63|128;t[g+12|0]=f>>>18|240;t[g+14|0]=f>>>6&63|128;t[g+13|0]=f>>>12&63|128;h=4}if((e-v[d>>2]|0)<(h|0)){j=2;break a}i=g+12|0;f=v[b>>2];f=(w[w[f|0]+k|0]+f|0)-3|0;break b}if((e-v[d>>2]|0)<(h|0)){j=2;break a}i=i+1|0;f=f+1|0}v[m>>2]=f;Ta(v[d>>2],i,h);v[d>>2]=v[d>>2]+h;f=v[b>>2];if((f|0)!=(c|0)){continue}break}}Ca=g+16|0;return j|0}function $C(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=v[a+16>>2];c=161;a:{if(y[a+20>>2]<b+20>>>0){break a}f=v[a+32>>2];b:{c:{b=v[b>>2];d=w[b|0];if((d|0)!=255){if((d|0)!=30){break c}b=zc(a,b,0,0)>>16;break b}b=((w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16))<<8)+32768>>16;break b}e=b+1|0;d:{switch(d-28|0){case 0:c=3;if(y[a+8>>2]<=b+2>>>0){break a}b=(w[b+2|0]|w[e|0]<<8)<<16>>16;break b;case 1:c=3;if(y[a+8>>2]<=b+4>>>0){break a}b=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b;default:break d}}b=d-139|0;if(d>>>0<=246){break b}b=v[a+8>>2];if(d>>>0<=250){c=3;if(b>>>0<=e>>>0){break a}b=(w[e|0]|d<<8)-63124|0;break b}c=3;if(b>>>0<=e>>>0){break a}b=64148-(w[e|0]|d<<8)|0}c=3;if(b-2>>>0>14){break a}u[f+176>>1]=b;d=(v[a+20>>2]-v[a+16>>2]>>>2|0)-4|0;u[f+178>>1]=d;u[a+38>>1]=d;u[a+36>>1]=b;c=0}return c|0}function Am(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=d-b|0;i=e-c|0;if(h|i){g=v[a+28>>2];j=g+1|0;f=v[a+36>>2];a:{if(j>>>0<=f>>>0){f=v[a+20>>2];break a}f=f<<1;f=f>>>0>64?f:64;while(1){g=f;f=f<<1;if(g>>>0<j>>>0){continue}break}f=gb(v[a+20>>2],B(g,40));if(!f){return 0}v[a+36>>2]=g;v[a+20>>2]=f;g=v[a+28>>2];j=g+1|0}v[a+28>>2]=j;a=B(g,40)+f|0;f=(c|0)>(e|0);v[a+36>>2]=f?c:e;v[a+32>>2]=f?e:c;e=(b|0)>(d|0);v[a+28>>2]=e?b:d;v[a+24>>2]=e?d:b;d=(h|0)<0?62:60;v[a+20>>2]=(i|0)>-1?d^3:d;d=h>>31;d=d+h^d;e=i>>31;e=e+i^e;e=(d|0)>(e|0)?d:e;f=E(e)^31;d=30-f|0;v[a+12>>2]=0-h<<d;v[a+8>>2]=i<<d;b=eQ(i,i>>31,b,b>>31);g=Da;d=1<<d;c=eQ(h,h>>31,c,c>>31);k=a,l=eQ(d,d>>31,b-c|0,g-(Da+(b>>>0<c>>>0)|0)|0),v[k>>2]=l;v[a+4>>2]=Da;b=a;d=e<<31-f;eQ(d,0,d,0);eQ(Da,0,1395864371,0);c=Da;eQ(d,0,-1144608785,0);d=Da;a=(c-d|0)-2012192179|0;v[b+16>>2]=a}return 1}function Be(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=1;a:{if(!a){break a}h=v[a+8>>2]+a|0;a=v[a>>2];b:{if((a|0)<=0){a=0}else{f=a-1|0;while(1){a=e+f>>1;i=v[(a<<3)+h>>2]-b|0;if(!i){break b}j=(i|0)<0;e=j?a+1|0:e;f=j?f:a-1|0;if((e|0)<=(f|0)){continue}break}a=(i>>>31|0)+a|0}a=a^-1}if(!h|(a|0)<0){break a}g=3;b=(a<<3)+h|0;a=v[b+4>>2];a=a&1?(a&-2)+b|0:a;if(!a){break a}while(1){if(!c){e=a+8|0;c:{d:{e:{f:{g:{h:{c=v[a+8>>2];switch(c-3|0){case 6:break e;case 5:break f;case 3:break g;case 0:break h;default:break d}}b=v[a+16>>2];a=b&1?(b&-2)+e|0:b;break c}b=v[a+16>>2];a=b&1?(b&-2)+e|0:b;break c}b=v[a+16>>2];a=b&1?(b&-2)+e|0:b;break c}b=v[a+16>>2];a=b&1?(b&-2)+e|0:b;break c}e=v[a+20>>2];b=v[a+12>>2];a=v[a+16>>2]}v[d+12>>2]=e;v[d+8>>2]=a;v[d+4>>2]=b;v[d>>2]=c;g=0;break a}c=c-1|0;b=a;a=v[a>>2];a=a&1?b+(a&-2)|0:a;if(a){continue}break}}return g}function rK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;$e(b+4|0);$e(b+28|0);a:{b:{c:{switch(v[a>>2]){case 0:a=v[a+8>>2];if(!a){break b}e=v[a-8>>2];if(!e){break a}b=a-4|0;c=v[b>>2];if(!c){break a}d=b;b=c-1|0;v[d>>2]=b;if(b){break b}d=a-32|0;b=v[d>>2];if(b){c=v[a-24>>2];if(c){v[c+12>>2]=v[a-20>>2]}v[v[a-20>>2]>>2]=c;v[b+32>>2]=v[b+32>>2]-1;v[b+20>>2]=v[b+20>>2]-e}b=v[a-28>>2];Ea[v[b+16>>2]](a+(v[b+24>>2]+7&-8)|0,a);Pa(d);return;case 1:Pa(v[a+8>>2]);return;case 2:break c;default:break b}}a=v[a+8>>2];if(!a){break b}e=v[a-8>>2];if(!e){break a}b=a-4|0;c=v[b>>2];if(!c){break a}d=b;b=c-1|0;v[d>>2]=b;if(b){break b}d=a-32|0;b=v[d>>2];if(b){c=v[a-24>>2];if(c){v[c+12>>2]=v[a-20>>2]}v[v[a-20>>2]>>2]=c;v[b+32>>2]=v[b+32>>2]-1;v[b+20>>2]=v[b+20>>2]-e}b=v[a-28>>2];Ea[v[b+16>>2]](a+(v[b+24>>2]+7&-8)|0,a);Pa(d)}return}O(364907,364851,432,364955);L()}function jN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Ca-16|0;Ca=e;d=v[a+16>>2];f=v[a+12>>2];a:{b:{if(!Wa(b,298652)){b=v[c>>2];if(!b){d=35;break a}d=v[b+116>>2];v[e+8>>2]=d;if(!d){d=yj(b,e+8|0,a);if(d){break a}d=v[e+8>>2];v[b+116>>2]=d;v[b+120>>2]=598}v[c+4>>2]=v[d+8>>2];break b}if(!Wa(b,298564)){v[c>>2]=v[v[(f<<2)+293760>>2]+8>>2];break b}if(!Wa(b,298580)){v[c>>2]=d;break b}if(!Wa(b,298595)){b=v[c>>2];if(!b){d=35;break a}d=v[b+116>>2];v[e+12>>2]=d;if(!d){d=yj(b,e+12|0,a);if(d){break a}d=v[e+12>>2];v[b+116>>2]=d;v[b+120>>2]=598}v[c+4>>2]=v[d+20>>2];break b}if(!Wa(b,298613)){v[c>>2]=v[a+24>>2];v[c+4>>2]=v[a+28>>2];v[c+8>>2]=v[a+32>>2];v[c+12>>2]=v[a+36>>2];v[c+16>>2]=v[a+40>>2];v[c+20>>2]=v[a+44>>2];v[c+24>>2]=v[a+48>>2];v[c+28>>2]=v[a+52>>2];break b}d=12;if(Wa(b,298634)){break a}t[c|0]=w[a+20|0]}d=0}Ca=e+16|0;return d|0}function vd(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;f=Ca-32|0;Ca=f;g=a+136|0;if(!(y[Ic(g)+4>>2]<=b>>>0)){v[f+20>>2]=d;v[f+16>>2]=c;v[f+12>>2]=a;v[f+8>>2]=0;t[f+24|0]=(e|0)!=0;a=280448;e=v[Ic(g)>>2];e=e?e:280448;h=y[e+16>>2]<10?280448:v[e+12>>2];e=w[h+9|0]|w[h+8|0]<<8;e=e?e+h|0:280448;if((w[e|0]<<8|w[e+1|0])>>>0>b>>>0){a=e+(b<<1)|0;a=w[a+2|0]<<8|w[a+3|0];a=a?a+e|0:280448}e=Ic(g);a:{if(!d){break a}e=v[e+8>>2];d=e+B(b,24)|0;c=v[c>>2];if(!(v[d>>2]>>>(c>>>4)&1)|!(v[d+4>>2]>>>c&1)|!(v[(e+B(b,24)|0)+8>>2]>>>(c>>>9)&1)){break a}b=0;d=w[a+5|0];e=w[a+4|0];i=d|e<<8;if(!i){break a}g=a+4|0;h=w[a+1|0]|w[a|0]<<8;j=1;while(1){c=(d&255|(e&255)<<8)>>>0>b>>>0?(g+(b<<1)|0)+2|0:280448;c=w[c|0]<<8|w[c+1|0];if(Zo(c?c+a|0:280448,f+8|0,h)){break a}b=b+1|0;j=i>>>0>b>>>0;if((b|0)==(i|0)){break a}d=w[a+5|0];e=w[a+4|0];continue}}}Ca=f+32|0;return j}function dq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=v[a+28>>2];a:{if((b|0)==-1){break a}e=v[a+36>>2];h=v[a+40>>2];if(e>>>0>=h>>>0){break a}j=v[a>>2];d=b+1|0;k=v[a+16>>2]+20|0;while(1){b:{c=B(e,12)+k|0;b=c-4|0;b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);d=d>>>0<f>>>0?f:d;b=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);g=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(d>>>0>g>>>0){break b}b=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);i=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=g+1|0;c:{while(1){c=d-f|0;if((c^-1)>>>0<i>>>0){break b}c=c+i|0;if(c){break c}if((d|0)==-1){break a}c=(d|0)==(g|0);d=d+1|0;if(!c){continue}break}d=b;break b}if(c>>>0>=y[j+16>>2]){break b}v[a+36>>2]=e;v[a+32>>2]=c;v[a+28>>2]=d;return}e=e+1|0;if((h|0)!=(e|0)){continue}break}}t[a+24|0]=0}function Qn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=w[a+3|0]|w[a+2|0]<<8;c=v[b+100>>2];g=xb(f?f+a|0:280448,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);a:{if((g|0)==-1){break a}e=v[c+72>>2];v[b+40>>2]=1;v[b+4>>2]=e;d=v[v[b+8>>2]+100>>2];v[b+44>>2]=v[d+76>>2];t[b+24|0]=(e|0)==v[d+72>>2]?w[(v[d+88>>2]+B(e,20)|0)+15|0]:0;v[b+12>>2]=v[b+132>>2]&-15;f=b+4|0;if(!Ne(f)){break a}e=v[c+88>>2];f=v[f>>2];d=e+B(f,20)|0;if(!(w[d+12|0]&8)){break a}d=w[d+14|0];h=d&16?0:d&15;c=w[(e+B(v[c+72>>2],20)|0)+14|0];i=c&16?0:c&15;c=c>>>5|0;d=d>>>5|0;b:{if((c|0)==(d|0)){if(!c|(h|0)==(i|0)){break b}break a}if(i?0:c){break b}if(h|!d){break a}}c=w[a+5|0]|w[a+4|0]<<8;c=xb(c?c+a|0:280448,v[e+B(f,20)>>2]);if((c|0)==-1){return 0}e=w[a+9|0]|w[a+8|0]<<8;d=b;b=w[a+11|0]|w[a+10|0]<<8;j=Pj(e?e+a|0:280448,d,g,c,b?b+a|0:280448,w[a+7|0]|w[a+6|0]<<8,f)}return j}function Yt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!a){return-1}e=v[a+4>>2];h=v[a+12>>2]+a|0;a:{b:{if(h){d=e-1|0;i=v[c>>2];c:{d:{e:{if((e|0)<1){break e}k=i>>>8|0;l=k&65535;while(1){g=d+j|0;f=g>>1;g=x[(g&-2)+h>>1];if((g|0)==(l|0)){break c}g=g>>>0<l>>>0;j=g?f+1|0:j;d=g?d:f-1|0;if((j|0)<=(d|0)){continue}break}if((d|0)<0){break e}if((d|0)>=(e|0)|x[(d<<1)+h>>1]>=(k&65535)>>>0){break d}}d=d+1|0}f=d^-1}if((f|0)>-1){break b}f=f^-1}else{f=0}i=-1;if((e|0)==(f|0)){break a}i=x[(f<<1)+h>>1]<<8}d=v[a+8>>2]+a|0;d=v[d+(f<<2)>>2]+d|0;if(!d){return-1}e=v[d+4>>2];v[b>>2]=v[d>>2];v[b+4>>2]=e;e=v[d+28>>2];v[b+24>>2]=v[d+24>>2];v[b+28>>2]=e;e=v[d+20>>2];v[b+16>>2]=v[d+16>>2];v[b+20>>2]=e;e=v[d+12>>2];v[b+8>>2]=v[d+8>>2];v[b+12>>2]=e;b=f+1|0;if((b|0)<v[a+4>>2]){a=x[(v[a+12>>2]+a|0)+(b<<1)>>1]<<8}else{a=-1}v[c>>2]=a}return i}function lA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=a+16|0;if(c>>>0>y[b+160>>2]){ob(b,8)}d=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if((d-16>>>0)/12>>>0>=g>>>0?d>>>0<16|d>>>0>v[b+160>>2]-a>>>0:1){ob(b,8)}if(g){a=0;while(1){d=a;f=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);a=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);e=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(a>>>0<e>>>0){ob(b,8)}if(!(!h|d>>>0<e>>>0)){ob(b,8)}if(!(!v[b+164>>2]|y[b+172>>2]>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0)){ob(b,16)}c=c+12|0;h=h+1|0;if((h|0)!=(g|0)){continue}break}}return 0}function Xn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;i=v[b+4>>2];if(i>>>0>a>>>0){return 0}e=v[b+8>>2];if(e>>>0<a>>>0){return 0}if(e-a>>>0<2){return 0}g=v[b+12>>2];f=g-2|0;v[b+12>>2]=f;h=1;if((f|0)<1){return 0}f=w[a+1|0]|w[a|0]<<8;a:{if(!f){break a}b:{c=c+f|0;if(c>>>0<i>>>0|c>>>0>e>>>0|e-c>>>0<2){break b}d=v[d>>2];f=g-4|0;v[b+12>>2]=f;if((f|0)<1){break b}h=w[c+1|0]|w[c|0]<<8;if(h>>>0>=4294967295/(d>>>0)>>>0?d:0){break b}g=B(d,h);if(g>>>0>2147483646){break b}h=1;if(!g){break a}d=c+2|0;if(d>>>0<i>>>0|d>>>0>e>>>0){break b}e=e-d|0;d=g<<1;if(e>>>0<d>>>0){break b}e=f-d|0;v[b+12>>2]=e;d=0;if((e|0)<=0){break b}while(1){if(!Wh((d|0)<0?280448:(c+(d<<1)|0)+2|0,b,c)){break b}d=d+1|0;if((g|0)!=(d|0)){continue}break}break a}c=v[b+24>>2];if(c>>>0>31){return 0}v[b+24>>2]=c+1;h=0;if(!w[b+20|0]){break a}t[a|0]=0;t[a+1|0]=0;h=1}return h}function DM(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;a:{h=v[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){c=v[a>>2];d=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=x[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((B(h,63)|0)/64|0)>>1&k;break c}if(!(!(l&16)|v[a+8>>2]>(d-c|0)?v[e+28>>2]!=(f|0)|v[e+16>>2]>0:1)|!(!(l&32)|v[a+8>>2]>(d-c|0)?v[f+28>>2]!=(e|0)|v[e+20>>2]!=(b|0):1)){break a}if((m|0)==1){break c}j=(c+d|0)+((B(h,63)|0)/64|0)>>1&k}c=v[a>>2];d=g;d=(j|0)>=0?x[a+50>>1]>(j>>>c|0)?j:i:d;b=((g|0)==(d|0)?i:g)>>c;if((b|0)<0|(b|0)>=x[a+50>>1]){break b}if(w[v[a+56>>2]+(b<<13>>16)|0]<<(b&7)&128){break a}}b=d>>c;if((b|0)<0|(b|0)>=x[a+50>>1]){break a}a=v[a+56>>2]+(b<<13>>16)|0;t[a|0]=w[a|0]|128>>>(b&7)}}function yk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ca-16|0;Ca=g;i=v[a+28>>2];v[g+12>>2]=0;a:{if(b>>>0<c>>>0){break a}b=0;f=Ua(i,4,0,c,0,g+12|0);if(!v[g+12>>2]){while(1){if(b>>>0>=c>>>0){break a}d=v[a+32>>2];if(d>>>0<y[a+36>>2]){v[a+32>>2]=d+1;e=t[d|0]}else{e=0}d=e<<24>>24;h=d&63;e=0;b:{if(d&128){while(1){v[(b<<2)+f>>2]=0;d=e+1|0;b=b+1|0;if(e>>>0>=h>>>0){break b}e=d;if(b>>>0<c>>>0){continue}break b}}if(d&64){while(1){k=(b<<2)+f|0,l=Cb(a)<<16,v[k>>2]=l;d=e+1|0;b=b+1|0;if(e>>>0>=h>>>0){break b}e=d;if(b>>>0<c>>>0){continue}break b}}while(1){j=(b<<2)+f|0;d=v[a+32>>2];if(d>>>0<y[a+36>>2]){v[a+32>>2]=d+1;d=t[d|0]}else{d=0}v[j>>2]=d<<24>>24<<16;d=e+1|0;b=b+1|0;if(e>>>0>=h>>>0){break b}e=d;if(b>>>0<c>>>0){continue}break}}if(d>>>0>h>>>0){continue}break}b=i;a=f;if(a){Ea[v[b+8>>2]](b,a)}}f=0}Ca=g+16|0;return f}function CK(a,b){a=a|0;b=b|0;return B(w[a+35|0]^B(w[a+34|0]^B(w[a+33|0]^B(w[a+32|0]^B(w[a+31|0]^B(w[a+30|0]^B(w[a+29|0]^B(w[a+28|0]^B(w[a+27|0]^B(w[a+26|0]^B(w[a+25|0]^B(w[a+24|0]^B(w[a+23|0]^B(w[a+22|0]^B(w[a+21|0]^B(w[a+20|0]^B(w[a+19|0]^B(w[a+18|0]^B(w[a+17|0]^B(w[a+16|0]^B(w[a+15|0]^B(w[a+14|0]^B(w[a+13|0]^B(w[a+12|0]^B(w[a+11|0]^B(w[a+10|0]^B(w[a+9|0]^B(w[a+8|0]^B(w[a+7|0]^B(w[a+6|0]^B(w[a+5|0]^B(w[a+4|0]^B(w[a+3|0]^B(w[a+2|0]^B(w[a+1|0]^B(w[a|0]^b,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619)|0}function hg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ca-16|0;Ca=g;h=v[v[b>>2]+16>>2];e=v[b+36>>2];i=v[e+12>>2];e=x[v[e>>2]+68>>1];Hj(i,e,e);j=v[(h<<2)+298432>>2];while(1){e=a;a=e+1|0;f=w[e|0];if((f|0)==32){continue}break}a=e;while(1){if(((f|32)&255)!=32){a=a+1|0;if(f<<24>>24<=-1){k=a;a=f&255;a=k+(a>>>0<224?1:a>>>0<240?2:3)|0}f=w[a|0];continue}break}kn(c);f=a-e|0;hw(c,e,f,f);iw(c);jn(i,c,j,(h|0)!=10);a:{if((h|0)==10){break a}b=v[v[b+36>>2]+16>>2];kn(b);hw(b,e,f,f);iw(b);jn(i,b,0,0);e=g+12|0;if(e){v[e>>2]=v[c+76>>2]}h=v[c+88>>2];e=g+8|0;if(e){v[e>>2]=v[b+76>>2]}e=v[g+12>>2];if((e|0)!=v[g+8>>2]){break a}i=v[b+88>>2];b:{c:{if(e){f=0;while(1){j=B(f,20);b=(e|0)==(f|0);if(v[j+h>>2]!=v[i+j>>2]){break c}f=f+1|0;if((e|0)!=(f|0)){continue}break}break b}b=!e}if(!b){break a}}kn(c)}v[d>>2]=v[c+76>>2];Ca=g+16|0;return a}function _u(a,b,c){var d=0,e=0,f=0;d=Ca-16|0;Ca=d;a:{if(w[v[a+88>>2]+32|0]&32){break a}v[d+12>>2]=b;v[d+8>>2]=c;Hc(d+12|0);Hc(d+8|0);e=v[d+12>>2];b:{c:{if(!w[e|0]){break c}while(1){b=e;if(!w[v[d+8>>2]]){break c}while(1){v[d+4>>2]=b;c=w[b|0];if(!(!c|(c|0)==44)){b=b+1|0;continue}break}v[d+12>>2]=((c|0)==44)+b;kd(d+4|0,e);f=v[d+8>>2];b=f;while(1){v[d>>2]=b;c=w[b|0];if(!(!c|(c|0)==44)){b=b+1|0;continue}break}v[d+8>>2]=((c|0)==44)+b;kd(d,f);b=v[d+4>>2];d:{if((b-e|0)!=5){break d}if($a(e,2833,5)){break d}b=2843;v[d+4>>2]=2843;e=2839}c=v[d>>2];e:{if((c-f|0)!=5){break e}if($a(f,2833,5)){break e}c=2843;v[d>>2]=2843;f=2839}b=b-e|0;if((b|0)!=(c-f|0)){break b}if(De(e,f,b)){break b}Hc(d+12|0);Hc(d+8|0);e=v[d+12>>2];if(w[e|0]){continue}break}}if(w[e|0]==w[v[d+8>>2]]){break a}}hb(v[a+84>>2],4,2753,0);v[a+60>>2]=1}Ca=d+16|0}function YI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=c-b|0;if((e|0)>=1){a:{g=a+72|0;while(1){b:{c:{d:{e:{f:{switch(w[w[b|0]+g|0]){case 5:if((e|0)<2){return-2}if(Ea[v[a+352>>2]](a,b)|0){break e}b=b+2|0;break b;case 6:if((e|0)<3){return-2}if(Ea[v[a+356>>2]](a,b)|0){break e}b=b+3|0;break b;case 7:if((e|0)<4){return-2}if(Ea[v[a+360>>2]](a,b)|0){break e}b=b+4|0;break b;case 2:e=b+1|0;if((c-e|0)<1){break a}if(w[e|0]!=33){b=e;break b}e=b+2|0;if((c-e|0)<1){break a}if(w[e|0]!=91){b=e;break b}b=b+3|0;f=f+1|0;break b;case 0:case 1:case 8:break e;case 4:break f;default:break c}}e=b+1|0;if((c-e|0)<1){break a}if(w[e|0]!=93){b=e;break b}e=b+2|0;if((c-e|0)<1){break a}if(w[e|0]!=62){b=e;break b}b=b+3|0;if(f){break d}h=42}v[d>>2]=b;return h|0}f=f-1|0;break b}b=b+1|0}e=c-b|0;if((e|0)>0){continue}break}}}return-1}function dk(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=Ca+-64|0;Ca=g;a:{if(!a|!w[a|0]){break a}e=a;a=0;b:{c:{d:{e:{f=v[163911];f:{if(f){a=f;while(1){c=e;b=v[a+4>>2];d=w[b|0];g:{if(!d){d=0;break g}while(1){if(t[w[c|0]+227712|0]!=(d|0)){break g}c=c+1|0;d=w[b+1|0];b=b+1|0;if(d){continue}break}d=0}if(t[w[c|0]+227712|0]==(d|0)){break c}a=v[a>>2];if(a){continue}break}a=eb(1,8);b=0;if(!a){break b}v[a>>2]=f;b=Xa(e)+1|0;c=Va(b);v[a+4>>2]=c;if(!c){break f}d=w[Ta(c,e,b)|0];if(d){while(1){t[c|0]=w[d+227712|0];d=w[c+1|0];c=c+1|0;if(d){continue}break}}b=a;break d}b=eb(1,8);if(!b){break c}a=Xa(e)+1|0;c=Va(a);v[b+4>>2]=c;if(c){break e}a=b}Pa(a);b=0;break b}d=w[Ta(c,e,a)|0];if(!d){a=b;break d}while(1){t[c|0]=w[d+227712|0];d=w[c+1|0];c=c+1|0;if(d){continue}break}a=b}v[163911]=b}b=a}if(!b){break a}h=v[b+4>>2]}Ca=g- -64|0;return h}function cv(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=v[a>>2];c=v[f+24>>2];a:{if((c|0)<1){break a}while(1){b=v[f+32>>2]+B(e,56)|0;if(v[b+48>>2]==(a|0)){dv(b);d=v[v[b+48>>2]+16>>2];if(d){Ea[d|0](v[b+52>>2])}v[b+48>>2]=0;c=v[f+24>>2]}e=e+1|0;if((e|0)<(c|0)){continue}break}if((c|0)<1){e=0;break a}e=0;while(1){b=v[f+32>>2];d=b+B(g,56)|0;if(v[d+48>>2]){if((e|0)!=(g|0)){c=B(e,56)+b|0;b=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=b;b=v[d+52>>2];v[c+48>>2]=v[d+48>>2];v[c+52>>2]=b;b=v[d+44>>2];v[c+40>>2]=v[d+40>>2];v[c+44>>2]=b;b=v[d+36>>2];v[c+32>>2]=v[d+32>>2];v[c+36>>2]=b;b=v[d+28>>2];v[c+24>>2]=v[d+24>>2];v[c+28>>2]=b;b=v[d+20>>2];v[c+16>>2]=v[d+16>>2];v[c+20>>2]=b;b=v[d+12>>2];v[c+8>>2]=v[d+8>>2];v[c+12>>2]=b;c=v[f+24>>2]}e=e+1|0}g=g+1|0;if((g|0)<(c|0)){continue}break}}v[f+24>>2]=e;d=v[a+20>>2];if(d){Ea[d|0](v[a+40>>2])}Pa(a)}function _i(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Ve(b);a:{b:{if((d|0)<=-1){d=d^-1;break b}c=w[d+495048|0];g=c>>>5|0;if(g>>>0>=y[a+4>>2]){break b}if(v[((g<<2)+a|0)+8>>2]>>>c&1){break a}}c=2;c:{if((d|0)>=1){e=d;while(1){g=e-1|0;f=je(b,(g<<5)+459296|0);if((f|0)!=2){h=c>>>0>f>>>0?f:c;i=c;f=w[g+495048|0];c=f>>>5|0;if(c>>>0>=y[a+4>>2]){c=0}else{c=v[((c<<2)+a|0)+8>>2]>>>f&1}c=c?h:i;f=(e|0)>1;e=g;if(f){continue}}break}if((d|0)>245){break c}}while(1){e=je(b,(d<<5)+459296|0);if((e|0)==2){break c}g=c>>>0>e>>>0?e:c;e=w[d+495048|0];f=e>>>5|0;if(f>>>0>=y[a+4>>2]){e=0}else{e=v[((f<<2)+a|0)+8>>2]>>>e&1}c=e?g:c;d=d+1|0;if((d|0)!=246){continue}break}}a=v[a>>2];if(!a){return c}a=Oc(a);if(!a){return c}e=0;d:{if(!c){break d}while(1){d=Wb(a);if(!d){e=c;break d}d=je(b,d);c=c>>>0>d>>>0?d:c;if(c){continue}break}}qc(a)}return e}function Qv(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=v[a+2744>>2]&4;f=64;a:{if(n){break a}i=1;f=(e|0)==1?55:49;if(!(!(t[b+12|0]&1)|!(t[c+12|0]&1))){break a}f=(e|0)==1?61:59}l=v[c+4>>2];m=v[b+4>>2];k=xj(a,e,l-m|0);a=(((l+m|0)/2|0)+d|0)+((k|0)/-2|0)|0;d=a&63;b:{if(!d){break b}h=a+k&63;if(!h){break b}g=64-d|0;if((f|0)>=(k|0)){if((h|0)>=(k|0)){break b}j=g>>>0>h>>>0?0-h|0:g;break b}if(i){if(f>>>0<=g>>>0|d>>>0>=f>>>0|(f>>>0<=h>>>0|f>>>0<=64-h>>>0)){break b}}i=k&63;c:{if(i>>>0<=31){if(g>>>0<=i>>>0){break b}if(h>>>0>i>>>0){break c}break b}i=64-f|0}e=g-i|0;d=f-g|0;g=(d|0)>(e|0)?e:0-d|0;j=g>>31;e=f-h|0;d=h-i|0;e=(d|0)>(e|0)?e:0-d|0;d=e>>31;j=(j^g+j)>>>0>(d^d+e)>>>0?e:g}d=j;d:{if(n){break d}d=14;if((j|0)>14){break d}d=(j|0)>-14?j:-14}f=d+a|0;e=f+k|0;a=(l|0)>(m|0);v[b+8>>2]=a?f:e;v[c+8>>2]=a?e:f;return d}function Ug(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=v[b+4>>2];a:{if(g>>>0>a>>>0){break a}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<2){break a}h=v[b+12>>2]-2|0;v[b+12>>2]=h;if((h|0)<1){break a}i=w[a+1|0]|w[a|0]<<8;if(!i){return 1}f=a+2|0;if(f>>>0<g>>>0|d>>>0<f>>>0){break a}f=d-f|0;d=i<<1;if(f>>>0<d>>>0){break a}d=h-d|0;v[b+12>>2]=d;if((d|0)<1){break a}e=1;h=w[a+1|0]|w[a|0]<<8;if(!h){break a}e=0;d=a+2|0;if(g>>>0>d>>>0){break a}g=0;while(1){b:{e=v[b+8>>2];if(e>>>0<d>>>0|e-d>>>0<2){break b}e=v[c>>2];f=v[b+12>>2]-2|0;v[b+12>>2]=f;if((f|0)<1){break b}f=w[((g<<1)+a|0)+3|0]|w[d|0]<<8;c:{if(!f){break c}if(nc(e+f|0,b)){break c}e=v[b+24>>2];if(e>>>0>31){break b}v[b+24>>2]=e+1;if(!w[b+20|0]){break b}t[d|0]=0;t[d+1|0]=0}e=1;g=g+1|0;if((h|0)==(g|0)){break a}d=((g<<1)+a|0)+2|0;if(d>>>0>=y[b+4>>2]){continue}}break}e=0}return e}function Av(a,b,c,d,e,f,g){var h=0,i=0,j=0;j=e-c|0;a:{if((j|0)<1|(e|0)<(f|0)|(c|0)>(g|0)){break a}h=d-b|0;b:{if((c|0)<(f|0)){b=fb(h,f-c|0,j)+b|0;i=v[a>>2];f=f>>i;c=0;break b}i=v[a>>2];f=c>>i;c=v[a+4>>2]-1&c}d=0;if((e|0)<=(g|0)){g=e;d=v[a+4>>2]-1&e}e=g>>i;c:{if((c|0)>=1){if((e|0)==(f|0)){break a}f=f+1|0;b=fb(h,v[a+4>>2]-c|0,j)+b|0;break c}if(!w[a+79|0]){break c}v[a+36>>2]=v[a+36>>2]-4}t[a+79|0]=!d;if(w[a+78|0]){v[v[a+80>>2]+20>>2]=f;t[a+78|0]=0}g=e-f|0;c=g+1|0;if(y[a+32>>2]<=v[a+36>>2]+(c<<2)>>>0){v[a+40>>2]=98;return 1}d=1;e=v[a+4>>2];d:{if((h|0)>=1){f=Ol(e,h,j);break d}d=-1;h=0-h|0;f=0-Ol(e,h,j)|0}h=(B(v[a+4>>2],h)|0)%(j|0)|0;e=v[a+36>>2];if((g|0)>=0){g=0-j|0;while(1){v[e>>2]=b;g=g+h|0;i=(g|0)>-1;g=g-(i?j:0)|0;b=(b+f|0)+(i?d:0)|0;e=e+4|0;i=(c|0)>1;c=c-1|0;if(i){continue}break}}v[a+36>>2]=e}return 0}function wm(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;a:{i=v[a+20>>2];if(!i){break a}m=v[b+20>>2];if(!m){break a}g=v[a+4>>2];c=g+v[a+12>>2]|0;l=v[b+4>>2];e=l+v[b+12>>2]|0;f=(g|0)<(l|0)?l:g;n=((c|0)<(e|0)?c:e)-f|0;if((n|0)<1){break a}d=v[a+16>>2];c=v[a>>2];h=d+c|0;k=v[b+16>>2];e=v[b>>2];j=k+e|0;o=(h|0)<(j|0)?h:j;h=(c|0)<(e|0)?e:c;j=o-h|0;if((j|0)<1){break a}i=i+B(d,f-g|0)+(h-c)|0;e=m+B(f-l|0,k)+(h-e)|0;l=j&-2;j=j&1;m=(h+1|0)==(o|0);h=0;while(1){c=0;g=l;if(!m){while(1){d=c+e|0;f=w[d|0];k=d;d=w[c+i|0];t[k|0]=f>>>0>d>>>0?f-(d>>>1|0)|0:0;d=c|1;k=d+e|0;f=w[k|0];d=w[d+i|0];t[k|0]=f>>>0>d>>>0?f-(d>>>1|0)|0:0;c=c+2|0;g=g-2|0;if(g){continue}break}}if(j){f=c+e|0;g=w[f|0];c=w[c+i|0];t[f|0]=c>>>0<g>>>0?g-(c>>>1|0)|0:0}e=v[b+16>>2]+e|0;i=v[a+16>>2]+i|0;h=h+1|0;if((n|0)!=(h|0)){continue}break}}}function Ot(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=v[a+104>>2];a:{if(!d){break a}if(St(a,b,d)){break a}b=v[d+8>>2];if(cj(d,b+4|0)){break a}if(Fg(d,2)){break a}a=v[d+32>>2];v[d+32>>2]=a+2;f=w[a+1|0];a=w[a|0];cm(d);if(cj(d,b+(f|a<<8)|0)){break a}g=v[d+8>>2];if(Fg(d,2)){break a}a=v[d+32>>2];v[d+32>>2]=a+2;b=w[a+1|0];a=w[a|0];cm(d);f=b|a<<8;a=Va(f<<2);v[c>>2]=a;if(!a){break a}b:{if(!f){break b}a=0;b=0;while(1){if(Fg(d,6)){break b}e=v[d+32>>2];v[d+32>>2]=e+4;e=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);v[v[c>>2]+((a&65535)<<2)>>2]=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=v[d+32>>2];v[d+32>>2]=e+2;h=w[e+1|0];e=w[e|0];cm(d);i=v[d+8>>2];e=cj(d,(e<<8|h)+g|0);cj(d,i);a=!e+a|0;b=b+1|0;if(f>>>0>(b&65535)>>>0){continue}break}if(!(a&65535)){break b}Uc(v[c>>2],f,4,860);return f}Pa(v[c>>2]);v[c>>2]=0}return 0}function nz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=v[a+872>>2];if(!h){return 0}f=v[e+8>>2];a:{if(f){b=y[e+4>>2]<y[e>>2]}else{f=0;v[e+4>>2]=0;g=x[h+2>>1];if(!g){break a}l=v[h+8>>2]+2|0;b:{while(1){i=(g-f>>>1|0)+f|0;j=B(i,6)+l|0;k=j-2|0;k=w[k|0]<<8|w[k+1|0];c:{if(k>>>0<b>>>0){f=i+1|0;break c}g=i;if(b>>>0>=k>>>0){break b}}if(f>>>0<g>>>0){continue}break}return 0}f=0;b=w[j+2|0]|w[j+3|0]<<8;b=(b<<8|b>>>8)&65535;if(!b){break a}g=w[j+1|0];i=w[j|0];v[e>>2]=b;g=g|i<<8;if(y[h+40>>2]<g+b<<2>>>0){break a}f=v[h+12>>2]+(g<<2)|0;v[e+8>>2]=f;b=(b|0)!=0}if(!b){return 0}v[e+8>>2]=f+2;v[c>>2]=w[f+1|0]|w[f|0]<<8;v[e+8>>2]=f+4;b=w[f+3|0]|w[f+2|0]<<8;v[d>>2]=b;if(y[c>>2]>=y[a+16>>2]){return 0}if((b|0)!=65535){f=0;if(b>>>0>=x[a+660>>1]){break a}}f=1;v[e+4>>2]=v[e+4>>2]+1}return f|0}function wv(a,b){var c=0,d=0,e=0,f=0,g=0;d=Ca-16|0;Ca=d;c=v[a>>2];v[d+12>>2]=c;a:{b:{if(b>>>0<=c>>>0){break b}while(1){f=0;c:{d:{e:{f:{g:{g=w[c|0];switch(g-37|0){case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:break c;case 0:break d;case 23:break e;case 3:break f;default:break g}}h:{switch(g-123|0){case 0:e=e+1|0;break c;case 2:break h;default:break c}}e=e-1|0;if(e){break c}c=c+1|0;break b}f=Um(d+12|0,b);break c}f=vv(d+12|0,b);break c}i:{while(1){j:{switch(g-10|0){case 0:case 3:break i;default:break j}}c=c+1|0;if((c|0)!=(b|0)){g=w[c|0];continue}break}c=b}v[d+12>>2]=c}c=v[d+12>>2]+1|0;v[d+12>>2]=c;if(f?0:b>>>0>c>>>0){continue}break}b=3;if(e){break a}}b=f}v[a>>2]=c;Ca=d+16|0;return b}function pu(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0;b=v[164082];a:{if(b){break a}while(1){b=gd();a=Yb(449466);b:{c:{d:{if(w[a|0]?a:0){break d}a=Yb(449474);if(w[a|0]?a:0){break d}a=Yb(449481);if(w[a|0]?a:0){break d}a=Yb(449490);if(!a|!w[a|0]){break c}}c=0;d=Ca-128|0;Ca=d;d=Ra(d,0,128);e:{if(!a){break e}e=Tb(a,58);if(e){while(1){g=a;a=e-a|0;f=a>>>0<127?a:127;a=ve(d,g,f);t[d+f|0]=0;f:{if(!w[a|0]){break f}a=Mt(a);if(!a){break f}c=ib(a);g:{if(!c){break g}if(wf(b,c,v[b+4>>2])){break g}Pa(c)}Pa(a);c=1}a=e+1|0;e=Tb(a,58);if(e){continue}break}}if(!w[a|0]){break e}a=Mt(a);if(!a){break e}c=ib(a);h:{if(!c){break h}if(wf(b,c,v[b+4>>2])){break h}Pa(c)}Pa(a);c=1}Ca=d+128|0;if(c){break b}}hd(b,449495)}v[b>>2]=-1;a=v[164082];v[164082]=a?a:b;if(!a){break a}v[b>>2]=1;bc(b);b=v[164082];if(!b){continue}break}}return b}function DK(a,b){a=a|0;b=b|0;var c=0,d=0;a=v[b+108>>2];if(a){if(v[a>>2]){Pa(v[a+80>>2]);Vd(v[a>>2]);ud(v[a+40>>2])}if(v[a+4>>2]){Pa(v[a+84>>2]);Vd(v[a+4>>2]);ud(v[a+44>>2])}if(v[a+8>>2]){Pa(v[a+88>>2]);Vd(v[a+8>>2]);ud(v[a+48>>2])}if(v[a+12>>2]){Pa(v[a+92>>2]);Vd(v[a+12>>2]);ud(v[a+52>>2])}if(v[a+16>>2]){Pa(v[a+96>>2]);Vd(v[a+16>>2]);ud(v[a+56>>2])}if(v[a+20>>2]){Pa(v[a+100>>2]);Vd(v[a+20>>2]);ud(v[a+60>>2])}if(v[a+24>>2]){Pa(v[a+104>>2]);Vd(v[a+24>>2]);ud(v[a- -64>>2])}if(v[a+28>>2]){Pa(v[a+108>>2]);Vd(v[a+28>>2]);ud(v[a+68>>2])}if(v[a+32>>2]){Pa(v[a+112>>2]);Vd(v[a+32>>2]);ud(v[a+72>>2])}if(v[a+36>>2]){Pa(v[a+116>>2]);Vd(v[a+36>>2]);ud(v[a+76>>2])}Pa(a)}a=v[b+112>>2];if((a|0)>=1){while(1){d=v[((c<<2)+b|0)+68>>2];if(d){zd(d);a=v[b+112>>2]}c=c+1|0;if((c|0)<(a|0)){continue}break}}Pa(v[b>>2])}function jp(a,b,c,d,e,f){var g=0;a:{if((b|0)!=1196445523){g=280448;if((b|0)!=1196643650){break a}a=v[Ic(a+136|0)>>2];a=a?a:280448;g=y[a+16>>2]<10?280448:v[a+12>>2];break a}a=v[ad(a+140|0)>>2];a=a?a:280448;g=y[a+16>>2]<10?280448:v[a+12>>2]}a=w[g+5|0]|w[g+4|0]<<8;b=a?g+a|0:280448;a=(w[b+1|0]|w[b|0]<<8)>>>0>c>>>0?(b+B(c,6)|0)+2|0:280448;a=w[a+4|0]<<8|w[a+5|0];b=a?a+b|0:280448;b:{if((d|0)==65535){c=b+1|0;a=b;break b}a=(w[b+3|0]|w[b+2|0]<<8)>>>0>d>>>0?(b+B(d,6)|0)+4|0:280448;c=a+5|0;a=a+4|0}a=w[c|0]|w[a|0]<<8;a=a?a+b|0:280834;b=w[a+2|0]<<8|w[a+3|0];if(e){v[e>>2]=b}if(f){if((b|0)!=65535){a=w[g+7|0]|w[g+6|0]<<8;a=a?a+g|0:280448;a=b>>>0<(w[a+1|0]|w[a|0]<<8)>>>0?(a+B(b,6)|0)+2|0:280448;a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}else{a=0}v[f>>2]=a}}function bI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{e=w[b+4|0];if(!(e|w[b+5|0]!=120)){c=b+6|0;b=0;while(1){c:{if(w[c|0]){break c}a=t[c+1|0];if((a|0)==59){break b}d:{e:{f:{g:{d=a-48|0;switch(d|0){case 49:case 50:case 51:case 52:case 53:case 54:break e;case 17:case 18:case 19:case 20:case 21:case 22:break f;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break g;default:break c}}b=d|b<<4;break d}b=(a+(b<<4)|0)-55|0;break d}b=(a+(b<<4)|0)-87|0}if((b|0)<=1114111){break c}return-1}c=c+2|0;continue}}d=b+4|0;b=0;while(1){a=-1;c=-1;if(!e){c=t[d+1|0];if((c|0)==59){break b}}b=(B(b,10)+c|0)-48|0;if((b|0)>1114111){break a}d=d+2|0;e=w[d|0];continue}}a=-1;c=b>>8;if(c-216>>>0<8){break a}h:{if((c|0)!=255){if(w[b+499884|0]|c){break h}break a}if((b&-2)==65534){break a}}a=b}return a|0}function yI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=-4;a:{if(b>>>0>=c>>>0){break a}e=-1;if((c-b|0)<2){break a}f=a+72|0;e=b;while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{g=w[e+1|0];if(g-216>>>0<4){break j}if(g){break d}k:{switch(w[w[e|0]+f|0]-2|0){case 1:break i;case 5:break j;case 4:break k;case 19:break e;case 7:break f;case 8:break g;case 0:break h;default:break d}}e=e+3|0;break c}e=e+4|0;break c}if((b|0)!=(e|0)){break b}return Si(a,b+2|0,c,d)|0}v[d>>2]=e;return 0}if((b|0)!=(e|0)){break b}v[d>>2]=b+2;return 7}if((b|0)!=(e|0)){break b}a=b+2|0;e=-3;if((c-a|0)<2){break a}c=w[b+2|0];e=b+4|0;b=w[b+3|0];if(b){b=Nc(b<<24>>24,c<<24>>24)}else{b=w[c+f|0]}v[d>>2]=(b|0)==10?e:a;return 7}if((b|0)!=(e|0)){break b}v[d>>2]=b+2;return 39}e=e+2|0}if((c-e|0)>1){continue}}break}v[d>>2]=e;e=6}return e|0}function hI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=-4;a:{if(b>>>0>=c>>>0){break a}e=-1;if((c-b|0)<2){break a}f=a+72|0;e=b;while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{g=w[e|0];if(g-216>>>0<4){break j}if(g){break d}k:{switch(w[w[e+1|0]+f|0]-2|0){case 1:break i;case 5:break j;case 4:break k;case 19:break e;case 7:break f;case 8:break g;case 0:break h;default:break d}}e=e+3|0;break c}e=e+4|0;break c}if((b|0)!=(e|0)){break b}return Pi(a,b+2|0,c,d)|0}v[d>>2]=e;return 0}if((b|0)!=(e|0)){break b}v[d>>2]=b+2;return 7}if((b|0)!=(e|0)){break b}a=b+2|0;e=-3;if((c-a|0)<2){break a}c=w[b+3|0];e=b+4|0;b=w[b+2|0];if(b){b=Nc(b<<24>>24,c<<24>>24)}else{b=w[c+f|0]}v[d>>2]=(b|0)==10?e:a;return 7}if((b|0)!=(e|0)){break b}v[d>>2]=b+2;return 39}e=e+2|0}if((c-e|0)>1){continue}}break}v[d>>2]=e;e=6}return e|0}function aE(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=Ca-272|0;Ca=d;Ea[v[b+60>>2]](b,d+80|0,16,d+76|0);e=v[d+76>>2];a:{if((e|0)<0){c=162;break a}c=3;if(!e|(e|0)>16){break a}j=v[b+8>>2];k=v[b>>2];if((e|0)>=1){i=v[a+532>>2];e=0;while(1){c=(d+80|0)+B(g,12)|0;v[b>>2]=v[c>>2];v[b+8>>2]=v[c+4>>2];Ea[v[b+60>>2]](b,d+16|0,4,d+12|0);f=v[d+12>>2];b:{if(!g){c=3;if(f-1>>>0>3){break a}c=ji(a,v[d+76>>2],f);if(c){break a}i=v[a+532>>2];c=v[d+12>>2];e=f;break b}c=e;if((f|0)==(c|0)){break b}c=3;break a}if((c|0)>=1){f=(g<<2)+i|0;c=0;while(1){h=(d+16|0)+B(c,12)|0;v[b>>2]=v[h>>2];v[b+8>>2]=v[h+4>>2];h=Ea[v[b+40>>2]](b,0)|0;v[v[f+24>>2]+(c<<2)>>2]=h;c=c+1|0;if((c|0)<v[d+12>>2]){continue}break}}g=g+1|0;if((g|0)<v[d+76>>2]){continue}break}}v[b+8>>2]=j;v[b>>2]=k;c=0}v[b+12>>2]=c;Ca=d+272|0}function rC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=Ca-16|0;Ca=f;v[f+12>>2]=0;a:{if(v[c+76>>2]){break a}e=8;d=a+1|0;if(d>>>0>b>>>0){break a}a=w[a|0];g=a&15;i=b;h=a>>>4|0;b=g+h|0;if(i>>>0<(b<<1)+d>>>0){break a}a=Ua(v[c>>2],4,0,b,0,f+12|0);e=v[f+12>>2];if(e){break a}v[c+76>>2]=a;v[c- -64>>2]=(g<<2)+a;e=0;if(!b){break a}c=g+h|0;g=c-1|0;e=c&3;if(e){while(1){c=w[d|0]|w[d+1|0]<<8;v[a>>2]=(c<<8|c>>>8)<<16>>16;a=a+4|0;b=b-1|0;d=d+2|0;e=e-1|0;if(e){continue}break}}if(g>>>0>=3){while(1){c=w[d|0]|w[d+1|0]<<8;v[a>>2]=(c<<8|c>>>8)<<16>>16;c=w[d+2|0]|w[d+3|0]<<8;v[a+4>>2]=(c<<8|c>>>8)<<16>>16;c=w[d+4|0]|w[d+5|0]<<8;v[a+8>>2]=(c<<8|c>>>8)<<16>>16;c=w[d+6|0]|w[d+7|0]<<8;v[a+12>>2]=(c<<8|c>>>8)<<16>>16;a=a+16|0;d=d+8|0;b=b-4|0;if(b){continue}break}}e=v[f+12>>2]}Ca=f+16|0;return e|0}function sI(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{c=b+4|0;if(!(w[b+5|0]|w[c|0]!=120)){c=b+6|0;b=0;while(1){c:{if(w[c+1|0]){break c}a=t[c|0];if((a|0)==59){break b}d:{e:{f:{g:{d=a-48|0;switch(d|0){case 49:case 50:case 51:case 52:case 53:case 54:break e;case 17:case 18:case 19:case 20:case 21:case 22:break f;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break g;default:break c}}b=d|b<<4;break d}b=(a+(b<<4)|0)-55|0;break d}b=(a+(b<<4)|0)-87|0}if((b|0)<=1114111){break c}return-1}c=c+2|0;continue}}b=0;while(1){a=-1;d=-1;if(!w[c+1|0]){d=t[c|0];if((d|0)==59){break b}}c=c+2|0;b=(B(b,10)+d|0)-48|0;if((b|0)<=1114111){continue}break}break a}a=-1;c=b>>8;if(c-216>>>0<8){break a}h:{if((c|0)!=255){if(w[b+499884|0]|c){break h}break a}if((b&-2)==65534){break a}}a=b}return a|0}function pn(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=v[a>>2];if(!b){break b}if((b|0)<=0){break a}v[a>>2]=b-1;if((b|0)!=1){break b}v[a>>2]=-57005;b=v[a+8>>2];if(b){c=v[b+8>>2];if(c){while(1){c=c-1|0;d=v[b+12>>2]+B(c,12)|0;e=v[d+8>>2];d=v[d+4>>2];v[b+8>>2]=c;if(e){Ea[e|0](d);c=v[b+8>>2]}if(c){continue}break}}Pa(v[b+12>>2]);Pa(b)}b=a+60|0;c=v[v[b+20>>2]+12>>2];if(c){Ea[c|0](v[b+112>>2])}Pa(v[b+48>>2]);v[b+48>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;Pa(v[b+60>>2]);v[b+60>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;Pa(v[b+84>>2]);v[b+84>>2]=0;v[b+76>>2]=0;v[b+80>>2]=0;Pa(v[b+72>>2]);v[b+72>>2]=0;c=b- -64|0;v[c>>2]=0;v[c+4>>2]=0;Pa(v[b+96>>2]);v[b+96>>2]=0;v[b+88>>2]=0;v[b+92>>2]=0;Pa(v[b+108>>2]);v[b+108>>2]=0;v[b+100>>2]=0;v[b+104>>2]=0;Pa(v[a+36>>2]);Pa(a)}return}O(279868,279893,272,279928);L()}
|
||
function fM(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;i=Ca-16|0;Ca=i;e=6;a:{if((b|0)<0|v[a+16>>2]<=(b|0)){break a}f=v[a+8>>2];e=v[a+4>>2]+d|0;b:{if(f>>>0>=e>>>0){break b}g=v[a>>2];j=c-g|0;m=(j|0)>-1&f>>>0>j>>>0;while(1){f=((f>>>2|0)+f|0)+1024&-1024;if(e>>>0>f>>>0){continue}break}k=v[a+32>>2];h=wb(k,f,i+12|0);v[a>>2]=h;e=v[i+12>>2];if(e){v[a>>2]=g;break a}if(g){Ta(h,g,v[a+8>>2]);h=v[a+16>>2];if((h|0)>=1){e=v[a+24>>2];h=e+(h<<2)|0;n=v[a>>2]-g|0;while(1){l=v[e>>2];if(l){v[e>>2]=n+l}e=e+4|0;if(h>>>0>e>>>0){continue}break}}if(g){Ea[v[k+8>>2]](k,g)}}v[a+8>>2]=f;e=m?j:-1;if((e|0)<0){break b}c=e+v[a>>2]|0}e=0;b=b<<2;f=v[a>>2];g=v[a+4>>2];v[b+v[a+24>>2]>>2]=f?f+g|0:0;v[b+v[a+28>>2]>>2]=d;Ta(g+v[a>>2]|0,c,d);v[a+4>>2]=v[a+4>>2]+d}Ca=i+16|0;return e|0}function Ze(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!w[656320]){b=W(0)|0;f=v[163739]-4|0;v[f>>2]=v[164117]|(v[163740]<<8|v[163738]<<16);v[163738]=63;v[163739]=656068;d=v[163738];b:{if(!d){v[v[163739]>>2]=b;break b}v[163740]=(d|0)==31?3:(d|0)==7?3:1;v[164117]=0;g=v[163739];if((d|0)>=1){while(1){b=eQ(b,e,1284865837,1481765933)+1|0;c=Da;c=b>>>0<1?c+1|0:c;e=c;v[g+(a<<2)>>2]=c;a=a+1|0;if((d|0)!=(a|0)){continue}break}}v[g>>2]=v[g>>2]|1}v[v[163739]-4>>2]=v[164117]|(v[163740]<<8|v[163738]<<16);t[656320]=1;break a}f=us(656064)}b=v[163739];c=v[163738];c:{if(!c){a=B(v[b>>2],1103515245)+12345&2147483647;v[b>>2]=a;break c}e=v[163740];a=b+(e<<2)|0;d=v[164117];b=v[a>>2]+v[b+(d<<2)>>2]|0;v[a>>2]=b;a=d+1|0;v[164117]=(a|0)==(c|0)?0:a;e=e+1|0;v[163740]=(c|0)==(e|0)?0:e;a=b>>>1|0}us(f);return a}function qD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=Ca-16|0;Ca=g;f=v[a+712>>2];v[g+12>>2]=0;a:{if(!f){break a}e=v[f+3132>>2];if(!e){e=wb(v[a+100>>2],2,g+12|0);c=v[g+12>>2];if(c){break a}u[e>>1]=0;a=v[f+1500>>2];b:{if((a|0)==65535){break b}c:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=y[f+1356>>2]){break b}a=v[v[f+1360>>2]+(a<<2)>>2];break c}c=v[f+3084>>2];if(!c){break b}a=Ea[v[c+20>>2]](a)|0}if(!a){break b}a=rb(a,10296);if(!a){break b}c=a+7|0;a=rb(c,10304);if(!a|(a|0)==(c|0)){break b}while(1){d:{d=w[c|0];e:{if((d-48&255)>>>0<=9){d=x[e>>1];if(d>>>0>6551){break d}d=B(d,10);u[e>>1]=d;u[e>>1]=(d+t[c|0]|0)-48;break e}d=d-10|0;if(d>>>0>22|!(1<<d&4194313)){break d}}c=c+1|0;if((a|0)!=(c|0)){continue}break b}break}u[e>>1]=0}v[f+3132>>2]=e;c=v[g+12>>2]}u[b>>1]=x[e>>1]}Ca=g+16|0;return c|0}function Rc(a){var b=0,c=0,d=0,e=0,f=0;c=v[a+36>>2];if(c){b=v[a>>2];a:{if(y[a+40>>2]<=c+b>>>0){break a}while(1){b=b+1|0;v[a>>2]=b;b:{d=v[a+8>>2];e=v[a+4>>2];b=v[v[e+100>>2]+88>>2]+B(b,20)|0;c=x[b+12>>1];if(d&c&14){break b}if(c&8){if(!Of(e,v[b>>2],c,d)){break b}}c=0;d=x[b+16>>1];if(!(w[b+12|0]&16|(d&96)!=32|!((d&543)==513?w[a+12|0]:1))){c=w[a+13|0]?2:((d&287)!=257)<<1}c:{d:{e:{if(!(v[a+16>>2]&v[b+4>>2])){break e}d=v[a+32>>2];e=w[a+20|0];if((e|0)!=w[b+15|0]?e:0){break e}e=v[a+24>>2];if(!e){break d}if(Ea[e|0](v[b>>2],d,v[a+28>>2])|0){d=v[a+32>>2];break c}if(c){break b}return 0}if(c){break b}return 0}if(c){break b}}v[a+36>>2]=v[a+36>>2]-1;f=1;if(!d){break a}v[a+32>>2]=d+2;return 1}b=v[a>>2];if(y[a+40>>2]>b+v[a+36>>2]>>>0){continue}break}}return f}O(229841,229855,510,229882);L()}function KI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=v[b>>2];h=f>>>0<c>>>0;g=v[d>>2];a:{b:{if(c>>>0<=f>>>0|g>>>0>=e>>>0){break b}i=a+72|0;while(1){c:{d:{e:{f:{g:{h=w[f|0];switch(w[h+i|0]-5|0){case 2:break e;case 1:break f;case 0:break g;default:break d}}a=1;if((c-f|0)<2){break a}u[g>>1]=w[f+1|0]&63|(h&31)<<6;g=g+2|0;f=f+2|0;break c}a=1;if((c-f|0)<3){break a}u[g>>1]=w[f+2|0]&63|((w[f+1|0]&63)<<6|h<<12);g=g+2|0;f=f+3|0;break c}a=2;if((e-g|0)<4){break a}a=1;if((c-f|0)<4){break a}a=w[f+3|0]&63|((w[f+1|0]&63)<<12|(h&7)<<18|(w[f+2|0]&63)<<6);u[g+2>>1]=a&1023|56320;u[g>>1]=a+16711680>>>10|55296;g=g+4|0;f=f+4|0;break c}u[g>>1]=h<<24>>24;g=g+2|0;f=f+1|0}h=f>>>0<c>>>0;if(c>>>0<=f>>>0){break b}if(e>>>0>g>>>0){continue}break}}a=h?2:0}v[b>>2]=f;v[d>>2]=g;return a|0}function qr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=Ea[v[a+624>>2]](a)|0;f=v[b>>2];a:{if(!f){break a}g=a+36|0;e=1;while(1){b=v[a+28>>2];if((b|0)<=1){if(w[a+593|0]){v[a+12>>2]=129}v[a+28>>2]=0;break a}d=b-2|0;v[a+28>>2]=d;c=b<<2;b=v[a+24>>2];c=x[(c+b|0)-4>>1];b:{if(c>>>0<x[a+44>>1]){d=v[b+(d<<2)>>2];b=d>>>4&15;c:{d:{switch(w[a+376|0]-113|0){case 0:b=b|16;break c;case 1:break d;default:break c}}b=b|32}if((x[a+336>>1]+b|0)!=(h|0)){break b}b=d&15;b=(b>>>0>7?-7:-8)+b<<6-x[a+338>>1];if(!(!w[a+643|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40)){if(!(w[c+v[a+60>>2]|0]&16?1:x[a+304>>1]?w[a+592|0]:0)|(w[a+645|0]?w[a+644|0]:0)){break b}Ea[v[a+616>>2]](a,g,c,b);break b}Ea[v[a+616>>2]](a,g,c,b);break b}if(!w[a+593|0]){break b}v[a+12>>2]=134}e=e+1|0;if(f>>>0>=e>>>0){continue}break}}v[a+32>>2]=v[a+28>>2]}function pC(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){e=v[v[a+96>>2]+8>>2];v[a+20>>2]=0;v[a+24>>2]=0;d=v[a+100>>2];b=d;c=v[a+368>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+368>>2]=0;b=d;c=v[a+372>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+372>>2]=0;c=v[a+376>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+376>>2]=0;c=v[a+364>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+360>>2]=0;v[a+364>>2]=0;v[a+348>>2]=0;v[a+352>>2]=0;c=v[a+388>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+380>>2]=0;v[a+384>>2]=0;v[a+388>>2]=0;c=v[a+416>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+408>>2]=0;v[a+412>>2]=0;v[a+416>>2]=0;b=v[a+396>>2];if(b){Ea[v[d+8>>2]](d,b)}v[a+392>>2]=0;v[a+396>>2]=0;b=v[a+424>>2];if(b){while(1){c=v[b>>2];if(b){Ea[v[d+8>>2]](d,b)}b=c;if(b){continue}break}}v[a+428>>2]=0;v[a+420>>2]=0;v[a+424>>2]=0;b=v[a+32>>2];if(b){Ea[v[e+8>>2]](e,b)}v[a+32>>2]=0}}function sp(a,b){var c=0,d=0,e=0,f=0;a:{d=v[b+4>>2];if(d>>>0>a>>>0){break a}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<12){break a}e=v[b+12>>2];f=e-12|0;v[b+12>>2]=f;if((w[a+1|0]|w[a|0]<<8)!=1|(f|0)<1){break a}f=d;d=a+6|0;if(f>>>0>d>>>0|c>>>0<d>>>0|c-d>>>0<2){break a}c=e-14|0;v[b+12>>2]=c;if((c|0)<1){break a}c=w[a+7|0]|w[a+6|0]<<8;b:{if(!c){break b}if(rp(a+c|0,b,a)){break b}c=v[b+24>>2];if(c>>>0>31){break a}v[b+24>>2]=c+1;if(!w[b+20|0]){break a}t[d|0]=0;t[d+1|0]=0}d=a+8|0;if(d>>>0<y[b+4>>2]){break a}c=v[b+8>>2];if(c>>>0<d>>>0|c-d>>>0<2){break a}e=v[b+12>>2]-2|0;v[b+12>>2]=e;c=1;if((e|0)<1){break a}e=w[a+9|0]|w[a+8|0]<<8;c:{if(!e){break c}if(rp(a+e|0,b,a)){break c}a=v[b+24>>2];if(a>>>0>31){break a}v[b+24>>2]=a+1;c=0;if(!w[b+20|0]){break c}t[d|0]=0;t[d+1|0]=0;c=1}return c}return 0}function nO(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;g=Ca-16|0;Ca=g;a:{b:{c:{d:{if((b|0)<=2963){if(b-2524>>>0<2){break a}if((b|0)!=2353){break d}break a}if((b|0)==2964){break a}if((b|0)==3546){break c}}if(b-3548>>>0<3){break c}a=v[a+12>>2];v[c>>2]=b;v[d>>2]=0;a=Ea[v[a+40>>2]](a,b,c,d,v[a+72>>2])|0;break b}e:{f:{e=v[v[a>>2]+112>>2];if(w[e+5|0]){break f}f=v[a+8>>2];v[g+12>>2]=0;i=f;j=v[f+76>>2];f=v[f+72>>2];if(!(Ea[v[f+156>>2]](i,j,b,g+12|0,v[f+20>>2])|0)|!v[e+52>>2]){break e}f=v[v[a+8>>2]+16>>2];while(1){if(vd(f,x[v[e+48>>2]+(h<<3)>>1],g+12|0,1,w[e+56|0])){break f}h=h+1|0;if(h>>>0<y[e+52>>2]){continue}break}break e}v[c>>2]=3545;v[d>>2]=b;e=1;break a}a=v[a+12>>2];v[c>>2]=b;v[d>>2]=0;a=Ea[v[a+40>>2]](a,b,c,d,v[a+72>>2])|0}e=(a|0)!=0}Ca=g+16|0;return e|0}function xI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=-4;a:{if(b>>>0>=c>>>0){break a}e=-1;if((c-b|0)<2){break a}f=a+72|0;e=b;while(1){b:{c:{d:{e:{f:{g:{h:{i:{g=w[e+1|0];if(g-216>>>0<4){break i}if(g){break d}j:{switch(w[w[e|0]+f|0]-3|0){case 4:break i;case 3:break j;case 6:break e;case 7:break f;case 27:break g;case 0:break h;default:break d}}e=e+3|0;break c}e=e+4|0;break c}if((b|0)!=(e|0)){break b}return Si(a,b+2|0,c,d)|0}if((b|0)!=(e|0)){break b}a=pt(a,b+2|0,c,d);return((a|0)==22?0:a)|0}if((b|0)!=(e|0)){break b}v[d>>2]=b+2;return 7}if((b|0)!=(e|0)){break b}a=b+2|0;e=-3;if((c-a|0)<2){break a}c=w[b+2|0];e=b+4|0;b=w[b+3|0];if(b){b=Nc(b<<24>>24,c<<24>>24)}else{b=w[c+f|0]}v[d>>2]=(b|0)==10?e:a;return 7}e=e+2|0}if((c-e|0)>1){continue}}break}v[d>>2]=e;e=6}return e|0}function kG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ca-32|0;Ca=e;f=v[a+28>>2];v[e+16>>2]=f;d=v[a+20>>2];v[e+28>>2]=c;v[e+24>>2]=b;b=d-f|0;v[e+20>>2]=b;f=b+c|0;j=2;b=e+16|0;a:{b:{d=X(v[a+60>>2],e+16|0,2,e+12|0)|0;if(d){v[164114]=d;d=-1}else{d=0}c:{if(!d){while(1){d=v[e+12>>2];if((d|0)==(f|0)){break c}if((d|0)<=-1){break b}g=v[b+4>>2];h=g>>>0<d>>>0;i=(h<<3)+b|0;g=d-(h?g:0)|0;v[i>>2]=g+v[i>>2];i=(h?12:4)+b|0;v[i>>2]=v[i>>2]-g;f=f-d|0;b=h?b+8|0:b;j=j-h|0;d=X(v[a+60>>2],b|0,j|0,e+12|0)|0;if(d){v[164114]=d;d=-1}else{d=0}if(!d){continue}break}}if((f|0)!=-1){break b}}b=v[a+44>>2];v[a+28>>2]=b;v[a+20>>2]=b;v[a+16>>2]=b+v[a+48>>2];a=c;break a}v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a>>2]=v[a>>2]|32;a=0;if((j|0)==2){break a}a=c-v[b+4>>2]|0}Ca=e+32|0;return a|0}function gI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=-4;a:{if(b>>>0>=c>>>0){break a}e=-1;if((c-b|0)<2){break a}f=a+72|0;e=b;while(1){b:{c:{d:{e:{f:{g:{h:{i:{g=w[e|0];if(g-216>>>0<4){break i}if(g){break d}j:{switch(w[w[e+1|0]+f|0]-3|0){case 4:break i;case 3:break j;case 6:break e;case 7:break f;case 27:break g;case 0:break h;default:break d}}e=e+3|0;break c}e=e+4|0;break c}if((b|0)!=(e|0)){break b}return Pi(a,b+2|0,c,d)|0}if((b|0)!=(e|0)){break b}a=lt(a,b+2|0,c,d);return((a|0)==22?0:a)|0}if((b|0)!=(e|0)){break b}v[d>>2]=b+2;return 7}if((b|0)!=(e|0)){break b}a=b+2|0;e=-3;if((c-a|0)<2){break a}c=w[b+3|0];e=b+4|0;b=w[b+2|0];if(b){b=Nc(b<<24>>24,c<<24>>24)}else{b=w[c+f|0]}v[d>>2]=(b|0)==10?e:a;return 7}e=e+2|0}if((c-e|0)>1){continue}}break}v[d>>2]=e;e=6}return e|0}function Qg(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{if(!(v[a+20>>2]|!c)){e=v[a+40>>2];if(!e){break b}if(y[e>>2]>b>>>0){break a}c:{d:{e:{g=v[e+8>>2];if((g|0)>=0){d=v[e+12>>2];f=d+1|0;f=(f|0)>0?f:0;if(f>>>0<=g>>>0){break d}d=g;while(1){d=((d>>>1|0)+d|0)+8|0;if(f>>>0>=d>>>0){continue}break}if(!(d>>>0<g>>>0|d>>>0>268435454)){g=gb(v[e+16>>2],d<<4);if(g){break e}}v[e+8>>2]=-1}d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;d=655664;break c}v[e+8>>2]=d;v[e+16>>2]=g;d=v[e+12>>2]}if(d>>>0<f>>>0){Ra(v[e+16>>2]+(d<<4)|0,0,f-d<<4)}v[e+12>>2]=f;d=(v[e+16>>2]+(f<<4)|0)-16|0}t[d|0]=w[d|0]&192|2;a=v[v[a+40>>2]>>2];v[d+12>>2]=c;v[d+8>>2]=0;v[d+4>>2]=b-a&268435455|v[d+4>>2]&-268435456}return}O(260329,260193,362,260337);L()}O(260346,260193,363,260337);L()}function Ke(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=v[a>>2];a:{if(c-2>>>0>34|d>>>0>=b>>>0){break a}b:{c:{e=w[d|0];switch(e-43|0){case 0:case 2:break c;default:break b}}d=d+1|0;if((d|0)==(b|0)){break a}k=(e|0)==45;e=w[d|0];switch(e-43|0){case 0:case 2:break a;default:break b}}i=2147483647/(c>>>0)|0;d:{e:{if(b>>>0>d>>>0){l=2147483647-B(c,i)|0;while(1){f:{g:{h:{switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break g;default:break h}}if(e<<24>>24<0){break g}e=t[e+300928|0];if((e|0)<0|(c|0)<=(e|0)){break g}j=1;g=f;i:{if((f|0)>(i|0)){break i}if((f|0)==(i|0)){g=i;if((e|0)>(l|0)){break i}}j=h;g=e+B(c,f)|0}f=g;d=d+1|0;if((d|0)!=(b|0)){break f}h=j;d=b}v[a>>2]=d;a=2147483647;if(h&255){break d}break e}e=w[d|0];h=j;continue}}v[a>>2]=d}a=f}h=k?0-a|0:a}return h}function Ne(a){var b=0,c=0,d=0,e=0,f=0;c=v[a+36>>2];if(c){b=v[a>>2];a:{if(b>>>0<=c-1>>>0){break a}while(1){b=b-1|0;v[a>>2]=b;b:{d=v[a+8>>2];e=v[a+4>>2];b=v[v[e+100>>2]+92>>2]+B(b,20)|0;c=x[b+12>>1];if(d&c&14){break b}if(c&8){if(!Of(e,v[b>>2],c,d)){break b}}c=0;d=x[b+16>>1];if(!(w[b+12|0]&16|(d&96)!=32|!((d&543)==513?w[a+12|0]:1))){c=w[a+13|0]?2:((d&287)!=257)<<1}c:{d:{e:{if(!(v[a+16>>2]&v[b+4>>2])){break e}d=v[a+32>>2];e=w[a+20|0];if((e|0)!=w[b+15|0]?e:0){break e}e=v[a+24>>2];if(!e){break d}if(Ea[e|0](v[b>>2],d,v[a+28>>2])|0){d=v[a+32>>2];break c}if(c){break b}return 0}if(c){break b}return 0}if(c){break b}}v[a+36>>2]=v[a+36>>2]-1;f=1;if(!d){break a}v[a+32>>2]=d+2;return 1}b=v[a>>2];if(b>>>0>v[a+36>>2]-1>>>0){continue}break}}return f}O(229841,229855,537,230136);L()}function Mb(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;a:{if(b>>>0>=c>>>0){break a}g=v[a+88>>2];i=c-b|0;h=i&3;e=-1;d=b;k=(d^-1)+c|0;if(k>>>0>=3){j=i&-4;while(1){f=B(d,20)+g|0;l=v[f+68>>2];m=v[f+48>>2];n=v[f+28>>2];f=v[f+8>>2];e=e>>>0>f>>>0?f:e;e=e>>>0>n>>>0?n:e;e=e>>>0>m>>>0?m:e;e=e>>>0>l>>>0?l:e;d=d+4|0;j=j-4|0;if(j){continue}break}}if(h){while(1){f=v[(B(d,20)+g|0)+8>>2];e=e>>>0>f>>>0?f:e;d=d+1|0;h=h-1|0;if(h){continue}break}}if(i&1){d=B(b,20)+g|0;if(v[d+8>>2]!=(e|0)){v[a+32>>2]=v[a+32>>2]|16;v[d+4>>2]=v[d+4>>2]|1}b=b+1|0}if(!k){break a}while(1){d=B(b,20)+g|0;if(v[d+8>>2]!=(e|0)){v[a+32>>2]=v[a+32>>2]|16;v[d+4>>2]=v[d+4>>2]|1}d=B(b+1|0,20)+g|0;if(v[d+8>>2]!=(e|0)){v[a+32>>2]=v[a+32>>2]|16;v[d+4>>2]=v[d+4>>2]|1}b=b+2|0;if((c|0)!=(b|0)){continue}break}}}function ef(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=C(0);e=w[a+9|0]|w[a+8|0]<<8;a:{if(!e){break a}j=w[a+7|0]|w[a+6|0]<<8;k=a+12|0;g=e-1|0;while(1){b:{h=g+i>>>1|0;e=B(j,h)+k|0;f=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);c:{if(f>>>0>b>>>0){g=h-1|0;break c}if((b|0)==(f|0)){break b}i=h+1|0}if((g|0)>=(i|0)){continue}break a}break}b=w[e+5|0]|w[e+4|0]<<8;f=a;a=w[a+11|0]|w[a+10|0]<<8;a=a?f+a|0:280448;if(b>>>0>=(w[a+6|0]<<8|w[a+7|0])>>>0){break a}b=a+(b<<2)|0;b=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);f=b?b+a|0:280448;b=a;a=w[a+2|0]|w[a+3|0]<<8|(w[a+4|0]<<16|w[a+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);l=Vg(f,w[e+7|0]|w[e+6|0]<<8,c,d,a?b+a|0:280448)}return l}function YC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=3;e=v[a+32>>2];a:{if(!e){break a}d=v[e+364>>2];if(!d){break a}b=160;if(w[d+557|0]){break a}f=e;b:{c:{b=v[v[a+16>>2]>>2];d=w[b|0];if((d|0)!=255){if((d|0)!=30){break c}c=zc(a,b,0,0)>>16;break b}c=((w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16))<<8)+32768>>16;break b}e=b+1|0;d:{switch(d-28|0){case 0:c=0;if(y[a+8>>2]<=b+2>>>0){break b}c=(w[b+2|0]|w[e|0]<<8)<<16>>16;break b;case 1:c=0;if(y[a+8>>2]<=b+4>>>0){break b}a=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);c=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break b;default:break d}}c=d-139|0;if(d>>>0<=246){break b}a=v[a+8>>2];if(d>>>0<=250){c=0;if(a>>>0<=e>>>0){break b}c=(w[e|0]|d<<8)-63124|0;break b}c=0;if(a>>>0<=e>>>0){break b}c=64148-(w[e|0]|d<<8)|0}v[f+360>>2]=c;b=0}return b|0}function ew(a,b,c){var d=0,e=0,f=0;a:{if(c?0:b){break a}if(!a){return}if(!(t[a+9|0]&1)){break a}b:{c:{e=v[a+128>>2];d=v[e+32>>2];switch(d+2|0){case 0:break a;case 2:break c;default:break b}}d=v[a+96>>2];f=v[v[d>>2]+32>>2];d:{if(!f){d=0;break d}d=Ea[f|0](d,282205)|0;e=v[a+128>>2]}v[e+32>>2]=d?d:-2}if(!d){break a}d=v[d+20>>2];if(!d){break a}e:{switch((Ea[d|0](a,b,c)|0)+1|0){case 1:f:{if(!(t[a+9|0]&1)){break f}g:{h:{c=v[a+128>>2];b=v[c+36>>2];switch(b+2|0){case 2:break h;case 0:break f;default:break g}}b=v[a+96>>2];d=v[v[b>>2]+32>>2];i:{if(!d){b=0;break i}b=Ea[d|0](b,282219)|0;c=v[a+128>>2]}v[c+36>>2]=b?b:-2}if(!b){break f}b=v[b+28>>2];if(!b){break f}Ea[b|0](a)}b=v[a+120>>2];if(!b){break a}Ea[b|0](v[a+116>>2]);v[a+116>>2]=0;break;case 0:break a;default:break e}}}}function ed(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 0}c=v[a>>2];a=v[a+4>>2];if(!c){b=a;a=a>>31;return b+a^a}if(!a){a=c>>31;return a+c^a}b=a>>31;d=b+a^b;b=c>>31;g=d|b+c^b;f=E(g);h=f-2|0;a:{if(g>>>0<=1073741823){a=a<<h;b=c<<h;break a}b=2-f|0;a=a>>b;b=c>>b}c=0-b|0;b:{if((a|0)>(b|0)){d=(a|0)>(c|0);b=d?c:0-a|0;c=d?a:c;break b}d=(a|0)<(c|0);c=d?0-a|0:b;b=d?b:a}a=1;d=1;while(1){e=a+b>>d;c:{if((b|0)>=1){b=b-(a+c>>d)|0;c=c+e|0;break c}b=(a+c>>d)+b|0;c=c-e|0}a=a<<1;d=d+1|0;if((d|0)!=23){continue}break}a=c>>31;b=a+c^a;d=b&65535;a=B(d,56281);e=b>>>16|0;b=a+B(e,23318)|0;i=b<<16;d=i+B(d,23318)|0;a=(((B(e,56281)+(b>>>16|0)|0)+((a>>>0>b>>>0)<<16)|0)+(d>>>0<i>>>0)|0)+(d>>>0>3221225471)|0;a=(c|0)<0?0-a|0:a;if(g>>>0<=536870911){return a+(1<<f-3)>>h}return a<<2-f}function OJ(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,q=0,r=0;a:{if(!c){break a}i=d+5>>>1|0;if(i){f=d<<4;while(1){d=0;h=0;while(1){m=d>>>0<f>>>0?(d<<1)+b|0:448064;e=d|16;n=e>>>0<f>>>0?(e<<1)+b|0:448064;e=d-16|0;o=e>>>0<f>>>0?(e<<1)+b|0:448064;e=d-32|0;p=e>>>0<f>>>0?(e<<1)+b|0:448064;e=d-48|0;q=e>>>0<f>>>0?(e<<1)+b|0:448064;e=d+-64|0;r=e>>>0<f>>>0?(e<<1)+b|0:448064;g=0;while(1){e=g<<1;j=u[e+o>>1]+u[e+p>>1]|0;k=u[e+m>>1]+u[e+q>>1]|0;u[a+e>>1]=((k+((u[e+n>>1]+(u[e+r>>1]+k|0)>>1)+j>>>1|0)>>>1|0)+j|0)+2>>>2;g=g+1|0;if((g|0)!=16){continue}break}d=d+32|0;a=a+32|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}b=(f<<1)+b|0;l=l+16|0;if(l>>>0<c>>>0){continue}break}break a}d=16;while(1){if(c>>>0<=d>>>0){break a}d=d+16|0;continue}}}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,h=0,i=0,j=0,k=0;g=Ca-16|0;Ca=g;v[g+12>>2]=b;b=Ys(a,v[a+144>>2],g+12|0,c,d,!w[a+480|0],0);a:{if(b){break a}b=0;e=v[g+12>>2];if(!e){break a}if(v[a+472>>2]){v[a+276>>2]=999;b=Xs(a,e,c,d);break a}v[a+276>>2]=992;b=ag(a,0,v[a+144>>2],e,c,d,!w[a+480|0],0);if(b){break a}b=v[a+360>>2];b:{if(!b){break b}while(1){c=v[b+4>>2];d=v[b+36>>2];e=v[b+24>>2]+1|0;f=d+e|0;if((c|0)==(f|0)){break b}h=v[b+8>>2];i=e+h|0;if((i|0)>(v[b+40>>2]-d|0)){c=Ea[v[a+16>>2]](d,i)|0;if(!c){b=1;break a}d=v[b+36>>2];if((d|0)==v[b+12>>2]){v[b+12>>2]=c}f=v[b+16>>2];if(f){v[b+16>>2]=c+(f-d|0)}v[b+36>>2]=c;v[b+40>>2]=c+i;f=c+e|0;h=v[b+8>>2];c=v[b+4>>2]}j=b,k=Ta(f,c,h),v[j+4>>2]=k;b=v[b>>2];if(b){continue}break}}b=0}Ca=g+16|0;return b|0}function Eb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=v[a+116>>2];b=c;a:{e=v[a+112>>2];b:{if(b|e){c=v[a+124>>2];if((b|0)<(c|0)?1:(b|0)<=(c|0)?e>>>0<=y[a+120>>2]:0){break b}}b=Ca-16|0;Ca=b;g=-1;c:{if(os(a)){break c}if((Ea[v[a+32>>2]](a,b+15|0,1)|0)!=1){break c}g=w[b+15|0]}Ca=b+16|0;if((g|0)>-1){break a}}v[a+104>>2]=0;return-1}i=a;c=v[a+116>>2];h=c;b=v[a+8>>2];e=b;d=v[a+112>>2];d:{if(!(c|d)){break d}e=b;f=v[a+120>>2]^-1;d=f+d|0;c=(v[a+124>>2]^-1)+h|0;c=d>>>0<f>>>0?c+1|0:c;h=v[a+4>>2];f=b-h|0;j=d>>>0>=f>>>0;f=f>>31;if((c|0)>(f|0)?1:(f|0)<=(c|0)?j:0){break d}e=d+h|0}v[i+104>>2]=e;e=v[a+4>>2];if(b){c=a;i=(b-e|0)+1|0;d=i;b=d+v[a+120>>2]|0;a=v[a+124>>2]+(d>>31)|0;v[c+120>>2]=b;v[c+124>>2]=b>>>0<d>>>0?a+1|0:a}a=e-1|0;if(w[a|0]!=(g|0)){t[a|0]=g}return g}function oj(a){var b=0,c=0;if(a){b=v[a+120>>2];a:{if(!b){break a}c=v[b+44>>2]-1|0;v[b+44>>2]=c;if(c){break a}while(1){c=v[b+28>>2];Ib(v[b+36>>2]);Gd(v[b+40>>2]);Pa(b);b=c;if(b){continue}break}}b=v[a+124>>2];b:{if(!b){break b}c=v[b+44>>2]-1|0;v[b+44>>2]=c;if(c){break b}while(1){c=v[b+28>>2];Ib(v[b+36>>2]);Gd(v[b+40>>2]);Pa(b);b=c;if(b){continue}break}}Kg(v[a+748>>2]);Kg(v[a+744>>2]);Kg(v[a+740>>2]);b=v[a+116>>2];Kg(v[b+40>>2]);Pa(v[b+32>>2]);Pa(v[b+8>>2]);Pa(v[b+12>>2]);Pa(v[b+44>>2]);Pa(v[b+16>>2]);Pa(v[b+20>>2]);Pa(b);Kg(v[a+736>>2]);Pa(v[a+788>>2]);Pa(v[a+792>>2]);Gd(v[a+816>>2]);b=v[a+8>>2];if(b){$u(b)}b=v[a+4>>2];if(b){Qm(b)}Pa(v[a+128>>2]);Pa(v[a+680>>2]);Pa(v[a+688>>2]);Pa(v[a+696>>2]);Pa(v[a+100>>2]);Pa(v[a+104>>2]);Pa(v[a+828>>2]);Pa(a)}}function qp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(c>>>0>357913940){break b}if(!c){return 1}if(y[b+4>>2]>a>>>0){break b}e=v[b+8>>2];if(e>>>0<a>>>0){break b}g=e-a|0;e=B(c,12);if(g>>>0<e>>>0){break b}e=v[b+12>>2]-e|0;v[b+12>>2]=e;if((e|0)<1){break b}h=v[b+4>>2];j=v[d>>2];e=0;while(1){d=B(e,12)+a|0;if(d>>>0<h>>>0){break a}f=v[b+8>>2];if(f>>>0<d>>>0|f-d>>>0<12){break a}g=v[b+12>>2]-12|0;v[b+12>>2]=g;if((g|0)<1){break a}c:{i=w[d+3|0]|w[d+2|0]<<8;if(!i){break c}d=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);d=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+j|0;if(d>>>0<h>>>0|d>>>0>f>>>0){break a}f=f-d|0;d=i<<2;if(f>>>0<d>>>0){break a}d=g-d|0;v[b+12>>2]=d;if((d|0)>=1){break c}break a}f=1;e=e+1|0;if((e|0)!=(c|0)){continue}break}}return f}return 0}function aj(a,b){var c=0,d=0,e=0,f=0;e=Ca-16|0;Ca=e;t[e+15|0]=0;t[e+14|0]=b;c=b>>>8|0;t[e+13|0]=c;d=b>>>16|0;t[e+12|0]=d;f=b>>>24|0;t[e+11|0]=f;a:{if(!((f-48&255)>>>0>9?(f|0)==32|((f&223)-65&255)>>>0<26:1)|!((d-48&255)>>>0>9?(d&255)==32|((d&223)-65&255)>>>0<26:1)){break a}if(!((c-48&255)>>>0>9?(c&255)==32|((c&223)-65&255)>>>0<26:1)|!((b-48&255)>>>0>9?(b&255)==32|((b&223)-65&255)>>>0<26:1)){break a}if(w[a|0]){b=Xa(a)+a|0;t[b|0]=32;t[b+1|0]=0}c=Xa(a)+a|0;b=w[458793]|w[458794]<<8|(w[458795]<<16|w[458796]<<24);d=w[458789]|w[458790]<<8|(w[458791]<<16|w[458792]<<24);t[c|0]=d;t[c+1|0]=d>>>8;t[c+2|0]=d>>>16;t[c+3|0]=d>>>24;t[c+4|0]=b;t[c+5|0]=b>>>8;t[c+6|0]=b>>>16;t[c+7|0]=b>>>24;b=w[458797]|w[458798]<<8;t[c+8|0]=b;t[c+9|0]=b>>>8;ih(a,e+11|0)}Ca=e+16|0}function Sv(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=ab(65536e3,b<<16);if((g|0)>=655){m=v[a+52>>2];h=v[a+48>>2];i=v[a+44>>2];f=v[a+40>>2];j=v[a+36>>2];k=v[a+32>>2];l=v[a+28>>2];n=v[a+24>>2];a=c<<16;e=(a|0)>262144?a:262144;b=E(e);c=n<<16;o=c;if((d|0)<1){a=4915200}else{a=Qa(d<<16,g)}if(E(a)+b>>>0<=16){b=h<<16}else{b=Qa(a,e)}a:{if((o|0)>(b|0)){a=ab(l<<16,e);break a}b:{c:{d:{d=k<<16;e:{if((b|0)<(d|0)){b=ab(c,e);c=k-n|0;if(!c){break e}a=fb(a-b|0,j-l|0,c)+ab(l<<16,e)|0;break a}c=f<<16;if((b|0)>=(c|0)){break d}}b=ab(d,e);c=f-k|0;if(!c){c=f<<16;break c}a=fb(a-b|0,i-j|0,c)+ab(j<<16,e)|0;break a}if((b|0)>=h<<16){break b}}b=ab(c,e);c=h-f|0;if(!c){break b}a=fb(a-b|0,m-i|0,c)+ab(i<<16,e)|0;break a}a=ab(m<<16,e)}a=ab(a,g)}else{a=0}return a}function bH(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;g=Ca-1040|0;Ca=g;a:{b:{if(Ea[(w[a+232|0]?986:987)|0](a+148|0,a+144|0,v[a+228>>2])|0){f=v[a+144>>2];break b}h=18;f=v[a+124>>2];if(!f){break a}i=v[a+228>>2];e=Ra(g,255,1024);v[e+1032>>2]=0;v[e+1024>>2]=0;v[e+1028>>2]=0;c:{if(Ea[f|0](v[a+244>>2],i,e)|0){f=Ea[v[a+12>>2]](1908)|0;v[a+236>>2]=f;if(!f){a=v[e+1032>>2];if(a){Ea[a|0](v[e+1024>>2])}h=1;break a}f=Ea[(w[a+232|0]?988:989)|0](f,e,v[e+1028>>2],v[e+1024>>2])|0;if(f){break c}}a=v[e+1032>>2];if(!a){break a}Ea[a|0](v[e+1024>>2]);break a}v[a+240>>2]=v[e+1024>>2];e=v[e+1032>>2];v[a+144>>2]=f;v[a+248>>2]=e}v[a+276>>2]=990;v[g>>2]=b;e=Ea[v[f>>2]](f,b,c,g)|0;h=zg(a,v[a+144>>2],b,c,e,v[g>>2],d,!w[a+480|0],1,0)}Ca=g+1040|0;return h|0}function Uo(a,b,c,d){var e=0,f=C(0),g=0,h=C(0),i=0,j=0,k=C(0),l=0,m=0,n=0;if((w[a+3|0]|w[a+2|0]<<8)>>>0<=b>>>0){return C(0)}f=C(1);j=w[a+1|0]|w[a|0]<<8;a:{if(!j){break a}l=(B(B(b,j),6)+a|0)+4|0;while(1){b=0;b=d>>>0>i>>>0?v[(i<<2)+c>>2]:b;h=f;e=B(i,6)+l|0;a=w[e+2|0]|w[e+3|0]<<8;a=(a<<8|a>>>8)<<16>>16;g=w[e|0]|w[e+1|0]<<8;g=(g<<8|g>>>8)<<16>>16;f=h;b:{if((a|0)<(g|0)){break b}e=w[e+4|0]|w[e+5|0]<<8;e=(e<<8|e>>>8)<<16>>16;f=h;if((e|0)<(a|0)){break b}if(!(!a|((e|0)<1|(g|0)>-1))){f=h;break b}f=h;if(!a){break b}f=h;if((a|0)==(b|0)){break b}if((b|0)<=(g|0)){return C(0)}if((b|0)>=(e|0)){return C(0)}f=C(0);m=b-g|0;n=e-b|0;b=(a|0)>(b|0);k=C(C((b?m:n)|0)/C((b?a-g|0:e-a|0)|0));if(k==C(0)){break a}f=C(h*k)}i=i+1|0;if((j|0)!=(i|0)){continue}break}}return f}function mk(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=v[a+52>>2];c=w[a+32|0];a:{b:{c:{if(c){break c}d=v[a+24>>2];if(d>>>0>=y[a+28>>2]){break c}if(y[a+56>>2]<y[a+60>>2]){break b}}if(y[a+56>>2]>=y[a+60>>2]){b=b+1|0;v[a+52>>2]=b;e=-1;if(b>>>0>16){break a}v[a+60>>2]=y[a+40>>2]>b>>>0?(1<<b)-256|0:v[a+48>>2]+1|0}if(c){v[a+60>>2]=256;v[a+52>>2]=9;t[a+32|0]=0;b=9}e=-1;if(v[a+4>>2]){break a}d=0;c=Hk(v[a+164>>2],a+8|0,b);v[a+24>>2]=0;f=c<<3;v[a+28>>2]=f;v[a+36>>2]=c+v[a+36>>2];g=v[a+52>>2];v[a+4>>2]=g>>>0>c>>>0;if(f>>>0<=g>>>0){break a}v[a+28>>2]=(f|1)-g;if(!c){break a}}v[a+24>>2]=b+d;g=(d>>>3|0)+a|0;c=g+8|0;f=d&7;e=w[c|0]>>>f|0;d=8-f|0;a=b-d|0;if(a>>>0<8){b=g+9|0}else{a=a-8|0;e=w[c+1|0]<<d|e;d=16-f|0;b=c+2|0}if(!a){break a}e=(w[b|0]&(-1<<a^-1))<<d|e}return e}function pr(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;a:{if(b>>>0>c>>>0){break a}f=v[a+12>>2];if(f>>>0<=d>>>0|e>>>0>=f>>>0){break a}g=v[a+8>>2];f=v[g+(d<<3)>>2];g=v[g+(e<<3)>>2];b:{if((f|0)<=(g|0)){i=g;g=f;f=e;e=d;break b}i=f;f=d}j=v[a+4>>2];f=f<<3;h=v[j+f>>2];d=v[a>>2];l=v[f+d>>2];n=h-l|0;e=e<<3;k=v[e+j>>2];m=v[d+e>>2];o=k-m|0;if(!((h|0)==(k|0)|(g|0)==(i|0))){p=i-g|0;e=h-k|0;f=0;i=0;while(1){h=b<<3;d=v[h+d>>2];c:{if((d|0)<=(m|0)){d=d+o|0;break c}if((d|0)>=(l|0)){d=d+n|0;break c}if(!f){i=ab(e,p)}d=Qa(v[v[a+8>>2]+h>>2]-g|0,i)+k|0;j=v[a+4>>2];f=1}v[h+j>>2]=d;b=b+1|0;if(c>>>0<b>>>0){break a}d=v[a>>2];continue}}while(1){a=b<<3;e=v[a+d>>2];v[a+j>>2]=(e|0)>(m|0)?(e|0)<(l|0)?k:e+n|0:e+o|0;b=b+1|0;if(c>>>0>=b>>>0){continue}break}}}function ru(a){var b=0,c=0,d=0,e=0,f=0,g=0;while(1){b=v[((c<<2)+a|0)+12>>2];if(b){while(1){e=v[b>>2];Pa(b);b=e;if(b){continue}break}}c=c+1|0;if((c|0)!=8191){continue}break}c=v[a+4>>2];if(c){f=Ca-16|0;Ca=f;if(w[656428]&16){b=v[c+1584>>2];e=v[c+1592>>2];g=v[c+1580>>2];v[f+12>>2]=v[c+1588>>2];v[f+8>>2]=g;v[f+4>>2]=e;v[f>>2]=b;Za(452351,f)}while(1){b=v[(c+(d<<2)|0)+1036>>2];if(b){while(1){e=v[b>>2];Pa(b);b=e;if(b){continue}break}}d=d+1|0;if((d|0)!=67){continue}break}d=0;while(1){b=v[(c+(d<<2)|0)+1304>>2];if(b){while(1){e=v[b>>2];Pa(b);b=e;if(b){continue}break}}d=d+1|0;if((d|0)!=67){continue}break}b=0;if(v[c+1032>>2]>0){while(1){Pa(v[v[c+1028>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)<v[c+1032>>2]){continue}break}}Pa(v[c+1028>>2]);Pa(c);Ca=f+16|0}Pa(a)}function xb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=-1;a:{b:{c:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}c=w[a+3|0]|w[a+2|0]<<8;if(!c){break a}c=c-1|0;while(1){d=c+f|0;e=d>>>1|0;d=(d&-2)+a|0;d=w[d+4|0]<<8|w[d+5|0];d:{if(d>>>0>b>>>0){c=e-1|0;break d}if((b|0)==(d|0)){break a}f=e+1|0}if((c|0)>=(f|0)){continue}break}return-1}d=280840;c=w[a+3|0]|w[a+2|0]<<8;e:{if(!c){break e}c=c-1|0;while(1){g=c+f>>>1|0;h=B(g,6)+a|0;f:{if((w[h+4|0]<<8|w[h+5|0])>>>0<=b>>>0){if((w[h+7|0]|w[h+6|0]<<8)>>>0<b>>>0){f=g+1|0;break f}d=(B(g,6)+a|0)+4|0;break e}c=g-1|0}if((c|0)>=(f|0)){continue}break}}a=w[d+1|0]|w[d|0]<<8;if(a>>>0>(w[d+3|0]|w[d+2|0]<<8)>>>0){break a}e=(b-a|0)+(w[d+5|0]|w[d+4|0]<<8)|0}return e}function Su(a,b,c,d,e){var f=0,g=0;g=d+e|0;f=v[a+4>>2]+(u[a+2>>1]<<3)|0;d=d-e|0;e=0;a:{if(c){v[f>>2]=e;v[f+4>>2]=d;c=u[a+2>>1];u[a+2>>1]=c+1;t[c+v[a+8>>2]|0]=1;c=v[a+4>>2]+(u[a+2>>1]<<3)|0;v[c>>2]=b|e;v[c+4>>2]=d;c=u[a+2>>1];u[a+2>>1]=c+1;t[c+v[a+8>>2]|0]=1;c=v[a+4>>2]+(u[a+2>>1]<<3)|0;v[c>>2]=b;d=g;v[c+4>>2]=d;break a}c=0;v[f>>2]=c;v[f+4>>2]=g;f=u[a+2>>1];u[a+2>>1]=f+1;t[f+v[a+8>>2]|0]=1;f=v[a+4>>2]+(u[a+2>>1]<<3)|0;v[f>>2]=b|c;v[f+4>>2]=g;c=u[a+2>>1];u[a+2>>1]=c+1;t[c+v[a+8>>2]|0]=1;c=v[a+4>>2]+(u[a+2>>1]<<3)|0;v[c>>2]=b|e;v[c+4>>2]=d}b=u[a+2>>1];u[a+2>>1]=b+1;t[b+v[a+8>>2]|0]=1;b=v[a+4>>2]+(u[a+2>>1]<<3)|0;v[b>>2]=e;v[b+4>>2]=d;b=u[a+2>>1];u[a+2>>1]=b+1;t[b+v[a+8>>2]|0]=1;b=u[a>>1];u[a>>1]=b+1;u[v[a+12>>2]+(b<<1)>>1]=x[a+2>>1]-1}function Og(a,b,c){var d=0,e=0;a:{b:{c:{d:{if(v[b+20>>2]){break d}e:{if(y[b>>2]<=a>>>0){d=v[b+4>>2];if(d>>>0<a>>>0){break b}e=a+2|0;if(e>>>0<d>>>0){break e}e=e-d|0;if((e|0)>(v[b+8>>2]-d|0)){v[b+20>>2]=4;break d}Ra(d,0,e);d=v[b+4>>2];v[b+4>>2]=d+e;if(!d){break d}d=c<<8|(c&65280)>>>8;t[a|0]=d;t[a+1|0]=d>>>8;if(c>>>0>=65536){v[b+20>>2]=v[b+20>>2]|16}if(v[b+20>>2]){a=0}else{if(y[b>>2]>a>>>0){break c}c=v[b+4>>2];if(c>>>0<a>>>0){break b}d=((w[a+1|0]<<1|w[a|0]<<9)+2|0)+a|0;if(d>>>0<c>>>0){break a}d=d-c|0;f:{if((d|0)>(v[b+8>>2]-c|0)){v[b+20>>2]=4;a=0;break f}Ra(c,0,d);c=b;b=v[b+4>>2];v[c+4>>2]=b+d;a=b?a:0}}return(a|0)!=0}break c}break a}return 0}O(260227,260193,520,260255);L()}O(260267,260193,521,260255);L()}O(260294,260193,522,260255);L()}function Gw(a,b,c){var d=0,e=0;a:{b:{c:{d:{if(v[b+20>>2]){break d}e:{if(y[b>>2]<=a>>>0){d=v[b+4>>2];if(d>>>0<a>>>0){break b}e=a+2|0;if(e>>>0<d>>>0){break e}e=e-d|0;if((e|0)>(v[b+8>>2]-d|0)){v[b+20>>2]=4;break d}Ra(d,0,e);d=v[b+4>>2];v[b+4>>2]=d+e;if(!d){break d}d=c<<8|(c&65280)>>>8;t[a|0]=d;t[a+1|0]=d>>>8;if(c>>>0>=65536){v[b+20>>2]=v[b+20>>2]|16}if(v[b+20>>2]){a=0}else{if(y[b>>2]>a>>>0){break c}c=v[b+4>>2];if(c>>>0<a>>>0){break b}d=(B(w[a+1|0]|w[a|0]<<8,6)+2|0)+a|0;if(d>>>0<c>>>0){break a}d=d-c|0;f:{if((d|0)>(v[b+8>>2]-c|0)){v[b+20>>2]=4;a=0;break f}Ra(c,0,d);c=b;b=v[b+4>>2];v[c+4>>2]=b+d;a=b?a:0}}return(a|0)!=0}break c}break a}return 0}O(260227,260193,520,260255);L()}O(260267,260193,521,260255);L()}O(260294,260193,522,260255);L()}function mb(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}t[d|0]=w[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;t[d|0]=w[b+c|0];if(d&3){continue}break}}if(c>>>0<=3){break d}while(1){c=c-4|0;v[c+a>>2]=v[b+c>>2];if(c>>>0>3){continue}break}}if(!c){break a}while(1){c=c-1|0;t[c+a|0]=w[b+c|0];if(c){continue}break}break a}if(c>>>0<=3){break b}while(1){v[d>>2]=v[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){t[d|0]=w[b|0];d=d+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}return a}function Mf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{e=v[b+4>>2];c=a+4|0;if(e>>>0>c>>>0){break a}d=v[b+8>>2];if(d>>>0<c>>>0|d-c>>>0<2){break a}f=v[b+12>>2];c=f-2|0;v[b+12>>2]=c;g=1;if((c|0)<1){break a}h=b;b:{c:{d:{c=w[a+4|0]|w[a+5|0]<<8;c=(c<<8|c>>>8)&65535;if(c-1>>>0>=3){if((c|0)!=32768){break b}if(a>>>0>=e>>>0){break d}break a}if(a>>>0<e>>>0|a>>>0>d>>>0){break a}e=d-a|0;if(e>>>0<6){break a}d=f-8|0;v[b+12>>2]=d;if((d|0)<1){break a}f=w[a+5|0]|w[a+4|0]<<8;b=d-6|0;if(f-1>>>0>=3){break c}c=w[a+3|0]|w[a+2|0]<<8;a=w[a+1|0]|w[a|0]<<8;b=d-6|0;if(c>>>0<a>>>0){break c}a=(c-a>>>4-f<<1)+8|0;if(!a){break b}g=0;if(a>>>0>e>>>0){break b}b=d-a|0;break c}if(a>>>0>d>>>0){break a}g=0;if(d-a>>>0<6){break b}b=f-8|0}v[h+12>>2]=b;g=(b|0)>0}return g}return 0}function GK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{c=v[a+4>>2];if(!c){break a}d=v[a>>2];e=c+3>>>2|0;b:{c:{switch((c&3)-1|0){default:c=0;break b;case 0:c=3;break b;case 1:c=2;break b;case 2:break c}}c=1}while(1){d:{switch(c|0){case 0:b=B(w[d|0]^b,16777619);d=d+1|0;c=1;continue;case 1:b=B(w[d|0]^b,16777619);d=d+1|0;c=2;continue;case 2:b=B(w[d|0]^b,16777619);d=d+1|0;c=3;continue;default:break d}}b=B(w[d|0]^b,16777619);e=e-1|0;if(!e){break a}d=d+1|0;c=0;continue}}return B(w[a+19|0]^B(w[a+18|0]^B(w[a+17|0]^B(w[a+16|0]^B(w[a+15|0]^B(w[a+14|0]^B(w[a+13|0]^B(w[a+12|0]^B(w[a+11|0]^B(w[a+10|0]^B(w[a+9|0]^B(w[a+8|0]^b,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619)|0}function lp(a,b,c,d){var e=0,f=0;a:{if((b|0)!=1196445523){e=280448;if((b|0)!=1196643650){break a}a=v[Ic(a+136|0)>>2];a=a?a:280448;e=y[a+16>>2]<10?280448:v[a+12>>2];break a}a=v[ad(a+140|0)>>2];a=a?a:280448;e=y[a+16>>2]<10?280448:v[a+12>>2]}a=w[e+7|0]|w[e+6|0]<<8;b=a?e+a|0:280448;e=w[b|0]<<8|w[b+1|0];b:{c:{if(e){a=w[b+2|0]|w[b+3|0]<<8|(w[b+4|0]<<16|w[b+5|0]<<24);if((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))==(c|0)){a=0;b=1;if(d){break c}break b}a=1;d:{while(1){if((a|0)==(e|0)){break d}f=b+B(a,6)|0;f=w[f+2|0]|w[f+3|0]<<8|(w[f+4|0]<<16|w[f+5|0]<<24);if((f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))!=(c|0)){a=a+1|0;continue}break}b=a>>>0<e>>>0;if(d){break c}break b}b=a>>>0<e>>>0}else{b=0}a=65535;if(!d){break b}}v[d>>2]=a}return b}function xk(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;j=v[b+4>>2]+(c<<4)|0;c=v[j+4>>2];if(c){n=v[j+12>>2]+(B(c,d)<<1)|0;while(1){a:{if(!x[b+8>>1]){d=65536;break a}c=v[v[b+16>>2]+(v[v[j+8>>2]+(k<<2)>>2]<<2)>>2];l=0;d=65536;while(1){f=d;e=v[c+4>>2];h=v[c>>2];d=f;b:{if((e|0)<(h|0)){break b}i=v[c+8>>2];d=f;if((i|0)<(e|0)){break b}d=f;if(!(!e|((i|0)<1|(h|0)>-1))){break b}d=f;if(!e){break b}g=v[v[v[a+736>>2]+8>>2]+(l<<2)>>2];d=f;if((g|0)==(e|0)){break b}d=0;if((g|0)<=(h|0)|(g|0)>=(i|0)){break a}if((e|0)>(g|0)){d=fb(f,g-h|0,e-h|0);break b}d=fb(f,i-g|0,i-e|0)}c=c+12|0;l=l+1|0;if(l>>>0<x[b+8>>1]){continue}break}}m=Qa(d,x[(k<<1)+n>>1]<<16)+m|0;k=k+1|0;if(k>>>0<y[j+4>>2]){continue}break}a=m+32768>>16}else{a=0}return a}function ep(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=b-v[a>>2]|0;a=v[c+28>>2];a:{b:{if((a|0)<1){break b}f=d>>>9|0;g=v[c+32>>2];a=a-1|0;b=0;while(1){c:{e=a+b>>>1|0;h=f-v[(e<<3)+g>>2]|0;d:{if((h|0)<=-1){a=e-1|0;break d}if(!h){break c}b=e+1|0}if((a|0)>=(b|0)){continue}break b}break}a=v[((e<<3)+g|0)+4>>2];if(a>>>0>=y[c+40>>2]){a=280448}else{b=v[c+44>>2];if(!b){break b}a=b+(a<<6)|0}b=1;a=a+(d>>>3&56)|0;g=v[a>>2];e=v[a+4>>2];f=d&63;a=f&31;if(((f&63)>>>0>=32?e>>>a|0:((1<<a)-1&e)<<32-a|g>>>a)&1){break a}}b=0;if(!w[c+12|0]|(d|0)==-1){break a}v[c+16>>2]=-1;a=ec(c,d);if(!a){break a}c=a+(d>>>3&56)|0;a=c;e=v[a+4>>2];f=a;g=v[a>>2];d=d&63;c=d&31;if((d&63)>>>0>=32){d=1<<c;c=0}else{d=(1<<c)-1&1>>>32-c;c=1<<c}v[f>>2]=g|c;v[a+4>>2]=d|e}return b}function bb(a,b,c,d){var e=0,f=0,g=0,h=0;if(b){f=v[a- -64>>2];a:{b:{c:{h=v[a+60>>2];if((h|0)>=0){e=f+1|0;g=(e|0)>0?e:0;if(g>>>0<=h>>>0){break b}e=h;while(1){e=((e>>>1|0)+e|0)+8|0;if(g>>>0>=e>>>0){continue}break}if(!(e>>>0<h>>>0|e>>>0>153391688)){f=gb(v[a+68>>2],B(e,28));if(f){break c}f=v[a+64>>2]}v[a+60>>2]=-1}v[163922]=v[70118];e=v[70117];v[163920]=v[70116];v[163921]=e;e=v[70115];v[163918]=v[70114];v[163919]=e;e=v[70113];v[163916]=v[70112];v[163917]=e;e=655664;break a}v[a+60>>2]=e;v[a+68>>2]=f;f=v[a+64>>2]}if(f>>>0<g>>>0){Ra(v[a+68>>2]+B(f,28)|0,0,B(g-f|0,28))}v[a+64>>2]=g;f=g;e=(v[a+68>>2]+B(f,28)|0)-28|0}v[e+12>>2]=c;v[e+8>>2]=d;v[e+4>>2]=f;v[e>>2]=b;v[e+16>>2]=0-(c&1)&d;v[e+20>>2]=v[a+52>>2];v[e+24>>2]=v[a+56>>2]}}function Uj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=v[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=v[b+8>>2];if(e>>>0<a>>>0|e-a>>>0<4){break a}g=v[b+12>>2];d=g-4|0;v[b+12>>2]=d;if((d|0)<1){break a}f=t[a|0];d=w[a+3|0]|(w[a+1|0]<<16|f<<24|w[a+2|0]<<8);i=(d|0)!=0&(f|0)<0;f=!i;if(!d|i){break a}c=c+d|0;b:{if(c>>>0<h>>>0|c>>>0>e>>>0|e-c>>>0<4){break b}d=g-8|0;v[b+12>>2]=d;if((d|0)<1){break b}g=B(w[c+3|0]|w[c+2|0]<<8,w[c+1|0]|w[c|0]<<8);if(g>>>0>715827881){break b}f=1;if(!g){break a}c=c+4|0;if(c>>>0<h>>>0|c>>>0>e>>>0){break b}e=e-c|0;c=B(g,6);if(e>>>0<c>>>0){break b}c=d-c|0;v[b+12>>2]=c;if((c|0)>0){break a}}f=0;c=v[b+24>>2];if(c>>>0>31){break a}v[b+24>>2]=c+1;if(!w[b+20|0]){break a}t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;f=1}return f}function qv(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;v[d>>2]=0;if(!(!(e|f)|(a|0)<655)){o=d;p=(e|0)/2|0;if(f){m=v[g+28>>2];i=v[g+24>>2];j=v[g+20>>2];h=v[g+16>>2];k=v[g+12>>2];l=v[g+8>>2];f=v[g+4>>2];g=v[g>>2];q=d;e=Qa(c+e|0,a);if(E(b)+E(e)>>>0<=16){c=i<<16}else{c=Qa(e,b)}d=g<<16;a:{if((c|0)<(d|0)){b=ab(f<<16,b);break a}b:{c:{d:{n=l<<16;e:{if((n|0)>(c|0)){c=ab(d,b);g=l-g|0;if(!g){break e}b=fb(e-c|0,k-f|0,g)+ab(f<<16,b)|0;break a}f=h<<16;if((c|0)>=(f|0)){break d}}c=ab(n,b);f=h-l|0;if(!f){f=h<<16;break c}b=fb(e-c|0,j-k|0,f)+ab(k<<16,b)|0;break a}if((c|0)>=i<<16){break b}}c=ab(f,b);f=i-h|0;if(!f){break b}b=fb(e-c|0,m-j|0,f)+ab(j<<16,b)|0;break a}b=ab(m<<16,b)}v[q>>2]=b;a=ab(b,a<<1)}else{a=0}v[o>>2]=p+a}}function En(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;i=v[b+4>>2];a:{if(i>>>0>a>>>0){break a}g=v[b+8>>2];if(g>>>0<a>>>0|g-a>>>0<4){break a}e=v[b+12>>2];d=e-4|0;v[b+12>>2]=d;if((d|0)<1){break a}f=t[a|0];d=w[a+3|0]|(w[a+1|0]<<16|f<<24|w[a+2|0]<<8);h=(d|0)!=0&(f|0)<0;f=!h;if(!d|h){break a}c=c+d|0;b:{if(c>>>0<i>>>0|c>>>0>g>>>0|g-c>>>0<4){break b}d=e-8|0;v[b+12>>2]=d;if((d|0)<1){break b}h=w[c+3|0]|w[c+2|0]<<8;e=(w[c+1|0]>>>4&3)+1|0;if(h>>>0>=4294967295/(e>>>0)>>>0){break b}f=1;e=B(e,h);if(!e){break a}c=c+4|0;if(c>>>0<i>>>0|c>>>0>g>>>0|e>>>0>g-c>>>0){break b}c=d-e|0;v[b+12>>2]=c;if((c|0)>0){break a}}f=0;c=v[b+24>>2];if(c>>>0>31){break a}v[b+24>>2]=c+1;if(!w[b+20|0]){break a}t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;f=1}return f}function qq(a,b,c){var d=0,e=0,f=0,g=0;e=t[a|0];if((e|0)>=0){t[a|0]=c+e&127;return 1}d=1;f=e&255;a:{if(f>>>0<192){break a}c=((c&32767)-(c&32768)|0)+16777216|0;g=e&255;if(g>>>0<=223){if((b|0)<2){break a}b=w[a+1|0];c=c+(f<<6&1984|b&63)|0;t[a+1|0]=c&63|b&192;t[a|0]=c>>>6&31|192;return 2}if(g>>>0<=239){d=b;if((b|0)<3){break a}b=c+(f<<12&61440)|0;c=w[a+2|0];d=w[a+1|0];b=(b+(c&63)|0)+((d&63)<<6)|0;t[a+2|0]=b&63|c&192;t[a+1|0]=b>>>6&63|d&192;t[a|0]=b>>>12&15|224;return 3}if((e&255)>>>0>247){break a}d=b;if((b|0)<4){break a}b=c+(f<<18&1835008)|0;c=w[a+3|0];d=w[a+2|0];e=w[a+1|0];b=((b+(c&63)|0)+((d&63)<<6)|0)+((e&63)<<12)|0;t[a+3|0]=b&63|c&192;t[a+2|0]=b>>>6&63|d&192;t[a+1|0]=b>>>12&63|e&192;t[a|0]=b>>>18&7|240;d=4}return d}function jo(a,b){var c=0,d=0,e=0;a:{b:{c:{c=v[a+4>>2];d=v[c>>2];if((d|0)>=0){a=v[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=d>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<d>>>0|a>>>0>214748363)){d=gb(v[c+8>>2],B(a,20));if(d){break c}}v[c>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break a}v[c>>2]=a;v[c+8>>2]=d;a=v[c+4>>2]}if(a>>>0<e>>>0){Ra(v[c+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[c+4>>2]=e;a=(v[c+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=449;v[a>>2]=b;v[a+16>>2]=0;d=b;b=(b+2|0)+(w[b+3|0]<<1|w[b+2|0]<<9)|0;b=w[b+3|0]|w[b+2|0]<<8?b+4|0:280448;b=w[b|0]<<8|w[b+1|0];Wd(b?d+b|0:280448,a+8|0)}function zn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{switch(w[a|0]){case 0:if(!b|c>>>0<2){break a}d=1;a=a+1|0;while(1){e=(a+(d<<1)|0)-2|0;if((w[e|0]<<8|w[e+1|0])==(b|0)){return d}d=d+1|0;if((d|0)!=(c|0)){continue}break};break a;case 1:if(!b|c>>>0<2){break a}d=1;g=a+1|0;while(1){a=g+B(e,3)|0;f=w[a+2|0];a=w[a+1|0]|w[a|0]<<8;if(!(a>>>0>b>>>0|a+f>>>0<b>>>0)){return(b+d|0)-a|0}e=e+1|0;d=(d+f|0)+1|0;if(d>>>0<c>>>0){continue}break};break a;case 2:break b;default:break a}}if(!b|c>>>0<2){break a}f=1;while(1){d=(e<<2)+a|0;g=w[d+3|0];c:{h=w[d+2|0]|w[d+1|0]<<8;if(h>>>0>b>>>0){d=w[d+4|0]|g<<8;break c}d=w[d+4|0]|g<<8;if(h+d>>>0<b>>>0){break c}i=(b+f|0)-h|0;break a}e=e+1|0;f=(d+f|0)+1|0;if(f>>>0<c>>>0){continue}break}}return i}function jx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=v[b+4>>2];a:{if(d>>>0>a>>>0){break a}e=v[b+8>>2];if(e>>>0<a>>>0|e-a>>>0<32){break a}g=v[b+12>>2];c=g-32|0;v[b+12>>2]=c;if((c|0)<1){break a}f=1;c=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((c|0)==65536){break a}b:{if((c|0)!=131072){break b}f=a+32|0;if(f>>>0<d>>>0|e>>>0<f>>>0|e-f>>>0<2){break b}c=g-34|0;v[b+12>>2]=c;f=1;if((c|0)<1){break b}g=w[a+33|0]|w[a+32|0]<<8;if(!g){break a}h=d;d=a+34|0;if(h>>>0>d>>>0|e>>>0<d>>>0){break b}d=e-d|0;e=g<<1;if(d>>>0<e>>>0){break b}d=b;b=c-e|0;v[d+12>>2]=b;if((b|0)>0){break a}}a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);f=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))==196608}return f}function nf(a,b){var c=0,d=0,e=0,f=0;if(!a){return 35}a:{b:{c:{if((b|0)!=1970170211){if(v[a+36>>2]|b){break c}return 6}f=38;e=v[a+40>>2];if(!e){break a}c=e+(v[a+36>>2]<<2)|0;b=c-4|0;if(e>>>0<=b>>>0){while(1){d=v[b>>2];d:{if(v[d+4>>2]!=1970170211){break d}e:{switch(x[d+8>>1]){case 3:if(x[d+10>>1]!=10){break d}break b;case 0:break e;default:break d}}if(x[d+10>>1]==4){break b}}b=b-4|0;if(e>>>0<=b>>>0){continue}break}}while(1){c=c-4|0;if(e>>>0>c>>>0){break a}d=v[c>>2];if(v[d+4>>2]!=1970170211){continue}break}break b}c=v[a+40>>2];if(!c){return 38}f=6;d=v[a+36>>2];if((d|0)<=0){break a}e=(d<<2)+c|0;while(1){d=v[c>>2];if(v[d+4>>2]==(b|0)){break b}c=c+4|0;if(e>>>0>c>>>0){continue}break}break a}v[a+92>>2]=d;f=0}return f}function fN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ca-16|0;Ca=e;a:{if(v[a+4>>2]){break a}d=6;b:{if(v[a+12>>2]!=1){break b}g=v[a>>2];c=v[a+28>>2];if(c){v[(v[a+36>>2]+(c<<4)|0)-4>>2]=b}h=c+1|0;d=v[a+32>>2];c:{if(h>>>0<=d>>>0){f=v[a+36>>2];break c}v[e+8>>2]=0;i=c+8&-8;f=Ua(g,16,d,i,v[a+36>>2],e+8|0);v[a+36>>2]=f;d=v[e+8>>2];if(d){break b}v[a+32>>2]=i}c=(c<<4)+f|0;v[c+12>>2]=0;v[c>>2]=0;v[a+28>>2]=h;c=v[a- -64>>2];if(c){v[(v[a+72>>2]+(c<<4)|0)-4>>2]=b}f=c+1|0;b=v[a+68>>2];d:{if(f>>>0<=b>>>0){b=v[a+72>>2];break d}v[e+12>>2]=0;d=g;g=c+8&-8;b=Ua(d,16,b,g,v[a+72>>2],e+12|0);v[a+72>>2]=b;d=v[e+12>>2];if(d){break b}v[a+68>>2]=g}b=(c<<4)+b|0;v[b+12>>2]=0;v[b>>2]=0;v[a+64>>2]=f;break a}v[a+4>>2]=d}Ca=e+16|0}function Kt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{d=v[a+4>>2];c=v[b+4>>2];d=c>>>0>d>>>0?d:c;b:{if((d|0)>=1){f=(d|0)<8?d:8;d=0;c=0;while(1){e=c<<2;if(v[(e+a|0)+8>>2]!=v[(b+e|0)+8>>2]){break b}c=c+1|0;if((f|0)!=(c|0)){continue}break}}b=v[b>>2];c=v[a>>2];if(!c){break a}if(!b){return 0}a=0;d=0;f=v[c+4>>2];c:{if((f|0)!=v[b+4>>2]){break c}a=1;if((f|0)<1){break c}i=v[b+12>>2];j=v[c+12>>2];while(1){b=v[(d<<2)+j>>2];c=0;d:{while(1){e=v[(c<<2)+i>>2];a=b;if((e|0)==(b|0)){break d}while(1){e:{h=w[a|0];g=w[e|0];if(!g){break e}e=e+1|0;a=a+1|0;if((h|0)==(g|0)){continue}}break}if((h|0)==(g|0)){break d}c=c+1|0;if((f|0)!=(c|0)){continue}break}a=0;break c}a=1;d=d+1|0;if((f|0)!=(d|0)){continue}break}}d=a}return d}return!b}function gy(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=Ca-272|0;Ca=f;c=w[a+3|0]|w[a+2|0]<<8;e=c?c+a|0:280448;c=v[b+100>>2];c=xb(e,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);a:{if((c|0)==-1){break a}e=a;a=c>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((c<<1)+a|0)+6|0:280448;a=w[a|0]<<8|w[a+1|0];e=a?e+a|0:280448;g=w[e|0]<<8|w[e+1|0];if(!g){break a}a=e+2|0;while(1){c=w[a+1|0]|w[a|0]<<8;c=c?c+e|0:280448;k=w[c+3|0];l=w[c+2|0];d=w[c+1|0];h=w[c|0];v[f+268>>2]=0;b:{d=d|h<<8;i=c+4|0;if(!Lf(b,d,i,451,0,f+268|0,f,0)){break b}c=v[f+268>>2];if(c>>>0>=2){j=v[b+100>>2];h=v[j+72>>2];Mb(j,h,c+h|0)}if(!lg(b,d,f,l<<8|k,i+(d?(d<<1)-2|0:0)|0,c)){break b}d=1;break a}a=a+2|0;d=0;g=g-1|0;if(g){continue}break}}Ca=f+272|0;return d|0}function Al(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{h=Ea[v[a+908>>2]](b)|0;d=Va(12);if(!d){break a}g=b;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;f=d+4|0;b=a;a=v[a+916>>2];b:{if(a){e=!(Ea[a|0](g,f)|0);break b}v[f>>2]=g}a=d+8|0;f=v[b+920>>2];c:{if(f){e=!(Ea[f|0](c,a)|0)|e;break c}v[a>>2]=c}d:{e:{if(e){break e}c=((h>>>0)%227<<2)+b|0;while(1){f:{a=v[c>>2];if(!a){a=c;break f}if(!(Ea[v[b+912>>2]](v[a+4>>2],g)|0)){break e}while(1){e=v[a>>2];if(!e){break f}a=e;if(Ea[v[b+912>>2]](v[a+4>>2],g)|0){continue}break}break e}v[d>>2]=0;e=a;a=v[a>>2];v[e>>2]=a?a:d;if(a){continue}break}break d}a=v[d+4>>2];g:{if(!a){break g}c=v[b+924>>2];if(!c){break g}Ea[c|0](a)}a=v[d+8>>2];h:{if(!a){break h}b=v[b+928>>2];if(!b){break h}Ea[b|0](a)}Pa(d)}}}function wE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=Ca-1536|0;Ca=f;a:{b:{if(d&16){if(!c){break b}Ra(e,0,c<<2);break a}d=0;g=Ea[v[v[v[a+492>>2]+12>>2]>>2]](f+8|0,a,0,0,v[a+424>>2],v[a+532>>2],0,0,84)|0;if(g){break a}t[f+76|0]=0;t[f+78|0]=1;v[f+1372>>2]=v[a+404>>2];v[f+1376>>2]=v[a+408>>2];v[f+1380>>2]=v[a+412>>2];v[f+1384>>2]=v[a+416>>2];v[f+1504>>2]=v[a+548>>2];v[f+1508>>2]=v[a+544>>2];if(!c){break b}while(1){t[f+1527|0]=0;g=(d<<2)+e|0;c:{if(!ah(f+8|0,b+d|0,f+1528|0,f+1527|0)){a=v[v[v[f+12>>2]+128>>2]+52>>2];if(a){Ea[v[v[a>>2]+4>>2]](v[a+4>>2],f+1528|0)}a=v[f+48>>2];a=(((a>>31)+a|0)+32768&-65536)>>16;break c}a=0}v[g>>2]=a;d=d+1|0;if((d|0)!=(c|0)){continue}break}}g=0}Ca=f+1536|0;return g|0}function Ra(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}f=a+c|0;t[f-1|0]=b;t[a|0]=b;if(c>>>0<3){break a}t[f-2|0]=b;t[a+1|0]=b;t[f-3|0]=b;t[a+2|0]=b;if(c>>>0<7){break a}t[f-4|0]=b;t[a+3|0]=b;if(c>>>0<9){break a}f=0-a&3;e=f+a|0;d=B(b&255,16843009);v[e>>2]=d;b=c-f&-4;c=b+e|0;v[c-4>>2]=d;if(b>>>0<9){break a}v[e+8>>2]=d;v[e+4>>2]=d;v[c-8>>2]=d;v[c-12>>2]=d;if(b>>>0<25){break a}v[e+24>>2]=d;v[e+20>>2]=d;v[e+16>>2]=d;v[e+12>>2]=d;v[c-16>>2]=d;v[c-20>>2]=d;v[c-24>>2]=d;v[c-28>>2]=d;c=b;b=e&4|24;c=c-b|0;if(c>>>0<32){break a}d=eQ(d,0,1,1);f=Da;b=b+e|0;while(1){v[b+24>>2]=d;e=f;v[b+28>>2]=e;v[b+16>>2]=d;v[b+20>>2]=e;v[b+8>>2]=d;v[b+12>>2]=e;v[b>>2]=d;v[b+4>>2]=e;b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}return a}function js(a,b,c,d,e,f){var g=0;g=Ca-80|0;Ca=g;a:{if((f|0)>=16384){Sb(g+32|0,b,c,d,e,0,0,0,2147352576);d=v[g+40>>2];e=v[g+44>>2];b=v[g+32>>2];c=v[g+36>>2];if((f|0)<32767){f=f-16383|0;break a}Sb(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)<49149?f:49149)-32766|0;d=v[g+24>>2];e=v[g+28>>2];b=v[g+16>>2];c=v[g+20>>2];break a}if((f|0)>-16383){break a}Sb(g- -64|0,b,c,d,e,0,0,0,65536);d=v[g+72>>2];e=v[g+76>>2];b=v[g+64>>2];c=v[g+68>>2];if((f|0)>-32765){f=f+16382|0;break a}Sb(g+48|0,b,c,d,e,0,0,0,65536);f=((f|0)>-49146?f:-49146)+32764|0;d=v[g+56>>2];e=v[g+60>>2];b=v[g+48>>2];c=v[g+52>>2]}Sb(g,b,c,d,e,0,0,0,f+16383<<16);b=v[g+12>>2];v[a+8>>2]=v[g+8>>2];v[a+12>>2]=b;b=v[g+4>>2];v[a>>2]=v[g>>2];v[a+4>>2]=b;Ca=g+80|0}function Mh(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=v[a>>2];if(!b){break b}if((b|0)<=0){break a}v[a>>2]=b-1;if((b|0)!=1){break b}v[a>>2]=-57005;b=v[a+8>>2];if(b){c=v[b+8>>2];if(c){while(1){c=c-1|0;d=v[b+12>>2]+B(c,12)|0;e=v[d+8>>2];d=v[d+4>>2];v[b+8>>2]=c;if(e){Ea[e|0](d);c=v[b+8>>2]}if(c){continue}break}}Pa(v[b+12>>2]);Pa(b)}b=v[a+80>>2];if(b){Ea[b|0](v[a+48>>2])}b=v[a+84>>2];if(b){Ea[b|0](v[a+52>>2])}b=v[a+88>>2];if(b){Ea[b|0](v[a+56>>2])}b=v[a+92>>2];if(b){Ea[b|0](v[a+60>>2])}b=v[a+96>>2];if(b){Ea[b|0](v[a- -64>>2])}b=v[a+100>>2];if(b){Ea[b|0](v[a+68>>2])}b=v[a+104>>2];if(b){Ea[b|0](v[a+72>>2])}b=v[a+108>>2];if(b){Ea[b|0](v[a+76>>2])}Mh(v[a+12>>2]);Pa(a)}return}O(281728,281753,272,281788);L()}function Zi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ca-32|0;Ca=e;if(w[656428]&2){Za(495791,0);Vl(a);Za(495802,0);Vl(b);Rb(10)}f=1;c=v[a+4>>2];d=v[b+4>>2];c=c>>>0<d>>>0?c:d;a:{if((c|0)>=1){i=(c|0)<8?c:8;c=0;while(1){d=c<<2;g=v[(d+b|0)+8>>2]&(v[(a+d|0)+8>>2]^-1);if(g){j=c<<5;d=0;while(1){b:{if(!(g>>>d&1)){break b}h=(w[(d+j|0)+495294|0]<<5)+459296|0;if(Jt(a,h)){break b}f=0;if(!(w[656428]&2)){break a}v[e+16>>2]=h;Za(495813,e+16|0);break a}d=d+1|0;if((d|0)!=32){continue}break}}c=c+1|0;if((i|0)!=(c|0)){continue}break}}b=v[b>>2];if(!b){break a}b=Oc(b);if(!b){break a}c:{while(1){c=Wb(b);if(!c){break c}if(Jt(a,c)){continue}break}f=0;if(!(w[656428]&2)){break c}v[e>>2]=c;Za(495833,e)}qc(b)}Ca=e+32|0;return f}function jf(a,b){var c=0,d=0,e=0;c=v[a+100>>2];a:{if(w[a+140|0]){c=v[c+88>>2]+B(v[c+72>>2],20)|0;d=c;c=x[c+12>>1]&96;b:{c:{d:{e:{e=v[a+108>>2];switch(pe(e,b)-1|0){case 2:break c;case 1:break d;case 0:break e;default:break b}}c=c|2;break b}c=c|4;break b}c=oe(e,b)<<8|c|8}u[d+12>>1]=c|16;c=v[a+100>>2]}if(cb(c,1,1)){d=v[c+76>>2];a=v[c+72>>2];if(d>>>0<a+1>>>0){break a}f:{if(a>>>0<d>>>0){d=v[c+80>>2];e=v[c+92>>2];a=v[c+88>>2]+B(a,20)|0;break f}e=v[c+92>>2];d=v[c+80>>2];a=e+B(d?d-1|0:0,20)|0}d=B(d,20)+e|0;e=v[a+4>>2];v[d>>2]=v[a>>2];v[d+4>>2]=e;v[d+16>>2]=v[a+16>>2];e=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=e;v[d>>2]=b;v[c+72>>2]=v[c+72>>2]+1;v[c+80>>2]=v[c+80>>2]+1}return}O(230083,229896,223,230103);L()}function oi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=6;if(!(!c|!a|(!(w[a+8|0]&8)|x[a+340>>1]<=b>>>0))){h=0;i=v[a+356>>2];d=i+B(b,20)|0;f=x[d+8>>1];e=0;a:{if(!f){break a}e=f;if(v[d+16>>2]){break a}e=v[a+104>>2];a=v[a+100>>2];g=Ea[v[a+4>>2]](a,f)|0;b:{if(g){j=d,k=Ra(g,0,f),v[j+16>>2]=k;b=v[(B(b,20)+i|0)+12>>2];c:{f=v[e+20>>2];d:{if(f){if(Ea[f|0](e,b,0,0)|0){break c}g=v[d+16>>2];break d}if(b>>>0>y[e+4>>2]){break c}}v[e+8>>2]=b;if(Vb(e,g,x[d+8>>1])){break c}e=x[d+8>>1];break a}b=v[d+16>>2];if(!b){break b}Ea[v[a+8>>2]](a,b);break b}v[d+16>>2]=0}v[d+16>>2]=0;u[d+8>>1]=0;e=0}u[c>>1]=x[d>>1];u[c+2>>1]=x[d+2>>1];u[c+4>>1]=x[d+4>>1];u[c+6>>1]=x[d+6>>1];a=v[d+16>>2];v[c+12>>2]=e&65535;v[c+8>>2]=a}return h}function cP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;b=v[a+12>>2];v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;e=b;f=v[b+76>>2];b=v[b+72>>2];h=Ea[v[b+200>>2]](e,f,c,d,v[b- -64>>2])|0;if(h){g=v[a+12>>2];a:{if(g){b=v[d>>2];c=d;e=v[g+20>>2];f=v[a+20>>2];if((e|0)!=(f|0)){b=fQ(eQ(f,f>>31,b,b>>31),Da,e,e>>31)}v[c>>2]=b;b=v[d+4>>2];e=v[g+24>>2];f=v[a+24>>2];if((e|0)!=(f|0)){b=fQ(eQ(f,f>>31,b,b>>31),Da,e,e>>31)}v[c+4>>2]=b;e=v[d+8>>2];b=v[g+20>>2];c=v[a+20>>2];if((b|0)!=(c|0)){e=fQ(eQ(c,c>>31,e,e>>31),Da,b,b>>31)}b=d+12|0;v[d+8>>2]=e;d=v[d+12>>2];e=v[g+24>>2];a=v[a+24>>2];c=d;if((e|0)==(a|0)){break a}c=fQ(eQ(a,a>>31,d,d>>31),Da,e,e>>31);break a}b=d+12|0;c=v[d+12>>2]}v[b>>2]=c}return h|0}function UF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Xa(c);f=b+18|0;a:{b:{if((b|0)>=-17){a=v[a>>2];a=Ea[v[a+4>>2]](a,f)|0;if(a){break b}return 64}a=6;if(f){break a}a=0}f=Ta(a,c,b);b=f+b|0;a=w[4468]|w[4469]<<8;t[b+16|0]=a;t[b+17|0]=a>>>8;a=w[4464]|w[4465]<<8|(w[4466]<<16|w[4467]<<24);c=w[4460]|w[4461]<<8|(w[4462]<<16|w[4463]<<24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;t[b+12|0]=a;t[b+13|0]=a>>>8;t[b+14|0]=a>>>16;t[b+15|0]=a>>>24;a=w[4456]|w[4457]<<8|(w[4458]<<16|w[4459]<<24);c=w[4452]|w[4453]<<8|(w[4454]<<16|w[4455]<<24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;t[b+4|0]=a;t[b+5|0]=a>>>8;t[b+6|0]=a>>>16;t[b+7|0]=a>>>24;v[d>>2]=f;v[e>>2]=0;a=0}return a|0}function FD(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=Ca-16|0;Ca=f;c=v[a>>2];a:{if(w[c+8|0]&2){if(!(Ea[v[v[c+540>>2]+104>>2]](c,b,f+12|0)|0)){Pq(a,v[f+12>>2]);break a}v[a+44>>2]=-1;c=v[a>>2]}og(c,b);c=v[a>>2];b=v[v[c+712>>2]+3080>>2];c=pc(v[v[c+96>>2]+4>>2],13048);if(!c|!b){break a}b=v[b>>2];if(!b){break a}g=Ea[b|0](c)|0;if(!g){break a}h=v[v[a>>2]+712>>2];c=v[h+1440>>2];i=v[v[a+40>>2]>>2];Ea[v[g+4>>2]](v[i>>2],v[a+16>>2],v[a+20>>2],0,0);e=v[h+2024>>2];if(!e){break a}while(1){b=v[a+16>>2];e=e-1|0;j=e<<2;d=v[v[(j+h|0)+2028>>2]+68>>2];b:{if((d|0)!=(c|0)){b=fb(b,c,d);d=fb(v[a+20>>2],c,d);break b}d=v[a+20>>2]}Ea[v[g+4>>2]](v[(i+j|0)+4>>2],b,d,0,0);if(e){continue}break}}Ca=f+16|0;return 0}function ns(a,b,c,d){a:{if(b>>>0>20){break a}b:{switch(b-9|0){case 0:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=v[b>>2];return;case 1:b=v[c>>2];v[c>>2]=b+4;b=v[b>>2];v[a>>2]=b;v[a+4>>2]=b>>31;return;case 2:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=v[b>>2];v[a+4>>2]=0;return;case 3:b=v[c>>2]+7&-8;v[c>>2]=b+8;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;return;case 4:b=v[c>>2];v[c>>2]=b+4;b=u[b>>1];v[a>>2]=b;v[a+4>>2]=b>>31;return;case 5:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=x[b>>1];v[a+4>>2]=0;return;case 6:b=v[c>>2];v[c>>2]=b+4;b=t[b|0];v[a>>2]=b;v[a+4>>2]=b>>31;return;case 7:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=w[b|0];v[a+4>>2]=0;return;case 8:b=v[c>>2]+7&-8;v[c>>2]=b+8;A[a>>3]=A[b>>3];return;case 9:break b;default:break a}}Ea[d|0](a,c)}}function _b(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(b){v[a>>2]=v[a>>2]-B(v[a+4>>2],b)}f=v[a+20>>2];a:{if(!f|!b){break a}d=v[a+16>>2];g=v[a+24>>2];i=v[a+8>>2];l=v[a+12>>2];while(1){b=b-1|0;e=d;c=g;while(1){i=i-l|0;v[a+8>>2]=i;d=(c|0)!=0;g=c-d|0;v[a+24>>2]=g;f=d+f|0;v[a+20>>2]=f;c=B(c?-1:0,20);d=c+e|0;v[a+16>>2]=d;if(!f){break a}h=c+e|0;c=w[h+18|0];b:{if(!c){if(!(w[h+16|0]&32)){break b}e=d;c=g;if(!(x[h+12>>1]&16)){continue}break b}if((c|0)!=14){break b}h=v[a+40>>2];e=v[v[v[a+36>>2]>>2]+76>>2];c=i;while(1){c=c+1|0;if(e>>>0<=c>>>0){break b}j=v[h>>2]+B(c,20)|0;k=x[j+16>>1];if(!(x[j+12>>1]&16?1:w[j+18|0]|!(k&32))){continue}break}e=d;c=g;if(1<<k&7168){continue}}break}if(b){continue}break}}}function Sw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{i=v[b+4>>2];b:{if(i>>>0>a>>>0){break b}f=v[b+8>>2];if(f>>>0<a>>>0){break b}g=f-a|0;if(g>>>0<4){break b}h=v[b+12>>2];c=h-4|0;v[b+12>>2]=c;if((w[a+1|0]|w[a|0]<<8)!=1|(c|0)<1|g>>>0<8){break b}d=h-12|0;v[b+12>>2]=d;if((d|0)<1){break b}e=1;j=w[a+7|0]|w[a+6|0]<<8;if(!j){break b}a=a+8|0;while(1){if(a>>>0<i>>>0|a>>>0>f>>>0|f-a>>>0<2){break a}d=d-2|0;v[b+12>>2]=d;if((d|0)<1){break a}h=a;e=w[a+1|0];c=w[a|0];g=e|c<<8;if(g){c=a+2|0;if(c>>>0<i>>>0|c>>>0>f>>>0){break a}e=f-c|0;c=g<<2;if(e>>>0<c>>>0){break a}d=d-c|0;v[b+12>>2]=d;if((d|0)<1){break a}e=w[a+1|0];c=w[a|0]}a=(c<<10|e<<2|2)+h|0;e=1;k=k+1|0;if((j|0)!=(k|0)){continue}break}}return e}return 0}function MJ(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,q=0,r=0;a:{if(!c){break a}j=(d<<1)+4|0;if(j){h=d<<4;while(1){i=0;d=0;while(1){o=d>>>0<h>>>0?(d<<1)+b|0:448064;e=d-16|0;p=e>>>0<h>>>0?(e<<1)+b|0:448064;e=d-32|0;q=e>>>0<h>>>0?(e<<1)+b|0:448064;e=0;while(1){f=e<<1;k=f+a|0;l=x[f+p>>1];g=x[f+o>>1];m=x[f+q>>1];f=(l+((g+m&65534)>>>1|0)&65534)>>>1|0;r=(f+g&65534)>>>1|0;g=l+1|0;u[k+32>>1]=(r+g&65534)>>>1;u[k>>1]=(g+((f+m&65534)>>>1|0)&65534)>>>1;e=e+1|0;if((e|0)!=16){continue}break}d=d+16|0;a=a- -64|0;i=i+2|0;if(j>>>0>i>>>0){continue}break}b=(h<<1)+b|0;n=n+16|0;if(n>>>0<c>>>0){continue}break}break a}d=16;while(1){if(c>>>0<=d>>>0){break a}d=d+16|0;continue}}}function fb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=(a|0)<0?-1:1;h=(b|0)<0?0-d|0:d;g=2147483647;d=c>>31;d=d+c^d;a:{if(!d){break a}b:{e=b;b=b>>31;b=e+b^b;e=a;a=a>>31;a=e+a^a;if(b+a>>>0<=129894-(d>>>17|0)>>>0){a=B(a,b)+(d>>>1|0)|0;break b}i=b>>>16|0;e=a&65535;j=B(i,e);k=a>>>16|0;a=b&65535;b=j+B(k,a)|0;f=b<<16;e=f+B(a,e)|0;a=e+(d>>>1|0)|0;b=(((B(i,k)+(b>>>16|0)|0)+((b>>>0<j>>>0)<<16)|0)+(f>>>0>e>>>0)|0)+(a>>>0<e>>>0)|0;if(!b){break b}if(b>>>0>=d>>>0){break a}f=E(b);e=32-f|0;b=a>>>e|b<<f;g=(b>>>0)/(d>>>0)|0;b=b-B(d,g)|0;a=a<<f;while(1){f=b<<1|a>>>31;b=f-(d>>>0>f>>>0?0:d)|0;g=g<<1|d>>>0<=f>>>0;a=a<<1;e=e-1|0;if(e){continue}break}break a}g=(a>>>0)/(d>>>0)|0}return(((c|0)<0?0-h|0:h)|0)<0?0-g|0:g}function On(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Ca-272|0;Ca=f;c=w[b+3|0]|w[b+2|0]<<8;e=c?c+b|0:280448;c=v[a+100>>2];c=xb(e,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);a:{if((c|0)==-1){break a}e=b;b=c>>>0<(w[b+5|0]|w[b+4|0]<<8)>>>0?((c<<1)+b|0)+6|0:280448;b=w[b|0]<<8|w[b+1|0];e=b?e+b|0:280448;g=w[e|0]<<8|w[e+1|0];if(!g){break a}b=e+2|0;while(1){c=w[b+1|0]|w[b|0]<<8;c=c?c+e|0:280448;k=w[c+3|0];l=w[c+2|0];d=w[c+1|0];h=w[c|0];v[f+268>>2]=0;b:{d=d|h<<8;i=c+4|0;if(!Lf(a,d,i,451,0,f+268|0,f,0)){break b}c=v[f+268>>2];if(c>>>0>=2){j=v[a+100>>2];h=v[j+72>>2];Mb(j,h,c+h|0)}if(!lg(a,d,f,l<<8|k,i+(d?(d<<1)-2|0:0)|0,c)){break b}d=1;break a}b=b+2|0;d=0;g=g-1|0;if(g){continue}break}}Ca=f+272|0;return d}function vt(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;g=-1;a:{f=d-c|0;b:{if((f|0)<1){break b}h=b+72|0;while(1){j=d;c:{d:{e:{f:{g:{h:{i=w[w[c|0]+h|0];switch(i|0){case 0:case 1:case 8:break a;case 12:case 13:break e;case 7:break f;case 6:break g;case 5:break h;default:break d}}if((f|0)<2){return-2}if(Ea[v[b+352>>2]](b,c)|0){break a}c=c+2|0;break c}if((f|0)<3){return-2}if(Ea[v[b+356>>2]](b,c)|0){break a}c=c+3|0;break c}if((f|0)<4){return-2}if(Ea[v[b+360>>2]](b,c)|0){break a}c=c+4|0;break c}f=c+1|0;c=f;if((a|0)!=(i|0)){break c}if((d-f|0)<1){return-27}v[e>>2]=f;a=w[w[f|0]+h|0];if(a>>>0<=30){g=27;if(1<<a&1076891136){break b}}return 0}c=c+1|0}f=j-c|0;if((f|0)>0){continue}break}}return g}v[e>>2]=c;return 0}function Eo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ca-16|0;Ca=e;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[e+12>>2]=a;v[e+8>>2]=0;h=b+4|0;a:{c=w[b+5|0];f=w[b+4|0];g=c|f<<8;if(!g){break a}i=w[b+1|0]|w[b|0]<<8;while(1){c=(f<<8|c)>>>0>d>>>0?((d<<1)+h|0)+2|0:280448;c=w[c|0]<<8|w[c+1|0];Wd(Do(c?c+b|0:280448,e+8|0,i),v[e+12>>2]);d=d+1|0;if((g|0)==(d|0)){break a}c=w[b+5|0];f=w[b+4|0];continue}}v[a+12>>2]=0;v[a+16>>2]=0;d=0;v[a+20>>2]=0;v[e+12>>2]=a+12;v[e+8>>2]=0;b:{c=w[b+5|0];f=w[b+4|0];a=c|f<<8;if(!a){break b}g=w[b+1|0]|w[b|0]<<8;while(1){c=(f<<8|c)>>>0>d>>>0?((d<<1)+h|0)+2|0:280448;c=w[c|0]<<8|w[c+1|0];Co(c?c+b|0:280448,e+8|0,g);d=d+1|0;if((a|0)==(d|0)){break b}c=w[b+5|0];f=w[b+4|0];continue}}Ca=e+16|0}function CC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ca-32|0;Ca=c;e=v[b+96>>2];a:{if((e|0)<0|v[a+300>>2]<=(e|0)){break a}f=v[a+304>>2];if((Ea[v[b+52>>2]](b,6,c,3)|0)<6){break a}d=v[c+12>>2];if(!d){break a}g=d>>31;d=g^d+g;if((d|0)!=65536){h=a,i=ab(1e3,d),u[h+68>>1]=i;h=c,i=ab(v[c>>2],d),v[h>>2]=i;h=c,i=ab(v[c+4>>2],d),v[h+4>>2]=i;h=c,i=ab(v[c+8>>2],d),v[h+8>>2]=i;h=c,i=ab(v[c+16>>2],d),v[h+16>>2]=i;h=c,i=ab(v[c+20>>2],d),v[h+20>>2]=i;v[c+12>>2]=v[c+12>>2]<0?-65536:65536}d=(B(e,252)+f|0)+216|0;v[d>>2]=v[c>>2];a=B(e,252)+f|0;v[a+224>>2]=v[c+4>>2];v[a+220>>2]=v[c+8>>2];v[a+228>>2]=v[c+12>>2];if(!Oi(d)){v[b+12>>2]=3;break a}v[a+232>>2]=v[c+16>>2]>>16;v[a+236>>2]=v[c+20>>2]>>16}Ca=c+32|0}function sw(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(!w[a+12|0]){return 0}b=(v[a+16>>2]<<1)+8|0;d=b?32-E(b)|0:0;g=Va(12<<d);a:{if(!g){t[a+12|0]=0;break a}f=1<<d;b=B(f,12);if(b){h=b+g|0;e=f;b=g;while(1){c=b;if(!e){v[163918]=v[70114];c=v[70113];v[163916]=v[70112];v[163917]=c;c=655664}v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;c=(e|0)!=0;e=e-c|0;b=B(c,12)+b|0;if((h|0)!=(b|0)){continue}break}}v[a+16>>2]=0;v[a+20>>2]=0;h=v[a+24>>2];v[a+24>>2]=f-1;v[a+28>>2]=v[(d>>>0>31?280140:(d<<2)+280016|0)>>2];c=v[a+32>>2];v[a+32>>2]=g;if(!(!c|(h|0)==-1)){b=0;while(1){e=b;b=c+B(b,12)|0;f=v[b>>2];b:{if(!f){break b}d=v[b+4>>2];if(!d){break b}tw(a,f,v[b+8>>2],d)}b=e+1|0;if((e|0)!=(h|0)){continue}break}}Pa(c)}return(g|0)!=0}function gn(a){var b=0,c=0;a:{if(!a){break a}c=v[a>>2];if(!c){break a}v[a+44>>2]=0;v[a+48>>2]=0;b=v[a+52>>2];if((b|0)!=(a+72|0)){if(b){Ea[v[c+8>>2]](c,b)}v[a+52>>2]=0}v[a+56>>2]=0;v[a+60>>2]=0;b=v[a- -64>>2];if((b|0)!=(a+864|0)){if(b){Ea[v[c+8>>2]](c,b)}v[a+64>>2]=0}b=a+1392|0;v[b>>2]=0;v[b+4>>2]=0;b=v[a+1400>>2];if((b|0)!=(a+1420|0)){if(b){Ea[v[c+8>>2]](c,b)}v[a+1400>>2]=0}b=a+1404|0;v[b>>2]=0;v[b+4>>2]=0;b=v[a+1412>>2];if((b|0)!=(a+2212|0)){if(b){Ea[v[c+8>>2]](c,b)}v[a+1412>>2]=0}b=v[a+40>>2];if((b|0)!=(a+2752|0)){if(b){Ea[v[c+8>>2]](c,b)}v[a+40>>2]=0}v[a+32>>2]=0;v[a+36>>2]=0;b=v[a+28>>2];if((b|0)!=(a+2784|0)){if(b){Ea[v[c+8>>2]](c,b)}v[a+28>>2]=0}v[a+20>>2]=0;v[a+24>>2]=0;v[a>>2]=0}}function sH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=970;f=33;a:{b:{c:{d:{switch(b-15|0){case 3:f=23;g=971;if(Ea[v[e+24>>2]](e,c,d,506411)|0){break b}f=24;if(Ea[v[e+24>>2]](e,c,d,506417)|0){break b}f=25;if(Ea[v[e+24>>2]](e,c,d,506420)|0){break b}f=26;if(Ea[v[e+24>>2]](e,c,d,506426)|0){break b}f=27;if(Ea[v[e+24>>2]](e,c,d,506358)|0){break b}f=28;if(Ea[v[e+24>>2]](e,c,d,506433)|0){break b}f=29;if(Ea[v[e+24>>2]](e,c,d,506442)|0){break b}f=30;if(Ea[v[e+24>>2]](e,c,d,506450)|0){break b}g=972;f=33;if(!(Ea[v[e+24>>2]](e,c,d,506381)|0)){break c}break b;case 0:break a;case 8:break b;default:break d}}if(v[a+16>>2]){break c}f=59;if((b|0)==28){break a}}f=-1;g=936}v[a>>2]=g}return f|0}function qu(a){var b=0,c=0,d=0,e=0;d=Ca-16|0;Ca=d;a:{while(1){b:{c:{d:{b=w[a|0];switch(b|0){case 0:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break b;case 9:break c;default:break d}}if((b|0)!=32){break b}}a=a+1|0;continue}break}b=Xa(a);c=b+a|0;e:{if((b|0)<1){break e}while(1){b=c-1|0;e=w[b|0];if((e|0)!=9?(e|0)!=32:0){break e}c=b;if(b>>>0>a>>>0){continue}break}}b=a;a=c-a|0;a=a>>>0<15?a:15;b=Ta(d,b,a);t[a+b|0]=0;if(!jb(b,3592)){c=2;break a}if(!jb(b,3597)){c=3;break a}if(!jb(b,3604)){c=4;break a}if(!jb(b,3611)){c=5;break a}if(!jb(b,3618)){c=6;break a}if(!jb(b,3625)){c=7;break a}if(!jb(b,3633)){c=8;break a}if(!jb(b,3641)){c=9;break a}c=jb(b,3648)?1:10}Ca=d+16|0;return c}function kE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Ca-16|0;Ca=h;g=v[a+532>>2];d=6;a:{if(!g){break a}sk(v[g+136>>2],h,v[g+4>>2]);k=v[g+4>>2];i=b>>>0>k>>>0?k:b;if(i){while(1){n=j<<2;l=v[n+h>>2];d=B(j,12)+g|0;e=v[d+96>>2];b:{if((l|0)>v[e>>2]){a=1;f=w[d+88|0];if(f>>>0>1){while(1){m=a<<2;o=v[m+e>>2];if((l|0)<=(o|0)){d=v[d+92>>2];f=m-4|0;a=v[d+f>>2];d=v[d+m>>2];e=v[e+f>>2];a=B(ab(l-e|0,o-e|0),d-a|0)+(a<<16)|0;break b}a=a+1|0;if((f|0)!=(a|0)){continue}break}}a=v[(v[d+92>>2]+(f<<2)|0)-4>>2]<<16;break b}a=v[v[d+92>>2]>>2]<<16}v[c+n>>2]=a;j=j+1|0;if((i|0)!=(j|0)){continue}break}}d=0;if(b>>>0<=k>>>0){break a}Ra((i<<2)+c|0,0,b-i<<2);d=0}Ca=h+16|0;return d|0}function BO(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;a:{i=v[v[a+112>>2]>>2];if(!i){break a}e=v[c+76>>2];if(!e){break a}d=e-1|0;a=0;f=v[c+88>>2];b=w[f+15|0];while(1){b:{if((a|0)==(d|0)){a=e;break b}a=a+1|0;if((b|0)==w[(B(a,20)+f|0)+15|0]){continue}}break}if(!e){break a}d=0;g=f;h=e;while(1){b=a;c:{if(a>>>0<=d>>>0){break c}while(1){a=B(d,20)+f|0;if(!(v[a+4>>2]&i)){break c}if(w[a+12|0]&16){t[a+18|0]=18;g=v[c+88>>2];h=v[c+76>>2];break c}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0<h>>>0?h:a;j=d-1|0;k=w[(B(b,20)+g|0)+15|0];a=b;while(1){d:{if((a|0)==(j|0)){a=d;break d}a=a+1|0;if(w[(B(a,20)+g|0)+15|0]==(k|0)){continue}}break}d=b;if(e>>>0>d>>>0){continue}break}}}function eI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+72|0;a=b;while(1){a:{b:{c:{d:{e:{f:{c=w[a|0];switch(c-216|0){case 4:case 5:case 6:case 7:break a;case 0:case 1:case 2:case 3:break c;case 39:break d;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break e;default:break f}}if(!c){break b}}a=a+2|0;continue}if(w[a+1|0]>253){break a}a=a+2|0;continue}a=a+4|0;continue}c=w[w[a+1|0]+e|0]-5|0;d=c&255;if(d>>>0>=25|!(25034759>>>d&1)){break a}a=v[(c<<24>>24<<2)+506236>>2]+a|0;continue}break}return a-b|0}function vI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+72|0;a=b;while(1){a:{b:{c:{d:{e:{f:{c=w[a+1|0];switch(c-216|0){case 4:case 5:case 6:case 7:break a;case 0:case 1:case 2:case 3:break c;case 39:break d;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break e;default:break f}}if(!c){break b}}a=a+2|0;continue}if(w[a|0]>253){break a}a=a+2|0;continue}a=a+4|0;continue}c=w[w[a|0]+e|0]-5|0;d=c&255;if(d>>>0>=25|!(25034759>>>d&1)){break a}a=v[(c<<24>>24<<2)+506236>>2]+a|0;continue}break}return a-b|0}function iB(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;d=v[b>>2];if(y[d+16>>2]>c>>>0){b=v[d+140>>2];f=x[b+96>>1];e=v[b+56>>2];if(c){b=c-1|0}else{b=v[d+148>>2]}b=e+B(b,36)|0;g=x[b+10>>1];c=u[b+20>>1];e=u[b+16>>1];h=v[b+24>>2];i=x[b+14>>1];j=x[b+12>>1];v[a+84>>2]=v[b+28>>2];v[a+80>>2]=j;v[a+76>>2]=i;Zk(a,h);a:{b:{switch(f-1|0){case 0:t[a+94|0]=1;break a;case 1:t[a+94|0]=3;break a;case 3:t[a+94|0]=4;break a;case 7:break b;default:break a}}u[a+92>>1]=256;t[a+94|0]=2}v[a+104>>2]=c;v[a+100>>2]=e;v[a+72>>2]=1651078259;v[a+40>>2]=g<<6;v[a+36>>2]=c<<6;v[a+32>>2]=e<<6;v[a+24>>2]=v[a+80>>2]<<6;v[a+28>>2]=v[a+76>>2]<<6;pg(a+24|0,x[v[d+140>>2]+6>>1]<<6);a=0}else{a=6}return a|0}function Yn(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=v[b+4>>2];if(g>>>0>a>>>0){break a}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<2){break a}e=v[b+12>>2]-2|0;v[b+12>>2]=e;f=1;if((e|0)<1){break a}h=w[a+1|0]|w[a|0]<<8;b:{if(!h){break b}f=a+2|0;if(f>>>0<g>>>0|d>>>0<f>>>0){break a}d=d-f|0;f=h<<2;if(d>>>0<f>>>0){break a}d=e-f|0;v[b+12>>2]=d;f=0;if((d|0)<1){break b}f=1;h=w[a+1|0]|w[a|0]<<8;if(!h){break b}f=0;e=a+2|0;if(g>>>0>e>>>0){break b}d=0;while(1){g=v[b+8>>2];if(g>>>0<e>>>0|g-e>>>0<4){break b}e=v[c>>2];g=v[b+12>>2]-4|0;v[b+12>>2]=g;if((g|0)<1){break b}if(!Wh(((d<<2)+a|0)+4|0,b,e)){break b}d=d+1|0;if((h|0)==(d|0)){return 1}e=((d<<2)+a|0)+2|0;if(e>>>0>=y[b+4>>2]){continue}break}}return f}return 0}function fw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=Ca-32|0;Ca=g;if(!w[a+70|0]){e=b+1|0;if(e>>>0<c>>>0){i=b;while(1){f=i;i=e;while(1){j=e;if(e>>>0>b>>>0){h=v[a+88>>2];e=j-1|0;if((Ea[d|0](h+B(e,20)|0,B(i,20)+h|0)|0)>0){continue}}break}if((i|0)!=(j|0)){e=f+2|0;if(e-j>>>0>=2){rc(a,j,e)}f=v[a+88>>2];h=f+B(i,20)|0;v[g+24>>2]=v[h+16>>2];e=v[h+12>>2];v[g+16>>2]=v[h+8>>2];v[g+20>>2]=e;e=v[h+4>>2];v[g+8>>2]=v[h>>2];v[g+12>>2]=e;e=f;f=B(j,20);e=e+f|0;mb(e+20|0,e,B(i-j|0,20));e=v[g+12>>2];f=f+v[a+88>>2]|0;v[f>>2]=v[g+8>>2];v[f+4>>2]=e;v[f+16>>2]=v[g+24>>2];e=v[g+20>>2];v[f+8>>2]=v[g+16>>2];v[f+12>>2]=e}e=i+1|0;if((e|0)!=(c|0)){continue}break}}Ca=g+32|0;return}O(281985,281818,1858,282001);L()}function eg(a,b){var c=0,d=0,e=0;a:{b:{c:{switch(v[b>>2]-3|0){case 0:c=ib(v[b+8>>2]);v[b+8>>2]=c;if(!c){break b}break a;case 2:c=v[b+8>>2];d:{if(!c){break d}d=Va(32);if(!d){break d}e=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=e;e=v[c+28>>2];v[d+24>>2]=v[c+24>>2];v[d+28>>2]=e;e=v[c+20>>2];v[d+16>>2]=v[c+16>>2];v[d+20>>2]=e;e=v[c+12>>2];v[d+8>>2]=v[c+8>>2];v[d+12>>2]=e;e=d}v[b+8>>2]=e;if(!e){break b}break a;case 3:c=vh(v[b+8>>2]);v[b+8>>2]=c;if(!c){break b}break a;case 5:c=cg(v[b+8>>2]);v[b+8>>2]=c;if(!c){break b}break a;case 6:break c;default:break a}}c=qm(v[b+8>>2]);v[b+8>>2]=c;if(c){break a}}v[b>>2]=0}c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c}function fc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(b){v[a>>2]=v[a>>2]+B(v[a+4>>2],b)}f=v[a+20>>2];a:{if(!f|!b){break a}e=v[a+16>>2];h=v[a+24>>2];g=v[a+8>>2];j=v[a+12>>2];while(1){b=b-1|0;c=e;while(1){g=g+j|0;v[a+8>>2]=g;e=(f|0)!=0;h=e+h|0;v[a+24>>2]=h;f=f-e|0;v[a+20>>2]=f;d=B(e,20);e=d+c|0;v[a+16>>2]=e;if(!f){break a}d=c+d|0;c=w[d+18|0];b:{if(!c){if(!(w[d+16|0]&32)){break b}c=e;if(!(x[d+12>>1]&16)){continue}break b}if((c|0)!=14){break b}k=v[a+40>>2];l=v[v[v[a+36>>2]>>2]+76>>2];c=g;while(1){c=c+1|0;if(l>>>0<=c>>>0){break b}d=v[k>>2]+B(c,20)|0;i=x[d+16>>1];if(!(x[d+12>>1]&16?1:w[d+18|0]|!(i&32))){continue}break}c=e;if(1<<i&7168){continue}}break}if(b){continue}break}}}function wk(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=v[a+760>>2];if(h>>>0<=b>>>0){v[c>>2]=0;return 0}e=v[a+764>>2];a:{if(x[a+210>>1]){f=e+(b<<2)|0;d=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=g;i=e+(h<<2)|0;e=f+8|0;if(i>>>0<e>>>0){break a}d=e-4|0;d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break a}f=e+(b<<1)|0;g=w[f|0]<<8|w[f+1|0];d=g;g=d<<1;i=e+(h<<1)|0;e=f+4|0;if(i>>>0>=e>>>0){d=e-2|0;d=w[d|0]<<8|w[d+1|0]}d=d<<1}f=0;a=v[a+724>>2];if(a>>>0<g>>>0){v[c>>2]=0;return 0}b:{if(a>>>0<d>>>0){d=a;e=0;if((h-2|0)!=(b|0)){break b}}f=(d>>>0<g>>>0?a:d)-g|0;e=g}v[c>>2]=f;return e|0}function Mm(a){var b=0,c=0,d=0,e=0,f=0;b=eb(1,96);if(b){v[b+84>>2]=a;d=eb(1,40);v[b+88>>2]=d;a:{if(!d){break a}v[164114]=0;a=Xb(0,20,144);v[b+16>>2]=a;if(v[164114]){break a}v[b>>2]=1;v[b+4>>2]=20;c=Ra(a,0,144);e=ib(2859);v[c>>2]=e;f=ib(2867);v[c+116>>2]=20;v[c+104>>2]=2;a=c;v[a+96>>2]=0;v[a+100>>2]=1074266112;v[a+88>>2]=0;v[a+92>>2]=1073741824;v[a+80>>2]=1;v[a+64>>2]=0;v[a+68>>2]=0;v[a+56>>2]=0;v[a+60>>2]=1072693248;v[a+48>>2]=0;v[a+52>>2]=1072693248;v[a+32>>2]=200;v[a+24>>2]=0;v[a+28>>2]=128;v[a+16>>2]=-256;v[a+20>>2]=16776960;v[a+8>>2]=0;v[a+12>>2]=1077018624;v[a+4>>2]=f;v[a+108>>2]=20;v[a+112>>2]=20;if(!(!e|!f)){v[d+28>>2]=1;return b}Pa(e);Pa(v[c+4>>2])}Pa(d);Pa(b)}return 0}function aw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=v[(c?16:12)+b>>2];b=v[(c?8:4)+b>>2];f=B(c,7676)+a|0;g=f+7712|0;a:{if(v[f+7716>>2]==(h|0)?(b|0)==v[g>>2]:0){break a}v[g>>2]=b;v[f+48>>2]=h;v[f+44>>2]=b;v[f+7716>>2]=h;if(!v[f+260>>2]){break a}g=0;i=B(c,7676)+a|0;while(1){a=B(g,28)+i|0;c=a;d=Qa(v[a+264>>2],b)+h|0;v[a+272>>2]=d;v[a+268>>2]=d;d=Qa(v[a+276>>2],b)+h|0;v[a+284>>2]=d;v[a+280>>2]=d;v[a+288>>2]=v[a+288>>2]&-2;if(Qa(v[a+264>>2]-v[a+276>>2]|0,b)+48>>>0<=96){d=v[a+268>>2]+32&-64;v[c+272>>2]=d;d=ab(d,b)-v[a+276>>2]|0;e=d>>31;e=Qa(e^d+e,b);e=(e|0)<32?0:e+32&-64;v[a+284>>2]=((d|0)<0?e:0-e|0)+v[c+272>>2];v[a+288>>2]=v[a+288>>2]|1}g=g+1|0;if(g>>>0<y[f+260>>2]){continue}break}}}function Jj(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{f=v[a+4>>2];if((f|0)>=0){d=v[a+8>>2];e=d+1|0;e=(e|0)>0?e:0;if(e>>>0<=f>>>0){break b}d=f;while(1){d=((d>>>1|0)+d|0)+8|0;if(e>>>0>=d>>>0){continue}break}if(!(d>>>0<f>>>0|d>>>0>268435454)){f=gb(v[a+12>>2],d<<4);if(f){break c}}v[a+4>>2]=-1}d=v[70115];v[163918]=v[70114];v[163919]=d;d=v[70113];v[163916]=v[70112];v[163917]=d;g=655664;break a}v[a+4>>2]=d;v[a+12>>2]=f;d=v[a+8>>2]}if(d>>>0<e>>>0){Ra(v[a+12>>2]+(d<<4)|0,0,e-d<<4)}v[a+8>>2]=e;g=(v[a+12>>2]+(e<<4)|0)-16|0}d=g;v[d>>2]=b;e=v[c+12>>2];f=v[c+4>>2];h=v[c>>2];b=v[a>>2];v[d+12>>2]=0;v[d+4>>2]=b+h;d=e-b|0;b=f-b|0;b=b>>>0>f>>>0?0:b;v[g+8>>2]=b>>>0>d>>>0?d:b;v[a>>2]=v[c+12>>2]}function dj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=v[a+8>>2];e=g+a|0;h=v[a>>2];a:{if((h|0)<=0){c=0}else{c=h-1|0;while(1){d=c+f>>1;i=v[(d<<3)+e>>2]-b|0;if(!i){break a}j=(i|0)<0;f=j?d+1|0:f;c=j?c:d-1|0;if((f|0)<=(c|0)){continue}break}c=(i>>>31|0)+d|0}d=c^-1}if((d|0)<=-1){c=v[a+4>>2];b:{if((c|0)>((a?h+1|0:1)|0)){break b}f=c+16|0;c:{d:{if(c){g=f<<3;c=gb(e,g);if(c){break c}c=Va(g);if(c){break d}return 0}c=Va(f<<3);if(c){break c}return 0}Ta(c,e,v[a>>2]<<3)}g=c-a|0;v[a+8>>2]=g;e=v[a+4>>2];if((e|0)>=(f|0)){break b}Ra((e<<3)+c|0,0,f-e<<3);v[a+4>>2]=f}d=d^-1;c=(a+g|0)+(d<<3)|0;mb(c+8|0,c,v[a>>2]-d<<3);v[a>>2]=v[a>>2]+1;v[c+4>>2]=0;v[c>>2]=b;e=v[a+8>>2]+a|0}return e+(d<<3)|0}function DC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=Ca-16|0;Ca=e;c=v[b+72>>2];d=v[a+100>>2];v[e+12>>2]=0;b=Ea[v[b+36>>2]](b)|0;a:{if((b|0)<0|v[a+304>>2]){break a}c=y[c+4>>2]/100|0;c=b>>>0>c>>>0?c:b;d=Ua(d,252,0,c,0,e+12|0);v[a+304>>2]=d;if(v[e+12>>2]){break a}v[a+300>>2]=c;if((c|0)<1){break a}b=0;if((c|0)!=1){f=c&67108862;while(1){a=d+B(b,252)|0;v[a+116>>2]=1;v[a+108>>2]=2596864;v[a+112>>2]=7;v[a+180>>2]=3932;v[a+4>>2]=4;a=d+B(b|1,252)|0;v[a+116>>2]=1;v[a+108>>2]=2596864;v[a+112>>2]=7;v[a+180>>2]=3932;v[a+4>>2]=4;b=b+2|0;f=f-2|0;if(f){continue}break}}if(!(c&1)){break a}a=d+B(b,252)|0;v[a+116>>2]=1;v[a+108>>2]=2596864;v[a+112>>2]=7;v[a+180>>2]=3932;v[a+4>>2]=4}Ca=e+16|0}function Qt(a){var b=0;a:{if(!a){break a}if(rb(a,454432)){return v[113573]}if(rb(a,454444)){b=v[113575];break a}if(rb(a,454456)){return v[113577]}if(rb(a,454476)){return v[113579]}if(rb(a,454488)){return v[113581]}if(rb(a,454494)){return v[113583]}if(rb(a,454517)){return v[113585]}if(rb(a,454529)){return v[113587]}if(rb(a,454537)){return v[113589]}if(rb(a,454576)){return v[113591]}if(rb(a,454594)){return v[113593]}if(rb(a,454608)){return v[113595]}if(rb(a,454628)){return v[113597]}if(rb(a,454646)){return v[113599]}if(rb(a,454658)){return v[113601]}if(rb(a,454678)){return v[113603]}if(rb(a,454686)){return v[113605]}if(!rb(a,454702)){break a}return v[113607]}return b}function Th(a,b){var c=0,d=0,e=0,f=0;f=v[b+12>>2];d=v[b+4>>2];a:{if(f>>>0>=d>>>0){t[b+16|0]=1;e=280448;break a}e=f+v[b>>2]|0}e=w[e|0]<<24;c=f+1|0;b:{if(c>>>0>=d>>>0){t[b+16|0]=1;c=280448;break b}c=c+v[b>>2]|0}e=e|w[c|0]<<16;c=f+2|0;c:{if(c>>>0>=d>>>0){t[b+16|0]=1;c=280448;break c}c=c+v[b>>2]|0}c=e|w[c|0]<<8;e=d;d=f+3|0;d:{if(e>>>0<=d>>>0){t[b+16|0]=1;e=280448;break d}e=d+v[b>>2]|0}c=c|w[e|0];d=v[a+4>>2];e:{if(d>>>0<y[a+12>>2]){v[a+4>>2]=d+1;a=v[a+16>>2]+(d<<3)|0;break e}t[a|0]=1;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664}A[a>>3]=c|0;f:{a=v[b+4>>2];if(w[b+16|0]|a>>>0<f>>>0){break f}f=f+4|0;if(f>>>0>a>>>0){break f}v[b+12>>2]=f;return}t[b+16|0]=1;v[b+12>>2]=a}function rn(a,b){a:{b:{c:{d:{switch(a>>>12|0){case 0:a=a-1536|0;if(a>>>0<739){break c}break b;case 1:if(a-6150>>>0>164){break b}a=a-5411|0;break c;case 2:if(a-8204>>>0>93){break b}a=a-7300|0;break c;case 10:if(a-43072>>>0>51){break b}a=a-42074|0;break c;case 16:if(a-68288>>>0<=47){a=a-67238|0;break c}if(a-68480>>>0<=47){a=a-67382|0;break c}if(a-68864>>>0<=35){a=a-67718|0;break c}if(a-69424>>>0<=36){a=a-68242|0;break c}if(a-69552>>>0>27){break b}a=a-68333|0;break c;case 17:if(a-69821>>>0>16){break b}a=a-68574|0;break c;case 30:break d;default:break b}}if(a-125184>>>0>75){break b}a=a-123920|0}a=w[a+257376|0];if((a|0)!=8){break a}}a=b>>>0>31?0:1<<b&6146?7:0}return a}function Nf(a,b,c,d){var e=0,f=0,g=0;f=Ca-48|0;Ca=f;v[d>>2]=0;v[c>>2]=0;e=v[a+72>>2];a:{if(Ea[v[e+184>>2]](a,v[a+76>>2],b,c,d,v[e+48>>2])|0){break a}v[d>>2]=0;v[c>>2]=0;e=v[a+72>>2];if(!(Ea[v[e+188>>2]](a,v[a+76>>2],b,c,d,v[e+52>>2])|0)){break a}e=b;b=v[a+72>>2];e=Ea[v[b+168>>2]](a,v[a+76>>2],e,v[b+32>>2])|0;b=f;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;e=(e|0)/-2|0;b=v[a+72>>2];b:{if(Ea[v[b+148>>2]](a,v[a+76>>2],f,v[b+12>>2])|0){a=v[f>>2];break b}g=+v[a+24>>2]*.8;if(D(g)<2147483648){a=~~g;break b}a=-2147483648}v[c>>2]=e+v[c>>2];v[d>>2]=v[d>>2]-a}Ca=f+48|0}function Vo(a,b,c,d){var e=0,f=0,g=0;f=Ca-48|0;Ca=f;v[d>>2]=0;v[c>>2]=0;e=v[a+72>>2];a:{if(Ea[v[e+188>>2]](a,v[a+76>>2],b,c,d,v[e+52>>2])|0){break a}v[d>>2]=0;v[c>>2]=0;e=v[a+72>>2];if(!(Ea[v[e+184>>2]](a,v[a+76>>2],b,c,d,v[e+48>>2])|0)){break a}e=b;b=v[a+72>>2];e=Ea[v[b+168>>2]](a,v[a+76>>2],e,v[b+32>>2])|0;b=f;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;e=(e|0)/2|0;b=v[a+72>>2];b:{if(Ea[v[b+148>>2]](a,v[a+76>>2],f,v[b+12>>2])|0){a=v[f>>2];break b}g=+v[a+24>>2]*.8;if(D(g)<2147483648){a=~~g;break b}a=-2147483648}v[c>>2]=e+v[c>>2];v[d>>2]=a+v[d>>2]}Ca=f+48|0}function Db(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ca-32|0;Ca=c;if((a|0)==(b|0)){a=0}else{v[c+16>>2]=0;v[c+20>>2]=a;v[c+4>>2]=b;v[c>>2]=0;a=0;while(1){a:{if(a){v[c+16>>2]=a+1;e=w[a|0];if(e){break a}v[c+16>>2]=0}a=v[c+20>>2];while(1){b=a+1|0;v[c+20>>2]=b;d=w[a|0];a=b;if((d|0)==32){continue}break}if(d>>>0>=192){e=Pc(c+16|0,d);break a}e=(d-65&255)>>>0<26?d+32|0:d}a=v[c>>2];b:{if(a){v[c>>2]=a+1;a=w[a|0];if(a){break b}v[c>>2]=0}a=v[c+4>>2];while(1){b=a+1|0;v[c+4>>2]=b;d=w[a|0];a=b;if((d|0)==32){continue}break}if(d>>>0>=192){a=Pc(c,d);break b}a=(d-65&255)>>>0<26?d+32|0:d}b=e&255;if(!(!b|(b|0)!=(a&255))){a=v[c+16>>2];continue}break}a=(e&255)-(a&255)|0}Ca=c+32|0;return a|0}function st(a,b,c,d){var e=0,f=0,g=0;a:{b:{if((c-b|0)<1){break b}if(w[b|0]!=45){break a}b=b+1|0;e=c-b|0;if((e|0)<1){break b}f=a+72|0;while(1){c:{d:{switch(w[w[b|0]+f|0]){case 5:if((e|0)<2){return-2}if(Ea[v[a+352>>2]](a,b)|0){break a}e=b+2|0;break c;case 6:if((e|0)<3){return-2}if(Ea[v[a+356>>2]](a,b)|0){break a}e=b+3|0;break c;case 7:if((e|0)<4){return-2}if(Ea[v[a+360>>2]](a,b)|0){break a}e=b+4|0;break c;case 27:e=b+1|0;if((c-e|0)<1){break b}if(w[e|0]!=45){break c}a=b+2|0;if((c-a|0)<1){break b}c=a;a=w[b+2|0]==62;b=a?b+3|0:c;g=a?13:0;break a;case 0:case 1:case 8:break a;default:break d}}e=b+1|0}b=e;e=c-b|0;if((e|0)>0){continue}break}}return-1}v[d>>2]=b;return g}function je(a,b){var c=0,d=0,e=0,f=0,g=0;c=w[a|0];d=(c-65&255)>>>0<26?c+32|0:c;a:{if((d|0)!=117){break a}c=w[a+1|0];if((((c-65&255)>>>0<26?c+32|0:c)|0)!=110){break a}c=w[a+2|0];if((((c-65&255)>>>0<26?c+32|0:c)|0)!=100){break a}f=1;c=w[a+3|0];if((c|0)==45){break a}f=!c}g=2;b:{c:{c=w[b|0];e=(c-65&255)>>>0<26?c+32|0:c;if((d&255)!=(e&255)){break c}c=a;while(1){d=d&255;if(d){g=(d|0)!=45?g:f?g:1;c=c+1|0;f=f?(c-a|0)==4?0:f:0;d=w[c|0];d=(d-65&255)>>>0<26?d+32|0:d;b=b+1|0;e=w[b|0];e=(e-65&255)>>>0<26?e+32|0:e;if((d&255)==(e&255)){continue}break c}break}g=f?g:0;break b}if(f){break b}a=d&255;if(a?(a|0)!=45:0){break b}a=e&255;if(a?(a|0)!=45:0){break b}return 1}return g}function Um(a,b){var c=0,d=0,e=0,f=0,g=0;c=v[a>>2];if(c>>>0<b>>>0){while(1){e=c+1|0;a:{b:{c:{d:{e:{f:{f=w[c|0];switch(f-40|0){case 1:break d;case 0:break e;default:break f}}d=e;if((f|0)!=92){break a}if((b|0)==(e|0)){v[a>>2]=b;return 3}g:{f=w[e|0];switch(f-40|0){case 0:case 1:case 52:case 58:case 62:case 70:case 74:case 76:break c;default:break g}}if(b>>>0<=e>>>0){break a}if((f&248)!=48){break a}d=c+2|0;if(d>>>0>=b>>>0){break a}if((w[d|0]&248)==48){break b}break a}g=g+1|0;d=e;break a}d=e;g=g-1|0;if(g){break a}v[a>>2]=e;return 0}d=c+2|0;break a}d=c+3|0;if(d>>>0>=b>>>0){break a}d=(w[c+3|0]&248)==48?c+4|0:d}c=d;if(c>>>0<b>>>0){continue}break}}v[a>>2]=c;return 3}function jy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=w[a+3|0]|w[a+2|0]<<8;d=c?c+a|0:280448;c=v[b+100>>2];c=xb(d,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);a:{if((c|0)==-1){break a}d=a;a=c>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((c<<1)+a|0)+6|0:280448;a=w[a|0]<<8|w[a+1|0];a=a?d+a|0:280448;d=w[a|0]<<8|w[a+1|0];if(!d){break a}c=v[b+100>>2];e=v[(v[c+88>>2]+B(v[c+72>>2],20)|0)+4>>2];c=v[b+120>>2];c=(e&c)>>>cQ(c)|0;b:{if((c|0)!=255){break b}c=255;if(!w[b+143|0]){break b}c=(B(v[b+144>>2],48271)>>>0)%2147483647|0;v[b+144>>2]=c;c=((c>>>0)%(d>>>0)|0)+1|0}c=c-1|0;if(c>>>0>=d>>>0){break a}f=1;a=c>>>0<(w[a+1|0]|w[a|0]<<8)>>>0?(a+(c<<1)|0)+2|0:280448;jf(b,w[a|0]<<8|w[a+1|0])}return f|0}function UL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;v[a>>2]=0;v[a+4>>2]=0;v[a+56>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=v[b>>2];v[a+4>>2]=v[b+4>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=v[b+16>>2];d=v[b+20>>2];v[a+40>>2]=b+48;v[a+36>>2]=b+40;v[a+32>>2]=b+32;v[a+28>>2]=b+28;v[a+24>>2]=b+24;v[a+20>>2]=d;a:{if(c){d=b+69|0;e=b+68|0;b=b+70|0;break a}d=b+66|0;e=b+65|0;f=w[b+64|0];b=b+67|0}t[a+44|0]=f;e=w[e|0];d=w[d|0];b=w[b|0];f=v[74885];v[a+52>>2]=v[74884];v[a+56>>2]=f;t[a+48|0]=c;t[a+47|0]=b;t[a+46|0]=d;t[a+45|0]=e}function Tf(a){var b=0,c=0,d=0,e=0;c=v[a+436>>2];a:{if(!c){break a}b=v[a+428>>2];if((b|0)<1){break a}b=B(b,24)+c|0;d=w[a+376|0];while(1){if(!(!w[c+16|0]|(d|0)!=w[c+12|0])){b=v[a+448>>2];if((b|0)>=v[a+452>>2]){v[a+12>>2]=130;return}v[a+448>>2]=b+1;b=v[a+456>>2]+(b<<4)|0;v[b>>2]=v[a+360>>2];d=v[a+368>>2];v[b+12>>2]=c;v[b+8>>2]=1;v[b+4>>2]=d+1;d=v[c>>2];b=d-1|0;b:{if(b>>>0>=3){v[a+12>>2]=132;break b}e=v[((b<<3)+a|0)+464>>2];if(!e){v[a+12>>2]=138;break b}b=v[((b<<3)+a|0)+468>>2];c=v[c+4>>2];if((b|0)<(c|0)){v[a+12>>2]=131;break b}v[a+372>>2]=b;v[a+364>>2]=e;v[a+368>>2]=c;v[a+360>>2]=d}t[a+384|0]=0;return}c=c+24|0;if(b>>>0>c>>>0){continue}break}}v[a+12>>2]=128}function Ly(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=d;a=b-44032|0;a:{b:{if(a>>>0<=11171){e=a&65535;d=(e>>>0)%28|0;if(d){v[c>>2]=b-d;a=d+4519|0;break b}b=(e>>>0)/588|0;v[c>>2]=b|4352;a=(((a-B(b,588)&65535)>>>0)/28|0)+4449|0;break b}e=0;if(b>>>0>195101){break a}a=x[((b&63|6144)+(w[(b>>>6|0)+193110|0]<<6)<<1)+196160>>1];if(!a){break a}b=a-1|0;if(b>>>0<=934){if(b>>>0<=824){a=x[(b<<1)+225520>>1]}else{a=x[(a<<1)+225532>>1]|131072}v[c>>2]=a;a=0;break b}b=a-936|0;if(b>>>0<=637){a=v[(b<<2)+219856>>2];v[c>>2]=a>>>21;a=a>>>14&127|768;break b}a=(a<<3)+209824|0;b=v[a+4>>2];d=v[a>>2];v[c>>2]=b>>>10;a=((b&2097151)<<11|d>>>21)&2097151}v[f>>2]=a;e=1}return e|0}function Wo(a,b){var c=0,d=0,e=0,f=0,g=0;g=v[a+100>>2];c=v[g+72>>2];while(1){d=v[g+88>>2]+B(c,20)|0;c=v[d>>2];a:{if(!(v[b>>2]>>>(c>>>4)&1)|!(v[b+4>>2]>>>c&1)|(!(v[b+8>>2]>>>(c>>>9)&1)|!(v[a+120>>2]&v[d+4>>2]))){break a}e=v[a+132>>2];d=x[d+12>>1];if(e&d&14){break a}if(d&8){if(!Of(a,c,d,e)){break a}}e=v[b+16>>2];if(!e){break a}c=0;while(1){d=c>>>0<e>>>0?v[b+20>>2]+B(c,20)|0:280448;f=v[a+100>>2];f=v[v[f+88>>2]+B(v[f+72>>2],20)>>2];if(!(!(v[d+8>>2]>>>(f>>>4)&1)|!(v[d+12>>2]>>>f&1)|!(v[d+16>>2]>>>(f>>>9)&1))){if(Ea[v[d+4>>2]](v[d>>2],a)|0){break a}e=v[b+16>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}c=v[g+72>>2]-1|0;v[g+72>>2]=c;if((c|0)>-1){continue}break}}function cq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=v[a+28>>2];a:{if((c|0)==-1){break a}d=v[a+36>>2];f=v[a+40>>2];if(d>>>0>=f>>>0){break a}g=v[a>>2];e=c+1|0;h=v[a+16>>2]+20|0;while(1){b:{c=B(d,12)+h|0;b=c-4|0;b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=b>>>0>e>>>0?b:e;b=c;b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);if(e>>>0>(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))>>>0){break b}c=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c|c>>>0>=y[g+16>>2]){break b}v[a+36>>2]=d;v[a+32>>2]=c;v[a+28>>2]=e;return}d=d+1|0;if((f|0)!=(d|0)){continue}break}}t[a+24|0]=0}function mn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=v[a+32>>2];e=(c>>>0)%y[a+28>>2]|0;d=v[k+B(e,12)>>2];a:{b:{if(!d){break b}f=-1;while(1){l=B(e,12)+k|0;c:{if(v[l+8>>2]!=(c|0)){break c}i=v[d>>2];g=v[d+4>>2]-i|0;h=v[b>>2];if((g|0)!=(v[b+4>>2]-h|0)){break c}j=v[d+12>>2];if((j|0)!=v[b+12>>2]){break c}if(g){if(lc(i,h,g)){break c}}h=j<<4;if(!h){break b}g=1;i=v[d+16>>2];j=v[b+16>>2];if(w[i|0]!=w[j|0]){break c}while(1){d=g;if((d|0)==(h|0)){break b}g=d+1|0;if(w[d+i|0]==w[d+j|0]){continue}break}if(d>>>0>=h>>>0){break b}}f=(f|0)==-1?v[l+4>>2]?-1:e:f;m=m+1|0;e=v[a+24>>2]&m+e;d=v[B(e,12)+k>>2];if(d){continue}break}if((f|0)!=-1){break a}}f=e}return f}function jD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=v[a+712>>2];a:{b:{if(!e){break b}f=v[e+1504>>2];a=6;if((f|0)==65535){break a}if(b){a=v[e+3096>>2];if(!a){h=e;c:{if(f>>>0>=391){f=f-391|0;g=0;if(f>>>0>=y[e+1356>>2]){break c}g=v[v[e+1360>>2]+(f<<2)>>2];break c}a=v[e+3084>>2];g=0;if(!a){break c}g=Ea[v[a+20>>2]](f)|0}a=g;v[h+3096>>2]=a}v[b>>2]=a}if(c){a=v[e+3100>>2];if(!a){a=0;b=v[e+1508>>2];d:{if((b|0)==65535){break d}if(b>>>0>=391){b=b-391|0;if(b>>>0>=y[e+1356>>2]){break d}a=v[v[e+1360>>2]+(b<<2)>>2];break d}f=v[e+3084>>2];if(!f){break d}a=Ea[v[f+20>>2]](b)|0}v[e+3100>>2]=a}v[c>>2]=a}if(!d){break b}v[d>>2]=v[e+1512>>2]}a=0}return a|0}function lr(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=v[a>>2];if(!f){return 65536}g=65536;a:{if(!(b&16384)){while(1){b=g;e=i<<2;d=v[e+c>>2];b:{if(!d){break b}g=0;e=v[e+v[a+8>>2]>>2];if(!e){break a}if((d|0)==(e|0)){g=b;break b}if((e|0)<(d&d>>31)|(e|0)>(((d|0)>0?d:0)|0)){break a}g=fb(b,e,d);f=v[a>>2]}i=i+1|0;if(i>>>0<f>>>0){continue}break a}}while(1){f=g;h=i<<2;k=v[h+c>>2];b=f;c:{if(!k){break c}g=0;j=v[h+v[a+8>>2]>>2];if(!j){break a}b=f;if((j|0)==(k|0)){break c}b=v[d+h>>2];if((j|0)<=(b|0)){break a}h=v[e+h>>2];if((h|0)<=(j|0)){break a}if((j|0)<(k|0)){b=fb(f,j-b|0,k-b|0);break c}b=fb(f,h-j|0,h-k|0)}g=b;i=i+1|0;if(i>>>0<y[a>>2]){continue}break}}return g}function gt(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;a:{e=d>>31;f=e+d^e;e=a>>31;if((f+(e+a^e)|0)>131071){break a}e=c>>31;f=e+c^e;e=b>>31;if((f+(e+b^e)|0)>131071){break a}a=B(a,d);b=B(b,c);return(a|0)>(b|0)?1:(a|0)<(b|0)?-1:0}f=d&65535;g=a>>>16|0;h=d>>>16|0;a=a&65535;i=B(h,a);d=B(f,g)+i|0;e=d<<16;j=c>>>16|0;k=b&65535;l=B(j,k);m=c&65535;n=b>>>16|0;b=l+B(m,n)|0;c=b<<16;g=(B(g,h)+(d>>>16|0)|0)+((d>>>0<i>>>0)<<16)|0;d=e+B(a,f)|0;e=g+(d>>>0<e>>>0)|0;a=(B(n,j)+(b>>>16|0)|0)+((b>>>0<l>>>0)<<16)|0;b=c+B(m,k)|0;c=a+(b>>>0<c>>>0)|0;a=1;b:{if(e>>>0>c>>>0){break b}a=-1;if(c>>>0>e>>>0){break b}a=1;if(b>>>0<d>>>0){break b}a=b>>>0>d>>>0?-1:0}return a}function gw(a,b,c,d){var e=0,f=0,g=0,h=0;e=a+1|0;f=t[a|0];g=f&255;if((f|0)>-1){v[c>>2]=g;return e}a:{if(g-194>>>0<=29){if(b>>>0<=e>>>0){break a}b=w[a+1|0]-128|0;if(b>>>0>=64){break a}v[c>>2]=b|g<<6&1984;return a+2|0}if((g&240)==224){if((b-e|0)<2){break a}b=w[e|0]-128|0;if(b>>>0>63){break a}f=w[a+2|0]-128|0;if(f>>>0>63){break a}b=f|(g<<12&61440|b<<6);if(b>>>0<2048|(b&-2048)==55296){break a}v[c>>2]=b;return a+3|0}if((b-e|0)<3|g-240>>>0>4){break a}b=w[e|0]-128|0;if(b>>>0>63){break a}f=w[a+2|0]-128|0;if(f>>>0>63){break a}h=w[a+3|0]-128|0;if(h>>>0>63){break a}b=g<<18&1835008|b<<12|f<<6|h;if(b-65536>>>0>=1048576){break a}e=a+4|0;d=b}v[c>>2]=d;return e}function _D(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=Ca+-64|0;Ca=d;v[d+8>>2]=0;Ea[v[b+60>>2]](b,d+16|0,4,d+12|0);c=v[d+12>>2];a:{if((c|0)<0){c=162;break a}if(!c){c=3;break a}if((c|0)>4){c=3;break a}c=ji(a,0,c);v[d+8>>2]=c;if(c){break a}if(v[d+12>>2]<1){c=0;break a}h=v[a+100>>2];i=v[a+532>>2];while(1){a=(d+16|0)+B(f,12)|0;c=v[a>>2];if(w[c|0]==47){c=c+1|0;v[a>>2]=c}g=v[a+4>>2]-c|0;if(!g){c=3;break a}e=(f<<2)+i|0;c=v[e+8>>2];if(c){if(c){Ea[v[h+8>>2]](h,c)}}c=e;e=qb(h,g+1|0,d+8|0);v[c+8>>2]=e;c=v[d+8>>2];if(c){break a}j=Ta(e,v[a>>2],g)+g|0,k=0,t[j|0]=k;f=f+1|0;if((f|0)<v[d+12>>2]){continue}break}c=v[d+8>>2]}v[b+12>>2]=c;Ca=d- -64|0}function gs(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=Ca-16|0;Ca=h;f=d?d:657584;d=v[f>>2];a:{b:{c:{if(!b){if(d){break c}break a}e=-2;if(!c){break a}i=a?a:h+12|0;d:{if(d){a=c;break d}a=w[b|0];d=a<<24>>24;if((d|0)>=0){v[i>>2]=a;e=(d|0)!=0;break a}a=t[b|0];if(!v[v[163893]>>2]){v[i>>2]=a&57343;e=1;break a}a=(a&255)-194|0;if(a>>>0>50){break c}d=v[(a<<2)+524032>>2];a=c-1|0;if(!a){break b}b=b+1|0}g=w[b|0];j=g>>>3|0;if((j-16|(d>>26)+j)>>>0>7){break c}while(1){a=a-1|0;d=g-128|d<<6;if((d|0)>=0){v[f>>2]=0;v[i>>2]=d;e=c-a|0;break a}if(!a){break b}b=b+1|0;g=w[b|0];if((g&192)==128){continue}break}}v[f>>2]=0;v[164114]=25;e=-1;break a}v[f>>2]=d}Ca=h+16|0;return e}function oo(a,b){var c=0,d=0,e=0;a:{b:{c:{c=v[a+4>>2];d=v[c>>2];if((d|0)>=0){a=v[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=d>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<d>>>0|a>>>0>214748363)){d=gb(v[c+8>>2],B(a,20));if(d){break c}}v[c>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break a}v[c>>2]=a;v[c+8>>2]=d;a=v[c+4>>2]}if(a>>>0<e>>>0){Ra(v[c+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[c+4>>2]=e;a=(v[c+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=444;v[a>>2]=b;v[a+16>>2]=0;d=b;b=w[b+3|0]|w[b+2|0]<<8;Wd(b?d+b|0:280448,a+8|0)}function no(a,b){var c=0,d=0,e=0;a:{b:{c:{c=v[a+4>>2];d=v[c>>2];if((d|0)>=0){a=v[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=d>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<d>>>0|a>>>0>214748363)){d=gb(v[c+8>>2],B(a,20));if(d){break c}}v[c>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break a}v[c>>2]=a;v[c+8>>2]=d;a=v[c+4>>2]}if(a>>>0<e>>>0){Ra(v[c+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[c+4>>2]=e;a=(v[c+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=445;v[a>>2]=b;v[a+16>>2]=0;d=b;b=w[b+3|0]|w[b+2|0]<<8;Wd(b?d+b|0:280448,a+8|0)}function mo(a,b){var c=0,d=0,e=0;a:{b:{c:{c=v[a+4>>2];d=v[c>>2];if((d|0)>=0){a=v[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=d>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<d>>>0|a>>>0>214748363)){d=gb(v[c+8>>2],B(a,20));if(d){break c}}v[c>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break a}v[c>>2]=a;v[c+8>>2]=d;a=v[c+4>>2]}if(a>>>0<e>>>0){Ra(v[c+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[c+4>>2]=e;a=(v[c+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=446;v[a>>2]=b;v[a+16>>2]=0;d=b;b=w[b+7|0]|w[b+6|0]<<8;Wd(b?d+b|0:280448,a+8|0)}function lo(a,b){var c=0,d=0,e=0;a:{b:{c:{c=v[a+4>>2];d=v[c>>2];if((d|0)>=0){a=v[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=d>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<d>>>0|a>>>0>214748363)){d=gb(v[c+8>>2],B(a,20));if(d){break c}}v[c>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break a}v[c>>2]=a;v[c+8>>2]=d;a=v[c+4>>2]}if(a>>>0<e>>>0){Ra(v[c+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[c+4>>2]=e;a=(v[c+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=447;v[a>>2]=b;v[a+16>>2]=0;d=b;b=w[b+3|0]|w[b+2|0]<<8;Wd(b?d+b|0:280448,a+8|0)}function ko(a,b){var c=0,d=0,e=0;a:{b:{c:{c=v[a+4>>2];d=v[c>>2];if((d|0)>=0){a=v[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(e>>>0<=d>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(e>>>0>=a>>>0){continue}break}if(!(a>>>0<d>>>0|a>>>0>214748363)){d=gb(v[c+8>>2],B(a,20));if(d){break c}}v[c>>2]=-1}v[163920]=v[70116];a=v[70115];v[163918]=v[70114];v[163919]=a;a=v[70113];v[163916]=v[70112];v[163917]=a;a=655664;break a}v[c>>2]=a;v[c+8>>2]=d;a=v[c+4>>2]}if(a>>>0<e>>>0){Ra(v[c+8>>2]+B(a,20)|0,0,B(e-a|0,20))}v[c+4>>2]=e;a=(v[c+8>>2]+B(e,20)|0)-20|0}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=448;v[a>>2]=b;v[a+16>>2]=0;d=b;b=w[b+3|0]|w[b+2|0]<<8;Wd(b?d+b|0:280448,a+8|0)}function bt(a){var b=0,c=0,d=0,e=0;b=v[a+352>>2];if(!v[b+184>>2]){c=Ea[v[a+12>>2]](v[a+464>>2]<<2)|0;v[b+184>>2]=c;if(!c){return-1}v[c>>2]=0}c=v[b+164>>2];d=v[b+176>>2];e=v[b+172>>2];if(d>>>0>=e>>>0){a:{b:{if(c){c=Ea[v[a+16>>2]](c,B(e,56))|0;if(c){break b}return-1}c=Ea[v[a+12>>2]](896)|0;d=32;if(c){break a}return-1}d=v[b+172>>2]<<1}v[b+164>>2]=c;v[b+172>>2]=d;d=v[b+176>>2]}v[b+176>>2]=d+1;a=v[b+180>>2];if(a){b=v[(v[b+184>>2]+(a<<2)|0)-4>>2];a=B(b,28)+c|0;e=v[a+16>>2];if(e){v[(B(e,28)+c|0)+24>>2]=d}e=v[a+20>>2];if(!e){v[(B(b,28)+c|0)+12>>2]=d}v[a+16>>2]=d;v[a+20>>2]=e+1}a=B(d,28)+c|0;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;return d}function TP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a=w[b+168|0];if(!(a&64)){t[b+168|0]=a|64;d=v[b+76>>2];if(d){g=v[b+88>>2];b=0;while(1){e=B(b,20)+g|0;f=v[e>>2];c=In(f);a=16;a:{b:{switch(f-6042|0){case 44:case 49:case 51:case 52:case 53:case 54:case 55:a=21;break a;case 45:case 46:case 57:case 67:a=22;break a;default:a=c;if((a&255)!=7){break a}a=28;c:{switch((c>>>8|0)-3|0){case 5:a=27;break a;case 3:a=26;break a;case 8:a=29;break a;case 0:break a;default:break c}}O(246837,246839,106,246870);L();case 0:break a;case 47:case 48:case 50:break b}}a=20}t[e+18|0]=a;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return}O(246804,246725,153,246791);L()}function Yf(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;j=1;i=d&2147483647;m=i;k=c;a:{if(!c&(i|0)==2147418112?a|b:(i|0)==2147418112&(c|0)!=0|i>>>0>2147418112){break a}l=h&2147483647;n=l;i=g;if(!g&(l|0)==2147418112?e|f:(l|0)==2147418112&(g|0)!=0|l>>>0>2147418112){break a}if(!(a|e|(i|k)|(b|f|(m|n)))){return 0}k=d&h;if((k|0)>0?1:(k|0)>=0){j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0<e>>>0|b>>>0<f>>>0:(d|0)<(h|0)?1:(d|0)<=(h|0)?c>>>0<g>>>0:0){break a}return(a^e|c^g)!=0|(b^f|d^h)!=0}j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:(d|0)>(h|0)?1:(d|0)>=(h|0)?c>>>0>g>>>0:0){break a}j=(a^e|c^g)!=0|(b^f|d^h)!=0}return j}function Le(a,b){var c=0,d=0,e=0,f=0;a:{if(!w[a+68|0]){break a}if(y[a+36>>2]<b>>>0){t[a+68|0]=0;return 0}d=v[a+88>>2];e=v[a+92>>2];b:{c:{d:{if(b>>>0>214748363){break d}c=v[a+84>>2];if(c>>>0<=b>>>0){while(1){c=((c>>>1|0)+c|0)+32|0;if(c>>>0<=b>>>0){continue}break}}if(c>>>0>214748363){break d}e:{b=B(c,20);f=gb(v[a+96>>2],b);b=gb(v[a+88>>2],b);if(!(b?f:0)){t[a+68|0]=0;if(!f){break e}}v[a+96>>2]=f;if(!b){break b}break c}if(b){break c}v[a+92>>2]=v[((d|0)==(e|0)?88:96)+a>>2];break a}t[a+68|0]=0;v[a+92>>2]=v[((d|0)==(e|0)?88:96)+a>>2];return 0}v[a+88>>2]=b}v[a+92>>2]=v[((d|0)==(e|0)?88:96)+a>>2];if(!w[a+68|0]){break a}v[a+84>>2]=c;return 1}return 0}function Ol(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=(a|0)<0?-1:1;h=(b|0)<0?0-f|0:f;f=2147483647;e=c>>31;e=e+c^e;a:{if(!e){break a}b:{d=b;b=b>>31;b=d+b^b;d=a;a=a>>31;a=d+a^a;if(b+a>>>0<=131071){a=B(a,b);break b}d=b>>>16|0;g=a&65535;i=B(d,g);j=a>>>16|0;k=b&65535;a=i+B(j,k)|0;b=a<<16;d=(B(d,j)+(a>>>16|0)|0)+((a>>>0<i>>>0)<<16)|0;a=b+B(g,k)|0;b=d+(b>>>0>a>>>0)|0;if(!b){break b}if(b>>>0>=e>>>0){break a}d=E(b);g=32-d|0;b=a>>>g|b<<d;f=(b>>>0)/(e>>>0)|0;b=b-B(f,e)|0;a=a<<d;while(1){d=b<<1|a>>>31;b=d-(e>>>0>d>>>0?0:e)|0;f=f<<1|e>>>0<=d>>>0;a=a<<1;g=g-1|0;if(g){continue}break}break a}f=(a>>>0)/(e>>>0)|0}return(((c|0)<0?0-h|0:h)|0)<0?0-f|0:f}function In(a){var b=0,c=0;c=3840;a:{b:{c:{switch(a>>>12|0){case 0:if((a|0)==160){c=3851;break a}b=a-40|0;if(b>>>0<24){break b}if(a-176>>>0<=39){b=a-152|0;break b}if(a-2304>>>0>1271){break a}b=a-2240|0;break b;case 1:if(a-4096>>>0<=159){b=a-2760|0;break b}if(a-6016>>>0<=111){b=a-4520|0;break b}if(a-7376>>>0>47){break a}b=a-5768|0;break b;case 2:if((a|0)==9676){c=3851;break a}if(a-8200>>>0<=15){b=a-6544|0;break b}if(a-8304>>>0>23){break a}b=a-6632|0;break b;case 10:break c;default:break a}}b=a&-32;if((b|0)!=43616){if((b|0)!=43488){if((b|0)!=43232){break a}b=a-41536|0;break b}b=a-41760|0;break b}b=a-41856|0}c=x[(b<<1)+242256>>1]}return c}function rI(a,b,c){a=a|0;b=b|0;c=c|0;a:{b:{c:{switch(((c-b|0)/2|0)-2|0){case 0:if(w[b+3|0]|w[b+2|0]!=116){break b}c=0;if(w[b+1|0]){break a}a=w[b|0];return((a|0)==103?62:(a|0)==108?60:0)|0;case 1:if(w[b+1|0]|w[b|0]!=97|(w[b+3|0]|w[b+2|0]!=109)){break b}if(w[b+5|0]){break b}c=38;if(w[b+4|0]!=112){break b}break a;case 2:break c;default:break b}}if(w[b+1|0]){break b}a=t[b|0]-97|0;if(a){if(w[b+3|0]|w[b+2|0]!=117|(a|0)!=16){break b}if(w[b+7|0]|(w[b+5|0]|w[b+4|0]!=111)){break b}c=34;if(w[b+6|0]!=116){break b}break a}if(w[b+3|0]|w[b+2|0]!=112|(w[b+5|0]|w[b+4|0]!=111)){break b}if(w[b+7|0]){break b}c=39;if(w[b+6|0]==115){break a}}c=0}return c|0}function aI(a,b,c){a=a|0;b=b|0;c=c|0;a:{b:{c:{switch(((c-b|0)/2|0)-2|0){case 0:if(w[b+2|0]|w[b+3|0]!=116){break b}c=0;if(w[b|0]){break a}a=w[b+1|0];return((a|0)==103?62:(a|0)==108?60:0)|0;case 1:if(w[b|0]|w[b+1|0]!=97|(w[b+2|0]|w[b+3|0]!=109)){break b}if(w[b+4|0]){break b}c=38;if(w[b+5|0]!=112){break b}break a;case 2:break c;default:break b}}if(w[b|0]){break b}a=t[b+1|0]-97|0;if(a){if(w[b+2|0]|w[b+3|0]!=117|(a|0)!=16){break b}if(w[b+6|0]|(w[b+4|0]|w[b+5|0]!=111)){break b}c=34;if(w[b+7|0]!=116){break b}break a}if(w[b+2|0]|w[b+3|0]!=112|(w[b+4|0]|w[b+5|0]!=111)){break b}if(w[b+6|0]){break b}c=39;if(w[b+7|0]==115){break a}}c=0}return c|0}function Aw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=v[b+12>>2];c=v[a>>2];d=Ea[v[f+24>>2]](f,c,v[f+56>>2])|0;h=a;if(c>>>0>=128){v[b+32>>2]=v[b+32>>2]|1;e=d;a:{if(!Jf(c)){break a}g=v[b+32>>2];v[b+32>>2]=g|2;b:{switch(c-8204|0){case 0:e=d|544;break a;case 1:e=d|288;break a;default:break b}}e=d|96;if(c-6155>>>0<=2){break a}e=d|96;if(c-917536>>>0<=95){break a}e=d|32;if((c|0)!=847){break a}v[b+32>>2]=g|34;e=d|96}b=e;if(d>>>0>31){u[a+16>>1]=b;return}if(!(1<<d&7168)){u[a+16>>1]=b;return}c:{if(!((c|0)==6752|(c|0)==4038)){a=b|32512;if((c|0)==3897){break c}a=b|w[(Ea[v[f+16>>2]](f,c,v[f+48>>2])|0)+280928|0]<<8;break c}a=b|65024}d=a|128}u[h+16>>1]=d}
|
||
function Io(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ca-16|0;Ca=f;h=v[b+4>>2];a:{if(h>>>0>a>>>0){break a}g=v[b+8>>2];if(g>>>0<a>>>0|g-a>>>0<4){break a}i=v[b+12>>2];e=i-4|0;v[b+12>>2]=e;if((e|0)<1){break a}d=t[a|0];e=w[a+3|0]|(w[a+1|0]<<16|d<<24|w[a+2|0]<<8);j=(e|0)!=0&(d|0)<0;d=!j;if(!e|j){break a}c=c+e|0;b:{if(c>>>0<h>>>0|c>>>0>g>>>0|g-c>>>0<=7){break b}d=i-12|0;v[b+12>>2]=d;if((w[c+1|0]|w[c|0]<<8)!=1|(d|0)<1){break b}if(!Uj(c+2|0,b,c)){break b}v[f+12>>2]=c;d=1;if(Tj(c+6|0,b,f+12|0)){break a}}d=0;c=v[b+24>>2];if(c>>>0>31){break a}v[b+24>>2]=c+1;if(!w[b+20|0]){break a}t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;d=1}Ca=f+16|0;return d}function oP(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;d=v[a+12>>2];b=c;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;b=v[d+72>>2];g=Ea[v[b+148>>2]](d,v[d+76>>2],c,v[b+12>>2])|0;if(g){a:{b:{b=v[a+12>>2];if(b){b=v[b+24>>2];a=v[a+24>>2];if((b|0)!=(a|0)){break b}a=c+8|0;b=v[c+8>>2];break a}a=c+8|0;b=v[c+8>>2];break a}d=a;e=a>>31;a=v[c>>2];f=b;b=b>>31;h=c,i=fQ(eQ(d,e,a,a>>31),Da,f,b),v[h>>2]=i;a=v[c+4>>2];h=c,i=fQ(eQ(d,e,a,a>>31),Da,f,b),v[h+4>>2]=i;a=c+8|0;c=v[c+8>>2];b=fQ(eQ(d,e,c,c>>31),Da,f,b)}v[a>>2]=b}return g|0}function nP(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;d=v[a+12>>2];b=c;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;b=v[d+72>>2];g=Ea[v[b+152>>2]](d,v[d+76>>2],c,v[b+16>>2])|0;if(g){a:{b:{b=v[a+12>>2];if(b){b=v[b+20>>2];a=v[a+20>>2];if((b|0)!=(a|0)){break b}a=c+8|0;b=v[c+8>>2];break a}a=c+8|0;b=v[c+8>>2];break a}d=a;e=a>>31;a=v[c>>2];f=b;b=b>>31;h=c,i=fQ(eQ(d,e,a,a>>31),Da,f,b),v[h>>2]=i;a=v[c+4>>2];h=c,i=fQ(eQ(d,e,a,a>>31),Da,f,b),v[h+4>>2]=i;a=c+8|0;c=v[c+8>>2];b=fQ(eQ(d,e,c,c>>31),Da,f,b)}v[a>>2]=b}return g|0}function To(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(w[c+12|0]!=1){break a}a=w[a+2|0]|w[a+3|0]<<8|(w[a+4|0]<<16|w[a+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b=a?a+b|0:280448;f=w[b+2|0]<<8|w[b+3|0];if(!f){break a}v[c+16>>2]=-1;a=w[b+5|0]|w[b+4|0]<<8;g=ec(c,a);if(!g){break a}e=b+4|0;while(1){h=a&-512;i=a+512&-512;b=e;while(1){d=(a>>>3&56)+g|0;e=d;j=v[d+4>>2];k=d;l=v[d>>2];d=a&63;a=d&31;if((d&63)>>>0>=32){d=1<<a;a=0}else{d=(1<<a)-1&1>>>32-a;a=1<<a}v[k>>2]=l|a;v[e+4>>2]=d|j;f=f-1|0;if(!f){break a}e=b+2|0;a=w[b+3|0]|w[b+2|0]<<8;if(h>>>0<=a>>>0){b=e;if(a>>>0<i>>>0){continue}}break}g=ec(c,a);if(g){continue}break}}}function sc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=v[b+12>>2];g=b;e=v[b+16>>2];j=e;f=e;h=v[a+48>>2];d=v[a+52>>2];if(h>>>0>d>>>0){d=v[a+44>>2]}d=d-h|0;e=d>>>0>e>>>0?f:d;v[g+16>>2]=j-e;v[b+20>>2]=e+v[b+20>>2];d=v[a+56>>2];if(d){d=Ea[d|0](v[a+60>>2],h,e)|0;v[a+60>>2]=d;v[b+48>>2]=d}c=e?(c|0)==-5?0:c:c;g=Ta(i,h,e)+e|0;f=e+h|0;if((f|0)==v[a+44>>2]){e=v[a+40>>2];d=v[a+52>>2];if((f|0)==(d|0)){v[a+52>>2]=e;d=e}f=v[b+16>>2];d=d-e|0;d=d>>>0>f>>>0?f:d;v[b+16>>2]=f-d;v[b+20>>2]=d+v[b+20>>2];f=v[a+56>>2];if(f){f=Ea[f|0](v[a+60>>2],e,d)|0;v[a+60>>2]=f;v[b+48>>2]=f}f=d+e|0;g=Ta(g,e,d)+d|0;c=d?(c|0)==-5?0:c:c}v[b+12>>2]=g;v[a+48>>2]=f;return c}function wr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(t[a+741|0]&1){a:{g=v[a+736>>2];c=v[g+56>>2];e=x[c>>1];if(!e){break a}b=v[c+24>>2];i=b+B(e,12)|0;e=0;while(1){h=ir(a,v[b>>2]);d=xk(a,c+4|0,x[b+4>>1],x[b+6>>1]);b:{c:{if(!h){break c}u[h>>1]=x[b+8>>1]+d;c=v[b>>2];if((c|0)==1751216995){break b}if((c|0)!=1751934832){if((c|0)!=1751413603){break c}f=d;break c}j=d}d=e}b=b+12|0;if(i>>>0<=b>>>0){break a}c=v[g+56>>2];e=d;continue}}e=x[a+72>>1];f=e+f|0;u[a+72>>1]=f;b=d;d=x[a+70>>1];b=b+d|0;u[a+70>>1]=b;c=u[a+486>>1];u[a+82>>1]=c;u[a+80>>1]=x[a+484>>1]+((c|0)/-2|0);u[a+74>>1]=(b+(e+((x[a+74>>1]+j|0)-d|0)|0)|0)-f;Dr(a+108|0,28)}}function Jl(a,b,c,d){var e=0,f=0;a:{if(!v[a+68>>2]){if(!v[a+80>>2]){break a}Ni(a,b,c,d);return 1}e=b;b=v[b+64>>2];e=_s(a+412|0,e,(b<<2)+c|0,B(b,-3)+d|0);if(!e){return 0}b=e;b:{while(1){c=b;d=w[b|0];f=d;if(!d){break b}if(!((f|0)==13)){b=b+1|0;continue}break}while(1){c:{if((d&255)==13){t[c|0]=10;b=w[b+1|0]==10?b+2|0:b+1|0;break c}t[c|0]=d;b=b+1|0}c=c+1|0;d=w[b|0];if(d){continue}break}t[c|0]=0}Ea[v[a+68>>2]](v[a+4>>2],e);b=v[a+412>>2];d=v[a+416>>2];d:{if(!d){v[a+416>>2]=b;break d}if(!b){break d}while(1){c=v[b>>2];v[b>>2]=d;v[a+416>>2]=b;d=b;b=c;if(b){continue}break}}v[a+412>>2]=0;v[a+428>>2]=0;v[a+420>>2]=0;v[a+424>>2]=0}return 1}function mz(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;f=v[a+872>>2];a:{if(!f){break a}k=v[f+36>>2];if(!k|!x[f>>1]){break a}g=v[f+16>>2];if(!g){break a}j=v[f+20>>2];if(v[d>>2]|!j){break a}l=j+6|0;a=0;while(1){b:{e=(g-a>>>1|0)+a|0;h=B(e,6)+l|0;i=h-2|0;i=w[i|0]<<8|w[i+1|0];c:{if(i>>>0<b>>>0){a=e+1|0;break c}g=e;if(b>>>0>=i>>>0){break b}}e=0;if(a>>>0<g>>>0){continue}break a}break}e=0;a=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!b){break a}a=v[f+40>>2];if(a>>>0<b>>>0){break a}g=a+k|0;a=b+j|0;if(g>>>0<=a>>>0){break a}v[d>>2]=a;t[d+4|0]=!c;e=1}return e|0}function Xv(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;i=B(c,1348)+a|0;f=v[i- -64>>2];a=v[i+56>>2];g=B(c,7676)+b|0;j=v[g+44>>2];b=Qa(y[b+40>>2]/40|0,j);if((a|0)>=1){n=(b|0)<32?b:32;o=B(a,44)+f|0;a=v[g+260>>2];b=a;while(1){e=b;b=0;c=n;h=0;if(e){while(1){e=B(b,28)+g|0;d=v[e+288>>2];if(!(!(d&1)|(d&2)>>>1^v[i+68>>2]!=t[f+13|0])){a=u[f>>1];k=a-v[e+264>>2]|0;d=k>>31;l=a-v[e+276>>2]|0;m=l>>31;e=(d^d+k)>>>0>(m^m+l)>>>0?e+276|0:e+264|0;d=a-v[e>>2]|0;a=d>>31;d=Qa(a^a+d,j);a=(d|0)<(c|0);c=a?d:c;h=a?e:h;a=v[g+260>>2]}b=b+1|0;if(b>>>0<a>>>0){continue}break}if(h){v[f+20>>2]=h}b=a}f=f+44|0;if(o>>>0>f>>>0){continue}break}}}function wi(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;h=Ca-240|0;Ca=h;i=v[d>>2];v[h+232>>2]=i;d=v[d+4>>2];v[h>>2]=a;v[h+236>>2]=d;l=0-b|0;a:{b:{c:{d:{if((i|0)!=1){i=a;j=1;break d}i=a;j=1;if(d){break d}d=a;break c}while(1){d=i-v[(e<<2)+g>>2]|0;if((Ea[c|0](d,a)|0)<1){d=i;break c}e:{if(!((e|0)<2|f)){f=v[((e<<2)+g|0)-8>>2];k=i+l|0;if((Ea[c|0](k,d)|0)>-1){break e}if((Ea[c|0](k-f|0,d)|0)>-1){break e}}v[(j<<2)+h>>2]=d;i=h+232|0;f=cQ(v[h+232>>2]-1|0);if(!f){f=cQ(v[h+236>>2]);f=f?f+32|0:0}xi(i,f);j=j+1|0;e=e+f|0;f=0;i=d;if(v[h+236>>2]|v[h+232>>2]!=1){continue}break b}break}d=i;break b}if(f){break a}}cs(b,h,j);bl(d,b,c,e,g)}Ca=h+240|0}function zO(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;a:{e=v[c+76>>2];if(!e){break a}d=e-1|0;a=0;f=v[c+88>>2];b=w[f+15|0];while(1){b:{if((a|0)==(d|0)){a=e;break b}a=a+1|0;if((b|0)==w[(B(a,20)+f|0)+15|0]){continue}}break}if(!e){break a}d=0;g=f;h=e;while(1){b=a;c:{if(a>>>0<=d>>>0){break c}while(1){a=B(d,20)+f|0;if(w[a+12|0]&16){t[a+18|0]=22;g=v[c+88>>2];h=v[c+76>>2];break c}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0<h>>>0?h:a;i=d-1|0;j=w[(B(b,20)+g|0)+15|0];a=b;while(1){d:{if((a|0)==(i|0)){a=d;break d}a=a+1|0;if(w[(B(a,20)+g|0)+15|0]==(j|0)){continue}}break}d=b;if(e>>>0>d>>>0){continue}break}}}function qw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=v[a+20>>2];if((h|0)<1){return 0}j=v[a>>2];d=h-1|0;k=h+1<<1;a:{while(1){e=d+f|0;g=e>>>1|0;e=e&-2;i=e+j|0;b:{if((w[i|0]<<8|w[i+1|0])>>>0>=b>>>0){d=i+k|0;if((w[d|0]<<8|w[d+1|0])>>>0<=b>>>0){break a}d=g-1|0;break b}f=g+1|0}if((d|0)>=(f|0)){continue}break}return 0}f=e>>1;d=e+v[a+12>>2]|0;g=w[d|0]<<8|w[d+1|0];c:{if(g){d=0;e=f+(b-h|0)+(g>>>1)|0;b=v[a+4>>2]+(f<<1)|0;b=e-(w[b|0]<<8|w[b+1|0])|0;if(b>>>0>=y[a+24>>2]){break c}b=v[a+16>>2]+(b<<1)|0;b=w[b|0]<<8|w[b+1|0];if(!b){break c}}a=v[a+8>>2]+(f<<1)|0;a=(w[a|0]<<8|w[a+1|0])+b&65535;if(!a){return 0}v[c>>2]=a;d=1}return d}function gE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Ca-32|0;Ca=c;a:{if((Ea[v[b+52>>2]](b,6,c,3)|0)<=5){v[b+12>>2]=3;break a}e=v[c+12>>2];if(!e){v[b+12>>2]=3;break a}d=e>>31;d=d+e^d;if((d|0)!=65536){f=a,g=ab(1e3,d),u[f+68>>1]=g;f=c,g=ab(v[c>>2],d),v[f>>2]=g;f=c,g=ab(v[c+4>>2],d),v[f+4>>2]=g;f=c,g=ab(v[c+8>>2],d),v[f+8>>2]=g;f=c,g=ab(v[c+16>>2],d),v[f+16>>2]=g;f=c,g=ab(v[c+20>>2],d),v[f+20>>2]=g;e=v[c+12>>2]<0?-65536:65536;v[c+12>>2]=e}v[a+440>>2]=v[c>>2];v[a+448>>2]=v[c+4>>2];d=v[c+8>>2];v[a+452>>2]=e;v[a+444>>2]=d;if(!Oi(a+440|0)){v[b+12>>2]=3;break a}v[a+456>>2]=v[c+16>>2]>>16;v[a+460>>2]=v[c+20>>2]>>16}Ca=c+32|0}function Cp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=v[b+64>>2];d=w[f+4|0];c=w[f+5|0];e=v[b+12>>2];g=v[e+32>>2];if((g|0)==-1){g=Xc(e)}b=v[b+16>>2];e=v[b+76>>2];a:{if(!e){break a}h=v[b+88>>2];b=0;if(!(c|d<<8)){while(1){c=B(b,20)+h|0;d=od(a,v[c>>2],g);if(d){v[c>>2]=w[d+1|0]|w[d|0]<<8}b=b+1|0;if((e|0)!=(b|0)){continue}break}break a}while(1){d=B(b,20)+h|0;c=od(a,v[d>>2],g);if(c){v[d>>2]=w[c+1|0]|w[c|0]<<8;b:{c:{d:{e:{f:{c=w[c+1|0]|w[c|0]<<8;switch(pe(f,c)-1|0){case 1:break d;case 0:break e;case 2:break c;default:break f}}c=0;break b}c=2;break b}c=4;break b}c=oe(f,c)<<8|8}u[d+12>>1]=c}b=b+1|0;if((e|0)!=(b|0)){continue}break}}}
|
||
function AK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(a){c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+32>>2]=v[b+32>>2];c=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=c;c=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=c;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c;return 1}a:{a=v[b>>2];b:{if(!a){break b}e=v[a-8>>2];if(!e){break a}b=a-4|0;c=v[b>>2];if(!c){break a}d=b;b=c-1|0;v[d>>2]=b;if(b){break b}d=a-32|0;b=v[d>>2];if(b){c=v[a-24>>2];if(c){v[c+12>>2]=v[a-20>>2]}v[v[a-20>>2]>>2]=c;v[b+32>>2]=v[b+32>>2]-1;v[b+20>>2]=v[b+20>>2]-e}b=v[a-28>>2];Ea[v[b+16>>2]](a+(v[b+24>>2]+7&-8)|0,a);Pa(d)}return 1}O(364907,364851,432,364955);L()}function kl(a,b){var c=0,d=0;d=Ca-32|0;Ca=d;a:{b:{c:{if(!Tb(522960,t[b|0])){v[164114]=28;break c}c=Va(1176);if(c){break b}}c=0;break a}Ra(c,0,144);if(!Tb(b,43)){v[c>>2]=w[b|0]==114?8:4}d:{if(w[b|0]!=97){b=v[c>>2];break d}b=Q(a|0,3,0)|0;if(!(b&1024)){v[d+16>>2]=b|1024;Q(a|0,4,d+16|0)|0}b=v[c>>2]|128;v[c>>2]=b}t[c+75|0]=255;v[c+48>>2]=1024;v[c+60>>2]=a;v[c+44>>2]=c+152;e:{if(b&8){break e}v[d>>2]=d+24;if(la(a|0,21523,d|0)|0){break e}t[c+75|0]=10}v[c+40>>2]=1029;v[c+36>>2]=1030;v[c+32>>2]=1031;v[c+12>>2]=1032;if(!v[164119]){v[c+76>>2]=-1}v[c+56>>2]=v[164399];a=v[164399];if(a){v[a+52>>2]=c}v[164399]=c}Ca=d+32|0;return c}function Cd(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=v[a+4>>2];b=g>>31;c=b^b+g;h=v[a>>2];b=h>>31;d=b^b+h;if(!d){if(!c){return}v[a+4>>2]=(g|0)<0?-65536:65536;return}if(!c){v[a>>2]=(h|0)<0?-65536:65536;return}e=c>>>0<d>>>0?d+(c>>>1|0)|0:c+(d>>>1|0)|0;b=E(e);b=(-1431655766>>>b>>>0>e>>>0?-15:-16)+b|0;a:{if((b|0)>=1){d=d<<b;c=c<<b;b=c>>>0<d>>>0?d+(c>>>1|0)|0:(d>>>1|0)+c|0;break a}f=e;e=0-b|0;b=f>>>e|0;c=c>>>e|0;d=d>>>e|0}b=65536-b|0;while(1){e=(B(b,d)>>16)+d|0;f=(B(b,c)>>16)+c|0;i=B((B(e,e)+B(f,f)|0)/-512|0,b+65536>>8);b=((i|0)/65536|0)+b|0;if((i|0)>65535){continue}break}v[a+4>>2]=(g|0)<0?0-f|0:f;v[a>>2]=(h|0)<0?0-e|0:e}function rx(a,b,c){var d=0;a:{b:{if(b>>>0>=c>>>0){break b}c:{switch(w[a|0]){case 0:if(!b){break b}a=((b<<1)+a|0)-1|0;return w[a|0]<<8|w[a+1|0];case 1:if(!b){break b}d=a+1|0;c=0;a=w[a+3|0];b=b-1|0;if(a>>>0>=b>>>0){break a}c=1;while(1){b=(a^-1)+b|0;a=w[(d+B(c,3)|0)+2|0];if(b>>>0<=a>>>0){break a}c=c+1|0;continue};case 2:break c;default:break b}}if(!b){break b}c=0;d:{b=b-1|0;d=w[a+4|0]|w[a+3|0]<<8;if(b>>>0<=d>>>0){break d}c=1;while(1){b=(d^-1)+b|0;d=(c<<2)+a|0;d=w[d+3|0]<<8|w[d+4|0];if(b>>>0<=d>>>0){break d}c=c+1|0;continue}}a=(c<<2)+a|0;d=(w[a+1|0]<<8|w[a+2|0])+b|0}return d}a=d+B(c,3)|0;return(w[a|0]<<8|w[a+1|0])+b|0}function qI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if((c-b|0)>=2){e=a+72|0;while(1){a:{b:{c:{d:{e:{f:{a=w[b+1|0];if(a-216>>>0<4){break f}if(a){break c}g:{switch(w[w[b|0]+e|0]-5|0){case 0:v[d+4>>2]=v[d+4>>2]+1;break b;case 4:break d;case 5:break e;case 2:break f;case 1:break g;default:break c}}v[d+4>>2]=v[d+4>>2]+1;b=b+3|0;break a}v[d+4>>2]=v[d+4>>2]+1;b=b+4|0;break a}v[d+4>>2]=0;v[d>>2]=v[d>>2]+1;break b}v[d>>2]=v[d>>2]+1;a=b+2|0;if((c-a|0)<2){b=a;v[d+4>>2]=0;break a}if(w[b+3|0]){b=a;v[d+4>>2]=0;break a}b=w[w[b+2|0]+e|0]==10?b+4|0:a;v[d+4>>2]=0;break a}v[d+4>>2]=v[d+4>>2]+1}b=b+2|0}if((c-b|0)>1){continue}break}}}function bi(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;if(v[a+184>>2]<0){return-9}g=v[a+64>>2];f=v[a+52>>2];h=v[a+276>>2];j=(((g|0)<(f|0)?g:f)-h|0)+B(g,v[a+272>>2])|0;g=v[b>>2];i=g>>>0>j>>>0?j:g;k=b;f=g;a:{if(!c){break a}h=v[a+96>>2]+(h&v[a+68>>2])|0;f=v[c>>2];if(!f){v[c>>2]=h;f=g;break a}Ta(f,h,i);v[c>>2]=v[c>>2]+i;f=v[b>>2]}v[k>>2]=f-i;b=v[a+276>>2]+i|0;v[a+276>>2]=b;if(d){v[d>>2]=b}b=1<<v[a+564>>2];c=v[a+64>>2];if(g>>>0<j>>>0){return(b|0)==(c|0)?3:e?3:1}b:{if((b|0)!=(c|0)){break b}b=v[a+52>>2];if((b|0)<(c|0)){break b}b=b-c|0;v[a+52>>2]=b;v[a+272>>2]=v[a+272>>2]+1;u[a+560>>1]=x[a+560>>1]&65527|((b|0)!=0)<<3}return 1}function gl(a,b,c,d,e){var f=0,g=0,h=0;f=Ca-208|0;Ca=f;v[f+204>>2]=c;Ra(f+160|0,0,40);v[f+200>>2]=v[f+204>>2];a:{if((fl(0,b,f+200|0,f+80|0,f+160|0,d,e)|0)<0){b=-1;break a}g=v[a+76>>2]>=0;c=v[a>>2];if(t[a+74|0]<=0){v[a>>2]=c&-33}h=c&32;b:{if(v[a+48>>2]){b=fl(a,b,f+200|0,f+80|0,f+160|0,d,e);break b}v[a+48>>2]=80;v[a+16>>2]=f+80;v[a+28>>2]=f;v[a+20>>2]=f;c=v[a+44>>2];v[a+44>>2]=f;d=fl(a,b,f+200|0,f+80|0,f+160|0,d,e);b=d;if(!c){break b}Ea[v[a+36>>2]](a,0,0)|0;v[a+48>>2]=0;v[a+44>>2]=c;v[a+28>>2]=0;v[a+16>>2]=0;b=v[a+20>>2];v[a+20>>2]=0;b=b?d:-1}c=a;a=v[a>>2];v[c>>2]=a|h;b=a&32?-1:b;if(!g){break a}}Ca=f+208|0;return b}function _h(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if(!a){return 35}e=16;a:{if(x[a+264>>1]<=b>>>0){break a}d=v[a+544>>2];if(!d){return 7}e=0;g=c,h=Ea[v[d+16>>2]](0)|0,v[g>>2]=h;f=c;c=v[a+476>>2];b:{if((c|0)!=151552){if((c|0)!=131072){if((c|0)!=65536|b>>>0>257){break a}a=Ea[v[d+16>>2]](b)|0;break b}if(!w[a+632|0]){if(Zp(a)){break a}}if(x[a+636>>1]<=b>>>0){break a}b=x[v[a+640>>2]+(b<<1)>>1];if(b>>>0<=257){a=Ea[v[d+16>>2]](b)|0;break b}a=v[(v[a+644>>2]+(b<<2)|0)-1032>>2];break b}if(!w[a+632|0]){if(Zp(a)){break a}}if(x[a+636>>1]<=b>>>0){break a}a=Ea[v[d+16>>2]](t[v[a+640>>2]+b|0]+b|0)|0}v[f>>2]=a}return e|0}function Ve(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{b=w[a|0];if((b-65&255)>>>0<=25){b=b+32|0;break b}if(b&255){break b}b=0;break a}d=w[a+1|0];d=(d-65&255)>>>0<26?d+32|0:d;c=b&255;if(c>>>0<97){c=0;break a}if(c>>>0>122){c=245;e=239;break a}c=c<<3;e=v[c+495080>>2];c=v[c+495084>>2];if((e|0)<=(c|0)){break a}return e^-1}g=a+2|0;h=d&255;i=b&255;c:{while(1){d=c+e>>1;f=d<<5;b=f+459296|0;d:{if(w[b|0]!=(i|0)){b=id(b,a);break d}b=w[f+459297|0]-h|0;if(b){break d}b=f+459298|0;if(!(w[g|0]?1:w[b|0])){break c}b=id(b,g)}if(!b){break c}f=(b|0)<0;e=f?d+1|0:e;c=f?c:d-1|0;if((e|0)<=(c|0)){continue}break}d=(b>>>31|0)+d^-1}return d}function UE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=v[a+736>>2];a:{if(!e){d=ng(a,0);if(d){break a}e=v[a+736>>2]}if(!v[e+4>>2]){d=li(a,0,0,1);if(d){break a}}i=v[e>>2];f=b>>>0>i>>>0?i:b;b:{if(w[a+733|0]){if(!f){break b}h=f&3;e=v[e+8>>2];a=0;if(f-1>>>0>=3){j=f&-4;while(1){d=a<<2;v[d+c>>2]=v[d+e>>2];g=d|4;v[g+c>>2]=v[e+g>>2];g=d|8;v[g+c>>2]=v[e+g>>2];d=d|12;v[d+c>>2]=v[d+e>>2];a=a+4|0;j=j-4|0;if(j){continue}break}}if(!h){break b}while(1){d=a<<2;v[d+c>>2]=v[d+e>>2];a=a+1|0;h=h-1|0;if(h){continue}break}break b}if(!f){break b}Ra(c,0,f<<2)}d=0;if(b>>>0<=i>>>0){break a}Ra((f<<2)+c|0,0,b-f<<2)}return d|0}function SE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=v[a+736>>2];a:{if(!e){d=ng(a,0);if(d){break a}e=v[a+736>>2]}if(!v[e+4>>2]){d=li(a,0,0,1);if(d){break a}}i=v[e>>2];f=b>>>0>i>>>0?i:b;b:{if(w[a+733|0]){if(!f){break b}h=f&3;e=v[e+4>>2];a=0;if(f-1>>>0>=3){j=f&-4;while(1){d=a<<2;v[d+c>>2]=v[d+e>>2];g=d|4;v[g+c>>2]=v[e+g>>2];g=d|8;v[g+c>>2]=v[e+g>>2];d=d|12;v[d+c>>2]=v[d+e>>2];a=a+4|0;j=j-4|0;if(j){continue}break}}if(!h){break b}while(1){d=a<<2;v[d+c>>2]=v[d+e>>2];a=a+1|0;h=h-1|0;if(h){continue}break}break b}if(!f){break b}Ra(c,0,f<<2)}d=0;if(b>>>0<=i>>>0){break a}Ra((f<<2)+c|0,0,b-f<<2)}return d|0}function Lo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=w[a+1|0]|w[a|0]<<8;a:{if(i){j=a+2|0;while(1){d=w[j+1|0]|w[j|0]<<8;d=d?d+a|0:280448;e=w[d+1|0];f=w[d|0];d=(e<<1|f<<9)+d|0;h=d+2|0;g=w[h|0]<<8|w[d+3|0];k=v[c+8>>2];l=v[c>>2];b:{if(w[b+16|0]){f=e|f<<8;e=h+(g?g<<1:2)|0;if(f|(w[e|0]<<8|w[e+1|0])){break b}}if(v[b+12>>2]!=(g|0)){break b}f=1;if(g>>>0<2){break a}h=d+4|0;if(!(Ea[l|0](v[v[b+8>>2]+4>>2],h,k)|0)){break b}e=2;while(1){d=e;if((d|0)==(g|0)){break a}e=d+1|0;if(Ea[l|0](v[v[b+8>>2]+(d<<2)>>2],(h+(d<<1)|0)-2|0,k)|0){continue}break}if(d>>>0>=g>>>0){break a}}j=j+2|0;i=i-1|0;if(i){continue}break}}f=0}return f}function Fl(a,b){var c=0,d=0,e=0,f=0;a:{c=v[a+4>>2];if(!c){break a}b:{c:{while(1){if(v[c+4>>2]==v[a>>2]){d:{if(v[c+8>>2]!=2){db(a,1,513512,0);Qd(a);break d}v[c+8>>2]=0;d=v[c+16>>2];Qd(a);if(!e){e=d;break d}c=Vc(v[a+16>>2]);if(!c){break c}v[c+8>>2]=d;v[c>>2]=36;v[c+12>>2]=e;e=c}c=v[a+4>>2];if(c){continue}}break}if(!e){break a}break b}db(a,2,511350,0);Ab(d);Ab(e)}e:{c=v[a+1312>>2];f:{if(c>>>0<=63){v[a+1312>>2]=c+1;c=(B(c,24)+a|0)+1320|0;break f}c=Va(24);if(!c){break e}}v[c+8>>2]=0;v[c>>2]=v[a+4>>2];f=c;d=v[a>>2];if(d){d=v[d>>2]}else{d=0}v[f+4>>2]=d;v[a+4>>2]=c;v[c+8>>2]=b;v[c+16>>2]=e;return}db(a,2,511350,0);Ab(e)}}function BA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{a=v[a+16>>2];c=w[a+8204|0]|w[a+8205|0]<<8|(w[a+8206|0]<<16|w[a+8207|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!d){break a}a=a+8208|0;while(1){c=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(e>>>0>b>>>0){break a}c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0<b>>>0){a=a+12|0;d=d-1|0;if(!d){break a}continue}break}a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b=b-e|0;return(a>>>0>(b^-1)>>>0?0:a+b|0)|0}return 0}function $H(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if((c-b|0)>=2){e=a+72|0;while(1){a:{b:{c:{d:{e:{f:{a=w[b|0];if(a-216>>>0<4){break f}if(a){break c}g:{switch(w[w[b+1|0]+e|0]-5|0){case 0:v[d+4>>2]=v[d+4>>2]+1;break b;case 4:break d;case 5:break e;case 2:break f;case 1:break g;default:break c}}v[d+4>>2]=v[d+4>>2]+1;b=b+3|0;break a}v[d+4>>2]=v[d+4>>2]+1;b=b+4|0;break a}v[d+4>>2]=0;v[d>>2]=v[d>>2]+1;break b}v[d>>2]=v[d>>2]+1;a=b+2|0;if((c-a|0)<2){b=a;v[d+4>>2]=0;break a}if(w[a|0]){b=a;v[d+4>>2]=0;break a}b=w[w[b+3|0]+e|0]==10?b+4|0:a;v[d+4>>2]=0;break a}v[d+4>>2]=v[d+4>>2]+1}b=b+2|0}if((c-b|0)>1){continue}break}}}function XI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(b>>>0<c>>>0){if((c-b|0)<1){return-1}f=a+72|0;e=b;while(1){a:{g=c;b:{c:{switch(w[w[e|0]+f|0]-2|0){case 3:e=e+2|0;break b;case 4:e=e+3|0;break b;case 5:e=e+4|0;break b;case 1:if((b|0)!=(e|0)){break a}return Ti(a,b+1|0,c,d)|0;case 0:v[d>>2]=e;return 0;case 8:if((b|0)!=(e|0)){break a}v[d>>2]=b+1;return 7;case 7:if((b|0)!=(e|0)){break a}a=b+1|0;if((c-a|0)<1){return-3}v[d>>2]=w[w[b+1|0]+f|0]==10?b+2|0:a;return 7;case 19:if((b|0)!=(e|0)){break a}v[d>>2]=b+1;return 39;default:break c}}e=e+1|0}if((g-e|0)>0){continue}}break}v[d>>2]=e;a=6}else{a=-4}return a|0}function OL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=3;a:{if(v[a+64>>2]!=3){v[a+64>>2]=3;e=v[a+20>>2];if(!e){break a}b:{if(w[a+68|0]){d=v[a+12>>2];if((u[d+20>>1]+u[d+56>>1]|0)+1>>>0>y[d+8>>2]){d=mc(d,0,1);if(d){break a}}f=x[e>>1];d=f<<16>>16;if((d|0)<1){break b}u[(v[e+12>>2]+(f<<1)|0)-2>>1]=x[e+2>>1]-1}d=x[e>>1]}u[e>>1]=d+1;d=v[a+12>>2];if((u[d+22>>1]+u[d+58>>1]|0)+1>>>0>y[d+4>>2]){d=mc(d,1,0);if(d){break a}}d=v[a+20>>2];if(w[a+68|0]){a=v[d+8>>2];e=u[d+2>>1];f=v[d+4>>2]+(e<<3)|0;v[f>>2]=(((b>>31)+b|0)+32768&-65536)>>16;v[f+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;t[a+e|0]=1}u[d+2>>1]=x[d+2>>1]+1}d=0}return d|0}function uO(a){a=a|0;a=a+24|0;zb(a,552);bb(a,1819239276,1,1);bb(a,1667460464,1,1);zb(a,553);bb(a,1853188980,13,1);zb(a,0);bb(a,1634429038,13,1);zb(a,0);bb(a,1919969382,12,1);zb(a,0);bb(a,1919644262,13,1);zb(a,0);bb(a,1886545254,12,1);zb(a,0);bb(a,1651275622,12,1);zb(a,0);bb(a,1633842790,12,1);zb(a,0);bb(a,1751215206,12,1);zb(a,0);bb(a,1886614630,12,1);zb(a,0);bb(a,1986098293,13,1);zb(a,0);bb(a,1667916660,13,1);zb(a,0);zb(a,554);bb(a,1768843636,12,1);bb(a,1886545267,13,1);bb(a,1633842803,13,1);bb(a,1651275635,13,1);bb(a,1886614643,13,1);bb(a,1751215214,13,1);bb(a,1667329140,1,1);bb(a,1668049255,1,1);zb(a,555)}function zu(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;c=v[a>>2];if(c){m=c&1;e=v[b+12>>2];f=v[b+8>>2];g=v[b+4>>2];h=v[b>>2];d=v[a+16>>2];a:{if((c|0)==1){a=0;break a}l=c&-2;a=0;while(1){i=a<<3;j=i+d|0;c=v[j+4>>2];e=(c|0)<(e|0)?e:c;k=(i|8)+d|0;i=v[k+4>>2];e=(e|0)>(i|0)?e:i;j=v[j>>2];f=(f|0)>(j|0)?f:j;k=v[k>>2];f=(f|0)>(k|0)?f:k;c=(c|0)<(g|0)?c:g;g=(c|0)>(i|0)?i:c;c=(h|0)>(j|0)?j:h;h=(c|0)>(k|0)?k:c;a=a+2|0;l=l-2|0;if(l){continue}break}}c=b;if(m){d=(a<<3)+d|0;a=v[d>>2];h=(a|0)<(h|0)?a:h;d=v[d+4>>2];g=(d|0)<(g|0)?d:g;f=(a|0)<(f|0)?f:a;e=(e|0)>(d|0)?e:d}v[c+12>>2]=e;v[b+8>>2]=f;v[b+4>>2]=g;v[b>>2]=h}}function nA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{d=v[a+16>>2];a=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(a){g=d+20|0;while(1){e=a+f>>>1|0;d=B(e,12)+g|0;c=d-4|0;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);b:{if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>b>>>0){a=e;break b}c=d;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>=b>>>0){break a}f=e+1|0}if(a>>>0>f>>>0){continue}break}}return 0}a=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}function WI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(b>>>0<c>>>0){if((c-b|0)<1){return-1}f=a+72|0;e=b;while(1){a:{g=c;b:{c:{switch(w[w[e|0]+f|0]-3|0){case 2:e=e+2|0;break b;case 3:e=e+3|0;break b;case 4:e=e+4|0;break b;case 0:if((b|0)!=(e|0)){break a}return Ti(a,b+1|0,c,d)|0;case 27:if((b|0)!=(e|0)){break a}a=tt(a,b+1|0,c,d);return((a|0)==22?0:a)|0;case 7:if((b|0)!=(e|0)){break a}v[d>>2]=b+1;return 7;case 6:if((b|0)!=(e|0)){break a}a=b+1|0;if((c-a|0)<1){return-3}v[d>>2]=w[w[b+1|0]+f|0]==10?b+2|0:a;return 7;default:break c}}e=e+1|0}if((g-e|0)>0){continue}}break}v[d>>2]=e;a=6}else{a=-4}return a|0}function Vp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{f=v[a+32>>2];if(f>>>0>b>>>0){i=f-1|0;j=v[a+16>>2]+14|0;g=f<<1;k=g+2|0;while(1){c=(b<<1)+j|0;e=w[c|0]<<8|w[c+1|0];v[a+44>>2]=e;c=c+k|0;h=w[c|0]<<8|w[c+1|0];v[a+40>>2]=h;c=c+g|0;d=w[c|0]|w[c+1|0]<<8;v[a+48>>2]=(d<<8|d>>>8)<<16>>16;d=c+g|0;c=w[d|0]<<8|w[d+1|0];c:{if((h|0)!=65535|b>>>0<i>>>0|(e|0)!=65535){break c}if(!c){break b}e=v[a>>2];if((c+d|0)+2>>>0<=v[e+508>>2]+v[e+512>>2]>>>0){break c}v[a+48>>2]=1;break b}if((c|0)!=65535){if(!c){break b}c=c+d|0;break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}}return-1}c=0}v[a+36>>2]=b;v[a+52>>2]=c;return 0}function iM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=Ca-16|0;Ca=g;e=6;a:{if(!b|!a|(!c|!d)){break a}f=v[d+4>>2];d=v[d>>2];v[g+12>>2]=0;if(!d){break a}d=qb(d,40,g+12|0);e=v[g+12>>2];if(e){break a}v[d>>2]=0;v[d+4>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+32>>2]=3;e=v[f+4>>2];v[d>>2]=v[f>>2];v[d+4>>2]=e;e=v[a+4>>2];v[d+16>>2]=v[a>>2];v[d+20>>2]=e;a=v[b+4>>2];v[d+24>>2]=v[b>>2];v[d+28>>2]=a;a=v[c+4>>2];v[d+8>>2]=v[c>>2];v[d+12>>2]=a;v[d+36>>2]=v[f+8>>2];v[f+8>>2]=d;a=v[c+4>>2];v[f>>2]=v[c>>2];v[f+4>>2]=a;e=0}Ca=g+16|0;return e|0}function az(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=3;g=b+2|0;a:{if(g>>>0>c>>>0){break a}i=w[b+1|0]|w[b|0]<<8;if((i<<2)+g>>>0>c>>>0){break a}c=v[a+12>>2];j=w[c+14|0];k=x[c+12>>1];l=x[c+10>>1];m=w[c+8|0];n=x[c+6>>1];o=x[c+4>>1];b=0;b:{if(!i){h=0;break b}c=f+1|0;while(1){h=_p(a,w[g+1|0]|w[g|0]<<8,t[g+2|0]+d|0,t[g+3|0]+e|0,c,0);if(!h){g=g+4|0;b=b+1|0;if((i|0)!=(b|0)){continue}}break}c=v[a+12>>2]}u[c+14>>1]=j;u[c+8>>1]=m;u[c+12>>1]=k<<24>>24;u[c+10>>1]=l<<24>>24;u[c+6>>1]=n<<24>>24;u[c+4>>1]=o<<24>>24;a=v[a+8>>2];u[c+2>>1]=w[a+4|0];u[c>>1]=w[a|0]}return h|0}function Fq(a){var b=0,c=0,d=0;b=Ca-16|0;Ca=b;c=Ya(a,0);v[b+12>>2]=c;a:{if(c){break a}c=Vb(a,b+8|0,4);v[b+12>>2]=c;if(c){break a}c=3;if(w[b+8|0]!=31|w[b+9|0]!=139|(w[b+10|0]!=8|w[b+11|0]>31)){break a}c=Ub(a,6);v[b+12>>2]=c;d=w[b+11|0];if(d&4){d=Fr(a,b+12|0);c=v[b+12>>2];if(c){break a}c=Ub(a,d);v[b+12>>2]=c;if(c){break a}c=0;d=w[b+11|0]}if(d&8){while(1){d=cc(a,b+12|0)?0:3;c=v[b+12>>2];d=c?2:d;if(!d){continue}break}if((d|0)!=3){break a}d=w[b+11|0]}if(d&16){while(1){d=cc(a,b+12|0)?0:5;c=v[b+12>>2];d=c?2:d;if(!d){continue}break}if((d|0)!=5){break a}d=w[b+11|0]}if(!(d&2)){break a}c=Ub(a,2)}Ca=b+16|0;return c}function Pt(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Ca-16|0;Ca=e;a:{b:{d=lm();if(!d){break b}f=nf(a,1970170211);if(f){if(nf(a,1937337698)){break a}}b=Nk(a,e+12|0);c=v[e+12>>2];if(c){g=-1;while(1){c:{d:{if(b>>>0>31){break d}if(fd(a,c,515)){break c}c=v[a+84>>2];if(v[c+72>>2]!=1869968492){break d}if(!x[c+108>>1]){break c}}fj(d,b);c=b>>>8|0;if((c|0)!=(g|0)){g=c;h=Gg(d,b);if(!h){break b}}c=(b>>>3&28)+h|0;v[c>>2]=v[c>>2]|1<<b}b=Vf(a,b,e+12|0);c=v[e+12>>2];if(c){continue}break}}if(!f){break a}b=61440;while(1){if(ej(d,b)){fj(d,b-61440|0)}b=b+1|0;if((b|0)!=61696){continue}break}break a}jd(d);d=0}Ca=e+16|0;return d}function Ff(a){var b=0,c=0;if(a){b=v[a+88>>2];if(b){Pa(v[b+20>>2]);Pa(v[v[a+88>>2]+4>>2]);Pa(v[v[a+88>>2]+8>>2]);Pa(v[a+88>>2])}Pa(v[a+24>>2]);Pa(v[a+28>>2]);Pa(v[a+68>>2]);b=v[a+16>>2];a:{if(!b){break a}c=1;if(v[a>>2]<1){break a}Pa(v[b>>2]);Pa(v[b+4>>2]);if(v[a>>2]>=2){while(1){b=v[a+16>>2]+B(c,144)|0;Pa(v[b>>2]);Pa(v[b+4>>2]);c=c+1|0;if((c|0)<v[a>>2]){continue}break}}b=v[a+16>>2]}Pa(b);c=v[a+20>>2];if(!(!c|v[a+8>>2]<1)){b=0;while(1){c=B(b,56)+c|0;Pa(v[c+28>>2]);Pa(v[c+44>>2]);Pa(v[c+48>>2]);Pa(v[c+52>>2]);b=b+1|0;if((b|0)<v[a+8>>2]){c=v[a+20>>2];continue}break}c=v[a+20>>2]}Pa(c);Pa(v[a+80>>2]);Pa(a)}}function CF(a){a=a|0;var b=0,c=0,d=0,e=0;a:{b:{c:{a=v[v[a+156>>2]>>2];b=v[a+4>>2];if(!(!b|v[a+40>>2])){c=b<<1;if((c|0)<0){d=6;break b}if(c){d=10;if((c|0)>268435455){break b}d=v[a>>2];b=b<<4;d=Ea[v[d+4>>2]](d,b)|0;if(!d){break c}Ra(d,0,b);b=v[a+4>>2]}t[a+16|0]=1;v[a+40>>2]=d;e=(b<<3)+d|0;v[a+44>>2]=e;b=a;c=v[a+24>>2];if(c){c=c+(u[a+22>>1]<<3)|0}else{c=0}v[b+60>>2]=c;c=a- -64|0;b=v[a+28>>2];if(b){b=b+u[a+22>>1]|0}else{b=0}v[c>>2]=b;b=a;c=v[a+32>>2];if(c){c=c+(u[a+20>>1]<<1)|0}else{c=0}v[b+68>>2]=c;b=u[a+22>>1]<<3;v[a+80>>2]=b+e;v[a+76>>2]=b+d}d=0;break a}v[a+40>>2]=0;d=64;break a}v[a+40>>2]=0}return d|0}function Nm(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{e=v[a+20>>2];if(e>>>0>b>>>0){g=a+8|0;c:{d:{while(1){c=v[a+8>>2];if(!c){break d}f=v[c+24>>2];if(!f){break b}v[a+8>>2]=v[c+16>>2];d=v[c+28>>2]-1|0;v[c+28>>2]=d;e:{if(d){v[c+20>>2]=0;break e}d=v[c+8>>2];if(d){v[d+12>>2]=v[c+12>>2]}v[v[c+12>>2]>>2]=d;v[a+20>>2]=e-f;v[a+32>>2]=v[a+32>>2]-1;e=v[a+16>>2];if((e|0)!=v[c+4>>2]){break a}d=c+32|0;Ea[v[e+16>>2]](d+(v[e+24>>2]+7&-8)|0,d);Pa(c);e=v[a+20>>2]}if(b>>>0<e>>>0){continue}break}b=v[a+8>>2];if(!b){break d}a=b+20|0;break c}a=a+12|0}v[a>>2]=g}return}O(364840,364851,457,364973);L()}O(365003,364851,412,365022);L()}function Ho(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=v[b+4>>2];if(g>>>0>a>>>0){return 0}d=v[b+8>>2];if(d>>>0<a>>>0){return 0}if(d-a>>>0<2){return 0}f=v[b+12>>2];e=f-2|0;v[b+12>>2]=e;h=1;if((e|0)<1){return 0}e=w[a+1|0]|w[a|0]<<8;a:{if(!e){break a}c=c+e|0;b:{if(c>>>0<g>>>0|c>>>0>d>>>0|d-c>>>0<2){break b}f=f-4|0;v[b+12>>2]=f;if((f|0)<1){break b}e=w[c+1|0]|w[c|0]<<8;if(!e){break a}c=c+2|0;if(c>>>0<g>>>0|c>>>0>d>>>0){break b}d=d-c|0;c=e<<1;if(d>>>0<c>>>0){break b}c=f-c|0;v[b+12>>2]=c;if((c|0)>0){break a}}c=v[b+24>>2];if(c>>>0>31){return 0}v[b+24>>2]=c+1;h=0;if(!w[b+20|0]){break a}t[a|0]=0;t[a+1|0]=0;h=1}return h}function xK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{if(v[a>>2]!=v[b>>2]|v[a+4>>2]!=v[b+4>>2]|(v[a+8>>2]!=v[b+8>>2]|v[a+12>>2]!=v[b+12>>2])){break a}if(v[a+16>>2]!=v[b+16>>2]){break a}d=v[a+20>>2];if((d|0)!=v[b+20>>2]){break a}b:{if(!d){break b}g=1;e=v[a+24>>2];f=v[b+24>>2];if(v[e>>2]!=v[f>>2]){break b}a=0;while(1){c=B(a,24);b=c+e|0;c=c+f|0;if(v[b+4>>2]!=v[c+4>>2]|v[b+8>>2]!=v[c+8>>2]|(v[b+12>>2]!=v[c+12>>2]|v[b+16>>2]!=v[c+16>>2])){break b}if(v[b+20>>2]!=v[c+20>>2]){break b}a=a+1|0;g=d>>>0>a>>>0;if((a|0)==(d|0)){break b}b=B(a,24);if(v[b+e>>2]==v[b+f>>2]){continue}break}}return(g^-1)&1}return 0}function jt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{b:{c:{switch(b+4|0){case 20:if(Ea[v[e+24>>2]](e,(v[e+64>>2]<<1)+c|0,d,506358)|0){v[a>>2]=943;return 11}if(Ea[v[e+24>>2]](e,(v[e+64>>2]<<1)+c|0,d,506365)|0){v[a>>2]=944;return 33}if(Ea[v[e+24>>2]](e,(v[e+64>>2]<<1)+c|0,d,506373)|0){v[a>>2]=945;return 39}if(!(Ea[v[e+24>>2]](e,(v[e+64>>2]<<1)+c|0,d,506381)|0)){break b}v[a>>2]=946;return 17;case 15:return 55;case 17:return 56;case 32:return 60;case 30:v[a>>2]=947;return 3;case 0:case 19:break a;default:break c}}if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=936;f=-1}return f|0}function tK(a,b){a=a|0;b=b|0;var c=0,d=0;a:{c=v[a>>2];if((c|0)!=v[b>>2]){break a}d=1;b:{c:{switch(c|0){case 0:if(v[a+8>>2]!=v[b+8>>2]|A[a+16>>3]!=A[b+16>>3]|(v[a+24>>2]!=v[b+24>>2]|v[a+28>>2]!=v[b+28>>2])){break a}if(v[a+32>>2]!=v[b+32>>2]){break a}d=0;if(v[a+36>>2]!=v[b+36>>2]){break b}return v[a+40>>2]==v[b+40>>2]|0;case 1:d=0;c=v[a+12>>2];if((c|0)!=v[b+12>>2]){break b}return!lc(v[a+8>>2],v[b+8>>2],c)|0;case 2:break c;default:break b}}if(v[a+8>>2]!=v[b+8>>2]|v[a+12>>2]!=v[b+12>>2]|v[a+16>>2]!=v[b+16>>2]){break a}d=0;if(v[a+20>>2]!=v[b+20>>2]){break b}d=v[a+24>>2]==v[b+24>>2]}return d|0}return 0}function Hx(a,b){var c=0,d=0,e=0,f=0,g=0;e=v[b+4>>2];a:{if(e>>>0>a>>>0){break a}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<78){break a}f=v[b+12>>2];c=f-78|0;v[b+12>>2]=c;if((c|0)<1){break a}b:{if(!(w[a+1|0]|w[a|0]<<8)){break b}c=a+78|0;if(c>>>0<e>>>0|c>>>0>d>>>0|d-c>>>0<8){break a}c=f-86|0;v[b+12>>2]=c;if((c|0)<1){break a}if((w[a+1|0]|w[a|0]<<8)>>>0<2){break b}c=a+86|0;if(c>>>0<e>>>0|c>>>0>d>>>0|d-c>>>0<10){break a}c=f-96|0;v[b+12>>2]=c;if((c|0)<1){break a}if((w[a+1|0]|w[a|0]<<8)>>>0<5){break b}a=a+96|0;if(a>>>0<e>>>0|a>>>0>d>>>0|d-a>>>0<4){break a}a=f-100|0;v[b+12>>2]=a;if((a|0)<1){break a}}g=1}return g}function Ko(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{e=w[c|0]|w[c+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}a=a-(w[c+3|0]|w[c+2|0]<<8)|0;d=a>>>0<(w[c+5|0]|w[c+4|0]<<8)>>>0?((a<<1)+c|0)+6|0:280448;a=d+1|0;break b}e=280840;d=w[c+3|0]|w[c+2|0]<<8;e:{if(!d){break e}d=d-1|0;while(1){f=d+h>>>1|0;g=B(f,6)+c|0;f:{if((w[g+4|0]<<8|w[g+5|0])>>>0<=a>>>0){if((w[g+7|0]|w[g+6|0]<<8)>>>0<a>>>0){h=f+1|0;break f}e=(B(f,6)+c|0)+4|0;break e}d=f-1|0}if((d|0)>=(h|0)){continue}break}}d=e+4|0;a=e+5|0}d=w[a|0]|w[d|0]<<8}return(w[b+1|0]|w[b|0]<<8)==(d|0)|0}function oe(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d:{c=a;a=w[a+11|0]|w[a+10|0]<<8;c=a?c+a|0:280448;a=w[c|0]|w[c+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}a=b-(w[c+3|0]|w[c+2|0]<<8)|0;a=a>>>0<(w[c+5|0]|w[c+4|0]<<8)>>>0?(c+(a<<1)|0)+6|0:280448;b=a+1|0;break b}g=280840;a=w[c+3|0]|w[c+2|0]<<8;e:{if(!a){break e}a=a-1|0;while(1){e=a+d>>>1|0;f=c+B(e,6)|0;f:{if((w[f+4|0]<<8|w[f+5|0])>>>0<=b>>>0){if((w[f+7|0]|w[f+6|0]<<8)>>>0<b>>>0){d=e+1|0;break f}g=(c+B(e,6)|0)+4|0;break e}a=e-1|0}if((a|0)>=(d|0)){continue}break}}a=g+4|0;b=g+5|0}d=w[b|0]|w[a|0]<<8}return d}function jH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=39;a:{b:{switch(b-15|0){case 9:b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=45;if(b){break a}v[a+8>>2]=39;v[a>>2]=957;return 45;case 21:b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=46;if(b){break a}v[a+8>>2]=39;v[a>>2]=957;return 46;case 20:b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=47;if(b){break a}v[a+8>>2]=39;v[a>>2]=957;return 47;case 22:b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=48;if(b){break a}v[a+8>>2]=39;v[a>>2]=957;return 48;case 23:v[a>>2]=979;return 50;case 6:v[a>>2]=979;return 49;case 0:break a;default:break b}}if(!v[a+16>>2]){c=59;if((b|0)==28){break a}}v[a>>2]=936;c=-1}return c|0}function Oe(a){var b=0,c=0,d=0,e=0,f=0;b=Ca-48|0;Ca=b;c=v[a>>2];a:{if(c){break a}f=a-84|0;c=0;while(1){e=v[f>>2];if(!e){c=280448;break a}d=eb(1,4);b:{if(!d){if(c){break b}c=280448;v[a>>2]=280448;break a}v[b+16>>2]=0;v[b+20>>2]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;c=Nb(e);t[b+44|0]=1;v[b+40>>2]=c;c=np(b+8|0,Jb(e,1195656518));v[d>>2]=c;if(op(b,c,e)){Sa(c);v[d>>2]=280448;c=280448}if(!v[a>>2]){c=d;v[a>>2]=c;break a}Sa(c?c:280448);Pa(d);c=v[a>>2]}if(!c){continue}break}}Ca=b+48|0;return c}
|
||
function pe(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d:{c=a;a=w[a+5|0]|w[a+4|0]<<8;c=a?c+a|0:280448;a=w[c|0]|w[c+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}a=b-(w[c+3|0]|w[c+2|0]<<8)|0;a=a>>>0<(w[c+5|0]|w[c+4|0]<<8)>>>0?(c+(a<<1)|0)+6|0:280448;b=a+1|0;break b}g=280840;a=w[c+3|0]|w[c+2|0]<<8;e:{if(!a){break e}a=a-1|0;while(1){e=a+d>>>1|0;f=c+B(e,6)|0;f:{if((w[f+4|0]<<8|w[f+5|0])>>>0<=b>>>0){if((w[f+7|0]|w[f+6|0]<<8)>>>0<b>>>0){d=e+1|0;break f}g=(c+B(e,6)|0)+4|0;break e}a=e-1|0}if((a|0)>=(d|0)){continue}break}}a=g+4|0;b=g+5|0}d=w[b|0]|w[a|0]<<8}return d}function Gb(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=v[b>>2];d=f>>31;a:{if((d^d+f)>>>0>268435455){break a}f=v[b+4>>2];d=f>>31;if((d^d+f)>>>0>268435455){break a}e=v[a>>2];d=v[a+4>>2];if(e>>>0>=d>>>0){e=0;v[164114]=0;d=d<<1;g=a,h=Xb(v[a+16>>2],d,8),v[g+16>>2]=h;if(v[164114]){break a}v[a+4>>2]=d;e=v[a>>2]}d=v[b+4>>2];e=v[a+16>>2]+(e<<3)|0;v[e>>2]=v[b>>2];v[e+4>>2]=d;e=1;v[a>>2]=v[a>>2]+1;if(!c){break a}b=v[a+8>>2];d=v[a+12>>2];if(b>>>0>=d>>>0){e=0;v[164114]=0;b=d<<1;g=a,h=Xb(v[a+20>>2],b,1),v[g+20>>2]=h;if(v[164114]){break a}v[a+12>>2]=b;b=v[a+8>>2]}t[v[a+20>>2]+b|0]=c;e=1;v[a+8>>2]=v[a+8>>2]+1}return e}function dA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=Ca-16|0;Ca=f;c=v[a+28>>2];g=v[a+16>>2];e=v[a+24>>2];v[f+12>>2]=0;a:{b:{d=e+1|0;c:{if(d>>>0<=c>>>0){b=v[a+32>>2];break c}v[a+36>>2]=b;b=Ua(b,4,c,d,v[a+32>>2],f+12|0);v[a+32>>2]=b;if(v[f+12>>2]){break b}v[a+28>>2]=d}d:{if(!e){break d}a=g+10|0;c=0;if((e|0)!=1){d=e&-2;while(1){g=c<<2;v[g+b>>2]=w[a+2|0]|(w[a+1|0]<<8|w[a|0]<<16);v[(g|4)+b>>2]=w[a+13|0]|(w[a+12|0]<<8|w[a+11|0]<<16);c=c+2|0;a=a+22|0;d=d-2|0;if(d){continue}break}}if(!(e&1)){break d}v[(c<<2)+b>>2]=w[a+2|0]|(w[a+1|0]<<8|w[a|0]<<16)}v[(e<<2)+b>>2]=0;break a}b=0}Ca=f+16|0;return b|0}function PM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=v[a>>2];a:{b:{c:{h=v[a+4>>2];a=(h>>6)-v[b+164>>2]|0;if(!((a|0)<0|(a|0)>=v[b+172>>2])){c=g>>6;if((c|0)<v[b+160>>2]){break c}}a=v[b+192>>2];break b}d=v[b+188>>2]+(a<<2)|0;e=v[d>>2];f=v[e>>2];a=v[b+156>>2];c=(a|0)>(c|0)?a-1|0:c;if((f|0)<=(c|0)){while(1){a=e;if((c|0)==(f|0)){break b}e=v[a+12>>2];f=v[e>>2];if((c|0)>=(f|0)){continue}break}d=a+12|0}a=v[b+180>>2];v[b+180>>2]=a+16;if(y[b+184>>2]<=a>>>0){break a}v[a>>2]=c;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=v[d>>2];v[d>>2]=a}v[b+176>>2]=a;v[b+204>>2]=h<<2;v[b+200>>2]=g<<2;return 0}S(b|0,1);L()}function KD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=v[v[a+40>>2]>>2];if(e){b=v[a>>2];g=v[b+100>>2];c=v[b+712>>2];a=v[c+3080>>2];b=pc(v[v[b+96>>2]+4>>2],13048);a:{if(!b|!a){break a}a=v[a>>2];if(!a){break a}d=Ea[a|0](b)|0;if(!d){break a}Ea[v[d+8>>2]](v[e>>2]);a=v[c+2024>>2];if(!a){break a}f=e+4|0;b=a-1|0;c=a&3;if(c){while(1){a=a-1|0;Ea[v[d+8>>2]](v[f+(a<<2)>>2]);c=c-1|0;if(c){continue}break}}if(b>>>0<3){break a}while(1){b=f+(a<<2)|0;Ea[v[d+8>>2]](v[b-4>>2]);Ea[v[d+8>>2]](v[b-8>>2]);Ea[v[d+8>>2]](v[b-12>>2]);a=a-4|0;Ea[v[d+8>>2]](v[f+(a<<2)>>2]);if(a){continue}break}}if(e){Ea[v[g+8>>2]](g,e)}}}function WB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Ca-32|0;Ca=c;a:{if((Ea[v[b+52>>2]](b,6,c,0)|0)<=5){v[b+12>>2]=3;break a}e=v[c+12>>2];if(!e){v[b+12>>2]=3;break a}d=e>>31;d=d+e^d;if((d|0)!=65536){f=c,g=ab(v[c>>2],d),v[f>>2]=g;f=c,g=ab(v[c+4>>2],d),v[f+4>>2]=g;f=c,g=ab(v[c+8>>2],d),v[f+8>>2]=g;f=c,g=ab(v[c+16>>2],d),v[f+16>>2]=g;f=c,g=ab(v[c+20>>2],d),v[f+20>>2]=g;e=v[c+12>>2]<0?-65536:65536;v[c+12>>2]=e}v[a+440>>2]=v[c>>2];v[a+448>>2]=v[c+4>>2];d=v[c+8>>2];v[a+452>>2]=e;v[a+444>>2]=d;if(!Oi(a+440|0)){v[b+12>>2]=3;break a}v[a+456>>2]=v[c+16>>2]>>16;v[a+460>>2]=v[c+20>>2]>>16}Ca=c+32|0}function Bn(a,b){var c=0,d=0,e=0;e=v[b+4>>2];c=a;v[c>>2]=v[b>>2];v[c+4>>2]=e;v[c+8>>2]=v[b+8>>2];v[c+24>>2]=0;v[c+28>>2]=0;t[c+20|0]=0;t[c+16|0]=0;v[c+12>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;b=Va(4744);a:{if(!b){v[a+28>>2]=-1;break a}v[a+28>>2]=593;v[a+36>>2]=b;c=Ra(b,0,4104);v[a+32>>2]=513;while(1){b=(d<<3)+c|0;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;b=b- -64|0;v[b>>2]=0;v[b+4>>2]=0;d=d+9|0;if((d|0)!=513){continue}break}}t[a+40|0]=0}function xN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Ca-48|0;Ca=d;h=v[b+92>>2];v[a+40>>2]=x[b+68>>1];a:{if(nf(b,1970170211)){v[b+92>>2]=0;break a}cw(a,b);v[d+32>>2]=v[74624];c=v[74623];v[d+24>>2]=v[74622];v[d+28>>2]=c;c=v[74621];v[d+16>>2]=v[74620];v[d+20>>2]=c;f=d+16|0;e=df();b:{while(1){f=hg(f,a,e,d+12|0);c:{if(y[d+12>>2]>1){break c}c=d+44|0;if(c){v[c>>2]=v[e+76>>2]}c=v[e+88>>2];g=cf(e,d+44|0);if(!v[d+44>>2]|!v[c>>2]){break c}c=v[g>>2];g=i;i=1;if(!g){j=c;break c}if((c|0)==(j|0)){break c}c=0;break b}if(w[f|0]){continue}break}c=1}ne(e);t[a+32|0]=c}se(b,h);Ca=d+48|0;return 0}function Qd(a){var b=0,c=0,d=0;b=v[a+4>>2];if(!(!b|v[b+4>>2]!=v[a>>2])){v[a+4>>2]=v[b>>2];a:{b:{switch(v[b+8>>2]-1|0){case 0:case 2:case 3:Pa(v[b+16>>2]);break a;case 5:Ce(v[b+16>>2]);break a;case 11:c=v[b+16>>2];if(!c){break a}Pa(c);break a;case 12:Pa(v[b+16>>2]);break a;case 14:jd(v[b+16>>2]);break a;case 15:ie(v[b+16>>2]);break a;case 16:c=v[b+16>>2];Ab(v[c+16>>2]);Pa(c);break a;case 6:case 7:case 8:case 17:Ab(v[b+16>>2]);break a;case 18:break b;default:break a}}c=v[b+16>>2];d=v[c+8>>2];if(d){Ab(d)}Pa(c)}c=v[a+1312>>2]-1|0;if(((B(c,24)+a|0)+1320|0)==(b|0)){v[a+1312>>2]=c;return}Pa(b)}}function _l(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{if(a>>>0>=128){c:{if(a>>>0<=2047){c=a>>>6|-64;d=0;break c}if(a>>>0<=65535){c=a>>>12|-32;e=1;d=6;break c}if(a>>>0<=2097151){c=a>>>18|-16;e=1;f=1;d=12;break c}if(a>>>0<=67108863){c=a>>>24|-8;e=1;f=1;g=1;d=18;break c}d=0;if((a|0)<0){break a}c=a>>>30|-4;e=1;f=1;g=1;h=1;d=24}t[b|0]=c;t[b+1|0]=a>>>d&63|128;c=b+2|0;if(!e){break b}t[b+2|0]=a>>>d-6&63|128;c=b+3|0;if(!f){break b}t[b+3|0]=a>>>d-12&63|128;c=b+4|0;if(!g){break b}t[b+4|0]=a>>>d-18&63|128;c=b+5|0;if(!h){break b}t[b+5|0]=a>>>d-24&63|128;c=b+6|0;break b}t[b|0]=a;c=b+1|0}d=c-b|0}return d}function JG(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=Ca-32|0;Ca=e;Gc(e+16|0,a);Gc(e,b);d=-1;a:{b:{c:{switch(v[e+16>>2]-1|0){case 0:f=+v[e+24>>2];h=f;break b;case 1:f=A[e+24>>3];h=f;break b;case 8:break c;default:break a}}a=v[e+24>>2];h=A[a+8>>3];f=A[a>>3]}d:{e:{switch(v[e>>2]-1|0){case 0:d=+v[e+8>>2];g=d;break d;case 1:d=A[e+8>>3];g=d;break d;case 8:break e;default:break a}}a=v[e+8>>2];g=A[a+8>>3];d=A[a>>3]}i=d;f:{if(d>h){break f}i=g;if(g<f){break f}v[c>>2]=2;A[c+8>>3]=((d<f?f:d)+(g>h?h:g))*.5;d=0;break a}A[c+8>>3]=i;v[c>>2]=2;i=D(d-h);d=D(f-g);d=d>i?i:d}Ca=e+32|0;return+d}function Iv(a,b){var c=0,d=0,e=0,f=0;c=v[a+32>>2];e=b;d=v[a+28>>2];if(d){while(1){f=v[c+8>>2];if(f){Ea[v[b+8>>2]](b,f)}v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=v[a+32>>2]}if(c){Ea[v[e+8>>2]](e,c)}v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;c=v[a+20>>2];d=v[a+16>>2];if(d){while(1){f=v[c+8>>2];if(f){Ea[v[b+8>>2]](b,f)}v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=v[a+20>>2]}if(c){Ea[v[e+8>>2]](e,c)}v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;e=v[a+8>>2];if(e){Ea[v[b+8>>2]](b,e)}v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}function ZD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Ca-208|0;Ca=d;f=v[a+532>>2];Ea[v[b+60>>2]](b,d+16|0,16,d+12|0);c=v[d+12>>2];a:{if((c|0)<0){e=162;break a}e=3;if(!c|(c|0)>16){break a}b:{c:{if(f){g=v[f>>2];if(g){break c}}e=ji(a,c,0);if(e){break a}f=v[a+532>>2];c=v[d+12>>2];break b}if((c|0)!=(g|0)){break a}}e=v[b+8>>2];g=v[b>>2];if((c|0)>=1){c=0;while(1){a=(d+16|0)+B(c,12)|0;v[b>>2]=v[a>>2];v[b+8>>2]=v[a+4>>2];a=Ea[v[b+40>>2]](b,0)|0;h=c<<2;v[h+v[f+136>>2]>>2]=a;v[v[f+140>>2]+h>>2]=a;c=c+1|0;if((c|0)<v[d+12>>2]){continue}break}}v[b+8>>2]=e;v[b>>2]=g;e=0}v[b+12>>2]=e;Ca=d+208|0}function xx(a,b){var c=0,d=0,e=0,f=0,g=0;e=Hb(b);t[a+20|0]=0;v[a+28>>2]=e;d=v[e+12>>2];v[a+4>>2]=d;f=v[e+16>>2];v[a+8>>2]=f+d;if((f|0)>-1){v[a+24>>2]=0;g=a;if(f>>>0>67108862){c=1073741823}else{c=f<<6;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}v[g+12>>2]=c;v[a>>2]=0;if(!d){Sa(e);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;return b}a:{if(f>>>0>=36){v[a+12>>2]=c-36;c=w[d+1|0];d=w[d|0];Sa(e);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;if((c|d<<8)!=1){break a}if(v[b+4>>2]){v[b+4>>2]=0}return b}Sa(e);v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}Sa(b);return 280448}O(248800,248825,194,248842);L()}function as(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=524384;h=w[a|0]?a:524384;while(1){e=b;f=0;a=h;c=w[a|0];a:{b:{if(!c){break b}while(1){g=w[e|0];if(!g){f=c;break b}c:{while(1){d=c|32;if(!(c-48>>>0>10?(c|32)-97>>>0>=27:0)){break c}c=w[a+1|0];d=a+1|0;a=d;if(c){continue}break}a=d;d=32}c=1;if((d&255)!=(g|0)){break a}e=e+1|0;c=w[a+1|0];a=a+1|0;if(c){continue}break}}c=w[e|0]!=(f&255)}if(!c){while(1){b=(Xa(b)+b|0)+1|0;if(w[b|0]){continue}break}return b-524383|0}b=(Xa(b)+b|0)+1|0;a=w[b|0];if(!a){a=w[b+1|0];b=(a>>>0>128?2:B(128-a>>>2|0,5)+2|0)+b|0;a=w[b|0]}if(a&255){continue}break}return-1}function AL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;u[a+64>>1]=256;v[a+8>>2]=d;v[a+4>>2]=b;v[a>>2]=v[b+100>>2];a:{if(!d){break a}b=v[v[d+156>>2]>>2];v[a+12>>2]=b;v[a+20>>2]=b+56;v[a+16>>2]=b+20;tf(b);v[a+68>>2]=0;v[a+72>>2]=0;if(!e|!c){break a}b=v[v[c+40>>2]>>2];if(!b){break a}v[a+72>>2]=v[b>>2];v[a+68>>2]=v[v[d+156>>2]+36>>2]}v[a+24>>2]=0;v[a+28>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;b=v[74946];v[a+76>>2]=v[74945];v[a+80>>2]=b;b=v[74948];v[a+84>>2]=v[74947];v[a+88>>2]=b;b=v[74950];v[a+92>>2]=v[74949];v[a+96>>2]=b;b=v[74952];v[a+100>>2]=v[74951];v[a+104>>2]=b}function at(a,b,c,d,e){var f=0,g=0,h=0;f=B(b,28);g=v[a+352>>2];h=v[f+v[g+164>>2]>>2];v[c>>2]=h;v[c+4>>2]=v[(f+v[g+164>>2]|0)+4>>2];if((h|0)==4){v[c+8>>2]=v[e>>2];f=v[(f+v[g+164>>2]|0)+8>>2];while(1){a=w[f|0];b=v[e>>2];v[e>>2]=b+1;t[b|0]=a;a=w[f|0];f=f+1|0;if(a){continue}break}v[c+12>>2]=0;v[c+16>>2]=0;return}f=v[(f+v[g+164>>2]|0)+20>>2];v[c+12>>2]=f;v[c+16>>2]=v[d>>2];v[d>>2]=v[d>>2]+B(f,20);if(v[c+12>>2]){b=(v[g+164>>2]+B(b,28)|0)+12|0;f=0;while(1){b=v[b>>2];at(a,b,v[c+16>>2]+B(f,20)|0,d,e);b=(v[g+164>>2]+B(b,28)|0)+24|0;f=f+1|0;if(f>>>0<y[c+12>>2]){continue}break}}v[c+8>>2]=0}function YM(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;f=Ca-128|0;Ca=f;if((c|0)>=1){k=(B((b|0)!=0,36)+a|0)+16|0;while(1){i=(c|0)<16?c:16;g=i<<1;b=0;while(1){h=b<<2;j=v[h+d>>2]+j|0;e=j;v[f+h>>2]=((e+(e>>31)|0)+32768&-65536)>>16;b=b+1|0;if((g|0)!=(b|0)){continue}break}b=0;while(1){e=b<<2;h=(e|4)+f|0;v[h>>2]=v[h>>2]-v[e+f>>2];b=b+2|0;if((g|0)>(b|0)){continue}break}a:{if(v[a+4>>2]){break a}b=f;g=i;while(1){e=Ih(k,v[b>>2],v[b+4>>2],v[a>>2],0);if(e){v[a+4>>2]=e;break a}b=b+8|0;e=(g|0)>1;g=g-1|0;if(e){continue}break}}c=c-i|0;if((c|0)>0){continue}break}}Ca=f+128|0}function Qu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Ca+-64|0;Ca=d;e=rs(b,1717);a:{if(!e){v[d>>2]=b;hb(a,2,1720,d);break a}if((Ci(e,0,2)|0)==-1){v[d+16>>2]=b;hb(a,2,1752,d+16|0);qf(e);break a}f=ss(e);hl(e,0,0,0);v[e>>2]=v[e>>2]&-33;v[d+48>>2]=f;hb(a,6,1784,d+48|0);b:{if((f|0)==-1){break b}g=Va(f+1|0);if(!g){break b}b=0;while(1){h=ps(b+g|0,f-b|0,e);if((h|0)<=0){b=v[164114];i=d,j=jh(v[164114]),v[i+36>>2]=j;v[d+32>>2]=b;hb(a,4,1799,d+32|0);qf(e);Pa(g);g=0;break a}b=b+h|0;if((f|0)>(b|0)){continue}break}t[f+g|0]=0;qf(e);if(!c){break a}v[c>>2]=f;break a}qf(e);g=0}Ca=d- -64|0;return g}function Xl(a){var b=0,c=0,d=0,e=0,f=0;b=Ca-144|0;Ca=b;c=v[a+8>>2];d=v[a+12>>2];Rb(10);if(v[a+4>>2]>=1){f=a+d|0;e=a+c|0;d=0;while(1){c=v[(d<<2)+e>>2];Rb(9);v[b+128>>2]=x[(d<<1)+f>>1];Za(498973,b+128|0);c=c+e|0;v[b+112>>2]=v[c>>2];Za(498979,b+112|0);v[b+96>>2]=v[c+4>>2];Za(498979,b+96|0);v[b+80>>2]=v[c+8>>2];Za(498979,b+80|0);v[b+64>>2]=v[c+12>>2];Za(498979,b- -64|0);v[b+48>>2]=v[c+16>>2];Za(498979,b+48|0);v[b+32>>2]=v[c+20>>2];Za(498979,b+32|0);v[b+16>>2]=v[c+24>>2];Za(498979,b+16|0);v[b>>2]=v[c+28>>2];Za(498979,b);Rb(10);d=d+1|0;if((d|0)<v[a+4>>2]){continue}break}}Ca=b+144|0}function iF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=u[a+302>>1];if(f){a:{b:{c:{switch(v[v[v[a>>2]+96>>2]+64>>2]-35|0){case 5:if(w[a+643|0]){break a}g=b+16|0;e=v[b+16>>2]+(c<<3)|0;break b;case 0:break c;default:break a}}g=b+16|0;e=v[b+16>>2]+(c<<3)|0}e=v[e>>2];f=fb(d,f,v[a+596>>2]);v[v[g>>2]+(c<<3)>>2]=f+e}e=v[b+24>>2]+c|0;t[e|0]=w[e|0]|8}e=u[a+304>>1];if(e){d:{if(!(!w[a+644|0]|(!w[a+643|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+645|0]){break d}}g=c<<3;f=v[(g+v[b+16>>2]|0)+4>>2];a=fb(d,e,v[a+596>>2]);v[(g+v[b+16>>2]|0)+4>>2]=a+f}a=v[b+24>>2]+c|0;t[a|0]=w[a|0]|16}}function _G(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;b=ag(a,0,v[a+144>>2],b,c,d,!w[a+480|0],0);a:{if(b){break a}c=v[a+360>>2];e=1;b:{if(!c){break b}while(1){d=v[c+4>>2];g=v[c+24>>2]+1|0;e=v[c+36>>2];f=g+e|0;if((d|0)!=(f|0)){h=v[c+8>>2];i=h+g|0;if((i|0)>(v[c+40>>2]-e|0)){d=Ea[v[a+16>>2]](e,i)|0;e=0;if(!d){break b}f=v[c+36>>2];if((f|0)==v[c+12>>2]){v[c+12>>2]=d}e=v[c+16>>2];if(e){v[c+16>>2]=d+(e-f|0)}v[c+36>>2]=d;v[c+40>>2]=d+i;f=d+g|0;h=v[c+8>>2];d=v[c+4>>2]}j=c,k=Ta(f,d,h),v[j+4>>2]=k;c=v[c>>2];if(c){continue}}break}e=1}if(e){break a}b=1}return b|0}function Fz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Ca-16|0;Ca=d;e=v[b+28>>2];c=Ea[v[a+516>>2]](a,1734439792,b,0)|0;a:{if(c){break a}c=vb(b,4);v[d+12>>2]=c;if(c){break a}g=a,h=Cb(b),u[g+560>>1]=h;g=a,h=Cb(b),u[g+562>>1]=h;pb(b);if(x[a+560>>1]>=2){u[a+562>>1]=0;c=8;break a}c=e;e=x[a+562>>1];g=a,h=Ua(c,4,0,e,0,d+12|0),v[g+564>>2]=h;c=v[d+12>>2];if(c){break a}c=vb(b,e<<2);v[d+12>>2]=c;if(c){break a}if(e){c=v[a+564>>2];a=0;while(1){f=c+(a<<2)|0;g=f,h=Cb(b),u[g>>1]=h;g=f,h=Cb(b),u[g+2>>1]=h;a=a+1|0;if((e|0)!=(a|0)){continue}break}}pb(b);c=v[d+12>>2]}Ca=d+16|0;return c|0}function df(){var a=0,b=0;a=eb(1,172);if(!a){return 654676}v[a+36>>2]=1073741823;v[a+40>>2]=536870911;v[a>>2]=1;v[a+4>>2]=1;Mh(0);b=mw(ek());v[a+44>>2]=0;v[a+48>>2]=0;v[a+32>>2]=0;v[a+24>>2]=65533;v[a+28>>2]=0;v[a+16>>2]=0;v[a+12>>2]=b;v[a+52>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;v[a+64>>2]=0;v[a+80>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;t[a+70|0]=0;u[a+68>>1]=1;t[a+168|0]=0;v[a+100>>2]=0;v[a+104>>2]=0;v[a+108>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;v[a+120>>2]=0;v[a+124>>2]=0;v[a+128>>2]=0;v[a+132>>2]=0;v[a+136>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+92>>2]=v[a+88>>2];return a}function Lg(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{d=v[a>>2];if(d){while(1){c=v[a+4>>2];g=e<<2;b=v[c+g>>2];if(b){while(1){if(!v[b+24>>2]){break b}c=v[b+28>>2];if(v[b+20>>2]){c=c-1|0;v[b+28>>2]=c}d=v[b+8>>2];c:{if(c){v[b>>2]=0;break c}f=v[a+16>>2];if((f|0)!=v[b+4>>2]){break a}c=b+32|0;Ea[v[f+16>>2]](c+(v[f+24>>2]+7&-8)|0,c);Pa(b)}b=d;if(b){continue}break}c=v[a+4>>2];d=v[a>>2]}v[c+g>>2]=0;e=e+1|0;if(e>>>0<d>>>0){continue}break}}v[a+20>>2]=0;v[a+24>>2]=0;v[a+8>>2]=0;v[a+12>>2]=a+8;v[a+28>>2]=0;v[a+32>>2]=0;return}O(364840,364851,497,364987);L()}O(365003,364851,412,365022);L()}function db(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ca-48|0;Ca=e;v[e+44>>2]=d;g=(b|0)==2?511084:(b|0)==1?511076:511068;a:{if(a){d=v[130915];i=v[a+12>>2];f=v[a+24>>2];if(f){h=v[f+284>>2];b:{if(!h){break b}j=v[f+292>>2];if(j>>>0>h>>>0){break b}k=v[f+144>>2];Ea[v[k+48>>2]](k,j,h,f+404|0);v[f+292>>2]=v[f+284>>2]}f=v[f+404>>2]+1|0}else{f=0}c:{if(i){v[e+40>>2]=f;v[e+36>>2]=i;v[e+32>>2]=g;$b(d,511090,e+32|0);break c}v[e+20>>2]=f;v[e+16>>2]=g;$b(d,511121,e+16|0)}if(b>>>0<2){break a}v[a+8>>2]=1;break a}v[e>>2]=g;d=v[130915];$b(d,511146,e)}zi(d,c,v[e+44>>2]);Re(10,d);Ca=e+48|0}function Pr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Ca-16|0;Ca=g;a:{if(!a){break a}d=v[a+92>>2];if(!d|v[d+4>>2]!=1970170211){break a}d=v[a+40>>2];if(!d){break a}f=v[a+36>>2];if((f|0)<1){break a}i=(f<<2)+d|0;while(1){b:{f=v[d>>2];c:{if(x[f+8>>1]|x[f+10>>1]!=5){break c}e=v[f>>2];if(!e){break c}e=v[e+96>>2];h=v[v[e>>2]+32>>2];if(!h){break c}e=Ea[h|0](e,4240)|0;if(!e){break c}if(Ea[v[e>>2]](f,g+8|0)|0){break c}if(v[g+12>>2]==14){break b}}d=d+4|0;if(i>>>0>d>>>0){continue}break a}break}d=v[d>>2];if(!d){break a}j=Ea[v[v[d+12>>2]+20>>2]](d,v[a+92>>2],b,c)|0}Ca=g+16|0;return j}function Mi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=v[a+352>>2];e=1;f=v[b>>2];d=f;while(1){a:{g=w[d|0];b:{if(!g){break b}if((g|0)!=58){break a}g=c+80|0;if((d|0)!=(f|0)){while(1){e=v[c+92>>2];if((e|0)==v[c+88>>2]){if(!_a(g)){return 0}e=v[c+92>>2]}h=w[f|0];v[c+92>>2]=e+1;t[e|0]=h;f=f+1|0;if((f|0)!=(d|0)){continue}break}}d=v[c+92>>2];if((d|0)==v[c+88>>2]){if(!_a(g)){return 0}d=v[c+92>>2]}v[c+92>>2]=d+1;e=0;t[d|0]=0;a=vc(a,c+60|0,v[c+96>>2],8);if(!a){break b}d=v[c+96>>2];c:{if((d|0)==v[a>>2]){v[c+96>>2]=v[c+92>>2];break c}v[c+92>>2]=d}v[b+4>>2]=a;e=1}return e}d=d+1|0;continue}}function Xh(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=v[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<2){break a}e=v[b+12>>2];g=e-2|0;v[b+12>>2]=g;if((g|0)<1){break a}a=(w[a+1|0]|w[a|0]<<8)+c|0;b:{if(a>>>0<f>>>0|a>>>0>d>>>0|d-a>>>0<4){break b}c=e-6|0;v[b+12>>2]=c;if((c|0)<1){break b}c=a+2|0;if(c>>>0<f>>>0|c>>>0>d>>>0|d-c>>>0<2){break b}c=e-8|0;v[b+12>>2]=c;h=1;if((c|0)<1){break b}e=w[a+3|0]|w[a+2|0]<<8;if(!e){break a}a=a+4|0;if(a>>>0<f>>>0|a>>>0>d>>>0){break b}d=d-a|0;a=e<<1;if(d>>>0<a>>>0){break b}a=c-a|0;v[b+12>>2]=a;if((a|0)>0){break a}}h=0}return h}function Pq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;v[a+44>>2]=b;te(v[a>>2],b);c=v[a>>2];b=v[v[c+712>>2]+3080>>2];c=pc(v[v[c+96>>2]+4>>2],13048);a:{if(!c|!b){break a}b=v[b>>2];if(!b){break a}e=Ea[b|0](c)|0;if(!e){break a}f=v[v[a>>2]+712>>2];c=v[f+1440>>2];h=v[v[a+40>>2]>>2];Ea[v[e+4>>2]](v[h>>2],v[a+16>>2],v[a+20>>2],0,0);b=v[f+2024>>2];if(!b){break a}while(1){g=v[a+16>>2];b=b-1|0;i=b<<2;d=v[v[(i+f|0)+2028>>2]+68>>2];b:{if((d|0)!=(c|0)){g=fb(g,c,d);d=fb(v[a+20>>2],c,d);break b}d=v[a+20>>2]}Ea[v[e+4>>2]](v[(h+i|0)+4>>2],g,d,0,0);if(b){continue}break}}return 0}function WL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=Ca-32|0;Ca=e;v[d>>2]=-1;Gf(a,e+16|0);if(v[e+24>>2]==3){i=v[a>>2];g=v[e+16>>2]+1|0;v[a>>2]=g;j=v[a+8>>2];h=v[e+20>>2]-1|0;v[a+8>>2]=h;f=b;a:{if(g>>>0>=h>>>0){break a}if(!b){f=0;while(1){Gf(a,e);if(!v[e+8>>2]){break a}f=f+12|0;if(y[a>>2]<y[a+8>>2]){continue}break}break a}c=B(c,12)+b|0;while(1){Gf(a,e);if(!v[e+8>>2]){break a}if(c>>>0>f>>>0){g=v[e+4>>2];v[f>>2]=v[e>>2];v[f+4>>2]=g;v[f+8>>2]=v[e+8>>2]}f=f+12|0;if(y[a>>2]<y[a+8>>2]){continue}break}}v[d>>2]=(f-b|0)/12;v[a+8>>2]=j;v[a>>2]=i}Ca=e+32|0}function GL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=v[a+28>>2];a=v[f+20>>2];a:{if(!a){break a}b:{c:{b=x[a>>1];d=b<<16>>16;if((d|0)>=2){e=u[(v[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break c}if(d){break c}b=u[a+2>>1];break b}b=u[a+2>>1];if((e|0)!=(b|0)){break b}u[a>>1]=d-1;break a}d:{if((b|0)<2){break d}c=v[a+4>>2];g=c+(e<<3)|0;c=(c+(b<<3)|0)-8|0;if(v[g>>2]!=v[c>>2]|v[g+4>>2]!=v[c+4>>2]|w[(v[a+8>>2]+b|0)-1|0]!=1){break d}b=b-1|0;u[a+2>>1]=b}if((d|0)<1){break a}c=e;e=(b<<16>>16)-1|0;if((c|0)==(e|0)){u[a+2>>1]=b-1;u[a>>1]=d-1;break a}u[(v[a+12>>2]+(d<<1)|0)-2>>1]=e}t[f+44|0]=0}function Xd(a){var b=0,c=0,d=0;Sa(v[a+32>>2]);v[a+32>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;Pa(v[a+56>>2]);v[a+56>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;d=v[a+104>>2];if(d){while(1){b=v[a+108>>2]+B(c,28)|0;Pa(v[b+12>>2]);v[b+12>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}Pa(v[a+108>>2]);c=0;v[a+108>>2]=0;v[a+100>>2]=0;v[a+104>>2]=0;d=v[a+116>>2];if(d){while(1){b=v[a+120>>2]+B(c,28)|0;Pa(v[b+12>>2]);v[b+12>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}Pa(v[a+120>>2]);v[a+120>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;Sa(v[a>>2]);v[a>>2]=0}function oc(a){var b=0,c=0,d=0;Sa(v[a+32>>2]);v[a+32>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;Pa(v[a+96>>2]);v[a+96>>2]=0;v[a+88>>2]=0;v[a+92>>2]=0;d=v[a+192>>2];if(d){while(1){b=v[a+196>>2]+(c<<5)|0;Pa(v[b+12>>2]);v[b+12>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}Pa(v[a+196>>2]);c=0;v[a+196>>2]=0;v[a+188>>2]=0;v[a+192>>2]=0;d=v[a+204>>2];if(d){while(1){b=v[a+208>>2]+B(c,24)|0;Pa(v[b+12>>2]);v[b+12>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}Pa(v[a+208>>2]);v[a+208>>2]=0;v[a+200>>2]=0;v[a+204>>2]=0;Sa(v[a>>2]);v[a>>2]=0}function id(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ca-32|0;Ca=c;if((a|0)==(b|0)){a=0}else{v[c+16>>2]=0;v[c+20>>2]=a;v[c+4>>2]=b;v[c>>2]=0;a=0;while(1){a:{if(a){v[c+16>>2]=a+1;b=w[a|0];if(b){break a}v[c+16>>2]=0}a=v[c+20>>2];v[c+20>>2]=a+1;a=w[a|0];if(a>>>0>=192){b=Pc(c+16|0,a);break a}b=(a-65&255)>>>0<26?a+32|0:a}a=v[c>>2];b:{if(a){v[c>>2]=a+1;a=w[a|0];if(a){break b}v[c>>2]=0}a=v[c+4>>2];v[c+4>>2]=a+1;a=w[a|0];if(a>>>0>=192){a=Pc(c,a);break b}a=(a-65&255)>>>0<26?a+32|0:a}d=b&255;if(!(!d|(a&255)!=(d|0))){a=v[c+16>>2];continue}break}a=(b&255)-(a&255)|0}Ca=c+32|0;return a|0}function EO(a){a=a|0;a=a+24|0;zb(a,540);bb(a,1819239276,1,1);bb(a,1667460464,1,1);bb(a,1853188980,1,1);bb(a,1634429038,9,1);zb(a,541);bb(a,1919969382,8,1);zb(a,542);zb(a,541);bb(a,1886545254,9,1);zb(a,543);bb(a,1919644262,9,1);bb(a,1633842790,9,1);bb(a,1651275622,9,1);bb(a,1751215206,9,1);bb(a,1886614630,9,1);bb(a,1986098293,9,1);bb(a,1667916660,9,1);zb(a,544);zb(a,545);bb(a,1769172844,0,1);bb(a,1768843636,0,1);bb(a,1835361385,0,1);bb(a,1718185569,0,1);zb(a,0);bb(a,1633842803,9,1);bb(a,1651275635,9,1);bb(a,1751215214,9,1);bb(a,1886545267,9,1);bb(a,1886614643,9,1)}function lM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=Ca-16|0;Ca=e;c=6;a:{if(!a|!b){break a}f=v[b>>2];d=v[b+4>>2];if(v[d>>2]==v[a>>2]){c=0;if(v[d+4>>2]==v[a+4>>2]){break a}}v[e+12>>2]=0;if(!f){c=6;break a}b=qb(f,40,e+12|0);c=v[e+12>>2];if(c){break a}v[b>>2]=0;v[b+4>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+32>>2]=1;c=v[d+4>>2];v[b>>2]=v[d>>2];v[b+4>>2]=c;c=v[a+4>>2];v[b+8>>2]=v[a>>2];v[b+12>>2]=c;v[b+36>>2]=v[d+8>>2];v[d+8>>2]=b;b=v[a+4>>2];v[d>>2]=v[a>>2];v[d+4>>2]=b;c=0}Ca=e+16|0;return c|0}function Mp(a){var b=0,c=0,d=0,e=0;b=Ca-48|0;Ca=b;d=a+156|0;a=v[d>>2];a:{if(a){break a}e=d-108|0;while(1){a=v[e>>2];if(!a){a=280448;break a}v[b+16>>2]=0;v[b+20>>2]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;c=Nb(a);t[b+44|0]=1;v[b+40>>2]=c;c=Lp(b+8|0,Jb(a,1801810552));if(!c){c=280448}a=v[d>>2];if(!a){v[d>>2]=c;a=c;break a}if(c){if((c|0)!=280448){Sa(c)}a=v[d>>2]}if(!a){continue}break}}Ca=b+48|0;a=y[a+16>>2]<8?280448:v[a+12>>2];return(w[a|0]<<8|w[a+1|0])!=0}function MO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;c=v[a+112>>2];a:{if(!c){break a}d=v[b+76>>2];if(!d){break a}e=d&3;a=v[b+88>>2];if(d-1>>>0>=3){d=d&-4;while(1){v[a+4>>2]=v[a+4>>2]|v[(w[a+19|0]<<2)+c>>2];v[a+24>>2]=v[a+24>>2]|v[(w[a+39|0]<<2)+c>>2];v[a+44>>2]=v[a+44>>2]|v[(w[a+59|0]<<2)+c>>2];f=a- -64|0;v[f>>2]=v[f>>2]|v[(w[a+79|0]<<2)+c>>2];a=a+80|0;d=d-4|0;if(d){continue}break}}if(!e){break a}while(1){v[a+4>>2]=v[a+4>>2]|v[(w[a+19|0]<<2)+c>>2];a=a+20|0;e=e-1|0;if(e){continue}break}}a=t[b+168|0];if((a|0)>=0){O(261627,261516,163,261612);L()}t[b+168|0]=a&127}function Dj(a){var b=0,c=0,d=0,e=0;vw(a);v[a+56>>2]=-57005;b=v[a- -64>>2];if(b){c=v[b+8>>2];if(c){while(1){c=c-1|0;d=v[b+12>>2]+B(c,12)|0;e=v[d+8>>2];d=v[d+4>>2];v[b+8>>2]=c;if(e){Ea[e|0](d);c=v[b+8>>2]}if(c){continue}break}}Pa(v[b+12>>2]);Pa(b)}Pa(v[a+88>>2]);v[a+88>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;Pa(v[a+52>>2]);v[a+52>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+24>>2]=0;b=v[a+36>>2];c=v[a+32>>2];if(c){e=(c<<2)+b|0;while(1){Pa(v[(c?b:280448)>>2]);d=(c|0)!=0;c=c-d|0;b=(d<<2)+b|0;if((e|0)!=(b|0)){continue}break}b=v[a+36>>2]}Pa(b);v[a+36>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0}function Wp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Ca-16|0;Ca=f;v[f+12>>2]=0;h=qb(a,(x[c+8>>1]>>>1|0)+1|0,f+12|0);e=0;a:{if(v[f+12>>2]){break a}e=Ya(b,v[c+12>>2]);v[f+12>>2]=e;b:{if(e){break b}e=vb(b,x[c+8>>1]);v[f+12>>2]=e;if(e){break b}e=h;c:{i=x[c+8>>1]>>>1|0;if(i){g=v[b+32>>2];while(1){if(w[g|0]){break c}if(!(Ea[d|0](t[g+1|0])|0)){break c}t[e|0]=w[g+1|0];g=g+2|0;e=e+1|0;i=i-1|0;if(i){continue}break}}t[e|0]=0;pb(b);e=h;break a}pb(b)}if(h){Ea[v[a+8>>2]](a,h)}v[c+12>>2]=0;u[c+8>>1]=0;b=v[c+16>>2];if(b){Ea[v[a+8>>2]](a,b)}v[c+16>>2]=0;e=0}Ca=f+16|0;return e}function TL(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;t[a+68|0]=1;v[a+64>>2]=0;v[a+8>>2]=d;v[a+4>>2]=b;v[a>>2]=v[b+100>>2];a:{if(!d){break a}b=v[v[d+156>>2]>>2];v[a+12>>2]=b;v[a+20>>2]=b+56;v[a+16>>2]=b+20;tf(b);b=v[v[c+40>>2]>>2];v[a+72>>2]=0;v[a+76>>2]=b;if(!e){break a}v[a+72>>2]=v[v[d+156>>2]+36>>2]}v[a+24>>2]=0;v[a+28>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;b=v[74887];v[a+80>>2]=v[74886];v[a+84>>2]=b;b=v[74889];v[a+88>>2]=v[74888];v[a+92>>2]=b;b=v[74891];v[a+96>>2]=v[74890];v[a+100>>2]=b;b=v[74893];v[a+104>>2]=v[74892];v[a+108>>2]=b}function bq(a,b){var c=0,d=0,e=0,f=0;d=Ca-16|0;Ca=d;v[d+12>>2]=0;e=cc(a,d+12|0);c=v[d+12>>2];a:{if(c){break a}if((e|0)==-128){c=8;break a}f=b;b=e&127;c=b;b:{if(!(e&128)){break b}e=cc(a,d+12|0);c=v[d+12>>2];if(c){break a}b=e&127|b<<7;c=b;if(!(e&128)){break b}e=cc(a,d+12|0);c=v[d+12>>2];if(c){break a}b=e&127|b<<7;c=b;if(!(e&128)){break b}e=cc(a,d+12|0);c=v[d+12>>2];if(c){break a}b=e&127|b<<7;c=b;if(!(e&128)){break b}a=cc(a,d+12|0);c=v[d+12>>2];if(c){break a}if(b>>>0>33554431){c=8;break a}c=8;if(a&128){break a}c=a&127|b<<7}v[f>>2]=c;c=0}Ca=d+16|0;return c}function Xs(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;d=ag(a,1,v[a+144>>2],b,c,d,!w[a+480|0],1);a:{if(d){break a}d=0;b=v[a+360>>2];if(!b){break a}while(1){c=v[b+4>>2];g=v[b+24>>2]+1|0;e=v[b+36>>2];f=g+e|0;if((c|0)==(f|0)){break a}h=v[b+8>>2];i=h+g|0;if((i|0)>(v[b+40>>2]-e|0)){c=Ea[v[a+16>>2]](e,i)|0;if(!c){return 1}e=v[b+36>>2];if((e|0)==v[b+12>>2]){v[b+12>>2]=c}f=v[b+16>>2];if(f){v[b+16>>2]=c+(f-e|0)}v[b+36>>2]=c;v[b+40>>2]=c+i;f=c+g|0;h=v[b+8>>2];c=v[b+4>>2]}j=b,k=Ta(f,c,h),v[j+4>>2]=k;b=v[b>>2];if(b){continue}break}}return d|0}function Ps(a,b){var c=0,d=0,e=0,f=0,g=0;e=v[a+12>>2];b=v[a+84>>2]+(v[a+48>>2]+b|0)|0;a:{if(e>>>0>=b>>>0){break a}c=6;if((e|0)<0){break a}b=b+1&-2;if((b|0)<0){break a}f=v[a>>2];g=v[a+52>>2];b:{c:{d:{if(!b){if(!g){break d}Ea[v[f+8>>2]](f,g);v[a+52>>2]=0;break b}c=10;if((b|0)>67108863){break a}e:{if(!e){d=Ea[v[f+4>>2]](f,b<<5)|0;c=!d<<6;break e}c=Ea[v[f+12>>2]](f,e<<5,b<<5,g)|0;d=c?c:g;c=!c<<6}if(c|!d|(b|0)<=(e|0)){break c}Ra((e<<5)+d|0,0,b-e<<5)}v[a+52>>2]=d;break b}v[a+52>>2]=d;if(c){break a}}v[a+12>>2]=b;c=0;v[a+88>>2]=d?(v[a+48>>2]<<5)+d|0:0}return c}function Tr(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a){break a}b=v[a>>2];if(!b){return}f=v[b+96>>2];if(!f){return}c=v[b+108>>2];if(!c){break a}e=b+108|0;d=v[f+8>>2];while(1){if(v[c+8>>2]!=(a|0)){c=v[c+4>>2];if(c){continue}break a}break}g=v[c>>2];h=g?g+4|0:e;e=v[c+4>>2];v[h>>2]=e;v[(e?e:b+112|0)>>2]=g;Ea[v[d+8>>2]](d,c);b:{if(v[b+88>>2]!=(a|0)){break b}v[b+88>>2]=0;c=v[b+108>>2];if(!c){break b}v[b+88>>2]=v[c+8>>2]}b=v[a+8>>2];if(b){Ea[b|0](a)}b=v[v[f+12>>2]+60>>2];if(b){Ea[b|0](a)}b=v[a+40>>2];if(b){Ea[v[d+8>>2]](d,b)}v[a+40>>2]=0;Ea[v[d+8>>2]](d,a)}}function KN(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;h=Ca-16|0;Ca=h;l=v[b+8>>2];m=v[b+4>>2];i=v[a+20>>2];if((i|0)!=v[b+16>>2]){Ra(b+20|0,255,1024);v[b+16>>2]=v[a+20>>2]}if(c){n=b+20|0;while(1){v[h+12>>2]=0;a=v[d>>2];j=((a&255)<<2)+n|0;b=v[j>>2];a:{if(!((b|0)==-1|(b>>>24|0)!=(a>>>8|0))){b=b&16777215;break a}Vi(m,a,l,h+12|0);b=v[h+12>>2];if(a>>>0>65535|b>>>0>16777215){break a}v[j>>2]=a<<16&-16777216|b}v[f>>2]=((i|0)>-1?b:0-b|0)+512>>10;f=f+g|0;d=d+e|0;k=k+1|0;if((k|0)!=(c|0)){continue}break}}Ca=h+16|0}function vb(a,b){var c=0,d=0,e=0;a:{e=v[a+20>>2];b:{if(e){c=85;if(y[a+4>>2]<b>>>0){break b}d=v[a+28>>2];c:{d:{if((b|0)>=1){c=Ea[v[d+4>>2]](d,b)|0;if(c){break d}c=64;break a}c=6;if(b){break a}c=0;break c}e=v[a+20>>2]}v[a>>2]=c;e=Ea[e|0](a,v[a+8>>2],c,b)|0;c=v[a>>2];if(b>>>0<=e>>>0){d=0}else{if(c){Ea[v[d+8>>2]](d,c)}c=0;v[a>>2]=0;d=85}v[a+32>>2]=c;v[a+36>>2]=c?b+c|0:0;v[a+8>>2]=e+v[a+8>>2];return d}e=v[a+4>>2];d=v[a+8>>2];c=85;if(e>>>0<=d>>>0|e-d>>>0<b>>>0){break b}v[a+8>>2]=b+d;c=d+v[a>>2]|0;v[a+32>>2]=c;v[a+36>>2]=b+c;c=0}return c}v[a>>2]=0;return c}function kM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=Ca-16|0;Ca=f;d=6;a:{if(!c|(!a|!b)){break a}e=v[c+4>>2];c=v[c>>2];v[f+12>>2]=0;if(!c){break a}c=qb(c,40,f+12|0);d=v[f+12>>2];if(d){break a}v[c>>2]=0;v[c+4>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+32>>2]=2;d=v[e+4>>2];v[c>>2]=v[e>>2];v[c+4>>2]=d;d=v[a+4>>2];v[c+16>>2]=v[a>>2];v[c+20>>2]=d;a=v[b+4>>2];v[c+8>>2]=v[b>>2];v[c+12>>2]=a;v[c+36>>2]=v[e+8>>2];v[e+8>>2]=c;a=v[b+4>>2];v[e>>2]=v[b>>2];v[e+4>>2]=a;d=0}Ca=f+16|0;return d|0}function Yh(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d:{d=w[a|0]|w[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}b=b-(w[a+3|0]|w[a+2|0]<<8)|0;c=b>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((b<<1)+a|0)+6|0:280448;a=c+1|0;break b}d=280840;c=w[a+3|0]|w[a+2|0]<<8;e:{if(!c){break e}c=c-1|0;while(1){e=c+g>>>1|0;f=B(e,6)+a|0;f:{if((w[f+4|0]<<8|w[f+5|0])>>>0<=b>>>0){if((w[f+7|0]|w[f+6|0]<<8)>>>0<b>>>0){g=e+1|0;break f}d=(B(e,6)+a|0)+4|0;break e}c=e-1|0}if((c|0)>=(g|0)){continue}break}}c=d+4|0;a=d+5|0}c=w[a|0]|w[c|0]<<8}return c}function Hz(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=v[v[a+96>>2]+8>>2];b=v[a+356>>2];if(b){e=d;c=v[a+348>>2];if((c|0)>=1){c=B(c,20)+b|0;while(1){f=v[b+16>>2];if(f){Ea[v[d+8>>2]](d,f)}v[b+16>>2]=0;b=b+20|0;if(c>>>0>b>>>0){continue}break}b=v[a+356>>2]}if(b){Ea[v[e+8>>2]](e,b)}v[a+356>>2]=0}b=v[a+364>>2];if(b){e=d;c=v[a+360>>2];if((c|0)>=1){c=B(c,12)+b|0;while(1){f=v[b+8>>2];if(f){Ea[v[d+8>>2]](d,f)}v[b+8>>2]=0;b=b+12|0;if(c>>>0>b>>>0){continue}break}b=v[a+364>>2]}if(b){Ea[v[e+8>>2]](e,b)}v[a+364>>2]=0}u[a+344>>1]=0;v[a+360>>2]=0;v[a+348>>2]=0;v[a+352>>2]=0}function CM(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;b=v[a+4>>2];g=b+c|0;b=0-b|0;f=g-1&b;b=b&d;if((x[e+12>>1]&7)!=2){b=v[a+20>>2]<(d-g|0)?b:(c|0)==(f|0)?b:(b|0)==(d|0)?b:f}c=v[a>>2];b=b>>c;a:{if((b|0)<0){break a}d=f>>c;c=x[a+50>>1];if((d|0)>=(c|0)){break a}g=(b|0)<(c|0)?b:c-1|0;c=-128>>(g&7);b=(d|0)>0?d:0;e=255>>>(b&7)|0;f=v[a+56>>2];a=b<<13>>16;b=f+a|0;g=g<<13>>16;d=g-a|0;b:{if((d|0)>=1){t[b|0]=e|w[b|0];if((d|0)!=1){h=(a+f|0)+1|0;b=g+1|0;e=a;a=(d|0)<2?d:2;Ra(h,255,b-(e+a|0)|0);a=b-a|0}b=(a+f|0)+1|0;break b}c=c&e}t[b|0]=w[b|0]|c}}function uq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a){break a}b:{c:{b=v[a+8>>2];switch(b|0){case 0:break a;case 1:break b;default:break c}}h=b-1|0;f=h&3;d:{if(b-2>>>0<3){b=0;e=1;break d}i=h&-4;b=0;e=1;while(1){c=v[a>>2];d=b<<2;g=e<<2;v[c+d>>2]=v[c+g>>2];c=v[a>>2];v[c+(d|4)>>2]=v[(c+g|0)+4>>2];c=v[a>>2];v[c+(d|8)>>2]=v[(c+g|0)+8>>2];c=d|12;d=v[a>>2];v[c+d>>2]=v[(d+g|0)+12>>2];e=e+4|0;b=b+4|0;i=i-4|0;if(i){continue}break}}if(!f){break b}while(1){d=v[a>>2];v[d+(b<<2)>>2]=v[d+(e<<2)>>2];e=e+1|0;b=b+1|0;f=f-1|0;if(f){continue}break}}v[a+8>>2]=h}}function ue(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;f=Ca-16|0;Ca=f;o(+b);h=j(1)|0;e=j(0)|0;g=h&2147483647;c=g;d=e;g=c+-1048576|0;a:{if((g|0)==2145386495|g>>>0<2145386495){i=d<<28;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e+1006632960|0;break a}if((c|0)==2146435072|c>>>0>2146435072){i=e<<28;c=h;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e|2147418112;break a}if(!(c|d)){c=0;d=0;break a}g=c;c=c>>>0<1?E(e)+32|0:E(c);Tc(f,d,g,0,0,c+49|0);k=v[f>>2];i=v[f+4>>2];e=15372-c<<16;c=v[f+8>>2];d=e|v[f+12>>2]^65536}v[a>>2]=k;v[a+4>>2]=i;v[a+8>>2]=c;v[a+12>>2]=h&-2147483648|d;Ca=f+16|0}function Mn(a,b){var c=0,d=0,e=0,f=0;e=Ca-16|0;Ca=e;a:{b:{c:{d:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=w[a+3|0]|w[a+2|0]<<8;f=c?c+a|0:280448;c=v[b+100>>2];c=xb(f,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);if((c|0)==-1){break a}d=c>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((c<<1)+a|0)+6|0:280448;c=w[d+1|0];d=w[d|0];f=v[57533];v[e+8>>2]=v[57532];v[e+12>>2]=f;f=v[57531];v[e>>2]=v[57530];v[e+4>>2]=f;f=a;a=c|d<<8;d=Qj(a?f+a|0:280448,b,e);break a}d=fo(a,b);break a}d=eo(a,b)}Ca=e+16|0;return d}function YO(a){a=a|0;var b=0;b=a+24|0;bb(b,1937007464,1,1);zb(b,518);bb(b,1667460464,1,1);bb(b,1819239276,1,1);zb(b,0);bb(b,1769172844,(v[a+8>>2]==1098015074)<<1,1);zb(b,0);bb(b,1718185569,(v[a+8>>2]==1098015074)<<1,1);zb(b,0);bb(b,1718185522,0,1);zb(b,0);bb(b,1718185523,0,1);zb(b,0);bb(b,1835361385,(v[a+8>>2]==1098015074)<<1,1);zb(b,0);bb(b,1835361330,0,1);zb(b,0);bb(b,1768843636,(v[a+8>>2]==1098015074)<<1,1);zb(b,0);bb(b,1919707495,11,1);if(v[a+8>>2]==1098015074){zb(b,519)}bb(b,1919118452,9,1);bb(b,1667329140,9,1);zb(b,0);bb(b,1836279156,1,1)}function Ab(a){var b=0;if(a){a:{b:{switch(x[a>>1]-2|0){case 0:Pa(v[a+8>>2]);break a;case 1:b=v[a+8>>2];if(!b){break a}Ab(v[b>>2]);Ab(v[b+4>>2]);Ab(v[b+8>>2]);Ab(v[b+12>>2]);Pa(b);break a;case 2:Pa(v[a+8>>2]);break a;case 4:jd(v[a+8>>2]);break a;case 5:ie(v[a+8>>2]);break a;case 8:Pa(v[a+8>>2]);break a;case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 34:Ab(v[a+12>>2]);break;case 33:case 35:case 36:case 37:case 38:break b;default:break a}}Ab(v[a+8>>2])}v[a>>2]=8}}function fi(a){var b=0,c=0,d=0;a:{if(!a){break a}c=v[a+28>>2];if(!c){break a}d=v[a+36>>2];if(!d){break a}b=v[c+20>>2];if(b){c=v[b>>2];if((c&-2)==4){Ea[d|0](v[a+40>>2],v[b+12>>2]);c=v[b>>2]}if((c|0)==6){Ea[v[a+36>>2]](v[a+40>>2],v[b+4>>2])}v[b+28>>2]=0;v[b+32>>2]=0;v[b>>2]=0;d=v[b+40>>2];v[b+52>>2]=d;v[b+48>>2]=d;c=v[b+56>>2];if(c){c=Ea[c|0](0,0,0)|0;v[b+60>>2]=c;v[a+48>>2]=c;d=v[b+40>>2]}Ea[v[a+36>>2]](v[a+40>>2],d);Ea[v[a+36>>2]](v[a+40>>2],v[b+36>>2]);Ea[v[a+36>>2]](v[a+40>>2],b);d=v[a+36>>2];c=v[a+28>>2]}Ea[d|0](v[a+40>>2],c);v[a+28>>2]=0}}function wL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(w[a+64|0]){break a}t[a+64|0]=1;e=v[a+20>>2];b:{if(w[a+65|0]){d=v[a+12>>2];if((u[d+20>>1]+u[d+56>>1]|0)+1>>>0>y[d+8>>2]){d=mc(d,0,1);if(d){break a}}f=x[e>>1];d=f<<16>>16;if((d|0)<1){break b}u[(v[e+12>>2]+(f<<1)|0)-2>>1]=x[e+2>>1]-1}d=x[e>>1]}u[e>>1]=d+1;d=v[a+12>>2];if((u[d+22>>1]+u[d+58>>1]|0)+1>>>0>y[d+4>>2]){d=mc(d,1,0);if(d){break a}}d=v[a+20>>2];if(w[a+65|0]){a=v[d+8>>2];e=u[d+2>>1];f=v[d+4>>2]+(e<<3)|0;v[f+4>>2]=c>>10;v[f>>2]=b>>10;t[a+e|0]=1}u[d+2>>1]=x[d+2>>1]+1;d=0}return d|0}function vA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[b>>2];if((d|0)==-1){return 0}a=v[a+16>>2];c=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=d+1|0;c=c>>>0<f>>>0?f:c;d=c-f|0;e=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(d>>>0>=e>>>0){v[b>>2]=c;return 0}f=e+f|0;a=(a+(d<<1)|0)+20|0;while(1){g=w[a+1|0]|w[a|0]<<8;if(g){v[b>>2]=c;return g|0}if((c|0)==-1){return 0}a=a+2|0;c=c+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}v[b>>2]=f;return 0}function fo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ca-16|0;Ca=e;c=w[a+3|0]|w[a+2|0]<<8;d=c?c+a|0:280448;c=v[b+100>>2];if((xb(d,v[v[c+88>>2]+B(v[c+72>>2],20)>>2])|0)!=-1){c=w[a+5|0];f=w[a+9|0];h=w[a+4|0];i=w[a+8|0];g=w[a+7|0]|w[a+6|0]<<8;g=g?g+a|0:280448;d=v[b+100>>2];d=Yh(g,v[v[d+88>>2]+B(v[d+72>>2],20)>>2]);d=d>>>0<(w[a+11|0]|w[a+10|0]<<8)>>>0?((d<<1)+a|0)+12|0:280448;j=w[d+1|0];d=w[d|0];f=f|i<<8;v[e+12>>2]=f?f+a|0:280448;v[e+8>>2]=g;c=c|h<<8;v[e+4>>2]=c?c+a|0:280448;v[e>>2]=438;c=a;a=d<<8|j;f=Qj(a?c+a|0:280448,b,e)}Ca=e+16|0;return f}function uL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[v[a+4>>2]+712>>2];a:{b:{if(!v[d+2024>>2]){d=d+1372|0;break b}e=Ea[v[v[d+3088>>2]+8>>2]](d+3052|0,c)|0;c=3;if(e>>>0>=y[d+2024>>2]){break a}d=v[(d+(e<<2)|0)+2028>>2];if(!v[a+68>>2]|!b){break b}v[a+72>>2]=v[(v[v[b+40>>2]>>2]+(e<<2)|0)+4>>2]}b=v[d+620>>2];v[a+728>>2]=b;v[a+744>>2]=v[d+644>>2];c=0;e=a;f=0;c:{if(v[v[a+108>>2]+1416>>2]==1){break c}f=107;if(b>>>0<1240){break c}f=b>>>0<33900?1131:32768}v[e+736>>2]=f;v[a+584>>2]=v[d+540>>2];b=v[d+544>>2];v[a+768>>2]=d;v[a+588>>2]=b}return c|0}function zb(a,b){var c=0,d=0,e=0,f=0,g=0;g=a;f=a;a:{b:{c:{d=v[a+72>>2];if((d|0)>=0){c=v[g+76>>2];e=c+1|0;e=(e|0)>0?e:0;if(e>>>0<=d>>>0){break b}c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(!(c>>>0<d>>>0|c>>>0>536870910)){d=gb(v[a+80>>2],c<<3);if(d){break c}}v[f+72>>2]=-1}f=v[70113];v[163916]=v[70112];v[163917]=f;d=655664;break a}v[a+80>>2]=d;v[f+72>>2]=c;c=v[g+76>>2]}if(c>>>0<e>>>0){Ra(v[a+80>>2]+(c<<3)|0,0,e-c<<3)}v[g+76>>2]=e;d=(v[a+80>>2]+(e<<3)|0)-8|0}f=v[a+52>>2];v[d+4>>2]=b;v[d>>2]=f;v[a+52>>2]=v[a+52>>2]+1}function Dx(a){var b=0,c=0,d=0;b=v[163912];a:{if(b){break a}while(1){c=xn();dx(c,476);b=c;if(v[b+4>>2]){d=v[b+84>>2];if(d){Ea[d|0](v[b+16>>2])}v[b+84>>2]=0;v[b+152>>2]=477;v[b+16>>2]=0}wn(b,478,0);bx(b,479);vn(b,480,0);$w(b,481);if(v[b+4>>2]){d=v[b+112>>2];if(d){Ea[d|0](v[b+44>>2])}v[b+112>>2]=0;v[b+180>>2]=482;v[b+44>>2]=0}un(b,483,0);tn(b,484,0);Yw(b,485);Xw(b,486);if(v[b+4>>2]){v[c+4>>2]=0}c=c?c:654144;b=v[163912];if(!b){v[163912]=c;b=c;break a}if(c){if((c|0)!=654144){ud(c)}b=v[163912]}if(!b){continue}break}}sn(a,b,v[a+16>>2]+48|0,0)}function ju(a){var b=0,c=0,d=0,e=0;b=Xa(a);e=b+5|0;c=Va((e+b<<1)+32|0);if(!c){return 0}d=c+16|0;v[c>>2]=d;Ac(d,a);b=(b+v[c>>2]|0)+1|0;v[c+4>>2]=b;Ac(b,a);b=v[c+4>>2];b=Xa(b)+b|0;d=w[451488]|w[451489]<<8|(w[451490]<<16|w[451491]<<24);t[b|0]=d;t[b+1|0]=d>>>8;t[b+2|0]=d>>>16;t[b+3|0]=d>>>24;t[b+4|0]=w[451492];b=(v[c+4>>2]+e|0)+1|0;v[c+8>>2]=b;Ac(b,a);a=v[c+8>>2];a=Xa(a)+a|0;b=w[451493]|w[451494]<<8|(w[451495]<<16|w[451496]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=w[451497];v[c+12>>2]=(v[c+8>>2]+e|0)+1;return c}function Lt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=1;d=v[b+4>>2];h=d>>>0<8?d:8;a:{if((h|0)>=1){while(1){e=v[((g<<2)+b|0)+8>>2];if(e){d=g<<5;f=0;while(1){if(e>>>f&1){b:{if(c){break b}if(rh(a,124)){break b}return 0}c=0;if(!Ae(a,(w[(d|f)+495294|0]<<5)+459296|0)){break a}}f=f+1|0;if((f|0)!=32){continue}break}}g=g+1|0;if((h|0)!=(g|0)){continue}break}}d=c;c=1;b=v[b>>2];if(!b){break a}e=Oc(b);if(!e){return 0}c=d;while(1){c:{b=Wb(e);if(!b){c=1;break c}d:{if(c){break d}if(rh(a,124)){break d}c=0;break c}c=0;if(Ae(a,b)){continue}}break}qc(e)}return c}function Wj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{e=v[b+20>>2];if(w[e+12|0]!=1){break a}f=w[a+1|0]|w[a|0]<<8;if(!f){break a}v[e+16>>2]=-1;b=w[a+3|0]|w[a+2|0]<<8;g=ec(e,b);if(!g){break a}d=a+2|0;while(1){h=b&-512;i=b+512&-512;a=d;while(1){c=(b>>>3&56)+g|0;d=c;j=v[c+4>>2];k=c;l=v[c>>2];c=b&63;b=c&31;if((c&63)>>>0>=32){c=1<<b;b=0}else{c=(1<<b)-1&1>>>32-b;b=1<<b}v[k>>2]=l|b;v[d+4>>2]=c|j;f=f-1|0;if(!f){break a}d=a+2|0;b=w[a+3|0]|w[a+2|0]<<8;if(h>>>0<=b>>>0){a=d;if(b>>>0<i>>>0){continue}}break}g=ec(e,b);if(g){continue}break}}}function IG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=Ca-32|0;Ca=e;Gc(e+16|0,a);Gc(e,b);d=-1;a:{b:{c:{switch(v[e+16>>2]-1|0){case 0:f=+v[e+24>>2];g=f;break b;case 1:f=A[e+24>>3];g=f;break b;case 8:break c;default:break a}}a=v[e+24>>2];g=A[a+8>>3];f=A[a>>3]}d:{e:{switch(v[e>>2]-1|0){case 0:h=+v[e+8>>2];d=h;break d;case 1:h=A[e+8>>3];d=h;break d;case 8:break e;default:break a}}a=v[e+8>>2];d=A[a+8>>3];h=A[a>>3]}v[c>>2]=2;A[c+8>>3]=(f+g)*.5;if(d<f?1:g<h){g=D(h-g);d=D(f-d);d=d>g?g:d;break a}d=d!=h?d==f?1e-15:0:0}Ca=e+32|0;return+d}function oE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Ca-16|0;Ca=e;a=v[a+532>>2];a:{if(!a){f=6;break a}sk(v[a+136>>2],e,v[a+4>>2]);d=v[a+4>>2];a=b>>>0>d>>>0?d:b;if(a){Ta(c,e,a<<2)}if(b>>>0<=d>>>0){break a}g=(a^-1)+b|0;d=b-a&7;if(d){while(1){v[(a<<2)+c>>2]=32768;a=a+1|0;d=d-1|0;if(d){continue}break}}if(g>>>0<7){break a}while(1){d=(a<<2)+c|0;v[d>>2]=32768;v[d+4>>2]=32768;v[d+24>>2]=32768;v[d+28>>2]=32768;v[d+16>>2]=32768;v[d+20>>2]=32768;v[d+8>>2]=32768;v[d+12>>2]=32768;a=a+8|0;if((b|0)!=(a|0)){continue}break}}Ca=e+16|0;return f|0}function rv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{a=v[a+20>>2];b:{if(!a){break b}c:{d:{b=x[a>>1];e=b<<16>>16;if((e|0)>=2){d=u[(v[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break d}if(e){break d}b=u[a+2>>1];break c}b=u[a+2>>1];if((d|0)!=(b|0)){break c}break a}e:{if((b|0)<2){break e}c=v[a+4>>2];f=c+(d<<3)|0;c=(c+(b<<3)|0)-8|0;if(v[f>>2]!=v[c>>2]|v[f+4>>2]!=v[c+4>>2]|w[(v[a+8>>2]+b|0)-1|0]!=1){break e}b=b-1|0;u[a+2>>1]=b}if((e|0)<1){break b}c=d;d=(b<<16>>16)-1|0;if((c|0)==(d|0)){u[a+2>>1]=b-1;break a}u[(v[a+12>>2]+(e<<1)|0)-2>>1]=d}return}u[a>>1]=e-1}function nv(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Ca-16|0;Ca=e;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;d=v[a+4>>2];a:{if(!v[v[d+128>>2]+52>>2]){d=18;f=v[a+532>>2];if(!v[f+1188>>2]|b>>>0>255){break a}h=Ea[v[v[f+3088>>2]>>2]](b)|0;g=v[f+20>>2];if(!g){break a}f=v[f+1188>>2];b=0;while(1){if(x[f+(b<<1)>>1]!=(h|0)){b=b+1|0;if((g|0)!=(b|0)){continue}break a}break}if((b|0)<0){break a}d=v[a+4>>2]}d=Ea[v[a+596>>2]](d,b,e+12|0,e+8|0)|0;if(d){break a}a=v[e+12>>2];v[c+4>>2]=a;b=v[e+8>>2];v[c+12>>2]=a;d=0;v[c+8>>2]=a?a+b|0:0}Ca=e+16|0;return d}function xr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ca-16|0;Ca=e;d=v[a+736>>2];a:{if(!d){c=ng(a,0);if(c){break a}d=v[a+736>>2]}c=6;if(x[a+14>>1]<b>>>0){break a}b:{if(b){f=v[a+100>>2];g=v[d+12>>2];d=v[g+16>>2]+B(b,12)|0;c=Ea[v[v[a+540>>2]+160>>2]](a,x[d-8>>1],e+12|0)|0;if(c){break a}c=v[a+24>>2];if(c){Ea[v[f+8>>2]](f,c)}v[a+24>>2]=v[e+12>>2];c:{d:{c=Ak(a,v[g>>2],v[d-12>>2]);switch(c+1|0){case 1:break c;case 0:break d;default:break a}}c=0;break a}c=0;break b}c=Ak(a,0,0)}u[a+6>>1]=b;v[a+8>>2]=v[a+8>>2]&-32769}Ca=e+16|0;return c|0}function xF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ca-16|0;Ca=e;c=v[a>>2];a:{b:{if(w[c+8|0]&2){d=Ea[v[v[c+540>>2]+104>>2]](c,b,e+12|0)|0;if(!d){c=v[e+12>>2];v[a+116>>2]=c;b=v[a>>2];if(t[b+8|0]&1){te(b,c);d=0;Ck(a);break a}d=Ea[v[v[b+540>>2]+108>>2]](b,c,a+12|0)|0;if(!d){break b}v[a+116>>2]=-1;break a}v[a+116>>2]=-1;c=v[a>>2]}og(c,b);if(!(t[v[a>>2]+8|0]&1)){break a}d=Ck(a);if(d){break a}c=a;d=x[a+84>>1];a=v[a+44>>2];a=v[(x[a>>1]>x[a+2>>1]?12:16)+b>>2];f=c,g=fb(d,4608,v[b>>2]!=4?a?a:72:72),v[f+120>>2]=g}d=0}Ca=e+16|0;return d|0}function nu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 0}f=1;a:{if(v[a>>2]<1){break a}while(1){c=(v[a+8>>2]+a|0)+(g<<3)|0;d=v[c>>2];b:{if((d|0)==42){break b}f=0;d=Xe(b,d);if(!d){break a}c:{h=c;c=v[c+4>>2];e=c&1?h+(c&-2)|0:c;if(!e){break c}c=v[d+4>>2];d=c&1?d+(c&-2)|0:c;if(!d){break c}while(1){i=e+8|0;c=d;while(1){if(!ul(c+8|0,65561,i)){h=c;c=v[c>>2];c=c&1?h+(c&-2)|0:c;if(c){continue}break a}break}c=v[e>>2];e=c&1?(c&-2)+e|0:c;if(e){continue}break}break b}if(e){break a}}f=1;g=g+1|0;if((g|0)<v[a>>2]){continue}break}}return f}function kv(a,b){var c=0,d=0,e=0,f=0;f=Ca-16|0;Ca=f;a:{b:{c=v[a+16>>2];if((c|0)!=v[a+12>>2]){e=v[a+24>>2];break b}v[f+12>>2]=0;c:{d=(c<<1)+16|0;e=v[a+8>>2];if(d>>>0>2147483647/(e>>>0)>>>0){break c}c=B(d,e);e=Kd(v[a>>2],1,v[a+20>>2],c,v[a+24>>2],f+12|0);v[a+24>>2]=e;if(v[f+12>>2]){break c}v[a+20>>2]=c;v[a+12>>2]=d;c=v[a+16>>2];if(d>>>0>=c>>>0){break b}b=v[a+4>>2];if(!(!b|v[b>>2])){v[b>>2]=130}v[a+16>>2]=d;break a}a=v[a+4>>2];if(!a|v[a>>2]){break a}v[a>>2]=64;break a}d=v[a+8>>2];Ta(B(d,c)+e|0,b,d);v[a+16>>2]=v[a+16>>2]+1}Ca=f+16|0}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;e=v[a+532>>2];if(!e){return 6}f=v[e>>2];i=v[b>>2];a=6;a:{if(f>>>0>i>>>0){break a}b:{if(!f){break b}h=f&3;e=v[e+136>>2];a=0;if(f-1>>>0>=3){j=f&-4;while(1){d=a<<2;v[d+c>>2]=v[e+d>>2];g=d|4;v[g+c>>2]=v[e+g>>2];g=d|8;v[g+c>>2]=v[e+g>>2];d=d|12;v[d+c>>2]=v[e+d>>2];a=a+4|0;j=j-4|0;if(j){continue}break}}if(!h){break b}while(1){d=a<<2;v[d+c>>2]=v[e+d>>2];a=a+1|0;h=h-1|0;if(h){continue}break}}a=0;if(f>>>0>=i>>>0){break a}Ra((f<<2)+c|0,0,i-f<<2);a=0}v[b>>2]=f;return a|0}function yr(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ca-16|0;Ca=e;c=v[b+28>>2];d=Ea[v[a+516>>2]](a,1668707360,b,e+8|0)|0;v[e+12>>2]=d;a:{if(d){v[a+700>>2]=0;v[a+704>>2]=0;c=0;break a}d=v[e+8>>2]>>>1|0;v[a+700>>2]=d;f=a,g=Ua(c,4,0,d,0,e+12|0),v[f+704>>2]=g;c=v[e+12>>2];if(c){break a}c=vb(b,v[a+700>>2]<<1);v[e+12>>2]=c;if(c){break a}d=v[a+700>>2];if((d|0)>=1){c=v[a+704>>2];d=c+(d<<2)|0;while(1){f=c,g=Cb(b)<<16>>16<<6,v[f>>2]=g;c=c+4|0;if(d>>>0>c>>>0){continue}break}}pb(b);if(!w[a+733|0]){c=v[e+12>>2];break a}c=mr(a,b)}Ca=e+16|0;return c}function jg(a){var b=0,c=0,d=0,e=0;b=Ca-48|0;Ca=b;c=v[a>>2];a:{if(c){break a}e=a-12|0;while(1){c=v[e>>2];if(!c){c=280448;break a}v[b+16>>2]=0;v[b+20>>2]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;d=Nb(c);t[b+44|0]=1;v[b+40>>2]=d;d=xx(b+8|0,Jb(c,1751672161));if(!d){d=280448}c=v[a>>2];if(!c){v[a>>2]=d;c=d;break a}if(d){if((d|0)!=280448){Sa(d)}c=v[a>>2]}if(!c){continue}break}}Ca=b+48|0;return y[c+16>>2]<36?280448:v[c+12>>2]}function ig(a){var b=0,c=0,d=0,e=0;b=Ca-48|0;Ca=b;c=v[a>>2];a:{if(c){break a}e=a-40|0;while(1){c=v[e>>2];if(!c){c=280448;break a}v[b+16>>2]=0;v[b+20>>2]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;d=Nb(c);t[b+44|0]=1;v[b+40>>2]=d;d=xx(b+8|0,Jb(c,1986553185));if(!d){d=280448}c=v[a>>2];if(!c){v[a>>2]=d;c=d;break a}if(d){if((d|0)!=280448){Sa(d)}c=v[a>>2]}if(!c){continue}break}}Ca=b+48|0;return y[c+16>>2]<36?280448:v[c+12>>2]}function Qp(a){var b=0,c=0,d=0,e=0;b=Ca-48|0;Ca=b;c=v[a>>2];a:{if(c){break a}e=a-100|0;while(1){c=v[e>>2];if(!c){c=280448;break a}v[b+16>>2]=0;v[b+20>>2]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;d=Nb(c);t[b+44|0]=1;v[b+40>>2]=d;d=Op(b+8|0,Jb(c,1836020344));if(!d){d=280448}c=v[a>>2];if(!c){v[a>>2]=d;c=d;break a}if(d){if((d|0)!=280448){Sa(d)}c=v[a>>2]}if(!c){continue}break}}Ca=b+48|0;return y[c+16>>2]<8?280448:v[c+12>>2]}function Pp(a){var b=0,c=0,d=0,e=0;b=Ca-48|0;Ca=b;c=v[a>>2];a:{if(c){break a}e=a-104|0;while(1){c=v[e>>2];if(!c){c=280448;break a}v[b+16>>2]=0;v[b+20>>2]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;d=Nb(c);t[b+44|0]=1;v[b+40>>2]=d;d=Np(b+8|0,Jb(c,1836020340));if(!d){d=280448}c=v[a>>2];if(!c){v[a>>2]=d;c=d;break a}if(d){if((d|0)!=280448){Sa(d)}c=v[a>>2]}if(!c){continue}break}}Ca=b+48|0;return y[c+16>>2]<8?280448:v[c+12>>2]}function LI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;i=v[d>>2];a=e-i|0;f=v[b>>2];j=(a|0)<(c-f|0);h=j?a+f|0:c;e=h;a:{if(f>>>0>=e>>>0){break a}c=h;while(1){e=c;c=e-1|0;a=w[c|0];b:{if((a&248)==240){a=1;if(g+1>>>0<=3){break b}e=e+3|0;break a}if((a&240)==224){a=1;if(g+1>>>0<=2){break b}e=e+2|0;break a}if((a&224)==192){a=1;if(g+1>>>0<=1){break b}e=e+1|0;break a}if(!(a&128)){break a}a=g+1|0}g=a;e=c;if(f>>>0<e>>>0){continue}break}}a=e-f|0;Ta(i,f,a);v[b>>2]=a+v[b>>2];v[d>>2]=a+v[d>>2];return(j?2:e>>>0<h>>>0)|0}function lz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=v[b+4>>2];a:{if((g|0)==v[b>>2]){break a}d=v[a+872>>2];if(!d){break a}a=v[b+8>>2];f=v[d+28>>2];if(a>>>0<f>>>0){break a}h=v[d+36>>2]+v[d+40>>2]|0;if(h>>>0<=a>>>0){break a}e=(a-(g<<2)|0)-4|0;if(e>>>0<f>>>0|e>>>0>=((v[d+24>>2]<<2)+f|0)+4>>>0){break a}e=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);t[c+4|0]=0;i=v[d+32>>2];d=(e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))+f|0;if(i>>>0>d>>>0|d>>>0>=h>>>0){break a}v[c>>2]=d;j=1;v[b+4>>2]=g+1;v[b+8>>2]=a+4}return j|0}function _j(a){var b=0,c=0,d=0,e=0;b=Ca-48|0;Ca=b;c=v[a>>2];a:{if(c){break a}e=a-80|0;while(1){c=v[e>>2];if(!c){c=280448;break a}v[b+16>>2]=0;v[b+20>>2]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;d=Nb(c);t[b+44|0]=1;v[b+40>>2]=d;d=pp(b+8|0,Jb(c,1801810542));if(!d){d=280448}c=v[a>>2];if(!c){v[a>>2]=d;c=d;break a}if(d){if((d|0)!=280448){Sa(d)}c=v[a>>2]}if(!c){continue}break}}Ca=b+48|0;return y[c+16>>2]<4?280448:v[c+12>>2]}function Bq(a){var b=0,c=0,d=0,e=0,f=0;v[a+28>>2]=4096;b=a+4168|0;v[a+24>>2]=b;v[a+8268>>2]=b;d=a+72|0;f=a+12|0;a:{while(1){if(!v[a+16>>2]){b=v[a>>2];c=v[b+20>>2];b:{if(c){c=Ea[c|0](b,v[b+8>>2],d,4096)|0;if(c){break b}break a}e=v[b+8>>2];c=v[b+4>>2]-e|0;c=c>>>0<4096?c:4096;if(!c){break a}Ta(d,v[b>>2]+e|0,c)}v[b+8>>2]=v[b+8>>2]+c;v[a+16>>2]=c;v[a+12>>2]=d}b=Aq(f,0);if(b){if((b|0)==1){b=v[a+24>>2];v[a+8272>>2]=b;return(b|0)==v[a+8268>>2]?85:0}break a}if(v[a+28>>2]){continue}break}return 0}v[a+8272>>2]=v[a+8268>>2];return 85}function hy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{d=w[a+3|0]|w[a+2|0]<<8;e=d?d+a|0:280448;d=v[b+100>>2];c=xb(e,v[v[d+88>>2]+B(v[d+72>>2],20)>>2]);if((c|0)==-1){break a}f=1;d=0;e=a;a=c>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((c<<1)+a|0)+6|0:280448;a=w[a|0]<<8|w[a+1|0];a=a?e+a|0:280448;c=w[a|0];e=w[a+1|0];g=e|c<<8;if(!g){f=0;break a}while(1){c=(c<<8|e)>>>0>d>>>0?(a+(d<<1)|0)+2|0:280448;c=w[c|0]<<8|w[c+1|0];if(ho(c?c+a|0:280448,b)){break a}d=d+1|0;f=g>>>0>d>>>0;if((d|0)==(g|0)){break a}e=w[a+1|0];c=w[a|0];continue}}return f|0}function Sr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=35;a:{if(!(w[a+8|0]&2)){break a}h=7;if(v[b>>2]){break a}d=v[b+4>>2];f=d;i=v[b+8>>2];g=i;h=23;e=v[b+12>>2];if(e){f=(B(d,e)+36|0)/72|0}e=f;b=v[b+16>>2];if(b){g=(B(b,i)+36|0)/72|0}b=i?g:f;f=(d?e:b)+32&-64;if(!f){break a}e=(d?b:g)+32&-64;if(!e){break a}d=v[a+28>>2];if((d|0)<1){break a}a=v[a+32>>2];b=0;while(1){g=a+(b<<4)|0;if(!((f|0)==(v[g+8>>2]+32&-64)?(e|0)==(v[g+12>>2]+32&-64):0)){b=b+1|0;if((d|0)!=(b|0)){continue}break a}break}h=0;if(!c){break a}v[c>>2]=b;return 0}return h}function NP(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;a=v[b+8>>2];a:{if(a){break a}a=0;while(1){i=v[b>>2];if(!i){a=280448;break a}h=eb(1,48);b:{if(!h){if(a){break b}a=280448;v[b+8>>2]=280448;break a}nn(h,i);if(!v[b+8>>2]){a=h;v[b+8>>2]=a;break a}a=v[h+44>>2];Sa(a?a:280448);Pa(h);a=v[b+8>>2]}if(!a){continue}break}}h=v[a+8>>2];if(!h){return 0}b=0;c:{if(!c){break c}a=v[a+12>>2];while(1){if(!(Ea[h|0](a,v[d>>2],f)|0)){break c}f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}return b|0}function NE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=v[a+8>>2];b=v[a>>2];a:{if(w[b+732|0]){break a}t[a+112|0]=0;c=v[a+16>>2];d=v[a+12>>2];v[a+48>>2]=d;v[a+52>>2]=c;c=v[a+24>>2];v[a+56>>2]=v[a+20>>2];v[a+60>>2]=c;e=v[a+32>>2];c=a- -64|0;v[c>>2]=v[a+28>>2];v[c+4>>2]=e;v[a+72>>2]=v[a+36>>2];if(!(d&65535)|!x[a+50>>1]){break a}if(w[b+176|0]&8){f=a,g=Qa(u[b+70>>1],v[a+56>>2])+32&-64,v[f+60>>2]=g;f=a- -64|0,g=Qa(u[b+72>>1],v[a+56>>2])+32&-64,v[f>>2]=g;f=a,g=Qa(u[b+74>>1],v[a+56>>2])+32&-64,v[f+68>>2]=g}t[a+112|0]=1}return 0}function Mw(a){var b=0,c=0,d=0;c=Ca-16|0;Ca=c;a:{b:{if(!v[a+40>>2]){if(v[a+20>>2]){break a}b=v[a+24>>2];if(b){break b}c:{b=a+28|0;if(!Kw(b,v[a+32>>2]+1|0)){break c}d=eb(1,384);v[c+12>>2]=d;if(!d){break c}Jw(b,c+12|0);b=Iw(v[c+12>>2]);v[a+24>>2]=b;break b}if(v[a+20>>2]){break a}v[a+20>>2]=1;break a}O(260184,260193,197,260211);L()}v[a+24>>2]=v[b>>2];v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[b>>2]=v[a+4>>2];v[b+4>>2]=v[a+8>>2];v[b+20>>2]=v[a+40>>2];v[a+40>>2]=b}Ca=c+16|0;return v[a+4>>2]}function ve(a,b,c){var d=0,e=0;e=a;a:{b:{c:{if((e^b)&3){break c}d=(c|0)!=0;d:{if(!(b&3)|!c){break d}while(1){d=w[b|0];t[e|0]=d;if(!d){break a}e=e+1|0;c=c-1|0;d=(c|0)!=0;b=b+1|0;if(!(b&3)){break d}if(c){continue}break}}if(!d){break b}if(!w[b|0]){break a}if(c>>>0<4){break c}while(1){d=v[b>>2];if((d^-1)&d-16843009&-2139062144){break c}v[e>>2]=d;e=e+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}while(1){d=w[b|0];t[e|0]=d;if(!d){break a}e=e+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}Ra(e,0,c);return a}function Fg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{c=v[a+20>>2];if(c){e=v[a+28>>2];if(b){d=Ea[v[e+4>>2]](e,b)|0;if(!d){break a}c=v[a+20>>2]}v[a>>2]=d;d=Ea[c|0](a,v[a+8>>2],d,b)|0;g=a;c=v[a>>2];f=c;b:{if(b>>>0<=d>>>0){break b}h=85;f=0;if(!c){break b}Ea[v[e+8>>2]](e,c);v[a>>2]=0;f=0}c=f;v[g+32>>2]=c;v[a+36>>2]=b+c;v[a+8>>2]=d+v[a+8>>2];return h}d=85;e=v[a+8>>2];c=v[a+4>>2];c:{if(e>>>0>=c>>>0){break c}f=c;c=b+e|0;if(f>>>0<c>>>0){break c}v[a+8>>2]=c;d=e+v[a>>2]|0;v[a+32>>2]=d;v[a+36>>2]=b+d;d=0}return d}v[a>>2]=0;return 64}function By(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=280448;c=v[v[v[a+4>>2]+136>>2]>>2];c=c?c:280448;c=y[c+16>>2]<10?280448:v[c+12>>2];e=w[c+9|0]|w[c+8|0]<<8;c=e?c+e|0:280448;if((w[c|0]<<8|w[c+1|0])>>>0>b>>>0){b=c+(b<<1)|0;b=w[b+2|0]<<8|w[b+3|0];d=b?b+c|0:280448}a:{e=w[d+5|0];b=w[d+4|0];f=e|b<<8;if(!f){break a}g=d+4|0;h=w[d+1|0]|w[d|0]<<8;c=0;while(1){b=((b&255)<<8|e)>>>0>c>>>0?((c<<1)+g|0)+2|0:280448;b=w[b|0]<<8|w[b+1|0];Zj(b?b+d|0:280448,a,h);c=c+1|0;if((f|0)==(c|0)){break a}e=w[d+5|0];b=w[d+4|0];continue}}}function mi(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;b=v[a+260>>2];if(!b){m=a;e=u[a+300>>1];b=v[a+248>>2];a:{if(!e){break a}c=u[a+298>>1];b=v[a+252>>2];if(!c){break a}f=v[a+248>>2];b=f>>31;g=b^b+f;b=c>>31;h=b+c^b;i=B(g>>>16|0,h);b=i<<16|8192;a=v[a+252>>2];d=a>>31;j=d^a+d;d=e>>31;k=d+e^d;l=B(j>>>16|0,k);d=l<<16|8192;n=b;b=b+B(h,g&65535)|0;b=(i>>>16|0)+(n>>>0>b>>>0)<<18|b>>>14;b=(c^f)>-1?b:0-b|0;c=d+B(k,j&65535)|0;c=(l>>>16|0)+(c>>>0<d>>>0)<<18|c>>>14;b=Pl(b,(a^e)>-1?c:0-c|0)}v[m+260>>2]=b}return b}function Oh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=280448;d=w[a+3|0]|w[a+2|0]<<8;a:{if(!d){break a}h=c&65535;i=b&65535;b=d-1|0;c=0;while(1){b:{c:{d:{f=b+c>>>1|0;g=(f<<3)+a|0;d=w[g+4|0]<<8|w[g+5|0];e:{if((d|0)==(i|0)){d=w[g+7|0]|w[g+6|0]<<8;if(d>>>0>h>>>0){break e}if((d|0)==(h|0)){break d}break c}if(d>>>0<=i>>>0){break c}}b=f-1|0;break b}e=((f<<3)+a|0)+4|0;break a}c=f+1|0}if((b|0)>=(c|0)){continue}break}}b=a;a=w[e+4|0]|w[e+5|0]<<8|(w[e+6|0]<<16|w[e+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return a?b+a|0:0}function Vg(a,b,c,d,e){var f=0,g=0,h=0,i=C(0),j=0,k=C(0);if((w[a+1|0]|w[a|0]<<8)>>>0<=b>>>0){return C(0)}f=w[a+5|0];g=w[a+4|0];j=f|g<<8;f=(f<<1|g<<9)+a|0;g=w[a+3|0]|w[a+2|0]<<8;b=(f+B(j+g|0,b)|0)+6|0;if(g){f=0;while(1){h=(f<<1)+a|0;k=Uo(e,w[h+6|0]<<8|w[h+7|0],c,d);h=w[b|0]|w[b+1|0]<<8;i=C(i+C(k*C((h<<8|h>>>8)<<16>>16)));b=b+2|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if(g>>>0<j>>>0){while(1){f=(g<<1)+a|0;i=C(i+C(Uo(e,w[f+6|0]<<8|w[f+7|0],c,d)*C(t[b|0])));b=b+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}return i}function Qh(a,b,c){var d=0,e=0,f=0,g=0;a:{g=cb(a,b,1);if(g){d=v[a+76>>2];e=v[a+72>>2];f=e+b|0;if(d>>>0<f>>>0){break a}if(b>>>0>=2){rc(a,e,f);d=v[a+76>>2];e=v[a+72>>2]}b:{if(d>>>0>e>>>0){d=v[a+80>>2];f=v[a+92>>2];e=v[a+88>>2]+B(e,20)|0;break b}f=v[a+92>>2];d=v[a+80>>2];e=f+B(d?d-1|0:0,20)|0}d=B(d,20)+f|0;f=v[e+4>>2];v[d>>2]=v[e>>2];v[d+4>>2]=f;v[d+16>>2]=v[e+16>>2];f=v[e+12>>2];v[d+8>>2]=v[e+8>>2];v[d+12>>2]=f;v[d>>2]=v[c>>2];v[a+72>>2]=v[a+72>>2]+b;v[a+80>>2]=v[a+80>>2]+1}return g}O(260772,260792,223,260807);L()}function JM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(b){f=v[d>>2]-B(v[d+4>>2],a)|0;while(1){b=b-1|0;a=x[c+2>>1];a:{if(!a){break a}g=a-1|0;d=B(u[c>>1],3)+f|0;e=a&7;if(e){while(1){t[d|0]=w[c+4|0];d=d+3|0;a=a-1|0;e=e-1|0;if(e&65535){continue}break}}if((g&65535)>>>0<7){break a}while(1){t[d|0]=w[c+4|0];t[d+3|0]=w[c+4|0];t[d+6|0]=w[c+4|0];t[d+9|0]=w[c+4|0];t[d+12|0]=w[c+4|0];t[d+15|0]=w[c+4|0];t[d+18|0]=w[c+4|0];t[d+21|0]=w[c+4|0];d=d+24|0;a=a-8|0;if(a&65535){continue}break}}c=c+6|0;if(b){continue}break}}}
|
||
function Gg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=-1;a:{f=v[a+12>>2]+a|0;if(!f){break a}g=v[a+4>>2];c=g-1|0;b:{c:{d:{if((g|0)<1){break d}i=b>>>8|0;j=i&65535;while(1){d=c+h|0;e=d>>1;d=x[(d&-2)+f>>1];if((d|0)==(j|0)){break b}d=d>>>0<j>>>0;h=d?e+1|0:h;c=d?c:e-1|0;if((h|0)<=(c|0)){continue}break}if((c|0)<0){break d}if((c|0)>=(g|0)|x[(c<<1)+f>>1]>=(i&65535)>>>0){break c}}c=c+1|0}e=c^-1}if((e|0)<0){break a}a=v[a+8>>2]+a|0;return v[a+(e<<2)>>2]+a|0}c=eb(1,32);e:{if(c){if(bu(a,b,c,e^-1)){break e}Pa(c)}c=0}return c}function vF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Ca-16|0;Ca=f;a:{if(v[a+356>>2]!=3){break a}d=v[a+392>>2];if((d|0)!=v[a+404>>2]){break a}b:{g=v[a+388>>2];e=v[a+396>>2];c:{if(g>>>0<=e>>>0){e=e<<2;h=v[a+400>>2];break c}d=e<<2;e=g<<2;h=Ua(v[a+8>>2],1,d,e,v[a+400>>2],f+12|0);v[a+400>>2]=h;d=v[f+12>>2];if(d){break b}v[a+396>>2]=g;d=v[a+392>>2]}v[a+12>>2]=0;Ta(h,d,e);v[a+392>>2]=v[a+400>>2];break a}v[a+12>>2]=d}if(!v[a+12>>2]){b=b<<2;d=v[b+v[a+392>>2]>>2];c=ab(c,mi(a));v[b+v[a+392>>2]>>2]=c+d}Ca=f+16|0}function Fe(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;v[a+112>>2]=v[a+112>>2]+1;Lg(v[a+748>>2]);Lg(v[a+744>>2]);Lg(v[a+740>>2]);b=v[a+16>>2];v[a+136>>2]=b;c=v[a+20>>2];v[a+140>>2]=c;d=b-(v[a- -64>>2]+v[a+68>>2]|0)|0;v[a+148>>2]=d;e=c-(v[a+56>>2]+v[a+60>>2]|0)|0;v[a+144>>2]=e;h=eQ(d,d>>31,c,c>>31);f=Da;i=eQ(e,e>>31,b,b>>31);g=Da;A[a+160>>3]=((f|0)>(g|0)?1:(g|0)<=(f|0)?i>>>0<=h>>>0:0)?+(b|0):+(c|0)*+(d|0)/+(e|0);if((f|0)<(g|0)?1:(f|0)<=(g|0)?h>>>0<=i>>>0:0){A[a+152>>3]=c|0;return}A[a+152>>3]=+(b|0)*+(e|0)/+(d|0)}function lD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[a+712>>2];a:{if(w[d+24|0]==2){c=xd(pc(v[v[a+96>>2]+4>>2],9992),10192,0);if(!c){break a}c=v[c+4>>2];if(!c){break a}return Ea[c|0](a,b)|0}e=xd(v[a+96>>2],10308,1);if(!e){return 0}if(!v[d+20>>2]){break a}a=0;while(1){b:{c=x[v[d+1188>>2]+(a<<1)>>1];c:{if(c>>>0>=391){c=c-391|0;if(c>>>0>=y[d+1356>>2]){break b}c=v[v[d+1360>>2]+(c<<2)>>2];break c}c=Ea[v[e+20>>2]](c)|0}if(!c){break b}if(Wa(b,c)){break b}return a|0}a=a+1|0;if(a>>>0<y[d+20>>2]){continue}break}}return 0}function nj(a){var b=0,c=0,d=0,e=0;c=Ca-32|0;Ca=c;d=v[a+644>>2];e=d;b=v[a+640>>2];v[c+8>>2]=b;v[c+12>>2]=d;d=b;if(b){b=e;a:{if(!(!b|w[d|0]!=64)){v[c+12>>2]=b-1;v[c+24>>2]=1;v[c+8>>2]=d+1;break a}v[c+24>>2]=0}d=c;b=v[a+648>>2];e=b+1|0;if(e>>>0<=2){b=v[(e<<2)+366028>>2]}v[d+16>>2]=b;b=100;b:{c:{d:{d=v[a+652>>2];switch(d|0){case 1:break b;case 0:break d;default:break c}}b=0;break b}b=d}v[c+20>>2]=b;Ib(v[a+224>>2]);b=a;a=ld(v[a+736>>2],c+8|0,a);e:{if(a){if(v[a+20>>2]){break e}Ib(a)}a=0}v[b+224>>2]=a}Ca=c+32|0}function ej(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}f=v[a+12>>2]+a|0;if(!f){break a}g=v[a+4>>2];c=g-1|0;b:{c:{d:{if((g|0)<1){break d}i=b>>>8|0;j=i&65535;while(1){d=c+h|0;e=d>>1;d=x[(d&-2)+f>>1];if((d|0)==(j|0)){break b}d=d>>>0<j>>>0;h=d?e+1|0:h;c=d?c:e-1|0;if((h|0)<=(c|0)){continue}break}if((c|0)<0){break d}if((c|0)>=(g|0)|x[(c<<1)+f>>1]>=(i&65535)>>>0){break c}}c=c+1|0}e=c^-1}c=0;if((e|0)<0){break a}a=v[a+8>>2]+a|0;a=v[a+(e<<2)>>2]+a|0;if(!a){break a}c=v[a+(b>>>3&28)>>2]>>>b&1}return c}function rg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{if(f&64){c=f+-64|0;b=c&31;if((c&63)>>>0>=32){c=0;b=e>>>b|0}else{c=e>>>b|0;b=((1<<b)-1&e)<<32-b|d>>>b}d=0;e=0;break a}if(!f){break a}h=e;i=d;j=64-f|0;g=j&31;if((j&63)>>>0>=32){h=i<<g;j=0}else{h=(1<<g)-1&i>>>32-g|h<<g;j=i<<g}i=b;g=f;b=g&31;if((g&63)>>>0>=32){g=0;b=c>>>b|0}else{g=c>>>b|0;b=((1<<b)-1&c)<<32-b|i>>>b}b=j|b;c=g|h;g=d;d=f&31;if((f&63)>>>0>=32){h=0;d=e>>>d|0}else{h=e>>>d|0;d=((1<<d)-1&e)<<32-d|g>>>d}e=h}v[a>>2]=b;v[a+4>>2]=c;v[a+8>>2]=d;v[a+12>>2]=e}function eo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Ca-16|0;Ca=d;c=(a+2|0)+(w[a+3|0]<<1|w[a+2|0]<<9)|0;e=c+2|0;c=w[c+3|0]|w[e|0]<<8?c+4|0:280448;c=w[c|0]<<8|w[c+1|0];f=c?c+a|0:280448;c=v[b+100>>2];if((xb(f,v[v[c+88>>2]+B(v[c+72>>2],20)>>2])|0)!=-1){f=w[e+1|0];h=w[e|0];c=e+(f<<1|h<<9)|0;g=w[c+3|0];i=c+2|0;j=w[i|0];v[d+12>>2]=a;v[d+8>>2]=a;v[d+4>>2]=a;v[d>>2]=452;k=w[a+3|0]|w[a+2|0]<<8;l=a+4|0;a=(g<<1|j<<9)+i|0;g=go(b,k,l,h<<8|f,e+4|0,g|j<<8,c+4|0,w[a+2|0]<<8|w[a+3|0],a+4|0,d)}Ca=d+16|0;return g}function Of(a,b,c,d){var e=0;a:{if(d&16){c=0;a=v[a+108>>2];e=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0<65538){break a}e=a;a=w[a+13|0]|w[a+12|0]<<8;a=a?e+a|0:280448;if((w[a|0]<<8|w[a+1|0])!=1){break a}e=a;c=d>>>16|0;a=c>>>0<(w[a+3|0]|w[a+2|0]<<8)>>>0?(a+(c<<2)|0)+4|0:280448;a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return(xb(a?e+a|0:280448,b)|0)!=-1}a=d&65280;if(!a){return 1}c=(a|0)==(c&65280)}return c}function dz(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;v[c>>2]=-1;v[d>>2]=-1;f=x[a+340>>1];if(f){h=v[a+356>>2];a=0;while(1){e=B(a,20)+h|0;a:{if(x[e+6>>1]!=(b|0)|!x[e+8>>1]){break a}b:{c:{switch(x[e>>1]-1|0){case 2:if(x[e+2>>1]>1){break a}g=c;if(x[e+4>>1]==1033|v[c>>2]==-1){break b}break a;case 0:break c;default:break a}}if(x[e+2>>1]){break a}g=d;if(!x[e+4>>1]){break b}if(v[d>>2]!=-1){break a}}v[g>>2]=a}a=a+1|0;if((f|0)!=(a|0)){continue}break}}if(v[c>>2]>=0){return 1}return(v[d>>2]^-1)>>>31|0}function zk(a,b){var c=0,d=0,e=0,f=0;c=v[b+4>>2];if(c){if(v[b>>2]){while(1){d=a;f=e<<4;c=v[(f+c|0)+8>>2];if(c){Ea[v[d+8>>2]](d,c)}d=v[b+4>>2]+f|0;v[d+8>>2]=0;d=v[d+12>>2];if(d){Ea[v[a+8>>2]](a,d)}c=v[b+4>>2];v[(f+c|0)+12>>2]=0;e=e+1|0;if(e>>>0<y[b>>2]){continue}break}}if(c){Ea[v[a+8>>2]](a,c)}v[b+4>>2]=0}c=v[b+16>>2];if(c){if(v[b+12>>2]){e=0;while(1){d=e<<2;c=v[d+c>>2];if(c){Ea[v[a+8>>2]](a,c)}c=v[b+16>>2];v[d+c>>2]=0;e=e+1|0;if(e>>>0<y[b+12>>2]){continue}break}}if(c){Ea[v[a+8>>2]](a,c)}v[b+16>>2]=0}}function PI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if((c-b|0)>=1){e=a+72|0;while(1){a:{b:{c:{switch(w[w[b|0]+e|0]-5|0){case 0:v[d+4>>2]=v[d+4>>2]+1;b=b+2|0;break a;case 1:v[d+4>>2]=v[d+4>>2]+1;b=b+3|0;break a;case 2:v[d+4>>2]=v[d+4>>2]+1;b=b+4|0;break a;case 5:v[d+4>>2]=0;v[d>>2]=v[d>>2]+1;break b;case 4:v[d>>2]=v[d>>2]+1;a=b+1|0;if((c-a|0)<1){b=a;v[d+4>>2]=0;break a}b=w[w[b+1|0]+e|0]==10?b+2|0:a;v[d+4>>2]=0;break a;default:break c}}v[d+4>>2]=v[d+4>>2]+1}b=b+1|0}if((c-b|0)>0){continue}break}}}function jv(a){var b=0,c=0,d=0,e=0,f=0;b=v[a+8>>2];c=v[a+12>>2];if((b|0)<=(c|0)){d=a;a:{if((b|0)==(c|0)){c=-1;if(b>>>0>1073741822){break a}v[164114]=0;b=b<<1|1;e=a,f=Xb(v[a+20>>2],b,56),v[e+20>>2]=f;if(v[164114]){break a}v[a+12>>2]=b;b=v[a+8>>2]}c=b;v[d+8>>2]=b+1;a=v[a+20>>2]+B(b,56)|0;v[a>>2]=0;v[a+4>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}return c}O(1371,1319,127,1408);L()}function bs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Ca-16|0;Ca=d;c=Ca-160|0;Ca=c;Ra(c+16|0,0,144);v[c+92>>2]=-1;v[c+60>>2]=a;v[c+24>>2]=-1;v[c+20>>2]=a;$d(c+16|0,0,0);is(c,c+16|0,1,1);g=v[c+8>>2];h=v[c+12>>2];i=v[c>>2];j=v[c+4>>2];if(b){k=b;e=a;b=v[c+20>>2]-v[c+24>>2]|0;a=b;f=a+v[c+136>>2]|0;b=v[c+140>>2]+(a>>31)|0;b=a>>>0>f>>>0?b+1|0:b;a=f;v[k>>2]=!(a|b)?e:e+a|0}v[d>>2]=i;v[d+4>>2]=j;v[d+8>>2]=g;v[d+12>>2]=h;Ca=c+160|0;l=eh(v[d>>2],v[d+4>>2],v[d+8>>2],v[d+12>>2]);Ca=d+16|0;return l}function me(a,b){var c=0,d=0,e=0;c=v[a+20>>2];if(!(w[a+13|0]?c:0)){return Qa(b,v[a+16>>2])}d=v[a+24>>2];c=c-1|0;e=c>>>0<d>>>0?d:c;while(1){a:{c=d;if((e|0)==(c|0)){c=e;break a}d=c+1|0;if(v[(B(d,20)+a|0)+36>>2]<=(b|0)){continue}}break}b:{c:{if(c){while(1){d=v[(B(c,20)+a|0)+36>>2];if((d|0)<=(b|0)){break c}c=c-1|0;if(c){continue}break}}c=0;v[a+24>>2]=0;d=v[a+36>>2];if((d|0)<=(b|0)){break b}return Qa(b-d|0,v[a+16>>2])+v[a+40>>2]|0}v[a+24>>2]=c}a=B(c,20)+a|0;return Qa(b-d|0,v[a+44>>2])+v[a+40>>2]|0}function Tc(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{if(f&64){d=b;e=f+-64|0;b=e&31;if((e&63)>>>0>=32){e=d<<b;d=0}else{e=(1<<b)-1&d>>>32-b|c<<b;d=d<<b}b=0;c=0;break a}if(!f){break a}g=d;i=f;d=f&31;if((f&63)>>>0>=32){h=g<<d;j=0}else{h=(1<<d)-1&g>>>32-d|e<<d;j=g<<d}d=c;g=b;f=64-f|0;e=f&31;if((f&63)>>>0>=32){f=0;d=d>>>e|0}else{f=d>>>e|0;d=((1<<e)-1&d)<<32-e|g>>>e}d=j|d;e=f|h;f=b;b=i&31;if((i&63)>>>0>=32){h=f<<b;b=0}else{h=(1<<b)-1&f>>>32-b|c<<b;b=f<<b}c=h}v[a>>2]=b;v[a+4>>2]=c;v[a+8>>2]=d;v[a+12>>2]=e}function zP(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;b=0;a:{h=v[a+72>>2];if(v[h+156>>2]!=v[163575]){if(!c){break a}i=v[d>>2];v[f>>2]=0;if(!(Ea[v[h+156>>2]](a,v[a+76>>2],i,f,v[h+20>>2])|0)){break a}b=1;while(1){if((b|0)==(c|0)){b=c;break a}d=d+e|0;i=v[d>>2];h=v[a+72>>2];f=f+g|0;v[f>>2]=0;if(!(Ea[v[h+156>>2]](a,v[a+76>>2],i,f,v[h+20>>2])|0)){break a}b=b+1|0;continue}}a=v[a+12>>2];b=v[a+72>>2];return Ea[v[b+160>>2]](a,v[a+76>>2],c,d,e,f,g,v[b+24>>2])|0}return b|0}function Ss(a){var b=0,c=0,d=0;d=Ca-16|0;Ca=d;b=v[a>>2];a:{if(!b){db(a,2,514645,0);break a}b:{if(!v[b+4>>2]){break b}b=v[b+8>>2];if(!b){break b}c=v[b>>2];if(!c){break b}while(1){if(w[c|0]){v[d>>2]=c;db(a,1,514665,d)}c=v[b+8>>2];b=b+8|0;if(c){continue}break}}while(1){b=v[a+4>>2];if(!(!b|v[b+4>>2]!=v[a>>2])){Qd(a);continue}break}b=v[a>>2];v[a>>2]=v[b>>2];Wc(b+12|0);c=v[b+8>>2];if(!(!c|(c|0)==(b+96|0))){Pa(c)}c=v[a+28>>2]-1|0;if((b|0)==((B(c,160)+a|0)+32|0)){v[a+28>>2]=c;break a}Pa(b)}Ca=d+16|0}function gJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ca-160|0;Ca=d;v[d+156>>2]=b;v[d+12>>2]=d+16;Ea[v[a+56>>2]](a,d+156|0,c,d+12|0,d+143|0)|0;b=0;a:{if(v[d+156>>2]!=(c|0)){break a}t[v[d+12>>2]]=0;b=502730;c=d+16|0;while(1){e=w[b|0];f=w[c|0];b=b+1|0;c=c+1|0;f=((f-97&255)>>>0<26?f-32|0:f)&255;e=(f|0)==(((e-97&255)>>>0<26?e-32|0:e)&255)?!f<<1:1;if(!e){continue}break}if((e|0)==2){b=a;if(v[a+64>>2]==2){break a}}a=Xi(d+16|0);if((a|0)==-1){b=0;break a}b=v[(a<<2)+502768>>2]}Ca=d+160|0;return b|0}function bJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ca-160|0;Ca=d;v[d+156>>2]=b;v[d+12>>2]=d+16;Ea[v[a+56>>2]](a,d+156|0,c,d+12|0,d+143|0)|0;b=0;a:{if(v[d+156>>2]!=(c|0)){break a}t[v[d+12>>2]]=0;b=502730;c=d+16|0;while(1){e=w[b|0];f=w[c|0];b=b+1|0;c=c+1|0;f=((f-97&255)>>>0<26?f-32|0:f)&255;e=(f|0)==(((e-97&255)>>>0<26?e-32|0:e)&255)?!f<<1:1;if(!e){continue}break}if((e|0)==2){b=a;if(v[a+64>>2]==2){break a}}a=Xi(d+16|0);if((a|0)==-1){b=0;break a}b=v[(a<<2)+504288>>2]}Ca=d+160|0;return b|0}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;a:{f=B(b,f);if((f|0)<1){break a}j=a+f|0;if(e){k=e&-2;l=e&1;while(1){f=0;h=k;if((e|0)!=1){while(1){i=a+f|0;g=w[c+f|0]+w[i|0]|0;t[i|0]=g>>>0<255?g:255;g=f|1;i=g+a|0;g=w[c+g|0]+w[i|0]|0;t[i|0]=g>>>0<255?g:255;f=f+2|0;h=h-2|0;if(h){continue}break}}if(l){h=a+f|0;f=w[c+f|0]+w[h|0]|0;t[h|0]=f>>>0<255?f:255}c=c+d|0;a=a+b|0;if(j>>>0>a>>>0){continue}break}break a}while(1){a=a+b|0;if(j>>>0>a>>>0){continue}break}}}function ab(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=(a|0)<0?-1:1;e=2147483647;c=b>>31;c=c+b^c;a:{if(!c){break a}d=a;a=a>>31;a=d+a^a;if(a>>>0<=(c>>>17^65535)>>>0){e=((a<<16)+(c>>>1|0)>>>0)/(c>>>0)|0;break a}f=c>>>1|0;d=f+(a<<16)|0;a=(a>>>16|0)+(d>>>0<f>>>0)|0;if(a>>>0>=c>>>0){break a}f=E(a);g=32-f|0;a=d>>>g|a<<f;e=(a>>>0)/(c>>>0)|0;i=a-B(c,e)|0;a=d<<f;while(1){d=i<<1|a>>>31;i=d-(c>>>0>d>>>0?0:c)|0;e=e<<1|c>>>0<=d>>>0;a=a<<1;g=g-1|0;if(g){continue}break}}return(((b|0)<0?0-h|0:h)|0)<0?0-e|0:e}function Js(a,b,c,d){var e=0,f=0;e=Ca-16|0;Ca=e;a:{if(!d|(c|0)!=1){break a}c=v[b+16>>2];c=c&1?((c&-2)+b|0)+8|0:c;b:{if(!Od(v[d+4>>2],c,e+12|0)){break b}f=v[e+12>>2];v[f>>2]=v[f>>2]-1;if(v[v[e+12>>2]>>2]){break b}xg(v[d+4>>2],c)}if(!Od(v[d>>2],c,e+12|0)){break a}f=v[e+12>>2];v[f>>2]=v[f>>2]-1;if(v[v[e+12>>2]>>2]){break a}xg(v[d>>2],c)}d=v[a>>2];c:{if(!d){break c}if((b|0)!=(d|0)){while(1){a=d;d=v[d>>2];if(!d){break c}if((b|0)!=(d|0)){continue}break}}v[a>>2]=v[b>>2];v[b>>2]=0;dg(b)}Ca=e+16|0}function xJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=v[a>>2];c=v[b>>2];if((e|0)!=(c|0)){return e-c|0}a:{c=v[a+4>>2];d=v[b+4>>2];if((c|0)!=(d|0)){break a}c=v[a+8>>2];d=v[b+8>>2];if((c|0)!=(d|0)){break a}b:{c:{c=v[a+12>>2];d=v[b+12>>2];if((c|0)!=(d|0)){a=-1;d:{switch(e-1|0){case 2:break c;case 0:break d;default:break a}}if(!c){break b}if(d){break a}return 1}a=v[a+16>>2];b=v[b+16>>2];return((a|0)==(b|0)?0:a-b|0)|0}if((c|0)==1033){break b}a=1;if((d|0)==1033){break b}break a}return a|0}return c-d|0}function kJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((c-b|0)>=1){while(1){a:{b:{c:{switch(w[w[b|0]+502868|0]-5|0){case 0:v[d+4>>2]=v[d+4>>2]+1;b=b+2|0;break a;case 1:v[d+4>>2]=v[d+4>>2]+1;b=b+3|0;break a;case 2:v[d+4>>2]=v[d+4>>2]+1;b=b+4|0;break a;case 5:v[d+4>>2]=0;v[d>>2]=v[d>>2]+1;break b;case 4:v[d>>2]=v[d>>2]+1;a=b+1|0;if((c-a|0)<1){b=a;v[d+4>>2]=0;break a}b=w[w[b+1|0]+502868|0]==10?b+2|0:a;v[d+4>>2]=0;break a;default:break c}}v[d+4>>2]=v[d+4>>2]+1}b=b+1|0}if((c-b|0)>0){continue}break}}}function Vd(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=v[a>>2];if(!b){break b}if((b|0)<=0){break a}v[a>>2]=b-1;if((b|0)!=1){break b}v[a>>2]=-57005;b=v[a+8>>2];if(b){c=v[b+8>>2];if(c){while(1){c=c-1|0;d=v[b+12>>2]+B(c,12)|0;e=v[d+8>>2];d=v[d+4>>2];v[b+8>>2]=c;if(e){Ea[e|0](d);c=v[b+8>>2]}if(c){continue}break}}Pa(v[b+12>>2]);Pa(b)}b=v[a+80>>2];if(b){Ea[b|0](v[a+76>>2])}Vd(v[a+12>>2]);on(v[a+16>>2]);ud(v[a+72>>2]);Pa(v[a+64>>2]);Pa(v[a+68>>2]);Pa(a)}return}O(256902,256927,272,256962);L()}function Sq(a,b){var c=0,d=0,e=0,f=0;f=v[a+16>>2];a:{if(!f){break a}if(!v[a+12>>2]){c=f;break a}c=f;while(1){f=e<<2;c=v[f+c>>2];if(c){Ea[v[b+8>>2]](b,c)}c=v[a+16>>2];v[f+c>>2]=0;e=e+1|0;if(e>>>0<y[a+12>>2]){continue}break}}if(c){Ea[v[b+8>>2]](b,c)}v[a+16>>2]=0;c=v[a+4>>2];b:{if(!c){break b}if(!v[a>>2]){d=c;break b}e=0;d=c;while(1){c=e<<3;d=v[(c+d|0)+4>>2];if(d){Ea[v[b+8>>2]](b,d)}d=v[a+4>>2];v[(c+d|0)+4>>2]=0;e=e+1|0;if(e>>>0<y[a>>2]){continue}break}}if(d){Ea[v[b+8>>2]](b,d)}v[a+4>>2]=0}function uF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Ca-16|0;Ca=f;a:{if(v[a+356>>2]!=3){break a}d=v[a+392>>2];if((d|0)!=v[a+404>>2]){break a}b:{g=v[a+388>>2];e=v[a+396>>2];c:{if(g>>>0<=e>>>0){e=e<<2;h=v[a+400>>2];break c}d=e<<2;e=g<<2;h=Ua(v[a+8>>2],1,d,e,v[a+400>>2],f+12|0);v[a+400>>2]=h;d=v[f+12>>2];if(d){break b}v[a+396>>2]=g;d=v[a+392>>2]}v[a+12>>2]=0;Ta(h,d,e);v[a+392>>2]=v[a+400>>2];break a}v[a+12>>2]=d}if(!v[a+12>>2]){c=ab(c,mi(a));v[v[a+392>>2]+(b<<2)>>2]=c}Ca=f+16|0}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;f=Ca-16|0;Ca=f;a:{if(v[a+356>>2]!=3){break a}d=v[a+392>>2];if((d|0)!=v[a+404>>2]){break a}b:{g=v[a+388>>2];e=v[a+396>>2];c:{if(g>>>0<=e>>>0){e=e<<2;h=v[a+400>>2];break c}d=e<<2;e=g<<2;h=Ua(v[a+8>>2],1,d,e,v[a+400>>2],f+12|0);v[a+400>>2]=h;d=v[f+12>>2];if(d){break b}v[a+396>>2]=g;d=v[a+392>>2]}v[a+12>>2]=0;Ta(h,d,e);v[a+392>>2]=v[a+400>>2];break a}v[a+12>>2]=d}if(!v[a+12>>2]){a=v[a+392>>2]+(b<<2)|0;v[a>>2]=v[a>>2]+c}Ca=f+16|0}function Gi(a,b){var c=0,d=0,e=0;c=Ca-4304|0;Ca=c;a:{if(!a){v[164114]=28;break a}a=Y(a|0,2656256,0)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}if((a|0)<0){break a}As(c+4096|0,a);b:{d=ol(c+4096|0,c,4095);c:{if((d|0)<0){break c}t[c+d|0]=0;rl(a,c+4216|0);d=ql(c,c+4128|0);if((d|0)<0){break c}if(v[c+4296>>2]==v[c+4208>>2]&v[c+4300>>2]==v[c+4212>>2]?v[c+4216>>2]==v[c+4128>>2]:0){break b}if(d){break c}v[164114]=32}T(a|0)|0;break a}T(a|0)|0;if(b){e=Ac(b,c);break a}e=ib(c)}Ca=c+4304|0;return e}function eu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=Ca-128|0;Ca=d;a:{if(!c){a=ae(a);c=v[b+12>>2]+b|0;b:{if(a){v[d+36>>2]=0;v[d+32>>2]=c;a=dc(a,d+32|0);break b}a=ib(c)}e=um(a,d+40|0);Pa(a);c=d+40|0;a=0;if((e|0)<0){break a}}e=v[c+68>>2];f=v[b+32>>2];g=v[b+36>>2];if(w[656428]&16){a=v[b+12>>2];h=v[b+28>>2];i=v[c+64>>2];v[d+16>>2]=e;v[d+12>>2]=i;v[d+8>>2]=f;v[d+4>>2]=h;v[d>>2]=a+b;Za(452042,d)}c=v[c+64>>2];a=1;if(!c){break a}a=(e|0)==(f|0)&e>>31==(g|0)&(c|0)==v[b+28>>2]}Ca=d+128|0;return a}function lj(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=Ca-32|0;Ca=g;e=A[a+24>>3]*e;a:{if(D(e)<2147483648){i=~~e;break a}i=-2147483648}h=f&1;d=A[a+16>>3]*d;b:{if(D(d)<2147483648){j=~~d;break b}j=-2147483648}c:{if(h){v[g+28>>2]=c+i;v[g+24>>2]=b+j;k=v[a>>2];h=v[g+28>>2];v[g+16>>2]=v[g+24>>2];v[g+20>>2]=h;h=0;if(!Gb(k,g+16|0,1)){break c}}if(f&2){v[g+28>>2]=c-i;v[g+24>>2]=b-j;a=v[a+4>>2];b=v[g+28>>2];v[g+8>>2]=v[g+24>>2];v[g+12>>2]=b;h=0;if(!Gb(a,g+8|0,1)){break c}}h=1}Ca=g+32|0;return h}function fu(a){var b=0,c=0,d=0,e=0,f=0;a:{b:{if(!v[164105]){while(1){c=Va(28);d=v[164105];v[164105]=d?d:c;if(!d){break b}if(!v[164105]){continue}break}}break a}Ze()}c:{if(!a){break c}c=656352;e=v[164104];if((e|0)>=1){while(1){d=e;e=d-1|0;f=e<<2;b=v[f+c>>2];if(!(!b|v[b>>2]+v[b+8>>2]>>>0>a>>>0)){while(1){c=b;b=v[(b+f|0)+40>>2];if(v[b>>2]+v[b+8>>2]>>>0<=a>>>0?b:0){continue}break}c=c+40|0}if((d|0)>1){continue}break}}b=v[c>>2];if(v[b>>2]+v[b+8>>2]>>>0>a>>>0?b:0){break c}b=0}return b}function Xu(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;f=Ca-48|0;Ca=f;g=eb(1,8);a:{if(!g){break a}h=v[d+4>>2];i=v[d>>2];v[g>>2]=i;v[g+4>>2]=h;d=eb(1,40);if(!d){Pa(g);break a}h=Ea[i|0](h,0,0,0)|0;v[d+24>>2]=793;v[d+20>>2]=794;v[d+4>>2]=h;v[d+12>>2]=g;v[f+28>>2]=0;v[f+32>>2]=0;v[f+44>>2]=0;v[f+36>>2]=0;v[f+40>>2]=0;v[f+20>>2]=0;v[f+24>>2]=0;v[f+16>>2]=2;v[f+32>>2]=d;if(Ur(b,f+16|0,e,f+12|0)){if(c){v[f>>2]=c;hb(a,2,364378,f);break a}hb(a,2,364410,0);break a}j=v[f+12>>2]}Ca=f+48|0;return j}function Mz(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ea[v[a+516>>2]](a,1835104368,b,0)|0;a:{if(c){break a}d=a+260|0;c=ub(b,162816,d);if(c){break a}u[a+290>>1]=0;u[a+282>>1]=0;u[a+284>>1]=0;u[a+286>>1]=0;u[a+288>>1]=0;u[a+274>>1]=0;u[a+276>>1]=0;u[a+278>>1]=0;u[a+280>>1]=0;u[a+266>>1]=0;u[a+268>>1]=0;u[a+270>>1]=0;u[a+272>>1]=0;b:{if(v[a+260>>2]<65536){break b}c=ub(b,162832,d);if(c){break a}if(x[a+280>>1]<=63){u[a+280>>1]=64}if(x[a+276>>1]<65532){break b}u[a+276>>1]=65531}c=0}return c|0}function hM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ca-16|0;Ca=d;v[a+32>>2]=c;e=a,f=Ua(c,4,0,b,0,d+12|0),v[e+24>>2]=f;a:{b:{if(v[d+12>>2]){break b}e=a,f=Ua(c,4,0,b,0,d+12|0),v[e+28>>2]=f;if(v[d+12>>2]){break b}v[a+20>>2]=0;v[a+16>>2]=b;v[a+8>>2]=0;v[a+12>>2]=-559038737;v[a>>2]=0;v[a+4>>2]=0;b=v[74868];v[a+36>>2]=v[74867];v[a+40>>2]=b;b=v[74870];v[a+44>>2]=v[74869];v[a+48>>2]=b;a=0;break a}b=v[a+24>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+24>>2]=0;a=v[d+12>>2]}Ca=d+16|0;return a|0}function UJ(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;a:{f=B(b,f);if((f|0)<1){break a}i=a+f|0;if(e){k=e&-2;l=e&1;while(1){f=0;g=k;if((e|0)!=1){while(1){h=a+f|0;t[h|0]=B(w[h|0],w[c+f|0]^255)+255>>>8;h=f|1;j=h+a|0;t[j|0]=B(w[j|0],w[c+h|0]^255)+255>>>8;f=f+2|0;g=g-2|0;if(g){continue}break}}if(l){g=a+f|0;t[g|0]=B(w[g|0],w[c+f|0]^255)+255>>>8}c=c+d|0;a=a+b|0;if(i>>>0>a>>>0){continue}break}break a}while(1){a=a+b|0;if(i>>>0>a>>>0){continue}break}}}function up(a,b){var c=0,d=0,e=0,f=0,g=0;d=w[a+5|0]|w[a+4|0]<<8;a:{if(!d){e=w[a+3|0]|w[a+2|0]<<8;break a}e=w[a+3|0]|w[a+2|0]<<8;c=(a+2|0)+B(e,d-1|0)|0;if((w[c+10|0]<<8|w[c+11|0])!=65535){break a}d=d-((w[c+13|0]|w[c+12|0]<<8)==65535)|0}c=0;b:{if((d|0)<1){break b}g=a+12|0;a=d-1|0;d=0;while(1){f=a+d>>>1|0;c=B(f,e)+g|0;c:{if((w[c+2|0]<<8|w[c+3|0])>>>0<=b>>>0){if((w[c+1|0]|w[c|0]<<8)>>>0>=b>>>0){break b}d=f+1|0;break c}a=f-1|0}if((a|0)>=(d|0)){continue}break}c=0}return c?c+4|0:0}function vv(a,b){var c=0,d=0,e=0;d=Ca-16|0;Ca=d;c=v[a>>2]+1|0;v[d+12>>2]=c;a:{if(b>>>0<=c>>>0){break a}while(1){wc(d+12|0,b);c=v[d+12>>2];if(c>>>0>=b>>>0){break a}b:{e=w[c|0];if((e-48&255)>>>0<=9){break b}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break b;default:break a}}c=c+1|0;v[d+12>>2]=c;if(b>>>0>c>>>0){continue}break}}c:{if(b>>>0>c>>>0){b=3;if(w[c|0]!=62){break c}}c=c+1|0;b=0}v[a>>2]=c;Ca=d+16|0;return b}function pF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Ca-16|0;Ca=f;a:{if(v[a+356>>2]!=3){break a}d=v[a+392>>2];if((d|0)!=v[a+404>>2]){break a}b:{g=v[a+388>>2];e=v[a+396>>2];c:{if(g>>>0<=e>>>0){e=e<<2;h=v[a+400>>2];break c}d=e<<2;e=g<<2;h=Ua(v[a+8>>2],1,d,e,v[a+400>>2],f+12|0);v[a+400>>2]=h;d=v[f+12>>2];if(d){break b}v[a+396>>2]=g;d=v[a+392>>2]}v[a+12>>2]=0;Ta(h,d,e);v[a+392>>2]=v[a+400>>2];break a}v[a+12>>2]=d}if(!v[a+12>>2]){v[v[a+392>>2]+(b<<2)>>2]=c}Ca=f+16|0}function TJ(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;a:{h=B(d,h);if((h|0)<1){break a}k=c+h|0;if(g){l=g&-2;m=g&1;while(1){h=0;i=l;if((g|0)!=1){while(1){t[a+h|0]=B(w[e+h|0],w[c+h|0])+255>>>8;j=h|1;t[j+a|0]=B(w[e+j|0],w[c+j|0])+255>>>8;h=h+2|0;i=i-2|0;if(i){continue}break}}if(m){t[a+h|0]=B(w[e+h|0],w[c+h|0])+255>>>8}e=e+f|0;a=a+b|0;c=c+d|0;if(k>>>0>c>>>0){continue}break}break a}while(1){c=c+d|0;if(k>>>0>c>>>0){continue}break}}}function Jw(a,b){var c=0,d=0,e=0;a:{b:{e=v[a>>2];if((e|0)>=0){c=v[a+4>>2];d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=e>>>0){break a}c=e;while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(!(c>>>0<e>>>0|c>>>0>1073741822)){e=gb(v[a+8>>2],c<<2);if(e){break b}}v[a>>2]=-1}v[163916]=v[70112];return}v[a>>2]=c;v[a+8>>2]=e;c=v[a+4>>2]}if(c>>>0<d>>>0){Ra(v[a+8>>2]+(c<<2)|0,0,d-c<<2)}v[a+4>>2]=d;a=v[a+8>>2];v[163916]=v[70112];a=(a+(d<<2)|0)-4|0;if((a|0)!=655664){v[a>>2]=v[b>>2]}}function Az(a){a=a|0;var b=0,c=0;a:{if(!w[a+632|0]){break a}c=v[a+100>>2];b=v[a+476>>2];if((b|0)!=151552){if((b|0)!=131072){break a}b=v[a+640>>2];if(b){Ea[v[c+8>>2]](c,b)}u[a+636>>1]=0;v[a+640>>2]=0;if(!x[a+638>>1]){break a}b=v[a+644>>2];v[b>>2]=v[b>>2]-1;b=v[v[a+644>>2]>>2];if(b){Ea[v[c+8>>2]](c,b)}v[v[a+644>>2]>>2]=0;b=v[a+644>>2];if(b){Ea[v[c+8>>2]](c,b)}u[a+638>>1]=0;v[a+644>>2]=0;break a}b=v[a+640>>2];if(b){Ea[v[c+8>>2]](c,b)}u[a+636>>1]=0;v[a+640>>2]=0}t[a+632|0]=0}function Ai(a,b){if(!a){return 0}a:{b:{if(a){if(b>>>0<=127){break b}c:{if(!v[v[163893]>>2]){if((b&-128)==57216){break b}break c}if(b>>>0<=2047){t[a+1|0]=b&63|128;t[a|0]=b>>>6|192;a=2;break a}if(!((b&-8192)!=57344?b>>>0>=55296:0)){t[a+2|0]=b&63|128;t[a|0]=b>>>12|224;t[a+1|0]=b>>>6&63|128;a=3;break a}if(b-65536>>>0<=1048575){t[a+3|0]=b&63|128;t[a|0]=b>>>18|240;t[a+2|0]=b>>>6&63|128;t[a+1|0]=b>>>12&63|128;a=4;break a}}v[164114]=25;a=-1}else{a=1}break a}t[a|0]=b;a=1}return a}function Gj(a){var b=0,c=0,d=0;c=Ca-16|0;Ca=c;a:{if(v[a+20>>2]){break a}b:{b=v[a+24>>2];if(b){break b}c:{b=a+28|0;if(!Kw(b,v[a+32>>2]+1|0)){break c}d=eb(1,384);v[c+12>>2]=d;if(!d){break c}Jw(b,c+12|0);b=Iw(v[c+12>>2]);v[a+24>>2]=b;break b}if(v[a+20>>2]){break a}v[a+20>>2]=1;break a}v[a+24>>2]=v[b>>2];v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[b>>2]=v[a+4>>2];v[b+4>>2]=v[a+8>>2];v[b+20>>2]=v[a+40>>2];v[a+40>>2]=b}Ca=c+16|0;return v[a+4>>2]}function Wg(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=v[a>>2];if(!b){break b}if((b|0)<=0){break a}v[a>>2]=b-1;if((b|0)!=1){break b}v[a>>2]=-57005;b=v[a+8>>2];if(b){c=v[b+8>>2];if(c){while(1){c=c-1|0;d=v[b+12>>2]+B(c,12)|0;e=v[d+8>>2];d=v[d+4>>2];v[b+8>>2]=c;if(e){Ea[e|0](d);c=v[b+8>>2]}if(c){continue}break}}Pa(v[b+12>>2]);Pa(b)}v[a+16>>2]=0;v[a+20>>2]=0;Pa(v[a+32>>2]);v[a+32>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;Pa(v[a+44>>2]);Pa(a)}return}O(229598,229623,272,229638);L()}function uA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+20|0;if(e>>>0>y[b+160>>2]){ob(b,8)}c=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(d-20>>>1>>>0>=c>>>0?d>>>0<20|d>>>0>v[b+160>>2]-a>>>0:1){ob(b,8)}if(!(!v[b+164>>2]|!c)){while(1){if(y[b+172>>2]<=(w[e+1|0]|w[e|0]<<8)>>>0){ob(b,16)}e=e+2|0;c=c-1|0;if(c){continue}break}}return 0}function we(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!(a&3)|!c){break c}e=b&255;while(1){if((e|0)==w[a|0]){break b}c=c-1|0;d=(c|0)!=0;a=a+1|0;if(!(a&3)){break c}if(c){continue}break}}if(!d){break a}}d:{if(w[a|0]==(b&255)|c>>>0<4){break d}d=B(b&255,16843009);while(1){e=d^v[a>>2];if((e^-1)&e-16843009&-2139062144){break d}a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}b=b&255;while(1){if((b|0)==w[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function qK(a,b){a=a|0;b=b|0;return B(w[a+23|0]^B(w[a+22|0]^B(w[a+21|0]^B(w[a+20|0]^B(w[a+19|0]^B(w[a+18|0]^B(w[a+17|0]^B(w[a+16|0]^B(w[a+15|0]^B(w[a+14|0]^B(w[a+13|0]^B(w[a+12|0]^B(w[a+11|0]^B(w[a+10|0]^B(w[a+9|0]^B(w[a+8|0]^B(w[a+3|0]^B(w[a+2|0]^B(w[a+1|0]^B(w[a|0]^b,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619)|0}function se(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ca-16|0;Ca=e;a:{if(!a){f=35;break a}f=38;d=v[a+40>>2];if(!d|!b){break a}f=6;g=v[a+36>>2];if((g|0)<1){break a}g=(g<<2)+d|0;while(1){b:{if(v[d>>2]!=(b|0)){break b}c=v[b>>2];c:{if(!c){break c}c=v[c+96>>2];h=v[v[c>>2]+32>>2];if(!h){break c}c=Ea[h|0](c,4240)|0;if(!c){break c}if(Ea[v[c>>2]](b,e+8|0)|0){break c}if(v[e+12>>2]==14){break b}}v[a+92>>2]=v[d>>2];f=0;break a}d=d+4|0;if(g>>>0>d>>>0){continue}break}}Ca=e+16|0;return f}function tG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Ca-32|0;Ca=e;v[e+16>>2]=b;f=v[a+48>>2];v[e+20>>2]=c-((f|0)!=0);d=v[a+44>>2];v[e+28>>2]=f;v[e+24>>2]=d;f=-1;a:{b:{d=_(v[a+60>>2],e+16|0,2,e+12|0)|0;if(d){v[164114]=d;d=-1}else{d=0}if(!d){f=v[e+12>>2];if((f|0)>0){break b}}v[a>>2]=v[a>>2]|f&48^16;break a}g=v[e+20>>2];if(g>>>0>=f>>>0){break a}d=v[a+44>>2];v[a+4>>2]=d;v[a+8>>2]=d+(f-g|0);if(v[a+48>>2]){v[a+4>>2]=d+1;t[(b+c|0)-1|0]=w[d|0]}f=c}Ca=e+32|0;return f|0}function tw(a,b,c,d){var e=0,f=0,g=0,h=0;a:{if(!w[a+12|0]){break a}if(!b){return}e=v[a+20>>2];if(y[a+24>>2]<=(e>>>1|0)+e>>>0){if(!sw(a)){break a}}e=mn(a,b,c);g=v[a+32>>2];h=g+B(e,12)|0;f=v[h>>2];b:{c:{if(!d){if((b|0)!=(f|0)){break a}h=B(e,12)+g|0;break c}if(f){break c}f=v[a+20>>2];break b}f=v[a+20>>2]-1|0;if(v[(B(e,12)+g|0)+4>>2]){break b}v[a+16>>2]=v[a+16>>2]-1}v[h>>2]=b;b=B(e,12)+g|0;v[b+8>>2]=c;v[b+4>>2]=d;v[a+20>>2]=f+1;if(!d){break a}v[a+16>>2]=v[a+16>>2]+1}}function Bg(a){var b=0,c=0,d=0,e=0,f=0;d=Va(Xa(a)+1|0);if(d){b=d;while(1){e=c;f=w[a|0];a:{if(!((f|0)==47|!f)){break a}b:{if(!e){break b}c:{d:{e:{c=a;switch(c+(e^-1)|0){case 2:break c;case 1:break d;case 0:break e;default:break a}}b=b-1|0;break b}b=$a(e,498920,2)?b:b-2|0;break b}if($a(e,498923,3)){break b}c=b-3|0;b=c>>>0>d>>>0?d:c;while(1){if(c>>>0<=d>>>0){break b}c=c-1|0;if(w[c|0]!=47){continue}break}b=c}c=a}t[b|0]=f;b=b+1|0;a=a+1|0;if(f){continue}break}}return d}function uv(a,b,c,d){var e=0,f=0,g=0,h=0;h=v[a>>2];if(h>>>0<b>>>0){f=1;b=b-h|0;d=d<<1;d=b>>>0<d>>>0?b:d;a:{if(!d){b=0;break a}b=0;b:{while(1){c:{d:{e=w[b+h|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break c;default:break d}}if(e<<24>>24<0){break b}e=w[e+300928|0];if(e>>>0>15){break b}e=e|f<<4;if(!(f&16)){f=e;break c}t[c+g|0]=e;f=1;g=g+1|0}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}if((f|0)==1){break a}t[c+g|0]=f<<4;g=g+1|0}v[a>>2]=b+h}return g}function ne(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=v[a>>2];if(!b){break b}if((b|0)<=0){break a}v[a>>2]=b-1;if((b|0)!=1){break b}v[a>>2]=-57005;b=v[a+8>>2];if(b){c=v[b+8>>2];if(c){while(1){c=c-1|0;d=v[b+12>>2]+B(c,12)|0;e=v[d+8>>2];d=v[d+4>>2];v[b+8>>2]=c;if(e){Ea[e|0](d);c=v[b+8>>2]}if(c){continue}break}}Pa(v[b+12>>2]);Pa(b)}Mh(v[a+12>>2]);Pa(v[a+88>>2]);Pa(v[a+96>>2]);b=v[a+160>>2];if(b){Ea[b|0](v[a+156>>2])}Pa(a)}return}O(282147,282172,272,282187);L()}function Ks(a,b,c,d,e){var f=0,g=0,h=0,i=0;g=Ca-16|0;Ca=g;a:{if(!d){break a}h=Va(32);if(!h){break a}f=h+8|0;b:{if(x[d>>1]==36){Bc(g,a,b,c,v[d+8>>2]);i=v[g+12>>2];v[f+8>>2]=v[g+8>>2];v[f+12>>2]=i;i=v[g+4>>2];v[f>>2]=v[g>>2];v[f+4>>2]=i;a=Ks(a,b,c,v[d+12>>2],e);break b}Bc(g,a,b,c,d);a=v[g+12>>2];v[f+8>>2]=v[g+8>>2];v[f+12>>2]=a;a=v[g+4>>2];v[f>>2]=v[g>>2];v[f+4>>2]=a;a=0}v[h+24>>2]=e;v[h>>2]=a;f=h;if(v[f+8>>2]){break a}Pa(f);f=a&1?(a&-2)+f|0:a}Ca=g+16|0;return f}function iw(a){var b=0,c=0,d=0,e=0;a:{b=v[a+44>>2];if(!(b|v[a+76>>2]?(b|0)!=1:0)){b:{if(v[a+52>>2]|!v[a+76>>2]){break b}b=0;while(1){c=v[a+12>>2];c=Ea[v[c+32>>2]](c,v[v[a+88>>2]+B(b,20)>>2],v[c- -64>>2])|0;if(!((c|0)==1516858984|(c|0)==1517910393|(c|0)==1517976186)){v[a+52>>2]=c;break b}b=b+1|0;if(b>>>0<y[a+76>>2]){continue}break}}if(!v[a+48>>2]){b=ck(v[a+52>>2]);v[a+48>>2]=b?b:4}if(!v[a+56>>2]){d=a,e=Tp(),v[d+56>>2]=e}break a}O(282006,282117,356,282132);L()}}function ac(a){var b=0,c=0;b=v[a+68>>2];v[a+68>>2]=b-1;if((b|0)==1){b=v[164112];v[164112]=(a|0)==(b|0)?0:b;bc(v[a>>2]);bc(v[a+4>>2]);bc(v[a+8>>2]);bc(v[a+12>>2]);bc(v[a+16>>2]);bc(v[a+36>>2]);bc(v[a+40>>2]);le(v[a+44>>2]);le(v[a+48>>2]);de(v[a+20>>2]);de(v[a+24>>2]);de(v[a+28>>2]);de(v[a+84>>2]);bc(v[a+80>>2]);b=v[a+52>>2];if(b){le(b)}b=v[a+56>>2];if(b){le(b)}c=v[a+72>>2];if(c){while(1){b=v[c>>2];Pa(c);c=b;if(b){continue}break}}b=v[a+76>>2];if(b){Pa(b)}Pa(a)}}function _K(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;j=v[a+16>>2];a:{if(j){c=v[b>>2]+1|0;k=v[a+20>>2];h=j;while(1){i=(h-d>>>1|0)+d|0;e=(i<<3)+k|0;f=v[e>>2];if((f|0)==(c|0)){a=v[((i<<3)+k|0)+4>>2];v[b>>2]=c;return a|0}f=f&2147483647;g=(f|0)==(c|0)?v[e+4>>2]:g;e=c>>>0>f>>>0;h=e?h:i;d=e?i+1|0:d;if(h>>>0>d>>>0){continue}break}if(g){break a}}c=0;g=0;if(d>>>0>=j>>>0){break a}a=v[a+20>>2]+(d<<3)|0;c=v[a>>2]&2147483647;g=v[a+4>>2]}v[b>>2]=c;return g|0}function po(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=w[a+3|0];e=w[a+2|0];d=c|e<<8;f=d>>>4|0;h=w[a+1|0];a=w[a|0];i=h|a<<8;g=i>>>4|0;a:{if(f-g>>>0>=31){v[b>>2]=-1;break a}f=1<<f;g=1<<g;v[b>>2]=v[b>>2]|((f<<1)-g|0)-(f>>>0<g>>>0)}b:{if(d-i>>>0>=31){v[b+4>>2]=-1;break b}c=1<<c;d=1<<h;v[b+4>>2]=v[b+4>>2]|((c<<1)-d|0)-(c>>>0<d>>>0)}e=e>>>1|0;a=a>>>1|0;if(e-a>>>0>=31){v[b+8>>2]=-1;return 1}c=b;d=v[b+8>>2];b=1<<e;a=1<<a;v[c+8>>2]=d|((b<<1)-a|0)-(a>>>0>b>>>0);return 1}function nB(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=v[b>>2];d=v[a+16>>2];f=x[d+2>>1];g=f+(x[d+6>>1]<<8)|0;a:{if(c>>>0>=g>>>0){break a}a=x[d>>1];j=(f-a|0)+1|0;h=x[d+4>>1];i=a+(h<<8)|0;k=v[d+12>>2];while(1){c=c+1|0;e=c>>>0<i>>>0?i:c;c=e&255;d=c>>>0>f>>>0;e=(d&a>>>0<=c>>>0)+(e>>>8|0)&65535;d=a>>>0>c>>>0?a:d?a:c;c=(e<<8)+d|0;e=x[k+((d-a|0)+B(e-h|0,j)<<1)>>1];if((e|0)!=65535){break a}if(c>>>0<g>>>0){continue}break}e=65535}v[b>>2]=c;return e|0}function bP(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;b=v[a+12>>2];v[f>>2]=0;v[e>>2]=0;g=b;h=v[b+76>>2];b=v[b+72>>2];i=Ea[v[b+204>>2]](g,h,c,d,e,f,v[b+68>>2])|0;if(i){h=f;d=v[a+12>>2];a:{if(d){b=v[e>>2];g=v[d+20>>2];c=v[a+20>>2];if((g|0)!=(c|0)){b=fQ(eQ(c,c>>31,b,b>>31),Da,g,g>>31)}v[e>>2]=b;e=v[f>>2];d=v[d+24>>2];a=v[a+24>>2];b=e;if((d|0)==(a|0)){break a}b=fQ(eQ(a,a>>31,e,e>>31),Da,d,d>>31);break a}b=v[f>>2]}v[h>>2]=b}return i|0}function Mj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b=v[c+76>>2];if(!b){break a}a=v[c+88>>2];d=b&7;c=0;if(b-1>>>0>=7){b=b&-8;while(1){t[(B(c,20)+a|0)+15|0]=0;t[(B(c|1,20)+a|0)+15|0]=0;t[(B(c|2,20)+a|0)+15|0]=0;t[(B(c|3,20)+a|0)+15|0]=0;t[(B(c|4,20)+a|0)+15|0]=0;t[(B(c|5,20)+a|0)+15|0]=0;t[(B(c|6,20)+a|0)+15|0]=0;t[(B(c|7,20)+a|0)+15|0]=0;c=c+8|0;b=b-8|0;if(b){continue}break}}if(!d){break a}while(1){t[(B(c,20)+a|0)+15|0]=0;c=c+1|0;d=d-1|0;if(d){continue}break}}}function cu(a){var b=0,c=0,d=0,e=0,f=0;b=Ca-48|0;Ca=b;a:{if(!a){break a}b:{c:{if(!sf(a,2)){v[b+36>>2]=0;v[b+32>>2]=451849;e=dc(a,b+32|0);if(!e){break a}c=ju(e);if(c){if(pm(c)){d=v[c+4>>2];v[b+16>>2]=420;d=Af(d,66,b+16|0);d:{if((d|0)==-1){break d}d=kl(d,451862);if(!d){break d}Lc(451648,200,1,d);qf(d);f=(iu(c)|0)!=0}om(c)}Pa(c)}Pa(e);if(!(w[656428]&16)){break a}if(!f){break c}c=451865;break b}if(!(w[656428]&16)){break a}}c=451893}v[b>>2]=a;Za(c,b)}Ca=b+48|0}function Iq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=Ca-16|0;Ca=f;v[f+12>>2]=0;e=v[d>>2];if(e){if(e){Ea[v[c+8>>2]](c,e)}v[d>>2]=0}a:{if(!b){e=0;break a}b:{e=b-1|0;if(w[e+a|0]){break b}b=e;if(e){break b}e=0;break a}e=0;c:{while(1){h=w[a+e|0];if(h>>>0<32){e=0;break a}if(h<<24>>24>=0){e=e+1|0;if((e|0)==(b|0)){break c}continue}break}e=0;break a}e=qb(c,b+1|0,f+12|0);g=v[f+12>>2];if(g){break a}i=Ta(e,a,b)+b|0,j=0,t[i|0]=j;g=v[f+12>>2]}v[d>>2]=e;Ca=f+16|0;return g}function QI(a,b,c){a=a|0;b=b|0;c=c|0;a:{b:{c:{switch((c-b|0)-2|0){case 0:if(w[b+1|0]!=116){break b}a=w[b|0];return((a|0)==108?60:(a|0)==103?62:0)|0;case 1:if(w[b|0]!=97|w[b+1|0]!=109){break b}c=38;if(w[b+2|0]!=112){break b}break a;case 2:break c;default:break b}}a=t[b|0]-97|0;if(a){if(w[b+1|0]!=117|w[b+2|0]!=111|(a|0)!=16){break b}c=34;if(w[b+3|0]!=116){break b}break a}if(w[b+1|0]!=112|w[b+2|0]!=111){break b}c=39;if(w[b+3|0]==115){break a}}c=0}return c|0}function PA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>65535){break a}c=v[a+16>>2];a=c+518|0;c=c+6|0;d=b>>>8|0;b:{if(!d){c=c+(b<<1&510)|0;if(!(w[c|0]<<8|w[c+1|0])){break b}break a}c=c+(d<<1)|0;c=w[c|0]<<8|w[c+1|0]&248;if(!c){break a}a=a+c|0}b=(b&255)-(w[a+1|0]|w[a|0]<<8)|0;if(b>>>0>=(w[a+3|0]|w[a+2|0]<<8)>>>0){break a}c=w[a+7|0]|w[a+6|0]<<8;if(!c){break a}b=a+6+(c+(b<<1))|0;b=w[b|0]<<8|w[b+1|0];if(!b){break a}e=b+(w[a+5|0]|w[a+4|0]<<8)&65535}return e|0}function yG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=Ca-16|0;Ca=e;d=uh();if(d){im(d,b);im(d,517516);Wt(d);a:{if(!Ji(v[a>>2],d,0)){break a}v[c+20>>2]=0;a=eb(100,4);v[c+4>>2]=a;if(!a){break a}v[e+12>>2]=0;if(Ed(d,517509,0,e+12|0)){break a}while(1){a=v[c+20>>2];if((a|0)>99){break a}b=v[e+12>>2];if(!Wa(b,517516)){break a}b=ib(b);v[e+12>>2]=b;if(!b){break a}v[v[c+4>>2]+(a<<2)>>2]=b;a=a+1|0;v[c+20>>2]=a;if(!Ed(d,517509,a,e+12|0)){continue}break}}Ce(d)}Ca=e+16|0}function Tb(a,b){var c=0,d=0;d=b&255;a:{if(d){if(a&3){while(1){c=w[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=v[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=B(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=v[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=w[a|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}a=c;break a}a=Xa(a)+a|0}return w[a|0]==(b&255)?a:0}function TK(a,b){a=a|0;b=b|0;var c=0;if(v[b+72>>2]==1651078259){c=v[a>>2];v[a+20>>2]=v[b+100>>2];v[a+24>>2]=v[b+104>>2];a=a+28|0;if(t[v[b+156>>2]+4|0]&1){c=v[b+80>>2];v[a>>2]=v[b+76>>2];v[a+4>>2]=c;c=v[b+96>>2];v[a+16>>2]=v[b+92>>2];v[a+20>>2]=c;c=v[b+88>>2];v[a+8>>2]=v[b+84>>2];v[a+12>>2]=c;a=v[b+156>>2];v[a+4>>2]=v[a+4>>2]&-2;return 0}if(a){v[a>>2]=0;v[a+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}a=kq(c,b+76|0,a)}else{a=18}return a|0}function hP(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;b=v[a+12>>2];v[e>>2]=0;v[d>>2]=0;f=b;g=v[b+76>>2];b=v[b+72>>2];f=Ea[v[b+184>>2]](f,g,c,d,e,v[b+48>>2])|0;if(f){c=e;g=v[a+12>>2];a:{if(g){b=v[d>>2];h=v[a+20>>2];i=v[g+20>>2];if((h|0)!=(i|0)){b=fQ(eQ(h,h>>31,b,b>>31),Da,i,i>>31)}v[d>>2]=b;d=v[e>>2];b=d;e=v[g+24>>2];a=v[a+24>>2];if((e|0)==(a|0)){break a}b=fQ(eQ(a,a>>31,d,d>>31),Da,e,e>>31);break a}b=v[e>>2]}v[c>>2]=b}return f|0}function gP(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;b=v[a+12>>2];v[e>>2]=0;v[d>>2]=0;f=b;g=v[b+76>>2];b=v[b+72>>2];f=Ea[v[b+188>>2]](f,g,c,d,e,v[b+52>>2])|0;if(f){c=e;g=v[a+12>>2];a:{if(g){b=v[d>>2];h=v[a+20>>2];i=v[g+20>>2];if((h|0)!=(i|0)){b=fQ(eQ(h,h>>31,b,b>>31),Da,i,i>>31)}v[d>>2]=b;d=v[e>>2];b=d;e=v[g+24>>2];a=v[a+24>>2];if((e|0)==(a|0)){break a}b=fQ(eQ(a,a>>31,d,d>>31),Da,e,e>>31);break a}b=v[e>>2]}v[c>>2]=b}return f|0}function qH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=37;g=951;h=33;a:{b:{c:{d:{switch(b-15|0){case 5:f=35;if(Ea[v[e+24>>2]](e,v[e+64>>2]+c|0,d,506459)|0){break b}f=36;if(Ea[v[e+24>>2]](e,v[e+64>>2]+c|0,d,506467)|0){break b}if(!(Ea[v[e+24>>2]](e,v[e+64>>2]+c|0,d,506476)|0)){break c}f=33;g=974;break b;case 0:break a;case 12:break b;default:break d}}if(v[a+16>>2]){break c}h=59;if((b|0)==28){break a}}f=-1;g=936}v[a>>2]=g;h=f}return h|0}function Zu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{e=v[b+36>>2];if((e|0)<1){break a}h=v[b+40>>2];c=-1;while(1){b:{f=v[(d<<2)+h>>2];g=x[f+8>>1];if((g|0)!=3){break b}c:{switch(x[f+10>>1]-1|0){case 0:case 9:break c;default:break b}}se(b,f);return}c=(g|0)==3?(c|0)<0?d:c:c;d=d+1|0;if((e|0)!=(d|0)){continue}break}if((c|0)<0){break a}se(b,v[v[b+40>>2]+(c<<2)>>2]);return}if(!v[b+92>>2]){if(!e){hb(a,2,364276,0);return}hb(a,2,364303,0);se(b,v[v[b+40>>2]>>2])}}function CO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{b=v[c+76>>2];if(!b){break a}a=v[c+88>>2];e=b&3;c=0;if(b-1>>>0>=3){b=b&-4;while(1){d=B(c,20)+a|0;u[d+12>>1]=x[d+12>>1]&65519;d=B(c|1,20)+a|0;u[d+12>>1]=x[d+12>>1]&65519;d=B(c|2,20)+a|0;u[d+12>>1]=x[d+12>>1]&65519;d=B(c|3,20)+a|0;u[d+12>>1]=x[d+12>>1]&65519;c=c+4|0;b=b-4|0;if(b){continue}break}}if(!e){break a}while(1){b=B(c,20)+a|0;u[b+12>>1]=x[b+12>>1]&65519;c=c+1|0;e=e-1|0;if(e){continue}break}}}function cg(a){var b=0,c=0,d=0;a:{b:{if(!a){break b}b=Va(40);if(!b){break b}v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=8;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;d=b+8|0;c=v[a+4>>2]<<2;c=c>>>0<32?c:32;Ra(d+c|0,0,c>>>0>31?0:32-c|0);Ta(d,a+8|0,c);if(!v[a>>2]){return b}c=gd();v[b>>2]=c;if(c){a=Oc(v[a>>2]);if(a){while(1){d=Wb(a);if(!d){break a}if(hd(c,d)){continue}break}qc(a)}bc(c)}Pa(b)}return 0}qc(a);return b}function Fy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=v[b+8>>2];a:{if(!a){break a}d=v[a>>2];if(!d){break a}while(1){Pa(d);d=v[a+4>>2];a=a+4|0;if(d){continue}break}a=v[b+8>>2]}Pa(a);v[b+8>>2]=0;b:{if(!c){break b}c:{if(!v[c>>2]){d=1;break c}d=2;a=c;while(1){if(!v[a+4>>2]){break c}a=a+4|0;d=d+1|0;continue}}a=eb(d,4);v[b+8>>2]=a;if(!a){break b}d=v[c>>2];if(!d){break b}while(1){e=a,f=ib(d),v[e>>2]=f;a=a+4|0;d=v[c+4>>2];c=c+4|0;if(d){continue}break}}}function fe(a){var b=0,c=0,d=0,e=0;b=Ca-4144|0;Ca=b;a:{b:{c=w[a|0];if((c|0)!=47){if((c|0)!=126){break b}c=0;d=Ii();if(!d){break a}e=Va((Xa(d)+Xa(a)|0)+1|0);if(!e){break a}a=ih(Ac(e,d),a+1|0);if(w[a|0]==47){c=Bg(a);Pa(a);break a}if(!nl(b+32|0)){Pa(a);break a}v[b+20>>2]=0;v[b+16>>2]=a;d=dc(b+32|0,b+16|0);c=Bg(d);Pa(d);Pa(a);break a}c=Bg(a);break a}if(!nl(b+32|0)){c=0;break a}v[b+4>>2]=0;v[b>>2]=a;a=dc(b+32|0,b);c=Bg(a);Pa(a)}Ca=b+4144|0;return c}function tu(a,b){var c=0,d=0,e=0;a:{while(1){b:{d=v[164081];c=d;if(c){while(1){if(!Wa(v[c+4>>2],a)){break b}c=v[c>>2];if(c){continue}break}}c=Va(16);if(!c){return 0}e=ib(a);v[c+8>>2]=-1;v[c+4>>2]=e;e=v[163727];v[163727]=e+1;v[c+12>>2]=e;if((e|0)<=1075){break a}v[c>>2]=d;e=v[164081];d=(e|0)==(d|0);v[164081]=d?c:e;if(d){break b}d=v[c+4>>2];if(d){Pa(d)}Pa(c);continue}break}if(b){v[b>>2]=v[c+12>>2]}return c+4|0}Lc(449424,41,1,v[130915]);aa();L()}function $k(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=-1;f=d&2147483647;i=f;g=c;a:{if(!c&(f|0)==2147418112?a|b:(f|0)==2147418112&(c|0)!=0|f>>>0>2147418112){break a}f=e&2147483647;j=f;if((f|0)==2147418112?0:f>>>0>2147418112){break a}if(!(a|g|(i|j|b))){return 0}g=d&e;if((g|0)>0?1:(g|0)>=0){if(!c&(d|0)==(e|0)?0:(d|0)<(e|0)){break a}return(a|c)!=0|(d^e|b)!=0}if(!c&(d|0)==(e|0)?a|b:(d|0)>(e|0)?1:(d|0)>=(e|0)?c:0){break a}h=(a|c)!=0|(d^e|b)!=0}return h}function bk(a,b,c,d,e){var f=0;a:{if(!b){f=280448;if(!e){break a}Ea[e|0](d);return 280448}b:{c:{if((b|0)<0){break c}f=eb(1,32);if(!f){break c}v[f+28>>2]=e;v[f+24>>2]=d;v[f+20>>2]=c;v[f+16>>2]=b;v[f+12>>2]=a;v[f>>2]=1;v[f+4>>2]=1;if(c){break a}v[f+20>>2]=1;c=Va(b);if(!c){break b}a=Ta(c,a,b);if(e){Ea[e|0](d)}v[f+28>>2]=431;v[f+24>>2]=a;v[f+12>>2]=a;v[f+20>>2]=2;return f}f=280448;if(!e){break a}Ea[e|0](d);return 280448}Sa(f);f=280448}return f}function ow(a,b){var c=0,d=0,e=0,f=0,g=0;f=v[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=v[b+8>>2];if(d>>>0<a>>>0|d-a>>>0<4){break a}e=v[b+12>>2]-4|0;v[b+12>>2]=e;if((e|0)<1){break a}c=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0>357913940){break a}if(c){a=a+4|0;if(a>>>0<f>>>0|a>>>0>d>>>0){break a}d=d-a|0;a=B(c,12);if(d>>>0<a>>>0){break a}a=e-a|0;v[b+12>>2]=a;if((a|0)<1){break a}}g=1}return g}function nD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=v[a+712>>2];a:{if(w[e+24|0]==2){f=11;e=xd(pc(v[v[a+96>>2]+4>>2],9992),10192,0);if(!e){break a}e=v[e>>2];if(!e){break a}return Ea[e|0](a,b,c,d)|0}a=v[e+3084>>2];if(!a){return 11}b=x[v[e+1188>>2]+(b<<1)>>1];if((b|0)==65535){break a}b:{if(b>>>0>=391){a=b-391|0;if(a>>>0>=y[e+1356>>2]){break a}a=v[v[e+1360>>2]+(a<<2)>>2];break b}a=Ea[v[a+20>>2]](b)|0}if(!a){break a}Gk(c,a,d)}return f|0}function ey(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ca-272|0;Ca=e;c=w[a+7|0]|w[a+6|0]<<8;f=c?c+a|0:280448;c=v[b+100>>2];d=0;a:{if((xb(f,v[v[c+88>>2]+B(v[c+72>>2],20)>>2])|0)==-1){break a}c=w[a+3|0];f=w[a+2|0];h=w[a+5|0];i=w[a+4|0];v[e+268>>2]=0;c=c|f<<8;d=0;if(!Lf(b,c,a+8|0,452,a,e+268|0,e,0)){break a}d=v[e+268>>2];if(d>>>0>=2){g=v[b+100>>2];f=v[g+72>>2];Mb(g,f,f+d|0)}d=lg(b,c,e,i<<8|h,((c<<1)+a|0)+6|0,d)}Ca=e+272|0;return d|0}function Lv(a,b,c,d){var e=0,f=0,g=0,h=0;if(a){f=v[(B(d,204)+c|0)+200>>2];while(1){d=v[b+24>>2];if(d){h=b;c=v[b+16>>2];e=v[d+8>>2];a:{if(c&512){break a}e=v[d+12>>2]+v[d+8>>2]|0;if(c&1024){break a}c=v[b+28>>2]-v[d>>2]|0;if((c|0)<=0){e=v[d+8>>2]+Qa(c,f)|0;break a}e=v[d+12>>2];g=v[d+8>>2];d=v[d+4>>2];if((d|0)<=(c|0)){e=Qa(c-d|0,f)+(e+g|0)|0;break a}e=fb(c,e,d)+g|0}v[h+36>>2]=e;v[b+16>>2]=v[b+16>>2]|32}b=b+40|0;a=a-1|0;if(a){continue}break}}}function fD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=v[a+8>>2];a:{if(!c){break a}b:{switch(w[a|0]){case 0:e=w[b+c|0];break a;case 3:break b;default:break a}}if(y[a+20>>2]>b-v[a+16>>2]>>>0){e=w[a+24|0];break a}d=c+2|0;g=c+v[a+12>>2]|0;c=w[c+1|0]|w[c|0]<<8;while(1){if(b>>>0<c>>>0){break a}f=w[d+2|0]|w[d+1|0]<<8;if(f>>>0>b>>>0){e=w[d|0];t[a+24|0]=e;v[a+20>>2]=f-c;v[a+16>>2]=c;break a}c=f;d=d+3|0;if(g>>>0>d>>>0){continue}break}}return e|0}function dv(a){var b=0,c=0;b=v[a+8>>2];if(b){c=1;if(v[a+16>>2]>=1){Pa(v[b>>2]);if(v[a+16>>2]>=2){while(1){Pa(v[v[a+8>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)<v[a+16>>2]){continue}break}}b=v[a+8>>2]}Pa(b)}b=v[a+4>>2];if(b){c=1;if(v[a+12>>2]>=1){Pa(v[b>>2]);if(v[a+12>>2]>=2){while(1){Pa(v[v[a+4>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)<v[a+12>>2]){continue}break}}b=v[a+4>>2]}Pa(b)}b=v[a+32>>2];if(b){Pa(b)}b=v[a+40>>2];if(b){Pa(b)}a=v[a+44>>2];if(a){Pa(a)}}function dd(a,b){var c=0,d=0,e=0;a:{d=Pd(a);b:{if(!d){break b}while(1){if(e){c=Vc(v[a+16>>2]);if(!c){break a}v[c+8>>2]=d;v[c>>2]=b;v[c+12>>2]=e;d=c}e=d;d=Pd(a);if(d){continue}break}b=v[a+1312>>2];c:{if(b>>>0<=63){v[a+1312>>2]=b+1;b=(B(b,24)+a|0)+1320|0;break c}b=Va(24);if(!b){break b}}v[b+8>>2]=0;v[b>>2]=v[a+4>>2];d=b;c=v[a>>2];if(c){c=v[c>>2]}else{c=0}v[d+4>>2]=c;v[a+4>>2]=b;v[b+8>>2]=18;v[b+16>>2]=e}return}db(a,2,511350,0);Ab(d);Ab(e)}function kH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=51;g=977;h=39;a:{b:{c:{d:{switch(b-15|0){case 5:if(!(Ea[v[e+24>>2]](e,v[e+64>>2]+c|0,d,506492)|0)){break c}f=43;g=978;break b;case 8:v[a+4>>2]=2;f=44;g=979;break b;case 15:f=53;break b;case 16:f=52;break b;case 17:f=54;break b;case 0:break a;case 3:case 26:break b;default:break d}}if(v[a+16>>2]){break c}h=59;if((b|0)==28){break a}}f=-1;g=936}v[a>>2]=g;h=f}return h|0}function Lk(a,b,c,d){var e=0,f=0,g=0;if(!a){return 35}if(!c){return 6}if(!d){return 6}t[c|0]=0;f=16;a:{if(v[a+16>>2]<=(b|0)){break a}if(!(w[a+9|0]&2)){return 6}f=6;b:{c:{g=v[a+128>>2];e=v[g+40>>2];switch(e+2|0){case 0:break a;case 2:break c;default:break b}}e=v[a+96>>2];f=v[v[e>>2]+32>>2];d:{if(!f){e=0;break d}e=Ea[f|0](e,4197)|0;g=v[a+128>>2]}v[g+40>>2]=e?e:-2}if(!e){return 6}f=6;e=v[e>>2];if(!e){break a}f=Ea[e|0](a,b,c,d)|0}return f}function Ft(a,b,c){var d=0,e=0,f=0,g=0;e=1;a:{b:{if((c|0)<1){break b}while(1){g=w[b|0];d=v[a+12>>2];c:{if((d|0)!=v[a+16>>2]){f=v[a>>2];break c}e=0;if(v[a+8>>2]){break b}d:{if(!v[a+4>>2]){e=d- -64|0;f=Va(e);if(!f){break a}v[a+4>>2]=1;Ta(f,v[a>>2],d);break d}e=d<<1;f=gb(v[a>>2],e);if(!f){break a}d=v[a+12>>2]}v[a>>2]=f;v[a+16>>2]=e}b=b+1|0;e=1;v[a+12>>2]=d+1;t[d+f|0]=g;d=(c|0)>1;c=c-1|0;if(d){continue}break}}return e}v[a+8>>2]=1;return 0}function px(a){var b=0,c=0,d=0,e=0;if((a|0)==280448){return 0}c=w[a+1|0]|w[a|0]<<8;if(!c){return 2}b=w[a+2|0];e=B(b,c+1|0);a:{if(!b){b=0;break a}d=b&3;a=(B(b,c)+a|0)+3|0;if(b-1>>>0<3){b=0}else{b=b&252;while(1){c=a;a=a+4|0;b=b-4|0;if(b){continue}break}b=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(!d){break a}while(1){b=w[a|0]|b<<8;a=a+1|0;d=d-1|0;if(d){continue}break}}return(b+e|0)+2|0}
|
||
function _H(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{e=c-2|0;c=b+2|0;if((e-c|0)>=2){g=a+72|0;while(1){a=b;b=c;if(w[a+2|0]){break a}c=w[a+3|0];a=c<<24>>24;c=w[c+g|0]-9|0;b:{c:{if(c>>>0>26){break c}f=1<<c;if(f&132499443){break b}if(!(f&139264)){if((c|0)!=12){break c}if((a|0)!=9){break b}break a}if((a|0)>-1){break b}}if((a|0)==64){break b}if((a|0)!=36){break a}}c=b+2|0;if((e-c|0)>1){continue}break}}return 1}v[d>>2]=b;return 0}function pI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{e=c-2|0;c=b+2|0;if((e-c|0)>=2){g=a+72|0;while(1){a=b;b=c;if(w[a+3|0]){break a}c=w[b|0];a=c<<24>>24;c=w[c+g|0]-9|0;b:{c:{if(c>>>0>26){break c}f=1<<c;if(f&132499443){break b}if(!(f&139264)){if((c|0)!=12){break c}if((a|0)!=9){break b}break a}if((a|0)>-1){break b}}if((a|0)==64){break b}if((a|0)!=36){break a}}c=b+2|0;if((e-c|0)>1){continue}break}}return 1}v[d>>2]=b;return 0}function jj(a,b,c){var d=0,e=0,f=0;a:{if(!v[c+20>>2]){v[b>>2]=0;v[b+4>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;break a}a=1<<v[a>>2];d=0-a|0;e=v[c+8>>2];f=d>>>0<e>>>0?e:d&(a+e|0)-1;d=v[c+12>>2];if(f>>>0>(2147483647-a>>>0)/(((d|0)>1?d:1)>>>0)>>>0){break a}a=Ee(a,a+B(d,f)|0,0);if(!a){break a}v[b+20>>2]=a;v[b+16>>2]=f;v[b+12>>2]=d;v[b+8>>2]=e;v[b>>2]=v[c>>2];v[b+4>>2]=v[c+4>>2];Ta(a,v[c+20>>2],B(v[c+12>>2],v[c+16>>2]))}}function Hs(){var a=0,b=0,c=0,d=0;c=Yb(515691);a:{if(!v[163728]){break a}if(!(!c|!w[c|0])){return ib(c)}a=Yb(515686);if(a){d=Xa(a)}c=Va(d+8|0);if(!c){break a}if(a){Ta(c,a,d)}b=c+d|0;a=w[515706]|w[515707]<<8|(w[515708]<<16|w[515709]<<24);t[b|0]=a;t[b+1|0]=a>>>8;t[b+2|0]=a>>>16;t[b+3|0]=a>>>24;a=w[515709]|w[515710]<<8|(w[515711]<<16|w[515712]<<24);t[b+3|0]=a;t[b+4|0]=a>>>8;t[b+5|0]=a>>>16;t[b+6|0]=a>>>24;t[c+(d+7|0)|0]=0;b=c}return b}function kk(a){a=a|0;var b=0,c=0;if(a){c=v[a+100>>2];vq(v[a+140>>2]);b=v[a+144>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+144>>2]=0;b=v[a+132>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+132>>2]=0;b=v[a+136>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+136>>2]=0;b=v[a+20>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+20>>2]=0;b=v[a+24>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+24>>2]=0;b=v[a+32>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+32>>2]=0;b=v[a+140>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+140>>2]=0}}function FF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){b=v[a+540>>2];d=v[a+104>>2];e=v[a+100>>2];c=v[a+716>>2];if(c){Ea[c|0](v[a+712>>2])}if(b){Ea[v[b+12>>2]](a)}Qb(v[a+104>>2],a+764|0);v[a+760>>2]=0;c=v[a+104>>2];b=v[c+28>>2];f=v[a+784>>2];if(f){Ea[v[b+8>>2]](b,f)}v[a+784>>2]=0;Qb(c,a+768|0);b=v[a+704>>2];if(b){Ea[v[e+8>>2]](e,b)}v[a+700>>2]=0;v[a+704>>2]=0;Qb(d,a+688|0);Qb(d,a+696|0);v[a+692>>2]=0;v[a+684>>2]=0;vr(a);v[a+736>>2]=0}}function Il(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=Ca-48|0;Ca=d;while(1){e=a;a=v[e+472>>2];if(a){continue}break}if(v[e+540>>2]>=1){f=v[e+536>>2];a=v[e+532>>2];g=v[e+528>>2];h=w[b+33|0];i=v[b>>2];b=v[b+8>>2];v[d+40>>2]=c;v[d+36>>2]=b;v[d+32>>2]=509449;v[d+28>>2]=i;v[d+24>>2]=h?508104:508106;v[d+20>>2]=509099;v[d+16>>2]=(a<<1)-2;v[d+12>>2]=f;v[d+8>>2]=a;v[d+4>>2]=g;v[d>>2]=e;$b(v[130915],509364,d)}v[e+532>>2]=v[e+532>>2]-1;Ca=d+48|0}function th(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=v[a+8>>2]+a|0;c=v[a>>2];a:{if((c|0)<=0){b=0}else{e=c-1|0;while(1){c=e+f>>1;g=v[(c<<3)+d>>2]-b|0;if(!g){break a}h=(g|0)<0;f=h?c+1|0:f;e=h?e:c-1|0;if((f|0)<=(e|0)){continue}break}b=(g>>>31|0)+c|0}c=b^-1}if(!(!d|(c|0)<0)){dg(v[((c<<3)+d|0)+4>>2]);c=(c<<3)+d|0;b=c+8|0;mb(c,b,((v[a+8>>2]+a|0)+(v[a>>2]<<3)|0)-b|0);b=v[a>>2]-1|0;v[a>>2]=b;a=(v[a+8>>2]+a|0)+(b<<3)|0;v[a>>2]=0;v[a+4>>2]=0}}function rE(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;f=v[a+496>>2];if(!f){return 6}g=v[f+32>>2];if(g){a=0;while(1){e=v[f+28>>2]+B(a,20)|0;a:{if(v[e>>2]!=(c|0)){break a}h=v[e+4>>2];if((h|0)>(b|0)){v[d>>2]=v[e+8>>2];break a}i=v[e+12>>2];if((i|0)<(b|0)){v[d>>2]=v[e+16>>2];break a}j=d,k=fb(b-h|0,v[e+16>>2]-v[e+8>>2]|0,i-h|0)+v[e+8>>2]|0,v[j>>2]=k;g=v[f+32>>2]}a=a+1|0;if(g>>>0>a>>>0){continue}break}}return 0}function Yu(a,b,c,d,e){var f=0,g=0;f=Ca-32|0;Ca=f;a:{if(ri(b,c,e,f+28|0)){v[f+20>>2]=e;v[f+16>>2]=c;hb(a,2,364349,f+16|0);a=0;break a}b:{c:{if(!d|(e|0)>-1){break c}g=v[f+28>>2];if(v[g>>2]<1){break c}e=0;while(1){zd(g);if(ri(b,c,e,f+28|0)){break b}g=Kk(v[f+28>>2]);if(g){if(!Wa(g,d)){break c}}e=e+1|0;g=v[f+28>>2];if((e|0)<v[g>>2]){continue}break}}a=v[f+28>>2];break a}v[f+4>>2]=e;v[f>>2]=c;hb(a,2,364349,f);a=0}Ca=f+32|0;return a}function xC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=v[a+16>>2];if(!e){v[b>>2]=0;return 0}i=v[a+20>>2];f=v[b>>2];a:while(1){f=f+1|0;c=0;d=e;while(1){g=(d-c>>>1|0)+c|0;h=v[(g<<4)+i>>2];if((h|0)==(f|0)){if(!g){continue a}v[b>>2]=f;return g+1|0}h=f>>>0>h>>>0;d=h?d:g;c=h?g+1|0:c;if(d>>>0>c>>>0){continue}break}break}d=0;if(c>>>0>=e>>>0){v[b>>2]=0;return 0}e=0;if(c){e=v[v[a+20>>2]+(c<<4)>>2];d=c+1|0}v[b>>2]=e;return d|0}function _L(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Ca-16|0;Ca=f;wc(a,v[a+8>>2]);g=v[a>>2];v[f+12>>2]=g;h=v[a+8>>2];a:{if(h>>>0<=g>>>0){break a}j=a;b:{if(e){i=3;if(w[g|0]!=60){break a}v[f+12>>2]=g+1;k=d,l=uv(f+12|0,h,b,c),v[k>>2]=l;b=v[f+12>>2];v[a>>2]=b;if(w[b|0]!=62?b>>>0<y[a+8>>2]:0){break a}a=b+1|0;break b}k=d,l=uv(f+12|0,h,b,c),v[k>>2]=l;a=v[f+12>>2]}v[j>>2]=a;i=0}Ca=f+16|0;return i|0}function Ww(a){var b=0,c=0;a=a?a:654360;b=eb(1,96);if(!b){Dx(654048);return 654048}v[b>>2]=1;v[b+4>>2]=1;if(v[a+4>>2]){v[a+4>>2]=0}v[b+12>>2]=654048;a:{b:{c:{if(!a){break c}c=v[a>>2];if(!c){break c}if((c|0)<=0){break b}v[a>>2]=c+1}c=a;break a}O(280363,280388,262,280403);L()}v[b+72>>2]=654144;v[b+16>>2]=c;v[b+84>>2]=b;a=Ej(a);v[b+40>>2]=65536;v[b+44>>2]=0;v[b+20>>2]=a;v[b+24>>2]=a;v[b+32>>2]=65536;v[b+36>>2]=0;Dx(b);return b}function Nn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ca-272|0;Ca=e;c=w[b+7|0]|w[b+6|0]<<8;f=c?c+b|0:280448;c=v[a+100>>2];d=0;a:{if((xb(f,v[v[c+88>>2]+B(v[c+72>>2],20)>>2])|0)==-1){break a}c=w[b+3|0];h=w[b+5|0];f=w[b+2|0];i=w[b+4|0];v[e+268>>2]=0;c=c|f<<8;d=0;if(!Lf(a,c,b+8|0,452,b,e+268|0,e,0)){break a}d=v[e+268>>2];if(d>>>0>=2){g=v[a+100>>2];f=v[g+72>>2];Mb(g,f,f+d|0)}d=lg(a,c,e,i<<8|h,((c<<1)+b|0)+6|0,d)}Ca=e+272|0;return d}function zJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=v[b>>2]&(v[c>>2]^-1);v[a>>2]=d;e=v[b+4>>2]&(v[c+4>>2]^-1);v[a+4>>2]=e;f=v[b+8>>2]&(v[c+8>>2]^-1);v[a+8>>2]=f;g=v[b+12>>2]&(v[c+12>>2]^-1);v[a+12>>2]=g;h=v[b+16>>2]&(v[c+16>>2]^-1);v[a+16>>2]=h;i=v[b+20>>2]&(v[c+20>>2]^-1);v[a+20>>2]=i;j=v[b+24>>2]&(v[c+24>>2]^-1);v[a+24>>2]=j;k=a;a=v[b+28>>2]&(v[c+28>>2]^-1);v[k+28>>2]=a;return(a|j|i|h|g|f|e|d)!=0|0}function Wl(a){var b=0,c=0,d=0;b=Ca-48|0;Ca=b;if(a){d=v[130914];while(1){Gc(b+16|0,a+8|0);c=v[b+28>>2];v[b+40>>2]=v[b+24>>2];v[b+44>>2]=c;c=v[b+20>>2];v[b+32>>2]=v[b+16>>2];v[b+36>>2]=c;Rb(32);c=v[b+44>>2];v[b+8>>2]=v[b+40>>2];v[b+12>>2]=c;c=v[b+36>>2];v[b>>2]=v[b+32>>2];v[b+4>>2]=c;oh(d,b);c=v[a+24>>2];if(c>>>0<=2){c=v[(c<<2)+499700>>2]}else{c=499653}Za(c,0);c=a;a=v[a>>2];a=a&1?c+(a&-2)|0:a;if(a){continue}break}}Ca=b+48|0}function mJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;a:{f=v[b>>2];if(f>>>0>=c>>>0){break a}i=a+72|0;j=a+372|0;while(1){g=v[d>>2];if(g>>>0<e>>>0){g=b;h=x[(w[f|0]<<1)+j>>1];b:{if(!h){h=Ea[v[a+364>>2]](v[a+368>>2],f)|0;f=v[b>>2];f=(w[w[f|0]+i|0]+f|0)-3|0;break b}f=f+1|0}v[g>>2]=f;g=v[d>>2];v[d>>2]=g+2;u[g>>1]=h;f=v[b>>2];if(f>>>0<c>>>0){continue}break a}break}if((e|0)!=(g|0)){break a}return 2}return 0}function Nk(a,b){var c=0,d=0,e=0,f=0,g=0;f=Ca-16|0;Ca=f;c=0;a:{if(!a){break a}d=v[a+92>>2];c=0;if(!d){break a}c=0;if(!v[a+16>>2]){break a}e=Ea[v[v[d+12>>2]+12>>2]](d,0)|0;g=v[a+16>>2];c=0;if(g>>>0>e>>>0?e:0){break a}e=0;d=v[a+92>>2];c=0;if(!d){break a}c=0;if(!g){break a}v[f+12>>2]=0;while(1){e=Ea[v[v[d+12>>2]+16>>2]](d,f+12|0)|0;if(e>>>0>=y[a+16>>2]){continue}break}c=e?v[f+12>>2]:0}a=c;if(b){v[b>>2]=e}Ca=f+16|0;return a}function Id(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=c;d=v[b+4>>2];e=32-d|0;a:{b:{if(!e){if(w[a|0]){break a}a=a+2|0;break b}g=v[b>>2]>>>d|0;f=g&255;h=(f<<2)+a|0;c=w[h|0];if(c>>>0<=8){if(c>>>0>e>>>0){break a}v[b+4>>2]=c+d;a=((f<<2)+a|0)+2|0;break b}if(e>>>0<9){break a}a=(x[((f<<2)+a|0)+2>>1]+((v[(c<<2)+29296>>2]&g)>>>8|0)<<2)+h|0;c=w[a|0];if(c>>>0>24-d>>>0){break a}v[b+4>>2]=(c+d|0)+8;a=a+2|0}v[i>>2]=x[a>>1];j=1}return j}function zE(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;v[d>>2]=0;v[d+4>>2]=0;e=v[a+496>>2];if(e){h=d;a=v[e+36>>2];e=(a+(v[e+40>>2]<<4)|0)-16|0;a:{if(a>>>0<=e>>>0){c=b<<16|c;while(1){f=(e-a>>4)/2|0;b=(f<<4)+a|0;g=v[b>>2]<<16|v[b+4>>2];if((c|0)==(g|0)){a=(f<<4)+a|0;v[d>>2]=v[a+8>>2];a=v[a+12>>2];break a}f=c>>>0>g>>>0;a=f?b+16|0:a;e=f?e:b-16|0;if(a>>>0<=e>>>0){continue}break}}v[d>>2]=0;a=0}v[h+4>>2]=a}return 0}function hk(a,b){var c=0,d=0,e=0,f=0,g=0;c=b&-4;if(c){while(1){e=(w[(d|3)+a|0]|(w[(d|1)+a|0]<<16|w[a+d|0]<<24|w[(d|2)+a|0]<<8))+e|0;d=d+4|0;if(c>>>0>d>>>0){continue}break}}if((b|0)!=(c|0)){d=0;a:{if(b>>>0<=c>>>0){break a}f=b&1;if((0-b|0)!=(c^-1)){b=(b&3)-f|0;while(1){g=c<<3&16;d=w[(c|1)+a|0]<<(g^16)|(w[a+c|0]<<(g^24)|d);c=c+2|0;b=b-2|0;if(b){continue}break}}if(!f){break a}d=w[a+c|0]<<((c<<3^-1)&24)|d}e=d+e|0}return e}function hB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=v[a>>2];d=v[f+140>>2];c=v[b+8>>2];g=v[f+32>>2];e=v[b+16>>2];if(e){c=(B(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(v[b>>2]){case 0:c=23;if((e|0)==v[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(v[d+44>>2]+v[d+40>>2]|0)){break a}}c=0;te(f,0);v[a+24>>2]=v[d+40>>2]<<6;v[a+28>>2]=0-(v[d+44>>2]<<6);v[a+36>>2]=x[d+4>>1]<<6}return c|0}function Dg(a,b){var c=0,d=0,e=0;a:{while(1){b:{c=a+1|0;c:{d:{a=w[a|0];if((a|0)!=63){if(!a){break b}if((a|0)!=42){break d}if(!w[c|0]){return 1}if(!Tb(c,42)){a=0;d=Xa(b);e=Xa(c);if(d>>>0<e>>>0){break a}b=(d-e|0)+b|0}a=0;if(!w[b|0]){break a}while(1){if(!Dg(c,b)){b=b+1|0;if(w[b|0]){continue}break a}break}return 1}if(w[b|0]){break c}return 0}if((a|0)==w[b|0]){break c}return 0}b=b+1|0;a=c;continue}break}a=!w[b|0]}return a}function Ae(a,b){var c=0,d=0,e=0,f=0;f=w[b|0];if(!f){return 1}a:{while(1){b:{c=v[a+12>>2];c:{if((c|0)!=v[a+16>>2]){d=v[a>>2];break c}e=0;if(v[a+8>>2]){break b}d:{if(!v[a+4>>2]){e=c- -64|0;d=Va(e);if(!d){break a}v[a+4>>2]=1;Ta(d,v[a>>2],c);break d}e=c<<1;d=gb(v[a>>2],e);if(!d){break a}c=v[a+12>>2]}v[a>>2]=d;v[a+16>>2]=e}e=1;v[a+12>>2]=c+1;t[c+d|0]=f;b=b+1|0;f=w[b|0];if(f){continue}}break}return e}v[a+8>>2]=1;return 0}function Sa(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=v[a>>2];if(!b){break b}if((b|0)<=0){break a}v[a>>2]=b-1;if((b|0)!=1){break b}v[a>>2]=-57005;b=v[a+8>>2];if(b){c=v[b+8>>2];if(c){while(1){c=c-1|0;d=v[b+12>>2]+B(c,12)|0;e=v[d+8>>2];d=v[d+4>>2];v[b+8>>2]=c;if(e){Ea[e|0](d);c=v[b+8>>2]}if(c){continue}break}}Pa(v[b+12>>2]);Pa(b)}b=v[a+28>>2];if(b){Ea[b|0](v[a+24>>2])}Pa(a)}return}O(227968,227993,272,228028);L()}function wM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=v[a+24>>2];v[a+48>>2]=b;d=v[a+28>>2];v[a+52>>2]=d;e=v[a+8>>2];f=e+v[a>>2]|0;v[a+8>>2]=f>>1;c=b;b=v[a+16>>2];c=c+b|0;v[a+40>>2]=c>>1;b=b+e|0;e=b+f|0;v[a+16>>2]=e>>2;b=b+c|0;v[a+32>>2]=b>>2;c=d;d=v[a+20>>2];f=c+d|0;v[a+44>>2]=f>>1;c=v[a+12>>2];g=c+v[a+4>>2]|0;v[a+12>>2]=g>>1;v[a+24>>2]=b+e>>3;b=d+c|0;d=b+f|0;v[a+36>>2]=d>>2;b=b+g|0;v[a+20>>2]=b>>2;v[a+28>>2]=b+d>>3}function Sp(a,b,c){var d=0,e=0,f=0;a:{b:{if(!c|!a){break b}e=v[a+16>>2];if(e>>>0<=b>>>0){break b}if(v[a+4>>2]){v[a+4>>2]=0}f=v[a+12>>2];d=v[a>>2];if(d){if((d|0)<=0){break a}v[a>>2]=d+1}c:{d=e-b|0;d=c>>>0>d>>>0?d:c;if(!d|(d|0)<0){break c}c=eb(1,32);if(!c){break c}v[c+28>>2]=432;v[c+24>>2]=a;v[c+20>>2]=1;v[c+16>>2]=d;v[c+12>>2]=b+f;v[c>>2]=1;v[c+4>>2]=1;return c}Sa(a)}return 280448}O(227968,227993,262,228008);L()}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;a:{if(!w[a+733|0]){break a}d=v[a+736>>2];if(!d){break a}if(!w[d+32|0]){e=hr(a,0);d=v[a+736>>2];v[d+36>>2]=e}if(!w[d+33|0]){return v[d+36>>2]}d=v[d+40>>2];e=v[d+28>>2];b:{if(e){f=e;e=v[d+20>>2];e=(b>>>0<e>>>0?b:e-1|0)<<2;b=v[f+e>>2];f=v[e+v[d+24>>2]>>2];break b}e=6;if(y[v[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=xk(a,d,f,b)+v[c>>2]|0,v[g>>2]=h;e=0}return e|0}function OE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!w[a+733|0]){break a}d=v[a+736>>2];if(!d){break a}if(!w[d+44|0]){e=hr(a,1);d=v[a+736>>2];v[d+48>>2]=e}if(!w[d+45|0]){return v[d+48>>2]}d=v[d+52>>2];e=v[d+28>>2];b:{if(e){f=e;e=v[d+20>>2];e=(b>>>0<e>>>0?b:e-1|0)<<2;b=v[f+e>>2];f=v[e+v[d+24>>2]>>2];break b}e=6;if(y[v[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=xk(a,d,f,b)+v[c>>2]|0,v[g>>2]=h;e=0}return e|0}function jP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Ca-16|0;Ca=b;v[b+12>>2]=c;d=v[a+72>>2];e=v[d+176>>2];a:{if((e|0)!=v[163580]){Ea[e|0](a,v[a+76>>2],1,b+12|0,0,b+8|0,0,v[d+40>>2]);c=v[b+8>>2];break a}d=v[a+12>>2];e=v[d+72>>2];c=Ea[v[e+168>>2]](d,v[d+76>>2],c,v[e+32>>2])|0;d=v[a+12>>2];if(!d){break a}d=v[d+20>>2];a=v[a+20>>2];if((d|0)==(a|0)){break a}c=fQ(eQ(a,a>>31,c,c>>31),Da,d,d>>31)}Ca=b+16|0;return c|0}function iP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Ca-16|0;Ca=b;v[b+12>>2]=c;d=v[a+72>>2];e=v[d+180>>2];a:{if((e|0)!=v[163581]){Ea[e|0](a,v[a+76>>2],1,b+12|0,0,b+8|0,0,v[d+44>>2]);c=v[b+8>>2];break a}d=v[a+12>>2];e=v[d+72>>2];c=Ea[v[e+172>>2]](d,v[d+76>>2],c,v[e+36>>2])|0;d=v[a+12>>2];if(!d){break a}d=v[d+24>>2];a=v[a+24>>2];if((d|0)==(a|0)){break a}c=fQ(eQ(a,a>>31,c,c>>31),Da,d,d>>31)}Ca=b+16|0;return c|0}function dm(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(a<0){a=-1}else{a=a<1e3?a:1e3;c=1;while(1){b=c;c=b+1|0;d=v[(b<<3)+452496>>2];f=+(d|0);if(f<a){continue}break}if(a==f){return+v[(b<<3)+452500>>2]}b=b<<3;c=v[b+452488>>2];d=d-c|0;if((d|0)<1){break a}e=v[b+452500>>2];b=v[b+452492>>2];e=e-b|0;if((e|0)<0){break a}g=+(c|0);if(!(a>=g)|!(a<=f)){break a}a=(a-g)*+(e|0)/+(d|0)+ +(b|0)}return a}O(452600,452640,48,452651);L()}function Ni(a,b,c,d){var e=0,f=0,g=0,h=0;e=Ca-16|0;Ca=e;v[e+12>>2]=c;a:{if(!w[b+68|0]){b:{if(v[a+144>>2]==(b|0)){f=a+284|0;c=a+288|0;break b}f=v[a+296>>2];c=f+4|0}while(1){v[e+8>>2]=v[a+44>>2];h=Ea[v[b+56>>2]](b,e+12|0,d,e+8|0,v[a+48>>2])|0;v[c>>2]=v[e+12>>2];g=v[a+44>>2];Ea[v[a+80>>2]](v[a+4>>2],g,v[e+8>>2]-g|0);v[f>>2]=v[e+12>>2];if(h>>>0>=2){continue}break}break a}Ea[v[a+80>>2]](v[a+4>>2],c,d-c|0)}Ca=e+16|0}function xh(a,b){var c=0,d=0,e=0;c=1;a:{b:{c:{d:{e:{d=w[a|0];switch((((d-65&255)>>>0<26?d+32|0:d)&255)-48|0){case 1:case 68:case 73:break b;case 2:case 52:case 72:break c;case 63:break d;case 0:case 54:case 62:break e;default:break a}}c=0;break b}f:{a=w[a+1|0];switch((((a-65&255)>>>0<26?a+32|0:a)&255)-102|0){case 8:break b;case 12:break c;case 0:break f;default:break a}}c=0;break b}c=2}v[b>>2]=c;e=1}return e}function Pf(a,b){var c=0,d=0,e=0;c=Ca-16|0;Ca=c;v[c+12>>2]=0;e=cc(a,c+12|0);d=v[c+12>>2];a:{if(d){break a}b:{c:{d:{e:{e=e&255;switch(e-253|0){case 1:break c;case 2:break d;case 0:break e;default:break b}}e=kb(a,c+12|0);d=v[c+12>>2];if(!d){break b}break a}a=cc(a,c+12|0);d=v[c+12>>2];if(d){break a}e=(a&255)+253|0;break b}a=cc(a,c+12|0);d=v[c+12>>2];if(d){break a}e=(a&255)+506|0}u[b>>1]=e;d=0}Ca=c+16|0;return d}function Ac(a,b){var c=0,d=0;d=a;a:{b:{if((d^b)&3){break b}if(b&3){while(1){c=w[b|0];t[d|0]=c;if(!c){break a}d=d+1|0;b=b+1|0;if(b&3){continue}break}}c=v[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){v[d>>2]=c;c=v[b+4>>2];d=d+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}c=w[b|0];t[d|0]=c;if(!c){break a}while(1){c=w[b+1|0];t[d+1|0]=c;d=d+1|0;b=b+1|0;if(c){continue}break}}return a}function uJ(a){a=a|0;var b=0,c=0,d=0,e=0;c=Ca-16|0;Ca=c;v[c>>2]=0;v[c+4>>2]=a;a=0;while(1){a:{b:{if(a){d=a+1|0;v[c>>2]=d;b=w[a|0];if(b){break b}v[c>>2]=0}a=v[c+4>>2];while(1){d=a+1|0;v[c+4>>2]=d;b=w[a|0];a=d;if((b|0)==32){continue}break}c:{if(b>>>0>=192){b=Pc(c,b);break c}if((b-65&255)>>>0>=26){break c}b=b+32|0;d=0;break b}if(!b){break a}d=v[c>>2]}a=d;e=b&255^(e<<3^e>>>3);continue}break}Ca=c+16|0;return e|0}function rs(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ca-16|0;Ca=e;a:{b:{if(!Tb(522964,t[b|0])){v[164114]=28;break b}c=2;if(!Tb(b,43)){c=w[b|0]!=114}c=Tb(b,120)?c|128:c;c=Tb(b,101)?c|524288:c;d=c;g=c|64;c=w[b|0];d=(c|0)==114?d:g;d=(c|0)==119?d|512:d;v[e>>2]=438;a=Y(a|0,((c|0)==97?d|1024:d)|32768,e|0)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}if((a|0)<0){break a}f=kl(a,b);if(f){break a}T(a|0)|0}f=0}Ca=e+16|0;return f}function NB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=v[b+8>>2];f=v[a>>2];g=v[f+32>>2];e=v[f+132>>2];d=v[b+16>>2];if(d){c=(B(c,d)+36|0)/72|0}d=c+32>>6;c=7;a:{b:{c:{switch(v[b>>2]){case 0:c=23;if((d|0)==v[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((d|0)!=x[e+96>>1]){break a}}c=0;te(f,0);b=x[e+80>>1];v[a+24>>2]=b<<6;v[a+28>>2]=b-x[e+96>>1]<<6;v[a+36>>2]=x[e+102>>1]<<6}return c|0}function zK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;kj(b);a:{a=v[a>>2];b:{if(!a){break b}e=v[a-8>>2];if(!e){break a}b=a-4|0;c=v[b>>2];if(!c){break a}d=b;b=c-1|0;v[d>>2]=b;if(b){break b}d=a-32|0;b=v[d>>2];if(b){c=v[a-24>>2];if(c){v[c+12>>2]=v[a-20>>2]}v[v[a-20>>2]>>2]=c;v[b+32>>2]=v[b+32>>2]-1;v[b+20>>2]=v[b+20>>2]-e}b=v[a-28>>2];Ea[v[b+16>>2]](a+(v[b+24>>2]+7&-8)|0,a);Pa(d)}return}O(364907,364851,432,364955);L()}function wB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[b+8>>2];d=v[a>>2];f=v[d+32>>2];e=v[b+16>>2];if(e){c=(B(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(v[b>>2]){case 0:c=23;if((e|0)==v[f+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(v[d+208>>2]+v[d+204>>2]|0)){break a}}c=0;te(d,0);v[a+24>>2]=v[d+204>>2]<<6;v[a+28>>2]=0-(v[d+208>>2]<<6);v[a+36>>2]=u[d+236>>1]<<6}return c|0}function YA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=v[a+20>>2];h=v[a+16>>2];a:{b:{if(h){e=v[b>>2]+1|0;a=h>>>1|0;g=h;while(1){d=c+g>>>1|0;d=a>>>0>=g>>>0?d:a>>>0<c>>>0?d:a;f=v[(d<<3)+i>>2];if((f|0)==(e|0)){c=d;break b}a=(e+d|0)-f|0;f=e>>>0<f>>>0;c=f?c:d+1|0;g=f?d:g;if(c>>>0<g>>>0){continue}break}}e=0;if(c>>>0>=h>>>0){break a}e=v[(c<<3)+i>>2]}j=x[((c<<3)+i|0)+4>>1]+1&65535}v[b>>2]=e;return j|0}function Cc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=v[a>>2];a:{if((d|0)<=0){c=0}else{i=v[a+8>>2]+a|0;e=d-1|0;while(1){d=e+f>>1;g=v[(d<<3)+i>>2]-c|0;if(!g){break a}h=(g|0)<0;f=h?d+1|0:f;e=h?e:d-1|0;if((f|0)<=(e|0)){continue}break}c=(g>>>31|0)+d|0}d=c^-1}e=0;v[b>>2]=0;if((d|0)>=0){v[b+4>>2]=d;b:{if(!a){break b}c=v[a>>2];if((c|0)<1|(c|0)<=(d|0)){break b}e=(v[a+8>>2]+a|0)+(d<<3)|0}v[b>>2]=e;a=1}else{a=0}return a}function fp(a,b){var c=0,d=0,e=0;a:{if(!(w[b+3|0]|w[b+2|0]<<8?1:w[b+1|0]|w[b|0]<<8)){break a}c=v[a+156>>2];v[a+156>>2]=c+1;if(c>>>0>500){break a}if(ep(a,b,a+60|0)){break a}c=w[b+1|0]|w[b|0]<<8;if(c){dp(a,b+c|0)}e=w[b+3|0]|w[b+2|0]<<8;if(!e){break a}c=0;while(1){d=(w[b+3|0]|w[b+2|0]<<8)>>>0>c>>>0?(B(c,6)+b|0)+4|0:280448;d=w[d+4|0]<<8|w[d+5|0];dp(a,d?d+b|0:280834);c=c+1|0;if((e|0)!=(c|0)){continue}break}}}function OI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{e=c-1|0;c=b+1|0;if((e-c|0)>=1){g=a+72|0;while(1){b=w[c|0];a=b<<24>>24;b=w[b+g|0]-9|0;b:{c:{if(b>>>0>26){break c}f=1<<b;if(f&132499443){break b}if(!(f&139264)){if((b|0)!=12){break c}if((a|0)!=9){break b}break a}if((a|0)>-1){break b}}if((a|0)==64){break b}if((a|0)!=36){break a}}c=c+1|0;if((e-c|0)>0){continue}break}}return 1}v[d>>2]=c;return 0}function NI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;a=v[b>>2];a:{if((c|0)!=(a|0)){while(1){f=v[d>>2];g=t[a|0];b:{if((g|0)<=-1){a=2;if((e-f|0)<2){break a}v[d>>2]=f+1;t[f|0]=(g&192)>>>6|192;a=v[d>>2];v[d>>2]=a+1;t[a|0]=g&63|128;a=v[b>>2]+1|0;v[b>>2]=a;break b}if((e|0)==(f|0)){return 2}v[b>>2]=a+1;a=w[a|0];f=v[d>>2];v[d>>2]=f+1;t[f|0]=a;a=v[b>>2]}if((a|0)!=(c|0)){continue}break}}a=0}return a|0}function Qj(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;f=w[a+1|0]|w[a|0]<<8;if(!f){return 0}g=a+2|0;while(1){d=w[g+1|0]|w[g|0]<<8;d=d?d+a|0:280448;k=w[d|0];l=w[d+1|0];h=d+(l<<1|k<<9)|0;e=h+2|0;i=w[e|0]<<8|w[h+3|0];e=(i?i<<1:2)+e|0;m=w[e|0];n=w[e+1|0];j=e+(n<<1|m<<9)|0;d=go(b,l|k<<8,d+2|0,i,h+4|0,n|m<<8,e+2|0,w[j+3|0]|w[j+2|0]<<8,j+4|0,c);if(!d){g=g+2|0;f=f-1|0;if(f){continue}}break}return d}function kz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=v[a+872>>2];a:{if(!d){break a}f=v[d+36>>2];if(!f){break a}e=v[c+4>>2];a=v[c>>2];if(e>>>0>=a>>>0){break a}g=B(a-e|0,6);a=v[c+8>>2];if(g+a>>>0>v[d+40>>2]+f>>>0){break a}d=w[a|0]|w[a+1|0]<<8;u[b>>1]=d<<8|d>>>8;d=w[a+2|0]|w[a+3|0]<<8;u[b+2>>1]=d<<8|d>>>8;d=b;b=w[a+4|0]|w[a+5|0]<<8;u[d+4>>1]=b<<8|b>>>8;h=1;v[c+4>>2]=e+1;v[c+8>>2]=a+6}return h|0}function kQ(a,b,c){var d=0,e=0,f=0,g=0;g=c&63;f=g;d=f&31;if(f>>>0>=32){d=-1>>>d|0}else{e=-1>>>d|0;d=(1<<d)-1<<32-d|-1>>>d}f=d&a;d=b&e;e=g&31;if(g>>>0>=32){d=f<<e;g=0}else{d=(1<<e)-1&f>>>32-e|d<<e;g=f<<e}f=d;e=0-c&63;d=e;c=d&31;if(d>>>0>=32){d=-1<<c;c=0}else{d=(1<<c)-1&-1>>>32-c|-1<<c;c=-1<<c}a=c&a;d=b&d;b=e&31;if(e>>>0>=32){c=0;a=d>>>b|0}else{c=d>>>b|0;a=((1<<b)-1&d)<<32-b|a>>>b}a=a|g;Da=c|f;return a}
|
||
function xg(a,b){var c=0,d=0,e=0,f=0;e=((Ea[v[a+908>>2]](b)>>>0)%227<<2)+a|0;a:{while(1){c=v[e>>2];if(!c){break a}d=e;if(Ea[v[a+912>>2]](v[c+4>>2],b)|0){while(1){d=c;c=v[c>>2];if(!c){break a}if(Ea[v[a+912>>2]](v[c+4>>2],b)|0){continue}break}}f=d;d=v[d>>2];v[f>>2]=(c|0)==(d|0)?v[c>>2]:d;if((c|0)!=(d|0)){continue}break}b=v[a+924>>2];if(b){Ea[b|0](v[c+4>>2])}a=v[a+928>>2];if(a){Ea[a|0](v[c+8>>2])}Pa(c)}}function nK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{a=v[a>>2];b:{if(!a){break b}e=v[a-8>>2];if(!e){break a}b=a-4|0;c=v[b>>2];if(!c){break a}d=b;b=c-1|0;v[d>>2]=b;if(b){break b}d=a-32|0;b=v[d>>2];if(b){c=v[a-24>>2];if(c){v[c+12>>2]=v[a-20>>2]}v[v[a-20>>2]>>2]=c;v[b+32>>2]=v[b+32>>2]-1;v[b+20>>2]=v[b+20>>2]-e}b=v[a-28>>2];Ea[v[b+16>>2]](a+(v[b+24>>2]+7&-8)|0,a);Pa(d)}return}O(364907,364851,432,364955);L()}function ml(a){var b=0,c=0,d=0;b=Ca-16|0;Ca=b;o(+a);d=j(1)|0;j(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=gh(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}b:{switch(vs(a,b)&3){case 0:c=gh(A[b>>3],A[b+8>>3]);break a;case 1:c=-hh(A[b>>3],A[b+8>>3],1);break a;case 2:c=-gh(A[b>>3],A[b+8>>3]);break a;default:break b}}c=hh(A[b>>3],A[b+8>>3],1)}a=c;Ca=b+16|0;return a}function zM(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;f=v[a+4>>2];e=0-f|0;a:{if((e&(c+f|0)-1)!=(c|0)){break a}c=c>>v[a>>2];if((c|0)<0|c>>>0>=y[a+96>>2]){break a}c=(v[a+52>>2]+(b>>3)|0)-B(c,v[a+104>>2])|0;t[c|0]=w[c|0]|128>>>(b&7);e=0-v[a+4>>2]|0}b:{if((d&e)!=(d|0)){break b}c=d>>v[a>>2];if((c|0)<0|c>>>0>=y[a+96>>2]){break b}a=(v[a+52>>2]+(b>>3)|0)-B(c,v[a+104>>2])|0;t[a|0]=w[a|0]|128>>>(b&7)}}function kn(a){if(v[a+4>>2]){v[a+44>>2]=0;v[a+48>>2]=0;v[a+32>>2]=0;v[a+80>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;t[a+70|0]=0;u[a+68>>1]=1;t[a+168|0]=0;v[a+100>>2]=0;v[a+104>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;v[a+64>>2]=0;v[a+92>>2]=v[a+88>>2];v[a+108>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;v[a+120>>2]=0;v[a+124>>2]=0;v[a+128>>2]=0;v[a+132>>2]=0;v[a+136>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0}}function Qz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{b:{c:{if(b){h=142;g=x[a+152>>1];if(!g){break b}f=v[a+156>>2];i=f+(g<<4)|0;while(1){d:{if(v[f>>2]==(b|0)){g=v[f+12>>2];if(g){break d}}f=f+16|0;if(i>>>0>f>>>0){continue}break b}break}c=v[f+8>>2]+c|0;break c}g=v[v[a+104>>2]+4>>2]}if(!e){f=g;break a}f=v[e>>2];if(f){break a}v[e>>2]=g;h=0}return h|0}return ni(v[a+104>>2],c,d,f)|0}function KG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ca-16|0;Ca=d;f=-1;a:{b:{c:{switch(v[a>>2]-1|0){case 0:e=+v[a+8>>2];break b;case 1:break c;default:break a}}e=A[a+8>>3]}d:{e:{switch(v[b>>2]-1|0){case 0:f=+v[b+8>>2];break d;case 1:break e;default:break a}}f=A[b+8>>3]}Gc(d,b);a=v[d+12>>2];v[c+8>>2]=v[d+8>>2];v[c+12>>2]=a;a=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=a;e=f-e;f=e<0?-e:e}Ca=d+16|0;return+f}function YH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;a=v[b>>2];c=c-a&-2;f=a+c|0;g=c;c=v[d>>2];if((g|0)>(e-c|0)){g=f-2|0;h=(w[g|0]&248)==216;f=h?g:f}a:{if(a>>>0>=f>>>0){break a}if(c>>>0<e>>>0){while(1){a=w[a|0]|w[a+1|0]<<8;v[d>>2]=c+2;u[c>>1]=a<<8|a>>>8;a=v[b>>2]+2|0;v[b>>2]=a;if(a>>>0>=f>>>0){break a}c=v[d>>2];if(e>>>0>c>>>0){continue}break}}if((c|0)!=(e|0)){break a}h=2}return h|0}function GH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=39;a:{b:{c:{switch(b-15|0){case 3:if(Ea[v[e+24>>2]](e,c,d,506482)|0){v[a+8>>2]=39;v[a>>2]=957;return 42}if(!(Ea[v[e+24>>2]](e,c,d,506488)|0)){break b}v[a+8>>2]=39;v[a>>2]=957;return 41;case 8:v[a+4>>2]=1;v[a>>2]=960;return 44;case 0:break a;default:break c}}if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=936;f=-1}return f|0}function XH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=934;a:{b:{c:{d:{e:{switch(b-11|0){case 1:f=1;break b;case 0:f=55;break b;case 2:f=56;break b;case 5:if(!(Ea[v[e+24>>2]](e,(v[e+64>>2]<<1)+c|0,d,506336)|0)){break d}f=3;g=935;break b;case 18:f=2;break c;case 3:break a;case 4:break b;default:break e}}if(v[a+16>>2]){break d}f=59;if((b|0)==28){break a}}f=-1}g=936}v[a>>2]=g}return f|0}function xl(a){var b=0,c=0;a:{b:{if(!a){be();while(1){c:{a=v[164112];if(a){break c}a=_f();if(!a){continue}be();b=v[164112];v[164112]=b?b:a;if(!b){break c}ac(a);continue}break}v[a+68>>2]=v[a+68>>2]+1;b=0;if(!a){break a}break b}v[a+68>>2]=v[a+68>>2]+1}c=zf();d:{if(!c){break d}b=v[a+52>>2];if(b){le(b)}v[a+52>>2]=c;b=0;if(!Os(a,v[a+8>>2])){break d}b=1;if(!(w[656428]&8)){break d}Ct(c)}ac(a)}return b}function Ob(a,b){var c=0,d=0,e=0,f=0;d=Ca-16|0;Ca=d;v[b>>2]=0;a:{b:{c:{d:{c=v[a+8>>2];if(y[a+4>>2]<=c+3>>>0){break d}e=v[a+20>>2];e:{if(e){if((Ea[e|0](a,c,d+12|0,4)|0)!=4){break d}c=v[a+8>>2];b=d+12|0;break e}b=v[a>>2];if(!b){break c}b=b+c|0}b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}v[b>>2]=85;break a}f=0}v[a+8>>2]=c+4}Ca=d+16|0;return f}function Uk(a,b,c){var d=0,e=0,f=0;e=b;d=v[c+16>>2];a:{if(!d){d=0;if(Yr(c)){break a}d=v[c+16>>2]}f=v[c+20>>2];if(d-f>>>0<e>>>0){return Ea[v[c+36>>2]](c,a,b)|0}b:{if(t[c+75|0]>-1){d=b;while(1){e=d;d=b;if(!e){break b}d=e-1|0;if(w[d+a|0]!=10){continue}break}d=Ea[v[c+36>>2]](c,a,e)|0;if(e>>>0>d>>>0){break a}a=a+e|0;f=v[c+20>>2];d=b-e|0;break b}d=b}e=d;Ta(f,a,e);v[c+20>>2]=e+v[c+20>>2];d=b}return d}function MG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Ca-16|0;Ca=d;e=v[a+8>>2];f=v[b+8>>2];Gc(d,b);g=v[d+12>>2];v[c+8>>2]=v[d+8>>2];v[c+12>>2]=g;g=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=g;c=e&1?(e&-2)+a|0:e;a=w[c|0];e=f&1?(f&-2)+b|0:f;b=w[e|0];a:{if(!((((a-65&255)>>>0<26?a+32|0:a)|0)==(((b-65&255)>>>0<26?b+32|0:b)|0)|(a|0)==32)){h=1;if((b|0)!=32){break a}}h=Db(c,e)?1:0}Ca=d+16|0;return+h}function ou(){var a=0,b=0,c=0,d=0;a=v[164084];a:{if(a){break a}while(1){a=4096;b:{while(1){c:{b=Va(a);if(b){d=a-1|0;c=ol(449498,b,d);if((c|0)>-1){break c}Pa(b)}a=ib(449513);break b}if(c>>>0>=d>>>0){Pa(b);a=a<<1;continue}break}t[b+c|0]=0;a=Se(b,47);a=ib(a?a+1|0:b);if(!a){a=ib(449513)}Pa(b)}b=v[164084];v[164084]=b?b:a;if(!b){break a}Pa(a);a=v[164084];if(!a){continue}break}}return w[a|0]|!a?a:0}function dy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Ca-16|0;Ca=d;c=w[a+3|0]|w[a+2|0]<<8;e=c?c+a|0:280448;c=v[b+100>>2];c=xb(e,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);if((c|0)!=-1){c=c>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((c<<1)+a|0)+6|0:280448;f=w[c+1|0];c=w[c|0];e=v[57533];v[d+8>>2]=v[57532];v[d+12>>2]=e;e=v[57531];v[d>>2]=v[57530];v[d+4>>2]=e;e=a;a=f|c<<8;f=Qj(a?e+a|0:280448,b,d)}Ca=d+16|0;return f|0}function XA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[c+4>>2];a=v[a+20>>2]+B(b,56)|0;v[a>>2]=v[c>>2];v[a+4>>2]=d;b=v[c+52>>2];v[a+48>>2]=v[c+48>>2];v[a+52>>2]=b;b=v[c+44>>2];v[a+40>>2]=v[c+40>>2];v[a+44>>2]=b;b=v[c+36>>2];v[a+32>>2]=v[c+32>>2];v[a+36>>2]=b;b=v[c+28>>2];v[a+24>>2]=v[c+24>>2];v[a+28>>2]=b;b=v[c+20>>2];v[a+16>>2]=v[c+16>>2];v[a+20>>2]=b;b=v[c+12>>2];v[a+8>>2]=v[c+8>>2];v[a+12>>2]=b}function ll(a){var b=0,c=0;b=Ca-16|0;Ca=b;o(+a);c=j(1)|0;j(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}a=hh(a,0,0);break a}if(c>>>0>=2146435072){a=a-a;break a}b:{switch(vs(a,b)&3){case 0:a=hh(A[b>>3],A[b+8>>3],1);break a;case 1:a=gh(A[b>>3],A[b+8>>3]);break a;case 2:a=-hh(A[b>>3],A[b+8>>3],1);break a;default:break b}}a=-gh(A[b>>3],A[b+8>>3])}Ca=b+16|0;return a}function Yp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=6;d=v[a+868>>2];a:{if(!d|x[a+648>>1]<=b>>>0){break a}e=8;b=v[d+8>>2]+(b<<1)|0;b=w[b|0]<<8|w[b+1|0];c=x[a+660>>1];if(x[d+2>>1]<b+c>>>0){break a}e=0;if(!c){break a}a=v[a+672>>2];c=a+(c<<2)|0;b=v[d+4>>2]+(b<<2)|0;while(1){t[a|0]=w[b|0];t[a+1|0]=w[b+1|0];t[a+2|0]=w[b+2|0];t[a+3|0]=w[b+3|0];b=b+4|0;a=a+4|0;if(c>>>0>a>>>0){continue}break}}return e|0}function jk(a){var b=0,c=0,d=0,e=0,f=0;b=v[a+4>>2];a:{if((b|0)!=32){c=b-8|0;b=v[a+8>>2];break a}b=v[a+12>>2];if(!b){return 0}c=v[a>>2]>>>8|0;v[a>>2]=c;d=v[a+8>>2];e=w[d|0];v[a+12>>2]=b-1;v[a+4>>2]=24;b=d+1|0;v[a+8>>2]=b;v[a>>2]=c|e<<24;c=16}b:{if(!(b&1)){break b}d=v[a+12>>2];if(!d){break b}e=v[a>>2]>>>8|0;v[a>>2]=e;f=w[b|0];v[a+12>>2]=d-1;v[a+4>>2]=c;v[a+8>>2]=b+1;v[a>>2]=e|f<<24}return 1}function EI(a,b){a=a|0;b=b|0;var c=0,d=0;a=1;c=t[b+2|0];a:{if((c|0)>-1){break a}b:{c:{d:{d=w[b|0];if((d|0)==239){b=w[b+1|0];if((b|0)!=191){break d}if((c&255)>>>0>189){break a}a=128;b=1;break b}if((c&255)>>>0>191){break a}b=w[b+1|0];if((d|0)!=224){break c}return(b&224)!=160|0}if((c&255)>>>0>191){break a}}if(!(b&128)){break a}b=b&255;a=b&192;b=b>>>0>159}a=(d|0)==237?b:(a|0)==192}return a|0}function TH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=7;f=939;h=3;a:{b:{c:{d:{switch(b-15|0){case 2:g=8;f=940;break b;case 3:g=3;f=941;if(Ea[v[e+24>>2]](e,c,d,506344)|0){break b}f=942;if(!(Ea[v[e+24>>2]](e,c,d,506351)|0)){break c}break b;case 0:break a;case 10:break b;default:break d}}if(v[a+16>>2]){break c}h=59;if((b|0)==28){break a}}g=-1;f=936}v[a>>2]=f;h=g}return h|0}function Lz(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ea[v[a+516>>2]](a,1330851634,b,0)|0;a:{if(c){break a}d=a+372|0;c=ub(b,162896,d);if(c){break a}v[a+468>>2]=0;v[a+460>>2]=0;v[a+464>>2]=0;v[a+452>>2]=0;v[a+456>>2]=0;u[a+472>>1]=65535;if(!x[a+372>>1]){return 0}c=ub(b,163072,d);if(c){break a}if(x[d>>1]<2){return 0}c=ub(b,163088,d);if(c){break a}c=0;if(x[d>>1]<5){break a}c=ub(b,163120,d)}return c|0}function nI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=v[b>>2];c=c-f&-2;a=c+f|0;h=c;c=v[d>>2];if((h|0)>(e-c|0)){g=(w[a-1|0]&248)==216;a=g?a-2|0:a}a:{if(a>>>0<=f>>>0){break a}if(c>>>0<e>>>0){while(1){f=w[f|0]|w[f+1|0]<<8;v[d>>2]=c+2;u[c>>1]=f;f=v[b>>2]+2|0;v[b>>2]=f;if(a>>>0<=f>>>0){break a}c=v[d>>2];if(e>>>0>c>>>0){continue}break}}if((c|0)!=(e|0)){break a}g=2}return g|0}function hK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=-1;e=v[(v[a>>2]+(v[a+16>>2]<<2)|0)+68>>2];a:{b:{if(fd(e,v[a+20>>2],2560)){a=b;break b}d=v[e+84>>2];a=v[d+28>>2];v[b>>2]=v[d+24>>2];v[b+4>>2]=a;a=v[d+52>>2];v[b+24>>2]=v[d+48>>2];v[b+28>>2]=a;e=v[d+44>>2];a=b+16|0;v[a>>2]=v[d+40>>2];v[a+4>>2]=e;e=v[d+36>>2];v[b+8>>2]=v[d+32>>2];v[b+12>>2]=e;if(!c){break a}d=v[b+28>>2]}v[a>>2]=d}return 1}function dM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[a+8>>2]=c;v[a+4>>2]=b;v[a+12>>2]=0;v[a+16>>2]=d;v[a>>2]=b;b=v[74872];v[a+20>>2]=v[74871];v[a+24>>2]=b;b=v[74874];v[a+28>>2]=v[74873];v[a+32>>2]=b;b=v[74876];v[a+36>>2]=v[74875];v[a+40>>2]=b;b=v[74878];v[a+44>>2]=v[74877];v[a+48>>2]=b;b=v[74880];v[a+52>>2]=v[74879];v[a+56>>2]=b;b=v[74882];v[a+60>>2]=v[74881];v[a+64>>2]=b;v[a+68>>2]=v[74883]}function Ua(a,b,c,d,e,f){var g=0;g=6;a:{b:{if((c|0)<0|(d|0)<0|(b|0)<0){break b}if(!(b?d:0)){if(!e){break a}Ea[v[a+8>>2]](a,e);break a}g=10;if((2147483647/(b>>>0)|0)<(d|0)){break b}c:{if(!c){e=Ea[v[a+4>>2]](a,B(b,d))|0;g=!e<<6;break c}a=Ea[v[a+12>>2]](a,B(b,c),B(b,d),e)|0;e=a?a:e;g=!a<<6}if(g|!e|(c|0)>=(d|0)){break b}g=0;Ra(B(b,c)+e|0,0,B(d-c|0,b))}v[f>>2]=g;return e}v[f>>2]=0;return 0}function Rp(a,b){var c=0,d=0,e=0;c=Ca-48|0;Ca=c;v[c+16>>2]=0;v[c+20>>2]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;d=Nb(b);t[c+44|0]=1;v[c+40>>2]=d;d=np(c+8|0,Jb(b,1195656518));v[a>>2]=d;e=d?d:280448;if(op(y[e+16>>2]<12?280448:v[e+12>>2],d,b)){Sa(v[a>>2]);v[a>>2]=280448}Ca=c+48|0}function EA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=v[b>>2]+1|0;if(c>>>0<=65535){h=b;d=v[a+16>>2];a=w[d+6|0]<<8|w[d+7|0];c=a>>>0>c>>>0?a:c;b=c-a|0;g=w[d+9|0]|w[d+8|0]<<8;e=0;a:{if(b>>>0>=g>>>0){break a}a=(d+(b<<1)|0)+10|0;while(1){f=w[a+1|0]|w[a|0]<<8;e=c;if(f){break a}if(c>>>0>65534){return 0}a=a+2|0;c=c+1|0;b=b+1|0;if((g|0)!=(b|0)){continue}break}f=0;e=0}v[h>>2]=e}return f|0}function VF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;b=Ca-48|0;Ca=b;g=v[a>>2];f=bd(g,c,4449);a:{if(!f){a=64;break a}v[b+28>>2]=f;v[b+16>>2]=4;b:{a=fh(a,b+16|0,b+12|0);if(a){break b}c=v[b+12>>2];if(!c){a=81;break b}a=wd(c,333319,e);e=v[c+28>>2];h=v[c+24>>2];if(h){Ea[h|0](c)}Ea[v[e+8>>2]](e,c);if(a){break b}v[d>>2]=f;a=0;break a}Ea[v[g+8>>2]](g,f)}Ca=b+48|0;return a|0}function TF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=6;b=Xa(c);g=b+6|0;a:{b:{if((b|0)>=-5){a=v[a>>2];a=Ea[v[a+4>>2]](a,g)|0;if(a){break b}return 64}if(g){break a}a=0}f=0;c=Ta(a,c,b);a=c+b|0;b=w[4474]|w[4475]<<8;t[a+4|0]=b;t[a+5|0]=b>>>8;b=w[4470]|w[4471]<<8|(w[4472]<<16|w[4473]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;v[d>>2]=c;v[e>>2]=0}return f|0}function QF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;b=Ca-48|0;Ca=b;g=v[a>>2];f=bd(g,c,4501);a:{if(!f){a=64;break a}v[b+28>>2]=f;v[b+16>>2]=4;b:{a=fh(a,b+16|0,b+12|0);if(a){break b}c=v[b+12>>2];if(!c){a=81;break b}a=wd(c,333319,e);e=v[c+28>>2];h=v[c+24>>2];if(h){Ea[h|0](c)}Ea[v[e+8>>2]](e,c);if(a){break b}v[d>>2]=f;a=0;break a}Ea[v[g+8>>2]](g,f)}Ca=b+48|0;return a|0}function PF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;b=Ca-48|0;Ca=b;g=v[a>>2];f=bd(g,c,4503);a:{if(!f){a=64;break a}v[b+28>>2]=f;v[b+16>>2]=4;b:{a=fh(a,b+16|0,b+12|0);if(a){break b}c=v[b+12>>2];if(!c){a=81;break b}a=wd(c,333319,e);e=v[c+28>>2];h=v[c+24>>2];if(h){Ea[h|0](c)}Ea[v[e+8>>2]](e,c);if(a){break b}v[d>>2]=f;a=0;break a}Ea[v[g+8>>2]](g,f)}Ca=b+48|0;return a|0}function LF(a){a=a|0;var b=0,c=0,d=0;b=v[a+196>>2];d=b+10|0;if(d>>>0<=y[a+200>>2]){c=w[b|0]|w[b+1|0]<<8;u[a+32>>1]=c<<8|c>>>8;c=w[b+2|0]|w[b+3|0]<<8;v[a+36>>2]=(c<<8|c>>>8)<<16>>16;c=w[b+4|0]|w[b+5|0]<<8;v[a+40>>2]=(c<<8|c>>>8)<<16>>16;c=w[b+6|0]|w[b+7|0]<<8;v[a+44>>2]=(c<<8|c>>>8)<<16>>16;b=w[b+8|0]|w[b+9|0]<<8;v[a+196>>2]=d;v[a+48>>2]=(b<<8|b>>>8)<<16>>16;a=0}else{a=20}return a|0}function gM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Ca-16|0;Ca=e;d=v[a>>2];a:{if(!d){break a}f=v[a+32>>2];b=qb(f,v[a+4>>2],e+12|0);v[a>>2]=b;if(v[e+12>>2]){break a}Ta(b,d,v[a+4>>2]);b=v[a+16>>2];if((b|0)>=1){c=v[a+24>>2];g=c+(b<<2)|0;h=v[a>>2]-d|0;while(1){b=v[c>>2];if(b){v[c>>2]=b+h}c=c+4|0;if(g>>>0>c>>>0){continue}break}}v[a+8>>2]=v[a+4>>2];if(d){Ea[v[f+8>>2]](f,d)}}Ca=e+16|0}function gL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{d=a?a+b|0:0;if(d>>>0<=a>>>0){break a}d=d-a|0;d=b>>>0>d>>>0?d:b;if(!d){break a}b=0;if((d|0)!=1){f=d&-2;while(1){e=a+b|0;g=w[e|0];t[e|0]=g^c>>>8;h=(b|1)+a|0;e=w[h|0];c=B(c+g|0,52845)+22719|0;t[h|0]=e^c>>>8;c=B(c+e|0,52845)+22719&65535;b=b+2|0;f=f-2|0;if(f){continue}break}}if(!(d&1)){break a}a=a+b|0;t[a|0]=w[a|0]^c>>>8}}function PP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a=v[b+8>>2];a:{if(a){break a}a=0;while(1){f=v[b>>2];if(!f){a=280448;break a}e=eb(1,48);b:{if(!e){if(a){break b}a=280448;v[b+8>>2]=280448;break a}nn(e,f);if(!v[b+8>>2]){a=e;v[b+8>>2]=a;break a}a=v[e+44>>2];Sa(a?a:280448);Pa(e);a=v[b+8>>2]}if(!a){continue}break}}b=v[a+8>>2];if(!b){return 0}return Ea[b|0](v[a+12>>2],c,d)|0}function Ib(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}e=v[a-8>>2];if(!e){break a}b=a-4|0;c=v[b>>2];if(!c){break a}d=b;b=c-1|0;v[d>>2]=b;if(b){break b}d=a-32|0;b=v[d>>2];if(b){c=v[a-24>>2];if(c){v[c+12>>2]=v[a-20>>2]}v[v[a-20>>2]>>2]=c;v[b+32>>2]=v[b+32>>2]-1;v[b+20>>2]=v[b+20>>2]-e}b=v[a-28>>2];Ea[v[b+16>>2]]((v[b+24>>2]+7&-8)+a|0,a);Pa(d)}return}O(364907,364851,432,364955);L()}function xf(a,b){var c=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=8;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;a:{if(!a){break a}c=Ve(a);if((c|0)>=0){a=w[c+495048|0];c=a>>>5|0;if(c>>>0>=y[b+4>>2]){break a}c=(c<<2)+b|0;v[c+8>>2]=v[c+8>>2]|1<<a;return b}v[b+52>>2]=b+60;v[b+48>>2]=1;v[b>>2]=b+40;v[b+60>>2]=a;v[b+40>>2]=1;v[b+44>>2]=1}return b}function tq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;v[b>>2]=0;a:{if(!a){break a}e=v[a+8>>2];if(!e){break a}d=v[v[a>>2]>>2];f=d;while(1){g=w[f|0];if(g){while(1){t[c+d|0]=g;c=c+1|0;g=w[f+1|0];f=f+1|0;if(g){continue}break}e=v[a+8>>2]}h=h+1|0;if(h>>>0<e>>>0){t[c+d|0]=32;e=v[a+8>>2];c=c+1|0}if(e>>>0>h>>>0){f=v[v[a>>2]+(h<<2)>>2];continue}break}if((d|0)!=28945){t[c+d|0]=0}v[b>>2]=c}return d}function pf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(!(!a|!b)){c=u[a+2>>1];a:{if(!c){c=0;break a}a=v[a+4>>2];d=v[a+4>>2];e=v[a>>2];if((c|0)<2){c=d;f=e;break a}h=(c<<3)+a|0;g=a+8|0;f=e;c=d;while(1){a=v[a+12>>2];c=(a|0)>(c|0)?a:c;d=(a|0)<(d|0)?a:d;a=v[g>>2];f=(a|0)>(f|0)?a:f;e=(a|0)<(e|0)?a:e;a=g;g=a+8|0;if(h>>>0>g>>>0){continue}break}}v[b+8>>2]=f;v[b>>2]=e;v[b+12>>2]=c;v[b+4>>2]=d}}function wA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[a+16>>2];a=c;a=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(d>>>0>b>>>0){break a}a=c;a=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=b-d|0;if(e>>>0<=a>>>0){break a}a=(c+20|0)+(a<<1)|0;f=w[a|0]<<8|w[a+1|0]}return f|0}function Ls(a,b){var c=0,d=0,e=0;e=Ca-16|0;Ca=e;if(b){while(1){c=v[b+16>>2];c=c&1?((c&-2)+b|0)+8|0:c;if(!Od(v[a+4>>2],c,e+12|0)){d=Va(4);v[e+12>>2]=d;v[d>>2]=0;Al(v[a+4>>2],c,d)}d=v[e+12>>2];v[d>>2]=v[d>>2]+1;if(!Od(v[a>>2],c,e+12|0)){d=Va(4);v[e+12>>2]=d;v[d>>2]=0;Al(v[a>>2],c,d)}c=v[e+12>>2];v[c>>2]=v[c>>2]+1;c=b;b=v[b>>2];b=b&1?c+(b&-2)|0:b;if(b){continue}break}}Ca=e+16|0}function IH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=11;a:{b:{c:{switch(b-15|0){case 3:if(Ea[v[e+24>>2]](e,c,d,506344)|0){v[a>>2]=955;return 11}if(!(Ea[v[e+24>>2]](e,c,d,506351)|0)){break b}v[a>>2]=956;return 11;case 12:v[a+8>>2]=11;v[a>>2]=957;return 12;case 0:break a;default:break c}}if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=936;f=-1}return f|0}function EH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=11;a:{b:{c:{switch(b-15|0){case 3:if(Ea[v[e+24>>2]](e,c,d,506344)|0){v[a>>2]=963;return 11}if(!(Ea[v[e+24>>2]](e,c,d,506351)|0)){break b}v[a>>2]=964;return 11;case 12:v[a+8>>2]=11;v[a>>2]=957;return 12;case 0:break a;default:break c}}if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=936;f=-1}return f|0}function UP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{switch(b-6078|0){case 0:v[c>>2]=6081;v[d>>2]=6078;return 1;case 1:v[c>>2]=6081;v[d>>2]=6079;return 1;case 2:v[c>>2]=6081;v[d>>2]=6080;return 1;case 6:v[c>>2]=6081;v[d>>2]=6084;return 1;case 7:v[c>>2]=6081;v[d>>2]=6085;return 1;default:break a}}a=v[a+12>>2];v[c>>2]=b;v[d>>2]=0;return(Ea[v[a+40>>2]](a,b,c,d,v[a+72>>2])|0)!=0|0}function mu(a,b){var c=0;a:{c=a-1|0;if(c>>>0<=51){a=(c<<3)+449520|0;break a}a=su(a);if(a){break a}return 1}c=1;b:{c:{d:{e:{f:{g:{a=v[a+4>>2];switch(a+1|0){case 0:break b;case 10:break e;case 9:break f;case 2:case 3:break g;default:break d}}if(b-1>>>0>=2){break c}break b}return(b|0)==8|(b|0)==3}if(!(1<<b&518)|b>>>0>9){break c}break b}if((a|0)==(b|0)){break b}}c=0}return c}function mh(a,b){var c=0,d=0,e=0;a:{c=Pd(a);if(!c){break a}d=Vc(v[a+16>>2]);if(!d){Ab(c);db(a,2,511350,0);return}v[d+8>>2]=c;v[d>>2]=b;v[d+12>>2]=0;b=v[a+1312>>2];b:{if(b>>>0<=63){v[a+1312>>2]=b+1;b=(B(b,24)+a|0)+1320|0;break b}b=Va(24);if(!b){break a}}v[b+8>>2]=0;v[b>>2]=v[a+4>>2];e=b;c=v[a>>2];if(c){c=v[c>>2]}else{c=0}v[e+4>>2]=c;v[a+4>>2]=b;v[b+8>>2]=18;v[b+16>>2]=d}}function hn(a,b){var c=0,d=0,e=0,f=0;e=6;a:{if(!b){break a}if(!a){return 35}if(!(t[a+9|0]&1)){break a}b:{c:{d=v[a+128>>2];c=v[d+32>>2];switch(c+2|0){case 0:break a;case 2:break c;default:break b}}c=v[a+96>>2];f=v[v[c>>2]+32>>2];d:{if(!f){c=0;break d}c=Ea[f|0](c,282205)|0;d=v[a+128>>2]}v[d+32>>2]=c?c:-2}if(!c){break a}c=v[c+16>>2];if(!c){break a}e=Ea[c|0](a,b)|0}return e}function ge(a){var b=0,c=0,d=0;a:{c=v[a+12>>2];b:{c:{if((c|0)!=v[a+16>>2]){b=v[a>>2];break c}b=0;if(v[a+8>>2]){break b}d:{if(!v[a+4>>2]){d=c- -64|0;b=Va(d);if(!b){break a}v[a+4>>2]=1;Ta(b,v[a>>2],c);break d}d=c<<1;b=gb(v[a>>2],d);if(!b){break a}c=v[a+12>>2]}v[a>>2]=b;v[a+16>>2]=d}v[a+12>>2]=c+1;t[c+b|0]=0;b=0;if(v[a+8>>2]){break b}b=v[a>>2]}return b}v[a+8>>2]=1;return 0}function lF(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=u[a+298>>1];e=B(d,b>>16);b=B(d,b&65535);d=e<<16;f=b+d|0;a=u[a+300>>1];g=B(a,c&65535);c=B(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0<h>>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0<b>>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function kF(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=u[a+294>>1];e=B(d,b>>16);b=B(d,b&65535);d=e<<16;f=b+d|0;a=u[a+296>>1];g=B(a,c&65535);c=B(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0<h>>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0<b>>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function sd(a){var b=0,c=0,d=0;d=Ca-16|0;Ca=d;a:{b:{b=Xa(a);c=b-3|0;if(c>>>0>11){break b}if(c>>>0>=2){b=b+w[w[a+4|0]+449168|0]|0}b=w[w[a+2|0]+449168|0]+b|0;if(b>>>0>65){break b}c=v[(b<<3)+448160>>2];if((c|0)<0){break b}c=c+448688|0;if(w[a|0]!=w[c|0]){break b}if(Wa(a+1|0,c+1|0)){break b}a=v[(b<<3)+448164>>2];break a}a=tu(a,d+12|0);a=a?v[d+12>>2]:0}Ca=d+16|0;return a}function eB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=6;a=v[a+140>>2];a:{if(!a|!v[a+72>>2]|(!b|!w[b|0])){break a}b=Mc(b,v[a+92>>2]);if(!b){break a}a=v[a+80>>2];if(!a){break a}b:{c:{d:{e:{a=a+(v[b>>2]<<4)|0;switch(v[a+4>>2]-1|0){case 2:break c;case 1:break d;case 0:break e;default:break a}}v[c>>2]=1;break b}v[c>>2]=2;break b}v[c>>2]=3}v[c+4>>2]=v[a+12>>2];d=0}return d|0}function Me(a){var b=0,c=0,d=0;if(w[a+69|0]){a:{if(v[a+92>>2]==v[a+88>>2]){b=v[a+80>>2];if((b|0)==v[a+72>>2]){break a}}if(!cb(a,1,1)){return}c=v[a+88>>2]+B(v[a+72>>2],20)|0;d=v[c+4>>2];b=v[a+92>>2]+B(v[a+80>>2],20)|0;v[b>>2]=v[c>>2];v[b+4>>2]=d;v[b+16>>2]=v[c+16>>2];d=v[c+12>>2];v[b+8>>2]=v[c+8>>2];v[b+12>>2]=d;b=v[a+80>>2]}v[a+80>>2]=b+1}v[a+72>>2]=v[a+72>>2]+1}function xd(a,b,c){var d=0,e=0,f=0;a:{b:{if(!a){break b}d=v[v[a>>2]+32>>2];if(d){d=Ea[d|0](a,b)|0}else{d=0}if(d|!c){break a}d=v[a+4>>2];c=v[d+16>>2];if((c|0)<1){break b}f=(d+(c<<2)|0)+20|0;c=d+20|0;while(1){e=v[c>>2];c:{if((e|0)==(a|0)){break c}d=v[v[e>>2]+32>>2];if(!d){break c}d=Ea[d|0](e,b)|0;if(d){break a}}c=c+4|0;if(f>>>0>c>>>0){continue}break}}d=0}return d}function zd(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(!a){return}c=v[a+96>>2];if(!c){return}d=v[a+128>>2];b=v[d+64>>2];v[d+64>>2]=b-1;if((b|0)<=1){b=v[c+16>>2];if(!b){return}e=c+16|0;d=v[c+8>>2];a:{while(1){if(v[b+8>>2]==(a|0)){break a}b=v[b+4>>2];if(b){continue}break}return}f=v[b>>2];g=f?f+4|0:e;e=v[b+4>>2];v[g>>2]=e;v[(e?e:c+20|0)>>2]=f;Ea[v[d+8>>2]](d,b);qg(d,a,c)}}function _s(a,b,c,d){var e=0;e=Ca-16|0;Ca=e;v[e+12>>2]=c;a:{b:{c:{if(!v[a+12>>2]){if(!_a(a)){break c}}c=a+12|0;while(1){if(Ea[v[b+56>>2]](b,e+12|0,d,c,v[a+8>>2])>>>0<2){break b}if(_a(a)){continue}break}}b=0;break a}b=0;if(!v[a+16>>2]){break a}d=v[a+12>>2];if((d|0)==v[a+8>>2]){if(!_a(a)){break a}d=v[c>>2]}v[a+12>>2]=d+1;t[d|0]=0;b=v[a+16>>2]}Ca=e+16|0;return b}function qL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=v[b>>2];while(1){d=d+1|0;if(d>>>0>255){v[b>>2]=0;return 0}f=Ea[v[a+20>>2]](x[v[a+16>>2]+(d<<1)>>1])|0;g=v[a+24>>2];a:{if(g){h=v[a+28>>2];c=0;while(1){e=v[(c<<2)+h>>2];if(!(!e|w[e|0]!=w[f|0])){if(!Wa(e,f)){break a}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}if(!c){continue}break}v[b>>2]=d;return c|0}function wc(a,b){var c=0,d=0;c=v[a>>2];a:{if(c>>>0>=b>>>0){break a}while(1){b:{c:{d=w[c|0];switch(d|0){case 0:case 9:case 10:case 12:case 13:case 32:break b;case 37:break c;default:break a}}while(1){d:{switch(d-10|0){case 0:case 3:break b;default:break d}}c=c+1|0;if((c|0)!=(b|0)){d=w[c|0];continue}break}c=b}c=c+1|0;if(c>>>0<b>>>0){continue}break}}v[a>>2]=c}function vJ(a){a=a|0;var b=0,c=0,d=0,e=0;b=Ca-16|0;Ca=b;v[b>>2]=0;v[b+4>>2]=a;while(1){a:{b:{if(d){c=d+1|0;v[b>>2]=c;a=w[d|0];if(a){break b}v[b>>2]=0}a=v[b+4>>2];v[b+4>>2]=a+1;c:{a=w[a|0];if(a>>>0>=192){a=Pc(b,a);break c}if((a-65&255)>>>0>=26){break c}a=a+32|0;c=0;break b}if(!a){break a}c=v[b>>2]}d=c;e=a&255^(e<<3^e>>>3);continue}break}Ca=b+16|0;return e|0}function am(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!d|(!b|!c)){break a}f=v[a+16>>2];if(!(f&f-32)){v[164114]=0;e=f<<1;i=a,j=Xb(v[a+12>>2],e>>>0>32?e:32,12),v[i+12>>2]=j;if(v[164114]){break a}}b=ib(b);h=v[a+12>>2];e=h+B(f,12)|0;v[e>>2]=b;g=Va(d);v[e+4>>2]=g;if(!(!b|!g)){Ta(g,c,d);v[(B(f,12)+h|0)+8>>2]=d;v[a+16>>2]=v[a+16>>2]+1;return}Pa(b);Pa(v[e+4>>2])}}function oq(a){var b=0,c=0;c=v[a+568>>2];if((c|0)!=v[a+64>>2]){b=v[a+96>>2];c=Ea[v[a+24>>2]](v[a+32>>2],c+42|0)|0;v[a+96>>2]=c;if(!c){v[a+96>>2]=b;return 0}t[(c+v[a+568>>2]|0)-2|0]=0;t[(v[a+568>>2]+v[a+96>>2]|0)-1|0]=0;if(b){Ta(v[a+96>>2],b,v[a+52>>2]);Ea[v[a+28>>2]](v[a+32>>2],b)}b=v[a+568>>2];v[a+64>>2]=b;v[a+68>>2]=b-1;v[a+100>>2]=b+v[a+96>>2]}return 1}function WH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{b:{c:{switch(b-11|0){case 0:return 55;case 2:return 56;case 5:if(!(Ea[v[e+24>>2]](e,(v[e+64>>2]<<1)+c|0,d,506336)|0)){break b}v[a>>2]=935;return 3;case 18:v[a>>2]=936;return 2;case 3:case 4:break a;default:break c}}if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=936;f=-1}return f|0}function gN(a){a=a|0;var b=0;b=v[a+8>>2];Ra(a+16|0,0,84);v[a+136>>2]=622;v[a+132>>2]=623;v[a+128>>2]=624;v[a+124>>2]=625;v[a+120>>2]=626;v[a+116>>2]=627;v[a+108>>2]=628;v[a+104>>2]=629;v[a+100>>2]=630;v[a+12>>2]=b;v[a+164>>2]=622;v[a+160>>2]=631;v[a+156>>2]=632;v[a+152>>2]=633;v[a+148>>2]=626;v[a+144>>2]=634;b=a+12|0;v[a+112>>2]=b;v[a+140>>2]=b;return 0}function CB(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+12>>2];if(b){e=v[a+28>>2];v[b+104>>2]=0;v[b+48>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;t[b+44|0]=0;v[b+64>>2]=9;v[b+12>>2]=0;v[b+16>>2]=0;d=v[b+180>>2];c=v[b+100>>2];if((c|0)!=(b+112|0)){if(c){Ea[v[d+8>>2]](d,c)}v[b+100>>2]=0}c=v[b+88>>2];if(c){Ea[v[d+8>>2]](d,c)}b=Ra(b,0,184);if(b){Ea[v[e+8>>2]](e,b)}v[a+12>>2]=0}}function Sc(a,b){var c=0,d=0,e=0,f=0;d=Ca-16|0;Ca=d;v[b>>2]=0;a:{b:{c:{d:{c=v[a+8>>2];if(y[a+4>>2]<=c+3>>>0){break d}e=v[a+20>>2];e:{if(e){if((Ea[e|0](a,c,d+12|0,4)|0)!=4){break d}c=v[a+8>>2];b=d+12|0;break e}b=v[a>>2];if(!b){break c}b=b+c|0}f=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);break b}v[b>>2]=85;break a}f=0}v[a+8>>2]=c+4}Ca=d+16|0;return f}function im(a,b){var c=0,d=0;c=Ca-48|0;Ca=c;d=sd(517509);a:{if(!b){v[c+40>>2]=0;b=v[c+44>>2];v[c+8>>2]=v[c+40>>2];v[c+12>>2]=b;v[c+32>>2]=0;b=v[c+36>>2];v[c>>2]=v[c+32>>2];v[c+4>>2]=b;Qc(a,d,c,1);break a}v[c+40>>2]=b;b=v[c+44>>2];v[c+24>>2]=v[c+40>>2];v[c+28>>2]=b;v[c+32>>2]=3;b=v[c+36>>2];v[c+16>>2]=v[c+32>>2];v[c+20>>2]=b;Qc(a,d,c+16|0,1)}Ca=c+48|0}function bm(a){var b=0,c=0,d=0;if(a){Pa(v[a>>2]);v[a>>2]=0;b=v[a+8>>2];a:{if(!b){break a}c=v[b>>2];if(!c){break a}while(1){Pa(c);c=v[b+4>>2];b=b+4|0;if(c){continue}break}b=v[a+8>>2]}Pa(b);v[a+8>>2]=0;if(v[a+16>>2]){while(1){b=B(d,12);Pa(v[b+v[a+12>>2]>>2]);Pa(v[(b+v[a+12>>2]|0)+4>>2]);d=d+1|0;if(d>>>0<y[a+16>>2]){continue}break}}Pa(v[a+12>>2]);Pa(a)}}function _F(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!Wa(b,4265)){v[c>>2]=v[a+36>>2];v[c+4>>2]=v[a+40>>2];v[c+8>>2]=v[a+44>>2];v[c+12>>2]=v[a+48>>2];v[c+16>>2]=v[a+52>>2];v[c+20>>2]=v[a+56>>2];v[c+24>>2]=v[a+60>>2];v[c+28>>2]=v[a- -64>>2];break b}if(!Wa(b,4286)){v[c>>2]=v[a+28>>2];break b}d=12;if(Wa(b,4307)){break a}t[c|0]=w[a+32|0]}d=0}return d|0}function Yx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=w[a+3|0]|w[a+2|0]<<8;e=c?c+a|0:280448;c=v[b+100>>2];f=xb(e,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);if(!((f|0)==-1|(w[a+7|0]|w[a+6|0]<<8)>>>0<=f>>>0)){e=a+4|0;d=a;a=B(iQ(w[a+5|0]|w[a+4|0]<<8),f);hf(e,b,d,(a|0)<0?280448:(d+(a<<1)|0)+8|0,v[c+96>>2]+B(v[c+72>>2],20)|0);v[c+72>>2]=v[c+72>>2]+1;d=1}return d|0}function Dc(a,b,c){var d=0;d=Ca-48|0;Ca=d;a:{if(!c){v[d+40>>2]=0;c=v[d+44>>2];v[d+8>>2]=v[d+40>>2];v[d+12>>2]=c;v[d+32>>2]=0;c=v[d+36>>2];v[d>>2]=v[d+32>>2];v[d+4>>2]=c;a=Qc(a,b,d,1);break a}v[d+40>>2]=c;c=v[d+44>>2];v[d+24>>2]=v[d+40>>2];v[d+28>>2]=c;v[d+32>>2]=3;c=v[d+36>>2];v[d+16>>2]=v[d+32>>2];v[d+20>>2]=c;a=Qc(a,b,d+16|0,1)}Ca=d+48|0;return a}function DN(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;a=Ca-128|0;Ca=a;f=v[b+4>>2];g=e;a:{if((d|0)<=-1){b=Or(f,c);break a}d=(d|0)<127?d:127;b=ve(a,c,d);t[a+d|0]=0;b=Or(f,b)}v[g>>2]=b;b:{if(!b){c:{d:{if(!(Lk(f,0,a,128)|(d|0)>-1)){if(!Wa(a,c)){break d}break c}if($a(a,c,d)){break c}}b=1;break b}b=v[e>>2]}b=(b|0)!=0}Ca=a+128|0;return b|0}function hH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=39;a:{b:{switch(b-15|0){case 8:v[a+4>>2]=v[a+4>>2]+1;return 44;case 3:case 26:v[a>>2]=977;return 51;case 15:v[a>>2]=977;return 53;case 16:v[a>>2]=977;return 52;case 17:v[a>>2]=977;return 54;case 0:break a;default:break b}}if(!v[a+16>>2]){c=59;if((b|0)==28){break a}}v[a>>2]=936;c=-1}return c|0}function uf(a,b,c){var d=0,e=0;a:{b:{if(v[b>>2]!=(a|0)){break b}d=Va(8);if(!d){break b}v[d+4>>2]=c;c=v[b+4>>2];c:{if(c){v[d>>2]=v[c>>2];v[c>>2]=d;break c}v[d>>2]=0;c=v[b+8>>2];if(!c){break a}v[c>>2]=d;v[b+4>>2]=v[b+8>>2]}if(v[b>>2]!=(a|0)){break b}a=v[b+4>>2];v[b+8>>2]=a;a=v[a>>2];v[b+4>>2]=a;e=(a|0)!=0}return e}v[a+4>>2]=d;v[b+4>>2]=d;return 1}function ZB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=v[a>>2];d=v[a+44>>2];if(d){e=v[d>>2];if(!(!e|!v[e+96>>2])){v[e+88>>2]=d}}d=Ok(v[c+504>>2],b);if(!d){b=v[v[c+504>>2]+88>>2];c=v[b+16>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=c;v[a+36>>2]=v[b+36>>2];c=v[b+32>>2];v[a+28>>2]=v[b+28>>2];v[a+32>>2]=c;c=v[b+24>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=c}return d|0}function YB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=v[a>>2];d=v[a+44>>2];if(d){e=v[d>>2];if(!(!e|!v[e+96>>2])){v[e+88>>2]=d}}d=Pk(v[c+504>>2],b);if(!d){b=v[v[c+504>>2]+88>>2];c=v[b+16>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=c;v[a+36>>2]=v[b+36>>2];c=v[b+32>>2];v[a+28>>2]=v[b+28>>2];v[a+32>>2]=c;c=v[b+24>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=c}return d|0}function Pb(a){var b=0,c=0,d=0,e=0,f=0;while(1){b=a;a=b+1|0;c=t[b|0];if((c|0)==32|c-9>>>0<5){continue}break}a:{b:{c:{c=t[b|0];switch(c-43|0){case 0:break b;case 2:break c;default:break a}}e=1}c=t[a|0];b=a;f=e}d:{if(c-48>>>0>=10){break d}a=0;while(1){d=(a-t[b|0]|0)+48|0;if(t[b+1|0]-48>>>0>=10){break d}b=b+1|0;a=B(d,10);continue}}return f?d:0-d|0}function kb(a,b){var c=0,d=0,e=0,f=0;d=Ca-16|0;Ca=d;v[b>>2]=0;a:{b:{c:{d:{c=v[a+8>>2];if(y[a+4>>2]<=c+1>>>0){break d}e=v[a+20>>2];e:{if(e){if((Ea[e|0](a,c,d+14|0,2)|0)!=2){break d}c=v[a+8>>2];b=d+14|0;break e}b=v[a>>2];if(!b){break c}b=b+c|0}b=w[b|0]|w[b+1|0]<<8;f=b<<8|b>>>8;break b}v[b>>2]=85;break a}f=0}v[a+8>>2]=c+2}Ca=d+16|0;return f&65535}function QL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+12>>2];a:{if((u[d+22>>1]+u[d+58>>1]|0)+1>>>0>y[d+4>>2]){d=mc(d,1,0);if(d){break a}}d=v[a+20>>2];if(w[a+68|0]){a=v[d+8>>2];e=u[d+2>>1];f=v[d+4>>2]+(e<<3)|0;v[f>>2]=(((b>>31)+b|0)+32768&-65536)>>16;v[f+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;t[a+e|0]=1}u[d+2>>1]=x[d+2>>1]+1;d=0}return d|0}function OK(a){a=a|0;var b=0,c=0;a:{b=v[a>>2];if(!b){break a}a=a+20|0;if(!a){break a}b=v[b>>2];if(!b){break a}b:{if(!(t[a+16|0]&1)){break b}c=v[a+4>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+4>>2]=0;c=v[a+8>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+8>>2]=0;c=v[a+12>>2];if(!c){break b}Ea[v[b+8>>2]](b,c)}v[a>>2]=0;v[a+4>>2]=0;v[a+16>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}}function Sl(a,b){var c=0;a:{if((a|0)<0){break a}if((a|0)<=127){t[b|0]=a;return 1}if((a|0)<=2047){t[b+1|0]=a&63|128;t[b|0]=a>>>6|192;return 2}if((a|0)<=65535){t[b+2|0]=a&63|128;t[b|0]=a>>>12|224;t[b+1|0]=a>>>6&63|128;return 3}if((a|0)>1114111){break a}t[b+3|0]=a&63|128;t[b|0]=a>>>18|240;t[b+2|0]=a>>>6&63|128;t[b+1|0]=a>>>12&63|128;c=4}return c}function rh(a,b){var c=0,d=0,e=0;a:{d=v[a+12>>2];b:{c:{if((d|0)!=v[a+16>>2]){c=v[a>>2];break c}c=0;if(v[a+8>>2]){break b}d:{if(!v[a+4>>2]){e=d- -64|0;c=Va(e);if(!c){break a}v[a+4>>2]=1;Ta(c,v[a>>2],d);break d}e=d<<1;c=gb(v[a>>2],e);if(!c){break a}d=v[a+12>>2]}v[a>>2]=c;v[a+16>>2]=e}v[a+12>>2]=d+1;t[d+c|0]=b;c=1}return c}v[a+8>>2]=1;return 0}function bl(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ca-240|0;Ca=h;v[h>>2]=a;i=1;a:{if((d|0)<2){break a}k=0-b|0;f=a;while(1){f=f+k|0;j=d-2|0;g=f-v[(j<<2)+e>>2]|0;if((Ea[c|0](a,g)|0)>=0){if((Ea[c|0](a,f)|0)>-1){break a}}l=g;g=(Ea[c|0](g,f)|0)>-1;f=g?l:f;v[(i<<2)+h>>2]=f;i=i+1|0;d=g?d-1|0:j;if((d|0)>1){continue}break}}cs(b,h,i);Ca=h+240|0}function Tn(a,b,c,d){var e=0,f=0,g=0;a:{e=B(b,20)+a|0;f=x[e+16>>1];if(!f){break a}g=w[e+18|0];if(!(g&2)){break a}u[e+16>>1]=0;e=(f<<16>>16)+b|0;if((e|0)==(d|0)){break a}Tn(a,e,c,d);b:{if((c&-2)==4){v[(B(e,20)+a|0)+12>>2]=0-v[(B(b,20)+a|0)+12>>2];break b}v[(B(e,20)+a|0)+8>>2]=0-v[(B(b,20)+a|0)+8>>2]}a=B(e,20)+a|0;u[a+16>>1]=0-f;t[a+18|0]=g}}function Or(a,b){var c=0,d=0,e=0,f=0;a:{if(!b|(!a|!(w[a+9|0]&2))){break a}b:{c:{d=v[a+128>>2];c=v[d+40>>2];switch(c+2|0){case 0:break a;case 2:break c;default:break b}}c=v[a+96>>2];e=v[v[c>>2]+32>>2];d:{if(!e){c=0;break d}c=Ea[e|0](c,4197)|0;d=v[a+128>>2]}v[d+40>>2]=c?c:-2}if(!c){break a}c=v[c+4>>2];if(!c){break a}f=Ea[c|0](a,b)|0}return f}function Qs(a,b){var c=0;if(!Wa(a,b)){return v[b+16>>2]}a:{if(!Wa(a,b+20|0)){c=v[b+36>>2];break a}if(!Wa(a,b+40|0)){return v[b+56>>2]}if(!Wa(a,b+60|0)){return v[b+76>>2]}if(!Wa(a,b+80|0)){return v[b+96>>2]}if(!Wa(a,b+100|0)){return v[b+116>>2]}if(!Wa(a,b+120|0)){return v[b+136>>2]}c=41;if(Wa(a,b+140|0)){break a}return v[b+156>>2]}return c}function ij(a){var b=0,c=0;b=Ca-16|0;Ca=b;while(1){c=w[a|0];if(!((c|0)!=38?(c|0)!=72:0)){a=a+1|0;continue}break}v[b+12>>2]=a;a=Md(a,b+12|0,16);Ca=b+16|0;c=a;b=a>>>0>2147483648;a=Da;b=(a|0)>-1?1:(a|0)>=-1?b:0;c=b?c:-2147483648;a=b?a:-1;a=(a|0)<0?1:(a|0)<=0?c>>>0<2147483647:0;a=a?c:2147483647;return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}function hl(a,b,c,d){var e=0,f=0;if((d|0)==1){f=b;e=v[a+8>>2]-v[a+4>>2]|0;b=b-e|0;c=c-((e>>31)+(f>>>0<e>>>0)|0)|0}a:{if(y[a+20>>2]>y[a+28>>2]){Ea[v[a+36>>2]](a,0,0)|0;if(!v[a+20>>2]){break a}}v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;Ea[v[a+40>>2]](a,b,c,d)|0;if((Da|0)<0){break a}v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=v[a>>2]&-17;return 0}return-1}function _d(a,b){a:{if((b|0)>=1024){a=a*8.98846567431158e307;if((b|0)<2047){b=b-1023|0;break a}a=a*8.98846567431158e307;b=((b|0)<3069?b:3069)-2046|0;break a}if((b|0)>-1023){break a}a=a*2.2250738585072014e-308;if((b|0)>-2045){b=b+1022|0;break a}a=a*2.2250738585072014e-308;b=((b|0)>-3066?b:-3066)+2044|0}l(0,0);l(1,b+1023<<20);return a*+n()}function Ei(a,b){var c=0,d=0,e=0,f=0;if(a){c=v[a+20>>2];d=v[a+4>>2];if(d){if((d|0)!=1){f=d&-2;while(1){e=v[c>>2];if(e){Ea[v[b+8>>2]](b,e)}v[c>>2]=0;e=v[c+4>>2];if(e){Ea[v[b+8>>2]](b,e)}v[c+4>>2]=0;c=c+8|0;f=f-2|0;if(f){continue}break}}if(d&1){d=v[c>>2];if(d){Ea[v[b+8>>2]](b,d)}v[c>>2]=0}c=v[a+20>>2]}if(c){Ea[v[b+8>>2]](b,c)}v[a+20>>2]=0}}function bf(a){var b=0,c=0,d=0,e=0;a:{if(v[a+12>>2]>0){break a}c=3;b=v[a>>2];d=v[a+8>>2];b:{if(b>>>0>=d>>>0){break b}c:{while(1){d:{e=b+1|0;v[a>>2]=e;e:{switch(w[b|0]-9|0){case 17:break b;case 50:break c;case 1:case 4:break d;case 0:case 23:break e;default:break a}}b=e;if(d>>>0>b>>>0){continue}break b}break}c=2;break b}c=1}v[a+12>>2]=c}}function $K(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=v[a+20>>2];a=(c+(v[a+16>>2]<<3)|0)-8|0;if(a>>>0>=c>>>0){while(1){e=(a-c>>4<<3)+c|0;d=v[e>>2];if((d|0)==(b|0)){f=e;break a}d=d&2147483647;f=(d|0)==(b|0)?e:f;if((a|0)!=(c|0)){d=b>>>0>d>>>0;c=d?e+8|0:c;a=d?a:e-8|0;if(c>>>0<=a>>>0){continue}}break}if(f){break a}}return 0}return v[f+4>>2]}function mO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=v[a+12>>2];a:{if(Ea[v[e+24>>2]](e,b,v[e+56>>2])>>>0<=31){e=v[a+12>>2];f=0;if(1<<Ea[v[e+24>>2]](e,b,v[e+56>>2])&7168){break a}}if(!((b|0)!=2479|(c|0)!=2492)){v[d>>2]=2527;return 1}a=v[a+12>>2];v[d>>2]=0;f=0;if(!b|!c){break a}f=(Ea[v[a+36>>2]](a,b,c,d,v[a+68>>2])|0)!=0}return f|0}function Ld(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=e;e=0;i=e;f=c;c=0;e=eQ(h,e,f,c);j=Da;g=b;k=eQ(d,0,b,0);b=Da;d=eQ(d,l,f,c);c=b+d|0;b=Da;b=c>>>0<d>>>0?b+1|0:b;f=b;d=b+e|0;b=j;b=d>>>0<f>>>0?b+1|0:b;f=d;e=b;b=eQ(g,m,h,i)+c|0;d=Da;d=b>>>0<c>>>0?d+1|0:d;g=d;d=d+f|0;v[a+8>>2]=d;v[a+12>>2]=d>>>0<g>>>0?e+1|0:e;v[a>>2]=k;v[a+4>>2]=b}function Dt(a){var b=0,c=0,d=0,e=0;c=Ca-16|0;Ca=c;b=499457;a:{b:{c:{d:{switch(v[a>>2]){case 1:b=499466;break c;case 3:break a;case 0:break c;case 2:break d;default:break b}}b=499472}Za(b,0)}b=v[a+4>>2];if(b>>>0<=3){Za(v[(b<<2)+499712>>2],0)}d=c,e=_c(v[a+8>>2]),v[d>>2]=e;Za(499386,c);Ul(v[a+12>>2]);Rb(32);ze(v[a+16>>2]);Rb(10)}Ca=c+16|0}function _g(a){var b=0,c=0,d=0;a:{if(!a){break a}c=w[a|0];if(!c){break a}c=(c|0)==45;b=t[c+a|0];b:{if(!(w[((b&248)>>>3|0)+28960|0]>>>(b&7)&1)){break b}a=c?a+1|0:a;while(1){if(d<<16>>16>3274){d=32767;break b}d=w[b+28992|0]+B(d,10)|0;b=t[a+1|0];a=a+1|0;if(w[((b&248)>>>3|0)+28960|0]>>>(b&7)&1){continue}break}}b=c?0-d|0:d}return b<<16>>16}function El(a,b){var c=0,d=0,e=0,f=0;c=v[a>>2];if(c){e=Yi(c+12|0);if(!e){db(a,2,511350,0);return}a:{c=v[a+1312>>2];b:{if(c>>>0<=63){v[a+1312>>2]=c+1;c=(B(c,24)+a|0)+1320|0;break b}c=Va(24);if(!c){break a}}v[c+8>>2]=0;v[c>>2]=v[a+4>>2];f=c;d=v[a>>2];if(d){d=v[d>>2]}else{d=0}v[f+4>>2]=d;v[a+4>>2]=c;v[c+8>>2]=b;v[c+16>>2]=e;return}Pa(e)}}function Gc(a,b){var c=0;a:{b:{switch(v[b>>2]-3|0){case 0:c=v[b+8>>2];v[a>>2]=3;break a;case 3:c=v[b+8>>2];v[a>>2]=6;break a;case 5:c=v[b+8>>2];v[a>>2]=8;break a;case 6:c=v[b+8>>2];v[a>>2]=9;break a;default:break b}}c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c;return}v[a+8>>2]=c&1?(c&-2)+b|0:c}function yf(a){var b=0,c=0,d=0;b=Xa(a);c=b-3|0;a:{if(c>>>0>11){break a}if(c>>>0>=2){b=b+w[w[a+4|0]+449168|0]|0}c=w[w[a+2|0]+449168|0]+b|0;if(c>>>0>65){break a}b=v[(c<<3)+448160>>2];if((b|0)<0){break a}b=b+448688|0;if(w[a|0]!=w[b|0]){break a}if(Wa(a+1|0,b+1|0)){break a}d=v[(c<<3)+448164>>2]}if(!d){return tu(a,0)}return(d<<3)+449512|0}function sq(a){var b=0,c=0,d=0;a:{if(!a){break a}c=w[a|0];if(!c){break a}c=(c|0)==45;b=t[c+a|0];b:{if(!(w[((b&248)>>>3|0)+28960|0]>>>(b&7)&1)){break b}a=c?a+1|0:a;while(1){if((d|0)>214748362){d=2147483647;break b}d=w[b+28992|0]+B(d,10)|0;b=t[a+1|0];a=a+1|0;if(w[((b&248)>>>3|0)+28960|0]>>>(b&7)&1){continue}break}}b=c?0-d|0:d}return b}function ez(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Ca-16|0;Ca=c;e=v[a+16>>2];d=b;b=x[a+8>>1]>>>1|0;d=Ua(d,1,0,b+1|0,0,c+12|0);Ca=c+16|0;if(v[c+12>>2]){a=f}else{a=0;a:{if(!b){break a}while(1){f=w[e+1|0];c=f|w[e|0]<<8;if(!c){break a}t[a+d|0]=c-32>>>0>95?63:f;e=e+2|0;a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b}t[a+d|0]=0;a=d}return a|0}function cs(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Ca-256|0;Ca=e;a:{if((c|0)<2){break a}h=(c<<2)+b|0;v[h>>2]=e;if(!a){break a}d=e;while(1){f=a>>>0<256?a:256;Ta(d,v[b>>2],f);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;Ta(v[g>>2],v[(d<<2)+b>>2],f);v[g>>2]=v[g>>2]+f;if((c|0)!=(d|0)){continue}break}a=a-f|0;if(!a){break a}d=v[h>>2];continue}}Ca=e+256|0}function Ok(a,b){var c=0,d=0,e=0;d=Ca-16|0;Ca=d;a:{if(!a){c=35;break a}c=6;if(!b|v[b+4>>2]<0|(v[b+8>>2]<0|y[b>>2]>4)){break a}c=v[a+88>>2];v[v[c+40>>2]+12>>2]=0;e=v[v[v[a+96>>2]+12>>2]+88>>2];if(e){c=Ea[e|0](c,b)|0;break a}if((v[a+8>>2]&3)==2){c=Sr(a,b,d+12|0);if(c){break a}c=Pk(a,v[d+12>>2]);break a}og(a,b);c=0}Ca=d+16|0;return c}function rN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=v[b+4>>2];v[a+2748>>2]=b;e=v[b+28>>2];v[a+4>>2]=v[b+44>>2];v[a+8>>2]=v[b+48>>2];v[a+12>>2]=v[b+9848>>2];v[a+16>>2]=v[b+9852>>2];b=v[b+24>>2];c=(b&-2)==2;d=c|2;c=(b|0)==2?d:(b|0)==4?d:c;d=(b&-3)==1;c=d?c:c|4;v[a+2740>>2]=(t[f+12|0]&1?1:d)?e|1:e;v[a+2744>>2]=(b|0)==2?c|8:c;return 0}function qs(a,b,c,d){var e=0,f=0;e=Ca-160|0;Ca=e;Ta(e+8|0,522968,144);a:{b:{if(b-1>>>0>=2147483647){if(b){break b}b=1;a=e+159|0}v[e+52>>2]=a;v[e+28>>2]=a;f=-2-a|0;b=b>>>0>f>>>0?f:b;v[e+56>>2]=b;a=a+b|0;v[e+36>>2]=a;v[e+24>>2]=a;zi(e+8|0,c,d);if(!b){break a}a=v[e+28>>2];t[a-((a|0)==v[e+24>>2])|0]=0;break a}v[164114]=61}Ca=e+160|0}function ON(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;b=v[b+4>>2];f=c,g=Qa(u[b+70>>1],v[v[b+88>>2]+20>>2]),v[f>>2]=g;f=c,g=Qa(u[b+72>>1],v[v[b+88>>2]+20>>2]),v[f+4>>2]=g;e=Qa(u[b+74>>1],v[v[b+88>>2]+20>>2]);b=v[c+4>>2];d=v[c>>2];e=e+(b-d|0)|0;v[c+8>>2]=e;if(v[a+24>>2]<=-1){v[c+8>>2]=0-e;v[c+4>>2]=0-b;v[c>>2]=0-d}return 1}function Kd(a,b,c,d,e,f){var g=0;g=6;a:{b:{if((c|0)<0|(d|0)<0|(b|0)<0){break b}if(!(b?d:0)){if(!e){break a}Ea[v[a+8>>2]](a,e);break a}g=10;if((2147483647/(b>>>0)|0)<(d|0)){break b}if(!c){a=Ea[v[a+4>>2]](a,B(b,d))|0;v[f>>2]=!a<<6;return a}a=Ea[v[a+12>>2]](a,B(b,c),B(b,d),e)|0;e=a?a:e;g=!a<<6}v[f>>2]=g;return e}v[f>>2]=0;return 0}function Fh(a){var b=0,c=0,d=0,e=0,f=0;bf(a);a:{if(v[a+12>>2]>0){break a}b=v[a>>2];d=b-1|0;e=v[a+8>>2];b:{c:{while(1){c=3;if(b>>>0>=e>>>0){break b}f=b;b=b+1|0;v[a>>2]=b;d:{switch(w[f|0]-9|0){case 0:case 23:break a;case 17:break b;case 50:break c;case 1:case 4:break d;default:continue}}break}c=2;break b}c=1}v[a+12>>2]=c}return d}function uk(a){a=a|0;var b=0;b=Ca-16|0;v[b+12>>2]=a;v[a+60>>2]=2333;v[a+64>>2]=0;v[a+52>>2]=1667;v[a+56>>2]=275;v[a+44>>2]=1e3;v[a+48>>2]=275;v[a+36>>2]=500;v[a+40>>2]=400;t[a+32|0]=1;v[a+28>>2]=1;b=v[a+8>>2]^(b+8^b+12);b=b>>>10^b^b>>>20;v[a+68>>2]=b;a:{if((b|0)<=-1){b=0-b|0}else{if(b){break a}b=123456789}v[a+68>>2]=b}return 0}function ov(a){var b=0,c=0,d=0,e=0,f=0;b=v[a>>2];c=v[a+4>>2];if((b|0)<=(c|0)){d=a;a:{if((b|0)!=(c|0)){c=b}else{c=-1;if(b>>>0>2147483626){break a}v[164114]=0;b=b+20|0;e=a,f=Xb(v[a+16>>2],b,144),v[e+16>>2]=f;if(v[164114]){break a}v[a+4>>2]=b;c=v[a>>2]}v[d>>2]=c+1;Ra(v[a+16>>2]+B(c,144)|0,0,144)}return c}O(1282,1319,104,1355);L()}function Iu(a,b,c){var d=0,e=0,f=0,g=0;d=Ca-16|0;Ca=d;f=1;g=c-1|0;if(g>>>0<=1){a:{if((c|0)!=2){break a}c=v[b>>2];v[d+12>>2]=v[b+4>>2];v[d+8>>2]=c;e=lb(c,d+8|0);e=e+(e>0?.5:-.5);if(D(e)<2147483648){f=~~e;break a}f=-2147483648}b=(g<<3)+b|0;c=v[b+4>>2];b=v[b>>2];v[a+604>>2]=f;v[a+448>>2]=b;v[a+452>>2]=c-b}Ca=d+16|0;return g>>>0<2}function oN(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=v[v[a>>2]+100>>2];while(1){b=e<<2;f=b+a|0;c=v[f+24>>2];if(c){b=v[v[(v[v[b+293760>>2]+4>>2]<<2)+293472>>2]+16>>2];if(b){Ea[b|0](c);c=v[f+24>>2]}if(c){Ea[v[d+8>>2]](d,c)}v[f+24>>2]=0}e=e+1|0;if((e|0)!=87){continue}break}Vd(v[a+12>>2]);ne(v[a+16>>2]);if(a){Ea[v[d+8>>2]](d,a)}}}function QC(a){a=a|0;var b=0,c=0,d=0,e=0;d=Ca-16|0;Ca=d;c=v[a>>2];b=v[c+320>>2];c=pc(v[v[c+96>>2]+4>>2],14894);a:{if(!c|!b){break a}b=v[b>>2];if(!b){break a}c=Ea[b|0](c)|0;if(!c){break a}b=v[a>>2];e=Ea[v[c>>2]](v[b+100>>2],v[b+304>>2]+B(v[b+4>>2],252)|0,d+12|0)|0;if(e){break a}v[v[a+40>>2]>>2]=v[d+12>>2]}Ca=d+16|0;return e|0}function Fr(a,b){var c=0,d=0,e=0,f=0;d=Ca-16|0;Ca=d;v[b>>2]=0;a:{b:{c:{d:{c=v[a+8>>2];if(y[a+4>>2]<=c+1>>>0){break d}e=v[a+20>>2];e:{if(e){if((Ea[e|0](a,c,d+14|0,2)|0)!=2){break d}c=v[a+8>>2];b=d+14|0;break e}b=v[a>>2];if(!b){break c}b=b+c|0}f=w[b|0]|w[b+1|0]<<8;break b}v[b>>2]=85;break a}f=0}v[a+8>>2]=c+2}Ca=d+16|0;return f}function oK(a,b){a=a|0;b=b|0;var c=0;a:{b:{if(!a){break b}c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;c=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=c;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c;a=v[b>>2];if(!a){break b}if(!v[a-8>>2]){break a}a=a-4|0;b=v[a>>2];if(!b){break a}v[a>>2]=b+1}return 1}O(364907,364851,423,364937);L()}function cb(a,b,c){var d=0,e=0;a:{d=v[a+80>>2]+c|0;if(!d|d>>>0<y[a+84>>2]){break a}if(Le(a,d)){break a}return 0}b:{d=v[a+88>>2];c:{if((d|0)!=v[a+92>>2]){break c}e=c;c=v[a+80>>2];if(e+c>>>0<=v[a+72>>2]+b>>>0){break c}if(!w[a+69|0]){break b}b=a;a=v[a+96>>2];v[b+92>>2]=a;Ta(a,d,B(c,20))}return 1}O(281806,281818,168,281831);L()}function cr(a,b,c){var d=0,e=0,f=0;e=Ca-16|0;Ca=e;d=Ya(a,0);a:{if(d){break a}f=kb(a,e+12|0);d=v[e+12>>2];if(d){break a}b:{if((f+32767&65535)>>>0<2){Sc(a,e+12|0);d=v[e+12>>2];if(d){break a}if((f|0)==32769){break b}}d=Ya(a,0);if(d){break a}}d=vb(a,c);if(d){break a}b=lc(v[a+32>>2],b,c);pb(a);d=((b|0)!=0)<<1}Ca=e+16|0;return d}function ce(a,b,c){var d=0,e=0;d=Ca-16|0;Ca=d;b=(b|0)==1?2:b;c=(c|0)==1?2:c;a:{if((b|0)==(c|0)|((c|0)==3?(b|0)==8:0)|((b|0)==2&(c|0)==9|((c|0)==8?(b|0)==3:0))){break a}if((c|0)==-1|(b|0)==-1){break a}e=511068;e=b>>>0<=9?v[(b<<2)+514688>>2]:e;v[d+4>>2]=c>>>0<=9?v[(c<<2)+514688>>2]:511068;v[d>>2]=e;db(a,1,513244,d)}Ca=d+16|0}function uH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=11;g=a;a:{b:{c:{d:{switch(b-15|0){case 2:f=15;a=v[a+16>>2]?939:959;break b;case 3:if(!(Ea[v[e+24>>2]](e,c,d,506405)|0)){break c}a=969;break b;case 0:break a;default:break d}}if(v[a+16>>2]){break c}f=59;if((b|0)==28){break a}}f=-1;a=936}v[g>>2]=a}return f|0}function FH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=17;a:{b:{c:{d:{switch(b-15|0){case 3:b=961;if(Ea[v[e+24>>2]](e,c,d,506344)|0){break b}b=962;if(!(Ea[v[e+24>>2]](e,c,d,506351)|0)){break c}break b;case 0:break a;default:break d}}if(v[a+16>>2]){break c}f=59;if((b|0)==28){break a}}f=-1;b=936}v[a>>2]=b}return f|0}function ZG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ca-16|0;Ca=e;v[e+8>>2]=b;b=dt(a,v[a+144>>2],e+8|0,c,d,!w[a+480|0]);a:{if(b){break a}b=v[e+8>>2];if(!b){b=0;break a}v[a+276>>2]=990;v[e+12>>2]=b;f=v[a+144>>2];f=Ea[v[f>>2]](f,b,c,e+12|0)|0;b=zg(a,v[a+144>>2],b,c,f,v[e+12>>2],d,!w[a+480|0],1,0)}Ca=e+16|0;return b|0}function DA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+10|0;if(c>>>0>y[b+160>>2]){ob(b,8)}d=w[a+3|0]|w[a+2|0]<<8;e=y[b+160>>2]>=d+a>>>0;a=w[a+9|0]|w[a+8|0]<<8;if(!((a<<1)+10>>>0<=d>>>0?e:0)){ob(b,8)}if(!(!v[b+164>>2]|!a)){while(1){if(y[b+172>>2]<=(w[c+1|0]|w[c|0]<<8)>>>0){ob(b,16)}c=c+2|0;a=a-1|0;if(a){continue}break}}return 0}function tB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=6;e=v[a+280>>2];a:{if((e|0)<1){break a}f=v[a+284>>2];a=0;while(1){b:{h=a;g=Wa(v[B(a,12)+f>>2],b);a=a+1|0;if((e|0)<=(a|0)){break b}if(g){continue}}break}if(g){break a}a=B(h,12)+f|0;c:{if(w[a+4|0]){v[c>>2]=1;break c}v[c>>2]=2}v[c+4>>2]=v[a+8>>2];d=0}return d|0}function Ce(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}if(v[a+12>>2]==-1){b=v[a+8>>2]+a|0;a=v[b+4>>2];Ye(a&1?(a&-2)+b|0:a);return}b=v[a+12>>2];v[a+12>>2]=b-1;if((b|0)!=1){break a}d=v[a+8>>2]+a|0;if(v[a>>2]>=1){b=0;while(1){e=(b<<3)+d|0;c=v[e+4>>2];dg(c&1?(c&-2)+e|0:c);b=b+1|0;if((b|0)<v[a>>2]){continue}break}}Pa(d);Pa(a)}}function qE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=v[a+532>>2];if(!c){return 6}e=v[c+4>>2];v[b>>2]=e;v[b+4>>2]=v[c>>2];if(e){a=0;while(1){d=B(a,12);f=d+b|0;v[f+8>>2]=v[((a<<2)+c|0)+8>>2];d=c+d|0;g=v[d+92>>2];v[f+12>>2]=v[g>>2];v[f+16>>2]=v[((w[d+88|0]<<2)+g|0)-4>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}}return 0}function xH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{b:{c:{d:{switch(b-15|0){case 3:b=967;if(Ea[v[e+24>>2]](e,c,d,506390)|0){break b}b=968;if(!(Ea[v[e+24>>2]](e,c,d,506398)|0)){break c}break b;case 0:break a;default:break d}}if(v[a+16>>2]){break c}f=59;if((b|0)==28){break a}}f=-1;b=936}v[a>>2]=b}return f|0}function rl(a,b){var c=0,d=0,e=0,f=0;d=Ca-32|0;Ca=d;a:{b:{e=wa(a|0,b|0)|0;if((e|0)==-8){f=Ca-32|0;Ca=f;c=ha(a|0,f+8|0)|0;if(c){v[164114]=c;c=0}else{c=1}Ca=f+32|0;if(c){break b}}if(e>>>0>=4294963201){v[164114]=0-e;a=-1}else{a=e}break a}As(d,a);a=$(d|0,b|0)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}}Ca=d+32|0;return a}function pk(a,b){var c=0,d=0;c=Ya(b,v[a>>2]);a:{if(c){break a}c=ub(b,19600,a+4|0);if(c){break a}c=2;d=x[a+4>>1];if((d|256)!=768|y[a+8>>2]<((d|0)==768?148:118)>>>0){break a}if((d|0)==512){v[a+140>>2]=0;v[a+132>>2]=0;v[a+136>>2]=0}if(t[a+72|0]&1){break a}c=Ya(b,v[a>>2]);if(c){break a}c=Jc(b,v[a+8>>2],a+160|0)}return c}function Xp(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;h=Ca-16|0;Ca=h;v[h+12>>2]=0;g=10;j=v[c>>2];k=j+e|0;a:{if(k>>>0>31457280){break a}i=v[a>>2];g=v[b>>2];if(g>>>0<k>>>0){i=Ua(f,1,g,k,i,h+12|0);g=v[h+12>>2];if(g){break a}v[b>>2]=v[c>>2]+e;j=v[c>>2]}Ta(i+j|0,d,e);v[c>>2]=v[c>>2]+e;v[a>>2]=i;g=v[h+12>>2]}Ca=h+16|0;return g}function It(a){var b=0,c=0,d=0,e=0;c=gd();a:{if(!c){break a}while(1){d=w[b+495048|0];e=d>>>5|0;if(!(e>>>0>=y[a+4>>2]|!(v[((e<<2)+a|0)+8>>2]>>>d&1))){hd(c,(b<<5)+459296|0)}b=b+1|0;if((b|0)!=246){continue}break}a=v[a>>2];if(!a){break a}a=Oc(a);if(!a){break a}while(1){b=Wb(a);if(b){hd(c,b);continue}break}qc(a)}return c}function GN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;e=v[b+4>>2];if(fd(e,c,v[b+8>>2])){return 0}b=v[e+84>>2];c=v[b+32>>2];v[d>>2]=c;e=v[b+36>>2];v[d+4>>2]=e;f=v[b+24>>2];v[d+8>>2]=f;b=v[b+28>>2];v[d+12>>2]=0-b;if(v[a+20>>2]<=-1){v[d+8>>2]=0-f;v[d>>2]=0-c}if(v[a+24>>2]<=-1){v[d+12>>2]=b;v[d+4>>2]=0-e}return 1}function GG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Ca-16|0;Ca=d;f=v[a+8>>2];g=v[b+8>>2];Gc(d,b);h=v[d+12>>2];v[c+8>>2]=v[d+8>>2];v[c+12>>2]=h;h=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=h;a=f&1?(f&-2)+a|0:f;b=g&1?(g&-2)+b|0:g;e=0;a:{if(!he(a,b)){break a}e=1;if(!id(a,b)){break a}e=Dg(a,b)?2:3}Ca=d+16|0;return+e}function gk(a,b,c){var d=0,e=0,f=0,g=0;f=6;d=v[b>>2];a:{if(d+5>>>0>c>>>0){break a}e=v[a+12>>2];u[e>>1]=w[d|0];u[e+2>>1]=w[d+1|0];u[e+4>>1]=t[d+2|0];u[e+6>>1]=t[d+3|0];u[e+8>>1]=w[d+4|0];g=c;c=d+8|0;if(g>>>0<c>>>0){break a}u[e+10>>1]=t[d+5|0];u[e+12>>1]=t[d+6|0];u[e+14>>1]=w[d+7|0];t[a+16|0]=1;v[b>>2]=c;f=0}return f}function aM(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=Ca-16|0;Ca=b;wc(a,v[a+8>>2]);e=v[a+8>>2];d=v[a>>2];v[b+12>>2]=d;f=Ke(b+12|0,e,10);c=v[b+12>>2];a:{if((d|0)==(c|0)){break a}if(!(w[c|0]!=35|c>>>0>=e>>>0)){d=c+1|0;v[b+12>>2]=d;f=Ke(b+12|0,e,f);c=v[b+12>>2];if((d|0)==(c|0)){break a}}v[a>>2]=c;g=f}Ca=b+16|0;return g|0}function Mc(a,b){var c=0,d=0,e=0;c=Ca-16|0;Ca=c;v[c+8>>2]=a;e=v[b+20>>2];a=e+((Ea[v[b+12>>2]](c+8|0)>>>0)%y[b+4>>2]<<2)|0;d=v[a>>2];a:{if(!d){break a}while(1){if(Ea[v[b+16>>2]](d,c+8|0)|0){break a}a=a-4|0;if(e>>>0>a>>>0){a=((v[b+4>>2]<<2)+e|0)-4|0}d=v[a>>2];if(d){continue}break}}Ca=c+16|0;a=v[a>>2];return a?a+4|0:0}function Kk(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b:{c:{c=v[a+128>>2];b=v[c+28>>2];switch(b+2|0){case 0:break a;case 2:break c;default:break b}}b=v[a+96>>2];d=v[v[b>>2]+32>>2];d:{if(!d){b=0;break d}b=Ea[d|0](b,4208)|0;c=v[a+128>>2]}v[c+28>>2]=b?b:-2}if(!b){break a}b=v[b>>2];if(!b){break a}e=Ea[b|0](a)|0}return e}function As(a,b){var c=0,d=0,e=0;while(1){d=a+c|0;t[d|0]=w[c+518121|0];e=(c|0)!=14;c=c+1|0;if(e){continue}break}if(b){c=15;d=b;while(1){if(d>>>0>=10){c=c+1|0;d=(d>>>0)/10|0;continue}break}t[a+c|0]=0;while(1){c=c-1|0;d=(b>>>0)/10|0;t[c+a|0]=b-B(d,10)|48;e=b>>>0>9;b=d;if(e){continue}break}return}t[d|0]=48;t[a+15|0]=0}function yN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=Lh(b,c);a:{if(d){break a}a=v[b+24>>2];if((a|0)<1){break a}b=v[b+28>>2];f=b+B(a,40)|0;a=v[c+4>>2];c=v[c+8>>2];while(1){v[a>>2]=v[b+16>>2];v[a+4>>2]=v[b+20>>2];e=x[b>>1];t[c|0]=e&1?0:e&2?2:1;c=c+1|0;a=a+8|0;b=b+40|0;if(f>>>0>b>>>0){continue}break}}return d|0}function ct(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=d>>31;e=e+d^e;f=c>>31;f=f+c^f;i=e>>>0<f>>>0;g=b>>31;g=g+b^g;h=a>>31;h=h+a^h;j=g>>>0<h>>>0;d=b+d|0;b=d>>31;c=a+c|0;a=c>>31;b=b^b+d;a=a^a+c;c=b>>>0<a>>>0;a=(B(c?b:a,3)>>>3|0)+(c?a:b)|0;return(((B(i?e:f,3)>>>3|0)+(i?f:e)+((B(j?g:h,3)>>>3|0)+(j?h:g))|0)-a|0)<(a>>>4|0)}function mP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Ca-16|0;Ca=b;v[b+12>>2]=c;e=v[a+72>>2];f=v[e+160>>2];a:{if((f|0)!=v[163576]){a=Ea[f|0](a,v[a+76>>2],1,b+12|0,0,d,0,v[e+24>>2])|0;break a}a=v[a+12>>2];v[d>>2]=0;e=a;f=v[a+76>>2];a=v[a+72>>2];a=Ea[v[a+156>>2]](e,f,c,d,v[a+20>>2])|0}Ca=b+16|0;return a|0}function mM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=Ca-16|0;Ca=e;d=6;a:{if(!a|!b){break a}c=v[b>>2];v[e+12>>2]=0;if(!c){break a}c=qb(c,16,e+12|0);d=v[e+12>>2];if(d){break a}v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;d=v[a+4>>2];v[c>>2]=v[a>>2];v[c+4>>2]=d;v[c+12>>2]=v[b+4>>2];v[b+4>>2]=c;d=0}Ca=e+16|0;return d|0}function eK(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=b;g=a;b=v[a+92>>2];a:{if(b){a=v[b+4>>2]==1937337698?c|61440:c;break a}a=c}a=Pr(g,a,d);v[e>>2]=a;if(!a){return 0}v[f+28>>2]=a;b=0;a=ld(v[f>>2],f+8|0,v[f+32>>2]?c>>>0>752?f:0:0);b:{if(!a){break b}if(v[a>>2]>-1){b=a;break b}Ib(a)}Ib(b);return 1}function ps(a,b,c){var d=0,e=0;d=w[c+74|0];t[c+74|0]=d-1|d;e=v[c+4>>2];d=v[c+8>>2]-e|0;if((d|0)<1){d=b}else{d=b>>>0>d>>>0?d:b;Ta(a,e,d);v[c+4>>2]=d+v[c+4>>2];a=a+d|0;d=b-d|0}if(d){while(1){a:{if(!os(c)){e=Ea[v[c+32>>2]](c,a,d)|0;if(e+1>>>0>1){break a}}return b-d|0}a=a+e|0;d=d-e|0;if(d){continue}break}}return b}function Kr(a,b){var c=0,d=0;a:{if(!a|!b){break a}d=x[a+2>>1];if((d|0)!=x[b+2>>1]){break a}c=x[a>>1];if((a|0)==(b|0)|(c|0)!=x[b>>1]){break a}if(d){Ta(v[b+4>>2],v[a+4>>2],d<<16>>16<<3);Ta(v[b+8>>2],v[a+8>>2],u[a+2>>1]);c=x[a>>1]}if(c){Ta(v[b+12>>2],v[a+12>>2],c<<16>>16<<1)}v[b+16>>2]=v[a+16>>2]&-2|v[b+16>>2]&1}}function Hj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(v[a+4>>2]){v[a+24>>2]=c;v[a+20>>2]=b;d=v[a+16>>2];e=v[d+28>>2];if(!e){e=Fb(d);c=v[a+24>>2];b=v[a+20>>2]}d=c>>31;f=c<<16;g=d<<16|c>>>16;d=e;c=d>>31;h=a,i=fQ(f,g,d,c),v[h+40>>2]=i;v[a+44>>2]=Da;e=b>>31;h=a,i=fQ(b<<16,e<<16|b>>>16,d,c),v[h+32>>2]=i;v[a+36>>2]=Da}}function fz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ca-16|0;Ca=c;e=v[a+16>>2];a=x[a+8>>1];b=Ua(b,1,0,a+1|0,0,c+12|0);Ca=c+16|0;if(v[c+12>>2]){b=d}else{a:{if(!a){break a}while(1){c=w[e|0];if(!c){break a}t[b+d|0]=c>>>0<32?63:c<<24>>24<0?63:c;e=e+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}d=a}t[b+d|0]=0}return b|0}function ZA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[a+16>>2];if(d){g=v[a+20>>2];a=d>>>1|0;while(1){c=d+f>>>1|0;c=a>>>0>=d>>>0?c:a>>>0<f>>>0?c:a;e=v[(c<<3)+g>>2];if((e|0)==(b|0)){return x[((c<<3)+g|0)+4>>1]+1&65535}a=(b+c|0)-e|0;e=b>>>0<e>>>0;f=e?f:c+1|0;d=e?c:d;if(f>>>0<d>>>0){continue}break}}return 0}function Fm(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Ca-16|0;Ca=b;d=v[a>>2];a:{if(!d){break a}c=v[d+8>>2];if(!c){break a}e=d;while(1){c=v[c+8>>2];if(c){e=v[e+8>>2];c=v[c+8>>2];if(c){continue}}break}v[b+12>>2]=d;v[b+8>>2]=v[e+8>>2];v[e+8>>2]=0;Fm(b+12|0);Fm(b+8|0);f=a,g=Em(v[b+12>>2],v[b+8>>2]),v[f>>2]=g}Ca=b+16|0}function qd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Ca-16|0;Ca=d;g=a;h=a;a:{if(!b){b=0;break a}c=b>>31;e=c+b^c;c=E(e);Tc(d,e,0,0,0,c+81|0);e=0+v[d+8>>2]|0;c=(v[d+12>>2]^65536)+(16414-c<<16)|0;c=e>>>0<f>>>0?c+1|0:c;f=b&-2147483648|c;c=v[d+4>>2];b=v[d>>2]}v[h>>2]=b;v[g+4>>2]=c;v[a+8>>2]=e;v[a+12>>2]=f;Ca=d+16|0}function lv(a,b,c){var d=0,e=0;e=Ca-16|0;Ca=e;a=v[a+4>>2];d=v[v[a+128>>2]+52>>2];a:{b:{if(!d){d=b<<2;b=d+v[a+432>>2]|0;a=v[d+v[a+428>>2]>>2];break b}b=Ea[v[v[d>>2]>>2]](v[d+4>>2],b,e+8|0)|0;if(b){break a}b=e+8|4;a=v[e+8>>2]}d=v[b>>2];v[c+12>>2]=a;b=0;v[c>>2]=0;v[c+4>>2]=a;v[c+8>>2]=a+d}Ca=e+16|0;return b}function UH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{b:{c:{switch(b+4|0){case 37:v[a>>2]=938;return 0;case 38:b=v[a+12>>2];if(!b){break b}v[a+12>>2]=b-1;return 0;default:return jt(a,b,c,d,e)|0;case 19:break a;case 30:break b;case 0:break c}}if(!v[a+12>>2]){break a}}v[a>>2]=936;f=-1}return f|0}function HK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;v[b+20>>2]=v[c>>2];d=v[c+4>>2];v[b+108>>2]=0;v[b+112>>2]=0;v[b+24>>2]=d;d=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=d;v[b+8>>2]=v[a+8>>2];v[b+12>>2]=v[a+12>>2];a=v[a+16>>2];v[b+120>>2]=0;v[b+124>>2]=0;v[b+16>>2]=a;if((Vu(v[c+8>>2],b,0)|0)==-1){v[b+20>>2]=0}return 1}function fK(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a=b;f=a;b=v[a+92>>2];a:{if(b){a=v[b+4>>2]==1937337698?c|61440:c;break a}a=c}a=kc(f,a);v[d>>2]=a;if(!a){return 0}v[e+28>>2]=a;b=0;a=ld(v[e>>2],e+8|0,v[e+32>>2]?c>>>0>752?e:0:0);b:{if(!a){break b}if(v[a>>2]>-1){b=a;break b}Ib(a)}Ib(b);return 1}function Tq(a,b){var c=0,d=0,e=0,f=0,g=0;c=Ca-16|0;Ca=c;d=v[a+36>>2];a:{if(!d){break a}d=v[d+28>>2];b=gi(a+36|0,b,c+12|0,c+8|0);v[c+4>>2]=b;if(b){break a}b=v[c+8>>2];e=qb(d,b+1|0,c+4|0);if(!v[c+4>>2]){f=Ta(e,v[c+12>>2],b)+b|0,g=0,t[f|0]=g}if(v[a+68>>2]){break a}Qb(v[a+36>>2],c+12|0)}Ca=c+16|0;return e}function KM(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|0)/-4|0;if(b){f=v[d>>2]+B(a,v[d+4>>2])|0;while(1){b=b-1|0;if(x[c+2>>1]){g=w[c+4|0]+8>>>4|0;d=0;while(1){e=f+((u[c>>1]+d|0)/4|0)|0;a=w[e|0]+g|0;t[e|0]=a-(a>>>8|0);d=d+1|0;if(d>>>0<x[c+2>>1]){continue}break}}c=c+6|0;if(b){continue}break}}}function FE(a){a=a|0;var b=0,c=0,d=0,e=0;d=Ca-16|0;Ca=d;b=v[a>>2];c=v[b+552>>2];b=pc(v[v[b+96>>2]+4>>2],7345);a:{if(!b|!c){break a}c=v[c>>2];if(!c){break a}c=Ea[c|0](b)|0;if(!c){break a}b=v[a>>2];e=Ea[v[c>>2]](v[b+100>>2],b+168|0,d+12|0)|0;if(e){break a}v[v[a+40>>2]>>2]=v[d+12>>2]}Ca=d+16|0;return e|0}function tm(a,b){var c=0,d=0,e=0,f=0;f=Xa(b);e=((b>>>0)%8191<<2)+a|0;d=v[e+12>>2];a:{if(d){c=d;while(1){if(v[c+4>>2]==(b|0)){break a}c=v[c>>2];if(c){continue}break}}c=Va(12);if(!c){return 0}v[c+4>>2]=b;b=v[a>>2];v[c>>2]=d;v[c+8>>2]=b;v[e+12>>2]=c;d=a;a=f+1|0;c=a&7;v[d>>2]=b+((c?8-c|0:0)+a|0)}return 1}function JO(a){a=a|0;a=a+24|0;zb(a,534);bb(a,1819239276,1,1);bb(a,1667460464,1,1);zb(a,535);bb(a,1919969382,9,1);zb(a,0);bb(a,1886545254,9,1);zb(a,0);bb(a,1651275622,9,1);zb(a,0);bb(a,1886614630,9,1);zb(a,0);zb(a,536);bb(a,1886545267,9,1);bb(a,1633842803,9,1);bb(a,1651275635,9,1);bb(a,1886614643,9,1)}function ty(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(!w[a+12|0]){break a}c=w[b|0];b=w[b+1|0];v[a+16>>2]=-1;d=a;a=b|c<<8;c=ec(d,a);if(!c){break a}c=c+(a>>>3&56)|0;a=c;e=v[c+4>>2];d=c;f=v[c>>2];c=b&63;b=c&31;if((c&63)>>>0>=32){c=1<<b;b=0}else{c=(1<<b)-1&1>>>32-b;b=1<<b}v[d>>2]=f|b;v[a+4>>2]=c|e}}function mv(a,b){var c=0,d=0,e=0;a:{if(b>>>0>255){break a}c=v[a+604>>2];c=Ea[v[c+20>>2]](x[v[c+24>>2]+(b<<1)>>1])|0;d=v[a+584>>2];if(!d){break a}e=v[a+580>>2];b=0;while(1){b:{a=v[(b<<2)+e>>2];if(!a|w[a|0]!=w[c|0]){break b}if(Wa(a,c)){break b}return b}b=b+1|0;if((d|0)!=(b|0)){continue}break}}return-1}function gp(a,b){var c=0;a:{if((b|0)!=1196445523){c=280448;if((b|0)!=1196643650){break a}a=v[Ic(a+136|0)>>2];a=a?a:280448;c=y[a+16>>2]<10?280448:v[a+12>>2];break a}a=v[ad(a+140|0)>>2];a=a?a:280448;c=y[a+16>>2]<10?280448:v[a+12>>2]}a=c;a=w[a+9|0]|w[a+8|0]<<8;a=a?c+a|0:280448;return w[a|0]<<8|w[a+1|0]}function af(a,b){var c=0;c=v[a+8>>2];a:{if(v[a+12>>2]-c>>3>>>0<=b>>>0){a=v[a+4>>2];b=0;if(!a|v[a>>2]){break a}v[a>>2]=130;return 0}b:{c:{d:{a=(b<<3)+c|0;switch(v[a+4>>2]-1|0){case 0:break c;case 1:break d;default:break b}}return v[a>>2]<<16}a=v[a>>2];return((a>>31)+a|0)- -8192>>14}b=v[a>>2]}return b}function GB(a){a=a|0;var b=0,c=0;c=v[a+28>>2];b=v[a+12>>2];if(b){fi(b+12|0);v[b+52>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;if(b){Ea[v[c+8>>2]](c,b)}v[a+12>>2]=0}if(!v[a+20>>2]){b=v[a>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a>>2]=0}}function _P(a){a=a|0;a=a+24|0;zb(a,466);zb(a,467);bb(a,1819239276,1,1);bb(a,1667460464,1,1);bb(a,1886545254,12,1);bb(a,1651275622,12,1);bb(a,1633842790,12,1);bb(a,1886614630,12,1);bb(a,1667654002,12,1);zb(a,468);bb(a,1886545267,13,1);bb(a,1633842803,13,1);bb(a,1651275635,13,1);bb(a,1886614643,13,1)}function ML(a){a=a|0;var b=0,c=0,d=0,e=0;e=v[a>>2];b=v[a+8>>2];if(b){c=v[a+16>>2];d=v[c+4>>2];v[b+108>>2]=v[c>>2];v[b+112>>2]=d;v[b+124>>2]=v[c+16>>2];d=v[c+12>>2];v[b+116>>2]=v[c+8>>2];v[b+120>>2]=d}b=v[a+1512>>2];if(b){Ea[b|0](v[a+1508>>2]);b=v[a+1508>>2];if(b){Ea[v[e+8>>2]](e,b)}v[a+1508>>2]=0}}function Bi(a,b){var c=0,d=0,e=0;e=Ca-16|0;Ca=e;v[e+12>>2]=b;c=Ca-160|0;Ca=c;Ta(c+8|0,522968,144);v[c+52>>2]=a;v[c+28>>2]=a;d=-2-a|0;d=d>>>0<2147483647?d:2147483647;v[c+56>>2]=d;a=a+d|0;v[c+36>>2]=a;v[c+24>>2]=a;el(c+8|0,27859,b);if(d){a=v[c+28>>2];t[a-((a|0)==v[c+24>>2])|0]=0}Ca=c+160|0;Ca=e+16|0}function iH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=39;a:{b:{switch(b-15|0){case 9:v[a+8>>2]=39;v[a>>2]=957;return 45;case 21:v[a+8>>2]=39;v[a>>2]=957;return 46;case 6:v[a>>2]=980;return 39;case 0:break a;default:break b}}if(!v[a+16>>2]){c=59;if((b|0)==28){break a}}v[a>>2]=936;c=-1}return c|0}function _v(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;v[a+2748>>2]=b;c=v[b+28>>2];v[a+4>>2]=v[b+44>>2];v[a+8>>2]=v[b+48>>2];v[a+12>>2]=v[b+7720>>2];v[a+16>>2]=v[b+7724>>2];b=v[b+24>>2];v[a+2740>>2]=c|4;d=a;a=(b&-2)==2;c=a|2;e=(b|0)==4?c:a;a=(b|0)==2;c=a?c:e;b=(b&-3)==1?c:c|4;v[d+2744>>2]=a?b|8:b;return 0}function Bh(a){var b=0,c=0;b=Ca-16|0;Ca=b;while(1){c=w[a|0];if(!((c|0)!=38?(c|0)!=72:0)){a=a+1|0;continue}break}v[b+12>>2]=a;a=Md(a,b+12|0,16);Ca=b+16|0;c=a;b=a>>>0>2147483648;a=Da;b=(a|0)>-1?1:(a|0)>=-1?b:0;c=b?c:-2147483648;a=b?a:-1;a=(a|0)<0?1:(a|0)<=0?c>>>0<2147483647:0;return a?c:2147483647}function jd(a){var b=0,c=0;a:{if(!a){break a}if(v[a>>2]==-1){Ye(a);return}b=v[a>>2];v[a>>2]=b-1;if((b|0)!=1){break a}c=v[a+4>>2];if((c|0)>=1){b=0;while(1){c=v[a+8>>2]+a|0;Pa(v[c+(b<<2)>>2]+c|0);b=b+1|0;c=v[a+4>>2];if((b|0)<(c|0)){continue}break}}if(c){Pa(v[a+8>>2]+a|0);Pa(v[a+12>>2]+a|0)}Pa(a)}}function cc(a,b){var c=0,d=0,e=0;c=Ca-16|0;Ca=c;t[c+15|0]=0;v[b>>2]=0;d=v[a+8>>2];a:{b:{e=v[a+20>>2];c:{if(e){if((Ea[e|0](a,d,c+15|0,1)|0)!=1){break b}d=v[a+8>>2];b=c+15|0;break c}if(y[a+4>>2]<=d>>>0){break b}b=v[a>>2]+d|0}b=w[b|0];v[a+8>>2]=d+1;break a}v[b>>2]=85;b=0}Ca=c+16|0;return b<<24>>24}function Iw(a){v[a+360>>2]=0;v[a+336>>2]=a+360;v[a+312>>2]=a+336;v[a+288>>2]=a+312;v[a+264>>2]=a+288;v[a+240>>2]=a+264;v[a+216>>2]=a+240;v[a+192>>2]=a+216;v[a+168>>2]=a+192;v[a+144>>2]=a+168;v[a+120>>2]=a+144;v[a+96>>2]=a+120;v[a+72>>2]=a+96;v[a+48>>2]=a+72;v[a+24>>2]=a+48;v[a>>2]=a+24;return a}function xE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(b>>>0>65535){break a}e=v[c+288>>2];if((e|0)<1){break a}f=v[c+292>>2];while(1){c=v[(d<<2)+f>>2];b:{if(!c|w[c|0]!=w[a|0]){break b}if((Xa(c)|0)!=(b|0)){break b}if(!$a(c,a,b)){break a}}d=d+1|0;if((e|0)!=(d|0)){continue}break}d=0}return d|0}function AJ(a,b,c){a=a|0;b=b|0;c=c|0;v[a>>2]=v[c>>2]|v[b>>2];v[a+4>>2]=v[c+4>>2]|v[b+4>>2];v[a+8>>2]=v[c+8>>2]|v[b+8>>2];v[a+12>>2]=v[c+12>>2]|v[b+12>>2];v[a+16>>2]=v[c+16>>2]|v[b+16>>2];v[a+20>>2]=v[c+20>>2]|v[b+20>>2];v[a+24>>2]=v[c+24>>2]|v[b+24>>2];v[a+28>>2]=v[c+28>>2]|v[b+28>>2];return 1}function oB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=v[a+16>>2];d=x[a+2>>1];a:{if(d+(x[a+6>>1]<<8)>>>0<b>>>0){break a}c=x[a>>1];f=x[a+4>>1];if(c+(f<<8)>>>0>b>>>0){break a}e=b&255;if(e>>>0<c>>>0|d>>>0<e>>>0){break a}g=x[v[a+12>>2]+((e-c|0)+B((d-c|0)+1|0,(b>>>8&65535)-f|0)<<1)>>1]}return g|0}function ci(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=t[a|0];e=b&255;if(!e|!(w[(e>>>3|0)+28960|0]>>>(b&7)&1)){break a}while(1){c=65535;if((d&65535)>>>0>6551){break a}c=b+28992|0;b=t[a+1|0];a=a+1|0;d=w[c|0]+B(d,10)|0;c=d;if(w[((b&248)>>>3|0)+28960|0]>>>(b&7)&1){continue}break}}return c&65535}function yL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+12>>2];a:{if((u[d+22>>1]+u[d+58>>1]|0)+1>>>0>y[d+4>>2]){d=mc(d,1,0);if(d){break a}}d=v[a+20>>2];if(w[a+65|0]){a=v[d+8>>2];e=u[d+2>>1];f=v[d+4>>2]+(e<<3)|0;v[f+4>>2]=c>>10;v[f>>2]=b>>10;t[a+e|0]=1}u[d+2>>1]=x[d+2>>1]+1;d=0}return d|0}function ts(a){var b=0,c=0,d=0,e=0,f=0;b=v[a+40>>2];c=Ea[b|0](a,0,0,w[a|0]&128?y[a+20>>2]>y[a+28>>2]?2:1:1)|0;b=Da;d=b;if((b|0)>0?1:(b|0)>=0){e=v[a+20>>2]-v[a+28>>2]|0;a=v[a+8>>2]-v[a+4>>2]|0;f=c-a|0;b=e+f|0;a=(d-((a>>31)+(c>>>0<a>>>0)|0)|0)+(e>>31)|0;c=b;d=b>>>0<f>>>0?a+1|0:a}Da=d;return c}function dg(a){var b=0;if(a){while(1){a:{b:{switch(v[a+8>>2]-3|0){case 0:Pa(v[a+16>>2]);break a;case 2:vm(v[a+16>>2]);break a;case 3:jd(v[a+16>>2]);break a;case 5:ie(v[a+16>>2]);break a;case 6:break b;default:break a}}Pa(v[a+16>>2])}b=v[a>>2];Pa(a);a=b&1?(b&-2)+a|0:b;if(a){continue}break}}}function Yb(a){var b=0,c=0,d=0,e=0;e=Xa(a);a:{if(!v[164432]|!w[a|0]){break a}if(Tb(a,61)){break a}b=v[v[164432]>>2];if(!b){break a}b:{while(1){d=$a(a,b,e);b=v[164432];if(!d){d=v[b+(c<<2)>>2]+e|0;if(w[d|0]==61){break b}}c=c+1|0;b=v[b+(c<<2)>>2];if(b){continue}break}return 0}c=d+1|0}return c}function Ru(a){var b=0,c=0;b=v[a+20>>2];if(b){a:{if(v[a+8>>2]<1){break a}while(1){b=B(c,56)+b|0;Pa(v[b+28>>2]);Pa(v[b+44>>2]);Pa(v[b+48>>2]);Pa(v[b+52>>2]);c=c+1|0;if((c|0)>=v[a+8>>2]){break a}b=v[a+20>>2];continue}}v[a+8>>2]=0}Pa(v[v[a+88>>2]+20>>2]);a=v[a+88>>2];v[a+20>>2]=0;v[a+24>>2]=0}function XO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(!(w[v[a+112>>2]+36|0]&2)){break a}d=v[c+76>>2];if(!d){break a}e=v[c+88>>2];a=0;while(1){b=B(a,20)+e|0;if(w[b+12|0]&64){f=b;b=w[b+14|0];t[f+19|0]=b&16?8:b&1|8;v[c+32>>2]=v[c+32>>2]|16777216}a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function Kw(a,b){var c=0,d=0,e=0;d=v[a>>2];a:{if((d|0)<0){break a}e=1;if(b>>>0<=d>>>0){break a}c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=b>>>0){continue}break}b=-1;e=0;b:{if(c>>>0<d>>>0|c>>>0>1073741822){break b}d=gb(v[a+8>>2],c<<2);if(!d){break b}v[a+8>>2]=d;e=1;b=c}v[a>>2]=b}return e}function Vf(a,b,c){var d=0,e=0,f=0,g=0;e=Ca-16|0;Ca=e;d=0;a:{if(!a){break a}f=v[a+92>>2];d=0;if(!f){break a}d=0;if(!v[a+16>>2]){break a}v[e+12>>2]=b;while(1){g=Ea[v[v[f+12>>2]+16>>2]](f,e+12|0)|0;if(g>>>0>=y[a+16>>2]){continue}break}d=g?v[e+12>>2]:0}a=d;if(c){v[c>>2]=g}Ca=e+16|0;return a}function PL(a){a=a|0;var b=0,c=0;b=v[a+20>>2];if(!b){return 3}a:{b:{if(w[a+68|0]){a=v[a+12>>2];if((u[a+20>>1]+u[a+56>>1]|0)+1>>>0>y[a+8>>2]){a=mc(a,0,1);if(a){break a}}c=x[b>>1];a=c<<16>>16;if((a|0)<1){break b}u[(v[b+12>>2]+(c<<1)|0)-2>>1]=x[b+2>>1]-1}a=x[b>>1]}u[b>>1]=a+1;a=0}return a|0}function $y(a,b){a=a|0;b=b|0;var c=0;a:{switch(b|0){case 0:return a+160|0;case 3:return a+216|0;case 4:return(w[a+292|0]?a+296|0:0)|0;case 2:return(x[a+372>>1]==65535?0:a+372|0)|0;case 5:return a+476|0;case 1:return a+260|0;case 6:c=v[a+568>>2]?a+568|0:0;break;default:break a}}return c|0}function wx(a,b){var c=0,d=0;a:{if(y[b+4>>2]>a>>>0){break a}c=v[b+8>>2];if(c>>>0<a>>>0|c-a>>>0<4){break a}c=v[b+12>>2]-4|0;v[b+12>>2]=c;if((w[a+1|0]|w[a|0]<<8)!=1|(c|0)<1){break a}if(!Io(a+4|0,b,a)){break a}if(!En(a+8|0,b,a)){break a}if(!En(a+12|0,b,a)){break a}d=En(a+16|0,b,a)}return d}function of(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Ca-16|0;Ca=c;g=a;h=a;a:{if(!b){b=0;e=0;break a}d=b;b=E(b);Tc(c,d,0,0,0,b+81|0);d=0+v[c+8>>2]|0;b=(v[c+12>>2]^65536)+(16414-b<<16)|0;b=d>>>0<f>>>0?b+1|0:b;f=d;d=b;b=v[c+4>>2];e=v[c>>2]}v[h>>2]=e;v[g+4>>2]=b;v[a+8>>2]=f;v[a+12>>2]=d;Ca=c+16|0}function tf(a){var b=0,c=0;v[a+20>>2]=0;v[a+36>>2]=0;v[a+48>>2]=0;b=v[a+24>>2];v[a+56>>2]=v[a+20>>2];v[a+60>>2]=b;c=v[a+32>>2];b=a- -64|0;v[b>>2]=v[a+28>>2];v[b+4>>2]=c;v[a+88>>2]=v[a+52>>2];b=v[a+40>>2];v[a+72>>2]=v[a+36>>2];v[a+76>>2]=b;b=v[a+48>>2];v[a+80>>2]=v[a+44>>2];v[a+84>>2]=b}function qf(a){var b=0,c=0,d=0,e=0,f=0;f=v[a+76>>2]>=0;d=v[a>>2]&1;if(!d){b=v[a+52>>2];if(b){v[b+56>>2]=v[a+56>>2]}c=v[a+56>>2];if(c){v[c+52>>2]=b}if(v[164399]==(a|0)){v[164399]=c}}b=jl(a);c=Ea[v[a+12>>2]](a)|0;e=v[a+96>>2];if(e){Pa(e)}a:{if(!d){Pa(a);break a}if(!f){break a}}return b|c}function oM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{if(!Wa(b,299396)){b=v[c>>2];d=6;if(b-2>>>0>30){break a}v[a- -64>>2]=b;break b}if(!Wa(b,299403)){t[a+68|0]=v[c>>2]!=0;return 0}if(!Wa(b,299413)){t[a+69|0]=v[c>>2]!=0;return 0}d=12;if(Wa(b,299420)){break a}t[a+70|0]=w[c|0]}d=0}return d|0}function Re(a,b){var c=0;if(v[b+76>>2]<0){a:{if(t[b+75|0]==(a&255)){break a}c=v[b+20>>2];if(c>>>0>=y[b+16>>2]){break a}v[b+20>>2]=c+1;t[c|0]=a;return}Vk(b,a);return}b:{c:{if(t[b+75|0]==(a&255)){break c}c=v[b+20>>2];if(c>>>0>=y[b+16>>2]){break c}v[b+20>>2]=c+1;t[c|0]=a;break b}Vk(b,a)}}function Kz(a,b){a=a|0;b=b|0;var c=0;c=Ea[v[a+516>>2]](a,1886352244,b,0)|0;a:{if(c){break a}c=ub(b,163136,a+476|0);if(c){break a}c=154;a=v[a+476>>2];b:{if((a|0)<=151551){if((a|0)==65536|(a|0)==131072){break b}break a}if((a|0)==196608){break b}if((a|0)!=151552){break a}}c=0}return c|0}function Ix(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=v[a+12>>2];a:{if(Ea[v[e+24>>2]](e,b,v[e+56>>2])>>>0<=31){e=v[a+12>>2];f=0;if(1<<Ea[v[e+24>>2]](e,b,v[e+56>>2])&7168){break a}}a=v[a+12>>2];v[d>>2]=0;f=0;if(!b|!c){break a}f=(Ea[v[a+36>>2]](a,b,c,d,v[a+68>>2])|0)!=0}return f|0}function sb(a){var b=0,c=0;c=v[a+12>>2];a:{if((c|0)==v[a+8>>2]){a=v[a+4>>2];b=0;if(!a|v[a>>2]){break a}v[a>>2]=161;return 0}b=a;a=c-8|0;v[b+12>>2]=a;b:{switch(v[a+4>>2]-1|0){case 1:return v[a>>2]<<16;case 0:a=v[a>>2];return((a>>31)+a|0)- -8192>>14;default:break b}}b=v[a>>2]}return b}function Td(a,b,c){var d=0,e=0,f=0;f=((b>>>0)%8191<<2)+a|0;e=v[f+12>>2];a:{if(e){d=e;while(1){if(v[d+4>>2]==(b|0)){break a}d=v[d>>2];if(d){continue}break}}d=Va(12);if(!d){return 0}v[d+4>>2]=b;b=v[a>>2];v[d>>2]=e;v[d+8>>2]=b;v[f+12>>2]=d;e=a;a=c&7;v[e>>2]=b+((a?8-a|0:0)+c|0)}return 1}function RE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=v[a+736>>2];a:{b:{if(f){if(b){v[b>>2]=v[f>>2]}if(c){v[c>>2]=v[f+4>>2]}if(d){v[d>>2]=v[v[a+736>>2]+8>>2]}if(!e){break a}a=v[v[a+736>>2]+12>>2];break b}if(b){v[b>>2]=0}if(c){v[c>>2]=0}a=0;if(!e){break a}}v[e>>2]=a}return 0}function rL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>255){break a}b=Ea[v[a+20>>2]](x[v[a+16>>2]+(b<<1)>>1])|0;d=v[a+24>>2];if(!d){break a}e=v[a+28>>2];while(1){a=v[(c<<2)+e>>2];if(!(!a|w[a|0]!=w[b|0])){if(!Wa(a,b)){break a}}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=0}return c|0}function Yk(a,b,c,d){var e=0,f=0,g=0;f=v[164433]+1|0;v[164433]=f;v[a>>2]=f;a:{if(d){while(1){g=(e<<3)+c|0;if(!v[g>>2]){break a}e=e+1|0;if((e|0)!=(d|0)){continue}break}}e=a;a=d<<1;b=Yk(e,b,gb(c,d<<4|8),a);P(a|0);return b}v[g>>2]=f;a=(e<<3)+c|0;v[a+4>>2]=b;v[a+8>>2]=0;P(d|0);return c}function Xa(a){var b=0,c=0,d=0;b=a;a:{if(b&3){while(1){if(!w[b|0]){break a}b=b+1|0;if(b&3){continue}break}}while(1){c=b;b=b+4|0;d=v[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}if(!(d&255)){return c-a|0}while(1){d=w[c+1|0];b=c+1|0;c=b;if(d){continue}break}}return b-a|0}function ti(a,b){var c=0,d=0,e=0;d=v[v[a+4>>2]+100>>2];c=v[a+156>>2];e=v[c+4>>2];a:{if(e&1){c=v[a+88>>2];if(c){Ea[v[d+8>>2]](d,c)}v[a+88>>2]=0;break a}v[c+4>>2]=e|1}e=0;c=b?6:0;b:{if((b|0)<=0){break b}d=Ea[v[d+4>>2]](d,b)|0;c=64;if(!d){break b}e=Ra(d,0,b);c=0}v[a+88>>2]=e;return c}function PB(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=v[a+100>>2];b=v[a+132>>2];if(b){if(v[b+160>>2]){Qb(v[a+104>>2],b+160|0)}d=c;e=v[b+168>>2];if(e){Ea[v[d+8>>2]](d,e)}v[b+168>>2]=0;if(b){Ea[v[c+8>>2]](c,b)}v[a+132>>2]=0}d=v[a+32>>2];if(d){Ea[v[c+8>>2]](c,d)}v[a+28>>2]=0;v[a+32>>2]=0}}function lk(a,b,c){var d=0;d=Ca-16|0;Ca=d;a:{if(b>>>0<=255){b=ub(a,b&4?25888:25920,c);break a}b=ub(a,25952,d+8|0);if(b){break a}u[c>>1]=w[d+8|0]-128;u[c+2>>1]=w[d+9|0]-128;u[c+4>>1]=w[d+10|0]-128;u[c+6>>1]=w[d+11|0]-128;a=w[d+12|0];u[c+10>>1]=0;u[c+8>>1]=a-128}Ca=d+16|0;return b}function Qw(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+32>>2];if(!(!b|!v[b>>2])){while(1){e=(c<<2)+b|0;a:{if(!v[e+28>>2]){break a}d=B(c,24)+b|0;Pa(v[d+68>>2]);v[d+68>>2]=0;v[d+60>>2]=0;v[d+64>>2]=0;if(!w[b+4|0]){break a}Pa(v[e+28>>2])}c=c+1|0;if(c>>>0<y[b>>2]){continue}break}Pa(b)}Pa(a)}function MI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{a=v[b>>2];if(c>>>0<=a>>>0){break a}while(1){f=v[d>>2];if(f>>>0<e>>>0){v[b>>2]=a+1;a=w[a|0];f=v[d>>2];v[d>>2]=f+2;u[f>>1]=a;a=v[b>>2];if(c>>>0>a>>>0){continue}break a}break}if((e|0)!=(f|0)){break a}return 2}return 0}function mI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{a=v[b>>2];if(c>>>0<=a>>>0){break a}while(1){f=v[d>>2];if(f>>>0<e>>>0){v[b>>2]=a+1;a=w[a|0];f=v[d>>2];v[d>>2]=f+1;t[f|0]=a;a=v[b>>2];if(c>>>0>a>>>0){continue}break a}break}if((e|0)!=(f|0)){break a}return 2}return 0}function ky(a,b){a=a|0;b=b|0;var c=0,d=0;c=w[a+3|0]|w[a+2|0]<<8;d=c?c+a|0:280448;c=v[b+100>>2];c=xb(d,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);if((c|0)!=-1){d=a;a=c>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((c<<1)+a|0)+6|0:280448;a=w[a|0]<<8|w[a+1|0];a=io(a?d+a|0:280448,b)}else{a=0}return a|0}function Vz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=142;e=x[a+152>>1];a:{if(!e){break a}a=v[a+156>>2];e=a+(e<<4)|0;while(1){b:{if(v[a>>2]==(b|0)){g=v[a+12>>2];if(g){break b}}a=a+16|0;if(e>>>0>a>>>0){continue}break a}break}if(d){v[d>>2]=g}f=Ya(c,v[a+8>>2])}return f|0}function BK(a,b){a=a|0;b=b|0;var c=0;a:{if(v[a>>2]!=v[b>>2]|v[a+4>>2]!=v[b+4>>2]|(v[a+8>>2]!=v[b+8>>2]|v[a+12>>2]!=v[b+12>>2])){break a}if(v[a+16>>2]!=v[b+16>>2]|v[a+20>>2]!=v[b+20>>2]|(v[a+24>>2]!=v[b+24>>2]|v[a+28>>2]!=v[b+28>>2])){break a}c=v[a+32>>2]==v[b+32>>2]}return c|0}function sn(a,b,c,d){var e=0;a:{b:{if(!v[a+4>>2]){if(!d){break b}Ea[d|0](c);return}e=v[a+80>>2];if(e){Ea[e|0](v[a+76>>2])}b=b?b:654144;e=v[b>>2];if(e){if((e|0)<=0){break a}v[b>>2]=e+1}ud(v[a+72>>2]);v[a+80>>2]=d;v[a+76>>2]=c;v[a+72>>2]=b}return}O(256902,256927,262,256942);L()}function Ms(a){var b=0;a:{b:{if(!a){be();while(1){c:{a=v[164112];if(a){break c}a=_f();if(!a){continue}be();b=v[164112];v[164112]=b?b:a;if(!b){break c}ac(a);continue}break}v[a+68>>2]=v[a+68>>2]+1;b=0;if(!a){break a}break b}v[a+68>>2]=v[a+68>>2]+1}b=Oc(v[a+8>>2]);ac(a)}return b}function HH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=22;e=958;d=33;a:{b:{c:{switch(b-15|0){case 2:e=v[a+16>>2]?939:959;c=33;break b;case 0:break a;case 3:case 26:break b;default:break c}}c=-1;e=936;if(v[a+16>>2]){break b}d=59;if((b|0)==28){break a}}v[a>>2]=e;d=c}return d|0}function sg(a,b,c){var d=0,e=0,f=0;a:{if(b>>>0<1){d=a;break a}while(1){d=gQ(a,b,10,0);e=Da;f=e;e=eQ(d,e,10,0);c=c-1|0;t[c|0]=a-e|48;e=b>>>0>9;a=d;b=f;if(e){continue}break}}if(d){while(1){c=c-1|0;a=(d>>>0)/10|0;t[c|0]=d-B(a,10)|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function xL(a){a=a|0;var b=0,c=0;b=v[a+20>>2];a:{b:{if(w[a+65|0]){a=v[a+12>>2];if((u[a+20>>1]+u[a+56>>1]|0)+1>>>0>y[a+8>>2]){a=mc(a,0,1);if(a){break a}}c=x[b>>1];a=c<<16>>16;if((a|0)<1){break b}u[(v[b+12>>2]+(c<<1)|0)-2>>1]=x[b+2>>1]-1}a=x[b>>1]}u[b>>1]=a+1;a=0}return a|0}function ug(a){var b=0,c=0;c=v[a+16>>2];a:{if((c|0)>=v[a+20>>2]){c=0;b=ua(v[a>>2],a+32|0,2048)|0;if((b|0)<=0){a=0;if(!b|(b|0)==-44){break a}v[164114]=0-b;return 0}v[a+20>>2]=b}b=a+c|0;v[a+16>>2]=x[b+48>>1]+c;c=v[b+44>>2];v[a+8>>2]=v[b+40>>2];v[a+12>>2]=c;a=b+32|0}return a}function il(a){var b=0,c=0;a:{if(y[a+20>>2]<=y[a+28>>2]){break a}Ea[v[a+36>>2]](a,0,0)|0;if(v[a+20>>2]){break a}return-1}b=v[a+4>>2];c=v[a+8>>2];if(b>>>0<c>>>0){b=b-c|0;Ea[v[a+40>>2]](a,b,b>>31,1)|0}v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;return 0}function Xe(a,b){var c=0,d=0,e=0,f=0,g=0;f=v[a+8>>2]+a|0;a=v[a>>2];a:{if((a|0)<=0){a=0}else{c=a-1|0;while(1){a=c+d>>1;e=v[(a<<3)+f>>2]-b|0;if(!e){break a}g=(e|0)<0;d=g?a+1|0:d;c=g?c:a-1|0;if((d|0)<=(c|0)){continue}break}a=(e>>>31|0)+a|0}a=a^-1}return(a|0)<0?0:(a<<3)+f|0}function XB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[a+420>>2];if((d|0)>=1){f=v[a+424>>2];g=w[b|0];while(1){a:{e=v[(c<<2)+f>>2];if(w[e|0]!=(g|0)){break a}if(Wa(b,e)){break a}return jc(v[v[a+428>>2]+(c<<2)>>2],0,10)|0}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function cH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=17;a:{b:{switch(b-15|0){case 12:v[a+8>>2]=17;v[a>>2]=957;return 19;case 2:v[a>>2]=v[a+16>>2]?939:959;return 20;case 0:break a;default:break b}}if(!v[a+16>>2]){c=59;if((b|0)==28){break a}}v[a>>2]=936;c=-1}return c|0}function ht(a,b){var c=0,d=0;c=Ca-32|0;Ca=c;d=Yb(509522);a:{if(!d){break a}v[164114]=0;v[c+28>>2]=d;d=cl(d,c+28|0);if(w[v[c+28>>2]]?1:v[164114]){v[164114]=0;break a}if(!d){break a}v[c+12>>2]=4;v[c+8>>2]=b;v[c+4>>2]=8;v[c>>2]=a;$b(v[130915],509542,c)}Ca=c+32|0;return b}function EK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(!a){return 1}c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+16>>2]=v[b+16>>2];c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c;d=v[b>>2];c=v[b+4>>2];b=Va(c+1|0);if(b){e=Ta(b,d,c)+c|0,f=0,t[e|0]=f}v[a>>2]=b;return(b|0)!=0|0}function hh(a,b,c){var d=0,e=0,f=0;d=a*a;f=d*(d*d)*(d*1.58969099521155e-10+-2.5050760253406863e-8)+(d*(d*27557313707070068e-22+-.0001984126982985795)+.00833333333332249);e=d*a;if(!c){return e*(d*f+-.16666666666666632)+a}return a-(d*(b*.5-e*f)-b+e*.16666666666666632)}function RA(a,b){a=a|0;b=b|0;var c=0;if(y[b+160>>2]<a+4>>>0){ob(b,8)}c=w[a+3|0]|w[a+2|0]<<8;if(!(y[b+160>>2]>=a+c>>>0?c>>>0>=262:0)){ob(b,8)}if(v[b+164>>2]){a=a+6|0;c=0;while(1){if(y[b+172>>2]<=w[a|0]){ob(b,16)}a=a+1|0;c=c+1|0;if((c|0)!=256){continue}break}}return 0}function Oz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[a+516>>2];e=b;a:{b:{if(c){c=Ea[d|0](a,1986553185,b,0)|0;if(c){break a}a=a+296|0;break b}c=Ea[d|0](a,1751672161,b,0)|0;if(c){break a}a=a+216|0}c=ub(e,162736,a);if(c){break a}v[a+36>>2]=0;v[a+40>>2]=0;c=0}return c|0}function Ow(a,b,c){var d=0;d=Vt();v[a>>2]=d;a:{if(d){v[d+24>>2]=0;v[d+20>>2]=1;d=Pu(v[a>>2]);v[a+4>>2]=d;if(!d){break a}Hm(d,b,c);v[a+12>>2]=b;v[a+16>>2]=c;Gm(v[a+4>>2],1033,0,3,1055);v[a+32>>2]=0;v[a+24>>2]=0;v[a+28>>2]=-1;return}uc(1207);V(2);L()}uc(1232);V(3);L()}function bd(a,b,c){var d=0,e=0,f=0,g=0;d=(Xa(b)+Xa(c)|0)+1|0;a:{b:{if((d|0)>=1){a=Ea[v[a+4>>2]](a,d)|0;if(a){break b}return 0}a=0;e=0;if(d){break a}}d=Se(b,47);c:{if(d){e=b;b=(d-b|0)+1|0;f=ve(a,e,b)+b|0,g=0,t[f|0]=g;b=d+1|0;break c}t[a|0]=0}e=ih(ih(a,c),b)}return e}function Od(a,b,c){var d=0;d=v[((Ea[v[a+908>>2]](b)>>>0)%227<<2)+a>>2];a:{if(!d){break a}while(1){if(!(Ea[v[a+912>>2]](v[d+4>>2],b)|0)){b=v[d+8>>2];a=v[a+920>>2];b:{if(a){if(Ea[a|0](b,c)|0){break b}break a}v[c>>2]=b}return 1}d=v[d>>2];if(d){continue}break}}return 0}function jC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=v[a+88>>2];if(b){v[b>>2]=v[a+300>>2]}if(c){v[c>>2]=v[a+304>>2]}a:{if(!f){b=65536;a=65536;break a}b=ab(x[f+12>>1]<<6,v[a+304>>2]);a=ab(x[f+14>>1]<<6,v[a+304>>2])}if(d){v[d>>2]=b}if(e){v[e>>2]=a}return 0}function DI(a,b){a=a|0;b=b|0;var c=0;c=1;a=w[b+3|0];a:{if(!(a&128)|(a&192)==192){break a}a=w[b+2|0];if(!(a&128)|(a&192)==192){break a}a=w[b+1|0];b=w[b|0];if((b|0)==240){return(a+112&255)>>>0>47|0}if(!(a&128)){break a}c=(b|0)==244?a>>>0>143:(a&192)==192}return c|0}function xM(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+16>>2];v[a+32>>2]=b;d=v[a+20>>2];v[a+36>>2]=d;c=v[a+8>>2];e=c+v[a>>2]|0;v[a+8>>2]=e>>1;b=b+c|0;v[a+24>>2]=b>>1;v[a+16>>2]=b+e>>2;b=v[a+12>>2];c=b+v[a+4>>2]|0;v[a+12>>2]=c>>1;b=b+d|0;v[a+28>>2]=b>>1;v[a+20>>2]=b+c>>2}function mg(a){var b=0,c=0,d=0;a:{if(!a){break a}b=t[a|0];d=b&255;if(!d|!(w[(d>>>3|0)+28960|0]>>>(b&7)&1)){break a}while(1){if(c>>>0>429496727){return-1}c=w[b+28992|0]+B(c,10)|0;b=t[a+1|0];a=a+1|0;if(w[((b&248)>>>3|0)+28960|0]>>>(b&7)&1){continue}break}}return c}function gm(a,b,c){var d=0,e=0;d=Ca-16|0;Ca=d;a=Be(a,sd(b),0,d);a:{if(a){break a}a=2;b:{c:{switch(v[d>>2]-1|0){case 1:e=A[d+8>>3];if(D(e)<2147483648){a=~~e;break b}a=-2147483648;break b;case 0:break c;default:break a}}a=v[d+8>>2]}v[c>>2]=a;a=0}Ca=d+16|0;return a}function Up(){var a=0,b=0,c=0,d=0,e=0,f=0;a=Yb(227669);c=2;a:{if(!a){break a}b=2;c=2;if(!w[a|0]){break a}while(1){c=b;e=b|4;f=b;d=Tb(a,58);if(!d){d=Xa(a)+a|0}b=d-a|0;b=$a(a,227680,b)?c:(b|0)==24?e:f;a=w[d|0]?d+1|0:d;if(w[a|0]){continue}break}c=b&255}v[163909]=c}function vE(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a>>2];c=v[d+552>>2];a:{d=pc(v[v[d+96>>2]+4>>2],7345);if(!(!d|!c)){c=v[c>>2];if(c){break a}}og(v[a>>2],b);return 0}c=Ea[c|0](d)|0;og(v[a>>2],b);if(c){Ea[v[c+4>>2]](v[v[a+40>>2]>>2],v[a+16>>2],v[a+20>>2],0,0)}return 0}function FN(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;a=0;g=v[b+4>>2];a:{if(fd(g,c,v[b+8>>2])){break a}b=v[g+84>>2];if(v[b+72>>2]!=1869968492|u[b+110>>1]>>>0<=d>>>0){break a}a=v[b+112>>2]+(d<<3)|0;v[e>>2]=v[a>>2];v[f>>2]=v[a+4>>2];a=1}return a|0}function jF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=u[a+302>>1];if(e){f=c<<3;g=v[f+v[b+12>>2]>>2];e=fb(d,e,v[a+596>>2]);v[f+v[b+12>>2]>>2]=e+g}e=u[a+304>>1];if(e){c=c<<3;f=v[(c+v[b+12>>2]|0)+4>>2];a=fb(d,e,v[a+596>>2]);v[(c+v[b+12>>2]|0)+4>>2]=a+f}}function SD(a,b){a=a|0;b=b|0;var c=0;a=v[a+712>>2];b=x[v[a+1188>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=y[a+1356>>2]){break a}return v[v[a+1360>>2]+(b<<2)>>2]}a=v[a+3084>>2];if(!a){break a}c=Ea[v[a+20>>2]](b)|0}return c|0}function IN(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;f=v[b+4>>2];if(fd(f,c,v[b+8>>2])){return 0}b=v[f+84>>2];v[d>>2]=v[b+32>>2]-v[b+44>>2];v[e>>2]=v[b+48>>2]+v[b+36>>2];if(v[a+20>>2]<=-1){v[d>>2]=0-v[d>>2]}if(v[a+24>>2]<=-1){v[e>>2]=0-v[e>>2]}return 1}function Cn(a,b){var c=0,d=0,e=0;a:{b:{c:{c=v[a+4>>2];switch(c+1|0){case 0:break a;case 1:break b;default:break c}}a=v[a>>2];if(a>>>0<y[b+4>>2]){break a}d=v[b+8>>2];if(a>>>0>d>>>0|d-a>>>0<c>>>0){break a}a=v[b+12>>2]-c|0;v[b+12>>2]=a;return(a|0)>0}e=1}return e}function zC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=v[a>>2];c=v[b+408>>2];v[a+16>>2]=c;d=v[b+416>>2];v[a+20>>2]=d;a:{if(c>>>0<2){break a}b=v[d>>2];a=1;while(1){e=b;b=v[(a<<4)+d>>2];if(e>>>0<b>>>0){a=a+1|0;if((c|0)!=(a|0)){continue}break a}break}f=8}return f|0}function YE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[((c<<2)+a|0)+268>>2];c=v[a+512>>2];e=v[a+516>>2];if((b|0)>=0){b=((b+d|0)+e|0)-c|0;a=c+(b-((b|0)%v[a+508>>2]|0)|0)|0;return((a|0)<0?c:a)|0}b=d+e-(b+c)|0;a=(b|0)%v[a+508>>2]-(b+c)|0;return((a|0)>0?0-c|0:a)|0}function Vk(a,b){var c=0,d=0,e=0;d=Ca-16|0;Ca=d;t[d+15|0]=b;c=v[a+16>>2];a:{if(!c){if(Yr(a)){break a}c=v[a+16>>2]}e=c;c=v[a+20>>2];if(!(t[a+75|0]==(b&255)|e>>>0<=c>>>0)){v[a+20>>2]=c+1;t[c|0]=b;break a}if((Ea[v[a+36>>2]](a,d+15|0,1)|0)!=1){break a}}Ca=d+16|0}function eP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=v[a+12>>2];e=v[b+72>>2];b=Ea[v[e+192>>2]](b,v[b+76>>2],c,d,v[e+56>>2])|0;c=v[a+12>>2];a:{if(!c){break a}c=v[c+20>>2];a=v[a+20>>2];if((c|0)==(a|0)){break a}b=fQ(eQ(a,a>>31,b,b>>31),Da,c,c>>31)}return b|0}function dP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=v[a+12>>2];e=v[b+72>>2];b=Ea[v[e+196>>2]](b,v[b+76>>2],c,d,v[e+60>>2])|0;c=v[a+12>>2];a:{if(!c){break a}c=v[c+24>>2];a=v[a+24>>2];if((c|0)==(a|0)){break a}b=fQ(eQ(a,a>>31,b,b>>31),Da,c,c>>31)}return b|0}function bg(a,b){var c=0;if(!a){return 40}v[a+16>>2]=b;v[a+8>>2]=0;v[a+12>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a>>2]=0;b=rs(b,4175);if(!b){return 1}Ci(b,0,2);c=ss(b);v[a+4>>2]=c;if(!c){qf(b);return 81}Ci(b,0,0);v[a+24>>2]=3;v[a+20>>2]=4;v[a+12>>2]=b;return 0}function Eu(a,b,c){var d=0,e=0;d=Va(b<<3);v[a+16>>2]=d;e=Va(c);v[a+20>>2]=e;a:{if(!(e?d:0)){Pa(d);Pa(e);v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=0;break a}v[a+12>>2]=c;v[a+4>>2]=b;v[a+8>>2]=0;v[a>>2]=0}return(d|0)!=0&(e|0)!=0}function Bl(a){var b=0,c=0,d=0,e=0;while(1){e=(d<<2)+a|0;b=v[e>>2];if(b){while(1){c=v[a+924>>2];if(c){Ea[c|0](v[b+4>>2])}c=v[a+928>>2];if(c){Ea[c|0](v[b+8>>2])}c=v[b>>2];Pa(b);b=c;if(b){continue}break}}v[e>>2]=0;d=d+1|0;if((d|0)!=227){continue}break}Pa(a)}function tg(a,b){var c=0,d=0,e=0;o(+a);c=j(1)|0;d=j(0)|0;e=c;c=c>>>20&2047;if((c|0)!=2047){if(!c){c=b;if(a==0){b=0}else{a=tg(a*0x10000000000000000,b);b=v[b>>2]+-64|0}v[c>>2]=b;return a}v[b>>2]=c-1022;l(0,d|0);l(1,e&-2146435073|1071644672);a=+n()}return a}function kC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;Gq(a,b,c,d);b=v[a+300>>2];c=v[a+304>>2];a:{if((b|0)==(c|0)){break a}e=v[d>>2];if(e){f=d,g=fb(e,b,c),v[f>>2]=g}b=v[d+4>>2];if(!b){break a}f=d,g=fb(b,v[a+300>>2],v[a+304>>2]),v[f+4>>2]=g}return 0}function fH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=39;a:{b:{switch(b-15|0){case 21:v[a+8>>2]=39;v[a>>2]=957;return 46;case 6:v[a>>2]=980;return 39;case 0:break a;default:break b}}if(!v[a+16>>2]){c=59;if((b|0)==28){break a}}v[a>>2]=936;c=-1}return c|0}function LG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ca-16|0;Ca=d;Gc(d,b);e=v[d+12>>2];v[c+8>>2]=v[d+8>>2];v[c+12>>2]=e;e=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=e;c=a;a=v[a+8>>2];c=a&1?c+(a&-2)|0:a;a=v[b+8>>2];a=id(c,a&1?(a&-2)+b|0:a);Ca=d+16|0;return+(a?1:0)}function FG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ca-16|0;Ca=d;Gc(d,b);e=v[d+12>>2];v[c+8>>2]=v[d+8>>2];v[c+12>>2]=e;e=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=e;c=a;a=v[a+8>>2];c=a&1?c+(a&-2)|0:a;a=v[b+8>>2];a=Zt(c,a&1?(a&-2)+b|0:a);Ca=d+16|0;return+(a>>>0)}function SL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=v[a+20>>2];if(w[a+68|0]){a=v[e+8>>2];f=u[e+2>>1];g=v[e+4>>2]+(f<<3)|0;v[g>>2]=(((b>>31)+b|0)+32768&-65536)>>16;v[g+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;t[a+f|0]=d?1:2}u[e+2>>1]=x[e+2>>1]+1}function SH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=0;a:{b:{switch(jQ(b-11|0,31)|0){case 0:return 55;case 1:return 56;case 9:v[a>>2]=936;return 2;case 2:break a;default:break b}}if(!v[a+16>>2]){c=59;if((b|0)==28){break a}}v[a>>2]=936;c=-1}return c|0}function PH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=949;c=11;d=11;a:{b:{c:{switch(b-15|0){case 3:c=9;e=950;break b;case 0:break a;case 7:break b;default:break c}}c=-1;e=936;if(v[a+16>>2]){break b}d=59;if((b|0)==28){break a}}v[a>>2]=e;d=c}return d|0}function os(a){var b=0,c=0;b=w[a+74|0];t[a+74|0]=b-1|b;if(y[a+20>>2]>y[a+28>>2]){Ea[v[a+36>>2]](a,0,0)|0}v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;b=v[a>>2];if(b&4){v[a>>2]=b|32;return-1}c=v[a+44>>2]+v[a+48>>2]|0;v[a+8>>2]=c;v[a+4>>2]=c;return b<<27>>31}function KH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=7;e=939;d=3;a:{b:{c:{switch(b-15|0){case 2:c=8;e=940;break b;case 0:break a;case 10:break b;default:break c}}c=-1;e=936;if(v[a+16>>2]){break b}d=59;if((b|0)==28){break a}}v[a>>2]=e;d=c}return d|0}function nC(a){a=a|0;var b=0,c=0,d=0;c=v[v[a+188>>2]>>2];b=c;d=v[a+168>>2];if(d){Ea[v[b+8>>2]](b,d)}v[a+172>>2]=0;v[a+164>>2]=0;v[a+168>>2]=0;b=v[a+184>>2];if(b){Ea[v[c+8>>2]](c,b)}t[a+192|0]=0;v[a+184>>2]=0;v[a+188>>2]=0;v[a+176>>2]=0;v[a+180>>2]=0}function nM(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!Wa(b,299396)){v[c>>2]=v[a- -64>>2];break b}if(!Wa(b,299403)){v[c>>2]=w[a+68|0];break b}if(!Wa(b,299413)){v[c>>2]=w[a+69|0];break b}d=12;if(Wa(b,299420)){break a}v[c>>2]=w[a+70|0]}d=0}return d|0}function lL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[a+16>>2];c=v[b>>2]+1|0;c=c>>>0<d>>>0?d:c;d=d+v[a+20>>2]|0;a:{if(c>>>0<d>>>0){e=v[a+24>>2];while(1){a=x[(c<<1)+e>>1];if(a){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}a=0;c=0}v[b>>2]=c;return a|0}function Qa(a,b){var c=0,d=0,e=0;d=(a|0)<0?-1:1;c=a;a=a>>31;a=c+a^a;c=b>>31;c=c+b^c;a:{if(a+(c>>>8|0)>>>0<=8190){a=B(a,c)+32768>>>16|0;break a}e=a&65535;a=B(e,c>>>16|0)+B(c,a>>>16|0)+(B(c&65535,e)+32768>>>16)|0}return(((b|0)<0?0-d|0:d)|0)<0?0-a|0:a}function LC(a,b){a=a|0;b=b|0;var c=0;og(v[a>>2],b);c=v[a>>2];b=v[c+320>>2];c=pc(v[v[c+96>>2]+4>>2],14894);a:{if(!c|!b){break a}b=v[b>>2];if(!b){break a}b=Ea[b|0](c)|0;if(!b){break a}Ea[v[b+4>>2]](v[v[a+40>>2]>>2],v[a+16>>2],v[a+20>>2],0,0)}return 0}function mH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=971;d=33;c=33;a:{b:{c:{switch(b-15|0){case 6:e=970;break b;case 0:break a;case 9:break b;default:break c}}d=-1;e=936;if(v[a+16>>2]){break b}c=59;if((b|0)==28){break a}}v[a>>2]=e;c=d}return c|0}function lH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=971;d=33;c=33;a:{b:{c:{switch(b-15|0){case 6:e=975;break b;case 0:break a;case 9:break b;default:break c}}d=-1;e=936;if(v[a+16>>2]){break b}c=59;if((b|0)==28){break a}}v[a>>2]=e;c=d}return c|0}function fQ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=b^d;h=e>>31;f=b>>31;a=a^f;i=a-f|0;g=b;b=b>>31;g=(g^b)-((a>>>0<f>>>0)+b|0)|0;a=d>>31;b=c^a;c=d>>31;e=e>>31;a=gQ(i,g,b-a|0,(c^d)-((a>>>0>b>>>0)+c|0)|0)^e;b=a-e|0;Da=(h^Da)-((a>>>0<e>>>0)+h|0)|0;return b}function Ec(a,b,c){var d=0,e=0;c=+((b&255)>>>0)*c+(1-c)*+w[a|0];b=c>=2147483648;d=a;if(D(c)<2147483648){a=~~c}else{a=-2147483648}e=c<=-2147483648?0:b?0:a;o(+c);a=j(1)|0;b=j(0)|0;a=a&2147483647;t[d|0]=(a|0)==2146435072&(b|0)!=0|a>>>0>2146435072?0:e}function Bb(a,b,c,d){var e=0,f=0;f=Ca-16|0;Ca=f;if(v[a+152>>2]){v[a+164>>2]=v[a+164>>2]+1;v[f+12>>2]=d;e=Ca-112|0;Ca=e;qs(e,100,c,d);b=Ea[v[a+152>>2]](a,b,e,v[a+156>>2])|0;Ca=e+112|0;v[a+164>>2]=v[a+164>>2]-1;d=(b|0)!=0}else{d=1}Ca=f+16|0;return d}function ly(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=w[a+3|0]|w[a+2|0]<<8;d=c?c+a|0:280448;c=v[b+100>>2];c=xb(d,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);if(!((c|0)==-1|c>>>0>=(w[a+5|0]|w[a+4|0]<<8)>>>0)){a=(c<<1)+a|0;jf(b,w[a+6|0]<<8|w[a+7|0]);e=1}return e|0}function Gt(a,b,c){var d=0,e=0,f=0,g=0;a:{if((c|0)<2){break a}f=w[a|0];e=w[a+1|0]|f<<8;d=a+2|0;if((f&252)==216){if((c|0)<4){break a}c=w[d|0];if((c&252)!=220){break a}e=(e<<10&1047552|(w[d+1|0]|c<<8&768))+65536|0;d=a+4|0}v[b>>2]=e;g=d-a|0}return g}function tC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ca-16|0;Ca=d;v[d+12>>2]=0;a:{if(v[c+80>>2]){break a}b=b-a|0;f=qb(v[c>>2],b+1|0,d+12|0);v[c+80>>2]=f;e=v[d+12>>2];if(e){break a}Ta(f,a,b);t[b+v[c+80>>2]|0]=0;e=v[d+12>>2]}Ca=d+16|0;return e|0}function qc(a){var b=0,c=0;c=v[a>>2];a:{if(v[c>>2]==-1){break a}b=v[c>>2];v[c>>2]=b-1;if((b|0)!=1){break a}if(v[c+4>>2]>=1){b=0;while(1){Pa(v[v[c+12>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)<v[c+4>>2]){continue}break}}b=v[c+12>>2];if(b){Pa(b)}Pa(c)}Pa(a)}function $l(a,b){var c=0,d=0;c=Ve(b);a:{if((c|0)>=0){c=w[c+495048|0];b=c>>>5|0;d=1;if(b>>>0>=y[a+4>>2]){break a}a=(b<<2)+a|0;v[a+8>>2]=v[a+8>>2]|1<<c;return 1}b:{c=v[a>>2];if(c){break b}c=gd();v[a>>2]=c;if(c){break b}return 0}d=hd(c,b)}return d}function $c(a){var b=0,c=0;c=v[a+12>>2];a:{if((c|0)==v[a+8>>2]){a=v[a+4>>2];b=0;if(!a|v[a>>2]){break a}v[a>>2]=161;return 0}if(v[c-4>>2]!=2){a=v[a+4>>2];b=0;if(!a|v[a>>2]){break a}v[a>>2]=160;return 0}b=a;a=c-8|0;v[b+12>>2]=a;b=v[a>>2]}return b}function UC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ca-16|0;Ca=d;e=v[v[a+128>>2]+52>>2];a:{if(e){a=v[b>>2];v[d+12>>2]=c;v[d+8>>2]=a;Ea[v[v[e>>2]+4>>2]](v[e+4>>2],d+8|0);break a}a=v[a+712>>2];if(v[a+1236>>2]){break a}Qb(v[a+1204>>2],b)}Ca=d+16|0}function PG(a){a=a|0;var b=0,c=0,d=0;while(1){d=v[a>>2];a:{b:{c:{switch(v[a+4>>2]-1|0){case 0:b=v[a+8>>2];Ab(v[b+16>>2]);break b;case 1:break c;default:break a}}b=v[a+8>>2];c=v[b+8>>2];if(!c){break b}Ab(c)}Pa(b)}Pa(a);a=d;if(a){continue}break}}function gh(a,b){var c=0,d=0,e=0,f=0;c=a*a;d=c*.5;e=1-d;f=1-e-d;d=c*c;return e+(f+(c*(c*(c*(c*2480158728947673e-20+-.001388888888887411)+.0416666666666666)+d*d*(c*(c*-1.1359647557788195e-11+2.087572321298175e-9)+-2.7557314351390663e-7))-a*b))}function Zx(a,b){a=a|0;b=b|0;var c=0,d=0;c=w[a+3|0]|w[a+2|0]<<8;d=c?c+a|0:280448;c=v[b+100>>2];d=xb(d,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);if((d|0)!=-1){hf(a+4|0,b,a,a+6|0,v[c+96>>2]+B(v[c+72>>2],20)|0);v[c+72>>2]=v[c+72>>2]+1}return(d|0)!=-1|0}function Bu(a){var b=0,c=0,d=0,e=0;c=v[a+12>>2];b=v[a+8>>2];a:{if(c>>>0<=b>>>0){v[164114]=0;c=c<<1;d=a,e=Xb(v[a+20>>2],c,1),v[d+20>>2]=e;b=0;if(v[164114]){break a}v[a+12>>2]=c;b=v[a+8>>2]}t[v[a+20>>2]+b|0]=1;v[a+8>>2]=v[a+8>>2]+1;b=1}return b}function yH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=11;a:{b:{c:{switch(b-15|0){case 2:e=v[a+16>>2]?939:959;d=15;break b;case 0:break a;default:break c}}d=-1;e=936;if(v[a+16>>2]){break b}c=59;if((b|0)==28){break a}}v[a>>2]=e;c=d}return c|0}function rH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=31;e=973;c=33;a:{b:{c:{switch(b-15|0){case 0:break a;case 3:case 4:case 26:break b;default:break c}}d=-1;e=936;if(v[a+16>>2]){break b}c=59;if((b|0)==28){break a}}v[a>>2]=e;c=d}return c|0}function eM(a){a=a|0;var b=0,c=0,d=0;if(v[a+12>>2]==-559038737){c=v[a+32>>2];b=c;d=v[a>>2];if(d){Ea[v[b+8>>2]](b,d)}v[a>>2]=0;b=v[a+24>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+24>>2]=0;b=v[a+28>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+12>>2]=0;v[a+28>>2]=0}}function VC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ca-16|0;Ca=e;f=v[v[a+128>>2]+52>>2];a:{if(f){a=Ea[v[v[f>>2]>>2]](v[f+4>>2],b,e+8|0)|0;v[c>>2]=v[e+8>>2];v[d>>2]=v[e+12>>2];break a}a=gi(v[a+712>>2]+1204|0,b,c,d)}Ca=e+16|0;return a|0}function Lx(){var a=0,b=0;a=Ca-16|0;Ca=a;a:{if(ja(a+12|0,a+8|0)|0){break a}b=Va((v[a+12>>2]<<2)+4|0);v[164432]=b;if(!b){break a}b=Va(v[a+8>>2]);if(b){v[v[164432]+(v[a+12>>2]<<2)>>2]=0;if(!(ia(v[164432],b|0)|0)){break a}}v[164432]=0}Ca=a+16|0}function lE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Ca-16|0;Ca=d;e=b>>>0<4?b:4;if(e){b=0;while(1){f=b<<2;g=v[f+c>>2];v[d+f>>2]=((g+(g>>31)|0)+32768&-65536)>>16;b=b+1|0;if((e|0)!=(b|0)){continue}break}}a=Wq(a,e,d);Ca=d+16|0;return a|0}function _q(a,b){a=a|0;b=b|0;var c=0;c=v[a+136>>2];v[b>>2]=v[a+132>>2];v[b+4>>2]=c;c=v[a+160>>2];v[b+24>>2]=v[a+156>>2];v[b+28>>2]=c;c=v[a+152>>2];v[b+16>>2]=v[a+148>>2];v[b+20>>2]=c;c=v[a+144>>2];v[b+8>>2]=v[a+140>>2];v[b+12>>2]=c;return 0}function JC(a,b){a=a|0;b=b|0;var c=0;c=v[a+192>>2];v[b+24>>2]=v[a+188>>2];v[b+28>>2]=c;c=v[a+184>>2];v[b+16>>2]=v[a+180>>2];v[b+20>>2]=c;c=v[a+176>>2];v[b+8>>2]=v[a+172>>2];v[b+12>>2]=c;c=v[a+168>>2];v[b>>2]=v[a+164>>2];v[b+4>>2]=c;return 0}function vu(a,b,c,d){var e=0;a=1<<v[a>>2];e=0-a|0;e=c>>>0>e>>>0?c:e&(a+c|0)-1;if(e>>>0<=(2147483647-a>>>0)/(((d|0)>1?d:1)>>>0)>>>0){a=Ee(a,a+B(d,e)|0,1);if(a){v[b+20>>2]=a;v[b+16>>2]=e;v[b+12>>2]=d;v[b+8>>2]=c}a=(a|0)!=0}else{a=0}return a}function XE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[((c<<2)+a|0)+268>>2];c=v[a+512>>2];e=v[a+516>>2];if((b|0)>=0){a=c+(((b+d|0)+e|0)-c&0-v[a+508>>2])|0;return((a|0)<0?c:a)|0}a=0-(c+(d+e-(b+c)&0-v[a+508>>2])|0)|0;return((a|0)>0?0-c|0:a)|0}function pc(a,b){var c=0,d=0;if(!a){return 0}if(!b){return 0}c=v[a+16>>2];if((c|0)<1){return 0}c=((c<<2)+a|0)+20|0;a=a+20|0;a:{while(1){d=v[a>>2];if(!Wa(v[v[d>>2]+8>>2],b)){break a}a=a+4|0;if(c>>>0>a>>>0){continue}break}return 0}return d}function BH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{switch(b-15|0){case 0:return v[a+8>>2];case 2:v[a>>2]=v[a+16>>2]?939:959;return v[a+8>>2];default:break a}}b:{if(!v[a+16>>2]){c=59;if((b|0)==28){break b}}v[a>>2]=936;c=-1}return c|0}function jK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=v[a+28>>2];d=v[a+20>>2];b=v[b+28>>2];e=v[b+20>>2];c=-1;a:{if((d|0)<(e|0)){break a}c=1;if((d|0)>(e|0)){break a}a=v[a+16>>2];b=v[b+16>>2];c=-1;if((a|0)<(b|0)){break a}c=(a|0)>(b|0)}return c|0}function OC(a){a=a|0;var b=0,c=0;if(v[v[a+40>>2]>>2]){c=v[a>>2];b=v[c+320>>2];c=pc(v[v[c+96>>2]+4>>2],14894);a:{if(!c|!b){break a}b=v[b>>2];if(!b){break a}b=Ea[b|0](c)|0;if(!b){break a}Ea[v[b+8>>2]](v[v[a+40>>2]>>2])}v[v[a+40>>2]>>2]=0}}function gK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=Ca-16|0;Ca=a;v[a+12>>2]=0;a:{if(dh(c,b,0,a+12|0)){break a}d=Va(v[a+12>>2]);if(!d){break a}if(!dh(c,b,d,a+12|0)){e=bk(d,v[a+12>>2],2,d,431);if(e){break a}}Pa(d);e=0}Ca=a+16|0;return e|0}function _y(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=6;a:{if(!d|!e){break a}g=x[a+152>>1];if(c){f=142;if(b>>>0>=g>>>0){break a}a=v[a+156>>2]+(b<<4)|0;v[c>>2]=v[a>>2];v[d>>2]=v[a+8>>2];g=v[a+12>>2]}v[e>>2]=g;f=0}return f|0}function ZM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{if(v[a+4>>2]){break a}e=c;g=a+52|0;f=v[g>>2];c=v[a+16>>2];if((e|0)!=(f+c|0)){break a}e=v[a>>2];c=wj(a+16|0,d,f,c,b,e);if(!c){c=wj(g,d,0,f,b,e);if(!c){break a}}v[a+4>>2]=c}}function EE(a){a=a|0;var b=0,c=0;if(v[v[a+40>>2]>>2]){c=v[a>>2];b=v[c+552>>2];c=pc(v[v[c+96>>2]+4>>2],7345);a:{if(!c|!b){break a}b=v[b>>2];if(!b){break a}b=Ea[b|0](c)|0;if(!b){break a}Ea[v[b+8>>2]](v[v[a+40>>2]>>2])}v[v[a+40>>2]>>2]=0}}function wH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=0;a:{b:{switch(b-15|0){case 10:v[a>>2]=959;v[a+12>>2]=v[a+12>>2]+1;return 0;case 0:break a;default:break b}}if(!v[a+16>>2]){c=59;if((b|0)==28){break a}}v[a>>2]=936;c=-1}return c|0}function gH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=51;e=981;c=39;a:{b:{c:{switch(b-15|0){case 0:break a;case 3:case 26:break b;default:break c}}d=-1;e=936;if(v[a+16>>2]){break b}c=59;if((b|0)==28){break a}}v[a>>2]=e;c=d}return c|0}function Ty(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ca-16|0;Ca=d;e=fk(a,163600,d);a:{if(e){break a}e=fk(a,163617,d+8|0);if(e){break a}e=6;if(v[d>>2]!=1|v[d+8>>2]!=1){break a}v[b>>2]=v[d+12>>2];v[c>>2]=v[d+4>>2];e=0}Ca=d+16|0;return e|0}function OH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=34;e=951;c=33;a:{b:{c:{switch(b-15|0){case 0:break a;case 3:case 26:break b;default:break c}}d=-1;e=936;if(v[a+16>>2]){break b}c=59;if((b|0)==28){break a}}v[a>>2]=e;c=d}return c|0}function NH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=40;e=952;c=39;a:{b:{c:{switch(b-15|0){case 0:break a;case 3:case 26:break b;default:break c}}d=-1;e=936;if(v[a+16>>2]){break b}c=59;if((b|0)==28){break a}}v[a>>2]=e;c=d}return c|0}function yC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[a+16>>2];if(c){f=v[a+20>>2];a=0;while(1){e=(c-a>>>1|0)+a|0;d=v[(e<<4)+f>>2];if((d|0)==(b|0)){return e+1|0}d=b>>>0>d>>>0;c=d?c:e;a=d?e+1|0:a;if(c>>>0>a>>>0){continue}break}}return 0}function wg(a,b){var c=0;a=a?a:515549;c=Va((Xa(a)+Xa(b)|0)+5&-4);if(c){a=Ac(c,a);a:{if(w[a|0]){if(w[(Xa(a)+a|0)-1|0]==47){break a}}if(w[b|0]==47){break a}c=Xa(a)+a|0;t[c|0]=47;t[c+1|0]=0}a=ih(a,b);if(!sf(a,4)){return a}Pa(a)}return 0}function Ct(a){var b=0,c=0,d=0;b=Ca-32|0;Ca=b;d=v[a+4>>2];v[b+16>>2]=v[a>>2];v[b+20>>2]=d;Za(499515,b+16|0);if(v[a>>2]>=1){while(1){v[b>>2]=c;Za(499533,b);Dd(v[v[a+8>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)<v[a>>2]){continue}break}}Ca=b+32|0}function pJ(a,b){a=a|0;b=b|0;var c=0;c=1;a=Ea[v[a+364>>2]](v[a+368>>2],b)|0;a:{if(a>>>0>65535){break a}b=a>>>8|0;if(b-216>>>0<8){break a}b:{if((b|0)!=255){if(w[a+499884|0]|b){break b}break a}if((a&-2)==65534){break a}}c=0}return c|0}function gj(a,b){var c=0,d=0;c=v[a>>2];a:{if((c|0)!=v[a+4>>2]){d=v[a+8>>2];break a}c=c+32|0;d=v[a+8>>2];b:{if(d){d=gb(d,c<<2);break b}d=Va(c<<2)}if(!d){return 0}v[a+8>>2]=d;v[a+4>>2]=c;c=v[a>>2]}v[a>>2]=c+1;v[(c<<2)+d>>2]=b;return 1}function VH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=4;e=937;c=3;a:{b:{c:{switch(b-15|0){case 0:break a;case 3:case 26:break b;default:break c}}d=-1;e=936;if(v[a+16>>2]){break b}c=59;if((b|0)==28){break a}}v[a>>2]=e;c=d}return c|0}function dN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[c>>2];d=((d>>31)+d|0)+32768&-65536;c=v[c+4>>2];c=((c>>31)+c|0)+32768&-65536;a:{if(v[a+4>>2]){break a}b=Ih((B((b|0)!=0,36)+a|0)+16|0,d>>16,c>>16,v[a>>2],0);if(!b){break a}v[a+4>>2]=b}}function yl(a){var b=0;if(!a){be();while(1){a:{a=v[164112];if(a){break a}a=_f();if(!a){continue}be();b=v[164112];v[164112]=b?b:a;if(!b){break a}ac(a);continue}break}v[a+68>>2]=v[a+68>>2]+1;return a}v[a+68>>2]=v[a+68>>2]+1;return a}function fF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{switch(v[v[v[a>>2]+96>>2]+64>>2]-35|0){case 5:if(w[a+643|0]){break a}break;case 0:break b;default:break a}}a=v[b+16>>2]+(c<<3)|0;v[a>>2]=v[a>>2]+d}a=v[b+24>>2]+c|0;t[a|0]=w[a|0]|8}function MH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=953;c=17;a:{b:{c:{switch(b-15|0){case 0:break a;case 3:break b;default:break c}}d=936;if(v[a+16>>2]){b=-1;break b}c=59;e=(b|0)==28;b=-1;if(e){break a}}v[a>>2]=d;c=b}return c|0}function re(a,b){var c=0,d=0,e=0;a:{if(!a|!b){break a}c=v[a+16>>2];if((c|0)<1){break a}c=((c<<2)+a|0)+20|0;a=a+20|0;while(1){d=v[v[a>>2]>>2];if(Wa(v[d+8>>2],b)){a=a+4|0;if(c>>>0>a>>>0){continue}break a}break}e=v[d+20>>2]}return e}function lf(a,b){var c=0,d=0,e=0,f=0;a:{c=v[a+280>>2];if((c|0)<1){break a}d=v[a+284>>2];a=0;while(1){b:{f=a;e=Wa(v[B(a,12)+d>>2],b);a=a+1|0;if((c|0)<=(a|0)){break b}if(e){continue}}break}if(e){break a}return B(f,12)+d|0}return 0}function EL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Ca-16|0;Ca=f;e=wb(b,16,f+12|0);g=v[f+12>>2];if(!g){v[e+12>>2]=2;v[e+8>>2]=d;v[e>>2]=c;v[e+4>>2]=c;v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=e;v[a>>2]=b}Ca=f+16|0;return g|0}function aL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=v[a>>2];d=a&2147483647;b=v[b>>2];e=b&2147483647;a:{if((d|0)==(e|0)){c=1;if(a>>>0>b>>>0){break a}return(a>>>0<b>>>0?-1:0)|0}c=1;if(d>>>0>e>>>0){break a}c=d>>>0<e>>>0?-1:0}return c|0}function _M(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(v[a+4>>2]){break a}d=v[a+16>>2];e=a+52|0;f=v[e>>2];if((d+f|0)!=(b|0)){break a}g=v[a>>2];b=wj(a+16|0,c,0,d,0,g);if(!b){b=wj(e,c,d,f,0,g);if(!b){break a}}v[a+4>>2]=b}}function Vb(a,b,c){var d=0,e=0,f=0;d=v[a+8>>2];f=v[a+4>>2];if(d>>>0<f>>>0){e=v[a+20>>2];a:{if(e){b=Ea[e|0](a,d,b,c)|0;break a}e=b;b=f-d|0;b=b>>>0>c>>>0?c:b;Ta(e,v[a>>2]+d|0,b)}v[a+8>>2]=b+d;a=b>>>0<c>>>0?85:0}else{a=85}return a}function MN(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;a=0;a:{if(!c){break a}while(1){h=kc(v[b+4>>2],v[d>>2]);v[f>>2]=h;if(!h){break a}f=f+g|0;d=d+e|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}return a|0}function $a(a,b,c){var d=0,e=0;if(!c){return 0}d=w[a|0];a:{if(d){while(1){e=w[b|0];if(!e){break a}c=c-1|0;if(!c){break a}b:{if((d|0)==(e|0)){break b}break a}b=b+1|0;d=w[a+1|0];a=a+1|0;if(d){continue}break}}d=0}return d-w[b|0]|0}function vH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=58;e=959;c=0;a:{b:{c:{switch(b-15|0){case 0:break a;case 10:break b;default:break c}}d=-1;e=936;if(v[a+16>>2]){break b}c=59;if((b|0)==28){break a}}v[a>>2]=e;c=d}return c|0}function pH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=975;d=33;c=33;a:{b:{c:{switch(b-15|0){case 0:break a;case 8:break b;default:break c}}d=-1;e=936;if(v[a+16>>2]){break b}c=59;if((b|0)==28){break a}}v[a>>2]=e;c=d}return c|0}function nH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=32;e=976;c=33;a:{b:{c:{switch(b-15|0){case 0:break a;case 3:break b;default:break c}}d=-1;e=936;if(v[a+16>>2]){break b}c=59;if((b|0)==28){break a}}v[a>>2]=e;c=d}return c|0}function bc(a){var b=0;a:{if(v[a>>2]==-1){break a}b=v[a>>2];v[a>>2]=b-1;if((b|0)!=1){break a}if(v[a+4>>2]>=1){b=0;while(1){Pa(v[v[a+12>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)<v[a+4>>2]){continue}break}}b=v[a+12>>2];if(b){Pa(b)}Pa(a)}}function JH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=10;e=954;c=11;a:{b:{c:{switch(b-15|0){case 0:break a;case 3:break b;default:break c}}d=-1;e=936;if(v[a+16>>2]){break b}c=59;if((b|0)==28){break a}}v[a>>2]=e;c=d}return c|0}function Ee(a,b,c){var d=0,e=0;e=a-1|0;if(!(e&a)){a:{if(-5-a>>>0<=b>>>0){break a}b=(a+b|0)+3|0;b:{if(c){b=eb(b,1);break b}b=Va(b)}if(!b){break a}d=a;a=b+4|0;c=a&e;d=c?(d-c|0)+a|0:a;v[d-4>>2]=b}return d}O(3491,3522,97,3564);L()}function tH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=11;a:{b:{switch(b-15|0){case 3:v[a+8>>2]=11;v[a>>2]=957;return 16;case 0:break a;default:break b}}if(!v[a+16>>2]){c=59;if((b|0)==28){break a}}v[a>>2]=936;c=-1}return c|0}function kh(a,b,c){var d=0,e=0,f=0;d=Ca-16|0;Ca=d;f=d;a:{if(!(b&64)){e=0;if((b&4259840)!=4259840){break a}}v[d+12>>2]=c+4;e=v[c>>2]}v[f>>2]=e;a=Y(a|0,b|32768,d|0)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}Ca=d+16|0;return a}function LH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=8;e=940;c=3;a:{b:{c:{switch(b-15|0){case 0:break a;case 2:break b;default:break c}}d=-1;e=936;if(v[a+16>>2]){break b}c=59;if((b|0)==28){break a}}v[a>>2]=e;c=d}return c|0}function Yi(a){var b=0,c=0,d=0;a:{if(v[a+8>>2]){break a}b=v[a+12>>2];c=Va(b+1|0);if(!c){break a}d=Ta(c,v[a>>2],b);t[b+d|0]=0}if(v[a+4>>2]){Pa(v[a>>2]);v[a>>2]=a+20;v[a+12>>2]=0;v[a+16>>2]=64;v[a+4>>2]=0;v[a+8>>2]=0}return d}function PN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=Ca-16|0;Ca=a;v[a+12>>2]=0;a:{if(dh(c,b,0,a+12|0)){break a}d=Va(v[a+12>>2]);if(!d){break a}if(dh(c,b,d,a+12|0)){Pa(d);break a}e=bk(d,v[a+12>>2],2,d,431)}Ca=a+16|0;return e|0}function Eg(a,b,c){var d=0,e=0,f=0;if(!a){return 35}e=6;a:{if(!c){break a}v[c>>2]=0;d=v[a+96>>2];f=v[v[d>>2]+32>>2];if(!f){break a}d=Ea[f|0](d,452656)|0;if(!d){break a}d=v[d+4>>2];if(!d){break a}e=Ea[d|0](a,b,c)|0}return e}function cf(a,b){if(b){v[b>>2]=v[a+76>>2]}a:{if(w[a+70|0]){break a}if(v[a+164>>2]){return 0}v[a+80>>2]=0;t[a+69|0]=0;t[a+70|0]=1;v[a+92>>2]=v[a+88>>2];b=B(v[a+76>>2],20);if(!b){break a}Ra(v[a+96>>2],0,b)}return v[a+96>>2]}function _c(a){var b=0,c=0;b=a-1|0;if(b>>>0<=51){return v[(b<<3)+449520>>2]}b=su(a);if(b){return v[b>>2]}b=v[164081];a:{if(b){while(1){c=v[b+4>>2];if(v[b+12>>2]==(a|0)){break a}b=v[b>>2];if(b){continue}break}}c=0}return c}function IA(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b>>2];a:{if(c>>>0>65534){break a}if(t[a+20|0]&1){return iq(a,b,1)|0}if((c|0)==v[a+24>>2]){gq(a);c=v[a+28>>2];if(!c){break a}v[b>>2]=v[a+24>>2];return c|0}d=hq(a,b,1)}return d|0}function ZJ(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;a=0;a:{if(fd(b,c,2560)){break a}b=v[b+84>>2];if(u[b+110>>1]>>>0<=d>>>0){break a}a=v[b+112>>2]+(d<<3)|0;v[e>>2]=v[a>>2];v[f>>2]=v[a+4>>2];a=1}return a|0}function XK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=v[v[a>>2]+12>>2];f=v[a+8>>2];a=v[(e+B(f,12)|0)+8>>2];if(!b){return a|0}if(a>>>0>c>>>0){a=a-c|0;g=a>>>0<d>>>0?a:d;Ta(b,v[(B(f,12)+e|0)+4>>2]+c|0,g)}return g|0}function _J(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;v[e+28>>2]=c;c=0;a=ld(v[e>>2],e+8|0,0);if(a){b=v[a>>2];if((b|0)>=0){v[d>>2]=v[a+8>>2];c=v[a+12>>2];v[d+8>>2]=b;v[d+4>>2]=c;v[d+12>>2]=0-v[a+4>>2];c=1}Ib(a)}return c|0}function kD(a,b){a=a|0;b=b|0;var c=0,d=0;d=150;c=v[a+12>>2];a:{if((c|0)==9716|(c|0)==9756){break a}d=0;c=xd(pc(v[v[v[a>>2]+96>>2]+4>>2],9992),10212,0);if(!c){break a}c=v[c>>2];if(!c){break a}d=Ea[c|0](a,b)|0}return d|0}function yh(a){var b=0,c=0;a:{if(!w[a|0]){break a}b=qh(a);if(!b){break a}b:{c:{if(!sf(b,0)){if(!tl(a,493)){break c}break b}if((sf(b,0)|0)!=-1){break b}if(!yh(b)){break b}if(tl(a,493)){break b}}c=!sl(a)}Pa(b)}return c}
|
||
function oC(a){a=a|0;var b=0;b=v[v[a+156>>2]>>2];v[a+184>>2]=0;v[a+188>>2]=0;v[a+192>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;v[a+168>>2]=0;v[a+172>>2]=0;v[a+176>>2]=0;v[a+180>>2]=0;v[a+188>>2]=b;t[a+192|0]=0;tf(b);return 0}function BG(a){a=a|0;var b=0,c=0;b=Ca-16|0;Ca=b;a:{if(Ed(a,517460,0,b+12|0)){break a}c=1;a=v[b+12>>2];if(!Wa(a,517471)){break a}if(!Wa(a,517478)){break a}if(!Wa(a,517486)){break a}c=!Wa(a,517497)}Ca=b+16|0;return c|0}function zH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=14;e=963;c=b-15|0;f=11;a:{if(!c){break a}b:{if((c|0)==12){break b}d=-1;e=936;if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=e;f=d}return f|0}function oH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=38;e=951;c=b-15|0;f=33;a:{if(!c){break a}b:{if((c|0)==12){break b}d=-1;e=936;if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=e;f=d}return f|0}function eQ(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=B(e,f);g=c&65535;h=a&65535;i=B(g,h);f=(i>>>16|0)+B(f,g)|0;e=(f&65535)+B(e,h)|0;Da=(B(b,c)+j|0)+B(a,d)+(f>>>16)+(e>>>16)|0;return i&65535|e<<16}function dH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=21;e=982;c=b-15|0;f=17;a:{if(!c){break a}b:{if((c|0)==12){break b}d=-1;e=936;if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=e;f=d}return f|0}function bw(a,b){a=a|0;b=b|0;var c=0;c=v[b+4>>2];v[a+4>>2]=v[b>>2];v[a+8>>2]=c;v[a+28>>2]=v[b+24>>2];c=v[b+20>>2];v[a+20>>2]=v[b+16>>2];v[a+24>>2]=c;c=v[b+12>>2];v[a+12>>2]=v[b+8>>2];v[a+16>>2]=c;aw(a,b,0);aw(a,b,1)}function KK(a,b){a=a|0;b=b|0;var c=0,d=0;v[b+72>>2]=1869968492;d=v[a+36>>2];v[b+124>>2]=d;c=v[a+24>>2];v[b+108>>2]=v[a+20>>2];v[b+112>>2]=c;c=v[a+32>>2];v[b+116>>2]=v[a+28>>2];v[b+120>>2]=c;v[b+124>>2]=d&-2;return 0}function Jx(a,b){var c=0,d=0,e=0;if(cb(a,0,1)){e=v[b+4>>2];d=v[a+92>>2]+B(v[a+80>>2],20)|0;c=d;v[c>>2]=v[b>>2];v[c+4>>2]=e;v[c+16>>2]=v[b+16>>2];c=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=c;v[a+80>>2]=v[a+80>>2]+1}}function DH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=13;e=965;c=b-15|0;f=11;a:{if(!c){break a}b:{if((c|0)==12){break b}d=-1;e=936;if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=e;f=d}return f|0}function CH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=14;e=955;c=b-15|0;f=11;a:{if(!c){break a}b:{if((c|0)==12){break b}d=-1;e=936;if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=e;f=d}return f|0}function AH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=13;e=966;c=b-15|0;f=11;a:{if(!c){break a}b:{if((c|0)==12){break b}d=-1;e=936;if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=e;f=d}return f|0}function Uy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Ca-16|0;Ca=d;e=v[a+16>>2];a:{if((e|0)>=1){while(1){if(!_h(a,c,d+12|0)){if(!Wa(b,v[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}Ca=d+16|0;return c|0}function ME(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=12;a:{if(Wa(b,5631)){break a}e=7;b:{c:{if(d){b=jc(c,0,10);break c}b=v[c>>2]}switch(b-35|0){case 0:case 5:break b;default:break a}}v[a- -64>>2]=b;e=0}return e|0}function ni(a,b,c,d){var e=0,f=0;f=v[a+4>>2];if(f>>>0>b>>>0){e=v[a+20>>2];a:{if(e){c=Ea[e|0](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>d>>>0?d:c;Ta(e,v[a>>2]+b|0,c)}v[a+8>>2]=b+c;a=c>>>0<d>>>0?85:0}else{a=85}return a}function RH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=5;e=948;c=b-15|0;f=3;a:{if(!c){break a}b:{if((c|0)==12){break b}d=-1;e=936;if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=e;f=d}return f|0}function QH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=6;e=941;c=b-15|0;f=3;a:{if(!c){break a}b:{if((c|0)==12){break b}d=-1;e=936;if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=e;f=d}return f|0}function NF(a,b){a=a|0;b=b|0;var c=0,d=0;d=Bd(5216,b);a:{if(d){break a}d=0;if(!a){break a}c=v[a+4>>2];if(!c){break a}c=pc(c,5272);if(!c){break a}c=v[v[c>>2]+20>>2];if(!c){break a}d=Ea[v[c+16>>2]](a,b)|0}return d|0}function lP(a,b){a=a|0;b=b|0;var c=0;a=0;if(v[b+16>>2]){while(1){c=B(a,12);Pa(v[c+v[b+12>>2]>>2]);Pa(v[(v[b+12>>2]+c|0)+4>>2]);a=a+1|0;if(a>>>0<y[b+16>>2]){continue}break}}Pa(v[b+12>>2]);v[b+12>>2]=0;v[b+16>>2]=0}function dF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!(!w[a+644|0]|(!w[a+643|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+645|0]){break a}}a=v[b+16>>2]+(c<<3)|0;v[a+4>>2]=v[a+4>>2]+d}a=v[b+24>>2]+c|0;t[a|0]=w[a|0]|16}function Vc(a){var b=0,c=0,d=0;a:{b:{c=v[a+72>>2];if(!c){break b}d=v[c+4>>2];if((d|0)==(c+4088|0)){break b}b=c;break a}b=Va(4088);if(!b){return 0}v[b>>2]=c;d=b+8|0;v[b+4>>2]=d;v[a+72>>2]=b}v[b+4>>2]=d+16;return d}function fm(a,b,c){var d=0,e=0;d=Ca-16|0;Ca=d;a=Be(a,b,0,d);a:{if(a){break a}a=2;b:{c:{switch(v[d>>2]-1|0){case 1:e=A[d+8>>3];break b;case 0:break c;default:break a}}e=+v[d+8>>2]}A[c>>3]=e;a=0}Ca=d+16|0;return a}function AN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=v[a+8>>2];c=v[a>>2];a:{if((c|0)>=1){e=v[a+16>>2];a=0;while(1){d=v[B(a,144)+e>>2];if(d){if(!Wa(d,b)){break a}}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0}return a|0}function oD(a){a=a|0;var b=0,c=0;c=v[a+712>>2];a:{if(!(w[a+8|0]&8)|!v[a+540>>2]){break a}b=xd(pc(v[v[a+96>>2]+4>>2],9992),10164,0);if(!b){break a}b=v[b>>2];if(!b){break a}return Ea[b|0](a)|0}return v[c+1348>>2]}function jl(a){var b=0;if(a){if(v[a+76>>2]<=-1){return il(a)}return il(a)}if(v[163812]){b=jl(v[163812])}a=v[164399];if(a){while(1){if(y[a+20>>2]>y[a+28>>2]){b=il(a)|b}a=v[a+56>>2];if(a){continue}break}}return b}function Hk(a,b,c){var d=0,e=0,f=0,g=0;e=v[a+8>>2];f=v[a+4>>2];if(e>>>0<f>>>0){d=v[a+20>>2];a:{if(d){d=Ea[d|0](a,e,b,c)|0;break a}g=b;b=f-e|0;d=b>>>0>c>>>0?c:b;Ta(g,v[a>>2]+e|0,d)}v[a+8>>2]=v[a+8>>2]+d}return d}function Fu(a){var b=0,c=0,d=0;b=v[a+4>>2];if((b|0)>=1){while(1){c=v[(v[a>>2]+B(d,352)|0)+344>>2];if(c){while(1){b=v[c+344>>2];Pa(c);c=b;if(c){continue}break}b=v[a+4>>2]}d=d+1|0;if((d|0)<(b|0)){continue}break}}}function uI(a,b){a=a|0;b=b|0;var c=0,d=0;if(w[b+1|0]){return b|0}a=a+72|0;while(1){c=w[a+w[b|0]|0];if(c>>>0>21){return b|0}if(!(1<<c&2098688)){return b|0}c=w[b+3|0];d=b+2|0;b=d;if(!c){continue}break}return d|0}function my(a,b){a=a|0;b=b|0;var c=0,d=0;c=w[a+3|0]|w[a+2|0]<<8;d=c?c+a|0:280448;c=v[b+100>>2];c=v[v[c+88>>2]+B(v[c+72>>2],20)>>2];d=xb(d,c);if((d|0)!=-1){jf(b,c+(w[a+5|0]|w[a+4|0]<<8)&65535)}return(d|0)!=-1|0}function dI(a,b){a=a|0;b=b|0;var c=0,d=0;if(w[b|0]){return b|0}a=a+72|0;while(1){c=w[a+w[b+1|0]|0];if(c>>>0>21){return b|0}if(!(1<<c&2098688)){return b|0}c=w[b+2|0];d=b+2|0;b=d;if(!c){continue}break}return d|0}function Zk(a,b){var c=0,d=0,e=0;c=v[a+156>>2];a:{if(!c){break a}d=v[c+4>>2];if(!(d&1)){break a}e=v[a+88>>2];if(e){c=v[v[a+4>>2]+100>>2];Ea[v[c+8>>2]](c,e);c=v[a+156>>2];d=v[c+4>>2]}v[c+4>>2]=d&-2}v[a+88>>2]=b}function zl(a){var b=0;a:{if(!a){break a}b=v[a>>2];v[a>>2]=b-1;if((b|0)!=1){break a}b=v[a+4>>2];if(b){Pa(b)}b=v[a+8>>2];if(b){Pa(b)}b=v[a+12>>2];if(b){Pa(b)}de(v[a+20>>2]);de(v[a+24>>2]);de(v[a+28>>2]);Pa(a)}}function xz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ca-16|0;Ca=d;e=Ea[v[a+516>>2]](a,c?1986884728:1752003704,b,d+12|0)|0;if(!e){v[(c?756:752)+a>>2]=v[d+12>>2];v[(c?856:852)+a>>2]=v[b+8>>2]}Ca=d+16|0;return e|0}function sm(a,b){var c=0,d=0;c=v[(((b>>>0)%8191<<2)+a|0)+12>>2];a:{if(!c){break a}while(1){if(v[c+4>>2]!=(b|0)){c=v[c>>2];if(c){continue}break a}break}c=v[c+8>>2];if(!c){break a}d=Ac(c+v[a+8>>2]|0,b)}return d}function gv(a,b){var c=0,d=0,e=0;if(!a){return 35}d=6;a:{if(!b){break a}c=v[a+96>>2];e=v[v[c>>2]+32>>2];if(!e){break a}c=Ea[e|0](c,363493)|0;if(!c){break a}c=v[c>>2];if(!c){break a}d=Ea[c|0](a,b)|0}return d}function Vl(a){var b=0;b=Ca-1136|0;Ca=b;Cg(b+1048|0,b+16|0,1024);a:{b:{if(!Lt(b+1048|0,a)){break b}if(!rh(b+1048|0,0)){break b}v[b>>2]=v[b+1048>>2];Za(498948,b);break a}Za(498951,0)}Wc(b+1048|0);Ca=b+1136|0}function eH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=b-15|0;c=17;a:{if(!d){break a}if((d|0)==12){v[a+8>>2]=17;v[a>>2]=957;return 19}if(!v[a+16>>2]){c=59;if((b|0)==28){break a}}v[a>>2]=936;c=-1}return c|0}function HE(a,b){a=a|0;b=b|0;var c=0;c=Ca-16|0;Ca=c;t[c+7|0]=0;b=ah(a,b,c+8|0,c+7|0);a:{if(b){break a}a=v[v[v[a+4>>2]+128>>2]+52>>2];if(!a){break a}Ea[v[v[a>>2]+4>>2]](v[a+4>>2],c+8|0)}Ca=c+16|0;return b|0}function fx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[c>>2]=0;v[c+4>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;return 0}function $G(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ca-16|0;Ca=e;v[e+12>>2]=b;f=v[a+144>>2];f=Ea[v[f>>2]](f,b,c,e+12|0)|0;a=zg(a,v[a+144>>2],b,c,f,v[e+12>>2],d,!w[a+480|0],1,0);Ca=e+16|0;return a|0}function ii(a,b){var c=0;a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=y[a+1356>>2]){break a}return v[v[a+1360>>2]+(b<<2)>>2]}a=v[a+3084>>2];if(!a){break a}c=Ea[v[a+20>>2]](b)|0}return c}function Yc(a,b,c,d,e){var f=0;f=Ca-256|0;Ca=f;if(!(e&73728|(c|0)<=(d|0))){c=c-d|0;d=c>>>0<256;Ra(f,b&255,d?c:256);if(!d){while(1){Fc(a,f,256);c=c-256|0;if(c>>>0>255){continue}break}}Fc(a,f,c)}Ca=f+256|0}function $d(a,b,c){var d=0,e=0,f=0,g=0;v[a+112>>2]=b;v[a+116>>2]=c;d=v[a+8>>2];g=v[a+4>>2];e=d-g|0;f=e>>31;v[a+120>>2]=e;v[a+124>>2]=f;v[a+104>>2]=b|c?((c|0)<(f|0)?1:(c|0)<=(f|0)?b>>>0<e>>>0:0)?b+g|0:d:d}function Sd(a,b){var c=0,d=0;c=v[(((b>>>0)%8191<<2)+a|0)+12>>2];a:{if(!c){break a}while(1){if(v[c+4>>2]!=(b|0)){c=v[c>>2];if(c){continue}break a}break}b=v[c+8>>2];if(!b){break a}d=b+v[a+8>>2]|0}return d}function ic(a,b,c){var d=0,e=0;a:{if(!a){break a}e=u[a+2>>1];if((e|0)<1){break a}a=v[a+4>>2];d=1;while(1){v[a>>2]=v[a>>2]+b;v[a+4>>2]=v[a+4>>2]+c;if((d&65535)>=(e|0)){break a}a=a+8|0;d=d+1|0;continue}}}function Lb(a,b,c,d){var e=0;e=Ca-16|0;Ca=e;v[e+12>>2]=d;a:{if(v[b>>2]>7){break a}kd(e+12|0,c);d=v[e+12>>2];if(d>>>0<=c>>>0){break a}a=(v[b>>2]<<3)+a|0;v[a+4>>2]=d;v[a>>2]=c;v[b>>2]=v[b>>2]+1}Ca=e+16|0}function tc(a){var b=0,c=0,d=0;c=a;d=v[a+36>>2];a=v[a+32>>2];if(d>>>0>a+3>>>0){b=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);a=a+4|0}v[c+32>>2]=a;return b}function fr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Ca-16|0;Ca=e;g=v[b>>2];a:{if(g>>>0>=d>>>0){break a}h=c,i=Ua(a,1,g,d,v[c>>2],e+12|0),v[h>>2]=i;f=v[e+12>>2];if(f){break a}v[b>>2]=d;f=0}Ca=e+16|0;return f}function aK(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;v[f+28>>2]=c;c=0;a=ld(v[f>>2],f+8|0,0);if(a){if(v[a>>2]>=0){v[d>>2]=v[a+8>>2]-v[a+20>>2];v[e>>2]=v[a+24>>2]+v[a+12>>2];c=1}Ib(a)}return c|0}function zL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=v[a+20>>2];if(w[a+65|0]){a=v[e+8>>2];f=u[e+2>>1];g=v[e+4>>2]+(f<<3)|0;v[g+4>>2]=c>>10;v[g>>2]=b>>10;t[a+f|0]=d?1:2}u[e+2>>1]=x[e+2>>1]+1}function wI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=w[d|0];a:{if(a){while(1){if(w[b+1|0]|(c-b|0)<2|w[b|0]!=(a|0)){break a}b=b+2|0;a=w[d+1|0];d=d+1|0;if(a){continue}break}}e=(b|0)==(c|0)}return e|0}function fI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=w[d|0];a:{if(a){while(1){if(w[b|0]|(c-b|0)<2|w[b+1|0]!=(a|0)){break a}b=b+2|0;a=w[d+1|0];d=d+1|0;if(a){continue}break}}e=(b|0)==(c|0)}return e|0}function Uu(a,b){var c=0,d=0,e=0;c=Ca-32|0;Ca=c;v[c+8>>2]=1;v[c+12>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;e=c;b=hQ(b*64);a:{if(D(b)<2147483648){d=~~b;break a}d=-2147483648}v[e+16>>2]=d;Ok(a,c+8|0);Ca=c+32|0}function Nc(a,b){var c=0;c=7;a:{b:{switch(a+40|0){case 4:case 5:case 6:case 7:return 8;case 39:c=0;if((b&255)>>>0>253){break a}break;case 0:case 1:case 2:case 3:break a;default:break b}}c=29}return c}function Fs(a){var b=0,c=0,d=0;b=Va(32);if(b){a=ib(a?a:515549);v[b+8>>2]=0;v[b+12>>2]=0;v[b+4>>2]=a;c=b,d=$f(1012),v[c+20>>2]=d;c=b,d=$f(1012),v[c+24>>2]=d;a=$f(1012);v[b>>2]=1;v[b+28>>2]=a}return b}function FK(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+4>>2];a:{if((c|0)!=v[b+4>>2]){break a}if(lc(v[a>>2],v[b>>2],c)|v[a+8>>2]!=v[b+8>>2]|v[a+12>>2]!=v[b+12>>2]){break a}d=v[a+16>>2]==v[b+16>>2]}return d|0}function hD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=v[a+712>>2];a:{b:{if(!a){break b}d=6;if(v[a+1504>>2]==65535|y[a+20>>2]<=b>>>0){break a}if(!c){break b}v[c>>2]=x[v[a+1188>>2]+(b<<1)>>1]}d=0}return d|0}function Wt(a){var b=0,c=0,d=0;b=Ca-32|0;Ca=b;d=sd(517535);v[b+24>>2]=1;c=v[b+28>>2];v[b+8>>2]=v[b+24>>2];v[b+12>>2]=c;v[b+16>>2]=4;c=v[b+20>>2];v[b>>2]=v[b+16>>2];v[b+4>>2]=c;Qc(a,d,b,1);Ca=b+32|0}function dh(a,b,c,d){var e=0,f=0,g=0;f=35;a:{if(!a|!(w[a+8|0]&8)){break a}f=7;e=v[a+96>>2];g=v[v[e>>2]+32>>2];if(!g){break a}e=Ea[g|0](e,4229)|0;if(!e){break a}f=Ea[v[e>>2]](a,b,0,c,d)|0}return f}function We(a,b,c){var d=0,e=0;d=Ca-32|0;Ca=d;A[d+24>>3]=c;e=v[d+28>>2];v[d+8>>2]=v[d+24>>2];v[d+12>>2]=e;v[d+16>>2]=2;e=v[d+20>>2];v[d>>2]=v[d+16>>2];v[d+4>>2]=e;a=Qc(a,b,d,1);Ca=d+32|0;return a}function nl(a){var b=0,c=0,d=0;b=Ca-4096|0;Ca=b;a=a?a:b;c=oa(a|0,4096)|0;if(c>>>0>=4294963201){v[164114]=0-c;c=-1}a:{if((c|0)<0){break a}d=a;if((a|0)!=(b|0)){break a}d=ib(b)}Ca=b+4096|0;return d}function Fd(a){a:{switch(v[a>>2]-3|0){case 0:Pa(v[a+8>>2]);return;case 2:vm(v[a+8>>2]);return;case 3:jd(v[a+8>>2]);return;case 5:ie(v[a+8>>2]);return;case 6:Pa(v[a+8>>2]);break;default:break a}}}function ww(a,b){var c=0;a:{if(!a){break a}c=eb(1,204);if(!c){break a}v[c+32>>2]=-1;v[c+20>>2]=0;v[c+16>>2]=b;v[c+12>>2]=a;v[c>>2]=1;v[c+4>>2]=1;v[c+36>>2]=c;v[c+48>>2]=c;return c}return 654360}function UD(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b>>2];v[b>>2]=0;if(c>>>0>254){return 0}while(1){if((c|0)==255){return 0}c=c+1|0;d=x[v[a+16>>2]+(c<<1)>>1];if(!d){continue}break}v[b>>2]=c;return d|0}function rG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ca-16|0;Ca=e;a=ea(v[a+60>>2],b|0,c|0,d&255,e+8|0)|0;if(a){v[164114]=a;a=-1}else{a=0}Ca=e+16|0;Da=a?-1:v[e+12>>2];return(a?-1:v[e+8>>2])|0}function Pk(a,b){var c=0;c=35;a:{if(!a|!(w[a+8|0]&2)){break a}c=6;if((b|0)<0|v[a+28>>2]<=(b|0)){break a}c=v[v[v[a+96>>2]+12>>2]+92>>2];if(c){return Ea[c|0](v[a+88>>2],b)|0}te(a,b);c=0}return c}function Zc(a,b,c){var d=0;d=Ca-32|0;Ca=d;v[d+24>>2]=c;c=v[d+28>>2];v[d+8>>2]=v[d+24>>2];v[d+12>>2]=c;v[d+16>>2]=4;c=v[d+20>>2];v[d>>2]=v[d+16>>2];v[d+4>>2]=c;a=Qc(a,b,d,1);Ca=d+32|0;return a}function Ut(a,b,c){var d=0;d=Ca-32|0;Ca=d;v[d+24>>2]=c;c=v[d+28>>2];v[d+8>>2]=v[d+24>>2];v[d+12>>2]=c;v[d+16>>2]=9;c=v[d+20>>2];v[d>>2]=v[d+16>>2];v[d+4>>2]=c;a=Qc(a,b,d,1);Ca=d+32|0;return a}function UI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+72|0;a=b;while(1){c=w[w[a|0]+e|0]-5|0;d=c&255;if(!(d>>>0>=25|!(25034759>>>d&1))){a=v[(c<<24>>24<<2)+506136>>2]+a|0;continue}break}return a-b|0}function Rd(a,b,c){var d=0;d=Ca-32|0;Ca=d;v[d+24>>2]=c;c=v[d+28>>2];v[d+8>>2]=v[d+24>>2];v[d+12>>2]=c;v[d+16>>2]=1;c=v[d+20>>2];v[d>>2]=v[d+16>>2];v[d+4>>2]=c;a=Qc(a,b,d,1);Ca=d+32|0;return a}function VI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=w[d|0];a:{if(a){while(1){if(w[b|0]!=(a|0)|(c-b|0)<1){break a}b=b+1|0;a=w[d+1|0];d=d+1|0;if(a){continue}break}}e=(b|0)==(c|0)}return e|0}function Ub(a,b){var c=0,d=0;c=85;a:{if((b|0)<0){break a}b=v[a+8>>2]+b|0;d=v[a+20>>2];b:{if(d){if(!(Ea[d|0](a,b,0,0)|0)){break b}break a}if(b>>>0>y[a+4>>2]){break a}}v[a+8>>2]=b;c=0}return c}function mN(a){a=a|0;v[a+48>>2]=2333;v[a+52>>2]=0;v[a+24>>2]=500;v[a+28>>2]=400;v[a+12>>2]=86;v[a+16>>2]=30;v[a+40>>2]=1667;v[a+44>>2]=275;v[a+32>>2]=1e3;v[a+36>>2]=275;t[a+20|0]=1;return 0}function fs(a,b,c,d){a:{if(!a){break a}b:{switch(b+2|0){case 0:t[a|0]=c;return;case 1:u[a>>1]=c;return;case 2:case 3:v[a>>2]=c;return;case 5:break b;default:break a}}v[a>>2]=c;v[a+4>>2]=d}}function dC(a){a=a|0;var b=0,c=0,d=0;b=Ca-16|0;Ca=b;d=Vr(v[v[a>>2]+504>>2],b+12|0);c=v[b+12>>2];if(!d){v[a+44>>2]=c}if(c){a=v[c>>2];if(!(!a|!v[a+96>>2])){v[a+88>>2]=c}}Ca=b+16|0;return d|0}function uE(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+420>>2];a:{if((c|0)>=1){d=v[a+424>>2];a=0;while(1){if(!Wa(b,v[(a<<2)+d>>2])){break a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0}return a|0}function Zb(a,b){var c=0;a:{c=v[a+12>>2];if((c|0)==(v[a+8>>2]+(v[a+16>>2]<<3)|0)){a=v[a+4>>2];if(!a|v[a>>2]){break a}v[a>>2]=130;return}v[c>>2]=b;b=v[a+12>>2];v[b+4>>2]=0;v[a+12>>2]=b+8}}function Yr(a){var b=0;b=w[a+74|0];t[a+74|0]=b-1|b;b=v[a>>2];if(b&8){v[a>>2]=b|32;return-1}v[a+4>>2]=0;v[a+8>>2]=0;b=v[a+44>>2];v[a+28>>2]=b;v[a+20>>2]=b;v[a+16>>2]=b+v[a+48>>2];return 0}function Mg(a,b){var c=0;a:{c=v[a+12>>2];if((c|0)==(v[a+8>>2]+(v[a+16>>2]<<3)|0)){a=v[a+4>>2];if(!a|v[a>>2]){break a}v[a>>2]=130;return}v[c>>2]=b;b=v[a+12>>2];v[b+4>>2]=2;v[a+12>>2]=b+8}}function JD(a){a=a|0;var b=0,c=0;b=v[a+4>>2];c=v[v[b+712>>2]+3080>>2];a:{if(!c){break a}b=pc(v[v[b+96>>2]+4>>2],13048);if(!b){break a}b=Ea[v[c+8>>2]](b)|0;v[v[a+156>>2]+36>>2]=b}return 0}function Is(a,b){var c=0,d=0;v[a+16>>2]=8;v[a+12>>2]=9;v[a+8>>2]=0;v[a>>2]=80;v[a+4>>2]=241;b=Ea[v[b+4>>2]](b,964)|0;if(!b){v[a+20>>2]=b;return 64}c=a,d=Ra(b,0,964),v[c+20>>2]=d;return 0}function De(a,b,c){var d=0,e=0,f=0;f=a+c|0;while(1){a:{c=w[w[b|0]+3760|0];d=w[a|0];e=w[d+3760|0];a=a+1|0;if(!d|f>>>0<=a>>>0){break a}b=b+1|0;if((c|0)==(e|0)){continue}}break}return e-c|0}function lG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=v[a+84>>2];d=c+256|0;f=we(e,0,d);d=f?f-e|0:d;c=c>>>0>d>>>0?d:c;Ta(b,e,c);b=e+d|0;v[a+84>>2]=b;v[a+8>>2]=b;v[a+4>>2]=c+e;return c|0}function Wa(a,b){var c=0,d=0;c=w[a|0];d=w[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=w[b+1|0];c=w[a+1|0];if(!c){break a}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}break}}return c-d|0}function Rh(a,b){var c=0,d=0;b=b<<2;d=v[b+654292>>2];while(1){a:{c=v[(b+v[a+72>>2]|0)+148>>2]!=(d|0);if(c){break a}a=v[a+12>>2];if(!a){break a}if((a|0)!=654048){continue}}break}return c}function HG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=-1;if(!(v[b>>2]!=4|v[a>>2]!=4)){v[c>>2]=4;e=c;c=v[b+8>>2];if((c|0)==2){c=v[a+8>>2]}v[e+8>>2]=c;d=(v[a+8>>2]^v[b+8>>2])==1?1:0}return+d}function tn(a,b,c){var d=0;if(v[a+4>>2]){d=v[a+132>>2];if(d){Ea[d|0](v[a- -64>>2])}if(b){v[a+132>>2]=0;v[a+200>>2]=b;v[a- -64>>2]=c;return}v[a+132>>2]=0;v[a+200>>2]=500;v[a- -64>>2]=0}}function Xf(a,b,c){var d=0,e=0;a:{if(!c){break a}while(1){e=v[(d<<3)+b>>2];if(!e){break a}if((a|0)==(e|0)){return v[((d<<3)+b|0)+4>>2]}d=d+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function RM(a){a=a|0;var b=0;b=v[a+4>>2];v[b+180>>2]=-21;v[b+184>>2]=0;v[b+196>>2]=21;v[b+200>>2]=0;v[b+188>>2]=0;v[b+192>>2]=0;Ea[v[v[v[a+12>>2]+56>>2]+8>>2]](v[a+52>>2],0,0);return 0}function NN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=kc(v[b+4>>2],c);a:{if(!a){e=0;if(!w[b+12|0]|c>>>0>255){break a}a=kc(v[b+4>>2],c+61440|0);if(!a){break a}}v[d>>2]=a;e=1}return e|0}function ms(a){var b=0,c=0,d=0;a:{if(t[v[a>>2]]-48>>>0>=10){break a}while(1){c=v[a>>2];d=t[c|0];v[a>>2]=c+1;b=(b+d|0)-48|0;if(t[c+1|0]-48>>>0>=10){break a}b=B(b,10);continue}}return b}function _k(a,b,c,d,e,f,g,h,i){var j=0;j=Ca-16|0;Ca=j;cd(j,b,c,d,e,f,g,h,i^-2147483648);b=v[j+4>>2];v[a>>2]=v[j>>2];v[a+4>>2]=b;b=v[j+12>>2];v[a+8>>2]=v[j+8>>2];v[a+12>>2]=b;Ca=j+16|0}function TD(a,b){a=a|0;b=b|0;var c=0,d=0;b=v[a>>2];c=v[b+712>>2];if(!v[c+1188>>2]){return 163}d=v[v[c+3084>>2]+4>>2];if(!d){return 7}return Ea[d|0](v[b+100>>2],a,v[c+20>>2],133,0,b)|0}function Em(a,b){var c=0,d=0;a:{if(a){if(!b){return a}if(v[v[a>>2]+8>>2]<v[v[b>>2]+8>>2]){break a}c=b,d=Em(a,v[b+8>>2]),v[c+8>>2]=d}return b}c=a,d=Em(v[a+8>>2],b),v[c+8>>2]=d;return a}function wF(a,b){a=a|0;b=b|0;var c=0;v[a+116>>2]=b;c=v[a>>2];if(t[c+8|0]&1){te(c,b);Ck(a);return 0}b=Ea[v[v[c+540>>2]+108>>2]](c,b,a+12|0)|0;if(!b){return 0}v[a+116>>2]=-1;return b|0}function _o(a){a=v[Ic(a+136|0)>>2];a=a?a:280448;a=y[a+16>>2]<10?280448:v[a+12>>2];a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);return(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}function _O(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=v[a+12>>2];v[e>>2]=0;if((d|0)==-1){d=Xa(c)}b=a;f=v[a+76>>2];a=v[a+72>>2];return Ea[v[a+212>>2]](b,f,c,d,e,v[a+76>>2])|0}function Tm(a){a=a|0;var b=0,c=0;b=v[a+8>>2];if(b){a=v[a+16>>2];c=v[a+4>>2];v[b+108>>2]=v[a>>2];v[b+112>>2]=c;v[b+124>>2]=v[a+16>>2];c=v[a+12>>2];v[b+116>>2]=v[a+8>>2];v[b+120>>2]=c}}function KA(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ca-16|0;Ca=c;v[c+12>>2]=b;d=0;a:{if(b>>>0>65535){break a}if(t[a+20|0]&1){d=iq(a,c+12|0,0);break a}d=hq(a,c+12|0,0)}a=d;Ca=c+16|0;return a|0}function pg(a,b){var c=0,d=0;c=v[a+12>>2];d=v[a+4>>2];c=(c|0)<0?(c|0)>(d|0)?c:d:d-c|0;b=b?b:(B(c,12)|0)/10|0;v[a+28>>2]=b;v[a+24>>2]=(b-c|0)/2;v[a+20>>2]=v[a+8>>2]+(v[a+16>>2]/-2|0)}function PD(a,b){a=a|0;b=b|0;var c=0;c=Bd(9904,b);a:{if(c){break a}c=0;if(!a){break a}a=v[a+4>>2];if(!a){break a}a=pc(a,9992);if(!a){break a}c=Ea[v[v[a>>2]+32>>2]](a,b)|0}return c|0}function uu(a,b){var c=0;if((a|0)==(b|0)){return 1}a:{if(!a|!b|(A[a>>3]!=A[b>>3]|A[a+8>>3]!=A[b+8>>3])){break a}if(A[a+16>>3]!=A[b+16>>3]){break a}c=A[a+24>>3]==A[b+24>>3]}return c}function Mx(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b>>2];d=v[a>>2];if((c|0)!=(d|0)){return(c>>>0>d>>>0?-1:1)|0}a=v[a+4>>2];b=v[b+4>>2];if(a>>>0>=b>>>0){a=a>>>0>b>>>0}else{a=-1}return a|0}function Au(a){var b=0;a:{b=v[a+8>>2];if(b){a=(b+v[a+20>>2]|0)-1|0;b=w[a|0];if(b>>>0>=4){break a}t[a|0]=b|4;return 1}O(446380,446400,395,446444);L()}O(446466,446400,396,446444);L()}function $i(){var a=0;a=Va(40);if(!a){return 0}v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=8;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;return a}function jA(a,b){a=a|0;b=b|0;v[a+16>>2]=b;b=w[b+6|0]|w[b+7|0]<<8|(w[b+8|0]<<16|w[b+9|0]<<24);v[a+28>>2]=0;v[a+32>>2]=0;v[a+24>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function Wf(a){var b=0,c=0;b=v[163907];c=a+3&-4;a=b+c|0;a:{if(a>>>0<=b>>>0?c:0){break a}if(a>>>0>Fa()<<16>>>0){if(!(ga(a|0)|0)){break a}}v[163907]=a;return b}v[164114]=48;return-1}function un(a,b,c){var d=0;if(v[a+4>>2]){d=v[a+120>>2];if(d){Ea[d|0](v[a+52>>2])}if(b){v[a+120>>2]=0;v[a+188>>2]=b;v[a+52>>2]=c;return}v[a+120>>2]=0;v[a+188>>2]=497;v[a+52>>2]=0}}function uc(a){var b=0;a:{b=v[130914];if((Ad(a,b)|0)<0){break a}b:{if(w[b+75|0]==10){break b}a=v[b+20>>2];if(a>>>0>=y[b+16>>2]){break b}v[b+20>>2]=a+1;t[a|0]=10;break a}Vk(b,10)}}function cj(a,b){var c=0,d=0;d=v[a+20>>2];a:{b:{if(!d){c=85;if((b|0)<0){break a}if(y[a+4>>2]>=b>>>0){break b}break a}c=85;if(Ea[d|0](a,b,0,0)|0){break a}}v[a+8>>2]=b;c=0}return c}function ax(a,b,c){var d=0;if(v[a+4>>2]){d=v[a+104>>2];if(d){Ea[d|0](v[a+36>>2])}if(b){v[a+104>>2]=0;v[a+172>>2]=b;v[a+36>>2]=c;return}v[a+104>>2]=0;v[a+172>>2]=493;v[a+36>>2]=0}}function _w(a,b,c){var d=0;if(v[a+4>>2]){d=v[a+124>>2];if(d){Ea[d|0](v[a+56>>2])}if(b){v[a+124>>2]=0;v[a+192>>2]=b;v[a+56>>2]=c;return}v[a+124>>2]=0;v[a+192>>2]=498;v[a+56>>2]=0}}function Zw(a,b,c){var d=0;if(v[a+4>>2]){d=v[a+136>>2];if(d){Ea[d|0](v[a+68>>2])}if(b){v[a+136>>2]=0;v[a+204>>2]=b;v[a+68>>2]=c;return}v[a+136>>2]=0;v[a+204>>2]=501;v[a+68>>2]=0}}function Qe(a,b){var c=0,d=0,e=0;a:{if(!a|!(w[a+8|0]&8)){break a}c=v[a+96>>2];d=v[v[c>>2]+32>>2];if(!d){break a}c=Ea[d|0](c,4229)|0;if(!c){break a}e=Ea[v[c+4>>2]](a,b)|0}return e}function Lu(a,b,c,d,e){a:{if(!(v[a- -64>>2]!=(d|0)|v[a+68>>2]!=(e|0)|v[a+56>>2]!=(b|0))){if(v[a+60>>2]==(c|0)){break a}}v[a+64>>2]=d;v[a+68>>2]=e;v[a+60>>2]=c;v[a+56>>2]=b;Fe(a)}}function Ny(a,b,c){a=a|0;b=b|0;c=c|0;if(b>>>0>=918e3){return v[54806]}return v[(w[(b&15|x[((b>>>4&31|3040)+(w[(b>>>9|0)+181012|0]<<5)<<1)+196160>>1]<<4)+182806|0]<<2)+219216>>2]}function pd(a,b,c){var d=0,e=0;if(!b){v[c>>2]=0;return 0}d=Xa(b)+1|0;a:{if((d|0)>=1){e=Ea[v[a+4>>2]](a,d)|0;a=!e<<6;break a}a=d?6:0}if(!(a|!d)){Ta(e,b,d);a=0}v[c>>2]=a;return e}function Yw(a,b){var c=0;if(v[a+4>>2]){c=v[a+140>>2];if(c){Ea[c|0](v[a+72>>2])}if(b){v[a+140>>2]=0;v[a+208>>2]=b;v[a+72>>2]=0;return}v[a+140>>2]=0;v[a+208>>2]=502;v[a+72>>2]=0}}function Xw(a,b){var c=0;if(v[a+4>>2]){c=v[a+144>>2];if(c){Ea[c|0](v[a+76>>2])}if(b){v[a+144>>2]=0;v[a+212>>2]=b;v[a+76>>2]=0;return}v[a+144>>2]=0;v[a+212>>2]=503;v[a+76>>2]=0}}function Jm(a,b){var c=0;if(v[a+72>>2]?v[a+676>>2]:1){return+v[a+144>>2]*b/+v[v[a+168>>2]+40>>2]+ +v[a+56>>2]}c=A[a+152>>3];return c*b/+v[v[a+168>>2]+40>>2]+(+v[a+140>>2]-c)*.5}function $w(a,b){var c=0;if(v[a+4>>2]){c=v[a+108>>2];if(c){Ea[c|0](v[a+40>>2])}if(b){v[a+108>>2]=0;v[a+176>>2]=b;v[a+40>>2]=0;return}v[a+108>>2]=0;v[a+176>>2]=494;v[a+40>>2]=0}}function wn(a,b,c){var d=0;if(v[a+4>>2]){d=v[a+88>>2];if(d){Ea[d|0](v[a+20>>2])}if(b){v[a+88>>2]=0;v[a+156>>2]=b;v[a+20>>2]=c;return}v[a+88>>2]=0;v[a+156>>2]=489;v[a+20>>2]=0}}function vn(a,b,c){var d=0;if(v[a+4>>2]){d=v[a+96>>2];if(d){Ea[d|0](v[a+28>>2])}if(b){v[a+96>>2]=0;v[a+164>>2]=b;v[a+28>>2]=c;return}v[a+96>>2]=0;v[a+164>>2]=491;v[a+28>>2]=0}}function kd(a,b){var c=0,d=0,e=0;c=v[a>>2];a:{if(c>>>0<=b>>>0){break a}while(1){d=c-1|0;e=w[d|0];if((e|0)!=9?(e|0)!=32:0){break a}c=d;if(c>>>0>b>>>0){continue}break}}v[a>>2]=c}function ee(a,b){var c=0;a:{if(!a|!b){break a}c=v[a+4>>2];if(!c){break a}a=u[a+2>>1];if((a|0)<1){break a}a=(a<<3)+c|0;while(1){Ri(c,b);c=c+8|0;if(a>>>0>c>>>0){continue}break}}}function PK(a,b){a=a|0;b=b|0;var c=0;c=18;a:{if(v[b+72>>2]!=1869968492){break a}c=v[a>>2];a=a+20|0;c=Lr(c,u[b+110>>1],u[b+108>>1],a);if(c){break a}Kr(b+108|0,a);c=0}return c|0}function NC(a){a=a|0;var b=0,c=0;b=v[a+4>>2];c=v[b+320>>2];a:{if(!c){break a}b=pc(v[v[b+96>>2]+4>>2],14894);if(!b){break a}b=Ea[v[c+4>>2]](b)|0;v[v[a+156>>2]+36>>2]=b}return 0}function JN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=Ca-16|0;Ca=d;if(Vi(v[b+4>>2],c,v[b+8>>2]|16,d+12|0)){a=0}else{b=v[d+12>>2];a=(v[a+24>>2]<0?b:0-b|0)+512>>10}Ca=d+16|0;return a|0}function an(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=6;a:{if(v[b+72>>2]!=v[a+16>>2]){break a}if(c){ee(b+108|0,c)}e=0;if(!d){break a}ic(b+108|0,v[d>>2],v[d+4>>2])}return e|0}function ae(a){var b=0;a:{if(a){break a}while(1){a=v[164112];if(a){break a}a=_f();if(!a){continue}b=v[164112];v[164112]=b?b:a;if(!b){break a}ac(a);continue}}return v[a+76>>2]}function DE(a){a=a|0;var b=0,c=0;b=v[a+4>>2];c=v[b+552>>2];a:{if(!c){break a}b=pc(v[v[b+96>>2]+4>>2],7345);if(!b){break a}b=Ea[v[c+4>>2]](b)|0;v[v[a+156>>2]+36>>2]=b}return 0}function jq(a,b){var c=0;if(!a){return}if(!b){return}a=v[a>>2];c=v[b+12>>2];if(c){Ea[v[a+8>>2]](a,c)}v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0}function dx(a,b){var c=0;if(v[a+4>>2]){c=v[a+80>>2];if(c){Ea[c|0](v[a+12>>2])}if(b){v[a+80>>2]=0;v[a+12>>2]=0;v[a+148>>2]=b;return}v[a+80>>2]=0;v[a+12>>2]=0;v[a+148>>2]=487}}function de(a){var b=0,c=0;b=v[a+4>>2];while(1){if(b){c=v[b+4>>2];if(c){Ea[v[a>>2]](c)}if(v[a+4>>2]==(b|0)){v[a+4>>2]=v[b>>2]}c=v[b>>2];Pa(b);b=c;if(b){continue}}break}Pa(a)}function bx(a,b){var c=0;if(v[a+4>>2]){c=v[a+92>>2];if(c){Ea[c|0](v[a+24>>2])}if(b){v[a+92>>2]=0;v[a+160>>2]=b;v[a+24>>2]=0;return}v[a+92>>2]=0;v[a+160>>2]=490;v[a+24>>2]=0}}function iC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;v[c>>2]=0;d=6;a:{if(!b|!a){break a}b=b-1|0;if(b>>>0>=y[a+408>>2]){break a}v[c>>2]=v[(v[a+416>>2]+(b<<4)|0)+4>>2];d=0}return d|0}function us(a){var b=0;b=v[163739]-4|0;v[b>>2]=v[164117]|(v[163740]<<8|v[163738]<<16);v[163739]=a+4;a=v[a>>2];v[163738]=a>>>16;v[164117]=a&255;v[163740]=a>>>8&255;return b}function SA(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+16>>2]+6|0;a=v[b>>2];while(1){a=a+1|0;if(a>>>0>255){v[b>>2]=0;return 0}c=w[a+d|0];if(!c){continue}break}v[b>>2]=a;return c|0}function tb(a,b,c){var d=0,e=0;while(1){a=rb(a,c);d=(a|0)!=0&a>>>0<b>>>0;if(d){a=Xa(c)+a|0;e=w[a|0];if(((e&223)-65&255)>>>0<26|(e-48&255)>>>0<10){continue}}break}return d}function eD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=1;a:{if(!w[a|0]|v[a+8>>2]!=(b|0)|v[a+12>>2]!=(c|0)){break a}if(c){if(lc(d,v[a+16>>2],c<<2)){break a}}e=0}return e|0}function fq(a,b){a=a|0;b=b|0;v[a+16>>2]=b;b=w[b+12|0]|w[b+13|0]<<8|(w[b+14|0]<<16|w[b+15|0]<<24);t[a+24|0]=0;v[a+40>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function eb(a,b){var c=0,d=0,e=0;c=0;a:{if(!a){break a}d=eQ(a,0,b,0);e=Da;c=d;if((a|b)>>>0<65536){break a}c=e?-1:d}b=c;a=Va(b);if(!(!a|!(w[a-4|0]&3))){Ra(a,0,b)}return a}function IF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=v[a+24>>2];c=Ya(b,c);a:{if(c){break a}c=vb(b,d);if(c){break a}v[a+196>>2]=v[b+32>>2];v[a+200>>2]=v[b+36>>2];c=0}return c|0}function qA(a,b){a=a|0;b=b|0;var c=0;if(!(!w[a+24|0]|v[a+28>>2]!=v[b>>2])){dq(a);if(!w[a+24|0]){return 0}c=v[a+32>>2];v[b>>2]=v[a+28>>2];return c|0}return eq(a,b,1)|0}function lc(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}while(1){d=w[a|0];e=w[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}f=d-e|0}return f}function tA(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=10;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function oA(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=12;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function kA(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=13;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function aP(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=v[a+12>>2];if(e){t[d|0]=0}b=a;f=v[a+76>>2];a=v[a+72>>2];return Ea[v[a+208>>2]](b,f,c,d,e,v[a+72>>2])|0}function FA(a,b){a=a|0;b=b|0;a=v[a+16>>2];b=b-(w[a+6|0]<<8|w[a+7|0])|0;if(b>>>0<(w[a+9|0]|w[a+8|0]<<8)>>>0){a=a+(b<<1)|0;a=w[a+10|0]<<8|w[a+11|0]}else{a=0}return a|0}function xA(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=8;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function jb(a,b){var c=0,d=0,e=0;while(1){a:{c=w[w[b|0]+3760|0];d=w[a|0];e=w[d+3760|0];if(!d){break a}b=b+1|0;a=a+1|0;if((c|0)==(e|0)){continue}}break}return e-c|0}function JL(a){a=a|0;var b=0,c=0,d=0;if(a){c=v[a>>2];b=c;d=v[a+108>>2];if(d){Ea[v[b+8>>2]](b,d)}v[a+108>>2]=0;b=v[a+116>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+116>>2]=0}}function HB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;e=b;c=v[b>>2]+1|0;b=v[a+16>>2];if(c>>>0>b>>>0){b=c-b|0;a=b>>>0<y[a+20>>2];d=a?b+1|0:0;b=a?c:0}v[e>>2]=b;return d|0}function AG(a,b){a=a|0;b=b|0;var c=0,d=0;d=Ca-16|0;Ca=d;c=1;a:{if(!a|!b){break a}c=0;if(em(a,517501,d+12|0)){break a}c=(ej(v[d+12>>2],b)|0)==1}Ca=d+16|0;return c|0}function sJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if(!d){e=1;if(y[a+4>>2]<b>>>0){break a}}e=v[a+12>>2];if(v[a+8>>2]!=(b|0)){Ci(e,b,0)}e=ps(c,d,e)}return e|0}function ik(a,b,c,d,e){var f=0;f=e<<2;a=Ea[v[a+24>>2]](v[a+32>>2],f+B(d+376|0,f)|0)|0;u[b+12>>1]=e;u[b+10>>1]=d;u[b+8>>1]=c;v[b>>2]=a;v[b+4>>2]=a+f;return(a|0)!=0}function dQ(a,b){var c=0,d=0;if(a|b){c=b-1|0;d=a-1|0;c=(d|0)!=-1?c+1|0:c;d=E(a^d)+32|0;a=E(b^c);a=(a|0)==32?d:a;b=63-a|0;Da=0-(a>>>0>63)|0;return b}Da=0;return 64}function ID(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!a){return 37}d=b?d:d|3;if(b?d&1:1){return hi(a,0,c,d)|0}if(v[b>>2]==v[a+4>>2]){a=hi(a,b,c,d)}else{a=35}return a|0}function zN(a,b){a=a|0;b=b|0;v[a+2748>>2]=b;v[a+2740>>2]=v[b+28>>2];v[a+4>>2]=v[b+8>>2];v[a+12>>2]=v[b+12>>2];v[a+8>>2]=v[b+16>>2];v[a+16>>2]=v[b+20>>2];return 0}function he(a,b){var c=0,d=0;if((a|0)==(b|0)){return 0}while(1){a:{d=w[b|0];c=w[a|0];if(!c){break a}a=a+1|0;b=b+1|0;if((d|0)==(c|0)){continue}}break}return c-d|0}function DG(a){a=a|0;var b=0,c=0;a:{a=v[a>>2];b=w[a|0];if(!b){break a}while(1){c=(b<<24>>24)+c|0;b=w[a+1|0];if(!b){break a}a=a+1|0;c=B(c,31);continue}}return c|0}function BC(a,b){a=a|0;b=b|0;var c=0;c=v[b+96>>2];if(!((c|0)<0|v[a+300>>2]<=(c|0))){a=v[a+304>>2]+B(c,252)|0;b=Ea[v[b+40>>2]](b,0)|0;v[a+180>>2]=b;v[a+208>>2]=b}}function zv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ca-16|0;Ca=c;v[c+12>>2]=0;v[b>>2]=0;d=wb(a,4,c+12|0);e=v[c+12>>2];if(!e){v[d>>2]=a;v[b>>2]=d}Ca=c+16|0;return e|0}function ku(a,b){var c=0;a:{while(1){if(!id(a,v[B(c,12)+449936>>2])){break a}c=c+1|0;if((c|0)!=57){continue}break}return 0}v[b>>2]=v[B(c,12)+449944>>2];return 1}function kP(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=v[a+12>>2];v[e>>2]=0;b=a;f=v[a+76>>2];a=v[a+72>>2];return Ea[v[a+164>>2]](b,f,c,d,e,v[a+28>>2])|0}function Oy(a,b,c){a=a|0;b=b|0;c=c|0;if(b>>>0<65380){b=u[(w[(b>>>2&63|w[(b>>>9|0)+179924|0]>>>(b>>>6&4)<<6&960)+180052|0]<<3|(b&3)<<1)+218816>>1]+b|0}return b|0}function Bd(a,b){var c=0;a:{if(!a|!b){break a}c=v[a>>2];if(!c){break a}while(1){if(!Wa(c,b)){return v[a+4>>2]}c=v[a+8>>2];a=a+8|0;if(c){continue}break}}return 0}function tL(a,b){a=a|0;b=b|0;var c=0;b=v[a>>2];c=v[b+488>>2];v[a+24>>2]=v[b+420>>2];v[a+28>>2]=v[b+424>>2];v[a+20>>2]=v[c+20>>2];v[a+16>>2]=v[c+24>>2];return 0}function pL(a,b){a=a|0;b=b|0;var c=0;b=v[a>>2];c=v[b+488>>2];v[a+24>>2]=v[b+420>>2];v[a+28>>2]=v[b+424>>2];v[a+20>>2]=v[c+20>>2];v[a+16>>2]=v[c+28>>2];return 0}function gB(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a>>2];c=v[d+140>>2];te(d,b);v[a+24>>2]=v[c+40>>2]<<6;v[a+28>>2]=0-(v[c+44>>2]<<6);v[a+36>>2]=x[c+4>>1]<<6;return 0}function Ya(a,b){var c=0,d=0;d=v[a+20>>2];a:{b:{if(d){c=85;if(!(Ea[d|0](a,b,0,0)|0)){break b}break a}c=85;if(y[a+4>>2]<b>>>0){break a}}v[a+8>>2]=b;c=0}return c}function MB(a,b){a=a|0;b=b|0;var c=0;c=v[a>>2];b=v[c+132>>2];te(c,0);c=x[b+80>>1];v[a+24>>2]=c<<6;v[a+28>>2]=c-x[b+96>>1]<<6;v[a+36>>2]=x[b+102>>1]<<6;return 0}function II(a,b){a=a|0;b=b|0;var c=0,d=0;a=w[b+2|0];c=1<<a;d=a>>>5&1;a=w[b+1|0];return c&v[((d|(w[(a>>>2&15|w[b|0]<<4&240)+502448|0]<<3|a<<1&6))<<2)+500176>>2]}function GI(a,b){a=a|0;b=b|0;var c=0,d=0;a=w[b+2|0];c=1<<a;d=a>>>5&1;a=w[b+1|0];return c&v[((d|(w[(a>>>2&15|w[b|0]<<4&240)+502192|0]<<3|a<<1&6))<<2)+500176>>2]}function Gr(a){var b=0,c=0;b=v[a+32>>2];if(y[a+36>>2]<=b+3>>>0){v[a+32>>2]=b;return 0}c=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[a+32>>2]=b+4;return c}function jO(a,b,c){a=a|0;b=+b;c=c|0;var d=0,e=0;d=v[a+4>>2];e=v[a+8>>2];b=b*1e3;a:{if(D(b)<2147483648){a=~~b;break a}a=-2147483648}return Km(d,e,a,a>>31,c)|0}function Cl(a,b,c,d){var e=0,f=0;f=Va(932);if(f){e=Ra(f,0,908);v[e+928>>2]=431;v[e+924>>2]=d;v[e+920>>2]=0;v[e+916>>2]=c;v[e+912>>2]=b;v[e+908>>2]=a}return f}function oJ(a,b){a=a|0;b=b|0;a=Ea[v[a+364>>2]](v[a+368>>2],b)|0;if(a>>>0<=65535){a=v[(a>>>3&28|w[(a>>>8|0)+502192|0]<<5)+500176>>2]&1<<a}else{a=0}return a|0}function nJ(a,b){a=a|0;b=b|0;a=Ea[v[a+364>>2]](v[a+368>>2],b)|0;if(a>>>0<=65535){a=v[(a>>>3&28|w[(a>>>8|0)+502448|0]<<5)+500176>>2]&1<<a}else{a=0}return a|0}function Tl(){var a=0,b=0;b=Ca-16|0;Ca=b;a:{if(v[164107]){break a}a=Yb(499542);if(!a){break a}v[b>>2]=a;Za(499551,b);a=Pb(a);v[164107]=(a|0)>0?a:0}Ca=b+16|0}function Nz(a,b){a=a|0;b=b|0;var c=0;c=Ea[v[a+516>>2]](a,1668112752,b,a+512|0)|0;if(!c){c=Jc(b,v[a+512>>2],a+508|0);if(!c){return 0}v[a+512>>2]=0}return c|0}function Et(a,b){var c=0,d=0;c=Ca-16|0;Ca=c;Re(32,a);d=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=d;d=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=d;oh(a,c);Ca=c+16|0}function Dr(a,b){var c=0,d=0;a:{if(!a|!b){break a}a=v[a>>2];if(!a){return}while(1){d=v[a+4>>2];c=Ea[b|0](a,0)|0;if(c){break a}a=c?a:d;if(a){continue}break}}}function ys(a,b,c){var d=0;d=Ca-16|0;Ca=d;v[d+12>>2]=c;v[d+8>>2]=b;a=X(a|0,d+8|0,1,d+4|0)|0;if(a){v[164114]=a;a=-1}else{a=0}Ca=d+16|0;return a?-1:v[d+4>>2]}function aN(a){a=a|0;var b=0;if(a){v[a+412>>2]=0;v[a+4>>2]=0;v[a+1960>>2]=0;v[a+1444>>2]=0;v[a+928>>2]=0;v[a+208>>2]=0;b=v[a>>2];if(a){Ea[v[b+8>>2]](b,a)}}}function RP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!Tg(a,1751216995,c)){break a}if(!Tg(a,1751413603,c+4|0)){break a}b=Tg(a,1751934832,c+8|0)}return b|0}function QP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!Tg(a,1986098019,c)){break a}if(!Tg(a,1986294627,c+4|0)){break a}b=Tg(a,1986815856,c+8|0)}return b|0}function Fi(a,b,c){var d=0;d=Ca-16|0;Ca=d;v[d+12>>2]=c;v[d+8>>2]=b;a=_(a|0,d+8|0,1,d+4|0)|0;if(a){v[164114]=a;a=-1}else{a=0}Ca=d+16|0;return a?-1:v[d+4>>2]}function jm(a,b,c){var d=0,e=0;d=Ca-16|0;Ca=d;e=v[c+12>>2];v[d+8>>2]=v[c+8>>2];v[d+12>>2]=e;e=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=e;Qc(a,b,d,1);Ca=d+16|0}function be(){var a=0,b=0;a:{if(!v[164113]){while(1){b=Va(28);a=v[164113];v[164113]=a?a:b;if(!a){break a}Pa(b);if(!v[164113]){continue}break}}return}Ze()}function Lc(a,b,c,d){var e=0,f=0;e=B(b,c);f=e;a:{if(v[d+76>>2]<=-1){a=Uk(a,e,d);break a}a=Uk(a,e,d)}if((f|0)==(a|0)){return b?c:0}return(a>>>0)/(b>>>0)|0}function xt(a,b,c){a=a|0;b=b|0;c=c|0;c=Xi(c);if((c|0)==-1){return 0}v[a+72>>2]=b;v[a+48>>2]=867;v[a+4>>2]=868;v[a>>2]=869;t[a+69|0]=c;v[b>>2]=a;return 1}function ss(a){var b=0;a:{if(v[a+76>>2]<=-1){a=ts(a);b=Da;break a}a=ts(a);b=Da}if((b|0)>0?1:(b|0)>=0?a>>>0>=2147483648:0){v[164114]=61;return-1}return a}function fJ(a,b,c){a=a|0;b=b|0;c=c|0;c=Xi(c);if((c|0)==-1){return 0}v[a+72>>2]=b;v[a+48>>2]=867;v[a+4>>2]=871;v[a>>2]=872;t[a+69|0]=c;v[b>>2]=a;return 1}function bF(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64|32;return((a|0)<0?32:a)|0}a=a-b&-64;return((a|0)<-32?-32:-32-a|0)|0}function Gk(a,b,c){var d=0;a:{if(c>>>0<2){break a}while(1){d=w[b|0];if(!d){break a}t[a|0]=d;a=a+1|0;b=b+1|0;c=c-1|0;if(c>>>0>1){continue}break}}t[a|0]=0}function sr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=v[a+540>>2];v[d>>2]=0;v[d+4>>2]=0;if(e){f=d,g=Ea[v[e+84>>2]](a,b,c)|0,v[f>>2]=g}return 0}function cF(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+32&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+32&-64)|0;return a>>31&a}function WE(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+16&-32;return((a|0)>0?a:0)|0}a=0-((a-b|0)+16&-32)|0;return a>>31&a}function Tp(){var a=0;a=v[163910];a:{if(a){break a}a=Ca-16|0;Ca=a;Ca=a+16|0;a=v[164128];a=dk(a?a+8|0:649712);if(v[163910]){break a}v[163910]=a}return a}function $E(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+63&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+63&-64)|0;return a>>31&a}function Hu(){var a=0;a=Va(36);if(a){u[a+20>>1]=255;v[a+28>>2]=0;v[a+32>>2]=0;v[a+16>>2]=128;v[a+8>>2]=-1;v[a+12>>2]=-1;v[a+4>>2]=a;v[a>>2]=a}return a}function Es(a,b,c){var d=0;d=v[a+12>>2];if(d){Pa(d)}d=v[a+8>>2];if(d){Pa(d)}d=a;if(b){b=ib(b)}else{b=0}v[d+12>>2]=b;if(c){b=ib(c)}else{b=0}v[a+8>>2]=b}function lw(a,b){var c=0;if(!(v[a>>2]!=v[b>>2]|v[a+4>>2]!=v[b+4>>2]|(v[a+8>>2]!=v[b+8>>2]|v[a+12>>2]!=v[b+12>>2]))){c=v[a+16>>2]==v[b+16>>2]}return c}function Af(a,b,c){var d=0;d=Ca-16|0;Ca=d;a:{if(b&64){v[d+12>>2]=c+4;v[d>>2]=v[c>>2];a=kh(a,b|557056,d);break a}a=kh(a,b|557056,0)}Ca=d+16|0;return a}function Cb(a){var b=0,c=0,d=0;c=a;d=v[a+36>>2];a=v[a+32>>2];if(d>>>0>a+1>>>0){b=w[a|0]|w[a+1|0]<<8;b=b<<8|b>>>8;a=a+2|0}v[c+32>>2]=a;return b&65535}function Ev(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ca-16|0;Ca=c;v[b>>2]=0;d=wb(a,4,c+12|0);e=v[c+12>>2];if(!e){v[d>>2]=a;v[b>>2]=d}Ca=c+16|0;return e|0}function cm(a){var b=0,c=0;a:{if(!v[a+20>>2]){break a}b=v[a>>2];if(!b){break a}c=v[a+28>>2];Ea[v[c+8>>2]](c,b);v[a>>2]=0}v[a+32>>2]=0;v[a+36>>2]=0}function Ed(a,b,c,d){var e=0;e=Ca-16|0;Ca=e;a=Be(a,sd(b),c,e);a:{if(a){break a}a=2;if(v[e>>2]!=3){break a}v[d>>2]=v[e+8>>2];a=0}Ca=e+16|0;return a}function Cr(a,b){var c=0,d=0;if(!(!a|!b)){c=v[a>>2];if(c){while(1){d=v[c+4>>2];Ea[v[b+8>>2]](b,c);c=d;if(c){continue}break}}v[a>>2]=0;v[a+4>>2]=0}}function vB(a,b){a=a|0;b=b|0;var c=0;c=v[a>>2];te(c,b);v[a+24>>2]=v[c+204>>2]<<6;v[a+28>>2]=0-(v[c+208>>2]<<6);v[a+36>>2]=u[c+236>>1]<<6;return 0}function sv(a,b){a=a|0;b=b|0;var c=0;a:{if(!b){break a}a=v[a+12>>2];if((u[a+22>>1]+b|0)+u[a+58>>1]>>>0<=y[a+4>>2]){break a}c=mc(a,b,0)}return c|0}function le(a){var b=0;if(v[a>>2]>=1){while(1){Ce(v[v[a+8>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)<v[a>>2]){continue}break}}b=v[a+8>>2];if(b){Pa(b)}Pa(a)}function Py(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=1114109?w[((b&15|2176)+(x[(b>>>3&62|w[(b>>>9|0)+163680|0]<<6)+196160>>1]<<4)|0)+163680|0]:2)|0}function em(a,b,c){var d=0;d=Ca-16|0;Ca=d;b=Be(a,sd(b),0,d);a:{if(b){break a}b=2;if(v[d>>2]!=6){break a}v[c>>2]=v[d+8>>2];b=0}Ca=d+16|0;return b}function XP(a){a=a|0;var b=0;b=a+24|0;bb(b,1668049255,1,1);a=v[163909];if(!a){Up();a=v[163909]}if(a&4){bb(b,1801810542,1,0)}bb(b,1818847073,1,0)}function Mu(a,b){if(v[a+72>>2]?v[a+676>>2]:1){return+v[a+144>>2]*b/+v[v[a+168>>2]+40>>2]+ +v[a+56>>2]}return A[a+152>>3]*b/+v[v[a+168>>2]+40>>2]}function iO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=v[a+12>>2];v[d>>2]=0;if(!(!b|!c)){e=(Ea[v[a+36>>2]](a,b,c,d,v[a+68>>2])|0)!=0}return e|0}function hA(a){a=a|0;var b=0,c=0;v[a+28>>2]=0;b=v[a+36>>2];a:{if(!b){break a}c=v[a+32>>2];if(!c){break a}if(c){Ea[v[b+8>>2]](b,c)}v[a+32>>2]=0}}function QK(a,b){a=a|0;b=b|0;var c=0;c=v[a+20>>2];v[b>>2]=c<<6;v[b+8>>2]=c+v[a+32>>2]<<6;c=v[a+24>>2];v[b+12>>2]=c<<6;v[b+4>>2]=c-v[a+28>>2]<<6}function mw(a){var b=0;a:{b:{if(!a){break b}b=v[a>>2];if(!b){break b}if((b|0)<=0){break a}v[a>>2]=b+1}return a}O(281728,281753,262,281768);L()}function ke(a,b,c,d){var e=0;e=Ca-16|0;Ca=e;a=Be(a,b,c,e);a:{if(a){break a}a=2;if(v[e>>2]!=3){break a}v[d>>2]=v[e+8>>2];a=0}Ca=e+16|0;return a}function JI(a,b){a=a|0;b=b|0;var c=0,d=0;a=w[b+1|0];c=1<<a;d=a>>>5&1;a=w[b|0];return c&v[((d|(w[(a>>>2&7)+502448|0]<<3|a<<1&6))<<2)+500176>>2]}function Hb(a){var b=0;a:{b:{if(!a){break b}b=v[a>>2];if(!b){break b}if((b|0)<=0){break a}v[a>>2]=b+1}return a}O(227968,227993,262,228008);L()}function HI(a,b){a=a|0;b=b|0;var c=0,d=0;a=w[b+1|0];c=1<<a;d=a>>>5&1;a=w[b|0];return c&v[((d|(w[(a>>>2&7)+502192|0]<<3|a<<1&6))<<2)+500176>>2]}function sG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=v[a+20>>2];d=v[a+16>>2]-e|0;d=c>>>0<d>>>0?c:d;Ta(e,b,d);v[a+20>>2]=d+v[a+20>>2];return c|0}function hj(a){var b=0;while(1){b=w[a|0];if(!((b|0)!=9?(b|0)!=32:0)){a=a+1|0;continue}break}if(!De(a,3588,3)){return 1}return(jc(a,0,10)|0)>0}function Rk(a,b){a:{if(!a){break a}a=v[a>>2];if(!a){break a}while(1){if(v[a+8>>2]==(b|0)){return a}a=v[a+4>>2];if(a){continue}break}}return 0}function pK(a,b){a=a|0;b=b|0;var c=0;if(!(v[a>>2]!=v[b>>2]|A[a+8>>3]!=A[b+8>>3]|v[a+16>>2]!=v[b+16>>2])){c=v[a+20>>2]==v[b+20>>2]}return c|0}function kc(a,b){var c=0,d=0;a:{if(!a){break a}c=v[a+92>>2];if(!c){break a}b=Ea[v[v[c+12>>2]+12>>2]](c,b)|0;d=b>>>0<y[a+16>>2]?b:0}return d}function HN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=Ca-16|0;Ca=e;a=Qr(v[b+4>>2],c,d,!v[a+48>>2],e+8|0);Ca=e+16|0;return(a?0:v[e+8>>2])|0}function wb(a,b,c){if((b|0)<=0){v[c>>2]=b?6:0;return 0}a=Ea[v[a+4>>2]](a,b)|0;if(!a){v[c>>2]=!a<<6;return 0}a=Ra(a,0,b);v[c>>2]=0;return a}function vf(a,b){var c=0,d=0,e=0;c=a+4|0;d=c;while(1){e=d;d=c;c=v[c>>2];if(c){continue}break}v[b>>2]=a;v[b+4>>2]=v[d>>2];v[b+8>>2]=v[e>>2]}function cN(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+4>>2];a:{if(c){break a}d=v[a>>2];c=Gv(a+16|0,b,d);if(c){break a}c=Gv(a+52|0,b,d)}return c|0}function Sf(a,b){var c=0;a:{if(!a|!v[a+72>>2]|(!b|!w[b|0])){break a}b=Mc(b,v[a+92>>2]);if(!b){break a}c=v[a+80>>2]+(v[b>>2]<<4)|0}return c}function Se(a,b){var c=0,d=0;c=Xa(a)+1|0;d=b&255;while(1){a:{b=0;if(!c){break a}c=c-1|0;b=c+a|0;if((d|0)!=w[b|0]){continue}}break}return b}function Df(a){var b=0;a:{if(a){if(!v[a-8>>2]){break a}a=a-4|0;b=v[a>>2];if(!b){break a}v[a>>2]=b+1}return}O(364907,364851,423,364937);L()}function oG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b;b=v[b>>2]+15&-16;v[c>>2]=b+16;d=a,e=eh(v[b>>2],v[b+4>>2],v[b+8>>2],v[b+12>>2]),A[d>>3]=e}function aF(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64;return((a|0)>0?a:0)|0}a=0-(a-b&-64)|0;return a>>31&a}function Ku(a,b,c){v[a+752>>2]=b?b:1e4;a:{if(!c){b=67108864;c=134217728;break a}c=c<<20;b=(c>>>0)/3|0;c=c-b|0}v[a+760>>2]=b;v[a+756>>2]=c}function $m(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;if(v[b+72>>2]==v[a+16>>2]){pf(b+108|0,c)}}function kL(a,b){a=a|0;b=b|0;var c=0;b=v[a>>2];c=v[v[b+488>>2]+4>>2];if(!c){return 7}return Ea[c|0](v[b+100>>2],a,v[b+420>>2],708,0,b)|0}function hO(a,b){a=a|0;b=b|0;a=x[a+16>>1];a=1<<a&7168?a>>>8|0:0;b=x[b+16>>1];b=1<<b&7168?b>>>8|0:0;return(a>>>0<b>>>0?-1:(a|0)!=(b|0))|0}function TI(a,b){a=a|0;b=b|0;var c=0;a=a+72|0;while(1){c=w[a+w[b|0]|0];if(!(c>>>0>21|!(1<<c&2098688))){b=b+1|0;continue}break}return b|0}function _z(a,b){a=a|0;b=b|0;var c=0;b=v[a>>2];c=v[v[b+544>>2]+4>>2];if(!c){return 7}return Ea[c|0](v[b+100>>2],a,v[b+16>>2],310,0,b)|0}function xi(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=v[a+4>>2];c=a;break a}b=b-32|0;c=a+4|0}c=v[c>>2];v[a+4>>2]=d>>>b;v[a>>2]=d<<32-b|c>>>b}function Jb(a,b){var c=0;a:{b:{if(!b){break b}c=v[a+12>>2];if(!c){break b}a=Ea[c|0](a,b,v[a+16>>2])|0;if(a){break a}}a=280448}return a}function dK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[d+28>>2]=c;c=0;a=ld(v[d>>2],d+8|0,0);if(a){c=v[a>>2]>=0?v[a+16>>2]:c;Ib(a)}return c|0}function cK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[d+28>>2]=c;c=0;a=ld(v[d>>2],d+8|0,0);if(a){c=v[a>>2]>=0?v[a+28>>2]:c;Ib(a)}return c|0}function SO(a,b){a=a|0;b=b|0;var c=0;c=v[a+8>>2];if(c){Ff(c);v[a+8>>2]=0}c=a;a=Nu(v[a>>2],b,0);v[c+8>>2]=a;if(!a){uc(1258);V(4);L()}}function vi(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=v[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=v[c>>2];v[a>>2]=d<<b;v[a+4>>2]=c<<b|d>>>32-b}function lu(a){var b=0;b=a>>31;b=(a|0)==-2147483648?2:b+a^b;a=((b-1|0)%3|0)+1|0;if(b>>>0>=4){if(b>>>0<=6){return a|8}a=a|4}return a}function ZC(a){a=a|0;var b=0,c=0;b=v[a+32>>2];if(b){c=v[v[a+16>>2]>>2];if(w[c|0]==30){zc(a,c,0,0)}v[b+184>>2]=513;return 0}return 3}function Vy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ca-16|0;Ca=e;a=_h(a,b,e+12|0);if(!a){Gk(c,v[e+12>>2],d)}Ca=e+16|0;return a|0}function Qy(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=125258?w[(b&7|w[(b>>>3&15|w[(b>>>7|0)+176336|0]<<4)+177316|0]<<3)+178740|0]:0)|0}function LA(a,b){a=a|0;b=b|0;var c=0;v[a+16>>2]=b;c=w[b+7|0];b=w[b+6|0];v[a+24>>2]=-1;v[a+28>>2]=0;v[a+32>>2]=(b<<8|c)>>>1;return 0}function HC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b){v[b>>2]=v[a+152>>2]}if(c){v[c>>2]=v[a+156>>2]}if(d){v[d>>2]=v[a+160>>2]}return 0}function qh(a){var b=0,c=0;b=Se(a,47);if(!b){return ib(496064)}b=b-a|0;c=Va(b+1|0);if(!c){return 0}a=ve(c,a,b);t[a+b|0]=0;return a}function oL(a,b){a=a|0;b=b|0;var c=0;b=v[a>>2];c=v[b+376>>2];v[a+16>>2]=c;v[a+20>>2]=v[b+380>>2]-c;v[a+24>>2]=v[b+384>>2];return 0}function fj(a,b){var c=0;a:{if(!a|v[a>>2]==-1){break a}a=Gg(a,b);if(!a){break a}c=1;a=a+(b>>>3&28)|0;v[a>>2]=v[a>>2]|1<<b}return c}function bO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=1;a:{if(ln(a,b,c)){break a}d=0;if(b>>>0>255){break a}d=ln(a,b+61440|0,c)}return d|0}function Wb(a){var b=0,c=0;c=v[a+4>>2];b=v[a>>2];if((c|0)<v[b+4>>2]){b=v[b+12>>2];v[a+4>>2]=c+1;a=v[(c<<2)+b>>2]}else{a=0}return a}function uh(){var a=0;a=Va(16);if(!a){return 0}v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=0;v[a+12>>2]=1;v[a+8>>2]=0-a;return a}function ri(a,b,c,d){var e=0;e=Ca-32|0;Ca=e;if(b){v[e+16>>2]=0;v[e+12>>2]=b;v[e>>2]=4;a=qi(a,e,c,d,1)}else{a=6}Ca=e+32|0;return a}function hJ(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;return wt(870,a,b,c,d,e,f,g,h,i,j)|0}function cJ(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;return wt(873,a,b,c,d,e,f,g,h,i,j)|0}function Uf(a){var b=0,c=0,d=0;b=a;c=v[a+36>>2];a=v[a+32>>2];if(c>>>0>a+1>>>0){d=w[a|0]|w[a+1|0]<<8;a=a+2|0}v[b+32>>2]=a;return d}function kO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+12>>2];v[c>>2]=b;v[d>>2]=0;return(Ea[v[a+40>>2]](a,b,c,d,v[a+72>>2])|0)!=0|0}function _E(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b|0;return((a|0)>0?a:0)|0}a=b-a|0;return a>>31&a}function kw(a){var b=0;v[a+80>>2]=0;t[a+69|0]=0;t[a+70|0]=1;v[a+92>>2]=v[a+88>>2];b=B(v[a+76>>2],20);if(b){Ra(v[a+96>>2],0,b)}}function su(a){var b=0;b=v[164081];if(b){while(1){if(v[b+12>>2]==(a|0)){return b+4|0}b=v[b>>2];if(b){continue}break}}return 0}function pb(a){var b=0,c=0;if(v[a+20>>2]){b=v[a>>2];if(b){c=v[a+28>>2];Ea[v[c+8>>2]](c,b)}v[a>>2]=0}v[a+32>>2]=0;v[a+36>>2]=0}function mL(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+16>>2];return(c>>>0>b>>>0|v[a+20>>2]+c>>>0<=b>>>0?d:x[v[a+24>>2]+(b<<1)>>1])|0}function bN(a){a=a|0;v[a+12>>2]=1;v[a+16>>2]=0;v[a+4>>2]=0;v[a+76>>2]=0;v[a- -64>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+28>>2]=0}function XM(a){a=a|0;v[a+12>>2]=2;v[a+16>>2]=0;v[a+4>>2]=0;v[a+76>>2]=0;v[a- -64>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+28>>2]=0}function $r(a){var b=0;a=a?a:1;a:{while(1){b=Va(a);if(b){break a}b=v[164436];if(b){Ea[b|0]();continue}break}aa();L()}return b}function $e(a){if(a){Pa(v[a+16>>2]);Pa(v[a+20>>2]);v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=0}}function ds(a,b){var c=0,d=0;a:{if(!a){break a}c=v[a+28>>2];d=v[a+24>>2];if(d){Ea[d|0](a)}if(b){break a}Ea[v[c+8>>2]](c,a)}}function WM(a){a=a|0;var b=0;v[a+140>>2]=0;v[a+112>>2]=0;b=v[a+12>>2];Iv(a+28|0,b);Iv(a- -64|0,b);v[a+12>>2]=0;v[a+16>>2]=0}function $u(a){var b=0;b=v[a+36>>2];if(b){cv(b)}b=v[a+40>>2];if(b){cv(b)}Pa(v[a+32>>2]);Pa(v[a+16>>2]);Pa(v[a+12>>2]);Pa(a)}function yy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!(v[b+28>>2]==(d|0)?v[b+24>>2]==(c|0):0)){v[b+24>>2]=c;v[b+28>>2]=d;Fe(b)}}function VG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=Ca-16|0;Ca=c;if(Wa(b,511297)){v[c>>2]=b;db(a,2,511308,c)}Ca=c+16|0}function Qb(a,b){var c=0;a:{if(!a|!v[a+20>>2]){break a}c=v[b>>2];if(!c){break a}a=v[a+28>>2];Ea[v[a+8>>2]](a,c)}v[b>>2]=0}function KB(a,b){a=a|0;b=b|0;var c=0;b=v[v[a>>2]+132>>2];c=w[b+104|0];v[a+16>>2]=c;v[a+20>>2]=(w[b+105|0]-c|0)+1;return 0}function $J(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Ca-16|0;Ca=a;b=Qr(b,c,d,0,a+8|0);Ca=a+16|0;return(b?0:v[a+8>>2])|0}function nN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ca-16|0;Ca=d;v[d+4>>2]=c;v[d>>2]=b;Za(1074,d);Ku(v[a+4>>2],b,c);Ca=d+16|0}function SF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=bd(v[a>>2],c,4476);if(!a){return 64}v[d>>2]=a;v[e>>2]=0;return 0}function RK(a,b){a=a|0;b=b|0;var c=0;c=v[a>>2];v[b+20>>2]=v[a+20>>2];v[b+24>>2]=v[a+24>>2];return kq(c,a+28|0,b+28|0)|0}function RF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=bd(v[a>>2],c,4490);if(!a){return 64}v[d>>2]=a;v[e>>2]=0;return 0}function pE(a,b,c){a=a|0;b=b|0;c=c|0;c=tk(v[a+532>>2],b,c);if(!c){v[a+8>>2]=v[a+8>>2]&-32769|((b|0)!=0)<<15}return c|0}function SG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=v[a>>2];if(!d){break a}if(Ft(d+12|0,b,c)){break a}db(a,2,511350,0)}}
|
||
function Px(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;Pa(v[b+828>>2]);Ta(b+824|0,c,144);d=b,e=ib(v[b+828>>2]),v[d+828>>2]=e}function Vq(a,b){a=a|0;b=b|0;a=v[a+4>>2]|v[a>>2]<<16;b=v[b+4>>2]|v[b>>2]<<16;return(a>>>0>b>>>0?1:a>>>0<b>>>0?-1:0)|0}function rk(a){a=a|0;var b=0,c=0;b=v[v[a>>2]+100>>2];c=v[a+20>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+16>>2]=0;v[a+20>>2]=0}function pz(a){a=a|0;var b=0,c=0;b=v[a+868>>2];if(b){c=v[a+100>>2];Qb(v[a+104>>2],b+12|0);if(b){Ea[v[c+8>>2]](c,b)}}}function oz(a){a=a|0;var b=0,c=0;b=v[a+872>>2];if(b){c=v[a+100>>2];Qb(v[a+104>>2],b+36|0);if(b){Ea[v[c+8>>2]](c,b)}}}function Zl(a){var b=0;b=Va(20);if(!b){return 0}v[b+16>>2]=a;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=1;v[b+4>>2]=0;return b}function NG(a,b){a=a|0;b=b|0;a:{a=v[a>>2];b=v[b>>2];if(w[a|0]!=w[b|0]){break a}if(Wa(a,b)){break a}return 1}return 0}function FI(a,b){a=a|0;b=b|0;a=1;a:{if(w[b|0]<194){break a}b=w[b+1|0];if(!(b&128)){break a}a=(b&192)==192}return a|0}function ks(a,b,c,d,e,f,g,h,i){v[a>>2]=b;v[a+4>>2]=c;v[a+8>>2]=d;v[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function gd(){var a=0;a=Va(20);if(!a){return 0}v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=1;v[a+12>>2]=0;v[a+16>>2]=0;return a}function YF(a){a=a|0;var b=0,c=0;b=v[a>>2];if(b){c=v[a+28>>2];Ea[v[c+8>>2]](c,b)}v[a>>2]=0;v[a+4>>2]=0;v[a+24>>2]=0}function Pz(a,b){a=a|0;b=b|0;var c=0;c=Ea[v[a+516>>2]](a,1751474532,b,0)|0;if(!c){c=ub(b,162640,a+160|0)}return c|0}function LN(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=Pr(v[b+4>>2],c,d);if(!a){return 0}v[e>>2]=a;return 1}function Hc(a){var b=0,c=0;b=v[a>>2];while(1){c=w[b|0];if(!((c|0)!=9?(c|0)!=32:0)){b=b+1|0;continue}break}v[a>>2]=b}function Ez(a,b){a=a|0;b=b|0;var c=0;c=Ea[v[a+516>>2]](a,1346587732,b,0)|0;if(!c){c=ub(b,163264,a+568|0)}return c|0}function Dz(a,b){a=a|0;b=b|0;var c=0;c=Ea[v[a+516>>2]](a,1651008868,b,0)|0;if(!c){c=ub(b,162640,a+160|0)}return c|0}function $p(a){a=a|0;var b=0,c=0;b=v[a+28>>2];c=v[a>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a>>2]=0;v[a+4>>2]=0;v[a+24>>2]=0}function fP(){var a=0;a=$r(80);v[a>>2]=0;v[a+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;return a|0}function NK(a,b){a=a|0;b=b|0;var c=0;b=b+20|0;c=Lr(v[a>>2],u[a+22>>1],u[a+20>>1],b);if(!c){Kr(a+20|0,b)}return c|0}function EN(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=Lk(v[b+4>>2],c,d,e);c=!a;return(!e|a?c:w[d|0]!=0)|0}function Xb(a,b,c){eQ(c,0,b,0);a:{if(!Da){b=B(b,c);c=gb(a,b?b:1);b=0;if(c){break a}}c=a;b=48}v[164114]=b;return c}function hQ(a){var b=0,c=0;b=H(a);c=a-b;if(!(c<.5)){a=I(a);if(c>.5){return a}c=a;a=b*.5;b=a-H(a)==0?b:c}return b}function Oc(a){var b=0;b=Va(8);if(!b){return 0}v[b>>2]=a;if(v[a>>2]!=-1){v[a>>2]=v[a>>2]+1}v[b+4>>2]=0;return b}function Iy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{Pa(v[b>>2]);if(!c){v[b>>2]=0;break a}d=b,e=ib(c),v[d>>2]=e}}function uN(a,b){a=a|0;b=b|0;v[a+24>>2]=v[b+20>>2];v[a+4>>2]=v[b>>2];v[a+28>>2]=v[b+24>>2];Vv(a,b,0);Vv(a,b,1)}function VE(a,b,c){a=a|0;b=b|0;c=c|0;c=li(a,b,c,1);if(!c){v[a+8>>2]=v[a+8>>2]&-32769|((b|0)!=0)<<15}return c|0}function pl(a){var b=0;a=kh(a,589824,0);if((a|0)>=0){b=eb(1,2080);if(!b){T(a|0)|0;return 0}v[b>>2]=a}return b}function Tt(a){var b=0;a:{if(!a){break a}a=v[a>>2];if(!a){break a}b=a;a=v[a+4>>2];b=a&1?b+(a&-2)|0:a}return b}function Fb(a){var b=0;b=a;a=nw(a+52|0);a=w[a+18|0]<<8|w[a+19|0];a=a-16>>>0<16369?a:1e3;v[b+28>>2]=a;return a}function rP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;return 0}function xn(){var a=0;a=eb(1,216);if(!a){return 654144}v[a>>2]=1;v[a+4>>2]=1;Ta(a+148|0,654292,68);return a}function nb(a,b){var c=0;c=b;b=Xa(b);if($a(a,c,b)){a=0}else{a=w[a+b|0];if(!a){return 1}a=(a|0)==45}return a}function hd(a,b){var c=0;b=ib(b);c=0;a:{if(!b){break a}c=1;if(wf(a,b,v[a+4>>2])){break a}Pa(b);c=0}return c}function Yz(a,b){a=a|0;b=b|0;var c=0;c=Ca-16|0;Ca=c;v[c+12>>2]=0;_h(a,b,c+12|0);Ca=c+16|0;return v[c+12>>2]}function Yl(a,b){var c=0;b=fe(b);c=0;a:{if(!b){break a}c=1;if(wf(a,b,v[a+4>>2])){break a}Pa(b);c=0}return c}function aq(a,b){a=a|0;b=b|0;a=v[v[a>>2]+4>>2];b=v[v[b>>2]+4>>2];return(a>>>0>b>>>0?1:a>>>0<b>>>0?-1:0)|0}function Wc(a){if(v[a+4>>2]){Pa(v[a>>2]);v[a>>2]=a+20;v[a+12>>2]=0;v[a+16>>2]=64;v[a+4>>2]=0;v[a+8>>2]=0}}function Ci(a,b,c){var d=0;d=b;b=b>>31;a:{if(v[a+76>>2]<=-1){a=hl(a,d,b,c);break a}a=hl(a,d,b,c)}return a}function yJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((a|0)<=4){a=v[130915];Lc(4168,6,1,a);zi(a,b,c);Re(10,a)}}function uG(a){a=a|0;a=v[a>>2];return B(B(B(a&255,31)+(a>>>8&255)|0,31)+(a>>>16&255)|0,31)+(a>>>24|0)|0}function cO(a){a=a|0;Ff(v[a+8>>2]);oj(v[a+4>>2]);bm(v[a>>2]);Pa(v[a+24>>2]);Ow(a,v[a+12>>2],v[a+16>>2])}function XF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;v[d>>2]=0;if(!b){return 81}return wd(b,333319,e)|0}function WF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;v[d>>2]=0;if(!b){return 81}return wd(b,333312,e)|0}function sA(a,b){a=a|0;b=b|0;var c=0;c=Ca-16|0;Ca=c;v[c+12>>2]=b;a=eq(a,c+12|0,0);Ca=c+16|0;return a|0}function lm(){var a=0;a=Va(16);if(!a){return 0}v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=1;v[a+4>>2]=0;return a}function bQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(v[163456]>=(a|0)){Za(1024,0);zi(v[130914],b,c);Rb(10)}}function _A(a,b){a=a|0;b=b|0;b=v[a>>2];v[a+16>>2]=v[v[b+140>>2]+52>>2];v[a+20>>2]=v[b+144>>2];return 0}function Dq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ca-16|0;Ca=d;a=wb(a,B(b,c),d+12|0);Ca=d+16|0;return a|0}function qb(a,b,c){if((b|0)>=1){a=Ea[v[a+4>>2]](a,b)|0;v[c>>2]=!a<<6;return a}v[c>>2]=b?6:0;return 0}function qG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[a+156>>2]=b;v[a+160>>2]=c;v[a+164>>2]=d;v[a+168>>2]=0}function mj(a){var b=0;if(a){v[v[a>>2]+4>>2]=0;while(1){b=v[a+4>>2];Pa(a);a=b;if(a){continue}break}}}function pv(a,b){a=v[a+20>>2]+B(b,56)|0;Pa(v[a+28>>2]);Pa(v[a+44>>2]);Pa(v[a+48>>2]);Pa(v[a+52>>2])}function iD(a,b){a=a|0;b=b|0;a=v[a+712>>2];t[b|0]=0;if(!(!a|v[a+1504>>2]==65535)){t[b|0]=1}return 0}function hb(a,b,c,d){var e=0;e=Ca-16|0;Ca=e;v[e+12>>2]=d;Ea[v[a+20>>2]](b,c,d,v[a+24>>2]);Ca=e+16|0}function IK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+12>>2];Ea[v[a>>2]](v[a+4>>2],c,b,d)|0;return d|0}function Sy(a,b){a=a|0;b=b|0;var c=0;c=v[v[a+12>>2]+48>>2];if(!c){return 150}return Ea[c|0](a,b)|0}function vD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ea[v[v[a+548>>2]+40>>2]](a,b,c,d,e)|0}function qP(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;v[f>>2]=0;v[e>>2]=0;return 0}function LE(a,b,c){a=a|0;b=b|0;c=c|0;if(Wa(b,5631)){a=12}else{v[c>>2]=v[a- -64>>2];a=0}return a|0}function Xg(){var a=0;a=eb(1,48);if(!a){return 280448}t[a+12|0]=1;v[a>>2]=1;v[a+4>>2]=1;return a}function Pl(a,b){var c=0;c=Ca-16|0;Ca=c;v[c+12>>2]=b;v[c+8>>2]=a;a=ed(c+8|0);Ca=c+16|0;return a}
|
||
function Hm(a,b,c){if(!(v[a+20>>2]==(c|0)?v[a+16>>2]==(b|0):0)){v[a+16>>2]=b;v[a+20>>2]=c;Fe(a)}}function At(a){var b=0;b=Ca-96|0;Ca=b;a=Hg(a,b+8|0);Ca=b+96|0;return!a&(v[b+20>>2]&61440)==32768}function Ag(a){var b=0;b=Ca-96|0;Ca=b;a=Hg(a,b+8|0);Ca=b+96|0;return!a&(v[b+20>>2]&61440)==16384}function jE(a,b){a=a|0;b=b|0;b=tk(v[a+532>>2],0,0);if(!b){v[a+8>>2]=v[a+8>>2]&-32769}return b|0}function hC(a){a=a|0;var b=0;b=pc(v[a+4>>2],18079);if(!b){return 11}v[a+28>>2]=v[b>>2];return 0}function zG(a){a=a|0;var b=0;b=v[a+8>>2];if(b){jd(b)}b=v[a+4>>2];if(b){le(b)}ac(v[a>>2]);Pa(a)}function ry(a,b,c){a=a|0;b=b|0;c=c|0;b=w[b+1|0]|w[b|0]<<8;return(xb(b?b+c|0:280448,a)|0)!=-1|0}function qm(a){var b=0,c=0;b=A[a+8>>3];c=A[a>>3];a=Va(16);if(a){A[a+8>>3]=b;A[a>>3]=c}return a}function _m(a,b,c){a=a|0;b=b|0;c=c|0;return Ea[v[v[v[a+12>>2]+56>>2]+12>>2]](v[a+52>>2],b,c)|0}function bC(a){a=a|0;if(Rk(v[v[a>>2]+504>>2]+108|0,v[a+44>>2])){Tr(v[a+44>>2]);v[a+44>>2]=0}}function QO(a){a=a|0;a=a+24|0;bb(a,1818914159,0,1);bb(a,1986686319,0,1);bb(a,1953131887,0,1)}function Cg(a,b,c){v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+16>>2]=b?c:64;v[a>>2]=b?b:a+20|0}function sN(a,b,c){a=a|0;b=b|0;c=c|0;if(b){v[b>>2]=v[a+10056>>2]}if(c){v[c>>2]=v[a+252>>2]}}function YL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;wc(a,v[a+8>>2]);return Ng(a,v[a+8>>2],b,c,d)|0}function QA(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=0;v[b>>2]=w[a+5|0]|w[a+4|0]<<8;return 0}function MK(a,b,c){a=a|0;b=b|0;c=c|0;if(b){ee(a+20|0,b)}if(c){ic(a+20|0,v[c>>2],v[c+4>>2])}}function MA(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=2;v[b>>2]=w[a+5|0]|w[a+4|0]<<8;return 0}function GA(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=4;v[b>>2]=w[a+5|0]|w[a+4|0]<<8;return 0}function DL(a){a=a|0;var b=0,c=0;b=v[a>>2];c=v[a+4>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+4>>2]=0}function CA(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=6;v[b>>2]=w[a+5|0]|w[a+4|0]<<8;return 0}function FO(a,b){a=a|0;b=b|0;a=w[a+19|0];b=w[b+19|0];return(a>>>0<b>>>0?-1:(a|0)!=(b|0))|0}function $v(a,b,c){a=a|0;b=b|0;c=c|0;if(b){v[b>>2]=v[a+7928>>2]}if(c){v[c>>2]=v[a+252>>2]}}function zf(){var a=0;a=Va(12);if(!a){return 0}v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;return a}function uP(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;v[e>>2]=0;v[d>>2]=0;return 1}function tP(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;v[e>>2]=0;v[d>>2]=0;return 0}function aJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=zt(a,b,c,d);if(a){t[a+130|0]=23}return a|0}function aB(a,b){a=a|0;b=b|0;a=v[a+4>>2];b=v[b+4>>2];return(a>>>0<b>>>0?-1:a>>>0>b>>>0)|0}function Jc(a,b,c){b=vb(a,b);if(!b){v[c>>2]=v[a+32>>2];v[a+32>>2]=0;v[a+36>>2]=0}return b}function ol(a,b,c){a=ra(a|0,b|0,c|0)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}return a}function eF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[b+12>>2]+(c<<3)|0;v[a+4>>2]=v[a+4>>2]+d}function jQ(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<<c;c=a;a=0-b&31;return d|(c&-1<<a)>>>a}function EF(a){a=a|0;v[a+304>>2]=-1;v[a+308>>2]=-1;v[a+116>>2]=-1;t[a+112|0]=0;return 0}function vz(a){a=a|0;Qb(v[a+104>>2],a+788|0);v[a+800>>2]=0;v[a+792>>2]=0;v[a+796>>2]=0}function oy(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;c=c/d;if(c!=A[b+80>>3]){A[b+80>>3]=c;Fe(b)}}function YD(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=Ea[v[b+52>>2]](b,0,0,0)|0,v[c+544>>2]=d}function EP(a,b,c){a=a|0;b=b|0;c=c|0;a=v[b+16>>2]+B(c,144)|0;Pa(v[a>>2]);Pa(v[a+4>>2])}function $q(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Gk(c,v[v[a+424>>2]+(b<<2)>>2],d);return 0}function uB(a,b,c){a=a|0;b=b|0;c=c|0;v[b>>2]=v[a+176>>2];v[c>>2]=v[a+180>>2];return 0}function iQ(a){var b=0,c=0;while(1){c=b;if(a){a=a-1&a;b=b+1|0;continue}break}return c}function fB(a,b,c){a=a|0;b=b|0;c=c|0;v[b>>2]=v[a+132>>2];v[c>>2]=v[a+136>>2];return 0}function $b(a,b,c){var d=0;d=Ca-16|0;Ca=d;v[d+12>>2]=c;a=el(a,b,c);Ca=d+16|0;return a}function $P(a,b){a=a|0;b=b|0;a=x[a>>1];b=x[b>>1];return(a>>>0<b>>>0?-1:a>>>0>b>>>0)|0}function pP(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(e){t[d|0]=0}return 0}function gF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[b+12>>2]+(c<<3)|0;v[a>>2]=v[a>>2]+d}function QD(a,b){a=a|0;b=b|0;return Ea[v[v[v[v[a>>2]+712>>2]+3084>>2]+12>>2]](a,b)|0}function bG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return Km(b,c,d,e,f)|0}function RD(a,b){a=a|0;b=b|0;return Ea[v[v[v[v[a>>2]+712>>2]+3084>>2]+8>>2]](a,b)|0}function xs(a,b){a=pa(a|0,b|0)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}return a}function tl(a,b){a=za(a|0,b|0)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}return a}function sf(a,b){a=qa(a|0,b|0)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}return a}function dl(a,b){a=ka(a|0,b|0)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}return a}function Xx(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;Gm(b,c,d,e,f)}function WK(a){a=a|0;var b=0;b=Ca-32|0;Ca=b;a=gv(v[a+4>>2],b);Ca=b+32|0;return!a|0}function ql(a,b){a=$(a|0,b|0)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}return a}function sl(a){a=ya(a|0,493)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}return a}function sO(a,b,c){a=a|0;b=b|0;c=c|0;Hm(v[a+4>>2],b,c);v[a+12>>2]=b;v[a+16>>2]=c}function Za(a,b){var c=0;c=Ca-16|0;Ca=c;v[c+12>>2]=b;el(v[130914],a,b);Ca=c+16|0}function Kb(a,b){var c=0;c=Ca-16|0;Ca=c;v[c+12>>2]=b;ls(v[130914],a,b);Ca=c+16|0}function IB(a,b){a=a|0;b=b|0;b=b-v[a+16>>2]|0;return(b>>>0<y[a+20>>2]?b+1|0:0)|0}function ib(a){var b=0,c=0;b=Xa(a)+1|0;c=Va(b);if(!c){return 0}return Ta(c,a,b)}function ex(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;v[e>>2]=0;return 0}function vh(a){if(a){if(v[a>>2]!=-1){v[a>>2]=v[a>>2]+1;return a}gu(a)}return a}function iy(a,b,c){a=a|0;b=b|0;c=c|0;if(v[b+88>>2]!=(c|0)){v[b+88>>2]=c;Fe(b)}}function Sx(a,b,c){a=a|0;b=b|0;c=c|0;if(v[b+96>>2]!=(c|0)){v[b+96>>2]=c;Fe(b)}}function KC(a){a=a|0;a=v[a+140>>2];if(a){return(w[a|0]==47?a+1|0:a)|0}return 0}function yD(a,b,c){a=a|0;b=b|0;c=c|0;return Ea[v[v[a+548>>2]+32>>2]](a,b,c)|0}function wD(a,b,c){a=a|0;b=b|0;c=c|0;return Ea[v[v[a+548>>2]+36>>2]](a,b,c)|0}function HM(a){a=a|0;Ea[v[v[v[a+12>>2]+56>>2]+8>>2]](v[a+52>>2],0,0);return 0}function DD(a,b,c){a=a|0;b=b|0;c=c|0;return Ea[v[v[a+548>>2]+12>>2]](a,b,c)|0}function BD(a,b,c){a=a|0;b=b|0;c=c|0;return Ea[v[v[a+548>>2]+20>>2]](a,b,c)|0}function AD(a,b,c){a=a|0;b=b|0;c=c|0;return Ea[v[v[a+548>>2]+24>>2]](a,b,c)|0}function zs(a){a=ta(a|0)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}return a}function Te(a){a=na(a|0)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}return a}function ED(a,b,c){a=a|0;b=b|0;c=c|0;return Ea[v[v[a+548>>2]+8>>2]](a,b,c)|0}function fO(a){a=a|0;Ff(v[a+8>>2]);oj(v[a+4>>2]);bm(v[a>>2]);Pa(v[a+24>>2])}function VK(a,b){a=a|0;b=b|0;if(!b){return 1}return(kc(v[a+4>>2],b)|0)!=0|0}function VD(a,b){a=a|0;b=b|0;return(b>>>0<=255?x[v[a+16>>2]+(b<<1)>>1]:0)|0}function UA(a,b){a=a|0;b=b|0;return(b>>>0<=255?w[(v[a+16>>2]+b|0)+6|0]:0)|0}function BM(a,b,c){a=a|0;b=b|0;c=c|0;v[a+56>>2]=v[a+52>>2]-B(v[a+104>>2],b)}function vy(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Lu(b,c,d,e,f)}function tD(a,b,c){a=a|0;b=b|0;c=c|0;return Ea[v[v[a+552>>2]>>2]](a,b,c)|0}function jJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Wi(502768,a,1,b,c,d)|0}function iJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Wi(502768,a,0,b,c,d)|0}function eJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Wi(504288,a,1,b,c,d)|0}function dJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Wi(504288,a,0,b,c,d)|0}function YN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Lu(v[a+4>>2],b,c,d,e)}function Wy(a){a=a|0;return(a>>>0<=127?w[(a>>>3|0)+163584|0]&1<<(a&7):0)|0}function Nd(a,b,c){var d=0;d=Ca-16|0;Ca=d;v[d+12>>2]=c;ls(a,b,c);Ca=d+16|0}function FB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ok(v[a+12>>2],b,c,d)|0}function py(a,b,c){a=a|0;b=b|0;c=+c;if(A[b+80>>3]!=c){A[b+80>>3]=c;Fe(b)}}function ny(a,b,c){a=a|0;b=b|0;c=+c;if(A[b+32>>3]!=c){A[b+32>>3]=c;Fe(b)}}function hL(a,b){a=a|0;b=b|0;return Ea[v[v[v[a>>2]+488>>2]+12>>2]](a,b)|0}function _x(a,b,c){a=a|0;b=b|0;c=+c;if(A[b+48>>3]!=c){A[b+48>>3]=c;Fe(b)}}function Xt(a,b){var c=0;v[b+4>>2]=0;v[b>>2]=!a|v[a>>2]<1?c:v[a+8>>2]+a|0}function Wz(a,b){a=a|0;b=b|0;return Ea[v[v[v[a>>2]+544>>2]+12>>2]](a,b)|0}function tF(a,b){a=a|0;b=b|0;return Qa(v[v[a+392>>2]+(b<<2)>>2],mi(a))|0}function sy(a,b,c){a=a|0;b=b|0;c=c|0;return(w[b+1|0]|w[b|0]<<8)==(a|0)|0}function sL(a){a=a|0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0}function iL(a,b){a=a|0;b=b|0;return Ea[v[v[v[a>>2]+488>>2]+8>>2]](a,b)|0}function YK(a){a=a|0;return(a>>>0<=390?u[(a<<1)+305456>>1]+301232|0:0)|0}function Xz(a,b){a=a|0;b=b|0;return Ea[v[v[v[a>>2]+544>>2]+8>>2]](a,b)|0}function dG(a){a=a|0;var b=0;b=v[a+12>>2];a=v[a+8>>2];P(b|0);return a|0}function QG(a,b){a=a|0;b=b|0;var c=0,d=0;c=b,d=ib(a),v[c>>2]=d;return 1}function AP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;v[d>>2]=0;return 0}function $L(a,b){a=a|0;b=b|0;wc(a,v[a+8>>2]);return Je(a,v[a+8>>2],b)|0}function tJ(a){a=a|0;qf(v[a+12>>2]);v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=0}function rm(a,b){var c=0;c=Va(16);if(c){A[c+8>>3]=b;A[c>>3]=a}return c}function ZK(a){a=a|0;return u[((a>>>0>257?0:a)<<1)+304928>>1]+301232|0}function XD(a,b){a=a|0;b=b|0;v[a+16>>2]=v[v[a>>2]+712>>2]+668;return 0}function Ad(a,b){var c=0;c=a;a=Xa(a);return(Lc(c,1,a,b)|0)!=(a|0)?-1:0}function bK(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return 1}function _f(){var a=0;a=Dl(0);if(a){if(xl(a)){return a}ac(a)}return 0}function jG(a,b){a=a|0;b=b|0;if(!v[164434]){v[164435]=b;v[164434]=a}}function fG(a){a=a|0;var b=0;b=v[a+4>>2];a=v[a>>2];P(b|0);return a|0}function dB(a,b,c){a=a|0;b=b|0;c=c|0;Ta(v[a+16>>2]+B(b,144)|0,c,144)}function Zf(a,b){return b?a<<8&16711680|a<<24|(a>>>8&65280|a>>>24):a}function LJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Ah(a,b,c,d,e,4)}function KJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;zh(a,b,c,d,e,4)}function JJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Ah(a,b,c,d,e,5)}function IJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;zh(a,b,c,d,e,5)}function HJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Ah(a,b,c,d,e,6)}function GJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;zh(a,b,c,d,e,6)}function FJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Ah(a,b,c,d,e,7)}function EJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;zh(a,b,c,d,e,7)}function DJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Ah(a,b,c,d,e,8)}function CJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;zh(a,b,c,d,e,8)}function zD(a,b){a=a|0;b=b|0;return Ea[v[v[a+548>>2]+28>>2]](a,b)|0}function vM(a){a=a|0;t[a+70|0]=0;v[a+64>>2]=8;u[a+68>>1]=0;return 0}function uD(a){a=a|0;var b=0;b=v[a+548>>2];if(b){Ea[v[b+44>>2]](a)}}function NM(a,b){a=a|0;b=b|0;Zm(b,v[a>>2]<<2,v[a+4>>2]<<2);return 0}function CD(a,b){a=a|0;b=b|0;return Ea[v[v[a+548>>2]+16>>2]](a,b)|0}function $f(a){var b=0;b=Va(8);if(b){v[b+4>>2]=0;v[b>>2]=a}return b}function Nb(a){var b=0;b=v[a+32>>2];if((b|0)==-1){b=Xc(a)}return b}function Ii(){var a=0;if(v[163728]){a=Yb(515686)}else{a=0}return a}function wN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Zv(a,b,c,d)|0}function AO(a){a=a|0;var b=0;b=v[a+8>>2];if(b){Ff(b);v[a+8>>2]=0}}function vj(a){a=a|0;var b=0;b=v[a>>2];if(a){Ea[v[b+8>>2]](b,a)}}function sP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;am(b,c,d,e)}function UO(a,b,c){a=a|0;b=b|0;c=c|0;Pw(v[a+112>>2],b,v[a+4>>2])}function aH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return v[a+280>>2]}function LB(a,b){a=a|0;b=b|0;Ta(b,v[a+132>>2]+4|0,156);return 0}function BP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Nu(b,c,d)|0}function yg(a){a=Dl(a);if(a){if(xl(a)){return a}ac(a)}return 0}function yP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return v[a+20>>2]}function xP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return v[a+24>>2]}function gD(a){a=a|0;return(a>>>0<=255?x[(a<<1)+10336>>1]:0)|0}function rJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return gb(d,c)|0}function cG(a,b,c){a=a|0;b=b|0;c=c|0;v[a+8>>2]=b;v[a+12>>2]=c}function Qf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 0}function EC(a,b,c){a=a|0;b=b|0;c=c|0;if(c){v[c>>2]=b}return 0}function $z(a,b){a=a|0;b=b|0;v[b>>2]=-1;v[b+4>>2]=14;return 0}function rd(a){a=T(a|0)|0;a=(a|0)==27?0:a;if(a){v[164114]=a}}function pB(a,b){a=a|0;b=b|0;v[a+16>>2]=v[a>>2]+296;return 0}function oF(a,b){a=a|0;b=b|0;return v[v[a+392>>2]+(b<<2)>>2]}function jL(a,b){a=a|0;b=b|0;return v[v[a+424>>2]+(b<<2)>>2]}function Vt(){var a=0;a=eb(1,28);if(a){v[a+20>>2]=2}return a}function QE(a,b){a=a|0;b=b|0;v[v[a+8>>2]+308>>2]=-1;return 0}function nL(a){a=a|0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0}function gO(a){a=a|0;return!(w[a+16|0]&32?w[a+12|0]&16:1)|0}function Ox(a){a=a|0;return((a-65&255)>>>0<26?a+32|0:a)&255}function Nx(a){a=a|0;return((a-97&255)>>>0<26?a-32|0:a)&255}function Ej(a){var b=0;b=v[a+28>>2];if(!b){b=Fb(a)}return b}function wO(a){a=a|0;var b=0;b=v[a+4>>2];if(b){Qw(b)}Pa(a)}function mG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Da=0;return 0}function eG(a,b,c){a=a|0;b=b|0;c=c|0;v[a>>2]=b;v[a+4>>2]=c}function qJ(a,b){a=a|0;b=b|0;return Wa(v[a>>2],v[b>>2])|0}function jB(a,b){a=a|0;b=b|0;return v[a+16>>2]+B(b,144)|0}function ie(a){var b=0;if(a){b=v[a>>2];if(b){bc(b)}Pa(a)}}function iK(a,b){a=a|0;b=b|0;return v[a+4>>2]-v[b+4>>2]|0}function Zq(a,b){a=a|0;b=b|0;u[b>>1]=x[a+164>>1];return 0}function Xy(a){a=a|0;return a-48>>>0<10|(a&-33)-65>>>0<26}function WG(a,b){a=a|0;b=b|0;return he(v[a>>2],v[b>>2])|0}function IC(a,b){a=a|0;b=b|0;u[b>>1]=x[a+312>>1];return 0}function wy(a,b,c){a=a|0;b=b|0;c=c|0;v[b+92>>2]=(c|0)!=0}function $A(a,b){a=a|0;b=b|0;return v[a+20>>2]+B(b,56)|0}function uz(a,b,c){a=a|0;b=b|0;c=c|0;return Sr(a,b,c)|0}function om(a){if((Te(v[a+8>>2])|0)==-1){zs(v[a+8>>2])}}function fL(a){a=a|0;a=a<<13^a;a=a>>>17^a;return a<<5^a}function _N(a,b,c){a=a|0;b=b|0;c=c|0;return rw(a,b,c)|0}function ZN(a,b,c){a=a|0;b=b|0;c=c|0;return qw(a,b,c)|0}function Xq(a,b){a=a|0;b=b|0;Ta(b,a+168|0,196);return 0}function Gy(a,b,c){a=a|0;b=b|0;c=c|0;v[b+4>>2]=(c|0)!=0}function $N(a,b,c){a=a|0;b=b|0;c=c|0;return ln(a,b,c)|0}function wG(a,b){a=a|0;b=b|0;return v[a>>2]==v[b>>2]|0}function rB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 12}function iu(a){return(dl(v[a+4>>2],v[a>>2])^-1)>>>31|0}function bE(a,b){a=a|0;b=b|0;v[b+376>>2]=v[b+376>>2]|1}function aQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ku(b,c,d)}function VN(a,b,c){a=a|0;b=b|0;c=c|0;return 1517976186}function Qq(a){a=a|0;a=v[a+156>>2];if(a){v[a+36>>2]=0}}function QN(a){a=a|0;if(w[a+13|0]){zd(v[a+4>>2])}Pa(a)}function Eq(a,b){a=a|0;b=b|0;if(b){Ea[v[a+8>>2]](a,b)}}function EM(a){a=a|0;v[a+56>>2]=v[a+56>>2]-v[a+104>>2]}function Ay(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Hm(b,c,d)}function $B(a){a=a|0;a=v[a+160>>2];v[a+156>>2]=0;si(a)}function wJ(a,b){a=a|0;b=b|0;return v[a>>2]-v[b>>2]|0}function ZF(a,b){a=a|0;b=b|0;return u[a>>1]-u[b>>1]|0}function UN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function Md(a,b,c){a=yi(a,b,c,0,-2147483648);return a}function GC(a,b){a=a|0;b=b|0;if(b){t[b|0]=1}return 0}function sF(a){a=a|0;return Qa(x[a+256>>1],mi(a))|0}function gu(a){a=fu(a);if(a){v[a+4>>2]=v[a+4>>2]+1}}function cQ(a){if(a){return 31-E(a-1^a)|0}return 32}function uM(a,b){a=a|0;b=b|0;return Bd(299360,b)|0}function lN(a,b){a=a|0;b=b|0;return Bd(298528,b)|0}function cL(a,b){a=a|0;b=b|0;return Bd(363440,b)|0}function WA(a,b){a=a|0;b=b|0;return Bd(163408,b)|0}function VA(a,b){a=a|0;b=b|0;v[a+16>>2]=b;return 0}function zB(a,b){a=a|0;b=b|0;return Bd(25392,b)|0}function wC(a,b){a=a|0;b=b|0;return Bd(17616,b)|0}function qy(a,b,c){a=a|0;b=b|0;c=c|0;v[b+72>>2]=c}function mB(a,b){a=a|0;b=b|0;return Bd(26224,b)|0}function jc(a,b,c){return yi(a,b,c,-2147483648,0)}function gC(a,b){a=a|0;b=b|0;return Bd(17904,b)|0}function TC(a,b){a=a|0;b=b|0;return Bd(14720,b)|0}function RB(a,b){a=a|0;b=b|0;return Bd(19232,b)|0}function sD(a){a=a|0;Ea[v[v[a+552>>2]+28>>2]](a)}function by(a,b,c){a=a|0;b=b|0;c=+c;A[b+40>>3]=c}function aO(a){a=a|0;Gm(v[a+4>>2],1033,0,3,1055)}function KE(a,b){a=a|0;b=b|0;return Bd(7056,b)|0}function rr(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function mF(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function gG(a){a=a|0;a=Ca-a&-16;Ca=a;return a|0}function gA(a,b){a=a|0;b=b|0;v[b>>2]=0;return 0}function qB(a,b,c){a=a|0;b=b|0;c=c|0;return 12}function pO(a){a=a|0;bb(a+24|0,1818847073,1,0)}function hm(a,b,c){return Be(a,sd(516388),b,c)}function ZO(a,b,c){a=a|0;b=b|0;c=c|0;Ow(a,b,c)}function PO(a){a=a|0;bb(a+24|0,1667329140,1,0)}function Jq(a){a=a|0;v[a+16>>2]=0;v[a+20>>2]=0}function Fc(a,b,c){if(!(w[a|0]&32)){Uk(b,c,a)}}function fy(a,b){a=a|0;b=b|0;return Rj(a,b)|0}function cy(a,b){a=a|0;b=b|0;return fo(a,b)|0}function ay(a,b){a=a|0;b=b|0;return eo(a,b)|0}function XN(a,b,c){a=a|0;b=b|0;c=c|0;return 1}function Wx(a,b){a=a|0;b=b|0;return Wn(a,b)|0}function WN(a,b,c){a=a|0;b=b|0;c=c|0;return 7}function Vx(a,b){a=a|0;b=b|0;return Vn(a,b)|0}function Ux(a,b){a=a|0;b=b|0;return Un(a,b)|0}function Tx(a,b){a=a|0;b=b|0;return Sn(a,b)|0}function Ts(a){return Vs(a,510824,515092,0,1)}function TN(a){a=a|0;return v[v[a+8>>2]+8>>2]}function Rx(a,b){a=a|0;b=b|0;return Rn(a,b)|0}function Qx(a,b){a=a|0;b=b|0;return Qn(a,b)|0}function OF(a){a=a|0;v[a- -64>>2]=40;return 0}function Nh(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function $x(a,b){a=a|0;b=b|0;return co(a,b)|0}function dw(a,b){a=a|0;b=b|0;pv(v[a+8>>2],b)}function Hy(a){a=a|0;return v[a>>2]==65535|0}function DP(a,b,c){a=a|0;b=b|0;c=c|0;pv(b,c)}function um(a,b){return(ql(a,b)|0)==-1?-1:0}function pD(a){a=a|0;return v[a+8>>2]>>>9&1}function ob(a,b){v[a+168>>2]=b;S(a|0,1);L()}function nG(a){a=a|0;return T(v[a+60>>2])|0}function WP(a,b){a=a|0;b=b|0;return Mm(b)|0}function SN(a){a=a|0;return jv(v[a+8>>2])|0}function RN(a){a=a|0;return ov(v[a+8>>2])|0}function OP(a,b){a=a|0;b=b|0;return ov(b)|0}function FP(a,b){a=a|0;b=b|0;return jv(b)|0}function Dy(a,b){a=a|0;b=b|0;return Pu(b)|0}function CE(a){a=a|0;v[v[a+156>>2]+36>>2]=0}function Bt(a,b){a=a|0;b=b|0;return Va(b)|0}function BN(a){a=a|0;return v[v[a+8>>2]>>2]}function mD(a,b){a=a|0;b=b|0;v[a+112>>2]=b}function lC(a,b){a=a|0;b=b|0;v[a+124>>2]=b}function WD(a,b){a=a|0;b=b|0;v[a+104>>2]=b}function WC(a,b){a=a|0;b=b|0;v[a+116>>2]=b}function HD(a,b){a=a|0;b=b|0;v[a+108>>2]=b}function FC(a,b){a=a|0;b=b|0;v[a+120>>2]=b}function EB(a,b){a=a|0;b=b|0;v[a+136>>2]=b}function zj(a,b){a=a|0;b=b|0;v[a+16>>2]=b}function zF(a,b){a=a|0;b=+b;A[a+56>>3]=b}
|
||
function wh(a,b){a=a|0;b=b|0;v[a+24>>2]=b}function sB(a,b){a=a|0;b=b|0;v[a+48>>2]=b}function rz(a,b){a=a|0;b=b|0;v[a+76>>2]=b}function rA(a,b){a=a|0;b=b|0;v[a+60>>2]=b}function pj(a,b){a=a|0;b=b|0;v[a+20>>2]=b}function nh(a,b){a=a|0;b=b|0;v[a+28>>2]=b}function ih(a,b){Ac(Xa(a)+a|0,b);return a}function gr(a,b){a=a|0;b=b|0;v[a+80>>2]=b}function cx(a,b){a=a|0;b=b|0;v[a+12>>2]=b}function Zz(a,b){a=a|0;b=b|0;v[a+64>>2]=b}function Ur(a,b,c,d){return qi(a,b,c,d,1)}function TB(a,b){a=a|0;b=+b;A[a+128>>3]=b}function Sk(a,b){a=a|0;b=b|0;v[a+32>>2]=b}function Mk(a,b){a=a|0;b=b|0;v[a+36>>2]=b}function LK(a,b){a=a|0;b=b|0;pf(a+20|0,b)}function Jz(a,b){a=a|0;b=b|0;v[a+68>>2]=b}function JK(a){a=a|0;Pa(v[a+12>>2]);Pa(a)}function JA(a,b){a=a|0;b=b|0;v[a+56>>2]=b}function Ik(a,b){a=a|0;b=b|0;v[a+40>>2]=b}function Er(a,b){a=a|0;b=b|0;v[a+44>>2]=b}function zr(a,b){a=a|0;b=+b;A[a+48>>3]=b}function wl(a,b){return Yl(v[a+12>>2],b)}function nE(a,b){a=a|0;b=+b;A[a+96>>3]=b}function hF(a,b){a=a|0;b=+b;A[a+64>>3]=b}function Vj(a,b){a=a|0;b=b|0;v[a+8>>2]=b}function UK(a){a=a|0;zd(v[a+4>>2]);Pa(a)}function TE(a,b){a=a|0;b=+b;A[a+72>>3]=b}function Kg(a){Lg(a);Pa(v[a+4>>2]);Pa(a)}function AE(a,b){a=a|0;b=+b;A[a+88>>3]=b}function $h(a,b){a=a|0;b=b|0;v[a+4>>2]=b}function $O(a,b){a=a|0;b=b|0;v[163456]=b}function xD(a){a=a|0;return v[a+112>>2]}function ws(a,b){a=a|0;b=+b;A[a+8>>3]=b}function vm(a){if((a|0)!=448128){Pa(a)}}function vC(a){a=a|0;return v[a+124>>2]}function nF(a){a=a|0;return x[a+256>>1]}function el(a,b,c){return gl(a,b,c,0,0)}function dE(a){a=a|0;return v[a+104>>2]}function dD(a){a=a|0;return v[a+116>>2]}function cl(a,b){return yi(a,b,10,-1,0)}function cC(a){a=a|0;return+A[a+128>>3]}function ar(a){a=a|0;return v[a+364>>2]}function Tz(a){a=a|0;return v[a+68>>2]}
|
||
function SK(a){a=a|0;jq(v[a>>2],a+28|0)}function PC(a){a=a|0;return v[a+120>>2]}function ND(a){a=a|0;return v[a+108>>2]}function JB(a){a=a|0;return v[a+136>>2]}function Hr(a){a=a|0;return v[a+44>>2]}
|
||
function DF(a){a=a|0;ur(a);t[a+112|0]=0}function zi(a,b,c){gl(a,b,c,1034,1035)}function tE(a){a=a|0;return+A[a+96>>3]}function sj(a){a=a|0;return v[a+20>>2]}function rF(a){a=a|0;return+A[a+64>>3]}function ph(a){a=a|0;return v[a+28>>2]}function kr(a){a=a|0;return v[a+80>>2]}function iA(a){a=a|0;return v[a+64>>2]}function eO(a){a=a|0;Sa(v[a>>2]);Pa(a)}function ZE(a){a=a|0;return+A[a+72>>3]}function Xk(a){a=a|0;return v[a+32>>2]}function TA(a){a=a|0;return v[a+56>>2]}function Qk(a){a=a|0;return v[a+36>>2]}function Kx(a){a=a|0;return v[a+12>>2]}function Jk(a){a=a|0;return v[a+40>>2]}function IE(a){a=a|0;return+A[a+88>>3]}function GF(a){a=a|0;return+A[a+56>>3]}function Fj(a){a=a|0;return v[a+16>>2]}function Dh(a){a=a|0;return v[a+24>>2]}function Bz(a){a=a|0;return v[a+76>>2]}function Ar(a){a=a|0;return+A[a+48>>3]}function AB(a){a=a|0;return v[a+48>>2]}function AA(a){a=a|0;return v[a+60>>2]}function $g(a,b){a=a|0;b=b|0;v[a>>2]=b}function sh(a,b,c){return Be(a,b,0,c)}function ei(a){a=a|0;return v[a+4>>2]}function ak(a){a=a|0;return v[a+8>>2]}function _t(a,b){return $t(a,b,858,0)}function Ws(a){a=a|0;return+A[a+8>>3]}function Gl(a,b){a=a|0;b=b|0;return 0}function cM(a){a=a|0;wc(a,v[a+8>>2])}function Zy(a){a=a|0;return 22028288}function Hh(a,b,c){a=a|0;b=b|0;c=c|0}function ls(a,b,c){gl(a,b,c,1034,0)}function ch(a){a=a|0;return v[a>>2]}function VM(a){a=a|0;return a+100|0}function Us(a,b){return Ki(a,b,1,1)}function UM(a){a=a|0;return a+112|0}function TM(a){a=a|0;return a+140|0}function HF(a){a=a|0;pb(v[a+24>>2])}function Gd(a){if(a){Pa(v[a-4>>2])}}function yt(a,b){a=a|0;b=b|0;Pa(b)}function tN(a){a=a|0;Ru(v[a+8>>2])}function SP(a,b){a=a|0;b=b|0;Ff(b)}function Ry(a){a=a|0;return Vt()|0}function Ky(a,b){a=a|0;b=b|0;bm(b)}function Ey(a,b){a=a|0;b=b|0;Rm(b)}function Cy(a,b){a=a|0;b=b|0;oj(b)}function CP(a,b){a=a|0;b=b|0;Ru(b)}function Uq(a){a=a|0;v[a+16>>2]=0}function Br(a){a=a|0;if(a){Pa(a)}}function Hi(a){rd(v[a>>2]);Pa(a)}function rf(a,b){return _d(a,b)}function Hg(a,b){return ql(a,b)}function Rb(a){Re(a,v[130914])}function yq(a){a=a|0;return 0}function kj(a){Gd(v[a+20>>2])}function Yq(a){a=a|0;return 1}function gz(){return $r(1)|0}function AC(a,b){a=a|0;b=b|0}function vG(){return 656456}function Rl(a){a=a|0;Pa(a)}function RG(a){a=a|0;zl(a)}function Jy(a){a=a|0;Sa(a)}function iG(){return Ca|0}function hG(a){a=a|0;Ca=a}function BL(){return 1024}function XL(){return 128}function RL(){return 256}function HL(){return 512}function qM(){return 16}function jM(){return 32}function bM(){return 64}function yM(){return 8}function dn(){return 0}function cn(){return 1}function bn(){return 2}function OM(){return 3}function FM(){return 4}function Zd(a){a=a|0}function Fv(){}
|
||
// EMSCRIPTEN_END_FUNCS
|
||
e=w;var Ea=c([null,bQ,yJ,tJ,sJ,rJ,Bt,yt,NG,DG,wG,uG,ZF,YF,XF,WF,VF,UF,TF,SF,RF,QF,PF,LF,KF,JF,IF,HF,NE,AF,vF,uF,tF,sF,qF,pF,oF,nF,rr,mF,lF,kF,jF,iF,gF,fF,eF,dF,cF,bF,aF,$E,_E,YE,XE,WE,QE,OF,Zd,NF,MF,FF,EF,DF,CF,BF,sr,yF,xF,wF,VE,UE,ng,Ak,SE,xr,RE,vr,PE,OE,wr,wk,ME,LE,HE,xE,Vq,uk,Zd,KE,JE,GE,FE,EE,DE,CE,BE,zE,yE,wE,vE,ar,$q,uE,_q,Zq,Yq,Xq,sE,$F,_F,rE,qE,Wq,pE,oE,mE,lE,kE,jE,iE,hE,bh,gE,fE,eE,cE,bE,aE,$D,_D,ZD,YD,SD,VC,UC,XD,Uq,VD,UD,TD,rk,RD,QD,uk,Zd,PD,OD,MD,LD,KD,JD,Qq,ID,sr,GD,FD,Pq,ED,DD,CD,BD,AD,zD,yD,wD,vD,uD,tD,sD,rD,qD,pD,oD,nD,lD,kD,jD,iD,hD,gD,Oq,fD,eD,Mq,cD,bD,aD,$C,_C,ZC,YC,XC,Kq,uk,Zd,TC,SC,RC,QC,OC,NC,Qq,MC,LC,KC,JC,IC,HC,GC,EC,DC,CC,BC,AC,tC,sC,rC,qC,zC,Jq,yC,xC,wC,uC,pC,oC,nC,mC,kC,jC,Gq,iC,hC,Zd,gC,fC,eC,dC,bC,aC,$B,_B,ZB,YB,$q,XB,ar,_q,Zq,Yq,Xq,WB,VB,UB,SB,RB,QB,PB,OB,NB,MB,LB,KB,IB,HB,Eq,Dq,GB,FB,Dq,Eq,DB,CB,BB,yq,Zd,zB,yB,di,xB,wB,vB,uB,tB,rB,qB,pB,Uq,oB,nB,kB,cB,bB,aB,Qf,mB,lB,kk,iB,hB,gB,fB,eB,_A,Jq,ZA,YA,yt,Bt,Yz,aq,$p,aq,$p,fz,ez,qG,yd,cz,bz,az,Xy,Wy,Vz,Uz,Sz,Rz,WA,Qz,Pz,Oz,Nz,Mz,Lz,Kz,Iz,Hz,Gz,Fz,Ez,Dz,Cz,_h,Az,zz,yz,xz,wz,vz,uz,tz,sz,qz,pz,oz,Yp,nz,mz,lz,kz,jz,iz,hz,Yd,dz,VA,UA,SA,RA,QA,PA,OA,NA,MA,LA,KA,IA,HA,GA,FA,EA,DA,CA,BA,zA,yA,xA,wA,vA,uA,tA,fq,sA,qA,pA,oA,fq,nA,mA,lA,kA,jA,hA,Gl,gA,fA,eA,dA,cA,bA,aA,$z,_z,rk,Xz,Wz,$y,_y,Yy,Vy,Uy,Ty,fk,Sy,Qy,Py,Oy,Ny,My,Ly,Pa,Jy,Hy,By,zy,xy,uy,Ko,my,ly,ky,jy,hy,gy,fy,ey,dy,cy,ay,$x,sy,ry,Zx,Yx,Wx,Vx,Ux,Tx,Rx,Qx,ty,Ox,Nx,Mx,$P,ZP,YP,Mj,_P,XP,VP,Rl,UP,Ix,TP,RP,QP,PP,NP,MP,LP,KP,JP,IP,HP,GP,oP,nP,mP,zP,kP,jP,iP,wP,vP,hP,gP,eP,dP,cP,bP,aP,_O,fx,fx,AP,ex,yP,xP,uP,tP,Qf,Qf,rP,qP,pP,ex,XO,WO,YO,Rw,Qw,VO,UO,TO,RO,QO,PO,OO,Rl,NO,MO,LO,IO,HO,Mj,FO,JO,GO,DO,CO,BO,zO,yO,Mj,EO,xO,wO,Fw,Ix,vO,tO,rO,qO,Mj,uO,pO,oO,Rl,Fw,nO,mO,lO,kO,iO,hO,gO,Bw,gx,eO,dO,bO,$N,_N,ZN,Nh,XN,WN,rr,VN,Qf,Qf,UN,PN,QN,ON,NN,MN,LN,KN,JN,IN,HN,GN,FN,EN,DN,oN,CN,bw,$v,_v,Zv,zN,yN,vN,uN,sN,rN,qN,xN,bw,$v,_v,wN,pN,mN,Zd,lN,kN,jN,iN,fN,eN,dN,cN,bN,aN,en,$M,_M,ZM,YM,XM,VM,UM,TM,gN,WM,KM,JM,Mr,Fv,Fv,Ev,Hh,Nh,SM,vj,RM,QM,an,$m,_m,PM,NM,MM,LM,EM,DM,CM,BM,Zd,AM,zM,Hh,xM,wM,Ev,Hh,Nh,IM,vj,HM,GM,an,$m,_m,zv,Hh,Nh,pM,vj,vM,Zd,uM,tM,an,$m,_m,zv,Hh,Nh,rM,vj,sM,oM,nM,mM,lM,kM,iM,JL,IL,GL,FL,Vq,jL,hM,gM,fM,eM,dM,Zd,cM,Vm,aM,$L,_L,ZL,YL,Gf,WL,tv,VL,UL,Tm,TL,Tm,sv,SL,QL,PL,OL,rv,NL,ML,LL,KL,EL,DL,CL,tL,sL,rL,qL,pL,oL,nL,mL,lL,kL,rk,iL,hL,AL,Tm,sv,zL,yL,xL,wL,rv,vL,uL,gL,fL,eL,dL,aL,iv,bL,$K,_K,ZK,YK,cL,CG,XK,WK,VK,UK,TK,SK,RK,QK,PK,OK,NK,MK,LK,KK,JK,IK,GK,FK,EK,HK,DK,CK,BK,AK,lK,zK,yK,xK,wK,kK,vK,uK,tK,sK,mK,rK,qK,pK,oK,hK,nK,jK,iK,gK,fK,eK,dK,cK,bK,aK,$J,Qf,_J,ZJ,YJ,XJ,WJ,VJ,UJ,TJ,SJ,RJ,QJ,PJ,OJ,NJ,MJ,LJ,JJ,HJ,FJ,DJ,KJ,IJ,GJ,EJ,CJ,BJ,AJ,zJ,xJ,wJ,qJ,pJ,oJ,nJ,mJ,lJ,kJ,jJ,iJ,gJ,eJ,dJ,bJ,$I,_I,ZI,YI,XI,WI,VI,UI,TI,SI,RI,QI,PI,OI,NI,MI,LI,KI,JI,II,Gl,HI,GI,FI,EI,DI,lI,kI,jI,iI,hI,gI,fI,eI,dI,cI,bI,aI,$H,_H,ZH,YH,CI,BI,AI,zI,yI,xI,wI,vI,uI,tI,sI,rI,qI,pI,oI,nI,mI,XH,WH,VH,Qf,TH,xH,jt,SH,RH,QH,PH,OH,NH,MH,LH,KH,JH,IH,HH,GH,FH,EH,DH,CH,BH,sH,UH,kH,eH,dH,AH,zH,uH,yH,wH,vH,tH,rH,qH,pH,mH,oH,nH,lH,jH,iH,hH,gH,fH,cH,Va,gb,bH,fJ,xt,aJ,zt,$G,aH,_G,ZG,cJ,hJ,Hl,XG,YG,Xs,WG,VG,Zd,UG,TG,SG,RG,uJ,Db,QG,vJ,id,PG,OG,MG,LG,KG,JG,IG,HG,GG,FG,Cs,EG,BG,AG,zG,yG,xG,rG,kG,tG,nG,sG,pG,oG,yq,mG,lG]);function Fa(){return s.byteLength/65536|0}function Ka(La){La=La|0;var Ga=Fa()|0;var Ha=Ga+La|0;if(Ga<Ha&&Ha<65536){var Ia=new ArrayBuffer(B(Ha,65536));var Ja=new Int8Array(Ia);Ja.set(t);t=new Int8Array(Ia);u=new Int16Array(Ia);v=new Int32Array(Ia);w=new Uint8Array(Ia);x=new Uint16Array(Ia);y=new Uint32Array(Ia);z=new Float32Array(Ia);A=new Float64Array(Ia);s=Ia;r.buffer=s;e=w}return Ga}return{"R":Lx,"S":Va,"T":Pa,"U":Gl,"V":Br,"W":ch,"X":$g,"Y":ei,"Z":$h,"_":ak,"$":Vj,"aa":Kx,"ba":cx,"ca":Fj,"da":zj,"ea":sj,"fa":pj,"ga":Dh,"ha":wh,"ia":ph,"ja":nh,"ka":ch,"la":$g,"ma":ei,"na":$h,"oa":Ws,"pa":ws,"qa":Fj,"ra":zj,"sa":sj,"ta":pj,"ua":Dh,"va":wh,"wa":ph,"xa":nh,"ya":Xk,"za":Sk,"Aa":Qk,"Ba":Mk,"Ca":Jk,"Da":Ik,"Ea":Hr,"Fa":Er,"Ga":Ar,"Ha":zr,"Ia":GF,"Ja":zF,"Ka":rF,"La":hF,"Ma":ZE,"Na":TE,"Oa":kr,"Pa":gr,"Qa":IE,"Ra":AE,"Sa":tE,"Ta":nE,"Ua":dE,"Va":WD,"Wa":ND,"Xa":HD,"Ya":xD,"Za":mD,"_a":dD,"$a":WC,"ab":PC,"bb":FC,"cb":vC,"db":lC,"eb":cC,"fb":TB,"gb":JB,"hb":EB,"ib":fG,"jb":eG,"kb":dG,"lb":cG,"mb":Fj,"nb":zj,"ob":sj,"pb":pj,"qb":Dh,"rb":wh,"sb":ph,"tb":nh,"ub":Xk,"vb":Sk,"wb":Qk,"xb":Mk,"yb":Jk,"zb":Ik,"Ab":Hr,"Bb":Er,"Cb":AB,"Db":sB,"Eb":ch,"Fb":$g,"Gb":ei,"Hb":$h,"Ib":ak,"Jb":Vj,"Kb":Kx,"Lb":cx,"Mb":jB,"Nb":dB,"Ob":$A,"Pb":XA,"Qb":Dh,"Rb":wh,"Sb":ph,"Tb":nh,"Ub":Qk,"Vb":Mk,"Wb":Jk,"Xb":Ik,"Yb":Ar,"Zb":zr,"_b":TA,"$b":JA,"ac":AA,"bc":rA,"cc":iA,"dc":Zz,"ec":Tz,"fc":Jz,"gc":Bz,"hc":rz,"ic":kr,"jc":gr,"kc":gz,"lc":Zy,"mc":Ry,"nc":Ky,"oc":Iy,"pc":Gy,"qc":Fy,"rc":Ey,"sc":Dy,"tc":Cy,"uc":Ay,"vc":yy,"wc":wy,"xc":vy,"yc":qy,"zc":py,"Ac":oy,"Bc":ny,"Cc":iy,"Dc":by,"Ec":_x,"Fc":Xx,"Gc":Sx,"Hc":Px,"Ic":aQ,"Jc":bG,"Kc":WP,"Lc":SP,"Mc":OP,"Nc":FP,"Oc":EP,"Pc":DP,"Qc":CP,"Rc":BP,"Sc":sP,"Tc":lP,"Uc":aG,"Vc":ch,"Wc":$g,"Xc":Ws,"Yc":ws,"Zc":Fj,"_c":zj,"$c":sj,"ad":pj,"bd":Dh,"cd":wh,"dd":ph,"ed":nh,"fd":Xk,"gd":Sk,"hd":fP,"id":$O,"jd":ZO,"kd":SO,"ld":KO,"md":AO,"nd":sO,"od":jO,"pd":fO,"qd":cO,"rd":aO,"sd":YN,"td":TN,"ud":SN,"vd":RN,"wd":dw,"xd":BN,"yd":AN,"zd":dw,"Ad":tN,"Bd":nN,"Cd":hN,"Dd":ak,"Ed":Vj,"Fd":ei,"Gd":$h,"Hd":ch,"Id":$g,"Jd":Br,"Kd":dn,"Ld":cn,"Md":bn,"Nd":OM,"Od":dn,"Pd":cn,"Qd":dn,"Rd":cn,"Sd":bn,"Td":bn,"Ud":FM,"Vd":yM,"Wd":qM,"Xd":jM,"Yd":bM,"Zd":XL,"_d":RL,"$d":HL,"ae":BL,"be":Ea,"ce":vG,"de":iG,"ee":hG,"fe":gG,"ge":jG}}return Ma(Oa)}
|
||
// EMSCRIPTEN_END_ASM
|
||
|
||
|
||
|
||
|
||
)(asmLibraryArg)},instantiate:function(binary,info){return{then:function(ok){var module=new WebAssembly.Module(binary);ok({"instance":new WebAssembly.Instance(module)})}}},RuntimeError:Error};wasmBinary=[];if(typeof WebAssembly!=="object"){abort("no native wasm support detected")}function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for getValue: "+type)}return null}var wasmMemory;var ABORT=false;var EXITSTATUS;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];assert(func,"Cannot call unknown function "+ident+", make sure it is exported");return func}function ccall(ident,returnType,argTypes,args,opts){var toC={"string":function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=stackAlloc(len);stringToUTF8(str,ret,len)}return ret},"array":function(arr){var ret=stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}};function convertReturnValue(ret){if(returnType==="string")return UTF8ToString(ret);if(returnType==="boolean")return Boolean(ret);return ret}var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i<args.length;i++){var converter=toC[argTypes[i]];if(converter){if(stack===0)stack=stackSave();cArgs[i]=converter(args[i])}else{cArgs[i]=args[i]}}}var ret=func.apply(null,cArgs);ret=convertReturnValue(ret);if(stack!==0)stackRestore(stack);return ret}function cwrap(ident,returnType,argTypes,opts){argTypes=argTypes||[];var numericArgs=argTypes.every(function(type){return type==="number"});var numericRet=returnType!=="string";if(numericRet&&numericArgs&&!opts){return getCFunc(ident)}return function(){return ccall(ident,returnType,argTypes,arguments,opts)}}var UTF8Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heap,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heap[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heap.subarray&&UTF8Decoder){return UTF8Decoder.decode(heap.subarray(idx,endPtr))}else{var str="";while(idx<endPtr){var u0=heap[idx++];if(!(u0&128)){str+=String.fromCharCode(u0);continue}var u1=heap[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}var u2=heap[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u0=(u0&7)<<18|u1<<12|u2<<6|heap[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 stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}function allocateUTF8OnStack(str){var size=lengthBytesUTF8(str)+1;var ret=stackAlloc(size);stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i<str.length;++i){HEAP8[buffer++>>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}function alignUp(x,multiple){if(x%multiple>0){x+=multiple-x%multiple}return x}var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216;if(Module["wasmMemory"]){wasmMemory=Module["wasmMemory"]}else{wasmMemory=new WebAssembly.Memory({"initial":INITIAL_MEMORY/65536,"maximum":2147483648/65536})}if(wasmMemory){buffer=wasmMemory.buffer}INITIAL_MEMORY=buffer.byteLength;updateGlobalBufferAndViews(buffer);var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();TTY.init();callRuntimeCallbacks(__ATINIT__)}function preMain(){FS.ignorePermissions=false;callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){runtimeExited=true}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPreMain(cb){__ATMAIN__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}if(!Math.imul||Math.imul(4294967295,5)!==-5)Math.imul=function imul(a,b){var ah=a>>>16;var al=a&65535;var bh=b>>>16;var bl=b&65535;return al*bl+(ah*bl+al*bh<<16)|0};if(!Math.fround){var froundBuffer=new Float32Array(1);Math.fround=function(x){froundBuffer[0]=x;return froundBuffer[0]}}if(!Math.clz32)Math.clz32=function(x){var n=32;var y=x>>16;if(y){n-=16;x=y}y=x>>8;if(y){n-=8;x=y}y=x>>4;if(y){n-=4;x=y}y=x>>2;if(y){n-=2;x=y}y=x>>1;if(y)return n-2;return n-x};if(!Math.trunc)Math.trunc=function(x){return x<0?Math.ceil(x):Math.floor(x)};var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["preloadedImages"]={};Module["preloadedAudios"]={};function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}what+="";err(what);ABORT=true;EXITSTATUS=1;what="abort("+what+"). Build with -s ASSERTIONS=1 for more info.";var e=new WebAssembly.RuntimeError(what);throw e}var memoryInitializer="subtitles-octopus-worker-legacy.js.mem";var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}function isFileURI(filename){return filename.startsWith("file://")}var wasmBinaryFile="subtitles-octopus-worker-legacy.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}else{throw"both async and sync fetching of the wasm failed"}}catch(err){abort(err)}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch==="function"&&!isFileURI(wasmBinaryFile)){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary(wasmBinaryFile)})}else{if(readAsync){return new Promise(function(resolve,reject){readAsync(wasmBinaryFile,function(response){resolve(new Uint8Array(response))},reject)})}}}return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})}function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;runMemoryInitializer();wasmTable=Module["asm"]["be"];addOnInit(Module["asm"]["R"]);removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){var result=WebAssembly.instantiate(binary,info);return result}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&!isFileURI(wasmBinaryFile)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiationResult,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiationResult)})})}else{return instantiateArrayBuffer(receiveInstantiationResult)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync();return{}}var tempDouble;var tempI64;function _emscripten_set_main_loop_timing(mode,value){Browser.mainLoop.timingMode=mode;Browser.mainLoop.timingValue=value;if(!Browser.mainLoop.func){return 1}if(!Browser.mainLoop.running){Browser.mainLoop.running=true}if(mode==0){Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_setTimeout(){var timeUntilNextTick=Math.max(0,Browser.mainLoop.tickStartTime+value-_emscripten_get_now())|0;setTimeout(Browser.mainLoop.runner,timeUntilNextTick)};Browser.mainLoop.method="timeout"}else if(mode==1){Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_rAF(){Browser.requestAnimationFrame(Browser.mainLoop.runner)};Browser.mainLoop.method="rAF"}else if(mode==2){if(typeof setImmediate==="undefined"){var setImmediates=[];var emscriptenMainLoopMessageId="setimmediate";var Browser_setImmediate_messageHandler=function(event){if(event.data===emscriptenMainLoopMessageId||event.data.target===emscriptenMainLoopMessageId){event.stopPropagation();setImmediates.shift()()}};addEventListener("message",Browser_setImmediate_messageHandler,true);setImmediate=function Browser_emulated_setImmediate(func){setImmediates.push(func);if(ENVIRONMENT_IS_WORKER){if(Module["setImmediates"]===undefined)Module["setImmediates"]=[];Module["setImmediates"].push(func);postMessage({target:emscriptenMainLoopMessageId})}else postMessage(emscriptenMainLoopMessageId,"*")}}Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_setImmediate(){setImmediate(Browser.mainLoop.runner)};Browser.mainLoop.method="immediate"}return 0}var _emscripten_get_now;if(typeof performance!=="undefined"&&performance.now){_emscripten_get_now=function(){return performance.now()}}else{_emscripten_get_now=Date.now}var runtimeKeepaliveCounter=0;function _exit(status){exit(status)}function maybeExit(){if(!keepRuntimeAlive()){try{_exit(EXITSTATUS)}catch(e){if(e instanceof ExitStatus){return}throw e}}}function setMainLoop(browserIterationFunc,fps,simulateInfiniteLoop,arg,noSetTiming){assert(!Browser.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters.");Browser.mainLoop.func=browserIterationFunc;Browser.mainLoop.arg=arg;var thisMainLoopId=Browser.mainLoop.currentlyRunningMainloop;function checkIsRunning(){if(thisMainLoopId<Browser.mainLoop.currentlyRunningMainloop){maybeExit();return false}return true}Browser.mainLoop.running=false;Browser.mainLoop.runner=function Browser_mainLoop_runner(){if(ABORT)return;if(Browser.mainLoop.queue.length>0){var start=Date.now();var blocker=Browser.mainLoop.queue.shift();blocker.func(blocker.arg);if(Browser.mainLoop.remainingBlockers){var remaining=Browser.mainLoop.remainingBlockers;var next=remaining%1==0?remaining-1:Math.floor(remaining);if(blocker.counted){Browser.mainLoop.remainingBlockers=next}else{next=next+.5;Browser.mainLoop.remainingBlockers=(8*remaining+next)/9}}console.log('main loop blocker "'+blocker.name+'" took '+(Date.now()-start)+" ms");Browser.mainLoop.updateStatus();if(!checkIsRunning())return;setTimeout(Browser.mainLoop.runner,0);return}if(!checkIsRunning())return;Browser.mainLoop.currentFrameNumber=Browser.mainLoop.currentFrameNumber+1|0;if(Browser.mainLoop.timingMode==1&&Browser.mainLoop.timingValue>1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0){Browser.mainLoop.scheduler();return}else if(Browser.mainLoop.timingMode==0){Browser.mainLoop.tickStartTime=_emscripten_get_now()}Browser.mainLoop.runIter(browserIterationFunc);if(!checkIsRunning())return;if(typeof SDL==="object"&&SDL.audio&&SDL.audio.queueNewAudioData)SDL.audio.queueNewAudioData();Browser.mainLoop.scheduler()};if(!noSetTiming){if(fps&&fps>0)_emscripten_set_main_loop_timing(0,1e3/fps);else _emscripten_set_main_loop_timing(1,1);Browser.mainLoop.scheduler()}if(simulateInfiniteLoop){throw"unwind"}}function callUserCallback(func,synchronous){if(ABORT){return}if(synchronous){func();return}try{func()}catch(e){if(e instanceof ExitStatus){return}else if(e!=="unwind"){if(e&&typeof e==="object"&&e.stack)err("exception thrown: "+[e,e.stack]);throw e}}}var Browser={mainLoop:{running:false,scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:function(){Browser.mainLoop.scheduler=null;Browser.mainLoop.currentlyRunningMainloop++},resume:function(){Browser.mainLoop.currentlyRunningMainloop++;var timingMode=Browser.mainLoop.timingMode;var timingValue=Browser.mainLoop.timingValue;var func=Browser.mainLoop.func;Browser.mainLoop.func=null;setMainLoop(func,0,false,Browser.mainLoop.arg,true);_emscripten_set_main_loop_timing(timingMode,timingValue);Browser.mainLoop.scheduler()},updateStatus:function(){if(Module["setStatus"]){var message=Module["statusMessage"]||"Please wait...";var remaining=Browser.mainLoop.remainingBlockers;var expected=Browser.mainLoop.expectedBlockers;if(remaining){if(remaining<expected){Module["setStatus"](message+" ("+(expected-remaining)+"/"+expected+")")}else{Module["setStatus"](message)}}else{Module["setStatus"]("")}}},runIter:function(func){if(ABORT)return;if(Module["preMainLoop"]){var preRet=Module["preMainLoop"]();if(preRet===false){return}}callUserCallback(func);if(Module["postMainLoop"])Module["postMainLoop"]()}},isFullscreen:false,pointerLock:false,moduleContextCreatedCallbacks:[],workers:[],init:function(){if(!Module["preloadPlugins"])Module["preloadPlugins"]=[];if(Browser.initted)return;Browser.initted=true;try{new Blob;Browser.hasBlobConstructor=true}catch(e){Browser.hasBlobConstructor=false;console.log("warning: no blob constructor, cannot create blobs with mimetypes")}Browser.BlobBuilder=typeof MozBlobBuilder!="undefined"?MozBlobBuilder:typeof WebKitBlobBuilder!="undefined"?WebKitBlobBuilder:!Browser.hasBlobConstructor?console.log("warning: no BlobBuilder"):null;Browser.URLObject=typeof window!="undefined"?window.URL?window.URL:window.webkitURL:undefined;if(!Module.noImageDecoding&&typeof Browser.URLObject==="undefined"){console.log("warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available.");Module.noImageDecoding=true}var imagePlugin={};imagePlugin["canHandle"]=function imagePlugin_canHandle(name){return!Module.noImageDecoding&&/\.(jpg|jpeg|png|bmp)$/i.test(name)};imagePlugin["handle"]=function imagePlugin_handle(byteArray,name,onload,onerror){var b=null;if(Browser.hasBlobConstructor){try{b=new Blob([byteArray],{type:Browser.getMimetype(name)});if(b.size!==byteArray.length){b=new Blob([new Uint8Array(byteArray).buffer],{type:Browser.getMimetype(name)})}}catch(e){warnOnce("Blob constructor present but fails: "+e+"; falling back to blob builder")}}if(!b){var bb=new Browser.BlobBuilder;bb.append(new Uint8Array(byteArray).buffer);b=bb.getBlob()}var url=Browser.URLObject.createObjectURL(b);var img=new Image;img.onload=function img_onload(){assert(img.complete,"Image "+name+" could not be decoded");var canvas=document.createElement("canvas");canvas.width=img.width;canvas.height=img.height;var ctx=canvas.getContext("2d");ctx.drawImage(img,0,0);Module["preloadedImages"][name]=canvas;Browser.URLObject.revokeObjectURL(url);if(onload)onload(byteArray)};img.onerror=function img_onerror(event){console.log("Image "+url+" could not be decoded");if(onerror)onerror()};img.src=url};Module["preloadPlugins"].push(imagePlugin);var audioPlugin={};audioPlugin["canHandle"]=function audioPlugin_canHandle(name){return!Module.noAudioDecoding&&name.substr(-4)in{".ogg":1,".wav":1,".mp3":1}};audioPlugin["handle"]=function audioPlugin_handle(byteArray,name,onload,onerror){var done=false;function finish(audio){if(done)return;done=true;Module["preloadedAudios"][name]=audio;if(onload)onload(byteArray)}function fail(){if(done)return;done=true;Module["preloadedAudios"][name]=new Audio;if(onerror)onerror()}if(Browser.hasBlobConstructor){try{var b=new Blob([byteArray],{type:Browser.getMimetype(name)})}catch(e){return fail()}var url=Browser.URLObject.createObjectURL(b);var audio=new Audio;audio.addEventListener("canplaythrough",function(){finish(audio)},false);audio.onerror=function audio_onerror(event){if(done)return;console.log("warning: browser could not fully decode audio "+name+", trying slower base64 approach");function encode64(data){var BASE="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var PAD="=";var ret="";var leftchar=0;var leftbits=0;for(var i=0;i<data.length;i++){leftchar=leftchar<<8|data[i];leftbits+=8;while(leftbits>=6){var curr=leftchar>>leftbits-6&63;leftbits-=6;ret+=BASE[curr]}}if(leftbits==2){ret+=BASE[(leftchar&3)<<4];ret+=PAD+PAD}else if(leftbits==4){ret+=BASE[(leftchar&15)<<2];ret+=PAD}return ret}audio.src="data:audio/x-"+name.substr(-3)+";base64,"+encode64(byteArray);finish(audio)};audio.src=url;Browser.safeSetTimeout(function(){finish(audio)},1e4)}else{return fail()}};Module["preloadPlugins"].push(audioPlugin);function pointerLockChange(){Browser.pointerLock=document["pointerLockElement"]===Module["canvas"]||document["mozPointerLockElement"]===Module["canvas"]||document["webkitPointerLockElement"]===Module["canvas"]||document["msPointerLockElement"]===Module["canvas"]}var canvas=Module["canvas"];if(canvas){canvas.requestPointerLock=canvas["requestPointerLock"]||canvas["mozRequestPointerLock"]||canvas["webkitRequestPointerLock"]||canvas["msRequestPointerLock"]||function(){};canvas.exitPointerLock=document["exitPointerLock"]||document["mozExitPointerLock"]||document["webkitExitPointerLock"]||document["msExitPointerLock"]||function(){};canvas.exitPointerLock=canvas.exitPointerLock.bind(document);document.addEventListener("pointerlockchange",pointerLockChange,false);document.addEventListener("mozpointerlockchange",pointerLockChange,false);document.addEventListener("webkitpointerlockchange",pointerLockChange,false);document.addEventListener("mspointerlockchange",pointerLockChange,false);if(Module["elementPointerLock"]){canvas.addEventListener("click",function(ev){if(!Browser.pointerLock&&Module["canvas"].requestPointerLock){Module["canvas"].requestPointerLock();ev.preventDefault()}},false)}}},createContext:function(canvas,useWebGL,setInModule,webGLContextAttributes){if(useWebGL&&Module.ctx&&canvas==Module.canvas)return Module.ctx;var ctx;var contextHandle;if(useWebGL){var contextAttributes={antialias:false,alpha:false,majorVersion:1};if(webGLContextAttributes){for(var attribute in webGLContextAttributes){contextAttributes[attribute]=webGLContextAttributes[attribute]}}if(typeof GL!=="undefined"){contextHandle=GL.createContext(canvas,contextAttributes);if(contextHandle){ctx=GL.getContext(contextHandle).GLctx}}}else{ctx=canvas.getContext("2d")}if(!ctx)return null;if(setInModule){if(!useWebGL)assert(typeof GLctx==="undefined","cannot set in module if GLctx is used, but we are a non-GL context that would replace it");Module.ctx=ctx;if(useWebGL)GL.makeContextCurrent(contextHandle);Module.useWebGL=useWebGL;Browser.moduleContextCreatedCallbacks.forEach(function(callback){callback()});Browser.init()}return ctx},destroyContext:function(canvas,useWebGL,setInModule){},fullscreenHandlersInstalled:false,lockPointer:undefined,resizeCanvas:undefined,requestFullscreen:function(lockPointer,resizeCanvas){Browser.lockPointer=lockPointer;Browser.resizeCanvas=resizeCanvas;if(typeof Browser.lockPointer==="undefined")Browser.lockPointer=true;if(typeof Browser.resizeCanvas==="undefined")Browser.resizeCanvas=false;var canvas=Module["canvas"];function fullscreenChange(){Browser.isFullscreen=false;var canvasContainer=canvas.parentNode;if((document["fullscreenElement"]||document["mozFullScreenElement"]||document["msFullscreenElement"]||document["webkitFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvasContainer){canvas.exitFullscreen=Browser.exitFullscreen;if(Browser.lockPointer)canvas.requestPointerLock();Browser.isFullscreen=true;if(Browser.resizeCanvas){Browser.setFullscreenCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}else{canvasContainer.parentNode.insertBefore(canvas,canvasContainer);canvasContainer.parentNode.removeChild(canvasContainer);if(Browser.resizeCanvas){Browser.setWindowedCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}if(Module["onFullScreen"])Module["onFullScreen"](Browser.isFullscreen);if(Module["onFullscreen"])Module["onFullscreen"](Browser.isFullscreen)}if(!Browser.fullscreenHandlersInstalled){Browser.fullscreenHandlersInstalled=true;document.addEventListener("fullscreenchange",fullscreenChange,false);document.addEventListener("mozfullscreenchange",fullscreenChange,false);document.addEventListener("webkitfullscreenchange",fullscreenChange,false);document.addEventListener("MSFullscreenChange",fullscreenChange,false)}var canvasContainer=document.createElement("div");canvas.parentNode.insertBefore(canvasContainer,canvas);canvasContainer.appendChild(canvas);canvasContainer.requestFullscreen=canvasContainer["requestFullscreen"]||canvasContainer["mozRequestFullScreen"]||canvasContainer["msRequestFullscreen"]||(canvasContainer["webkitRequestFullscreen"]?function(){canvasContainer["webkitRequestFullscreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null)||(canvasContainer["webkitRequestFullScreen"]?function(){canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null);canvasContainer.requestFullscreen()},exitFullscreen:function(){if(!Browser.isFullscreen){return false}var CFS=document["exitFullscreen"]||document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["msExitFullscreen"]||document["webkitCancelFullScreen"]||function(){};CFS.apply(document,[]);return true},nextRAF:0,fakeRequestAnimationFrame:function(func){var now=Date.now();if(Browser.nextRAF===0){Browser.nextRAF=now+1e3/60}else{while(now+2>=Browser.nextRAF){Browser.nextRAF+=1e3/60}}var delay=Math.max(Browser.nextRAF-now,0);setTimeout(func,delay)},requestAnimationFrame:function(func){if(typeof requestAnimationFrame==="function"){requestAnimationFrame(func);return}var RAF=Browser.fakeRequestAnimationFrame;if(typeof window!=="undefined"){RAF=window["requestAnimationFrame"]||window["mozRequestAnimationFrame"]||window["webkitRequestAnimationFrame"]||window["msRequestAnimationFrame"]||window["oRequestAnimationFrame"]||RAF}RAF(func)},safeRequestAnimationFrame:function(func){return Browser.requestAnimationFrame(function(){callUserCallback(func)})},safeSetTimeout:function(func,timeout){return setTimeout(function(){callUserCallback(func)},timeout)},getMimetype:function(name){return{"jpg":"image/jpeg","jpeg":"image/jpeg","png":"image/png","bmp":"image/bmp","ogg":"audio/ogg","wav":"audio/wav","mp3":"audio/mpeg"}[name.substr(name.lastIndexOf(".")+1)]},getUserMedia:function(func){if(!window.getUserMedia){window.getUserMedia=navigator["getUserMedia"]||navigator["mozGetUserMedia"]}window.getUserMedia(func)},getMovementX:function(event){return event["movementX"]||event["mozMovementX"]||event["webkitMovementX"]||0},getMovementY:function(event){return event["movementY"]||event["mozMovementY"]||event["webkitMovementY"]||0},getMouseWheelDelta:function(event){var delta=0;switch(event.type){case"DOMMouseScroll":delta=event.detail/3;break;case"mousewheel":delta=event.wheelDelta/120;break;case"wheel":delta=event.deltaY;switch(event.deltaMode){case 0:delta/=100;break;case 1:delta/=3;break;case 2:delta*=80;break;default:throw"unrecognized mouse wheel delta mode: "+event.deltaMode}break;default:throw"unrecognized mouse wheel event: "+event.type}return delta},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:function(event){if(Browser.pointerLock){if(event.type!="mousemove"&&"mozMovementX"in event){Browser.mouseMovementX=Browser.mouseMovementY=0}else{Browser.mouseMovementX=Browser.getMovementX(event);Browser.mouseMovementY=Browser.getMovementY(event)}if(typeof SDL!="undefined"){Browser.mouseX=SDL.mouseX+Browser.mouseMovementX;Browser.mouseY=SDL.mouseY+Browser.mouseMovementY}else{Browser.mouseX+=Browser.mouseMovementX;Browser.mouseY+=Browser.mouseMovementY}}else{var rect=Module["canvas"].getBoundingClientRect();var cw=Module["canvas"].width;var ch=Module["canvas"].height;var scrollX=typeof window.scrollX!=="undefined"?window.scrollX:window.pageXOffset;var scrollY=typeof window.scrollY!=="undefined"?window.scrollY:window.pageYOffset;if(event.type==="touchstart"||event.type==="touchend"||event.type==="touchmove"){var touch=event.touch;if(touch===undefined){return}var adjustedX=touch.pageX-(scrollX+rect.left);var adjustedY=touch.pageY-(scrollY+rect.top);adjustedX=adjustedX*(cw/rect.width);adjustedY=adjustedY*(ch/rect.height);var coords={x:adjustedX,y:adjustedY};if(event.type==="touchstart"){Browser.lastTouches[touch.identifier]=coords;Browser.touches[touch.identifier]=coords}else if(event.type==="touchend"||event.type==="touchmove"){var last=Browser.touches[touch.identifier];if(!last)last=coords;Browser.lastTouches[touch.identifier]=last;Browser.touches[touch.identifier]=coords}return}var x=event.pageX-(scrollX+rect.left);var y=event.pageY-(scrollY+rect.top);x=x*(cw/rect.width);y=y*(ch/rect.height);Browser.mouseMovementX=x-Browser.mouseX;Browser.mouseMovementY=y-Browser.mouseY;Browser.mouseX=x;Browser.mouseY=y}},asyncLoad:function(url,onload,onerror,noRunDep){var dep=!noRunDep?getUniqueRunDependency("al "+url):"";readAsync(url,function(arrayBuffer){assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(dep)removeRunDependency(dep)},function(event){if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}});if(dep)addRunDependency(dep)},resizeListeners:[],updateResizeListeners:function(){var canvas=Module["canvas"];Browser.resizeListeners.forEach(function(listener){listener(canvas.width,canvas.height)})},setCanvasSize:function(width,height,noUpdates){var canvas=Module["canvas"];Browser.updateCanvasDimensions(canvas,width,height);if(!noUpdates)Browser.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags|8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},setWindowedCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags&~8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},updateCanvasDimensions:function(canvas,wNative,hNative){if(wNative&&hNative){canvas.widthNative=wNative;canvas.heightNative=hNative}else{wNative=canvas.widthNative;hNative=canvas.heightNative}var w=wNative;var h=hNative;if(Module["forcedAspectRatio"]&&Module["forcedAspectRatio"]>0){if(w/h<Module["forcedAspectRatio"]){w=Math.round(h*Module["forcedAspectRatio"])}else{h=Math.round(w/Module["forcedAspectRatio"])}}if((document["fullscreenElement"]||document["mozFullScreenElement"]||document["msFullscreenElement"]||document["webkitFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvas.parentNode&&typeof screen!="undefined"){var factor=Math.min(screen.width/w,screen.height/h);w=Math.round(w*factor);h=Math.round(h*factor)}if(Browser.resizeCanvas){if(canvas.width!=w)canvas.width=w;if(canvas.height!=h)canvas.height=h;if(typeof canvas.style!="undefined"){canvas.style.removeProperty("width");canvas.style.removeProperty("height")}}else{if(canvas.width!=wNative)canvas.width=wNative;if(canvas.height!=hNative)canvas.height=hNative;if(typeof canvas.style!="undefined"){if(w!=wNative||h!=hNative){canvas.style.setProperty("width",w+"px","important");canvas.style.setProperty("height",h+"px","important")}else{canvas.style.removeProperty("width");canvas.style.removeProperty("height")}}}},wgetRequests:{},nextWgetRequestHandle:0,getNextWgetRequestHandle:function(){var handle=Browser.nextWgetRequestHandle;Browser.nextWgetRequestHandle++;return handle}};function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback(Module);continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){wasmTable.get(func)()}else{wasmTable.get(func)(callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}function keepRuntimeAlive(){return noExitRuntime||runtimeKeepaliveCounter>0}function ___assert_fail(condition,filename,line,func){abort("Assertion failed: "+UTF8ToString(condition)+", at: "+[filename?UTF8ToString(filename):"unknown filename",line,func?UTF8ToString(func):"unknown function"])}var _emscripten_get_now_is_monotonic=typeof performance==="object"&&performance&&typeof performance["now"]==="function";function setErrNo(value){HEAP32[___errno_location()>>2]=value;return value}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if((clk_id===1||clk_id===4)&&_emscripten_get_now_is_monotonic){now=_emscripten_get_now()}else{setErrNo(28);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}function ___clock_gettime(a0,a1){return _clock_gettime(a0,a1)}var PATH={splitPath:function(filename){var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:function(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:function(path){var isAbsolute=path.charAt(0)==="/",trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:function(path){var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:function(path){if(path==="/")return"/";path=PATH.normalize(path);path=path.replace(/\/$/,"");var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},extname:function(path){return PATH.splitPath(path)[3]},join:function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))},join2:function(l,r){return PATH.normalize(l+"/"+r)}};function getRandomDevice(){if(typeof crypto==="object"&&typeof crypto["getRandomValues"]==="function"){var randomBuffer=new Uint8Array(1);return function(){crypto.getRandomValues(randomBuffer);return randomBuffer[0]}}else return function(){abort("randomDevice")}}var PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:function(from,to){from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start<arr.length;start++){if(arr[start]!=="")break}var end=arr.length-1;for(;end>=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i<length;i++){if(fromParts[i]!==toParts[i]){samePartsLength=i;break}}var outputParts=[];for(var i=samePartsLength;i<fromParts.length;i++){outputParts.push("..")}outputParts=outputParts.concat(toParts.slice(samePartsLength));return outputParts.join("/")}};var TTY={ttys:[],init:function(){},shutdown:function(){},register:function(dev,ops){TTY.ttys[dev]={input:[],output:[],ops:ops};FS.registerDevice(dev,TTY.stream_ops)},stream_ops:{open:function(stream){var tty=TTY.ttys[stream.node.rdev];if(!tty){throw new FS.ErrnoError(43)}stream.tty=tty;stream.seekable=false},close:function(stream){stream.tty.ops.flush(stream.tty)},flush:function(stream){stream.tty.ops.flush(stream.tty)},read:function(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.get_char){throw new FS.ErrnoError(60)}var bytesRead=0;for(var i=0;i<length;i++){var result;try{result=stream.tty.ops.get_char(stream.tty)}catch(e){throw new FS.ErrnoError(29)}if(result===undefined&&bytesRead===0){throw new FS.ErrnoError(6)}if(result===null||result===undefined)break;bytesRead++;buffer[offset+i]=result}if(bytesRead){stream.node.timestamp=Date.now()}return bytesRead},write:function(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.put_char){throw new FS.ErrnoError(60)}try{for(var i=0;i<length;i++){stream.tty.ops.put_char(stream.tty,buffer[offset+i])}}catch(e){throw new FS.ErrnoError(29)}if(length){stream.node.timestamp=Date.now()}return i}},default_tty_ops:{get_char:function(tty){if(!tty.input.length){var result=null;if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};function mmapAlloc(size){var alignedSize=alignMemory(size,65536);var ptr=_malloc(alignedSize);while(size<alignedSize)HEAP8[ptr+size++]=0;return ptr}var MEMFS={ops_table:null,mount:function(mount){return MEMFS.createNode(null,"/",16384|511,0)},createNode:function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(63)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node;parent.timestamp=node.timestamp}return node},getFileDataAsTypedArray:function(node){if(!node.contents)return new Uint8Array(0);if(node.contents.subarray)return node.contents.subarray(0,node.usedBytes);return new Uint8Array(node.contents)},expandFileStorage:function(node,newCapacity){var prevCapacity=node.contents?node.contents.length:0;if(prevCapacity>=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity<CAPACITY_DOUBLING_MAX?2:1.125)>>>0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0)},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0}else{var oldContents=node.contents;node.contents=new Uint8Array(newSize);if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize}},node_ops:{getattr:function(node){var attr={};attr.dev=FS.isChrdev(node.mode)?node.id:1;attr.ino=node.id;attr.mode=node.mode;attr.nlink=1;attr.uid=0;attr.gid=0;attr.rdev=node.rdev;if(FS.isDir(node.mode)){attr.size=4096}else if(FS.isFile(node.mode)){attr.size=node.usedBytes}else if(FS.isLink(node.mode)){attr.size=node.link.length}else{attr.size=0}attr.atime=new Date(node.timestamp);attr.mtime=new Date(node.timestamp);attr.ctime=new Date(node.timestamp);attr.blksize=4096;attr.blocks=Math.ceil(attr.size/attr.blksize);return attr},setattr:function(node,attr){if(attr.mode!==undefined){node.mode=attr.mode}if(attr.timestamp!==undefined){node.timestamp=attr.timestamp}if(attr.size!==undefined){MEMFS.resizeFileStorage(node,attr.size)}},lookup:function(parent,name){throw FS.genericErrors[44]},mknod:function(parent,name,mode,dev){return MEMFS.createNode(parent,name,mode,dev)},rename:function(old_node,new_dir,new_name){if(FS.isDir(old_node.mode)){var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(new_node){for(var i in new_node.contents){throw new FS.ErrnoError(55)}}}delete old_node.parent.contents[old_node.name];old_node.parent.timestamp=Date.now();old_node.name=new_name;new_dir.contents[new_name]=old_node;new_dir.timestamp=old_node.parent.timestamp;old_node.parent=new_dir},unlink:function(parent,name){delete parent.contents[name];parent.timestamp=Date.now()},rmdir:function(parent,name){var node=FS.lookupNode(parent,name);for(var i in node.contents){throw new FS.ErrnoError(55)}delete parent.contents[name];parent.timestamp=Date.now()},readdir:function(node){var entries=[".",".."];for(var key in node.contents){if(!node.contents.hasOwnProperty(key)){continue}entries.push(key)}return entries},symlink:function(parent,newname,oldpath){var node=MEMFS.createNode(parent,newname,511|40960,0);node.link=oldpath;return node},readlink:function(node){if(!FS.isLink(node.mode)){throw new FS.ErrnoError(28)}return node.link}},stream_ops:{read:function(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i<size;i++)buffer[offset+i]=contents[position+i]}return size},write:function(stream,buffer,offset,length,position,canOwn){if(buffer.buffer===HEAP8.buffer){canOwn=false}if(!length)return 0;var node=stream.node;node.timestamp=Date.now();if(buffer.subarray&&(!node.contents||node.contents.subarray)){if(canOwn){node.contents=buffer.subarray(offset,offset+length);node.usedBytes=length;return length}else if(node.usedBytes===0&&position===0){node.contents=buffer.slice(offset,offset+length);node.usedBytes=length;return length}else if(position+length<=node.usedBytes){node.contents.set(buffer.subarray(offset,offset+length),position);return length}}MEMFS.expandFileStorage(node,position+length);if(node.contents.subarray&&buffer.subarray){node.contents.set(buffer.subarray(offset,offset+length),position)}else{for(var i=0;i<length;i++){node.contents[position+i]=buffer[offset+i]}}node.usedBytes=Math.max(node.usedBytes,position+length);return length},llseek:function(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){position+=stream.node.usedBytes}}if(position<0){throw new FS.ErrnoError(28)}return position},allocate:function(stream,offset,length){MEMFS.expandFileStorage(stream.node,offset+length);stream.node.usedBytes=Math.max(stream.node.usedBytes,offset+length)},mmap:function(stream,address,length,position,prot,flags){if(address!==0){throw new FS.ErrnoError(28)}if(!FS.isFile(stream.node.mode)){throw new FS.ErrnoError(43)}var ptr;var allocated;var contents=stream.node.contents;if(!(flags&2)&&contents.buffer===buffer){allocated=false;ptr=contents.byteOffset}else{if(position>0||position+length<contents.length){if(contents.subarray){contents=contents.subarray(position,position+length)}else{contents=Array.prototype.slice.call(contents,position,position+length)}}allocated=true;ptr=mmapAlloc(length);if(!ptr){throw new FS.ErrnoError(48)}HEAP8.set(contents,ptr)}return{ptr:ptr,allocated:allocated}},msync:function(stream,buffer,offset,length,mmapFlags){if(!FS.isFile(stream.node.mode)){throw new FS.ErrnoError(43)}if(mmapFlags&2){return 0}var bytesWritten=MEMFS.stream_ops.write(stream,buffer,0,length,offset,false);return 0}}};var FS={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:function(path,opts){path=PATH_FS.resolve(FS.cwd(),path);opts=opts||{};if(!path)return{path:"",node:null};var defaults={follow_mount:true,recurse_count:0};for(var key in defaults){if(opts[key]===undefined){opts[key]=defaults[key]}}if(opts.recurse_count>8){throw new FS.ErrnoError(32)}var parts=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),false);var current=FS.root;var current_path="/";for(var i=0;i<parts.length;i++){var islast=i===parts.length-1;if(islast&&opts.parent){break}current=FS.lookupNode(current,parts[i]);current_path=PATH.join2(current_path,parts[i]);if(FS.isMountpoint(current)){if(!islast||islast&&opts.follow_mount){current=current.mounted.root}}if(!islast||opts.follow){var count=0;while(FS.isLink(current.mode)){var link=FS.readlink(current_path);current_path=PATH_FS.resolve(PATH.dirname(current_path),link);var lookup=FS.lookupPath(current_path,{recurse_count:opts.recurse_count});current=lookup.node;if(count++>40){throw new FS.ErrnoError(32)}}}}return{path:current_path,node:current}},getPath:function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}},hashName:function(parentid,name){var hash=0;for(var i=0;i<name.length;i++){hash=(hash<<5)-hash+name.charCodeAt(i)|0}return(parentid+hash>>>0)%FS.nameTable.length},hashAddNode:function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode:function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode:function(parent,name){var errCode=FS.mayLookup(parent);if(errCode){throw new FS.ErrnoError(errCode,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode:function(parent,name,mode,rdev){var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode:function(node){FS.hashRemoveNode(node)},isRoot:function(node){return node===node.parent},isMountpoint:function(node){return!!node.mounted},isFile:function(mode){return(mode&61440)===32768},isDir:function(mode){return(mode&61440)===16384},isLink:function(mode){return(mode&61440)===40960},isChrdev:function(mode){return(mode&61440)===8192},isBlkdev:function(mode){return(mode&61440)===24576},isFIFO:function(mode){return(mode&61440)===4096},isSocket:function(mode){return(mode&49152)===49152},flagModes:{"r":0,"r+":2,"w":577,"w+":578,"a":1089,"a+":1090},modeStringToFlags:function(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags},flagsToPermissionString:function(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions:function(node,perms){if(FS.ignorePermissions){return 0}if(perms.includes("r")&&!(node.mode&292)){return 2}else if(perms.includes("w")&&!(node.mode&146)){return 2}else if(perms.includes("x")&&!(node.mode&73)){return 2}return 0},mayLookup:function(dir){var errCode=FS.nodePermissions(dir,"x");if(errCode)return errCode;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:function(dir,name){try{var node=FS.lookupNode(dir,name);return 20}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete:function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var errCode=FS.nodePermissions(dir,"wx");if(errCode){return errCode}if(isdir){if(!FS.isDir(node.mode)){return 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:function(node,flags){if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd:function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(33)},getStream:function(fd){return FS.streams[fd]},createStream:function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=function(){};FS.FSStream.prototype={object:{get:function(){return this.node},set:function(val){this.node=val}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}}}}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream:function(fd){FS.streams[fd]=null},chrdev_stream_ops:{open:function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}},llseek:function(){throw new FS.ErrnoError(70)}},major:function(dev){return dev>>8},minor:function(dev){return dev&255},makedev:function(ma,mi){return ma<<8|mi},registerDevice:function(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:function(dev){return FS.devices[dev]},getMounts:function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){err("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(errCode){FS.syncFSRequests--;return callback(errCode)}function done(errCode){if(errCode){if(!done.errored){done.errored=true;return doCallback(errCode)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.includes(current.mount)){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:function(parent,name){return parent.node_ops.lookup(parent,name)},mknod:function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var errCode=FS.mayCreate(parent,name);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}return parent.node_ops.mknod(parent,name,mode,dev)},create:function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir:function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree:function(path,mode){var dirs=path.split("/");var d="";for(var i=0;i<dirs.length;++i){if(!dirs[i])continue;d+="/"+dirs[i];try{FS.mkdir(d,mode)}catch(e){if(e.errno!=20)throw e}}},mkdev:function(path,mode,dev){if(typeof dev==="undefined"){dev=mode;mode=438}mode|=8192;return FS.mknod(path,mode,dev)},symlink:function(oldpath,newpath){if(!PATH_FS.resolve(oldpath)){throw new FS.ErrnoError(44)}var lookup=FS.lookupPath(newpath,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(44)}var newname=PATH.basename(newpath);var errCode=FS.mayCreate(parent,newname);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.symlink){throw new FS.ErrnoError(63)}return parent.node_ops.symlink(parent,newname,oldpath)},rename:function(old_path,new_path){var old_dirname=PATH.dirname(old_path);var new_dirname=PATH.dirname(new_path);var old_name=PATH.basename(old_path);var new_name=PATH.basename(new_path);var lookup,old_dir,new_dir;lookup=FS.lookupPath(old_path,{parent:true});old_dir=lookup.node;lookup=FS.lookupPath(new_path,{parent:true});new_dir=lookup.node;if(!old_dir||!new_dir)throw new FS.ErrnoError(44);if(old_dir.mount!==new_dir.mount){throw new FS.ErrnoError(75)}var old_node=FS.lookupNode(old_dir,old_name);var relative=PATH_FS.relative(old_path,new_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(28)}relative=PATH_FS.relative(new_path,old_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(55)}var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(old_node===new_node){return}var isdir=FS.isDir(old_node.mode);var errCode=FS.mayDelete(old_dir,old_name,isdir);if(errCode){throw new FS.ErrnoError(errCode)}errCode=new_node?FS.mayDelete(new_dir,new_name,isdir):FS.mayCreate(new_dir,new_name);if(errCode){throw new FS.ErrnoError(errCode)}if(!old_dir.node_ops.rename){throw new FS.ErrnoError(63)}if(FS.isMountpoint(old_node)||new_node&&FS.isMountpoint(new_node)){throw new FS.ErrnoError(10)}if(new_dir!==old_dir){errCode=FS.nodePermissions(old_dir,"w");if(errCode){throw new FS.ErrnoError(errCode)}}try{if(FS.trackingDelegate["willMovePath"]){FS.trackingDelegate["willMovePath"](old_path,new_path)}}catch(e){err("FS.trackingDelegate['willMovePath']('"+old_path+"', '"+new_path+"') threw an exception: "+e.message)}FS.hashRemoveNode(old_node);try{old_dir.node_ops.rename(old_node,new_dir,new_name)}catch(e){throw e}finally{FS.hashAddNode(old_node)}try{if(FS.trackingDelegate["onMovePath"])FS.trackingDelegate["onMovePath"](old_path,new_path)}catch(e){err("FS.trackingDelegate['onMovePath']('"+old_path+"', '"+new_path+"') threw an exception: "+e.message)}},rmdir:function(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var errCode=FS.mayDelete(parent,name,true);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.rmdir){throw new FS.ErrnoError(63)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}try{if(FS.trackingDelegate["willDeletePath"]){FS.trackingDelegate["willDeletePath"](path)}}catch(e){err("FS.trackingDelegate['willDeletePath']('"+path+"') threw an exception: "+e.message)}parent.node_ops.rmdir(parent,name);FS.destroyNode(node);try{if(FS.trackingDelegate["onDeletePath"])FS.trackingDelegate["onDeletePath"](path)}catch(e){err("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: "+e.message)}},readdir:function(path){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;if(!node.node_ops.readdir){throw new FS.ErrnoError(54)}return node.node_ops.readdir(node)},unlink:function(path){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var errCode=FS.mayDelete(parent,name,false);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.unlink){throw new FS.ErrnoError(63)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}try{if(FS.trackingDelegate["willDeletePath"]){FS.trackingDelegate["willDeletePath"](path)}}catch(e){err("FS.trackingDelegate['willDeletePath']('"+path+"') threw an exception: "+e.message)}parent.node_ops.unlink(parent,name);FS.destroyNode(node);try{if(FS.trackingDelegate["onDeletePath"])FS.trackingDelegate["onDeletePath"](path)}catch(e){err("FS.trackingDelegate['onDeletePath']('"+path+"') threw an exception: "+e.message)}},readlink:function(path){var lookup=FS.lookupPath(path);var link=lookup.node;if(!link){throw new FS.ErrnoError(44)}if(!link.node_ops.readlink){throw new FS.ErrnoError(28)}return PATH_FS.resolve(FS.getPath(link.parent),link.node_ops.readlink(link))},stat:function(path,dontFollow){var lookup=FS.lookupPath(path,{follow:!dontFollow});var node=lookup.node;if(!node){throw new FS.ErrnoError(44)}if(!node.node_ops.getattr){throw new FS.ErrnoError(63)}return node.node_ops.getattr(node)},lstat:function(path){return FS.stat(path,true)},chmod:function(path,mode,dontFollow){var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}node.node_ops.setattr(node,{mode:mode&4095|node.mode&~4095,timestamp:Date.now()})},lchmod:function(path,mode){FS.chmod(path,mode,true)},fchmod:function(fd,mode){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}FS.chmod(stream.node,mode)},chown:function(path,uid,gid,dontFollow){var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}node.node_ops.setattr(node,{timestamp:Date.now()})},lchown:function(path,uid,gid){FS.chown(path,uid,gid,true)},fchown:function(fd,uid,gid){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}FS.chown(stream.node,uid,gid)},truncate:function(path,len){if(len<0){throw new FS.ErrnoError(28)}var node;if(typeof path==="string"){var lookup=FS.lookupPath(path,{follow:true});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}if(FS.isDir(node.mode)){throw new FS.ErrnoError(31)}if(!FS.isFile(node.mode)){throw new FS.ErrnoError(28)}var errCode=FS.nodePermissions(node,"w");if(errCode){throw new FS.ErrnoError(errCode)}node.node_ops.setattr(node,{size:len,timestamp:Date.now()})},ftruncate:function(fd,len){var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(28)}FS.truncate(stream.node,len)},utime:function(path,atime,mtime){var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;node.node_ops.setattr(node,{timestamp:Math.max(atime,mtime)})},open:function(path,flags,mode,fd_start,fd_end){if(path===""){throw new FS.ErrnoError(44)}flags=typeof flags==="string"?FS.modeStringToFlags(flags):flags;mode=typeof mode==="undefined"?438:mode;if(flags&64){mode=mode&4095|32768}else{mode=0}var node;if(typeof path==="object"){node=path}else{path=PATH.normalize(path);try{var lookup=FS.lookupPath(path,{follow:!(flags&131072)});node=lookup.node}catch(e){}}var created=false;if(flags&64){if(node){if(flags&128){throw new FS.ErrnoError(20)}}else{node=FS.mknod(path,mode,0);created=true}}if(!node){throw new FS.ErrnoError(44)}if(FS.isChrdev(node.mode)){flags&=~512}if(flags&65536&&!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}if(!created){var errCode=FS.mayOpen(node,flags);if(errCode){throw new FS.ErrnoError(errCode)}}if(flags&512){FS.truncate(node,0)}flags&=~(128|512|131072);var stream=FS.createStream({node:node,path:FS.getPath(node),flags:flags,seekable:true,position:0,stream_ops:node.stream_ops,ungotten:[],error:false},fd_start,fd_end);if(stream.stream_ops.open){stream.stream_ops.open(stream)}if(Module["logReadFiles"]&&!(flags&1)){if(!FS.readFiles)FS.readFiles={};if(!(path in FS.readFiles)){FS.readFiles[path]=1;err("FS.trackingDelegate error on read file: "+path)}}try{if(FS.trackingDelegate["onOpenFile"]){var trackingFlags=0;if((flags&2097155)!==1){trackingFlags|=FS.tracking.openFlags.READ}if((flags&2097155)!==0){trackingFlags|=FS.tracking.openFlags.WRITE}FS.trackingDelegate["onOpenFile"](path,trackingFlags)}}catch(e){err("FS.trackingDelegate['onOpenFile']('"+path+"', flags) threw an exception: "+e.message)}return stream},close:function(stream){if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(stream.getdents)stream.getdents=null;try{if(stream.stream_ops.close){stream.stream_ops.close(stream)}}catch(e){throw e}finally{FS.closeStream(stream.fd)}stream.fd=null},isClosed:function(stream){return stream.fd===null},llseek:function(stream,offset,whence){if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(!stream.seekable||!stream.stream_ops.llseek){throw new FS.ErrnoError(70)}if(whence!=0&&whence!=1&&whence!=2){throw new FS.ErrnoError(28)}stream.position=stream.stream_ops.llseek(stream,offset,whence);stream.ungotten=[];return stream.position},read:function(stream,buffer,offset,length,position){if(length<0||position<0){throw new FS.ErrnoError(28)}if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(8)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(31)}if(!stream.stream_ops.read){throw new FS.ErrnoError(28)}var seeking=typeof position!=="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(70)}var bytesRead=stream.stream_ops.read(stream,buffer,offset,length,position);if(!seeking)stream.position+=bytesRead;return bytesRead},write:function(stream,buffer,offset,length,position,canOwn){if(length<0||position<0){throw new FS.ErrnoError(28)}if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(8)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(31)}if(!stream.stream_ops.write){throw new FS.ErrnoError(28)}if(stream.seekable&&stream.flags&1024){FS.llseek(stream,0,2)}var seeking=typeof position!=="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(70)}var bytesWritten=stream.stream_ops.write(stream,buffer,offset,length,position,canOwn);if(!seeking)stream.position+=bytesWritten;try{if(stream.path&&FS.trackingDelegate["onWriteToFile"])FS.trackingDelegate["onWriteToFile"](stream.path)}catch(e){err("FS.trackingDelegate['onWriteToFile']('"+stream.path+"') threw an exception: "+e.message)}return bytesWritten},allocate:function(stream,offset,length){if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(offset<0||length<=0){throw new FS.ErrnoError(28)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(8)}if(!FS.isFile(stream.node.mode)&&!FS.isDir(stream.node.mode)){throw new FS.ErrnoError(43)}if(!stream.stream_ops.allocate){throw new FS.ErrnoError(138)}stream.stream_ops.allocate(stream,offset,length)},mmap:function(stream,address,length,position,prot,flags){if((prot&2)!==0&&(flags&2)===0&&(stream.flags&2097155)!==2){throw new FS.ErrnoError(2)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(2)}if(!stream.stream_ops.mmap){throw new FS.ErrnoError(43)}return stream.stream_ops.mmap(stream,address,length,position,prot,flags)},msync:function(stream,buffer,offset,length,mmapFlags){if(!stream||!stream.stream_ops.msync){return 0}return stream.stream_ops.msync(stream,buffer,offset,length,mmapFlags)},munmap:function(stream){return 0},ioctl:function(stream,cmd,arg){if(!stream.stream_ops.ioctl){throw new FS.ErrnoError(59)}return stream.stream_ops.ioctl(stream,cmd,arg)},readFile:function(path,opts){opts=opts||{};opts.flags=opts.flags||0;opts.encoding=opts.encoding||"binary";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error('Invalid encoding type "'+opts.encoding+'"')}var ret;var stream=FS.open(path,opts.flags);var stat=FS.stat(path);var length=stat.size;var buf=new Uint8Array(length);FS.read(stream,buf,0,length,0);if(opts.encoding==="utf8"){ret=UTF8ArrayToString(buf,0)}else if(opts.encoding==="binary"){ret=buf}FS.close(stream);return ret},writeFile:function(path,data,opts){opts=opts||{};opts.flags=opts.flags||577;var stream=FS.open(path,opts.flags,opts.mode);if(typeof data==="string"){var buf=new Uint8Array(lengthBytesUTF8(data)+1);var actualNumBytes=stringToUTF8Array(data,buf,0,buf.length);FS.write(stream,buf,0,actualNumBytes,undefined,opts.canOwn)}else if(ArrayBuffer.isView(data)){FS.write(stream,data,0,data.byteLength,undefined,opts.canOwn)}else{throw new Error("Unsupported data type")}FS.close(stream)},cwd:function(){return FS.currentPath},chdir:function(path){var lookup=FS.lookupPath(path,{follow:true});if(lookup.node===null){throw new FS.ErrnoError(44)}if(!FS.isDir(lookup.node.mode)){throw new FS.ErrnoError(54)}var errCode=FS.nodePermissions(lookup.node,"x");if(errCode){throw new FS.ErrnoError(errCode)}FS.currentPath=lookup.path},createDefaultDirectories:function(){FS.mkdir("/tmp");FS.mkdir("/home");FS.mkdir("/home/web_user")},createDefaultDevices:function(){FS.mkdir("/dev");FS.registerDevice(FS.makedev(1,3),{read:function(){return 0},write:function(stream,buffer,offset,length,pos){return length}});FS.mkdev("/dev/null",FS.makedev(1,3));TTY.register(FS.makedev(5,0),TTY.default_tty_ops);TTY.register(FS.makedev(6,0),TTY.default_tty1_ops);FS.mkdev("/dev/tty",FS.makedev(5,0));FS.mkdev("/dev/tty1",FS.makedev(6,0));var random_device=getRandomDevice();FS.createDevice("/dev","random",random_device);FS.createDevice("/dev","urandom",random_device);FS.mkdir("/dev/shm");FS.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){FS.mkdir("/proc");var proc_self=FS.mkdir("/proc/self");FS.mkdir("/proc/self/fd");FS.mount({mount:function(){var node=FS.createNode(proc_self,"fd",16384|511,73);node.node_ops={lookup:function(parent,name){var fd=+name;var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);var ret={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return stream.path}}};ret.parent=ret;return ret}};return node}},{},"/proc/self/fd")},createStandardStreams:function(){if(Module["stdin"]){FS.createDevice("/dev","stdin",Module["stdin"])}else{FS.symlink("/dev/tty","/dev/stdin")}if(Module["stdout"]){FS.createDevice("/dev","stdout",null,Module["stdout"])}else{FS.symlink("/dev/tty","/dev/stdout")}if(Module["stderr"]){FS.createDevice("/dev","stderr",null,Module["stderr"])}else{FS.symlink("/dev/tty1","/dev/stderr")}var stdin=FS.open("/dev/stdin",0);var stdout=FS.open("/dev/stdout",1);var stderr=FS.open("/dev/stderr",1)},ensureErrnoError:function(){if(FS.ErrnoError)return;FS.ErrnoError=function ErrnoError(errno,node){this.node=node;this.setErrno=function(errno){this.errno=errno};this.setErrno(errno);this.message="FS error"};FS.ErrnoError.prototype=new Error;FS.ErrnoError.prototype.constructor=FS.ErrnoError;[44].forEach(function(code){FS.genericErrors[code]=new FS.ErrnoError(code);FS.genericErrors[code].stack="<generic error, no stack>"})},staticInit:function(){FS.ensureErrnoError();FS.nameTable=new Array(4096);FS.mount(MEMFS,{},"/");FS.createDefaultDirectories();FS.createDefaultDevices();FS.createSpecialDirectories();FS.filesystems={"MEMFS":MEMFS}},init:function(input,output,error){FS.init.initialized=true;FS.ensureErrnoError();Module["stdin"]=input||Module["stdin"];Module["stdout"]=output||Module["stdout"];Module["stderr"]=error||Module["stderr"];FS.createStandardStreams()},quit:function(){FS.init.initialized=false;var fflush=Module["_fflush"];if(fflush)fflush(0);for(var i=0;i<FS.streams.length;i++){var stream=FS.streams[i];if(!stream){continue}FS.close(stream)}},getMode:function(canRead,canWrite){var mode=0;if(canRead)mode|=292|73;if(canWrite)mode|=146;return mode},findObject:function(path,dontResolveLastLink){var ret=FS.analyzePath(path,dontResolveLastLink);if(ret.exists){return ret.object}else{return null}},analyzePath:function(path,dontResolveLastLink){try{var lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});path=lookup.path}catch(e){}var ret={isRoot:false,exists:false,error:0,name:null,path:null,object:null,parentExists:false,parentPath:null,parentObject:null};try{var lookup=FS.lookupPath(path,{parent:true});ret.parentExists=true;ret.parentPath=lookup.path;ret.parentObject=lookup.node;ret.name=PATH.basename(path);lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});ret.exists=true;ret.path=lookup.path;ret.object=lookup.node;ret.name=lookup.node.name;ret.isRoot=lookup.path==="/"}catch(e){ret.error=e.errno}return ret},createPath:function(parent,path,canRead,canWrite){parent=typeof parent==="string"?parent:FS.getPath(parent);var parts=path.split("/").reverse();while(parts.length){var part=parts.pop();if(!part)continue;var current=PATH.join2(parent,part);try{FS.mkdir(current)}catch(e){}parent=current}return current},createFile:function(parent,name,properties,canRead,canWrite){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(canRead,canWrite);return FS.create(path,mode)},createDataFile:function(parent,name,data,canRead,canWrite,canOwn){var path=name?PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name):parent;var mode=FS.getMode(canRead,canWrite);var node=FS.create(path,mode);if(data){if(typeof data==="string"){var arr=new Array(data.length);for(var i=0,len=data.length;i<len;++i)arr[i]=data.charCodeAt(i);data=arr}FS.chmod(node,mode|146);var stream=FS.open(node,577);FS.write(stream,data,0,data.length,0,canOwn);FS.close(stream);FS.chmod(node,mode)}return node},createDevice:function(parent,name,input,output){var path=PATH.join2(typeof parent==="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(!!input,!!output);if(!FS.createDevice.major)FS.createDevice.major=64;var dev=FS.makedev(FS.createDevice.major++,0);FS.registerDevice(dev,{open:function(stream){stream.seekable=false},close:function(stream){if(output&&output.buffer&&output.buffer.length){output(10)}},read:function(stream,buffer,offset,length,pos){var bytesRead=0;for(var i=0;i<length;i++){var result;try{result=input()}catch(e){throw new FS.ErrnoError(29)}if(result===undefined&&bytesRead===0){throw new FS.ErrnoError(6)}if(result===null||result===undefined)break;bytesRead++;buffer[offset+i]=result}if(bytesRead){stream.node.timestamp=Date.now()}return bytesRead},write:function(stream,buffer,offset,length,pos){for(var i=0;i<length;i++){try{output(buffer[offset+i])}catch(e){throw new FS.ErrnoError(29)}}if(length){stream.node.timestamp=Date.now()}return i}});return FS.mkdev(path,mode,dev)},forceLoadFile:function(obj){if(obj.isDevice||obj.isFolder||obj.link||obj.contents)return true;if(typeof XMLHttpRequest!=="undefined"){throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.")}else if(read_){try{obj.contents=intArrayFromString(read_(obj.url),true);obj.usedBytes=obj.contents.length}catch(e){throw new FS.ErrnoError(29)}}else{throw new Error("Cannot load without read() or XMLHttpRequest.")}},createLazyFile:function(parent,name,url,canRead,canWrite){function LazyUint8Array(){this.lengthKnown=false;this.chunks=[]}LazyUint8Array.prototype.get=function LazyUint8Array_get(idx){if(idx>this.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}};var lazyArray=this;lazyArray.setDataGetter(function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;out("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._length}},chunkSize:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){FS.forceLoadFile(node);return fn.apply(null,arguments)}});stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){FS.forceLoadFile(node);var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i<size;i++){buffer[offset+i]=contents[position+i]}}else{for(var i=0;i<size;i++){buffer[offset+i]=contents.get(position+i)}}return size};node.stream_ops=stream_ops;return node},createPreloadedFile:function(parent,name,url,canRead,canWrite,onload,onerror,dontCreateFile,canOwn,preFinish){Browser.init();var fullname=name?PATH_FS.resolve(PATH.join2(parent,name)):parent;var dep=getUniqueRunDependency("cp "+fullname);function processData(byteArray){function finish(byteArray){if(preFinish)preFinish();if(!dontCreateFile){FS.createDataFile(parent,name,byteArray,canRead,canWrite,canOwn)}if(onload)onload();removeRunDependency(dep)}var handled=false;Module["preloadPlugins"].forEach(function(plugin){if(handled)return;if(plugin["canHandle"](fullname)){plugin["handle"](byteArray,fullname,finish,function(){if(onerror)onerror();removeRunDependency(dep)});handled=true}});if(!handled)finish(byteArray)}addRunDependency(dep);if(typeof url=="string"){Browser.asyncLoad(url,function(byteArray){processData(byteArray)},onerror)}else{processData(url)}},indexedDB:function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},DB_NAME:function(){return"EM_FS_"+window.location.pathname},DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:function(paths,onload,onerror){onload=onload||function(){};onerror=onerror||function(){};var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=function openRequest_onupgradeneeded(){out("creating db");var db=openRequest.result;db.createObjectStore(FS.DB_STORE_NAME)};openRequest.onsuccess=function openRequest_onsuccess(){var db=openRequest.result;var transaction=db.transaction([FS.DB_STORE_NAME],"readwrite");var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach(function(path){var putRequest=files.put(FS.analyzePath(path).object.contents,path);putRequest.onsuccess=function putRequest_onsuccess(){ok++;if(ok+fail==total)finish()};putRequest.onerror=function putRequest_onerror(){fail++;if(ok+fail==total)finish()}});transaction.onerror=onerror};openRequest.onerror=onerror},loadFilesFromDB:function(paths,onload,onerror){onload=onload||function(){};onerror=onerror||function(){};var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=onerror;openRequest.onsuccess=function openRequest_onsuccess(){var db=openRequest.result;try{var transaction=db.transaction([FS.DB_STORE_NAME],"readonly")}catch(e){onerror(e);return}var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach(function(path){var getRequest=files.get(path);getRequest.onsuccess=function getRequest_onsuccess(){if(FS.analyzePath(path).exists){FS.unlink(path)}FS.createDataFile(PATH.dirname(path),PATH.basename(path),getRequest.result,true,true,true);ok++;if(ok+fail==total)finish()};getRequest.onerror=function getRequest_onerror(){fail++;if(ok+fail==total)finish()}});transaction.onerror=onerror};openRequest.onerror=onerror}};var SYSCALLS={mappings:{},DEFAULT_POLLMASK:5,umask:511,calculateAt:function(dirfd,path,allowEmpty){if(path[0]==="/"){return path}var dir;if(dirfd===-100){dir=FS.cwd()}else{var dirstream=FS.getStream(dirfd);if(!dirstream)throw new FS.ErrnoError(8);dir=dirstream.path}if(path.length==0){if(!allowEmpty){throw new FS.ErrnoError(44)}return dir}return PATH.join2(dir,path)},doStat:function(func,path,buf){try{var stat=func(path)}catch(e){if(e&&e.node&&PATH.normalize(path)!==PATH.normalize(FS.getPath(e.node))){return-54}throw e}HEAP32[buf>>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;HEAP32[buf+56>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+76>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+80>>2]=tempI64[0],HEAP32[buf+84>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags,offset){var buffer=HEAPU8.slice(addr,addr+len);FS.msync(stream,buffer,offset,len,flags)},doMkdir:function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0},doMknod:function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}FS.mknod(path,mode,dev);return 0},doReadlink:function(path,buf,bufsize){if(bufsize<=0)return-28;var ret=FS.readlink(path);var len=Math.min(bufsize,lengthBytesUTF8(ret));var endChar=HEAP8[buf+len];stringToUTF8(ret,buf,bufsize+1);HEAP8[buf+len]=endChar;return len},doAccess:function(path,amode){if(amode&~7){return-28}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;if(!node){return-44}var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-2}return 0},doDup:function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd},doReadv:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i<iovcnt;i++){var ptr=HEAP32[iov+i*8>>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr<len)break}return ret},doWritev:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i<iovcnt;i++){var ptr=HEAP32[iov+i*8>>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},getStreamFromFD:function(fd){var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream},get64:function(low,high){return low}};function ___sys_access(path,amode){try{path=SYSCALLS.getStr(path);return SYSCALLS.doAccess(path,amode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_chmod(path,mode){try{path=SYSCALLS.getStr(path);FS.chmod(path,mode);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-28}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0;case 16:case 8:return-28;case 9:setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_fstat64(fd,buf){try{var stream=SYSCALLS.getStreamFromFD(fd);return SYSCALLS.doStat(FS.stat,stream.path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_getcwd(buf,size){try{if(size===0)return-28;var cwd=FS.cwd();var cwdLengthInBytes=lengthBytesUTF8(cwd);if(size<cwdLengthInBytes+1)return-68;stringToUTF8(cwd,buf,size);return buf}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_getdents64(fd,dirp,count){try{var stream=SYSCALLS.getStreamFromFD(fd);if(!stream.getdents){stream.getdents=FS.readdir(stream.path)}var struct_size=280;var pos=0;var off=FS.llseek(stream,0,1);var idx=Math.floor(off/struct_size);while(idx<stream.getdents.length&&pos+struct_size<=count){var id;var type;var name=stream.getdents[idx];if(name[0]==="."){id=1;type=4}else{var child=FS.lookupNode(stream.node,name);id=child.id;type=FS.isChrdev(child.mode)?2:FS.isDir(child.mode)?4:FS.isLink(child.mode)?10:8}tempI64=[id>>>0,(tempDouble=id,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[dirp+pos>>2]=tempI64[0],HEAP32[dirp+pos+4>>2]=tempI64[1];tempI64=[(idx+1)*struct_size>>>0,(tempDouble=(idx+1)*struct_size,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[dirp+pos+8>>2]=tempI64[0],HEAP32[dirp+pos+12>>2]=tempI64[1];HEAP16[dirp+pos+16>>1]=280;HEAP8[dirp+pos+18>>0]=type;stringToUTF8(name,dirp+pos+19,256);pos+=struct_size;idx+=1}FS.llseek(stream,idx*struct_size,0);return pos}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_getpid(){return 42}function ___sys_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_link(oldpath,newpath){return-34}function ___sys_lstat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.lstat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_mkdir(path,mode){try{path=SYSCALLS.getStr(path);return SYSCALLS.doMkdir(path,mode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_mprotect(addr,len,size){return 0}function ___sys_open(path,flags,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(path);var mode=varargs?SYSCALLS.get():0;var stream=FS.open(pathname,flags,mode);return stream.fd}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_readlink(path,buf,bufsize){try{path=SYSCALLS.getStr(path);return SYSCALLS.doReadlink(path,buf,bufsize)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_rename(old_path,new_path){try{old_path=SYSCALLS.getStr(old_path);new_path=SYSCALLS.getStr(new_path);FS.rename(old_path,new_path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_rmdir(path){try{path=SYSCALLS.getStr(path);FS.rmdir(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_stat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.stat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_symlink(target,linkpath){try{target=SYSCALLS.getStr(target);linkpath=SYSCALLS.getStr(linkpath);FS.symlink(target,linkpath);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_unlink(path){try{path=SYSCALLS.getStr(path);FS.unlink(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _abort(){abort()}function _emscripten_get_heap_max(){return 2147483648}function _longjmp(env,value){_setThrew(env,value||1);throw"longjmp"}function _emscripten_longjmp(a0,a1){return _longjmp(a0,a1)}var _emscripten_memcpy_big=Uint8Array.prototype.copyWithin?function(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}:function(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest)};function emscripten_realloc_buffer(size){try{wasmMemory.grow(size-buffer.byteLength+65535>>>16);updateGlobalBufferAndViews(wasmMemory.buffer);return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;requestedSize=requestedSize>>>0;var maxHeapSize=2147483648;if(requestedSize>maxHeapSize){return false}for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}var ENV={};function getExecutableName(){return thisProgram||"./this.program"}function getEnvStrings(){if(!getEnvStrings.strings){var lang=(typeof navigator==="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8";var env={"USER":"web_user","LOGNAME":"web_user","PATH":"/","PWD":"/","HOME":"/home/web_user","LANG":lang,"_":getExecutableName()};for(var x in ENV){env[x]=ENV[x]}var strings=[];for(var x in env){strings.push(x+"="+env[x])}getEnvStrings.strings=strings}return getEnvStrings.strings}function _environ_get(__environ,environ_buf){try{var bufSize=0;getEnvStrings().forEach(function(string,i){var ptr=environ_buf+bufSize;HEAP32[__environ+i*4>>2]=ptr;writeAsciiToMemory(string,ptr);bufSize+=string.length+1});return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _environ_sizes_get(penviron_count,penviron_buf_size){try{var strings=getEnvStrings();HEAP32[penviron_count>>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1});HEAP32[penviron_buf_size>>2]=bufSize;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_close(fd){try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_fdstat_get(fd,pbuf){try{var stream=SYSCALLS.getStreamFromFD(fd);var type=stream.tty?2:FS.isDir(stream.mode)?3:FS.isLink(stream.mode)?7:4;HEAP8[pbuf>>0]=type;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_read(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doReadv(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){try{var stream=SYSCALLS.getStreamFromFD(fd);var HIGH_OFFSET=4294967296;var offset=offset_high*HIGH_OFFSET+(offset_low>>>0);var DOUBLE_LIMIT=9007199254740992;if(offset<=-DOUBLE_LIMIT||offset>=DOUBLE_LIMIT){return-61}FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doWritev(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _gettimeofday(ptr){var now=Date.now();HEAP32[ptr>>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}Module["requestFullscreen"]=function Module_requestFullscreen(lockPointer,resizeCanvas){Browser.requestFullscreen(lockPointer,resizeCanvas)};Module["requestAnimationFrame"]=function Module_requestAnimationFrame(func){Browser.requestAnimationFrame(func)};Module["setCanvasSize"]=function Module_setCanvasSize(width,height,noUpdates){Browser.setCanvasSize(width,height,noUpdates)};Module["pauseMainLoop"]=function Module_pauseMainLoop(){Browser.mainLoop.pause()};Module["resumeMainLoop"]=function Module_resumeMainLoop(){Browser.mainLoop.resume()};Module["getUserMedia"]=function Module_getUserMedia(){Browser.getUserMedia()};Module["createContext"]=function Module_createContext(canvas,useWebGL,setInModule,webGLContextAttributes){return Browser.createContext(canvas,useWebGL,setInModule,webGLContextAttributes)};var FSNode=function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev};var readMode=292|73;var writeMode=146;Object.defineProperties(FSNode.prototype,{read:{get:function(){return(this.mode&readMode)===readMode},set:function(val){val?this.mode|=readMode:this.mode&=~readMode}},write:{get:function(){return(this.mode&writeMode)===writeMode},set:function(val){val?this.mode|=writeMode:this.mode&=~writeMode}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}});FS.FSNode=FSNode;FS.staticInit();Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createPath"]=FS.createPath;Module["FS_createPath"]=FS.createPath;Module["FS_createDataFile"]=FS.createDataFile;Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createLazyFile"]=FS.createLazyFile;Module["FS_createDevice"]=FS.createDevice;Module["FS_unlink"]=FS.unlink;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 asmLibraryArg={"b":___assert_fail,"K":___clock_gettime,"F":___sys_access,"N":___sys_chmod,"d":___sys_fcntl64,"L":___sys_fstat64,"D":___sys_getcwd,"J":___sys_getdents64,"h":___sys_getpid,"A":___sys_ioctl,"H":___sys_link,"M":___sys_lstat64,"O":___sys_mkdir,"B":___sys_mprotect,"l":___sys_open,"G":___sys_readlink,"z":___sys_rename,"I":___sys_rmdir,"o":___sys_stat64,"E":___sys_symlink,"C":___sys_unlink,"p":_abort,"P":_emscripten_get_heap_max,"q":_emscripten_get_now,"f":_emscripten_longjmp,"u":_emscripten_memcpy_big,"v":_emscripten_resize_heap,"x":_environ_get,"y":_environ_sizes_get,"i":_exit,"g":_fd_close,"w":_fd_fdstat_get,"n":_fd_read,"t":_fd_seek,"k":_fd_write,"e":getTempRet0,"Q":_gettimeofday,"s":invoke_iii,"m":invoke_iiii,"r":invoke_iiiii,"a":wasmMemory,"c":setTempRet0,"j":_time};var asm=createWasm();var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["R"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["S"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["T"]).apply(null,arguments)};var _main=Module["_main"]=function(){return(_main=Module["_main"]=Module["asm"]["U"]).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"]["V"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_w_0=Module["_emscripten_bind_ASS_Image_get_w_0"]=function(){return(_emscripten_bind_ASS_Image_get_w_0=Module["_emscripten_bind_ASS_Image_get_w_0"]=Module["asm"]["W"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_w_1=Module["_emscripten_bind_ASS_Image_set_w_1"]=function(){return(_emscripten_bind_ASS_Image_set_w_1=Module["_emscripten_bind_ASS_Image_set_w_1"]=Module["asm"]["X"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_h_0=Module["_emscripten_bind_ASS_Image_get_h_0"]=function(){return(_emscripten_bind_ASS_Image_get_h_0=Module["_emscripten_bind_ASS_Image_get_h_0"]=Module["asm"]["Y"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_h_1=Module["_emscripten_bind_ASS_Image_set_h_1"]=function(){return(_emscripten_bind_ASS_Image_set_h_1=Module["_emscripten_bind_ASS_Image_set_h_1"]=Module["asm"]["Z"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_stride_0=Module["_emscripten_bind_ASS_Image_get_stride_0"]=function(){return(_emscripten_bind_ASS_Image_get_stride_0=Module["_emscripten_bind_ASS_Image_get_stride_0"]=Module["asm"]["_"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_stride_1=Module["_emscripten_bind_ASS_Image_set_stride_1"]=function(){return(_emscripten_bind_ASS_Image_set_stride_1=Module["_emscripten_bind_ASS_Image_set_stride_1"]=Module["asm"]["$"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_bitmap_0=Module["_emscripten_bind_ASS_Image_get_bitmap_0"]=function(){return(_emscripten_bind_ASS_Image_get_bitmap_0=Module["_emscripten_bind_ASS_Image_get_bitmap_0"]=Module["asm"]["aa"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_bitmap_1=Module["_emscripten_bind_ASS_Image_set_bitmap_1"]=function(){return(_emscripten_bind_ASS_Image_set_bitmap_1=Module["_emscripten_bind_ASS_Image_set_bitmap_1"]=Module["asm"]["ba"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_color_0=Module["_emscripten_bind_ASS_Image_get_color_0"]=function(){return(_emscripten_bind_ASS_Image_get_color_0=Module["_emscripten_bind_ASS_Image_get_color_0"]=Module["asm"]["ca"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_color_1=Module["_emscripten_bind_ASS_Image_set_color_1"]=function(){return(_emscripten_bind_ASS_Image_set_color_1=Module["_emscripten_bind_ASS_Image_set_color_1"]=Module["asm"]["da"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_dst_x_0=Module["_emscripten_bind_ASS_Image_get_dst_x_0"]=function(){return(_emscripten_bind_ASS_Image_get_dst_x_0=Module["_emscripten_bind_ASS_Image_get_dst_x_0"]=Module["asm"]["ea"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_dst_x_1=Module["_emscripten_bind_ASS_Image_set_dst_x_1"]=function(){return(_emscripten_bind_ASS_Image_set_dst_x_1=Module["_emscripten_bind_ASS_Image_set_dst_x_1"]=Module["asm"]["fa"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_dst_y_0=Module["_emscripten_bind_ASS_Image_get_dst_y_0"]=function(){return(_emscripten_bind_ASS_Image_get_dst_y_0=Module["_emscripten_bind_ASS_Image_get_dst_y_0"]=Module["asm"]["ga"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_dst_y_1=Module["_emscripten_bind_ASS_Image_set_dst_y_1"]=function(){return(_emscripten_bind_ASS_Image_set_dst_y_1=Module["_emscripten_bind_ASS_Image_set_dst_y_1"]=Module["asm"]["ha"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_next_0=Module["_emscripten_bind_ASS_Image_get_next_0"]=function(){return(_emscripten_bind_ASS_Image_get_next_0=Module["_emscripten_bind_ASS_Image_get_next_0"]=Module["asm"]["ia"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_next_1=Module["_emscripten_bind_ASS_Image_set_next_1"]=function(){return(_emscripten_bind_ASS_Image_set_next_1=Module["_emscripten_bind_ASS_Image_set_next_1"]=Module["asm"]["ja"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Name_0=Module["_emscripten_bind_ASS_Style_get_Name_0"]=function(){return(_emscripten_bind_ASS_Style_get_Name_0=Module["_emscripten_bind_ASS_Style_get_Name_0"]=Module["asm"]["ka"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Name_1=Module["_emscripten_bind_ASS_Style_set_Name_1"]=function(){return(_emscripten_bind_ASS_Style_set_Name_1=Module["_emscripten_bind_ASS_Style_set_Name_1"]=Module["asm"]["la"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_FontName_0=Module["_emscripten_bind_ASS_Style_get_FontName_0"]=function(){return(_emscripten_bind_ASS_Style_get_FontName_0=Module["_emscripten_bind_ASS_Style_get_FontName_0"]=Module["asm"]["ma"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_FontName_1=Module["_emscripten_bind_ASS_Style_set_FontName_1"]=function(){return(_emscripten_bind_ASS_Style_set_FontName_1=Module["_emscripten_bind_ASS_Style_set_FontName_1"]=Module["asm"]["na"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_FontSize_0=Module["_emscripten_bind_ASS_Style_get_FontSize_0"]=function(){return(_emscripten_bind_ASS_Style_get_FontSize_0=Module["_emscripten_bind_ASS_Style_get_FontSize_0"]=Module["asm"]["oa"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_FontSize_1=Module["_emscripten_bind_ASS_Style_set_FontSize_1"]=function(){return(_emscripten_bind_ASS_Style_set_FontSize_1=Module["_emscripten_bind_ASS_Style_set_FontSize_1"]=Module["asm"]["pa"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_PrimaryColour_0=Module["_emscripten_bind_ASS_Style_get_PrimaryColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_PrimaryColour_0=Module["_emscripten_bind_ASS_Style_get_PrimaryColour_0"]=Module["asm"]["qa"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_PrimaryColour_1=Module["_emscripten_bind_ASS_Style_set_PrimaryColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_PrimaryColour_1=Module["_emscripten_bind_ASS_Style_set_PrimaryColour_1"]=Module["asm"]["ra"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_SecondaryColour_0=Module["_emscripten_bind_ASS_Style_get_SecondaryColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_SecondaryColour_0=Module["_emscripten_bind_ASS_Style_get_SecondaryColour_0"]=Module["asm"]["sa"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_SecondaryColour_1=Module["_emscripten_bind_ASS_Style_set_SecondaryColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_SecondaryColour_1=Module["_emscripten_bind_ASS_Style_set_SecondaryColour_1"]=Module["asm"]["ta"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_OutlineColour_0=Module["_emscripten_bind_ASS_Style_get_OutlineColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_OutlineColour_0=Module["_emscripten_bind_ASS_Style_get_OutlineColour_0"]=Module["asm"]["ua"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_OutlineColour_1=Module["_emscripten_bind_ASS_Style_set_OutlineColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_OutlineColour_1=Module["_emscripten_bind_ASS_Style_set_OutlineColour_1"]=Module["asm"]["va"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_BackColour_0=Module["_emscripten_bind_ASS_Style_get_BackColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_BackColour_0=Module["_emscripten_bind_ASS_Style_get_BackColour_0"]=Module["asm"]["wa"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_BackColour_1=Module["_emscripten_bind_ASS_Style_set_BackColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_BackColour_1=Module["_emscripten_bind_ASS_Style_set_BackColour_1"]=Module["asm"]["xa"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Bold_0=Module["_emscripten_bind_ASS_Style_get_Bold_0"]=function(){return(_emscripten_bind_ASS_Style_get_Bold_0=Module["_emscripten_bind_ASS_Style_get_Bold_0"]=Module["asm"]["ya"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Bold_1=Module["_emscripten_bind_ASS_Style_set_Bold_1"]=function(){return(_emscripten_bind_ASS_Style_set_Bold_1=Module["_emscripten_bind_ASS_Style_set_Bold_1"]=Module["asm"]["za"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Italic_0=Module["_emscripten_bind_ASS_Style_get_Italic_0"]=function(){return(_emscripten_bind_ASS_Style_get_Italic_0=Module["_emscripten_bind_ASS_Style_get_Italic_0"]=Module["asm"]["Aa"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Italic_1=Module["_emscripten_bind_ASS_Style_set_Italic_1"]=function(){return(_emscripten_bind_ASS_Style_set_Italic_1=Module["_emscripten_bind_ASS_Style_set_Italic_1"]=Module["asm"]["Ba"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Underline_0=Module["_emscripten_bind_ASS_Style_get_Underline_0"]=function(){return(_emscripten_bind_ASS_Style_get_Underline_0=Module["_emscripten_bind_ASS_Style_get_Underline_0"]=Module["asm"]["Ca"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Underline_1=Module["_emscripten_bind_ASS_Style_set_Underline_1"]=function(){return(_emscripten_bind_ASS_Style_set_Underline_1=Module["_emscripten_bind_ASS_Style_set_Underline_1"]=Module["asm"]["Da"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_StrikeOut_0=Module["_emscripten_bind_ASS_Style_get_StrikeOut_0"]=function(){return(_emscripten_bind_ASS_Style_get_StrikeOut_0=Module["_emscripten_bind_ASS_Style_get_StrikeOut_0"]=Module["asm"]["Ea"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_StrikeOut_1=Module["_emscripten_bind_ASS_Style_set_StrikeOut_1"]=function(){return(_emscripten_bind_ASS_Style_set_StrikeOut_1=Module["_emscripten_bind_ASS_Style_set_StrikeOut_1"]=Module["asm"]["Fa"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_ScaleX_0=Module["_emscripten_bind_ASS_Style_get_ScaleX_0"]=function(){return(_emscripten_bind_ASS_Style_get_ScaleX_0=Module["_emscripten_bind_ASS_Style_get_ScaleX_0"]=Module["asm"]["Ga"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_ScaleX_1=Module["_emscripten_bind_ASS_Style_set_ScaleX_1"]=function(){return(_emscripten_bind_ASS_Style_set_ScaleX_1=Module["_emscripten_bind_ASS_Style_set_ScaleX_1"]=Module["asm"]["Ha"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_ScaleY_0=Module["_emscripten_bind_ASS_Style_get_ScaleY_0"]=function(){return(_emscripten_bind_ASS_Style_get_ScaleY_0=Module["_emscripten_bind_ASS_Style_get_ScaleY_0"]=Module["asm"]["Ia"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_ScaleY_1=Module["_emscripten_bind_ASS_Style_set_ScaleY_1"]=function(){return(_emscripten_bind_ASS_Style_set_ScaleY_1=Module["_emscripten_bind_ASS_Style_set_ScaleY_1"]=Module["asm"]["Ja"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Spacing_0=Module["_emscripten_bind_ASS_Style_get_Spacing_0"]=function(){return(_emscripten_bind_ASS_Style_get_Spacing_0=Module["_emscripten_bind_ASS_Style_get_Spacing_0"]=Module["asm"]["Ka"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Spacing_1=Module["_emscripten_bind_ASS_Style_set_Spacing_1"]=function(){return(_emscripten_bind_ASS_Style_set_Spacing_1=Module["_emscripten_bind_ASS_Style_set_Spacing_1"]=Module["asm"]["La"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Angle_0=Module["_emscripten_bind_ASS_Style_get_Angle_0"]=function(){return(_emscripten_bind_ASS_Style_get_Angle_0=Module["_emscripten_bind_ASS_Style_get_Angle_0"]=Module["asm"]["Ma"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Angle_1=Module["_emscripten_bind_ASS_Style_set_Angle_1"]=function(){return(_emscripten_bind_ASS_Style_set_Angle_1=Module["_emscripten_bind_ASS_Style_set_Angle_1"]=Module["asm"]["Na"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_BorderStyle_0=Module["_emscripten_bind_ASS_Style_get_BorderStyle_0"]=function(){return(_emscripten_bind_ASS_Style_get_BorderStyle_0=Module["_emscripten_bind_ASS_Style_get_BorderStyle_0"]=Module["asm"]["Oa"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_BorderStyle_1=Module["_emscripten_bind_ASS_Style_set_BorderStyle_1"]=function(){return(_emscripten_bind_ASS_Style_set_BorderStyle_1=Module["_emscripten_bind_ASS_Style_set_BorderStyle_1"]=Module["asm"]["Pa"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Outline_0=Module["_emscripten_bind_ASS_Style_get_Outline_0"]=function(){return(_emscripten_bind_ASS_Style_get_Outline_0=Module["_emscripten_bind_ASS_Style_get_Outline_0"]=Module["asm"]["Qa"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Outline_1=Module["_emscripten_bind_ASS_Style_set_Outline_1"]=function(){return(_emscripten_bind_ASS_Style_set_Outline_1=Module["_emscripten_bind_ASS_Style_set_Outline_1"]=Module["asm"]["Ra"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Shadow_0=Module["_emscripten_bind_ASS_Style_get_Shadow_0"]=function(){return(_emscripten_bind_ASS_Style_get_Shadow_0=Module["_emscripten_bind_ASS_Style_get_Shadow_0"]=Module["asm"]["Sa"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Shadow_1=Module["_emscripten_bind_ASS_Style_set_Shadow_1"]=function(){return(_emscripten_bind_ASS_Style_set_Shadow_1=Module["_emscripten_bind_ASS_Style_set_Shadow_1"]=Module["asm"]["Ta"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Alignment_0=Module["_emscripten_bind_ASS_Style_get_Alignment_0"]=function(){return(_emscripten_bind_ASS_Style_get_Alignment_0=Module["_emscripten_bind_ASS_Style_get_Alignment_0"]=Module["asm"]["Ua"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Alignment_1=Module["_emscripten_bind_ASS_Style_set_Alignment_1"]=function(){return(_emscripten_bind_ASS_Style_set_Alignment_1=Module["_emscripten_bind_ASS_Style_set_Alignment_1"]=Module["asm"]["Va"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_MarginL_0=Module["_emscripten_bind_ASS_Style_get_MarginL_0"]=function(){return(_emscripten_bind_ASS_Style_get_MarginL_0=Module["_emscripten_bind_ASS_Style_get_MarginL_0"]=Module["asm"]["Wa"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_MarginL_1=Module["_emscripten_bind_ASS_Style_set_MarginL_1"]=function(){return(_emscripten_bind_ASS_Style_set_MarginL_1=Module["_emscripten_bind_ASS_Style_set_MarginL_1"]=Module["asm"]["Xa"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_MarginR_0=Module["_emscripten_bind_ASS_Style_get_MarginR_0"]=function(){return(_emscripten_bind_ASS_Style_get_MarginR_0=Module["_emscripten_bind_ASS_Style_get_MarginR_0"]=Module["asm"]["Ya"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_MarginR_1=Module["_emscripten_bind_ASS_Style_set_MarginR_1"]=function(){return(_emscripten_bind_ASS_Style_set_MarginR_1=Module["_emscripten_bind_ASS_Style_set_MarginR_1"]=Module["asm"]["Za"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_MarginV_0=Module["_emscripten_bind_ASS_Style_get_MarginV_0"]=function(){return(_emscripten_bind_ASS_Style_get_MarginV_0=Module["_emscripten_bind_ASS_Style_get_MarginV_0"]=Module["asm"]["_a"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_MarginV_1=Module["_emscripten_bind_ASS_Style_set_MarginV_1"]=function(){return(_emscripten_bind_ASS_Style_set_MarginV_1=Module["_emscripten_bind_ASS_Style_set_MarginV_1"]=Module["asm"]["$a"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Encoding_0=Module["_emscripten_bind_ASS_Style_get_Encoding_0"]=function(){return(_emscripten_bind_ASS_Style_get_Encoding_0=Module["_emscripten_bind_ASS_Style_get_Encoding_0"]=Module["asm"]["ab"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Encoding_1=Module["_emscripten_bind_ASS_Style_set_Encoding_1"]=function(){return(_emscripten_bind_ASS_Style_set_Encoding_1=Module["_emscripten_bind_ASS_Style_set_Encoding_1"]=Module["asm"]["bb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0=Module["_emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0"]=function(){return(_emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0=Module["_emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0"]=Module["asm"]["cb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1=Module["_emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1"]=function(){return(_emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1=Module["_emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1"]=Module["asm"]["db"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Blur_0=Module["_emscripten_bind_ASS_Style_get_Blur_0"]=function(){return(_emscripten_bind_ASS_Style_get_Blur_0=Module["_emscripten_bind_ASS_Style_get_Blur_0"]=Module["asm"]["eb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Blur_1=Module["_emscripten_bind_ASS_Style_set_Blur_1"]=function(){return(_emscripten_bind_ASS_Style_set_Blur_1=Module["_emscripten_bind_ASS_Style_set_Blur_1"]=Module["asm"]["fb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Justify_0=Module["_emscripten_bind_ASS_Style_get_Justify_0"]=function(){return(_emscripten_bind_ASS_Style_get_Justify_0=Module["_emscripten_bind_ASS_Style_get_Justify_0"]=Module["asm"]["gb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Justify_1=Module["_emscripten_bind_ASS_Style_set_Justify_1"]=function(){return(_emscripten_bind_ASS_Style_set_Justify_1=Module["_emscripten_bind_ASS_Style_set_Justify_1"]=Module["asm"]["hb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Start_0=Module["_emscripten_bind_ASS_Event_get_Start_0"]=function(){return(_emscripten_bind_ASS_Event_get_Start_0=Module["_emscripten_bind_ASS_Event_get_Start_0"]=Module["asm"]["ib"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Start_1=Module["_emscripten_bind_ASS_Event_set_Start_1"]=function(){return(_emscripten_bind_ASS_Event_set_Start_1=Module["_emscripten_bind_ASS_Event_set_Start_1"]=Module["asm"]["jb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Duration_0=Module["_emscripten_bind_ASS_Event_get_Duration_0"]=function(){return(_emscripten_bind_ASS_Event_get_Duration_0=Module["_emscripten_bind_ASS_Event_get_Duration_0"]=Module["asm"]["kb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Duration_1=Module["_emscripten_bind_ASS_Event_set_Duration_1"]=function(){return(_emscripten_bind_ASS_Event_set_Duration_1=Module["_emscripten_bind_ASS_Event_set_Duration_1"]=Module["asm"]["lb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_ReadOrder_0=Module["_emscripten_bind_ASS_Event_get_ReadOrder_0"]=function(){return(_emscripten_bind_ASS_Event_get_ReadOrder_0=Module["_emscripten_bind_ASS_Event_get_ReadOrder_0"]=Module["asm"]["mb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_ReadOrder_1=Module["_emscripten_bind_ASS_Event_set_ReadOrder_1"]=function(){return(_emscripten_bind_ASS_Event_set_ReadOrder_1=Module["_emscripten_bind_ASS_Event_set_ReadOrder_1"]=Module["asm"]["nb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Layer_0=Module["_emscripten_bind_ASS_Event_get_Layer_0"]=function(){return(_emscripten_bind_ASS_Event_get_Layer_0=Module["_emscripten_bind_ASS_Event_get_Layer_0"]=Module["asm"]["ob"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Layer_1=Module["_emscripten_bind_ASS_Event_set_Layer_1"]=function(){return(_emscripten_bind_ASS_Event_set_Layer_1=Module["_emscripten_bind_ASS_Event_set_Layer_1"]=Module["asm"]["pb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Style_0=Module["_emscripten_bind_ASS_Event_get_Style_0"]=function(){return(_emscripten_bind_ASS_Event_get_Style_0=Module["_emscripten_bind_ASS_Event_get_Style_0"]=Module["asm"]["qb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Style_1=Module["_emscripten_bind_ASS_Event_set_Style_1"]=function(){return(_emscripten_bind_ASS_Event_set_Style_1=Module["_emscripten_bind_ASS_Event_set_Style_1"]=Module["asm"]["rb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Name_0=Module["_emscripten_bind_ASS_Event_get_Name_0"]=function(){return(_emscripten_bind_ASS_Event_get_Name_0=Module["_emscripten_bind_ASS_Event_get_Name_0"]=Module["asm"]["sb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Name_1=Module["_emscripten_bind_ASS_Event_set_Name_1"]=function(){return(_emscripten_bind_ASS_Event_set_Name_1=Module["_emscripten_bind_ASS_Event_set_Name_1"]=Module["asm"]["tb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_MarginL_0=Module["_emscripten_bind_ASS_Event_get_MarginL_0"]=function(){return(_emscripten_bind_ASS_Event_get_MarginL_0=Module["_emscripten_bind_ASS_Event_get_MarginL_0"]=Module["asm"]["ub"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_MarginL_1=Module["_emscripten_bind_ASS_Event_set_MarginL_1"]=function(){return(_emscripten_bind_ASS_Event_set_MarginL_1=Module["_emscripten_bind_ASS_Event_set_MarginL_1"]=Module["asm"]["vb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_MarginR_0=Module["_emscripten_bind_ASS_Event_get_MarginR_0"]=function(){return(_emscripten_bind_ASS_Event_get_MarginR_0=Module["_emscripten_bind_ASS_Event_get_MarginR_0"]=Module["asm"]["wb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_MarginR_1=Module["_emscripten_bind_ASS_Event_set_MarginR_1"]=function(){return(_emscripten_bind_ASS_Event_set_MarginR_1=Module["_emscripten_bind_ASS_Event_set_MarginR_1"]=Module["asm"]["xb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_MarginV_0=Module["_emscripten_bind_ASS_Event_get_MarginV_0"]=function(){return(_emscripten_bind_ASS_Event_get_MarginV_0=Module["_emscripten_bind_ASS_Event_get_MarginV_0"]=Module["asm"]["yb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_MarginV_1=Module["_emscripten_bind_ASS_Event_set_MarginV_1"]=function(){return(_emscripten_bind_ASS_Event_set_MarginV_1=Module["_emscripten_bind_ASS_Event_set_MarginV_1"]=Module["asm"]["zb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Effect_0=Module["_emscripten_bind_ASS_Event_get_Effect_0"]=function(){return(_emscripten_bind_ASS_Event_get_Effect_0=Module["_emscripten_bind_ASS_Event_get_Effect_0"]=Module["asm"]["Ab"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Effect_1=Module["_emscripten_bind_ASS_Event_set_Effect_1"]=function(){return(_emscripten_bind_ASS_Event_set_Effect_1=Module["_emscripten_bind_ASS_Event_set_Effect_1"]=Module["asm"]["Bb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Text_0=Module["_emscripten_bind_ASS_Event_get_Text_0"]=function(){return(_emscripten_bind_ASS_Event_get_Text_0=Module["_emscripten_bind_ASS_Event_get_Text_0"]=Module["asm"]["Cb"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Text_1=Module["_emscripten_bind_ASS_Event_set_Text_1"]=function(){return(_emscripten_bind_ASS_Event_set_Text_1=Module["_emscripten_bind_ASS_Event_set_Text_1"]=Module["asm"]["Db"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_n_styles_0=Module["_emscripten_bind_ASS_Track_get_n_styles_0"]=function(){return(_emscripten_bind_ASS_Track_get_n_styles_0=Module["_emscripten_bind_ASS_Track_get_n_styles_0"]=Module["asm"]["Eb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_n_styles_1=Module["_emscripten_bind_ASS_Track_set_n_styles_1"]=function(){return(_emscripten_bind_ASS_Track_set_n_styles_1=Module["_emscripten_bind_ASS_Track_set_n_styles_1"]=Module["asm"]["Fb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_max_styles_0=Module["_emscripten_bind_ASS_Track_get_max_styles_0"]=function(){return(_emscripten_bind_ASS_Track_get_max_styles_0=Module["_emscripten_bind_ASS_Track_get_max_styles_0"]=Module["asm"]["Gb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_max_styles_1=Module["_emscripten_bind_ASS_Track_set_max_styles_1"]=function(){return(_emscripten_bind_ASS_Track_set_max_styles_1=Module["_emscripten_bind_ASS_Track_set_max_styles_1"]=Module["asm"]["Hb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_n_events_0=Module["_emscripten_bind_ASS_Track_get_n_events_0"]=function(){return(_emscripten_bind_ASS_Track_get_n_events_0=Module["_emscripten_bind_ASS_Track_get_n_events_0"]=Module["asm"]["Ib"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_n_events_1=Module["_emscripten_bind_ASS_Track_set_n_events_1"]=function(){return(_emscripten_bind_ASS_Track_set_n_events_1=Module["_emscripten_bind_ASS_Track_set_n_events_1"]=Module["asm"]["Jb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_max_events_0=Module["_emscripten_bind_ASS_Track_get_max_events_0"]=function(){return(_emscripten_bind_ASS_Track_get_max_events_0=Module["_emscripten_bind_ASS_Track_get_max_events_0"]=Module["asm"]["Kb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_max_events_1=Module["_emscripten_bind_ASS_Track_set_max_events_1"]=function(){return(_emscripten_bind_ASS_Track_set_max_events_1=Module["_emscripten_bind_ASS_Track_set_max_events_1"]=Module["asm"]["Lb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_styles_1=Module["_emscripten_bind_ASS_Track_get_styles_1"]=function(){return(_emscripten_bind_ASS_Track_get_styles_1=Module["_emscripten_bind_ASS_Track_get_styles_1"]=Module["asm"]["Mb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_styles_2=Module["_emscripten_bind_ASS_Track_set_styles_2"]=function(){return(_emscripten_bind_ASS_Track_set_styles_2=Module["_emscripten_bind_ASS_Track_set_styles_2"]=Module["asm"]["Nb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_events_1=Module["_emscripten_bind_ASS_Track_get_events_1"]=function(){return(_emscripten_bind_ASS_Track_get_events_1=Module["_emscripten_bind_ASS_Track_get_events_1"]=Module["asm"]["Ob"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_events_2=Module["_emscripten_bind_ASS_Track_set_events_2"]=function(){return(_emscripten_bind_ASS_Track_set_events_2=Module["_emscripten_bind_ASS_Track_set_events_2"]=Module["asm"]["Pb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_style_format_0=Module["_emscripten_bind_ASS_Track_get_style_format_0"]=function(){return(_emscripten_bind_ASS_Track_get_style_format_0=Module["_emscripten_bind_ASS_Track_get_style_format_0"]=Module["asm"]["Qb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_style_format_1=Module["_emscripten_bind_ASS_Track_set_style_format_1"]=function(){return(_emscripten_bind_ASS_Track_set_style_format_1=Module["_emscripten_bind_ASS_Track_set_style_format_1"]=Module["asm"]["Rb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_event_format_0=Module["_emscripten_bind_ASS_Track_get_event_format_0"]=function(){return(_emscripten_bind_ASS_Track_get_event_format_0=Module["_emscripten_bind_ASS_Track_get_event_format_0"]=Module["asm"]["Sb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_event_format_1=Module["_emscripten_bind_ASS_Track_set_event_format_1"]=function(){return(_emscripten_bind_ASS_Track_set_event_format_1=Module["_emscripten_bind_ASS_Track_set_event_format_1"]=Module["asm"]["Tb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_PlayResX_0=Module["_emscripten_bind_ASS_Track_get_PlayResX_0"]=function(){return(_emscripten_bind_ASS_Track_get_PlayResX_0=Module["_emscripten_bind_ASS_Track_get_PlayResX_0"]=Module["asm"]["Ub"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_PlayResX_1=Module["_emscripten_bind_ASS_Track_set_PlayResX_1"]=function(){return(_emscripten_bind_ASS_Track_set_PlayResX_1=Module["_emscripten_bind_ASS_Track_set_PlayResX_1"]=Module["asm"]["Vb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_PlayResY_0=Module["_emscripten_bind_ASS_Track_get_PlayResY_0"]=function(){return(_emscripten_bind_ASS_Track_get_PlayResY_0=Module["_emscripten_bind_ASS_Track_get_PlayResY_0"]=Module["asm"]["Wb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_PlayResY_1=Module["_emscripten_bind_ASS_Track_set_PlayResY_1"]=function(){return(_emscripten_bind_ASS_Track_set_PlayResY_1=Module["_emscripten_bind_ASS_Track_set_PlayResY_1"]=Module["asm"]["Xb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_Timer_0=Module["_emscripten_bind_ASS_Track_get_Timer_0"]=function(){return(_emscripten_bind_ASS_Track_get_Timer_0=Module["_emscripten_bind_ASS_Track_get_Timer_0"]=Module["asm"]["Yb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_Timer_1=Module["_emscripten_bind_ASS_Track_set_Timer_1"]=function(){return(_emscripten_bind_ASS_Track_set_Timer_1=Module["_emscripten_bind_ASS_Track_set_Timer_1"]=Module["asm"]["Zb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_WrapStyle_0=Module["_emscripten_bind_ASS_Track_get_WrapStyle_0"]=function(){return(_emscripten_bind_ASS_Track_get_WrapStyle_0=Module["_emscripten_bind_ASS_Track_get_WrapStyle_0"]=Module["asm"]["_b"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_WrapStyle_1=Module["_emscripten_bind_ASS_Track_set_WrapStyle_1"]=function(){return(_emscripten_bind_ASS_Track_set_WrapStyle_1=Module["_emscripten_bind_ASS_Track_set_WrapStyle_1"]=Module["asm"]["$b"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0=Module["_emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0"]=function(){return(_emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0=Module["_emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0"]=Module["asm"]["ac"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1=Module["_emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1"]=function(){return(_emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1=Module["_emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1"]=Module["asm"]["bc"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_Kerning_0=Module["_emscripten_bind_ASS_Track_get_Kerning_0"]=function(){return(_emscripten_bind_ASS_Track_get_Kerning_0=Module["_emscripten_bind_ASS_Track_get_Kerning_0"]=Module["asm"]["cc"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_Kerning_1=Module["_emscripten_bind_ASS_Track_set_Kerning_1"]=function(){return(_emscripten_bind_ASS_Track_set_Kerning_1=Module["_emscripten_bind_ASS_Track_set_Kerning_1"]=Module["asm"]["dc"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_Language_0=Module["_emscripten_bind_ASS_Track_get_Language_0"]=function(){return(_emscripten_bind_ASS_Track_get_Language_0=Module["_emscripten_bind_ASS_Track_get_Language_0"]=Module["asm"]["ec"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_Language_1=Module["_emscripten_bind_ASS_Track_set_Language_1"]=function(){return(_emscripten_bind_ASS_Track_set_Language_1=Module["_emscripten_bind_ASS_Track_set_Language_1"]=Module["asm"]["fc"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_default_style_0=Module["_emscripten_bind_ASS_Track_get_default_style_0"]=function(){return(_emscripten_bind_ASS_Track_get_default_style_0=Module["_emscripten_bind_ASS_Track_get_default_style_0"]=Module["asm"]["gc"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_default_style_1=Module["_emscripten_bind_ASS_Track_set_default_style_1"]=function(){return(_emscripten_bind_ASS_Track_set_default_style_1=Module["_emscripten_bind_ASS_Track_set_default_style_1"]=Module["asm"]["hc"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_name_0=Module["_emscripten_bind_ASS_Track_get_name_0"]=function(){return(_emscripten_bind_ASS_Track_get_name_0=Module["_emscripten_bind_ASS_Track_get_name_0"]=Module["asm"]["ic"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_name_1=Module["_emscripten_bind_ASS_Track_set_name_1"]=function(){return(_emscripten_bind_ASS_Track_set_name_1=Module["_emscripten_bind_ASS_Track_set_name_1"]=Module["asm"]["jc"]).apply(null,arguments)};var _emscripten_bind_libass_libass_0=Module["_emscripten_bind_libass_libass_0"]=function(){return(_emscripten_bind_libass_libass_0=Module["_emscripten_bind_libass_libass_0"]=Module["asm"]["kc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_library_version_0=Module["_emscripten_bind_libass_oct_library_version_0"]=function(){return(_emscripten_bind_libass_oct_library_version_0=Module["_emscripten_bind_libass_oct_library_version_0"]=Module["asm"]["lc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_library_init_0=Module["_emscripten_bind_libass_oct_library_init_0"]=function(){return(_emscripten_bind_libass_oct_library_init_0=Module["_emscripten_bind_libass_oct_library_init_0"]=Module["asm"]["mc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_library_done_1=Module["_emscripten_bind_libass_oct_library_done_1"]=function(){return(_emscripten_bind_libass_oct_library_done_1=Module["_emscripten_bind_libass_oct_library_done_1"]=Module["asm"]["nc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_fonts_dir_2=Module["_emscripten_bind_libass_oct_set_fonts_dir_2"]=function(){return(_emscripten_bind_libass_oct_set_fonts_dir_2=Module["_emscripten_bind_libass_oct_set_fonts_dir_2"]=Module["asm"]["oc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_extract_fonts_2=Module["_emscripten_bind_libass_oct_set_extract_fonts_2"]=function(){return(_emscripten_bind_libass_oct_set_extract_fonts_2=Module["_emscripten_bind_libass_oct_set_extract_fonts_2"]=Module["asm"]["pc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_style_overrides_2=Module["_emscripten_bind_libass_oct_set_style_overrides_2"]=function(){return(_emscripten_bind_libass_oct_set_style_overrides_2=Module["_emscripten_bind_libass_oct_set_style_overrides_2"]=Module["asm"]["qc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_process_force_style_1=Module["_emscripten_bind_libass_oct_process_force_style_1"]=function(){return(_emscripten_bind_libass_oct_process_force_style_1=Module["_emscripten_bind_libass_oct_process_force_style_1"]=Module["asm"]["rc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_renderer_init_1=Module["_emscripten_bind_libass_oct_renderer_init_1"]=function(){return(_emscripten_bind_libass_oct_renderer_init_1=Module["_emscripten_bind_libass_oct_renderer_init_1"]=Module["asm"]["sc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_renderer_done_1=Module["_emscripten_bind_libass_oct_renderer_done_1"]=function(){return(_emscripten_bind_libass_oct_renderer_done_1=Module["_emscripten_bind_libass_oct_renderer_done_1"]=Module["asm"]["tc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_frame_size_3=Module["_emscripten_bind_libass_oct_set_frame_size_3"]=function(){return(_emscripten_bind_libass_oct_set_frame_size_3=Module["_emscripten_bind_libass_oct_set_frame_size_3"]=Module["asm"]["uc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_storage_size_3=Module["_emscripten_bind_libass_oct_set_storage_size_3"]=function(){return(_emscripten_bind_libass_oct_set_storage_size_3=Module["_emscripten_bind_libass_oct_set_storage_size_3"]=Module["asm"]["vc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_shaper_2=Module["_emscripten_bind_libass_oct_set_shaper_2"]=function(){return(_emscripten_bind_libass_oct_set_shaper_2=Module["_emscripten_bind_libass_oct_set_shaper_2"]=Module["asm"]["wc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_margins_5=Module["_emscripten_bind_libass_oct_set_margins_5"]=function(){return(_emscripten_bind_libass_oct_set_margins_5=Module["_emscripten_bind_libass_oct_set_margins_5"]=Module["asm"]["xc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_use_margins_2=Module["_emscripten_bind_libass_oct_set_use_margins_2"]=function(){return(_emscripten_bind_libass_oct_set_use_margins_2=Module["_emscripten_bind_libass_oct_set_use_margins_2"]=Module["asm"]["yc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_pixel_aspect_2=Module["_emscripten_bind_libass_oct_set_pixel_aspect_2"]=function(){return(_emscripten_bind_libass_oct_set_pixel_aspect_2=Module["_emscripten_bind_libass_oct_set_pixel_aspect_2"]=Module["asm"]["zc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_aspect_ratio_3=Module["_emscripten_bind_libass_oct_set_aspect_ratio_3"]=function(){return(_emscripten_bind_libass_oct_set_aspect_ratio_3=Module["_emscripten_bind_libass_oct_set_aspect_ratio_3"]=Module["asm"]["Ac"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_font_scale_2=Module["_emscripten_bind_libass_oct_set_font_scale_2"]=function(){return(_emscripten_bind_libass_oct_set_font_scale_2=Module["_emscripten_bind_libass_oct_set_font_scale_2"]=Module["asm"]["Bc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_hinting_2=Module["_emscripten_bind_libass_oct_set_hinting_2"]=function(){return(_emscripten_bind_libass_oct_set_hinting_2=Module["_emscripten_bind_libass_oct_set_hinting_2"]=Module["asm"]["Cc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_line_spacing_2=Module["_emscripten_bind_libass_oct_set_line_spacing_2"]=function(){return(_emscripten_bind_libass_oct_set_line_spacing_2=Module["_emscripten_bind_libass_oct_set_line_spacing_2"]=Module["asm"]["Dc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_line_position_2=Module["_emscripten_bind_libass_oct_set_line_position_2"]=function(){return(_emscripten_bind_libass_oct_set_line_position_2=Module["_emscripten_bind_libass_oct_set_line_position_2"]=Module["asm"]["Ec"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_fonts_6=Module["_emscripten_bind_libass_oct_set_fonts_6"]=function(){return(_emscripten_bind_libass_oct_set_fonts_6=Module["_emscripten_bind_libass_oct_set_fonts_6"]=Module["asm"]["Fc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_selective_style_override_enabled_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_enabled_2"]=function(){return(_emscripten_bind_libass_oct_set_selective_style_override_enabled_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_enabled_2"]=Module["asm"]["Gc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_selective_style_override_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_2"]=function(){return(_emscripten_bind_libass_oct_set_selective_style_override_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_2"]=Module["asm"]["Hc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_cache_limits_3=Module["_emscripten_bind_libass_oct_set_cache_limits_3"]=function(){return(_emscripten_bind_libass_oct_set_cache_limits_3=Module["_emscripten_bind_libass_oct_set_cache_limits_3"]=Module["asm"]["Ic"]).apply(null,arguments)};var _emscripten_bind_libass_oct_render_frame_4=Module["_emscripten_bind_libass_oct_render_frame_4"]=function(){return(_emscripten_bind_libass_oct_render_frame_4=Module["_emscripten_bind_libass_oct_render_frame_4"]=Module["asm"]["Jc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_new_track_1=Module["_emscripten_bind_libass_oct_new_track_1"]=function(){return(_emscripten_bind_libass_oct_new_track_1=Module["_emscripten_bind_libass_oct_new_track_1"]=Module["asm"]["Kc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_free_track_1=Module["_emscripten_bind_libass_oct_free_track_1"]=function(){return(_emscripten_bind_libass_oct_free_track_1=Module["_emscripten_bind_libass_oct_free_track_1"]=Module["asm"]["Lc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_alloc_style_1=Module["_emscripten_bind_libass_oct_alloc_style_1"]=function(){return(_emscripten_bind_libass_oct_alloc_style_1=Module["_emscripten_bind_libass_oct_alloc_style_1"]=Module["asm"]["Mc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_alloc_event_1=Module["_emscripten_bind_libass_oct_alloc_event_1"]=function(){return(_emscripten_bind_libass_oct_alloc_event_1=Module["_emscripten_bind_libass_oct_alloc_event_1"]=Module["asm"]["Nc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_free_style_2=Module["_emscripten_bind_libass_oct_free_style_2"]=function(){return(_emscripten_bind_libass_oct_free_style_2=Module["_emscripten_bind_libass_oct_free_style_2"]=Module["asm"]["Oc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_free_event_2=Module["_emscripten_bind_libass_oct_free_event_2"]=function(){return(_emscripten_bind_libass_oct_free_event_2=Module["_emscripten_bind_libass_oct_free_event_2"]=Module["asm"]["Pc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_flush_events_1=Module["_emscripten_bind_libass_oct_flush_events_1"]=function(){return(_emscripten_bind_libass_oct_flush_events_1=Module["_emscripten_bind_libass_oct_flush_events_1"]=Module["asm"]["Qc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_read_file_3=Module["_emscripten_bind_libass_oct_read_file_3"]=function(){return(_emscripten_bind_libass_oct_read_file_3=Module["_emscripten_bind_libass_oct_read_file_3"]=Module["asm"]["Rc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_add_font_4=Module["_emscripten_bind_libass_oct_add_font_4"]=function(){return(_emscripten_bind_libass_oct_add_font_4=Module["_emscripten_bind_libass_oct_add_font_4"]=Module["asm"]["Sc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_clear_fonts_1=Module["_emscripten_bind_libass_oct_clear_fonts_1"]=function(){return(_emscripten_bind_libass_oct_clear_fonts_1=Module["_emscripten_bind_libass_oct_clear_fonts_1"]=Module["asm"]["Tc"]).apply(null,arguments)};var _emscripten_bind_libass_oct_step_sub_3=Module["_emscripten_bind_libass_oct_step_sub_3"]=function(){return(_emscripten_bind_libass_oct_step_sub_3=Module["_emscripten_bind_libass_oct_step_sub_3"]=Module["asm"]["Uc"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_changed_0=Module["_emscripten_bind_RenderBlendResult_get_changed_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_changed_0=Module["_emscripten_bind_RenderBlendResult_get_changed_0"]=Module["asm"]["Vc"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_changed_1=Module["_emscripten_bind_RenderBlendResult_set_changed_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_changed_1=Module["_emscripten_bind_RenderBlendResult_set_changed_1"]=Module["asm"]["Wc"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_blend_time_0=Module["_emscripten_bind_RenderBlendResult_get_blend_time_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_blend_time_0=Module["_emscripten_bind_RenderBlendResult_get_blend_time_0"]=Module["asm"]["Xc"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_blend_time_1=Module["_emscripten_bind_RenderBlendResult_set_blend_time_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_blend_time_1=Module["_emscripten_bind_RenderBlendResult_set_blend_time_1"]=Module["asm"]["Yc"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_dest_x_0=Module["_emscripten_bind_RenderBlendResult_get_dest_x_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_dest_x_0=Module["_emscripten_bind_RenderBlendResult_get_dest_x_0"]=Module["asm"]["Zc"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_dest_x_1=Module["_emscripten_bind_RenderBlendResult_set_dest_x_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_dest_x_1=Module["_emscripten_bind_RenderBlendResult_set_dest_x_1"]=Module["asm"]["_c"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_dest_y_0=Module["_emscripten_bind_RenderBlendResult_get_dest_y_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_dest_y_0=Module["_emscripten_bind_RenderBlendResult_get_dest_y_0"]=Module["asm"]["$c"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_dest_y_1=Module["_emscripten_bind_RenderBlendResult_set_dest_y_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_dest_y_1=Module["_emscripten_bind_RenderBlendResult_set_dest_y_1"]=Module["asm"]["ad"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_dest_width_0=Module["_emscripten_bind_RenderBlendResult_get_dest_width_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_dest_width_0=Module["_emscripten_bind_RenderBlendResult_get_dest_width_0"]=Module["asm"]["bd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_dest_width_1=Module["_emscripten_bind_RenderBlendResult_set_dest_width_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_dest_width_1=Module["_emscripten_bind_RenderBlendResult_set_dest_width_1"]=Module["asm"]["cd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_dest_height_0=Module["_emscripten_bind_RenderBlendResult_get_dest_height_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_dest_height_0=Module["_emscripten_bind_RenderBlendResult_get_dest_height_0"]=Module["asm"]["dd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_dest_height_1=Module["_emscripten_bind_RenderBlendResult_set_dest_height_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_dest_height_1=Module["_emscripten_bind_RenderBlendResult_set_dest_height_1"]=Module["asm"]["ed"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_image_0=Module["_emscripten_bind_RenderBlendResult_get_image_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_image_0=Module["_emscripten_bind_RenderBlendResult_get_image_0"]=Module["asm"]["fd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_image_1=Module["_emscripten_bind_RenderBlendResult_set_image_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_image_1=Module["_emscripten_bind_RenderBlendResult_set_image_1"]=Module["asm"]["gd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_SubtitleOctopus_0=Module["_emscripten_bind_SubtitleOctopus_SubtitleOctopus_0"]=function(){return(_emscripten_bind_SubtitleOctopus_SubtitleOctopus_0=Module["_emscripten_bind_SubtitleOctopus_SubtitleOctopus_0"]=Module["asm"]["hd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setLogLevel_1=Module["_emscripten_bind_SubtitleOctopus_setLogLevel_1"]=function(){return(_emscripten_bind_SubtitleOctopus_setLogLevel_1=Module["_emscripten_bind_SubtitleOctopus_setLogLevel_1"]=Module["asm"]["id"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_initLibrary_2=Module["_emscripten_bind_SubtitleOctopus_initLibrary_2"]=function(){return(_emscripten_bind_SubtitleOctopus_initLibrary_2=Module["_emscripten_bind_SubtitleOctopus_initLibrary_2"]=Module["asm"]["jd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_createTrack_1=Module["_emscripten_bind_SubtitleOctopus_createTrack_1"]=function(){return(_emscripten_bind_SubtitleOctopus_createTrack_1=Module["_emscripten_bind_SubtitleOctopus_createTrack_1"]=Module["asm"]["kd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_createTrackMem_2=Module["_emscripten_bind_SubtitleOctopus_createTrackMem_2"]=function(){return(_emscripten_bind_SubtitleOctopus_createTrackMem_2=Module["_emscripten_bind_SubtitleOctopus_createTrackMem_2"]=Module["asm"]["ld"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeTrack_0=Module["_emscripten_bind_SubtitleOctopus_removeTrack_0"]=function(){return(_emscripten_bind_SubtitleOctopus_removeTrack_0=Module["_emscripten_bind_SubtitleOctopus_removeTrack_0"]=Module["asm"]["md"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_resizeCanvas_2=Module["_emscripten_bind_SubtitleOctopus_resizeCanvas_2"]=function(){return(_emscripten_bind_SubtitleOctopus_resizeCanvas_2=Module["_emscripten_bind_SubtitleOctopus_resizeCanvas_2"]=Module["asm"]["nd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_renderImage_2=Module["_emscripten_bind_SubtitleOctopus_renderImage_2"]=function(){return(_emscripten_bind_SubtitleOctopus_renderImage_2=Module["_emscripten_bind_SubtitleOctopus_renderImage_2"]=Module["asm"]["od"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_quitLibrary_0=Module["_emscripten_bind_SubtitleOctopus_quitLibrary_0"]=function(){return(_emscripten_bind_SubtitleOctopus_quitLibrary_0=Module["_emscripten_bind_SubtitleOctopus_quitLibrary_0"]=Module["asm"]["pd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_reloadLibrary_0=Module["_emscripten_bind_SubtitleOctopus_reloadLibrary_0"]=function(){return(_emscripten_bind_SubtitleOctopus_reloadLibrary_0=Module["_emscripten_bind_SubtitleOctopus_reloadLibrary_0"]=Module["asm"]["qd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_reloadFonts_0=Module["_emscripten_bind_SubtitleOctopus_reloadFonts_0"]=function(){return(_emscripten_bind_SubtitleOctopus_reloadFonts_0=Module["_emscripten_bind_SubtitleOctopus_reloadFonts_0"]=Module["asm"]["rd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setMargin_4=Module["_emscripten_bind_SubtitleOctopus_setMargin_4"]=function(){return(_emscripten_bind_SubtitleOctopus_setMargin_4=Module["_emscripten_bind_SubtitleOctopus_setMargin_4"]=Module["asm"]["sd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getEventCount_0=Module["_emscripten_bind_SubtitleOctopus_getEventCount_0"]=function(){return(_emscripten_bind_SubtitleOctopus_getEventCount_0=Module["_emscripten_bind_SubtitleOctopus_getEventCount_0"]=Module["asm"]["td"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_allocEvent_0=Module["_emscripten_bind_SubtitleOctopus_allocEvent_0"]=function(){return(_emscripten_bind_SubtitleOctopus_allocEvent_0=Module["_emscripten_bind_SubtitleOctopus_allocEvent_0"]=Module["asm"]["ud"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_allocStyle_0=Module["_emscripten_bind_SubtitleOctopus_allocStyle_0"]=function(){return(_emscripten_bind_SubtitleOctopus_allocStyle_0=Module["_emscripten_bind_SubtitleOctopus_allocStyle_0"]=Module["asm"]["vd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeEvent_1=Module["_emscripten_bind_SubtitleOctopus_removeEvent_1"]=function(){return(_emscripten_bind_SubtitleOctopus_removeEvent_1=Module["_emscripten_bind_SubtitleOctopus_removeEvent_1"]=Module["asm"]["wd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getStyleCount_0=Module["_emscripten_bind_SubtitleOctopus_getStyleCount_0"]=function(){return(_emscripten_bind_SubtitleOctopus_getStyleCount_0=Module["_emscripten_bind_SubtitleOctopus_getStyleCount_0"]=Module["asm"]["xd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getStyleByName_1=Module["_emscripten_bind_SubtitleOctopus_getStyleByName_1"]=function(){return(_emscripten_bind_SubtitleOctopus_getStyleByName_1=Module["_emscripten_bind_SubtitleOctopus_getStyleByName_1"]=Module["asm"]["yd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeStyle_1=Module["_emscripten_bind_SubtitleOctopus_removeStyle_1"]=function(){return(_emscripten_bind_SubtitleOctopus_removeStyle_1=Module["_emscripten_bind_SubtitleOctopus_removeStyle_1"]=Module["asm"]["zd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeAllEvents_0=Module["_emscripten_bind_SubtitleOctopus_removeAllEvents_0"]=function(){return(_emscripten_bind_SubtitleOctopus_removeAllEvents_0=Module["_emscripten_bind_SubtitleOctopus_removeAllEvents_0"]=Module["asm"]["Ad"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setMemoryLimits_2=Module["_emscripten_bind_SubtitleOctopus_setMemoryLimits_2"]=function(){return(_emscripten_bind_SubtitleOctopus_setMemoryLimits_2=Module["_emscripten_bind_SubtitleOctopus_setMemoryLimits_2"]=Module["asm"]["Bd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_renderBlend_2=Module["_emscripten_bind_SubtitleOctopus_renderBlend_2"]=function(){return(_emscripten_bind_SubtitleOctopus_renderBlend_2=Module["_emscripten_bind_SubtitleOctopus_renderBlend_2"]=Module["asm"]["Cd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_get_track_0=Module["_emscripten_bind_SubtitleOctopus_get_track_0"]=function(){return(_emscripten_bind_SubtitleOctopus_get_track_0=Module["_emscripten_bind_SubtitleOctopus_get_track_0"]=Module["asm"]["Dd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_set_track_1=Module["_emscripten_bind_SubtitleOctopus_set_track_1"]=function(){return(_emscripten_bind_SubtitleOctopus_set_track_1=Module["_emscripten_bind_SubtitleOctopus_set_track_1"]=Module["asm"]["Ed"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_get_ass_renderer_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_renderer_0"]=function(){return(_emscripten_bind_SubtitleOctopus_get_ass_renderer_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_renderer_0"]=Module["asm"]["Fd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_set_ass_renderer_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_renderer_1"]=function(){return(_emscripten_bind_SubtitleOctopus_set_ass_renderer_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_renderer_1"]=Module["asm"]["Gd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_get_ass_library_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_library_0"]=function(){return(_emscripten_bind_SubtitleOctopus_get_ass_library_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_library_0"]=Module["asm"]["Hd"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_set_ass_library_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_library_1"]=function(){return(_emscripten_bind_SubtitleOctopus_set_ass_library_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_library_1"]=Module["asm"]["Id"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus___destroy___0=Module["_emscripten_bind_SubtitleOctopus___destroy___0"]=function(){return(_emscripten_bind_SubtitleOctopus___destroy___0=Module["_emscripten_bind_SubtitleOctopus___destroy___0"]=Module["asm"]["Jd"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_NONE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NONE"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_NONE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NONE"]=Module["asm"]["Kd"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT"]=Module["asm"]["Ld"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL"]=Module["asm"]["Md"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE"]=Module["asm"]["Nd"]).apply(null,arguments)};var _emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE"]=function(){return(_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE"]=Module["asm"]["Od"]).apply(null,arguments)};var _emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX"]=function(){return(_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX"]=Module["asm"]["Pd"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT"]=Module["asm"]["Qd"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE"]=Module["asm"]["Rd"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE"]=Module["asm"]["Sd"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE"]=Module["asm"]["Td"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS"]=Module["asm"]["Ud"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME"]=Module["asm"]["Vd"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS"]=Module["asm"]["Wd"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES"]=Module["asm"]["Xd"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER"]=Module["asm"]["Yd"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT"]=Module["asm"]["Zd"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS"]=Module["asm"]["_d"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE"]=Module["asm"]["$d"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY"]=Module["asm"]["ae"]).apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return(___errno_location=Module["___errno_location"]=Module["asm"]["ce"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["de"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["ee"]).apply(null,arguments)};var stackAlloc=Module["stackAlloc"]=function(){return(stackAlloc=Module["stackAlloc"]=Module["asm"]["fe"]).apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return(_setThrew=Module["_setThrew"]=Module["asm"]["ge"]).apply(null,arguments)};function invoke_iii(index,a1,a2){var sp=stackSave();try{return wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}Module["ccall"]=ccall;Module["cwrap"]=cwrap;Module["getValue"]=getValue;Module["addRunDependency"]=addRunDependency;Module["removeRunDependency"]=removeRunDependency;Module["FS_createPath"]=FS.createPath;Module["FS_createDataFile"]=FS.createDataFile;Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createLazyFile"]=FS.createLazyFile;Module["FS_createDevice"]=FS.createDevice;Module["FS_unlink"]=FS.unlink;function runMemoryInitializer(){if(!memoryInitializer)return;if(!isDataURI(memoryInitializer)){memoryInitializer=locateFile(memoryInitializer)}if(ENVIRONMENT_IS_NODE||ENVIRONMENT_IS_SHELL){var data=readBinary(memoryInitializer);HEAPU8.set(data,1024)}else{addRunDependency("memory initializer");var applyMemoryInitializer=function(data){if(data.byteLength)data=new Uint8Array(data);HEAPU8.set(data,1024);if(Module["memoryInitializerRequest"])delete Module["memoryInitializerRequest"].response;removeRunDependency("memory initializer")};var doBrowserLoad=function(){readAsync(memoryInitializer,applyMemoryInitializer,function(){var e=new Error("could not load memory initializer "+memoryInitializer);throw e})};if(Module["memoryInitializerRequest"]){var useRequest=function(){var request=Module["memoryInitializerRequest"];var response=request.response;if(request.status!==200&&request.status!==0){console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+request.status+", retrying "+memoryInitializer);doBrowserLoad();return}applyMemoryInitializer(response)};if(Module["memoryInitializerRequest"].response){setTimeout(useRequest,0)}else{Module["memoryInitializerRequest"].addEventListener("load",useRequest)}}else{doBrowserLoad()}}}var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}var calledMain=false;dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function callMain(args){var entryFunction=Module["_main"];args=args||[];var argc=args.length+1;var argv=stackAlloc((argc+1)*4);HEAP32[argv>>2]=allocateUTF8OnStack(thisProgram);for(var i=1;i<argc;i++){HEAP32[(argv>>2)+i]=allocateUTF8OnStack(args[i-1])}HEAP32[(argv>>2)+argc]=0;try{var ret=entryFunction(argc,argv);exit(ret,true)}catch(e){if(e instanceof ExitStatus){return}else if(e=="unwind"){return}else{var toLog=e;if(e&&typeof e==="object"&&e.stack){toLog=[e,e.stack]}err("exception thrown: "+toLog);quit_(1,e)}}finally{calledMain=true}}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();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(shouldRunNow)callMain(args);postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}Module["run"]=run;function exit(status,implicit){EXITSTATUS=status;if(implicit&&keepRuntimeAlive()&&status===0){return}if(keepRuntimeAlive()){}else{exitRuntime();if(Module["onExit"])Module["onExit"](status);ABORT=true}quit_(status,new ExitStatus(status))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}var shouldRunNow=true;if(Module["noInitialRun"])shouldRunNow=false;run();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){var offsetShifted=offset;var bytes=view.BYTES_PER_ELEMENT;switch(bytes){case 2:offsetShifted>>=1;break;case 4:offsetShifted>>=2;break;case 8:offsetShifted>>=3;break}for(var i=0;i<array.length;i++){view[offsetShifted+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 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 ASS_Image(){throw"cannot construct a ASS_Image, no constructor in IDL"}ASS_Image.prototype=Object.create(WrapperObject.prototype);ASS_Image.prototype.constructor=ASS_Image;ASS_Image.prototype.__class__=ASS_Image;ASS_Image.__cache__={};Module["ASS_Image"]=ASS_Image;ASS_Image.prototype["get_w"]=ASS_Image.prototype.get_w=function(){var self=this.ptr;return _emscripten_bind_ASS_Image_get_w_0(self)};ASS_Image.prototype["set_w"]=ASS_Image.prototype.set_w=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Image_set_w_1(self,arg0)};Object.defineProperty(ASS_Image.prototype,"w",{get:ASS_Image.prototype.get_w,set:ASS_Image.prototype.set_w});ASS_Image.prototype["get_h"]=ASS_Image.prototype.get_h=function(){var self=this.ptr;return _emscripten_bind_ASS_Image_get_h_0(self)};ASS_Image.prototype["set_h"]=ASS_Image.prototype.set_h=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Image_set_h_1(self,arg0)};Object.defineProperty(ASS_Image.prototype,"h",{get:ASS_Image.prototype.get_h,set:ASS_Image.prototype.set_h});ASS_Image.prototype["get_stride"]=ASS_Image.prototype.get_stride=function(){var self=this.ptr;return _emscripten_bind_ASS_Image_get_stride_0(self)};ASS_Image.prototype["set_stride"]=ASS_Image.prototype.set_stride=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Image_set_stride_1(self,arg0)};Object.defineProperty(ASS_Image.prototype,"stride",{get:ASS_Image.prototype.get_stride,set:ASS_Image.prototype.set_stride});ASS_Image.prototype["get_bitmap"]=ASS_Image.prototype.get_bitmap=function(){var self=this.ptr;return _emscripten_bind_ASS_Image_get_bitmap_0(self)};ASS_Image.prototype["set_bitmap"]=ASS_Image.prototype.set_bitmap=function(arg0){var self=this.ptr;ensureCache.prepare();if(arg0&&typeof arg0==="object")arg0=arg0.ptr;else arg0=ensureString(arg0);_emscripten_bind_ASS_Image_set_bitmap_1(self,arg0)};Object.defineProperty(ASS_Image.prototype,"bitmap",{get:ASS_Image.prototype.get_bitmap,set:ASS_Image.prototype.set_bitmap});ASS_Image.prototype["get_color"]=ASS_Image.prototype.get_color=function(){var self=this.ptr;return _emscripten_bind_ASS_Image_get_color_0(self)};ASS_Image.prototype["set_color"]=ASS_Image.prototype.set_color=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Image_set_color_1(self,arg0)};Object.defineProperty(ASS_Image.prototype,"color",{get:ASS_Image.prototype.get_color,set:ASS_Image.prototype.set_color});ASS_Image.prototype["get_dst_x"]=ASS_Image.prototype.get_dst_x=function(){var self=this.ptr;return _emscripten_bind_ASS_Image_get_dst_x_0(self)};ASS_Image.prototype["set_dst_x"]=ASS_Image.prototype.set_dst_x=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Image_set_dst_x_1(self,arg0)};Object.defineProperty(ASS_Image.prototype,"dst_x",{get:ASS_Image.prototype.get_dst_x,set:ASS_Image.prototype.set_dst_x});ASS_Image.prototype["get_dst_y"]=ASS_Image.prototype.get_dst_y=function(){var self=this.ptr;return _emscripten_bind_ASS_Image_get_dst_y_0(self)};ASS_Image.prototype["set_dst_y"]=ASS_Image.prototype.set_dst_y=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Image_set_dst_y_1(self,arg0)};Object.defineProperty(ASS_Image.prototype,"dst_y",{get:ASS_Image.prototype.get_dst_y,set:ASS_Image.prototype.set_dst_y});ASS_Image.prototype["get_next"]=ASS_Image.prototype.get_next=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_ASS_Image_get_next_0(self),ASS_Image)};ASS_Image.prototype["set_next"]=ASS_Image.prototype.set_next=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Image_set_next_1(self,arg0)};Object.defineProperty(ASS_Image.prototype,"next",{get:ASS_Image.prototype.get_next,set:ASS_Image.prototype.set_next});function ASS_Style(){throw"cannot construct a ASS_Style, no constructor in IDL"}ASS_Style.prototype=Object.create(WrapperObject.prototype);ASS_Style.prototype.constructor=ASS_Style;ASS_Style.prototype.__class__=ASS_Style;ASS_Style.__cache__={};Module["ASS_Style"]=ASS_Style;ASS_Style.prototype["get_Name"]=ASS_Style.prototype.get_Name=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_ASS_Style_get_Name_0(self))};ASS_Style.prototype["set_Name"]=ASS_Style.prototype.set_Name=function(arg0){var self=this.ptr;ensureCache.prepare();if(arg0&&typeof arg0==="object")arg0=arg0.ptr;else arg0=ensureString(arg0);_emscripten_bind_ASS_Style_set_Name_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"Name",{get:ASS_Style.prototype.get_Name,set:ASS_Style.prototype.set_Name});ASS_Style.prototype["get_FontName"]=ASS_Style.prototype.get_FontName=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_ASS_Style_get_FontName_0(self))};ASS_Style.prototype["set_FontName"]=ASS_Style.prototype.set_FontName=function(arg0){var self=this.ptr;ensureCache.prepare();if(arg0&&typeof arg0==="object")arg0=arg0.ptr;else arg0=ensureString(arg0);_emscripten_bind_ASS_Style_set_FontName_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"FontName",{get:ASS_Style.prototype.get_FontName,set:ASS_Style.prototype.set_FontName});ASS_Style.prototype["get_FontSize"]=ASS_Style.prototype.get_FontSize=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_FontSize_0(self)};ASS_Style.prototype["set_FontSize"]=ASS_Style.prototype.set_FontSize=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_FontSize_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"FontSize",{get:ASS_Style.prototype.get_FontSize,set:ASS_Style.prototype.set_FontSize});ASS_Style.prototype["get_PrimaryColour"]=ASS_Style.prototype.get_PrimaryColour=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_PrimaryColour_0(self)};ASS_Style.prototype["set_PrimaryColour"]=ASS_Style.prototype.set_PrimaryColour=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_PrimaryColour_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"PrimaryColour",{get:ASS_Style.prototype.get_PrimaryColour,set:ASS_Style.prototype.set_PrimaryColour});ASS_Style.prototype["get_SecondaryColour"]=ASS_Style.prototype.get_SecondaryColour=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_SecondaryColour_0(self)};ASS_Style.prototype["set_SecondaryColour"]=ASS_Style.prototype.set_SecondaryColour=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_SecondaryColour_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"SecondaryColour",{get:ASS_Style.prototype.get_SecondaryColour,set:ASS_Style.prototype.set_SecondaryColour});ASS_Style.prototype["get_OutlineColour"]=ASS_Style.prototype.get_OutlineColour=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_OutlineColour_0(self)};ASS_Style.prototype["set_OutlineColour"]=ASS_Style.prototype.set_OutlineColour=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_OutlineColour_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"OutlineColour",{get:ASS_Style.prototype.get_OutlineColour,set:ASS_Style.prototype.set_OutlineColour});ASS_Style.prototype["get_BackColour"]=ASS_Style.prototype.get_BackColour=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_BackColour_0(self)};ASS_Style.prototype["set_BackColour"]=ASS_Style.prototype.set_BackColour=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_BackColour_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"BackColour",{get:ASS_Style.prototype.get_BackColour,set:ASS_Style.prototype.set_BackColour});ASS_Style.prototype["get_Bold"]=ASS_Style.prototype.get_Bold=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_Bold_0(self)};ASS_Style.prototype["set_Bold"]=ASS_Style.prototype.set_Bold=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_Bold_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"Bold",{get:ASS_Style.prototype.get_Bold,set:ASS_Style.prototype.set_Bold});ASS_Style.prototype["get_Italic"]=ASS_Style.prototype.get_Italic=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_Italic_0(self)};ASS_Style.prototype["set_Italic"]=ASS_Style.prototype.set_Italic=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_Italic_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"Italic",{get:ASS_Style.prototype.get_Italic,set:ASS_Style.prototype.set_Italic});ASS_Style.prototype["get_Underline"]=ASS_Style.prototype.get_Underline=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_Underline_0(self)};ASS_Style.prototype["set_Underline"]=ASS_Style.prototype.set_Underline=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_Underline_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"Underline",{get:ASS_Style.prototype.get_Underline,set:ASS_Style.prototype.set_Underline});ASS_Style.prototype["get_StrikeOut"]=ASS_Style.prototype.get_StrikeOut=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_StrikeOut_0(self)};ASS_Style.prototype["set_StrikeOut"]=ASS_Style.prototype.set_StrikeOut=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_StrikeOut_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"StrikeOut",{get:ASS_Style.prototype.get_StrikeOut,set:ASS_Style.prototype.set_StrikeOut});ASS_Style.prototype["get_ScaleX"]=ASS_Style.prototype.get_ScaleX=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_ScaleX_0(self)};ASS_Style.prototype["set_ScaleX"]=ASS_Style.prototype.set_ScaleX=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_ScaleX_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"ScaleX",{get:ASS_Style.prototype.get_ScaleX,set:ASS_Style.prototype.set_ScaleX});ASS_Style.prototype["get_ScaleY"]=ASS_Style.prototype.get_ScaleY=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_ScaleY_0(self)};ASS_Style.prototype["set_ScaleY"]=ASS_Style.prototype.set_ScaleY=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_ScaleY_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"ScaleY",{get:ASS_Style.prototype.get_ScaleY,set:ASS_Style.prototype.set_ScaleY});ASS_Style.prototype["get_Spacing"]=ASS_Style.prototype.get_Spacing=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_Spacing_0(self)};ASS_Style.prototype["set_Spacing"]=ASS_Style.prototype.set_Spacing=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_Spacing_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"Spacing",{get:ASS_Style.prototype.get_Spacing,set:ASS_Style.prototype.set_Spacing});ASS_Style.prototype["get_Angle"]=ASS_Style.prototype.get_Angle=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_Angle_0(self)};ASS_Style.prototype["set_Angle"]=ASS_Style.prototype.set_Angle=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_Angle_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"Angle",{get:ASS_Style.prototype.get_Angle,set:ASS_Style.prototype.set_Angle});ASS_Style.prototype["get_BorderStyle"]=ASS_Style.prototype.get_BorderStyle=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_BorderStyle_0(self)};ASS_Style.prototype["set_BorderStyle"]=ASS_Style.prototype.set_BorderStyle=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_BorderStyle_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"BorderStyle",{get:ASS_Style.prototype.get_BorderStyle,set:ASS_Style.prototype.set_BorderStyle});ASS_Style.prototype["get_Outline"]=ASS_Style.prototype.get_Outline=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_Outline_0(self)};ASS_Style.prototype["set_Outline"]=ASS_Style.prototype.set_Outline=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_Outline_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"Outline",{get:ASS_Style.prototype.get_Outline,set:ASS_Style.prototype.set_Outline});ASS_Style.prototype["get_Shadow"]=ASS_Style.prototype.get_Shadow=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_Shadow_0(self)};ASS_Style.prototype["set_Shadow"]=ASS_Style.prototype.set_Shadow=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_Shadow_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"Shadow",{get:ASS_Style.prototype.get_Shadow,set:ASS_Style.prototype.set_Shadow});ASS_Style.prototype["get_Alignment"]=ASS_Style.prototype.get_Alignment=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_Alignment_0(self)};ASS_Style.prototype["set_Alignment"]=ASS_Style.prototype.set_Alignment=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_Alignment_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"Alignment",{get:ASS_Style.prototype.get_Alignment,set:ASS_Style.prototype.set_Alignment});ASS_Style.prototype["get_MarginL"]=ASS_Style.prototype.get_MarginL=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_MarginL_0(self)};ASS_Style.prototype["set_MarginL"]=ASS_Style.prototype.set_MarginL=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_MarginL_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"MarginL",{get:ASS_Style.prototype.get_MarginL,set:ASS_Style.prototype.set_MarginL});ASS_Style.prototype["get_MarginR"]=ASS_Style.prototype.get_MarginR=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_MarginR_0(self)};ASS_Style.prototype["set_MarginR"]=ASS_Style.prototype.set_MarginR=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_MarginR_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"MarginR",{get:ASS_Style.prototype.get_MarginR,set:ASS_Style.prototype.set_MarginR});ASS_Style.prototype["get_MarginV"]=ASS_Style.prototype.get_MarginV=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_MarginV_0(self)};ASS_Style.prototype["set_MarginV"]=ASS_Style.prototype.set_MarginV=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_MarginV_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"MarginV",{get:ASS_Style.prototype.get_MarginV,set:ASS_Style.prototype.set_MarginV});ASS_Style.prototype["get_Encoding"]=ASS_Style.prototype.get_Encoding=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_Encoding_0(self)};ASS_Style.prototype["set_Encoding"]=ASS_Style.prototype.set_Encoding=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_Encoding_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"Encoding",{get:ASS_Style.prototype.get_Encoding,set:ASS_Style.prototype.set_Encoding});ASS_Style.prototype["get_treat_fontname_as_pattern"]=ASS_Style.prototype.get_treat_fontname_as_pattern=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0(self)};ASS_Style.prototype["set_treat_fontname_as_pattern"]=ASS_Style.prototype.set_treat_fontname_as_pattern=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"treat_fontname_as_pattern",{get:ASS_Style.prototype.get_treat_fontname_as_pattern,set:ASS_Style.prototype.set_treat_fontname_as_pattern});ASS_Style.prototype["get_Blur"]=ASS_Style.prototype.get_Blur=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_Blur_0(self)};ASS_Style.prototype["set_Blur"]=ASS_Style.prototype.set_Blur=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_Blur_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"Blur",{get:ASS_Style.prototype.get_Blur,set:ASS_Style.prototype.set_Blur});ASS_Style.prototype["get_Justify"]=ASS_Style.prototype.get_Justify=function(){var self=this.ptr;return _emscripten_bind_ASS_Style_get_Justify_0(self)};ASS_Style.prototype["set_Justify"]=ASS_Style.prototype.set_Justify=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Style_set_Justify_1(self,arg0)};Object.defineProperty(ASS_Style.prototype,"Justify",{get:ASS_Style.prototype.get_Justify,set:ASS_Style.prototype.set_Justify});function ASS_Event(){throw"cannot construct a ASS_Event, no constructor in IDL"}ASS_Event.prototype=Object.create(WrapperObject.prototype);ASS_Event.prototype.constructor=ASS_Event;ASS_Event.prototype.__class__=ASS_Event;ASS_Event.__cache__={};Module["ASS_Event"]=ASS_Event;ASS_Event.prototype["get_Start"]=ASS_Event.prototype.get_Start=function(){var self=this.ptr;return _emscripten_bind_ASS_Event_get_Start_0(self)};ASS_Event.prototype["set_Start"]=ASS_Event.prototype.set_Start=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Event_set_Start_1(self,arg0)};Object.defineProperty(ASS_Event.prototype,"Start",{get:ASS_Event.prototype.get_Start,set:ASS_Event.prototype.set_Start});ASS_Event.prototype["get_Duration"]=ASS_Event.prototype.get_Duration=function(){var self=this.ptr;return _emscripten_bind_ASS_Event_get_Duration_0(self)};ASS_Event.prototype["set_Duration"]=ASS_Event.prototype.set_Duration=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Event_set_Duration_1(self,arg0)};Object.defineProperty(ASS_Event.prototype,"Duration",{get:ASS_Event.prototype.get_Duration,set:ASS_Event.prototype.set_Duration});ASS_Event.prototype["get_ReadOrder"]=ASS_Event.prototype.get_ReadOrder=function(){var self=this.ptr;return _emscripten_bind_ASS_Event_get_ReadOrder_0(self)};ASS_Event.prototype["set_ReadOrder"]=ASS_Event.prototype.set_ReadOrder=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Event_set_ReadOrder_1(self,arg0)};Object.defineProperty(ASS_Event.prototype,"ReadOrder",{get:ASS_Event.prototype.get_ReadOrder,set:ASS_Event.prototype.set_ReadOrder});ASS_Event.prototype["get_Layer"]=ASS_Event.prototype.get_Layer=function(){var self=this.ptr;return _emscripten_bind_ASS_Event_get_Layer_0(self)};ASS_Event.prototype["set_Layer"]=ASS_Event.prototype.set_Layer=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Event_set_Layer_1(self,arg0)};Object.defineProperty(ASS_Event.prototype,"Layer",{get:ASS_Event.prototype.get_Layer,set:ASS_Event.prototype.set_Layer});ASS_Event.prototype["get_Style"]=ASS_Event.prototype.get_Style=function(){var self=this.ptr;return _emscripten_bind_ASS_Event_get_Style_0(self)};ASS_Event.prototype["set_Style"]=ASS_Event.prototype.set_Style=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Event_set_Style_1(self,arg0)};Object.defineProperty(ASS_Event.prototype,"Style",{get:ASS_Event.prototype.get_Style,set:ASS_Event.prototype.set_Style});ASS_Event.prototype["get_Name"]=ASS_Event.prototype.get_Name=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_ASS_Event_get_Name_0(self))};ASS_Event.prototype["set_Name"]=ASS_Event.prototype.set_Name=function(arg0){var self=this.ptr;ensureCache.prepare();if(arg0&&typeof arg0==="object")arg0=arg0.ptr;else arg0=ensureString(arg0);_emscripten_bind_ASS_Event_set_Name_1(self,arg0)};Object.defineProperty(ASS_Event.prototype,"Name",{get:ASS_Event.prototype.get_Name,set:ASS_Event.prototype.set_Name});ASS_Event.prototype["get_MarginL"]=ASS_Event.prototype.get_MarginL=function(){var self=this.ptr;return _emscripten_bind_ASS_Event_get_MarginL_0(self)};ASS_Event.prototype["set_MarginL"]=ASS_Event.prototype.set_MarginL=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Event_set_MarginL_1(self,arg0)};Object.defineProperty(ASS_Event.prototype,"MarginL",{get:ASS_Event.prototype.get_MarginL,set:ASS_Event.prototype.set_MarginL});ASS_Event.prototype["get_MarginR"]=ASS_Event.prototype.get_MarginR=function(){var self=this.ptr;return _emscripten_bind_ASS_Event_get_MarginR_0(self)};ASS_Event.prototype["set_MarginR"]=ASS_Event.prototype.set_MarginR=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Event_set_MarginR_1(self,arg0)};Object.defineProperty(ASS_Event.prototype,"MarginR",{get:ASS_Event.prototype.get_MarginR,set:ASS_Event.prototype.set_MarginR});ASS_Event.prototype["get_MarginV"]=ASS_Event.prototype.get_MarginV=function(){var self=this.ptr;return _emscripten_bind_ASS_Event_get_MarginV_0(self)};ASS_Event.prototype["set_MarginV"]=ASS_Event.prototype.set_MarginV=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Event_set_MarginV_1(self,arg0)};Object.defineProperty(ASS_Event.prototype,"MarginV",{get:ASS_Event.prototype.get_MarginV,set:ASS_Event.prototype.set_MarginV});ASS_Event.prototype["get_Effect"]=ASS_Event.prototype.get_Effect=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_ASS_Event_get_Effect_0(self))};ASS_Event.prototype["set_Effect"]=ASS_Event.prototype.set_Effect=function(arg0){var self=this.ptr;ensureCache.prepare();if(arg0&&typeof arg0==="object")arg0=arg0.ptr;else arg0=ensureString(arg0);_emscripten_bind_ASS_Event_set_Effect_1(self,arg0)};Object.defineProperty(ASS_Event.prototype,"Effect",{get:ASS_Event.prototype.get_Effect,set:ASS_Event.prototype.set_Effect});ASS_Event.prototype["get_Text"]=ASS_Event.prototype.get_Text=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_ASS_Event_get_Text_0(self))};ASS_Event.prototype["set_Text"]=ASS_Event.prototype.set_Text=function(arg0){var self=this.ptr;ensureCache.prepare();if(arg0&&typeof arg0==="object")arg0=arg0.ptr;else arg0=ensureString(arg0);_emscripten_bind_ASS_Event_set_Text_1(self,arg0)};Object.defineProperty(ASS_Event.prototype,"Text",{get:ASS_Event.prototype.get_Text,set:ASS_Event.prototype.set_Text});function ASS_Track(){throw"cannot construct a ASS_Track, no constructor in IDL"}ASS_Track.prototype=Object.create(WrapperObject.prototype);ASS_Track.prototype.constructor=ASS_Track;ASS_Track.prototype.__class__=ASS_Track;ASS_Track.__cache__={};Module["ASS_Track"]=ASS_Track;ASS_Track.prototype["get_n_styles"]=ASS_Track.prototype.get_n_styles=function(){var self=this.ptr;return _emscripten_bind_ASS_Track_get_n_styles_0(self)};ASS_Track.prototype["set_n_styles"]=ASS_Track.prototype.set_n_styles=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Track_set_n_styles_1(self,arg0)};Object.defineProperty(ASS_Track.prototype,"n_styles",{get:ASS_Track.prototype.get_n_styles,set:ASS_Track.prototype.set_n_styles});ASS_Track.prototype["get_max_styles"]=ASS_Track.prototype.get_max_styles=function(){var self=this.ptr;return _emscripten_bind_ASS_Track_get_max_styles_0(self)};ASS_Track.prototype["set_max_styles"]=ASS_Track.prototype.set_max_styles=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Track_set_max_styles_1(self,arg0)};Object.defineProperty(ASS_Track.prototype,"max_styles",{get:ASS_Track.prototype.get_max_styles,set:ASS_Track.prototype.set_max_styles});ASS_Track.prototype["get_n_events"]=ASS_Track.prototype.get_n_events=function(){var self=this.ptr;return _emscripten_bind_ASS_Track_get_n_events_0(self)};ASS_Track.prototype["set_n_events"]=ASS_Track.prototype.set_n_events=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Track_set_n_events_1(self,arg0)};Object.defineProperty(ASS_Track.prototype,"n_events",{get:ASS_Track.prototype.get_n_events,set:ASS_Track.prototype.set_n_events});ASS_Track.prototype["get_max_events"]=ASS_Track.prototype.get_max_events=function(){var self=this.ptr;return _emscripten_bind_ASS_Track_get_max_events_0(self)};ASS_Track.prototype["set_max_events"]=ASS_Track.prototype.set_max_events=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Track_set_max_events_1(self,arg0)};Object.defineProperty(ASS_Track.prototype,"max_events",{get:ASS_Track.prototype.get_max_events,set:ASS_Track.prototype.set_max_events});ASS_Track.prototype["get_styles"]=ASS_Track.prototype.get_styles=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;return wrapPointer(_emscripten_bind_ASS_Track_get_styles_1(self,arg0),ASS_Style)};ASS_Track.prototype["set_styles"]=ASS_Track.prototype.set_styles=function(arg0,arg1){var self=this.ptr;ensureCache.prepare();if(arg0&&typeof arg0==="object")arg0=arg0.ptr;if(arg1&&typeof arg1==="object")arg1=arg1.ptr;_emscripten_bind_ASS_Track_set_styles_2(self,arg0,arg1)};Object.defineProperty(ASS_Track.prototype,"styles",{get:ASS_Track.prototype.get_styles,set:ASS_Track.prototype.set_styles});ASS_Track.prototype["get_events"]=ASS_Track.prototype.get_events=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;return wrapPointer(_emscripten_bind_ASS_Track_get_events_1(self,arg0),ASS_Event)};ASS_Track.prototype["set_events"]=ASS_Track.prototype.set_events=function(arg0,arg1){var self=this.ptr;ensureCache.prepare();if(arg0&&typeof arg0==="object")arg0=arg0.ptr;if(arg1&&typeof arg1==="object")arg1=arg1.ptr;_emscripten_bind_ASS_Track_set_events_2(self,arg0,arg1)};Object.defineProperty(ASS_Track.prototype,"events",{get:ASS_Track.prototype.get_events,set:ASS_Track.prototype.set_events});ASS_Track.prototype["get_style_format"]=ASS_Track.prototype.get_style_format=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_ASS_Track_get_style_format_0(self))};ASS_Track.prototype["set_style_format"]=ASS_Track.prototype.set_style_format=function(arg0){var self=this.ptr;ensureCache.prepare();if(arg0&&typeof arg0==="object")arg0=arg0.ptr;else arg0=ensureString(arg0);_emscripten_bind_ASS_Track_set_style_format_1(self,arg0)};Object.defineProperty(ASS_Track.prototype,"style_format",{get:ASS_Track.prototype.get_style_format,set:ASS_Track.prototype.set_style_format});ASS_Track.prototype["get_event_format"]=ASS_Track.prototype.get_event_format=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_ASS_Track_get_event_format_0(self))};ASS_Track.prototype["set_event_format"]=ASS_Track.prototype.set_event_format=function(arg0){var self=this.ptr;ensureCache.prepare();if(arg0&&typeof arg0==="object")arg0=arg0.ptr;else arg0=ensureString(arg0);_emscripten_bind_ASS_Track_set_event_format_1(self,arg0)};Object.defineProperty(ASS_Track.prototype,"event_format",{get:ASS_Track.prototype.get_event_format,set:ASS_Track.prototype.set_event_format});ASS_Track.prototype["get_PlayResX"]=ASS_Track.prototype.get_PlayResX=function(){var self=this.ptr;return _emscripten_bind_ASS_Track_get_PlayResX_0(self)};ASS_Track.prototype["set_PlayResX"]=ASS_Track.prototype.set_PlayResX=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Track_set_PlayResX_1(self,arg0)};Object.defineProperty(ASS_Track.prototype,"PlayResX",{get:ASS_Track.prototype.get_PlayResX,set:ASS_Track.prototype.set_PlayResX});ASS_Track.prototype["get_PlayResY"]=ASS_Track.prototype.get_PlayResY=function(){var self=this.ptr;return _emscripten_bind_ASS_Track_get_PlayResY_0(self)};ASS_Track.prototype["set_PlayResY"]=ASS_Track.prototype.set_PlayResY=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Track_set_PlayResY_1(self,arg0)};Object.defineProperty(ASS_Track.prototype,"PlayResY",{get:ASS_Track.prototype.get_PlayResY,set:ASS_Track.prototype.set_PlayResY});ASS_Track.prototype["get_Timer"]=ASS_Track.prototype.get_Timer=function(){var self=this.ptr;return _emscripten_bind_ASS_Track_get_Timer_0(self)};ASS_Track.prototype["set_Timer"]=ASS_Track.prototype.set_Timer=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Track_set_Timer_1(self,arg0)};Object.defineProperty(ASS_Track.prototype,"Timer",{get:ASS_Track.prototype.get_Timer,set:ASS_Track.prototype.set_Timer});ASS_Track.prototype["get_WrapStyle"]=ASS_Track.prototype.get_WrapStyle=function(){var self=this.ptr;return _emscripten_bind_ASS_Track_get_WrapStyle_0(self)};ASS_Track.prototype["set_WrapStyle"]=ASS_Track.prototype.set_WrapStyle=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Track_set_WrapStyle_1(self,arg0)};Object.defineProperty(ASS_Track.prototype,"WrapStyle",{get:ASS_Track.prototype.get_WrapStyle,set:ASS_Track.prototype.set_WrapStyle});ASS_Track.prototype["get_ScaledBorderAndShadow"]=ASS_Track.prototype.get_ScaledBorderAndShadow=function(){var self=this.ptr;return _emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0(self)};ASS_Track.prototype["set_ScaledBorderAndShadow"]=ASS_Track.prototype.set_ScaledBorderAndShadow=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1(self,arg0)};Object.defineProperty(ASS_Track.prototype,"ScaledBorderAndShadow",{get:ASS_Track.prototype.get_ScaledBorderAndShadow,set:ASS_Track.prototype.set_ScaledBorderAndShadow});ASS_Track.prototype["get_Kerning"]=ASS_Track.prototype.get_Kerning=function(){var self=this.ptr;return _emscripten_bind_ASS_Track_get_Kerning_0(self)};ASS_Track.prototype["set_Kerning"]=ASS_Track.prototype.set_Kerning=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Track_set_Kerning_1(self,arg0)};Object.defineProperty(ASS_Track.prototype,"Kerning",{get:ASS_Track.prototype.get_Kerning,set:ASS_Track.prototype.set_Kerning});ASS_Track.prototype["get_Language"]=ASS_Track.prototype.get_Language=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_ASS_Track_get_Language_0(self))};ASS_Track.prototype["set_Language"]=ASS_Track.prototype.set_Language=function(arg0){var self=this.ptr;ensureCache.prepare();if(arg0&&typeof arg0==="object")arg0=arg0.ptr;else arg0=ensureString(arg0);_emscripten_bind_ASS_Track_set_Language_1(self,arg0)};Object.defineProperty(ASS_Track.prototype,"Language",{get:ASS_Track.prototype.get_Language,set:ASS_Track.prototype.set_Language});ASS_Track.prototype["get_default_style"]=ASS_Track.prototype.get_default_style=function(){var self=this.ptr;return _emscripten_bind_ASS_Track_get_default_style_0(self)};ASS_Track.prototype["set_default_style"]=ASS_Track.prototype.set_default_style=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_ASS_Track_set_default_style_1(self,arg0)};Object.defineProperty(ASS_Track.prototype,"default_style",{get:ASS_Track.prototype.get_default_style,set:ASS_Track.prototype.set_default_style});ASS_Track.prototype["get_name"]=ASS_Track.prototype.get_name=function(){var self=this.ptr;return UTF8ToString(_emscripten_bind_ASS_Track_get_name_0(self))};ASS_Track.prototype["set_name"]=ASS_Track.prototype.set_name=function(arg0){var self=this.ptr;ensureCache.prepare();if(arg0&&typeof arg0==="object")arg0=arg0.ptr;else arg0=ensureString(arg0);_emscripten_bind_ASS_Track_set_name_1(self,arg0)};Object.defineProperty(ASS_Track.prototype,"name",{get:ASS_Track.prototype.get_name,set:ASS_Track.prototype.set_name});function ASS_Library(){throw"cannot construct a ASS_Library, no constructor in IDL"}ASS_Library.prototype=Object.create(WrapperObject.prototype);ASS_Library.prototype.constructor=ASS_Library;ASS_Library.prototype.__class__=ASS_Library;ASS_Library.__cache__={};Module["ASS_Library"]=ASS_Library;function ASS_RenderPriv(){throw"cannot construct a ASS_RenderPriv, no constructor in IDL"}ASS_RenderPriv.prototype=Object.create(WrapperObject.prototype);ASS_RenderPriv.prototype.constructor=ASS_RenderPriv;ASS_RenderPriv.prototype.__class__=ASS_RenderPriv;ASS_RenderPriv.__cache__={};Module["ASS_RenderPriv"]=ASS_RenderPriv;function ASS_ParserPriv(){throw"cannot construct a ASS_ParserPriv, no constructor in IDL"}ASS_ParserPriv.prototype=Object.create(WrapperObject.prototype);ASS_ParserPriv.prototype.constructor=ASS_ParserPriv;ASS_ParserPriv.prototype.__class__=ASS_ParserPriv;ASS_ParserPriv.__cache__={};Module["ASS_ParserPriv"]=ASS_ParserPriv;function ASS_Renderer(){throw"cannot construct a ASS_Renderer, no constructor in IDL"}ASS_Renderer.prototype=Object.create(WrapperObject.prototype);ASS_Renderer.prototype.constructor=ASS_Renderer;ASS_Renderer.prototype.__class__=ASS_Renderer;ASS_Renderer.__cache__={};Module["ASS_Renderer"]=ASS_Renderer;function libass(){this.ptr=_emscripten_bind_libass_libass_0();getCache(libass)[this.ptr]=this}libass.prototype=Object.create(WrapperObject.prototype);libass.prototype.constructor=libass;libass.prototype.__class__=libass;libass.__cache__={};Module["libass"]=libass;libass.prototype["oct_library_version"]=libass.prototype.oct_library_version=function(){var self=this.ptr;return _emscripten_bind_libass_oct_library_version_0(self)};libass.prototype["oct_library_init"]=libass.prototype.oct_library_init=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_libass_oct_library_init_0(self),ASS_Library)};libass.prototype["oct_library_done"]=libass.prototype.oct_library_done=function(priv){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;_emscripten_bind_libass_oct_library_done_1(self,priv)};libass.prototype["oct_set_fonts_dir"]=libass.prototype.oct_set_fonts_dir=function(priv,fonts_dir){var self=this.ptr;ensureCache.prepare();if(priv&&typeof priv==="object")priv=priv.ptr;if(fonts_dir&&typeof fonts_dir==="object")fonts_dir=fonts_dir.ptr;else fonts_dir=ensureString(fonts_dir);_emscripten_bind_libass_oct_set_fonts_dir_2(self,priv,fonts_dir)};libass.prototype["oct_set_extract_fonts"]=libass.prototype.oct_set_extract_fonts=function(priv,extract){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;if(extract&&typeof extract==="object")extract=extract.ptr;_emscripten_bind_libass_oct_set_extract_fonts_2(self,priv,extract)};libass.prototype["oct_set_style_overrides"]=libass.prototype.oct_set_style_overrides=function(priv,list){var self=this.ptr;ensureCache.prepare();if(priv&&typeof priv==="object")priv=priv.ptr;_emscripten_bind_libass_oct_set_style_overrides_2(self,priv,list)};libass.prototype["oct_process_force_style"]=libass.prototype.oct_process_force_style=function(track){var self=this.ptr;if(track&&typeof track==="object")track=track.ptr;_emscripten_bind_libass_oct_process_force_style_1(self,track)};libass.prototype["oct_renderer_init"]=libass.prototype.oct_renderer_init=function(priv){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;return wrapPointer(_emscripten_bind_libass_oct_renderer_init_1(self,priv),ASS_Renderer)};libass.prototype["oct_renderer_done"]=libass.prototype.oct_renderer_done=function(priv){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;_emscripten_bind_libass_oct_renderer_done_1(self,priv)};libass.prototype["oct_set_frame_size"]=libass.prototype.oct_set_frame_size=function(priv,w,h){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;if(w&&typeof w==="object")w=w.ptr;if(h&&typeof h==="object")h=h.ptr;_emscripten_bind_libass_oct_set_frame_size_3(self,priv,w,h)};libass.prototype["oct_set_storage_size"]=libass.prototype.oct_set_storage_size=function(priv,w,h){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;if(w&&typeof w==="object")w=w.ptr;if(h&&typeof h==="object")h=h.ptr;_emscripten_bind_libass_oct_set_storage_size_3(self,priv,w,h)};libass.prototype["oct_set_shaper"]=libass.prototype.oct_set_shaper=function(priv,level){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;if(level&&typeof level==="object")level=level.ptr;_emscripten_bind_libass_oct_set_shaper_2(self,priv,level)};libass.prototype["oct_set_margins"]=libass.prototype.oct_set_margins=function(priv,t,b,l,r){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;if(t&&typeof t==="object")t=t.ptr;if(b&&typeof b==="object")b=b.ptr;if(l&&typeof l==="object")l=l.ptr;if(r&&typeof r==="object")r=r.ptr;_emscripten_bind_libass_oct_set_margins_5(self,priv,t,b,l,r)};libass.prototype["oct_set_use_margins"]=libass.prototype.oct_set_use_margins=function(priv,use){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;if(use&&typeof use==="object")use=use.ptr;_emscripten_bind_libass_oct_set_use_margins_2(self,priv,use)};libass.prototype["oct_set_pixel_aspect"]=libass.prototype.oct_set_pixel_aspect=function(priv,par){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;if(par&&typeof par==="object")par=par.ptr;_emscripten_bind_libass_oct_set_pixel_aspect_2(self,priv,par)};libass.prototype["oct_set_aspect_ratio"]=libass.prototype.oct_set_aspect_ratio=function(priv,dar,sar){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;if(dar&&typeof dar==="object")dar=dar.ptr;if(sar&&typeof sar==="object")sar=sar.ptr;_emscripten_bind_libass_oct_set_aspect_ratio_3(self,priv,dar,sar)};libass.prototype["oct_set_font_scale"]=libass.prototype.oct_set_font_scale=function(priv,font_scale){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;if(font_scale&&typeof font_scale==="object")font_scale=font_scale.ptr;_emscripten_bind_libass_oct_set_font_scale_2(self,priv,font_scale)};libass.prototype["oct_set_hinting"]=libass.prototype.oct_set_hinting=function(priv,ht){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;if(ht&&typeof ht==="object")ht=ht.ptr;_emscripten_bind_libass_oct_set_hinting_2(self,priv,ht)};libass.prototype["oct_set_line_spacing"]=libass.prototype.oct_set_line_spacing=function(priv,line_spacing){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;if(line_spacing&&typeof line_spacing==="object")line_spacing=line_spacing.ptr;_emscripten_bind_libass_oct_set_line_spacing_2(self,priv,line_spacing)};libass.prototype["oct_set_line_position"]=libass.prototype.oct_set_line_position=function(priv,line_position){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;if(line_position&&typeof line_position==="object")line_position=line_position.ptr;_emscripten_bind_libass_oct_set_line_position_2(self,priv,line_position)};libass.prototype["oct_set_fonts"]=libass.prototype.oct_set_fonts=function(priv,default_font,default_family,dfp,config,update){var self=this.ptr;ensureCache.prepare();if(priv&&typeof priv==="object")priv=priv.ptr;if(default_font&&typeof default_font==="object")default_font=default_font.ptr;else default_font=ensureString(default_font);if(default_family&&typeof default_family==="object")default_family=default_family.ptr;else default_family=ensureString(default_family);if(dfp&&typeof dfp==="object")dfp=dfp.ptr;if(config&&typeof config==="object")config=config.ptr;else config=ensureString(config);if(update&&typeof update==="object")update=update.ptr;_emscripten_bind_libass_oct_set_fonts_6(self,priv,default_font,default_family,dfp,config,update)};libass.prototype["oct_set_selective_style_override_enabled"]=libass.prototype.oct_set_selective_style_override_enabled=function(priv,bits){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;if(bits&&typeof bits==="object")bits=bits.ptr;_emscripten_bind_libass_oct_set_selective_style_override_enabled_2(self,priv,bits)};libass.prototype["oct_set_selective_style_override"]=libass.prototype.oct_set_selective_style_override=function(priv,style){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;if(style&&typeof style==="object")style=style.ptr;_emscripten_bind_libass_oct_set_selective_style_override_2(self,priv,style)};libass.prototype["oct_set_cache_limits"]=libass.prototype.oct_set_cache_limits=function(priv,glyph_max,bitmap_max_size){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;if(glyph_max&&typeof glyph_max==="object")glyph_max=glyph_max.ptr;if(bitmap_max_size&&typeof bitmap_max_size==="object")bitmap_max_size=bitmap_max_size.ptr;_emscripten_bind_libass_oct_set_cache_limits_3(self,priv,glyph_max,bitmap_max_size)};libass.prototype["oct_render_frame"]=libass.prototype.oct_render_frame=function(priv,track,now,detect_change){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;if(track&&typeof track==="object")track=track.ptr;if(now&&typeof now==="object")now=now.ptr;if(detect_change&&typeof detect_change==="object")detect_change=detect_change.ptr;return wrapPointer(_emscripten_bind_libass_oct_render_frame_4(self,priv,track,now,detect_change),ASS_Image)};libass.prototype["oct_new_track"]=libass.prototype.oct_new_track=function(priv){var self=this.ptr;if(priv&&typeof priv==="object")priv=priv.ptr;return wrapPointer(_emscripten_bind_libass_oct_new_track_1(self,priv),ASS_Track)};libass.prototype["oct_free_track"]=libass.prototype.oct_free_track=function(track){var self=this.ptr;if(track&&typeof track==="object")track=track.ptr;_emscripten_bind_libass_oct_free_track_1(self,track)};libass.prototype["oct_alloc_style"]=libass.prototype.oct_alloc_style=function(track){var self=this.ptr;if(track&&typeof track==="object")track=track.ptr;return _emscripten_bind_libass_oct_alloc_style_1(self,track)};libass.prototype["oct_alloc_event"]=libass.prototype.oct_alloc_event=function(track){var self=this.ptr;if(track&&typeof track==="object")track=track.ptr;return _emscripten_bind_libass_oct_alloc_event_1(self,track)};libass.prototype["oct_free_style"]=libass.prototype.oct_free_style=function(track,sid){var self=this.ptr;if(track&&typeof track==="object")track=track.ptr;if(sid&&typeof sid==="object")sid=sid.ptr;_emscripten_bind_libass_oct_free_style_2(self,track,sid)};libass.prototype["oct_free_event"]=libass.prototype.oct_free_event=function(track,eid){var self=this.ptr;if(track&&typeof track==="object")track=track.ptr;if(eid&&typeof eid==="object")eid=eid.ptr;_emscripten_bind_libass_oct_free_event_2(self,track,eid)};libass.prototype["oct_flush_events"]=libass.prototype.oct_flush_events=function(track){var self=this.ptr;if(track&&typeof track==="object")track=track.ptr;_emscripten_bind_libass_oct_flush_events_1(self,track)};libass.prototype["oct_read_file"]=libass.prototype.oct_read_file=function(library,fname,codepage){var self=this.ptr;ensureCache.prepare();if(library&&typeof library==="object")library=library.ptr;if(fname&&typeof fname==="object")fname=fname.ptr;else fname=ensureString(fname);if(codepage&&typeof codepage==="object")codepage=codepage.ptr;else codepage=ensureString(codepage);return wrapPointer(_emscripten_bind_libass_oct_read_file_3(self,library,fname,codepage),ASS_Track)};libass.prototype["oct_add_font"]=libass.prototype.oct_add_font=function(library,name,data,data_size){var self=this.ptr;ensureCache.prepare();if(library&&typeof library==="object")library=library.ptr;if(name&&typeof name==="object")name=name.ptr;else name=ensureString(name);if(data&&typeof data==="object")data=data.ptr;else data=ensureString(data);if(data_size&&typeof data_size==="object")data_size=data_size.ptr;_emscripten_bind_libass_oct_add_font_4(self,library,name,data,data_size)};libass.prototype["oct_clear_fonts"]=libass.prototype.oct_clear_fonts=function(library){var self=this.ptr;if(library&&typeof library==="object")library=library.ptr;_emscripten_bind_libass_oct_clear_fonts_1(self,library)};libass.prototype["oct_step_sub"]=libass.prototype.oct_step_sub=function(track,now,movement){var self=this.ptr;if(track&&typeof track==="object")track=track.ptr;if(now&&typeof now==="object")now=now.ptr;if(movement&&typeof movement==="object")movement=movement.ptr;return _emscripten_bind_libass_oct_step_sub_3(self,track,now,movement)};function RenderBlendResult(){throw"cannot construct a RenderBlendResult, no constructor in IDL"}RenderBlendResult.prototype=Object.create(WrapperObject.prototype);RenderBlendResult.prototype.constructor=RenderBlendResult;RenderBlendResult.prototype.__class__=RenderBlendResult;RenderBlendResult.__cache__={};Module["RenderBlendResult"]=RenderBlendResult;RenderBlendResult.prototype["get_changed"]=RenderBlendResult.prototype.get_changed=function(){var self=this.ptr;return _emscripten_bind_RenderBlendResult_get_changed_0(self)};RenderBlendResult.prototype["set_changed"]=RenderBlendResult.prototype.set_changed=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_RenderBlendResult_set_changed_1(self,arg0)};Object.defineProperty(RenderBlendResult.prototype,"changed",{get:RenderBlendResult.prototype.get_changed,set:RenderBlendResult.prototype.set_changed});RenderBlendResult.prototype["get_blend_time"]=RenderBlendResult.prototype.get_blend_time=function(){var self=this.ptr;return _emscripten_bind_RenderBlendResult_get_blend_time_0(self)};RenderBlendResult.prototype["set_blend_time"]=RenderBlendResult.prototype.set_blend_time=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_RenderBlendResult_set_blend_time_1(self,arg0)};Object.defineProperty(RenderBlendResult.prototype,"blend_time",{get:RenderBlendResult.prototype.get_blend_time,set:RenderBlendResult.prototype.set_blend_time});RenderBlendResult.prototype["get_dest_x"]=RenderBlendResult.prototype.get_dest_x=function(){var self=this.ptr;return _emscripten_bind_RenderBlendResult_get_dest_x_0(self)};RenderBlendResult.prototype["set_dest_x"]=RenderBlendResult.prototype.set_dest_x=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_RenderBlendResult_set_dest_x_1(self,arg0)};Object.defineProperty(RenderBlendResult.prototype,"dest_x",{get:RenderBlendResult.prototype.get_dest_x,set:RenderBlendResult.prototype.set_dest_x});RenderBlendResult.prototype["get_dest_y"]=RenderBlendResult.prototype.get_dest_y=function(){var self=this.ptr;return _emscripten_bind_RenderBlendResult_get_dest_y_0(self)};RenderBlendResult.prototype["set_dest_y"]=RenderBlendResult.prototype.set_dest_y=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_RenderBlendResult_set_dest_y_1(self,arg0)};Object.defineProperty(RenderBlendResult.prototype,"dest_y",{get:RenderBlendResult.prototype.get_dest_y,set:RenderBlendResult.prototype.set_dest_y});RenderBlendResult.prototype["get_dest_width"]=RenderBlendResult.prototype.get_dest_width=function(){var self=this.ptr;return _emscripten_bind_RenderBlendResult_get_dest_width_0(self)};RenderBlendResult.prototype["set_dest_width"]=RenderBlendResult.prototype.set_dest_width=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_RenderBlendResult_set_dest_width_1(self,arg0)};Object.defineProperty(RenderBlendResult.prototype,"dest_width",{get:RenderBlendResult.prototype.get_dest_width,set:RenderBlendResult.prototype.set_dest_width});RenderBlendResult.prototype["get_dest_height"]=RenderBlendResult.prototype.get_dest_height=function(){var self=this.ptr;return _emscripten_bind_RenderBlendResult_get_dest_height_0(self)};RenderBlendResult.prototype["set_dest_height"]=RenderBlendResult.prototype.set_dest_height=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_RenderBlendResult_set_dest_height_1(self,arg0)};Object.defineProperty(RenderBlendResult.prototype,"dest_height",{get:RenderBlendResult.prototype.get_dest_height,set:RenderBlendResult.prototype.set_dest_height});RenderBlendResult.prototype["get_image"]=RenderBlendResult.prototype.get_image=function(){var self=this.ptr;return _emscripten_bind_RenderBlendResult_get_image_0(self)};RenderBlendResult.prototype["set_image"]=RenderBlendResult.prototype.set_image=function(arg0){var self=this.ptr;ensureCache.prepare();if(arg0&&typeof arg0==="object")arg0=arg0.ptr;else arg0=ensureString(arg0);_emscripten_bind_RenderBlendResult_set_image_1(self,arg0)};Object.defineProperty(RenderBlendResult.prototype,"image",{get:RenderBlendResult.prototype.get_image,set:RenderBlendResult.prototype.set_image});function SubtitleOctopus(){this.ptr=_emscripten_bind_SubtitleOctopus_SubtitleOctopus_0();getCache(SubtitleOctopus)[this.ptr]=this}SubtitleOctopus.prototype=Object.create(WrapperObject.prototype);SubtitleOctopus.prototype.constructor=SubtitleOctopus;SubtitleOctopus.prototype.__class__=SubtitleOctopus;SubtitleOctopus.__cache__={};Module["SubtitleOctopus"]=SubtitleOctopus;SubtitleOctopus.prototype["setLogLevel"]=SubtitleOctopus.prototype.setLogLevel=function(level){var self=this.ptr;if(level&&typeof level==="object")level=level.ptr;_emscripten_bind_SubtitleOctopus_setLogLevel_1(self,level)};SubtitleOctopus.prototype["initLibrary"]=SubtitleOctopus.prototype.initLibrary=function(frame_w,frame_h){var self=this.ptr;if(frame_w&&typeof frame_w==="object")frame_w=frame_w.ptr;if(frame_h&&typeof frame_h==="object")frame_h=frame_h.ptr;_emscripten_bind_SubtitleOctopus_initLibrary_2(self,frame_w,frame_h)};SubtitleOctopus.prototype["createTrack"]=SubtitleOctopus.prototype.createTrack=function(subfile){var self=this.ptr;ensureCache.prepare();if(subfile&&typeof subfile==="object")subfile=subfile.ptr;else subfile=ensureString(subfile);_emscripten_bind_SubtitleOctopus_createTrack_1(self,subfile)};SubtitleOctopus.prototype["createTrackMem"]=SubtitleOctopus.prototype.createTrackMem=function(buf,bufsize){var self=this.ptr;ensureCache.prepare();if(buf&&typeof buf==="object")buf=buf.ptr;else buf=ensureString(buf);if(bufsize&&typeof bufsize==="object")bufsize=bufsize.ptr;_emscripten_bind_SubtitleOctopus_createTrackMem_2(self,buf,bufsize)};SubtitleOctopus.prototype["removeTrack"]=SubtitleOctopus.prototype.removeTrack=function(){var self=this.ptr;_emscripten_bind_SubtitleOctopus_removeTrack_0(self)};SubtitleOctopus.prototype["resizeCanvas"]=SubtitleOctopus.prototype.resizeCanvas=function(frame_w,frame_h){var self=this.ptr;if(frame_w&&typeof frame_w==="object")frame_w=frame_w.ptr;if(frame_h&&typeof frame_h==="object")frame_h=frame_h.ptr;_emscripten_bind_SubtitleOctopus_resizeCanvas_2(self,frame_w,frame_h)};SubtitleOctopus.prototype["renderImage"]=SubtitleOctopus.prototype.renderImage=function(time,changed){var self=this.ptr;if(time&&typeof time==="object")time=time.ptr;if(changed&&typeof changed==="object")changed=changed.ptr;return wrapPointer(_emscripten_bind_SubtitleOctopus_renderImage_2(self,time,changed),ASS_Image)};SubtitleOctopus.prototype["quitLibrary"]=SubtitleOctopus.prototype.quitLibrary=function(){var self=this.ptr;_emscripten_bind_SubtitleOctopus_quitLibrary_0(self)};SubtitleOctopus.prototype["reloadLibrary"]=SubtitleOctopus.prototype.reloadLibrary=function(){var self=this.ptr;_emscripten_bind_SubtitleOctopus_reloadLibrary_0(self)};SubtitleOctopus.prototype["reloadFonts"]=SubtitleOctopus.prototype.reloadFonts=function(){var self=this.ptr;_emscripten_bind_SubtitleOctopus_reloadFonts_0(self)};SubtitleOctopus.prototype["setMargin"]=SubtitleOctopus.prototype.setMargin=function(top,bottom,left,right){var self=this.ptr;if(top&&typeof top==="object")top=top.ptr;if(bottom&&typeof bottom==="object")bottom=bottom.ptr;if(left&&typeof left==="object")left=left.ptr;if(right&&typeof right==="object")right=right.ptr;_emscripten_bind_SubtitleOctopus_setMargin_4(self,top,bottom,left,right)};SubtitleOctopus.prototype["getEventCount"]=SubtitleOctopus.prototype.getEventCount=function(){var self=this.ptr;return _emscripten_bind_SubtitleOctopus_getEventCount_0(self)};SubtitleOctopus.prototype["allocEvent"]=SubtitleOctopus.prototype.allocEvent=function(){var self=this.ptr;return _emscripten_bind_SubtitleOctopus_allocEvent_0(self)};SubtitleOctopus.prototype["allocStyle"]=SubtitleOctopus.prototype.allocStyle=function(){var self=this.ptr;return _emscripten_bind_SubtitleOctopus_allocStyle_0(self)};SubtitleOctopus.prototype["removeEvent"]=SubtitleOctopus.prototype.removeEvent=function(eid){var self=this.ptr;if(eid&&typeof eid==="object")eid=eid.ptr;_emscripten_bind_SubtitleOctopus_removeEvent_1(self,eid)};SubtitleOctopus.prototype["getStyleCount"]=SubtitleOctopus.prototype.getStyleCount=function(){var self=this.ptr;return _emscripten_bind_SubtitleOctopus_getStyleCount_0(self)};SubtitleOctopus.prototype["getStyleByName"]=SubtitleOctopus.prototype.getStyleByName=function(name){var self=this.ptr;ensureCache.prepare();if(name&&typeof name==="object")name=name.ptr;else name=ensureString(name);return _emscripten_bind_SubtitleOctopus_getStyleByName_1(self,name)};SubtitleOctopus.prototype["removeStyle"]=SubtitleOctopus.prototype.removeStyle=function(eid){var self=this.ptr;if(eid&&typeof eid==="object")eid=eid.ptr;_emscripten_bind_SubtitleOctopus_removeStyle_1(self,eid)};SubtitleOctopus.prototype["removeAllEvents"]=SubtitleOctopus.prototype.removeAllEvents=function(){var self=this.ptr;_emscripten_bind_SubtitleOctopus_removeAllEvents_0(self)};SubtitleOctopus.prototype["setMemoryLimits"]=SubtitleOctopus.prototype.setMemoryLimits=function(glyph_limit,bitmap_cache_limit){var self=this.ptr;if(glyph_limit&&typeof glyph_limit==="object")glyph_limit=glyph_limit.ptr;if(bitmap_cache_limit&&typeof bitmap_cache_limit==="object")bitmap_cache_limit=bitmap_cache_limit.ptr;_emscripten_bind_SubtitleOctopus_setMemoryLimits_2(self,glyph_limit,bitmap_cache_limit)};SubtitleOctopus.prototype["renderBlend"]=SubtitleOctopus.prototype.renderBlend=function(tm,force){var self=this.ptr;if(tm&&typeof tm==="object")tm=tm.ptr;if(force&&typeof force==="object")force=force.ptr;return wrapPointer(_emscripten_bind_SubtitleOctopus_renderBlend_2(self,tm,force),RenderBlendResult)};SubtitleOctopus.prototype["get_track"]=SubtitleOctopus.prototype.get_track=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_SubtitleOctopus_get_track_0(self),ASS_Track)};SubtitleOctopus.prototype["set_track"]=SubtitleOctopus.prototype.set_track=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_SubtitleOctopus_set_track_1(self,arg0)};Object.defineProperty(SubtitleOctopus.prototype,"track",{get:SubtitleOctopus.prototype.get_track,set:SubtitleOctopus.prototype.set_track});SubtitleOctopus.prototype["get_ass_renderer"]=SubtitleOctopus.prototype.get_ass_renderer=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_SubtitleOctopus_get_ass_renderer_0(self),ASS_Renderer)};SubtitleOctopus.prototype["set_ass_renderer"]=SubtitleOctopus.prototype.set_ass_renderer=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_SubtitleOctopus_set_ass_renderer_1(self,arg0)};Object.defineProperty(SubtitleOctopus.prototype,"ass_renderer",{get:SubtitleOctopus.prototype.get_ass_renderer,set:SubtitleOctopus.prototype.set_ass_renderer});SubtitleOctopus.prototype["get_ass_library"]=SubtitleOctopus.prototype.get_ass_library=function(){var self=this.ptr;return wrapPointer(_emscripten_bind_SubtitleOctopus_get_ass_library_0(self),ASS_Library)};SubtitleOctopus.prototype["set_ass_library"]=SubtitleOctopus.prototype.set_ass_library=function(arg0){var self=this.ptr;if(arg0&&typeof arg0==="object")arg0=arg0.ptr;_emscripten_bind_SubtitleOctopus_set_ass_library_1(self,arg0)};Object.defineProperty(SubtitleOctopus.prototype,"ass_library",{get:SubtitleOctopus.prototype.get_ass_library,set:SubtitleOctopus.prototype.set_ass_library});SubtitleOctopus.prototype["__destroy__"]=SubtitleOctopus.prototype.__destroy__=function(){var self=this.ptr;_emscripten_bind_SubtitleOctopus___destroy___0(self)};(function(){function setupEnums(){Module["ASS_HINTING_NONE"]=_emscripten_enum_ASS_Hinting_ASS_HINTING_NONE();Module["ASS_HINTING_LIGHT"]=_emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT();Module["ASS_HINTING_NORMAL"]=_emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL();Module["ASS_HINTING_NATIVE"]=_emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE();Module["ASS_SHAPING_SIMPLE"]=_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE();Module["ASS_SHAPING_COMPLEX"]=_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX();Module["ASS_OVERRIDE_DEFAULT"]=_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT();Module["ASS_OVERRIDE_BIT_STYLE"]=_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE();Module["ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE"]=_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE();Module["ASS_OVERRIDE_BIT_FONT_SIZE"]=_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE();Module["ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS"]=_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS();Module["ASS_OVERRIDE_BIT_FONT_NAME"]=_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME();Module["ASS_OVERRIDE_BIT_COLORS"]=_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS();Module["ASS_OVERRIDE_BIT_ATTRIBUTES"]=_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES();Module["ASS_OVERRIDE_BIT_BORDER"]=_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER();Module["ASS_OVERRIDE_BIT_ALIGNMENT"]=_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT();Module["ASS_OVERRIDE_BIT_MARGINS"]=_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS();Module["ASS_OVERRIDE_FULL_STYLE"]=_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE();Module["ASS_OVERRIDE_BIT_JUSTIFY"]=_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY()}if(runtimeInitialized)setupEnums();else addOnPreMain(setupEnums)})();Module["FS"]=FS;self.delay=0;self.lastCurrentTime=0;self.rate=1;self.rafId=null;self.nextIsRaf=false;self.lastCurrentTimeReceivedAt=Date.now();self.targetFps=24;self.libassMemoryLimit=0;self.width=0;self.height=0;self.fontMap_={};self.fontId=0;self.writeFontToFS=function(font){font=font.trim().toLowerCase();if(font.startsWith("@")){font=font.substr(1)}if(self.fontMap_.hasOwnProperty(font))return;self.fontMap_[font]=true;if(!self.availableFonts.hasOwnProperty(font))return;var content=readBinary(self.availableFonts[font]);Module["FS"].writeFile("/fonts/font"+self.fontId+++"-"+self.availableFonts[font].split("/").pop(),content,{encoding:"binary"})};self.writeAvailableFontsToFS=function(content){if(!self.availableFonts)return;var sections=parseAss(content);for(var i=0;i<sections.length;i++){for(var j=0;j<sections[i].body.length;j++){if(sections[i].body[j].key==="Style"){self.writeFontToFS(sections[i].body[j].value["Fontname"])}}}var regex=/\\fn([^\\}]*?)[\\}]/g;var matches;while(matches=regex.exec(self.subContent)){self.writeFontToFS(matches[1])}};self.getRenderMethod=function(){switch(self.renderMode){case"lossy":return self.lossyRender;case"js-blend":return self.render;default:console.error("Unrecognised renderMode, falling back to default!");case"wasm-blend":return self.blendRender}};self.setTrack=function(content){self.writeAvailableFontsToFS(content);Module["FS"].writeFile("/sub.ass",content);self.octObj.createTrack("/sub.ass");self.ass_track=self.octObj.track;self.getRenderMethod()()};self.freeTrack=function(){self.octObj.removeTrack();self.getRenderMethod()()};self.setTrackByUrl=function(url){var content="";if(isBrotliFile(url)){content=Module["BrotliDecode"](readBinary(url))}else{content=read_(url)}self.setTrack(content)};self.resize=function(width,height){self.width=width;self.height=height;self.octObj.resizeCanvas(width,height)};self.getCurrentTime=function(){var diff=(Date.now()-self.lastCurrentTimeReceivedAt)/1e3;if(self._isPaused){return self.lastCurrentTime}else{if(diff>5){console.error("Didn't received currentTime > 5 seconds. Assuming video was paused.");self.setIsPaused(true)}return self.lastCurrentTime+diff*self.rate}};self.setCurrentTime=function(currentTime){self.lastCurrentTime=currentTime;self.lastCurrentTimeReceivedAt=Date.now();if(!self.rafId){if(self.nextIsRaf){self.rafId=self.requestAnimationFrame(self.getRenderMethod())}else{self.getRenderMethod()();setTimeout(function(){self.nextIsRaf=false},20)}}};self._isPaused=true;self.getIsPaused=function(){return self._isPaused};self.setIsPaused=function(isPaused){if(isPaused!=self._isPaused){self._isPaused=isPaused;if(isPaused){if(self.rafId){clearTimeout(self.rafId);self.rafId=null}}else{self.lastCurrentTimeReceivedAt=Date.now();self.rafId=self.requestAnimationFrame(self.getRenderMethod())}}};self.render=function(force){self.rafId=0;self.renderPending=false;var startTime=performance.now();var renderResult=self.octObj.renderImage(self.getCurrentTime()+self.delay,self.changed);var changed=Module.getValue(self.changed,"i32");if(changed!=0||force){var result=self.buildResult(renderResult);var spentTime=performance.now()-startTime;postMessage({target:"canvas",op:"renderCanvas",time:Date.now(),spentTime:spentTime,canvases:result[0]},result[1])}if(!self._isPaused){self.rafId=self.requestAnimationFrame(self.render)}};self.blendRender=function(force){self.rafId=0;self.renderPending=false;var startTime=performance.now();var renderResult=self.octObj.renderBlend(self.getCurrentTime()+self.delay,force);if(renderResult.changed!=0||force){var canvases=[];var buffers=[];if(renderResult.image){var result=new Uint8Array(HEAPU8.subarray(renderResult.image,renderResult.image+renderResult.dest_width*renderResult.dest_height*4));canvases=[{w:renderResult.dest_width,h:renderResult.dest_height,x:renderResult.dest_x,y:renderResult.dest_y,buffer:result.buffer}];buffers=[result.buffer]}postMessage({target:"canvas",op:"renderCanvas",time:Date.now(),spentTime:performance.now()-startTime,blendTime:renderResult.blend_time,canvases:canvases},buffers)}if(!self._isPaused){self.rafId=self.requestAnimationFrame(self.blendRender)}};self.lossyRender=function(force){self.rafId=0;self.renderPending=false;var startTime=performance.now();var renderResult=self.octObj.renderImage(self.getCurrentTime()+self.delay,self.changed);var changed=Module.getValue(self.changed,"i32");if(changed!=0||force){var result=self.buildResult(renderResult);var newTime=performance.now();var libassTime=newTime-startTime;var promises=[];for(var i=0;i<result[0].length;i++){var image=result[0][i];var imageBuffer=new Uint8ClampedArray(image.buffer);var imageData=new ImageData(imageBuffer,image.w,image.h);promises[i]=createImageBitmap(imageData,0,0,image.w,image.h)}Promise.all(promises).then(function(imgs){var decodeTime=performance.now()-newTime;var bitmaps=[];for(var i=0;i<imgs.length;i++){var image=result[0][i];bitmaps[i]={x:image.x,y:image.y,bitmap:imgs[i]}}postMessage({target:"canvas",op:"renderFastCanvas",time:Date.now(),libassTime:libassTime,decodeTime:decodeTime,bitmaps:bitmaps},imgs)})}if(!self._isPaused){self.rafId=self.requestAnimationFrame(self.lossyRender)}};self.buildResult=function(ptr){var items=[];var transferable=[];var item;while(ptr.ptr!=0){item=self.buildResultItem(ptr);if(item!==null){items.push(item);transferable.push(item.buffer)}ptr=ptr.next}return[items,transferable]};self.buildResultItem=function(ptr){var bitmap=ptr.bitmap,stride=ptr.stride,w=ptr.w,h=ptr.h,color=ptr.color;if(w==0||h==0){return null}var r=color>>24&255,g=color>>16&255,b=color>>8&255,a=255-(color&255);var result=new Uint8ClampedArray(4*w*h);var bitmapPosition=0;var resultPosition=0;for(var y=0;y<h;++y){for(var x=0;x<w;++x){var k=Module.HEAPU8[bitmap+bitmapPosition+x]*a/255;result[resultPosition]=r;result[resultPosition+1]=g;result[resultPosition+2]=b;result[resultPosition+3]=k;resultPosition+=4}bitmapPosition+=stride}x=ptr.dst_x;y=ptr.dst_y;return{w:w,h:h,x:x,y:y,buffer:result.buffer}};if(typeof SDL!=="undefined"){SDL.defaults.copyOnLock=false;SDL.defaults.discardOnLock=false;SDL.defaults.opaqueFrontBuffer=false}function parseAss(content){var m,format,lastPart,parts,key,value,tmp,i,j,body;var sections=[];var lines=content.split(/[\r\n]+/g);for(i=0;i<lines.length;i++){m=lines[i].match(/^\[(.*)\]$/);if(m){format=null;sections.push({name:m[1],body:[]})}else{if(/^\s*$/.test(lines[i]))continue;if(sections.length===0)continue;body=sections[sections.length-1].body;if(lines[i][0]===";"){body.push({type:"comment",value:lines[i].substring(1)})}else{parts=lines[i].split(":");key=parts[0];value=parts.slice(1).join(":").trim();if(format||key==="Format"){value=value.split(",");if(format&&value.length>format.length){lastPart=value.slice(format.length-1).join(",");value=value.slice(0,format.length-1);value.push(lastPart)}value=value.map(function(s){return s.trim()});if(format){tmp={};for(j=0;j<value.length;j++){tmp[format[j]]=value[j]}value=tmp}}if(key==="Format"){format=value}body.push({key:key,value:value})}}}return sections}self.requestAnimationFrame=function(){var nextRAF=0;return function(func){var now=Date.now();if(nextRAF===0){nextRAF=now+1e3/self.targetFps}else{while(now+2>=nextRAF){nextRAF+=1e3/self.targetFps}}var delay=Math.max(nextRAF-now,0);return setTimeout(func,delay)}}();var screen={width:0,height:0};Module.print=function Module_print(x){postMessage({target:"stdout",content:x})};Module.printErr=function Module_printErr(x){postMessage({target:"stderr",content:x})};var frameId=0;var clientFrameId=0;var commandBuffer=[];var postMainLoop=Module["postMainLoop"];Module["postMainLoop"]=function(){if(postMainLoop)postMainLoop();postMessage({target:"tick",id:frameId++});commandBuffer=[]};addRunDependency("worker-init");var messageBuffer=null;var messageResenderTimeout=null;function messageResender(){if(calledMain){assert(messageBuffer&&messageBuffer.length>0);messageResenderTimeout=null;messageBuffer.forEach(function(message){onmessage(message)});messageBuffer=null}else{messageResenderTimeout=setTimeout(messageResender,50)}}function _applyKeys(input,output){var vargs=Object.keys(input);for(var i=0;i<vargs.length;i++){output[vargs[i]]=input[vargs[i]]}}function onMessageFromMainEmscriptenThread(message){if(!calledMain&&!message.data.preMain){if(!messageBuffer){messageBuffer=[];messageResenderTimeout=setTimeout(messageResender,50)}messageBuffer.push(message);return}if(calledMain&&messageResenderTimeout){clearTimeout(messageResenderTimeout);messageResender()}switch(message.data.target){case"window":{self.fireEvent(message.data.event);break}case"canvas":{if(message.data.event){Module.canvas.fireEvent(message.data.event)}else if(message.data.width){if(Module.canvas&&message.data.boundingClientRect){Module.canvas.boundingClientRect=message.data.boundingClientRect}self.resize(message.data.width,message.data.height);self.getRenderMethod()()}else throw"ey?";break}case"video":{if(message.data.currentTime!==undefined){self.setCurrentTime(message.data.currentTime)}if(message.data.isPaused!==undefined){self.setIsPaused(message.data.isPaused)}if(message.data.rate){self.rate=message.data.rate}break}case"tock":{clientFrameId=message.data.id;break}case"worker-init":{screen.width=self.width=message.data.width;screen.height=self.height=message.data.height;self.subUrl=message.data.subUrl;self.subContent=message.data.subContent;self.fontFiles=message.data.fonts;self.renderMode=message.data.renderMode;self.availableFonts=message.data.availableFonts;self.debug=message.data.debug;if(!hasNativeConsole&&self.debug){console=makeCustomConsole();console.log("overridden console")}if(Module.canvas){Module.canvas.width_=message.data.width;Module.canvas.height_=message.data.height;if(message.data.boundingClientRect){Module.canvas.boundingClientRect=message.data.boundingClientRect}}self.targetFps=message.data.targetFps||self.targetFps;self.libassMemoryLimit=message.data.libassMemoryLimit||self.libassMemoryLimit;self.libassGlyphLimit=message.data.libassGlyphLimit||0;removeRunDependency("worker-init");postMessage({target:"ready"});break}case"destroy":self.octObj.quitLibrary();break;case"free-track":self.freeTrack();break;case"set-track":self.setTrack(message.data.content);break;case"set-track-by-url":self.setTrackByUrl(message.data.url);break;case"create-event":var event=message.data.event;var i=self.octObj.allocEvent();var evnt_ptr=self.octObj.track.get_events(i);_applyKeys(event,evnt_ptr);break;case"get-events":var events=[];for(var i=0;i<self.octObj.getEventCount();i++){var evnt_ptr=self.octObj.track.get_events(i);var event={Start:evnt_ptr.get_Start(),Duration:evnt_ptr.get_Duration(),ReadOrder:evnt_ptr.get_ReadOrder(),Layer:evnt_ptr.get_Layer(),Style:evnt_ptr.get_Style(),Name:evnt_ptr.get_Name(),MarginL:evnt_ptr.get_MarginL(),MarginR:evnt_ptr.get_MarginR(),MarginV:evnt_ptr.get_MarginV(),Effect:evnt_ptr.get_Effect(),Text:evnt_ptr.get_Text()};events.push(event)}postMessage({target:"get-events",time:Date.now(),events:events});break;case"set-event":var event=message.data.event;var i=message.data.index;var evnt_ptr=self.octObj.track.get_events(i);_applyKeys(event,evnt_ptr);break;case"remove-event":var i=message.data.index;self.octObj.removeEvent(i);break;case"create-style":var style=message.data.style;var i=self.octObj.allocStyle();var styl_ptr=self.octObj.track.get_styles(i);_applyKeys(style,styl_ptr);break;case"get-styles":var styles=[];for(var i=0;i<self.octObj.getStyleCount();i++){var styl_ptr=self.octObj.track.get_styles(i);var style={Name:styl_ptr.get_Name(),FontName:styl_ptr.get_FontName(),FontSize:styl_ptr.get_FontSize(),PrimaryColour:styl_ptr.get_PrimaryColour(),SecondaryColour:styl_ptr.get_SecondaryColour(),OutlineColour:styl_ptr.get_OutlineColour(),BackColour:styl_ptr.get_BackColour(),Bold:styl_ptr.get_Bold(),Italic:styl_ptr.get_Italic(),Underline:styl_ptr.get_Underline(),StrikeOut:styl_ptr.get_StrikeOut(),ScaleX:styl_ptr.get_ScaleX(),ScaleY:styl_ptr.get_ScaleY(),Spacing:styl_ptr.get_Spacing(),Angle:styl_ptr.get_Angle(),BorderStyle:styl_ptr.get_BorderStyle(),Outline:styl_ptr.get_Outline(),Shadow:styl_ptr.get_Shadow(),Alignment:styl_ptr.get_Alignment(),MarginL:styl_ptr.get_MarginL(),MarginR:styl_ptr.get_MarginR(),MarginV:styl_ptr.get_MarginV(),Encoding:styl_ptr.get_Encoding(),treat_fontname_as_pattern:styl_ptr.get_treat_fontname_as_pattern(),Blur:styl_ptr.get_Blur(),Justify:styl_ptr.get_Justify()};styles.push(style)}postMessage({target:"get-styles",time:Date.now(),styles:styles});break;case"set-style":var style=message.data.style;var i=message.data.index;var styl_ptr=self.octObj.track.get_styles(i);_applyKeys(style,styl_ptr);break;case"remove-style":var i=message.data.index;self.octObj.removeStyle(i);break;case"runBenchmark":{self.runBenchmark();break}case"custom":{if(Module["onCustomMessage"]){Module["onCustomMessage"](message)}else{throw"Custom message received but worker Module.onCustomMessage not implemented."}break}case"setimmediate":{if(Module["setImmediates"])Module["setImmediates"].shift()();break}default:throw"wha? "+message.data.target}}onmessage=onMessageFromMainEmscriptenThread;self.runBenchmark=function(seconds,pos,async){var totalTime=0;var i=0;pos=pos||0;seconds=seconds||60;var count=seconds*self.targetFps;var start=performance.now();var longestFrame=0;var run=function(){var t0=performance.now();pos+=1/self.targetFps;self.setCurrentTime(pos);var t1=performance.now();var diff=t1-t0;totalTime+=diff;if(diff>longestFrame){longestFrame=diff}if(i<count){i++;if(async){self.requestAnimationFrame(run);return false}else{return true}}else{console.log("Performance fps: "+Math.round(1e3/(totalTime/count))+"");console.log("Real fps: "+Math.round(1e3/((t1-start)/count))+"");console.log("Total time: "+totalTime);console.log("Longest frame: "+Math.ceil(longestFrame)+"ms ("+Math.floor(1e3/longestFrame)+" fps)");return false}};while(true){if(!run()){break}}};
|