@expofp/floorplan 3.34.2 → 3.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/browser/{Button-CNMjOvi_.js → Button-DfC_vCEY.js} +5 -5
  2. package/dist/browser/{CookieConsent-D41GkvnH.js → CookieConsent-zsJlyuvm.js} +7 -7
  3. package/dist/browser/{Debug-CmW7YX8I.js → Debug-DlxKJH4h.js} +7 -7
  4. package/dist/browser/{DebugTools-BiVg-I_r.js → DebugTools-DlmzS_VG.js} +45 -42
  5. package/dist/browser/{Demo-B4Cvydeo.js → Demo-Dvn0OVoH.js} +9 -9
  6. package/dist/browser/{Free-CjQjLOqF.js → Free-BlSArgWI.js} +9 -9
  7. package/dist/browser/{GalleryContainer-mw16bKBB.js → GalleryContainer-hIf9VfU3.js} +10 -10
  8. package/dist/browser/{GpsLoader-pVmQS4Cm.js → GpsLoader-BCwThbCM.js} +33 -33
  9. package/dist/browser/{KioskStore-sSfegCgB.js → KioskStore-CsXOhSMP.js} +9 -9
  10. package/dist/browser/{MaplibreAdapter-CdpX44KB.js → MaplibreAdapter-DWcvE2Ec.js} +921 -917
  11. package/dist/browser/{ModalContainer--UWO5EJt.js → ModalContainer-DxeKREfc.js} +10 -10
  12. package/dist/browser/{PermissionNotice-Dw32M81v.js → PermissionNotice-BxEbDltF.js} +6 -6
  13. package/dist/browser/{SetKioskMode-EltbU-EF.js → SetKioskMode-D3UABJpZ.js} +10 -10
  14. package/dist/browser/{ShowKiosk-BvGaVpGa.js → ShowKiosk-6mFmNpFm.js} +29 -29
  15. package/dist/browser/{ViewerMenuPanel-BEcomGU5.js → ViewerMenuPanel-BO_-7Y_i.js} +18 -18
  16. package/dist/browser/{add-debug-secret-listener-DzuQqBnc.js → add-debug-secret-listener-veloxngO.js} +1 -1
  17. package/dist/browser/{adopt-global-settings-BZ0kVMK5.js → adopt-global-settings-d5uyY5A6.js} +9 -9
  18. package/dist/browser/{boolean-editor-CEIoLj51.js → boolean-editor-gFxeiKz4.js} +9 -9
  19. package/dist/browser/{bootIntercom-Db9lsRTD.js → bootIntercom-C3QDF5oB.js} +2 -2
  20. package/dist/browser/bundle.json +69 -69
  21. package/dist/browser/{camera-events-02zSeTQ-.js → camera-events-C6Dmf2wR.js} +1 -1
  22. package/dist/browser/{classnames-CpaGYtKG.js → classnames-BS1IM9A-.js} +2 -2
  23. package/dist/browser/{client-hdZ-mqt7.js → client-ezZAHjfj.js} +5 -5
  24. package/dist/browser/{components-DwpPpajK.js → components-PA3hCLCa.js} +1814 -1818
  25. package/dist/browser/{debug-context-DB0NIlH9.js → debug-context-DiTR6Py6.js} +7 -7
  26. package/dist/browser/{debug-overlay-B4MTiAeZ.js → debug-overlay-DD5gUmO6.js} +10 -10
  27. package/dist/browser/{debug-ui-D4mq0ugA.js → debug-ui-CWBuocQN.js} +6 -6
  28. package/dist/browser/{dimming-BvAGMHKX.js → dimming-Ds9fAjfB.js} +311 -311
  29. package/dist/browser/{dist-GGfaJ3R1.js → dist-CQxqEb-6.js} +6 -6
  30. package/dist/browser/{dist-BjN1ZtXO.js → dist-D-q_r1-V.js} +5 -5
  31. package/dist/browser/{dist-DA_O1Tq9.js → dist-DBuzYqpa.js} +3 -3
  32. package/dist/browser/{efp-debug-init-DCZ0v67W.js → efp-debug-init-Co9uXMuX.js} +3 -3
  33. package/dist/browser/{enum-editor-D1zVwP8a.js → enum-editor-LWVu-JIK.js} +4 -4
  34. package/dist/browser/{es5-483Ipz8U.js → es5-DGb5TwpZ.js} +2 -2
  35. package/dist/browser/{event-not-found-DIS2DLhg.js → event-not-found-zFibfbER.js} +1 -1
  36. package/dist/browser/{exports-CNZZj_Q8.js → exports-B-6KjI9h.js} +1 -1
  37. package/dist/browser/{favicon-Bg6LMWEn.js → favicon-CWCPCNM-.js} +1 -1
  38. package/dist/browser/{fetch-retry.umd-DEbZQzJ3.js → fetch-retry.umd-kGON8ji6.js} +2 -2
  39. package/dist/browser/{flex-B9PF9U8h.js → flex-DqcWgHRa.js} +5 -5
  40. package/dist/browser/{floorplan.loader-G3m0klqz.js → floorplan.loader-BRvRi40U.js} +10 -10
  41. package/dist/browser/{floorplan.ready-CcBm3z9I.js → floorplan.ready-B9-MIw8B.js} +181 -181
  42. package/dist/browser/{fuse-Be1ke9wH.js → fuse-BXW5RuhW.js} +2 -2
  43. package/dist/browser/{i18n-892OGllH.js → i18n-D80X6LMz.js} +9 -7
  44. package/dist/browser/index.js +14 -14
  45. package/dist/browser/{index.module-DBPl3snb.js → index.module-DNr0maw3.js} +4 -4
  46. package/dist/browser/{integrateKiosk-Dau_WEaC.js → integrateKiosk-BL84U1ZL.js} +4 -4
  47. package/dist/browser/{is-webview-ElzsMr4s.js → is-webview-CA6ivKK_.js} +1 -1
  48. package/dist/browser/{jsx-runtime-BsOtCifA.js → jsx-runtime-BT50TP7_.js} +2 -2
  49. package/dist/browser/{kiosk-record-BTQRhXdb.js → kiosk-record-QoK8Mq08.js} +1 -1
  50. package/dist/browser/{lib-CurNQ8fT.js → lib-Dn401ByH.js} +3 -3
  51. package/dist/browser/{loadImage-wPuY8HVi.js → loadImage-BaHKwI_N.js} +4 -4
  52. package/dist/browser/{logDeviceInfo-bDJ_gaMR.js → logDeviceInfo-Btc7mU_S.js} +9 -9
  53. package/dist/browser/{mobx-CoCB6VaY.js → mobx-c2h1ijB_.js} +4 -4
  54. package/dist/browser/{optional-boolean-editor-WRwLbFlO.js → optional-boolean-editor-DkXbwHPW.js} +3 -3
  55. package/dist/browser/{optional-enum-editor-C1ENUhhf.js → optional-enum-editor-D6J8s67w.js} +4 -4
  56. package/dist/browser/{optional-string-editor-CNEl6U5Q.js → optional-string-editor-DvlDx9cr.js} +4 -4
  57. package/dist/browser/{particles.min-BRguaqtu.js → particles.min-BlF_1zig.js} +2 -2
  58. package/dist/browser/{react-BQN6EStf.js → react-CTNuj5uG.js} +2 -2
  59. package/dist/browser/{react-dom-C7Pf2opy.js → react-dom-Dd-QC57h.js} +3 -3
  60. package/dist/browser/{rolldown-runtime-DBeIQt3E.js → rolldown-runtime-BkVgj4VA.js} +1 -1
  61. package/dist/browser/{scheduler-cQidETRd.js → scheduler-BGogpU6B.js} +2 -2
  62. package/dist/browser/{select-CIJMgtRk.js → select-CNUhWDWs.js} +10 -10
  63. package/dist/browser/{settings-tf2xCh7a.js → settings-DNaOj9LN.js} +2 -2
  64. package/dist/browser/{settings-item-Dhd_mZVD.js → settings-item-Bb1ifzkN.js} +6 -6
  65. package/dist/browser/{store-DX_d1X7a.js → store-CpViG4ds.js} +6347 -5720
  66. package/dist/browser/{string-editor-CwZhPArg.js → string-editor-BwfOcpmc.js} +4 -4
  67. package/dist/browser/{text-field-DbPC6Ytx.js → text-field-BS3w11vk.js} +5 -5
  68. package/dist/browser/{theme-EiHUjgfX.js → theme-jH8ml6K6.js} +8 -8
  69. package/dist/browser/{ui-BCJ-P-pD.js → ui-Bbl-WJZx.js} +8 -8
  70. package/dist/browser/{useRenderTarget-DkMzI2QA.js → useRenderTarget-BX8tGScr.js} +4 -4
  71. package/dist/browser/{viewport-BldgkO7x.js → viewport-COvScbd2.js} +3 -3
  72. package/dist/esm/components/Kiosk/ShowKiosk.d.ts +1 -2
  73. package/dist/esm/components/Kiosk/ShowKiosk.js +1 -1
  74. package/dist/esm/components/Kiosk/kiosk-mode.d.ts +26 -0
  75. package/dist/esm/components/Kiosk/kiosk-mode.js +1 -1
  76. package/dist/esm/components/Map/Map.js +1 -1
  77. package/dist/esm/components/Map/MapCamera.js +1 -1
  78. package/dist/esm/components/Maplibre/MaplibreAdapter.d.ts +2 -2
  79. package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
  80. package/dist/esm/components/Maplibre/MaplibreWrapper.d.ts +17 -7
  81. package/dist/esm/components/Maplibre/MaplibreWrapper.js +1 -1
  82. package/dist/esm/components/Maplibre/utils/map-helpers.d.ts +14 -3
  83. package/dist/esm/components/Maplibre/utils/map-helpers.js +1 -1
  84. package/dist/esm/store/MaplibreStore.js +1 -1
  85. package/dist/esm/store/UIState.d.ts +49 -3
  86. package/dist/esm/store/UIState.js +1 -1
  87. package/dist/esm/store/init/init-ui.js +1 -1
  88. package/dist/esm/store/types.d.ts +12 -0
  89. package/dist/esm/utils/camera-map-settings.js +1 -1
  90. package/package.json +10 -10
@@ -1,23 +1,23 @@
1
1
  (function() {
2
2
  try {
3
3
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.34.2" };
4
+ e.SENTRY_RELEASE = { id: "3.35.0" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "28d44c59-7a71-4de5-9ce0-ba110ecda760", e._sentryDebugIdIdentifier = "sentry-dbid-28d44c59-7a71-4de5-9ce0-ba110ecda760");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "93874f11-16d6-4181-9ecc-1003236eed3e", e._sentryDebugIdIdentifier = "sentry-dbid-93874f11-16d6-4181-9ecc-1003236eed3e");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-DBeIQt3E.js";
10
- import { a as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./floorplan.loader-G3m0klqz.js";
11
- import { At as c, Bt as l, Ct as u, Dt as d, Et as f, Ft as ee, H as te, It as ne, K as re, Lt as ie, Mt as ae, Nt as oe, Ot as se, Pt as ce, Rt as le, St as ue, Tt as de, U as fe, W as pe, _t as me, bt as he, et as ge, f as _e, ft as p, ht as ve, jt as ye, kt as be, l as m, lt as h, mt as xe, n as Se, o as Ce, pt as we, r as Te, rt as Ee, ut as De, v as Oe, vt as ke, w as g, wt as Ae, xt as je, y as Me, zt as _ } from "./i18n-892OGllH.js";
12
- import { s as Ne } from "./efp-debug-init-DCZ0v67W.js";
13
- import { t as Pe } from "./react-BQN6EStf.js";
14
- import { t as Fe } from "./jsx-runtime-BsOtCifA.js";
15
- import { r as v } from "./loadImage-wPuY8HVi.js";
16
- import { C as y, D as Ie, Q as Le, ht as b, i as Re, n as ze, w as Be } from "./exports-CNZZj_Q8.js";
17
- import { t as Ve } from "./client-hdZ-mqt7.js";
18
- import { i as He, n as Ue, r as x, t as We } from "./components-DwpPpajK.js";
19
- import { $ as Ge, C as S, E as C, G as Ke, H as qe, J as w, Lt as Je, N as Ye, Nn as Xe, P as T, Q as Ze, S as Qe, T as E, Tn as D, U as O, V as k, Z as $e, at as et, c as A, ct as tt, dn as nt, dt as rt, ft as it, it as j, j as at, l as M, lt as N, nn as ot, on as st, ot as ct, pt as lt, q as ut, sn as P, st as dt, un as ft, w as pt, xn as F, y as mt, yn as ht } from "./store-DX_d1X7a.js";
20
- import { n as gt, t as _t } from "./integrateKiosk-Dau_WEaC.js";
9
+ import { r as e } from "./rolldown-runtime-BkVgj4VA.js";
10
+ import { a as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./floorplan.loader-BRvRi40U.js";
11
+ import { At as c, Bt as l, Ct as u, Dt as d, Et as f, Ft as ee, H as te, It as ne, K as re, Lt as ie, Mt as ae, Nt as oe, Ot as se, Pt as ce, Rt as le, St as ue, Tt as de, U as fe, W as pe, _t as me, bt as he, et as ge, f as _e, ft as p, ht as ve, jt as ye, kt as be, l as m, lt as h, mt as xe, n as Se, o as Ce, pt as we, r as Te, rt as Ee, ut as De, v as Oe, vt as ke, w as g, wt as Ae, xt as je, y as Me, zt as _ } from "./i18n-D80X6LMz.js";
12
+ import { s as Ne } from "./efp-debug-init-Co9uXMuX.js";
13
+ import { t as Pe } from "./react-CTNuj5uG.js";
14
+ import { t as Fe } from "./jsx-runtime-BT50TP7_.js";
15
+ import { r as v } from "./loadImage-BaHKwI_N.js";
16
+ import { C as y, D as Ie, Q as Le, ht as b, i as Re, n as ze, w as Be } from "./exports-B-6KjI9h.js";
17
+ import { t as Ve } from "./client-ezZAHjfj.js";
18
+ import { i as He, n as Ue, r as x, t as We } from "./components-PA3hCLCa.js";
19
+ import { $ as Ge, C as S, E as C, En as w, G as Ke, H as qe, J as T, N as Je, P as E, Pn as Ye, Q as Xe, Rt as Ze, S as Qe, Sn as D, T as O, U as k, V as A, Z as $e, at as et, bn as tt, c as j, cn as M, ct as nt, dn as rt, dt as it, fn as at, ft as ot, it as N, j as st, l as P, lt as F, ot as ct, pt as lt, q as ut, rn as dt, sn as ft, st as pt, w as mt, y as ht } from "./store-CpViG4ds.js";
20
+ import { n as gt, t as _t } from "./integrateKiosk-BL84U1ZL.js";
21
21
  //#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
22
22
  function vt(e = {}) {
23
23
  let r = n.document, i = (r == null ? void 0 : r.head) || (r == null ? void 0 : r.body);
@@ -134,7 +134,7 @@ var St = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, L = {
134
134
  }) : e;
135
135
  return I.isValidElement(r) ? r : (e && St && b.warn("fallback did not produce a valid ReactElement"), null);
136
136
  }
137
- }, wt = /* @__PURE__ */ e(Ne(), 1), Tt = Ve(), Et = Xe();
137
+ }, wt = /* @__PURE__ */ e(Ne(), 1), Tt = Ve(), Et = Ye();
138
138
  function Dt(e) {
139
139
  var t;
140
140
  let n = new URLSearchParams(window.location.search).get(te), r = m ? window.localStorage.getItem(te) : null, i = n == null ? r : n;
@@ -267,7 +267,7 @@ var Wt = /* @__PURE__ */ V({
267
267
  //#endregion
268
268
  //#region src/components/Kiosk/recoverKioskFromUrlPrams.ts
269
269
  function Yt(e) {
270
- let t = mt(e);
270
+ let t = ht(e);
271
271
  Object.values(t).length && (_t(t, !1), gt(t));
272
272
  }
273
273
  //#endregion
@@ -289,23 +289,23 @@ function Zt(e, t) {
289
289
  //#region src/services/url-dispatch.ts
290
290
  var U = !1;
291
291
  function Qt() {
292
- K(l()), g(() => A.layerStore.layersLoaded, () => {
292
+ K(l()), g(() => j.layerStore.layersLoaded, () => {
293
293
  let e = l().camera;
294
294
  Object.keys(e).length && gn(x(e));
295
295
  let t = l().visibility;
296
- Object.keys(t).length && M.setVisibility(t);
296
+ Object.keys(t).length && P.setVisibility(t);
297
297
  });
298
298
  }
299
299
  function $t(e) {
300
- dt({
300
+ pt({
301
301
  offHistory: e,
302
302
  onNavigate: G
303
- }), an(), W(), g(() => A.layerStore.layersLoaded, () => {
304
- A.urlFilterManager && !A.urlFilterManager.isInitialized && A.urlFilterManager.initialize(), G(), _e(hn), _e(pn), M.viewerMode && (M.menu = !0);
303
+ }), an(), W(), g(() => j.layerStore.layersLoaded, () => {
304
+ j.urlFilterManager && !j.urlFilterManager.isInitialized && j.urlFilterManager.initialize(), G(), _e(hn), _e(pn), P.viewerMode && (P.menu = !0);
305
305
  });
306
306
  }
307
307
  function en(e = "") {
308
- N("?" + p(e.toString())), A.layerStore.layersLoaded ? tn(e) : (W(), g(() => A.layerStore.layersLoaded, () => tn(e)));
308
+ F("?" + p(e.toString())), j.layerStore.layersLoaded ? tn(e) : (W(), g(() => j.layerStore.layersLoaded, () => tn(e)));
309
309
  }
310
310
  function tn(e) {
311
311
  var t, n;
@@ -316,19 +316,19 @@ function tn(e) {
316
316
  });
317
317
  K(i), K(c);
318
318
  let l = (n = i.consent) == null ? c.consent : n;
319
- l && w(l), i.camera && Object.keys(i.camera).length && gn(x(i.camera)), i.visibility && Object.keys(i.visibility).length && M.setVisibility(i.visibility), an(), G();
319
+ l && T(l), i.camera && Object.keys(i.camera).length && gn(x(i.camera)), i.visibility && Object.keys(i.visibility).length && P.setVisibility(i.visibility), an(), G();
320
320
  let u = [...a, ...s];
321
- u.length && o(A.fp, u);
321
+ u.length && o(j.fp, u);
322
322
  }
323
323
  function W() {
324
- let e = j();
324
+ let e = N();
325
325
  return Ue(e.length > 1 ? p(e.substring(1)) : "");
326
326
  }
327
327
  function G() {
328
328
  U = !0;
329
329
  try {
330
330
  Yt(new URLSearchParams(p(window.location.search)));
331
- let { primary: e } = h(j()), t = e.type === "select" && (!e.slug || /^t=[^&]*$/.test(e.slug)) && (M.heatmap || M.heatmapYah);
331
+ let { primary: e } = h(N()), t = e.type === "select" && (!e.slug || /^t=[^&]*$/.test(e.slug)) && (P.heatmap || P.heatmapYah);
332
332
  !W() && !t && nn(e);
333
333
  } finally {
334
334
  U = !1;
@@ -336,10 +336,10 @@ function G() {
336
336
  pn(), hn();
337
337
  }
338
338
  function nn(e) {
339
- let t = A.fp;
339
+ let t = j.fp;
340
340
  switch (e.type) {
341
341
  case "kiosk":
342
- e.enabled !== null && lt(M, e.enabled);
342
+ e.enabled !== null && lt(P, e.enabled);
343
343
  return;
344
344
  case "list":
345
345
  t.showList(e.list);
@@ -356,7 +356,7 @@ function nn(e) {
356
356
  return;
357
357
  case "route":
358
358
  var n, r;
359
- A.routeStore.setOnlyAccessible(e.accessible), A.routeStore.selectRoute(pt((n = e.from) == null ? "" : n, (r = e.to) == null ? "" : r, e.waypoints)), A.uiState.setIsMultiPointRoute(e.waypoints.length > 0), e.title && A.uiState.setRouteTitle(e.title);
359
+ j.routeStore.setOnlyAccessible(e.accessible), j.routeStore.selectRoute(mt((n = e.from) == null ? "" : n, (r = e.to) == null ? "" : r, e.waypoints)), j.uiState.setIsMultiPointRoute(e.waypoints.length > 0), e.title && j.uiState.setRouteTitle(e.title);
360
360
  return;
361
361
  case "selectExhibitors":
362
362
  setTimeout(() => t.selectExhibitor(e.values), 250);
@@ -371,20 +371,20 @@ function nn(e) {
371
371
  }
372
372
  }
373
373
  function rn(e) {
374
- let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i = A.boothStore.booths.filter((e) => n.includes(e.externalId)), a = A.exhibitorStore.exhibitors.filter((e) => r.includes(e.externalId)).flatMap((e) => e.booths), o = [...i, ...a];
375
- if (nt()) {
374
+ let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i = j.boothStore.booths.filter((e) => n.includes(e.externalId)), a = j.exhibitorStore.exhibitors.filter((e) => r.includes(e.externalId)).flatMap((e) => e.booths), o = [...i, ...a];
375
+ if (at()) {
376
376
  let e = Xt(o.map((e) => e.layer.name));
377
- e && A.fp.activateFloor({ name: e });
377
+ e && j.fp.activateFloor({ name: e });
378
378
  }
379
- (n.length > 0 || r.length > 0) && A.fp.highlightEntities([...n, ...r]), A.layerStore.showPathWay(t), o.length > 0 && Me(() => {
380
- A.uiState.moveToRect = D.fromUnion(...o.map((e) => e.rect).filter(Boolean)), A.uiState.rollReset = !0;
379
+ (n.length > 0 || r.length > 0) && j.fp.highlightEntities([...n, ...r]), j.layerStore.showPathWay(t), o.length > 0 && Me(() => {
380
+ j.uiState.moveToRect = w.fromUnion(...o.map((e) => e.rect).filter(Boolean)), j.uiState.rollReset = !0;
381
381
  });
382
382
  }
383
383
  function an() {
384
- let { oneShots: e } = h(j());
384
+ let { oneShots: e } = h(N());
385
385
  for (let t of e) on(t);
386
- let t = qe(j());
387
- t !== null && N("?" + t), M.previewExhibitor && N("?" + M.previewExhibitor.slug), cn();
386
+ let t = qe(N());
387
+ t !== null && F("?" + t), P.previewExhibitor && F("?" + P.previewExhibitor.slug), cn();
388
388
  }
389
389
  function on(e) {
390
390
  switch (e.type) {
@@ -393,8 +393,8 @@ function on(e) {
393
393
  return;
394
394
  case "blueDot": {
395
395
  var t, n;
396
- let r = new Qe(e.x, e.y, (t = A.layerStore.findLayer((n = e.layer) == null ? "" : n)) == null ? void 0 : t.name, void 0, e.lat, e.lng);
397
- g(() => A.layerStore.layersLoaded, () => A.routeStore.selectCurrentPosition(r, !0, 1));
396
+ let r = new Qe(e.x, e.y, (t = j.layerStore.findLayer((n = e.layer) == null ? "" : n)) == null ? void 0 : t.name, void 0, e.lat, e.lng);
397
+ g(() => j.layerStore.layersLoaded, () => j.routeStore.selectCurrentPosition(r, !0, 1));
398
398
  return;
399
399
  }
400
400
  case "viewerMode":
@@ -404,54 +404,54 @@ function on(e) {
404
404
  m && (e.enabled ? localStorage.setItem(ge, "true") : (localStorage.removeItem(ge), localStorage.removeItem(pe)));
405
405
  return;
406
406
  case "uiScale":
407
- e.scale === null ? v.warn(`Invalid ui-scale parameter: ${e.raw}. Must be a number between 0.8 and 1.4.`) : A.uiState.setUIScale(e.scale, !0);
407
+ e.scale === null ? v.warn(`Invalid ui-scale parameter: ${e.raw}. Must be a number between 0.8 and 1.4.`) : j.uiState.setUIScale(e.scale, !0);
408
408
  return;
409
409
  case "resetUiScale":
410
- A.uiState.resetUIScale();
410
+ j.uiState.resetUIScale();
411
411
  return;
412
412
  }
413
413
  }
414
414
  function sn(e) {
415
- ct(), e ? (M.heatmapYah = !0, M.monochrome = !0, M.hideLogoInBooth = !0, M.hideHeaderLogo = !0, M.disableBookmarked = !0) : M.heatmap = !0;
415
+ ct(), e ? (P.heatmapYah = !0, P.monochrome = !0, P.hideLogoInBooth = !0, P.hideHeaderLogo = !0, P.disableBookmarked = !0) : P.heatmap = !0;
416
416
  }
417
417
  function cn() {
418
- let e = Zt(j(), (e) => {
419
- let t = A.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
418
+ let e = Zt(N(), (e) => {
419
+ let t = j.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
420
420
  return t == null ? void 0 : t.name;
421
421
  });
422
- e !== null && N(e);
422
+ e !== null && F(e);
423
423
  }
424
424
  function K(e) {
425
- e.noOverlay !== void 0 && (M.hideOverlay = e.noOverlay), e.monochrome && (M.monochrome = !0), e.hideHeaderLogo && (M.hideHeaderLogo = !0), e.hideLogoInBooth && (M.hideLogoInBooth = !0), e.disableFeatured && A.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (M.disableBookmarked = !0), e.disableGps && A.routeStore.setGpsTrackingEnabled(!1), e.heatmap && r(e.heatmap) && sn(e.heatmap.variant === "yah");
425
+ e.noOverlay !== void 0 && (P.hideOverlay = e.noOverlay), e.monochrome && (P.monochrome = !0), e.hideHeaderLogo && (P.hideHeaderLogo = !0), e.hideLogoInBooth && (P.hideLogoInBooth = !0), e.disableFeatured && j.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (P.disableBookmarked = !0), e.disableGps && j.routeStore.setGpsTrackingEnabled(!1), e.heatmap && r(e.heatmap) && sn(e.heatmap.variant === "yah");
426
426
  }
427
427
  function ln(e) {
428
428
  return ve(me, e).value;
429
429
  }
430
430
  var un = null, dn = null, fn = null;
431
431
  function pn() {
432
- let { selection: e, exhibitor: t, booth: n, eventItem: r } = mn(), i = A.urlFilterManager.filterSearch();
432
+ let { selection: e, exhibitor: t, booth: n, eventItem: r } = mn(), i = j.urlFilterManager.filterSearch();
433
433
  if (U) return;
434
434
  let a = De(e) || i;
435
- j() !== a && (t !== un || n !== dn || r !== fn ? tt(a) : N(a), un = t, dn = n, fn = r);
435
+ N() !== a && (t !== un || n !== dn || r !== fn ? nt(a) : F(a), un = t, dn = n, fn = r);
436
436
  }
437
437
  function mn() {
438
- let e = M.selectedExhibitor, t = M.selectedBooth, n = M.selectedEventItem, r = M.selectedRoute, i = M.selectedSpeaker, a = M.setKioskModeEnabled, o = M.list, s;
438
+ let e = P.selectedExhibitor, t = P.selectedBooth, n = P.selectedEventItem, r = P.selectedRoute, i = P.selectedSpeaker, a = P.setKioskModeEnabled, o = P.list, s;
439
439
  if (o.type === "route-planner" && !e && !t && !n) {
440
440
  var c;
441
- let e = A.routePlannerStore;
441
+ let e = j.routePlannerStore;
442
442
  s = {
443
443
  type: "planner",
444
444
  fromBookmarks: e.source === "bookmarks",
445
445
  items: e.items.map((e) => e.entity.slug).filter(Boolean),
446
446
  from: ((c = e.startPoint) == null ? void 0 : c.slug) || void 0
447
447
  };
448
- } else if (r && !M.isMultiPointRoute) {
448
+ } else if (r && !P.isMultiPointRoute) {
449
449
  var l;
450
450
  s = {
451
451
  type: "route",
452
- to: r.to instanceof P ? r.to.slug : void 0,
453
- from: r.from instanceof P ? r.from.slug : void 0,
454
- accessible: A.routeStore.onlyAccessible,
452
+ to: r.to instanceof M ? r.to.slug : void 0,
453
+ from: r.from instanceof M ? r.from.slug : void 0,
454
+ accessible: j.routeStore.onlyAccessible,
455
455
  waypoints: (l = r.waypoints) == null ? void 0 : l.map((e) => e.slug)
456
456
  };
457
457
  } else if (e) s = {
@@ -488,7 +488,7 @@ function mn() {
488
488
  var u, d;
489
489
  s = {
490
490
  type: "slug",
491
- slug: (u = (d = M.selectedCategory) == null ? void 0 : d.slug) == null ? "" : u
491
+ slug: (u = (d = P.selectedCategory) == null ? void 0 : d.slug) == null ? "" : u
492
492
  };
493
493
  break;
494
494
  case "search":
@@ -520,14 +520,14 @@ function mn() {
520
520
  };
521
521
  }
522
522
  function hn() {
523
- let e = M.selectedExhibitor, t = M.selectedEventItem, n = M.selectedSpeaker, r = "";
524
- e ? r = e.name : t ? r = t.name : n ? r = n.name : M.list.type === "search" && M.list.text ? r = "`" + (M.list.text || "") + "`" : M.list.type === "multi-point-tour" && M.tourTitle && (r = M.tourTitle), r.length && (r += " – "), r += F.title, F.subtitle && (r += " – " + F.subtitle), r += " – Expo Floor Plan by ExpoFP", document.title = r;
523
+ let e = P.selectedExhibitor, t = P.selectedEventItem, n = P.selectedSpeaker, r = "";
524
+ e ? r = e.name : t ? r = t.name : n ? r = n.name : P.list.type === "search" && P.list.text ? r = "`" + (P.list.text || "") + "`" : P.list.type === "multi-point-tour" && P.tourTitle && (r = P.tourTitle), r.length && (r += " – "), r += D.title, D.subtitle && (r += " – " + D.subtitle), r += " – Expo Floor Plan by ExpoFP", document.title = r;
525
525
  }
526
526
  function gn(e) {
527
527
  try {
528
- if (M.setMapSettings(e), e.z) {
529
- let t = A.layerStore.layers.find((t) => t.name === e.z);
530
- t && A.layerStore.updateVisibility(t, !0);
528
+ if (P.setMapSettings(e), e.z) {
529
+ let t = j.layerStore.layers.find((t) => t.name === e.z);
530
+ t && j.layerStore.updateVisibility(t, !0);
531
531
  }
532
532
  } catch (e) {
533
533
  console.error("Failed to process map settings.", e);
@@ -536,25 +536,25 @@ function gn(e) {
536
536
  //#endregion
537
537
  //#region src/store/details-events.ts
538
538
  function _n() {
539
- return Oe(() => M.details, () => {
539
+ return Oe(() => P.details, () => {
540
540
  var e;
541
- if (!M.onDetails) return;
542
- if (!M.details) {
543
- M.onDetails(null);
541
+ if (!P.onDetails) return;
542
+ if (!P.details) {
543
+ P.onDetails(null);
544
544
  return;
545
545
  }
546
- let t = M.details;
547
- if (ht.EXPO === "wineparis" && (t instanceof ot && (t = t.booths[0]), !t)) return;
546
+ let t = P.details;
547
+ if (tt.EXPO === "wineparis" && (t instanceof dt && (t = t.booths[0]), !t)) return;
548
548
  let n = null, r = [];
549
- if (t instanceof ot) n = "exhibitor", r = t.booths.map((e) => e.name).sort((e, t) => {
549
+ if (t instanceof dt) n = "exhibitor", r = t.booths.map((e) => e.name).sort((e, t) => {
550
550
  var n, r;
551
- return e == ((n = A.routeStore.tempToBooth) == null ? void 0 : n.name) ? -1 : +(t == ((r = A.routeStore.tempToBooth) == null ? void 0 : r.name));
551
+ return e == ((n = j.routeStore.tempToBooth) == null ? void 0 : n.name) ? -1 : +(t == ((r = j.routeStore.tempToBooth) == null ? void 0 : r.name));
552
552
  });
553
- else if (t instanceof P) n = "booth", r = [t.name];
553
+ else if (t instanceof M) n = "booth", r = [t.name];
554
554
  else if (t instanceof S) {
555
555
  var i, a;
556
556
  n = "route", r = [(i = t.from) == null ? void 0 : i.name, (a = t.to) == null ? void 0 : a.name].filter((e) => !!e);
557
- } else t instanceof st && (n = "category", r = t.exhibitors.map((e) => e.booths.map((e) => e.name)).flat());
557
+ } else t instanceof ft && (n = "category", r = t.exhibitors.map((e) => e.booths.map((e) => e.name)).flat());
558
558
  let o = t, s = {
559
559
  type: n,
560
560
  name: o == null ? void 0 : o.name,
@@ -562,9 +562,9 @@ function _n() {
562
562
  externalId: o == null ? void 0 : o.externalId,
563
563
  boothsNames: r
564
564
  };
565
- M.onDetails({
565
+ P.onDetails({
566
566
  ...s,
567
- ...n === "route" ? { routeInfo: (e = A.routeStore.routeInfo) == null ? void 0 : e } : {}
567
+ ...n === "route" ? { routeInfo: (e = j.routeStore.routeInfo) == null ? void 0 : e } : {}
568
568
  });
569
569
  });
570
570
  }
@@ -649,28 +649,28 @@ var vn = class extends s {
649
649
  super(...e), this.root = void 0, this.disposeDetailsEvents = void 0, this.disposeBoothHitTest = void 0;
650
650
  }
651
651
  init() {
652
- Qt(), this.ignoreQuery || $t(this.offHistory), Ze("load"), rt(A), A.fp = this, this.disposeDetailsEvents = _n(), this.disposeBoothHitTest = Je(), w(this.consent), ut(O.Load, ""), this.root = (0, Tt.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, X.jsx)(Ct, { children: /* @__PURE__ */ (0, X.jsx)(We, {
652
+ Qt(), this.ignoreQuery || $t(this.offHistory), Xe("load"), it(j), j.fp = this, this.disposeDetailsEvents = _n(), this.disposeBoothHitTest = Ze(), T(this.consent), ut(k.Load, ""), this.root = (0, Tt.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, X.jsx)(Ct, { children: /* @__PURE__ */ (0, X.jsx)(We, {
653
653
  offHistory: this.offHistory,
654
654
  consent: this.consent
655
- }) })), ut(O.Rendered, ""), Oe(() => A.layerStore.layersLoaded, () => {
655
+ }) })), ut(k.Rendered, ""), Oe(() => j.layerStore.layersLoaded, () => {
656
656
  let e = this.renderTarget.getRootNode(), t = e instanceof ShadowRoot ? e.host : this.renderTarget.parentElement;
657
657
  for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); t && this.element.firstChild && this.element.firstChild !== t;) this.element.removeChild(this.element.firstChild);
658
- if (this.resolveReady(), !A.initialized) {
658
+ if (this.resolveReady(), !j.initialized) {
659
659
  var n;
660
660
  (n = this.onInit) == null || n.call(this, this);
661
661
  }
662
- A.initialized = !0;
662
+ j.initialized = !0;
663
663
  });
664
- let e = Mt(F);
665
- e && import("./bootIntercom-Db9lsRTD.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
664
+ let e = Mt(D);
665
+ e && import("./bootIntercom-C3QDF5oB.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
666
666
  }
667
667
  selectBooth(e) {
668
668
  if (typeof e != "string" && !Array.isArray(e)) {
669
669
  $("selectBooth", "Parameter must be a string or an array of strings.", "EFP000000");
670
670
  return;
671
671
  }
672
- let t = A.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
673
- A.selectBooth(t);
672
+ let t = j.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
673
+ j.selectBooth(t);
674
674
  }
675
675
  selectExhibitor(e) {
676
676
  if (typeof e != "string" && !Array.isArray(e)) {
@@ -678,35 +678,35 @@ var vn = class extends s {
678
678
  return;
679
679
  }
680
680
  if (!(e != null && e.length)) {
681
- A.uiState.menu = !1, A.searchStore.resetSearchBox(), A.uiState.details = null;
681
+ j.uiState.menu = !1, j.searchStore.resetSearchBox(), j.uiState.details = null;
682
682
  return;
683
683
  }
684
- let t = A.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
684
+ let t = j.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
685
685
  if (!(t != null && t.length)) return;
686
686
  if (typeof e == "string") {
687
- A.selectExhibitor(t[0]), A.moveToList([t[0]]);
687
+ j.selectExhibitor(t[0]), j.moveToList([t[0]]);
688
688
  return;
689
689
  }
690
690
  let n = Xt(t.flatMap((e) => e.booths.map((e) => e.layer)).map((e) => e.description));
691
- n && A.layerStore.updateVisibility(n, !0), A.uiState.menu = !1, A.searchStore.resetSearchBox(), A.uiState.details = null, A.uiState.list = {
691
+ n && j.layerStore.updateVisibility(n, !0), j.uiState.menu = !1, j.searchStore.resetSearchBox(), j.uiState.details = null, j.uiState.list = {
692
692
  type: "filter",
693
693
  items: t,
694
694
  query: {
695
695
  key: "exhibitors",
696
696
  value: t.map((e) => e.name).join(",")
697
697
  }
698
- }, A.moveToList();
698
+ }, j.moveToList();
699
699
  }
700
700
  highlightExhibitors(e) {
701
- Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), A.boothStore.highlightedByExternalIds = [], A.exhibitorStore.highlightedByExternalIds = [...e];
701
+ Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), j.boothStore.highlightedByExternalIds = [], j.exhibitorStore.highlightedByExternalIds = [...e];
702
702
  }
703
703
  highlightBooths(e) {
704
- Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), A.exhibitorStore.highlightedByExternalIds = [], A.boothStore.highlightedByExternalIds = [...e];
704
+ Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), j.exhibitorStore.highlightedByExternalIds = [], j.boothStore.highlightedByExternalIds = [...e];
705
705
  }
706
706
  highlightEntities(e) {
707
707
  Array.isArray(e) || $("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
708
708
  let { boothExternalIds: t, exhibitorExternalIds: n } = C(e);
709
- A.boothStore.highlightedByExternalIds = [...t], A.exhibitorStore.highlightedByExternalIds = [...n];
709
+ j.boothStore.highlightedByExternalIds = [...t], j.exhibitorStore.highlightedByExternalIds = [...n];
710
710
  }
711
711
  selectRoute(e, t) {
712
712
  if (Array.isArray(e)) {
@@ -716,10 +716,10 @@ var vn = class extends s {
716
716
  $("selectRoute", "Invalid route format: When providing an array, it must include at least two points: a start and a destination.", "EFP000401");
717
717
  return;
718
718
  }
719
- A.routeStore.selectRoute(new S(Q(n), Q(r), t.map(Q)));
719
+ j.routeStore.selectRoute(new S(Q(n), Q(r), t.map(Q)));
720
720
  return;
721
721
  }
722
- e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), A.routeStore.selectRoute(new S(Q(e), Q(t)));
722
+ e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), j.routeStore.selectRoute(new S(Q(e), Q(t)));
723
723
  }
724
724
  getOptimizedRoutes(e) {
725
725
  if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
@@ -732,19 +732,19 @@ var vn = class extends s {
732
732
  let t = (r = (i = e.layer) == null ? void 0 : i.name) == null ? "" : r, a = n.get(t);
733
733
  a ? a.push(e) : n.set(t, [e]);
734
734
  }
735
- return Array.from(n.values()).map((e) => ({ waypoints: at(e.map((e) => [e.name, {
735
+ return Array.from(n.values()).map((e) => ({ waypoints: st(e.map((e) => [e.name, {
736
736
  x: e.rect.center.x,
737
737
  y: e.rect.center.y
738
738
  }])) }));
739
739
  }
740
740
  selectCurrentPosition(e, t, n) {
741
741
  var r;
742
- let i = T(e.x) && T(e.y), a = T(e.lng) && T(e.lat);
743
- !i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), A.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
742
+ let i = E(e.x) && E(e.y), a = E(e.lng) && E(e.lat);
743
+ !i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), j.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
744
744
  }
745
745
  setBookmarks(e) {
746
746
  (!Array.isArray(e) || !e.length) && $("setBookmarks", "Parameter must be an array.", "EFP000700"), e.forEach((e) => {
747
- let t = A.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
747
+ let t = j.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
748
748
  t && (t.bookmarked = e.bookmarked);
749
749
  });
750
750
  }
@@ -763,29 +763,29 @@ var vn = class extends s {
763
763
  $("setEntitiesBookmarks", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000702");
764
764
  return;
765
765
  }
766
- let r = ft("bookmarked"), i = {
766
+ let r = rt("bookmarked"), i = {
767
767
  exhibitor: {
768
768
  existingIds: new Set(r.exhibitors || []),
769
- finder: (e) => A.exhibitorStore.findExhibitor(e),
770
- replacer: (e) => A.exhibitorStore.replaceBookmarked(e)
769
+ finder: (e) => j.exhibitorStore.findExhibitor(e),
770
+ replacer: (e) => j.exhibitorStore.replaceBookmarked(e)
771
771
  },
772
772
  event: {
773
773
  existingIds: new Set(r.events || []),
774
- finder: (e) => A.eventStore.findByNameOrSlug(e),
775
- replacer: (e) => A.eventStore.replaceBookmarked(e)
774
+ finder: (e) => j.eventStore.findByNameOrSlug(e),
775
+ replacer: (e) => j.eventStore.replaceBookmarked(e)
776
776
  },
777
777
  speaker: {
778
778
  existingIds: new Set(r.speakers || []),
779
- finder: (e) => A.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
780
- replacer: (e) => A.speakerStore.replaceBookmarked(e)
779
+ finder: (e) => j.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
780
+ replacer: (e) => j.speakerStore.replaceBookmarked(e)
781
781
  },
782
782
  booth: {
783
783
  existingIds: new Set(r.booths || []),
784
784
  finder: (e) => {
785
- let t = A.boothStore.findBooth(e);
785
+ let t = j.boothStore.findBooth(e);
786
786
  return (t == null ? void 0 : t.exhibitors.length) === 0 ? t : void 0;
787
787
  },
788
- replacer: (e) => A.boothStore.replaceBookmarked(e)
788
+ replacer: (e) => j.boothStore.replaceBookmarked(e)
789
789
  }
790
790
  };
791
791
  e.forEach((e) => {
@@ -805,16 +805,16 @@ var vn = class extends s {
805
805
  $("setEntitiesVisited", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000704");
806
806
  return;
807
807
  }
808
- let r = ft("visited"), i = {
808
+ let r = rt("visited"), i = {
809
809
  exhibitor: {
810
810
  existingIds: new Set(r.exhibitors || []),
811
- finder: (e) => A.exhibitorStore.findExhibitor(e),
812
- replacer: (e) => A.exhibitorStore.replaceVisited(e)
811
+ finder: (e) => j.exhibitorStore.findExhibitor(e),
812
+ replacer: (e) => j.exhibitorStore.replaceVisited(e)
813
813
  },
814
814
  event: {
815
815
  existingIds: new Set(r.events || []),
816
- finder: (e) => A.eventStore.findByNameOrSlug(e),
817
- replacer: (e) => A.eventStore.replaceVisited(e)
816
+ finder: (e) => j.eventStore.findByNameOrSlug(e),
817
+ replacer: (e) => j.eventStore.replaceVisited(e)
818
818
  }
819
819
  };
820
820
  e.forEach((e) => {
@@ -829,94 +829,94 @@ var vn = class extends s {
829
829
  $("setMarkers", "Invalid input.", "EFP000800");
830
830
  return;
831
831
  }
832
- A.routeStore.setMarkers(e);
832
+ j.routeStore.setMarkers(e);
833
833
  }
834
834
  selectMarker(e, t = !0) {
835
- return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), A.routeStore.selectMarker(e, t);
835
+ return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), j.routeStore.selectMarker(e, t);
836
836
  }
837
837
  drawCircles(e) {
838
- Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), A.uiState.debugCircles = e;
838
+ Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), j.uiState.debugCircles = e;
839
839
  }
840
840
  checkRoutes() {
841
- A.routeStore.checkRoutes();
841
+ j.routeStore.checkRoutes();
842
842
  }
843
843
  updateLayerVisibility(e, t) {
844
- typeof e != "string" && $("updateLayerVisibility", "The layer name (string) must be passed.", "EFP000B00"), t || $("updateLayerVisibility", "Passing a false value to visible will have no effect.", "EFP000B01"), A.layerStore.updateVisibility(e, t);
844
+ typeof e != "string" && $("updateLayerVisibility", "The layer name (string) must be passed.", "EFP000B00"), t || $("updateLayerVisibility", "Passing a false value to visible will have no effect.", "EFP000B01"), j.layerStore.updateVisibility(e, t);
845
845
  }
846
846
  getCenterCoordinates() {
847
- return A.fp.getCenterCoordinates();
847
+ return j.fp.getCenterCoordinates();
848
848
  }
849
849
  exhibitorsList() {
850
- return A.exhibitorStore.exhibitors.map((e) => q(e));
850
+ return j.exhibitorStore.exhibitors.map((e) => q(e));
851
851
  }
852
852
  boothsList() {
853
- return A.boothStore.booths.map((e) => q(e));
853
+ return j.boothStore.booths.map((e) => q(e));
854
854
  }
855
855
  categoriesList() {
856
- return A.categoryStore.categories.map((e) => q(e));
856
+ return j.categoryStore.categories.map((e) => q(e));
857
857
  }
858
858
  selectCategory(e) {
859
859
  if (e == null || typeof e != "string") {
860
- A.searchStore.selectSearch();
860
+ j.searchStore.selectSearch();
861
861
  return;
862
862
  }
863
- let t = e == null ? void 0 : e.toLowerCase(), n = A.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
863
+ let t = e == null ? void 0 : e.toLowerCase(), n = j.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
864
864
  if (!n) {
865
865
  $("selectCategory", `Category ${e} not found.`, "EFP000C01");
866
866
  return;
867
867
  }
868
- A.selectCategory(n);
868
+ j.selectCategory(n);
869
869
  }
870
870
  select(e) {
871
871
  if (typeof e != "string") {
872
872
  $("select", "Parameter must be a string.", "EFP001700");
873
873
  return;
874
874
  }
875
- let t = e, n = t == null ? void 0 : t.toLowerCase(), r = A.boothStore.booths.find((e) => {
875
+ let t = e, n = t == null ? void 0 : t.toLowerCase(), r = j.boothStore.booths.find((e) => {
876
876
  var t, r, i;
877
877
  return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n || ((i = e.externalId) == null || (i = i.toLowerCase()) == null ? void 0 : i.replace(/\s+/g, "")) === n;
878
878
  });
879
879
  if (r) {
880
- setTimeout(() => A.selectBooth(r), 250);
880
+ setTimeout(() => j.selectBooth(r), 250);
881
881
  return;
882
882
  }
883
- let i = A.eventStore.eventItems.find((e) => {
883
+ let i = j.eventStore.eventItems.find((e) => {
884
884
  var t, r;
885
885
  return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
886
886
  });
887
887
  if (i) {
888
- A.selectEventItem(i, !0);
888
+ j.selectEventItem(i, !0);
889
889
  return;
890
890
  }
891
- let a = A.exhibitorStore.exhibitors.find((e) => {
891
+ let a = j.exhibitorStore.exhibitors.find((e) => {
892
892
  var t, r;
893
893
  return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
894
894
  });
895
895
  if (a) {
896
- setTimeout(() => A.clickExhibitor(a), 250);
896
+ setTimeout(() => j.clickExhibitor(a), 250);
897
897
  return;
898
898
  }
899
- let o = A.categoryStore.categories.find((e) => e.slug === t);
899
+ let o = j.categoryStore.categories.find((e) => e.slug === t);
900
900
  if (o) {
901
- A.selectCategory(o);
901
+ j.selectCategory(o);
902
902
  return;
903
903
  }
904
- let s = A.speakerStore.findBySlug(t);
904
+ let s = j.speakerStore.findBySlug(t);
905
905
  if (s) {
906
- A.selectSpeaker(s, !0);
906
+ j.selectSpeaker(s, !0);
907
907
  return;
908
908
  }
909
- t.includes("heatmap=true") || A.searchStore.selectSearch(t);
909
+ t.includes("heatmap=true") || j.searchStore.selectSearch(t);
910
910
  }
911
911
  showList(e) {
912
912
  let t = {
913
- bookmarks: () => A.selectBookmarks(),
914
- visited: () => A.selectVisited(),
915
- sessions: () => A.selectSessions(),
916
- exhibitors: () => A.selectExhibitors(),
917
- speakers: () => A.selectSpeakers(),
918
- tours: () => A.selectTours(),
919
- language: () => A.selectLanguage()
913
+ bookmarks: () => j.selectBookmarks(),
914
+ visited: () => j.selectVisited(),
915
+ sessions: () => j.selectSessions(),
916
+ exhibitors: () => j.selectExhibitors(),
917
+ speakers: () => j.selectSpeakers(),
918
+ tours: () => j.selectTours(),
919
+ language: () => j.selectLanguage()
920
920
  }, n = t[e];
921
921
  if (!n) {
922
922
  $("showList", `Unknown list "${e}". Must be one of: ${Object.keys(t).join(", ")}.`, "EFP001800");
@@ -929,44 +929,44 @@ var vn = class extends s {
929
929
  $("selectTour", "A tour id must be passed.", "EFP001900");
930
930
  return;
931
931
  }
932
- let t = A.toursStore.getTourById(e);
933
- t ? A.toursStore.launchTour(t, t.name, t.description) : (console.warn(`Route with id "${e}" not found`), A.selectTours());
932
+ let t = j.toursStore.getTourById(e);
933
+ t ? j.toursStore.launchTour(t, t.name, t.description) : (console.warn(`Route with id "${e}" not found`), j.selectTours());
934
934
  }
935
935
  openPlanner(e = {}) {
936
936
  if (typeof e != "object" || !e) {
937
937
  $("openPlanner", "An options object must be passed.", "EFP001A00");
938
938
  return;
939
939
  }
940
- let t = e.from ? E(e.from) : null;
941
- if (e.fromBookmarks) A.routePlannerStore.launchFromBookmarks(t == null ? void 0 : t);
940
+ let t = e.from ? O(e.from) : null;
941
+ if (e.fromBookmarks) j.routePlannerStore.launchFromBookmarks(t == null ? void 0 : t);
942
942
  else {
943
943
  var n;
944
- A.routePlannerStore.launchFromSlugs((n = e.items) == null ? [] : n, t == null ? void 0 : t);
944
+ j.routePlannerStore.launchFromSlugs((n = e.items) == null ? [] : n, t == null ? void 0 : t);
945
945
  }
946
946
  }
947
947
  startBuildRoute() {
948
- A.uiState.startBuildRoute();
948
+ j.uiState.startBuildRoute();
949
949
  }
950
950
  applyParameters(e) {
951
951
  typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), en(e);
952
952
  }
953
953
  getVisibility() {
954
- return A.uiState.visibility;
954
+ return j.uiState.visibility;
955
955
  }
956
956
  setVisibility(e) {
957
- (typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), A.uiState.setVisibility(e);
957
+ (typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), j.uiState.setVisibility(e);
958
958
  }
959
959
  findLocation() {
960
- A.routeStore.findLocation();
960
+ j.routeStore.findLocation();
961
961
  }
962
962
  zoomIn() {
963
- A.uiState.zoomIn();
963
+ j.uiState.zoomIn();
964
964
  }
965
965
  zoomOut() {
966
- A.uiState.zoomOut();
966
+ j.uiState.zoomOut();
967
967
  }
968
968
  switchView() {
969
- A.maplibreStore.activateMaplibre();
969
+ j.maplibreStore.activateMaplibre();
970
970
  }
971
971
  setCamera(e) {
972
972
  Z("setCamera called with camera=%O", e);
@@ -975,10 +975,10 @@ var vn = class extends s {
975
975
  $("setCamera", t.error.message, "EFP001B00");
976
976
  return;
977
977
  }
978
- A.uiState.setMapSettings(x(t.data));
978
+ j.uiState.setMapSettings(x(t.data));
979
979
  }
980
980
  getCamera() {
981
- return He(A.uiState.mapSettings);
981
+ return He(j.uiState.mapSettings);
982
982
  }
983
983
  zoomTo(e, t) {
984
984
  Z("zoomTo called with selectors=%O options=%O", e, t);
@@ -1006,15 +1006,15 @@ var vn = class extends s {
1006
1006
  let i = [];
1007
1007
  if ((t = e.booths) == null || t.forEach((e) => {
1008
1008
  let t;
1009
- e.externalId ? t = A.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = A.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
1009
+ e.externalId ? t = j.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = j.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
1010
1010
  }), (n = e.exhibitors) == null || n.forEach((e) => {
1011
1011
  var t;
1012
1012
  let n;
1013
- e.externalId ? n = A.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = A.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
1013
+ e.externalId ? n = j.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = j.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
1014
1014
  e.rect && i.push(e.rect);
1015
1015
  });
1016
1016
  }), i.length === 0) return;
1017
- let a = D.fromUnion(...i);
1017
+ let a = w.fromUnion(...i);
1018
1018
  return {
1019
1019
  leftTop: {
1020
1020
  x: a.min.x,
@@ -1028,7 +1028,7 @@ var vn = class extends s {
1028
1028
  }
1029
1029
  fitBounds(e, t) {
1030
1030
  if (Z("fitBounds called with bounds=%O options=%O", e, t), !e) {
1031
- A.uiState.fitBounds();
1031
+ j.uiState.fitBounds();
1032
1032
  return;
1033
1033
  }
1034
1034
  let n = Gt.safeParse(e);
@@ -1041,24 +1041,24 @@ var vn = class extends s {
1041
1041
  $("fitBounds", r.error.message, "EFP001501");
1042
1042
  return;
1043
1043
  }
1044
- let i = D.fromMinMax({
1044
+ let i = w.fromMinMax({
1045
1045
  x: e.leftTop.x,
1046
1046
  y: e.leftTop.y
1047
1047
  }, {
1048
1048
  x: e.rightBottom.x,
1049
1049
  y: e.rightBottom.y
1050
1050
  });
1051
- A.uiState.moveToRect = t != null && t.padding ? i.expand(t.padding) : i;
1051
+ j.uiState.moveToRect = t != null && t.padding ? i.expand(t.padding) : i;
1052
1052
  }
1053
1053
  getBoothRect(e) {
1054
1054
  var t;
1055
1055
  typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00");
1056
- let n = (t = E(e)) == null ? void 0 : t.rect;
1056
+ let n = (t = O(e)) == null ? void 0 : t.rect;
1057
1057
  return n ? bn.fromBox(n) : void 0;
1058
1058
  }
1059
1059
  convertToGeo(e, t) {
1060
1060
  var n;
1061
- if (!(!(k == null || (n = k.properties) == null) && n.config)) {
1061
+ if (!(!(A == null || (n = A.properties) == null) && n.config)) {
1062
1062
  $("convertToGeo", "The coordinates cannot be converted because the GPS configuration is not defined.", "EFP001000");
1063
1063
  return;
1064
1064
  }
@@ -1066,11 +1066,11 @@ var vn = class extends s {
1066
1066
  $("convertToGeo", "Both coordinates must be passed.", "EFP001001");
1067
1067
  return;
1068
1068
  }
1069
- return Ye(e, t, k.properties.config);
1069
+ return Je(e, t, A.properties.config);
1070
1070
  }
1071
1071
  getGeoConfig() {
1072
1072
  var e, t;
1073
- let n = k == null || (e = k.properties) == null ? void 0 : e.config;
1073
+ let n = A == null || (e = A.properties) == null ? void 0 : e.config;
1074
1074
  return n ? {
1075
1075
  bearing: (t = n.bearing) == null ? 0 : t,
1076
1076
  p0: n.p0,
@@ -1080,16 +1080,16 @@ var vn = class extends s {
1080
1080
  }
1081
1081
  releaseResources() {
1082
1082
  var e, t;
1083
- window.removeEventListener("error", i), (e = this.disposeDetailsEvents) == null || e.call(this), this.disposeDetailsEvents = void 0, (t = this.disposeBoothHitTest) == null || t.call(this), this.disposeBoothHitTest = void 0, A.maplibreStore.dispose(), et(), it(), Ke(), $e(), this.root.unmount(), super.releaseResources();
1083
+ window.removeEventListener("error", i), (e = this.disposeDetailsEvents) == null || e.call(this), this.disposeDetailsEvents = void 0, (t = this.disposeBoothHitTest) == null || t.call(this), this.disposeBoothHitTest = void 0, j.maplibreStore.dispose(), et(), ot(), Ke(), $e(), this.root.unmount(), super.releaseResources();
1084
1084
  }
1085
1085
  search(e) {
1086
- return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), A.fuzzySearchEngineStore.loadEngine().then(() => (A.searchStore.selectSearch(e), A.uiState.fuzzySearchItems.map((e) => ({
1086
+ return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), j.fuzzySearchEngineStore.loadEngine().then(() => (j.searchStore.selectSearch(e), j.uiState.fuzzySearchItems.map((e) => ({
1087
1087
  item: q(e.item),
1088
1088
  score: e.score
1089
1089
  }))));
1090
1090
  }
1091
1091
  getFloors() {
1092
- return A.layerStore.floors.map((e) => ({
1092
+ return j.layerStore.floors.map((e) => ({
1093
1093
  name: e.name,
1094
1094
  shortName: e.shortName,
1095
1095
  description: e.description,
@@ -1137,19 +1137,19 @@ var vn = class extends s {
1137
1137
  });
1138
1138
  }
1139
1139
  showPathwayOnly(e, t) {
1140
- this.activateFloor({ name: t }), A.layerStore.showPathWay(e), A.uiState.setPathwayOnlyMode(!0);
1141
- let n = A.layerStore.findLayer(e), r = A.layerStore.findLayer(t), i = n != null && n.rect || n != null && n.viewbox ? n : r;
1140
+ this.activateFloor({ name: t }), j.layerStore.showPathWay(e), j.uiState.setPathwayOnlyMode(!0);
1141
+ let n = j.layerStore.findLayer(e), r = j.layerStore.findLayer(t), i = n != null && n.rect || n != null && n.viewbox ? n : r;
1142
1142
  if (i != null && i.rect || i != null && i.viewbox) {
1143
1143
  var a;
1144
1144
  let e = (a = i.viewbox) == null ? i.rect : a;
1145
- A.uiState.moveToRect = e.clone();
1145
+ j.uiState.moveToRect = e.clone();
1146
1146
  }
1147
1147
  }
1148
1148
  hidePathways() {
1149
- this.highlightBooths([]), A.layerStore.hidePathways(), A.uiState.setPathwayOnlyMode(!1);
1149
+ this.highlightBooths([]), j.layerStore.hidePathways(), j.uiState.setPathwayOnlyMode(!1);
1150
1150
  }
1151
1151
  showSearch() {
1152
- A.selectSearch("");
1152
+ j.selectSearch("");
1153
1153
  }
1154
1154
  changeLanguage(e) {
1155
1155
  var t;
@@ -1161,35 +1161,35 @@ var vn = class extends s {
1161
1161
  Ce(n);
1162
1162
  }
1163
1163
  isGpsTrackingEnabled() {
1164
- return A.routeStore.gpsEnabled;
1164
+ return j.routeStore.gpsEnabled;
1165
1165
  }
1166
1166
  setGpsTrackingEnabled(e) {
1167
- A.routeStore.setGpsTrackingEnabled(e);
1167
+ j.routeStore.setGpsTrackingEnabled(e);
1168
1168
  }
1169
1169
  deselectCurrentPosition() {
1170
- A.routeStore.selectCurrentPosition(null, !1);
1170
+ j.routeStore.selectCurrentPosition(null, !1);
1171
1171
  }
1172
1172
  deselectRoute() {
1173
- A.routeStore.selectRoute(null), A.routeStore.setOnlyAccessible(!1);
1173
+ j.routeStore.selectRoute(null), j.routeStore.setOnlyAccessible(!1);
1174
1174
  }
1175
1175
  reset() {
1176
- if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), A.uiState.kioskData && A.resetCameraFn) {
1176
+ if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), j.uiState.kioskData && j.resetCameraFn) {
1177
1177
  var e;
1178
- (e = A.resetCameraFn) == null || e.call(A);
1178
+ (e = j.resetCameraFn) == null || e.call(j);
1179
1179
  } else this.fitBounds();
1180
1180
  }
1181
1181
  selectAccessibleRoute(e) {
1182
- A.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
1182
+ j.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
1183
1183
  }
1184
1184
  };
1185
1185
  function Q(e) {
1186
- return typeof e == "string" ? E(e) : A.routeStore.getNearestBooth(e);
1186
+ return typeof e == "string" ? O(e) : j.routeStore.getNearestBooth(e);
1187
1187
  }
1188
1188
  var yn = 0;
1189
1189
  function $(e, t, n) {
1190
1190
  let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://js-sdk.expofp.com/api/packages";
1191
- if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), A.fp.disableRuntimeAlerts) return;
1192
- A.uiState.setGlobalErrorMessage({
1191
+ if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), j.fp.disableRuntimeAlerts) return;
1192
+ j.uiState.setGlobalErrorMessage({
1193
1193
  title: r,
1194
1194
  body: /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [
1195
1195
  i,
@@ -1205,7 +1205,7 @@ function $(e, t, n) {
1205
1205
  let o = 8e3;
1206
1206
  yn = window.setTimeout(() => {
1207
1207
  let e = async () => {
1208
- A.uiState.globalErrorMessages.length > 0 && (A.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
1208
+ j.uiState.globalErrorMessages.length > 0 && (j.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
1209
1209
  };
1210
1210
  e();
1211
1211
  }, o);