From 14926b0209749a8bc693392aa4602bd879ca8e43 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 26 Feb 2024 13:11:15 +0100 Subject: [PATCH] Release 0.5.0 - Add connect `Options` --- .github/workflows/rust.yml | 6 +- CHANGELOG.md | 6 +- Cargo.lock | 2 +- docs/example_app.js | 1099 +++++++++++++++++++----------------- docs/example_app_bg.wasm | Bin 2299045 -> 2449082 bytes ewebsock/Cargo.toml | 4 +- rust-toolchain | 2 +- 7 files changed, 586 insertions(+), 533 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7959ba1..c901090 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,7 +17,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.72.0 + toolchain: 1.73.0 override: true components: rustfmt, clippy @@ -88,7 +88,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: 1.72.0 + toolchain: 1.73.0 target: wasm32-unknown-unknown override: true @@ -109,5 +109,5 @@ jobs: - uses: EmbarkStudios/cargo-deny-action@v1 with: - rust-version: "1.72.0" + rust-version: "1.73.0" log-level: error diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f717c7..8c89739 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,11 @@ ## [Unreleased](https://github.com/rerun-io/ewebsock/compare/latest...HEAD) -## [0.4.1](https://github.com/rerun-io/ewebsock/compare/0.4.0...0.4.1) - 2023-10-07 +## [0.5.0]((https://github.com/rerun-io/ewebsock/compare/0.4.1...0.5.0) - 2024-02-26 +* Add `Options` for controlling max frame size of incoming messages - ([#29](https://github.com/rerun-io/ewebsock/pull/29)) + + +## [0.4.1](https://github.com/rerun-io/ewebsock/compare/0.4.0...0.4.1) - 2024-02-15 * Fix: all errors are reported to the caller via `on_event` ([#26](https://github.com/rerun-io/ewebsock/pull/26)) * Add support for tungstenite 0.21, update MSRV to 1.72 ([#28](https://github.com/rerun-io/ewebsock/pull/28)) diff --git a/Cargo.lock b/Cargo.lock index 8b374cc..1330281 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1180,7 +1180,7 @@ dependencies = [ [[package]] name = "ewebsock" -version = "0.4.1" +version = "0.5.0" dependencies = [ "async-stream", "document-features", diff --git a/docs/example_app.js b/docs/example_app.js index ea8f0b5..21ad79a 100644 --- a/docs/example_app.js +++ b/docs/example_app.js @@ -75,14 +75,14 @@ function passStringToWasm0(arg, malloc, realloc) { if (realloc === undefined) { const buf = cachedTextEncoder.encode(arg); - const ptr = malloc(buf.length) >>> 0; + const ptr = malloc(buf.length, 1) >>> 0; getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf); WASM_VECTOR_LEN = buf.length; return ptr; } let len = arg.length; - let ptr = malloc(len) >>> 0; + let ptr = malloc(len, 1) >>> 0; const mem = getUint8Memory0(); @@ -98,7 +98,7 @@ function passStringToWasm0(arg, malloc, realloc) { if (offset !== 0) { arg = arg.slice(offset); } - ptr = realloc(ptr, len, len = offset + arg.length * 3) >>> 0; + ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; const view = getUint8Memory0().subarray(ptr + offset, ptr + len); const ret = encodeString(arg, view); @@ -220,18 +220,14 @@ function makeMutClosure(arg0, arg1, dtor, f) { return real; } -function __wbg_adapter_26(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h31c3c569d132026e(arg0, arg1, addHeapObject(arg2)); +function __wbg_adapter_28(arg0, arg1, arg2) { + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h21e1ec2a5f468c03(arg0, arg1, addHeapObject(arg2)); } -function __wbg_adapter_35(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4afb65211f85c2cf(arg0, arg1); -} - -function __wbg_adapter_38(arg0, arg1) { +function __wbg_adapter_37(arg0, arg1) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0cf548923fbff354(retptr, arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6eb6073f467191ce(retptr, arg0, arg1); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; if (r1) { @@ -242,12 +238,16 @@ function __wbg_adapter_38(arg0, arg1) { } } -function __wbg_adapter_41(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8ab50ac952fde717(arg0, arg1, addHeapObject(arg2)); +function __wbg_adapter_40(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9aa3cbed59266c34(arg0, arg1); +} + +function __wbg_adapter_43(arg0, arg1, arg2) { + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb1142145e51f480c(arg0, arg1, addHeapObject(arg2)); } -function __wbg_adapter_44(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfc3580fd4e4900e3(arg0, arg1, addHeapObject(arg2)); +function __wbg_adapter_46(arg0, arg1, arg2) { + wasm.wasm_bindgen__convert__closures__invoke1_mut__h6f4ca2b487477dd7(arg0, arg1, addHeapObject(arg2)); } /** @@ -277,8 +277,8 @@ function getArrayU8FromWasm0(ptr, len) { ptr = ptr >>> 0; return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len); } -function __wbg_adapter_524(arg0, arg1, arg2, arg3) { - wasm.wasm_bindgen__convert__closures__invoke2_mut__h0814a77f3fed3d89(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +function __wbg_adapter_550(arg0, arg1, arg2, arg3) { + wasm.wasm_bindgen__convert__closures__invoke2_mut__h67f834269f4fe439(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } async function __wbg_load(module, imports) { @@ -339,25 +339,13 @@ function __wbg_get_imports() { getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; - imports.wbg.__wbindgen_is_string = function(arg0) { - const ret = typeof(getObject(arg0)) === 'string'; - return ret; - }; imports.wbg.__wbindgen_object_clone_ref = function(arg0) { const ret = getObject(arg0); return addHeapObject(ret); }; - imports.wbg.__wbg_warn_0d84cc9f60d72161 = function(arg0, arg1) { - console.warn(getStringFromWasm0(arg0, arg1)); - }; - imports.wbg.__wbg_info_9914de2e2314812b = function(arg0, arg1) { - console.info(getStringFromWasm0(arg0, arg1)); - }; - imports.wbg.__wbg_debug_02a842456bfd3d07 = function(arg0, arg1) { - console.debug(getStringFromWasm0(arg0, arg1)); - }; - imports.wbg.__wbg_trace_822e2ec9f55bdc14 = function(arg0, arg1) { - console.trace(getStringFromWasm0(arg0, arg1)); + imports.wbg.__wbindgen_is_string = function(arg0) { + const ret = typeof(getObject(arg0)) === 'string'; + return ret; }; imports.wbg.__wbindgen_number_get = function(arg0, arg1) { const obj = getObject(arg1); @@ -365,7 +353,7 @@ function __wbg_get_imports() { getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret; getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret); }; - imports.wbg.__wbg_error_ef675d96d0bf24dc = function(arg0, arg1) { + imports.wbg.__wbg_error_ca2474234fef2329 = function(arg0, arg1) { let deferred0_0; let deferred0_1; try { @@ -373,991 +361,1052 @@ function __wbg_get_imports() { deferred0_1 = arg1; console.error(getStringFromWasm0(arg0, arg1)); } finally { - wasm.__wbindgen_free(deferred0_0, deferred0_1); + wasm.__wbindgen_free(deferred0_0, deferred0_1, 1); } }; - imports.wbg.__wbg_new_475b88b4c50a6bba = function() { + imports.wbg.__wbg_new_ad8b60ed55d95a64 = function() { const ret = new Error(); return addHeapObject(ret); }; - imports.wbg.__wbg_stack_d45172f0caa39e17 = function(arg0, arg1) { + imports.wbg.__wbg_stack_1c80e3b436be887a = function(arg0, arg1) { const ret = getObject(arg1).stack; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; + imports.wbg.__wbg_trace_cbd26c32e6945675 = function(arg0, arg1) { + console.trace(getStringFromWasm0(arg0, arg1)); + }; + imports.wbg.__wbg_debug_8582c7d8fc50b6cf = function(arg0, arg1) { + console.debug(getStringFromWasm0(arg0, arg1)); + }; + imports.wbg.__wbg_info_71a5de3030bb4c02 = function(arg0, arg1) { + console.info(getStringFromWasm0(arg0, arg1)); + }; + imports.wbg.__wbg_warn_4221b1eeb4c424c2 = function(arg0, arg1) { + console.warn(getStringFromWasm0(arg0, arg1)); + }; + imports.wbg.__wbg_queueMicrotask_f61ee94ee663068b = function(arg0) { + queueMicrotask(getObject(arg0)); + }; + imports.wbg.__wbg_queueMicrotask_f82fc5d1e8f816ae = function(arg0) { + const ret = getObject(arg0).queueMicrotask; + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_is_function = function(arg0) { + const ret = typeof(getObject(arg0)) === 'function'; + return ret; + }; + imports.wbg.__wbg_performance_eeefc685c9bc38b4 = function(arg0) { + const ret = getObject(arg0).performance; + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_is_undefined = function(arg0) { + const ret = getObject(arg0) === undefined; + return ret; + }; + imports.wbg.__wbg_now_e0d8ec93dd25766a = function(arg0) { + const ret = getObject(arg0).now(); + return ret; + }; imports.wbg.__wbindgen_boolean_get = function(arg0) { const v = getObject(arg0); const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2; return ret; }; - imports.wbg.__wbg_instanceof_WebGl2RenderingContext_a9b8e563e17071fe = function(arg0) { + imports.wbg.__wbg_instanceof_WebGl2RenderingContext_b1bbc94623ae057f = function(arg0) { let result; try { result = getObject(arg0) instanceof WebGL2RenderingContext; - } catch { + } catch (_) { result = false; } const ret = result; return ret; }; - imports.wbg.__wbg_bindVertexArray_ff82138c68ab11e2 = function(arg0, arg1) { + imports.wbg.__wbg_bindVertexArray_68196ec68ffa5d9c = function(arg0, arg1) { getObject(arg0).bindVertexArray(getObject(arg1)); }; - imports.wbg.__wbg_bufferData_bc2f1a27f7162655 = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_bufferData_325ab331c8e0735f = function(arg0, arg1, arg2, arg3) { getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0); }; - imports.wbg.__wbg_createVertexArray_c3ea33e844216f0c = function(arg0) { + imports.wbg.__wbg_createVertexArray_aa1c03bf14f520f1 = function(arg0) { const ret = getObject(arg0).createVertexArray(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_texImage2D_dd4aced57a17360f = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { + imports.wbg.__wbg_texImage2D_480bb656acf1c931 = 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)); }, arguments) }; - imports.wbg.__wbg_texSubImage2D_c3c012dc814eb4de = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { + imports.wbg.__wbg_texSubImage2D_01a3d1b8ac6e4702 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9)); }, arguments) }; - imports.wbg.__wbg_texSubImage2D_6cc58218d4d2218e = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { + imports.wbg.__wbg_texSubImage2D_c96538f70e56e139 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); }, arguments) }; - imports.wbg.__wbg_activeTexture_0c3957272c193058 = function(arg0, arg1) { + imports.wbg.__wbg_activeTexture_5f08f4188abc9410 = function(arg0, arg1) { getObject(arg0).activeTexture(arg1 >>> 0); }; - imports.wbg.__wbg_attachShader_cda29f0482c65440 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_attachShader_427e1d01a628e522 = function(arg0, arg1, arg2) { getObject(arg0).attachShader(getObject(arg1), getObject(arg2)); }; - imports.wbg.__wbg_bindBuffer_6f9a2fa9ebc65b01 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_bindBuffer_0285be79ac8a4f9f = function(arg0, arg1, arg2) { getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2)); }; - imports.wbg.__wbg_bindTexture_10219c0f804bff90 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_bindTexture_20fd21916229a80c = function(arg0, arg1, arg2) { getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2)); }; - imports.wbg.__wbg_blendEquationSeparate_02dd5ec6a2c24f28 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_blendEquationSeparate_46b6aa4bdcf2d9ef = function(arg0, arg1, arg2) { getObject(arg0).blendEquationSeparate(arg1 >>> 0, arg2 >>> 0); }; - imports.wbg.__wbg_blendFuncSeparate_f9dccffef5a98f44 = function(arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_blendFuncSeparate_0490d8414b0a2e98 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); }; - imports.wbg.__wbg_clear_15c6565459b2686d = function(arg0, arg1) { + imports.wbg.__wbg_clear_ceb93ecc4e5d5e06 = function(arg0, arg1) { getObject(arg0).clear(arg1 >>> 0); }; - imports.wbg.__wbg_clearColor_116005afbb6df00f = function(arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_clearColor_e4c61a3089043306 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).clearColor(arg1, arg2, arg3, arg4); }; - imports.wbg.__wbg_colorMask_1dfb9a91ae2b9e71 = function(arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_colorMask_ae97e907cdf41404 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0); }; - imports.wbg.__wbg_compileShader_6f505d659e2795e6 = function(arg0, arg1) { + imports.wbg.__wbg_compileShader_2191687ded033138 = function(arg0, arg1) { getObject(arg0).compileShader(getObject(arg1)); }; - imports.wbg.__wbg_createBuffer_0da7eb27184081a8 = function(arg0) { + imports.wbg.__wbg_createBuffer_ee6e74ae50f1fbc8 = function(arg0) { const ret = getObject(arg0).createBuffer(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_createProgram_535e1a7a84baa7ff = function(arg0) { + imports.wbg.__wbg_createProgram_869004e7019cca34 = function(arg0) { const ret = getObject(arg0).createProgram(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_createShader_b1a69c91a9abbcf9 = function(arg0, arg1) { + imports.wbg.__wbg_createShader_eceb4217c94a1056 = function(arg0, arg1) { const ret = getObject(arg0).createShader(arg1 >>> 0); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_createTexture_f999863e1ff4544e = function(arg0) { + imports.wbg.__wbg_createTexture_084c9c8b377793c3 = function(arg0) { const ret = getObject(arg0).createTexture(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_deleteBuffer_d6466e666563f36a = function(arg0, arg1) { + imports.wbg.__wbg_deleteBuffer_c66740fb719fb9a7 = function(arg0, arg1) { getObject(arg0).deleteBuffer(getObject(arg1)); }; - imports.wbg.__wbg_deleteProgram_c6b502ab111ca429 = function(arg0, arg1) { + imports.wbg.__wbg_deleteProgram_af78790615a2a7d7 = function(arg0, arg1) { getObject(arg0).deleteProgram(getObject(arg1)); }; - imports.wbg.__wbg_deleteShader_cbb128151b8b2b6b = function(arg0, arg1) { + imports.wbg.__wbg_deleteShader_1d9cfbdc150762cb = function(arg0, arg1) { getObject(arg0).deleteShader(getObject(arg1)); }; - imports.wbg.__wbg_deleteTexture_43dcaa158a7a967b = function(arg0, arg1) { + imports.wbg.__wbg_deleteTexture_547a7269a7254d2a = function(arg0, arg1) { getObject(arg0).deleteTexture(getObject(arg1)); }; - imports.wbg.__wbg_detachShader_10a74e43565974e2 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_detachShader_83214b1314cfc677 = function(arg0, arg1, arg2) { getObject(arg0).detachShader(getObject(arg1), getObject(arg2)); }; - imports.wbg.__wbg_disable_94431bed03515efb = function(arg0, arg1) { + imports.wbg.__wbg_disable_3598de08841268c2 = function(arg0, arg1) { getObject(arg0).disable(arg1 >>> 0); }; - imports.wbg.__wbg_disableVertexAttribArray_6f95b891552695e8 = function(arg0, arg1) { + imports.wbg.__wbg_disableVertexAttribArray_2550e62f2714837b = function(arg0, arg1) { getObject(arg0).disableVertexAttribArray(arg1 >>> 0); }; - imports.wbg.__wbg_drawElements_9eb2a38d09666d1f = function(arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_drawElements_77b947be75fe30f4 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4); }; - imports.wbg.__wbg_enable_b36ff5159bc88f3d = function(arg0, arg1) { + imports.wbg.__wbg_enable_98a8863abbaa7bd2 = function(arg0, arg1) { getObject(arg0).enable(arg1 >>> 0); }; - imports.wbg.__wbg_enableVertexAttribArray_7e45a67bd47ec1bc = function(arg0, arg1) { + imports.wbg.__wbg_enableVertexAttribArray_5f8e190ba41f4f30 = function(arg0, arg1) { getObject(arg0).enableVertexAttribArray(arg1 >>> 0); }; - imports.wbg.__wbg_getAttribLocation_9fb8d1fcf1e79c7d = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_getAttribLocation_08f436d8fc4fe68d = function(arg0, arg1, arg2, arg3) { const ret = getObject(arg0).getAttribLocation(getObject(arg1), getStringFromWasm0(arg2, arg3)); return ret; }; - imports.wbg.__wbg_getError_1a05a504dbd2417e = function(arg0) { + imports.wbg.__wbg_getError_4f4b3a8c71d4c39e = function(arg0) { const ret = getObject(arg0).getError(); return ret; }; - imports.wbg.__wbg_getExtension_6b00e2c6c766b6cb = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_getExtension_e64ba7e30e8a6eae = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).getExtension(getStringFromWasm0(arg1, arg2)); return isLikeNone(ret) ? 0 : addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_getParameter_9e1070be2e213377 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_getParameter_4d51a40deebd7a8c = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).getParameter(arg1 >>> 0); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_getProgramInfoLog_03d7941c48fa9179 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_getProgramInfoLog_a9fede9be1e3a6ce = function(arg0, arg1, arg2) { const ret = getObject(arg1).getProgramInfoLog(getObject(arg2)); var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; - imports.wbg.__wbg_getProgramParameter_dd171792e4ba3184 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_getProgramParameter_a13e6d88ec9e039a = function(arg0, arg1, arg2) { const ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0); return addHeapObject(ret); }; - imports.wbg.__wbg_getShaderInfoLog_c1cca646bf94aa17 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_getShaderInfoLog_63c64bf03382de2d = function(arg0, arg1, arg2) { const ret = getObject(arg1).getShaderInfoLog(getObject(arg2)); var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; - imports.wbg.__wbg_getShaderParameter_c1d89b570b67be37 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_getShaderParameter_0fb2d525889d5a24 = function(arg0, arg1, arg2) { const ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0); return addHeapObject(ret); }; - imports.wbg.__wbg_getSupportedExtensions_675e4373f0fe08ca = function(arg0) { + imports.wbg.__wbg_getSupportedExtensions_3d93fae4cd24d995 = function(arg0) { const ret = getObject(arg0).getSupportedExtensions(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_getUniformLocation_984bcb57f0539335 = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_getUniformLocation_009db1591e93ef17 = function(arg0, arg1, arg2, arg3) { const ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3)); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_linkProgram_0a25df9d4086c8c9 = function(arg0, arg1) { + imports.wbg.__wbg_linkProgram_578651eb0388616a = function(arg0, arg1) { getObject(arg0).linkProgram(getObject(arg1)); }; - imports.wbg.__wbg_pixelStorei_2a2698776f2da87a = function(arg0, arg1, arg2) { + imports.wbg.__wbg_pixelStorei_8848825419f61cec = function(arg0, arg1, arg2) { getObject(arg0).pixelStorei(arg1 >>> 0, arg2); }; - imports.wbg.__wbg_scissor_5bbf5da585fcd6cd = function(arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_scissor_b2312f494abc5032 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).scissor(arg1, arg2, arg3, arg4); }; - imports.wbg.__wbg_shaderSource_5c55ce208ee2dc38 = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_shaderSource_d241264f221df907 = function(arg0, arg1, arg2, arg3) { getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3)); }; - imports.wbg.__wbg_texParameteri_05700ca575d5f41d = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_texParameteri_b747d8d506fcd0d2 = function(arg0, arg1, arg2, arg3) { getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3); }; - imports.wbg.__wbg_uniform1i_ef0ff3d67b59f4de = function(arg0, arg1, arg2) { + imports.wbg.__wbg_uniform1i_3f1af04af82891ff = function(arg0, arg1, arg2) { getObject(arg0).uniform1i(getObject(arg1), arg2); }; - imports.wbg.__wbg_uniform2f_7a195f76fb8bc260 = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_uniform2f_cf18347e12a5f103 = function(arg0, arg1, arg2, arg3) { getObject(arg0).uniform2f(getObject(arg1), arg2, arg3); }; - imports.wbg.__wbg_useProgram_f16b06e2ecdf168f = function(arg0, arg1) { + imports.wbg.__wbg_useProgram_b28955d541019a7a = function(arg0, arg1) { getObject(arg0).useProgram(getObject(arg1)); }; - imports.wbg.__wbg_vertexAttribPointer_c16280a7c840a534 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { + imports.wbg.__wbg_vertexAttribPointer_df897e1c10d6b71b = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6); }; - imports.wbg.__wbg_viewport_a79678835091995e = function(arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_viewport_f542dcd30d88e69d = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).viewport(arg1, arg2, arg3, arg4); }; - imports.wbg.__wbg_instanceof_Window_c5579e140698a9dc = function(arg0) { + imports.wbg.__wbg_instanceof_Window_cee7a886d55e7df5 = function(arg0) { let result; try { result = getObject(arg0) instanceof Window; - } catch { + } catch (_) { result = false; } const ret = result; return ret; }; - imports.wbg.__wbg_document_508774c021174a52 = function(arg0) { + imports.wbg.__wbg_document_eb7fd66bde3ee213 = function(arg0) { const ret = getObject(arg0).document; return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_location_f6c62a50e72200c8 = function(arg0) { + imports.wbg.__wbg_location_b17760ac7977a47a = function(arg0) { const ret = getObject(arg0).location; return addHeapObject(ret); }; - imports.wbg.__wbg_navigator_957c9b40d49df205 = function(arg0) { + imports.wbg.__wbg_navigator_b1003b77e05fcee9 = function(arg0) { const ret = getObject(arg0).navigator; return addHeapObject(ret); }; - imports.wbg.__wbg_innerHeight_972bafa16334ae25 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_innerHeight_a9719febb72ddaf3 = function() { return handleError(function (arg0) { const ret = getObject(arg0).innerHeight; return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_devicePixelRatio_027b47127fcabea6 = function(arg0) { + imports.wbg.__wbg_devicePixelRatio_3ced5021c4480dd9 = function(arg0) { const ret = getObject(arg0).devicePixelRatio; return ret; }; - imports.wbg.__wbg_performance_01a75a1b70b2c191 = function(arg0) { - const ret = getObject(arg0).performance; - return isLikeNone(ret) ? 0 : addHeapObject(ret); - }; - imports.wbg.__wbg_localStorage_b5b6d3c826dbfeda = function() { return handleError(function (arg0) { + imports.wbg.__wbg_speechSynthesis_7840ff17f187ef7a = function() { return handleError(function (arg0) { + const ret = getObject(arg0).speechSynthesis; + return addHeapObject(ret); + }, arguments) }; + imports.wbg.__wbg_localStorage_3d538af21ea07fcc = function() { return handleError(function (arg0) { const ret = getObject(arg0).localStorage; return isLikeNone(ret) ? 0 : addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_matchMedia_0dd51eaa41e54a4a = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_performance_4ca1873776fdb3d2 = function(arg0) { + const ret = getObject(arg0).performance; + return isLikeNone(ret) ? 0 : addHeapObject(ret); + }; + imports.wbg.__wbg_matchMedia_d9cdff718d3e526e = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).matchMedia(getStringFromWasm0(arg1, arg2)); return isLikeNone(ret) ? 0 : addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_open_7403f38d13c728d5 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_open_8db78e14935e215b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); return isLikeNone(ret) ? 0 : addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_requestAnimationFrame_d28701d8e57998d1 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_requestAnimationFrame_fdbeaff9e8f3f77d = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).requestAnimationFrame(getObject(arg1)); return ret; }, arguments) }; - imports.wbg.__wbg_clearInterval_c4c01544d0ea3996 = function(arg0, arg1) { + imports.wbg.__wbg_clearInterval_0216ca540cb1ad00 = function(arg0, arg1) { getObject(arg0).clearInterval(arg1); }; - imports.wbg.__wbg_setTimeout_a71432ae24261750 = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_setTimeout_6ed7182ebad5d297 = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).setTimeout(getObject(arg1), arg2); return ret; }, arguments) }; - imports.wbg.__wbg_width_3f3962bb2721e365 = function(arg0) { - const ret = getObject(arg0).width; - return ret; - }; - imports.wbg.__wbg_height_32cf02a714d68bd4 = function(arg0) { - const ret = getObject(arg0).height; - return ret; - }; - imports.wbg.__wbg_message_0437641d629ac6b4 = function(arg0, arg1) { - const ret = getObject(arg1).message; - const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - getInt32Memory0()[arg0 / 4 + 1] = len1; - getInt32Memory0()[arg0 / 4 + 0] = ptr1; - }; - imports.wbg.__wbg_error_f5a8dbc02d8179b3 = function(arg0) { - const ret = getObject(arg0).error; - return addHeapObject(ret); - }; - imports.wbg.__wbg_length_804062329ac4ddbb = function(arg0) { - const ret = getObject(arg0).length; - return ret; - }; - imports.wbg.__wbg_get_43359180ff298dda = function(arg0, arg1) { - const ret = getObject(arg0)[arg1 >>> 0]; - return isLikeNone(ret) ? 0 : addHeapObject(ret); - }; - imports.wbg.__wbg_clientX_7ffcce9d4cf5ed8f = function(arg0) { - const ret = getObject(arg0).clientX; - return ret; - }; - imports.wbg.__wbg_clientY_2340b057451d96fb = function(arg0) { - const ret = getObject(arg0).clientY; - return ret; - }; - imports.wbg.__wbg_ctrlKey_1c15f65d527fd45e = function(arg0) { - const ret = getObject(arg0).ctrlKey; - return ret; - }; - imports.wbg.__wbg_shiftKey_1a7bf1612681d447 = function(arg0) { - const ret = getObject(arg0).shiftKey; - return ret; - }; - imports.wbg.__wbg_metaKey_3c7419a9d32c95d1 = function(arg0) { - const ret = getObject(arg0).metaKey; - return ret; - }; - imports.wbg.__wbg_button_88e86c8fe3039068 = function(arg0) { - const ret = getObject(arg0).button; - return ret; - }; - imports.wbg.__wbg_instanceof_HtmlInputElement_a15913e00980dd9c = function(arg0) { - let result; - try { - result = getObject(arg0) instanceof HTMLInputElement; - } catch { - result = false; - } - const ret = result; - return ret; - }; - imports.wbg.__wbg_setautofocus_ae682319cc846b47 = function(arg0, arg1) { - getObject(arg0).autofocus = arg1 !== 0; - }; - imports.wbg.__wbg_setsize_ae008b7511e35484 = function(arg0, arg1) { - getObject(arg0).size = arg1 >>> 0; - }; - imports.wbg.__wbg_value_09d384cba1c51c6f = function(arg0, arg1) { - const ret = getObject(arg1).value; - const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - getInt32Memory0()[arg0 / 4 + 1] = len1; - getInt32Memory0()[arg0 / 4 + 0] = ptr1; - }; - imports.wbg.__wbg_setvalue_7605619324f70225 = function(arg0, arg1, arg2) { - getObject(arg0).value = getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_type_a7d16081cac0a25b = function(arg0, arg1) { - const ret = getObject(arg1).type; - const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - getInt32Memory0()[arg0 / 4 + 1] = len1; - getInt32Memory0()[arg0 / 4 + 0] = ptr1; - }; - imports.wbg.__wbg_result_839cb1211554bc23 = function() { return handleError(function (arg0) { - const ret = getObject(arg0).result; - return addHeapObject(ret); - }, arguments) }; - imports.wbg.__wbg_setonloadend_40dae85f61e64b94 = function(arg0, arg1) { - getObject(arg0).onloadend = getObject(arg1); - }; - imports.wbg.__wbg_new_32c981a7eea04579 = function() { return handleError(function () { - const ret = new FileReader(); - return addHeapObject(ret); - }, arguments) }; - imports.wbg.__wbg_readAsArrayBuffer_8ce1370d7368bea1 = function() { return handleError(function (arg0, arg1) { - getObject(arg0).readAsArrayBuffer(getObject(arg1)); - }, arguments) }; - imports.wbg.__wbg_bindVertexArrayOES_edb665af84add641 = function(arg0, arg1) { - getObject(arg0).bindVertexArrayOES(getObject(arg1)); - }; - imports.wbg.__wbg_createVertexArrayOES_72dc110fc4561db9 = function(arg0) { - const ret = getObject(arg0).createVertexArrayOES(); - return isLikeNone(ret) ? 0 : addHeapObject(ret); - }; - imports.wbg.__wbg_deltaX_0e9fe84a3998df5e = function(arg0) { - const ret = getObject(arg0).deltaX; - return ret; - }; - imports.wbg.__wbg_deltaY_c24e1c19542b4ba4 = function(arg0) { - const ret = getObject(arg0).deltaY; - return ret; - }; - imports.wbg.__wbg_deltaMode_998c8ea939f3998a = function(arg0) { - const ret = getObject(arg0).deltaMode; - return ret; - }; - imports.wbg.__wbg_now_c97f243e7947c4ac = function(arg0) { - const ret = getObject(arg0).now(); - return ret; - }; - imports.wbg.__wbg_writeText_f3c15480e7666d78 = function(arg0, arg1, arg2) { - const ret = getObject(arg0).writeText(getStringFromWasm0(arg1, arg2)); - return addHeapObject(ret); - }; - imports.wbg.__wbg_addEventListener_d25d1ffe6c69ae96 = function() { return handleError(function (arg0, arg1, arg2, arg3) { - getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3)); - }, arguments) }; - imports.wbg.__wbg_removeEventListener_7a381df5fdb6037f = function() { return handleError(function (arg0, arg1, arg2, arg3) { - getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3)); - }, arguments) }; - imports.wbg.__wbg_instanceof_HtmlCanvasElement_b2dfeaf97587c9fa = function(arg0) { - let result; - try { - result = getObject(arg0) instanceof HTMLCanvasElement; - } catch { - result = false; - } - const ret = result; - return ret; - }; - imports.wbg.__wbg_width_b1f2559ce447b1d9 = function(arg0) { - const ret = getObject(arg0).width; - return ret; - }; - imports.wbg.__wbg_setwidth_196f4382488fd119 = function(arg0, arg1) { - getObject(arg0).width = arg1 >>> 0; - }; - imports.wbg.__wbg_height_0d9fffc5de313208 = function(arg0) { - const ret = getObject(arg0).height; - return ret; - }; - imports.wbg.__wbg_setheight_6d295d03e1783969 = function(arg0, arg1) { - getObject(arg0).height = arg1 >>> 0; - }; - imports.wbg.__wbg_getContext_24464d6344024525 = function() { return handleError(function (arg0, arg1, arg2) { - const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2)); - return isLikeNone(ret) ? 0 : addHeapObject(ret); - }, arguments) }; - imports.wbg.__wbg_matches_de64b7bec89b21e4 = function(arg0) { - const ret = getObject(arg0).matches; - return ret; - }; - imports.wbg.__wbg_matches_03fa716e6d77d76f = function(arg0) { - const ret = getObject(arg0).matches; - return ret; - }; - imports.wbg.__wbg_items_577e171b04c9aaa9 = function(arg0) { - const ret = getObject(arg0).items; - return addHeapObject(ret); - }; - imports.wbg.__wbg_files_7ce5634e8bc25a85 = function(arg0) { - const ret = getObject(arg0).files; - return isLikeNone(ret) ? 0 : addHeapObject(ret); - }; - imports.wbg.__wbg_getData_f586c0811a7ec1c4 = function() { return handleError(function (arg0, arg1, arg2, arg3) { - const ret = getObject(arg1).getData(getStringFromWasm0(arg2, arg3)); - const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - getInt32Memory0()[arg0 / 4 + 1] = len1; - getInt32Memory0()[arg0 / 4 + 0] = ptr1; - }, arguments) }; - imports.wbg.__wbg_length_bff46949c967d66a = function(arg0) { - const ret = getObject(arg0).length; - return ret; - }; - imports.wbg.__wbg_get_277c616d81e49f73 = function(arg0, arg1) { - const ret = getObject(arg0)[arg1 >>> 0]; - return isLikeNone(ret) ? 0 : addHeapObject(ret); - }; - imports.wbg.__wbg_dataTransfer_87da4b5e2c2e3bc4 = function(arg0) { - const ret = getObject(arg0).dataTransfer; - return isLikeNone(ret) ? 0 : addHeapObject(ret); - }; - imports.wbg.__wbg_keyCode_48193538ac21d5a4 = function(arg0) { - const ret = getObject(arg0).keyCode; - return ret; - }; - imports.wbg.__wbg_altKey_1796184c5e96a92b = function(arg0) { - const ret = getObject(arg0).altKey; - return ret; - }; - imports.wbg.__wbg_ctrlKey_a6ae383772af67d4 = function(arg0) { - const ret = getObject(arg0).ctrlKey; - return ret; - }; - imports.wbg.__wbg_shiftKey_0b1fd10d0674f847 = function(arg0) { - const ret = getObject(arg0).shiftKey; - return ret; - }; - imports.wbg.__wbg_metaKey_e6e67f783888f56d = function(arg0) { - const ret = getObject(arg0).metaKey; - return ret; - }; - imports.wbg.__wbg_isComposing_11821d1699a0901e = function(arg0) { - const ret = getObject(arg0).isComposing; - return ret; - }; - imports.wbg.__wbg_key_2e1ec0c70a342064 = function(arg0, arg1) { - const ret = getObject(arg1).key; - const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - getInt32Memory0()[arg0 / 4 + 1] = len1; - getInt32Memory0()[arg0 / 4 + 0] = ptr1; - }; - imports.wbg.__wbg_data_338d13609f6165a6 = function(arg0) { - const ret = getObject(arg0).data; - return addHeapObject(ret); - }; - imports.wbg.__wbg_body_db30cc67afcfce41 = function(arg0) { + imports.wbg.__wbg_body_874ccb42daaab363 = function(arg0) { const ret = getObject(arg0).body; return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_createElement_d975e66d06bc88da = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_createElement_03cf347ddad1c8c0 = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_getElementById_2d1ad15c49298068 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_getElementById_77f2dfdddee12e05 = function(arg0, arg1, arg2) { const ret = getObject(arg0).getElementById(getStringFromWasm0(arg1, arg2)); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_setid_7b804eee26ac1f4c = function(arg0, arg1, arg2) { + imports.wbg.__wbg_setid_7daec2ce740ea365 = function(arg0, arg1, arg2) { getObject(arg0).id = getStringFromWasm0(arg1, arg2); }; - imports.wbg.__wbg_scrollLeft_d414f3347b1709bf = function(arg0) { + imports.wbg.__wbg_scrollLeft_c2f39ef7a0b36f55 = function(arg0) { const ret = getObject(arg0).scrollLeft; return ret; }; - imports.wbg.__wbg_clientWidth_28c68ca0ee754d86 = function(arg0) { + imports.wbg.__wbg_clientWidth_7a325bdb8c723d9f = function(arg0) { const ret = getObject(arg0).clientWidth; return ret; }; - imports.wbg.__wbg_clientHeight_fdbd966f05f13573 = function(arg0) { + imports.wbg.__wbg_clientHeight_2b2a9874084502db = function(arg0) { const ret = getObject(arg0).clientHeight; return ret; }; - imports.wbg.__wbg_getBoundingClientRect_89e65d65040347e7 = function(arg0) { + imports.wbg.__wbg_getBoundingClientRect_3b6c47996a55427e = function(arg0) { const ret = getObject(arg0).getBoundingClientRect(); return addHeapObject(ret); }; - imports.wbg.__wbg_scrollTop_073ecc1ed0e30723 = function(arg0) { + imports.wbg.__wbg_scrollTop_6f07539d4534a820 = function(arg0) { const ret = getObject(arg0).scrollTop; return ret; }; - imports.wbg.__wbg_hidden_6e9683fc743723b7 = function(arg0) { + imports.wbg.__wbg_hidden_2366c29a55a4c50a = function(arg0) { const ret = getObject(arg0).hidden; return ret; }; - imports.wbg.__wbg_sethidden_253d3f6b07efe62c = function(arg0, arg1) { + imports.wbg.__wbg_sethidden_04acac3815d1ba64 = function(arg0, arg1) { getObject(arg0).hidden = arg1 !== 0; }; - imports.wbg.__wbg_style_6bc91a563e84d432 = function(arg0) { + imports.wbg.__wbg_style_ca229e3326b3c3fb = function(arg0) { const ret = getObject(arg0).style; return addHeapObject(ret); }; - imports.wbg.__wbg_offsetTop_19bb0e1c142f9499 = function(arg0) { + imports.wbg.__wbg_offsetTop_0636b250f8d731f3 = function(arg0) { const ret = getObject(arg0).offsetTop; return ret; }; - imports.wbg.__wbg_offsetLeft_677c5033ce585ad4 = function(arg0) { + imports.wbg.__wbg_offsetLeft_0150ee05891dfb7e = function(arg0) { const ret = getObject(arg0).offsetLeft; return ret; }; - imports.wbg.__wbg_offsetWidth_20880536c835f478 = function(arg0) { + imports.wbg.__wbg_offsetWidth_b5af4d8ba15fa071 = function(arg0) { const ret = getObject(arg0).offsetWidth; return ret; }; - imports.wbg.__wbg_blur_c2d062c40054c68d = function() { return handleError(function (arg0) { + imports.wbg.__wbg_blur_3bef2a6e3b1f9734 = function() { return handleError(function (arg0) { getObject(arg0).blur(); }, arguments) }; - imports.wbg.__wbg_focus_6baebc9f44af9925 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_focus_d1373017540aae66 = function() { return handleError(function (arg0) { getObject(arg0).focus(); }, arguments) }; - imports.wbg.__wbg_instanceof_WebGlRenderingContext_e1419556cd2b2d2d = function(arg0) { + imports.wbg.__wbg_instanceof_WebGlRenderingContext_468d6182819ad4c3 = function(arg0) { let result; try { result = getObject(arg0) instanceof WebGLRenderingContext; - } catch { + } catch (_) { result = false; } const ret = result; return ret; }; - imports.wbg.__wbg_bufferData_bf07fdd88f2e61a0 = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_bufferData_560eedbff09bce24 = function(arg0, arg1, arg2, arg3) { getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0); }; - imports.wbg.__wbg_texImage2D_b23cc3496d4c8934 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { + imports.wbg.__wbg_texImage2D_a907a9e673209a09 = 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)); }, arguments) }; - imports.wbg.__wbg_texSubImage2D_3393b2faf4bdeda7 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { + imports.wbg.__wbg_texSubImage2D_ace8ef3e5beb9c66 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9)); }, arguments) }; - imports.wbg.__wbg_activeTexture_b191924c363f77ce = function(arg0, arg1) { + imports.wbg.__wbg_activeTexture_5d70c5bfb1e18433 = function(arg0, arg1) { getObject(arg0).activeTexture(arg1 >>> 0); }; - imports.wbg.__wbg_attachShader_c6ba0e94024fcfd3 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_attachShader_877aa4ad5f81f5fb = function(arg0, arg1, arg2) { getObject(arg0).attachShader(getObject(arg1), getObject(arg2)); }; - imports.wbg.__wbg_bindBuffer_bc746e5757cfd27a = function(arg0, arg1, arg2) { + imports.wbg.__wbg_bindBuffer_8721bd9c00cbc8b8 = function(arg0, arg1, arg2) { getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2)); }; - imports.wbg.__wbg_bindTexture_003e92d5bd3d1cc7 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_bindTexture_17a55d9204f92347 = function(arg0, arg1, arg2) { getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2)); }; - imports.wbg.__wbg_blendEquationSeparate_c22d96f84170b893 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_blendEquationSeparate_483c9bbff12702e9 = function(arg0, arg1, arg2) { getObject(arg0).blendEquationSeparate(arg1 >>> 0, arg2 >>> 0); }; - imports.wbg.__wbg_blendFuncSeparate_060a21922823f86f = function(arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_blendFuncSeparate_2f3d44b3bd3604e9 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); }; - imports.wbg.__wbg_clear_0fbd94f2b3007978 = function(arg0, arg1) { + imports.wbg.__wbg_clear_617b292bb8360c4a = function(arg0, arg1) { getObject(arg0).clear(arg1 >>> 0); }; - imports.wbg.__wbg_clearColor_a72825467905e9d1 = function(arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_clearColor_6d87cdad9936f445 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).clearColor(arg1, arg2, arg3, arg4); }; - imports.wbg.__wbg_colorMask_8154d2f1a5eb697a = function(arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_colorMask_d8a9ecfb82a480cf = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0); }; - imports.wbg.__wbg_compileShader_11deea085b781c35 = function(arg0, arg1) { + imports.wbg.__wbg_compileShader_349b2f1607e1b7e9 = function(arg0, arg1) { getObject(arg0).compileShader(getObject(arg1)); }; - imports.wbg.__wbg_createBuffer_d90b963a9701a002 = function(arg0) { + imports.wbg.__wbg_createBuffer_c48fee40bffd1848 = function(arg0) { const ret = getObject(arg0).createBuffer(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_createProgram_d78c1ab5ce988d0a = function(arg0) { + imports.wbg.__wbg_createProgram_eb0e7dfb7c89e9b8 = function(arg0) { const ret = getObject(arg0).createProgram(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_createShader_94cce4c7315d3927 = function(arg0, arg1) { + imports.wbg.__wbg_createShader_6b7a22e75c6d4cc4 = function(arg0, arg1) { const ret = getObject(arg0).createShader(arg1 >>> 0); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_createTexture_ae9908092d6ebd13 = function(arg0) { + imports.wbg.__wbg_createTexture_af9c1894db4f1ff4 = function(arg0) { const ret = getObject(arg0).createTexture(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_deleteBuffer_10e438f4de8bbdd0 = function(arg0, arg1) { + imports.wbg.__wbg_deleteBuffer_0788cfe1724454e7 = function(arg0, arg1) { getObject(arg0).deleteBuffer(getObject(arg1)); }; - imports.wbg.__wbg_deleteProgram_71b202b504e08521 = function(arg0, arg1) { + imports.wbg.__wbg_deleteProgram_655d072ee71efb0c = function(arg0, arg1) { getObject(arg0).deleteProgram(getObject(arg1)); }; - imports.wbg.__wbg_deleteShader_91b6949c2cb57fa5 = function(arg0, arg1) { + imports.wbg.__wbg_deleteShader_13c4ae9a9c93c31f = function(arg0, arg1) { getObject(arg0).deleteShader(getObject(arg1)); }; - imports.wbg.__wbg_deleteTexture_89b7cefee5715eaf = function(arg0, arg1) { + imports.wbg.__wbg_deleteTexture_38664338ad2770e7 = function(arg0, arg1) { getObject(arg0).deleteTexture(getObject(arg1)); }; - imports.wbg.__wbg_detachShader_619bf2d58c955ff2 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_detachShader_480c7fff77236016 = function(arg0, arg1, arg2) { getObject(arg0).detachShader(getObject(arg1), getObject(arg2)); }; - imports.wbg.__wbg_disable_18e601ffe079514a = function(arg0, arg1) { + imports.wbg.__wbg_disable_d9f43aa105b2d999 = function(arg0, arg1) { getObject(arg0).disable(arg1 >>> 0); }; - imports.wbg.__wbg_disableVertexAttribArray_eebd7bbc31fe8477 = function(arg0, arg1) { + imports.wbg.__wbg_disableVertexAttribArray_415331ebeb20bf62 = function(arg0, arg1) { getObject(arg0).disableVertexAttribArray(arg1 >>> 0); }; - imports.wbg.__wbg_drawElements_f61f3169f51e95a8 = function(arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_drawElements_201a313e5ea8a1c4 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4); }; - imports.wbg.__wbg_enable_933052fc623337dd = function(arg0, arg1) { + imports.wbg.__wbg_enable_f6bb861e15562c7d = function(arg0, arg1) { getObject(arg0).enable(arg1 >>> 0); }; - imports.wbg.__wbg_enableVertexAttribArray_085d700612de8362 = function(arg0, arg1) { + imports.wbg.__wbg_enableVertexAttribArray_1e31054271daee48 = function(arg0, arg1) { getObject(arg0).enableVertexAttribArray(arg1 >>> 0); }; - imports.wbg.__wbg_getAttribLocation_019759a318602415 = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_getAttribLocation_5394f71d757b6847 = function(arg0, arg1, arg2, arg3) { const ret = getObject(arg0).getAttribLocation(getObject(arg1), getStringFromWasm0(arg2, arg3)); return ret; }; - imports.wbg.__wbg_getError_ffde7e40a0075b63 = function(arg0) { + imports.wbg.__wbg_getError_418a1642da6ca6b5 = function(arg0) { const ret = getObject(arg0).getError(); return ret; }; - imports.wbg.__wbg_getExtension_ffc1bd6e864d6abe = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_getExtension_695813f4264a3da5 = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).getExtension(getStringFromWasm0(arg1, arg2)); return isLikeNone(ret) ? 0 : addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_getParameter_211f7166414ae1d2 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_getParameter_d866a888cb0448b3 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).getParameter(arg1 >>> 0); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_getProgramInfoLog_e9101bb2902f723d = function(arg0, arg1, arg2) { + imports.wbg.__wbg_getProgramInfoLog_5bbd3c3298d235e3 = function(arg0, arg1, arg2) { const ret = getObject(arg1).getProgramInfoLog(getObject(arg2)); var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; - imports.wbg.__wbg_getProgramParameter_2b03f89296b12b4b = function(arg0, arg1, arg2) { + imports.wbg.__wbg_getProgramParameter_9f11dae51c820ff9 = function(arg0, arg1, arg2) { const ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0); return addHeapObject(ret); }; - imports.wbg.__wbg_getShaderInfoLog_311c033a58aeed83 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_getShaderInfoLog_9534d164ba660552 = function(arg0, arg1, arg2) { const ret = getObject(arg1).getShaderInfoLog(getObject(arg2)); var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; - imports.wbg.__wbg_getShaderParameter_0003e598f392b3f6 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_getShaderParameter_0cfb9e3e9f43693a = function(arg0, arg1, arg2) { const ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0); return addHeapObject(ret); }; - imports.wbg.__wbg_getSupportedExtensions_642c7d68066b573c = function(arg0) { + imports.wbg.__wbg_getSupportedExtensions_69c26850565e0ddc = function(arg0) { const ret = getObject(arg0).getSupportedExtensions(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_getUniformLocation_90a9c5e63646d30f = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_getUniformLocation_2890393c80bc543b = function(arg0, arg1, arg2, arg3) { const ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3)); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_linkProgram_12cc552bbaf3fcd8 = function(arg0, arg1) { + imports.wbg.__wbg_linkProgram_5bd18d4ebd77a2ea = function(arg0, arg1) { getObject(arg0).linkProgram(getObject(arg1)); }; - imports.wbg.__wbg_pixelStorei_673b59ca3de9bf71 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_pixelStorei_98d826c8b851ed4f = function(arg0, arg1, arg2) { getObject(arg0).pixelStorei(arg1 >>> 0, arg2); }; - imports.wbg.__wbg_scissor_d6dd0b6d33070a27 = function(arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_scissor_1a003e68fc69d37d = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).scissor(arg1, arg2, arg3, arg4); }; - imports.wbg.__wbg_shaderSource_be3c868a31ce0a63 = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_shaderSource_17ebc5d747730d79 = function(arg0, arg1, arg2, arg3) { getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3)); }; - imports.wbg.__wbg_texParameteri_8a613af30322a029 = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_texParameteri_ee2fc6b9f304c84a = function(arg0, arg1, arg2, arg3) { getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3); }; - imports.wbg.__wbg_uniform1i_eb9e0e57747e2b87 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_uniform1i_76ac1d17923cb752 = function(arg0, arg1, arg2) { getObject(arg0).uniform1i(getObject(arg1), arg2); }; - imports.wbg.__wbg_uniform2f_75d4cb678b6f0e13 = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_uniform2f_766ce5b04d89a3d8 = function(arg0, arg1, arg2, arg3) { getObject(arg0).uniform2f(getObject(arg1), arg2, arg3); }; - imports.wbg.__wbg_useProgram_72ab2082025590d6 = function(arg0, arg1) { + imports.wbg.__wbg_useProgram_1532661e648379ca = function(arg0, arg1) { getObject(arg0).useProgram(getObject(arg1)); }; - imports.wbg.__wbg_vertexAttribPointer_39284763b38d2a03 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { + imports.wbg.__wbg_vertexAttribPointer_88b31f05ae55b02c = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6); }; - imports.wbg.__wbg_viewport_d7c73a71f08f3aa1 = function(arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_viewport_037ea26b4fcd0cb2 = function(arg0, arg1, arg2, arg3, arg4) { getObject(arg0).viewport(arg1, arg2, arg3, arg4); }; - imports.wbg.__wbg_name_ae233a503e60a8f9 = function(arg0, arg1) { - const ret = getObject(arg1).name; + imports.wbg.__wbg_items_622c348119794691 = function(arg0) { + const ret = getObject(arg0).items; + return addHeapObject(ret); + }; + imports.wbg.__wbg_files_00ec146c4eb7c254 = function(arg0) { + const ret = getObject(arg0).files; + return isLikeNone(ret) ? 0 : addHeapObject(ret); + }; + imports.wbg.__wbg_getData_226778ec1544b851 = function() { return handleError(function (arg0, arg1, arg2, arg3) { + const ret = getObject(arg1).getData(getStringFromWasm0(arg2, arg3)); const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; + }, arguments) }; + imports.wbg.__wbg_dataTransfer_c3dfe779ef079bcc = function(arg0) { + const ret = getObject(arg0).dataTransfer; + return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_lastModified_75062097476be87c = function(arg0) { - const ret = getObject(arg0).lastModified; + imports.wbg.__wbg_keyCode_8c7511bf92389868 = function(arg0) { + const ret = getObject(arg0).keyCode; return ret; }; - imports.wbg.__wbg_clipboard_4685056afb1bd02b = function(arg0) { + imports.wbg.__wbg_altKey_580c95fbc9461164 = function(arg0) { + const ret = getObject(arg0).altKey; + return ret; + }; + imports.wbg.__wbg_ctrlKey_032bd6905bacba55 = function(arg0) { + const ret = getObject(arg0).ctrlKey; + return ret; + }; + imports.wbg.__wbg_shiftKey_a84ea8856781bd54 = function(arg0) { + const ret = getObject(arg0).shiftKey; + return ret; + }; + imports.wbg.__wbg_metaKey_fe405998712e46a0 = function(arg0) { + const ret = getObject(arg0).metaKey; + return ret; + }; + imports.wbg.__wbg_isComposing_750f53009cbfb833 = function(arg0) { + const ret = getObject(arg0).isComposing; + return ret; + }; + imports.wbg.__wbg_key_0527970a852413ca = function(arg0, arg1) { + const ret = getObject(arg1).key; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getInt32Memory0()[arg0 / 4 + 1] = len1; + getInt32Memory0()[arg0 / 4 + 0] = ptr1; + }; + imports.wbg.__wbg_matches_f58a5f0b7cbb150c = function(arg0) { + const ret = getObject(arg0).matches; + return ret; + }; + imports.wbg.__wbg_clipboard_5af3ff5a73355205 = function(arg0) { const ret = getObject(arg0).clipboard; return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_userAgent_cda809ba30048ef3 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_userAgent_6dbd12d01f988f5f = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg1).userAgent; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_parentElement_065722829508e41a = function(arg0) { - const ret = getObject(arg0).parentElement; - return isLikeNone(ret) ? 0 : addHeapObject(ret); - }; - imports.wbg.__wbg_appendChild_1139b53a65d69bed = function() { return handleError(function (arg0, arg1) { - const ret = getObject(arg0).appendChild(getObject(arg1)); - return addHeapObject(ret); - }, arguments) }; - imports.wbg.__wbg_touches_08fba6286bed8021 = function(arg0) { - const ret = getObject(arg0).touches; + imports.wbg.__wbg_writeText_872183cf5e9535ff = function(arg0, arg1, arg2) { + const ret = getObject(arg0).writeText(getStringFromWasm0(arg1, arg2)); return addHeapObject(ret); }; - imports.wbg.__wbg_changedTouches_0e21b77cd9200e74 = function(arg0) { - const ret = getObject(arg0).changedTouches; - return addHeapObject(ret); + imports.wbg.__wbg_data_bb29dff4a6557791 = function(arg0, arg1) { + const ret = getObject(arg1).data; + var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len1 = WASM_VECTOR_LEN; + getInt32Memory0()[arg0 / 4 + 1] = len1; + getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; - imports.wbg.__wbg_clipboardData_84b041aaf1dd9a2c = function(arg0) { - const ret = getObject(arg0).clipboardData; + imports.wbg.__wbg_setProperty_5144ddce66bbde41 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + getObject(arg0).setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); + }, arguments) }; + imports.wbg.__wbg_length_e5ff7777627bc19e = function(arg0) { + const ret = getObject(arg0).length; + return ret; + }; + imports.wbg.__wbg_get_0aa6219f7b9f2100 = function(arg0, arg1) { + const ret = getObject(arg0)[arg1 >>> 0]; return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_preventDefault_2f38e1471796356f = function(arg0) { - getObject(arg0).preventDefault(); + imports.wbg.__wbg_name_9762a5bb951e00c1 = function(arg0, arg1) { + const ret = getObject(arg1).name; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getInt32Memory0()[arg0 / 4 + 1] = len1; + getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; - imports.wbg.__wbg_stopPropagation_5df9f972a70ef515 = function(arg0) { - getObject(arg0).stopPropagation(); + imports.wbg.__wbg_lastModified_679a43283963f658 = function(arg0) { + const ret = getObject(arg0).lastModified; + return ret; + }; + imports.wbg.__wbg_matches_b18b6193e5512cde = function(arg0) { + const ret = getObject(arg0).matches; + return ret; }; - imports.wbg.__wbg_href_68df54cac0a34be4 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_parentElement_45a9756dc74ff48b = function(arg0) { + const ret = getObject(arg0).parentElement; + return isLikeNone(ret) ? 0 : addHeapObject(ret); + }; + imports.wbg.__wbg_appendChild_4153ba1b5d54d73b = function() { return handleError(function (arg0, arg1) { + const ret = getObject(arg0).appendChild(getObject(arg1)); + return addHeapObject(ret); + }, arguments) }; + imports.wbg.__wbg_href_a5b902312c18d121 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg1).href; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_origin_ab6836ac8535fbb2 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_origin_305402044aa148ce = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg1).origin; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_protocol_68c51e1c422d4ab9 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_protocol_85fb404fceb30ff2 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg1).protocol; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_host_e72469b40dce950f = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_host_3f37d9558f3919b9 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg1).host; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_hostname_d253c57e7fa779ea = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_hostname_0a8eb31c4e0261e9 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg1).hostname; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_port_33d51963fa5f980d = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_port_be2aeb97d2bf49c7 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg1).port; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_search_41ecfaf18d054732 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_search_40927d5af164fdfe = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg1).search; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_hash_afd040db1cf05017 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_hash_163703b5971e593c = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg1).hash; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_identifier_bcd0d7d8565303c9 = function(arg0) { + imports.wbg.__wbg_cancel_162d845e80e9e115 = function(arg0) { + getObject(arg0).cancel(); + }; + imports.wbg.__wbg_speak_eee36fad7b12bb07 = function(arg0, arg1) { + getObject(arg0).speak(getObject(arg1)); + }; + imports.wbg.__wbg_getItem_5c179cd36e9529e8 = function() { return handleError(function (arg0, arg1, arg2, arg3) { + const ret = getObject(arg1).getItem(getStringFromWasm0(arg2, arg3)); + var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len1 = WASM_VECTOR_LEN; + getInt32Memory0()[arg0 / 4 + 1] = len1; + getInt32Memory0()[arg0 / 4 + 0] = ptr1; + }, arguments) }; + imports.wbg.__wbg_setItem_7b55989efb4d45f7 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + getObject(arg0).setItem(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); + }, arguments) }; + imports.wbg.__wbg_touches_156ae51fb3534e87 = function(arg0) { + const ret = getObject(arg0).touches; + return addHeapObject(ret); + }; + imports.wbg.__wbg_changedTouches_2a84bde1dd7ea44a = function(arg0) { + const ret = getObject(arg0).changedTouches; + return addHeapObject(ret); + }; + imports.wbg.__wbg_clipboardData_9f222911c8d847db = function(arg0) { + const ret = getObject(arg0).clipboardData; + return isLikeNone(ret) ? 0 : addHeapObject(ret); + }; + imports.wbg.__wbg_type_023f810f636fd950 = function(arg0, arg1) { + const ret = getObject(arg1).type; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getInt32Memory0()[arg0 / 4 + 1] = len1; + getInt32Memory0()[arg0 / 4 + 0] = ptr1; + }; + imports.wbg.__wbg_message_cbe524c4d6602c7d = function(arg0, arg1) { + const ret = getObject(arg1).message; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getInt32Memory0()[arg0 / 4 + 1] = len1; + getInt32Memory0()[arg0 / 4 + 0] = ptr1; + }; + imports.wbg.__wbg_error_80379d265eec5758 = function(arg0) { + const ret = getObject(arg0).error; + return addHeapObject(ret); + }; + imports.wbg.__wbg_preventDefault_657cbf753df1396c = function(arg0) { + getObject(arg0).preventDefault(); + }; + imports.wbg.__wbg_stopPropagation_806520d93e80bcf7 = function(arg0) { + getObject(arg0).stopPropagation(); + }; + imports.wbg.__wbg_identifier_1bbeeef4f8c3644c = function(arg0) { const ret = getObject(arg0).identifier; return ret; }; - imports.wbg.__wbg_pageX_da46b41c74531c31 = function(arg0) { + imports.wbg.__wbg_pageX_1a662c5236b65a8c = function(arg0) { const ret = getObject(arg0).pageX; return ret; }; - imports.wbg.__wbg_pageY_1a5658948b63f9ed = function(arg0) { + imports.wbg.__wbg_pageY_7d28263e3ca120f8 = function(arg0) { const ret = getObject(arg0).pageY; return ret; }; - imports.wbg.__wbg_force_77bad74f81971385 = function(arg0) { + imports.wbg.__wbg_force_a23dc68752bbd295 = function(arg0) { const ret = getObject(arg0).force; return ret; }; - imports.wbg.__wbg_setonopen_39eae72f263bb916 = function(arg0, arg1) { + imports.wbg.__wbg_setonopen_701fb056991a7b21 = function(arg0, arg1) { getObject(arg0).onopen = getObject(arg1); }; - imports.wbg.__wbg_setonerror_47b5fb5c5b922008 = function(arg0, arg1) { + imports.wbg.__wbg_setonerror_7d239f63e6273fd7 = function(arg0, arg1) { getObject(arg0).onerror = getObject(arg1); }; - imports.wbg.__wbg_setonclose_83ec05777686651a = function(arg0, arg1) { + imports.wbg.__wbg_setonclose_4ad41bb378f1fd66 = function(arg0, arg1) { getObject(arg0).onclose = getObject(arg1); }; - imports.wbg.__wbg_setonmessage_0e779cecde2f6697 = function(arg0, arg1) { + imports.wbg.__wbg_setonmessage_3df13fd356f531d6 = function(arg0, arg1) { getObject(arg0).onmessage = getObject(arg1); }; - imports.wbg.__wbg_setbinaryType_912a58ff49a07245 = function(arg0, arg1) { + imports.wbg.__wbg_setbinaryType_bfaa2b91f5e49737 = function(arg0, arg1) { getObject(arg0).binaryType = takeObject(arg1); }; - imports.wbg.__wbg_new_c70a4fdc1ed8f3bb = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_new_d3ba66fcfe3ebcc6 = function() { return handleError(function (arg0, arg1) { const ret = new WebSocket(getStringFromWasm0(arg0, arg1)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_close_b57426e46b2cde05 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_close_85838c8d50b026da = function() { return handleError(function (arg0) { getObject(arg0).close(); }, arguments) }; - imports.wbg.__wbg_send_1cc5e505b0cbc15c = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_send_115b7e92eb793bd9 = function() { return handleError(function (arg0, arg1, arg2) { getObject(arg0).send(getStringFromWasm0(arg1, arg2)); }, arguments) }; - imports.wbg.__wbg_send_43a6924260160efb = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_send_8e8f1c88be375fc1 = function() { return handleError(function (arg0, arg1, arg2) { getObject(arg0).send(getArrayU8FromWasm0(arg1, arg2)); }, arguments) }; - imports.wbg.__wbg_instanceof_Blob_6a7a1c5e87055f74 = function(arg0) { + imports.wbg.__wbg_instanceof_HtmlInputElement_189f182751dc1f5e = function(arg0) { + let result; + try { + result = getObject(arg0) instanceof HTMLInputElement; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_setautofocus_3ac9b87146e5cd21 = function(arg0, arg1) { + getObject(arg0).autofocus = arg1 !== 0; + }; + imports.wbg.__wbg_setsize_c0546cf8c51a0e77 = function(arg0, arg1) { + getObject(arg0).size = arg1 >>> 0; + }; + imports.wbg.__wbg_value_99f5294791d62576 = function(arg0, arg1) { + const ret = getObject(arg1).value; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getInt32Memory0()[arg0 / 4 + 1] = len1; + getInt32Memory0()[arg0 / 4 + 0] = ptr1; + }; + imports.wbg.__wbg_setvalue_bba31de32cdbb32c = function(arg0, arg1, arg2) { + getObject(arg0).value = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_length_29ed7aaf6bb5a432 = function(arg0) { + const ret = getObject(arg0).length; + return ret; + }; + imports.wbg.__wbg_get_a5a83ff42873c81d = function(arg0, arg1) { + const ret = getObject(arg0)[arg1 >>> 0]; + return isLikeNone(ret) ? 0 : addHeapObject(ret); + }; + imports.wbg.__wbg_data_bbdd2d77ab2f7e78 = function(arg0) { + const ret = getObject(arg0).data; + return addHeapObject(ret); + }; + imports.wbg.__wbg_clientX_2d1be024f35f3981 = function(arg0) { + const ret = getObject(arg0).clientX; + return ret; + }; + imports.wbg.__wbg_clientY_967af1c2b0177a9f = function(arg0) { + const ret = getObject(arg0).clientY; + return ret; + }; + imports.wbg.__wbg_ctrlKey_2817108375a63e7c = function(arg0) { + const ret = getObject(arg0).ctrlKey; + return ret; + }; + imports.wbg.__wbg_shiftKey_87d2a9527cefdf3d = function(arg0) { + const ret = getObject(arg0).shiftKey; + return ret; + }; + imports.wbg.__wbg_metaKey_35f1fd33c4e0c5df = function(arg0) { + const ret = getObject(arg0).metaKey; + return ret; + }; + imports.wbg.__wbg_button_43d11b000a7126cf = function(arg0) { + const ret = getObject(arg0).button; + return ret; + }; + imports.wbg.__wbg_length_82b5ad246042df8b = function(arg0) { + const ret = getObject(arg0).length; + return ret; + }; + imports.wbg.__wbg_item_f29aac628e55f885 = function(arg0, arg1) { + const ret = getObject(arg0).item(arg1 >>> 0); + return isLikeNone(ret) ? 0 : addHeapObject(ret); + }; + imports.wbg.__wbg_get_1a995928c199f987 = function(arg0, arg1) { + const ret = getObject(arg0)[arg1 >>> 0]; + return isLikeNone(ret) ? 0 : addHeapObject(ret); + }; + imports.wbg.__wbg_now_ef71656beb948bc8 = function(arg0) { + const ret = getObject(arg0).now(); + return ret; + }; + imports.wbg.__wbg_setvolume_f099e05c57d52daf = function(arg0, arg1) { + getObject(arg0).volume = arg1; + }; + imports.wbg.__wbg_setrate_001282e5d4db3fa8 = function(arg0, arg1) { + getObject(arg0).rate = arg1; + }; + imports.wbg.__wbg_setpitch_0c37156ed77bab7a = function(arg0, arg1) { + getObject(arg0).pitch = arg1; + }; + imports.wbg.__wbg_newwithtext_72d67a690afe4bfd = function() { return handleError(function (arg0, arg1) { + const ret = new SpeechSynthesisUtterance(getStringFromWasm0(arg0, arg1)); + return addHeapObject(ret); + }, arguments) }; + imports.wbg.__wbg_instanceof_Blob_adb51fbe6a6a1c34 = function(arg0) { let result; try { result = getObject(arg0) instanceof Blob; - } catch { + } catch (_) { result = false; } const ret = result; return ret; }; - imports.wbg.__wbg_size_a058ca48cf388fd6 = function(arg0) { + imports.wbg.__wbg_size_97217f6c840f58b2 = function(arg0) { const ret = getObject(arg0).size; return ret; }; - imports.wbg.__wbg_arrayBuffer_932c610fd9598bef = function(arg0) { + imports.wbg.__wbg_type_6c31bd72c3383cba = function(arg0, arg1) { + const ret = getObject(arg1).type; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getInt32Memory0()[arg0 / 4 + 1] = len1; + getInt32Memory0()[arg0 / 4 + 0] = ptr1; + }; + imports.wbg.__wbg_arrayBuffer_800ebf8dca614366 = function(arg0) { const ret = getObject(arg0).arrayBuffer(); return addHeapObject(ret); }; - imports.wbg.__wbg_data_64c5449b2adfdff6 = function(arg0, arg1) { - const ret = getObject(arg1).data; - var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len1 = WASM_VECTOR_LEN; - getInt32Memory0()[arg0 / 4 + 1] = len1; - getInt32Memory0()[arg0 / 4 + 0] = ptr1; + imports.wbg.__wbg_width_faa64c8759fdff80 = function(arg0) { + const ret = getObject(arg0).width; + return ret; }; - imports.wbg.__wbg_setProperty_0a5af0fd1a9e8e25 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); - }, arguments) }; - imports.wbg.__wbg_top_7f927afdb53442c3 = function(arg0) { + imports.wbg.__wbg_height_bdf3f02c617ef055 = function(arg0) { + const ret = getObject(arg0).height; + return ret; + }; + imports.wbg.__wbg_top_44a8c250dcea0251 = function(arg0) { const ret = getObject(arg0).top; return ret; }; - imports.wbg.__wbg_left_d363f2200ca7bca7 = function(arg0) { + imports.wbg.__wbg_left_52377628791ffcf6 = function(arg0) { const ret = getObject(arg0).left; return ret; }; - imports.wbg.__wbg_getItem_84095995ffbc84fc = function() { return handleError(function (arg0, arg1, arg2, arg3) { - const ret = getObject(arg1).getItem(getStringFromWasm0(arg2, arg3)); - var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len1 = WASM_VECTOR_LEN; - getInt32Memory0()[arg0 / 4 + 1] = len1; - getInt32Memory0()[arg0 / 4 + 0] = ptr1; + imports.wbg.__wbg_addEventListener_f984e99465a6a7f4 = function() { return handleError(function (arg0, arg1, arg2, arg3) { + getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3)); }, arguments) }; - imports.wbg.__wbg_setItem_e9a65f0e6892d9c9 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).setItem(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); + imports.wbg.__wbg_removeEventListener_acfc154b998d806b = function() { return handleError(function (arg0, arg1, arg2, arg3) { + getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3)); }, arguments) }; - imports.wbg.__wbg_length_e9385289cac41215 = function(arg0) { - const ret = getObject(arg0).length; - return ret; + imports.wbg.__wbg_bindVertexArrayOES_fd441111fdf91a30 = function(arg0, arg1) { + getObject(arg0).bindVertexArrayOES(getObject(arg1)); }; - imports.wbg.__wbg_item_3ce7f6824dd8c355 = function(arg0, arg1) { - const ret = getObject(arg0).item(arg1 >>> 0); + imports.wbg.__wbg_createVertexArrayOES_51189386ff9903a2 = function(arg0) { + const ret = getObject(arg0).createVertexArrayOES(); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_get_969f46cb0fad92dc = function(arg0, arg1) { - const ret = getObject(arg0)[arg1 >>> 0]; - return isLikeNone(ret) ? 0 : addHeapObject(ret); + imports.wbg.__wbg_deltaX_5ddc4c69f2887db9 = function(arg0) { + const ret = getObject(arg0).deltaX; + return ret; + }; + imports.wbg.__wbg_deltaY_0ba2dcd707862292 = function(arg0) { + const ret = getObject(arg0).deltaY; + return ret; + }; + imports.wbg.__wbg_deltaMode_ed2d0b2e0a547b92 = function(arg0) { + const ret = getObject(arg0).deltaMode; + return ret; + }; + imports.wbg.__wbg_result_0a06634471fffc2d = function() { return handleError(function (arg0) { + const ret = getObject(arg0).result; + return addHeapObject(ret); + }, arguments) }; + imports.wbg.__wbg_setonloadend_67949e1f23852dc7 = function(arg0, arg1) { + getObject(arg0).onloadend = getObject(arg1); + }; + imports.wbg.__wbg_new_1401c89cd913546d = function() { return handleError(function () { + const ret = new FileReader(); + return addHeapObject(ret); + }, arguments) }; + imports.wbg.__wbg_readAsArrayBuffer_8656ba15dd0b0c0f = function() { return handleError(function (arg0, arg1) { + getObject(arg0).readAsArrayBuffer(getObject(arg1)); + }, arguments) }; + imports.wbg.__wbg_instanceof_HtmlCanvasElement_1e81f71f630e46bc = function(arg0) { + let result; + try { + result = getObject(arg0) instanceof HTMLCanvasElement; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_width_aa1ac55fb41db6ae = function(arg0) { + const ret = getObject(arg0).width; + return ret; }; - imports.wbg.__wbg_get_7303ed2ef026b2f5 = function(arg0, arg1) { + imports.wbg.__wbg_setwidth_233645b297bb3318 = function(arg0, arg1) { + getObject(arg0).width = arg1 >>> 0; + }; + imports.wbg.__wbg_height_bea901cd16645fb7 = function(arg0) { + const ret = getObject(arg0).height; + return ret; + }; + imports.wbg.__wbg_setheight_fcb491cf54e3527c = function(arg0, arg1) { + getObject(arg0).height = arg1 >>> 0; + }; + imports.wbg.__wbg_getContext_dfc91ab0837db1d1 = function() { return handleError(function (arg0, arg1, arg2) { + const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2)); + return isLikeNone(ret) ? 0 : addHeapObject(ret); + }, arguments) }; + imports.wbg.__wbg_get_0ee8ea3c7c984c45 = function(arg0, arg1) { const ret = getObject(arg0)[arg1 >>> 0]; return addHeapObject(ret); }; - imports.wbg.__wbg_length_820c786973abdd8a = function(arg0) { + imports.wbg.__wbg_length_161c0d89c6535c1d = function(arg0) { const ret = getObject(arg0).length; return ret; }; - imports.wbg.__wbg_newnoargs_c9e6043b8ad84109 = function(arg0, arg1) { + imports.wbg.__wbg_newnoargs_cfecb3965268594c = function(arg0, arg1) { const ret = new Function(getStringFromWasm0(arg0, arg1)); return addHeapObject(ret); }; - imports.wbg.__wbg_call_557a2f2deacc4912 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_call_3f093dd26d5569f8 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).call(getObject(arg1)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_self_742dd6eab3e9211e = function() { return handleError(function () { + imports.wbg.__wbg_self_05040bd9523805b9 = function() { return handleError(function () { const ret = self.self; return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_window_c409e731db53a0e2 = function() { return handleError(function () { + imports.wbg.__wbg_window_adc720039f2cb14f = function() { return handleError(function () { const ret = window.window; return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_globalThis_b70c095388441f2d = function() { return handleError(function () { + imports.wbg.__wbg_globalThis_622105db80c1457d = function() { return handleError(function () { const ret = globalThis.globalThis; return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_global_1c72617491ed7194 = function() { return handleError(function () { + imports.wbg.__wbg_global_f56b013ed9bcf359 = function() { return handleError(function () { const ret = global.global; return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbindgen_is_undefined = function(arg0) { - const ret = getObject(arg0) === undefined; - return ret; - }; - imports.wbg.__wbg_instanceof_ArrayBuffer_ef2632aa0d4bfff8 = function(arg0) { + imports.wbg.__wbg_instanceof_ArrayBuffer_9221fa854ffb71b5 = function(arg0) { let result; try { result = getObject(arg0) instanceof ArrayBuffer; - } catch { + } catch (_) { result = false; } const ret = result; return ret; }; - imports.wbg.__wbg_call_587b30eea3e09332 = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_call_67f2111acd2dfdb6 = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).call(getObject(arg1), getObject(arg2)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_new_2b55e405e4af4986 = function(arg0, arg1) { + imports.wbg.__wbg_new_70828a4353259d4b = function(arg0, arg1) { try { var state0 = {a: arg0, b: arg1}; var cb0 = (arg0, arg1) => { const a = state0.a; state0.a = 0; try { - return __wbg_adapter_524(a, state0.b, arg0, arg1); + return __wbg_adapter_550(a, state0.b, arg0, arg1); } finally { state0.a = a; } @@ -1368,58 +1417,58 @@ function __wbg_get_imports() { state0.a = state0.b = 0; } }; - imports.wbg.__wbg_resolve_ae38ad63c43ff98b = function(arg0) { + imports.wbg.__wbg_resolve_5da6faf2c96fd1d5 = function(arg0) { const ret = Promise.resolve(getObject(arg0)); return addHeapObject(ret); }; - imports.wbg.__wbg_then_8df675b8bb5d5e3c = function(arg0, arg1) { + imports.wbg.__wbg_then_f9e58f5a50f43eae = function(arg0, arg1) { const ret = getObject(arg0).then(getObject(arg1)); return addHeapObject(ret); }; - imports.wbg.__wbg_then_835b073a479138e5 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_then_20a5920e447d1cb1 = function(arg0, arg1, arg2) { const ret = getObject(arg0).then(getObject(arg1), getObject(arg2)); return addHeapObject(ret); }; - imports.wbg.__wbg_buffer_55ba7a6b1b92e2ac = function(arg0) { + imports.wbg.__wbg_buffer_b914fb8b50ebbc3e = function(arg0) { const ret = getObject(arg0).buffer; return addHeapObject(ret); }; - imports.wbg.__wbg_newwithbyteoffsetandlength_abbb764f85f16b6b = function(arg0, arg1, arg2) { + imports.wbg.__wbg_newwithbyteoffsetandlength_42904a72cefa1e00 = function(arg0, arg1, arg2) { const ret = new Int8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); return addHeapObject(ret); }; - imports.wbg.__wbg_newwithbyteoffsetandlength_6889cd5c48bfda26 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_newwithbyteoffsetandlength_0aafe9b39ed85f71 = function(arg0, arg1, arg2) { const ret = new Int16Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); return addHeapObject(ret); }; - imports.wbg.__wbg_newwithbyteoffsetandlength_23602c96f86e952a = function(arg0, arg1, arg2) { + imports.wbg.__wbg_newwithbyteoffsetandlength_9ca2c1faeb430732 = function(arg0, arg1, arg2) { const ret = new Int32Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); return addHeapObject(ret); }; - imports.wbg.__wbg_newwithbyteoffsetandlength_88d1d8be5df94b9b = function(arg0, arg1, arg2) { + imports.wbg.__wbg_newwithbyteoffsetandlength_0de9ee56e9f6ee6e = function(arg0, arg1, arg2) { const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); return addHeapObject(ret); }; - imports.wbg.__wbg_new_09938a7d020f049b = function(arg0) { + imports.wbg.__wbg_new_b1f2d6842d615181 = function(arg0) { const ret = new Uint8Array(getObject(arg0)); return addHeapObject(ret); }; - imports.wbg.__wbg_set_3698e3ca519b3c3c = function(arg0, arg1, arg2) { + imports.wbg.__wbg_set_7d988c98e6ced92d = function(arg0, arg1, arg2) { getObject(arg0).set(getObject(arg1), arg2 >>> 0); }; - imports.wbg.__wbg_length_0aab7ffd65ad19ed = function(arg0) { + imports.wbg.__wbg_length_21c4b0ae73cba59d = function(arg0) { const ret = getObject(arg0).length; return ret; }; - imports.wbg.__wbg_newwithbyteoffsetandlength_051cff28f608b6cb = function(arg0, arg1, arg2) { + imports.wbg.__wbg_newwithbyteoffsetandlength_8c2171d5a9b7f791 = function(arg0, arg1, arg2) { const ret = new Uint16Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); return addHeapObject(ret); }; - imports.wbg.__wbg_newwithbyteoffsetandlength_fae0a69639559788 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_newwithbyteoffsetandlength_7f2d9491ea8c746e = function(arg0, arg1, arg2) { const ret = new Uint32Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); return addHeapObject(ret); }; - imports.wbg.__wbg_newwithbyteoffsetandlength_ab5b524f83702d8d = function(arg0, arg1, arg2) { + imports.wbg.__wbg_newwithbyteoffsetandlength_5fd0a60d38f47fa6 = function(arg0, arg1, arg2) { const ret = new Float32Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); return addHeapObject(ret); }; @@ -1437,36 +1486,36 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper469 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 104, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper491 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 92, __wbg_adapter_28); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper471 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 104, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper493 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 92, __wbg_adapter_28); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper473 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 104, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper495 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 92, __wbg_adapter_28); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper475 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 104, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper497 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 92, __wbg_adapter_28); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper804 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 253, __wbg_adapter_35); + imports.wbg.__wbindgen_closure_wrapper737 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 196, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper805 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 253, __wbg_adapter_38); + imports.wbg.__wbindgen_closure_wrapper739 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 196, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper808 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 253, __wbg_adapter_41); + imports.wbg.__wbindgen_closure_wrapper741 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 196, __wbg_adapter_43); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper875 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 281, __wbg_adapter_44); + imports.wbg.__wbindgen_closure_wrapper830 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 231, __wbg_adapter_46); return addHeapObject(ret); }; @@ -1507,7 +1556,7 @@ function initSync(module) { async function __wbg_init(input) { if (wasm !== undefined) return wasm; - if (typeof input === 'undefined' && script_src !== 'undefined') { + if (typeof input === 'undefined' && typeof script_src !== 'undefined') { input = script_src.replace(/\.js$/, '_bg.wasm'); } const imports = __wbg_get_imports(); diff --git a/docs/example_app_bg.wasm b/docs/example_app_bg.wasm index 167e47900df68e0ce7ae05a6c9a535518321c65d..02dfd41bd862c473ded0c58a463108cc3aa5879d 100644 GIT binary patch delta 927231 zcmdSC3A|lZedxc>Jl}hg+>AHFK8FBdk~0sW$Uzf{h+w5peGWHggxpMUa{(vVvEmaY z){qk))KW`dY2_)ks90%54VAv~lvdi(KKi7UR&zqQuhXPLrTkZXO0+wY3-XHn-o6|)n-~_JQ5p%9nf2