varModule;if(!Module)Module=(typeofModule!=="undefined"?Module:null)||{};varmoduleOverrides={};for(varkeyinModule){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}varENVIRONMENT_IS_WEB=typeofwindow==="object";varENVIRONMENT_IS_NODE=typeofprocess==="object"&&typeofrequire==="function"&&!ENVIRONMENT_IS_WEB;varENVIRONMENT_IS_WORKER=typeofimportScripts==="function";varENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=functionprint(x){process["stdout"].write(x+"\n")};if(!Module["printErr"])Module["printErr"]=functionprintErr(x){process["stderr"].write(x+"\n")};varnodeFS=require("fs");varnodePath=require("path");Module["read"]=functionread(filename,binary){filename=nodePath["normalize"](filename);varret=nodeFS["readFileSync"](filename);if(!ret&&filename!=nodePath["resolve"](filename)){filename=path.join(__dirname,"..","src",filename);ret=nodeFS["readFileSync"](filename)}if(ret&&!binary)ret=ret.toString();returnret};Module["readBinary"]=functionreadBinary(filename){returnModule["read"](filename,true)};Module["load"]=functionload(f){globalEval(read(f))};if(!Module["thisProgram"]){if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);if(typeofmodule!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(exinstanceofExitStatus)){throwex}}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}elseif(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeofprintErr!="undefined")Module["printErr"]=printErr;if(typeofread!="undefined"){Module["read"]=read}else{Module["read"]=functionread(){throw"no read() available (jsc?)"}}Module["readBinary"]=functionreadBinary(f){if(typeofreadbuffer==="function"){returnnewUint8Array(readbuffer(f))}vardata=read(f,"binary");assert(typeofdata==="object");returndata};if(typeofscriptArgs!="undefined"){Module["arguments"]=scriptArgs}elseif(typeofarguments!="undefined"){Module["arguments"]=arguments}}elseif(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=functionread(url){varxhr=newXMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);returnxhr.responseText};if(typeofarguments!="undefined"){Module["arguments"]=arguments}if(typeofconsole!=="undefined"){if(!Module["print"])Module["print"]=functionprint(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=functionprintErr(x){console.log(x)}}else{varTRY_USE_DUMP=false;if(!Module["print"])Module["print"]=TRY_USE_DUMP&&typeofdump!=="undefined"?(function(x){dump(x)}):(function(x){})}if(ENVIRONMENT_IS_WORKER){Module["load"]=importScripts}if(typeofModule["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw"Unknown runtime environment. Where are we?"}functionglobalEval(x){eval.call(null,x)}if(!Module["load"]&&Module["read"]){Module["load"]=functionload(f){globalEval(Module["read"](f))}}if(!Module["print"]){Module["print"]=(function(){})}if(!Module["printErr"]){Module["printErr"]=Module["print"]}if(!Module["arguments"]){Module["arguments"]=[]}if(!Module["thisProgram"]){Module["thisProgram"]="./this.program"}Module.print=Module["print"];Module.printErr=Module["printErr"];Module["preRun"]=[];Module["postRun"]=[];for(varkeyinmoduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}varRuntime={setTempRet0:(function(value){tempRet0=value}),getTempRet0:(function(){returntempRet0}),stackSave:(function(){returnSTACKTOP}),stackRestore:(function(stackTop){STACKTOP=stackTop}),getNativeTypeSize:(function(type){switch(type){case"i1":case"i8":return1;case"i16":return2;case"i32":return4;case"i64":return8;case"float":return4;case"double":return8;default:{if(type[type.length-1]==="*"){returnRuntime.QUANTUM_SIZE}elseif(type[0]==="i"){varbits=parseInt(type.substr(1));assert(bits%8===0);returnbits/8}els
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var_wtoutputlength=Module["_wtoutputlength"]=asm["_wtoutputlength"];var_free=Module["_free"]=asm["_free"];varrunPostSets=Module["runPostSets"]=asm["runPostSets"];var_wave_transform=Module["_wave_transform"]=asm["_wave_transform"];var_filtcoef=Module["_filtcoef"]=asm["_filtcoef"];var_memset=Module["_memset"]=asm["_memset"];var_malloc=Module["_malloc"]=asm["_malloc"];var_memcpy=Module["_memcpy"]=asm["_memcpy"];var_strlen=Module["_strlen"]=asm["_strlen"];var_inv_wave_transform=Module["_inv_wave_transform"]=asm["_inv_wave_transform"];var_filtlength=Module["_filtlength"]=asm["_filtlength"];var_cwave_transform=Module["_cwave_transform"]=asm["_cwave_transform"];var_strcpy=Module["_strcpy"]=asm["_strcpy"];var_bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];Runtime.stackAlloc=asm["stackAlloc"];Runtime.stackSave=asm["stackSave"];Runtime.stackRestore=asm["stackRestore"];Runtime.establishStackSpace=asm["establishStackSpace"];Runtime.setTempRet0=asm["setTempRet0"];Runtime.getTempRet0=asm["getTempRet0"];vari64Math=null;functionExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=newError;ExitStatus.prototype.constructor=ExitStatus;varinitialStackTop;varpreloadStartTime=null;varcalledMain=false;dependenciesFulfilled=functionrunCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};Module["callMain"]=Module.callMain=functioncallMain(args){assert(runDependencies==0,"cannot call main when async dependencies remain! (listen on __ATMAIN__)");assert(__ATPRERUN__.length==0,"cannot call main when preRun functions remain to be called");args=args||[];ensureInitRuntime();varargc=args.length+1;functionpad(){for(vari=0;i<4-1;i++){argv.push(0)}}varargv=[allocate(intArrayFromString(Module["thisProgram"]),"i8",ALLOC_NORMAL)];pad();for(vari=0;i<argc-1;i=i+1){argv.push(allocate(intArrayFromString(args[i]),"i8",ALLOC_NORMAL));pad()}argv.push(0);argv=allocate(argv,"i32",ALLOC_NORMAL);initialStackTop=STACKTOP;try{varret=Module["_main"](argc,argv,0);exit(ret,true)}catch(e){if(einstanceofExitStatus){return}elseif(e=="SimulateInfiniteLoop"){Module["noExitRuntime"]=true;return}else{if(e&&typeofe==="object"&&e.stack)Module.printErr("exception thrown: "+[e,e.stack]);throwe}}finally{calledMain=true}};functionrun(args){args=args||Module["arguments"];if(preloadStartTime===null)preloadStartTime=Date.now();if(runDependencies>0){return}preRun();if(runDependencies>0)return;if(Module["calledRun"])return;functiondoRun(){if(Module["calledRun"])return;Module["calledRun"]=true;if(ABORT)return;ensureInitRuntime();preMain();if(ENVIRONMENT_IS_WEB&&preloadStartTime!==null){Module.printErr("pre-main prep time: "+(Date.now()-preloadStartTime)+" ms")}if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(Module["_main"]&&shouldRunNow)Module["callMain"](args);postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout((function(){setTimeout((function(){Module["setStatus"]("")}),1);doRun()}),1)}else{doRun()}}Module["run"]=Module.run=run;functionexit(status,implicit){if(implicit&&Module["noExitRuntime"]){return}if(Module["noExitRuntime"]){}else{ABORT=true;EXITSTATUS=status;STACKTOP=initialStackTop;exitRuntime();if(Module["onExit"])Module["onExit"](status)}if(ENVIRONMENT_IS_NODE){process["stdout"]["once"]("drain",(function(){process["exit"](status)}));console.log(" ");setTimeout((function(){process["exit"](status)}),500)}elseif(ENVIRONMENT_IS_SHELL&&typeofquit==="function"){quit(status)}thrownewExitStatus(status)}Module["exit"]=Module.exit=exit;varabortDecorators=[];functionabort(what){if(what!==undefined){Module.print(what);Module.printErr(what);what=JSON.stringify(what)}else{what=""}ABORT=true;EXITSTATUS=1;varextra="\nIf this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.";varoutput="abort("+what+") at "+stackTrace()+extra;if(abortDecorators){abortDecorators.forEach((function(decorato