@expofp/floorplan 3.0.0-alpha.15 → 3.0.0-alpha.17
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/Debug-CUZihF0D.js +40 -0
- package/dist/browser/{Demo-pwpeopeB.js → Demo-CR3VLKTk.js} +7 -7
- package/dist/browser/{Free-CeZSHheC.js → Free-DQNZneql.js} +13 -13
- package/dist/browser/Gallery-DuHTiSqx.js +71 -0
- package/dist/browser/{GpsLoader-BS8b-Aif.js → GpsLoader-DmtF8nSh.js} +48 -48
- package/dist/browser/{KioskStore-_Zcv0Bc0.js → KioskStore-B7BTukd0.js} +10 -10
- package/dist/browser/{Mapbox-Cl59-8BN.js → Mapbox-3GevGU_j.js} +14 -14
- package/dist/browser/{SetKioskMode-CjjAW8SI.js → SetKioskMode-D3066R7_.js} +51 -51
- package/dist/browser/{ShowKiosk-DUcthTIK.js → ShowKiosk-3jaagNzR.js} +9 -9
- package/dist/browser/{ThreeComponent-CdelmApV.js → ThreeComponent-DNFBzo3g.js} +7 -7
- package/dist/browser/ViewerMenuPanel-BLo85uoZ.js +77 -0
- package/dist/browser/{boolean-editor-HetrPeeC.js → boolean-editor-DKH9ubYi.js} +6 -6
- package/dist/browser/bundle.json +32 -29
- package/dist/browser/{client-BMgLu7eB.js → client-meZ2tCS0.js} +4 -4
- package/dist/browser/{data-eO9H1gMa.js → data-SQHwxPrN.js} +6 -6
- package/dist/browser/{debug-overlay-DqIeCuHo.js → debug-overlay-C4TVlyAN.js} +9 -9
- package/dist/browser/{debug-ui-6t_iunMd.js → debug-ui-CVsP8oRC.js} +14 -14
- package/dist/browser/{favicon-CoF9H4Pb.js → favicon-Cimz_lqt.js} +1 -1
- package/dist/browser/{fetch-retry.umd-GcX1W9qV.js → fetch-retry.umd-XH7ZZmae.js} +26 -26
- package/dist/browser/{flex-BC_JSvaB.js → flex-Bq6tPjvK.js} +5 -5
- package/dist/browser/{floorplan.ready-CZn5dvsU.js → floorplan.ready-ClV1c-bq.js} +15179 -16848
- package/dist/browser/fonts/efp-symbols.woff +0 -0
- package/dist/browser/{index-uGr-_9rk.js → index-3PCrVVmD.js} +12 -12
- package/dist/browser/{index-CEVUHq8g.js → index-BuXQKG6_.js} +5 -5
- package/dist/browser/{index-Dp-WygGH.js → index-C1A1q6hi.js} +12 -12
- package/dist/browser/index-C3wwaChX.js +12498 -0
- package/dist/browser/{index-sNwIhVDZ.js → index-CcKlEKDb.js} +5 -5
- package/dist/browser/{index-Dba8EyWF.js → index-CfyxM29w.js} +19 -19
- package/dist/browser/{index-C1Rwmp91.js → index-DkMgYVuZ.js} +14 -14
- package/dist/browser/index.js +4 -4
- package/dist/browser/{jsx-runtime-BHfPvO9I.js → jsx-runtime-rSp8ZldI.js} +1 -1
- package/dist/browser/locales/ar.json +50 -4
- package/dist/browser/locales/de.json +50 -4
- package/dist/browser/locales/es.json +50 -4
- package/dist/browser/locales/fr.json +50 -4
- package/dist/browser/locales/he.json +50 -4
- package/dist/browser/locales/it.json +50 -4
- package/dist/browser/locales/kk.json +50 -4
- package/dist/browser/locales/ko.json +50 -4
- package/dist/browser/locales/mn.json +50 -4
- package/dist/browser/locales/nl.json +50 -4
- package/dist/browser/locales/pl.json +51 -5
- package/dist/browser/locales/pt.json +50 -4
- package/dist/browser/locales/ru.json +51 -5
- package/dist/browser/locales/sv.json +50 -4
- package/dist/browser/locales/th.json +50 -4
- package/dist/browser/locales/tr.json +50 -4
- package/dist/browser/locales/uk.json +50 -4
- package/dist/browser/locales/vi.json +50 -4
- package/dist/browser/locales/zh.json +50 -4
- package/dist/browser/{main-DYasSc7U.js → main-C1uhxJ8U.js} +1 -1
- package/dist/browser/{particles.min-B6O6_M_h.js → particles.min-DkmJkLkl.js} +3 -3
- package/dist/esm/RouteCutIn.d.ts +0 -1
- package/dist/esm/RouteCutIn.js +1 -1
- package/dist/esm/components/Alert.d.ts +2 -0
- package/dist/esm/components/Alert.js +1 -1
- package/dist/esm/components/Badge.d.ts +3 -2
- package/dist/esm/components/Badge.js +1 -1
- package/dist/esm/components/Booth/BoothOnHold.d.ts +2 -2
- package/dist/esm/components/Booth/BoothOnHold.js +1 -1
- package/dist/esm/components/Booth/BoothReserved.d.ts +2 -1
- package/dist/esm/components/Booth/BoothReserved.js +1 -1
- package/dist/esm/components/Booth/BoothWithoutExhibitor.d.ts +2 -2
- package/dist/esm/components/Booth/BoothWithoutExhibitor.js +1 -1
- package/dist/esm/components/CookieConsent.js +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/Gallery/GalleryControls/GalleryControls.d.ts +2 -2
- package/dist/esm/components/Gallery/GalleryControls/GalleryControls.js +1 -1
- package/dist/esm/components/Gallery/GalleryModal/GalleryModal.d.ts +2 -2
- package/dist/esm/components/Gallery/GalleryModal/GalleryModal.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/storage.d.ts +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/storage.js +1 -1
- package/dist/esm/components/Kiosk/ShowKiosk.js +1 -1
- package/dist/esm/components/Language.js +1 -1
- package/dist/esm/components/LanguageRow.d.ts +0 -1
- package/dist/esm/components/LanguageRow.js +1 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/List.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-wf.d.ts +0 -2
- package/dist/esm/components/Map/drawing/config/config-wf.js +1 -1
- package/dist/esm/components/Map/drawing/config/route-snapping/snapPositionToRoute.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/route-snapping/snapPositionToRoute.js +1 -1
- package/dist/esm/components/Map/drawing/config/route-snapping/splitRouteByPoint.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/route-snapping/splitRouteByPoint.js +1 -1
- package/dist/esm/components/Map/drawing/config/route-snapping/types.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/route-snapping/utils.d.ts +1 -1
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/components/MarketMaterialList.d.ts +3 -3
- package/dist/esm/components/MarketMaterialList.js +1 -1
- package/dist/esm/components/Menu.js +1 -1
- package/dist/esm/components/MobileToggleButton.js +1 -1
- package/dist/esm/components/MultiSelectGroups.d.ts +2 -2
- package/dist/esm/components/MultiSelectGroups.js +1 -1
- package/dist/esm/components/Overlay.d.ts +2 -0
- package/dist/esm/components/Overlay.js +1 -1
- package/dist/esm/components/OverlayContainer.js +1 -1
- package/dist/esm/components/RebookingNotes.d.ts +2 -2
- package/dist/esm/components/RebookingNotes.js +1 -1
- package/dist/esm/components/RebookingRadioGroup.d.ts +2 -2
- package/dist/esm/components/RebookingRadioGroup.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlanner.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlannerHeader.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +1 -1
- package/dist/esm/components/RouteQR.d.ts +2 -2
- package/dist/esm/components/RouteQR.js +1 -1
- package/dist/esm/components/Schedule.js +1 -1
- package/dist/esm/components/SearchBox.js +1 -1
- package/dist/esm/components/Sessions.js +1 -1
- package/dist/esm/components/Share.d.ts +2 -2
- package/dist/esm/components/Share.js +1 -1
- package/dist/esm/components/SidebarActions.js +1 -1
- package/dist/esm/components/ViewerMenuPanel.d.ts +5 -0
- package/dist/esm/components/ViewerMenuPanel.js +1 -0
- package/dist/esm/components/WayfindingTemplate.d.ts +2 -2
- package/dist/esm/components/WayfindingTemplate.js +1 -1
- package/dist/esm/components/gps/GpsPermissionRequest.d.ts +4 -2
- package/dist/esm/components/gps/GpsPermissionRequest.js +1 -1
- package/dist/esm/constants.d.ts +3 -0
- package/dist/esm/constants.js +1 -1
- package/dist/esm/floorplan.loader.d.ts +2 -0
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/load.js +3 -3
- package/dist/esm/services/routing.js +1 -1
- package/dist/esm/store/LayerStore.d.ts +1 -0
- package/dist/esm/store/LayerStore.js +1 -1
- package/dist/esm/store/RootStore.d.ts +0 -2
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RoutePlannerStore.d.ts +16 -0
- package/dist/esm/store/RoutePlannerStore.js +1 -1
- package/dist/esm/store/RouteStore.d.ts +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/SearchStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +2 -2
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/index.js +1 -1
- package/dist/esm/store/init/init-layers.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsStore.d.ts +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsStore.js +1 -1
- package/dist/esm/store/types.d.ts +0 -2
- package/dist/esm/tools/sentry.js +1 -1
- package/dist/esm/tools/telemetry.d.ts +35 -0
- package/dist/esm/tools/telemetry.js +1 -0
- package/dist/esm/tools/track-event.d.ts +3 -1
- package/dist/esm/tools/track-event.js +1 -1
- package/dist/esm/utils/i18n.d.ts +6 -4
- package/dist/esm/utils/i18n.js +1 -1
- package/dist/esm/utils/mapEntity.js +1 -1
- package/dist/esm/utils/math.d.ts +7 -0
- package/dist/esm/utils/math.js +1 -0
- package/dist/esm/utils/use-shadow.d.ts +1 -1
- package/dist/esm/utils/use-shadow.js +1 -1
- package/dist/esm/wayfinding/_PLAN-public-api.d.ts +220 -0
- package/dist/esm/wayfinding/_PLAN-public-api.js +1 -0
- package/dist/esm/{utils/wayfinding.d.ts → wayfinding/__integration__/legacy/legacyWayfinding.d.ts} +5 -4
- package/dist/esm/wayfinding/__integration__/legacy/legacyWayfinding.js +1 -0
- package/dist/esm/wayfinding/__tests__/helpers.d.ts +21 -0
- package/dist/esm/wayfinding/__tests__/helpers.js +1 -0
- package/dist/esm/wayfinding/adapters/boothToWaypoint.d.ts +12 -0
- package/dist/esm/wayfinding/adapters/boothToWaypoint.js +1 -0
- package/dist/esm/wayfinding/adapters/graphDataSource.d.ts +3 -0
- package/dist/esm/wayfinding/adapters/graphDataSource.js +1 -0
- package/dist/esm/wayfinding/graph/buildGraph.d.ts +3 -0
- package/dist/esm/wayfinding/graph/buildGraph.js +1 -0
- package/dist/esm/wayfinding/graph/buildNGraph.d.ts +9 -0
- package/dist/esm/wayfinding/graph/buildNGraph.js +1 -0
- package/dist/esm/wayfinding/graph/constants.d.ts +3 -0
- package/dist/esm/wayfinding/graph/constants.js +1 -0
- package/dist/esm/wayfinding/graph/findShortestPath.d.ts +14 -0
- package/dist/esm/wayfinding/graph/findShortestPath.js +1 -0
- package/dist/esm/wayfinding/graph/graphCache.d.ts +6 -0
- package/dist/esm/wayfinding/graph/graphCache.js +1 -0
- package/dist/esm/wayfinding/graph/graphHelpers.d.ts +8 -0
- package/dist/esm/wayfinding/graph/graphHelpers.js +1 -0
- package/dist/esm/wayfinding/graph/linkCost.d.ts +4 -0
- package/dist/esm/wayfinding/graph/linkCost.js +1 -0
- package/dist/esm/wayfinding/graph/pathfinder/aStarPathFinder.d.ts +3 -0
- package/dist/esm/wayfinding/graph/pathfinder/aStarPathFinder.js +1 -0
- package/dist/esm/wayfinding/graph/pathfinder/parseNodeId.d.ts +9 -0
- package/dist/esm/wayfinding/graph/pathfinder/parseNodeId.js +1 -0
- package/dist/esm/wayfinding/index.d.ts +18 -0
- package/dist/esm/wayfinding/index.js +1 -0
- package/dist/esm/wayfinding/rendering/computeTransitionPoints.d.ts +31 -0
- package/dist/esm/wayfinding/rendering/computeTransitionPoints.js +1 -0
- package/dist/esm/wayfinding/rendering/normalizeRouteDirection.d.ts +19 -0
- package/dist/esm/wayfinding/rendering/normalizeRouteDirection.js +1 -0
- package/dist/esm/wayfinding/rendering/routeGeometry.d.ts +16 -0
- package/dist/esm/wayfinding/rendering/routeGeometry.js +1 -0
- package/dist/esm/wayfinding/routing/buildMultiPointRoute.d.ts +11 -0
- package/dist/esm/wayfinding/routing/buildMultiPointRoute.js +1 -0
- package/dist/esm/wayfinding/routing/buildRoute.d.ts +9 -0
- package/dist/esm/wayfinding/routing/buildRoute.js +1 -0
- package/dist/esm/wayfinding/routing/findNearestGraphPoint.d.ts +21 -0
- package/dist/esm/wayfinding/routing/findNearestGraphPoint.js +1 -0
- package/dist/esm/wayfinding/routing/getGraphLines.d.ts +14 -0
- package/dist/esm/wayfinding/routing/getGraphLines.js +1 -0
- package/dist/esm/wayfinding/routing/getRouteLength.d.ts +3 -0
- package/dist/esm/wayfinding/routing/getRouteLength.js +1 -0
- package/dist/esm/wayfinding/routing/routeResult.d.ts +4 -0
- package/dist/esm/wayfinding/routing/routeResult.js +1 -0
- package/dist/esm/wayfinding/types.d.ts +76 -0
- package/dist/esm/wayfinding/types.js +1 -0
- package/package.json +3 -3
- package/dist/browser/Debug-Bn7mmuWl.js +0 -40
- package/dist/browser/Gallery-BTasOfWx.js +0 -288
- package/dist/browser/index-DnV82MKb.js +0 -10233
- package/dist/esm/store/LanguageStore.d.ts +0 -19
- package/dist/esm/store/LanguageStore.js +0 -1
- package/dist/esm/store/init/init-language.d.ts +0 -3
- package/dist/esm/store/init/init-language.js +0 -1
- package/dist/esm/utils/toRadians.d.ts +0 -3
- package/dist/esm/utils/toRadians.js +0 -1
- package/dist/esm/utils/wayfinding.js +0 -1
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
import { j as e } from "./jsx-runtime-rSp8ZldI.js";
|
|
3
|
+
import { c as o, a as r, s as i } from "./floorplan.ready-ClV1c-bq.js";
|
|
4
|
+
import { z as l } from "./index-C3wwaChX.js";
|
|
5
|
+
(function() {
|
|
6
|
+
try {
|
|
7
|
+
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
8
|
+
t.SENTRY_RELEASE = { id: "3.0.0-alpha.17" };
|
|
9
|
+
var a = new t.Error().stack;
|
|
10
|
+
a && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[a] = "87dc54e4-9903-4990-8b27-5a733311bb77", t._sentryDebugIdIdentifier = "sentry-dbid-87dc54e4-9903-4990-8b27-5a733311bb77");
|
|
11
|
+
} catch {
|
|
12
|
+
}
|
|
13
|
+
})();
|
|
14
|
+
const n = [];
|
|
15
|
+
function c() {
|
|
16
|
+
const t = n.map((s) => s.width * s.height).reduce((s, d) => s += d, 0), a = n.map((s) => /* @__PURE__ */ e.jsxs("div", { className: "debug__canvas", id: s.toDataURL(), children: [
|
|
17
|
+
s.width,
|
|
18
|
+
"x",
|
|
19
|
+
s.height,
|
|
20
|
+
"=",
|
|
21
|
+
s.width * s.height,
|
|
22
|
+
/* @__PURE__ */ e.jsx("br", {}),
|
|
23
|
+
/* @__PURE__ */ e.jsx("img", { src: s.toDataURL(), alt: "", crossOrigin: "anonymous" })
|
|
24
|
+
] }, s.toDataURL()));
|
|
25
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "debug", children: [
|
|
26
|
+
/* @__PURE__ */ e.jsx("button", { onClick: () => i.searchStore.selectSearch(""), children: l("Close") }),
|
|
27
|
+
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
28
|
+
"Total square: ",
|
|
29
|
+
t
|
|
30
|
+
] }),
|
|
31
|
+
a
|
|
32
|
+
] });
|
|
33
|
+
}
|
|
34
|
+
const g = () => o(() => /* @__PURE__ */ e.jsx(e.Fragment, { children: r.list.type === "search" && r.list.text === "q1" ? /* @__PURE__ */ e.jsx(c, {}) : null }));
|
|
35
|
+
export {
|
|
36
|
+
g as default
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
;/* vite-per-chunk-css */
|
|
40
|
+
__vite_inject_css__(".debug{position:fixed;top:1rem;left:1vw;z-index:999;width:calc(100vw - 2rem);height:calc(100vh - 2rem);padding:1rem;overflow:scroll;background:var(--color-white);box-shadow:0 0 1rem #00000080}.debug label{display:block;font-weight:var(--font-weight-bold)}.debug__canvas{display:inline-block;padding:2px;vertical-align:top}.debug__canvas>img{background:var(--color-gray-300)}\n/*$vite$:1*/", "Debug.css");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { j as s } from "./jsx-runtime-
|
|
2
|
-
import { y as o } from "./index-
|
|
3
|
-
import { u as d, a, b as
|
|
4
|
-
import {
|
|
1
|
+
import { j as s } from "./jsx-runtime-rSp8ZldI.js";
|
|
2
|
+
import { y as o } from "./index-DkMgYVuZ.js";
|
|
3
|
+
import { u as d, a, b as c, c as l } from "./floorplan.ready-ClV1c-bq.js";
|
|
4
|
+
import { z as n } from "./index-C3wwaChX.js";
|
|
5
5
|
(function() {
|
|
6
6
|
try {
|
|
7
7
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
8
|
-
e.SENTRY_RELEASE = { id: "3.0.0-alpha.
|
|
8
|
+
e.SENTRY_RELEASE = { id: "3.0.0-alpha.17" };
|
|
9
9
|
var t = new e.Error().stack;
|
|
10
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
10
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "1d22a10f-35cb-4b87-8cb0-5c0c83ab9e01", e._sentryDebugIdIdentifier = "sentry-dbid-1d22a10f-35cb-4b87-8cb0-5c0c83ab9e01");
|
|
11
11
|
} catch {
|
|
12
12
|
}
|
|
13
13
|
})();
|
|
@@ -26,7 +26,7 @@ function h() {
|
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
28
|
}));
|
|
29
|
-
return
|
|
29
|
+
return c(() => {
|
|
30
30
|
sessionStorage.getItem(i) || window.setTimeout(() => {
|
|
31
31
|
e.hidden = !1;
|
|
32
32
|
}, 2e3);
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
function __vite_inject_css__(css, id
|
|
2
|
-
import { j as s } from "./jsx-runtime-
|
|
3
|
-
import { y as
|
|
4
|
-
import { u as
|
|
5
|
-
import {
|
|
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
|
+
import { j as s } from "./jsx-runtime-rSp8ZldI.js";
|
|
3
|
+
import { y as a } from "./index-DkMgYVuZ.js";
|
|
4
|
+
import { u as d, a as o, b as f, c as l } from "./floorplan.ready-ClV1c-bq.js";
|
|
5
|
+
import { ah as u, z as i } from "./index-C3wwaChX.js";
|
|
6
6
|
(function() {
|
|
7
7
|
try {
|
|
8
8
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
9
|
-
e.SENTRY_RELEASE = { id: "3.0.0-alpha.
|
|
9
|
+
e.SENTRY_RELEASE = { id: "3.0.0-alpha.17" };
|
|
10
10
|
var t = new e.Error().stack;
|
|
11
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
11
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "62f2faa4-d911-4752-8a7d-02478d271810", e._sentryDebugIdIdentifier = "sentry-dbid-62f2faa4-d911-4752-8a7d-02478d271810");
|
|
12
12
|
} catch {
|
|
13
13
|
}
|
|
14
14
|
})();
|
|
15
15
|
const n = "free-dismissed5";
|
|
16
|
-
function
|
|
17
|
-
const e =
|
|
16
|
+
function g() {
|
|
17
|
+
const e = d(() => ({
|
|
18
18
|
hidden: !0,
|
|
19
19
|
get top() {
|
|
20
|
-
return
|
|
20
|
+
return o.screenSize.width < u;
|
|
21
21
|
},
|
|
22
22
|
get classes() {
|
|
23
|
-
return
|
|
23
|
+
return a({
|
|
24
24
|
free: !0,
|
|
25
25
|
bottom: !this.top,
|
|
26
26
|
hidden: this.hidden
|
|
@@ -44,8 +44,8 @@ function p() {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
export {
|
|
47
|
-
|
|
47
|
+
g as default
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
;/* vite-per-chunk-css */
|
|
51
|
-
__vite_inject_css__(".free{position:absolute;bottom:0;display:flex;justify-content:center;width:100%;min-height:2rem;background:#ab40a0;background:linear-gradient(90deg,#e5175c,#5c17e5);opacity:1;transition:all .5s}.free>section{display:flex;padding:.2rem .5rem;font-size:.8rem;-webkit-user-select:none;user-select:none}.free__message{display:flex;align-items:center;color:#fff}.free__message a{color:#fff;text-decoration:underline}.free__dismiss{display:flex;align-items:center;margin-inline-start:.5rem;padding:.1rem .8rem;background:#1378d5;border-radius:2px;font-size:.8rem;font-weight:500;color:#fff!important;text-decoration:none!important}.free__dismiss:hover{background:#69b7ff}@media print{.free__dismiss{display:none}}.free.top{top:0;bottom:unset;width:100%;min-height:2.5rem}.free.top>section{flex-grow:1}.free.top span{display:inline-block}.free.top .free__message{flex-grow:1}.free.bottom .free__message{font-size:1.5rem;font-weight:300;color:#ffffffe6}.free.bottom>section{padding:.5rem}.free.bottom .free__dismiss{padding:.5rem 1rem;font-size:1.2rem;font-weight:600}.free.hidden{transform:translateY(100%)}.free.top.hidden{transform:translateY(-100%)}\n/*$vite$:1*/", "Free.css"
|
|
51
|
+
__vite_inject_css__(".free{position:absolute;bottom:0;display:flex;justify-content:center;width:100%;min-height:2rem;background:#ab40a0;background:linear-gradient(90deg,#e5175c,#5c17e5);opacity:1;transition:all .5s}.free>section{display:flex;padding:.2rem .5rem;font-size:.8rem;-webkit-user-select:none;user-select:none}.free__message{display:flex;align-items:center;color:#fff}.free__message a{color:#fff;text-decoration:underline}.free__dismiss{display:flex;align-items:center;margin-inline-start:.5rem;padding:.1rem .8rem;background:#1378d5;border-radius:2px;font-size:.8rem;font-weight:500;color:#fff!important;text-decoration:none!important}.free__dismiss:hover{background:#69b7ff}@media print{.free__dismiss{display:none}}.free.top{top:0;bottom:unset;width:100%;min-height:2.5rem}.free.top>section{flex-grow:1}.free.top span{display:inline-block}.free.top .free__message{flex-grow:1}.free.bottom .free__message{font-size:1.5rem;font-weight:300;color:#ffffffe6}.free.bottom>section{padding:.5rem}.free.bottom .free__dismiss{padding:.5rem 1rem;font-size:1.2rem;font-weight:600}.free.hidden{transform:translateY(100%)}.free.top.hidden{transform:translateY(-100%)}\n/*$vite$:1*/", "Free.css");
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { j as e } from "./jsx-runtime-rSp8ZldI.js";
|
|
2
|
+
import { r as c, o as E } from "./index-C3wwaChX.js";
|
|
3
|
+
import { y as N } from "./index-DkMgYVuZ.js";
|
|
4
|
+
import { as as v, at as G, au as S } from "./floorplan.ready-ClV1c-bq.js";
|
|
5
|
+
(function() {
|
|
6
|
+
try {
|
|
7
|
+
var s = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
8
|
+
s.SENTRY_RELEASE = { id: "3.0.0-alpha.17" };
|
|
9
|
+
var a = new s.Error().stack;
|
|
10
|
+
a && (s._sentryDebugIds = s._sentryDebugIds || {}, s._sentryDebugIds[a] = "da1de22d-588e-4953-b57b-0b547a94f86b", s._sentryDebugIdIdentifier = "sentry-dbid-da1de22d-588e-4953-b57b-0b547a94f86b");
|
|
11
|
+
} catch {
|
|
12
|
+
}
|
|
13
|
+
})();
|
|
14
|
+
const w = ({
|
|
15
|
+
count: s,
|
|
16
|
+
onFullscreen: a
|
|
17
|
+
}) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
18
|
+
/* @__PURE__ */ e.jsxs("div", { className: "gallery__badge gallery__badge-count", children: [
|
|
19
|
+
/* @__PURE__ */ e.jsx("i", { className: "icon-image" }),
|
|
20
|
+
/* @__PURE__ */ e.jsx("span", { children: s })
|
|
21
|
+
] }),
|
|
22
|
+
/* @__PURE__ */ e.jsx("div", { className: "gallery__badge gallery__badge-fullscreen", onClick: a, children: /* @__PURE__ */ e.jsx("i", { className: "icon-maximize" }) })
|
|
23
|
+
] }), x = ({
|
|
24
|
+
url: s,
|
|
25
|
+
position: a = "center",
|
|
26
|
+
leading: r = !1,
|
|
27
|
+
setHeight: t = !1,
|
|
28
|
+
fillMode: i,
|
|
29
|
+
onClick: o,
|
|
30
|
+
onImageLoadHeightUpdate: d
|
|
31
|
+
}) => /* @__PURE__ */ e.jsx("div", { className: "gallery__item", onClick: o, children: /* @__PURE__ */ e.jsx(v, { position: a, fillMode: i, url: s, leading: r, setHeight: t, onImageLoadHeightUpdate: d }) }), D = (s) => {
|
|
32
|
+
const {
|
|
33
|
+
images: a,
|
|
34
|
+
leading: r = !1,
|
|
35
|
+
onImageLoadHeightUpdate: t,
|
|
36
|
+
onOpenGallery: i,
|
|
37
|
+
onCloseGallery: o,
|
|
38
|
+
className: d
|
|
39
|
+
} = s, [p, m] = c.useState(!1), [b, h] = c.useState(0), [j, u] = c.useState(!1), g = (l) => {
|
|
40
|
+
h(l), m(!0), i && i();
|
|
41
|
+
}, _ = () => {
|
|
42
|
+
m(!1), o && o();
|
|
43
|
+
}, I = (l) => {
|
|
44
|
+
let n = l.split("/");
|
|
45
|
+
const f = n[n.length - 1];
|
|
46
|
+
return f.indexOf("original-") === -1 && (n[n.length - 1] = "original-" + f), n.join("/");
|
|
47
|
+
}, y = (l, n) => n ? I(l) : l;
|
|
48
|
+
return c.useEffect(() => {
|
|
49
|
+
(async () => {
|
|
50
|
+
if (a.length > 0) {
|
|
51
|
+
const n = y(a[0], !0);
|
|
52
|
+
try {
|
|
53
|
+
await S.load(n), u(!0);
|
|
54
|
+
} catch {
|
|
55
|
+
u(!1);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
})();
|
|
59
|
+
}, [a]), /* @__PURE__ */ e.jsxs(E.Fragment, { children: [
|
|
60
|
+
/* @__PURE__ */ e.jsxs("div", { className: N("gallery", {
|
|
61
|
+
"gallery-leading": r
|
|
62
|
+
}, d), children: [
|
|
63
|
+
/* @__PURE__ */ e.jsx("div", { className: "gallery__wrapper", children: r ? /* @__PURE__ */ e.jsx(x, { url: a[0], leading: r, setHeight: !0, fillMode: "contain", onClick: () => g(0), onImageLoadHeightUpdate: t }) : a.map((l, n) => /* @__PURE__ */ e.jsx(x, { url: l, position: "top", fillMode: "cover", onClick: () => g(n), onImageLoadHeightUpdate: t }, l + n)) }),
|
|
64
|
+
!r && /* @__PURE__ */ e.jsx(w, { onFullscreen: () => g(0), count: a.length })
|
|
65
|
+
] }),
|
|
66
|
+
p && /* @__PURE__ */ e.jsx(G, { className: d, images: a.map((l) => y(l, j)), leading: r, initialSlideIndex: b, onClose: _ })
|
|
67
|
+
] });
|
|
68
|
+
};
|
|
69
|
+
export {
|
|
70
|
+
D as default
|
|
71
|
+
};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { j as S } from "./jsx-runtime-
|
|
2
|
-
import { r as a, l as I,
|
|
3
|
-
import { af as
|
|
4
|
-
import "./index-
|
|
1
|
+
import { j as S } from "./jsx-runtime-rSp8ZldI.js";
|
|
2
|
+
import { r as a, l as I, z as y, _ as T } from "./index-C3wwaChX.js";
|
|
3
|
+
import { af as _, ag as A, ah as k, ai as x, s as p, aj as D, e as G } from "./floorplan.ready-ClV1c-bq.js";
|
|
4
|
+
import "./index-DkMgYVuZ.js";
|
|
5
5
|
(function() {
|
|
6
6
|
try {
|
|
7
7
|
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
8
|
-
t.SENTRY_RELEASE = { id: "3.0.0-alpha.
|
|
8
|
+
t.SENTRY_RELEASE = { id: "3.0.0-alpha.17" };
|
|
9
9
|
var n = new t.Error().stack;
|
|
10
|
-
n && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[n] = "
|
|
10
|
+
n && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[n] = "2b27f9c0-d224-4998-a5ed-6c7fae144578", t._sentryDebugIdIdentifier = "sentry-dbid-2b27f9c0-d224-4998-a5ed-6c7fae144578");
|
|
11
11
|
} catch {
|
|
12
12
|
}
|
|
13
13
|
})();
|
|
14
14
|
const v = 3;
|
|
15
|
-
function
|
|
15
|
+
function L(t) {
|
|
16
16
|
return Math.floor(t);
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
return
|
|
18
|
+
function M(t, n) {
|
|
19
|
+
return _(t.lat, t.lng, n.lat, n.lng) >= v ? !0 : t.heading !== n.heading;
|
|
20
20
|
}
|
|
21
|
-
const
|
|
21
|
+
const P = 120, N = 3e3, q = 360;
|
|
22
22
|
function H(t) {
|
|
23
|
-
const n = a.useRef(null), r = a.useRef(null),
|
|
23
|
+
const n = a.useRef(null), r = a.useRef(null), i = a.useRef(0), s = a.useRef(null), l = a.useRef(!1), o = a.useRef(null), u = a.useRef(!1), c = a.useRef(null), d = (e) => t(e), m = (e) => {
|
|
24
24
|
const f = Date.now();
|
|
25
|
-
if (f -
|
|
26
|
-
const h =
|
|
25
|
+
if (f - i.current < P) return;
|
|
26
|
+
const h = s.current;
|
|
27
27
|
if (!o.current) {
|
|
28
|
-
o.current = e,
|
|
28
|
+
o.current = e, i.current = f, s.current = e, d(e);
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
|
-
const E =
|
|
31
|
+
const E = _(o.current.lat, o.current.lng, e.lat, e.lng);
|
|
32
32
|
let g;
|
|
33
33
|
u.current ? E <= v ? (u.current = !1, o.current = e, g = {
|
|
34
34
|
...o.current,
|
|
@@ -36,21 +36,21 @@ function H(t) {
|
|
|
36
36
|
}) : (o.current = e, g = e) : E >= v ? (u.current = !0, o.current = e, c.current = null, g = e) : (c.current == null && (c.current = f), f - c.current > N && (o.current = e), g = {
|
|
37
37
|
...o.current,
|
|
38
38
|
heading: e.heading
|
|
39
|
-
}), !(h && !
|
|
40
|
-
},
|
|
39
|
+
}), !(h && !M(h, g)) && (i.current = f, s.current = g, d(g));
|
|
40
|
+
}, R = a.useCallback((e) => {
|
|
41
41
|
var E;
|
|
42
|
-
const f = (E = e.webkitCompassHeading) != null ? E : e.alpha != null ?
|
|
42
|
+
const f = (E = e.webkitCompassHeading) != null ? E : e.alpha != null ? q - e.alpha : null;
|
|
43
43
|
if (f == null) return;
|
|
44
|
-
const h =
|
|
45
|
-
r.current !== h && (r.current = h,
|
|
46
|
-
...
|
|
44
|
+
const h = L(f);
|
|
45
|
+
r.current !== h && (r.current = h, s.current && m({
|
|
46
|
+
...s.current,
|
|
47
47
|
heading: h
|
|
48
48
|
}));
|
|
49
49
|
}, [t]);
|
|
50
50
|
return {
|
|
51
51
|
startGeolocation: () => {
|
|
52
52
|
n.current == null && (n.current = navigator.geolocation.watchPosition((e) => {
|
|
53
|
-
|
|
53
|
+
m({
|
|
54
54
|
lat: e.coords.latitude,
|
|
55
55
|
lng: e.coords.longitude,
|
|
56
56
|
heading: r.current
|
|
@@ -61,29 +61,29 @@ function H(t) {
|
|
|
61
61
|
}));
|
|
62
62
|
},
|
|
63
63
|
startOrientation: () => {
|
|
64
|
-
l.current || (l.current = !0, window.addEventListener("deviceorientation",
|
|
64
|
+
l.current || (l.current = !0, window.addEventListener("deviceorientation", R, !0));
|
|
65
65
|
},
|
|
66
66
|
stopGeolocation: () => {
|
|
67
67
|
n.current != null && (navigator.geolocation.clearWatch(n.current), n.current = null), o.current = null, u.current = !1;
|
|
68
68
|
},
|
|
69
69
|
stopOrientation: () => {
|
|
70
|
-
l.current = !1, window.removeEventListener("deviceorientation",
|
|
70
|
+
l.current = !1, window.removeEventListener("deviceorientation", R, !0);
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
-
|
|
75
|
-
isOpen:
|
|
76
|
-
onAllow:
|
|
77
|
-
onCancel:
|
|
74
|
+
const j = A(function({
|
|
75
|
+
isOpen: n,
|
|
76
|
+
onAllow: r,
|
|
77
|
+
onCancel: i
|
|
78
78
|
}) {
|
|
79
|
-
return
|
|
80
|
-
}
|
|
81
|
-
function
|
|
79
|
+
return n ? /* @__PURE__ */ S.jsx(k, { title: y("Show your position on the map"), acceptText: y("Allow compass access"), rejectText: y("Not now"), onClickAccept: r, onClickReject: i, children: y("To display your current position and orient the map around you, we’ll ask for permission to access your device orientation") }) : null;
|
|
80
|
+
});
|
|
81
|
+
function Y({
|
|
82
82
|
onPositionUpdate: t,
|
|
83
83
|
onAllowCompass: n,
|
|
84
84
|
onRejectCompass: r,
|
|
85
|
-
orientationStorageKey:
|
|
86
|
-
requestCompass:
|
|
85
|
+
orientationStorageKey: i = "compass-permission-granted",
|
|
86
|
+
requestCompass: s = !0,
|
|
87
87
|
requestCompassAllowed: l = !0
|
|
88
88
|
}) {
|
|
89
89
|
const {
|
|
@@ -91,40 +91,40 @@ function j({
|
|
|
91
91
|
startGeolocation: u,
|
|
92
92
|
stopOrientation: c,
|
|
93
93
|
stopGeolocation: d
|
|
94
|
-
} = H(t), [
|
|
94
|
+
} = H(t), [m, R] = a.useState(!1), [O, w] = a.useState(!1);
|
|
95
95
|
a.useEffect(() => (navigator.geolocation.getCurrentPosition(() => {
|
|
96
|
-
|
|
96
|
+
R(!0), u();
|
|
97
97
|
}, (e) => {
|
|
98
|
-
I.warn("Geolocation error:", e),
|
|
98
|
+
I.warn("Geolocation error:", e), R(!1);
|
|
99
99
|
}), () => {
|
|
100
100
|
c(), d();
|
|
101
101
|
}), [u, d, c]);
|
|
102
102
|
const b = async () => {
|
|
103
|
-
typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(
|
|
103
|
+
typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(i, "true"), o(), w(!1), n == null || n());
|
|
104
104
|
}, C = a.useCallback(() => {
|
|
105
|
-
localStorage.setItem(
|
|
105
|
+
localStorage.setItem(i, "false"), w(!1), r == null || r();
|
|
106
106
|
}, [r]);
|
|
107
107
|
return a.useEffect(() => {
|
|
108
|
-
if (!
|
|
109
|
-
const e = localStorage.getItem(
|
|
110
|
-
if (!e ||
|
|
108
|
+
if (!m || !l || typeof navigator > "u" || !x) return;
|
|
109
|
+
const e = localStorage.getItem(i);
|
|
110
|
+
if (!e || s) {
|
|
111
111
|
w(!0);
|
|
112
112
|
return;
|
|
113
113
|
}
|
|
114
114
|
e === "true" && b();
|
|
115
|
-
}, [
|
|
115
|
+
}, [m, s, l, b]), /* @__PURE__ */ S.jsx(j, { isOpen: O, onAllow: b, onCancel: C });
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function K({
|
|
118
118
|
requestCompassAllowed: t
|
|
119
119
|
}) {
|
|
120
|
-
const [n, r] = a.useState(!1),
|
|
120
|
+
const [n, r] = a.useState(!1), i = a.useCallback(({
|
|
121
121
|
lat: o,
|
|
122
122
|
lng: u,
|
|
123
123
|
angle: c,
|
|
124
124
|
heading: d
|
|
125
125
|
}) => {
|
|
126
|
-
p.routeStore.selectCurrentPosition(new
|
|
127
|
-
}, []),
|
|
126
|
+
p.routeStore.selectCurrentPosition(new D(0, 0, 0, c || d, o, u), !1);
|
|
127
|
+
}, []), s = a.useCallback(() => {
|
|
128
128
|
p.routeStore.requestCompass = void 0, r(!1);
|
|
129
129
|
}, [r]), l = a.useCallback(() => {
|
|
130
130
|
p.routeStore.requestCompass = void 0, r(!1);
|
|
@@ -133,8 +133,8 @@ function z({
|
|
|
133
133
|
r(o);
|
|
134
134
|
}), G(() => p.routeStore.requestCompass, (o) => {
|
|
135
135
|
r(o);
|
|
136
|
-
}), /* @__PURE__ */ S.jsx(
|
|
136
|
+
}), /* @__PURE__ */ S.jsx(Y, { requestCompass: n, requestCompassAllowed: t, onRejectCompass: s, onAllowCompass: l, orientationStorageKey: T, onPositionUpdate: i });
|
|
137
137
|
}
|
|
138
138
|
export {
|
|
139
|
-
|
|
139
|
+
K as default
|
|
140
140
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./jsx-runtime-
|
|
3
|
-
import "./
|
|
4
|
-
import "./index-
|
|
1
|
+
import { aw as h, j as f, p as d, q as l, h as g } from "./index-C3wwaChX.js";
|
|
2
|
+
import "./jsx-runtime-rSp8ZldI.js";
|
|
3
|
+
import { s as o, ao as k, ap as v, aq as D, ar as O } from "./floorplan.ready-ClV1c-bq.js";
|
|
4
|
+
import "./index-DkMgYVuZ.js";
|
|
5
5
|
(function() {
|
|
6
6
|
try {
|
|
7
7
|
var a = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
8
|
-
a.SENTRY_RELEASE = { id: "3.0.0-alpha.
|
|
8
|
+
a.SENTRY_RELEASE = { id: "3.0.0-alpha.17" };
|
|
9
9
|
var e = new a.Error().stack;
|
|
10
|
-
e && (a._sentryDebugIds = a._sentryDebugIds || {}, a._sentryDebugIds[e] = "
|
|
10
|
+
e && (a._sentryDebugIds = a._sentryDebugIds || {}, a._sentryDebugIds[e] = "697fc260-bc1b-43be-94ee-1f23fc33235c", a._sentryDebugIdIdentifier = "sentry-dbid-697fc260-bc1b-43be-94ee-1f23fc33235c");
|
|
11
11
|
} catch {
|
|
12
12
|
}
|
|
13
13
|
})();
|
|
@@ -45,7 +45,7 @@ function C(a, e) {
|
|
|
45
45
|
return e.x >= r.left && e.x <= r.right && e.y >= r.bottom && e.y <= r.top;
|
|
46
46
|
}
|
|
47
47
|
var t, S, m;
|
|
48
|
-
function
|
|
48
|
+
function b(a, e, r, i) {
|
|
49
49
|
r && Object.defineProperty(a, e, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(i) : void 0 });
|
|
50
50
|
}
|
|
51
51
|
function n(a, e, r, i, p) {
|
|
@@ -58,7 +58,7 @@ function n(a, e, r, i, p) {
|
|
|
58
58
|
}
|
|
59
59
|
let P = (t = class {
|
|
60
60
|
constructor() {
|
|
61
|
-
|
|
61
|
+
b(this, "savedKiosk", S, this), b(this, "statusMessages", m, this), this.statusMessageTimer = 0, this.initialPtScale = void 0;
|
|
62
62
|
}
|
|
63
63
|
get kiosk() {
|
|
64
64
|
return o.uiState.kioskData;
|
|
@@ -118,14 +118,14 @@ let P = (t = class {
|
|
|
118
118
|
zoom: !0,
|
|
119
119
|
roll: !0,
|
|
120
120
|
pitch: !0
|
|
121
|
-
}, !0),
|
|
121
|
+
}, !0), f(() => {
|
|
122
122
|
Number.isFinite(i) && Number.isFinite(p) && p > 0 && this.renderer.controls.zoomBy(i / p, !0), Number.isFinite(s) && Number.isFinite(c) && this.renderer.controls.panTo(s, c, !0), Number.isFinite(r) && this.renderer.controls.rollTo(r, !0), e && o.fp.activateFloor({
|
|
123
123
|
name: e
|
|
124
124
|
});
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
restoreData() {
|
|
128
|
-
const e =
|
|
128
|
+
const e = k();
|
|
129
129
|
return e && (this.setKiosk(e), this.savedKiosk = e, o.uiState.kiosk = !0, this.resetCamera()), e;
|
|
130
130
|
}
|
|
131
131
|
handleSetupReady() {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { j as B } from "./jsx-runtime-
|
|
2
|
-
import { y as w } from "./index-
|
|
3
|
-
import { p, m as z, s as P, a as
|
|
4
|
-
import { u as j, s as e, a as t, R as x, d as N, e as n, f as O, c as A } from "./floorplan.ready-
|
|
5
|
-
import { r as S } from "./index-
|
|
1
|
+
import { j as B } from "./jsx-runtime-rSp8ZldI.js";
|
|
2
|
+
import { y as w } from "./index-DkMgYVuZ.js";
|
|
3
|
+
import { p, m as z, s as P, a as f, l as E, b as k, c as b, d as C, u as T, e as D, f as M, g as F, h as I, i as _ } from "./data-SQHwxPrN.js";
|
|
4
|
+
import { u as j, s as e, a as t, R as x, d as N, e as n, f as O, c as A } from "./floorplan.ready-ClV1c-bq.js";
|
|
5
|
+
import { r as S } from "./index-C3wwaChX.js";
|
|
6
6
|
(function() {
|
|
7
7
|
try {
|
|
8
8
|
var i = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
9
|
-
i.SENTRY_RELEASE = { id: "3.0.0-alpha.
|
|
9
|
+
i.SENTRY_RELEASE = { id: "3.0.0-alpha.17" };
|
|
10
10
|
var r = new i.Error().stack;
|
|
11
|
-
r && (i._sentryDebugIds = i._sentryDebugIds || {}, i._sentryDebugIds[r] = "
|
|
11
|
+
r && (i._sentryDebugIds = i._sentryDebugIds || {}, i._sentryDebugIds[r] = "78ce0388-27ac-4b17-bca0-c443d45725e4", i._sentryDebugIdIdentifier = "sentry-dbid-78ce0388-27ac-4b17-bca0-c443d45725e4");
|
|
12
12
|
} catch {
|
|
13
13
|
}
|
|
14
14
|
})();
|
|
@@ -46,14 +46,14 @@ function $() {
|
|
|
46
46
|
bearingSnap: 0,
|
|
47
47
|
accessToken: p.token
|
|
48
48
|
}), P(r.current), r.current.on("load", async () => {
|
|
49
|
-
var
|
|
50
|
-
setTimeout(() =>
|
|
49
|
+
var y;
|
|
50
|
+
setTimeout(() => f(u.initselected ? x.fromMultiple([...t.selectedBooths].filter((s) => s.rect).map((s) => s.rect)) : N, 15, 4e3), 1500), r.current.setLight({
|
|
51
51
|
anchor: "viewport",
|
|
52
52
|
color: "white",
|
|
53
53
|
intensity: 0
|
|
54
54
|
});
|
|
55
55
|
const a = await E(e.boothStore.booths);
|
|
56
|
-
k(e.boothStore.booths, a), b("yah", (
|
|
56
|
+
k(e.boothStore.booths, a), b("yah", (y = e.routeStore.defaultFrom) != null && y.rect ? {
|
|
57
57
|
x: e.routeStore.defaultFrom.rect.cx,
|
|
58
58
|
y: e.routeStore.defaultFrom.rect.cy
|
|
59
59
|
} : null), b("cp", u.actualCurrentPosition), d = C(e.layerStore.layers);
|
|
@@ -81,7 +81,7 @@ function $() {
|
|
|
81
81
|
}), n(() => [e.layerStore.loaded, e.layerStore.visible, t.selectedRoute], () => {
|
|
82
82
|
var o, l, a;
|
|
83
83
|
d.forEach((m) => {
|
|
84
|
-
const
|
|
84
|
+
const y = m.split("--")[0], s = e.layerStore.layers.find((h) => h.name === y);
|
|
85
85
|
(s.visible || r.current.getLayoutProperty(m, "visibility") !== "none") && r.current.setLayoutProperty(m, "visibility", s.visible ? "visible" : "none");
|
|
86
86
|
}), M([...t.selectedBooths], e.boothStore.booths), b("yah", (o = e.routeStore.defaultFrom) != null && o.rect && ((a = (l = e.routeStore.defaultFrom) == null ? void 0 : l.layer) != null && a.visible) ? {
|
|
87
87
|
x: e.routeStore.defaultFrom.rect.cx,
|
|
@@ -102,13 +102,13 @@ function $() {
|
|
|
102
102
|
}), n(() => t.moveToBooths, () => {
|
|
103
103
|
if (!t.moveToBooths || !e.mapboxStore.showMapbox) return;
|
|
104
104
|
const o = t.moveToBooths.filter((a) => a.rect).map((a) => a.rect), l = x.fromMultiple(o);
|
|
105
|
-
o.length &&
|
|
105
|
+
o.length && f(l), t.moveToBooths = null;
|
|
106
106
|
}), n(() => t.moveToRect, () => {
|
|
107
|
-
!t.moveToRect || !e.mapboxStore.showMapbox || (
|
|
107
|
+
!t.moveToRect || !e.mapboxStore.showMapbox || (f(t.moveToRect, 15), t.moveToRect = null);
|
|
108
108
|
}), n(() => t.moveToLocation, () => {
|
|
109
109
|
!t.moveToLocation || !e.mapboxStore.showMapbox || _();
|
|
110
110
|
}), n(() => t.centerMap, () => {
|
|
111
|
-
!t.centerMap || !e.mapboxStore.showMapbox || (
|
|
111
|
+
!t.centerMap || !e.mapboxStore.showMapbox || (f(x.fromMultiple(O.booths.map((o) => o.rect)), 15), t.centerMap = !1);
|
|
112
112
|
}), n(() => e.routeStore.routeLines, () => T(e.routeStore)), n(() => u.actualCurrentPosition, () => b("cp", u.actualCurrentPosition)), A(() => /* @__PURE__ */ B.jsx("div", { style: u.style, className: w("map-container", {
|
|
113
113
|
hidden: !e.mapboxStore.showMapbox
|
|
114
114
|
}), children: /* @__PURE__ */ B.jsx("div", { ref: i, className: w("map-wrapper", "mapboxgl-map") }) }));
|