diff --git a/assets/textures/UI/Tablet.png b/assets/textures/UI/Tablet.png new file mode 100644 index 0000000..573a534 Binary files /dev/null and b/assets/textures/UI/Tablet.png differ diff --git a/cats_destroyer_2000.d.ts b/cats_destroyer_2000.d.ts index 22ad491..b87773f 100644 --- a/cats_destroyer_2000.d.ts +++ b/cats_destroyer_2000.d.ts @@ -21,11 +21,13 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1015791a736eca03: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7024b9e45b935d4e: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd90adf8813b2b8a8: (a: number, b: number, c: number, d: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6841e9828be355db: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1716324858fac3a6: (a: number, b: number, c: number) => void; + readonly __wbindgen_export_3: WebAssembly.Table; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdac403b837d2b372: (a: number, b: number) => void; + readonly closure6275_externref_shim: (a: number, b: number, c: number) => void; + readonly closure6272_externref_shim: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h71ee6428592eebb2: (a: number, b: number) => void; + readonly closure75535_externref_shim: (a: number, b: number, c: number) => void; + readonly __externref_table_alloc: () => number; readonly __wbindgen_free: (a: number, b: number, c: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; diff --git a/cats_destroyer_2000.js b/cats_destroyer_2000.js index 2601353..c27b024 100644 --- a/cats_destroyer_2000.js +++ b/cats_destroyer_2000.js @@ -19,35 +19,6 @@ function getStringFromWasm0(ptr, len) { return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); } -const heap = new Array(128).fill(undefined); - -heap.push(undefined, null, true, false); - -let heap_next = heap.length; - -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; -} - -function getObject(idx) { return heap[idx]; } - -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 isLikeNone(x) { return x === undefined || x === null; } @@ -185,7 +156,7 @@ function debugString(val) { const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined') ? { register: () => {}, unregister: () => {} } : new FinalizationRegistry(state => { - wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b) + wasm.__wbindgen_export_3.get(state.dtor)(state.a, state.b) }); function makeMutClosure(arg0, arg1, dtor, f) { @@ -201,7 +172,7 @@ function makeMutClosure(arg0, arg1, dtor, f) { return f(a, state.b, ...args); } finally { if (--state.cnt === 0) { - wasm.__wbindgen_export_2.get(state.dtor)(a, state.b); + wasm.__wbindgen_export_3.get(state.dtor)(a, state.b); CLOSURE_DTORS.unregister(state); } else { state.a = a; @@ -212,31 +183,40 @@ function makeMutClosure(arg0, arg1, dtor, f) { CLOSURE_DTORS.register(real, state, 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__h1015791a736eca03(arg0, arg1, addHeapObject(arg2)); +function __wbg_adapter_36(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdac403b837d2b372(arg0, arg1); } -function __wbg_adapter_39(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7024b9e45b935d4e(arg0, arg1); +function __wbg_adapter_39(arg0, arg1, arg2) { + wasm.closure6275_externref_shim(arg0, arg1, arg2); } -function __wbg_adapter_54(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd90adf8813b2b8a8(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +function __wbg_adapter_52(arg0, arg1, arg2, arg3) { + wasm.closure6272_externref_shim(arg0, arg1, arg2, arg3); } -function __wbg_adapter_57(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6841e9828be355db(arg0, arg1); +function __wbg_adapter_59(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h71ee6428592eebb2(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__h1716324858fac3a6(arg0, arg1, addHeapObject(arg2)); +function __wbg_adapter_62(arg0, arg1, arg2) { + wasm.closure75535_externref_shim(arg0, arg1, arg2); +} + +function notDefined(what) { return () => { throw new Error(`${what} is not defined`); }; } + +function addToExternrefTable0(obj) { + const idx = wasm.__externref_table_alloc(); + wasm.__wbindgen_export_2.set(idx, obj); + return idx; } function handleError(f, args) { try { return f.apply(this, args); } catch (e) { - wasm.__wbindgen_exn_store(addHeapObject(e)); + const idx = addToExternrefTable0(e); + wasm.__wbindgen_exn_store(idx); } } @@ -282,6 +262,16 @@ function getArrayF32FromWasm0(ptr, len) { return getFloat32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len); } +const __wbindgen_enum_AudioContextState = ["suspended", "running", "closed"]; + +const __wbindgen_enum_GamepadMappingType = ["", "standard"]; + +const __wbindgen_enum_PremultiplyAlpha = ["none", "premultiply", "default"]; + +const __wbindgen_enum_ResizeObserverBoxOptions = ["border-box", "content-box", "device-pixel-content-box"]; + +const __wbindgen_enum_VisibilityState = ["hidden", "visible"]; + async function __wbg_load(module, imports) { if (typeof Response === 'function' && module instanceof Response) { if (typeof WebAssembly.instantiateStreaming === 'function') { @@ -290,7 +280,7 @@ async function __wbg_load(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); + 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; @@ -318,13 +308,10 @@ function __wbg_get_imports() { imports.wbg = {}; imports.wbg.__wbindgen_string_new = function(arg0, arg1) { const ret = getStringFromWasm0(arg0, arg1); - return addHeapObject(ret); - }; - imports.wbg.__wbindgen_object_drop_ref = function(arg0) { - takeObject(arg0); + return ret; }; imports.wbg.__wbindgen_cb_drop = function(arg0) { - const obj = takeObject(arg0).original; + const obj = arg0.original; if (obj.cnt-- == 1) { obj.a = 0; return true; @@ -332,99 +319,96 @@ function __wbg_get_imports() { const ret = false; return ret; }; - imports.wbg.__wbindgen_object_clone_ref = function(arg0) { - const ret = getObject(arg0); - return addHeapObject(ret); - }; - imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = function(arg0) { - queueMicrotask(takeObject(arg0)); - }; + imports.wbg.__wbg_queueMicrotask_693514e3dcae83e6 = typeof queueMicrotask == 'function' ? queueMicrotask : notDefined('queueMicrotask'); imports.wbg.__wbg_offsetX_294898d040917c6b = function(arg0) { - const ret = getObject(arg0).offsetX; + const ret = arg0.offsetX; return ret; }; imports.wbg.__wbg_offsetY_f484804b7b03dd86 = function(arg0) { - const ret = getObject(arg0).offsetY; + const ret = arg0.offsetY; return ret; }; imports.wbg.__wbg_userAgentData_85a8393570ab7dee = function(arg0) { - const ret = getObject(arg0).userAgentData; - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.userAgentData; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_brands_982de08b35281a98 = function(arg0) { - const ret = getObject(arg0).brands; - return addHeapObject(ret); + const ret = arg0.brands; + return ret; }; imports.wbg.__wbg_brand_cdcf0249d44027a8 = function(arg0, arg1) { - const ret = getObject(arg1).brand; + const ret = arg1.brand; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { - const ret = getObject(arg0).Window; - return addHeapObject(ret); - }; - imports.wbg.__wbg_requestFullscreen_24891df6120b675d = function(arg0) { - const ret = getObject(arg0).requestFullscreen(); - return addHeapObject(ret); - }; imports.wbg.__wbindgen_number_new = function(arg0) { const ret = arg0; - return addHeapObject(ret); + return ret; }; - imports.wbg.__wbg_postTask_99464245f349be5a = function(arg0, arg1, arg2) { - const ret = getObject(arg0).postTask(getObject(arg1), getObject(arg2)); - return addHeapObject(ret); + imports.wbg.__wbg_requestFullscreen_24891df6120b675d = function(arg0) { + const ret = arg0.requestFullscreen(); + return ret; }; - imports.wbg.__wbg_prototype_d33365945f23f380 = function() { - const ret = ResizeObserverEntry.prototype; - return addHeapObject(ret); + imports.wbg.__wbg_postTask_99464245f349be5a = function(arg0, arg1, arg2) { + const ret = arg0.postTask(arg1, arg2); + return ret; }; - imports.wbg.__wbindgen_is_undefined = function(arg0) { - const ret = getObject(arg0) === undefined; + imports.wbg.__wbg_Window_bd9ec3fee5f673ee = function(arg0) { + const ret = arg0.Window; return ret; }; imports.wbg.__wbg_scheduler_7ccf2d3b362018c4 = function(arg0) { - const ret = getObject(arg0).scheduler; - return addHeapObject(ret); + const ret = arg0.scheduler; + return ret; }; imports.wbg.__wbg_scheduler_f38a681d98b5a776 = function(arg0) { - const ret = getObject(arg0).scheduler; - return addHeapObject(ret); + const ret = arg0.scheduler; + return ret; }; imports.wbg.__wbg_requestIdleCallback_86b728660e0547ef = function(arg0) { - const ret = getObject(arg0).requestIdleCallback; - return addHeapObject(ret); + const ret = arg0.requestIdleCallback; + return ret; }; - imports.wbg.__wbg_cancel_cba86749f45f30ae = function(arg0) { - getObject(arg0).cancel(); + imports.wbg.__wbg_webkitFullscreenElement_a02341d57a641b43 = function(arg0) { + const ret = arg0.webkitFullscreenElement; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_animate_b321da85ed3f2b4a = function(arg0, arg1, arg2) { - const ret = getObject(arg0).animate(getObject(arg1), getObject(arg2)); - return addHeapObject(ret); + imports.wbg.__wbg_webkitRequestFullscreen_42ba1c34171febc6 = function(arg0) { + arg0.webkitRequestFullscreen(); }; - imports.wbg.__wbg_play_5896e5851ba90aa2 = function(arg0) { - getObject(arg0).play(); + imports.wbg.__wbg_webkitExitFullscreen_77a6c8d07ec6ee46 = function(arg0) { + arg0.webkitExitFullscreen(); }; imports.wbg.__wbg_getCoalescedEvents_85701851c470c4e6 = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents; - return addHeapObject(ret); + const ret = arg0.getCoalescedEvents; + return ret; }; - imports.wbg.__wbg_webkitExitFullscreen_77a6c8d07ec6ee46 = function(arg0) { - getObject(arg0).webkitExitFullscreen(); + imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { + const ret = arg0.requestFullscreen; + return ret; }; - imports.wbg.__wbg_webkitFullscreenElement_a02341d57a641b43 = function(arg0) { - const ret = getObject(arg0).webkitFullscreenElement; - return isLikeNone(ret) ? 0 : addHeapObject(ret); + imports.wbg.__wbg_prototype_d33365945f23f380 = function() { + const ret = ResizeObserverEntry.prototype; + return ret; }; - imports.wbg.__wbg_webkitRequestFullscreen_42ba1c34171febc6 = function(arg0) { - getObject(arg0).webkitRequestFullscreen(); + imports.wbg.__wbindgen_is_undefined = function(arg0) { + const ret = arg0 === undefined; + return ret; }; - imports.wbg.__wbg_requestFullscreen_8a94df4e7f757077 = function(arg0) { - const ret = getObject(arg0).requestFullscreen; - return addHeapObject(ret); + imports.wbg.__wbg_cancel_cba86749f45f30ae = function(arg0) { + arg0.cancel(); + }; + imports.wbg.__wbg_animate_b321da85ed3f2b4a = function(arg0, arg1, arg2) { + const ret = arg0.animate(arg1, arg2); + return ret; + }; + imports.wbg.__wbg_play_5896e5851ba90aa2 = function(arg0) { + arg0.play(); + }; + imports.wbg.__wbg_mark_40e050a77cc39fea = function(arg0, arg1) { + performance.mark(getStringFromWasm0(arg0, arg1)); }; imports.wbg.__wbg_log_c9486ca5d8e2cbe8 = function(arg0, arg1) { let deferred0_0; @@ -448,9 +432,6 @@ function __wbg_get_imports() { 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; @@ -468,17 +449,17 @@ function __wbg_get_imports() { } }, arguments) }; imports.wbg.__wbindgen_number_get = function(arg0, arg1) { - const obj = getObject(arg1); + const obj = arg1; const ret = typeof(obj) === 'number' ? obj : undefined; getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true); }; imports.wbg.__wbindgen_is_null = function(arg0) { - const ret = getObject(arg0) === null; + const ret = arg0 === null; return ret; }; imports.wbg.__wbindgen_string_get = function(arg0, arg1) { - const obj = getObject(arg1); + const obj = 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; @@ -486,22 +467,22 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; imports.wbg.__wbindgen_boolean_get = function(arg0) { - const v = getObject(arg0); + const v = arg0; const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2; return ret; }; - imports.wbg.__wbg_Window_37648570f68cf8d4 = function(arg0) { - const ret = getObject(arg0).Window; - return addHeapObject(ret); + imports.wbg.__wbg_Window_f4441e69cbceafcc = function(arg0) { + const ret = arg0.Window; + return ret; }; - imports.wbg.__wbg_WorkerGlobalScope_db0bb05de6df01a7 = function(arg0) { - const ret = getObject(arg0).WorkerGlobalScope; - return addHeapObject(ret); + imports.wbg.__wbg_WorkerGlobalScope_2500166acca3df02 = function(arg0) { + const ret = arg0.WorkerGlobalScope; + return ret; }; imports.wbg.__wbg_instanceof_WebGl2RenderingContext_62ccef896d9204fa = function(arg0) { let result; try { - result = getObject(arg0) instanceof WebGL2RenderingContext; + result = arg0 instanceof WebGL2RenderingContext; } catch (_) { result = false; } @@ -509,476 +490,476 @@ function __wbg_get_imports() { return ret; }; imports.wbg.__wbg_beginQuery_2babccfce9472da4 = function(arg0, arg1, arg2) { - getObject(arg0).beginQuery(arg1 >>> 0, getObject(arg2)); + arg0.beginQuery(arg1 >>> 0, arg2); }; imports.wbg.__wbg_bindBufferRange_ec55dd1088960c35 = function(arg0, arg1, arg2, arg3, arg4, arg5) { - getObject(arg0).bindBufferRange(arg1 >>> 0, arg2 >>> 0, getObject(arg3), arg4, arg5); + arg0.bindBufferRange(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5); }; imports.wbg.__wbg_bindSampler_f251f0dde3843dc4 = function(arg0, arg1, arg2) { - getObject(arg0).bindSampler(arg1 >>> 0, getObject(arg2)); + arg0.bindSampler(arg1 >>> 0, arg2); }; imports.wbg.__wbg_bindVertexArray_bec56c40e9ec299d = function(arg0, arg1) { - getObject(arg0).bindVertexArray(getObject(arg1)); + arg0.bindVertexArray(arg1); }; imports.wbg.__wbg_blitFramebuffer_cb1261c0e925d363 = 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); + arg0.blitFramebuffer(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0); }; imports.wbg.__wbg_bufferData_f552c26392b9837d = function(arg0, arg1, arg2, arg3) { - getObject(arg0).bufferData(arg1 >>> 0, arg2, arg3 >>> 0); + arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0); }; imports.wbg.__wbg_bufferData_94ce174a81b32961 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0); + arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0); }; imports.wbg.__wbg_bufferSubData_897bff8bd23ca0b4 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).bufferSubData(arg1 >>> 0, arg2, getObject(arg3)); + arg0.bufferSubData(arg1 >>> 0, arg2, arg3); }; imports.wbg.__wbg_clearBufferiv_18ffec9d148aaf4b = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).clearBufferiv(arg1 >>> 0, arg2, getArrayI32FromWasm0(arg3, arg4)); + arg0.clearBufferiv(arg1 >>> 0, arg2, getArrayI32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_clearBufferuiv_8575fe1b1af9dd15 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).clearBufferuiv(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4)); + arg0.clearBufferuiv(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_clientWaitSync_8d3b836729fa705f = function(arg0, arg1, arg2, arg3) { - const ret = getObject(arg0).clientWaitSync(getObject(arg1), arg2 >>> 0, arg3 >>> 0); + const ret = arg0.clientWaitSync(arg1, arg2 >>> 0, arg3 >>> 0); return ret; }; imports.wbg.__wbg_compressedTexSubImage2D_d2201c663eb7e7c0 = 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); + arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8, arg9); }; imports.wbg.__wbg_compressedTexSubImage2D_088b90b29f544ebc = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) { - getObject(arg0).compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, getObject(arg8)); + arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8); }; imports.wbg.__wbg_compressedTexSubImage3D_8d64b364b8ed6808 = 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); + arg0.compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10, arg11); }; imports.wbg.__wbg_compressedTexSubImage3D_d2b94340686bbb79 = 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)); + arg0.compressedTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10); }; imports.wbg.__wbg_copyBufferSubData_026e82b392fb8df2 = function(arg0, arg1, arg2, arg3, arg4, arg5) { - getObject(arg0).copyBufferSubData(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5); + arg0.copyBufferSubData(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5); }; imports.wbg.__wbg_copyTexSubImage3D_f2471ef3614db8d4 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { - getObject(arg0).copyTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); + arg0.copyTexSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); }; imports.wbg.__wbg_createQuery_88b1a8cbfaeadcd4 = function(arg0) { - const ret = getObject(arg0).createQuery(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.createQuery(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_createSampler_ece1b922a455bd52 = function(arg0) { - const ret = getObject(arg0).createSampler(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.createSampler(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_createVertexArray_a3e58c38609ae150 = function(arg0) { - const ret = getObject(arg0).createVertexArray(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.createVertexArray(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_deleteQuery_deba58de1a061092 = function(arg0, arg1) { - getObject(arg0).deleteQuery(getObject(arg1)); + arg0.deleteQuery(arg1); }; imports.wbg.__wbg_deleteSampler_341b638a62cece3e = function(arg0, arg1) { - getObject(arg0).deleteSampler(getObject(arg1)); + arg0.deleteSampler(arg1); }; imports.wbg.__wbg_deleteSync_ddf848c7dd5cb195 = function(arg0, arg1) { - getObject(arg0).deleteSync(getObject(arg1)); + arg0.deleteSync(arg1); }; imports.wbg.__wbg_deleteVertexArray_81346dd52e54eb57 = function(arg0, arg1) { - getObject(arg0).deleteVertexArray(getObject(arg1)); + arg0.deleteVertexArray(arg1); }; imports.wbg.__wbg_drawArraysInstanced_c375d32782ea8d30 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).drawArraysInstanced(arg1 >>> 0, arg2, arg3, arg4); + arg0.drawArraysInstanced(arg1 >>> 0, arg2, arg3, arg4); }; imports.wbg.__wbg_drawBuffers_2744e46ab7e02d91 = function(arg0, arg1) { - getObject(arg0).drawBuffers(getObject(arg1)); + arg0.drawBuffers(arg1); }; imports.wbg.__wbg_drawElementsInstanced_a416af0d12f00837 = function(arg0, arg1, arg2, arg3, arg4, arg5) { - getObject(arg0).drawElementsInstanced(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5); + arg0.drawElementsInstanced(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5); }; imports.wbg.__wbg_endQuery_7e240d815ced0387 = function(arg0, arg1) { - getObject(arg0).endQuery(arg1 >>> 0); + arg0.endQuery(arg1 >>> 0); }; imports.wbg.__wbg_fenceSync_0a54247555048537 = function(arg0, arg1, arg2) { - const ret = getObject(arg0).fenceSync(arg1 >>> 0, arg2 >>> 0); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.fenceSync(arg1 >>> 0, arg2 >>> 0); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_framebufferTextureLayer_1b5119ac136418d2 = function(arg0, arg1, arg2, arg3, arg4, arg5) { - getObject(arg0).framebufferTextureLayer(arg1 >>> 0, arg2 >>> 0, getObject(arg3), arg4, arg5); + arg0.framebufferTextureLayer(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5); }; imports.wbg.__wbg_getBufferSubData_5e2bbbbd18f18d52 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).getBufferSubData(arg1 >>> 0, arg2, getObject(arg3)); + arg0.getBufferSubData(arg1 >>> 0, arg2, arg3); }; imports.wbg.__wbg_getIndexedParameter_edda23e611d65abb = function() { return handleError(function (arg0, arg1, arg2) { - const ret = getObject(arg0).getIndexedParameter(arg1 >>> 0, arg2 >>> 0); - return addHeapObject(ret); + const ret = arg0.getIndexedParameter(arg1 >>> 0, arg2 >>> 0); + return ret; }, arguments) }; imports.wbg.__wbg_getQueryParameter_ec854b270df79577 = function(arg0, arg1, arg2) { - const ret = getObject(arg0).getQueryParameter(getObject(arg1), arg2 >>> 0); - return addHeapObject(ret); + const ret = arg0.getQueryParameter(arg1, arg2 >>> 0); + return ret; }; imports.wbg.__wbg_getSyncParameter_cf9ca45e037f34f4 = function(arg0, arg1, arg2) { - const ret = getObject(arg0).getSyncParameter(getObject(arg1), arg2 >>> 0); - return addHeapObject(ret); + const ret = arg0.getSyncParameter(arg1, arg2 >>> 0); + return ret; }; imports.wbg.__wbg_getUniformBlockIndex_8eef3be68190327f = function(arg0, arg1, arg2, arg3) { - const ret = getObject(arg0).getUniformBlockIndex(getObject(arg1), getStringFromWasm0(arg2, arg3)); + const ret = arg0.getUniformBlockIndex(arg1, getStringFromWasm0(arg2, arg3)); return ret; }; imports.wbg.__wbg_invalidateFramebuffer_12eca43686968fe1 = function() { return handleError(function (arg0, arg1, arg2) { - getObject(arg0).invalidateFramebuffer(arg1 >>> 0, getObject(arg2)); + arg0.invalidateFramebuffer(arg1 >>> 0, arg2); }, arguments) }; imports.wbg.__wbg_readBuffer_c6e1ba464c45ded1 = function(arg0, arg1) { - getObject(arg0).readBuffer(arg1 >>> 0); + arg0.readBuffer(arg1 >>> 0); }; imports.wbg.__wbg_readPixels_f589cb77c7641fb2 = 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)); + arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7); }, arguments) }; imports.wbg.__wbg_readPixels_74eff76a8a707954 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { - getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7); + arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7); }, arguments) }; imports.wbg.__wbg_renderbufferStorageMultisample_1e0f794803ff8352 = function(arg0, arg1, arg2, arg3, arg4, arg5) { - getObject(arg0).renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5); + arg0.renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5); }; imports.wbg.__wbg_samplerParameterf_f58c4ac221503b11 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).samplerParameterf(getObject(arg1), arg2 >>> 0, arg3); + arg0.samplerParameterf(arg1, arg2 >>> 0, arg3); }; imports.wbg.__wbg_samplerParameteri_97baec154acb369e = function(arg0, arg1, arg2, arg3) { - getObject(arg0).samplerParameteri(getObject(arg1), arg2 >>> 0, arg3); + arg0.samplerParameteri(arg1, arg2 >>> 0, arg3); }; imports.wbg.__wbg_texImage2D_75effcb59fe5da7e = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { - getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9)); + arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); }, arguments) }; imports.wbg.__wbg_texImage3D_335fce191a5faae5 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) { - getObject(arg0).texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, getObject(arg10)); + arg0.texImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8 >>> 0, arg9 >>> 0, arg10); }, arguments) }; imports.wbg.__wbg_texStorage2D_6143bf0d71e869ce = function(arg0, arg1, arg2, arg3, arg4, arg5) { - getObject(arg0).texStorage2D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5); + arg0.texStorage2D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5); }; imports.wbg.__wbg_texStorage3D_5d6b3c6bfa977000 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { - getObject(arg0).texStorage3D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5, arg6); + arg0.texStorage3D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5, arg6); }; imports.wbg.__wbg_texSubImage2D_be0166513e368886 = 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)); + arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); }, arguments) }; imports.wbg.__wbg_texSubImage2D_338d11db84a799ed = 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); + arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); }, arguments) }; imports.wbg.__wbg_texSubImage2D_bdc1e6e8b1feae8f = 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)); + arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); }, arguments) }; imports.wbg.__wbg_texSubImage2D_edb828ed3708cfdd = 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)); + arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); }, arguments) }; imports.wbg.__wbg_texSubImage2D_fbb08177c318e3f2 = 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)); + arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); }, arguments) }; imports.wbg.__wbg_texSubImage3D_c571236e8e9908d5 = 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); + arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11); }, arguments) }; imports.wbg.__wbg_texSubImage3D_d86e30d5f4ebc0e0 = 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)); + arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11); }, arguments) }; imports.wbg.__wbg_texSubImage3D_b3526f28e3c2031e = 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)); + arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11); }, arguments) }; imports.wbg.__wbg_texSubImage3D_7a0f4d63809a0f6e = 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)); + arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11); }, arguments) }; imports.wbg.__wbg_texSubImage3D_9ee350bf3d5e61ad = 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)); + arg0.texSubImage3D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0, arg11); }, arguments) }; imports.wbg.__wbg_uniform1ui_010e62706e661170 = function(arg0, arg1, arg2) { - getObject(arg0).uniform1ui(getObject(arg1), arg2 >>> 0); + arg0.uniform1ui(arg1, arg2 >>> 0); }; imports.wbg.__wbg_uniform2fv_83048fbc79c7f362 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).uniform2fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3)); + arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform2iv_31ff5561a5c51159 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).uniform2iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3)); + arg0.uniform2iv(arg1, getArrayI32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform2uiv_4b36f1c57b28c3c6 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).uniform2uiv(getObject(arg1), getArrayU32FromWasm0(arg2, arg3)); + arg0.uniform2uiv(arg1, getArrayU32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform3fv_0ddd3ca056ab3d1f = function(arg0, arg1, arg2, arg3) { - getObject(arg0).uniform3fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3)); + arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform3iv_eb887b2a339dda97 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).uniform3iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3)); + arg0.uniform3iv(arg1, getArrayI32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform3uiv_19cbb50d7afeb7d0 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).uniform3uiv(getObject(arg1), getArrayU32FromWasm0(arg2, arg3)); + arg0.uniform3uiv(arg1, getArrayU32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform4fv_cf977e0dd611bbdd = function(arg0, arg1, arg2, arg3) { - getObject(arg0).uniform4fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3)); + arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform4iv_b3a606d0b1b87dc9 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).uniform4iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3)); + arg0.uniform4iv(arg1, getArrayI32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform4uiv_cb256e285d564825 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).uniform4uiv(getObject(arg1), getArrayU32FromWasm0(arg2, arg3)); + arg0.uniform4uiv(arg1, getArrayU32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniformBlockBinding_744b2ad6a5f2cace = function(arg0, arg1, arg2, arg3) { - getObject(arg0).uniformBlockBinding(getObject(arg1), arg2 >>> 0, arg3 >>> 0); + arg0.uniformBlockBinding(arg1, arg2 >>> 0, arg3 >>> 0); }; imports.wbg.__wbg_uniformMatrix2fv_7e757aaedd0427cf = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).uniformMatrix2fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); + arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_uniformMatrix2x3fv_91be1a9373d7c5ce = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).uniformMatrix2x3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); + arg0.uniformMatrix2x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_uniformMatrix2x4fv_b5ef5b5baced0e4f = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).uniformMatrix2x4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); + arg0.uniformMatrix2x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_uniformMatrix3fv_5eec5885a8d5de8b = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).uniformMatrix3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); + arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_uniformMatrix3x2fv_88709a0858bab333 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).uniformMatrix3x2fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); + arg0.uniformMatrix3x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_uniformMatrix3x4fv_184c4f571cff1122 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).uniformMatrix3x4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); + arg0.uniformMatrix3x4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_uniformMatrix4fv_ae100fc474463355 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).uniformMatrix4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); + arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_uniformMatrix4x2fv_e931df9c7cb32d55 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).uniformMatrix4x2fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); + arg0.uniformMatrix4x2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_uniformMatrix4x3fv_f78c83b4908c3e27 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).uniformMatrix4x3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); + arg0.uniformMatrix4x3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_vertexAttribDivisor_48f4c9ce15c07063 = function(arg0, arg1, arg2) { - getObject(arg0).vertexAttribDivisor(arg1 >>> 0, arg2 >>> 0); + arg0.vertexAttribDivisor(arg1 >>> 0, arg2 >>> 0); }; imports.wbg.__wbg_vertexAttribIPointer_78250ec98da971a2 = function(arg0, arg1, arg2, arg3, arg4, arg5) { - getObject(arg0).vertexAttribIPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5); + arg0.vertexAttribIPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5); }; imports.wbg.__wbg_activeTexture_067b93df6d1ed857 = function(arg0, arg1) { - getObject(arg0).activeTexture(arg1 >>> 0); + arg0.activeTexture(arg1 >>> 0); }; imports.wbg.__wbg_attachShader_396d529f1d7c9abc = function(arg0, arg1, arg2) { - getObject(arg0).attachShader(getObject(arg1), getObject(arg2)); + arg0.attachShader(arg1, arg2); }; imports.wbg.__wbg_bindAttribLocation_9e7dad25e51f58b1 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).bindAttribLocation(getObject(arg1), arg2 >>> 0, getStringFromWasm0(arg3, arg4)); + arg0.bindAttribLocation(arg1, arg2 >>> 0, getStringFromWasm0(arg3, arg4)); }; imports.wbg.__wbg_bindBuffer_d6b05e0a99a752d4 = function(arg0, arg1, arg2) { - getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2)); + arg0.bindBuffer(arg1 >>> 0, arg2); }; imports.wbg.__wbg_bindFramebuffer_f5e959313c29a7c6 = function(arg0, arg1, arg2) { - getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2)); + arg0.bindFramebuffer(arg1 >>> 0, arg2); }; imports.wbg.__wbg_bindRenderbuffer_691cb14fc6248155 = function(arg0, arg1, arg2) { - getObject(arg0).bindRenderbuffer(arg1 >>> 0, getObject(arg2)); + arg0.bindRenderbuffer(arg1 >>> 0, arg2); }; imports.wbg.__wbg_bindTexture_840f7fcfd0298dc4 = function(arg0, arg1, arg2) { - getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2)); + arg0.bindTexture(arg1 >>> 0, arg2); }; imports.wbg.__wbg_blendColor_4c1f00a2e4f1a80d = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).blendColor(arg1, arg2, arg3, arg4); + arg0.blendColor(arg1, arg2, arg3, arg4); }; imports.wbg.__wbg_blendEquation_e7b91e8e062fa502 = function(arg0, arg1) { - getObject(arg0).blendEquation(arg1 >>> 0); + arg0.blendEquation(arg1 >>> 0); }; imports.wbg.__wbg_blendEquationSeparate_272bfcd932055191 = function(arg0, arg1, arg2) { - getObject(arg0).blendEquationSeparate(arg1 >>> 0, arg2 >>> 0); + arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0); }; imports.wbg.__wbg_blendFunc_6a7b81c06098c023 = function(arg0, arg1, arg2) { - getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0); + arg0.blendFunc(arg1 >>> 0, arg2 >>> 0); }; imports.wbg.__wbg_blendFuncSeparate_f81dd232d266e735 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); + arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); }; imports.wbg.__wbg_clear_7a2a7ca897047e8d = function(arg0, arg1) { - getObject(arg0).clear(arg1 >>> 0); + arg0.clear(arg1 >>> 0); }; imports.wbg.__wbg_clearColor_837d30f5bf4f982b = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).clearColor(arg1, arg2, arg3, arg4); + arg0.clearColor(arg1, arg2, arg3, arg4); }; imports.wbg.__wbg_clearDepth_a65e67fdeb1f3ff9 = function(arg0, arg1) { - getObject(arg0).clearDepth(arg1); + arg0.clearDepth(arg1); }; imports.wbg.__wbg_clearStencil_1f24aec5432f38ba = function(arg0, arg1) { - getObject(arg0).clearStencil(arg1); + arg0.clearStencil(arg1); }; imports.wbg.__wbg_colorMask_7c2aafdec5441392 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0); + arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0); }; imports.wbg.__wbg_compileShader_77ef81728b1c03f6 = function(arg0, arg1) { - getObject(arg0).compileShader(getObject(arg1)); + arg0.compileShader(arg1); }; imports.wbg.__wbg_copyTexSubImage2D_d3b3d3b235c88d33 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) { - getObject(arg0).copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8); + arg0.copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8); }; imports.wbg.__wbg_createBuffer_7b18852edffb3ab4 = function(arg0) { - const ret = getObject(arg0).createBuffer(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.createBuffer(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_createFramebuffer_a12847edac092647 = function(arg0) { - const ret = getObject(arg0).createFramebuffer(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.createFramebuffer(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_createProgram_73611dc7a72c4ee2 = function(arg0) { - const ret = getObject(arg0).createProgram(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.createProgram(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_createRenderbuffer_e7bd95fedc0bbcb5 = function(arg0) { - const ret = getObject(arg0).createRenderbuffer(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.createRenderbuffer(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_createShader_f10ffabbfd8e2c8c = function(arg0, arg1) { - const ret = getObject(arg0).createShader(arg1 >>> 0); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.createShader(arg1 >>> 0); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_createTexture_2426b031baa26a82 = function(arg0) { - const ret = getObject(arg0).createTexture(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.createTexture(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_cullFace_fbafcb7763a2d6aa = function(arg0, arg1) { - getObject(arg0).cullFace(arg1 >>> 0); + arg0.cullFace(arg1 >>> 0); }; imports.wbg.__wbg_deleteBuffer_27b0fb5ed68afbe4 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); + arg0.deleteBuffer(arg1); }; imports.wbg.__wbg_deleteFramebuffer_c0d511b2fc07620d = function(arg0, arg1) { - getObject(arg0).deleteFramebuffer(getObject(arg1)); + arg0.deleteFramebuffer(arg1); }; imports.wbg.__wbg_deleteProgram_c3238b647d849334 = function(arg0, arg1) { - getObject(arg0).deleteProgram(getObject(arg1)); + arg0.deleteProgram(arg1); }; imports.wbg.__wbg_deleteRenderbuffer_325417b497c5ae27 = function(arg0, arg1) { - getObject(arg0).deleteRenderbuffer(getObject(arg1)); + arg0.deleteRenderbuffer(arg1); }; imports.wbg.__wbg_deleteShader_da06706168cf00dc = function(arg0, arg1) { - getObject(arg0).deleteShader(getObject(arg1)); + arg0.deleteShader(arg1); }; imports.wbg.__wbg_deleteTexture_cdd844345a2559bb = function(arg0, arg1) { - getObject(arg0).deleteTexture(getObject(arg1)); + arg0.deleteTexture(arg1); }; imports.wbg.__wbg_depthFunc_2f1df7eb8339f5a3 = function(arg0, arg1) { - getObject(arg0).depthFunc(arg1 >>> 0); + arg0.depthFunc(arg1 >>> 0); }; imports.wbg.__wbg_depthMask_a301dd9951c6056c = function(arg0, arg1) { - getObject(arg0).depthMask(arg1 !== 0); + arg0.depthMask(arg1 !== 0); }; imports.wbg.__wbg_depthRange_85c249bf5c81856c = function(arg0, arg1, arg2) { - getObject(arg0).depthRange(arg1, arg2); + arg0.depthRange(arg1, arg2); }; imports.wbg.__wbg_disable_8908871f2334e76b = function(arg0, arg1) { - getObject(arg0).disable(arg1 >>> 0); + arg0.disable(arg1 >>> 0); }; imports.wbg.__wbg_disableVertexAttribArray_79a5010f18eb84cb = function(arg0, arg1) { - getObject(arg0).disableVertexAttribArray(arg1 >>> 0); + arg0.disableVertexAttribArray(arg1 >>> 0); }; imports.wbg.__wbg_drawArrays_7a8f5031b1fe80ff = function(arg0, arg1, arg2, arg3) { - getObject(arg0).drawArrays(arg1 >>> 0, arg2, arg3); + arg0.drawArrays(arg1 >>> 0, arg2, arg3); }; imports.wbg.__wbg_enable_541ed84c1e7d269d = function(arg0, arg1) { - getObject(arg0).enable(arg1 >>> 0); + arg0.enable(arg1 >>> 0); }; imports.wbg.__wbg_enableVertexAttribArray_06043f51b716ed9d = function(arg0, arg1) { - getObject(arg0).enableVertexAttribArray(arg1 >>> 0); + arg0.enableVertexAttribArray(arg1 >>> 0); }; imports.wbg.__wbg_framebufferRenderbuffer_f7c592ad40667f89 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4)); + arg0.framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4); }; imports.wbg.__wbg_framebufferTexture2D_5b524fe6135d5fe8 = function(arg0, arg1, arg2, arg3, arg4, arg5) { - getObject(arg0).framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5); + arg0.framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5); }; imports.wbg.__wbg_frontFace_54ccf43770ae1011 = function(arg0, arg1) { - getObject(arg0).frontFace(arg1 >>> 0); + arg0.frontFace(arg1 >>> 0); }; imports.wbg.__wbg_getExtension_095ef1e6c9d8d8ab = function() { return handleError(function (arg0, arg1, arg2) { - const ret = getObject(arg0).getExtension(getStringFromWasm0(arg1, arg2)); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.getExtension(getStringFromWasm0(arg1, arg2)); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }, arguments) }; imports.wbg.__wbg_getParameter_cfaed180705b9280 = function() { return handleError(function (arg0, arg1) { - const ret = getObject(arg0).getParameter(arg1 >>> 0); - return addHeapObject(ret); + const ret = arg0.getParameter(arg1 >>> 0); + return ret; }, arguments) }; imports.wbg.__wbg_getProgramInfoLog_fe796f3a9512a8e3 = function(arg0, arg1, arg2) { - const ret = getObject(arg1).getProgramInfoLog(getObject(arg2)); + const ret = arg1.getProgramInfoLog(arg2); var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len1 = WASM_VECTOR_LEN; getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; imports.wbg.__wbg_getProgramParameter_9df6cbbb1343b27d = function(arg0, arg1, arg2) { - const ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0); - return addHeapObject(ret); + const ret = arg0.getProgramParameter(arg1, arg2 >>> 0); + return ret; }; imports.wbg.__wbg_getShaderInfoLog_a7ca51b89a4dafab = function(arg0, arg1, arg2) { - const ret = getObject(arg1).getShaderInfoLog(getObject(arg2)); + const ret = arg1.getShaderInfoLog(arg2); var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len1 = WASM_VECTOR_LEN; getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; imports.wbg.__wbg_getShaderParameter_806970126d526c29 = function(arg0, arg1, arg2) { - const ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0); - return addHeapObject(ret); + const ret = arg0.getShaderParameter(arg1, arg2 >>> 0); + return ret; }; imports.wbg.__wbg_getSupportedExtensions_e1788ac835b7e81a = function(arg0) { - const ret = getObject(arg0).getSupportedExtensions(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.getSupportedExtensions(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_getUniformLocation_6a59ad54df3bba8e = function(arg0, arg1, arg2, arg3) { - const ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3)); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3)); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_linkProgram_56a5d97f63b1f56d = function(arg0, arg1) { - getObject(arg0).linkProgram(getObject(arg1)); + arg0.linkProgram(arg1); }; imports.wbg.__wbg_pixelStorei_3a600280eab03e3c = function(arg0, arg1, arg2) { - getObject(arg0).pixelStorei(arg1 >>> 0, arg2); + arg0.pixelStorei(arg1 >>> 0, arg2); }; imports.wbg.__wbg_polygonOffset_ebf1b1bd8db53e65 = function(arg0, arg1, arg2) { - getObject(arg0).polygonOffset(arg1, arg2); + arg0.polygonOffset(arg1, arg2); }; imports.wbg.__wbg_renderbufferStorage_3c5e469d82dfe89b = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4); + arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4); }; imports.wbg.__wbg_scissor_2b172ca4e459dd16 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).scissor(arg1, arg2, arg3, arg4); + arg0.scissor(arg1, arg2, arg3, arg4); }; imports.wbg.__wbg_shaderSource_b92b2b5c29126344 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3)); + arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3)); }; imports.wbg.__wbg_stencilFuncSeparate_25b5dd967d72b6e5 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0); + arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0); }; imports.wbg.__wbg_stencilMask_702162181d88081f = function(arg0, arg1) { - getObject(arg0).stencilMask(arg1 >>> 0); + arg0.stencilMask(arg1 >>> 0); }; imports.wbg.__wbg_stencilMaskSeparate_1f803a440e789b81 = function(arg0, arg1, arg2) { - getObject(arg0).stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0); + arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0); }; imports.wbg.__wbg_stencilOpSeparate_52b401966f916a0f = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); + arg0.stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); }; imports.wbg.__wbg_texParameteri_531d0268109950ba = function(arg0, arg1, arg2, arg3) { - getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3); + arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3); }; imports.wbg.__wbg_uniform1f_81b570bf6358ae6c = function(arg0, arg1, arg2) { - getObject(arg0).uniform1f(getObject(arg1), arg2); + arg0.uniform1f(arg1, arg2); }; imports.wbg.__wbg_uniform1i_ded3be13f5d8f11a = function(arg0, arg1, arg2) { - getObject(arg0).uniform1i(getObject(arg1), arg2); + arg0.uniform1i(arg1, arg2); }; imports.wbg.__wbg_uniform4f_bdbb7cf56fc94cbb = function(arg0, arg1, arg2, arg3, arg4, arg5) { - getObject(arg0).uniform4f(getObject(arg1), arg2, arg3, arg4, arg5); + arg0.uniform4f(arg1, arg2, arg3, arg4, arg5); }; imports.wbg.__wbg_useProgram_001c6b9208b683d3 = function(arg0, arg1) { - getObject(arg0).useProgram(getObject(arg1)); + arg0.useProgram(arg1); }; imports.wbg.__wbg_vertexAttribPointer_b435a034ff758637 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { - getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6); + arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6); }; imports.wbg.__wbg_viewport_536c78dd69c44351 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).viewport(arg1, arg2, arg3, arg4); + arg0.viewport(arg1, arg2, arg3, arg4); }; imports.wbg.__wbg_instanceof_Window_5012736c80a01584 = function(arg0) { let result; try { - result = getObject(arg0) instanceof Window; + result = arg0 instanceof Window; } catch (_) { result = false; } @@ -986,664 +967,645 @@ function __wbg_get_imports() { return ret; }; imports.wbg.__wbg_document_8554450897a855b9 = function(arg0) { - const ret = getObject(arg0).document; - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.document; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_navigator_6210380287bf8581 = function(arg0) { - const ret = getObject(arg0).navigator; - return addHeapObject(ret); + const ret = arg0.navigator; + return ret; }; imports.wbg.__wbg_devicePixelRatio_7ba8bc80d46340bd = function(arg0) { - const ret = getObject(arg0).devicePixelRatio; + const ret = arg0.devicePixelRatio; return ret; }; imports.wbg.__wbg_isSecureContext_80defc491f0c2d6a = function(arg0) { - const ret = getObject(arg0).isSecureContext; + const ret = arg0.isSecureContext; return ret; }; imports.wbg.__wbg_cancelIdleCallback_0d1373370ef859bd = function(arg0, arg1) { - getObject(arg0).cancelIdleCallback(arg1 >>> 0); + arg0.cancelIdleCallback(arg1 >>> 0); }; imports.wbg.__wbg_getComputedStyle_ba4609b39055f674 = function() { return handleError(function (arg0, arg1) { - const ret = getObject(arg0).getComputedStyle(getObject(arg1)); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.getComputedStyle(arg1); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }, arguments) }; imports.wbg.__wbg_matchMedia_170d35fd154463b2 = function() { return handleError(function (arg0, arg1, arg2) { - const ret = getObject(arg0).matchMedia(getStringFromWasm0(arg1, arg2)); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.matchMedia(getStringFromWasm0(arg1, arg2)); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }, arguments) }; imports.wbg.__wbg_requestIdleCallback_af997f1fdcadcc54 = function() { return handleError(function (arg0, arg1) { - const ret = getObject(arg0).requestIdleCallback(getObject(arg1)); + const ret = arg0.requestIdleCallback(arg1); return ret; }, arguments) }; imports.wbg.__wbg_cancelAnimationFrame_f80ecdad075d1d55 = function() { return handleError(function (arg0, arg1) { - getObject(arg0).cancelAnimationFrame(arg1); + arg0.cancelAnimationFrame(arg1); }, arguments) }; imports.wbg.__wbg_requestAnimationFrame_b4b782250b9c2c88 = function() { return handleError(function (arg0, arg1) { - const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); + const ret = arg0.requestAnimationFrame(arg1); return ret; }, arguments) }; imports.wbg.__wbg_clearTimeout_25cdc2ed88b3c0b2 = function(arg0, arg1) { - getObject(arg0).clearTimeout(arg1); + arg0.clearTimeout(arg1); }; imports.wbg.__wbg_fetch_3da077286e43a958 = function(arg0, arg1, arg2) { - const ret = getObject(arg0).fetch(getStringFromWasm0(arg1, arg2)); - return addHeapObject(ret); + const ret = arg0.fetch(getStringFromWasm0(arg1, arg2)); + return ret; }; imports.wbg.__wbg_setTimeout_2bb9dfe810e45e24 = function() { return handleError(function (arg0, arg1) { - const ret = getObject(arg0).setTimeout(getObject(arg1)); + const ret = arg0.setTimeout(arg1); return ret; }, arguments) }; imports.wbg.__wbg_setTimeout_73b734ca971c19f4 = function() { return handleError(function (arg0, arg1, arg2) { - const ret = getObject(arg0).setTimeout(getObject(arg1), arg2); + const ret = arg0.setTimeout(arg1, arg2); return ret; }, arguments) }; imports.wbg.__wbg_body_b3bb488e8e54bf4b = function(arg0) { - const ret = getObject(arg0).body; - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.body; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_visibilityState_51f5bb37c843e94e = function(arg0) { - const ret = getObject(arg0).visibilityState; - return {"hidden":0,"visible":1,}[ret] ?? 2; + const ret = arg0.visibilityState; + return (__wbindgen_enum_VisibilityState.indexOf(ret) + 1 || 3) - 1; }; imports.wbg.__wbg_activeElement_1036a8ddc10ec3f1 = function(arg0) { - const ret = getObject(arg0).activeElement; - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.activeElement; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_fullscreenElement_027a4ad195839d29 = function(arg0) { - const ret = getObject(arg0).fullscreenElement; - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.fullscreenElement; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_createElement_5921e9eb06b9ec89 = function() { return handleError(function (arg0, arg1, arg2) { - const ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2)); - return addHeapObject(ret); + const ret = arg0.createElement(getStringFromWasm0(arg1, arg2)); + return ret; }, arguments) }; imports.wbg.__wbg_exitFullscreen_3b8893467fd80879 = function(arg0) { - getObject(arg0).exitFullscreen(); + arg0.exitFullscreen(); }; imports.wbg.__wbg_exitPointerLock_25631bbb069a5753 = function(arg0) { - getObject(arg0).exitPointerLock(); + arg0.exitPointerLock(); }; imports.wbg.__wbg_querySelector_e21c39150aa72078 = function() { return handleError(function (arg0, arg1, arg2) { - const ret = getObject(arg0).querySelector(getStringFromWasm0(arg1, arg2)); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.querySelector(getStringFromWasm0(arg1, arg2)); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }, arguments) }; imports.wbg.__wbg_getBoundingClientRect_35fc4d8fa10e0463 = function(arg0) { - const ret = getObject(arg0).getBoundingClientRect(); - return addHeapObject(ret); + const ret = arg0.getBoundingClientRect(); + return ret; }; imports.wbg.__wbg_requestPointerLock_951e136d8eaf5637 = function(arg0) { - getObject(arg0).requestPointerLock(); + arg0.requestPointerLock(); }; imports.wbg.__wbg_setAttribute_d5540a19be09f8dc = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); + arg0.setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); }, arguments) }; imports.wbg.__wbg_setPointerCapture_16fb4f004fe3aaae = function() { return handleError(function (arg0, arg1) { - getObject(arg0).setPointerCapture(arg1); + arg0.setPointerCapture(arg1); }, arguments) }; imports.wbg.__wbg_style_e06c9e03355741e9 = function(arg0) { - const ret = getObject(arg0).style; - return addHeapObject(ret); + const ret = arg0.style; + return ret; }; imports.wbg.__wbg_focus_06621101cc79f5d8 = function() { return handleError(function (arg0) { - getObject(arg0).focus(); + arg0.focus(); }, arguments) }; imports.wbg.__wbg_fetch_0b9f0f8239b62e25 = function(arg0, arg1, arg2) { - const ret = getObject(arg0).fetch(getStringFromWasm0(arg1, arg2)); - return addHeapObject(ret); + const ret = arg0.fetch(getStringFromWasm0(arg1, arg2)); + return ret; }; imports.wbg.__wbg_bufferData_fc33089cf05a6c5a = function(arg0, arg1, arg2, arg3) { - getObject(arg0).bufferData(arg1 >>> 0, arg2, arg3 >>> 0); + arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0); }; imports.wbg.__wbg_bufferData_0db2a74470353a96 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0); + arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0); }; imports.wbg.__wbg_bufferSubData_944883045753ee61 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).bufferSubData(arg1 >>> 0, arg2, getObject(arg3)); + arg0.bufferSubData(arg1 >>> 0, arg2, arg3); }; imports.wbg.__wbg_compressedTexSubImage2D_678be4671393a94b = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) { - getObject(arg0).compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, getObject(arg8)); + arg0.compressedTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8); }; imports.wbg.__wbg_readPixels_0c5ad23c72dbe1b8 = 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)); + arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7); }, arguments) }; imports.wbg.__wbg_texImage2D_d704e7eee22d1e6b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { - getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9)); + arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); }, arguments) }; imports.wbg.__wbg_texSubImage2D_bed4633ee03b384d = 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)); + arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); }, arguments) }; imports.wbg.__wbg_uniform2fv_b73144e507d90a92 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).uniform2fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3)); + arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform2iv_27f3fc3aefa41fa7 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).uniform2iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3)); + arg0.uniform2iv(arg1, getArrayI32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform3fv_5df1d945c0bbfe20 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).uniform3fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3)); + arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform3iv_03be54fcc4468fc4 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).uniform3iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3)); + arg0.uniform3iv(arg1, getArrayI32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform4fv_d87e4ea9ef6cf6de = function(arg0, arg1, arg2, arg3) { - getObject(arg0).uniform4fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3)); + arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniform4iv_965df9fa4c8ab47e = function(arg0, arg1, arg2, arg3) { - getObject(arg0).uniform4iv(getObject(arg1), getArrayI32FromWasm0(arg2, arg3)); + arg0.uniform4iv(arg1, getArrayI32FromWasm0(arg2, arg3)); }; imports.wbg.__wbg_uniformMatrix2fv_8646addaa18ba00b = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).uniformMatrix2fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); + arg0.uniformMatrix2fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_uniformMatrix3fv_917f07d03e8b1db5 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).uniformMatrix3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); + arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_uniformMatrix4fv_46c1f9033bbb1a5e = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).uniformMatrix4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); + arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4)); }; imports.wbg.__wbg_activeTexture_b967ed47a8083daa = function(arg0, arg1) { - getObject(arg0).activeTexture(arg1 >>> 0); + arg0.activeTexture(arg1 >>> 0); }; imports.wbg.__wbg_attachShader_2b5810fc1d23ebe7 = function(arg0, arg1, arg2) { - getObject(arg0).attachShader(getObject(arg1), getObject(arg2)); + arg0.attachShader(arg1, arg2); }; imports.wbg.__wbg_bindAttribLocation_0018ec2a523f139f = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).bindAttribLocation(getObject(arg1), arg2 >>> 0, getStringFromWasm0(arg3, arg4)); + arg0.bindAttribLocation(arg1, arg2 >>> 0, getStringFromWasm0(arg3, arg4)); }; imports.wbg.__wbg_bindBuffer_1f581c747176e7d7 = function(arg0, arg1, arg2) { - getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2)); + arg0.bindBuffer(arg1 >>> 0, arg2); }; imports.wbg.__wbg_bindFramebuffer_8cba9964befd2a6d = function(arg0, arg1, arg2) { - getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2)); + arg0.bindFramebuffer(arg1 >>> 0, arg2); }; imports.wbg.__wbg_bindRenderbuffer_297ae310683dc32b = function(arg0, arg1, arg2) { - getObject(arg0).bindRenderbuffer(arg1 >>> 0, getObject(arg2)); + arg0.bindRenderbuffer(arg1 >>> 0, arg2); }; imports.wbg.__wbg_bindTexture_bffa89324927e23a = function(arg0, arg1, arg2) { - getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2)); + arg0.bindTexture(arg1 >>> 0, arg2); }; imports.wbg.__wbg_blendColor_c876d94aa784bef7 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).blendColor(arg1, arg2, arg3, arg4); + arg0.blendColor(arg1, arg2, arg3, arg4); }; imports.wbg.__wbg_blendEquation_4f3b8eb0b07cab21 = function(arg0, arg1) { - getObject(arg0).blendEquation(arg1 >>> 0); + arg0.blendEquation(arg1 >>> 0); }; imports.wbg.__wbg_blendEquationSeparate_95241ffd0f6ab09e = function(arg0, arg1, arg2) { - getObject(arg0).blendEquationSeparate(arg1 >>> 0, arg2 >>> 0); + arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0); }; imports.wbg.__wbg_blendFunc_f31d0f0d227137e0 = function(arg0, arg1, arg2) { - getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0); + arg0.blendFunc(arg1 >>> 0, arg2 >>> 0); }; imports.wbg.__wbg_blendFuncSeparate_2b607032f14b9381 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); + arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); }; imports.wbg.__wbg_clear_780c4e5384fe3fc6 = function(arg0, arg1) { - getObject(arg0).clear(arg1 >>> 0); + arg0.clear(arg1 >>> 0); }; imports.wbg.__wbg_clearColor_ac713fa6931cef3c = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).clearColor(arg1, arg2, arg3, arg4); + arg0.clearColor(arg1, arg2, arg3, arg4); }; imports.wbg.__wbg_clearDepth_92f7c7d02e50df24 = function(arg0, arg1) { - getObject(arg0).clearDepth(arg1); + arg0.clearDepth(arg1); }; imports.wbg.__wbg_clearStencil_78b0b3c82001b542 = function(arg0, arg1) { - getObject(arg0).clearStencil(arg1); + arg0.clearStencil(arg1); }; imports.wbg.__wbg_colorMask_6a64eb75df60e2cf = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0); + arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0); }; imports.wbg.__wbg_compileShader_043cc8b99c2efc21 = function(arg0, arg1) { - getObject(arg0).compileShader(getObject(arg1)); + arg0.compileShader(arg1); }; imports.wbg.__wbg_copyTexSubImage2D_8f6644e7df89a307 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) { - getObject(arg0).copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8); + arg0.copyTexSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7, arg8); }; imports.wbg.__wbg_createBuffer_9571c039ba6696c6 = function(arg0) { - const ret = getObject(arg0).createBuffer(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.createBuffer(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_createFramebuffer_20f79ec189ef2060 = function(arg0) { - const ret = getObject(arg0).createFramebuffer(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.createFramebuffer(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_createProgram_2c3a8969b5a76988 = function(arg0) { - const ret = getObject(arg0).createProgram(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.createProgram(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_createRenderbuffer_620bdfb7867926e8 = function(arg0) { - const ret = getObject(arg0).createRenderbuffer(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.createRenderbuffer(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_createShader_af087106532661d9 = function(arg0, arg1) { - const ret = getObject(arg0).createShader(arg1 >>> 0); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.createShader(arg1 >>> 0); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_createTexture_e49c36c5f31925a3 = function(arg0) { - const ret = getObject(arg0).createTexture(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.createTexture(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_cullFace_ccad99c645b704eb = function(arg0, arg1) { - getObject(arg0).cullFace(arg1 >>> 0); + arg0.cullFace(arg1 >>> 0); }; imports.wbg.__wbg_deleteBuffer_898974b9db136e43 = function(arg0, arg1) { - getObject(arg0).deleteBuffer(getObject(arg1)); + arg0.deleteBuffer(arg1); }; imports.wbg.__wbg_deleteFramebuffer_d632dfba2c1f5c75 = function(arg0, arg1) { - getObject(arg0).deleteFramebuffer(getObject(arg1)); + arg0.deleteFramebuffer(arg1); }; imports.wbg.__wbg_deleteProgram_5f938b0667141206 = function(arg0, arg1) { - getObject(arg0).deleteProgram(getObject(arg1)); + arg0.deleteProgram(arg1); }; imports.wbg.__wbg_deleteRenderbuffer_ccae7372581ae424 = function(arg0, arg1) { - getObject(arg0).deleteRenderbuffer(getObject(arg1)); + arg0.deleteRenderbuffer(arg1); }; imports.wbg.__wbg_deleteShader_b9bb71cfb1a65a0d = function(arg0, arg1) { - getObject(arg0).deleteShader(getObject(arg1)); + arg0.deleteShader(arg1); }; imports.wbg.__wbg_deleteTexture_558c751a66bd2f16 = function(arg0, arg1) { - getObject(arg0).deleteTexture(getObject(arg1)); + arg0.deleteTexture(arg1); }; imports.wbg.__wbg_depthFunc_5398fbc3f56db827 = function(arg0, arg1) { - getObject(arg0).depthFunc(arg1 >>> 0); + arg0.depthFunc(arg1 >>> 0); }; imports.wbg.__wbg_depthMask_9b58af067c6393e9 = function(arg0, arg1) { - getObject(arg0).depthMask(arg1 !== 0); + arg0.depthMask(arg1 !== 0); }; imports.wbg.__wbg_depthRange_29f0e12388f0eacb = function(arg0, arg1, arg2) { - getObject(arg0).depthRange(arg1, arg2); + arg0.depthRange(arg1, arg2); }; imports.wbg.__wbg_disable_d73e59fee5b5e973 = function(arg0, arg1) { - getObject(arg0).disable(arg1 >>> 0); + arg0.disable(arg1 >>> 0); }; imports.wbg.__wbg_disableVertexAttribArray_b9d8ae826c70526f = function(arg0, arg1) { - getObject(arg0).disableVertexAttribArray(arg1 >>> 0); + arg0.disableVertexAttribArray(arg1 >>> 0); }; imports.wbg.__wbg_drawArrays_532f4e0a4547dd1f = function(arg0, arg1, arg2, arg3) { - getObject(arg0).drawArrays(arg1 >>> 0, arg2, arg3); + arg0.drawArrays(arg1 >>> 0, arg2, arg3); }; imports.wbg.__wbg_enable_68b3fa03a633259a = function(arg0, arg1) { - getObject(arg0).enable(arg1 >>> 0); + arg0.enable(arg1 >>> 0); }; imports.wbg.__wbg_enableVertexAttribArray_52c23a516be565c0 = function(arg0, arg1) { - getObject(arg0).enableVertexAttribArray(arg1 >>> 0); + arg0.enableVertexAttribArray(arg1 >>> 0); }; imports.wbg.__wbg_framebufferRenderbuffer_fee6ceb2330389b7 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4)); + arg0.framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4); }; imports.wbg.__wbg_framebufferTexture2D_ae81a33228e46de6 = function(arg0, arg1, arg2, arg3, arg4, arg5) { - getObject(arg0).framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5); + arg0.framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5); }; imports.wbg.__wbg_frontFace_358bf8c6c5159d54 = function(arg0, arg1) { - getObject(arg0).frontFace(arg1 >>> 0); + arg0.frontFace(arg1 >>> 0); }; imports.wbg.__wbg_getParameter_8df84a84197f2148 = function() { return handleError(function (arg0, arg1) { - const ret = getObject(arg0).getParameter(arg1 >>> 0); - return addHeapObject(ret); + const ret = arg0.getParameter(arg1 >>> 0); + return ret; }, arguments) }; imports.wbg.__wbg_getProgramInfoLog_22296c36addf7a70 = function(arg0, arg1, arg2) { - const ret = getObject(arg1).getProgramInfoLog(getObject(arg2)); + const ret = arg1.getProgramInfoLog(arg2); var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len1 = WASM_VECTOR_LEN; getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; imports.wbg.__wbg_getProgramParameter_ab2954ca517d8589 = function(arg0, arg1, arg2) { - const ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0); - return addHeapObject(ret); + const ret = arg0.getProgramParameter(arg1, arg2 >>> 0); + return ret; }; imports.wbg.__wbg_getShaderInfoLog_935361c52a919c15 = function(arg0, arg1, arg2) { - const ret = getObject(arg1).getShaderInfoLog(getObject(arg2)); + const ret = arg1.getShaderInfoLog(arg2); var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len1 = WASM_VECTOR_LEN; getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; imports.wbg.__wbg_getShaderParameter_cedb1ec0d8052eff = function(arg0, arg1, arg2) { - const ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0); - return addHeapObject(ret); + const ret = arg0.getShaderParameter(arg1, arg2 >>> 0); + return ret; }; imports.wbg.__wbg_getUniformLocation_9cd213015cf8f29f = function(arg0, arg1, arg2, arg3) { - const ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3)); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3)); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_linkProgram_1f18bca817bb6edb = function(arg0, arg1) { - getObject(arg0).linkProgram(getObject(arg1)); + arg0.linkProgram(arg1); }; imports.wbg.__wbg_pixelStorei_2498331e094ff305 = function(arg0, arg1, arg2) { - getObject(arg0).pixelStorei(arg1 >>> 0, arg2); + arg0.pixelStorei(arg1 >>> 0, arg2); }; imports.wbg.__wbg_polygonOffset_6d8d69a8d60e5b82 = function(arg0, arg1, arg2) { - getObject(arg0).polygonOffset(arg1, arg2); + arg0.polygonOffset(arg1, arg2); }; imports.wbg.__wbg_renderbufferStorage_8c3882aa73deada9 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4); + arg0.renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4); }; imports.wbg.__wbg_scissor_d06b14c4966727fa = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).scissor(arg1, arg2, arg3, arg4); + arg0.scissor(arg1, arg2, arg3, arg4); }; imports.wbg.__wbg_shaderSource_d447b31057e4f64c = function(arg0, arg1, arg2, arg3) { - getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3)); + arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3)); }; imports.wbg.__wbg_stencilFuncSeparate_55376d035e74caf1 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0); + arg0.stencilFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3, arg4 >>> 0); }; imports.wbg.__wbg_stencilMask_f55f160fc49b981a = function(arg0, arg1) { - getObject(arg0).stencilMask(arg1 >>> 0); + arg0.stencilMask(arg1 >>> 0); }; imports.wbg.__wbg_stencilMaskSeparate_578fd1281f54081e = function(arg0, arg1, arg2) { - getObject(arg0).stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0); + arg0.stencilMaskSeparate(arg1 >>> 0, arg2 >>> 0); }; imports.wbg.__wbg_stencilOpSeparate_ea6f96abd32aae5b = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); + arg0.stencilOpSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); }; imports.wbg.__wbg_texParameteri_83ad7181b62f4997 = function(arg0, arg1, arg2, arg3) { - getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3); + arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3); }; imports.wbg.__wbg_uniform1f_509b4ba100d75456 = function(arg0, arg1, arg2) { - getObject(arg0).uniform1f(getObject(arg1), arg2); + arg0.uniform1f(arg1, arg2); }; imports.wbg.__wbg_uniform1i_7f6e60c975d21e0a = function(arg0, arg1, arg2) { - getObject(arg0).uniform1i(getObject(arg1), arg2); + arg0.uniform1i(arg1, arg2); }; imports.wbg.__wbg_uniform4f_f9a7809965964840 = function(arg0, arg1, arg2, arg3, arg4, arg5) { - getObject(arg0).uniform4f(getObject(arg1), arg2, arg3, arg4, arg5); + arg0.uniform4f(arg1, arg2, arg3, arg4, arg5); }; imports.wbg.__wbg_useProgram_d4616618ac6d0652 = function(arg0, arg1) { - getObject(arg0).useProgram(getObject(arg1)); + arg0.useProgram(arg1); }; imports.wbg.__wbg_vertexAttribPointer_fcbfe42523d724ca = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { - getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6); + arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6); }; imports.wbg.__wbg_viewport_efc09c09d4f3cc48 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).viewport(arg1, arg2, arg3, arg4); - }; - imports.wbg.__wbg_bindVertexArrayOES_37868a5a4265ea0a = function(arg0, arg1) { - getObject(arg0).bindVertexArrayOES(getObject(arg1)); - }; - imports.wbg.__wbg_createVertexArrayOES_84334a02da216381 = function(arg0) { - const ret = getObject(arg0).createVertexArrayOES(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); - }; - imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { - getObject(arg0).deleteVertexArrayOES(getObject(arg1)); + arg0.viewport(arg1, arg2, arg3, arg4); }; - imports.wbg.__wbg_error_9ce09486992d3ac5 = function(arg0, arg1) { - console.error(getObject(arg0), getObject(arg1)); + imports.wbg.__wbg_setbox_0d838a2d268b7fac = function(arg0, arg1) { + arg0.box = __wbindgen_enum_ResizeObserverBoxOptions[arg1]; }; - imports.wbg.__wbg_setchannelCount_c36284d79a0fc029 = function(arg0, arg1) { - getObject(arg0).channelCount = arg1 >>> 0; + imports.wbg.__wbg_maxChannelCount_b050454da1a76da4 = function(arg0) { + const ret = arg0.maxChannelCount; + return ret; }; - imports.wbg.__wbg_connect_9ef7bb6259c61b23 = function() { return handleError(function (arg0, arg1) { - const ret = getObject(arg0).connect(getObject(arg1)); - return addHeapObject(ret); - }, arguments) }; - imports.wbg.__wbg_instanceof_Response_e91b7eb7c611a9ae = function(arg0) { + imports.wbg.__wbg_instanceof_HtmlCanvasElement_1a96a01603ec2d8b = function(arg0) { let result; try { - result = getObject(arg0) instanceof Response; + result = arg0 instanceof HTMLCanvasElement; } catch (_) { result = false; } const ret = result; return ret; }; - imports.wbg.__wbg_status_ae8de515694c5c7c = function(arg0) { - const ret = getObject(arg0).status; + imports.wbg.__wbg_width_53a5bd0268e99485 = function(arg0) { + const ret = arg0.width; return ret; }; - imports.wbg.__wbg_arrayBuffer_a5fbad63cc7e663b = function() { return handleError(function (arg0) { - const ret = getObject(arg0).arrayBuffer(); - return addHeapObject(ret); - }, arguments) }; - imports.wbg.__wbg_drawBuffersWEBGL_ff53a7c3360f5716 = function(arg0, arg1) { - getObject(arg0).drawBuffersWEBGL(getObject(arg1)); + imports.wbg.__wbg_setwidth_e371a8d6b16ebe84 = function(arg0, arg1) { + arg0.width = arg1 >>> 0; }; - imports.wbg.__wbg_copyToChannel_2d22081c7e405de5 = function() { return handleError(function (arg0, arg1, arg2, arg3) { - getObject(arg0).copyToChannel(getArrayF32FromWasm0(arg1, arg2), arg3); - }, arguments) }; - imports.wbg.__wbg_setbuffer_1daf66dd2a0b05a1 = function(arg0, arg1) { - getObject(arg0).buffer = getObject(arg1); + imports.wbg.__wbg_height_6fb32e51e54037ae = function(arg0) { + const ret = arg0.height; + return ret; }; - imports.wbg.__wbg_setonended_d20a372d53693ee3 = function(arg0, arg1) { - getObject(arg0).onended = getObject(arg1); + imports.wbg.__wbg_setheight_ba99ad2df4295e89 = function(arg0, arg1) { + arg0.height = arg1 >>> 0; }; - imports.wbg.__wbg_start_63844dcf17db09ab = function() { return handleError(function (arg0, arg1) { - getObject(arg0).start(arg1); + imports.wbg.__wbg_getContext_70d493702d2b8f3e = function() { return handleError(function (arg0, arg1, arg2, arg3) { + const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }, arguments) }; - imports.wbg.__wbg_media_80f4e313bb8005f1 = function(arg0, arg1) { - const ret = getObject(arg1).media; + imports.wbg.__wbg_altKey_5a6eb49ec8194792 = function(arg0) { + const ret = arg0.altKey; + return ret; + }; + imports.wbg.__wbg_ctrlKey_319ff2374dc7f372 = function(arg0) { + const ret = arg0.ctrlKey; + return ret; + }; + imports.wbg.__wbg_shiftKey_f38dee34420e0d62 = function(arg0) { + const ret = arg0.shiftKey; + return ret; + }; + imports.wbg.__wbg_metaKey_00fdcfadf1968d45 = function(arg0) { + const ret = arg0.metaKey; + return ret; + }; + imports.wbg.__wbg_location_d7fe3090ad7e80d7 = function(arg0) { + const ret = arg0.location; + return ret; + }; + imports.wbg.__wbg_repeat_8451a79b3608855b = function(arg0) { + const ret = arg0.repeat; + return ret; + }; + imports.wbg.__wbg_key_a626396efbca2b95 = function(arg0, arg1) { + const ret = arg1.key; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) { - const ret = getObject(arg0).matches; + imports.wbg.__wbg_code_01dc6af887ca9ecb = function(arg0, arg1) { + const ret = arg1.code; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg_width_a7c8cb533b26f0bf = function(arg0) { + const ret = arg0.width; return ret; }; - imports.wbg.__wbg_addListener_7d72b16c4161a20a = function() { return handleError(function (arg0, arg1) { - getObject(arg0).addListener(getObject(arg1)); - }, arguments) }; - imports.wbg.__wbg_removeListener_0ff79f74b9d808ac = function() { return handleError(function (arg0, arg1) { - getObject(arg0).removeListener(getObject(arg1)); + imports.wbg.__wbg_setwidth_c20f1f8fcd5d93b4 = function(arg0, arg1) { + arg0.width = arg1 >>> 0; + }; + imports.wbg.__wbg_height_affa017f56a8fb96 = function(arg0) { + const ret = arg0.height; + return ret; + }; + imports.wbg.__wbg_setheight_a5e39c9d97429299 = function(arg0, arg1) { + arg0.height = arg1 >>> 0; + }; + imports.wbg.__wbg_getContext_76f1b45238db4411 = function() { return handleError(function (arg0, arg1, arg2, arg3) { + const ret = arg0.getContext(getStringFromWasm0(arg1, arg2), arg3); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }, arguments) }; - imports.wbg.__wbg_setonmessage_3b07505d5f934b5c = function(arg0, arg1) { - getObject(arg0).onmessage = getObject(arg1); + imports.wbg.__wbg_setbuffer_1daf66dd2a0b05a1 = function(arg0, arg1) { + arg0.buffer = arg1; }; - imports.wbg.__wbg_close_87d69f9e9fe928c3 = function(arg0) { - getObject(arg0).close(); + imports.wbg.__wbg_setonended_d20a372d53693ee3 = function(arg0, arg1) { + arg0.onended = arg1; }; - imports.wbg.__wbg_postMessage_6eeb375bc13e8ec8 = function() { return handleError(function (arg0, arg1) { - getObject(arg0).postMessage(getObject(arg1)); + imports.wbg.__wbg_start_63844dcf17db09ab = function() { return handleError(function (arg0, arg1) { + arg0.start(arg1); }, arguments) }; - imports.wbg.__wbg_start_f642a950f6c98a0e = function(arg0) { - getObject(arg0).start(); + imports.wbg.__wbg_newwithstrsequenceandoptions_f700d764298e22da = function() { return handleError(function (arg0, arg1) { + const ret = new Blob(arg0, arg1); + return ret; + }, arguments) }; + imports.wbg.__wbg_videoWidth_5f4190ae93af0dd6 = function(arg0) { + const ret = arg0.videoWidth; + return ret; }; - imports.wbg.__wbg_userAgent_58dedff4303aeb66 = function() { return handleError(function (arg0, arg1) { - const ret = getObject(arg1).userAgent; + imports.wbg.__wbg_videoHeight_4fb4bdd27e02263a = function(arg0) { + const ret = arg0.videoHeight; + return ret; + }; + imports.wbg.__wbg_media_80f4e313bb8005f1 = function(arg0, arg1) { + const ret = arg1.media; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); - }, arguments) }; - imports.wbg.__wbg_getGamepads_280528ca4aa5aa9b = function() { return handleError(function (arg0) { - const ret = getObject(arg0).getGamepads(); - return addHeapObject(ret); - }, arguments) }; - imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) { - const ret = getObject(arg0).persisted; - return ret; }; - imports.wbg.__wbg_getSupportedProfiles_13c2c2008a14070f = function(arg0) { - const ret = getObject(arg0).getSupportedProfiles(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); - }; - imports.wbg.__wbg_signal_41e46ccad44bb5e2 = function(arg0) { - const ret = getObject(arg0).signal; - return addHeapObject(ret); + imports.wbg.__wbg_matches_42eb40a28a316d0e = function(arg0) { + const ret = arg0.matches; + return ret; }; - imports.wbg.__wbg_new_ebf2727385ee825c = function() { return handleError(function () { - const ret = new AbortController(); - return addHeapObject(ret); + imports.wbg.__wbg_addListener_7d72b16c4161a20a = function() { return handleError(function (arg0, arg1) { + arg0.addListener(arg1); }, arguments) }; - imports.wbg.__wbg_abort_8659d889a7877ae3 = function(arg0) { - getObject(arg0).abort(); - }; - imports.wbg.__wbg_drawArraysInstancedANGLE_7c668fc363789760 = function(arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).drawArraysInstancedANGLE(arg1 >>> 0, arg2, arg3, arg4); - }; - imports.wbg.__wbg_drawElementsInstancedANGLE_7d0baa058556f76c = function(arg0, arg1, arg2, arg3, arg4, arg5) { - getObject(arg0).drawElementsInstancedANGLE(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5); + imports.wbg.__wbg_removeListener_0ff79f74b9d808ac = function() { return handleError(function (arg0, arg1) { + arg0.removeListener(arg1); + }, arguments) }; + imports.wbg.__wbg_inlineSize_322ab111c2b5c9e3 = function(arg0) { + const ret = arg0.inlineSize; + return ret; }; - imports.wbg.__wbg_vertexAttribDivisorANGLE_ff0ade84fc10084b = function(arg0, arg1, arg2) { - getObject(arg0).vertexAttribDivisorANGLE(arg1 >>> 0, arg2 >>> 0); + imports.wbg.__wbg_blockSize_981c4dfa6e1263a8 = function(arg0) { + const ret = arg0.blockSize; + return ret; }; - imports.wbg.__wbg_x_a79a5b516ee71e4c = function(arg0) { - const ret = getObject(arg0).x; + imports.wbg.__wbg_deltaX_7f4a9de8338c7ca6 = function(arg0) { + const ret = arg0.deltaX; return ret; }; - imports.wbg.__wbg_y_bd4e2c0613413655 = function(arg0) { - const ret = getObject(arg0).y; + imports.wbg.__wbg_deltaY_606f12aa66daba69 = function(arg0) { + const ret = arg0.deltaY; return ret; }; - imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { - const ret = getObject(arg0).isIntersecting; + imports.wbg.__wbg_deltaMode_d6b849e45efd0f5e = function(arg0) { + const ret = arg0.deltaMode; return ret; }; - imports.wbg.__wbg_createObjectURL_ca544150f40fb1bf = function() { return handleError(function (arg0, arg1) { - const ret = URL.createObjectURL(getObject(arg1)); - const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); - getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { + const ret = new Worker(getStringFromWasm0(arg0, arg1)); + return ret; }, arguments) }; - imports.wbg.__wbg_revokeObjectURL_b9b370890a354a9f = function() { return handleError(function (arg0, arg1) { - URL.revokeObjectURL(getStringFromWasm0(arg0, arg1)); + imports.wbg.__wbg_postMessage_b651e498e4c6dbf5 = function() { return handleError(function (arg0, arg1, arg2) { + arg0.postMessage(arg1, arg2); }, arguments) }; imports.wbg.__wbg_destination_02fda856cc855541 = function(arg0) { - const ret = getObject(arg0).destination; - return addHeapObject(ret); + const ret = arg0.destination; + return ret; }; imports.wbg.__wbg_currentTime_98c819a9b4fbc2dc = function(arg0) { - const ret = getObject(arg0).currentTime; + const ret = arg0.currentTime; return ret; }; imports.wbg.__wbg_newwithcontextoptions_108c091c074dd52d = function() { return handleError(function (arg0) { - const ret = new lAudioContext(getObject(arg0)); - return addHeapObject(ret); + const ret = new lAudioContext(arg0); + return ret; }, arguments) }; imports.wbg.__wbg_close_b537dff1eedffabf = function() { return handleError(function (arg0) { - const ret = getObject(arg0).close(); - return addHeapObject(ret); + const ret = arg0.close(); + return ret; }, arguments) }; imports.wbg.__wbg_createBuffer_00504cdbe0ad0736 = function() { return handleError(function (arg0, arg1, arg2, arg3) { - const ret = getObject(arg0).createBuffer(arg1 >>> 0, arg2 >>> 0, arg3); - return addHeapObject(ret); + const ret = arg0.createBuffer(arg1 >>> 0, arg2 >>> 0, arg3); + return ret; }, arguments) }; imports.wbg.__wbg_createBufferSource_52fc5a451c2c7012 = function() { return handleError(function (arg0) { - const ret = getObject(arg0).createBufferSource(); - return addHeapObject(ret); + const ret = arg0.createBufferSource(); + return ret; }, arguments) }; imports.wbg.__wbg_resume_4310b96dd2907dd3 = function() { return handleError(function (arg0) { - const ret = getObject(arg0).resume(); - return addHeapObject(ret); - }, arguments) }; - imports.wbg.__wbg_maxChannelCount_b050454da1a76da4 = function(arg0) { - const ret = getObject(arg0).maxChannelCount; + const ret = arg0.resume(); return ret; - }; - imports.wbg.__wbg_newwithstrsequenceandoptions_f700d764298e22da = function() { return handleError(function (arg0, arg1) { - const ret = new Blob(getObject(arg0), getObject(arg1)); - return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_id_0b5f526d96ca0241 = function(arg0, arg1) { - const ret = getObject(arg1).id; - const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); - getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); - }; - imports.wbg.__wbg_index_72e7eaa6b16bc661 = function(arg0) { - const ret = getObject(arg0).index; - return ret; - }; - imports.wbg.__wbg_mapping_60849ba1aadc4b79 = function(arg0) { - const ret = getObject(arg0).mapping; - return {"":0,"standard":1,}[ret] ?? 2; - }; - imports.wbg.__wbg_connected_fd2ea2e0300f40cb = function(arg0) { - const ret = getObject(arg0).connected; - return ret; - }; - imports.wbg.__wbg_buttons_2e819714e685a1fa = function(arg0) { - const ret = getObject(arg0).buttons; - return addHeapObject(ret); - }; - imports.wbg.__wbg_axes_3c375d4b1704688f = function(arg0) { - const ret = getObject(arg0).axes; - return addHeapObject(ret); - }; imports.wbg.__wbg_new_42acb42ec2ace97c = function() { return handleError(function (arg0) { - const ret = new ResizeObserver(getObject(arg0)); - return addHeapObject(ret); + const ret = new ResizeObserver(arg0); + return ret; }, arguments) }; imports.wbg.__wbg_disconnect_1dbf7e19d9590abd = function(arg0) { - getObject(arg0).disconnect(); + arg0.disconnect(); }; imports.wbg.__wbg_observe_101f5cf5a11e9a79 = function(arg0, arg1) { - getObject(arg0).observe(getObject(arg1)); + arg0.observe(arg1); }; imports.wbg.__wbg_observe_60f3631b2f7c6d8b = function(arg0, arg1, arg2) { - getObject(arg0).observe(getObject(arg1), getObject(arg2)); + arg0.observe(arg1, arg2); }; imports.wbg.__wbg_unobserve_e67452df241a602d = function(arg0, arg1) { - getObject(arg0).unobserve(getObject(arg1)); - }; - imports.wbg.__wbg_new_25d9d4e2932d816f = function() { return handleError(function (arg0, arg1) { - const ret = new Worker(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); - }, arguments) }; - imports.wbg.__wbg_postMessage_b651e498e4c6dbf5 = function() { return handleError(function (arg0, arg1, arg2) { - getObject(arg0).postMessage(getObject(arg1), getObject(arg2)); - }, arguments) }; - imports.wbg.__wbg_setsamplerate_1ec57bc9790c2505 = function(arg0, arg1) { - getObject(arg0).sampleRate = arg1; + arg0.unobserve(arg1); }; - imports.wbg.__wbg_addEventListener_e167f012cbedfa4e = function() { return handleError(function (arg0, arg1, arg2, arg3) { - getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3)); - }, arguments) }; - imports.wbg.__wbg_removeEventListener_b6cef5ad085bea8f = function() { return handleError(function (arg0, arg1, arg2, arg3) { - getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3)); - }, arguments) }; - imports.wbg.__wbg_width_151910f38d746773 = function(arg0) { - const ret = getObject(arg0).width; + imports.wbg.__wbg_width_e7964a50b174d035 = function(arg0) { + const ret = arg0.width; return ret; }; - imports.wbg.__wbg_height_c1b4ecc1cfed30aa = function(arg0) { - const ret = getObject(arg0).height; + imports.wbg.__wbg_height_cd5c897b4d3fabe3 = function(arg0) { + const ret = arg0.height; return ret; }; - imports.wbg.__wbg_altKey_5a6eb49ec8194792 = function(arg0) { - const ret = getObject(arg0).altKey; + imports.wbg.__wbg_width_151910f38d746773 = function(arg0) { + const ret = arg0.width; return ret; }; - imports.wbg.__wbg_ctrlKey_319ff2374dc7f372 = function(arg0) { - const ret = getObject(arg0).ctrlKey; + imports.wbg.__wbg_height_c1b4ecc1cfed30aa = function(arg0) { + const ret = arg0.height; return ret; }; - imports.wbg.__wbg_shiftKey_f38dee34420e0d62 = function(arg0) { - const ret = getObject(arg0).shiftKey; + imports.wbg.__wbg_port1_9e11ba1fe63adb21 = function(arg0) { + const ret = arg0.port1; return ret; }; - imports.wbg.__wbg_metaKey_00fdcfadf1968d45 = function(arg0) { - const ret = getObject(arg0).metaKey; + imports.wbg.__wbg_port2_7d887905fa4a6677 = function(arg0) { + const ret = arg0.port2; return ret; }; - imports.wbg.__wbg_location_d7fe3090ad7e80d7 = function(arg0) { - const ret = getObject(arg0).location; + imports.wbg.__wbg_new_40ff2b042829bc58 = function() { return handleError(function () { + const ret = new MessageChannel(); return ret; + }, arguments) }; + imports.wbg.__wbg_bindVertexArrayOES_37868a5a4265ea0a = function(arg0, arg1) { + arg0.bindVertexArrayOES(arg1); }; - imports.wbg.__wbg_repeat_8451a79b3608855b = function(arg0) { - const ret = getObject(arg0).repeat; - return ret; + imports.wbg.__wbg_createVertexArrayOES_84334a02da216381 = function(arg0) { + const ret = arg0.createVertexArrayOES(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_key_a626396efbca2b95 = function(arg0, arg1) { - const ret = getObject(arg1).key; - const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); - getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + imports.wbg.__wbg_deleteVertexArrayOES_e22f7a6baedc5300 = function(arg0, arg1) { + arg0.deleteVertexArrayOES(arg1); }; - imports.wbg.__wbg_code_01dc6af887ca9ecb = function(arg0, arg1) { - const ret = getObject(arg1).code; + imports.wbg.__wbg_createObjectURL_ca544150f40fb1bf = function() { return handleError(function (arg0, arg1) { + const ret = URL.createObjectURL(arg1); const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments) }; + imports.wbg.__wbg_revokeObjectURL_b9b370890a354a9f = function() { return handleError(function (arg0, arg1) { + URL.revokeObjectURL(getStringFromWasm0(arg0, arg1)); + }, arguments) }; + imports.wbg.__wbg_drawBuffersWEBGL_ff53a7c3360f5716 = function(arg0, arg1) { + arg0.drawBuffersWEBGL(arg1); + }; + imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { + arg0.type = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_signal_41e46ccad44bb5e2 = function(arg0) { + const ret = arg0.signal; + return ret; + }; + imports.wbg.__wbg_new_ebf2727385ee825c = function() { return handleError(function () { + const ret = new AbortController(); + return ret; + }, arguments) }; + imports.wbg.__wbg_abort_8659d889a7877ae3 = function(arg0) { + arg0.abort(); }; imports.wbg.__wbg_instanceof_DomException_1bbe86882eadb549 = function(arg0) { let result; try { - result = getObject(arg0) instanceof DOMException; + result = arg0 instanceof DOMException; } catch (_) { result = false; } @@ -1651,226 +1613,243 @@ function __wbg_get_imports() { return ret; }; imports.wbg.__wbg_message_b477ea215924b777 = function(arg0, arg1) { - const ret = getObject(arg1).message; + const ret = arg1.message; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_pressed_958135bcec29730b = function(arg0) { - const ret = getObject(arg0).pressed; - return ret; - }; - imports.wbg.__wbg_value_3ded5544ccbde300 = function(arg0) { - const ret = getObject(arg0).value; - return ret; + imports.wbg.__wbg_preventDefault_c55d86c27b2dfa6e = function(arg0) { + arg0.preventDefault(); }; - imports.wbg.__wbg_new_d0c6c2df51a6d903 = function() { return handleError(function (arg0) { - const ret = new IntersectionObserver(getObject(arg0)); - return addHeapObject(ret); + imports.wbg.__wbg_addEventListener_e167f012cbedfa4e = function() { return handleError(function (arg0, arg1, arg2, arg3) { + arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3); }, arguments) }; - imports.wbg.__wbg_disconnect_24e89f8d65ad2fd5 = function(arg0) { - getObject(arg0).disconnect(); - }; - imports.wbg.__wbg_observe_c901133fbef21560 = function(arg0, arg1) { - getObject(arg0).observe(getObject(arg1)); - }; - imports.wbg.__wbg_appendChild_ac45d1abddf1b89b = function() { return handleError(function (arg0, arg1) { - const ret = getObject(arg0).appendChild(getObject(arg1)); - return addHeapObject(ret); + imports.wbg.__wbg_removeEventListener_b6cef5ad085bea8f = function() { return handleError(function (arg0, arg1, arg2, arg3) { + arg0.removeEventListener(getStringFromWasm0(arg1, arg2), arg3); }, arguments) }; - imports.wbg.__wbg_contains_4f87c5405416b4fd = function(arg0, arg1) { - const ret = getObject(arg0).contains(getObject(arg1)); + imports.wbg.__wbg_ctrlKey_957c6c31b62b4550 = function(arg0) { + const ret = arg0.ctrlKey; return ret; }; - imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { - const ret = getObject(arg0).pointerId; + imports.wbg.__wbg_shiftKey_8c0f9a5ca3ff8f93 = function(arg0) { + const ret = arg0.shiftKey; return ret; }; - imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) { - const ret = getObject(arg0).pressure; + imports.wbg.__wbg_altKey_d3fbce7596aac8cf = function(arg0) { + const ret = arg0.altKey; return ret; }; - imports.wbg.__wbg_pointerType_d375491a3013a9bc = function(arg0, arg1) { - const ret = getObject(arg1).pointerType; - const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); - getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + imports.wbg.__wbg_metaKey_be0158b14b1cef4a = function(arg0) { + const ret = arg0.metaKey; + return ret; }; - imports.wbg.__wbg_getCoalescedEvents_bf1c46ef1a01dcce = function(arg0) { - const ret = getObject(arg0).getCoalescedEvents(); - return addHeapObject(ret); + imports.wbg.__wbg_button_460cdec9f2512a91 = function(arg0) { + const ret = arg0.button; + return ret; }; - imports.wbg.__wbg_inlineSize_322ab111c2b5c9e3 = function(arg0) { - const ret = getObject(arg0).inlineSize; + imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { + const ret = arg0.buttons; return ret; }; - imports.wbg.__wbg_blockSize_981c4dfa6e1263a8 = function(arg0) { - const ret = getObject(arg0).blockSize; + imports.wbg.__wbg_movementX_ecd0c638be0899eb = function(arg0) { + const ret = arg0.movementX; return ret; }; - imports.wbg.__wbg_deltaX_7f4a9de8338c7ca6 = function(arg0) { - const ret = getObject(arg0).deltaX; + imports.wbg.__wbg_movementY_3064817f736e8151 = function(arg0) { + const ret = arg0.movementY; return ret; }; - imports.wbg.__wbg_deltaY_606f12aa66daba69 = function(arg0) { - const ret = getObject(arg0).deltaY; + imports.wbg.__wbg_setchannelCount_c36284d79a0fc029 = function(arg0, arg1) { + arg0.channelCount = arg1 >>> 0; + }; + imports.wbg.__wbg_connect_9ef7bb6259c61b23 = function() { return handleError(function (arg0, arg1) { + const ret = arg0.connect(arg1); + return ret; + }, arguments) }; + imports.wbg.__wbg_pressed_958135bcec29730b = function(arg0) { + const ret = arg0.pressed; return ret; }; - imports.wbg.__wbg_deltaMode_d6b849e45efd0f5e = function(arg0) { - const ret = getObject(arg0).deltaMode; + imports.wbg.__wbg_value_3ded5544ccbde300 = function(arg0) { + const ret = arg0.value; return ret; }; - imports.wbg.__wbg_settype_b6ab7b74bd1908a1 = function(arg0, arg1, arg2) { - getObject(arg0).type = getStringFromWasm0(arg1, arg2); + imports.wbg.__wbg_setonmessage_3b07505d5f934b5c = function(arg0, arg1) { + arg0.onmessage = arg1; }; - imports.wbg.__wbg_instanceof_HtmlCanvasElement_1a96a01603ec2d8b = function(arg0) { + imports.wbg.__wbg_close_87d69f9e9fe928c3 = function(arg0) { + arg0.close(); + }; + imports.wbg.__wbg_postMessage_6eeb375bc13e8ec8 = function() { return handleError(function (arg0, arg1) { + arg0.postMessage(arg1); + }, arguments) }; + imports.wbg.__wbg_start_f642a950f6c98a0e = function(arg0) { + arg0.start(); + }; + imports.wbg.__wbg_userAgent_58dedff4303aeb66 = function() { return handleError(function (arg0, arg1) { + const ret = arg1.userAgent; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments) }; + imports.wbg.__wbg_getGamepads_280528ca4aa5aa9b = function() { return handleError(function (arg0) { + const ret = arg0.getGamepads(); + return ret; + }, arguments) }; + imports.wbg.__wbg_instanceof_Response_e91b7eb7c611a9ae = function(arg0) { let result; try { - result = getObject(arg0) instanceof HTMLCanvasElement; + result = arg0 instanceof Response; } catch (_) { result = false; } const ret = result; return ret; }; - imports.wbg.__wbg_width_53a5bd0268e99485 = function(arg0) { - const ret = getObject(arg0).width; + imports.wbg.__wbg_status_ae8de515694c5c7c = function(arg0) { + const ret = arg0.status; return ret; }; - imports.wbg.__wbg_setwidth_e371a8d6b16ebe84 = function(arg0, arg1) { - getObject(arg0).width = arg1 >>> 0; - }; - imports.wbg.__wbg_height_6fb32e51e54037ae = function(arg0) { - const ret = getObject(arg0).height; + imports.wbg.__wbg_arrayBuffer_a5fbad63cc7e663b = function() { return handleError(function (arg0) { + const ret = arg0.arrayBuffer(); return ret; - }; - imports.wbg.__wbg_setheight_ba99ad2df4295e89 = function(arg0, arg1) { - getObject(arg0).height = arg1 >>> 0; - }; - imports.wbg.__wbg_getContext_70d493702d2b8f3e = 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_videoWidth_5f4190ae93af0dd6 = function(arg0) { - const ret = getObject(arg0).videoWidth; + imports.wbg.__wbg_x_a79a5b516ee71e4c = function(arg0) { + const ret = arg0.x; return ret; }; - imports.wbg.__wbg_videoHeight_4fb4bdd27e02263a = function(arg0) { - const ret = getObject(arg0).videoHeight; + imports.wbg.__wbg_y_bd4e2c0613413655 = function(arg0) { + const ret = arg0.y; return ret; }; - imports.wbg.__wbg_port1_9e11ba1fe63adb21 = function(arg0) { - const ret = getObject(arg0).port1; - return addHeapObject(ret); + imports.wbg.__wbg_persisted_6483200f25cdfed4 = function(arg0) { + const ret = arg0.persisted; + return ret; }; - imports.wbg.__wbg_port2_7d887905fa4a6677 = function(arg0) { - const ret = getObject(arg0).port2; - return addHeapObject(ret); + imports.wbg.__wbg_getSupportedProfiles_13c2c2008a14070f = function(arg0) { + const ret = arg0.getSupportedProfiles(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_new_40ff2b042829bc58 = function() { return handleError(function () { - const ret = new MessageChannel(); - return addHeapObject(ret); - }, arguments) }; - imports.wbg.__wbg_width_a7c8cb533b26f0bf = function(arg0) { - const ret = getObject(arg0).width; - return ret; + imports.wbg.__wbg_error_9ce09486992d3ac5 = typeof console.error == 'function' ? console.error : notDefined('console.error'); + imports.wbg.__wbg_drawArraysInstancedANGLE_7c668fc363789760 = function(arg0, arg1, arg2, arg3, arg4) { + arg0.drawArraysInstancedANGLE(arg1 >>> 0, arg2, arg3, arg4); }; - imports.wbg.__wbg_setwidth_c20f1f8fcd5d93b4 = function(arg0, arg1) { - getObject(arg0).width = arg1 >>> 0; + imports.wbg.__wbg_drawElementsInstancedANGLE_7d0baa058556f76c = function(arg0, arg1, arg2, arg3, arg4, arg5) { + arg0.drawElementsInstancedANGLE(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5); }; - imports.wbg.__wbg_height_affa017f56a8fb96 = function(arg0) { - const ret = getObject(arg0).height; + imports.wbg.__wbg_vertexAttribDivisorANGLE_ff0ade84fc10084b = function(arg0, arg1, arg2) { + arg0.vertexAttribDivisorANGLE(arg1 >>> 0, arg2 >>> 0); + }; + imports.wbg.__wbg_copyToChannel_2d22081c7e405de5 = function() { return handleError(function (arg0, arg1, arg2, arg3) { + arg0.copyToChannel(getArrayF32FromWasm0(arg1, arg2), arg3); + }, arguments) }; + imports.wbg.__wbg_framebufferTextureMultiviewOVR_32295d56731dd362 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { + arg0.framebufferTextureMultiviewOVR(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5, arg6); + }; + imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { + const ret = arg0.contentRect; return ret; }; - imports.wbg.__wbg_setheight_a5e39c9d97429299 = function(arg0, arg1) { - getObject(arg0).height = arg1 >>> 0; + imports.wbg.__wbg_devicePixelContentBoxSize_8d531ca6a4331b28 = function(arg0) { + const ret = arg0.devicePixelContentBoxSize; + return ret; }; - imports.wbg.__wbg_getContext_76f1b45238db4411 = 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_setbox_0d838a2d268b7fac = function(arg0, arg1) { - getObject(arg0).box = ["border-box","content-box","device-pixel-content-box",][arg1]; + imports.wbg.__wbg_setsamplerate_1ec57bc9790c2505 = function(arg0, arg1) { + arg0.sampleRate = arg1; }; imports.wbg.__wbg_getPropertyValue_b0f0858c3b5f17dd = function() { return handleError(function (arg0, arg1, arg2, arg3) { - const ret = getObject(arg1).getPropertyValue(getStringFromWasm0(arg2, arg3)); + const ret = arg1.getPropertyValue(getStringFromWasm0(arg2, arg3)); const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, arguments) }; imports.wbg.__wbg_removeProperty_cfd836a4f7e5e86e = function() { return handleError(function (arg0, arg1, arg2, arg3) { - const ret = getObject(arg1).removeProperty(getStringFromWasm0(arg2, arg3)); + const ret = arg1.removeProperty(getStringFromWasm0(arg2, arg3)); const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }, arguments) }; imports.wbg.__wbg_setProperty_ff389e5a7fb9910e = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); + arg0.setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); }, arguments) }; - imports.wbg.__wbg_width_e7964a50b174d035 = function(arg0) { - const ret = getObject(arg0).width; - return ret; + imports.wbg.__wbg_id_0b5f526d96ca0241 = function(arg0, arg1) { + const ret = arg1.id; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_height_cd5c897b4d3fabe3 = function(arg0) { - const ret = getObject(arg0).height; + imports.wbg.__wbg_index_72e7eaa6b16bc661 = function(arg0) { + const ret = arg0.index; return ret; }; - imports.wbg.__wbg_preventDefault_c55d86c27b2dfa6e = function(arg0) { - getObject(arg0).preventDefault(); + imports.wbg.__wbg_mapping_60849ba1aadc4b79 = function(arg0) { + const ret = arg0.mapping; + return (__wbindgen_enum_GamepadMappingType.indexOf(ret) + 1 || 3) - 1; }; - imports.wbg.__wbg_ctrlKey_957c6c31b62b4550 = function(arg0) { - const ret = getObject(arg0).ctrlKey; + imports.wbg.__wbg_connected_fd2ea2e0300f40cb = function(arg0) { + const ret = arg0.connected; return ret; }; - imports.wbg.__wbg_shiftKey_8c0f9a5ca3ff8f93 = function(arg0) { - const ret = getObject(arg0).shiftKey; + imports.wbg.__wbg_buttons_2e819714e685a1fa = function(arg0) { + const ret = arg0.buttons; return ret; }; - imports.wbg.__wbg_altKey_d3fbce7596aac8cf = function(arg0) { - const ret = getObject(arg0).altKey; + imports.wbg.__wbg_axes_3c375d4b1704688f = function(arg0) { + const ret = arg0.axes; return ret; }; - imports.wbg.__wbg_metaKey_be0158b14b1cef4a = function(arg0) { - const ret = getObject(arg0).metaKey; + imports.wbg.__wbg_new_d0c6c2df51a6d903 = function() { return handleError(function (arg0) { + const ret = new IntersectionObserver(arg0); return ret; + }, arguments) }; + imports.wbg.__wbg_disconnect_24e89f8d65ad2fd5 = function(arg0) { + arg0.disconnect(); }; - imports.wbg.__wbg_button_460cdec9f2512a91 = function(arg0) { - const ret = getObject(arg0).button; - return ret; + imports.wbg.__wbg_observe_c901133fbef21560 = function(arg0, arg1) { + arg0.observe(arg1); }; - imports.wbg.__wbg_buttons_a302533e27733599 = function(arg0) { - const ret = getObject(arg0).buttons; + imports.wbg.__wbg_isIntersecting_7cba11b732bde6a7 = function(arg0) { + const ret = arg0.isIntersecting; return ret; }; - imports.wbg.__wbg_movementX_ecd0c638be0899eb = function(arg0) { - const ret = getObject(arg0).movementX; + imports.wbg.__wbg_appendChild_ac45d1abddf1b89b = function() { return handleError(function (arg0, arg1) { + const ret = arg0.appendChild(arg1); + return ret; + }, arguments) }; + imports.wbg.__wbg_contains_4f87c5405416b4fd = function(arg0, arg1) { + const ret = arg0.contains(arg1); return ret; }; - imports.wbg.__wbg_movementY_3064817f736e8151 = function(arg0) { - const ret = getObject(arg0).movementY; + imports.wbg.__wbg_pointerId_37ae0c4682f85248 = function(arg0) { + const ret = arg0.pointerId; return ret; }; - imports.wbg.__wbg_framebufferTextureMultiviewOVR_32295d56731dd362 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { - getObject(arg0).framebufferTextureMultiviewOVR(arg1 >>> 0, arg2 >>> 0, getObject(arg3), arg4, arg5, arg6); + imports.wbg.__wbg_pressure_95cee3909a8549a9 = function(arg0) { + const ret = arg0.pressure; + return ret; }; - imports.wbg.__wbg_contentRect_c1a9045c459744d9 = function(arg0) { - const ret = getObject(arg0).contentRect; - return addHeapObject(ret); + imports.wbg.__wbg_pointerType_d375491a3013a9bc = function(arg0, arg1) { + const ret = arg1.pointerType; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_devicePixelContentBoxSize_8d531ca6a4331b28 = function(arg0) { - const ret = getObject(arg0).devicePixelContentBoxSize; - return addHeapObject(ret); + imports.wbg.__wbg_getCoalescedEvents_bf1c46ef1a01dcce = function(arg0) { + const ret = arg0.getCoalescedEvents(); + return ret; }; imports.wbg.__wbg_new_abda76e883ba8a5f = function() { const ret = new Error(); - return addHeapObject(ret); + return ret; }; imports.wbg.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) { - const ret = getObject(arg1).stack; + const ret = arg1.stack; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); @@ -1888,224 +1867,222 @@ function __wbg_get_imports() { } }; imports.wbg.__wbg_queueMicrotask_48421b3cc9052b68 = function(arg0) { - const ret = getObject(arg0).queueMicrotask; - return addHeapObject(ret); + const ret = arg0.queueMicrotask; + return ret; }; imports.wbg.__wbindgen_is_function = function(arg0) { - const ret = typeof(getObject(arg0)) === 'function'; + const ret = typeof(arg0) === 'function'; return ret; }; - imports.wbg.__wbg_queueMicrotask_12a30234db4045d3 = function(arg0) { - queueMicrotask(getObject(arg0)); - }; + imports.wbg.__wbg_queueMicrotask_12a30234db4045d3 = typeof queueMicrotask == 'function' ? queueMicrotask : notDefined('queueMicrotask'); imports.wbg.__wbg_performance_a1b8bde2ee512264 = function(arg0) { - const ret = getObject(arg0).performance; - return addHeapObject(ret); + const ret = arg0.performance; + return ret; }; imports.wbg.__wbg_now_abd80e969af37148 = function(arg0) { - const ret = getObject(arg0).now(); + const ret = arg0.now(); return ret; }; imports.wbg.__wbg_crypto_1d1f22824a6a080c = function(arg0) { - const ret = getObject(arg0).crypto; - return addHeapObject(ret); + const ret = arg0.crypto; + return ret; }; imports.wbg.__wbindgen_is_object = function(arg0) { - const val = getObject(arg0); + const val = arg0; const ret = typeof(val) === 'object' && val !== null; return ret; }; imports.wbg.__wbg_process_4a72847cc503995b = function(arg0) { - const ret = getObject(arg0).process; - return addHeapObject(ret); + const ret = arg0.process; + return ret; }; imports.wbg.__wbg_versions_f686565e586dd935 = function(arg0) { - const ret = getObject(arg0).versions; - return addHeapObject(ret); + const ret = arg0.versions; + return ret; }; imports.wbg.__wbg_node_104a2ff8d6ea03a2 = function(arg0) { - const ret = getObject(arg0).node; - return addHeapObject(ret); + const ret = arg0.node; + return ret; }; imports.wbg.__wbindgen_is_string = function(arg0) { - const ret = typeof(getObject(arg0)) === 'string'; + const ret = typeof(arg0) === 'string'; return ret; }; imports.wbg.__wbg_require_cca90b1a94a0255b = function() { return handleError(function () { const ret = module.require; - return addHeapObject(ret); + return ret; }, arguments) }; imports.wbg.__wbg_msCrypto_eb05e62b530a1508 = function(arg0) { - const ret = getObject(arg0).msCrypto; - return addHeapObject(ret); + const ret = arg0.msCrypto; + return ret; }; imports.wbg.__wbg_randomFillSync_5c9c955aa56b6049 = function() { return handleError(function (arg0, arg1) { - getObject(arg0).randomFillSync(takeObject(arg1)); + arg0.randomFillSync(arg1); }, arguments) }; imports.wbg.__wbg_getRandomValues_3aa56aa6edec874c = function() { return handleError(function (arg0, arg1) { - getObject(arg0).getRandomValues(getObject(arg1)); + arg0.getRandomValues(arg1); }, arguments) }; imports.wbg.__wbg_get_3baa728f9d58d3f6 = function(arg0, arg1) { - const ret = getObject(arg0)[arg1 >>> 0]; - return addHeapObject(ret); + const ret = arg0[arg1 >>> 0]; + return ret; }; imports.wbg.__wbg_length_ae22078168b726f5 = function(arg0) { - const ret = getObject(arg0).length; + const ret = arg0.length; return ret; }; imports.wbg.__wbg_new_a220cf903aa02ca2 = function() { const ret = new Array(); - return addHeapObject(ret); + return ret; }; imports.wbg.__wbg_newnoargs_76313bd6ff35d0f2 = function(arg0, arg1) { const ret = new Function(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); + return ret; }; imports.wbg.__wbg_call_1084a111329e68ce = function() { return handleError(function (arg0, arg1) { - const ret = getObject(arg0).call(getObject(arg1)); - return addHeapObject(ret); + const ret = arg0.call(arg1); + return ret; }, arguments) }; imports.wbg.__wbg_new_525245e2b9901204 = function() { const ret = new Object(); - return addHeapObject(ret); + return ret; }; imports.wbg.__wbg_self_3093d5d1f7bcb682 = function() { return handleError(function () { const ret = self.self; - return addHeapObject(ret); + return ret; }, arguments) }; imports.wbg.__wbg_window_3bcfc4d31bc012f8 = function() { return handleError(function () { const ret = window.window; - return addHeapObject(ret); + return ret; }, arguments) }; imports.wbg.__wbg_globalThis_86b222e13bdf32ed = function() { return handleError(function () { const ret = globalThis.globalThis; - return addHeapObject(ret); + return ret; }, arguments) }; imports.wbg.__wbg_global_e5a3fe56f8be9485 = function() { return handleError(function () { const ret = global.global; - return addHeapObject(ret); + return ret; }, arguments) }; imports.wbg.__wbg_eval_6e4fc17d87772f52 = function() { return handleError(function (arg0, arg1) { const ret = eval(getStringFromWasm0(arg0, arg1)); - return addHeapObject(ret); + return ret; }, arguments) }; imports.wbg.__wbg_includes_7c12264f911567fe = function(arg0, arg1, arg2) { - const ret = getObject(arg0).includes(getObject(arg1), arg2); + const ret = arg0.includes(arg1, arg2); return ret; }; imports.wbg.__wbg_of_4a1c869ef05b4b73 = function(arg0) { - const ret = Array.of(getObject(arg0)); - return addHeapObject(ret); + const ret = Array.of(arg0); + return ret; }; imports.wbg.__wbg_of_99c2a118200b1e62 = function(arg0, arg1) { - const ret = Array.of(getObject(arg0), getObject(arg1)); - return addHeapObject(ret); + const ret = Array.of(arg0, arg1); + return ret; }; imports.wbg.__wbg_push_37c89022f34c01ca = function(arg0, arg1) { - const ret = getObject(arg0).push(getObject(arg1)); + const ret = arg0.push(arg1); return ret; }; imports.wbg.__wbg_call_89af060b4e1523f2 = function() { return handleError(function (arg0, arg1, arg2) { - const ret = getObject(arg0).call(getObject(arg1), getObject(arg2)); - return addHeapObject(ret); + const ret = arg0.call(arg1, arg2); + return ret; }, arguments) }; imports.wbg.__wbg_now_b7a162010a9e75b4 = function() { const ret = Date.now(); return ret; }; imports.wbg.__wbg_getOwnPropertyDescriptor_104555bb47552c24 = function(arg0, arg1) { - const ret = Object.getOwnPropertyDescriptor(getObject(arg0), getObject(arg1)); - return addHeapObject(ret); + const ret = Object.getOwnPropertyDescriptor(arg0, arg1); + return ret; }; imports.wbg.__wbg_is_009b1ef508712fda = function(arg0, arg1) { - const ret = Object.is(getObject(arg0), getObject(arg1)); + const ret = Object.is(arg0, arg1); return ret; }; imports.wbg.__wbg_exec_a29a4ce5544bd3be = function(arg0, arg1, arg2) { - const ret = getObject(arg0).exec(getStringFromWasm0(arg1, arg2)); - return isLikeNone(ret) ? 0 : addHeapObject(ret); + const ret = arg0.exec(getStringFromWasm0(arg1, arg2)); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; imports.wbg.__wbg_new_13847c66f41dda63 = function(arg0, arg1, arg2, arg3) { const ret = new RegExp(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3)); - return addHeapObject(ret); + return ret; }; imports.wbg.__wbg_resolve_570458cb99d56a43 = function(arg0) { - const ret = Promise.resolve(getObject(arg0)); - return addHeapObject(ret); + const ret = Promise.resolve(arg0); + return ret; }; imports.wbg.__wbg_catch_a279b1da46d132d8 = function(arg0, arg1) { - const ret = getObject(arg0).catch(getObject(arg1)); - return addHeapObject(ret); + const ret = arg0.catch(arg1); + return ret; }; imports.wbg.__wbg_then_95e6edc0f89b73b1 = function(arg0, arg1) { - const ret = getObject(arg0).then(getObject(arg1)); - return addHeapObject(ret); + const ret = arg0.then(arg1); + return ret; }; imports.wbg.__wbg_then_876bb3c633745cc6 = function(arg0, arg1, arg2) { - const ret = getObject(arg0).then(getObject(arg1), getObject(arg2)); - return addHeapObject(ret); + const ret = arg0.then(arg1, arg2); + return ret; }; imports.wbg.__wbg_buffer_b7b08af79b0b0974 = function(arg0) { - const ret = getObject(arg0).buffer; - return addHeapObject(ret); + const ret = arg0.buffer; + return ret; }; imports.wbg.__wbg_newwithbyteoffsetandlength_634ada0fd17e2e96 = function(arg0, arg1, arg2) { - const ret = new Int8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); - return addHeapObject(ret); + const ret = new Int8Array(arg0, arg1 >>> 0, arg2 >>> 0); + return ret; }; imports.wbg.__wbg_newwithbyteoffsetandlength_b5293b0eedbac651 = function(arg0, arg1, arg2) { - const ret = new Int16Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); - return addHeapObject(ret); + const ret = new Int16Array(arg0, arg1 >>> 0, arg2 >>> 0); + return ret; }; imports.wbg.__wbg_newwithbyteoffsetandlength_c89d62ca194b7f14 = function(arg0, arg1, arg2) { - const ret = new Int32Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); - return addHeapObject(ret); + const ret = new Int32Array(arg0, arg1 >>> 0, arg2 >>> 0); + return ret; }; imports.wbg.__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9 = function(arg0, arg1, arg2) { - const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); - return addHeapObject(ret); + const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0); + return ret; }; imports.wbg.__wbg_new_ea1883e1e5e86686 = function(arg0) { - const ret = new Uint8Array(getObject(arg0)); - return addHeapObject(ret); + const ret = new Uint8Array(arg0); + return ret; }; imports.wbg.__wbg_set_d1e79e2388520f18 = function(arg0, arg1, arg2) { - getObject(arg0).set(getObject(arg1), arg2 >>> 0); + arg0.set(arg1, arg2 >>> 0); }; imports.wbg.__wbg_length_8339fcf5d8ecd12e = function(arg0) { - const ret = getObject(arg0).length; + const ret = arg0.length; return ret; }; imports.wbg.__wbg_newwithbyteoffsetandlength_bd3d5191e8925067 = function(arg0, arg1, arg2) { - const ret = new Uint16Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); - return addHeapObject(ret); + const ret = new Uint16Array(arg0, arg1 >>> 0, arg2 >>> 0); + return ret; }; imports.wbg.__wbg_newwithbyteoffsetandlength_874df3e29cb555f9 = function(arg0, arg1, arg2) { - const ret = new Uint32Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); - return addHeapObject(ret); + const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0); + return ret; }; imports.wbg.__wbg_newwithbyteoffsetandlength_a69c63d7671a5dbf = function(arg0, arg1, arg2) { - const ret = new Float32Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); - return addHeapObject(ret); + const ret = new Float32Array(arg0, arg1 >>> 0, arg2 >>> 0); + return ret; }; imports.wbg.__wbg_newwithlength_ec548f448387c968 = function(arg0) { const ret = new Uint8Array(arg0 >>> 0); - return addHeapObject(ret); + return ret; }; imports.wbg.__wbg_subarray_7c2e3576afe181d1 = function(arg0, arg1, arg2) { - const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0); - return addHeapObject(ret); + const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0); + return ret; }; imports.wbg.__wbg_stringify_bbf45426c92a6bf5 = function() { return handleError(function (arg0) { - const ret = JSON.stringify(getObject(arg0)); - return addHeapObject(ret); + const ret = JSON.stringify(arg0); + return ret; }, arguments) }; imports.wbg.__wbg_set_eacc7d73fefaafdf = function() { return handleError(function (arg0, arg1, arg2) { - const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2)); + const ret = Reflect.set(arg0, arg1, arg2); return ret; }, arguments) }; imports.wbg.__wbindgen_debug_string = function(arg0, arg1) { - const ret = debugString(getObject(arg1)); + const ret = debugString(arg1); const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); @@ -2116,55 +2093,65 @@ function __wbg_get_imports() { }; imports.wbg.__wbindgen_memory = function() { const ret = wasm.memory; - return addHeapObject(ret); + return ret; + }; + imports.wbg.__wbindgen_closure_wrapper9399 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 6273, __wbg_adapter_36); + return ret; }; - imports.wbg.__wbindgen_closure_wrapper8731 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 5745, __wbg_adapter_34); - return addHeapObject(ret); + imports.wbg.__wbindgen_closure_wrapper9400 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 6273, __wbg_adapter_39); + return ret; }; - imports.wbg.__wbindgen_closure_wrapper8732 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 5745, __wbg_adapter_34); - return addHeapObject(ret); + imports.wbg.__wbindgen_closure_wrapper9401 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 6273, __wbg_adapter_39); + return ret; }; - imports.wbg.__wbindgen_closure_wrapper8733 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 5745, __wbg_adapter_39); - return addHeapObject(ret); + imports.wbg.__wbindgen_closure_wrapper9402 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 6273, __wbg_adapter_39); + return ret; }; - imports.wbg.__wbindgen_closure_wrapper8734 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 5745, __wbg_adapter_34); - return addHeapObject(ret); + imports.wbg.__wbindgen_closure_wrapper9403 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 6273, __wbg_adapter_39); + return ret; }; - imports.wbg.__wbindgen_closure_wrapper8735 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 5745, __wbg_adapter_34); - return addHeapObject(ret); + imports.wbg.__wbindgen_closure_wrapper9404 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 6273, __wbg_adapter_39); + return ret; }; - imports.wbg.__wbindgen_closure_wrapper8736 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 5745, __wbg_adapter_34); - return addHeapObject(ret); + imports.wbg.__wbindgen_closure_wrapper9405 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 6273, __wbg_adapter_39); + return ret; }; - imports.wbg.__wbindgen_closure_wrapper8737 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 5745, __wbg_adapter_34); - return addHeapObject(ret); + imports.wbg.__wbindgen_closure_wrapper9406 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 6273, __wbg_adapter_52); + return ret; }; - imports.wbg.__wbindgen_closure_wrapper8738 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 5745, __wbg_adapter_34); - return addHeapObject(ret); + imports.wbg.__wbindgen_closure_wrapper9407 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 6273, __wbg_adapter_39); + return ret; }; - imports.wbg.__wbindgen_closure_wrapper8739 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 5745, __wbg_adapter_34); - return addHeapObject(ret); + imports.wbg.__wbindgen_closure_wrapper9408 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 6273, __wbg_adapter_39); + return ret; }; - imports.wbg.__wbindgen_closure_wrapper8740 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 5745, __wbg_adapter_54); - return addHeapObject(ret); + imports.wbg.__wbindgen_closure_wrapper61647 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 47356, __wbg_adapter_59); + return ret; }; - imports.wbg.__wbindgen_closure_wrapper60901 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 46662, __wbg_adapter_57); - return addHeapObject(ret); + imports.wbg.__wbindgen_closure_wrapper101322 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 75536, __wbg_adapter_62); + return ret; }; - imports.wbg.__wbindgen_closure_wrapper100546 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 74745, __wbg_adapter_60); - return addHeapObject(ret); + imports.wbg.__wbindgen_init_externref_table = function() { + const table = wasm.__wbindgen_export_2; + const offset = table.grow(4); + table.set(0, undefined); + table.set(offset + 0, undefined); + table.set(offset + 1, null); + table.set(offset + 2, true); + table.set(offset + 3, false); + ; }; return imports; @@ -2192,10 +2179,13 @@ function initSync(module) { if (wasm !== undefined) return wasm; - if (typeof module !== 'undefined' && Object.getPrototypeOf(module) === Object.prototype) - ({module} = module) - else - console.warn('using deprecated parameters for `initSync()`; pass a single object instead') + if (typeof module !== 'undefined') { + if (Object.getPrototypeOf(module) === Object.prototype) { + ({module} = module) + } else { + console.warn('using deprecated parameters for `initSync()`; pass a single object instead') + } + } const imports = __wbg_get_imports(); @@ -2214,10 +2204,13 @@ async function __wbg_init(module_or_path) { if (wasm !== undefined) return wasm; - if (typeof module_or_path !== 'undefined' && Object.getPrototypeOf(module_or_path) === Object.prototype) - ({module_or_path} = module_or_path) - else - console.warn('using deprecated parameters for the initialization function; pass a single object instead') + if (typeof module_or_path !== 'undefined') { + if (Object.getPrototypeOf(module_or_path) === Object.prototype) { + ({module_or_path} = module_or_path) + } else { + console.warn('using deprecated parameters for the initialization function; pass a single object instead') + } + } if (typeof module_or_path === 'undefined') { module_or_path = new URL('cats_destroyer_2000_bg.wasm', import.meta.url); diff --git a/cats_destroyer_2000_bg.wasm b/cats_destroyer_2000_bg.wasm index 93aa473..765f6e7 100644 Binary files a/cats_destroyer_2000_bg.wasm and b/cats_destroyer_2000_bg.wasm differ diff --git a/cats_destroyer_2000_bg.wasm.d.ts b/cats_destroyer_2000_bg.wasm.d.ts index 26b5f19..f1df142 100644 --- a/cats_destroyer_2000_bg.wasm.d.ts +++ b/cats_destroyer_2000_bg.wasm.d.ts @@ -17,11 +17,13 @@ export function wgpu_render_bundle_push_debug_group(a: number, b: number): void; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1015791a736eca03(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7024b9e45b935d4e(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd90adf8813b2b8a8(a: number, b: number, c: number, d: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6841e9828be355db(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1716324858fac3a6(a: number, b: number, c: number): void; +export const __wbindgen_export_3: WebAssembly.Table; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdac403b837d2b372(a: number, b: number): void; +export function closure6275_externref_shim(a: number, b: number, c: number): void; +export function closure6272_externref_shim(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h71ee6428592eebb2(a: number, b: number): void; +export function closure75535_externref_shim(a: number, b: number, c: number): void; +export function __externref_table_alloc(): number; export function __wbindgen_free(a: number, b: number, c: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void;