flbrowser-core 0.1.0

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.
@@ -0,0 +1,1538 @@
1
+ /* @ts-self-types="./flbrowser_core.d.ts" */
2
+
3
+ /**
4
+ * Main DaNode interface for browser
5
+ */
6
+ export class DaNode {
7
+ static __wrap(ptr) {
8
+ ptr = ptr >>> 0;
9
+ const obj = Object.create(DaNode.prototype);
10
+ obj.__wbg_ptr = ptr;
11
+ DaNodeFinalization.register(obj, obj.__wbg_ptr, obj);
12
+ return obj;
13
+ }
14
+ __destroy_into_raw() {
15
+ const ptr = this.__wbg_ptr;
16
+ this.__wbg_ptr = 0;
17
+ DaNodeFinalization.unregister(this);
18
+ return ptr;
19
+ }
20
+ free() {
21
+ const ptr = this.__destroy_into_raw();
22
+ wasm.__wbg_danode_free(ptr, 0);
23
+ }
24
+ /**
25
+ * Add an event listener callback
26
+ * The callback will be called with events in the format: { type: string, data: any }
27
+ * Returns a ListenerId that can be used to remove this specific listener
28
+ * @param {Function} callback
29
+ * @returns {ListenerId}
30
+ */
31
+ add_event_listener(callback) {
32
+ const ret = wasm.danode_add_event_listener(this.__wbg_ptr, callback);
33
+ if (ret[2]) {
34
+ throw takeFromExternrefTable0(ret[1]);
35
+ }
36
+ return ListenerId.__wrap(ret[0]);
37
+ }
38
+ /**
39
+ * @param {NetConf} cfg
40
+ * @returns {Promise<DaNode>}
41
+ */
42
+ static from_config(cfg) {
43
+ _assertClass(cfg, NetConf);
44
+ var ptr0 = cfg.__destroy_into_raw();
45
+ const ret = wasm.danode_from_config(ptr0);
46
+ return ret;
47
+ }
48
+ /**
49
+ * Create a new DaNode instance
50
+ * @returns {Promise<DaNode>}
51
+ */
52
+ static from_default() {
53
+ const ret = wasm.danode_from_default();
54
+ return ret;
55
+ }
56
+ /**
57
+ * @param {RealmID} id
58
+ * @returns {Promise<DaRealm>}
59
+ */
60
+ get_realm(id) {
61
+ _assertClass(id, RealmID);
62
+ var ptr0 = id.__destroy_into_raw();
63
+ const ret = wasm.danode_get_realm(this.__wbg_ptr, ptr0);
64
+ return ret;
65
+ }
66
+ /**
67
+ * Get basic statistics
68
+ * @returns {any}
69
+ */
70
+ get_stats() {
71
+ const ret = wasm.danode_get_stats(this.__wbg_ptr);
72
+ return ret;
73
+ }
74
+ /**
75
+ * Remove a specific event listener by its ID
76
+ * @param {ListenerId} listener_id
77
+ */
78
+ remove_event_listener(listener_id) {
79
+ _assertClass(listener_id, ListenerId);
80
+ var ptr0 = listener_id.__destroy_into_raw();
81
+ const ret = wasm.danode_remove_event_listener(this.__wbg_ptr, ptr0);
82
+ if (ret[1]) {
83
+ throw takeFromExternrefTable0(ret[0]);
84
+ }
85
+ }
86
+ /**
87
+ * @returns {Promise<void>}
88
+ */
89
+ sync() {
90
+ const ret = wasm.danode_sync(this.__wbg_ptr);
91
+ return ret;
92
+ }
93
+ }
94
+ if (Symbol.dispose) DaNode.prototype[Symbol.dispose] = DaNode.prototype.free;
95
+
96
+ export class DaRealm {
97
+ static __wrap(ptr) {
98
+ ptr = ptr >>> 0;
99
+ const obj = Object.create(DaRealm.prototype);
100
+ obj.__wbg_ptr = ptr;
101
+ DaRealmFinalization.register(obj, obj.__wbg_ptr, obj);
102
+ return obj;
103
+ }
104
+ __destroy_into_raw() {
105
+ const ptr = this.__wbg_ptr;
106
+ this.__wbg_ptr = 0;
107
+ DaRealmFinalization.unregister(this);
108
+ return ptr;
109
+ }
110
+ free() {
111
+ const ptr = this.__destroy_into_raw();
112
+ wasm.__wbg_darealm_free(ptr, 0);
113
+ }
114
+ /**
115
+ * @param {string} path
116
+ * @returns {string}
117
+ */
118
+ get_path(path) {
119
+ let deferred3_0;
120
+ let deferred3_1;
121
+ try {
122
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
123
+ const len0 = WASM_VECTOR_LEN;
124
+ const ret = wasm.darealm_get_path(this.__wbg_ptr, ptr0, len0);
125
+ var ptr2 = ret[0];
126
+ var len2 = ret[1];
127
+ if (ret[3]) {
128
+ ptr2 = 0; len2 = 0;
129
+ throw takeFromExternrefTable0(ret[2]);
130
+ }
131
+ deferred3_0 = ptr2;
132
+ deferred3_1 = len2;
133
+ return getStringFromWasm0(ptr2, len2);
134
+ } finally {
135
+ wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
136
+ }
137
+ }
138
+ /**
139
+ * @param {string} path
140
+ * @param {string} data
141
+ * @returns {Uint8Array}
142
+ */
143
+ get_path_data(path, data) {
144
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
145
+ const len0 = WASM_VECTOR_LEN;
146
+ const ptr1 = passStringToWasm0(data, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
147
+ const len1 = WASM_VECTOR_LEN;
148
+ const ret = wasm.darealm_get_path_data(this.__wbg_ptr, ptr0, len0, ptr1, len1);
149
+ if (ret[3]) {
150
+ throw takeFromExternrefTable0(ret[2]);
151
+ }
152
+ var v3 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
153
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
154
+ return v3;
155
+ }
156
+ }
157
+ if (Symbol.dispose) DaRealm.prototype[Symbol.dispose] = DaRealm.prototype.free;
158
+
159
+ export class FloID {
160
+ static __wrap(ptr) {
161
+ ptr = ptr >>> 0;
162
+ const obj = Object.create(FloID.prototype);
163
+ obj.__wbg_ptr = ptr;
164
+ FloIDFinalization.register(obj, obj.__wbg_ptr, obj);
165
+ return obj;
166
+ }
167
+ __destroy_into_raw() {
168
+ const ptr = this.__wbg_ptr;
169
+ this.__wbg_ptr = 0;
170
+ FloIDFinalization.unregister(this);
171
+ return ptr;
172
+ }
173
+ free() {
174
+ const ptr = this.__destroy_into_raw();
175
+ wasm.__wbg_floid_free(ptr, 0);
176
+ }
177
+ /**
178
+ * @returns {string}
179
+ */
180
+ toString() {
181
+ let deferred1_0;
182
+ let deferred1_1;
183
+ try {
184
+ const ret = wasm.floid_toString(this.__wbg_ptr);
185
+ deferred1_0 = ret[0];
186
+ deferred1_1 = ret[1];
187
+ return getStringFromWasm0(ret[0], ret[1]);
188
+ } finally {
189
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
190
+ }
191
+ }
192
+ }
193
+ if (Symbol.dispose) FloID.prototype[Symbol.dispose] = FloID.prototype.free;
194
+
195
+ export class IntoUnderlyingByteSource {
196
+ __destroy_into_raw() {
197
+ const ptr = this.__wbg_ptr;
198
+ this.__wbg_ptr = 0;
199
+ IntoUnderlyingByteSourceFinalization.unregister(this);
200
+ return ptr;
201
+ }
202
+ free() {
203
+ const ptr = this.__destroy_into_raw();
204
+ wasm.__wbg_intounderlyingbytesource_free(ptr, 0);
205
+ }
206
+ /**
207
+ * @returns {number}
208
+ */
209
+ get autoAllocateChunkSize() {
210
+ const ret = wasm.intounderlyingbytesource_autoAllocateChunkSize(this.__wbg_ptr);
211
+ return ret >>> 0;
212
+ }
213
+ cancel() {
214
+ const ptr = this.__destroy_into_raw();
215
+ wasm.intounderlyingbytesource_cancel(ptr);
216
+ }
217
+ /**
218
+ * @param {ReadableByteStreamController} controller
219
+ * @returns {Promise<any>}
220
+ */
221
+ pull(controller) {
222
+ const ret = wasm.intounderlyingbytesource_pull(this.__wbg_ptr, controller);
223
+ return ret;
224
+ }
225
+ /**
226
+ * @param {ReadableByteStreamController} controller
227
+ */
228
+ start(controller) {
229
+ wasm.intounderlyingbytesource_start(this.__wbg_ptr, controller);
230
+ }
231
+ /**
232
+ * @returns {ReadableStreamType}
233
+ */
234
+ get type() {
235
+ const ret = wasm.intounderlyingbytesource_type(this.__wbg_ptr);
236
+ return __wbindgen_enum_ReadableStreamType[ret];
237
+ }
238
+ }
239
+ if (Symbol.dispose) IntoUnderlyingByteSource.prototype[Symbol.dispose] = IntoUnderlyingByteSource.prototype.free;
240
+
241
+ export class IntoUnderlyingSink {
242
+ __destroy_into_raw() {
243
+ const ptr = this.__wbg_ptr;
244
+ this.__wbg_ptr = 0;
245
+ IntoUnderlyingSinkFinalization.unregister(this);
246
+ return ptr;
247
+ }
248
+ free() {
249
+ const ptr = this.__destroy_into_raw();
250
+ wasm.__wbg_intounderlyingsink_free(ptr, 0);
251
+ }
252
+ /**
253
+ * @param {any} reason
254
+ * @returns {Promise<any>}
255
+ */
256
+ abort(reason) {
257
+ const ptr = this.__destroy_into_raw();
258
+ const ret = wasm.intounderlyingsink_abort(ptr, reason);
259
+ return ret;
260
+ }
261
+ /**
262
+ * @returns {Promise<any>}
263
+ */
264
+ close() {
265
+ const ptr = this.__destroy_into_raw();
266
+ const ret = wasm.intounderlyingsink_close(ptr);
267
+ return ret;
268
+ }
269
+ /**
270
+ * @param {any} chunk
271
+ * @returns {Promise<any>}
272
+ */
273
+ write(chunk) {
274
+ const ret = wasm.intounderlyingsink_write(this.__wbg_ptr, chunk);
275
+ return ret;
276
+ }
277
+ }
278
+ if (Symbol.dispose) IntoUnderlyingSink.prototype[Symbol.dispose] = IntoUnderlyingSink.prototype.free;
279
+
280
+ export class IntoUnderlyingSource {
281
+ __destroy_into_raw() {
282
+ const ptr = this.__wbg_ptr;
283
+ this.__wbg_ptr = 0;
284
+ IntoUnderlyingSourceFinalization.unregister(this);
285
+ return ptr;
286
+ }
287
+ free() {
288
+ const ptr = this.__destroy_into_raw();
289
+ wasm.__wbg_intounderlyingsource_free(ptr, 0);
290
+ }
291
+ cancel() {
292
+ const ptr = this.__destroy_into_raw();
293
+ wasm.intounderlyingsource_cancel(ptr);
294
+ }
295
+ /**
296
+ * @param {ReadableStreamDefaultController} controller
297
+ * @returns {Promise<any>}
298
+ */
299
+ pull(controller) {
300
+ const ret = wasm.intounderlyingsource_pull(this.__wbg_ptr, controller);
301
+ return ret;
302
+ }
303
+ }
304
+ if (Symbol.dispose) IntoUnderlyingSource.prototype[Symbol.dispose] = IntoUnderlyingSource.prototype.free;
305
+
306
+ /**
307
+ * Unique identifier for an event listener
308
+ */
309
+ export class ListenerId {
310
+ static __wrap(ptr) {
311
+ ptr = ptr >>> 0;
312
+ const obj = Object.create(ListenerId.prototype);
313
+ obj.__wbg_ptr = ptr;
314
+ ListenerIdFinalization.register(obj, obj.__wbg_ptr, obj);
315
+ return obj;
316
+ }
317
+ __destroy_into_raw() {
318
+ const ptr = this.__wbg_ptr;
319
+ this.__wbg_ptr = 0;
320
+ ListenerIdFinalization.unregister(this);
321
+ return ptr;
322
+ }
323
+ free() {
324
+ const ptr = this.__destroy_into_raw();
325
+ wasm.__wbg_listenerid_free(ptr, 0);
326
+ }
327
+ /**
328
+ * Get the numeric ID value
329
+ * @returns {number}
330
+ */
331
+ value() {
332
+ const ret = wasm.listenerid_value(this.__wbg_ptr);
333
+ return ret >>> 0;
334
+ }
335
+ }
336
+ if (Symbol.dispose) ListenerId.prototype[Symbol.dispose] = ListenerId.prototype.free;
337
+
338
+ export class NetConf {
339
+ __destroy_into_raw() {
340
+ const ptr = this.__wbg_ptr;
341
+ this.__wbg_ptr = 0;
342
+ NetConfFinalization.unregister(this);
343
+ return ptr;
344
+ }
345
+ free() {
346
+ const ptr = this.__destroy_into_raw();
347
+ wasm.__wbg_netconf_free(ptr, 0);
348
+ }
349
+ }
350
+ if (Symbol.dispose) NetConf.prototype[Symbol.dispose] = NetConf.prototype.free;
351
+
352
+ /**
353
+ * @enum {0 | 1 | 2 | 3 | 4 | 5 | 6}
354
+ */
355
+ export const NodeStatus = Object.freeze({
356
+ ConnectSignal: 0, "0": "ConnectSignal",
357
+ ConnectedNodes: 1, "1": "ConnectedNodes",
358
+ AvailableNodes: 2, "2": "AvailableNodes",
359
+ DisconnectSignal: 3, "3": "DisconnectSignal",
360
+ DisconnectNodes: 4, "4": "DisconnectNodes",
361
+ RealmAvailable: 5, "5": "RealmAvailable",
362
+ ReceivedFlo: 6, "6": "ReceivedFlo",
363
+ });
364
+
365
+ export class RealmID {
366
+ static __wrap(ptr) {
367
+ ptr = ptr >>> 0;
368
+ const obj = Object.create(RealmID.prototype);
369
+ obj.__wbg_ptr = ptr;
370
+ RealmIDFinalization.register(obj, obj.__wbg_ptr, obj);
371
+ return obj;
372
+ }
373
+ __destroy_into_raw() {
374
+ const ptr = this.__wbg_ptr;
375
+ this.__wbg_ptr = 0;
376
+ RealmIDFinalization.unregister(this);
377
+ return ptr;
378
+ }
379
+ free() {
380
+ const ptr = this.__destroy_into_raw();
381
+ wasm.__wbg_realmid_free(ptr, 0);
382
+ }
383
+ /**
384
+ * @returns {string}
385
+ */
386
+ toString() {
387
+ let deferred1_0;
388
+ let deferred1_1;
389
+ try {
390
+ const ret = wasm.realmid_toString(this.__wbg_ptr);
391
+ deferred1_0 = ret[0];
392
+ deferred1_1 = ret[1];
393
+ return getStringFromWasm0(ret[0], ret[1]);
394
+ } finally {
395
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
396
+ }
397
+ }
398
+ }
399
+ if (Symbol.dispose) RealmID.prototype[Symbol.dispose] = RealmID.prototype.free;
400
+
401
+ /**
402
+ * Initialize the WASM module with logging and panic hooks
403
+ */
404
+ export function initialize() {
405
+ wasm.initialize();
406
+ }
407
+
408
+ function __wbg_get_imports() {
409
+ const import0 = {
410
+ __proto__: null,
411
+ __wbg_Error_8c4e43fe74559d73: function(arg0, arg1) {
412
+ const ret = Error(getStringFromWasm0(arg0, arg1));
413
+ return ret;
414
+ },
415
+ __wbg_String_8f0eb39a4a4c2f66: function(arg0, arg1) {
416
+ const ret = String(arg1);
417
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
418
+ const len1 = WASM_VECTOR_LEN;
419
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
420
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
421
+ },
422
+ __wbg___wbindgen_debug_string_0bc8482c6e3508ae: function(arg0, arg1) {
423
+ const ret = debugString(arg1);
424
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
425
+ const len1 = WASM_VECTOR_LEN;
426
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
427
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
428
+ },
429
+ __wbg___wbindgen_is_function_0095a73b8b156f76: function(arg0) {
430
+ const ret = typeof(arg0) === 'function';
431
+ return ret;
432
+ },
433
+ __wbg___wbindgen_is_object_5ae8e5880f2c1fbd: function(arg0) {
434
+ const val = arg0;
435
+ const ret = typeof(val) === 'object' && val !== null;
436
+ return ret;
437
+ },
438
+ __wbg___wbindgen_is_string_cd444516edc5b180: function(arg0) {
439
+ const ret = typeof(arg0) === 'string';
440
+ return ret;
441
+ },
442
+ __wbg___wbindgen_is_undefined_9e4d92534c42d778: function(arg0) {
443
+ const ret = arg0 === undefined;
444
+ return ret;
445
+ },
446
+ __wbg___wbindgen_string_get_72fb696202c56729: function(arg0, arg1) {
447
+ const obj = arg1;
448
+ const ret = typeof(obj) === 'string' ? obj : undefined;
449
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
450
+ var len1 = WASM_VECTOR_LEN;
451
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
452
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
453
+ },
454
+ __wbg___wbindgen_throw_be289d5034ed271b: function(arg0, arg1) {
455
+ throw new Error(getStringFromWasm0(arg0, arg1));
456
+ },
457
+ __wbg__wbg_cb_unref_d9b87ff7982e3b21: function(arg0) {
458
+ arg0._wbg_cb_unref();
459
+ },
460
+ __wbg_abort_2f0584e03e8e3950: function(arg0) {
461
+ arg0.abort();
462
+ },
463
+ __wbg_abort_d549b92d3c665de1: function(arg0, arg1) {
464
+ arg0.abort(arg1);
465
+ },
466
+ __wbg_addIceCandidate_9b8081f15d372fd5: function(arg0, arg1) {
467
+ const ret = arg0.addIceCandidate(arg1);
468
+ return ret;
469
+ },
470
+ __wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
471
+ arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
472
+ }, arguments); },
473
+ __wbg_body_3a0b4437dadea6bf: function(arg0) {
474
+ const ret = arg0.body;
475
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
476
+ },
477
+ __wbg_buffer_26d0910f3a5bc899: function(arg0) {
478
+ const ret = arg0.buffer;
479
+ return ret;
480
+ },
481
+ __wbg_byobRequest_80e594e6da4e1af7: function(arg0) {
482
+ const ret = arg0.byobRequest;
483
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
484
+ },
485
+ __wbg_byteLength_3417f266f4bf562a: function(arg0) {
486
+ const ret = arg0.byteLength;
487
+ return ret;
488
+ },
489
+ __wbg_byteOffset_f88547ca47c86358: function(arg0) {
490
+ const ret = arg0.byteOffset;
491
+ return ret;
492
+ },
493
+ __wbg_call_389efe28435a9388: function() { return handleError(function (arg0, arg1) {
494
+ const ret = arg0.call(arg1);
495
+ return ret;
496
+ }, arguments); },
497
+ __wbg_call_4708e0c13bdc8e95: function() { return handleError(function (arg0, arg1, arg2) {
498
+ const ret = arg0.call(arg1, arg2);
499
+ return ret;
500
+ }, arguments); },
501
+ __wbg_call_812d25f1510c13c8: function() { return handleError(function (arg0, arg1, arg2, arg3) {
502
+ const ret = arg0.call(arg1, arg2, arg3);
503
+ return ret;
504
+ }, arguments); },
505
+ __wbg_cancel_2c0a0a251ff6b2b7: function(arg0) {
506
+ const ret = arg0.cancel();
507
+ return ret;
508
+ },
509
+ __wbg_candidate_7236a1dc099e2ab0: function(arg0, arg1) {
510
+ const ret = arg1.candidate;
511
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
512
+ const len1 = WASM_VECTOR_LEN;
513
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
514
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
515
+ },
516
+ __wbg_candidate_e034be3d85919c5f: function(arg0) {
517
+ const ret = arg0.candidate;
518
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
519
+ },
520
+ __wbg_catch_c1f8c7623b458214: function(arg0, arg1) {
521
+ const ret = arg0.catch(arg1);
522
+ return ret;
523
+ },
524
+ __wbg_channel_82b58a29dba55e8a: function(arg0) {
525
+ const ret = arg0.channel;
526
+ return ret;
527
+ },
528
+ __wbg_clearTimeout_42d9ccd50822fd3a: function(arg0) {
529
+ const ret = clearTimeout(arg0);
530
+ return ret;
531
+ },
532
+ __wbg_close_0060e75dc5cbbef0: function(arg0) {
533
+ arg0.close();
534
+ },
535
+ __wbg_close_06dfa0a815b9d71f: function() { return handleError(function (arg0) {
536
+ arg0.close();
537
+ }, arguments); },
538
+ __wbg_close_1d08eaf57ed325c0: function() { return handleError(function (arg0) {
539
+ arg0.close();
540
+ }, arguments); },
541
+ __wbg_close_a79afee31de55b36: function() { return handleError(function (arg0) {
542
+ arg0.close();
543
+ }, arguments); },
544
+ __wbg_close_f9ba12c30bbb456f: function(arg0) {
545
+ arg0.close();
546
+ },
547
+ __wbg_createAnswer_a81a236697720f26: function(arg0) {
548
+ const ret = arg0.createAnswer();
549
+ return ret;
550
+ },
551
+ __wbg_createDataChannel_5b6887f64b34cde3: function(arg0, arg1, arg2) {
552
+ const ret = arg0.createDataChannel(getStringFromWasm0(arg1, arg2));
553
+ return ret;
554
+ },
555
+ __wbg_createOffer_ad84508938485425: function(arg0) {
556
+ const ret = arg0.createOffer();
557
+ return ret;
558
+ },
559
+ __wbg_crypto_86f2631e91b51511: function(arg0) {
560
+ const ret = arg0.crypto;
561
+ return ret;
562
+ },
563
+ __wbg_danode_new: function(arg0) {
564
+ const ret = DaNode.__wrap(arg0);
565
+ return ret;
566
+ },
567
+ __wbg_darealm_new: function(arg0) {
568
+ const ret = DaRealm.__wrap(arg0);
569
+ return ret;
570
+ },
571
+ __wbg_data_5330da50312d0bc1: function(arg0) {
572
+ const ret = arg0.data;
573
+ return ret;
574
+ },
575
+ __wbg_debug_46a93995fc6f8820: function(arg0, arg1, arg2, arg3) {
576
+ console.debug(arg0, arg1, arg2, arg3);
577
+ },
578
+ __wbg_done_57b39ecd9addfe81: function(arg0) {
579
+ const ret = arg0.done;
580
+ return ret;
581
+ },
582
+ __wbg_enqueue_2c63f2044f257c3e: function() { return handleError(function (arg0, arg1) {
583
+ arg0.enqueue(arg1);
584
+ }, arguments); },
585
+ __wbg_error_7534b8e9a36f1ab4: function(arg0, arg1) {
586
+ let deferred0_0;
587
+ let deferred0_1;
588
+ try {
589
+ deferred0_0 = arg0;
590
+ deferred0_1 = arg1;
591
+ console.error(getStringFromWasm0(arg0, arg1));
592
+ } finally {
593
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
594
+ }
595
+ },
596
+ __wbg_error_794d0ffc9d00d5c3: function(arg0, arg1, arg2, arg3) {
597
+ console.error(arg0, arg1, arg2, arg3);
598
+ },
599
+ __wbg_error_9a7fe3f932034cde: function(arg0) {
600
+ console.error(arg0);
601
+ },
602
+ __wbg_fetch_6bbc32f991730587: function(arg0) {
603
+ const ret = fetch(arg0);
604
+ return ret;
605
+ },
606
+ __wbg_fetch_afb6a4b6cacf876d: function(arg0, arg1) {
607
+ const ret = arg0.fetch(arg1);
608
+ return ret;
609
+ },
610
+ __wbg_floid_new: function(arg0) {
611
+ const ret = FloID.__wrap(arg0);
612
+ return ret;
613
+ },
614
+ __wbg_forEach_415aeaf425d269a4: function(arg0, arg1, arg2) {
615
+ try {
616
+ var state0 = {a: arg1, b: arg2};
617
+ var cb0 = (arg0, arg1) => {
618
+ const a = state0.a;
619
+ state0.a = 0;
620
+ try {
621
+ return wasm_bindgen__convert__closures_____invoke__h4d8a9638d0e04172(a, state0.b, arg0, arg1);
622
+ } finally {
623
+ state0.a = a;
624
+ }
625
+ };
626
+ arg0.forEach(cb0);
627
+ } finally {
628
+ state0.a = state0.b = 0;
629
+ }
630
+ },
631
+ __wbg_getRandomValues_1c61fac11405ffdc: function() { return handleError(function (arg0, arg1) {
632
+ globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
633
+ }, arguments); },
634
+ __wbg_getRandomValues_b3f15fcbfabb0f8b: function() { return handleError(function (arg0, arg1) {
635
+ arg0.getRandomValues(arg1);
636
+ }, arguments); },
637
+ __wbg_getReader_48e00749fe3f6089: function() { return handleError(function (arg0) {
638
+ const ret = arg0.getReader();
639
+ return ret;
640
+ }, arguments); },
641
+ __wbg_getStats_8515dff25c2b0ce7: function(arg0) {
642
+ const ret = arg0.getStats();
643
+ return ret;
644
+ },
645
+ __wbg_get_7402eeed7493cb5a: function() { return handleError(function (arg0, arg1, arg2, arg3) {
646
+ const ret = arg1[getStringFromWasm0(arg2, arg3)];
647
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
648
+ var len1 = WASM_VECTOR_LEN;
649
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
650
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
651
+ }, arguments); },
652
+ __wbg_get_b3ed3ad4be2bc8ac: function() { return handleError(function (arg0, arg1) {
653
+ const ret = Reflect.get(arg0, arg1);
654
+ return ret;
655
+ }, arguments); },
656
+ __wbg_get_done_1ad1c16537f444c6: function(arg0) {
657
+ const ret = arg0.done;
658
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
659
+ },
660
+ __wbg_get_value_6b77a1b7b90c9200: function(arg0) {
661
+ const ret = arg0.value;
662
+ return ret;
663
+ },
664
+ __wbg_has_d4e53238966c12b6: function() { return handleError(function (arg0, arg1) {
665
+ const ret = Reflect.has(arg0, arg1);
666
+ return ret;
667
+ }, arguments); },
668
+ __wbg_headers_59a2938db9f80985: function(arg0) {
669
+ const ret = arg0.headers;
670
+ return ret;
671
+ },
672
+ __wbg_iceConnectionState_362ce80bcdf9b6bd: function(arg0) {
673
+ const ret = arg0.iceConnectionState;
674
+ return (__wbindgen_enum_RtcIceConnectionState.indexOf(ret) + 1 || 8) - 1;
675
+ },
676
+ __wbg_iceGatheringState_05ea9cd090ecb286: function(arg0) {
677
+ const ret = arg0.iceGatheringState;
678
+ return (__wbindgen_enum_RtcIceGatheringState.indexOf(ret) + 1 || 4) - 1;
679
+ },
680
+ __wbg_info_9e602cf10c5c690b: function(arg0, arg1, arg2, arg3) {
681
+ console.info(arg0, arg1, arg2, arg3);
682
+ },
683
+ __wbg_instanceof_Response_ee1d54d79ae41977: function(arg0) {
684
+ let result;
685
+ try {
686
+ result = arg0 instanceof Response;
687
+ } catch (_) {
688
+ result = false;
689
+ }
690
+ const ret = result;
691
+ return ret;
692
+ },
693
+ __wbg_instanceof_Window_ed49b2db8df90359: function(arg0) {
694
+ let result;
695
+ try {
696
+ result = arg0 instanceof Window;
697
+ } catch (_) {
698
+ result = false;
699
+ }
700
+ const ret = result;
701
+ return ret;
702
+ },
703
+ __wbg_iterator_6ff6560ca1568e55: function() {
704
+ const ret = Symbol.iterator;
705
+ return ret;
706
+ },
707
+ __wbg_length_32ed9a279acd054c: function(arg0) {
708
+ const ret = arg0.length;
709
+ return ret;
710
+ },
711
+ __wbg_localStorage_a22d31b9eacc4594: function() { return handleError(function (arg0) {
712
+ const ret = arg0.localStorage;
713
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
714
+ }, arguments); },
715
+ __wbg_log_24aba2a6d8990b35: function(arg0, arg1, arg2, arg3) {
716
+ console.log(arg0, arg1, arg2, arg3);
717
+ },
718
+ __wbg_msCrypto_d562bbe83e0d4b91: function(arg0) {
719
+ const ret = arg0.msCrypto;
720
+ return ret;
721
+ },
722
+ __wbg_new_0391bf4a6ad64c35: function() { return handleError(function (arg0) {
723
+ const ret = new RTCIceCandidate(arg0);
724
+ return ret;
725
+ }, arguments); },
726
+ __wbg_new_057993d5b5e07835: function() { return handleError(function (arg0, arg1) {
727
+ const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
728
+ return ret;
729
+ }, arguments); },
730
+ __wbg_new_361308b2356cecd0: function() {
731
+ const ret = new Object();
732
+ return ret;
733
+ },
734
+ __wbg_new_3eb36ae241fe6f44: function() {
735
+ const ret = new Array();
736
+ return ret;
737
+ },
738
+ __wbg_new_64284bd487f9d239: function() { return handleError(function () {
739
+ const ret = new Headers();
740
+ return ret;
741
+ }, arguments); },
742
+ __wbg_new_72b49615380db768: function(arg0, arg1) {
743
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
744
+ return ret;
745
+ },
746
+ __wbg_new_8a6f238a6ece86ea: function() {
747
+ const ret = new Error();
748
+ return ret;
749
+ },
750
+ __wbg_new_b5d9e2fb389fef91: function(arg0, arg1) {
751
+ try {
752
+ var state0 = {a: arg0, b: arg1};
753
+ var cb0 = (arg0, arg1) => {
754
+ const a = state0.a;
755
+ state0.a = 0;
756
+ try {
757
+ return wasm_bindgen__convert__closures_____invoke__h4d8a9638d0e04172(a, state0.b, arg0, arg1);
758
+ } finally {
759
+ state0.a = a;
760
+ }
761
+ };
762
+ const ret = new Promise(cb0);
763
+ return ret;
764
+ } finally {
765
+ state0.a = state0.b = 0;
766
+ }
767
+ },
768
+ __wbg_new_b949e7f56150a5d1: function() { return handleError(function () {
769
+ const ret = new AbortController();
770
+ return ret;
771
+ }, arguments); },
772
+ __wbg_new_dca287b076112a51: function() {
773
+ const ret = new Map();
774
+ return ret;
775
+ },
776
+ __wbg_new_dd2b680c8bf6ae29: function(arg0) {
777
+ const ret = new Uint8Array(arg0);
778
+ return ret;
779
+ },
780
+ __wbg_new_from_slice_a3d2629dc1826784: function(arg0, arg1) {
781
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
782
+ return ret;
783
+ },
784
+ __wbg_new_no_args_1c7c842f08d00ebb: function(arg0, arg1) {
785
+ const ret = new Function(getStringFromWasm0(arg0, arg1));
786
+ return ret;
787
+ },
788
+ __wbg_new_with_byte_offset_and_length_aa261d9c9da49eb1: function(arg0, arg1, arg2) {
789
+ const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
790
+ return ret;
791
+ },
792
+ __wbg_new_with_configuration_114cc8dc0d3b6519: function() { return handleError(function (arg0) {
793
+ const ret = new RTCPeerConnection(arg0);
794
+ return ret;
795
+ }, arguments); },
796
+ __wbg_new_with_length_a2c39cbe88fd8ff1: function(arg0) {
797
+ const ret = new Uint8Array(arg0 >>> 0);
798
+ return ret;
799
+ },
800
+ __wbg_new_with_str_and_init_a61cbc6bdef21614: function() { return handleError(function (arg0, arg1, arg2) {
801
+ const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
802
+ return ret;
803
+ }, arguments); },
804
+ __wbg_next_3482f54c49e8af19: function() { return handleError(function (arg0) {
805
+ const ret = arg0.next();
806
+ return ret;
807
+ }, arguments); },
808
+ __wbg_next_418f80d8f5303233: function(arg0) {
809
+ const ret = arg0.next;
810
+ return ret;
811
+ },
812
+ __wbg_node_e1f24f89a7336c2e: function(arg0) {
813
+ const ret = arg0.node;
814
+ return ret;
815
+ },
816
+ __wbg_now_a3af9a2f4bbaa4d1: function() {
817
+ const ret = Date.now();
818
+ return ret;
819
+ },
820
+ __wbg_process_3975fd6c72f520aa: function(arg0) {
821
+ const ret = arg0.process;
822
+ return ret;
823
+ },
824
+ __wbg_prototypesetcall_bdcdcc5842e4d77d: function(arg0, arg1, arg2) {
825
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
826
+ },
827
+ __wbg_queueMicrotask_0aa0a927f78f5d98: function(arg0) {
828
+ const ret = arg0.queueMicrotask;
829
+ return ret;
830
+ },
831
+ __wbg_queueMicrotask_5bb536982f78a56f: function(arg0) {
832
+ queueMicrotask(arg0);
833
+ },
834
+ __wbg_randomFillSync_f8c153b79f285817: function() { return handleError(function (arg0, arg1) {
835
+ arg0.randomFillSync(arg1);
836
+ }, arguments); },
837
+ __wbg_read_68fd377df67e19b0: function(arg0) {
838
+ const ret = arg0.read();
839
+ return ret;
840
+ },
841
+ __wbg_readyState_1bb73ec7b8a54656: function(arg0) {
842
+ const ret = arg0.readyState;
843
+ return ret;
844
+ },
845
+ __wbg_readyState_c000912ef3045df7: function(arg0) {
846
+ const ret = arg0.readyState;
847
+ return (__wbindgen_enum_RtcDataChannelState.indexOf(ret) + 1 || 5) - 1;
848
+ },
849
+ __wbg_realmid_new: function(arg0) {
850
+ const ret = RealmID.__wrap(arg0);
851
+ return ret;
852
+ },
853
+ __wbg_releaseLock_aa5846c2494b3032: function(arg0) {
854
+ arg0.releaseLock();
855
+ },
856
+ __wbg_removeItem_f6369b1a6fa39850: function() { return handleError(function (arg0, arg1, arg2) {
857
+ arg0.removeItem(getStringFromWasm0(arg1, arg2));
858
+ }, arguments); },
859
+ __wbg_require_b74f47fc2d022fd6: function() { return handleError(function () {
860
+ const ret = module.require;
861
+ return ret;
862
+ }, arguments); },
863
+ __wbg_resolve_002c4b7d9d8f6b64: function(arg0) {
864
+ const ret = Promise.resolve(arg0);
865
+ return ret;
866
+ },
867
+ __wbg_respond_bf6ab10399ca8722: function() { return handleError(function (arg0, arg1) {
868
+ arg0.respond(arg1 >>> 0);
869
+ }, arguments); },
870
+ __wbg_send_bc0336a1b5ce4fb7: function() { return handleError(function (arg0, arg1, arg2) {
871
+ arg0.send(getStringFromWasm0(arg1, arg2));
872
+ }, arguments); },
873
+ __wbg_send_f4f29a5262cebf16: function() { return handleError(function (arg0, arg1, arg2) {
874
+ arg0.send(getStringFromWasm0(arg1, arg2));
875
+ }, arguments); },
876
+ __wbg_setLocalDescription_286acbf723f59b5c: function(arg0, arg1) {
877
+ const ret = arg0.setLocalDescription(arg1);
878
+ return ret;
879
+ },
880
+ __wbg_setRemoteDescription_225bc4358168e1f0: function(arg0, arg1) {
881
+ const ret = arg0.setRemoteDescription(arg1);
882
+ return ret;
883
+ },
884
+ __wbg_setTimeout_39c0b4968498628f: function(arg0, arg1) {
885
+ const ret = setTimeout(arg0, arg1);
886
+ return ret;
887
+ },
888
+ __wbg_setTimeout_4ec014681668a581: function(arg0, arg1) {
889
+ const ret = setTimeout(arg0, arg1);
890
+ return ret;
891
+ },
892
+ __wbg_set_1eb0999cf5d27fc8: function(arg0, arg1, arg2) {
893
+ const ret = arg0.set(arg1, arg2);
894
+ return ret;
895
+ },
896
+ __wbg_set_3f1d0b984ed272ed: function(arg0, arg1, arg2) {
897
+ arg0[arg1] = arg2;
898
+ },
899
+ __wbg_set_9d4519d2fdec4515: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
900
+ arg0[getStringFromWasm0(arg1, arg2)] = getStringFromWasm0(arg3, arg4);
901
+ }, arguments); },
902
+ __wbg_set_body_9a7e00afe3cfe244: function(arg0, arg1) {
903
+ arg0.body = arg1;
904
+ },
905
+ __wbg_set_cache_315a3ed773a41543: function(arg0, arg1) {
906
+ arg0.cache = __wbindgen_enum_RequestCache[arg1];
907
+ },
908
+ __wbg_set_candidate_2727cda2fc3c42c0: function(arg0, arg1, arg2) {
909
+ arg0.candidate = getStringFromWasm0(arg1, arg2);
910
+ },
911
+ __wbg_set_cc56eefd2dd91957: function(arg0, arg1, arg2) {
912
+ arg0.set(getArrayU8FromWasm0(arg1, arg2));
913
+ },
914
+ __wbg_set_credentials_c4a58d2e05ef24fb: function(arg0, arg1) {
915
+ arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
916
+ },
917
+ __wbg_set_f43e577aea94465b: function(arg0, arg1, arg2) {
918
+ arg0[arg1 >>> 0] = arg2;
919
+ },
920
+ __wbg_set_headers_cfc5f4b2c1f20549: function(arg0, arg1) {
921
+ arg0.headers = arg1;
922
+ },
923
+ __wbg_set_ice_servers_2fbbe72dcc5bb69a: function(arg0, arg1) {
924
+ arg0.iceServers = arg1;
925
+ },
926
+ __wbg_set_method_c3e20375f5ae7fac: function(arg0, arg1, arg2) {
927
+ arg0.method = getStringFromWasm0(arg1, arg2);
928
+ },
929
+ __wbg_set_mode_b13642c312648202: function(arg0, arg1) {
930
+ arg0.mode = __wbindgen_enum_RequestMode[arg1];
931
+ },
932
+ __wbg_set_onclose_cd1e79ee9a126bf3: function(arg0, arg1) {
933
+ arg0.onclose = arg1;
934
+ },
935
+ __wbg_set_ondatachannel_1c46b51a91f1578b: function(arg0, arg1) {
936
+ arg0.ondatachannel = arg1;
937
+ },
938
+ __wbg_set_onerror_377f18bf4569bf85: function(arg0, arg1) {
939
+ arg0.onerror = arg1;
940
+ },
941
+ __wbg_set_onicecandidate_d7f0eeb668892055: function(arg0, arg1) {
942
+ arg0.onicecandidate = arg1;
943
+ },
944
+ __wbg_set_oniceconnectionstatechange_1b381f37cbf67b07: function(arg0, arg1) {
945
+ arg0.oniceconnectionstatechange = arg1;
946
+ },
947
+ __wbg_set_onmessage_2114aa5f4f53051e: function(arg0, arg1) {
948
+ arg0.onmessage = arg1;
949
+ },
950
+ __wbg_set_onmessage_b37c5e7b9ca15286: function(arg0, arg1) {
951
+ arg0.onmessage = arg1;
952
+ },
953
+ __wbg_set_onopen_5d8b1bc500a88ba1: function(arg0, arg1) {
954
+ arg0.onopen = arg1;
955
+ },
956
+ __wbg_set_onopen_b7b52d519d6c0f11: function(arg0, arg1) {
957
+ arg0.onopen = arg1;
958
+ },
959
+ __wbg_set_sdp_50fb460598980761: function(arg0, arg1, arg2) {
960
+ arg0.sdp = getStringFromWasm0(arg1, arg2);
961
+ },
962
+ __wbg_set_sdp_m_line_index_26c262b33b01dafa: function(arg0, arg1) {
963
+ arg0.sdpMLineIndex = arg1 === 0xFFFFFF ? undefined : arg1;
964
+ },
965
+ __wbg_set_sdp_mid_84aa9072175076b4: function(arg0, arg1, arg2) {
966
+ arg0.sdpMid = arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2);
967
+ },
968
+ __wbg_set_signal_f2d3f8599248896d: function(arg0, arg1) {
969
+ arg0.signal = arg1;
970
+ },
971
+ __wbg_set_type_76aecafd1e278305: function(arg0, arg1) {
972
+ arg0.type = __wbindgen_enum_RtcSdpType[arg1];
973
+ },
974
+ __wbg_signal_d1285ecab4ebc5ad: function(arg0) {
975
+ const ret = arg0.signal;
976
+ return ret;
977
+ },
978
+ __wbg_signalingState_aabc276f90eab53b: function(arg0) {
979
+ const ret = arg0.signalingState;
980
+ return (__wbindgen_enum_RtcSignalingState.indexOf(ret) + 1 || 7) - 1;
981
+ },
982
+ __wbg_stack_0ed75d68575b0f3c: function(arg0, arg1) {
983
+ const ret = arg1.stack;
984
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
985
+ const len1 = WASM_VECTOR_LEN;
986
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
987
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
988
+ },
989
+ __wbg_static_accessor_GLOBAL_12837167ad935116: function() {
990
+ const ret = typeof global === 'undefined' ? null : global;
991
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
992
+ },
993
+ __wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f: function() {
994
+ const ret = typeof globalThis === 'undefined' ? null : globalThis;
995
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
996
+ },
997
+ __wbg_static_accessor_SELF_a621d3dfbb60d0ce: function() {
998
+ const ret = typeof self === 'undefined' ? null : self;
999
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1000
+ },
1001
+ __wbg_static_accessor_WINDOW_f8727f0cf888e0bd: function() {
1002
+ const ret = typeof window === 'undefined' ? null : window;
1003
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1004
+ },
1005
+ __wbg_status_89d7e803db911ee7: function(arg0) {
1006
+ const ret = arg0.status;
1007
+ return ret;
1008
+ },
1009
+ __wbg_stringify_8d1cc6ff383e8bae: function() { return handleError(function (arg0) {
1010
+ const ret = JSON.stringify(arg0);
1011
+ return ret;
1012
+ }, arguments); },
1013
+ __wbg_subarray_a96e1fef17ed23cb: function(arg0, arg1, arg2) {
1014
+ const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
1015
+ return ret;
1016
+ },
1017
+ __wbg_then_0d9fe2c7b1857d32: function(arg0, arg1, arg2) {
1018
+ const ret = arg0.then(arg1, arg2);
1019
+ return ret;
1020
+ },
1021
+ __wbg_then_b9e7b3b5f1a9e1b5: function(arg0, arg1) {
1022
+ const ret = arg0.then(arg1);
1023
+ return ret;
1024
+ },
1025
+ __wbg_url_c484c26b1fbf5126: function(arg0, arg1) {
1026
+ const ret = arg1.url;
1027
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1028
+ const len1 = WASM_VECTOR_LEN;
1029
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1030
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1031
+ },
1032
+ __wbg_value_0546255b415e96c1: function(arg0) {
1033
+ const ret = arg0.value;
1034
+ return ret;
1035
+ },
1036
+ __wbg_versions_4e31226f5e8dc909: function(arg0) {
1037
+ const ret = arg0.versions;
1038
+ return ret;
1039
+ },
1040
+ __wbg_view_6c32e7184b8606ad: function(arg0) {
1041
+ const ret = arg0.view;
1042
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1043
+ },
1044
+ __wbg_warn_a40b971467b219c7: function(arg0, arg1, arg2, arg3) {
1045
+ console.warn(arg0, arg1, arg2, arg3);
1046
+ },
1047
+ __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1048
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1077, function: Function { arguments: [], shim_idx: 1078, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1049
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__ha917655cf973976a, wasm_bindgen__convert__closures_____invoke__h8c172a5ae5173bf3);
1050
+ return ret;
1051
+ },
1052
+ __wbindgen_cast_0000000000000002: function(arg0, arg1) {
1053
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1207, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 1208, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1054
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2072d9fd4fb6b987, wasm_bindgen__convert__closures_____invoke__h0d268f64b67d3868);
1055
+ return ret;
1056
+ },
1057
+ __wbindgen_cast_0000000000000003: function(arg0, arg1) {
1058
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1207, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1208, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1059
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2072d9fd4fb6b987, wasm_bindgen__convert__closures_____invoke__h0d268f64b67d3868);
1060
+ return ret;
1061
+ },
1062
+ __wbindgen_cast_0000000000000004: function(arg0, arg1) {
1063
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1207, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1208, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1064
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2072d9fd4fb6b987, wasm_bindgen__convert__closures_____invoke__h0d268f64b67d3868);
1065
+ return ret;
1066
+ },
1067
+ __wbindgen_cast_0000000000000005: function(arg0, arg1) {
1068
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1207, function: Function { arguments: [NamedExternref("RTCDataChannelEvent")], shim_idx: 1208, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1069
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2072d9fd4fb6b987, wasm_bindgen__convert__closures_____invoke__h0d268f64b67d3868);
1070
+ return ret;
1071
+ },
1072
+ __wbindgen_cast_0000000000000006: function(arg0, arg1) {
1073
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1207, function: Function { arguments: [NamedExternref("RTCPeerConnectionIceEvent")], shim_idx: 1208, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1074
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2072d9fd4fb6b987, wasm_bindgen__convert__closures_____invoke__h0d268f64b67d3868);
1075
+ return ret;
1076
+ },
1077
+ __wbindgen_cast_0000000000000007: function(arg0, arg1) {
1078
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1540, function: Function { arguments: [Externref], shim_idx: 1541, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1079
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc77efcacde91f08c, wasm_bindgen__convert__closures_____invoke__h1f94d242aababef4);
1080
+ return ret;
1081
+ },
1082
+ __wbindgen_cast_0000000000000008: function(arg0, arg1) {
1083
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 2097, function: Function { arguments: [], shim_idx: 2098, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1084
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2e4299a9319bc03b, wasm_bindgen__convert__closures_____invoke__h2fda946b1c2a6d9b);
1085
+ return ret;
1086
+ },
1087
+ __wbindgen_cast_0000000000000009: function(arg0) {
1088
+ // Cast intrinsic for `F64 -> Externref`.
1089
+ const ret = arg0;
1090
+ return ret;
1091
+ },
1092
+ __wbindgen_cast_000000000000000a: function(arg0) {
1093
+ // Cast intrinsic for `I64 -> Externref`.
1094
+ const ret = arg0;
1095
+ return ret;
1096
+ },
1097
+ __wbindgen_cast_000000000000000b: function(arg0, arg1) {
1098
+ // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
1099
+ const ret = getArrayU8FromWasm0(arg0, arg1);
1100
+ return ret;
1101
+ },
1102
+ __wbindgen_cast_000000000000000c: function(arg0, arg1) {
1103
+ // Cast intrinsic for `Ref(String) -> Externref`.
1104
+ const ret = getStringFromWasm0(arg0, arg1);
1105
+ return ret;
1106
+ },
1107
+ __wbindgen_cast_000000000000000d: function(arg0) {
1108
+ // Cast intrinsic for `U64 -> Externref`.
1109
+ const ret = BigInt.asUintN(64, arg0);
1110
+ return ret;
1111
+ },
1112
+ __wbindgen_cast_000000000000000e: function(arg0, arg1) {
1113
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
1114
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
1115
+ // Cast intrinsic for `Vector(NamedExternref("FloID")) -> Externref`.
1116
+ const ret = v0;
1117
+ return ret;
1118
+ },
1119
+ __wbindgen_cast_000000000000000f: function(arg0, arg1) {
1120
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
1121
+ wasm.__wbindgen_free(arg0, arg1 * 4, 4);
1122
+ // Cast intrinsic for `Vector(NamedExternref("RealmID")) -> Externref`.
1123
+ const ret = v0;
1124
+ return ret;
1125
+ },
1126
+ __wbindgen_init_externref_table: function() {
1127
+ const table = wasm.__wbindgen_externrefs;
1128
+ const offset = table.grow(4);
1129
+ table.set(0, undefined);
1130
+ table.set(offset + 0, undefined);
1131
+ table.set(offset + 1, null);
1132
+ table.set(offset + 2, true);
1133
+ table.set(offset + 3, false);
1134
+ },
1135
+ };
1136
+ return {
1137
+ __proto__: null,
1138
+ "./flbrowser_core_bg.js": import0,
1139
+ };
1140
+ }
1141
+
1142
+ function wasm_bindgen__convert__closures_____invoke__h8c172a5ae5173bf3(arg0, arg1) {
1143
+ wasm.wasm_bindgen__convert__closures_____invoke__h8c172a5ae5173bf3(arg0, arg1);
1144
+ }
1145
+
1146
+ function wasm_bindgen__convert__closures_____invoke__h2fda946b1c2a6d9b(arg0, arg1) {
1147
+ wasm.wasm_bindgen__convert__closures_____invoke__h2fda946b1c2a6d9b(arg0, arg1);
1148
+ }
1149
+
1150
+ function wasm_bindgen__convert__closures_____invoke__h0d268f64b67d3868(arg0, arg1, arg2) {
1151
+ wasm.wasm_bindgen__convert__closures_____invoke__h0d268f64b67d3868(arg0, arg1, arg2);
1152
+ }
1153
+
1154
+ function wasm_bindgen__convert__closures_____invoke__h1f94d242aababef4(arg0, arg1, arg2) {
1155
+ wasm.wasm_bindgen__convert__closures_____invoke__h1f94d242aababef4(arg0, arg1, arg2);
1156
+ }
1157
+
1158
+ function wasm_bindgen__convert__closures_____invoke__h4d8a9638d0e04172(arg0, arg1, arg2, arg3) {
1159
+ wasm.wasm_bindgen__convert__closures_____invoke__h4d8a9638d0e04172(arg0, arg1, arg2, arg3);
1160
+ }
1161
+
1162
+
1163
+ const __wbindgen_enum_ReadableStreamType = ["bytes"];
1164
+
1165
+
1166
+ const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
1167
+
1168
+
1169
+ const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
1170
+
1171
+
1172
+ const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
1173
+
1174
+
1175
+ const __wbindgen_enum_RtcDataChannelState = ["connecting", "open", "closing", "closed"];
1176
+
1177
+
1178
+ const __wbindgen_enum_RtcIceConnectionState = ["new", "checking", "connected", "completed", "failed", "disconnected", "closed"];
1179
+
1180
+
1181
+ const __wbindgen_enum_RtcIceGatheringState = ["new", "gathering", "complete"];
1182
+
1183
+
1184
+ const __wbindgen_enum_RtcSdpType = ["offer", "pranswer", "answer", "rollback"];
1185
+
1186
+
1187
+ const __wbindgen_enum_RtcSignalingState = ["stable", "have-local-offer", "have-remote-offer", "have-local-pranswer", "have-remote-pranswer", "closed"];
1188
+ const DaNodeFinalization = (typeof FinalizationRegistry === 'undefined')
1189
+ ? { register: () => {}, unregister: () => {} }
1190
+ : new FinalizationRegistry(ptr => wasm.__wbg_danode_free(ptr >>> 0, 1));
1191
+ const DaRealmFinalization = (typeof FinalizationRegistry === 'undefined')
1192
+ ? { register: () => {}, unregister: () => {} }
1193
+ : new FinalizationRegistry(ptr => wasm.__wbg_darealm_free(ptr >>> 0, 1));
1194
+ const FloIDFinalization = (typeof FinalizationRegistry === 'undefined')
1195
+ ? { register: () => {}, unregister: () => {} }
1196
+ : new FinalizationRegistry(ptr => wasm.__wbg_floid_free(ptr >>> 0, 1));
1197
+ const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'undefined')
1198
+ ? { register: () => {}, unregister: () => {} }
1199
+ : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr >>> 0, 1));
1200
+ const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined')
1201
+ ? { register: () => {}, unregister: () => {} }
1202
+ : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr >>> 0, 1));
1203
+ const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined')
1204
+ ? { register: () => {}, unregister: () => {} }
1205
+ : new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr >>> 0, 1));
1206
+ const ListenerIdFinalization = (typeof FinalizationRegistry === 'undefined')
1207
+ ? { register: () => {}, unregister: () => {} }
1208
+ : new FinalizationRegistry(ptr => wasm.__wbg_listenerid_free(ptr >>> 0, 1));
1209
+ const NetConfFinalization = (typeof FinalizationRegistry === 'undefined')
1210
+ ? { register: () => {}, unregister: () => {} }
1211
+ : new FinalizationRegistry(ptr => wasm.__wbg_netconf_free(ptr >>> 0, 1));
1212
+ const RealmIDFinalization = (typeof FinalizationRegistry === 'undefined')
1213
+ ? { register: () => {}, unregister: () => {} }
1214
+ : new FinalizationRegistry(ptr => wasm.__wbg_realmid_free(ptr >>> 0, 1));
1215
+
1216
+ function addToExternrefTable0(obj) {
1217
+ const idx = wasm.__externref_table_alloc();
1218
+ wasm.__wbindgen_externrefs.set(idx, obj);
1219
+ return idx;
1220
+ }
1221
+
1222
+ function _assertClass(instance, klass) {
1223
+ if (!(instance instanceof klass)) {
1224
+ throw new Error(`expected instance of ${klass.name}`);
1225
+ }
1226
+ }
1227
+
1228
+ const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
1229
+ ? { register: () => {}, unregister: () => {} }
1230
+ : new FinalizationRegistry(state => state.dtor(state.a, state.b));
1231
+
1232
+ function debugString(val) {
1233
+ // primitive types
1234
+ const type = typeof val;
1235
+ if (type == 'number' || type == 'boolean' || val == null) {
1236
+ return `${val}`;
1237
+ }
1238
+ if (type == 'string') {
1239
+ return `"${val}"`;
1240
+ }
1241
+ if (type == 'symbol') {
1242
+ const description = val.description;
1243
+ if (description == null) {
1244
+ return 'Symbol';
1245
+ } else {
1246
+ return `Symbol(${description})`;
1247
+ }
1248
+ }
1249
+ if (type == 'function') {
1250
+ const name = val.name;
1251
+ if (typeof name == 'string' && name.length > 0) {
1252
+ return `Function(${name})`;
1253
+ } else {
1254
+ return 'Function';
1255
+ }
1256
+ }
1257
+ // objects
1258
+ if (Array.isArray(val)) {
1259
+ const length = val.length;
1260
+ let debug = '[';
1261
+ if (length > 0) {
1262
+ debug += debugString(val[0]);
1263
+ }
1264
+ for(let i = 1; i < length; i++) {
1265
+ debug += ', ' + debugString(val[i]);
1266
+ }
1267
+ debug += ']';
1268
+ return debug;
1269
+ }
1270
+ // Test for built-in
1271
+ const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
1272
+ let className;
1273
+ if (builtInMatches && builtInMatches.length > 1) {
1274
+ className = builtInMatches[1];
1275
+ } else {
1276
+ // Failed to match the standard '[object ClassName]'
1277
+ return toString.call(val);
1278
+ }
1279
+ if (className == 'Object') {
1280
+ // we're a user defined class or Object
1281
+ // JSON.stringify avoids problems with cycles, and is generally much
1282
+ // easier than looping through ownProperties of `val`.
1283
+ try {
1284
+ return 'Object(' + JSON.stringify(val) + ')';
1285
+ } catch (_) {
1286
+ return 'Object';
1287
+ }
1288
+ }
1289
+ // errors
1290
+ if (val instanceof Error) {
1291
+ return `${val.name}: ${val.message}\n${val.stack}`;
1292
+ }
1293
+ // TODO we could test for more things here, like `Set`s and `Map`s.
1294
+ return className;
1295
+ }
1296
+
1297
+ function getArrayJsValueFromWasm0(ptr, len) {
1298
+ ptr = ptr >>> 0;
1299
+ const mem = getDataViewMemory0();
1300
+ const result = [];
1301
+ for (let i = ptr; i < ptr + 4 * len; i += 4) {
1302
+ result.push(wasm.__wbindgen_externrefs.get(mem.getUint32(i, true)));
1303
+ }
1304
+ wasm.__externref_drop_slice(ptr, len);
1305
+ return result;
1306
+ }
1307
+
1308
+ function getArrayU8FromWasm0(ptr, len) {
1309
+ ptr = ptr >>> 0;
1310
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
1311
+ }
1312
+
1313
+ let cachedDataViewMemory0 = null;
1314
+ function getDataViewMemory0() {
1315
+ if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
1316
+ cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
1317
+ }
1318
+ return cachedDataViewMemory0;
1319
+ }
1320
+
1321
+ function getStringFromWasm0(ptr, len) {
1322
+ ptr = ptr >>> 0;
1323
+ return decodeText(ptr, len);
1324
+ }
1325
+
1326
+ let cachedUint8ArrayMemory0 = null;
1327
+ function getUint8ArrayMemory0() {
1328
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
1329
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
1330
+ }
1331
+ return cachedUint8ArrayMemory0;
1332
+ }
1333
+
1334
+ function handleError(f, args) {
1335
+ try {
1336
+ return f.apply(this, args);
1337
+ } catch (e) {
1338
+ const idx = addToExternrefTable0(e);
1339
+ wasm.__wbindgen_exn_store(idx);
1340
+ }
1341
+ }
1342
+
1343
+ function isLikeNone(x) {
1344
+ return x === undefined || x === null;
1345
+ }
1346
+
1347
+ function makeMutClosure(arg0, arg1, dtor, f) {
1348
+ const state = { a: arg0, b: arg1, cnt: 1, dtor };
1349
+ const real = (...args) => {
1350
+
1351
+ // First up with a closure we increment the internal reference
1352
+ // count. This ensures that the Rust closure environment won't
1353
+ // be deallocated while we're invoking it.
1354
+ state.cnt++;
1355
+ const a = state.a;
1356
+ state.a = 0;
1357
+ try {
1358
+ return f(a, state.b, ...args);
1359
+ } finally {
1360
+ state.a = a;
1361
+ real._wbg_cb_unref();
1362
+ }
1363
+ };
1364
+ real._wbg_cb_unref = () => {
1365
+ if (--state.cnt === 0) {
1366
+ state.dtor(state.a, state.b);
1367
+ state.a = 0;
1368
+ CLOSURE_DTORS.unregister(state);
1369
+ }
1370
+ };
1371
+ CLOSURE_DTORS.register(real, state, state);
1372
+ return real;
1373
+ }
1374
+
1375
+ function passStringToWasm0(arg, malloc, realloc) {
1376
+ if (realloc === undefined) {
1377
+ const buf = cachedTextEncoder.encode(arg);
1378
+ const ptr = malloc(buf.length, 1) >>> 0;
1379
+ getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
1380
+ WASM_VECTOR_LEN = buf.length;
1381
+ return ptr;
1382
+ }
1383
+
1384
+ let len = arg.length;
1385
+ let ptr = malloc(len, 1) >>> 0;
1386
+
1387
+ const mem = getUint8ArrayMemory0();
1388
+
1389
+ let offset = 0;
1390
+
1391
+ for (; offset < len; offset++) {
1392
+ const code = arg.charCodeAt(offset);
1393
+ if (code > 0x7F) break;
1394
+ mem[ptr + offset] = code;
1395
+ }
1396
+ if (offset !== len) {
1397
+ if (offset !== 0) {
1398
+ arg = arg.slice(offset);
1399
+ }
1400
+ ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
1401
+ const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
1402
+ const ret = cachedTextEncoder.encodeInto(arg, view);
1403
+
1404
+ offset += ret.written;
1405
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
1406
+ }
1407
+
1408
+ WASM_VECTOR_LEN = offset;
1409
+ return ptr;
1410
+ }
1411
+
1412
+ function takeFromExternrefTable0(idx) {
1413
+ const value = wasm.__wbindgen_externrefs.get(idx);
1414
+ wasm.__externref_table_dealloc(idx);
1415
+ return value;
1416
+ }
1417
+
1418
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
1419
+ cachedTextDecoder.decode();
1420
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
1421
+ let numBytesDecoded = 0;
1422
+ function decodeText(ptr, len) {
1423
+ numBytesDecoded += len;
1424
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
1425
+ cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
1426
+ cachedTextDecoder.decode();
1427
+ numBytesDecoded = len;
1428
+ }
1429
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
1430
+ }
1431
+
1432
+ const cachedTextEncoder = new TextEncoder();
1433
+
1434
+ if (!('encodeInto' in cachedTextEncoder)) {
1435
+ cachedTextEncoder.encodeInto = function (arg, view) {
1436
+ const buf = cachedTextEncoder.encode(arg);
1437
+ view.set(buf);
1438
+ return {
1439
+ read: arg.length,
1440
+ written: buf.length
1441
+ };
1442
+ };
1443
+ }
1444
+
1445
+ let WASM_VECTOR_LEN = 0;
1446
+
1447
+ let wasmModule, wasm;
1448
+ function __wbg_finalize_init(instance, module) {
1449
+ wasm = instance.exports;
1450
+ wasmModule = module;
1451
+ cachedDataViewMemory0 = null;
1452
+ cachedUint8ArrayMemory0 = null;
1453
+ wasm.__wbindgen_start();
1454
+ return wasm;
1455
+ }
1456
+
1457
+ async function __wbg_load(module, imports) {
1458
+ if (typeof Response === 'function' && module instanceof Response) {
1459
+ if (typeof WebAssembly.instantiateStreaming === 'function') {
1460
+ try {
1461
+ return await WebAssembly.instantiateStreaming(module, imports);
1462
+ } catch (e) {
1463
+ const validResponse = module.ok && expectedResponseType(module.type);
1464
+
1465
+ if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
1466
+ console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
1467
+
1468
+ } else { throw e; }
1469
+ }
1470
+ }
1471
+
1472
+ const bytes = await module.arrayBuffer();
1473
+ return await WebAssembly.instantiate(bytes, imports);
1474
+ } else {
1475
+ const instance = await WebAssembly.instantiate(module, imports);
1476
+
1477
+ if (instance instanceof WebAssembly.Instance) {
1478
+ return { instance, module };
1479
+ } else {
1480
+ return instance;
1481
+ }
1482
+ }
1483
+
1484
+ function expectedResponseType(type) {
1485
+ switch (type) {
1486
+ case 'basic': case 'cors': case 'default': return true;
1487
+ }
1488
+ return false;
1489
+ }
1490
+ }
1491
+
1492
+ function initSync(module) {
1493
+ if (wasm !== undefined) return wasm;
1494
+
1495
+
1496
+ if (module !== undefined) {
1497
+ if (Object.getPrototypeOf(module) === Object.prototype) {
1498
+ ({module} = module)
1499
+ } else {
1500
+ console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
1501
+ }
1502
+ }
1503
+
1504
+ const imports = __wbg_get_imports();
1505
+ if (!(module instanceof WebAssembly.Module)) {
1506
+ module = new WebAssembly.Module(module);
1507
+ }
1508
+ const instance = new WebAssembly.Instance(module, imports);
1509
+ return __wbg_finalize_init(instance, module);
1510
+ }
1511
+
1512
+ async function __wbg_init(module_or_path) {
1513
+ if (wasm !== undefined) return wasm;
1514
+
1515
+
1516
+ if (module_or_path !== undefined) {
1517
+ if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
1518
+ ({module_or_path} = module_or_path)
1519
+ } else {
1520
+ console.warn('using deprecated parameters for the initialization function; pass a single object instead')
1521
+ }
1522
+ }
1523
+
1524
+ if (module_or_path === undefined) {
1525
+ module_or_path = new URL('flbrowser_core_bg.wasm', import.meta.url);
1526
+ }
1527
+ const imports = __wbg_get_imports();
1528
+
1529
+ if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
1530
+ module_or_path = fetch(module_or_path);
1531
+ }
1532
+
1533
+ const { instance, module } = await __wbg_load(await module_or_path, imports);
1534
+
1535
+ return __wbg_finalize_init(instance, module);
1536
+ }
1537
+
1538
+ export { initSync, __wbg_init as default };