Module = {} Module["instantiateWasm"] = function(imports, successCallback) { let wasmbin = Krom.loadBlob("data/plugins/uv_unwrap.wasm"); let module = new WebAssembly.Module(wasmbin); let inst = new WebAssembly.Instance(module, imports); successCallback(inst); return inst.exports; }; // emscripten-generated glue var b;b=b||("undefined"!=typeof Module?Module:{});var k,h={};for(k in b)b.hasOwnProperty(k)&&(h[k]=b[k]);var m,l="./this.program";m=function(t){return"function"==typeof readbuffer?new Uint8Array(readbuffer(t)):("object"==typeof(t=read(t,"binary"))||n("Assertion failed: undefined"),t)},"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print);var r,p=b.print||console.log.bind(console),q=b.printErr||console.warn.bind(console);for(k in h)h.hasOwnProperty(k)&&(b[k]=h[k]);h=null,b.thisProgram&&(l=b.thisProgram),b.wasmBinary&&(r=b.wasmBinary),"object"!=typeof WebAssembly&&q("no native wasm support detected");var t,A,B,y,C,u=new WebAssembly.Table({initial:9,maximum:9,element:"anyfunc"}),v=!1,w="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function x(n){if(n){for(var t=y,e=n+void 0,r=n;t[r]&&!(e<=r);)++r;if(16>10,56320|1023&o))}}else e+=String.fromCharCode(o)}n=e}}else n="";return n}function z(n){return 0>16),D(t.buffer);var r=1;break n}catch(n){}r=void 0}return!!r},f:function(r,o){var a=0;return U().forEach(function(n,t){var e=o+a;for(t=C[r+4*t>>2]=e,e=0;e>0]=n.charCodeAt(e);B[t>>0]=0,a+=n.length+1}),0},g:function(n,t){var e=U();C[n>>2]=e.length;var r=0;return e.forEach(function(n){r+=n.length+1}),C[t>>2]=r,0},c:function(){q("missing function: iprintf"),n(-1)},memory:t,b:function(n){var t=(n=x(n)).substr(0);return"\n"===t[t.length-1]&&(t=t.substr(0,t.length-1)),p(t),n.length},table:u},X=function(){function t(n){b.asm=n.exports,M--,b.monitorRunDependencies&&b.monitorRunDependencies(M),0==M&&(null!==N&&(clearInterval(N),N=null),O&&(n=O,O=null,n()))}function e(n){t(n.instance)}function o(t){return S().then(function(n){return WebAssembly.instantiate(n,a)}).then(t,function(t){q("failed to asynchronously prepare wasm: "+t),n(t)})}var a={env:W,wasi_unstable:W};if(M++,b.monitorRunDependencies&&b.monitorRunDependencies(M),b.instantiateWasm)try{return b.instantiateWasm(a,t)}catch(n){return q("Module.instantiateWasm callback failed with error: "+n),!1}return function(){if(r||"function"!=typeof WebAssembly.instantiateStreaming||P()||"function"!=typeof fetch)return o(e);fetch(Q,{credentials:"same-origin"}).then(function(n){return WebAssembly.instantiateStreaming(n,a).then(e,function(n){q("wasm streaming compile failed: "+n),q("falling back to ArrayBuffer instantiation"),o(e)})})}(),{}}();b.asm=X;var Y,aa=b.___wasm_call_ctors=function(){return b.asm.h.apply(null,arguments)};function Z(){function n(){if(!Y&&(Y=!0,!v)){if(F(H),F(I),b.onRuntimeInitialized&&b.onRuntimeInitialized(),b.postRun)for("function"==typeof b.postRun&&(b.postRun=[b.postRun]);b.postRun.length;){var n=b.postRun.shift();K.unshift(n)}F(K)}}if(!(0