@applemusic-like-lyrics/lyric 0.2.4 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,111 +4,19 @@ export function __wbg_set_wasm(val) {
4
4
  }
5
5
 
6
6
 
7
- const heap = new Array(128).fill(undefined);
8
-
9
- heap.push(undefined, null, true, false);
10
-
11
- function getObject(idx) { return heap[idx]; }
12
-
13
- let heap_next = heap.length;
14
-
15
- function dropObject(idx) {
16
- if (idx < 132) return;
17
- heap[idx] = heap_next;
18
- heap_next = idx;
19
- }
20
-
21
- function takeObject(idx) {
22
- const ret = getObject(idx);
23
- dropObject(idx);
24
- return ret;
25
- }
26
-
27
- function addHeapObject(obj) {
28
- if (heap_next === heap.length) heap.push(heap.length + 1);
29
- const idx = heap_next;
30
- heap_next = heap[idx];
31
-
32
- heap[idx] = obj;
7
+ function addToExternrefTable0(obj) {
8
+ const idx = wasm.__externref_table_alloc();
9
+ wasm.__wbindgen_export_2.set(idx, obj);
33
10
  return idx;
34
11
  }
35
12
 
36
- const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
37
-
38
- let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
39
-
40
- cachedTextDecoder.decode();
41
-
42
- let cachedUint8ArrayMemory0 = null;
43
-
44
- function getUint8ArrayMemory0() {
45
- if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
46
- cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
47
- }
48
- return cachedUint8ArrayMemory0;
49
- }
50
-
51
- function getStringFromWasm0(ptr, len) {
52
- ptr = ptr >>> 0;
53
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
54
- }
55
-
56
- let WASM_VECTOR_LEN = 0;
57
-
58
- const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
59
-
60
- let cachedTextEncoder = new lTextEncoder('utf-8');
61
-
62
- const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
63
- ? function (arg, view) {
64
- return cachedTextEncoder.encodeInto(arg, view);
65
- }
66
- : function (arg, view) {
67
- const buf = cachedTextEncoder.encode(arg);
68
- view.set(buf);
69
- return {
70
- read: arg.length,
71
- written: buf.length
72
- };
73
- });
74
-
75
- function passStringToWasm0(arg, malloc, realloc) {
76
-
77
- if (realloc === undefined) {
78
- const buf = cachedTextEncoder.encode(arg);
79
- const ptr = malloc(buf.length, 1) >>> 0;
80
- getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
81
- WASM_VECTOR_LEN = buf.length;
82
- return ptr;
83
- }
84
-
85
- let len = arg.length;
86
- let ptr = malloc(len, 1) >>> 0;
87
-
88
- const mem = getUint8ArrayMemory0();
89
-
90
- let offset = 0;
91
-
92
- for (; offset < len; offset++) {
93
- const code = arg.charCodeAt(offset);
94
- if (code > 0x7F) break;
95
- mem[ptr + offset] = code;
96
- }
97
-
98
- if (offset !== len) {
99
- if (offset !== 0) {
100
- arg = arg.slice(offset);
101
- }
102
- ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
103
- const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
104
- const ret = encodeString(arg, view);
105
-
106
- offset += ret.written;
107
- ptr = realloc(ptr, len, offset, 1) >>> 0;
13
+ function handleError(f, args) {
14
+ try {
15
+ return f.apply(this, args);
16
+ } catch (e) {
17
+ const idx = addToExternrefTable0(e);
18
+ wasm.__wbindgen_exn_store(idx);
108
19
  }
109
-
110
- WASM_VECTOR_LEN = offset;
111
- return ptr;
112
20
  }
113
21
 
114
22
  function isLikeNone(x) {
@@ -165,7 +73,7 @@ function debugString(val) {
165
73
  // Test for built-in
166
74
  const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
167
75
  let className;
168
- if (builtInMatches.length > 1) {
76
+ if (builtInMatches && builtInMatches.length > 1) {
169
77
  className = builtInMatches[1];
170
78
  } else {
171
79
  // Failed to match the standard '[object ClassName]'
@@ -188,494 +96,534 @@ function debugString(val) {
188
96
  // TODO we could test for more things here, like `Set`s and `Map`s.
189
97
  return className;
190
98
  }
99
+
100
+ let WASM_VECTOR_LEN = 0;
101
+
102
+ let cachedUint8ArrayMemory0 = null;
103
+
104
+ function getUint8ArrayMemory0() {
105
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
106
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
107
+ }
108
+ return cachedUint8ArrayMemory0;
109
+ }
110
+
111
+ const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
112
+
113
+ let cachedTextEncoder = new lTextEncoder('utf-8');
114
+
115
+ const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
116
+ ? function (arg, view) {
117
+ return cachedTextEncoder.encodeInto(arg, view);
118
+ }
119
+ : function (arg, view) {
120
+ const buf = cachedTextEncoder.encode(arg);
121
+ view.set(buf);
122
+ return {
123
+ read: arg.length,
124
+ written: buf.length
125
+ };
126
+ });
127
+
128
+ function passStringToWasm0(arg, malloc, realloc) {
129
+
130
+ if (realloc === undefined) {
131
+ const buf = cachedTextEncoder.encode(arg);
132
+ const ptr = malloc(buf.length, 1) >>> 0;
133
+ getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
134
+ WASM_VECTOR_LEN = buf.length;
135
+ return ptr;
136
+ }
137
+
138
+ let len = arg.length;
139
+ let ptr = malloc(len, 1) >>> 0;
140
+
141
+ const mem = getUint8ArrayMemory0();
142
+
143
+ let offset = 0;
144
+
145
+ for (; offset < len; offset++) {
146
+ const code = arg.charCodeAt(offset);
147
+ if (code > 0x7F) break;
148
+ mem[ptr + offset] = code;
149
+ }
150
+
151
+ if (offset !== len) {
152
+ if (offset !== 0) {
153
+ arg = arg.slice(offset);
154
+ }
155
+ ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
156
+ const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
157
+ const ret = encodeString(arg, view);
158
+
159
+ offset += ret.written;
160
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
161
+ }
162
+
163
+ WASM_VECTOR_LEN = offset;
164
+ return ptr;
165
+ }
166
+
167
+ const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
168
+
169
+ let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
170
+
171
+ cachedTextDecoder.decode();
172
+
173
+ function getStringFromWasm0(ptr, len) {
174
+ ptr = ptr >>> 0;
175
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
176
+ }
191
177
  /**
192
- * @param {any} lrc
193
- * @returns {string}
194
- */
178
+ * @param {any} lrc
179
+ * @returns {string}
180
+ */
195
181
  export function stringifyAss(lrc) {
196
182
  let deferred1_0;
197
183
  let deferred1_1;
198
184
  try {
199
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
200
- wasm.stringifyAss(retptr, addHeapObject(lrc));
201
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
202
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
203
- deferred1_0 = r0;
204
- deferred1_1 = r1;
205
- return getStringFromWasm0(r0, r1);
185
+ const ret = wasm.stringifyAss(lrc);
186
+ deferred1_0 = ret[0];
187
+ deferred1_1 = ret[1];
188
+ return getStringFromWasm0(ret[0], ret[1]);
206
189
  } finally {
207
- wasm.__wbindgen_add_to_stack_pointer(16);
208
190
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
209
191
  }
210
192
  }
211
193
 
212
194
  /**
213
- * @param {string} hex_data
214
- * @returns {string}
215
- */
195
+ * @param {string} hex_data
196
+ * @returns {string}
197
+ */
216
198
  export function decryptQrcHex(hex_data) {
217
199
  let deferred2_0;
218
200
  let deferred2_1;
219
201
  try {
220
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
221
202
  const ptr0 = passStringToWasm0(hex_data, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
222
203
  const len0 = WASM_VECTOR_LEN;
223
- wasm.decryptQrcHex(retptr, ptr0, len0);
224
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
225
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
226
- deferred2_0 = r0;
227
- deferred2_1 = r1;
228
- return getStringFromWasm0(r0, r1);
204
+ const ret = wasm.decryptQrcHex(ptr0, len0);
205
+ deferred2_0 = ret[0];
206
+ deferred2_1 = ret[1];
207
+ return getStringFromWasm0(ret[0], ret[1]);
229
208
  } finally {
230
- wasm.__wbindgen_add_to_stack_pointer(16);
231
209
  wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
232
210
  }
233
211
  }
234
212
 
235
213
  /**
236
- * @param {string} src
237
- * @returns {any}
238
- */
214
+ * @param {string} src
215
+ * @returns {any}
216
+ */
239
217
  export function parseEslrc(src) {
240
218
  const ptr0 = passStringToWasm0(src, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
241
219
  const len0 = WASM_VECTOR_LEN;
242
220
  const ret = wasm.parseEslrc(ptr0, len0);
243
- return takeObject(ret);
221
+ return ret;
244
222
  }
245
223
 
246
224
  /**
247
- * @param {any} lrc
248
- * @returns {string}
249
- */
225
+ * @param {any} lrc
226
+ * @returns {string}
227
+ */
250
228
  export function stringifyEslrc(lrc) {
251
229
  let deferred1_0;
252
230
  let deferred1_1;
253
231
  try {
254
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
255
- wasm.stringifyEslrc(retptr, addHeapObject(lrc));
256
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
257
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
258
- deferred1_0 = r0;
259
- deferred1_1 = r1;
260
- return getStringFromWasm0(r0, r1);
232
+ const ret = wasm.stringifyEslrc(lrc);
233
+ deferred1_0 = ret[0];
234
+ deferred1_1 = ret[1];
235
+ return getStringFromWasm0(ret[0], ret[1]);
261
236
  } finally {
262
- wasm.__wbindgen_add_to_stack_pointer(16);
263
237
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
264
238
  }
265
239
  }
266
240
 
267
241
  /**
268
- * @param {string} src
269
- * @returns {any}
270
- */
242
+ * @param {string} src
243
+ * @returns {any}
244
+ */
271
245
  export function parseLrc(src) {
272
246
  const ptr0 = passStringToWasm0(src, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
273
247
  const len0 = WASM_VECTOR_LEN;
274
248
  const ret = wasm.parseLrc(ptr0, len0);
275
- return takeObject(ret);
249
+ return ret;
276
250
  }
277
251
 
278
252
  /**
279
- * @param {any} lrc
280
- * @returns {string}
281
- */
253
+ * @param {any} lrc
254
+ * @returns {string}
255
+ */
282
256
  export function stringifyLrc(lrc) {
283
257
  let deferred1_0;
284
258
  let deferred1_1;
285
259
  try {
286
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
287
- wasm.stringifyLrc(retptr, addHeapObject(lrc));
288
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
289
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
290
- deferred1_0 = r0;
291
- deferred1_1 = r1;
292
- return getStringFromWasm0(r0, r1);
260
+ const ret = wasm.stringifyLrc(lrc);
261
+ deferred1_0 = ret[0];
262
+ deferred1_1 = ret[1];
263
+ return getStringFromWasm0(ret[0], ret[1]);
293
264
  } finally {
294
- wasm.__wbindgen_add_to_stack_pointer(16);
295
265
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
296
266
  }
297
267
  }
298
268
 
299
269
  /**
300
- * @param {string} src
301
- * @returns {any}
302
- */
270
+ * @param {string} src
271
+ * @returns {any}
272
+ */
303
273
  export function parseLys(src) {
304
274
  const ptr0 = passStringToWasm0(src, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
305
275
  const len0 = WASM_VECTOR_LEN;
306
276
  const ret = wasm.parseLys(ptr0, len0);
307
- return takeObject(ret);
277
+ return ret;
308
278
  }
309
279
 
310
280
  /**
311
- * @param {any} lrc
312
- * @returns {string}
313
- */
281
+ * @param {any} lrc
282
+ * @returns {string}
283
+ */
314
284
  export function stringifyLys(lrc) {
315
285
  let deferred1_0;
316
286
  let deferred1_1;
317
287
  try {
318
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
319
- wasm.stringifyLys(retptr, addHeapObject(lrc));
320
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
321
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
322
- deferred1_0 = r0;
323
- deferred1_1 = r1;
324
- return getStringFromWasm0(r0, r1);
288
+ const ret = wasm.stringifyLys(lrc);
289
+ deferred1_0 = ret[0];
290
+ deferred1_1 = ret[1];
291
+ return getStringFromWasm0(ret[0], ret[1]);
325
292
  } finally {
326
- wasm.__wbindgen_add_to_stack_pointer(16);
327
293
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
328
294
  }
329
295
  }
330
296
 
331
297
  /**
332
- * @param {string} src
333
- * @returns {any}
334
- */
298
+ * @param {string} src
299
+ * @returns {any}
300
+ */
335
301
  export function parseQrc(src) {
336
302
  const ptr0 = passStringToWasm0(src, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
337
303
  const len0 = WASM_VECTOR_LEN;
338
304
  const ret = wasm.parseQrc(ptr0, len0);
339
- return takeObject(ret);
305
+ return ret;
340
306
  }
341
307
 
342
308
  /**
343
- * @param {any} lrc
344
- * @returns {string}
345
- */
309
+ * @param {any} lrc
310
+ * @returns {string}
311
+ */
346
312
  export function stringifyQrc(lrc) {
347
313
  let deferred1_0;
348
314
  let deferred1_1;
349
315
  try {
350
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
351
- wasm.stringifyQrc(retptr, addHeapObject(lrc));
352
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
353
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
354
- deferred1_0 = r0;
355
- deferred1_1 = r1;
356
- return getStringFromWasm0(r0, r1);
316
+ const ret = wasm.stringifyQrc(lrc);
317
+ deferred1_0 = ret[0];
318
+ deferred1_1 = ret[1];
319
+ return getStringFromWasm0(ret[0], ret[1]);
357
320
  } finally {
358
- wasm.__wbindgen_add_to_stack_pointer(16);
359
321
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
360
322
  }
361
323
  }
362
324
 
363
325
  /**
364
- * @param {string} src
365
- * @returns {any}
366
- */
326
+ * @param {string} src
327
+ * @returns {any}
328
+ */
367
329
  export function parseTTML(src) {
368
330
  const ptr0 = passStringToWasm0(src, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
369
331
  const len0 = WASM_VECTOR_LEN;
370
332
  const ret = wasm.parseTTML(ptr0, len0);
371
- return takeObject(ret);
333
+ return ret;
372
334
  }
373
335
 
374
336
  /**
375
- * @param {any} lrc
376
- * @returns {string}
377
- */
337
+ * @param {any} lrc
338
+ * @returns {string}
339
+ */
378
340
  export function stringifyTTML(lrc) {
379
341
  let deferred1_0;
380
342
  let deferred1_1;
381
343
  try {
382
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
383
- wasm.stringifyTTML(retptr, addHeapObject(lrc));
384
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
385
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
386
- deferred1_0 = r0;
387
- deferred1_1 = r1;
388
- return getStringFromWasm0(r0, r1);
344
+ const ret = wasm.stringifyTTML(lrc);
345
+ deferred1_0 = ret[0];
346
+ deferred1_1 = ret[1];
347
+ return getStringFromWasm0(ret[0], ret[1]);
389
348
  } finally {
390
- wasm.__wbindgen_add_to_stack_pointer(16);
391
349
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
392
350
  }
393
351
  }
394
352
 
395
353
  /**
396
- * @param {string} src
397
- * @returns {any}
398
- */
354
+ * @param {string} src
355
+ * @returns {any}
356
+ */
399
357
  export function parseYrc(src) {
400
358
  const ptr0 = passStringToWasm0(src, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
401
359
  const len0 = WASM_VECTOR_LEN;
402
360
  const ret = wasm.parseYrc(ptr0, len0);
403
- return takeObject(ret);
361
+ return ret;
404
362
  }
405
363
 
406
364
  /**
407
- * @param {any} lrc
408
- * @returns {string}
409
- */
365
+ * @param {any} lrc
366
+ * @returns {string}
367
+ */
410
368
  export function stringifyYrc(lrc) {
411
369
  let deferred1_0;
412
370
  let deferred1_1;
413
371
  try {
414
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
415
- wasm.stringifyYrc(retptr, addHeapObject(lrc));
416
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
417
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
418
- deferred1_0 = r0;
419
- deferred1_1 = r1;
420
- return getStringFromWasm0(r0, r1);
372
+ const ret = wasm.stringifyYrc(lrc);
373
+ deferred1_0 = ret[0];
374
+ deferred1_1 = ret[1];
375
+ return getStringFromWasm0(ret[0], ret[1]);
421
376
  } finally {
422
- wasm.__wbindgen_add_to_stack_pointer(16);
423
377
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
424
378
  }
425
379
  }
426
380
 
427
381
  /**
428
- * When the `console_error_panic_hook` feature is enabled, we can call the
429
- * `set_panic_hook` function at least once during initialization, and then
430
- * we will get better error messages if our code ever panics.
431
- *
432
- * For more details see
433
- * https://github.com/rustwasm/console_error_panic_hook#readme
434
- */
382
+ * When the `console_error_panic_hook` feature is enabled, we can call the
383
+ * `set_panic_hook` function at least once during initialization, and then
384
+ * we will get better error messages if our code ever panics.
385
+ *
386
+ * For more details see
387
+ * https://github.com/rustwasm/console_error_panic_hook#readme
388
+ */
435
389
  export function wasm_start() {
436
390
  wasm.wasm_start();
437
391
  }
438
392
 
439
- function handleError(f, args) {
440
- try {
441
- return f.apply(this, args);
442
- } catch (e) {
443
- wasm.__wbindgen_exn_store(addHeapObject(e));
444
- }
445
- }
446
-
447
- export function __wbindgen_object_drop_ref(arg0) {
448
- takeObject(arg0);
449
- };
450
-
451
- export function __wbindgen_is_bigint(arg0) {
452
- const ret = typeof(getObject(arg0)) === 'bigint';
393
+ export function __wbg_buffer_609cc3eee51ed158(arg0) {
394
+ const ret = arg0.buffer;
453
395
  return ret;
454
396
  };
455
397
 
456
- export function __wbindgen_bigint_from_u64(arg0) {
457
- const ret = BigInt.asUintN(64, arg0);
458
- return addHeapObject(ret);
459
- };
398
+ export function __wbg_call_672a4d21634d4a24() { return handleError(function (arg0, arg1) {
399
+ const ret = arg0.call(arg1);
400
+ return ret;
401
+ }, arguments) };
460
402
 
461
- export function __wbindgen_jsval_eq(arg0, arg1) {
462
- const ret = getObject(arg0) === getObject(arg1);
403
+ export function __wbg_done_769e5ede4b31c67b(arg0) {
404
+ const ret = arg0.done;
463
405
  return ret;
464
406
  };
465
407
 
466
- export function __wbindgen_error_new(arg0, arg1) {
467
- const ret = new Error(getStringFromWasm0(arg0, arg1));
468
- return addHeapObject(ret);
469
- };
408
+ export function __wbg_get_67b2ba62fc30de12() { return handleError(function (arg0, arg1) {
409
+ const ret = Reflect.get(arg0, arg1);
410
+ return ret;
411
+ }, arguments) };
470
412
 
471
- export function __wbindgen_is_object(arg0) {
472
- const val = getObject(arg0);
473
- const ret = typeof(val) === 'object' && val !== null;
413
+ export function __wbg_get_b9b93047fe3cf45b(arg0, arg1) {
414
+ const ret = arg0[arg1 >>> 0];
474
415
  return ret;
475
416
  };
476
417
 
477
- export function __wbindgen_is_undefined(arg0) {
478
- const ret = getObject(arg0) === undefined;
418
+ export function __wbg_getwithrefkey_1dc361bd10053bfe(arg0, arg1) {
419
+ const ret = arg0[arg1];
479
420
  return ret;
480
421
  };
481
422
 
482
- export function __wbindgen_in(arg0, arg1) {
483
- const ret = getObject(arg0) in getObject(arg1);
423
+ export function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) {
424
+ let result;
425
+ try {
426
+ result = arg0 instanceof ArrayBuffer;
427
+ } catch (_) {
428
+ result = false;
429
+ }
430
+ const ret = result;
484
431
  return ret;
485
432
  };
486
433
 
487
- export function __wbindgen_string_get(arg0, arg1) {
488
- const obj = getObject(arg1);
489
- const ret = typeof(obj) === 'string' ? obj : undefined;
490
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
491
- var len1 = WASM_VECTOR_LEN;
492
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
493
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
434
+ export function __wbg_instanceof_Uint8Array_17156bcf118086a9(arg0) {
435
+ let result;
436
+ try {
437
+ result = arg0 instanceof Uint8Array;
438
+ } catch (_) {
439
+ result = false;
440
+ }
441
+ const ret = result;
442
+ return ret;
494
443
  };
495
444
 
496
- export function __wbindgen_boolean_get(arg0) {
497
- const v = getObject(arg0);
498
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
445
+ export function __wbg_isArray_a1eab7e0d067391b(arg0) {
446
+ const ret = Array.isArray(arg0);
499
447
  return ret;
500
448
  };
501
449
 
502
- export function __wbindgen_jsval_loose_eq(arg0, arg1) {
503
- const ret = getObject(arg0) == getObject(arg1);
450
+ export function __wbg_isSafeInteger_343e2beeeece1bb0(arg0) {
451
+ const ret = Number.isSafeInteger(arg0);
504
452
  return ret;
505
453
  };
506
454
 
507
- export function __wbindgen_number_get(arg0, arg1) {
508
- const obj = getObject(arg1);
509
- const ret = typeof(obj) === 'number' ? obj : undefined;
510
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
511
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
455
+ export function __wbg_iterator_9a24c88df860dc65() {
456
+ const ret = Symbol.iterator;
457
+ return ret;
512
458
  };
513
459
 
514
- export function __wbindgen_as_number(arg0) {
515
- const ret = +getObject(arg0);
460
+ export function __wbg_length_a446193dc22c12f8(arg0) {
461
+ const ret = arg0.length;
516
462
  return ret;
517
463
  };
518
464
 
519
- export function __wbindgen_number_new(arg0) {
520
- const ret = arg0;
521
- return addHeapObject(ret);
465
+ export function __wbg_length_e2d2a49132c1b256(arg0) {
466
+ const ret = arg0.length;
467
+ return ret;
522
468
  };
523
469
 
524
- export function __wbindgen_object_clone_ref(arg0) {
525
- const ret = getObject(arg0);
526
- return addHeapObject(ret);
470
+ export function __wbg_new_405e22f390576ce2() {
471
+ const ret = new Object();
472
+ return ret;
527
473
  };
528
474
 
529
- export function __wbindgen_string_new(arg0, arg1) {
530
- const ret = getStringFromWasm0(arg0, arg1);
531
- return addHeapObject(ret);
475
+ export function __wbg_new_78feb108b6472713() {
476
+ const ret = new Array();
477
+ return ret;
532
478
  };
533
479
 
534
- export function __wbg_getwithrefkey_edc2c8960f0f1191(arg0, arg1) {
535
- const ret = getObject(arg0)[getObject(arg1)];
536
- return addHeapObject(ret);
480
+ export function __wbg_new_a12002a7f91c75be(arg0) {
481
+ const ret = new Uint8Array(arg0);
482
+ return ret;
537
483
  };
538
484
 
539
- export function __wbg_set_f975102236d3c502(arg0, arg1, arg2) {
540
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
485
+ export function __wbg_next_25feadfc0913fea9(arg0) {
486
+ const ret = arg0.next;
487
+ return ret;
541
488
  };
542
489
 
543
- export function __wbg_call_1084a111329e68ce() { return handleError(function (arg0, arg1) {
544
- const ret = getObject(arg0).call(getObject(arg1));
545
- return addHeapObject(ret);
490
+ export function __wbg_next_6574e1a8a62d1055() { return handleError(function (arg0) {
491
+ const ret = arg0.next();
492
+ return ret;
546
493
  }, arguments) };
547
494
 
548
- export function __wbg_get_3baa728f9d58d3f6(arg0, arg1) {
549
- const ret = getObject(arg0)[arg1 >>> 0];
550
- return addHeapObject(ret);
495
+ export function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) {
496
+ arg0[arg1 >>> 0] = arg2;
551
497
  };
552
498
 
553
- export function __wbg_length_ae22078168b726f5(arg0) {
554
- const ret = getObject(arg0).length;
555
- return ret;
499
+ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
500
+ arg0[arg1] = arg2;
556
501
  };
557
502
 
558
- export function __wbg_new_a220cf903aa02ca2() {
559
- const ret = new Array();
560
- return addHeapObject(ret);
503
+ export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
504
+ arg0.set(arg1, arg2 >>> 0);
561
505
  };
562
506
 
563
- export function __wbindgen_is_function(arg0) {
564
- const ret = typeof(getObject(arg0)) === 'function';
507
+ export function __wbg_value_cd1ffa7b1ab794f1(arg0) {
508
+ const ret = arg0.value;
565
509
  return ret;
566
510
  };
567
511
 
568
- export function __wbg_next_de3e9db4440638b2(arg0) {
569
- const ret = getObject(arg0).next;
570
- return addHeapObject(ret);
512
+ export function __wbindgen_as_number(arg0) {
513
+ const ret = +arg0;
514
+ return ret;
571
515
  };
572
516
 
573
- export function __wbg_next_f9cb570345655b9a() { return handleError(function (arg0) {
574
- const ret = getObject(arg0).next();
575
- return addHeapObject(ret);
576
- }, arguments) };
577
-
578
- export function __wbg_done_bfda7aa8f252b39f(arg0) {
579
- const ret = getObject(arg0).done;
517
+ export function __wbindgen_bigint_from_u64(arg0) {
518
+ const ret = BigInt.asUintN(64, arg0);
580
519
  return ret;
581
520
  };
582
521
 
583
- export function __wbg_value_6d39332ab4788d86(arg0) {
584
- const ret = getObject(arg0).value;
585
- return addHeapObject(ret);
522
+ export function __wbindgen_bigint_get_as_i64(arg0, arg1) {
523
+ const v = arg1;
524
+ const ret = typeof(v) === 'bigint' ? v : undefined;
525
+ getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
526
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
586
527
  };
587
528
 
588
- export function __wbg_iterator_888179a48810a9fe() {
589
- const ret = Symbol.iterator;
590
- return addHeapObject(ret);
529
+ export function __wbindgen_boolean_get(arg0) {
530
+ const v = arg0;
531
+ const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
532
+ return ret;
591
533
  };
592
534
 
593
- export function __wbg_get_224d16597dbbfd96() { return handleError(function (arg0, arg1) {
594
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
595
- return addHeapObject(ret);
596
- }, arguments) };
597
-
598
- export function __wbg_new_525245e2b9901204() {
599
- const ret = new Object();
600
- return addHeapObject(ret);
535
+ export function __wbindgen_debug_string(arg0, arg1) {
536
+ const ret = debugString(arg1);
537
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
538
+ const len1 = WASM_VECTOR_LEN;
539
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
540
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
601
541
  };
602
542
 
603
- export function __wbg_set_673dda6c73d19609(arg0, arg1, arg2) {
604
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
543
+ export function __wbindgen_error_new(arg0, arg1) {
544
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
545
+ return ret;
605
546
  };
606
547
 
607
- export function __wbg_isArray_8364a5371e9737d8(arg0) {
608
- const ret = Array.isArray(getObject(arg0));
548
+ export function __wbindgen_in(arg0, arg1) {
549
+ const ret = arg0 in arg1;
609
550
  return ret;
610
551
  };
611
552
 
612
- export function __wbg_instanceof_ArrayBuffer_61dfc3198373c902(arg0) {
613
- let result;
614
- try {
615
- result = getObject(arg0) instanceof ArrayBuffer;
616
- } catch (_) {
617
- result = false;
618
- }
619
- const ret = result;
553
+ export function __wbindgen_init_externref_table() {
554
+ const table = wasm.__wbindgen_export_2;
555
+ const offset = table.grow(4);
556
+ table.set(0, undefined);
557
+ table.set(offset + 0, undefined);
558
+ table.set(offset + 1, null);
559
+ table.set(offset + 2, true);
560
+ table.set(offset + 3, false);
561
+ ;
562
+ };
563
+
564
+ export function __wbindgen_is_bigint(arg0) {
565
+ const ret = typeof(arg0) === 'bigint';
620
566
  return ret;
621
567
  };
622
568
 
623
- export function __wbg_isSafeInteger_7f1ed56200d90674(arg0) {
624
- const ret = Number.isSafeInteger(getObject(arg0));
569
+ export function __wbindgen_is_function(arg0) {
570
+ const ret = typeof(arg0) === 'function';
625
571
  return ret;
626
572
  };
627
573
 
628
- export function __wbg_buffer_b7b08af79b0b0974(arg0) {
629
- const ret = getObject(arg0).buffer;
630
- return addHeapObject(ret);
574
+ export function __wbindgen_is_object(arg0) {
575
+ const val = arg0;
576
+ const ret = typeof(val) === 'object' && val !== null;
577
+ return ret;
631
578
  };
632
579
 
633
- export function __wbg_new_ea1883e1e5e86686(arg0) {
634
- const ret = new Uint8Array(getObject(arg0));
635
- return addHeapObject(ret);
580
+ export function __wbindgen_is_undefined(arg0) {
581
+ const ret = arg0 === undefined;
582
+ return ret;
636
583
  };
637
584
 
638
- export function __wbg_set_d1e79e2388520f18(arg0, arg1, arg2) {
639
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
585
+ export function __wbindgen_jsval_eq(arg0, arg1) {
586
+ const ret = arg0 === arg1;
587
+ return ret;
640
588
  };
641
589
 
642
- export function __wbg_length_8339fcf5d8ecd12e(arg0) {
643
- const ret = getObject(arg0).length;
590
+ export function __wbindgen_jsval_loose_eq(arg0, arg1) {
591
+ const ret = arg0 == arg1;
644
592
  return ret;
645
593
  };
646
594
 
647
- export function __wbg_instanceof_Uint8Array_247a91427532499e(arg0) {
648
- let result;
649
- try {
650
- result = getObject(arg0) instanceof Uint8Array;
651
- } catch (_) {
652
- result = false;
653
- }
654
- const ret = result;
595
+ export function __wbindgen_memory() {
596
+ const ret = wasm.memory;
655
597
  return ret;
656
598
  };
657
599
 
658
- export function __wbindgen_bigint_get_as_i64(arg0, arg1) {
659
- const v = getObject(arg1);
660
- const ret = typeof(v) === 'bigint' ? v : undefined;
661
- getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
600
+ export function __wbindgen_number_get(arg0, arg1) {
601
+ const obj = arg1;
602
+ const ret = typeof(obj) === 'number' ? obj : undefined;
603
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
662
604
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
663
605
  };
664
606
 
665
- export function __wbindgen_debug_string(arg0, arg1) {
666
- const ret = debugString(getObject(arg1));
667
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
668
- const len1 = WASM_VECTOR_LEN;
607
+ export function __wbindgen_number_new(arg0) {
608
+ const ret = arg0;
609
+ return ret;
610
+ };
611
+
612
+ export function __wbindgen_string_get(arg0, arg1) {
613
+ const obj = arg1;
614
+ const ret = typeof(obj) === 'string' ? obj : undefined;
615
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
616
+ var len1 = WASM_VECTOR_LEN;
669
617
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
670
618
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
671
619
  };
672
620
 
673
- export function __wbindgen_throw(arg0, arg1) {
674
- throw new Error(getStringFromWasm0(arg0, arg1));
621
+ export function __wbindgen_string_new(arg0, arg1) {
622
+ const ret = getStringFromWasm0(arg0, arg1);
623
+ return ret;
675
624
  };
676
625
 
677
- export function __wbindgen_memory() {
678
- const ret = wasm.memory;
679
- return addHeapObject(ret);
626
+ export function __wbindgen_throw(arg0, arg1) {
627
+ throw new Error(getStringFromWasm0(arg0, arg1));
680
628
  };
681
629