@dcl-regenesislabs/bevy-explorer-web 0.1.0-33668291214.commit-c32af90 → 0.1.0-33738119950.commit-be9835b

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 (30) hide show
  1. package/assets/Showcase-C7bZrJPW.js +1 -0
  2. package/assets/design-CDjjN9qk.css +1 -0
  3. package/assets/design-Dq5EpAgE.js +1 -0
  4. package/assets/index-BQ3IpLan.js +8 -0
  5. package/assets/{index-C_9rFT7S.css → index-ju4bDoYb.css} +1 -1
  6. package/assets/menus-Cf5FleNn.css +1 -0
  7. package/assets/menus-CtM2DfFJ.js +7 -0
  8. package/assets/{vendor-CwuQr0tI.css → vendor-Bpi9tqCM.css} +1 -1
  9. package/assets/vendor-DKj_j_7k.js +9 -0
  10. package/bridge-scene/static/BevyExplorerUI/about +1 -1
  11. package/bridge-scene/static/{bafkreihpslcqetgvhzke2bnemmxuruyhhehscxni3bo25mkci4k4gucjaa → bafkreidlvde2qa2rhqyufysyp2owujeomrq7utzwyl33yrp2unbrfxpitm} +1 -1
  12. package/bridge-scene/static/bafybeiegd3rzrfekswhiz26txjdg6jkwjgq7eyf3myinmfsmqzutflykpa +45501 -0
  13. package/engine/boot.js +17 -5
  14. package/engine/engine.js +11 -4
  15. package/engine/pkg/manifest.json +1 -1
  16. package/engine/pkg/sandbox_worker.bundle.js +38 -8
  17. package/engine/pkg/webgpu_build.d.ts +13 -5
  18. package/engine/pkg/webgpu_build.js +72 -37
  19. package/engine/pkg/webgpu_build_bg.wasm +0 -0
  20. package/engine/pkg/webgpu_build_bg.wasm.d.ts +5 -4
  21. package/index.html +17 -17
  22. package/package.json +3 -3
  23. package/assets/Showcase-BHx7L8xB.js +0 -1
  24. package/assets/design-BGhsZiMc.css +0 -1
  25. package/assets/design-DpTumHxq.js +0 -1
  26. package/assets/index-CG-1A3pR.js +0 -8
  27. package/assets/menus-BVPSzQ_u.js +0 -7
  28. package/assets/menus-D_sZJC0D.css +0 -1
  29. package/assets/vendor-qOm-3HA_.js +0 -9
  30. package/bridge-scene/static/bafybeicpuu7jase4bj6gvohpqi7m3iqwbpijavuudi4css47wpxiirovfu +0 -68025
package/engine/boot.js CHANGED
@@ -4,7 +4,7 @@
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 }
7
+ // window.__bevyBootConfig = { systemScene, portables, preview, editor, pulseServer }
8
8
  // provided by this module:
9
9
  // __bevyLoadProgress / __bevyLoadStep — weighted boot progress for the login bar
10
10
  // __bevyReadyToLaunch / __bevyLaunch(realm?, position?) — deferred engine_run
@@ -15,7 +15,12 @@
15
15
  // __onEngineCrash(message, source) — OPTIONAL host callback; the watchdog calls it instead of
16
16
  // rendering any overlay (React owns the error UI)
17
17
  // window.engine / engine_console_command — the console RPC (built by engine.js post-launch)
18
- import { initEngine, start, gpu_cache_hash, initGpuCache } from './engine.js'
18
+ // __baseDomain() — HOST-PROVIDED (react-web/src/lib/baseDomain.ts, defined before this module
19
+ // is injected): the deployment domain every backend host is composed from; the wasm reads
20
+ // it before composing any backend URL (parity with native --base-domain)
21
+ // __bevyHomeScene() — the persisted home scene { realm, parcel: "x,y" } (or the derived
22
+ // 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'
19
24
 
20
25
  // ---- boot progress (replaces ui.js's DOM loading steps) -----------------------------------------
21
26
  // Weight of each step in the overall bar (sums to 100). Step ids are read by the React login bar
@@ -258,12 +263,16 @@ window.addEventListener('wheel', forwardWheelToEngine)
258
263
  // ---- URL sync (CALLED BY THE WASM — src/web.rs set_url_params) -----------------------------------
259
264
  // Keeps the browser URL in step with the player's realm/position so a reload/share lands back at
260
265
  // the same place. Defaults are omitted so the canonical entry URL stays clean.
261
- const DEFAULT_SERVER = 'https://realm-provider-ea.decentraland.org/main'
266
+ // 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.
269
+ const BASE_DOMAIN = window.__baseDomain()
270
+ const DEFAULT_SERVER = `https://realm-provider-ea.${BASE_DOMAIN}/main`
262
271
  const DEFAULT_PORTABLES = 'basiccontroller.dcl.eth'
263
272
  // The engine connects to the EXPANDED world url (ipfs map_realm_name turns `name.dcl.eth` into
264
273
  // worlds-content-server…/world/name.dcl.eth) and echoes that back here. Reverse it so the address
265
274
  // bar keeps the short name the user typed; a reload re-expands it the same way.
266
- const WORLDS_PREFIX = 'https://worlds-content-server.decentraland.org/world/'
275
+ const WORLDS_PREFIX = `https://worlds-content-server.${BASE_DOMAIN}/world/`
267
276
  // captured from the ENTRY url (later syncs rewrite location.search)
268
277
  const explicitSystemScene = new URLSearchParams(window.location.search).has('systemScene')
269
278
  window.set_url_params = (position, server, system_scene, portables, preview, editor) => {
@@ -314,7 +323,10 @@ initEngine()
314
323
  window.setLoadingStepCompleted('gpu')
315
324
  // Deferred launch: the host calls this once the user picks a destination — avoiding a wasted
316
325
  // default-realm load. One engine per page (see start()'s __bevyStarted guard).
317
- window.__bevyLaunch = (realm, position) => start({ realm, position, systemScene: config.systemScene, portables: config.portables, preview: config.preview, editor: config.editor })
326
+ window.__bevyLaunch = (realm, position) => start({ realm, position, systemScene: config.systemScene, portables: config.portables, preview: config.preview, editor: config.editor, pulseServer: config.pulseServer })
327
+ // The persisted home scene ({ realm, parcel: "x,y" }), valid once engine_init has loaded the
328
+ // config — the host's places picker targets it from "Skip to Home" before launching.
329
+ window.__bevyHomeScene = () => { try { return JSON.parse(engine_home_scene()) } catch { return null } }
318
330
  window.__bevyReadyToLaunch = true
319
331
  })
320
332
  .catch((e) => {
package/engine/engine.js CHANGED
@@ -1,11 +1,11 @@
1
1
  // Engine logic - ES module
2
2
  // Handles WASM/WebGPU initialization and game execution
3
3
 
4
- import init, { engine_init, engine_run, engine_console_command, gpu_cache_hash } from "./pkg/webgpu_build.js";
4
+ import init, { engine_init, engine_run, engine_console_command, engine_home_scene, gpu_cache_hash } from "./pkg/webgpu_build.js";
5
5
  import { initGpuCache } from "./gpu_cache.js";
6
6
 
7
7
  // Re-export for main.js
8
- export { gpu_cache_hash, initGpuCache };
8
+ export { engine_home_scene, gpu_cache_hash, initGpuCache };
9
9
 
10
10
  /**
11
11
  * Records an uncaught worker error as context for the crash watchdog. A worker
@@ -492,7 +492,7 @@ export async function initEngine() {
492
492
  * Starts the game engine. Values come from the caller (boot.js's __bevyLaunch, fed by the React
493
493
  * host) — the old boot page's form inputs are gone.
494
494
  */
495
- export function start({ realm, position, systemScene, portables, preview, editor } = {}) {
495
+ export function start({ realm, position, systemScene, portables, preview, editor, pulseServer } = {}) {
496
496
  // Launch at most once per page: a second engine_run re-runs init_runtime, whose OnceCell is
497
497
  // already set, and panics ("can't init wasm queue"). One engine per page — ignore re-entry.
498
498
  if (window.__bevyStarted) {
@@ -507,6 +507,8 @@ export function start({ realm, position, systemScene, portables, preview, editor
507
507
  const portablesValue = portables ?? 'basiccontroller.dcl.eth';
508
508
  const previewValue = preview === true;
509
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 ?? '';
510
512
 
511
513
  // Build params from URL, overriding with form field values
512
514
  const urlParams = new URLSearchParams(window.location.search);
@@ -527,6 +529,11 @@ export function start({ realm, position, systemScene, portables, preview, editor
527
529
  } else {
528
530
  urlParams.delete("editor");
529
531
  }
532
+ if (pulseServerValue) {
533
+ urlParams.set("pulseServer", pulseServerValue);
534
+ } else {
535
+ urlParams.delete("pulseServer");
536
+ }
530
537
  const params = urlParams.toString();
531
538
  console.log(
532
539
  `[Main JS] "Launch" button clicked. Initial Realm: "${realmValue}", Position (coords): "${positionValue}", System Scene: "${systemSceneValue}", Portables: "${portablesValue}"`
@@ -588,7 +595,7 @@ export function start({ realm, position, systemScene, portables, preview, editor
588
595
  delete window._buildEngineApi;
589
596
  };
590
597
 
591
- engine_run(platform, realmValue, positionValue, systemSceneValue, portablesValue, true, previewValue, editorValue, 1e7, params);
598
+ engine_run(platform, realmValue, positionValue, systemSceneValue, portablesValue, true, previewValue, editorValue, 1e7, params, pulseServerValue);
592
599
  window.engine_console_command = engine_console_command;
593
600
  window.loadSceneUtils = () => {
594
601
  return new Promise((resolve, reject) => {
@@ -1 +1 @@
1
- {"wasmSize":111640399}
1
+ {"wasmSize":111764448}
@@ -18,6 +18,7 @@ __export(webgpu_build_exports, {
18
18
  default: () => __wbg_init,
19
19
  drop_context: () => drop_context,
20
20
  engine_console_command: () => engine_console_command,
21
+ engine_home_scene: () => engine_home_scene,
21
22
  engine_init: () => engine_init,
22
23
  engine_run: () => engine_run,
23
24
  gpu_cache_hash: () => gpu_cache_hash,
@@ -967,11 +968,23 @@ function engine_console_command(command_line) {
967
968
  const ret2 = wasm.engine_console_command(ptr0, len0);
968
969
  return ret2;
969
970
  }
971
+ function engine_home_scene() {
972
+ let deferred1_0;
973
+ let deferred1_1;
974
+ try {
975
+ const ret2 = wasm.engine_home_scene();
976
+ deferred1_0 = ret2[0];
977
+ deferred1_1 = ret2[1];
978
+ return getStringFromWasm0(ret2[0], ret2[1]);
979
+ } finally {
980
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
981
+ }
982
+ }
970
983
  function engine_init() {
971
984
  const ret2 = wasm.engine_init();
972
985
  return ret2;
973
986
  }
974
- function engine_run(platform, server, location, system_scene, portables, with_thread_loader, is_preview, is_editor, gpu_bytes_per_frame, params) {
987
+ function engine_run(platform, server, location, system_scene, portables, with_thread_loader, is_preview, is_editor, gpu_bytes_per_frame, params, pulse_server) {
975
988
  const ptr0 = passStringToWasm0(platform, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
976
989
  const len0 = WASM_VECTOR_LEN;
977
990
  const ptr1 = passStringToWasm0(server, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -984,7 +997,9 @@ function engine_run(platform, server, location, system_scene, portables, with_th
984
997
  const len4 = WASM_VECTOR_LEN;
985
998
  const ptr5 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
986
999
  const len5 = WASM_VECTOR_LEN;
987
- 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);
1000
+ const ptr6 = passStringToWasm0(pulse_server, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1001
+ const len6 = WASM_VECTOR_LEN;
1002
+ 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);
988
1003
  }
989
1004
  function gpu_cache_hash() {
990
1005
  let deferred1_0;
@@ -1793,6 +1808,15 @@ function __wbg_get_imports(memory) {
1793
1808
  const ret2 = arg02.WorkerGlobalScope;
1794
1809
  return ret2;
1795
1810
  },
1811
+ __wbg___baseDomain_24aa2e13246909ed: function() {
1812
+ return handleError(function(arg02) {
1813
+ const ret2 = window.__baseDomain();
1814
+ const ptr1 = passStringToWasm0(ret2, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1815
+ const len1 = WASM_VECTOR_LEN;
1816
+ getDataViewMemory0().setInt32(arg02 + 4 * 1, len1, true);
1817
+ getDataViewMemory0().setInt32(arg02 + 4 * 0, ptr1, true);
1818
+ }, arguments);
1819
+ },
1796
1820
  __wbg___engineHeartbeat_64b3c3e231f3208b: function() {
1797
1821
  window.__engineHeartbeat();
1798
1822
  },
@@ -2084,6 +2108,9 @@ function __wbg_get_imports(memory) {
2084
2108
  arg02.close();
2085
2109
  }, arguments);
2086
2110
  },
2111
+ __wbg_close_852ec90e62a09028: function(arg02, arg12) {
2112
+ arg02.close(arg12);
2113
+ },
2087
2114
  __wbg_close_87218c1c5fa30509: function() {
2088
2115
  return handleError(function(arg02) {
2089
2116
  const ret2 = arg02.close();
@@ -4080,6 +4107,9 @@ function __wbg_get_imports(memory) {
4080
4107
  __wbg_set_clear_value_4c76b232d6720cd3: function(arg02, arg12) {
4081
4108
  arg02.clearValue = arg12;
4082
4109
  },
4110
+ __wbg_set_close_code_f80ed056c74af1c4: function(arg02, arg12) {
4111
+ arg02.closeCode = arg12 >>> 0;
4112
+ },
4083
4113
  __wbg_set_code_c616b86ce504e24a: function(arg02, arg12, arg2) {
4084
4114
  arg02.code = getStringFromWasm0(arg12, arg2);
4085
4115
  },
@@ -5081,19 +5111,19 @@ function __wbg_get_imports(memory) {
5081
5111
  return ret2;
5082
5112
  },
5083
5113
  __wbindgen_cast_0000000000000009: function(arg02, arg12) {
5084
- const ret2 = makeMutClosure(arg02, arg12, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_472ef5e48bec7533___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_);
5114
+ const ret2 = makeMutClosure(arg02, arg12, 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_);
5085
5115
  return ret2;
5086
5116
  },
5087
5117
  __wbindgen_cast_000000000000000a: function(arg02, arg12) {
5088
- const ret2 = makeClosure(arg02, arg12, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_472ef5e48bec7533___livekit__web__room_event__RoomEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_472ef5e48bec7533___livekit__web__room_event__RoomEvent______true_);
5118
+ const ret2 = makeClosure(arg02, arg12, 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_);
5089
5119
  return ret2;
5090
5120
  },
5091
5121
  __wbindgen_cast_000000000000000b: function(arg02, arg12) {
5092
- const ret2 = makeMutClosure(arg02, arg12, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_472ef5e48bec7533___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);
5122
+ const ret2 = makeMutClosure(arg02, arg12, 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);
5093
5123
  return ret2;
5094
5124
  },
5095
5125
  __wbindgen_cast_000000000000000c: function(arg02, arg12) {
5096
- const ret2 = makeMutClosure(arg02, arg12, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_472ef5e48bec7533___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);
5126
+ const ret2 = makeMutClosure(arg02, arg12, 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);
5097
5127
  return ret2;
5098
5128
  },
5099
5129
  __wbindgen_cast_000000000000000d: function(arg02, arg12) {
@@ -5556,8 +5586,8 @@ function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_
5556
5586
  function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_a9f755c046d487e8___features__gen_CloseEvent__CloseEvent______true_(arg02, arg12, arg2) {
5557
5587
  wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_a9f755c046d487e8___features__gen_CloseEvent__CloseEvent______true_(arg02, arg12, arg2);
5558
5588
  }
5559
- function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_472ef5e48bec7533___livekit__web__room_event__RoomEvent______true_(arg02, arg12, arg2) {
5560
- wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_472ef5e48bec7533___livekit__web__room_event__RoomEvent______true_(arg02, arg12, arg2);
5589
+ function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_d61ed97e225e8900___livekit__web__room_event__RoomEvent______true_(arg02, arg12, arg2) {
5590
+ wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_d61ed97e225e8900___livekit__web__room_event__RoomEvent______true_(arg02, arg12, arg2);
5561
5591
  }
5562
5592
  function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_a9f755c046d487e8___features__gen_CloseEvent__CloseEvent______true__1_(arg02, arg12, arg2) {
5563
5593
  wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_a9f755c046d487e8___features__gen_CloseEvent__CloseEvent______true__1_(arg02, arg12, arg2);
@@ -101,9 +101,16 @@ export function drop_context(state: WorkerContext): void;
101
101
  */
102
102
  export function engine_console_command(command_line: string): Promise<any>;
103
103
 
104
+ /**
105
+ * The persisted home scene — realm + "x,y" parcel — as a JSON string, falling back to the
106
+ * derived defaults. Valid after [`engine_init`] (it reads the loaded config); exposed so the
107
+ * HUD's places picker can target home from "Skip" BEFORE the engine is launched.
108
+ */
109
+ export function engine_home_scene(): string;
110
+
104
111
  export function engine_init(): Promise<any>;
105
112
 
106
- 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): void;
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): void;
107
114
 
108
115
  export function gpu_cache_hash(): string;
109
116
 
@@ -368,8 +375,9 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
368
375
 
369
376
  export interface InitOutput {
370
377
  readonly engine_console_command: (a: number, b: number) => any;
378
+ readonly engine_home_scene: () => [number, number];
371
379
  readonly engine_init: () => any;
372
- 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) => void;
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) => void;
373
381
  readonly init_asset_load_thread: () => void;
374
382
  readonly image_processor_init: () => void;
375
383
  readonly image_processor_run: () => any;
@@ -542,7 +550,7 @@ export interface InitOutput {
542
550
  readonly wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output________4_: (a: number, b: number) => void;
543
551
  readonly wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__wasm_bindgen_37b2aef40228fbc7___JsValue____Output___core_b1d35abfa360d765___result__Result_____wasm_bindgen_37b2aef40228fbc7___JsError___: (a: number, b: number) => void;
544
552
  readonly wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_a9f755c046d487e8___features__gen_CloseEvent__CloseEvent____Output_______: (a: number, b: number) => void;
545
- readonly wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_472ef5e48bec7533___livekit__web__room_event__RoomEvent____Output_______: (a: number, b: number) => void;
553
+ readonly wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_d61ed97e225e8900___livekit__web__room_event__RoomEvent____Output_______: (a: number, b: number) => void;
546
554
  readonly wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__f64__wasm_bindgen_37b2aef40228fbc7___JsValue___Output_______: (a: number, b: number) => void;
547
555
  readonly wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut__web_sys_a9f755c046d487e8___features__gen_CloseEvent__CloseEvent____Output________1_: (a: number, b: number) => void;
548
556
  readonly wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__FnMut_____Output_______: (a: number, b: number) => void;
@@ -563,7 +571,7 @@ export interface InitOutput {
563
571
  readonly wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__4_: (a: number, b: number, c: any) => void;
564
572
  readonly wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_a9f755c046d487e8___features__gen_MessageEvent__MessageEvent______true_: (a: number, b: number, c: any) => void;
565
573
  readonly wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_a9f755c046d487e8___features__gen_CloseEvent__CloseEvent______true_: (a: number, b: number, c: any) => void;
566
- readonly wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_472ef5e48bec7533___livekit__web__room_event__RoomEvent______true_: (a: number, b: number, c: any) => void;
574
+ readonly wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_d61ed97e225e8900___livekit__web__room_event__RoomEvent______true_: (a: number, b: number, c: any) => void;
567
575
  readonly wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_a9f755c046d487e8___features__gen_CloseEvent__CloseEvent______true__1_: (a: number, b: number, c: any) => void;
568
576
  readonly wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true_: (a: number, b: number, c: any) => void;
569
577
  readonly wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___wasm_bindgen_37b2aef40228fbc7___JsValue______true__1_: (a: number, b: number, c: any) => void;
@@ -584,9 +592,9 @@ export interface InitOutput {
584
592
  readonly memory: WebAssembly.Memory;
585
593
  readonly __wbindgen_malloc: (a: number, b: number) => number;
586
594
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
595
+ readonly __wbindgen_exn_store: (a: number) => void;
587
596
  readonly __externref_table_alloc: () => number;
588
597
  readonly __wbindgen_externrefs: WebAssembly.Table;
589
- readonly __wbindgen_exn_store: (a: number) => void;
590
598
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
591
599
  readonly __externref_drop_slice: (a: number, b: number) => void;
592
600
  readonly __externref_table_dealloc: (a: number) => void;
@@ -374,6 +374,25 @@ export function engine_console_command(command_line) {
374
374
  return ret;
375
375
  }
376
376
 
377
+ /**
378
+ * The persisted home scene — realm + "x,y" parcel — as a JSON string, falling back to the
379
+ * derived defaults. Valid after [`engine_init`] (it reads the loaded config); exposed so the
380
+ * HUD's places picker can target home from "Skip" BEFORE the engine is launched.
381
+ * @returns {string}
382
+ */
383
+ export function engine_home_scene() {
384
+ let deferred1_0;
385
+ let deferred1_1;
386
+ try {
387
+ const ret = wasm.engine_home_scene();
388
+ deferred1_0 = ret[0];
389
+ deferred1_1 = ret[1];
390
+ return getStringFromWasm0(ret[0], ret[1]);
391
+ } finally {
392
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
393
+ }
394
+ }
395
+
377
396
  /**
378
397
  * @returns {Promise<any>}
379
398
  */
@@ -393,8 +412,9 @@ export function engine_init() {
393
412
  * @param {boolean} is_editor
394
413
  * @param {number} gpu_bytes_per_frame
395
414
  * @param {string} params
415
+ * @param {string} pulse_server
396
416
  */
397
- export function engine_run(platform, server, location, system_scene, portables, with_thread_loader, is_preview, is_editor, gpu_bytes_per_frame, params) {
417
+ export function engine_run(platform, server, location, system_scene, portables, with_thread_loader, is_preview, is_editor, gpu_bytes_per_frame, params, pulse_server) {
398
418
  const ptr0 = passStringToWasm0(platform, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
399
419
  const len0 = WASM_VECTOR_LEN;
400
420
  const ptr1 = passStringToWasm0(server, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -407,7 +427,9 @@ export function engine_run(platform, server, location, system_scene, portables,
407
427
  const len4 = WASM_VECTOR_LEN;
408
428
  const ptr5 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
409
429
  const len5 = WASM_VECTOR_LEN;
410
- 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);
430
+ const ptr6 = passStringToWasm0(pulse_server, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
431
+ const len6 = WASM_VECTOR_LEN;
432
+ 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);
411
433
  }
412
434
 
413
435
  /**
@@ -1936,6 +1958,13 @@ function __wbg_get_imports(memory) {
1936
1958
  const ret = arg0.WorkerGlobalScope;
1937
1959
  return ret;
1938
1960
  },
1961
+ __wbg___baseDomain_24aa2e13246909ed: function() { return handleError(function (arg0) {
1962
+ const ret = window.__baseDomain();
1963
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1964
+ const len1 = WASM_VECTOR_LEN;
1965
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1966
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1967
+ }, arguments); },
1939
1968
  __wbg___engineHeartbeat_64b3c3e231f3208b: function() {
1940
1969
  window.__engineHeartbeat();
1941
1970
  },
@@ -2203,6 +2232,9 @@ function __wbg_get_imports(memory) {
2203
2232
  __wbg_close_737b4b1fbc658540: function() { return handleError(function (arg0) {
2204
2233
  arg0.close();
2205
2234
  }, arguments); },
2235
+ __wbg_close_852ec90e62a09028: function(arg0, arg1) {
2236
+ arg0.close(arg1);
2237
+ },
2206
2238
  __wbg_close_87218c1c5fa30509: function() { return handleError(function (arg0) {
2207
2239
  const ret = arg0.close();
2208
2240
  return ret;
@@ -4003,6 +4035,9 @@ function __wbg_get_imports(memory) {
4003
4035
  __wbg_set_clear_value_4c76b232d6720cd3: function(arg0, arg1) {
4004
4036
  arg0.clearValue = arg1;
4005
4037
  },
4038
+ __wbg_set_close_code_f80ed056c74af1c4: function(arg0, arg1) {
4039
+ arg0.closeCode = arg1 >>> 0;
4040
+ },
4006
4041
  __wbg_set_code_c616b86ce504e24a: function(arg0, arg1, arg2) {
4007
4042
  arg0.code = getStringFromWasm0(arg1, arg2);
4008
4043
  },
@@ -4950,147 +4985,147 @@ function __wbg_get_imports(memory) {
4950
4985
  return ret;
4951
4986
  },
4952
4987
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
4953
- // Cast intrinsic for `Closure(Closure { dtor_idx: 138939, function: Function { arguments: [Externref], shim_idx: 138940, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4988
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 139029, function: Function { arguments: [Externref], shim_idx: 139030, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4954
4989
  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_);
4955
4990
  return ret;
4956
4991
  },
4957
4992
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
4958
- // Cast intrinsic for `Closure(Closure { dtor_idx: 138939, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 138940, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4993
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 139029, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 139030, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4959
4994
  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);
4960
4995
  return ret;
4961
4996
  },
4962
4997
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
4963
- // Cast intrinsic for `Closure(Closure { dtor_idx: 146217, function: Function { arguments: [Externref], shim_idx: 146218, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4998
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 146307, function: Function { arguments: [Externref], shim_idx: 146308, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4964
4999
  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_);
4965
5000
  return ret;
4966
5001
  },
4967
5002
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
4968
- // Cast intrinsic for `Closure(Closure { dtor_idx: 147467, function: Function { arguments: [], shim_idx: 147468, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5003
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 147557, function: Function { arguments: [], shim_idx: 147558, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4969
5004
  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_);
4970
5005
  return ret;
4971
5006
  },
4972
5007
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
4973
- // Cast intrinsic for `Closure(Closure { dtor_idx: 153292, function: Function { arguments: [], shim_idx: 153293, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5008
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 153382, function: Function { arguments: [], shim_idx: 153383, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4974
5009
  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_);
4975
5010
  return ret;
4976
5011
  },
4977
5012
  __wbindgen_cast_0000000000000006: function(arg0, arg1) {
4978
- // Cast intrinsic for `Closure(Closure { dtor_idx: 154324, function: Function { arguments: [Externref], shim_idx: 154325, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5013
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 154414, function: Function { arguments: [Externref], shim_idx: 154415, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4979
5014
  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_);
4980
5015
  return ret;
4981
5016
  },
4982
5017
  __wbindgen_cast_0000000000000007: function(arg0, arg1) {
4983
- // Cast intrinsic for `Closure(Closure { dtor_idx: 154324, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 154327, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5018
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 154414, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 154417, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4984
5019
  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_);
4985
5020
  return ret;
4986
5021
  },
4987
5022
  __wbindgen_cast_0000000000000008: function(arg0, arg1) {
4988
- // Cast intrinsic for `Closure(Closure { dtor_idx: 33303, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 33304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5023
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 33320, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 33321, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
4989
5024
  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_);
4990
5025
  return ret;
4991
5026
  },
4992
5027
  __wbindgen_cast_0000000000000009: function(arg0, arg1) {
4993
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65446, function: Function { arguments: [Externref], shim_idx: 65447, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
4994
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_472ef5e48bec7533___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_);
5028
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 65476, function: Function { arguments: [Externref], shim_idx: 65477, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5029
+ 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_);
4995
5030
  return ret;
4996
5031
  },
4997
5032
  __wbindgen_cast_000000000000000a: function(arg0, arg1) {
4998
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65446, function: Function { arguments: [Externref], shim_idx: 65449, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
4999
- const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_472ef5e48bec7533___livekit__web__room_event__RoomEvent____Output_______, wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_472ef5e48bec7533___livekit__web__room_event__RoomEvent______true_);
5033
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 65476, function: Function { arguments: [Externref], shim_idx: 65479, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
5034
+ 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_);
5000
5035
  return ret;
5001
5036
  },
5002
5037
  __wbindgen_cast_000000000000000b: function(arg0, arg1) {
5003
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65446, function: Function { arguments: [NamedExternref("WebTransportBidirectionalStream")], shim_idx: 65447, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5004
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_472ef5e48bec7533___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);
5038
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 65476, function: Function { arguments: [NamedExternref("WebTransportBidirectionalStream")], shim_idx: 65477, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5039
+ 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);
5005
5040
  return ret;
5006
5041
  },
5007
5042
  __wbindgen_cast_000000000000000c: function(arg0, arg1) {
5008
- // Cast intrinsic for `Closure(Closure { dtor_idx: 65446, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 65447, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5009
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_37b2aef40228fbc7___closure__destroy___dyn_core_b1d35abfa360d765___ops__function__Fn__comms_472ef5e48bec7533___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);
5043
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 65476, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 65477, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5044
+ 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);
5010
5045
  return ret;
5011
5046
  },
5012
5047
  __wbindgen_cast_000000000000000d: function(arg0, arg1) {
5013
- // Cast intrinsic for `Closure(Closure { dtor_idx: 68360, function: Function { arguments: [F64, Externref], shim_idx: 68361, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5048
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 68448, function: Function { arguments: [F64, Externref], shim_idx: 68449, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5014
5049
  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_);
5015
5050
  return ret;
5016
5051
  },
5017
5052
  __wbindgen_cast_000000000000000e: function(arg0, arg1) {
5018
- // Cast intrinsic for `Closure(Closure { dtor_idx: 69664, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 69665, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5053
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 69752, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 69753, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5019
5054
  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_);
5020
5055
  return ret;
5021
5056
  },
5022
5057
  __wbindgen_cast_000000000000000f: function(arg0, arg1) {
5023
- // Cast intrinsic for `Closure(Closure { dtor_idx: 74530, function: Function { arguments: [], shim_idx: 74531, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5058
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 74620, function: Function { arguments: [], shim_idx: 74621, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5024
5059
  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_);
5025
5060
  return ret;
5026
5061
  },
5027
5062
  __wbindgen_cast_0000000000000010: function(arg0, arg1) {
5028
- // Cast intrinsic for `Closure(Closure { dtor_idx: 74882, function: Function { arguments: [], shim_idx: 74883, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5063
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 74972, function: Function { arguments: [], shim_idx: 74973, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5029
5064
  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_);
5030
5065
  return ret;
5031
5066
  },
5032
5067
  __wbindgen_cast_0000000000000011: function(arg0, arg1) {
5033
- // Cast intrinsic for `Closure(Closure { dtor_idx: 74918, function: Function { arguments: [Externref], shim_idx: 74919, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5068
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 75008, function: Function { arguments: [Externref], shim_idx: 75009, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5034
5069
  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_);
5035
5070
  return ret;
5036
5071
  },
5037
5072
  __wbindgen_cast_0000000000000012: function(arg0, arg1) {
5038
- // Cast intrinsic for `Closure(Closure { dtor_idx: 74967, function: Function { arguments: [], shim_idx: 74968, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5073
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 75057, function: Function { arguments: [], shim_idx: 75058, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5039
5074
  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_);
5040
5075
  return ret;
5041
5076
  },
5042
5077
  __wbindgen_cast_0000000000000013: function(arg0, arg1) {
5043
- // Cast intrinsic for `Closure(Closure { dtor_idx: 74973, function: Function { arguments: [Externref], shim_idx: 74974, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5078
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 75063, function: Function { arguments: [Externref], shim_idx: 75064, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5044
5079
  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_);
5045
5080
  return ret;
5046
5081
  },
5047
5082
  __wbindgen_cast_0000000000000014: function(arg0, arg1) {
5048
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76838, function: Function { arguments: [Externref], shim_idx: 76839, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5083
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76928, function: Function { arguments: [Externref], shim_idx: 76929, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5049
5084
  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_);
5050
5085
  return ret;
5051
5086
  },
5052
5087
  __wbindgen_cast_0000000000000015: function(arg0, arg1) {
5053
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76838, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 76846, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5088
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76928, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 76936, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5054
5089
  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_);
5055
5090
  return ret;
5056
5091
  },
5057
5092
  __wbindgen_cast_0000000000000016: function(arg0, arg1) {
5058
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76838, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 76839, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5093
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76928, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 76929, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5059
5094
  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);
5060
5095
  return ret;
5061
5096
  },
5062
5097
  __wbindgen_cast_0000000000000017: function(arg0, arg1) {
5063
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76838, function: Function { arguments: [NamedExternref("Event")], shim_idx: 76839, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5098
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76928, function: Function { arguments: [NamedExternref("Event")], shim_idx: 76929, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5064
5099
  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);
5065
5100
  return ret;
5066
5101
  },
5067
5102
  __wbindgen_cast_0000000000000018: function(arg0, arg1) {
5068
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76838, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 76839, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5103
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76928, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 76929, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5069
5104
  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);
5070
5105
  return ret;
5071
5106
  },
5072
5107
  __wbindgen_cast_0000000000000019: function(arg0, arg1) {
5073
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76838, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 76839, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5108
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76928, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 76929, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5074
5109
  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);
5075
5110
  return ret;
5076
5111
  },
5077
5112
  __wbindgen_cast_000000000000001a: function(arg0, arg1) {
5078
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76838, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 76839, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5113
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76928, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 76929, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5079
5114
  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);
5080
5115
  return ret;
5081
5116
  },
5082
5117
  __wbindgen_cast_000000000000001b: function(arg0, arg1) {
5083
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76838, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 76839, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5118
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76928, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 76929, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5084
5119
  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);
5085
5120
  return ret;
5086
5121
  },
5087
5122
  __wbindgen_cast_000000000000001c: function(arg0, arg1) {
5088
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76838, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 76839, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5123
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76928, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 76929, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5089
5124
  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);
5090
5125
  return ret;
5091
5126
  },
5092
5127
  __wbindgen_cast_000000000000001d: function(arg0, arg1) {
5093
- // Cast intrinsic for `Closure(Closure { dtor_idx: 76838, function: Function { arguments: [], shim_idx: 76854, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5128
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 76928, function: Function { arguments: [], shim_idx: 76944, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5094
5129
  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_);
5095
5130
  return ret;
5096
5131
  },
@@ -5506,8 +5541,8 @@ function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_
5506
5541
  wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_a9f755c046d487e8___features__gen_CloseEvent__CloseEvent______true_(arg0, arg1, arg2);
5507
5542
  }
5508
5543
 
5509
- function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_472ef5e48bec7533___livekit__web__room_event__RoomEvent______true_(arg0, arg1, arg2) {
5510
- wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_472ef5e48bec7533___livekit__web__room_event__RoomEvent______true_(arg0, arg1, arg2);
5544
+ function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_d61ed97e225e8900___livekit__web__room_event__RoomEvent______true_(arg0, arg1, arg2) {
5545
+ wasm.wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___comms_d61ed97e225e8900___livekit__web__room_event__RoomEvent______true_(arg0, arg1, arg2);
5511
5546
  }
5512
5547
 
5513
5548
  function wasm_bindgen_37b2aef40228fbc7___convert__closures_____invoke___web_sys_a9f755c046d487e8___features__gen_CloseEvent__CloseEvent______true__1_(arg0, arg1, arg2) {
Binary file