@expofp/floorplan 3.36.0 → 3.37.1

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 (92) hide show
  1. package/dist/browser/{Button-2F0fcPWt.js → Button-DeCrQX9Q.js} +5 -5
  2. package/dist/browser/{CookieConsent-Bs_a5mWS.js → CookieConsent-Vl3v-pFj.js} +7 -7
  3. package/dist/browser/{Debug-CD7jIIc9.js → Debug-B5yqbERt.js} +7 -7
  4. package/dist/browser/{DebugTools-0QH5g7VI.js → DebugTools-DxmLwGuT.js} +6 -6
  5. package/dist/browser/{Demo-CaQvpK66.js → Demo-wMGqDSlp.js} +9 -9
  6. package/dist/browser/{Free-DvMwspKE.js → Free-YWqMdrkf.js} +9 -9
  7. package/dist/browser/{GalleryContainer-Dwlzieq8.js → GalleryContainer-BSj0IoEg.js} +10 -10
  8. package/dist/browser/{GpsLoader-BPoEXpR_.js → GpsLoader-JZ2o-6yZ.js} +26 -26
  9. package/dist/browser/KioskStore-Bu3BopQw.js +251 -0
  10. package/dist/browser/{MaplibreAdapter-CDSNSGMJ.js → MaplibreAdapter-Po4JkMfJ.js} +606 -605
  11. package/dist/browser/{ModalContainer-C0C_-D7Q.js → ModalContainer-Ca0L20OV.js} +10 -10
  12. package/dist/browser/{PermissionNotice-Ditp-Va7.js → PermissionNotice-BL_Z0Gvx.js} +6 -6
  13. package/dist/browser/{SetKioskMode-Ch3P8jsl.js → SetKioskMode-BLqj_oCF.js} +13 -13
  14. package/dist/browser/{ShowKiosk-D0NS-rMr.js → ShowKiosk-C_Uo4HvH.js} +11 -11
  15. package/dist/browser/{ViewerMenuPanel-CH9tB2Sp.js → ViewerMenuPanel-JVKfblYo.js} +10 -10
  16. package/dist/browser/{add-debug-secret-listener-Cw8yc4RW.js → add-debug-secret-listener-DPtDyfek.js} +1 -1
  17. package/dist/browser/{adopt-global-settings-Bc_AVw2I.js → adopt-global-settings-BtOhXTvg.js} +9 -9
  18. package/dist/browser/{boolean-editor-DySssKe_.js → boolean-editor-DnFqREVk.js} +9 -9
  19. package/dist/browser/{bootIntercom-veK3GB2r.js → bootIntercom-Bcj28u2s.js} +2 -2
  20. package/dist/browser/bundle.json +71 -71
  21. package/dist/browser/{camera-events-BX1-wPbL.js → camera-events-7_9NDGJ3.js} +1 -1
  22. package/dist/browser/{classnames-C1ATXib6.js → classnames-DDNrf32h.js} +2 -2
  23. package/dist/browser/{client-Bdn_b8IB.js → client-CH-EyMGM.js} +5 -5
  24. package/dist/browser/{components-ElNUYOon.js → components-CTpCoGVL.js} +1183 -1181
  25. package/dist/browser/{debug-context-iU8AaPvD.js → debug-context-k4yfSNiw.js} +5 -5
  26. package/dist/browser/{debug-overlay-Dqyz5mZZ.js → debug-overlay-DUJGPb45.js} +10 -10
  27. package/dist/browser/{debug-ui-DPeQ3uf5.js → debug-ui-BHuX-GB3.js} +6 -6
  28. package/dist/browser/{dimming-CZLGDSAM.js → dimming-t9q0FUi7.js} +261 -261
  29. package/dist/browser/{dist-C2H8aaYx.js → dist-BH6ccsWu.js} +5 -5
  30. package/dist/browser/{dist-BE-vw9Dz.js → dist-BN7aRMYg.js} +3 -3
  31. package/dist/browser/{dist-CLxwCMUL.js → dist-D53VlFs3.js} +6 -6
  32. package/dist/browser/{efp-debug-init-BD4LKeS1.js → efp-debug-init-FVwthqE9.js} +3 -3
  33. package/dist/browser/{enum-editor-DntlOPuq.js → enum-editor-D2DqVE0U.js} +4 -4
  34. package/dist/browser/{es5-CjrUZ-uf.js → es5-CTnRrfUa.js} +2 -2
  35. package/dist/browser/{event-head-CIqZD5NQ.js → event-head-NyeKC_a-.js} +1 -1
  36. package/dist/browser/{event-not-found-DRIf3y4d.js → event-not-found-DIhmLXDl.js} +3 -3
  37. package/dist/browser/{exports-m4XDiy76.js → exports-BozCwlV6.js} +1 -1
  38. package/dist/browser/{favicon-uIHQnsih.js → favicon-B1mctnat.js} +1 -1
  39. package/dist/browser/{fetch-retry.umd-D-ufgiKo.js → fetch-retry.umd-D9r-WEgL.js} +2 -2
  40. package/dist/browser/{flex-h9aGr8BA.js → flex-_eXPuQqS.js} +5 -5
  41. package/dist/browser/{floorplan.loader-DnpZi_x0.js → floorplan.loader-CfJ8Vn2f.js} +10 -10
  42. package/dist/browser/{floorplan.ready-BhJ0AYxK.js → floorplan.ready-Di_3P8e2.js} +187 -192
  43. package/dist/browser/{fuse-kGJ6CyvN.js → fuse-v2l3pyGv.js} +2 -2
  44. package/dist/browser/{i18n-8GhKJLji.js → i18n-B5-zCiY_.js} +5 -5
  45. package/dist/browser/index.js +16 -16
  46. package/dist/browser/{index.module-DXWLW2QZ.js → index.module-6qVgT1Ws.js} +4 -4
  47. package/dist/browser/{integrateKiosk-Cwhicybg.js → integrateKiosk-D8Xc_hN4.js} +4 -4
  48. package/dist/browser/{is-own-domain-BgHODyPb.js → is-own-domain-CRNYcXgm.js} +1 -1
  49. package/dist/browser/{is-webview-8mSd5e7Z.js → is-webview-BKVg7rVR.js} +1 -1
  50. package/dist/browser/{jsx-runtime-Db0wke-m.js → jsx-runtime-CvluGX9h.js} +2 -2
  51. package/dist/browser/{kiosk-record-BmUy79vX.js → kiosk-record-CkIaRaVs.js} +1 -1
  52. package/dist/browser/{lib-DYJdAHez.js → lib-F5uPIjZZ.js} +3 -3
  53. package/dist/browser/{loadImage-DiOgFRgU.js → loadImage-CWZCt1gk.js} +4 -4
  54. package/dist/browser/{logDeviceInfo-Z3261diM.js → logDeviceInfo-KsHijAvU.js} +9 -9
  55. package/dist/browser/{mobx-BcDFojrl.js → mobx-DyNIDReK.js} +4 -4
  56. package/dist/browser/{optional-boolean-editor-CW1Is1sb.js → optional-boolean-editor-BuEtS0T3.js} +3 -3
  57. package/dist/browser/{optional-enum-editor-BkTQr_mP.js → optional-enum-editor-CdbmJsGL.js} +4 -4
  58. package/dist/browser/{optional-string-editor-CQkcvxq9.js → optional-string-editor-D2PcwHgW.js} +4 -4
  59. package/dist/browser/{particles.min-Ds4mtQz5.js → particles.min-E6qiqBch.js} +2 -2
  60. package/dist/browser/{react-Bws4GHzE.js → react-Dn5R1i44.js} +2 -2
  61. package/dist/browser/{react-dom-DKAc03u1.js → react-dom-CNKhUGTA.js} +3 -3
  62. package/dist/browser/{rolldown-runtime-Bmk6v0JP.js → rolldown-runtime-Rtc3Wq1o.js} +1 -1
  63. package/dist/browser/{scheduler-BXv92Cfb.js → scheduler-B63wNQ6O.js} +2 -2
  64. package/dist/browser/{select-BCscymDn.js → select-FAFZn4pa.js} +10 -10
  65. package/dist/browser/{settings-CrabU4sN.js → settings-DxbVRDcz.js} +2 -2
  66. package/dist/browser/{settings-item-BZ_U0h8B.js → settings-item-BvQw5Dzf.js} +6 -6
  67. package/dist/browser/{store-DJXUxGeN.js → store-BWnOp-D9.js} +3210 -3191
  68. package/dist/browser/{string-editor-CnG22Oly.js → string-editor-unUjOHfG.js} +4 -4
  69. package/dist/browser/{text-field-NVbcJEkm.js → text-field-YhZt_uCf.js} +5 -5
  70. package/dist/browser/{theme-eBX8BNJC.js → theme-ycAtwSHv.js} +8 -8
  71. package/dist/browser/{ui-BPpyJIAd.js → ui-BDt3wLKg.js} +8 -8
  72. package/dist/browser/{useRenderTarget-yW52M18A.js → useRenderTarget-dNFV5pof.js} +4 -4
  73. package/dist/browser/{viewport-nGSeFdsb.js → viewport-DE8ekt3O.js} +3 -3
  74. package/dist/esm/components/Kiosk/KioskStore.d.ts +8 -0
  75. package/dist/esm/components/Kiosk/KioskStore.js +1 -1
  76. package/dist/esm/components/Kiosk/kiosk-mode.d.ts +18 -2
  77. package/dist/esm/components/Kiosk/kiosk-mode.js +1 -1
  78. package/dist/esm/components/Map/MapCamera.js +1 -1
  79. package/dist/esm/components/Map/camera-events.d.ts +9 -6
  80. package/dist/esm/components/Map/pointer.d.ts +7 -5
  81. package/dist/esm/components/MapControlsContainer.js +1 -1
  82. package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
  83. package/dist/esm/components/Maplibre/useKioskCameraEvents.d.ts +20 -0
  84. package/dist/esm/components/Maplibre/useKioskCameraEvents.js +1 -0
  85. package/dist/esm/intercom/shouldLoad.js +1 -1
  86. package/dist/esm/store/UIState.d.ts +2 -0
  87. package/dist/esm/store/UIState.js +1 -1
  88. package/dist/esm/store/init/init-ui.js +1 -1
  89. package/package.json +10 -10
  90. package/dist/browser/KioskStore-BSg4K_mL.js +0 -241
  91. package/dist/esm/components/Maplibre/useKioskIdleEvents.d.ts +0 -17
  92. package/dist/esm/components/Maplibre/useKioskIdleEvents.js +0 -1
@@ -2,15 +2,15 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.36.0" };
5
+ e.SENTRY_RELEASE = { id: "3.37.1" };
6
6
  var t = new e.Error().stack;
7
7
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "bbc278e3-9ba4-4f57-a6ed-131d3a9e5aec", e._sentryDebugIdIdentifier = "sentry-dbid-bbc278e3-9ba4-4f57-a6ed-131d3a9e5aec");
8
8
  } catch {}
9
9
  })();
10
- import { r as e } from "./rolldown-runtime-Bmk6v0JP.js";
11
- import { t } from "./react-Bws4GHzE.js";
12
- import { t as n } from "./jsx-runtime-Db0wke-m.js";
13
- import { t as r } from "./classnames-C1ATXib6.js";
10
+ import { r as e } from "./rolldown-runtime-Rtc3Wq1o.js";
11
+ import { t } from "./react-Dn5R1i44.js";
12
+ import { t as n } from "./jsx-runtime-CvluGX9h.js";
13
+ import { t as r } from "./classnames-DDNrf32h.js";
14
14
  //#region ../ui/src/components/Button/Button.tsx
15
15
  var i = /* @__PURE__ */ e(r(), 1);
16
16
  t();
@@ -1,17 +1,17 @@
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.36.0" };
4
+ e.SENTRY_RELEASE = { id: "3.37.1" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "88aa745e-8f27-4f1e-a6cd-e21a5b978840", e._sentryDebugIdIdentifier = "sentry-dbid-88aa745e-8f27-4f1e-a6cd-e21a5b978840");
7
7
  } catch {}
8
8
  })();
9
- import { n as e } from "./rolldown-runtime-Bmk6v0JP.js";
10
- import { s as t } from "./i18n-8GhKJLji.js";
11
- import { t as n } from "./react-Bws4GHzE.js";
12
- import { t as r } from "./jsx-runtime-Db0wke-m.js";
13
- import { t as i } from "./PermissionNotice-Ditp-Va7.js";
14
- import { t as a } from "./index.module-DXWLW2QZ.js";
9
+ import { n as e } from "./rolldown-runtime-Rtc3Wq1o.js";
10
+ import { s as t } from "./i18n-B5-zCiY_.js";
11
+ import { t as n } from "./react-Dn5R1i44.js";
12
+ import { t as r } from "./jsx-runtime-CvluGX9h.js";
13
+ import { t as i } from "./PermissionNotice-BL_Z0Gvx.js";
14
+ import { t as a } from "./index.module-6qVgT1Ws.js";
15
15
  //#region src/components/CookieConsent.tsx
16
16
  var o = /* @__PURE__ */ e({ default: () => c });
17
17
  n();
@@ -2,17 +2,17 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.36.0" };
5
+ e.SENTRY_RELEASE = { id: "3.37.1" };
6
6
  var t = new e.Error().stack;
7
7
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ea85b62b-798b-4bd3-9e48-09bee20434a8", e._sentryDebugIdIdentifier = "sentry-dbid-ea85b62b-798b-4bd3-9e48-09bee20434a8");
8
8
  } catch {}
9
9
  })();
10
- import "./rolldown-runtime-Bmk6v0JP.js";
11
- import { s as e } from "./i18n-8GhKJLji.js";
12
- import { t } from "./react-Bws4GHzE.js";
13
- import { t as n } from "./jsx-runtime-Db0wke-m.js";
14
- import { c as r, l as i } from "./store-DJXUxGeN.js";
15
- import { r as a } from "./index.module-DXWLW2QZ.js";
10
+ import "./rolldown-runtime-Rtc3Wq1o.js";
11
+ import { s as e } from "./i18n-B5-zCiY_.js";
12
+ import { t } from "./react-Dn5R1i44.js";
13
+ import { t as n } from "./jsx-runtime-CvluGX9h.js";
14
+ import { c as r, l as i } from "./store-BWnOp-D9.js";
15
+ import { r as a } from "./index.module-6qVgT1Ws.js";
16
16
  t();
17
17
  var o = [], s = n();
18
18
  function c() {
@@ -2,16 +2,16 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.36.0" };
5
+ e.SENTRY_RELEASE = { id: "3.37.1" };
6
6
  var t = new e.Error().stack;
7
7
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "39ed4b16-0327-4122-9b81-58b7aabd390c", e._sentryDebugIdIdentifier = "sentry-dbid-39ed4b16-0327-4122-9b81-58b7aabd390c");
8
8
  } catch {}
9
9
  })();
10
- import { r as e } from "./rolldown-runtime-Bmk6v0JP.js";
11
- import { t } from "./react-Bws4GHzE.js";
12
- import { t as n } from "./jsx-runtime-Db0wke-m.js";
13
- import { t as r } from "./client-Bdn_b8IB.js";
14
- import { c as i, n as a, t as o, x as s, y as c } from "./debug-context-iU8AaPvD.js";
10
+ import { r as e } from "./rolldown-runtime-Rtc3Wq1o.js";
11
+ import { t } from "./react-Dn5R1i44.js";
12
+ import { t as n } from "./jsx-runtime-CvluGX9h.js";
13
+ import { t as r } from "./client-CH-EyMGM.js";
14
+ import { c as i, n as a, t as o, x as s, y as c } from "./debug-context-k4yfSNiw.js";
15
15
  //#region ../../node_modules/.pnpm/webgl-memory@1.1.3/node_modules/webgl-memory/webgl-memory.js
16
16
  var l = s();
17
17
  (function(e) {
@@ -2,19 +2,19 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.36.0" };
5
+ e.SENTRY_RELEASE = { id: "3.37.1" };
6
6
  var t = new e.Error().stack;
7
7
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "045b8468-c11b-4ad2-99db-b72f4c51ff2c", e._sentryDebugIdIdentifier = "sentry-dbid-045b8468-c11b-4ad2-99db-b72f4c51ff2c");
8
8
  } catch {}
9
9
  })();
10
- import { n as e, r as t } from "./rolldown-runtime-Bmk6v0JP.js";
11
- import { s as n } from "./i18n-8GhKJLji.js";
12
- import { t as r } from "./react-Bws4GHzE.js";
13
- import { t as i } from "./jsx-runtime-Db0wke-m.js";
14
- import { t as a } from "./classnames-C1ATXib6.js";
15
- import { l as o } from "./store-DJXUxGeN.js";
16
- import { n as s, r as c } from "./index.module-DXWLW2QZ.js";
17
- import { n as l } from "./mobx-BcDFojrl.js";
10
+ import { n as e, r as t } from "./rolldown-runtime-Rtc3Wq1o.js";
11
+ import { s as n } from "./i18n-B5-zCiY_.js";
12
+ import { t as r } from "./react-Dn5R1i44.js";
13
+ import { t as i } from "./jsx-runtime-CvluGX9h.js";
14
+ import { t as a } from "./classnames-DDNrf32h.js";
15
+ import { l as o } from "./store-BWnOp-D9.js";
16
+ import { n as s, r as c } from "./index.module-6qVgT1Ws.js";
17
+ import { n as l } from "./mobx-DyNIDReK.js";
18
18
  //#region src/components/Demo.tsx
19
19
  var u = /* @__PURE__ */ e({ default: () => m }), d = /* @__PURE__ */ t(a(), 1);
20
20
  r();
@@ -2,19 +2,19 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.36.0" };
5
+ e.SENTRY_RELEASE = { id: "3.37.1" };
6
6
  var t = new e.Error().stack;
7
7
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "09fbd805-4420-4ecf-a560-a52e84cce98b", e._sentryDebugIdIdentifier = "sentry-dbid-09fbd805-4420-4ecf-a560-a52e84cce98b");
8
8
  } catch {}
9
9
  })();
10
- import { r as e } from "./rolldown-runtime-Bmk6v0JP.js";
11
- import { s as t } from "./i18n-8GhKJLji.js";
12
- import { t as n } from "./react-Bws4GHzE.js";
13
- import { t as r } from "./jsx-runtime-Db0wke-m.js";
14
- import { t as i } from "./classnames-C1ATXib6.js";
15
- import { h as a, l as o, m as s } from "./store-DJXUxGeN.js";
16
- import { n as c, r as l } from "./index.module-DXWLW2QZ.js";
17
- import { n as u } from "./mobx-BcDFojrl.js";
10
+ import { r as e } from "./rolldown-runtime-Rtc3Wq1o.js";
11
+ import { s as t } from "./i18n-B5-zCiY_.js";
12
+ import { t as n } from "./react-Dn5R1i44.js";
13
+ import { t as r } from "./jsx-runtime-CvluGX9h.js";
14
+ import { t as i } from "./classnames-DDNrf32h.js";
15
+ import { h as a, l as o, m as s } from "./store-BWnOp-D9.js";
16
+ import { n as c, r as l } from "./index.module-6qVgT1Ws.js";
17
+ import { n as u } from "./mobx-DyNIDReK.js";
18
18
  //#region src/components/Free.tsx
19
19
  var d = /* @__PURE__ */ e(i(), 1);
20
20
  n();
@@ -2,20 +2,20 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.36.0" };
5
+ e.SENTRY_RELEASE = { id: "3.37.1" };
6
6
  var t = new e.Error().stack;
7
7
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "54176417-7123-46e6-8829-63b115090e6c", e._sentryDebugIdIdentifier = "sentry-dbid-54176417-7123-46e6-8829-63b115090e6c");
8
8
  } catch {}
9
9
  })();
10
- import { n as e, r as t } from "./rolldown-runtime-Bmk6v0JP.js";
11
- import { s as n } from "./i18n-8GhKJLji.js";
12
- import { t as r } from "./react-Bws4GHzE.js";
13
- import { t as i } from "./jsx-runtime-Db0wke-m.js";
14
- import { t as a } from "./loadImage-DiOgFRgU.js";
15
- import { t as o } from "./react-dom-DKAc03u1.js";
16
- import { t as s } from "./classnames-C1ATXib6.js";
17
- import { n as c, t as l } from "./useRenderTarget-yW52M18A.js";
18
- import { t as u } from "./index.module-DXWLW2QZ.js";
10
+ import { n as e, r as t } from "./rolldown-runtime-Rtc3Wq1o.js";
11
+ import { s as n } from "./i18n-B5-zCiY_.js";
12
+ import { t as r } from "./react-Dn5R1i44.js";
13
+ import { t as i } from "./jsx-runtime-CvluGX9h.js";
14
+ import { t as a } from "./loadImage-CWZCt1gk.js";
15
+ import { t as o } from "./react-dom-CNKhUGTA.js";
16
+ import { t as s } from "./classnames-DDNrf32h.js";
17
+ import { n as c, t as l } from "./useRenderTarget-dNFV5pof.js";
18
+ import { t as u } from "./index.module-6qVgT1Ws.js";
19
19
  //#region ../ui/src/components/Gallery/GalleryBadges/GalleryBadges.tsx
20
20
  var d = /* @__PURE__ */ t(r(), 1), f = /* @__PURE__ */ t(s(), 1), p = i(), m = ({ count: e, fullscreenLabel: t, onFullscreen: n }) => /* @__PURE__ */ (0, p.jsxs)(p.Fragment, { children: [/* @__PURE__ */ (0, p.jsxs)("div", {
21
21
  className: "efp-gallery__badge efp-gallery__badge-count",
@@ -1,20 +1,20 @@
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.36.0" };
4
+ e.SENTRY_RELEASE = { id: "3.37.1" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8005efa2-ab73-4f85-9b22-8d100395714f", e._sentryDebugIdIdentifier = "sentry-dbid-8005efa2-ab73-4f85-9b22-8d100395714f");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a94fb6e7-e24d-4959-9d9d-edc032849af7", e._sentryDebugIdIdentifier = "sentry-dbid-a94fb6e7-e24d-4959-9d9d-edc032849af7");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-Bmk6v0JP.js";
10
- import { q as t, s as n } from "./i18n-8GhKJLji.js";
11
- import { t as r } from "./react-Bws4GHzE.js";
12
- import { t as i } from "./jsx-runtime-Db0wke-m.js";
13
- import { r as a } from "./loadImage-DiOgFRgU.js";
14
- import { S as o, Tn as s, c, zt as l } from "./store-DJXUxGeN.js";
15
- import { t as u } from "./PermissionNotice-Ditp-Va7.js";
16
- import { t as d } from "./index.module-DXWLW2QZ.js";
17
- import { i as f } from "./mobx-BcDFojrl.js";
9
+ import { r as e } from "./rolldown-runtime-Rtc3Wq1o.js";
10
+ import { q as t, s as n } from "./i18n-B5-zCiY_.js";
11
+ import { t as r } from "./react-Dn5R1i44.js";
12
+ import { t as i } from "./jsx-runtime-CvluGX9h.js";
13
+ import { r as a } from "./loadImage-CWZCt1gk.js";
14
+ import { S as o, Ut as s, c, kn as l } from "./store-BWnOp-D9.js";
15
+ import { t as u } from "./PermissionNotice-BL_Z0Gvx.js";
16
+ import { t as d } from "./index.module-6qVgT1Ws.js";
17
+ import { i as f } from "./mobx-DyNIDReK.js";
18
18
  //#region src/components/gps/GpsPermissionRequest.tsx
19
19
  var p = /* @__PURE__ */ e(r(), 1), m = i(), h = d(function({ isOpen: e, onAllow: t, onCancel: r }) {
20
20
  return e ? /* @__PURE__ */ (0, m.jsx)(u, {
@@ -30,26 +30,26 @@ function g(e) {
30
30
  return Math.floor(e);
31
31
  }
32
32
  function _(e, t) {
33
- return s(e, t) >= 3 || e.heading !== t.heading;
33
+ return l(e, t) >= 3 || e.heading !== t.heading;
34
34
  }
35
35
  //#endregion
36
36
  //#region src/components/gps/useUserLocationAndHeading.ts
37
37
  var v = 120, y = 3e3, b = 360;
38
38
  function x(e) {
39
- let t = (0, p.useRef)(null), n = (0, p.useRef)(null), r = (0, p.useRef)(0), i = (0, p.useRef)(null), o = (0, p.useRef)(!1), c = (0, p.useRef)(null), l = (0, p.useRef)(!1), u = (0, p.useRef)(null), d = (t) => e(t), f = (e) => {
39
+ let t = (0, p.useRef)(null), n = (0, p.useRef)(null), r = (0, p.useRef)(0), i = (0, p.useRef)(null), o = (0, p.useRef)(!1), s = (0, p.useRef)(null), c = (0, p.useRef)(!1), u = (0, p.useRef)(null), d = (t) => e(t), f = (e) => {
40
40
  let t = Date.now();
41
41
  if (t - r.current < v) return;
42
42
  let n = i.current;
43
- if (!c.current) {
44
- c.current = e, r.current = t, i.current = e, d(e);
43
+ if (!s.current) {
44
+ s.current = e, r.current = t, i.current = e, d(e);
45
45
  return;
46
46
  }
47
- let a = s(c.current, e), o;
48
- l.current ? a <= 3 ? (l.current = !1, c.current = e, o = {
49
- ...c.current,
47
+ let a = l(s.current, e), o;
48
+ c.current ? a <= 3 ? (c.current = !1, s.current = e, o = {
49
+ ...s.current,
50
50
  heading: e.heading
51
- }) : (c.current = e, o = e) : a >= 3 ? (l.current = !0, c.current = e, u.current = null, o = e) : (u.current == null && (u.current = t), t - u.current > y && (c.current = e), o = {
52
- ...c.current,
51
+ }) : (s.current = e, o = e) : a >= 3 ? (c.current = !0, s.current = e, u.current = null, o = e) : (u.current == null && (u.current = t), t - u.current > y && (s.current = e), o = {
52
+ ...s.current,
53
53
  heading: e.heading
54
54
  }), !(n && !_(n, o)) && (r.current = t, i.current = o, d(o));
55
55
  }, m = (0, p.useCallback)((e) => {
@@ -79,7 +79,7 @@ function x(e) {
79
79
  o.current || (o.current = !0, window.addEventListener("deviceorientation", m, !0));
80
80
  },
81
81
  stopGeolocation: () => {
82
- t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), c.current = null, l.current = !1;
82
+ t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), s.current = null, c.current = !1;
83
83
  },
84
84
  stopOrientation: () => {
85
85
  o.current = !1, window.removeEventListener("deviceorientation", m, !0);
@@ -89,25 +89,25 @@ function x(e) {
89
89
  //#endregion
90
90
  //#region src/components/gps/GpsManager.tsx
91
91
  function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: r = "compass-permission-granted", requestCompass: i = !0, requestCompassAllowed: o = !0 }) {
92
- let { startOrientation: s, startGeolocation: c, stopOrientation: u, stopGeolocation: d } = x(e), [f, g] = (0, p.useState)(!1), [_, v] = (0, p.useState)(!1);
92
+ let { startOrientation: c, startGeolocation: l, stopOrientation: u, stopGeolocation: d } = x(e), [f, g] = (0, p.useState)(!1), [_, v] = (0, p.useState)(!1);
93
93
  (0, p.useEffect)(() => (navigator.geolocation.getCurrentPosition(() => {
94
- g(!0), c();
94
+ g(!0), l();
95
95
  }, (e) => {
96
96
  a.warn("Geolocation error:", e), g(!1);
97
97
  }), () => {
98
98
  u(), d();
99
99
  }), [
100
- c,
100
+ l,
101
101
  d,
102
102
  u
103
103
  ]);
104
104
  let y = async () => {
105
- typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(r, "true"), s(), v(!1), t == null || t());
105
+ typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(r, "true"), c(), v(!1), t == null || t());
106
106
  }, b = (0, p.useCallback)(() => {
107
107
  localStorage.setItem(r, "false"), v(!1), n == null || n();
108
108
  }, [n]);
109
109
  return (0, p.useEffect)(() => {
110
- if (!f || !o || typeof navigator > "u" || !l) return;
110
+ if (!f || !o || typeof navigator > "u" || !s) return;
111
111
  let e = localStorage.getItem(r);
112
112
  if (!e || i) {
113
113
  v(!0);
@@ -0,0 +1,251 @@
1
+ (function() {
2
+ try {
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.37.1" };
5
+ var t = new e.Error().stack;
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3c9f6d89-611d-4a33-9161-5cd5435e0448", e._sentryDebugIdIdentifier = "sentry-dbid-3c9f6d89-611d-4a33-9161-5cd5435e0448");
7
+ } catch {}
8
+ })();
9
+ import { Bt as e, H as t, _ as n, d as r, l as i, m as a, s as o, w as s, x as c } from "./i18n-B5-zCiY_.js";
10
+ import { c as l, et as u, ft as d, gn as f, gt as p, ht as m, mt as h, pt as g, z as _ } from "./store-BWnOp-D9.js";
11
+ import { r as v } from "./viewport-DE8ekt3O.js";
12
+ import { n as y, t as b } from "./kiosk-record-CkIaRaVs.js";
13
+ //#region src/components/Kiosk/KioskStore.ts
14
+ var x, S, C, w, T;
15
+ function E(e, t, n, r) {
16
+ n && Object.defineProperty(e, t, {
17
+ enumerable: n.enumerable,
18
+ configurable: n.configurable,
19
+ writable: n.writable,
20
+ value: n.initializer ? n.initializer.call(r) : void 0
21
+ });
22
+ }
23
+ function D(e, t, n, r, i) {
24
+ var a = {};
25
+ return Object.keys(r).forEach(function(e) {
26
+ a[e] = r[e];
27
+ }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = n.slice().reverse().reduce(function(n, r) {
28
+ return r(e, t, n) || n;
29
+ }, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
30
+ }
31
+ var O = 2e4, k = new (x = a({ keepAlive: !0 }), S = a({ keepAlive: !0 }), C = class {
32
+ constructor() {
33
+ E(this, "savedKiosk", w, this), E(this, "statusMessages", T, this), this.statusMessageTimer = 0, this.isResettingCamera = !1, this.isRestoringFraming = !1, this.initialPtScale = void 0;
34
+ }
35
+ get kiosk() {
36
+ return l.uiState.kioskData;
37
+ }
38
+ setKiosk(e) {
39
+ l.uiState.setKioskData(e);
40
+ }
41
+ getCameraState() {
42
+ var e;
43
+ if (l.maplibreStore.showMaplibre) {
44
+ var t;
45
+ let e = (t = l.maplibreStore.cameraPort) == null ? void 0 : t.getCameraState();
46
+ return e ? {
47
+ mapCenterLng: e.lng,
48
+ mapCenterLat: e.lat,
49
+ mapZoom: e.zoom,
50
+ mapBearingDegrees: e.bearing,
51
+ mapPitchDegrees: e.pitch
52
+ } : {};
53
+ }
54
+ let n = (e = _()) == null ? void 0 : e.state();
55
+ return n ? {
56
+ mapInitialPtScale: this.initialPtScale,
57
+ mapPtScale: n.pixelSize,
58
+ mapCenterX: n.center.x,
59
+ mapCenterY: n.center.y,
60
+ mapRollDegrees: n.roll,
61
+ mapPitch: n.pitch
62
+ } : {};
63
+ }
64
+ get hasUnsavedChanges() {
65
+ let e = this.savedKiosk, t = c(this.kiosk);
66
+ if (!t || !e) return !!t != !!e;
67
+ let n = Object.keys(e), r = Object.keys(t);
68
+ if (n.length !== r.length) return !0;
69
+ for (let r of n) if (!(r in t) || e[r] !== t[r]) return !0;
70
+ return !1;
71
+ }
72
+ addStatusMessage(e) {
73
+ this.statusMessages = [{
74
+ ...e,
75
+ id: Date.now()
76
+ }], this.startCleanupMessages();
77
+ }
78
+ clearStatusMessages() {
79
+ this.statusMessages = [];
80
+ }
81
+ startCleanupMessages() {
82
+ clearTimeout(this.statusMessageTimer), this.statusMessageTimer = window.setTimeout(() => this.clearStatusMessages(), 1e3);
83
+ }
84
+ async resetCamera() {
85
+ if (!this.isResettingCamera) {
86
+ this.isResettingCamera = !0;
87
+ try {
88
+ if (l.maplibreStore.showMaplibre && await this.resetMaplibreCamera()) {
89
+ this.isRestoringFraming = !0;
90
+ return;
91
+ }
92
+ this.isRestoringFraming = await this.resetPlanCamera();
93
+ } finally {
94
+ this.isResettingCamera = !1;
95
+ }
96
+ }
97
+ }
98
+ async resetMaplibreCamera() {
99
+ let e = await this.waitForMaplibreCameraPort();
100
+ if (!e) return !1;
101
+ let t = this.kiosk;
102
+ (t == null ? void 0 : t.z) != null && l.fp.activateFloor({ name: String(t.z) });
103
+ let n = y(t == null ? void 0 : t.mapCenterLng), r = y(t == null ? void 0 : t.mapCenterLat), i = y(t == null ? void 0 : t.mapZoom);
104
+ return n === void 0 || r === void 0 || i === void 0 ? (e.resetPitch(), l.uiState.fitBounds(), !0) : (e.applyCameraState({
105
+ lng: n,
106
+ lat: r,
107
+ zoom: i,
108
+ bearing: y(t == null ? void 0 : t.mapBearingDegrees),
109
+ pitch: y(t == null ? void 0 : t.mapPitchDegrees)
110
+ }), !0);
111
+ }
112
+ async waitForMaplibreCameraPort() {
113
+ let { maplibreStore: e } = l;
114
+ if (e.cameraPort) return e.cameraPort;
115
+ try {
116
+ await s(() => !!e.cameraPort || !e.showMaplibre, { timeout: O });
117
+ } catch {
118
+ return null;
119
+ }
120
+ return e.cameraPort;
121
+ }
122
+ async resetPlanCamera() {
123
+ let e = _();
124
+ if (!e) return !1;
125
+ let t = this.kiosk;
126
+ await e.api.reset({
127
+ pan: !0,
128
+ zoom: !0,
129
+ roll: !0,
130
+ pitch: !0
131
+ }, { immediate: !0 }), (t == null ? void 0 : t.z) != null && l.fp.activateFloor({ name: String(t.z) });
132
+ let n = b(t);
133
+ n !== void 0 && await e.api.zoomBy(n, { immediate: !0 });
134
+ let r = y(t == null ? void 0 : t.mapCenterX), i = y(t == null ? void 0 : t.mapCenterY);
135
+ r !== void 0 && i !== void 0 && await e.api.panTo({
136
+ x: r,
137
+ y: i
138
+ }, { immediate: !0 });
139
+ let a = y(t == null ? void 0 : t.mapRollDegrees);
140
+ return a !== void 0 && await e.api.rollTo(a, { immediate: !0 }), !0;
141
+ }
142
+ restoreData() {
143
+ let e = h();
144
+ this.savedKiosk = e == null ? null : e, e && (this.setKiosk(e), l.uiState.kiosk = !0);
145
+ }
146
+ handleSetupReady() {
147
+ this.restoreData(), l.uiState.kiosk = !0, l.uiState.hideFreeOrDemo = !0, l.uiState.setForceDim(!0), l.searchStore.setSearchText(""), l.searchStore.setFocused(!1), this.resetCamera();
148
+ }
149
+ handleClose() {
150
+ d(l.uiState) && g(e()) || (l.uiState.kiosk = !1), l.uiState.restoreUIScale(), this.setKiosk(null), l.uiState.setForceDim(!1), l.uiState.enableSetKioskMode(!1), l.searchStore.closeSearch();
151
+ }
152
+ handleDelete() {
153
+ i && localStorage.getItem("expofp-kiosk") !== null && localStorage.getItem("kiosk") === "1" && localStorage.removeItem(t), m(), this.savedKiosk = null, this.setKiosk(null), l.uiState.resetMapSettings(), l.uiState.resetUIScale(), this.addStatusMessage({
154
+ variant: "success",
155
+ title: o("Deleted")
156
+ });
157
+ }
158
+ handleSave() {
159
+ let e = v();
160
+ if (!e) return;
161
+ let n = c(this.kiosk);
162
+ if (!n) return;
163
+ let r = this.getCameraState(), a = {
164
+ ...n,
165
+ ...r
166
+ };
167
+ if (!e.isVisible({
168
+ x: a.x,
169
+ y: a.y
170
+ })) {
171
+ this.addStatusMessage({
172
+ variant: "error",
173
+ title: o("Kiosk not visible")
174
+ });
175
+ return;
176
+ }
177
+ this.setKiosk(a), p(a), i && localStorage.setItem(t, "1"), u(a, "https://app.expofp.com/"), l.uiState.setUIScale(a.uiScale, !0), this.addStatusMessage({
178
+ variant: "success",
179
+ title: o("Saved")
180
+ }), this.savedKiosk = a;
181
+ }
182
+ delayChange(e) {
183
+ requestAnimationFrame(() => e == null ? void 0 : e());
184
+ }
185
+ handleChange(e) {
186
+ let t = c(this.kiosk);
187
+ t && (Number.isFinite(e.angle) && this.setKiosk({
188
+ ...t,
189
+ heading: e.angle
190
+ }), Number.isFinite(e.scale) && (this.setKiosk({
191
+ ...t,
192
+ uiScale: e.scale
193
+ }), this.delayChange(() => l.uiState.setUIScale(e.scale, !1))), Number.isFinite(e.percent) && this.setKiosk({
194
+ ...t,
195
+ iconSizePercent: e.percent
196
+ }));
197
+ }
198
+ setInitialPtScale(e) {
199
+ if (this.initialPtScale) return;
200
+ this.initialPtScale = e;
201
+ let t = c(this.kiosk);
202
+ t && this.setKiosk({
203
+ ...t,
204
+ mapInitialPtScale: e
205
+ });
206
+ }
207
+ handleClick(e) {
208
+ var t, n;
209
+ let r = c(this.kiosk), i = l.fp.getFloors(), a = f() ? (t = (n = i.find((e) => e.active)) == null ? void 0 : n.name) == null ? null : t : null, o = l.uiState.uiScale;
210
+ this.setKiosk({
211
+ ...r,
212
+ x: e.x,
213
+ y: e.y,
214
+ z: a,
215
+ uiScale: (r == null ? void 0 : r.uiScale) || o,
216
+ heading: (r == null ? void 0 : r.heading) || 0,
217
+ iconSizePercent: (r == null ? void 0 : r.iconSizePercent) || 100,
218
+ ...this.getCameraState()
219
+ });
220
+ }
221
+ handleNavigationChange() {
222
+ let e = this.isRestoringFraming;
223
+ this.isRestoringFraming = !1;
224
+ let t = c(this.kiosk);
225
+ if (!t) return;
226
+ let n = this.getCameraState();
227
+ this.setKiosk({
228
+ ...t,
229
+ ...n
230
+ }), e && this.savedKiosk && (this.savedKiosk = {
231
+ ...this.savedKiosk,
232
+ ...n
233
+ });
234
+ }
235
+ }, D(C.prototype, "kiosk", [x], Object.getOwnPropertyDescriptor(C.prototype, "kiosk"), C.prototype), D(C.prototype, "setKiosk", [r], Object.getOwnPropertyDescriptor(C.prototype, "setKiosk"), C.prototype), w = D(C.prototype, "savedKiosk", [n], {
236
+ configurable: !0,
237
+ enumerable: !0,
238
+ writable: !0,
239
+ initializer: function() {
240
+ return null;
241
+ }
242
+ }), D(C.prototype, "hasUnsavedChanges", [S], Object.getOwnPropertyDescriptor(C.prototype, "hasUnsavedChanges"), C.prototype), T = D(C.prototype, "statusMessages", [n], {
243
+ configurable: !0,
244
+ enumerable: !0,
245
+ writable: !0,
246
+ initializer: function() {
247
+ return [];
248
+ }
249
+ }), D(C.prototype, "addStatusMessage", [r], Object.getOwnPropertyDescriptor(C.prototype, "addStatusMessage"), C.prototype), D(C.prototype, "clearStatusMessages", [r], Object.getOwnPropertyDescriptor(C.prototype, "clearStatusMessages"), C.prototype), D(C.prototype, "startCleanupMessages", [r], Object.getOwnPropertyDescriptor(C.prototype, "startCleanupMessages"), C.prototype), D(C.prototype, "resetCamera", [r], Object.getOwnPropertyDescriptor(C.prototype, "resetCamera"), C.prototype), D(C.prototype, "restoreData", [r], Object.getOwnPropertyDescriptor(C.prototype, "restoreData"), C.prototype), D(C.prototype, "handleSetupReady", [r], Object.getOwnPropertyDescriptor(C.prototype, "handleSetupReady"), C.prototype), D(C.prototype, "handleClose", [r], Object.getOwnPropertyDescriptor(C.prototype, "handleClose"), C.prototype), D(C.prototype, "handleDelete", [r], Object.getOwnPropertyDescriptor(C.prototype, "handleDelete"), C.prototype), D(C.prototype, "handleSave", [r], Object.getOwnPropertyDescriptor(C.prototype, "handleSave"), C.prototype), D(C.prototype, "handleChange", [r], Object.getOwnPropertyDescriptor(C.prototype, "handleChange"), C.prototype), D(C.prototype, "setInitialPtScale", [r], Object.getOwnPropertyDescriptor(C.prototype, "setInitialPtScale"), C.prototype), D(C.prototype, "handleClick", [r], Object.getOwnPropertyDescriptor(C.prototype, "handleClick"), C.prototype), D(C.prototype, "handleNavigationChange", [r], Object.getOwnPropertyDescriptor(C.prototype, "handleNavigationChange"), C.prototype), C)();
250
+ //#endregion
251
+ export { k as t };