@expofp/floorplan 0.0.0-experimental.2d6c681 → 0.0.0-experimental.6dabc65

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 (41) hide show
  1. package/dist/browser/{CookieConsent-BIsWzAiP.js → CookieConsent-DYjf8elV.js} +1 -1
  2. package/dist/browser/{Debug-B5mmo0ZX.js → Debug-CK-BLY-v.js} +1 -1
  3. package/dist/browser/{Demo-B2klxORi.js → Demo-B677YULI.js} +1 -1
  4. package/dist/browser/{Free-suULW-LU.js → Free-B_nU7Krr.js} +1 -1
  5. package/dist/browser/{GalleryContainer-BGBNGRKU.js → GalleryContainer-DcZrZnJz.js} +2 -2
  6. package/dist/browser/{GpsLoader-Idv0kq5D.js → GpsLoader-D9ghVrHk.js} +5 -5
  7. package/dist/browser/{KioskStore-Dg9jaX5d.js → KioskStore-BY2LVJPr.js} +4 -4
  8. package/dist/browser/{LayerStore-CK6wLW56.js → LayerStore-Cdwr6Hsw.js} +5 -5
  9. package/dist/browser/{MaplibreAdapter-uZUhZfFW.js → MaplibreAdapter-aWJl2IuA.js} +58 -59
  10. package/dist/browser/{ModalContainer-DWm8vEaI.js → ModalContainer-DnZxo0qA.js} +1 -1
  11. package/dist/browser/{RouteStore-NE2I9tiF.js → RouteStore-DTRRmaH_.js} +1552 -740
  12. package/dist/browser/{SetKioskMode-Dwlf5w7q.js → SetKioskMode-KMjCaliE.js} +2 -2
  13. package/dist/browser/{ShowKiosk-Cr-QmIUT.js → ShowKiosk-C_gEEGg7.js} +3 -3
  14. package/dist/browser/{ViewerMenuPanel-CTAjGsq2.js → ViewerMenuPanel-CbkSUP3L.js} +3 -3
  15. package/dist/browser/bundle.json +31 -34
  16. package/dist/browser/{components-BjEhhgf2.js → components-DRXsdUhs.js} +727 -727
  17. package/dist/browser/{create-live-plan-BaEGBhGA.js → create-live-plan-DnaL_dh7.js} +386 -725
  18. package/dist/browser/{floorplan.loader-CGzIMplb.js → floorplan.loader-151P9pJo.js} +6 -6
  19. package/dist/browser/{floorplan.ready-r96zV9bP.js → floorplan.ready-CCnzh5dy.js} +470 -378
  20. package/dist/browser/{i18n-BgFBhYOU.js → i18n-DRDvImjG.js} +7 -2
  21. package/dist/browser/index.js +8 -8
  22. package/dist/browser/{venue-public-BA3x-n4N.js → init-ui-DsRfN2rh.js} +8 -18
  23. package/dist/browser/{integrateKiosk-D45vYRsm.js → integrateKiosk-w_EetoNQ.js} +1 -1
  24. package/dist/browser/{is-debug-BRHdrnKr.js → is-debug-6YYr83sg.js} +2 -2
  25. package/dist/browser/{journey-plan-DtL28HMP.js → journey-plan-CEf1fFZz.js} +16 -16
  26. package/dist/browser/{kiosk-mode-DfkGlDkT.js → kiosk-mode-Ck1FQGr9.js} +2 -2
  27. package/dist/browser/{kioskUrlParam-CnYhnC_7.js → kioskUrlParam-BinDd3Gf.js} +1 -1
  28. package/dist/browser/{loadImage-DzSnRAxX.js → loadImage-CenmkrfL.js} +1 -1
  29. package/dist/browser/{logDeviceInfo-BTqyv9Xe.js → logDeviceInfo-OsKRXOu4.js} +4 -4
  30. package/dist/browser/{debounce-raMZ2DqK.js → venue-selection-DLUrexiA.js} +8 -18
  31. package/dist/browser/{viewport-B7plho3P.js → viewport-CBi835qx.js} +1 -1
  32. package/dist/esm/floorplan.ready.js +10 -0
  33. package/dist/esm/store/RouteStore.d.ts +10 -0
  34. package/dist/esm/store/RouteStore.js +48 -16
  35. package/dist/esm/store/VenueStore.d.ts +7 -0
  36. package/dist/esm/store/VenueStore.js +9 -0
  37. package/dist/esm/tools/sdk-telemetry.d.ts +10 -0
  38. package/dist/esm/tools/sdk-telemetry.js +122 -0
  39. package/dist/esm/tools/settings.js +1 -1
  40. package/package.json +10 -10
  41. package/dist/browser/venues-DKpIy-87.js +0 -447
@@ -7,7 +7,7 @@
7
7
  } catch {}
8
8
  })();
9
9
  import { n as e } from "./rolldown-runtime-DUb2xvRc.js";
10
- import { s as t } from "./i18n-BgFBhYOU.js";
10
+ import { s as t } from "./i18n-DRDvImjG.js";
11
11
  import { t as n } from "./react-DqPP-mkq.js";
12
12
  import { t as r } from "./jsx-runtime-DQgnuS-I.js";
13
13
  import { t as i } from "./PermissionNotice-DaqnuHln.js";
@@ -8,7 +8,7 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
8
8
  } catch {}
9
9
  })();
10
10
  import "./rolldown-runtime-DUb2xvRc.js";
11
- import { s as e } from "./i18n-BgFBhYOU.js";
11
+ import { s as e } from "./i18n-DRDvImjG.js";
12
12
  import { t } from "./react-DqPP-mkq.js";
13
13
  import { t as n } from "./jsx-runtime-DQgnuS-I.js";
14
14
  import { r } from "./index.module-kJmnWg5B.js";
@@ -8,7 +8,7 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
8
8
  } catch {}
9
9
  })();
10
10
  import { n as e, r as t } from "./rolldown-runtime-DUb2xvRc.js";
11
- import { s as n } from "./i18n-BgFBhYOU.js";
11
+ import { s as n } from "./i18n-DRDvImjG.js";
12
12
  import { t as r } from "./react-DqPP-mkq.js";
13
13
  import { t as i } from "./jsx-runtime-DQgnuS-I.js";
14
14
  import { t as a } from "./classnames-YcGXWNfg.js";
@@ -8,7 +8,7 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
8
8
  } catch {}
9
9
  })();
10
10
  import { r as e } from "./rolldown-runtime-DUb2xvRc.js";
11
- import { s as t } from "./i18n-BgFBhYOU.js";
11
+ import { s as t } from "./i18n-DRDvImjG.js";
12
12
  import { t as n } from "./react-DqPP-mkq.js";
13
13
  import { t as r } from "./jsx-runtime-DQgnuS-I.js";
14
14
  import { t as i } from "./classnames-YcGXWNfg.js";
@@ -8,10 +8,10 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
8
8
  } catch {}
9
9
  })();
10
10
  import { n as e, r as t } from "./rolldown-runtime-DUb2xvRc.js";
11
- import { s as n } from "./i18n-BgFBhYOU.js";
11
+ import { s as n } from "./i18n-DRDvImjG.js";
12
12
  import { t as r } from "./react-DqPP-mkq.js";
13
13
  import { t as i } from "./jsx-runtime-DQgnuS-I.js";
14
- import { n as a, t as o } from "./loadImage-DzSnRAxX.js";
14
+ import { n as a, t as o } from "./loadImage-CenmkrfL.js";
15
15
  import { t as s } from "./react-dom-BkVzoZWO.js";
16
16
  import { t as c } from "./classnames-YcGXWNfg.js";
17
17
  import { n as l, t as u } from "./useRenderTarget-RFckzUJM.js";
@@ -3,20 +3,20 @@
3
3
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
4
  e.SENTRY_RELEASE = { id: "3.45.6" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "651efe08-5348-40ea-80cb-b4440393f8cb", e._sentryDebugIdIdentifier = "sentry-dbid-651efe08-5348-40ea-80cb-b4440393f8cb");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "028a3696-20d7-46da-9317-3caf4db770d9", e._sentryDebugIdIdentifier = "sentry-dbid-028a3696-20d7-46da-9317-3caf4db770d9");
7
7
  } catch {}
8
8
  })();
9
9
  import { r as e } from "./rolldown-runtime-DUb2xvRc.js";
10
- import { M as t, s as n } from "./i18n-BgFBhYOU.js";
10
+ import { M as t, s as n } from "./i18n-DRDvImjG.js";
11
11
  import { t as r } from "./react-DqPP-mkq.js";
12
12
  import { t as i } from "./jsx-runtime-DQgnuS-I.js";
13
- import { m as a } from "./is-debug-BRHdrnKr.js";
14
- import { E as o } from "./LayerStore-CK6wLW56.js";
13
+ import { m as a } from "./is-debug-6YYr83sg.js";
14
+ import { E as o } from "./LayerStore-Cdwr6Hsw.js";
15
15
  import { t as s } from "./PermissionNotice-DaqnuHln.js";
16
16
  import { t as c } from "./index.module-kJmnWg5B.js";
17
17
  import { l } from "./store-q_CTsixH.js";
18
18
  import { i as u } from "./mobx-C-kcS0zI.js";
19
- import { U as d, t as f } from "./RouteStore-NE2I9tiF.js";
19
+ import { J as d, t as f } from "./RouteStore-DTRRmaH_.js";
20
20
  //#region src/components/gps/GpsPermissionRequest.tsx
21
21
  var p = /* @__PURE__ */ e(r(), 1), m = i(), h = c(function({ isOpen: e, onAllow: t, onCancel: r }) {
22
22
  return e ? /* @__PURE__ */ (0, m.jsx)(s, {
@@ -6,12 +6,12 @@
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8e235734-ad13-4a17-bbbe-6d4c861b6d6d", e._sentryDebugIdIdentifier = "sentry-dbid-8e235734-ad13-4a17-bbbe-6d4c861b6d6d");
7
7
  } catch {}
8
8
  })();
9
- import { At as e, D as t, l as n, s as r } from "./i18n-BgFBhYOU.js";
9
+ import { At as e, D as t, l as n, s as r } from "./i18n-DRDvImjG.js";
10
10
  import { a as i, c as a, f as o, h as s, n as c } from "./mobx.module-BOCLFB5I.js";
11
- import { Bt as l, Ht as u, Qt as d, en as f, nn as p, tn as m } from "./LayerStore-CK6wLW56.js";
11
+ import { Bt as l, Ht as u, Qt as d, en as f, nn as p, tn as m } from "./LayerStore-Cdwr6Hsw.js";
12
12
  import { l as h } from "./store-q_CTsixH.js";
13
- import { r as g } from "./viewport-B7plho3P.js";
14
- import { i as _ } from "./kiosk-mode-DfkGlDkT.js";
13
+ import { r as g } from "./viewport-CBi835qx.js";
14
+ import { i as _ } from "./kiosk-mode-Ck1FQGr9.js";
15
15
  import { n as v, t as y } from "./kiosk-record-JAEq8SV6.js";
16
16
  //#region src/components/Kiosk/KioskStore.ts
17
17
  var b, x, S, C, w;
@@ -4,16 +4,16 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
5
  e.SENTRY_RELEASE = { id: "3.45.6" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d693793b-c880-49b9-8689-a5b67324f075", e._sentryDebugIdIdentifier = "sentry-dbid-d693793b-c880-49b9-8689-a5b67324f075");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2be3a862-ea66-446a-818b-e844ce2ef184", e._sentryDebugIdIdentifier = "sentry-dbid-2be3a862-ea66-446a-818b-e844ce2ef184");
8
8
  } catch {}
9
9
  })();
10
10
  import { r as e, t } from "./rolldown-runtime-DUb2xvRc.js";
11
- import { At as n, C as r, E as i, L as a, N as o, P as s, Q as c, S as l, T as u, _ as d, g as f, l as p, s as m, x as h } from "./i18n-BgFBhYOU.js";
11
+ import { At as n, C as r, E as i, L as a, N as o, P as s, Q as c, S as l, T as u, _ as d, g as f, l as p, s as m, x as h } from "./i18n-DRDvImjG.js";
12
12
  import { s as g } from "./efp-debug-init-CozbueIl.js";
13
13
  import { t as _ } from "./react-DqPP-mkq.js";
14
14
  import { t as v } from "./jsx-runtime-DQgnuS-I.js";
15
- import { a as y, d as b, f as x, i as S, m as C, o as w, p as T, t as E, u as D } from "./is-debug-BRHdrnKr.js";
16
- import { n as O, r as k, t as A } from "./loadImage-DzSnRAxX.js";
15
+ import { a as y, d as b, f as x, i as S, m as C, o as w, p as T, t as E, u as D } from "./is-debug-6YYr83sg.js";
16
+ import { n as O, r as k, t as A } from "./loadImage-CenmkrfL.js";
17
17
  import { a as j, c as M, h as ee, l as te, n as ne, r as re, u as ie } from "./mobx.module-BOCLFB5I.js";
18
18
  import { t as ae } from "./is-webview-cTH4yz8f.js";
19
19
  import { t as oe } from "./scheduler-NBuuaWIe.js";
@@ -2027,7 +2027,7 @@ var vo = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
2027
2027
  function xo() {
2028
2028
  var e;
2029
2029
  let t = new bo();
2030
- t.EXPO.startsWith("sxsw2024") ? (t.colors.booths.selected = "#FF6400", t.colors.booths.seectedLight = "#808080") : t.EXPO === "whxdubai2026" ? (t.colors.booths.selected = "#2B66FE", t.maxZoom = 450) : t.EXPO === "whxlabs2026" ? t.colors.booths.selected = "#2B66FE" : (t.EXPO === "wineparis2026" || t.EXPO === "rdemo2025") && (t.maxZoom = 450);
2030
+ t.EXPO === "sxsw2024" ? (t.colors.booths.selected = "#FF6400", t.colors.booths.seectedLight = "#808080") : t.EXPO === "whxdubai2026" ? (t.colors.booths.selected = "#2B66FE", t.maxZoom = 450) : t.EXPO === "whxlabs2026" ? t.colors.booths.selected = "#2B66FE" : (t.EXPO === "wineparis2026" || t.EXPO === "rdemo2025") && (t.maxZoom = 450);
2031
2031
  let r = window.__settings, i = (e = x().__fpSettings) == null ? {} : e;
2032
2032
  t = (0, vo.default)(t, r == null ? i : r), t = (0, vo.default)(t, i), t.wayfinding = !!(!n().hideDirections && T());
2033
2033
  let a = n().selectionColor;
@@ -4,27 +4,26 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
5
  e.SENTRY_RELEASE = { id: "3.45.6" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2ff78bc3-4f09-4e3e-8a19-0f10ac4cb864", e._sentryDebugIdIdentifier = "sentry-dbid-2ff78bc3-4f09-4e3e-8a19-0f10ac4cb864");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "c0a77da4-f007-4cdb-a3eb-bede167df73c", e._sentryDebugIdIdentifier = "sentry-dbid-c0a77da4-f007-4cdb-a3eb-bede167df73c");
8
8
  } catch {}
9
9
  })();
10
10
  import { r as e, t } from "./rolldown-runtime-DUb2xvRc.js";
11
- import { At as n, F as r, I as i, g as a, s as o } from "./i18n-BgFBhYOU.js";
11
+ import { At as n, F as r, I as i, g as a, s as o } from "./i18n-DRDvImjG.js";
12
12
  import { t as s } from "./react-DqPP-mkq.js";
13
13
  import { t as c } from "./jsx-runtime-DQgnuS-I.js";
14
- import { f as l, t as u } from "./is-debug-BRHdrnKr.js";
15
- import { t as d } from "./loadImage-DzSnRAxX.js";
14
+ import { f as l, t as u } from "./is-debug-6YYr83sg.js";
15
+ import { t as d } from "./loadImage-CenmkrfL.js";
16
16
  import { i as f, l as p, u as m } from "./mobx.module-BOCLFB5I.js";
17
- import { C as h, Gt as g, Kt as _, Rt as v, Sn as y, Ut as b, Xt as x, Yt as S, _n as C, c as w, ct as T, ht as E, l as D, mt as O, o as k, pt as A, q as j, qt as M, s as N, st as ee, u as te, un as ne, v as re, vt as ie, w as ae, yn as oe } from "./LayerStore-CK6wLW56.js";
17
+ import { C as h, Gt as g, Kt as _, Rt as v, Sn as y, Ut as b, Xt as x, Yt as S, _n as C, c as w, ct as T, ht as E, l as D, mt as O, o as k, pt as A, q as j, qt as M, s as N, st as ee, u as te, un as ne, v as re, vt as ie, w as ae, yn as oe } from "./LayerStore-Cdwr6Hsw.js";
18
18
  import { t as se } from "./index.module-kJmnWg5B.js";
19
19
  import { l as P, u as F } from "./store-q_CTsixH.js";
20
20
  import { i as ce } from "./mobx-C-kcS0zI.js";
21
21
  import { n as le, t as ue } from "./expofpUrl-jBUlvkwz.js";
22
- import { B as de, H as fe, U as pe, W as me, _ as he, b as ge, l as _e, x as ve, y as ye } from "./RouteStore-NE2I9tiF.js";
23
- import { c as be, i as xe, l as Se, s as Ce, u as we } from "./kioskUrlParam-CnYhnC_7.js";
24
- import { t as Te } from "./camera-events-DSCuSH25.js";
25
- import { t as Ee } from "./viewport-B7plho3P.js";
26
- import { _ as De, b as Oe, d as ke, f as Ae, g as je, h as Me, l as Ne, m as Pe, p as Fe, r as Ie, u as Le, v as I, y as Re } from "./journey-plan-DtL28HMP.js";
27
- import { n as ze, t as Be } from "./venues-DKpIy-87.js";
22
+ import { E as de, G as fe, J as pe, S as me, T as he, Y as ge, f as _e, m as ve, p as ye, q as be, w as xe } from "./RouteStore-DTRRmaH_.js";
23
+ import { c as Se, i as Ce, l as we, s as Te, u as Ee } from "./kioskUrlParam-BinDd3Gf.js";
24
+ import { t as De } from "./camera-events-DSCuSH25.js";
25
+ import { t as Oe } from "./viewport-CBi835qx.js";
26
+ import { _ as ke, b as Ae, d as je, f as Me, g as Ne, h as Pe, l as Fe, m as Ie, p as Le, r as I, u as Re, v as ze, y as Be } from "./journey-plan-CEf1fFZz.js";
28
27
  //#region src/components/Maplibre/maplibre-recovery.ts
29
28
  var R = /* @__PURE__ */ e(s(), 1), Ve = /* @__PURE__ */ e(ie(), 1);
30
29
  function He(e, t) {
@@ -34867,20 +34866,20 @@ function Mn(e, t, n) {
34867
34866
  }
34868
34867
  function Nn(e, t) {
34869
34868
  let n = [
34870
- he(e.min.x, e.min.y, t),
34871
- he(e.max.x, e.min.y, t),
34872
- he(e.max.x, e.max.y, t),
34873
- he(e.min.x, e.max.y, t)
34869
+ me(e.min.x, e.min.y, t),
34870
+ me(e.max.x, e.min.y, t),
34871
+ me(e.max.x, e.max.y, t),
34872
+ me(e.min.x, e.max.y, t)
34874
34873
  ], r = n.map(([e]) => e), i = n.map(([, e]) => e);
34875
34874
  return [[Math.min(...r), Math.min(...i)], [Math.max(...r), Math.max(...i)]];
34876
34875
  }
34877
34876
  var Pn = 512;
34878
34877
  function Fn(e, t, n, r, i, a) {
34879
34878
  let o = [
34880
- he(e.min.x, e.min.y, t),
34881
- he(e.max.x, e.min.y, t),
34882
- he(e.max.x, e.max.y, t),
34883
- he(e.min.x, e.max.y, t)
34879
+ me(e.min.x, e.min.y, t),
34880
+ me(e.max.x, e.min.y, t),
34881
+ me(e.max.x, e.max.y, t),
34882
+ me(e.min.x, e.max.y, t)
34884
34883
  ].map(([e, t]) => Ue.MercatorCoordinate.fromLngLat({
34885
34884
  lng: e,
34886
34885
  lat: t
@@ -34918,9 +34917,9 @@ function Ln(e, t, n) {
34918
34917
  }
34919
34918
  function Rn() {
34920
34919
  var e, t;
34921
- let r = (e = de()) == null || (e = e.properties) == null ? void 0 : e.config;
34920
+ let r = (e = fe()) == null || (e = e.properties) == null ? void 0 : e.config;
34922
34921
  if (!r) return null;
34923
- let i = (r.p0.lng + r.p2.lng) / 2, a = (r.p0.lat + r.p2.lat) / 2, o = ge(r.p0, r.p2), s = Number.isFinite(o) ? o : (t = r.bearing) == null ? 0 : t, c = n().enableExperimentalNorthUp === !0;
34922
+ let i = (r.p0.lng + r.p2.lng) / 2, a = (r.p0.lat + r.p2.lat) / 2, o = he(r.p0, r.p2), s = Number.isFinite(o) ? o : (t = r.bearing) == null ? 0 : t, c = n().enableExperimentalNorthUp === !0;
34924
34923
  return {
34925
34924
  center: [i, a],
34926
34925
  bearing: c ? 0 : s,
@@ -34936,7 +34935,7 @@ function zn(e, t) {
34936
34935
  function Bn(e, t, n, r = {}) {
34937
34936
  var i, a, o, s, c, l;
34938
34937
  if (!e || !t || !n || t.size.height === Infinity || t.size.width === Infinity || t.size.height <= 0 || t.size.width <= 0) return;
34939
- let u = (i = r.bearing) == null ? n.bearing : i, d = Nn(t, n.gpsConfig), f = e.getCanvas(), p = In((a = r.padding) == null ? 50 : a, ke()), m = Fn(t, n.gpsConfig, u, {
34938
+ let u = (i = r.bearing) == null ? n.bearing : i, d = Nn(t, n.gpsConfig), f = e.getCanvas(), p = In((a = r.padding) == null ? 50 : a, je()), m = Fn(t, n.gpsConfig, u, {
34940
34939
  width: f.clientWidth,
34941
34940
  height: f.clientHeight
34942
34941
  }, p);
@@ -35047,7 +35046,7 @@ function $n(e, t) {
35047
35046
  try {
35048
35047
  return {
35049
35048
  minSizeMeters: Math.min(n, r) * i,
35050
- centroidLatitude: me(e.center, ...ve(t)).lat
35049
+ centroidLatitude: ge(e.center, ...de(t)).lat
35051
35050
  };
35052
35051
  } catch {
35053
35052
  return null;
@@ -35073,7 +35072,7 @@ function nr(e, t, n, r = $n(n.bounds, t.gpsConfig)) {
35073
35072
  return a ? er(r, a.zoom) : null;
35074
35073
  }
35075
35074
  function rr(e, t, n, r = $n(n.bounds, t.gpsConfig)) {
35076
- return Gn(Hn(n.detailMinSizePx), nr(e, t, n, r), ze(Un(n.markerMaxSizePx)));
35075
+ return Gn(Hn(n.detailMinSizePx), nr(e, t, n, r), ye(Un(n.markerMaxSizePx)));
35077
35076
  }
35078
35077
  //#endregion
35079
35078
  //#region src/components/Maplibre/useCameraReactions.ts
@@ -35086,7 +35085,7 @@ function sr(e, t, n) {
35086
35085
  let s = Fn(n.rect, t.gpsConfig, i, {
35087
35086
  width: o.clientWidth,
35088
35087
  height: o.clientHeight
35089
- }, In(50, ke()));
35088
+ }, In(50, je()));
35090
35089
  if (a && s) {
35091
35090
  let n = Jn({
35092
35091
  currentZoom: e.getZoom(),
@@ -35106,7 +35105,7 @@ function sr(e, t, n) {
35106
35105
  }
35107
35106
  var cr = 20;
35108
35107
  function lr(e) {
35109
- return Ce(e, Se(e, M())).expand(cr);
35108
+ return Te(e, we(e, M())).expand(cr);
35110
35109
  }
35111
35110
  function ur(e, t, n) {
35112
35111
  let r = new Set(n.map((e) => P.venueStore.venueOfLayer(e.layer))), [i] = r;
@@ -35134,7 +35133,7 @@ function pr(e, t, n) {
35134
35133
  if (n.length !== 1) return !1;
35135
35134
  let i = (r = n[0]) == null ? void 0 : r.id, a = P.poiMarkerStore.markers.find((e) => e.boothId === i);
35136
35135
  if (!a) return !1;
35137
- let o = he(a.center.x, a.center.y, t.gpsConfig);
35136
+ let o = me(a.center.x, a.center.y, t.gpsConfig);
35138
35137
  return Ln(e, o, In(or)) || e.easeTo({
35139
35138
  center: o,
35140
35139
  zoom: An(e, ar),
@@ -35165,8 +35164,8 @@ function mr(e, t, n) {
35165
35164
  var r;
35166
35165
  let i = e.current;
35167
35166
  if (!n || !i || !t) return;
35168
- let { width: a, height: o } = n.size, s = a > 0 && o > 0 ? Le(n) : n, c = (r = ir.moveToRectPaddingPercent) == null ? Se(n, M()) : r;
35169
- Bn(i, Ce(s, c / (1 - 2 * c)), t, { padding: 0 }), ir.moveToRect = null, ir.moveToRectPaddingPercent = null;
35167
+ let { width: a, height: o } = n.size, s = a > 0 && o > 0 ? Re(n) : n, c = (r = ir.moveToRectPaddingPercent) == null ? we(n, M()) : r;
35168
+ Bn(i, Te(s, c / (1 - 2 * c)), t, { padding: 0 }), ir.moveToRect = null, ir.moveToRectPaddingPercent = null;
35170
35169
  }), ce(() => ir.zoomBy, (t) => {
35171
35170
  let n = e.current;
35172
35171
  !t || !n || (P.venueStore.releaseDestinationOverride(), n.flyTo({
@@ -35193,7 +35192,7 @@ function mr(e, t, n) {
35193
35192
  if (c) l = [o, s];
35194
35193
  else {
35195
35194
  if (!t) return;
35196
- l = he(a.x, a.y, t.gpsConfig);
35195
+ l = me(a.x, a.y, t.gpsConfig);
35197
35196
  }
35198
35197
  let u = P.venueStore.venueAt(a), d = u && t && u === P.venueStore.venueOfLayer(String((r = a.z) == null ? "" : r)) ? fr(i, t, u) : void 0;
35199
35198
  i.flyTo({
@@ -35206,7 +35205,7 @@ function mr(e, t, n) {
35206
35205
  let i = e.current;
35207
35206
  if (!(!r || !i || !t)) {
35208
35207
  if (!(F.list.type === "search" && !F.list.text)) {
35209
- let { rect: e } = we({
35208
+ let { rect: e } = Ee({
35210
35209
  layerViewbox: P.layerStore.viewboxRectangle,
35211
35210
  explicitArea: S() ? M() : null,
35212
35211
  layerRectangle: P.layerStore.rectangle,
@@ -35404,7 +35403,7 @@ function zr() {
35404
35403
  } : r != null && r.styleUrl ? {
35405
35404
  style: r.styleUrl,
35406
35405
  offline: r.offline
35407
- } : Nr((n = de()) == null || (n = n.properties) == null || (n = n.config) == null ? void 0 : n.style, b.backgroundColor) === "dark" ? Fr : Pr;
35406
+ } : Nr((n = fe()) == null || (n = n.properties) == null || (n = n.config) == null ? void 0 : n.style, b.backgroundColor) === "dark" ? Fr : Pr;
35408
35407
  }
35409
35408
  //#endregion
35410
35409
  //#region src/components/Maplibre/useDimming.ts
@@ -35418,11 +35417,11 @@ function Vr(e, t) {
35418
35417
  (t = n.current) == null || t.setTarget(a, e), (i = r.current) == null || i.setTarget(a, e);
35419
35418
  }, []);
35420
35419
  return (0, R.useEffect)(() => {
35421
- let i = Re((t) => {
35422
- Ir(e.current, t * De);
35423
- }), a = Re((e) => {
35420
+ let i = Be((t) => {
35421
+ Ir(e.current, t * ke);
35422
+ }), a = Be((e) => {
35424
35423
  let n = t.current;
35425
- n && I(n, e * 1) && A(n.rootLayer);
35424
+ n && ze(n, e * 1) && A(n.rootLayer);
35426
35425
  });
35427
35426
  return n.current = i, r.current = a, () => {
35428
35427
  i.stop(), a.stop(), n.current = null, r.current = null;
@@ -35433,7 +35432,7 @@ function Vr(e, t) {
35433
35432
  applyDimmingTarget: i,
35434
35433
  handleMapDimLayerReady: (0, R.useCallback)((e) => {
35435
35434
  var t, r;
35436
- Ir(e, ((t = (r = n.current) == null ? void 0 : r.getValue()) == null ? +!!Br() : t) * De);
35435
+ Ir(e, ((t = (r = n.current) == null ? void 0 : r.getValue()) == null ? +!!Br() : t) * ke);
35437
35436
  }, [])
35438
35437
  };
35439
35438
  }
@@ -35465,7 +35464,7 @@ var Ur = "expofp-journey-connector", Wr = "expofp-journey-connector-casing", Gr
35465
35464
  };
35466
35465
  function ri(e, t) {
35467
35466
  var n;
35468
- let r = fe(e.from, e.to, $r), i = (n = r[Math.floor(r.length / 2)]) == null ? e.from : n;
35467
+ let r = be(e.from, e.to, $r), i = (n = r[Math.floor(r.length / 2)]) == null ? e.from : n;
35469
35468
  return {
35470
35469
  type: "FeatureCollection",
35471
35470
  features: [{
@@ -35481,7 +35480,7 @@ function ri(e, t) {
35481
35480
  type: "Point",
35482
35481
  coordinates: ei(i)
35483
35482
  },
35484
- properties: { distance: Ne(e.distanceMeters, t) }
35483
+ properties: { distance: Fe(e.distanceMeters, t) }
35485
35484
  }]
35486
35485
  };
35487
35486
  }
@@ -35564,7 +35563,7 @@ function ii(e, t) {
35564
35563
  a(), (t = r.getSource(Ur)) == null || t.setData(ri(e, i));
35565
35564
  }, c = () => {
35566
35565
  var e, t;
35567
- return (e = (t = ti(Ie())) == null ? void 0 : t.connector) == null ? null : e;
35566
+ return (e = (t = ti(I())) == null ? void 0 : t.connector) == null ? null : e;
35568
35567
  }, l = () => s(c());
35569
35568
  r.on("style.load", l), s(c());
35570
35569
  let u = p(c, s, { equals: f.structural });
@@ -35587,7 +35586,7 @@ function ai(e, t) {
35587
35586
  e.originalEvent && (r = !0, (t = (n = window).__resett) == null || t.call(n));
35588
35587
  }, a = () => {
35589
35588
  var e, t;
35590
- Te(), r && (r = !1, (e = (t = window).__resett) == null || e.call(t));
35589
+ De(), r && (r = !1, (e = (t = window).__resett) == null || e.call(t));
35591
35590
  };
35592
35591
  return n.on("movestart", i), n.on("moveend", a), () => {
35593
35592
  n.off("movestart", i), n.off("moveend", a);
@@ -35664,7 +35663,7 @@ function xi(e, t, n) {
35664
35663
  if (!v()) return;
35665
35664
  let o = t.current;
35666
35665
  if (!e || !o || !n) return;
35667
- let { gpsConfig: s } = n, c = /* @__PURE__ */ new Set(), l = window.devicePixelRatio || 1, u = k(40, l, ((a = b.colors) == null || (a = a.booths) == null ? void 0 : a.selected) || "#3b6ef5"), d = D(N, 40, l).tipOffset, f = D(w, 40, l).tipOffset, m = Math.ceil(40 * l), h = new ImageData(m, m), g = (e) => he(e.center.x, e.center.y, s), _ = (e, t) => {
35666
+ let { gpsConfig: s } = n, c = /* @__PURE__ */ new Set(), l = window.devicePixelRatio || 1, u = k(40, l, ((a = b.colors) == null || (a = a.booths) == null ? void 0 : a.selected) || "#3b6ef5"), d = D(N, 40, l).tipOffset, f = D(w, 40, l).tipOffset, m = Math.ceil(40 * l), h = new ImageData(m, m), g = (e) => me(e.center.x, e.center.y, s), _ = (e, t) => {
35668
35667
  o.hasImage(e) && o.removeImage(e), o.addImage(e, t, { pixelRatio: l }), c.add(e);
35669
35668
  }, y = (e) => {
35670
35669
  let t = P.poiMarkerStore.markers, n = new Set(t.map((e) => bi(e.boothId)));
@@ -35774,7 +35773,7 @@ function xi(e, t, n) {
35774
35773
  });
35775
35774
  }, E = () => {
35776
35775
  if (!o.getLayer(fi)) return;
35777
- let e = Br() ? 1 - De : 1;
35776
+ let e = Br() ? 1 - ke : 1;
35778
35777
  o.setPaintProperty(fi, "circle-opacity", e), o.setPaintProperty(fi, "circle-stroke-opacity", e), o.setPaintProperty(pi, "text-opacity", e), o.setPaintProperty(mi, "icon-opacity", e), o.setPaintProperty(hi, "icon-opacity", e);
35779
35778
  }, O = (e = !1) => {
35780
35779
  var t;
@@ -35851,12 +35850,12 @@ function Si(e, t) {
35851
35850
  [r, i],
35852
35851
  [0, i]
35853
35852
  ]) {
35854
- let r = ye(e.unproject([n, o]), t);
35853
+ let r = xe(e.unproject([n, o]), t);
35855
35854
  if (!r) break;
35856
35855
  a.push(r);
35857
35856
  }
35858
35857
  if (a.length === 4) return ne.fromPoints(a);
35859
- let o = ye(e.getCenter(), t);
35858
+ let o = xe(e.getCenter(), t);
35860
35859
  return o ? new ne(o.x, o.y) : null;
35861
35860
  }
35862
35861
  //#endregion
@@ -36145,11 +36144,11 @@ function Ca(e, t, n) {
36145
36144
  return s.has(e.id) ? (t = o.get(e.id)) == null ? void 0 : t.layer : void 0;
36146
36145
  }, u = new Map(a.map((e) => {
36147
36146
  let t = X(e, o.get(e.id));
36148
- return [e.id, he(t.x, t.y, i)];
36147
+ return [e.id, me(t.x, t.y, i)];
36149
36148
  })), d = {
36150
36149
  type: "FeatureCollection",
36151
36150
  features: a.map((e) => {
36152
- let t = e.contour.map((e) => he(e.x, e.y, i));
36151
+ let t = e.contour.map((e) => me(e.x, e.y, i));
36153
36152
  return t.length > 0 && t.push(t[0]), {
36154
36153
  type: "Feature",
36155
36154
  geometry: {
@@ -36163,7 +36162,7 @@ function Ca(e, t, n) {
36163
36162
  };
36164
36163
  })
36165
36164
  }, f = () => {
36166
- let e = P.venueStore.focusedVenueId, t = new Map([...a].sort((t, n) => Number(t.id !== e) - Number(n.id !== e) || t.order - n.order || Be(t.id, n.id)).map((e, t) => [e.id, t]));
36165
+ let e = P.venueStore.focusedVenueId, t = new Map([...a].sort((t, n) => Number(t.id !== e) - Number(n.id !== e) || t.order - n.order || _e(t.id, n.id)).map((e, t) => [e.id, t]));
36167
36166
  return {
36168
36167
  type: "FeatureCollection",
36169
36168
  features: a.map((e) => {
@@ -36400,7 +36399,7 @@ function Ca(e, t, n) {
36400
36399
  }));
36401
36400
  };
36402
36401
  r.on("click", N), r.on("mousemove", ne), h.set((e, t) => {
36403
- let n = r.project(he(e, t, i));
36402
+ let n = r.project(me(e, t, i));
36404
36403
  return !!M(n.x, n.y);
36405
36404
  }), j();
36406
36405
  let re = p(() => P.venueStore.venues.map((e) => `${e.id}:${k(O(e))}`).join(","), j), ie = p(() => P.venueStore.focusedVenueId, () => {
@@ -36424,11 +36423,11 @@ function Ca(e, t, n) {
36424
36423
  function wa(e, t) {
36425
36424
  (0, R.useEffect)(() => {
36426
36425
  if (!e) return;
36427
- let n = _e({
36426
+ let n = ve({
36428
36427
  scene: e,
36429
36428
  store: P,
36430
36429
  canvas: t
36431
- }), r = Oe({ scene: e });
36430
+ }), r = Ae({ scene: e });
36432
36431
  return () => {
36433
36432
  n(), r();
36434
36433
  };
@@ -36620,7 +36619,7 @@ function Ka() {
36620
36619
  }
36621
36620
  var Z = () => F.overlayPosition === "bottom", Q = se(function({ viewMode: e }) {
36622
36621
  var t;
36623
- let [n, r] = (0, R.useState)(null), [i, a] = (0, R.useState)(!1), o = (0, R.useRef)(null), s = (0, R.useRef)(null), c = (0, R.useRef)(null), l = (0, R.useRef)(null), d = (0, R.useRef)(null), m = (0, R.useMemo)(() => Rn(), []), h = (0, R.useMemo)(() => we({
36622
+ let [n, r] = (0, R.useState)(null), [i, a] = (0, R.useState)(!1), o = (0, R.useRef)(null), s = (0, R.useRef)(null), c = (0, R.useRef)(null), l = (0, R.useRef)(null), d = (0, R.useRef)(null), m = (0, R.useMemo)(() => Rn(), []), h = (0, R.useMemo)(() => Ee({
36624
36623
  layerViewbox: P.layerStore.viewboxRectangle,
36625
36624
  explicitArea: S() ? M() : null,
36626
36625
  layerRectangle: P.layerStore.rectangle,
@@ -36628,7 +36627,7 @@ var Z = () => F.overlayPosition === "bottom", Q = se(function({ viewMode: e }) {
36628
36627
  svgArea: M()
36629
36628
  }), [n]), g = P.venueStore.campusBounds, v = P.venueStore.campusBoundsAuthored, y = g == null ? h.rect : g, C = (0, R.useMemo)(() => {
36630
36629
  if (!m) return null;
36631
- let e = g || be(h.source) ? 0 : Se(y, M()), t = In(g ? Cn(v) : 0);
36630
+ let e = g || Se(h.source) ? 0 : we(y, M()), t = In(g ? Cn(v) : 0);
36632
36631
  e && F.screenSize && (t.left += F.screenSize.width * e, t.right += F.screenSize.width * e, t.top += F.screenSize.height * e, t.bottom += F.screenSize.height * e);
36633
36632
  let n = F.screenSize ? Fn(y, m.gpsConfig, m.bearing, {
36634
36633
  width: F.screenSize.width,
@@ -36682,13 +36681,13 @@ var Z = () => F.overlayPosition === "bottom", Q = se(function({ viewMode: e }) {
36682
36681
  (0, R.useEffect)(() => {
36683
36682
  ee.current = N;
36684
36683
  }, [N]), (0, R.useEffect)(() => {
36685
- if (N) return xe(N), () => xe(void 0);
36684
+ if (N) return Ce(N), () => Ce(void 0);
36686
36685
  }, [N]);
36687
36686
  let { mapDimAnimatorRef: ne, venueDimAnimatorRef: ie, applyDimmingTarget: ae, handleMapDimLayerReady: oe } = Vr(o, ee);
36688
36687
  (0, R.useEffect)(() => {
36689
36688
  if (!m) return;
36690
36689
  let e = !1;
36691
- Ka(), je().then(({ layers: t, cleanup: n }) => {
36690
+ Ka(), Ne().then(({ layers: t, cleanup: n }) => {
36692
36691
  if (e) {
36693
36692
  n();
36694
36693
  return;
@@ -36727,19 +36726,19 @@ var Z = () => F.overlayPosition === "bottom", Q = se(function({ viewMode: e }) {
36727
36726
  var e;
36728
36727
  return (e = k.current.pitch) == null ? 0 : e;
36729
36728
  });
36730
- d.current = i, P.maplibreStore.setCameraPort(i), P.fp.getCenterCoordinates = () => Ee(s.current), ae({ immediate: !0 }), te(), P.layerStore.layersLoaded = !0, P.fp.onFpConfigured && P.fp.onFpConfigured(), F.sceneDefReady = !0, t();
36729
+ d.current = i, P.maplibreStore.setCameraPort(i), P.fp.getCenterCoordinates = () => Oe(s.current), ae({ immediate: !0 }), te(), P.layerStore.layersLoaded = !0, P.fp.onFpConfigured && P.fp.onFpConfigured(), F.sceneDefReady = !0, t();
36731
36730
  }, [ae, m]);
36732
36731
  (0, R.useEffect)(() => {
36733
36732
  k.current = O, Rr(o.current, O);
36734
36733
  }, [O]), (0, R.useEffect)(() => {
36735
36734
  let e = P.venueStore.cameraRequest;
36736
36735
  i && m && o.current && e && sr(o.current, m, e);
36737
- }, [m, i]), ai(i, o), wa(N, s), Ca(i, o, m), xi(i, o, m), ii(i, o), si(N, o, m), mr(o, m, N), Vi(o, m, i), Fe({
36736
+ }, [m, i]), ai(i, o), wa(N, s), Ca(i, o, m), xi(i, o, m), ii(i, o), si(N, o, m), mr(o, m, N), Vi(o, m, i), Le({
36738
36737
  enabled: P.layerStore.layersLoaded && F.buildRoute,
36739
36738
  scene: N == null ? void 0 : N
36740
36739
  });
36741
36740
  let ce = (t = x.busRoutes) != null && t;
36742
- Ae({
36741
+ Me({
36743
36742
  permission: P.layerStore.layersLoaded && ce,
36744
36743
  scene: N == null ? void 0 : N,
36745
36744
  dataJsonUrl: `https://${Ua}/v1/routes?expo=${b.EXPO}`,
@@ -36760,7 +36759,7 @@ var Z = () => F.overlayPosition === "bottom", Q = se(function({ viewMode: e }) {
36760
36759
  onMapDimLayerReady: oe,
36761
36760
  onMapLoadError: le,
36762
36761
  onPointerMissed: re,
36763
- children: [/* @__PURE__ */ (0, K.jsx)(Pe, {}), u && /* @__PURE__ */ (0, K.jsx)(Me, { canvas: s })]
36762
+ children: [/* @__PURE__ */ (0, K.jsx)(Ie, {}), u && /* @__PURE__ */ (0, K.jsx)(Pe, { canvas: s })]
36764
36763
  }, ue);
36765
36764
  });
36766
36765
  //#endregion
@@ -8,7 +8,7 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
8
8
  } catch {}
9
9
  })();
10
10
  import { n as e, r as t } from "./rolldown-runtime-DUb2xvRc.js";
11
- import { s as n } from "./i18n-BgFBhYOU.js";
11
+ import { s as n } from "./i18n-DRDvImjG.js";
12
12
  import { t as r } from "./react-DqPP-mkq.js";
13
13
  import { t as i } from "./jsx-runtime-DQgnuS-I.js";
14
14
  import { t as a } from "./react-dom-BkVzoZWO.js";