@expofp/floorplan 3.4.0 → 3.4.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 (85) hide show
  1. package/dist/browser/{CookieConsent-BgzFI0o5.js → CookieConsent-DfcrHJE4.js} +8 -8
  2. package/dist/browser/{Debug-DwwZ0jVT.js → Debug-CmqdoArn.js} +9 -9
  3. package/dist/browser/{Demo-Bhv7muKd.js → Demo-Hoy_N0Z_.js} +11 -11
  4. package/dist/browser/{Free-EaDzP7U5.js → Free-CT6O_Rnj.js} +12 -12
  5. package/dist/browser/{Gallery-BFio06PY.js → Gallery-BljmDte7.js} +10 -10
  6. package/dist/browser/{GpsLoader-BhYirpWa.js → GpsLoader-gAQ2jImu.js} +36 -36
  7. package/dist/browser/{KioskStore-DiTPaFb2.js → KioskStore-pVMWw1SV.js} +31 -31
  8. package/dist/browser/{MaplibreAdapter-BKj3sK8A.js → MaplibreAdapter-BSNFyqqO.js} +77 -77
  9. package/dist/browser/{Modal-DVY124d5.js → Modal-vx2GyFQU.js} +10 -10
  10. package/dist/browser/{PermissionNotice-CrAxf_da.js → PermissionNotice-dzFosoL5.js} +7 -7
  11. package/dist/browser/{SetKioskMode-Cj1IbMbn.js → SetKioskMode-DpKxhNjj.js} +20 -20
  12. package/dist/browser/ShowKiosk-DK4cf8sZ.js +26 -0
  13. package/dist/browser/{TouchHand-BdZWU_I1.js → TouchHand-DJqTFALN.js} +4 -4
  14. package/dist/browser/{ViewerMenuPanel-DbVIwrJO.js → ViewerMenuPanel-BLMOVmrA.js} +15 -15
  15. package/dist/browser/{add-debug-secret-listener-B8gxDWmn.js → add-debug-secret-listener-lzYkiNT3.js} +1 -1
  16. package/dist/browser/{boolean-editor-CIT7g6C5.js → boolean-editor-BIo7t1o3.js} +10 -10
  17. package/dist/browser/{bootIntercom-CcgHFRAw.js → bootIntercom-_8PT4FQ5.js} +2 -2
  18. package/dist/browser/{box-CydZk4HJ.js → box-ClFQfPBk.js} +5 -5
  19. package/dist/browser/{browser-DlMYMMvJ.js → browser-CNl61l-H.js} +2 -2
  20. package/dist/browser/bundle.json +58 -58
  21. package/dist/browser/{classnames-DmdaKMoa.js → classnames-CzOdLC35.js} +2 -2
  22. package/dist/browser/{client-8ygU_jvu.js → client-uxC45MrM.js} +4 -4
  23. package/dist/browser/{components-BgwIl1Lu.js → components-rG8z7y3m.js} +856 -845
  24. package/dist/browser/{createWayfinding-D9tuHHx5.js → createWayfinding-BnWXhjaY.js} +322 -322
  25. package/dist/browser/{debug-overlay-Dos3Ate2.js → debug-overlay-hexy4zxM.js} +15 -16
  26. package/dist/browser/{debug-ui-BjmKfkgV.js → debug-ui-DTEjq_eB.js} +18 -14
  27. package/dist/browser/{dist-B3Y58WKJ.js → dist-Cv_TFco-.js} +6 -6
  28. package/dist/browser/{dist-_wJOZ0rm.js → dist-DZk5xw-4.js} +5 -5
  29. package/dist/browser/{dist-Bm6VKnC2.js → dist-EPpxz8po.js} +3 -3
  30. package/dist/browser/{efp-debug-init-yyCWZRTx.js → efp-debug-init-Bs3FZwZP.js} +2 -2
  31. package/dist/browser/{enum-editor-D8X_uabc.js → enum-editor-C-CMuvRj.js} +11 -11
  32. package/dist/browser/{event-not-found-Bm_W5xxA.js → event-not-found-BoO2R7hM.js} +1 -1
  33. package/dist/browser/{exports-DnHrfjiU.js → exports-CaawsP5N.js} +1 -1
  34. package/dist/browser/{favicon-Bnz633J6.js → favicon-Cfw5edT7.js} +1 -1
  35. package/dist/browser/{fetch-retry.umd-BunUcQza.js → fetch-retry.umd-BNuFWdhd.js} +2 -2
  36. package/dist/browser/{flex-DwDJlblp.js → flex-C_CBGYoG.js} +6 -6
  37. package/dist/browser/{flex.props-BAGkFvkN.js → flex.props-BrTX-e6I.js} +2 -2
  38. package/dist/browser/{floorplan.loader-B3PUqtqn.js → floorplan.loader-BC6HaV0P.js} +298 -298
  39. package/dist/browser/{floorplan.ready-BAnq_GdS.js → floorplan.ready-DyEjsSpU.js} +299 -299
  40. package/dist/browser/{fuse-Bhsd7fBU.js → fuse-5Y1S2aYX.js} +2 -2
  41. package/dist/browser/{i18n-C5BBGKZk.js → i18n-CDf6bxFZ.js} +4 -4
  42. package/dist/browser/index.js +11 -12
  43. package/dist/browser/{jsx-runtime-Dk2--jeN.js → jsx-runtime-CQQX82Qz.js} +2 -2
  44. package/dist/browser/{lib-Brd2BCh_.js → lib-D8YEKiMm.js} +4 -4
  45. package/dist/browser/{main-pIcuVUIg.js → main-DLV6-NmW.js} +1 -1
  46. package/dist/browser/{mobx-BfCD0EQ-.js → mobx-BJrcB0Vj.js} +5 -5
  47. package/dist/browser/{particles.min-ChGMv-bm.js → particles.min-MhzX8Iok.js} +2 -2
  48. package/dist/browser/{prop-types-xdXFFTmm.js → prop-types-BQqJiJ_U.js} +2 -2
  49. package/dist/browser/{react-BbZc5Oeq.js → react-CsfnOko-.js} +2 -2
  50. package/dist/browser/{react-dom-BBDOhlbP.js → react-dom-l6xfbLNt.js} +3 -3
  51. package/dist/browser/{reset-all-settings-BQC7zljW.js → reset-all-settings-Dmpe88yX.js} +13 -10
  52. package/dist/browser/{rolldown-runtime-DS4W77DU.js → rolldown-runtime-BrK3KJzc.js} +1 -1
  53. package/dist/browser/{settings-CK-qRFM8.js → settings-BDwO4gl1.js} +2 -2
  54. package/dist/browser/{settings-item-CUnGC7xO.js → settings-item-CbJ6ldaB.js} +6 -6
  55. package/dist/browser/{storage-0QGL3b8S.js → storage-c5Z4yjiL.js} +5 -3
  56. package/dist/browser/{store-Bm4aFC2V.js → store-D_Y9lFsn.js} +1710 -1699
  57. package/dist/browser/{string-editor-BNry84Oh.js → string-editor-BOID14bU.js} +8 -8
  58. package/dist/browser/{theme-BIXywNMw.js → theme-Ca3r5e2H.js} +8 -8
  59. package/dist/browser/{ui-AzubEvGd.js → ui-BTe-W0zP.js} +9 -9
  60. package/dist/browser/{useRenderTarget-Bf7cQRFi.js → useRenderTarget-CbXuqspA.js} +4 -4
  61. package/dist/esm/components/AlertContainer.d.ts +3 -1
  62. package/dist/esm/components/AlertContainer.js +1 -1
  63. package/dist/esm/components/Booth/Booth.js +1 -1
  64. package/dist/esm/components/EntityItemContainer.d.ts +25 -2
  65. package/dist/esm/components/EntityItemContainer.js +1 -1
  66. package/dist/esm/components/EntityList.js +1 -1
  67. package/dist/esm/components/EntityListRow.d.ts +3 -2
  68. package/dist/esm/components/EntityListRow.js +1 -1
  69. package/dist/esm/components/Kiosk/KioskStore.d.ts +1 -1
  70. package/dist/esm/components/Kiosk/SetKiosk/types.d.ts +1 -1
  71. package/dist/esm/components/Speakers.js +1 -1
  72. package/dist/esm/components/index.d.ts +2 -1
  73. package/dist/esm/store/MaplibreStore.js +1 -1
  74. package/dist/esm/ui/Alert/Alert.d.ts +1 -1
  75. package/dist/esm/ui/Alert/Alert.js +1 -1
  76. package/dist/esm/ui/EntityItem/EntityItem.d.ts +46 -0
  77. package/dist/esm/ui/EntityItem/EntityItem.js +1 -0
  78. package/dist/esm/ui/EntityItem/index.d.ts +3 -0
  79. package/dist/esm/ui/EntityItem/index.js +1 -0
  80. package/dist/esm/utils/isNumericLevel.d.ts +2 -0
  81. package/dist/esm/utils/isNumericLevel.js +1 -0
  82. package/package.json +3 -3
  83. package/dist/browser/ShowKiosk-CqmJT8yJ.js +0 -26
  84. package/dist/esm/components/EntityItem.d.ts +0 -44
  85. package/dist/esm/components/EntityItem.js +0 -1
@@ -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.4.0" };
4
+ e.SENTRY_RELEASE = { id: "3.4.1" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3fcc72e0-b0e8-4f1a-a6ea-88fce70defe8", e._sentryDebugIdIdentifier = "sentry-dbid-3fcc72e0-b0e8-4f1a-a6ea-88fce70defe8");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "527f0530-0408-4ad2-8b57-f8da47d227a8", e._sentryDebugIdIdentifier = "sentry-dbid-527f0530-0408-4ad2-8b57-f8da47d227a8");
7
7
  } catch {}
8
8
  })();
9
- import { n as e } from "./rolldown-runtime-DS4W77DU.js";
10
- import { t } from "./react-BbZc5Oeq.js";
11
- import { t as n } from "./jsx-runtime-Dk2--jeN.js";
12
- import { s as r } from "./i18n-C5BBGKZk.js";
13
- import { in as i } from "./store-Bm4aFC2V.js";
14
- import { t as a } from "./PermissionNotice-CrAxf_da.js";
9
+ import { n as e } from "./rolldown-runtime-BrK3KJzc.js";
10
+ import { t } from "./react-CsfnOko-.js";
11
+ import { t as n } from "./jsx-runtime-CQQX82Qz.js";
12
+ import { s as r } from "./i18n-CDf6bxFZ.js";
13
+ import { rn as i } from "./store-D_Y9lFsn.js";
14
+ import { t as a } from "./PermissionNotice-dzFosoL5.js";
15
15
  //#region src/components/CookieConsent.tsx
16
16
  var o = /* @__PURE__ */ e({ default: () => c });
17
17
  t();
@@ -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.4.0" };
5
+ e.SENTRY_RELEASE = { id: "3.4.1" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f6fa170c-11b3-4b51-9c91-23307674ecf0", e._sentryDebugIdIdentifier = "sentry-dbid-f6fa170c-11b3-4b51-9c91-23307674ecf0");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "31631bab-769a-4746-9168-7007315abbe3", e._sentryDebugIdIdentifier = "sentry-dbid-31631bab-769a-4746-9168-7007315abbe3");
8
8
  } catch {}
9
9
  })();
10
- import "./rolldown-runtime-DS4W77DU.js";
11
- import { t as e } from "./react-BbZc5Oeq.js";
12
- import { t } from "./jsx-runtime-Dk2--jeN.js";
13
- import { s as n } from "./i18n-C5BBGKZk.js";
14
- import { o as r, on as i, s as a } from "./store-Bm4aFC2V.js";
10
+ import "./rolldown-runtime-BrK3KJzc.js";
11
+ import { t as e } from "./react-CsfnOko-.js";
12
+ import { t } from "./jsx-runtime-CQQX82Qz.js";
13
+ import { s as n } from "./i18n-CDf6bxFZ.js";
14
+ import { an as r, o as i, s as a } from "./store-D_Y9lFsn.js";
15
15
  e();
16
16
  var o = [], s = t();
17
17
  function c() {
@@ -36,7 +36,7 @@ function c() {
36
36
  className: "debug",
37
37
  children: [
38
38
  /* @__PURE__ */ (0, s.jsx)("button", {
39
- onClick: () => r.searchStore.selectSearch(""),
39
+ onClick: () => i.searchStore.selectSearch(""),
40
40
  children: n("Close")
41
41
  }),
42
42
  /* @__PURE__ */ (0, s.jsxs)("div", { children: ["Total square: ", e] }),
@@ -44,7 +44,7 @@ function c() {
44
44
  ]
45
45
  });
46
46
  }
47
- var l = () => i(() => /* @__PURE__ */ (0, s.jsx)(s.Fragment, { children: a.list.type === "search" && a.list.text === "q1" ? /* @__PURE__ */ (0, s.jsx)(c, {}) : null }));
47
+ var l = () => r(() => /* @__PURE__ */ (0, s.jsx)(s.Fragment, { children: a.list.type === "search" && a.list.text === "q1" ? /* @__PURE__ */ (0, s.jsx)(c, {}) : null }));
48
48
  //#endregion
49
49
  export { l as default };
50
50
 
@@ -2,22 +2,22 @@ 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.4.0" };
5
+ e.SENTRY_RELEASE = { id: "3.4.1" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2ea3edda-b8a5-4541-ba59-87c058b8deed", e._sentryDebugIdIdentifier = "sentry-dbid-2ea3edda-b8a5-4541-ba59-87c058b8deed");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "bdc8a3ce-b513-4831-8e32-e0b64ee0f2e4", e._sentryDebugIdIdentifier = "sentry-dbid-bdc8a3ce-b513-4831-8e32-e0b64ee0f2e4");
8
8
  } catch {}
9
9
  })();
10
- import { n as e, r as t } from "./rolldown-runtime-DS4W77DU.js";
11
- import { t as n } from "./react-BbZc5Oeq.js";
12
- import { t as r } from "./jsx-runtime-Dk2--jeN.js";
13
- import { s as i } from "./i18n-C5BBGKZk.js";
14
- import { t as a } from "./classnames-DmdaKMoa.js";
15
- import { an as o, on as s, s as c } from "./store-Bm4aFC2V.js";
16
- import { n as l } from "./mobx-BfCD0EQ-.js";
10
+ import { n as e, r as t } from "./rolldown-runtime-BrK3KJzc.js";
11
+ import { t as n } from "./react-CsfnOko-.js";
12
+ import { t as r } from "./jsx-runtime-CQQX82Qz.js";
13
+ import { s as i } from "./i18n-CDf6bxFZ.js";
14
+ import { t as a } from "./classnames-CzOdLC35.js";
15
+ import { an as o, in as s, s as c } from "./store-D_Y9lFsn.js";
16
+ import { n as l } from "./mobx-BJrcB0Vj.js";
17
17
  n();
18
18
  var u = /* @__PURE__ */ t(a(), 1), d = /* @__PURE__ */ e({ default: () => m }), f = r(), p = "note-dismissed5";
19
19
  function m() {
20
- let e = o(() => ({
20
+ let e = s(() => ({
21
21
  hidden: !0,
22
22
  get top() {
23
23
  return c.screenSize.width <= 820;
@@ -34,7 +34,7 @@ function m() {
34
34
  sessionStorage.getItem(p) || window.setTimeout(() => {
35
35
  e.hidden = !1;
36
36
  }, 2e3);
37
- }), s(() => /* @__PURE__ */ (0, f.jsx)("div", {
37
+ }), o(() => /* @__PURE__ */ (0, f.jsx)("div", {
38
38
  className: e.classes,
39
39
  children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
40
40
  className: "demo__message",
@@ -2,22 +2,22 @@ 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.4.0" };
5
+ e.SENTRY_RELEASE = { id: "3.4.1" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "dfc1160e-f80f-4241-9a35-6b3f9ed1d394", e._sentryDebugIdIdentifier = "sentry-dbid-dfc1160e-f80f-4241-9a35-6b3f9ed1d394");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2f502136-bfee-497c-b92f-b22c9778b046", e._sentryDebugIdIdentifier = "sentry-dbid-2f502136-bfee-497c-b92f-b22c9778b046");
8
8
  } catch {}
9
9
  })();
10
- import { r as e } from "./rolldown-runtime-DS4W77DU.js";
11
- import { t } from "./react-BbZc5Oeq.js";
12
- import { t as n } from "./jsx-runtime-Dk2--jeN.js";
13
- import { s as r } from "./i18n-C5BBGKZk.js";
14
- import { t as i } from "./classnames-DmdaKMoa.js";
15
- import { an as a, l as o, on as s, s as c, u as l } from "./store-Bm4aFC2V.js";
16
- import { n as u } from "./mobx-BfCD0EQ-.js";
10
+ import { r as e } from "./rolldown-runtime-BrK3KJzc.js";
11
+ import { t } from "./react-CsfnOko-.js";
12
+ import { t as n } from "./jsx-runtime-CQQX82Qz.js";
13
+ import { s as r } from "./i18n-CDf6bxFZ.js";
14
+ import { t as i } from "./classnames-CzOdLC35.js";
15
+ import { an as a, in as o, l as s, s as c, u as l } from "./store-D_Y9lFsn.js";
16
+ import { n as u } from "./mobx-BJrcB0Vj.js";
17
17
  t();
18
18
  var d = /* @__PURE__ */ e(i(), 1), f = n();
19
19
  function p() {
20
- let e = a(() => ({
20
+ let e = o(() => ({
21
21
  hidden: !0,
22
22
  get classes() {
23
23
  return (0, d.default)("free", { hidden: this.hidden });
@@ -27,7 +27,7 @@ function p() {
27
27
  c.freeBannerDismissed || window.setTimeout(() => {
28
28
  e.hidden = !1;
29
29
  }, 2e3);
30
- }), s(() => /* @__PURE__ */ (0, f.jsx)("div", {
30
+ }), a(() => /* @__PURE__ */ (0, f.jsx)("div", {
31
31
  className: e.classes,
32
32
  children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
33
33
  className: "free__message",
@@ -35,7 +35,7 @@ function p() {
35
35
  r("Create a free floor plan at"),
36
36
  "\xA0",
37
37
  /* @__PURE__ */ (0, f.jsx)("a", {
38
- href: o(),
38
+ href: s(),
39
39
  target: "_blank",
40
40
  rel: "noopener noreferrer",
41
41
  children: "ExpoFP.com"
@@ -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.4.0" };
5
+ e.SENTRY_RELEASE = { id: "3.4.1" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "6fefbb7f-2509-4be6-88e8-2c74d5702478", e._sentryDebugIdIdentifier = "sentry-dbid-6fefbb7f-2509-4be6-88e8-2c74d5702478");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3aa26a6c-b7fc-4820-a3f1-8275cd9dde66", e._sentryDebugIdIdentifier = "sentry-dbid-3aa26a6c-b7fc-4820-a3f1-8275cd9dde66");
8
8
  } catch {}
9
9
  })();
10
- import { n as e, r as t } from "./rolldown-runtime-DS4W77DU.js";
11
- import { t as n } from "./react-BbZc5Oeq.js";
12
- import { t as r } from "./jsx-runtime-Dk2--jeN.js";
13
- import { s as i } from "./i18n-C5BBGKZk.js";
14
- import { t as a } from "./react-dom-BBDOhlbP.js";
15
- import { t as o } from "./classnames-DmdaKMoa.js";
16
- import { in as s } from "./store-Bm4aFC2V.js";
17
- import { t as c } from "./useRenderTarget-Bf7cQRFi.js";
10
+ import { n as e, r as t } from "./rolldown-runtime-BrK3KJzc.js";
11
+ import { t as n } from "./react-CsfnOko-.js";
12
+ import { t as r } from "./jsx-runtime-CQQX82Qz.js";
13
+ import { s as i } from "./i18n-CDf6bxFZ.js";
14
+ import { t as a } from "./react-dom-l6xfbLNt.js";
15
+ import { t as o } from "./classnames-CzOdLC35.js";
16
+ import { rn as s } from "./store-D_Y9lFsn.js";
17
+ import { t as c } from "./useRenderTarget-CbXuqspA.js";
18
18
  //#region src/components/Gallery/GalleryBadges/GalleryBadges.tsx
19
19
  var l = /* @__PURE__ */ t(o(), 1), u = /* @__PURE__ */ t(n(), 1), d = r(), f = ({ count: e, onFullscreen: t }) => /* @__PURE__ */ (0, d.jsxs)(d.Fragment, { children: [/* @__PURE__ */ (0, d.jsxs)("div", {
20
20
  className: "gallery__badge gallery__badge-count",
@@ -1,44 +1,44 @@
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.4.0" };
4
+ e.SENTRY_RELEASE = { id: "3.4.1" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "71893bb3-f0ca-4259-a10c-6da4e0cda9c3", e._sentryDebugIdIdentifier = "sentry-dbid-71893bb3-f0ca-4259-a10c-6da4e0cda9c3");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d9930eef-1b0e-4f4a-8483-6a06c7c99903", e._sentryDebugIdIdentifier = "sentry-dbid-d9930eef-1b0e-4f4a-8483-6a06c7c99903");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-DS4W77DU.js";
10
- import { t } from "./react-BbZc5Oeq.js";
11
- import { t as n } from "./jsx-runtime-Dk2--jeN.js";
12
- import { G as r, ot as i, s as a } from "./i18n-C5BBGKZk.js";
13
- import { bt as o, in as s, k as c, nt as l, o as u } from "./store-Bm4aFC2V.js";
14
- import { t as d } from "./PermissionNotice-CrAxf_da.js";
15
- import { r as f } from "./mobx-BfCD0EQ-.js";
9
+ import { r as e } from "./rolldown-runtime-BrK3KJzc.js";
10
+ import { t } from "./react-CsfnOko-.js";
11
+ import { t as n } from "./jsx-runtime-CQQX82Qz.js";
12
+ import { G as r, ot as i, s as a } from "./i18n-CDf6bxFZ.js";
13
+ import { k as o, nt as s, o as c, rn as l, yt as u } from "./store-D_Y9lFsn.js";
14
+ import { t as d } from "./PermissionNotice-dzFosoL5.js";
15
+ import { r as f } from "./mobx-BJrcB0Vj.js";
16
16
  //#region src/components/gps/utils.ts
17
17
  var p = /* @__PURE__ */ e(t(), 1);
18
18
  function m(e) {
19
19
  return Math.floor(e);
20
20
  }
21
21
  function h(e, t) {
22
- return l(e.lat, e.lng, t.lat, t.lng) >= 3 ? !0 : e.heading !== t.heading;
22
+ return s(e.lat, e.lng, t.lat, t.lng) >= 3 ? !0 : e.heading !== t.heading;
23
23
  }
24
24
  //#endregion
25
25
  //#region src/components/gps/useUserLocationAndHeading.ts
26
26
  var g = 120, _ = 3e3, v = 360;
27
27
  function y(e) {
28
- let t = (0, p.useRef)(null), n = (0, p.useRef)(null), r = (0, p.useRef)(0), a = (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) => {
28
+ let t = (0, p.useRef)(null), n = (0, p.useRef)(null), r = (0, p.useRef)(0), a = (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) => {
29
29
  let t = Date.now();
30
30
  if (t - r.current < g) return;
31
31
  let n = a.current;
32
- if (!s.current) {
33
- s.current = e, r.current = t, a.current = e, d(e);
32
+ if (!c.current) {
33
+ c.current = e, r.current = t, a.current = e, d(e);
34
34
  return;
35
35
  }
36
- let i = l(s.current.lat, s.current.lng, e.lat, e.lng), o;
37
- c.current ? i <= 3 ? (c.current = !1, s.current = e, o = {
38
- ...s.current,
36
+ let i = s(c.current.lat, c.current.lng, e.lat, e.lng), o;
37
+ l.current ? i <= 3 ? (l.current = !1, c.current = e, o = {
38
+ ...c.current,
39
39
  heading: e.heading
40
- }) : (s.current = e, o = e) : i >= 3 ? (c.current = !0, s.current = e, u.current = null, o = e) : (u.current == null && (u.current = t), t - u.current > _ && (s.current = e), o = {
41
- ...s.current,
40
+ }) : (c.current = e, o = e) : i >= 3 ? (l.current = !0, c.current = e, u.current = null, o = e) : (u.current == null && (u.current = t), t - u.current > _ && (c.current = e), o = {
41
+ ...c.current,
42
42
  heading: e.heading
43
43
  }), !(n && !h(n, o)) && (r.current = t, a.current = o, d(o));
44
44
  }, y = (0, p.useCallback)((e) => {
@@ -68,7 +68,7 @@ function y(e) {
68
68
  o.current || (o.current = !0, window.addEventListener("deviceorientation", y, !0));
69
69
  },
70
70
  stopGeolocation: () => {
71
- t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), s.current = null, c.current = !1;
71
+ t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), c.current = null, l.current = !1;
72
72
  },
73
73
  stopOrientation: () => {
74
74
  o.current = !1, window.removeEventListener("deviceorientation", y, !0);
@@ -77,7 +77,7 @@ function y(e) {
77
77
  }
78
78
  //#endregion
79
79
  //#region src/components/gps/GpsPermissionRequest.tsx
80
- var b = n(), x = s(function({ isOpen: e, onAllow: t, onCancel: n }) {
80
+ var b = n(), x = l(function({ isOpen: e, onAllow: t, onCancel: n }) {
81
81
  return e ? /* @__PURE__ */ (0, b.jsx)(d, {
82
82
  title: a("Show your position on the map"),
83
83
  acceptText: a("Allow compass access"),
@@ -89,26 +89,26 @@ var b = n(), x = s(function({ isOpen: e, onAllow: t, onCancel: n }) {
89
89
  });
90
90
  //#endregion
91
91
  //#region src/components/gps/GpsManager.tsx
92
- function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: r = "compass-permission-granted", requestCompass: a = !0, requestCompassAllowed: s = !0 }) {
93
- let { startOrientation: c, startGeolocation: l, stopOrientation: u, stopGeolocation: d } = y(e), [f, m] = (0, p.useState)(!1), [h, g] = (0, p.useState)(!1);
92
+ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: r = "compass-permission-granted", requestCompass: a = !0, requestCompassAllowed: o = !0 }) {
93
+ let { startOrientation: s, startGeolocation: c, stopOrientation: l, stopGeolocation: d } = y(e), [f, m] = (0, p.useState)(!1), [h, g] = (0, p.useState)(!1);
94
94
  (0, p.useEffect)(() => (navigator.geolocation.getCurrentPosition(() => {
95
- m(!0), l();
95
+ m(!0), c();
96
96
  }, (e) => {
97
97
  i.warn("Geolocation error:", e), m(!1);
98
98
  }), () => {
99
- u(), d();
99
+ l(), d();
100
100
  }), [
101
- l,
101
+ c,
102
102
  d,
103
- u
103
+ l
104
104
  ]);
105
105
  let _ = async () => {
106
- typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(r, "true"), c(), g(!1), t == null || t());
106
+ typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(r, "true"), s(), g(!1), t == null || t());
107
107
  }, v = (0, p.useCallback)(() => {
108
108
  localStorage.setItem(r, "false"), g(!1), n == null || n();
109
109
  }, [n]);
110
110
  return (0, p.useEffect)(() => {
111
- if (!f || !s || typeof navigator > "u" || !o) return;
111
+ if (!f || !o || typeof navigator > "u" || !u) return;
112
112
  let e = localStorage.getItem(r);
113
113
  if (!e || a) {
114
114
  g(!0);
@@ -118,7 +118,7 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
118
118
  }, [
119
119
  f,
120
120
  a,
121
- s,
121
+ o,
122
122
  _
123
123
  ]), /* @__PURE__ */ (0, b.jsx)(x, {
124
124
  isOpen: h,
@@ -130,21 +130,21 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
130
130
  //#region src/components/GpsLoader.tsx
131
131
  function C({ requestCompassAllowed: e }) {
132
132
  let [t, n] = (0, p.useState)(!1), i = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
133
- u.routeStore.selectCurrentPosition(new c(0, 0, 0, n || r, e, t), !1);
133
+ c.routeStore.selectCurrentPosition(new o(0, 0, 0, n || r, e, t), !1);
134
134
  }, []), a = (0, p.useCallback)(() => {
135
- u.routeStore.requestCompass = void 0, n(!1);
136
- }, [n]), o = (0, p.useCallback)(() => {
137
- u.routeStore.requestCompass = void 0, n(!1);
135
+ c.routeStore.requestCompass = void 0, n(!1);
136
+ }, [n]), s = (0, p.useCallback)(() => {
137
+ c.routeStore.requestCompass = void 0, n(!1);
138
138
  }, [n]);
139
- return f(() => u.uiState.hideCookieConsent, (e) => {
139
+ return f(() => c.uiState.hideCookieConsent, (e) => {
140
140
  n(e);
141
- }), f(() => u.routeStore.requestCompass, (e) => {
141
+ }), f(() => c.routeStore.requestCompass, (e) => {
142
142
  n(e);
143
143
  }), /* @__PURE__ */ (0, b.jsx)(S, {
144
144
  requestCompass: t,
145
145
  requestCompassAllowed: e,
146
146
  onRejectCompass: a,
147
- onAllowCompass: o,
147
+ onAllowCompass: s,
148
148
  orientationStorageKey: r,
149
149
  onPositionUpdate: i
150
150
  });
@@ -1,14 +1,14 @@
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.4.0" };
4
+ e.SENTRY_RELEASE = { id: "3.4.1" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "704a29f6-42fd-4d06-8a90-9dd3844954a2", e._sentryDebugIdIdentifier = "sentry-dbid-704a29f6-42fd-4d06-8a90-9dd3844954a2");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "fcf01f22-566e-4af6-9395-6d745a5abe64", e._sentryDebugIdIdentifier = "sentry-dbid-fcf01f22-566e-4af6-9395-6d745a5abe64");
7
7
  } catch {}
8
8
  })();
9
- import { _ as e, f as t, h as n, s as r, u as i, y as a } from "./i18n-C5BBGKZk.js";
10
- import { n as o, r as s, t as c } from "./storage-0QGL3b8S.js";
11
- import { Mt as l, ft as u, o as d } from "./store-Bm4aFC2V.js";
9
+ import { n as e, r as t, t as n } from "./storage-c5Z4yjiL.js";
10
+ import { _ as r, f as i, h as a, s as o, u as s, y as c } from "./i18n-CDf6bxFZ.js";
11
+ import { ft as l, jt as u, o as d } from "./store-D_Y9lFsn.js";
12
12
  //#region src/components/Map/pointInConvexQuad.ts
13
13
  function f(e, t) {
14
14
  let n = 0;
@@ -25,16 +25,16 @@ function f(e, t) {
25
25
  //#endregion
26
26
  //#region src/components/Map/visibleArea.ts
27
27
  function p(e) {
28
- let t = l(e.viewport.canvasToSvg({
28
+ let t = u(e.viewport.canvasToSvg({
29
29
  x: 0,
30
30
  y: 0
31
- })), n = l(e.viewport.canvasToSvg({
31
+ })), n = u(e.viewport.canvasToSvg({
32
32
  x: e.canvas.clientWidth,
33
33
  y: 0
34
- })), r = l(e.viewport.canvasToSvg({
34
+ })), r = u(e.viewport.canvasToSvg({
35
35
  x: 0,
36
36
  y: e.canvas.clientHeight
37
- })), i = l(e.viewport.canvasToSvg({
37
+ })), i = u(e.viewport.canvasToSvg({
38
38
  x: e.canvas.clientWidth,
39
39
  y: e.canvas.clientHeight
40
40
  })), a = Math.min(t.x, n.x, r.x, i.x), o = Math.max(t.x, n.x, r.x, i.x), s = Math.min(t.y, n.y, r.y, i.y), c = Math.max(t.y, n.y, r.y, i.y);
@@ -106,7 +106,7 @@ var b = new (h = class {
106
106
  } : {};
107
107
  }
108
108
  get hasUnsavedChanges() {
109
- let e = this.savedKiosk, t = a(this.kiosk);
109
+ let e = this.savedKiosk, t = c(this.kiosk);
110
110
  if (!t || !e) return !!t != !!e;
111
111
  let n = Object.keys(e), r = Object.keys(t);
112
112
  if (n.length !== r.length) return !0;
@@ -126,18 +126,18 @@ var b = new (h = class {
126
126
  clearTimeout(this.statusMessageTimer), this.statusMessageTimer = window.setTimeout(() => this.clearStatusMessages(), 1e3);
127
127
  }
128
128
  async resetCamera() {
129
- let { z: t, mapRollDegrees: n, mapInitialPtScale: r, mapPtScale: i, mapCenterX: a, mapCenterY: o } = this.kiosk || {};
129
+ let { z: e, mapRollDegrees: t, mapInitialPtScale: n, mapPtScale: i, mapCenterX: a, mapCenterY: o } = this.kiosk || {};
130
130
  await this.renderer.controls.resetCamera({
131
131
  pan: !0,
132
132
  zoom: !0,
133
133
  roll: !0,
134
134
  pitch: !0
135
- }, !0), e(() => {
136
- Number.isFinite(r) && Number.isFinite(i) && i > 0 && this.renderer.controls.zoomBy(r / i, !0), Number.isFinite(a) && Number.isFinite(o) && this.renderer.controls.panTo(a, o, !0), Number.isFinite(n) && this.renderer.controls.rollTo(n, !0), t && d.fp.activateFloor({ name: t });
135
+ }, !0), r(() => {
136
+ Number.isFinite(n) && Number.isFinite(i) && i > 0 && this.renderer.controls.zoomBy(n / i, !0), Number.isFinite(a) && Number.isFinite(o) && this.renderer.controls.panTo(a, o, !0), Number.isFinite(t) && this.renderer.controls.rollTo(t, !0), e && d.fp.activateFloor({ name: e });
137
137
  });
138
138
  }
139
139
  restoreData() {
140
- let e = c();
140
+ let e = n();
141
141
  return e && (this.setKiosk(e), this.savedKiosk = e, d.uiState.kiosk = !0, this.resetCamera()), e;
142
142
  }
143
143
  handleSetupReady() {
@@ -147,33 +147,33 @@ var b = new (h = class {
147
147
  this.setKiosk(null), d.uiState.setForceDimm(!1), d.uiState.enableSetKioskMode(!1), d.searchStore.closeSearch(), this.resetCamera();
148
148
  }
149
149
  handleDelete() {
150
- o(), this.setKiosk(null), d.uiState.resetMapSettings(), d.uiState.resetUIScale(), this.resetCamera(), this.addStatusMessage({
150
+ e(), this.setKiosk(null), d.uiState.resetMapSettings(), d.uiState.resetUIScale(), this.resetCamera(), this.addStatusMessage({
151
151
  variant: "success",
152
- title: r("Deleted")
152
+ title: o("Deleted")
153
153
  });
154
154
  }
155
155
  handleSave() {
156
- let e = a(this.kiosk), t = this.getCameraState(), n = {
156
+ let e = c(this.kiosk), n = this.getCameraState(), r = {
157
157
  ...e,
158
- ...t
158
+ ...n
159
159
  };
160
- if (!m(this.renderer, n)) {
160
+ if (!m(this.renderer, r)) {
161
161
  this.addStatusMessage({
162
162
  variant: "error",
163
- title: r("Kiosk not visible")
163
+ title: o("Kiosk not visible")
164
164
  });
165
165
  return;
166
166
  }
167
- this.setKiosk(n), s(n), d.uiState.setUIScale(n.uiScale, !0), this.addStatusMessage({
167
+ this.setKiosk(r), t(r), d.uiState.setUIScale(r.uiScale, !0), this.addStatusMessage({
168
168
  variant: "success",
169
- title: r("Saved")
170
- }), this.savedKiosk = n;
169
+ title: o("Saved")
170
+ }), this.savedKiosk = r;
171
171
  }
172
172
  delayChange(e) {
173
173
  requestAnimationFrame(() => e == null ? void 0 : e());
174
174
  }
175
175
  handleChange(e) {
176
- let t = a(this.kiosk);
176
+ let t = c(this.kiosk);
177
177
  t && (Number.isFinite(e.angle) && this.setKiosk({
178
178
  ...t,
179
179
  heading: e.angle
@@ -188,7 +188,7 @@ var b = new (h = class {
188
188
  setInitialPtScale(e) {
189
189
  if (this.initialPtScale) return;
190
190
  this.initialPtScale = e;
191
- let t = a(this.kiosk);
191
+ let t = c(this.kiosk);
192
192
  t && this.setKiosk({
193
193
  ...t,
194
194
  mapInitialPtScale: e
@@ -196,37 +196,37 @@ var b = new (h = class {
196
196
  }
197
197
  handleClick(e) {
198
198
  var t;
199
- let n = a(this.kiosk), r = d.fp.getFloors(), i = u() ? (t = r.find((e) => e.active)) == null ? void 0 : t.name : null, o = d.uiState.uiScale;
199
+ let n = c(this.kiosk), r = d.fp.getFloors(), i = l() ? (t = r.find((e) => e.active)) == null ? void 0 : t.name : null, a = d.uiState.uiScale;
200
200
  this.setKiosk({
201
201
  ...n,
202
202
  x: e.x,
203
203
  y: e.y,
204
204
  z: i,
205
- uiScale: (n == null ? void 0 : n.uiScale) || o,
205
+ uiScale: (n == null ? void 0 : n.uiScale) || a,
206
206
  heading: (n == null ? void 0 : n.heading) || 0,
207
207
  iconSizePercent: (n == null ? void 0 : n.iconSizePercent) || 100,
208
208
  ...this.getCameraState()
209
209
  });
210
210
  }
211
211
  handleNavigationChange() {
212
- let e = a(this.kiosk);
212
+ let e = c(this.kiosk);
213
213
  e && this.setKiosk({
214
214
  ...e,
215
215
  ...this.getCameraState()
216
216
  });
217
217
  }
218
- }, y(h.prototype, "kiosk", [t], Object.getOwnPropertyDescriptor(h.prototype, "kiosk"), h.prototype), y(h.prototype, "setKiosk", [i], Object.getOwnPropertyDescriptor(h.prototype, "setKiosk"), h.prototype), y(h.prototype, "renderer", [t], Object.getOwnPropertyDescriptor(h.prototype, "renderer"), h.prototype), g = y(h.prototype, "savedKiosk", [n], {
218
+ }, y(h.prototype, "kiosk", [i], Object.getOwnPropertyDescriptor(h.prototype, "kiosk"), h.prototype), y(h.prototype, "setKiosk", [s], Object.getOwnPropertyDescriptor(h.prototype, "setKiosk"), h.prototype), y(h.prototype, "renderer", [i], Object.getOwnPropertyDescriptor(h.prototype, "renderer"), h.prototype), g = y(h.prototype, "savedKiosk", [a], {
219
219
  configurable: !0,
220
220
  enumerable: !0,
221
221
  writable: !0,
222
222
  initializer: null
223
- }), y(h.prototype, "hasUnsavedChanges", [t], Object.getOwnPropertyDescriptor(h.prototype, "hasUnsavedChanges"), h.prototype), _ = y(h.prototype, "statusMessages", [n], {
223
+ }), y(h.prototype, "hasUnsavedChanges", [i], Object.getOwnPropertyDescriptor(h.prototype, "hasUnsavedChanges"), h.prototype), _ = y(h.prototype, "statusMessages", [a], {
224
224
  configurable: !0,
225
225
  enumerable: !0,
226
226
  writable: !0,
227
227
  initializer: function() {
228
228
  return [];
229
229
  }
230
- }), y(h.prototype, "addStatusMessage", [i], Object.getOwnPropertyDescriptor(h.prototype, "addStatusMessage"), h.prototype), y(h.prototype, "clearStatusMessages", [i], Object.getOwnPropertyDescriptor(h.prototype, "clearStatusMessages"), h.prototype), y(h.prototype, "startCleanupMessages", [i], Object.getOwnPropertyDescriptor(h.prototype, "startCleanupMessages"), h.prototype), y(h.prototype, "resetCamera", [i], Object.getOwnPropertyDescriptor(h.prototype, "resetCamera"), h.prototype), y(h.prototype, "restoreData", [i], Object.getOwnPropertyDescriptor(h.prototype, "restoreData"), h.prototype), y(h.prototype, "handleSetupReady", [i], Object.getOwnPropertyDescriptor(h.prototype, "handleSetupReady"), h.prototype), y(h.prototype, "handleClose", [i], Object.getOwnPropertyDescriptor(h.prototype, "handleClose"), h.prototype), y(h.prototype, "handleDelete", [i], Object.getOwnPropertyDescriptor(h.prototype, "handleDelete"), h.prototype), y(h.prototype, "handleSave", [i], Object.getOwnPropertyDescriptor(h.prototype, "handleSave"), h.prototype), y(h.prototype, "handleChange", [i], Object.getOwnPropertyDescriptor(h.prototype, "handleChange"), h.prototype), y(h.prototype, "setInitialPtScale", [i], Object.getOwnPropertyDescriptor(h.prototype, "setInitialPtScale"), h.prototype), y(h.prototype, "handleClick", [i], Object.getOwnPropertyDescriptor(h.prototype, "handleClick"), h.prototype), y(h.prototype, "handleNavigationChange", [i], Object.getOwnPropertyDescriptor(h.prototype, "handleNavigationChange"), h.prototype), h)();
230
+ }), y(h.prototype, "addStatusMessage", [s], Object.getOwnPropertyDescriptor(h.prototype, "addStatusMessage"), h.prototype), y(h.prototype, "clearStatusMessages", [s], Object.getOwnPropertyDescriptor(h.prototype, "clearStatusMessages"), h.prototype), y(h.prototype, "startCleanupMessages", [s], Object.getOwnPropertyDescriptor(h.prototype, "startCleanupMessages"), h.prototype), y(h.prototype, "resetCamera", [s], Object.getOwnPropertyDescriptor(h.prototype, "resetCamera"), h.prototype), y(h.prototype, "restoreData", [s], Object.getOwnPropertyDescriptor(h.prototype, "restoreData"), h.prototype), y(h.prototype, "handleSetupReady", [s], Object.getOwnPropertyDescriptor(h.prototype, "handleSetupReady"), h.prototype), y(h.prototype, "handleClose", [s], Object.getOwnPropertyDescriptor(h.prototype, "handleClose"), h.prototype), y(h.prototype, "handleDelete", [s], Object.getOwnPropertyDescriptor(h.prototype, "handleDelete"), h.prototype), y(h.prototype, "handleSave", [s], Object.getOwnPropertyDescriptor(h.prototype, "handleSave"), h.prototype), y(h.prototype, "handleChange", [s], Object.getOwnPropertyDescriptor(h.prototype, "handleChange"), h.prototype), y(h.prototype, "setInitialPtScale", [s], Object.getOwnPropertyDescriptor(h.prototype, "setInitialPtScale"), h.prototype), y(h.prototype, "handleClick", [s], Object.getOwnPropertyDescriptor(h.prototype, "handleClick"), h.prototype), y(h.prototype, "handleNavigationChange", [s], Object.getOwnPropertyDescriptor(h.prototype, "handleNavigationChange"), h.prototype), h)();
231
231
  //#endregion
232
232
  export { b as t };