radames commited on
Commit
7d2b461
β€’
1 Parent(s): a04d04a
app-a6ac60c1ad530067.js DELETED
@@ -1,829 +0,0 @@
1
- let wasm;
2
-
3
- const heap = new Array(128).fill(undefined);
4
-
5
- heap.push(undefined, null, true, false);
6
-
7
- function getObject(idx) { return heap[idx]; }
8
-
9
- let heap_next = heap.length;
10
-
11
- function dropObject(idx) {
12
- if (idx < 132) return;
13
- heap[idx] = heap_next;
14
- heap_next = idx;
15
- }
16
-
17
- function takeObject(idx) {
18
- const ret = getObject(idx);
19
- dropObject(idx);
20
- return ret;
21
- }
22
-
23
- function addHeapObject(obj) {
24
- if (heap_next === heap.length) heap.push(heap.length + 1);
25
- const idx = heap_next;
26
- heap_next = heap[idx];
27
-
28
- heap[idx] = obj;
29
- return idx;
30
- }
31
-
32
- const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
33
-
34
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
35
-
36
- let cachedUint8Memory0 = null;
37
-
38
- function getUint8Memory0() {
39
- if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
40
- cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
41
- }
42
- return cachedUint8Memory0;
43
- }
44
-
45
- function getStringFromWasm0(ptr, len) {
46
- ptr = ptr >>> 0;
47
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
48
- }
49
-
50
- function debugString(val) {
51
- // primitive types
52
- const type = typeof val;
53
- if (type == 'number' || type == 'boolean' || val == null) {
54
- return `${val}`;
55
- }
56
- if (type == 'string') {
57
- return `"${val}"`;
58
- }
59
- if (type == 'symbol') {
60
- const description = val.description;
61
- if (description == null) {
62
- return 'Symbol';
63
- } else {
64
- return `Symbol(${description})`;
65
- }
66
- }
67
- if (type == 'function') {
68
- const name = val.name;
69
- if (typeof name == 'string' && name.length > 0) {
70
- return `Function(${name})`;
71
- } else {
72
- return 'Function';
73
- }
74
- }
75
- // objects
76
- if (Array.isArray(val)) {
77
- const length = val.length;
78
- let debug = '[';
79
- if (length > 0) {
80
- debug += debugString(val[0]);
81
- }
82
- for(let i = 1; i < length; i++) {
83
- debug += ', ' + debugString(val[i]);
84
- }
85
- debug += ']';
86
- return debug;
87
- }
88
- // Test for built-in
89
- const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
90
- let className;
91
- if (builtInMatches.length > 1) {
92
- className = builtInMatches[1];
93
- } else {
94
- // Failed to match the standard '[object ClassName]'
95
- return toString.call(val);
96
- }
97
- if (className == 'Object') {
98
- // we're a user defined class or Object
99
- // JSON.stringify avoids problems with cycles, and is generally much
100
- // easier than looping through ownProperties of `val`.
101
- try {
102
- return 'Object(' + JSON.stringify(val) + ')';
103
- } catch (_) {
104
- return 'Object';
105
- }
106
- }
107
- // errors
108
- if (val instanceof Error) {
109
- return `${val.name}: ${val.message}\n${val.stack}`;
110
- }
111
- // TODO we could test for more things here, like `Set`s and `Map`s.
112
- return className;
113
- }
114
-
115
- let WASM_VECTOR_LEN = 0;
116
-
117
- const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
118
-
119
- const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
120
- ? function (arg, view) {
121
- return cachedTextEncoder.encodeInto(arg, view);
122
- }
123
- : function (arg, view) {
124
- const buf = cachedTextEncoder.encode(arg);
125
- view.set(buf);
126
- return {
127
- read: arg.length,
128
- written: buf.length
129
- };
130
- });
131
-
132
- function passStringToWasm0(arg, malloc, realloc) {
133
-
134
- if (realloc === undefined) {
135
- const buf = cachedTextEncoder.encode(arg);
136
- const ptr = malloc(buf.length, 1) >>> 0;
137
- getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
138
- WASM_VECTOR_LEN = buf.length;
139
- return ptr;
140
- }
141
-
142
- let len = arg.length;
143
- let ptr = malloc(len, 1) >>> 0;
144
-
145
- const mem = getUint8Memory0();
146
-
147
- let offset = 0;
148
-
149
- for (; offset < len; offset++) {
150
- const code = arg.charCodeAt(offset);
151
- if (code > 0x7F) break;
152
- mem[ptr + offset] = code;
153
- }
154
-
155
- if (offset !== len) {
156
- if (offset !== 0) {
157
- arg = arg.slice(offset);
158
- }
159
- ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
160
- const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
161
- const ret = encodeString(arg, view);
162
-
163
- offset += ret.written;
164
- }
165
-
166
- WASM_VECTOR_LEN = offset;
167
- return ptr;
168
- }
169
-
170
- let cachedInt32Memory0 = null;
171
-
172
- function getInt32Memory0() {
173
- if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
174
- cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
175
- }
176
- return cachedInt32Memory0;
177
- }
178
-
179
- function makeClosure(arg0, arg1, dtor, f) {
180
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
181
- const real = (...args) => {
182
- // First up with a closure we increment the internal reference
183
- // count. This ensures that the Rust closure environment won't
184
- // be deallocated while we're invoking it.
185
- state.cnt++;
186
- try {
187
- return f(state.a, state.b, ...args);
188
- } finally {
189
- if (--state.cnt === 0) {
190
- wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b);
191
- state.a = 0;
192
-
193
- }
194
- }
195
- };
196
- real.original = state;
197
-
198
- return real;
199
- }
200
- function __wbg_adapter_18(arg0, arg1, arg2) {
201
- wasm.wasm_bindgen__convert__closures__invoke1__hee69d633833ebd7c(arg0, arg1, addHeapObject(arg2));
202
- }
203
-
204
- function makeMutClosure(arg0, arg1, dtor, f) {
205
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
206
- const real = (...args) => {
207
- // First up with a closure we increment the internal reference
208
- // count. This ensures that the Rust closure environment won't
209
- // be deallocated while we're invoking it.
210
- state.cnt++;
211
- const a = state.a;
212
- state.a = 0;
213
- try {
214
- return f(a, state.b, ...args);
215
- } finally {
216
- if (--state.cnt === 0) {
217
- wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
218
-
219
- } else {
220
- state.a = a;
221
- }
222
- }
223
- };
224
- real.original = state;
225
-
226
- return real;
227
- }
228
-
229
- let stack_pointer = 128;
230
-
231
- function addBorrowedObject(obj) {
232
- if (stack_pointer == 1) throw new Error('out of js stack');
233
- heap[--stack_pointer] = obj;
234
- return stack_pointer;
235
- }
236
- function __wbg_adapter_21(arg0, arg1, arg2) {
237
- try {
238
- wasm._dyn_core__ops__function__FnMut___A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hadab26222cba6f84(arg0, arg1, addBorrowedObject(arg2));
239
- } finally {
240
- heap[stack_pointer++] = undefined;
241
- }
242
- }
243
-
244
- function __wbg_adapter_24(arg0, arg1, arg2) {
245
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfc3f0e78cf729c36(arg0, arg1, addHeapObject(arg2));
246
- }
247
-
248
- function isLikeNone(x) {
249
- return x === undefined || x === null;
250
- }
251
-
252
- let cachedUint32Memory0 = null;
253
-
254
- function getUint32Memory0() {
255
- if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
256
- cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
257
- }
258
- return cachedUint32Memory0;
259
- }
260
-
261
- function getArrayJsValueFromWasm0(ptr, len) {
262
- ptr = ptr >>> 0;
263
- const mem = getUint32Memory0();
264
- const slice = mem.subarray(ptr / 4, ptr / 4 + len);
265
- const result = [];
266
- for (let i = 0; i < slice.length; i++) {
267
- result.push(takeObject(slice[i]));
268
- }
269
- return result;
270
- }
271
-
272
- function handleError(f, args) {
273
- try {
274
- return f.apply(this, args);
275
- } catch (e) {
276
- wasm.__wbindgen_exn_store(addHeapObject(e));
277
- }
278
- }
279
-
280
- async function __wbg_load(module, imports) {
281
- if (typeof Response === 'function' && module instanceof Response) {
282
- if (typeof WebAssembly.instantiateStreaming === 'function') {
283
- try {
284
- return await WebAssembly.instantiateStreaming(module, imports);
285
-
286
- } catch (e) {
287
- if (module.headers.get('Content-Type') != 'application/wasm') {
288
- 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);
289
-
290
- } else {
291
- throw e;
292
- }
293
- }
294
- }
295
-
296
- const bytes = await module.arrayBuffer();
297
- return await WebAssembly.instantiate(bytes, imports);
298
-
299
- } else {
300
- const instance = await WebAssembly.instantiate(module, imports);
301
-
302
- if (instance instanceof WebAssembly.Instance) {
303
- return { instance, module };
304
-
305
- } else {
306
- return instance;
307
- }
308
- }
309
- }
310
-
311
- function __wbg_get_imports() {
312
- const imports = {};
313
- imports.wbg = {};
314
- imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
315
- takeObject(arg0);
316
- };
317
- imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
318
- const ret = getObject(arg0);
319
- return addHeapObject(ret);
320
- };
321
- imports.wbg.__wbg_log_3af90b48c052f90b = function(arg0, arg1) {
322
- console.log(getStringFromWasm0(arg0, arg1));
323
- };
324
- imports.wbg.__wbindgen_cb_drop = function(arg0) {
325
- const obj = takeObject(arg0).original;
326
- if (obj.cnt-- == 1) {
327
- obj.a = 0;
328
- return true;
329
- }
330
- const ret = false;
331
- return ret;
332
- };
333
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
334
- const ret = getStringFromWasm0(arg0, arg1);
335
- return addHeapObject(ret);
336
- };
337
- imports.wbg.__wbg_listenerid_12315eee21527820 = function(arg0, arg1) {
338
- const ret = getObject(arg1).__yew_listener_id;
339
- getInt32Memory0()[arg0 / 4 + 1] = isLikeNone(ret) ? 0 : ret;
340
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
341
- };
342
- imports.wbg.__wbg_setlistenerid_3183aae8fa5840fb = function(arg0, arg1) {
343
- getObject(arg0).__yew_listener_id = arg1 >>> 0;
344
- };
345
- imports.wbg.__wbg_setsubtreeid_d32e6327eef1f7fc = function(arg0, arg1) {
346
- getObject(arg0).__yew_subtree_id = arg1 >>> 0;
347
- };
348
- imports.wbg.__wbg_subtreeid_e348577f7ef777e3 = function(arg0, arg1) {
349
- const ret = getObject(arg1).__yew_subtree_id;
350
- getInt32Memory0()[arg0 / 4 + 1] = isLikeNone(ret) ? 0 : ret;
351
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
352
- };
353
- imports.wbg.__wbg_cachekey_b61393159c57fd7b = function(arg0, arg1) {
354
- const ret = getObject(arg1).__yew_subtree_cache_key;
355
- getInt32Memory0()[arg0 / 4 + 1] = isLikeNone(ret) ? 0 : ret;
356
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
357
- };
358
- imports.wbg.__wbg_setcachekey_80183b7cfc421143 = function(arg0, arg1) {
359
- getObject(arg0).__yew_subtree_cache_key = arg1 >>> 0;
360
- };
361
- imports.wbg.__wbg_error_71d6845bf00a930f = function(arg0, arg1) {
362
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
363
- wasm.__wbindgen_free(arg0, arg1 * 4);
364
- console.error(...v0);
365
- };
366
- imports.wbg.__wbg_warn_0b90a269a514ae1d = function(arg0, arg1) {
367
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
368
- wasm.__wbindgen_free(arg0, arg1 * 4);
369
- console.warn(...v0);
370
- };
371
- imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
372
- const ret = new Error();
373
- return addHeapObject(ret);
374
- };
375
- imports.wbg.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) {
376
- const ret = getObject(arg1).stack;
377
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
378
- const len1 = WASM_VECTOR_LEN;
379
- getInt32Memory0()[arg0 / 4 + 1] = len1;
380
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
381
- };
382
- imports.wbg.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
383
- let deferred0_0;
384
- let deferred0_1;
385
- try {
386
- deferred0_0 = arg0;
387
- deferred0_1 = arg1;
388
- console.error(getStringFromWasm0(arg0, arg1));
389
- } finally {
390
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
391
- }
392
- };
393
- imports.wbg.__wbg_location_7ac41949b772ef21 = function(arg0) {
394
- const ret = getObject(arg0).location;
395
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
396
- };
397
- imports.wbg.__wbg_body_674aec4c1c0910cd = function(arg0) {
398
- const ret = getObject(arg0).body;
399
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
400
- };
401
- imports.wbg.__wbg_createElement_4891554b28d3388b = function() { return handleError(function (arg0, arg1, arg2) {
402
- const ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2));
403
- return addHeapObject(ret);
404
- }, arguments) };
405
- imports.wbg.__wbg_createElementNS_119acf9e82482041 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
406
- const ret = getObject(arg0).createElementNS(arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
407
- return addHeapObject(ret);
408
- }, arguments) };
409
- imports.wbg.__wbg_createTextNode_2fd22cd7e543f938 = function(arg0, arg1, arg2) {
410
- const ret = getObject(arg0).createTextNode(getStringFromWasm0(arg1, arg2));
411
- return addHeapObject(ret);
412
- };
413
- imports.wbg.__wbg_instanceof_Window_9029196b662bc42a = function(arg0) {
414
- let result;
415
- try {
416
- result = getObject(arg0) instanceof Window;
417
- } catch {
418
- result = false;
419
- }
420
- const ret = result;
421
- return ret;
422
- };
423
- imports.wbg.__wbg_document_f7ace2b956f30a4f = function(arg0) {
424
- const ret = getObject(arg0).document;
425
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
426
- };
427
- imports.wbg.__wbg_location_56243dba507f472d = function(arg0) {
428
- const ret = getObject(arg0).location;
429
- return addHeapObject(ret);
430
- };
431
- imports.wbg.__wbg_performance_2c295061c8b01e0b = function(arg0) {
432
- const ret = getObject(arg0).performance;
433
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
434
- };
435
- imports.wbg.__wbg_fetch_336b6f0cb426b46e = function(arg0, arg1) {
436
- const ret = getObject(arg0).fetch(getObject(arg1));
437
- return addHeapObject(ret);
438
- };
439
- imports.wbg.__wbg_setchecked_e5a50baea447b8a8 = function(arg0, arg1) {
440
- getObject(arg0).checked = arg1 !== 0;
441
- };
442
- imports.wbg.__wbg_value_9423da9d988ee8cf = function(arg0, arg1) {
443
- const ret = getObject(arg1).value;
444
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
445
- const len1 = WASM_VECTOR_LEN;
446
- getInt32Memory0()[arg0 / 4 + 1] = len1;
447
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
448
- };
449
- imports.wbg.__wbg_setvalue_1f95e61cbc382f7f = function(arg0, arg1, arg2) {
450
- getObject(arg0).value = getStringFromWasm0(arg1, arg2);
451
- };
452
- imports.wbg.__wbg_newwithstrandinit_cad5cd6038c7ff5d = function() { return handleError(function (arg0, arg1, arg2) {
453
- const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
454
- return addHeapObject(ret);
455
- }, arguments) };
456
- imports.wbg.__wbg_setonmessage_f0bd0280573b7084 = function(arg0, arg1) {
457
- getObject(arg0).onmessage = getObject(arg1);
458
- };
459
- imports.wbg.__wbg_new_8e7322f46d5d019c = function() { return handleError(function (arg0, arg1) {
460
- const ret = new Worker(getStringFromWasm0(arg0, arg1));
461
- return addHeapObject(ret);
462
- }, arguments) };
463
- imports.wbg.__wbg_newwithoptions_1bd20b45061ed935 = function() { return handleError(function (arg0, arg1, arg2) {
464
- const ret = new Worker(getStringFromWasm0(arg0, arg1), getObject(arg2));
465
- return addHeapObject(ret);
466
- }, arguments) };
467
- imports.wbg.__wbg_postMessage_8c609e2bde333d9c = function() { return handleError(function (arg0, arg1) {
468
- getObject(arg0).postMessage(getObject(arg1));
469
- }, arguments) };
470
- imports.wbg.__wbg_instanceof_Response_fc4327dbfcdf5ced = function(arg0) {
471
- let result;
472
- try {
473
- result = getObject(arg0) instanceof Response;
474
- } catch {
475
- result = false;
476
- }
477
- const ret = result;
478
- return ret;
479
- };
480
- imports.wbg.__wbg_blob_34990e4300d45f53 = function() { return handleError(function (arg0) {
481
- const ret = getObject(arg0).blob();
482
- return addHeapObject(ret);
483
- }, arguments) };
484
- imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
485
- const ret = getObject(arg0).now();
486
- return ret;
487
- };
488
- imports.wbg.__wbg_debug_9b8701f894da9929 = function(arg0, arg1, arg2, arg3) {
489
- console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
490
- };
491
- imports.wbg.__wbg_error_788ae33f81d3b84b = function(arg0) {
492
- console.error(getObject(arg0));
493
- };
494
- imports.wbg.__wbg_error_d9bce418caafb712 = function(arg0, arg1, arg2, arg3) {
495
- console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
496
- };
497
- imports.wbg.__wbg_info_bb52f40b06f679de = function(arg0, arg1, arg2, arg3) {
498
- console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
499
- };
500
- imports.wbg.__wbg_log_ea7093e35e3efd07 = function(arg0, arg1, arg2, arg3) {
501
- console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
502
- };
503
- imports.wbg.__wbg_warn_dfc0e0cf544a13bd = function(arg0, arg1, arg2, arg3) {
504
- console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
505
- };
506
- imports.wbg.__wbg_instanceof_Element_4622f5da1249a3eb = function(arg0) {
507
- let result;
508
- try {
509
- result = getObject(arg0) instanceof Element;
510
- } catch {
511
- result = false;
512
- }
513
- const ret = result;
514
- return ret;
515
- };
516
- imports.wbg.__wbg_namespaceURI_31718ed49b5343a3 = function(arg0, arg1) {
517
- const ret = getObject(arg1).namespaceURI;
518
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
519
- var len1 = WASM_VECTOR_LEN;
520
- getInt32Memory0()[arg0 / 4 + 1] = len1;
521
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
522
- };
523
- imports.wbg.__wbg_setinnerHTML_b089587252408b67 = function(arg0, arg1, arg2) {
524
- getObject(arg0).innerHTML = getStringFromWasm0(arg1, arg2);
525
- };
526
- imports.wbg.__wbg_outerHTML_f7749ceff37b5832 = function(arg0, arg1) {
527
- const ret = getObject(arg1).outerHTML;
528
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
529
- const len1 = WASM_VECTOR_LEN;
530
- getInt32Memory0()[arg0 / 4 + 1] = len1;
531
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
532
- };
533
- imports.wbg.__wbg_children_27ed308801b57d3f = function(arg0) {
534
- const ret = getObject(arg0).children;
535
- return addHeapObject(ret);
536
- };
537
- imports.wbg.__wbg_removeAttribute_d8404da431968808 = function() { return handleError(function (arg0, arg1, arg2) {
538
- getObject(arg0).removeAttribute(getStringFromWasm0(arg1, arg2));
539
- }, arguments) };
540
- imports.wbg.__wbg_setAttribute_e7e80b478b7b8b2f = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
541
- getObject(arg0).setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
542
- }, arguments) };
543
- imports.wbg.__wbg_origin_50aa482fa6784a0a = function() { return handleError(function (arg0, arg1) {
544
- const ret = getObject(arg1).origin;
545
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
546
- const len1 = WASM_VECTOR_LEN;
547
- getInt32Memory0()[arg0 / 4 + 1] = len1;
548
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
549
- }, arguments) };
550
- imports.wbg.__wbg_pathname_c8fd5c498079312d = function() { return handleError(function (arg0, arg1) {
551
- const ret = getObject(arg1).pathname;
552
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
553
- const len1 = WASM_VECTOR_LEN;
554
- getInt32Memory0()[arg0 / 4 + 1] = len1;
555
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
556
- }, arguments) };
557
- imports.wbg.__wbg_data_ab99ae4a2e1e8bc9 = function(arg0) {
558
- const ret = getObject(arg0).data;
559
- return addHeapObject(ret);
560
- };
561
- imports.wbg.__wbg_target_f171e89c61e2bccf = function(arg0) {
562
- const ret = getObject(arg0).target;
563
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
564
- };
565
- imports.wbg.__wbg_bubbles_63572b91f3885ef1 = function(arg0) {
566
- const ret = getObject(arg0).bubbles;
567
- return ret;
568
- };
569
- imports.wbg.__wbg_cancelBubble_90d1c3aa2a76cbeb = function(arg0) {
570
- const ret = getObject(arg0).cancelBubble;
571
- return ret;
572
- };
573
- imports.wbg.__wbg_composedPath_cf1bb5b8bcff496f = function(arg0) {
574
- const ret = getObject(arg0).composedPath();
575
- return addHeapObject(ret);
576
- };
577
- imports.wbg.__wbg_parentNode_9e53f8b17eb98c9d = function(arg0) {
578
- const ret = getObject(arg0).parentNode;
579
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
580
- };
581
- imports.wbg.__wbg_parentElement_c75962bc9997ea5f = function(arg0) {
582
- const ret = getObject(arg0).parentElement;
583
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
584
- };
585
- imports.wbg.__wbg_lastChild_0cee692010bac6c2 = function(arg0) {
586
- const ret = getObject(arg0).lastChild;
587
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
588
- };
589
- imports.wbg.__wbg_nextSibling_304d9aac7c2774ae = function(arg0) {
590
- const ret = getObject(arg0).nextSibling;
591
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
592
- };
593
- imports.wbg.__wbg_setnodeValue_d1c8382910b45e04 = function(arg0, arg1, arg2) {
594
- getObject(arg0).nodeValue = arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2);
595
- };
596
- imports.wbg.__wbg_textContent_c5d9e21ee03c63d4 = function(arg0, arg1) {
597
- const ret = getObject(arg1).textContent;
598
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
599
- var len1 = WASM_VECTOR_LEN;
600
- getInt32Memory0()[arg0 / 4 + 1] = len1;
601
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
602
- };
603
- imports.wbg.__wbg_appendChild_51339d4cde00ee22 = function() { return handleError(function (arg0, arg1) {
604
- const ret = getObject(arg0).appendChild(getObject(arg1));
605
- return addHeapObject(ret);
606
- }, arguments) };
607
- imports.wbg.__wbg_insertBefore_ffa01d4b747c95fc = function() { return handleError(function (arg0, arg1, arg2) {
608
- const ret = getObject(arg0).insertBefore(getObject(arg1), getObject(arg2));
609
- return addHeapObject(ret);
610
- }, arguments) };
611
- imports.wbg.__wbg_removeChild_973429f368206138 = function() { return handleError(function (arg0, arg1) {
612
- const ret = getObject(arg0).removeChild(getObject(arg1));
613
- return addHeapObject(ret);
614
- }, arguments) };
615
- imports.wbg.__wbg_createObjectURL_d82f2880bada6a1d = function() { return handleError(function (arg0, arg1) {
616
- const ret = URL.createObjectURL(getObject(arg1));
617
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
618
- const len1 = WASM_VECTOR_LEN;
619
- getInt32Memory0()[arg0 / 4 + 1] = len1;
620
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
621
- }, arguments) };
622
- imports.wbg.__wbg_newwithstrsequenceandoptions_fd88a547f6d15707 = function() { return handleError(function (arg0, arg1) {
623
- const ret = new Blob(getObject(arg0), getObject(arg1));
624
- return addHeapObject(ret);
625
- }, arguments) };
626
- imports.wbg.__wbg_arrayBuffer_27cefaea55cbf063 = function(arg0) {
627
- const ret = getObject(arg0).arrayBuffer();
628
- return addHeapObject(ret);
629
- };
630
- imports.wbg.__wbg_addEventListener_a5963e26cd7b176b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
631
- getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4));
632
- }, arguments) };
633
- imports.wbg.__wbg_instanceof_ShadowRoot_b64337370f59fe2d = function(arg0) {
634
- let result;
635
- try {
636
- result = getObject(arg0) instanceof ShadowRoot;
637
- } catch {
638
- result = false;
639
- }
640
- const ret = result;
641
- return ret;
642
- };
643
- imports.wbg.__wbg_host_e1c47c33975060d3 = function(arg0) {
644
- const ret = getObject(arg0).host;
645
- return addHeapObject(ret);
646
- };
647
- imports.wbg.__wbg_value_3c5f08ffc2b7d6f9 = function(arg0, arg1) {
648
- const ret = getObject(arg1).value;
649
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
650
- const len1 = WASM_VECTOR_LEN;
651
- getInt32Memory0()[arg0 / 4 + 1] = len1;
652
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
653
- };
654
- imports.wbg.__wbg_setvalue_0dc100d4b9908028 = function(arg0, arg1, arg2) {
655
- getObject(arg0).value = getStringFromWasm0(arg1, arg2);
656
- };
657
- imports.wbg.__wbg_get_44be0491f933a435 = function(arg0, arg1) {
658
- const ret = getObject(arg0)[arg1 >>> 0];
659
- return addHeapObject(ret);
660
- };
661
- imports.wbg.__wbg_length_fff51ee6522a1a18 = function(arg0) {
662
- const ret = getObject(arg0).length;
663
- return ret;
664
- };
665
- imports.wbg.__wbg_new_898a68150f225f2e = function() {
666
- const ret = new Array();
667
- return addHeapObject(ret);
668
- };
669
- imports.wbg.__wbg_newnoargs_581967eacc0e2604 = function(arg0, arg1) {
670
- const ret = new Function(getStringFromWasm0(arg0, arg1));
671
- return addHeapObject(ret);
672
- };
673
- imports.wbg.__wbg_call_cb65541d95d71282 = function() { return handleError(function (arg0, arg1) {
674
- const ret = getObject(arg0).call(getObject(arg1));
675
- return addHeapObject(ret);
676
- }, arguments) };
677
- imports.wbg.__wbg_new_b51585de1b234aff = function() {
678
- const ret = new Object();
679
- return addHeapObject(ret);
680
- };
681
- imports.wbg.__wbg_self_1ff1d729e9aae938 = function() { return handleError(function () {
682
- const ret = self.self;
683
- return addHeapObject(ret);
684
- }, arguments) };
685
- imports.wbg.__wbg_window_5f4faef6c12b79ec = function() { return handleError(function () {
686
- const ret = window.window;
687
- return addHeapObject(ret);
688
- }, arguments) };
689
- imports.wbg.__wbg_globalThis_1d39714405582d3c = function() { return handleError(function () {
690
- const ret = globalThis.globalThis;
691
- return addHeapObject(ret);
692
- }, arguments) };
693
- imports.wbg.__wbg_global_651f05c6a0944d1c = function() { return handleError(function () {
694
- const ret = global.global;
695
- return addHeapObject(ret);
696
- }, arguments) };
697
- imports.wbg.__wbindgen_is_undefined = function(arg0) {
698
- const ret = getObject(arg0) === undefined;
699
- return ret;
700
- };
701
- imports.wbg.__wbg_from_d7c216d4616bb368 = function(arg0) {
702
- const ret = Array.from(getObject(arg0));
703
- return addHeapObject(ret);
704
- };
705
- imports.wbg.__wbg_push_ca1c26067ef907ac = function(arg0, arg1) {
706
- const ret = getObject(arg0).push(getObject(arg1));
707
- return ret;
708
- };
709
- imports.wbg.__wbg_is_205d914af04a8faa = function(arg0, arg1) {
710
- const ret = Object.is(getObject(arg0), getObject(arg1));
711
- return ret;
712
- };
713
- imports.wbg.__wbg_resolve_53698b95aaf7fcf8 = function(arg0) {
714
- const ret = Promise.resolve(getObject(arg0));
715
- return addHeapObject(ret);
716
- };
717
- imports.wbg.__wbg_then_f7e06ee3c11698eb = function(arg0, arg1) {
718
- const ret = getObject(arg0).then(getObject(arg1));
719
- return addHeapObject(ret);
720
- };
721
- imports.wbg.__wbg_then_b2267541e2a73865 = function(arg0, arg1, arg2) {
722
- const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
723
- return addHeapObject(ret);
724
- };
725
- imports.wbg.__wbg_buffer_085ec1f694018c4f = function(arg0) {
726
- const ret = getObject(arg0).buffer;
727
- return addHeapObject(ret);
728
- };
729
- imports.wbg.__wbg_newwithbyteoffsetandlength_6da8e527659b86aa = function(arg0, arg1, arg2) {
730
- const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
731
- return addHeapObject(ret);
732
- };
733
- imports.wbg.__wbg_new_8125e318e6245eed = function(arg0) {
734
- const ret = new Uint8Array(getObject(arg0));
735
- return addHeapObject(ret);
736
- };
737
- imports.wbg.__wbg_set_5cf90238115182c3 = function(arg0, arg1, arg2) {
738
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
739
- };
740
- imports.wbg.__wbg_length_72e2208bbc0efc61 = function(arg0) {
741
- const ret = getObject(arg0).length;
742
- return ret;
743
- };
744
- imports.wbg.__wbg_set_092e06b0f9d71865 = function() { return handleError(function (arg0, arg1, arg2) {
745
- const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
746
- return ret;
747
- }, arguments) };
748
- imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
749
- const ret = debugString(getObject(arg1));
750
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
751
- const len1 = WASM_VECTOR_LEN;
752
- getInt32Memory0()[arg0 / 4 + 1] = len1;
753
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
754
- };
755
- imports.wbg.__wbindgen_throw = function(arg0, arg1) {
756
- throw new Error(getStringFromWasm0(arg0, arg1));
757
- };
758
- imports.wbg.__wbindgen_memory = function() {
759
- const ret = wasm.memory;
760
- return addHeapObject(ret);
761
- };
762
- imports.wbg.__wbindgen_closure_wrapper182 = function(arg0, arg1, arg2) {
763
- const ret = makeClosure(arg0, arg1, 41, __wbg_adapter_18);
764
- return addHeapObject(ret);
765
- };
766
- imports.wbg.__wbindgen_closure_wrapper400 = function(arg0, arg1, arg2) {
767
- const ret = makeMutClosure(arg0, arg1, 136, __wbg_adapter_21);
768
- return addHeapObject(ret);
769
- };
770
- imports.wbg.__wbindgen_closure_wrapper679 = function(arg0, arg1, arg2) {
771
- const ret = makeMutClosure(arg0, arg1, 244, __wbg_adapter_24);
772
- return addHeapObject(ret);
773
- };
774
-
775
- return imports;
776
- }
777
-
778
- function __wbg_init_memory(imports, maybe_memory) {
779
-
780
- }
781
-
782
- function __wbg_finalize_init(instance, module) {
783
- wasm = instance.exports;
784
- __wbg_init.__wbindgen_wasm_module = module;
785
- cachedInt32Memory0 = null;
786
- cachedUint32Memory0 = null;
787
- cachedUint8Memory0 = null;
788
-
789
- wasm.__wbindgen_start();
790
- return wasm;
791
- }
792
-
793
- function initSync(module) {
794
- if (wasm !== undefined) return wasm;
795
-
796
- const imports = __wbg_get_imports();
797
-
798
- __wbg_init_memory(imports);
799
-
800
- if (!(module instanceof WebAssembly.Module)) {
801
- module = new WebAssembly.Module(module);
802
- }
803
-
804
- const instance = new WebAssembly.Instance(module, imports);
805
-
806
- return __wbg_finalize_init(instance, module);
807
- }
808
-
809
- async function __wbg_init(input) {
810
- if (wasm !== undefined) return wasm;
811
-
812
- if (typeof input === 'undefined') {
813
- input = new URL('app-a6ac60c1ad530067_bg.wasm', import.meta.url);
814
- }
815
- const imports = __wbg_get_imports();
816
-
817
- if (typeof input === 'string' || (typeof Request === 'function' && input instanceof Request) || (typeof URL === 'function' && input instanceof URL)) {
818
- input = fetch(input);
819
- }
820
-
821
- __wbg_init_memory(imports);
822
-
823
- const { instance, module } = await __wbg_load(await input, imports);
824
-
825
- return __wbg_finalize_init(instance, module);
826
- }
827
-
828
- export { initSync }
829
- export default __wbg_init;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app-a6ac60c1ad530067_bg.wasm DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f1ee9281e07047e62bb1880a4ab8d4168d263dc1ba2623f6adabae5571766ef5
3
- size 313016
 
 
 
 
app-c34faa410cb6796f.js DELETED
@@ -1,829 +0,0 @@
1
- let wasm;
2
-
3
- const heap = new Array(128).fill(undefined);
4
-
5
- heap.push(undefined, null, true, false);
6
-
7
- function getObject(idx) { return heap[idx]; }
8
-
9
- let heap_next = heap.length;
10
-
11
- function dropObject(idx) {
12
- if (idx < 132) return;
13
- heap[idx] = heap_next;
14
- heap_next = idx;
15
- }
16
-
17
- function takeObject(idx) {
18
- const ret = getObject(idx);
19
- dropObject(idx);
20
- return ret;
21
- }
22
-
23
- const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
24
-
25
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
26
-
27
- let cachedUint8Memory0 = null;
28
-
29
- function getUint8Memory0() {
30
- if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
31
- cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
32
- }
33
- return cachedUint8Memory0;
34
- }
35
-
36
- function getStringFromWasm0(ptr, len) {
37
- ptr = ptr >>> 0;
38
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
39
- }
40
-
41
- function addHeapObject(obj) {
42
- if (heap_next === heap.length) heap.push(heap.length + 1);
43
- const idx = heap_next;
44
- heap_next = heap[idx];
45
-
46
- heap[idx] = obj;
47
- return idx;
48
- }
49
-
50
- function debugString(val) {
51
- // primitive types
52
- const type = typeof val;
53
- if (type == 'number' || type == 'boolean' || val == null) {
54
- return `${val}`;
55
- }
56
- if (type == 'string') {
57
- return `"${val}"`;
58
- }
59
- if (type == 'symbol') {
60
- const description = val.description;
61
- if (description == null) {
62
- return 'Symbol';
63
- } else {
64
- return `Symbol(${description})`;
65
- }
66
- }
67
- if (type == 'function') {
68
- const name = val.name;
69
- if (typeof name == 'string' && name.length > 0) {
70
- return `Function(${name})`;
71
- } else {
72
- return 'Function';
73
- }
74
- }
75
- // objects
76
- if (Array.isArray(val)) {
77
- const length = val.length;
78
- let debug = '[';
79
- if (length > 0) {
80
- debug += debugString(val[0]);
81
- }
82
- for(let i = 1; i < length; i++) {
83
- debug += ', ' + debugString(val[i]);
84
- }
85
- debug += ']';
86
- return debug;
87
- }
88
- // Test for built-in
89
- const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
90
- let className;
91
- if (builtInMatches.length > 1) {
92
- className = builtInMatches[1];
93
- } else {
94
- // Failed to match the standard '[object ClassName]'
95
- return toString.call(val);
96
- }
97
- if (className == 'Object') {
98
- // we're a user defined class or Object
99
- // JSON.stringify avoids problems with cycles, and is generally much
100
- // easier than looping through ownProperties of `val`.
101
- try {
102
- return 'Object(' + JSON.stringify(val) + ')';
103
- } catch (_) {
104
- return 'Object';
105
- }
106
- }
107
- // errors
108
- if (val instanceof Error) {
109
- return `${val.name}: ${val.message}\n${val.stack}`;
110
- }
111
- // TODO we could test for more things here, like `Set`s and `Map`s.
112
- return className;
113
- }
114
-
115
- let WASM_VECTOR_LEN = 0;
116
-
117
- const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
118
-
119
- const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
120
- ? function (arg, view) {
121
- return cachedTextEncoder.encodeInto(arg, view);
122
- }
123
- : function (arg, view) {
124
- const buf = cachedTextEncoder.encode(arg);
125
- view.set(buf);
126
- return {
127
- read: arg.length,
128
- written: buf.length
129
- };
130
- });
131
-
132
- function passStringToWasm0(arg, malloc, realloc) {
133
-
134
- if (realloc === undefined) {
135
- const buf = cachedTextEncoder.encode(arg);
136
- const ptr = malloc(buf.length, 1) >>> 0;
137
- getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
138
- WASM_VECTOR_LEN = buf.length;
139
- return ptr;
140
- }
141
-
142
- let len = arg.length;
143
- let ptr = malloc(len, 1) >>> 0;
144
-
145
- const mem = getUint8Memory0();
146
-
147
- let offset = 0;
148
-
149
- for (; offset < len; offset++) {
150
- const code = arg.charCodeAt(offset);
151
- if (code > 0x7F) break;
152
- mem[ptr + offset] = code;
153
- }
154
-
155
- if (offset !== len) {
156
- if (offset !== 0) {
157
- arg = arg.slice(offset);
158
- }
159
- ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
160
- const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
161
- const ret = encodeString(arg, view);
162
-
163
- offset += ret.written;
164
- }
165
-
166
- WASM_VECTOR_LEN = offset;
167
- return ptr;
168
- }
169
-
170
- let cachedInt32Memory0 = null;
171
-
172
- function getInt32Memory0() {
173
- if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
174
- cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
175
- }
176
- return cachedInt32Memory0;
177
- }
178
-
179
- function makeClosure(arg0, arg1, dtor, f) {
180
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
181
- const real = (...args) => {
182
- // First up with a closure we increment the internal reference
183
- // count. This ensures that the Rust closure environment won't
184
- // be deallocated while we're invoking it.
185
- state.cnt++;
186
- try {
187
- return f(state.a, state.b, ...args);
188
- } finally {
189
- if (--state.cnt === 0) {
190
- wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b);
191
- state.a = 0;
192
-
193
- }
194
- }
195
- };
196
- real.original = state;
197
-
198
- return real;
199
- }
200
- function __wbg_adapter_18(arg0, arg1, arg2) {
201
- wasm.wasm_bindgen__convert__closures__invoke1__h234ab1c7c4bef2e0(arg0, arg1, addHeapObject(arg2));
202
- }
203
-
204
- function makeMutClosure(arg0, arg1, dtor, f) {
205
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
206
- const real = (...args) => {
207
- // First up with a closure we increment the internal reference
208
- // count. This ensures that the Rust closure environment won't
209
- // be deallocated while we're invoking it.
210
- state.cnt++;
211
- const a = state.a;
212
- state.a = 0;
213
- try {
214
- return f(a, state.b, ...args);
215
- } finally {
216
- if (--state.cnt === 0) {
217
- wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
218
-
219
- } else {
220
- state.a = a;
221
- }
222
- }
223
- };
224
- real.original = state;
225
-
226
- return real;
227
- }
228
-
229
- let stack_pointer = 128;
230
-
231
- function addBorrowedObject(obj) {
232
- if (stack_pointer == 1) throw new Error('out of js stack');
233
- heap[--stack_pointer] = obj;
234
- return stack_pointer;
235
- }
236
- function __wbg_adapter_21(arg0, arg1, arg2) {
237
- try {
238
- wasm._dyn_core__ops__function__FnMut___A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hadab26222cba6f84(arg0, arg1, addBorrowedObject(arg2));
239
- } finally {
240
- heap[stack_pointer++] = undefined;
241
- }
242
- }
243
-
244
- function __wbg_adapter_24(arg0, arg1, arg2) {
245
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfc3f0e78cf729c36(arg0, arg1, addHeapObject(arg2));
246
- }
247
-
248
- function isLikeNone(x) {
249
- return x === undefined || x === null;
250
- }
251
-
252
- let cachedUint32Memory0 = null;
253
-
254
- function getUint32Memory0() {
255
- if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
256
- cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
257
- }
258
- return cachedUint32Memory0;
259
- }
260
-
261
- function getArrayJsValueFromWasm0(ptr, len) {
262
- ptr = ptr >>> 0;
263
- const mem = getUint32Memory0();
264
- const slice = mem.subarray(ptr / 4, ptr / 4 + len);
265
- const result = [];
266
- for (let i = 0; i < slice.length; i++) {
267
- result.push(takeObject(slice[i]));
268
- }
269
- return result;
270
- }
271
-
272
- function handleError(f, args) {
273
- try {
274
- return f.apply(this, args);
275
- } catch (e) {
276
- wasm.__wbindgen_exn_store(addHeapObject(e));
277
- }
278
- }
279
-
280
- async function __wbg_load(module, imports) {
281
- if (typeof Response === 'function' && module instanceof Response) {
282
- if (typeof WebAssembly.instantiateStreaming === 'function') {
283
- try {
284
- return await WebAssembly.instantiateStreaming(module, imports);
285
-
286
- } catch (e) {
287
- if (module.headers.get('Content-Type') != 'application/wasm') {
288
- 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);
289
-
290
- } else {
291
- throw e;
292
- }
293
- }
294
- }
295
-
296
- const bytes = await module.arrayBuffer();
297
- return await WebAssembly.instantiate(bytes, imports);
298
-
299
- } else {
300
- const instance = await WebAssembly.instantiate(module, imports);
301
-
302
- if (instance instanceof WebAssembly.Instance) {
303
- return { instance, module };
304
-
305
- } else {
306
- return instance;
307
- }
308
- }
309
- }
310
-
311
- function __wbg_get_imports() {
312
- const imports = {};
313
- imports.wbg = {};
314
- imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
315
- takeObject(arg0);
316
- };
317
- imports.wbg.__wbg_log_3af90b48c052f90b = function(arg0, arg1) {
318
- console.log(getStringFromWasm0(arg0, arg1));
319
- };
320
- imports.wbg.__wbindgen_cb_drop = function(arg0) {
321
- const obj = takeObject(arg0).original;
322
- if (obj.cnt-- == 1) {
323
- obj.a = 0;
324
- return true;
325
- }
326
- const ret = false;
327
- return ret;
328
- };
329
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
330
- const ret = getStringFromWasm0(arg0, arg1);
331
- return addHeapObject(ret);
332
- };
333
- imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
334
- const ret = getObject(arg0);
335
- return addHeapObject(ret);
336
- };
337
- imports.wbg.__wbg_listenerid_12315eee21527820 = function(arg0, arg1) {
338
- const ret = getObject(arg1).__yew_listener_id;
339
- getInt32Memory0()[arg0 / 4 + 1] = isLikeNone(ret) ? 0 : ret;
340
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
341
- };
342
- imports.wbg.__wbg_setlistenerid_3183aae8fa5840fb = function(arg0, arg1) {
343
- getObject(arg0).__yew_listener_id = arg1 >>> 0;
344
- };
345
- imports.wbg.__wbg_setsubtreeid_d32e6327eef1f7fc = function(arg0, arg1) {
346
- getObject(arg0).__yew_subtree_id = arg1 >>> 0;
347
- };
348
- imports.wbg.__wbg_subtreeid_e348577f7ef777e3 = function(arg0, arg1) {
349
- const ret = getObject(arg1).__yew_subtree_id;
350
- getInt32Memory0()[arg0 / 4 + 1] = isLikeNone(ret) ? 0 : ret;
351
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
352
- };
353
- imports.wbg.__wbg_cachekey_b61393159c57fd7b = function(arg0, arg1) {
354
- const ret = getObject(arg1).__yew_subtree_cache_key;
355
- getInt32Memory0()[arg0 / 4 + 1] = isLikeNone(ret) ? 0 : ret;
356
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
357
- };
358
- imports.wbg.__wbg_setcachekey_80183b7cfc421143 = function(arg0, arg1) {
359
- getObject(arg0).__yew_subtree_cache_key = arg1 >>> 0;
360
- };
361
- imports.wbg.__wbg_error_71d6845bf00a930f = function(arg0, arg1) {
362
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
363
- wasm.__wbindgen_free(arg0, arg1 * 4);
364
- console.error(...v0);
365
- };
366
- imports.wbg.__wbg_warn_0b90a269a514ae1d = function(arg0, arg1) {
367
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
368
- wasm.__wbindgen_free(arg0, arg1 * 4);
369
- console.warn(...v0);
370
- };
371
- imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
372
- const ret = new Error();
373
- return addHeapObject(ret);
374
- };
375
- imports.wbg.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) {
376
- const ret = getObject(arg1).stack;
377
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
378
- const len1 = WASM_VECTOR_LEN;
379
- getInt32Memory0()[arg0 / 4 + 1] = len1;
380
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
381
- };
382
- imports.wbg.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
383
- let deferred0_0;
384
- let deferred0_1;
385
- try {
386
- deferred0_0 = arg0;
387
- deferred0_1 = arg1;
388
- console.error(getStringFromWasm0(arg0, arg1));
389
- } finally {
390
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
391
- }
392
- };
393
- imports.wbg.__wbg_location_7ac41949b772ef21 = function(arg0) {
394
- const ret = getObject(arg0).location;
395
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
396
- };
397
- imports.wbg.__wbg_body_674aec4c1c0910cd = function(arg0) {
398
- const ret = getObject(arg0).body;
399
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
400
- };
401
- imports.wbg.__wbg_createElement_4891554b28d3388b = function() { return handleError(function (arg0, arg1, arg2) {
402
- const ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2));
403
- return addHeapObject(ret);
404
- }, arguments) };
405
- imports.wbg.__wbg_createElementNS_119acf9e82482041 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
406
- const ret = getObject(arg0).createElementNS(arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
407
- return addHeapObject(ret);
408
- }, arguments) };
409
- imports.wbg.__wbg_createTextNode_2fd22cd7e543f938 = function(arg0, arg1, arg2) {
410
- const ret = getObject(arg0).createTextNode(getStringFromWasm0(arg1, arg2));
411
- return addHeapObject(ret);
412
- };
413
- imports.wbg.__wbg_instanceof_Window_9029196b662bc42a = function(arg0) {
414
- let result;
415
- try {
416
- result = getObject(arg0) instanceof Window;
417
- } catch {
418
- result = false;
419
- }
420
- const ret = result;
421
- return ret;
422
- };
423
- imports.wbg.__wbg_document_f7ace2b956f30a4f = function(arg0) {
424
- const ret = getObject(arg0).document;
425
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
426
- };
427
- imports.wbg.__wbg_location_56243dba507f472d = function(arg0) {
428
- const ret = getObject(arg0).location;
429
- return addHeapObject(ret);
430
- };
431
- imports.wbg.__wbg_performance_2c295061c8b01e0b = function(arg0) {
432
- const ret = getObject(arg0).performance;
433
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
434
- };
435
- imports.wbg.__wbg_fetch_336b6f0cb426b46e = function(arg0, arg1) {
436
- const ret = getObject(arg0).fetch(getObject(arg1));
437
- return addHeapObject(ret);
438
- };
439
- imports.wbg.__wbg_setchecked_e5a50baea447b8a8 = function(arg0, arg1) {
440
- getObject(arg0).checked = arg1 !== 0;
441
- };
442
- imports.wbg.__wbg_value_9423da9d988ee8cf = function(arg0, arg1) {
443
- const ret = getObject(arg1).value;
444
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
445
- const len1 = WASM_VECTOR_LEN;
446
- getInt32Memory0()[arg0 / 4 + 1] = len1;
447
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
448
- };
449
- imports.wbg.__wbg_setvalue_1f95e61cbc382f7f = function(arg0, arg1, arg2) {
450
- getObject(arg0).value = getStringFromWasm0(arg1, arg2);
451
- };
452
- imports.wbg.__wbg_newwithstrandinit_cad5cd6038c7ff5d = function() { return handleError(function (arg0, arg1, arg2) {
453
- const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
454
- return addHeapObject(ret);
455
- }, arguments) };
456
- imports.wbg.__wbg_setonmessage_f0bd0280573b7084 = function(arg0, arg1) {
457
- getObject(arg0).onmessage = getObject(arg1);
458
- };
459
- imports.wbg.__wbg_new_8e7322f46d5d019c = function() { return handleError(function (arg0, arg1) {
460
- const ret = new Worker(getStringFromWasm0(arg0, arg1));
461
- return addHeapObject(ret);
462
- }, arguments) };
463
- imports.wbg.__wbg_newwithoptions_1bd20b45061ed935 = function() { return handleError(function (arg0, arg1, arg2) {
464
- const ret = new Worker(getStringFromWasm0(arg0, arg1), getObject(arg2));
465
- return addHeapObject(ret);
466
- }, arguments) };
467
- imports.wbg.__wbg_postMessage_8c609e2bde333d9c = function() { return handleError(function (arg0, arg1) {
468
- getObject(arg0).postMessage(getObject(arg1));
469
- }, arguments) };
470
- imports.wbg.__wbg_instanceof_Response_fc4327dbfcdf5ced = function(arg0) {
471
- let result;
472
- try {
473
- result = getObject(arg0) instanceof Response;
474
- } catch {
475
- result = false;
476
- }
477
- const ret = result;
478
- return ret;
479
- };
480
- imports.wbg.__wbg_blob_34990e4300d45f53 = function() { return handleError(function (arg0) {
481
- const ret = getObject(arg0).blob();
482
- return addHeapObject(ret);
483
- }, arguments) };
484
- imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
485
- const ret = getObject(arg0).now();
486
- return ret;
487
- };
488
- imports.wbg.__wbg_debug_9b8701f894da9929 = function(arg0, arg1, arg2, arg3) {
489
- console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
490
- };
491
- imports.wbg.__wbg_error_788ae33f81d3b84b = function(arg0) {
492
- console.error(getObject(arg0));
493
- };
494
- imports.wbg.__wbg_error_d9bce418caafb712 = function(arg0, arg1, arg2, arg3) {
495
- console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
496
- };
497
- imports.wbg.__wbg_info_bb52f40b06f679de = function(arg0, arg1, arg2, arg3) {
498
- console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
499
- };
500
- imports.wbg.__wbg_log_ea7093e35e3efd07 = function(arg0, arg1, arg2, arg3) {
501
- console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
502
- };
503
- imports.wbg.__wbg_warn_dfc0e0cf544a13bd = function(arg0, arg1, arg2, arg3) {
504
- console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
505
- };
506
- imports.wbg.__wbg_instanceof_Element_4622f5da1249a3eb = function(arg0) {
507
- let result;
508
- try {
509
- result = getObject(arg0) instanceof Element;
510
- } catch {
511
- result = false;
512
- }
513
- const ret = result;
514
- return ret;
515
- };
516
- imports.wbg.__wbg_namespaceURI_31718ed49b5343a3 = function(arg0, arg1) {
517
- const ret = getObject(arg1).namespaceURI;
518
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
519
- var len1 = WASM_VECTOR_LEN;
520
- getInt32Memory0()[arg0 / 4 + 1] = len1;
521
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
522
- };
523
- imports.wbg.__wbg_setinnerHTML_b089587252408b67 = function(arg0, arg1, arg2) {
524
- getObject(arg0).innerHTML = getStringFromWasm0(arg1, arg2);
525
- };
526
- imports.wbg.__wbg_outerHTML_f7749ceff37b5832 = function(arg0, arg1) {
527
- const ret = getObject(arg1).outerHTML;
528
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
529
- const len1 = WASM_VECTOR_LEN;
530
- getInt32Memory0()[arg0 / 4 + 1] = len1;
531
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
532
- };
533
- imports.wbg.__wbg_children_27ed308801b57d3f = function(arg0) {
534
- const ret = getObject(arg0).children;
535
- return addHeapObject(ret);
536
- };
537
- imports.wbg.__wbg_removeAttribute_d8404da431968808 = function() { return handleError(function (arg0, arg1, arg2) {
538
- getObject(arg0).removeAttribute(getStringFromWasm0(arg1, arg2));
539
- }, arguments) };
540
- imports.wbg.__wbg_setAttribute_e7e80b478b7b8b2f = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
541
- getObject(arg0).setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
542
- }, arguments) };
543
- imports.wbg.__wbg_origin_50aa482fa6784a0a = function() { return handleError(function (arg0, arg1) {
544
- const ret = getObject(arg1).origin;
545
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
546
- const len1 = WASM_VECTOR_LEN;
547
- getInt32Memory0()[arg0 / 4 + 1] = len1;
548
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
549
- }, arguments) };
550
- imports.wbg.__wbg_pathname_c8fd5c498079312d = function() { return handleError(function (arg0, arg1) {
551
- const ret = getObject(arg1).pathname;
552
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
553
- const len1 = WASM_VECTOR_LEN;
554
- getInt32Memory0()[arg0 / 4 + 1] = len1;
555
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
556
- }, arguments) };
557
- imports.wbg.__wbg_data_ab99ae4a2e1e8bc9 = function(arg0) {
558
- const ret = getObject(arg0).data;
559
- return addHeapObject(ret);
560
- };
561
- imports.wbg.__wbg_target_f171e89c61e2bccf = function(arg0) {
562
- const ret = getObject(arg0).target;
563
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
564
- };
565
- imports.wbg.__wbg_bubbles_63572b91f3885ef1 = function(arg0) {
566
- const ret = getObject(arg0).bubbles;
567
- return ret;
568
- };
569
- imports.wbg.__wbg_cancelBubble_90d1c3aa2a76cbeb = function(arg0) {
570
- const ret = getObject(arg0).cancelBubble;
571
- return ret;
572
- };
573
- imports.wbg.__wbg_composedPath_cf1bb5b8bcff496f = function(arg0) {
574
- const ret = getObject(arg0).composedPath();
575
- return addHeapObject(ret);
576
- };
577
- imports.wbg.__wbg_parentNode_9e53f8b17eb98c9d = function(arg0) {
578
- const ret = getObject(arg0).parentNode;
579
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
580
- };
581
- imports.wbg.__wbg_parentElement_c75962bc9997ea5f = function(arg0) {
582
- const ret = getObject(arg0).parentElement;
583
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
584
- };
585
- imports.wbg.__wbg_lastChild_0cee692010bac6c2 = function(arg0) {
586
- const ret = getObject(arg0).lastChild;
587
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
588
- };
589
- imports.wbg.__wbg_nextSibling_304d9aac7c2774ae = function(arg0) {
590
- const ret = getObject(arg0).nextSibling;
591
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
592
- };
593
- imports.wbg.__wbg_setnodeValue_d1c8382910b45e04 = function(arg0, arg1, arg2) {
594
- getObject(arg0).nodeValue = arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2);
595
- };
596
- imports.wbg.__wbg_textContent_c5d9e21ee03c63d4 = function(arg0, arg1) {
597
- const ret = getObject(arg1).textContent;
598
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
599
- var len1 = WASM_VECTOR_LEN;
600
- getInt32Memory0()[arg0 / 4 + 1] = len1;
601
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
602
- };
603
- imports.wbg.__wbg_appendChild_51339d4cde00ee22 = function() { return handleError(function (arg0, arg1) {
604
- const ret = getObject(arg0).appendChild(getObject(arg1));
605
- return addHeapObject(ret);
606
- }, arguments) };
607
- imports.wbg.__wbg_insertBefore_ffa01d4b747c95fc = function() { return handleError(function (arg0, arg1, arg2) {
608
- const ret = getObject(arg0).insertBefore(getObject(arg1), getObject(arg2));
609
- return addHeapObject(ret);
610
- }, arguments) };
611
- imports.wbg.__wbg_removeChild_973429f368206138 = function() { return handleError(function (arg0, arg1) {
612
- const ret = getObject(arg0).removeChild(getObject(arg1));
613
- return addHeapObject(ret);
614
- }, arguments) };
615
- imports.wbg.__wbg_createObjectURL_d82f2880bada6a1d = function() { return handleError(function (arg0, arg1) {
616
- const ret = URL.createObjectURL(getObject(arg1));
617
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
618
- const len1 = WASM_VECTOR_LEN;
619
- getInt32Memory0()[arg0 / 4 + 1] = len1;
620
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
621
- }, arguments) };
622
- imports.wbg.__wbg_newwithstrsequenceandoptions_fd88a547f6d15707 = function() { return handleError(function (arg0, arg1) {
623
- const ret = new Blob(getObject(arg0), getObject(arg1));
624
- return addHeapObject(ret);
625
- }, arguments) };
626
- imports.wbg.__wbg_arrayBuffer_27cefaea55cbf063 = function(arg0) {
627
- const ret = getObject(arg0).arrayBuffer();
628
- return addHeapObject(ret);
629
- };
630
- imports.wbg.__wbg_addEventListener_a5963e26cd7b176b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
631
- getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4));
632
- }, arguments) };
633
- imports.wbg.__wbg_instanceof_ShadowRoot_b64337370f59fe2d = function(arg0) {
634
- let result;
635
- try {
636
- result = getObject(arg0) instanceof ShadowRoot;
637
- } catch {
638
- result = false;
639
- }
640
- const ret = result;
641
- return ret;
642
- };
643
- imports.wbg.__wbg_host_e1c47c33975060d3 = function(arg0) {
644
- const ret = getObject(arg0).host;
645
- return addHeapObject(ret);
646
- };
647
- imports.wbg.__wbg_value_3c5f08ffc2b7d6f9 = function(arg0, arg1) {
648
- const ret = getObject(arg1).value;
649
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
650
- const len1 = WASM_VECTOR_LEN;
651
- getInt32Memory0()[arg0 / 4 + 1] = len1;
652
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
653
- };
654
- imports.wbg.__wbg_setvalue_0dc100d4b9908028 = function(arg0, arg1, arg2) {
655
- getObject(arg0).value = getStringFromWasm0(arg1, arg2);
656
- };
657
- imports.wbg.__wbg_get_44be0491f933a435 = function(arg0, arg1) {
658
- const ret = getObject(arg0)[arg1 >>> 0];
659
- return addHeapObject(ret);
660
- };
661
- imports.wbg.__wbg_length_fff51ee6522a1a18 = function(arg0) {
662
- const ret = getObject(arg0).length;
663
- return ret;
664
- };
665
- imports.wbg.__wbg_new_898a68150f225f2e = function() {
666
- const ret = new Array();
667
- return addHeapObject(ret);
668
- };
669
- imports.wbg.__wbg_newnoargs_581967eacc0e2604 = function(arg0, arg1) {
670
- const ret = new Function(getStringFromWasm0(arg0, arg1));
671
- return addHeapObject(ret);
672
- };
673
- imports.wbg.__wbg_call_cb65541d95d71282 = function() { return handleError(function (arg0, arg1) {
674
- const ret = getObject(arg0).call(getObject(arg1));
675
- return addHeapObject(ret);
676
- }, arguments) };
677
- imports.wbg.__wbg_new_b51585de1b234aff = function() {
678
- const ret = new Object();
679
- return addHeapObject(ret);
680
- };
681
- imports.wbg.__wbg_self_1ff1d729e9aae938 = function() { return handleError(function () {
682
- const ret = self.self;
683
- return addHeapObject(ret);
684
- }, arguments) };
685
- imports.wbg.__wbg_window_5f4faef6c12b79ec = function() { return handleError(function () {
686
- const ret = window.window;
687
- return addHeapObject(ret);
688
- }, arguments) };
689
- imports.wbg.__wbg_globalThis_1d39714405582d3c = function() { return handleError(function () {
690
- const ret = globalThis.globalThis;
691
- return addHeapObject(ret);
692
- }, arguments) };
693
- imports.wbg.__wbg_global_651f05c6a0944d1c = function() { return handleError(function () {
694
- const ret = global.global;
695
- return addHeapObject(ret);
696
- }, arguments) };
697
- imports.wbg.__wbindgen_is_undefined = function(arg0) {
698
- const ret = getObject(arg0) === undefined;
699
- return ret;
700
- };
701
- imports.wbg.__wbg_from_d7c216d4616bb368 = function(arg0) {
702
- const ret = Array.from(getObject(arg0));
703
- return addHeapObject(ret);
704
- };
705
- imports.wbg.__wbg_push_ca1c26067ef907ac = function(arg0, arg1) {
706
- const ret = getObject(arg0).push(getObject(arg1));
707
- return ret;
708
- };
709
- imports.wbg.__wbg_is_205d914af04a8faa = function(arg0, arg1) {
710
- const ret = Object.is(getObject(arg0), getObject(arg1));
711
- return ret;
712
- };
713
- imports.wbg.__wbg_resolve_53698b95aaf7fcf8 = function(arg0) {
714
- const ret = Promise.resolve(getObject(arg0));
715
- return addHeapObject(ret);
716
- };
717
- imports.wbg.__wbg_then_f7e06ee3c11698eb = function(arg0, arg1) {
718
- const ret = getObject(arg0).then(getObject(arg1));
719
- return addHeapObject(ret);
720
- };
721
- imports.wbg.__wbg_then_b2267541e2a73865 = function(arg0, arg1, arg2) {
722
- const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
723
- return addHeapObject(ret);
724
- };
725
- imports.wbg.__wbg_buffer_085ec1f694018c4f = function(arg0) {
726
- const ret = getObject(arg0).buffer;
727
- return addHeapObject(ret);
728
- };
729
- imports.wbg.__wbg_newwithbyteoffsetandlength_6da8e527659b86aa = function(arg0, arg1, arg2) {
730
- const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
731
- return addHeapObject(ret);
732
- };
733
- imports.wbg.__wbg_new_8125e318e6245eed = function(arg0) {
734
- const ret = new Uint8Array(getObject(arg0));
735
- return addHeapObject(ret);
736
- };
737
- imports.wbg.__wbg_set_5cf90238115182c3 = function(arg0, arg1, arg2) {
738
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
739
- };
740
- imports.wbg.__wbg_length_72e2208bbc0efc61 = function(arg0) {
741
- const ret = getObject(arg0).length;
742
- return ret;
743
- };
744
- imports.wbg.__wbg_set_092e06b0f9d71865 = function() { return handleError(function (arg0, arg1, arg2) {
745
- const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
746
- return ret;
747
- }, arguments) };
748
- imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
749
- const ret = debugString(getObject(arg1));
750
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
751
- const len1 = WASM_VECTOR_LEN;
752
- getInt32Memory0()[arg0 / 4 + 1] = len1;
753
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
754
- };
755
- imports.wbg.__wbindgen_throw = function(arg0, arg1) {
756
- throw new Error(getStringFromWasm0(arg0, arg1));
757
- };
758
- imports.wbg.__wbindgen_memory = function() {
759
- const ret = wasm.memory;
760
- return addHeapObject(ret);
761
- };
762
- imports.wbg.__wbindgen_closure_wrapper167 = function(arg0, arg1, arg2) {
763
- const ret = makeClosure(arg0, arg1, 36, __wbg_adapter_18);
764
- return addHeapObject(ret);
765
- };
766
- imports.wbg.__wbindgen_closure_wrapper396 = function(arg0, arg1, arg2) {
767
- const ret = makeMutClosure(arg0, arg1, 134, __wbg_adapter_21);
768
- return addHeapObject(ret);
769
- };
770
- imports.wbg.__wbindgen_closure_wrapper675 = function(arg0, arg1, arg2) {
771
- const ret = makeMutClosure(arg0, arg1, 242, __wbg_adapter_24);
772
- return addHeapObject(ret);
773
- };
774
-
775
- return imports;
776
- }
777
-
778
- function __wbg_init_memory(imports, maybe_memory) {
779
-
780
- }
781
-
782
- function __wbg_finalize_init(instance, module) {
783
- wasm = instance.exports;
784
- __wbg_init.__wbindgen_wasm_module = module;
785
- cachedInt32Memory0 = null;
786
- cachedUint32Memory0 = null;
787
- cachedUint8Memory0 = null;
788
-
789
- wasm.__wbindgen_start();
790
- return wasm;
791
- }
792
-
793
- function initSync(module) {
794
- if (wasm !== undefined) return wasm;
795
-
796
- const imports = __wbg_get_imports();
797
-
798
- __wbg_init_memory(imports);
799
-
800
- if (!(module instanceof WebAssembly.Module)) {
801
- module = new WebAssembly.Module(module);
802
- }
803
-
804
- const instance = new WebAssembly.Instance(module, imports);
805
-
806
- return __wbg_finalize_init(instance, module);
807
- }
808
-
809
- async function __wbg_init(input) {
810
- if (wasm !== undefined) return wasm;
811
-
812
- if (typeof input === 'undefined') {
813
- input = new URL('app-c34faa410cb6796f_bg.wasm', import.meta.url);
814
- }
815
- const imports = __wbg_get_imports();
816
-
817
- if (typeof input === 'string' || (typeof Request === 'function' && input instanceof Request) || (typeof URL === 'function' && input instanceof URL)) {
818
- input = fetch(input);
819
- }
820
-
821
- __wbg_init_memory(imports);
822
-
823
- const { instance, module } = await __wbg_load(await input, imports);
824
-
825
- return __wbg_finalize_init(instance, module);
826
- }
827
-
828
- export { initSync }
829
- export default __wbg_init;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app-c34faa410cb6796f_bg.wasm DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e4b9542b7c949ba0429e60c19cb132075607de7a23fde0f4b3557fc6c5c9d313
3
- size 310337
 
 
 
 
app-ce1542bf305e9c17.js DELETED
@@ -1,829 +0,0 @@
1
- let wasm;
2
-
3
- const heap = new Array(128).fill(undefined);
4
-
5
- heap.push(undefined, null, true, false);
6
-
7
- function getObject(idx) { return heap[idx]; }
8
-
9
- let heap_next = heap.length;
10
-
11
- function dropObject(idx) {
12
- if (idx < 132) return;
13
- heap[idx] = heap_next;
14
- heap_next = idx;
15
- }
16
-
17
- function takeObject(idx) {
18
- const ret = getObject(idx);
19
- dropObject(idx);
20
- return ret;
21
- }
22
-
23
- function addHeapObject(obj) {
24
- if (heap_next === heap.length) heap.push(heap.length + 1);
25
- const idx = heap_next;
26
- heap_next = heap[idx];
27
-
28
- heap[idx] = obj;
29
- return idx;
30
- }
31
-
32
- const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
33
-
34
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
35
-
36
- let cachedUint8Memory0 = null;
37
-
38
- function getUint8Memory0() {
39
- if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
40
- cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
41
- }
42
- return cachedUint8Memory0;
43
- }
44
-
45
- function getStringFromWasm0(ptr, len) {
46
- ptr = ptr >>> 0;
47
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
48
- }
49
-
50
- function debugString(val) {
51
- // primitive types
52
- const type = typeof val;
53
- if (type == 'number' || type == 'boolean' || val == null) {
54
- return `${val}`;
55
- }
56
- if (type == 'string') {
57
- return `"${val}"`;
58
- }
59
- if (type == 'symbol') {
60
- const description = val.description;
61
- if (description == null) {
62
- return 'Symbol';
63
- } else {
64
- return `Symbol(${description})`;
65
- }
66
- }
67
- if (type == 'function') {
68
- const name = val.name;
69
- if (typeof name == 'string' && name.length > 0) {
70
- return `Function(${name})`;
71
- } else {
72
- return 'Function';
73
- }
74
- }
75
- // objects
76
- if (Array.isArray(val)) {
77
- const length = val.length;
78
- let debug = '[';
79
- if (length > 0) {
80
- debug += debugString(val[0]);
81
- }
82
- for(let i = 1; i < length; i++) {
83
- debug += ', ' + debugString(val[i]);
84
- }
85
- debug += ']';
86
- return debug;
87
- }
88
- // Test for built-in
89
- const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
90
- let className;
91
- if (builtInMatches.length > 1) {
92
- className = builtInMatches[1];
93
- } else {
94
- // Failed to match the standard '[object ClassName]'
95
- return toString.call(val);
96
- }
97
- if (className == 'Object') {
98
- // we're a user defined class or Object
99
- // JSON.stringify avoids problems with cycles, and is generally much
100
- // easier than looping through ownProperties of `val`.
101
- try {
102
- return 'Object(' + JSON.stringify(val) + ')';
103
- } catch (_) {
104
- return 'Object';
105
- }
106
- }
107
- // errors
108
- if (val instanceof Error) {
109
- return `${val.name}: ${val.message}\n${val.stack}`;
110
- }
111
- // TODO we could test for more things here, like `Set`s and `Map`s.
112
- return className;
113
- }
114
-
115
- let WASM_VECTOR_LEN = 0;
116
-
117
- const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
118
-
119
- const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
120
- ? function (arg, view) {
121
- return cachedTextEncoder.encodeInto(arg, view);
122
- }
123
- : function (arg, view) {
124
- const buf = cachedTextEncoder.encode(arg);
125
- view.set(buf);
126
- return {
127
- read: arg.length,
128
- written: buf.length
129
- };
130
- });
131
-
132
- function passStringToWasm0(arg, malloc, realloc) {
133
-
134
- if (realloc === undefined) {
135
- const buf = cachedTextEncoder.encode(arg);
136
- const ptr = malloc(buf.length, 1) >>> 0;
137
- getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
138
- WASM_VECTOR_LEN = buf.length;
139
- return ptr;
140
- }
141
-
142
- let len = arg.length;
143
- let ptr = malloc(len, 1) >>> 0;
144
-
145
- const mem = getUint8Memory0();
146
-
147
- let offset = 0;
148
-
149
- for (; offset < len; offset++) {
150
- const code = arg.charCodeAt(offset);
151
- if (code > 0x7F) break;
152
- mem[ptr + offset] = code;
153
- }
154
-
155
- if (offset !== len) {
156
- if (offset !== 0) {
157
- arg = arg.slice(offset);
158
- }
159
- ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
160
- const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
161
- const ret = encodeString(arg, view);
162
-
163
- offset += ret.written;
164
- }
165
-
166
- WASM_VECTOR_LEN = offset;
167
- return ptr;
168
- }
169
-
170
- let cachedInt32Memory0 = null;
171
-
172
- function getInt32Memory0() {
173
- if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
174
- cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
175
- }
176
- return cachedInt32Memory0;
177
- }
178
-
179
- function makeClosure(arg0, arg1, dtor, f) {
180
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
181
- const real = (...args) => {
182
- // First up with a closure we increment the internal reference
183
- // count. This ensures that the Rust closure environment won't
184
- // be deallocated while we're invoking it.
185
- state.cnt++;
186
- try {
187
- return f(state.a, state.b, ...args);
188
- } finally {
189
- if (--state.cnt === 0) {
190
- wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b);
191
- state.a = 0;
192
-
193
- }
194
- }
195
- };
196
- real.original = state;
197
-
198
- return real;
199
- }
200
- function __wbg_adapter_18(arg0, arg1, arg2) {
201
- wasm.wasm_bindgen__convert__closures__invoke1__hee69d633833ebd7c(arg0, arg1, addHeapObject(arg2));
202
- }
203
-
204
- function makeMutClosure(arg0, arg1, dtor, f) {
205
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
206
- const real = (...args) => {
207
- // First up with a closure we increment the internal reference
208
- // count. This ensures that the Rust closure environment won't
209
- // be deallocated while we're invoking it.
210
- state.cnt++;
211
- const a = state.a;
212
- state.a = 0;
213
- try {
214
- return f(a, state.b, ...args);
215
- } finally {
216
- if (--state.cnt === 0) {
217
- wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
218
-
219
- } else {
220
- state.a = a;
221
- }
222
- }
223
- };
224
- real.original = state;
225
-
226
- return real;
227
- }
228
-
229
- let stack_pointer = 128;
230
-
231
- function addBorrowedObject(obj) {
232
- if (stack_pointer == 1) throw new Error('out of js stack');
233
- heap[--stack_pointer] = obj;
234
- return stack_pointer;
235
- }
236
- function __wbg_adapter_21(arg0, arg1, arg2) {
237
- try {
238
- wasm._dyn_core__ops__function__FnMut___A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hadab26222cba6f84(arg0, arg1, addBorrowedObject(arg2));
239
- } finally {
240
- heap[stack_pointer++] = undefined;
241
- }
242
- }
243
-
244
- function __wbg_adapter_24(arg0, arg1, arg2) {
245
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfc3f0e78cf729c36(arg0, arg1, addHeapObject(arg2));
246
- }
247
-
248
- function isLikeNone(x) {
249
- return x === undefined || x === null;
250
- }
251
-
252
- let cachedUint32Memory0 = null;
253
-
254
- function getUint32Memory0() {
255
- if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
256
- cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
257
- }
258
- return cachedUint32Memory0;
259
- }
260
-
261
- function getArrayJsValueFromWasm0(ptr, len) {
262
- ptr = ptr >>> 0;
263
- const mem = getUint32Memory0();
264
- const slice = mem.subarray(ptr / 4, ptr / 4 + len);
265
- const result = [];
266
- for (let i = 0; i < slice.length; i++) {
267
- result.push(takeObject(slice[i]));
268
- }
269
- return result;
270
- }
271
-
272
- function handleError(f, args) {
273
- try {
274
- return f.apply(this, args);
275
- } catch (e) {
276
- wasm.__wbindgen_exn_store(addHeapObject(e));
277
- }
278
- }
279
-
280
- async function __wbg_load(module, imports) {
281
- if (typeof Response === 'function' && module instanceof Response) {
282
- if (typeof WebAssembly.instantiateStreaming === 'function') {
283
- try {
284
- return await WebAssembly.instantiateStreaming(module, imports);
285
-
286
- } catch (e) {
287
- if (module.headers.get('Content-Type') != 'application/wasm') {
288
- 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);
289
-
290
- } else {
291
- throw e;
292
- }
293
- }
294
- }
295
-
296
- const bytes = await module.arrayBuffer();
297
- return await WebAssembly.instantiate(bytes, imports);
298
-
299
- } else {
300
- const instance = await WebAssembly.instantiate(module, imports);
301
-
302
- if (instance instanceof WebAssembly.Instance) {
303
- return { instance, module };
304
-
305
- } else {
306
- return instance;
307
- }
308
- }
309
- }
310
-
311
- function __wbg_get_imports() {
312
- const imports = {};
313
- imports.wbg = {};
314
- imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
315
- takeObject(arg0);
316
- };
317
- imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
318
- const ret = getObject(arg0);
319
- return addHeapObject(ret);
320
- };
321
- imports.wbg.__wbg_log_3af90b48c052f90b = function(arg0, arg1) {
322
- console.log(getStringFromWasm0(arg0, arg1));
323
- };
324
- imports.wbg.__wbindgen_cb_drop = function(arg0) {
325
- const obj = takeObject(arg0).original;
326
- if (obj.cnt-- == 1) {
327
- obj.a = 0;
328
- return true;
329
- }
330
- const ret = false;
331
- return ret;
332
- };
333
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
334
- const ret = getStringFromWasm0(arg0, arg1);
335
- return addHeapObject(ret);
336
- };
337
- imports.wbg.__wbg_listenerid_12315eee21527820 = function(arg0, arg1) {
338
- const ret = getObject(arg1).__yew_listener_id;
339
- getInt32Memory0()[arg0 / 4 + 1] = isLikeNone(ret) ? 0 : ret;
340
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
341
- };
342
- imports.wbg.__wbg_setlistenerid_3183aae8fa5840fb = function(arg0, arg1) {
343
- getObject(arg0).__yew_listener_id = arg1 >>> 0;
344
- };
345
- imports.wbg.__wbg_setsubtreeid_d32e6327eef1f7fc = function(arg0, arg1) {
346
- getObject(arg0).__yew_subtree_id = arg1 >>> 0;
347
- };
348
- imports.wbg.__wbg_subtreeid_e348577f7ef777e3 = function(arg0, arg1) {
349
- const ret = getObject(arg1).__yew_subtree_id;
350
- getInt32Memory0()[arg0 / 4 + 1] = isLikeNone(ret) ? 0 : ret;
351
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
352
- };
353
- imports.wbg.__wbg_cachekey_b61393159c57fd7b = function(arg0, arg1) {
354
- const ret = getObject(arg1).__yew_subtree_cache_key;
355
- getInt32Memory0()[arg0 / 4 + 1] = isLikeNone(ret) ? 0 : ret;
356
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
357
- };
358
- imports.wbg.__wbg_setcachekey_80183b7cfc421143 = function(arg0, arg1) {
359
- getObject(arg0).__yew_subtree_cache_key = arg1 >>> 0;
360
- };
361
- imports.wbg.__wbg_error_71d6845bf00a930f = function(arg0, arg1) {
362
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
363
- wasm.__wbindgen_free(arg0, arg1 * 4);
364
- console.error(...v0);
365
- };
366
- imports.wbg.__wbg_warn_0b90a269a514ae1d = function(arg0, arg1) {
367
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
368
- wasm.__wbindgen_free(arg0, arg1 * 4);
369
- console.warn(...v0);
370
- };
371
- imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
372
- const ret = new Error();
373
- return addHeapObject(ret);
374
- };
375
- imports.wbg.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) {
376
- const ret = getObject(arg1).stack;
377
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
378
- const len1 = WASM_VECTOR_LEN;
379
- getInt32Memory0()[arg0 / 4 + 1] = len1;
380
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
381
- };
382
- imports.wbg.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
383
- let deferred0_0;
384
- let deferred0_1;
385
- try {
386
- deferred0_0 = arg0;
387
- deferred0_1 = arg1;
388
- console.error(getStringFromWasm0(arg0, arg1));
389
- } finally {
390
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
391
- }
392
- };
393
- imports.wbg.__wbg_location_7ac41949b772ef21 = function(arg0) {
394
- const ret = getObject(arg0).location;
395
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
396
- };
397
- imports.wbg.__wbg_body_674aec4c1c0910cd = function(arg0) {
398
- const ret = getObject(arg0).body;
399
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
400
- };
401
- imports.wbg.__wbg_createElement_4891554b28d3388b = function() { return handleError(function (arg0, arg1, arg2) {
402
- const ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2));
403
- return addHeapObject(ret);
404
- }, arguments) };
405
- imports.wbg.__wbg_createElementNS_119acf9e82482041 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
406
- const ret = getObject(arg0).createElementNS(arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
407
- return addHeapObject(ret);
408
- }, arguments) };
409
- imports.wbg.__wbg_createTextNode_2fd22cd7e543f938 = function(arg0, arg1, arg2) {
410
- const ret = getObject(arg0).createTextNode(getStringFromWasm0(arg1, arg2));
411
- return addHeapObject(ret);
412
- };
413
- imports.wbg.__wbg_instanceof_Window_9029196b662bc42a = function(arg0) {
414
- let result;
415
- try {
416
- result = getObject(arg0) instanceof Window;
417
- } catch {
418
- result = false;
419
- }
420
- const ret = result;
421
- return ret;
422
- };
423
- imports.wbg.__wbg_document_f7ace2b956f30a4f = function(arg0) {
424
- const ret = getObject(arg0).document;
425
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
426
- };
427
- imports.wbg.__wbg_location_56243dba507f472d = function(arg0) {
428
- const ret = getObject(arg0).location;
429
- return addHeapObject(ret);
430
- };
431
- imports.wbg.__wbg_performance_2c295061c8b01e0b = function(arg0) {
432
- const ret = getObject(arg0).performance;
433
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
434
- };
435
- imports.wbg.__wbg_fetch_336b6f0cb426b46e = function(arg0, arg1) {
436
- const ret = getObject(arg0).fetch(getObject(arg1));
437
- return addHeapObject(ret);
438
- };
439
- imports.wbg.__wbg_setchecked_e5a50baea447b8a8 = function(arg0, arg1) {
440
- getObject(arg0).checked = arg1 !== 0;
441
- };
442
- imports.wbg.__wbg_value_9423da9d988ee8cf = function(arg0, arg1) {
443
- const ret = getObject(arg1).value;
444
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
445
- const len1 = WASM_VECTOR_LEN;
446
- getInt32Memory0()[arg0 / 4 + 1] = len1;
447
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
448
- };
449
- imports.wbg.__wbg_setvalue_1f95e61cbc382f7f = function(arg0, arg1, arg2) {
450
- getObject(arg0).value = getStringFromWasm0(arg1, arg2);
451
- };
452
- imports.wbg.__wbg_newwithstrandinit_cad5cd6038c7ff5d = function() { return handleError(function (arg0, arg1, arg2) {
453
- const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
454
- return addHeapObject(ret);
455
- }, arguments) };
456
- imports.wbg.__wbg_setonmessage_f0bd0280573b7084 = function(arg0, arg1) {
457
- getObject(arg0).onmessage = getObject(arg1);
458
- };
459
- imports.wbg.__wbg_new_8e7322f46d5d019c = function() { return handleError(function (arg0, arg1) {
460
- const ret = new Worker(getStringFromWasm0(arg0, arg1));
461
- return addHeapObject(ret);
462
- }, arguments) };
463
- imports.wbg.__wbg_newwithoptions_1bd20b45061ed935 = function() { return handleError(function (arg0, arg1, arg2) {
464
- const ret = new Worker(getStringFromWasm0(arg0, arg1), getObject(arg2));
465
- return addHeapObject(ret);
466
- }, arguments) };
467
- imports.wbg.__wbg_postMessage_8c609e2bde333d9c = function() { return handleError(function (arg0, arg1) {
468
- getObject(arg0).postMessage(getObject(arg1));
469
- }, arguments) };
470
- imports.wbg.__wbg_instanceof_Response_fc4327dbfcdf5ced = function(arg0) {
471
- let result;
472
- try {
473
- result = getObject(arg0) instanceof Response;
474
- } catch {
475
- result = false;
476
- }
477
- const ret = result;
478
- return ret;
479
- };
480
- imports.wbg.__wbg_blob_34990e4300d45f53 = function() { return handleError(function (arg0) {
481
- const ret = getObject(arg0).blob();
482
- return addHeapObject(ret);
483
- }, arguments) };
484
- imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
485
- const ret = getObject(arg0).now();
486
- return ret;
487
- };
488
- imports.wbg.__wbg_debug_9b8701f894da9929 = function(arg0, arg1, arg2, arg3) {
489
- console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
490
- };
491
- imports.wbg.__wbg_error_788ae33f81d3b84b = function(arg0) {
492
- console.error(getObject(arg0));
493
- };
494
- imports.wbg.__wbg_error_d9bce418caafb712 = function(arg0, arg1, arg2, arg3) {
495
- console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
496
- };
497
- imports.wbg.__wbg_info_bb52f40b06f679de = function(arg0, arg1, arg2, arg3) {
498
- console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
499
- };
500
- imports.wbg.__wbg_log_ea7093e35e3efd07 = function(arg0, arg1, arg2, arg3) {
501
- console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
502
- };
503
- imports.wbg.__wbg_warn_dfc0e0cf544a13bd = function(arg0, arg1, arg2, arg3) {
504
- console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
505
- };
506
- imports.wbg.__wbg_instanceof_Element_4622f5da1249a3eb = function(arg0) {
507
- let result;
508
- try {
509
- result = getObject(arg0) instanceof Element;
510
- } catch {
511
- result = false;
512
- }
513
- const ret = result;
514
- return ret;
515
- };
516
- imports.wbg.__wbg_namespaceURI_31718ed49b5343a3 = function(arg0, arg1) {
517
- const ret = getObject(arg1).namespaceURI;
518
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
519
- var len1 = WASM_VECTOR_LEN;
520
- getInt32Memory0()[arg0 / 4 + 1] = len1;
521
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
522
- };
523
- imports.wbg.__wbg_setinnerHTML_b089587252408b67 = function(arg0, arg1, arg2) {
524
- getObject(arg0).innerHTML = getStringFromWasm0(arg1, arg2);
525
- };
526
- imports.wbg.__wbg_outerHTML_f7749ceff37b5832 = function(arg0, arg1) {
527
- const ret = getObject(arg1).outerHTML;
528
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
529
- const len1 = WASM_VECTOR_LEN;
530
- getInt32Memory0()[arg0 / 4 + 1] = len1;
531
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
532
- };
533
- imports.wbg.__wbg_children_27ed308801b57d3f = function(arg0) {
534
- const ret = getObject(arg0).children;
535
- return addHeapObject(ret);
536
- };
537
- imports.wbg.__wbg_removeAttribute_d8404da431968808 = function() { return handleError(function (arg0, arg1, arg2) {
538
- getObject(arg0).removeAttribute(getStringFromWasm0(arg1, arg2));
539
- }, arguments) };
540
- imports.wbg.__wbg_setAttribute_e7e80b478b7b8b2f = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
541
- getObject(arg0).setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
542
- }, arguments) };
543
- imports.wbg.__wbg_origin_50aa482fa6784a0a = function() { return handleError(function (arg0, arg1) {
544
- const ret = getObject(arg1).origin;
545
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
546
- const len1 = WASM_VECTOR_LEN;
547
- getInt32Memory0()[arg0 / 4 + 1] = len1;
548
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
549
- }, arguments) };
550
- imports.wbg.__wbg_pathname_c8fd5c498079312d = function() { return handleError(function (arg0, arg1) {
551
- const ret = getObject(arg1).pathname;
552
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
553
- const len1 = WASM_VECTOR_LEN;
554
- getInt32Memory0()[arg0 / 4 + 1] = len1;
555
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
556
- }, arguments) };
557
- imports.wbg.__wbg_data_ab99ae4a2e1e8bc9 = function(arg0) {
558
- const ret = getObject(arg0).data;
559
- return addHeapObject(ret);
560
- };
561
- imports.wbg.__wbg_target_f171e89c61e2bccf = function(arg0) {
562
- const ret = getObject(arg0).target;
563
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
564
- };
565
- imports.wbg.__wbg_bubbles_63572b91f3885ef1 = function(arg0) {
566
- const ret = getObject(arg0).bubbles;
567
- return ret;
568
- };
569
- imports.wbg.__wbg_cancelBubble_90d1c3aa2a76cbeb = function(arg0) {
570
- const ret = getObject(arg0).cancelBubble;
571
- return ret;
572
- };
573
- imports.wbg.__wbg_composedPath_cf1bb5b8bcff496f = function(arg0) {
574
- const ret = getObject(arg0).composedPath();
575
- return addHeapObject(ret);
576
- };
577
- imports.wbg.__wbg_parentNode_9e53f8b17eb98c9d = function(arg0) {
578
- const ret = getObject(arg0).parentNode;
579
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
580
- };
581
- imports.wbg.__wbg_parentElement_c75962bc9997ea5f = function(arg0) {
582
- const ret = getObject(arg0).parentElement;
583
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
584
- };
585
- imports.wbg.__wbg_lastChild_0cee692010bac6c2 = function(arg0) {
586
- const ret = getObject(arg0).lastChild;
587
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
588
- };
589
- imports.wbg.__wbg_nextSibling_304d9aac7c2774ae = function(arg0) {
590
- const ret = getObject(arg0).nextSibling;
591
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
592
- };
593
- imports.wbg.__wbg_setnodeValue_d1c8382910b45e04 = function(arg0, arg1, arg2) {
594
- getObject(arg0).nodeValue = arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2);
595
- };
596
- imports.wbg.__wbg_textContent_c5d9e21ee03c63d4 = function(arg0, arg1) {
597
- const ret = getObject(arg1).textContent;
598
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
599
- var len1 = WASM_VECTOR_LEN;
600
- getInt32Memory0()[arg0 / 4 + 1] = len1;
601
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
602
- };
603
- imports.wbg.__wbg_appendChild_51339d4cde00ee22 = function() { return handleError(function (arg0, arg1) {
604
- const ret = getObject(arg0).appendChild(getObject(arg1));
605
- return addHeapObject(ret);
606
- }, arguments) };
607
- imports.wbg.__wbg_insertBefore_ffa01d4b747c95fc = function() { return handleError(function (arg0, arg1, arg2) {
608
- const ret = getObject(arg0).insertBefore(getObject(arg1), getObject(arg2));
609
- return addHeapObject(ret);
610
- }, arguments) };
611
- imports.wbg.__wbg_removeChild_973429f368206138 = function() { return handleError(function (arg0, arg1) {
612
- const ret = getObject(arg0).removeChild(getObject(arg1));
613
- return addHeapObject(ret);
614
- }, arguments) };
615
- imports.wbg.__wbg_createObjectURL_d82f2880bada6a1d = function() { return handleError(function (arg0, arg1) {
616
- const ret = URL.createObjectURL(getObject(arg1));
617
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
618
- const len1 = WASM_VECTOR_LEN;
619
- getInt32Memory0()[arg0 / 4 + 1] = len1;
620
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
621
- }, arguments) };
622
- imports.wbg.__wbg_newwithstrsequenceandoptions_fd88a547f6d15707 = function() { return handleError(function (arg0, arg1) {
623
- const ret = new Blob(getObject(arg0), getObject(arg1));
624
- return addHeapObject(ret);
625
- }, arguments) };
626
- imports.wbg.__wbg_arrayBuffer_27cefaea55cbf063 = function(arg0) {
627
- const ret = getObject(arg0).arrayBuffer();
628
- return addHeapObject(ret);
629
- };
630
- imports.wbg.__wbg_addEventListener_a5963e26cd7b176b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
631
- getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4));
632
- }, arguments) };
633
- imports.wbg.__wbg_instanceof_ShadowRoot_b64337370f59fe2d = function(arg0) {
634
- let result;
635
- try {
636
- result = getObject(arg0) instanceof ShadowRoot;
637
- } catch {
638
- result = false;
639
- }
640
- const ret = result;
641
- return ret;
642
- };
643
- imports.wbg.__wbg_host_e1c47c33975060d3 = function(arg0) {
644
- const ret = getObject(arg0).host;
645
- return addHeapObject(ret);
646
- };
647
- imports.wbg.__wbg_value_3c5f08ffc2b7d6f9 = function(arg0, arg1) {
648
- const ret = getObject(arg1).value;
649
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
650
- const len1 = WASM_VECTOR_LEN;
651
- getInt32Memory0()[arg0 / 4 + 1] = len1;
652
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
653
- };
654
- imports.wbg.__wbg_setvalue_0dc100d4b9908028 = function(arg0, arg1, arg2) {
655
- getObject(arg0).value = getStringFromWasm0(arg1, arg2);
656
- };
657
- imports.wbg.__wbg_get_44be0491f933a435 = function(arg0, arg1) {
658
- const ret = getObject(arg0)[arg1 >>> 0];
659
- return addHeapObject(ret);
660
- };
661
- imports.wbg.__wbg_length_fff51ee6522a1a18 = function(arg0) {
662
- const ret = getObject(arg0).length;
663
- return ret;
664
- };
665
- imports.wbg.__wbg_new_898a68150f225f2e = function() {
666
- const ret = new Array();
667
- return addHeapObject(ret);
668
- };
669
- imports.wbg.__wbg_newnoargs_581967eacc0e2604 = function(arg0, arg1) {
670
- const ret = new Function(getStringFromWasm0(arg0, arg1));
671
- return addHeapObject(ret);
672
- };
673
- imports.wbg.__wbg_call_cb65541d95d71282 = function() { return handleError(function (arg0, arg1) {
674
- const ret = getObject(arg0).call(getObject(arg1));
675
- return addHeapObject(ret);
676
- }, arguments) };
677
- imports.wbg.__wbg_new_b51585de1b234aff = function() {
678
- const ret = new Object();
679
- return addHeapObject(ret);
680
- };
681
- imports.wbg.__wbg_self_1ff1d729e9aae938 = function() { return handleError(function () {
682
- const ret = self.self;
683
- return addHeapObject(ret);
684
- }, arguments) };
685
- imports.wbg.__wbg_window_5f4faef6c12b79ec = function() { return handleError(function () {
686
- const ret = window.window;
687
- return addHeapObject(ret);
688
- }, arguments) };
689
- imports.wbg.__wbg_globalThis_1d39714405582d3c = function() { return handleError(function () {
690
- const ret = globalThis.globalThis;
691
- return addHeapObject(ret);
692
- }, arguments) };
693
- imports.wbg.__wbg_global_651f05c6a0944d1c = function() { return handleError(function () {
694
- const ret = global.global;
695
- return addHeapObject(ret);
696
- }, arguments) };
697
- imports.wbg.__wbindgen_is_undefined = function(arg0) {
698
- const ret = getObject(arg0) === undefined;
699
- return ret;
700
- };
701
- imports.wbg.__wbg_from_d7c216d4616bb368 = function(arg0) {
702
- const ret = Array.from(getObject(arg0));
703
- return addHeapObject(ret);
704
- };
705
- imports.wbg.__wbg_push_ca1c26067ef907ac = function(arg0, arg1) {
706
- const ret = getObject(arg0).push(getObject(arg1));
707
- return ret;
708
- };
709
- imports.wbg.__wbg_is_205d914af04a8faa = function(arg0, arg1) {
710
- const ret = Object.is(getObject(arg0), getObject(arg1));
711
- return ret;
712
- };
713
- imports.wbg.__wbg_resolve_53698b95aaf7fcf8 = function(arg0) {
714
- const ret = Promise.resolve(getObject(arg0));
715
- return addHeapObject(ret);
716
- };
717
- imports.wbg.__wbg_then_f7e06ee3c11698eb = function(arg0, arg1) {
718
- const ret = getObject(arg0).then(getObject(arg1));
719
- return addHeapObject(ret);
720
- };
721
- imports.wbg.__wbg_then_b2267541e2a73865 = function(arg0, arg1, arg2) {
722
- const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
723
- return addHeapObject(ret);
724
- };
725
- imports.wbg.__wbg_buffer_085ec1f694018c4f = function(arg0) {
726
- const ret = getObject(arg0).buffer;
727
- return addHeapObject(ret);
728
- };
729
- imports.wbg.__wbg_newwithbyteoffsetandlength_6da8e527659b86aa = function(arg0, arg1, arg2) {
730
- const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
731
- return addHeapObject(ret);
732
- };
733
- imports.wbg.__wbg_new_8125e318e6245eed = function(arg0) {
734
- const ret = new Uint8Array(getObject(arg0));
735
- return addHeapObject(ret);
736
- };
737
- imports.wbg.__wbg_set_5cf90238115182c3 = function(arg0, arg1, arg2) {
738
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
739
- };
740
- imports.wbg.__wbg_length_72e2208bbc0efc61 = function(arg0) {
741
- const ret = getObject(arg0).length;
742
- return ret;
743
- };
744
- imports.wbg.__wbg_set_092e06b0f9d71865 = function() { return handleError(function (arg0, arg1, arg2) {
745
- const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
746
- return ret;
747
- }, arguments) };
748
- imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
749
- const ret = debugString(getObject(arg1));
750
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
751
- const len1 = WASM_VECTOR_LEN;
752
- getInt32Memory0()[arg0 / 4 + 1] = len1;
753
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
754
- };
755
- imports.wbg.__wbindgen_throw = function(arg0, arg1) {
756
- throw new Error(getStringFromWasm0(arg0, arg1));
757
- };
758
- imports.wbg.__wbindgen_memory = function() {
759
- const ret = wasm.memory;
760
- return addHeapObject(ret);
761
- };
762
- imports.wbg.__wbindgen_closure_wrapper182 = function(arg0, arg1, arg2) {
763
- const ret = makeClosure(arg0, arg1, 41, __wbg_adapter_18);
764
- return addHeapObject(ret);
765
- };
766
- imports.wbg.__wbindgen_closure_wrapper400 = function(arg0, arg1, arg2) {
767
- const ret = makeMutClosure(arg0, arg1, 136, __wbg_adapter_21);
768
- return addHeapObject(ret);
769
- };
770
- imports.wbg.__wbindgen_closure_wrapper679 = function(arg0, arg1, arg2) {
771
- const ret = makeMutClosure(arg0, arg1, 244, __wbg_adapter_24);
772
- return addHeapObject(ret);
773
- };
774
-
775
- return imports;
776
- }
777
-
778
- function __wbg_init_memory(imports, maybe_memory) {
779
-
780
- }
781
-
782
- function __wbg_finalize_init(instance, module) {
783
- wasm = instance.exports;
784
- __wbg_init.__wbindgen_wasm_module = module;
785
- cachedInt32Memory0 = null;
786
- cachedUint32Memory0 = null;
787
- cachedUint8Memory0 = null;
788
-
789
- wasm.__wbindgen_start();
790
- return wasm;
791
- }
792
-
793
- function initSync(module) {
794
- if (wasm !== undefined) return wasm;
795
-
796
- const imports = __wbg_get_imports();
797
-
798
- __wbg_init_memory(imports);
799
-
800
- if (!(module instanceof WebAssembly.Module)) {
801
- module = new WebAssembly.Module(module);
802
- }
803
-
804
- const instance = new WebAssembly.Instance(module, imports);
805
-
806
- return __wbg_finalize_init(instance, module);
807
- }
808
-
809
- async function __wbg_init(input) {
810
- if (wasm !== undefined) return wasm;
811
-
812
- if (typeof input === 'undefined') {
813
- input = new URL('app-ce1542bf305e9c17_bg.wasm', import.meta.url);
814
- }
815
- const imports = __wbg_get_imports();
816
-
817
- if (typeof input === 'string' || (typeof Request === 'function' && input instanceof Request) || (typeof URL === 'function' && input instanceof URL)) {
818
- input = fetch(input);
819
- }
820
-
821
- __wbg_init_memory(imports);
822
-
823
- const { instance, module } = await __wbg_load(await input, imports);
824
-
825
- return __wbg_finalize_init(instance, module);
826
- }
827
-
828
- export { initSync }
829
- export default __wbg_init;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app-fc3fb0e73c846240.js DELETED
@@ -1,829 +0,0 @@
1
- let wasm;
2
-
3
- const heap = new Array(128).fill(undefined);
4
-
5
- heap.push(undefined, null, true, false);
6
-
7
- function getObject(idx) { return heap[idx]; }
8
-
9
- let heap_next = heap.length;
10
-
11
- function dropObject(idx) {
12
- if (idx < 132) return;
13
- heap[idx] = heap_next;
14
- heap_next = idx;
15
- }
16
-
17
- function takeObject(idx) {
18
- const ret = getObject(idx);
19
- dropObject(idx);
20
- return ret;
21
- }
22
-
23
- function addHeapObject(obj) {
24
- if (heap_next === heap.length) heap.push(heap.length + 1);
25
- const idx = heap_next;
26
- heap_next = heap[idx];
27
-
28
- heap[idx] = obj;
29
- return idx;
30
- }
31
-
32
- const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
33
-
34
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
35
-
36
- let cachedUint8Memory0 = null;
37
-
38
- function getUint8Memory0() {
39
- if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
40
- cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
41
- }
42
- return cachedUint8Memory0;
43
- }
44
-
45
- function getStringFromWasm0(ptr, len) {
46
- ptr = ptr >>> 0;
47
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
48
- }
49
-
50
- function debugString(val) {
51
- // primitive types
52
- const type = typeof val;
53
- if (type == 'number' || type == 'boolean' || val == null) {
54
- return `${val}`;
55
- }
56
- if (type == 'string') {
57
- return `"${val}"`;
58
- }
59
- if (type == 'symbol') {
60
- const description = val.description;
61
- if (description == null) {
62
- return 'Symbol';
63
- } else {
64
- return `Symbol(${description})`;
65
- }
66
- }
67
- if (type == 'function') {
68
- const name = val.name;
69
- if (typeof name == 'string' && name.length > 0) {
70
- return `Function(${name})`;
71
- } else {
72
- return 'Function';
73
- }
74
- }
75
- // objects
76
- if (Array.isArray(val)) {
77
- const length = val.length;
78
- let debug = '[';
79
- if (length > 0) {
80
- debug += debugString(val[0]);
81
- }
82
- for(let i = 1; i < length; i++) {
83
- debug += ', ' + debugString(val[i]);
84
- }
85
- debug += ']';
86
- return debug;
87
- }
88
- // Test for built-in
89
- const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
90
- let className;
91
- if (builtInMatches.length > 1) {
92
- className = builtInMatches[1];
93
- } else {
94
- // Failed to match the standard '[object ClassName]'
95
- return toString.call(val);
96
- }
97
- if (className == 'Object') {
98
- // we're a user defined class or Object
99
- // JSON.stringify avoids problems with cycles, and is generally much
100
- // easier than looping through ownProperties of `val`.
101
- try {
102
- return 'Object(' + JSON.stringify(val) + ')';
103
- } catch (_) {
104
- return 'Object';
105
- }
106
- }
107
- // errors
108
- if (val instanceof Error) {
109
- return `${val.name}: ${val.message}\n${val.stack}`;
110
- }
111
- // TODO we could test for more things here, like `Set`s and `Map`s.
112
- return className;
113
- }
114
-
115
- let WASM_VECTOR_LEN = 0;
116
-
117
- const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
118
-
119
- const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
120
- ? function (arg, view) {
121
- return cachedTextEncoder.encodeInto(arg, view);
122
- }
123
- : function (arg, view) {
124
- const buf = cachedTextEncoder.encode(arg);
125
- view.set(buf);
126
- return {
127
- read: arg.length,
128
- written: buf.length
129
- };
130
- });
131
-
132
- function passStringToWasm0(arg, malloc, realloc) {
133
-
134
- if (realloc === undefined) {
135
- const buf = cachedTextEncoder.encode(arg);
136
- const ptr = malloc(buf.length, 1) >>> 0;
137
- getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
138
- WASM_VECTOR_LEN = buf.length;
139
- return ptr;
140
- }
141
-
142
- let len = arg.length;
143
- let ptr = malloc(len, 1) >>> 0;
144
-
145
- const mem = getUint8Memory0();
146
-
147
- let offset = 0;
148
-
149
- for (; offset < len; offset++) {
150
- const code = arg.charCodeAt(offset);
151
- if (code > 0x7F) break;
152
- mem[ptr + offset] = code;
153
- }
154
-
155
- if (offset !== len) {
156
- if (offset !== 0) {
157
- arg = arg.slice(offset);
158
- }
159
- ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
160
- const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
161
- const ret = encodeString(arg, view);
162
-
163
- offset += ret.written;
164
- }
165
-
166
- WASM_VECTOR_LEN = offset;
167
- return ptr;
168
- }
169
-
170
- let cachedInt32Memory0 = null;
171
-
172
- function getInt32Memory0() {
173
- if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
174
- cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
175
- }
176
- return cachedInt32Memory0;
177
- }
178
-
179
- function makeClosure(arg0, arg1, dtor, f) {
180
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
181
- const real = (...args) => {
182
- // First up with a closure we increment the internal reference
183
- // count. This ensures that the Rust closure environment won't
184
- // be deallocated while we're invoking it.
185
- state.cnt++;
186
- try {
187
- return f(state.a, state.b, ...args);
188
- } finally {
189
- if (--state.cnt === 0) {
190
- wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b);
191
- state.a = 0;
192
-
193
- }
194
- }
195
- };
196
- real.original = state;
197
-
198
- return real;
199
- }
200
- function __wbg_adapter_18(arg0, arg1, arg2) {
201
- wasm.wasm_bindgen__convert__closures__invoke1__hee69d633833ebd7c(arg0, arg1, addHeapObject(arg2));
202
- }
203
-
204
- function makeMutClosure(arg0, arg1, dtor, f) {
205
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
206
- const real = (...args) => {
207
- // First up with a closure we increment the internal reference
208
- // count. This ensures that the Rust closure environment won't
209
- // be deallocated while we're invoking it.
210
- state.cnt++;
211
- const a = state.a;
212
- state.a = 0;
213
- try {
214
- return f(a, state.b, ...args);
215
- } finally {
216
- if (--state.cnt === 0) {
217
- wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
218
-
219
- } else {
220
- state.a = a;
221
- }
222
- }
223
- };
224
- real.original = state;
225
-
226
- return real;
227
- }
228
-
229
- let stack_pointer = 128;
230
-
231
- function addBorrowedObject(obj) {
232
- if (stack_pointer == 1) throw new Error('out of js stack');
233
- heap[--stack_pointer] = obj;
234
- return stack_pointer;
235
- }
236
- function __wbg_adapter_21(arg0, arg1, arg2) {
237
- try {
238
- wasm._dyn_core__ops__function__FnMut___A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hadab26222cba6f84(arg0, arg1, addBorrowedObject(arg2));
239
- } finally {
240
- heap[stack_pointer++] = undefined;
241
- }
242
- }
243
-
244
- function __wbg_adapter_24(arg0, arg1, arg2) {
245
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfc3f0e78cf729c36(arg0, arg1, addHeapObject(arg2));
246
- }
247
-
248
- function isLikeNone(x) {
249
- return x === undefined || x === null;
250
- }
251
-
252
- let cachedUint32Memory0 = null;
253
-
254
- function getUint32Memory0() {
255
- if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
256
- cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
257
- }
258
- return cachedUint32Memory0;
259
- }
260
-
261
- function getArrayJsValueFromWasm0(ptr, len) {
262
- ptr = ptr >>> 0;
263
- const mem = getUint32Memory0();
264
- const slice = mem.subarray(ptr / 4, ptr / 4 + len);
265
- const result = [];
266
- for (let i = 0; i < slice.length; i++) {
267
- result.push(takeObject(slice[i]));
268
- }
269
- return result;
270
- }
271
-
272
- function handleError(f, args) {
273
- try {
274
- return f.apply(this, args);
275
- } catch (e) {
276
- wasm.__wbindgen_exn_store(addHeapObject(e));
277
- }
278
- }
279
-
280
- async function __wbg_load(module, imports) {
281
- if (typeof Response === 'function' && module instanceof Response) {
282
- if (typeof WebAssembly.instantiateStreaming === 'function') {
283
- try {
284
- return await WebAssembly.instantiateStreaming(module, imports);
285
-
286
- } catch (e) {
287
- if (module.headers.get('Content-Type') != 'application/wasm') {
288
- 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);
289
-
290
- } else {
291
- throw e;
292
- }
293
- }
294
- }
295
-
296
- const bytes = await module.arrayBuffer();
297
- return await WebAssembly.instantiate(bytes, imports);
298
-
299
- } else {
300
- const instance = await WebAssembly.instantiate(module, imports);
301
-
302
- if (instance instanceof WebAssembly.Instance) {
303
- return { instance, module };
304
-
305
- } else {
306
- return instance;
307
- }
308
- }
309
- }
310
-
311
- function __wbg_get_imports() {
312
- const imports = {};
313
- imports.wbg = {};
314
- imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
315
- takeObject(arg0);
316
- };
317
- imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
318
- const ret = getObject(arg0);
319
- return addHeapObject(ret);
320
- };
321
- imports.wbg.__wbg_log_3af90b48c052f90b = function(arg0, arg1) {
322
- console.log(getStringFromWasm0(arg0, arg1));
323
- };
324
- imports.wbg.__wbindgen_cb_drop = function(arg0) {
325
- const obj = takeObject(arg0).original;
326
- if (obj.cnt-- == 1) {
327
- obj.a = 0;
328
- return true;
329
- }
330
- const ret = false;
331
- return ret;
332
- };
333
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
334
- const ret = getStringFromWasm0(arg0, arg1);
335
- return addHeapObject(ret);
336
- };
337
- imports.wbg.__wbg_listenerid_12315eee21527820 = function(arg0, arg1) {
338
- const ret = getObject(arg1).__yew_listener_id;
339
- getInt32Memory0()[arg0 / 4 + 1] = isLikeNone(ret) ? 0 : ret;
340
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
341
- };
342
- imports.wbg.__wbg_setlistenerid_3183aae8fa5840fb = function(arg0, arg1) {
343
- getObject(arg0).__yew_listener_id = arg1 >>> 0;
344
- };
345
- imports.wbg.__wbg_setsubtreeid_d32e6327eef1f7fc = function(arg0, arg1) {
346
- getObject(arg0).__yew_subtree_id = arg1 >>> 0;
347
- };
348
- imports.wbg.__wbg_subtreeid_e348577f7ef777e3 = function(arg0, arg1) {
349
- const ret = getObject(arg1).__yew_subtree_id;
350
- getInt32Memory0()[arg0 / 4 + 1] = isLikeNone(ret) ? 0 : ret;
351
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
352
- };
353
- imports.wbg.__wbg_cachekey_b61393159c57fd7b = function(arg0, arg1) {
354
- const ret = getObject(arg1).__yew_subtree_cache_key;
355
- getInt32Memory0()[arg0 / 4 + 1] = isLikeNone(ret) ? 0 : ret;
356
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
357
- };
358
- imports.wbg.__wbg_setcachekey_80183b7cfc421143 = function(arg0, arg1) {
359
- getObject(arg0).__yew_subtree_cache_key = arg1 >>> 0;
360
- };
361
- imports.wbg.__wbg_error_71d6845bf00a930f = function(arg0, arg1) {
362
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
363
- wasm.__wbindgen_free(arg0, arg1 * 4);
364
- console.error(...v0);
365
- };
366
- imports.wbg.__wbg_warn_0b90a269a514ae1d = function(arg0, arg1) {
367
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
368
- wasm.__wbindgen_free(arg0, arg1 * 4);
369
- console.warn(...v0);
370
- };
371
- imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
372
- const ret = new Error();
373
- return addHeapObject(ret);
374
- };
375
- imports.wbg.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) {
376
- const ret = getObject(arg1).stack;
377
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
378
- const len1 = WASM_VECTOR_LEN;
379
- getInt32Memory0()[arg0 / 4 + 1] = len1;
380
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
381
- };
382
- imports.wbg.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
383
- let deferred0_0;
384
- let deferred0_1;
385
- try {
386
- deferred0_0 = arg0;
387
- deferred0_1 = arg1;
388
- console.error(getStringFromWasm0(arg0, arg1));
389
- } finally {
390
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
391
- }
392
- };
393
- imports.wbg.__wbg_location_7ac41949b772ef21 = function(arg0) {
394
- const ret = getObject(arg0).location;
395
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
396
- };
397
- imports.wbg.__wbg_body_674aec4c1c0910cd = function(arg0) {
398
- const ret = getObject(arg0).body;
399
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
400
- };
401
- imports.wbg.__wbg_createElement_4891554b28d3388b = function() { return handleError(function (arg0, arg1, arg2) {
402
- const ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2));
403
- return addHeapObject(ret);
404
- }, arguments) };
405
- imports.wbg.__wbg_createElementNS_119acf9e82482041 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
406
- const ret = getObject(arg0).createElementNS(arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
407
- return addHeapObject(ret);
408
- }, arguments) };
409
- imports.wbg.__wbg_createTextNode_2fd22cd7e543f938 = function(arg0, arg1, arg2) {
410
- const ret = getObject(arg0).createTextNode(getStringFromWasm0(arg1, arg2));
411
- return addHeapObject(ret);
412
- };
413
- imports.wbg.__wbg_instanceof_Window_9029196b662bc42a = function(arg0) {
414
- let result;
415
- try {
416
- result = getObject(arg0) instanceof Window;
417
- } catch {
418
- result = false;
419
- }
420
- const ret = result;
421
- return ret;
422
- };
423
- imports.wbg.__wbg_document_f7ace2b956f30a4f = function(arg0) {
424
- const ret = getObject(arg0).document;
425
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
426
- };
427
- imports.wbg.__wbg_location_56243dba507f472d = function(arg0) {
428
- const ret = getObject(arg0).location;
429
- return addHeapObject(ret);
430
- };
431
- imports.wbg.__wbg_performance_2c295061c8b01e0b = function(arg0) {
432
- const ret = getObject(arg0).performance;
433
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
434
- };
435
- imports.wbg.__wbg_fetch_336b6f0cb426b46e = function(arg0, arg1) {
436
- const ret = getObject(arg0).fetch(getObject(arg1));
437
- return addHeapObject(ret);
438
- };
439
- imports.wbg.__wbg_setchecked_e5a50baea447b8a8 = function(arg0, arg1) {
440
- getObject(arg0).checked = arg1 !== 0;
441
- };
442
- imports.wbg.__wbg_value_9423da9d988ee8cf = function(arg0, arg1) {
443
- const ret = getObject(arg1).value;
444
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
445
- const len1 = WASM_VECTOR_LEN;
446
- getInt32Memory0()[arg0 / 4 + 1] = len1;
447
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
448
- };
449
- imports.wbg.__wbg_setvalue_1f95e61cbc382f7f = function(arg0, arg1, arg2) {
450
- getObject(arg0).value = getStringFromWasm0(arg1, arg2);
451
- };
452
- imports.wbg.__wbg_newwithstrandinit_cad5cd6038c7ff5d = function() { return handleError(function (arg0, arg1, arg2) {
453
- const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
454
- return addHeapObject(ret);
455
- }, arguments) };
456
- imports.wbg.__wbg_setonmessage_f0bd0280573b7084 = function(arg0, arg1) {
457
- getObject(arg0).onmessage = getObject(arg1);
458
- };
459
- imports.wbg.__wbg_new_8e7322f46d5d019c = function() { return handleError(function (arg0, arg1) {
460
- const ret = new Worker(getStringFromWasm0(arg0, arg1));
461
- return addHeapObject(ret);
462
- }, arguments) };
463
- imports.wbg.__wbg_newwithoptions_1bd20b45061ed935 = function() { return handleError(function (arg0, arg1, arg2) {
464
- const ret = new Worker(getStringFromWasm0(arg0, arg1), getObject(arg2));
465
- return addHeapObject(ret);
466
- }, arguments) };
467
- imports.wbg.__wbg_postMessage_8c609e2bde333d9c = function() { return handleError(function (arg0, arg1) {
468
- getObject(arg0).postMessage(getObject(arg1));
469
- }, arguments) };
470
- imports.wbg.__wbg_instanceof_Response_fc4327dbfcdf5ced = function(arg0) {
471
- let result;
472
- try {
473
- result = getObject(arg0) instanceof Response;
474
- } catch {
475
- result = false;
476
- }
477
- const ret = result;
478
- return ret;
479
- };
480
- imports.wbg.__wbg_blob_34990e4300d45f53 = function() { return handleError(function (arg0) {
481
- const ret = getObject(arg0).blob();
482
- return addHeapObject(ret);
483
- }, arguments) };
484
- imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
485
- const ret = getObject(arg0).now();
486
- return ret;
487
- };
488
- imports.wbg.__wbg_debug_9b8701f894da9929 = function(arg0, arg1, arg2, arg3) {
489
- console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
490
- };
491
- imports.wbg.__wbg_error_788ae33f81d3b84b = function(arg0) {
492
- console.error(getObject(arg0));
493
- };
494
- imports.wbg.__wbg_error_d9bce418caafb712 = function(arg0, arg1, arg2, arg3) {
495
- console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
496
- };
497
- imports.wbg.__wbg_info_bb52f40b06f679de = function(arg0, arg1, arg2, arg3) {
498
- console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
499
- };
500
- imports.wbg.__wbg_log_ea7093e35e3efd07 = function(arg0, arg1, arg2, arg3) {
501
- console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
502
- };
503
- imports.wbg.__wbg_warn_dfc0e0cf544a13bd = function(arg0, arg1, arg2, arg3) {
504
- console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
505
- };
506
- imports.wbg.__wbg_instanceof_Element_4622f5da1249a3eb = function(arg0) {
507
- let result;
508
- try {
509
- result = getObject(arg0) instanceof Element;
510
- } catch {
511
- result = false;
512
- }
513
- const ret = result;
514
- return ret;
515
- };
516
- imports.wbg.__wbg_namespaceURI_31718ed49b5343a3 = function(arg0, arg1) {
517
- const ret = getObject(arg1).namespaceURI;
518
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
519
- var len1 = WASM_VECTOR_LEN;
520
- getInt32Memory0()[arg0 / 4 + 1] = len1;
521
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
522
- };
523
- imports.wbg.__wbg_setinnerHTML_b089587252408b67 = function(arg0, arg1, arg2) {
524
- getObject(arg0).innerHTML = getStringFromWasm0(arg1, arg2);
525
- };
526
- imports.wbg.__wbg_outerHTML_f7749ceff37b5832 = function(arg0, arg1) {
527
- const ret = getObject(arg1).outerHTML;
528
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
529
- const len1 = WASM_VECTOR_LEN;
530
- getInt32Memory0()[arg0 / 4 + 1] = len1;
531
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
532
- };
533
- imports.wbg.__wbg_children_27ed308801b57d3f = function(arg0) {
534
- const ret = getObject(arg0).children;
535
- return addHeapObject(ret);
536
- };
537
- imports.wbg.__wbg_removeAttribute_d8404da431968808 = function() { return handleError(function (arg0, arg1, arg2) {
538
- getObject(arg0).removeAttribute(getStringFromWasm0(arg1, arg2));
539
- }, arguments) };
540
- imports.wbg.__wbg_setAttribute_e7e80b478b7b8b2f = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
541
- getObject(arg0).setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
542
- }, arguments) };
543
- imports.wbg.__wbg_origin_50aa482fa6784a0a = function() { return handleError(function (arg0, arg1) {
544
- const ret = getObject(arg1).origin;
545
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
546
- const len1 = WASM_VECTOR_LEN;
547
- getInt32Memory0()[arg0 / 4 + 1] = len1;
548
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
549
- }, arguments) };
550
- imports.wbg.__wbg_pathname_c8fd5c498079312d = function() { return handleError(function (arg0, arg1) {
551
- const ret = getObject(arg1).pathname;
552
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
553
- const len1 = WASM_VECTOR_LEN;
554
- getInt32Memory0()[arg0 / 4 + 1] = len1;
555
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
556
- }, arguments) };
557
- imports.wbg.__wbg_data_ab99ae4a2e1e8bc9 = function(arg0) {
558
- const ret = getObject(arg0).data;
559
- return addHeapObject(ret);
560
- };
561
- imports.wbg.__wbg_target_f171e89c61e2bccf = function(arg0) {
562
- const ret = getObject(arg0).target;
563
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
564
- };
565
- imports.wbg.__wbg_bubbles_63572b91f3885ef1 = function(arg0) {
566
- const ret = getObject(arg0).bubbles;
567
- return ret;
568
- };
569
- imports.wbg.__wbg_cancelBubble_90d1c3aa2a76cbeb = function(arg0) {
570
- const ret = getObject(arg0).cancelBubble;
571
- return ret;
572
- };
573
- imports.wbg.__wbg_composedPath_cf1bb5b8bcff496f = function(arg0) {
574
- const ret = getObject(arg0).composedPath();
575
- return addHeapObject(ret);
576
- };
577
- imports.wbg.__wbg_parentNode_9e53f8b17eb98c9d = function(arg0) {
578
- const ret = getObject(arg0).parentNode;
579
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
580
- };
581
- imports.wbg.__wbg_parentElement_c75962bc9997ea5f = function(arg0) {
582
- const ret = getObject(arg0).parentElement;
583
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
584
- };
585
- imports.wbg.__wbg_lastChild_0cee692010bac6c2 = function(arg0) {
586
- const ret = getObject(arg0).lastChild;
587
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
588
- };
589
- imports.wbg.__wbg_nextSibling_304d9aac7c2774ae = function(arg0) {
590
- const ret = getObject(arg0).nextSibling;
591
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
592
- };
593
- imports.wbg.__wbg_setnodeValue_d1c8382910b45e04 = function(arg0, arg1, arg2) {
594
- getObject(arg0).nodeValue = arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2);
595
- };
596
- imports.wbg.__wbg_textContent_c5d9e21ee03c63d4 = function(arg0, arg1) {
597
- const ret = getObject(arg1).textContent;
598
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
599
- var len1 = WASM_VECTOR_LEN;
600
- getInt32Memory0()[arg0 / 4 + 1] = len1;
601
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
602
- };
603
- imports.wbg.__wbg_appendChild_51339d4cde00ee22 = function() { return handleError(function (arg0, arg1) {
604
- const ret = getObject(arg0).appendChild(getObject(arg1));
605
- return addHeapObject(ret);
606
- }, arguments) };
607
- imports.wbg.__wbg_insertBefore_ffa01d4b747c95fc = function() { return handleError(function (arg0, arg1, arg2) {
608
- const ret = getObject(arg0).insertBefore(getObject(arg1), getObject(arg2));
609
- return addHeapObject(ret);
610
- }, arguments) };
611
- imports.wbg.__wbg_removeChild_973429f368206138 = function() { return handleError(function (arg0, arg1) {
612
- const ret = getObject(arg0).removeChild(getObject(arg1));
613
- return addHeapObject(ret);
614
- }, arguments) };
615
- imports.wbg.__wbg_createObjectURL_d82f2880bada6a1d = function() { return handleError(function (arg0, arg1) {
616
- const ret = URL.createObjectURL(getObject(arg1));
617
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
618
- const len1 = WASM_VECTOR_LEN;
619
- getInt32Memory0()[arg0 / 4 + 1] = len1;
620
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
621
- }, arguments) };
622
- imports.wbg.__wbg_newwithstrsequenceandoptions_fd88a547f6d15707 = function() { return handleError(function (arg0, arg1) {
623
- const ret = new Blob(getObject(arg0), getObject(arg1));
624
- return addHeapObject(ret);
625
- }, arguments) };
626
- imports.wbg.__wbg_arrayBuffer_27cefaea55cbf063 = function(arg0) {
627
- const ret = getObject(arg0).arrayBuffer();
628
- return addHeapObject(ret);
629
- };
630
- imports.wbg.__wbg_addEventListener_a5963e26cd7b176b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
631
- getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4));
632
- }, arguments) };
633
- imports.wbg.__wbg_instanceof_ShadowRoot_b64337370f59fe2d = function(arg0) {
634
- let result;
635
- try {
636
- result = getObject(arg0) instanceof ShadowRoot;
637
- } catch {
638
- result = false;
639
- }
640
- const ret = result;
641
- return ret;
642
- };
643
- imports.wbg.__wbg_host_e1c47c33975060d3 = function(arg0) {
644
- const ret = getObject(arg0).host;
645
- return addHeapObject(ret);
646
- };
647
- imports.wbg.__wbg_value_3c5f08ffc2b7d6f9 = function(arg0, arg1) {
648
- const ret = getObject(arg1).value;
649
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
650
- const len1 = WASM_VECTOR_LEN;
651
- getInt32Memory0()[arg0 / 4 + 1] = len1;
652
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
653
- };
654
- imports.wbg.__wbg_setvalue_0dc100d4b9908028 = function(arg0, arg1, arg2) {
655
- getObject(arg0).value = getStringFromWasm0(arg1, arg2);
656
- };
657
- imports.wbg.__wbg_get_44be0491f933a435 = function(arg0, arg1) {
658
- const ret = getObject(arg0)[arg1 >>> 0];
659
- return addHeapObject(ret);
660
- };
661
- imports.wbg.__wbg_length_fff51ee6522a1a18 = function(arg0) {
662
- const ret = getObject(arg0).length;
663
- return ret;
664
- };
665
- imports.wbg.__wbg_new_898a68150f225f2e = function() {
666
- const ret = new Array();
667
- return addHeapObject(ret);
668
- };
669
- imports.wbg.__wbg_newnoargs_581967eacc0e2604 = function(arg0, arg1) {
670
- const ret = new Function(getStringFromWasm0(arg0, arg1));
671
- return addHeapObject(ret);
672
- };
673
- imports.wbg.__wbg_call_cb65541d95d71282 = function() { return handleError(function (arg0, arg1) {
674
- const ret = getObject(arg0).call(getObject(arg1));
675
- return addHeapObject(ret);
676
- }, arguments) };
677
- imports.wbg.__wbg_new_b51585de1b234aff = function() {
678
- const ret = new Object();
679
- return addHeapObject(ret);
680
- };
681
- imports.wbg.__wbg_self_1ff1d729e9aae938 = function() { return handleError(function () {
682
- const ret = self.self;
683
- return addHeapObject(ret);
684
- }, arguments) };
685
- imports.wbg.__wbg_window_5f4faef6c12b79ec = function() { return handleError(function () {
686
- const ret = window.window;
687
- return addHeapObject(ret);
688
- }, arguments) };
689
- imports.wbg.__wbg_globalThis_1d39714405582d3c = function() { return handleError(function () {
690
- const ret = globalThis.globalThis;
691
- return addHeapObject(ret);
692
- }, arguments) };
693
- imports.wbg.__wbg_global_651f05c6a0944d1c = function() { return handleError(function () {
694
- const ret = global.global;
695
- return addHeapObject(ret);
696
- }, arguments) };
697
- imports.wbg.__wbindgen_is_undefined = function(arg0) {
698
- const ret = getObject(arg0) === undefined;
699
- return ret;
700
- };
701
- imports.wbg.__wbg_from_d7c216d4616bb368 = function(arg0) {
702
- const ret = Array.from(getObject(arg0));
703
- return addHeapObject(ret);
704
- };
705
- imports.wbg.__wbg_push_ca1c26067ef907ac = function(arg0, arg1) {
706
- const ret = getObject(arg0).push(getObject(arg1));
707
- return ret;
708
- };
709
- imports.wbg.__wbg_is_205d914af04a8faa = function(arg0, arg1) {
710
- const ret = Object.is(getObject(arg0), getObject(arg1));
711
- return ret;
712
- };
713
- imports.wbg.__wbg_resolve_53698b95aaf7fcf8 = function(arg0) {
714
- const ret = Promise.resolve(getObject(arg0));
715
- return addHeapObject(ret);
716
- };
717
- imports.wbg.__wbg_then_f7e06ee3c11698eb = function(arg0, arg1) {
718
- const ret = getObject(arg0).then(getObject(arg1));
719
- return addHeapObject(ret);
720
- };
721
- imports.wbg.__wbg_then_b2267541e2a73865 = function(arg0, arg1, arg2) {
722
- const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
723
- return addHeapObject(ret);
724
- };
725
- imports.wbg.__wbg_buffer_085ec1f694018c4f = function(arg0) {
726
- const ret = getObject(arg0).buffer;
727
- return addHeapObject(ret);
728
- };
729
- imports.wbg.__wbg_newwithbyteoffsetandlength_6da8e527659b86aa = function(arg0, arg1, arg2) {
730
- const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
731
- return addHeapObject(ret);
732
- };
733
- imports.wbg.__wbg_new_8125e318e6245eed = function(arg0) {
734
- const ret = new Uint8Array(getObject(arg0));
735
- return addHeapObject(ret);
736
- };
737
- imports.wbg.__wbg_set_5cf90238115182c3 = function(arg0, arg1, arg2) {
738
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
739
- };
740
- imports.wbg.__wbg_length_72e2208bbc0efc61 = function(arg0) {
741
- const ret = getObject(arg0).length;
742
- return ret;
743
- };
744
- imports.wbg.__wbg_set_092e06b0f9d71865 = function() { return handleError(function (arg0, arg1, arg2) {
745
- const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
746
- return ret;
747
- }, arguments) };
748
- imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
749
- const ret = debugString(getObject(arg1));
750
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
751
- const len1 = WASM_VECTOR_LEN;
752
- getInt32Memory0()[arg0 / 4 + 1] = len1;
753
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
754
- };
755
- imports.wbg.__wbindgen_throw = function(arg0, arg1) {
756
- throw new Error(getStringFromWasm0(arg0, arg1));
757
- };
758
- imports.wbg.__wbindgen_memory = function() {
759
- const ret = wasm.memory;
760
- return addHeapObject(ret);
761
- };
762
- imports.wbg.__wbindgen_closure_wrapper179 = function(arg0, arg1, arg2) {
763
- const ret = makeClosure(arg0, arg1, 38, __wbg_adapter_18);
764
- return addHeapObject(ret);
765
- };
766
- imports.wbg.__wbindgen_closure_wrapper391 = function(arg0, arg1, arg2) {
767
- const ret = makeMutClosure(arg0, arg1, 127, __wbg_adapter_21);
768
- return addHeapObject(ret);
769
- };
770
- imports.wbg.__wbindgen_closure_wrapper670 = function(arg0, arg1, arg2) {
771
- const ret = makeMutClosure(arg0, arg1, 235, __wbg_adapter_24);
772
- return addHeapObject(ret);
773
- };
774
-
775
- return imports;
776
- }
777
-
778
- function __wbg_init_memory(imports, maybe_memory) {
779
-
780
- }
781
-
782
- function __wbg_finalize_init(instance, module) {
783
- wasm = instance.exports;
784
- __wbg_init.__wbindgen_wasm_module = module;
785
- cachedInt32Memory0 = null;
786
- cachedUint32Memory0 = null;
787
- cachedUint8Memory0 = null;
788
-
789
- wasm.__wbindgen_start();
790
- return wasm;
791
- }
792
-
793
- function initSync(module) {
794
- if (wasm !== undefined) return wasm;
795
-
796
- const imports = __wbg_get_imports();
797
-
798
- __wbg_init_memory(imports);
799
-
800
- if (!(module instanceof WebAssembly.Module)) {
801
- module = new WebAssembly.Module(module);
802
- }
803
-
804
- const instance = new WebAssembly.Instance(module, imports);
805
-
806
- return __wbg_finalize_init(instance, module);
807
- }
808
-
809
- async function __wbg_init(input) {
810
- if (wasm !== undefined) return wasm;
811
-
812
- if (typeof input === 'undefined') {
813
- input = new URL('app-fc3fb0e73c846240_bg.wasm', import.meta.url);
814
- }
815
- const imports = __wbg_get_imports();
816
-
817
- if (typeof input === 'string' || (typeof Request === 'function' && input instanceof Request) || (typeof URL === 'function' && input instanceof URL)) {
818
- input = fetch(input);
819
- }
820
-
821
- __wbg_init_memory(imports);
822
-
823
- const { instance, module } = await __wbg_load(await input, imports);
824
-
825
- return __wbg_finalize_init(instance, module);
826
- }
827
-
828
- export { initSync }
829
- export default __wbg_init;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app-fc3fb0e73c846240_bg.wasm DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e69ecbad7c5496a52bd98bc3b7b3821bfd7f3b91301af60046370acd34861619
3
- size 310479
 
 
 
 
build/m.d.ts ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ */
5
+ export class Model {
6
+ free(): void;
7
+ /**
8
+ * @param {Uint8Array} weights
9
+ * @param {Uint8Array} tokenizer
10
+ */
11
+ constructor(weights: Uint8Array, tokenizer: Uint8Array);
12
+ /**
13
+ * @returns {number}
14
+ */
15
+ get_seq_len(): number;
16
+ /**
17
+ * @param {string} prompt
18
+ * @param {number} temp
19
+ * @param {number} repeat_penalty
20
+ * @param {bigint} seed
21
+ * @returns {string}
22
+ */
23
+ init_with_prompt(prompt: string, temp: number, repeat_penalty: number, seed: bigint): string;
24
+ /**
25
+ * @returns {string}
26
+ */
27
+ next_token(): string;
28
+ }
29
+
30
+ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
31
+
32
+ export interface InitOutput {
33
+ readonly memory: WebAssembly.Memory;
34
+ readonly __wbg_model_free: (a: number) => void;
35
+ readonly model_new: (a: number, b: number, c: number, d: number, e: number) => void;
36
+ readonly model_get_seq_len: (a: number) => number;
37
+ readonly model_init_with_prompt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
38
+ readonly model_next_token: (a: number, b: number) => void;
39
+ readonly main: (a: number, b: number) => number;
40
+ readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
41
+ readonly __wbindgen_malloc: (a: number, b: number) => number;
42
+ readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
43
+ readonly __wbindgen_free: (a: number, b: number, c: number) => void;
44
+ readonly __wbindgen_exn_store: (a: number) => void;
45
+ readonly __wbindgen_start: () => void;
46
+ }
47
+
48
+ export type SyncInitInput = BufferSource | WebAssembly.Module;
49
+ /**
50
+ * Instantiates the given `module`, which can either be bytes or
51
+ * a precompiled `WebAssembly.Module`.
52
+ *
53
+ * @param {SyncInitInput} module
54
+ *
55
+ * @returns {InitOutput}
56
+ */
57
+ export function initSync(module: SyncInitInput): InitOutput;
58
+
59
+ /**
60
+ * If `module_or_path` is {RequestInfo} or {URL}, makes a request and
61
+ * for everything else, calls `WebAssembly.instantiate` directly.
62
+ *
63
+ * @param {InitInput | Promise<InitInput>} module_or_path
64
+ *
65
+ * @returns {Promise<InitOutput>}
66
+ */
67
+ export default function __wbg_init (module_or_path?: InitInput | Promise<InitInput>): Promise<InitOutput>;
worker.js β†’ build/m.js RENAMED
@@ -1,32 +1,29 @@
1
- let wasm_bindgen;
2
- (function() {
3
- const __exports = {};
4
- let script_src;
5
- if (typeof document !== 'undefined' && document.currentScript !== null) {
6
- script_src = new URL(document.currentScript.src, location.href).toString();
7
- }
8
- let wasm = undefined;
9
-
10
- const heap = new Array(128).fill(undefined);
11
 
12
- heap.push(undefined, null, true, false);
13
 
14
- function getObject(idx) { return heap[idx]; }
15
 
16
- let heap_next = heap.length;
17
 
18
- function dropObject(idx) {
19
- if (idx < 132) return;
20
- heap[idx] = heap_next;
21
- heap_next = idx;
 
22
  }
23
 
24
- function takeObject(idx) {
25
- const ret = getObject(idx);
26
- dropObject(idx);
27
- return ret;
28
  }
29
 
 
 
 
 
 
 
30
  function addHeapObject(obj) {
31
  if (heap_next === heap.length) heap.push(heap.length + 1);
32
  const idx = heap_next;
@@ -36,91 +33,38 @@ function addHeapObject(obj) {
36
  return idx;
37
  }
38
 
39
- const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
40
-
41
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
42
 
43
- let cachedUint8Memory0 = null;
 
 
 
 
44
 
45
- function getUint8Memory0() {
46
- if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
47
- cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
48
- }
49
- return cachedUint8Memory0;
50
  }
51
 
52
- function getStringFromWasm0(ptr, len) {
53
- ptr = ptr >>> 0;
54
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
 
 
 
 
55
  }
56
 
57
- function debugString(val) {
58
- // primitive types
59
- const type = typeof val;
60
- if (type == 'number' || type == 'boolean' || val == null) {
61
- return `${val}`;
62
- }
63
- if (type == 'string') {
64
- return `"${val}"`;
65
- }
66
- if (type == 'symbol') {
67
- const description = val.description;
68
- if (description == null) {
69
- return 'Symbol';
70
- } else {
71
- return `Symbol(${description})`;
72
- }
73
- }
74
- if (type == 'function') {
75
- const name = val.name;
76
- if (typeof name == 'string' && name.length > 0) {
77
- return `Function(${name})`;
78
- } else {
79
- return 'Function';
80
- }
81
- }
82
- // objects
83
- if (Array.isArray(val)) {
84
- const length = val.length;
85
- let debug = '[';
86
- if (length > 0) {
87
- debug += debugString(val[0]);
88
- }
89
- for(let i = 1; i < length; i++) {
90
- debug += ', ' + debugString(val[i]);
91
- }
92
- debug += ']';
93
- return debug;
94
- }
95
- // Test for built-in
96
- const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
97
- let className;
98
- if (builtInMatches.length > 1) {
99
- className = builtInMatches[1];
100
- } else {
101
- // Failed to match the standard '[object ClassName]'
102
- return toString.call(val);
103
- }
104
- if (className == 'Object') {
105
- // we're a user defined class or Object
106
- // JSON.stringify avoids problems with cycles, and is generally much
107
- // easier than looping through ownProperties of `val`.
108
- try {
109
- return 'Object(' + JSON.stringify(val) + ')';
110
- } catch (_) {
111
- return 'Object';
112
- }
113
- }
114
- // errors
115
- if (val instanceof Error) {
116
- return `${val.name}: ${val.message}\n${val.stack}`;
117
  }
118
- // TODO we could test for more things here, like `Set`s and `Map`s.
119
- return className;
120
  }
121
 
122
- let WASM_VECTOR_LEN = 0;
123
-
124
  const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
125
 
126
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
@@ -174,45 +118,125 @@ function passStringToWasm0(arg, malloc, realloc) {
174
  return ptr;
175
  }
176
 
177
- let cachedInt32Memory0 = null;
178
-
179
- function getInt32Memory0() {
180
- if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
181
- cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
182
  }
183
- return cachedInt32Memory0;
184
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185
 
186
- function makeClosure(arg0, arg1, dtor, f) {
187
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
188
- const real = (...args) => {
189
- // First up with a closure we increment the internal reference
190
- // count. This ensures that the Rust closure environment won't
191
- // be deallocated while we're invoking it.
192
- state.cnt++;
 
 
193
  try {
194
- return f(state.a, state.b, ...args);
 
 
 
 
 
 
 
 
 
 
 
 
195
  } finally {
196
- if (--state.cnt === 0) {
197
- wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b);
198
- state.a = 0;
199
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
200
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
  }
202
- };
203
- real.original = state;
204
-
205
- return real;
206
- }
207
- function __wbg_adapter_22(arg0, arg1, arg2) {
208
- wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h394c66cd6bc0689a(arg0, arg1, addHeapObject(arg2));
209
- }
210
-
211
- function handleError(f, args) {
212
- try {
213
- return f.apply(this, args);
214
- } catch (e) {
215
- wasm.__wbindgen_exn_store(addHeapObject(e));
216
  }
217
  }
218
 
@@ -250,26 +274,21 @@ async function __wbg_load(module, imports) {
250
  function __wbg_get_imports() {
251
  const imports = {};
252
  imports.wbg = {};
253
- imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
254
- takeObject(arg0);
 
255
  };
256
  imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
257
  const ret = getObject(arg0);
258
  return addHeapObject(ret);
259
  };
260
- imports.wbg.__wbg_log_3af90b48c052f90b = function(arg0, arg1) {
261
- console.log(getStringFromWasm0(arg0, arg1));
262
  };
263
  imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
264
  const ret = getStringFromWasm0(arg0, arg1);
265
  return addHeapObject(ret);
266
  };
267
- imports.wbg.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
268
- getObject(arg0).getRandomValues(getObject(arg1));
269
- }, arguments) };
270
- imports.wbg.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
271
- getObject(arg0).randomFillSync(takeObject(arg1));
272
- }, arguments) };
273
  imports.wbg.__wbg_crypto_c48a774b022d20ac = function(arg0) {
274
  const ret = getObject(arg0).crypto;
275
  return addHeapObject(ret);
@@ -307,41 +326,12 @@ function __wbg_get_imports() {
307
  const ret = typeof(getObject(arg0)) === 'function';
308
  return ret;
309
  };
310
- imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
311
- const ret = new Error();
312
- return addHeapObject(ret);
313
- };
314
- imports.wbg.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) {
315
- const ret = getObject(arg1).stack;
316
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
317
- const len1 = WASM_VECTOR_LEN;
318
- getInt32Memory0()[arg0 / 4 + 1] = len1;
319
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
320
- };
321
- imports.wbg.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
322
- let deferred0_0;
323
- let deferred0_1;
324
- try {
325
- deferred0_0 = arg0;
326
- deferred0_1 = arg1;
327
- console.error(getStringFromWasm0(arg0, arg1));
328
- } finally {
329
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
330
- }
331
- };
332
- imports.wbg.__wbg_setonmessage_731266b6f3ab0860 = function(arg0, arg1) {
333
- getObject(arg0).onmessage = getObject(arg1);
334
- };
335
- imports.wbg.__wbg_close_889c0c4e86f1403e = function(arg0) {
336
- getObject(arg0).close();
337
- };
338
- imports.wbg.__wbg_postMessage_2f0b8369b84c3c1e = function() { return handleError(function (arg0, arg1) {
339
- getObject(arg0).postMessage(getObject(arg1));
340
  }, arguments) };
341
- imports.wbg.__wbg_data_ab99ae4a2e1e8bc9 = function(arg0) {
342
- const ret = getObject(arg0).data;
343
- return addHeapObject(ret);
344
- };
345
  imports.wbg.__wbg_newnoargs_581967eacc0e2604 = function(arg0, arg1) {
346
  const ret = new Function(getStringFromWasm0(arg0, arg1));
347
  return addHeapObject(ret);
@@ -389,10 +379,6 @@ function __wbg_get_imports() {
389
  imports.wbg.__wbg_set_5cf90238115182c3 = function(arg0, arg1, arg2) {
390
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
391
  };
392
- imports.wbg.__wbg_length_72e2208bbc0efc61 = function(arg0) {
393
- const ret = getObject(arg0).length;
394
- return ret;
395
- };
396
  imports.wbg.__wbg_newwithlength_e5d69174d6984cd7 = function(arg0) {
397
  const ret = new Uint8Array(arg0 >>> 0);
398
  return addHeapObject(ret);
@@ -401,13 +387,6 @@ function __wbg_get_imports() {
401
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
402
  return addHeapObject(ret);
403
  };
404
- imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
405
- const ret = debugString(getObject(arg1));
406
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
407
- const len1 = WASM_VECTOR_LEN;
408
- getInt32Memory0()[arg0 / 4 + 1] = len1;
409
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
410
- };
411
  imports.wbg.__wbindgen_throw = function(arg0, arg1) {
412
  throw new Error(getStringFromWasm0(arg0, arg1));
413
  };
@@ -415,10 +394,6 @@ function __wbg_get_imports() {
415
  const ret = wasm.memory;
416
  return addHeapObject(ret);
417
  };
418
- imports.wbg.__wbindgen_closure_wrapper91 = function(arg0, arg1, arg2) {
419
- const ret = makeClosure(arg0, arg1, 30, __wbg_adapter_22);
420
- return addHeapObject(ret);
421
- };
422
 
423
  return imports;
424
  }
@@ -456,8 +431,8 @@ function initSync(module) {
456
  async function __wbg_init(input) {
457
  if (wasm !== undefined) return wasm;
458
 
459
- if (typeof input === 'undefined' && script_src !== 'undefined') {
460
- input = script_src.replace(/\.js$/, '_bg.wasm');
461
  }
462
  const imports = __wbg_get_imports();
463
 
@@ -472,6 +447,5 @@ async function __wbg_init(input) {
472
  return __wbg_finalize_init(instance, module);
473
  }
474
 
475
- wasm_bindgen = Object.assign(__wbg_init, { initSync }, __exports);
476
-
477
- })();
 
1
+ let wasm;
 
 
 
 
 
 
 
 
 
2
 
3
+ const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
4
 
5
+ if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
6
 
7
+ let cachedUint8Memory0 = null;
8
 
9
+ function getUint8Memory0() {
10
+ if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
11
+ cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
12
+ }
13
+ return cachedUint8Memory0;
14
  }
15
 
16
+ function getStringFromWasm0(ptr, len) {
17
+ ptr = ptr >>> 0;
18
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
 
19
  }
20
 
21
+ const heap = new Array(128).fill(undefined);
22
+
23
+ heap.push(undefined, null, true, false);
24
+
25
+ let heap_next = heap.length;
26
+
27
  function addHeapObject(obj) {
28
  if (heap_next === heap.length) heap.push(heap.length + 1);
29
  const idx = heap_next;
 
33
  return idx;
34
  }
35
 
36
+ function getObject(idx) { return heap[idx]; }
 
 
37
 
38
+ function dropObject(idx) {
39
+ if (idx < 132) return;
40
+ heap[idx] = heap_next;
41
+ heap_next = idx;
42
+ }
43
 
44
+ function takeObject(idx) {
45
+ const ret = getObject(idx);
46
+ dropObject(idx);
47
+ return ret;
 
48
  }
49
 
50
+ let WASM_VECTOR_LEN = 0;
51
+
52
+ function passArray8ToWasm0(arg, malloc) {
53
+ const ptr = malloc(arg.length * 1, 1) >>> 0;
54
+ getUint8Memory0().set(arg, ptr / 1);
55
+ WASM_VECTOR_LEN = arg.length;
56
+ return ptr;
57
  }
58
 
59
+ let cachedInt32Memory0 = null;
60
+
61
+ function getInt32Memory0() {
62
+ if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
63
+ cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  }
65
+ return cachedInt32Memory0;
 
66
  }
67
 
 
 
68
  const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
69
 
70
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
 
118
  return ptr;
119
  }
120
 
121
+ function handleError(f, args) {
122
+ try {
123
+ return f.apply(this, args);
124
+ } catch (e) {
125
+ wasm.__wbindgen_exn_store(addHeapObject(e));
126
  }
 
127
  }
128
+ /**
129
+ */
130
+ export class Model {
131
+
132
+ static __wrap(ptr) {
133
+ ptr = ptr >>> 0;
134
+ const obj = Object.create(Model.prototype);
135
+ obj.__wbg_ptr = ptr;
136
+
137
+ return obj;
138
+ }
139
+
140
+ __destroy_into_raw() {
141
+ const ptr = this.__wbg_ptr;
142
+ this.__wbg_ptr = 0;
143
+
144
+ return ptr;
145
+ }
146
 
147
+ free() {
148
+ const ptr = this.__destroy_into_raw();
149
+ wasm.__wbg_model_free(ptr);
150
+ }
151
+ /**
152
+ * @param {Uint8Array} weights
153
+ * @param {Uint8Array} tokenizer
154
+ */
155
+ constructor(weights, tokenizer) {
156
  try {
157
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
158
+ const ptr0 = passArray8ToWasm0(weights, wasm.__wbindgen_malloc);
159
+ const len0 = WASM_VECTOR_LEN;
160
+ const ptr1 = passArray8ToWasm0(tokenizer, wasm.__wbindgen_malloc);
161
+ const len1 = WASM_VECTOR_LEN;
162
+ wasm.model_new(retptr, ptr0, len0, ptr1, len1);
163
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
164
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
165
+ var r2 = getInt32Memory0()[retptr / 4 + 2];
166
+ if (r2) {
167
+ throw takeObject(r1);
168
+ }
169
+ return Model.__wrap(r0);
170
  } finally {
171
+ wasm.__wbindgen_add_to_stack_pointer(16);
172
+ }
173
+ }
174
+ /**
175
+ * @returns {number}
176
+ */
177
+ get_seq_len() {
178
+ const ret = wasm.model_get_seq_len(this.__wbg_ptr);
179
+ return ret >>> 0;
180
+ }
181
+ /**
182
+ * @param {string} prompt
183
+ * @param {number} temp
184
+ * @param {number} repeat_penalty
185
+ * @param {bigint} seed
186
+ * @returns {string}
187
+ */
188
+ init_with_prompt(prompt, temp, repeat_penalty, seed) {
189
+ let deferred3_0;
190
+ let deferred3_1;
191
+ try {
192
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
193
+ const ptr0 = passStringToWasm0(prompt, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
194
+ const len0 = WASM_VECTOR_LEN;
195
+ wasm.model_init_with_prompt(retptr, this.__wbg_ptr, ptr0, len0, temp, repeat_penalty, seed);
196
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
197
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
198
+ var r2 = getInt32Memory0()[retptr / 4 + 2];
199
+ var r3 = getInt32Memory0()[retptr / 4 + 3];
200
+ var ptr2 = r0;
201
+ var len2 = r1;
202
+ if (r3) {
203
+ ptr2 = 0; len2 = 0;
204
+ throw takeObject(r2);
205
  }
206
+ deferred3_0 = ptr2;
207
+ deferred3_1 = len2;
208
+ return getStringFromWasm0(ptr2, len2);
209
+ } finally {
210
+ wasm.__wbindgen_add_to_stack_pointer(16);
211
+ wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
212
+ }
213
+ }
214
+ /**
215
+ * @returns {string}
216
+ */
217
+ next_token() {
218
+ let deferred2_0;
219
+ let deferred2_1;
220
+ try {
221
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
222
+ wasm.model_next_token(retptr, this.__wbg_ptr);
223
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
224
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
225
+ var r2 = getInt32Memory0()[retptr / 4 + 2];
226
+ var r3 = getInt32Memory0()[retptr / 4 + 3];
227
+ var ptr1 = r0;
228
+ var len1 = r1;
229
+ if (r3) {
230
+ ptr1 = 0; len1 = 0;
231
+ throw takeObject(r2);
232
+ }
233
+ deferred2_0 = ptr1;
234
+ deferred2_1 = len1;
235
+ return getStringFromWasm0(ptr1, len1);
236
+ } finally {
237
+ wasm.__wbindgen_add_to_stack_pointer(16);
238
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
239
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
240
  }
241
  }
242
 
 
274
  function __wbg_get_imports() {
275
  const imports = {};
276
  imports.wbg = {};
277
+ imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
278
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
279
+ return addHeapObject(ret);
280
  };
281
  imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
282
  const ret = getObject(arg0);
283
  return addHeapObject(ret);
284
  };
285
+ imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
286
+ takeObject(arg0);
287
  };
288
  imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
289
  const ret = getStringFromWasm0(arg0, arg1);
290
  return addHeapObject(ret);
291
  };
 
 
 
 
 
 
292
  imports.wbg.__wbg_crypto_c48a774b022d20ac = function(arg0) {
293
  const ret = getObject(arg0).crypto;
294
  return addHeapObject(ret);
 
326
  const ret = typeof(getObject(arg0)) === 'function';
327
  return ret;
328
  };
329
+ imports.wbg.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
330
+ getObject(arg0).getRandomValues(getObject(arg1));
331
+ }, arguments) };
332
+ imports.wbg.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
333
+ getObject(arg0).randomFillSync(takeObject(arg1));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
334
  }, arguments) };
 
 
 
 
335
  imports.wbg.__wbg_newnoargs_581967eacc0e2604 = function(arg0, arg1) {
336
  const ret = new Function(getStringFromWasm0(arg0, arg1));
337
  return addHeapObject(ret);
 
379
  imports.wbg.__wbg_set_5cf90238115182c3 = function(arg0, arg1, arg2) {
380
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
381
  };
 
 
 
 
382
  imports.wbg.__wbg_newwithlength_e5d69174d6984cd7 = function(arg0) {
383
  const ret = new Uint8Array(arg0 >>> 0);
384
  return addHeapObject(ret);
 
387
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
388
  return addHeapObject(ret);
389
  };
 
 
 
 
 
 
 
390
  imports.wbg.__wbindgen_throw = function(arg0, arg1) {
391
  throw new Error(getStringFromWasm0(arg0, arg1));
392
  };
 
394
  const ret = wasm.memory;
395
  return addHeapObject(ret);
396
  };
 
 
 
 
397
 
398
  return imports;
399
  }
 
431
  async function __wbg_init(input) {
432
  if (wasm !== undefined) return wasm;
433
 
434
+ if (typeof input === 'undefined') {
435
+ input = new URL('m_bg.wasm', import.meta.url);
436
  }
437
  const imports = __wbg_get_imports();
438
 
 
447
  return __wbg_finalize_init(instance, module);
448
  }
449
 
450
+ export { initSync }
451
+ export default __wbg_init;
 
app-ce1542bf305e9c17_bg.wasm β†’ build/m_bg.wasm RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f1ee9281e07047e62bb1880a4ab8d4168d263dc1ba2623f6adabae5571766ef5
3
- size 313016
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:702ada87fc9382641b032d5954eb68c05cb34fa1ffa25efe9699ee50cb745d8a
3
+ size 3724190
build/m_bg.wasm.d.ts ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ export const memory: WebAssembly.Memory;
4
+ export function __wbg_model_free(a: number): void;
5
+ export function model_new(a: number, b: number, c: number, d: number, e: number): void;
6
+ export function model_get_seq_len(a: number): number;
7
+ export function model_init_with_prompt(a: number, b: number, c: number, d: number, e: number, f: number, g: number): void;
8
+ export function model_next_token(a: number, b: number): void;
9
+ export function main(a: number, b: number): number;
10
+ export function __wbindgen_add_to_stack_pointer(a: number): number;
11
+ export function __wbindgen_malloc(a: number, b: number): number;
12
+ export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
13
+ export function __wbindgen_free(a: number, b: number, c: number): void;
14
+ export function __wbindgen_exn_store(a: number): void;
15
+ export function __wbindgen_start(): void;
index.html CHANGED
@@ -1,45 +1,327 @@
1
- <!DOCTYPE html><html lang="en"><head>
2
- <meta charset="utf-8">
3
- <title>Welcome to Candle!</title>
4
-
5
-
6
-
7
- <script type="module">import init from '/app-ce1542bf305e9c17.js';init('/app-ce1542bf305e9c17_bg.wasm');</script>
8
-
9
-
10
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
11
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
12
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/milligram/1.4.1/milligram.css">
13
-
14
- <link rel="preload" href="/app-ce1542bf305e9c17_bg.wasm" as="fetch" type="application/wasm" crossorigin="">
15
- <link rel="modulepreload" href="/app-ce1542bf305e9c17.js"></head>
16
- <body>
17
-
18
- <script>(function () {
19
- var protocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:';
20
- var url = protocol + '//' + window.location.host + '/_trunk/ws';
21
- var poll_interval = 5000;
22
- var reload_upon_connect = () => {
23
- window.setTimeout(
24
- () => {
25
- // when we successfully reconnect, we'll force a
26
- // reload (since we presumably lost connection to
27
- // trunk due to it being killed, so it will have
28
- // rebuilt on restart)
29
- var ws = new WebSocket(url);
30
- ws.onopen = () => window.location.reload();
31
- ws.onclose = reload_upon_connect;
32
- },
33
- poll_interval);
34
- };
35
-
36
- var ws = new WebSocket(url);
37
- ws.onmessage = (ev) => {
38
- const msg = JSON.parse(ev.data);
39
- if (msg.reload) {
40
- window.location.reload();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  }
42
- };
43
- ws.onclose = reload_upon_connect;
44
- })()
45
- </script></body></html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html>
2
+ <head>
3
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
4
+ <title>Candle Llama.c Rust/WASM</title>
5
+ </head>
6
+ <body></body>
7
+ </html>
8
+
9
+ <!doctype html>
10
+ <html>
11
+ <head>
12
+ <meta charset="UTF-8" />
13
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
14
+ <style>
15
+ @import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@200;300;400&family=Source+Sans+3:wght@100;200;300;400;500;600;700;800;900&display=swap");
16
+ html,
17
+ body {
18
+ font-family: "Source Sans 3", sans-serif;
19
+ }
20
+ code,
21
+ output,
22
+ select,
23
+ pre {
24
+ font-family: "Source Code Pro", monospace;
25
+ }
26
+ </style>
27
+ <script src="https://cdn.tailwindcss.com"></script>
28
+ <script type="module">
29
+ // base url for audio examples
30
+ const MODELS_BASE_URL =
31
+ "https://huggingface.co/karpathy/tinyllamas/resolve/main";
32
+
33
+ // models base url
34
+ const MODELS = {
35
+ stories15M: {
36
+ url: "stories15M.bin",
37
+ seq_len: 256,
38
+ },
39
+ stories42M: {
40
+ url: "stories42M.bin",
41
+ seq_len: 256,
42
+ },
43
+ stories110M: {
44
+ url: "stories110M.bin",
45
+ seq_len: 256,
46
+ },
47
+ };
48
+
49
+ const llamaWorker = new Worker("./llama2cWorker.js", {
50
+ type: "module",
51
+ });
52
+ async function generateSequence(controller) {
53
+ const getValue = (id) => document.querySelector(`#${id}`).value;
54
+ const modelID = getValue("model");
55
+ const model = MODELS[modelID];
56
+ const weightsURL = `${MODELS_BASE_URL}/${model.url}`;
57
+ const prompt = getValue("prompt");
58
+ const temperature = getValue("temperature");
59
+ const repeatPenalty = getValue("repeat_penalty");
60
+ const seed = getValue("seed");
61
+ const maxSeqLen = getValue("max-seq");
62
+
63
+ function updateStatus(data) {
64
+ const outStatus = document.querySelector("#output-status");
65
+ const outGen = document.querySelector("#output-generation");
66
+ const outCounter = document.querySelector("#output-counter");
67
+
68
+ switch (data.status) {
69
+ case "loading":
70
+ outStatus.hidden = false;
71
+ outStatus.textContent = data.message;
72
+ outGen.hidden = true;
73
+ outCounter.hidden = true;
74
+ break;
75
+ case "generating":
76
+ const { message, prompt, sentence, tokensSec, totalTime } = data;
77
+ outStatus.hidden = true;
78
+ outCounter.hidden = false;
79
+ outGen.hidden = false;
80
+ outGen.innerHTML = `<span class="font-semibold">${prompt}</span>${sentence.replace(
81
+ /\<s\>|\<\/s\>/g,
82
+ ""
83
+ )}`;
84
+ outCounter.innerHTML = `${(totalTime / 1000).toFixed(
85
+ 2
86
+ )}s (${tokensSec.toFixed(2)} tok/s)`;
87
+ break;
88
+ case "complete":
89
+ outStatus.hidden = true;
90
+ outGen.hidden = false;
91
+ break;
92
+ }
93
  }
94
+
95
+ return new Promise((resolve, reject) => {
96
+ llamaWorker.postMessage({
97
+ weightsURL,
98
+ modelID,
99
+ tokenizerURL: "tokenizer.json",
100
+ prompt,
101
+ temp: temperature,
102
+ repeatPenalty,
103
+ seed: BigInt(seed),
104
+ maxSeqLen,
105
+ command: "start",
106
+ });
107
+
108
+ const handleAbort = () => {
109
+ llamaWorker.postMessage({ command: "abort" });
110
+ };
111
+ const handleMessage = (event) => {
112
+ const { status, error, message, prompt, sentence } = event.data;
113
+ if (status) updateStatus(event.data);
114
+ if (error) reject(new Error(error));
115
+ if (status === "complete") resolve(event.data);
116
+ };
117
+
118
+ controller.signal.addEventListener("abort", handleAbort);
119
+ llamaWorker.addEventListener("message", handleMessage);
120
+ });
121
+ }
122
+
123
+ const form = document.querySelector("#form");
124
+ const prompt = document.querySelector("#prompt");
125
+ const clearBtn = document.querySelector("#clear-btn");
126
+ const runBtn = document.querySelector("#run");
127
+ let runController = new AbortController();
128
+ let isRunning = false;
129
+
130
+ form.addEventListener("submit", async (e) => {
131
+ e.preventDefault();
132
+ if (isRunning) {
133
+ stopRunning();
134
+ } else {
135
+ startRunning();
136
+ await generateSequence(runController);
137
+ stopRunning();
138
+ }
139
+ });
140
+
141
+ function startRunning() {
142
+ isRunning = true;
143
+ runBtn.textContent = "Stop";
144
+ }
145
+
146
+ function stopRunning() {
147
+ runController.abort();
148
+ runController = new AbortController();
149
+ runBtn.textContent = "Run";
150
+ isRunning = false;
151
+ }
152
+ clearBtn.addEventListener("click", (e) => {
153
+ e.preventDefault();
154
+ prompt.value = "";
155
+ clearBtn.classList.add("invisible");
156
+ runBtn.disabled = true;
157
+ stopRunning();
158
+ });
159
+ prompt.addEventListener("input", (e) => {
160
+ runBtn.disabled = false;
161
+ if (e.target.value.length > 0) {
162
+ clearBtn.classList.remove("invisible");
163
+ } else {
164
+ clearBtn.classList.add("invisible");
165
+ }
166
+ });
167
+ </script>
168
+ </head>
169
+ <body class="container max-w-4xl mx-auto p-4 text-gray-800">
170
+ <main class="grid grid-cols-1 gap-8 relative">
171
+ <span class="absolute text-5xl -ml-[1em]"> πŸ•―οΈ </span>
172
+ <div>
173
+ <h1 class="text-5xl font-bold">Candle Llama2.c</h1>
174
+ <h2 class="text-2xl font-bold">Rust/WASM Demo</h2>
175
+ <p class="max-w-lg">
176
+ <a
177
+ href="https://github.com/karpathy/llama2.c"
178
+ target="_blank"
179
+ class="underline hover:text-blue-500 hover:no-underline"
180
+ target="_blank"
181
+ >Llama2.c</a
182
+ >
183
+ is Andrey Karpathy's C implementation of the Llama 2 LLM model in C.
184
+ This demo uses
185
+ <a
186
+ href="https://github.com/huggingface/candle/"
187
+ target="_blank"
188
+ class="underline hover:text-blue-500 hover:no-underline"
189
+ >Candle
190
+ </a>
191
+ to run Llama2.c in the browser using rust/wasm.
192
+ </p>
193
+ </div>
194
+
195
+ <div>
196
+ <label for="model" class="font-medium">Models Options: </label>
197
+ <select
198
+ id="model"
199
+ class="border-2 border-gray-500 rounded-md font-light"
200
+ >
201
+ <option value="stories15M" selected>stories 15M (60.8 MB)</option>
202
+ <option value="stories42M">stories 42M (167 MB)</option>
203
+ <option value="stories110M">stories 110M (438 MB)</option>
204
+ </select>
205
+ </div>
206
+ <form
207
+ id="form"
208
+ class="flex text-normal px-1 py-1 border border-gray-700 rounded-md items-center"
209
+ >
210
+ <input type="submit" hidden />
211
+ <input
212
+ type="text"
213
+ id="prompt"
214
+ class="font-light w-full px-3 py-2 mx-1 resize-none outline-none"
215
+ placeholder="Add your prompt here..."
216
+ value="Once upon a time"
217
+ />
218
+ <button id="clear-btn">
219
+ <svg
220
+ fill="none"
221
+ xmlns="http://www.w3.org/2000/svg"
222
+ width="40"
223
+ viewBox="0 0 70 40"
224
+ >
225
+ <path opacity=".5" d="M39 .2v40.2" stroke="#1F2937" />
226
+ <path
227
+ d="M1.5 11.5 19 29.1m0-17.6L1.5 29.1"
228
+ opacity=".5"
229
+ stroke="#1F2937"
230
+ stroke-width="2"
231
+ />
232
+ </svg>
233
+ </button>
234
+ <button
235
+ id="run"
236
+ class="bg-gray-700 hover:bg-gray-800 text-white font-normal py-2 w-16 rounded disabled:bg-gray-300 disabled:cursor-not-allowed"
237
+ >
238
+ Run
239
+ </button>
240
+ </form>
241
+ <div class="grid grid-cols-3 max-w-md items-center gap-3">
242
+ <label class="text-sm font-medium" for="max-seq">Maximum length </label>
243
+ <input
244
+ type="range"
245
+ id="max-seq"
246
+ name="temperature"
247
+ min="1"
248
+ max="256"
249
+ step="1"
250
+ value="200"
251
+ oninput="this.nextElementSibling.value = Number(this.value)"
252
+ />
253
+ <output
254
+ class="text-xs w-[50px] text-center font-light px-1 py-1 border border-gray-700 rounded-md"
255
+ >
256
+ 200</output
257
+ >
258
+ <label class="text-sm font-medium" for="temperature">Temperature</label>
259
+ <input
260
+ type="range"
261
+ id="temperature"
262
+ name="temperature"
263
+ min="0"
264
+ max="2"
265
+ step="0.01"
266
+ value="0.50"
267
+ oninput="this.nextElementSibling.value = Number(this.value).toFixed(2)"
268
+ />
269
+ <output
270
+ class="text-xs w-[50px] text-center font-light px-1 py-1 border border-gray-700 rounded-md"
271
+ >
272
+ 0.50</output
273
+ >
274
+
275
+ <label class="text-sm font-medium" for="repeat_penalty"
276
+ >Repeat Penalty</label
277
+ >
278
+
279
+ <input
280
+ type="range"
281
+ id="repeat_penalty"
282
+ name="repeat_penalty"
283
+ min="-2"
284
+ max="2"
285
+ step="0.01"
286
+ value="1.10"
287
+ oninput="this.nextElementSibling.value = Number(this.value).toFixed(2)"
288
+ />
289
+ <output
290
+ class="text-xs w-[50px] text-center font-light px-1 py-1 border border-gray-700 rounded-md"
291
+ >1.10</output
292
+ >
293
+ <label class="text-sm font-medium" for="seed">Seed</label>
294
+ <input
295
+ type="number"
296
+ id="seed"
297
+ name="seed"
298
+ value="299792458"
299
+ class="font-light border border-gray-700 text-right rounded-md p-2"
300
+ />
301
+ <button
302
+ id="run"
303
+ onclick="document.querySelector('#seed').value = BigInt(Math.floor(Math.random() * 2**64-1))"
304
+ class="bg-gray-700 hover:bg-gray-800 text-white font-normal py-1 w-[50px] rounded disabled:bg-gray-300 disabled:cursor-not-allowed text-sm"
305
+ >
306
+ Rand
307
+ </button>
308
+ </div>
309
+ <div>
310
+ <h3 class="font-medium">Generation:</h3>
311
+ <div
312
+ class="min-h-[250px] bg-slate-100 text-gray-500 p-4 rounded-md flex flex-col gap-2"
313
+ >
314
+ <div
315
+ id="output-counter"
316
+ hidden
317
+ class="ml-auto font-semibold grid-rows-1 text-sm"
318
+ ></div>
319
+ <p hidden id="output-generation" class="grid-rows-2"></p>
320
+ <span id="output-status" class="m-auto font-light"
321
+ >No output yet</span
322
+ >
323
+ </div>
324
+ </div>
325
+ </main>
326
+ </body>
327
+ </html>
llama2cWorker.js ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import init, { Model } from "./build/m.js";
2
+
3
+ async function fetchArrayBuffer(url) {
4
+ const res = await fetch(url, {
5
+ cache: "force-cache",
6
+ });
7
+ const data = await res.arrayBuffer();
8
+ return new Uint8Array(data);
9
+ }
10
+
11
+ class Llama2C {
12
+ static instance = {};
13
+
14
+ static async getInstance(weightsURL, modelID, tokenizerURL) {
15
+ // load individual modelID only once
16
+ if (!this.instance[modelID]) {
17
+ await init();
18
+
19
+ self.postMessage({ status: "loading", message: "Loading Model" });
20
+
21
+ const [weightsArrayU8, tokenizerArrayU8] = await Promise.all([
22
+ fetchArrayBuffer(weightsURL),
23
+ fetchArrayBuffer(tokenizerURL),
24
+ ]);
25
+
26
+ this.instance[modelID] = new Model(weightsArrayU8, tokenizerArrayU8);
27
+ }
28
+ return this.instance[modelID];
29
+ }
30
+ }
31
+
32
+ let controller = null;
33
+ self.addEventListener("message", (event) => {
34
+ if (event.data.command === "start") {
35
+ controller = new AbortController();
36
+ generate(event.data);
37
+ } else if (event.data.command === "abort") {
38
+ controller.abort();
39
+ }
40
+ });
41
+
42
+ async function generate(data) {
43
+ const {
44
+ weightsURL,
45
+ modelID,
46
+ tokenizerURL,
47
+ prompt,
48
+ temp,
49
+ repeatPenalty,
50
+ seed,
51
+ maxSeqLen,
52
+ } = data;
53
+ try {
54
+ self.postMessage({ status: "loading", message: "Starting llama2.c" });
55
+ const model = await Llama2C.getInstance(weightsURL, modelID, tokenizerURL);
56
+
57
+ self.postMessage({ status: "loading", message: "Initializing model" });
58
+ model.init_with_prompt(prompt, temp, repeatPenalty, seed);
59
+
60
+ const seq_len = model.get_seq_len();
61
+
62
+ let sentence = "";
63
+ let maxTokens = maxSeqLen ? maxSeqLen : seq_len - prompt.length - 1;
64
+ let startTime = performance.now();
65
+ let tokensCount = 0;
66
+ while (tokensCount < maxTokens) {
67
+ await new Promise(async (resolve) => {
68
+ if (controller && controller.signal.aborted) {
69
+ self.postMessage({
70
+ status: "aborted",
71
+ message: "Aborted",
72
+ output: prompt + sentence,
73
+ });
74
+ return;
75
+ }
76
+ const token = await model.next_token();
77
+ const tokensSec =
78
+ ((tokensCount + 1) / (performance.now() - startTime)) * 1000;
79
+
80
+ sentence += token;
81
+ self.postMessage({
82
+ status: "generating",
83
+ message: "Generating token",
84
+ token: token,
85
+ sentence: sentence,
86
+ totalTime: performance.now() - startTime,
87
+ tokensSec,
88
+ prompt: prompt,
89
+ });
90
+ setTimeout(resolve, 0);
91
+ });
92
+ tokensCount++;
93
+ }
94
+ self.postMessage({
95
+ status: "complete",
96
+ message: "complete",
97
+ output: prompt + sentence,
98
+ });
99
+ } catch (e) {
100
+ self.postMessage({ error: e });
101
+ }
102
+ }
style.css DELETED
@@ -1,28 +0,0 @@
1
- body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
- }
5
-
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
- }
10
-
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
- }
17
-
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
- }
25
-
26
- .card p:last-child {
27
- margin-bottom: 0;
28
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
worker_bg.wasm DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7f3ca66189eeb290a7711e6bf25817404433590da31f134f3e9d6a792f26d12b
3
- size 2633840