@expofp/floorplan 3.44.8 → 3.45.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-C1iQgU3z.js → Button-6lV64H09.js} +5 -5
- package/dist/browser/{CookieConsent-Dv1LCPG3.js → CookieConsent-k11VHxoM.js} +7 -7
- package/dist/browser/{Debug-DPy0A0cw.js → Debug-DbfbGWb0.js} +7 -7
- package/dist/browser/{DebugTools-Dp8d4gPZ.js → DebugTools-BjHOBi_k.js} +6 -6
- package/dist/browser/{Demo-CHH4a7sZ.js → Demo-CrFjKybB.js} +9 -9
- package/dist/browser/{Free-BidfuRjG.js → Free-4IN6GHrY.js} +10 -10
- package/dist/browser/{GalleryContainer-7IYWWKkK.js → GalleryContainer-BWd-8Nhp.js} +11 -11
- package/dist/browser/{GpsLoader-CrO61Fpj.js → GpsLoader-C43ADyfU.js} +13 -13
- package/dist/browser/{KioskStore-BE_V60tp.js → KioskStore-0xBjJ9AG.js} +14 -20
- package/dist/browser/{LayerStore-BM7GOQ3J.js → LayerStore-BifpIwHB.js} +3726 -3220
- package/dist/browser/{MaplibreAdapter-DmrCTw3Q.js → MaplibreAdapter-CxETR3-R.js} +2517 -2517
- package/dist/browser/{ModalContainer-DqsSRv60.js → ModalContainer-IvkrtwT_.js} +10 -10
- package/dist/browser/{PermissionNotice--Vn_MkaQ.js → PermissionNotice-C4Nu1dPO.js} +6 -6
- package/dist/browser/{RouteStore-D7G9YROM.js → RouteStore-ltbgXRLP.js} +28 -28
- package/dist/browser/{SetKioskMode-CMndo5d3.js → SetKioskMode-BWzFzO_Q.js} +12 -12
- package/dist/browser/{ShowKiosk-CUiprdS9.js → ShowKiosk-BYOTTOrX.js} +10 -10
- package/dist/browser/{UIState-D0GHKRf4.js → UIState-BG-A7rPb.js} +230 -230
- package/dist/browser/{ViewerMenuPanel-B7corw44.js → ViewerMenuPanel-DscD3jCY.js} +11 -11
- package/dist/browser/{add-debug-secret-listener-uMLIuPW5.js → add-debug-secret-listener-qgQOxLV_.js} +1 -1
- package/dist/browser/{adopt-global-settings-BVVdz-YX.js → adopt-global-settings-CB1YrOJs.js} +9 -9
- package/dist/browser/{boolean-editor-Dg3cfoLy.js → boolean-editor-DcFqYLg6.js} +9 -9
- package/dist/browser/{bootIntercom-7FTJ0piX.js → bootIntercom-DJEOZaFU.js} +2 -2
- package/dist/browser/bundle.json +87 -87
- package/dist/browser/{camera-events-DbYubA01.js → camera-events-BwP3bfY4.js} +1 -1
- package/dist/browser/{classnames-BryLpfgQ.js → classnames-C6CE8V3C.js} +2 -2
- package/dist/browser/{client-DnnJr0Ks.js → client-B42ooBdH.js} +5 -5
- package/dist/browser/{components-DHNMQbqJ.js → components-DelXq6ex.js} +461 -461
- package/dist/browser/{create-live-plan-BgCjK-Kh.js → create-live-plan-jO-YW94S.js} +263 -245
- package/dist/browser/{debug-context-BEABO7OL.js → debug-context-BFAUm0Rv.js} +5 -5
- package/dist/browser/{debug-overlay-Bv-C1rmT.js → debug-overlay-0pLu5_hz.js} +10 -10
- package/dist/browser/{debug-ui-FirQ0EQb.js → debug-ui-CPF3Fr0y.js} +6 -6
- package/dist/browser/{dist-sup8YcEL.js → dist-5MtJlmvC.js} +5 -5
- package/dist/browser/{dist-p14a9te8.js → dist-BImkgFoY.js} +6 -6
- package/dist/browser/{dist-DN5ATV5p.js → dist-D7lv86ly.js} +3 -3
- package/dist/browser/{efp-debug-init-DUPmVtYg.js → efp-debug-init-DBnQHIuj.js} +3 -3
- package/dist/browser/{enum-editor-g46R4Zq7.js → enum-editor-wagTer9Z.js} +4 -4
- package/dist/browser/{es5-D_WEVRPo.js → es5-ClZJZH3H.js} +2 -2
- package/dist/browser/{event-head-DBemDpob.js → event-head-Dvg64Dl9.js} +1 -1
- package/dist/browser/{event-not-found-m_QUX3nl.js → event-not-found-CmHnmais.js} +3 -3
- package/dist/browser/{event-scoped-cache-BpjbCC59.js → event-scoped-cache-blYstzYW.js} +2 -2
- package/dist/browser/{expofpUrl-CAOzqFzt.js → expofpUrl-D99TqyHD.js} +1 -1
- package/dist/browser/{exports-svWN4mLB.js → exports-BBJtyyI0.js} +1 -1
- package/dist/browser/{favicon-hR5BaEm4.js → favicon-Bac0ZnSB.js} +1 -1
- package/dist/browser/{fetch-retry.umd-DS-5XmpN.js → fetch-retry.umd-Dkr69k7z.js} +2 -2
- package/dist/browser/{flex-BAz1Zlx4.js → flex-2znF0sHW.js} +5 -5
- package/dist/browser/{floorplan.loader-DPHmWNvd.js → floorplan.loader-B2NptbPQ.js} +12 -12
- package/dist/browser/{floorplan.ready-clG372Lo.js → floorplan.ready-DTyG-lkM.js} +344 -335
- package/dist/browser/{freeBanner-D0nU1aT0.js → freeBanner-yyOqSdAy.js} +2 -2
- package/dist/browser/{fuse-DFf-hk6f.js → fuse-x_QTzSiL.js} +2 -2
- package/dist/browser/{i18n-CPJmxFQX.js → i18n-CLEztXjo.js} +6 -6
- package/dist/browser/index.js +17 -17
- package/dist/browser/{index.module-COSPv-bu.js → index.module-C9C4kJk7.js} +4 -4
- package/dist/browser/{init-ui-Cj38w8tb.js → init-ui-rxZzKF4X.js} +16 -16
- package/dist/browser/{integrateKiosk-Du5HThkw.js → integrateKiosk-DsU-d7uk.js} +5 -5
- package/dist/browser/{is-debug-CmeNjnvW.js → is-debug-Bnj4naYd.js} +4 -4
- package/dist/browser/{is-own-domain-z0V4JpKp.js → is-own-domain-DNjOZllq.js} +1 -1
- package/dist/browser/{is-webview-JHA9dtnx.js → is-webview-Drer0GOu.js} +1 -1
- package/dist/browser/{jsx-runtime-D-d_UIhH.js → jsx-runtime-DB8EwfzE.js} +2 -2
- package/dist/browser/{kiosk-mode-ZBMSIWbK.js → kiosk-mode-B89VL0oY.js} +3 -3
- package/dist/browser/{kiosk-record-Djd0ZbEF.js → kiosk-record-rnTon4Lp.js} +1 -1
- package/dist/browser/{kioskApi-CXqDoN71.js → kioskApi-opoHdUqq.js} +7 -7
- package/dist/browser/{lib-GyGKAKXf.js → lib-eiqwFHwk.js} +3 -3
- package/dist/browser/{loadImage-cnbZD9uN.js → loadImage-BS80HTUK.js} +1 -1
- package/dist/browser/{logDeviceInfo-BSf9sLzS.js → logDeviceInfo-BqSbYo5l.js} +9 -9
- package/dist/browser/{mobx-D3NQFhEq.js → mobx-9NGoPiek.js} +4 -4
- package/dist/browser/{mobx.module-CAKsDOYI.js → mobx.module-BP1vMHLz.js} +1 -1
- package/dist/browser/{optional-boolean-editor-IR9THgLK.js → optional-boolean-editor-D6hR19BE.js} +3 -3
- package/dist/browser/{optional-enum-editor-PRQn6yzK.js → optional-enum-editor-BQPM-fRt.js} +4 -4
- package/dist/browser/{optional-string-editor-bZCuZ1tn.js → optional-string-editor-DUXoDnXB.js} +4 -4
- package/dist/browser/{particles.min-CwWuVwyg.js → particles.min-CBeInmmW.js} +2 -2
- package/dist/browser/{react-DQVTc7xG.js → react-Dg88gKA7.js} +2 -2
- package/dist/browser/{react-dom-BsqqKfoG.js → react-dom-C3PpoQeD.js} +3 -3
- package/dist/browser/{rolldown-runtime-Cyn7iuGp.js → rolldown-runtime-C7pJ6q0h.js} +1 -1
- package/dist/browser/{scene-CqJCEbSr.js → scene-CV1XFwO9.js} +12 -12
- package/dist/browser/{scheduler-CVY86sNW.js → scheduler-D-EvNbvQ.js} +2 -2
- package/dist/browser/{select-Du3T8Mpj.js → select-CQPuihmE.js} +10 -10
- package/dist/browser/{settings-NB72PTux.js → settings-BBn9P5W0.js} +2 -2
- package/dist/browser/{settings-item-BIPeCHmD.js → settings-item-BOVedxqA.js} +6 -6
- package/dist/browser/{store-BvnDl4Sc.js → store-D73yMRu5.js} +2 -2
- package/dist/browser/{string-editor-o-TMbaK8.js → string-editor-Drmcb4Uw.js} +4 -4
- package/dist/browser/{text-field-BZ5346fV.js → text-field-CnzYOUfF.js} +5 -5
- package/dist/browser/{theme-CPcxdYz7.js → theme-B4d7ReQC.js} +8 -8
- package/dist/browser/{ui-CesJTtUW.js → ui-DQ22eDdk.js} +8 -8
- package/dist/browser/useManageTraffic-C-4Maw9l.js +1439 -0
- package/dist/browser/{useRenderTarget-DpLNpx1f.js → useRenderTarget-BaCkqntS.js} +4 -4
- package/dist/browser/{viewport-QrHclV_L.js → viewport-CcbGLmJI.js} +3 -3
- package/dist/browser/{wayfinding-v9-TVwHq.js → wayfinding-4TI6Xwmj.js} +416 -383
- package/dist/esm/components/Kiosk/KioskStore.d.ts +5 -0
- package/dist/esm/components/Kiosk/KioskStore.js +1 -1
- package/dist/esm/components/Map/drawing/config/TextFitter.d.ts +2 -2
- package/dist/esm/components/Map/drawing/config/TextFitter.js +1 -1
- package/dist/esm/components/Map/drawing/config/canvases.d.ts +90 -2
- package/dist/esm/components/Map/drawing/config/canvases.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-all.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-badge.d.ts +3 -3
- 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-labels-special.d.ts +3 -4
- 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 +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-markers.d.ts +17 -1
- package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-pins.d.ts +40 -0
- package/dist/esm/components/Map/drawing/config/config-pins.js +1 -0
- package/dist/esm/components/Map/drawing/config/pin-geometry.d.ts +65 -0
- package/dist/esm/components/Map/drawing/config/pin-geometry.js +1 -0
- package/dist/esm/components/Map/traffic/useBuildRoute.d.ts +1 -1
- package/dist/esm/components/Map/traffic/useBuildRoute.js +4 -4
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/engine/defs.d.ts +5 -0
- package/dist/esm/engine/defs.js +3 -3
- package/dist/esm/engine/update-def.d.ts +13 -1
- package/dist/esm/engine/update-def.js +1 -1
- package/dist/esm/services/url-dispatch.js +1 -1
- package/dist/esm/store/init/init-heatmap.d.ts +1 -1
- package/dist/esm/store/init/init-heatmap.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsActions.d.ts +9 -0
- package/dist/esm/store/search-buttons/SearchButtonsActions.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsStore.d.ts +15 -0
- package/dist/esm/store/search-buttons/SearchButtonsStore.js +1 -1
- package/dist/esm/test/store-harness.d.ts +13 -0
- package/dist/esm/test/store-harness.js +1 -1
- package/dist/esm/utils/dimming.js +1 -1
- package/dist/esm/wayfinding/adapters/canvasIconProvider.js +1 -1
- package/dist/esm/wayfinding/handlers/kioskHandler.js +1 -1
- package/dist/esm/wayfinding/handlers/yahHandler.js +1 -1
- package/package.json +10 -10
- package/dist/browser/dimming-B7lpw_UN.js +0 -1214
- package/dist/esm/engine/canvases.d.ts +0 -5
- package/dist/esm/engine/canvases.js +0 -1
|
@@ -1,42 +1,42 @@
|
|
|
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.45.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] = "b305dacd-c8c2-45db-b1c0-25ea8f2ec947", e._sentryDebugIdIdentifier = "sentry-dbid-b305dacd-c8c2-45db-b1c0-25ea8f2ec947");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { a as t, c as n, i as r, n as i, o as a, r as o, s, t as c } from "./floorplan.loader-
|
|
11
|
-
import { $ as l, Ct as u, Dt as d, Et as f, H as ee, J as
|
|
12
|
-
import { s as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { a as
|
|
16
|
-
import { n as
|
|
17
|
-
import { C as
|
|
18
|
-
import { l as
|
|
19
|
-
import { t as
|
|
20
|
-
import { i as
|
|
21
|
-
import { a as
|
|
22
|
-
import { l as
|
|
23
|
-
import { n as
|
|
24
|
-
import {
|
|
25
|
-
import { g as
|
|
26
|
-
import { C as
|
|
27
|
-
import { r as
|
|
28
|
-
import { n as
|
|
29
|
-
import { t as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-C7pJ6q0h.js";
|
|
10
|
+
import { a as t, c as n, i as r, n as i, o as a, r as o, s, t as c } from "./floorplan.loader-B2NptbPQ.js";
|
|
11
|
+
import { $ as l, Ct as u, Dt as d, Et as f, H as ee, J as te, O as ne, Q as re, St as ie, Tt as ae, Y as oe, Z as p, _t as se, at as ce, bt as le, ct as ue, dt as de, et as fe, ft as pe, gt as me, ht as he, it as ge, j as _e, k as ve, l as ye, lt as be, mt as xe, n as Se, o as Ce, pt as we, r as Te, rt as Ee, st as De, tt as Oe, ut as ke, vt as Ae, wt as je, xt as Me, yt as Ne, z as Pe } from "./i18n-CLEztXjo.js";
|
|
12
|
+
import { s as Fe } from "./efp-debug-init-DBnQHIuj.js";
|
|
13
|
+
import { t as Ie } from "./react-Dg88gKA7.js";
|
|
14
|
+
import { t as Le } from "./jsx-runtime-DB8EwfzE.js";
|
|
15
|
+
import { a as m, o as Re } from "./is-debug-Bnj4naYd.js";
|
|
16
|
+
import { n as ze, t as Be } from "./is-own-domain-DNjOZllq.js";
|
|
17
|
+
import { C as h, D as Ve, Q as He, ht as g, i as Ue, n as We, w as Ge } from "./exports-BBJtyyI0.js";
|
|
18
|
+
import { l as _, u as Ke } from "./mobx.module-BP1vMHLz.js";
|
|
19
|
+
import { t as qe } from "./client-B42ooBdH.js";
|
|
20
|
+
import { i as Je, n as Ye, r as v, t as Xe } from "./components-DelXq6ex.js";
|
|
21
|
+
import { a as Ze, h as Qe, i as $e, p as et } from "./UIState-BG-A7rPb.js";
|
|
22
|
+
import { l as y, u as b } from "./store-D73yMRu5.js";
|
|
23
|
+
import { n as tt } from "./event-scoped-cache-blYstzYW.js";
|
|
24
|
+
import { Gt as nt, Lt as rt, M as it, Q as x, Rt as at, S as ot, Xt as S, j as C, k as st, m as w } from "./LayerStore-BifpIwHB.js";
|
|
25
|
+
import { g as ct, m as T, p as lt, u as ut } from "./wayfinding-4TI6Xwmj.js";
|
|
26
|
+
import { C as dt, S as ft, a as E, b as pt, h as D, i as mt, m as ht, n as O, p as gt, s as _t, t as vt, u as yt, v as bt, w as k, y as A } from "./RouteStore-ltbgXRLP.js";
|
|
27
|
+
import { r as xt, t as St } from "./kiosk-mode-B89VL0oY.js";
|
|
28
|
+
import { n as Ct, t as wt } from "./integrateKiosk-DsU-d7uk.js";
|
|
29
|
+
import { t as Tt } from "./init-ui-rxZzKF4X.js";
|
|
30
30
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
|
|
31
|
-
function
|
|
31
|
+
function Et(e = {}) {
|
|
32
32
|
let n = r.document, i = (n == null ? void 0 : n.head) || (n == null ? void 0 : n.body);
|
|
33
33
|
if (!i) {
|
|
34
|
-
o &&
|
|
34
|
+
o && g.error("[showReportDialog] Global document not defined");
|
|
35
35
|
return;
|
|
36
36
|
}
|
|
37
|
-
let a =
|
|
37
|
+
let a = Ge(), s = h(), c = s == null ? void 0 : s.getDsn();
|
|
38
38
|
if (!c) {
|
|
39
|
-
o &&
|
|
39
|
+
o && g.error("[showReportDialog] DSN not configured");
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
42
|
let l = {
|
|
@@ -45,7 +45,7 @@ function St(e = {}) {
|
|
|
45
45
|
...a.getUser(),
|
|
46
46
|
...e.user
|
|
47
47
|
},
|
|
48
|
-
eventId: e.eventId ||
|
|
48
|
+
eventId: e.eventId || Ue()
|
|
49
49
|
}, u = r.document.createElement("script");
|
|
50
50
|
u.async = !0, u.crossOrigin = "anonymous", u.src = t(c, l);
|
|
51
51
|
let { onLoad: d, onClose: f } = l;
|
|
@@ -63,12 +63,12 @@ function St(e = {}) {
|
|
|
63
63
|
}
|
|
64
64
|
//#endregion
|
|
65
65
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/error.js
|
|
66
|
-
var
|
|
67
|
-
function
|
|
66
|
+
var j = /* @__PURE__ */ e(Ie());
|
|
67
|
+
function Dt(e) {
|
|
68
68
|
let t = e.match(/^([^.]+)/);
|
|
69
69
|
return t !== null && parseInt(t[0]) >= 17;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Ot(e, t) {
|
|
72
72
|
let n = /* @__PURE__ */ new WeakSet();
|
|
73
73
|
function r(e, t) {
|
|
74
74
|
if (!n.has(e)) {
|
|
@@ -78,25 +78,25 @@ function wt(e, t) {
|
|
|
78
78
|
}
|
|
79
79
|
r(e, t);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
if (
|
|
81
|
+
function kt(e, { componentStack: t }, n) {
|
|
82
|
+
if (Dt(j.version) && He(e) && t) {
|
|
83
83
|
let n = Error(e.message);
|
|
84
|
-
n.name = `React ErrorBoundary ${e.name}`, n.stack = t,
|
|
84
|
+
n.name = `React ErrorBoundary ${e.name}`, n.stack = t, Ot(e, n);
|
|
85
85
|
}
|
|
86
|
-
return
|
|
86
|
+
return We(e, n);
|
|
87
87
|
}
|
|
88
88
|
//#endregion
|
|
89
89
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/debug-build.js
|
|
90
|
-
var
|
|
90
|
+
var At = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, M = {
|
|
91
91
|
componentStack: null,
|
|
92
92
|
error: null,
|
|
93
93
|
eventId: null
|
|
94
|
-
},
|
|
94
|
+
}, jt = class extends j.Component {
|
|
95
95
|
constructor(e) {
|
|
96
|
-
super(e), this.state =
|
|
97
|
-
let t =
|
|
96
|
+
super(e), this.state = M, this._openFallbackReportDialog = !0;
|
|
97
|
+
let t = h();
|
|
98
98
|
t && e.showDialog && (this._openFallbackReportDialog = !1, this._cleanupHook = t.on("afterSendEvent", (t) => {
|
|
99
|
-
!t.type && this._lastEventId && t.event_id === this._lastEventId &&
|
|
99
|
+
!t.type && this._lastEventId && t.event_id === this._lastEventId && Et({
|
|
100
100
|
...e.dialogOptions,
|
|
101
101
|
eventId: this._lastEventId
|
|
102
102
|
});
|
|
@@ -104,13 +104,13 @@ var Et = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, I = {
|
|
|
104
104
|
}
|
|
105
105
|
componentDidCatch(e, t) {
|
|
106
106
|
let { componentStack: n } = t, { beforeCapture: r, onError: i, showDialog: a, dialogOptions: o } = this.props;
|
|
107
|
-
|
|
107
|
+
Ve((s) => {
|
|
108
108
|
r && r(s, e, n);
|
|
109
|
-
let c =
|
|
109
|
+
let c = kt(e, t, { mechanism: {
|
|
110
110
|
handled: this.props.handled == null ? !!this.props.fallback : this.props.handled,
|
|
111
111
|
type: "auto.function.react.error_boundary"
|
|
112
112
|
} });
|
|
113
|
-
i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog &&
|
|
113
|
+
i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog && Et({
|
|
114
114
|
...o,
|
|
115
115
|
eventId: c
|
|
116
116
|
})), this.setState({
|
|
@@ -126,32 +126,32 @@ var Et = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, I = {
|
|
|
126
126
|
}
|
|
127
127
|
componentWillUnmount() {
|
|
128
128
|
let { error: e, componentStack: t, eventId: n } = this.state, { onUnmount: r } = this.props;
|
|
129
|
-
r && (this.state ===
|
|
129
|
+
r && (this.state === M ? r(null, null, null) : r(e, t, n)), this._cleanupHook && (this._cleanupHook(), this._cleanupHook = void 0);
|
|
130
130
|
}
|
|
131
131
|
resetErrorBoundary() {
|
|
132
132
|
let { onReset: e } = this.props, { error: t, componentStack: n, eventId: r } = this.state;
|
|
133
|
-
e && e(t, n, r), this.setState(
|
|
133
|
+
e && e(t, n, r), this.setState(M);
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
136
|
let { fallback: e, children: t } = this.props, n = this.state;
|
|
137
137
|
if (n.componentStack === null) return typeof t == "function" ? t() : t;
|
|
138
|
-
let r = typeof e == "function" ?
|
|
138
|
+
let r = typeof e == "function" ? j.createElement(e, {
|
|
139
139
|
error: n.error,
|
|
140
140
|
componentStack: n.componentStack,
|
|
141
141
|
resetError: () => this.resetErrorBoundary(),
|
|
142
142
|
eventId: n.eventId
|
|
143
143
|
}) : e;
|
|
144
|
-
return
|
|
144
|
+
return j.isValidElement(r) ? r : (e && At && g.warn("fallback did not produce a valid ReactElement"), null);
|
|
145
145
|
}
|
|
146
|
-
},
|
|
147
|
-
function
|
|
146
|
+
}, Mt = /* @__PURE__ */ e(Fe(), 1), Nt = qe(), Pt = Qe();
|
|
147
|
+
function N() {
|
|
148
148
|
let e = window.location.hostname.split(".");
|
|
149
149
|
return e.length >= 3 && e[e.length - 2] === "expofp" && e[e.length - 1] === "com";
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
return
|
|
151
|
+
function Ft() {
|
|
152
|
+
return N() ? window.location.hostname.split(".")[0] : "main";
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function It(e) {
|
|
155
155
|
if ((e == null ? void 0 : e.free) === !0) return "Free";
|
|
156
156
|
let t = e == null ? void 0 : e.trialExpiresAt;
|
|
157
157
|
if (t) {
|
|
@@ -160,25 +160,25 @@ function Nt(e) {
|
|
|
160
160
|
}
|
|
161
161
|
return "Active";
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function Lt() {
|
|
164
164
|
return !1;
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Rt(e) {
|
|
167
167
|
return e;
|
|
168
168
|
}
|
|
169
|
-
function
|
|
170
|
-
if (
|
|
171
|
-
let t =
|
|
172
|
-
subDomain:
|
|
173
|
-
subscriptionStatus:
|
|
169
|
+
function zt(e) {
|
|
170
|
+
if (Lt() || !N() || xt(e) || !window.navigator.onLine) return null;
|
|
171
|
+
let t = Rt({
|
|
172
|
+
subDomain: Ft(),
|
|
173
|
+
subscriptionStatus: It(e)
|
|
174
174
|
});
|
|
175
175
|
return t.subDomain !== "demo" && t.subscriptionStatus !== "Free" && t.subscriptionStatus !== "Trial Expired" ? null : t;
|
|
176
176
|
}
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/mini/schemas.js
|
|
179
|
-
var
|
|
179
|
+
var P = /*@__PURE__*/ f("ZodMiniType", (e, t) => {
|
|
180
180
|
if (!e._zod) throw Error("Uninitialized schema in ZodMiniType.");
|
|
181
|
-
|
|
181
|
+
Ae.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => Ne(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => Me(e, t, n), e.parseAsync = async (t, n) => le(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => ie(e, t, n), e.check = (...n) => {
|
|
182
182
|
var r;
|
|
183
183
|
return e.clone({
|
|
184
184
|
...t,
|
|
@@ -189,90 +189,90 @@ var L = /*@__PURE__*/ f("ZodMiniType", (e, t) => {
|
|
|
189
189
|
} } : e)]
|
|
190
190
|
}, { parent: !0 });
|
|
191
191
|
}, e.with = e.check, e.clone = (t, n) => u(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.apply = (t) => t(e);
|
|
192
|
-
}),
|
|
193
|
-
|
|
192
|
+
}), Bt = /*@__PURE__*/ f("ZodMiniString", (e, t) => {
|
|
193
|
+
se.init(e, t), P.init(e, t);
|
|
194
194
|
});
|
|
195
195
|
// @__NO_SIDE_EFFECTS__
|
|
196
|
-
function
|
|
197
|
-
return
|
|
196
|
+
function F(e) {
|
|
197
|
+
return ke(Bt, e);
|
|
198
198
|
}
|
|
199
|
-
var
|
|
200
|
-
|
|
199
|
+
var Vt = /*@__PURE__*/ f("ZodMiniNumber", (e, t) => {
|
|
200
|
+
xe.init(e, t), P.init(e, t);
|
|
201
201
|
});
|
|
202
202
|
// @__NO_SIDE_EFFECTS__
|
|
203
|
-
function
|
|
204
|
-
return
|
|
203
|
+
function I(e) {
|
|
204
|
+
return ue(Vt, e);
|
|
205
205
|
}
|
|
206
|
-
var
|
|
207
|
-
|
|
206
|
+
var Ht = /*@__PURE__*/ f("ZodMiniNever", (e, t) => {
|
|
207
|
+
we.init(e, t), P.init(e, t);
|
|
208
208
|
});
|
|
209
209
|
// @__NO_SIDE_EFFECTS__
|
|
210
|
-
function
|
|
211
|
-
return
|
|
210
|
+
function Ut(e) {
|
|
211
|
+
return De(Ht, e);
|
|
212
212
|
}
|
|
213
|
-
var
|
|
214
|
-
|
|
213
|
+
var Wt = /*@__PURE__*/ f("ZodMiniArray", (e, t) => {
|
|
214
|
+
de.init(e, t), P.init(e, t);
|
|
215
215
|
});
|
|
216
216
|
// @__NO_SIDE_EFFECTS__
|
|
217
|
-
function
|
|
218
|
-
return new
|
|
217
|
+
function L(e, t) {
|
|
218
|
+
return new Wt({
|
|
219
219
|
type: "array",
|
|
220
220
|
element: e,
|
|
221
|
-
...
|
|
221
|
+
...ae(t)
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
|
-
var
|
|
225
|
-
|
|
224
|
+
var Gt = /*@__PURE__*/ f("ZodMiniObject", (e, t) => {
|
|
225
|
+
he.init(e, t), P.init(e, t), je(e, "shape", () => t.shape);
|
|
226
226
|
});
|
|
227
227
|
// @__NO_SIDE_EFFECTS__
|
|
228
|
-
function
|
|
229
|
-
return new
|
|
228
|
+
function R(e, t) {
|
|
229
|
+
return new Gt({
|
|
230
230
|
type: "object",
|
|
231
231
|
shape: e,
|
|
232
|
-
catchall: /* @__PURE__ */
|
|
233
|
-
...
|
|
232
|
+
catchall: /* @__PURE__ */ Ut(),
|
|
233
|
+
...ae(t)
|
|
234
234
|
});
|
|
235
235
|
}
|
|
236
|
-
var
|
|
237
|
-
|
|
236
|
+
var Kt = /*@__PURE__*/ f("ZodMiniOptional", (e, t) => {
|
|
237
|
+
me.init(e, t), P.init(e, t);
|
|
238
238
|
});
|
|
239
239
|
// @__NO_SIDE_EFFECTS__
|
|
240
|
-
function
|
|
241
|
-
return new
|
|
240
|
+
function z(e) {
|
|
241
|
+
return new Kt({
|
|
242
242
|
type: "optional",
|
|
243
243
|
innerType: e
|
|
244
244
|
});
|
|
245
245
|
}
|
|
246
|
-
var
|
|
247
|
-
|
|
246
|
+
var qt = /*@__PURE__*/ f("ZodMiniCustom", (e, t) => {
|
|
247
|
+
pe.init(e, t), P.init(e, t);
|
|
248
248
|
});
|
|
249
249
|
// @__NO_SIDE_EFFECTS__
|
|
250
|
-
function
|
|
251
|
-
return
|
|
250
|
+
function Jt(e, t = {}) {
|
|
251
|
+
return be(qt, e, t);
|
|
252
252
|
}
|
|
253
253
|
//#endregion
|
|
254
254
|
//#region src/schemas/sdk.schemas.ts
|
|
255
|
-
var
|
|
256
|
-
x: /* @__PURE__ */
|
|
257
|
-
y: /* @__PURE__ */
|
|
258
|
-
}), Yt = /* @__PURE__ */
|
|
259
|
-
leftTop:
|
|
260
|
-
rightBottom:
|
|
261
|
-
}), Xt = (/* @__PURE__ */
|
|
262
|
-
name: /* @__PURE__ */
|
|
263
|
-
externalId: /* @__PURE__ */
|
|
264
|
-
})).check(/* @__PURE__ */
|
|
265
|
-
booths: /* @__PURE__ */
|
|
266
|
-
exhibitors: /* @__PURE__ */
|
|
267
|
-
})).check(/* @__PURE__ */
|
|
255
|
+
var B = /* @__PURE__ */ R({
|
|
256
|
+
x: /* @__PURE__ */ I(),
|
|
257
|
+
y: /* @__PURE__ */ I()
|
|
258
|
+
}), Yt = /* @__PURE__ */ R({
|
|
259
|
+
leftTop: B,
|
|
260
|
+
rightBottom: B
|
|
261
|
+
}), Xt = (/* @__PURE__ */ R({
|
|
262
|
+
name: /* @__PURE__ */ z(/* @__PURE__ */ F()),
|
|
263
|
+
externalId: /* @__PURE__ */ z(/* @__PURE__ */ F())
|
|
264
|
+
})).check(/* @__PURE__ */ Jt((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")), Zt = (/* @__PURE__ */ R({
|
|
265
|
+
booths: /* @__PURE__ */ z(/* @__PURE__ */ L(Xt)),
|
|
266
|
+
exhibitors: /* @__PURE__ */ z(/* @__PURE__ */ L(Xt))
|
|
267
|
+
})).check(/* @__PURE__ */ Jt((e) => {
|
|
268
268
|
var t, n;
|
|
269
269
|
return !!((t = e.booths) != null && t.length || (n = e.exhibitors) != null && n.length);
|
|
270
|
-
}, "Selector must contain booths or exhibitors")), Qt = /* @__PURE__ */
|
|
270
|
+
}, "Selector must contain booths or exhibitors")), Qt = /* @__PURE__ */ z(/* @__PURE__ */ R({ padding: /* @__PURE__ */ z(/* @__PURE__ */ I()) }));
|
|
271
271
|
//#endregion
|
|
272
272
|
//#region src/components/Kiosk/recoverKioskFromUrlPrams.ts
|
|
273
273
|
function $t(e) {
|
|
274
|
-
let t =
|
|
275
|
-
Object.values(t).length && (
|
|
274
|
+
let t = Ze(e);
|
|
275
|
+
Object.values(t).length && (wt(t, !1), Ct(t));
|
|
276
276
|
}
|
|
277
277
|
//#endregion
|
|
278
278
|
//#region src/utils/getMostFrequent.ts
|
|
@@ -286,73 +286,79 @@ function en(e) {
|
|
|
286
286
|
//#region src/services/multi-slug.ts
|
|
287
287
|
function tn(e, t) {
|
|
288
288
|
if (!e.includes("&") && !e.includes("%26")) return null;
|
|
289
|
-
let n = e.startsWith("?") ? e.slice(1) : e, r = n.includes("&") ? "&" : "%26", i = n.split(r), a = (e) => !!e && !
|
|
289
|
+
let n = e.startsWith("?") ? e.slice(1) : e, r = n.includes("&") ? "&" : "%26", i = n.split(r), a = (e) => !!e && !p(e).includes("=");
|
|
290
290
|
return i.filter(a).length < 2 ? null : "?" + i.map((e) => a(e) && t(e) || e).join("&");
|
|
291
291
|
}
|
|
292
292
|
//#endregion
|
|
293
293
|
//#region src/services/url-dispatch.ts
|
|
294
|
-
var V = !1;
|
|
294
|
+
var V = !1, H = !1;
|
|
295
295
|
function nn() {
|
|
296
|
-
G(d()),
|
|
296
|
+
G(d()), C(() => y.layerStore.layersLoaded, () => {
|
|
297
297
|
let e = d().camera;
|
|
298
|
-
Object.keys(e).length &&
|
|
298
|
+
Object.keys(e).length && xn(v(e));
|
|
299
299
|
let t = d().visibility;
|
|
300
|
-
Object.keys(t).length &&
|
|
300
|
+
Object.keys(t).length && b.setVisibility(t);
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
303
|
function rn(e) {
|
|
304
|
-
|
|
304
|
+
ft({
|
|
305
305
|
offHistory: e,
|
|
306
|
-
onNavigate: () =>
|
|
307
|
-
}),
|
|
308
|
-
|
|
306
|
+
onNavigate: () => W({ backForward: !0 })
|
|
307
|
+
}), un(), U(), C(() => y.layerStore.layersLoaded, () => {
|
|
308
|
+
y.urlFilterManager && !y.urlFilterManager.isInitialized && y.urlFilterManager.initialize(), H = !0;
|
|
309
|
+
try {
|
|
310
|
+
W();
|
|
311
|
+
} finally {
|
|
312
|
+
H = !1;
|
|
313
|
+
}
|
|
314
|
+
st(bn), st(gn), b.viewerMode && (b.menu = !0);
|
|
309
315
|
});
|
|
310
316
|
}
|
|
311
317
|
function an(e = "") {
|
|
312
|
-
|
|
318
|
+
k("?" + p(e.toString())), y.layerStore.layersLoaded ? on(e) : (U(), C(() => y.layerStore.layersLoaded, () => on(e)));
|
|
313
319
|
}
|
|
314
320
|
function on(e) {
|
|
315
321
|
var t, r;
|
|
316
|
-
let i = "?" +
|
|
322
|
+
let i = "?" + p(e), a = mn(i), o = [...(t = a.intents) == null ? [] : t, ...l(i).intents], { intents: s = [], ...c } = re(i, {
|
|
317
323
|
visibility: a.visibility,
|
|
318
324
|
consent: a.consent,
|
|
319
325
|
intents: o
|
|
320
326
|
});
|
|
321
327
|
G(a), G(c);
|
|
322
328
|
let u = (r = a.consent) == null ? c.consent : r;
|
|
323
|
-
u &&
|
|
329
|
+
u && D(u), a.camera && Object.keys(a.camera).length && xn(v(a.camera)), a.visibility && Object.keys(a.visibility).length && b.setVisibility(a.visibility), un(), W();
|
|
324
330
|
let d = [...o, ...s];
|
|
325
|
-
d.length && n(
|
|
331
|
+
d.length && n(y.fp, d);
|
|
326
332
|
}
|
|
327
|
-
function
|
|
328
|
-
let e =
|
|
329
|
-
return
|
|
333
|
+
function U() {
|
|
334
|
+
let e = A();
|
|
335
|
+
return Ye(e.length > 1 ? p(e.substring(1)) : "");
|
|
330
336
|
}
|
|
331
|
-
function
|
|
337
|
+
function W(e = {}) {
|
|
332
338
|
V = !0;
|
|
333
339
|
try {
|
|
334
|
-
$t(new URLSearchParams(
|
|
335
|
-
let { primary: t } =
|
|
336
|
-
!
|
|
340
|
+
$t(new URLSearchParams(p(window.location.search)));
|
|
341
|
+
let { primary: t } = te(A()), n = t.type === "select" && (!t.slug || /^t=[^&]*$/.test(t.slug)) && (b.heatmap || b.heatmapYah);
|
|
342
|
+
!U() && !n && (e.backForward ? sn(t) : cn(t));
|
|
337
343
|
} finally {
|
|
338
344
|
V = !1;
|
|
339
345
|
}
|
|
340
346
|
if (e.backForward) {
|
|
341
|
-
let { exhibitor: e, booth: t, eventItem: n } =
|
|
347
|
+
let { exhibitor: e, booth: t, eventItem: n } = yn(), r = hn();
|
|
342
348
|
r.exhibitor = e, r.booth = t, r.eventItem = n;
|
|
343
349
|
}
|
|
344
|
-
|
|
350
|
+
gn(), bn();
|
|
345
351
|
}
|
|
346
352
|
function sn(e) {
|
|
347
|
-
e.type === "list" && e.list === "sessions" ?
|
|
348
|
-
let { intents: t } = l(
|
|
349
|
-
n(
|
|
353
|
+
e.type === "list" && e.list === "sessions" ? y.fp.showSessions() : cn(e);
|
|
354
|
+
let { intents: t } = l(A());
|
|
355
|
+
n(y.fp, t.filter((e) => e.name === "showSessions"));
|
|
350
356
|
}
|
|
351
357
|
function cn(e) {
|
|
352
|
-
let t =
|
|
358
|
+
let t = y.fp;
|
|
353
359
|
switch (e.type) {
|
|
354
360
|
case "kiosk":
|
|
355
|
-
e.enabled !== null &&
|
|
361
|
+
e.enabled !== null && St(b, e.enabled);
|
|
356
362
|
return;
|
|
357
363
|
case "list":
|
|
358
364
|
t.showList(e.list);
|
|
@@ -361,21 +367,24 @@ function cn(e) {
|
|
|
361
367
|
t.selectTour(e.tourId);
|
|
362
368
|
return;
|
|
363
369
|
case "planner":
|
|
364
|
-
t.openPlanner({
|
|
370
|
+
H && y.searchButtonsStore.keepFiltersOnNextNavigation(), t.openPlanner({
|
|
365
371
|
items: e.items,
|
|
366
372
|
from: e.from,
|
|
367
373
|
fromBookmarks: e.fromBookmarks
|
|
368
374
|
});
|
|
369
375
|
return;
|
|
370
|
-
case "route":
|
|
376
|
+
case "route": {
|
|
371
377
|
var n, r;
|
|
372
|
-
|
|
378
|
+
y.routeStore.setOnlyAccessible(e.accessible);
|
|
379
|
+
let t = mt((n = e.from) == null ? "" : n, (r = e.to) == null ? "" : r, e.waypoints);
|
|
380
|
+
H && !(t.from && t.from === t.to) && y.searchButtonsStore.keepFiltersOnNextNavigation(), y.routeStore.selectRoute(t), y.uiState.setIsMultiPointRoute(e.waypoints.length > 0), e.title && y.uiState.setRouteTitle(e.title);
|
|
373
381
|
return;
|
|
382
|
+
}
|
|
374
383
|
case "selectExhibitors":
|
|
375
384
|
setTimeout(() => t.selectExhibitor(e.values), 250);
|
|
376
385
|
return;
|
|
377
386
|
case "ownedByFilters":
|
|
378
|
-
|
|
387
|
+
Re.log("Skipping filter parameters in dispatchFromUrl (owned by URLFilterManager)");
|
|
379
388
|
return;
|
|
380
389
|
case "ownedByConfig": return;
|
|
381
390
|
case "select":
|
|
@@ -384,104 +393,104 @@ function cn(e) {
|
|
|
384
393
|
}
|
|
385
394
|
}
|
|
386
395
|
function ln(e) {
|
|
387
|
-
let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i =
|
|
388
|
-
if (
|
|
396
|
+
let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i = y.boothStore.booths.filter((e) => n.includes(e.externalId)), a = y.exhibitorStore.exhibitors.filter((e) => r.includes(e.externalId)).flatMap((e) => e.booths), o = [...i, ...a];
|
|
397
|
+
if (rt()) {
|
|
389
398
|
let e = en(o.map((e) => e.layer.name));
|
|
390
|
-
e &&
|
|
399
|
+
e && y.fp.activateFloor({ name: e });
|
|
391
400
|
}
|
|
392
|
-
(n.length > 0 || r.length > 0) &&
|
|
393
|
-
|
|
401
|
+
(n.length > 0 || r.length > 0) && y.fp.highlightEntities([...n, ...r]), y.layerStore.showPathWay(t), o.length > 0 && Ke(() => {
|
|
402
|
+
y.uiState.moveToRect = S.fromUnion(...o.map((e) => e.rect).filter(Boolean)), y.uiState.rollReset = !0;
|
|
394
403
|
});
|
|
395
404
|
}
|
|
396
|
-
function
|
|
397
|
-
let { oneShots: e } =
|
|
398
|
-
for (let t of e)
|
|
399
|
-
let t =
|
|
400
|
-
t !== null &&
|
|
405
|
+
function un() {
|
|
406
|
+
let { oneShots: e } = te(A());
|
|
407
|
+
for (let t of e) dn(t);
|
|
408
|
+
let t = $e(A());
|
|
409
|
+
t !== null && k("?" + t), b.previewExhibitor && k("?" + b.previewExhibitor.slug), pn();
|
|
401
410
|
}
|
|
402
|
-
function
|
|
411
|
+
function dn(e) {
|
|
403
412
|
switch (e.type) {
|
|
404
413
|
case "heatmap":
|
|
405
|
-
|
|
414
|
+
fn(e.yah);
|
|
406
415
|
return;
|
|
407
416
|
case "blueDot": {
|
|
408
417
|
var t, n;
|
|
409
|
-
let r = new
|
|
410
|
-
|
|
418
|
+
let r = new vt(e.x, e.y, (t = y.layerStore.findLayer((n = e.layer) == null ? "" : n)) == null ? void 0 : t.name, void 0, e.lat, e.lng);
|
|
419
|
+
C(() => y.layerStore.layersLoaded, () => y.routeStore.selectCurrentPosition(r, !0, 1));
|
|
411
420
|
return;
|
|
412
421
|
}
|
|
413
422
|
case "viewerMode":
|
|
414
|
-
|
|
423
|
+
ye && (e.enabled ? localStorage.setItem(ee, "true") : (localStorage.removeItem(ee), localStorage.removeItem(_e)));
|
|
415
424
|
return;
|
|
416
425
|
case "previewMode":
|
|
417
|
-
|
|
426
|
+
ye && (e.enabled ? localStorage.setItem(Pe, "true") : (localStorage.removeItem(Pe), localStorage.removeItem(ve)));
|
|
418
427
|
return;
|
|
419
428
|
case "uiScale":
|
|
420
|
-
e.scale === null ?
|
|
429
|
+
e.scale === null ? Re.warn(`Invalid ui-scale parameter: ${e.raw}. Must be a number between 0.8 and 1.4.`) : y.uiState.setUIScale(e.scale, !0);
|
|
421
430
|
return;
|
|
422
431
|
case "resetUiScale":
|
|
423
|
-
|
|
432
|
+
y.uiState.resetUIScale();
|
|
424
433
|
return;
|
|
425
434
|
}
|
|
426
435
|
}
|
|
427
|
-
function
|
|
428
|
-
|
|
436
|
+
function fn(e) {
|
|
437
|
+
pt(), e ? (b.heatmapYah = !0, b.monochrome = !0, b.hideLogoInBooth = !0, b.hideHeaderLogo = !0, b.disableBookmarked = !0) : b.heatmap = !0;
|
|
429
438
|
}
|
|
430
|
-
function
|
|
431
|
-
let e = tn(
|
|
432
|
-
let t =
|
|
439
|
+
function pn() {
|
|
440
|
+
let e = tn(A(), (e) => {
|
|
441
|
+
let t = y.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
|
|
433
442
|
return t == null ? void 0 : t.name;
|
|
434
443
|
});
|
|
435
|
-
e !== null &&
|
|
444
|
+
e !== null && k(e);
|
|
436
445
|
}
|
|
437
446
|
function G(e) {
|
|
438
|
-
e.noOverlay !== void 0 && (
|
|
447
|
+
e.noOverlay !== void 0 && (b.hideOverlay = e.noOverlay), e.monochrome && (b.monochrome = !0), e.hideHeaderLogo && (b.hideHeaderLogo = !0), e.hideLogoInBooth && (b.hideLogoInBooth = !0), e.disableFeatured && y.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (b.disableBookmarked = !0), e.disableGps && y.routeStore.setGpsTrackingEnabled(!1), e.heatmap && i(e.heatmap) && fn(e.heatmap.variant === "yah");
|
|
439
448
|
}
|
|
440
|
-
function
|
|
441
|
-
return Ee
|
|
449
|
+
function mn(e) {
|
|
450
|
+
return Oe(Ee, e).value;
|
|
442
451
|
}
|
|
443
|
-
var
|
|
452
|
+
var hn = tt(() => ({
|
|
444
453
|
exhibitor: null,
|
|
445
454
|
booth: null,
|
|
446
455
|
eventItem: null
|
|
447
456
|
}));
|
|
448
|
-
function
|
|
449
|
-
let { selection: e, exhibitor: t, booth: n, eventItem: r } =
|
|
457
|
+
function gn() {
|
|
458
|
+
let { selection: e, exhibitor: t, booth: n, eventItem: r } = yn(), i = y.urlFilterManager.filterSearch(), a = _n(e);
|
|
450
459
|
if (V) return;
|
|
451
|
-
let o = a ||
|
|
452
|
-
if (
|
|
453
|
-
let s =
|
|
454
|
-
t !== s.exhibitor || n !== s.booth || r !== s.eventItem ?
|
|
460
|
+
let o = a || oe(e) || i;
|
|
461
|
+
if (A() === o) return;
|
|
462
|
+
let s = hn();
|
|
463
|
+
t !== s.exhibitor || n !== s.booth || r !== s.eventItem ? dt(o) : k(o), s.exhibitor = t, s.booth = n, s.eventItem = r;
|
|
455
464
|
}
|
|
456
|
-
function
|
|
465
|
+
function _n(e) {
|
|
457
466
|
if (e.type !== "list" || e.list !== "sessions") return "";
|
|
458
|
-
let { selectedTracks: t, selectedVenues: n, date: r, timeOfDay: i, showBookmarksOnly: a, showLiveOnly: o } =
|
|
459
|
-
return t.value.length && (s.tracks =
|
|
467
|
+
let { selectedTracks: t, selectedVenues: n, date: r, timeOfDay: i, showBookmarksOnly: a, showLiveOnly: o } = y.sessionsFilterStore.state.filters, s = {};
|
|
468
|
+
return t.value.length && (s.tracks = vn(t.value)), n.value.length && (s.venues = vn(n.value)), r.value !== "all" && (s.date = r.value), r.value === "today" && i.value !== "all" && (s.time = i.value), a.value && (s.bookmarked = !0), o.value && (s.live = !0), Object.keys(s).length ? "?" + fe({
|
|
460
469
|
name: "showSessions",
|
|
461
470
|
args: [s]
|
|
462
471
|
}) : "";
|
|
463
472
|
}
|
|
464
|
-
function
|
|
473
|
+
function vn(e) {
|
|
465
474
|
return [...e].sort((e, t) => e - t).map(String);
|
|
466
475
|
}
|
|
467
|
-
function
|
|
468
|
-
let e =
|
|
476
|
+
function yn() {
|
|
477
|
+
let e = b.selectedExhibitor, t = b.selectedBooth, n = b.selectedEventItem, r = b.selectedRoute, i = b.selectedSpeaker, a = b.setKioskModeEnabled, o = b.list, s;
|
|
469
478
|
if (o.type === "route-planner" && !e && !t && !n) {
|
|
470
479
|
var c;
|
|
471
|
-
let e =
|
|
480
|
+
let e = y.routePlannerStore;
|
|
472
481
|
s = {
|
|
473
482
|
type: "planner",
|
|
474
483
|
fromBookmarks: e.source === "bookmarks",
|
|
475
484
|
items: e.items.map((e) => e.entity.slug).filter(Boolean),
|
|
476
485
|
from: ((c = e.startPoint) == null ? void 0 : c.slug) || void 0
|
|
477
486
|
};
|
|
478
|
-
} else if (r && !
|
|
487
|
+
} else if (r && !b.isMultiPointRoute) {
|
|
479
488
|
var l;
|
|
480
489
|
s = {
|
|
481
490
|
type: "route",
|
|
482
|
-
to: r.to instanceof
|
|
483
|
-
from: r.from instanceof
|
|
484
|
-
accessible:
|
|
491
|
+
to: r.to instanceof x ? r.to.slug : void 0,
|
|
492
|
+
from: r.from instanceof x ? r.from.slug : void 0,
|
|
493
|
+
accessible: y.routeStore.onlyAccessible,
|
|
485
494
|
waypoints: (l = r.waypoints) == null ? void 0 : l.map((e) => e.slug)
|
|
486
495
|
};
|
|
487
496
|
} else if (e) s = {
|
|
@@ -518,7 +527,7 @@ function vn() {
|
|
|
518
527
|
var u, d;
|
|
519
528
|
s = {
|
|
520
529
|
type: "slug",
|
|
521
|
-
slug: (u = (d =
|
|
530
|
+
slug: (u = (d = b.selectedCategory) == null ? void 0 : d.slug) == null ? "" : u
|
|
522
531
|
};
|
|
523
532
|
break;
|
|
524
533
|
case "search":
|
|
@@ -549,17 +558,17 @@ function vn() {
|
|
|
549
558
|
eventItem: n
|
|
550
559
|
};
|
|
551
560
|
}
|
|
552
|
-
function
|
|
561
|
+
function bn() {
|
|
553
562
|
var e;
|
|
554
|
-
if (!
|
|
555
|
-
let t =
|
|
556
|
-
t ? i = t.name : n ? i = n.name : r ? i = r.name :
|
|
563
|
+
if (!Be) return;
|
|
564
|
+
let t = b.selectedExhibitor, n = b.selectedEventItem, r = b.selectedSpeaker, i = "";
|
|
565
|
+
t ? i = t.name : n ? i = n.name : r ? i = r.name : b.list.type === "search" && b.list.text ? i = "`" + (b.list.text || "") + "`" : b.list.type === "multi-point-tour" && b.tourTitle && (i = b.tourTitle), i.length && (i += " – "), i += (e = a(nt, ze)) == null ? s(window.location.hostname, ze) : e, document.title = i;
|
|
557
566
|
}
|
|
558
|
-
function
|
|
567
|
+
function xn(e) {
|
|
559
568
|
try {
|
|
560
|
-
if (
|
|
561
|
-
let t =
|
|
562
|
-
t &&
|
|
569
|
+
if (b.setMapSettings(e), e.z) {
|
|
570
|
+
let t = y.layerStore.layers.find((t) => t.name === e.z);
|
|
571
|
+
t && y.layerStore.updateVisibility(t, !0);
|
|
563
572
|
}
|
|
564
573
|
} catch (e) {
|
|
565
574
|
console.error("Failed to process map settings.", e);
|
|
@@ -567,26 +576,26 @@ function bn(e) {
|
|
|
567
576
|
}
|
|
568
577
|
//#endregion
|
|
569
578
|
//#region src/store/details-events.ts
|
|
570
|
-
function
|
|
571
|
-
return
|
|
579
|
+
function Sn() {
|
|
580
|
+
return _(() => b.details, () => {
|
|
572
581
|
var e;
|
|
573
|
-
if (!
|
|
574
|
-
if (!
|
|
575
|
-
|
|
582
|
+
if (!b.onDetails) return;
|
|
583
|
+
if (!b.details) {
|
|
584
|
+
b.onDetails(null);
|
|
576
585
|
return;
|
|
577
586
|
}
|
|
578
|
-
let t =
|
|
579
|
-
if (
|
|
587
|
+
let t = b.details;
|
|
588
|
+
if (at.EXPO === "wineparis" && (t instanceof w && (t = t.booths[0]), !t)) return;
|
|
580
589
|
let n = null, r = [];
|
|
581
|
-
if (t instanceof
|
|
590
|
+
if (t instanceof w) n = "exhibitor", r = t.booths.map((e) => e.name).sort((e, t) => {
|
|
582
591
|
var n, r;
|
|
583
|
-
return e == ((n =
|
|
592
|
+
return e == ((n = y.routeStore.tempToBooth) == null ? void 0 : n.name) ? -1 : +(t == ((r = y.routeStore.tempToBooth) == null ? void 0 : r.name));
|
|
584
593
|
});
|
|
585
|
-
else if (t instanceof
|
|
586
|
-
else if (t instanceof
|
|
594
|
+
else if (t instanceof x) n = "booth", r = [t.name];
|
|
595
|
+
else if (t instanceof O) {
|
|
587
596
|
var i, a;
|
|
588
597
|
n = "route", r = [(i = t.from) == null ? void 0 : i.name, (a = t.to) == null ? void 0 : a.name].filter((e) => !!e);
|
|
589
|
-
} else t instanceof
|
|
598
|
+
} else t instanceof et && (n = "category", r = t.exhibitors.map((e) => e.booths.map((e) => e.name)).flat());
|
|
590
599
|
let o = t, s = {
|
|
591
600
|
type: n,
|
|
592
601
|
name: o == null ? void 0 : o.name,
|
|
@@ -594,9 +603,9 @@ function xn() {
|
|
|
594
603
|
externalId: o == null ? void 0 : o.externalId,
|
|
595
604
|
boothsNames: r
|
|
596
605
|
};
|
|
597
|
-
|
|
606
|
+
b.onDetails({
|
|
598
607
|
...s,
|
|
599
|
-
...n === "route" ? { routeInfo: (e =
|
|
608
|
+
...n === "route" ? { routeInfo: (e = y.routeStore.routeInfo) == null ? void 0 : e } : {}
|
|
600
609
|
});
|
|
601
610
|
});
|
|
602
611
|
}
|
|
@@ -649,7 +658,7 @@ function K(e) {
|
|
|
649
658
|
entity: e.entity,
|
|
650
659
|
isEnded: e.isEnded
|
|
651
660
|
};
|
|
652
|
-
case
|
|
661
|
+
case ne: return {
|
|
653
662
|
id: e.id,
|
|
654
663
|
name: J(e.name),
|
|
655
664
|
entity: e.entity
|
|
@@ -674,35 +683,35 @@ function J(e) {
|
|
|
674
683
|
}
|
|
675
684
|
//#endregion
|
|
676
685
|
//#region src/floorplan.ready.tsx
|
|
677
|
-
var Y =
|
|
678
|
-
(0,
|
|
679
|
-
var
|
|
686
|
+
var Y = Le(), X = (0, Mt.default)("efp:api");
|
|
687
|
+
(0, Pt.install)();
|
|
688
|
+
var Cn = class extends c {
|
|
680
689
|
constructor(...e) {
|
|
681
690
|
super(...e), this.root = void 0;
|
|
682
691
|
}
|
|
683
692
|
init() {
|
|
684
|
-
|
|
693
|
+
gt(), nn(), this.ignoreQuery || rn(this.offHistory), bt("load"), Tt(y), y.fp = this, m(Sn()), ot(), D(this.consent), ht(yt.Load, ""), this.root = (0, Nt.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, Y.jsx)(jt, { children: /* @__PURE__ */ (0, Y.jsx)(Xe, {
|
|
685
694
|
offHistory: this.offHistory,
|
|
686
695
|
consent: this.consent
|
|
687
|
-
}) })),
|
|
696
|
+
}) })), ht(yt.Rendered, ""), m(_(() => y.layerStore.layersLoaded, () => {
|
|
688
697
|
let e = this.renderTarget.getRootNode(), t = e instanceof ShadowRoot ? e.host : this.renderTarget.parentElement;
|
|
689
698
|
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); t && this.element.firstChild && this.element.firstChild !== t;) this.element.removeChild(this.element.firstChild);
|
|
690
|
-
if (this.resolveReady(), !
|
|
699
|
+
if (this.resolveReady(), !y.initialized) {
|
|
691
700
|
var n;
|
|
692
701
|
(n = this.onInit) == null || n.call(this, this);
|
|
693
702
|
}
|
|
694
|
-
|
|
695
|
-
})),
|
|
696
|
-
let e =
|
|
697
|
-
e && import("./bootIntercom-
|
|
703
|
+
y.initialized = !0;
|
|
704
|
+
})), m(() => clearTimeout(Q));
|
|
705
|
+
let e = zt(nt);
|
|
706
|
+
e && import("./bootIntercom-DJEOZaFU.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
|
|
698
707
|
}
|
|
699
708
|
selectBooth(e) {
|
|
700
709
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
701
710
|
$("selectBooth", "Parameter must be a string or an array of strings.", "EFP000000");
|
|
702
711
|
return;
|
|
703
712
|
}
|
|
704
|
-
let t =
|
|
705
|
-
|
|
713
|
+
let t = y.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
714
|
+
y.selectBooth(t);
|
|
706
715
|
}
|
|
707
716
|
selectExhibitor(e) {
|
|
708
717
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
@@ -710,35 +719,35 @@ var Sn = class extends c {
|
|
|
710
719
|
return;
|
|
711
720
|
}
|
|
712
721
|
if (!(e != null && e.length)) {
|
|
713
|
-
|
|
722
|
+
y.uiState.menu = !1, y.searchStore.resetSearchBox(), y.uiState.details = null;
|
|
714
723
|
return;
|
|
715
724
|
}
|
|
716
|
-
let t =
|
|
725
|
+
let t = y.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
717
726
|
if (!(t != null && t.length)) return;
|
|
718
727
|
if (typeof e == "string") {
|
|
719
|
-
|
|
728
|
+
y.selectExhibitor(t[0]), y.moveToList([t[0]]);
|
|
720
729
|
return;
|
|
721
730
|
}
|
|
722
731
|
let n = en(t.flatMap((e) => e.booths.map((e) => e.layer)).map((e) => e.description));
|
|
723
|
-
n &&
|
|
732
|
+
n && y.layerStore.updateVisibility(n, !0), y.uiState.menu = !1, y.searchStore.resetSearchBox(), y.uiState.details = null, y.uiState.list = {
|
|
724
733
|
type: "filter",
|
|
725
734
|
items: t,
|
|
726
735
|
query: {
|
|
727
736
|
key: "exhibitors",
|
|
728
737
|
value: t.map((e) => e.name).join(",")
|
|
729
738
|
}
|
|
730
|
-
},
|
|
739
|
+
}, y.moveToList();
|
|
731
740
|
}
|
|
732
741
|
highlightExhibitors(e) {
|
|
733
|
-
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"),
|
|
742
|
+
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), y.boothStore.highlightedByExternalIds = [], y.exhibitorStore.highlightedByExternalIds = [...e];
|
|
734
743
|
}
|
|
735
744
|
highlightBooths(e) {
|
|
736
|
-
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"),
|
|
745
|
+
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), y.exhibitorStore.highlightedByExternalIds = [], y.boothStore.highlightedByExternalIds = [...e];
|
|
737
746
|
}
|
|
738
747
|
highlightEntities(e) {
|
|
739
748
|
Array.isArray(e) || $("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
|
|
740
|
-
let { boothExternalIds: t, exhibitorExternalIds: n } =
|
|
741
|
-
|
|
749
|
+
let { boothExternalIds: t, exhibitorExternalIds: n } = _t(e);
|
|
750
|
+
y.boothStore.highlightedByExternalIds = [...t], y.exhibitorStore.highlightedByExternalIds = [...n];
|
|
742
751
|
}
|
|
743
752
|
selectRoute(e, t) {
|
|
744
753
|
if (Array.isArray(e)) {
|
|
@@ -749,10 +758,10 @@ var Sn = class extends c {
|
|
|
749
758
|
return;
|
|
750
759
|
}
|
|
751
760
|
let i = t.map(Z).filter((e) => e !== null);
|
|
752
|
-
|
|
761
|
+
y.routeStore.selectRoute(new O(Z(n), Z(r), i));
|
|
753
762
|
return;
|
|
754
763
|
}
|
|
755
|
-
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"),
|
|
764
|
+
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), y.routeStore.selectRoute(new O(Z(e), t ? Z(t) : null));
|
|
756
765
|
}
|
|
757
766
|
getOptimizedRoutes(e) {
|
|
758
767
|
if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
|
|
@@ -765,19 +774,19 @@ var Sn = class extends c {
|
|
|
765
774
|
let t = (r = (i = e.layer) == null ? void 0 : i.name) == null ? "" : r, a = n.get(t);
|
|
766
775
|
a ? a.push(e) : n.set(t, [e]);
|
|
767
776
|
}
|
|
768
|
-
return Array.from(n.values()).map((e) => ({ waypoints:
|
|
777
|
+
return Array.from(n.values()).map((e) => ({ waypoints: ut(e.map((e) => [e.name, {
|
|
769
778
|
x: e.rect.center.x,
|
|
770
779
|
y: e.rect.center.y
|
|
771
780
|
}])) }));
|
|
772
781
|
}
|
|
773
782
|
selectCurrentPosition(e, t, n) {
|
|
774
783
|
var r;
|
|
775
|
-
let i =
|
|
776
|
-
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"),
|
|
784
|
+
let i = T(e.x) && T(e.y), a = T(e.lng) && T(e.lat);
|
|
785
|
+
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), y.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
|
|
777
786
|
}
|
|
778
787
|
setBookmarks(e) {
|
|
779
788
|
(!Array.isArray(e) || !e.length) && $("setBookmarks", "Parameter must be an array.", "EFP000700"), e.forEach((e) => {
|
|
780
|
-
let t =
|
|
789
|
+
let t = y.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
|
|
781
790
|
t && (t.bookmarked = e.bookmarked);
|
|
782
791
|
});
|
|
783
792
|
}
|
|
@@ -796,29 +805,29 @@ var Sn = class extends c {
|
|
|
796
805
|
$("setEntitiesBookmarks", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000702");
|
|
797
806
|
return;
|
|
798
807
|
}
|
|
799
|
-
let r =
|
|
808
|
+
let r = it("bookmarked"), i = {
|
|
800
809
|
exhibitor: {
|
|
801
810
|
existingIds: new Set(r.exhibitors || []),
|
|
802
|
-
finder: (e) =>
|
|
803
|
-
replacer: (e) =>
|
|
811
|
+
finder: (e) => y.exhibitorStore.findExhibitor(e),
|
|
812
|
+
replacer: (e) => y.exhibitorStore.replaceBookmarked(e)
|
|
804
813
|
},
|
|
805
814
|
event: {
|
|
806
815
|
existingIds: new Set(r.events || []),
|
|
807
|
-
finder: (e) =>
|
|
808
|
-
replacer: (e) =>
|
|
816
|
+
finder: (e) => y.eventStore.findByNameOrSlug(e),
|
|
817
|
+
replacer: (e) => y.eventStore.replaceBookmarked(e)
|
|
809
818
|
},
|
|
810
819
|
speaker: {
|
|
811
820
|
existingIds: new Set(r.speakers || []),
|
|
812
|
-
finder: (e) =>
|
|
813
|
-
replacer: (e) =>
|
|
821
|
+
finder: (e) => y.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
|
|
822
|
+
replacer: (e) => y.speakerStore.replaceBookmarked(e)
|
|
814
823
|
},
|
|
815
824
|
booth: {
|
|
816
825
|
existingIds: new Set(r.booths || []),
|
|
817
826
|
finder: (e) => {
|
|
818
|
-
let t =
|
|
827
|
+
let t = y.boothStore.findBooth(e);
|
|
819
828
|
return (t == null ? void 0 : t.exhibitors.length) === 0 ? t : void 0;
|
|
820
829
|
},
|
|
821
|
-
replacer: (e) =>
|
|
830
|
+
replacer: (e) => y.boothStore.replaceBookmarked(e)
|
|
822
831
|
}
|
|
823
832
|
};
|
|
824
833
|
e.forEach((e) => {
|
|
@@ -838,16 +847,16 @@ var Sn = class extends c {
|
|
|
838
847
|
$("setEntitiesVisited", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000704");
|
|
839
848
|
return;
|
|
840
849
|
}
|
|
841
|
-
let r =
|
|
850
|
+
let r = it("visited"), i = {
|
|
842
851
|
exhibitor: {
|
|
843
852
|
existingIds: new Set(r.exhibitors || []),
|
|
844
|
-
finder: (e) =>
|
|
845
|
-
replacer: (e) =>
|
|
853
|
+
finder: (e) => y.exhibitorStore.findExhibitor(e),
|
|
854
|
+
replacer: (e) => y.exhibitorStore.replaceVisited(e)
|
|
846
855
|
},
|
|
847
856
|
event: {
|
|
848
857
|
existingIds: new Set(r.events || []),
|
|
849
|
-
finder: (e) =>
|
|
850
|
-
replacer: (e) =>
|
|
858
|
+
finder: (e) => y.eventStore.findByNameOrSlug(e),
|
|
859
|
+
replacer: (e) => y.eventStore.replaceVisited(e)
|
|
851
860
|
}
|
|
852
861
|
};
|
|
853
862
|
e.forEach((e) => {
|
|
@@ -862,94 +871,94 @@ var Sn = class extends c {
|
|
|
862
871
|
$("setMarkers", "Invalid input.", "EFP000800");
|
|
863
872
|
return;
|
|
864
873
|
}
|
|
865
|
-
|
|
874
|
+
y.routeStore.setMarkers(e);
|
|
866
875
|
}
|
|
867
876
|
selectMarker(e, t = !0) {
|
|
868
|
-
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"),
|
|
877
|
+
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), y.routeStore.selectMarker(e, t);
|
|
869
878
|
}
|
|
870
879
|
drawCircles(e) {
|
|
871
|
-
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"),
|
|
880
|
+
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), y.uiState.debugCircles = e;
|
|
872
881
|
}
|
|
873
882
|
checkRoutes() {
|
|
874
|
-
|
|
883
|
+
y.routeStore.checkRoutes();
|
|
875
884
|
}
|
|
876
885
|
updateLayerVisibility(e, t) {
|
|
877
|
-
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"),
|
|
886
|
+
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"), y.layerStore.updateVisibility(e, t);
|
|
878
887
|
}
|
|
879
888
|
getCenterCoordinates() {
|
|
880
|
-
return
|
|
889
|
+
return y.fp.getCenterCoordinates();
|
|
881
890
|
}
|
|
882
891
|
exhibitorsList() {
|
|
883
|
-
return
|
|
892
|
+
return y.exhibitorStore.exhibitors.map((e) => K(e));
|
|
884
893
|
}
|
|
885
894
|
boothsList() {
|
|
886
|
-
return
|
|
895
|
+
return y.boothStore.booths.map((e) => K(e));
|
|
887
896
|
}
|
|
888
897
|
categoriesList() {
|
|
889
|
-
return
|
|
898
|
+
return y.categoryStore.categories.map((e) => K(e));
|
|
890
899
|
}
|
|
891
900
|
selectCategory(e) {
|
|
892
901
|
if (e == null || typeof e != "string") {
|
|
893
|
-
|
|
902
|
+
y.searchStore.selectSearch();
|
|
894
903
|
return;
|
|
895
904
|
}
|
|
896
|
-
let t = e == null ? void 0 : e.toLowerCase(), n =
|
|
905
|
+
let t = e == null ? void 0 : e.toLowerCase(), n = y.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
|
|
897
906
|
if (!n) {
|
|
898
907
|
$("selectCategory", `Category ${e} not found.`, "EFP000C01");
|
|
899
908
|
return;
|
|
900
909
|
}
|
|
901
|
-
|
|
910
|
+
y.selectCategory(n);
|
|
902
911
|
}
|
|
903
912
|
select(e) {
|
|
904
913
|
if (typeof e != "string") {
|
|
905
914
|
$("select", "Parameter must be a string.", "EFP001700");
|
|
906
915
|
return;
|
|
907
916
|
}
|
|
908
|
-
let t = e, n = t == null ? void 0 : t.toLowerCase(), r =
|
|
917
|
+
let t = e, n = t == null ? void 0 : t.toLowerCase(), r = y.boothStore.booths.find((e) => {
|
|
909
918
|
var t, r, i;
|
|
910
919
|
return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n || ((i = e.externalId) == null || (i = i.toLowerCase()) == null ? void 0 : i.replace(/\s+/g, "")) === n;
|
|
911
920
|
});
|
|
912
921
|
if (r) {
|
|
913
|
-
setTimeout(() =>
|
|
922
|
+
setTimeout(() => y.selectBooth(r), 250);
|
|
914
923
|
return;
|
|
915
924
|
}
|
|
916
|
-
let i =
|
|
925
|
+
let i = y.eventStore.eventItems.find((e) => {
|
|
917
926
|
var t, r;
|
|
918
927
|
return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
|
|
919
928
|
});
|
|
920
929
|
if (i) {
|
|
921
|
-
|
|
930
|
+
y.selectEventItem(i, !0);
|
|
922
931
|
return;
|
|
923
932
|
}
|
|
924
|
-
let a =
|
|
933
|
+
let a = y.exhibitorStore.exhibitors.find((e) => {
|
|
925
934
|
var t, r;
|
|
926
935
|
return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
|
|
927
936
|
});
|
|
928
937
|
if (a) {
|
|
929
|
-
setTimeout(() =>
|
|
938
|
+
setTimeout(() => y.clickExhibitor(a), 250);
|
|
930
939
|
return;
|
|
931
940
|
}
|
|
932
|
-
let o =
|
|
941
|
+
let o = y.categoryStore.categories.find((e) => e.slug === t);
|
|
933
942
|
if (o) {
|
|
934
|
-
|
|
943
|
+
y.selectCategory(o);
|
|
935
944
|
return;
|
|
936
945
|
}
|
|
937
|
-
let s =
|
|
946
|
+
let s = y.speakerStore.findBySlug(t);
|
|
938
947
|
if (s) {
|
|
939
|
-
|
|
948
|
+
y.selectSpeaker(s, !0);
|
|
940
949
|
return;
|
|
941
950
|
}
|
|
942
|
-
t.includes("heatmap=true") ||
|
|
951
|
+
t.includes("heatmap=true") || y.searchStore.selectSearch(t);
|
|
943
952
|
}
|
|
944
953
|
showList(e) {
|
|
945
954
|
let t = {
|
|
946
|
-
bookmarks: () =>
|
|
947
|
-
visited: () =>
|
|
948
|
-
sessions: () =>
|
|
949
|
-
exhibitors: () =>
|
|
950
|
-
speakers: () =>
|
|
951
|
-
tours: () =>
|
|
952
|
-
language: () =>
|
|
955
|
+
bookmarks: () => y.selectBookmarks(),
|
|
956
|
+
visited: () => y.selectVisited(),
|
|
957
|
+
sessions: () => y.selectSessions(),
|
|
958
|
+
exhibitors: () => y.selectExhibitors(),
|
|
959
|
+
speakers: () => y.selectSpeakers(),
|
|
960
|
+
tours: () => y.selectTours(),
|
|
961
|
+
language: () => y.selectLanguage()
|
|
953
962
|
}, n = t[e];
|
|
954
963
|
if (!n) {
|
|
955
964
|
$("showList", `Unknown list "${e}". Must be one of: ${Object.keys(t).join(", ")}.`, "EFP001800");
|
|
@@ -959,15 +968,15 @@ var Sn = class extends c {
|
|
|
959
968
|
}
|
|
960
969
|
showSessions(e = {}) {
|
|
961
970
|
X("showSessions called with filters=%O", e);
|
|
962
|
-
let t =
|
|
971
|
+
let t = ge.safeParse(e);
|
|
963
972
|
if (!t.success) {
|
|
964
973
|
$("showSessions", t.error.message, "EFP001C00");
|
|
965
974
|
return;
|
|
966
975
|
}
|
|
967
|
-
let n = t.data, { eventStore: r, sessionsFilterStore: i } =
|
|
968
|
-
|
|
976
|
+
let n = t.data, { eventStore: r, sessionsFilterStore: i } = y;
|
|
977
|
+
Ke(() => {
|
|
969
978
|
var e, t, a, o;
|
|
970
|
-
|
|
979
|
+
b.details = null, y.selectSessions(), i.closeFilter(), i.setPending("selectedTracks", wn(n.tracks, r.tracks, "track")), i.setPending("selectedVenues", wn(n.venues, r.venues, "venue")), i.setPending("date", (e = n.date) == null ? "all" : e), i.setPending("timeOfDay", (t = n.time) == null ? "all" : t), i.setPending("showBookmarksOnly", (a = n.bookmarked) != null && a), i.setPending("showLiveOnly", (o = n.live) != null && o), i.commitFilters();
|
|
971
980
|
});
|
|
972
981
|
}
|
|
973
982
|
selectTour(e) {
|
|
@@ -975,56 +984,56 @@ var Sn = class extends c {
|
|
|
975
984
|
$("selectTour", "A tour id must be passed.", "EFP001900");
|
|
976
985
|
return;
|
|
977
986
|
}
|
|
978
|
-
let t =
|
|
979
|
-
t ?
|
|
987
|
+
let t = y.toursStore.getTourById(e);
|
|
988
|
+
t ? y.toursStore.launchTour(t, t.name, t.description) : (console.warn(`Route with id "${e}" not found`), y.selectTours());
|
|
980
989
|
}
|
|
981
990
|
openPlanner(e = {}) {
|
|
982
991
|
if (typeof e != "object" || !e) {
|
|
983
992
|
$("openPlanner", "An options object must be passed.", "EFP001A00");
|
|
984
993
|
return;
|
|
985
994
|
}
|
|
986
|
-
let t = e.from ?
|
|
987
|
-
if (e.fromBookmarks)
|
|
995
|
+
let t = e.from ? E(e.from) : null;
|
|
996
|
+
if (e.fromBookmarks) y.routePlannerStore.launchFromBookmarks(t == null ? void 0 : t);
|
|
988
997
|
else {
|
|
989
998
|
var n;
|
|
990
|
-
|
|
999
|
+
y.routePlannerStore.launchFromSlugs((n = e.items) == null ? [] : n, t == null ? void 0 : t);
|
|
991
1000
|
}
|
|
992
1001
|
}
|
|
993
1002
|
startBuildRoute() {
|
|
994
|
-
|
|
1003
|
+
y.uiState.startBuildRoute();
|
|
995
1004
|
}
|
|
996
1005
|
applyParameters(e) {
|
|
997
1006
|
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), an(e);
|
|
998
1007
|
}
|
|
999
1008
|
getVisibility() {
|
|
1000
|
-
return
|
|
1009
|
+
return y.uiState.visibility;
|
|
1001
1010
|
}
|
|
1002
1011
|
setVisibility(e) {
|
|
1003
|
-
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"),
|
|
1012
|
+
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), y.uiState.setVisibility(e);
|
|
1004
1013
|
}
|
|
1005
1014
|
findLocation() {
|
|
1006
|
-
|
|
1015
|
+
y.routeStore.findLocation();
|
|
1007
1016
|
}
|
|
1008
1017
|
zoomIn() {
|
|
1009
|
-
|
|
1018
|
+
y.uiState.zoomIn();
|
|
1010
1019
|
}
|
|
1011
1020
|
zoomOut() {
|
|
1012
|
-
|
|
1021
|
+
y.uiState.zoomOut();
|
|
1013
1022
|
}
|
|
1014
1023
|
switchView() {
|
|
1015
|
-
|
|
1024
|
+
y.maplibreStore.activateMaplibre();
|
|
1016
1025
|
}
|
|
1017
1026
|
setCamera(e) {
|
|
1018
1027
|
X("setCamera called with camera=%O", e);
|
|
1019
|
-
let t =
|
|
1028
|
+
let t = ce.safeParse(e);
|
|
1020
1029
|
if (!t.success) {
|
|
1021
1030
|
$("setCamera", t.error.message, "EFP001B00");
|
|
1022
1031
|
return;
|
|
1023
1032
|
}
|
|
1024
|
-
|
|
1033
|
+
y.uiState.setMapSettings(v(t.data));
|
|
1025
1034
|
}
|
|
1026
1035
|
getCamera() {
|
|
1027
|
-
return
|
|
1036
|
+
return Je(y.uiState.mapSettings);
|
|
1028
1037
|
}
|
|
1029
1038
|
zoomTo(e, t) {
|
|
1030
1039
|
X("zoomTo called with selectors=%O options=%O", e, t);
|
|
@@ -1052,15 +1061,15 @@ var Sn = class extends c {
|
|
|
1052
1061
|
let i = [];
|
|
1053
1062
|
if ((t = e.booths) == null || t.forEach((e) => {
|
|
1054
1063
|
let t;
|
|
1055
|
-
e.externalId ? t =
|
|
1064
|
+
e.externalId ? t = y.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = y.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
|
|
1056
1065
|
}), (n = e.exhibitors) == null || n.forEach((e) => {
|
|
1057
1066
|
var t;
|
|
1058
1067
|
let n;
|
|
1059
|
-
e.externalId ? n =
|
|
1068
|
+
e.externalId ? n = y.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = y.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
|
|
1060
1069
|
e.rect && i.push(e.rect);
|
|
1061
1070
|
});
|
|
1062
1071
|
}), i.length === 0) return;
|
|
1063
|
-
let a =
|
|
1072
|
+
let a = S.fromUnion(...i);
|
|
1064
1073
|
return {
|
|
1065
1074
|
leftTop: {
|
|
1066
1075
|
x: a.min.x,
|
|
@@ -1074,7 +1083,7 @@ var Sn = class extends c {
|
|
|
1074
1083
|
}
|
|
1075
1084
|
fitBounds(e, t) {
|
|
1076
1085
|
if (X("fitBounds called with bounds=%O options=%O", e, t), !e) {
|
|
1077
|
-
|
|
1086
|
+
y.uiState.fitBounds();
|
|
1078
1087
|
return;
|
|
1079
1088
|
}
|
|
1080
1089
|
let n = Yt.safeParse(e);
|
|
@@ -1087,24 +1096,24 @@ var Sn = class extends c {
|
|
|
1087
1096
|
$("fitBounds", r.error.message, "EFP001501");
|
|
1088
1097
|
return;
|
|
1089
1098
|
}
|
|
1090
|
-
let i =
|
|
1099
|
+
let i = S.fromMinMax({
|
|
1091
1100
|
x: e.leftTop.x,
|
|
1092
1101
|
y: e.leftTop.y
|
|
1093
1102
|
}, {
|
|
1094
1103
|
x: e.rightBottom.x,
|
|
1095
1104
|
y: e.rightBottom.y
|
|
1096
1105
|
});
|
|
1097
|
-
|
|
1106
|
+
y.uiState.moveToRect = t != null && t.padding ? i.expand(t.padding) : i;
|
|
1098
1107
|
}
|
|
1099
1108
|
getBoothRect(e) {
|
|
1100
1109
|
var t;
|
|
1101
1110
|
typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00");
|
|
1102
|
-
let n = (t =
|
|
1103
|
-
return n ?
|
|
1111
|
+
let n = (t = E(e)) == null ? void 0 : t.rect;
|
|
1112
|
+
return n ? Tn.fromBox(n) : void 0;
|
|
1104
1113
|
}
|
|
1105
1114
|
convertToGeo(e, t) {
|
|
1106
1115
|
var n;
|
|
1107
|
-
let r = (n =
|
|
1116
|
+
let r = (n = ct()) == null || (n = n.properties) == null ? void 0 : n.config;
|
|
1108
1117
|
if (!r) {
|
|
1109
1118
|
$("convertToGeo", "The coordinates cannot be converted because the GPS configuration is not defined.", "EFP001000");
|
|
1110
1119
|
return;
|
|
@@ -1113,11 +1122,11 @@ var Sn = class extends c {
|
|
|
1113
1122
|
$("convertToGeo", "Both coordinates must be passed.", "EFP001001");
|
|
1114
1123
|
return;
|
|
1115
1124
|
}
|
|
1116
|
-
return
|
|
1125
|
+
return lt(e, t, r);
|
|
1117
1126
|
}
|
|
1118
1127
|
getGeoConfig() {
|
|
1119
1128
|
var e, t;
|
|
1120
|
-
let n = (e =
|
|
1129
|
+
let n = (e = ct()) == null || (e = e.properties) == null ? void 0 : e.config;
|
|
1121
1130
|
return n ? {
|
|
1122
1131
|
bearing: (t = n.bearing) == null ? 0 : t,
|
|
1123
1132
|
p0: n.p0,
|
|
@@ -1127,16 +1136,16 @@ var Sn = class extends c {
|
|
|
1127
1136
|
}
|
|
1128
1137
|
releaseResources() {
|
|
1129
1138
|
var e;
|
|
1130
|
-
|
|
1139
|
+
y.maplibreStore.dispose(), (e = this.root) == null || e.unmount(), super.releaseResources();
|
|
1131
1140
|
}
|
|
1132
1141
|
search(e) {
|
|
1133
|
-
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"),
|
|
1142
|
+
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), y.fuzzySearchEngineStore.loadEngine().then(() => (y.searchStore.selectSearch(e), y.uiState.fuzzySearchItems.map((e) => ({
|
|
1134
1143
|
item: K(e.item),
|
|
1135
1144
|
score: e.score
|
|
1136
1145
|
}))));
|
|
1137
1146
|
}
|
|
1138
1147
|
getFloors() {
|
|
1139
|
-
return
|
|
1148
|
+
return y.layerStore.floors.map((e) => ({
|
|
1140
1149
|
name: e.name,
|
|
1141
1150
|
shortName: e.shortName,
|
|
1142
1151
|
description: e.description,
|
|
@@ -1173,7 +1182,7 @@ var Sn = class extends c {
|
|
|
1173
1182
|
}
|
|
1174
1183
|
}
|
|
1175
1184
|
showPathway(e, t) {
|
|
1176
|
-
let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ?
|
|
1185
|
+
let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ? _t(t) : {
|
|
1177
1186
|
boothExternalIds: [],
|
|
1178
1187
|
exhibitorExternalIds: []
|
|
1179
1188
|
};
|
|
@@ -1185,48 +1194,48 @@ var Sn = class extends c {
|
|
|
1185
1194
|
}
|
|
1186
1195
|
showPathwayOnly(e, t) {
|
|
1187
1196
|
var n;
|
|
1188
|
-
this.activateFloor({ name: t }),
|
|
1189
|
-
let r =
|
|
1190
|
-
o && (
|
|
1197
|
+
this.activateFloor({ name: t }), y.layerStore.showPathWay(e), y.uiState.setPathwayOnlyMode(!0);
|
|
1198
|
+
let r = y.layerStore.findLayer(e), i = y.layerStore.findLayer(t), a = r != null && r.rect || r != null && r.viewbox ? r : i, o = (n = a == null ? void 0 : a.viewbox) == null ? a == null ? void 0 : a.rect : n;
|
|
1199
|
+
o && (y.uiState.moveToRect = o.clone());
|
|
1191
1200
|
}
|
|
1192
1201
|
hidePathways() {
|
|
1193
|
-
this.highlightBooths([]),
|
|
1202
|
+
this.highlightBooths([]), y.layerStore.hidePathways(), y.uiState.setPathwayOnlyMode(!1);
|
|
1194
1203
|
}
|
|
1195
1204
|
showSearch() {
|
|
1196
|
-
|
|
1205
|
+
y.selectSearch("");
|
|
1197
1206
|
}
|
|
1198
1207
|
changeLanguage(e) {
|
|
1199
1208
|
var t;
|
|
1200
1209
|
let n = e == null || (t = e.toLowerCase) == null ? void 0 : t.call(e);
|
|
1201
|
-
if (!
|
|
1202
|
-
$("changeLanguage", `Language "${e}" was not found. Available languages: ${
|
|
1210
|
+
if (!Te(n)) {
|
|
1211
|
+
$("changeLanguage", `Language "${e}" was not found. Available languages: ${Se().map((e) => e.id).join(",")}`, "EFP001300");
|
|
1203
1212
|
return;
|
|
1204
1213
|
}
|
|
1205
|
-
|
|
1214
|
+
Ce(n);
|
|
1206
1215
|
}
|
|
1207
1216
|
isGpsTrackingEnabled() {
|
|
1208
|
-
return
|
|
1217
|
+
return y.routeStore.gpsEnabled;
|
|
1209
1218
|
}
|
|
1210
1219
|
setGpsTrackingEnabled(e) {
|
|
1211
|
-
|
|
1220
|
+
y.routeStore.setGpsTrackingEnabled(e);
|
|
1212
1221
|
}
|
|
1213
1222
|
deselectCurrentPosition() {
|
|
1214
|
-
|
|
1223
|
+
y.routeStore.selectCurrentPosition(null, !1);
|
|
1215
1224
|
}
|
|
1216
1225
|
deselectRoute() {
|
|
1217
|
-
|
|
1226
|
+
y.routeStore.selectRoute(null), y.routeStore.setOnlyAccessible(!1);
|
|
1218
1227
|
}
|
|
1219
1228
|
reset() {
|
|
1220
|
-
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]),
|
|
1229
|
+
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), y.uiState.kioskData && y.resetCameraFn) {
|
|
1221
1230
|
var e;
|
|
1222
|
-
(e =
|
|
1231
|
+
(e = y.resetCameraFn) == null || e.call(y);
|
|
1223
1232
|
} else this.fitBounds();
|
|
1224
1233
|
}
|
|
1225
1234
|
selectAccessibleRoute(e) {
|
|
1226
|
-
|
|
1235
|
+
y.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
|
|
1227
1236
|
}
|
|
1228
1237
|
};
|
|
1229
|
-
function
|
|
1238
|
+
function wn(e = [], t, n) {
|
|
1230
1239
|
let r = /* @__PURE__ */ new Set();
|
|
1231
1240
|
for (let o of e) {
|
|
1232
1241
|
var i, a;
|
|
@@ -1242,14 +1251,14 @@ function Cn(e = [], t, n) {
|
|
|
1242
1251
|
return [...r];
|
|
1243
1252
|
}
|
|
1244
1253
|
function Z(e) {
|
|
1245
|
-
let t = typeof e == "string" ?
|
|
1254
|
+
let t = typeof e == "string" ? E(e) : y.routeStore.getNearestBooth(e);
|
|
1246
1255
|
return t == null ? null : t;
|
|
1247
1256
|
}
|
|
1248
1257
|
var Q = 0;
|
|
1249
1258
|
function $(e, t, n) {
|
|
1250
1259
|
let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://js-sdk.expofp.com/api/packages";
|
|
1251
|
-
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`),
|
|
1252
|
-
|
|
1260
|
+
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), y.fp.disableRuntimeAlerts) return;
|
|
1261
|
+
y.uiState.setGlobalErrorMessage({
|
|
1253
1262
|
title: r,
|
|
1254
1263
|
body: /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [
|
|
1255
1264
|
i,
|
|
@@ -1265,12 +1274,12 @@ function $(e, t, n) {
|
|
|
1265
1274
|
let o = 8e3;
|
|
1266
1275
|
Q = window.setTimeout(() => {
|
|
1267
1276
|
let e = async () => {
|
|
1268
|
-
|
|
1277
|
+
y.uiState.globalErrorMessages.length > 0 && (y.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
|
|
1269
1278
|
};
|
|
1270
1279
|
e();
|
|
1271
1280
|
}, o);
|
|
1272
1281
|
}
|
|
1273
|
-
var
|
|
1282
|
+
var Tn = class e {
|
|
1274
1283
|
get h() {
|
|
1275
1284
|
return Math.abs(this.y2 - this.y1);
|
|
1276
1285
|
}
|
|
@@ -1343,4 +1352,4 @@ var wn = class e {
|
|
|
1343
1352
|
}
|
|
1344
1353
|
};
|
|
1345
1354
|
//#endregion
|
|
1346
|
-
export {
|
|
1355
|
+
export { Cn as default };
|