@unyt/datex 0.0.10 → 0.0.11

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.
Files changed (45) hide show
  1. package/esm/datex-core/datex_core_js.internal.d.ts +255 -271
  2. package/esm/datex-core/datex_core_js.internal.d.ts.map +1 -1
  3. package/esm/datex-core/datex_core_js.internal.js +595 -558
  4. package/esm/datex-core/datex_core_js.wasm +0 -0
  5. package/esm/deno.json +5 -3
  6. package/esm/dif/core.d.ts +5 -3
  7. package/esm/dif/core.d.ts.map +1 -1
  8. package/esm/dif/core.js +7 -5
  9. package/esm/dif/definitions.d.ts +45 -34
  10. package/esm/dif/definitions.d.ts.map +1 -1
  11. package/esm/dif/definitions.js +14 -9
  12. package/esm/dif/dif-handler.d.ts +125 -34
  13. package/esm/dif/dif-handler.d.ts.map +1 -1
  14. package/esm/dif/dif-handler.js +366 -159
  15. package/esm/dif/display.d.ts +3 -3
  16. package/esm/dif/display.d.ts.map +1 -1
  17. package/esm/dif/display.js +5 -5
  18. package/esm/dif/js-lib.d.ts +8 -0
  19. package/esm/dif/js-lib.d.ts.map +1 -0
  20. package/esm/dif/js-lib.js +3 -0
  21. package/esm/dif/mod.d.ts +0 -1
  22. package/esm/dif/mod.d.ts.map +1 -1
  23. package/esm/dif/mod.js +0 -1
  24. package/esm/dif/type-registry.d.ts +80 -0
  25. package/esm/dif/type-registry.d.ts.map +1 -0
  26. package/esm/dif/type-registry.js +166 -0
  27. package/esm/global.d.ts +2 -0
  28. package/esm/global.d.ts.map +1 -0
  29. package/esm/global.js +1 -0
  30. package/esm/{runtime/special-core-types.d.ts → lib/special-core-types/endpoint.d.ts} +1 -1
  31. package/esm/lib/special-core-types/endpoint.d.ts.map +1 -0
  32. package/esm/refs/ref.d.ts.map +1 -1
  33. package/esm/refs/ref.js +1 -2
  34. package/esm/runtime/runtime.d.ts +19 -49
  35. package/esm/runtime/runtime.d.ts.map +1 -1
  36. package/esm/runtime/runtime.js +32 -7
  37. package/esm/utils/exceptions.d.ts +4 -0
  38. package/esm/utils/exceptions.d.ts.map +1 -0
  39. package/esm/utils/exceptions.js +9 -0
  40. package/package.json +1 -1
  41. package/esm/dif/builders.d.ts +0 -16
  42. package/esm/dif/builders.d.ts.map +0 -1
  43. package/esm/dif/builders.js +0 -28
  44. package/esm/runtime/special-core-types.d.ts.map +0 -1
  45. /package/esm/{runtime/special-core-types.js → lib/special-core-types/endpoint.js} +0 -0
@@ -15,10 +15,7 @@ function getUint8ArrayMemory0() {
15
15
  }
16
16
  return cachedUint8ArrayMemory0;
17
17
  }
18
- const lTextDecoder = typeof TextDecoder === "undefined"
19
- ? (0, module.require)("util").TextDecoder
20
- : TextDecoder;
21
- let cachedTextDecoder = new lTextDecoder("utf-8", {
18
+ let cachedTextDecoder = new TextDecoder("utf-8", {
22
19
  ignoreBOM: true,
23
20
  fatal: true,
24
21
  });
@@ -28,7 +25,7 @@ let numBytesDecoded = 0;
28
25
  function decodeText(ptr, len) {
29
26
  numBytesDecoded += len;
30
27
  if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
31
- cachedTextDecoder = new lTextDecoder("utf-8", {
28
+ cachedTextDecoder = new TextDecoder("utf-8", {
32
29
  ignoreBOM: true,
33
30
  fatal: true,
34
31
  });
@@ -42,15 +39,9 @@ function getStringFromWasm0(ptr, len) {
42
39
  return decodeText(ptr, len);
43
40
  }
44
41
  let WASM_VECTOR_LEN = 0;
45
- const lTextEncoder = typeof TextEncoder === "undefined"
46
- ? (0, module.require)("util").TextEncoder
47
- : TextEncoder;
48
- const cachedTextEncoder = new lTextEncoder("utf-8");
49
- const encodeString = typeof cachedTextEncoder.encodeInto === "function"
50
- ? function (arg, view) {
51
- return cachedTextEncoder.encodeInto(arg, view);
52
- }
53
- : function (arg, view) {
42
+ const cachedTextEncoder = new TextEncoder();
43
+ if (!("encodeInto" in cachedTextEncoder)) {
44
+ cachedTextEncoder.encodeInto = function (arg, view) {
54
45
  const buf = cachedTextEncoder.encode(arg);
55
46
  view.set(buf);
56
47
  return {
@@ -58,6 +49,7 @@ const encodeString = typeof cachedTextEncoder.encodeInto === "function"
58
49
  written: buf.length,
59
50
  };
60
51
  };
52
+ }
61
53
  function passStringToWasm0(arg, malloc, realloc) {
62
54
  if (realloc === undefined) {
63
55
  const buf = cachedTextEncoder.encode(arg);
@@ -82,7 +74,7 @@ function passStringToWasm0(arg, malloc, realloc) {
82
74
  }
83
75
  ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
84
76
  const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
85
- const ret = encodeString(arg, view);
77
+ const ret = cachedTextEncoder.encodeInto(arg, view);
86
78
  offset += ret.written;
87
79
  ptr = realloc(ptr, len, offset, 1) >>> 0;
88
80
  }
@@ -99,27 +91,9 @@ function getDataViewMemory0() {
99
91
  }
100
92
  return cachedDataViewMemory0;
101
93
  }
102
- function addToExternrefTable0(obj) {
103
- const idx = wasm.__externref_table_alloc();
104
- wasm.__wbindgen_export_4.set(idx, obj);
105
- return idx;
106
- }
107
- function handleError(f, args) {
108
- try {
109
- return f.apply(this, args);
110
- }
111
- catch (e) {
112
- const idx = addToExternrefTable0(e);
113
- wasm.__wbindgen_exn_store(idx);
114
- }
115
- }
116
94
  function isLikeNone(x) {
117
95
  return x === undefined || x === null;
118
96
  }
119
- function getArrayU8FromWasm0(ptr, len) {
120
- ptr = ptr >>> 0;
121
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
122
- }
123
97
  function debugString(val) {
124
98
  // primitive types
125
99
  const type = typeof val;
@@ -188,11 +162,27 @@ function debugString(val) {
188
162
  // TODO we could test for more things here, like `Set`s and `Map`s.
189
163
  return className;
190
164
  }
165
+ function addToExternrefTable0(obj) {
166
+ const idx = wasm.__externref_table_alloc();
167
+ wasm.__wbindgen_externrefs.set(idx, obj);
168
+ return idx;
169
+ }
170
+ function handleError(f, args) {
171
+ try {
172
+ return f.apply(this, args);
173
+ }
174
+ catch (e) {
175
+ const idx = addToExternrefTable0(e);
176
+ wasm.__wbindgen_exn_store(idx);
177
+ }
178
+ }
179
+ function getArrayU8FromWasm0(ptr, len) {
180
+ ptr = ptr >>> 0;
181
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
182
+ }
191
183
  const CLOSURE_DTORS = (typeof FinalizationRegistry === "undefined")
192
184
  ? { register: () => { }, unregister: () => { } }
193
- : new FinalizationRegistry((state) => {
194
- wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b);
195
- });
185
+ : new FinalizationRegistry((state) => state.dtor(state.a, state.b));
196
186
  function makeMutClosure(arg0, arg1, dtor, f) {
197
187
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
198
188
  const real = (...args) => {
@@ -206,43 +196,65 @@ function makeMutClosure(arg0, arg1, dtor, f) {
206
196
  return f(a, state.b, ...args);
207
197
  }
208
198
  finally {
209
- if (--state.cnt === 0) {
210
- wasm.__wbindgen_export_6.get(state.dtor)(a, state.b);
211
- CLOSURE_DTORS.unregister(state);
212
- }
213
- else {
214
- state.a = a;
215
- }
199
+ state.a = a;
200
+ real._wbg_cb_unref();
201
+ }
202
+ };
203
+ real._wbg_cb_unref = () => {
204
+ if (--state.cnt === 0) {
205
+ state.dtor(state.a, state.b);
206
+ state.a = 0;
207
+ CLOSURE_DTORS.unregister(state);
216
208
  }
217
209
  };
218
- real.original = state;
219
210
  CLOSURE_DTORS.register(real, state, state);
220
211
  return real;
221
212
  }
222
- function takeFromExternrefTable0(idx) {
223
- const value = wasm.__wbindgen_export_4.get(idx);
224
- wasm.__externref_table_dealloc(idx);
225
- return value;
226
- }
227
213
  function passArray8ToWasm0(arg, malloc) {
228
214
  const ptr = malloc(arg.length * 1, 1) >>> 0;
229
215
  getUint8ArrayMemory0().set(arg, ptr / 1);
230
216
  WASM_VECTOR_LEN = arg.length;
231
217
  return ptr;
232
218
  }
219
+ function takeFromExternrefTable0(idx) {
220
+ const value = wasm.__wbindgen_externrefs.get(idx);
221
+ wasm.__externref_table_dealloc(idx);
222
+ return value;
223
+ }
224
+ function getArrayJsValueFromWasm0(ptr, len) {
225
+ ptr = ptr >>> 0;
226
+ const mem = getDataViewMemory0();
227
+ const result = [];
228
+ for (let i = ptr; i < ptr + 4 * len; i += 4) {
229
+ result.push(wasm.__wbindgen_externrefs.get(mem.getUint32(i, true)));
230
+ }
231
+ wasm.__externref_drop_slice(ptr, len);
232
+ return result;
233
+ }
234
+ /**
235
+ * @param {string} config
236
+ * @param {any} debug_flags
237
+ * @returns {JSRuntime}
238
+ */
239
+ export function create_runtime(config, debug_flags) {
240
+ const ptr0 = passStringToWasm0(config, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
241
+ const len0 = WASM_VECTOR_LEN;
242
+ const ret = wasm.create_runtime(ptr0, len0, debug_flags);
243
+ return JSRuntime.__wrap(ret);
244
+ }
233
245
  /**
234
246
  * Executes a Datex script and returns the result as a string.
235
247
  * @param {string} datex_script
236
- * @param {boolean} formatted
248
+ * @param {any} decompile_options
237
249
  * @returns {string}
238
250
  */
239
- export function execute(datex_script, formatted) {
251
+ export function execute(datex_script, decompile_options) {
240
252
  let deferred2_0;
241
253
  let deferred2_1;
242
254
  try {
243
255
  const ptr0 = passStringToWasm0(datex_script, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
244
256
  const len0 = WASM_VECTOR_LEN;
245
- const ret = wasm.execute(ptr0, len0, formatted);
257
+ const ret = wasm.execute(ptr0, len0, decompile_options);
246
258
  deferred2_0 = ret[0];
247
259
  deferred2_1 = ret[1];
248
260
  return getStringFromWasm0(ret[0], ret[1]);
@@ -263,22 +275,6 @@ export function execute_internal(datex_script) {
263
275
  const ret = wasm.execute_internal(ptr0, len0);
264
276
  return ret !== 0;
265
277
  }
266
- /**
267
- * @param {string} config
268
- * @param {any} debug_flags
269
- * @returns {JSRuntime}
270
- */
271
- export function create_runtime(config, debug_flags) {
272
- const ptr0 = passStringToWasm0(config, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
273
- const len0 = WASM_VECTOR_LEN;
274
- const ret = wasm.create_runtime(ptr0, len0, debug_flags);
275
- return JSRuntime.__wrap(ret);
276
- }
277
- function _assertClass(instance, klass) {
278
- if (!(instance instanceof klass)) {
279
- throw new Error(`expected instance of ${klass.name}`);
280
- }
281
- }
282
278
  function passArrayJsValueToWasm0(array, malloc) {
283
279
  const ptr = malloc(array.length * 4, 4) >>> 0;
284
280
  for (let i = 0; i < array.length; i++) {
@@ -288,27 +284,22 @@ function passArrayJsValueToWasm0(array, malloc) {
288
284
  WASM_VECTOR_LEN = array.length;
289
285
  return ptr;
290
286
  }
291
- function getArrayJsValueFromWasm0(ptr, len) {
292
- ptr = ptr >>> 0;
293
- const mem = getDataViewMemory0();
294
- const result = [];
295
- for (let i = ptr; i < ptr + 4 * len; i += 4) {
296
- result.push(wasm.__wbindgen_export_4.get(mem.getUint32(i, true)));
287
+ function _assertClass(instance, klass) {
288
+ if (!(instance instanceof klass)) {
289
+ throw new Error(`expected instance of ${klass.name}`);
297
290
  }
298
- wasm.__externref_drop_slice(ptr, len);
299
- return result;
300
291
  }
301
- function __wbg_adapter_6(arg0, arg1, arg2) {
302
- wasm.closure1523_externref_shim(arg0, arg1, arg2);
292
+ function wasm_bindgen_540158e61e0ad4e1___convert__closures_____invoke___js_sys_841a1ee50d21344a___Uint8Array_____(arg0, arg1, arg2) {
293
+ wasm.wasm_bindgen_540158e61e0ad4e1___convert__closures_____invoke___js_sys_841a1ee50d21344a___Uint8Array_____(arg0, arg1, arg2);
303
294
  }
304
- function __wbg_adapter_11(arg0, arg1) {
305
- wasm.wasm_bindgen__convert__closures_____invoke__hf1f930a523fb34af(arg0, arg1);
295
+ function wasm_bindgen_540158e61e0ad4e1___convert__closures_____invoke______(arg0, arg1) {
296
+ wasm.wasm_bindgen_540158e61e0ad4e1___convert__closures_____invoke______(arg0, arg1);
306
297
  }
307
- function __wbg_adapter_16(arg0, arg1, arg2) {
308
- wasm.closure795_externref_shim(arg0, arg1, arg2);
298
+ function wasm_bindgen_540158e61e0ad4e1___convert__closures_____invoke___wasm_bindgen_540158e61e0ad4e1___JsValue_____(arg0, arg1, arg2) {
299
+ wasm.wasm_bindgen_540158e61e0ad4e1___convert__closures_____invoke___wasm_bindgen_540158e61e0ad4e1___JsValue_____(arg0, arg1, arg2);
309
300
  }
310
- function __wbg_adapter_277(arg0, arg1, arg2, arg3) {
311
- wasm.closure2442_externref_shim(arg0, arg1, arg2, arg3);
301
+ function wasm_bindgen_540158e61e0ad4e1___convert__closures_____invoke___wasm_bindgen_540158e61e0ad4e1___JsValue__wasm_bindgen_540158e61e0ad4e1___JsValue_____(arg0, arg1, arg2, arg3) {
302
+ wasm.wasm_bindgen_540158e61e0ad4e1___convert__closures_____invoke___wasm_bindgen_540158e61e0ad4e1___JsValue__wasm_bindgen_540158e61e0ad4e1___JsValue_____(arg0, arg1, arg2, arg3);
312
303
  }
313
304
  const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
314
305
  const __wbindgen_enum_RtcIceConnectionState = [
@@ -344,6 +335,9 @@ export class BaseJSInterface {
344
335
  wasm.__wbg_basejsinterface_free(ptr, 0);
345
336
  }
346
337
  }
338
+ if (Symbol.dispose) {
339
+ BaseJSInterface.prototype[Symbol.dispose] = BaseJSInterface.prototype.free;
340
+ }
347
341
  const JSComHubFinalization = (typeof FinalizationRegistry === "undefined")
348
342
  ? { register: () => { }, unregister: () => { } }
349
343
  : new FinalizationRegistry((ptr) => wasm.__wbg_jscomhub_free(ptr >>> 0, 1));
@@ -365,94 +359,6 @@ export class JSComHub {
365
359
  const ptr = this.__destroy_into_raw();
366
360
  wasm.__wbg_jscomhub_free(ptr, 0);
367
361
  }
368
- /**
369
- * @param {string} uuid
370
- * @param {Function} func
371
- */
372
- base_interface_on_send(uuid, func) {
373
- const ptr0 = passStringToWasm0(uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
374
- const len0 = WASM_VECTOR_LEN;
375
- const ret = wasm.jscomhub_base_interface_on_send(this.__wbg_ptr, ptr0, len0, func);
376
- if (ret[1]) {
377
- throw takeFromExternrefTable0(ret[0]);
378
- }
379
- }
380
- /**
381
- * @param {string} uuid
382
- * @param {string} socket_uuid
383
- * @param {Uint8Array} data
384
- */
385
- base_interface_receive(uuid, socket_uuid, data) {
386
- const ptr0 = passStringToWasm0(uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
387
- const len0 = WASM_VECTOR_LEN;
388
- const ptr1 = passStringToWasm0(socket_uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
389
- const len1 = WASM_VECTOR_LEN;
390
- const ptr2 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
391
- const len2 = WASM_VECTOR_LEN;
392
- const ret = wasm.jscomhub_base_interface_receive(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
393
- if (ret[1]) {
394
- throw takeFromExternrefTable0(ret[0]);
395
- }
396
- }
397
- /**
398
- * @param {string} uuid
399
- * @param {string} socket_uuid
400
- */
401
- base_interface_destroy_socket(uuid, socket_uuid) {
402
- const ptr0 = passStringToWasm0(uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
403
- const len0 = WASM_VECTOR_LEN;
404
- const ptr1 = passStringToWasm0(socket_uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
405
- const len1 = WASM_VECTOR_LEN;
406
- const ret = wasm.jscomhub_base_interface_destroy_socket(this.__wbg_ptr, ptr0, len0, ptr1, len1);
407
- if (ret[1]) {
408
- throw takeFromExternrefTable0(ret[0]);
409
- }
410
- }
411
- /**
412
- * @param {string} uuid
413
- * @param {string} direction
414
- * @returns {string}
415
- */
416
- base_interface_register_socket(uuid, direction) {
417
- let deferred4_0;
418
- let deferred4_1;
419
- try {
420
- const ptr0 = passStringToWasm0(uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
421
- const len0 = WASM_VECTOR_LEN;
422
- const ptr1 = passStringToWasm0(direction, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
423
- const len1 = WASM_VECTOR_LEN;
424
- const ret = wasm.jscomhub_base_interface_register_socket(this.__wbg_ptr, ptr0, len0, ptr1, len1);
425
- var ptr3 = ret[0];
426
- var len3 = ret[1];
427
- if (ret[3]) {
428
- ptr3 = 0;
429
- len3 = 0;
430
- throw takeFromExternrefTable0(ret[2]);
431
- }
432
- deferred4_0 = ptr3;
433
- deferred4_1 = len3;
434
- return getStringFromWasm0(ptr3, len3);
435
- }
436
- finally {
437
- wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
438
- }
439
- }
440
- /**
441
- * @param {string} uuid
442
- * @param {string} socket_uuid
443
- * @param {Uint8Array} data
444
- * @returns {Promise<boolean>}
445
- */
446
- base_interface_test_send_block(uuid, socket_uuid, data) {
447
- const ptr0 = passStringToWasm0(uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
448
- const len0 = WASM_VECTOR_LEN;
449
- const ptr1 = passStringToWasm0(socket_uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
450
- const len1 = WASM_VECTOR_LEN;
451
- const ptr2 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
452
- const len2 = WASM_VECTOR_LEN;
453
- const ret = wasm.jscomhub_base_interface_test_send_block(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
454
- return ret;
455
- }
456
362
  /**
457
363
  * @param {string} interface_uuid
458
364
  * @param {Uint8Array} answer
@@ -512,45 +418,6 @@ export class JSComHub {
512
418
  const ret = wasm.jscomhub_webrtc_interface_wait_for_connection(this.__wbg_ptr, ptr0, len0);
513
419
  return ret;
514
420
  }
515
- /**
516
- * @param {string} interface_uuid
517
- * @param {Function} on_ice_candidate
518
- */
519
- webrtc_interface_set_on_ice_candidate(interface_uuid, on_ice_candidate) {
520
- const ptr0 = passStringToWasm0(interface_uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
521
- const len0 = WASM_VECTOR_LEN;
522
- const ret = wasm.jscomhub_webrtc_interface_set_on_ice_candidate(this.__wbg_ptr, ptr0, len0, on_ice_candidate);
523
- if (ret[1]) {
524
- throw takeFromExternrefTable0(ret[0]);
525
- }
526
- }
527
- /**
528
- * @param {string} interface_uuid
529
- * @param {WebSocket} websocket
530
- * @returns {string}
531
- */
532
- websocket_server_interface_add_socket(interface_uuid, websocket) {
533
- let deferred3_0;
534
- let deferred3_1;
535
- try {
536
- const ptr0 = passStringToWasm0(interface_uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
537
- const len0 = WASM_VECTOR_LEN;
538
- const ret = wasm.jscomhub_websocket_server_interface_add_socket(this.__wbg_ptr, ptr0, len0, websocket);
539
- var ptr2 = ret[0];
540
- var len2 = ret[1];
541
- if (ret[3]) {
542
- ptr2 = 0;
543
- len2 = 0;
544
- throw takeFromExternrefTable0(ret[2]);
545
- }
546
- deferred3_0 = ptr2;
547
- deferred3_1 = len2;
548
- return getStringFromWasm0(ptr2, len2);
549
- }
550
- finally {
551
- wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
552
- }
553
- }
554
421
  /**
555
422
  * Send a block to the given interface and socket
556
423
  * This does not involve the routing on the ComHub level.
@@ -571,6 +438,35 @@ export class JSComHub {
571
438
  const ret = wasm.jscomhub_send_block(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
572
439
  return ret;
573
440
  }
441
+ /**
442
+ * @param {string} endpoint
443
+ * @returns {Promise<string | undefined>}
444
+ */
445
+ get_trace_string(endpoint) {
446
+ const ptr0 = passStringToWasm0(endpoint, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
447
+ const len0 = WASM_VECTOR_LEN;
448
+ const ret = wasm.jscomhub_get_trace_string(this.__wbg_ptr, ptr0, len0);
449
+ return ret;
450
+ }
451
+ /**
452
+ * @returns {Promise<void>}
453
+ */
454
+ update() {
455
+ const ret = wasm.jscomhub_update(this.__wbg_ptr);
456
+ return ret;
457
+ }
458
+ /**
459
+ * @param {string} interface_uuid
460
+ * @param {Function} on_ice_candidate
461
+ */
462
+ webrtc_interface_set_on_ice_candidate(interface_uuid, on_ice_candidate) {
463
+ const ptr0 = passStringToWasm0(interface_uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
464
+ const len0 = WASM_VECTOR_LEN;
465
+ const ret = wasm.jscomhub_webrtc_interface_set_on_ice_candidate(this.__wbg_ptr, ptr0, len0, on_ice_candidate);
466
+ if (ret[1]) {
467
+ throw takeFromExternrefTable0(ret[0]);
468
+ }
469
+ }
574
470
  /**
575
471
  * @param {string} interface_uuid
576
472
  * @returns {Promise<any>}
@@ -594,16 +490,6 @@ export class JSComHub {
594
490
  const ret = wasm.jscomhub_create_interface(this.__wbg_ptr, ptr0, len0, ptr1, len1);
595
491
  return ret;
596
492
  }
597
- /**
598
- * @param {string} endpoint
599
- * @returns {Promise<string | undefined>}
600
- */
601
- get_trace_string(endpoint) {
602
- const ptr0 = passStringToWasm0(endpoint, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
603
- const len0 = WASM_VECTOR_LEN;
604
- const ret = wasm.jscomhub_get_trace_string(this.__wbg_ptr, ptr0, len0);
605
- return ret;
606
- }
607
493
  /**
608
494
  * @returns {string}
609
495
  */
@@ -645,12 +531,123 @@ export class JSComHub {
645
531
  wasm.jscomhub_register_default_interface_factories(this.__wbg_ptr);
646
532
  }
647
533
  /**
648
- * @returns {Promise<void>}
534
+ * @param {string} uuid
535
+ * @param {string} socket_uuid
536
+ * @param {Uint8Array} data
537
+ * @returns {Promise<boolean>}
649
538
  */
650
- update() {
651
- const ret = wasm.jscomhub_update(this.__wbg_ptr);
539
+ base_interface_test_send_block(uuid, socket_uuid, data) {
540
+ const ptr0 = passStringToWasm0(uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
541
+ const len0 = WASM_VECTOR_LEN;
542
+ const ptr1 = passStringToWasm0(socket_uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
543
+ const len1 = WASM_VECTOR_LEN;
544
+ const ptr2 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
545
+ const len2 = WASM_VECTOR_LEN;
546
+ const ret = wasm.jscomhub_base_interface_test_send_block(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
652
547
  return ret;
653
548
  }
549
+ /**
550
+ * @param {string} uuid
551
+ * @param {Function} func
552
+ */
553
+ base_interface_on_send(uuid, func) {
554
+ const ptr0 = passStringToWasm0(uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
555
+ const len0 = WASM_VECTOR_LEN;
556
+ const ret = wasm.jscomhub_base_interface_on_send(this.__wbg_ptr, ptr0, len0, func);
557
+ if (ret[1]) {
558
+ throw takeFromExternrefTable0(ret[0]);
559
+ }
560
+ }
561
+ /**
562
+ * @param {string} uuid
563
+ * @param {string} socket_uuid
564
+ * @param {Uint8Array} data
565
+ */
566
+ base_interface_receive(uuid, socket_uuid, data) {
567
+ const ptr0 = passStringToWasm0(uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
568
+ const len0 = WASM_VECTOR_LEN;
569
+ const ptr1 = passStringToWasm0(socket_uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
570
+ const len1 = WASM_VECTOR_LEN;
571
+ const ptr2 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
572
+ const len2 = WASM_VECTOR_LEN;
573
+ const ret = wasm.jscomhub_base_interface_receive(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
574
+ if (ret[1]) {
575
+ throw takeFromExternrefTable0(ret[0]);
576
+ }
577
+ }
578
+ /**
579
+ * @param {string} uuid
580
+ * @param {string} socket_uuid
581
+ */
582
+ base_interface_destroy_socket(uuid, socket_uuid) {
583
+ const ptr0 = passStringToWasm0(uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
584
+ const len0 = WASM_VECTOR_LEN;
585
+ const ptr1 = passStringToWasm0(socket_uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
586
+ const len1 = WASM_VECTOR_LEN;
587
+ const ret = wasm.jscomhub_base_interface_destroy_socket(this.__wbg_ptr, ptr0, len0, ptr1, len1);
588
+ if (ret[1]) {
589
+ throw takeFromExternrefTable0(ret[0]);
590
+ }
591
+ }
592
+ /**
593
+ * @param {string} uuid
594
+ * @param {string} direction
595
+ * @returns {string}
596
+ */
597
+ base_interface_register_socket(uuid, direction) {
598
+ let deferred4_0;
599
+ let deferred4_1;
600
+ try {
601
+ const ptr0 = passStringToWasm0(uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
602
+ const len0 = WASM_VECTOR_LEN;
603
+ const ptr1 = passStringToWasm0(direction, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
604
+ const len1 = WASM_VECTOR_LEN;
605
+ const ret = wasm.jscomhub_base_interface_register_socket(this.__wbg_ptr, ptr0, len0, ptr1, len1);
606
+ var ptr3 = ret[0];
607
+ var len3 = ret[1];
608
+ if (ret[3]) {
609
+ ptr3 = 0;
610
+ len3 = 0;
611
+ throw takeFromExternrefTable0(ret[2]);
612
+ }
613
+ deferred4_0 = ptr3;
614
+ deferred4_1 = len3;
615
+ return getStringFromWasm0(ptr3, len3);
616
+ }
617
+ finally {
618
+ wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
619
+ }
620
+ }
621
+ /**
622
+ * @param {string} interface_uuid
623
+ * @param {WebSocket} websocket
624
+ * @returns {string}
625
+ */
626
+ websocket_server_interface_add_socket(interface_uuid, websocket) {
627
+ let deferred3_0;
628
+ let deferred3_1;
629
+ try {
630
+ const ptr0 = passStringToWasm0(interface_uuid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
631
+ const len0 = WASM_VECTOR_LEN;
632
+ const ret = wasm.jscomhub_websocket_server_interface_add_socket(this.__wbg_ptr, ptr0, len0, websocket);
633
+ var ptr2 = ret[0];
634
+ var len2 = ret[1];
635
+ if (ret[3]) {
636
+ ptr2 = 0;
637
+ len2 = 0;
638
+ throw takeFromExternrefTable0(ret[2]);
639
+ }
640
+ deferred3_0 = ptr2;
641
+ deferred3_1 = len2;
642
+ return getStringFromWasm0(ptr2, len2);
643
+ }
644
+ finally {
645
+ wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
646
+ }
647
+ }
648
+ }
649
+ if (Symbol.dispose) {
650
+ JSComHub.prototype[Symbol.dispose] = JSComHub.prototype.free;
654
651
  }
655
652
  const JSPointerFinalization = (typeof FinalizationRegistry === "undefined")
656
653
  ? { register: () => { }, unregister: () => { } }
@@ -667,6 +664,9 @@ export class JSPointer {
667
664
  wasm.__wbg_jspointer_free(ptr, 0);
668
665
  }
669
666
  }
667
+ if (Symbol.dispose) {
668
+ JSPointer.prototype[Symbol.dispose] = JSPointer.prototype.free;
669
+ }
670
670
  const JSRuntimeFinalization = (typeof FinalizationRegistry === "undefined")
671
671
  ? { register: () => { }, unregister: () => { } }
672
672
  : new FinalizationRegistry((ptr) => wasm.__wbg_jsruntime_free(ptr >>> 0, 1));
@@ -688,6 +688,58 @@ export class JSRuntime {
688
688
  const ptr = this.__destroy_into_raw();
689
689
  wasm.__wbg_jsruntime_free(ptr, 0);
690
690
  }
691
+ /**
692
+ * @returns {Promise<Promise<any>>}
693
+ */
694
+ crypto_test_tmp() {
695
+ const ret = wasm.jsruntime_crypto_test_tmp(this.__wbg_ptr);
696
+ return ret;
697
+ }
698
+ /**
699
+ * @param {string} script
700
+ * @param {any[] | null | undefined} dif_values
701
+ * @param {any} decompile_options
702
+ * @returns {Promise<string>}
703
+ */
704
+ execute_with_string_result(script, dif_values, decompile_options) {
705
+ const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
706
+ const len0 = WASM_VECTOR_LEN;
707
+ var ptr1 = isLikeNone(dif_values)
708
+ ? 0
709
+ : passArrayJsValueToWasm0(dif_values, wasm.__wbindgen_malloc);
710
+ var len1 = WASM_VECTOR_LEN;
711
+ const ret = wasm.jsruntime_execute_with_string_result(this.__wbg_ptr, ptr0, len0, ptr1, len1, decompile_options);
712
+ return ret;
713
+ }
714
+ /**
715
+ * @returns {Promise<void>}
716
+ */
717
+ _stop() {
718
+ const ret = wasm.jsruntime__stop(this.__wbg_ptr);
719
+ return ret;
720
+ }
721
+ /**
722
+ * @returns {Promise<void>}
723
+ */
724
+ start() {
725
+ const ret = wasm.jsruntime_start(this.__wbg_ptr);
726
+ return ret;
727
+ }
728
+ /**
729
+ * @param {string} script
730
+ * @param {any[] | null} [dif_values]
731
+ * @returns {Promise<any>}
732
+ */
733
+ execute(script, dif_values) {
734
+ const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
735
+ const len0 = WASM_VECTOR_LEN;
736
+ var ptr1 = isLikeNone(dif_values)
737
+ ? 0
738
+ : passArrayJsValueToWasm0(dif_values, wasm.__wbindgen_malloc);
739
+ var len1 = WASM_VECTOR_LEN;
740
+ const ret = wasm.jsruntime_execute(this.__wbg_ptr, ptr0, len0, ptr1, len1);
741
+ return ret;
742
+ }
691
743
  /**
692
744
  * @returns {JSComHub}
693
745
  */
@@ -738,13 +790,6 @@ export class JSRuntime {
738
790
  wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
739
791
  return v3;
740
792
  }
741
- /**
742
- * @returns {Promise<Promise<any>>}
743
- */
744
- crypto_test_tmp() {
745
- const ret = wasm.jsruntime_crypto_test_tmp(this.__wbg_ptr);
746
- return ret;
747
- }
748
793
  /**
749
794
  * @param {any} dif_value
750
795
  * @param {any} decompile_options
@@ -757,34 +802,18 @@ export class JSRuntime {
757
802
  const ret = wasm.jsruntime_value_to_string(this.__wbg_ptr, dif_value, decompile_options);
758
803
  var ptr1 = ret[0];
759
804
  var len1 = ret[1];
760
- if (ret[3]) {
761
- ptr1 = 0;
762
- len1 = 0;
763
- throw takeFromExternrefTable0(ret[2]);
764
- }
765
- deferred2_0 = ptr1;
766
- deferred2_1 = len1;
767
- return getStringFromWasm0(ptr1, len1);
768
- }
769
- finally {
770
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
771
- }
772
- }
773
- /**
774
- * @param {string} script
775
- * @param {any[] | null | undefined} dif_values
776
- * @param {any} decompile_options
777
- * @returns {Promise<string>}
778
- */
779
- execute_with_string_result(script, dif_values, decompile_options) {
780
- const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
781
- const len0 = WASM_VECTOR_LEN;
782
- var ptr1 = isLikeNone(dif_values)
783
- ? 0
784
- : passArrayJsValueToWasm0(dif_values, wasm.__wbindgen_malloc);
785
- var len1 = WASM_VECTOR_LEN;
786
- const ret = wasm.jsruntime_execute_with_string_result(this.__wbg_ptr, ptr0, len0, ptr1, len1, decompile_options);
787
- return ret;
805
+ if (ret[3]) {
806
+ ptr1 = 0;
807
+ len1 = 0;
808
+ throw takeFromExternrefTable0(ret[2]);
809
+ }
810
+ deferred2_0 = ptr1;
811
+ deferred2_1 = len1;
812
+ return getStringFromWasm0(ptr1, len1);
813
+ }
814
+ finally {
815
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
816
+ }
788
817
  }
789
818
  /**
790
819
  * @param {string} script
@@ -826,35 +855,6 @@ export class JSRuntime {
826
855
  const ret = wasm.jsruntime_dif(this.__wbg_ptr);
827
856
  return RuntimeDIFHandle.__wrap(ret);
828
857
  }
829
- /**
830
- * @returns {Promise<void>}
831
- */
832
- _stop() {
833
- const ret = wasm.jsruntime__stop(this.__wbg_ptr);
834
- return ret;
835
- }
836
- /**
837
- * @returns {Promise<void>}
838
- */
839
- start() {
840
- const ret = wasm.jsruntime_start(this.__wbg_ptr);
841
- return ret;
842
- }
843
- /**
844
- * @param {string} script
845
- * @param {any[] | null} [dif_values]
846
- * @returns {Promise<any>}
847
- */
848
- execute(script, dif_values) {
849
- const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
850
- const len0 = WASM_VECTOR_LEN;
851
- var ptr1 = isLikeNone(dif_values)
852
- ? 0
853
- : passArrayJsValueToWasm0(dif_values, wasm.__wbindgen_malloc);
854
- var len1 = WASM_VECTOR_LEN;
855
- const ret = wasm.jsruntime_execute(this.__wbg_ptr, ptr0, len0, ptr1, len1);
856
- return ret;
857
- }
858
858
  /**
859
859
  * @returns {string}
860
860
  */
@@ -887,6 +887,18 @@ export class JSRuntime {
887
887
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
888
888
  }
889
889
  }
890
+ /**
891
+ * Start the LSP server, returning a JS function to send messages to Rust
892
+ * @param {Function} send_to_js
893
+ * @returns {Function}
894
+ */
895
+ start_lsp(send_to_js) {
896
+ const ret = wasm.jsruntime_start_lsp(this.__wbg_ptr, send_to_js);
897
+ return ret;
898
+ }
899
+ }
900
+ if (Symbol.dispose) {
901
+ JSRuntime.prototype[Symbol.dispose] = JSRuntime.prototype.free;
890
902
  }
891
903
  const RuntimeDIFHandleFinalization = (typeof FinalizationRegistry === "undefined")
892
904
  ? { register: () => { }, unregister: () => { } }
@@ -1032,6 +1044,10 @@ export class RuntimeDIFHandle {
1032
1044
  }
1033
1045
  }
1034
1046
  }
1047
+ if (Symbol.dispose) {
1048
+ RuntimeDIFHandle.prototype[Symbol.dispose] =
1049
+ RuntimeDIFHandle.prototype.free;
1050
+ }
1035
1051
  const WebSocketServerRegistryFinalization = (typeof FinalizationRegistry === "undefined")
1036
1052
  ? { register: () => { }, unregister: () => { } }
1037
1053
  : new FinalizationRegistry((ptr) => wasm.__wbg_websocketserverregistry_free(ptr >>> 0, 1));
@@ -1057,10 +1073,18 @@ export class WebSocketServerRegistry {
1057
1073
  return ret;
1058
1074
  }
1059
1075
  }
1060
- export function __wbg_Error_90f14b053b2af32f(arg0, arg1) {
1076
+ if (Symbol.dispose) {
1077
+ WebSocketServerRegistry.prototype[Symbol.dispose] =
1078
+ WebSocketServerRegistry.prototype.free;
1079
+ }
1080
+ export function __wbg_Error_e83987f665cf5504(arg0, arg1) {
1061
1081
  const ret = Error(getStringFromWasm0(arg0, arg1));
1062
1082
  return ret;
1063
1083
  }
1084
+ export function __wbg_Number_bb48ca12f395cd08(arg0) {
1085
+ const ret = Number(arg0);
1086
+ return ret;
1087
+ }
1064
1088
  export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
1065
1089
  const ret = String(arg1);
1066
1090
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -1068,50 +1092,127 @@ export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
1068
1092
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1069
1093
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1070
1094
  }
1071
- export function __wbg_addIceCandidate_d30d0ef80c221bbc(arg0, arg1) {
1095
+ export function __wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd(arg0, arg1) {
1096
+ const v = arg1;
1097
+ const ret = typeof v === "bigint" ? v : undefined;
1098
+ getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
1099
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1100
+ }
1101
+ export function __wbg___wbindgen_boolean_get_6d5a1ee65bab5f68(arg0) {
1102
+ const v = arg0;
1103
+ const ret = typeof v === "boolean" ? v : undefined;
1104
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
1105
+ }
1106
+ export function __wbg___wbindgen_debug_string_df47ffb5e35e6763(arg0, arg1) {
1107
+ const ret = debugString(arg1);
1108
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1109
+ const len1 = WASM_VECTOR_LEN;
1110
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1111
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1112
+ }
1113
+ export function __wbg___wbindgen_in_bb933bd9e1b3bc0f(arg0, arg1) {
1114
+ const ret = arg0 in arg1;
1115
+ return ret;
1116
+ }
1117
+ export function __wbg___wbindgen_is_bigint_cb320707dcd35f0b(arg0) {
1118
+ const ret = typeof arg0 === "bigint";
1119
+ return ret;
1120
+ }
1121
+ export function __wbg___wbindgen_is_function_ee8a6c5833c90377(arg0) {
1122
+ const ret = typeof arg0 === "function";
1123
+ return ret;
1124
+ }
1125
+ export function __wbg___wbindgen_is_null_5e69f72e906cc57c(arg0) {
1126
+ const ret = arg0 === null;
1127
+ return ret;
1128
+ }
1129
+ export function __wbg___wbindgen_is_object_c818261d21f283a4(arg0) {
1130
+ const val = arg0;
1131
+ const ret = typeof val === "object" && val !== null;
1132
+ return ret;
1133
+ }
1134
+ export function __wbg___wbindgen_is_string_fbb76cb2940daafd(arg0) {
1135
+ const ret = typeof arg0 === "string";
1136
+ return ret;
1137
+ }
1138
+ export function __wbg___wbindgen_is_undefined_2d472862bd29a478(arg0) {
1139
+ const ret = arg0 === undefined;
1140
+ return ret;
1141
+ }
1142
+ export function __wbg___wbindgen_jsval_eq_6b13ab83478b1c50(arg0, arg1) {
1143
+ const ret = arg0 === arg1;
1144
+ return ret;
1145
+ }
1146
+ export function __wbg___wbindgen_jsval_loose_eq_b664b38a2f582147(arg0, arg1) {
1147
+ const ret = arg0 == arg1;
1148
+ return ret;
1149
+ }
1150
+ export function __wbg___wbindgen_number_get_a20bf9b85341449d(arg0, arg1) {
1151
+ const obj = arg1;
1152
+ const ret = typeof obj === "number" ? obj : undefined;
1153
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
1154
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1155
+ }
1156
+ export function __wbg___wbindgen_string_get_e4f06c90489ad01b(arg0, arg1) {
1157
+ const obj = arg1;
1158
+ const ret = typeof obj === "string" ? obj : undefined;
1159
+ var ptr1 = isLikeNone(ret)
1160
+ ? 0
1161
+ : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1162
+ var len1 = WASM_VECTOR_LEN;
1163
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1164
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1165
+ }
1166
+ export function __wbg___wbindgen_throw_b855445ff6a94295(arg0, arg1) {
1167
+ throw new Error(getStringFromWasm0(arg0, arg1));
1168
+ }
1169
+ export function __wbg__wbg_cb_unref_2454a539ea5790d9(arg0) {
1170
+ arg0._wbg_cb_unref();
1171
+ }
1172
+ export function __wbg_addIceCandidate_640e0bb689123302(arg0, arg1) {
1072
1173
  const ret = arg0.addIceCandidate(arg1);
1073
1174
  return ret;
1074
1175
  }
1075
- export function __wbg_buffer_4306305a9644b7a1(arg0) {
1176
+ export function __wbg_buffer_ccc4520b36d3ccf4(arg0) {
1076
1177
  const ret = arg0.buffer;
1077
1178
  return ret;
1078
1179
  }
1079
- export function __wbg_call_0ba5f27818746ea4() {
1180
+ export function __wbg_call_357bb72daee10695() {
1080
1181
  return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1081
1182
  const ret = arg0.call(arg1, arg2, arg3, arg4);
1082
1183
  return ret;
1083
1184
  }, arguments);
1084
1185
  }
1085
- export function __wbg_call_52af042a326d9b3a() {
1186
+ export function __wbg_call_525440f72fbfc0ea() {
1086
1187
  return handleError(function (arg0, arg1, arg2) {
1087
1188
  const ret = arg0.call(arg1, arg2);
1088
1189
  return ret;
1089
1190
  }, arguments);
1090
1191
  }
1091
- export function __wbg_call_53657fec28b4db96() {
1192
+ export function __wbg_call_e45d2cf9fc925fcf() {
1092
1193
  return handleError(function (arg0, arg1, arg2, arg3) {
1093
1194
  const ret = arg0.call(arg1, arg2, arg3);
1094
1195
  return ret;
1095
1196
  }, arguments);
1096
1197
  }
1097
- export function __wbg_call_90bf4b9978d51034() {
1198
+ export function __wbg_call_e762c39fa8ea36bf() {
1098
1199
  return handleError(function (arg0, arg1) {
1099
1200
  const ret = arg0.call(arg1);
1100
1201
  return ret;
1101
1202
  }, arguments);
1102
1203
  }
1103
- export function __wbg_candidate_5fae2324e7403dfa(arg0, arg1) {
1204
+ export function __wbg_candidate_481747b2d85374f5(arg0, arg1) {
1104
1205
  const ret = arg1.candidate;
1105
1206
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1106
1207
  const len1 = WASM_VECTOR_LEN;
1107
1208
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1108
1209
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1109
1210
  }
1110
- export function __wbg_candidate_ead596886b0fedfc(arg0) {
1211
+ export function __wbg_candidate_5f937d1d65e47c01(arg0) {
1111
1212
  const ret = arg0.candidate;
1112
1213
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1113
1214
  }
1114
- export function __wbg_channel_61e457f78c31043a(arg0) {
1215
+ export function __wbg_channel_592ae18783344afb(arg0) {
1115
1216
  const ret = arg0.channel;
1116
1217
  return ret;
1117
1218
  }
@@ -1119,66 +1220,72 @@ export function __wbg_clearTimeout_5a54f8841c30079a(arg0) {
1119
1220
  const ret = clearTimeout(arg0);
1120
1221
  return ret;
1121
1222
  }
1122
- export function __wbg_close_638f149c7d475fe2() {
1223
+ export function __wbg_close_398d767f74ef8ed0(arg0) {
1224
+ const ret = arg0.close();
1225
+ return ret;
1226
+ }
1227
+ export function __wbg_close_885e277edf06b3fa() {
1123
1228
  return handleError(function (arg0) {
1124
1229
  arg0.close();
1125
1230
  }, arguments);
1126
1231
  }
1127
- export function __wbg_close_8549dc01dfea7b11(arg0) {
1232
+ export function __wbg_close_edf4a14b3cb82bca(arg0) {
1128
1233
  arg0.close();
1129
1234
  }
1130
- export function __wbg_close_d6a549256eca132f(arg0) {
1131
- const ret = arg0.close();
1132
- return ret;
1133
- }
1134
- export function __wbg_createAnswer_e3e0054dec77805c(arg0) {
1235
+ export function __wbg_createAnswer_572b7c1578f68a31(arg0) {
1135
1236
  const ret = arg0.createAnswer();
1136
1237
  return ret;
1137
1238
  }
1138
- export function __wbg_createDataChannel_056c757d04227abd(arg0, arg1, arg2) {
1239
+ export function __wbg_createDataChannel_2c80fcae96c3f118(arg0, arg1, arg2) {
1139
1240
  const ret = arg0.createDataChannel(getStringFromWasm0(arg1, arg2));
1140
1241
  return ret;
1141
1242
  }
1142
- export function __wbg_createOffer_b38b38d4bfddded6(arg0) {
1243
+ export function __wbg_createOffer_f0003c393c14496b(arg0) {
1143
1244
  const ret = arg0.createOffer();
1144
1245
  return ret;
1145
1246
  }
1146
- export function __wbg_crypto_2c3cb8e5d6218ee2() {
1247
+ export function __wbg_crypto_f5dce82c355d159f() {
1147
1248
  return handleError(function (arg0) {
1148
1249
  const ret = arg0.crypto;
1149
1250
  return ret;
1150
1251
  }, arguments);
1151
1252
  }
1152
- export function __wbg_data_f0e9cb0e6e0623e9(arg0) {
1253
+ export function __wbg_data_ee4306d069f24f2d(arg0) {
1153
1254
  const ret = arg0.data;
1154
1255
  return ret;
1155
1256
  }
1156
- export function __wbg_debug_821a62abfb5c8abe(arg0) {
1257
+ export function __wbg_debug_f4b0c59db649db48(arg0) {
1157
1258
  console.debug(arg0);
1158
1259
  }
1159
- export function __wbg_decrypt_e716369376a7f617() {
1260
+ export function __wbg_decrypt_45277e4601d6ada4() {
1160
1261
  return handleError(function (arg0, arg1, arg2, arg3) {
1161
1262
  const ret = arg0.decrypt(arg1, arg2, arg3);
1162
1263
  return ret;
1163
1264
  }, arguments);
1164
1265
  }
1165
- export function __wbg_deriveBits_1a9edc6089a95027() {
1266
+ export function __wbg_deriveBits_28ff8a809aa473ec() {
1166
1267
  return handleError(function (arg0, arg1, arg2, arg3) {
1167
1268
  const ret = arg0.deriveBits(arg1, arg2, arg3 >>> 0);
1168
1269
  return ret;
1169
1270
  }, arguments);
1170
1271
  }
1171
- export function __wbg_done_73bb10bcf6e0c339(arg0) {
1272
+ export function __wbg_digest_78c58e89f8153afb() {
1273
+ return handleError(function (arg0, arg1, arg2, arg3) {
1274
+ const ret = arg0.digest(arg1, getArrayU8FromWasm0(arg2, arg3));
1275
+ return ret;
1276
+ }, arguments);
1277
+ }
1278
+ export function __wbg_done_2042aa2670fb1db1(arg0) {
1172
1279
  const ret = arg0.done;
1173
1280
  return ret;
1174
1281
  }
1175
- export function __wbg_encrypt_fb74c4ff01001025() {
1282
+ export function __wbg_encrypt_0ceb389496419d4e() {
1176
1283
  return handleError(function (arg0, arg1, arg2, arg3) {
1177
1284
  const ret = arg0.encrypt(arg1, arg2, arg3);
1178
1285
  return ret;
1179
1286
  }, arguments);
1180
1287
  }
1181
- export function __wbg_entries_4f3de4ccde51d587(arg0) {
1288
+ export function __wbg_entries_e171b586f8f6bdbf(arg0) {
1182
1289
  const ret = Object.entries(arg0);
1183
1290
  return ret;
1184
1291
  }
@@ -1194,73 +1301,73 @@ export function __wbg_error_7534b8e9a36f1ab4(arg0, arg1) {
1194
1301
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
1195
1302
  }
1196
1303
  }
1197
- export function __wbg_error_cddcc4ca22b41392(arg0) {
1304
+ export function __wbg_error_a7f8fbb0523dae15(arg0) {
1198
1305
  console.error(arg0);
1199
1306
  }
1200
- export function __wbg_exportKey_f3817c0e47a2214a() {
1307
+ export function __wbg_exportKey_14f4c9c1691e79dc() {
1201
1308
  return handleError(function (arg0, arg1, arg2, arg3) {
1202
1309
  const ret = arg0.exportKey(getStringFromWasm0(arg1, arg2), arg3);
1203
1310
  return ret;
1204
1311
  }, arguments);
1205
1312
  }
1206
- export function __wbg_generateKey_7268fe0931b0d15b() {
1313
+ export function __wbg_generateKey_b0e4794bd9d639b0() {
1207
1314
  return handleError(function (arg0, arg1, arg2, arg3) {
1208
1315
  const ret = arg0.generateKey(arg1, arg2 !== 0, arg3);
1209
1316
  return ret;
1210
1317
  }, arguments);
1211
1318
  }
1212
- export function __wbg_getRandomValues_3619f455599fc471() {
1319
+ export function __wbg_getRandomValues_6357e7b583eb49cc() {
1213
1320
  return handleError(function (arg0, arg1, arg2) {
1214
1321
  const ret = arg0.getRandomValues(getArrayU8FromWasm0(arg1, arg2));
1215
1322
  return ret;
1216
1323
  }, arguments);
1217
1324
  }
1218
- export function __wbg_getReader_7a22d9552d37d984(arg0) {
1325
+ export function __wbg_getReader_15e2d3098e32c359(arg0) {
1219
1326
  const ret = arg0.getReader();
1220
1327
  return ret;
1221
1328
  }
1222
- export function __wbg_getWriter_b5f5e1e223a62f8b() {
1329
+ export function __wbg_getWriter_c891ce50cc187493() {
1223
1330
  return handleError(function (arg0) {
1224
1331
  const ret = arg0.getWriter();
1225
1332
  return ret;
1226
1333
  }, arguments);
1227
1334
  }
1228
- export function __wbg_get_6e64f6b3af0c61a2(arg0, arg1) {
1335
+ export function __wbg_get_7bed016f185add81(arg0, arg1) {
1229
1336
  const ret = arg0[arg1 >>> 0];
1230
1337
  return ret;
1231
1338
  }
1232
- export function __wbg_get_bb21663672334172() {
1339
+ export function __wbg_get_efcb449f58ec27c2() {
1233
1340
  return handleError(function (arg0, arg1) {
1234
1341
  const ret = Reflect.get(arg0, arg1);
1235
1342
  return ret;
1236
1343
  }, arguments);
1237
1344
  }
1238
- export function __wbg_getprivatekey_170ff431c1a416c4(arg0) {
1345
+ export function __wbg_get_private_key_0a3a263ca613b0c0(arg0) {
1239
1346
  const ret = arg0.privateKey;
1240
1347
  return ret;
1241
1348
  }
1242
- export function __wbg_getpublickey_01166b94c1b6c58f(arg0) {
1349
+ export function __wbg_get_public_key_1e2c11d159e34827(arg0) {
1243
1350
  const ret = arg0.publicKey;
1244
1351
  return ret;
1245
1352
  }
1246
- export function __wbg_getwithrefkey_1dc361bd10053bfe(arg0, arg1) {
1353
+ export function __wbg_get_with_ref_key_1dc361bd10053bfe(arg0, arg1) {
1247
1354
  const ret = arg0[arg1];
1248
1355
  return ret;
1249
1356
  }
1250
- export function __wbg_iceConnectionState_0f6070a8df4a7d2a(arg0) {
1357
+ export function __wbg_iceConnectionState_eacc62ca1ef48b7c(arg0) {
1251
1358
  const ret = arg0.iceConnectionState;
1252
1359
  return (__wbindgen_enum_RtcIceConnectionState.indexOf(ret) + 1 || 8) - 1;
1253
1360
  }
1254
- export function __wbg_importKey_74124887ebd6465e() {
1361
+ export function __wbg_importKey_2be19189a1451235() {
1255
1362
  return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
1256
1363
  const ret = arg0.importKey(getStringFromWasm0(arg1, arg2), arg3, arg4, arg5 !== 0, arg6);
1257
1364
  return ret;
1258
1365
  }, arguments);
1259
1366
  }
1260
- export function __wbg_info_3a3a4139acdeb4df(arg0) {
1367
+ export function __wbg_info_e674a11f4f50cc0c(arg0) {
1261
1368
  console.info(arg0);
1262
1369
  }
1263
- export function __wbg_instanceof_ArrayBuffer_625e762023eb35cf(arg0) {
1370
+ export function __wbg_instanceof_ArrayBuffer_70beb1189ca63b38(arg0) {
1264
1371
  let result;
1265
1372
  try {
1266
1373
  result = arg0 instanceof ArrayBuffer;
@@ -1271,7 +1378,7 @@ export function __wbg_instanceof_ArrayBuffer_625e762023eb35cf(arg0) {
1271
1378
  const ret = result;
1272
1379
  return ret;
1273
1380
  }
1274
- export function __wbg_instanceof_CryptoKey_d94aaf75de500efb(arg0) {
1381
+ export function __wbg_instanceof_CryptoKey_9fbbefded7590b8c(arg0) {
1275
1382
  let result;
1276
1383
  try {
1277
1384
  result = arg0 instanceof CryptoKey;
@@ -1282,7 +1389,7 @@ export function __wbg_instanceof_CryptoKey_d94aaf75de500efb(arg0) {
1282
1389
  const ret = result;
1283
1390
  return ret;
1284
1391
  }
1285
- export function __wbg_instanceof_Map_7d3de120a6cca988(arg0) {
1392
+ export function __wbg_instanceof_Map_8579b5e2ab5437c7(arg0) {
1286
1393
  let result;
1287
1394
  try {
1288
1395
  result = arg0 instanceof Map;
@@ -1293,7 +1400,7 @@ export function __wbg_instanceof_Map_7d3de120a6cca988(arg0) {
1293
1400
  const ret = result;
1294
1401
  return ret;
1295
1402
  }
1296
- export function __wbg_instanceof_Object_a18b8a09eff6c66c(arg0) {
1403
+ export function __wbg_instanceof_Object_10bb762262230c68(arg0) {
1297
1404
  let result;
1298
1405
  try {
1299
1406
  result = arg0 instanceof Object;
@@ -1304,7 +1411,7 @@ export function __wbg_instanceof_Object_a18b8a09eff6c66c(arg0) {
1304
1411
  const ret = result;
1305
1412
  return ret;
1306
1413
  }
1307
- export function __wbg_instanceof_ReadableStreamDefaultReader_7ec8ae6c604d9f3d(arg0) {
1414
+ export function __wbg_instanceof_ReadableStreamDefaultReader_33a4601dd218c69d(arg0) {
1308
1415
  let result;
1309
1416
  try {
1310
1417
  result = arg0 instanceof ReadableStreamDefaultReader;
@@ -1315,7 +1422,7 @@ export function __wbg_instanceof_ReadableStreamDefaultReader_7ec8ae6c604d9f3d(ar
1315
1422
  const ret = result;
1316
1423
  return ret;
1317
1424
  }
1318
- export function __wbg_instanceof_Uint8Array_6935b7b95ef40080(arg0) {
1425
+ export function __wbg_instanceof_Uint8Array_20c8e73002f7af98(arg0) {
1319
1426
  let result;
1320
1427
  try {
1321
1428
  result = arg0 instanceof Uint8Array;
@@ -1326,7 +1433,7 @@ export function __wbg_instanceof_Uint8Array_6935b7b95ef40080(arg0) {
1326
1433
  const ret = result;
1327
1434
  return ret;
1328
1435
  }
1329
- export function __wbg_instanceof_Window_c876e2ca9d808fb0(arg0) {
1436
+ export function __wbg_instanceof_Window_4846dbb3de56c84c(arg0) {
1330
1437
  let result;
1331
1438
  try {
1332
1439
  result = arg0 instanceof Window;
@@ -1337,73 +1444,59 @@ export function __wbg_instanceof_Window_c876e2ca9d808fb0(arg0) {
1337
1444
  const ret = result;
1338
1445
  return ret;
1339
1446
  }
1340
- export function __wbg_isArray_fe31d4a8d77ae781(arg0) {
1447
+ export function __wbg_isArray_96e0af9891d0945d(arg0) {
1341
1448
  const ret = Array.isArray(arg0);
1342
1449
  return ret;
1343
1450
  }
1344
- export function __wbg_isSafeInteger_342db8cae87edb4e(arg0) {
1451
+ export function __wbg_isSafeInteger_d216eda7911dde36(arg0) {
1345
1452
  const ret = Number.isSafeInteger(arg0);
1346
1453
  return ret;
1347
1454
  }
1348
- export function __wbg_iterator_fe047a6b04943f88() {
1455
+ export function __wbg_iterator_e5822695327a3c39() {
1349
1456
  const ret = Symbol.iterator;
1350
1457
  return ret;
1351
1458
  }
1352
- export function __wbg_label_9af8b6c0978cb673(arg0, arg1) {
1459
+ export function __wbg_label_51d81ae5c3577deb(arg0, arg1) {
1353
1460
  const ret = arg1.label;
1354
1461
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1355
1462
  const len1 = WASM_VECTOR_LEN;
1356
1463
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1357
1464
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1358
1465
  }
1359
- export function __wbg_length_09646ad20ebb8534(arg0) {
1466
+ export function __wbg_length_69bca3cb64fc8748(arg0) {
1360
1467
  const ret = arg0.length;
1361
1468
  return ret;
1362
1469
  }
1363
- export function __wbg_length_537fa63a6103cbdb(arg0) {
1470
+ export function __wbg_length_cdd215e10d9dd507(arg0) {
1364
1471
  const ret = arg0.length;
1365
1472
  return ret;
1366
1473
  }
1367
- export function __wbg_log_8316aef0a82fc256(arg0) {
1474
+ export function __wbg_log_8cec76766b8c0e33(arg0) {
1368
1475
  console.log(arg0);
1369
1476
  }
1370
- export function __wbg_message_b5e786b918031475(arg0, arg1) {
1477
+ export function __wbg_message_3abccea43568e0bd(arg0, arg1) {
1371
1478
  const ret = arg1.message;
1372
1479
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1373
1480
  const len1 = WASM_VECTOR_LEN;
1374
1481
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1375
1482
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1376
1483
  }
1377
- export function __wbg_navigator_bfcd7da4e07140bf(arg0) {
1484
+ export function __wbg_navigator_971384882e8ea23a(arg0) {
1378
1485
  const ret = arg0.navigator;
1379
1486
  return ret;
1380
1487
  }
1381
- export function __wbg_new_1b925e0c0e1d30ba() {
1488
+ export function __wbg_new_1acc0b6eea89d040() {
1382
1489
  const ret = new Object();
1383
1490
  return ret;
1384
1491
  }
1385
- export function __wbg_new_3c48ee6a683248da() {
1386
- const ret = new Map();
1387
- return ret;
1388
- }
1389
- export function __wbg_new_8a6f238a6ece86ea() {
1390
- const ret = new Error();
1391
- return ret;
1392
- }
1393
- export function __wbg_new_b25e3e4428c04a92() {
1394
- return handleError(function (arg0, arg1) {
1395
- const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
1396
- return ret;
1397
- }, arguments);
1398
- }
1399
- export function __wbg_new_b38cbb8a106768cf(arg0, arg1) {
1492
+ export function __wbg_new_3c3d849046688a66(arg0, arg1) {
1400
1493
  try {
1401
1494
  var state0 = { a: arg0, b: arg1 };
1402
1495
  var cb0 = (arg0, arg1) => {
1403
1496
  const a = state0.a;
1404
1497
  state0.a = 0;
1405
1498
  try {
1406
- return __wbg_adapter_277(a, state0.b, arg0, arg1);
1499
+ return wasm_bindgen_540158e61e0ad4e1___convert__closures_____invoke___wasm_bindgen_540158e61e0ad4e1___JsValue__wasm_bindgen_540158e61e0ad4e1___JsValue_____(a, state0.b, arg0, arg1);
1407
1500
  }
1408
1501
  finally {
1409
1502
  state0.a = a;
@@ -1416,103 +1509,125 @@ export function __wbg_new_b38cbb8a106768cf(arg0, arg1) {
1416
1509
  state0.a = state0.b = 0;
1417
1510
  }
1418
1511
  }
1419
- export function __wbg_new_d6b08dae7359cebb(arg0) {
1512
+ export function __wbg_new_5a79be3ab53b8aa5(arg0) {
1420
1513
  const ret = new Uint8Array(arg0);
1421
1514
  return ret;
1422
1515
  }
1423
- export function __wbg_new_d8a154d0939e6bb4() {
1516
+ export function __wbg_new_68651c719dcda04e() {
1517
+ const ret = new Map();
1518
+ return ret;
1519
+ }
1520
+ export function __wbg_new_881c4fe631eee9ad() {
1521
+ return handleError(function (arg0, arg1) {
1522
+ const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
1523
+ return ret;
1524
+ }, arguments);
1525
+ }
1526
+ export function __wbg_new_8a6f238a6ece86ea() {
1527
+ const ret = new Error();
1528
+ return ret;
1529
+ }
1530
+ export function __wbg_new_e17d9f43105b08be() {
1424
1531
  const ret = new Array();
1425
1532
  return ret;
1426
1533
  }
1427
- export function __wbg_newfromslice_87a363f6accf981c(arg0, arg1) {
1534
+ export function __wbg_new_from_slice_92f4d78ca282a2d2(arg0, arg1) {
1428
1535
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
1429
1536
  return ret;
1430
1537
  }
1431
- export function __wbg_newnoargs_863941679b1933bb(arg0, arg1) {
1538
+ export function __wbg_new_no_args_ee98eee5275000a4(arg0, arg1) {
1432
1539
  const ret = new Function(getStringFromWasm0(arg0, arg1));
1433
1540
  return ret;
1434
1541
  }
1435
- export function __wbg_newwithconfiguration_e31d60b169b07345() {
1542
+ export function __wbg_new_with_configuration_a1cd3f4d87d41876() {
1436
1543
  return handleError(function (arg0) {
1437
1544
  const ret = new RTCPeerConnection(arg0);
1438
1545
  return ret;
1439
1546
  }, arguments);
1440
1547
  }
1441
- export function __wbg_newwithlength_79dd8226b146df94(arg0) {
1548
+ export function __wbg_new_with_length_01aa0dc35aa13543(arg0) {
1442
1549
  const ret = new Uint8Array(arg0 >>> 0);
1443
1550
  return ret;
1444
1551
  }
1445
- export function __wbg_next_59846e169128a0ea(arg0) {
1446
- const ret = arg0.next;
1447
- return ret;
1448
- }
1449
- export function __wbg_next_c782e76a0400870a() {
1552
+ export function __wbg_next_020810e0ae8ebcb0() {
1450
1553
  return handleError(function (arg0) {
1451
1554
  const ret = arg0.next();
1452
1555
  return ret;
1453
1556
  }, arguments);
1454
1557
  }
1455
- export function __wbg_now_5180ef7a3cc4af32() {
1456
- const ret = Date.now();
1558
+ export function __wbg_next_2c826fe5dfec6b6a(arg0) {
1559
+ const ret = arg0.next;
1457
1560
  return ret;
1458
1561
  }
1459
- export function __wbg_of_2859a6983dba31e5(arg0, arg1) {
1460
- const ret = Array.of(arg0, arg1);
1562
+ export function __wbg_now_2c95c9de01293173(arg0) {
1563
+ const ret = arg0.now();
1564
+ return ret;
1565
+ }
1566
+ export function __wbg_now_793306c526e2e3b6() {
1567
+ const ret = Date.now();
1461
1568
  return ret;
1462
1569
  }
1463
- export function __wbg_of_289f191f9197ad69(arg0) {
1570
+ export function __wbg_of_035271b9e67a3bd9(arg0) {
1464
1571
  const ret = Array.of(arg0);
1465
1572
  return ret;
1466
1573
  }
1467
- export function __wbg_open_0efe15f86bc721e6(arg0, arg1) {
1574
+ export function __wbg_of_288d2471f5767a12(arg0, arg1) {
1575
+ const ret = Array.of(arg0, arg1);
1576
+ return ret;
1577
+ }
1578
+ export function __wbg_open_fe29bb2df6de0b4c(arg0, arg1) {
1468
1579
  const ret = arg0.open(arg1);
1469
1580
  return ret;
1470
1581
  }
1471
- export function __wbg_prototypesetcall_a81ac58a5b6e988c(arg0, arg1, arg2) {
1582
+ export function __wbg_performance_7a3ffd0b17f663ad(arg0) {
1583
+ const ret = arg0.performance;
1584
+ return ret;
1585
+ }
1586
+ export function __wbg_prototypesetcall_2a6620b6922694b2(arg0, arg1, arg2) {
1472
1587
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
1473
1588
  }
1474
- export function __wbg_push_a625ffb414ba40f2(arg0, arg1) {
1589
+ export function __wbg_push_df81a39d04db858c(arg0, arg1) {
1475
1590
  const ret = arg0.push(arg1);
1476
1591
  return ret;
1477
1592
  }
1478
- export function __wbg_queueMicrotask_1d75ffff194a09bc(arg0) {
1479
- queueMicrotask(arg0);
1480
- }
1481
- export function __wbg_queueMicrotask_b9a8d325fc1ebe35(arg0) {
1593
+ export function __wbg_queueMicrotask_34d692c25c47d05b(arg0) {
1482
1594
  const ret = arg0.queueMicrotask;
1483
1595
  return ret;
1484
1596
  }
1485
- export function __wbg_randomUUID_85051d14db410091(arg0, arg1) {
1597
+ export function __wbg_queueMicrotask_9d76cacb20c84d58(arg0) {
1598
+ queueMicrotask(arg0);
1599
+ }
1600
+ export function __wbg_randomUUID_f5597397f97d1e44(arg0, arg1) {
1486
1601
  const ret = arg1.randomUUID();
1487
1602
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1488
1603
  const len1 = WASM_VECTOR_LEN;
1489
1604
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1490
1605
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1491
1606
  }
1492
- export function __wbg_read_14bb033442221e81(arg0) {
1607
+ export function __wbg_read_48f1593df542f968(arg0) {
1493
1608
  const ret = arg0.read();
1494
1609
  return ret;
1495
1610
  }
1496
- export function __wbg_readable_7ec80c1586d658e5(arg0) {
1611
+ export function __wbg_readable_1f11b5bdc6b1c439(arg0) {
1497
1612
  const ret = arg0.readable;
1498
1613
  return ret;
1499
1614
  }
1500
- export function __wbg_releaseLock_838e4a60f0d078e3(arg0) {
1615
+ export function __wbg_releaseLock_5d0b5a68887b891d(arg0) {
1501
1616
  arg0.releaseLock();
1502
1617
  }
1503
- export function __wbg_requestPort_a6ccb8604c419278(arg0) {
1618
+ export function __wbg_requestPort_bce3f3626a6900f7(arg0) {
1504
1619
  const ret = arg0.requestPort();
1505
1620
  return ret;
1506
1621
  }
1507
- export function __wbg_resolve_f9faa06f9350ac82(arg0) {
1622
+ export function __wbg_resolve_caf97c30b83f7053(arg0) {
1508
1623
  const ret = Promise.resolve(arg0);
1509
1624
  return ret;
1510
1625
  }
1511
- export function __wbg_sdpMLineIndex_98e1c9feb78bd935(arg0) {
1626
+ export function __wbg_sdpMLineIndex_7e2abd17908820fb(arg0) {
1512
1627
  const ret = arg0.sdpMLineIndex;
1513
1628
  return isLikeNone(ret) ? 0xFFFFFF : ret;
1514
1629
  }
1515
- export function __wbg_sdpMid_8f79fa4a713266f3(arg0, arg1) {
1630
+ export function __wbg_sdpMid_524b91d9afabd2cc(arg0, arg1) {
1516
1631
  const ret = arg1.sdpMid;
1517
1632
  var ptr1 = isLikeNone(ret)
1518
1633
  ? 0
@@ -1521,25 +1636,25 @@ export function __wbg_sdpMid_8f79fa4a713266f3(arg0, arg1) {
1521
1636
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1522
1637
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1523
1638
  }
1524
- export function __wbg_send_1bcf47fc78631aa0() {
1639
+ export function __wbg_send_3d2cf376613294f0() {
1525
1640
  return handleError(function (arg0, arg1, arg2) {
1526
1641
  arg0.send(getArrayU8FromWasm0(arg1, arg2));
1527
1642
  }, arguments);
1528
1643
  }
1529
- export function __wbg_send_44e731d4290d5a73() {
1644
+ export function __wbg_send_3d93963ba80250ff() {
1530
1645
  return handleError(function (arg0, arg1, arg2) {
1531
1646
  arg0.send(getArrayU8FromWasm0(arg1, arg2));
1532
1647
  }, arguments);
1533
1648
  }
1534
- export function __wbg_serial_40f96691ceac10c3(arg0) {
1649
+ export function __wbg_serial_ebad1b1c9075169a(arg0) {
1535
1650
  const ret = arg0.serial;
1536
1651
  return ret;
1537
1652
  }
1538
- export function __wbg_setLocalDescription_e4d3e96a7ea79f26(arg0, arg1) {
1653
+ export function __wbg_setLocalDescription_65cd8a6ccfe86e28(arg0, arg1) {
1539
1654
  const ret = arg0.setLocalDescription(arg1);
1540
1655
  return ret;
1541
1656
  }
1542
- export function __wbg_setRemoteDescription_11eaf6e756e370af(arg0, arg1) {
1657
+ export function __wbg_setRemoteDescription_f77d823b45b689fb(arg0, arg1) {
1543
1658
  const ret = arg0.setRemoteDescription(arg1);
1544
1659
  return ret;
1545
1660
  }
@@ -1549,101 +1664,101 @@ export function __wbg_setTimeout_db2dbaeefb6f39c7() {
1549
1664
  return ret;
1550
1665
  }, arguments);
1551
1666
  }
1552
- export function __wbg_set_038a8a067d895c6a(arg0, arg1, arg2) {
1553
- arg0[arg1 >>> 0] = arg2;
1554
- }
1555
1667
  export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
1556
1668
  arg0[arg1] = arg2;
1557
1669
  }
1558
- export function __wbg_set_a15b7b524330d4f1(arg0, arg1, arg2) {
1670
+ export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
1559
1671
  const ret = arg0.set(arg1, arg2);
1560
1672
  return ret;
1561
1673
  }
1562
- export function __wbg_set_d66063c1f1a1157e() {
1563
- return handleError(function (arg0, arg1, arg2) {
1564
- const ret = Reflect.set(arg0, arg1, arg2);
1565
- return ret;
1566
- }, arguments);
1567
- }
1568
- export function __wbg_set_f59709bcbf07327f(arg0, arg1, arg2) {
1674
+ export function __wbg_set_9e6516df7b7d0f19(arg0, arg1, arg2) {
1569
1675
  arg0.set(getArrayU8FromWasm0(arg1, arg2));
1570
1676
  }
1571
- export function __wbg_setbaudrate_c1408a20012d2fea(arg0, arg1) {
1677
+ export function __wbg_set_baud_rate_0d3d4098ad0007bd(arg0, arg1) {
1572
1678
  arg0.baudRate = arg1 >>> 0;
1573
1679
  }
1574
- export function __wbg_setbinaryType_6091041926b40e35(arg0, arg1) {
1680
+ export function __wbg_set_binaryType_9d839cea8fcdc5c3(arg0, arg1) {
1575
1681
  arg0.binaryType = __wbindgen_enum_BinaryType[arg1];
1576
1682
  }
1577
- export function __wbg_setcandidate_1e50b3faa4cb6898(arg0, arg1, arg2) {
1683
+ export function __wbg_set_c213c871859d6500(arg0, arg1, arg2) {
1684
+ arg0[arg1 >>> 0] = arg2;
1685
+ }
1686
+ export function __wbg_set_c2abbebe8b9ebee1() {
1687
+ return handleError(function (arg0, arg1, arg2) {
1688
+ const ret = Reflect.set(arg0, arg1, arg2);
1689
+ return ret;
1690
+ }, arguments);
1691
+ }
1692
+ export function __wbg_set_candidate_c95c6639c1ddc40c(arg0, arg1, arg2) {
1578
1693
  arg0.candidate = getStringFromWasm0(arg1, arg2);
1579
1694
  }
1580
- export function __wbg_setcounter_18676403b6ecb17b(arg0, arg1) {
1695
+ export function __wbg_set_counter_8cf891ddbb09c405(arg0, arg1) {
1581
1696
  arg0.counter = arg1;
1582
1697
  }
1583
- export function __wbg_setcredential_db5f85a45e99080f(arg0, arg1, arg2) {
1698
+ export function __wbg_set_credential_a3cba9eb4bce068c(arg0, arg1, arg2) {
1584
1699
  arg0.credential = getStringFromWasm0(arg1, arg2);
1585
1700
  }
1586
- export function __wbg_seticeservers_5d7af60fbe042a35(arg0, arg1) {
1701
+ export function __wbg_set_ice_servers_2fe64c1f7030a20f(arg0, arg1) {
1587
1702
  arg0.iceServers = arg1;
1588
1703
  }
1589
- export function __wbg_setlength_7f0aa2baf6d66fca(arg0, arg1) {
1704
+ export function __wbg_set_length_9b3abd6e75f20e65(arg0, arg1) {
1590
1705
  arg0.length = arg1;
1591
1706
  }
1592
- export function __wbg_setname_4a9a427f573e71fa(arg0, arg1, arg2) {
1707
+ export function __wbg_set_name_30c7450c8511ee95(arg0, arg1, arg2) {
1593
1708
  arg0.name = getStringFromWasm0(arg1, arg2);
1594
1709
  }
1595
- export function __wbg_setonclose_ed36c5c56fb23784(arg0, arg1) {
1710
+ export function __wbg_set_onclose_c09e4f7422de8dae(arg0, arg1) {
1596
1711
  arg0.onclose = arg1;
1597
1712
  }
1598
- export function __wbg_setondatachannel_b81d44bff7b6b543(arg0, arg1) {
1713
+ export function __wbg_set_ondatachannel_d3587e15167e215b(arg0, arg1) {
1599
1714
  arg0.ondatachannel = arg1;
1600
1715
  }
1601
- export function __wbg_setonerror_9368e4812d62d001(arg0, arg1) {
1716
+ export function __wbg_set_onerror_337a3a2db9517378(arg0, arg1) {
1602
1717
  arg0.onerror = arg1;
1603
1718
  }
1604
- export function __wbg_setonicecandidate_0c6b4a18b7bfc77c(arg0, arg1) {
1719
+ export function __wbg_set_onicecandidate_fa449483ade769ae(arg0, arg1) {
1605
1720
  arg0.onicecandidate = arg1;
1606
1721
  }
1607
- export function __wbg_setoniceconnectionstatechange_f9c5b45d1c0c51f0(arg0, arg1) {
1722
+ export function __wbg_set_oniceconnectionstatechange_11dbe6c347a5d4d2(arg0, arg1) {
1608
1723
  arg0.oniceconnectionstatechange = arg1;
1609
1724
  }
1610
- export function __wbg_setonmessage_030be9b28b78c8a3(arg0, arg1) {
1725
+ export function __wbg_set_onmessage_3a8d6c4b2e1962d7(arg0, arg1) {
1611
1726
  arg0.onmessage = arg1;
1612
1727
  }
1613
- export function __wbg_setonmessage_ffc0f16e27e94b4f(arg0, arg1) {
1728
+ export function __wbg_set_onmessage_8661558551a89792(arg0, arg1) {
1614
1729
  arg0.onmessage = arg1;
1615
1730
  }
1616
- export function __wbg_setonopen_76f948be177d1574(arg0, arg1) {
1731
+ export function __wbg_set_onopen_ac1685e688d0fbcf(arg0, arg1) {
1617
1732
  arg0.onopen = arg1;
1618
1733
  }
1619
- export function __wbg_setonopen_efe76fab4b23b530(arg0, arg1) {
1734
+ export function __wbg_set_onopen_efccb9305427b907(arg0, arg1) {
1620
1735
  arg0.onopen = arg1;
1621
1736
  }
1622
- export function __wbg_setsdp_fb3173e0c6e78c7b(arg0, arg1, arg2) {
1737
+ export function __wbg_set_sdp_b8e3939b73c0ad0f(arg0, arg1, arg2) {
1623
1738
  arg0.sdp = getStringFromWasm0(arg1, arg2);
1624
1739
  }
1625
- export function __wbg_setsdpmid_3c07633e6eebbe04(arg0, arg1, arg2) {
1626
- arg0.sdpMid = arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2);
1627
- }
1628
- export function __wbg_setsdpmlineindex_d42db9413e5bf9a0(arg0, arg1) {
1740
+ export function __wbg_set_sdp_m_line_index_8fc884801bfc6173(arg0, arg1) {
1629
1741
  arg0.sdpMLineIndex = arg1 === 0xFFFFFF ? undefined : arg1;
1630
1742
  }
1631
- export function __wbg_settype_d383fc16fe2fde7c(arg0, arg1) {
1743
+ export function __wbg_set_sdp_mid_4a6d24c6bec77f74(arg0, arg1, arg2) {
1744
+ arg0.sdpMid = arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2);
1745
+ }
1746
+ export function __wbg_set_type_2e7e493a02f43e56(arg0, arg1) {
1632
1747
  arg0.type = __wbindgen_enum_RtcSdpType[arg1];
1633
1748
  }
1634
- export function __wbg_seturls_93ea5b2e75cf2b4a(arg0, arg1) {
1749
+ export function __wbg_set_urls_835196658d97779c(arg0, arg1) {
1635
1750
  arg0.urls = arg1;
1636
1751
  }
1637
- export function __wbg_setusername_42163d74b1e71463(arg0, arg1, arg2) {
1752
+ export function __wbg_set_username_305ae082fdb063b0(arg0, arg1, arg2) {
1638
1753
  arg0.username = getStringFromWasm0(arg1, arg2);
1639
1754
  }
1640
- export function __wbg_sign_19ea6b84becfe8db() {
1755
+ export function __wbg_sign_0077f2aabd37825a() {
1641
1756
  return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1642
1757
  const ret = arg0.sign(arg1, arg2, getArrayU8FromWasm0(arg3, arg4));
1643
1758
  return ret;
1644
1759
  }, arguments);
1645
1760
  }
1646
- export function __wbg_signalingState_6034a1804910b307(arg0) {
1761
+ export function __wbg_signalingState_9a34f568c00c8208(arg0) {
1647
1762
  const ret = arg0.signalingState;
1648
1763
  return (__wbindgen_enum_RtcSignalingState.indexOf(ret) + 1 || 7) - 1;
1649
1764
  }
@@ -1654,163 +1769,75 @@ export function __wbg_stack_0ed75d68575b0f3c(arg0, arg1) {
1654
1769
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1655
1770
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1656
1771
  }
1657
- export function __wbg_static_accessor_GLOBAL_656a564fb01c5b63() {
1772
+ export function __wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e() {
1658
1773
  const ret = typeof global === "undefined" ? null : global;
1659
1774
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1660
1775
  }
1661
- export function __wbg_static_accessor_GLOBAL_THIS_09a6cc4b9571ef65() {
1776
+ export function __wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac() {
1662
1777
  const ret = typeof dntShim.dntGlobalThis === "undefined" ? null : dntShim.dntGlobalThis;
1663
1778
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1664
1779
  }
1665
- export function __wbg_static_accessor_SELF_36742aea97854d74() {
1780
+ export function __wbg_static_accessor_SELF_6fdf4b64710cc91b() {
1666
1781
  const ret = typeof self === "undefined" ? null : self;
1667
1782
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1668
1783
  }
1669
- export function __wbg_static_accessor_WINDOW_0ce0d90b0830e7e6() {
1784
+ export function __wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2() {
1670
1785
  const ret = typeof dntShim.dntGlobalThis === "undefined" ? null : dntShim.dntGlobalThis;
1671
1786
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1672
1787
  }
1673
- export function __wbg_subtle_72c6c8c71350ad31(arg0) {
1788
+ export function __wbg_subtle_a158c8cba320b8ed(arg0) {
1674
1789
  const ret = arg0.subtle;
1675
1790
  return ret;
1676
1791
  }
1677
- export function __wbg_then_66350f316a20107b(arg0, arg1) {
1792
+ export function __wbg_then_4f46f6544e6b4a28(arg0, arg1) {
1678
1793
  const ret = arg0.then(arg1);
1679
1794
  return ret;
1680
1795
  }
1681
- export function __wbg_then_a8d64a36c84944e9(arg0, arg1, arg2) {
1796
+ export function __wbg_then_70d05cf780a18d77(arg0, arg1, arg2) {
1682
1797
  const ret = arg0.then(arg1, arg2);
1683
1798
  return ret;
1684
1799
  }
1685
- export function __wbg_unwrapKey_76382cc7df3f3261() {
1800
+ export function __wbg_unwrapKey_91db60c1c1da6b02() {
1686
1801
  return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
1687
1802
  const ret = arg0.unwrapKey(getStringFromWasm0(arg1, arg2), arg3, arg4, getStringFromWasm0(arg5, arg6), arg7, arg8 !== 0, arg9);
1688
1803
  return ret;
1689
1804
  }, arguments);
1690
1805
  }
1691
- export function __wbg_value_4ae21701b6f5c482(arg0) {
1806
+ export function __wbg_value_692627309814bb8c(arg0) {
1692
1807
  const ret = arg0.value;
1693
1808
  return ret;
1694
1809
  }
1695
- export function __wbg_verify_7f5ab750759e4bbf() {
1810
+ export function __wbg_verify_47e017cd0770194c() {
1696
1811
  return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
1697
1812
  const ret = arg0.verify(arg1, arg2, getArrayU8FromWasm0(arg3, arg4), getArrayU8FromWasm0(arg5, arg6));
1698
1813
  return ret;
1699
1814
  }, arguments);
1700
1815
  }
1701
- export function __wbg_warn_c3f81464a835231a(arg0) {
1816
+ export function __wbg_warn_1d74dddbe2fd1dbb(arg0) {
1702
1817
  console.warn(arg0);
1703
1818
  }
1704
- export function __wbg_wbindgenbigintgetasi64_d3d568a64e846827(arg0, arg1) {
1705
- const v = arg1;
1706
- const ret = typeof v === "bigint" ? v : undefined;
1707
- getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
1708
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1709
- }
1710
- export function __wbg_wbindgenbooleanget_527bfac1bf7c06df(arg0) {
1711
- const v = arg0;
1712
- const ret = typeof v === "boolean" ? v : undefined;
1713
- return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
1714
- }
1715
- export function __wbg_wbindgencbdrop_470850fcb28f4519(arg0) {
1716
- const obj = arg0.original;
1717
- if (obj.cnt-- == 1) {
1718
- obj.a = 0;
1719
- return true;
1720
- }
1721
- const ret = false;
1722
- return ret;
1723
- }
1724
- export function __wbg_wbindgendebugstring_0c28a61befa1f3ce(arg0, arg1) {
1725
- const ret = debugString(arg1);
1726
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1727
- const len1 = WASM_VECTOR_LEN;
1728
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1729
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1730
- }
1731
- export function __wbg_wbindgenin_ed944d66e9a43ef2(arg0, arg1) {
1732
- const ret = arg0 in arg1;
1733
- return ret;
1734
- }
1735
- export function __wbg_wbindgenisbigint_1a3fbe7ad37b3968(arg0) {
1736
- const ret = typeof arg0 === "bigint";
1737
- return ret;
1738
- }
1739
- export function __wbg_wbindgenisfunction_27a5c72d80bbdf07(arg0) {
1740
- const ret = typeof arg0 === "function";
1741
- return ret;
1742
- }
1743
- export function __wbg_wbindgenisnull_060b7d23e7f07622(arg0) {
1744
- const ret = arg0 === null;
1745
- return ret;
1746
- }
1747
- export function __wbg_wbindgenisobject_bdb9aa7f2dd707ef(arg0) {
1748
- const val = arg0;
1749
- const ret = typeof val === "object" && val !== null;
1750
- return ret;
1751
- }
1752
- export function __wbg_wbindgenisstring_55b63daa584dc807(arg0) {
1753
- const ret = typeof arg0 === "string";
1754
- return ret;
1755
- }
1756
- export function __wbg_wbindgenisundefined_2e902cd900cf5927(arg0) {
1757
- const ret = arg0 === undefined;
1758
- return ret;
1759
- }
1760
- export function __wbg_wbindgenjsvaleq_af67af1ed6574f4f(arg0, arg1) {
1761
- const ret = arg0 === arg1;
1762
- return ret;
1763
- }
1764
- export function __wbg_wbindgenjsvallooseeq_4f1ced8136023b79(arg0, arg1) {
1765
- const ret = arg0 == arg1;
1766
- return ret;
1767
- }
1768
- export function __wbg_wbindgennumberget_41a5988c9fc46eeb(arg0, arg1) {
1769
- const obj = arg1;
1770
- const ret = typeof obj === "number" ? obj : undefined;
1771
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
1772
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1773
- }
1774
- export function __wbg_wbindgenstringget_c45e0c672ada3c64(arg0, arg1) {
1775
- const obj = arg1;
1776
- const ret = typeof obj === "string" ? obj : undefined;
1777
- var ptr1 = isLikeNone(ret)
1778
- ? 0
1779
- : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1780
- var len1 = WASM_VECTOR_LEN;
1781
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1782
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1783
- }
1784
- export function __wbg_wbindgenthrow_681185b504fabc8e(arg0, arg1) {
1785
- throw new Error(getStringFromWasm0(arg0, arg1));
1786
- }
1787
- export function __wbg_wrapKey_5f8a7476203809ce() {
1819
+ export function __wbg_wrapKey_1b54a5ca6fa71c99() {
1788
1820
  return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
1789
1821
  const ret = arg0.wrapKey(getStringFromWasm0(arg1, arg2), arg3, arg4, getStringFromWasm0(arg5, arg6));
1790
1822
  return ret;
1791
1823
  }, arguments);
1792
1824
  }
1793
- export function __wbg_writable_9cc2382cd543b064(arg0) {
1825
+ export function __wbg_writable_914f96f3361cf74a(arg0) {
1794
1826
  const ret = arg0.writable;
1795
1827
  return ret;
1796
1828
  }
1797
- export function __wbg_write_e7fe7265c2fa5ddb(arg0, arg1) {
1829
+ export function __wbg_write_5f693b62e780062e(arg0, arg1) {
1798
1830
  const ret = arg0.write(arg1);
1799
1831
  return ret;
1800
1832
  }
1801
- export function __wbindgen_cast_00d32d01068fa77a(arg0, arg1) {
1802
- // Cast intrinsic for `Closure(Closure { dtor_idx: 794, function: Function { arguments: [NamedExternref("RTCPeerConnectionIceEvent")], shim_idx: 795, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1803
- const ret = makeMutClosure(arg0, arg1, 794, __wbg_adapter_16);
1804
- return ret;
1805
- }
1806
- export function __wbindgen_cast_0f13b535f344ea3c(arg0, arg1) {
1807
- // Cast intrinsic for `Closure(Closure { dtor_idx: 794, function: Function { arguments: [NamedExternref("RTCDataChannelEvent")], shim_idx: 795, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1808
- const ret = makeMutClosure(arg0, arg1, 794, __wbg_adapter_16);
1833
+ export function __wbindgen_cast_0483c6432e6bb3b6(arg0, arg1) {
1834
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 2256, function: Function { arguments: [], shim_idx: 2257, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1835
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_540158e61e0ad4e1___closure__destroy___dyn_core_e4e32f5ae772ed90___ops__function__FnMut_____Output_______, wasm_bindgen_540158e61e0ad4e1___convert__closures_____invoke______);
1809
1836
  return ret;
1810
1837
  }
1811
- export function __wbindgen_cast_13e0fca1c517096b(arg0, arg1) {
1812
- // Cast intrinsic for `Closure(Closure { dtor_idx: 794, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 795, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1813
- const ret = makeMutClosure(arg0, arg1, 794, __wbg_adapter_16);
1838
+ export function __wbindgen_cast_0870598a3ac49758(arg0, arg1) {
1839
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1032, function: Function { arguments: [NamedExternref("RTCDataChannelEvent")], shim_idx: 1033, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1840
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_540158e61e0ad4e1___closure__destroy___dyn_core_e4e32f5ae772ed90___ops__function__FnMut__js_sys_841a1ee50d21344a___Uint8Array____Output_______, wasm_bindgen_540158e61e0ad4e1___convert__closures_____invoke___js_sys_841a1ee50d21344a___Uint8Array_____);
1814
1841
  return ret;
1815
1842
  }
1816
1843
  export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
@@ -1818,16 +1845,16 @@ export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
1818
1845
  const ret = getStringFromWasm0(arg0, arg1);
1819
1846
  return ret;
1820
1847
  }
1848
+ export function __wbindgen_cast_3df71bd50e2a2cfe(arg0, arg1) {
1849
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1032, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1033, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1850
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_540158e61e0ad4e1___closure__destroy___dyn_core_e4e32f5ae772ed90___ops__function__FnMut__js_sys_841a1ee50d21344a___Uint8Array____Output_______, wasm_bindgen_540158e61e0ad4e1___convert__closures_____invoke___js_sys_841a1ee50d21344a___Uint8Array_____);
1851
+ return ret;
1852
+ }
1821
1853
  export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
1822
1854
  // Cast intrinsic for `U64 -> Externref`.
1823
1855
  const ret = BigInt.asUintN(64, arg0);
1824
1856
  return ret;
1825
1857
  }
1826
- export function __wbindgen_cast_52ed74f41af88dc3(arg0, arg1) {
1827
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1532, function: Function { arguments: [], shim_idx: 1533, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1828
- const ret = makeMutClosure(arg0, arg1, 1532, __wbg_adapter_11);
1829
- return ret;
1830
- }
1831
1858
  export function __wbindgen_cast_77bc3e92745e9a35(arg0, arg1) {
1832
1859
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
1833
1860
  wasm.__wbindgen_free(arg0, arg1 * 1, 1);
@@ -1835,19 +1862,24 @@ export function __wbindgen_cast_77bc3e92745e9a35(arg0, arg1) {
1835
1862
  const ret = v0;
1836
1863
  return ret;
1837
1864
  }
1865
+ export function __wbindgen_cast_9229580bb106f983(arg0, arg1) {
1866
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1032, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 1033, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1867
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_540158e61e0ad4e1___closure__destroy___dyn_core_e4e32f5ae772ed90___ops__function__FnMut__js_sys_841a1ee50d21344a___Uint8Array____Output_______, wasm_bindgen_540158e61e0ad4e1___convert__closures_____invoke___js_sys_841a1ee50d21344a___Uint8Array_____);
1868
+ return ret;
1869
+ }
1870
+ export function __wbindgen_cast_942e1b1306809e74(arg0, arg1) {
1871
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1032, function: Function { arguments: [NamedExternref("Uint8Array")], shim_idx: 1033, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1872
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_540158e61e0ad4e1___closure__destroy___dyn_core_e4e32f5ae772ed90___ops__function__FnMut__js_sys_841a1ee50d21344a___Uint8Array____Output_______, wasm_bindgen_540158e61e0ad4e1___convert__closures_____invoke___js_sys_841a1ee50d21344a___Uint8Array_____);
1873
+ return ret;
1874
+ }
1838
1875
  export function __wbindgen_cast_9ae0607507abb057(arg0) {
1839
1876
  // Cast intrinsic for `I64 -> Externref`.
1840
1877
  const ret = arg0;
1841
1878
  return ret;
1842
1879
  }
1843
- export function __wbindgen_cast_b5732421293e3bdd(arg0, arg1) {
1844
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1522, function: Function { arguments: [Externref], shim_idx: 1523, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1845
- const ret = makeMutClosure(arg0, arg1, 1522, __wbg_adapter_6);
1846
- return ret;
1847
- }
1848
- export function __wbindgen_cast_b8a0a8592565ad28(arg0, arg1) {
1849
- // Cast intrinsic for `Closure(Closure { dtor_idx: 794, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 795, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1850
- const ret = makeMutClosure(arg0, arg1, 794, __wbg_adapter_16);
1880
+ export function __wbindgen_cast_b5784ace92b0fffe(arg0, arg1) {
1881
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 2246, function: Function { arguments: [Externref], shim_idx: 2247, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1882
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_540158e61e0ad4e1___closure__destroy___dyn_core_e4e32f5ae772ed90___ops__function__FnMut__wasm_bindgen_540158e61e0ad4e1___JsValue____Output_______, wasm_bindgen_540158e61e0ad4e1___convert__closures_____invoke___wasm_bindgen_540158e61e0ad4e1___JsValue_____);
1851
1883
  return ret;
1852
1884
  }
1853
1885
  export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
@@ -1855,8 +1887,13 @@ export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
1855
1887
  const ret = arg0;
1856
1888
  return ret;
1857
1889
  }
1890
+ export function __wbindgen_cast_e30fea0391e3bac3(arg0, arg1) {
1891
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1032, function: Function { arguments: [NamedExternref("RTCPeerConnectionIceEvent")], shim_idx: 1033, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1892
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_540158e61e0ad4e1___closure__destroy___dyn_core_e4e32f5ae772ed90___ops__function__FnMut__js_sys_841a1ee50d21344a___Uint8Array____Output_______, wasm_bindgen_540158e61e0ad4e1___convert__closures_____invoke___js_sys_841a1ee50d21344a___Uint8Array_____);
1893
+ return ret;
1894
+ }
1858
1895
  export function __wbindgen_init_externref_table() {
1859
- const table = wasm.__wbindgen_export_4;
1896
+ const table = wasm.__wbindgen_externrefs;
1860
1897
  const offset = table.grow(4);
1861
1898
  table.set(0, undefined);
1862
1899
  table.set(offset + 0, undefined);