@dcl-regenesislabs/bevy-explorer-web 0.1.0-33777530252.commit-e5b88af → 0.1.0-33858873586.commit-cb7a27f

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/engine/boot.js CHANGED
@@ -4,7 +4,10 @@
4
4
  //
5
5
  // Contract with the host page (react-web/src/engine/engineRpc.ts):
6
6
  // set BEFORE injecting: window.PUBLIC_URL — base for pkg/ fetches (versioned CDN in prod)
7
- // window.__bevyBootConfig = { systemScene, portables, preview, editor, pulseServer, imposterSource }
7
+ // window.__bevyBootConfig — the engine_run options (src/web_options.rs,
8
+ // keyed by the web param table: systemScene, portables, preview,
9
+ // pulseServer, imposterSource …) minus realm/position, forwarded
10
+ // verbatim by __bevyLaunch
8
11
  // provided by this module:
9
12
  // __bevyLoadProgress / __bevyLoadStep — weighted boot progress for the login bar
10
13
  // __bevyReadyToLaunch / __bevyLaunch(realm?, position?) — deferred engine_run
@@ -20,7 +23,7 @@
20
23
  // it before composing any backend URL (parity with native --base-domain)
21
24
  // __bevyHomeScene() — the persisted home scene { realm, parcel: "x,y" } (or the derived
22
25
  // defaults), for the host's "Skip to Home"; set alongside __bevyReadyToLaunch
23
- import { initEngine, start, engine_home_scene, gpu_cache_hash, initGpuCache } from './engine.js'
26
+ import { initEngine, start, applyOptionsToUrlParams, engine_home_scene, gpu_cache_hash, initGpuCache } from './engine.js'
24
27
 
25
28
  // ---- boot progress (replaces ui.js's DOM loading steps) -----------------------------------------
26
29
  // Weight of each step in the overall bar (sums to 100). Step ids are read by the React login bar
@@ -261,40 +264,42 @@ const forwardWheelToEngine = (e) => {
261
264
  window.addEventListener('wheel', forwardWheelToEngine)
262
265
 
263
266
  // ---- URL sync (CALLED BY THE WASM — src/web.rs set_url_params) -----------------------------------
264
- // Keeps the browser URL in step with the player's realm/position so a reload/share lands back at
265
- // the same place. Defaults are omitted so the canonical entry URL stays clean.
267
+ // Keeps the browser URL in step with the engine so a reload/share lands back in the same state.
268
+ // The wasm sends its CURRENT launch options — the engine_run options object with the live realm,
269
+ // position, ui scene, portables and mode swapped in — so every param given at launch is echoed
270
+ // back, not just the ones this file knows about. Defaults are omitted so the canonical entry URL
271
+ // stays clean; unknown (HUD-only) params are preserved.
266
272
  // The base domain is the HUD's call (see the __baseDomain contract above): the ?baseDomain=
267
- // entry param, else the hosting origin's apex, else org. set_url_params below preserves unknown
268
- // params, so the param form survives URL syncs.
273
+ // entry param, else the hosting origin's apex, else org. It never comes through here.
269
274
  const BASE_DOMAIN = window.__baseDomain()
270
275
  const DEFAULT_SERVER = `https://realm-provider-ea.${BASE_DOMAIN}/main`
271
- const DEFAULT_PORTABLES = 'basiccontroller.dcl.eth'
272
276
  // The engine connects to the EXPANDED world url (ipfs map_realm_name turns `name.dcl.eth` into
273
277
  // worlds-content-server…/world/name.dcl.eth) and echoes that back here. Reverse it so the address
274
278
  // bar keeps the short name the user typed; a reload re-expands it the same way.
275
279
  const WORLDS_PREFIX = `https://worlds-content-server.${BASE_DOMAIN}/world/`
276
280
  // captured from the ENTRY url (later syncs rewrite location.search)
277
281
  const explicitSystemScene = new URLSearchParams(window.location.search).has('systemScene')
278
- window.set_url_params = (position, server, system_scene, portables, preview, editor) => {
282
+ // The values that mean "default" and are dropped from the url — the two defaults only this page
283
+ // knows (the engine already omits its own, e.g. the default portables). systemScene: null from the
284
+ // engine = NO ui scene (systemScene=none); an explicit ?systemScene= boot override stays across
285
+ // reloads, only the host's default scene is omitted.
286
+ const urlValue = (name, value) => {
287
+ switch (name) {
288
+ case 'realm':
289
+ if (typeof value === 'string' && value.startsWith(WORLDS_PREFIX)) value = value.slice(WORLDS_PREFIX.length)
290
+ return value === DEFAULT_SERVER ? null : value
291
+ case 'systemScene':
292
+ value = value ?? 'none'
293
+ return explicitSystemScene || value !== (config.systemScene ?? 'none') ? value : null
294
+ default:
295
+ return value
296
+ }
297
+ }
298
+ window.set_url_params = (optionsJson) => {
279
299
  try {
280
- if (server.startsWith(WORLDS_PREFIX)) server = server.slice(WORLDS_PREFIX.length)
281
300
  const urlParams = new URLSearchParams(window.location.search)
282
- // absent when the realm won't honour a position (worlds spawn at their base scene)
283
- if (position != null) urlParams.set('position', position)
284
- else urlParams.delete('position')
285
- if (server !== DEFAULT_SERVER) urlParams.set('realm', server)
286
- else urlParams.delete('realm')
287
- // An explicit ?systemScene= boot override stays in the URL across reloads (null from the
288
- // engine = NO ui scene running, i.e. systemScene=none); only the default scene is omitted
289
- // to keep the canonical entry URL clean.
290
- if (explicitSystemScene || system_scene !== (config.systemScene ?? '')) urlParams.set('systemScene', system_scene ?? 'none')
291
- else urlParams.delete('systemScene')
292
- if (portables !== DEFAULT_PORTABLES) urlParams.set('portables', portables)
293
- else urlParams.delete('portables')
294
- if (preview) urlParams.set('preview', true)
295
- else urlParams.delete('preview')
296
- if (editor) urlParams.set('editor', true)
297
- else urlParams.delete('editor')
301
+ const options = Object.fromEntries(Object.entries(JSON.parse(optionsJson)).map(([name, raw]) => [name, urlValue(name, raw)]))
302
+ applyOptionsToUrlParams(urlParams, options)
298
303
  history.replaceState(null, '', window.location.pathname + '?' + urlParams.toString())
299
304
  } catch (e) {
300
305
  console.log(`set url params failed: ${e}`)
@@ -323,7 +328,7 @@ initEngine()
323
328
  window.setLoadingStepCompleted('gpu')
324
329
  // Deferred launch: the host calls this once the user picks a destination — avoiding a wasted
325
330
  // default-realm load. One engine per page (see start()'s __bevyStarted guard).
326
- window.__bevyLaunch = (realm, position) => start({ realm, position, systemScene: config.systemScene, portables: config.portables, preview: config.preview, editor: config.editor, pulseServer: config.pulseServer, imposterSource: config.imposterSource })
331
+ window.__bevyLaunch = (realm, position) => start({ ...config, realm, position })
327
332
  // The persisted home scene ({ realm, parcel: "x,y" }), valid once engine_init has loaded the
328
333
  // config — the host's places picker targets it from "Skip to Home" before launching.
329
334
  window.__bevyHomeScene = () => { try { return JSON.parse(engine_home_scene()) } catch { return null } }
package/engine/engine.js CHANGED
@@ -489,10 +489,26 @@ export async function initEngine() {
489
489
  }
490
490
 
491
491
  /**
492
- * Starts the game engine. Values come from the caller (boot.js's __bevyLaunch, fed by the React
493
- * host) — the old boot page's form inputs are gone.
492
+ * Writes launch options (an engine_run options object, or the engine's echo of it) into url params:
493
+ * absent (null), an unset flag (false) or empty = removed, so the url only carries what is set.
494
+ * Shared with boot.js's url sync.
495
+ * @param {URLSearchParams} urlParams
496
+ * @param {Record<string, string | boolean | null | undefined>} options
494
497
  */
495
- export function start({ realm, position, systemScene, portables, preview, editor, pulseServer, imposterSource } = {}) {
498
+ export function applyOptionsToUrlParams(urlParams, options) {
499
+ for (const [name, value] of Object.entries(options)) {
500
+ if (value == null || value === false || value === '') urlParams.delete(name);
501
+ else urlParams.set(name, value === true ? 'true' : String(value));
502
+ }
503
+ }
504
+
505
+ /**
506
+ * Starts the game engine. `options` is the engine_run options object — one named key per
507
+ * launch parameter (EngineRunOptions in src/web.rs: realm, position, systemScene, portables,
508
+ * preview, editor, pulseServer, imposterSource). It comes from boot.js's __bevyLaunch, fed by
509
+ * the React host. Absent keys take the engine's defaults; an unknown key makes engine_run throw.
510
+ */
511
+ export function start(options = {}) {
496
512
  // Launch at most once per page: a second engine_run re-runs init_runtime, whose OnceCell is
497
513
  // already set, and panics ("can't init wasm queue"). One engine per page — ignore re-entry.
498
514
  if (window.__bevyStarted) {
@@ -501,50 +517,13 @@ export function start({ realm, position, systemScene, portables, preview, editor
501
517
  }
502
518
  window.__bevyStarted = true;
503
519
 
504
- const realmValue = realm ?? '';
505
- const positionValue = position ?? '';
506
- const systemSceneValue = systemScene ?? '';
507
- const portablesValue = portables ?? 'basiccontroller.dcl.eth';
508
- const previewValue = preview === true;
509
- const editorValue = editor === true;
510
- // Pulse server as host:port (the WebTransport port on web); empty = the engine's default.
511
- const pulseServerValue = pulseServer ?? '';
512
- // Base url of the imposter store; empty = the engine's default.
513
- const imposterSourceValue = imposterSource ?? '';
514
-
515
- // Build params from URL, overriding with form field values
520
+ // Mirror the launch options into the page's query string — the scenes see it as their params
521
+ // (SceneParams), so a launch-time choice (the picked realm/position) shows up there too.
516
522
  const urlParams = new URLSearchParams(window.location.search);
517
- urlParams.set("realm", realmValue);
518
- if (positionValue) {
519
- urlParams.set("position", positionValue);
520
- }
521
- urlParams.set("systemScene", systemSceneValue);
522
- urlParams.set("portables", portablesValue);
523
523
  urlParams.delete("initialRealm");
524
- if (previewValue) {
525
- urlParams.set("preview", "true");
526
- } else {
527
- urlParams.delete("preview");
528
- }
529
- if (editorValue) {
530
- urlParams.set("editor", "true");
531
- } else {
532
- urlParams.delete("editor");
533
- }
534
- if (pulseServerValue) {
535
- urlParams.set("pulseServer", pulseServerValue);
536
- } else {
537
- urlParams.delete("pulseServer");
538
- }
539
- if (imposterSourceValue) {
540
- urlParams.set("imposterSource", imposterSourceValue);
541
- } else {
542
- urlParams.delete("imposterSource");
543
- }
544
- const params = urlParams.toString();
545
- console.log(
546
- `[Main JS] "Launch" button clicked. Initial Realm: "${realmValue}", Position (coords): "${positionValue}", System Scene: "${systemSceneValue}", Portables: "${portablesValue}"`
547
- );
524
+ applyOptionsToUrlParams(urlParams, options);
525
+ const sceneParams = urlParams.toString();
526
+ console.log(`[Main JS] launching with ${JSON.stringify(options)}`);
548
527
  hideHeader();
549
528
 
550
529
  const platform = (() => {
@@ -602,7 +581,9 @@ export function start({ realm, position, systemScene, portables, preview, editor
602
581
  delete window._buildEngineApi;
603
582
  };
604
583
 
605
- engine_run(platform, realmValue, positionValue, systemSceneValue, portablesValue, true, previewValue, editorValue, 1e7, params, pulseServerValue, imposterSourceValue);
584
+ // Everything the host handed us goes through as-is (the engine rejects unknown keys); only
585
+ // the page-derived values are added here.
586
+ engine_run({ ...options, platform, sceneParams });
606
587
  window.engine_console_command = engine_console_command;
607
588
  window.loadSceneUtils = () => {
608
589
  return new Promise((resolve, reject) => {
@@ -1 +1 @@
1
- {"wasmSize":111769677}
1
+ {"wasmSize":111786505}
@@ -984,24 +984,11 @@ function engine_init() {
984
984
  const ret2 = wasm.engine_init();
985
985
  return ret2;
986
986
  }
987
- function engine_run(platform, server, location, system_scene, portables, with_thread_loader, is_preview, is_editor, gpu_bytes_per_frame, params, pulse_server, imposter_source) {
988
- const ptr0 = passStringToWasm0(platform, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
989
- const len0 = WASM_VECTOR_LEN;
990
- const ptr1 = passStringToWasm0(server, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
991
- const len1 = WASM_VECTOR_LEN;
992
- const ptr2 = passStringToWasm0(location, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
993
- const len2 = WASM_VECTOR_LEN;
994
- const ptr3 = passStringToWasm0(system_scene, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
995
- const len3 = WASM_VECTOR_LEN;
996
- const ptr4 = passStringToWasm0(portables, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
997
- const len4 = WASM_VECTOR_LEN;
998
- const ptr5 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
999
- const len5 = WASM_VECTOR_LEN;
1000
- const ptr6 = passStringToWasm0(pulse_server, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1001
- const len6 = WASM_VECTOR_LEN;
1002
- const ptr7 = passStringToWasm0(imposter_source, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1003
- const len7 = WASM_VECTOR_LEN;
1004
- wasm.engine_run(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4, with_thread_loader, is_preview, is_editor, gpu_bytes_per_frame, ptr5, len5, ptr6, len6, ptr7, len7);
987
+ function engine_run(options) {
988
+ const ret2 = wasm.engine_run(options);
989
+ if (ret2[1]) {
990
+ throw takeFromExternrefTable0(ret2[0]);
991
+ }
1005
992
  }
1006
993
  function gpu_cache_hash() {
1007
994
  let deferred1_0;
@@ -4633,31 +4620,8 @@ function __wbg_get_imports(memory) {
4633
4620
  __wbg_set_type_90c8feb4413481b1: function(arg02, arg12) {
4634
4621
  arg02.type = __wbindgen_enum_GpuQueryType[arg12];
4635
4622
  },
4636
- __wbg_set_url_params_7b904a9186243adc: function(arg02, arg12, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
4637
- let deferred1_0;
4638
- let deferred1_1;
4639
- try {
4640
- let v0;
4641
- if (arg02 !== 0) {
4642
- v0 = getStringFromWasm0(arg02, arg12).slice();
4643
- wasm.__wbindgen_free(arg02, arg12 * 1, 1);
4644
- }
4645
- deferred1_0 = arg2;
4646
- deferred1_1 = arg3;
4647
- let v2;
4648
- if (arg4 !== 0) {
4649
- v2 = getStringFromWasm0(arg4, arg5).slice();
4650
- wasm.__wbindgen_free(arg4, arg5 * 1, 1);
4651
- }
4652
- let v3;
4653
- if (arg6 !== 0) {
4654
- v3 = getStringFromWasm0(arg6, arg7).slice();
4655
- wasm.__wbindgen_free(arg6, arg7 * 1, 1);
4656
- }
4657
- window.set_url_params(v0, getStringFromWasm0(arg2, arg3), v2, v3, arg8 !== 0, arg9 !== 0);
4658
- } finally {
4659
- wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
4660
- }
4623
+ __wbg_set_url_params_5c8097fa8a282019: function(arg02, arg12) {
4624
+ window.set_url_params(getStringFromWasm0(arg02, arg12));
4661
4625
  },
4662
4626
  __wbg_set_usage_4810d9c6b8041aa6: function(arg02, arg12) {
4663
4627
  arg02.usage = arg12 >>> 0;
@@ -8,6 +8,21 @@
8
8
 
9
9
  type ReadableStreamType = "bytes";
10
10
 
11
+ export interface EngineRunOptions {
12
+ platform?: string;
13
+ realm?: string;
14
+ position?: string;
15
+ systemScene?: string;
16
+ portables?: string;
17
+ preview?: boolean;
18
+ editor?: boolean;
19
+ sceneParams?: string;
20
+ pulseServer?: string;
21
+ imposterSource?: string;
22
+ }
23
+
24
+
25
+
11
26
  export class AudioCaptureOptions {
12
27
  private constructor();
13
28
  free(): void;
@@ -110,7 +125,10 @@ export function engine_home_scene(): string;
110
125
 
111
126
  export function engine_init(): Promise<any>;
112
127
 
113
- export function engine_run(platform: string, server: string, location: string, system_scene: string, portables: string, with_thread_loader: boolean, is_preview: boolean, is_editor: boolean, gpu_bytes_per_frame: number, params: string, pulse_server: string, imposter_source: string): void;
128
+ /**
129
+ * Launch the engine. Throws (rejects the launch) on an invalid options object.
130
+ */
131
+ export function engine_run(options: EngineRunOptions): void;
114
132
 
115
133
  export function gpu_cache_hash(): string;
116
134
 
@@ -377,7 +395,7 @@ export interface InitOutput {
377
395
  readonly engine_console_command: (a: number, b: number) => any;
378
396
  readonly engine_home_scene: () => [number, number];
379
397
  readonly engine_init: () => any;
380
- readonly engine_run: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number) => void;
398
+ readonly engine_run: (a: any) => [number, number];
381
399
  readonly init_asset_load_thread: () => void;
382
400
  readonly image_processor_init: () => void;
383
401
  readonly image_processor_run: () => any;
@@ -402,37 +402,14 @@ export function engine_init() {
402
402
  }
403
403
 
404
404
  /**
405
- * @param {string} platform
406
- * @param {string} server
407
- * @param {string} location
408
- * @param {string} system_scene
409
- * @param {string} portables
410
- * @param {boolean} with_thread_loader
411
- * @param {boolean} is_preview
412
- * @param {boolean} is_editor
413
- * @param {number} gpu_bytes_per_frame
414
- * @param {string} params
415
- * @param {string} pulse_server
416
- * @param {string} imposter_source
405
+ * Launch the engine. Throws (rejects the launch) on an invalid options object.
406
+ * @param {EngineRunOptions} options
417
407
  */
418
- export function engine_run(platform, server, location, system_scene, portables, with_thread_loader, is_preview, is_editor, gpu_bytes_per_frame, params, pulse_server, imposter_source) {
419
- const ptr0 = passStringToWasm0(platform, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
420
- const len0 = WASM_VECTOR_LEN;
421
- const ptr1 = passStringToWasm0(server, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
422
- const len1 = WASM_VECTOR_LEN;
423
- const ptr2 = passStringToWasm0(location, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
424
- const len2 = WASM_VECTOR_LEN;
425
- const ptr3 = passStringToWasm0(system_scene, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
426
- const len3 = WASM_VECTOR_LEN;
427
- const ptr4 = passStringToWasm0(portables, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
428
- const len4 = WASM_VECTOR_LEN;
429
- const ptr5 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
430
- const len5 = WASM_VECTOR_LEN;
431
- const ptr6 = passStringToWasm0(pulse_server, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
432
- const len6 = WASM_VECTOR_LEN;
433
- const ptr7 = passStringToWasm0(imposter_source, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
434
- const len7 = WASM_VECTOR_LEN;
435
- wasm.engine_run(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4, with_thread_loader, is_preview, is_editor, gpu_bytes_per_frame, ptr5, len5, ptr6, len6, ptr7, len7);
408
+ export function engine_run(options) {
409
+ const ret = wasm.engine_run(options);
410
+ if (ret[1]) {
411
+ throw takeFromExternrefTable0(ret[0]);
412
+ }
436
413
  }
437
414
 
438
415
  /**
@@ -4560,31 +4537,8 @@ function __wbg_get_imports(memory) {
4560
4537
  __wbg_set_type_90c8feb4413481b1: function(arg0, arg1) {
4561
4538
  arg0.type = __wbindgen_enum_GpuQueryType[arg1];
4562
4539
  },
4563
- __wbg_set_url_params_7b904a9186243adc: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
4564
- let deferred1_0;
4565
- let deferred1_1;
4566
- try {
4567
- let v0;
4568
- if (arg0 !== 0) {
4569
- v0 = getStringFromWasm0(arg0, arg1).slice();
4570
- wasm.__wbindgen_free(arg0, arg1 * 1, 1);
4571
- }
4572
- deferred1_0 = arg2;
4573
- deferred1_1 = arg3;
4574
- let v2;
4575
- if (arg4 !== 0) {
4576
- v2 = getStringFromWasm0(arg4, arg5).slice();
4577
- wasm.__wbindgen_free(arg4, arg5 * 1, 1);
4578
- }
4579
- let v3;
4580
- if (arg6 !== 0) {
4581
- v3 = getStringFromWasm0(arg6, arg7).slice();
4582
- wasm.__wbindgen_free(arg6, arg7 * 1, 1);
4583
- }
4584
- window.set_url_params(v0, getStringFromWasm0(arg2, arg3), v2, v3, arg8 !== 0, arg9 !== 0);
4585
- } finally {
4586
- wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
4587
- }
4540
+ __wbg_set_url_params_5c8097fa8a282019: function(arg0, arg1) {
4541
+ window.set_url_params(getStringFromWasm0(arg0, arg1));
4588
4542
  },
4589
4543
  __wbg_set_usage_4810d9c6b8041aa6: function(arg0, arg1) {
4590
4544
  arg0.usage = arg1 >>> 0;
@@ -4988,147 +4942,147 @@ function __wbg_get_imports(memory) {
4988
4942
  return ret;
4989
4943
  },
4990
4944
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
4991
- // Cast intrinsic for `Closure(Closure { dtor_idx: 139036, function: Function { arguments: [Externref], shim_idx: 139037, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4945
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 139039, function: Function { arguments: [Externref], shim_idx: 139040, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4992
4946
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output________2_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__3_);
4993
4947
  return ret;
4994
4948
  },
4995
4949
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
4996
- // Cast intrinsic for `Closure(Closure { dtor_idx: 139036, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 139037, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4950
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 139039, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 139040, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4997
4951
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output________2_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__3__1);
4998
4952
  return ret;
4999
4953
  },
5000
4954
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
5001
- // Cast intrinsic for `Closure(Closure { dtor_idx: 146314, function: Function { arguments: [Externref], shim_idx: 146315, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4955
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 146317, function: Function { arguments: [Externref], shim_idx: 146318, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5002
4956
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output________3_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__4_);
5003
4957
  return ret;
5004
4958
  },
5005
4959
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
5006
- // Cast intrinsic for `Closure(Closure { dtor_idx: 147564, function: Function { arguments: [], shim_idx: 147565, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4960
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 147567, function: Function { arguments: [], shim_idx: 147568, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5007
4961
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________3_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__4_);
5008
4962
  return ret;
5009
4963
  },
5010
4964
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
5011
- // Cast intrinsic for `Closure(Closure { dtor_idx: 153389, function: Function { arguments: [], shim_idx: 153390, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4965
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 153392, function: Function { arguments: [], shim_idx: 153393, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5012
4966
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________4_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__5_);
5013
4967
  return ret;
5014
4968
  },
5015
4969
  __wbindgen_cast_0000000000000006: function(arg0, arg1) {
5016
- // Cast intrinsic for `Closure(Closure { dtor_idx: 154421, function: Function { arguments: [Externref], shim_idx: 154422, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4970
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 154424, function: Function { arguments: [Externref], shim_idx: 154425, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5017
4971
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output___core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true_);
5018
4972
  return ret;
5019
4973
  },
5020
4974
  __wbindgen_cast_0000000000000007: function(arg0, arg1) {
5021
- // Cast intrinsic for `Closure(Closure { dtor_idx: 154421, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 154424, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4975
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 154424, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 154427, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5022
4976
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output___core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_a9f755c046d487e8___features__gen_MessageEvent__MessageEvent______true_);
5023
4977
  return ret;
5024
4978
  },
5025
4979
  __wbindgen_cast_0000000000000008: function(arg0, arg1) {
5026
- // Cast intrinsic for `Closure(Closure { dtor_idx: 33326, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 33327, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4980
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 33329, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 33330, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5027
4981
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_a9f755c046d487e8___features__gen_CloseEvent__CloseEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_a9f755c046d487e8___features__gen_CloseEvent__CloseEvent______true_);
5028
4982
  return ret;
5029
4983
  },
5030
4984
  __wbindgen_cast_0000000000000009: function(arg0, arg1) {
5031
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65483, function: Function { arguments: [Externref], shim_idx: 65484, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4985
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 65486, function: Function { arguments: [Externref], shim_idx: 65487, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5032
4986
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_d61ed97e225e8900___livekit__web__room_event__RoomEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___sys__Undefined__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true_);
5033
4987
  return ret;
5034
4988
  },
5035
4989
  __wbindgen_cast_000000000000000a: function(arg0, arg1) {
5036
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65483, function: Function { arguments: [Externref], shim_idx: 65486, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4990
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 65486, function: Function { arguments: [Externref], shim_idx: 65489, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
5037
4991
  const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_d61ed97e225e8900___livekit__web__room_event__RoomEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_d61ed97e225e8900___livekit__web__room_event__RoomEvent______true_);
5038
4992
  return ret;
5039
4993
  },
5040
4994
  __wbindgen_cast_000000000000000b: function(arg0, arg1) {
5041
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65483, function: Function { arguments: [NamedExternref("WebTransportBidirectionalStream")], shim_idx: 65484, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4995
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 65486, function: Function { arguments: [NamedExternref("WebTransportBidirectionalStream")], shim_idx: 65487, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5042
4996
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_d61ed97e225e8900___livekit__web__room_event__RoomEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___sys__Undefined__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true__10);
5043
4997
  return ret;
5044
4998
  },
5045
4999
  __wbindgen_cast_000000000000000c: function(arg0, arg1) {
5046
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65483, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 65484, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5000
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 65486, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 65487, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5047
5001
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_d61ed97e225e8900___livekit__web__room_event__RoomEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___sys__Undefined__core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___true__11);
5048
5002
  return ret;
5049
5003
  },
5050
5004
  __wbindgen_cast_000000000000000d: function(arg0, arg1) {
5051
- // Cast intrinsic for `Closure(Closure { dtor_idx: 68455, function: Function { arguments: [F64, Externref], shim_idx: 68456, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5005
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 68458, function: Function { arguments: [F64, Externref], shim_idx: 68459, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5052
5006
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__f64__wasm_bindgen_37b2aef40228fbc7___JsValue___Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___f64__wasm_bindgen_37b2aef40228fbc7___JsValue______true_);
5053
5007
  return ret;
5054
5008
  },
5055
5009
  __wbindgen_cast_000000000000000e: function(arg0, arg1) {
5056
- // Cast intrinsic for `Closure(Closure { dtor_idx: 69759, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 69760, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5010
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 69762, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 69763, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5057
5011
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_a9f755c046d487e8___features__gen_CloseEvent__CloseEvent____Output________1_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_a9f755c046d487e8___features__gen_CloseEvent__CloseEvent______true__1_);
5058
5012
  return ret;
5059
5013
  },
5060
5014
  __wbindgen_cast_000000000000000f: function(arg0, arg1) {
5061
- // Cast intrinsic for `Closure(Closure { dtor_idx: 74627, function: Function { arguments: [], shim_idx: 74628, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5015
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 74630, function: Function { arguments: [], shim_idx: 74631, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5062
5016
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true_);
5063
5017
  return ret;
5064
5018
  },
5065
5019
  __wbindgen_cast_0000000000000010: function(arg0, arg1) {
5066
- // Cast intrinsic for `Closure(Closure { dtor_idx: 74979, function: Function { arguments: [], shim_idx: 74980, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5020
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 74982, function: Function { arguments: [], shim_idx: 74983, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5067
5021
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________1_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__1_);
5068
5022
  return ret;
5069
5023
  },
5070
5024
  __wbindgen_cast_0000000000000011: function(arg0, arg1) {
5071
- // Cast intrinsic for `Closure(Closure { dtor_idx: 75015, function: Function { arguments: [Externref], shim_idx: 75016, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5025
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 75018, function: Function { arguments: [Externref], shim_idx: 75019, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5072
5026
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true_);
5073
5027
  return ret;
5074
5028
  },
5075
5029
  __wbindgen_cast_0000000000000012: function(arg0, arg1) {
5076
- // Cast intrinsic for `Closure(Closure { dtor_idx: 75064, function: Function { arguments: [], shim_idx: 75065, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5030
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 75067, function: Function { arguments: [], shim_idx: 75068, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5077
5031
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________2_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__2_);
5078
5032
  return ret;
5079
5033
  },
5080
5034
  __wbindgen_cast_0000000000000013: function(arg0, arg1) {
5081
- // Cast intrinsic for `Closure(Closure { dtor_idx: 75070, function: Function { arguments: [Externref], shim_idx: 75071, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5035
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 75073, function: Function { arguments: [Externref], shim_idx: 75074, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5082
5036
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output________1_, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__1_);
5083
5037
  return ret;
5084
5038
  },
5085
5039
  __wbindgen_cast_0000000000000014: function(arg0, arg1) {
5086
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76935, function: Function { arguments: [Externref], shim_idx: 76936, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5040
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76938, function: Function { arguments: [Externref], shim_idx: 76939, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5087
5041
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2_);
5088
5042
  return ret;
5089
5043
  },
5090
5044
  __wbindgen_cast_0000000000000015: function(arg0, arg1) {
5091
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76935, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 76943, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5045
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76938, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 76946, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5092
5046
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___js_sys_342d9548e43f4e8___Array__web_sys_a9f755c046d487e8___features__gen_ResizeObserver__ResizeObserver______true_);
5093
5047
  return ret;
5094
5048
  },
5095
5049
  __wbindgen_cast_0000000000000016: function(arg0, arg1) {
5096
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76935, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 76936, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5050
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76938, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 76939, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5097
5051
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__21);
5098
5052
  return ret;
5099
5053
  },
5100
5054
  __wbindgen_cast_0000000000000017: function(arg0, arg1) {
5101
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76935, function: Function { arguments: [NamedExternref("Event")], shim_idx: 76936, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5055
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76938, function: Function { arguments: [NamedExternref("Event")], shim_idx: 76939, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5102
5056
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__22);
5103
5057
  return ret;
5104
5058
  },
5105
5059
  __wbindgen_cast_0000000000000018: function(arg0, arg1) {
5106
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76935, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 76936, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5060
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76938, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 76939, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5107
5061
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__23);
5108
5062
  return ret;
5109
5063
  },
5110
5064
  __wbindgen_cast_0000000000000019: function(arg0, arg1) {
5111
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76935, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 76936, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5065
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76938, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 76939, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5112
5066
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__24);
5113
5067
  return ret;
5114
5068
  },
5115
5069
  __wbindgen_cast_000000000000001a: function(arg0, arg1) {
5116
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76935, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 76936, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5070
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76938, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 76939, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5117
5071
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__25);
5118
5072
  return ret;
5119
5073
  },
5120
5074
  __wbindgen_cast_000000000000001b: function(arg0, arg1) {
5121
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76935, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 76936, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5075
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76938, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 76939, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5122
5076
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__26);
5123
5077
  return ret;
5124
5078
  },
5125
5079
  __wbindgen_cast_000000000000001c: function(arg0, arg1) {
5126
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76935, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 76936, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5080
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76938, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 76939, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5127
5081
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__2__27);
5128
5082
  return ret;
5129
5083
  },
5130
5084
  __wbindgen_cast_000000000000001d: function(arg0, arg1) {
5131
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76935, function: Function { arguments: [], shim_idx: 76951, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5085
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76938, function: Function { arguments: [], shim_idx: 76954, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5132
5086
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__core_b1d35abfa360d765___option__Option_web_sys_a9f755c046d487e8___features__gen_Blob__Blob_____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke_______true__3_);
5133
5087
  return ret;
5134
5088
  },
Binary file
@@ -3,7 +3,7 @@
3
3
  export const engine_console_command: (a: number, b: number) => any;
4
4
  export const engine_home_scene: () => [number, number];
5
5
  export const engine_init: () => any;
6
- export const engine_run: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number) => void;
6
+ export const engine_run: (a: any) => [number, number];
7
7
  export const init_asset_load_thread: () => void;
8
8
  export const image_processor_init: () => void;
9
9
  export const image_processor_run: () => any;