@octoseq/visualiser 0.1.0-main.31a01e5 → 0.1.0-main.4d96254
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/pkg/visualiser.d.ts +31 -56
- package/pkg/visualiser.js +416 -547
- package/pkg/visualiser_bg.wasm +0 -0
- package/pkg/visualiser_bg.wasm.d.ts +31 -32
package/pkg/visualiser.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
let wasm;
|
|
2
2
|
|
|
3
|
-
function
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
heap_next = heap[idx];
|
|
7
|
-
|
|
8
|
-
heap[idx] = obj;
|
|
3
|
+
function addToExternrefTable0(obj) {
|
|
4
|
+
const idx = wasm.__externref_table_alloc();
|
|
5
|
+
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
9
6
|
return idx;
|
|
10
7
|
}
|
|
11
8
|
|
|
@@ -78,12 +75,6 @@ function debugString(val) {
|
|
|
78
75
|
return className;
|
|
79
76
|
}
|
|
80
77
|
|
|
81
|
-
function dropObject(idx) {
|
|
82
|
-
if (idx < 132) return;
|
|
83
|
-
heap[idx] = heap_next;
|
|
84
|
-
heap_next = idx;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
78
|
function getArrayF32FromWasm0(ptr, len) {
|
|
88
79
|
ptr = ptr >>> 0;
|
|
89
80
|
return getFloat32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
@@ -136,21 +127,15 @@ function getUint8ArrayMemory0() {
|
|
|
136
127
|
return cachedUint8ArrayMemory0;
|
|
137
128
|
}
|
|
138
129
|
|
|
139
|
-
function getObject(idx) { return heap[idx]; }
|
|
140
|
-
|
|
141
130
|
function handleError(f, args) {
|
|
142
131
|
try {
|
|
143
132
|
return f.apply(this, args);
|
|
144
133
|
} catch (e) {
|
|
145
|
-
|
|
134
|
+
const idx = addToExternrefTable0(e);
|
|
135
|
+
wasm.__wbindgen_exn_store(idx);
|
|
146
136
|
}
|
|
147
137
|
}
|
|
148
138
|
|
|
149
|
-
let heap = new Array(128).fill(undefined);
|
|
150
|
-
heap.push(undefined, null, true, false);
|
|
151
|
-
|
|
152
|
-
let heap_next = heap.length;
|
|
153
|
-
|
|
154
139
|
function isLikeNone(x) {
|
|
155
140
|
return x === undefined || x === null;
|
|
156
141
|
}
|
|
@@ -227,12 +212,6 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
227
212
|
return ptr;
|
|
228
213
|
}
|
|
229
214
|
|
|
230
|
-
function takeObject(idx) {
|
|
231
|
-
const ret = getObject(idx);
|
|
232
|
-
dropObject(idx);
|
|
233
|
-
return ret;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
215
|
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
237
216
|
cachedTextDecoder.decode();
|
|
238
217
|
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
@@ -262,16 +241,16 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
262
241
|
|
|
263
242
|
let WASM_VECTOR_LEN = 0;
|
|
264
243
|
|
|
265
|
-
function
|
|
266
|
-
wasm.
|
|
244
|
+
function wasm_bindgen__convert__closures_____invoke__hd456749e88b4d731(arg0, arg1, arg2) {
|
|
245
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hd456749e88b4d731(arg0, arg1, arg2);
|
|
267
246
|
}
|
|
268
247
|
|
|
269
|
-
function
|
|
270
|
-
wasm.
|
|
248
|
+
function wasm_bindgen__convert__closures_____invoke__h09705603bb35b975(arg0, arg1, arg2) {
|
|
249
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h09705603bb35b975(arg0, arg1, arg2);
|
|
271
250
|
}
|
|
272
251
|
|
|
273
|
-
function
|
|
274
|
-
wasm.
|
|
252
|
+
function wasm_bindgen__convert__closures_____invoke__h12a8c25a05856851(arg0, arg1, arg2, arg3) {
|
|
253
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h12a8c25a05856851(arg0, arg1, arg2, arg3);
|
|
275
254
|
}
|
|
276
255
|
|
|
277
256
|
const __wbindgen_enum_GpuCompilationMessageType = ["error", "warning", "info"];
|
|
@@ -320,7 +299,7 @@ export class WasmVisualiser {
|
|
|
320
299
|
* @returns {boolean}
|
|
321
300
|
*/
|
|
322
301
|
has_signal(name) {
|
|
323
|
-
const ptr0 = passStringToWasm0(name, wasm.
|
|
302
|
+
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
324
303
|
const len0 = WASM_VECTOR_LEN;
|
|
325
304
|
const ret = wasm.wasmvisualiser_has_signal(this.__wbg_ptr, ptr0, len0);
|
|
326
305
|
return ret !== 0;
|
|
@@ -332,7 +311,7 @@ export class WasmVisualiser {
|
|
|
332
311
|
* @returns {boolean}
|
|
333
312
|
*/
|
|
334
313
|
load_script(script) {
|
|
335
|
-
const ptr0 = passStringToWasm0(script, wasm.
|
|
314
|
+
const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
336
315
|
const len0 = WASM_VECTOR_LEN;
|
|
337
316
|
const ret = wasm.wasmvisualiser_load_script(this.__wbg_ptr, ptr0, len0);
|
|
338
317
|
return ret !== 0;
|
|
@@ -345,9 +324,9 @@ export class WasmVisualiser {
|
|
|
345
324
|
* @param {number} sample_rate
|
|
346
325
|
*/
|
|
347
326
|
push_signal(name, samples, sample_rate) {
|
|
348
|
-
const ptr0 = passStringToWasm0(name, wasm.
|
|
327
|
+
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
349
328
|
const len0 = WASM_VECTOR_LEN;
|
|
350
|
-
const ptr1 = passArrayF32ToWasm0(samples, wasm.
|
|
329
|
+
const ptr1 = passArrayF32ToWasm0(samples, wasm.__wbindgen_malloc);
|
|
351
330
|
const len1 = WASM_VECTOR_LEN;
|
|
352
331
|
wasm.wasmvisualiser_push_signal(this.__wbg_ptr, ptr0, len0, ptr1, len1, sample_rate);
|
|
353
332
|
}
|
|
@@ -367,18 +346,14 @@ export class WasmVisualiser {
|
|
|
367
346
|
let deferred2_0;
|
|
368
347
|
let deferred2_1;
|
|
369
348
|
try {
|
|
370
|
-
const
|
|
371
|
-
const ptr0 = passStringToWasm0(script, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
349
|
+
const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
372
350
|
const len0 = WASM_VECTOR_LEN;
|
|
373
|
-
wasm.wasmvisualiser_run_analysis(
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
deferred2_1 = r1;
|
|
378
|
-
return getStringFromWasm0(r0, r1);
|
|
351
|
+
const ret = wasm.wasmvisualiser_run_analysis(this.__wbg_ptr, ptr0, len0, duration, time_step);
|
|
352
|
+
deferred2_0 = ret[0];
|
|
353
|
+
deferred2_1 = ret[1];
|
|
354
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
379
355
|
} finally {
|
|
380
|
-
wasm.
|
|
381
|
-
wasm.__wbindgen_export4(deferred2_0, deferred2_1, 1);
|
|
356
|
+
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
382
357
|
}
|
|
383
358
|
}
|
|
384
359
|
/**
|
|
@@ -406,7 +381,7 @@ export class WasmVisualiser {
|
|
|
406
381
|
* @param {number} sample_rate
|
|
407
382
|
*/
|
|
408
383
|
push_zoom_data(samples, sample_rate) {
|
|
409
|
-
const ptr0 = passArrayF32ToWasm0(samples, wasm.
|
|
384
|
+
const ptr0 = passArrayF32ToWasm0(samples, wasm.__wbindgen_malloc);
|
|
410
385
|
const len0 = WASM_VECTOR_LEN;
|
|
411
386
|
wasm.wasmvisualiser_push_zoom_data(this.__wbg_ptr, ptr0, len0, sample_rate);
|
|
412
387
|
}
|
|
@@ -422,37 +397,23 @@ export class WasmVisualiser {
|
|
|
422
397
|
* @returns {Float32Array}
|
|
423
398
|
*/
|
|
424
399
|
get_current_vals() {
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
430
|
-
var v1 = getArrayF32FromWasm0(r0, r1).slice();
|
|
431
|
-
wasm.__wbindgen_export4(r0, r1 * 4, 4);
|
|
432
|
-
return v1;
|
|
433
|
-
} finally {
|
|
434
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
435
|
-
}
|
|
400
|
+
const ret = wasm.wasmvisualiser_get_current_vals(this.__wbg_ptr);
|
|
401
|
+
var v1 = getArrayF32FromWasm0(ret[0], ret[1]).slice();
|
|
402
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
403
|
+
return v1;
|
|
436
404
|
}
|
|
437
405
|
/**
|
|
438
406
|
* Get the last script error message, if any.
|
|
439
407
|
* @returns {string | undefined}
|
|
440
408
|
*/
|
|
441
409
|
get_script_error() {
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
let v1;
|
|
448
|
-
if (r0 !== 0) {
|
|
449
|
-
v1 = getStringFromWasm0(r0, r1).slice();
|
|
450
|
-
wasm.__wbindgen_export4(r0, r1 * 1, 1);
|
|
451
|
-
}
|
|
452
|
-
return v1;
|
|
453
|
-
} finally {
|
|
454
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
410
|
+
const ret = wasm.wasmvisualiser_get_script_error(this.__wbg_ptr);
|
|
411
|
+
let v1;
|
|
412
|
+
if (ret[0] !== 0) {
|
|
413
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
414
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
455
415
|
}
|
|
416
|
+
return v1;
|
|
456
417
|
}
|
|
457
418
|
/**
|
|
458
419
|
* Get the list of available signal names.
|
|
@@ -463,16 +424,12 @@ export class WasmVisualiser {
|
|
|
463
424
|
let deferred1_0;
|
|
464
425
|
let deferred1_1;
|
|
465
426
|
try {
|
|
466
|
-
const
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
deferred1_0 = r0;
|
|
471
|
-
deferred1_1 = r1;
|
|
472
|
-
return getStringFromWasm0(r0, r1);
|
|
427
|
+
const ret = wasm.wasmvisualiser_get_signal_names(this.__wbg_ptr);
|
|
428
|
+
deferred1_0 = ret[0];
|
|
429
|
+
deferred1_1 = ret[1];
|
|
430
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
473
431
|
} finally {
|
|
474
|
-
wasm.
|
|
475
|
-
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
432
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
476
433
|
}
|
|
477
434
|
}
|
|
478
435
|
/**
|
|
@@ -484,16 +441,12 @@ export class WasmVisualiser {
|
|
|
484
441
|
let deferred1_0;
|
|
485
442
|
let deferred1_1;
|
|
486
443
|
try {
|
|
487
|
-
const
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
deferred1_0 = r0;
|
|
492
|
-
deferred1_1 = r1;
|
|
493
|
-
return getStringFromWasm0(r0, r1);
|
|
444
|
+
const ret = wasm.wasmvisualiser_list_mesh_assets(this.__wbg_ptr);
|
|
445
|
+
deferred1_0 = ret[0];
|
|
446
|
+
deferred1_1 = ret[1];
|
|
447
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
494
448
|
} finally {
|
|
495
|
-
wasm.
|
|
496
|
-
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
449
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
497
450
|
}
|
|
498
451
|
}
|
|
499
452
|
/**
|
|
@@ -515,9 +468,9 @@ export class WasmVisualiser {
|
|
|
515
468
|
* @returns {boolean}
|
|
516
469
|
*/
|
|
517
470
|
push_band_events(band_id, events_json) {
|
|
518
|
-
const ptr0 = passStringToWasm0(band_id, wasm.
|
|
471
|
+
const ptr0 = passStringToWasm0(band_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
519
472
|
const len0 = WASM_VECTOR_LEN;
|
|
520
|
-
const ptr1 = passStringToWasm0(events_json, wasm.
|
|
473
|
+
const ptr1 = passStringToWasm0(events_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
521
474
|
const len1 = WASM_VECTOR_LEN;
|
|
522
475
|
const ret = wasm.wasmvisualiser_push_band_events(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
523
476
|
return ret !== 0;
|
|
@@ -539,13 +492,13 @@ export class WasmVisualiser {
|
|
|
539
492
|
* @param {number} sample_rate
|
|
540
493
|
*/
|
|
541
494
|
push_band_signal(band_id, band_label, feature, samples, sample_rate) {
|
|
542
|
-
const ptr0 = passStringToWasm0(band_id, wasm.
|
|
495
|
+
const ptr0 = passStringToWasm0(band_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
543
496
|
const len0 = WASM_VECTOR_LEN;
|
|
544
|
-
const ptr1 = passStringToWasm0(band_label, wasm.
|
|
497
|
+
const ptr1 = passStringToWasm0(band_label, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
545
498
|
const len1 = WASM_VECTOR_LEN;
|
|
546
|
-
const ptr2 = passStringToWasm0(feature, wasm.
|
|
499
|
+
const ptr2 = passStringToWasm0(feature, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
547
500
|
const len2 = WASM_VECTOR_LEN;
|
|
548
|
-
const ptr3 = passArrayF32ToWasm0(samples, wasm.
|
|
501
|
+
const ptr3 = passArrayF32ToWasm0(samples, wasm.__wbindgen_malloc);
|
|
549
502
|
const len3 = WASM_VECTOR_LEN;
|
|
550
503
|
wasm.wasmvisualiser_push_band_signal(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, sample_rate);
|
|
551
504
|
}
|
|
@@ -566,13 +519,13 @@ export class WasmVisualiser {
|
|
|
566
519
|
* @param {number} sample_rate
|
|
567
520
|
*/
|
|
568
521
|
push_stem_signal(stem_id, stem_label, feature, samples, sample_rate) {
|
|
569
|
-
const ptr0 = passStringToWasm0(stem_id, wasm.
|
|
522
|
+
const ptr0 = passStringToWasm0(stem_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
570
523
|
const len0 = WASM_VECTOR_LEN;
|
|
571
|
-
const ptr1 = passStringToWasm0(stem_label, wasm.
|
|
524
|
+
const ptr1 = passStringToWasm0(stem_label, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
572
525
|
const len1 = WASM_VECTOR_LEN;
|
|
573
|
-
const ptr2 = passStringToWasm0(feature, wasm.
|
|
526
|
+
const ptr2 = passStringToWasm0(feature, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
574
527
|
const len2 = WASM_VECTOR_LEN;
|
|
575
|
-
const ptr3 = passArrayF32ToWasm0(samples, wasm.
|
|
528
|
+
const ptr3 = passArrayF32ToWasm0(samples, wasm.__wbindgen_malloc);
|
|
576
529
|
const len3 = WASM_VECTOR_LEN;
|
|
577
530
|
wasm.wasmvisualiser_push_stem_signal(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, sample_rate);
|
|
578
531
|
}
|
|
@@ -584,7 +537,7 @@ export class WasmVisualiser {
|
|
|
584
537
|
* @returns {boolean}
|
|
585
538
|
*/
|
|
586
539
|
set_musical_time(json) {
|
|
587
|
-
const ptr0 = passStringToWasm0(json, wasm.
|
|
540
|
+
const ptr0 = passStringToWasm0(json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
588
541
|
const len0 = WASM_VECTOR_LEN;
|
|
589
542
|
const ret = wasm.wasmvisualiser_set_musical_time(this.__wbg_ptr, ptr0, len0);
|
|
590
543
|
return ret !== 0;
|
|
@@ -614,9 +567,9 @@ export class WasmVisualiser {
|
|
|
614
567
|
* @returns {boolean}
|
|
615
568
|
*/
|
|
616
569
|
push_event_stream(name, events_json) {
|
|
617
|
-
const ptr0 = passStringToWasm0(name, wasm.
|
|
570
|
+
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
618
571
|
const len0 = WASM_VECTOR_LEN;
|
|
619
|
-
const ptr1 = passStringToWasm0(events_json, wasm.
|
|
572
|
+
const ptr1 = passStringToWasm0(events_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
620
573
|
const len1 = WASM_VECTOR_LEN;
|
|
621
574
|
const ret = wasm.wasmvisualiser_push_event_stream(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
622
575
|
return ret !== 0;
|
|
@@ -658,16 +611,12 @@ export class WasmVisualiser {
|
|
|
658
611
|
let deferred1_0;
|
|
659
612
|
let deferred1_1;
|
|
660
613
|
try {
|
|
661
|
-
const
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
deferred1_0 = r0;
|
|
666
|
-
deferred1_1 = r1;
|
|
667
|
-
return getStringFromWasm0(r0, r1);
|
|
614
|
+
const ret = wasm.wasmvisualiser_get_band_bounds_at(this.__wbg_ptr, time);
|
|
615
|
+
deferred1_0 = ret[0];
|
|
616
|
+
deferred1_1 = ret[1];
|
|
617
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
668
618
|
} finally {
|
|
669
|
-
wasm.
|
|
670
|
-
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
619
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
671
620
|
}
|
|
672
621
|
}
|
|
673
622
|
/**
|
|
@@ -679,16 +628,12 @@ export class WasmVisualiser {
|
|
|
679
628
|
let deferred1_0;
|
|
680
629
|
let deferred1_1;
|
|
681
630
|
try {
|
|
682
|
-
const
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
deferred1_0 = r0;
|
|
687
|
-
deferred1_1 = r1;
|
|
688
|
-
return getStringFromWasm0(r0, r1);
|
|
631
|
+
const ret = wasm.wasmvisualiser_get_script_signals(this.__wbg_ptr);
|
|
632
|
+
deferred1_0 = ret[0];
|
|
633
|
+
deferred1_1 = ret[1];
|
|
634
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
689
635
|
} finally {
|
|
690
|
-
wasm.
|
|
691
|
-
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
636
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
692
637
|
}
|
|
693
638
|
}
|
|
694
639
|
/**
|
|
@@ -705,11 +650,11 @@ export class WasmVisualiser {
|
|
|
705
650
|
* @param {number} sample_rate
|
|
706
651
|
*/
|
|
707
652
|
push_custom_signal(signal_id, label, samples, sample_rate) {
|
|
708
|
-
const ptr0 = passStringToWasm0(signal_id, wasm.
|
|
653
|
+
const ptr0 = passStringToWasm0(signal_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
709
654
|
const len0 = WASM_VECTOR_LEN;
|
|
710
|
-
const ptr1 = passStringToWasm0(label, wasm.
|
|
655
|
+
const ptr1 = passStringToWasm0(label, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
711
656
|
const len1 = WASM_VECTOR_LEN;
|
|
712
|
-
const ptr2 = passArrayF32ToWasm0(samples, wasm.
|
|
657
|
+
const ptr2 = passArrayF32ToWasm0(samples, wasm.__wbindgen_malloc);
|
|
713
658
|
const len2 = WASM_VECTOR_LEN;
|
|
714
659
|
wasm.wasmvisualiser_push_custom_signal(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, sample_rate);
|
|
715
660
|
}
|
|
@@ -718,9 +663,9 @@ export class WasmVisualiser {
|
|
|
718
663
|
* @param {number} sample_rate
|
|
719
664
|
*/
|
|
720
665
|
push_rotation_data(samples, sample_rate) {
|
|
721
|
-
const ptr0 = passArrayF32ToWasm0(samples, wasm.
|
|
666
|
+
const ptr0 = passArrayF32ToWasm0(samples, wasm.__wbindgen_malloc);
|
|
722
667
|
const len0 = WASM_VECTOR_LEN;
|
|
723
|
-
wasm.
|
|
668
|
+
wasm.wasmvisualiser_push_data(this.__wbg_ptr, ptr0, len0, sample_rate);
|
|
724
669
|
}
|
|
725
670
|
/**
|
|
726
671
|
* Render with a frame budget timeout.
|
|
@@ -760,9 +705,9 @@ export class WasmVisualiser {
|
|
|
760
705
|
* @returns {boolean}
|
|
761
706
|
*/
|
|
762
707
|
register_mesh_asset(asset_id, obj_content) {
|
|
763
|
-
const ptr0 = passStringToWasm0(asset_id, wasm.
|
|
708
|
+
const ptr0 = passStringToWasm0(asset_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
764
709
|
const len0 = WASM_VECTOR_LEN;
|
|
765
|
-
const ptr1 = passStringToWasm0(obj_content, wasm.
|
|
710
|
+
const ptr1 = passStringToWasm0(obj_content, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
766
711
|
const len1 = WASM_VECTOR_LEN;
|
|
767
712
|
const ret = wasm.wasmvisualiser_register_mesh_asset(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
768
713
|
return ret !== 0;
|
|
@@ -780,7 +725,7 @@ export class WasmVisualiser {
|
|
|
780
725
|
* @returns {boolean}
|
|
781
726
|
*/
|
|
782
727
|
set_available_stems(json) {
|
|
783
|
-
const ptr0 = passStringToWasm0(json, wasm.
|
|
728
|
+
const ptr0 = passStringToWasm0(json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
784
729
|
const len0 = WASM_VECTOR_LEN;
|
|
785
730
|
const ret = wasm.wasmvisualiser_set_available_stems(this.__wbg_ptr, ptr0, len0);
|
|
786
731
|
return ret !== 0;
|
|
@@ -793,7 +738,7 @@ export class WasmVisualiser {
|
|
|
793
738
|
* @returns {boolean}
|
|
794
739
|
*/
|
|
795
740
|
set_frequency_bands(json) {
|
|
796
|
-
const ptr0 = passStringToWasm0(json, wasm.
|
|
741
|
+
const ptr0 = passStringToWasm0(json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
797
742
|
const len0 = WASM_VECTOR_LEN;
|
|
798
743
|
const ret = wasm.wasmvisualiser_set_frequency_bands(this.__wbg_ptr, ptr0, len0);
|
|
799
744
|
return ret !== 0;
|
|
@@ -820,18 +765,14 @@ export class WasmVisualiser {
|
|
|
820
765
|
let deferred2_0;
|
|
821
766
|
let deferred2_1;
|
|
822
767
|
try {
|
|
823
|
-
const
|
|
824
|
-
const ptr0 = passStringToWasm0(signal_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
768
|
+
const ptr0 = passStringToWasm0(signal_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
825
769
|
const len0 = WASM_VECTOR_LEN;
|
|
826
|
-
wasm.wasmvisualiser_analyze_signal_chain(
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
deferred2_1 = r1;
|
|
831
|
-
return getStringFromWasm0(r0, r1);
|
|
770
|
+
const ret = wasm.wasmvisualiser_analyze_signal_chain(this.__wbg_ptr, ptr0, len0, center_time, window_beats, sample_count);
|
|
771
|
+
deferred2_0 = ret[0];
|
|
772
|
+
deferred2_1 = ret[1];
|
|
773
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
832
774
|
} finally {
|
|
833
|
-
wasm.
|
|
834
|
-
wasm.__wbindgen_export4(deferred2_0, deferred2_1, 1);
|
|
775
|
+
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
835
776
|
}
|
|
836
777
|
}
|
|
837
778
|
/**
|
|
@@ -847,7 +788,7 @@ export class WasmVisualiser {
|
|
|
847
788
|
* @returns {number}
|
|
848
789
|
*/
|
|
849
790
|
get_band_event_count(band_id) {
|
|
850
|
-
const ptr0 = passStringToWasm0(band_id, wasm.
|
|
791
|
+
const ptr0 = passStringToWasm0(band_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
851
792
|
const len0 = WASM_VECTOR_LEN;
|
|
852
793
|
const ret = wasm.wasmvisualiser_get_band_event_count(this.__wbg_ptr, ptr0, len0);
|
|
853
794
|
return ret >>> 0;
|
|
@@ -861,16 +802,12 @@ export class WasmVisualiser {
|
|
|
861
802
|
let deferred1_0;
|
|
862
803
|
let deferred1_1;
|
|
863
804
|
try {
|
|
864
|
-
const
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
deferred1_0 = r0;
|
|
869
|
-
deferred1_1 = r1;
|
|
870
|
-
return getStringFromWasm0(r0, r1);
|
|
805
|
+
const ret = wasm.wasmvisualiser_get_band_signal_keys(this.__wbg_ptr);
|
|
806
|
+
deferred1_0 = ret[0];
|
|
807
|
+
deferred1_1 = ret[1];
|
|
808
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
871
809
|
} finally {
|
|
872
|
-
wasm.
|
|
873
|
-
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
810
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
874
811
|
}
|
|
875
812
|
}
|
|
876
813
|
/**
|
|
@@ -882,16 +819,12 @@ export class WasmVisualiser {
|
|
|
882
819
|
let deferred1_0;
|
|
883
820
|
let deferred1_1;
|
|
884
821
|
try {
|
|
885
|
-
const
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
deferred1_0 = r0;
|
|
890
|
-
deferred1_1 = r1;
|
|
891
|
-
return getStringFromWasm0(r0, r1);
|
|
822
|
+
const ret = wasm.wasmvisualiser_get_stem_signal_keys(this.__wbg_ptr);
|
|
823
|
+
deferred1_0 = ret[0];
|
|
824
|
+
deferred1_1 = ret[1];
|
|
825
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
892
826
|
} finally {
|
|
893
|
-
wasm.
|
|
894
|
-
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
827
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
895
828
|
}
|
|
896
829
|
}
|
|
897
830
|
/**
|
|
@@ -902,24 +835,6 @@ export class WasmVisualiser {
|
|
|
902
835
|
const ret = wasm.wasmvisualiser_is_profiling_enabled(this.__wbg_ptr);
|
|
903
836
|
return ret !== 0;
|
|
904
837
|
}
|
|
905
|
-
/**
|
|
906
|
-
* Push a composed signal for use in scripts.
|
|
907
|
-
* The signal will be available as `inputs.composedSignals["name"]` in Rhai scripts.
|
|
908
|
-
*
|
|
909
|
-
* - `name`: The composed signal name (composed signals are keyed by name only).
|
|
910
|
-
* - `samples`: Signal data.
|
|
911
|
-
* - `sample_rate`: Sample rate of the signal.
|
|
912
|
-
* @param {string} name
|
|
913
|
-
* @param {Float32Array} samples
|
|
914
|
-
* @param {number} sample_rate
|
|
915
|
-
*/
|
|
916
|
-
push_composed_signal(name, samples, sample_rate) {
|
|
917
|
-
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
918
|
-
const len0 = WASM_VECTOR_LEN;
|
|
919
|
-
const ptr1 = passArrayF32ToWasm0(samples, wasm.__wbindgen_export);
|
|
920
|
-
const len1 = WASM_VECTOR_LEN;
|
|
921
|
-
wasm.wasmvisualiser_push_composed_signal(this.__wbg_ptr, ptr0, len0, ptr1, len1, sample_rate);
|
|
922
|
-
}
|
|
923
838
|
/**
|
|
924
839
|
* Clear the frequency band structure.
|
|
925
840
|
*/
|
|
@@ -935,16 +850,12 @@ export class WasmVisualiser {
|
|
|
935
850
|
let deferred1_0;
|
|
936
851
|
let deferred1_1;
|
|
937
852
|
try {
|
|
938
|
-
const
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
deferred1_0 = r0;
|
|
943
|
-
deferred1_1 = r1;
|
|
944
|
-
return getStringFromWasm0(r0, r1);
|
|
853
|
+
const ret = wasm.wasmvisualiser_get_camera_state_json(this.__wbg_ptr);
|
|
854
|
+
deferred1_0 = ret[0];
|
|
855
|
+
deferred1_1 = ret[1];
|
|
856
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
945
857
|
} finally {
|
|
946
|
-
wasm.
|
|
947
|
-
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
858
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
948
859
|
}
|
|
949
860
|
}
|
|
950
861
|
/**
|
|
@@ -962,17 +873,11 @@ export class WasmVisualiser {
|
|
|
962
873
|
* @returns {boolean}
|
|
963
874
|
*/
|
|
964
875
|
unregister_mesh_asset(asset_id) {
|
|
965
|
-
const ptr0 = passStringToWasm0(asset_id, wasm.
|
|
876
|
+
const ptr0 = passStringToWasm0(asset_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
966
877
|
const len0 = WASM_VECTOR_LEN;
|
|
967
878
|
const ret = wasm.wasmvisualiser_unregister_mesh_asset(this.__wbg_ptr, ptr0, len0);
|
|
968
879
|
return ret !== 0;
|
|
969
880
|
}
|
|
970
|
-
/**
|
|
971
|
-
* Clear all composed signals.
|
|
972
|
-
*/
|
|
973
|
-
clear_composed_signals() {
|
|
974
|
-
wasm.wasmvisualiser_clear_composed_signals(this.__wbg_ptr);
|
|
975
|
-
}
|
|
976
881
|
/**
|
|
977
882
|
* Get list of custom signal keys (IDs and labels).
|
|
978
883
|
* Returns a JSON array of strings.
|
|
@@ -982,16 +887,12 @@ export class WasmVisualiser {
|
|
|
982
887
|
let deferred1_0;
|
|
983
888
|
let deferred1_1;
|
|
984
889
|
try {
|
|
985
|
-
const
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
deferred1_0 = r0;
|
|
990
|
-
deferred1_1 = r1;
|
|
991
|
-
return getStringFromWasm0(r0, r1);
|
|
890
|
+
const ret = wasm.wasmvisualiser_get_custom_signal_keys(this.__wbg_ptr);
|
|
891
|
+
deferred1_0 = ret[0];
|
|
892
|
+
deferred1_1 = ret[1];
|
|
893
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
992
894
|
} finally {
|
|
993
|
-
wasm.
|
|
994
|
-
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
895
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
995
896
|
}
|
|
996
897
|
}
|
|
997
898
|
/**
|
|
@@ -1001,7 +902,7 @@ export class WasmVisualiser {
|
|
|
1001
902
|
* @returns {number}
|
|
1002
903
|
*/
|
|
1003
904
|
get_event_stream_count(name) {
|
|
1004
|
-
const ptr0 = passStringToWasm0(name, wasm.
|
|
905
|
+
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1005
906
|
const len0 = WASM_VECTOR_LEN;
|
|
1006
907
|
const ret = wasm.wasmvisualiser_get_event_stream_count(this.__wbg_ptr, ptr0, len0);
|
|
1007
908
|
return ret >>> 0;
|
|
@@ -1031,18 +932,14 @@ export class WasmVisualiser {
|
|
|
1031
932
|
let deferred2_0;
|
|
1032
933
|
let deferred2_1;
|
|
1033
934
|
try {
|
|
1034
|
-
const
|
|
1035
|
-
const ptr0 = passStringToWasm0(script, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
935
|
+
const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1036
936
|
const len0 = WASM_VECTOR_LEN;
|
|
1037
|
-
wasm.wasmvisualiser_run_analysis_with_events(
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
deferred2_1 = r1;
|
|
1042
|
-
return getStringFromWasm0(r0, r1);
|
|
937
|
+
const ret = wasm.wasmvisualiser_run_analysis_with_events(this.__wbg_ptr, ptr0, len0, duration, time_step);
|
|
938
|
+
deferred2_0 = ret[0];
|
|
939
|
+
deferred2_1 = ret[1];
|
|
940
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
1043
941
|
} finally {
|
|
1044
|
-
wasm.
|
|
1045
|
-
wasm.__wbindgen_export4(deferred2_0, deferred2_1, 1);
|
|
942
|
+
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
1046
943
|
}
|
|
1047
944
|
}
|
|
1048
945
|
/**
|
|
@@ -1054,16 +951,12 @@ export class WasmVisualiser {
|
|
|
1054
951
|
let deferred1_0;
|
|
1055
952
|
let deferred1_1;
|
|
1056
953
|
try {
|
|
1057
|
-
const
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
deferred1_0 = r0;
|
|
1062
|
-
deferred1_1 = r1;
|
|
1063
|
-
return getStringFromWasm0(r0, r1);
|
|
954
|
+
const ret = wasm.wasmvisualiser_get_entity_positions_json(this.__wbg_ptr);
|
|
955
|
+
deferred1_0 = ret[0];
|
|
956
|
+
deferred1_1 = ret[1];
|
|
957
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
1064
958
|
} finally {
|
|
1065
|
-
wasm.
|
|
1066
|
-
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
959
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
1067
960
|
}
|
|
1068
961
|
}
|
|
1069
962
|
/**
|
|
@@ -1085,9 +978,9 @@ export class WasmVisualiser {
|
|
|
1085
978
|
* @returns {boolean}
|
|
1086
979
|
*/
|
|
1087
980
|
push_authored_event_stream(name, events_json) {
|
|
1088
|
-
const ptr0 = passStringToWasm0(name, wasm.
|
|
981
|
+
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1089
982
|
const len0 = WASM_VECTOR_LEN;
|
|
1090
|
-
const ptr1 = passStringToWasm0(events_json, wasm.
|
|
983
|
+
const ptr1 = passStringToWasm0(events_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1091
984
|
const len1 = WASM_VECTOR_LEN;
|
|
1092
985
|
const ret = wasm.wasmvisualiser_push_authored_event_stream(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
1093
986
|
return ret !== 0;
|
|
@@ -1111,7 +1004,7 @@ export class WasmVisualiser {
|
|
|
1111
1004
|
* @returns {boolean}
|
|
1112
1005
|
*/
|
|
1113
1006
|
set_available_custom_signals(json) {
|
|
1114
|
-
const ptr0 = passStringToWasm0(json, wasm.
|
|
1007
|
+
const ptr0 = passStringToWasm0(json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1115
1008
|
const len0 = WASM_VECTOR_LEN;
|
|
1116
1009
|
const ret = wasm.wasmvisualiser_set_available_custom_signals(this.__wbg_ptr, ptr0, len0);
|
|
1117
1010
|
return ret !== 0;
|
|
@@ -1127,36 +1020,14 @@ export class WasmVisualiser {
|
|
|
1127
1020
|
let deferred1_0;
|
|
1128
1021
|
let deferred1_1;
|
|
1129
1022
|
try {
|
|
1130
|
-
const
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
deferred1_0 = r0;
|
|
1135
|
-
deferred1_1 = r1;
|
|
1136
|
-
return getStringFromWasm0(r0, r1);
|
|
1023
|
+
const ret = wasm.wasmvisualiser_take_script_diagnostics_json(this.__wbg_ptr);
|
|
1024
|
+
deferred1_0 = ret[0];
|
|
1025
|
+
deferred1_1 = ret[1];
|
|
1026
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
1137
1027
|
} finally {
|
|
1138
|
-
wasm.
|
|
1139
|
-
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
1028
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
1140
1029
|
}
|
|
1141
1030
|
}
|
|
1142
|
-
/**
|
|
1143
|
-
* Set available composed signals for script namespace generation.
|
|
1144
|
-
* This registers composed signal IDs and labels so the script engine can generate
|
|
1145
|
-
* `inputs.composedSignals["name"]` accessors.
|
|
1146
|
-
*
|
|
1147
|
-
* The JSON format should be an array of [id, label] pairs:
|
|
1148
|
-
* `[["intensity", "intensity"], ["buildup", "buildup"]]`
|
|
1149
|
-
*
|
|
1150
|
-
* Returns true if successful, false if parsing failed.
|
|
1151
|
-
* @param {string} json
|
|
1152
|
-
* @returns {boolean}
|
|
1153
|
-
*/
|
|
1154
|
-
set_available_composed_signals(json) {
|
|
1155
|
-
const ptr0 = passStringToWasm0(json, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1156
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1157
|
-
const ret = wasm.wasmvisualiser_set_available_composed_signals(this.__wbg_ptr, ptr0, len0);
|
|
1158
|
-
return ret !== 0;
|
|
1159
|
-
}
|
|
1160
1031
|
/**
|
|
1161
1032
|
* Get the number of events in an authored event stream.
|
|
1162
1033
|
* Returns 0 if no events are stored for this name.
|
|
@@ -1164,7 +1035,7 @@ export class WasmVisualiser {
|
|
|
1164
1035
|
* @returns {number}
|
|
1165
1036
|
*/
|
|
1166
1037
|
get_authored_event_stream_count(name) {
|
|
1167
|
-
const ptr0 = passStringToWasm0(name, wasm.
|
|
1038
|
+
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1168
1039
|
const len0 = WASM_VECTOR_LEN;
|
|
1169
1040
|
const ret = wasm.wasmvisualiser_get_authored_event_stream_count(this.__wbg_ptr, ptr0, len0);
|
|
1170
1041
|
return ret >>> 0;
|
|
@@ -1199,7 +1070,7 @@ export class WasmVisualiser {
|
|
|
1199
1070
|
* @param {number} sample_rate
|
|
1200
1071
|
*/
|
|
1201
1072
|
push_data(samples, sample_rate) {
|
|
1202
|
-
const ptr0 = passArrayF32ToWasm0(samples, wasm.
|
|
1073
|
+
const ptr0 = passArrayF32ToWasm0(samples, wasm.__wbindgen_malloc);
|
|
1203
1074
|
const len0 = WASM_VECTOR_LEN;
|
|
1204
1075
|
wasm.wasmvisualiser_push_data(this.__wbg_ptr, ptr0, len0, sample_rate);
|
|
1205
1076
|
}
|
|
@@ -1211,8 +1082,8 @@ if (Symbol.dispose) WasmVisualiser.prototype[Symbol.dispose] = WasmVisualiser.pr
|
|
|
1211
1082
|
* @returns {Promise<WasmVisualiser>}
|
|
1212
1083
|
*/
|
|
1213
1084
|
export function create_visualiser(canvas) {
|
|
1214
|
-
const ret = wasm.create_visualiser(
|
|
1215
|
-
return
|
|
1085
|
+
const ret = wasm.create_visualiser(canvas);
|
|
1086
|
+
return ret;
|
|
1216
1087
|
}
|
|
1217
1088
|
|
|
1218
1089
|
/**
|
|
@@ -1227,16 +1098,12 @@ export function get_script_api_metadata_json() {
|
|
|
1227
1098
|
let deferred1_0;
|
|
1228
1099
|
let deferred1_1;
|
|
1229
1100
|
try {
|
|
1230
|
-
const
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
deferred1_0 = r0;
|
|
1235
|
-
deferred1_1 = r1;
|
|
1236
|
-
return getStringFromWasm0(r0, r1);
|
|
1101
|
+
const ret = wasm.get_script_api_metadata_json();
|
|
1102
|
+
deferred1_0 = ret[0];
|
|
1103
|
+
deferred1_1 = ret[1];
|
|
1104
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
1237
1105
|
} finally {
|
|
1238
|
-
wasm.
|
|
1239
|
-
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
1106
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
1240
1107
|
}
|
|
1241
1108
|
}
|
|
1242
1109
|
|
|
@@ -1280,41 +1147,41 @@ function __wbg_get_imports() {
|
|
|
1280
1147
|
const imports = {};
|
|
1281
1148
|
imports.wbg = {};
|
|
1282
1149
|
imports.wbg.__wbg_Window_cf5b693340a7c469 = function(arg0) {
|
|
1283
|
-
const ret =
|
|
1284
|
-
return
|
|
1150
|
+
const ret = arg0.Window;
|
|
1151
|
+
return ret;
|
|
1285
1152
|
};
|
|
1286
1153
|
imports.wbg.__wbg_WorkerGlobalScope_354364d1b0bd06e5 = function(arg0) {
|
|
1287
|
-
const ret =
|
|
1288
|
-
return
|
|
1154
|
+
const ret = arg0.WorkerGlobalScope;
|
|
1155
|
+
return ret;
|
|
1289
1156
|
};
|
|
1290
1157
|
imports.wbg.__wbg___wbindgen_debug_string_adfb662ae34724b6 = function(arg0, arg1) {
|
|
1291
|
-
const ret = debugString(
|
|
1292
|
-
const ptr1 = passStringToWasm0(ret, wasm.
|
|
1158
|
+
const ret = debugString(arg1);
|
|
1159
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1293
1160
|
const len1 = WASM_VECTOR_LEN;
|
|
1294
1161
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1295
1162
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1296
1163
|
};
|
|
1297
1164
|
imports.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd = function(arg0) {
|
|
1298
|
-
const ret = typeof(
|
|
1165
|
+
const ret = typeof(arg0) === 'function';
|
|
1299
1166
|
return ret;
|
|
1300
1167
|
};
|
|
1301
1168
|
imports.wbg.__wbg___wbindgen_is_null_dfda7d66506c95b5 = function(arg0) {
|
|
1302
|
-
const ret =
|
|
1169
|
+
const ret = arg0 === null;
|
|
1303
1170
|
return ret;
|
|
1304
1171
|
};
|
|
1305
1172
|
imports.wbg.__wbg___wbindgen_is_object_ce774f3490692386 = function(arg0) {
|
|
1306
|
-
const val =
|
|
1173
|
+
const val = arg0;
|
|
1307
1174
|
const ret = typeof(val) === 'object' && val !== null;
|
|
1308
1175
|
return ret;
|
|
1309
1176
|
};
|
|
1310
1177
|
imports.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269 = function(arg0) {
|
|
1311
|
-
const ret =
|
|
1178
|
+
const ret = arg0 === undefined;
|
|
1312
1179
|
return ret;
|
|
1313
1180
|
};
|
|
1314
1181
|
imports.wbg.__wbg___wbindgen_string_get_a2a31e16edf96e42 = function(arg0, arg1) {
|
|
1315
|
-
const obj =
|
|
1182
|
+
const obj = arg1;
|
|
1316
1183
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1317
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.
|
|
1184
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1318
1185
|
var len1 = WASM_VECTOR_LEN;
|
|
1319
1186
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1320
1187
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
@@ -1323,155 +1190,155 @@ function __wbg_get_imports() {
|
|
|
1323
1190
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1324
1191
|
};
|
|
1325
1192
|
imports.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7 = function(arg0) {
|
|
1326
|
-
|
|
1193
|
+
arg0._wbg_cb_unref();
|
|
1327
1194
|
};
|
|
1328
1195
|
imports.wbg.__wbg_beginComputePass_90d5303e604970cb = function(arg0, arg1) {
|
|
1329
|
-
const ret =
|
|
1330
|
-
return
|
|
1196
|
+
const ret = arg0.beginComputePass(arg1);
|
|
1197
|
+
return ret;
|
|
1331
1198
|
};
|
|
1332
1199
|
imports.wbg.__wbg_beginRenderPass_9739520c601001c3 = function(arg0, arg1) {
|
|
1333
|
-
const ret =
|
|
1334
|
-
return
|
|
1200
|
+
const ret = arg0.beginRenderPass(arg1);
|
|
1201
|
+
return ret;
|
|
1335
1202
|
};
|
|
1336
1203
|
imports.wbg.__wbg_buffer_6cb2fecb1f253d71 = function(arg0) {
|
|
1337
|
-
const ret =
|
|
1338
|
-
return
|
|
1204
|
+
const ret = arg0.buffer;
|
|
1205
|
+
return ret;
|
|
1339
1206
|
};
|
|
1340
1207
|
imports.wbg.__wbg_call_3020136f7a2d6e44 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1341
|
-
const ret =
|
|
1342
|
-
return
|
|
1208
|
+
const ret = arg0.call(arg1, arg2);
|
|
1209
|
+
return ret;
|
|
1343
1210
|
}, arguments) };
|
|
1344
1211
|
imports.wbg.__wbg_call_abb4ff46ce38be40 = function() { return handleError(function (arg0, arg1) {
|
|
1345
|
-
const ret =
|
|
1346
|
-
return
|
|
1212
|
+
const ret = arg0.call(arg1);
|
|
1213
|
+
return ret;
|
|
1347
1214
|
}, arguments) };
|
|
1348
1215
|
imports.wbg.__wbg_clearBuffer_6164fc25d22b25cc = function(arg0, arg1, arg2, arg3) {
|
|
1349
|
-
|
|
1216
|
+
arg0.clearBuffer(arg1, arg2, arg3);
|
|
1350
1217
|
};
|
|
1351
1218
|
imports.wbg.__wbg_clearBuffer_cfcaaf1fb2baa885 = function(arg0, arg1, arg2) {
|
|
1352
|
-
|
|
1219
|
+
arg0.clearBuffer(arg1, arg2);
|
|
1353
1220
|
};
|
|
1354
1221
|
imports.wbg.__wbg_configure_2414aed971d368cd = function(arg0, arg1) {
|
|
1355
|
-
|
|
1222
|
+
arg0.configure(arg1);
|
|
1356
1223
|
};
|
|
1357
1224
|
imports.wbg.__wbg_copyBufferToBuffer_1ba67191114656a1 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1358
|
-
|
|
1225
|
+
arg0.copyBufferToBuffer(arg1, arg2, arg3, arg4, arg5);
|
|
1359
1226
|
};
|
|
1360
1227
|
imports.wbg.__wbg_copyBufferToTexture_878d31d479e48f28 = function(arg0, arg1, arg2, arg3) {
|
|
1361
|
-
|
|
1228
|
+
arg0.copyBufferToTexture(arg1, arg2, arg3);
|
|
1362
1229
|
};
|
|
1363
1230
|
imports.wbg.__wbg_copyExternalImageToTexture_7878d196c0b60d39 = function(arg0, arg1, arg2, arg3) {
|
|
1364
|
-
|
|
1231
|
+
arg0.copyExternalImageToTexture(arg1, arg2, arg3);
|
|
1365
1232
|
};
|
|
1366
1233
|
imports.wbg.__wbg_copyTextureToBuffer_6a8fe0e90f0a663d = function(arg0, arg1, arg2, arg3) {
|
|
1367
|
-
|
|
1234
|
+
arg0.copyTextureToBuffer(arg1, arg2, arg3);
|
|
1368
1235
|
};
|
|
1369
1236
|
imports.wbg.__wbg_copyTextureToTexture_0a06a393d6726b4a = function(arg0, arg1, arg2, arg3) {
|
|
1370
|
-
|
|
1237
|
+
arg0.copyTextureToTexture(arg1, arg2, arg3);
|
|
1371
1238
|
};
|
|
1372
1239
|
imports.wbg.__wbg_createBindGroupLayout_1d93b6d41c87ba9d = function(arg0, arg1) {
|
|
1373
|
-
const ret =
|
|
1374
|
-
return
|
|
1240
|
+
const ret = arg0.createBindGroupLayout(arg1);
|
|
1241
|
+
return ret;
|
|
1375
1242
|
};
|
|
1376
1243
|
imports.wbg.__wbg_createBindGroup_61cd07ec9d423432 = function(arg0, arg1) {
|
|
1377
|
-
const ret =
|
|
1378
|
-
return
|
|
1244
|
+
const ret = arg0.createBindGroup(arg1);
|
|
1245
|
+
return ret;
|
|
1379
1246
|
};
|
|
1380
1247
|
imports.wbg.__wbg_createBuffer_963aa00d5fe859e4 = function(arg0, arg1) {
|
|
1381
|
-
const ret =
|
|
1382
|
-
return
|
|
1248
|
+
const ret = arg0.createBuffer(arg1);
|
|
1249
|
+
return ret;
|
|
1383
1250
|
};
|
|
1384
1251
|
imports.wbg.__wbg_createCommandEncoder_f0e1613e9a2dc1eb = function(arg0, arg1) {
|
|
1385
|
-
const ret =
|
|
1386
|
-
return
|
|
1252
|
+
const ret = arg0.createCommandEncoder(arg1);
|
|
1253
|
+
return ret;
|
|
1387
1254
|
};
|
|
1388
1255
|
imports.wbg.__wbg_createComputePipeline_b9616b9fe2f4eb2f = function(arg0, arg1) {
|
|
1389
|
-
const ret =
|
|
1390
|
-
return
|
|
1256
|
+
const ret = arg0.createComputePipeline(arg1);
|
|
1257
|
+
return ret;
|
|
1391
1258
|
};
|
|
1392
1259
|
imports.wbg.__wbg_createPipelineLayout_56c6cf983f892d2b = function(arg0, arg1) {
|
|
1393
|
-
const ret =
|
|
1394
|
-
return
|
|
1260
|
+
const ret = arg0.createPipelineLayout(arg1);
|
|
1261
|
+
return ret;
|
|
1395
1262
|
};
|
|
1396
1263
|
imports.wbg.__wbg_createQuerySet_c14be802adf7c207 = function(arg0, arg1) {
|
|
1397
|
-
const ret =
|
|
1398
|
-
return
|
|
1264
|
+
const ret = arg0.createQuerySet(arg1);
|
|
1265
|
+
return ret;
|
|
1399
1266
|
};
|
|
1400
1267
|
imports.wbg.__wbg_createRenderBundleEncoder_8e4bdffea72f8c1f = function(arg0, arg1) {
|
|
1401
|
-
const ret =
|
|
1402
|
-
return
|
|
1268
|
+
const ret = arg0.createRenderBundleEncoder(arg1);
|
|
1269
|
+
return ret;
|
|
1403
1270
|
};
|
|
1404
1271
|
imports.wbg.__wbg_createRenderPipeline_079a88a0601fcce1 = function(arg0, arg1) {
|
|
1405
|
-
const ret =
|
|
1406
|
-
return
|
|
1272
|
+
const ret = arg0.createRenderPipeline(arg1);
|
|
1273
|
+
return ret;
|
|
1407
1274
|
};
|
|
1408
1275
|
imports.wbg.__wbg_createSampler_ef5578990df3baf7 = function(arg0, arg1) {
|
|
1409
|
-
const ret =
|
|
1410
|
-
return
|
|
1276
|
+
const ret = arg0.createSampler(arg1);
|
|
1277
|
+
return ret;
|
|
1411
1278
|
};
|
|
1412
1279
|
imports.wbg.__wbg_createShaderModule_17f451ea25cae47c = function(arg0, arg1) {
|
|
1413
|
-
const ret =
|
|
1414
|
-
return
|
|
1280
|
+
const ret = arg0.createShaderModule(arg1);
|
|
1281
|
+
return ret;
|
|
1415
1282
|
};
|
|
1416
1283
|
imports.wbg.__wbg_createTexture_01cc1cd2fea732d9 = function(arg0, arg1) {
|
|
1417
|
-
const ret =
|
|
1418
|
-
return
|
|
1284
|
+
const ret = arg0.createTexture(arg1);
|
|
1285
|
+
return ret;
|
|
1419
1286
|
};
|
|
1420
1287
|
imports.wbg.__wbg_createView_04701884291e1ccc = function(arg0, arg1) {
|
|
1421
|
-
const ret =
|
|
1422
|
-
return
|
|
1288
|
+
const ret = arg0.createView(arg1);
|
|
1289
|
+
return ret;
|
|
1423
1290
|
};
|
|
1424
1291
|
imports.wbg.__wbg_debug_9d0c87ddda3dc485 = function(arg0) {
|
|
1425
|
-
console.debug(
|
|
1292
|
+
console.debug(arg0);
|
|
1426
1293
|
};
|
|
1427
1294
|
imports.wbg.__wbg_destroy_35f94012e5bb9c17 = function(arg0) {
|
|
1428
|
-
|
|
1295
|
+
arg0.destroy();
|
|
1429
1296
|
};
|
|
1430
1297
|
imports.wbg.__wbg_destroy_767d9dde1008e293 = function(arg0) {
|
|
1431
|
-
|
|
1298
|
+
arg0.destroy();
|
|
1432
1299
|
};
|
|
1433
1300
|
imports.wbg.__wbg_destroy_c6af4226dda95dbd = function(arg0) {
|
|
1434
|
-
|
|
1301
|
+
arg0.destroy();
|
|
1435
1302
|
};
|
|
1436
1303
|
imports.wbg.__wbg_dispatchWorkgroupsIndirect_8b25efab93a7a433 = function(arg0, arg1, arg2) {
|
|
1437
|
-
|
|
1304
|
+
arg0.dispatchWorkgroupsIndirect(arg1, arg2);
|
|
1438
1305
|
};
|
|
1439
1306
|
imports.wbg.__wbg_dispatchWorkgroups_c102fa81b955935d = function(arg0, arg1, arg2, arg3) {
|
|
1440
|
-
|
|
1307
|
+
arg0.dispatchWorkgroups(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);
|
|
1441
1308
|
};
|
|
1442
1309
|
imports.wbg.__wbg_document_5b745e82ba551ca5 = function(arg0) {
|
|
1443
|
-
const ret =
|
|
1444
|
-
return isLikeNone(ret) ? 0 :
|
|
1310
|
+
const ret = arg0.document;
|
|
1311
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1445
1312
|
};
|
|
1446
1313
|
imports.wbg.__wbg_drawIndexedIndirect_34484fc6227c7bc8 = function(arg0, arg1, arg2) {
|
|
1447
|
-
|
|
1314
|
+
arg0.drawIndexedIndirect(arg1, arg2);
|
|
1448
1315
|
};
|
|
1449
1316
|
imports.wbg.__wbg_drawIndexedIndirect_5a7c30bb5f1d5b67 = function(arg0, arg1, arg2) {
|
|
1450
|
-
|
|
1317
|
+
arg0.drawIndexedIndirect(arg1, arg2);
|
|
1451
1318
|
};
|
|
1452
1319
|
imports.wbg.__wbg_drawIndexed_115af1449b52a948 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1453
|
-
|
|
1320
|
+
arg0.drawIndexed(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
|
|
1454
1321
|
};
|
|
1455
1322
|
imports.wbg.__wbg_drawIndexed_a587cce4c317791f = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1456
|
-
|
|
1323
|
+
arg0.drawIndexed(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
|
|
1457
1324
|
};
|
|
1458
1325
|
imports.wbg.__wbg_drawIndirect_036d71498a21f1a3 = function(arg0, arg1, arg2) {
|
|
1459
|
-
|
|
1326
|
+
arg0.drawIndirect(arg1, arg2);
|
|
1460
1327
|
};
|
|
1461
1328
|
imports.wbg.__wbg_drawIndirect_a1d7c5e893aa5756 = function(arg0, arg1, arg2) {
|
|
1462
|
-
|
|
1329
|
+
arg0.drawIndirect(arg1, arg2);
|
|
1463
1330
|
};
|
|
1464
1331
|
imports.wbg.__wbg_draw_5351b12033166aca = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1465
|
-
|
|
1332
|
+
arg0.draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
1466
1333
|
};
|
|
1467
1334
|
imports.wbg.__wbg_draw_e2a7c5d66fb2d244 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1468
|
-
|
|
1335
|
+
arg0.draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
1469
1336
|
};
|
|
1470
1337
|
imports.wbg.__wbg_end_0ac71677a5c1717a = function(arg0) {
|
|
1471
|
-
|
|
1338
|
+
arg0.end();
|
|
1472
1339
|
};
|
|
1473
1340
|
imports.wbg.__wbg_end_6f776519f1faa582 = function(arg0) {
|
|
1474
|
-
|
|
1341
|
+
arg0.end();
|
|
1475
1342
|
};
|
|
1476
1343
|
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
1477
1344
|
let deferred0_0;
|
|
@@ -1481,109 +1348,109 @@ function __wbg_get_imports() {
|
|
|
1481
1348
|
deferred0_1 = arg1;
|
|
1482
1349
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
1483
1350
|
} finally {
|
|
1484
|
-
wasm.
|
|
1351
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
1485
1352
|
}
|
|
1486
1353
|
};
|
|
1487
1354
|
imports.wbg.__wbg_error_7bc7d576a6aaf855 = function(arg0) {
|
|
1488
|
-
console.error(
|
|
1355
|
+
console.error(arg0);
|
|
1489
1356
|
};
|
|
1490
1357
|
imports.wbg.__wbg_error_e98e6aadd08e0b94 = function(arg0) {
|
|
1491
|
-
const ret =
|
|
1492
|
-
return
|
|
1358
|
+
const ret = arg0.error;
|
|
1359
|
+
return ret;
|
|
1493
1360
|
};
|
|
1494
1361
|
imports.wbg.__wbg_executeBundles_8e6c0614da2805d4 = function(arg0, arg1) {
|
|
1495
|
-
|
|
1362
|
+
arg0.executeBundles(arg1);
|
|
1496
1363
|
};
|
|
1497
1364
|
imports.wbg.__wbg_features_1b464383ea8a7691 = function(arg0) {
|
|
1498
|
-
const ret =
|
|
1499
|
-
return
|
|
1365
|
+
const ret = arg0.features;
|
|
1366
|
+
return ret;
|
|
1500
1367
|
};
|
|
1501
1368
|
imports.wbg.__wbg_features_e5fbbc2760867852 = function(arg0) {
|
|
1502
|
-
const ret =
|
|
1503
|
-
return
|
|
1369
|
+
const ret = arg0.features;
|
|
1370
|
+
return ret;
|
|
1504
1371
|
};
|
|
1505
1372
|
imports.wbg.__wbg_finish_20711371c58df61c = function(arg0) {
|
|
1506
|
-
const ret =
|
|
1507
|
-
return
|
|
1373
|
+
const ret = arg0.finish();
|
|
1374
|
+
return ret;
|
|
1508
1375
|
};
|
|
1509
1376
|
imports.wbg.__wbg_finish_34b2c54329c8719f = function(arg0, arg1) {
|
|
1510
|
-
const ret =
|
|
1511
|
-
return
|
|
1377
|
+
const ret = arg0.finish(arg1);
|
|
1378
|
+
return ret;
|
|
1512
1379
|
};
|
|
1513
1380
|
imports.wbg.__wbg_finish_a9ab917e756ea00c = function(arg0, arg1) {
|
|
1514
|
-
const ret =
|
|
1515
|
-
return
|
|
1381
|
+
const ret = arg0.finish(arg1);
|
|
1382
|
+
return ret;
|
|
1516
1383
|
};
|
|
1517
1384
|
imports.wbg.__wbg_finish_e0a6c97c0622f843 = function(arg0) {
|
|
1518
|
-
const ret =
|
|
1519
|
-
return
|
|
1385
|
+
const ret = arg0.finish();
|
|
1386
|
+
return ret;
|
|
1520
1387
|
};
|
|
1521
1388
|
imports.wbg.__wbg_getBindGroupLayout_4a94df6108ac6667 = function(arg0, arg1) {
|
|
1522
|
-
const ret =
|
|
1523
|
-
return
|
|
1389
|
+
const ret = arg0.getBindGroupLayout(arg1 >>> 0);
|
|
1390
|
+
return ret;
|
|
1524
1391
|
};
|
|
1525
1392
|
imports.wbg.__wbg_getBindGroupLayout_80e803d942962f6a = function(arg0, arg1) {
|
|
1526
|
-
const ret =
|
|
1527
|
-
return
|
|
1393
|
+
const ret = arg0.getBindGroupLayout(arg1 >>> 0);
|
|
1394
|
+
return ret;
|
|
1528
1395
|
};
|
|
1529
1396
|
imports.wbg.__wbg_getCompilationInfo_2af3ecdfeda551a3 = function(arg0) {
|
|
1530
|
-
const ret =
|
|
1531
|
-
return
|
|
1397
|
+
const ret = arg0.getCompilationInfo();
|
|
1398
|
+
return ret;
|
|
1532
1399
|
};
|
|
1533
1400
|
imports.wbg.__wbg_getContext_01f42b234e833f0a = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1534
|
-
const ret =
|
|
1535
|
-
return isLikeNone(ret) ? 0 :
|
|
1401
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
|
|
1402
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1536
1403
|
}, arguments) };
|
|
1537
1404
|
imports.wbg.__wbg_getContext_2f210d0a58d43d95 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1538
|
-
const ret =
|
|
1539
|
-
return isLikeNone(ret) ? 0 :
|
|
1405
|
+
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
|
|
1406
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1540
1407
|
}, arguments) };
|
|
1541
1408
|
imports.wbg.__wbg_getCurrentTexture_5a79cda2ff36e1ee = function(arg0) {
|
|
1542
|
-
const ret =
|
|
1543
|
-
return
|
|
1409
|
+
const ret = arg0.getCurrentTexture();
|
|
1410
|
+
return ret;
|
|
1544
1411
|
};
|
|
1545
1412
|
imports.wbg.__wbg_getMappedRange_932dd043ae22ee0a = function(arg0, arg1, arg2) {
|
|
1546
|
-
const ret =
|
|
1547
|
-
return
|
|
1413
|
+
const ret = arg0.getMappedRange(arg1, arg2);
|
|
1414
|
+
return ret;
|
|
1548
1415
|
};
|
|
1549
1416
|
imports.wbg.__wbg_getPreferredCanvasFormat_de73c02773a5209e = function(arg0) {
|
|
1550
|
-
const ret =
|
|
1417
|
+
const ret = arg0.getPreferredCanvasFormat();
|
|
1551
1418
|
return (__wbindgen_enum_GpuTextureFormat.indexOf(ret) + 1 || 96) - 1;
|
|
1552
1419
|
};
|
|
1553
1420
|
imports.wbg.__wbg_getRandomValues_1c61fac11405ffdc = function() { return handleError(function (arg0, arg1) {
|
|
1554
1421
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1555
1422
|
}, arguments) };
|
|
1556
1423
|
imports.wbg.__wbg_get_6b7bd52aca3f9671 = function(arg0, arg1) {
|
|
1557
|
-
const ret =
|
|
1558
|
-
return
|
|
1424
|
+
const ret = arg0[arg1 >>> 0];
|
|
1425
|
+
return ret;
|
|
1559
1426
|
};
|
|
1560
1427
|
imports.wbg.__wbg_get_af9dab7e9603ea93 = function() { return handleError(function (arg0, arg1) {
|
|
1561
|
-
const ret = Reflect.get(
|
|
1562
|
-
return
|
|
1428
|
+
const ret = Reflect.get(arg0, arg1);
|
|
1429
|
+
return ret;
|
|
1563
1430
|
}, arguments) };
|
|
1564
1431
|
imports.wbg.__wbg_get_c53d381635aa3929 = function(arg0, arg1) {
|
|
1565
|
-
const ret =
|
|
1566
|
-
return isLikeNone(ret) ? 0 :
|
|
1432
|
+
const ret = arg0[arg1 >>> 0];
|
|
1433
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1567
1434
|
};
|
|
1568
1435
|
imports.wbg.__wbg_gpu_87871e8f7ace8fee = function(arg0) {
|
|
1569
|
-
const ret =
|
|
1570
|
-
return
|
|
1436
|
+
const ret = arg0.gpu;
|
|
1437
|
+
return ret;
|
|
1571
1438
|
};
|
|
1572
1439
|
imports.wbg.__wbg_has_624cbf0451d880e8 = function(arg0, arg1, arg2) {
|
|
1573
|
-
const ret =
|
|
1440
|
+
const ret = arg0.has(getStringFromWasm0(arg1, arg2));
|
|
1574
1441
|
return ret;
|
|
1575
1442
|
};
|
|
1576
1443
|
imports.wbg.__wbg_height_a07787f693c253d2 = function(arg0) {
|
|
1577
|
-
const ret =
|
|
1444
|
+
const ret = arg0.height;
|
|
1578
1445
|
return ret;
|
|
1579
1446
|
};
|
|
1580
1447
|
imports.wbg.__wbg_info_ce6bcc489c22f6f0 = function(arg0) {
|
|
1581
|
-
console.info(
|
|
1448
|
+
console.info(arg0);
|
|
1582
1449
|
};
|
|
1583
1450
|
imports.wbg.__wbg_instanceof_GpuAdapter_0731153d2b08720b = function(arg0) {
|
|
1584
1451
|
let result;
|
|
1585
1452
|
try {
|
|
1586
|
-
result =
|
|
1453
|
+
result = arg0 instanceof GPUAdapter;
|
|
1587
1454
|
} catch (_) {
|
|
1588
1455
|
result = false;
|
|
1589
1456
|
}
|
|
@@ -1593,7 +1460,7 @@ function __wbg_get_imports() {
|
|
|
1593
1460
|
imports.wbg.__wbg_instanceof_GpuCanvasContext_d14121c7bd72fcef = function(arg0) {
|
|
1594
1461
|
let result;
|
|
1595
1462
|
try {
|
|
1596
|
-
result =
|
|
1463
|
+
result = arg0 instanceof GPUCanvasContext;
|
|
1597
1464
|
} catch (_) {
|
|
1598
1465
|
result = false;
|
|
1599
1466
|
}
|
|
@@ -1603,7 +1470,7 @@ function __wbg_get_imports() {
|
|
|
1603
1470
|
imports.wbg.__wbg_instanceof_GpuDeviceLostInfo_a3677ebb8241d800 = function(arg0) {
|
|
1604
1471
|
let result;
|
|
1605
1472
|
try {
|
|
1606
|
-
result =
|
|
1473
|
+
result = arg0 instanceof GPUDeviceLostInfo;
|
|
1607
1474
|
} catch (_) {
|
|
1608
1475
|
result = false;
|
|
1609
1476
|
}
|
|
@@ -1613,7 +1480,7 @@ function __wbg_get_imports() {
|
|
|
1613
1480
|
imports.wbg.__wbg_instanceof_GpuOutOfMemoryError_391d9a08edbfa04b = function(arg0) {
|
|
1614
1481
|
let result;
|
|
1615
1482
|
try {
|
|
1616
|
-
result =
|
|
1483
|
+
result = arg0 instanceof GPUOutOfMemoryError;
|
|
1617
1484
|
} catch (_) {
|
|
1618
1485
|
result = false;
|
|
1619
1486
|
}
|
|
@@ -1623,7 +1490,7 @@ function __wbg_get_imports() {
|
|
|
1623
1490
|
imports.wbg.__wbg_instanceof_GpuValidationError_f4d803c383da3c92 = function(arg0) {
|
|
1624
1491
|
let result;
|
|
1625
1492
|
try {
|
|
1626
|
-
result =
|
|
1493
|
+
result = arg0 instanceof GPUValidationError;
|
|
1627
1494
|
} catch (_) {
|
|
1628
1495
|
result = false;
|
|
1629
1496
|
}
|
|
@@ -1633,7 +1500,7 @@ function __wbg_get_imports() {
|
|
|
1633
1500
|
imports.wbg.__wbg_instanceof_Object_577e21051f7bcb79 = function(arg0) {
|
|
1634
1501
|
let result;
|
|
1635
1502
|
try {
|
|
1636
|
-
result =
|
|
1503
|
+
result = arg0 instanceof Object;
|
|
1637
1504
|
} catch (_) {
|
|
1638
1505
|
result = false;
|
|
1639
1506
|
}
|
|
@@ -1643,7 +1510,7 @@ function __wbg_get_imports() {
|
|
|
1643
1510
|
imports.wbg.__wbg_instanceof_Window_b5cf7783caa68180 = function(arg0) {
|
|
1644
1511
|
let result;
|
|
1645
1512
|
try {
|
|
1646
|
-
result =
|
|
1513
|
+
result = arg0 instanceof Window;
|
|
1647
1514
|
} catch (_) {
|
|
1648
1515
|
result = false;
|
|
1649
1516
|
}
|
|
@@ -1651,207 +1518,207 @@ function __wbg_get_imports() {
|
|
|
1651
1518
|
return ret;
|
|
1652
1519
|
};
|
|
1653
1520
|
imports.wbg.__wbg_label_2082ab37d2ad170d = function(arg0, arg1) {
|
|
1654
|
-
const ret =
|
|
1655
|
-
const ptr1 = passStringToWasm0(ret, wasm.
|
|
1521
|
+
const ret = arg1.label;
|
|
1522
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1656
1523
|
const len1 = WASM_VECTOR_LEN;
|
|
1657
1524
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1658
1525
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1659
1526
|
};
|
|
1660
1527
|
imports.wbg.__wbg_length_22ac23eaec9d8053 = function(arg0) {
|
|
1661
|
-
const ret =
|
|
1528
|
+
const ret = arg0.length;
|
|
1662
1529
|
return ret;
|
|
1663
1530
|
};
|
|
1664
1531
|
imports.wbg.__wbg_length_9df32f7add647235 = function(arg0) {
|
|
1665
|
-
const ret =
|
|
1532
|
+
const ret = arg0.length;
|
|
1666
1533
|
return ret;
|
|
1667
1534
|
};
|
|
1668
1535
|
imports.wbg.__wbg_length_d45040a40c570362 = function(arg0) {
|
|
1669
|
-
const ret =
|
|
1536
|
+
const ret = arg0.length;
|
|
1670
1537
|
return ret;
|
|
1671
1538
|
};
|
|
1672
1539
|
imports.wbg.__wbg_limits_2dd632c891786ddf = function(arg0) {
|
|
1673
|
-
const ret =
|
|
1674
|
-
return
|
|
1540
|
+
const ret = arg0.limits;
|
|
1541
|
+
return ret;
|
|
1675
1542
|
};
|
|
1676
1543
|
imports.wbg.__wbg_limits_f6411f884b0b2d62 = function(arg0) {
|
|
1677
|
-
const ret =
|
|
1678
|
-
return
|
|
1544
|
+
const ret = arg0.limits;
|
|
1545
|
+
return ret;
|
|
1679
1546
|
};
|
|
1680
1547
|
imports.wbg.__wbg_lineNum_0246de1e072ffe19 = function(arg0) {
|
|
1681
|
-
const ret =
|
|
1548
|
+
const ret = arg0.lineNum;
|
|
1682
1549
|
return ret;
|
|
1683
1550
|
};
|
|
1684
1551
|
imports.wbg.__wbg_log_1d990106d99dacb7 = function(arg0) {
|
|
1685
|
-
console.log(
|
|
1552
|
+
console.log(arg0);
|
|
1686
1553
|
};
|
|
1687
1554
|
imports.wbg.__wbg_lost_6e4d29847ce2a34a = function(arg0) {
|
|
1688
|
-
const ret =
|
|
1689
|
-
return
|
|
1555
|
+
const ret = arg0.lost;
|
|
1556
|
+
return ret;
|
|
1690
1557
|
};
|
|
1691
1558
|
imports.wbg.__wbg_mapAsync_37f5e03edf2e1352 = function(arg0, arg1, arg2, arg3) {
|
|
1692
|
-
const ret =
|
|
1693
|
-
return
|
|
1559
|
+
const ret = arg0.mapAsync(arg1 >>> 0, arg2, arg3);
|
|
1560
|
+
return ret;
|
|
1694
1561
|
};
|
|
1695
1562
|
imports.wbg.__wbg_maxBindGroups_768ca5e8623bf450 = function(arg0) {
|
|
1696
|
-
const ret =
|
|
1563
|
+
const ret = arg0.maxBindGroups;
|
|
1697
1564
|
return ret;
|
|
1698
1565
|
};
|
|
1699
1566
|
imports.wbg.__wbg_maxBindingsPerBindGroup_057972d600d69719 = function(arg0) {
|
|
1700
|
-
const ret =
|
|
1567
|
+
const ret = arg0.maxBindingsPerBindGroup;
|
|
1701
1568
|
return ret;
|
|
1702
1569
|
};
|
|
1703
1570
|
imports.wbg.__wbg_maxBufferSize_e237b44f19a5a62b = function(arg0) {
|
|
1704
|
-
const ret =
|
|
1571
|
+
const ret = arg0.maxBufferSize;
|
|
1705
1572
|
return ret;
|
|
1706
1573
|
};
|
|
1707
1574
|
imports.wbg.__wbg_maxColorAttachmentBytesPerSample_d6c7b4051d22c6d6 = function(arg0) {
|
|
1708
|
-
const ret =
|
|
1575
|
+
const ret = arg0.maxColorAttachmentBytesPerSample;
|
|
1709
1576
|
return ret;
|
|
1710
1577
|
};
|
|
1711
1578
|
imports.wbg.__wbg_maxColorAttachments_7a18ba24c05edcfd = function(arg0) {
|
|
1712
|
-
const ret =
|
|
1579
|
+
const ret = arg0.maxColorAttachments;
|
|
1713
1580
|
return ret;
|
|
1714
1581
|
};
|
|
1715
1582
|
imports.wbg.__wbg_maxComputeInvocationsPerWorkgroup_b99c2f3611633992 = function(arg0) {
|
|
1716
|
-
const ret =
|
|
1583
|
+
const ret = arg0.maxComputeInvocationsPerWorkgroup;
|
|
1717
1584
|
return ret;
|
|
1718
1585
|
};
|
|
1719
1586
|
imports.wbg.__wbg_maxComputeWorkgroupSizeX_adb26da9ed7f77f7 = function(arg0) {
|
|
1720
|
-
const ret =
|
|
1587
|
+
const ret = arg0.maxComputeWorkgroupSizeX;
|
|
1721
1588
|
return ret;
|
|
1722
1589
|
};
|
|
1723
1590
|
imports.wbg.__wbg_maxComputeWorkgroupSizeY_cc217559c98be33b = function(arg0) {
|
|
1724
|
-
const ret =
|
|
1591
|
+
const ret = arg0.maxComputeWorkgroupSizeY;
|
|
1725
1592
|
return ret;
|
|
1726
1593
|
};
|
|
1727
1594
|
imports.wbg.__wbg_maxComputeWorkgroupSizeZ_66606a80e2cf2309 = function(arg0) {
|
|
1728
|
-
const ret =
|
|
1595
|
+
const ret = arg0.maxComputeWorkgroupSizeZ;
|
|
1729
1596
|
return ret;
|
|
1730
1597
|
};
|
|
1731
1598
|
imports.wbg.__wbg_maxComputeWorkgroupStorageSize_cb6235497b8c4997 = function(arg0) {
|
|
1732
|
-
const ret =
|
|
1599
|
+
const ret = arg0.maxComputeWorkgroupStorageSize;
|
|
1733
1600
|
return ret;
|
|
1734
1601
|
};
|
|
1735
1602
|
imports.wbg.__wbg_maxComputeWorkgroupsPerDimension_6bf550b5f21d57cf = function(arg0) {
|
|
1736
|
-
const ret =
|
|
1603
|
+
const ret = arg0.maxComputeWorkgroupsPerDimension;
|
|
1737
1604
|
return ret;
|
|
1738
1605
|
};
|
|
1739
1606
|
imports.wbg.__wbg_maxDynamicStorageBuffersPerPipelineLayout_c6ac20334e328b47 = function(arg0) {
|
|
1740
|
-
const ret =
|
|
1607
|
+
const ret = arg0.maxDynamicStorageBuffersPerPipelineLayout;
|
|
1741
1608
|
return ret;
|
|
1742
1609
|
};
|
|
1743
1610
|
imports.wbg.__wbg_maxDynamicUniformBuffersPerPipelineLayout_aa8f14a74b440f01 = function(arg0) {
|
|
1744
|
-
const ret =
|
|
1611
|
+
const ret = arg0.maxDynamicUniformBuffersPerPipelineLayout;
|
|
1745
1612
|
return ret;
|
|
1746
1613
|
};
|
|
1747
1614
|
imports.wbg.__wbg_maxSampledTexturesPerShaderStage_db7c4922cc60144a = function(arg0) {
|
|
1748
|
-
const ret =
|
|
1615
|
+
const ret = arg0.maxSampledTexturesPerShaderStage;
|
|
1749
1616
|
return ret;
|
|
1750
1617
|
};
|
|
1751
1618
|
imports.wbg.__wbg_maxSamplersPerShaderStage_538705fe2263e710 = function(arg0) {
|
|
1752
|
-
const ret =
|
|
1619
|
+
const ret = arg0.maxSamplersPerShaderStage;
|
|
1753
1620
|
return ret;
|
|
1754
1621
|
};
|
|
1755
1622
|
imports.wbg.__wbg_maxStorageBufferBindingSize_32178c0f5f7f85cb = function(arg0) {
|
|
1756
|
-
const ret =
|
|
1623
|
+
const ret = arg0.maxStorageBufferBindingSize;
|
|
1757
1624
|
return ret;
|
|
1758
1625
|
};
|
|
1759
1626
|
imports.wbg.__wbg_maxStorageBuffersPerShaderStage_9f67e9eae0089f77 = function(arg0) {
|
|
1760
|
-
const ret =
|
|
1627
|
+
const ret = arg0.maxStorageBuffersPerShaderStage;
|
|
1761
1628
|
return ret;
|
|
1762
1629
|
};
|
|
1763
1630
|
imports.wbg.__wbg_maxStorageTexturesPerShaderStage_57239664936031cf = function(arg0) {
|
|
1764
|
-
const ret =
|
|
1631
|
+
const ret = arg0.maxStorageTexturesPerShaderStage;
|
|
1765
1632
|
return ret;
|
|
1766
1633
|
};
|
|
1767
1634
|
imports.wbg.__wbg_maxTextureArrayLayers_db5d4e486c78ae04 = function(arg0) {
|
|
1768
|
-
const ret =
|
|
1635
|
+
const ret = arg0.maxTextureArrayLayers;
|
|
1769
1636
|
return ret;
|
|
1770
1637
|
};
|
|
1771
1638
|
imports.wbg.__wbg_maxTextureDimension1D_3475085ffacabbdc = function(arg0) {
|
|
1772
|
-
const ret =
|
|
1639
|
+
const ret = arg0.maxTextureDimension1D;
|
|
1773
1640
|
return ret;
|
|
1774
1641
|
};
|
|
1775
1642
|
imports.wbg.__wbg_maxTextureDimension2D_7c8d5ecf09eb8519 = function(arg0) {
|
|
1776
|
-
const ret =
|
|
1643
|
+
const ret = arg0.maxTextureDimension2D;
|
|
1777
1644
|
return ret;
|
|
1778
1645
|
};
|
|
1779
1646
|
imports.wbg.__wbg_maxTextureDimension3D_8bd976677a0f91d4 = function(arg0) {
|
|
1780
|
-
const ret =
|
|
1647
|
+
const ret = arg0.maxTextureDimension3D;
|
|
1781
1648
|
return ret;
|
|
1782
1649
|
};
|
|
1783
1650
|
imports.wbg.__wbg_maxUniformBufferBindingSize_95b1a54e7e4a0f0f = function(arg0) {
|
|
1784
|
-
const ret =
|
|
1651
|
+
const ret = arg0.maxUniformBufferBindingSize;
|
|
1785
1652
|
return ret;
|
|
1786
1653
|
};
|
|
1787
1654
|
imports.wbg.__wbg_maxUniformBuffersPerShaderStage_5f475d9a453af14d = function(arg0) {
|
|
1788
|
-
const ret =
|
|
1655
|
+
const ret = arg0.maxUniformBuffersPerShaderStage;
|
|
1789
1656
|
return ret;
|
|
1790
1657
|
};
|
|
1791
1658
|
imports.wbg.__wbg_maxVertexAttributes_4c48ca2f5d32f860 = function(arg0) {
|
|
1792
|
-
const ret =
|
|
1659
|
+
const ret = arg0.maxVertexAttributes;
|
|
1793
1660
|
return ret;
|
|
1794
1661
|
};
|
|
1795
1662
|
imports.wbg.__wbg_maxVertexBufferArrayStride_2233f6933ecc5a16 = function(arg0) {
|
|
1796
|
-
const ret =
|
|
1663
|
+
const ret = arg0.maxVertexBufferArrayStride;
|
|
1797
1664
|
return ret;
|
|
1798
1665
|
};
|
|
1799
1666
|
imports.wbg.__wbg_maxVertexBuffers_c47e508cd7348554 = function(arg0) {
|
|
1800
|
-
const ret =
|
|
1667
|
+
const ret = arg0.maxVertexBuffers;
|
|
1801
1668
|
return ret;
|
|
1802
1669
|
};
|
|
1803
1670
|
imports.wbg.__wbg_message_0762358e59db7ed6 = function(arg0, arg1) {
|
|
1804
|
-
const ret =
|
|
1805
|
-
const ptr1 = passStringToWasm0(ret, wasm.
|
|
1671
|
+
const ret = arg1.message;
|
|
1672
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1806
1673
|
const len1 = WASM_VECTOR_LEN;
|
|
1807
1674
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1808
1675
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1809
1676
|
};
|
|
1810
1677
|
imports.wbg.__wbg_message_7957ab09f64c6822 = function(arg0, arg1) {
|
|
1811
|
-
const ret =
|
|
1812
|
-
const ptr1 = passStringToWasm0(ret, wasm.
|
|
1678
|
+
const ret = arg1.message;
|
|
1679
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1813
1680
|
const len1 = WASM_VECTOR_LEN;
|
|
1814
1681
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1815
1682
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1816
1683
|
};
|
|
1817
1684
|
imports.wbg.__wbg_message_b163994503433c9e = function(arg0, arg1) {
|
|
1818
|
-
const ret =
|
|
1819
|
-
const ptr1 = passStringToWasm0(ret, wasm.
|
|
1685
|
+
const ret = arg1.message;
|
|
1686
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1820
1687
|
const len1 = WASM_VECTOR_LEN;
|
|
1821
1688
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1822
1689
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1823
1690
|
};
|
|
1824
1691
|
imports.wbg.__wbg_messages_da071582f72bc978 = function(arg0) {
|
|
1825
|
-
const ret =
|
|
1826
|
-
return
|
|
1692
|
+
const ret = arg0.messages;
|
|
1693
|
+
return ret;
|
|
1827
1694
|
};
|
|
1828
1695
|
imports.wbg.__wbg_minStorageBufferOffsetAlignment_51b4801fac3a58de = function(arg0) {
|
|
1829
|
-
const ret =
|
|
1696
|
+
const ret = arg0.minStorageBufferOffsetAlignment;
|
|
1830
1697
|
return ret;
|
|
1831
1698
|
};
|
|
1832
1699
|
imports.wbg.__wbg_minUniformBufferOffsetAlignment_5d62a77924b2335f = function(arg0) {
|
|
1833
|
-
const ret =
|
|
1700
|
+
const ret = arg0.minUniformBufferOffsetAlignment;
|
|
1834
1701
|
return ret;
|
|
1835
1702
|
};
|
|
1836
1703
|
imports.wbg.__wbg_navigator_11b7299bb7886507 = function(arg0) {
|
|
1837
|
-
const ret =
|
|
1838
|
-
return
|
|
1704
|
+
const ret = arg0.navigator;
|
|
1705
|
+
return ret;
|
|
1839
1706
|
};
|
|
1840
1707
|
imports.wbg.__wbg_navigator_b49edef831236138 = function(arg0) {
|
|
1841
|
-
const ret =
|
|
1842
|
-
return
|
|
1708
|
+
const ret = arg0.navigator;
|
|
1709
|
+
return ret;
|
|
1843
1710
|
};
|
|
1844
1711
|
imports.wbg.__wbg_new_1ba21ce319a06297 = function() {
|
|
1845
1712
|
const ret = new Object();
|
|
1846
|
-
return
|
|
1713
|
+
return ret;
|
|
1847
1714
|
};
|
|
1848
1715
|
imports.wbg.__wbg_new_25f239778d6112b9 = function() {
|
|
1849
1716
|
const ret = new Array();
|
|
1850
|
-
return
|
|
1717
|
+
return ret;
|
|
1851
1718
|
};
|
|
1852
1719
|
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
1853
1720
|
const ret = new Error();
|
|
1854
|
-
return
|
|
1721
|
+
return ret;
|
|
1855
1722
|
};
|
|
1856
1723
|
imports.wbg.__wbg_new_ff12d2b041fb48f1 = function(arg0, arg1) {
|
|
1857
1724
|
try {
|
|
@@ -1860,211 +1727,211 @@ function __wbg_get_imports() {
|
|
|
1860
1727
|
const a = state0.a;
|
|
1861
1728
|
state0.a = 0;
|
|
1862
1729
|
try {
|
|
1863
|
-
return
|
|
1730
|
+
return wasm_bindgen__convert__closures_____invoke__h12a8c25a05856851(a, state0.b, arg0, arg1);
|
|
1864
1731
|
} finally {
|
|
1865
1732
|
state0.a = a;
|
|
1866
1733
|
}
|
|
1867
1734
|
};
|
|
1868
1735
|
const ret = new Promise(cb0);
|
|
1869
|
-
return
|
|
1736
|
+
return ret;
|
|
1870
1737
|
} finally {
|
|
1871
1738
|
state0.a = state0.b = 0;
|
|
1872
1739
|
}
|
|
1873
1740
|
};
|
|
1874
1741
|
imports.wbg.__wbg_new_from_slice_f9c22b9153b26992 = function(arg0, arg1) {
|
|
1875
1742
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1876
|
-
return
|
|
1743
|
+
return ret;
|
|
1877
1744
|
};
|
|
1878
1745
|
imports.wbg.__wbg_new_no_args_cb138f77cf6151ee = function(arg0, arg1) {
|
|
1879
1746
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1880
|
-
return
|
|
1747
|
+
return ret;
|
|
1881
1748
|
};
|
|
1882
1749
|
imports.wbg.__wbg_new_with_byte_offset_and_length_d85c3da1fd8df149 = function(arg0, arg1, arg2) {
|
|
1883
|
-
const ret = new Uint8Array(
|
|
1884
|
-
return
|
|
1750
|
+
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1751
|
+
return ret;
|
|
1885
1752
|
};
|
|
1886
1753
|
imports.wbg.__wbg_now_8cf15d6e317793e1 = function(arg0) {
|
|
1887
|
-
const ret =
|
|
1754
|
+
const ret = arg0.now();
|
|
1888
1755
|
return ret;
|
|
1889
1756
|
};
|
|
1890
1757
|
imports.wbg.__wbg_offset_336f14c993863b76 = function(arg0) {
|
|
1891
|
-
const ret =
|
|
1758
|
+
const ret = arg0.offset;
|
|
1892
1759
|
return ret;
|
|
1893
1760
|
};
|
|
1894
1761
|
imports.wbg.__wbg_performance_c77a440eff2efd9b = function(arg0) {
|
|
1895
|
-
const ret =
|
|
1896
|
-
return isLikeNone(ret) ? 0 :
|
|
1762
|
+
const ret = arg0.performance;
|
|
1763
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1897
1764
|
};
|
|
1898
1765
|
imports.wbg.__wbg_popErrorScope_af0b22f136a861d6 = function(arg0) {
|
|
1899
|
-
const ret =
|
|
1900
|
-
return
|
|
1766
|
+
const ret = arg0.popErrorScope();
|
|
1767
|
+
return ret;
|
|
1901
1768
|
};
|
|
1902
1769
|
imports.wbg.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(arg0, arg1, arg2) {
|
|
1903
|
-
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1),
|
|
1770
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1904
1771
|
};
|
|
1905
1772
|
imports.wbg.__wbg_pushErrorScope_b52914ff10ba6ce3 = function(arg0, arg1) {
|
|
1906
|
-
|
|
1773
|
+
arg0.pushErrorScope(__wbindgen_enum_GpuErrorFilter[arg1]);
|
|
1907
1774
|
};
|
|
1908
1775
|
imports.wbg.__wbg_push_7d9be8f38fc13975 = function(arg0, arg1) {
|
|
1909
|
-
const ret =
|
|
1776
|
+
const ret = arg0.push(arg1);
|
|
1910
1777
|
return ret;
|
|
1911
1778
|
};
|
|
1912
1779
|
imports.wbg.__wbg_querySelectorAll_aa1048eae18f6f1a = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1913
|
-
const ret =
|
|
1914
|
-
return
|
|
1780
|
+
const ret = arg0.querySelectorAll(getStringFromWasm0(arg1, arg2));
|
|
1781
|
+
return ret;
|
|
1915
1782
|
}, arguments) };
|
|
1916
1783
|
imports.wbg.__wbg_queueMicrotask_9b549dfce8865860 = function(arg0) {
|
|
1917
|
-
const ret =
|
|
1918
|
-
return
|
|
1784
|
+
const ret = arg0.queueMicrotask;
|
|
1785
|
+
return ret;
|
|
1919
1786
|
};
|
|
1920
1787
|
imports.wbg.__wbg_queueMicrotask_fca69f5bfad613a5 = function(arg0) {
|
|
1921
|
-
queueMicrotask(
|
|
1788
|
+
queueMicrotask(arg0);
|
|
1922
1789
|
};
|
|
1923
1790
|
imports.wbg.__wbg_queue_bea4017efaaf9904 = function(arg0) {
|
|
1924
|
-
const ret =
|
|
1925
|
-
return
|
|
1791
|
+
const ret = arg0.queue;
|
|
1792
|
+
return ret;
|
|
1926
1793
|
};
|
|
1927
1794
|
imports.wbg.__wbg_reason_43acd39cce242b50 = function(arg0) {
|
|
1928
|
-
const ret =
|
|
1795
|
+
const ret = arg0.reason;
|
|
1929
1796
|
return (__wbindgen_enum_GpuDeviceLostReason.indexOf(ret) + 1 || 3) - 1;
|
|
1930
1797
|
};
|
|
1931
1798
|
imports.wbg.__wbg_requestAdapter_e6dcfac497cafa7a = function(arg0, arg1) {
|
|
1932
|
-
const ret =
|
|
1933
|
-
return
|
|
1799
|
+
const ret = arg0.requestAdapter(arg1);
|
|
1800
|
+
return ret;
|
|
1934
1801
|
};
|
|
1935
1802
|
imports.wbg.__wbg_requestDevice_03b802707d5a382c = function(arg0, arg1) {
|
|
1936
|
-
const ret =
|
|
1937
|
-
return
|
|
1803
|
+
const ret = arg0.requestDevice(arg1);
|
|
1804
|
+
return ret;
|
|
1938
1805
|
};
|
|
1939
1806
|
imports.wbg.__wbg_resolveQuerySet_811661fb23f3b699 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1940
|
-
|
|
1807
|
+
arg0.resolveQuerySet(arg1, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
|
|
1941
1808
|
};
|
|
1942
1809
|
imports.wbg.__wbg_resolve_fd5bfbaa4ce36e1e = function(arg0) {
|
|
1943
|
-
const ret = Promise.resolve(
|
|
1944
|
-
return
|
|
1810
|
+
const ret = Promise.resolve(arg0);
|
|
1811
|
+
return ret;
|
|
1945
1812
|
};
|
|
1946
1813
|
imports.wbg.__wbg_setBindGroup_62a3045b0921e429 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1947
|
-
|
|
1814
|
+
arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
1948
1815
|
};
|
|
1949
1816
|
imports.wbg.__wbg_setBindGroup_6c0fd18e9a53a945 = function(arg0, arg1, arg2) {
|
|
1950
|
-
|
|
1817
|
+
arg0.setBindGroup(arg1 >>> 0, arg2);
|
|
1951
1818
|
};
|
|
1952
1819
|
imports.wbg.__wbg_setBindGroup_7f3b61f1f482133b = function(arg0, arg1, arg2) {
|
|
1953
|
-
|
|
1820
|
+
arg0.setBindGroup(arg1 >>> 0, arg2);
|
|
1954
1821
|
};
|
|
1955
1822
|
imports.wbg.__wbg_setBindGroup_bf767a5aa46a33ce = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1956
|
-
|
|
1823
|
+
arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
1957
1824
|
};
|
|
1958
1825
|
imports.wbg.__wbg_setBindGroup_c4aaff14063226b4 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1959
|
-
|
|
1826
|
+
arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
1960
1827
|
};
|
|
1961
1828
|
imports.wbg.__wbg_setBindGroup_f82e771dc1b69093 = function(arg0, arg1, arg2) {
|
|
1962
|
-
|
|
1829
|
+
arg0.setBindGroup(arg1 >>> 0, arg2);
|
|
1963
1830
|
};
|
|
1964
1831
|
imports.wbg.__wbg_setBlendConstant_016723821cfb3aa4 = function(arg0, arg1) {
|
|
1965
|
-
|
|
1832
|
+
arg0.setBlendConstant(arg1);
|
|
1966
1833
|
};
|
|
1967
1834
|
imports.wbg.__wbg_setIndexBuffer_286a40afdff411b7 = function(arg0, arg1, arg2, arg3) {
|
|
1968
|
-
|
|
1835
|
+
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3);
|
|
1969
1836
|
};
|
|
1970
1837
|
imports.wbg.__wbg_setIndexBuffer_7efd0b7a40c65fb9 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1971
|
-
|
|
1838
|
+
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
|
|
1972
1839
|
};
|
|
1973
1840
|
imports.wbg.__wbg_setIndexBuffer_e091a9673bb575e2 = function(arg0, arg1, arg2, arg3) {
|
|
1974
|
-
|
|
1841
|
+
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3);
|
|
1975
1842
|
};
|
|
1976
1843
|
imports.wbg.__wbg_setIndexBuffer_f0759f00036f615f = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1977
|
-
|
|
1844
|
+
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
|
|
1978
1845
|
};
|
|
1979
1846
|
imports.wbg.__wbg_setPipeline_ba92070b8ee81cf9 = function(arg0, arg1) {
|
|
1980
|
-
|
|
1847
|
+
arg0.setPipeline(arg1);
|
|
1981
1848
|
};
|
|
1982
1849
|
imports.wbg.__wbg_setPipeline_c344f76bae58c4d6 = function(arg0, arg1) {
|
|
1983
|
-
|
|
1850
|
+
arg0.setPipeline(arg1);
|
|
1984
1851
|
};
|
|
1985
1852
|
imports.wbg.__wbg_setPipeline_d76451c50a121598 = function(arg0, arg1) {
|
|
1986
|
-
|
|
1853
|
+
arg0.setPipeline(arg1);
|
|
1987
1854
|
};
|
|
1988
1855
|
imports.wbg.__wbg_setScissorRect_0b6ee0852ef0b6b9 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1989
|
-
|
|
1856
|
+
arg0.setScissorRect(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
1990
1857
|
};
|
|
1991
1858
|
imports.wbg.__wbg_setStencilReference_34fd3d59673a5a9d = function(arg0, arg1) {
|
|
1992
|
-
|
|
1859
|
+
arg0.setStencilReference(arg1 >>> 0);
|
|
1993
1860
|
};
|
|
1994
1861
|
imports.wbg.__wbg_setVertexBuffer_06a90dc78e1ad9c4 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1995
|
-
|
|
1862
|
+
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3, arg4);
|
|
1996
1863
|
};
|
|
1997
1864
|
imports.wbg.__wbg_setVertexBuffer_1540e9118b6c451d = function(arg0, arg1, arg2, arg3) {
|
|
1998
|
-
|
|
1865
|
+
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3);
|
|
1999
1866
|
};
|
|
2000
1867
|
imports.wbg.__wbg_setVertexBuffer_5166eedc06450701 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
2001
|
-
|
|
1868
|
+
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3, arg4);
|
|
2002
1869
|
};
|
|
2003
1870
|
imports.wbg.__wbg_setVertexBuffer_8621784e5014065b = function(arg0, arg1, arg2, arg3) {
|
|
2004
|
-
|
|
1871
|
+
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3);
|
|
2005
1872
|
};
|
|
2006
1873
|
imports.wbg.__wbg_setViewport_731ad30abb13f744 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2007
|
-
|
|
1874
|
+
arg0.setViewport(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
2008
1875
|
};
|
|
2009
1876
|
imports.wbg.__wbg_set_781438a03c0c3c81 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2010
|
-
const ret = Reflect.set(
|
|
1877
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
2011
1878
|
return ret;
|
|
2012
1879
|
}, arguments) };
|
|
2013
1880
|
imports.wbg.__wbg_set_bc3a432bdcd60886 = function(arg0, arg1, arg2) {
|
|
2014
|
-
|
|
1881
|
+
arg0.set(arg1, arg2 >>> 0);
|
|
2015
1882
|
};
|
|
2016
1883
|
imports.wbg.__wbg_set_height_6f8f8ef4cb40e496 = function(arg0, arg1) {
|
|
2017
|
-
|
|
1884
|
+
arg0.height = arg1 >>> 0;
|
|
2018
1885
|
};
|
|
2019
1886
|
imports.wbg.__wbg_set_height_afe09c24165867f7 = function(arg0, arg1) {
|
|
2020
|
-
|
|
1887
|
+
arg0.height = arg1 >>> 0;
|
|
2021
1888
|
};
|
|
2022
1889
|
imports.wbg.__wbg_set_onuncapturederror_19541466822d790b = function(arg0, arg1) {
|
|
2023
|
-
|
|
1890
|
+
arg0.onuncapturederror = arg1;
|
|
2024
1891
|
};
|
|
2025
1892
|
imports.wbg.__wbg_set_width_0a22c810f06a5152 = function(arg0, arg1) {
|
|
2026
|
-
|
|
1893
|
+
arg0.width = arg1 >>> 0;
|
|
2027
1894
|
};
|
|
2028
1895
|
imports.wbg.__wbg_set_width_7ff7a22c6e9f423e = function(arg0, arg1) {
|
|
2029
|
-
|
|
1896
|
+
arg0.width = arg1 >>> 0;
|
|
2030
1897
|
};
|
|
2031
1898
|
imports.wbg.__wbg_size_661bddb3f9898121 = function(arg0) {
|
|
2032
|
-
const ret =
|
|
1899
|
+
const ret = arg0.size;
|
|
2033
1900
|
return ret;
|
|
2034
1901
|
};
|
|
2035
1902
|
imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
|
2036
|
-
const ret =
|
|
2037
|
-
const ptr1 = passStringToWasm0(ret, wasm.
|
|
1903
|
+
const ret = arg1.stack;
|
|
1904
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2038
1905
|
const len1 = WASM_VECTOR_LEN;
|
|
2039
1906
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2040
1907
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2041
1908
|
};
|
|
2042
1909
|
imports.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335 = function() {
|
|
2043
1910
|
const ret = typeof global === 'undefined' ? null : global;
|
|
2044
|
-
return isLikeNone(ret) ? 0 :
|
|
1911
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2045
1912
|
};
|
|
2046
1913
|
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1 = function() {
|
|
2047
1914
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
2048
|
-
return isLikeNone(ret) ? 0 :
|
|
1915
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2049
1916
|
};
|
|
2050
1917
|
imports.wbg.__wbg_static_accessor_SELF_08f5a74c69739274 = function() {
|
|
2051
1918
|
const ret = typeof self === 'undefined' ? null : self;
|
|
2052
|
-
return isLikeNone(ret) ? 0 :
|
|
1919
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2053
1920
|
};
|
|
2054
1921
|
imports.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024 = function() {
|
|
2055
1922
|
const ret = typeof window === 'undefined' ? null : window;
|
|
2056
|
-
return isLikeNone(ret) ? 0 :
|
|
1923
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2057
1924
|
};
|
|
2058
1925
|
imports.wbg.__wbg_submit_f635072bb3d05faa = function(arg0, arg1) {
|
|
2059
|
-
|
|
1926
|
+
arg0.submit(arg1);
|
|
2060
1927
|
};
|
|
2061
1928
|
imports.wbg.__wbg_then_429f7caf1026411d = function(arg0, arg1, arg2) {
|
|
2062
|
-
const ret =
|
|
2063
|
-
return
|
|
1929
|
+
const ret = arg0.then(arg1, arg2);
|
|
1930
|
+
return ret;
|
|
2064
1931
|
};
|
|
2065
1932
|
imports.wbg.__wbg_then_4f95312d68691235 = function(arg0, arg1) {
|
|
2066
|
-
const ret =
|
|
2067
|
-
return
|
|
1933
|
+
const ret = arg0.then(arg1);
|
|
1934
|
+
return ret;
|
|
2068
1935
|
};
|
|
2069
1936
|
imports.wbg.__wbg_timeEnd_46ed224117e5f2d2 = function(arg0, arg1) {
|
|
2070
1937
|
console.timeEnd(getStringFromWasm0(arg0, arg1));
|
|
@@ -2073,68 +1940,70 @@ function __wbg_get_imports() {
|
|
|
2073
1940
|
console.time(getStringFromWasm0(arg0, arg1));
|
|
2074
1941
|
};
|
|
2075
1942
|
imports.wbg.__wbg_type_c0d5d83032e9858a = function(arg0) {
|
|
2076
|
-
const ret =
|
|
1943
|
+
const ret = arg0.type;
|
|
2077
1944
|
return (__wbindgen_enum_GpuCompilationMessageType.indexOf(ret) + 1 || 4) - 1;
|
|
2078
1945
|
};
|
|
2079
1946
|
imports.wbg.__wbg_unmap_8c2e8131b2aaa844 = function(arg0) {
|
|
2080
|
-
|
|
1947
|
+
arg0.unmap();
|
|
2081
1948
|
};
|
|
2082
1949
|
imports.wbg.__wbg_usage_13caa02888040e9f = function(arg0) {
|
|
2083
|
-
const ret =
|
|
1950
|
+
const ret = arg0.usage;
|
|
2084
1951
|
return ret;
|
|
2085
1952
|
};
|
|
2086
1953
|
imports.wbg.__wbg_valueOf_663ea9f1ad0d6eda = function(arg0) {
|
|
2087
|
-
const ret =
|
|
2088
|
-
return
|
|
1954
|
+
const ret = arg0.valueOf();
|
|
1955
|
+
return ret;
|
|
2089
1956
|
};
|
|
2090
1957
|
imports.wbg.__wbg_warn_6e567d0d926ff881 = function(arg0) {
|
|
2091
|
-
console.warn(
|
|
1958
|
+
console.warn(arg0);
|
|
2092
1959
|
};
|
|
2093
1960
|
imports.wbg.__wbg_wasmvisualiser_new = function(arg0) {
|
|
2094
1961
|
const ret = WasmVisualiser.__wrap(arg0);
|
|
2095
|
-
return
|
|
1962
|
+
return ret;
|
|
2096
1963
|
};
|
|
2097
1964
|
imports.wbg.__wbg_width_dd0cfe94d42f5143 = function(arg0) {
|
|
2098
|
-
const ret =
|
|
1965
|
+
const ret = arg0.width;
|
|
2099
1966
|
return ret;
|
|
2100
1967
|
};
|
|
2101
1968
|
imports.wbg.__wbg_writeBuffer_5ca4981365eb5ac0 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2102
|
-
|
|
1969
|
+
arg0.writeBuffer(arg1, arg2, arg3, arg4, arg5);
|
|
2103
1970
|
};
|
|
2104
1971
|
imports.wbg.__wbg_writeTexture_246118eb2f5a1592 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
2105
|
-
|
|
1972
|
+
arg0.writeTexture(arg1, arg2, arg3, arg4);
|
|
1973
|
+
};
|
|
1974
|
+
imports.wbg.__wbindgen_cast_0221ec6d66a3f352 = function(arg0, arg1) {
|
|
1975
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 3566, function: Function { arguments: [Externref], shim_idx: 3567, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1976
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hff2bb8e37b7072b2, wasm_bindgen__convert__closures_____invoke__hd456749e88b4d731);
|
|
1977
|
+
return ret;
|
|
2106
1978
|
};
|
|
2107
1979
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
2108
1980
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
2109
1981
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
2110
|
-
return
|
|
2111
|
-
};
|
|
2112
|
-
imports.wbg.__wbindgen_cast_4131bd36079921a0 = function(arg0, arg1) {
|
|
2113
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 2988, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 2989, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2114
|
-
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_10192, __wasm_bindgen_func_elem_10256);
|
|
2115
|
-
return addHeapObject(ret);
|
|
1982
|
+
return ret;
|
|
2116
1983
|
};
|
|
2117
|
-
imports.wbg.
|
|
2118
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
2119
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
2120
|
-
return
|
|
1984
|
+
imports.wbg.__wbindgen_cast_c44a5660b7156246 = function(arg0, arg1) {
|
|
1985
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 3557, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 3558, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1986
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h6518d8d5fffe1051, wasm_bindgen__convert__closures_____invoke__h09705603bb35b975);
|
|
1987
|
+
return ret;
|
|
2121
1988
|
};
|
|
2122
1989
|
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
2123
1990
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
2124
1991
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
2125
|
-
return
|
|
1992
|
+
return ret;
|
|
2126
1993
|
};
|
|
2127
1994
|
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
2128
1995
|
// Cast intrinsic for `F64 -> Externref`.
|
|
2129
1996
|
const ret = arg0;
|
|
2130
|
-
return
|
|
2131
|
-
};
|
|
2132
|
-
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
|
|
2133
|
-
const ret = getObject(arg0);
|
|
2134
|
-
return addHeapObject(ret);
|
|
1997
|
+
return ret;
|
|
2135
1998
|
};
|
|
2136
|
-
imports.wbg.
|
|
2137
|
-
|
|
1999
|
+
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
2000
|
+
const table = wasm.__wbindgen_externrefs;
|
|
2001
|
+
const offset = table.grow(4);
|
|
2002
|
+
table.set(0, undefined);
|
|
2003
|
+
table.set(offset + 0, undefined);
|
|
2004
|
+
table.set(offset + 1, null);
|
|
2005
|
+
table.set(offset + 2, true);
|
|
2006
|
+
table.set(offset + 3, false);
|
|
2138
2007
|
};
|
|
2139
2008
|
|
|
2140
2009
|
return imports;
|
|
@@ -2149,7 +2018,7 @@ function __wbg_finalize_init(instance, module) {
|
|
|
2149
2018
|
cachedUint8ArrayMemory0 = null;
|
|
2150
2019
|
|
|
2151
2020
|
|
|
2152
|
-
|
|
2021
|
+
wasm.__wbindgen_start();
|
|
2153
2022
|
return wasm;
|
|
2154
2023
|
}
|
|
2155
2024
|
|