diff --git a/assets/icon-1024.png b/assets/icon-1024.png
new file mode 100644
index 0000000..ef9475b
Binary files /dev/null and b/assets/icon-1024.png differ
diff --git a/assets/icon-256.png b/assets/icon-256.png
new file mode 100644
index 0000000..7b3b8f3
Binary files /dev/null and b/assets/icon-256.png differ
diff --git a/assets/icon_ios_touch_192.png b/assets/icon_ios_touch_192.png
new file mode 100644
index 0000000..31b0b21
Binary files /dev/null and b/assets/icon_ios_touch_192.png differ
diff --git a/assets/manifest.json b/assets/manifest.json
new file mode 100644
index 0000000..841d259
--- /dev/null
+++ b/assets/manifest.json
@@ -0,0 +1,28 @@
+{
+ "name": "Vegravis PWA",
+ "short_name": "vegravis-pwa",
+ "icons": [
+ {
+ "src": "./icon-256.png",
+ "sizes": "256x256",
+ "type": "image/png"
+ },
+ {
+ "src": "./maskable_icon_x512.png",
+ "sizes": "512x512",
+ "type": "image/png",
+ "purpose": "any maskable"
+ },
+ {
+ "src": "./icon-1024.png",
+ "sizes": "1024x1024",
+ "type": "image/png"
+ }
+ ],
+ "lang": "zh-CN",
+ "id": "/index.html",
+ "start_url": "./index.html",
+ "display": "standalone",
+ "background_color": "white",
+ "theme_color": "white"
+}
diff --git a/assets/maskable_icon_x512.png b/assets/maskable_icon_x512.png
new file mode 100644
index 0000000..a27920c
Binary files /dev/null and b/assets/maskable_icon_x512.png differ
diff --git a/favicon-2cd869d1febf9f41.png b/favicon-2cd869d1febf9f41.png
new file mode 100644
index 0000000..fa64791
Binary files /dev/null and b/favicon-2cd869d1febf9f41.png differ
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..2769982
--- /dev/null
+++ b/index.html
@@ -0,0 +1,159 @@
+
+
+
+
+
+
+
+
+
+ Vegravis
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sw.js b/sw.js
new file mode 100644
index 0000000..93228f5
--- /dev/null
+++ b/sw.js
@@ -0,0 +1,25 @@
+let cacheName = 'vegravis-pwa';
+let filesToCache = [
+ './',
+ './index.html',
+ './vegravis.js',
+ './vegravis_bg.wasm',
+];
+
+/* Start the service worker and cache all the app's content */
+self.addEventListener('install', function (e) {
+ e.waitUntil(
+ caches.open(cacheName).then(function (cache) {
+ return cache.addAll(filesToCache);
+ })
+ );
+});
+
+/* Serve cached content when offline */
+self.addEventListener('fetch', function (e) {
+ e.respondWith(
+ caches.match(e.request).then(function (response) {
+ return response || fetch(e.request);
+ })
+ );
+});
diff --git a/vegravis-eff7d7793d4c01d8.js b/vegravis-eff7d7793d4c01d8.js
new file mode 100644
index 0000000..6d8e791
--- /dev/null
+++ b/vegravis-eff7d7793d4c01d8.js
@@ -0,0 +1,1499 @@
+let wasm;
+
+const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
+
+if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
+
+let cachedUint8ArrayMemory0 = null;
+
+function getUint8ArrayMemory0() {
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
+ }
+ return cachedUint8ArrayMemory0;
+}
+
+function getStringFromWasm0(ptr, len) {
+ ptr = ptr >>> 0;
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
+}
+
+let WASM_VECTOR_LEN = 0;
+
+const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
+
+const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
+ ? function (arg, view) {
+ return cachedTextEncoder.encodeInto(arg, view);
+}
+ : function (arg, view) {
+ const buf = cachedTextEncoder.encode(arg);
+ view.set(buf);
+ return {
+ read: arg.length,
+ written: buf.length
+ };
+});
+
+function passStringToWasm0(arg, malloc, realloc) {
+
+ if (realloc === undefined) {
+ const buf = cachedTextEncoder.encode(arg);
+ const ptr = malloc(buf.length, 1) >>> 0;
+ 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 = encodeString(arg, view);
+
+ offset += ret.written;
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
+ }
+
+ WASM_VECTOR_LEN = offset;
+ return ptr;
+}
+
+function isLikeNone(x) {
+ return x === undefined || x === null;
+}
+
+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 debugString(val) {
+ // primitive types
+ const type = typeof val;
+ if (type == 'number' || type == 'boolean' || val == null) {
+ return `${val}`;
+ }
+ if (type == 'string') {
+ return `"${val}"`;
+ }
+ if (type == 'symbol') {
+ const description = val.description;
+ if (description == null) {
+ return 'Symbol';
+ } else {
+ return `Symbol(${description})`;
+ }
+ }
+ if (type == 'function') {
+ const name = val.name;
+ if (typeof name == 'string' && name.length > 0) {
+ return `Function(${name})`;
+ } else {
+ return 'Function';
+ }
+ }
+ // objects
+ if (Array.isArray(val)) {
+ const length = val.length;
+ let debug = '[';
+ if (length > 0) {
+ debug += debugString(val[0]);
+ }
+ for(let i = 1; i < length; i++) {
+ debug += ', ' + debugString(val[i]);
+ }
+ debug += ']';
+ return debug;
+ }
+ // Test for built-in
+ const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
+ let className;
+ if (builtInMatches.length > 1) {
+ className = builtInMatches[1];
+ } else {
+ // Failed to match the standard '[object ClassName]'
+ return toString.call(val);
+ }
+ if (className == 'Object') {
+ // we're a user defined class or Object
+ // JSON.stringify avoids problems with cycles, and is generally much
+ // easier than looping through ownProperties of `val`.
+ try {
+ return 'Object(' + JSON.stringify(val) + ')';
+ } catch (_) {
+ return 'Object';
+ }
+ }
+ // errors
+ if (val instanceof Error) {
+ return `${val.name}: ${val.message}\n${val.stack}`;
+ }
+ // TODO we could test for more things here, like `Set`s and `Map`s.
+ return className;
+}
+
+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;
+}
+function __wbg_adapter_30(arg0, arg1, arg2) {
+ wasm.closure390_externref_shim(arg0, arg1, arg2);
+}
+
+function takeFromExternrefTable0(idx) {
+ const value = wasm.__wbindgen_export_2.get(idx);
+ wasm.__externref_table_dealloc(idx);
+ return value;
+}
+function __wbg_adapter_33(arg0, arg1) {
+ const ret = wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h189b1ce38f79a922_multivalue_shim(arg0, arg1);
+ if (ret[1]) {
+ throw takeFromExternrefTable0(ret[0]);
+ }
+}
+
+function __wbg_adapter_38(arg0, arg1, arg2) {
+ wasm.closure403_externref_shim(arg0, arg1, arg2);
+}
+
+function notDefined(what) { return () => { throw new Error(`${what} is not defined`); }; }
+
+function addToExternrefTable0(obj) {
+ const idx = wasm.__externref_table_alloc();
+ wasm.__wbindgen_export_2.set(idx, obj);
+ return idx;
+}
+
+function handleError(f, args) {
+ try {
+ return f.apply(this, args);
+ } catch (e) {
+ const idx = addToExternrefTable0(e);
+ wasm.__wbindgen_exn_store(idx);
+ }
+}
+
+const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
+
+const __wbindgen_enum_ResizeObserverBoxOptions = ["border-box", "content-box", "device-pixel-content-box"];
+
+async function __wbg_load(module, imports) {
+ if (typeof Response === 'function' && module instanceof Response) {
+ if (typeof WebAssembly.instantiateStreaming === 'function') {
+ try {
+ return await WebAssembly.instantiateStreaming(module, imports);
+
+ } catch (e) {
+ if (module.headers.get('Content-Type') != 'application/wasm') {
+ console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
+
+ } else {
+ throw e;
+ }
+ }
+ }
+
+ const bytes = await module.arrayBuffer();
+ return await WebAssembly.instantiate(bytes, imports);
+
+ } else {
+ const instance = await WebAssembly.instantiate(module, imports);
+
+ if (instance instanceof WebAssembly.Instance) {
+ return { instance, module };
+
+ } else {
+ return instance;
+ }
+ }
+}
+
+function __wbg_get_imports() {
+ const imports = {};
+ imports.wbg = {};
+ imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
+ const ret = getStringFromWasm0(arg0, arg1);
+ return ret;
+ };
+ 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_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_error_ecb8b2ef9f17fff0 = function(arg0, arg1) {
+ let deferred0_0;
+ let deferred0_1;
+ try {
+ deferred0_0 = arg0;
+ deferred0_1 = arg1;
+ console.error(getStringFromWasm0(arg0, arg1));
+ } finally {
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
+ }
+ };
+ imports.wbg.__wbg_new_5a0c9fd4e0a0fcbe = function() {
+ const ret = new Error();
+ return ret;
+ };
+ imports.wbg.__wbg_stack_97b8ae9669382e90 = 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_debug_3f6d1d5368ceacfc = function(arg0, arg1) {
+ console.debug(getStringFromWasm0(arg0, arg1));
+ };
+ imports.wbg.__wbg_info_8771fc1eb3dce37c = function(arg0, arg1) {
+ console.info(getStringFromWasm0(arg0, arg1));
+ };
+ imports.wbg.__wbg_warn_bcd15d6888e2b773 = function(arg0, arg1) {
+ console.warn(getStringFromWasm0(arg0, arg1));
+ };
+ imports.wbg.__wbindgen_in = function(arg0, arg1) {
+ const ret = arg0 in arg1;
+ return ret;
+ };
+ imports.wbg.__wbindgen_is_undefined = function(arg0) {
+ const ret = arg0 === undefined;
+ return ret;
+ };
+ 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_performance_a1b8bde2ee512264 = function(arg0) {
+ const ret = arg0.performance;
+ return ret;
+ };
+ imports.wbg.__wbg_now_abd80e969af37148 = function(arg0) {
+ const ret = arg0.now();
+ return ret;
+ };
+ imports.wbg.__wbindgen_boolean_get = function(arg0) {
+ const v = arg0;
+ const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
+ return ret;
+ };
+ imports.wbg.__wbindgen_number_get = 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_instanceof_WebGl2RenderingContext_8dbe5170d8fdea28 = function(arg0) {
+ let result;
+ try {
+ result = arg0 instanceof WebGL2RenderingContext;
+ } catch (_) {
+ result = false;
+ }
+ const ret = result;
+ return ret;
+ };
+ imports.wbg.__wbg_bindVertexArray_9971ca458d8940ea = function(arg0, arg1) {
+ arg0.bindVertexArray(arg1);
+ };
+ imports.wbg.__wbg_bufferData_97b16c4aedab785a = function(arg0, arg1, arg2, arg3) {
+ arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
+ };
+ imports.wbg.__wbg_createVertexArray_ec08b54b9f8c74ea = function(arg0) {
+ const ret = arg0.createVertexArray();
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_texImage2D_05363c5a13ee70f9 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
+ arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
+ }, arguments) };
+ imports.wbg.__wbg_texSubImage2D_97bed542c038dfb5 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
+ }, arguments) };
+ imports.wbg.__wbg_texSubImage2D_74255449b4229fd1 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
+ }, arguments) };
+ imports.wbg.__wbg_activeTexture_a2e9931456fe92b4 = function(arg0, arg1) {
+ arg0.activeTexture(arg1 >>> 0);
+ };
+ imports.wbg.__wbg_attachShader_299671ccaa78592c = function(arg0, arg1, arg2) {
+ arg0.attachShader(arg1, arg2);
+ };
+ imports.wbg.__wbg_bindBuffer_70e5a7ef4920142a = function(arg0, arg1, arg2) {
+ arg0.bindBuffer(arg1 >>> 0, arg2);
+ };
+ imports.wbg.__wbg_bindTexture_78210066cfdda8ac = function(arg0, arg1, arg2) {
+ arg0.bindTexture(arg1 >>> 0, arg2);
+ };
+ imports.wbg.__wbg_blendEquationSeparate_f31b2648426dff95 = function(arg0, arg1, arg2) {
+ arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
+ };
+ imports.wbg.__wbg_blendFuncSeparate_79ff089d1b7d8fdd = function(arg0, arg1, arg2, arg3, arg4) {
+ arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
+ };
+ imports.wbg.__wbg_clear_678615798766f804 = function(arg0, arg1) {
+ arg0.clear(arg1 >>> 0);
+ };
+ imports.wbg.__wbg_clearColor_0af942e0c8c453eb = function(arg0, arg1, arg2, arg3, arg4) {
+ arg0.clearColor(arg1, arg2, arg3, arg4);
+ };
+ imports.wbg.__wbg_colorMask_88c579e312b0fdcf = function(arg0, arg1, arg2, arg3, arg4) {
+ arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
+ };
+ imports.wbg.__wbg_compileShader_9680f4f1d833586c = function(arg0, arg1) {
+ arg0.compileShader(arg1);
+ };
+ imports.wbg.__wbg_createBuffer_478457cb9beff1a3 = function(arg0) {
+ const ret = arg0.createBuffer();
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_createProgram_48b8a105fd0cfb35 = function(arg0) {
+ const ret = arg0.createProgram();
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_createShader_f956a5ec67a77964 = function(arg0, arg1) {
+ const ret = arg0.createShader(arg1 >>> 0);
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_createTexture_3ebc81a77f42cd4b = function(arg0) {
+ const ret = arg0.createTexture();
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_deleteBuffer_4ab8b253a2ff7ec7 = function(arg0, arg1) {
+ arg0.deleteBuffer(arg1);
+ };
+ imports.wbg.__wbg_deleteProgram_ef8d37545b8ab3ce = function(arg0, arg1) {
+ arg0.deleteProgram(arg1);
+ };
+ imports.wbg.__wbg_deleteShader_c65ef8df50ff2e29 = function(arg0, arg1) {
+ arg0.deleteShader(arg1);
+ };
+ imports.wbg.__wbg_deleteTexture_05e26b0508f0589d = function(arg0, arg1) {
+ arg0.deleteTexture(arg1);
+ };
+ imports.wbg.__wbg_detachShader_edfa1d6365e56336 = function(arg0, arg1, arg2) {
+ arg0.detachShader(arg1, arg2);
+ };
+ imports.wbg.__wbg_disable_d0317155c2bda795 = function(arg0, arg1) {
+ arg0.disable(arg1 >>> 0);
+ };
+ imports.wbg.__wbg_disableVertexAttribArray_58aa0d2748ca82d4 = function(arg0, arg1) {
+ arg0.disableVertexAttribArray(arg1 >>> 0);
+ };
+ imports.wbg.__wbg_drawElements_a40e0aeb70716911 = function(arg0, arg1, arg2, arg3, arg4) {
+ arg0.drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4);
+ };
+ imports.wbg.__wbg_enable_b73a997042de6e09 = function(arg0, arg1) {
+ arg0.enable(arg1 >>> 0);
+ };
+ imports.wbg.__wbg_enableVertexAttribArray_08b992ae13fe30a9 = function(arg0, arg1) {
+ arg0.enableVertexAttribArray(arg1 >>> 0);
+ };
+ imports.wbg.__wbg_generateMipmap_eed46cfd38713244 = function(arg0, arg1) {
+ arg0.generateMipmap(arg1 >>> 0);
+ };
+ imports.wbg.__wbg_getAttribLocation_c498bc242afbf700 = function(arg0, arg1, arg2, arg3) {
+ const ret = arg0.getAttribLocation(arg1, getStringFromWasm0(arg2, arg3));
+ return ret;
+ };
+ imports.wbg.__wbg_getError_8ad2027c9905d389 = function(arg0) {
+ const ret = arg0.getError();
+ return ret;
+ };
+ imports.wbg.__wbg_getExtension_811520f1db50ca11 = function() { return handleError(function (arg0, arg1, arg2) {
+ const ret = arg0.getExtension(getStringFromWasm0(arg1, arg2));
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ }, arguments) };
+ imports.wbg.__wbg_getParameter_1b7c85c782ee0a5e = function() { return handleError(function (arg0, arg1) {
+ const ret = arg0.getParameter(arg1 >>> 0);
+ return ret;
+ }, arguments) };
+ imports.wbg.__wbg_getProgramInfoLog_16c69289b6a9c98e = function(arg0, arg1, arg2) {
+ const ret = arg1.getProgramInfoLog(arg2);
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ var len1 = WASM_VECTOR_LEN;
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
+ };
+ imports.wbg.__wbg_getProgramParameter_4c981ddc3b62dda8 = function(arg0, arg1, arg2) {
+ const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
+ return ret;
+ };
+ imports.wbg.__wbg_getShaderInfoLog_afb2baaac4baaff5 = function(arg0, arg1, arg2) {
+ const ret = arg1.getShaderInfoLog(arg2);
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ var len1 = WASM_VECTOR_LEN;
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
+ };
+ imports.wbg.__wbg_getShaderParameter_e21fb00f8255b86b = function(arg0, arg1, arg2) {
+ const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
+ return ret;
+ };
+ imports.wbg.__wbg_getSupportedExtensions_ae0473d2b21281af = function(arg0) {
+ const ret = arg0.getSupportedExtensions();
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_getUniformLocation_74149153bba4c4cb = function(arg0, arg1, arg2, arg3) {
+ const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_linkProgram_983c5972b815b0de = function(arg0, arg1) {
+ arg0.linkProgram(arg1);
+ };
+ imports.wbg.__wbg_pixelStorei_1077f1f904f1a03d = function(arg0, arg1, arg2) {
+ arg0.pixelStorei(arg1 >>> 0, arg2);
+ };
+ imports.wbg.__wbg_scissor_3cdd53b98aa49fb5 = function(arg0, arg1, arg2, arg3, arg4) {
+ arg0.scissor(arg1, arg2, arg3, arg4);
+ };
+ imports.wbg.__wbg_shaderSource_c36f18b5114855e7 = function(arg0, arg1, arg2, arg3) {
+ arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
+ };
+ imports.wbg.__wbg_texParameteri_a73df30f47a92fec = function(arg0, arg1, arg2, arg3) {
+ arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
+ };
+ imports.wbg.__wbg_uniform1i_b7abcc7b3b4aee52 = function(arg0, arg1, arg2) {
+ arg0.uniform1i(arg1, arg2);
+ };
+ imports.wbg.__wbg_uniform2f_42bc6b11055323f9 = function(arg0, arg1, arg2, arg3) {
+ arg0.uniform2f(arg1, arg2, arg3);
+ };
+ imports.wbg.__wbg_useProgram_8232847dbf97643a = function(arg0, arg1) {
+ arg0.useProgram(arg1);
+ };
+ imports.wbg.__wbg_vertexAttribPointer_f602d22ecb0758f6 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
+ arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
+ };
+ imports.wbg.__wbg_viewport_e333f63662d91f3a = function(arg0, arg1, arg2, arg3, arg4) {
+ arg0.viewport(arg1, arg2, arg3, arg4);
+ };
+ imports.wbg.__wbg_instanceof_Window_6575cd7f1322f82f = function(arg0) {
+ let result;
+ try {
+ result = arg0 instanceof Window;
+ } catch (_) {
+ result = false;
+ }
+ const ret = result;
+ return ret;
+ };
+ imports.wbg.__wbg_document_d7fa2c739c2b191a = function(arg0) {
+ const ret = arg0.document;
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_location_72721055fbff81f2 = function(arg0) {
+ const ret = arg0.location;
+ return ret;
+ };
+ imports.wbg.__wbg_history_95935eecf7ecc279 = function() { return handleError(function (arg0) {
+ const ret = arg0.history;
+ return ret;
+ }, arguments) };
+ imports.wbg.__wbg_navigator_3d3836196a5d8e62 = function(arg0) {
+ const ret = arg0.navigator;
+ return ret;
+ };
+ imports.wbg.__wbg_devicePixelRatio_5d0556383aa83231 = function(arg0) {
+ const ret = arg0.devicePixelRatio;
+ return ret;
+ };
+ imports.wbg.__wbg_localStorage_6026615061e890bf = function() { return handleError(function (arg0) {
+ const ret = arg0.localStorage;
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ }, arguments) };
+ imports.wbg.__wbg_performance_8efa15a3e0d18099 = function(arg0) {
+ const ret = arg0.performance;
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_getComputedStyle_ec7e113b79b74e98 = function() { return handleError(function (arg0, arg1) {
+ const ret = arg0.getComputedStyle(arg1);
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ }, arguments) };
+ imports.wbg.__wbg_matchMedia_2c5a513148e49e4a = function() { return handleError(function (arg0, arg1, arg2) {
+ const ret = arg0.matchMedia(getStringFromWasm0(arg1, arg2));
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ }, arguments) };
+ imports.wbg.__wbg_open_245c3e57ba96efce = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
+ const ret = arg0.open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ }, arguments) };
+ imports.wbg.__wbg_cancelAnimationFrame_f802bc3f3a9b2e5c = function() { return handleError(function (arg0, arg1) {
+ arg0.cancelAnimationFrame(arg1);
+ }, arguments) };
+ imports.wbg.__wbg_requestAnimationFrame_8c3436f4ac89bc48 = function() { return handleError(function (arg0, arg1) {
+ const ret = arg0.requestAnimationFrame(arg1);
+ return ret;
+ }, arguments) };
+ imports.wbg.__wbg_clearInterval_538773bf49791f6f = function(arg0, arg1) {
+ arg0.clearInterval(arg1);
+ };
+ imports.wbg.__wbg_body_8e909b791b1745d3 = function(arg0) {
+ const ret = arg0.body;
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_hidden_9ae94f885363245b = function(arg0) {
+ const ret = arg0.hidden;
+ return ret;
+ };
+ imports.wbg.__wbg_activeElement_4ab2bc6dcf8da330 = function(arg0) {
+ const ret = arg0.activeElement;
+ 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_getElementById_734c4eac4fec5911 = function(arg0, arg1, arg2) {
+ const ret = arg0.getElementById(getStringFromWasm0(arg1, arg2));
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_elementFromPoint_7ebcb9cd80c2cbb6 = function(arg0, arg1, arg2) {
+ const ret = arg0.elementFromPoint(arg1, arg2);
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_instanceof_Element_1a81366cc90e70e2 = function(arg0) {
+ let result;
+ try {
+ result = arg0 instanceof Element;
+ } catch (_) {
+ result = false;
+ }
+ const ret = result;
+ return ret;
+ };
+ 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_getBoundingClientRect_5ad16be1e2955e83 = function(arg0) {
+ const ret = arg0.getBoundingClientRect();
+ return ret;
+ };
+ 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_remove_d7a18d9f46bc50fd = function(arg0) {
+ arg0.remove();
+ };
+ imports.wbg.__wbg_settabIndex_a11c34f55118ce28 = function(arg0, arg1) {
+ arg0.tabIndex = arg1;
+ };
+ imports.wbg.__wbg_style_04eb1488bc2ceffc = function(arg0) {
+ const ret = arg0.style;
+ return ret;
+ };
+ imports.wbg.__wbg_offsetTop_b9521f886d70cd98 = function(arg0) {
+ const ret = arg0.offsetTop;
+ return ret;
+ };
+ imports.wbg.__wbg_blur_d7e0bcc31c40e996 = function() { return handleError(function (arg0) {
+ arg0.blur();
+ }, arguments) };
+ imports.wbg.__wbg_focus_6b6181f7644f6dbc = function() { return handleError(function (arg0) {
+ arg0.focus();
+ }, arguments) };
+ imports.wbg.__wbg_instanceof_WebGlRenderingContext_39ef06dc49edcd67 = function(arg0) {
+ let result;
+ try {
+ result = arg0 instanceof WebGLRenderingContext;
+ } catch (_) {
+ result = false;
+ }
+ const ret = result;
+ return ret;
+ };
+ imports.wbg.__wbg_bufferData_11bf0e7b1bcebb55 = function(arg0, arg1, arg2, arg3) {
+ arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
+ };
+ imports.wbg.__wbg_texImage2D_12005a1c57d665bb = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
+ arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
+ }, arguments) };
+ imports.wbg.__wbg_texSubImage2D_e784b7363b6c212d = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
+ }, arguments) };
+ imports.wbg.__wbg_activeTexture_b0bb95e7b2c13666 = function(arg0, arg1) {
+ arg0.activeTexture(arg1 >>> 0);
+ };
+ imports.wbg.__wbg_attachShader_4a6cb7b86d7531b8 = function(arg0, arg1, arg2) {
+ arg0.attachShader(arg1, arg2);
+ };
+ imports.wbg.__wbg_bindBuffer_87bece1307f4836f = function(arg0, arg1, arg2) {
+ arg0.bindBuffer(arg1 >>> 0, arg2);
+ };
+ imports.wbg.__wbg_bindTexture_578ab0356afb56df = function(arg0, arg1, arg2) {
+ arg0.bindTexture(arg1 >>> 0, arg2);
+ };
+ imports.wbg.__wbg_blendEquationSeparate_4dba689f460b83c7 = function(arg0, arg1, arg2) {
+ arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
+ };
+ imports.wbg.__wbg_blendFuncSeparate_54734c3d5f7ec376 = function(arg0, arg1, arg2, arg3, arg4) {
+ arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
+ };
+ imports.wbg.__wbg_clear_c5af939d0a44a025 = function(arg0, arg1) {
+ arg0.clear(arg1 >>> 0);
+ };
+ imports.wbg.__wbg_clearColor_f7a4d2d6a8d8cdf6 = function(arg0, arg1, arg2, arg3, arg4) {
+ arg0.clearColor(arg1, arg2, arg3, arg4);
+ };
+ imports.wbg.__wbg_colorMask_f1fbf32fb9ff5f55 = function(arg0, arg1, arg2, arg3, arg4) {
+ arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
+ };
+ imports.wbg.__wbg_compileShader_48a677cac607634b = function(arg0, arg1) {
+ arg0.compileShader(arg1);
+ };
+ imports.wbg.__wbg_createBuffer_2f1b069b0fbe4db7 = function(arg0) {
+ const ret = arg0.createBuffer();
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_createProgram_1510c4697aed8d2f = function(arg0) {
+ const ret = arg0.createProgram();
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_createShader_3edd95eb001d29c9 = function(arg0, arg1) {
+ const ret = arg0.createShader(arg1 >>> 0);
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_createTexture_01a5bbc5d52164d2 = function(arg0) {
+ const ret = arg0.createTexture();
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_deleteBuffer_2b49293fc295ccea = function(arg0, arg1) {
+ arg0.deleteBuffer(arg1);
+ };
+ imports.wbg.__wbg_deleteProgram_16d8257cfae7ddbe = function(arg0, arg1) {
+ arg0.deleteProgram(arg1);
+ };
+ imports.wbg.__wbg_deleteShader_a49077cc02f9d75c = function(arg0, arg1) {
+ arg0.deleteShader(arg1);
+ };
+ imports.wbg.__wbg_deleteTexture_f72079e46289ccf8 = function(arg0, arg1) {
+ arg0.deleteTexture(arg1);
+ };
+ imports.wbg.__wbg_detachShader_11435bbfadd38efd = function(arg0, arg1, arg2) {
+ arg0.detachShader(arg1, arg2);
+ };
+ imports.wbg.__wbg_disable_a342a9330a0cd452 = function(arg0, arg1) {
+ arg0.disable(arg1 >>> 0);
+ };
+ imports.wbg.__wbg_disableVertexAttribArray_636452904a337436 = function(arg0, arg1) {
+ arg0.disableVertexAttribArray(arg1 >>> 0);
+ };
+ imports.wbg.__wbg_drawElements_f761454e5306de80 = function(arg0, arg1, arg2, arg3, arg4) {
+ arg0.drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4);
+ };
+ imports.wbg.__wbg_enable_d120ad9b31220426 = function(arg0, arg1) {
+ arg0.enable(arg1 >>> 0);
+ };
+ imports.wbg.__wbg_enableVertexAttribArray_a12ed0a684959868 = function(arg0, arg1) {
+ arg0.enableVertexAttribArray(arg1 >>> 0);
+ };
+ imports.wbg.__wbg_generateMipmap_952d412cb9b50adb = function(arg0, arg1) {
+ arg0.generateMipmap(arg1 >>> 0);
+ };
+ imports.wbg.__wbg_getAttribLocation_6389196ac5e58c5c = function(arg0, arg1, arg2, arg3) {
+ const ret = arg0.getAttribLocation(arg1, getStringFromWasm0(arg2, arg3));
+ return ret;
+ };
+ imports.wbg.__wbg_getError_919f5a6e84ab2e46 = function(arg0) {
+ const ret = arg0.getError();
+ return ret;
+ };
+ imports.wbg.__wbg_getExtension_e54e6eac6f420939 = function() { return handleError(function (arg0, arg1, arg2) {
+ const ret = arg0.getExtension(getStringFromWasm0(arg1, arg2));
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ }, arguments) };
+ imports.wbg.__wbg_getParameter_21bd0c7970e3e51c = function() { return handleError(function (arg0, arg1) {
+ const ret = arg0.getParameter(arg1 >>> 0);
+ return ret;
+ }, arguments) };
+ imports.wbg.__wbg_getProgramInfoLog_2ebf87ded3a93ef1 = function(arg0, arg1, arg2) {
+ const ret = arg1.getProgramInfoLog(arg2);
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ var len1 = WASM_VECTOR_LEN;
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
+ };
+ imports.wbg.__wbg_getProgramParameter_2fc04fee21ea5036 = function(arg0, arg1, arg2) {
+ const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
+ return ret;
+ };
+ imports.wbg.__wbg_getShaderInfoLog_eabc357ae8803006 = function(arg0, arg1, arg2) {
+ const ret = arg1.getShaderInfoLog(arg2);
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ var len1 = WASM_VECTOR_LEN;
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
+ };
+ imports.wbg.__wbg_getShaderParameter_e5207a499ce4b3a1 = function(arg0, arg1, arg2) {
+ const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
+ return ret;
+ };
+ imports.wbg.__wbg_getSupportedExtensions_d46f11b06ebefa0d = function(arg0) {
+ const ret = arg0.getSupportedExtensions();
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_getUniformLocation_f600c2277dd826b4 = function(arg0, arg1, arg2, arg3) {
+ const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_linkProgram_b4246295077a3859 = function(arg0, arg1) {
+ arg0.linkProgram(arg1);
+ };
+ imports.wbg.__wbg_pixelStorei_86e41250cf27c77f = function(arg0, arg1, arg2) {
+ arg0.pixelStorei(arg1 >>> 0, arg2);
+ };
+ imports.wbg.__wbg_scissor_f1b8dd095e3fa77a = function(arg0, arg1, arg2, arg3, arg4) {
+ arg0.scissor(arg1, arg2, arg3, arg4);
+ };
+ imports.wbg.__wbg_shaderSource_f8f569556926b597 = function(arg0, arg1, arg2, arg3) {
+ arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
+ };
+ imports.wbg.__wbg_texParameteri_72793934be86cdcf = function(arg0, arg1, arg2, arg3) {
+ arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
+ };
+ imports.wbg.__wbg_uniform1i_55c667a20431c589 = function(arg0, arg1, arg2) {
+ arg0.uniform1i(arg1, arg2);
+ };
+ imports.wbg.__wbg_uniform2f_41690ab5f9e5c2b2 = function(arg0, arg1, arg2, arg3) {
+ arg0.uniform2f(arg1, arg2, arg3);
+ };
+ imports.wbg.__wbg_useProgram_0f0a7b123a5eba79 = function(arg0, arg1) {
+ arg0.useProgram(arg1);
+ };
+ imports.wbg.__wbg_vertexAttribPointer_6e1de5dfe082f820 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
+ arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
+ };
+ imports.wbg.__wbg_viewport_567a7a444dd3650b = function(arg0, arg1, arg2, arg3, arg4) {
+ arg0.viewport(arg1, arg2, arg3, arg4);
+ };
+ imports.wbg.__wbg_dataTransfer_b898af73237a967c = function(arg0) {
+ const ret = arg0.dataTransfer;
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_instanceof_HtmlCanvasElement_022ad88c76df9031 = function(arg0) {
+ let result;
+ try {
+ result = arg0 instanceof HTMLCanvasElement;
+ } catch (_) {
+ result = false;
+ }
+ const ret = result;
+ return ret;
+ };
+ imports.wbg.__wbg_width_cd62a064492c4489 = function(arg0) {
+ const ret = arg0.width;
+ return ret;
+ };
+ imports.wbg.__wbg_setwidth_23bf2deedd907275 = function(arg0, arg1) {
+ arg0.width = arg1 >>> 0;
+ };
+ imports.wbg.__wbg_height_f9f3ea69baf38ed4 = function(arg0) {
+ const ret = arg0.height;
+ return ret;
+ };
+ imports.wbg.__wbg_setheight_239dc283bbe50da4 = function(arg0, arg1) {
+ arg0.height = arg1 >>> 0;
+ };
+ imports.wbg.__wbg_getContext_bf8985355a4d22ca = function() { return handleError(function (arg0, arg1, arg2) {
+ const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ }, arguments) };
+ imports.wbg.__wbg_keyCode_b40a8c053bb90ca7 = function(arg0) {
+ const ret = arg0.keyCode;
+ return ret;
+ };
+ imports.wbg.__wbg_altKey_ebf03e2308f51c08 = function(arg0) {
+ const ret = arg0.altKey;
+ return ret;
+ };
+ imports.wbg.__wbg_ctrlKey_f592192d87040d94 = function(arg0) {
+ const ret = arg0.ctrlKey;
+ return ret;
+ };
+ imports.wbg.__wbg_shiftKey_cb120edc9c25950d = function(arg0) {
+ const ret = arg0.shiftKey;
+ return ret;
+ };
+ imports.wbg.__wbg_metaKey_0735ca81e2ec6c72 = function(arg0) {
+ const ret = arg0.metaKey;
+ return ret;
+ };
+ imports.wbg.__wbg_isComposing_527cd20b8f4c31d2 = function(arg0) {
+ const ret = arg0.isComposing;
+ 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_instanceof_ResizeObserverSize_24861b0b596f2d13 = function(arg0) {
+ let result;
+ try {
+ result = arg0 instanceof ResizeObserverSize;
+ } catch (_) {
+ result = false;
+ }
+ const ret = result;
+ return ret;
+ };
+ imports.wbg.__wbg_inlineSize_bdd9c1683673d79e = function(arg0) {
+ const ret = arg0.inlineSize;
+ return ret;
+ };
+ imports.wbg.__wbg_blockSize_5d28da4852a3728e = function(arg0) {
+ const ret = arg0.blockSize;
+ return ret;
+ };
+ imports.wbg.__wbg_deltaX_10154f810008c0a0 = function(arg0) {
+ const ret = arg0.deltaX;
+ return ret;
+ };
+ imports.wbg.__wbg_deltaY_afd77a1b9e0d9ccd = function(arg0) {
+ const ret = arg0.deltaY;
+ return ret;
+ };
+ imports.wbg.__wbg_deltaMode_f31810d86a9defec = function(arg0) {
+ const ret = arg0.deltaMode;
+ return ret;
+ };
+ imports.wbg.__wbg_data_86e77dc14916d155 = function(arg0, arg1) {
+ const ret = arg1.data;
+ 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_type_7dfeed312f915bc7 = function(arg0, arg1) {
+ const ret = arg1.type;
+ 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_length_21a3493916831b15 = function(arg0) {
+ const ret = arg0.length;
+ return ret;
+ };
+ imports.wbg.__wbg_get_4d667686e5e4fa4f = function(arg0, arg1) {
+ const ret = arg0[arg1 >>> 0];
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_matches_7df350fbe7beb09f = function(arg0) {
+ const ret = arg0.matches;
+ return ret;
+ };
+ imports.wbg.__wbg_now_d3cbc9581625f686 = function(arg0) {
+ const ret = arg0.now();
+ return ret;
+ };
+ imports.wbg.__wbg_instanceof_ResizeObserverEntry_c62bf203457900ce = function(arg0) {
+ let result;
+ try {
+ result = arg0 instanceof ResizeObserverEntry;
+ } catch (_) {
+ result = false;
+ }
+ const ret = result;
+ return ret;
+ };
+ imports.wbg.__wbg_contentRect_0ff902e25b5b4c7a = function(arg0) {
+ const ret = arg0.contentRect;
+ return ret;
+ };
+ imports.wbg.__wbg_contentBoxSize_407a04b6289dbaa7 = function(arg0) {
+ const ret = arg0.contentBoxSize;
+ return ret;
+ };
+ imports.wbg.__wbg_devicePixelContentBoxSize_67d2874a12290f0b = function(arg0) {
+ const ret = arg0.devicePixelContentBoxSize;
+ return ret;
+ };
+ imports.wbg.__wbg_getPropertyValue_b199c95cfeadebdf = function() { return handleError(function (arg0, arg1, arg2, arg3) {
+ const ret = arg1.getPropertyValue(getStringFromWasm0(arg2, arg3));
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ const len1 = WASM_VECTOR_LEN;
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
+ }, arguments) };
+ imports.wbg.__wbg_setProperty_b9a2384cbfb499fb = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
+ arg0.setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
+ }, arguments) };
+ imports.wbg.__wbg_preventDefault_eecc4a63e64c4526 = function(arg0) {
+ arg0.preventDefault();
+ };
+ imports.wbg.__wbg_stopPropagation_8a8fc87824cc6f0b = function(arg0) {
+ arg0.stopPropagation();
+ };
+ imports.wbg.__wbg_clientX_a8eebf094c107e43 = function(arg0) {
+ const ret = arg0.clientX;
+ return ret;
+ };
+ imports.wbg.__wbg_clientY_ffe0a79af8089cd4 = function(arg0) {
+ const ret = arg0.clientY;
+ return ret;
+ };
+ imports.wbg.__wbg_ctrlKey_4015247a39aa9410 = function(arg0) {
+ const ret = arg0.ctrlKey;
+ return ret;
+ };
+ imports.wbg.__wbg_shiftKey_6d843f3032fd0366 = function(arg0) {
+ const ret = arg0.shiftKey;
+ return ret;
+ };
+ imports.wbg.__wbg_altKey_c9401b041949ea90 = function(arg0) {
+ const ret = arg0.altKey;
+ return ret;
+ };
+ imports.wbg.__wbg_metaKey_5d680933661ea1ea = function(arg0) {
+ const ret = arg0.metaKey;
+ return ret;
+ };
+ imports.wbg.__wbg_button_d8226b772c8cf494 = function(arg0) {
+ const ret = arg0.button;
+ return ret;
+ };
+ imports.wbg.__wbg_identifier_b858c904e1c72507 = function(arg0) {
+ const ret = arg0.identifier;
+ return ret;
+ };
+ imports.wbg.__wbg_clientX_0e075d664eb70517 = function(arg0) {
+ const ret = arg0.clientX;
+ return ret;
+ };
+ imports.wbg.__wbg_clientY_32b24b7be6b2e79d = function(arg0) {
+ const ret = arg0.clientY;
+ return ret;
+ };
+ imports.wbg.__wbg_force_5af67f6cd0b9c097 = function(arg0) {
+ const ret = arg0.force;
+ return ret;
+ };
+ imports.wbg.__wbg_width_45de62653cf1c40c = function(arg0) {
+ const ret = arg0.width;
+ return ret;
+ };
+ imports.wbg.__wbg_height_333816c9b207333d = function(arg0) {
+ const ret = arg0.height;
+ return ret;
+ };
+ imports.wbg.__wbg_top_5f4586313f3e086f = function(arg0) {
+ const ret = arg0.top;
+ return ret;
+ };
+ imports.wbg.__wbg_right_f7d64a961b5dc7fb = function(arg0) {
+ const ret = arg0.right;
+ return ret;
+ };
+ imports.wbg.__wbg_bottom_e9f75f36a7551e7a = function(arg0) {
+ const ret = arg0.bottom;
+ return ret;
+ };
+ imports.wbg.__wbg_left_324ad4ce0086311f = function(arg0) {
+ const ret = arg0.left;
+ return ret;
+ };
+ imports.wbg.__wbg_appendChild_bc4a0deae90a5164 = function() { return handleError(function (arg0, arg1) {
+ const ret = arg0.appendChild(arg1);
+ return ret;
+ }, arguments) };
+ imports.wbg.__wbg_new_bc395d17a25f9f2f = function() { return handleError(function (arg0) {
+ const ret = new ResizeObserver(arg0);
+ return ret;
+ }, arguments) };
+ imports.wbg.__wbg_disconnect_91f6e3e629264c78 = function(arg0) {
+ arg0.disconnect();
+ };
+ imports.wbg.__wbg_observe_e05a589c42476328 = function(arg0, arg1, arg2) {
+ arg0.observe(arg1, arg2);
+ };
+ imports.wbg.__wbg_getItem_cc312d333f535f07 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
+ const ret = arg1.getItem(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_setItem_5afc04d5b6287c76 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
+ arg0.setItem(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
+ }, arguments) };
+ imports.wbg.__wbg_clipboardData_6c07151d2898ce82 = function(arg0) {
+ const ret = arg0.clipboardData;
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_addEventListener_4357f9b7b3826784 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
+ arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3);
+ }, arguments) };
+ imports.wbg.__wbg_removeEventListener_4c13d11156153514 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
+ arg0.removeEventListener(getStringFromWasm0(arg1, arg2), arg3);
+ }, arguments) };
+ imports.wbg.__wbg_isComposing_67ecb026b0e0555e = function(arg0) {
+ const ret = arg0.isComposing;
+ return ret;
+ };
+ imports.wbg.__wbg_bindVertexArrayOES_f7ae803496f6f82f = function(arg0, arg1) {
+ arg0.bindVertexArrayOES(arg1);
+ };
+ imports.wbg.__wbg_createVertexArrayOES_6e8273e64e878af6 = function(arg0) {
+ const ret = arg0.createVertexArrayOES();
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ 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_lastModified_bbe64ae9081c28ac = function(arg0) {
+ const ret = arg0.lastModified;
+ return ret;
+ };
+ imports.wbg.__wbg_href_a78089b3b726e0af = 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_origin_1830c25dfb01148b = function() { return handleError(function (arg0, arg1) {
+ const ret = arg1.origin;
+ 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_protocol_39dcf7495862d01b = function() { return handleError(function (arg0, arg1) {
+ const ret = arg1.protocol;
+ 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_host_0dbedd515e7d7dff = function() { return handleError(function (arg0, arg1) {
+ const ret = arg1.host;
+ 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_hostname_f0edc9340c081d0e = function() { return handleError(function (arg0, arg1) {
+ const ret = arg1.hostname;
+ 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_port_42a0d83797247d86 = function() { return handleError(function (arg0, arg1) {
+ const ret = arg1.port;
+ 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_search_aaeccdb8c45f3efa = 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_hash_acef7ae4422b13b0 = function() { return handleError(function (arg0, arg1) {
+ const ret = arg1.hash;
+ 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_matches_2534cd63e08d2272 = function(arg0) {
+ const ret = arg0.matches;
+ return ret;
+ };
+ imports.wbg.__wbg_touches_092e96ce3221acbc = function(arg0) {
+ const ret = arg0.touches;
+ return ret;
+ };
+ imports.wbg.__wbg_changedTouches_ee3dabea7d95ebf2 = function(arg0) {
+ const ret = arg0.changedTouches;
+ return ret;
+ };
+ imports.wbg.__wbg_length_1b6ac4894265d4e6 = function(arg0) {
+ const ret = arg0.length;
+ return ret;
+ };
+ imports.wbg.__wbg_item_b480aa49bad2197f = function(arg0, arg1) {
+ const ret = arg0.item(arg1 >>> 0);
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_get_4d863ed1d42a2b7d = function(arg0, arg1) {
+ const ret = arg0[arg1 >>> 0];
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_length_3ee0cb6d6e03fafa = function(arg0) {
+ const ret = arg0.length;
+ return ret;
+ };
+ imports.wbg.__wbg_get_12f95c0ea9bf1d84 = function(arg0, arg1) {
+ const ret = arg0[arg1 >>> 0];
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_pushState_fd9ad18c3fdad921 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
+ arg0.pushState(arg1, getStringFromWasm0(arg2, arg3), arg4 === 0 ? undefined : getStringFromWasm0(arg4, arg5));
+ }, arguments) };
+ imports.wbg.__wbg_clipboard_e43b3472696043c3 = function(arg0) {
+ const ret = arg0.clipboard;
+ return ret;
+ };
+ imports.wbg.__wbg_userAgent_b433f0f22dfedec5 = function() { return handleError(function (arg0, arg1) {
+ const ret = arg1.userAgent;
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ const len1 = WASM_VECTOR_LEN;
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
+ }, arguments) };
+ imports.wbg.__wbg_setbox_0540f4f0ed4733b6 = function(arg0, arg1) {
+ arg0.box = __wbindgen_enum_ResizeObserverBoxOptions[arg1];
+ };
+ imports.wbg.__wbg_instanceof_HtmlInputElement_ee25196edbacced9 = function(arg0) {
+ let result;
+ try {
+ result = arg0 instanceof HTMLInputElement;
+ } catch (_) {
+ result = false;
+ }
+ const ret = result;
+ return ret;
+ };
+ imports.wbg.__wbg_setautofocus_2c3f132eaaf0526a = function(arg0, arg1) {
+ arg0.autofocus = arg1 !== 0;
+ };
+ imports.wbg.__wbg_settype_8179afd52dd717a2 = function(arg0, arg1, arg2) {
+ arg0.type = getStringFromWasm0(arg1, arg2);
+ };
+ imports.wbg.__wbg_value_0cffd86fb9a5a18d = 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_setvalue_36bcf6f86c998f0a = function(arg0, arg1, arg2) {
+ arg0.value = getStringFromWasm0(arg1, arg2);
+ };
+ imports.wbg.__wbg_size_51012fd85f29376f = function(arg0) {
+ const ret = arg0.size;
+ return ret;
+ };
+ imports.wbg.__wbg_type_ad7415f0526f4291 = function(arg0, arg1) {
+ const ret = arg1.type;
+ 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_arrayBuffer_b399ae237d35f149 = function(arg0) {
+ const ret = arg0.arrayBuffer();
+ return ret;
+ };
+ imports.wbg.__wbg_writeText_9d976569ea57aa0d = function(arg0, arg1, arg2) {
+ const ret = arg0.writeText(getStringFromWasm0(arg1, arg2));
+ return ret;
+ };
+ imports.wbg.__wbg_items_f84b3a3510533fc9 = function(arg0) {
+ const ret = arg0.items;
+ return ret;
+ };
+ imports.wbg.__wbg_files_194ca113571d995f = function(arg0) {
+ const ret = arg0.files;
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
+ };
+ imports.wbg.__wbg_getData_d687ebb5e1da9d6e = function() { return handleError(function (arg0, arg1, arg2, arg3) {
+ const ret = arg1.getData(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_get_5419cf6b954aa11d = function(arg0, arg1) {
+ const ret = arg0[arg1 >>> 0];
+ return ret;
+ };
+ imports.wbg.__wbg_length_f217bbbf7e8e4df4 = function(arg0) {
+ const ret = arg0.length;
+ return ret;
+ };
+ imports.wbg.__wbg_newnoargs_1ede4bf2ebbaaf43 = function(arg0, arg1) {
+ const ret = new Function(getStringFromWasm0(arg0, arg1));
+ return ret;
+ };
+ imports.wbg.__wbg_call_a9ef466721e824f2 = function() { return handleError(function (arg0, arg1) {
+ const ret = arg0.call(arg1);
+ return ret;
+ }, arguments) };
+ imports.wbg.__wbg_new_e69b5f66fda8f13c = function() {
+ const ret = new Object();
+ return ret;
+ };
+ imports.wbg.__wbg_self_bf91bf94d9e04084 = function() { return handleError(function () {
+ const ret = self.self;
+ return ret;
+ }, arguments) };
+ imports.wbg.__wbg_window_52dd9f07d03fd5f8 = function() { return handleError(function () {
+ const ret = window.window;
+ return ret;
+ }, arguments) };
+ imports.wbg.__wbg_globalThis_05c129bf37fcf1be = function() { return handleError(function () {
+ const ret = globalThis.globalThis;
+ return ret;
+ }, arguments) };
+ imports.wbg.__wbg_global_3eca19bb09e9c484 = function() { return handleError(function () {
+ const ret = global.global;
+ return ret;
+ }, arguments) };
+ imports.wbg.__wbg_at_2c39eacdcce73361 = function(arg0, arg1) {
+ const ret = arg0.at(arg1);
+ return ret;
+ };
+ imports.wbg.__wbg_is_4b64bc96710d6a0f = function(arg0, arg1) {
+ const ret = Object.is(arg0, arg1);
+ return ret;
+ };
+ imports.wbg.__wbg_resolve_0aad7c1484731c99 = function(arg0) {
+ const ret = Promise.resolve(arg0);
+ return ret;
+ };
+ imports.wbg.__wbg_then_748f75edfb032440 = function(arg0, arg1) {
+ const ret = arg0.then(arg1);
+ return ret;
+ };
+ imports.wbg.__wbg_then_4866a7d9f55d8f3e = function(arg0, arg1, arg2) {
+ const ret = arg0.then(arg1, arg2);
+ return ret;
+ };
+ imports.wbg.__wbg_buffer_ccaed51a635d8a2d = function(arg0) {
+ const ret = arg0.buffer;
+ return ret;
+ };
+ imports.wbg.__wbg_newwithbyteoffsetandlength_a477014f6b279082 = function(arg0, arg1, arg2) {
+ const ret = new Int8Array(arg0, arg1 >>> 0, arg2 >>> 0);
+ return ret;
+ };
+ imports.wbg.__wbg_newwithbyteoffsetandlength_2162229fb032f49b = function(arg0, arg1, arg2) {
+ const ret = new Int16Array(arg0, arg1 >>> 0, arg2 >>> 0);
+ return ret;
+ };
+ imports.wbg.__wbg_newwithbyteoffsetandlength_98f18acc088b651f = function(arg0, arg1, arg2) {
+ const ret = new Int32Array(arg0, arg1 >>> 0, arg2 >>> 0);
+ return ret;
+ };
+ imports.wbg.__wbg_newwithbyteoffsetandlength_7e3eb787208af730 = function(arg0, arg1, arg2) {
+ const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
+ return ret;
+ };
+ imports.wbg.__wbg_new_fec2611eb9180f95 = function(arg0) {
+ const ret = new Uint8Array(arg0);
+ return ret;
+ };
+ imports.wbg.__wbg_set_ec2fcf81bc573fd9 = function(arg0, arg1, arg2) {
+ arg0.set(arg1, arg2 >>> 0);
+ };
+ imports.wbg.__wbg_length_9254c4bd3b9f23c4 = function(arg0) {
+ const ret = arg0.length;
+ return ret;
+ };
+ imports.wbg.__wbg_newwithbyteoffsetandlength_e74b33a1f7565139 = function(arg0, arg1, arg2) {
+ const ret = new Uint16Array(arg0, arg1 >>> 0, arg2 >>> 0);
+ return ret;
+ };
+ imports.wbg.__wbg_newwithbyteoffsetandlength_5f67057565ba35bf = function(arg0, arg1, arg2) {
+ const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
+ return ret;
+ };
+ imports.wbg.__wbg_newwithbyteoffsetandlength_fc445c2d308275d0 = function(arg0, arg1, arg2) {
+ const ret = new Float32Array(arg0, arg1 >>> 0, arg2 >>> 0);
+ 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_throw = function(arg0, arg1) {
+ throw new Error(getStringFromWasm0(arg0, arg1));
+ };
+ imports.wbg.__wbindgen_memory = function() {
+ const ret = wasm.memory;
+ return ret;
+ };
+ imports.wbg.__wbindgen_closure_wrapper1576 = function(arg0, arg1, arg2) {
+ const ret = makeMutClosure(arg0, arg1, 391, __wbg_adapter_30);
+ return ret;
+ };
+ imports.wbg.__wbindgen_closure_wrapper1578 = function(arg0, arg1, arg2) {
+ const ret = makeMutClosure(arg0, arg1, 391, __wbg_adapter_33);
+ return ret;
+ };
+ imports.wbg.__wbindgen_closure_wrapper1580 = function(arg0, arg1, arg2) {
+ const ret = makeMutClosure(arg0, arg1, 391, __wbg_adapter_30);
+ return ret;
+ };
+ imports.wbg.__wbindgen_closure_wrapper1633 = function(arg0, arg1, arg2) {
+ const ret = makeMutClosure(arg0, arg1, 404, __wbg_adapter_38);
+ return ret;
+ };
+ imports.wbg.__wbindgen_init_externref_table = function() {
+ const table = wasm.__wbindgen_export_2;
+ const offset = table.grow(4);
+ table.set(0, undefined);
+ table.set(offset + 0, undefined);
+ table.set(offset + 1, null);
+ table.set(offset + 2, true);
+ table.set(offset + 3, false);
+ ;
+ };
+
+ return imports;
+}
+
+function __wbg_init_memory(imports, memory) {
+
+}
+
+function __wbg_finalize_init(instance, module) {
+ wasm = instance.exports;
+ __wbg_init.__wbindgen_wasm_module = module;
+ cachedDataViewMemory0 = null;
+ cachedUint8ArrayMemory0 = null;
+
+
+ wasm.__wbindgen_start();
+ return wasm;
+}
+
+function initSync(module) {
+ if (wasm !== undefined) return wasm;
+
+
+ if (typeof module !== 'undefined') {
+ if (Object.getPrototypeOf(module) === Object.prototype) {
+ ({module} = module)
+ } else {
+ console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
+ }
+ }
+
+ const imports = __wbg_get_imports();
+
+ __wbg_init_memory(imports);
+
+ if (!(module instanceof WebAssembly.Module)) {
+ module = new WebAssembly.Module(module);
+ }
+
+ const instance = new WebAssembly.Instance(module, imports);
+
+ return __wbg_finalize_init(instance, module);
+}
+
+async function __wbg_init(module_or_path) {
+ if (wasm !== undefined) return wasm;
+
+
+ if (typeof module_or_path !== 'undefined') {
+ if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
+ ({module_or_path} = module_or_path)
+ } else {
+ console.warn('using deprecated parameters for the initialization function; pass a single object instead')
+ }
+ }
+
+ if (typeof module_or_path === 'undefined') {
+ module_or_path = new URL('vegravis_bg.wasm', import.meta.url);
+ }
+ const imports = __wbg_get_imports();
+
+ if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
+ 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);
+}
+
+export { initSync };
+export default __wbg_init;
diff --git a/vegravis-eff7d7793d4c01d8_bg.wasm b/vegravis-eff7d7793d4c01d8_bg.wasm
new file mode 100644
index 0000000..9c40e6f
Binary files /dev/null and b/vegravis-eff7d7793d4c01d8_bg.wasm differ