@expofp/floorplan 3.3.7 → 3.3.8
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-DhAS93Nm.js +38 -0
- package/dist/browser/{Debug-A2TjoZQK.js → Debug-DciNEVl6.js} +7 -7
- package/dist/browser/{Demo-iK72mOgP.js → Demo-Dh3K6IRU.js} +11 -11
- package/dist/browser/{Free-BcbAZA3y.js → Free-BHUzZwj9.js} +11 -11
- package/dist/browser/{Gallery-U-ldyITy.js → Gallery-C0nPxxJB.js} +10 -10
- package/dist/browser/{GpsLoader-DqPTky-0.js → GpsLoader-De8VPIEW.js} +32 -33
- package/dist/browser/{KioskStore-DIKp1HfX.js → KioskStore-D1jnGTbv.js} +17 -17
- package/dist/browser/{Mapbox-ChPNLhVw.js → Mapbox-CzVyYzjj.js} +11 -11
- package/dist/browser/{Modal-BLjdiYfi.js → Modal-D8kuOldj.js} +10 -10
- package/dist/browser/PermissionNotice-v9vhrWnr.js +54 -0
- package/dist/browser/{SetKioskMode-CIDQnVVK.js → SetKioskMode-D2cDGv9V.js} +17 -17
- package/dist/browser/ShowKiosk-DjrDUQUM.js +26 -0
- package/dist/browser/{ThreeComponent-CtqPjAlQ.js → ThreeComponent-CUKVDY94.js} +176 -176
- package/dist/browser/{TouchHand-4OAXEmLA.js → TouchHand-hrkQyTE4.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-BFEwT9oC.js → ViewerMenuPanel-BVfEToAO.js} +17 -17
- package/dist/browser/{add-debug-secret-listener-B2ugeAcj.js → add-debug-secret-listener-CdWQ5IqR.js} +1 -1
- package/dist/browser/{boolean-editor-Cc1GCvQj.js → boolean-editor-D24_ATfB.js} +10 -10
- package/dist/browser/{bootIntercom-BVGw_SpO.js → bootIntercom-DSRi4yws.js} +2 -2
- package/dist/browser/{box-CaErtqkj.js → box-BXDPYk7M.js} +5 -5
- package/dist/browser/{browser-_paBhqQW.js → browser-Dk-lVBqy.js} +2 -2
- package/dist/browser/bundle.json +61 -58
- package/dist/browser/{classnames-CVk0A91C.js → classnames-DNY5NR54.js} +2 -2
- package/dist/browser/{client-B70Nbh5h.js → client-CWN096Nx.js} +4 -4
- package/dist/browser/{components-XkvqySvZ.js → components-D9o158HA.js} +868 -883
- package/dist/browser/{data-DshpY4Eh.js → data-ZH4_sxkL.js} +44 -44
- package/dist/browser/{debug-overlay-CyYqgTdj.js → debug-overlay-DQG-UfZv.js} +11 -11
- package/dist/browser/{debug-ui-D9A6yzed.js → debug-ui-yYN-_8G_.js} +6 -6
- package/dist/browser/{dist-BrWnw-Ri.js → dist-7_sOACbd.js} +5 -5
- package/dist/browser/{dist-BPljQLT7.js → dist-CAs4SFEJ.js} +3 -3
- package/dist/browser/{dist-BUD3zJ9Z.js → dist-uPMox8hh.js} +6 -6
- package/dist/browser/{efp-debug-init-CL7ckXKd.js → efp-debug-init-Dwp-psKk.js} +2 -2
- package/dist/browser/{enum-editor-Djt6vsG1.js → enum-editor-PV_iv0tr.js} +11 -11
- package/dist/browser/{event-not-found-CAUywrB2.js → event-not-found-BjBg31r7.js} +1 -1
- package/dist/browser/{exports-D5aj-cpr.js → exports-lMrT2XbM.js} +1 -1
- package/dist/browser/{favicon-B3ilFIzN.js → favicon-qwrv2N2K.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CC6nRZde.js → fetch-retry.umd-D_06P7tx.js} +2 -2
- package/dist/browser/{flex-SCSgjwpS.js → flex-DMyWG2k5.js} +6 -6
- package/dist/browser/{flex.props-DM7y21yG.js → flex.props-DJYmgUbO.js} +2 -2
- package/dist/browser/{floorplan.loader-BmVUKCxN.js → floorplan.loader-CkEu28br.js} +11 -11
- package/dist/browser/{floorplan.ready-da1pQZ1-.js → floorplan.ready-CL42thhp.js} +248 -248
- package/dist/browser/{fuse-DY6Kjf36.js → fuse-BrJpK9Lv.js} +2 -2
- package/dist/browser/{i18n-1-u98ly9.js → i18n-ST-5I_Xd.js} +3 -3
- package/dist/browser/index.js +12 -12
- package/dist/browser/{jsx-runtime-BESB6cP1.js → jsx-runtime-z-VgZsNI.js} +2 -2
- package/dist/browser/{lib-BhhCH6-T.js → lib-resthkmx.js} +4 -4
- package/dist/browser/{main-D2NmCv2H.js → main-BOaUt8eX.js} +1 -1
- package/dist/browser/{mobx-Cfh5Vfk6.js → mobx-BGVJo_6r.js} +4 -4
- package/dist/browser/{particles.min-B5qlVBuL.js → particles.min-D3-LD_RC.js} +2 -2
- package/dist/browser/{prop-types-DZ8VfWUb.js → prop-types-xS5Y65WT.js} +2 -2
- package/dist/browser/{react-cXsgFw41.js → react-CDDaD-I1.js} +2 -2
- package/dist/browser/{react-dom-l5Q31Wma.js → react-dom-B1aPQ40g.js} +3 -3
- package/dist/browser/{reset-all-settings-B6K1EwXP.js → reset-all-settings-DHgz1Ud7.js} +7 -7
- package/dist/browser/{rolldown-runtime-hPqAdzN2.js → rolldown-runtime-Bb8iYlSJ.js} +1 -1
- package/dist/browser/{settings-BZyvLLph.js → settings-BD9hHBVE.js} +2 -2
- package/dist/browser/{settings-item-zDeA5cv4.js → settings-item-BMJ0aBEh.js} +6 -6
- package/dist/browser/{storage-CneO9F9t.js → storage-B0mOBJql.js} +2 -2
- package/dist/browser/{store-CQphSXxk.js → store-Dyrv6nnP.js} +685 -696
- package/dist/browser/{string-editor-BJn1AFSw.js → string-editor-DoAiUhFX.js} +8 -8
- package/dist/browser/{theme-DoAOOaRE.js → theme-7rduvM4D.js} +8 -8
- package/dist/browser/{ui-DNF4wGZh.js → ui-CgRQk7e0.js} +8 -8
- package/dist/browser/{useRenderTarget-BYpCY_A9.js → useRenderTarget-rq9Hu7Z3.js} +4 -4
- package/dist/esm/components/AlertContainer.d.ts +1 -1
- package/dist/esm/components/CookieConsent.d.ts +3 -3
- package/dist/esm/components/CookieConsent.js +1 -1
- package/dist/esm/components/EntityItemContainer.d.ts +1 -1
- package/dist/esm/components/HeatmapLegendContainer.d.ts +6 -0
- package/dist/esm/components/HeatmapLegendContainer.js +1 -0
- package/dist/esm/components/HighlightTextContainer.d.ts +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +1 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/LevelBadgeContainer.d.ts +6 -0
- package/dist/esm/components/LevelBadgeContainer.js +1 -0
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +3 -2
- package/dist/esm/components/OverlayContainer.d.ts +1 -1
- package/dist/esm/components/OverlayGripContainer.d.ts +4 -0
- package/dist/esm/components/OverlayGripContainer.js +1 -0
- package/dist/esm/components/ScrollableRowContainer.d.ts +6 -0
- package/dist/esm/components/ScrollableRowContainer.js +1 -0
- package/dist/esm/components/SearchButtons/SearchButtons.d.ts +1 -1
- package/dist/esm/components/SearchButtons/SearchButtons.js +1 -1
- package/dist/esm/components/Shortcuts/ShortcutsToolbar.d.ts +1 -1
- package/dist/esm/components/Shortcuts/ShortcutsToolbar.js +1 -1
- package/dist/esm/components/WayfindingFloorSelectorContainer.d.ts +1 -1
- package/dist/esm/components/gps/GpsPermissionRequest.js +1 -1
- package/dist/esm/components/index.d.ts +9 -8
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/store/HeatmapStore.js +1 -1
- package/dist/esm/ui/Draggable/Draggable.d.ts +9 -0
- package/dist/esm/ui/Draggable/Draggable.js +1 -0
- package/dist/esm/ui/Draggable/index.d.ts +3 -0
- package/dist/esm/ui/Draggable/index.js +1 -0
- package/dist/esm/ui/HeatmapLegend/HeatmapLegend.d.ts +13 -0
- package/dist/esm/ui/HeatmapLegend/HeatmapLegend.js +1 -0
- package/dist/esm/ui/HeatmapLegend/index.d.ts +3 -0
- package/dist/esm/ui/HeatmapLegend/index.js +1 -0
- package/dist/esm/ui/LevelBadge/LevelBadge.d.ts +9 -0
- package/dist/esm/ui/LevelBadge/LevelBadge.js +1 -0
- package/dist/esm/ui/LevelBadge/index.d.ts +3 -0
- package/dist/esm/ui/LevelBadge/index.js +1 -0
- package/dist/esm/ui/OverlayGrip/OverlayGrip.d.ts +11 -0
- package/dist/esm/ui/OverlayGrip/OverlayGrip.js +1 -0
- package/dist/esm/ui/OverlayGrip/index.d.ts +3 -0
- package/dist/esm/ui/OverlayGrip/index.js +1 -0
- package/dist/esm/ui/PermissionNotice/PermissionNotice.d.ts +16 -0
- package/dist/esm/ui/PermissionNotice/PermissionNotice.js +1 -0
- package/dist/esm/ui/PermissionNotice/index.d.ts +3 -0
- package/dist/esm/ui/PermissionNotice/index.js +1 -0
- package/dist/esm/{components → ui/ScrollableRow}/ScrollableRow.d.ts +5 -4
- package/dist/esm/ui/ScrollableRow/ScrollableRow.js +1 -0
- package/dist/esm/ui/ScrollableRow/index.d.ts +3 -0
- package/dist/esm/ui/ScrollableRow/index.js +1 -0
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.d.ts +4 -10
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.js +1 -1
- package/dist/esm/ui/shared/interactive.d.ts +2 -0
- package/dist/esm/ui/shared/interactive.js +1 -0
- package/dist/esm/utils/color-gradient.d.ts +2 -0
- package/dist/esm/utils/color-gradient.js +1 -0
- package/package.json +3 -3
- package/dist/browser/CookieConsent-DeA-DR4A.js +0 -71
- package/dist/browser/ShowKiosk-CprbVv29.js +0 -26
- package/dist/esm/components/BookmarkSvg.d.ts +0 -4
- package/dist/esm/components/BookmarkSvg.js +0 -1
- package/dist/esm/components/Draggable.d.ts +0 -10
- package/dist/esm/components/Draggable.js +0 -1
- package/dist/esm/components/HeatmapLegend.d.ts +0 -12
- package/dist/esm/components/HeatmapLegend.js +0 -1
- package/dist/esm/components/LevelBadge.d.ts +0 -8
- package/dist/esm/components/LevelBadge.js +0 -1
- package/dist/esm/components/OverlayGrip.d.ts +0 -5
- package/dist/esm/components/OverlayGrip.js +0 -1
- package/dist/esm/components/PermissionNotice/PermissionNotice.d.ts +0 -14
- package/dist/esm/components/PermissionNotice/PermissionNotice.js +0 -1
- package/dist/esm/components/ScrollableRow.js +0 -1
- package/dist/esm/tools/Color.d.ts +0 -2
- package/dist/esm/tools/Color.js +0 -1
|
@@ -0,0 +1,38 @@
|
|
|
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.3.8" };
|
|
5
|
+
var t = new e.Error().stack;
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "c2e3961f-d161-480f-9103-ad50629c101b", e._sentryDebugIdIdentifier = "sentry-dbid-c2e3961f-d161-480f-9103-ad50629c101b");
|
|
7
|
+
} catch {}
|
|
8
|
+
})();
|
|
9
|
+
import { n as e } from "./rolldown-runtime-Bb8iYlSJ.js";
|
|
10
|
+
import { t } from "./react-CDDaD-I1.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-z-VgZsNI.js";
|
|
12
|
+
import { s as r } from "./i18n-ST-5I_Xd.js";
|
|
13
|
+
import { Qn as i } from "./store-Dyrv6nnP.js";
|
|
14
|
+
import { t as a } from "./PermissionNotice-v9vhrWnr.js";
|
|
15
|
+
//#region src/components/CookieConsent.tsx
|
|
16
|
+
var o = /* @__PURE__ */ e({ default: () => c });
|
|
17
|
+
t();
|
|
18
|
+
var s = n(), c = i(({ link: e, onAccept: t, onReject: n }) => /* @__PURE__ */ (0, s.jsxs)(a, {
|
|
19
|
+
placement: "bottom-left",
|
|
20
|
+
title: r("Cookie Consent"),
|
|
21
|
+
acceptText: r("Accept cookies"),
|
|
22
|
+
rejectText: r("Reject"),
|
|
23
|
+
onAccept: t,
|
|
24
|
+
onReject: n,
|
|
25
|
+
children: [
|
|
26
|
+
r("We use cookies for analytics only"),
|
|
27
|
+
"\xA0",
|
|
28
|
+
e && /* @__PURE__ */ (0, s.jsx)("a", {
|
|
29
|
+
href: e,
|
|
30
|
+
target: "_blank",
|
|
31
|
+
rel: "noopener noreferrer",
|
|
32
|
+
"aria-label": r("Read more about cookie usage in a new tab"),
|
|
33
|
+
children: r("Read More")
|
|
34
|
+
})
|
|
35
|
+
]
|
|
36
|
+
}));
|
|
37
|
+
//#endregion
|
|
38
|
+
export { o as 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.3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.3.8" };
|
|
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] = "6683d22c-49f7-4d91-8584-1818b9472b63", e._sentryDebugIdIdentifier = "sentry-dbid-6683d22c-49f7-4d91-8584-1818b9472b63");
|
|
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-Bb8iYlSJ.js";
|
|
11
|
+
import { t as e } from "./react-CDDaD-I1.js";
|
|
12
|
+
import { t } from "./jsx-runtime-z-VgZsNI.js";
|
|
13
|
+
import { s as n } from "./i18n-ST-5I_Xd.js";
|
|
14
|
+
import { er as r, o as i, s as a } from "./store-Dyrv6nnP.js";
|
|
15
15
|
e();
|
|
16
16
|
var o = [], s = t();
|
|
17
17
|
function c() {
|
|
@@ -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.3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.3.8" };
|
|
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] = "e93c6084-8831-4355-b375-edf9fd6abc36", e._sentryDebugIdIdentifier = "sentry-dbid-e93c6084-8831-4355-b375-edf9fd6abc36");
|
|
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 { $n as o,
|
|
16
|
-
import { n as l } from "./mobx-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-Bb8iYlSJ.js";
|
|
11
|
+
import { t as n } from "./react-CDDaD-I1.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-z-VgZsNI.js";
|
|
13
|
+
import { s as i } from "./i18n-ST-5I_Xd.js";
|
|
14
|
+
import { t as a } from "./classnames-DNY5NR54.js";
|
|
15
|
+
import { $n as o, er as s, s as c } from "./store-Dyrv6nnP.js";
|
|
16
|
+
import { n as l } from "./mobx-BGVJo_6r.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 =
|
|
20
|
+
let e = o(() => ({
|
|
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
|
-
}),
|
|
37
|
+
}), s(() => /* @__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.3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.3.8" };
|
|
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] = "f5f64c37-7bd3-4d00-98ff-9c61f60db435", e._sentryDebugIdIdentifier = "sentry-dbid-f5f64c37-7bd3-4d00-98ff-9c61f60db435");
|
|
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 { $n as a,
|
|
16
|
-
import { n as u } from "./mobx-
|
|
10
|
+
import { r as e } from "./rolldown-runtime-Bb8iYlSJ.js";
|
|
11
|
+
import { t } from "./react-CDDaD-I1.js";
|
|
12
|
+
import { t as n } from "./jsx-runtime-z-VgZsNI.js";
|
|
13
|
+
import { s as r } from "./i18n-ST-5I_Xd.js";
|
|
14
|
+
import { t as i } from "./classnames-DNY5NR54.js";
|
|
15
|
+
import { $n as a, er as o, l as s, s as c, u as l } from "./store-Dyrv6nnP.js";
|
|
16
|
+
import { n as u } from "./mobx-BGVJo_6r.js";
|
|
17
17
|
t();
|
|
18
18
|
var d = /* @__PURE__ */ e(i(), 1), f = n();
|
|
19
19
|
function p() {
|
|
20
|
-
let e =
|
|
20
|
+
let e = a(() => ({
|
|
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
|
-
}),
|
|
30
|
+
}), o(() => /* @__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",
|
|
@@ -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.3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.3.8" };
|
|
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] = "63a26be2-d3b3-423b-9a58-f2ec62d40dc8", e._sentryDebugIdIdentifier = "sentry-dbid-63a26be2-d3b3-423b-9a58-f2ec62d40dc8");
|
|
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-Bb8iYlSJ.js";
|
|
11
|
+
import { t as n } from "./react-CDDaD-I1.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-z-VgZsNI.js";
|
|
13
|
+
import { s as i } from "./i18n-ST-5I_Xd.js";
|
|
14
|
+
import { t as a } from "./react-dom-B1aPQ40g.js";
|
|
15
|
+
import { t as o } from "./classnames-DNY5NR54.js";
|
|
16
|
+
import { Qn as s } from "./store-Dyrv6nnP.js";
|
|
17
|
+
import { t as c } from "./useRenderTarget-rq9Hu7Z3.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,32 +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.3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.3.8" };
|
|
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] = "627c5ad7-af82-434d-a7a5-d593f22a524f", e._sentryDebugIdIdentifier = "sentry-dbid-627c5ad7-af82-434d-a7a5-d593f22a524f");
|
|
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 { K as r, s as i, st as a } from "./i18n-
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { r as f } from "./mobx-
|
|
16
|
-
import "./components-XkvqySvZ.js";
|
|
9
|
+
import { r as e } from "./rolldown-runtime-Bb8iYlSJ.js";
|
|
10
|
+
import { t } from "./react-CDDaD-I1.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-z-VgZsNI.js";
|
|
12
|
+
import { K as r, s as i, st as a } from "./i18n-ST-5I_Xd.js";
|
|
13
|
+
import { Qn as o, St as s, it as c, k as l, o as u } from "./store-Dyrv6nnP.js";
|
|
14
|
+
import { t as d } from "./PermissionNotice-v9vhrWnr.js";
|
|
15
|
+
import { r as f } from "./mobx-BGVJo_6r.js";
|
|
17
16
|
//#region src/components/gps/utils.ts
|
|
18
17
|
var p = /* @__PURE__ */ e(t(), 1);
|
|
19
18
|
function m(e) {
|
|
20
19
|
return Math.floor(e);
|
|
21
20
|
}
|
|
22
21
|
function h(e, t) {
|
|
23
|
-
return
|
|
22
|
+
return c(e.lat, e.lng, t.lat, t.lng) >= 3 ? !0 : e.heading !== t.heading;
|
|
24
23
|
}
|
|
25
24
|
//#endregion
|
|
26
25
|
//#region src/components/gps/useUserLocationAndHeading.ts
|
|
27
26
|
var g = 120, _ = 3e3, v = 360;
|
|
28
27
|
function y(e) {
|
|
29
|
-
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),
|
|
28
|
+
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), l = (0, p.useRef)(!1), u = (0, p.useRef)(null), d = (t) => e(t), f = (e) => {
|
|
30
29
|
let t = Date.now();
|
|
31
30
|
if (t - r.current < g) return;
|
|
32
31
|
let n = i.current;
|
|
@@ -34,11 +33,11 @@ function y(e) {
|
|
|
34
33
|
s.current = e, r.current = t, i.current = e, d(e);
|
|
35
34
|
return;
|
|
36
35
|
}
|
|
37
|
-
let a =
|
|
38
|
-
|
|
36
|
+
let a = c(s.current.lat, s.current.lng, e.lat, e.lng), o;
|
|
37
|
+
l.current ? a <= 3 ? (l.current = !1, s.current = e, o = {
|
|
39
38
|
...s.current,
|
|
40
39
|
heading: e.heading
|
|
41
|
-
}) : (s.current = e, o = e) : a >= 3 ? (
|
|
40
|
+
}) : (s.current = e, o = e) : a >= 3 ? (l.current = !0, s.current = e, u.current = null, o = e) : (u.current == null && (u.current = t), t - u.current > _ && (s.current = e), o = {
|
|
42
41
|
...s.current,
|
|
43
42
|
heading: e.heading
|
|
44
43
|
}), !(n && !h(n, o)) && (r.current = t, i.current = o, d(o));
|
|
@@ -69,7 +68,7 @@ function y(e) {
|
|
|
69
68
|
o.current || (o.current = !0, window.addEventListener("deviceorientation", y, !0));
|
|
70
69
|
},
|
|
71
70
|
stopGeolocation: () => {
|
|
72
|
-
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, l.current = !1;
|
|
73
72
|
},
|
|
74
73
|
stopOrientation: () => {
|
|
75
74
|
o.current = !1, window.removeEventListener("deviceorientation", y, !0);
|
|
@@ -78,38 +77,38 @@ function y(e) {
|
|
|
78
77
|
}
|
|
79
78
|
//#endregion
|
|
80
79
|
//#region src/components/gps/GpsPermissionRequest.tsx
|
|
81
|
-
var b = n(), x =
|
|
80
|
+
var b = n(), x = o(function({ isOpen: e, onAllow: t, onCancel: n }) {
|
|
82
81
|
return e ? /* @__PURE__ */ (0, b.jsx)(d, {
|
|
83
82
|
title: i("Show your position on the map"),
|
|
84
83
|
acceptText: i("Allow compass access"),
|
|
85
84
|
rejectText: i("Not now"),
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
onAccept: t,
|
|
86
|
+
onReject: n,
|
|
88
87
|
children: i("To display your current position and orient the map around you, we’ll ask for permission to access your device orientation")
|
|
89
88
|
}) : null;
|
|
90
89
|
});
|
|
91
90
|
//#endregion
|
|
92
91
|
//#region src/components/gps/GpsManager.tsx
|
|
93
92
|
function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: r = "compass-permission-granted", requestCompass: i = !0, requestCompassAllowed: o = !0 }) {
|
|
94
|
-
let { startOrientation:
|
|
93
|
+
let { startOrientation: c, startGeolocation: l, stopOrientation: u, stopGeolocation: d } = y(e), [f, m] = (0, p.useState)(!1), [h, g] = (0, p.useState)(!1);
|
|
95
94
|
(0, p.useEffect)(() => (navigator.geolocation.getCurrentPosition(() => {
|
|
96
|
-
m(!0),
|
|
95
|
+
m(!0), l();
|
|
97
96
|
}, (e) => {
|
|
98
97
|
a.warn("Geolocation error:", e), m(!1);
|
|
99
98
|
}), () => {
|
|
100
|
-
|
|
99
|
+
u(), d();
|
|
101
100
|
}), [
|
|
102
|
-
|
|
101
|
+
l,
|
|
103
102
|
d,
|
|
104
|
-
|
|
103
|
+
u
|
|
105
104
|
]);
|
|
106
105
|
let _ = async () => {
|
|
107
|
-
typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(r, "true"),
|
|
106
|
+
typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(r, "true"), c(), g(!1), t == null || t());
|
|
108
107
|
}, v = (0, p.useCallback)(() => {
|
|
109
108
|
localStorage.setItem(r, "false"), g(!1), n == null || n();
|
|
110
109
|
}, [n]);
|
|
111
110
|
return (0, p.useEffect)(() => {
|
|
112
|
-
if (!f || !o || typeof navigator > "u" || !
|
|
111
|
+
if (!f || !o || typeof navigator > "u" || !s) return;
|
|
113
112
|
let e = localStorage.getItem(r);
|
|
114
113
|
if (!e || i) {
|
|
115
114
|
g(!0);
|
|
@@ -131,21 +130,21 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
|
|
|
131
130
|
//#region src/components/GpsLoader.tsx
|
|
132
131
|
function C({ requestCompassAllowed: e }) {
|
|
133
132
|
let [t, n] = (0, p.useState)(!1), i = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
|
|
134
|
-
|
|
133
|
+
u.routeStore.selectCurrentPosition(new l(0, 0, 0, n || r, e, t), !1);
|
|
135
134
|
}, []), a = (0, p.useCallback)(() => {
|
|
136
|
-
|
|
137
|
-
}, [n]),
|
|
138
|
-
|
|
135
|
+
u.routeStore.requestCompass = void 0, n(!1);
|
|
136
|
+
}, [n]), o = (0, p.useCallback)(() => {
|
|
137
|
+
u.routeStore.requestCompass = void 0, n(!1);
|
|
139
138
|
}, [n]);
|
|
140
|
-
return f(() =>
|
|
139
|
+
return f(() => u.uiState.hideCookieConsent, (e) => {
|
|
141
140
|
n(e);
|
|
142
|
-
}), f(() =>
|
|
141
|
+
}), f(() => u.routeStore.requestCompass, (e) => {
|
|
143
142
|
n(e);
|
|
144
143
|
}), /* @__PURE__ */ (0, b.jsx)(S, {
|
|
145
144
|
requestCompass: t,
|
|
146
145
|
requestCompassAllowed: e,
|
|
147
146
|
onRejectCompass: a,
|
|
148
|
-
onAllowCompass:
|
|
147
|
+
onAllowCompass: o,
|
|
149
148
|
orientationStorageKey: r,
|
|
150
149
|
onPositionUpdate: i
|
|
151
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.3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.3.8" };
|
|
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] = "572ee9ff-a05b-4ea5-b6d3-7d3a03e063cf", e._sentryDebugIdIdentifier = "sentry-dbid-572ee9ff-a05b-4ea5-b6d3-7d3a03e063cf");
|
|
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-
|
|
10
|
-
import { n as o, r as s, t as c } from "./storage-
|
|
11
|
-
import {
|
|
9
|
+
import { _ as e, f as t, h as n, s as r, u as i, y as a } from "./i18n-ST-5I_Xd.js";
|
|
10
|
+
import { n as o, r as s, t as c } from "./storage-B0mOBJql.js";
|
|
11
|
+
import { Pt as l, mt as u, o as d } from "./store-Dyrv6nnP.js";
|
|
12
12
|
//#region src/components/Map/pointInConvexQuad.ts
|
|
13
13
|
function f(e, t) {
|
|
14
14
|
let n = 0;
|
|
@@ -86,16 +86,16 @@ var b = new (h = class {
|
|
|
86
86
|
v(this, "savedKiosk", g, this), v(this, "statusMessages", _, this), this.statusMessageTimer = 0, this.initialPtScale = void 0;
|
|
87
87
|
}
|
|
88
88
|
get kiosk() {
|
|
89
|
-
return
|
|
89
|
+
return d.uiState.kioskData;
|
|
90
90
|
}
|
|
91
91
|
setKiosk(e) {
|
|
92
|
-
|
|
92
|
+
d.uiState.setKioskData(e);
|
|
93
93
|
}
|
|
94
94
|
get renderer() {
|
|
95
|
-
return
|
|
95
|
+
return d.rendererService.renderer;
|
|
96
96
|
}
|
|
97
97
|
getCameraState() {
|
|
98
|
-
let e =
|
|
98
|
+
let e = d.rendererService.getCameraState();
|
|
99
99
|
return e ? {
|
|
100
100
|
mapInitialPtScale: this.initialPtScale,
|
|
101
101
|
mapPtScale: e.ptScale,
|
|
@@ -133,21 +133,21 @@ var b = new (h = class {
|
|
|
133
133
|
roll: !0,
|
|
134
134
|
pitch: !0
|
|
135
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 &&
|
|
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 });
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
139
|
restoreData() {
|
|
140
140
|
let e = c();
|
|
141
|
-
return e && (this.setKiosk(e), this.savedKiosk = e,
|
|
141
|
+
return e && (this.setKiosk(e), this.savedKiosk = e, d.uiState.kiosk = !0, this.resetCamera()), e;
|
|
142
142
|
}
|
|
143
143
|
handleSetupReady() {
|
|
144
|
-
this.restoreData(),
|
|
144
|
+
this.restoreData(), d.uiState.kiosk = !0, d.uiState.hideFreeOrDemo = !0, d.uiState.setForceDimm(!0), d.searchStore.setSearchText(""), d.searchStore.setFocused(!1);
|
|
145
145
|
}
|
|
146
146
|
handleClose() {
|
|
147
|
-
this.setKiosk(null),
|
|
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),
|
|
150
|
+
o(), this.setKiosk(null), d.uiState.resetMapSettings(), d.uiState.resetUIScale(), this.resetCamera(), this.addStatusMessage({
|
|
151
151
|
variant: "success",
|
|
152
152
|
title: r("Deleted")
|
|
153
153
|
});
|
|
@@ -164,7 +164,7 @@ var b = new (h = class {
|
|
|
164
164
|
});
|
|
165
165
|
return;
|
|
166
166
|
}
|
|
167
|
-
this.setKiosk(n), s(n),
|
|
167
|
+
this.setKiosk(n), s(n), d.uiState.setUIScale(n.uiScale, !0), this.addStatusMessage({
|
|
168
168
|
variant: "success",
|
|
169
169
|
title: r("Saved")
|
|
170
170
|
}), this.savedKiosk = n;
|
|
@@ -180,7 +180,7 @@ var b = new (h = class {
|
|
|
180
180
|
}), Number.isFinite(e.scale) && (this.setKiosk({
|
|
181
181
|
...t,
|
|
182
182
|
uiScale: e.scale
|
|
183
|
-
}), this.delayChange(() =>
|
|
183
|
+
}), this.delayChange(() => d.uiState.setUIScale(e.scale, !1))), Number.isFinite(e.percent) && this.setKiosk({
|
|
184
184
|
...t,
|
|
185
185
|
iconSizePercent: e.percent
|
|
186
186
|
}));
|
|
@@ -196,7 +196,7 @@ var b = new (h = class {
|
|
|
196
196
|
}
|
|
197
197
|
handleClick(e) {
|
|
198
198
|
var t;
|
|
199
|
-
let n = a(this.kiosk), r =
|
|
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;
|
|
200
200
|
this.setKiosk({
|
|
201
201
|
...n,
|
|
202
202
|
x: e.x,
|
|
@@ -1,22 +1,22 @@
|
|
|
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.3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.3.8" };
|
|
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] = "91304b10-d37a-468b-9d3a-7dbb56afecc1", e._sentryDebugIdIdentifier = "sentry-dbid-91304b10-d37a-468b-9d3a-7dbb56afecc1");
|
|
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 { t as r } from "./classnames-
|
|
13
|
-
import { $n as i,
|
|
14
|
-
import { r as d } from "./mobx-
|
|
15
|
-
import { _ as f, a as p, c as m, d as h, f as g, h as _, i as v, l as y, m as b, o as x, p as S, r as C, s as w, u as T } from "./data-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-Bb8iYlSJ.js";
|
|
10
|
+
import { t } from "./react-CDDaD-I1.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-z-VgZsNI.js";
|
|
12
|
+
import { t as r } from "./classnames-DNY5NR54.js";
|
|
13
|
+
import { $n as i, Kn as a, Yn as o, er as s, o as c, s as l, t as u } from "./store-Dyrv6nnP.js";
|
|
14
|
+
import { r as d } from "./mobx-BGVJo_6r.js";
|
|
15
|
+
import { _ as f, a as p, c as m, d as h, f as g, h as _, i as v, l as y, m as b, o as x, p as S, r as C, s as w, u as T } from "./data-ZH4_sxkL.js";
|
|
16
16
|
//#region src/components/Mapbox/Mapbox.tsx
|
|
17
17
|
var E = /* @__PURE__ */ e(r(), 1), D = /* @__PURE__ */ e(f(), 1), O = /* @__PURE__ */ e(t(), 1), k = n();
|
|
18
18
|
function A() {
|
|
19
|
-
let e = (0, O.useRef)(null), t = (0, O.useRef)(null), n = null, r = [], f =
|
|
19
|
+
let e = (0, O.useRef)(null), t = (0, O.useRef)(null), n = null, r = [], f = i(() => ({
|
|
20
20
|
get initselected() {
|
|
21
21
|
return ![...l.selectedBooths].filter((e) => e.rect);
|
|
22
22
|
},
|
|
@@ -107,7 +107,7 @@ function A() {
|
|
|
107
107
|
!l.moveToLocation || !c.mapboxStore.showMapbox || v();
|
|
108
108
|
}), d(() => l.centerMap, () => {
|
|
109
109
|
!l.centerMap || !c.mapboxStore.showMapbox || (p(o.fromMultiple(u.booths.map((e) => e.rect)), 15), l.centerMap = !1);
|
|
110
|
-
}), d(() => c.routeStore.routeLines, () => b(c.routeStore)), d(() => f.actualCurrentPosition, () => h("cp", f.actualCurrentPosition)),
|
|
110
|
+
}), d(() => c.routeStore.routeLines, () => b(c.routeStore)), d(() => f.actualCurrentPosition, () => h("cp", f.actualCurrentPosition)), s(() => /* @__PURE__ */ (0, k.jsx)("div", {
|
|
111
111
|
style: f.style,
|
|
112
112
|
className: (0, E.default)("map-container", { hidden: !c.mapboxStore.showMapbox }),
|
|
113
113
|
children: /* @__PURE__ */ (0, k.jsx)("div", {
|
|
@@ -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.3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.3.8" };
|
|
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] = "ffca7067-8ff5-4026-83f3-37652224cb47", e._sentryDebugIdIdentifier = "sentry-dbid-ffca7067-8ff5-4026-83f3-37652224cb47");
|
|
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-Bb8iYlSJ.js";
|
|
11
|
+
import { t as n } from "./react-CDDaD-I1.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-z-VgZsNI.js";
|
|
13
|
+
import { s as i } from "./i18n-ST-5I_Xd.js";
|
|
14
|
+
import { t as a } from "./react-dom-B1aPQ40g.js";
|
|
15
|
+
import { t as o } from "./classnames-DNY5NR54.js";
|
|
16
|
+
import { Zn as s } from "./store-Dyrv6nnP.js";
|
|
17
|
+
import { t as c } from "./useRenderTarget-rq9Hu7Z3.js";
|
|
18
18
|
//#region src/components/Modal.scss
|
|
19
19
|
var l = /* @__PURE__ */ t(n(), 1), u = /* @__PURE__ */ t(a(), 1), d = /* @__PURE__ */ t(o(), 1), f = /* @__PURE__ */ e({ default: () => m }), p = r(), m = ({ open: e, className: t, type: n = "default", title: r, badge: a, maxWidth: o, children: f, closeLabel: m, footerLeft: h = [], footerRight: g = [], onClickClose: _ }) => {
|
|
20
20
|
let v = c(), y = (0, l.useRef)(null), [b, x] = (0, l.useState)(e), [S, C] = (0, l.useState)(e);
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='undefined') return; var shadow=!forceLightDom&&typeof window!=='undefined'&&window.__efpShadowDOMStyleParent; var parent=shadow||document.head; var s=document.createElement('style'); s.setAttribute('data-chunk-style', id); s.appendChild(document.createTextNode(css)); parent.appendChild(s);}
|
|
2
|
+
(function() {
|
|
3
|
+
try {
|
|
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.3.8" };
|
|
6
|
+
var t = new e.Error().stack;
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4c2e0f86-89fb-454b-bfd7-e6d51038dcd6", e._sentryDebugIdIdentifier = "sentry-dbid-4c2e0f86-89fb-454b-bfd7-e6d51038dcd6");
|
|
8
|
+
} catch {}
|
|
9
|
+
})();
|
|
10
|
+
import { r as e } from "./rolldown-runtime-Bb8iYlSJ.js";
|
|
11
|
+
import { t } from "./react-CDDaD-I1.js";
|
|
12
|
+
import { t as n } from "./jsx-runtime-z-VgZsNI.js";
|
|
13
|
+
import { t as r } from "./classnames-DNY5NR54.js";
|
|
14
|
+
import { Zn as i } from "./store-Dyrv6nnP.js";
|
|
15
|
+
//#region src/ui/PermissionNotice/PermissionNotice.scss
|
|
16
|
+
var a = /* @__PURE__ */ e(t(), 1), o = /* @__PURE__ */ e(r(), 1), s = n(), c = ({ title: e, acceptText: t, rejectText: n, children: r, placement: c = "bottom-right", onAccept: l, onReject: u, className: d }) => {
|
|
17
|
+
let f = (0, a.useId)(), p = (0, a.useId)();
|
|
18
|
+
return /* @__PURE__ */ (0, s.jsxs)("div", {
|
|
19
|
+
className: (0, o.default)("efp-permission-notice", `efp-permission-notice--${c}`, d),
|
|
20
|
+
role: "dialog",
|
|
21
|
+
"aria-labelledby": f,
|
|
22
|
+
"aria-describedby": p,
|
|
23
|
+
children: [
|
|
24
|
+
/* @__PURE__ */ (0, s.jsx)("div", {
|
|
25
|
+
className: "efp-permission-notice__title",
|
|
26
|
+
id: f,
|
|
27
|
+
children: e
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ (0, s.jsx)("div", {
|
|
30
|
+
className: "efp-permission-notice__text",
|
|
31
|
+
id: p,
|
|
32
|
+
children: r
|
|
33
|
+
}),
|
|
34
|
+
/* @__PURE__ */ (0, s.jsxs)("div", {
|
|
35
|
+
className: "efp-permission-notice__bottom",
|
|
36
|
+
children: [/* @__PURE__ */ (0, s.jsx)(i, {
|
|
37
|
+
size: "md",
|
|
38
|
+
onClick: l,
|
|
39
|
+
children: t
|
|
40
|
+
}), /* @__PURE__ */ (0, s.jsx)(i, {
|
|
41
|
+
size: "md",
|
|
42
|
+
variant: "gray",
|
|
43
|
+
onClick: u,
|
|
44
|
+
children: n
|
|
45
|
+
})]
|
|
46
|
+
})
|
|
47
|
+
]
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
//#endregion
|
|
51
|
+
export { c as t };
|
|
52
|
+
|
|
53
|
+
;/* vite-per-chunk-css */
|
|
54
|
+
__vite_inject_css__(".efp-permission-notice{bottom:calc(.5rem * var(--ui-scale));z-index:9999;gap:calc(.5rem * var(--ui-scale));width:100%;max-width:370px;padding:calc(.75rem * var(--ui-scale)) calc(1rem * var(--ui-scale)) calc(.875rem * var(--ui-scale));background:var(--color-white);border-radius:var(--border-radius-2xl);box-shadow:var(--shadow-sm);letter-spacing:.01em;margin-left:auto;margin-right:auto;display:grid;position:absolute}.efp-permission-notice__title{font-size:var(--font-size-xxl);font-weight:var(--font-weight-medium);color:var(--color-black)}.efp-permission-notice__text{font-size:var(--font-size-lg)}.efp-permission-notice__bottom{gap:calc(.625rem * var(--ui-scale));padding-top:calc(.5rem * var(--ui-scale));display:flex}.efp-permission-notice__bottom .efp-button{min-width:unset}.efp-permission-notice__bottom .efp-button--primary{flex:2}.efp-permission-notice__bottom .efp-button--gray{flex:1}.efp-permission-notice a{border-bottom:1px solid var(--color-black);color:var(--color-black);text-decoration:none}.efp-permission-notice a:hover{border-color:var(--color-primary);color:var(--color-primary)}.efp-permission-notice--bottom-right{right:calc(.5rem * var(--ui-scale))}@media (min-width:768px){.efp-permission-notice--bottom-left{left:calc(.5rem * var(--ui-scale))}}@media (max-width:768px){.efp-permission-notice{width:95%;max-width:unset;left:0;right:0}}[dir=rtl] .efp-permission-notice--bottom-right{right:unset;left:calc(.5rem * var(--ui-scale))}@media (min-width:768px){[dir=rtl] .efp-permission-notice--bottom-left{right:calc(.5rem * var(--ui-scale));left:unset}}\n/*$vite$:1*/", "PermissionNotice.css", false);
|
|
@@ -1,29 +1,29 @@
|
|
|
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.3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.3.8" };
|
|
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] = "f44b4db9-8e97-4f7b-9120-489a062241a8", e._sentryDebugIdIdentifier = "sentry-dbid-f44b4db9-8e97-4f7b-9120-489a062241a8");
|
|
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 { E as r, Mt as i,
|
|
13
|
-
import { n as c } from "./mobx-
|
|
14
|
-
import { t as l } from "./KioskStore-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-Bb8iYlSJ.js";
|
|
10
|
+
import { t } from "./react-CDDaD-I1.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-z-VgZsNI.js";
|
|
12
|
+
import { E as r, Mt as i, Nt as a, Qn as o, o as s } from "./store-Dyrv6nnP.js";
|
|
13
|
+
import { n as c } from "./mobx-BGVJo_6r.js";
|
|
14
|
+
import { t as l } from "./KioskStore-D1jnGTbv.js";
|
|
15
15
|
//#region src/components/Kiosk/SetKioskMode.tsx
|
|
16
|
-
var u = /* @__PURE__ */ e(t(), 1), d = n(), f =
|
|
16
|
+
var u = /* @__PURE__ */ e(t(), 1), d = n(), f = o(() => {
|
|
17
17
|
var e, t, n;
|
|
18
18
|
c(() => {
|
|
19
19
|
Promise.resolve().then(() => l.handleSetupReady());
|
|
20
20
|
}), (0, u.useEffect)(() => {
|
|
21
21
|
let e = ({ ptScale: e, sceneId: t }) => {
|
|
22
|
-
|
|
22
|
+
i(t) && l.setInitialPtScale(e);
|
|
23
23
|
};
|
|
24
24
|
l.renderer.events.addEventListener("viewport:ptscale", e);
|
|
25
25
|
let t = ({ data: e }) => {
|
|
26
|
-
let { point: t } =
|
|
26
|
+
let { point: t } = a(e);
|
|
27
27
|
l.handleClick(t);
|
|
28
28
|
};
|
|
29
29
|
l.renderer.events.addEventListener("pointer:click", t);
|
|
@@ -32,19 +32,19 @@ var u = /* @__PURE__ */ e(t(), 1), d = n(), f = a(() => {
|
|
|
32
32
|
l.renderer.events.removeEventListener("viewport:ptscale", e), l.renderer.events.removeEventListener("pointer:click", t), l.renderer.events.removeEventListener("navigation:change", n);
|
|
33
33
|
};
|
|
34
34
|
}, [l.renderer]);
|
|
35
|
-
let
|
|
35
|
+
let o = !!l.kiosk;
|
|
36
36
|
return /* @__PURE__ */ (0, d.jsx)(r, {
|
|
37
|
-
isSaveDisabled:
|
|
38
|
-
isDeleteDisabled: !
|
|
39
|
-
areControlsDisabled: !
|
|
40
|
-
confirmOnClose:
|
|
37
|
+
isSaveDisabled: o ? !l.hasUnsavedChanges : !0,
|
|
38
|
+
isDeleteDisabled: !o,
|
|
39
|
+
areControlsDisabled: !o,
|
|
40
|
+
confirmOnClose: o ? l.hasUnsavedChanges : !1,
|
|
41
41
|
angle: ((e = l.kiosk) == null ? void 0 : e.heading) || 0,
|
|
42
42
|
uiScale: ((t = l.kiosk) == null ? void 0 : t.uiScale) || s.uiState.uiScale,
|
|
43
43
|
minUiScale: s.uiState.minUIScale,
|
|
44
44
|
maxUiScale: s.uiState.maxUIScale,
|
|
45
45
|
uiScaleStep: .01,
|
|
46
46
|
iconSizePercent: ((n = l.kiosk) == null ? void 0 : n.iconSizePercent) || 100,
|
|
47
|
-
isInfoVisible: !
|
|
47
|
+
isInfoVisible: !o,
|
|
48
48
|
statusMessages: l.statusMessages,
|
|
49
49
|
onClose: () => l.handleClose(),
|
|
50
50
|
onDelete: () => l.handleDelete(),
|