const lAudioContext = (typeof AudioContext !== 'undefined' ? AudioContext : (typeof webkitAudioContext !== 'undefined' ? webkitAudioContext : undefined)); let wasm; const heap = new Array(128).fill(undefined); heap.push(undefined, null, true, false); function getObject(idx) { return heap[idx]; } let heap_next = heap.length; function dropObject(idx) { if (idx < 132) return; heap[idx] = heap_next; heap_next = idx; } function takeObject(idx) { const ret = getObject(idx); dropObject(idx); return ret; } function addHeapObject(obj) { if (heap_next === heap.length) heap.push(heap.length + 1); const idx = heap_next; heap_next = heap[idx]; heap[idx] = obj; return idx; } const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } ); if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); }; let cachedUint8Memory0 = null; function getUint8Memory0() { if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) { cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer); } return cachedUint8Memory0; } function getStringFromWasm0(ptr, len) { ptr = ptr >>> 0; return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len)); } function isLikeNone(x) { return x === undefined || x === null; } let cachedFloat64Memory0 = null; function getFloat64Memory0() { if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) { cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer); } return cachedFloat64Memory0; } let cachedInt32Memory0 = null; function getInt32Memory0() { if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) { cachedInt32Memory0 = new Int32Array(wasm.memory.buffer); } return cachedInt32Memory0; } let WASM_VECTOR_LEN = 0; const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } ); const encodeString = (typeof cachedTextEncoder.encodeInto === 'function' ? function (arg, view) { return cachedTextEncoder.encodeInto(arg, view); } : function (arg, view) { const buf = cachedTextEncoder.encode(arg); view.set(buf); return { read: arg.length, written: buf.length }; }); function passStringToWasm0(arg, malloc, realloc) { if (realloc === undefined) { const buf = cachedTextEncoder.encode(arg); const ptr = malloc(buf.length, 1) >>> 0; getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf); WASM_VECTOR_LEN = buf.length; return ptr; } let len = arg.length; let ptr = malloc(len, 1) >>> 0; const mem = getUint8Memory0(); let offset = 0; for (; offset < len; offset++) { const code = arg.charCodeAt(offset); if (code > 0x7F) break; mem[ptr + offset] = code; } if (offset !== len) { if (offset !== 0) { arg = arg.slice(offset); } ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; const view = getUint8Memory0().subarray(ptr + offset, ptr + len); const ret = encodeString(arg, view); offset += ret.written; } WASM_VECTOR_LEN = offset; return ptr; } function debugString(val) { // primitive types const type = typeof val; if (type == 'number' || type == 'boolean' || val == null) { return `${val}`; } if (type == 'string') { return `"${val}"`; } if (type == 'symbol') { const description = val.description; if (description == null) { return 'Symbol'; } else { return `Symbol(${description})`; } } if (type == 'function') { const name = val.name; if (typeof name == 'string' && name.length > 0) { return `Function(${name})`; } else { return 'Function'; } } // objects if (Array.isArray(val)) { const length = val.length; let debug = '['; if (length > 0) { debug += debugString(val[0]); } for(let i = 1; i < length; i++) { debug += ', ' + debugString(val[i]); } debug += ']'; return debug; } // Test for built-in const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val)); let className; if (builtInMatches.length > 1) { className = builtInMatches[1]; } else { // Failed to match the standard '[object ClassName]' return toString.call(val); } if (className == 'Object') { // we're a user defined class or Object // JSON.stringify avoids problems with cycles, and is generally much // easier than looping through ownProperties of `val`. try { return 'Object(' + JSON.stringify(val) + ')'; } catch (_) { return 'Object'; } } // errors if (val instanceof Error) { return `${val.name}: ${val.message}\n${val.stack}`; } // TODO we could test for more things here, like `Set`s and `Map`s. return className; } function makeMutClosure(arg0, arg1, dtor, f) { const state = { a: arg0, b: arg1, cnt: 1, dtor }; const real = (...args) => { // First up with a closure we increment the internal reference // count. This ensures that the Rust closure environment won't // be deallocated while we're invoking it. state.cnt++; const a = state.a; state.a = 0; try { return f(a, state.b, ...args); } finally { if (--state.cnt === 0) { wasm.__wbindgen_export_2.get(state.dtor)(a, state.b); } else { state.a = a; } } }; real.original = state; return real; } function __wbg_adapter_34(arg0, arg1, arg2) { wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h087aa75c2ef422bf(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_47(arg0, arg1) { wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7b2cdb1004d79a48(arg0, arg1); } function __wbg_adapter_54(arg0, arg1, arg2) { wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__haccacba5b48e204b(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_57(arg0, arg1) { wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb967268334a36223(arg0, arg1); } function __wbg_adapter_60(arg0, arg1, arg2) { wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h25604c97ab01cac0(arg0, arg1, addHeapObject(arg2)); } function handleError(f, args) { try { return f.apply(this, args); } catch (e) { wasm.__wbindgen_exn_store(addHeapObject(e)); } } let cachedFloat32Memory0 = null; function getFloat32Memory0() { if (cachedFloat32Memory0 === null || cachedFloat32Memory0.byteLength === 0) { cachedFloat32Memory0 = new Float32Array(wasm.memory.buffer); } return cachedFloat32Memory0; } function getArrayF32FromWasm0(ptr, len) { ptr = ptr >>> 0; return getFloat32Memory0().subarray(ptr / 4, ptr / 4 + len); } function getArrayI32FromWasm0(ptr, len) { ptr = ptr >>> 0; return getInt32Memory0().subarray(ptr / 4, ptr / 4 + len); } let cachedUint32Memory0 = null; function getUint32Memory0() { if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) { cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer); } return cachedUint32Memory0; } function getArrayU32FromWasm0(ptr, len) { ptr = ptr >>> 0; return getUint32Memory0().subarray(ptr / 4, ptr / 4 + len); } async function __wbg_load(module, imports) { if (typeof Response === 'function' && module instanceof Response) { if (typeof WebAssembly.instantiateStreaming === 'function') { try { return await WebAssembly.instantiateStreaming(module, imports); } catch (e) { if (module.headers.get('Content-Type') != 'application/wasm') { console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e); } else { throw e; } } } const bytes = await module.arrayBuffer(); return await WebAssembly.instantiate(bytes, imports); } else { const instance = await WebAssembly.instantiate(module, imports); if (instance instanceof WebAssembly.Instance) { return { instance, module }; } else { return instance; } } } function __wbg_get_imports() { const imports = {}; imports.wbg = {}; imports.wbg.__wbindgen_object_drop_ref = function(arg0) { takeObject(arg0); }; imports.wbg.__wbindgen_cb_drop = function(arg0) { const obj = takeObject(arg0).original; if (obj.cnt-- == 1) { obj.a = 0; return true; } const ret = false; return ret; }; imports.wbg.__wbindgen_object_clone_ref = function(arg0) { const ret = getObject(arg0); return addHeapObject(ret); }; imports.wbg.__wbindgen_string_new = function(arg0, arg1) { const ret = getStringFromWasm0(arg0, arg1); return addHeapObject(ret); }; imports.wbg.__wbindgen_number_get = function(arg0, arg1) { const obj = getObject(arg1); const ret = typeof(obj) === 'number' ? obj : undefined; getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret; getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret); }; imports.wbg.__wbindgen_is_null = function(arg0) { const ret = getObject(arg0) === null; return ret; }; imports.wbg.__wbindgen_boolean_get = function(arg0) { const v = getObject(arg0); const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2; return ret; }; imports.wbg.__wbindgen_string_get = function(arg0, arg1) { const obj = getObject(arg1); const ret = typeof(obj) === 'string' ? obj : undefined; var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; imports.wbg.__wbindgen_number_new = function(arg0) { const ret = arg0; return addHeapObject(ret); }; imports.wbg.__wbg_log_c9486ca5d8e2cbe8 = function(arg0, arg1) { let deferred0_0; let deferred0_1; try { deferred0_0 = arg0; deferred0_1 = arg1; console.log(getStringFromWasm0(arg0, arg1)); } finally { wasm.__wbindgen_free(deferred0_0, deferred0_1, 1); } }; imports.wbg.__wbg_log_aba5996d9bde071f = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { let deferred0_0; let deferred0_1; try { deferred0_0 = arg0; deferred0_1 = arg1; console.log(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7)); } finally { wasm.__wbindgen_free(deferred0_0, deferred0_1, 1); } }; imports.wbg.__wbg_mark_40e050a77cc39fea = function(arg0, arg1) { performance.mark(getStringFromWasm0(arg0, arg1)); }; imports.wbg.__wbg_measure_aa7a73f17813f708 = function() { return handleError(function (arg0, arg1, arg2, arg3) { let deferred0_0; let deferred0_1; let deferred1_0; let deferred1_1; try { deferred0_0 = arg0; deferred0_1 = arg1; deferred1_0 = arg2; deferred1_1 = arg3; performance.measure(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3)); } finally { wasm.__wbindgen_free(deferred0_0, deferred0_1, 1); wasm.__wbindgen_free(deferred1_0, deferred1_1, 1); } }, arguments) }; imports.wbg.__wbg_new_abda76e883ba8a5f = function() { const ret = new Error(); return addHeapObject(ret); }; imports.wbg.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) { const ret = getObject(arg1).stack; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; imports.wbg.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) { let deferred0_0; let deferred0_1; try { deferred0_0 = arg0; deferred0_1 = arg1; console.error(getStringFromWasm0(arg0, arg1)); } finally { wasm.__wbindgen_free(deferred0_0, deferred0_1, 1); } }; imports.wbg.__wbg_instanceof_WebGl2RenderingContext_f921526c513bf717 = function(arg0) { let result; try { result = getObject(arg0) instanceof WebGL2RenderingContext; } catch (_) { result = false; } const ret = result; return ret; }; imports.wbg.__wbg_beginQuery_d338463adf721553 = function(arg0, arg1, arg2) { getObject(arg0).beginQuery(arg1 >>> 0, getObject(arg2)); }; imports.wbg.__wbg_bindBufferRange_d8a5ebc8ea8be507 = function(arg0, arg1, arg2, arg3, arg4, arg5) { getObject(arg0).bindBufferRange(arg1 >>> 0, arg2 >>> 0, getObject(arg3), arg4, arg5); }; imports.wbg.__wbg_bindSampler_d74e398b68cf5980 = function(arg0, arg1, arg2) { getObject(arg0).bindSampler(arg1 >>> 0, getObject(arg2)); }; imports.wbg.__wbg_bindVertexArray_8863a216d7b0a339 = function(arg0, arg1) { getObject(arg0).bindVertexArray(getObject(arg1)); }; imports.wbg.__wbg_blitFramebuffer_e6642748dd06d47e = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) { getObject(arg0).blitFramebuffer(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0); }; imports.wbg.__wbg_bufferData_496bbb31639d9850 = function(arg0, arg1, arg2, arg3) { getObject(arg0).bufferData(arg1 >>> 0, arg2, arg3 >>> 0); }; imports.wbg.__wbg_bufferData_21334671c4ba6004 = function(arg0, arg1, arg2, arg3) { getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0); }; imports.wbg.__wbg_bufferSubData_c472b93c9e272eac = function(arg0, arg1, arg2, arg3) { getObject(arg0).bufferSubData(arg1 >>> 0, arg2, getObject(arg3)); }; imports.wbg.__wbg_clearBufferfi_25bcd35b825f629d = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).clearBufferfi(arg1 >>> 0, arg2, arg3, arg4); }; imports.wbg.__wbg_clearBufferfv_9de0cb45cc5a012b = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).clearBufferfv(arg1 >>> 0, arg2, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_clearBufferiv_fc2f8bce2930c586 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).clearBufferiv(arg1 >>> 0, arg2, getArrayI32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_clearBufferuiv_2f6d220a31eabca4 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).clearBufferuiv(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_clientWaitSync_6a74725ec890efdd = function(arg0, arg1, arg2, arg3) { const ret = getObject(arg0).clientWaitSync(getObject(arg1), arg2 >>> 0, arg3 >>> 0); return ret; }; imports.wbg.__wbg_compressedTexSubImage2D_945ba54869f3a612 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { getObject(arg0).compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8, arg9); }; imports.wbg.__wbg_compressedTexSubImage2D_ed56fa2f82a839b1 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) { getObject(arg0).compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, getObject(arg8)); }; imports.wbg.__wbg_compressedTexSubImage3D_4cebeae1440fdc14 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) { getObject(arg0).compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10, arg11); }; imports.wbg.__wbg_compressedTexSubImage3D_0ae61aaa91089745 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) { getObject(arg0).compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, getObject(arg10)); }; imports.wbg.__wbg_copyBufferSubData_d112912c90270156 = function(arg0, arg1, arg2, arg3, arg4, arg5) { getObject(arg0).copyBufferSubData(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5); }; imports.wbg.__wbg_copyTexSubImage3D_9fa5e9e7b16cf09d = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { getObject(arg0).copyTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); }; imports.wbg.__wbg_createQuery_2ef2dc0f01a4a8e3 = function(arg0) { const ret = getObject(arg0).createQuery(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_createSampler_039ecd204675292b = function(arg0) { const ret = getObject(arg0).createSampler(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_createVertexArray_51d51e1e1e13e9f6 = function(arg0) { const ret = getObject(arg0).createVertexArray(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_deleteQuery_0c64c5200cdc57a6 = function(arg0, arg1) { getObject(arg0).deleteQuery(getObject(arg1)); }; imports.wbg.__wbg_deleteSampler_ce5b8e120f96fc1a = function(arg0, arg1) { getObject(arg0).deleteSampler(getObject(arg1)); }; imports.wbg.__wbg_deleteSync_1b05dfcc176e7466 = function(arg0, arg1) { getObject(arg0).deleteSync(getObject(arg1)); }; imports.wbg.__wbg_deleteVertexArray_3e4f2e2ff7f05a19 = function(arg0, arg1) { getObject(arg0).deleteVertexArray(getObject(arg1)); }; imports.wbg.__wbg_drawArraysInstanced_8fb13fe9faf95212 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).drawArraysInstanced(arg1 >>> 0, arg2, arg3, arg4); }; imports.wbg.__wbg_drawBuffers_15d26e17a8d24ee0 = function(arg0, arg1) { getObject(arg0).drawBuffers(getObject(arg1)); }; imports.wbg.__wbg_drawElementsInstanced_dcf53461a977d44c = function(arg0, arg1, arg2, arg3, arg4, arg5) { getObject(arg0).drawElementsInstanced(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5); }; imports.wbg.__wbg_endQuery_faf7eb231d6f2a66 = function(arg0, arg1) { getObject(arg0).endQuery(arg1 >>> 0); }; imports.wbg.__wbg_fenceSync_d68dcbdcdd134d92 = function(arg0, arg1, arg2) { const ret = getObject(arg0).fenceSync(arg1 >>> 0, arg2 >>> 0); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_framebufferTextureLayer_a92788e5f0409234 = function(arg0, arg1, arg2, arg3, arg4, arg5) { getObject(arg0).framebufferTextureLayer(arg1 >>> 0, arg2 >>> 0, getObject(arg3), arg4, arg5); }; imports.wbg.__wbg_getBufferSubData_8710cc73621fc332 = function(arg0, arg1, arg2, arg3) { getObject(arg0).getBufferSubData(arg1 >>> 0, arg2, getObject(arg3)); }; imports.wbg.__wbg_getIndexedParameter_4f004dc25c3d15a9 = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).getIndexedParameter(arg1 >>> 0, arg2 >>> 0); return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_getQueryParameter_64c18ef385414bf1 = function(arg0, arg1, arg2) { const ret = getObject(arg0).getQueryParameter(getObject(arg1), arg2 >>> 0); return addHeapObject(ret); }; imports.wbg.__wbg_getSyncParameter_d93ec7f6bb11274c = function(arg0, arg1, arg2) { const ret = getObject(arg0).getSyncParameter(getObject(arg1), arg2 >>> 0); return addHeapObject(ret); }; imports.wbg.__wbg_getUniformBlockIndex_99c15053c9a87c73 = function(arg0, arg1, arg2, arg3) { const ret = getObject(arg0).getUniformBlockIndex(getObject(arg1), getStringFromWasm0(arg2, arg3)); return ret; }; imports.wbg.__wbg_invalidateFramebuffer_03bd99588b15d627 = function() { return handleError(function (arg0, arg1, arg2) { getObject(arg0).invalidateFramebuffer(arg1 >>> 0, getObject(arg2)); }, arguments) }; imports.wbg.__wbg_readBuffer_c426fe18344296ff = function(arg0, arg1) { getObject(arg0).readBuffer(arg1 >>> 0); }; imports.wbg.__wbg_readPixels_99fda83f6ca7ec72 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; imports.wbg.__wbg_readPixels_9634f0dcfb54667c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7); }, arguments) }; imports.wbg.__wbg_renderbufferStorageMultisample_9260e2e620c949e5 = function(arg0, arg1, arg2, arg3, arg4, arg5) { getObject(arg0).renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5); }; imports.wbg.__wbg_samplerParameterf_1c7562ef061b803b = function(arg0, arg1, arg2, arg3) { getObject(arg0).samplerParameterf(getObject(arg1), arg2 >>> 0, arg3); }; imports.wbg.__wbg_samplerParameteri_0fee083bc48e70ee = function(arg0, arg1, arg2, arg3) { getObject(arg0).samplerParameteri(getObject(arg1), arg2 >>> 0, arg3); }; imports.wbg.__wbg_texStorage2D_6665d01025a7e7fc = function(arg0, arg1, arg2, arg3, arg4, arg5) { getObject(arg0).texStorage2D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5); }; imports.wbg.__wbg_texStorage3D_c01c31c1b02d75fd = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { getObject(arg0).texStorage3D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5, arg6); }; imports.wbg.__wbg_texSubImage2D_d2841ded12a8aa66 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9)); }, arguments) }; imports.wbg.__wbg_texSubImage2D_bccf4e250f1ce1b8 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); }, arguments) }; imports.wbg.__wbg_texSubImage2D_780a7c889dc20a98 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9)); }, arguments) }; imports.wbg.__wbg_texSubImage2D_b5bb36f2f54b4264 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9)); }, arguments) }; imports.wbg.__wbg_texSubImage2D_a297114050ea1098 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9)); }, arguments) }; imports.wbg.__wbg_texSubImage3D_43f39a73ed02fae3 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) { getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11); }, arguments) }; imports.wbg.__wbg_texSubImage3D_ffdccca1422b482a = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) { getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11)); }, arguments) }; imports.wbg.__wbg_texSubImage3D_69d5e09d45e0251c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) { getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11)); }, arguments) }; imports.wbg.__wbg_texSubImage3D_ae3ed5d0154c346c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) { getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11)); }, arguments) }; imports.wbg.__wbg_texSubImage3D_80693fc2c7855e4d = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) { getObject(arg0).texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, getObject(arg11)); }, arguments) }; imports.wbg.__wbg_uniform2fv_2b473f6dce24c898 = function(arg0, arg1, arg2, arg3) { getObject(arg0).uniform2fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform2iv_fdaa3cd258d3451e = function(arg0, arg1, arg2, arg3) { getObject(arg0).uniform2iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform3fv_3e55033ca16ec6ab = function(arg0, arg1, arg2, arg3) { getObject(arg0).uniform3fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform3iv_3d3ed90c76e6777e = function(arg0, arg1, arg2, arg3) { getObject(arg0).uniform3iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform4fv_26ec0c9d7bf6d7c6 = function(arg0, arg1, arg2, arg3) { getObject(arg0).uniform4fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform4iv_2be6b77c47b90d81 = function(arg0, arg1, arg2, arg3) { getObject(arg0).uniform4iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniformBlockBinding_0dc4bd81bb4ccb6a = function(arg0, arg1, arg2, arg3) { getObject(arg0).uniformBlockBinding(getObject(arg1), arg2 >>> 0, arg3 >>> 0); }; imports.wbg.__wbg_uniformMatrix2fv_1ab7aeb8562ea3dd = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).uniformMatrix2fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_uniformMatrix3fv_0b151be4d76ee66b = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).uniformMatrix3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_uniformMatrix4fv_766b5ba343983038 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).uniformMatrix4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_vertexAttribDivisor_197e2e23e3fbde7f = function(arg0, arg1, arg2) { getObject(arg0).vertexAttribDivisor(arg1 >>> 0, arg2 >>> 0); }; imports.wbg.__wbg_vertexAttribIPointer_6f8540e358f8a547 = function(arg0, arg1, arg2, arg3, arg4, arg5) { getObject(arg0).vertexAttribIPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5); }; imports.wbg.__wbg_activeTexture_799bf1387e911c27 = function(arg0, arg1) { getObject(arg0).activeTexture(arg1 >>> 0); }; imports.wbg.__wbg_attachShader_47256b6b3d42a22e = function(arg0, arg1, arg2) { getObject(arg0).attachShader(getObject(arg1), getObject(arg2)); }; imports.wbg.__wbg_bindBuffer_24f6010e273fa400 = function(arg0, arg1, arg2) { getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2)); }; imports.wbg.__wbg_bindFramebuffer_a9573e340dab20fe = function(arg0, arg1, arg2) { getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2)); }; imports.wbg.__wbg_bindRenderbuffer_54c404711f9b6958 = function(arg0, arg1, arg2) { getObject(arg0).bindRenderbuffer(arg1 >>> 0, getObject(arg2)); }; imports.wbg.__wbg_bindTexture_92d6d7f8bff9531e = function(arg0, arg1, arg2) { getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2)); }; imports.wbg.__wbg_blendColor_7974f09cb60d2be0 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).blendColor(arg1, arg2, arg3, arg4); }; imports.wbg.__wbg_blendEquation_12146cb96dc1bcd9 = function(arg0, arg1) { getObject(arg0).blendEquation(arg1 >>> 0); }; imports.wbg.__wbg_blendEquationSeparate_205526dad772d160 = function(arg0, arg1, arg2) { getObject(arg0).blendEquationSeparate(arg1 >>> 0, arg2 >>> 0); }; imports.wbg.__wbg_blendFunc_533de6de45b80a09 = function(arg0, arg1, arg2) { getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0); }; imports.wbg.__wbg_blendFuncSeparate_fbf93dee3e5ce456 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); }; imports.wbg.__wbg_colorMask_fba1e2efd891e2ac = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0); }; imports.wbg.__wbg_compileShader_6bf78b425d5c98e1 = function(arg0, arg1) { getObject(arg0).compileShader(getObject(arg1)); }; imports.wbg.__wbg_copyTexSubImage2D_26685100d5f2b4c0 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) { getObject(arg0).copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8); }; imports.wbg.__wbg_createBuffer_323425af422748ac = function(arg0) { const ret = getObject(arg0).createBuffer(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_createFramebuffer_1684a99697ac9563 = function(arg0) { const ret = getObject(arg0).createFramebuffer(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_createProgram_4eaf3b97b5747a62 = function(arg0) { const ret = getObject(arg0).createProgram(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_createRenderbuffer_3e6dd356d7897ed7 = function(arg0) { const ret = getObject(arg0).createRenderbuffer(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_createShader_429776c9dd6fb87b = function(arg0, arg1) { const ret = getObject(arg0).createShader(arg1 >>> 0); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_createTexture_1bf4d6fec570124b = function(arg0) { const ret = getObject(arg0).createTexture(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_cullFace_6daa9f2aa42b4620 = function(arg0, arg1) { getObject(arg0).cullFace(arg1 >>> 0); }; imports.wbg.__wbg_deleteBuffer_2c09d03fa4b0bd08 = function(arg0, arg1) { getObject(arg0).deleteBuffer(getObject(arg1)); }; imports.wbg.__wbg_deleteFramebuffer_edd16bb8df6a8e0d = function(arg0, arg1) { getObject(arg0).deleteFramebuffer(getObject(arg1)); }; imports.wbg.__wbg_deleteProgram_53a32852f245b839 = function(arg0, arg1) { getObject(arg0).deleteProgram(getObject(arg1)); }; imports.wbg.__wbg_deleteRenderbuffer_134040051fcc1ba5 = function(arg0, arg1) { getObject(arg0).deleteRenderbuffer(getObject(arg1)); }; imports.wbg.__wbg_deleteShader_7c1222349324b5e2 = function(arg0, arg1) { getObject(arg0).deleteShader(getObject(arg1)); }; imports.wbg.__wbg_deleteTexture_4fcfea73cd8f6214 = function(arg0, arg1) { getObject(arg0).deleteTexture(getObject(arg1)); }; imports.wbg.__wbg_depthFunc_fb41ad353d07948d = function(arg0, arg1) { getObject(arg0).depthFunc(arg1 >>> 0); }; imports.wbg.__wbg_depthMask_6a4ff02cd2a2702e = function(arg0, arg1) { getObject(arg0).depthMask(arg1 !== 0); }; imports.wbg.__wbg_depthRange_a5647a9040aec55b = function(arg0, arg1, arg2) { getObject(arg0).depthRange(arg1, arg2); }; imports.wbg.__wbg_disable_e02106ca6c7002d6 = function(arg0, arg1) { getObject(arg0).disable(arg1 >>> 0); }; imports.wbg.__wbg_disableVertexAttribArray_6d57776c8f642f44 = function(arg0, arg1) { getObject(arg0).disableVertexAttribArray(arg1 >>> 0); }; imports.wbg.__wbg_drawArrays_c91ce3f736bf1f2a = function(arg0, arg1, arg2, arg3) { getObject(arg0).drawArrays(arg1 >>> 0, arg2, arg3); }; imports.wbg.__wbg_enable_195891416c520019 = function(arg0, arg1) { getObject(arg0).enable(arg1 >>> 0); }; imports.wbg.__wbg_enableVertexAttribArray_8804480c2ea0bb72 = function(arg0, arg1) { getObject(arg0).enableVertexAttribArray(arg1 >>> 0); }; imports.wbg.__wbg_framebufferRenderbuffer_3ec0983918c2b69d = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4)); }; imports.wbg.__wbg_framebufferTexture2D_e88fcbd7f8523bb8 = function(arg0, arg1, arg2, arg3, arg4, arg5) { getObject(arg0).framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5); }; imports.wbg.__wbg_frontFace_786a036f1d643925 = function(arg0, arg1) { getObject(arg0).frontFace(arg1 >>> 0); }; imports.wbg.__wbg_getActiveUniform_78367ddc7339640b = function(arg0, arg1, arg2) { const ret = getObject(arg0).getActiveUniform(getObject(arg1), arg2 >>> 0); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_getExtension_77909f6d51d49d4d = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).getExtension(getStringFromWasm0(arg1, arg2)); return isLikeNone(ret) ? 0 : addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_getParameter_55b36a787dbbfb74 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).getParameter(arg1 >>> 0); return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_getProgramInfoLog_b81bc53188e286fa = function(arg0, arg1, arg2) { const ret = getObject(arg1).getProgramInfoLog(getObject(arg2)); var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; imports.wbg.__wbg_getProgramParameter_35522a0bfdfaad27 = function(arg0, arg1, arg2) { const ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0); return addHeapObject(ret); }; imports.wbg.__wbg_getShaderInfoLog_968b93e75477d725 = function(arg0, arg1, arg2) { const ret = getObject(arg1).getShaderInfoLog(getObject(arg2)); var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; imports.wbg.__wbg_getShaderParameter_ac2727ae4fe7648e = function(arg0, arg1, arg2) { const ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0); return addHeapObject(ret); }; imports.wbg.__wbg_getSupportedExtensions_fafc31aab913037d = function(arg0) { const ret = getObject(arg0).getSupportedExtensions(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_getUniformLocation_9f6eb60c560a347b = function(arg0, arg1, arg2, arg3) { const ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3)); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_linkProgram_33998194075d71fb = function(arg0, arg1) { getObject(arg0).linkProgram(getObject(arg1)); }; imports.wbg.__wbg_pixelStorei_f3a24990aa352fc7 = function(arg0, arg1, arg2) { getObject(arg0).pixelStorei(arg1 >>> 0, arg2); }; imports.wbg.__wbg_polygonOffset_faca8e73770272ff = function(arg0, arg1, arg2) { getObject(arg0).polygonOffset(arg1, arg2); }; imports.wbg.__wbg_renderbufferStorage_987d1af7c9faf5dd = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4); }; imports.wbg.__wbg_scissor_e8e41e1c0a9817c8 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).scissor(arg1, arg2, arg3, arg4); }; imports.wbg.__wbg_shaderSource_1cb7c64dc7d1a500 = function(arg0, arg1, arg2, arg3) { getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3)); }; imports.wbg.__wbg_stencilFuncSeparate_8ff94e24a50a3c45 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0); }; imports.wbg.__wbg_stencilMask_641f92999dd3c3de = function(arg0, arg1) { getObject(arg0).stencilMask(arg1 >>> 0); }; imports.wbg.__wbg_stencilMaskSeparate_6b2c8ef22fb3b6d1 = function(arg0, arg1, arg2) { getObject(arg0).stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0); }; imports.wbg.__wbg_stencilOpSeparate_38925591af8feb44 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); }; imports.wbg.__wbg_texParameteri_85dad939f62a15aa = function(arg0, arg1, arg2, arg3) { getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3); }; imports.wbg.__wbg_uniform1f_88379f4e2630bc66 = function(arg0, arg1, arg2) { getObject(arg0).uniform1f(getObject(arg1), arg2); }; imports.wbg.__wbg_uniform1i_d2e61a6a43889648 = function(arg0, arg1, arg2) { getObject(arg0).uniform1i(getObject(arg1), arg2); }; imports.wbg.__wbg_uniform4f_a9fd337d4b07f595 = function(arg0, arg1, arg2, arg3, arg4, arg5) { getObject(arg0).uniform4f(getObject(arg1), arg2, arg3, arg4, arg5); }; imports.wbg.__wbg_useProgram_3683cf6f60939dcd = function(arg0, arg1) { getObject(arg0).useProgram(getObject(arg1)); }; imports.wbg.__wbg_vertexAttribPointer_316ffe2f0458fde7 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6); }; imports.wbg.__wbg_viewport_fad1ce9e18f741c0 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).viewport(arg1, arg2, arg3, arg4); }; imports.wbg.__wbg_instanceof_Window_9029196b662bc42a = function(arg0) { let result; try { result = getObject(arg0) instanceof Window; } catch (_) { result = false; } const ret = result; return ret; }; imports.wbg.__wbg_document_f7ace2b956f30a4f = function(arg0) { const ret = getObject(arg0).document; return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_navigator_7c9103698acde322 = function(arg0) { const ret = getObject(arg0).navigator; return addHeapObject(ret); }; imports.wbg.__wbg_innerWidth_ebe07ce5463ff293 = function() { return handleError(function (arg0) { const ret = getObject(arg0).innerWidth; return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_innerHeight_2dd06d8cf68f1d7d = function() { return handleError(function (arg0) { const ret = getObject(arg0).innerHeight; return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_devicePixelRatio_f9de7bddca0eaf20 = function(arg0) { const ret = getObject(arg0).devicePixelRatio; return ret; }; imports.wbg.__wbg_isSecureContext_4890500d265c48bd = function(arg0) { const ret = getObject(arg0).isSecureContext; return ret; }; imports.wbg.__wbg_matchMedia_12ef69056e32d0b3 = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).matchMedia(getStringFromWasm0(arg1, arg2)); return isLikeNone(ret) ? 0 : addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_get_cb7c1c2da725c920 = function(arg0, arg1, arg2) { const ret = getObject(arg0)[getStringFromWasm0(arg1, arg2)]; return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_cancelAnimationFrame_9b68e9588c6543bc = function() { return handleError(function (arg0, arg1) { getObject(arg0).cancelAnimationFrame(arg1); }, arguments) }; imports.wbg.__wbg_requestAnimationFrame_d082200514b6674d = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; }, arguments) }; imports.wbg.__wbg_clearTimeout_220be2fa0577b342 = function(arg0, arg1) { getObject(arg0).clearTimeout(arg1); }; imports.wbg.__wbg_fetch_25c13b73a41a6660 = function(arg0, arg1, arg2) { const ret = getObject(arg0).fetch(getStringFromWasm0(arg1, arg2)); return addHeapObject(ret); }; imports.wbg.__wbg_setTimeout_eb1a0d116c26d9f6 = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).setTimeout(getObject(arg1), arg2); return ret; }, arguments) }; imports.wbg.__wbg_clientX_1a480606ab0cabaa = function(arg0) { const ret = getObject(arg0).clientX; return ret; }; imports.wbg.__wbg_clientY_9c7878f7faf3900f = function(arg0) { const ret = getObject(arg0).clientY; return ret; }; imports.wbg.__wbg_offsetX_5a58f16f6c3a41b6 = function(arg0) { const ret = getObject(arg0).offsetX; return ret; }; imports.wbg.__wbg_offsetY_c45b4956f6429a95 = function(arg0) { const ret = getObject(arg0).offsetY; return ret; }; imports.wbg.__wbg_ctrlKey_0a805df688b5bf42 = function(arg0) { const ret = getObject(arg0).ctrlKey; return ret; }; imports.wbg.__wbg_shiftKey_8a070ab6169b5fa4 = function(arg0) { const ret = getObject(arg0).shiftKey; return ret; }; imports.wbg.__wbg_altKey_6fc1761a6b7a406e = function(arg0) { const ret = getObject(arg0).altKey; return ret; }; imports.wbg.__wbg_metaKey_d89287be4389a3c1 = function(arg0) { const ret = getObject(arg0).metaKey; return ret; }; imports.wbg.__wbg_button_7a095234b69de930 = function(arg0) { const ret = getObject(arg0).button; return ret; }; imports.wbg.__wbg_buttons_d0f40e1650e3fa28 = function(arg0) { const ret = getObject(arg0).buttons; return ret; }; imports.wbg.__wbg_movementX_966ec323c169d1a6 = function(arg0) { const ret = getObject(arg0).movementX; return ret; }; imports.wbg.__wbg_movementY_b14b3bc8e1b31f23 = function(arg0) { const ret = getObject(arg0).movementY; return ret; }; imports.wbg.__wbg_pressed_d881ce4add9c474b = function(arg0) { const ret = getObject(arg0).pressed; return ret; }; imports.wbg.__wbg_value_c99f8b78cbe90703 = function(arg0) { const ret = getObject(arg0).value; return ret; }; imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) { const ret = getObject(arg0).now(); return ret; }; imports.wbg.__wbg_pointerId_701aab7b4fb073ff = function(arg0) { const ret = getObject(arg0).pointerId; return ret; }; imports.wbg.__wbg_pressure_e388b6fd623a3917 = function(arg0) { const ret = getObject(arg0).pressure; return ret; }; imports.wbg.__wbg_pointerType_0009b1e4e6b0f428 = function(arg0, arg1) { const ret = getObject(arg1).pointerType; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; imports.wbg.__wbg_instanceof_Response_fc4327dbfcdf5ced = function(arg0) { let result; try { result = getObject(arg0) instanceof Response; } catch (_) { result = false; } const ret = result; return ret; }; imports.wbg.__wbg_arrayBuffer_288fb3538806e85c = function() { return handleError(function (arg0) { const ret = getObject(arg0).arrayBuffer(); return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_copyToChannel_6e4bd2545a53db54 = function() { return handleError(function (arg0, arg1, arg2, arg3) { getObject(arg0).copyToChannel(getArrayF32FromWasm0(arg1, arg2), arg3); }, arguments) }; imports.wbg.__wbg_x_6c8af74c3b4d8c09 = function(arg0) { const ret = getObject(arg0).x; return ret; }; imports.wbg.__wbg_y_4cca2672ce1b5fc1 = function(arg0) { const ret = getObject(arg0).y; return ret; }; imports.wbg.__wbg_width_e0c6b79d8cdd8897 = function(arg0) { const ret = getObject(arg0).width; return ret; }; imports.wbg.__wbg_height_bed51746e072a118 = function(arg0) { const ret = getObject(arg0).height; return ret; }; imports.wbg.__wbg_instanceof_HtmlCanvasElement_da5f9efa0688cf6d = function(arg0) { let result; try { result = getObject(arg0) instanceof HTMLCanvasElement; } catch (_) { result = false; } const ret = result; return ret; }; imports.wbg.__wbg_width_2931aaedd21f1fff = function(arg0) { const ret = getObject(arg0).width; return ret; }; imports.wbg.__wbg_setwidth_a667a942dba6656e = function(arg0, arg1) { getObject(arg0).width = arg1 >>> 0; }; imports.wbg.__wbg_height_0d36fbbeb60b0661 = function(arg0) { const ret = getObject(arg0).height; return ret; }; imports.wbg.__wbg_setheight_a747d440760fe5aa = function(arg0, arg1) { getObject(arg0).height = arg1 >>> 0; }; imports.wbg.__wbg_getContext_6d1f155bb5c1096a = function() { return handleError(function (arg0, arg1, arg2, arg3) { const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2), getObject(arg3)); return isLikeNone(ret) ? 0 : addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_width_019b79813c2e80cf = function(arg0) { const ret = getObject(arg0).width; return ret; }; imports.wbg.__wbg_height_12082005add04bb5 = function(arg0) { const ret = getObject(arg0).height; return ret; }; imports.wbg.__wbg_matches_0f7e350783b542c2 = function(arg0) { const ret = getObject(arg0).matches; return ret; }; imports.wbg.__wbg_bindVertexArrayOES_b7d9da7e073aa6b5 = function(arg0, arg1) { getObject(arg0).bindVertexArrayOES(getObject(arg1)); }; imports.wbg.__wbg_createVertexArrayOES_6a3c3a5a68201f8f = function(arg0) { const ret = getObject(arg0).createVertexArrayOES(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_deleteVertexArrayOES_7bf4589e63d84df6 = function(arg0, arg1) { getObject(arg0).deleteVertexArrayOES(getObject(arg1)); }; imports.wbg.__wbg_width_0b4991f5cf7c640a = function(arg0) { const ret = getObject(arg0).width; return ret; }; imports.wbg.__wbg_setwidth_15266a5e81f43cf0 = function(arg0, arg1) { getObject(arg0).width = arg1 >>> 0; }; imports.wbg.__wbg_height_8cce73e95fb10fd3 = function(arg0) { const ret = getObject(arg0).height; return ret; }; imports.wbg.__wbg_setheight_2e9bab573f1775a6 = function(arg0, arg1) { getObject(arg0).height = arg1 >>> 0; }; imports.wbg.__wbg_framebufferTextureMultiviewOVR_4d911c3fccedc517 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { getObject(arg0).framebufferTextureMultiviewOVR(arg1 >>> 0, arg2 >>> 0, getObject(arg3), arg4, arg5, arg6); }; imports.wbg.__wbg_deltaX_84508d00a1050e70 = function(arg0) { const ret = getObject(arg0).deltaX; return ret; }; imports.wbg.__wbg_deltaY_64823169afb0335d = function(arg0) { const ret = getObject(arg0).deltaY; return ret; }; imports.wbg.__wbg_deltaMode_1c680147cfdba8a5 = function(arg0) { const ret = getObject(arg0).deltaMode; return ret; }; imports.wbg.__wbg_charCode_75cea1a3a6d66388 = function(arg0) { const ret = getObject(arg0).charCode; return ret; }; imports.wbg.__wbg_keyCode_dfa86be31f5ef90c = function(arg0) { const ret = getObject(arg0).keyCode; return ret; }; imports.wbg.__wbg_altKey_612289acf855835c = function(arg0) { const ret = getObject(arg0).altKey; return ret; }; imports.wbg.__wbg_ctrlKey_582686fb2263dd3c = function(arg0) { const ret = getObject(arg0).ctrlKey; return ret; }; imports.wbg.__wbg_shiftKey_48e8701355d8e2d4 = function(arg0) { const ret = getObject(arg0).shiftKey; return ret; }; imports.wbg.__wbg_metaKey_43193b7cc99f8914 = function(arg0) { const ret = getObject(arg0).metaKey; return ret; }; imports.wbg.__wbg_key_8aeaa079126a9cc7 = function(arg0, arg1) { const ret = getObject(arg1).key; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; imports.wbg.__wbg_code_96d6322b968b2d17 = function(arg0, arg1) { const ret = getObject(arg1).code; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; imports.wbg.__wbg_getModifierState_5102ee8843516d2f = function(arg0, arg1, arg2) { const ret = getObject(arg0).getModifierState(getStringFromWasm0(arg1, arg2)); return ret; }; imports.wbg.__wbg_destination_9e793cf556243084 = function(arg0) { const ret = getObject(arg0).destination; return addHeapObject(ret); }; imports.wbg.__wbg_currentTime_c6831b97750b898c = function(arg0) { const ret = getObject(arg0).currentTime; return ret; }; imports.wbg.__wbg_newwithcontextoptions_3fb88aa326cd01e0 = function() { return handleError(function (arg0) { const ret = new lAudioContext(getObject(arg0)); return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_close_51aa5539747ce076 = function() { return handleError(function (arg0) { const ret = getObject(arg0).close(); return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_createBuffer_13cd030d2b48e8fa = function() { return handleError(function (arg0, arg1, arg2, arg3) { const ret = getObject(arg0).createBuffer(arg1 >>> 0, arg2 >>> 0, arg3); return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_createBufferSource_58423f6345b5f559 = function() { return handleError(function (arg0) { const ret = getObject(arg0).createBufferSource(); return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_resume_9dc64ed7c3a65255 = function() { return handleError(function (arg0) { const ret = getObject(arg0).resume(); return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_addEventListener_5651108fc3ffeb6e = function() { return handleError(function (arg0, arg1, arg2, arg3) { getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3)); }, arguments) }; imports.wbg.__wbg_addEventListener_a5963e26cd7b176b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4)); }, arguments) }; imports.wbg.__wbg_removeEventListener_1fa0d9594cdb0b1d = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4)); }, arguments) }; imports.wbg.__wbg_getGamepads_cbb82980ae1db5e1 = function() { return handleError(function (arg0) { const ret = getObject(arg0).getGamepads(); return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_drawArraysInstancedANGLE_01b862ba133350a3 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).drawArraysInstancedANGLE(arg1 >>> 0, arg2, arg3, arg4); }; imports.wbg.__wbg_drawElementsInstancedANGLE_ea6343af8bf9c9f8 = function(arg0, arg1, arg2, arg3, arg4, arg5) { getObject(arg0).drawElementsInstancedANGLE(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5); }; imports.wbg.__wbg_vertexAttribDivisorANGLE_a8476eb778e16c70 = function(arg0, arg1, arg2) { getObject(arg0).vertexAttribDivisorANGLE(arg1 >>> 0, arg2 >>> 0); }; imports.wbg.__wbg_setbuffer_beeece042e02534f = function(arg0, arg1) { getObject(arg0).buffer = getObject(arg1); }; imports.wbg.__wbg_setonended_83dd83b7f84cdef2 = function(arg0, arg1) { getObject(arg0).onended = getObject(arg1); }; imports.wbg.__wbg_start_99ecc2647eb67ca6 = function() { return handleError(function (arg0, arg1) { getObject(arg0).start(arg1); }, arguments) }; imports.wbg.__wbg_maxChannelCount_a32b07796ef189d0 = function(arg0) { const ret = getObject(arg0).maxChannelCount; return ret; }; imports.wbg.__wbg_setProperty_b95ef63ab852879e = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { getObject(arg0).setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); }, arguments) }; imports.wbg.__wbg_videoWidth_02eadb74917aa4fc = function(arg0) { const ret = getObject(arg0).videoWidth; return ret; }; imports.wbg.__wbg_videoHeight_dac4c345988e5562 = function(arg0) { const ret = getObject(arg0).videoHeight; return ret; }; imports.wbg.__wbg_parentElement_c75962bc9997ea5f = function(arg0) { const ret = getObject(arg0).parentElement; return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_appendChild_51339d4cde00ee22 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).appendChild(getObject(arg1)); return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_body_674aec4c1c0910cd = function(arg0) { const ret = getObject(arg0).body; return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_fullscreenElement_07d5b77ef6c958c1 = function(arg0) { const ret = getObject(arg0).fullscreenElement; return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_createElement_4891554b28d3388b = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2)); return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_exitFullscreen_5fada21e8623256e = function(arg0) { getObject(arg0).exitFullscreen(); }; imports.wbg.__wbg_exitPointerLock_bf425ac90f055faa = function(arg0) { getObject(arg0).exitPointerLock(); }; imports.wbg.__wbg_querySelector_52ded52c20e23921 = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).querySelector(getStringFromWasm0(arg1, arg2)); return isLikeNone(ret) ? 0 : addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_getBoundingClientRect_ac9db8cf97ca8083 = function(arg0) { const ret = getObject(arg0).getBoundingClientRect(); return addHeapObject(ret); }; imports.wbg.__wbg_requestFullscreen_3545278bcd44910c = function() { return handleError(function (arg0) { getObject(arg0).requestFullscreen(); }, arguments) }; imports.wbg.__wbg_requestPointerLock_368c5cc6c3ddd339 = function(arg0) { getObject(arg0).requestPointerLock(); }; imports.wbg.__wbg_setAttribute_e7e80b478b7b8b2f = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { getObject(arg0).setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); }, arguments) }; imports.wbg.__wbg_setPointerCapture_e7c29336490bba19 = function() { return handleError(function (arg0, arg1) { getObject(arg0).setPointerCapture(arg1); }, arguments) }; imports.wbg.__wbg_style_3801009b2339aa94 = function(arg0) { const ret = getObject(arg0).style; return addHeapObject(ret); }; imports.wbg.__wbg_bufferData_92a3e0b745b0d726 = function(arg0, arg1, arg2, arg3) { getObject(arg0).bufferData(arg1 >>> 0, arg2, arg3 >>> 0); }; imports.wbg.__wbg_bufferData_a11a9f65f31e7256 = function(arg0, arg1, arg2, arg3) { getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0); }; imports.wbg.__wbg_bufferSubData_fca6f1c10273be21 = function(arg0, arg1, arg2, arg3) { getObject(arg0).bufferSubData(arg1 >>> 0, arg2, getObject(arg3)); }; imports.wbg.__wbg_compressedTexSubImage2D_21078c6de0a71aad = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) { getObject(arg0).compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, getObject(arg8)); }; imports.wbg.__wbg_readPixels_91b0d8854de90477 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7)); }, arguments) }; imports.wbg.__wbg_texSubImage2D_f1a31f8045b7f831 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9)); }, arguments) }; imports.wbg.__wbg_uniform2fv_c928f6ba0085b381 = function(arg0, arg1, arg2, arg3) { getObject(arg0).uniform2fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform2iv_7e5f8e7c2f4d4d6a = function(arg0, arg1, arg2, arg3) { getObject(arg0).uniform2iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform3fv_1aba437b913c1926 = function(arg0, arg1, arg2, arg3) { getObject(arg0).uniform3fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform3iv_23751fe4dfcdf539 = function(arg0, arg1, arg2, arg3) { getObject(arg0).uniform3iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform4fv_7c51c2251d851cb2 = function(arg0, arg1, arg2, arg3) { getObject(arg0).uniform4fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform4iv_27b49984e9c5d90a = function(arg0, arg1, arg2, arg3) { getObject(arg0).uniform4iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniformMatrix2fv_f8f3ef807f196bf1 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).uniformMatrix2fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_uniformMatrix3fv_341eec37953e50c5 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).uniformMatrix3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_uniformMatrix4fv_465ab8de531f4f78 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).uniformMatrix4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_activeTexture_93b4de60af07da9c = function(arg0, arg1) { getObject(arg0).activeTexture(arg1 >>> 0); }; imports.wbg.__wbg_attachShader_b65b695055670cb5 = function(arg0, arg1, arg2) { getObject(arg0).attachShader(getObject(arg1), getObject(arg2)); }; imports.wbg.__wbg_bindBuffer_313561e5bc0e533f = function(arg0, arg1, arg2) { getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2)); }; imports.wbg.__wbg_bindFramebuffer_56bf6536a4ced0ec = function(arg0, arg1, arg2) { getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2)); }; imports.wbg.__wbg_bindRenderbuffer_559c7c6b6676dddd = function(arg0, arg1, arg2) { getObject(arg0).bindRenderbuffer(arg1 >>> 0, getObject(arg2)); }; imports.wbg.__wbg_bindTexture_9cb5c770d1ba2cca = function(arg0, arg1, arg2) { getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2)); }; imports.wbg.__wbg_blendColor_b9006ef6c450acd0 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).blendColor(arg1, arg2, arg3, arg4); }; imports.wbg.__wbg_blendEquation_f31ce08020786a09 = function(arg0, arg1) { getObject(arg0).blendEquation(arg1 >>> 0); }; imports.wbg.__wbg_blendEquationSeparate_7ec5e34f066e44f8 = function(arg0, arg1, arg2) { getObject(arg0).blendEquationSeparate(arg1 >>> 0, arg2 >>> 0); }; imports.wbg.__wbg_blendFunc_fbe9d3a688fe71c3 = function(arg0, arg1, arg2) { getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0); }; imports.wbg.__wbg_blendFuncSeparate_7547ade0a7dfade2 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); }; imports.wbg.__wbg_colorMask_7cbd7a102954ede9 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0); }; imports.wbg.__wbg_compileShader_d88d0a8cd9b72b4d = function(arg0, arg1) { getObject(arg0).compileShader(getObject(arg1)); }; imports.wbg.__wbg_copyTexSubImage2D_3029f8dfe7543ab6 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) { getObject(arg0).copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8); }; imports.wbg.__wbg_createBuffer_59051f4461e7c5e2 = function(arg0) { const ret = getObject(arg0).createBuffer(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_createFramebuffer_223c1212ad76affc = function(arg0) { const ret = getObject(arg0).createFramebuffer(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_createProgram_88dbe21c0b682e1a = function(arg0) { const ret = getObject(arg0).createProgram(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_createRenderbuffer_bcb61b756ba21490 = function(arg0) { const ret = getObject(arg0).createRenderbuffer(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_createShader_9d7d388633caad18 = function(arg0, arg1) { const ret = getObject(arg0).createShader(arg1 >>> 0); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_createTexture_9d0bb4d741b8ad76 = function(arg0) { const ret = getObject(arg0).createTexture(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_cullFace_4c086dc1d86a19b5 = function(arg0, arg1) { getObject(arg0).cullFace(arg1 >>> 0); }; imports.wbg.__wbg_deleteBuffer_cdc6b9c73f54aff7 = function(arg0, arg1) { getObject(arg0).deleteBuffer(getObject(arg1)); }; imports.wbg.__wbg_deleteFramebuffer_fcc10cb143c6573d = function(arg0, arg1) { getObject(arg0).deleteFramebuffer(getObject(arg1)); }; imports.wbg.__wbg_deleteProgram_d8d7fc79ba83b256 = function(arg0, arg1) { getObject(arg0).deleteProgram(getObject(arg1)); }; imports.wbg.__wbg_deleteRenderbuffer_edf9e1b4e0a1e005 = function(arg0, arg1) { getObject(arg0).deleteRenderbuffer(getObject(arg1)); }; imports.wbg.__wbg_deleteShader_9a2f85efe5cb3706 = function(arg0, arg1) { getObject(arg0).deleteShader(getObject(arg1)); }; imports.wbg.__wbg_deleteTexture_a883356c5034d482 = function(arg0, arg1) { getObject(arg0).deleteTexture(getObject(arg1)); }; imports.wbg.__wbg_depthFunc_4eda7b4e682acbad = function(arg0, arg1) { getObject(arg0).depthFunc(arg1 >>> 0); }; imports.wbg.__wbg_depthMask_a3071e13bb087102 = function(arg0, arg1) { getObject(arg0).depthMask(arg1 !== 0); }; imports.wbg.__wbg_depthRange_ff5298a73fd02650 = function(arg0, arg1, arg2) { getObject(arg0).depthRange(arg1, arg2); }; imports.wbg.__wbg_disable_5cf2070641fa2ed7 = function(arg0, arg1) { getObject(arg0).disable(arg1 >>> 0); }; imports.wbg.__wbg_disableVertexAttribArray_8dacd44e21adcaa2 = function(arg0, arg1) { getObject(arg0).disableVertexAttribArray(arg1 >>> 0); }; imports.wbg.__wbg_drawArrays_d5c7dc2b2376c85a = function(arg0, arg1, arg2, arg3) { getObject(arg0).drawArrays(arg1 >>> 0, arg2, arg3); }; imports.wbg.__wbg_enable_8965e69c596f0a94 = function(arg0, arg1) { getObject(arg0).enable(arg1 >>> 0); }; imports.wbg.__wbg_enableVertexAttribArray_2b0475db43533cf2 = function(arg0, arg1) { getObject(arg0).enableVertexAttribArray(arg1 >>> 0); }; imports.wbg.__wbg_framebufferRenderbuffer_d80f5381d429bc45 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4)); }; imports.wbg.__wbg_framebufferTexture2D_953e69a8bec22fa9 = function(arg0, arg1, arg2, arg3, arg4, arg5) { getObject(arg0).framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5); }; imports.wbg.__wbg_frontFace_0ba67b9e6365557c = function(arg0, arg1) { getObject(arg0).frontFace(arg1 >>> 0); }; imports.wbg.__wbg_getActiveUniform_87df972e841afed2 = function(arg0, arg1, arg2) { const ret = getObject(arg0).getActiveUniform(getObject(arg1), arg2 >>> 0); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_getParameter_bfab7f0b00c9d7fb = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).getParameter(arg1 >>> 0); return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_getProgramInfoLog_0b7af4ad85fa52a4 = function(arg0, arg1, arg2) { const ret = getObject(arg1).getProgramInfoLog(getObject(arg2)); var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; imports.wbg.__wbg_getProgramParameter_2a3735278367f8bc = function(arg0, arg1, arg2) { const ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0); return addHeapObject(ret); }; imports.wbg.__wbg_getShaderInfoLog_979aafa403ffb252 = function(arg0, arg1, arg2) { const ret = getObject(arg1).getShaderInfoLog(getObject(arg2)); var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; imports.wbg.__wbg_getShaderParameter_e8054f1d9026fb70 = function(arg0, arg1, arg2) { const ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0); return addHeapObject(ret); }; imports.wbg.__wbg_getUniformLocation_688976233799a45a = function(arg0, arg1, arg2, arg3) { const ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3)); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_linkProgram_9a2d12d120d99917 = function(arg0, arg1) { getObject(arg0).linkProgram(getObject(arg1)); }; imports.wbg.__wbg_pixelStorei_5ec932ebefd00149 = function(arg0, arg1, arg2) { getObject(arg0).pixelStorei(arg1 >>> 0, arg2); }; imports.wbg.__wbg_polygonOffset_55eea57bba1b49e9 = function(arg0, arg1, arg2) { getObject(arg0).polygonOffset(arg1, arg2); }; imports.wbg.__wbg_renderbufferStorage_4bcd9ddf1749ce26 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4); }; imports.wbg.__wbg_scissor_c8ec3b1e053f3756 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).scissor(arg1, arg2, arg3, arg4); }; imports.wbg.__wbg_shaderSource_f435f9b74440bb54 = function(arg0, arg1, arg2, arg3) { getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3)); }; imports.wbg.__wbg_stencilFuncSeparate_0fae0ee7c04a23b2 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0); }; imports.wbg.__wbg_stencilMask_79416c29ac1ce3a4 = function(arg0, arg1) { getObject(arg0).stencilMask(arg1 >>> 0); }; imports.wbg.__wbg_stencilMaskSeparate_19bdb57664d2c34f = function(arg0, arg1, arg2) { getObject(arg0).stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0); }; imports.wbg.__wbg_stencilOpSeparate_18e0bd316555925f = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); }; imports.wbg.__wbg_texParameteri_1f17358e51eb8069 = function(arg0, arg1, arg2, arg3) { getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3); }; imports.wbg.__wbg_uniform1f_7586c5e17ad254c9 = function(arg0, arg1, arg2) { getObject(arg0).uniform1f(getObject(arg1), arg2); }; imports.wbg.__wbg_uniform1i_9f94ef0ba6b3cc66 = function(arg0, arg1, arg2) { getObject(arg0).uniform1i(getObject(arg1), arg2); }; imports.wbg.__wbg_uniform4f_9aa5afa9177c6ab1 = function(arg0, arg1, arg2, arg3, arg4, arg5) { getObject(arg0).uniform4f(getObject(arg1), arg2, arg3, arg4, arg5); }; imports.wbg.__wbg_useProgram_019eb6df066fabf5 = function(arg0, arg1) { getObject(arg0).useProgram(getObject(arg1)); }; imports.wbg.__wbg_vertexAttribPointer_ca11984ee8843c0a = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6); }; imports.wbg.__wbg_viewport_6ebef187c89e2616 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).viewport(arg1, arg2, arg3, arg4); }; imports.wbg.__wbg_setchannelCount_7b7457adf57e1c22 = function(arg0, arg1) { getObject(arg0).channelCount = arg1 >>> 0; }; imports.wbg.__wbg_connect_3f8f5ba805800c62 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).connect(getObject(arg1)); return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_target_f171e89c61e2bccf = function(arg0) { const ret = getObject(arg0).target; return isLikeNone(ret) ? 0 : addHeapObject(ret); }; imports.wbg.__wbg_cancelBubble_90d1c3aa2a76cbeb = function(arg0) { const ret = getObject(arg0).cancelBubble; return ret; }; imports.wbg.__wbg_preventDefault_24104f3f0a54546a = function(arg0) { getObject(arg0).preventDefault(); }; imports.wbg.__wbg_stopPropagation_55539cfa2506c867 = function(arg0) { getObject(arg0).stopPropagation(); }; imports.wbg.__wbg_matches_07c564b5b4101cf2 = function(arg0) { const ret = getObject(arg0).matches; return ret; }; imports.wbg.__wbg_addListener_85fb6e4bd17e8878 = function() { return handleError(function (arg0, arg1) { getObject(arg0).addListener(getObject(arg1)); }, arguments) }; imports.wbg.__wbg_removeListener_3b62020874cfc3c7 = function() { return handleError(function (arg0, arg1) { getObject(arg0).removeListener(getObject(arg1)); }, arguments) }; imports.wbg.__wbg_size_6eb4aa794f6bf220 = function(arg0) { const ret = getObject(arg0).size; return ret; }; imports.wbg.__wbg_type_37bb6b4936b5e027 = function(arg0) { const ret = getObject(arg0).type; return ret; }; imports.wbg.__wbg_name_ebae3a7e89367611 = function(arg0, arg1) { const ret = getObject(arg1).name; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; imports.wbg.__wbg_drawBuffersWEBGL_139bf2fe0c1522d6 = function(arg0, arg1) { getObject(arg0).drawBuffersWEBGL(getObject(arg1)); }; imports.wbg.__wbg_error_c9309504864e78b5 = function(arg0, arg1) { console.error(getObject(arg0), getObject(arg1)); }; imports.wbg.__wbg_instanceof_DomException_11f350c47999e343 = function(arg0) { let result; try { result = getObject(arg0) instanceof DOMException; } catch (_) { result = false; } const ret = result; return ret; }; imports.wbg.__wbg_message_ad3cc15a4d40c34b = function(arg0, arg1) { const ret = getObject(arg1).message; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; imports.wbg.__wbg_id_2744422b8df66a4f = function(arg0, arg1) { const ret = getObject(arg1).id; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; imports.wbg.__wbg_index_3fa2bac9f2910f3e = function(arg0) { const ret = getObject(arg0).index; return ret; }; imports.wbg.__wbg_mapping_4620edf85483600a = function(arg0) { const ret = getObject(arg0).mapping; return addHeapObject(ret); }; imports.wbg.__wbg_connected_7a42d2777c81c280 = function(arg0) { const ret = getObject(arg0).connected; return ret; }; imports.wbg.__wbg_buttons_a308922181d88094 = function(arg0) { const ret = getObject(arg0).buttons; return addHeapObject(ret); }; imports.wbg.__wbg_axes_1b9e57ee3e48f6df = function(arg0) { const ret = getObject(arg0).axes; return addHeapObject(ret); }; imports.wbg.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) { getObject(arg0).getRandomValues(getObject(arg1)); }, arguments) }; imports.wbg.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) { getObject(arg0).randomFillSync(takeObject(arg1)); }, arguments) }; imports.wbg.__wbg_crypto_c48a774b022d20ac = function(arg0) { const ret = getObject(arg0).crypto; return addHeapObject(ret); }; imports.wbg.__wbindgen_is_object = function(arg0) { const val = getObject(arg0); const ret = typeof(val) === 'object' && val !== null; return ret; }; imports.wbg.__wbg_process_298734cf255a885d = function(arg0) { const ret = getObject(arg0).process; return addHeapObject(ret); }; imports.wbg.__wbg_versions_e2e78e134e3e5d01 = function(arg0) { const ret = getObject(arg0).versions; return addHeapObject(ret); }; imports.wbg.__wbg_node_1cd7a5d853dbea79 = function(arg0) { const ret = getObject(arg0).node; return addHeapObject(ret); }; imports.wbg.__wbindgen_is_string = function(arg0) { const ret = typeof(getObject(arg0)) === 'string'; return ret; }; imports.wbg.__wbg_msCrypto_bcb970640f50a1e8 = function(arg0) { const ret = getObject(arg0).msCrypto; return addHeapObject(ret); }; imports.wbg.__wbg_require_8f08ceecec0f4fee = function() { return handleError(function () { const ret = module.require; return addHeapObject(ret); }, arguments) }; imports.wbg.__wbindgen_is_function = function(arg0) { const ret = typeof(getObject(arg0)) === 'function'; return ret; }; imports.wbg.__wbg_get_44be0491f933a435 = function(arg0, arg1) { const ret = getObject(arg0)[arg1 >>> 0]; return addHeapObject(ret); }; imports.wbg.__wbg_length_fff51ee6522a1a18 = function(arg0) { const ret = getObject(arg0).length; return ret; }; imports.wbg.__wbg_new_898a68150f225f2e = function() { const ret = new Array(); return addHeapObject(ret); }; imports.wbg.__wbg_newnoargs_581967eacc0e2604 = function(arg0, arg1) { const ret = new Function(getStringFromWasm0(arg0, arg1)); return addHeapObject(ret); }; imports.wbg.__wbg_get_97b561fb56f034b5 = function() { return handleError(function (arg0, arg1) { const ret = Reflect.get(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_call_cb65541d95d71282 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).call(getObject(arg1)); return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_new_b51585de1b234aff = function() { const ret = new Object(); return addHeapObject(ret); }; imports.wbg.__wbg_self_1ff1d729e9aae938 = function() { return handleError(function () { const ret = self.self; return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_window_5f4faef6c12b79ec = function() { return handleError(function () { const ret = window.window; return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_globalThis_1d39714405582d3c = function() { return handleError(function () { const ret = globalThis.globalThis; return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_global_651f05c6a0944d1c = function() { return handleError(function () { const ret = global.global; return addHeapObject(ret); }, arguments) }; imports.wbg.__wbindgen_is_undefined = function(arg0) { const ret = getObject(arg0) === undefined; return ret; }; imports.wbg.__wbg_eval_8c72ad5eafe427f2 = function() { return handleError(function (arg0, arg1) { const ret = eval(getStringFromWasm0(arg0, arg1)); return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_of_053899a68de3ef48 = function(arg0) { const ret = Array.of(getObject(arg0)); return addHeapObject(ret); }; imports.wbg.__wbg_push_ca1c26067ef907ac = function(arg0, arg1) { const ret = getObject(arg0).push(getObject(arg1)); return ret; }; imports.wbg.__wbg_call_01734de55d61e11d = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).call(getObject(arg1), getObject(arg2)); return addHeapObject(ret); }, arguments) }; imports.wbg.__wbg_now_9c5990bda04c7e53 = function() { const ret = Date.now(); return ret; }; imports.wbg.__wbg_is_205d914af04a8faa = function(arg0, arg1) { const ret = Object.is(getObject(arg0), getObject(arg1)); return ret; }; imports.wbg.__wbg_resolve_53698b95aaf7fcf8 = function(arg0) { const ret = Promise.resolve(getObject(arg0)); return addHeapObject(ret); }; imports.wbg.__wbg_then_f7e06ee3c11698eb = function(arg0, arg1) { const ret = getObject(arg0).then(getObject(arg1)); return addHeapObject(ret); }; imports.wbg.__wbg_then_b2267541e2a73865 = function(arg0, arg1, arg2) { const ret = getObject(arg0).then(getObject(arg1), getObject(arg2)); return addHeapObject(ret); }; imports.wbg.__wbg_buffer_085ec1f694018c4f = function(arg0) { const ret = getObject(arg0).buffer; return addHeapObject(ret); }; imports.wbg.__wbg_newwithbyteoffsetandlength_828b952f0e692245 = function(arg0, arg1, arg2) { const ret = new Int8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); return addHeapObject(ret); }; imports.wbg.__wbg_newwithbyteoffsetandlength_735ed5ea2ae07fe9 = function(arg0, arg1, arg2) { const ret = new Int16Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); return addHeapObject(ret); }; imports.wbg.__wbg_newwithbyteoffsetandlength_9f43b22ab631d1d6 = function(arg0, arg1, arg2) { const ret = new Int32Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); return addHeapObject(ret); }; imports.wbg.__wbg_newwithbyteoffsetandlength_6da8e527659b86aa = function(arg0, arg1, arg2) { const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); return addHeapObject(ret); }; imports.wbg.__wbg_new_8125e318e6245eed = function(arg0) { const ret = new Uint8Array(getObject(arg0)); return addHeapObject(ret); }; imports.wbg.__wbg_set_5cf90238115182c3 = function(arg0, arg1, arg2) { getObject(arg0).set(getObject(arg1), arg2 >>> 0); }; imports.wbg.__wbg_length_72e2208bbc0efc61 = function(arg0) { const ret = getObject(arg0).length; return ret; }; imports.wbg.__wbg_newwithbyteoffsetandlength_31ff1024ef0c63c7 = function(arg0, arg1, arg2) { const ret = new Uint16Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); return addHeapObject(ret); }; imports.wbg.__wbg_newwithbyteoffsetandlength_6df0e8c3efd2a5d3 = function(arg0, arg1, arg2) { const ret = new Uint32Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); return addHeapObject(ret); }; imports.wbg.__wbg_newwithbyteoffsetandlength_69193e31c844b792 = function(arg0, arg1, arg2) { const ret = new Float32Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); return addHeapObject(ret); }; imports.wbg.__wbg_newwithlength_e5d69174d6984cd7 = function(arg0) { const ret = new Uint8Array(arg0 >>> 0); return addHeapObject(ret); }; imports.wbg.__wbg_subarray_13db269f57aa838d = function(arg0, arg1, arg2) { const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0); return addHeapObject(ret); }; imports.wbg.__wbg_set_092e06b0f9d71865 = function() { return handleError(function (arg0, arg1, arg2) { const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2)); return ret; }, arguments) }; imports.wbg.__wbindgen_debug_string = function(arg0, arg1) { const ret = debugString(getObject(arg1)); const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; imports.wbg.__wbindgen_throw = function(arg0, arg1) { throw new Error(getStringFromWasm0(arg0, arg1)); }; imports.wbg.__wbindgen_memory = function() { const ret = wasm.memory; return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper2674 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 1445, __wbg_adapter_34); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper2676 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 1445, __wbg_adapter_34); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper2678 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 1445, __wbg_adapter_34); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper2680 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 1445, __wbg_adapter_34); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper2682 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 1445, __wbg_adapter_34); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper2684 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 1445, __wbg_adapter_34); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper2686 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 1445, __wbg_adapter_47); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper2688 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 1445, __wbg_adapter_34); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper2690 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 1445, __wbg_adapter_34); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper3134 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 1741, __wbg_adapter_54); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper25383 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 17487, __wbg_adapter_57); return addHeapObject(ret); }; imports.wbg.__wbindgen_closure_wrapper51161 = function(arg0, arg1, arg2) { const ret = makeMutClosure(arg0, arg1, 34616, __wbg_adapter_60); return addHeapObject(ret); }; return imports; } function __wbg_init_memory(imports, maybe_memory) { } function __wbg_finalize_init(instance, module) { wasm = instance.exports; __wbg_init.__wbindgen_wasm_module = module; cachedFloat32Memory0 = null; cachedFloat64Memory0 = null; cachedInt32Memory0 = null; cachedUint32Memory0 = null; cachedUint8Memory0 = null; wasm.__wbindgen_start(); return wasm; } function initSync(module) { if (wasm !== undefined) return wasm; const imports = __wbg_get_imports(); __wbg_init_memory(imports); if (!(module instanceof WebAssembly.Module)) { module = new WebAssembly.Module(module); } const instance = new WebAssembly.Instance(module, imports); return __wbg_finalize_init(instance, module); } async function __wbg_init(input) { if (wasm !== undefined) return wasm; if (typeof input === 'undefined') { input = new URL('sandbox_bevy_bg.wasm', import.meta.url); } const imports = __wbg_get_imports(); if (typeof input === 'string' || (typeof Request === 'function' && input instanceof Request) || (typeof URL === 'function' && input instanceof URL)) { input = fetch(input); } __wbg_init_memory(imports); const { instance, module } = await __wbg_load(await input, imports); return __wbg_finalize_init(instance, module); } export { initSync } export default __wbg_init;