@next/swc-wasm-nodejs 14.2.0-canary.6 → 14.2.0-canary.7
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.
- package/package.json +1 -1
- package/wasm.js +267 -267
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
let imports = {};
|
|
2
2
|
imports['__wbindgen_placeholder__'] = module.exports;
|
|
3
3
|
let wasm;
|
|
4
|
-
const {
|
|
4
|
+
const { TextDecoder, TextEncoder } = require(`util`);
|
|
5
5
|
|
|
6
6
|
const heap = new Array(128).fill(undefined);
|
|
7
7
|
|
|
@@ -23,7 +23,18 @@ function takeObject(idx) {
|
|
|
23
23
|
return ret;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
function addHeapObject(obj) {
|
|
27
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
28
|
+
const idx = heap_next;
|
|
29
|
+
heap_next = heap[idx];
|
|
30
|
+
|
|
31
|
+
heap[idx] = obj;
|
|
32
|
+
return idx;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
36
|
+
|
|
37
|
+
cachedTextDecoder.decode();
|
|
27
38
|
|
|
28
39
|
let cachedUint8Memory0 = null;
|
|
29
40
|
|
|
@@ -34,6 +45,35 @@ function getUint8Memory0() {
|
|
|
34
45
|
return cachedUint8Memory0;
|
|
35
46
|
}
|
|
36
47
|
|
|
48
|
+
function getStringFromWasm0(ptr, len) {
|
|
49
|
+
ptr = ptr >>> 0;
|
|
50
|
+
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function isLikeNone(x) {
|
|
54
|
+
return x === undefined || x === null;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
let cachedFloat64Memory0 = null;
|
|
58
|
+
|
|
59
|
+
function getFloat64Memory0() {
|
|
60
|
+
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
61
|
+
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
62
|
+
}
|
|
63
|
+
return cachedFloat64Memory0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
let cachedInt32Memory0 = null;
|
|
67
|
+
|
|
68
|
+
function getInt32Memory0() {
|
|
69
|
+
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
70
|
+
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
71
|
+
}
|
|
72
|
+
return cachedInt32Memory0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
let WASM_VECTOR_LEN = 0;
|
|
76
|
+
|
|
37
77
|
let cachedTextEncoder = new TextEncoder('utf-8');
|
|
38
78
|
|
|
39
79
|
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
@@ -88,46 +128,6 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
88
128
|
return ptr;
|
|
89
129
|
}
|
|
90
130
|
|
|
91
|
-
function isLikeNone(x) {
|
|
92
|
-
return x === undefined || x === null;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
let cachedInt32Memory0 = null;
|
|
96
|
-
|
|
97
|
-
function getInt32Memory0() {
|
|
98
|
-
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
99
|
-
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
100
|
-
}
|
|
101
|
-
return cachedInt32Memory0;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
function addHeapObject(obj) {
|
|
105
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
106
|
-
const idx = heap_next;
|
|
107
|
-
heap_next = heap[idx];
|
|
108
|
-
|
|
109
|
-
heap[idx] = obj;
|
|
110
|
-
return idx;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
let cachedFloat64Memory0 = null;
|
|
114
|
-
|
|
115
|
-
function getFloat64Memory0() {
|
|
116
|
-
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
117
|
-
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
118
|
-
}
|
|
119
|
-
return cachedFloat64Memory0;
|
|
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,7 +233,26 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
233
233
|
return real;
|
|
234
234
|
}
|
|
235
235
|
function __wbg_adapter_48(arg0, arg1, arg2) {
|
|
236
|
-
wasm.
|
|
236
|
+
wasm.wasm_bindgen_db1a10163f1cae81___convert__closures__invoke1_mut___wasm_bindgen_db1a10163f1cae81___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_db1a10163f1cae81___convert__closures__invoke2_mut___wasm_bindgen_db1a10163f1cae81___JsValue__wasm_bindgen_db1a10163f1cae81___JsValue_____(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
237
256
|
}
|
|
238
257
|
|
|
239
258
|
/**
|
|
@@ -360,102 +379,35 @@ module.exports.parse = function(s, opts) {
|
|
|
360
379
|
return takeObject(ret);
|
|
361
380
|
};
|
|
362
381
|
|
|
363
|
-
function
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
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_19194eebc680be5___convert__closures__invoke2_mut___wasm_bindgen_19194eebc680be5___JsValue__wasm_bindgen_19194eebc680be5___JsValue_____(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
380
|
-
}
|
|
382
|
+
module.exports.__wbg_new0_7a6141101f2206da = function() {
|
|
383
|
+
const ret = new Date();
|
|
384
|
+
return addHeapObject(ret);
|
|
385
|
+
};
|
|
381
386
|
|
|
382
387
|
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
383
388
|
takeObject(arg0);
|
|
384
389
|
};
|
|
385
390
|
|
|
386
|
-
module.exports.
|
|
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_bigint_from_i64 = function(arg0) {
|
|
391
|
+
module.exports.__wbindgen_number_new = function(arg0) {
|
|
407
392
|
const ret = arg0;
|
|
408
393
|
return addHeapObject(ret);
|
|
409
394
|
};
|
|
410
395
|
|
|
411
|
-
module.exports.
|
|
412
|
-
const ret = getObject(arg0)
|
|
413
|
-
return ret;
|
|
414
|
-
};
|
|
415
|
-
|
|
416
|
-
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
417
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
396
|
+
module.exports.__wbg_new_a9d80688888b4894 = function(arg0) {
|
|
397
|
+
const ret = new Date(getObject(arg0));
|
|
418
398
|
return addHeapObject(ret);
|
|
419
399
|
};
|
|
420
400
|
|
|
421
|
-
module.exports.
|
|
422
|
-
const
|
|
423
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
424
|
-
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
425
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
426
|
-
};
|
|
427
|
-
|
|
428
|
-
module.exports.__wbindgen_is_object = function(arg0) {
|
|
429
|
-
const val = getObject(arg0);
|
|
430
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
431
|
-
return ret;
|
|
432
|
-
};
|
|
433
|
-
|
|
434
|
-
module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
435
|
-
const ret = getObject(arg0) in getObject(arg1);
|
|
436
|
-
return ret;
|
|
437
|
-
};
|
|
438
|
-
|
|
439
|
-
module.exports.__wbindgen_is_string = function(arg0) {
|
|
440
|
-
const ret = typeof(getObject(arg0)) === 'string';
|
|
401
|
+
module.exports.__wbg_getTimezoneOffset_840b552f34917133 = function(arg0) {
|
|
402
|
+
const ret = getObject(arg0).getTimezoneOffset();
|
|
441
403
|
return ret;
|
|
442
404
|
};
|
|
443
405
|
|
|
444
|
-
module.exports.
|
|
445
|
-
const ret = getObject(arg0)
|
|
406
|
+
module.exports.__wbg_getTime_0e03c3f524be31ef = function(arg0) {
|
|
407
|
+
const ret = getObject(arg0).getTime();
|
|
446
408
|
return ret;
|
|
447
409
|
};
|
|
448
410
|
|
|
449
|
-
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
450
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
451
|
-
return addHeapObject(ret);
|
|
452
|
-
};
|
|
453
|
-
|
|
454
|
-
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
455
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
456
|
-
return addHeapObject(ret);
|
|
457
|
-
};
|
|
458
|
-
|
|
459
411
|
module.exports.__wbg_new_abda76e883ba8a5f = function() {
|
|
460
412
|
const ret = new Error();
|
|
461
413
|
return addHeapObject(ret);
|
|
@@ -475,52 +427,41 @@ if (arg0 !== 0) { wasm.__wbindgen_free(arg0, arg1, 1); }
|
|
|
475
427
|
console.error(v0);
|
|
476
428
|
};
|
|
477
429
|
|
|
478
|
-
module.exports.
|
|
479
|
-
const ret =
|
|
430
|
+
module.exports.__wbindgen_memory = function() {
|
|
431
|
+
const ret = wasm.memory;
|
|
480
432
|
return addHeapObject(ret);
|
|
481
433
|
};
|
|
482
434
|
|
|
483
|
-
module.exports.
|
|
484
|
-
const ret =
|
|
485
|
-
return ret;
|
|
486
|
-
};
|
|
487
|
-
|
|
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;
|
|
496
|
-
};
|
|
497
|
-
|
|
498
|
-
module.exports.__wbg_queueMicrotask_f61ee94ee663068b = function(arg0) {
|
|
499
|
-
queueMicrotask(getObject(arg0));
|
|
435
|
+
module.exports.__wbg_buffer_b914fb8b50ebbc3e = function(arg0) {
|
|
436
|
+
const ret = getObject(arg0).buffer;
|
|
437
|
+
return addHeapObject(ret);
|
|
500
438
|
};
|
|
501
439
|
|
|
502
|
-
module.exports.
|
|
503
|
-
const ret = getObject(arg0);
|
|
440
|
+
module.exports.__wbg_newwithbyteoffsetandlength_0de9ee56e9f6ee6e = function(arg0, arg1, arg2) {
|
|
441
|
+
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
504
442
|
return addHeapObject(ret);
|
|
505
443
|
};
|
|
506
444
|
|
|
507
|
-
module.exports.
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
};
|
|
445
|
+
module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
|
|
446
|
+
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
447
|
+
}, arguments) };
|
|
511
448
|
|
|
512
|
-
module.exports.
|
|
513
|
-
const ret = arg0;
|
|
449
|
+
module.exports.__wbg_subarray_adc418253d76e2f1 = function(arg0, arg1, arg2) {
|
|
450
|
+
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
514
451
|
return addHeapObject(ret);
|
|
515
452
|
};
|
|
516
453
|
|
|
517
|
-
module.exports.
|
|
518
|
-
|
|
454
|
+
module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
|
|
455
|
+
getObject(arg0).getRandomValues(getObject(arg1));
|
|
456
|
+
}, arguments) };
|
|
457
|
+
|
|
458
|
+
module.exports.__wbg_new_b1f2d6842d615181 = function(arg0) {
|
|
459
|
+
const ret = new Uint8Array(getObject(arg0));
|
|
519
460
|
return addHeapObject(ret);
|
|
520
461
|
};
|
|
521
462
|
|
|
522
|
-
module.exports.
|
|
523
|
-
getObject(arg0)
|
|
463
|
+
module.exports.__wbg_set_7d988c98e6ced92d = function(arg0, arg1, arg2) {
|
|
464
|
+
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
524
465
|
};
|
|
525
466
|
|
|
526
467
|
module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
|
|
@@ -528,6 +469,12 @@ module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
|
|
|
528
469
|
return addHeapObject(ret);
|
|
529
470
|
};
|
|
530
471
|
|
|
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
|
+
|
|
531
478
|
module.exports.__wbg_process_298734cf255a885d = function(arg0) {
|
|
532
479
|
const ret = getObject(arg0).process;
|
|
533
480
|
return addHeapObject(ret);
|
|
@@ -543,60 +490,41 @@ module.exports.__wbg_node_1cd7a5d853dbea79 = function(arg0) {
|
|
|
543
490
|
return addHeapObject(ret);
|
|
544
491
|
};
|
|
545
492
|
|
|
493
|
+
module.exports.__wbindgen_is_string = function(arg0) {
|
|
494
|
+
const ret = typeof(getObject(arg0)) === 'string';
|
|
495
|
+
return ret;
|
|
496
|
+
};
|
|
497
|
+
|
|
546
498
|
module.exports.__wbg_msCrypto_bcb970640f50a1e8 = function(arg0) {
|
|
547
499
|
const ret = getObject(arg0).msCrypto;
|
|
548
500
|
return addHeapObject(ret);
|
|
549
501
|
};
|
|
550
502
|
|
|
503
|
+
module.exports.__wbg_newwithlength_0d03cef43b68a530 = function(arg0) {
|
|
504
|
+
const ret = new Uint8Array(arg0 >>> 0);
|
|
505
|
+
return addHeapObject(ret);
|
|
506
|
+
};
|
|
507
|
+
|
|
551
508
|
module.exports.__wbg_require_8f08ceecec0f4fee = function() { return handleError(function () {
|
|
552
509
|
const ret = module.require;
|
|
553
510
|
return addHeapObject(ret);
|
|
554
511
|
}, arguments) };
|
|
555
512
|
|
|
556
|
-
module.exports.
|
|
557
|
-
getObject(arg0)
|
|
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;
|
|
513
|
+
module.exports.__wbindgen_is_function = function(arg0) {
|
|
514
|
+
const ret = typeof(getObject(arg0)) === 'function';
|
|
571
515
|
return ret;
|
|
572
516
|
};
|
|
573
517
|
|
|
574
|
-
module.exports.
|
|
575
|
-
|
|
576
|
-
const ret = new Function(v0);
|
|
577
|
-
return addHeapObject(ret);
|
|
578
|
-
};
|
|
579
|
-
|
|
580
|
-
module.exports.__wbg_next_586204376d2ed373 = function(arg0) {
|
|
581
|
-
const ret = getObject(arg0).next;
|
|
518
|
+
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
519
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
582
520
|
return addHeapObject(ret);
|
|
583
521
|
};
|
|
584
522
|
|
|
585
|
-
module.exports.
|
|
586
|
-
const ret = getObject(arg0).
|
|
523
|
+
module.exports.__wbg_call_67f2111acd2dfdb6 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
524
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
587
525
|
return addHeapObject(ret);
|
|
588
526
|
}, arguments) };
|
|
589
527
|
|
|
590
|
-
module.exports.__wbg_done_90b14d6f6eacc42f = function(arg0) {
|
|
591
|
-
const ret = getObject(arg0).done;
|
|
592
|
-
return ret;
|
|
593
|
-
};
|
|
594
|
-
|
|
595
|
-
module.exports.__wbg_value_3158be908c80a75e = function(arg0) {
|
|
596
|
-
const ret = getObject(arg0).value;
|
|
597
|
-
return addHeapObject(ret);
|
|
598
|
-
};
|
|
599
|
-
|
|
600
528
|
module.exports.__wbg_iterator_40027cdd598da26b = function() {
|
|
601
529
|
const ret = Symbol.iterator;
|
|
602
530
|
return addHeapObject(ret);
|
|
@@ -612,6 +540,11 @@ module.exports.__wbg_call_3f093dd26d5569f8 = function() { return handleError(fun
|
|
|
612
540
|
return addHeapObject(ret);
|
|
613
541
|
}, arguments) };
|
|
614
542
|
|
|
543
|
+
module.exports.__wbg_next_586204376d2ed373 = function(arg0) {
|
|
544
|
+
const ret = getObject(arg0).next;
|
|
545
|
+
return addHeapObject(ret);
|
|
546
|
+
};
|
|
547
|
+
|
|
615
548
|
module.exports.__wbg_self_05040bd9523805b9 = function() { return handleError(function () {
|
|
616
549
|
const ret = self.self;
|
|
617
550
|
return addHeapObject(ret);
|
|
@@ -632,8 +565,72 @@ module.exports.__wbg_global_f56b013ed9bcf359 = function() { return handleError(f
|
|
|
632
565
|
return addHeapObject(ret);
|
|
633
566
|
}, arguments) };
|
|
634
567
|
|
|
635
|
-
module.exports.
|
|
636
|
-
const ret =
|
|
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_error_new = function(arg0, arg1) {
|
|
590
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
591
|
+
return addHeapObject(ret);
|
|
592
|
+
};
|
|
593
|
+
|
|
594
|
+
module.exports.__wbg_entries_488960b196cfb6a5 = function(arg0) {
|
|
595
|
+
const ret = Object.entries(getObject(arg0));
|
|
596
|
+
return addHeapObject(ret);
|
|
597
|
+
};
|
|
598
|
+
|
|
599
|
+
module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
600
|
+
const ret = getObject(arg0) == getObject(arg1);
|
|
601
|
+
return ret;
|
|
602
|
+
};
|
|
603
|
+
|
|
604
|
+
module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
605
|
+
const v = getObject(arg0);
|
|
606
|
+
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
607
|
+
return ret;
|
|
608
|
+
};
|
|
609
|
+
|
|
610
|
+
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
611
|
+
const obj = getObject(arg1);
|
|
612
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
613
|
+
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
614
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
615
|
+
};
|
|
616
|
+
|
|
617
|
+
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
618
|
+
const obj = getObject(arg1);
|
|
619
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
620
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
621
|
+
var len1 = WASM_VECTOR_LEN;
|
|
622
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
623
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
624
|
+
};
|
|
625
|
+
|
|
626
|
+
module.exports.__wbg_instanceof_Uint8Array_c299a4ee232e76ba = function(arg0) {
|
|
627
|
+
let result;
|
|
628
|
+
try {
|
|
629
|
+
result = getObject(arg0) instanceof Uint8Array;
|
|
630
|
+
} catch (_) {
|
|
631
|
+
result = false;
|
|
632
|
+
}
|
|
633
|
+
const ret = result;
|
|
637
634
|
return ret;
|
|
638
635
|
};
|
|
639
636
|
|
|
@@ -648,38 +645,75 @@ module.exports.__wbg_instanceof_ArrayBuffer_9221fa854ffb71b5 = function(arg0) {
|
|
|
648
645
|
return ret;
|
|
649
646
|
};
|
|
650
647
|
|
|
651
|
-
module.exports.
|
|
652
|
-
const ret = getObject(arg0)
|
|
648
|
+
module.exports.__wbg_get_0ee8ea3c7c984c45 = function(arg0, arg1) {
|
|
649
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
650
|
+
return addHeapObject(ret);
|
|
651
|
+
};
|
|
652
|
+
|
|
653
|
+
module.exports.__wbg_next_b2d3366343a208b3 = function() { return handleError(function (arg0) {
|
|
654
|
+
const ret = getObject(arg0).next();
|
|
653
655
|
return addHeapObject(ret);
|
|
654
656
|
}, arguments) };
|
|
655
657
|
|
|
656
|
-
module.exports.
|
|
657
|
-
const ret =
|
|
658
|
+
module.exports.__wbg_done_90b14d6f6eacc42f = function(arg0) {
|
|
659
|
+
const ret = getObject(arg0).done;
|
|
658
660
|
return ret;
|
|
659
661
|
};
|
|
660
662
|
|
|
661
|
-
module.exports.
|
|
662
|
-
const ret = getObject(arg0).
|
|
663
|
-
return ret;
|
|
663
|
+
module.exports.__wbg_value_3158be908c80a75e = function(arg0) {
|
|
664
|
+
const ret = getObject(arg0).value;
|
|
665
|
+
return addHeapObject(ret);
|
|
664
666
|
};
|
|
665
667
|
|
|
666
|
-
module.exports.
|
|
667
|
-
const ret = getObject(arg0)
|
|
668
|
+
module.exports.__wbindgen_is_bigint = function(arg0) {
|
|
669
|
+
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
668
670
|
return ret;
|
|
669
671
|
};
|
|
670
672
|
|
|
671
|
-
module.exports.
|
|
672
|
-
const
|
|
673
|
+
module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
|
674
|
+
const v = getObject(arg1);
|
|
675
|
+
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
676
|
+
getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
|
|
677
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
681
|
+
const ret = arg0;
|
|
673
682
|
return addHeapObject(ret);
|
|
674
683
|
};
|
|
675
684
|
|
|
676
|
-
module.exports.
|
|
677
|
-
const ret =
|
|
685
|
+
module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
686
|
+
const ret = getObject(arg0) === getObject(arg1);
|
|
687
|
+
return ret;
|
|
688
|
+
};
|
|
689
|
+
|
|
690
|
+
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
691
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
678
692
|
return addHeapObject(ret);
|
|
679
693
|
};
|
|
680
694
|
|
|
681
|
-
module.exports.
|
|
682
|
-
const ret =
|
|
695
|
+
module.exports.__wbg_isSafeInteger_a23a66ee7c41b273 = function(arg0) {
|
|
696
|
+
const ret = Number.isSafeInteger(getObject(arg0));
|
|
697
|
+
return ret;
|
|
698
|
+
};
|
|
699
|
+
|
|
700
|
+
module.exports.__wbg_isArray_e783c41d0dd19b44 = function(arg0) {
|
|
701
|
+
const ret = Array.isArray(getObject(arg0));
|
|
702
|
+
return ret;
|
|
703
|
+
};
|
|
704
|
+
|
|
705
|
+
module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
706
|
+
const ret = getObject(arg0) in getObject(arg1);
|
|
707
|
+
return ret;
|
|
708
|
+
};
|
|
709
|
+
|
|
710
|
+
module.exports.__wbg_length_161c0d89c6535c1d = function(arg0) {
|
|
711
|
+
const ret = getObject(arg0).length;
|
|
712
|
+
return ret;
|
|
713
|
+
};
|
|
714
|
+
|
|
715
|
+
module.exports.__wbg_getwithrefkey_15c62c2b8546208d = function(arg0, arg1) {
|
|
716
|
+
const ret = getObject(arg0)[getObject(arg1)];
|
|
683
717
|
return addHeapObject(ret);
|
|
684
718
|
};
|
|
685
719
|
|
|
@@ -688,6 +722,18 @@ module.exports.__wbg_new_632630b5cec17f21 = function() {
|
|
|
688
722
|
return addHeapObject(ret);
|
|
689
723
|
};
|
|
690
724
|
|
|
725
|
+
module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
|
|
726
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
727
|
+
};
|
|
728
|
+
|
|
729
|
+
module.exports.__wbindgen_debug_string = function(arg0, arg1) {
|
|
730
|
+
const ret = debugString(getObject(arg1));
|
|
731
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
732
|
+
const len1 = WASM_VECTOR_LEN;
|
|
733
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
734
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
735
|
+
};
|
|
736
|
+
|
|
691
737
|
module.exports.__wbg_new_70828a4353259d4b = function(arg0, arg1) {
|
|
692
738
|
try {
|
|
693
739
|
var state0 = {a: arg0, b: arg1};
|
|
@@ -695,7 +741,7 @@ module.exports.__wbg_new_70828a4353259d4b = function(arg0, arg1) {
|
|
|
695
741
|
const a = state0.a;
|
|
696
742
|
state0.a = 0;
|
|
697
743
|
try {
|
|
698
|
-
return
|
|
744
|
+
return __wbg_adapter_109(a, state0.b, arg0, arg1);
|
|
699
745
|
} finally {
|
|
700
746
|
state0.a = a;
|
|
701
747
|
}
|
|
@@ -707,9 +753,8 @@ module.exports.__wbg_new_70828a4353259d4b = function(arg0, arg1) {
|
|
|
707
753
|
}
|
|
708
754
|
};
|
|
709
755
|
|
|
710
|
-
module.exports.
|
|
711
|
-
|
|
712
|
-
return addHeapObject(ret);
|
|
756
|
+
module.exports.__wbindgen_throw = function(arg0, arg1) {
|
|
757
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
713
758
|
};
|
|
714
759
|
|
|
715
760
|
module.exports.__wbg_then_f9e58f5a50f43eae = function(arg0, arg1) {
|
|
@@ -717,77 +762,32 @@ module.exports.__wbg_then_f9e58f5a50f43eae = function(arg0, arg1) {
|
|
|
717
762
|
return addHeapObject(ret);
|
|
718
763
|
};
|
|
719
764
|
|
|
720
|
-
module.exports.
|
|
721
|
-
|
|
722
|
-
return addHeapObject(ret);
|
|
765
|
+
module.exports.__wbg_queueMicrotask_f61ee94ee663068b = function(arg0) {
|
|
766
|
+
queueMicrotask(getObject(arg0));
|
|
723
767
|
};
|
|
724
768
|
|
|
725
|
-
module.exports.
|
|
726
|
-
const ret =
|
|
769
|
+
module.exports.__wbg_queueMicrotask_f82fc5d1e8f816ae = function(arg0) {
|
|
770
|
+
const ret = getObject(arg0).queueMicrotask;
|
|
727
771
|
return addHeapObject(ret);
|
|
728
772
|
};
|
|
729
773
|
|
|
730
|
-
module.exports.
|
|
731
|
-
const ret =
|
|
774
|
+
module.exports.__wbg_resolve_5da6faf2c96fd1d5 = function(arg0) {
|
|
775
|
+
const ret = Promise.resolve(getObject(arg0));
|
|
732
776
|
return addHeapObject(ret);
|
|
733
777
|
};
|
|
734
778
|
|
|
735
|
-
module.exports.
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
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;
|
|
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;
|
|
750
784
|
}
|
|
751
|
-
const ret =
|
|
785
|
+
const ret = false;
|
|
752
786
|
return ret;
|
|
753
787
|
};
|
|
754
788
|
|
|
755
|
-
module.exports.
|
|
756
|
-
const ret =
|
|
757
|
-
return addHeapObject(ret);
|
|
758
|
-
};
|
|
759
|
-
|
|
760
|
-
module.exports.__wbg_subarray_adc418253d76e2f1 = function(arg0, arg1, arg2) {
|
|
761
|
-
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
762
|
-
return addHeapObject(ret);
|
|
763
|
-
};
|
|
764
|
-
|
|
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
|
-
};
|
|
788
|
-
|
|
789
|
-
module.exports.__wbindgen_closure_wrapper15367 = function(arg0, arg1, arg2) {
|
|
790
|
-
const ret = makeMutClosure(arg0, arg1, 3593, __wbg_adapter_48);
|
|
789
|
+
module.exports.__wbindgen_closure_wrapper26372 = function(arg0, arg1, arg2) {
|
|
790
|
+
const ret = makeMutClosure(arg0, arg1, 431, __wbg_adapter_48);
|
|
791
791
|
return addHeapObject(ret);
|
|
792
792
|
};
|
|
793
793
|
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|