@next/swc-wasm-nodejs 14.3.0-canary.62 → 14.3.0-canary.63

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.
Files changed (3) hide show
  1. package/package.json +1 -1
  2. package/wasm.js +245 -245
  3. package/wasm_bg.wasm +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next/swc-wasm-nodejs",
3
- "version": "14.3.0-canary.62",
3
+ "version": "14.3.0-canary.63",
4
4
  "files": [
5
5
  "wasm_bg.wasm",
6
6
  "wasm.js",
package/wasm.js CHANGED
@@ -1,25 +1,16 @@
1
1
  let imports = {};
2
2
  imports['__wbindgen_placeholder__'] = module.exports;
3
3
  let wasm;
4
- const { TextDecoder, TextEncoder } = require(`util`);
4
+ const { TextEncoder, TextDecoder } = require(`util`);
5
5
 
6
6
  const heap = new Array(128).fill(undefined);
7
7
 
8
8
  heap.push(undefined, null, true, false);
9
9
 
10
- let heap_next = heap.length;
11
-
12
- function addHeapObject(obj) {
13
- if (heap_next === heap.length) heap.push(heap.length + 1);
14
- const idx = heap_next;
15
- heap_next = heap[idx];
16
-
17
- heap[idx] = obj;
18
- return idx;
19
- }
20
-
21
10
  function getObject(idx) { return heap[idx]; }
22
11
 
12
+ let heap_next = heap.length;
13
+
23
14
  function dropObject(idx) {
24
15
  if (idx < 132) return;
25
16
  heap[idx] = heap_next;
@@ -32,9 +23,7 @@ function takeObject(idx) {
32
23
  return ret;
33
24
  }
34
25
 
35
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
36
-
37
- cachedTextDecoder.decode();
26
+ let WASM_VECTOR_LEN = 0;
38
27
 
39
28
  let cachedUint8Memory0 = null;
40
29
 
@@ -45,13 +34,6 @@ function getUint8Memory0() {
45
34
  return cachedUint8Memory0;
46
35
  }
47
36
 
48
- function getStringFromWasm0(ptr, len) {
49
- ptr = ptr >>> 0;
50
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
51
- }
52
-
53
- let WASM_VECTOR_LEN = 0;
54
-
55
37
  let cachedTextEncoder = new TextEncoder('utf-8');
56
38
 
57
39
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
@@ -128,6 +110,24 @@ function getFloat64Memory0() {
128
110
  return cachedFloat64Memory0;
129
111
  }
130
112
 
113
+ function addHeapObject(obj) {
114
+ if (heap_next === heap.length) heap.push(heap.length + 1);
115
+ const idx = heap_next;
116
+ heap_next = heap[idx];
117
+
118
+ heap[idx] = obj;
119
+ return idx;
120
+ }
121
+
122
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
123
+
124
+ cachedTextDecoder.decode();
125
+
126
+ function getStringFromWasm0(ptr, len) {
127
+ ptr = ptr >>> 0;
128
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
129
+ }
130
+
131
131
  let cachedBigInt64Memory0 = null;
132
132
 
133
133
  function getBigInt64Memory0() {
@@ -233,26 +233,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
233
233
  return real;
234
234
  }
235
235
  function __wbg_adapter_48(arg0, arg1, arg2) {
236
- wasm._dyn_core_6b630c532df341d7___ops__function__FnMut_______Output______as_wasm_bindgen_2928d838ea01524e___closure__WasmClosure___describe__invoke___wasm_bindgen_2928d838ea01524e___JsValue_____(arg0, arg1, addHeapObject(arg2));
237
- }
238
-
239
- function getCachedStringFromWasm0(ptr, len) {
240
- if (ptr === 0) {
241
- return getObject(len);
242
- } else {
243
- return getStringFromWasm0(ptr, len);
244
- }
245
- }
246
-
247
- function handleError(f, args) {
248
- try {
249
- return f.apply(this, args);
250
- } catch (e) {
251
- wasm.__wbindgen_exn_store(addHeapObject(e));
252
- }
253
- }
254
- function __wbg_adapter_109(arg0, arg1, arg2, arg3) {
255
- wasm.wasm_bindgen_2928d838ea01524e___convert__closures__invoke2_mut___wasm_bindgen_2928d838ea01524e___JsValue__wasm_bindgen_2928d838ea01524e___JsValue_____(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
236
+ wasm._dyn_core_6b630c532df341d7___ops__function__FnMut_______Output______as_wasm_bindgen_954504bb14301dbb___closure__WasmClosure___describe__invoke___wasm_bindgen_954504bb14301dbb___JsValue_____(arg0, arg1, addHeapObject(arg2));
256
237
  }
257
238
 
258
239
  /**
@@ -379,35 +360,102 @@ module.exports.parse = function(s, opts) {
379
360
  return takeObject(ret);
380
361
  };
381
362
 
382
- module.exports.__wbg_new0_7a6141101f2206da = function() {
383
- const ret = new Date();
384
- return addHeapObject(ret);
363
+ function getCachedStringFromWasm0(ptr, len) {
364
+ if (ptr === 0) {
365
+ return getObject(len);
366
+ } else {
367
+ return getStringFromWasm0(ptr, len);
368
+ }
369
+ }
370
+
371
+ function handleError(f, args) {
372
+ try {
373
+ return f.apply(this, args);
374
+ } catch (e) {
375
+ wasm.__wbindgen_exn_store(addHeapObject(e));
376
+ }
377
+ }
378
+ function __wbg_adapter_125(arg0, arg1, arg2, arg3) {
379
+ wasm.wasm_bindgen_954504bb14301dbb___convert__closures__invoke2_mut___wasm_bindgen_954504bb14301dbb___JsValue__wasm_bindgen_954504bb14301dbb___JsValue_____(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
380
+ }
381
+
382
+ module.exports.__wbindgen_object_drop_ref = function(arg0) {
383
+ takeObject(arg0);
385
384
  };
386
385
 
387
- module.exports.__wbindgen_number_new = function(arg0) {
386
+ module.exports.__wbindgen_string_get = function(arg0, arg1) {
387
+ const obj = getObject(arg1);
388
+ const ret = typeof(obj) === 'string' ? obj : undefined;
389
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
390
+ var len1 = WASM_VECTOR_LEN;
391
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
392
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
393
+ };
394
+
395
+ module.exports.__wbindgen_boolean_get = function(arg0) {
396
+ const v = getObject(arg0);
397
+ const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
398
+ return ret;
399
+ };
400
+
401
+ module.exports.__wbindgen_is_bigint = function(arg0) {
402
+ const ret = typeof(getObject(arg0)) === 'bigint';
403
+ return ret;
404
+ };
405
+
406
+ module.exports.__wbindgen_number_get = function(arg0, arg1) {
407
+ const obj = getObject(arg1);
408
+ const ret = typeof(obj) === 'number' ? obj : undefined;
409
+ getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
410
+ getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
411
+ };
412
+
413
+ module.exports.__wbindgen_is_object = function(arg0) {
414
+ const val = getObject(arg0);
415
+ const ret = typeof(val) === 'object' && val !== null;
416
+ return ret;
417
+ };
418
+
419
+ module.exports.__wbindgen_in = function(arg0, arg1) {
420
+ const ret = getObject(arg0) in getObject(arg1);
421
+ return ret;
422
+ };
423
+
424
+ module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
388
425
  const ret = arg0;
389
426
  return addHeapObject(ret);
390
427
  };
391
428
 
392
- module.exports.__wbg_new_a9d80688888b4894 = function(arg0) {
393
- const ret = new Date(getObject(arg0));
394
- return addHeapObject(ret);
429
+ module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
430
+ const ret = getObject(arg0) === getObject(arg1);
431
+ return ret;
395
432
  };
396
433
 
397
- module.exports.__wbindgen_object_drop_ref = function(arg0) {
398
- takeObject(arg0);
434
+ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
435
+ const ret = BigInt.asUintN(64, arg0);
436
+ return addHeapObject(ret);
399
437
  };
400
438
 
401
- module.exports.__wbg_getTimezoneOffset_840b552f34917133 = function(arg0) {
402
- const ret = getObject(arg0).getTimezoneOffset();
439
+ module.exports.__wbindgen_is_string = function(arg0) {
440
+ const ret = typeof(getObject(arg0)) === 'string';
403
441
  return ret;
404
442
  };
405
443
 
406
- module.exports.__wbg_getTime_0e03c3f524be31ef = function(arg0) {
407
- const ret = getObject(arg0).getTime();
444
+ module.exports.__wbindgen_is_undefined = function(arg0) {
445
+ const ret = getObject(arg0) === undefined;
408
446
  return ret;
409
447
  };
410
448
 
449
+ module.exports.__wbindgen_string_new = function(arg0, arg1) {
450
+ const ret = getStringFromWasm0(arg0, arg1);
451
+ return addHeapObject(ret);
452
+ };
453
+
454
+ module.exports.__wbindgen_error_new = function(arg0, arg1) {
455
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
456
+ return addHeapObject(ret);
457
+ };
458
+
411
459
  module.exports.__wbg_new_abda76e883ba8a5f = function() {
412
460
  const ret = new Error();
413
461
  return addHeapObject(ret);
@@ -427,41 +475,52 @@ if (arg0 !== 0) { wasm.__wbindgen_free(arg0, arg1, 1); }
427
475
  console.error(v0);
428
476
  };
429
477
 
430
- module.exports.__wbindgen_memory = function() {
431
- const ret = wasm.memory;
478
+ module.exports.__wbg_queueMicrotask_f82fc5d1e8f816ae = function(arg0) {
479
+ const ret = getObject(arg0).queueMicrotask;
432
480
  return addHeapObject(ret);
433
481
  };
434
482
 
435
- module.exports.__wbg_buffer_b914fb8b50ebbc3e = function(arg0) {
436
- const ret = getObject(arg0).buffer;
437
- return addHeapObject(ret);
483
+ module.exports.__wbindgen_is_function = function(arg0) {
484
+ const ret = typeof(getObject(arg0)) === 'function';
485
+ return ret;
438
486
  };
439
487
 
440
- module.exports.__wbg_newwithbyteoffsetandlength_0de9ee56e9f6ee6e = function(arg0, arg1, arg2) {
441
- const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
442
- return addHeapObject(ret);
488
+ module.exports.__wbindgen_cb_drop = function(arg0) {
489
+ const obj = takeObject(arg0).original;
490
+ if (obj.cnt-- == 1) {
491
+ obj.a = 0;
492
+ return true;
493
+ }
494
+ const ret = false;
495
+ return ret;
443
496
  };
444
497
 
445
- module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
446
- getObject(arg0).randomFillSync(takeObject(arg1));
447
- }, arguments) };
498
+ module.exports.__wbg_queueMicrotask_f61ee94ee663068b = function(arg0) {
499
+ queueMicrotask(getObject(arg0));
500
+ };
448
501
 
449
- module.exports.__wbg_subarray_adc418253d76e2f1 = function(arg0, arg1, arg2) {
450
- const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
502
+ module.exports.__wbindgen_object_clone_ref = function(arg0) {
503
+ const ret = getObject(arg0);
451
504
  return addHeapObject(ret);
452
505
  };
453
506
 
454
- module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
455
- getObject(arg0).getRandomValues(getObject(arg1));
456
- }, arguments) };
507
+ module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
508
+ const ret = getObject(arg0) == getObject(arg1);
509
+ return ret;
510
+ };
457
511
 
458
- module.exports.__wbg_new_b1f2d6842d615181 = function(arg0) {
459
- const ret = new Uint8Array(getObject(arg0));
512
+ module.exports.__wbindgen_number_new = function(arg0) {
513
+ const ret = arg0;
460
514
  return addHeapObject(ret);
461
515
  };
462
516
 
463
- module.exports.__wbg_set_7d988c98e6ced92d = function(arg0, arg1, arg2) {
464
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
517
+ module.exports.__wbg_getwithrefkey_15c62c2b8546208d = function(arg0, arg1) {
518
+ const ret = getObject(arg0)[getObject(arg1)];
519
+ return addHeapObject(ret);
520
+ };
521
+
522
+ module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
523
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
465
524
  };
466
525
 
467
526
  module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
@@ -469,12 +528,6 @@ module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
469
528
  return addHeapObject(ret);
470
529
  };
471
530
 
472
- module.exports.__wbindgen_is_object = function(arg0) {
473
- const val = getObject(arg0);
474
- const ret = typeof(val) === 'object' && val !== null;
475
- return ret;
476
- };
477
-
478
531
  module.exports.__wbg_process_298734cf255a885d = function(arg0) {
479
532
  const ret = getObject(arg0).process;
480
533
  return addHeapObject(ret);
@@ -490,38 +543,57 @@ module.exports.__wbg_node_1cd7a5d853dbea79 = function(arg0) {
490
543
  return addHeapObject(ret);
491
544
  };
492
545
 
493
- module.exports.__wbindgen_is_string = function(arg0) {
494
- const ret = typeof(getObject(arg0)) === 'string';
495
- return ret;
496
- };
497
-
498
546
  module.exports.__wbg_require_8f08ceecec0f4fee = function() { return handleError(function () {
499
547
  const ret = module.require;
500
548
  return addHeapObject(ret);
501
549
  }, arguments) };
502
550
 
503
- module.exports.__wbindgen_is_function = function(arg0) {
504
- const ret = typeof(getObject(arg0)) === 'function';
551
+ module.exports.__wbg_msCrypto_bcb970640f50a1e8 = function(arg0) {
552
+ const ret = getObject(arg0).msCrypto;
553
+ return addHeapObject(ret);
554
+ };
555
+
556
+ module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
557
+ getObject(arg0).randomFillSync(takeObject(arg1));
558
+ }, arguments) };
559
+
560
+ module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
561
+ getObject(arg0).getRandomValues(getObject(arg1));
562
+ }, arguments) };
563
+
564
+ module.exports.__wbg_get_0ee8ea3c7c984c45 = function(arg0, arg1) {
565
+ const ret = getObject(arg0)[arg1 >>> 0];
566
+ return addHeapObject(ret);
567
+ };
568
+
569
+ module.exports.__wbg_length_161c0d89c6535c1d = function(arg0) {
570
+ const ret = getObject(arg0).length;
505
571
  return ret;
506
572
  };
507
573
 
508
- module.exports.__wbindgen_string_new = function(arg0, arg1) {
509
- const ret = getStringFromWasm0(arg0, arg1);
574
+ module.exports.__wbg_newnoargs_cfecb3965268594c = function(arg0, arg1) {
575
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
576
+ const ret = new Function(v0);
510
577
  return addHeapObject(ret);
511
578
  };
512
579
 
513
- module.exports.__wbg_call_67f2111acd2dfdb6 = function() { return handleError(function (arg0, arg1, arg2) {
514
- const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
580
+ module.exports.__wbg_next_586204376d2ed373 = function(arg0) {
581
+ const ret = getObject(arg0).next;
515
582
  return addHeapObject(ret);
516
- }, arguments) };
583
+ };
517
584
 
518
- module.exports.__wbg_msCrypto_bcb970640f50a1e8 = function(arg0) {
519
- const ret = getObject(arg0).msCrypto;
585
+ module.exports.__wbg_next_b2d3366343a208b3 = function() { return handleError(function (arg0) {
586
+ const ret = getObject(arg0).next();
520
587
  return addHeapObject(ret);
588
+ }, arguments) };
589
+
590
+ module.exports.__wbg_done_90b14d6f6eacc42f = function(arg0) {
591
+ const ret = getObject(arg0).done;
592
+ return ret;
521
593
  };
522
594
 
523
- module.exports.__wbg_newwithlength_0d03cef43b68a530 = function(arg0) {
524
- const ret = new Uint8Array(arg0 >>> 0);
595
+ module.exports.__wbg_value_3158be908c80a75e = function(arg0) {
596
+ const ret = getObject(arg0).value;
525
597
  return addHeapObject(ret);
526
598
  };
527
599
 
@@ -540,11 +612,6 @@ module.exports.__wbg_call_3f093dd26d5569f8 = function() { return handleError(fun
540
612
  return addHeapObject(ret);
541
613
  }, arguments) };
542
614
 
543
- module.exports.__wbg_next_586204376d2ed373 = function(arg0) {
544
- const ret = getObject(arg0).next;
545
- return addHeapObject(ret);
546
- };
547
-
548
615
  module.exports.__wbg_self_05040bd9523805b9 = function() { return handleError(function () {
549
616
  const ret = self.self;
550
617
  return addHeapObject(ret);
@@ -565,67 +632,8 @@ module.exports.__wbg_global_f56b013ed9bcf359 = function() { return handleError(f
565
632
  return addHeapObject(ret);
566
633
  }, arguments) };
567
634
 
568
- module.exports.__wbindgen_is_undefined = function(arg0) {
569
- const ret = getObject(arg0) === undefined;
570
- return ret;
571
- };
572
-
573
- module.exports.__wbg_newnoargs_cfecb3965268594c = function(arg0, arg1) {
574
- var v0 = getCachedStringFromWasm0(arg0, arg1);
575
- const ret = new Function(v0);
576
- return addHeapObject(ret);
577
- };
578
-
579
- module.exports.__wbindgen_object_clone_ref = function(arg0) {
580
- const ret = getObject(arg0);
581
- return addHeapObject(ret);
582
- };
583
-
584
- module.exports.__wbg_length_21c4b0ae73cba59d = function(arg0) {
585
- const ret = getObject(arg0).length;
586
- return ret;
587
- };
588
-
589
- module.exports.__wbindgen_string_get = function(arg0, arg1) {
590
- const obj = getObject(arg1);
591
- const ret = typeof(obj) === 'string' ? obj : undefined;
592
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
593
- var len1 = WASM_VECTOR_LEN;
594
- getInt32Memory0()[arg0 / 4 + 1] = len1;
595
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
596
- };
597
-
598
- module.exports.__wbindgen_error_new = function(arg0, arg1) {
599
- const ret = new Error(getStringFromWasm0(arg0, arg1));
600
- return addHeapObject(ret);
601
- };
602
-
603
- module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
604
- const ret = getObject(arg0) == getObject(arg1);
605
- return ret;
606
- };
607
-
608
- module.exports.__wbindgen_boolean_get = function(arg0) {
609
- const v = getObject(arg0);
610
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
611
- return ret;
612
- };
613
-
614
- module.exports.__wbindgen_number_get = function(arg0, arg1) {
615
- const obj = getObject(arg1);
616
- const ret = typeof(obj) === 'number' ? obj : undefined;
617
- getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
618
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
619
- };
620
-
621
- module.exports.__wbg_instanceof_Uint8Array_c299a4ee232e76ba = function(arg0) {
622
- let result;
623
- try {
624
- result = getObject(arg0) instanceof Uint8Array;
625
- } catch (_) {
626
- result = false;
627
- }
628
- const ret = result;
635
+ module.exports.__wbg_isArray_e783c41d0dd19b44 = function(arg0) {
636
+ const ret = Array.isArray(getObject(arg0));
629
637
  return ret;
630
638
  };
631
639
 
@@ -640,70 +648,33 @@ module.exports.__wbg_instanceof_ArrayBuffer_9221fa854ffb71b5 = function(arg0) {
640
648
  return ret;
641
649
  };
642
650
 
643
- module.exports.__wbindgen_is_bigint = function(arg0) {
644
- const ret = typeof(getObject(arg0)) === 'bigint';
645
- return ret;
646
- };
647
-
648
- module.exports.__wbg_isArray_e783c41d0dd19b44 = function(arg0) {
649
- const ret = Array.isArray(getObject(arg0));
650
- return ret;
651
- };
651
+ module.exports.__wbg_call_67f2111acd2dfdb6 = function() { return handleError(function (arg0, arg1, arg2) {
652
+ const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
653
+ return addHeapObject(ret);
654
+ }, arguments) };
652
655
 
653
656
  module.exports.__wbg_isSafeInteger_a23a66ee7c41b273 = function(arg0) {
654
657
  const ret = Number.isSafeInteger(getObject(arg0));
655
658
  return ret;
656
659
  };
657
660
 
658
- module.exports.__wbindgen_in = function(arg0, arg1) {
659
- const ret = getObject(arg0) in getObject(arg1);
660
- return ret;
661
- };
662
-
663
- module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
664
- const v = getObject(arg1);
665
- const ret = typeof(v) === 'bigint' ? v : undefined;
666
- getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
667
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
668
- };
669
-
670
- module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
671
- const ret = arg0;
672
- return addHeapObject(ret);
673
- };
674
-
675
- module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
676
- const ret = getObject(arg0) === getObject(arg1);
661
+ module.exports.__wbg_getTime_0e03c3f524be31ef = function(arg0) {
662
+ const ret = getObject(arg0).getTime();
677
663
  return ret;
678
664
  };
679
665
 
680
- module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
681
- const ret = BigInt.asUintN(64, arg0);
682
- return addHeapObject(ret);
683
- };
684
-
685
- module.exports.__wbg_length_161c0d89c6535c1d = function(arg0) {
686
- const ret = getObject(arg0).length;
666
+ module.exports.__wbg_getTimezoneOffset_840b552f34917133 = function(arg0) {
667
+ const ret = getObject(arg0).getTimezoneOffset();
687
668
  return ret;
688
669
  };
689
670
 
690
- module.exports.__wbg_get_0ee8ea3c7c984c45 = function(arg0, arg1) {
691
- const ret = getObject(arg0)[arg1 >>> 0];
692
- return addHeapObject(ret);
693
- };
694
-
695
- module.exports.__wbg_next_b2d3366343a208b3 = function() { return handleError(function (arg0) {
696
- const ret = getObject(arg0).next();
671
+ module.exports.__wbg_new_a9d80688888b4894 = function(arg0) {
672
+ const ret = new Date(getObject(arg0));
697
673
  return addHeapObject(ret);
698
- }, arguments) };
699
-
700
- module.exports.__wbg_done_90b14d6f6eacc42f = function(arg0) {
701
- const ret = getObject(arg0).done;
702
- return ret;
703
674
  };
704
675
 
705
- module.exports.__wbg_value_3158be908c80a75e = function(arg0) {
706
- const ret = getObject(arg0).value;
676
+ module.exports.__wbg_new0_7a6141101f2206da = function() {
677
+ const ret = new Date();
707
678
  return addHeapObject(ret);
708
679
  };
709
680
 
@@ -712,8 +683,8 @@ module.exports.__wbg_entries_488960b196cfb6a5 = function(arg0) {
712
683
  return addHeapObject(ret);
713
684
  };
714
685
 
715
- module.exports.__wbg_getwithrefkey_15c62c2b8546208d = function(arg0, arg1) {
716
- const ret = getObject(arg0)[getObject(arg1)];
686
+ module.exports.__wbg_new_632630b5cec17f21 = function() {
687
+ const ret = new Object();
717
688
  return addHeapObject(ret);
718
689
  };
719
690
 
@@ -724,7 +695,7 @@ module.exports.__wbg_new_70828a4353259d4b = function(arg0, arg1) {
724
695
  const a = state0.a;
725
696
  state0.a = 0;
726
697
  try {
727
- return __wbg_adapter_109(a, state0.b, arg0, arg1);
698
+ return __wbg_adapter_125(a, state0.b, arg0, arg1);
728
699
  } finally {
729
700
  state0.a = a;
730
701
  }
@@ -736,58 +707,87 @@ module.exports.__wbg_new_70828a4353259d4b = function(arg0, arg1) {
736
707
  }
737
708
  };
738
709
 
739
- module.exports.__wbg_new_632630b5cec17f21 = function() {
740
- const ret = new Object();
710
+ module.exports.__wbg_resolve_5da6faf2c96fd1d5 = function(arg0) {
711
+ const ret = Promise.resolve(getObject(arg0));
741
712
  return addHeapObject(ret);
742
713
  };
743
714
 
744
- module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
745
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
715
+ module.exports.__wbg_then_f9e58f5a50f43eae = function(arg0, arg1) {
716
+ const ret = getObject(arg0).then(getObject(arg1));
717
+ return addHeapObject(ret);
746
718
  };
747
719
 
748
- module.exports.__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;
720
+ module.exports.__wbg_buffer_b914fb8b50ebbc3e = function(arg0) {
721
+ const ret = getObject(arg0).buffer;
722
+ return addHeapObject(ret);
754
723
  };
755
724
 
756
- module.exports.__wbindgen_throw = function(arg0, arg1) {
757
- throw new Error(getStringFromWasm0(arg0, arg1));
725
+ module.exports.__wbg_newwithbyteoffsetandlength_0de9ee56e9f6ee6e = function(arg0, arg1, arg2) {
726
+ const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
727
+ return addHeapObject(ret);
758
728
  };
759
729
 
760
- module.exports.__wbg_then_f9e58f5a50f43eae = function(arg0, arg1) {
761
- const ret = getObject(arg0).then(getObject(arg1));
730
+ module.exports.__wbg_new_b1f2d6842d615181 = function(arg0) {
731
+ const ret = new Uint8Array(getObject(arg0));
762
732
  return addHeapObject(ret);
763
733
  };
764
734
 
765
- module.exports.__wbg_queueMicrotask_f61ee94ee663068b = function(arg0) {
766
- queueMicrotask(getObject(arg0));
735
+ module.exports.__wbg_set_7d988c98e6ced92d = function(arg0, arg1, arg2) {
736
+ getObject(arg0).set(getObject(arg1), arg2 >>> 0);
767
737
  };
768
738
 
769
- module.exports.__wbg_queueMicrotask_f82fc5d1e8f816ae = function(arg0) {
770
- const ret = getObject(arg0).queueMicrotask;
739
+ module.exports.__wbg_length_21c4b0ae73cba59d = function(arg0) {
740
+ const ret = getObject(arg0).length;
741
+ return ret;
742
+ };
743
+
744
+ module.exports.__wbg_instanceof_Uint8Array_c299a4ee232e76ba = function(arg0) {
745
+ let result;
746
+ try {
747
+ result = getObject(arg0) instanceof Uint8Array;
748
+ } catch (_) {
749
+ result = false;
750
+ }
751
+ const ret = result;
752
+ return ret;
753
+ };
754
+
755
+ module.exports.__wbg_newwithlength_0d03cef43b68a530 = function(arg0) {
756
+ const ret = new Uint8Array(arg0 >>> 0);
771
757
  return addHeapObject(ret);
772
758
  };
773
759
 
774
- module.exports.__wbg_resolve_5da6faf2c96fd1d5 = function(arg0) {
775
- const ret = Promise.resolve(getObject(arg0));
760
+ module.exports.__wbg_subarray_adc418253d76e2f1 = function(arg0, arg1, arg2) {
761
+ const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
776
762
  return addHeapObject(ret);
777
763
  };
778
764
 
779
- module.exports.__wbindgen_cb_drop = function(arg0) {
780
- const obj = takeObject(arg0).original;
781
- if (obj.cnt-- == 1) {
782
- obj.a = 0;
783
- return true;
784
- }
785
- const ret = false;
786
- return ret;
765
+ module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
766
+ const v = getObject(arg1);
767
+ const ret = typeof(v) === 'bigint' ? v : undefined;
768
+ getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
769
+ getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
770
+ };
771
+
772
+ module.exports.__wbindgen_debug_string = function(arg0, arg1) {
773
+ const ret = debugString(getObject(arg1));
774
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
775
+ const len1 = WASM_VECTOR_LEN;
776
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
777
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
778
+ };
779
+
780
+ module.exports.__wbindgen_throw = function(arg0, arg1) {
781
+ throw new Error(getStringFromWasm0(arg0, arg1));
782
+ };
783
+
784
+ module.exports.__wbindgen_memory = function() {
785
+ const ret = wasm.memory;
786
+ return addHeapObject(ret);
787
787
  };
788
788
 
789
- module.exports.__wbindgen_closure_wrapper26872 = function(arg0, arg1, arg2) {
790
- const ret = makeMutClosure(arg0, arg1, 451, __wbg_adapter_48);
789
+ module.exports.__wbindgen_closure_wrapper15597 = function(arg0, arg1, arg2) {
790
+ const ret = makeMutClosure(arg0, arg1, 3545, __wbg_adapter_48);
791
791
  return addHeapObject(ret);
792
792
  };
793
793
 
package/wasm_bg.wasm CHANGED
Binary file