@expofp/floorplan 3.13.0 → 3.13.2
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-BhFl-di8.js → Button-C5DLguTW.js} +6 -6
- package/dist/browser/{CookieConsent-sa6NrKxH.js → CookieConsent-CPXxoJkz.js} +8 -8
- package/dist/browser/{Debug-C9cxUup2.js → Debug-bxMz-HDF.js} +8 -8
- package/dist/browser/{Demo-Ddm9RP_A.js → Demo-CGCZqU_8.js} +10 -10
- package/dist/browser/{Free-rUcFT9c4.js → Free-I-EGiu3o.js} +10 -10
- package/dist/browser/{Gallery-DiQ8516Y.js → Gallery-Bce2fubu.js} +31 -25
- package/dist/browser/{GpsLoader-Dg3oPXFb.js → GpsLoader-CnPH3rxE.js} +12 -12
- package/dist/browser/{KioskStore-DXzJYJDf.js → KioskStore-K0Ps7wq6.js} +4 -4
- package/dist/browser/{MaplibreAdapter-CyrBeOGN.js → MaplibreAdapter-DKa1N9-7.js} +85 -57
- package/dist/browser/{ModalContainer-De7wWR5x.js → ModalContainer-BxCJTxBS.js} +11 -11
- package/dist/browser/{PermissionNotice-CZ2zOZpC.js → PermissionNotice-BS53dDaS.js} +7 -7
- package/dist/browser/{SetKioskMode-CADu-Nec.js → SetKioskMode-P2g_TnCr.js} +10 -10
- package/dist/browser/{ShowKiosk-DCb39wY6.js → ShowKiosk-Bz-7t-PL.js} +12 -12
- package/dist/browser/{TouchHand-BfZmlSSQ.js → TouchHand-Dm3c6gpk.js} +5 -5
- package/dist/browser/{ViewerMenuPanel-MrTdl0Lk.js → ViewerMenuPanel-COyljU8V.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-BbMMQOGn.js → add-debug-secret-listener-DQjjtobD.js} +1 -1
- package/dist/browser/{reset-all-settings-CSD5_eeL.js → adopt-global-settings-DIJsf94E.js} +12 -17
- package/dist/browser/{boolean-editor-CklOhr36.js → boolean-editor-D4Y66mgk.js} +46 -46
- package/dist/browser/{bootIntercom-CGiDjnZs.js → bootIntercom-DUPbX22l.js} +3 -3
- package/dist/browser/{booth-by-xy-ByPe7dOB.js → booth-by-xy-DKyMJwg9.js} +13 -13
- package/dist/browser/bundle.json +67 -70
- package/dist/browser/{classnames-Dg3Epqr5.js → classnames-CTiheKEO.js} +2 -2
- package/dist/browser/{client-BtIR_QJ0.js → client-B0g0Q0fu.js} +9 -9
- package/dist/browser/{components-Ba7imFfV.js → components-DUbHmBQ6.js} +60 -53
- package/dist/browser/{debug-overlay-Mgkh8CCK.js → debug-overlay-CKXL3Z9z.js} +470 -464
- package/dist/browser/{debug-ui-DLG8EKHO.js → debug-ui-D2GPuJSX.js} +7 -7
- package/dist/browser/{dist-B2eHvCOU.js → dist-BFVoy_zB.js} +7 -7
- package/dist/browser/{dist-ByAJEdRV.js → dist-CFY_dc-C.js} +5 -5
- package/dist/browser/{dist-Dd2UZ1cI.js → dist-CZH-D_bo.js} +66 -67
- package/dist/browser/{efp-debug-init-BCsVUzwy.js → efp-debug-init-pd2smy4A.js} +4 -4
- package/dist/browser/{enum-editor-DGQxevil.js → enum-editor-a07SOXXi.js} +5 -5
- package/dist/browser/{es5-cfKynydw.js → es5-jDwWZhmf.js} +2 -2
- package/dist/browser/{event-not-found-BJLLcNqO.js → event-not-found-CPqO_ew-.js} +1 -1
- package/dist/browser/{exports-BQHYfgvY.js → exports-8JcxTO7_.js} +567 -566
- package/dist/browser/{favicon-C56bzaeG.js → favicon-BhTDecsz.js} +1 -1
- package/dist/browser/{fetch-retry.umd-DYC2sEmH.js → fetch-retry.umd-BuEcG130.js} +2 -2
- package/dist/browser/{flex-8VuyKxuf.js → flex-FVc6l8VM.js} +17 -17
- package/dist/browser/{floorplan.loader-B9Jv3g5N.js → floorplan.loader-DM3BoMUa.js} +1372 -1298
- package/dist/browser/{floorplan.ready-Cnxr8xZd.js → floorplan.ready-DQAk0-bE.js} +294 -294
- package/dist/browser/{fuse-DgPaqPDU.js → fuse-hiNWVTid.js} +2 -2
- package/dist/browser/{i18n-DL3k5TYE.js → i18n-DmUQ2csh.js} +2399 -2412
- package/dist/browser/index.js +36 -36
- package/dist/browser/{index.module-DvMglRjg.js → index.module-Ce5K5GHH.js} +6 -6
- package/dist/browser/{integrateKiosk-DqfQtnQ5.js → integrateKiosk-DLY98yHT.js} +4 -4
- package/dist/browser/{is-webview-CYXkFxGI.js → is-webview-DYW7jMPo.js} +1 -1
- package/dist/browser/{jsx-runtime-Ddgd7eiz.js → jsx-runtime-Cn7VZCRr.js} +4 -4
- package/dist/browser/{lib-Ba7o5H8-.js → lib-DKxIjoGs.js} +155 -112
- package/dist/browser/{loadImage-sIGoQ_pR.js → loadImage-CFRF6nKm.js} +5 -5
- package/dist/browser/{logDeviceInfo-DlAlNCzD.js → logDeviceInfo-B2xD643p.js} +9 -9
- package/dist/browser/{main-BUG7EnSp.js → main-BE7HSdfx.js} +1 -1
- package/dist/browser/{mobx-CjGP1jW0.js → mobx-Dss6V0uv.js} +5 -5
- package/dist/browser/{optional-boolean-editor-Duqb7gc6.js → optional-boolean-editor-BDWvD6R3.js} +4 -4
- package/dist/browser/{optional-enum-editor-DsJC_Z9B.js → optional-enum-editor-DzJSD274.js} +5 -5
- package/dist/browser/{optional-string-editor-CDPA6AbE.js → optional-string-editor-DvQrsAvN.js} +5 -5
- package/dist/browser/{particles.min-Cw7MNnR7.js → particles.min-0GINFlmD.js} +2 -2
- package/dist/browser/{react-jeXnPF9E.js → react-CQIXbbli.js} +5 -5
- package/dist/browser/{react-dom-Du74Uwxl.js → react-dom-DB3HP1L3.js} +6 -6
- package/dist/browser/{rolldown-runtime-DE59zyqc.js → rolldown-runtime-CBbNE2KV.js} +1 -1
- package/dist/browser/select-DkvD6Ont.js +1367 -0
- package/dist/browser/{settings-CETkuvKR.js → settings-3RnELfMa.js} +3 -3
- package/dist/browser/{settings-item-BCaZImcD.js → settings-item-wgFS4pwq.js} +16 -16
- package/dist/browser/{store-Sol8yqmO.js → store-Bh1UUDBZ.js} +3955 -3943
- package/dist/browser/{string-editor-DkEYMW6l.js → string-editor-DIG3V4Iv.js} +5 -5
- package/dist/browser/{text-field-CPJjFaAn.js → text-field-Ce1nLpTL.js} +25 -25
- package/dist/browser/{theme-CN0bL8JF.js → theme-DE94e68B.js} +949 -946
- package/dist/browser/{ui-CLJ3PDlT.js → ui-DKrc1LYz.js} +11 -11
- package/dist/browser/{useRenderTarget-BbbTquxP.js → useRenderTarget-DwEjrRiD.js} +5 -5
- package/dist/esm/components/AutocompleteContainer.d.ts +1 -1
- package/dist/esm/components/Bookmarks.d.ts +1 -1
- package/dist/esm/components/Bookmarks.js +1 -1
- package/dist/esm/components/Booth/Booth.js +1 -1
- package/dist/esm/components/Category.d.ts +1 -1
- package/dist/esm/components/Debug.d.ts +1 -1
- package/dist/esm/components/Debug.js +1 -1
- package/dist/esm/components/ErrorBoundary.d.ts +1 -1
- package/dist/esm/components/ErrorBoundary.js +1 -1
- package/dist/esm/components/Event.js +1 -1
- package/dist/esm/components/Exhibitor.d.ts +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/Filter.d.ts +1 -1
- package/dist/esm/components/Filter.js +1 -1
- package/dist/esm/components/Gallery/GalleryBadges/GalleryBadges.js +1 -1
- package/dist/esm/components/Gallery/GalleryPreLoader.js +1 -1
- package/dist/esm/components/Kiosk/KioskStore.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/BoothDrawerBase.js +1 -1
- package/dist/esm/components/Map/drawing/config/BoothShape.js +1 -1
- package/dist/esm/components/Map/drawing/config/TextFitter.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.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.js +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
- package/dist/esm/components/Map/traffic/UpdateQueue.js +1 -1
- package/dist/esm/components/Map/traffic/useBuildRoute.js +1 -1
- package/dist/esm/components/Menu.d.ts +1 -1
- package/dist/esm/components/Menu.js +1 -1
- package/dist/esm/components/ModalContainer.d.ts +4 -4
- package/dist/esm/components/RebookingNotesContainer.d.ts +1 -1
- package/dist/esm/components/RebookingRadioGroupContainer.d.ts +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +1 -1
- package/dist/esm/components/Schedule.js +1 -1
- package/dist/esm/components/Search.d.ts +1 -1
- package/dist/esm/components/Search.js +1 -1
- package/dist/esm/components/Toast/ToastContainer.d.ts +1 -1
- package/dist/esm/components/TourPoints.d.ts +1 -1
- package/dist/esm/components/Tours.js +1 -1
- package/dist/esm/components/Visited.d.ts +1 -1
- package/dist/esm/components/WayfindingTemplate.js +1 -1
- package/dist/esm/components/Ws.d.ts +1 -1
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/renderer/HandlerRegistry.js +1 -1
- package/dist/esm/renderer/RendererService.js +1 -1
- package/dist/esm/services/URLFilterManager.js +1 -1
- package/dist/esm/store/BaseFilterStore.js +1 -1
- package/dist/esm/store/BookmarksStore.js +2 -2
- package/dist/esm/store/BoothStore.js +1 -1
- package/dist/esm/store/CategoryFilterStore.js +1 -1
- package/dist/esm/store/CategoryStore.d.ts +1 -1
- package/dist/esm/store/CategoryStore.js +1 -1
- package/dist/esm/store/EventStore.d.ts +2 -2
- package/dist/esm/store/EventStore.js +1 -1
- package/dist/esm/store/ExhibitorStore.d.ts +1 -1
- package/dist/esm/store/ExhibitorStore.js +1 -1
- package/dist/esm/store/FuzzySearchEngineStore.js +1 -1
- package/dist/esm/store/HeatmapStore.d.ts +1 -1
- package/dist/esm/store/HeatmapStore.js +1 -1
- package/dist/esm/store/IntercomStore.js +1 -1
- package/dist/esm/store/LayerStore.js +1 -1
- package/dist/esm/store/MaplibreStore.js +1 -1
- package/dist/esm/store/PoiTypeStore.js +1 -1
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RoutePlannerStore.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/SearchStore.d.ts +1 -1
- package/dist/esm/store/SearchStore.js +1 -1
- package/dist/esm/store/SessionsFilterStore.js +1 -1
- package/dist/esm/store/ShortcutRegistry.js +1 -1
- package/dist/esm/store/SpeakerFilterStore.js +1 -1
- package/dist/esm/store/SpeakerStore.d.ts +2 -2
- package/dist/esm/store/SpeakerStore.js +1 -1
- package/dist/esm/store/SubButtonRegistry.js +1 -1
- package/dist/esm/store/ToursStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +2 -2
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/providers/SearchShortcutProvider.js +1 -1
- package/dist/esm/store/providers/SessionsShortcutProvider.js +1 -1
- package/dist/esm/store/providers/SessionsSubButtonProvider.js +1 -1
- package/dist/esm/store/providers/SpeakerShortcutProvider.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsActions.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFactory.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFilters.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsState.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsStore.js +1 -1
- package/dist/esm/store/search-buttons/constants.d.ts +8 -8
- package/dist/esm/tools/expofpUrl.d.ts +2 -2
- package/dist/esm/tools/logger.js +1 -1
- package/dist/esm/tools/settings.js +1 -1
- package/dist/esm/ui/Autocomplete/Autocomplete.js +1 -1
- package/dist/esm/ui/EntityItem/EntityItem.js +1 -1
- package/dist/esm/ui/EventBadge/EventBadge.js +1 -1
- package/dist/esm/ui/Share/Share.js +1 -1
- package/dist/esm/utils/dimming.d.ts +1 -1
- package/dist/esm/utils/is-from-designer.d.ts +1 -1
- package/dist/esm/utils/silence-mobx-react-lite-warning.d.ts +1 -0
- package/dist/esm/utils/silence-mobx-react-lite-warning.js +1 -1
- package/package.json +17 -17
- package/dist/browser/prop-types-BYN2smyR.js +0 -57
- package/dist/browser/select-jZKJ9MVb.js +0 -1360
|
@@ -1,60 +1,60 @@
|
|
|
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.13.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.13.2" };
|
|
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] = "ad20803f-8516-43c3-b6b3-a6764db2ba17", e._sentryDebugIdIdentifier = "sentry-dbid-ad20803f-8516-43c3-b6b3-a6764db2ba17");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { t as
|
|
18
|
-
import { C as
|
|
19
|
-
import { n as
|
|
20
|
-
import { n as
|
|
21
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
22
|
-
function
|
|
23
|
-
let
|
|
24
|
-
if (!
|
|
25
|
-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-CBbNE2KV.js";
|
|
10
|
+
import { a as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./floorplan.loader-DM3BoMUa.js";
|
|
11
|
+
import { $ as c, At as l, C as u, Ct as d, Dt as f, Et as ee, G as te, H as ne, K as re, Mt as ie, Nt as p, Ot as ae, Pt as m, St as oe, Tt as se, U as ce, V as le, X as ue, _t as de, bt as fe, ct as pe, dt as me, f as he, ft as ge, gt as _e, ht as ve, jt as ye, kt as be, l as h, lt as g, mt as xe, n as Se, nt as Ce, o as we, r as Te, rt as Ee, st as De, v as Oe, vt as ke, wt as Ae, xt as je, y as _, yt as Me } from "./i18n-DmUQ2csh.js";
|
|
12
|
+
import { s as Ne } from "./efp-debug-init-pd2smy4A.js";
|
|
13
|
+
import { t as Pe } from "./react-CQIXbbli.js";
|
|
14
|
+
import { t as Fe } from "./jsx-runtime-Cn7VZCRr.js";
|
|
15
|
+
import { r as Ie } from "./loadImage-CFRF6nKm.js";
|
|
16
|
+
import { C as Le, D as Re, Q as ze, ht as v, i as Be, n as Ve, w as He } from "./exports-8JcxTO7_.js";
|
|
17
|
+
import { t as Ue } from "./client-B0g0Q0fu.js";
|
|
18
|
+
import { C as We, F as y, H as Ge, K as Ke, M as qe, P as Je, S as b, V as Ye, W as Xe, X as Ze, Z as Qe, at as $e, b as x, c as S, ct as et, dt as tt, ft as nt, g as rt, hn as C, it as w, lt as T, mn as it, ot as at, q as ot, qt as st, rn as E, s as D, sn as O, st as ct, x as lt, y as ut, z as k } from "./store-Bh1UUDBZ.js";
|
|
19
|
+
import { n as dt, t as ft } from "./integrateKiosk-DLY98yHT.js";
|
|
20
|
+
import { n as pt, t as mt } from "./components-DUbHmBQ6.js";
|
|
21
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.68.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
|
|
22
|
+
function ht(e = {}) {
|
|
23
|
+
let r = n.document, i = (r == null ? void 0 : r.head) || (r == null ? void 0 : r.body);
|
|
24
|
+
if (!i) {
|
|
25
|
+
a && v.error("[showReportDialog] Global document not defined");
|
|
26
26
|
return;
|
|
27
27
|
}
|
|
28
|
-
let
|
|
29
|
-
if (!
|
|
30
|
-
|
|
28
|
+
let o = He(), s = Le(), c = s == null ? void 0 : s.getDsn();
|
|
29
|
+
if (!c) {
|
|
30
|
+
a && v.error("[showReportDialog] DSN not configured");
|
|
31
31
|
return;
|
|
32
32
|
}
|
|
33
|
-
let
|
|
33
|
+
let l = {
|
|
34
34
|
...e,
|
|
35
35
|
user: {
|
|
36
|
-
...
|
|
36
|
+
...o.getUser(),
|
|
37
37
|
...e.user
|
|
38
38
|
},
|
|
39
|
-
eventId: e.eventId ||
|
|
40
|
-
},
|
|
41
|
-
|
|
42
|
-
let { onLoad:
|
|
43
|
-
if (
|
|
39
|
+
eventId: e.eventId || Be()
|
|
40
|
+
}, u = n.document.createElement("script");
|
|
41
|
+
u.async = !0, u.crossOrigin = "anonymous", u.src = t(c, l);
|
|
42
|
+
let { onLoad: d, onClose: f } = l;
|
|
43
|
+
if (d && (u.onload = d), f) {
|
|
44
44
|
let e = (t) => {
|
|
45
45
|
if (t.data === "__sentry_reportdialog_closed__") try {
|
|
46
|
-
|
|
46
|
+
f();
|
|
47
47
|
} finally {
|
|
48
|
-
|
|
48
|
+
n.removeEventListener("message", e);
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
|
-
|
|
51
|
+
n.addEventListener("message", e);
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
i.appendChild(u);
|
|
54
54
|
}
|
|
55
55
|
//#endregion
|
|
56
|
-
//#region ../../node_modules/.pnpm/@sentry+react@10.
|
|
57
|
-
var
|
|
56
|
+
//#region ../../node_modules/.pnpm/@sentry+react@10.68.0_react@19.2.8/node_modules/@sentry/react/build/esm/error.js
|
|
57
|
+
var A = /* @__PURE__ */ e(Pe());
|
|
58
58
|
function gt(e) {
|
|
59
59
|
let t = e.match(/^([^.]+)/);
|
|
60
60
|
return t !== null && parseInt(t[0]) >= 17;
|
|
@@ -70,24 +70,24 @@ function _t(e, t) {
|
|
|
70
70
|
r(e, t);
|
|
71
71
|
}
|
|
72
72
|
function vt(e, { componentStack: t }, n) {
|
|
73
|
-
if (gt(
|
|
73
|
+
if (gt(A.version) && ze(e) && t) {
|
|
74
74
|
let n = Error(e.message);
|
|
75
75
|
n.name = `React ErrorBoundary ${e.name}`, n.stack = t, _t(e, n);
|
|
76
76
|
}
|
|
77
|
-
return
|
|
77
|
+
return Ve(e, n);
|
|
78
78
|
}
|
|
79
79
|
//#endregion
|
|
80
|
-
//#region ../../node_modules/.pnpm/@sentry+react@10.
|
|
81
|
-
var
|
|
80
|
+
//#region ../../node_modules/.pnpm/@sentry+react@10.68.0_react@19.2.8/node_modules/@sentry/react/build/esm/debug-build.js
|
|
81
|
+
var yt = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, j = {
|
|
82
82
|
componentStack: null,
|
|
83
83
|
error: null,
|
|
84
84
|
eventId: null
|
|
85
|
-
},
|
|
85
|
+
}, bt = class extends A.Component {
|
|
86
86
|
constructor(e) {
|
|
87
|
-
super(e), this.state =
|
|
88
|
-
let t =
|
|
87
|
+
super(e), this.state = j, this._openFallbackReportDialog = !0;
|
|
88
|
+
let t = Le();
|
|
89
89
|
t && e.showDialog && (this._openFallbackReportDialog = !1, this._cleanupHook = t.on("afterSendEvent", (t) => {
|
|
90
|
-
!t.type && this._lastEventId && t.event_id === this._lastEventId &&
|
|
90
|
+
!t.type && this._lastEventId && t.event_id === this._lastEventId && ht({
|
|
91
91
|
...e.dialogOptions,
|
|
92
92
|
eventId: this._lastEventId
|
|
93
93
|
});
|
|
@@ -95,13 +95,13 @@ var M = {
|
|
|
95
95
|
}
|
|
96
96
|
componentDidCatch(e, t) {
|
|
97
97
|
let { componentStack: n } = t, { beforeCapture: r, onError: i, showDialog: a, dialogOptions: o } = this.props;
|
|
98
|
-
|
|
98
|
+
Re((s) => {
|
|
99
99
|
r && r(s, e, n);
|
|
100
100
|
let c = vt(e, t, { mechanism: {
|
|
101
101
|
handled: this.props.handled == null ? !!this.props.fallback : this.props.handled,
|
|
102
102
|
type: "auto.function.react.error_boundary"
|
|
103
103
|
} });
|
|
104
|
-
i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog &&
|
|
104
|
+
i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog && ht({
|
|
105
105
|
...o,
|
|
106
106
|
eventId: c
|
|
107
107
|
})), this.setState({
|
|
@@ -117,37 +117,37 @@ var M = {
|
|
|
117
117
|
}
|
|
118
118
|
componentWillUnmount() {
|
|
119
119
|
let { error: e, componentStack: t, eventId: n } = this.state, { onUnmount: r } = this.props;
|
|
120
|
-
r && (this.state ===
|
|
120
|
+
r && (this.state === j ? r(null, null, null) : r(e, t, n)), this._cleanupHook && (this._cleanupHook(), this._cleanupHook = void 0);
|
|
121
121
|
}
|
|
122
122
|
resetErrorBoundary() {
|
|
123
123
|
let { onReset: e } = this.props, { error: t, componentStack: n, eventId: r } = this.state;
|
|
124
|
-
e && e(t, n, r), this.setState(
|
|
124
|
+
e && e(t, n, r), this.setState(j);
|
|
125
125
|
}
|
|
126
126
|
render() {
|
|
127
127
|
let { fallback: e, children: t } = this.props, n = this.state;
|
|
128
128
|
if (n.componentStack === null) return typeof t == "function" ? t() : t;
|
|
129
|
-
let r = typeof e == "function" ?
|
|
129
|
+
let r = typeof e == "function" ? A.createElement(e, {
|
|
130
130
|
error: n.error,
|
|
131
131
|
componentStack: n.componentStack,
|
|
132
132
|
resetError: () => this.resetErrorBoundary(),
|
|
133
133
|
eventId: n.eventId
|
|
134
134
|
}) : e;
|
|
135
|
-
return
|
|
135
|
+
return A.isValidElement(r) ? r : (e && yt && v.warn("fallback did not produce a valid ReactElement"), null);
|
|
136
136
|
}
|
|
137
|
-
},
|
|
138
|
-
function
|
|
137
|
+
}, xt = /* @__PURE__ */ e(Ne(), 1), St = Ue(), Ct = nt();
|
|
138
|
+
function wt(e) {
|
|
139
139
|
var t;
|
|
140
|
-
let n = new URLSearchParams(window.location.search).get(
|
|
141
|
-
return i == null ? h &&
|
|
140
|
+
let n = new URLSearchParams(window.location.search).get(le), r = h ? window.localStorage.getItem(le) : null, i = n == null ? r : n;
|
|
141
|
+
return i == null ? h && Qe() != null || Object.keys((t = e.kiosk) == null ? {} : t).length > 0 : i === "1";
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function Tt() {
|
|
144
144
|
let e = window.location.hostname.split(".");
|
|
145
145
|
return e.length >= 3 && e[e.length - 2] === "expofp" && e[e.length - 1] === "com";
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
return
|
|
147
|
+
function Et() {
|
|
148
|
+
return Tt() ? window.location.hostname.split(".")[0] : "main";
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function Dt(e) {
|
|
151
151
|
if ((e == null ? void 0 : e.free) === !0) return "Free";
|
|
152
152
|
let t = e == null ? void 0 : e.trialExpiresAt;
|
|
153
153
|
if (t) {
|
|
@@ -156,25 +156,25 @@ function Et(e) {
|
|
|
156
156
|
}
|
|
157
157
|
return "Active";
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Ot() {
|
|
160
160
|
return !1;
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function kt(e) {
|
|
163
163
|
return e;
|
|
164
164
|
}
|
|
165
|
-
function
|
|
166
|
-
if (
|
|
167
|
-
let t =
|
|
168
|
-
subDomain:
|
|
169
|
-
subscriptionStatus:
|
|
165
|
+
function At(e) {
|
|
166
|
+
if (Ot() || !Tt() || wt(e) || !window.navigator.onLine) return null;
|
|
167
|
+
let t = kt({
|
|
168
|
+
subDomain: Et(),
|
|
169
|
+
subscriptionStatus: Dt(e)
|
|
170
170
|
});
|
|
171
171
|
return t.subDomain !== "demo" && t.subscriptionStatus !== "Free" && t.subscriptionStatus !== "Trial Expired" ? null : t;
|
|
172
172
|
}
|
|
173
173
|
//#endregion
|
|
174
174
|
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/mini/schemas.js
|
|
175
|
-
var
|
|
175
|
+
var M = /*@__PURE__*/ p("ZodMiniType", (e, t) => {
|
|
176
176
|
if (!e._zod) throw Error("Uninitialized schema in ZodMiniType.");
|
|
177
|
-
|
|
177
|
+
se.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => ee(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => ae(e, t, n), e.parseAsync = async (t, n) => f(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => be(e, t, n), e.check = (...n) => {
|
|
178
178
|
var r;
|
|
179
179
|
return e.clone({
|
|
180
180
|
...t,
|
|
@@ -184,91 +184,91 @@ var N = /*@__PURE__*/ f("ZodMiniType", (e, t) => {
|
|
|
184
184
|
onattach: []
|
|
185
185
|
} } : e)]
|
|
186
186
|
}, { parent: !0 });
|
|
187
|
-
}, e.with = e.check, e.clone = (t,
|
|
188
|
-
}),
|
|
189
|
-
|
|
187
|
+
}, e.with = e.check, e.clone = (t, n) => l(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.apply = (t) => t(e);
|
|
188
|
+
}), jt = /*@__PURE__*/ p("ZodMiniString", (e, t) => {
|
|
189
|
+
Ae.init(e, t), M.init(e, t);
|
|
190
190
|
});
|
|
191
191
|
// @__NO_SIDE_EFFECTS__
|
|
192
|
-
function
|
|
193
|
-
return
|
|
192
|
+
function N(e) {
|
|
193
|
+
return de(jt, e);
|
|
194
194
|
}
|
|
195
|
-
var
|
|
196
|
-
|
|
195
|
+
var Mt = /*@__PURE__*/ p("ZodMiniNumber", (e, t) => {
|
|
196
|
+
je.init(e, t), M.init(e, t);
|
|
197
197
|
});
|
|
198
198
|
// @__NO_SIDE_EFFECTS__
|
|
199
|
-
function
|
|
200
|
-
return
|
|
199
|
+
function P(e) {
|
|
200
|
+
return ve(Mt, e);
|
|
201
201
|
}
|
|
202
|
-
var
|
|
203
|
-
|
|
202
|
+
var Nt = /*@__PURE__*/ p("ZodMiniNever", (e, t) => {
|
|
203
|
+
fe.init(e, t), M.init(e, t);
|
|
204
204
|
});
|
|
205
205
|
// @__NO_SIDE_EFFECTS__
|
|
206
|
-
function
|
|
207
|
-
return
|
|
206
|
+
function Pt(e) {
|
|
207
|
+
return xe(Nt, e);
|
|
208
208
|
}
|
|
209
|
-
var
|
|
210
|
-
|
|
209
|
+
var Ft = /*@__PURE__*/ p("ZodMiniArray", (e, t) => {
|
|
210
|
+
ke.init(e, t), M.init(e, t);
|
|
211
211
|
});
|
|
212
212
|
// @__NO_SIDE_EFFECTS__
|
|
213
|
-
function
|
|
214
|
-
return new
|
|
213
|
+
function F(e, t) {
|
|
214
|
+
return new Ft({
|
|
215
215
|
type: "array",
|
|
216
216
|
element: e,
|
|
217
|
-
...
|
|
217
|
+
...ie(t)
|
|
218
218
|
});
|
|
219
219
|
}
|
|
220
|
-
var
|
|
221
|
-
|
|
220
|
+
var It = /*@__PURE__*/ p("ZodMiniObject", (e, t) => {
|
|
221
|
+
oe.init(e, t), M.init(e, t), ye(e, "shape", () => t.shape);
|
|
222
222
|
});
|
|
223
223
|
// @__NO_SIDE_EFFECTS__
|
|
224
|
-
function
|
|
225
|
-
return new
|
|
224
|
+
function I(e, t) {
|
|
225
|
+
return new It({
|
|
226
226
|
type: "object",
|
|
227
227
|
shape: e,
|
|
228
|
-
catchall: /* @__PURE__ */
|
|
229
|
-
...
|
|
228
|
+
catchall: /* @__PURE__ */ Pt(),
|
|
229
|
+
...ie(t)
|
|
230
230
|
});
|
|
231
231
|
}
|
|
232
|
-
var
|
|
233
|
-
|
|
232
|
+
var Lt = /*@__PURE__*/ p("ZodMiniOptional", (e, t) => {
|
|
233
|
+
d.init(e, t), M.init(e, t);
|
|
234
234
|
});
|
|
235
235
|
// @__NO_SIDE_EFFECTS__
|
|
236
|
-
function
|
|
237
|
-
return new
|
|
236
|
+
function L(e) {
|
|
237
|
+
return new Lt({
|
|
238
238
|
type: "optional",
|
|
239
239
|
innerType: e
|
|
240
240
|
});
|
|
241
241
|
}
|
|
242
|
-
var
|
|
243
|
-
|
|
242
|
+
var Rt = /*@__PURE__*/ p("ZodMiniCustom", (e, t) => {
|
|
243
|
+
Me.init(e, t), M.init(e, t);
|
|
244
244
|
});
|
|
245
245
|
// @__NO_SIDE_EFFECTS__
|
|
246
|
-
function
|
|
247
|
-
return
|
|
246
|
+
function R(e, t = {}) {
|
|
247
|
+
return _e(Rt, e, t);
|
|
248
248
|
}
|
|
249
249
|
//#endregion
|
|
250
250
|
//#region src/schemas/sdk.schemas.ts
|
|
251
|
-
var
|
|
252
|
-
x: /* @__PURE__ */
|
|
253
|
-
y: /* @__PURE__ */
|
|
254
|
-
}),
|
|
255
|
-
leftTop:
|
|
256
|
-
rightBottom:
|
|
257
|
-
}),
|
|
258
|
-
name: /* @__PURE__ */
|
|
259
|
-
externalId: /* @__PURE__ */
|
|
260
|
-
})).check(/* @__PURE__ */
|
|
261
|
-
booths: /* @__PURE__ */
|
|
262
|
-
exhibitors: /* @__PURE__ */
|
|
263
|
-
})).check(/* @__PURE__ */
|
|
251
|
+
var z = /* @__PURE__ */ I({
|
|
252
|
+
x: /* @__PURE__ */ P(),
|
|
253
|
+
y: /* @__PURE__ */ P()
|
|
254
|
+
}), zt = /* @__PURE__ */ I({
|
|
255
|
+
leftTop: z,
|
|
256
|
+
rightBottom: z
|
|
257
|
+
}), Bt = (/* @__PURE__ */ I({
|
|
258
|
+
name: /* @__PURE__ */ L(/* @__PURE__ */ N()),
|
|
259
|
+
externalId: /* @__PURE__ */ L(/* @__PURE__ */ N())
|
|
260
|
+
})).check(/* @__PURE__ */ R((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")), B = (/* @__PURE__ */ I({
|
|
261
|
+
booths: /* @__PURE__ */ L(/* @__PURE__ */ F(Bt)),
|
|
262
|
+
exhibitors: /* @__PURE__ */ L(/* @__PURE__ */ F(Bt))
|
|
263
|
+
})).check(/* @__PURE__ */ R((e) => {
|
|
264
264
|
var t, n;
|
|
265
265
|
return !!((t = e.booths) != null && t.length || (n = e.exhibitors) != null && n.length);
|
|
266
|
-
}, "Selector must contain booths or exhibitors")), Vt = /* @__PURE__ */
|
|
266
|
+
}, "Selector must contain booths or exhibitors")), Vt = /* @__PURE__ */ L(/* @__PURE__ */ I({ padding: /* @__PURE__ */ L(/* @__PURE__ */ P()) }));
|
|
267
267
|
//#endregion
|
|
268
268
|
//#region src/components/Kiosk/recoverKioskFromUrlPrams.ts
|
|
269
269
|
function Ht(e) {
|
|
270
|
-
let t =
|
|
271
|
-
Object.values(t).length && (
|
|
270
|
+
let t = rt(e);
|
|
271
|
+
Object.values(t).length && (ft(t, !1), dt(t));
|
|
272
272
|
}
|
|
273
273
|
//#endregion
|
|
274
274
|
//#region src/utils/camera-map-settings.ts
|
|
@@ -306,41 +306,41 @@ function Kt(e, t) {
|
|
|
306
306
|
//#region src/services/url-dispatch.ts
|
|
307
307
|
var H = !1;
|
|
308
308
|
function qt() {
|
|
309
|
-
rn(
|
|
310
|
-
let e =
|
|
309
|
+
rn(m()), u(() => D.layerStore.layersLoaded, () => {
|
|
310
|
+
let e = m().camera;
|
|
311
311
|
Object.keys(e).length && G(V(e));
|
|
312
|
-
let t =
|
|
313
|
-
Object.keys(t).length &&
|
|
312
|
+
let t = m().visibility;
|
|
313
|
+
Object.keys(t).length && S.setVisibility(t);
|
|
314
314
|
});
|
|
315
315
|
}
|
|
316
316
|
function Jt(e) {
|
|
317
|
-
|
|
317
|
+
ct({
|
|
318
318
|
offHistory: e,
|
|
319
319
|
onNavigate: W
|
|
320
|
-
}), $t(), U(),
|
|
321
|
-
|
|
320
|
+
}), $t(), U(), u(() => D.layerStore.layersLoaded, () => {
|
|
321
|
+
D.urlFilterManager && !D.urlFilterManager.isInitialized && D.urlFilterManager.initialize(), W(), he(dn), he(ln), S.viewerMode && (S.menu = !0);
|
|
322
322
|
});
|
|
323
323
|
}
|
|
324
324
|
function Yt(e = "") {
|
|
325
|
-
T("?" + g(e.toString())),
|
|
325
|
+
T("?" + g(e.toString())), D.layerStore.layersLoaded ? Xt(e) : (U(), u(() => D.layerStore.layersLoaded, () => Xt(e)));
|
|
326
326
|
}
|
|
327
327
|
function Xt(e) {
|
|
328
328
|
var t;
|
|
329
329
|
let n = "?" + g(e), r = an(n);
|
|
330
|
-
rn(r), r.consent &&
|
|
331
|
-
let i = [...(t = r.intents) == null ? [] : t, ...
|
|
332
|
-
i.length &&
|
|
330
|
+
rn(r), r.consent && ot(r.consent), r.camera && Object.keys(r.camera).length && G(V(r.camera)), r.visibility && Object.keys(r.visibility).length && S.setVisibility(r.visibility), $t(), W();
|
|
331
|
+
let i = [...(t = r.intents) == null ? [] : t, ...Ce(n).intents];
|
|
332
|
+
i.length && o(D.fp, i);
|
|
333
333
|
}
|
|
334
334
|
function U() {
|
|
335
335
|
let e = w();
|
|
336
|
-
return
|
|
336
|
+
return pt(e.length > 1 ? g(e.substring(1)) : "");
|
|
337
337
|
}
|
|
338
338
|
function W() {
|
|
339
339
|
H = !0;
|
|
340
340
|
try {
|
|
341
341
|
let e = new URLSearchParams(g(window.location.search));
|
|
342
342
|
Ht(e);
|
|
343
|
-
let { primary: t, oneShots: n } =
|
|
343
|
+
let { primary: t, oneShots: n } = De(w()), r = n.find((e) => e.type === "camera");
|
|
344
344
|
if (r) {
|
|
345
345
|
let e = r.roll;
|
|
346
346
|
G({
|
|
@@ -348,7 +348,7 @@ function W() {
|
|
|
348
348
|
roll: e
|
|
349
349
|
});
|
|
350
350
|
} else new Set(e.keys()).size || fn();
|
|
351
|
-
let i = t.type === "select" && (!t.slug || /^t=[^&]*$/.test(t.slug)) && (
|
|
351
|
+
let i = t.type === "select" && (!t.slug || /^t=[^&]*$/.test(t.slug)) && (S.heatmap || S.heatmapYah);
|
|
352
352
|
!U() && !i && Zt(t);
|
|
353
353
|
} finally {
|
|
354
354
|
H = !1;
|
|
@@ -356,10 +356,10 @@ function W() {
|
|
|
356
356
|
ln(), dn();
|
|
357
357
|
}
|
|
358
358
|
function Zt(e) {
|
|
359
|
-
let t =
|
|
359
|
+
let t = D.fp;
|
|
360
360
|
switch (e.type) {
|
|
361
361
|
case "kiosk":
|
|
362
|
-
e.enabled === !0 ?
|
|
362
|
+
e.enabled === !0 ? S.kiosk = !0 : e.enabled === !1 && (S.kiosk = !1, S.resetUIScale());
|
|
363
363
|
return;
|
|
364
364
|
case "list":
|
|
365
365
|
t.showList(e.list);
|
|
@@ -376,16 +376,16 @@ function Zt(e) {
|
|
|
376
376
|
return;
|
|
377
377
|
case "route":
|
|
378
378
|
var n, r;
|
|
379
|
-
|
|
379
|
+
D.routeStore.setOnlyAccessible(e.accessible), D.routeStore.selectRoute(lt((n = e.from) == null ? "" : n, (r = e.to) == null ? "" : r, e.waypoints)), D.uiState.setIsMultiPointRoute(e.waypoints.length > 0), e.title && D.uiState.setRouteTitle(e.title);
|
|
380
380
|
return;
|
|
381
381
|
case "language":
|
|
382
|
-
|
|
382
|
+
Te(e.langId) && we(e.langId);
|
|
383
383
|
return;
|
|
384
384
|
case "printPdf":
|
|
385
|
-
|
|
385
|
+
D.uiState.printingPdf = !0;
|
|
386
386
|
return;
|
|
387
387
|
case "visibility":
|
|
388
|
-
|
|
388
|
+
D.uiState.setVisibility(e.hidden.reduce((e, t) => ({
|
|
389
389
|
...e,
|
|
390
390
|
[t]: !1
|
|
391
391
|
}), {}));
|
|
@@ -400,7 +400,7 @@ function Zt(e) {
|
|
|
400
400
|
setTimeout(() => t.selectExhibitor(e.values), 250);
|
|
401
401
|
return;
|
|
402
402
|
case "ownedByFilters":
|
|
403
|
-
|
|
403
|
+
Ie.log("Skipping filter parameters in dispatchFromUrl (owned by URLFilterManager)");
|
|
404
404
|
return;
|
|
405
405
|
case "ownedByConfig": return;
|
|
406
406
|
case "select":
|
|
@@ -411,27 +411,27 @@ function Zt(e) {
|
|
|
411
411
|
function Qt(e) {
|
|
412
412
|
let { pathwayId: t, boothIds: n, exhibitorIds: r, tourId: i } = e;
|
|
413
413
|
if (i) {
|
|
414
|
-
let e =
|
|
414
|
+
let e = D.toursStore.getTourById(i);
|
|
415
415
|
e && _(() => {
|
|
416
416
|
var t;
|
|
417
|
-
|
|
417
|
+
D.uiState.setTourTitle(e.name), D.uiState.setTourDescription((t = e.description) == null ? "" : t), D.uiState.setIsMultiPointTour(!0), D.uiState.setMultiPointTourList(e.id);
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
|
-
let a =
|
|
420
|
+
let a = D.boothStore.booths.filter((e) => n.includes(e.externalId)), o = D.exhibitorStore.exhibitors.filter((e) => r.includes(e.externalId)).flatMap((e) => e.booths), s = [...a, ...o];
|
|
421
421
|
if (it()) {
|
|
422
422
|
let e = Gt(s.map((e) => e.layer.name));
|
|
423
|
-
e &&
|
|
423
|
+
e && D.fp.activateFloor({ name: e });
|
|
424
424
|
}
|
|
425
|
-
(n.length > 0 || r.length > 0) &&
|
|
426
|
-
|
|
425
|
+
(n.length > 0 || r.length > 0) && D.fp.highlightEntities([...n, ...r]), D.layerStore.showPathWay(t), s.length > 0 && _(() => {
|
|
426
|
+
D.uiState.moveToRect = O.fromUnion(...s.map((e) => e.rect).filter(Boolean)), D.uiState.rollReset = !0;
|
|
427
427
|
});
|
|
428
428
|
}
|
|
429
429
|
function $t() {
|
|
430
|
-
let e = w(), { oneShots: t } =
|
|
430
|
+
let e = w(), { oneShots: t } = De(e);
|
|
431
431
|
for (let e of t) en(e);
|
|
432
432
|
e.startsWith("?preview=") && T("?"), w().includes("copy_exh") && T("?");
|
|
433
|
-
let n =
|
|
434
|
-
n !== null && T("?" + n),
|
|
433
|
+
let n = Ye(w());
|
|
434
|
+
n !== null && T("?" + n), S.previewExhibitor && T("?" + S.previewExhibitor.slug), nn();
|
|
435
435
|
}
|
|
436
436
|
function en(e) {
|
|
437
437
|
switch (e.type) {
|
|
@@ -439,71 +439,71 @@ function en(e) {
|
|
|
439
439
|
tn(e.yah);
|
|
440
440
|
return;
|
|
441
441
|
case "blueDot": {
|
|
442
|
-
var
|
|
443
|
-
let
|
|
444
|
-
|
|
442
|
+
var t, n;
|
|
443
|
+
let r = new ut(e.x, e.y, (t = D.layerStore.findLayer((n = e.layer) == null ? "" : n)) == null ? void 0 : t.name, void 0, e.lat, e.lng);
|
|
444
|
+
u(() => D.layerStore.layersLoaded, () => D.routeStore.selectCurrentPosition(r, !0, 1));
|
|
445
445
|
return;
|
|
446
446
|
}
|
|
447
447
|
case "viewerMode":
|
|
448
|
-
h && (e.enabled ? localStorage.setItem(
|
|
448
|
+
h && (e.enabled ? localStorage.setItem(c, "true") : (localStorage.removeItem(c), localStorage.removeItem(te)));
|
|
449
449
|
return;
|
|
450
450
|
case "previewMode":
|
|
451
|
-
h && (e.enabled ? localStorage.setItem(
|
|
451
|
+
h && (e.enabled ? localStorage.setItem(ue, "true") : (localStorage.removeItem(ue), localStorage.removeItem(ce)));
|
|
452
452
|
return;
|
|
453
453
|
case "uiScale":
|
|
454
|
-
e.scale === null ?
|
|
454
|
+
e.scale === null ? Ie.warn(`Invalid ui-scale parameter: ${e.raw}. Must be a number between 0.8 and 1.4.`) : D.uiState.setUIScale(e.scale, !0);
|
|
455
455
|
return;
|
|
456
456
|
case "resetUiScale":
|
|
457
|
-
|
|
457
|
+
D.uiState.resetUIScale();
|
|
458
458
|
return;
|
|
459
459
|
case "legacyBookmarks": {
|
|
460
|
-
let t = e.appendExhibitorId === null ? void 0 :
|
|
460
|
+
let t = e.appendExhibitorId === null ? void 0 : D.exhibitorStore.exhibitorById.get(e.appendExhibitorId);
|
|
461
461
|
T(t ? "?" + t.slug : "?bookmarks");
|
|
462
462
|
return;
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
466
|
function tn(e) {
|
|
467
|
-
at(), e ? (
|
|
467
|
+
at(), e ? (S.heatmapYah = !0, S.monochrome = !0, S.hideLogoInBooth = !0, S.hideHeaderLogo = !0, S.disableBookmarked = !0) : S.heatmap = !0;
|
|
468
468
|
}
|
|
469
469
|
function nn() {
|
|
470
470
|
let e = Kt(w(), (e) => {
|
|
471
|
-
let t =
|
|
471
|
+
let t = D.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
|
|
472
472
|
return t == null ? void 0 : t.name;
|
|
473
473
|
});
|
|
474
474
|
e !== null && T(e);
|
|
475
475
|
}
|
|
476
476
|
function rn(e) {
|
|
477
|
-
e.noOverlay !== void 0 && (
|
|
477
|
+
e.noOverlay !== void 0 && (S.hideOverlay = e.noOverlay), e.monochrome && (S.monochrome = !0), e.hideHeaderLogo && (S.hideHeaderLogo = !0), e.hideLogoInBooth && (S.hideLogoInBooth = !0), e.disableFeatured && D.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (S.disableBookmarked = !0), e.disableGps && D.routeStore.setGpsTrackingEnabled(!1), e.heatmap && r(e.heatmap) && tn(e.heatmap.variant === "yah");
|
|
478
478
|
}
|
|
479
479
|
function an(e) {
|
|
480
|
-
return
|
|
480
|
+
return Ee(me, e).value;
|
|
481
481
|
}
|
|
482
482
|
var on = null, sn = null, cn = null;
|
|
483
483
|
function ln() {
|
|
484
|
-
let { selection: e, exhibitor: t, booth: n, eventItem: r } = un(), i =
|
|
484
|
+
let { selection: e, exhibitor: t, booth: n, eventItem: r } = un(), i = D.urlFilterManager.filterSearch();
|
|
485
485
|
if (H) return;
|
|
486
|
-
let a =
|
|
487
|
-
w() !== a && (t !== on || n !== sn || r !== cn ?
|
|
486
|
+
let a = pe(e) || i;
|
|
487
|
+
w() !== a && (t !== on || n !== sn || r !== cn ? et(a) : T(a), on = t, sn = n, cn = r);
|
|
488
488
|
}
|
|
489
489
|
function un() {
|
|
490
|
-
let e =
|
|
490
|
+
let e = S.selectedExhibitor, t = S.selectedBooth, n = S.selectedEventItem, r = S.selectedRoute, i = S.selectedSpeaker, a = S.setKioskModeEnabled, o = S.list, s;
|
|
491
491
|
if (o.type === "route-planner" && !e && !t && !n) {
|
|
492
492
|
var c;
|
|
493
|
-
let e =
|
|
493
|
+
let e = D.routePlannerStore;
|
|
494
494
|
s = {
|
|
495
495
|
type: "planner",
|
|
496
496
|
fromBookmarks: e.source === "bookmarks",
|
|
497
497
|
items: e.items.map((e) => e.entity.slug).filter(Boolean),
|
|
498
498
|
from: ((c = e.startPoint) == null ? void 0 : c.slug) || void 0
|
|
499
499
|
};
|
|
500
|
-
} else if (r && !
|
|
500
|
+
} else if (r && !S.isMultiPointRoute) {
|
|
501
501
|
var l;
|
|
502
502
|
s = {
|
|
503
503
|
type: "route",
|
|
504
|
-
to: r.to instanceof
|
|
505
|
-
from: r.from instanceof
|
|
506
|
-
accessible:
|
|
504
|
+
to: r.to instanceof st ? r.to.slug : void 0,
|
|
505
|
+
from: r.from instanceof st ? r.from.slug : void 0,
|
|
506
|
+
accessible: D.routeStore.onlyAccessible,
|
|
507
507
|
waypoints: (l = r.waypoints) == null ? void 0 : l.map((e) => e.slug)
|
|
508
508
|
};
|
|
509
509
|
} else if (e) s = {
|
|
@@ -540,7 +540,7 @@ function un() {
|
|
|
540
540
|
var u, d;
|
|
541
541
|
s = {
|
|
542
542
|
type: "slug",
|
|
543
|
-
slug: (u = (d =
|
|
543
|
+
slug: (u = (d = S.selectedCategory) == null ? void 0 : d.slug) == null ? "" : u
|
|
544
544
|
};
|
|
545
545
|
break;
|
|
546
546
|
case "search":
|
|
@@ -572,14 +572,14 @@ function un() {
|
|
|
572
572
|
};
|
|
573
573
|
}
|
|
574
574
|
function dn() {
|
|
575
|
-
let e =
|
|
576
|
-
e ? r = e.name : t ? r = t.name : n ? r = n.name :
|
|
575
|
+
let e = S.selectedExhibitor, t = S.selectedEventItem, n = S.selectedSpeaker, r = "";
|
|
576
|
+
e ? r = e.name : t ? r = t.name : n ? r = n.name : S.list.type === "search" && S.list.text ? r = "`" + (S.list.text || "") + "`" : S.list.type === "multi-point-tour" && S.tourTitle && (r = S.tourTitle), r.length && (r += " – "), r += E.title, E.subtitle && (r += " – " + E.subtitle), r += " – Expo Floor Plan by ExpoFP", document.title = r;
|
|
577
577
|
}
|
|
578
578
|
function G(e) {
|
|
579
579
|
try {
|
|
580
|
-
if (
|
|
581
|
-
let t =
|
|
582
|
-
t &&
|
|
580
|
+
if (S.setMapSettings(e), e.z) {
|
|
581
|
+
let t = D.layerStore.layers.find((t) => t.name === e.z);
|
|
582
|
+
t && D.layerStore.updateVisibility(t, !0);
|
|
583
583
|
}
|
|
584
584
|
} catch (e) {
|
|
585
585
|
console.error("Failed to process or save map settings.", e);
|
|
@@ -587,7 +587,7 @@ function G(e) {
|
|
|
587
587
|
}
|
|
588
588
|
function fn() {
|
|
589
589
|
try {
|
|
590
|
-
let e = sessionStorage.getItem(
|
|
590
|
+
let e = sessionStorage.getItem(re);
|
|
591
591
|
e && G(JSON.parse(e));
|
|
592
592
|
} catch (e) {
|
|
593
593
|
console.error("Failed to process or save map settings.", e);
|
|
@@ -655,7 +655,7 @@ function q(e) {
|
|
|
655
655
|
entity: e.entity,
|
|
656
656
|
isEnded: e.isEnded
|
|
657
657
|
};
|
|
658
|
-
case
|
|
658
|
+
case ne: return {
|
|
659
659
|
id: e.id,
|
|
660
660
|
name: Y(e.name),
|
|
661
661
|
entity: e.entity
|
|
@@ -680,33 +680,33 @@ function Y(e) {
|
|
|
680
680
|
}
|
|
681
681
|
//#endregion
|
|
682
682
|
//#region src/floorplan.ready.tsx
|
|
683
|
-
var X =
|
|
684
|
-
(0,
|
|
685
|
-
var hn = class extends
|
|
683
|
+
var X = Fe(), Z = (0, xt.default)("efp:api");
|
|
684
|
+
(0, Ct.install)();
|
|
685
|
+
var hn = class extends s {
|
|
686
686
|
constructor(...e) {
|
|
687
687
|
super(...e), this.root = void 0;
|
|
688
688
|
}
|
|
689
689
|
init() {
|
|
690
|
-
qt(), this.ignoreQuery || Jt(this.offHistory),
|
|
690
|
+
qt(), this.ignoreQuery || Jt(this.offHistory), Ze("load"), D.fp = this, ot(this.consent), Ke(Ge.Load, ""), this.root = (0, St.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, X.jsx)(bt, { children: /* @__PURE__ */ (0, X.jsx)(mt, {
|
|
691
691
|
offHistory: this.offHistory,
|
|
692
692
|
consent: this.consent
|
|
693
|
-
}) })),
|
|
694
|
-
if (this.resolveReady(), !
|
|
693
|
+
}) })), Ke(Ge.Rendered, ""), Oe(() => D.layerStore.layersLoaded, () => {
|
|
694
|
+
if (this.resolveReady(), !D.initialized) {
|
|
695
695
|
var e;
|
|
696
696
|
(e = this.onInit) == null || e.call(this, this);
|
|
697
697
|
}
|
|
698
|
-
|
|
698
|
+
D.initialized = !0;
|
|
699
699
|
});
|
|
700
|
-
let e =
|
|
701
|
-
e && import("./bootIntercom-
|
|
700
|
+
let e = At(E);
|
|
701
|
+
e && import("./bootIntercom-DUPbX22l.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
|
|
702
702
|
}
|
|
703
703
|
selectBooth(e) {
|
|
704
704
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
705
705
|
$("selectBooth", "Parameter must be a string or an array of strings.", "EFP000000");
|
|
706
706
|
return;
|
|
707
707
|
}
|
|
708
|
-
let t =
|
|
709
|
-
|
|
708
|
+
let t = D.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
709
|
+
D.selectBooth(t);
|
|
710
710
|
}
|
|
711
711
|
selectExhibitor(e) {
|
|
712
712
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
@@ -714,13 +714,13 @@ var hn = class extends Pe {
|
|
|
714
714
|
return;
|
|
715
715
|
}
|
|
716
716
|
if (!(e != null && e.length)) {
|
|
717
|
-
|
|
717
|
+
D.uiState.menu = !1, D.searchStore.resetSearchBox(), D.uiState.details = null;
|
|
718
718
|
return;
|
|
719
719
|
}
|
|
720
|
-
let t =
|
|
720
|
+
let t = D.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
721
721
|
if (!(t != null && t.length)) return;
|
|
722
722
|
if (typeof e == "string") {
|
|
723
|
-
|
|
723
|
+
D.selectExhibitor(t[0]), D.moveToList([t[0]]);
|
|
724
724
|
return;
|
|
725
725
|
}
|
|
726
726
|
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), {
|
|
@@ -728,25 +728,25 @@ var hn = class extends Pe {
|
|
|
728
728
|
mostFrequent: n[0],
|
|
729
729
|
maxCount: 0
|
|
730
730
|
}).mostFrequent;
|
|
731
|
-
|
|
731
|
+
D.layerStore.updateVisibility(r, !0), D.uiState.menu = !1, D.searchStore.resetSearchBox(), D.uiState.details = null, D.uiState.list = {
|
|
732
732
|
type: "filter",
|
|
733
733
|
items: t,
|
|
734
734
|
query: {
|
|
735
735
|
key: "exhibitors",
|
|
736
736
|
value: t.map((e) => e.externalId).join(",")
|
|
737
737
|
}
|
|
738
|
-
},
|
|
738
|
+
}, D.moveToList();
|
|
739
739
|
}
|
|
740
740
|
highlightExhibitors(e) {
|
|
741
|
-
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"),
|
|
741
|
+
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), D.boothStore.highlightedByExternalIds = [], D.exhibitorStore.highlightedByExternalIds = [...e];
|
|
742
742
|
}
|
|
743
743
|
highlightBooths(e) {
|
|
744
|
-
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"),
|
|
744
|
+
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), D.exhibitorStore.highlightedByExternalIds = [], D.boothStore.highlightedByExternalIds = [...e];
|
|
745
745
|
}
|
|
746
746
|
highlightEntities(e) {
|
|
747
747
|
Array.isArray(e) || $("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
|
|
748
|
-
let { boothExternalIds: t, exhibitorExternalIds: n } =
|
|
749
|
-
|
|
748
|
+
let { boothExternalIds: t, exhibitorExternalIds: n } = We(e);
|
|
749
|
+
D.boothStore.highlightedByExternalIds = [...t], D.exhibitorStore.highlightedByExternalIds = [...n];
|
|
750
750
|
}
|
|
751
751
|
selectRoute(e, t) {
|
|
752
752
|
if (Array.isArray(e)) {
|
|
@@ -756,10 +756,10 @@ var hn = class extends Pe {
|
|
|
756
756
|
$("selectRoute", "Invalid route format: When providing an array, it must include at least two points: a start and a destination.", "EFP000401");
|
|
757
757
|
return;
|
|
758
758
|
}
|
|
759
|
-
|
|
759
|
+
D.routeStore.selectRoute(new x(Q(n), Q(r), t.map(Q)));
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
762
|
-
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"),
|
|
762
|
+
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), D.routeStore.selectRoute(new x(Q(e), Q(t)));
|
|
763
763
|
}
|
|
764
764
|
getOptimizedRoutes(e) {
|
|
765
765
|
if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
|
|
@@ -772,19 +772,19 @@ var hn = class extends Pe {
|
|
|
772
772
|
let t = (r = (i = e.layer) == null ? void 0 : i.name) == null ? "" : r, a = n.get(t);
|
|
773
773
|
a ? a.push(e) : n.set(t, [e]);
|
|
774
774
|
}
|
|
775
|
-
return Array.from(n.values()).map((e) => ({ waypoints:
|
|
775
|
+
return Array.from(n.values()).map((e) => ({ waypoints: qe(e.map((e) => [e.name, {
|
|
776
776
|
x: e.rect.center.x,
|
|
777
777
|
y: e.rect.center.y
|
|
778
778
|
}])) }));
|
|
779
779
|
}
|
|
780
780
|
selectCurrentPosition(e, t, n) {
|
|
781
781
|
var r;
|
|
782
|
-
let i =
|
|
783
|
-
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"),
|
|
782
|
+
let i = y(e.x) && y(e.y), a = y(e.lng) && y(e.lat);
|
|
783
|
+
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), D.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
|
|
784
784
|
}
|
|
785
785
|
setBookmarks(e) {
|
|
786
786
|
(!Array.isArray(e) || !e.length) && $("setBookmarks", "Parameter must be an array.", "EFP000700"), e.forEach((e) => {
|
|
787
|
-
let t =
|
|
787
|
+
let t = D.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
|
|
788
788
|
t && (t.bookmarked = e.bookmarked);
|
|
789
789
|
});
|
|
790
790
|
}
|
|
@@ -803,29 +803,29 @@ var hn = class extends Pe {
|
|
|
803
803
|
$("setEntitiesBookmarks", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000702");
|
|
804
804
|
return;
|
|
805
805
|
}
|
|
806
|
-
let r =
|
|
806
|
+
let r = C("bookmarked"), i = {
|
|
807
807
|
exhibitor: {
|
|
808
808
|
existingIds: new Set(r.exhibitors || []),
|
|
809
|
-
finder: (e) =>
|
|
810
|
-
replacer: (e) =>
|
|
809
|
+
finder: (e) => D.exhibitorStore.findExhibitor(e),
|
|
810
|
+
replacer: (e) => D.exhibitorStore.replaceBookmarked(e)
|
|
811
811
|
},
|
|
812
812
|
event: {
|
|
813
813
|
existingIds: new Set(r.events || []),
|
|
814
|
-
finder: (e) =>
|
|
815
|
-
replacer: (e) =>
|
|
814
|
+
finder: (e) => D.eventStore.findByNameOrSlug(e),
|
|
815
|
+
replacer: (e) => D.eventStore.replaceBookmarked(e)
|
|
816
816
|
},
|
|
817
817
|
speaker: {
|
|
818
818
|
existingIds: new Set(r.speakers || []),
|
|
819
|
-
finder: (e) =>
|
|
820
|
-
replacer: (e) =>
|
|
819
|
+
finder: (e) => D.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
|
|
820
|
+
replacer: (e) => D.speakerStore.replaceBookmarked(e)
|
|
821
821
|
},
|
|
822
822
|
booth: {
|
|
823
823
|
existingIds: new Set(r.booths || []),
|
|
824
824
|
finder: (e) => {
|
|
825
|
-
let t =
|
|
825
|
+
let t = D.boothStore.findBooth(e);
|
|
826
826
|
return (t == null ? void 0 : t.exhibitors.length) === 0 ? t : void 0;
|
|
827
827
|
},
|
|
828
|
-
replacer: (e) =>
|
|
828
|
+
replacer: (e) => D.boothStore.replaceBookmarked(e)
|
|
829
829
|
}
|
|
830
830
|
};
|
|
831
831
|
e.forEach((e) => {
|
|
@@ -845,16 +845,16 @@ var hn = class extends Pe {
|
|
|
845
845
|
$("setEntitiesVisited", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000704");
|
|
846
846
|
return;
|
|
847
847
|
}
|
|
848
|
-
let r =
|
|
848
|
+
let r = C("visited"), i = {
|
|
849
849
|
exhibitor: {
|
|
850
850
|
existingIds: new Set(r.exhibitors || []),
|
|
851
|
-
finder: (e) =>
|
|
852
|
-
replacer: (e) =>
|
|
851
|
+
finder: (e) => D.exhibitorStore.findExhibitor(e),
|
|
852
|
+
replacer: (e) => D.exhibitorStore.replaceVisited(e)
|
|
853
853
|
},
|
|
854
854
|
event: {
|
|
855
855
|
existingIds: new Set(r.events || []),
|
|
856
|
-
finder: (e) =>
|
|
857
|
-
replacer: (e) =>
|
|
856
|
+
finder: (e) => D.eventStore.findByNameOrSlug(e),
|
|
857
|
+
replacer: (e) => D.eventStore.replaceVisited(e)
|
|
858
858
|
}
|
|
859
859
|
};
|
|
860
860
|
e.forEach((e) => {
|
|
@@ -869,94 +869,94 @@ var hn = class extends Pe {
|
|
|
869
869
|
$("setMarkers", "Invalid input.", "EFP000800");
|
|
870
870
|
return;
|
|
871
871
|
}
|
|
872
|
-
|
|
872
|
+
D.routeStore.setMarkers(e);
|
|
873
873
|
}
|
|
874
874
|
selectMarker(e, t = !0) {
|
|
875
|
-
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"),
|
|
875
|
+
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), D.routeStore.selectMarker(e, t);
|
|
876
876
|
}
|
|
877
877
|
drawCircles(e) {
|
|
878
|
-
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"),
|
|
878
|
+
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), D.uiState.debugCircles = e;
|
|
879
879
|
}
|
|
880
880
|
checkRoutes() {
|
|
881
|
-
|
|
881
|
+
D.routeStore.checkRoutes();
|
|
882
882
|
}
|
|
883
883
|
updateLayerVisibility(e, t) {
|
|
884
|
-
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"),
|
|
884
|
+
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"), D.layerStore.updateVisibility(e, t);
|
|
885
885
|
}
|
|
886
886
|
getCenterCoordinates() {
|
|
887
|
-
return
|
|
887
|
+
return D.fp.getCenterCoordinates();
|
|
888
888
|
}
|
|
889
889
|
exhibitorsList() {
|
|
890
|
-
return
|
|
890
|
+
return D.exhibitorStore.exhibitors.map((e) => q(e));
|
|
891
891
|
}
|
|
892
892
|
boothsList() {
|
|
893
|
-
return
|
|
893
|
+
return D.boothStore.booths.map((e) => q(e));
|
|
894
894
|
}
|
|
895
895
|
categoriesList() {
|
|
896
|
-
return
|
|
896
|
+
return D.categoryStore.categories.map((e) => q(e));
|
|
897
897
|
}
|
|
898
898
|
selectCategory(e) {
|
|
899
899
|
if (e == null || typeof e != "string") {
|
|
900
|
-
|
|
900
|
+
D.searchStore.selectSearch();
|
|
901
901
|
return;
|
|
902
902
|
}
|
|
903
|
-
let t = e == null ? void 0 : e.toLowerCase(), n =
|
|
903
|
+
let t = e == null ? void 0 : e.toLowerCase(), n = D.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
|
|
904
904
|
if (!n) {
|
|
905
905
|
$("selectCategory", `Category ${e} not found.`, "EFP000C01");
|
|
906
906
|
return;
|
|
907
907
|
}
|
|
908
|
-
|
|
908
|
+
D.selectCategory(n);
|
|
909
909
|
}
|
|
910
910
|
select(e) {
|
|
911
911
|
if (typeof e != "string") {
|
|
912
912
|
$("select", "Parameter must be a string.", "EFP001700");
|
|
913
913
|
return;
|
|
914
914
|
}
|
|
915
|
-
let t = e, n = t == null ? void 0 : t.toLowerCase(), r =
|
|
915
|
+
let t = e, n = t == null ? void 0 : t.toLowerCase(), r = D.boothStore.booths.find((e) => {
|
|
916
916
|
var t, r, i;
|
|
917
917
|
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;
|
|
918
918
|
});
|
|
919
919
|
if (r) {
|
|
920
|
-
setTimeout(() =>
|
|
920
|
+
setTimeout(() => D.selectBooth(r), 250);
|
|
921
921
|
return;
|
|
922
922
|
}
|
|
923
|
-
let i =
|
|
923
|
+
let i = D.eventStore.eventItems.find((e) => {
|
|
924
924
|
var t, r;
|
|
925
925
|
return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
|
|
926
926
|
});
|
|
927
927
|
if (i) {
|
|
928
|
-
|
|
928
|
+
D.selectEventItem(i, !0);
|
|
929
929
|
return;
|
|
930
930
|
}
|
|
931
|
-
let a =
|
|
931
|
+
let a = D.exhibitorStore.exhibitors.find((e) => {
|
|
932
932
|
var t, r;
|
|
933
933
|
return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
|
|
934
934
|
});
|
|
935
935
|
if (a) {
|
|
936
|
-
setTimeout(() =>
|
|
936
|
+
setTimeout(() => D.clickExhibitor(a), 250);
|
|
937
937
|
return;
|
|
938
938
|
}
|
|
939
|
-
let o =
|
|
939
|
+
let o = D.categoryStore.categories.find((e) => e.slug === t);
|
|
940
940
|
if (o) {
|
|
941
|
-
|
|
941
|
+
D.selectCategory(o);
|
|
942
942
|
return;
|
|
943
943
|
}
|
|
944
|
-
let s =
|
|
944
|
+
let s = D.speakerStore.findBySlug(t);
|
|
945
945
|
if (s) {
|
|
946
|
-
|
|
946
|
+
D.selectSpeaker(s, !0);
|
|
947
947
|
return;
|
|
948
948
|
}
|
|
949
|
-
t.includes("heatmap=true") ||
|
|
949
|
+
t.includes("heatmap=true") || D.searchStore.selectSearch(t);
|
|
950
950
|
}
|
|
951
951
|
showList(e) {
|
|
952
952
|
let t = {
|
|
953
|
-
bookmarks: () =>
|
|
954
|
-
visited: () =>
|
|
955
|
-
sessions: () =>
|
|
956
|
-
exhibitors: () =>
|
|
957
|
-
speakers: () =>
|
|
958
|
-
tours: () =>
|
|
959
|
-
language: () =>
|
|
953
|
+
bookmarks: () => D.selectBookmarks(),
|
|
954
|
+
visited: () => D.selectVisited(),
|
|
955
|
+
sessions: () => D.selectSessions(),
|
|
956
|
+
exhibitors: () => D.selectExhibitors(),
|
|
957
|
+
speakers: () => D.selectSpeakers(),
|
|
958
|
+
tours: () => D.selectTours(),
|
|
959
|
+
language: () => D.selectLanguage()
|
|
960
960
|
}, n = t[e];
|
|
961
961
|
if (!n) {
|
|
962
962
|
$("showList", `Unknown list "${e}". Must be one of: ${Object.keys(t).join(", ")}.`, "EFP001800");
|
|
@@ -969,60 +969,60 @@ var hn = class extends Pe {
|
|
|
969
969
|
$("selectTour", "A tour id must be passed.", "EFP001900");
|
|
970
970
|
return;
|
|
971
971
|
}
|
|
972
|
-
let t =
|
|
973
|
-
t ?
|
|
972
|
+
let t = D.toursStore.getTourById(e);
|
|
973
|
+
t ? D.toursStore.launchTour(t, t.name, t.description) : (console.warn(`Route with id "${e}" not found`), D.selectTours());
|
|
974
974
|
}
|
|
975
975
|
openPlanner(e = {}) {
|
|
976
976
|
if (typeof e != "object" || !e) {
|
|
977
977
|
$("openPlanner", "An options object must be passed.", "EFP001A00");
|
|
978
978
|
return;
|
|
979
979
|
}
|
|
980
|
-
let t = e.from ?
|
|
981
|
-
if (e.fromBookmarks)
|
|
980
|
+
let t = e.from ? b(e.from) : null;
|
|
981
|
+
if (e.fromBookmarks) D.routePlannerStore.launchFromBookmarks(t == null ? void 0 : t);
|
|
982
982
|
else {
|
|
983
983
|
var n;
|
|
984
|
-
|
|
984
|
+
D.routePlannerStore.launchFromSlugs((n = e.items) == null ? [] : n, t == null ? void 0 : t);
|
|
985
985
|
}
|
|
986
986
|
}
|
|
987
987
|
startBuildRoute() {
|
|
988
|
-
|
|
988
|
+
D.uiState.startBuildRoute();
|
|
989
989
|
}
|
|
990
990
|
applyParameters(e) {
|
|
991
991
|
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), Yt(e);
|
|
992
992
|
}
|
|
993
993
|
getVisibility() {
|
|
994
|
-
return
|
|
994
|
+
return D.uiState.visibility;
|
|
995
995
|
}
|
|
996
996
|
setVisibility(e) {
|
|
997
|
-
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"),
|
|
997
|
+
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), D.uiState.setVisibility(e);
|
|
998
998
|
}
|
|
999
999
|
findLocation() {
|
|
1000
|
-
|
|
1000
|
+
D.routeStore.findLocation();
|
|
1001
1001
|
}
|
|
1002
1002
|
zoomIn() {
|
|
1003
|
-
|
|
1003
|
+
D.uiState.zoomIn();
|
|
1004
1004
|
}
|
|
1005
1005
|
zoomOut() {
|
|
1006
|
-
|
|
1006
|
+
D.uiState.zoomOut();
|
|
1007
1007
|
}
|
|
1008
1008
|
switchView() {
|
|
1009
|
-
|
|
1009
|
+
D.maplibreStore.activateMaplibre();
|
|
1010
1010
|
}
|
|
1011
1011
|
setCamera(e) {
|
|
1012
1012
|
Z("setCamera called with camera=%O", e);
|
|
1013
|
-
let t =
|
|
1013
|
+
let t = ge.safeParse(e);
|
|
1014
1014
|
if (!t.success) {
|
|
1015
1015
|
$("setCamera", t.error.message, "EFP001B00");
|
|
1016
1016
|
return;
|
|
1017
1017
|
}
|
|
1018
|
-
|
|
1018
|
+
D.uiState.setMapSettings(V(t.data));
|
|
1019
1019
|
}
|
|
1020
1020
|
getCamera() {
|
|
1021
|
-
return Ut(
|
|
1021
|
+
return Ut(D.uiState.mapSettings);
|
|
1022
1022
|
}
|
|
1023
1023
|
zoomTo(e, t) {
|
|
1024
1024
|
Z("zoomTo called with selectors=%O options=%O", e, t);
|
|
1025
|
-
let n =
|
|
1025
|
+
let n = B.safeParse(e);
|
|
1026
1026
|
if (!n.success) {
|
|
1027
1027
|
$("zoomTo", n.error.message, "EFP001600");
|
|
1028
1028
|
return;
|
|
@@ -1038,7 +1038,7 @@ var hn = class extends Pe {
|
|
|
1038
1038
|
getBounds(e) {
|
|
1039
1039
|
var t, n;
|
|
1040
1040
|
Z("getBounds called with selectors=%O", e);
|
|
1041
|
-
let r =
|
|
1041
|
+
let r = B.safeParse(e);
|
|
1042
1042
|
if (!r.success) {
|
|
1043
1043
|
$("getBounds", r.error.message, "EFP001400");
|
|
1044
1044
|
return;
|
|
@@ -1046,15 +1046,15 @@ var hn = class extends Pe {
|
|
|
1046
1046
|
let i = [];
|
|
1047
1047
|
if ((t = e.booths) == null || t.forEach((e) => {
|
|
1048
1048
|
let t;
|
|
1049
|
-
e.externalId ? t =
|
|
1049
|
+
e.externalId ? t = D.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = D.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
|
|
1050
1050
|
}), (n = e.exhibitors) == null || n.forEach((e) => {
|
|
1051
1051
|
var t;
|
|
1052
1052
|
let n;
|
|
1053
|
-
e.externalId ? n =
|
|
1053
|
+
e.externalId ? n = D.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = D.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
|
|
1054
1054
|
e.rect && i.push(e.rect);
|
|
1055
1055
|
});
|
|
1056
1056
|
}), i.length === 0) return;
|
|
1057
|
-
let a =
|
|
1057
|
+
let a = O.fromUnion(...i);
|
|
1058
1058
|
return {
|
|
1059
1059
|
leftTop: {
|
|
1060
1060
|
x: a.min.x,
|
|
@@ -1068,10 +1068,10 @@ var hn = class extends Pe {
|
|
|
1068
1068
|
}
|
|
1069
1069
|
fitBounds(e, t) {
|
|
1070
1070
|
if (Z("fitBounds called with bounds=%O options=%O", e, t), !e) {
|
|
1071
|
-
|
|
1071
|
+
D.uiState.fitBounds();
|
|
1072
1072
|
return;
|
|
1073
1073
|
}
|
|
1074
|
-
let n =
|
|
1074
|
+
let n = zt.safeParse(e);
|
|
1075
1075
|
if (!n.success) {
|
|
1076
1076
|
$("fitBounds", n.error.message, "EFP001500");
|
|
1077
1077
|
return;
|
|
@@ -1081,24 +1081,24 @@ var hn = class extends Pe {
|
|
|
1081
1081
|
$("fitBounds", r.error.message, "EFP001501");
|
|
1082
1082
|
return;
|
|
1083
1083
|
}
|
|
1084
|
-
let i =
|
|
1084
|
+
let i = O.fromMinMax({
|
|
1085
1085
|
x: e.leftTop.x,
|
|
1086
1086
|
y: e.leftTop.y
|
|
1087
1087
|
}, {
|
|
1088
1088
|
x: e.rightBottom.x,
|
|
1089
1089
|
y: e.rightBottom.y
|
|
1090
1090
|
});
|
|
1091
|
-
|
|
1091
|
+
D.uiState.moveToRect = t != null && t.padding ? i.expand(t.padding) : i;
|
|
1092
1092
|
}
|
|
1093
1093
|
getBoothRect(e) {
|
|
1094
1094
|
var t;
|
|
1095
1095
|
typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00");
|
|
1096
|
-
let n = (t =
|
|
1096
|
+
let n = (t = b(e)) == null ? void 0 : t.rect;
|
|
1097
1097
|
return n ? _n.fromBox(n) : void 0;
|
|
1098
1098
|
}
|
|
1099
1099
|
convertToGeo(e, t) {
|
|
1100
1100
|
var n;
|
|
1101
|
-
if (!(!(
|
|
1101
|
+
if (!(!(k == null || (n = k.properties) == null) && n.config)) {
|
|
1102
1102
|
$("convertToGeo", "The coordinates cannot be converted because the GPS configuration is not defined.", "EFP001000");
|
|
1103
1103
|
return;
|
|
1104
1104
|
}
|
|
@@ -1106,11 +1106,11 @@ var hn = class extends Pe {
|
|
|
1106
1106
|
$("convertToGeo", "Both coordinates must be passed.", "EFP001001");
|
|
1107
1107
|
return;
|
|
1108
1108
|
}
|
|
1109
|
-
return
|
|
1109
|
+
return Je(e, t, k.properties.config);
|
|
1110
1110
|
}
|
|
1111
1111
|
getGeoConfig() {
|
|
1112
1112
|
var e, t;
|
|
1113
|
-
let n =
|
|
1113
|
+
let n = k == null || (e = k.properties) == null ? void 0 : e.config;
|
|
1114
1114
|
return n ? {
|
|
1115
1115
|
bearing: (t = n.bearing) == null ? 0 : t,
|
|
1116
1116
|
p0: n.p0,
|
|
@@ -1120,16 +1120,16 @@ var hn = class extends Pe {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
unstable_destroy() {
|
|
1122
1122
|
let e = window.__efpElement.firstChild;
|
|
1123
|
-
pn(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error",
|
|
1123
|
+
pn(), window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), window.removeEventListener("error", i), D.maplibreStore.dispose(), $e(), tt(), Xe(), this.root.unmount(), e.remove();
|
|
1124
1124
|
}
|
|
1125
1125
|
search(e) {
|
|
1126
|
-
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"),
|
|
1126
|
+
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), D.fuzzySearchEngineStore.loadEngine().then(() => (D.searchStore.selectSearch(e), D.uiState.fuzzySearchItems.map((e) => ({
|
|
1127
1127
|
item: q(e.item),
|
|
1128
1128
|
score: e.score
|
|
1129
1129
|
}))));
|
|
1130
1130
|
}
|
|
1131
1131
|
getFloors() {
|
|
1132
|
-
return
|
|
1132
|
+
return D.layerStore.floors.map((e) => ({
|
|
1133
1133
|
name: e.name,
|
|
1134
1134
|
shortName: e.shortName,
|
|
1135
1135
|
description: e.description,
|
|
@@ -1166,7 +1166,7 @@ var hn = class extends Pe {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
}
|
|
1168
1168
|
showPathway(e, t) {
|
|
1169
|
-
let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ?
|
|
1169
|
+
let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ? We(t) : {
|
|
1170
1170
|
boothExternalIds: [],
|
|
1171
1171
|
exhibitorExternalIds: []
|
|
1172
1172
|
};
|
|
@@ -1177,59 +1177,59 @@ var hn = class extends Pe {
|
|
|
1177
1177
|
});
|
|
1178
1178
|
}
|
|
1179
1179
|
showPathwayOnly(e, t) {
|
|
1180
|
-
this.activateFloor({ name: t }),
|
|
1181
|
-
let n =
|
|
1180
|
+
this.activateFloor({ name: t }), D.layerStore.showPathWay(e), D.uiState.setPathwayOnlyMode(!0);
|
|
1181
|
+
let n = D.layerStore.findLayer(e), r = D.layerStore.findLayer(t), i = n != null && n.rect || n != null && n.viewbox ? n : r;
|
|
1182
1182
|
if (i != null && i.rect || i != null && i.viewbox) {
|
|
1183
1183
|
var a;
|
|
1184
1184
|
let e = (a = i.viewbox) == null ? i.rect : a;
|
|
1185
|
-
|
|
1185
|
+
D.uiState.moveToRect = e.clone();
|
|
1186
1186
|
}
|
|
1187
1187
|
}
|
|
1188
1188
|
hidePathways() {
|
|
1189
|
-
this.highlightBooths([]),
|
|
1189
|
+
this.highlightBooths([]), D.layerStore.hidePathways(), D.uiState.setPathwayOnlyMode(!1);
|
|
1190
1190
|
}
|
|
1191
1191
|
showSearch() {
|
|
1192
|
-
|
|
1192
|
+
D.selectSearch("");
|
|
1193
1193
|
}
|
|
1194
1194
|
changeLanguage(e) {
|
|
1195
1195
|
var t;
|
|
1196
1196
|
let n = e == null || (t = e.toLowerCase) == null ? void 0 : t.call(e);
|
|
1197
|
-
if (!
|
|
1198
|
-
$("changeLanguage", `Language "${e}" was not found. Available languages: ${
|
|
1197
|
+
if (!Te(n)) {
|
|
1198
|
+
$("changeLanguage", `Language "${e}" was not found. Available languages: ${Se().map((e) => e.id).join(",")}`, "EFP001300");
|
|
1199
1199
|
return;
|
|
1200
1200
|
}
|
|
1201
|
-
|
|
1201
|
+
we(n);
|
|
1202
1202
|
}
|
|
1203
1203
|
isGpsTrackingEnabled() {
|
|
1204
|
-
return
|
|
1204
|
+
return D.routeStore.gpsEnabled;
|
|
1205
1205
|
}
|
|
1206
1206
|
setGpsTrackingEnabled(e) {
|
|
1207
|
-
|
|
1207
|
+
D.routeStore.setGpsTrackingEnabled(e);
|
|
1208
1208
|
}
|
|
1209
1209
|
deselectCurrentPosition() {
|
|
1210
|
-
|
|
1210
|
+
D.routeStore.selectCurrentPosition(null, !1);
|
|
1211
1211
|
}
|
|
1212
1212
|
deselectRoute() {
|
|
1213
|
-
|
|
1213
|
+
D.routeStore.selectRoute(null), D.routeStore.setOnlyAccessible(!1);
|
|
1214
1214
|
}
|
|
1215
1215
|
reset() {
|
|
1216
|
-
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]),
|
|
1216
|
+
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), D.uiState.kioskData && D.resetCameraFn) {
|
|
1217
1217
|
var e;
|
|
1218
|
-
(e =
|
|
1218
|
+
(e = D.resetCameraFn) == null || e.call(D);
|
|
1219
1219
|
} else this.fitBounds();
|
|
1220
1220
|
}
|
|
1221
1221
|
selectAccessibleRoute(e) {
|
|
1222
|
-
|
|
1222
|
+
D.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
|
|
1223
1223
|
}
|
|
1224
1224
|
};
|
|
1225
1225
|
function Q(e) {
|
|
1226
|
-
return typeof e == "string" ?
|
|
1226
|
+
return typeof e == "string" ? b(e) : D.routeStore.getNearestBooth(e);
|
|
1227
1227
|
}
|
|
1228
1228
|
var gn = 0;
|
|
1229
1229
|
function $(e, t, n) {
|
|
1230
1230
|
let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://js-sdk.expofp.com/api/packages";
|
|
1231
|
-
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`),
|
|
1232
|
-
|
|
1231
|
+
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), D.fp.disableRuntimeAlerts) return;
|
|
1232
|
+
D.uiState.setGlobalErrorMessage({
|
|
1233
1233
|
title: r,
|
|
1234
1234
|
body: /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [
|
|
1235
1235
|
i,
|
|
@@ -1245,7 +1245,7 @@ function $(e, t, n) {
|
|
|
1245
1245
|
let o = 8e3;
|
|
1246
1246
|
gn = window.setTimeout(() => {
|
|
1247
1247
|
let e = async () => {
|
|
1248
|
-
|
|
1248
|
+
D.uiState.globalErrorMessages.length > 0 && (D.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
|
|
1249
1249
|
};
|
|
1250
1250
|
e();
|
|
1251
1251
|
}, o);
|