@expofp/floorplan 3.2.6 → 3.2.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-AXeH9_mR.js → CookieConsent-B1LE7YfT.js} +2990 -2572
- package/dist/browser/{Debug-D5ilpjt9.js → Debug-DhDzWQYS.js} +7 -7
- package/dist/browser/{Demo-D2ZQ82R-.js → Demo-D_175gLz.js} +11 -11
- package/dist/browser/{Free-Cmu2GELK.js → Free-eF7PbjEi.js} +13 -13
- package/dist/browser/{Gallery-CHhf9uSJ.js → Gallery-BA-pvWo8.js} +9 -9
- package/dist/browser/{GpsLoader-D1p1K7tv.js → GpsLoader-CfS8cpM_.js} +35 -35
- package/dist/browser/{KioskStore-B5seJF_w.js → KioskStore-D6ga9Qev.js} +17 -17
- package/dist/browser/{Mapbox-vm-JvDPW.js → Mapbox-B2UgukAw.js} +41 -41
- package/dist/browser/{SetKioskMode-CsvIhnEp.js → SetKioskMode-DN9dYtQq.js} +18 -18
- package/dist/browser/ShowKiosk-NOvinyaO.js +26 -0
- package/dist/browser/{ThreeComponent-l50EC7kp.js → ThreeComponent-Dd6C-3ZE.js} +195 -195
- package/dist/browser/{TouchHand-CzIhbCk_.js → TouchHand-D4zCIp9f.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-DN5BiNZZ.js → ViewerMenuPanel-3gfsNYAC.js} +17 -17
- package/dist/browser/{add-debug-secret-listener-BP0ji46o.js → add-debug-secret-listener-PCn2L2xn.js} +1 -1
- package/dist/browser/{boolean-editor-BIXc9xad.js → boolean-editor-C62I7paI.js} +10 -10
- package/dist/browser/bootIntercom-CJp5myUd.js +37 -0
- package/dist/browser/{box-Cj2OPB5o.js → box-BllGyNzW.js} +5 -5
- package/dist/browser/{browser-iEBlxETL.js → browser-hErw7TCJ.js} +2 -2
- package/dist/browser/bundle.json +53 -53
- package/dist/browser/{classnames-BdEjlCJw.js → classnames-DZ15rBvY.js} +2 -2
- package/dist/browser/{client-AFMbhyej.js → client-vSscuHGN.js} +4 -4
- package/dist/browser/{data-BNcMQJM9.js → data-Pg90oQgy.js} +49 -49
- package/dist/browser/{debug-overlay-BvzIl4S5.js → debug-overlay-Cz0LzO7B.js} +11 -11
- package/dist/browser/{debug-ui-Cjk1VEBj.js → debug-ui-HOJ52C7W.js} +6 -6
- package/dist/browser/{dist-CpONuUgR.js → dist-B-j5Mwk6.js} +5 -5
- package/dist/browser/{dist-CCy_DoUq.js → dist-D1FyJZyA.js} +6 -6
- package/dist/browser/{dist-B03hOAXP.js → dist-Di6V6Vgc.js} +3 -3
- package/dist/browser/{efp-debug-init-DjqnYMK4.js → efp-debug-init-GJ1wnZRj.js} +2 -2
- package/dist/browser/{enum-editor-DNavJMSd.js → enum-editor-DDYy1Hf6.js} +11 -11
- package/dist/browser/{exports-BaXbuICo.js → exports-D2FWPMfV.js} +1 -1
- package/dist/browser/{favicon-CPIIkXVW.js → favicon-CLnUT7_M.js} +1 -1
- package/dist/browser/{fetch-retry.umd-DuhpKOAv.js → fetch-retry.umd-CsTB0zFM.js} +2 -2
- package/dist/browser/{flex-BEEq9bN8.js → flex-fdrXlk1E.js} +6 -6
- package/dist/browser/{flex.props-DxAZIGSj.js → flex.props-CKl-laU4.js} +2 -2
- package/dist/browser/{floorplan.loader-KZ3u0Juq.js → floorplan.loader-B9u5roId.js} +9 -9
- package/dist/browser/{floorplan.ready-DMR98iUb.js → floorplan.ready-DhqJ6xoZ.js} +215 -254
- package/dist/browser/{fuse-CjSkZXtV.js → fuse-BiPQjoVv.js} +2 -2
- package/dist/browser/index.js +12 -12
- package/dist/browser/{is-debug-DPDBcjeg.js → is-debug-DatwRSE7.js} +3 -3
- package/dist/browser/{jsx-runtime-DnQmxKxk.js → jsx-runtime-IE8skafD.js} +2 -2
- package/dist/browser/{lib-BXRYaEmQ.js → lib-DeP5xNNM.js} +4 -4
- package/dist/browser/{main-Bw8nBuIh.js → main-DHo0y8hQ.js} +1 -1
- package/dist/browser/{mobx-DsBbHmhw.js → mobx-CrV9DCMJ.js} +4 -4
- package/dist/browser/{particles.min-BmgWvtXZ.js → particles.min-CvpZUl3e.js} +2 -2
- package/dist/browser/{prop-types-CRT2Qy-L.js → prop-types-BHwYgrUd.js} +2 -2
- package/dist/browser/{react-BCrcyjAU.js → react-B3Fm-ZS0.js} +2 -2
- package/dist/browser/{react-dom-z6XbaPl9.js → react-dom-CySklTOi.js} +3 -3
- package/dist/browser/{reset-all-settings-BOrTf1Lp.js → reset-all-settings-Cl74zGyE.js} +7 -7
- package/dist/browser/{rolldown-runtime-BSQQuCTD.js → rolldown-runtime-BAuBEODA.js} +1 -1
- package/dist/browser/{settings-DTDJKJjP.js → settings-BIgQOlLC.js} +2 -2
- package/dist/browser/{settings-item-DdnzmVZj.js → settings-item-CMHd9Vr7.js} +6 -6
- package/dist/browser/{store-CB1U4gvI.js → store-WG-XbhCX.js} +4643 -4503
- package/dist/browser/{string-editor-BEncfiNG.js → string-editor-Cdda3m3H.js} +8 -8
- package/dist/browser/{theme-RyeKAHMc.js → theme-CEfCl0Wg.js} +8 -8
- package/dist/browser/{ui-D5E2lSMl.js → ui-Cxw-zCCr.js} +8 -8
- package/dist/esm/RouteCutIn.js +1 -1
- package/dist/esm/components/IntercomLauncher.d.ts +5 -0
- package/dist/esm/components/IntercomLauncher.js +1 -0
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-all.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
- package/dist/esm/components/SearchBox.js +1 -1
- package/dist/esm/components/gps/useUserLocationAndHeading.js +1 -1
- package/dist/esm/components/gps/utils.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/intercom/bootIntercom.js +1 -19
- package/dist/esm/services/routing.js +1 -1
- package/dist/esm/store/BoothStore.d.ts +0 -1
- package/dist/esm/store/BoothStore.js +1 -1
- package/dist/esm/store/IntercomStore.d.ts +7 -0
- package/dist/esm/store/IntercomStore.js +1 -0
- package/dist/esm/store/RootStore.d.ts +2 -0
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RouteStore.d.ts +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/index.d.ts +1 -0
- package/dist/esm/store/index.js +1 -1
- package/dist/esm/store/init/init-booths.js +1 -1
- package/dist/esm/tools/track-event.js +1 -1
- package/dist/esm/utils/customCommands.d.ts +1 -1
- package/dist/esm/utils/customCommands.js +1 -1
- package/dist/esm/utils/gps.d.ts +0 -1
- package/dist/esm/utils/gps.js +1 -1
- package/dist/esm/utils/haversineDistance.d.ts +7 -0
- package/dist/esm/utils/haversineDistance.js +1 -0
- package/dist/esm/wayfinding/adapters/boothToEndpoint.d.ts +13 -0
- package/dist/esm/wayfinding/adapters/boothToEndpoint.js +1 -0
- package/dist/esm/wayfinding/adapters/boothToWaypoint.d.ts +1 -1
- package/dist/esm/wayfinding/adapters/canvasIconProvider.d.ts +20 -0
- package/dist/esm/wayfinding/adapters/canvasIconProvider.js +1 -0
- package/dist/esm/wayfinding/adapters/floorContext.d.ts +10 -0
- package/dist/esm/wayfinding/adapters/floorContext.js +1 -0
- package/dist/esm/wayfinding/adapters/graphDataSource.d.ts +1 -1
- package/dist/esm/wayfinding/adapters/iconProvider.d.ts +15 -0
- package/dist/esm/wayfinding/adapters/index.d.ts +9 -0
- package/dist/esm/wayfinding/adapters/index.js +1 -0
- package/dist/esm/wayfinding/adapters/kioskCanvas.d.ts +7 -0
- package/dist/esm/wayfinding/adapters/kioskCanvas.js +1 -0
- package/dist/esm/wayfinding/adapters/positionInput.d.ts +11 -0
- package/dist/esm/wayfinding/adapters/positionInput.js +1 -0
- package/dist/esm/wayfinding/bindMobxReactions.d.ts +27 -0
- package/dist/esm/wayfinding/bindMobxReactions.js +1 -0
- package/dist/esm/wayfinding/{__tests__ → core/__tests__}/helpers.d.ts +0 -5
- package/dist/esm/wayfinding/core/__tests__/helpers.js +1 -0
- package/dist/esm/wayfinding/core/createWayfindingEngine.d.ts +16 -0
- package/dist/esm/wayfinding/core/createWayfindingEngine.js +1 -0
- package/dist/esm/wayfinding/{graph → core/graph}/graphCache.d.ts +2 -1
- package/dist/esm/wayfinding/core/index.d.ts +16 -0
- package/dist/esm/wayfinding/core/index.js +1 -0
- package/dist/esm/wayfinding/core/position/distanceToRoute.d.ts +3 -0
- package/dist/esm/wayfinding/core/position/distanceToRoute.js +1 -0
- package/dist/esm/wayfinding/core/position/gpsThreshold.d.ts +22 -0
- package/dist/esm/wayfinding/core/position/gpsThreshold.js +1 -0
- package/dist/esm/wayfinding/core/position/shouldReroute.d.ts +3 -0
- package/dist/esm/wayfinding/core/position/shouldReroute.js +1 -0
- package/dist/esm/wayfinding/core/position/snapToRoute.d.ts +4 -0
- package/dist/esm/wayfinding/core/position/snapToRoute.js +1 -0
- package/dist/esm/{components/Map/drawing/config/route-snapping → wayfinding/core/position}/splitRouteByPoint.d.ts +1 -1
- package/dist/esm/wayfinding/core/position/splitRouteByPoint.js +1 -0
- package/dist/esm/wayfinding/core/rendering/computeTrailPoints.d.ts +19 -0
- package/dist/esm/wayfinding/core/rendering/computeTrailPoints.js +1 -0
- package/dist/esm/wayfinding/{rendering → core/rendering}/computeTransitionPoints.d.ts +2 -2
- package/dist/esm/wayfinding/core/rendering/computeTransitionPoints.js +1 -0
- package/dist/esm/wayfinding/core/rendering/getVisibleRouteLines.d.ts +11 -0
- package/dist/esm/wayfinding/core/rendering/getVisibleRouteLines.js +1 -0
- package/dist/esm/wayfinding/core/rendering/normalizeRouteDirection.d.ts +20 -0
- package/dist/esm/wayfinding/core/rendering/normalizeRouteDirection.js +1 -0
- package/dist/esm/wayfinding/core/rendering/routeGeometry.d.ts +15 -0
- package/dist/esm/wayfinding/core/rendering/routeGeometry.js +1 -0
- package/dist/esm/wayfinding/core/routing/optimizeWaypointOrder.d.ts +19 -0
- package/dist/esm/wayfinding/core/routing/optimizeWaypointOrder.js +1 -0
- package/dist/esm/wayfinding/core/routing/resolveWaypointCandidates.d.ts +7 -0
- package/dist/esm/wayfinding/core/routing/resolveWaypointCandidates.js +1 -0
- package/dist/esm/wayfinding/{types.d.ts → core/types.d.ts} +37 -0
- package/dist/esm/wayfinding/createWayfinding.d.ts +3 -0
- package/dist/esm/wayfinding/createWayfinding.js +1 -0
- package/dist/esm/wayfinding/handlers/kioskHandler.d.ts +25 -0
- package/dist/esm/wayfinding/handlers/kioskHandler.js +1 -0
- package/dist/esm/wayfinding/handlers/yahHandler.d.ts +23 -0
- package/dist/esm/wayfinding/handlers/yahHandler.js +1 -0
- package/dist/esm/wayfinding/layers.d.ts +14 -0
- package/dist/esm/wayfinding/layers.js +1 -0
- package/dist/esm/wayfinding/renderer/createWayfindingRenderer.d.ts +14 -0
- package/dist/esm/wayfinding/renderer/createWayfindingRenderer.js +1 -0
- package/dist/esm/wayfinding/renderer/iconManager.d.ts +31 -0
- package/dist/esm/wayfinding/renderer/iconManager.js +1 -0
- package/dist/esm/wayfinding/renderer/index.d.ts +3 -0
- package/dist/esm/wayfinding/renderer/index.js +1 -0
- package/dist/esm/wayfinding/renderer/layerManager.d.ts +27 -0
- package/dist/esm/wayfinding/renderer/layerManager.js +1 -0
- package/dist/esm/wayfinding/renderer/routeLineManager.d.ts +42 -0
- package/dist/esm/wayfinding/renderer/routeLineManager.js +1 -0
- package/dist/esm/wayfinding/renderer/trailManager.d.ts +27 -0
- package/dist/esm/wayfinding/renderer/trailManager.js +1 -0
- package/dist/esm/wayfinding/renderer/types.d.ts +162 -0
- package/dist/esm/wayfinding/runtime/createWayfindingRuntime.d.ts +3 -0
- package/dist/esm/wayfinding/runtime/createWayfindingRuntime.js +1 -0
- package/dist/esm/wayfinding/runtime/endpointView.d.ts +16 -0
- package/dist/esm/wayfinding/runtime/endpointView.js +1 -0
- package/dist/esm/wayfinding/runtime/getRouteLines.d.ts +13 -0
- package/dist/esm/wayfinding/runtime/getRouteLines.js +1 -0
- package/dist/esm/wayfinding/runtime/positionTrailView.d.ts +57 -0
- package/dist/esm/wayfinding/runtime/positionTrailView.js +1 -0
- package/dist/esm/wayfinding/runtime/positionView.d.ts +23 -0
- package/dist/esm/wayfinding/runtime/positionView.js +1 -0
- package/dist/esm/wayfinding/runtime/routeLinesView.d.ts +18 -0
- package/dist/esm/wayfinding/runtime/routeLinesView.js +1 -0
- package/dist/esm/wayfinding/runtime/routeRenderData.d.ts +29 -0
- package/dist/esm/wayfinding/runtime/routeRenderData.js +1 -0
- package/dist/esm/wayfinding/runtime/routeUpdate.d.ts +14 -0
- package/dist/esm/wayfinding/runtime/routeUpdate.js +1 -0
- package/dist/esm/wayfinding/runtime/trailView.d.ts +21 -0
- package/dist/esm/wayfinding/runtime/trailView.js +1 -0
- package/dist/esm/wayfinding/runtime/transitionView.d.ts +18 -0
- package/dist/esm/wayfinding/runtime/transitionView.js +1 -0
- package/dist/esm/wayfinding/runtime/types.d.ts +72 -0
- package/dist/esm/wayfinding/runtime/types.js +1 -0
- package/dist/esm/wayfinding/utils/findBoothInRadius.d.ts +4 -0
- package/dist/esm/wayfinding/utils/findBoothInRadius.js +1 -0
- package/package.json +3 -3
- package/dist/browser/ShowKiosk-BL9nfBDf.js +0 -26
- package/dist/browser/bootIntercom-D3i1xdrZ.js +0 -40
- package/dist/esm/components/Map/drawing/config/config-booth-scaled.d.ts +0 -14
- package/dist/esm/components/Map/drawing/config/config-booth-scaled.js +0 -1
- package/dist/esm/components/Map/drawing/config/config-wf.d.ts +0 -8
- package/dist/esm/components/Map/drawing/config/config-wf.js +0 -1
- package/dist/esm/components/Map/drawing/config/config-yah.d.ts +0 -2
- package/dist/esm/components/Map/drawing/config/config-yah.js +0 -1
- package/dist/esm/components/Map/drawing/config/route-snapping/index.d.ts +0 -5
- package/dist/esm/components/Map/drawing/config/route-snapping/index.js +0 -1
- package/dist/esm/components/Map/drawing/config/route-snapping/snapPositionToRoute.d.ts +0 -21
- package/dist/esm/components/Map/drawing/config/route-snapping/snapPositionToRoute.js +0 -1
- package/dist/esm/components/Map/drawing/config/route-snapping/splitRouteByPoint.js +0 -1
- package/dist/esm/components/Map/drawing/config/route-snapping/types.d.ts +0 -18
- package/dist/esm/components/Map/drawing/config/route-snapping/utils.d.ts +0 -29
- package/dist/esm/components/Map/drawing/config/route-snapping/utils.js +0 -1
- package/dist/esm/utils/buildOptimizedRoute.d.ts +0 -11
- package/dist/esm/utils/buildOptimizedRoute.js +0 -1
- package/dist/esm/utils/yah.d.ts +0 -8
- package/dist/esm/utils/yah.js +0 -1
- package/dist/esm/wayfinding/_PLAN-public-api.d.ts +0 -220
- package/dist/esm/wayfinding/__integration__/legacy/legacyWayfinding.d.ts +0 -27
- package/dist/esm/wayfinding/__integration__/legacy/legacyWayfinding.js +0 -1
- package/dist/esm/wayfinding/__tests__/helpers.js +0 -1
- package/dist/esm/wayfinding/index.d.ts +0 -18
- package/dist/esm/wayfinding/index.js +0 -1
- package/dist/esm/wayfinding/rendering/computeTransitionPoints.js +0 -1
- package/dist/esm/wayfinding/rendering/normalizeRouteDirection.d.ts +0 -19
- package/dist/esm/wayfinding/rendering/normalizeRouteDirection.js +0 -1
- package/dist/esm/wayfinding/rendering/routeGeometry.d.ts +0 -16
- package/dist/esm/wayfinding/rendering/routeGeometry.js +0 -1
- package/dist/esm/wayfinding/routing/getGraphLines.d.ts +0 -14
- package/dist/esm/wayfinding/routing/getGraphLines.js +0 -1
- /package/dist/esm/{components/Map/drawing/config/route-snapping/types.js → wayfinding/adapters/iconProvider.js} +0 -0
- /package/dist/esm/wayfinding/{graph → core/graph}/buildGraph.d.ts +0 -0
- /package/dist/esm/wayfinding/{graph → core/graph}/buildGraph.js +0 -0
- /package/dist/esm/wayfinding/{graph → core/graph}/buildNGraph.d.ts +0 -0
- /package/dist/esm/wayfinding/{graph → core/graph}/buildNGraph.js +0 -0
- /package/dist/esm/wayfinding/{graph → core/graph}/constants.d.ts +0 -0
- /package/dist/esm/wayfinding/{graph → core/graph}/constants.js +0 -0
- /package/dist/esm/wayfinding/{graph → core/graph}/findShortestPath.d.ts +0 -0
- /package/dist/esm/wayfinding/{graph → core/graph}/findShortestPath.js +0 -0
- /package/dist/esm/wayfinding/{graph → core/graph}/graphCache.js +0 -0
- /package/dist/esm/wayfinding/{graph → core/graph}/graphHelpers.d.ts +0 -0
- /package/dist/esm/wayfinding/{graph → core/graph}/graphHelpers.js +0 -0
- /package/dist/esm/wayfinding/{graph → core/graph}/linkCost.d.ts +0 -0
- /package/dist/esm/wayfinding/{graph → core/graph}/linkCost.js +0 -0
- /package/dist/esm/wayfinding/{graph → core/graph}/pathfinder/aStarPathFinder.d.ts +0 -0
- /package/dist/esm/wayfinding/{graph → core/graph}/pathfinder/aStarPathFinder.js +0 -0
- /package/dist/esm/wayfinding/{graph → core/graph}/pathfinder/parseNodeId.d.ts +0 -0
- /package/dist/esm/wayfinding/{graph → core/graph}/pathfinder/parseNodeId.js +0 -0
- /package/dist/esm/wayfinding/{routing → core/routing}/buildMultiPointRoute.d.ts +0 -0
- /package/dist/esm/wayfinding/{routing → core/routing}/buildMultiPointRoute.js +0 -0
- /package/dist/esm/wayfinding/{routing → core/routing}/buildRoute.d.ts +0 -0
- /package/dist/esm/wayfinding/{routing → core/routing}/buildRoute.js +0 -0
- /package/dist/esm/wayfinding/{routing → core/routing}/findNearestGraphPoint.d.ts +0 -0
- /package/dist/esm/wayfinding/{routing → core/routing}/findNearestGraphPoint.js +0 -0
- /package/dist/esm/wayfinding/{routing → core/routing}/getRouteLength.d.ts +0 -0
- /package/dist/esm/wayfinding/{routing → core/routing}/getRouteLength.js +0 -0
- /package/dist/esm/wayfinding/{routing → core/routing}/routeResult.d.ts +0 -0
- /package/dist/esm/wayfinding/{routing → core/routing}/routeResult.js +0 -0
- /package/dist/esm/wayfinding/{types.js → core/types.js} +0 -0
- /package/dist/esm/wayfinding/{_PLAN-public-api.js → renderer/types.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.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] = "8159df81-f770-4b79-8d36-009bf69213aa", e._sentryDebugIdIdentifier = "sentry-dbid-8159df81-f770-4b79-8d36-009bf69213aa");
|
|
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 "./browser-
|
|
13
|
-
import { a as i, ct as a, ft as o, lt as s, o as c, y as l } from "./is-debug-
|
|
14
|
-
import { a as u, i as d, n as f, r as p, t as ee } from "./floorplan.loader-
|
|
15
|
-
import { C as
|
|
16
|
-
import { t as
|
|
17
|
-
import {
|
|
18
|
-
import { i as ye } from "./CookieConsent-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BAuBEODA.js";
|
|
10
|
+
import { t } from "./react-B3Fm-ZS0.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-IE8skafD.js";
|
|
12
|
+
import { t as r } from "./browser-hErw7TCJ.js";
|
|
13
|
+
import { a as i, ct as a, ft as o, lt as s, o as c, y as l } from "./is-debug-DatwRSE7.js";
|
|
14
|
+
import { a as u, i as d, n as f, r as p, t as ee } from "./floorplan.loader-B9u5roId.js";
|
|
15
|
+
import { C as te, D as ne, Q as re, i as ie, mt as m, n as ae, w as oe } from "./exports-D2FWPMfV.js";
|
|
16
|
+
import { t as se } from "./client-vSscuHGN.js";
|
|
17
|
+
import { C as ce, F as h, N as g, P as _, S as le, Xn as v, _ as ue, at as de, b as fe, ct as y, ft as pe, h as me, o as b, ot as x, p as S, pt as he, tt as ge, v as _e, x as ve, zn as C } from "./store-WG-XbhCX.js";
|
|
18
|
+
import { i as ye } from "./CookieConsent-B1LE7YfT.js";
|
|
19
19
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
|
|
20
|
-
function
|
|
20
|
+
function be(e = {}) {
|
|
21
21
|
let t = p.document, n = (t == null ? void 0 : t.head) || (t == null ? void 0 : t.body);
|
|
22
22
|
if (!n) {
|
|
23
|
-
f &&
|
|
23
|
+
f && m.error("[showReportDialog] Global document not defined");
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
26
|
-
let r =
|
|
26
|
+
let r = oe(), i = te(), a = i == null ? void 0 : i.getDsn();
|
|
27
27
|
if (!a) {
|
|
28
|
-
f &&
|
|
28
|
+
f && m.error("[showReportDialog] DSN not configured");
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
31
|
let o = {
|
|
@@ -34,7 +34,7 @@ function C(e = {}) {
|
|
|
34
34
|
...r.getUser(),
|
|
35
35
|
...e.user
|
|
36
36
|
},
|
|
37
|
-
eventId: e.eventId ||
|
|
37
|
+
eventId: e.eventId || ie()
|
|
38
38
|
}, s = p.document.createElement("script");
|
|
39
39
|
s.async = !0, s.crossOrigin = "anonymous", s.src = d(a, o);
|
|
40
40
|
let { onLoad: c, onClose: l } = o;
|
|
@@ -53,11 +53,11 @@ function C(e = {}) {
|
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region ../../node_modules/.pnpm/@sentry+react@10.52.0_react@19.2.6/node_modules/@sentry/react/build/esm/error.js
|
|
55
55
|
var w = /* @__PURE__ */ e(t());
|
|
56
|
-
function
|
|
56
|
+
function xe(e) {
|
|
57
57
|
let t = e.match(/^([^.]+)/);
|
|
58
58
|
return t !== null && parseInt(t[0]) >= 17;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function Se(e, t) {
|
|
61
61
|
let n = /* @__PURE__ */ new WeakSet();
|
|
62
62
|
function r(e, t) {
|
|
63
63
|
if (!n.has(e)) {
|
|
@@ -67,25 +67,25 @@ function xe(e, t) {
|
|
|
67
67
|
}
|
|
68
68
|
r(e, t);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
if (
|
|
70
|
+
function Ce(e, { componentStack: t }, n) {
|
|
71
|
+
if (xe(w.version) && re(e) && t) {
|
|
72
72
|
let n = Error(e.message);
|
|
73
|
-
n.name = `React ErrorBoundary ${e.name}`, n.stack = t,
|
|
73
|
+
n.name = `React ErrorBoundary ${e.name}`, n.stack = t, Se(e, n);
|
|
74
74
|
}
|
|
75
|
-
return
|
|
75
|
+
return ne((r) => (r.setContext("react", { componentStack: t }), ae(e, n)));
|
|
76
76
|
}
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region ../../node_modules/.pnpm/@sentry+react@10.52.0_react@19.2.6/node_modules/@sentry/react/build/esm/debug-build.js
|
|
79
|
-
var
|
|
79
|
+
var we = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, T = {
|
|
80
80
|
componentStack: null,
|
|
81
81
|
error: null,
|
|
82
82
|
eventId: null
|
|
83
|
-
},
|
|
83
|
+
}, Te = class extends w.Component {
|
|
84
84
|
constructor(e) {
|
|
85
85
|
super(e), this.state = T, this._openFallbackReportDialog = !0;
|
|
86
|
-
let t =
|
|
86
|
+
let t = te();
|
|
87
87
|
t && e.showDialog && (this._openFallbackReportDialog = !1, this._cleanupHook = t.on("afterSendEvent", (t) => {
|
|
88
|
-
!t.type && this._lastEventId && t.event_id === this._lastEventId &&
|
|
88
|
+
!t.type && this._lastEventId && t.event_id === this._lastEventId && be({
|
|
89
89
|
...e.dialogOptions,
|
|
90
90
|
eventId: this._lastEventId
|
|
91
91
|
});
|
|
@@ -93,13 +93,13 @@ var Ce = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, T = {
|
|
|
93
93
|
}
|
|
94
94
|
componentDidCatch(e, t) {
|
|
95
95
|
let { componentStack: n } = t, { beforeCapture: r, onError: i, showDialog: a, dialogOptions: o } = this.props;
|
|
96
|
-
|
|
96
|
+
ne((s) => {
|
|
97
97
|
r && r(s, e, n);
|
|
98
|
-
let c =
|
|
98
|
+
let c = Ce(e, t, { mechanism: {
|
|
99
99
|
handled: this.props.handled == null ? !!this.props.fallback : this.props.handled,
|
|
100
100
|
type: "auto.function.react.error_boundary"
|
|
101
101
|
} });
|
|
102
|
-
i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog &&
|
|
102
|
+
i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog && be({
|
|
103
103
|
...o,
|
|
104
104
|
eventId: c
|
|
105
105
|
})), this.setState({
|
|
@@ -130,17 +130,17 @@ var Ce = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, T = {
|
|
|
130
130
|
resetError: () => this.resetErrorBoundary(),
|
|
131
131
|
eventId: n.eventId
|
|
132
132
|
}) : e;
|
|
133
|
-
return w.isValidElement(r) ? r : (e &&
|
|
133
|
+
return w.isValidElement(r) ? r : (e && we && m.warn("fallback did not produce a valid ReactElement"), null);
|
|
134
134
|
}
|
|
135
|
-
},
|
|
136
|
-
function
|
|
135
|
+
}, Ee = se(), De = he();
|
|
136
|
+
function Oe() {
|
|
137
137
|
E("floorplan"), E("__data"), E("__dataUrlBase"), E("__searchi"), E("__wfData"), E("__mobxGlobals"), E("__store"), E("__mobxInstanceCount");
|
|
138
138
|
for (let e in window) e !== "__efpStyleElements" && (e.includes("__fp") || e.includes("__efp")) && E(e);
|
|
139
139
|
}
|
|
140
140
|
function E(e) {
|
|
141
|
-
|
|
141
|
+
ke(e) ? delete window[e] : window[e] = void 0;
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function ke(e) {
|
|
144
144
|
let t = Object.getOwnPropertyDescriptor(window, e);
|
|
145
145
|
return t && t.configurable;
|
|
146
146
|
}
|
|
@@ -254,9 +254,9 @@ var j = class extends Error {
|
|
|
254
254
|
constructor() {
|
|
255
255
|
super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
|
|
256
256
|
}
|
|
257
|
-
},
|
|
258
|
-
function
|
|
259
|
-
return e && Object.assign(
|
|
257
|
+
}, M = {};
|
|
258
|
+
function N(e) {
|
|
259
|
+
return e && Object.assign(M, e), M;
|
|
260
260
|
}
|
|
261
261
|
//#endregion
|
|
262
262
|
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.js
|
|
@@ -276,12 +276,12 @@ function Me(e) {
|
|
|
276
276
|
let t = +!!e.startsWith("^"), n = e.endsWith("$") ? e.length - 1 : e.length;
|
|
277
277
|
return e.slice(t, n);
|
|
278
278
|
}
|
|
279
|
-
var
|
|
280
|
-
function
|
|
279
|
+
var P = Symbol("evaluating");
|
|
280
|
+
function F(e, t, n) {
|
|
281
281
|
let r;
|
|
282
282
|
Object.defineProperty(e, t, {
|
|
283
283
|
get() {
|
|
284
|
-
if (r !==
|
|
284
|
+
if (r !== P) return r === void 0 && (r = P, r = n()), r;
|
|
285
285
|
},
|
|
286
286
|
set(n) {
|
|
287
287
|
Object.defineProperty(e, t, { value: n });
|
|
@@ -289,15 +289,15 @@ function N(e, t, n) {
|
|
|
289
289
|
configurable: !0
|
|
290
290
|
});
|
|
291
291
|
}
|
|
292
|
-
var
|
|
293
|
-
function
|
|
292
|
+
var I = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {};
|
|
293
|
+
function Ne(e) {
|
|
294
294
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function Pe(e, t, n) {
|
|
297
297
|
let r = new e._zod.constr(t == null ? e._zod.def : t);
|
|
298
298
|
return (!t || n != null && n.parent) && (r._zod.parent = e), r;
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function L(e) {
|
|
301
301
|
let t = e;
|
|
302
302
|
if (!t) return {};
|
|
303
303
|
if (typeof t == "string") return { error: () => t };
|
|
@@ -310,11 +310,11 @@ function P(e) {
|
|
|
310
310
|
error: () => t.error
|
|
311
311
|
} : t;
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function Fe(e) {
|
|
314
314
|
return Object.keys(e).filter((t) => e[t]._zod.optin === "optional" && e[t]._zod.optout === "optional");
|
|
315
315
|
}
|
|
316
316
|
-Number.MAX_VALUE, Number.MAX_VALUE;
|
|
317
|
-
function
|
|
317
|
+
function R(e, t = 0) {
|
|
318
318
|
if (e.aborted === !0) return !0;
|
|
319
319
|
for (let r = t; r < e.issues.length; r++) {
|
|
320
320
|
var n;
|
|
@@ -322,16 +322,16 @@ function F(e, t = 0) {
|
|
|
322
322
|
}
|
|
323
323
|
return !1;
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function z(e, t) {
|
|
326
326
|
return t.map((t) => {
|
|
327
327
|
var n;
|
|
328
328
|
return (n = t).path != null || (n.path = []), t.path.unshift(e), t;
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function B(e) {
|
|
332
332
|
return typeof e == "string" ? e : e == null ? void 0 : e.message;
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function V(e, t, n) {
|
|
335
335
|
var r;
|
|
336
336
|
let i = {
|
|
337
337
|
...e,
|
|
@@ -339,11 +339,11 @@ function R(e, t, n) {
|
|
|
339
339
|
};
|
|
340
340
|
if (!e.message) {
|
|
341
341
|
var a, o, s, c, l, u, d, f, p;
|
|
342
|
-
i.message = (a = (o = (s = (c =
|
|
342
|
+
i.message = (a = (o = (s = (c = B((l = e.inst) == null || (l = l._zod.def) == null || (u = l.error) == null ? void 0 : u.call(l, e))) == null ? B(t == null || (d = t.error) == null ? void 0 : d.call(t, e)) : c) == null ? B((f = n.customError) == null ? void 0 : f.call(n, e)) : s) == null ? B((p = n.localeError) == null ? void 0 : p.call(n, e)) : o) == null ? "Invalid input" : a;
|
|
343
343
|
}
|
|
344
344
|
return delete i.inst, delete i.continue, t != null && t.reportInput || delete i.input, i;
|
|
345
345
|
}
|
|
346
|
-
function
|
|
346
|
+
function Ie(...e) {
|
|
347
347
|
let [t, n, r] = e;
|
|
348
348
|
return typeof t == "string" ? {
|
|
349
349
|
message: t,
|
|
@@ -354,7 +354,7 @@ function Re(...e) {
|
|
|
354
354
|
}
|
|
355
355
|
//#endregion
|
|
356
356
|
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.js
|
|
357
|
-
var
|
|
357
|
+
var H = (e, t) => {
|
|
358
358
|
e.name = "$ZodError", Object.defineProperty(e, "_zod", {
|
|
359
359
|
value: e._zod,
|
|
360
360
|
enumerable: !1
|
|
@@ -365,7 +365,7 @@ var z = (e, t) => {
|
|
|
365
365
|
value: () => e.message,
|
|
366
366
|
enumerable: !1
|
|
367
367
|
});
|
|
368
|
-
},
|
|
368
|
+
}, Le = A("$ZodError", H), U = A("$ZodError", H, { Parent: Error }), Re = /* @__PURE__ */ ((e) => (t, n, r, i) => {
|
|
369
369
|
let a = r ? Object.assign(r, { async: !1 }) : { async: !1 }, o = t._zod.run({
|
|
370
370
|
value: n,
|
|
371
371
|
issues: []
|
|
@@ -373,22 +373,22 @@ var z = (e, t) => {
|
|
|
373
373
|
if (o instanceof Promise) throw new j();
|
|
374
374
|
if (o.issues.length) {
|
|
375
375
|
var s;
|
|
376
|
-
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) =>
|
|
377
|
-
throw
|
|
376
|
+
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) => V(e, a, N())));
|
|
377
|
+
throw I(t, i == null ? void 0 : i.callee), t;
|
|
378
378
|
}
|
|
379
379
|
return o.value;
|
|
380
|
-
})(
|
|
380
|
+
})(U), ze = /* @__PURE__ */ ((e) => async (t, n, r, i) => {
|
|
381
381
|
let a = r ? Object.assign(r, { async: !0 }) : { async: !0 }, o = t._zod.run({
|
|
382
382
|
value: n,
|
|
383
383
|
issues: []
|
|
384
384
|
}, a);
|
|
385
385
|
if (o instanceof Promise && (o = await o), o.issues.length) {
|
|
386
386
|
var s;
|
|
387
|
-
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) =>
|
|
388
|
-
throw
|
|
387
|
+
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) => V(e, a, N())));
|
|
388
|
+
throw I(t, i == null ? void 0 : i.callee), t;
|
|
389
389
|
}
|
|
390
390
|
return o.value;
|
|
391
|
-
})(
|
|
391
|
+
})(U), Be = /* @__PURE__ */ ((e) => (t, n, r) => {
|
|
392
392
|
let i = r ? {
|
|
393
393
|
...r,
|
|
394
394
|
async: !1
|
|
@@ -399,24 +399,24 @@ var z = (e, t) => {
|
|
|
399
399
|
if (a instanceof Promise) throw new j();
|
|
400
400
|
return a.issues.length ? {
|
|
401
401
|
success: !1,
|
|
402
|
-
error: new (e == null ?
|
|
402
|
+
error: new (e == null ? Le : e)(a.issues.map((e) => V(e, i, N())))
|
|
403
403
|
} : {
|
|
404
404
|
success: !0,
|
|
405
405
|
data: a.value
|
|
406
406
|
};
|
|
407
|
-
})(
|
|
407
|
+
})(U), Ve = /* @__PURE__ */ ((e) => async (t, n, r) => {
|
|
408
408
|
let i = r ? Object.assign(r, { async: !0 }) : { async: !0 }, a = t._zod.run({
|
|
409
409
|
value: n,
|
|
410
410
|
issues: []
|
|
411
411
|
}, i);
|
|
412
412
|
return a instanceof Promise && (a = await a), a.issues.length ? {
|
|
413
413
|
success: !1,
|
|
414
|
-
error: new e(a.issues.map((e) =>
|
|
414
|
+
error: new e(a.issues.map((e) => V(e, i, N())))
|
|
415
415
|
} : {
|
|
416
416
|
success: !0,
|
|
417
417
|
data: a.value
|
|
418
418
|
};
|
|
419
|
-
})(
|
|
419
|
+
})(U), He = (e) => {
|
|
420
420
|
var t, n;
|
|
421
421
|
let r = e ? `[\\s\\S]{${(t = e == null ? void 0 : e.minimum) == null ? 0 : t},${(n = e == null ? void 0 : e.maximum) == null ? "" : n}}` : "[\\s\\S]*";
|
|
422
422
|
return RegExp(`^${r}$`);
|
|
@@ -427,7 +427,7 @@ var z = (e, t) => {
|
|
|
427
427
|
major: 4,
|
|
428
428
|
minor: 3,
|
|
429
429
|
patch: 5
|
|
430
|
-
},
|
|
430
|
+
}, W = /* @__PURE__ */ A("$ZodType", (e, t) => {
|
|
431
431
|
var n, r;
|
|
432
432
|
e != null || (e = {}), e._zod.def = t, e._zod.bag = e._zod.bag || {}, e._zod.version = Ge;
|
|
433
433
|
let i = [...(n = e._zod.def.checks) == null ? [] : n];
|
|
@@ -440,7 +440,7 @@ var z = (e, t) => {
|
|
|
440
440
|
});
|
|
441
441
|
} else {
|
|
442
442
|
let t = (e, t, n) => {
|
|
443
|
-
let r =
|
|
443
|
+
let r = R(e), i;
|
|
444
444
|
for (let o of t) {
|
|
445
445
|
if (o._zod.def.when) {
|
|
446
446
|
if (!o._zod.def.when(e)) continue;
|
|
@@ -450,16 +450,16 @@ var z = (e, t) => {
|
|
|
450
450
|
if (i || s instanceof Promise) {
|
|
451
451
|
var a;
|
|
452
452
|
i = ((a = i) == null ? Promise.resolve() : a).then(async () => {
|
|
453
|
-
await s, e.issues.length !== t && (r || (r =
|
|
453
|
+
await s, e.issues.length !== t && (r || (r = R(e, t)));
|
|
454
454
|
});
|
|
455
455
|
} else {
|
|
456
456
|
if (e.issues.length === t) continue;
|
|
457
|
-
r || (r =
|
|
457
|
+
r || (r = R(e, t));
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
return i ? i.then(() => e) : e;
|
|
461
461
|
}, n = (n, r, a) => {
|
|
462
|
-
if (
|
|
462
|
+
if (R(n)) return n.aborted = !0, n;
|
|
463
463
|
let o = t(r, i, a);
|
|
464
464
|
if (o instanceof Promise) {
|
|
465
465
|
if (a.async === !1) throw new j();
|
|
@@ -487,14 +487,14 @@ var z = (e, t) => {
|
|
|
487
487
|
return t(o, i, a);
|
|
488
488
|
};
|
|
489
489
|
}
|
|
490
|
-
|
|
490
|
+
F(e, "~standard", () => ({
|
|
491
491
|
validate: (t) => {
|
|
492
492
|
try {
|
|
493
493
|
var n;
|
|
494
|
-
let r =
|
|
494
|
+
let r = Be(e, t);
|
|
495
495
|
return r.success ? { value: r.data } : { issues: (n = r.error) == null ? void 0 : n.issues };
|
|
496
496
|
} catch {
|
|
497
|
-
return
|
|
497
|
+
return Ve(e, t).then((e) => {
|
|
498
498
|
var t;
|
|
499
499
|
return e.success ? { value: e.data } : { issues: (t = e.error) == null ? void 0 : t.issues };
|
|
500
500
|
});
|
|
@@ -505,7 +505,7 @@ var z = (e, t) => {
|
|
|
505
505
|
}));
|
|
506
506
|
}), Ke = /* @__PURE__ */ A("$ZodString", (e, t) => {
|
|
507
507
|
var n, r, i;
|
|
508
|
-
|
|
508
|
+
W.init(e, t), e._zod.pattern = (n = [...(r = e == null || (i = e._zod.bag) == null ? void 0 : i.patterns) == null ? [] : r].pop()) == null ? He(e._zod.bag) : n, e._zod.parse = (n, r) => {
|
|
509
509
|
if (t.coerce) try {
|
|
510
510
|
n.value = String(n.value);
|
|
511
511
|
} catch {}
|
|
@@ -518,7 +518,7 @@ var z = (e, t) => {
|
|
|
518
518
|
};
|
|
519
519
|
}), qe = /* @__PURE__ */ A("$ZodNumber", (e, t) => {
|
|
520
520
|
var n;
|
|
521
|
-
|
|
521
|
+
W.init(e, t), e._zod.pattern = (n = e._zod.bag.pattern) == null ? Ue : n, e._zod.parse = (n, r) => {
|
|
522
522
|
if (t.coerce) try {
|
|
523
523
|
n.value = Number(n.value);
|
|
524
524
|
} catch {}
|
|
@@ -534,7 +534,7 @@ var z = (e, t) => {
|
|
|
534
534
|
}), n;
|
|
535
535
|
};
|
|
536
536
|
}), Je = /* @__PURE__ */ A("$ZodNever", (e, t) => {
|
|
537
|
-
|
|
537
|
+
W.init(e, t), e._zod.parse = (t, n) => (t.issues.push({
|
|
538
538
|
expected: "never",
|
|
539
539
|
code: "invalid_type",
|
|
540
540
|
input: t.value,
|
|
@@ -542,10 +542,10 @@ var z = (e, t) => {
|
|
|
542
542
|
}), t);
|
|
543
543
|
});
|
|
544
544
|
function Ye(e, t, n) {
|
|
545
|
-
e.issues.length && t.issues.push(...
|
|
545
|
+
e.issues.length && t.issues.push(...z(n, e.issues)), t.value[n] = e.value;
|
|
546
546
|
}
|
|
547
547
|
var Xe = /* @__PURE__ */ A("$ZodArray", (e, t) => {
|
|
548
|
-
|
|
548
|
+
W.init(e, t), e._zod.parse = (n, r) => {
|
|
549
549
|
let i = n.value;
|
|
550
550
|
if (!Array.isArray(i)) return n.issues.push({
|
|
551
551
|
expected: "array",
|
|
@@ -565,10 +565,10 @@ var Xe = /* @__PURE__ */ A("$ZodArray", (e, t) => {
|
|
|
565
565
|
return a.length ? Promise.all(a).then(() => n) : n;
|
|
566
566
|
};
|
|
567
567
|
});
|
|
568
|
-
function
|
|
568
|
+
function G(e, t, n, r, i) {
|
|
569
569
|
if (e.issues.length) {
|
|
570
570
|
if (i && !(n in r)) return;
|
|
571
|
-
t.issues.push(...
|
|
571
|
+
t.issues.push(...z(n, e.issues));
|
|
572
572
|
}
|
|
573
573
|
e.value === void 0 ? n in r && (t.value[n] = void 0) : t.value[n] = e.value;
|
|
574
574
|
}
|
|
@@ -578,7 +578,7 @@ function Ze(e) {
|
|
|
578
578
|
var n;
|
|
579
579
|
if (!(!((n = e.shape) == null || (n = n[r]) == null || (n = n._zod) == null || (n = n.traits) == null) && n.has("$ZodType"))) throw Error(`Invalid element at key "${r}": expected a Zod schema`);
|
|
580
580
|
}
|
|
581
|
-
let r =
|
|
581
|
+
let r = Fe(e.shape);
|
|
582
582
|
return {
|
|
583
583
|
...e,
|
|
584
584
|
keys: t,
|
|
@@ -599,7 +599,7 @@ function Qe(e, t, n, r, i, a) {
|
|
|
599
599
|
value: t[i],
|
|
600
600
|
issues: []
|
|
601
601
|
}, r);
|
|
602
|
-
a instanceof Promise ? e.push(a.then((e) =>
|
|
602
|
+
a instanceof Promise ? e.push(a.then((e) => G(e, n, i, t, u))) : G(a, n, i, t, u);
|
|
603
603
|
}
|
|
604
604
|
return o.length && n.issues.push({
|
|
605
605
|
code: "unrecognized_keys",
|
|
@@ -609,7 +609,7 @@ function Qe(e, t, n, r, i, a) {
|
|
|
609
609
|
}), e.length ? Promise.all(e).then(() => n) : n;
|
|
610
610
|
}
|
|
611
611
|
var $e = /* @__PURE__ */ A("$ZodObject", (e, t) => {
|
|
612
|
-
|
|
612
|
+
W.init(e, t);
|
|
613
613
|
let n = Object.getOwnPropertyDescriptor(t, "shape");
|
|
614
614
|
if (!(n != null && n.get)) {
|
|
615
615
|
let e = t.shape;
|
|
@@ -619,7 +619,7 @@ var $e = /* @__PURE__ */ A("$ZodObject", (e, t) => {
|
|
|
619
619
|
} });
|
|
620
620
|
}
|
|
621
621
|
let r = je(() => Ze(t));
|
|
622
|
-
|
|
622
|
+
F(e._zod, "propValues", () => {
|
|
623
623
|
let e = t.shape, n = {};
|
|
624
624
|
for (let t in e) {
|
|
625
625
|
let r = e[t]._zod;
|
|
@@ -630,7 +630,7 @@ var $e = /* @__PURE__ */ A("$ZodObject", (e, t) => {
|
|
|
630
630
|
}
|
|
631
631
|
return n;
|
|
632
632
|
});
|
|
633
|
-
let i =
|
|
633
|
+
let i = Ne, a = t.catchall, o;
|
|
634
634
|
e._zod.parse = (t, n) => {
|
|
635
635
|
o != null || (o = r.value);
|
|
636
636
|
let s = t.value;
|
|
@@ -647,7 +647,7 @@ var $e = /* @__PURE__ */ A("$ZodObject", (e, t) => {
|
|
|
647
647
|
value: s[e],
|
|
648
648
|
issues: []
|
|
649
649
|
}, n);
|
|
650
|
-
a instanceof Promise ? c.push(a.then((n) =>
|
|
650
|
+
a instanceof Promise ? c.push(a.then((n) => G(n, t, e, s, i))) : G(a, t, e, s, i);
|
|
651
651
|
}
|
|
652
652
|
return a ? Qe(c, s, t, n, r.value, e) : c.length ? Promise.all(c).then(() => t) : t;
|
|
653
653
|
};
|
|
@@ -659,7 +659,7 @@ function et(e, t) {
|
|
|
659
659
|
} : e;
|
|
660
660
|
}
|
|
661
661
|
var tt = /* @__PURE__ */ A("$ZodOptional", (e, t) => {
|
|
662
|
-
|
|
662
|
+
W.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", F(e._zod, "values", () => t.innerType._zod.values ? new Set([...t.innerType._zod.values, void 0]) : void 0), F(e._zod, "pattern", () => {
|
|
663
663
|
let e = t.innerType._zod.pattern;
|
|
664
664
|
return e ? RegExp(`^(${Me(e.source)})?$`) : void 0;
|
|
665
665
|
}), e._zod.parse = (e, n) => {
|
|
@@ -670,7 +670,7 @@ var tt = /* @__PURE__ */ A("$ZodOptional", (e, t) => {
|
|
|
670
670
|
return e.value === void 0 ? e : t.innerType._zod.run(e, n);
|
|
671
671
|
};
|
|
672
672
|
}), nt = /* @__PURE__ */ A("$ZodCustom", (e, t) => {
|
|
673
|
-
We.init(e, t),
|
|
673
|
+
We.init(e, t), W.init(e, t), e._zod.parse = (e, t) => e, e._zod.check = (n) => {
|
|
674
674
|
let r = n.value, i = t.fn(r);
|
|
675
675
|
if (i instanceof Promise) return i.then((t) => rt(t, n, r, e));
|
|
676
676
|
rt(i, n, r, e);
|
|
@@ -686,7 +686,7 @@ function rt(e, t, n, r) {
|
|
|
686
686
|
path: [...(i = r._zod.def.path) == null ? [] : i],
|
|
687
687
|
continue: !r._zod.def.abort
|
|
688
688
|
};
|
|
689
|
-
r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(
|
|
689
|
+
r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(Ie(e));
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
692
|
//#endregion
|
|
@@ -695,7 +695,7 @@ function rt(e, t, n, r) {
|
|
|
695
695
|
function it(e, t) {
|
|
696
696
|
return new e({
|
|
697
697
|
type: "string",
|
|
698
|
-
...
|
|
698
|
+
...L(t)
|
|
699
699
|
});
|
|
700
700
|
}
|
|
701
701
|
/* @__NO_SIDE_EFFECTS__ */
|
|
@@ -703,14 +703,14 @@ function at(e, t) {
|
|
|
703
703
|
return new e({
|
|
704
704
|
type: "number",
|
|
705
705
|
checks: [],
|
|
706
|
-
...
|
|
706
|
+
...L(t)
|
|
707
707
|
});
|
|
708
708
|
}
|
|
709
709
|
/* @__NO_SIDE_EFFECTS__ */
|
|
710
710
|
function ot(e, t) {
|
|
711
711
|
return new e({
|
|
712
712
|
type: "never",
|
|
713
|
-
...
|
|
713
|
+
...L(t)
|
|
714
714
|
});
|
|
715
715
|
}
|
|
716
716
|
/* @__NO_SIDE_EFFECTS__ */
|
|
@@ -719,14 +719,14 @@ function st(e, t, n) {
|
|
|
719
719
|
type: "custom",
|
|
720
720
|
check: "custom",
|
|
721
721
|
fn: t,
|
|
722
|
-
...
|
|
722
|
+
...L(n)
|
|
723
723
|
});
|
|
724
724
|
}
|
|
725
725
|
//#endregion
|
|
726
726
|
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/mini/schemas.js
|
|
727
|
-
var
|
|
727
|
+
var K = /* @__PURE__ */ A("ZodMiniType", (e, t) => {
|
|
728
728
|
if (!e._zod) throw Error("Uninitialized schema in ZodMiniType.");
|
|
729
|
-
|
|
729
|
+
W.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => Re(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => Be(e, t, n), e.parseAsync = async (t, n) => ze(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => Ve(e, t, n), e.check = (...n) => {
|
|
730
730
|
var r;
|
|
731
731
|
return e.clone({
|
|
732
732
|
...t,
|
|
@@ -736,63 +736,63 @@ var G = /* @__PURE__ */ A("ZodMiniType", (e, t) => {
|
|
|
736
736
|
onattach: []
|
|
737
737
|
} } : e)]
|
|
738
738
|
}, { parent: !0 });
|
|
739
|
-
}, e.with = e.check, e.clone = (t, n) =>
|
|
739
|
+
}, e.with = e.check, e.clone = (t, n) => Pe(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.apply = (t) => t(e);
|
|
740
740
|
}), ct = /* @__PURE__ */ A("ZodMiniString", (e, t) => {
|
|
741
|
-
Ke.init(e, t),
|
|
741
|
+
Ke.init(e, t), K.init(e, t);
|
|
742
742
|
});
|
|
743
743
|
/* @__NO_SIDE_EFFECTS__ */
|
|
744
744
|
function lt(e) {
|
|
745
745
|
return /* @__PURE__ */ it(ct, e);
|
|
746
746
|
}
|
|
747
747
|
var ut = /* @__PURE__ */ A("ZodMiniNumber", (e, t) => {
|
|
748
|
-
qe.init(e, t),
|
|
748
|
+
qe.init(e, t), K.init(e, t);
|
|
749
749
|
});
|
|
750
750
|
/* @__NO_SIDE_EFFECTS__ */
|
|
751
|
-
function
|
|
751
|
+
function q(e) {
|
|
752
752
|
return /* @__PURE__ */ at(ut, e);
|
|
753
753
|
}
|
|
754
754
|
var dt = /* @__PURE__ */ A("ZodMiniNever", (e, t) => {
|
|
755
|
-
Je.init(e, t),
|
|
755
|
+
Je.init(e, t), K.init(e, t);
|
|
756
756
|
});
|
|
757
757
|
/* @__NO_SIDE_EFFECTS__ */
|
|
758
758
|
function ft(e) {
|
|
759
759
|
return /* @__PURE__ */ ot(dt, e);
|
|
760
760
|
}
|
|
761
761
|
var pt = /* @__PURE__ */ A("ZodMiniArray", (e, t) => {
|
|
762
|
-
Xe.init(e, t),
|
|
762
|
+
Xe.init(e, t), K.init(e, t);
|
|
763
763
|
});
|
|
764
764
|
/* @__NO_SIDE_EFFECTS__ */
|
|
765
765
|
function mt(e, t) {
|
|
766
766
|
return new pt({
|
|
767
767
|
type: "array",
|
|
768
768
|
element: e,
|
|
769
|
-
...
|
|
769
|
+
...L(t)
|
|
770
770
|
});
|
|
771
771
|
}
|
|
772
772
|
var ht = /* @__PURE__ */ A("ZodMiniObject", (e, t) => {
|
|
773
|
-
$e.init(e, t),
|
|
773
|
+
$e.init(e, t), K.init(e, t), F(e, "shape", () => t.shape);
|
|
774
774
|
});
|
|
775
775
|
/* @__NO_SIDE_EFFECTS__ */
|
|
776
|
-
function
|
|
776
|
+
function J(e, t) {
|
|
777
777
|
return new ht({
|
|
778
778
|
type: "object",
|
|
779
779
|
shape: e,
|
|
780
780
|
catchall: /* @__PURE__ */ ft(),
|
|
781
|
-
...
|
|
781
|
+
...L(t)
|
|
782
782
|
});
|
|
783
783
|
}
|
|
784
784
|
var gt = /* @__PURE__ */ A("ZodMiniOptional", (e, t) => {
|
|
785
|
-
tt.init(e, t),
|
|
785
|
+
tt.init(e, t), K.init(e, t);
|
|
786
786
|
});
|
|
787
787
|
/* @__NO_SIDE_EFFECTS__ */
|
|
788
|
-
function
|
|
788
|
+
function Y(e) {
|
|
789
789
|
return new gt({
|
|
790
790
|
type: "optional",
|
|
791
791
|
innerType: e
|
|
792
792
|
});
|
|
793
793
|
}
|
|
794
794
|
var _t = /* @__PURE__ */ A("ZodMiniCustom", (e, t) => {
|
|
795
|
-
nt.init(e, t),
|
|
795
|
+
nt.init(e, t), K.init(e, t);
|
|
796
796
|
});
|
|
797
797
|
/* @__NO_SIDE_EFFECTS__ */
|
|
798
798
|
function vt(e, t = {}) {
|
|
@@ -800,76 +800,37 @@ function vt(e, t = {}) {
|
|
|
800
800
|
}
|
|
801
801
|
//#endregion
|
|
802
802
|
//#region src/schemas/sdk.schemas.ts
|
|
803
|
-
var
|
|
804
|
-
x: /* @__PURE__ */
|
|
805
|
-
y: /* @__PURE__ */
|
|
806
|
-
}),
|
|
807
|
-
leftTop:
|
|
808
|
-
rightBottom:
|
|
809
|
-
}),
|
|
810
|
-
name: /* @__PURE__ */
|
|
811
|
-
externalId: /* @__PURE__ */
|
|
812
|
-
})).check(/* @__PURE__ */ vt((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")),
|
|
813
|
-
booths: /* @__PURE__ */
|
|
814
|
-
exhibitors: /* @__PURE__ */
|
|
803
|
+
var yt = /* @__PURE__ */ J({
|
|
804
|
+
x: /* @__PURE__ */ q(),
|
|
805
|
+
y: /* @__PURE__ */ q()
|
|
806
|
+
}), bt = /* @__PURE__ */ J({
|
|
807
|
+
leftTop: yt,
|
|
808
|
+
rightBottom: yt
|
|
809
|
+
}), xt = (/* @__PURE__ */ J({
|
|
810
|
+
name: /* @__PURE__ */ Y(/* @__PURE__ */ lt()),
|
|
811
|
+
externalId: /* @__PURE__ */ Y(/* @__PURE__ */ lt())
|
|
812
|
+
})).check(/* @__PURE__ */ vt((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")), St = (/* @__PURE__ */ J({
|
|
813
|
+
booths: /* @__PURE__ */ Y(/* @__PURE__ */ mt(xt)),
|
|
814
|
+
exhibitors: /* @__PURE__ */ Y(/* @__PURE__ */ mt(xt))
|
|
815
815
|
})).check(/* @__PURE__ */ vt((e) => {
|
|
816
816
|
var t, n;
|
|
817
817
|
return !!((t = e.booths) != null && t.length || (n = e.exhibitors) != null && n.length);
|
|
818
|
-
}, "Selector must contain booths or exhibitors")),
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
if (n.length <= 2) return n;
|
|
822
|
-
let r = Dt(n, t);
|
|
823
|
-
return r.length < 4 ? r : Ot(r, t);
|
|
824
|
-
}
|
|
825
|
-
function Dt(e, t) {
|
|
826
|
-
let n = [e[0]], r = new Set(e);
|
|
827
|
-
r.delete(e[0]);
|
|
828
|
-
let i = e[0];
|
|
829
|
-
for (; r.size > 0;) {
|
|
830
|
-
let e = t.get(i), a = "", o = Infinity;
|
|
831
|
-
for (let n of r) {
|
|
832
|
-
let r = t.get(n), i = Math.abs(e.cx - r.cx) + Math.abs(e.cy - r.cy);
|
|
833
|
-
i < o && (o = i, a = n);
|
|
834
|
-
}
|
|
835
|
-
if (!a) break;
|
|
836
|
-
n.push(a), r.delete(a), i = a;
|
|
837
|
-
}
|
|
838
|
-
return n;
|
|
839
|
-
}
|
|
840
|
-
function Ot(e, t) {
|
|
841
|
-
let n = [...e], r = !0;
|
|
842
|
-
for (let e = 0; r && e < wt; e++) {
|
|
843
|
-
r = !1;
|
|
844
|
-
scan: for (let e = 1; e < n.length - 2; e++) for (let i = e + 1; i < n.length - 1; i++) {
|
|
845
|
-
let a = t.get(n[e - 1]), o = t.get(n[e]), s = t.get(n[i]), c = t.get(n[i + 1]);
|
|
846
|
-
if (Math.abs(a.cx - s.cx) + Math.abs(a.cy - s.cy) + Math.abs(o.cx - c.cx) + Math.abs(o.cy - c.cy) - (Math.abs(a.cx - o.cx) + Math.abs(a.cy - o.cy)) - (Math.abs(s.cx - c.cx) + Math.abs(s.cy - c.cy)) < Tt) {
|
|
847
|
-
for (let t = e, r = i; t < r; t++, r--) [n[t], n[r]] = [n[r], n[t]];
|
|
848
|
-
r = !0;
|
|
849
|
-
break scan;
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
return n;
|
|
854
|
-
}
|
|
855
|
-
//#endregion
|
|
856
|
-
//#region src/floorplan.ready.tsx
|
|
857
|
-
var X = n(), Z = (0, Ct.default)("efp:api");
|
|
858
|
-
(0, Ee.install)();
|
|
859
|
-
var kt = class extends ee {
|
|
818
|
+
}, "Selector must contain booths or exhibitors")), Ct = /* @__PURE__ */ Y(/* @__PURE__ */ J({ padding: /* @__PURE__ */ Y(/* @__PURE__ */ q()) })), wt = /* @__PURE__ */ e(r(), 1), X = n(), Z = (0, wt.default)("efp:api");
|
|
819
|
+
(0, De.install)();
|
|
820
|
+
var Tt = class extends ee {
|
|
860
821
|
constructor(...e) {
|
|
861
822
|
super(...e), this.root = void 0;
|
|
862
823
|
}
|
|
863
824
|
init() {
|
|
864
|
-
this.ignoreQuery ||
|
|
825
|
+
this.ignoreQuery || ce(this.offHistory), fe("load"), b.fp = this, _e(this.allowConsent), ue(S.Load, ""), this.root = (0, Ee.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, X.jsx)(Te, { children: /* @__PURE__ */ (0, X.jsx)(ye, {
|
|
865
826
|
offHistory: this.offHistory,
|
|
866
827
|
allowConsent: this.allowConsent
|
|
867
|
-
}) })),
|
|
868
|
-
if (this.resolveReady(), !
|
|
828
|
+
}) })), ue(S.Rendered, ""), l(() => b.layerStore.layersLoaded, () => {
|
|
829
|
+
if (this.resolveReady(), !b.initialized) {
|
|
869
830
|
var e;
|
|
870
831
|
(e = this.onInit) == null || e.call(this, this);
|
|
871
832
|
}
|
|
872
|
-
|
|
833
|
+
b.initialized = !0;
|
|
873
834
|
});
|
|
874
835
|
}
|
|
875
836
|
selectBooth(e) {
|
|
@@ -877,8 +838,8 @@ var kt = class extends ee {
|
|
|
877
838
|
$("selectBooth", "Parameter must be a string or an array of strings.", "EFP000000");
|
|
878
839
|
return;
|
|
879
840
|
}
|
|
880
|
-
let t =
|
|
881
|
-
|
|
841
|
+
let t = b.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
842
|
+
b.selectBooth(t);
|
|
882
843
|
}
|
|
883
844
|
selectExhibitor(e) {
|
|
884
845
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
@@ -886,13 +847,13 @@ var kt = class extends ee {
|
|
|
886
847
|
return;
|
|
887
848
|
}
|
|
888
849
|
if (!(e != null && e.length)) {
|
|
889
|
-
|
|
850
|
+
b.uiState.menu = !1, b.searchStore.resetSearchBox(), b.uiState.details = null;
|
|
890
851
|
return;
|
|
891
852
|
}
|
|
892
|
-
let t =
|
|
853
|
+
let t = b.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
893
854
|
if (!(t != null && t.length)) return;
|
|
894
855
|
if (typeof e == "string") {
|
|
895
|
-
|
|
856
|
+
b.selectExhibitor(t[0]), b.moveToList([t[0]]);
|
|
896
857
|
return;
|
|
897
858
|
}
|
|
898
859
|
let n = t.flatMap((e) => e.booths.map((e) => e.layer)), { description: r } = n.reduce((e, t) => (e.freq[t.description] = (e.freq[t.description] || 0) + 1, e.freq[t.description] > e.maxCount && (e.maxCount = e.freq[t.description], e.mostFrequent = t), e), {
|
|
@@ -900,25 +861,25 @@ var kt = class extends ee {
|
|
|
900
861
|
mostFrequent: n[0],
|
|
901
862
|
maxCount: 0
|
|
902
863
|
}).mostFrequent;
|
|
903
|
-
|
|
864
|
+
b.layerStore.updateVisibility(r, !0), b.uiState.menu = !1, b.searchStore.resetSearchBox(), b.uiState.details = null, b.uiState.list = {
|
|
904
865
|
type: "filter",
|
|
905
866
|
items: t,
|
|
906
867
|
query: {
|
|
907
868
|
key: "exhibitors",
|
|
908
869
|
value: t.map((e) => e.externalId).join(",")
|
|
909
870
|
}
|
|
910
|
-
},
|
|
871
|
+
}, b.moveToList();
|
|
911
872
|
}
|
|
912
873
|
highlightExhibitors(e) {
|
|
913
|
-
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"),
|
|
874
|
+
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), b.boothStore.highlightedByExternalIds = [], b.exhibitorStore.highlightedByExternalIds = [...e];
|
|
914
875
|
}
|
|
915
876
|
highlightBooths(e) {
|
|
916
|
-
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"),
|
|
877
|
+
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), b.exhibitorStore.highlightedByExternalIds = [], b.boothStore.highlightedByExternalIds = [...e];
|
|
917
878
|
}
|
|
918
879
|
highlightEntities(e) {
|
|
919
880
|
Array.isArray(e) || $("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
|
|
920
|
-
let { boothExternalIds: t, exhibitorExternalIds: n } =
|
|
921
|
-
|
|
881
|
+
let { boothExternalIds: t, exhibitorExternalIds: n } = h(e);
|
|
882
|
+
b.boothStore.highlightedByExternalIds = [...t], b.exhibitorStore.highlightedByExternalIds = [...n];
|
|
922
883
|
}
|
|
923
884
|
selectRoute(e, t) {
|
|
924
885
|
if (Array.isArray(e)) {
|
|
@@ -928,10 +889,10 @@ var kt = class extends ee {
|
|
|
928
889
|
$("selectRoute", "Invalid route format: When providing an array, it must include at least two points: a start and a destination.", "EFP000401");
|
|
929
890
|
return;
|
|
930
891
|
}
|
|
931
|
-
|
|
892
|
+
b.routeStore.selectRoute(new g(Q(n), Q(r), t.map(Q)));
|
|
932
893
|
return;
|
|
933
894
|
}
|
|
934
|
-
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"),
|
|
895
|
+
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), b.routeStore.selectRoute(new g(Q(e), Q(t)));
|
|
935
896
|
}
|
|
936
897
|
getOptimizedRoutes(e) {
|
|
937
898
|
if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
|
|
@@ -944,19 +905,19 @@ var kt = class extends ee {
|
|
|
944
905
|
let t = (r = (i = e.layer) == null ? void 0 : i.name) == null ? "" : r, a = n.get(t);
|
|
945
906
|
a ? a.push(e) : n.set(t, [e]);
|
|
946
907
|
}
|
|
947
|
-
return Array.from(n.values()).map((e) => ({ waypoints:
|
|
908
|
+
return Array.from(n.values()).map((e) => ({ waypoints: ge(e.map((e) => [e.name, {
|
|
948
909
|
cx: e.rect.cx,
|
|
949
910
|
cy: e.rect.cy
|
|
950
911
|
}])) }));
|
|
951
912
|
}
|
|
952
913
|
selectCurrentPosition(e, t, n) {
|
|
953
914
|
var r;
|
|
954
|
-
let i =
|
|
955
|
-
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"),
|
|
915
|
+
let i = x(e.x) && x(e.y), a = x(e.lng) && x(e.lat);
|
|
916
|
+
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), b.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
|
|
956
917
|
}
|
|
957
918
|
setBookmarks(e) {
|
|
958
919
|
(!Array.isArray(e) || !e.length) && $("setBookmarks", "Parameter must be an array.", "EFP000700"), e.forEach((e) => {
|
|
959
|
-
let t =
|
|
920
|
+
let t = b.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
|
|
960
921
|
t && (t.bookmarked = e.bookmarked);
|
|
961
922
|
});
|
|
962
923
|
}
|
|
@@ -975,29 +936,29 @@ var kt = class extends ee {
|
|
|
975
936
|
$("setEntitiesBookmarks", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000702");
|
|
976
937
|
return;
|
|
977
938
|
}
|
|
978
|
-
let r =
|
|
939
|
+
let r = C("bookmarked"), i = {
|
|
979
940
|
exhibitor: {
|
|
980
941
|
existingIds: new Set(r.exhibitors || []),
|
|
981
|
-
finder: (e) =>
|
|
982
|
-
replacer: (e) =>
|
|
942
|
+
finder: (e) => b.exhibitorStore.findExhibitor(e),
|
|
943
|
+
replacer: (e) => b.exhibitorStore.replaceBookmarked(e)
|
|
983
944
|
},
|
|
984
945
|
event: {
|
|
985
946
|
existingIds: new Set(r.events || []),
|
|
986
|
-
finder: (e) =>
|
|
987
|
-
replacer: (e) =>
|
|
947
|
+
finder: (e) => b.eventStore.findByNameOrSlug(e),
|
|
948
|
+
replacer: (e) => b.eventStore.replaceBookmarked(e)
|
|
988
949
|
},
|
|
989
950
|
speaker: {
|
|
990
951
|
existingIds: new Set(r.speakers || []),
|
|
991
|
-
finder: (e) =>
|
|
992
|
-
replacer: (e) =>
|
|
952
|
+
finder: (e) => b.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
|
|
953
|
+
replacer: (e) => b.speakerStore.replaceBookmarked(e)
|
|
993
954
|
},
|
|
994
955
|
booth: {
|
|
995
956
|
existingIds: new Set(r.booths || []),
|
|
996
957
|
finder: (e) => {
|
|
997
|
-
let t =
|
|
958
|
+
let t = b.boothStore.findBooth(e);
|
|
998
959
|
return (t == null ? void 0 : t.exhibitors.length) === 0 ? t : void 0;
|
|
999
960
|
},
|
|
1000
|
-
replacer: (e) =>
|
|
961
|
+
replacer: (e) => b.boothStore.replaceBookmarked(e)
|
|
1001
962
|
}
|
|
1002
963
|
};
|
|
1003
964
|
e.forEach((e) => {
|
|
@@ -1017,16 +978,16 @@ var kt = class extends ee {
|
|
|
1017
978
|
$("setEntitiesVisited", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000704");
|
|
1018
979
|
return;
|
|
1019
980
|
}
|
|
1020
|
-
let r =
|
|
981
|
+
let r = C("visited"), i = {
|
|
1021
982
|
exhibitor: {
|
|
1022
983
|
existingIds: new Set(r.exhibitors || []),
|
|
1023
|
-
finder: (e) =>
|
|
1024
|
-
replacer: (e) =>
|
|
984
|
+
finder: (e) => b.exhibitorStore.findExhibitor(e),
|
|
985
|
+
replacer: (e) => b.exhibitorStore.replaceVisited(e)
|
|
1025
986
|
},
|
|
1026
987
|
event: {
|
|
1027
988
|
existingIds: new Set(r.events || []),
|
|
1028
|
-
finder: (e) =>
|
|
1029
|
-
replacer: (e) =>
|
|
989
|
+
finder: (e) => b.eventStore.findByNameOrSlug(e),
|
|
990
|
+
replacer: (e) => b.eventStore.replaceVisited(e)
|
|
1030
991
|
}
|
|
1031
992
|
};
|
|
1032
993
|
e.forEach((e) => {
|
|
@@ -1041,73 +1002,73 @@ var kt = class extends ee {
|
|
|
1041
1002
|
$("setMarkers", "Invalid input.", "EFP000800");
|
|
1042
1003
|
return;
|
|
1043
1004
|
}
|
|
1044
|
-
|
|
1005
|
+
b.routeStore.setMarkers(e);
|
|
1045
1006
|
}
|
|
1046
1007
|
selectMarker(e, t = !0) {
|
|
1047
|
-
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"),
|
|
1008
|
+
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), b.routeStore.selectMarker(e, t);
|
|
1048
1009
|
}
|
|
1049
1010
|
drawCircles(e) {
|
|
1050
|
-
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"),
|
|
1011
|
+
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), b.uiState.debugCircles = e;
|
|
1051
1012
|
}
|
|
1052
1013
|
checkRoutes() {
|
|
1053
|
-
|
|
1014
|
+
b.routeStore.checkRoutes();
|
|
1054
1015
|
}
|
|
1055
1016
|
updateLayerVisibility(e, t) {
|
|
1056
|
-
typeof e != "string" && $("updateLayerVisibility", "The layer name (string) must be passed.", "EFP000B00"), t || $("updateLayerVisibility", "Passing a false value to visible will have no effect.", "EFP000B01"),
|
|
1017
|
+
typeof e != "string" && $("updateLayerVisibility", "The layer name (string) must be passed.", "EFP000B00"), t || $("updateLayerVisibility", "Passing a false value to visible will have no effect.", "EFP000B01"), b.layerStore.updateVisibility(e, t);
|
|
1057
1018
|
}
|
|
1058
1019
|
getCenterCoordinates() {
|
|
1059
|
-
return
|
|
1020
|
+
return b.fp.getCenterCoordinates();
|
|
1060
1021
|
}
|
|
1061
1022
|
exhibitorsList() {
|
|
1062
|
-
return
|
|
1023
|
+
return b.exhibitorStore.exhibitors.map((e) => D(e));
|
|
1063
1024
|
}
|
|
1064
1025
|
boothsList() {
|
|
1065
|
-
return
|
|
1026
|
+
return b.boothStore.booths.map((e) => D(e));
|
|
1066
1027
|
}
|
|
1067
1028
|
categoriesList() {
|
|
1068
|
-
return
|
|
1029
|
+
return b.categoryStore.categories.map((e) => D(e));
|
|
1069
1030
|
}
|
|
1070
1031
|
selectCategory(e) {
|
|
1071
1032
|
if (e == null || typeof e != "string") {
|
|
1072
|
-
|
|
1033
|
+
b.searchStore.selectSearch();
|
|
1073
1034
|
return;
|
|
1074
1035
|
}
|
|
1075
|
-
let t = e == null ? void 0 : e.toLowerCase(), n =
|
|
1036
|
+
let t = e == null ? void 0 : e.toLowerCase(), n = b.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
|
|
1076
1037
|
if (!n) {
|
|
1077
1038
|
$("selectCategory", `Category ${e} not found.`, "EFP000C01");
|
|
1078
1039
|
return;
|
|
1079
1040
|
}
|
|
1080
|
-
|
|
1041
|
+
b.selectCategory(n);
|
|
1081
1042
|
}
|
|
1082
1043
|
applyParameters(e) {
|
|
1083
|
-
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"),
|
|
1044
|
+
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), ve(e);
|
|
1084
1045
|
}
|
|
1085
1046
|
getVisibility() {
|
|
1086
|
-
return
|
|
1047
|
+
return b.uiState.visibility;
|
|
1087
1048
|
}
|
|
1088
1049
|
setVisibility(e) {
|
|
1089
|
-
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"),
|
|
1050
|
+
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), b.uiState.setVisibility(e);
|
|
1090
1051
|
}
|
|
1091
1052
|
findLocation() {
|
|
1092
|
-
|
|
1053
|
+
b.routeStore.findLocation();
|
|
1093
1054
|
}
|
|
1094
1055
|
zoomIn() {
|
|
1095
|
-
|
|
1056
|
+
b.uiState.zoomIn();
|
|
1096
1057
|
}
|
|
1097
1058
|
zoomOut() {
|
|
1098
|
-
|
|
1059
|
+
b.uiState.zoomOut();
|
|
1099
1060
|
}
|
|
1100
1061
|
switchView() {
|
|
1101
|
-
|
|
1062
|
+
b.mapboxStore.activateMapbox();
|
|
1102
1063
|
}
|
|
1103
1064
|
zoomTo(e, t) {
|
|
1104
1065
|
Z("zoomTo called with selectors=%O options=%O", e, t);
|
|
1105
|
-
let n =
|
|
1066
|
+
let n = St.safeParse(e);
|
|
1106
1067
|
if (!n.success) {
|
|
1107
1068
|
$("zoomTo", n.error.message, "EFP001600");
|
|
1108
1069
|
return;
|
|
1109
1070
|
}
|
|
1110
|
-
let r =
|
|
1071
|
+
let r = Ct.safeParse(t);
|
|
1111
1072
|
if (!r.success) {
|
|
1112
1073
|
$("zoomTo", r.error.message, "EFP001601");
|
|
1113
1074
|
return;
|
|
@@ -1118,7 +1079,7 @@ var kt = class extends ee {
|
|
|
1118
1079
|
getBounds(e) {
|
|
1119
1080
|
var t, n;
|
|
1120
1081
|
Z("getBounds called with selectors=%O", e);
|
|
1121
|
-
let r =
|
|
1082
|
+
let r = St.safeParse(e);
|
|
1122
1083
|
if (!r.success) {
|
|
1123
1084
|
$("getBounds", r.error.message, "EFP001400");
|
|
1124
1085
|
return;
|
|
@@ -1126,15 +1087,15 @@ var kt = class extends ee {
|
|
|
1126
1087
|
let i = [];
|
|
1127
1088
|
if ((t = e.booths) == null || t.forEach((e) => {
|
|
1128
1089
|
let t;
|
|
1129
|
-
e.externalId ? t =
|
|
1090
|
+
e.externalId ? t = b.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = b.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
|
|
1130
1091
|
}), (n = e.exhibitors) == null || n.forEach((e) => {
|
|
1131
1092
|
var t;
|
|
1132
1093
|
let n;
|
|
1133
|
-
e.externalId ? n =
|
|
1094
|
+
e.externalId ? n = b.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = b.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
|
|
1134
1095
|
e.rect && i.push(e.rect);
|
|
1135
1096
|
});
|
|
1136
1097
|
}), i.length === 0) return;
|
|
1137
|
-
let a =
|
|
1098
|
+
let a = v.fromMultiple(i);
|
|
1138
1099
|
return {
|
|
1139
1100
|
leftTop: {
|
|
1140
1101
|
x: a.x1,
|
|
@@ -1148,15 +1109,15 @@ var kt = class extends ee {
|
|
|
1148
1109
|
}
|
|
1149
1110
|
fitBounds(e, t) {
|
|
1150
1111
|
if (Z("fitBounds called with bounds=%O options=%O", e, t), !e) {
|
|
1151
|
-
|
|
1112
|
+
b.uiState.fitBounds();
|
|
1152
1113
|
return;
|
|
1153
1114
|
}
|
|
1154
|
-
let n =
|
|
1115
|
+
let n = bt.safeParse(e);
|
|
1155
1116
|
if (!n.success) {
|
|
1156
1117
|
$("fitBounds", n.error.message, "EFP001500");
|
|
1157
1118
|
return;
|
|
1158
1119
|
}
|
|
1159
|
-
let r =
|
|
1120
|
+
let r = Ct.safeParse(t);
|
|
1160
1121
|
if (!r.success) {
|
|
1161
1122
|
$("fitBounds", r.error.message, "EFP001501");
|
|
1162
1123
|
return;
|
|
@@ -1164,17 +1125,17 @@ var kt = class extends ee {
|
|
|
1164
1125
|
let i;
|
|
1165
1126
|
if (t != null && t.padding) {
|
|
1166
1127
|
let n = t.padding;
|
|
1167
|
-
i =
|
|
1168
|
-
} else i =
|
|
1169
|
-
|
|
1128
|
+
i = v.fromX1y1x2y2(e.leftTop.x - n, e.leftTop.y - n, e.rightBottom.x + n, e.rightBottom.y + n);
|
|
1129
|
+
} else i = v.fromX1y1x2y2(e.leftTop.x, e.leftTop.y, e.rightBottom.x, e.rightBottom.y);
|
|
1130
|
+
b.uiState.moveToRect = i;
|
|
1170
1131
|
}
|
|
1171
1132
|
getBoothRect(e) {
|
|
1172
1133
|
var t;
|
|
1173
|
-
return typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00"), (t =
|
|
1134
|
+
return typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00"), (t = _(e)) == null ? void 0 : t.rect;
|
|
1174
1135
|
}
|
|
1175
1136
|
convertToGeo(e, t) {
|
|
1176
1137
|
var n;
|
|
1177
|
-
if (!(!(
|
|
1138
|
+
if (!(!(y == null || (n = y.properties) == null) && n.config)) {
|
|
1178
1139
|
$("convertToGeo", "The coordinates cannot be converted because the GPS configuration is not defined.", "EFP001000");
|
|
1179
1140
|
return;
|
|
1180
1141
|
}
|
|
@@ -1182,20 +1143,20 @@ var kt = class extends ee {
|
|
|
1182
1143
|
$("convertToGeo", "Both coordinates must be passed.", "EFP001001");
|
|
1183
1144
|
return;
|
|
1184
1145
|
}
|
|
1185
|
-
return
|
|
1146
|
+
return de(e, t, y.properties.config);
|
|
1186
1147
|
}
|
|
1187
1148
|
unstable_destroy() {
|
|
1188
1149
|
let e = window.__efpElement.firstChild;
|
|
1189
|
-
|
|
1150
|
+
Oe(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", u), le(), pe(), me(), [...document.getElementsByTagName("script")].filter((e) => e.src.indexOf("/fp.svg") > -1 || e.src.indexOf("/wf.data.js") > -1 || e.src.indexOf("/data.js") > -1).forEach((e) => e.remove()), this.root.unmount(), e.remove();
|
|
1190
1151
|
}
|
|
1191
1152
|
search(e) {
|
|
1192
|
-
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"),
|
|
1153
|
+
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), b.fuzzySearchEngineStore.loadEngine().then(() => (b.searchStore.selectSearch(e), b.uiState.fuzzySearchItems.map((e) => ({
|
|
1193
1154
|
item: D(e.item),
|
|
1194
1155
|
score: e.score
|
|
1195
1156
|
}))));
|
|
1196
1157
|
}
|
|
1197
1158
|
getFloors() {
|
|
1198
|
-
return
|
|
1159
|
+
return b.layerStore.floors.map((e) => ({
|
|
1199
1160
|
name: e.name,
|
|
1200
1161
|
shortName: e.shortName,
|
|
1201
1162
|
description: e.description,
|
|
@@ -1234,25 +1195,25 @@ var kt = class extends ee {
|
|
|
1234
1195
|
showPathway(e, t) {
|
|
1235
1196
|
let n = new URLSearchParams();
|
|
1236
1197
|
if (n.set(o, e), t != null && t.length) {
|
|
1237
|
-
let { boothExternalIds: e, exhibitorExternalIds: r } =
|
|
1198
|
+
let { boothExternalIds: e, exhibitorExternalIds: r } = h(t);
|
|
1238
1199
|
e.length > 0 && n.set("booths", e.join(",")), r.length > 0 && n.set("exhibitors", r.join(","));
|
|
1239
1200
|
}
|
|
1240
1201
|
this.applyParameters(n.toString());
|
|
1241
1202
|
}
|
|
1242
1203
|
showPathwayOnly(e, t) {
|
|
1243
|
-
this.activateFloor({ name: t }),
|
|
1244
|
-
let n =
|
|
1204
|
+
this.activateFloor({ name: t }), b.layerStore.showPathWay(e), b.uiState.setPathwayOnlyMode(!0);
|
|
1205
|
+
let n = b.layerStore.findLayer(e), r = b.layerStore.findLayer(t), i = n != null && n.rect || n != null && n.viewbox ? n : r;
|
|
1245
1206
|
if (i != null && i.rect || i != null && i.viewbox) {
|
|
1246
1207
|
var a;
|
|
1247
1208
|
let e = (a = i.viewbox) == null ? i.rect : a;
|
|
1248
|
-
|
|
1209
|
+
b.uiState.moveToRect = v.fromX1y1x2y2(e.x1, e.y1, e.x2, e.y2);
|
|
1249
1210
|
}
|
|
1250
1211
|
}
|
|
1251
1212
|
hidePathways() {
|
|
1252
|
-
this.highlightBooths([]),
|
|
1213
|
+
this.highlightBooths([]), b.layerStore.hidePathways(), b.uiState.setPathwayOnlyMode(!1);
|
|
1253
1214
|
}
|
|
1254
1215
|
showSearch() {
|
|
1255
|
-
|
|
1216
|
+
b.selectSearch("");
|
|
1256
1217
|
}
|
|
1257
1218
|
changeLanguage(e) {
|
|
1258
1219
|
var t;
|
|
@@ -1265,35 +1226,35 @@ var kt = class extends ee {
|
|
|
1265
1226
|
r.set(s, n), this.applyParameters(r.toString());
|
|
1266
1227
|
}
|
|
1267
1228
|
isGpsTrackingEnabled() {
|
|
1268
|
-
return
|
|
1229
|
+
return b.routeStore.gpsEnabled;
|
|
1269
1230
|
}
|
|
1270
1231
|
setGpsTrackingEnabled(e) {
|
|
1271
|
-
|
|
1232
|
+
b.routeStore.setGpsTrackingEnabled(e);
|
|
1272
1233
|
}
|
|
1273
1234
|
deselectCurrentPosition() {
|
|
1274
|
-
|
|
1235
|
+
b.routeStore.selectCurrentPosition(null, !1);
|
|
1275
1236
|
}
|
|
1276
1237
|
deselectRoute() {
|
|
1277
|
-
|
|
1238
|
+
b.routeStore.selectRoute(null), b.routeStore.setOnlyAccessible(!1);
|
|
1278
1239
|
}
|
|
1279
1240
|
reset() {
|
|
1280
|
-
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]),
|
|
1241
|
+
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), b.uiState.kioskData && b.resetCameraFn) {
|
|
1281
1242
|
var e;
|
|
1282
|
-
(e =
|
|
1243
|
+
(e = b.resetCameraFn) == null || e.call(b);
|
|
1283
1244
|
} else this.fitBounds();
|
|
1284
1245
|
}
|
|
1285
1246
|
selectAccessibleRoute(e) {
|
|
1286
|
-
|
|
1247
|
+
b.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
|
|
1287
1248
|
}
|
|
1288
1249
|
};
|
|
1289
1250
|
function Q(e) {
|
|
1290
|
-
return typeof e == "string" ?
|
|
1251
|
+
return typeof e == "string" ? _(e) : b.routeStore.getNearestBooth(e);
|
|
1291
1252
|
}
|
|
1292
|
-
var
|
|
1253
|
+
var Et = 0;
|
|
1293
1254
|
function $(e, t, n) {
|
|
1294
1255
|
let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://developer.expofp.com/guide/java-script-api-reference";
|
|
1295
|
-
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`),
|
|
1296
|
-
|
|
1256
|
+
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), b.fp.disableRuntimeAlerts) return;
|
|
1257
|
+
b.uiState.setGlobalErrorMessage({
|
|
1297
1258
|
title: r,
|
|
1298
1259
|
body: /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [
|
|
1299
1260
|
i,
|
|
@@ -1305,14 +1266,14 @@ function $(e, t, n) {
|
|
|
1305
1266
|
children: a
|
|
1306
1267
|
})
|
|
1307
1268
|
] })
|
|
1308
|
-
}), clearTimeout(
|
|
1269
|
+
}), clearTimeout(Et);
|
|
1309
1270
|
let o = 8e3;
|
|
1310
|
-
|
|
1271
|
+
Et = window.setTimeout(() => {
|
|
1311
1272
|
let e = async () => {
|
|
1312
|
-
|
|
1273
|
+
b.uiState.globalErrorMessages.length > 0 && (b.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
|
|
1313
1274
|
};
|
|
1314
1275
|
e();
|
|
1315
1276
|
}, o);
|
|
1316
1277
|
}
|
|
1317
1278
|
//#endregion
|
|
1318
|
-
export {
|
|
1279
|
+
export { Tt as default };
|