diff --git a/app-3e0fcd662b1868e3_bg.wasm b/app-3e0fcd662b1868e3_bg.wasm deleted file mode 100644 index ef98fb7..0000000 Binary files a/app-3e0fcd662b1868e3_bg.wasm and /dev/null differ diff --git a/app-3e0fcd662b1868e3.js b/app-b8b72f7b3da64ea5.js similarity index 71% rename from app-3e0fcd662b1868e3.js rename to app-b8b72f7b3da64ea5.js index 155fad2..045644d 100644 --- a/app-3e0fcd662b1868e3.js +++ b/app-b8b72f7b3da64ea5.js @@ -1,121 +1,14 @@ let wasm; -let cachedUint8ArrayMemory0 = null; - -function getUint8ArrayMemory0() { - if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { - cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); - } - return cachedUint8ArrayMemory0; -} - -let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); - -cachedTextDecoder.decode(); - -const MAX_SAFARI_DECODE_BYTES = 2146435072; -let numBytesDecoded = 0; -function decodeText(ptr, len) { - numBytesDecoded += len; - if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) { - cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); - cachedTextDecoder.decode(); - numBytesDecoded = len; - } - return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); -} - -function getStringFromWasm0(ptr, len) { - ptr = ptr >>> 0; - return decodeText(ptr, len); -} - -let WASM_VECTOR_LEN = 0; - -const cachedTextEncoder = new TextEncoder(); - -if (!('encodeInto' in cachedTextEncoder)) { - cachedTextEncoder.encodeInto = function (arg, view) { - const buf = cachedTextEncoder.encode(arg); - view.set(buf); - return { - read: arg.length, - written: buf.length - }; - } -} - -function passStringToWasm0(arg, malloc, realloc) { - - if (realloc === undefined) { - const buf = cachedTextEncoder.encode(arg); - const ptr = malloc(buf.length, 1) >>> 0; - getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf); - WASM_VECTOR_LEN = buf.length; - return ptr; - } - - let len = arg.length; - let ptr = malloc(len, 1) >>> 0; - - const mem = getUint8ArrayMemory0(); - - let offset = 0; - - for (; offset < len; offset++) { - const code = arg.charCodeAt(offset); - if (code > 0x7F) break; - mem[ptr + offset] = code; - } - - if (offset !== len) { - if (offset !== 0) { - arg = arg.slice(offset); - } - ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; - const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len); - const ret = cachedTextEncoder.encodeInto(arg, view); - - offset += ret.written; - ptr = realloc(ptr, len, offset, 1) >>> 0; - } - - WASM_VECTOR_LEN = offset; - return ptr; -} - -let cachedDataViewMemory0 = null; - -function getDataViewMemory0() { - if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) { - cachedDataViewMemory0 = new DataView(wasm.memory.buffer); - } - return cachedDataViewMemory0; -} - function addToExternrefTable0(obj) { const idx = wasm.__externref_table_alloc(); - wasm.__wbindgen_export_4.set(idx, obj); + wasm.__wbindgen_externrefs.set(idx, obj); return idx; } -function handleError(f, args) { - try { - return f.apply(this, args); - } catch (e) { - const idx = addToExternrefTable0(e); - wasm.__wbindgen_exn_store(idx); - } -} - -function isLikeNone(x) { - return x === undefined || x === null; -} - -function getArrayU8FromWasm0(ptr, len) { - ptr = ptr >>> 0; - return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len); -} +const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined') + ? { register: () => {}, unregister: () => {} } + : new FinalizationRegistry(state => state.dtor(state.a, state.b)); function debugString(val) { // primitive types @@ -182,13 +75,44 @@ function debugString(val) { return className; } -const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined') - ? { register: () => {}, unregister: () => {} } - : new FinalizationRegistry( -state => { - wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b); +function getArrayU8FromWasm0(ptr, len) { + ptr = ptr >>> 0; + return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len); +} + +let cachedDataViewMemory0 = null; +function getDataViewMemory0() { + if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) { + cachedDataViewMemory0 = new DataView(wasm.memory.buffer); + } + return cachedDataViewMemory0; +} + +function getStringFromWasm0(ptr, len) { + ptr = ptr >>> 0; + return decodeText(ptr, len); +} + +let cachedUint8ArrayMemory0 = null; +function getUint8ArrayMemory0() { + if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { + cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); + } + return cachedUint8ArrayMemory0; +} + +function handleError(f, args) { + try { + return f.apply(this, args); + } catch (e) { + const idx = addToExternrefTable0(e); + wasm.__wbindgen_exn_store(idx); + } +} + +function isLikeNone(x) { + return x === undefined || x === null; } -); function makeClosure(arg0, arg1, dtor, f) { const state = { a: arg0, b: arg1, cnt: 1, dtor }; @@ -201,13 +125,16 @@ function makeClosure(arg0, arg1, dtor, f) { try { return f(state.a, state.b, ...args); } finally { - if (--state.cnt === 0) { - wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b); state.a = 0; - CLOSURE_DTORS.unregister(state); - } + real._wbg_cb_unref(); + } + }; + real._wbg_cb_unref = () => { + if (--state.cnt === 0) { + state.dtor(state.a, state.b); + state.a = 0; + CLOSURE_DTORS.unregister(state); } }; - real.original = state; CLOSURE_DTORS.register(real, state, state); return real; } @@ -225,44 +152,113 @@ function makeMutClosure(arg0, arg1, dtor, f) { try { return f(a, state.b, ...args); } finally { - if (--state.cnt === 0) { - wasm.__wbindgen_export_6.get(state.dtor)(a, state.b); - CLOSURE_DTORS.unregister(state); - } else { - state.a = a; - } + state.a = a; + real._wbg_cb_unref(); + } + }; + real._wbg_cb_unref = () => { + if (--state.cnt === 0) { + state.dtor(state.a, state.b); + state.a = 0; + CLOSURE_DTORS.unregister(state); } }; - real.original = state; CLOSURE_DTORS.register(real, state, state); return real; } -function __wbg_adapter_10(arg0, arg1) { - wasm.wasm_bindgen__convert__closures_____invoke__h6cf13290b0f8fcb7(arg0, arg1); + +function passStringToWasm0(arg, malloc, realloc) { + if (realloc === undefined) { + const buf = cachedTextEncoder.encode(arg); + const ptr = malloc(buf.length, 1) >>> 0; + getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf); + WASM_VECTOR_LEN = buf.length; + return ptr; + } + + let len = arg.length; + let ptr = malloc(len, 1) >>> 0; + + const mem = getUint8ArrayMemory0(); + + let offset = 0; + + for (; offset < len; offset++) { + const code = arg.charCodeAt(offset); + if (code > 0x7F) break; + mem[ptr + offset] = code; + } + if (offset !== len) { + if (offset !== 0) { + arg = arg.slice(offset); + } + ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; + const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len); + const ret = cachedTextEncoder.encodeInto(arg, view); + + offset += ret.written; + ptr = realloc(ptr, len, offset, 1) >>> 0; + } + + WASM_VECTOR_LEN = offset; + return ptr; } -function __wbg_adapter_13(arg0, arg1, arg2) { - wasm.closure564_externref_shim(arg0, arg1, arg2); +let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); +cachedTextDecoder.decode(); +const MAX_SAFARI_DECODE_BYTES = 2146435072; +let numBytesDecoded = 0; +function decodeText(ptr, len) { + numBytesDecoded += len; + if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) { + cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); + cachedTextDecoder.decode(); + numBytesDecoded = len; + } + return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); } -function __wbg_adapter_20(arg0, arg1) { - wasm.wasm_bindgen__convert__closures_____invoke__hc12703559fce24d7(arg0, arg1); +const cachedTextEncoder = new TextEncoder(); + +if (!('encodeInto' in cachedTextEncoder)) { + cachedTextEncoder.encodeInto = function (arg, view) { + const buf = cachedTextEncoder.encode(arg); + view.set(buf); + return { + read: arg.length, + written: buf.length + }; + } } -function __wbg_adapter_27(arg0, arg1, arg2) { - wasm.closure562_externref_shim(arg0, arg1, arg2); +let WASM_VECTOR_LEN = 0; + +function wasm_bindgen__convert__closures_____invoke__h4e92adf8dee90282(arg0, arg1) { + wasm.wasm_bindgen__convert__closures_____invoke__h4e92adf8dee90282(arg0, arg1); } -function __wbg_adapter_32(arg0, arg1, arg2) { - wasm.closure1286_externref_shim(arg0, arg1, arg2); +function wasm_bindgen__convert__closures_____invoke__h5475ed1d0ffadd1d(arg0, arg1, arg2) { + wasm.wasm_bindgen__convert__closures_____invoke__h5475ed1d0ffadd1d(arg0, arg1, arg2); } -function __wbg_adapter_35(arg0, arg1, arg2) { - wasm.closure1329_externref_shim(arg0, arg1, arg2); +function wasm_bindgen__convert__closures_____invoke__hc5fe30a221f009d7(arg0, arg1, arg2) { + wasm.wasm_bindgen__convert__closures_____invoke__hc5fe30a221f009d7(arg0, arg1, arg2); } -function __wbg_adapter_286(arg0, arg1, arg2, arg3) { - wasm.closure1342_externref_shim(arg0, arg1, arg2, arg3); +function wasm_bindgen__convert__closures_____invoke__h07c77fa3591c939f(arg0, arg1) { + wasm.wasm_bindgen__convert__closures_____invoke__h07c77fa3591c939f(arg0, arg1); +} + +function wasm_bindgen__convert__closures_____invoke__hce26a0db26696aea(arg0, arg1, arg2) { + wasm.wasm_bindgen__convert__closures_____invoke__hce26a0db26696aea(arg0, arg1, arg2); +} + +function wasm_bindgen__convert__closures_____invoke__hc5c04b5ba49ccfb9(arg0, arg1, arg2) { + wasm.wasm_bindgen__convert__closures_____invoke__hc5c04b5ba49ccfb9(arg0, arg1, arg2); +} + +function wasm_bindgen__convert__closures_____invoke__ha942a44eff540ade(arg0, arg1, arg2, arg3) { + wasm.wasm_bindgen__convert__closures_____invoke__ha942a44eff540ade(arg0, arg1, arg2, arg3); } const __wbindgen_enum_ReadableStreamType = ["bytes"]; @@ -275,15 +271,21 @@ const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'u ? { register: () => {}, unregister: () => {} } : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr >>> 0, 1)); -export class IntoUnderlyingByteSource { +const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined') + ? { register: () => {}, unregister: () => {} } + : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr >>> 0, 1)); +const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined') + ? { register: () => {}, unregister: () => {} } + : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr >>> 0, 1)); + +export class IntoUnderlyingByteSource { __destroy_into_raw() { const ptr = this.__wbg_ptr; this.__wbg_ptr = 0; IntoUnderlyingByteSourceFinalization.unregister(this); return ptr; } - free() { const ptr = this.__destroy_into_raw(); wasm.__wbg_intounderlyingbytesource_free(ptr, 0); @@ -323,19 +325,13 @@ export class IntoUnderlyingByteSource { } if (Symbol.dispose) IntoUnderlyingByteSource.prototype[Symbol.dispose] = IntoUnderlyingByteSource.prototype.free; -const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined') - ? { register: () => {}, unregister: () => {} } - : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr >>> 0, 1)); - export class IntoUnderlyingSink { - __destroy_into_raw() { const ptr = this.__wbg_ptr; this.__wbg_ptr = 0; IntoUnderlyingSinkFinalization.unregister(this); return ptr; } - free() { const ptr = this.__destroy_into_raw(); wasm.__wbg_intounderlyingsink_free(ptr, 0); @@ -368,19 +364,13 @@ export class IntoUnderlyingSink { } if (Symbol.dispose) IntoUnderlyingSink.prototype[Symbol.dispose] = IntoUnderlyingSink.prototype.free; -const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined') - ? { register: () => {}, unregister: () => {} } - : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr >>> 0, 1)); - export class IntoUnderlyingSource { - __destroy_into_raw() { const ptr = this.__wbg_ptr; this.__wbg_ptr = 0; IntoUnderlyingSourceFinalization.unregister(this); return ptr; } - free() { const ptr = this.__destroy_into_raw(); wasm.__wbg_intounderlyingsource_free(ptr, 0); @@ -407,7 +397,6 @@ async function __wbg_load(module, imports) { if (typeof WebAssembly.instantiateStreaming === 'function') { try { return await WebAssembly.instantiateStreaming(module, imports); - } catch (e) { const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type); @@ -422,13 +411,11 @@ async function __wbg_load(module, imports) { const bytes = await module.arrayBuffer(); return await WebAssembly.instantiate(bytes, imports); - } else { const instance = await WebAssembly.instantiate(module, imports); if (instance instanceof WebAssembly.Instance) { return { instance, module }; - } else { return instance; } @@ -438,11 +425,11 @@ async function __wbg_load(module, imports) { function __wbg_get_imports() { const imports = {}; imports.wbg = {}; - imports.wbg.__wbg_Error_e17e777aac105295 = function(arg0, arg1) { + imports.wbg.__wbg_Error_52673b7de5a0ca89 = function(arg0, arg1) { const ret = Error(getStringFromWasm0(arg0, arg1)); return ret; }; - imports.wbg.__wbg_Number_998bea33bd87c3e0 = function(arg0) { + imports.wbg.__wbg_Number_2d1dcfcf4ec51736 = function(arg0) { const ret = Number(arg0); return ret; }; @@ -457,13 +444,92 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; + imports.wbg.__wbg___wbindgen_bigint_get_as_i64_6e32f5e6aff02e1d = function(arg0, arg1) { + const v = arg1; + const ret = typeof(v) === 'bigint' ? v : undefined; + getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true); + }; + imports.wbg.__wbg___wbindgen_boolean_get_dea25b33882b895b = function(arg0) { + const v = arg0; + const ret = typeof(v) === 'boolean' ? v : undefined; + return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0; + }; + imports.wbg.__wbg___wbindgen_debug_string_adfb662ae34724b6 = function(arg0, 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); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg___wbindgen_in_0d3e1e8f0c669317 = function(arg0, arg1) { + const ret = arg0 in arg1; + return ret; + }; + imports.wbg.__wbg___wbindgen_is_bigint_0e1a2e3f55cfae27 = function(arg0) { + const ret = typeof(arg0) === 'bigint'; + return ret; + }; + imports.wbg.__wbg___wbindgen_is_falsy_7b9692021c137978 = function(arg0) { + const ret = !arg0; + return ret; + }; + imports.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd = function(arg0) { + const ret = typeof(arg0) === 'function'; + return ret; + }; + imports.wbg.__wbg___wbindgen_is_null_dfda7d66506c95b5 = function(arg0) { + const ret = arg0 === null; + return ret; + }; + imports.wbg.__wbg___wbindgen_is_object_ce774f3490692386 = function(arg0) { + const val = arg0; + const ret = typeof(val) === 'object' && val !== null; + return ret; + }; + imports.wbg.__wbg___wbindgen_is_string_704ef9c8fc131030 = function(arg0) { + const ret = typeof(arg0) === 'string'; + return ret; + }; + imports.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269 = function(arg0) { + const ret = arg0 === undefined; + return ret; + }; + imports.wbg.__wbg___wbindgen_jsval_eq_b6101cc9cef1fe36 = function(arg0, arg1) { + const ret = arg0 === arg1; + return ret; + }; + imports.wbg.__wbg___wbindgen_jsval_loose_eq_766057600fdd1b0d = function(arg0, arg1) { + const ret = arg0 == arg1; + return ret; + }; + imports.wbg.__wbg___wbindgen_number_get_9619185a74197f95 = function(arg0, 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.__wbg___wbindgen_string_get_a2a31e16edf96e42 = function(arg0, 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; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e = function(arg0, arg1) { + throw new Error(getStringFromWasm0(arg0, arg1)); + }; + imports.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7 = function(arg0) { + arg0._wbg_cb_unref(); + }; imports.wbg.__wbg_addCommand_86418b442c0a4ae0 = function(arg0, arg1) { arg0.addCommand(arg1); }; - imports.wbg.__wbg_addEventListener_775911544ac9d643 = function() { return handleError(function (arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_addEventListener_6a82629b3d430a48 = function() { return handleError(function (arg0, arg1, arg2, arg3) { arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3); }, arguments) }; - imports.wbg.__wbg_appendChild_87a6cc0aeb132c06 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_appendChild_7465eba84213c75f = function() { return handleError(function (arg0, arg1) { const ret = arg0.appendChild(arg1); return ret; }, arguments) }; @@ -471,11 +537,11 @@ function __wbg_get_imports() { const ret = globalThis.FloatingUIDOM.arrow(arg0); return ret; }; - imports.wbg.__wbg_assign_66f7942767cba7e3 = function(arg0, arg1) { + imports.wbg.__wbg_assign_069e610fa5e6ee90 = function(arg0, arg1) { const ret = Object.assign(arg0, arg1); return ret; }; - imports.wbg.__wbg_attachShadow_0c27a1de4378adb6 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_attachShadow_e963a502f4796039 = function() { return handleError(function (arg0, arg1) { const ret = arg0.attachShadow(arg1); return ret; }, arguments) }; @@ -483,63 +549,63 @@ function __wbg_get_imports() { const ret = globalThis.FloatingUIDOM.autoUpdate(arg0, arg1, arg2, arg3); return ret; }; - imports.wbg.__wbg_body_8822ca55cb3730d2 = function(arg0) { + imports.wbg.__wbg_body_544738f8b03aef13 = function(arg0) { const ret = arg0.body; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_buffer_8d40b1d762fb3c66 = function(arg0) { + imports.wbg.__wbg_buffer_6cb2fecb1f253d71 = function(arg0) { const ret = arg0.buffer; return ret; }; - imports.wbg.__wbg_byobRequest_2c036bceca1e6037 = function(arg0) { + imports.wbg.__wbg_byobRequest_f8e3517f5f8ad284 = function(arg0) { const ret = arg0.byobRequest; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_byteLength_331a6b5545834024 = function(arg0) { + imports.wbg.__wbg_byteLength_faa9938885bdeee6 = function(arg0) { const ret = arg0.byteLength; return ret; }; - imports.wbg.__wbg_byteOffset_49a5b5608000358b = function(arg0) { + imports.wbg.__wbg_byteOffset_3868b6a19ba01dea = function(arg0) { const ret = arg0.byteOffset; return ret; }; - imports.wbg.__wbg_call_13410aac570ffff7 = function() { return handleError(function (arg0, arg1) { - const ret = arg0.call(arg1); - return ret; - }, arguments) }; - imports.wbg.__wbg_call_a5400b25a865cfd8 = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_call_3020136f7a2d6e44 = function() { return handleError(function (arg0, arg1, arg2) { const ret = arg0.call(arg1, arg2); return ret; }, arguments) }; - imports.wbg.__wbg_call_f1fd202ba222e0ec = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_call_78f94eb02ec7f9b2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { const ret = arg0.call(arg1, arg2, arg3, arg4); return ret; }, arguments) }; - imports.wbg.__wbg_cancelBubble_a4c48803e199b5e8 = function(arg0) { + imports.wbg.__wbg_call_abb4ff46ce38be40 = function() { return handleError(function (arg0, arg1) { + const ret = arg0.call(arg1); + return ret; + }, arguments) }; + imports.wbg.__wbg_cancelBubble_3ab876913f65579a = function(arg0) { const ret = arg0.cancelBubble; return ret; }; imports.wbg.__wbg_clearSelection_26e0a970dc233cee = function(arg0) { arg0.clearSelection(); }; - imports.wbg.__wbg_click_3802d54a0c97cc1f = function(arg0) { + imports.wbg.__wbg_click_3a8e35c38329dd3a = function(arg0) { arg0.click(); }; - imports.wbg.__wbg_clipboard_f0744f8afeddc372 = function(arg0) { + imports.wbg.__wbg_clipboard_c210ce30f20907dd = function(arg0) { const ret = arg0.clipboard; return ret; }; - imports.wbg.__wbg_cloneNode_79d46b18d5619863 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_cloneNode_c9c45b24b171a776 = function() { return handleError(function (arg0) { const ret = arg0.cloneNode(); return ret; }, arguments) }; - imports.wbg.__wbg_close_cccada6053ee3a65 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_close_0af5661bf3d335f2 = function() { return handleError(function (arg0) { arg0.close(); }, arguments) }; - imports.wbg.__wbg_close_d71a78219dc23e91 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_close_3ec111e7b23d94d8 = function() { return handleError(function (arg0) { arg0.close(); }, arguments) }; - imports.wbg.__wbg_composedPath_e5b3f0b3e8415bb5 = function(arg0) { + imports.wbg.__wbg_composedPath_c6de3259e6ae48ad = function(arg0) { const ret = arg0.composedPath(); return ret; }; @@ -547,56 +613,56 @@ function __wbg_get_imports() { const ret = globalThis.FloatingUIDOM.computePosition(arg0, arg1, arg2); return ret; }; - imports.wbg.__wbg_contains_d71a802f20288218 = function(arg0, arg1) { + imports.wbg.__wbg_contains_457d2fc195838bfa = function(arg0, arg1) { const ret = arg0.contains(arg1); return ret; }; - imports.wbg.__wbg_createComment_08abf524559fd4d7 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_createComment_89db599aa930ef8a = function(arg0, arg1, arg2) { const ret = arg0.createComment(getStringFromWasm0(arg1, arg2)); return ret; }; - imports.wbg.__wbg_createElementNS_ffbb8bb20b2a7e4c = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_createElementNS_e7c12bbd579529e2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { const ret = arg0.createElementNS(arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); return ret; }, arguments) }; - imports.wbg.__wbg_createElement_4909dfa2011f2abe = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_createElement_da4ed2b219560fc6 = function() { return handleError(function (arg0, arg1, arg2) { const ret = arg0.createElement(getStringFromWasm0(arg1, arg2)); return ret; }, arguments) }; - imports.wbg.__wbg_createObjectURL_c80225986d2b928b = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_createObjectURL_7d9f7f8f41373850 = 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_createTextNode_c71a51271fadf515 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_createTextNode_0cf8168f7646a5d2 = function(arg0, arg1, arg2) { const ret = arg0.createTextNode(getStringFromWasm0(arg1, arg2)); return ret; }; - imports.wbg.__wbg_data_9ab529722bcc4e6c = function(arg0) { + imports.wbg.__wbg_data_8bf4ae669a78a688 = function(arg0) { const ret = arg0.data; return ret; }; - imports.wbg.__wbg_debug_c906769d2f88c17b = function(arg0) { + imports.wbg.__wbg_debug_9d0c87ddda3dc485 = function(arg0) { console.debug(arg0); }; - imports.wbg.__wbg_deleteProperty_5fe99f4fd0f66ebe = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_deleteProperty_da180bf2624d16d6 = function() { return handleError(function (arg0, arg1) { const ret = Reflect.deleteProperty(arg0, arg1); return ret; }, arguments) }; imports.wbg.__wbg_destroy_aabed702274413e3 = function(arg0) { arg0.destroy(); }; - imports.wbg.__wbg_documentElement_c05bfb3e7a95df41 = function(arg0) { + imports.wbg.__wbg_documentElement_39f40310398a4cba = function(arg0) { const ret = arg0.documentElement; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_document_7d29d139bd619045 = function(arg0) { + imports.wbg.__wbg_document_5b745e82ba551ca5 = function(arg0) { const ret = arg0.document; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_done_75ed0ee6dd243d9d = function(arg0) { + imports.wbg.__wbg_done_62ea16af4ce34b24 = function(arg0) { const ret = arg0.done; return ret; }; @@ -604,13 +670,17 @@ function __wbg_get_imports() { const ret = ace.edit(getStringFromWasm0(arg0, arg1), arg2); return ret; }, arguments) }; - imports.wbg.__wbg_enqueue_452bc2343d1c2ff9 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_enqueue_a7e6b1ee87963aad = function() { return handleError(function (arg0, arg1) { arg0.enqueue(arg1); }, arguments) }; - imports.wbg.__wbg_entries_2be2f15bd5554996 = function(arg0) { + imports.wbg.__wbg_entries_83c79938054e065f = function(arg0) { const ret = Object.entries(arg0); return ret; }; + imports.wbg.__wbg_error_62f3219d830ab5b7 = function(arg0) { + const ret = arg0.error; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) { let deferred0_0; let deferred0_1; @@ -622,14 +692,10 @@ function __wbg_get_imports() { wasm.__wbindgen_free(deferred0_0, deferred0_1, 1); } }; - imports.wbg.__wbg_error_99981e16d476aa5c = function(arg0) { + imports.wbg.__wbg_error_7bc7d576a6aaf855 = function(arg0) { console.error(arg0); }; - imports.wbg.__wbg_error_b0cf27239320537b = function(arg0) { - const ret = arg0.error; - return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); - }; - imports.wbg.__wbg_files_975eaf418e2b9d1c = function(arg0) { + imports.wbg.__wbg_files_aa1f009258eadae6 = function(arg0) { const ret = arg0.files; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; @@ -651,62 +717,62 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_get_08204360fb7fab01 = function(arg0, arg1) { - const ret = arg0[arg1 >>> 0]; - return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); - }; - imports.wbg.__wbg_get_0da715ceaecea5c8 = function(arg0, arg1) { - const ret = arg0[arg1 >>> 0]; - return ret; - }; - imports.wbg.__wbg_get_1613292feb1bfd12 = function() { return handleError(function (arg0, arg1, arg2, arg3) { - const ret = arg1[getStringFromWasm0(arg2, arg3)]; - 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); - }, arguments) }; - imports.wbg.__wbg_get_458e874b43b18b25 = function() { return handleError(function (arg0, arg1) { - const ret = Reflect.get(arg0, arg1); - return ret; - }, arguments) }; - imports.wbg.__wbg_get_849a78e674f7432d = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_get_331085331950b4f1 = function(arg0, arg1, arg2, arg3) { const ret = arg1.get(getStringFromWasm0(arg2, arg3)); 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_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) { + imports.wbg.__wbg_get_6b7bd52aca3f9671 = function(arg0, arg1) { + const ret = arg0[arg1 >>> 0]; + return ret; + }; + imports.wbg.__wbg_get_89bca58298277b24 = function(arg0, arg1) { + const ret = arg0[arg1 >>> 0]; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_get_ae7d64d412108c8f = function() { return handleError(function (arg0, arg1, arg2, arg3) { + const ret = arg1[getStringFromWasm0(arg2, arg3)]; + 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); + }, arguments) }; + imports.wbg.__wbg_get_af9dab7e9603ea93 = function() { return handleError(function (arg0, arg1) { + const ret = Reflect.get(arg0, arg1); + return ret; + }, arguments) }; + imports.wbg.__wbg_get_with_ref_key_1dc361bd10053bfe = function(arg0, arg1) { const ret = arg0[arg1]; return ret; }; - imports.wbg.__wbg_host_484d55073e076054 = function(arg0) { + imports.wbg.__wbg_host_3f3d16f21f257e93 = function(arg0) { const ret = arg0.host; return ret; }; - imports.wbg.__wbg_href_65a798194bf5ead5 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_href_0a387dfdb6abe7e5 = function() { return handleError(function (arg0, arg1) { const ret = arg1.href; 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_href_dab6f580433bc68a = function(arg0, arg1) { + imports.wbg.__wbg_href_18222dace6ab46cf = function(arg0, arg1) { const ret = arg1.href; 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_info_6cf68c1a86a92f6a = function(arg0) { + imports.wbg.__wbg_info_ce6bcc489c22f6f0 = function(arg0) { console.info(arg0); }; - imports.wbg.__wbg_insertBefore_30228206e8f1d3fb = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_insertBefore_93e77c32aeae9657 = function() { return handleError(function (arg0, arg1, arg2) { const ret = arg0.insertBefore(arg1, arg2); return ret; }, arguments) }; - imports.wbg.__wbg_instanceof_ArrayBuffer_67f3012529f6a2dd = function(arg0) { + imports.wbg.__wbg_instanceof_ArrayBuffer_f3320d2419cd0355 = function(arg0) { let result; try { result = arg0 instanceof ArrayBuffer; @@ -716,7 +782,7 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_Element_162e4334c7d6f450 = function(arg0) { + imports.wbg.__wbg_instanceof_Element_6f7ba982258cfc0f = function(arg0) { let result; try { result = arg0 instanceof Element; @@ -726,7 +792,7 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_HtmlAnchorElement_3e68e5f48071c336 = function(arg0) { + imports.wbg.__wbg_instanceof_HtmlAnchorElement_2ac07b5cf25eac0c = function(arg0) { let result; try { result = arg0 instanceof HTMLAnchorElement; @@ -736,7 +802,7 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_Node_17373399b6647f60 = function(arg0) { + imports.wbg.__wbg_instanceof_Node_8af87d5d16d153d3 = function(arg0) { let result; try { result = arg0 instanceof Node; @@ -746,7 +812,7 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_ShadowRoot_f3723967133597a3 = function(arg0) { + imports.wbg.__wbg_instanceof_ShadowRoot_acbbcc2231ef8a7b = function(arg0) { let result; try { result = arg0 instanceof ShadowRoot; @@ -756,7 +822,7 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_Uint8Array_9a8378d955933db7 = function(arg0) { + imports.wbg.__wbg_instanceof_Uint8Array_da54ccc9d3e09434 = function(arg0) { let result; try { result = arg0 instanceof Uint8Array; @@ -766,7 +832,7 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_Window_12d20d558ef92592 = function(arg0) { + imports.wbg.__wbg_instanceof_Window_b5cf7783caa68180 = function(arg0) { let result; try { result = arg0 instanceof Window; @@ -776,98 +842,122 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_isArray_030cce220591fb41 = function(arg0) { + imports.wbg.__wbg_isArray_51fd9e6422c0a395 = function(arg0) { const ret = Array.isArray(arg0); return ret; }; - imports.wbg.__wbg_isSafeInteger_1c0d1af5542e102a = function(arg0) { + imports.wbg.__wbg_isSafeInteger_ae7d3f054d55fa16 = function(arg0) { const ret = Number.isSafeInteger(arg0); return ret; }; - imports.wbg.__wbg_iterator_f370b34483c71a1c = function() { + imports.wbg.__wbg_iterator_27b7c8b35ab3e86b = function() { const ret = Symbol.iterator; return ret; }; - imports.wbg.__wbg_key_caac8fafdd6d5317 = function(arg0, arg1) { + imports.wbg.__wbg_key_505d33c50799526a = 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_lengthComputable_26113b16f8a081a1 = function(arg0) { + imports.wbg.__wbg_lengthComputable_a7de113e79abf040 = function(arg0) { const ret = arg0.lengthComputable; return ret; }; - imports.wbg.__wbg_length_186546c51cd61acd = function(arg0) { + imports.wbg.__wbg_length_22ac23eaec9d8053 = function(arg0) { const ret = arg0.length; return ret; }; - imports.wbg.__wbg_length_6bb7e81f9d7713e4 = function(arg0) { + imports.wbg.__wbg_length_5548a3a9b927d0af = function(arg0) { const ret = arg0.length; return ret; }; - imports.wbg.__wbg_length_c6bc4b25c23a7062 = function(arg0) { + imports.wbg.__wbg_length_d45040a40c570362 = function(arg0) { const ret = arg0.length; return ret; }; - imports.wbg.__wbg_loaded_f56548c8804db859 = function(arg0) { + imports.wbg.__wbg_loaded_0c0796e81274bc3f = function(arg0) { const ret = arg0.loaded; return ret; }; - imports.wbg.__wbg_localStorage_9330af8bf39365ba = function() { return handleError(function (arg0) { + imports.wbg.__wbg_localStorage_e7a9e9fee8fc608d = function() { return handleError(function (arg0) { const ret = arg0.localStorage; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }, arguments) }; - imports.wbg.__wbg_location_92d89c32ae076cab = function(arg0) { + imports.wbg.__wbg_location_962e75c1c1b3ebed = function(arg0) { const ret = arg0.location; return ret; }; - imports.wbg.__wbg_log_6c7b5f4f00b8ce3f = function(arg0) { + imports.wbg.__wbg_log_1d990106d99dacb7 = function(arg0) { console.log(arg0); }; - imports.wbg.__wbg_matchMedia_19600e31a5612b23 = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_matchMedia_29904c79dbaba90b = function() { return handleError(function (arg0, arg1, arg2) { const ret = arg0.matchMedia(getStringFromWasm0(arg1, arg2)); return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }, arguments) }; - imports.wbg.__wbg_matches_12ebc1caa30f1e42 = function(arg0) { + imports.wbg.__wbg_matches_9cef9b7c722bd7c8 = function(arg0) { const ret = arg0.matches; return ret; }; - imports.wbg.__wbg_message_5481231e71ccaf7b = function(arg0, arg1) { + imports.wbg.__wbg_message_a4e9a39ee8f92b17 = function(arg0, arg1) { 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_name_42b465b8043f111e = function(arg0, arg1) { + imports.wbg.__wbg_name_13bb9dc8b6e6e67c = function(arg0, arg1) { const ret = arg1.name; 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_navigator_65d5ad763926b868 = function(arg0) { + imports.wbg.__wbg_navigator_b49edef831236138 = function(arg0) { const ret = arg0.navigator; return ret; }; - imports.wbg.__wbg_new_19c25a3f2fa63a02 = function() { + imports.wbg.__wbg_new_111dde64cffa8ba1 = function() { return handleError(function () { + const ret = new FileReader(); + return ret; + }, arguments) }; + imports.wbg.__wbg_new_1ba21ce319a06297 = function() { const ret = new Object(); return ret; }; - imports.wbg.__wbg_new_1f3a344cf3123716 = function() { + imports.wbg.__wbg_new_25f239778d6112b9 = function() { const ret = new Array(); return ret; }; - imports.wbg.__wbg_new_2e3c58a15f39f5f9 = function(arg0, arg1) { + imports.wbg.__wbg_new_3205bc992762cf38 = function() { return handleError(function () { + const ret = new URLSearchParams(); + return ret; + }, arguments) }; + imports.wbg.__wbg_new_6421f6084cc5bc5a = function(arg0) { + const ret = new Uint8Array(arg0); + return ret; + }; + imports.wbg.__wbg_new_79cb6b4c6069a31e = function() { return handleError(function (arg0, arg1) { + const ret = new URL(getStringFromWasm0(arg0, arg1)); + return ret; + }, arguments) }; + imports.wbg.__wbg_new_8a6f238a6ece86ea = function() { + const ret = new Error(); + return ret; + }; + imports.wbg.__wbg_new_df1173567d5ff028 = function(arg0, arg1) { + const ret = new Error(getStringFromWasm0(arg0, arg1)); + return ret; + }; + imports.wbg.__wbg_new_ff12d2b041fb48f1 = 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_286(a, state0.b, arg0, arg1); + return wasm_bindgen__convert__closures_____invoke__ha942a44eff540ade(a, state0.b, arg0, arg1); } finally { state0.a = a; } @@ -878,55 +968,31 @@ function __wbg_get_imports() { state0.a = state0.b = 0; } }; - imports.wbg.__wbg_new_638ebfaedbf32a5e = function(arg0) { - const ret = new Uint8Array(arg0); - return ret; - }; - imports.wbg.__wbg_new_8a6f238a6ece86ea = function() { - const ret = new Error(); - return ret; - }; - imports.wbg.__wbg_new_95e31b8bc5de31d6 = function() { return handleError(function (arg0, arg1) { - const ret = new URL(getStringFromWasm0(arg0, arg1)); - return ret; - }, arguments) }; - imports.wbg.__wbg_new_bd4cca60314f67a3 = function() { return handleError(function () { - const ret = new FileReader(); - return ret; - }, arguments) }; - imports.wbg.__wbg_new_da9dc54c5db29dfa = function(arg0, arg1) { - const ret = new Error(getStringFromWasm0(arg0, arg1)); - return ret; - }; - imports.wbg.__wbg_new_e8b27dfd3785875f = function() { return handleError(function () { - const ret = new URLSearchParams(); - return ret; - }, arguments) }; - imports.wbg.__wbg_newnoargs_254190557c45b4ec = function(arg0, arg1) { + imports.wbg.__wbg_new_no_args_cb138f77cf6151ee = function(arg0, arg1) { const ret = new Function(getStringFromWasm0(arg0, arg1)); return ret; }; - imports.wbg.__wbg_newwithbyteoffsetandlength_e8f53910b4d42b45 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_new_with_byte_offset_and_length_d85c3da1fd8df149 = function(arg0, arg1, arg2) { const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0); return ret; }; - imports.wbg.__wbg_newwithoptions_4fd7ce7655102e6f = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_new_with_options_2978557c2c268ef3 = function() { return handleError(function (arg0, arg1, arg2) { const ret = new Worker(getStringFromWasm0(arg0, arg1), arg2); return ret; }, arguments) }; - imports.wbg.__wbg_newwithstr_4263ed8cec6e130a = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_new_with_str_dea1b77a8c2f6d7d = function() { return handleError(function (arg0, arg1) { const ret = new URLSearchParams(getStringFromWasm0(arg0, arg1)); return ret; }, arguments) }; - imports.wbg.__wbg_newwithu8arraysequence_80b7f1912b2e348c = function() { return handleError(function (arg0) { + imports.wbg.__wbg_new_with_u8_array_sequence_be72615d80b1c50b = function() { return handleError(function (arg0) { const ret = new Blob(arg0); return ret; }, arguments) }; - imports.wbg.__wbg_next_5b3530e612fde77d = function(arg0) { + imports.wbg.__wbg_next_138a17bbf04e926c = function(arg0) { const ret = arg0.next; return ret; }; - imports.wbg.__wbg_next_692e82279131b03c = function() { return handleError(function (arg0) { + imports.wbg.__wbg_next_3cfe5c0fe2a4cc53 = function() { return handleError(function (arg0) { const ret = arg0.next(); return ret; }, arguments) }; @@ -934,86 +1000,86 @@ function __wbg_get_imports() { const ret = globalThis.FloatingUIDOM.offset(arg0); return ret; }; - imports.wbg.__wbg_onchange_032756b25129c6de = function(arg0) { + imports.wbg.__wbg_onchange_a0716e7811cd3910 = function(arg0) { const ret = arg0.onchange; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_parentNode_cc820baee7401ca3 = function(arg0) { + imports.wbg.__wbg_parentNode_6caea653ea9f3e23 = function(arg0) { const ret = arg0.parentNode; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_postMessage_50e57097ede408b9 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_postMessage_07504dbe15265d5c = function() { return handleError(function (arg0, arg1) { arg0.postMessage(arg1); }, arguments) }; - imports.wbg.__wbg_prototypesetcall_3d4a26c1ed734349 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(arg0, arg1, arg2) { Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2); }; - imports.wbg.__wbg_push_330b2eb93e4e1212 = function(arg0, arg1) { + imports.wbg.__wbg_push_7d9be8f38fc13975 = function(arg0, arg1) { const ret = arg0.push(arg1); return ret; }; - imports.wbg.__wbg_queueMicrotask_25d0739ac89e8c88 = function(arg0) { - queueMicrotask(arg0); - }; - imports.wbg.__wbg_queueMicrotask_4488407636f5bf24 = function(arg0) { + imports.wbg.__wbg_queueMicrotask_9b549dfce8865860 = function(arg0) { const ret = arg0.queueMicrotask; return ret; }; - imports.wbg.__wbg_readAsArrayBuffer_a9f65e0c524f16a0 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_queueMicrotask_fca69f5bfad613a5 = function(arg0) { + queueMicrotask(arg0); + }; + imports.wbg.__wbg_readAsArrayBuffer_0aca937439be3197 = function() { return handleError(function (arg0, arg1) { arg0.readAsArrayBuffer(arg1); }, arguments) }; - imports.wbg.__wbg_removeAttribute_cf35412842be6ae4 = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_removeAttribute_96e791ceeb22d591 = function() { return handleError(function (arg0, arg1, arg2) { arg0.removeAttribute(getStringFromWasm0(arg1, arg2)); }, arguments) }; - imports.wbg.__wbg_removeChild_1c094e96ff042c2d = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_removeChild_e269b93f63c5ba71 = function() { return handleError(function (arg0, arg1) { const ret = arg0.removeChild(arg1); return ret; }, arguments) }; - imports.wbg.__wbg_removeEventListener_6d5be9c2821a511e = function() { return handleError(function (arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_removeEventListener_565e273024b68b75 = function() { return handleError(function (arg0, arg1, arg2, arg3) { arg0.removeEventListener(getStringFromWasm0(arg1, arg2), arg3); }, arguments) }; - imports.wbg.__wbg_removeProperty_8912427f4d0f6361 = function() { return handleError(function (arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_removeProperty_c2e16faee2834bef = function() { return handleError(function (arg0, arg1, 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_remove_0cd5aff2ca3eb753 = function(arg0) { + imports.wbg.__wbg_remove_32f69ffabcbc4072 = function(arg0) { arg0.remove(); }; - imports.wbg.__wbg_remove_fec7bce376b31b32 = function(arg0) { + imports.wbg.__wbg_remove_e0441e385f51d1e9 = function(arg0) { arg0.remove(); }; imports.wbg.__wbg_require_d5530344dea59ee4 = function() { return handleError(function (arg0, arg1) { const ret = ace.require(getStringFromWasm0(arg0, arg1)); return ret; }, arguments) }; - imports.wbg.__wbg_resolve_4055c623acdd6a1b = function(arg0) { + imports.wbg.__wbg_resolve_fd5bfbaa4ce36e1e = function(arg0) { const ret = Promise.resolve(arg0); return ret; }; - imports.wbg.__wbg_respond_6c2c4e20ef85138e = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_respond_9f7fc54636c4a3af = function() { return handleError(function (arg0, arg1) { arg0.respond(arg1 >>> 0); }, arguments) }; - imports.wbg.__wbg_result_f3b8657ddb4b49e7 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_result_893437a1eaacc4df = function() { return handleError(function (arg0) { const ret = arg0.result; return ret; }, arguments) }; - imports.wbg.__wbg_revokeObjectURL_651b859c81bf1af0 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_revokeObjectURL_88db3468842ff09e = function() { return handleError(function (arg0, arg1) { URL.revokeObjectURL(getStringFromWasm0(arg0, arg1)); }, arguments) }; - imports.wbg.__wbg_search_73c5c4925b506661 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_search_856af82f9dccb2ef = function() { return handleError(function (arg0, arg1) { const ret = arg1.search; 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_setAttribute_d1baf9023ad5696f = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_setAttribute_34747dd193f45828 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { arg0.setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); }, arguments) }; - imports.wbg.__wbg_setItem_7add5eb06a28b38f = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_setItem_1167ad38996d6426 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { arg0.setItem(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); }, arguments) }; imports.wbg.__wbg_setKeyboardHandler_564952d0734682bf = function() { return handleError(function (arg0, arg1) { @@ -1022,7 +1088,7 @@ function __wbg_get_imports() { imports.wbg.__wbg_setTheme_cf647dec06f82fcb = function() { return handleError(function (arg0, arg1, arg2) { arg0.setTheme(getStringFromWasm0(arg1, arg2)); }, arguments) }; - imports.wbg.__wbg_setTimeout_2966518f28aef92e = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_setTimeout_06477c23d31efef1 = function() { return handleError(function (arg0, arg1, arg2) { const ret = arg0.setTimeout(arg1, arg2); return ret; }, arguments) }; @@ -1037,59 +1103,59 @@ function __wbg_get_imports() { wasm.__wbindgen_free(deferred0_0, deferred0_1, 1); } }; - imports.wbg.__wbg_set_01960cc21fa3b716 = function(arg0, arg1, arg2, arg3, arg4) { - arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); - }; - imports.wbg.__wbg_set_1353b2a5e96bc48c = function(arg0, arg1, arg2) { + imports.wbg.__wbg_set_169e13b608078b7b = function(arg0, arg1, arg2) { arg0.set(getArrayU8FromWasm0(arg1, arg2)); }; imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) { arg0[arg1] = arg2; }; - imports.wbg.__wbg_set_453345bcda80b89a = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_set_781438a03c0c3c81 = function() { return handleError(function (arg0, arg1, arg2) { const ret = Reflect.set(arg0, arg1, arg2); return ret; }, arguments) }; - imports.wbg.__wbg_set_90f6c0f7bd8c0415 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_set_796fc3442673454b = function(arg0, arg1, arg2, arg3, arg4) { + arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); + }; + imports.wbg.__wbg_set_7df433eea03a5c14 = function(arg0, arg1, arg2) { arg0[arg1 >>> 0] = arg2; }; - imports.wbg.__wbg_setclassName_c8bccad917b973f4 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_set_className_52411a7e4782668d = function(arg0, arg1, arg2) { arg0.className = getStringFromWasm0(arg1, arg2); }; - imports.wbg.__wbg_setdownload_15578132eb1a96db = function(arg0, arg1, arg2) { + imports.wbg.__wbg_set_download_8403fd66b94b25a2 = function(arg0, arg1, arg2) { arg0.download = getStringFromWasm0(arg1, arg2); }; - imports.wbg.__wbg_sethref_8fa0a64ba2829ab3 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_set_href_25c4bcdcbfb4459b = function(arg0, arg1, arg2) { arg0.href = getStringFromWasm0(arg1, arg2); }; - imports.wbg.__wbg_setmode_95b596ac8e867369 = function(arg0, arg1) { + imports.wbg.__wbg_set_mode_d655ca23f856dbe8 = function(arg0, arg1) { arg0.mode = __wbindgen_enum_ShadowRootMode[arg1]; }; - imports.wbg.__wbg_setnodeValue_629799145cb84fd8 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_set_nodeValue_997d7696f2c5d4bd = function(arg0, arg1, arg2) { arg0.nodeValue = arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2); }; - imports.wbg.__wbg_setonchange_f75452ea8c59acb1 = function(arg0, arg1) { + imports.wbg.__wbg_set_onchange_ceed61dcb89e1290 = function(arg0, arg1) { arg0.onchange = arg1; }; - imports.wbg.__wbg_setonerror_8ba91af1a63fd378 = function(arg0, arg1) { + imports.wbg.__wbg_set_onerror_63939cdd10d24fe8 = function(arg0, arg1) { arg0.onerror = arg1; }; - imports.wbg.__wbg_setonload_d46edf64d5803ccb = function(arg0, arg1) { + imports.wbg.__wbg_set_onload_3ff2f72af5cc911d = function(arg0, arg1) { arg0.onload = arg1; }; - imports.wbg.__wbg_setonmessage_c943f7891405ab22 = function(arg0, arg1) { + imports.wbg.__wbg_set_onmessage_deb94985de696ac7 = function(arg0, arg1) { arg0.onmessage = arg1; }; - imports.wbg.__wbg_setonprogress_9464e0d93e8d8b48 = function(arg0, arg1) { + imports.wbg.__wbg_set_onprogress_d792d4592aba4cad = function(arg0, arg1) { arg0.onprogress = arg1; }; - imports.wbg.__wbg_setsearch_fbee2174e0389ccd = function(arg0, arg1, arg2) { + imports.wbg.__wbg_set_search_cbba29f94329f296 = function(arg0, arg1, arg2) { arg0.search = getStringFromWasm0(arg1, arg2); }; - imports.wbg.__wbg_settype_3dc790721d11b6f5 = function(arg0, arg1) { + imports.wbg.__wbg_set_type_c2eb2929316959f4 = function(arg0, arg1) { arg0.type = __wbindgen_enum_WorkerType[arg1]; }; - imports.wbg.__wbg_setvalue_4c91a711c0108335 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_set_value_8f487a4f7d71c024 = function(arg0, arg1, arg2) { arg0.value = getStringFromWasm0(arg1, arg2); }; imports.wbg.__wbg_shift_6c1346a806f7a644 = function() { @@ -1103,161 +1169,76 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_static_accessor_GLOBAL_8921f820c2ce3f12 = function() { + imports.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335 = function() { const ret = typeof global === 'undefined' ? null : global; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_static_accessor_GLOBAL_THIS_f0a4409105898184 = function() { + imports.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1 = function() { const ret = typeof globalThis === 'undefined' ? null : globalThis; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_static_accessor_SELF_995b214ae681ff99 = function() { + imports.wbg.__wbg_static_accessor_SELF_08f5a74c69739274 = function() { const ret = typeof self === 'undefined' ? null : self; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_static_accessor_WINDOW_cde3890479c675ea = function() { + imports.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024 = function() { const ret = typeof window === 'undefined' ? null : window; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_style_32a3c8393b46a115 = function(arg0) { + imports.wbg.__wbg_style_521a717da50e53c6 = function(arg0) { const ret = arg0.style; return ret; }; - imports.wbg.__wbg_target_f2c963b447be6283 = function(arg0) { + imports.wbg.__wbg_target_0e3e05a6263c37a0 = function(arg0) { const ret = arg0.target; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_then_b33a773d723afa3e = function(arg0, arg1, arg2) { + imports.wbg.__wbg_then_429f7caf1026411d = function(arg0, arg1, arg2) { const ret = arg0.then(arg1, arg2); return ret; }; - imports.wbg.__wbg_then_e22500defe16819f = function(arg0, arg1) { + imports.wbg.__wbg_then_4f95312d68691235 = function(arg0, arg1) { const ret = arg0.then(arg1); return ret; }; - imports.wbg.__wbg_toString_78df35411a4fd40c = function(arg0) { + imports.wbg.__wbg_toString_f07112df359c997f = function(arg0) { const ret = arg0.toString(); return ret; }; - imports.wbg.__wbg_total_5bf7bd9d5e83ad4d = function(arg0) { + imports.wbg.__wbg_total_ed2c751b8e303a8f = function(arg0) { const ret = arg0.total; return ret; }; - imports.wbg.__wbg_value_89377c01d73b6102 = function(arg0, arg1) { + imports.wbg.__wbg_value_57b7b035e117f7ee = function(arg0) { + const ret = arg0.value; + return ret; + }; + imports.wbg.__wbg_value_5ea6e5ab9f609290 = function(arg0, arg1) { const ret = arg1.value; 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_value_dd9372230531eade = function(arg0) { - const ret = arg0.value; - return ret; - }; - imports.wbg.__wbg_view_91cc97d57ab30530 = function(arg0) { + imports.wbg.__wbg_view_788aaf149deefd2f = function(arg0) { const ret = arg0.view; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_warn_e2ada06313f92f09 = function(arg0) { + imports.wbg.__wbg_warn_6e567d0d926ff881 = function(arg0) { console.warn(arg0); }; - imports.wbg.__wbg_wbindgenbigintgetasi64_ac743ece6ab9bba1 = function(arg0, arg1) { - const v = arg1; - const ret = typeof(v) === 'bigint' ? v : undefined; - getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true); - getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true); - }; - imports.wbg.__wbg_wbindgenbooleanget_3fe6f642c7d97746 = function(arg0) { - const v = arg0; - const ret = typeof(v) === 'boolean' ? v : undefined; - return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0; - }; - imports.wbg.__wbg_wbindgencbdrop_eb10308566512b88 = function(arg0) { - const obj = arg0.original; - if (obj.cnt-- == 1) { - obj.a = 0; - return true; - } - const ret = false; - return ret; - }; - imports.wbg.__wbg_wbindgendebugstring_99ef257a3ddda34d = function(arg0, 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); - getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); - }; - imports.wbg.__wbg_wbindgenin_d7a1ee10933d2d55 = function(arg0, arg1) { - const ret = arg0 in arg1; - return ret; - }; - imports.wbg.__wbg_wbindgenisbigint_ecb90cc08a5a9154 = function(arg0) { - const ret = typeof(arg0) === 'bigint'; - return ret; - }; - imports.wbg.__wbg_wbindgenisfalsy_03f4059e2ea4ee87 = function(arg0) { - const ret = !arg0; - return ret; - }; - imports.wbg.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function(arg0) { - const ret = typeof(arg0) === 'function'; - return ret; - }; - imports.wbg.__wbg_wbindgenisnull_f3037694abe4d97a = function(arg0) { - const ret = arg0 === null; - return ret; - }; - imports.wbg.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function(arg0) { - const val = arg0; - const ret = typeof(val) === 'object' && val !== null; - return ret; - }; - imports.wbg.__wbg_wbindgenisstring_d4fa939789f003b0 = function(arg0) { - const ret = typeof(arg0) === 'string'; - return ret; - }; - imports.wbg.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function(arg0) { - const ret = arg0 === undefined; - return ret; - }; - imports.wbg.__wbg_wbindgenjsvaleq_e6f2ad59ccae1b58 = function(arg0, arg1) { - const ret = arg0 === arg1; - return ret; - }; - imports.wbg.__wbg_wbindgenjsvallooseeq_9bec8c9be826bed1 = function(arg0, arg1) { - const ret = arg0 == arg1; - return ret; - }; - imports.wbg.__wbg_wbindgennumberget_f74b4c7525ac05cb = function(arg0, 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.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, 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; - getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); - getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); - }; - imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) { - throw new Error(getStringFromWasm0(arg0, arg1)); - }; - imports.wbg.__wbg_writeText_2322f8ec37090e3d = function(arg0, arg1, arg2) { + imports.wbg.__wbg_writeText_c9776abb6826901c = function(arg0, arg1, arg2) { const ret = arg0.writeText(getStringFromWasm0(arg1, arg2)); return ret; }; - imports.wbg.__wbindgen_cast_148505f3c4e36d2d = function(arg0, arg1) { - // Cast intrinsic for `Closure(Closure { dtor_idx: 1256, function: Function { arguments: [], shim_idx: 1257, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. - const ret = makeClosure(arg0, arg1, 1256, __wbg_adapter_10); + imports.wbg.__wbindgen_cast_183e70ce803ab6e0 = function(arg0, arg1) { + // Cast intrinsic for `Closure(Closure { dtor_idx: 1268, function: Function { arguments: [], shim_idx: 1269, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`. + const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2a62ea2606b77162, wasm_bindgen__convert__closures_____invoke__h07c77fa3591c939f); return ret; }; - imports.wbg.__wbindgen_cast_1686c2905a8aa227 = function(arg0, arg1) { - // Cast intrinsic for `Closure(Closure { dtor_idx: 561, function: Function { arguments: [NamedExternref("Event")], shim_idx: 564, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. - const ret = makeClosure(arg0, arg1, 561, __wbg_adapter_13); + imports.wbg.__wbindgen_cast_201cf9fa9bbd6098 = function(arg0, arg1) { + // Cast intrinsic for `Closure(Closure { dtor_idx: 1283, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1284, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`. + const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h21c3ebf694dec5a8, wasm_bindgen__convert__closures_____invoke__hc5fe30a221f009d7); return ret; }; imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) { @@ -1265,19 +1246,9 @@ function __wbg_get_imports() { const ret = getStringFromWasm0(arg0, arg1); return ret; }; - imports.wbg.__wbindgen_cast_2f762ecfd438d02c = function(arg0, arg1) { - // Cast intrinsic for `Closure(Closure { dtor_idx: 1262, function: Function { arguments: [], shim_idx: 1263, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`. - const ret = makeMutClosure(arg0, arg1, 1262, __wbg_adapter_20); - return ret; - }; - imports.wbg.__wbindgen_cast_343413ee29baf61f = function(arg0, arg1) { - // Cast intrinsic for `Closure(Closure { dtor_idx: 1285, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1286, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`. - const ret = makeMutClosure(arg0, arg1, 1285, __wbg_adapter_32); - return ret; - }; imports.wbg.__wbindgen_cast_36c64bdcff7137d0 = function(arg0, arg1) { // Cast intrinsic for `Closure(Closure { dtor_idx: 1328, function: Function { arguments: [Externref], shim_idx: 1329, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`. - const ret = makeMutClosure(arg0, arg1, 1328, __wbg_adapter_35); + const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__ha2974c92fa39f26b, wasm_bindgen__convert__closures_____invoke__hc5c04b5ba49ccfb9); return ret; }; imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) { @@ -1285,14 +1256,39 @@ function __wbg_get_imports() { const ret = BigInt.asUintN(64, arg0); return ret; }; - imports.wbg.__wbindgen_cast_6bdde70e6fdd4b5b = function(arg0, arg1) { - // Cast intrinsic for `Closure(Closure { dtor_idx: 561, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 564, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. - const ret = makeClosure(arg0, arg1, 561, __wbg_adapter_13); + imports.wbg.__wbindgen_cast_64a5fb89bb677f91 = function(arg0, arg1) { + // Cast intrinsic for `Closure(Closure { dtor_idx: 785, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 786, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. + const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h384d14cbddf50199, wasm_bindgen__convert__closures_____invoke__h5475ed1d0ffadd1d); return ret; }; - imports.wbg.__wbindgen_cast_87c87b20ba3a201e = function(arg0, arg1) { - // Cast intrinsic for `Closure(Closure { dtor_idx: 561, function: Function { arguments: [NamedExternref("MediaQueryList")], shim_idx: 564, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. - const ret = makeClosure(arg0, arg1, 561, __wbg_adapter_13); + imports.wbg.__wbindgen_cast_7819f89495882465 = function(arg0, arg1) { + // Cast intrinsic for `Closure(Closure { dtor_idx: 785, function: Function { arguments: [NamedExternref("ProgressEvent")], shim_idx: 792, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`. + const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h384d14cbddf50199, wasm_bindgen__convert__closures_____invoke__hce26a0db26696aea); + return ret; + }; + imports.wbg.__wbindgen_cast_7b89e2a4d51db7ae = function(arg0, arg1) { + // Cast intrinsic for `Closure(Closure { dtor_idx: 1263, function: Function { arguments: [], shim_idx: 1264, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. + const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h0f28000253ac5f7b, wasm_bindgen__convert__closures_____invoke__h4e92adf8dee90282); + return ret; + }; + imports.wbg.__wbindgen_cast_94601cc02091b90a = function(arg0, arg1) { + // Cast intrinsic for `Closure(Closure { dtor_idx: 785, function: Function { arguments: [NamedExternref("Event")], shim_idx: 786, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. + const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h384d14cbddf50199, wasm_bindgen__convert__closures_____invoke__h5475ed1d0ffadd1d); + return ret; + }; + imports.wbg.__wbindgen_cast_9abb3006334a3041 = function(arg0, arg1) { + // Cast intrinsic for `Closure(Closure { dtor_idx: 785, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 786, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. + const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h384d14cbddf50199, wasm_bindgen__convert__closures_____invoke__h5475ed1d0ffadd1d); + return ret; + }; + imports.wbg.__wbindgen_cast_ab9b18b6b9383bf2 = function(arg0, arg1) { + // Cast intrinsic for `Closure(Closure { dtor_idx: 785, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 786, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. + const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h384d14cbddf50199, wasm_bindgen__convert__closures_____invoke__h5475ed1d0ffadd1d); + return ret; + }; + imports.wbg.__wbindgen_cast_b20ca758ad09700f = function(arg0, arg1) { + // Cast intrinsic for `Closure(Closure { dtor_idx: 785, function: Function { arguments: [NamedExternref("MediaQueryList")], shim_idx: 786, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. + const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h384d14cbddf50199, wasm_bindgen__convert__closures_____invoke__h5475ed1d0ffadd1d); return ret; }; imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) { @@ -1300,39 +1296,19 @@ function __wbg_get_imports() { const ret = arg0; return ret; }; - imports.wbg.__wbindgen_cast_e0f5778f70702c9b = function(arg0, arg1) { - // Cast intrinsic for `Closure(Closure { dtor_idx: 561, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 564, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. - const ret = makeClosure(arg0, arg1, 561, __wbg_adapter_13); - return ret; - }; - imports.wbg.__wbindgen_cast_e56ad4ba37ca7617 = function(arg0, arg1) { - // Cast intrinsic for `Closure(Closure { dtor_idx: 561, function: Function { arguments: [NamedExternref("ProgressEvent")], shim_idx: 562, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`. - const ret = makeMutClosure(arg0, arg1, 561, __wbg_adapter_27); - return ret; - }; - imports.wbg.__wbindgen_cast_f06d082977e380c1 = function(arg0, arg1) { - // Cast intrinsic for `Closure(Closure { dtor_idx: 561, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 564, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. - const ret = makeClosure(arg0, arg1, 561, __wbg_adapter_13); - return ret; - }; imports.wbg.__wbindgen_init_externref_table = function() { - const table = wasm.__wbindgen_export_4; + const table = wasm.__wbindgen_externrefs; 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; } -function __wbg_init_memory(imports, memory) { - -} - function __wbg_finalize_init(instance, module) { wasm = instance.exports; __wbg_init.__wbindgen_wasm_module = module; @@ -1357,15 +1333,10 @@ function initSync(module) { } const imports = __wbg_get_imports(); - - __wbg_init_memory(imports); - if (!(module instanceof WebAssembly.Module)) { module = new WebAssembly.Module(module); } - const instance = new WebAssembly.Instance(module, imports); - return __wbg_finalize_init(instance, module); } @@ -1390,8 +1361,6 @@ async function __wbg_init(module_or_path) { module_or_path = fetch(module_or_path); } - __wbg_init_memory(imports); - const { instance, module } = await __wbg_load(await module_or_path, imports); return __wbg_finalize_init(instance, module); diff --git a/app-b8b72f7b3da64ea5_bg.wasm b/app-b8b72f7b3da64ea5_bg.wasm new file mode 100644 index 0000000..e54db54 Binary files /dev/null and b/app-b8b72f7b3da64ea5_bg.wasm differ diff --git a/index.html b/index.html index da27a7a..0701c58 100644 --- a/index.html +++ b/index.html @@ -55,8 +55,8 @@ - + diff --git a/sqlite3.js b/sqlite3.js index 83f48c4..aa5f9e6 100644 --- a/sqlite3.js +++ b/sqlite3.js @@ -1,121 +1,14 @@ let wasm; -let cachedUint8ArrayMemory0 = null; - -function getUint8ArrayMemory0() { - if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { - cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); - } - return cachedUint8ArrayMemory0; -} - -let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); - -cachedTextDecoder.decode(); - -const MAX_SAFARI_DECODE_BYTES = 2146435072; -let numBytesDecoded = 0; -function decodeText(ptr, len) { - numBytesDecoded += len; - if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) { - cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); - cachedTextDecoder.decode(); - numBytesDecoded = len; - } - return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); -} - -function getStringFromWasm0(ptr, len) { - ptr = ptr >>> 0; - return decodeText(ptr, len); -} - -function isLikeNone(x) { - return x === undefined || x === null; -} - function addToExternrefTable0(obj) { const idx = wasm.__externref_table_alloc(); - wasm.__wbindgen_export_1.set(idx, obj); + wasm.__wbindgen_externrefs.set(idx, obj); return idx; } -function handleError(f, args) { - try { - return f.apply(this, args); - } catch (e) { - const idx = addToExternrefTable0(e); - wasm.__wbindgen_exn_store(idx); - } -} - -function getArrayU8FromWasm0(ptr, len) { - ptr = ptr >>> 0; - return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len); -} - -let WASM_VECTOR_LEN = 0; - -const cachedTextEncoder = new TextEncoder(); - -if (!('encodeInto' in cachedTextEncoder)) { - cachedTextEncoder.encodeInto = function (arg, view) { - const buf = cachedTextEncoder.encode(arg); - view.set(buf); - return { - read: arg.length, - written: buf.length - }; - } -} - -function passStringToWasm0(arg, malloc, realloc) { - - if (realloc === undefined) { - const buf = cachedTextEncoder.encode(arg); - const ptr = malloc(buf.length, 1) >>> 0; - getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf); - WASM_VECTOR_LEN = buf.length; - return ptr; - } - - let len = arg.length; - let ptr = malloc(len, 1) >>> 0; - - const mem = getUint8ArrayMemory0(); - - let offset = 0; - - for (; offset < len; offset++) { - const code = arg.charCodeAt(offset); - if (code > 0x7F) break; - mem[ptr + offset] = code; - } - - if (offset !== len) { - if (offset !== 0) { - arg = arg.slice(offset); - } - ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; - const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len); - const ret = cachedTextEncoder.encodeInto(arg, view); - - offset += ret.written; - ptr = realloc(ptr, len, offset, 1) >>> 0; - } - - WASM_VECTOR_LEN = offset; - return ptr; -} - -let cachedDataViewMemory0 = null; - -function getDataViewMemory0() { - if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) { - cachedDataViewMemory0 = new DataView(wasm.memory.buffer); - } - return cachedDataViewMemory0; -} +const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined') + ? { register: () => {}, unregister: () => {} } + : new FinalizationRegistry(state => state.dtor(state.a, state.b)); function debugString(val) { // primitive types @@ -182,13 +75,69 @@ function debugString(val) { return className; } -const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined') - ? { register: () => {}, unregister: () => {} } - : new FinalizationRegistry( -state => { - wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b); +function getArrayU8FromWasm0(ptr, len) { + ptr = ptr >>> 0; + return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len); +} + +let cachedDataViewMemory0 = null; +function getDataViewMemory0() { + if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) { + cachedDataViewMemory0 = new DataView(wasm.memory.buffer); + } + return cachedDataViewMemory0; +} + +function getStringFromWasm0(ptr, len) { + ptr = ptr >>> 0; + return decodeText(ptr, len); +} + +let cachedUint8ArrayMemory0 = null; +function getUint8ArrayMemory0() { + if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { + cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); + } + return cachedUint8ArrayMemory0; +} + +function handleError(f, args) { + try { + return f.apply(this, args); + } catch (e) { + const idx = addToExternrefTable0(e); + wasm.__wbindgen_exn_store(idx); + } +} + +function isLikeNone(x) { + return x === undefined || x === null; +} + +function makeClosure(arg0, arg1, dtor, f) { + const state = { a: arg0, b: arg1, cnt: 1, dtor }; + const real = (...args) => { + + // First up with a closure we increment the internal reference + // count. This ensures that the Rust closure environment won't + // be deallocated while we're invoking it. + state.cnt++; + try { + return f(state.a, state.b, ...args); + } finally { + real._wbg_cb_unref(); + } + }; + real._wbg_cb_unref = () => { + if (--state.cnt === 0) { + state.dtor(state.a, state.b); + state.a = 0; + CLOSURE_DTORS.unregister(state); + } + }; + CLOSURE_DTORS.register(real, state, state); + return real; } -); function makeMutClosure(arg0, arg1, dtor, f) { const state = { a: arg0, b: arg1, cnt: 1, dtor }; @@ -203,50 +152,97 @@ function makeMutClosure(arg0, arg1, dtor, f) { try { return f(a, state.b, ...args); } finally { - if (--state.cnt === 0) { - wasm.__wbindgen_export_6.get(state.dtor)(a, state.b); - CLOSURE_DTORS.unregister(state); - } else { - state.a = a; - } + state.a = a; + real._wbg_cb_unref(); + } + }; + real._wbg_cb_unref = () => { + if (--state.cnt === 0) { + state.dtor(state.a, state.b); + state.a = 0; + CLOSURE_DTORS.unregister(state); } }; - real.original = state; CLOSURE_DTORS.register(real, state, state); return real; } -function makeClosure(arg0, arg1, dtor, f) { - const state = { a: arg0, b: arg1, cnt: 1, dtor }; - const real = (...args) => { +function passStringToWasm0(arg, malloc, realloc) { + if (realloc === undefined) { + const buf = cachedTextEncoder.encode(arg); + const ptr = malloc(buf.length, 1) >>> 0; + getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf); + WASM_VECTOR_LEN = buf.length; + return ptr; + } - // First up with a closure we increment the internal reference - // count. This ensures that the Rust closure environment won't - // be deallocated while we're invoking it. - state.cnt++; - try { - return f(state.a, state.b, ...args); - } finally { - if (--state.cnt === 0) { - wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b); state.a = 0; - CLOSURE_DTORS.unregister(state); - } + let len = arg.length; + let ptr = malloc(len, 1) >>> 0; + + const mem = getUint8ArrayMemory0(); + + let offset = 0; + + for (; offset < len; offset++) { + const code = arg.charCodeAt(offset); + if (code > 0x7F) break; + mem[ptr + offset] = code; + } + if (offset !== len) { + if (offset !== 0) { + arg = arg.slice(offset); } - }; - real.original = state; - CLOSURE_DTORS.register(real, state, state); - return real; -} -function __wbg_adapter_8(arg0, arg1, arg2) { - wasm.closure751_externref_shim(arg0, arg1, arg2); + ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; + const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len); + const ret = cachedTextEncoder.encodeInto(arg, view); + + offset += ret.written; + ptr = realloc(ptr, len, offset, 1) >>> 0; + } + + WASM_VECTOR_LEN = offset; + return ptr; } -function __wbg_adapter_11(arg0, arg1, arg2) { - wasm.closure12_externref_shim(arg0, arg1, arg2); +let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); +cachedTextDecoder.decode(); +const MAX_SAFARI_DECODE_BYTES = 2146435072; +let numBytesDecoded = 0; +function decodeText(ptr, len) { + numBytesDecoded += len; + if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) { + cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); + cachedTextDecoder.decode(); + numBytesDecoded = len; + } + return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); } -function __wbg_adapter_106(arg0, arg1, arg2, arg3) { - wasm.closure764_externref_shim(arg0, arg1, arg2, arg3); +const cachedTextEncoder = new TextEncoder(); + +if (!('encodeInto' in cachedTextEncoder)) { + cachedTextEncoder.encodeInto = function (arg, view) { + const buf = cachedTextEncoder.encode(arg); + view.set(buf); + return { + read: arg.length, + written: buf.length + }; + } +} + +let WASM_VECTOR_LEN = 0; + +function wasm_bindgen__convert__closures_____invoke__hc5c04b5ba49ccfb9(arg0, arg1, arg2) { + wasm.wasm_bindgen__convert__closures_____invoke__hc5c04b5ba49ccfb9(arg0, arg1, arg2); +} + +function wasm_bindgen__convert__closures_____invoke__h26eacaf6d28097d6(arg0, arg1, arg2) { + wasm.wasm_bindgen__convert__closures_____invoke__h26eacaf6d28097d6(arg0, arg1, arg2); +} + +function wasm_bindgen__convert__closures_____invoke__ha942a44eff540ade(arg0, arg1, arg2, arg3) { + wasm.wasm_bindgen__convert__closures_____invoke__ha942a44eff540ade(arg0, arg1, arg2, arg3); } const __wbindgen_enum_ReadableStreamType = ["bytes"]; @@ -255,15 +251,21 @@ const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'u ? { register: () => {}, unregister: () => {} } : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr >>> 0, 1)); -export class IntoUnderlyingByteSource { +const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined') + ? { register: () => {}, unregister: () => {} } + : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr >>> 0, 1)); +const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined') + ? { register: () => {}, unregister: () => {} } + : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr >>> 0, 1)); + +export class IntoUnderlyingByteSource { __destroy_into_raw() { const ptr = this.__wbg_ptr; this.__wbg_ptr = 0; IntoUnderlyingByteSourceFinalization.unregister(this); return ptr; } - free() { const ptr = this.__destroy_into_raw(); wasm.__wbg_intounderlyingbytesource_free(ptr, 0); @@ -303,19 +305,13 @@ export class IntoUnderlyingByteSource { } if (Symbol.dispose) IntoUnderlyingByteSource.prototype[Symbol.dispose] = IntoUnderlyingByteSource.prototype.free; -const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined') - ? { register: () => {}, unregister: () => {} } - : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr >>> 0, 1)); - export class IntoUnderlyingSink { - __destroy_into_raw() { const ptr = this.__wbg_ptr; this.__wbg_ptr = 0; IntoUnderlyingSinkFinalization.unregister(this); return ptr; } - free() { const ptr = this.__destroy_into_raw(); wasm.__wbg_intounderlyingsink_free(ptr, 0); @@ -348,19 +344,13 @@ export class IntoUnderlyingSink { } if (Symbol.dispose) IntoUnderlyingSink.prototype[Symbol.dispose] = IntoUnderlyingSink.prototype.free; -const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined') - ? { register: () => {}, unregister: () => {} } - : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr >>> 0, 1)); - export class IntoUnderlyingSource { - __destroy_into_raw() { const ptr = this.__wbg_ptr; this.__wbg_ptr = 0; IntoUnderlyingSourceFinalization.unregister(this); return ptr; } - free() { const ptr = this.__destroy_into_raw(); wasm.__wbg_intounderlyingsource_free(ptr, 0); @@ -387,7 +377,6 @@ async function __wbg_load(module, imports) { if (typeof WebAssembly.instantiateStreaming === 'function') { try { return await WebAssembly.instantiateStreaming(module, imports); - } catch (e) { const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type); @@ -402,13 +391,11 @@ async function __wbg_load(module, imports) { const bytes = await module.arrayBuffer(); return await WebAssembly.instantiate(bytes, imports); - } else { const instance = await WebAssembly.instantiate(module, imports); if (instance instanceof WebAssembly.Instance) { return { instance, module }; - } else { return instance; } @@ -418,67 +405,124 @@ async function __wbg_load(module, imports) { function __wbg_get_imports() { const imports = {}; imports.wbg = {}; - imports.wbg.__wbg_Error_e17e777aac105295 = function(arg0, arg1) { + imports.wbg.__wbg_Error_52673b7de5a0ca89 = function(arg0, arg1) { const ret = Error(getStringFromWasm0(arg0, arg1)); return ret; }; - imports.wbg.__wbg_Number_998bea33bd87c3e0 = function(arg0) { + imports.wbg.__wbg_Number_2d1dcfcf4ec51736 = function(arg0) { const ret = Number(arg0); return ret; }; - imports.wbg.__wbg_buffer_8d40b1d762fb3c66 = function(arg0) { + imports.wbg.__wbg___wbindgen_boolean_get_dea25b33882b895b = function(arg0) { + const v = arg0; + const ret = typeof(v) === 'boolean' ? v : undefined; + return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0; + }; + imports.wbg.__wbg___wbindgen_debug_string_adfb662ae34724b6 = function(arg0, 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); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg___wbindgen_in_0d3e1e8f0c669317 = function(arg0, arg1) { + const ret = arg0 in arg1; + return ret; + }; + imports.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd = function(arg0) { + const ret = typeof(arg0) === 'function'; + return ret; + }; + imports.wbg.__wbg___wbindgen_is_object_ce774f3490692386 = function(arg0) { + const val = arg0; + const ret = typeof(val) === 'object' && val !== null; + return ret; + }; + imports.wbg.__wbg___wbindgen_is_string_704ef9c8fc131030 = function(arg0) { + const ret = typeof(arg0) === 'string'; + return ret; + }; + imports.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269 = function(arg0) { + const ret = arg0 === undefined; + return ret; + }; + imports.wbg.__wbg___wbindgen_jsval_loose_eq_766057600fdd1b0d = function(arg0, arg1) { + const ret = arg0 == arg1; + return ret; + }; + imports.wbg.__wbg___wbindgen_number_get_9619185a74197f95 = function(arg0, 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.__wbg___wbindgen_string_get_a2a31e16edf96e42 = function(arg0, 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; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e = function(arg0, arg1) { + throw new Error(getStringFromWasm0(arg0, arg1)); + }; + imports.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7 = function(arg0) { + arg0._wbg_cb_unref(); + }; + imports.wbg.__wbg_buffer_6cb2fecb1f253d71 = function(arg0) { const ret = arg0.buffer; return ret; }; - imports.wbg.__wbg_byobRequest_2c036bceca1e6037 = function(arg0) { + imports.wbg.__wbg_byobRequest_f8e3517f5f8ad284 = function(arg0) { const ret = arg0.byobRequest; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_byteLength_331a6b5545834024 = function(arg0) { + imports.wbg.__wbg_byteLength_faa9938885bdeee6 = function(arg0) { const ret = arg0.byteLength; return ret; }; - imports.wbg.__wbg_byteOffset_49a5b5608000358b = function(arg0) { + imports.wbg.__wbg_byteOffset_3868b6a19ba01dea = function(arg0) { const ret = arg0.byteOffset; return ret; }; - imports.wbg.__wbg_call_13410aac570ffff7 = function() { return handleError(function (arg0, arg1) { - const ret = arg0.call(arg1); - return ret; - }, arguments) }; - imports.wbg.__wbg_call_a5400b25a865cfd8 = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_call_3020136f7a2d6e44 = function() { return handleError(function (arg0, arg1, arg2) { const ret = arg0.call(arg1, arg2); return ret; }, arguments) }; - imports.wbg.__wbg_close_cccada6053ee3a65 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_call_abb4ff46ce38be40 = function() { return handleError(function (arg0, arg1) { + const ret = arg0.call(arg1); + return ret; + }, arguments) }; + imports.wbg.__wbg_close_0af5661bf3d335f2 = function() { return handleError(function (arg0) { arg0.close(); }, arguments) }; - imports.wbg.__wbg_close_d71a78219dc23e91 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_close_3ec111e7b23d94d8 = function() { return handleError(function (arg0) { arg0.close(); }, arguments) }; - imports.wbg.__wbg_createSyncAccessHandle_d06aab2e41a339b2 = function(arg0) { + imports.wbg.__wbg_createSyncAccessHandle_df3bfed7c6bd8d02 = function(arg0) { const ret = arg0.createSyncAccessHandle(); return ret; }; - imports.wbg.__wbg_data_9ab529722bcc4e6c = function(arg0) { + imports.wbg.__wbg_data_8bf4ae669a78a688 = function(arg0) { const ret = arg0.data; return ret; }; - imports.wbg.__wbg_debug_c906769d2f88c17b = function(arg0) { + imports.wbg.__wbg_debug_9d0c87ddda3dc485 = function(arg0) { console.debug(arg0); }; - imports.wbg.__wbg_done_75ed0ee6dd243d9d = function(arg0) { + imports.wbg.__wbg_done_62ea16af4ce34b24 = function(arg0) { const ret = arg0.done; return ret; }; - imports.wbg.__wbg_enqueue_452bc2343d1c2ff9 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_enqueue_a7e6b1ee87963aad = function() { return handleError(function (arg0, arg1) { arg0.enqueue(arg1); }, arguments) }; - imports.wbg.__wbg_entries_1a3c3b9544532397 = function(arg0) { + imports.wbg.__wbg_entries_7de5c9edd116e219 = function(arg0) { const ret = arg0.entries(); return ret; }; - imports.wbg.__wbg_entries_2be2f15bd5554996 = function(arg0) { + imports.wbg.__wbg_entries_83c79938054e065f = function(arg0) { const ret = Object.entries(arg0); return ret; }; @@ -493,95 +537,95 @@ function __wbg_get_imports() { wasm.__wbindgen_free(deferred0_0, deferred0_1, 1); } }; - imports.wbg.__wbg_error_99981e16d476aa5c = function(arg0) { + imports.wbg.__wbg_error_7bc7d576a6aaf855 = function(arg0) { console.error(arg0); }; - imports.wbg.__wbg_fill_c8751cf67b766c70 = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_fill_508dd108a821ee20 = function(arg0, arg1, arg2, arg3) { const ret = arg0.fill(arg1, arg2 >>> 0, arg3 >>> 0); return ret; }; - imports.wbg.__wbg_flush_d2487a24f3bc3cf4 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_flush_554f5177ae6f76cb = function() { return handleError(function (arg0) { arg0.flush(); }, arguments) }; - imports.wbg.__wbg_getDate_9615e288fc892247 = function(arg0) { + imports.wbg.__wbg_getDate_b8071ea9fc4f6838 = function(arg0) { const ret = arg0.getDate(); return ret; }; - imports.wbg.__wbg_getDay_c9c4f57fb4ef6fef = function(arg0) { + imports.wbg.__wbg_getDay_c13a50561112f77a = function(arg0) { const ret = arg0.getDay(); return ret; }; - imports.wbg.__wbg_getDirectoryHandle_0fb26677897f1e21 = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_getDirectoryHandle_edea923e1d89a19d = function(arg0, arg1, arg2, arg3) { const ret = arg0.getDirectoryHandle(getStringFromWasm0(arg1, arg2), arg3); return ret; }; - imports.wbg.__wbg_getDirectory_8564f4b4ae7ee35c = function(arg0) { + imports.wbg.__wbg_getDirectory_9beed6c83b6861f5 = function(arg0) { const ret = arg0.getDirectory(); return ret; }; - imports.wbg.__wbg_getFileHandle_9f23d09c2497fa5f = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_getFileHandle_298ee7a4e5a85f84 = function(arg0, arg1, arg2, arg3) { const ret = arg0.getFileHandle(getStringFromWasm0(arg1, arg2), arg3); return ret; }; - imports.wbg.__wbg_getFullYear_e351a9fa7d2fab83 = function(arg0) { + imports.wbg.__wbg_getFullYear_6ac412e8eee86879 = function(arg0) { const ret = arg0.getFullYear(); return ret; }; - imports.wbg.__wbg_getHours_4cc14de357c9e723 = function(arg0) { + imports.wbg.__wbg_getHours_52eb417ad6e924e8 = function(arg0) { const ret = arg0.getHours(); return ret; }; - imports.wbg.__wbg_getMinutes_6cde8fdd08b0c2ec = function(arg0) { + imports.wbg.__wbg_getMinutes_4097cef8e08622f9 = function(arg0) { const ret = arg0.getMinutes(); return ret; }; - imports.wbg.__wbg_getMonth_8cc234bce5c8bcac = function(arg0) { + imports.wbg.__wbg_getMonth_48a392071f9e5017 = function(arg0) { const ret = arg0.getMonth(); return ret; }; - imports.wbg.__wbg_getRandomValues_c51ec1a88ebf4945 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_getRandomValues_d8c71ea8f97a0b46 = function() { return handleError(function (arg0, arg1) { globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1)); }, arguments) }; - imports.wbg.__wbg_getSeconds_c2f02452d804ece0 = function(arg0) { + imports.wbg.__wbg_getSeconds_d94762aec8103802 = function(arg0) { const ret = arg0.getSeconds(); return ret; }; - imports.wbg.__wbg_getSize_56a06761973a6cd7 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_getSize_1bf196c4094d8f7b = function() { return handleError(function (arg0) { const ret = arg0.getSize(); return ret; }, arguments) }; - imports.wbg.__wbg_getTime_6bb3f64e0f18f817 = function(arg0) { + imports.wbg.__wbg_getTime_ad1e9878a735af08 = function(arg0) { const ret = arg0.getTime(); return ret; }; - imports.wbg.__wbg_getTimezoneOffset_1e3ddc1382e7c8b0 = function(arg0) { + imports.wbg.__wbg_getTimezoneOffset_45389e26d6f46823 = function(arg0) { const ret = arg0.getTimezoneOffset(); return ret; }; - imports.wbg.__wbg_getUint32_2dc0ed17b0324774 = function(arg0, arg1) { + imports.wbg.__wbg_getUint32_d63de983274cb44e = function(arg0, arg1) { const ret = arg0.getUint32(arg1 >>> 0); return ret; }; - imports.wbg.__wbg_get_0da715ceaecea5c8 = function(arg0, arg1) { + imports.wbg.__wbg_get_6b7bd52aca3f9671 = function(arg0, arg1) { const ret = arg0[arg1 >>> 0]; return ret; }; - imports.wbg.__wbg_get_458e874b43b18b25 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_get_af9dab7e9603ea93 = function() { return handleError(function (arg0, arg1) { const ret = Reflect.get(arg0, arg1); return ret; }, arguments) }; - imports.wbg.__wbg_getindex_61bb13d19869849b = function(arg0, arg1) { + imports.wbg.__wbg_get_index_4e7b3f629a0ab9cd = function(arg0, arg1) { const ret = arg0[arg1 >>> 0]; return ret; }; - imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) { + imports.wbg.__wbg_get_with_ref_key_1dc361bd10053bfe = function(arg0, arg1) { const ret = arg0[arg1]; return ret; }; - imports.wbg.__wbg_info_6cf68c1a86a92f6a = function(arg0) { + imports.wbg.__wbg_info_ce6bcc489c22f6f0 = function(arg0) { console.info(arg0); }; - imports.wbg.__wbg_instanceof_ArrayBuffer_67f3012529f6a2dd = function(arg0) { + imports.wbg.__wbg_instanceof_ArrayBuffer_f3320d2419cd0355 = function(arg0) { let result; try { result = arg0 instanceof ArrayBuffer; @@ -591,7 +635,7 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_Uint8Array_9a8378d955933db7 = function(arg0) { + imports.wbg.__wbg_instanceof_Uint8Array_da54ccc9d3e09434 = function(arg0) { let result; try { result = arg0 instanceof Uint8Array; @@ -601,7 +645,7 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_WorkerGlobalScope_85d487cc157fd065 = function(arg0) { + imports.wbg.__wbg_instanceof_WorkerGlobalScope_9a3411db21c65a54 = function(arg0) { let result; try { result = arg0 instanceof WorkerGlobalScope; @@ -611,57 +655,77 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_isArray_030cce220591fb41 = function(arg0) { + imports.wbg.__wbg_isArray_51fd9e6422c0a395 = function(arg0) { const ret = Array.isArray(arg0); return ret; }; - imports.wbg.__wbg_isSafeInteger_1c0d1af5542e102a = function(arg0) { + imports.wbg.__wbg_isSafeInteger_ae7d3f054d55fa16 = function(arg0) { const ret = Number.isSafeInteger(arg0); return ret; }; - imports.wbg.__wbg_iterator_f370b34483c71a1c = function() { + imports.wbg.__wbg_iterator_27b7c8b35ab3e86b = function() { const ret = Symbol.iterator; return ret; }; - imports.wbg.__wbg_length_186546c51cd61acd = function(arg0) { + imports.wbg.__wbg_length_1f83b8e5895c84aa = function(arg0) { const ret = arg0.length; return ret; }; - imports.wbg.__wbg_length_6bb7e81f9d7713e4 = function(arg0) { + imports.wbg.__wbg_length_22ac23eaec9d8053 = function(arg0) { const ret = arg0.length; return ret; }; - imports.wbg.__wbg_length_9d771c54845e987f = function(arg0) { + imports.wbg.__wbg_length_d45040a40c570362 = function(arg0) { const ret = arg0.length; return ret; }; - imports.wbg.__wbg_log_6c7b5f4f00b8ce3f = function(arg0) { + imports.wbg.__wbg_log_1d990106d99dacb7 = function(arg0) { console.log(arg0); }; - imports.wbg.__wbg_navigator_bfaf1b0b0eb48da2 = function(arg0) { + imports.wbg.__wbg_navigator_11b7299bb7886507 = function(arg0) { const ret = arg0.navigator; return ret; }; - imports.wbg.__wbg_new0_b0a0a38c201e6df5 = function() { + imports.wbg.__wbg_new_0_23cedd11d9b40c9d = function() { const ret = new Date(); return ret; }; - imports.wbg.__wbg_new_19c25a3f2fa63a02 = function() { + imports.wbg.__wbg_new_1ba21ce319a06297 = function() { const ret = new Object(); return ret; }; - imports.wbg.__wbg_new_1f3a344cf3123716 = function() { + imports.wbg.__wbg_new_23eee00e990dac7f = function(arg0, arg1, arg2) { + const ret = new DataView(arg0, arg1 >>> 0, arg2 >>> 0); + return ret; + }; + imports.wbg.__wbg_new_25f239778d6112b9 = function() { const ret = new Array(); return ret; }; - imports.wbg.__wbg_new_2e3c58a15f39f5f9 = function(arg0, arg1) { + imports.wbg.__wbg_new_6421f6084cc5bc5a = function(arg0) { + const ret = new Uint8Array(arg0); + return ret; + }; + imports.wbg.__wbg_new_8a6f238a6ece86ea = function() { + const ret = new Error(); + return ret; + }; + imports.wbg.__wbg_new_b2db8aa2650f793a = function(arg0) { + const ret = new Date(arg0); + return ret; + }; + imports.wbg.__wbg_new_df1173567d5ff028 = function(arg0, arg1) { + const ret = new Error(getStringFromWasm0(arg0, arg1)); + return ret; + }; + imports.wbg.__wbg_new_ff12d2b041fb48f1 = 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_106(a, state0.b, arg0, arg1); + return wasm_bindgen__convert__closures_____invoke__ha942a44eff540ade(a, state0.b, arg0, arg1); } finally { state0.a = a; } @@ -672,115 +736,95 @@ function __wbg_get_imports() { state0.a = state0.b = 0; } }; - imports.wbg.__wbg_new_5a2ae4557f92b50e = function(arg0) { - const ret = new Date(arg0); - return ret; - }; - imports.wbg.__wbg_new_638ebfaedbf32a5e = function(arg0) { - const ret = new Uint8Array(arg0); - return ret; - }; - imports.wbg.__wbg_new_8a6f238a6ece86ea = function() { - const ret = new Error(); - return ret; - }; - imports.wbg.__wbg_new_da9dc54c5db29dfa = function(arg0, arg1) { - const ret = new Error(getStringFromWasm0(arg0, arg1)); - return ret; - }; - imports.wbg.__wbg_new_f60d6f09990bdb99 = function(arg0, arg1, arg2) { - const ret = new DataView(arg0, arg1 >>> 0, arg2 >>> 0); - return ret; - }; - imports.wbg.__wbg_newfromslice_074c56947bd43469 = function(arg0, arg1) { + imports.wbg.__wbg_new_from_slice_f9c22b9153b26992 = function(arg0, arg1) { const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1)); return ret; }; - imports.wbg.__wbg_newnoargs_254190557c45b4ec = function(arg0, arg1) { + imports.wbg.__wbg_new_no_args_cb138f77cf6151ee = function(arg0, arg1) { const ret = new Function(getStringFromWasm0(arg0, arg1)); return ret; }; - imports.wbg.__wbg_newwithbyteoffsetandlength_e8f53910b4d42b45 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_new_with_byte_offset_and_length_d85c3da1fd8df149 = function(arg0, arg1, arg2) { const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0); return ret; }; - imports.wbg.__wbg_newwithlength_a167dcc7aaa3ba77 = function(arg0) { + imports.wbg.__wbg_new_with_length_aa5eaf41d35235e5 = function(arg0) { const ret = new Uint8Array(arg0 >>> 0); return ret; }; - imports.wbg.__wbg_newwithyearmonthday_9d5466a369f2521d = function(arg0, arg1, arg2) { + imports.wbg.__wbg_new_with_year_month_day_2ce3621d93185809 = function(arg0, arg1, arg2) { const ret = new Date(arg0 >>> 0, arg1, arg2); return ret; }; - imports.wbg.__wbg_next_1142e1658f75ec63 = function() { return handleError(function (arg0) { - const ret = arg0.next(); - return ret; - }, arguments) }; - imports.wbg.__wbg_next_5b3530e612fde77d = function(arg0) { + imports.wbg.__wbg_next_138a17bbf04e926c = function(arg0) { const ret = arg0.next; return ret; }; - imports.wbg.__wbg_next_692e82279131b03c = function() { return handleError(function (arg0) { + imports.wbg.__wbg_next_3cfe5c0fe2a4cc53 = function() { return handleError(function (arg0) { const ret = arg0.next(); return ret; }, arguments) }; - imports.wbg.__wbg_postMessage_38909232d65f5870 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_next_b34c09a202bf4424 = function() { return handleError(function (arg0) { + const ret = arg0.next(); + return ret; + }, arguments) }; + imports.wbg.__wbg_postMessage_7243f814e0cfb266 = function() { return handleError(function (arg0, arg1) { arg0.postMessage(arg1); }, arguments) }; - imports.wbg.__wbg_prototypesetcall_3d4a26c1ed734349 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(arg0, arg1, arg2) { Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2); }; - imports.wbg.__wbg_queueMicrotask_25d0739ac89e8c88 = function(arg0) { - queueMicrotask(arg0); - }; - imports.wbg.__wbg_queueMicrotask_4488407636f5bf24 = function(arg0) { + imports.wbg.__wbg_queueMicrotask_9b549dfce8865860 = function(arg0) { const ret = arg0.queueMicrotask; return ret; }; - imports.wbg.__wbg_random_7ed63a0b38ee3b75 = function() { + imports.wbg.__wbg_queueMicrotask_fca69f5bfad613a5 = function(arg0) { + queueMicrotask(arg0); + }; + imports.wbg.__wbg_random_cc1f9237d866d212 = function() { const ret = Math.random(); return ret; }; - imports.wbg.__wbg_read_a43bb46027f02ee9 = function() { return handleError(function (arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_read_0063be96fda4ddbb = function() { return handleError(function (arg0, arg1, arg2, arg3) { const ret = arg0.read(getArrayU8FromWasm0(arg1, arg2), arg3); return ret; }, arguments) }; - imports.wbg.__wbg_read_e271e94623077591 = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_read_6d42da91294142f6 = function() { return handleError(function (arg0, arg1, arg2) { const ret = arg0.read(arg1, arg2); return ret; }, arguments) }; - imports.wbg.__wbg_resolve_4055c623acdd6a1b = function(arg0) { + imports.wbg.__wbg_resolve_fd5bfbaa4ce36e1e = function(arg0) { const ret = Promise.resolve(arg0); return ret; }; - imports.wbg.__wbg_respond_6c2c4e20ef85138e = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_respond_9f7fc54636c4a3af = function() { return handleError(function (arg0, arg1) { arg0.respond(arg1 >>> 0); }, arguments) }; - imports.wbg.__wbg_setUint32_8a9564ae127df4c5 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_setUint32_6ee364ad2096f0ed = function(arg0, arg1, arg2) { arg0.setUint32(arg1 >>> 0, arg2 >>> 0); }; - imports.wbg.__wbg_set_1353b2a5e96bc48c = function(arg0, arg1, arg2) { + imports.wbg.__wbg_set_169e13b608078b7b = function(arg0, arg1, arg2) { arg0.set(getArrayU8FromWasm0(arg1, arg2)); }; imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) { arg0[arg1] = arg2; }; - imports.wbg.__wbg_set_90f6c0f7bd8c0415 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_set_7df433eea03a5c14 = function(arg0, arg1, arg2) { arg0[arg1 >>> 0] = arg2; }; - imports.wbg.__wbg_setat_f8fc70f546036b10 = function(arg0, arg1) { + imports.wbg.__wbg_set_at_8ed309b95b9da8e8 = function(arg0, arg1) { arg0.at = arg1; }; - imports.wbg.__wbg_setcreate_1eb73f4ea713c1ad = function(arg0, arg1) { + imports.wbg.__wbg_set_create_a7fa115dfd714480 = function(arg0, arg1) { arg0.create = arg1 !== 0; }; - imports.wbg.__wbg_setcreate_2d32aa4bbcd1d7af = function(arg0, arg1) { + imports.wbg.__wbg_set_create_c87a4965b38c1564 = function(arg0, arg1) { arg0.create = arg1 !== 0; }; - imports.wbg.__wbg_setonmessage_041fb8f4204d276c = function(arg0, arg1) { + imports.wbg.__wbg_set_onmessage_5fe29d0fb54cb575 = function(arg0, arg1) { arg0.onmessage = arg1; }; - imports.wbg.__wbg_slice_974daea329f5c01d = function(arg0, arg1, arg2) { + imports.wbg.__wbg_slice_3ab25105e7277633 = function(arg0, arg1, arg2) { const ret = arg0.slice(arg1 >>> 0, arg2 >>> 0); return ret; }; @@ -791,148 +835,85 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_static_accessor_GLOBAL_8921f820c2ce3f12 = function() { + imports.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335 = function() { const ret = typeof global === 'undefined' ? null : global; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_static_accessor_GLOBAL_THIS_f0a4409105898184 = function() { + imports.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1 = function() { const ret = typeof globalThis === 'undefined' ? null : globalThis; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_static_accessor_SELF_995b214ae681ff99 = function() { + imports.wbg.__wbg_static_accessor_SELF_08f5a74c69739274 = function() { const ret = typeof self === 'undefined' ? null : self; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_static_accessor_WINDOW_cde3890479c675ea = function() { + imports.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024 = function() { const ret = typeof window === 'undefined' ? null : window; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_storage_32b4ac688c114c3d = function(arg0) { + imports.wbg.__wbg_storage_7db24ea4f9f4aa79 = function(arg0) { const ret = arg0.storage; return ret; }; - imports.wbg.__wbg_subarray_70fd07feefe14294 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_subarray_845f2f5bce7d061a = function(arg0, arg1, arg2) { const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0); return ret; }; - imports.wbg.__wbg_then_b33a773d723afa3e = function(arg0, arg1, arg2) { + imports.wbg.__wbg_then_429f7caf1026411d = function(arg0, arg1, arg2) { const ret = arg0.then(arg1, arg2); return ret; }; - imports.wbg.__wbg_then_e22500defe16819f = function(arg0, arg1) { + imports.wbg.__wbg_then_4f95312d68691235 = function(arg0, arg1) { const ret = arg0.then(arg1); return ret; }; - imports.wbg.__wbg_toString_2ca967683e5874bc = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_toString_42914f2ae774fcf8 = function() { return handleError(function (arg0, arg1) { const ret = arg0.toString(arg1); return ret; }, arguments) }; - imports.wbg.__wbg_truncate_0fe935591188a14c = function() { return handleError(function (arg0, arg1) { - arg0.truncate(arg1 >>> 0); - }, arguments) }; - imports.wbg.__wbg_truncate_7cddd971e3cf0a8c = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_truncate_07b2629f3dbd9443 = function() { return handleError(function (arg0, arg1) { arg0.truncate(arg1); }, arguments) }; - imports.wbg.__wbg_value_dd9372230531eade = function(arg0) { + imports.wbg.__wbg_truncate_9e72c83b9fc1d156 = function() { return handleError(function (arg0, arg1) { + arg0.truncate(arg1 >>> 0); + }, arguments) }; + imports.wbg.__wbg_value_57b7b035e117f7ee = function(arg0) { const ret = arg0.value; return ret; }; - imports.wbg.__wbg_view_91cc97d57ab30530 = function(arg0) { + imports.wbg.__wbg_view_788aaf149deefd2f = function(arg0) { const ret = arg0.view; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_warn_e2ada06313f92f09 = function(arg0) { + imports.wbg.__wbg_warn_6e567d0d926ff881 = function(arg0) { console.warn(arg0); }; - imports.wbg.__wbg_wbindgenbooleanget_3fe6f642c7d97746 = function(arg0) { - const v = arg0; - const ret = typeof(v) === 'boolean' ? v : undefined; - return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0; - }; - imports.wbg.__wbg_wbindgencbdrop_eb10308566512b88 = function(arg0) { - const obj = arg0.original; - if (obj.cnt-- == 1) { - obj.a = 0; - return true; - } - const ret = false; - return ret; - }; - imports.wbg.__wbg_wbindgendebugstring_99ef257a3ddda34d = function(arg0, 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); - getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); - }; - imports.wbg.__wbg_wbindgenin_d7a1ee10933d2d55 = function(arg0, arg1) { - const ret = arg0 in arg1; - return ret; - }; - imports.wbg.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function(arg0) { - const ret = typeof(arg0) === 'function'; - return ret; - }; - imports.wbg.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function(arg0) { - const val = arg0; - const ret = typeof(val) === 'object' && val !== null; - return ret; - }; - imports.wbg.__wbg_wbindgenisstring_d4fa939789f003b0 = function(arg0) { - const ret = typeof(arg0) === 'string'; - return ret; - }; - imports.wbg.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function(arg0) { - const ret = arg0 === undefined; - return ret; - }; - imports.wbg.__wbg_wbindgenjsvallooseeq_9bec8c9be826bed1 = function(arg0, arg1) { - const ret = arg0 == arg1; - return ret; - }; - imports.wbg.__wbg_wbindgennumberget_f74b4c7525ac05cb = function(arg0, 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.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, 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; - getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); - getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); - }; - imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) { - throw new Error(getStringFromWasm0(arg0, arg1)); - }; - imports.wbg.__wbg_write_9ac6a5f58a8c835c = function() { return handleError(function (arg0, arg1, arg2, arg3) { - const ret = arg0.write(getArrayU8FromWasm0(arg1, arg2), arg3); - return ret; - }, arguments) }; - imports.wbg.__wbg_write_c0e234eeb0039d0d = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_write_c21838a97defef4b = function() { return handleError(function (arg0, arg1, arg2) { const ret = arg0.write(arg1, arg2); return ret; }, arguments) }; - imports.wbg.__wbindgen_cast_1ef262566db33b8e = function(arg0, arg1) { - // Cast intrinsic for `Closure(Closure { dtor_idx: 750, function: Function { arguments: [Externref], shim_idx: 751, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`. - const ret = makeMutClosure(arg0, arg1, 750, __wbg_adapter_8); + imports.wbg.__wbg_write_f87f327ea3e1dd4b = function() { return handleError(function (arg0, arg1, arg2, arg3) { + const ret = arg0.write(getArrayU8FromWasm0(arg1, arg2), arg3); return ret; - }; + }, arguments) }; imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) { // Cast intrinsic for `Ref(String) -> Externref`. const ret = getStringFromWasm0(arg0, arg1); return ret; }; + imports.wbg.__wbindgen_cast_4020656c0029c544 = function(arg0, arg1) { + // Cast intrinsic for `Closure(Closure { dtor_idx: 745, function: Function { arguments: [Externref], shim_idx: 746, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`. + const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__ha2974c92fa39f26b, wasm_bindgen__convert__closures_____invoke__hc5c04b5ba49ccfb9); + return ret; + }; imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) { // Cast intrinsic for `U64 -> Externref`. const ret = BigInt.asUintN(64, arg0); return ret; }; - imports.wbg.__wbindgen_cast_b39e8b2523f3b653 = function(arg0, arg1) { - // Cast intrinsic for `Closure(Closure { dtor_idx: 11, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 12, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. - const ret = makeClosure(arg0, arg1, 11, __wbg_adapter_11); + imports.wbg.__wbindgen_cast_484b311e26c958d3 = function(arg0, arg1) { + // Cast intrinsic for `Closure(Closure { dtor_idx: 31, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 32, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. + const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h1690e89d91ceb043, wasm_bindgen__convert__closures_____invoke__h26eacaf6d28097d6); return ret; }; imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) { @@ -941,23 +922,18 @@ function __wbg_get_imports() { return ret; }; imports.wbg.__wbindgen_init_externref_table = function() { - const table = wasm.__wbindgen_export_1; + const table = wasm.__wbindgen_externrefs; 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; } -function __wbg_init_memory(imports, memory) { - -} - function __wbg_finalize_init(instance, module) { wasm = instance.exports; __wbg_init.__wbindgen_wasm_module = module; @@ -982,15 +958,10 @@ function initSync(module) { } const imports = __wbg_get_imports(); - - __wbg_init_memory(imports); - if (!(module instanceof WebAssembly.Module)) { module = new WebAssembly.Module(module); } - const instance = new WebAssembly.Instance(module, imports); - return __wbg_finalize_init(instance, module); } @@ -1015,8 +986,6 @@ async function __wbg_init(module_or_path) { module_or_path = fetch(module_or_path); } - __wbg_init_memory(imports); - const { instance, module } = await __wbg_load(await module_or_path, imports); return __wbg_finalize_init(instance, module); diff --git a/sqlite3_bg.wasm b/sqlite3_bg.wasm index 3e6d5cf..e8e0374 100644 Binary files a/sqlite3_bg.wasm and b/sqlite3_bg.wasm differ diff --git a/sqlite3mc.js b/sqlite3mc.js index 2f6211a..68aaeab 100644 --- a/sqlite3mc.js +++ b/sqlite3mc.js @@ -1,121 +1,14 @@ let wasm; -let cachedUint8ArrayMemory0 = null; - -function getUint8ArrayMemory0() { - if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { - cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); - } - return cachedUint8ArrayMemory0; -} - -let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); - -cachedTextDecoder.decode(); - -const MAX_SAFARI_DECODE_BYTES = 2146435072; -let numBytesDecoded = 0; -function decodeText(ptr, len) { - numBytesDecoded += len; - if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) { - cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); - cachedTextDecoder.decode(); - numBytesDecoded = len; - } - return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); -} - -function getStringFromWasm0(ptr, len) { - ptr = ptr >>> 0; - return decodeText(ptr, len); -} - -function isLikeNone(x) { - return x === undefined || x === null; -} - function addToExternrefTable0(obj) { const idx = wasm.__externref_table_alloc(); - wasm.__wbindgen_export_1.set(idx, obj); + wasm.__wbindgen_externrefs.set(idx, obj); return idx; } -function handleError(f, args) { - try { - return f.apply(this, args); - } catch (e) { - const idx = addToExternrefTable0(e); - wasm.__wbindgen_exn_store(idx); - } -} - -function getArrayU8FromWasm0(ptr, len) { - ptr = ptr >>> 0; - return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len); -} - -let WASM_VECTOR_LEN = 0; - -const cachedTextEncoder = new TextEncoder(); - -if (!('encodeInto' in cachedTextEncoder)) { - cachedTextEncoder.encodeInto = function (arg, view) { - const buf = cachedTextEncoder.encode(arg); - view.set(buf); - return { - read: arg.length, - written: buf.length - }; - } -} - -function passStringToWasm0(arg, malloc, realloc) { - - if (realloc === undefined) { - const buf = cachedTextEncoder.encode(arg); - const ptr = malloc(buf.length, 1) >>> 0; - getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf); - WASM_VECTOR_LEN = buf.length; - return ptr; - } - - let len = arg.length; - let ptr = malloc(len, 1) >>> 0; - - const mem = getUint8ArrayMemory0(); - - let offset = 0; - - for (; offset < len; offset++) { - const code = arg.charCodeAt(offset); - if (code > 0x7F) break; - mem[ptr + offset] = code; - } - - if (offset !== len) { - if (offset !== 0) { - arg = arg.slice(offset); - } - ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; - const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len); - const ret = cachedTextEncoder.encodeInto(arg, view); - - offset += ret.written; - ptr = realloc(ptr, len, offset, 1) >>> 0; - } - - WASM_VECTOR_LEN = offset; - return ptr; -} - -let cachedDataViewMemory0 = null; - -function getDataViewMemory0() { - if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) { - cachedDataViewMemory0 = new DataView(wasm.memory.buffer); - } - return cachedDataViewMemory0; -} +const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined') + ? { register: () => {}, unregister: () => {} } + : new FinalizationRegistry(state => state.dtor(state.a, state.b)); function debugString(val) { // primitive types @@ -182,13 +75,44 @@ function debugString(val) { return className; } -const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined') - ? { register: () => {}, unregister: () => {} } - : new FinalizationRegistry( -state => { - wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b); +function getArrayU8FromWasm0(ptr, len) { + ptr = ptr >>> 0; + return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len); +} + +let cachedDataViewMemory0 = null; +function getDataViewMemory0() { + if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) { + cachedDataViewMemory0 = new DataView(wasm.memory.buffer); + } + return cachedDataViewMemory0; +} + +function getStringFromWasm0(ptr, len) { + ptr = ptr >>> 0; + return decodeText(ptr, len); +} + +let cachedUint8ArrayMemory0 = null; +function getUint8ArrayMemory0() { + if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { + cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); + } + return cachedUint8ArrayMemory0; +} + +function handleError(f, args) { + try { + return f.apply(this, args); + } catch (e) { + const idx = addToExternrefTable0(e); + wasm.__wbindgen_exn_store(idx); + } +} + +function isLikeNone(x) { + return x === undefined || x === null; } -); function makeClosure(arg0, arg1, dtor, f) { const state = { a: arg0, b: arg1, cnt: 1, dtor }; @@ -201,13 +125,16 @@ function makeClosure(arg0, arg1, dtor, f) { try { return f(state.a, state.b, ...args); } finally { - if (--state.cnt === 0) { - wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b); state.a = 0; - CLOSURE_DTORS.unregister(state); - } + real._wbg_cb_unref(); + } + }; + real._wbg_cb_unref = () => { + if (--state.cnt === 0) { + state.dtor(state.a, state.b); + state.a = 0; + CLOSURE_DTORS.unregister(state); } }; - real.original = state; CLOSURE_DTORS.register(real, state, state); return real; } @@ -225,28 +152,97 @@ function makeMutClosure(arg0, arg1, dtor, f) { try { return f(a, state.b, ...args); } finally { - if (--state.cnt === 0) { - wasm.__wbindgen_export_6.get(state.dtor)(a, state.b); - CLOSURE_DTORS.unregister(state); - } else { - state.a = a; - } + state.a = a; + real._wbg_cb_unref(); + } + }; + real._wbg_cb_unref = () => { + if (--state.cnt === 0) { + state.dtor(state.a, state.b); + state.a = 0; + CLOSURE_DTORS.unregister(state); } }; - real.original = state; CLOSURE_DTORS.register(real, state, state); return real; } -function __wbg_adapter_8(arg0, arg1, arg2) { - wasm.closure907_externref_shim(arg0, arg1, arg2); + +function passStringToWasm0(arg, malloc, realloc) { + if (realloc === undefined) { + const buf = cachedTextEncoder.encode(arg); + const ptr = malloc(buf.length, 1) >>> 0; + getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf); + WASM_VECTOR_LEN = buf.length; + return ptr; + } + + let len = arg.length; + let ptr = malloc(len, 1) >>> 0; + + const mem = getUint8ArrayMemory0(); + + let offset = 0; + + for (; offset < len; offset++) { + const code = arg.charCodeAt(offset); + if (code > 0x7F) break; + mem[ptr + offset] = code; + } + if (offset !== len) { + if (offset !== 0) { + arg = arg.slice(offset); + } + ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; + const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len); + const ret = cachedTextEncoder.encodeInto(arg, view); + + offset += ret.written; + ptr = realloc(ptr, len, offset, 1) >>> 0; + } + + WASM_VECTOR_LEN = offset; + return ptr; } -function __wbg_adapter_13(arg0, arg1, arg2) { - wasm.closure73_externref_shim(arg0, arg1, arg2); +let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); +cachedTextDecoder.decode(); +const MAX_SAFARI_DECODE_BYTES = 2146435072; +let numBytesDecoded = 0; +function decodeText(ptr, len) { + numBytesDecoded += len; + if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) { + cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); + cachedTextDecoder.decode(); + numBytesDecoded = len; + } + return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); } -function __wbg_adapter_106(arg0, arg1, arg2, arg3) { - wasm.closure920_externref_shim(arg0, arg1, arg2, arg3); +const cachedTextEncoder = new TextEncoder(); + +if (!('encodeInto' in cachedTextEncoder)) { + cachedTextEncoder.encodeInto = function (arg, view) { + const buf = cachedTextEncoder.encode(arg); + view.set(buf); + return { + read: arg.length, + written: buf.length + }; + } +} + +let WASM_VECTOR_LEN = 0; + +function wasm_bindgen__convert__closures_____invoke__h033fa5c6adaea5ac(arg0, arg1, arg2) { + wasm.wasm_bindgen__convert__closures_____invoke__h033fa5c6adaea5ac(arg0, arg1, arg2); +} + +function wasm_bindgen__convert__closures_____invoke__hc5c04b5ba49ccfb9(arg0, arg1, arg2) { + wasm.wasm_bindgen__convert__closures_____invoke__hc5c04b5ba49ccfb9(arg0, arg1, arg2); +} + +function wasm_bindgen__convert__closures_____invoke__ha942a44eff540ade(arg0, arg1, arg2, arg3) { + wasm.wasm_bindgen__convert__closures_____invoke__ha942a44eff540ade(arg0, arg1, arg2, arg3); } const __wbindgen_enum_ReadableStreamType = ["bytes"]; @@ -255,15 +251,21 @@ const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'u ? { register: () => {}, unregister: () => {} } : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr >>> 0, 1)); -export class IntoUnderlyingByteSource { +const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined') + ? { register: () => {}, unregister: () => {} } + : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr >>> 0, 1)); +const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined') + ? { register: () => {}, unregister: () => {} } + : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr >>> 0, 1)); + +export class IntoUnderlyingByteSource { __destroy_into_raw() { const ptr = this.__wbg_ptr; this.__wbg_ptr = 0; IntoUnderlyingByteSourceFinalization.unregister(this); return ptr; } - free() { const ptr = this.__destroy_into_raw(); wasm.__wbg_intounderlyingbytesource_free(ptr, 0); @@ -303,19 +305,13 @@ export class IntoUnderlyingByteSource { } if (Symbol.dispose) IntoUnderlyingByteSource.prototype[Symbol.dispose] = IntoUnderlyingByteSource.prototype.free; -const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined') - ? { register: () => {}, unregister: () => {} } - : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr >>> 0, 1)); - export class IntoUnderlyingSink { - __destroy_into_raw() { const ptr = this.__wbg_ptr; this.__wbg_ptr = 0; IntoUnderlyingSinkFinalization.unregister(this); return ptr; } - free() { const ptr = this.__destroy_into_raw(); wasm.__wbg_intounderlyingsink_free(ptr, 0); @@ -348,19 +344,13 @@ export class IntoUnderlyingSink { } if (Symbol.dispose) IntoUnderlyingSink.prototype[Symbol.dispose] = IntoUnderlyingSink.prototype.free; -const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined') - ? { register: () => {}, unregister: () => {} } - : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr >>> 0, 1)); - export class IntoUnderlyingSource { - __destroy_into_raw() { const ptr = this.__wbg_ptr; this.__wbg_ptr = 0; IntoUnderlyingSourceFinalization.unregister(this); return ptr; } - free() { const ptr = this.__destroy_into_raw(); wasm.__wbg_intounderlyingsource_free(ptr, 0); @@ -387,7 +377,6 @@ async function __wbg_load(module, imports) { if (typeof WebAssembly.instantiateStreaming === 'function') { try { return await WebAssembly.instantiateStreaming(module, imports); - } catch (e) { const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type); @@ -402,13 +391,11 @@ async function __wbg_load(module, imports) { const bytes = await module.arrayBuffer(); return await WebAssembly.instantiate(bytes, imports); - } else { const instance = await WebAssembly.instantiate(module, imports); if (instance instanceof WebAssembly.Instance) { return { instance, module }; - } else { return instance; } @@ -418,67 +405,124 @@ async function __wbg_load(module, imports) { function __wbg_get_imports() { const imports = {}; imports.wbg = {}; - imports.wbg.__wbg_Error_e17e777aac105295 = function(arg0, arg1) { + imports.wbg.__wbg_Error_52673b7de5a0ca89 = function(arg0, arg1) { const ret = Error(getStringFromWasm0(arg0, arg1)); return ret; }; - imports.wbg.__wbg_Number_998bea33bd87c3e0 = function(arg0) { + imports.wbg.__wbg_Number_2d1dcfcf4ec51736 = function(arg0) { const ret = Number(arg0); return ret; }; - imports.wbg.__wbg_buffer_8d40b1d762fb3c66 = function(arg0) { + imports.wbg.__wbg___wbindgen_boolean_get_dea25b33882b895b = function(arg0) { + const v = arg0; + const ret = typeof(v) === 'boolean' ? v : undefined; + return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0; + }; + imports.wbg.__wbg___wbindgen_debug_string_adfb662ae34724b6 = function(arg0, 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); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg___wbindgen_in_0d3e1e8f0c669317 = function(arg0, arg1) { + const ret = arg0 in arg1; + return ret; + }; + imports.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd = function(arg0) { + const ret = typeof(arg0) === 'function'; + return ret; + }; + imports.wbg.__wbg___wbindgen_is_object_ce774f3490692386 = function(arg0) { + const val = arg0; + const ret = typeof(val) === 'object' && val !== null; + return ret; + }; + imports.wbg.__wbg___wbindgen_is_string_704ef9c8fc131030 = function(arg0) { + const ret = typeof(arg0) === 'string'; + return ret; + }; + imports.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269 = function(arg0) { + const ret = arg0 === undefined; + return ret; + }; + imports.wbg.__wbg___wbindgen_jsval_loose_eq_766057600fdd1b0d = function(arg0, arg1) { + const ret = arg0 == arg1; + return ret; + }; + imports.wbg.__wbg___wbindgen_number_get_9619185a74197f95 = function(arg0, 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.__wbg___wbindgen_string_get_a2a31e16edf96e42 = function(arg0, 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; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e = function(arg0, arg1) { + throw new Error(getStringFromWasm0(arg0, arg1)); + }; + imports.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7 = function(arg0) { + arg0._wbg_cb_unref(); + }; + imports.wbg.__wbg_buffer_6cb2fecb1f253d71 = function(arg0) { const ret = arg0.buffer; return ret; }; - imports.wbg.__wbg_byobRequest_2c036bceca1e6037 = function(arg0) { + imports.wbg.__wbg_byobRequest_f8e3517f5f8ad284 = function(arg0) { const ret = arg0.byobRequest; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_byteLength_331a6b5545834024 = function(arg0) { + imports.wbg.__wbg_byteLength_faa9938885bdeee6 = function(arg0) { const ret = arg0.byteLength; return ret; }; - imports.wbg.__wbg_byteOffset_49a5b5608000358b = function(arg0) { + imports.wbg.__wbg_byteOffset_3868b6a19ba01dea = function(arg0) { const ret = arg0.byteOffset; return ret; }; - imports.wbg.__wbg_call_13410aac570ffff7 = function() { return handleError(function (arg0, arg1) { - const ret = arg0.call(arg1); - return ret; - }, arguments) }; - imports.wbg.__wbg_call_a5400b25a865cfd8 = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_call_3020136f7a2d6e44 = function() { return handleError(function (arg0, arg1, arg2) { const ret = arg0.call(arg1, arg2); return ret; }, arguments) }; - imports.wbg.__wbg_close_cccada6053ee3a65 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_call_abb4ff46ce38be40 = function() { return handleError(function (arg0, arg1) { + const ret = arg0.call(arg1); + return ret; + }, arguments) }; + imports.wbg.__wbg_close_0af5661bf3d335f2 = function() { return handleError(function (arg0) { arg0.close(); }, arguments) }; - imports.wbg.__wbg_close_d71a78219dc23e91 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_close_3ec111e7b23d94d8 = function() { return handleError(function (arg0) { arg0.close(); }, arguments) }; - imports.wbg.__wbg_createSyncAccessHandle_d06aab2e41a339b2 = function(arg0) { + imports.wbg.__wbg_createSyncAccessHandle_df3bfed7c6bd8d02 = function(arg0) { const ret = arg0.createSyncAccessHandle(); return ret; }; - imports.wbg.__wbg_data_9ab529722bcc4e6c = function(arg0) { + imports.wbg.__wbg_data_8bf4ae669a78a688 = function(arg0) { const ret = arg0.data; return ret; }; - imports.wbg.__wbg_debug_c906769d2f88c17b = function(arg0) { + imports.wbg.__wbg_debug_9d0c87ddda3dc485 = function(arg0) { console.debug(arg0); }; - imports.wbg.__wbg_done_75ed0ee6dd243d9d = function(arg0) { + imports.wbg.__wbg_done_62ea16af4ce34b24 = function(arg0) { const ret = arg0.done; return ret; }; - imports.wbg.__wbg_enqueue_452bc2343d1c2ff9 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_enqueue_a7e6b1ee87963aad = function() { return handleError(function (arg0, arg1) { arg0.enqueue(arg1); }, arguments) }; - imports.wbg.__wbg_entries_1a3c3b9544532397 = function(arg0) { + imports.wbg.__wbg_entries_7de5c9edd116e219 = function(arg0) { const ret = arg0.entries(); return ret; }; - imports.wbg.__wbg_entries_2be2f15bd5554996 = function(arg0) { + imports.wbg.__wbg_entries_83c79938054e065f = function(arg0) { const ret = Object.entries(arg0); return ret; }; @@ -493,95 +537,95 @@ function __wbg_get_imports() { wasm.__wbindgen_free(deferred0_0, deferred0_1, 1); } }; - imports.wbg.__wbg_error_99981e16d476aa5c = function(arg0) { + imports.wbg.__wbg_error_7bc7d576a6aaf855 = function(arg0) { console.error(arg0); }; - imports.wbg.__wbg_fill_c8751cf67b766c70 = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_fill_508dd108a821ee20 = function(arg0, arg1, arg2, arg3) { const ret = arg0.fill(arg1, arg2 >>> 0, arg3 >>> 0); return ret; }; - imports.wbg.__wbg_flush_d2487a24f3bc3cf4 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_flush_554f5177ae6f76cb = function() { return handleError(function (arg0) { arg0.flush(); }, arguments) }; - imports.wbg.__wbg_getDate_9615e288fc892247 = function(arg0) { + imports.wbg.__wbg_getDate_b8071ea9fc4f6838 = function(arg0) { const ret = arg0.getDate(); return ret; }; - imports.wbg.__wbg_getDay_c9c4f57fb4ef6fef = function(arg0) { + imports.wbg.__wbg_getDay_c13a50561112f77a = function(arg0) { const ret = arg0.getDay(); return ret; }; - imports.wbg.__wbg_getDirectoryHandle_0fb26677897f1e21 = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_getDirectoryHandle_edea923e1d89a19d = function(arg0, arg1, arg2, arg3) { const ret = arg0.getDirectoryHandle(getStringFromWasm0(arg1, arg2), arg3); return ret; }; - imports.wbg.__wbg_getDirectory_8564f4b4ae7ee35c = function(arg0) { + imports.wbg.__wbg_getDirectory_9beed6c83b6861f5 = function(arg0) { const ret = arg0.getDirectory(); return ret; }; - imports.wbg.__wbg_getFileHandle_9f23d09c2497fa5f = function(arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_getFileHandle_298ee7a4e5a85f84 = function(arg0, arg1, arg2, arg3) { const ret = arg0.getFileHandle(getStringFromWasm0(arg1, arg2), arg3); return ret; }; - imports.wbg.__wbg_getFullYear_e351a9fa7d2fab83 = function(arg0) { + imports.wbg.__wbg_getFullYear_6ac412e8eee86879 = function(arg0) { const ret = arg0.getFullYear(); return ret; }; - imports.wbg.__wbg_getHours_4cc14de357c9e723 = function(arg0) { + imports.wbg.__wbg_getHours_52eb417ad6e924e8 = function(arg0) { const ret = arg0.getHours(); return ret; }; - imports.wbg.__wbg_getMinutes_6cde8fdd08b0c2ec = function(arg0) { + imports.wbg.__wbg_getMinutes_4097cef8e08622f9 = function(arg0) { const ret = arg0.getMinutes(); return ret; }; - imports.wbg.__wbg_getMonth_8cc234bce5c8bcac = function(arg0) { + imports.wbg.__wbg_getMonth_48a392071f9e5017 = function(arg0) { const ret = arg0.getMonth(); return ret; }; - imports.wbg.__wbg_getRandomValues_c51ec1a88ebf4945 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_getRandomValues_d8c71ea8f97a0b46 = function() { return handleError(function (arg0, arg1) { globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1)); }, arguments) }; - imports.wbg.__wbg_getSeconds_c2f02452d804ece0 = function(arg0) { + imports.wbg.__wbg_getSeconds_d94762aec8103802 = function(arg0) { const ret = arg0.getSeconds(); return ret; }; - imports.wbg.__wbg_getSize_56a06761973a6cd7 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_getSize_1bf196c4094d8f7b = function() { return handleError(function (arg0) { const ret = arg0.getSize(); return ret; }, arguments) }; - imports.wbg.__wbg_getTime_6bb3f64e0f18f817 = function(arg0) { + imports.wbg.__wbg_getTime_ad1e9878a735af08 = function(arg0) { const ret = arg0.getTime(); return ret; }; - imports.wbg.__wbg_getTimezoneOffset_1e3ddc1382e7c8b0 = function(arg0) { + imports.wbg.__wbg_getTimezoneOffset_45389e26d6f46823 = function(arg0) { const ret = arg0.getTimezoneOffset(); return ret; }; - imports.wbg.__wbg_getUint32_2dc0ed17b0324774 = function(arg0, arg1) { + imports.wbg.__wbg_getUint32_d63de983274cb44e = function(arg0, arg1) { const ret = arg0.getUint32(arg1 >>> 0); return ret; }; - imports.wbg.__wbg_get_0da715ceaecea5c8 = function(arg0, arg1) { + imports.wbg.__wbg_get_6b7bd52aca3f9671 = function(arg0, arg1) { const ret = arg0[arg1 >>> 0]; return ret; }; - imports.wbg.__wbg_get_458e874b43b18b25 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_get_af9dab7e9603ea93 = function() { return handleError(function (arg0, arg1) { const ret = Reflect.get(arg0, arg1); return ret; }, arguments) }; - imports.wbg.__wbg_getindex_61bb13d19869849b = function(arg0, arg1) { + imports.wbg.__wbg_get_index_4e7b3f629a0ab9cd = function(arg0, arg1) { const ret = arg0[arg1 >>> 0]; return ret; }; - imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) { + imports.wbg.__wbg_get_with_ref_key_1dc361bd10053bfe = function(arg0, arg1) { const ret = arg0[arg1]; return ret; }; - imports.wbg.__wbg_info_6cf68c1a86a92f6a = function(arg0) { + imports.wbg.__wbg_info_ce6bcc489c22f6f0 = function(arg0) { console.info(arg0); }; - imports.wbg.__wbg_instanceof_ArrayBuffer_67f3012529f6a2dd = function(arg0) { + imports.wbg.__wbg_instanceof_ArrayBuffer_f3320d2419cd0355 = function(arg0) { let result; try { result = arg0 instanceof ArrayBuffer; @@ -591,7 +635,7 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_Uint8Array_9a8378d955933db7 = function(arg0) { + imports.wbg.__wbg_instanceof_Uint8Array_da54ccc9d3e09434 = function(arg0) { let result; try { result = arg0 instanceof Uint8Array; @@ -601,7 +645,7 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_instanceof_WorkerGlobalScope_85d487cc157fd065 = function(arg0) { + imports.wbg.__wbg_instanceof_WorkerGlobalScope_9a3411db21c65a54 = function(arg0) { let result; try { result = arg0 instanceof WorkerGlobalScope; @@ -611,57 +655,77 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_isArray_030cce220591fb41 = function(arg0) { + imports.wbg.__wbg_isArray_51fd9e6422c0a395 = function(arg0) { const ret = Array.isArray(arg0); return ret; }; - imports.wbg.__wbg_isSafeInteger_1c0d1af5542e102a = function(arg0) { + imports.wbg.__wbg_isSafeInteger_ae7d3f054d55fa16 = function(arg0) { const ret = Number.isSafeInteger(arg0); return ret; }; - imports.wbg.__wbg_iterator_f370b34483c71a1c = function() { + imports.wbg.__wbg_iterator_27b7c8b35ab3e86b = function() { const ret = Symbol.iterator; return ret; }; - imports.wbg.__wbg_length_186546c51cd61acd = function(arg0) { + imports.wbg.__wbg_length_1f83b8e5895c84aa = function(arg0) { const ret = arg0.length; return ret; }; - imports.wbg.__wbg_length_6bb7e81f9d7713e4 = function(arg0) { + imports.wbg.__wbg_length_22ac23eaec9d8053 = function(arg0) { const ret = arg0.length; return ret; }; - imports.wbg.__wbg_length_9d771c54845e987f = function(arg0) { + imports.wbg.__wbg_length_d45040a40c570362 = function(arg0) { const ret = arg0.length; return ret; }; - imports.wbg.__wbg_log_6c7b5f4f00b8ce3f = function(arg0) { + imports.wbg.__wbg_log_1d990106d99dacb7 = function(arg0) { console.log(arg0); }; - imports.wbg.__wbg_navigator_bfaf1b0b0eb48da2 = function(arg0) { + imports.wbg.__wbg_navigator_11b7299bb7886507 = function(arg0) { const ret = arg0.navigator; return ret; }; - imports.wbg.__wbg_new0_b0a0a38c201e6df5 = function() { + imports.wbg.__wbg_new_0_23cedd11d9b40c9d = function() { const ret = new Date(); return ret; }; - imports.wbg.__wbg_new_19c25a3f2fa63a02 = function() { + imports.wbg.__wbg_new_1ba21ce319a06297 = function() { const ret = new Object(); return ret; }; - imports.wbg.__wbg_new_1f3a344cf3123716 = function() { + imports.wbg.__wbg_new_23eee00e990dac7f = function(arg0, arg1, arg2) { + const ret = new DataView(arg0, arg1 >>> 0, arg2 >>> 0); + return ret; + }; + imports.wbg.__wbg_new_25f239778d6112b9 = function() { const ret = new Array(); return ret; }; - imports.wbg.__wbg_new_2e3c58a15f39f5f9 = function(arg0, arg1) { + imports.wbg.__wbg_new_6421f6084cc5bc5a = function(arg0) { + const ret = new Uint8Array(arg0); + return ret; + }; + imports.wbg.__wbg_new_8a6f238a6ece86ea = function() { + const ret = new Error(); + return ret; + }; + imports.wbg.__wbg_new_b2db8aa2650f793a = function(arg0) { + const ret = new Date(arg0); + return ret; + }; + imports.wbg.__wbg_new_df1173567d5ff028 = function(arg0, arg1) { + const ret = new Error(getStringFromWasm0(arg0, arg1)); + return ret; + }; + imports.wbg.__wbg_new_ff12d2b041fb48f1 = 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_106(a, state0.b, arg0, arg1); + return wasm_bindgen__convert__closures_____invoke__ha942a44eff540ade(a, state0.b, arg0, arg1); } finally { state0.a = a; } @@ -672,115 +736,95 @@ function __wbg_get_imports() { state0.a = state0.b = 0; } }; - imports.wbg.__wbg_new_5a2ae4557f92b50e = function(arg0) { - const ret = new Date(arg0); - return ret; - }; - imports.wbg.__wbg_new_638ebfaedbf32a5e = function(arg0) { - const ret = new Uint8Array(arg0); - return ret; - }; - imports.wbg.__wbg_new_8a6f238a6ece86ea = function() { - const ret = new Error(); - return ret; - }; - imports.wbg.__wbg_new_da9dc54c5db29dfa = function(arg0, arg1) { - const ret = new Error(getStringFromWasm0(arg0, arg1)); - return ret; - }; - imports.wbg.__wbg_new_f60d6f09990bdb99 = function(arg0, arg1, arg2) { - const ret = new DataView(arg0, arg1 >>> 0, arg2 >>> 0); - return ret; - }; - imports.wbg.__wbg_newfromslice_074c56947bd43469 = function(arg0, arg1) { + imports.wbg.__wbg_new_from_slice_f9c22b9153b26992 = function(arg0, arg1) { const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1)); return ret; }; - imports.wbg.__wbg_newnoargs_254190557c45b4ec = function(arg0, arg1) { + imports.wbg.__wbg_new_no_args_cb138f77cf6151ee = function(arg0, arg1) { const ret = new Function(getStringFromWasm0(arg0, arg1)); return ret; }; - imports.wbg.__wbg_newwithbyteoffsetandlength_e8f53910b4d42b45 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_new_with_byte_offset_and_length_d85c3da1fd8df149 = function(arg0, arg1, arg2) { const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0); return ret; }; - imports.wbg.__wbg_newwithlength_a167dcc7aaa3ba77 = function(arg0) { + imports.wbg.__wbg_new_with_length_aa5eaf41d35235e5 = function(arg0) { const ret = new Uint8Array(arg0 >>> 0); return ret; }; - imports.wbg.__wbg_newwithyearmonthday_9d5466a369f2521d = function(arg0, arg1, arg2) { + imports.wbg.__wbg_new_with_year_month_day_2ce3621d93185809 = function(arg0, arg1, arg2) { const ret = new Date(arg0 >>> 0, arg1, arg2); return ret; }; - imports.wbg.__wbg_next_1142e1658f75ec63 = function() { return handleError(function (arg0) { - const ret = arg0.next(); - return ret; - }, arguments) }; - imports.wbg.__wbg_next_5b3530e612fde77d = function(arg0) { + imports.wbg.__wbg_next_138a17bbf04e926c = function(arg0) { const ret = arg0.next; return ret; }; - imports.wbg.__wbg_next_692e82279131b03c = function() { return handleError(function (arg0) { + imports.wbg.__wbg_next_3cfe5c0fe2a4cc53 = function() { return handleError(function (arg0) { const ret = arg0.next(); return ret; }, arguments) }; - imports.wbg.__wbg_postMessage_38909232d65f5870 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_next_b34c09a202bf4424 = function() { return handleError(function (arg0) { + const ret = arg0.next(); + return ret; + }, arguments) }; + imports.wbg.__wbg_postMessage_7243f814e0cfb266 = function() { return handleError(function (arg0, arg1) { arg0.postMessage(arg1); }, arguments) }; - imports.wbg.__wbg_prototypesetcall_3d4a26c1ed734349 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(arg0, arg1, arg2) { Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2); }; - imports.wbg.__wbg_queueMicrotask_25d0739ac89e8c88 = function(arg0) { - queueMicrotask(arg0); - }; - imports.wbg.__wbg_queueMicrotask_4488407636f5bf24 = function(arg0) { + imports.wbg.__wbg_queueMicrotask_9b549dfce8865860 = function(arg0) { const ret = arg0.queueMicrotask; return ret; }; - imports.wbg.__wbg_random_7ed63a0b38ee3b75 = function() { + imports.wbg.__wbg_queueMicrotask_fca69f5bfad613a5 = function(arg0) { + queueMicrotask(arg0); + }; + imports.wbg.__wbg_random_cc1f9237d866d212 = function() { const ret = Math.random(); return ret; }; - imports.wbg.__wbg_read_a43bb46027f02ee9 = function() { return handleError(function (arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_read_0063be96fda4ddbb = function() { return handleError(function (arg0, arg1, arg2, arg3) { const ret = arg0.read(getArrayU8FromWasm0(arg1, arg2), arg3); return ret; }, arguments) }; - imports.wbg.__wbg_read_e271e94623077591 = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_read_6d42da91294142f6 = function() { return handleError(function (arg0, arg1, arg2) { const ret = arg0.read(arg1, arg2); return ret; }, arguments) }; - imports.wbg.__wbg_resolve_4055c623acdd6a1b = function(arg0) { + imports.wbg.__wbg_resolve_fd5bfbaa4ce36e1e = function(arg0) { const ret = Promise.resolve(arg0); return ret; }; - imports.wbg.__wbg_respond_6c2c4e20ef85138e = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_respond_9f7fc54636c4a3af = function() { return handleError(function (arg0, arg1) { arg0.respond(arg1 >>> 0); }, arguments) }; - imports.wbg.__wbg_setUint32_8a9564ae127df4c5 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_setUint32_6ee364ad2096f0ed = function(arg0, arg1, arg2) { arg0.setUint32(arg1 >>> 0, arg2 >>> 0); }; - imports.wbg.__wbg_set_1353b2a5e96bc48c = function(arg0, arg1, arg2) { + imports.wbg.__wbg_set_169e13b608078b7b = function(arg0, arg1, arg2) { arg0.set(getArrayU8FromWasm0(arg1, arg2)); }; imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) { arg0[arg1] = arg2; }; - imports.wbg.__wbg_set_90f6c0f7bd8c0415 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_set_7df433eea03a5c14 = function(arg0, arg1, arg2) { arg0[arg1 >>> 0] = arg2; }; - imports.wbg.__wbg_setat_f8fc70f546036b10 = function(arg0, arg1) { + imports.wbg.__wbg_set_at_8ed309b95b9da8e8 = function(arg0, arg1) { arg0.at = arg1; }; - imports.wbg.__wbg_setcreate_1eb73f4ea713c1ad = function(arg0, arg1) { + imports.wbg.__wbg_set_create_a7fa115dfd714480 = function(arg0, arg1) { arg0.create = arg1 !== 0; }; - imports.wbg.__wbg_setcreate_2d32aa4bbcd1d7af = function(arg0, arg1) { + imports.wbg.__wbg_set_create_c87a4965b38c1564 = function(arg0, arg1) { arg0.create = arg1 !== 0; }; - imports.wbg.__wbg_setonmessage_041fb8f4204d276c = function(arg0, arg1) { + imports.wbg.__wbg_set_onmessage_5fe29d0fb54cb575 = function(arg0, arg1) { arg0.onmessage = arg1; }; - imports.wbg.__wbg_slice_974daea329f5c01d = function(arg0, arg1, arg2) { + imports.wbg.__wbg_slice_3ab25105e7277633 = function(arg0, arg1, arg2) { const ret = arg0.slice(arg1 >>> 0, arg2 >>> 0); return ret; }; @@ -791,128 +835,65 @@ function __wbg_get_imports() { getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_static_accessor_GLOBAL_8921f820c2ce3f12 = function() { + imports.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335 = function() { const ret = typeof global === 'undefined' ? null : global; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_static_accessor_GLOBAL_THIS_f0a4409105898184 = function() { + imports.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1 = function() { const ret = typeof globalThis === 'undefined' ? null : globalThis; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_static_accessor_SELF_995b214ae681ff99 = function() { + imports.wbg.__wbg_static_accessor_SELF_08f5a74c69739274 = function() { const ret = typeof self === 'undefined' ? null : self; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_static_accessor_WINDOW_cde3890479c675ea = function() { + imports.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024 = function() { const ret = typeof window === 'undefined' ? null : window; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_storage_32b4ac688c114c3d = function(arg0) { + imports.wbg.__wbg_storage_7db24ea4f9f4aa79 = function(arg0) { const ret = arg0.storage; return ret; }; - imports.wbg.__wbg_subarray_70fd07feefe14294 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_subarray_845f2f5bce7d061a = function(arg0, arg1, arg2) { const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0); return ret; }; - imports.wbg.__wbg_then_b33a773d723afa3e = function(arg0, arg1, arg2) { + imports.wbg.__wbg_then_429f7caf1026411d = function(arg0, arg1, arg2) { const ret = arg0.then(arg1, arg2); return ret; }; - imports.wbg.__wbg_then_e22500defe16819f = function(arg0, arg1) { + imports.wbg.__wbg_then_4f95312d68691235 = function(arg0, arg1) { const ret = arg0.then(arg1); return ret; }; - imports.wbg.__wbg_toString_2ca967683e5874bc = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_toString_42914f2ae774fcf8 = function() { return handleError(function (arg0, arg1) { const ret = arg0.toString(arg1); return ret; }, arguments) }; - imports.wbg.__wbg_truncate_0fe935591188a14c = function() { return handleError(function (arg0, arg1) { - arg0.truncate(arg1 >>> 0); - }, arguments) }; - imports.wbg.__wbg_truncate_7cddd971e3cf0a8c = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_truncate_07b2629f3dbd9443 = function() { return handleError(function (arg0, arg1) { arg0.truncate(arg1); }, arguments) }; - imports.wbg.__wbg_value_dd9372230531eade = function(arg0) { + imports.wbg.__wbg_truncate_9e72c83b9fc1d156 = function() { return handleError(function (arg0, arg1) { + arg0.truncate(arg1 >>> 0); + }, arguments) }; + imports.wbg.__wbg_value_57b7b035e117f7ee = function(arg0) { const ret = arg0.value; return ret; }; - imports.wbg.__wbg_view_91cc97d57ab30530 = function(arg0) { + imports.wbg.__wbg_view_788aaf149deefd2f = function(arg0) { const ret = arg0.view; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_warn_e2ada06313f92f09 = function(arg0) { + imports.wbg.__wbg_warn_6e567d0d926ff881 = function(arg0) { console.warn(arg0); }; - imports.wbg.__wbg_wbindgenbooleanget_3fe6f642c7d97746 = function(arg0) { - const v = arg0; - const ret = typeof(v) === 'boolean' ? v : undefined; - return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0; - }; - imports.wbg.__wbg_wbindgencbdrop_eb10308566512b88 = function(arg0) { - const obj = arg0.original; - if (obj.cnt-- == 1) { - obj.a = 0; - return true; - } - const ret = false; - return ret; - }; - imports.wbg.__wbg_wbindgendebugstring_99ef257a3ddda34d = function(arg0, 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); - getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); - }; - imports.wbg.__wbg_wbindgenin_d7a1ee10933d2d55 = function(arg0, arg1) { - const ret = arg0 in arg1; - return ret; - }; - imports.wbg.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function(arg0) { - const ret = typeof(arg0) === 'function'; - return ret; - }; - imports.wbg.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function(arg0) { - const val = arg0; - const ret = typeof(val) === 'object' && val !== null; - return ret; - }; - imports.wbg.__wbg_wbindgenisstring_d4fa939789f003b0 = function(arg0) { - const ret = typeof(arg0) === 'string'; - return ret; - }; - imports.wbg.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function(arg0) { - const ret = arg0 === undefined; - return ret; - }; - imports.wbg.__wbg_wbindgenjsvallooseeq_9bec8c9be826bed1 = function(arg0, arg1) { - const ret = arg0 == arg1; - return ret; - }; - imports.wbg.__wbg_wbindgennumberget_f74b4c7525ac05cb = function(arg0, 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.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, 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; - getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); - getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); - }; - imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) { - throw new Error(getStringFromWasm0(arg0, arg1)); - }; - imports.wbg.__wbg_write_9ac6a5f58a8c835c = function() { return handleError(function (arg0, arg1, arg2, arg3) { - const ret = arg0.write(getArrayU8FromWasm0(arg1, arg2), arg3); + imports.wbg.__wbg_write_c21838a97defef4b = function() { return handleError(function (arg0, arg1, arg2) { + const ret = arg0.write(arg1, arg2); return ret; }, arguments) }; - imports.wbg.__wbg_write_c0e234eeb0039d0d = function() { return handleError(function (arg0, arg1, arg2) { - const ret = arg0.write(arg1, arg2); + imports.wbg.__wbg_write_f87f327ea3e1dd4b = function() { return handleError(function (arg0, arg1, arg2, arg3) { + const ret = arg0.write(getArrayU8FromWasm0(arg1, arg2), arg3); return ret; }, arguments) }; imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) { @@ -925,14 +906,9 @@ function __wbg_get_imports() { const ret = BigInt.asUintN(64, arg0); return ret; }; - imports.wbg.__wbindgen_cast_8fca3b27ba384642 = function(arg0, arg1) { - // Cast intrinsic for `Closure(Closure { dtor_idx: 72, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 73, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. - const ret = makeClosure(arg0, arg1, 72, __wbg_adapter_13); - return ret; - }; - imports.wbg.__wbindgen_cast_bce5e8dbfadf1667 = function(arg0, arg1) { - // Cast intrinsic for `Closure(Closure { dtor_idx: 906, function: Function { arguments: [Externref], shim_idx: 907, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`. - const ret = makeMutClosure(arg0, arg1, 906, __wbg_adapter_8); + imports.wbg.__wbindgen_cast_615946d6846d8740 = function(arg0, arg1) { + // Cast intrinsic for `Closure(Closure { dtor_idx: 901, function: Function { arguments: [Externref], shim_idx: 902, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`. + const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__ha2974c92fa39f26b, wasm_bindgen__convert__closures_____invoke__hc5c04b5ba49ccfb9); return ret; }; imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) { @@ -940,24 +916,24 @@ function __wbg_get_imports() { const ret = arg0; return ret; }; + imports.wbg.__wbindgen_cast_e9a535cf6449adba = function(arg0, arg1) { + // Cast intrinsic for `Closure(Closure { dtor_idx: 93, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 94, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`. + const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h43b49d761c19363b, wasm_bindgen__convert__closures_____invoke__h033fa5c6adaea5ac); + return ret; + }; imports.wbg.__wbindgen_init_externref_table = function() { - const table = wasm.__wbindgen_export_1; + const table = wasm.__wbindgen_externrefs; 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; } -function __wbg_init_memory(imports, memory) { - -} - function __wbg_finalize_init(instance, module) { wasm = instance.exports; __wbg_init.__wbindgen_wasm_module = module; @@ -982,15 +958,10 @@ function initSync(module) { } const imports = __wbg_get_imports(); - - __wbg_init_memory(imports); - if (!(module instanceof WebAssembly.Module)) { module = new WebAssembly.Module(module); } - const instance = new WebAssembly.Instance(module, imports); - return __wbg_finalize_init(instance, module); } @@ -1015,8 +986,6 @@ async function __wbg_init(module_or_path) { module_or_path = fetch(module_or_path); } - __wbg_init_memory(imports); - const { instance, module } = await __wbg_load(await module_or_path, imports); return __wbg_finalize_init(instance, module); diff --git a/sqlite3mc_bg.wasm b/sqlite3mc_bg.wasm index 49be534..2a9c859 100644 Binary files a/sqlite3mc_bg.wasm and b/sqlite3mc_bg.wasm differ