@expofp/floorplan 3.7.1 → 3.7.3
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.
- package/dist/browser/{CookieConsent-BTBtNSL4.js → CookieConsent-B9r34uCC.js} +8 -8
- package/dist/browser/{Debug-BdwQwhiQ.js → Debug-DunksSNj.js} +9 -9
- package/dist/browser/{Demo-Buqcfw7W.js → Demo-891f5t9l.js} +9 -9
- package/dist/browser/{Free-DlGGWYcj.js → Free-DVER8MHL.js} +11 -11
- package/dist/browser/{Gallery-aa79wHFQ.js → Gallery-CyRq9QY2.js} +10 -10
- package/dist/browser/{GpsLoader-Dh_U8H51.js → GpsLoader-9_3XrM1S.js} +22 -22
- package/dist/browser/{KioskStore-37p-3HM2.js → KioskStore-BOSyfMyO.js} +44 -40
- package/dist/browser/{MaplibreAdapter-GcuLfvZ5.js → MaplibreAdapter-C9a80Y5u.js} +325 -325
- package/dist/browser/{Modal-N2u3kqja.js → Modal-DcLxiT8t.js} +10 -10
- package/dist/browser/{PermissionNotice-ISmSMsbo.js → PermissionNotice-DWddxvUt.js} +7 -7
- package/dist/browser/{SetKioskMode-Du32HGMJ.js → SetKioskMode-CgzKiK3y.js} +16 -16
- package/dist/browser/ShowKiosk-DRR5jjXM.js +26 -0
- package/dist/browser/{TouchHand-8ZopG2q8.js → TouchHand-B6PlZY3K.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-4BqW-Jdf.js → ViewerMenuPanel-B46Uw94g.js} +21 -21
- package/dist/browser/{add-debug-secret-listener-BjXftNTV.js → add-debug-secret-listener-DprGe6C-.js} +1 -1
- package/dist/browser/{boolean-editor-BhMIoPsa.js → boolean-editor-CdhFegqG.js} +9 -9
- package/dist/browser/{bootIntercom-B6p5fxfJ.js → bootIntercom-C2w8EmqK.js} +2 -2
- package/dist/browser/{browser-CnPEW9Lr.js → browser-D4L-gjqm.js} +2 -2
- package/dist/browser/bundle.json +56 -56
- package/dist/browser/{classnames-CRgVhgv0.js → classnames-CDxP0X2-.js} +2 -2
- package/dist/browser/{client-BUO_kQ1k.js → client-BUGY3NJ-.js} +4 -4
- package/dist/browser/{components-BfPS9gG1.js → components-C9eYt8L8.js} +1730 -1730
- package/dist/browser/{createWayfinding-Dt1LyGu0.js → createWayfinding-B9PG8HXm.js} +406 -406
- package/dist/browser/{debug-overlay-B0EofpfU.js → debug-overlay-DHL2Ipq8.js} +10 -10
- package/dist/browser/{debug-ui-DGJ2SkEi.js → debug-ui-BE-7wgWb.js} +6 -6
- package/dist/browser/{dist-DJxbAzyk.js → dist-BY2VkOah.js} +5 -5
- package/dist/browser/{dist-DjPMrEXM.js → dist-C6qlzHIi.js} +6 -6
- package/dist/browser/{dist-TGwGfy82.js → dist-DPH_nXx1.js} +3 -3
- package/dist/browser/{efp-debug-init-DHlNt03k.js → efp-debug-init-YS7dfyN-.js} +2 -2
- package/dist/browser/{enum-editor-CDXrDwYI.js → enum-editor-D_zEjkiJ.js} +11 -11
- package/dist/browser/{event-not-found-ddjIwKQI.js → event-not-found-FYtE_1nu.js} +1 -1
- package/dist/browser/{exports-DrNfOFs_.js → exports-Cjz1yZKk.js} +1 -1
- package/dist/browser/{favicon-BU-SX7hC.js → favicon-DrjHpzP4.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CYgJBfTb.js → fetch-retry.umd-Cid9TH8f.js} +2 -2
- package/dist/browser/{flex-DhG3X7TO.js → flex-DeqbUH21.js} +5 -5
- package/dist/browser/{floorplan.loader-CLetOZGp.js → floorplan.loader-Bj-l8uDr.js} +36 -36
- package/dist/browser/{floorplan.ready-VzbeB1JK.js → floorplan.ready-ISdK-pOq.js} +304 -304
- package/dist/browser/{fuse-BwjwTuSA.js → fuse-DuhtQS_C.js} +2 -2
- package/dist/browser/{i18n-DWUkHBly.js → i18n-topUIylF.js} +3 -3
- package/dist/browser/index.js +11 -11
- package/dist/browser/{jsx-runtime-CCjvPhTZ.js → jsx-runtime-BqvudT0U.js} +2 -2
- package/dist/browser/{lib-CmUZvL-A.js → lib-Cs6Jo7Wv.js} +4 -4
- package/dist/browser/{main-D5cs84bD.js → main-BEqsYQfj.js} +1 -1
- package/dist/browser/{mobx-Crx8xVu_.js → mobx-C5AHTMbx.js} +4 -4
- package/dist/browser/{particles.min-4xFbqMer.js → particles.min-COvnIi42.js} +2 -2
- package/dist/browser/{prop-types-Df-0AVZe.js → prop-types-H1ekLSgm.js} +2 -2
- package/dist/browser/{react-CXBSzFGH.js → react-CDj0nSIt.js} +2 -2
- package/dist/browser/{react-dom-vkCA7ORh.js → react-dom-F1fx5UfT.js} +3 -3
- package/dist/browser/{reset-all-settings-_SJm36FD.js → reset-all-settings-Dj1Hc9SL.js} +7 -7
- package/dist/browser/{rolldown-runtime-CHynt3ZH.js → rolldown-runtime-CJ4NSGHF.js} +1 -1
- package/dist/browser/{settings-D8YocUE4.js → settings-bv5D0Jdx.js} +2 -2
- package/dist/browser/{settings-item-_8AjjHJ-.js → settings-item-BBkCXqTe.js} +6 -6
- package/dist/browser/{storage-BCJWp9_C.js → storage-DQBS2cde.js} +10 -10
- package/dist/browser/{store-CoBm8UFz.js → store-CG3Lvb_Y.js} +5872 -5845
- package/dist/browser/{string-editor-b0i54Igp.js → string-editor-DWJwFIbn.js} +7 -7
- package/dist/browser/{theme-D8c9f86A.js → theme-Bn3nZG-N.js} +8 -8
- package/dist/browser/{ui-7txfiTr8.js → ui-B_JKKY6c.js} +8 -8
- package/dist/browser/{useRenderTarget-D01j_Es7.js → useRenderTarget-cPhKH67H.js} +4 -4
- package/dist/esm/components/Kiosk/KioskStore.d.ts +8 -7
- package/dist/esm/components/Kiosk/KioskStore.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/constants.d.ts +1 -0
- package/dist/esm/components/Kiosk/SetKiosk/constants.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/types.d.ts +1 -1
- package/dist/esm/components/Kiosk/kioskApi.d.ts +4 -0
- package/dist/esm/components/Kiosk/kioskApi.js +1 -0
- package/dist/esm/services/routing.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFactory.d.ts +1 -0
- package/dist/esm/store/search-buttons/SearchButtonsFactory.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFilters.js +1 -1
- package/dist/esm/tools/track-event.js +1 -1
- package/package.json +3 -3
- package/dist/browser/ShowKiosk-kDSUSRXW.js +0 -26
- package/dist/esm/components/Kiosk/requestKioskKey.d.ts +0 -3
- package/dist/esm/components/Kiosk/requestKioskKey.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.7.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.7.3" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3adc265b-0c67-4b60-b192-d6e82d7b42b1", e._sentryDebugIdIdentifier = "sentry-dbid-3adc265b-0c67-4b60-b192-d6e82d7b42b1");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { n as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { s as r } from "./i18n-
|
|
13
|
-
import {
|
|
14
|
-
import { t as a } from "./PermissionNotice-
|
|
9
|
+
import { n as e } from "./rolldown-runtime-CJ4NSGHF.js";
|
|
10
|
+
import { t } from "./react-CDj0nSIt.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-BqvudT0U.js";
|
|
12
|
+
import { s as r } from "./i18n-topUIylF.js";
|
|
13
|
+
import { dn as i } from "./store-CG3Lvb_Y.js";
|
|
14
|
+
import { t as a } from "./PermissionNotice-DWddxvUt.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.7.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.7.3" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7fec9db8-ee3f-4eda-bc80-cbe116687b37", e._sentryDebugIdIdentifier = "sentry-dbid-7fec9db8-ee3f-4eda-bc80-cbe116687b37");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import "./rolldown-runtime-
|
|
11
|
-
import { t as e } from "./react-
|
|
12
|
-
import { t } from "./jsx-runtime-
|
|
13
|
-
import { s as n } from "./i18n-
|
|
14
|
-
import {
|
|
10
|
+
import "./rolldown-runtime-CJ4NSGHF.js";
|
|
11
|
+
import { t as e } from "./react-CDj0nSIt.js";
|
|
12
|
+
import { t } from "./jsx-runtime-BqvudT0U.js";
|
|
13
|
+
import { s as n } from "./i18n-topUIylF.js";
|
|
14
|
+
import { o as r, pn as i, s as a } from "./store-CG3Lvb_Y.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: () =>
|
|
39
|
+
onClick: () => r.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 = () =>
|
|
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 }));
|
|
48
48
|
//#endregion
|
|
49
49
|
export { l as default };
|
|
50
50
|
|
|
@@ -2,18 +2,18 @@ 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.7.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.7.3" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5ddd5991-3454-4672-a224-a79c80de788b", e._sentryDebugIdIdentifier = "sentry-dbid-5ddd5991-3454-4672-a224-a79c80de788b");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
13
|
-
import { s as i } from "./i18n-
|
|
14
|
-
import { t as a } from "./classnames-
|
|
15
|
-
import {
|
|
16
|
-
import { n as l } from "./mobx-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-CJ4NSGHF.js";
|
|
11
|
+
import { t as n } from "./react-CDj0nSIt.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-BqvudT0U.js";
|
|
13
|
+
import { s as i } from "./i18n-topUIylF.js";
|
|
14
|
+
import { t as a } from "./classnames-CDxP0X2-.js";
|
|
15
|
+
import { fn as o, pn as s, s as c } from "./store-CG3Lvb_Y.js";
|
|
16
|
+
import { n as l } from "./mobx-C5AHTMbx.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() {
|
|
@@ -2,18 +2,18 @@ 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.7.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.7.3" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "1c804d88-814d-4837-be52-7fc1d5bc4ec0", e._sentryDebugIdIdentifier = "sentry-dbid-1c804d88-814d-4837-be52-7fc1d5bc4ec0");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e } from "./rolldown-runtime-
|
|
11
|
-
import { t } from "./react-
|
|
12
|
-
import { t as n } from "./jsx-runtime-
|
|
13
|
-
import { s as r } from "./i18n-
|
|
14
|
-
import { t as i } from "./classnames-
|
|
15
|
-
import {
|
|
16
|
-
import { n as u } from "./mobx-
|
|
10
|
+
import { r as e } from "./rolldown-runtime-CJ4NSGHF.js";
|
|
11
|
+
import { t } from "./react-CDj0nSIt.js";
|
|
12
|
+
import { t as n } from "./jsx-runtime-BqvudT0U.js";
|
|
13
|
+
import { s as r } from "./i18n-topUIylF.js";
|
|
14
|
+
import { t as i } from "./classnames-CDxP0X2-.js";
|
|
15
|
+
import { fn as a, l as o, pn as s, s as c, u as l } from "./store-CG3Lvb_Y.js";
|
|
16
|
+
import { n as u } from "./mobx-C5AHTMbx.js";
|
|
17
17
|
t();
|
|
18
18
|
var d = /* @__PURE__ */ e(i(), 1), f = n();
|
|
19
19
|
function p() {
|
|
@@ -27,7 +27,7 @@ function p() {
|
|
|
27
27
|
c.freeBannerDismissed || window.setTimeout(() => {
|
|
28
28
|
e.hidden = !1;
|
|
29
29
|
}, 2e3);
|
|
30
|
-
}),
|
|
30
|
+
}), s(() => /* @__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:
|
|
38
|
+
href: o(),
|
|
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.7.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.7.3" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5dc20e5c-1b09-4e93-807f-57ef913834f4", e._sentryDebugIdIdentifier = "sentry-dbid-5dc20e5c-1b09-4e93-807f-57ef913834f4");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
13
|
-
import { s as i } from "./i18n-
|
|
14
|
-
import { t as a } from "./react-dom-
|
|
15
|
-
import { t as o } from "./classnames-
|
|
16
|
-
import {
|
|
17
|
-
import { t as c } from "./useRenderTarget-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-CJ4NSGHF.js";
|
|
11
|
+
import { t as n } from "./react-CDj0nSIt.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-BqvudT0U.js";
|
|
13
|
+
import { s as i } from "./i18n-topUIylF.js";
|
|
14
|
+
import { t as a } from "./react-dom-F1fx5UfT.js";
|
|
15
|
+
import { t as o } from "./classnames-CDxP0X2-.js";
|
|
16
|
+
import { dn as s } from "./store-CG3Lvb_Y.js";
|
|
17
|
+
import { t as c } from "./useRenderTarget-cPhKH67H.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,31 +1,31 @@
|
|
|
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.7.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.7.3" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "788edd4a-39a3-4915-9834-e45fc11e7e68", e._sentryDebugIdIdentifier = "sentry-dbid-788edd4a-39a3-4915-9834-e45fc11e7e68");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { ct as r, q as i, s as a } from "./i18n-
|
|
13
|
-
import {
|
|
14
|
-
import { t as d } from "./PermissionNotice-
|
|
15
|
-
import { r as f } from "./mobx-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-CJ4NSGHF.js";
|
|
10
|
+
import { t } from "./react-CDj0nSIt.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-BqvudT0U.js";
|
|
12
|
+
import { ct as r, q as i, s as a } from "./i18n-topUIylF.js";
|
|
13
|
+
import { Dt as o, E as s, dn as c, o as l, ot as u } from "./store-CG3Lvb_Y.js";
|
|
14
|
+
import { t as d } from "./PermissionNotice-DWddxvUt.js";
|
|
15
|
+
import { r as f } from "./mobx-C5AHTMbx.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
|
|
22
|
+
return u(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), i = (0, p.useRef)(0), a = (0, p.useRef)(null), o = (0, p.useRef)(!1), s = (0, p.useRef)(null),
|
|
28
|
+
let t = (0, p.useRef)(null), n = (0, p.useRef)(null), i = (0, p.useRef)(0), a = (0, p.useRef)(null), o = (0, p.useRef)(!1), s = (0, p.useRef)(null), c = (0, p.useRef)(!1), l = (0, p.useRef)(null), d = (t) => e(t), f = (e) => {
|
|
29
29
|
let t = Date.now();
|
|
30
30
|
if (t - i.current < g) return;
|
|
31
31
|
let n = a.current;
|
|
@@ -33,11 +33,11 @@ function y(e) {
|
|
|
33
33
|
s.current = e, i.current = t, a.current = e, d(e);
|
|
34
34
|
return;
|
|
35
35
|
}
|
|
36
|
-
let r =
|
|
37
|
-
|
|
36
|
+
let r = u(s.current.lat, s.current.lng, e.lat, e.lng), o;
|
|
37
|
+
c.current ? r <= 3 ? (c.current = !1, s.current = e, o = {
|
|
38
38
|
...s.current,
|
|
39
39
|
heading: e.heading
|
|
40
|
-
}) : (s.current = e, o = e) : r >= 3 ? (
|
|
40
|
+
}) : (s.current = e, o = e) : r >= 3 ? (c.current = !0, s.current = e, l.current = null, o = e) : (l.current == null && (l.current = t), t - l.current > _ && (s.current = e), o = {
|
|
41
41
|
...s.current,
|
|
42
42
|
heading: e.heading
|
|
43
43
|
}), !(n && !h(n, o)) && (i.current = t, a.current = o, d(o));
|
|
@@ -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,
|
|
71
|
+
t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), s.current = null, c.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 =
|
|
80
|
+
var b = n(), x = c(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,7 +89,7 @@ var b = n(), x = u(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: i = "compass-permission-granted", requestCompass: a = !0, requestCompassAllowed:
|
|
92
|
+
function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: i = "compass-permission-granted", requestCompass: a = !0, requestCompassAllowed: s = !0 }) {
|
|
93
93
|
let { startOrientation: c, startGeolocation: l, stopOrientation: u, 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
95
|
m(!0), l();
|
|
@@ -108,7 +108,7 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
|
|
|
108
108
|
localStorage.setItem(i, "false"), g(!1), n == null || n();
|
|
109
109
|
}, [n]);
|
|
110
110
|
return (0, p.useEffect)(() => {
|
|
111
|
-
if (!f || !
|
|
111
|
+
if (!f || !s || typeof navigator > "u" || !o) return;
|
|
112
112
|
let e = localStorage.getItem(i);
|
|
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
|
-
|
|
121
|
+
s,
|
|
122
122
|
_
|
|
123
123
|
]), /* @__PURE__ */ (0, b.jsx)(x, {
|
|
124
124
|
isOpen: h,
|
|
@@ -130,10 +130,10 @@ 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), r = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
|
|
133
|
-
l.routeStore.selectCurrentPosition(new
|
|
133
|
+
l.routeStore.selectCurrentPosition(new s(0, 0, 0, n || r, e, t), !1);
|
|
134
134
|
}, []), a = (0, p.useCallback)(() => {
|
|
135
135
|
l.routeStore.requestCompass = void 0, n(!1);
|
|
136
|
-
}, [n]),
|
|
136
|
+
}, [n]), o = (0, p.useCallback)(() => {
|
|
137
137
|
l.routeStore.requestCompass = void 0, n(!1);
|
|
138
138
|
}, [n]);
|
|
139
139
|
return f(() => l.uiState.hideCookieConsent, (e) => {
|
|
@@ -144,7 +144,7 @@ function C({ requestCompassAllowed: e }) {
|
|
|
144
144
|
requestCompass: t,
|
|
145
145
|
requestCompassAllowed: e,
|
|
146
146
|
onRejectCompass: a,
|
|
147
|
-
onAllowCompass:
|
|
147
|
+
onAllowCompass: o,
|
|
148
148
|
orientationStorageKey: i,
|
|
149
149
|
onPositionUpdate: r
|
|
150
150
|
});
|
|
@@ -1,16 +1,16 @@
|
|
|
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.7.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.7.3" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2924b441-d9e8-4166-baf3-75b1efedf545", e._sentryDebugIdIdentifier = "sentry-dbid-2924b441-d9e8-4166-baf3-75b1efedf545");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { n as e, r as t, t as n } from "./storage-
|
|
10
|
-
import { b as r, g as i, p as a, s as o, u as s, v as c } from "./i18n-
|
|
11
|
-
import {
|
|
9
|
+
import { n as e, r as t, t as n } from "./storage-DQBS2cde.js";
|
|
10
|
+
import { b as r, g as i, p as a, s as o, u as s, v as c } from "./i18n-topUIylF.js";
|
|
11
|
+
import { bt as l, o as u, pt as d, zt as f } from "./store-CG3Lvb_Y.js";
|
|
12
12
|
//#region src/components/Map/pointInConvexQuad.ts
|
|
13
|
-
function
|
|
13
|
+
function p(e, t) {
|
|
14
14
|
let n = 0;
|
|
15
15
|
for (let r = 0; r < 4; r++) {
|
|
16
16
|
let i = t[r], a = t[(r + 1) % 4], o = (a.x - i.x) * (e.y - i.y) - (a.y - i.y) * (e.x - i.x);
|
|
@@ -24,17 +24,17 @@ function f(e, t) {
|
|
|
24
24
|
}
|
|
25
25
|
//#endregion
|
|
26
26
|
//#region src/components/Map/visibleArea.ts
|
|
27
|
-
function
|
|
28
|
-
let t =
|
|
27
|
+
function m(e) {
|
|
28
|
+
let t = f(e.viewport.canvasToSvg({
|
|
29
29
|
x: 0,
|
|
30
30
|
y: 0
|
|
31
|
-
})), n =
|
|
31
|
+
})), n = f(e.viewport.canvasToSvg({
|
|
32
32
|
x: e.canvas.clientWidth,
|
|
33
33
|
y: 0
|
|
34
|
-
})), r =
|
|
34
|
+
})), r = f(e.viewport.canvasToSvg({
|
|
35
35
|
x: 0,
|
|
36
36
|
y: e.canvas.clientHeight
|
|
37
|
-
})), i =
|
|
37
|
+
})), i = f(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);
|
|
@@ -59,13 +59,13 @@ function p(e) {
|
|
|
59
59
|
]
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
-
function
|
|
63
|
-
return
|
|
62
|
+
function h(e, t) {
|
|
63
|
+
return p(t, m(e).corners);
|
|
64
64
|
}
|
|
65
65
|
//#endregion
|
|
66
66
|
//#region src/components/Kiosk/KioskStore.ts
|
|
67
|
-
var
|
|
68
|
-
function
|
|
67
|
+
var g, _, v, y, b, x;
|
|
68
|
+
function S(e, t, n, r) {
|
|
69
69
|
n && Object.defineProperty(e, t, {
|
|
70
70
|
enumerable: n.enumerable,
|
|
71
71
|
configurable: n.configurable,
|
|
@@ -73,7 +73,7 @@ function v(e, t, n, r) {
|
|
|
73
73
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function C(e, t, n, r, i) {
|
|
77
77
|
var a = {};
|
|
78
78
|
return Object.keys(r).forEach(function(e) {
|
|
79
79
|
a[e] = r[e];
|
|
@@ -81,9 +81,9 @@ function y(e, t, n, r, i) {
|
|
|
81
81
|
return r(e, t, n) || n;
|
|
82
82
|
}, 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;
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var w = new (g = a({ keepAlive: !0 }), _ = a({ keepAlive: !0 }), v = a({ keepAlive: !0 }), y = class {
|
|
85
85
|
constructor() {
|
|
86
|
-
|
|
86
|
+
S(this, "savedKiosk", b, this), S(this, "statusMessages", x, this), this.statusMessageTimer = 0, this.initialPtScale = void 0;
|
|
87
87
|
}
|
|
88
88
|
get kiosk() {
|
|
89
89
|
return u.uiState.kioskData;
|
|
@@ -126,15 +126,15 @@ 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: e, mapRollDegrees: t, mapInitialPtScale: n, mapPtScale: r, mapCenterX: i, mapCenterY: a } = this.kiosk || {};
|
|
130
|
-
await
|
|
129
|
+
let { z: e, mapRollDegrees: t, mapInitialPtScale: n, mapPtScale: r, mapCenterX: i, mapCenterY: a } = this.kiosk || {}, o = this.renderer;
|
|
130
|
+
o && (await o.controls.resetCamera({
|
|
131
131
|
pan: !0,
|
|
132
132
|
zoom: !0,
|
|
133
133
|
roll: !0,
|
|
134
134
|
pitch: !0
|
|
135
135
|
}, !0), c(() => {
|
|
136
|
-
Number.isFinite(n) && Number.isFinite(r) && r > 0 &&
|
|
137
|
-
});
|
|
136
|
+
Number.isFinite(n) && Number.isFinite(r) && r > 0 && o.controls.zoomBy(n / r, !0), Number.isFinite(i) && Number.isFinite(a) && o.controls.panTo(i, a, !0), Number.isFinite(t) && o.controls.rollTo(t, !0), e && u.fp.activateFloor({ name: e });
|
|
137
|
+
}));
|
|
138
138
|
}
|
|
139
139
|
restoreData() {
|
|
140
140
|
let e = n();
|
|
@@ -153,21 +153,23 @@ var b = new (h = class {
|
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
155
|
handleSave() {
|
|
156
|
-
let e =
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
let e = this.renderer;
|
|
157
|
+
if (!e) return;
|
|
158
|
+
let n = r(this.kiosk), i = this.getCameraState(), a = {
|
|
159
|
+
...n,
|
|
160
|
+
...i
|
|
159
161
|
};
|
|
160
|
-
if (!
|
|
162
|
+
if (!h(e, a)) {
|
|
161
163
|
this.addStatusMessage({
|
|
162
164
|
variant: "error",
|
|
163
165
|
title: o("Kiosk not visible")
|
|
164
166
|
});
|
|
165
167
|
return;
|
|
166
168
|
}
|
|
167
|
-
this.setKiosk(
|
|
169
|
+
this.setKiosk(a), t(a), d(a, "https://app.expofp.com/"), u.uiState.setUIScale(a.uiScale, !0), this.addStatusMessage({
|
|
168
170
|
variant: "success",
|
|
169
171
|
title: o("Saved")
|
|
170
|
-
}), this.savedKiosk =
|
|
172
|
+
}), this.savedKiosk = a;
|
|
171
173
|
}
|
|
172
174
|
delayChange(e) {
|
|
173
175
|
requestAnimationFrame(() => e == null ? void 0 : e());
|
|
@@ -195,16 +197,16 @@ var b = new (h = class {
|
|
|
195
197
|
});
|
|
196
198
|
}
|
|
197
199
|
handleClick(e) {
|
|
198
|
-
var t;
|
|
199
|
-
let
|
|
200
|
+
var t, n;
|
|
201
|
+
let i = r(this.kiosk), a = u.fp.getFloors(), o = l() ? (t = (n = a.find((e) => e.active)) == null ? void 0 : n.name) == null ? null : t : null, s = u.uiState.uiScale;
|
|
200
202
|
this.setKiosk({
|
|
201
|
-
...
|
|
203
|
+
...i,
|
|
202
204
|
x: e.x,
|
|
203
205
|
y: e.y,
|
|
204
|
-
z:
|
|
205
|
-
uiScale: (
|
|
206
|
-
heading: (
|
|
207
|
-
iconSizePercent: (
|
|
206
|
+
z: o,
|
|
207
|
+
uiScale: (i == null ? void 0 : i.uiScale) || s,
|
|
208
|
+
heading: (i == null ? void 0 : i.heading) || 0,
|
|
209
|
+
iconSizePercent: (i == null ? void 0 : i.iconSizePercent) || 100,
|
|
208
210
|
...this.getCameraState()
|
|
209
211
|
});
|
|
210
212
|
}
|
|
@@ -215,18 +217,20 @@ var b = new (h = class {
|
|
|
215
217
|
...this.getCameraState()
|
|
216
218
|
});
|
|
217
219
|
}
|
|
218
|
-
}, y
|
|
220
|
+
}, C(y.prototype, "kiosk", [g], Object.getOwnPropertyDescriptor(y.prototype, "kiosk"), y.prototype), C(y.prototype, "setKiosk", [s], Object.getOwnPropertyDescriptor(y.prototype, "setKiosk"), y.prototype), C(y.prototype, "renderer", [_], Object.getOwnPropertyDescriptor(y.prototype, "renderer"), y.prototype), b = C(y.prototype, "savedKiosk", [i], {
|
|
219
221
|
configurable: !0,
|
|
220
222
|
enumerable: !0,
|
|
221
223
|
writable: !0,
|
|
222
|
-
initializer:
|
|
223
|
-
|
|
224
|
+
initializer: function() {
|
|
225
|
+
return null;
|
|
226
|
+
}
|
|
227
|
+
}), C(y.prototype, "hasUnsavedChanges", [v], Object.getOwnPropertyDescriptor(y.prototype, "hasUnsavedChanges"), y.prototype), x = C(y.prototype, "statusMessages", [i], {
|
|
224
228
|
configurable: !0,
|
|
225
229
|
enumerable: !0,
|
|
226
230
|
writable: !0,
|
|
227
231
|
initializer: function() {
|
|
228
232
|
return [];
|
|
229
233
|
}
|
|
230
|
-
}), y
|
|
234
|
+
}), C(y.prototype, "addStatusMessage", [s], Object.getOwnPropertyDescriptor(y.prototype, "addStatusMessage"), y.prototype), C(y.prototype, "clearStatusMessages", [s], Object.getOwnPropertyDescriptor(y.prototype, "clearStatusMessages"), y.prototype), C(y.prototype, "startCleanupMessages", [s], Object.getOwnPropertyDescriptor(y.prototype, "startCleanupMessages"), y.prototype), C(y.prototype, "resetCamera", [s], Object.getOwnPropertyDescriptor(y.prototype, "resetCamera"), y.prototype), C(y.prototype, "restoreData", [s], Object.getOwnPropertyDescriptor(y.prototype, "restoreData"), y.prototype), C(y.prototype, "handleSetupReady", [s], Object.getOwnPropertyDescriptor(y.prototype, "handleSetupReady"), y.prototype), C(y.prototype, "handleClose", [s], Object.getOwnPropertyDescriptor(y.prototype, "handleClose"), y.prototype), C(y.prototype, "handleDelete", [s], Object.getOwnPropertyDescriptor(y.prototype, "handleDelete"), y.prototype), C(y.prototype, "handleSave", [s], Object.getOwnPropertyDescriptor(y.prototype, "handleSave"), y.prototype), C(y.prototype, "handleChange", [s], Object.getOwnPropertyDescriptor(y.prototype, "handleChange"), y.prototype), C(y.prototype, "setInitialPtScale", [s], Object.getOwnPropertyDescriptor(y.prototype, "setInitialPtScale"), y.prototype), C(y.prototype, "handleClick", [s], Object.getOwnPropertyDescriptor(y.prototype, "handleClick"), y.prototype), C(y.prototype, "handleNavigationChange", [s], Object.getOwnPropertyDescriptor(y.prototype, "handleNavigationChange"), y.prototype), y)();
|
|
231
235
|
//#endregion
|
|
232
|
-
export {
|
|
236
|
+
export { w as t };
|