diff --git a/pkg/aris_web_app.d.ts b/pkg/aris_web_app.d.ts index b64cdd7c..075b37bf 100644 --- a/pkg/aris_web_app.d.ts +++ b/pkg/aris_web_app.d.ts @@ -7,19 +7,19 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl export interface InitOutput { readonly memory: WebAssembly.Memory; readonly run_app: () => void; + readonly __externref_table_alloc: () => number; + readonly __wbindgen_export_1: WebAssembly.Table; + readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; - readonly __wbindgen_export_2: WebAssembly.Table; - readonly __wbindgen_export_3: WebAssembly.Table; - readonly closure313_externref_shim: (a: number, b: number, c: number) => void; - readonly closure317_externref_shim: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd48812d3c32fd6d6: (a: number, b: number) => void; - readonly closure563_externref_shim: (a: number, b: number, c: number) => void; - readonly closure635_externref_shim: (a: number, b: number, c: number) => void; readonly __wbindgen_free: (a: number, b: number, c: number) => void; - readonly __wbindgen_exn_store: (a: number) => void; - readonly __externref_table_alloc: () => number; readonly __externref_drop_slice: (a: number, b: number) => void; + readonly __wbindgen_export_7: WebAssembly.Table; + readonly closure97_externref_shim: (a: number, b: number, c: any) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0cdf94133f53a5c7: (a: number, b: number) => void; + readonly closure104_externref_shim: (a: number, b: number, c: any) => void; + readonly closure572_externref_shim: (a: number, b: number, c: any) => void; + readonly closure644_externref_shim: (a: number, b: number, c: any) => void; readonly __wbindgen_start: () => void; } diff --git a/pkg/aris_web_app.js b/pkg/aris_web_app.js index 84d865d9..01863320 100644 --- a/pkg/aris_web_app.js +++ b/pkg/aris_web_app.js @@ -1,5 +1,15 @@ let wasm; +function isLikeNone(x) { + return x === undefined || x === null; +} + +function addToExternrefTable0(obj) { + const idx = wasm.__externref_table_alloc(); + wasm.__wbindgen_export_1.set(idx, obj); + return idx; +} + const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } ); if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); }; @@ -18,6 +28,15 @@ function getStringFromWasm0(ptr, len) { return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); } +function handleError(f, args) { + try { + return f.apply(this, args); + } catch (e) { + const idx = addToExternrefTable0(e); + wasm.__wbindgen_exn_store(idx); + } +} + let WASM_VECTOR_LEN = 0; const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } ); @@ -74,10 +93,6 @@ function passStringToWasm0(arg, malloc, realloc) { return ptr; } -function isLikeNone(x) { - return x === undefined || x === null; -} - let cachedDataViewMemory0 = null; function getDataViewMemory0() { @@ -87,6 +102,48 @@ function getDataViewMemory0() { return cachedDataViewMemory0; } +function getArrayJsValueFromWasm0(ptr, len) { + ptr = ptr >>> 0; + const mem = getDataViewMemory0(); + const result = []; + for (let i = ptr; i < ptr + 4 * len; i += 4) { + result.push(wasm.__wbindgen_export_1.get(mem.getUint32(i, true))); + } + wasm.__externref_drop_slice(ptr, len); + return result; +} + +const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined') + ? { register: () => {}, unregister: () => {} } + : new FinalizationRegistry(state => { + wasm.__wbindgen_export_7.get(state.dtor)(state.a, state.b) +}); + +function makeMutClosure(arg0, arg1, dtor, f) { + const state = { a: arg0, b: arg1, cnt: 1, dtor }; + const real = (...args) => { + // First up with a closure we increment the internal reference + // count. This ensures that the Rust closure environment won't + // be deallocated while we're invoking it. + state.cnt++; + const a = state.a; + state.a = 0; + try { + return f(a, state.b, ...args); + } finally { + if (--state.cnt === 0) { + wasm.__wbindgen_export_7.get(state.dtor)(a, state.b); + CLOSURE_DTORS.unregister(state); + } else { + state.a = a; + } + } + }; + real.original = state; + CLOSURE_DTORS.register(real, state, state); + return real; +} + function debugString(val) { // primitive types const type = typeof val; @@ -128,7 +185,7 @@ function debugString(val) { // Test for built-in const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val)); let className; - if (builtInMatches.length > 1) { + if (builtInMatches && builtInMatches.length > 1) { className = builtInMatches[1]; } else { // Failed to match the standard '[object ClassName]' @@ -152,102 +209,30 @@ function debugString(val) { return className; } -const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined') - ? { register: () => {}, unregister: () => {} } - : new FinalizationRegistry(state => { - wasm.__wbindgen_export_3.get(state.dtor)(state.a, state.b) -}); - -function makeMutClosure(arg0, arg1, dtor, f) { - const state = { a: arg0, b: arg1, cnt: 1, dtor }; - const real = (...args) => { - // First up with a closure we increment the internal reference - // count. This ensures that the Rust closure environment won't - // be deallocated while we're invoking it. - state.cnt++; - const a = state.a; - state.a = 0; - try { - return f(a, state.b, ...args); - } finally { - if (--state.cnt === 0) { - wasm.__wbindgen_export_3.get(state.dtor)(a, state.b); - CLOSURE_DTORS.unregister(state); - } else { - state.a = a; - } - } - }; - real.original = state; - CLOSURE_DTORS.register(real, state, state); - return real; +export function run_app() { + wasm.run_app(); } + function __wbg_adapter_22(arg0, arg1, arg2) { - wasm.closure313_externref_shim(arg0, arg1, arg2); + wasm.closure97_externref_shim(arg0, arg1, arg2); } -function __wbg_adapter_25(arg0, arg1, arg2) { - wasm.closure317_externref_shim(arg0, arg1, arg2); +function __wbg_adapter_25(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0cdf94133f53a5c7(arg0, arg1); } -function __wbg_adapter_28(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd48812d3c32fd6d6(arg0, arg1); +function __wbg_adapter_28(arg0, arg1, arg2) { + wasm.closure104_externref_shim(arg0, arg1, arg2); } function __wbg_adapter_31(arg0, arg1, arg2) { - wasm.closure563_externref_shim(arg0, arg1, arg2); + wasm.closure572_externref_shim(arg0, arg1, arg2); } function __wbg_adapter_34(arg0, arg1, arg2) { - wasm.closure635_externref_shim(arg0, arg1, arg2); -} - -export function run_app() { - wasm.run_app(); -} - -function addToExternrefTable0(obj) { - const idx = wasm.__externref_table_alloc(); - wasm.__wbindgen_export_2.set(idx, obj); - return idx; -} - -function handleError(f, args) { - try { - return f.apply(this, args); - } catch (e) { - const idx = addToExternrefTable0(e); - wasm.__wbindgen_exn_store(idx); - } -} - -function notDefined(what) { return () => { throw new Error(`${what} is not defined`); }; } - -function getArrayJsValueFromWasm0(ptr, len) { - ptr = ptr >>> 0; - const mem = getDataViewMemory0(); - const result = []; - for (let i = ptr; i < ptr + 4 * len; i += 4) { - result.push(wasm.__wbindgen_export_2.get(mem.getUint32(i, true))); - } - wasm.__externref_drop_slice(ptr, len); - return result; + wasm.closure644_externref_shim(arg0, arg1, arg2); } -const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"]; - -const __wbindgen_enum_ReferrerPolicy = ["", "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "unsafe-url", "same-origin", "strict-origin", "strict-origin-when-cross-origin"]; - -const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"]; - -const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"]; - -const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"]; - -const __wbindgen_enum_RequestRedirect = ["follow", "error", "manual"]; - -const __wbindgen_enum_ResponseType = ["basic", "cors", "default", "error", "opaque", "opaqueredirect"]; - async function __wbg_load(module, imports) { if (typeof Response === 'function' && module instanceof Response) { if (typeof WebAssembly.instantiateStreaming === 'function') { @@ -282,63 +267,87 @@ async function __wbg_load(module, imports) { function __wbg_get_imports() { const imports = {}; imports.wbg = {}; - imports.wbg.__wbindgen_string_new = function(arg0, arg1) { - const ret = getStringFromWasm0(arg0, arg1); - return ret; - }; - imports.wbg.__wbindgen_string_get = 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_activeElement_ea31ecc5423c6046 = function(arg0) { + const ret = arg0.activeElement; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbindgen_cb_drop = function(arg0) { - const obj = arg0.original; - if (obj.cnt-- == 1) { - obj.a = 0; - return true; - } - const ret = false; + imports.wbg.__wbg_addEventListener_37872d53aeb4c65a = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3, arg4); + }, arguments) }; + imports.wbg.__wbg_appendChild_d22bc7af6b96b3f1 = function() { return handleError(function (arg0, arg1) { + const ret = arg0.appendChild(arg1); return ret; + }, arguments) }; + imports.wbg.__wbg_blur_51f415004ecbe327 = function() { return handleError(function (arg0) { + arg0.blur(); + }, arguments) }; + imports.wbg.__wbg_body_8d7d8c4aa91dcad8 = function(arg0) { + const ret = arg0.body; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_subtreeid_e348577f7ef777e3 = function(arg0, arg1) { - const ret = arg1.__yew_subtree_id; - getDataViewMemory0().setInt32(arg0 + 4 * 1, isLikeNone(ret) ? 0 : ret, true); - getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true); - }; - imports.wbg.__wbg_setsubtreeid_d32e6327eef1f7fc = function(arg0, arg1) { - arg0.__yew_subtree_id = arg1 >>> 0; + imports.wbg.__wbg_bubbles_48182817f8ec169f = function(arg0) { + const ret = arg0.bubbles; + return ret; }; - imports.wbg.__wbg_cachekey_b61393159c57fd7b = function(arg0, arg1) { - const ret = arg1.__yew_subtree_cache_key; - getDataViewMemory0().setInt32(arg0 + 4 * 1, isLikeNone(ret) ? 0 : ret, true); - getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true); + imports.wbg.__wbg_cachekey_ce71c15aee7a8047 = function(arg0) { + const ret = arg0.__yew_subtree_cache_key; + return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0; }; - imports.wbg.__wbg_setcachekey_80183b7cfc421143 = function(arg0, arg1) { - arg0.__yew_subtree_cache_key = arg1 >>> 0; + imports.wbg.__wbg_call_b0d8e36992d9900d = function() { return handleError(function (arg0, arg1) { + const ret = arg0.call(arg1); + return ret; + }, arguments) }; + imports.wbg.__wbg_cancelBubble_4f3b0a3179912b26 = function(arg0) { + const ret = arg0.cancelBubble; + return ret; }; - imports.wbg.__wbg_setlistenerid_3183aae8fa5840fb = function(arg0, arg1) { - arg0.__yew_listener_id = arg1 >>> 0; + imports.wbg.__wbg_children_00f22d2f9fd215bf = function(arg0) { + const ret = arg0.children; + return ret; }; - imports.wbg.__wbg_listenerid_12315eee21527820 = function(arg0, arg1) { - const ret = arg1.__yew_listener_id; - getDataViewMemory0().setInt32(arg0 + 4 * 1, isLikeNone(ret) ? 0 : ret, true); - getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true); + imports.wbg.__wbg_click_075a28967f9a936c = function(arg0) { + arg0.click(); }; - imports.wbg.__wbg_new_abda76e883ba8a5f = function() { - const ret = new Error(); + imports.wbg.__wbg_composedPath_3a3f292fe1666e00 = function(arg0) { + const ret = arg0.composedPath(); return ret; }; - imports.wbg.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) { - const ret = arg1.stack; + imports.wbg.__wbg_createElementNS_494cc14f5fdee138 = 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_89923fcb809656b7 = function() { return handleError(function (arg0, arg1, arg2) { + const ret = arg0.createElement(getStringFromWasm0(arg1, arg2)); + return ret; + }, arguments) }; + imports.wbg.__wbg_createObjectURL_296ad2113ed20fe0 = 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_457c122eb9cb5753 = function(arg0, arg1, arg2) { + const ret = arg0.createTextNode(getStringFromWasm0(arg1, arg2)); + return ret; + }; + imports.wbg.__wbg_ctrlKey_5c308955b0d5492d = function(arg0) { + const ret = arg0.ctrlKey; + return ret; + }; + imports.wbg.__wbg_dispatchEvent_391667c727dc7c90 = function() { return handleError(function (arg0, arg1) { + const ret = arg0.dispatchEvent(arg1); + return ret; + }, arguments) }; + imports.wbg.__wbg_documentElement_fc1c2661ccb2bbd2 = function(arg0) { + const ret = arg0.documentElement; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_document_f11bc4f7c03e1745 = function(arg0) { + const ret = arg0.document; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) { + imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) { let deferred0_0; let deferred0_1; try { @@ -349,67 +358,61 @@ function __wbg_get_imports() { wasm.__wbindgen_free(deferred0_0, deferred0_1, 1); } }; - imports.wbg.__wbg_setTimeout_75cb9b6991a4031d = function() { return handleError(function (arg0, arg1) { - const ret = setTimeout(arg0, arg1); - return ret; - }, arguments) }; - imports.wbg.__wbg_queueMicrotask_848aa4969108a57e = function(arg0) { - const ret = arg0.queueMicrotask; - return ret; - }; - imports.wbg.__wbindgen_is_function = function(arg0) { - const ret = typeof(arg0) === 'function'; - return ret; - }; - imports.wbg.__wbg_queueMicrotask_c5419c06eab41e73 = typeof queueMicrotask == 'function' ? queueMicrotask : notDefined('queueMicrotask'); - imports.wbg.__wbg_error_71d6845bf00a930f = function(arg0, arg1) { + imports.wbg.__wbg_error_91947ba14c44e1c9 = function(arg0, arg1) { var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice(); wasm.__wbindgen_free(arg0, arg1 * 4, 4); console.error(...v0); }; - imports.wbg.__wbg_instanceof_Window_6575cd7f1322f82f = function(arg0) { - let result; - try { - result = arg0 instanceof Window; - } catch (_) { - result = false; - } - const ret = result; + imports.wbg.__wbg_eval_cd0c386c3899dd07 = function() { return handleError(function (arg0, arg1) { + const ret = eval(getStringFromWasm0(arg0, arg1)); return ret; - }; - imports.wbg.__wbg_document_d7fa2c739c2b191a = function(arg0) { - const ret = arg0.document; + }, arguments) }; + imports.wbg.__wbg_files_576e546a364f9971 = function(arg0) { + const ret = arg0.files; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_documentElement_6a55d776a68a7ed5 = function(arg0) { - const ret = arg0.documentElement; - return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + imports.wbg.__wbg_focus_35fe945f7268dd62 = function() { return handleError(function (arg0) { + arg0.focus(); + }, arguments) }; + imports.wbg.__wbg_from_d68eaa96dba25449 = function(arg0) { + const ret = Array.from(arg0); + return ret; }; - imports.wbg.__wbg_body_8e909b791b1745d3 = function(arg0) { - const ret = arg0.body; + imports.wbg.__wbg_getAttribute_3104455bb78f9b7b = function(arg0, arg1, arg2, arg3) { + const ret = arg1.getAttribute(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_getElementById_dcc9f1f3cfdca0bc = function(arg0, arg1, arg2) { + const ret = arg0.getElementById(getStringFromWasm0(arg1, arg2)); return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_activeElement_4ab2bc6dcf8da330 = function(arg0) { - const ret = arg0.activeElement; + imports.wbg.__wbg_get_198bfcfce5b3a38f = function(arg0, arg1) { + const ret = arg0[arg1 >>> 0]; return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_createElement_e4523490bd0ae51d = function() { return handleError(function (arg0, arg1, arg2) { - const ret = arg0.createElement(getStringFromWasm0(arg1, arg2)); - return ret; - }, arguments) }; - imports.wbg.__wbg_createElementNS_e51a368ab3a64b37 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { - const ret = arg0.createElementNS(arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); + imports.wbg.__wbg_get_9aa3dff3f0266054 = function(arg0, arg1) { + const ret = arg0[arg1 >>> 0]; return ret; - }, arguments) }; - imports.wbg.__wbg_createTextNode_3b33c97f8ef3e999 = function(arg0, arg1, arg2) { - const ret = arg0.createTextNode(getStringFromWasm0(arg1, arg2)); + }; + imports.wbg.__wbg_host_428e6a6189a92c91 = function(arg0) { + const ret = arg0.host; return ret; }; - imports.wbg.__wbg_getElementById_734c4eac4fec5911 = function(arg0, arg1, arg2) { - const ret = arg0.getElementById(getStringFromWasm0(arg1, arg2)); - return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + imports.wbg.__wbg_id_87f2e8c82a04a251 = function(arg0, arg1) { + const ret = arg1.id; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_instanceof_Element_1a81366cc90e70e2 = function(arg0) { + imports.wbg.__wbg_insertBefore_4b32ede81cf15b43 = function() { return handleError(function (arg0, arg1, arg2) { + const ret = arg0.insertBefore(arg1, arg2); + return ret; + }, arguments) }; + imports.wbg.__wbg_instanceof_Element_0f1680908791f190 = function(arg0) { let result; try { result = arg0 instanceof Element; @@ -419,150 +422,37 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_namespaceURI_dc264d717ce10acb = function(arg0, arg1) { - const ret = arg1.namespaceURI; - 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_id_7e3fad2f1278550e = function(arg0, arg1) { - const ret = arg1.id; - const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); - getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); - }; - imports.wbg.__wbg_setinnerHTML_559d45055154f1d8 = function(arg0, arg1, arg2) { - arg0.innerHTML = getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_outerHTML_02fdcad893a01b32 = function(arg0, arg1) { - const ret = arg1.outerHTML; - 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_children_176e066f423d032c = function(arg0) { - const ret = arg0.children; - return ret; - }; - imports.wbg.__wbg_getAttribute_8ac49f4186f4cefd = function(arg0, arg1, arg2, arg3) { - const ret = arg1.getAttribute(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_removeAttribute_2dc68056b5e6ea3d = function() { return handleError(function (arg0, arg1, arg2) { - arg0.removeAttribute(getStringFromWasm0(arg1, arg2)); - }, arguments) }; - imports.wbg.__wbg_setAttribute_2a8f647a8d92c712 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { - arg0.setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); - }, arguments) }; - imports.wbg.__wbg_blur_d7e0bcc31c40e996 = function() { return handleError(function (arg0) { - arg0.blur(); - }, arguments) }; - imports.wbg.__wbg_click_f078705a1e3d47a8 = function(arg0) { - arg0.click(); - }; - imports.wbg.__wbg_focus_6b6181f7644f6dbc = function() { return handleError(function (arg0) { - arg0.focus(); - }, arguments) }; - imports.wbg.__wbg_newwithstrsequence_29db717011fd6d8f = function() { return handleError(function (arg0) { - const ret = new Blob(arg0); - return ret; - }, arguments) }; - imports.wbg.__wbg_instanceof_KeyboardEvent_92af3cb6fd0347cd = function(arg0) { + imports.wbg.__wbg_instanceof_HtmlAnchorElement_250f3d35203bbf6c = function(arg0) { let result; try { - result = arg0 instanceof KeyboardEvent; + result = arg0 instanceof HTMLAnchorElement; } catch (_) { result = false; } const ret = result; return ret; }; - imports.wbg.__wbg_ctrlKey_f592192d87040d94 = function(arg0) { - const ret = arg0.ctrlKey; - return ret; - }; - imports.wbg.__wbg_key_001eb20ba3b3d2fd = 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_result_5cc84600fc64bf35 = function() { return handleError(function (arg0) { - const ret = arg0.result; + imports.wbg.__wbg_instanceof_HtmlInputElement_47b3e827f364773c = function(arg0) { + let result; + try { + result = arg0 instanceof HTMLInputElement; + } catch (_) { + result = false; + } + const ret = result; return ret; - }, arguments) }; - imports.wbg.__wbg_setonload_0e9d43ec0cbb3987 = function(arg0, arg1) { - arg0.onload = arg1; }; - imports.wbg.__wbg_new_e282c42c5fc7a7b1 = function() { return handleError(function () { - const ret = new FileReader(); - return ret; - }, arguments) }; - imports.wbg.__wbg_readAsText_abb4898a82a4815a = function() { return handleError(function (arg0, arg1) { - arg0.readAsText(arg1); - }, arguments) }; - imports.wbg.__wbg_instanceof_HtmlAnchorElement_e47c33c680406d32 = function(arg0) { + imports.wbg.__wbg_instanceof_KeyboardEvent_2dad3aeaf7e62dc5 = function(arg0) { let result; try { - result = arg0 instanceof HTMLAnchorElement; + result = arg0 instanceof KeyboardEvent; } catch (_) { result = false; } const ret = result; return ret; }; - imports.wbg.__wbg_setdownload_7e335b7fd6dece1f = function(arg0, arg1, arg2) { - arg0.download = getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_sethref_da31626e77d3d51b = function(arg0, arg1, arg2) { - arg0.href = getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_parentNode_7e7d8adc9b41ce58 = function(arg0) { - const ret = arg0.parentNode; - return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); - }; - imports.wbg.__wbg_parentElement_bf013e6093029477 = function(arg0) { - const ret = arg0.parentElement; - return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); - }; - imports.wbg.__wbg_lastChild_d6a3eebc8b3cdd8c = function(arg0) { - const ret = arg0.lastChild; - return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); - }; - imports.wbg.__wbg_nextSibling_46da01c3a2ce3774 = function(arg0) { - const ret = arg0.nextSibling; - return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); - }; - imports.wbg.__wbg_setnodeValue_ddb802810d61c610 = function(arg0, arg1, arg2) { - arg0.nodeValue = arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_textContent_389dd460500a44bd = function(arg0, arg1) { - const ret = arg1.textContent; - 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_appendChild_bc4a0deae90a5164 = function() { return handleError(function (arg0, arg1) { - const ret = arg0.appendChild(arg1); - return ret; - }, arguments) }; - imports.wbg.__wbg_insertBefore_5caa6ab4d3d6b481 = function() { return handleError(function (arg0, arg1, arg2) { - const ret = arg0.insertBefore(arg1, arg2); - return ret; - }, arguments) }; - imports.wbg.__wbg_removeChild_aa85e67649730769 = function() { return handleError(function (arg0, arg1) { - const ret = arg0.removeChild(arg1); - return ret; - }, arguments) }; - imports.wbg.__wbg_instanceof_ShadowRoot_6d00cedbc919c9a6 = function(arg0) { + imports.wbg.__wbg_instanceof_ShadowRoot_184d5b63318b09e5 = function(arg0) { let result; try { result = arg0 instanceof ShadowRoot; @@ -572,222 +462,295 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_host_4a0b95cc36a45cb6 = function(arg0) { - const ret = arg0.host; - return ret; - }; - imports.wbg.__wbg_get_4d667686e5e4fa4f = function(arg0, arg1) { - const ret = arg0[arg1 >>> 0]; - return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); - }; - imports.wbg.__wbg_createObjectURL_11804d71ac214694 = 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_name_e30efb33291e0016 = 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_instanceof_HtmlInputElement_ee25196edbacced9 = function(arg0) { + imports.wbg.__wbg_instanceof_Window_d2514c6a7ee7ba60 = function(arg0) { let result; try { - result = arg0 instanceof HTMLInputElement; + result = arg0 instanceof Window; } catch (_) { result = false; } const ret = result; return ret; }; - imports.wbg.__wbg_setchecked_0b332e38c9022183 = function(arg0, arg1) { - arg0.checked = arg1 !== 0; - }; - imports.wbg.__wbg_files_5738c8732c2fc992 = function(arg0) { - const ret = arg0.files; - return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + imports.wbg.__wbg_is_e442492d1fb7967b = function(arg0, arg1) { + const ret = Object.is(arg0, arg1); + return ret; }; - imports.wbg.__wbg_value_0cffd86fb9a5a18d = function(arg0, arg1) { - const ret = arg1.value; + imports.wbg.__wbg_key_9a40d4f6defa675b = 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_setvalue_36bcf6f86c998f0a = function(arg0, arg1, arg2) { - arg0.value = getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_selectionStart_4003b2bdeef28066 = function() { return handleError(function (arg0, arg1) { - const ret = arg1.selectionStart; - getDataViewMemory0().setInt32(arg0 + 4 * 1, isLikeNone(ret) ? 0 : ret, true); - getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true); - }, arguments) }; - imports.wbg.__wbg_setselectionStart_d6dda84d298aee35 = function() { return handleError(function (arg0, arg1, arg2) { - arg0.selectionStart = arg1 === 0 ? undefined : arg2 >>> 0; - }, arguments) }; - imports.wbg.__wbg_setselectionEnd_abc32f34678c04a3 = function() { return handleError(function (arg0, arg1, arg2) { - arg0.selectionEnd = arg1 === 0 ? undefined : arg2 >>> 0; - }, arguments) }; - imports.wbg.__wbg_setcapture_216080a2de0d127c = function(arg0, arg1) { - arg0.capture = arg1 !== 0; + imports.wbg.__wbg_lastChild_a1995c15767ea782 = function(arg0) { + const ret = arg0.lastChild; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_setonce_9f2ce9d61cf01425 = function(arg0, arg1) { - arg0.once = arg1 !== 0; + imports.wbg.__wbg_length_d65cf0786bfc5739 = function(arg0) { + const ret = arg0.length; + return ret; }; - imports.wbg.__wbg_setpassive_b1f337166a79f6c5 = function(arg0, arg1) { - arg0.passive = arg1 !== 0; + imports.wbg.__wbg_listenerid_c59d2ae0b4b56f0a = function(arg0) { + const ret = arg0.__yew_listener_id; + return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0; }; - imports.wbg.__wbg_addEventListener_0ac72681badaf1aa = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { - arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3, arg4); - }, arguments) }; - imports.wbg.__wbg_dispatchEvent_d3978479884f576d = function() { return handleError(function (arg0, arg1) { - const ret = arg0.dispatchEvent(arg1); - return ret; - }, arguments) }; - imports.wbg.__wbg_removeEventListener_4740f011c11e2737 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { - arg0.removeEventListener(getStringFromWasm0(arg1, arg2), arg3, arg4 !== 0); - }, arguments) }; - imports.wbg.__wbg_value_a8d0480de0da39cf = function(arg0, arg1) { - const ret = arg1.value; + imports.wbg.__wbg_name_37e12d7b980bc5bd = 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_setvalue_b68cd0e5fd3eb17f = function(arg0, arg1, arg2) { - arg0.value = getStringFromWasm0(arg1, arg2); - }; - imports.wbg.__wbg_target_b0499015ea29563d = function(arg0) { - const ret = arg0.target; - return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + imports.wbg.__wbg_namespaceURI_85b8a45764ae1d6e = function(arg0, arg1) { + const ret = arg1.namespaceURI; + 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_bubbles_c48a1056384e852c = function(arg0) { - const ret = arg0.bubbles; + imports.wbg.__wbg_new_5aabe91bb15759e8 = function() { return handleError(function (arg0, arg1) { + const ret = new Event(getStringFromWasm0(arg0, arg1)); + return ret; + }, arguments) }; + imports.wbg.__wbg_new_688846f374351c92 = function() { + const ret = new Object(); return ret; }; - imports.wbg.__wbg_cancelBubble_1fc3632e2ba513ed = function(arg0) { - const ret = arg0.cancelBubble; + imports.wbg.__wbg_new_8a6f238a6ece86ea = function() { + const ret = new Error(); return ret; }; - imports.wbg.__wbg_new_f0203f89ba5d9ea6 = function() { return handleError(function (arg0, arg1) { - const ret = new Event(getStringFromWasm0(arg0, arg1)); + imports.wbg.__wbg_new_a01d9d610b795c1f = function() { return handleError(function () { + const ret = new FileReader(); return ret; }, arguments) }; - imports.wbg.__wbg_composedPath_d27a772830ab5dd0 = function(arg0) { - const ret = arg0.composedPath(); + imports.wbg.__wbg_newnoargs_fd9e4bf8be2bc16d = function(arg0, arg1) { + const ret = new Function(getStringFromWasm0(arg0, arg1)); return ret; }; - imports.wbg.__wbg_preventDefault_eecc4a63e64c4526 = function(arg0) { - arg0.preventDefault(); + imports.wbg.__wbg_newwithlength_759c7b9d6a7a314f = function(arg0) { + const ret = new Array(arg0 >>> 0); + return ret; }; - imports.wbg.__wbg_get_5419cf6b954aa11d = function(arg0, arg1) { - const ret = arg0[arg1 >>> 0]; + imports.wbg.__wbg_newwithstrsequence_fe28ae28f5a8acfc = function() { return handleError(function (arg0) { + const ret = new Blob(arg0); return ret; + }, arguments) }; + imports.wbg.__wbg_nextSibling_f1b7916c306c9a9f = function(arg0) { + const ret = arg0.nextSibling; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); }; - imports.wbg.__wbg_length_f217bbbf7e8e4df4 = function(arg0) { - const ret = arg0.length; + imports.wbg.__wbg_outerHTML_23b92e7039b77dad = function(arg0, arg1) { + const ret = arg1.outerHTML; + 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_parentElement_41c6f5f746ea74cf = function(arg0) { + const ret = arg0.parentElement; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_parentNode_dfffcfb63c8a6cac = function(arg0) { + const ret = arg0.parentNode; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_preventDefault_3c86e59772d015e6 = function(arg0) { + arg0.preventDefault(); + }; + imports.wbg.__wbg_queueMicrotask_2181040e064c0dc8 = function(arg0) { + queueMicrotask(arg0); + }; + imports.wbg.__wbg_queueMicrotask_ef9ac43769cbcc4f = function(arg0) { + const ret = arg0.queueMicrotask; return ret; }; - imports.wbg.__wbg_newnoargs_1ede4bf2ebbaaf43 = function(arg0, arg1) { - const ret = new Function(getStringFromWasm0(arg0, arg1)); + imports.wbg.__wbg_random_a435d21390634bdf = function() { + const ret = Math.random(); return ret; }; - imports.wbg.__wbg_call_a9ef466721e824f2 = function() { return handleError(function (arg0, arg1) { - const ret = arg0.call(arg1); + imports.wbg.__wbg_readAsText_9cd56925e58e0eab = function() { return handleError(function (arg0, arg1) { + arg0.readAsText(arg1); + }, arguments) }; + imports.wbg.__wbg_removeAttribute_013475d9f18db70a = function() { return handleError(function (arg0, arg1, arg2) { + arg0.removeAttribute(getStringFromWasm0(arg1, arg2)); + }, arguments) }; + imports.wbg.__wbg_removeChild_c6861558b785880c = function() { return handleError(function (arg0, arg1) { + const ret = arg0.removeChild(arg1); return ret; }, arguments) }; - imports.wbg.__wbg_new_e69b5f66fda8f13c = function() { - const ret = new Object(); + imports.wbg.__wbg_removeEventListener_6f4cfa6f356575bb = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + arg0.removeEventListener(getStringFromWasm0(arg1, arg2), arg3, arg4 !== 0); + }, arguments) }; + imports.wbg.__wbg_resolve_0bf7c44d641804f9 = function(arg0) { + const ret = Promise.resolve(arg0); return ret; }; - imports.wbg.__wbg_self_bf91bf94d9e04084 = function() { return handleError(function () { - const ret = self.self; + imports.wbg.__wbg_result_b7f693658f393a91 = function() { return handleError(function (arg0) { + const ret = arg0.result; return ret; }, arguments) }; - imports.wbg.__wbg_window_52dd9f07d03fd5f8 = function() { return handleError(function () { - const ret = window.window; - return ret; + imports.wbg.__wbg_selectionStart_1bfcdd3ac605aa4e = function() { return handleError(function (arg0) { + const ret = arg0.selectionStart; + return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0; }, arguments) }; - imports.wbg.__wbg_globalThis_05c129bf37fcf1be = function() { return handleError(function () { - const ret = globalThis.globalThis; - return ret; + imports.wbg.__wbg_setAttribute_148e0e65e20e5f27 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + arg0.setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); }, arguments) }; - imports.wbg.__wbg_global_3eca19bb09e9c484 = function() { return handleError(function () { - const ret = global.global; + imports.wbg.__wbg_setTimeout_eefe7f4c234b0c6b = function() { return handleError(function (arg0, arg1) { + const ret = setTimeout(arg0, arg1); return ret; }, arguments) }; - imports.wbg.__wbindgen_is_undefined = function(arg0) { - const ret = arg0 === undefined; - return ret; + imports.wbg.__wbg_set_1d80752d0d5f0b21 = function(arg0, arg1, arg2) { + arg0[arg1 >>> 0] = arg2; }; - imports.wbg.__wbg_eval_1bab7c4fbae3b3d6 = function() { return handleError(function (arg0, arg1) { - const ret = eval(getStringFromWasm0(arg0, arg1)); + imports.wbg.__wbg_set_4e647025551483bd = function() { return handleError(function (arg0, arg1, arg2) { + const ret = Reflect.set(arg0, arg1, arg2); return ret; }, arguments) }; - imports.wbg.__wbg_newwithlength_310c7b54443dbe66 = function(arg0) { - const ret = new Array(arg0 >>> 0); - return ret; + imports.wbg.__wbg_setcachekey_4691f228380ea63c = function(arg0, arg1) { + arg0.__yew_subtree_cache_key = arg1 >>> 0; }; - imports.wbg.__wbg_set_425e70f7c64ac962 = function(arg0, arg1, arg2) { - arg0[arg1 >>> 0] = arg2; + imports.wbg.__wbg_setcapture_b1387485d0f7947c = function(arg0, arg1) { + arg0.capture = arg1 !== 0; }; - imports.wbg.__wbg_from_91a67a5f04c98a54 = function(arg0) { - const ret = Array.from(arg0); - return ret; + imports.wbg.__wbg_setchecked_cc9be394960a6551 = function(arg0, arg1) { + arg0.checked = arg1 !== 0; }; - imports.wbg.__wbg_is_4b64bc96710d6a0f = function(arg0, arg1) { - const ret = Object.is(arg0, arg1); - return ret; + imports.wbg.__wbg_setdownload_6f17b767672b31f5 = function(arg0, arg1, arg2) { + arg0.download = getStringFromWasm0(arg1, arg2); }; - imports.wbg.__wbg_resolve_0aad7c1484731c99 = function(arg0) { - const ret = Promise.resolve(arg0); - return ret; + imports.wbg.__wbg_sethref_272aef65ff8abb6e = function(arg0, arg1, arg2) { + arg0.href = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setinnerHTML_2d75307ba8832258 = function(arg0, arg1, arg2) { + arg0.innerHTML = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setlistenerid_e9c4965c54e30e5f = function(arg0, arg1) { + arg0.__yew_listener_id = arg1 >>> 0; + }; + imports.wbg.__wbg_setnodeValue_2bdce51097cd14f6 = function(arg0, arg1, arg2) { + arg0.nodeValue = arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setonce_87cf501e67ee47f7 = function(arg0, arg1) { + arg0.once = arg1 !== 0; + }; + imports.wbg.__wbg_setonload_36cf7239551d2544 = function(arg0, arg1) { + arg0.onload = arg1; + }; + imports.wbg.__wbg_setpassive_4e263ba5bfca97c5 = function(arg0, arg1) { + arg0.passive = arg1 !== 0; + }; + imports.wbg.__wbg_setselectionEnd_81632b196b32d78d = function() { return handleError(function (arg0, arg1) { + arg0.selectionEnd = arg1 === 0x100000001 ? undefined : arg1; + }, arguments) }; + imports.wbg.__wbg_setselectionStart_9637486159985c00 = function() { return handleError(function (arg0, arg1) { + arg0.selectionStart = arg1 === 0x100000001 ? undefined : arg1; + }, arguments) }; + imports.wbg.__wbg_setsubtreeid_4f6817357eb90fa8 = function(arg0, arg1) { + arg0.__yew_subtree_id = arg1 >>> 0; + }; + imports.wbg.__wbg_setvalue_44c59c360ad57cf0 = function(arg0, arg1, arg2) { + arg0.value = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setvalue_88aa1f99f6500a1e = function(arg0, arg1, arg2) { + arg0.value = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) { + const ret = arg1.stack; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); }; - imports.wbg.__wbg_then_748f75edfb032440 = function(arg0, arg1) { + imports.wbg.__wbg_static_accessor_GLOBAL_0be7472e492ad3e3 = function() { + const ret = typeof global === 'undefined' ? null : global; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_static_accessor_GLOBAL_THIS_1a6eb482d12c9bfb = function() { + const ret = typeof globalThis === 'undefined' ? null : globalThis; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_static_accessor_SELF_1dc398a895c82351 = function() { + const ret = typeof self === 'undefined' ? null : self; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_static_accessor_WINDOW_ae1c80c7eea8d64a = function() { + const ret = typeof window === 'undefined' ? null : window; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_subtreeid_f2146f9aa4acca78 = function(arg0) { + const ret = arg0.__yew_subtree_id; + return isLikeNone(ret) ? 0x100000001 : (ret) >>> 0; + }; + imports.wbg.__wbg_target_a8fe593e7ee79c21 = function(arg0) { + const ret = arg0.target; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_textContent_593cb1d610df6a86 = function(arg0, arg1) { + const ret = arg1.textContent; + 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_then_0438fad860fe38e1 = function(arg0, arg1) { const ret = arg0.then(arg1); return ret; }; - imports.wbg.__wbg_random_ff204240120aa46e = typeof Math.random == 'function' ? Math.random : notDefined('Math.random'); - imports.wbg.__wbg_set_e864d25d9b399c9f = function() { return handleError(function (arg0, arg1, arg2) { - const ret = Reflect.set(arg0, arg1, arg2); - return ret; - }, arguments) }; - imports.wbg.__wbindgen_debug_string = function(arg0, arg1) { - const ret = debugString(arg1); + imports.wbg.__wbg_value_47fde8ea2d9fdcd5 = 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.__wbindgen_throw = function(arg0, arg1) { - throw new Error(getStringFromWasm0(arg0, arg1)); + imports.wbg.__wbg_value_a8b8b65bc31190d6 = 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.__wbindgen_cb_drop = function(arg0) { + const obj = arg0.original; + if (obj.cnt-- == 1) { + obj.a = 0; + return true; + } + const ret = false; + return ret; }; - imports.wbg.__wbindgen_closure_wrapper838 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 314, __wbg_adapter_22); + imports.wbg.__wbindgen_closure_wrapper1943 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 573, __wbg_adapter_31); return ret; }; - imports.wbg.__wbindgen_closure_wrapper840 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 314, __wbg_adapter_25); + imports.wbg.__wbindgen_closure_wrapper2196 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 645, __wbg_adapter_34); return ret; }; - imports.wbg.__wbindgen_closure_wrapper842 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 314, __wbg_adapter_28); + imports.wbg.__wbindgen_closure_wrapper385 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 98, __wbg_adapter_22); return ret; }; - imports.wbg.__wbindgen_closure_wrapper1875 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 564, __wbg_adapter_31); + imports.wbg.__wbindgen_closure_wrapper387 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 98, __wbg_adapter_25); return ret; }; - imports.wbg.__wbindgen_closure_wrapper2135 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 636, __wbg_adapter_34); + imports.wbg.__wbindgen_closure_wrapper389 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 98, __wbg_adapter_28); return ret; }; + imports.wbg.__wbindgen_debug_string = 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.__wbindgen_init_externref_table = function() { - const table = wasm.__wbindgen_export_2; + const table = wasm.__wbindgen_export_1; const offset = table.grow(4); table.set(0, undefined); table.set(offset + 0, undefined); @@ -796,6 +759,29 @@ function __wbg_get_imports() { table.set(offset + 3, false); ; }; + imports.wbg.__wbindgen_is_function = function(arg0) { + const ret = typeof(arg0) === 'function'; + return ret; + }; + imports.wbg.__wbindgen_is_undefined = function(arg0) { + const ret = arg0 === undefined; + return ret; + }; + imports.wbg.__wbindgen_string_get = 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.__wbindgen_string_new = function(arg0, arg1) { + const ret = getStringFromWasm0(arg0, arg1); + return ret; + }; + imports.wbg.__wbindgen_throw = function(arg0, arg1) { + throw new Error(getStringFromWasm0(arg0, arg1)); + }; return imports; } diff --git a/pkg/aris_web_app_bg.wasm b/pkg/aris_web_app_bg.wasm index 35e8141d..a1dbc74e 100644 Binary files a/pkg/aris_web_app_bg.wasm and b/pkg/aris_web_app_bg.wasm differ diff --git a/pkg/aris_web_app_bg.wasm.d.ts b/pkg/aris_web_app_bg.wasm.d.ts index 9ae43624..92d717cc 100644 --- a/pkg/aris_web_app_bg.wasm.d.ts +++ b/pkg/aris_web_app_bg.wasm.d.ts @@ -1,18 +1,18 @@ /* tslint:disable */ /* eslint-disable */ export const memory: WebAssembly.Memory; -export function run_app(): void; -export function __wbindgen_malloc(a: number, b: number): number; -export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; -export const __wbindgen_export_2: WebAssembly.Table; -export const __wbindgen_export_3: WebAssembly.Table; -export function closure313_externref_shim(a: number, b: number, c: number): void; -export function closure317_externref_shim(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd48812d3c32fd6d6(a: number, b: number): void; -export function closure563_externref_shim(a: number, b: number, c: number): void; -export function closure635_externref_shim(a: number, b: number, c: number): void; -export function __wbindgen_free(a: number, b: number, c: number): void; -export function __wbindgen_exn_store(a: number): void; -export function __externref_table_alloc(): number; -export function __externref_drop_slice(a: number, b: number): void; -export function __wbindgen_start(): void; +export const run_app: () => void; +export const __externref_table_alloc: () => number; +export const __wbindgen_export_1: WebAssembly.Table; +export const __wbindgen_exn_store: (a: number) => void; +export const __wbindgen_malloc: (a: number, b: number) => number; +export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; +export const __wbindgen_free: (a: number, b: number, c: number) => void; +export const __externref_drop_slice: (a: number, b: number) => void; +export const __wbindgen_export_7: WebAssembly.Table; +export const closure97_externref_shim: (a: number, b: number, c: any) => void; +export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0cdf94133f53a5c7: (a: number, b: number) => void; +export const closure104_externref_shim: (a: number, b: number, c: any) => void; +export const closure572_externref_shim: (a: number, b: number, c: any) => void; +export const closure644_externref_shim: (a: number, b: number, c: any) => void; +export const __wbindgen_start: () => void; diff --git a/proofImages_dark/Biconditional Elimination Negation.png b/proofImages_dark/Biconditional Elimination Negation.png new file mode 100644 index 00000000..00fbbd20 Binary files /dev/null and b/proofImages_dark/Biconditional Elimination Negation.png differ diff --git a/proofImages_dark/Biconditional Elimination.png b/proofImages_dark/Biconditional Elimination.png new file mode 100644 index 00000000..b8d411f4 Binary files /dev/null and b/proofImages_dark/Biconditional Elimination.png differ diff --git a/proofImages_dark/Biconditional Introduction Negation.png b/proofImages_dark/Biconditional Introduction Negation.png new file mode 100644 index 00000000..26c24810 Binary files /dev/null and b/proofImages_dark/Biconditional Introduction Negation.png differ diff --git a/proofImages_dark/Biconditional Introduction.png b/proofImages_dark/Biconditional Introduction.png new file mode 100644 index 00000000..fc6f16e2 Binary files /dev/null and b/proofImages_dark/Biconditional Introduction.png differ diff --git a/proofImages_dark/Conditional Elimination Negation.png b/proofImages_dark/Conditional Elimination Negation.png new file mode 100644 index 00000000..a353e1a3 Binary files /dev/null and b/proofImages_dark/Conditional Elimination Negation.png differ diff --git a/proofImages_dark/Conditional Introduction Negation.png b/proofImages_dark/Conditional Introduction Negation.png new file mode 100644 index 00000000..c7e3a1a3 Binary files /dev/null and b/proofImages_dark/Conditional Introduction Negation.png differ diff --git a/proofImages_dark/Destructive Dilemma.png b/proofImages_dark/Destructive Dilemma.png new file mode 100644 index 00000000..dad2d1d7 Binary files /dev/null and b/proofImages_dark/Destructive Dilemma.png differ diff --git a/proofImages_dark/Disjunctive Syllogism.png b/proofImages_dark/Disjunctive Syllogism.png index 58533cc3..140109b6 100644 Binary files a/proofImages_dark/Disjunctive Syllogism.png and b/proofImages_dark/Disjunctive Syllogism.png differ diff --git a/proofImages_dark/Exclusion.png b/proofImages_dark/Exclusion.png new file mode 100644 index 00000000..8b10251c Binary files /dev/null and b/proofImages_dark/Exclusion.png differ diff --git a/proofImages_dark/Modus Tollens.png b/proofImages_dark/Modus Tollens.png index a8680c6e..bb9e37f3 100644 Binary files a/proofImages_dark/Modus Tollens.png and b/proofImages_dark/Modus Tollens.png differ diff --git a/proofImages_dark/Strengthening the Antecedent.png b/proofImages_dark/Strengthening the Antecedent.png new file mode 100644 index 00000000..83857d51 Binary files /dev/null and b/proofImages_dark/Strengthening the Antecedent.png differ diff --git a/proofImages_dark/Weakening the Consequent.png b/proofImages_dark/Weakening the Consequent.png new file mode 100644 index 00000000..a5395cfa Binary files /dev/null and b/proofImages_dark/Weakening the Consequent.png differ diff --git a/proofImages_light/Biconditional Elimination Negation.png b/proofImages_light/Biconditional Elimination Negation.png new file mode 100644 index 00000000..e81dcb93 Binary files /dev/null and b/proofImages_light/Biconditional Elimination Negation.png differ diff --git a/proofImages_light/Biconditional Elimination.png b/proofImages_light/Biconditional Elimination.png new file mode 100644 index 00000000..fdb64d97 Binary files /dev/null and b/proofImages_light/Biconditional Elimination.png differ diff --git a/proofImages_light/Biconditional Introduction Negation.png b/proofImages_light/Biconditional Introduction Negation.png new file mode 100644 index 00000000..fca79c16 Binary files /dev/null and b/proofImages_light/Biconditional Introduction Negation.png differ diff --git a/proofImages_light/Biconditional Introduction.png b/proofImages_light/Biconditional Introduction.png new file mode 100644 index 00000000..13f20a3b Binary files /dev/null and b/proofImages_light/Biconditional Introduction.png differ diff --git a/proofImages_light/Conditional Elimination Negation.png b/proofImages_light/Conditional Elimination Negation.png new file mode 100644 index 00000000..cd631773 Binary files /dev/null and b/proofImages_light/Conditional Elimination Negation.png differ diff --git a/proofImages_light/Conditional Introduction Negation.png b/proofImages_light/Conditional Introduction Negation.png new file mode 100644 index 00000000..1b4e743a Binary files /dev/null and b/proofImages_light/Conditional Introduction Negation.png differ diff --git a/proofImages_light/Destructive Dilemma.png b/proofImages_light/Destructive Dilemma.png new file mode 100644 index 00000000..6b09681d Binary files /dev/null and b/proofImages_light/Destructive Dilemma.png differ diff --git a/proofImages_light/Disjunctive Syllogism.png b/proofImages_light/Disjunctive Syllogism.png index 83414494..9d322dc3 100644 Binary files a/proofImages_light/Disjunctive Syllogism.png and b/proofImages_light/Disjunctive Syllogism.png differ diff --git a/proofImages_light/Exclusion.png b/proofImages_light/Exclusion.png new file mode 100644 index 00000000..b082c6de Binary files /dev/null and b/proofImages_light/Exclusion.png differ diff --git a/proofImages_light/Modus Tollens.png b/proofImages_light/Modus Tollens.png index a01cf582..161c0e06 100644 Binary files a/proofImages_light/Modus Tollens.png and b/proofImages_light/Modus Tollens.png differ diff --git a/proofImages_light/Strengthening the Antecedent.png b/proofImages_light/Strengthening the Antecedent.png new file mode 100644 index 00000000..b8a7511c Binary files /dev/null and b/proofImages_light/Strengthening the Antecedent.png differ diff --git a/proofImages_light/Weakening the Consequent.png b/proofImages_light/Weakening the Consequent.png new file mode 100644 index 00000000..f01f8ea1 Binary files /dev/null and b/proofImages_light/Weakening the Consequent.png differ