@expofp/floorplan 3.0.4 → 3.1.0
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-20OSplsa.js → CookieConsent-Dmv0fV6C.js} +1263 -1261
- package/dist/browser/{Debug-DVY7QSH3.js → Debug-Bcinws3Z.js} +7 -7
- package/dist/browser/{Demo-qAITctPP.js → Demo-DS47GBXP.js} +11 -11
- package/dist/browser/Free-rMJSKekB.js +63 -0
- package/dist/browser/{Gallery-BhQo5kwQ.js → Gallery-DfAH39db.js} +16 -16
- package/dist/browser/{GpsLoader-CiHW2urc.js → GpsLoader-g5ZbaNN8.js} +21 -21
- package/dist/browser/{KioskStore-CwZLrrqy.js → KioskStore-BkI0W5G_.js} +16 -16
- package/dist/browser/{Mapbox-C65ZvpNQ.js → Mapbox-U0Xp-dJy.js} +18 -18
- package/dist/browser/{SetKioskMode-C4z7Sz25.js → SetKioskMode-Mtfet5Gv.js} +19 -19
- package/dist/browser/ShowKiosk-S_x_8I5m.js +26 -0
- package/dist/browser/{ThreeComponent-BXwxseVE.js → ThreeComponent-Cn-bMeXV.js} +282 -282
- package/dist/browser/{TouchHand-Dz318pf9.js → TouchHand-CkxqOSSr.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-CAK4bMYg.js → ViewerMenuPanel-1IlAn-bB.js} +19 -19
- package/dist/browser/{add-debug-secret-listener-Bji6Xb0a.js → add-debug-secret-listener-DRPQKt-Q.js} +1 -1
- package/dist/browser/{boolean-editor-D6nJvUln.js → boolean-editor-B4geQ7PH.js} +6 -6
- package/dist/browser/bundle.json +43 -43
- package/dist/browser/{chunk-DtdTVMkx.js → chunk-BRl5Kkpd.js} +1 -1
- package/dist/browser/{classnames-DLO4G2Aq.js → classnames-CCxYAYKJ.js} +2 -2
- package/dist/browser/{client-D4nNjEPG.js → client-B7XtGJWm.js} +4 -4
- package/dist/browser/{data-RX6r34oF.js → data-C-4ggWJI.js} +565 -565
- package/dist/browser/{debug-overlay-rk1N_z9_.js → debug-overlay-BygOMeRE.js} +8 -8
- package/dist/browser/{debug-ui-DE0fncQV.js → debug-ui-CMv0d865.js} +6 -6
- package/dist/browser/{dist-tX7hWUmY.js → dist-waqn7yPH.js} +5 -5
- package/dist/browser/{exports-Pb-YuGCR.js → exports-DNYbSw5O.js} +1 -1
- package/dist/browser/{favicon-DwSbd3PB.js → favicon-DzIGribB.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BI9-HPVK.js → fetch-retry.umd-BU4QgqQf.js} +5 -5
- package/dist/browser/{flex-D-cGnQFh.js → flex-DV5_d5uA.js} +6 -6
- package/dist/browser/{floorplan.loader-C01OVaKo.js → floorplan.loader-C6blBYy5.js} +583 -528
- package/dist/browser/{floorplan.ready-BIdCL_qu.js → floorplan.ready-m2MeP7t6.js} +122 -122
- package/dist/browser/{fuse-DXAWz_SJ.js → fuse-eB0NJP2Y.js} +2 -2
- package/dist/browser/index.js +11 -11
- package/dist/browser/{is-debug-2b59TgVY.js → is-debug-DNx7lu9r.js} +47 -47
- package/dist/browser/{jsx-runtime-BQn2tbwC.js → jsx-runtime-Dx6Zx-sv.js} +2 -2
- package/dist/browser/{lib-D4g_-i_A.js → lib-BqFjGC1G.js} +4 -4
- package/dist/browser/{main-C7b3KFSJ.js → main-6qqL0RDN.js} +1 -1
- package/dist/browser/{mobx-Cl5IBMNd.js → mobx-DSw3E2kR.js} +4 -4
- package/dist/browser/{particles.min-fCrqBF0H.js → particles.min-Ba1191wA.js} +2 -2
- package/dist/browser/{prop-types-CBcnHoAH.js → prop-types-Cq4o6XvT.js} +2 -2
- package/dist/browser/{react-CuflrHKC.js → react-DgeLxkYu.js} +2 -2
- package/dist/browser/{react-dom-C7lq59RX.js → react-dom-Beeufw5z.js} +3 -3
- package/dist/browser/{reset-all-settings-DbcfYPlT.js → reset-all-settings-D5a3_fuL.js} +1 -1
- package/dist/browser/{settings-CgR5mVuh.js → settings-R89Rs7v3.js} +6 -6
- package/dist/browser/{src-C9-vYgd8.js → src-Cq6JROJE.js} +4 -4
- package/dist/browser/{store-BCWrifaL.js → store-Csjg3ohh.js} +383 -354
- package/dist/browser/{ui-BUETQfZK.js → ui-DZGXCYdz.js} +6 -6
- package/dist/esm/components/Controls.js +1 -1
- package/dist/esm/components/CookieConsent.js +1 -1
- package/dist/esm/components/Free.js +1 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/PermissionNotice/PermissionNotice.d.ts +1 -0
- package/dist/esm/components/PermissionNotice/PermissionNotice.js +1 -1
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/store/UIState.d.ts +1 -0
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/tools/expofpUrl.d.ts +7 -0
- package/dist/esm/tools/expofpUrl.js +1 -0
- package/dist/esm/tools/freeBanner.d.ts +5 -0
- package/dist/esm/tools/freeBanner.js +1 -0
- package/dist/esm/tools/intercom.d.ts +12 -0
- package/dist/esm/tools/intercom.js +19 -0
- package/package.json +3 -3
- package/dist/browser/Free-DAX07Faq.js +0 -66
- package/dist/browser/ShowKiosk-stxqqSB7.js +0 -26
|
@@ -2,16 +2,16 @@ function __vite_inject_css__(css, id){ if (typeof document==='undefined') retur
|
|
|
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.0
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.1.0" };
|
|
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] = "01bb3e48-0ee2-49f2-9848-14b7cf9ac31d", e._sentryDebugIdIdentifier = "sentry-dbid-01bb3e48-0ee2-49f2-9848-14b7cf9ac31d");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import { u as e } from "./is-debug-
|
|
12
|
-
import { t } from "./react-
|
|
13
|
-
import { t as n } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
10
|
+
import "./chunk-BRl5Kkpd.js";
|
|
11
|
+
import { u as e } from "./is-debug-DNx7lu9r.js";
|
|
12
|
+
import { t } from "./react-DgeLxkYu.js";
|
|
13
|
+
import { t as n } from "./jsx-runtime-Dx6Zx-sv.js";
|
|
14
|
+
import { Yn as r, a as i, o as a } from "./store-Csjg3ohh.js";
|
|
15
15
|
t();
|
|
16
16
|
var o = [], s = n();
|
|
17
17
|
function c() {
|
|
@@ -2,22 +2,22 @@ function __vite_inject_css__(css, id){ if (typeof document==='undefined') retur
|
|
|
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.0
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.1.0" };
|
|
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] = "92ca4a2d-214e-4426-8a66-742f77bece38", e._sentryDebugIdIdentifier = "sentry-dbid-92ca4a2d-214e-4426-8a66-742f77bece38");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./chunk-
|
|
11
|
-
import { u as n } from "./is-debug-
|
|
12
|
-
import { t as r } from "./react-
|
|
13
|
-
import { t as i } from "./jsx-runtime-
|
|
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 "./chunk-BRl5Kkpd.js";
|
|
11
|
+
import { u as n } from "./is-debug-DNx7lu9r.js";
|
|
12
|
+
import { t as r } from "./react-DgeLxkYu.js";
|
|
13
|
+
import { t as i } from "./jsx-runtime-Dx6Zx-sv.js";
|
|
14
|
+
import { t as a } from "./classnames-CCxYAYKJ.js";
|
|
15
|
+
import { Jn as o, Yn as s, o as c } from "./store-Csjg3ohh.js";
|
|
16
|
+
import { n as l } from "./mobx-DSw3E2kR.js";
|
|
17
17
|
r();
|
|
18
18
|
var u = /* @__PURE__ */ t(a(), 1), d = /* @__PURE__ */ e({ default: () => m }), f = i(), 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",
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
function __vite_inject_css__(css, id){ if (typeof document==='undefined') return; var parent=(typeof window!=='undefined'&&window.__efpShadowDOMStyleParent)||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.1.0" };
|
|
6
|
+
var t = new e.Error().stack;
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2fab5f17-97fc-49c1-932b-644719897a2d", e._sentryDebugIdIdentifier = "sentry-dbid-2fab5f17-97fc-49c1-932b-644719897a2d");
|
|
8
|
+
} catch {}
|
|
9
|
+
})();
|
|
10
|
+
import { r as e } from "./chunk-BRl5Kkpd.js";
|
|
11
|
+
import { u as t } from "./is-debug-DNx7lu9r.js";
|
|
12
|
+
import { t as n } from "./react-DgeLxkYu.js";
|
|
13
|
+
import { t as r } from "./jsx-runtime-Dx6Zx-sv.js";
|
|
14
|
+
import { t as i } from "./classnames-CCxYAYKJ.js";
|
|
15
|
+
import { Jn as a, Yn as o, c as s, l as c, o as l } from "./store-Csjg3ohh.js";
|
|
16
|
+
import { n as u } from "./mobx-DSw3E2kR.js";
|
|
17
|
+
n();
|
|
18
|
+
var d = /* @__PURE__ */ e(i(), 1), f = r();
|
|
19
|
+
function p() {
|
|
20
|
+
let e = a(() => ({
|
|
21
|
+
hidden: !0,
|
|
22
|
+
get classes() {
|
|
23
|
+
return (0, d.default)("free", { hidden: this.hidden });
|
|
24
|
+
}
|
|
25
|
+
}));
|
|
26
|
+
return u(() => {
|
|
27
|
+
l.freeBannerDismissed || window.setTimeout(() => {
|
|
28
|
+
e.hidden = !1;
|
|
29
|
+
}, 2e3);
|
|
30
|
+
}), o(() => /* @__PURE__ */ (0, f.jsx)("div", {
|
|
31
|
+
className: e.classes,
|
|
32
|
+
children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
|
|
33
|
+
className: "free__message",
|
|
34
|
+
children: /* @__PURE__ */ (0, f.jsxs)("span", { children: [
|
|
35
|
+
t("Create a free floor plan at"),
|
|
36
|
+
"\xA0",
|
|
37
|
+
/* @__PURE__ */ (0, f.jsx)("a", {
|
|
38
|
+
href: s(),
|
|
39
|
+
target: "_blank",
|
|
40
|
+
rel: "noopener noreferrer",
|
|
41
|
+
children: "ExpoFP.com"
|
|
42
|
+
})
|
|
43
|
+
] })
|
|
44
|
+
}), /* @__PURE__ */ (0, f.jsx)("button", {
|
|
45
|
+
type: "button",
|
|
46
|
+
className: "free__dismiss",
|
|
47
|
+
onClick: n,
|
|
48
|
+
"aria-label": t("Dismiss"),
|
|
49
|
+
children: /* @__PURE__ */ (0, f.jsx)("i", {
|
|
50
|
+
className: "icon-close",
|
|
51
|
+
"aria-hidden": "true"
|
|
52
|
+
})
|
|
53
|
+
})] })
|
|
54
|
+
}));
|
|
55
|
+
function n() {
|
|
56
|
+
e.hidden = !0, c(sessionStorage), l.freeBannerDismissed = !0;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
//#endregion
|
|
60
|
+
export { p as default };
|
|
61
|
+
|
|
62
|
+
;/* vite-per-chunk-css */
|
|
63
|
+
__vite_inject_css__(".free{opacity:1;background:linear-gradient(90deg,#e5175c,#5c17e5);justify-content:center;width:100%;min-height:2.5rem;transition:all .5s;display:flex;position:absolute;top:0}.free>section{-webkit-user-select:none;user-select:none;padding:.2rem .5rem;font-size:.8rem;display:flex}.free__message{color:#fff;align-items:center;display:flex}.free__message a{color:#fff;text-decoration:underline}.free__dismiss{opacity:.8;color:#fff;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;font-size:1rem;line-height:1;transition:opacity .2s;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.free__dismiss:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:.5rem}.free__dismiss:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:.5rem}.free__dismiss:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:.5rem}.free__dismiss:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:.5rem}.free__dismiss:hover{opacity:1}@media print{.free__dismiss{display:none}}@media (min-width:768px){.free{min-height:3.25rem}.free>section{padding:.5rem}.free .free__message{color:#ffffffe6;font-size:1.5rem;font-weight:300}.free .free__dismiss{font-size:1.5rem}}.free.hidden{transform:translateY(-100%)}\n/*$vite$:1*/", "Free.css");
|
|
@@ -2,18 +2,18 @@ function __vite_inject_css__(css, id){ if (typeof document==='undefined') retur
|
|
|
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.0
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.1.0" };
|
|
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] = "b85747d7-6d57-4199-876f-a070f35dc72c", e._sentryDebugIdIdentifier = "sentry-dbid-b85747d7-6d57-4199-876f-a070f35dc72c");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./chunk-
|
|
11
|
-
import { u as n } from "./is-debug-
|
|
12
|
-
import { t as r } from "./react-
|
|
13
|
-
import { t as i } from "./react-dom-
|
|
14
|
-
import { t as a } from "./jsx-runtime-
|
|
15
|
-
import { t as o } from "./classnames-
|
|
16
|
-
import {
|
|
10
|
+
import { n as e, r as t } from "./chunk-BRl5Kkpd.js";
|
|
11
|
+
import { u as n } from "./is-debug-DNx7lu9r.js";
|
|
12
|
+
import { t as r } from "./react-DgeLxkYu.js";
|
|
13
|
+
import { t as i } from "./react-dom-Beeufw5z.js";
|
|
14
|
+
import { t as a } from "./jsx-runtime-Dx6Zx-sv.js";
|
|
15
|
+
import { t as o } from "./classnames-CCxYAYKJ.js";
|
|
16
|
+
import { o as s, qn as c } from "./store-Csjg3ohh.js";
|
|
17
17
|
//#region src/utils/getRenderTargetFromRoot.ts
|
|
18
18
|
var l = /* @__PURE__ */ t(r(), 1), u = /* @__PURE__ */ t(i(), 1), d = a(), f = /* @__PURE__ */ t(o(), 1);
|
|
19
19
|
function p(e) {
|
|
@@ -29,16 +29,16 @@ function p(e) {
|
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/utils/useRenderTarget.ts
|
|
31
31
|
var m = () => {
|
|
32
|
-
let [e, t] = (0, l.useState)(() => p(
|
|
32
|
+
let [e, t] = (0, l.useState)(() => p(s.rootElement));
|
|
33
33
|
return (0, l.useEffect)(() => {
|
|
34
34
|
var e, n;
|
|
35
|
-
if (typeof window > "u" || !
|
|
35
|
+
if (typeof window > "u" || !s.rootElement) return;
|
|
36
36
|
let r = !1, i = null, a = () => {
|
|
37
|
-
let e = p(
|
|
37
|
+
let e = p(s.rootElement);
|
|
38
38
|
return e && !r ? (t((t) => t === e ? t : e), !0) : !1;
|
|
39
39
|
};
|
|
40
40
|
if (a()) return;
|
|
41
|
-
let o = (e = (n =
|
|
41
|
+
let o = (e = (n = s.rootElement.firstElementChild) == null ? void 0 : n.shadowRoot) == null ? s.rootElement : e;
|
|
42
42
|
return i = new MutationObserver(() => {
|
|
43
43
|
a() && i && i.disconnect();
|
|
44
44
|
}), i.observe(o, {
|
|
@@ -47,7 +47,7 @@ var m = () => {
|
|
|
47
47
|
}), () => {
|
|
48
48
|
r = !0, i && i.disconnect();
|
|
49
49
|
};
|
|
50
|
-
}, [
|
|
50
|
+
}, [s.rootElement]), e;
|
|
51
51
|
}, h = ({ count: e, onFullscreen: t }) => /* @__PURE__ */ (0, d.jsxs)(d.Fragment, { children: [/* @__PURE__ */ (0, d.jsxs)("div", {
|
|
52
52
|
className: "gallery__badge gallery__badge-count",
|
|
53
53
|
children: [/* @__PURE__ */ (0, d.jsx)("i", { className: "icon-image" }), /* @__PURE__ */ (0, d.jsx)("span", { children: e })]
|
|
@@ -3096,7 +3096,7 @@ var Ar = function(e) {
|
|
|
3096
3096
|
r(), n == null || n();
|
|
3097
3097
|
};
|
|
3098
3098
|
}, [e, t]);
|
|
3099
|
-
}, Nr =
|
|
3099
|
+
}, Nr = c(({ zoomIn: e, zoomOut: t, onClose: r }) => /* @__PURE__ */ (0, d.jsxs)("div", {
|
|
3100
3100
|
className: "gallery-slider__controls",
|
|
3101
3101
|
children: [
|
|
3102
3102
|
/* @__PURE__ */ (0, d.jsx)("button", {
|
|
@@ -3140,7 +3140,7 @@ var Ar = function(e) {
|
|
|
3140
3140
|
leading: t,
|
|
3141
3141
|
url: n
|
|
3142
3142
|
})
|
|
3143
|
-
})), Fr =
|
|
3143
|
+
})), Fr = c((e) => {
|
|
3144
3144
|
let { images: t, leading: r, initialSlideIndex: i, onClose: a, className: o } = e, s = m(), [c, p] = (0, l.useState)(i), [h, g] = (0, l.useState)([]), _ = (0, l.useRef)(null), v = (0, l.useRef)(null), y = (0, l.useRef)(null), b = {
|
|
3145
3145
|
initialSlide: i,
|
|
3146
3146
|
draggable: !1,
|
|
@@ -1,18 +1,18 @@
|
|
|
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.0
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.0" };
|
|
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] = "c88bffff-4176-438e-9059-9a3ba1992d06", e._sentryDebugIdIdentifier = "sentry-dbid-c88bffff-4176-438e-9059-9a3ba1992d06");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./chunk-
|
|
10
|
-
import { Tt as t, u as n, ut as r } from "./is-debug-
|
|
11
|
-
import { t as i } from "./react-
|
|
12
|
-
import { t as a } from "./jsx-runtime-
|
|
13
|
-
import {
|
|
14
|
-
import { n as d } from "./CookieConsent-
|
|
15
|
-
import { r as f } from "./mobx-
|
|
9
|
+
import { r as e } from "./chunk-BRl5Kkpd.js";
|
|
10
|
+
import { Tt as t, u as n, ut as r } from "./is-debug-DNx7lu9r.js";
|
|
11
|
+
import { t as i } from "./react-DgeLxkYu.js";
|
|
12
|
+
import { t as a } from "./jsx-runtime-Dx6Zx-sv.js";
|
|
13
|
+
import { M as o, a as s, et as c, gt as l, qn as u } from "./store-Csjg3ohh.js";
|
|
14
|
+
import { n as d } from "./CookieConsent-Dmv0fV6C.js";
|
|
15
|
+
import { r as f } from "./mobx-DSw3E2kR.js";
|
|
16
16
|
//#region src/components/gps/utils.ts
|
|
17
17
|
var p = /* @__PURE__ */ e(i(), 1);
|
|
18
18
|
function m(e) {
|
|
@@ -77,7 +77,7 @@ function y(e) {
|
|
|
77
77
|
}
|
|
78
78
|
//#endregion
|
|
79
79
|
//#region src/components/gps/GpsPermissionRequest.tsx
|
|
80
|
-
var b = a(), x =
|
|
80
|
+
var b = a(), x = u(function({ isOpen: e, onAllow: t, onCancel: r }) {
|
|
81
81
|
return e ? /* @__PURE__ */ (0, b.jsx)(d, {
|
|
82
82
|
title: n("Show your position on the map"),
|
|
83
83
|
acceptText: n("Allow compass access"),
|
|
@@ -90,17 +90,17 @@ var b = a(), x = s(function({ isOpen: e, onAllow: t, onCancel: r }) {
|
|
|
90
90
|
//#endregion
|
|
91
91
|
//#region src/components/gps/GpsManager.tsx
|
|
92
92
|
function S({ onPositionUpdate: e, onAllowCompass: n, onRejectCompass: r, orientationStorageKey: i = "compass-permission-granted", requestCompass: a = !0, requestCompassAllowed: o = !0 }) {
|
|
93
|
-
let { startOrientation: s, startGeolocation: c, stopOrientation:
|
|
93
|
+
let { startOrientation: s, startGeolocation: c, 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), c();
|
|
96
96
|
}, (e) => {
|
|
97
97
|
t.warn("Geolocation error:", e), m(!1);
|
|
98
98
|
}), () => {
|
|
99
|
-
|
|
99
|
+
u(), d();
|
|
100
100
|
}), [
|
|
101
101
|
c,
|
|
102
102
|
d,
|
|
103
|
-
|
|
103
|
+
u
|
|
104
104
|
]);
|
|
105
105
|
let _ = async () => {
|
|
106
106
|
typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(i, "true"), s(), g(!1), n == null || n());
|
|
@@ -108,7 +108,7 @@ function S({ onPositionUpdate: e, onAllowCompass: n, onRejectCompass: r, orienta
|
|
|
108
108
|
localStorage.setItem(i, "false"), g(!1), r == null || r();
|
|
109
109
|
}, [r]);
|
|
110
110
|
return (0, p.useEffect)(() => {
|
|
111
|
-
if (!f || !o || typeof navigator > "u" || !
|
|
111
|
+
if (!f || !o || typeof navigator > "u" || !l) return;
|
|
112
112
|
let e = localStorage.getItem(i);
|
|
113
113
|
if (!e || a) {
|
|
114
114
|
g(!0);
|
|
@@ -130,21 +130,21 @@ function S({ onPositionUpdate: e, onAllowCompass: n, onRejectCompass: r, 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
|
-
|
|
133
|
+
s.routeStore.selectCurrentPosition(new o(0, 0, 0, n || r, e, t), !1);
|
|
134
134
|
}, []), a = (0, p.useCallback)(() => {
|
|
135
|
-
|
|
136
|
-
}, [n]),
|
|
137
|
-
|
|
135
|
+
s.routeStore.requestCompass = void 0, n(!1);
|
|
136
|
+
}, [n]), c = (0, p.useCallback)(() => {
|
|
137
|
+
s.routeStore.requestCompass = void 0, n(!1);
|
|
138
138
|
}, [n]);
|
|
139
|
-
return f(() =>
|
|
139
|
+
return f(() => s.uiState.hideCookieConsent, (e) => {
|
|
140
140
|
n(e);
|
|
141
|
-
}), f(() =>
|
|
141
|
+
}), f(() => s.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:
|
|
147
|
+
onAllowCompass: c,
|
|
148
148
|
orientationStorageKey: r,
|
|
149
149
|
onPositionUpdate: i
|
|
150
150
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
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.0
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.0" };
|
|
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] = "a370b2e4-a3ac-44f5-9d39-d31bc80631a4", e._sentryDebugIdIdentifier = "sentry-dbid-a370b2e4-a3ac-44f5-9d39-d31bc80631a4");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { S as e, b as t, h as n, p as r, v as i } from "./is-debug-
|
|
10
|
-
import {
|
|
9
|
+
import { S as e, b as t, h as n, p as r, v as i } from "./is-debug-DNx7lu9r.js";
|
|
10
|
+
import { D as a, E as o, O as s, a as c, lt as l } from "./store-Csjg3ohh.js";
|
|
11
11
|
//#region src/components/Map/visibleArea.ts
|
|
12
12
|
function u(e) {
|
|
13
13
|
let t = e.viewport.canvasToSvg({
|
|
@@ -66,16 +66,16 @@ var _ = new (f = class {
|
|
|
66
66
|
h(this, "savedKiosk", p, this), h(this, "statusMessages", m, this), this.statusMessageTimer = 0, this.initialPtScale = void 0;
|
|
67
67
|
}
|
|
68
68
|
get kiosk() {
|
|
69
|
-
return
|
|
69
|
+
return c.uiState.kioskData;
|
|
70
70
|
}
|
|
71
71
|
setKiosk(e) {
|
|
72
|
-
|
|
72
|
+
c.uiState.setKioskData(e);
|
|
73
73
|
}
|
|
74
74
|
get renderer() {
|
|
75
|
-
return
|
|
75
|
+
return c.rendererService.renderer;
|
|
76
76
|
}
|
|
77
77
|
getCameraState() {
|
|
78
|
-
let e =
|
|
78
|
+
let e = c.rendererService.getCameraState();
|
|
79
79
|
return e ? {
|
|
80
80
|
mapInitialPtScale: this.initialPtScale,
|
|
81
81
|
mapPtScale: e.ptScale,
|
|
@@ -113,21 +113,21 @@ var _ = new (f = class {
|
|
|
113
113
|
roll: !0,
|
|
114
114
|
pitch: !0
|
|
115
115
|
}, !0), t(() => {
|
|
116
|
-
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), e &&
|
|
116
|
+
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), e && c.fp.activateFloor({ name: e });
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
119
|
restoreData() {
|
|
120
120
|
let e = o();
|
|
121
|
-
return e && (this.setKiosk(e), this.savedKiosk = e,
|
|
121
|
+
return e && (this.setKiosk(e), this.savedKiosk = e, c.uiState.kiosk = !0, this.resetCamera()), e;
|
|
122
122
|
}
|
|
123
123
|
handleSetupReady() {
|
|
124
|
-
this.restoreData(),
|
|
124
|
+
this.restoreData(), c.uiState.kiosk = !0, c.uiState.hideFreeOrDemo = !0, c.uiState.setForceDimm(!0), c.searchStore.setSearchText(""), c.searchStore.setFocused(!1);
|
|
125
125
|
}
|
|
126
126
|
handleClose() {
|
|
127
|
-
this.setKiosk(null),
|
|
127
|
+
this.setKiosk(null), c.uiState.setForceDimm(!1), c.uiState.enableSetKioskMode(!1), c.searchStore.closeSearch(), this.resetCamera();
|
|
128
128
|
}
|
|
129
129
|
handleDelete() {
|
|
130
|
-
a(), this.setKiosk(null),
|
|
130
|
+
a(), this.setKiosk(null), c.uiState.resetMapSettings(), c.uiState.resetUIScale(), this.resetCamera(), this.addStatusMessage({
|
|
131
131
|
variant: "success",
|
|
132
132
|
title: "Deleted"
|
|
133
133
|
});
|
|
@@ -144,7 +144,7 @@ var _ = new (f = class {
|
|
|
144
144
|
});
|
|
145
145
|
return;
|
|
146
146
|
}
|
|
147
|
-
this.setKiosk(r),
|
|
147
|
+
this.setKiosk(r), s(r), c.uiState.setUIScale(r.uiScale, !0), this.addStatusMessage({
|
|
148
148
|
variant: "success",
|
|
149
149
|
title: "Saved"
|
|
150
150
|
}), this.savedKiosk = r;
|
|
@@ -160,7 +160,7 @@ var _ = new (f = class {
|
|
|
160
160
|
}), Number.isFinite(t.scale) && (this.setKiosk({
|
|
161
161
|
...n,
|
|
162
162
|
uiScale: t.scale
|
|
163
|
-
}), this.delayChange(() =>
|
|
163
|
+
}), this.delayChange(() => c.uiState.setUIScale(t.scale, !1))), Number.isFinite(t.percent) && this.setKiosk({
|
|
164
164
|
...n,
|
|
165
165
|
iconSizePercent: t.percent
|
|
166
166
|
}));
|
|
@@ -176,7 +176,7 @@ var _ = new (f = class {
|
|
|
176
176
|
}
|
|
177
177
|
handleClick({ point: t }) {
|
|
178
178
|
var n;
|
|
179
|
-
let r = e(this.kiosk), i =
|
|
179
|
+
let r = e(this.kiosk), i = c.fp.getFloors(), a = l() ? (n = i.find((e) => e.active)) == null ? void 0 : n.name : null, o = c.uiState.uiScale;
|
|
180
180
|
this.setKiosk({
|
|
181
181
|
...r,
|
|
182
182
|
x: t.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.0
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.0" };
|
|
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] = "ca71e52e-0c38-4202-ba86-1bda4d2b843e", e._sentryDebugIdIdentifier = "sentry-dbid-ca71e52e-0c38-4202-ba86-1bda4d2b843e");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./chunk-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { t as r } from "./classnames-
|
|
13
|
-
import { Gn 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 "./chunk-BRl5Kkpd.js";
|
|
10
|
+
import { t } from "./react-DgeLxkYu.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-Dx6Zx-sv.js";
|
|
12
|
+
import { t as r } from "./classnames-CCxYAYKJ.js";
|
|
13
|
+
import { Gn as i, Hn as a, Jn as o, Yn as s, a as c, o as l, t as u } from "./store-Csjg3ohh.js";
|
|
14
|
+
import { r as d } from "./mobx-DSw3E2kR.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-C-4ggWJI.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 = o(() => ({
|
|
20
20
|
get initselected() {
|
|
21
21
|
return ![...l.selectedBooths].filter((e) => e.rect);
|
|
22
22
|
},
|
|
@@ -30,11 +30,11 @@ function A() {
|
|
|
30
30
|
}));
|
|
31
31
|
return (0, O.useEffect)(() => {
|
|
32
32
|
if (!t.current) {
|
|
33
|
-
var { cx: n, cy:
|
|
33
|
+
var { cx: n, cy: o } = x.viewbox;
|
|
34
34
|
t.current = new D.default.Map({
|
|
35
35
|
container: e.current,
|
|
36
36
|
style: `mapbox://styles/mapbox/${x.style}`,
|
|
37
|
-
center: [n,
|
|
37
|
+
center: [n, o],
|
|
38
38
|
zoom: 15.5,
|
|
39
39
|
bearing: x.initBearing - 30,
|
|
40
40
|
pitch: x.initPitch + 30,
|
|
@@ -43,7 +43,7 @@ function A() {
|
|
|
43
43
|
accessToken: x.token
|
|
44
44
|
}), T(t.current), t.current.on("load", async () => {
|
|
45
45
|
var e;
|
|
46
|
-
setTimeout(() => p(f.initselected ?
|
|
46
|
+
setTimeout(() => p(f.initselected ? i.fromMultiple([...l.selectedBooths].filter((e) => e.rect).map((e) => e.rect)) : a, 15, 4e3), 1500), t.current.setLight({
|
|
47
47
|
anchor: "viewport",
|
|
48
48
|
color: "white",
|
|
49
49
|
intensity: 0
|
|
@@ -53,8 +53,8 @@ function A() {
|
|
|
53
53
|
x: c.routeStore.defaultFrom.rect.cx,
|
|
54
54
|
y: c.routeStore.defaultFrom.rect.cy
|
|
55
55
|
} : null), h("cp", f.actualCurrentPosition), r = y(c.layerStore.layers);
|
|
56
|
-
let
|
|
57
|
-
b(c.routeStore), w(), t.current.on("mouseenter",
|
|
56
|
+
let o = r.filter((e) => e.indexOf("--") === -1);
|
|
57
|
+
b(c.routeStore), w(), t.current.on("mouseenter", o, () => t.current.getCanvas().style.cursor = "pointer"), t.current.on("mouseleave", o, () => t.current.getCanvas().style.cursor = ""), t.current.on("click", (e) => {
|
|
58
58
|
let n = [[e.point.x - 5, e.point.y - 5], [e.point.x + 5, e.point.y + 5]], i = t.current.queryRenderedFeatures(n, { layers: r })[0], a = c.boothStore.booths.find((e) => {
|
|
59
59
|
var t;
|
|
60
60
|
return e.name === (i == null || (t = i.properties) == null ? void 0 : t.id);
|
|
@@ -99,15 +99,15 @@ function A() {
|
|
|
99
99
|
g(c.mapboxStore.showMapbox);
|
|
100
100
|
}), d(() => l.moveToBooths, () => {
|
|
101
101
|
if (!l.moveToBooths || !c.mapboxStore.showMapbox) return;
|
|
102
|
-
let e = l.moveToBooths.filter((e) => e.rect).map((e) => e.rect), t =
|
|
102
|
+
let e = l.moveToBooths.filter((e) => e.rect).map((e) => e.rect), t = i.fromMultiple(e);
|
|
103
103
|
e.length && p(t), l.moveToBooths = null;
|
|
104
104
|
}), d(() => l.moveToRect, () => {
|
|
105
105
|
!l.moveToRect || !c.mapboxStore.showMapbox || (p(l.moveToRect, 15), l.moveToRect = null);
|
|
106
106
|
}), d(() => l.moveToLocation, () => {
|
|
107
107
|
!l.moveToLocation || !c.mapboxStore.showMapbox || v();
|
|
108
108
|
}), d(() => l.centerMap, () => {
|
|
109
|
-
!l.centerMap || !c.mapboxStore.showMapbox || (p(
|
|
110
|
-
}), d(() => c.routeStore.routeLines, () => b(c.routeStore)), d(() => f.actualCurrentPosition, () => h("cp", f.actualCurrentPosition)),
|
|
109
|
+
!l.centerMap || !c.mapboxStore.showMapbox || (p(i.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)), 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", {
|
|
@@ -1,19 +1,19 @@
|
|
|
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.0
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.0" };
|
|
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] = "e52b582f-d273-4e93-828b-cb90884730fc", e._sentryDebugIdIdentifier = "sentry-dbid-e52b582f-d273-4e93-828b-cb90884730fc");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./chunk-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import {
|
|
13
|
-
import { n as o } from "./mobx-
|
|
14
|
-
import { t as s } from "./KioskStore-
|
|
9
|
+
import { r as e } from "./chunk-BRl5Kkpd.js";
|
|
10
|
+
import { t } from "./react-DgeLxkYu.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-Dx6Zx-sv.js";
|
|
12
|
+
import { a as r, k as i, qn as a } from "./store-Csjg3ohh.js";
|
|
13
|
+
import { n as o } from "./mobx-DSw3E2kR.js";
|
|
14
|
+
import { t as s } from "./KioskStore-BkI0W5G_.js";
|
|
15
15
|
//#region src/components/Kiosk/SetKioskMode.tsx
|
|
16
|
-
var c = /* @__PURE__ */ e(t(), 1), l = n(), u =
|
|
16
|
+
var c = /* @__PURE__ */ e(t(), 1), l = n(), u = a(() => {
|
|
17
17
|
var e, t, n;
|
|
18
18
|
o(() => s.handleSetupReady()), (0, c.useEffect)(() => {
|
|
19
19
|
let e = (e) => s.setInitialPtScale(e);
|
|
@@ -25,19 +25,19 @@ var c = /* @__PURE__ */ e(t(), 1), l = n(), u = i(() => {
|
|
|
25
25
|
s.renderer.events.removeEventListener("viewport:ptscale", e), s.renderer.events.removeEventListener("pointer:click", t), s.renderer.events.removeEventListener("navigation:change", n);
|
|
26
26
|
};
|
|
27
27
|
}, [s.renderer]);
|
|
28
|
-
let
|
|
29
|
-
return /* @__PURE__ */ (0, l.jsx)(
|
|
30
|
-
isSaveDisabled:
|
|
31
|
-
isDeleteDisabled: !
|
|
32
|
-
areControlsDisabled: !
|
|
33
|
-
confirmOnClose:
|
|
28
|
+
let a = !!s.kiosk;
|
|
29
|
+
return /* @__PURE__ */ (0, l.jsx)(i, {
|
|
30
|
+
isSaveDisabled: a ? !s.hasUnsavedChanges : !0,
|
|
31
|
+
isDeleteDisabled: !a,
|
|
32
|
+
areControlsDisabled: !a,
|
|
33
|
+
confirmOnClose: a ? s.hasUnsavedChanges : !1,
|
|
34
34
|
angle: ((e = s.kiosk) == null ? void 0 : e.heading) || 0,
|
|
35
|
-
uiScale: ((t = s.kiosk) == null ? void 0 : t.uiScale) ||
|
|
36
|
-
minUiScale:
|
|
37
|
-
maxUiScale:
|
|
35
|
+
uiScale: ((t = s.kiosk) == null ? void 0 : t.uiScale) || r.uiState.uiScale,
|
|
36
|
+
minUiScale: r.uiState.minUIScale,
|
|
37
|
+
maxUiScale: r.uiState.maxUIScale,
|
|
38
38
|
uiScaleStep: .01,
|
|
39
39
|
iconSizePercent: ((n = s.kiosk) == null ? void 0 : n.iconSizePercent) || 100,
|
|
40
|
-
isInfoVisible: !
|
|
40
|
+
isInfoVisible: !a,
|
|
41
41
|
statusMessages: s.statusMessages,
|
|
42
42
|
onClose: () => s.handleClose(),
|
|
43
43
|
onDelete: () => s.handleDelete(),
|
|
@@ -0,0 +1,26 @@
|
|
|
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.1.0" };
|
|
5
|
+
var t = new e.Error().stack;
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "1cd9eecc-709b-4b78-940a-cbf60fb3a80f", e._sentryDebugIdIdentifier = "sentry-dbid-1cd9eecc-709b-4b78-940a-cbf60fb3a80f");
|
|
7
|
+
} catch {}
|
|
8
|
+
})();
|
|
9
|
+
import "./chunk-BRl5Kkpd.js";
|
|
10
|
+
import "./is-debug-DNx7lu9r.js";
|
|
11
|
+
import { t as e } from "./react-DgeLxkYu.js";
|
|
12
|
+
import { t } from "./jsx-runtime-Dx6Zx-sv.js";
|
|
13
|
+
import { T as n, a as r, qn as i, w as a } from "./store-Csjg3ohh.js";
|
|
14
|
+
import { n as o } from "./mobx-DSw3E2kR.js";
|
|
15
|
+
import { t as s } from "./TouchHand-CkxqOSSr.js";
|
|
16
|
+
import { t as c } from "./KioskStore-BkI0W5G_.js";
|
|
17
|
+
e();
|
|
18
|
+
var l = t(), u = i(() => (o(() => {
|
|
19
|
+
if (localStorage.getItem("kiosk") === "0") return;
|
|
20
|
+
let e = c.restoreData();
|
|
21
|
+
if (e) return a(e, !0), n(e), r.setResetCameraFn(() => c.resetCamera()), () => {
|
|
22
|
+
r.uiState.setKioskData(null), r.uiState.resetMapSettings(), c.resetCamera();
|
|
23
|
+
};
|
|
24
|
+
}), r.uiState.kiosk && r.uiState.inIdle ? /* @__PURE__ */ (0, l.jsx)(s, {}) : null));
|
|
25
|
+
//#endregion
|
|
26
|
+
export { u as default };
|