@next/swc-wasm-nodejs 14.1.1-canary.51 → 14.1.1-canary.53
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.d.ts +12 -12
- package/wasm.js +320 -303
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm.d.ts
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
+
* @param {string} value
|
|
5
|
+
* @param {any} opts
|
|
6
|
+
* @returns {any}
|
|
7
|
+
*/
|
|
8
|
+
export function mdxCompileSync(value: string, opts: any): any;
|
|
9
|
+
/**
|
|
10
|
+
* @param {string} value
|
|
11
|
+
* @param {any} opts
|
|
12
|
+
* @returns {Promise<any>}
|
|
13
|
+
*/
|
|
14
|
+
export function mdxCompile(value: string, opts: any): Promise<any>;
|
|
15
|
+
/**
|
|
4
16
|
* @param {string} s
|
|
5
17
|
* @param {any} opts
|
|
6
18
|
* @returns {any}
|
|
@@ -36,15 +48,3 @@ export function parseSync(s: string, opts: any): any;
|
|
|
36
48
|
* @returns {Promise<any>}
|
|
37
49
|
*/
|
|
38
50
|
export function parse(s: string, opts: any): Promise<any>;
|
|
39
|
-
/**
|
|
40
|
-
* @param {string} value
|
|
41
|
-
* @param {any} opts
|
|
42
|
-
* @returns {any}
|
|
43
|
-
*/
|
|
44
|
-
export function mdxCompileSync(value: string, opts: any): any;
|
|
45
|
-
/**
|
|
46
|
-
* @param {string} value
|
|
47
|
-
* @param {any} opts
|
|
48
|
-
* @returns {Promise<any>}
|
|
49
|
-
*/
|
|
50
|
-
export function mdxCompile(value: string, opts: any): Promise<any>;
|
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'
|
|
@@ -53,14 +93,14 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
53
93
|
|
|
54
94
|
if (realloc === undefined) {
|
|
55
95
|
const buf = cachedTextEncoder.encode(arg);
|
|
56
|
-
const ptr = malloc(buf.length);
|
|
96
|
+
const ptr = malloc(buf.length, 1) >>> 0;
|
|
57
97
|
getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
58
98
|
WASM_VECTOR_LEN = buf.length;
|
|
59
99
|
return ptr;
|
|
60
100
|
}
|
|
61
101
|
|
|
62
102
|
let len = arg.length;
|
|
63
|
-
let ptr = malloc(len);
|
|
103
|
+
let ptr = malloc(len, 1) >>> 0;
|
|
64
104
|
|
|
65
105
|
const mem = getUint8Memory0();
|
|
66
106
|
|
|
@@ -76,56 +116,18 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
76
116
|
if (offset !== 0) {
|
|
77
117
|
arg = arg.slice(offset);
|
|
78
118
|
}
|
|
79
|
-
ptr = realloc(ptr, len, len = offset + arg.length * 3);
|
|
119
|
+
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
80
120
|
const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
|
|
81
121
|
const ret = encodeString(arg, view);
|
|
82
122
|
|
|
83
123
|
offset += ret.written;
|
|
124
|
+
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
84
125
|
}
|
|
85
126
|
|
|
86
127
|
WASM_VECTOR_LEN = offset;
|
|
87
128
|
return ptr;
|
|
88
129
|
}
|
|
89
130
|
|
|
90
|
-
function isLikeNone(x) {
|
|
91
|
-
return x === undefined || x === null;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
let cachedInt32Memory0 = null;
|
|
95
|
-
|
|
96
|
-
function getInt32Memory0() {
|
|
97
|
-
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
98
|
-
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
99
|
-
}
|
|
100
|
-
return cachedInt32Memory0;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
function addHeapObject(obj) {
|
|
104
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
105
|
-
const idx = heap_next;
|
|
106
|
-
heap_next = heap[idx];
|
|
107
|
-
|
|
108
|
-
heap[idx] = obj;
|
|
109
|
-
return idx;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
let cachedFloat64Memory0 = null;
|
|
113
|
-
|
|
114
|
-
function getFloat64Memory0() {
|
|
115
|
-
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
116
|
-
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
117
|
-
}
|
|
118
|
-
return cachedFloat64Memory0;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
122
|
-
|
|
123
|
-
cachedTextDecoder.decode();
|
|
124
|
-
|
|
125
|
-
function getStringFromWasm0(ptr, len) {
|
|
126
|
-
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
127
|
-
}
|
|
128
|
-
|
|
129
131
|
let cachedBigInt64Memory0 = null;
|
|
130
132
|
|
|
131
133
|
function getBigInt64Memory0() {
|
|
@@ -200,6 +202,12 @@ function debugString(val) {
|
|
|
200
202
|
return className;
|
|
201
203
|
}
|
|
202
204
|
|
|
205
|
+
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
206
|
+
? { register: () => {}, unregister: () => {} }
|
|
207
|
+
: new FinalizationRegistry(state => {
|
|
208
|
+
wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b)
|
|
209
|
+
});
|
|
210
|
+
|
|
203
211
|
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
204
212
|
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
205
213
|
const real = (...args) => {
|
|
@@ -214,29 +222,48 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
214
222
|
} finally {
|
|
215
223
|
if (--state.cnt === 0) {
|
|
216
224
|
wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
|
|
217
|
-
|
|
225
|
+
CLOSURE_DTORS.unregister(state);
|
|
218
226
|
} else {
|
|
219
227
|
state.a = a;
|
|
220
228
|
}
|
|
221
229
|
}
|
|
222
230
|
};
|
|
223
231
|
real.original = state;
|
|
224
|
-
|
|
232
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
225
233
|
return real;
|
|
226
234
|
}
|
|
227
235
|
function __wbg_adapter_48(arg0, arg1, arg2) {
|
|
228
|
-
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));
|
|
229
256
|
}
|
|
230
257
|
|
|
231
258
|
/**
|
|
232
|
-
* @param {string}
|
|
259
|
+
* @param {string} value
|
|
233
260
|
* @param {any} opts
|
|
234
261
|
* @returns {any}
|
|
235
262
|
*/
|
|
236
|
-
module.exports.
|
|
263
|
+
module.exports.mdxCompileSync = function(value, opts) {
|
|
237
264
|
try {
|
|
238
265
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
239
|
-
wasm.
|
|
266
|
+
wasm.mdxCompileSync(retptr, addHeapObject(value), addHeapObject(opts));
|
|
240
267
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
241
268
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
242
269
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
@@ -250,24 +277,24 @@ module.exports.minifySync = function(s, opts) {
|
|
|
250
277
|
};
|
|
251
278
|
|
|
252
279
|
/**
|
|
253
|
-
* @param {string}
|
|
280
|
+
* @param {string} value
|
|
254
281
|
* @param {any} opts
|
|
255
282
|
* @returns {Promise<any>}
|
|
256
283
|
*/
|
|
257
|
-
module.exports.
|
|
258
|
-
const ret = wasm.
|
|
284
|
+
module.exports.mdxCompile = function(value, opts) {
|
|
285
|
+
const ret = wasm.mdxCompile(addHeapObject(value), addHeapObject(opts));
|
|
259
286
|
return takeObject(ret);
|
|
260
287
|
};
|
|
261
288
|
|
|
262
289
|
/**
|
|
263
|
-
* @param {
|
|
290
|
+
* @param {string} s
|
|
264
291
|
* @param {any} opts
|
|
265
292
|
* @returns {any}
|
|
266
293
|
*/
|
|
267
|
-
module.exports.
|
|
294
|
+
module.exports.minifySync = function(s, opts) {
|
|
268
295
|
try {
|
|
269
296
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
270
|
-
wasm.
|
|
297
|
+
wasm.minifySync(retptr, addHeapObject(s), addHeapObject(opts));
|
|
271
298
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
272
299
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
273
300
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
@@ -281,24 +308,24 @@ module.exports.transformSync = function(s, opts) {
|
|
|
281
308
|
};
|
|
282
309
|
|
|
283
310
|
/**
|
|
284
|
-
* @param {
|
|
311
|
+
* @param {string} s
|
|
285
312
|
* @param {any} opts
|
|
286
313
|
* @returns {Promise<any>}
|
|
287
314
|
*/
|
|
288
|
-
module.exports.
|
|
289
|
-
const ret = wasm.
|
|
315
|
+
module.exports.minify = function(s, opts) {
|
|
316
|
+
const ret = wasm.minify(addHeapObject(s), addHeapObject(opts));
|
|
290
317
|
return takeObject(ret);
|
|
291
318
|
};
|
|
292
319
|
|
|
293
320
|
/**
|
|
294
|
-
* @param {
|
|
321
|
+
* @param {any} s
|
|
295
322
|
* @param {any} opts
|
|
296
323
|
* @returns {any}
|
|
297
324
|
*/
|
|
298
|
-
module.exports.
|
|
325
|
+
module.exports.transformSync = function(s, opts) {
|
|
299
326
|
try {
|
|
300
327
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
301
|
-
wasm.
|
|
328
|
+
wasm.transformSync(retptr, addHeapObject(s), addHeapObject(opts));
|
|
302
329
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
303
330
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
304
331
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
@@ -312,24 +339,24 @@ module.exports.parseSync = function(s, opts) {
|
|
|
312
339
|
};
|
|
313
340
|
|
|
314
341
|
/**
|
|
315
|
-
* @param {
|
|
342
|
+
* @param {any} s
|
|
316
343
|
* @param {any} opts
|
|
317
344
|
* @returns {Promise<any>}
|
|
318
345
|
*/
|
|
319
|
-
module.exports.
|
|
320
|
-
const ret = wasm.
|
|
346
|
+
module.exports.transform = function(s, opts) {
|
|
347
|
+
const ret = wasm.transform(addHeapObject(s), addHeapObject(opts));
|
|
321
348
|
return takeObject(ret);
|
|
322
349
|
};
|
|
323
350
|
|
|
324
351
|
/**
|
|
325
|
-
* @param {string}
|
|
352
|
+
* @param {string} s
|
|
326
353
|
* @param {any} opts
|
|
327
354
|
* @returns {any}
|
|
328
355
|
*/
|
|
329
|
-
module.exports.
|
|
356
|
+
module.exports.parseSync = function(s, opts) {
|
|
330
357
|
try {
|
|
331
358
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
332
|
-
wasm.
|
|
359
|
+
wasm.parseSync(retptr, addHeapObject(s), addHeapObject(opts));
|
|
333
360
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
334
361
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
335
362
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
@@ -343,111 +370,44 @@ module.exports.mdxCompileSync = function(value, opts) {
|
|
|
343
370
|
};
|
|
344
371
|
|
|
345
372
|
/**
|
|
346
|
-
* @param {string}
|
|
373
|
+
* @param {string} s
|
|
347
374
|
* @param {any} opts
|
|
348
375
|
* @returns {Promise<any>}
|
|
349
376
|
*/
|
|
350
|
-
module.exports.
|
|
351
|
-
const ret = wasm.
|
|
377
|
+
module.exports.parse = function(s, opts) {
|
|
378
|
+
const ret = wasm.parse(addHeapObject(s), addHeapObject(opts));
|
|
352
379
|
return takeObject(ret);
|
|
353
380
|
};
|
|
354
381
|
|
|
355
|
-
function
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
return getStringFromWasm0(ptr, len);
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
function handleError(f, args) {
|
|
364
|
-
try {
|
|
365
|
-
return f.apply(this, args);
|
|
366
|
-
} catch (e) {
|
|
367
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
function __wbg_adapter_121(arg0, arg1, arg2, arg3) {
|
|
371
|
-
wasm.wasm_bindgen_242df20baf80e22a___convert__closures__invoke2_mut___wasm_bindgen_242df20baf80e22a___JsValue__wasm_bindgen_242df20baf80e22a___JsValue_____(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
372
|
-
}
|
|
382
|
+
module.exports.__wbg_new0_7a6141101f2206da = function() {
|
|
383
|
+
const ret = new Date();
|
|
384
|
+
return addHeapObject(ret);
|
|
385
|
+
};
|
|
373
386
|
|
|
374
387
|
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
375
388
|
takeObject(arg0);
|
|
376
389
|
};
|
|
377
390
|
|
|
378
|
-
module.exports.
|
|
379
|
-
const obj = getObject(arg1);
|
|
380
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
381
|
-
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
382
|
-
var len0 = WASM_VECTOR_LEN;
|
|
383
|
-
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
384
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
385
|
-
};
|
|
386
|
-
|
|
387
|
-
module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
388
|
-
const v = getObject(arg0);
|
|
389
|
-
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
390
|
-
return ret;
|
|
391
|
-
};
|
|
392
|
-
|
|
393
|
-
module.exports.__wbindgen_is_bigint = function(arg0) {
|
|
394
|
-
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
395
|
-
return ret;
|
|
396
|
-
};
|
|
397
|
-
|
|
398
|
-
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
391
|
+
module.exports.__wbindgen_number_new = function(arg0) {
|
|
399
392
|
const ret = arg0;
|
|
400
393
|
return addHeapObject(ret);
|
|
401
394
|
};
|
|
402
395
|
|
|
403
|
-
module.exports.
|
|
404
|
-
const ret = getObject(arg0)
|
|
405
|
-
return ret;
|
|
406
|
-
};
|
|
407
|
-
|
|
408
|
-
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
409
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
396
|
+
module.exports.__wbg_new_a9d80688888b4894 = function(arg0) {
|
|
397
|
+
const ret = new Date(getObject(arg0));
|
|
410
398
|
return addHeapObject(ret);
|
|
411
399
|
};
|
|
412
400
|
|
|
413
|
-
module.exports.
|
|
414
|
-
const
|
|
415
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
416
|
-
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
417
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
418
|
-
};
|
|
419
|
-
|
|
420
|
-
module.exports.__wbindgen_is_object = function(arg0) {
|
|
421
|
-
const val = getObject(arg0);
|
|
422
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
423
|
-
return ret;
|
|
424
|
-
};
|
|
425
|
-
|
|
426
|
-
module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
427
|
-
const ret = getObject(arg0) in getObject(arg1);
|
|
428
|
-
return ret;
|
|
429
|
-
};
|
|
430
|
-
|
|
431
|
-
module.exports.__wbindgen_is_string = function(arg0) {
|
|
432
|
-
const ret = typeof(getObject(arg0)) === 'string';
|
|
401
|
+
module.exports.__wbg_getTimezoneOffset_840b552f34917133 = function(arg0) {
|
|
402
|
+
const ret = getObject(arg0).getTimezoneOffset();
|
|
433
403
|
return ret;
|
|
434
404
|
};
|
|
435
405
|
|
|
436
|
-
module.exports.
|
|
437
|
-
const ret = getObject(arg0)
|
|
406
|
+
module.exports.__wbg_getTime_0e03c3f524be31ef = function(arg0) {
|
|
407
|
+
const ret = getObject(arg0).getTime();
|
|
438
408
|
return ret;
|
|
439
409
|
};
|
|
440
410
|
|
|
441
|
-
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
442
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
443
|
-
return addHeapObject(ret);
|
|
444
|
-
};
|
|
445
|
-
|
|
446
|
-
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
447
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
448
|
-
return addHeapObject(ret);
|
|
449
|
-
};
|
|
450
|
-
|
|
451
411
|
module.exports.__wbg_new_abda76e883ba8a5f = function() {
|
|
452
412
|
const ret = new Error();
|
|
453
413
|
return addHeapObject(ret);
|
|
@@ -455,50 +415,53 @@ module.exports.__wbg_new_abda76e883ba8a5f = function() {
|
|
|
455
415
|
|
|
456
416
|
module.exports.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) {
|
|
457
417
|
const ret = getObject(arg1).stack;
|
|
458
|
-
const
|
|
459
|
-
const
|
|
460
|
-
getInt32Memory0()[arg0 / 4 + 1] =
|
|
461
|
-
getInt32Memory0()[arg0 / 4 + 0] =
|
|
418
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
419
|
+
const len1 = WASM_VECTOR_LEN;
|
|
420
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
421
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
462
422
|
};
|
|
463
423
|
|
|
464
424
|
module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
|
|
465
425
|
var v0 = getCachedStringFromWasm0(arg0, arg1);
|
|
466
|
-
if (arg0 !== 0) { wasm.__wbindgen_free(arg0, arg1); }
|
|
426
|
+
if (arg0 !== 0) { wasm.__wbindgen_free(arg0, arg1, 1); }
|
|
467
427
|
console.error(v0);
|
|
468
428
|
};
|
|
469
429
|
|
|
470
|
-
module.exports.
|
|
471
|
-
const
|
|
472
|
-
|
|
473
|
-
obj.a = 0;
|
|
474
|
-
return true;
|
|
475
|
-
}
|
|
476
|
-
const ret = false;
|
|
477
|
-
return ret;
|
|
430
|
+
module.exports.__wbindgen_memory = function() {
|
|
431
|
+
const ret = wasm.memory;
|
|
432
|
+
return addHeapObject(ret);
|
|
478
433
|
};
|
|
479
434
|
|
|
480
|
-
module.exports.
|
|
481
|
-
const ret = getObject(arg0);
|
|
435
|
+
module.exports.__wbg_buffer_b914fb8b50ebbc3e = function(arg0) {
|
|
436
|
+
const ret = getObject(arg0).buffer;
|
|
482
437
|
return addHeapObject(ret);
|
|
483
438
|
};
|
|
484
439
|
|
|
485
|
-
module.exports.
|
|
486
|
-
const ret = getObject(arg0)
|
|
487
|
-
return ret;
|
|
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
443
|
};
|
|
489
444
|
|
|
490
|
-
module.exports.
|
|
491
|
-
|
|
445
|
+
module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
|
|
446
|
+
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
447
|
+
}, arguments) };
|
|
448
|
+
|
|
449
|
+
module.exports.__wbg_subarray_adc418253d76e2f1 = function(arg0, arg1, arg2) {
|
|
450
|
+
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
492
451
|
return addHeapObject(ret);
|
|
493
452
|
};
|
|
494
453
|
|
|
495
|
-
module.exports.
|
|
496
|
-
|
|
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));
|
|
497
460
|
return addHeapObject(ret);
|
|
498
461
|
};
|
|
499
462
|
|
|
500
|
-
module.exports.
|
|
501
|
-
getObject(arg0)
|
|
463
|
+
module.exports.__wbg_set_7d988c98e6ced92d = function(arg0, arg1, arg2) {
|
|
464
|
+
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
502
465
|
};
|
|
503
466
|
|
|
504
467
|
module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
|
|
@@ -506,6 +469,12 @@ module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
|
|
|
506
469
|
return addHeapObject(ret);
|
|
507
470
|
};
|
|
508
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
|
+
|
|
509
478
|
module.exports.__wbg_process_298734cf255a885d = function(arg0) {
|
|
510
479
|
const ret = getObject(arg0).process;
|
|
511
480
|
return addHeapObject(ret);
|
|
@@ -521,164 +490,258 @@ module.exports.__wbg_node_1cd7a5d853dbea79 = function(arg0) {
|
|
|
521
490
|
return addHeapObject(ret);
|
|
522
491
|
};
|
|
523
492
|
|
|
493
|
+
module.exports.__wbindgen_is_string = function(arg0) {
|
|
494
|
+
const ret = typeof(getObject(arg0)) === 'string';
|
|
495
|
+
return ret;
|
|
496
|
+
};
|
|
497
|
+
|
|
524
498
|
module.exports.__wbg_msCrypto_bcb970640f50a1e8 = function(arg0) {
|
|
525
499
|
const ret = getObject(arg0).msCrypto;
|
|
526
500
|
return addHeapObject(ret);
|
|
527
501
|
};
|
|
528
502
|
|
|
503
|
+
module.exports.__wbg_newwithlength_0d03cef43b68a530 = function(arg0) {
|
|
504
|
+
const ret = new Uint8Array(arg0 >>> 0);
|
|
505
|
+
return addHeapObject(ret);
|
|
506
|
+
};
|
|
507
|
+
|
|
529
508
|
module.exports.__wbg_require_8f08ceecec0f4fee = function() { return handleError(function () {
|
|
530
509
|
const ret = module.require;
|
|
531
510
|
return addHeapObject(ret);
|
|
532
511
|
}, arguments) };
|
|
533
512
|
|
|
534
|
-
module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
|
|
535
|
-
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
536
|
-
}, arguments) };
|
|
537
|
-
|
|
538
|
-
module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
|
|
539
|
-
getObject(arg0).getRandomValues(getObject(arg1));
|
|
540
|
-
}, arguments) };
|
|
541
|
-
|
|
542
|
-
module.exports.__wbg_get_27fe3dac1c4d0224 = function(arg0, arg1) {
|
|
543
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
544
|
-
return addHeapObject(ret);
|
|
545
|
-
};
|
|
546
|
-
|
|
547
|
-
module.exports.__wbg_length_e498fbc24f9c1d4f = function(arg0) {
|
|
548
|
-
const ret = getObject(arg0).length;
|
|
549
|
-
return ret;
|
|
550
|
-
};
|
|
551
|
-
|
|
552
513
|
module.exports.__wbindgen_is_function = function(arg0) {
|
|
553
514
|
const ret = typeof(getObject(arg0)) === 'function';
|
|
554
515
|
return ret;
|
|
555
516
|
};
|
|
556
517
|
|
|
557
|
-
module.exports.
|
|
558
|
-
|
|
559
|
-
const ret = new Function(v0);
|
|
560
|
-
return addHeapObject(ret);
|
|
561
|
-
};
|
|
562
|
-
|
|
563
|
-
module.exports.__wbg_next_b7d530c04fd8b217 = function(arg0) {
|
|
564
|
-
const ret = getObject(arg0).next;
|
|
518
|
+
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
519
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
565
520
|
return addHeapObject(ret);
|
|
566
521
|
};
|
|
567
522
|
|
|
568
|
-
module.exports.
|
|
569
|
-
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));
|
|
570
525
|
return addHeapObject(ret);
|
|
571
526
|
}, arguments) };
|
|
572
527
|
|
|
573
|
-
module.exports.
|
|
574
|
-
const ret = getObject(arg0).done;
|
|
575
|
-
return ret;
|
|
576
|
-
};
|
|
577
|
-
|
|
578
|
-
module.exports.__wbg_value_6ac8da5cc5b3efda = function(arg0) {
|
|
579
|
-
const ret = getObject(arg0).value;
|
|
580
|
-
return addHeapObject(ret);
|
|
581
|
-
};
|
|
582
|
-
|
|
583
|
-
module.exports.__wbg_iterator_55f114446221aa5a = function() {
|
|
528
|
+
module.exports.__wbg_iterator_40027cdd598da26b = function() {
|
|
584
529
|
const ret = Symbol.iterator;
|
|
585
530
|
return addHeapObject(ret);
|
|
586
531
|
};
|
|
587
532
|
|
|
588
|
-
module.exports.
|
|
533
|
+
module.exports.__wbg_get_3fddfed2c83f434c = function() { return handleError(function (arg0, arg1) {
|
|
589
534
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
590
535
|
return addHeapObject(ret);
|
|
591
536
|
}, arguments) };
|
|
592
537
|
|
|
593
|
-
module.exports.
|
|
538
|
+
module.exports.__wbg_call_3f093dd26d5569f8 = function() { return handleError(function (arg0, arg1) {
|
|
594
539
|
const ret = getObject(arg0).call(getObject(arg1));
|
|
595
540
|
return addHeapObject(ret);
|
|
596
541
|
}, arguments) };
|
|
597
542
|
|
|
598
|
-
module.exports.
|
|
543
|
+
module.exports.__wbg_next_586204376d2ed373 = function(arg0) {
|
|
544
|
+
const ret = getObject(arg0).next;
|
|
545
|
+
return addHeapObject(ret);
|
|
546
|
+
};
|
|
547
|
+
|
|
548
|
+
module.exports.__wbg_self_05040bd9523805b9 = function() { return handleError(function () {
|
|
599
549
|
const ret = self.self;
|
|
600
550
|
return addHeapObject(ret);
|
|
601
551
|
}, arguments) };
|
|
602
552
|
|
|
603
|
-
module.exports.
|
|
553
|
+
module.exports.__wbg_window_adc720039f2cb14f = function() { return handleError(function () {
|
|
604
554
|
const ret = window.window;
|
|
605
555
|
return addHeapObject(ret);
|
|
606
556
|
}, arguments) };
|
|
607
557
|
|
|
608
|
-
module.exports.
|
|
558
|
+
module.exports.__wbg_globalThis_622105db80c1457d = function() { return handleError(function () {
|
|
609
559
|
const ret = globalThis.globalThis;
|
|
610
560
|
return addHeapObject(ret);
|
|
611
561
|
}, arguments) };
|
|
612
562
|
|
|
613
|
-
module.exports.
|
|
563
|
+
module.exports.__wbg_global_f56b013ed9bcf359 = function() { return handleError(function () {
|
|
614
564
|
const ret = global.global;
|
|
615
565
|
return addHeapObject(ret);
|
|
616
566
|
}, arguments) };
|
|
617
567
|
|
|
618
|
-
module.exports.
|
|
619
|
-
const ret =
|
|
568
|
+
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
569
|
+
const ret = getObject(arg0) === undefined;
|
|
620
570
|
return ret;
|
|
621
571
|
};
|
|
622
572
|
|
|
623
|
-
module.exports.
|
|
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;
|
|
634
|
+
return ret;
|
|
635
|
+
};
|
|
636
|
+
|
|
637
|
+
module.exports.__wbg_instanceof_ArrayBuffer_9221fa854ffb71b5 = function(arg0) {
|
|
624
638
|
let result;
|
|
625
639
|
try {
|
|
626
640
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
627
|
-
} catch {
|
|
641
|
+
} catch (_) {
|
|
628
642
|
result = false;
|
|
629
643
|
}
|
|
630
644
|
const ret = result;
|
|
631
645
|
return ret;
|
|
632
646
|
};
|
|
633
647
|
|
|
634
|
-
module.exports.
|
|
635
|
-
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();
|
|
636
655
|
return addHeapObject(ret);
|
|
637
656
|
}, arguments) };
|
|
638
657
|
|
|
639
|
-
module.exports.
|
|
640
|
-
const ret =
|
|
658
|
+
module.exports.__wbg_done_90b14d6f6eacc42f = function(arg0) {
|
|
659
|
+
const ret = getObject(arg0).done;
|
|
641
660
|
return ret;
|
|
642
661
|
};
|
|
643
662
|
|
|
644
|
-
module.exports.
|
|
645
|
-
const ret = getObject(arg0).
|
|
646
|
-
return ret;
|
|
663
|
+
module.exports.__wbg_value_3158be908c80a75e = function(arg0) {
|
|
664
|
+
const ret = getObject(arg0).value;
|
|
665
|
+
return addHeapObject(ret);
|
|
647
666
|
};
|
|
648
667
|
|
|
649
|
-
module.exports.
|
|
650
|
-
const ret = getObject(arg0)
|
|
668
|
+
module.exports.__wbindgen_is_bigint = function(arg0) {
|
|
669
|
+
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
651
670
|
return ret;
|
|
652
671
|
};
|
|
653
672
|
|
|
654
|
-
module.exports.
|
|
655
|
-
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;
|
|
656
682
|
return addHeapObject(ret);
|
|
657
683
|
};
|
|
658
684
|
|
|
659
|
-
module.exports.
|
|
660
|
-
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);
|
|
661
692
|
return addHeapObject(ret);
|
|
662
693
|
};
|
|
663
694
|
|
|
664
|
-
module.exports.
|
|
665
|
-
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)];
|
|
666
717
|
return addHeapObject(ret);
|
|
667
718
|
};
|
|
668
719
|
|
|
669
|
-
module.exports.
|
|
720
|
+
module.exports.__wbg_new_632630b5cec17f21 = function() {
|
|
670
721
|
const ret = new Object();
|
|
671
722
|
return addHeapObject(ret);
|
|
672
723
|
};
|
|
673
724
|
|
|
674
|
-
module.exports.
|
|
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
|
+
|
|
737
|
+
module.exports.__wbg_new_70828a4353259d4b = function(arg0, arg1) {
|
|
675
738
|
try {
|
|
676
739
|
var state0 = {a: arg0, b: arg1};
|
|
677
740
|
var cb0 = (arg0, arg1) => {
|
|
678
741
|
const a = state0.a;
|
|
679
742
|
state0.a = 0;
|
|
680
743
|
try {
|
|
681
|
-
return
|
|
744
|
+
return __wbg_adapter_109(a, state0.b, arg0, arg1);
|
|
682
745
|
} finally {
|
|
683
746
|
state0.a = a;
|
|
684
747
|
}
|
|
@@ -690,87 +753,41 @@ module.exports.__wbg_new_9d3a9ce4282a18a8 = function(arg0, arg1) {
|
|
|
690
753
|
}
|
|
691
754
|
};
|
|
692
755
|
|
|
693
|
-
module.exports.
|
|
694
|
-
|
|
695
|
-
return addHeapObject(ret);
|
|
756
|
+
module.exports.__wbindgen_throw = function(arg0, arg1) {
|
|
757
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
696
758
|
};
|
|
697
759
|
|
|
698
|
-
module.exports.
|
|
760
|
+
module.exports.__wbg_then_f9e58f5a50f43eae = function(arg0, arg1) {
|
|
699
761
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
700
762
|
return addHeapObject(ret);
|
|
701
763
|
};
|
|
702
764
|
|
|
703
|
-
module.exports.
|
|
704
|
-
|
|
705
|
-
return addHeapObject(ret);
|
|
765
|
+
module.exports.__wbg_queueMicrotask_f61ee94ee663068b = function(arg0) {
|
|
766
|
+
queueMicrotask(getObject(arg0));
|
|
706
767
|
};
|
|
707
768
|
|
|
708
|
-
module.exports.
|
|
709
|
-
const ret =
|
|
769
|
+
module.exports.__wbg_queueMicrotask_f82fc5d1e8f816ae = function(arg0) {
|
|
770
|
+
const ret = getObject(arg0).queueMicrotask;
|
|
710
771
|
return addHeapObject(ret);
|
|
711
772
|
};
|
|
712
773
|
|
|
713
|
-
module.exports.
|
|
714
|
-
const ret =
|
|
774
|
+
module.exports.__wbg_resolve_5da6faf2c96fd1d5 = function(arg0) {
|
|
775
|
+
const ret = Promise.resolve(getObject(arg0));
|
|
715
776
|
return addHeapObject(ret);
|
|
716
777
|
};
|
|
717
778
|
|
|
718
|
-
module.exports.
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
const ret = getObject(arg0).length;
|
|
724
|
-
return ret;
|
|
725
|
-
};
|
|
726
|
-
|
|
727
|
-
module.exports.__wbg_instanceof_Uint8Array_01cebe79ca606cca = function(arg0) {
|
|
728
|
-
let result;
|
|
729
|
-
try {
|
|
730
|
-
result = getObject(arg0) instanceof Uint8Array;
|
|
731
|
-
} catch {
|
|
732
|
-
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;
|
|
733
784
|
}
|
|
734
|
-
const ret =
|
|
785
|
+
const ret = false;
|
|
735
786
|
return ret;
|
|
736
787
|
};
|
|
737
788
|
|
|
738
|
-
module.exports.
|
|
739
|
-
const ret =
|
|
740
|
-
return addHeapObject(ret);
|
|
741
|
-
};
|
|
742
|
-
|
|
743
|
-
module.exports.__wbg_subarray_7526649b91a252a6 = function(arg0, arg1, arg2) {
|
|
744
|
-
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
745
|
-
return addHeapObject(ret);
|
|
746
|
-
};
|
|
747
|
-
|
|
748
|
-
module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
|
749
|
-
const v = getObject(arg1);
|
|
750
|
-
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
751
|
-
getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
|
|
752
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
753
|
-
};
|
|
754
|
-
|
|
755
|
-
module.exports.__wbindgen_debug_string = function(arg0, arg1) {
|
|
756
|
-
const ret = debugString(getObject(arg1));
|
|
757
|
-
const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
758
|
-
const len0 = WASM_VECTOR_LEN;
|
|
759
|
-
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
760
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
761
|
-
};
|
|
762
|
-
|
|
763
|
-
module.exports.__wbindgen_throw = function(arg0, arg1) {
|
|
764
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
765
|
-
};
|
|
766
|
-
|
|
767
|
-
module.exports.__wbindgen_memory = function() {
|
|
768
|
-
const ret = wasm.memory;
|
|
769
|
-
return addHeapObject(ret);
|
|
770
|
-
};
|
|
771
|
-
|
|
772
|
-
module.exports.__wbindgen_closure_wrapper14566 = function(arg0, arg1, arg2) {
|
|
773
|
-
const ret = makeMutClosure(arg0, arg1, 3253, __wbg_adapter_48);
|
|
789
|
+
module.exports.__wbindgen_closure_wrapper26033 = function(arg0, arg1, arg2) {
|
|
790
|
+
const ret = makeMutClosure(arg0, arg1, 394, __wbg_adapter_48);
|
|
774
791
|
return addHeapObject(ret);
|
|
775
792
|
};
|
|
776
793
|
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|