@noir-lang/acvm_js 0.26.1 → 0.28.0-10eae15.nightly
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/CHANGELOG.md +150 -0
- package/nodejs/acvm_js.d.ts +65 -14
- package/nodejs/acvm_js.js +314 -187
- package/nodejs/acvm_js_bg.wasm +0 -0
- package/nodejs/acvm_js_bg.wasm.d.ts +14 -7
- package/package.json +28 -3
- package/web/acvm_js.d.ts +79 -21
- package/web/acvm_js.js +308 -181
- package/web/acvm_js_bg.wasm +0 -0
- package/web/acvm_js_bg.wasm.d.ts +14 -7
package/nodejs/acvm_js.js
CHANGED
|
@@ -3,28 +3,12 @@ imports['__wbindgen_placeholder__'] = module.exports;
|
|
|
3
3
|
let wasm;
|
|
4
4
|
const { TextDecoder, TextEncoder } = require(`util`);
|
|
5
5
|
|
|
6
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
7
|
-
|
|
8
|
-
cachedTextDecoder.decode();
|
|
9
|
-
|
|
10
|
-
let cachedUint8Memory0 = null;
|
|
11
|
-
|
|
12
|
-
function getUint8Memory0() {
|
|
13
|
-
if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
|
|
14
|
-
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
|
|
15
|
-
}
|
|
16
|
-
return cachedUint8Memory0;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
function getStringFromWasm0(ptr, len) {
|
|
20
|
-
ptr = ptr >>> 0;
|
|
21
|
-
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
22
|
-
}
|
|
23
|
-
|
|
24
6
|
const heap = new Array(128).fill(undefined);
|
|
25
7
|
|
|
26
8
|
heap.push(undefined, null, true, false);
|
|
27
9
|
|
|
10
|
+
function getObject(idx) { return heap[idx]; }
|
|
11
|
+
|
|
28
12
|
let heap_next = heap.length;
|
|
29
13
|
|
|
30
14
|
function addHeapObject(obj) {
|
|
@@ -36,8 +20,6 @@ function addHeapObject(obj) {
|
|
|
36
20
|
return idx;
|
|
37
21
|
}
|
|
38
22
|
|
|
39
|
-
function getObject(idx) { return heap[idx]; }
|
|
40
|
-
|
|
41
23
|
function dropObject(idx) {
|
|
42
24
|
if (idx < 132) return;
|
|
43
25
|
heap[idx] = heap_next;
|
|
@@ -50,6 +32,24 @@ function takeObject(idx) {
|
|
|
50
32
|
return ret;
|
|
51
33
|
}
|
|
52
34
|
|
|
35
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
36
|
+
|
|
37
|
+
cachedTextDecoder.decode();
|
|
38
|
+
|
|
39
|
+
let cachedUint8Memory0 = null;
|
|
40
|
+
|
|
41
|
+
function getUint8Memory0() {
|
|
42
|
+
if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
|
|
43
|
+
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
|
|
44
|
+
}
|
|
45
|
+
return cachedUint8Memory0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function getStringFromWasm0(ptr, len) {
|
|
49
|
+
ptr = ptr >>> 0;
|
|
50
|
+
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
53
|
function isLikeNone(x) {
|
|
54
54
|
return x === undefined || x === null;
|
|
55
55
|
}
|
|
@@ -93,14 +93,14 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
93
93
|
|
|
94
94
|
if (realloc === undefined) {
|
|
95
95
|
const buf = cachedTextEncoder.encode(arg);
|
|
96
|
-
const ptr = malloc(buf.length
|
|
96
|
+
const ptr = malloc(buf.length) >>> 0;
|
|
97
97
|
getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
98
98
|
WASM_VECTOR_LEN = buf.length;
|
|
99
99
|
return ptr;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
let len = arg.length;
|
|
103
|
-
let ptr = malloc(len
|
|
103
|
+
let ptr = malloc(len) >>> 0;
|
|
104
104
|
|
|
105
105
|
const mem = getUint8Memory0();
|
|
106
106
|
|
|
@@ -116,7 +116,7 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
116
116
|
if (offset !== 0) {
|
|
117
117
|
arg = arg.slice(offset);
|
|
118
118
|
}
|
|
119
|
-
ptr = realloc(ptr, len, len = offset + arg.length * 3
|
|
119
|
+
ptr = realloc(ptr, len, len = offset + arg.length * 3) >>> 0;
|
|
120
120
|
const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
|
|
121
121
|
const ret = encodeString(arg, view);
|
|
122
122
|
|
|
@@ -226,71 +226,15 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
226
226
|
return real;
|
|
227
227
|
}
|
|
228
228
|
function __wbg_adapter_54(arg0, arg1, arg2) {
|
|
229
|
-
wasm.
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Returns the `BuildInfo` object containing information about how the installed package was built.
|
|
234
|
-
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
235
|
-
*/
|
|
236
|
-
module.exports.buildInfo = function() {
|
|
237
|
-
const ret = wasm.buildInfo();
|
|
238
|
-
return takeObject(ret);
|
|
239
|
-
};
|
|
240
|
-
|
|
241
|
-
function _assertClass(instance, klass) {
|
|
242
|
-
if (!(instance instanceof klass)) {
|
|
243
|
-
throw new Error(`expected instance of ${klass.name}`);
|
|
244
|
-
}
|
|
245
|
-
return instance.ptr;
|
|
229
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__heb1f60a5b015b6c5(arg0, arg1, addHeapObject(arg2));
|
|
246
230
|
}
|
|
247
231
|
|
|
248
232
|
function passArray8ToWasm0(arg, malloc) {
|
|
249
|
-
const ptr = malloc(arg.length * 1
|
|
233
|
+
const ptr = malloc(arg.length * 1) >>> 0;
|
|
250
234
|
getUint8Memory0().set(arg, ptr / 1);
|
|
251
235
|
WASM_VECTOR_LEN = arg.length;
|
|
252
236
|
return ptr;
|
|
253
237
|
}
|
|
254
|
-
/**
|
|
255
|
-
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
256
|
-
*
|
|
257
|
-
* @param {&WasmBlackBoxFunctionSolver} solver - A black box solver.
|
|
258
|
-
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
259
|
-
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `circuit`..
|
|
260
|
-
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the circuit.
|
|
261
|
-
* @returns {WitnessMap} The solved witness calculated by executing the circuit on the provided inputs.
|
|
262
|
-
*/
|
|
263
|
-
module.exports.executeCircuitWithBlackBoxSolver = function(solver, circuit, initial_witness, foreign_call_handler) {
|
|
264
|
-
_assertClass(solver, WasmBlackBoxFunctionSolver);
|
|
265
|
-
const ptr0 = passArray8ToWasm0(circuit, wasm.__wbindgen_malloc);
|
|
266
|
-
const len0 = WASM_VECTOR_LEN;
|
|
267
|
-
const ret = wasm.executeCircuitWithBlackBoxSolver(solver.__wbg_ptr, ptr0, len0, addHeapObject(initial_witness), addHeapObject(foreign_call_handler));
|
|
268
|
-
return takeObject(ret);
|
|
269
|
-
};
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
273
|
-
*
|
|
274
|
-
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
275
|
-
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `circuit`..
|
|
276
|
-
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the circuit.
|
|
277
|
-
* @returns {WitnessMap} The solved witness calculated by executing the circuit on the provided inputs.
|
|
278
|
-
*/
|
|
279
|
-
module.exports.executeCircuit = function(circuit, initial_witness, foreign_call_handler) {
|
|
280
|
-
const ptr0 = passArray8ToWasm0(circuit, wasm.__wbindgen_malloc);
|
|
281
|
-
const len0 = WASM_VECTOR_LEN;
|
|
282
|
-
const ret = wasm.executeCircuit(ptr0, len0, addHeapObject(initial_witness), addHeapObject(foreign_call_handler));
|
|
283
|
-
return takeObject(ret);
|
|
284
|
-
};
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* @returns {Promise<WasmBlackBoxFunctionSolver>}
|
|
288
|
-
*/
|
|
289
|
-
module.exports.createBlackBoxSolver = function() {
|
|
290
|
-
const ret = wasm.createBlackBoxSolver();
|
|
291
|
-
return takeObject(ret);
|
|
292
|
-
};
|
|
293
|
-
|
|
294
238
|
/**
|
|
295
239
|
* Decompresses a compressed witness as outputted by Nargo into a `WitnessMap`.
|
|
296
240
|
*
|
|
@@ -344,6 +288,189 @@ module.exports.compressWitness = function(witness_map) {
|
|
|
344
288
|
}
|
|
345
289
|
};
|
|
346
290
|
|
|
291
|
+
/**
|
|
292
|
+
* Returns the `BuildInfo` object containing information about how the installed package was built.
|
|
293
|
+
* @returns {BuildInfo} - Information on how the installed package was built.
|
|
294
|
+
*/
|
|
295
|
+
module.exports.buildInfo = function() {
|
|
296
|
+
const ret = wasm.buildInfo();
|
|
297
|
+
return takeObject(ret);
|
|
298
|
+
};
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Verifies a ECDSA signature over the secp256r1 curve.
|
|
302
|
+
* @param {Uint8Array} hashed_msg
|
|
303
|
+
* @param {Uint8Array} public_key_x_bytes
|
|
304
|
+
* @param {Uint8Array} public_key_y_bytes
|
|
305
|
+
* @param {Uint8Array} signature
|
|
306
|
+
* @returns {boolean}
|
|
307
|
+
*/
|
|
308
|
+
module.exports.ecdsa_secp256r1_verify = function(hashed_msg, public_key_x_bytes, public_key_y_bytes, signature) {
|
|
309
|
+
const ptr0 = passArray8ToWasm0(hashed_msg, wasm.__wbindgen_malloc);
|
|
310
|
+
const len0 = WASM_VECTOR_LEN;
|
|
311
|
+
const ptr1 = passArray8ToWasm0(public_key_x_bytes, wasm.__wbindgen_malloc);
|
|
312
|
+
const len1 = WASM_VECTOR_LEN;
|
|
313
|
+
const ptr2 = passArray8ToWasm0(public_key_y_bytes, wasm.__wbindgen_malloc);
|
|
314
|
+
const len2 = WASM_VECTOR_LEN;
|
|
315
|
+
const ptr3 = passArray8ToWasm0(signature, wasm.__wbindgen_malloc);
|
|
316
|
+
const len3 = WASM_VECTOR_LEN;
|
|
317
|
+
const ret = wasm.ecdsa_secp256r1_verify(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
318
|
+
return ret !== 0;
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Calculates the Blake2s256 hash of the input bytes and represents these as a single field element.
|
|
323
|
+
* Verifies a ECDSA signature over the secp256k1 curve.
|
|
324
|
+
* @param {Uint8Array} hashed_msg
|
|
325
|
+
* @param {Uint8Array} public_key_x_bytes
|
|
326
|
+
* @param {Uint8Array} public_key_y_bytes
|
|
327
|
+
* @param {Uint8Array} signature
|
|
328
|
+
* @returns {boolean}
|
|
329
|
+
*/
|
|
330
|
+
module.exports.ecdsa_secp256k1_verify = function(hashed_msg, public_key_x_bytes, public_key_y_bytes, signature) {
|
|
331
|
+
const ptr0 = passArray8ToWasm0(hashed_msg, wasm.__wbindgen_malloc);
|
|
332
|
+
const len0 = WASM_VECTOR_LEN;
|
|
333
|
+
const ptr1 = passArray8ToWasm0(public_key_x_bytes, wasm.__wbindgen_malloc);
|
|
334
|
+
const len1 = WASM_VECTOR_LEN;
|
|
335
|
+
const ptr2 = passArray8ToWasm0(public_key_y_bytes, wasm.__wbindgen_malloc);
|
|
336
|
+
const len2 = WASM_VECTOR_LEN;
|
|
337
|
+
const ptr3 = passArray8ToWasm0(signature, wasm.__wbindgen_malloc);
|
|
338
|
+
const len3 = WASM_VECTOR_LEN;
|
|
339
|
+
const ret = wasm.ecdsa_secp256k1_verify(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
340
|
+
return ret !== 0;
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* Calculates the Keccak256 hash of the input bytes
|
|
345
|
+
* @param {Uint8Array} inputs
|
|
346
|
+
* @returns {Uint8Array}
|
|
347
|
+
*/
|
|
348
|
+
module.exports.keccak256 = function(inputs) {
|
|
349
|
+
try {
|
|
350
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
351
|
+
const ptr0 = passArray8ToWasm0(inputs, wasm.__wbindgen_malloc);
|
|
352
|
+
const len0 = WASM_VECTOR_LEN;
|
|
353
|
+
wasm.keccak256(retptr, ptr0, len0);
|
|
354
|
+
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
355
|
+
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
356
|
+
var v2 = getArrayU8FromWasm0(r0, r1).slice();
|
|
357
|
+
wasm.__wbindgen_free(r0, r1 * 1);
|
|
358
|
+
return v2;
|
|
359
|
+
} finally {
|
|
360
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
361
|
+
}
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Calculates the Blake2s256 hash of the input bytes
|
|
366
|
+
* @param {Uint8Array} inputs
|
|
367
|
+
* @returns {Uint8Array}
|
|
368
|
+
*/
|
|
369
|
+
module.exports.blake2s256 = function(inputs) {
|
|
370
|
+
try {
|
|
371
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
372
|
+
const ptr0 = passArray8ToWasm0(inputs, wasm.__wbindgen_malloc);
|
|
373
|
+
const len0 = WASM_VECTOR_LEN;
|
|
374
|
+
wasm.blake2s256(retptr, ptr0, len0);
|
|
375
|
+
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
376
|
+
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
377
|
+
var v2 = getArrayU8FromWasm0(r0, r1).slice();
|
|
378
|
+
wasm.__wbindgen_free(r0, r1 * 1);
|
|
379
|
+
return v2;
|
|
380
|
+
} finally {
|
|
381
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
382
|
+
}
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Calculates the SHA256 hash of the input bytes
|
|
387
|
+
* @param {Uint8Array} inputs
|
|
388
|
+
* @returns {Uint8Array}
|
|
389
|
+
*/
|
|
390
|
+
module.exports.sha256 = function(inputs) {
|
|
391
|
+
try {
|
|
392
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
393
|
+
const ptr0 = passArray8ToWasm0(inputs, wasm.__wbindgen_malloc);
|
|
394
|
+
const len0 = WASM_VECTOR_LEN;
|
|
395
|
+
wasm.sha256(retptr, ptr0, len0);
|
|
396
|
+
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
397
|
+
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
398
|
+
var v2 = getArrayU8FromWasm0(r0, r1).slice();
|
|
399
|
+
wasm.__wbindgen_free(r0, r1 * 1);
|
|
400
|
+
return v2;
|
|
401
|
+
} finally {
|
|
402
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
403
|
+
}
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Performs a bitwise XOR operation between `lhs` and `rhs`
|
|
408
|
+
* @param {string} lhs
|
|
409
|
+
* @param {string} rhs
|
|
410
|
+
* @returns {string}
|
|
411
|
+
*/
|
|
412
|
+
module.exports.xor = function(lhs, rhs) {
|
|
413
|
+
const ret = wasm.xor(addHeapObject(lhs), addHeapObject(rhs));
|
|
414
|
+
return takeObject(ret);
|
|
415
|
+
};
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Performs a bitwise AND operation between `lhs` and `rhs`
|
|
419
|
+
* @param {string} lhs
|
|
420
|
+
* @param {string} rhs
|
|
421
|
+
* @returns {string}
|
|
422
|
+
*/
|
|
423
|
+
module.exports.and = function(lhs, rhs) {
|
|
424
|
+
const ret = wasm.and(addHeapObject(lhs), addHeapObject(rhs));
|
|
425
|
+
return takeObject(ret);
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
function _assertClass(instance, klass) {
|
|
429
|
+
if (!(instance instanceof klass)) {
|
|
430
|
+
throw new Error(`expected instance of ${klass.name}`);
|
|
431
|
+
}
|
|
432
|
+
return instance.ptr;
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
436
|
+
*
|
|
437
|
+
* @param {&WasmBlackBoxFunctionSolver} solver - A black box solver.
|
|
438
|
+
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
439
|
+
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `circuit`..
|
|
440
|
+
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the circuit.
|
|
441
|
+
* @returns {WitnessMap} The solved witness calculated by executing the circuit on the provided inputs.
|
|
442
|
+
*/
|
|
443
|
+
module.exports.executeCircuitWithBlackBoxSolver = function(solver, circuit, initial_witness, foreign_call_handler) {
|
|
444
|
+
_assertClass(solver, WasmBlackBoxFunctionSolver);
|
|
445
|
+
const ptr0 = passArray8ToWasm0(circuit, wasm.__wbindgen_malloc);
|
|
446
|
+
const len0 = WASM_VECTOR_LEN;
|
|
447
|
+
const ret = wasm.executeCircuitWithBlackBoxSolver(solver.__wbg_ptr, ptr0, len0, addHeapObject(initial_witness), addHeapObject(foreign_call_handler));
|
|
448
|
+
return takeObject(ret);
|
|
449
|
+
};
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* Executes an ACIR circuit to generate the solved witness from the initial witness.
|
|
453
|
+
*
|
|
454
|
+
* @param {Uint8Array} circuit - A serialized representation of an ACIR circuit
|
|
455
|
+
* @param {WitnessMap} initial_witness - The initial witness map defining all of the inputs to `circuit`..
|
|
456
|
+
* @param {ForeignCallHandler} foreign_call_handler - A callback to process any foreign calls from the circuit.
|
|
457
|
+
* @returns {WitnessMap} The solved witness calculated by executing the circuit on the provided inputs.
|
|
458
|
+
*/
|
|
459
|
+
module.exports.executeCircuit = function(circuit, initial_witness, foreign_call_handler) {
|
|
460
|
+
const ptr0 = passArray8ToWasm0(circuit, wasm.__wbindgen_malloc);
|
|
461
|
+
const len0 = WASM_VECTOR_LEN;
|
|
462
|
+
const ret = wasm.executeCircuit(ptr0, len0, addHeapObject(initial_witness), addHeapObject(foreign_call_handler));
|
|
463
|
+
return takeObject(ret);
|
|
464
|
+
};
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* @returns {Promise<WasmBlackBoxFunctionSolver>}
|
|
468
|
+
*/
|
|
469
|
+
module.exports.createBlackBoxSolver = function() {
|
|
470
|
+
const ret = wasm.createBlackBoxSolver();
|
|
471
|
+
return takeObject(ret);
|
|
472
|
+
};
|
|
473
|
+
|
|
347
474
|
/**
|
|
348
475
|
* Sets the package's logging level.
|
|
349
476
|
*
|
|
@@ -444,8 +571,8 @@ function handleError(f, args) {
|
|
|
444
571
|
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
445
572
|
}
|
|
446
573
|
}
|
|
447
|
-
function
|
|
448
|
-
wasm.
|
|
574
|
+
function __wbg_adapter_155(arg0, arg1, arg2, arg3) {
|
|
575
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h72933b4dbc34aade(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
449
576
|
}
|
|
450
577
|
|
|
451
578
|
/**
|
|
@@ -499,8 +626,8 @@ class WasmBlackBoxFunctionSolver {
|
|
|
499
626
|
}
|
|
500
627
|
module.exports.WasmBlackBoxFunctionSolver = WasmBlackBoxFunctionSolver;
|
|
501
628
|
|
|
502
|
-
module.exports.
|
|
503
|
-
const ret =
|
|
629
|
+
module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
630
|
+
const ret = getObject(arg0);
|
|
504
631
|
return addHeapObject(ret);
|
|
505
632
|
};
|
|
506
633
|
|
|
@@ -513,9 +640,14 @@ module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
|
513
640
|
return addHeapObject(ret);
|
|
514
641
|
};
|
|
515
642
|
|
|
516
|
-
module.exports.
|
|
517
|
-
const ret = getObject(arg0);
|
|
518
|
-
return
|
|
643
|
+
module.exports.__wbindgen_is_string = function(arg0) {
|
|
644
|
+
const ret = typeof(getObject(arg0)) === 'string';
|
|
645
|
+
return ret;
|
|
646
|
+
};
|
|
647
|
+
|
|
648
|
+
module.exports.__wbindgen_is_array = function(arg0) {
|
|
649
|
+
const ret = Array.isArray(getObject(arg0));
|
|
650
|
+
return ret;
|
|
519
651
|
};
|
|
520
652
|
|
|
521
653
|
module.exports.__wbg_wasmblackboxfunctionsolver_new = function(arg0) {
|
|
@@ -523,13 +655,13 @@ module.exports.__wbg_wasmblackboxfunctionsolver_new = function(arg0) {
|
|
|
523
655
|
return addHeapObject(ret);
|
|
524
656
|
};
|
|
525
657
|
|
|
526
|
-
module.exports.
|
|
527
|
-
const ret =
|
|
528
|
-
return ret;
|
|
658
|
+
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
659
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
660
|
+
return addHeapObject(ret);
|
|
529
661
|
};
|
|
530
662
|
|
|
531
|
-
module.exports.
|
|
532
|
-
const ret =
|
|
663
|
+
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
664
|
+
const ret = getObject(arg0) === undefined;
|
|
533
665
|
return ret;
|
|
534
666
|
};
|
|
535
667
|
|
|
@@ -540,17 +672,7 @@ module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
|
540
672
|
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
541
673
|
};
|
|
542
674
|
|
|
543
|
-
module.exports.
|
|
544
|
-
const obj = takeObject(arg0).original;
|
|
545
|
-
if (obj.cnt-- == 1) {
|
|
546
|
-
obj.a = 0;
|
|
547
|
-
return true;
|
|
548
|
-
}
|
|
549
|
-
const ret = false;
|
|
550
|
-
return ret;
|
|
551
|
-
};
|
|
552
|
-
|
|
553
|
-
module.exports.__wbg_constructor_0f1be29bba11a757 = function(arg0) {
|
|
675
|
+
module.exports.__wbg_constructor_bd5b3ba6619fce81 = function(arg0) {
|
|
554
676
|
const ret = new Error(takeObject(arg0));
|
|
555
677
|
return addHeapObject(ret);
|
|
556
678
|
};
|
|
@@ -564,7 +686,17 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
|
564
686
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
565
687
|
};
|
|
566
688
|
|
|
567
|
-
module.exports.
|
|
689
|
+
module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
690
|
+
const obj = takeObject(arg0).original;
|
|
691
|
+
if (obj.cnt-- == 1) {
|
|
692
|
+
obj.a = 0;
|
|
693
|
+
return true;
|
|
694
|
+
}
|
|
695
|
+
const ret = false;
|
|
696
|
+
return ret;
|
|
697
|
+
};
|
|
698
|
+
|
|
699
|
+
module.exports.__wbg_new_d6cb182577c81490 = function() {
|
|
568
700
|
const ret = new Map();
|
|
569
701
|
return addHeapObject(ret);
|
|
570
702
|
};
|
|
@@ -574,11 +706,6 @@ module.exports.__wbindgen_number_new = function(arg0) {
|
|
|
574
706
|
return addHeapObject(ret);
|
|
575
707
|
};
|
|
576
708
|
|
|
577
|
-
module.exports.__wbindgen_is_string = function(arg0) {
|
|
578
|
-
const ret = typeof(getObject(arg0)) === 'string';
|
|
579
|
-
return ret;
|
|
580
|
-
};
|
|
581
|
-
|
|
582
709
|
module.exports.__wbg_new_abda76e883ba8a5f = function() {
|
|
583
710
|
const ret = new Error();
|
|
584
711
|
return addHeapObject(ret);
|
|
@@ -600,25 +727,10 @@ module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
|
|
|
600
727
|
deferred0_1 = arg1;
|
|
601
728
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
602
729
|
} finally {
|
|
603
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1
|
|
730
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1);
|
|
604
731
|
}
|
|
605
732
|
};
|
|
606
733
|
|
|
607
|
-
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
608
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
609
|
-
return addHeapObject(ret);
|
|
610
|
-
};
|
|
611
|
-
|
|
612
|
-
module.exports.__wbindgen_shr = function(arg0, arg1) {
|
|
613
|
-
const ret = getObject(arg0) >> getObject(arg1);
|
|
614
|
-
return addHeapObject(ret);
|
|
615
|
-
};
|
|
616
|
-
|
|
617
|
-
module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
618
|
-
const ret = getObject(arg0) === getObject(arg1);
|
|
619
|
-
return ret;
|
|
620
|
-
};
|
|
621
|
-
|
|
622
734
|
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
623
735
|
const ret = arg0;
|
|
624
736
|
return addHeapObject(ret);
|
|
@@ -639,6 +751,21 @@ module.exports.__wbindgen_is_bigint = function(arg0) {
|
|
|
639
751
|
return ret;
|
|
640
752
|
};
|
|
641
753
|
|
|
754
|
+
module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
755
|
+
const ret = getObject(arg0) === getObject(arg1);
|
|
756
|
+
return ret;
|
|
757
|
+
};
|
|
758
|
+
|
|
759
|
+
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
760
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
761
|
+
return addHeapObject(ret);
|
|
762
|
+
};
|
|
763
|
+
|
|
764
|
+
module.exports.__wbindgen_shr = function(arg0, arg1) {
|
|
765
|
+
const ret = getObject(arg0) >> getObject(arg1);
|
|
766
|
+
return addHeapObject(ret);
|
|
767
|
+
};
|
|
768
|
+
|
|
642
769
|
module.exports.__wbindgen_is_object = function(arg0) {
|
|
643
770
|
const val = getObject(arg0);
|
|
644
771
|
const ret = typeof(val) === 'object' && val !== null;
|
|
@@ -709,115 +836,115 @@ module.exports.__wbg_require_8f08ceecec0f4fee = function() { return handleError(
|
|
|
709
836
|
return addHeapObject(ret);
|
|
710
837
|
}, arguments) };
|
|
711
838
|
|
|
712
|
-
module.exports.
|
|
839
|
+
module.exports.__wbg_debug_efabe4eb183aa5d4 = function(arg0, arg1, arg2, arg3) {
|
|
713
840
|
console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
714
841
|
};
|
|
715
842
|
|
|
716
|
-
module.exports.
|
|
843
|
+
module.exports.__wbg_error_a7e23606158b68b9 = function(arg0) {
|
|
717
844
|
console.error(getObject(arg0));
|
|
718
845
|
};
|
|
719
846
|
|
|
720
|
-
module.exports.
|
|
847
|
+
module.exports.__wbg_error_50f42b952a595a23 = function(arg0, arg1, arg2, arg3) {
|
|
721
848
|
console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
722
849
|
};
|
|
723
850
|
|
|
724
|
-
module.exports.
|
|
851
|
+
module.exports.__wbg_info_24d8f53d98f12b95 = function(arg0, arg1, arg2, arg3) {
|
|
725
852
|
console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
726
853
|
};
|
|
727
854
|
|
|
728
|
-
module.exports.
|
|
855
|
+
module.exports.__wbg_log_9b164efbe6db702f = function(arg0, arg1, arg2, arg3) {
|
|
729
856
|
console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
730
857
|
};
|
|
731
858
|
|
|
732
|
-
module.exports.
|
|
859
|
+
module.exports.__wbg_warn_8342bfbc6028193a = function(arg0, arg1, arg2, arg3) {
|
|
733
860
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
734
861
|
};
|
|
735
862
|
|
|
736
|
-
module.exports.
|
|
863
|
+
module.exports.__wbg_get_7303ed2ef026b2f5 = function(arg0, arg1) {
|
|
737
864
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
738
865
|
return addHeapObject(ret);
|
|
739
866
|
};
|
|
740
867
|
|
|
741
|
-
module.exports.
|
|
868
|
+
module.exports.__wbg_length_820c786973abdd8a = function(arg0) {
|
|
742
869
|
const ret = getObject(arg0).length;
|
|
743
870
|
return ret;
|
|
744
871
|
};
|
|
745
872
|
|
|
746
|
-
module.exports.
|
|
873
|
+
module.exports.__wbg_new_0394642eae39db16 = function() {
|
|
747
874
|
const ret = new Array();
|
|
748
875
|
return addHeapObject(ret);
|
|
749
876
|
};
|
|
750
877
|
|
|
751
|
-
module.exports.
|
|
878
|
+
module.exports.__wbg_BigInt_9523742cb675bb6f = function(arg0) {
|
|
752
879
|
const ret = BigInt(getObject(arg0));
|
|
753
880
|
return addHeapObject(ret);
|
|
754
881
|
};
|
|
755
882
|
|
|
756
|
-
module.exports.
|
|
883
|
+
module.exports.__wbg_newnoargs_c9e6043b8ad84109 = function(arg0, arg1) {
|
|
757
884
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
758
885
|
return addHeapObject(ret);
|
|
759
886
|
};
|
|
760
887
|
|
|
761
|
-
module.exports.
|
|
888
|
+
module.exports.__wbg_get_f53c921291c381bd = function() { return handleError(function (arg0, arg1) {
|
|
762
889
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
763
890
|
return addHeapObject(ret);
|
|
764
891
|
}, arguments) };
|
|
765
892
|
|
|
766
|
-
module.exports.
|
|
893
|
+
module.exports.__wbg_call_557a2f2deacc4912 = function() { return handleError(function (arg0, arg1) {
|
|
767
894
|
const ret = getObject(arg0).call(getObject(arg1));
|
|
768
895
|
return addHeapObject(ret);
|
|
769
896
|
}, arguments) };
|
|
770
897
|
|
|
771
|
-
module.exports.
|
|
898
|
+
module.exports.__wbg_new_2b6fea4ea03b1b95 = function() {
|
|
772
899
|
const ret = new Object();
|
|
773
900
|
return addHeapObject(ret);
|
|
774
901
|
};
|
|
775
902
|
|
|
776
|
-
module.exports.
|
|
903
|
+
module.exports.__wbg_self_742dd6eab3e9211e = function() { return handleError(function () {
|
|
777
904
|
const ret = self.self;
|
|
778
905
|
return addHeapObject(ret);
|
|
779
906
|
}, arguments) };
|
|
780
907
|
|
|
781
|
-
module.exports.
|
|
908
|
+
module.exports.__wbg_window_c409e731db53a0e2 = function() { return handleError(function () {
|
|
782
909
|
const ret = window.window;
|
|
783
910
|
return addHeapObject(ret);
|
|
784
911
|
}, arguments) };
|
|
785
912
|
|
|
786
|
-
module.exports.
|
|
913
|
+
module.exports.__wbg_globalThis_b70c095388441f2d = function() { return handleError(function () {
|
|
787
914
|
const ret = globalThis.globalThis;
|
|
788
915
|
return addHeapObject(ret);
|
|
789
916
|
}, arguments) };
|
|
790
917
|
|
|
791
|
-
module.exports.
|
|
918
|
+
module.exports.__wbg_global_1c72617491ed7194 = function() { return handleError(function () {
|
|
792
919
|
const ret = global.global;
|
|
793
920
|
return addHeapObject(ret);
|
|
794
921
|
}, arguments) };
|
|
795
922
|
|
|
796
|
-
module.exports.
|
|
923
|
+
module.exports.__wbg_newwithlength_cd1db47a173e3944 = function(arg0) {
|
|
797
924
|
const ret = new Array(arg0 >>> 0);
|
|
798
925
|
return addHeapObject(ret);
|
|
799
926
|
};
|
|
800
927
|
|
|
801
|
-
module.exports.
|
|
928
|
+
module.exports.__wbg_set_b4da98d504ac6091 = function(arg0, arg1, arg2) {
|
|
802
929
|
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
803
930
|
};
|
|
804
931
|
|
|
805
|
-
module.exports.
|
|
932
|
+
module.exports.__wbg_from_6bc98a09a0b58bb1 = function(arg0) {
|
|
806
933
|
const ret = Array.from(getObject(arg0));
|
|
807
934
|
return addHeapObject(ret);
|
|
808
935
|
};
|
|
809
936
|
|
|
810
|
-
module.exports.
|
|
937
|
+
module.exports.__wbg_push_109cfc26d02582dd = function(arg0, arg1) {
|
|
811
938
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
812
939
|
return ret;
|
|
813
940
|
};
|
|
814
941
|
|
|
815
|
-
module.exports.
|
|
942
|
+
module.exports.__wbg_byteLength_1a59a59856fc656a = function(arg0) {
|
|
816
943
|
const ret = getObject(arg0).byteLength;
|
|
817
944
|
return ret;
|
|
818
945
|
};
|
|
819
946
|
|
|
820
|
-
module.exports.
|
|
947
|
+
module.exports.__wbg_toString_68dcf9fa017bbb08 = function(arg0, arg1, arg2) {
|
|
821
948
|
const ret = getObject(arg1).toString(arg2);
|
|
822
949
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
823
950
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -825,16 +952,16 @@ module.exports.__wbg_toString_26c114c5f3052ff5 = function(arg0, arg1, arg2) {
|
|
|
825
952
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
826
953
|
};
|
|
827
954
|
|
|
828
|
-
module.exports.
|
|
955
|
+
module.exports.__wbg_new_87297f22973157c8 = function(arg0, arg1) {
|
|
829
956
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
830
957
|
return addHeapObject(ret);
|
|
831
958
|
};
|
|
832
959
|
|
|
833
|
-
module.exports.
|
|
960
|
+
module.exports.__wbg_setcause_394738aae0ce9341 = function(arg0, arg1) {
|
|
834
961
|
getObject(arg0).cause = getObject(arg1);
|
|
835
962
|
};
|
|
836
963
|
|
|
837
|
-
module.exports.
|
|
964
|
+
module.exports.__wbg_instanceof_Function_8e1bcaacb89c4438 = function(arg0) {
|
|
838
965
|
let result;
|
|
839
966
|
try {
|
|
840
967
|
result = getObject(arg0) instanceof Function;
|
|
@@ -845,34 +972,34 @@ module.exports.__wbg_instanceof_Function_3021b2be9300e7a7 = function(arg0) {
|
|
|
845
972
|
return ret;
|
|
846
973
|
};
|
|
847
974
|
|
|
848
|
-
module.exports.
|
|
975
|
+
module.exports.__wbg_call_587b30eea3e09332 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
849
976
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
850
977
|
return addHeapObject(ret);
|
|
851
978
|
}, arguments) };
|
|
852
979
|
|
|
853
|
-
module.exports.
|
|
980
|
+
module.exports.__wbg_call_4c73e4aecced6a7d = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
854
981
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3));
|
|
855
982
|
return addHeapObject(ret);
|
|
856
983
|
}, arguments) };
|
|
857
984
|
|
|
858
|
-
module.exports.
|
|
985
|
+
module.exports.__wbg_bind_7d5ce7224bedd5b8 = function(arg0, arg1, arg2) {
|
|
859
986
|
const ret = getObject(arg0).bind(getObject(arg1), getObject(arg2));
|
|
860
987
|
return addHeapObject(ret);
|
|
861
988
|
};
|
|
862
989
|
|
|
863
|
-
module.exports.
|
|
990
|
+
module.exports.__wbg_bind_f5218b29220675c3 = function(arg0, arg1, arg2, arg3) {
|
|
864
991
|
const ret = getObject(arg0).bind(getObject(arg1), getObject(arg2), getObject(arg3));
|
|
865
992
|
return addHeapObject(ret);
|
|
866
993
|
};
|
|
867
994
|
|
|
868
|
-
module.exports.
|
|
995
|
+
module.exports.__wbg_forEach_942772130a8d06a6 = function(arg0, arg1, arg2) {
|
|
869
996
|
try {
|
|
870
997
|
var state0 = {a: arg1, b: arg2};
|
|
871
998
|
var cb0 = (arg0, arg1) => {
|
|
872
999
|
const a = state0.a;
|
|
873
1000
|
state0.a = 0;
|
|
874
1001
|
try {
|
|
875
|
-
return
|
|
1002
|
+
return __wbg_adapter_155(a, state0.b, arg0, arg1);
|
|
876
1003
|
} finally {
|
|
877
1004
|
state0.a = a;
|
|
878
1005
|
}
|
|
@@ -883,24 +1010,24 @@ module.exports.__wbg_forEach_d3ffcb118358250b = function(arg0, arg1, arg2) {
|
|
|
883
1010
|
}
|
|
884
1011
|
};
|
|
885
1012
|
|
|
886
|
-
module.exports.
|
|
1013
|
+
module.exports.__wbg_set_da7be7bf0e037b14 = function(arg0, arg1, arg2) {
|
|
887
1014
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
888
1015
|
return addHeapObject(ret);
|
|
889
1016
|
};
|
|
890
1017
|
|
|
891
|
-
module.exports.
|
|
1018
|
+
module.exports.__wbg_constructor_f2623999a1f453eb = function(arg0) {
|
|
892
1019
|
const ret = getObject(arg0).constructor;
|
|
893
1020
|
return addHeapObject(ret);
|
|
894
1021
|
};
|
|
895
1022
|
|
|
896
|
-
module.exports.
|
|
1023
|
+
module.exports.__wbg_new_2b55e405e4af4986 = function(arg0, arg1) {
|
|
897
1024
|
try {
|
|
898
1025
|
var state0 = {a: arg0, b: arg1};
|
|
899
1026
|
var cb0 = (arg0, arg1) => {
|
|
900
1027
|
const a = state0.a;
|
|
901
1028
|
state0.a = 0;
|
|
902
1029
|
try {
|
|
903
|
-
return
|
|
1030
|
+
return __wbg_adapter_155(a, state0.b, arg0, arg1);
|
|
904
1031
|
} finally {
|
|
905
1032
|
state0.a = a;
|
|
906
1033
|
}
|
|
@@ -912,76 +1039,76 @@ module.exports.__wbg_new_43f1b47c28813cbd = function(arg0, arg1) {
|
|
|
912
1039
|
}
|
|
913
1040
|
};
|
|
914
1041
|
|
|
915
|
-
module.exports.
|
|
1042
|
+
module.exports.__wbg_resolve_ae38ad63c43ff98b = function(arg0) {
|
|
916
1043
|
const ret = Promise.resolve(getObject(arg0));
|
|
917
1044
|
return addHeapObject(ret);
|
|
918
1045
|
};
|
|
919
1046
|
|
|
920
|
-
module.exports.
|
|
1047
|
+
module.exports.__wbg_then_8df675b8bb5d5e3c = function(arg0, arg1) {
|
|
921
1048
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
922
1049
|
return addHeapObject(ret);
|
|
923
1050
|
};
|
|
924
1051
|
|
|
925
|
-
module.exports.
|
|
1052
|
+
module.exports.__wbg_then_835b073a479138e5 = function(arg0, arg1, arg2) {
|
|
926
1053
|
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
927
1054
|
return addHeapObject(ret);
|
|
928
1055
|
};
|
|
929
1056
|
|
|
930
|
-
module.exports.
|
|
1057
|
+
module.exports.__wbg_buffer_55ba7a6b1b92e2ac = function(arg0) {
|
|
931
1058
|
const ret = getObject(arg0).buffer;
|
|
932
1059
|
return addHeapObject(ret);
|
|
933
1060
|
};
|
|
934
1061
|
|
|
935
|
-
module.exports.
|
|
1062
|
+
module.exports.__wbg_newwithbyteoffsetandlength_88d1d8be5df94b9b = function(arg0, arg1, arg2) {
|
|
936
1063
|
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
937
1064
|
return addHeapObject(ret);
|
|
938
1065
|
};
|
|
939
1066
|
|
|
940
|
-
module.exports.
|
|
1067
|
+
module.exports.__wbg_new_09938a7d020f049b = function(arg0) {
|
|
941
1068
|
const ret = new Uint8Array(getObject(arg0));
|
|
942
1069
|
return addHeapObject(ret);
|
|
943
1070
|
};
|
|
944
1071
|
|
|
945
|
-
module.exports.
|
|
1072
|
+
module.exports.__wbg_set_3698e3ca519b3c3c = function(arg0, arg1, arg2) {
|
|
946
1073
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
947
1074
|
};
|
|
948
1075
|
|
|
949
|
-
module.exports.
|
|
1076
|
+
module.exports.__wbg_length_0aab7ffd65ad19ed = function(arg0) {
|
|
950
1077
|
const ret = getObject(arg0).length;
|
|
951
1078
|
return ret;
|
|
952
1079
|
};
|
|
953
1080
|
|
|
954
|
-
module.exports.
|
|
1081
|
+
module.exports.__wbg_newwithlength_89eeca401d8918c2 = function(arg0) {
|
|
955
1082
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
956
1083
|
return addHeapObject(ret);
|
|
957
1084
|
};
|
|
958
1085
|
|
|
959
|
-
module.exports.
|
|
1086
|
+
module.exports.__wbg_subarray_d82be056deb4ad27 = function(arg0, arg1, arg2) {
|
|
960
1087
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
961
1088
|
return addHeapObject(ret);
|
|
962
1089
|
};
|
|
963
1090
|
|
|
964
|
-
module.exports.
|
|
1091
|
+
module.exports.__wbg_compile_eefe73dfb19bff3d = function(arg0) {
|
|
965
1092
|
const ret = WebAssembly.compile(getObject(arg0));
|
|
966
1093
|
return addHeapObject(ret);
|
|
967
1094
|
};
|
|
968
1095
|
|
|
969
|
-
module.exports.
|
|
1096
|
+
module.exports.__wbg_instantiate_e61ee50cd947cd36 = function(arg0, arg1) {
|
|
970
1097
|
const ret = WebAssembly.instantiate(getObject(arg0), getObject(arg1));
|
|
971
1098
|
return addHeapObject(ret);
|
|
972
1099
|
};
|
|
973
1100
|
|
|
974
|
-
module.exports.
|
|
1101
|
+
module.exports.__wbg_exports_311291a1333429a3 = function(arg0) {
|
|
975
1102
|
const ret = getObject(arg0).exports;
|
|
976
1103
|
return addHeapObject(ret);
|
|
977
1104
|
};
|
|
978
1105
|
|
|
979
|
-
module.exports.
|
|
1106
|
+
module.exports.__wbg_exports_12505982ae149cb0 = function(arg0) {
|
|
980
1107
|
const ret = WebAssembly.Module.exports(getObject(arg0));
|
|
981
1108
|
return addHeapObject(ret);
|
|
982
1109
|
};
|
|
983
1110
|
|
|
984
|
-
module.exports.
|
|
1111
|
+
module.exports.__wbg_instanceof_Table_b0af5234a12a19f9 = function(arg0) {
|
|
985
1112
|
let result;
|
|
986
1113
|
try {
|
|
987
1114
|
result = getObject(arg0) instanceof WebAssembly.Table;
|
|
@@ -992,12 +1119,12 @@ module.exports.__wbg_instanceof_Table_ba74319dfec929b1 = function(arg0) {
|
|
|
992
1119
|
return ret;
|
|
993
1120
|
};
|
|
994
1121
|
|
|
995
|
-
module.exports.
|
|
1122
|
+
module.exports.__wbg_get_b5def15f90c3e295 = function() { return handleError(function (arg0, arg1) {
|
|
996
1123
|
const ret = getObject(arg0).get(arg1 >>> 0);
|
|
997
1124
|
return addHeapObject(ret);
|
|
998
1125
|
}, arguments) };
|
|
999
1126
|
|
|
1000
|
-
module.exports.
|
|
1127
|
+
module.exports.__wbg_instanceof_Memory_331618ccd3fa615d = function(arg0) {
|
|
1001
1128
|
let result;
|
|
1002
1129
|
try {
|
|
1003
1130
|
result = getObject(arg0) instanceof WebAssembly.Memory;
|
|
@@ -1008,27 +1135,27 @@ module.exports.__wbg_instanceof_Memory_6b2a8e33c4176794 = function(arg0) {
|
|
|
1008
1135
|
return ret;
|
|
1009
1136
|
};
|
|
1010
1137
|
|
|
1011
|
-
module.exports.
|
|
1138
|
+
module.exports.__wbg_new_e40873b83efb2dcd = function() { return handleError(function (arg0) {
|
|
1012
1139
|
const ret = new WebAssembly.Memory(getObject(arg0));
|
|
1013
1140
|
return addHeapObject(ret);
|
|
1014
1141
|
}, arguments) };
|
|
1015
1142
|
|
|
1016
|
-
module.exports.
|
|
1143
|
+
module.exports.__wbg_apply_46ea2bb0ad750196 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1017
1144
|
const ret = Reflect.apply(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
1018
1145
|
return addHeapObject(ret);
|
|
1019
1146
|
}, arguments) };
|
|
1020
1147
|
|
|
1021
|
-
module.exports.
|
|
1148
|
+
module.exports.__wbg_getPrototypeOf_7dc7a2328db2bc0e = function() { return handleError(function (arg0) {
|
|
1022
1149
|
const ret = Reflect.getPrototypeOf(getObject(arg0));
|
|
1023
1150
|
return addHeapObject(ret);
|
|
1024
1151
|
}, arguments) };
|
|
1025
1152
|
|
|
1026
|
-
module.exports.
|
|
1153
|
+
module.exports.__wbg_set_07da13cc24b69217 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1027
1154
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
1028
1155
|
return ret;
|
|
1029
1156
|
}, arguments) };
|
|
1030
1157
|
|
|
1031
|
-
module.exports.
|
|
1158
|
+
module.exports.__wbg_parse_76a8a18ca3f8730b = function() { return handleError(function (arg0, arg1) {
|
|
1032
1159
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
1033
1160
|
return addHeapObject(ret);
|
|
1034
1161
|
}, arguments) };
|
|
@@ -1062,8 +1189,8 @@ module.exports.__wbindgen_function_table = function() {
|
|
|
1062
1189
|
return addHeapObject(ret);
|
|
1063
1190
|
};
|
|
1064
1191
|
|
|
1065
|
-
module.exports.
|
|
1066
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1192
|
+
module.exports.__wbindgen_closure_wrapper618 = function(arg0, arg1, arg2) {
|
|
1193
|
+
const ret = makeMutClosure(arg0, arg1, 196, __wbg_adapter_54);
|
|
1067
1194
|
return addHeapObject(ret);
|
|
1068
1195
|
};
|
|
1069
1196
|
|