+5
src/routes/annoy/+server.ts
+5
src/routes/annoy/+server.ts
+29
src/routes/annoy/index.html
+29
src/routes/annoy/index.html
···
1
+
<!doctype html>
2
+
<html>
3
+
<head>
4
+
<meta charset="UTF-8" />
5
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+
<title>annoy</title>
7
+
<style type="text/css">
8
+
* {
9
+
margin: 0;
10
+
padding: 0;
11
+
overflow: hidden;
12
+
}
13
+
14
+
canvas {
15
+
width: 100vw !important;
16
+
height: 100vh !important;
17
+
}
18
+
</style>
19
+
</head>
20
+
21
+
<body>
22
+
<script type="module">
23
+
import init from './annoy/annoyance.js';
24
+
window.addEventListener('load', () => {
25
+
init();
26
+
});
27
+
</script>
28
+
</body>
29
+
</html>
+1236
static/annoy/annoyance.js
+1236
static/annoy/annoyance.js
···
1
+
let wasm;
2
+
3
+
function isLikeNone(x) {
4
+
return x === undefined || x === null;
5
+
}
6
+
7
+
function addToExternrefTable0(obj) {
8
+
const idx = wasm.__externref_table_alloc();
9
+
wasm.__wbindgen_export_1.set(idx, obj);
10
+
return idx;
11
+
}
12
+
13
+
const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
14
+
15
+
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
16
+
17
+
let cachedUint8ArrayMemory0 = null;
18
+
19
+
function getUint8ArrayMemory0() {
20
+
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
21
+
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
22
+
}
23
+
return cachedUint8ArrayMemory0;
24
+
}
25
+
26
+
function getStringFromWasm0(ptr, len) {
27
+
ptr = ptr >>> 0;
28
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
29
+
}
30
+
31
+
function handleError(f, args) {
32
+
try {
33
+
return f.apply(this, args);
34
+
} catch (e) {
35
+
const idx = addToExternrefTable0(e);
36
+
wasm.__wbindgen_exn_store(idx);
37
+
}
38
+
}
39
+
40
+
let WASM_VECTOR_LEN = 0;
41
+
42
+
const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
43
+
44
+
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
45
+
? function (arg, view) {
46
+
return cachedTextEncoder.encodeInto(arg, view);
47
+
}
48
+
: function (arg, view) {
49
+
const buf = cachedTextEncoder.encode(arg);
50
+
view.set(buf);
51
+
return {
52
+
read: arg.length,
53
+
written: buf.length
54
+
};
55
+
});
56
+
57
+
function passStringToWasm0(arg, malloc, realloc) {
58
+
59
+
if (realloc === undefined) {
60
+
const buf = cachedTextEncoder.encode(arg);
61
+
const ptr = malloc(buf.length, 1) >>> 0;
62
+
getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
63
+
WASM_VECTOR_LEN = buf.length;
64
+
return ptr;
65
+
}
66
+
67
+
let len = arg.length;
68
+
let ptr = malloc(len, 1) >>> 0;
69
+
70
+
const mem = getUint8ArrayMemory0();
71
+
72
+
let offset = 0;
73
+
74
+
for (; offset < len; offset++) {
75
+
const code = arg.charCodeAt(offset);
76
+
if (code > 0x7F) break;
77
+
mem[ptr + offset] = code;
78
+
}
79
+
80
+
if (offset !== len) {
81
+
if (offset !== 0) {
82
+
arg = arg.slice(offset);
83
+
}
84
+
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
85
+
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
86
+
const ret = encodeString(arg, view);
87
+
88
+
offset += ret.written;
89
+
ptr = realloc(ptr, len, offset, 1) >>> 0;
90
+
}
91
+
92
+
WASM_VECTOR_LEN = offset;
93
+
return ptr;
94
+
}
95
+
96
+
let cachedDataViewMemory0 = null;
97
+
98
+
function getDataViewMemory0() {
99
+
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
100
+
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
101
+
}
102
+
return cachedDataViewMemory0;
103
+
}
104
+
105
+
let cachedUint8ClampedArrayMemory0 = null;
106
+
107
+
function getUint8ClampedArrayMemory0() {
108
+
if (cachedUint8ClampedArrayMemory0 === null || cachedUint8ClampedArrayMemory0.byteLength === 0) {
109
+
cachedUint8ClampedArrayMemory0 = new Uint8ClampedArray(wasm.memory.buffer);
110
+
}
111
+
return cachedUint8ClampedArrayMemory0;
112
+
}
113
+
114
+
function getClampedArrayU8FromWasm0(ptr, len) {
115
+
ptr = ptr >>> 0;
116
+
return getUint8ClampedArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
117
+
}
118
+
119
+
function getArrayU8FromWasm0(ptr, len) {
120
+
ptr = ptr >>> 0;
121
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
122
+
}
123
+
124
+
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
125
+
? { register: () => {}, unregister: () => {} }
126
+
: new FinalizationRegistry(state => {
127
+
wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b)
128
+
});
129
+
130
+
function makeMutClosure(arg0, arg1, dtor, f) {
131
+
const state = { a: arg0, b: arg1, cnt: 1, dtor };
132
+
const real = (...args) => {
133
+
// First up with a closure we increment the internal reference
134
+
// count. This ensures that the Rust closure environment won't
135
+
// be deallocated while we're invoking it.
136
+
state.cnt++;
137
+
const a = state.a;
138
+
state.a = 0;
139
+
try {
140
+
return f(a, state.b, ...args);
141
+
} finally {
142
+
if (--state.cnt === 0) {
143
+
wasm.__wbindgen_export_6.get(state.dtor)(a, state.b);
144
+
CLOSURE_DTORS.unregister(state);
145
+
} else {
146
+
state.a = a;
147
+
}
148
+
}
149
+
};
150
+
real.original = state;
151
+
CLOSURE_DTORS.register(real, state, state);
152
+
return real;
153
+
}
154
+
155
+
function debugString(val) {
156
+
// primitive types
157
+
const type = typeof val;
158
+
if (type == 'number' || type == 'boolean' || val == null) {
159
+
return `${val}`;
160
+
}
161
+
if (type == 'string') {
162
+
return `"${val}"`;
163
+
}
164
+
if (type == 'symbol') {
165
+
const description = val.description;
166
+
if (description == null) {
167
+
return 'Symbol';
168
+
} else {
169
+
return `Symbol(${description})`;
170
+
}
171
+
}
172
+
if (type == 'function') {
173
+
const name = val.name;
174
+
if (typeof name == 'string' && name.length > 0) {
175
+
return `Function(${name})`;
176
+
} else {
177
+
return 'Function';
178
+
}
179
+
}
180
+
// objects
181
+
if (Array.isArray(val)) {
182
+
const length = val.length;
183
+
let debug = '[';
184
+
if (length > 0) {
185
+
debug += debugString(val[0]);
186
+
}
187
+
for(let i = 1; i < length; i++) {
188
+
debug += ', ' + debugString(val[i]);
189
+
}
190
+
debug += ']';
191
+
return debug;
192
+
}
193
+
// Test for built-in
194
+
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
195
+
let className;
196
+
if (builtInMatches && builtInMatches.length > 1) {
197
+
className = builtInMatches[1];
198
+
} else {
199
+
// Failed to match the standard '[object ClassName]'
200
+
return toString.call(val);
201
+
}
202
+
if (className == 'Object') {
203
+
// we're a user defined class or Object
204
+
// JSON.stringify avoids problems with cycles, and is generally much
205
+
// easier than looping through ownProperties of `val`.
206
+
try {
207
+
return 'Object(' + JSON.stringify(val) + ')';
208
+
} catch (_) {
209
+
return 'Object';
210
+
}
211
+
}
212
+
// errors
213
+
if (val instanceof Error) {
214
+
return `${val.name}: ${val.message}\n${val.stack}`;
215
+
}
216
+
// TODO we could test for more things here, like `Set`s and `Map`s.
217
+
return className;
218
+
}
219
+
function __wbg_adapter_30(arg0, arg1, arg2) {
220
+
wasm.closure66_externref_shim(arg0, arg1, arg2);
221
+
}
222
+
223
+
function __wbg_adapter_37(arg0, arg1) {
224
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h87005d7d7ed63530(arg0, arg1);
225
+
}
226
+
227
+
function __wbg_adapter_40(arg0, arg1, arg2) {
228
+
wasm.closure470_externref_shim(arg0, arg1, arg2);
229
+
}
230
+
231
+
function __wbg_adapter_53(arg0, arg1, arg2, arg3) {
232
+
wasm.closure467_externref_shim(arg0, arg1, arg2, arg3);
233
+
}
234
+
235
+
function __wbg_adapter_58(arg0, arg1, arg2) {
236
+
wasm.closure638_externref_shim(arg0, arg1, arg2);
237
+
}
238
+
239
+
const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
240
+
241
+
const __wbindgen_enum_ResizeObserverBoxOptions = ["border-box", "content-box", "device-pixel-content-box"];
242
+
243
+
const __wbindgen_enum_VisibilityState = ["hidden", "visible"];
244
+
245
+
async function __wbg_load(module, imports) {
246
+
if (typeof Response === 'function' && module instanceof Response) {
247
+
if (typeof WebAssembly.instantiateStreaming === 'function') {
248
+
try {
249
+
return await WebAssembly.instantiateStreaming(module, imports);
250
+
251
+
} catch (e) {
252
+
if (module.headers.get('Content-Type') != 'application/wasm') {
253
+
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);
254
+
255
+
} else {
256
+
throw e;
257
+
}
258
+
}
259
+
}
260
+
261
+
const bytes = await module.arrayBuffer();
262
+
return await WebAssembly.instantiate(bytes, imports);
263
+
264
+
} else {
265
+
const instance = await WebAssembly.instantiate(module, imports);
266
+
267
+
if (instance instanceof WebAssembly.Instance) {
268
+
return { instance, module };
269
+
270
+
} else {
271
+
return instance;
272
+
}
273
+
}
274
+
}
275
+
276
+
function __wbg_get_imports() {
277
+
const imports = {};
278
+
imports.wbg = {};
279
+
imports.wbg.__wbg_Window_d1bf622f71ff0629 = function(arg0) {
280
+
const ret = arg0.Window;
281
+
return ret;
282
+
};
283
+
imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
284
+
arg0.abort();
285
+
};
286
+
imports.wbg.__wbg_activeElement_367599fdfa7ad115 = function(arg0) {
287
+
const ret = arg0.activeElement;
288
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
289
+
};
290
+
imports.wbg.__wbg_addEventListener_90e553fdce254421 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
291
+
arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3);
292
+
}, arguments) };
293
+
imports.wbg.__wbg_addListener_2982bb811b6385c5 = function() { return handleError(function (arg0, arg1) {
294
+
arg0.addListener(arg1);
295
+
}, arguments) };
296
+
imports.wbg.__wbg_altKey_c33c03aed82e4275 = function(arg0) {
297
+
const ret = arg0.altKey;
298
+
return ret;
299
+
};
300
+
imports.wbg.__wbg_altKey_d7495666df921121 = function(arg0) {
301
+
const ret = arg0.altKey;
302
+
return ret;
303
+
};
304
+
imports.wbg.__wbg_animate_6ec571f163cf6f8d = function(arg0, arg1, arg2) {
305
+
const ret = arg0.animate(arg1, arg2);
306
+
return ret;
307
+
};
308
+
imports.wbg.__wbg_appendChild_8204974b7328bf98 = function() { return handleError(function (arg0, arg1) {
309
+
const ret = arg0.appendChild(arg1);
310
+
return ret;
311
+
}, arguments) };
312
+
imports.wbg.__wbg_blockSize_1490803190b57a34 = function(arg0) {
313
+
const ret = arg0.blockSize;
314
+
return ret;
315
+
};
316
+
imports.wbg.__wbg_body_942ea927546a04ba = function(arg0) {
317
+
const ret = arg0.body;
318
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
319
+
};
320
+
imports.wbg.__wbg_brand_9562792cbb4735c3 = function(arg0, arg1) {
321
+
const ret = arg1.brand;
322
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
323
+
const len1 = WASM_VECTOR_LEN;
324
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
325
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
326
+
};
327
+
imports.wbg.__wbg_brands_a1e7a2bce052128f = function(arg0) {
328
+
const ret = arg0.brands;
329
+
return ret;
330
+
};
331
+
imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
332
+
const ret = arg0.buffer;
333
+
return ret;
334
+
};
335
+
imports.wbg.__wbg_button_f75c56aec440ea04 = function(arg0) {
336
+
const ret = arg0.button;
337
+
return ret;
338
+
};
339
+
imports.wbg.__wbg_buttons_b6346af6f04e4686 = function(arg0) {
340
+
const ret = arg0.buttons;
341
+
return ret;
342
+
};
343
+
imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
344
+
const ret = arg0.call(arg1);
345
+
return ret;
346
+
}, arguments) };
347
+
imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
348
+
const ret = arg0.call(arg1, arg2);
349
+
return ret;
350
+
}, arguments) };
351
+
imports.wbg.__wbg_cancelAnimationFrame_089b48301c362fde = function() { return handleError(function (arg0, arg1) {
352
+
arg0.cancelAnimationFrame(arg1);
353
+
}, arguments) };
354
+
imports.wbg.__wbg_cancelIdleCallback_669eb1ed294c8b8b = function(arg0, arg1) {
355
+
arg0.cancelIdleCallback(arg1 >>> 0);
356
+
};
357
+
imports.wbg.__wbg_cancel_09c394f0894744eb = function(arg0) {
358
+
arg0.cancel();
359
+
};
360
+
imports.wbg.__wbg_catch_a6e601879b2610e9 = function(arg0, arg1) {
361
+
const ret = arg0.catch(arg1);
362
+
return ret;
363
+
};
364
+
imports.wbg.__wbg_clearTimeout_b2651b7485c58446 = function(arg0, arg1) {
365
+
arg0.clearTimeout(arg1);
366
+
};
367
+
imports.wbg.__wbg_clientHeight_216178c194000db4 = function(arg0) {
368
+
const ret = arg0.clientHeight;
369
+
return ret;
370
+
};
371
+
imports.wbg.__wbg_clientWidth_ce67a04dc15fce39 = function(arg0) {
372
+
const ret = arg0.clientWidth;
373
+
return ret;
374
+
};
375
+
imports.wbg.__wbg_close_2893b7d056a0627d = function() { return handleError(function (arg0) {
376
+
arg0.close();
377
+
}, arguments) };
378
+
imports.wbg.__wbg_close_414b379454494b29 = function(arg0) {
379
+
arg0.close();
380
+
};
381
+
imports.wbg.__wbg_close_e1253d480ed93ce3 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
382
+
arg0.close(arg1, getStringFromWasm0(arg2, arg3));
383
+
}, arguments) };
384
+
imports.wbg.__wbg_code_459c120478e1ab6e = function(arg0, arg1) {
385
+
const ret = arg1.code;
386
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
387
+
const len1 = WASM_VECTOR_LEN;
388
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
389
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
390
+
};
391
+
imports.wbg.__wbg_code_f4ec1e6e2e1b0417 = function(arg0) {
392
+
const ret = arg0.code;
393
+
return ret;
394
+
};
395
+
imports.wbg.__wbg_contains_3361c7eda6c95afd = function(arg0, arg1) {
396
+
const ret = arg0.contains(arg1);
397
+
return ret;
398
+
};
399
+
imports.wbg.__wbg_contentRect_81407eb60e52248f = function(arg0) {
400
+
const ret = arg0.contentRect;
401
+
return ret;
402
+
};
403
+
imports.wbg.__wbg_createElement_8c9931a732ee2fea = function() { return handleError(function (arg0, arg1, arg2) {
404
+
const ret = arg0.createElement(getStringFromWasm0(arg1, arg2));
405
+
return ret;
406
+
}, arguments) };
407
+
imports.wbg.__wbg_createObjectURL_6e98d2f9c7bd9764 = function() { return handleError(function (arg0, arg1) {
408
+
const ret = URL.createObjectURL(arg1);
409
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
410
+
const len1 = WASM_VECTOR_LEN;
411
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
412
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
413
+
}, arguments) };
414
+
imports.wbg.__wbg_crypto_574e78ad8b13b65f = function(arg0) {
415
+
const ret = arg0.crypto;
416
+
return ret;
417
+
};
418
+
imports.wbg.__wbg_ctrlKey_1e826e468105ac11 = function(arg0) {
419
+
const ret = arg0.ctrlKey;
420
+
return ret;
421
+
};
422
+
imports.wbg.__wbg_ctrlKey_cdbe8154dfb00d1f = function(arg0) {
423
+
const ret = arg0.ctrlKey;
424
+
return ret;
425
+
};
426
+
imports.wbg.__wbg_data_432d9c3df2630942 = function(arg0) {
427
+
const ret = arg0.data;
428
+
return ret;
429
+
};
430
+
imports.wbg.__wbg_deltaMode_9bfd9fe3f6b4b240 = function(arg0) {
431
+
const ret = arg0.deltaMode;
432
+
return ret;
433
+
};
434
+
imports.wbg.__wbg_deltaX_5c1121715746e4b7 = function(arg0) {
435
+
const ret = arg0.deltaX;
436
+
return ret;
437
+
};
438
+
imports.wbg.__wbg_deltaY_f9318542caea0c36 = function(arg0) {
439
+
const ret = arg0.deltaY;
440
+
return ret;
441
+
};
442
+
imports.wbg.__wbg_devicePixelContentBoxSize_a6de82cb30d70825 = function(arg0) {
443
+
const ret = arg0.devicePixelContentBoxSize;
444
+
return ret;
445
+
};
446
+
imports.wbg.__wbg_devicePixelRatio_68c391265f05d093 = function(arg0) {
447
+
const ret = arg0.devicePixelRatio;
448
+
return ret;
449
+
};
450
+
imports.wbg.__wbg_disconnect_2118016d75479985 = function(arg0) {
451
+
arg0.disconnect();
452
+
};
453
+
imports.wbg.__wbg_disconnect_ac3f4ba550970c76 = function(arg0) {
454
+
arg0.disconnect();
455
+
};
456
+
imports.wbg.__wbg_document_d249400bd7bd996d = function(arg0) {
457
+
const ret = arg0.document;
458
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
459
+
};
460
+
imports.wbg.__wbg_error_1004b8c64097413f = function(arg0, arg1) {
461
+
console.error(arg0, arg1);
462
+
};
463
+
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
464
+
let deferred0_0;
465
+
let deferred0_1;
466
+
try {
467
+
deferred0_0 = arg0;
468
+
deferred0_1 = arg1;
469
+
console.error(getStringFromWasm0(arg0, arg1));
470
+
} finally {
471
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
472
+
}
473
+
};
474
+
imports.wbg.__wbg_focus_7d08b55eba7b368d = function() { return handleError(function (arg0) {
475
+
arg0.focus();
476
+
}, arguments) };
477
+
imports.wbg.__wbg_fullscreenElement_a2f691b04c3b3de5 = function(arg0) {
478
+
const ret = arg0.fullscreenElement;
479
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
480
+
};
481
+
imports.wbg.__wbg_getCoalescedEvents_21492912fd0145ec = function(arg0) {
482
+
const ret = arg0.getCoalescedEvents;
483
+
return ret;
484
+
};
485
+
imports.wbg.__wbg_getCoalescedEvents_a7d49de30111f6b8 = function(arg0) {
486
+
const ret = arg0.getCoalescedEvents();
487
+
return ret;
488
+
};
489
+
imports.wbg.__wbg_getComputedStyle_046dd6472f8e7f1d = function() { return handleError(function (arg0, arg1) {
490
+
const ret = arg0.getComputedStyle(arg1);
491
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
492
+
}, arguments) };
493
+
imports.wbg.__wbg_getContext_e9cf379449413580 = function() { return handleError(function (arg0, arg1, arg2) {
494
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
495
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
496
+
}, arguments) };
497
+
imports.wbg.__wbg_getContext_f65a0debd1e8f8e8 = function() { return handleError(function (arg0, arg1, arg2) {
498
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
499
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
500
+
}, arguments) };
501
+
imports.wbg.__wbg_getOwnPropertyDescriptor_9dd936a3c0cbd368 = function(arg0, arg1) {
502
+
const ret = Object.getOwnPropertyDescriptor(arg0, arg1);
503
+
return ret;
504
+
};
505
+
imports.wbg.__wbg_getPropertyValue_e623c23a05dfb30c = function() { return handleError(function (arg0, arg1, arg2, arg3) {
506
+
const ret = arg1.getPropertyValue(getStringFromWasm0(arg2, arg3));
507
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
508
+
const len1 = WASM_VECTOR_LEN;
509
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
510
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
511
+
}, arguments) };
512
+
imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
513
+
arg0.getRandomValues(arg1);
514
+
}, arguments) };
515
+
imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
516
+
const ret = Reflect.get(arg0, arg1);
517
+
return ret;
518
+
}, arguments) };
519
+
imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
520
+
const ret = arg0[arg1 >>> 0];
521
+
return ret;
522
+
};
523
+
imports.wbg.__wbg_height_1f8226c8f6875110 = function(arg0) {
524
+
const ret = arg0.height;
525
+
return ret;
526
+
};
527
+
imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) {
528
+
const ret = arg0.inlineSize;
529
+
return ret;
530
+
};
531
+
imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
532
+
let result;
533
+
try {
534
+
result = arg0 instanceof ArrayBuffer;
535
+
} catch (_) {
536
+
result = false;
537
+
}
538
+
const ret = result;
539
+
return ret;
540
+
};
541
+
imports.wbg.__wbg_instanceof_Blob_ca721ef3bdab15d1 = function(arg0) {
542
+
let result;
543
+
try {
544
+
result = arg0 instanceof Blob;
545
+
} catch (_) {
546
+
result = false;
547
+
}
548
+
const ret = result;
549
+
return ret;
550
+
};
551
+
imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_df82a4d3437bf1cc = function(arg0) {
552
+
let result;
553
+
try {
554
+
result = arg0 instanceof CanvasRenderingContext2D;
555
+
} catch (_) {
556
+
result = false;
557
+
}
558
+
const ret = result;
559
+
return ret;
560
+
};
561
+
imports.wbg.__wbg_instanceof_OffscreenCanvasRenderingContext2d_a070fdde7ba760a3 = function(arg0) {
562
+
let result;
563
+
try {
564
+
result = arg0 instanceof OffscreenCanvasRenderingContext2D;
565
+
} catch (_) {
566
+
result = false;
567
+
}
568
+
const ret = result;
569
+
return ret;
570
+
};
571
+
imports.wbg.__wbg_instanceof_Performance_0ac1286c87171f57 = function(arg0) {
572
+
let result;
573
+
try {
574
+
result = arg0 instanceof Performance;
575
+
} catch (_) {
576
+
result = false;
577
+
}
578
+
const ret = result;
579
+
return ret;
580
+
};
581
+
imports.wbg.__wbg_instanceof_Window_def73ea0955fc569 = function(arg0) {
582
+
let result;
583
+
try {
584
+
result = arg0 instanceof Window;
585
+
} catch (_) {
586
+
result = false;
587
+
}
588
+
const ret = result;
589
+
return ret;
590
+
};
591
+
imports.wbg.__wbg_isIntersecting_e68706dac9c5f2e9 = function(arg0) {
592
+
const ret = arg0.isIntersecting;
593
+
return ret;
594
+
};
595
+
imports.wbg.__wbg_is_c7481c65e7e5df9e = function(arg0, arg1) {
596
+
const ret = Object.is(arg0, arg1);
597
+
return ret;
598
+
};
599
+
imports.wbg.__wbg_key_7b5c6cb539be8e13 = function(arg0, arg1) {
600
+
const ret = arg1.key;
601
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
602
+
const len1 = WASM_VECTOR_LEN;
603
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
604
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
605
+
};
606
+
imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
607
+
const ret = arg0.length;
608
+
return ret;
609
+
};
610
+
imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
611
+
const ret = arg0.length;
612
+
return ret;
613
+
};
614
+
imports.wbg.__wbg_location_9b435486be8f98c2 = function(arg0) {
615
+
const ret = arg0.location;
616
+
return ret;
617
+
};
618
+
imports.wbg.__wbg_matchMedia_bf8807a841d930c1 = function() { return handleError(function (arg0, arg1, arg2) {
619
+
const ret = arg0.matchMedia(getStringFromWasm0(arg1, arg2));
620
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
621
+
}, arguments) };
622
+
imports.wbg.__wbg_matches_e9ca73fbf8a3a104 = function(arg0) {
623
+
const ret = arg0.matches;
624
+
return ret;
625
+
};
626
+
imports.wbg.__wbg_media_552eec81313ef78b = function(arg0, arg1) {
627
+
const ret = arg1.media;
628
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
629
+
const len1 = WASM_VECTOR_LEN;
630
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
631
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
632
+
};
633
+
imports.wbg.__wbg_metaKey_0b25f7848e014cc8 = function(arg0) {
634
+
const ret = arg0.metaKey;
635
+
return ret;
636
+
};
637
+
imports.wbg.__wbg_metaKey_e1dd47d709a80ce5 = function(arg0) {
638
+
const ret = arg0.metaKey;
639
+
return ret;
640
+
};
641
+
imports.wbg.__wbg_movementX_1aa05f864931369b = function(arg0) {
642
+
const ret = arg0.movementX;
643
+
return ret;
644
+
};
645
+
imports.wbg.__wbg_movementY_8acfedb38a70e624 = function(arg0) {
646
+
const ret = arg0.movementY;
647
+
return ret;
648
+
};
649
+
imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
650
+
const ret = arg0.msCrypto;
651
+
return ret;
652
+
};
653
+
imports.wbg.__wbg_navigator_1577371c070c8947 = function(arg0) {
654
+
const ret = arg0.navigator;
655
+
return ret;
656
+
};
657
+
imports.wbg.__wbg_new_18b1151f3a6a9280 = function() { return handleError(function (arg0) {
658
+
const ret = new IntersectionObserver(arg0);
659
+
return ret;
660
+
}, arguments) };
661
+
imports.wbg.__wbg_new_24b2c5b645cded8d = function() { return handleError(function () {
662
+
const ret = new MessageChannel();
663
+
return ret;
664
+
}, arguments) };
665
+
imports.wbg.__wbg_new_405e22f390576ce2 = function() {
666
+
const ret = new Object();
667
+
return ret;
668
+
};
669
+
imports.wbg.__wbg_new_5f34cc0c99fcc488 = function() { return handleError(function (arg0) {
670
+
const ret = new ResizeObserver(arg0);
671
+
return ret;
672
+
}, arguments) };
673
+
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
674
+
const ret = new Error();
675
+
return ret;
676
+
};
677
+
imports.wbg.__wbg_new_92c54fc74574ef55 = function() { return handleError(function (arg0, arg1) {
678
+
const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
679
+
return ret;
680
+
}, arguments) };
681
+
imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
682
+
const ret = new Uint8Array(arg0);
683
+
return ret;
684
+
};
685
+
imports.wbg.__wbg_new_b1a33e5095abf678 = function() { return handleError(function (arg0, arg1) {
686
+
const ret = new Worker(getStringFromWasm0(arg0, arg1));
687
+
return ret;
688
+
}, arguments) };
689
+
imports.wbg.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
690
+
const ret = new AbortController();
691
+
return ret;
692
+
}, arguments) };
693
+
imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
694
+
const ret = new Function(getStringFromWasm0(arg0, arg1));
695
+
return ret;
696
+
};
697
+
imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
698
+
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
699
+
return ret;
700
+
};
701
+
imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
702
+
const ret = new Uint8Array(arg0 >>> 0);
703
+
return ret;
704
+
};
705
+
imports.wbg.__wbg_newwithstrsequenceandoptions_aaff55b467c81b63 = function() { return handleError(function (arg0, arg1) {
706
+
const ret = new Blob(arg0, arg1);
707
+
return ret;
708
+
}, arguments) };
709
+
imports.wbg.__wbg_newwithu8clampedarray_0fcf78a036c89a97 = function() { return handleError(function (arg0, arg1, arg2) {
710
+
const ret = new ImageData(getClampedArrayU8FromWasm0(arg0, arg1), arg2 >>> 0);
711
+
return ret;
712
+
}, arguments) };
713
+
imports.wbg.__wbg_node_905d3e251edff8a2 = function(arg0) {
714
+
const ret = arg0.node;
715
+
return ret;
716
+
};
717
+
imports.wbg.__wbg_now_2c95c9de01293173 = function(arg0) {
718
+
const ret = arg0.now();
719
+
return ret;
720
+
};
721
+
imports.wbg.__wbg_now_d18023d54d4e5500 = function(arg0) {
722
+
const ret = arg0.now();
723
+
return ret;
724
+
};
725
+
imports.wbg.__wbg_observe_d2e7378f15f7ca72 = function(arg0, arg1) {
726
+
arg0.observe(arg1);
727
+
};
728
+
imports.wbg.__wbg_observe_eafddfc5a0c60e02 = function(arg0, arg1) {
729
+
arg0.observe(arg1);
730
+
};
731
+
imports.wbg.__wbg_observe_ed4adb1c245103c5 = function(arg0, arg1, arg2) {
732
+
arg0.observe(arg1, arg2);
733
+
};
734
+
imports.wbg.__wbg_of_2eaf5a02d443ef03 = function(arg0) {
735
+
const ret = Array.of(arg0);
736
+
return ret;
737
+
};
738
+
imports.wbg.__wbg_of_66b3ee656cbd962b = function(arg0, arg1) {
739
+
const ret = Array.of(arg0, arg1);
740
+
return ret;
741
+
};
742
+
imports.wbg.__wbg_offsetX_cb6a38e6f23cb4a6 = function(arg0) {
743
+
const ret = arg0.offsetX;
744
+
return ret;
745
+
};
746
+
imports.wbg.__wbg_offsetY_43e21941c5c1f8bf = function(arg0) {
747
+
const ret = arg0.offsetY;
748
+
return ret;
749
+
};
750
+
imports.wbg.__wbg_performance_7a3ffd0b17f663ad = function(arg0) {
751
+
const ret = arg0.performance;
752
+
return ret;
753
+
};
754
+
imports.wbg.__wbg_persisted_d32ce73b8e522062 = function(arg0) {
755
+
const ret = arg0.persisted;
756
+
return ret;
757
+
};
758
+
imports.wbg.__wbg_play_63bc12f42e16af91 = function(arg0) {
759
+
arg0.play();
760
+
};
761
+
imports.wbg.__wbg_pointerId_585e63ee80a49927 = function(arg0) {
762
+
const ret = arg0.pointerId;
763
+
return ret;
764
+
};
765
+
imports.wbg.__wbg_pointerType_6bd934aa20d9db49 = function(arg0, arg1) {
766
+
const ret = arg1.pointerType;
767
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
768
+
const len1 = WASM_VECTOR_LEN;
769
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
770
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
771
+
};
772
+
imports.wbg.__wbg_port1_70af0ea6e4a96f9d = function(arg0) {
773
+
const ret = arg0.port1;
774
+
return ret;
775
+
};
776
+
imports.wbg.__wbg_port2_0584c7f0938b6fe6 = function(arg0) {
777
+
const ret = arg0.port2;
778
+
return ret;
779
+
};
780
+
imports.wbg.__wbg_postMessage_e55d059efb191dc5 = function() { return handleError(function (arg0, arg1) {
781
+
arg0.postMessage(arg1);
782
+
}, arguments) };
783
+
imports.wbg.__wbg_postMessage_f961e53b9731ca83 = function() { return handleError(function (arg0, arg1, arg2) {
784
+
arg0.postMessage(arg1, arg2);
785
+
}, arguments) };
786
+
imports.wbg.__wbg_postTask_41d93e93941e4a3d = function(arg0, arg1, arg2) {
787
+
const ret = arg0.postTask(arg1, arg2);
788
+
return ret;
789
+
};
790
+
imports.wbg.__wbg_pressure_adda5a83a9cec94d = function(arg0) {
791
+
const ret = arg0.pressure;
792
+
return ret;
793
+
};
794
+
imports.wbg.__wbg_preventDefault_c2314fd813c02b3c = function(arg0) {
795
+
arg0.preventDefault();
796
+
};
797
+
imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
798
+
const ret = arg0.process;
799
+
return ret;
800
+
};
801
+
imports.wbg.__wbg_prototype_c28bca39c45aba9b = function() {
802
+
const ret = ResizeObserverEntry.prototype;
803
+
return ret;
804
+
};
805
+
imports.wbg.__wbg_putImageData_2acd1dcd88a80f79 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
806
+
arg0.putImageData(arg1, arg2, arg3, arg4, arg5, arg6, arg7);
807
+
}, arguments) };
808
+
imports.wbg.__wbg_putImageData_416b1a6d50843b66 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
809
+
arg0.putImageData(arg1, arg2, arg3, arg4, arg5, arg6, arg7);
810
+
}, arguments) };
811
+
imports.wbg.__wbg_querySelector_c69f8b573958906b = function() { return handleError(function (arg0, arg1, arg2) {
812
+
const ret = arg0.querySelector(getStringFromWasm0(arg1, arg2));
813
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
814
+
}, arguments) };
815
+
imports.wbg.__wbg_queueMicrotask_65a6c48ee9790d40 = function(arg0, arg1) {
816
+
arg0.queueMicrotask(arg1);
817
+
};
818
+
imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
819
+
queueMicrotask(arg0);
820
+
};
821
+
imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
822
+
const ret = arg0.queueMicrotask;
823
+
return ret;
824
+
};
825
+
imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
826
+
arg0.randomFillSync(arg1);
827
+
}, arguments) };
828
+
imports.wbg.__wbg_readyState_7ef6e63c349899ed = function(arg0) {
829
+
const ret = arg0.readyState;
830
+
return ret;
831
+
};
832
+
imports.wbg.__wbg_reason_49f1cede8bcf23dd = function(arg0, arg1) {
833
+
const ret = arg1.reason;
834
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
835
+
const len1 = WASM_VECTOR_LEN;
836
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
837
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
838
+
};
839
+
imports.wbg.__wbg_removeEventListener_056dfe8c3d6c58f9 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
840
+
arg0.removeEventListener(getStringFromWasm0(arg1, arg2), arg3);
841
+
}, arguments) };
842
+
imports.wbg.__wbg_removeListener_e55db581b73ccf65 = function() { return handleError(function (arg0, arg1) {
843
+
arg0.removeListener(arg1);
844
+
}, arguments) };
845
+
imports.wbg.__wbg_removeProperty_0e85471f4dfc00ae = function() { return handleError(function (arg0, arg1, arg2, arg3) {
846
+
const ret = arg1.removeProperty(getStringFromWasm0(arg2, arg3));
847
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
848
+
const len1 = WASM_VECTOR_LEN;
849
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
850
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
851
+
}, arguments) };
852
+
imports.wbg.__wbg_repeat_1882aa0d0072c705 = function(arg0) {
853
+
const ret = arg0.repeat;
854
+
return ret;
855
+
};
856
+
imports.wbg.__wbg_requestAnimationFrame_d7fd890aaefc3246 = function() { return handleError(function (arg0, arg1) {
857
+
const ret = arg0.requestAnimationFrame(arg1);
858
+
return ret;
859
+
}, arguments) };
860
+
imports.wbg.__wbg_requestFullscreen_86fc6cdb76000482 = function(arg0) {
861
+
const ret = arg0.requestFullscreen;
862
+
return ret;
863
+
};
864
+
imports.wbg.__wbg_requestFullscreen_9f0611438eb929cf = function(arg0) {
865
+
const ret = arg0.requestFullscreen();
866
+
return ret;
867
+
};
868
+
imports.wbg.__wbg_requestIdleCallback_1b8d644ff564208f = function(arg0) {
869
+
const ret = arg0.requestIdleCallback;
870
+
return ret;
871
+
};
872
+
imports.wbg.__wbg_requestIdleCallback_e3eefd34962470e1 = function() { return handleError(function (arg0, arg1) {
873
+
const ret = arg0.requestIdleCallback(arg1);
874
+
return ret;
875
+
}, arguments) };
876
+
imports.wbg.__wbg_require_60cc747a6bc5215a = function() { return handleError(function () {
877
+
const ret = module.require;
878
+
return ret;
879
+
}, arguments) };
880
+
imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
881
+
const ret = Promise.resolve(arg0);
882
+
return ret;
883
+
};
884
+
imports.wbg.__wbg_revokeObjectURL_27267efebeb457c7 = function() { return handleError(function (arg0, arg1) {
885
+
URL.revokeObjectURL(getStringFromWasm0(arg0, arg1));
886
+
}, arguments) };
887
+
imports.wbg.__wbg_scheduler_48482a9974eeacbd = function(arg0) {
888
+
const ret = arg0.scheduler;
889
+
return ret;
890
+
};
891
+
imports.wbg.__wbg_scheduler_5156bb61cc1cf589 = function(arg0) {
892
+
const ret = arg0.scheduler;
893
+
return ret;
894
+
};
895
+
imports.wbg.__wbg_send_0293179ba074ffb4 = function() { return handleError(function (arg0, arg1, arg2) {
896
+
arg0.send(getStringFromWasm0(arg1, arg2));
897
+
}, arguments) };
898
+
imports.wbg.__wbg_send_fc0c204e8a1757f4 = function() { return handleError(function (arg0, arg1, arg2) {
899
+
arg0.send(getArrayU8FromWasm0(arg1, arg2));
900
+
}, arguments) };
901
+
imports.wbg.__wbg_setAttribute_2704501201f15687 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
902
+
arg0.setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
903
+
}, arguments) };
904
+
imports.wbg.__wbg_setPointerCapture_c04dafaf4d00ffad = function() { return handleError(function (arg0, arg1) {
905
+
arg0.setPointerCapture(arg1);
906
+
}, arguments) };
907
+
imports.wbg.__wbg_setProperty_f2cf326652b9a713 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
908
+
arg0.setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
909
+
}, arguments) };
910
+
imports.wbg.__wbg_setTimeout_461fec76662b35ea = function() { return handleError(function (arg0, arg1) {
911
+
const ret = arg0.setTimeout(arg1);
912
+
return ret;
913
+
}, arguments) };
914
+
imports.wbg.__wbg_setTimeout_f2fe5af8e3debeb3 = function() { return handleError(function (arg0, arg1, arg2) {
915
+
const ret = arg0.setTimeout(arg1, arg2);
916
+
return ret;
917
+
}, arguments) };
918
+
imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
919
+
arg0.set(arg1, arg2 >>> 0);
920
+
};
921
+
imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() { return handleError(function (arg0, arg1, arg2) {
922
+
const ret = Reflect.set(arg0, arg1, arg2);
923
+
return ret;
924
+
}, arguments) };
925
+
imports.wbg.__wbg_setbinaryType_92fa1ffd873b327c = function(arg0, arg1) {
926
+
arg0.binaryType = __wbindgen_enum_BinaryType[arg1];
927
+
};
928
+
imports.wbg.__wbg_setbox_2786f3ccea97cac4 = function(arg0, arg1) {
929
+
arg0.box = __wbindgen_enum_ResizeObserverBoxOptions[arg1];
930
+
};
931
+
imports.wbg.__wbg_setheight_433680330c9420c3 = function(arg0, arg1) {
932
+
arg0.height = arg1 >>> 0;
933
+
};
934
+
imports.wbg.__wbg_setheight_da683a33fa99843c = function(arg0, arg1) {
935
+
arg0.height = arg1 >>> 0;
936
+
};
937
+
imports.wbg.__wbg_setonclose_14fc475a49d488fc = function(arg0, arg1) {
938
+
arg0.onclose = arg1;
939
+
};
940
+
imports.wbg.__wbg_setonerror_8639efe354b947cd = function(arg0, arg1) {
941
+
arg0.onerror = arg1;
942
+
};
943
+
imports.wbg.__wbg_setonmessage_23d122da701b8ddb = function(arg0, arg1) {
944
+
arg0.onmessage = arg1;
945
+
};
946
+
imports.wbg.__wbg_setonmessage_6eccab530a8fb4c7 = function(arg0, arg1) {
947
+
arg0.onmessage = arg1;
948
+
};
949
+
imports.wbg.__wbg_setonopen_2da654e1f39745d5 = function(arg0, arg1) {
950
+
arg0.onopen = arg1;
951
+
};
952
+
imports.wbg.__wbg_settype_39ed370d3edd403c = function(arg0, arg1, arg2) {
953
+
arg0.type = getStringFromWasm0(arg1, arg2);
954
+
};
955
+
imports.wbg.__wbg_setwidth_660ca581e3fbe279 = function(arg0, arg1) {
956
+
arg0.width = arg1 >>> 0;
957
+
};
958
+
imports.wbg.__wbg_setwidth_c5fed9f5e7f0b406 = function(arg0, arg1) {
959
+
arg0.width = arg1 >>> 0;
960
+
};
961
+
imports.wbg.__wbg_shiftKey_2bebb3b703254f47 = function(arg0) {
962
+
const ret = arg0.shiftKey;
963
+
return ret;
964
+
};
965
+
imports.wbg.__wbg_shiftKey_86e737105bab1a54 = function(arg0) {
966
+
const ret = arg0.shiftKey;
967
+
return ret;
968
+
};
969
+
imports.wbg.__wbg_signal_aaf9ad74119f20a4 = function(arg0) {
970
+
const ret = arg0.signal;
971
+
return ret;
972
+
};
973
+
imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
974
+
const ret = arg1.stack;
975
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
976
+
const len1 = WASM_VECTOR_LEN;
977
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
978
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
979
+
};
980
+
imports.wbg.__wbg_start_2c099369ce831bf1 = function(arg0) {
981
+
arg0.start();
982
+
};
983
+
imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
984
+
const ret = typeof global === 'undefined' ? null : global;
985
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
986
+
};
987
+
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
988
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
989
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
990
+
};
991
+
imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
992
+
const ret = typeof self === 'undefined' ? null : self;
993
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
994
+
};
995
+
imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
996
+
const ret = typeof window === 'undefined' ? null : window;
997
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
998
+
};
999
+
imports.wbg.__wbg_style_fb30c14e5815805c = function(arg0) {
1000
+
const ret = arg0.style;
1001
+
return ret;
1002
+
};
1003
+
imports.wbg.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
1004
+
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
1005
+
return ret;
1006
+
};
1007
+
imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
1008
+
const ret = arg0.then(arg1);
1009
+
return ret;
1010
+
};
1011
+
imports.wbg.__wbg_unobserve_02f53d1ca2d1d801 = function(arg0, arg1) {
1012
+
arg0.unobserve(arg1);
1013
+
};
1014
+
imports.wbg.__wbg_userAgentData_f7b0e61c05c54315 = function(arg0) {
1015
+
const ret = arg0.userAgentData;
1016
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1017
+
};
1018
+
imports.wbg.__wbg_userAgent_12e9d8e62297563f = function() { return handleError(function (arg0, arg1) {
1019
+
const ret = arg1.userAgent;
1020
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1021
+
const len1 = WASM_VECTOR_LEN;
1022
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1023
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1024
+
}, arguments) };
1025
+
imports.wbg.__wbg_versions_c01dfd4722a88165 = function(arg0) {
1026
+
const ret = arg0.versions;
1027
+
return ret;
1028
+
};
1029
+
imports.wbg.__wbg_visibilityState_f3cc18a6f3831137 = function(arg0) {
1030
+
const ret = arg0.visibilityState;
1031
+
return (__wbindgen_enum_VisibilityState.indexOf(ret) + 1 || 3) - 1;
1032
+
};
1033
+
imports.wbg.__wbg_webkitFullscreenElement_a9ca38b7214d1567 = function(arg0) {
1034
+
const ret = arg0.webkitFullscreenElement;
1035
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1036
+
};
1037
+
imports.wbg.__wbg_webkitRequestFullscreen_23664c63833ff0e5 = function(arg0) {
1038
+
arg0.webkitRequestFullscreen();
1039
+
};
1040
+
imports.wbg.__wbg_width_cdaf02311c1621d1 = function(arg0) {
1041
+
const ret = arg0.width;
1042
+
return ret;
1043
+
};
1044
+
imports.wbg.__wbindgen_cb_drop = function(arg0) {
1045
+
const obj = arg0.original;
1046
+
if (obj.cnt-- == 1) {
1047
+
obj.a = 0;
1048
+
return true;
1049
+
}
1050
+
const ret = false;
1051
+
return ret;
1052
+
};
1053
+
imports.wbg.__wbindgen_closure_wrapper1220 = function(arg0, arg1, arg2) {
1054
+
const ret = makeMutClosure(arg0, arg1, 639, __wbg_adapter_58);
1055
+
return ret;
1056
+
};
1057
+
imports.wbg.__wbindgen_closure_wrapper254 = function(arg0, arg1, arg2) {
1058
+
const ret = makeMutClosure(arg0, arg1, 67, __wbg_adapter_30);
1059
+
return ret;
1060
+
};
1061
+
imports.wbg.__wbindgen_closure_wrapper256 = function(arg0, arg1, arg2) {
1062
+
const ret = makeMutClosure(arg0, arg1, 67, __wbg_adapter_30);
1063
+
return ret;
1064
+
};
1065
+
imports.wbg.__wbindgen_closure_wrapper258 = function(arg0, arg1, arg2) {
1066
+
const ret = makeMutClosure(arg0, arg1, 67, __wbg_adapter_30);
1067
+
return ret;
1068
+
};
1069
+
imports.wbg.__wbindgen_closure_wrapper806 = function(arg0, arg1, arg2) {
1070
+
const ret = makeMutClosure(arg0, arg1, 468, __wbg_adapter_37);
1071
+
return ret;
1072
+
};
1073
+
imports.wbg.__wbindgen_closure_wrapper807 = function(arg0, arg1, arg2) {
1074
+
const ret = makeMutClosure(arg0, arg1, 468, __wbg_adapter_40);
1075
+
return ret;
1076
+
};
1077
+
imports.wbg.__wbindgen_closure_wrapper808 = function(arg0, arg1, arg2) {
1078
+
const ret = makeMutClosure(arg0, arg1, 468, __wbg_adapter_40);
1079
+
return ret;
1080
+
};
1081
+
imports.wbg.__wbindgen_closure_wrapper809 = function(arg0, arg1, arg2) {
1082
+
const ret = makeMutClosure(arg0, arg1, 468, __wbg_adapter_40);
1083
+
return ret;
1084
+
};
1085
+
imports.wbg.__wbindgen_closure_wrapper810 = function(arg0, arg1, arg2) {
1086
+
const ret = makeMutClosure(arg0, arg1, 468, __wbg_adapter_40);
1087
+
return ret;
1088
+
};
1089
+
imports.wbg.__wbindgen_closure_wrapper811 = function(arg0, arg1, arg2) {
1090
+
const ret = makeMutClosure(arg0, arg1, 468, __wbg_adapter_40);
1091
+
return ret;
1092
+
};
1093
+
imports.wbg.__wbindgen_closure_wrapper812 = function(arg0, arg1, arg2) {
1094
+
const ret = makeMutClosure(arg0, arg1, 468, __wbg_adapter_40);
1095
+
return ret;
1096
+
};
1097
+
imports.wbg.__wbindgen_closure_wrapper813 = function(arg0, arg1, arg2) {
1098
+
const ret = makeMutClosure(arg0, arg1, 468, __wbg_adapter_53);
1099
+
return ret;
1100
+
};
1101
+
imports.wbg.__wbindgen_closure_wrapper814 = function(arg0, arg1, arg2) {
1102
+
const ret = makeMutClosure(arg0, arg1, 468, __wbg_adapter_40);
1103
+
return ret;
1104
+
};
1105
+
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
1106
+
const ret = debugString(arg1);
1107
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1108
+
const len1 = WASM_VECTOR_LEN;
1109
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1110
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1111
+
};
1112
+
imports.wbg.__wbindgen_init_externref_table = function() {
1113
+
const table = wasm.__wbindgen_export_1;
1114
+
const offset = table.grow(4);
1115
+
table.set(0, undefined);
1116
+
table.set(offset + 0, undefined);
1117
+
table.set(offset + 1, null);
1118
+
table.set(offset + 2, true);
1119
+
table.set(offset + 3, false);
1120
+
;
1121
+
};
1122
+
imports.wbg.__wbindgen_is_function = function(arg0) {
1123
+
const ret = typeof(arg0) === 'function';
1124
+
return ret;
1125
+
};
1126
+
imports.wbg.__wbindgen_is_object = function(arg0) {
1127
+
const val = arg0;
1128
+
const ret = typeof(val) === 'object' && val !== null;
1129
+
return ret;
1130
+
};
1131
+
imports.wbg.__wbindgen_is_string = function(arg0) {
1132
+
const ret = typeof(arg0) === 'string';
1133
+
return ret;
1134
+
};
1135
+
imports.wbg.__wbindgen_is_undefined = function(arg0) {
1136
+
const ret = arg0 === undefined;
1137
+
return ret;
1138
+
};
1139
+
imports.wbg.__wbindgen_memory = function() {
1140
+
const ret = wasm.memory;
1141
+
return ret;
1142
+
};
1143
+
imports.wbg.__wbindgen_number_new = function(arg0) {
1144
+
const ret = arg0;
1145
+
return ret;
1146
+
};
1147
+
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
1148
+
const obj = arg1;
1149
+
const ret = typeof(obj) === 'string' ? obj : undefined;
1150
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1151
+
var len1 = WASM_VECTOR_LEN;
1152
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1153
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1154
+
};
1155
+
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
1156
+
const ret = getStringFromWasm0(arg0, arg1);
1157
+
return ret;
1158
+
};
1159
+
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
1160
+
throw new Error(getStringFromWasm0(arg0, arg1));
1161
+
};
1162
+
1163
+
return imports;
1164
+
}
1165
+
1166
+
function __wbg_init_memory(imports, memory) {
1167
+
1168
+
}
1169
+
1170
+
function __wbg_finalize_init(instance, module) {
1171
+
wasm = instance.exports;
1172
+
__wbg_init.__wbindgen_wasm_module = module;
1173
+
cachedDataViewMemory0 = null;
1174
+
cachedUint8ArrayMemory0 = null;
1175
+
cachedUint8ClampedArrayMemory0 = null;
1176
+
1177
+
1178
+
wasm.__wbindgen_start();
1179
+
return wasm;
1180
+
}
1181
+
1182
+
function initSync(module) {
1183
+
if (wasm !== undefined) return wasm;
1184
+
1185
+
1186
+
if (typeof module !== 'undefined') {
1187
+
if (Object.getPrototypeOf(module) === Object.prototype) {
1188
+
({module} = module)
1189
+
} else {
1190
+
console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
1191
+
}
1192
+
}
1193
+
1194
+
const imports = __wbg_get_imports();
1195
+
1196
+
__wbg_init_memory(imports);
1197
+
1198
+
if (!(module instanceof WebAssembly.Module)) {
1199
+
module = new WebAssembly.Module(module);
1200
+
}
1201
+
1202
+
const instance = new WebAssembly.Instance(module, imports);
1203
+
1204
+
return __wbg_finalize_init(instance, module);
1205
+
}
1206
+
1207
+
async function __wbg_init(module_or_path) {
1208
+
if (wasm !== undefined) return wasm;
1209
+
1210
+
1211
+
if (typeof module_or_path !== 'undefined') {
1212
+
if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
1213
+
({module_or_path} = module_or_path)
1214
+
} else {
1215
+
console.warn('using deprecated parameters for the initialization function; pass a single object instead')
1216
+
}
1217
+
}
1218
+
1219
+
if (typeof module_or_path === 'undefined') {
1220
+
module_or_path = new URL('annoyance_bg.wasm', import.meta.url);
1221
+
}
1222
+
const imports = __wbg_get_imports();
1223
+
1224
+
if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
1225
+
module_or_path = fetch(module_or_path);
1226
+
}
1227
+
1228
+
__wbg_init_memory(imports);
1229
+
1230
+
const { instance, module } = await __wbg_load(await module_or_path, imports);
1231
+
1232
+
return __wbg_finalize_init(instance, module);
1233
+
}
1234
+
1235
+
export { initSync };
1236
+
export default __wbg_init;
static/annoy/annoyance_bg.wasm
static/annoy/annoyance_bg.wasm
This is a binary file and will not be displayed.