@expofp/floorplan 3.7.17 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Button-CalAncSt.js → Button-1J9oictV.js} +5 -5
- package/dist/browser/{CookieConsent-ZygvYtDb.js → CookieConsent-DIB9ja_x.js} +7 -7
- package/dist/browser/{Debug-D0iAX94G.js → Debug-Dj0pjQgz.js} +7 -7
- package/dist/browser/{Demo-DtZnCrNU.js → Demo-DFFTbr3B.js} +9 -9
- package/dist/browser/{Free-CY2ZgfTi.js → Free-VNovKWeM.js} +9 -9
- package/dist/browser/{Gallery-BJyU80Q8.js → Gallery-CsjJODa1.js} +9 -9
- package/dist/browser/{GpsLoader-C4Az3Ogj.js → GpsLoader-LtDTQ04B.js} +25 -25
- package/dist/browser/{KioskStore-D3xv5iMJ.js → KioskStore-BlqVE5Em.js} +26 -26
- package/dist/browser/{MaplibreAdapter-BI5hr4DA.js → MaplibreAdapter-BdhppB5g.js} +941 -960
- package/dist/browser/{ModalContainer-CGy7G3W-.js → ModalContainer-B3TzgHkN.js} +10 -10
- package/dist/browser/{PermissionNotice-BQl-Eh0U.js → PermissionNotice-CFzmPPcM.js} +6 -6
- package/dist/browser/{SetKioskMode-puXODfKF.js → SetKioskMode-BmGR1XVY.js} +11 -11
- package/dist/browser/ShowKiosk-zlmmcHhV.js +28 -0
- package/dist/browser/{TouchHand-DjRl3mqw.js → TouchHand-CJVe9zjZ.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-DwpOTh1A.js → ViewerMenuPanel-BWULAn9z.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-0zbOfR23.js → add-debug-secret-listener-BmN449zK.js} +1 -1
- package/dist/browser/{boolean-editor-Ct-PRF2J.js → boolean-editor-DfnwzSdd.js} +9 -9
- package/dist/browser/{bootIntercom-CNJJMQLU.js → bootIntercom-Dm7ltiQq.js} +2 -2
- package/dist/browser/{browser-Dvk9Y0QP.js → browser-BHxQ7Crl.js} +2 -2
- package/dist/browser/bundle.json +61 -61
- package/dist/browser/{classnames-N7RelmSW.js → classnames-CYIl-Aml.js} +2 -2
- package/dist/browser/{client-B3oB_gzf.js → client-C9cyInZ3.js} +4 -4
- package/dist/browser/{components-DCWqd4OH.js → components-CGrjy21U.js} +1680 -1684
- package/dist/browser/{createWayfinding-DCYv9I1K.js → createWayfinding-BiBK6J8p.js} +513 -494
- package/dist/browser/{debug-overlay-C1zmn9JP.js → debug-overlay-DDKkKZ7_.js} +10 -10
- package/dist/browser/{debug-ui-Dk4TQW1Q.js → debug-ui-CKdNfGUm.js} +6 -6
- package/dist/browser/{dist-Dhhxwn3m.js → dist-Dveh_M6J.js} +3 -3
- package/dist/browser/{dist-BjWXGdvS.js → dist-Sr-nbWel.js} +6 -6
- package/dist/browser/{dist-CZ9F3ShM.js → dist-Y5bXC6OR.js} +5 -5
- package/dist/browser/{efp-debug-init-BY441NPw.js → efp-debug-init-QlttX6qg.js} +2 -2
- package/dist/browser/{enum-editor-wsFvRjdm.js → enum-editor-D8AUxIjM.js} +11 -11
- package/dist/browser/{es5--a3vRB-s.js → es5-DM_2dLMc.js} +2 -2
- package/dist/browser/{event-not-found-C08dNiXm.js → event-not-found-BzZrJTbo.js} +1 -1
- package/dist/browser/{exports-DnnAyWkZ.js → exports-C77c46fn.js} +1 -1
- package/dist/browser/{favicon-BUBgyUNE.js → favicon-CLXnJgR0.js} +1 -1
- package/dist/browser/{fetch-retry.umd-DqWbcFb6.js → fetch-retry.umd-DIeR-B1a.js} +2 -2
- package/dist/browser/{flex-BJvbUFUw.js → flex-B9_T4ILl.js} +5 -5
- package/dist/browser/{floorplan.loader-DtRqhN7h.js → floorplan.loader-DBLUmBct.js} +11 -11
- package/dist/browser/{floorplan.ready-DU_ul7oy.js → floorplan.ready-C_Yqubo7.js} +303 -227
- package/dist/browser/{fuse-C1gHDLf6.js → fuse-BA9FAI84.js} +2 -2
- package/dist/browser/{i18n-GqZrkrT3.js → i18n-i9ni8Aks.js} +4 -4
- package/dist/browser/index.js +12 -12
- package/dist/browser/{index.module-ClFPQstA.js → index.module-DPZn4TXU.js} +4 -4
- package/dist/browser/{is-webview-Ubd69hDX.js → is-webview-Dy8i33Cj.js} +1 -1
- package/dist/browser/{jsx-runtime-CcqjcKRn.js → jsx-runtime-DzGUGvz-.js} +2 -2
- package/dist/browser/{lib-D-VhTz7u.js → lib-BHciLO67.js} +4 -4
- package/dist/browser/{loadImage-BSgOJpEi.js → loadImage-Kl5pv_Gu.js} +4 -4
- package/dist/browser/{logDeviceInfo-CqPbQalh.js → logDeviceInfo-CS0Fd9Bz.js} +9 -9
- package/dist/browser/{main-D02oALU5.js → main-CnhK8g8p.js} +1 -1
- package/dist/browser/{mobx-9haaaJQN.js → mobx-MDNY-J4R.js} +4 -4
- package/dist/browser/{particles.min-Cy0_xv2F.js → particles.min-BfWO2YCb.js} +2 -2
- package/dist/browser/{prop-types-CGmwvRRk.js → prop-types-8OQVQO5z.js} +2 -2
- package/dist/browser/{react-C94g1dWf.js → react-BHziDcUN.js} +2 -2
- package/dist/browser/{react-dom-VzzznUin.js → react-dom-B2YH_-FW.js} +3 -3
- package/dist/browser/{reset-all-settings-Bs45R4UK.js → reset-all-settings-DhiQzgYR.js} +7 -7
- package/dist/browser/{rolldown-runtime-DDajFMnr.js → rolldown-runtime-kNW8iHBm.js} +1 -1
- package/dist/browser/{settings-B89NEO7Z.js → settings-Cu5Wcs8p.js} +2 -2
- package/dist/browser/{settings-item-CTgteXDw.js → settings-item-v4B4uQdw.js} +6 -6
- package/dist/browser/{store-39MLQcdz.js → store-pynNgMKs.js} +5840 -5756
- package/dist/browser/{string-editor-4uawnaDY.js → string-editor-DpTkbez0.js} +7 -7
- package/dist/browser/{theme-CWzone56.js → theme-BOa5CSxW.js} +8 -8
- package/dist/browser/{ui-D8Gz1TVh.js → ui-Bq-HLu6b.js} +8 -8
- package/dist/browser/{useRenderTarget-BSjQ_3rd.js → useRenderTarget-l4FhOrhr.js} +4 -4
- package/dist/esm/components/LevelSelector.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/booth-by-xy.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.d.ts +1 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels.d.ts +4 -4
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.d.ts +10 -4
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
- package/dist/esm/components/Map/traffic/useBuildRoute.js +5 -5
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/dist/esm/components/Maplibre/useCameraReactions.d.ts +2 -2
- package/dist/esm/components/Maplibre/useCameraReactions.js +1 -1
- package/dist/esm/components/Maplibre/useLayerVisibilitySync.d.ts +2 -2
- package/dist/esm/components/Maplibre/useLayerVisibilitySync.js +1 -1
- package/dist/esm/components/Maplibre/utils/geo-config.d.ts +6 -6
- package/dist/esm/components/Maplibre/utils/geo-config.js +1 -1
- package/dist/esm/components/Maplibre/utils/solver.js +1 -1
- package/dist/esm/components/gps/useUserLocationAndHeading.d.ts +1 -1
- package/dist/esm/components/gps/useUserLocationAndHeading.js +1 -1
- package/dist/esm/components/gps/utils.d.ts +1 -1
- package/dist/esm/components/gps/utils.js +1 -1
- package/dist/esm/data/svg.d.ts +4 -4
- package/dist/esm/data/svg.js +1 -1
- package/dist/esm/floorplan.ready.d.ts +39 -2
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/renderer/engine-core/canvases.d.ts +1 -1
- package/dist/esm/renderer/engine-core/canvases.js +1 -1
- package/dist/esm/renderer/engine-core/defs.d.ts +23 -4
- package/dist/esm/renderer/engine-core/defs.js +3 -3
- package/dist/esm/renderer/engine-core/types.d.ts +13 -2
- package/dist/esm/renderer/engine-core/update-def.d.ts +3 -2
- package/dist/esm/renderer/engine-core/update-def.js +1 -1
- package/dist/esm/renderer/engine-core/utils/rotation.d.ts +13 -1
- package/dist/esm/renderer/index.d.ts +2 -2
- package/dist/esm/renderer/index.js +1 -1
- package/dist/esm/services/routing.js +1 -1
- package/dist/esm/store/BoothStore.d.ts +14 -2
- package/dist/esm/store/BoothStore.js +1 -1
- package/dist/esm/store/LayerStore.d.ts +4 -4
- package/dist/esm/store/LayerStore.js +1 -1
- package/dist/esm/store/RouteStore.d.ts +3 -3
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +6 -7
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/init-booths.js +1 -1
- package/dist/esm/store/init/init-layers.js +1 -1
- package/dist/esm/store/init/init-ui.js +1 -1
- package/dist/esm/utils/gps.d.ts +0 -1
- package/dist/esm/utils/gps.js +1 -1
- package/dist/esm/utils/imageloader.d.ts +1 -3
- package/dist/esm/utils/imageloader.js +1 -1
- package/dist/esm/utils/math.d.ts +0 -1
- package/dist/esm/utils/math.js +1 -1
- package/dist/esm/wayfinding/adapters/boothToEndpoint.d.ts +4 -0
- package/dist/esm/wayfinding/adapters/boothToEndpoint.js +1 -1
- package/dist/esm/wayfinding/core/geometry/projectPointOnSegment.d.ts +7 -6
- package/dist/esm/wayfinding/core/geometry/projectPointOnSegment.js +1 -1
- package/dist/esm/wayfinding/core/graph/graphHelpers.js +1 -1
- package/dist/esm/wayfinding/core/graph/linkCost.js +1 -1
- package/dist/esm/wayfinding/core/graph/pathfinder/aStarPathFinder.js +1 -1
- package/dist/esm/wayfinding/core/index.d.ts +0 -1
- package/dist/esm/wayfinding/core/position/distanceToRoute.d.ts +1 -1
- package/dist/esm/wayfinding/core/position/distanceToRoute.js +1 -1
- package/dist/esm/wayfinding/core/position/gpsThreshold.js +1 -1
- package/dist/esm/wayfinding/core/position/rerouteController.d.ts +1 -1
- package/dist/esm/wayfinding/core/position/rerouteController.js +1 -1
- package/dist/esm/wayfinding/core/position/snapToRoute.js +1 -1
- package/dist/esm/wayfinding/core/rendering/computeTrailPoints.d.ts +2 -2
- package/dist/esm/wayfinding/core/rendering/computeTrailPoints.js +1 -1
- package/dist/esm/wayfinding/core/rendering/normalizeRouteDirection.d.ts +1 -1
- package/dist/esm/wayfinding/core/rendering/normalizeRouteDirection.js +1 -1
- package/dist/esm/wayfinding/core/rendering/routeGeometry.d.ts +4 -8
- package/dist/esm/wayfinding/core/rendering/routeGeometry.js +1 -1
- package/dist/esm/wayfinding/core/routing/getRouteLength.js +1 -1
- package/dist/esm/wayfinding/createWayfinding.js +1 -1
- package/dist/esm/wayfinding/handlers/kioskHandler.js +1 -1
- package/dist/esm/wayfinding/renderer/iconManager.js +1 -1
- package/dist/esm/wayfinding/runtime/createWayfindingRuntime.js +1 -1
- package/dist/esm/wayfinding/runtime/positionView.d.ts +3 -3
- package/dist/esm/wayfinding/runtime/positionView.js +1 -1
- package/dist/esm/wayfinding/runtime/routeUpdate.d.ts +6 -5
- package/dist/esm/wayfinding/runtime/routeUpdate.js +1 -1
- package/dist/esm/wayfinding/runtime/types.d.ts +4 -3
- package/package.json +4 -4
- package/dist/browser/ShowKiosk-78DDAGCM.js +0 -28
- package/dist/esm/components/Map/drawing/config/Rect.d.ts +0 -7
- package/dist/esm/components/Map/drawing/config/Rect.js +0 -1
- package/dist/esm/core/Line.d.ts +0 -12
- package/dist/esm/core/Line.js +0 -1
- package/dist/esm/core/Polygon.d.ts +0 -16
- package/dist/esm/core/Polygon.js +0 -1
- package/dist/esm/core/Rect.d.ts +0 -36
- package/dist/esm/core/Rect.js +0 -1
- package/dist/esm/core/Size.d.ts +0 -7
- package/dist/esm/core/Size.js +0 -1
- package/dist/esm/utils/haversineDistance.d.ts +0 -7
- package/dist/esm/utils/haversineDistance.js +0 -1
|
@@ -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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.8.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "be7cc259-048f-4960-96f6-e7f4b4a352ed", e._sentryDebugIdIdentifier = "sentry-dbid-be7cc259-048f-4960-96f6-e7f4b4a352ed");
|
|
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 { G as i, J as a, U as o, W as s, _ as c, c as l, n as u, r as d } from "./i18n-
|
|
14
|
-
import { a as f, i as p, n as m, r as h, t as ee } from "./floorplan.loader-
|
|
15
|
-
import { C as te, E as ne, S as
|
|
16
|
-
import { t as
|
|
17
|
-
import { A as
|
|
18
|
-
import { t as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-kNW8iHBm.js";
|
|
10
|
+
import { t } from "./react-BHziDcUN.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-DzGUGvz-.js";
|
|
12
|
+
import { t as r } from "./browser-BHxQ7Crl.js";
|
|
13
|
+
import { G as i, J as a, U as o, W as s, _ as c, c as l, n as u, r as d } from "./i18n-i9ni8Aks.js";
|
|
14
|
+
import { a as f, i as p, n as m, r as h, t as ee } from "./floorplan.loader-DBLUmBct.js";
|
|
15
|
+
import { C as te, E as ne, S as g, Z as re, i as ie, n as ae, pt as _ } from "./exports-C77c46fn.js";
|
|
16
|
+
import { t as oe } from "./client-C9cyInZ3.js";
|
|
17
|
+
import { A as se, C as ce, O as le, S as ue, T as de, U as fe, _ as pe, b as me, dt as he, h as ge, it as v, k as y, mn as b, o as x, rt as _e, st as S, vt as ve, w as ye, xn as be, y as xe, yt as Se } from "./store-pynNgMKs.js";
|
|
18
|
+
import { t as Ce } from "./components-CGrjy21U.js";
|
|
19
19
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.59.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
|
|
20
|
-
function
|
|
20
|
+
function C(e = {}) {
|
|
21
21
|
let t = h.document, n = (t == null ? void 0 : t.head) || (t == null ? void 0 : t.body);
|
|
22
22
|
if (!n) {
|
|
23
|
-
m &&
|
|
23
|
+
m && _.error("[showReportDialog] Global document not defined");
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
26
|
-
let r = te(), i =
|
|
26
|
+
let r = te(), i = g(), a = i == null ? void 0 : i.getDsn();
|
|
27
27
|
if (!a) {
|
|
28
|
-
m &&
|
|
28
|
+
m && _.error("[showReportDialog] DSN not configured");
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
31
|
let o = {
|
|
@@ -34,7 +34,7 @@ function S(e = {}) {
|
|
|
34
34
|
...r.getUser(),
|
|
35
35
|
...e.user
|
|
36
36
|
},
|
|
37
|
-
eventId: e.eventId ||
|
|
37
|
+
eventId: e.eventId || ie()
|
|
38
38
|
}, s = h.document.createElement("script");
|
|
39
39
|
s.async = !0, s.crossOrigin = "anonymous", s.src = p(a, o);
|
|
40
40
|
let { onLoad: c, onClose: l } = o;
|
|
@@ -52,12 +52,12 @@ function S(e = {}) {
|
|
|
52
52
|
}
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region ../../node_modules/.pnpm/@sentry+react@10.59.0_react@19.2.7/node_modules/@sentry/react/build/esm/error.js
|
|
55
|
-
var
|
|
56
|
-
function
|
|
55
|
+
var w = /* @__PURE__ */ e(t());
|
|
56
|
+
function we(e) {
|
|
57
57
|
let t = e.match(/^([^.]+)/);
|
|
58
58
|
return t !== null && parseInt(t[0]) >= 17;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function Te(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 Ee(e, t) {
|
|
|
67
67
|
}
|
|
68
68
|
r(e, t);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
if (
|
|
70
|
+
function Ee(e, { componentStack: t }, n) {
|
|
71
|
+
if (we(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, Te(e, n);
|
|
74
74
|
}
|
|
75
|
-
return
|
|
75
|
+
return ae(e, n);
|
|
76
76
|
}
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region ../../node_modules/.pnpm/@sentry+react@10.59.0_react@19.2.7/node_modules/@sentry/react/build/esm/debug-build.js
|
|
79
|
-
var
|
|
79
|
+
var De = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, T = {
|
|
80
80
|
componentStack: null,
|
|
81
81
|
error: null,
|
|
82
82
|
eventId: null
|
|
83
|
-
},
|
|
83
|
+
}, Oe = class extends w.Component {
|
|
84
84
|
constructor(e) {
|
|
85
|
-
super(e), this.state =
|
|
86
|
-
let t =
|
|
85
|
+
super(e), this.state = T, this._openFallbackReportDialog = !0;
|
|
86
|
+
let t = g();
|
|
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 && C({
|
|
89
89
|
...e.dialogOptions,
|
|
90
90
|
eventId: this._lastEventId
|
|
91
91
|
});
|
|
@@ -95,11 +95,11 @@ var Oe = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, w = {
|
|
|
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 = Ee(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 && C({
|
|
103
103
|
...o,
|
|
104
104
|
eventId: c
|
|
105
105
|
})), this.setState({
|
|
@@ -115,36 +115,36 @@ var Oe = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, w = {
|
|
|
115
115
|
}
|
|
116
116
|
componentWillUnmount() {
|
|
117
117
|
let { error: e, componentStack: t, eventId: n } = this.state, { onUnmount: r } = this.props;
|
|
118
|
-
r && (this.state ===
|
|
118
|
+
r && (this.state === T ? r(null, null, null) : r(e, t, n)), this._cleanupHook && (this._cleanupHook(), this._cleanupHook = void 0);
|
|
119
119
|
}
|
|
120
120
|
resetErrorBoundary() {
|
|
121
121
|
let { onReset: e } = this.props, { error: t, componentStack: n, eventId: r } = this.state;
|
|
122
|
-
e && e(t, n, r), this.setState(
|
|
122
|
+
e && e(t, n, r), this.setState(T);
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
125
|
let { fallback: e, children: t } = this.props, n = this.state;
|
|
126
126
|
if (n.componentStack === null) return typeof t == "function" ? t() : t;
|
|
127
|
-
let r = typeof e == "function" ?
|
|
127
|
+
let r = typeof e == "function" ? w.createElement(e, {
|
|
128
128
|
error: n.error,
|
|
129
129
|
componentStack: n.componentStack,
|
|
130
130
|
resetError: () => this.resetErrorBoundary(),
|
|
131
131
|
eventId: n.eventId
|
|
132
132
|
}) : e;
|
|
133
|
-
return
|
|
133
|
+
return w.isValidElement(r) ? r : (e && De && _.warn("fallback did not produce a valid ReactElement"), null);
|
|
134
134
|
}
|
|
135
|
-
},
|
|
136
|
-
function
|
|
135
|
+
}, ke = /* @__PURE__ */ e(r(), 1), Ae = oe(), je = Se();
|
|
136
|
+
function Me() {
|
|
137
137
|
let e = new URLSearchParams(window.location.search).get(o), t = l ? window.localStorage.getItem(o) : null, n = e == null ? t : e;
|
|
138
|
-
return n == null ? l &&
|
|
138
|
+
return n == null ? l && he() != null : n === "1";
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function E() {
|
|
141
141
|
let e = window.location.hostname.split(".");
|
|
142
142
|
return e.length >= 3 && e[e.length - 2] === "expofp" && e[e.length - 1] === "com";
|
|
143
143
|
}
|
|
144
|
-
function
|
|
145
|
-
return
|
|
144
|
+
function Ne() {
|
|
145
|
+
return E() ? window.location.hostname.split(".")[0] : "main";
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function Pe(e) {
|
|
148
148
|
if ((e == null ? void 0 : e.free) === !0) return "Free";
|
|
149
149
|
let t = e == null ? void 0 : e.trialExpiresAt;
|
|
150
150
|
if (t) {
|
|
@@ -153,22 +153,22 @@ function Ie(e) {
|
|
|
153
153
|
}
|
|
154
154
|
return "Active";
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Fe() {
|
|
157
157
|
return !1;
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Ie(e) {
|
|
160
160
|
return e;
|
|
161
161
|
}
|
|
162
|
-
function
|
|
163
|
-
if (
|
|
164
|
-
let t =
|
|
165
|
-
subDomain:
|
|
166
|
-
subscriptionStatus:
|
|
162
|
+
function Le(e) {
|
|
163
|
+
if (Fe() || !E() || Me() || !window.navigator.onLine) return null;
|
|
164
|
+
let t = Ie({
|
|
165
|
+
subDomain: Ne(),
|
|
166
|
+
subscriptionStatus: Pe(e)
|
|
167
167
|
});
|
|
168
168
|
return t.subDomain !== "demo" && t.subscriptionStatus !== "Free" && t.subscriptionStatus !== "Trial Expired" ? null : t;
|
|
169
169
|
}
|
|
170
170
|
Object.freeze({ status: "aborted" });
|
|
171
|
-
function
|
|
171
|
+
function D(e, t, n) {
|
|
172
172
|
var r;
|
|
173
173
|
function i(n, r) {
|
|
174
174
|
if (n._zod || Object.defineProperty(n, "_zod", {
|
|
@@ -201,20 +201,20 @@ function T(e, t, n) {
|
|
|
201
201
|
return n != null && n.Parent && t instanceof n.Parent ? !0 : t == null || (r = t._zod) == null || (r = r.traits) == null ? void 0 : r.has(e);
|
|
202
202
|
} }), Object.defineProperty(s, "name", { value: e }), s;
|
|
203
203
|
}
|
|
204
|
-
var
|
|
204
|
+
var O = class extends Error {
|
|
205
205
|
constructor() {
|
|
206
206
|
super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
|
|
207
207
|
}
|
|
208
|
-
},
|
|
209
|
-
function
|
|
210
|
-
return e && Object.assign(
|
|
208
|
+
}, k = {};
|
|
209
|
+
function A(e) {
|
|
210
|
+
return e && Object.assign(k, e), k;
|
|
211
211
|
}
|
|
212
212
|
//#endregion
|
|
213
213
|
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.js
|
|
214
|
-
function
|
|
214
|
+
function Re(e, t) {
|
|
215
215
|
return typeof t == "bigint" ? t.toString() : t;
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function ze(e) {
|
|
218
218
|
return { get value() {
|
|
219
219
|
{
|
|
220
220
|
let t = e();
|
|
@@ -223,16 +223,16 @@ function He(e) {
|
|
|
223
223
|
throw Error("cached value already set");
|
|
224
224
|
} };
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Be(e) {
|
|
227
227
|
let t = +!!e.startsWith("^"), n = e.endsWith("$") ? e.length - 1 : e.length;
|
|
228
228
|
return e.slice(t, n);
|
|
229
229
|
}
|
|
230
|
-
var
|
|
231
|
-
function
|
|
230
|
+
var j = Symbol("evaluating");
|
|
231
|
+
function M(e, t, n) {
|
|
232
232
|
let r;
|
|
233
233
|
Object.defineProperty(e, t, {
|
|
234
234
|
get() {
|
|
235
|
-
if (r !==
|
|
235
|
+
if (r !== j) return r === void 0 && (r = j, r = n()), r;
|
|
236
236
|
},
|
|
237
237
|
set(n) {
|
|
238
238
|
Object.defineProperty(e, t, { value: n });
|
|
@@ -240,15 +240,15 @@ function k(e, t, n) {
|
|
|
240
240
|
configurable: !0
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
var
|
|
244
|
-
function
|
|
243
|
+
var N = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {};
|
|
244
|
+
function Ve(e) {
|
|
245
245
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function He(e, t, n) {
|
|
248
248
|
let r = new e._zod.constr(t == null ? e._zod.def : t);
|
|
249
249
|
return (!t || n != null && n.parent) && (r._zod.parent = e), r;
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function P(e) {
|
|
252
252
|
let t = e;
|
|
253
253
|
if (!t) return {};
|
|
254
254
|
if (typeof t == "string") return { error: () => t };
|
|
@@ -261,11 +261,11 @@ function j(e) {
|
|
|
261
261
|
error: () => t.error
|
|
262
262
|
} : t;
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function Ue(e) {
|
|
265
265
|
return Object.keys(e).filter((t) => e[t]._zod.optin === "optional" && e[t]._zod.optout === "optional");
|
|
266
266
|
}
|
|
267
267
|
-Number.MAX_VALUE, Number.MAX_VALUE;
|
|
268
|
-
function
|
|
268
|
+
function F(e, t = 0) {
|
|
269
269
|
if (e.aborted === !0) return !0;
|
|
270
270
|
for (let r = t; r < e.issues.length; r++) {
|
|
271
271
|
var n;
|
|
@@ -273,16 +273,16 @@ function M(e, t = 0) {
|
|
|
273
273
|
}
|
|
274
274
|
return !1;
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function I(e, t) {
|
|
277
277
|
return t.map((t) => {
|
|
278
278
|
var n;
|
|
279
279
|
return (n = t).path != null || (n.path = []), t.path.unshift(e), t;
|
|
280
280
|
});
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function L(e) {
|
|
283
283
|
return typeof e == "string" ? e : e == null ? void 0 : e.message;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
285
|
+
function R(e, t, n) {
|
|
286
286
|
var r;
|
|
287
287
|
let i = {
|
|
288
288
|
...e,
|
|
@@ -290,11 +290,11 @@ function F(e, t, n) {
|
|
|
290
290
|
};
|
|
291
291
|
if (!e.message) {
|
|
292
292
|
var a, o, s, c, l, u, d, f, p;
|
|
293
|
-
i.message = (a = (o = (s = (c =
|
|
293
|
+
i.message = (a = (o = (s = (c = L((l = e.inst) == null || (l = l._zod.def) == null || (u = l.error) == null ? void 0 : u.call(l, e))) == null ? L(t == null || (d = t.error) == null ? void 0 : d.call(t, e)) : c) == null ? L((f = n.customError) == null ? void 0 : f.call(n, e)) : s) == null ? L((p = n.localeError) == null ? void 0 : p.call(n, e)) : o) == null ? "Invalid input" : a;
|
|
294
294
|
}
|
|
295
295
|
return delete i.inst, delete i.continue, t != null && t.reportInput || delete i.input, i;
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function We(...e) {
|
|
298
298
|
let [t, n, r] = e;
|
|
299
299
|
return typeof t == "string" ? {
|
|
300
300
|
message: t,
|
|
@@ -305,41 +305,41 @@ function qe(...e) {
|
|
|
305
305
|
}
|
|
306
306
|
//#endregion
|
|
307
307
|
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.js
|
|
308
|
-
var
|
|
308
|
+
var Ge = (e, t) => {
|
|
309
309
|
e.name = "$ZodError", Object.defineProperty(e, "_zod", {
|
|
310
310
|
value: e._zod,
|
|
311
311
|
enumerable: !1
|
|
312
312
|
}), Object.defineProperty(e, "issues", {
|
|
313
313
|
value: t,
|
|
314
314
|
enumerable: !1
|
|
315
|
-
}), e.message = JSON.stringify(t,
|
|
315
|
+
}), e.message = JSON.stringify(t, Re, 2), Object.defineProperty(e, "toString", {
|
|
316
316
|
value: () => e.message,
|
|
317
317
|
enumerable: !1
|
|
318
318
|
});
|
|
319
|
-
},
|
|
319
|
+
}, Ke = D("$ZodError", Ge), z = D("$ZodError", Ge, { Parent: Error }), qe = /* @__PURE__*/ ((e) => (t, n, r, i) => {
|
|
320
320
|
let a = r ? Object.assign(r, { async: !1 }) : { async: !1 }, o = t._zod.run({
|
|
321
321
|
value: n,
|
|
322
322
|
issues: []
|
|
323
323
|
}, a);
|
|
324
|
-
if (o instanceof Promise) throw new
|
|
324
|
+
if (o instanceof Promise) throw new O();
|
|
325
325
|
if (o.issues.length) {
|
|
326
326
|
var s;
|
|
327
|
-
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) =>
|
|
328
|
-
throw
|
|
327
|
+
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) => R(e, a, A())));
|
|
328
|
+
throw N(t, i == null ? void 0 : i.callee), t;
|
|
329
329
|
}
|
|
330
330
|
return o.value;
|
|
331
|
-
})(
|
|
331
|
+
})(z), Je = /* @__PURE__*/ ((e) => async (t, n, r, i) => {
|
|
332
332
|
let a = r ? Object.assign(r, { async: !0 }) : { async: !0 }, o = t._zod.run({
|
|
333
333
|
value: n,
|
|
334
334
|
issues: []
|
|
335
335
|
}, a);
|
|
336
336
|
if (o instanceof Promise && (o = await o), o.issues.length) {
|
|
337
337
|
var s;
|
|
338
|
-
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) =>
|
|
339
|
-
throw
|
|
338
|
+
let t = new ((s = i == null ? void 0 : i.Err) == null ? e : s)(o.issues.map((e) => R(e, a, A())));
|
|
339
|
+
throw N(t, i == null ? void 0 : i.callee), t;
|
|
340
340
|
}
|
|
341
341
|
return o.value;
|
|
342
|
-
})(
|
|
342
|
+
})(z), Ye = /* @__PURE__*/ ((e) => (t, n, r) => {
|
|
343
343
|
let i = r ? {
|
|
344
344
|
...r,
|
|
345
345
|
async: !1
|
|
@@ -347,38 +347,38 @@ var I = (e, t) => {
|
|
|
347
347
|
value: n,
|
|
348
348
|
issues: []
|
|
349
349
|
}, i);
|
|
350
|
-
if (a instanceof Promise) throw new
|
|
350
|
+
if (a instanceof Promise) throw new O();
|
|
351
351
|
return a.issues.length ? {
|
|
352
352
|
success: !1,
|
|
353
|
-
error: new (e == null ?
|
|
353
|
+
error: new (e == null ? Ke : e)(a.issues.map((e) => R(e, i, A())))
|
|
354
354
|
} : {
|
|
355
355
|
success: !0,
|
|
356
356
|
data: a.value
|
|
357
357
|
};
|
|
358
|
-
})(
|
|
358
|
+
})(z), Xe = /* @__PURE__*/ ((e) => async (t, n, r) => {
|
|
359
359
|
let i = r ? Object.assign(r, { async: !0 }) : { async: !0 }, a = t._zod.run({
|
|
360
360
|
value: n,
|
|
361
361
|
issues: []
|
|
362
362
|
}, i);
|
|
363
363
|
return a instanceof Promise && (a = await a), a.issues.length ? {
|
|
364
364
|
success: !1,
|
|
365
|
-
error: new e(a.issues.map((e) =>
|
|
365
|
+
error: new e(a.issues.map((e) => R(e, i, A())))
|
|
366
366
|
} : {
|
|
367
367
|
success: !0,
|
|
368
368
|
data: a.value
|
|
369
369
|
};
|
|
370
|
-
})(
|
|
370
|
+
})(z), Ze = (e) => {
|
|
371
371
|
var t, n;
|
|
372
372
|
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]*";
|
|
373
373
|
return RegExp(`^${r}$`);
|
|
374
|
-
}, Qe = /^-?\d+(?:\.\d+)?$/, $e = /*@__PURE__*/
|
|
374
|
+
}, Qe = /^-?\d+(?:\.\d+)?$/, $e = /*@__PURE__*/ D("$ZodCheck", (e, t) => {
|
|
375
375
|
var n;
|
|
376
376
|
e._zod != null || (e._zod = {}), e._zod.def = t, (n = e._zod).onattach != null || (n.onattach = []);
|
|
377
377
|
}), et = {
|
|
378
378
|
major: 4,
|
|
379
379
|
minor: 3,
|
|
380
380
|
patch: 5
|
|
381
|
-
}, B = /*@__PURE__*/
|
|
381
|
+
}, B = /*@__PURE__*/ D("$ZodType", (e, t) => {
|
|
382
382
|
var n, r;
|
|
383
383
|
e != null || (e = {}), e._zod.def = t, e._zod.bag = e._zod.bag || {}, e._zod.version = et;
|
|
384
384
|
let i = [...(n = e._zod.def.checks) == null ? [] : n];
|
|
@@ -391,29 +391,29 @@ var I = (e, t) => {
|
|
|
391
391
|
});
|
|
392
392
|
} else {
|
|
393
393
|
let t = (e, t, n) => {
|
|
394
|
-
let r =
|
|
394
|
+
let r = F(e), i;
|
|
395
395
|
for (let o of t) {
|
|
396
396
|
if (o._zod.def.when) {
|
|
397
397
|
if (!o._zod.def.when(e)) continue;
|
|
398
398
|
} else if (r) continue;
|
|
399
399
|
let t = e.issues.length, s = o._zod.check(e);
|
|
400
|
-
if (s instanceof Promise && (n == null ? void 0 : n.async) === !1) throw new
|
|
400
|
+
if (s instanceof Promise && (n == null ? void 0 : n.async) === !1) throw new O();
|
|
401
401
|
if (i || s instanceof Promise) {
|
|
402
402
|
var a;
|
|
403
403
|
i = ((a = i) == null ? Promise.resolve() : a).then(async () => {
|
|
404
|
-
await s, e.issues.length !== t && (r || (r =
|
|
404
|
+
await s, e.issues.length !== t && (r || (r = F(e, t)));
|
|
405
405
|
});
|
|
406
406
|
} else {
|
|
407
407
|
if (e.issues.length === t) continue;
|
|
408
|
-
r || (r =
|
|
408
|
+
r || (r = F(e, t));
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
return i ? i.then(() => e) : e;
|
|
412
412
|
}, n = (n, r, a) => {
|
|
413
|
-
if (
|
|
413
|
+
if (F(n)) return n.aborted = !0, n;
|
|
414
414
|
let o = t(r, i, a);
|
|
415
415
|
if (o instanceof Promise) {
|
|
416
|
-
if (a.async === !1) throw new
|
|
416
|
+
if (a.async === !1) throw new O();
|
|
417
417
|
return o.then((t) => e._zod.parse(t, a));
|
|
418
418
|
}
|
|
419
419
|
return e._zod.parse(o, a);
|
|
@@ -432,20 +432,20 @@ var I = (e, t) => {
|
|
|
432
432
|
}
|
|
433
433
|
let o = e._zod.parse(r, a);
|
|
434
434
|
if (o instanceof Promise) {
|
|
435
|
-
if (a.async === !1) throw new
|
|
435
|
+
if (a.async === !1) throw new O();
|
|
436
436
|
return o.then((e) => t(e, i, a));
|
|
437
437
|
}
|
|
438
438
|
return t(o, i, a);
|
|
439
439
|
};
|
|
440
440
|
}
|
|
441
|
-
|
|
441
|
+
M(e, "~standard", () => ({
|
|
442
442
|
validate: (t) => {
|
|
443
443
|
try {
|
|
444
444
|
var n;
|
|
445
|
-
let r =
|
|
445
|
+
let r = Ye(e, t);
|
|
446
446
|
return r.success ? { value: r.data } : { issues: (n = r.error) == null ? void 0 : n.issues };
|
|
447
447
|
} catch {
|
|
448
|
-
return
|
|
448
|
+
return Xe(e, t).then((e) => {
|
|
449
449
|
var t;
|
|
450
450
|
return e.success ? { value: e.data } : { issues: (t = e.error) == null ? void 0 : t.issues };
|
|
451
451
|
});
|
|
@@ -454,7 +454,7 @@ var I = (e, t) => {
|
|
|
454
454
|
vendor: "zod",
|
|
455
455
|
version: 1
|
|
456
456
|
}));
|
|
457
|
-
}), tt = /*@__PURE__*/
|
|
457
|
+
}), tt = /*@__PURE__*/ D("$ZodString", (e, t) => {
|
|
458
458
|
var n, r, i;
|
|
459
459
|
B.init(e, t), e._zod.pattern = (n = [...(r = e == null || (i = e._zod.bag) == null ? void 0 : i.patterns) == null ? [] : r].pop()) == null ? Ze(e._zod.bag) : n, e._zod.parse = (n, r) => {
|
|
460
460
|
if (t.coerce) try {
|
|
@@ -467,7 +467,7 @@ var I = (e, t) => {
|
|
|
467
467
|
inst: e
|
|
468
468
|
}), n;
|
|
469
469
|
};
|
|
470
|
-
}), nt = /*@__PURE__*/
|
|
470
|
+
}), nt = /*@__PURE__*/ D("$ZodNumber", (e, t) => {
|
|
471
471
|
var n;
|
|
472
472
|
B.init(e, t), e._zod.pattern = (n = e._zod.bag.pattern) == null ? Qe : n, e._zod.parse = (n, r) => {
|
|
473
473
|
if (t.coerce) try {
|
|
@@ -484,7 +484,7 @@ var I = (e, t) => {
|
|
|
484
484
|
...a ? { received: a } : {}
|
|
485
485
|
}), n;
|
|
486
486
|
};
|
|
487
|
-
}), rt = /*@__PURE__*/
|
|
487
|
+
}), rt = /*@__PURE__*/ D("$ZodNever", (e, t) => {
|
|
488
488
|
B.init(e, t), e._zod.parse = (t, n) => (t.issues.push({
|
|
489
489
|
expected: "never",
|
|
490
490
|
code: "invalid_type",
|
|
@@ -493,9 +493,9 @@ var I = (e, t) => {
|
|
|
493
493
|
}), t);
|
|
494
494
|
});
|
|
495
495
|
function it(e, t, n) {
|
|
496
|
-
e.issues.length && t.issues.push(...
|
|
496
|
+
e.issues.length && t.issues.push(...I(n, e.issues)), t.value[n] = e.value;
|
|
497
497
|
}
|
|
498
|
-
var at = /*@__PURE__*/
|
|
498
|
+
var at = /*@__PURE__*/ D("$ZodArray", (e, t) => {
|
|
499
499
|
B.init(e, t), e._zod.parse = (n, r) => {
|
|
500
500
|
let i = n.value;
|
|
501
501
|
if (!Array.isArray(i)) return n.issues.push({
|
|
@@ -519,7 +519,7 @@ var at = /*@__PURE__*/ T("$ZodArray", (e, t) => {
|
|
|
519
519
|
function V(e, t, n, r, i) {
|
|
520
520
|
if (e.issues.length) {
|
|
521
521
|
if (i && !(n in r)) return;
|
|
522
|
-
t.issues.push(...
|
|
522
|
+
t.issues.push(...I(n, e.issues));
|
|
523
523
|
}
|
|
524
524
|
e.value === void 0 ? n in r && (t.value[n] = void 0) : t.value[n] = e.value;
|
|
525
525
|
}
|
|
@@ -529,7 +529,7 @@ function ot(e) {
|
|
|
529
529
|
var n;
|
|
530
530
|
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`);
|
|
531
531
|
}
|
|
532
|
-
let r =
|
|
532
|
+
let r = Ue(e.shape);
|
|
533
533
|
return {
|
|
534
534
|
...e,
|
|
535
535
|
keys: t,
|
|
@@ -559,7 +559,7 @@ function st(e, t, n, r, i, a) {
|
|
|
559
559
|
inst: a
|
|
560
560
|
}), e.length ? Promise.all(e).then(() => n) : n;
|
|
561
561
|
}
|
|
562
|
-
var ct = /*@__PURE__*/
|
|
562
|
+
var ct = /*@__PURE__*/ D("$ZodObject", (e, t) => {
|
|
563
563
|
B.init(e, t);
|
|
564
564
|
let n = Object.getOwnPropertyDescriptor(t, "shape");
|
|
565
565
|
if (!(n != null && n.get)) {
|
|
@@ -569,8 +569,8 @@ var ct = /*@__PURE__*/ T("$ZodObject", (e, t) => {
|
|
|
569
569
|
return Object.defineProperty(t, "shape", { value: n }), n;
|
|
570
570
|
} });
|
|
571
571
|
}
|
|
572
|
-
let r =
|
|
573
|
-
|
|
572
|
+
let r = ze(() => ot(t));
|
|
573
|
+
M(e._zod, "propValues", () => {
|
|
574
574
|
let e = t.shape, n = {};
|
|
575
575
|
for (let t in e) {
|
|
576
576
|
let r = e[t]._zod;
|
|
@@ -581,7 +581,7 @@ var ct = /*@__PURE__*/ T("$ZodObject", (e, t) => {
|
|
|
581
581
|
}
|
|
582
582
|
return n;
|
|
583
583
|
});
|
|
584
|
-
let i =
|
|
584
|
+
let i = Ve, a = t.catchall, o;
|
|
585
585
|
e._zod.parse = (t, n) => {
|
|
586
586
|
o != null || (o = r.value);
|
|
587
587
|
let s = t.value;
|
|
@@ -609,10 +609,10 @@ function lt(e, t) {
|
|
|
609
609
|
value: void 0
|
|
610
610
|
} : e;
|
|
611
611
|
}
|
|
612
|
-
var ut = /*@__PURE__*/
|
|
613
|
-
B.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional",
|
|
612
|
+
var ut = /*@__PURE__*/ D("$ZodOptional", (e, t) => {
|
|
613
|
+
B.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", M(e._zod, "values", () => t.innerType._zod.values ? new Set([...t.innerType._zod.values, void 0]) : void 0), M(e._zod, "pattern", () => {
|
|
614
614
|
let e = t.innerType._zod.pattern;
|
|
615
|
-
return e ? RegExp(`^(${
|
|
615
|
+
return e ? RegExp(`^(${Be(e.source)})?$`) : void 0;
|
|
616
616
|
}), e._zod.parse = (e, n) => {
|
|
617
617
|
if (t.innerType._zod.optin === "optional") {
|
|
618
618
|
let r = t.innerType._zod.run(e, n);
|
|
@@ -620,7 +620,7 @@ var ut = /*@__PURE__*/ T("$ZodOptional", (e, t) => {
|
|
|
620
620
|
}
|
|
621
621
|
return e.value === void 0 ? e : t.innerType._zod.run(e, n);
|
|
622
622
|
};
|
|
623
|
-
}), dt = /*@__PURE__*/
|
|
623
|
+
}), dt = /*@__PURE__*/ D("$ZodCustom", (e, t) => {
|
|
624
624
|
$e.init(e, t), B.init(e, t), e._zod.parse = (e, t) => e, e._zod.check = (n) => {
|
|
625
625
|
let r = n.value, i = t.fn(r);
|
|
626
626
|
if (i instanceof Promise) return i.then((t) => ft(t, n, r, e));
|
|
@@ -637,7 +637,7 @@ function ft(e, t, n, r) {
|
|
|
637
637
|
path: [...(i = r._zod.def.path) == null ? [] : i],
|
|
638
638
|
continue: !r._zod.def.abort
|
|
639
639
|
};
|
|
640
|
-
r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(
|
|
640
|
+
r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(We(e));
|
|
641
641
|
}
|
|
642
642
|
}
|
|
643
643
|
//#endregion
|
|
@@ -646,7 +646,7 @@ function ft(e, t, n, r) {
|
|
|
646
646
|
function pt(e, t) {
|
|
647
647
|
return new e({
|
|
648
648
|
type: "string",
|
|
649
|
-
...
|
|
649
|
+
...P(t)
|
|
650
650
|
});
|
|
651
651
|
}
|
|
652
652
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -654,14 +654,14 @@ function mt(e, t) {
|
|
|
654
654
|
return new e({
|
|
655
655
|
type: "number",
|
|
656
656
|
checks: [],
|
|
657
|
-
...
|
|
657
|
+
...P(t)
|
|
658
658
|
});
|
|
659
659
|
}
|
|
660
660
|
// @__NO_SIDE_EFFECTS__
|
|
661
661
|
function ht(e, t) {
|
|
662
662
|
return new e({
|
|
663
663
|
type: "never",
|
|
664
|
-
...
|
|
664
|
+
...P(t)
|
|
665
665
|
});
|
|
666
666
|
}
|
|
667
667
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -670,14 +670,14 @@ function gt(e, t, n) {
|
|
|
670
670
|
type: "custom",
|
|
671
671
|
check: "custom",
|
|
672
672
|
fn: t,
|
|
673
|
-
...
|
|
673
|
+
...P(n)
|
|
674
674
|
});
|
|
675
675
|
}
|
|
676
676
|
//#endregion
|
|
677
677
|
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/mini/schemas.js
|
|
678
|
-
var H = /*@__PURE__*/
|
|
678
|
+
var H = /*@__PURE__*/ D("ZodMiniType", (e, t) => {
|
|
679
679
|
if (!e._zod) throw Error("Uninitialized schema in ZodMiniType.");
|
|
680
|
-
B.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) =>
|
|
680
|
+
B.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => qe(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => Ye(e, t, n), e.parseAsync = async (t, n) => Je(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => Xe(e, t, n), e.check = (...n) => {
|
|
681
681
|
var r;
|
|
682
682
|
return e.clone({
|
|
683
683
|
...t,
|
|
@@ -687,29 +687,29 @@ var H = /*@__PURE__*/ T("ZodMiniType", (e, t) => {
|
|
|
687
687
|
onattach: []
|
|
688
688
|
} } : e)]
|
|
689
689
|
}, { parent: !0 });
|
|
690
|
-
}, e.with = e.check, e.clone = (t, n) =>
|
|
691
|
-
}), _t = /*@__PURE__*/
|
|
690
|
+
}, e.with = e.check, e.clone = (t, n) => He(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.apply = (t) => t(e);
|
|
691
|
+
}), _t = /*@__PURE__*/ D("ZodMiniString", (e, t) => {
|
|
692
692
|
tt.init(e, t), H.init(e, t);
|
|
693
693
|
});
|
|
694
694
|
// @__NO_SIDE_EFFECTS__
|
|
695
695
|
function vt(e) {
|
|
696
696
|
return /* @__PURE__ */ pt(_t, e);
|
|
697
697
|
}
|
|
698
|
-
var yt = /*@__PURE__*/
|
|
698
|
+
var yt = /*@__PURE__*/ D("ZodMiniNumber", (e, t) => {
|
|
699
699
|
nt.init(e, t), H.init(e, t);
|
|
700
700
|
});
|
|
701
701
|
// @__NO_SIDE_EFFECTS__
|
|
702
702
|
function U(e) {
|
|
703
703
|
return /* @__PURE__ */ mt(yt, e);
|
|
704
704
|
}
|
|
705
|
-
var bt = /*@__PURE__*/
|
|
705
|
+
var bt = /*@__PURE__*/ D("ZodMiniNever", (e, t) => {
|
|
706
706
|
rt.init(e, t), H.init(e, t);
|
|
707
707
|
});
|
|
708
708
|
// @__NO_SIDE_EFFECTS__
|
|
709
709
|
function xt(e) {
|
|
710
710
|
return /* @__PURE__ */ ht(bt, e);
|
|
711
711
|
}
|
|
712
|
-
var St = /*@__PURE__*/
|
|
712
|
+
var St = /*@__PURE__*/ D("ZodMiniArray", (e, t) => {
|
|
713
713
|
at.init(e, t), H.init(e, t);
|
|
714
714
|
});
|
|
715
715
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -717,11 +717,11 @@ function Ct(e, t) {
|
|
|
717
717
|
return new St({
|
|
718
718
|
type: "array",
|
|
719
719
|
element: e,
|
|
720
|
-
...
|
|
720
|
+
...P(t)
|
|
721
721
|
});
|
|
722
722
|
}
|
|
723
|
-
var wt = /*@__PURE__*/
|
|
724
|
-
ct.init(e, t), H.init(e, t),
|
|
723
|
+
var wt = /*@__PURE__*/ D("ZodMiniObject", (e, t) => {
|
|
724
|
+
ct.init(e, t), H.init(e, t), M(e, "shape", () => t.shape);
|
|
725
725
|
});
|
|
726
726
|
// @__NO_SIDE_EFFECTS__
|
|
727
727
|
function W(e, t) {
|
|
@@ -729,10 +729,10 @@ function W(e, t) {
|
|
|
729
729
|
type: "object",
|
|
730
730
|
shape: e,
|
|
731
731
|
catchall: /* @__PURE__ */ xt(),
|
|
732
|
-
...
|
|
732
|
+
...P(t)
|
|
733
733
|
});
|
|
734
734
|
}
|
|
735
|
-
var Tt = /*@__PURE__*/
|
|
735
|
+
var Tt = /*@__PURE__*/ D("ZodMiniOptional", (e, t) => {
|
|
736
736
|
ut.init(e, t), H.init(e, t);
|
|
737
737
|
});
|
|
738
738
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -742,7 +742,7 @@ function G(e) {
|
|
|
742
742
|
innerType: e
|
|
743
743
|
});
|
|
744
744
|
}
|
|
745
|
-
var Et = /*@__PURE__*/
|
|
745
|
+
var Et = /*@__PURE__*/ D("ZodMiniCustom", (e, t) => {
|
|
746
746
|
dt.init(e, t), H.init(e, t);
|
|
747
747
|
});
|
|
748
748
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -854,33 +854,33 @@ function Y(e) {
|
|
|
854
854
|
}
|
|
855
855
|
//#endregion
|
|
856
856
|
//#region src/floorplan.ready.tsx
|
|
857
|
-
var X = n(), Z = (0,
|
|
858
|
-
(0,
|
|
857
|
+
var X = n(), Z = (0, ke.default)("efp:api");
|
|
858
|
+
(0, je.install)();
|
|
859
859
|
var Ft = class extends ee {
|
|
860
860
|
constructor(...e) {
|
|
861
861
|
super(...e), this.root = void 0;
|
|
862
862
|
}
|
|
863
863
|
init() {
|
|
864
|
-
this.ignoreQuery || de(this.offHistory), ue("load"),
|
|
864
|
+
this.ignoreQuery || de(this.offHistory), ue("load"), x.fp = this, me(this.allowConsent), xe(ge.Load, ""), this.root = (0, Ae.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, X.jsx)(Oe, { children: /* @__PURE__ */ (0, X.jsx)(Ce, {
|
|
865
865
|
offHistory: this.offHistory,
|
|
866
866
|
allowConsent: this.allowConsent
|
|
867
|
-
}) })),
|
|
868
|
-
if (this.resolveReady(), !
|
|
867
|
+
}) })), xe(ge.Rendered, ""), c(() => x.layerStore.layersLoaded, () => {
|
|
868
|
+
if (this.resolveReady(), !x.initialized) {
|
|
869
869
|
var e;
|
|
870
870
|
(e = this.onInit) == null || e.call(this, this);
|
|
871
871
|
}
|
|
872
|
-
|
|
872
|
+
x.initialized = !0;
|
|
873
873
|
});
|
|
874
|
-
let e =
|
|
875
|
-
e && import("./bootIntercom-
|
|
874
|
+
let e = Le(window.__data);
|
|
875
|
+
e && import("./bootIntercom-Dm7ltiQq.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
|
|
876
876
|
}
|
|
877
877
|
selectBooth(e) {
|
|
878
878
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
879
879
|
$("selectBooth", "Parameter must be a string or an array of strings.", "EFP000000");
|
|
880
880
|
return;
|
|
881
881
|
}
|
|
882
|
-
let t =
|
|
883
|
-
|
|
882
|
+
let t = x.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
883
|
+
x.selectBooth(t);
|
|
884
884
|
}
|
|
885
885
|
selectExhibitor(e) {
|
|
886
886
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
@@ -888,13 +888,13 @@ var Ft = class extends ee {
|
|
|
888
888
|
return;
|
|
889
889
|
}
|
|
890
890
|
if (!(e != null && e.length)) {
|
|
891
|
-
|
|
891
|
+
x.uiState.menu = !1, x.searchStore.resetSearchBox(), x.uiState.details = null;
|
|
892
892
|
return;
|
|
893
893
|
}
|
|
894
|
-
let t =
|
|
894
|
+
let t = x.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
895
895
|
if (!(t != null && t.length)) return;
|
|
896
896
|
if (typeof e == "string") {
|
|
897
|
-
|
|
897
|
+
x.selectExhibitor(t[0]), x.moveToList([t[0]]);
|
|
898
898
|
return;
|
|
899
899
|
}
|
|
900
900
|
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), {
|
|
@@ -902,25 +902,25 @@ var Ft = class extends ee {
|
|
|
902
902
|
mostFrequent: n[0],
|
|
903
903
|
maxCount: 0
|
|
904
904
|
}).mostFrequent;
|
|
905
|
-
|
|
905
|
+
x.layerStore.updateVisibility(r, !0), x.uiState.menu = !1, x.searchStore.resetSearchBox(), x.uiState.details = null, x.uiState.list = {
|
|
906
906
|
type: "filter",
|
|
907
907
|
items: t,
|
|
908
908
|
query: {
|
|
909
909
|
key: "exhibitors",
|
|
910
910
|
value: t.map((e) => e.externalId).join(",")
|
|
911
911
|
}
|
|
912
|
-
},
|
|
912
|
+
}, x.moveToList();
|
|
913
913
|
}
|
|
914
914
|
highlightExhibitors(e) {
|
|
915
|
-
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"),
|
|
915
|
+
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), x.boothStore.highlightedByExternalIds = [], x.exhibitorStore.highlightedByExternalIds = [...e];
|
|
916
916
|
}
|
|
917
917
|
highlightBooths(e) {
|
|
918
|
-
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"),
|
|
918
|
+
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), x.exhibitorStore.highlightedByExternalIds = [], x.boothStore.highlightedByExternalIds = [...e];
|
|
919
919
|
}
|
|
920
920
|
highlightEntities(e) {
|
|
921
921
|
Array.isArray(e) || $("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
|
|
922
|
-
let { boothExternalIds: t, exhibitorExternalIds: n } =
|
|
923
|
-
|
|
922
|
+
let { boothExternalIds: t, exhibitorExternalIds: n } = se(e);
|
|
923
|
+
x.boothStore.highlightedByExternalIds = [...t], x.exhibitorStore.highlightedByExternalIds = [...n];
|
|
924
924
|
}
|
|
925
925
|
selectRoute(e, t) {
|
|
926
926
|
if (Array.isArray(e)) {
|
|
@@ -930,10 +930,10 @@ var Ft = class extends ee {
|
|
|
930
930
|
$("selectRoute", "Invalid route format: When providing an array, it must include at least two points: a start and a destination.", "EFP000401");
|
|
931
931
|
return;
|
|
932
932
|
}
|
|
933
|
-
|
|
933
|
+
x.routeStore.selectRoute(new le(Q(n), Q(r), t.map(Q)));
|
|
934
934
|
return;
|
|
935
935
|
}
|
|
936
|
-
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"),
|
|
936
|
+
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), x.routeStore.selectRoute(new le(Q(e), Q(t)));
|
|
937
937
|
}
|
|
938
938
|
getOptimizedRoutes(e) {
|
|
939
939
|
if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
|
|
@@ -947,18 +947,18 @@ var Ft = class extends ee {
|
|
|
947
947
|
a ? a.push(e) : n.set(t, [e]);
|
|
948
948
|
}
|
|
949
949
|
return Array.from(n.values()).map((e) => ({ waypoints: fe(e.map((e) => [e.name, {
|
|
950
|
-
cx: e.rect.
|
|
951
|
-
cy: e.rect.
|
|
950
|
+
cx: e.rect.center.x,
|
|
951
|
+
cy: e.rect.center.y
|
|
952
952
|
}])) }));
|
|
953
953
|
}
|
|
954
954
|
selectCurrentPosition(e, t, n) {
|
|
955
955
|
var r;
|
|
956
|
-
let i =
|
|
957
|
-
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"),
|
|
956
|
+
let i = v(e.x) && v(e.y), a = v(e.lng) && v(e.lat);
|
|
957
|
+
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), x.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
|
|
958
958
|
}
|
|
959
959
|
setBookmarks(e) {
|
|
960
960
|
(!Array.isArray(e) || !e.length) && $("setBookmarks", "Parameter must be an array.", "EFP000700"), e.forEach((e) => {
|
|
961
|
-
let t =
|
|
961
|
+
let t = x.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
|
|
962
962
|
t && (t.bookmarked = e.bookmarked);
|
|
963
963
|
});
|
|
964
964
|
}
|
|
@@ -977,29 +977,29 @@ var Ft = class extends ee {
|
|
|
977
977
|
$("setEntitiesBookmarks", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000702");
|
|
978
978
|
return;
|
|
979
979
|
}
|
|
980
|
-
let r =
|
|
980
|
+
let r = be("bookmarked"), i = {
|
|
981
981
|
exhibitor: {
|
|
982
982
|
existingIds: new Set(r.exhibitors || []),
|
|
983
|
-
finder: (e) =>
|
|
984
|
-
replacer: (e) =>
|
|
983
|
+
finder: (e) => x.exhibitorStore.findExhibitor(e),
|
|
984
|
+
replacer: (e) => x.exhibitorStore.replaceBookmarked(e)
|
|
985
985
|
},
|
|
986
986
|
event: {
|
|
987
987
|
existingIds: new Set(r.events || []),
|
|
988
|
-
finder: (e) =>
|
|
989
|
-
replacer: (e) =>
|
|
988
|
+
finder: (e) => x.eventStore.findByNameOrSlug(e),
|
|
989
|
+
replacer: (e) => x.eventStore.replaceBookmarked(e)
|
|
990
990
|
},
|
|
991
991
|
speaker: {
|
|
992
992
|
existingIds: new Set(r.speakers || []),
|
|
993
|
-
finder: (e) =>
|
|
994
|
-
replacer: (e) =>
|
|
993
|
+
finder: (e) => x.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
|
|
994
|
+
replacer: (e) => x.speakerStore.replaceBookmarked(e)
|
|
995
995
|
},
|
|
996
996
|
booth: {
|
|
997
997
|
existingIds: new Set(r.booths || []),
|
|
998
998
|
finder: (e) => {
|
|
999
|
-
let t =
|
|
999
|
+
let t = x.boothStore.findBooth(e);
|
|
1000
1000
|
return (t == null ? void 0 : t.exhibitors.length) === 0 ? t : void 0;
|
|
1001
1001
|
},
|
|
1002
|
-
replacer: (e) =>
|
|
1002
|
+
replacer: (e) => x.boothStore.replaceBookmarked(e)
|
|
1003
1003
|
}
|
|
1004
1004
|
};
|
|
1005
1005
|
e.forEach((e) => {
|
|
@@ -1019,16 +1019,16 @@ var Ft = class extends ee {
|
|
|
1019
1019
|
$("setEntitiesVisited", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000704");
|
|
1020
1020
|
return;
|
|
1021
1021
|
}
|
|
1022
|
-
let r =
|
|
1022
|
+
let r = be("visited"), i = {
|
|
1023
1023
|
exhibitor: {
|
|
1024
1024
|
existingIds: new Set(r.exhibitors || []),
|
|
1025
|
-
finder: (e) =>
|
|
1026
|
-
replacer: (e) =>
|
|
1025
|
+
finder: (e) => x.exhibitorStore.findExhibitor(e),
|
|
1026
|
+
replacer: (e) => x.exhibitorStore.replaceVisited(e)
|
|
1027
1027
|
},
|
|
1028
1028
|
event: {
|
|
1029
1029
|
existingIds: new Set(r.events || []),
|
|
1030
|
-
finder: (e) =>
|
|
1031
|
-
replacer: (e) =>
|
|
1030
|
+
finder: (e) => x.eventStore.findByNameOrSlug(e),
|
|
1031
|
+
replacer: (e) => x.eventStore.replaceVisited(e)
|
|
1032
1032
|
}
|
|
1033
1033
|
};
|
|
1034
1034
|
e.forEach((e) => {
|
|
@@ -1043,64 +1043,64 @@ var Ft = class extends ee {
|
|
|
1043
1043
|
$("setMarkers", "Invalid input.", "EFP000800");
|
|
1044
1044
|
return;
|
|
1045
1045
|
}
|
|
1046
|
-
|
|
1046
|
+
x.routeStore.setMarkers(e);
|
|
1047
1047
|
}
|
|
1048
1048
|
selectMarker(e, t = !0) {
|
|
1049
|
-
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"),
|
|
1049
|
+
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), x.routeStore.selectMarker(e, t);
|
|
1050
1050
|
}
|
|
1051
1051
|
drawCircles(e) {
|
|
1052
|
-
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"),
|
|
1052
|
+
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), x.uiState.debugCircles = e;
|
|
1053
1053
|
}
|
|
1054
1054
|
checkRoutes() {
|
|
1055
|
-
|
|
1055
|
+
x.routeStore.checkRoutes();
|
|
1056
1056
|
}
|
|
1057
1057
|
updateLayerVisibility(e, t) {
|
|
1058
|
-
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"),
|
|
1058
|
+
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"), x.layerStore.updateVisibility(e, t);
|
|
1059
1059
|
}
|
|
1060
1060
|
getCenterCoordinates() {
|
|
1061
|
-
return
|
|
1061
|
+
return x.fp.getCenterCoordinates();
|
|
1062
1062
|
}
|
|
1063
1063
|
exhibitorsList() {
|
|
1064
|
-
return
|
|
1064
|
+
return x.exhibitorStore.exhibitors.map((e) => q(e));
|
|
1065
1065
|
}
|
|
1066
1066
|
boothsList() {
|
|
1067
|
-
return
|
|
1067
|
+
return x.boothStore.booths.map((e) => q(e));
|
|
1068
1068
|
}
|
|
1069
1069
|
categoriesList() {
|
|
1070
|
-
return
|
|
1070
|
+
return x.categoryStore.categories.map((e) => q(e));
|
|
1071
1071
|
}
|
|
1072
1072
|
selectCategory(e) {
|
|
1073
1073
|
if (e == null || typeof e != "string") {
|
|
1074
|
-
|
|
1074
|
+
x.searchStore.selectSearch();
|
|
1075
1075
|
return;
|
|
1076
1076
|
}
|
|
1077
|
-
let t = e == null ? void 0 : e.toLowerCase(), n =
|
|
1077
|
+
let t = e == null ? void 0 : e.toLowerCase(), n = x.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
|
|
1078
1078
|
if (!n) {
|
|
1079
1079
|
$("selectCategory", `Category ${e} not found.`, "EFP000C01");
|
|
1080
1080
|
return;
|
|
1081
1081
|
}
|
|
1082
|
-
|
|
1082
|
+
x.selectCategory(n);
|
|
1083
1083
|
}
|
|
1084
1084
|
applyParameters(e) {
|
|
1085
1085
|
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), ce(e);
|
|
1086
1086
|
}
|
|
1087
1087
|
getVisibility() {
|
|
1088
|
-
return
|
|
1088
|
+
return x.uiState.visibility;
|
|
1089
1089
|
}
|
|
1090
1090
|
setVisibility(e) {
|
|
1091
|
-
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"),
|
|
1091
|
+
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), x.uiState.setVisibility(e);
|
|
1092
1092
|
}
|
|
1093
1093
|
findLocation() {
|
|
1094
|
-
|
|
1094
|
+
x.routeStore.findLocation();
|
|
1095
1095
|
}
|
|
1096
1096
|
zoomIn() {
|
|
1097
|
-
|
|
1097
|
+
x.uiState.zoomIn();
|
|
1098
1098
|
}
|
|
1099
1099
|
zoomOut() {
|
|
1100
|
-
|
|
1100
|
+
x.uiState.zoomOut();
|
|
1101
1101
|
}
|
|
1102
1102
|
switchView() {
|
|
1103
|
-
|
|
1103
|
+
x.maplibreStore.activateMaplibre();
|
|
1104
1104
|
}
|
|
1105
1105
|
zoomTo(e, t) {
|
|
1106
1106
|
Z("zoomTo called with selectors=%O options=%O", e, t);
|
|
@@ -1128,29 +1128,29 @@ var Ft = class extends ee {
|
|
|
1128
1128
|
let i = [];
|
|
1129
1129
|
if ((t = e.booths) == null || t.forEach((e) => {
|
|
1130
1130
|
let t;
|
|
1131
|
-
e.externalId ? t =
|
|
1131
|
+
e.externalId ? t = x.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = x.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
|
|
1132
1132
|
}), (n = e.exhibitors) == null || n.forEach((e) => {
|
|
1133
1133
|
var t;
|
|
1134
1134
|
let n;
|
|
1135
|
-
e.externalId ? n =
|
|
1135
|
+
e.externalId ? n = x.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = x.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
|
|
1136
1136
|
e.rect && i.push(e.rect);
|
|
1137
1137
|
});
|
|
1138
1138
|
}), i.length === 0) return;
|
|
1139
|
-
let a =
|
|
1139
|
+
let a = b.fromUnion(...i);
|
|
1140
1140
|
return {
|
|
1141
1141
|
leftTop: {
|
|
1142
|
-
x: a.
|
|
1143
|
-
y: a.
|
|
1142
|
+
x: a.min.x,
|
|
1143
|
+
y: a.min.y
|
|
1144
1144
|
},
|
|
1145
1145
|
rightBottom: {
|
|
1146
|
-
x: a.
|
|
1147
|
-
y: a.
|
|
1146
|
+
x: a.max.x,
|
|
1147
|
+
y: a.max.y
|
|
1148
1148
|
}
|
|
1149
1149
|
};
|
|
1150
1150
|
}
|
|
1151
1151
|
fitBounds(e, t) {
|
|
1152
1152
|
if (Z("fitBounds called with bounds=%O options=%O", e, t), !e) {
|
|
1153
|
-
|
|
1153
|
+
x.uiState.fitBounds();
|
|
1154
1154
|
return;
|
|
1155
1155
|
}
|
|
1156
1156
|
let n = kt.safeParse(e);
|
|
@@ -1163,20 +1163,24 @@ var Ft = class extends ee {
|
|
|
1163
1163
|
$("fitBounds", r.error.message, "EFP001501");
|
|
1164
1164
|
return;
|
|
1165
1165
|
}
|
|
1166
|
-
let i
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1166
|
+
let i = b.fromMinMax({
|
|
1167
|
+
x: e.leftTop.x,
|
|
1168
|
+
y: e.leftTop.y
|
|
1169
|
+
}, {
|
|
1170
|
+
x: e.rightBottom.x,
|
|
1171
|
+
y: e.rightBottom.y
|
|
1172
|
+
});
|
|
1173
|
+
x.uiState.moveToRect = t != null && t.padding ? i.expand(t.padding) : i;
|
|
1172
1174
|
}
|
|
1173
1175
|
getBoothRect(e) {
|
|
1174
1176
|
var t;
|
|
1175
|
-
|
|
1177
|
+
typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00");
|
|
1178
|
+
let n = (t = y(e)) == null ? void 0 : t.rect;
|
|
1179
|
+
return n ? Lt.fromBox(n) : void 0;
|
|
1176
1180
|
}
|
|
1177
1181
|
convertToGeo(e, t) {
|
|
1178
1182
|
var n;
|
|
1179
|
-
if (!(!(
|
|
1183
|
+
if (!(!(S == null || (n = S.properties) == null) && n.config)) {
|
|
1180
1184
|
$("convertToGeo", "The coordinates cannot be converted because the GPS configuration is not defined.", "EFP001000");
|
|
1181
1185
|
return;
|
|
1182
1186
|
}
|
|
@@ -1184,11 +1188,11 @@ var Ft = class extends ee {
|
|
|
1184
1188
|
$("convertToGeo", "Both coordinates must be passed.", "EFP001001");
|
|
1185
1189
|
return;
|
|
1186
1190
|
}
|
|
1187
|
-
return
|
|
1191
|
+
return _e(e, t, S.properties.config);
|
|
1188
1192
|
}
|
|
1189
1193
|
getGeoConfig() {
|
|
1190
1194
|
var e, t;
|
|
1191
|
-
let n =
|
|
1195
|
+
let n = S == null || (e = S.properties) == null ? void 0 : e.config;
|
|
1192
1196
|
return n ? {
|
|
1193
1197
|
bearing: (t = n.bearing) == null ? 0 : t,
|
|
1194
1198
|
p0: n.p0,
|
|
@@ -1198,16 +1202,16 @@ var Ft = class extends ee {
|
|
|
1198
1202
|
}
|
|
1199
1203
|
unstable_destroy() {
|
|
1200
1204
|
let e = window.__efpElement.firstChild;
|
|
1201
|
-
Nt(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", f),
|
|
1205
|
+
Nt(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", f), x.maplibreStore.dispose(), ye(), ve(), pe(), [...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();
|
|
1202
1206
|
}
|
|
1203
1207
|
search(e) {
|
|
1204
|
-
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"),
|
|
1208
|
+
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), x.fuzzySearchEngineStore.loadEngine().then(() => (x.searchStore.selectSearch(e), x.uiState.fuzzySearchItems.map((e) => ({
|
|
1205
1209
|
item: q(e.item),
|
|
1206
1210
|
score: e.score
|
|
1207
1211
|
}))));
|
|
1208
1212
|
}
|
|
1209
1213
|
getFloors() {
|
|
1210
|
-
return
|
|
1214
|
+
return x.layerStore.floors.map((e) => ({
|
|
1211
1215
|
name: e.name,
|
|
1212
1216
|
shortName: e.shortName,
|
|
1213
1217
|
description: e.description,
|
|
@@ -1246,25 +1250,25 @@ var Ft = class extends ee {
|
|
|
1246
1250
|
showPathway(e, t) {
|
|
1247
1251
|
let n = new URLSearchParams();
|
|
1248
1252
|
if (n.set(a, e), t != null && t.length) {
|
|
1249
|
-
let { boothExternalIds: e, exhibitorExternalIds: r } =
|
|
1253
|
+
let { boothExternalIds: e, exhibitorExternalIds: r } = se(t);
|
|
1250
1254
|
e.length > 0 && n.set("booths", e.join(",")), r.length > 0 && n.set("exhibitors", r.join(","));
|
|
1251
1255
|
}
|
|
1252
1256
|
this.applyParameters(n.toString());
|
|
1253
1257
|
}
|
|
1254
1258
|
showPathwayOnly(e, t) {
|
|
1255
|
-
this.activateFloor({ name: t }),
|
|
1256
|
-
let n =
|
|
1259
|
+
this.activateFloor({ name: t }), x.layerStore.showPathWay(e), x.uiState.setPathwayOnlyMode(!0);
|
|
1260
|
+
let n = x.layerStore.findLayer(e), r = x.layerStore.findLayer(t), i = n != null && n.rect || n != null && n.viewbox ? n : r;
|
|
1257
1261
|
if (i != null && i.rect || i != null && i.viewbox) {
|
|
1258
1262
|
var a;
|
|
1259
1263
|
let e = (a = i.viewbox) == null ? i.rect : a;
|
|
1260
|
-
|
|
1264
|
+
x.uiState.moveToRect = e.clone();
|
|
1261
1265
|
}
|
|
1262
1266
|
}
|
|
1263
1267
|
hidePathways() {
|
|
1264
|
-
this.highlightBooths([]),
|
|
1268
|
+
this.highlightBooths([]), x.layerStore.hidePathways(), x.uiState.setPathwayOnlyMode(!1);
|
|
1265
1269
|
}
|
|
1266
1270
|
showSearch() {
|
|
1267
|
-
|
|
1271
|
+
x.selectSearch("");
|
|
1268
1272
|
}
|
|
1269
1273
|
changeLanguage(e) {
|
|
1270
1274
|
var t;
|
|
@@ -1277,35 +1281,35 @@ var Ft = class extends ee {
|
|
|
1277
1281
|
r.set(i, n), this.applyParameters(r.toString());
|
|
1278
1282
|
}
|
|
1279
1283
|
isGpsTrackingEnabled() {
|
|
1280
|
-
return
|
|
1284
|
+
return x.routeStore.gpsEnabled;
|
|
1281
1285
|
}
|
|
1282
1286
|
setGpsTrackingEnabled(e) {
|
|
1283
|
-
|
|
1287
|
+
x.routeStore.setGpsTrackingEnabled(e);
|
|
1284
1288
|
}
|
|
1285
1289
|
deselectCurrentPosition() {
|
|
1286
|
-
|
|
1290
|
+
x.routeStore.selectCurrentPosition(null, !1);
|
|
1287
1291
|
}
|
|
1288
1292
|
deselectRoute() {
|
|
1289
|
-
|
|
1293
|
+
x.routeStore.selectRoute(null), x.routeStore.setOnlyAccessible(!1);
|
|
1290
1294
|
}
|
|
1291
1295
|
reset() {
|
|
1292
|
-
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]),
|
|
1296
|
+
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), x.uiState.kioskData && x.resetCameraFn) {
|
|
1293
1297
|
var e;
|
|
1294
|
-
(e =
|
|
1298
|
+
(e = x.resetCameraFn) == null || e.call(x);
|
|
1295
1299
|
} else this.fitBounds();
|
|
1296
1300
|
}
|
|
1297
1301
|
selectAccessibleRoute(e) {
|
|
1298
|
-
|
|
1302
|
+
x.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
|
|
1299
1303
|
}
|
|
1300
1304
|
};
|
|
1301
1305
|
function Q(e) {
|
|
1302
|
-
return typeof e == "string" ?
|
|
1306
|
+
return typeof e == "string" ? y(e) : x.routeStore.getNearestBooth(e);
|
|
1303
1307
|
}
|
|
1304
1308
|
var It = 0;
|
|
1305
1309
|
function $(e, t, n) {
|
|
1306
1310
|
let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://js-sdk.expofp.com/api/packages";
|
|
1307
|
-
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`),
|
|
1308
|
-
|
|
1311
|
+
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), x.fp.disableRuntimeAlerts) return;
|
|
1312
|
+
x.uiState.setGlobalErrorMessage({
|
|
1309
1313
|
title: r,
|
|
1310
1314
|
body: /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [
|
|
1311
1315
|
i,
|
|
@@ -1321,10 +1325,82 @@ function $(e, t, n) {
|
|
|
1321
1325
|
let o = 8e3;
|
|
1322
1326
|
It = window.setTimeout(() => {
|
|
1323
1327
|
let e = async () => {
|
|
1324
|
-
|
|
1328
|
+
x.uiState.globalErrorMessages.length > 0 && (x.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
|
|
1325
1329
|
};
|
|
1326
1330
|
e();
|
|
1327
1331
|
}, o);
|
|
1328
1332
|
}
|
|
1333
|
+
var Lt = class e {
|
|
1334
|
+
get h() {
|
|
1335
|
+
return Math.abs(this.y2 - this.y1);
|
|
1336
|
+
}
|
|
1337
|
+
get w() {
|
|
1338
|
+
return Math.abs(this.x2 - this.x1);
|
|
1339
|
+
}
|
|
1340
|
+
get cx() {
|
|
1341
|
+
return (this.x1 + this.x2) / 2;
|
|
1342
|
+
}
|
|
1343
|
+
get cy() {
|
|
1344
|
+
return (this.y1 + this.y2) / 2;
|
|
1345
|
+
}
|
|
1346
|
+
constructor(e, t, n, r) {
|
|
1347
|
+
if (this.x1 = void 0, this.y1 = void 0, this.x2 = void 0, this.y2 = void 0, e > n) {
|
|
1348
|
+
let t = e;
|
|
1349
|
+
e = n, n = t;
|
|
1350
|
+
}
|
|
1351
|
+
if (t > r) {
|
|
1352
|
+
let e = t;
|
|
1353
|
+
t = r, r = e;
|
|
1354
|
+
}
|
|
1355
|
+
this.x1 = e, this.y1 = t, this.x2 = n, this.y2 = r;
|
|
1356
|
+
}
|
|
1357
|
+
static fromBox(t) {
|
|
1358
|
+
return new e(t.min.x, t.min.y, t.max.x, t.max.y);
|
|
1359
|
+
}
|
|
1360
|
+
static fromCxcywh(t, n, r, i) {
|
|
1361
|
+
return new e(t - r / 2, n - i / 2, t + r / 2, n + i / 2);
|
|
1362
|
+
}
|
|
1363
|
+
contains(e) {
|
|
1364
|
+
return e.x1 >= this.x1 && e.x2 <= this.x2 && e.y1 >= this.y1 && e.y2 <= this.y2;
|
|
1365
|
+
}
|
|
1366
|
+
intersects(e) {
|
|
1367
|
+
let t = Math.max(this.x1, e.x1), n = Math.min(this.x2, e.x2), r = Math.max(this.y1, e.y1), i = Math.min(this.y2, e.y2);
|
|
1368
|
+
return n >= t && i >= r;
|
|
1369
|
+
}
|
|
1370
|
+
getIntersection(t) {
|
|
1371
|
+
let n = Math.max(this.x1, t.x1), r = Math.min(this.x2, t.x2), i = Math.max(this.y1, t.y1), a = Math.min(this.y2, t.y2);
|
|
1372
|
+
return r >= n && a >= i ? new e(n, i, r, a) : new e(0, 0, 0, 0);
|
|
1373
|
+
}
|
|
1374
|
+
getRotated90() {
|
|
1375
|
+
return e.fromCxcywh(this.cx, this.cy, this.h, this.w);
|
|
1376
|
+
}
|
|
1377
|
+
normalize(t, n) {
|
|
1378
|
+
return new e(this.x1 / t, this.y1 / n, this.x2 / t, this.y2 / n);
|
|
1379
|
+
}
|
|
1380
|
+
withPadding(t, n = t) {
|
|
1381
|
+
return this.w < t * 2 || this.h < n * 2 ? this : e.fromCxcywh(this.cx, this.cy, this.w - t * 2, this.h - n * 2);
|
|
1382
|
+
}
|
|
1383
|
+
scale(t) {
|
|
1384
|
+
return new e(this.x1 * t, this.y1 * t, this.x2 * t, this.y2 * t);
|
|
1385
|
+
}
|
|
1386
|
+
getArea() {
|
|
1387
|
+
return this.w * this.h;
|
|
1388
|
+
}
|
|
1389
|
+
clone() {
|
|
1390
|
+
return new e(this.x1, this.y1, this.x2, this.y2);
|
|
1391
|
+
}
|
|
1392
|
+
translate(e, t) {
|
|
1393
|
+
return this.x1 += e, this.x2 += e, this.y1 += t, this.y2 += t, this;
|
|
1394
|
+
}
|
|
1395
|
+
equals(e) {
|
|
1396
|
+
return e.x1 === this.x1 && e.x2 === this.x2 && e.y1 === this.y1 && e.y2 === this.y2;
|
|
1397
|
+
}
|
|
1398
|
+
toString() {
|
|
1399
|
+
return this.x1 + "," + this.y1 + "," + this.w + "," + this.h;
|
|
1400
|
+
}
|
|
1401
|
+
containsPoint(e, t) {
|
|
1402
|
+
return e >= this.x1 && e <= this.x2 && t >= this.y1 && t <= this.y2;
|
|
1403
|
+
}
|
|
1404
|
+
};
|
|
1329
1405
|
//#endregion
|
|
1330
1406
|
export { Ft as default };
|