@expofp/floorplan 3.26.0 → 3.27.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-DI5g1CPS.js → Button-e8P-AcfW.js} +6 -6
- package/dist/browser/{CookieConsent-Qws_nQ3N.js → CookieConsent-DT6PZdD-.js} +8 -8
- package/dist/browser/{Debug-DTNPNDds.js → Debug-Btnxv9GC.js} +8 -8
- package/dist/browser/DebugTools-CH_HoQal.js +1922 -0
- package/dist/browser/{Demo-BDZjOBQc.js → Demo-DZoFFss-.js} +10 -10
- package/dist/browser/{Free-Cage9TkV.js → Free-DiFQkGSU.js} +10 -10
- package/dist/browser/{GalleryContainer-EeLKgziN.js → GalleryContainer-aJ6EZ5I3.js} +11 -11
- package/dist/browser/{GpsLoader-CJMX_mJN.js → GpsLoader-Bu9mBOam.js} +34 -34
- package/dist/browser/{KioskStore-BSza48xl.js → KioskStore-DUC4jNn0.js} +58 -107
- package/dist/browser/{MaplibreAdapter-evVQiVQj.js → MaplibreAdapter-DIlDXt73.js} +2056 -2141
- package/dist/browser/{ModalContainer-CTKDfIyR.js → ModalContainer-CVRxdpt2.js} +11 -11
- package/dist/browser/{PermissionNotice-O469DuWb.js → PermissionNotice-B5X5RQja.js} +7 -7
- package/dist/browser/SetKioskMode-BbDnU98F.js +48 -0
- package/dist/browser/{ShowKiosk-DumFiuHU.js → ShowKiosk-B7HfONvN.js} +11 -11
- package/dist/browser/{ViewerMenuPanel-ByFemA_T.js → ViewerMenuPanel-CT6kvVUw.js} +17 -17
- package/dist/browser/{add-debug-secret-listener-TLumKuSo.js → add-debug-secret-listener-Dvv-Pg0-.js} +1 -1
- package/dist/browser/{adopt-global-settings-ghJrZaU5.js → adopt-global-settings-CXzCKJtp.js} +10 -10
- package/dist/browser/{boolean-editor-WIpm-pFP.js → boolean-editor-CHMR9ZwP.js} +10 -10
- package/dist/browser/{bootIntercom-BR_Ehbyl.js → bootIntercom-DQcGuly8.js} +3 -3
- package/dist/browser/bundle.json +77 -65
- package/dist/browser/camera-events-BkrzcISl.js +18 -0
- package/dist/browser/{classnames-BmlkHMS8.js → classnames-BYuGpzao.js} +2 -2
- package/dist/browser/{client-CIHxJZmk.js → client-hxMr1frV.js} +793 -992
- package/dist/browser/{components-7lxOhyyi.js → components-DiB2l4Q7.js} +1952 -2013
- package/dist/browser/debug-context-CfyAAxAt.js +24315 -0
- package/dist/browser/{debug-overlay-B7jCqVlX.js → debug-overlay-PYUvPcx-.js} +11 -11
- package/dist/browser/{debug-ui-D1ApG52e.js → debug-ui-BXRAYxv6.js} +7 -7
- package/dist/browser/dimming-Dj-1kBgQ.js +1108 -0
- package/dist/browser/{dist-C67OkD_4.js → dist-30RVEJTr.js} +7 -7
- package/dist/browser/{dist-BrF5yJyj.js → dist-DgGMS59X.js} +6 -6
- package/dist/browser/{dist-CnpnDA-V.js → dist-opCvrhNh.js} +3 -3
- package/dist/browser/{efp-debug-init-BqEN61Fo.js → efp-debug-init-CYfrcz9M.js} +4 -4
- package/dist/browser/{enum-editor-Cy6VeZZd.js → enum-editor-BYO96W3-.js} +5 -5
- package/dist/browser/{es5-DyV1fctu.js → es5-Bpzk_wCi.js} +2 -2
- package/dist/browser/{event-not-found-BpFVdXz_.js → event-not-found-DEepFxEc.js} +1 -1
- package/dist/browser/{exports-C7NzL4lf.js → exports-Bo5VUoiX.js} +1 -1
- package/dist/browser/{favicon-BHscWjwp.js → favicon-Bf88cI9_.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BytZeydp.js → fetch-retry.umd-D2BnNN8g.js} +2 -2
- package/dist/browser/{flex-BQBLAC6l.js → flex-B5cqWC1b.js} +6 -6
- package/dist/browser/{floorplan.loader-DkaQPhwC.js → floorplan.loader-D3lRYRJS.js} +10 -10
- package/dist/browser/{floorplan.ready-DwuXZphI.js → floorplan.ready-CsdDpbEv.js} +344 -308
- package/dist/browser/{fuse-DZTwJ52u.js → fuse-CzalO4Mu.js} +2 -2
- package/dist/browser/{i18n-Bcv8xw_q.js → i18n-D1sb3MoT.js} +5 -5
- package/dist/browser/index.js +14 -14
- package/dist/browser/{index.module-BFxDVa3K.js → index.module-JxYvexTC.js} +4 -4
- package/dist/browser/{integrateKiosk-VTNZSSfD.js → integrateKiosk-e4HqZu2W.js} +5 -5
- package/dist/browser/{is-webview-CjItzxdV.js → is-webview-ChPDTaTY.js} +1 -1
- package/dist/browser/{jsx-runtime-CT2c-IhD.js → jsx-runtime-Ca1Wj_4-.js} +2 -2
- package/dist/browser/{kiosk-record-v7r7q7t0.js → kiosk-record-C2cafcoW.js} +1 -1
- package/dist/browser/{lib-DGh8lZgT.js → lib-DXqE6M9Z.js} +3 -3
- package/dist/browser/{loadImage-a_ahClbD.js → loadImage-8qYzT9NG.js} +4 -4
- package/dist/browser/{logDeviceInfo-DHfa6NcE.js → logDeviceInfo-CF95RwQH.js} +9 -9
- package/dist/browser/{mobx-dAtztuiQ.js → mobx-B8aGIDdz.js} +7 -7
- package/dist/browser/{optional-boolean-editor-D43-yLO3.js → optional-boolean-editor-D02Q8KUS.js} +4 -4
- package/dist/browser/{optional-enum-editor-Cvn8TV-x.js → optional-enum-editor-RV_EKfNQ.js} +5 -5
- package/dist/browser/{optional-string-editor-sY0yVw_j.js → optional-string-editor-D_t_aZG2.js} +5 -5
- package/dist/browser/{particles.min-BD7iDSr6.js → particles.min-CDyH_67D.js} +2 -2
- package/dist/browser/{react-BJopqGbW.js → react-CDmIhEY6.js} +2 -2
- package/dist/browser/{react-dom-B77nDdqp.js → react-dom-PGvJwDoR.js} +3 -3
- package/dist/browser/{rolldown-runtime-BmHtYG9i.js → rolldown-runtime-CwqkRsWu.js} +1 -1
- package/dist/browser/scheduler-MBFOnOYr.js +212 -0
- package/dist/browser/{select-ByU-Ym6-.js → select-2x53pvd0.js} +11 -11
- package/dist/browser/{settings-CEH1i0Pj.js → settings-BCkl8gdb.js} +2 -2
- package/dist/browser/{settings-item-_PTji9Bz.js → settings-item-DT6Vnw06.js} +7 -7
- package/dist/browser/store-Dej5FGrq.js +31205 -0
- package/dist/browser/{string-editor-DaF1t7MK.js → string-editor-w9YDgRoR.js} +5 -5
- package/dist/browser/{text-field-XRLZPyNV.js → text-field-ricOc0h0.js} +6 -6
- package/dist/browser/{theme-D0OZcdto.js → theme-Ce7vpk9b.js} +9 -9
- package/dist/browser/{ui-7ozfXlN3.js → ui-PDV2rEkU.js} +9 -9
- package/dist/browser/{useRenderTarget-BG295f3e.js → useRenderTarget-DroCs5kL.js} +5 -5
- package/dist/browser/viewport-Jwms2MJD.js +41 -0
- package/dist/esm/components/Kiosk/KioskStore.d.ts +5 -2
- package/dist/esm/components/Kiosk/KioskStore.js +1 -1
- package/dist/esm/components/Kiosk/SetKioskMode.d.ts +1 -2
- package/dist/esm/components/Kiosk/SetKioskMode.js +1 -1
- package/dist/esm/components/Map/Map.d.ts +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/MapCamera.d.ts +17 -0
- package/dist/esm/components/Map/MapCamera.js +1 -0
- package/dist/esm/components/Map/MapViewport.d.ts +12 -0
- package/dist/esm/components/Map/MapViewport.js +1 -0
- package/dist/esm/components/Map/booth-by-xy.d.ts +13 -0
- package/dist/esm/components/Map/booth-by-xy.js +1 -1
- package/dist/esm/components/Map/camera-events.d.ts +16 -0
- package/dist/esm/components/Map/camera-events.js +1 -0
- package/dist/esm/components/Map/camera.d.ts +48 -0
- package/dist/esm/components/Map/camera.js +1 -0
- package/dist/esm/components/Map/drawing/config/TextFitter.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/config-all.d.ts +1 -2
- package/dist/esm/components/Map/drawing/config/config-all.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-bg.d.ts +1 -2
- package/dist/esm/components/Map/drawing/config/config-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-badge.d.ts +70 -3
- package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +3 -6
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.d.ts +11 -7
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-border.d.ts +2 -3
- package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.d.ts +16 -3
- 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 +18 -4
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booths.d.ts +1 -2
- package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-load-layer.d.ts +1 -2
- package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-markers.d.ts +23 -2
- package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
- package/dist/esm/components/Map/drawing/config/layer-images.d.ts +35 -0
- package/dist/esm/components/Map/drawing/config/layer-images.js +1 -0
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.d.ts +38 -3
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
- package/dist/esm/components/Map/pointer.d.ts +73 -0
- package/dist/esm/components/Map/pointer.js +1 -0
- package/dist/esm/components/Map/scene.d.ts +20 -0
- package/dist/esm/components/Map/scene.js +1 -0
- package/dist/esm/components/Map/traffic/trafficLayers.d.ts +2 -7
- package/dist/esm/components/Map/traffic/trafficLayers.js +1 -1
- package/dist/esm/components/Map/traffic/useBuildRoute.d.ts +4 -3
- package/dist/esm/components/Map/traffic/useBuildRoute.js +6 -6
- package/dist/esm/components/Map/traffic/useManageTraffic.d.ts +4 -3
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/components/Map/viewport.d.ts +63 -0
- package/dist/esm/components/Map/viewport.js +1 -0
- package/dist/esm/components/Maplibre/MaplibreAdapter.d.ts +6 -2
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreWrapper.d.ts +30 -8
- package/dist/esm/components/Maplibre/MaplibreWrapper.js +1 -1
- package/dist/esm/components/Maplibre/useDimming.d.ts +2 -2
- package/dist/esm/components/Maplibre/useDimming.js +1 -1
- package/dist/esm/components/Maplibre/useKioskIdleEvents.d.ts +5 -6
- package/dist/esm/components/Maplibre/useLayerVisibilitySync.d.ts +2 -2
- package/dist/esm/components/Maplibre/useLayerVisibilitySync.js +1 -1
- package/dist/esm/components/Maplibre/usePoiMarkers.d.ts +1 -2
- package/dist/esm/components/Maplibre/useWayfindingAndMarkers.d.ts +8 -5
- package/dist/esm/components/Maplibre/useWayfindingAndMarkers.js +1 -1
- package/dist/esm/components/Maplibre/utils/layer-defs.d.ts +8 -3
- package/dist/esm/components/Maplibre/utils/layer-defs.js +1 -1
- package/dist/esm/components/Maplibre/utils/poi-marker-hit-test.d.ts +3 -3
- package/dist/esm/components/Ws.js +1 -1
- package/dist/esm/engine/defs.d.ts +30 -0
- package/dist/esm/engine/defs.js +3 -0
- package/dist/esm/engine/fonts.js +1 -0
- package/dist/esm/engine/update-def.d.ts +52 -0
- package/dist/esm/engine/update-def.js +1 -0
- package/dist/esm/engine/utils/rotation.d.ts +6 -0
- package/dist/esm/engine/utils/rotation.js +1 -0
- package/dist/esm/floorplan.ready.d.ts +2 -0
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/store/BoothStore.d.ts +11 -0
- package/dist/esm/store/LayerStore.d.ts +2 -0
- package/dist/esm/store/LayerStore.js +1 -1
- package/dist/esm/store/RootStore.d.ts +0 -2
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/details-events.d.ts +11 -0
- package/dist/esm/store/details-events.js +1 -0
- package/dist/esm/store/init/init-booths.js +1 -1
- package/dist/esm/utils/dimming.d.ts +13 -2
- package/dist/esm/utils/dimming.js +1 -1
- package/dist/esm/utils/mobx.d.ts +2 -2
- package/dist/esm/utils/mobx.js +1 -1
- package/dist/esm/utils/scene-bounds.d.ts +1 -1
- package/dist/esm/utils/scene-bounds.js +1 -1
- package/dist/esm/wayfinding/adapters/canvasIconProvider.js +1 -1
- package/dist/esm/wayfinding/createWayfinding.d.ts +19 -2
- package/dist/esm/wayfinding/createWayfinding.js +1 -1
- package/package.json +11 -10
- package/dist/browser/SetKioskMode-DUk4c-Gs.js +0 -57
- package/dist/browser/booth-by-xy-CyZpg1Fn.js +0 -1130
- package/dist/browser/main-sUuehgQu.js +0 -289
- package/dist/browser/store-Oj0dGPnb.js +0 -41431
- package/dist/esm/components/Map/pointInConvexQuad.d.ts +0 -3
- package/dist/esm/components/Map/pointInConvexQuad.js +0 -1
- package/dist/esm/components/Map/visibleArea.d.ts +0 -16
- package/dist/esm/components/Map/visibleArea.js +0 -1
- package/dist/esm/components/Maplibre/useRendererEvents.d.ts +0 -9
- package/dist/esm/components/Maplibre/useRendererEvents.js +0 -1
- package/dist/esm/components/Maplibre/utils/update-pump.d.ts +0 -18
- package/dist/esm/components/Maplibre/utils/update-pump.js +0 -1
- package/dist/esm/renderer/HandlerRegistry.d.ts +0 -18
- package/dist/esm/renderer/HandlerRegistry.js +0 -1
- package/dist/esm/renderer/RendererService.d.ts +0 -44
- package/dist/esm/renderer/RendererService.js +0 -1
- package/dist/esm/renderer/engine-core/defs.d.ts +0 -40
- package/dist/esm/renderer/engine-core/defs.js +0 -3
- package/dist/esm/renderer/engine-core/fonts.js +0 -1
- package/dist/esm/renderer/engine-core/settings.d.ts +0 -4
- package/dist/esm/renderer/engine-core/settings.js +0 -1
- package/dist/esm/renderer/engine-core/types.d.ts +0 -50
- package/dist/esm/renderer/engine-core/types.js +0 -1
- package/dist/esm/renderer/engine-core/update-def.d.ts +0 -12
- package/dist/esm/renderer/engine-core/update-def.js +0 -1
- package/dist/esm/renderer/engine-core/utils/rotation.d.ts +0 -17
- package/dist/esm/renderer/engine-core/utils/rotation.js +0 -1
- package/dist/esm/renderer/index.d.ts +0 -19
- package/dist/esm/renderer/index.js +0 -1
- /package/dist/esm/{renderer/engine-core → engine}/canvases.d.ts +0 -0
- /package/dist/esm/{renderer/engine-core → engine}/canvases.js +0 -0
- /package/dist/esm/{renderer/engine-core → engine}/fonts.d.ts +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
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.27.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] = "4ed18937-a762-4127-b625-17dbcd0de041", e._sentryDebugIdIdentifier = "sentry-dbid-4ed18937-a762-4127-b625-17dbcd0de041");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
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-
|
|
11
|
-
import { $ as c, At as l, C as u, Ct as d, Dt as f, Et as ee, Ft as te, G as ne, H as re, It as ie, Lt as
|
|
12
|
-
import { s as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { r as
|
|
16
|
-
import { C as
|
|
17
|
-
import { t as
|
|
18
|
-
import { i as
|
|
19
|
-
import {
|
|
20
|
-
import { n as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-CwqkRsWu.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-D3lRYRJS.js";
|
|
11
|
+
import { $ as c, At as l, C as u, Ct as d, Dt as f, Et as ee, Ft as te, G as ne, H as re, It as ie, Lt as ae, Mt as oe, Nt as se, Ot as ce, Pt as le, Rt as p, St as ue, Tt as de, U as fe, V as pe, _t as me, bt as he, ct as ge, dt as m, f as _e, ft as ve, gt as ye, jt as be, kt as xe, l as h, lt as Se, mt as Ce, n as we, nt as Te, o as Ee, pt as De, r as Oe, v as ke, wt as Ae, xt as je, y as Me, yt as Ne, zt as g } from "./i18n-D1sb3MoT.js";
|
|
12
|
+
import { s as Pe } from "./efp-debug-init-CYfrcz9M.js";
|
|
13
|
+
import { t as Fe } from "./react-CDmIhEY6.js";
|
|
14
|
+
import { t as Ie } from "./jsx-runtime-Ca1Wj_4-.js";
|
|
15
|
+
import { r as Le } from "./loadImage-8qYzT9NG.js";
|
|
16
|
+
import { C as Re, D as ze, Q as Be, ht as _, i as Ve, n as He, w as Ue } from "./exports-Bo5VUoiX.js";
|
|
17
|
+
import { t as We } from "./client-hxMr1frV.js";
|
|
18
|
+
import { i as Ge, n as Ke, r as v, t as qe } from "./components-DiB2l4Q7.js";
|
|
19
|
+
import { C as y, Cn as Je, E as b, F as Ye, G as x, In as Xe, K as Ze, L as Qe, Q as $e, R as S, S as et, T as C, Tn as w, Vt as tt, Y as nt, Z as rt, _t as it, c as T, ct as E, dn as D, dt as at, ft as ot, gt as st, hn as ct, ht as lt, kn as O, l as k, lt as ut, mn as A, nt as dt, on as j, pt as M, q as N, rt as ft, tt as pt, un as mt, ut as ht, w as gt, y as _t } from "./store-Dej5FGrq.js";
|
|
20
|
+
import { n as vt, t as yt } from "./integrateKiosk-e4HqZu2W.js";
|
|
21
21
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
|
|
22
|
-
function
|
|
22
|
+
function P(e = {}) {
|
|
23
23
|
let r = n.document, i = (r == null ? void 0 : r.head) || (r == null ? void 0 : r.body);
|
|
24
24
|
if (!i) {
|
|
25
|
-
a &&
|
|
25
|
+
a && _.error("[showReportDialog] Global document not defined");
|
|
26
26
|
return;
|
|
27
27
|
}
|
|
28
|
-
let o =
|
|
28
|
+
let o = Ue(), s = Re(), c = s == null ? void 0 : s.getDsn();
|
|
29
29
|
if (!c) {
|
|
30
|
-
a &&
|
|
30
|
+
a && _.error("[showReportDialog] DSN not configured");
|
|
31
31
|
return;
|
|
32
32
|
}
|
|
33
33
|
let l = {
|
|
@@ -36,7 +36,7 @@ function mt(e = {}) {
|
|
|
36
36
|
...o.getUser(),
|
|
37
37
|
...e.user
|
|
38
38
|
},
|
|
39
|
-
eventId: e.eventId ||
|
|
39
|
+
eventId: e.eventId || Ve()
|
|
40
40
|
}, u = n.document.createElement("script");
|
|
41
41
|
u.async = !0, u.crossOrigin = "anonymous", u.src = t(c, l);
|
|
42
42
|
let { onLoad: d, onClose: f } = l;
|
|
@@ -54,12 +54,12 @@ function mt(e = {}) {
|
|
|
54
54
|
}
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/error.js
|
|
57
|
-
var
|
|
58
|
-
function
|
|
57
|
+
var F = /* @__PURE__ */ e(Fe());
|
|
58
|
+
function bt(e) {
|
|
59
59
|
let t = e.match(/^([^.]+)/);
|
|
60
60
|
return t !== null && parseInt(t[0]) >= 17;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function xt(e, t) {
|
|
63
63
|
let n = /* @__PURE__ */ new WeakSet();
|
|
64
64
|
function r(e, t) {
|
|
65
65
|
if (!n.has(e)) {
|
|
@@ -69,25 +69,25 @@ function gt(e, t) {
|
|
|
69
69
|
}
|
|
70
70
|
r(e, t);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
if (
|
|
72
|
+
function St(e, { componentStack: t }, n) {
|
|
73
|
+
if (bt(F.version) && Be(e) && t) {
|
|
74
74
|
let n = Error(e.message);
|
|
75
|
-
n.name = `React ErrorBoundary ${e.name}`, n.stack = t,
|
|
75
|
+
n.name = `React ErrorBoundary ${e.name}`, n.stack = t, xt(e, n);
|
|
76
76
|
}
|
|
77
|
-
return
|
|
77
|
+
return He(e, n);
|
|
78
78
|
}
|
|
79
79
|
//#endregion
|
|
80
80
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/debug-build.js
|
|
81
|
-
var
|
|
81
|
+
var Ct = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, I = {
|
|
82
82
|
componentStack: null,
|
|
83
83
|
error: null,
|
|
84
84
|
eventId: null
|
|
85
|
-
},
|
|
85
|
+
}, wt = class extends F.Component {
|
|
86
86
|
constructor(e) {
|
|
87
|
-
super(e), this.state =
|
|
88
|
-
let t =
|
|
87
|
+
super(e), this.state = I, this._openFallbackReportDialog = !0;
|
|
88
|
+
let t = Re();
|
|
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 && P({
|
|
91
91
|
...e.dialogOptions,
|
|
92
92
|
eventId: this._lastEventId
|
|
93
93
|
});
|
|
@@ -95,13 +95,13 @@ var vt = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, L = {
|
|
|
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
|
+
ze((s) => {
|
|
99
99
|
r && r(s, e, n);
|
|
100
|
-
let c =
|
|
100
|
+
let c = St(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 && P({
|
|
105
105
|
...o,
|
|
106
106
|
eventId: c
|
|
107
107
|
})), this.setState({
|
|
@@ -117,37 +117,37 @@ var vt = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, L = {
|
|
|
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 === I ? 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(I);
|
|
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" ? F.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 F.isValidElement(r) ? r : (e && Ct && _.warn("fallback did not produce a valid ReactElement"), null);
|
|
136
136
|
}
|
|
137
|
-
},
|
|
138
|
-
function
|
|
137
|
+
}, Tt = /* @__PURE__ */ e(Pe(), 1), Et = We(), Dt = Xe();
|
|
138
|
+
function Ot(e) {
|
|
139
139
|
var t;
|
|
140
|
-
let n = new URLSearchParams(window.location.search).get(
|
|
141
|
-
return i == null ?
|
|
140
|
+
let n = new URLSearchParams(window.location.search).get(pe), r = h ? window.localStorage.getItem(pe) : null, i = n == null ? r : n;
|
|
141
|
+
return i == null ? h && ft() != null || Object.keys((t = e.kiosk) == null ? {} : t).length > 0 : i === "1";
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function L() {
|
|
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 kt() {
|
|
148
|
+
return L() ? window.location.hostname.split(".")[0] : "main";
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function At(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 jt() {
|
|
160
160
|
return !1;
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function Mt(e) {
|
|
163
163
|
return e;
|
|
164
164
|
}
|
|
165
|
-
function
|
|
166
|
-
if (
|
|
167
|
-
let t =
|
|
168
|
-
subDomain:
|
|
169
|
-
subscriptionStatus:
|
|
165
|
+
function Nt(e) {
|
|
166
|
+
if (jt() || !L() || Ot(e) || !window.navigator.onLine) return null;
|
|
167
|
+
let t = Mt({
|
|
168
|
+
subDomain: kt(),
|
|
169
|
+
subscriptionStatus: At(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.4.3/node_modules/zod/v4/mini/schemas.js
|
|
175
|
-
var R = /*@__PURE__*/
|
|
175
|
+
var R = /*@__PURE__*/ p("ZodMiniType", (e, t) => {
|
|
176
176
|
if (!e._zod) throw Error("Uninitialized schema in ZodMiniType.");
|
|
177
|
-
l.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) =>
|
|
177
|
+
l.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => be(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => se(e, t, n), e.parseAsync = async (t, n) => oe(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => le(e, t, n), e.check = (...n) => {
|
|
178
178
|
var r;
|
|
179
179
|
return e.clone({
|
|
180
180
|
...t,
|
|
@@ -185,94 +185,94 @@ var R = /*@__PURE__*/ m("ZodMiniType", (e, t) => {
|
|
|
185
185
|
} } : e)]
|
|
186
186
|
}, { parent: !0 });
|
|
187
187
|
}, e.with = e.check, e.clone = (t, n) => te(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.apply = (t) => t(e);
|
|
188
|
-
}),
|
|
189
|
-
|
|
188
|
+
}), Pt = /*@__PURE__*/ p("ZodMiniString", (e, t) => {
|
|
189
|
+
xe.init(e, t), R.init(e, t);
|
|
190
190
|
});
|
|
191
191
|
// @__NO_SIDE_EFFECTS__
|
|
192
|
-
function
|
|
193
|
-
return
|
|
192
|
+
function Ft(e) {
|
|
193
|
+
return ue(Pt, e);
|
|
194
194
|
}
|
|
195
|
-
var
|
|
195
|
+
var It = /*@__PURE__*/ p("ZodMiniNumber", (e, t) => {
|
|
196
196
|
ee.init(e, t), R.init(e, t);
|
|
197
197
|
});
|
|
198
198
|
// @__NO_SIDE_EFFECTS__
|
|
199
199
|
function z(e) {
|
|
200
|
-
return
|
|
200
|
+
return he(It, e);
|
|
201
201
|
}
|
|
202
|
-
var
|
|
203
|
-
|
|
202
|
+
var Lt = /*@__PURE__*/ p("ZodMiniNever", (e, t) => {
|
|
203
|
+
de.init(e, t), R.init(e, t);
|
|
204
204
|
});
|
|
205
205
|
// @__NO_SIDE_EFFECTS__
|
|
206
|
-
function
|
|
207
|
-
return
|
|
206
|
+
function Rt(e) {
|
|
207
|
+
return Ne(Lt, e);
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var zt = /*@__PURE__*/ p("ZodMiniArray", (e, t) => {
|
|
210
210
|
d.init(e, t), R.init(e, t);
|
|
211
211
|
});
|
|
212
212
|
// @__NO_SIDE_EFFECTS__
|
|
213
|
-
function
|
|
214
|
-
return new
|
|
213
|
+
function Bt(e, t) {
|
|
214
|
+
return new zt({
|
|
215
215
|
type: "array",
|
|
216
216
|
element: e,
|
|
217
|
-
...
|
|
217
|
+
...ae(t)
|
|
218
218
|
});
|
|
219
219
|
}
|
|
220
|
-
var
|
|
220
|
+
var Vt = /*@__PURE__*/ p("ZodMiniObject", (e, t) => {
|
|
221
221
|
f.init(e, t), R.init(e, t), ie(e, "shape", () => t.shape);
|
|
222
222
|
});
|
|
223
223
|
// @__NO_SIDE_EFFECTS__
|
|
224
224
|
function B(e, t) {
|
|
225
|
-
return new
|
|
225
|
+
return new Vt({
|
|
226
226
|
type: "object",
|
|
227
227
|
shape: e,
|
|
228
|
-
catchall: /* @__PURE__ */
|
|
229
|
-
...
|
|
228
|
+
catchall: /* @__PURE__ */ Rt(),
|
|
229
|
+
...ae(t)
|
|
230
230
|
});
|
|
231
231
|
}
|
|
232
|
-
var
|
|
233
|
-
|
|
232
|
+
var Ht = /*@__PURE__*/ p("ZodMiniOptional", (e, t) => {
|
|
233
|
+
ce.init(e, t), R.init(e, t);
|
|
234
234
|
});
|
|
235
235
|
// @__NO_SIDE_EFFECTS__
|
|
236
236
|
function V(e) {
|
|
237
|
-
return new
|
|
237
|
+
return new Ht({
|
|
238
238
|
type: "optional",
|
|
239
239
|
innerType: e
|
|
240
240
|
});
|
|
241
241
|
}
|
|
242
|
-
var
|
|
243
|
-
|
|
242
|
+
var Ut = /*@__PURE__*/ p("ZodMiniCustom", (e, t) => {
|
|
243
|
+
Ae.init(e, t), R.init(e, t);
|
|
244
244
|
});
|
|
245
245
|
// @__NO_SIDE_EFFECTS__
|
|
246
|
-
function
|
|
247
|
-
return
|
|
246
|
+
function Wt(e, t = {}) {
|
|
247
|
+
return je(Ut, e, t);
|
|
248
248
|
}
|
|
249
249
|
//#endregion
|
|
250
250
|
//#region src/schemas/sdk.schemas.ts
|
|
251
|
-
var
|
|
251
|
+
var Gt = /* @__PURE__ */ B({
|
|
252
252
|
x: /* @__PURE__ */ z(),
|
|
253
253
|
y: /* @__PURE__ */ z()
|
|
254
|
-
}),
|
|
255
|
-
leftTop:
|
|
256
|
-
rightBottom:
|
|
257
|
-
}),
|
|
258
|
-
name: /* @__PURE__ */ V(/* @__PURE__ */
|
|
259
|
-
externalId: /* @__PURE__ */ V(/* @__PURE__ */
|
|
260
|
-
})).check(/* @__PURE__ */
|
|
261
|
-
booths: /* @__PURE__ */ V(/* @__PURE__ */
|
|
262
|
-
exhibitors: /* @__PURE__ */ V(/* @__PURE__ */
|
|
263
|
-
})).check(/* @__PURE__ */
|
|
254
|
+
}), Kt = /* @__PURE__ */ B({
|
|
255
|
+
leftTop: Gt,
|
|
256
|
+
rightBottom: Gt
|
|
257
|
+
}), qt = (/* @__PURE__ */ B({
|
|
258
|
+
name: /* @__PURE__ */ V(/* @__PURE__ */ Ft()),
|
|
259
|
+
externalId: /* @__PURE__ */ V(/* @__PURE__ */ Ft())
|
|
260
|
+
})).check(/* @__PURE__ */ Wt((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")), Jt = (/* @__PURE__ */ B({
|
|
261
|
+
booths: /* @__PURE__ */ V(/* @__PURE__ */ Bt(qt)),
|
|
262
|
+
exhibitors: /* @__PURE__ */ V(/* @__PURE__ */ Bt(qt))
|
|
263
|
+
})).check(/* @__PURE__ */ Wt((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")),
|
|
266
|
+
}, "Selector must contain booths or exhibitors")), Yt = /* @__PURE__ */ V(/* @__PURE__ */ B({ padding: /* @__PURE__ */ V(/* @__PURE__ */ z()) }));
|
|
267
267
|
//#endregion
|
|
268
268
|
//#region src/components/Kiosk/recoverKioskFromUrlPrams.ts
|
|
269
|
-
function
|
|
270
|
-
let t =
|
|
271
|
-
Object.values(t).length && (
|
|
269
|
+
function Xt(e) {
|
|
270
|
+
let t = _t(e);
|
|
271
|
+
Object.values(t).length && (yt(t, !1), vt(t));
|
|
272
272
|
}
|
|
273
273
|
//#endregion
|
|
274
274
|
//#region src/utils/getMostFrequent.ts
|
|
275
|
-
function
|
|
275
|
+
function Zt(e) {
|
|
276
276
|
let t = {}, n = 0, r;
|
|
277
277
|
return e.forEach((e) => {
|
|
278
278
|
t[e] = (t[e] || 0) + 1, t[e] > n && (n = t[e], r = e);
|
|
@@ -280,66 +280,66 @@ function qt(e) {
|
|
|
280
280
|
}
|
|
281
281
|
//#endregion
|
|
282
282
|
//#region src/services/multi-slug.ts
|
|
283
|
-
function
|
|
283
|
+
function Qt(e, t) {
|
|
284
284
|
if (!e.includes("&") && !e.includes("%26")) return null;
|
|
285
|
-
let n = e.startsWith("?") ? e.slice(1) : e, r = n.includes("&") ? "&" : "%26", i = n.split(r), a = (e) => !!e && !
|
|
285
|
+
let n = e.startsWith("?") ? e.slice(1) : e, r = n.includes("&") ? "&" : "%26", i = n.split(r), a = (e) => !!e && !m(e).includes("=");
|
|
286
286
|
return i.filter(a).length < 2 ? null : "?" + i.map((e) => a(e) && t(e) || e).join("&");
|
|
287
287
|
}
|
|
288
288
|
//#endregion
|
|
289
289
|
//#region src/services/url-dispatch.ts
|
|
290
290
|
var H = !1;
|
|
291
|
-
function
|
|
292
|
-
G(
|
|
293
|
-
let e =
|
|
294
|
-
Object.keys(e).length &&
|
|
295
|
-
let t =
|
|
296
|
-
Object.keys(t).length &&
|
|
291
|
+
function $t() {
|
|
292
|
+
G(g()), u(() => T.layerStore.layersLoaded, () => {
|
|
293
|
+
let e = g().camera;
|
|
294
|
+
Object.keys(e).length && gn(v(e));
|
|
295
|
+
let t = g().visibility;
|
|
296
|
+
Object.keys(t).length && k.setVisibility(t);
|
|
297
297
|
});
|
|
298
298
|
}
|
|
299
|
-
function
|
|
300
|
-
|
|
299
|
+
function en(e) {
|
|
300
|
+
at({
|
|
301
301
|
offHistory: e,
|
|
302
302
|
onNavigate: W
|
|
303
|
-
}),
|
|
304
|
-
|
|
303
|
+
}), on(), U(), u(() => T.layerStore.layersLoaded, () => {
|
|
304
|
+
T.urlFilterManager && !T.urlFilterManager.isInitialized && T.urlFilterManager.initialize(), W(), _e(K), _e(mn), k.viewerMode && (k.menu = !0);
|
|
305
305
|
});
|
|
306
306
|
}
|
|
307
|
-
function
|
|
308
|
-
|
|
307
|
+
function tn(e = "") {
|
|
308
|
+
M("?" + m(e.toString())), T.layerStore.layersLoaded ? nn(e) : (U(), u(() => T.layerStore.layersLoaded, () => nn(e)));
|
|
309
309
|
}
|
|
310
|
-
function
|
|
310
|
+
function nn(e) {
|
|
311
311
|
var t, n;
|
|
312
|
-
let r = "?" +
|
|
312
|
+
let r = "?" + m(e), i = un(r), a = [...(t = i.intents) == null ? [] : t, ...De(r).intents], { intents: s = [], ...c } = ve(r, {
|
|
313
313
|
visibility: i.visibility,
|
|
314
314
|
consent: i.consent,
|
|
315
315
|
intents: a
|
|
316
316
|
});
|
|
317
317
|
G(i), G(c);
|
|
318
318
|
let l = (n = i.consent) == null ? c.consent : n;
|
|
319
|
-
l &&
|
|
319
|
+
l && $e(l), i.camera && Object.keys(i.camera).length && gn(v(i.camera)), i.visibility && Object.keys(i.visibility).length && k.setVisibility(i.visibility), on(), W();
|
|
320
320
|
let u = [...a, ...s];
|
|
321
|
-
u.length && o(
|
|
321
|
+
u.length && o(T.fp, u);
|
|
322
322
|
}
|
|
323
323
|
function U() {
|
|
324
|
-
let e =
|
|
325
|
-
return
|
|
324
|
+
let e = E();
|
|
325
|
+
return Ke(e.length > 1 ? m(e.substring(1)) : "");
|
|
326
326
|
}
|
|
327
327
|
function W() {
|
|
328
328
|
H = !0;
|
|
329
329
|
try {
|
|
330
|
-
|
|
331
|
-
let { primary: e } =
|
|
332
|
-
!U() && !t &&
|
|
330
|
+
Xt(new URLSearchParams(m(window.location.search)));
|
|
331
|
+
let { primary: e } = ge(E()), t = e.type === "select" && (!e.slug || /^t=[^&]*$/.test(e.slug)) && (k.heatmap || k.heatmapYah);
|
|
332
|
+
!U() && !t && rn(e);
|
|
333
333
|
} finally {
|
|
334
334
|
H = !1;
|
|
335
335
|
}
|
|
336
|
-
|
|
336
|
+
mn(), K();
|
|
337
337
|
}
|
|
338
|
-
function
|
|
339
|
-
let t =
|
|
338
|
+
function rn(e) {
|
|
339
|
+
let t = T.fp;
|
|
340
340
|
switch (e.type) {
|
|
341
341
|
case "kiosk":
|
|
342
|
-
e.enabled !== null &&
|
|
342
|
+
e.enabled !== null && it(k, e.enabled);
|
|
343
343
|
return;
|
|
344
344
|
case "list":
|
|
345
345
|
t.showList(e.list);
|
|
@@ -356,13 +356,13 @@ function $t(e) {
|
|
|
356
356
|
return;
|
|
357
357
|
case "route":
|
|
358
358
|
var n, r;
|
|
359
|
-
|
|
359
|
+
T.routeStore.setOnlyAccessible(e.accessible), T.routeStore.selectRoute(gt((n = e.from) == null ? "" : n, (r = e.to) == null ? "" : r, e.waypoints)), T.uiState.setIsMultiPointRoute(e.waypoints.length > 0), e.title && T.uiState.setRouteTitle(e.title);
|
|
360
360
|
return;
|
|
361
361
|
case "selectExhibitors":
|
|
362
362
|
setTimeout(() => t.selectExhibitor(e.values), 250);
|
|
363
363
|
return;
|
|
364
364
|
case "ownedByFilters":
|
|
365
|
-
|
|
365
|
+
Le.log("Skipping filter parameters in dispatchFromUrl (owned by URLFilterManager)");
|
|
366
366
|
return;
|
|
367
367
|
case "ownedByConfig": return;
|
|
368
368
|
case "select":
|
|
@@ -370,88 +370,88 @@ function $t(e) {
|
|
|
370
370
|
return;
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
|
-
function
|
|
374
|
-
let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i =
|
|
375
|
-
if (
|
|
376
|
-
let e =
|
|
377
|
-
e &&
|
|
378
|
-
}
|
|
379
|
-
(n.length > 0 || r.length > 0) &&
|
|
380
|
-
|
|
373
|
+
function an(e) {
|
|
374
|
+
let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i = T.boothStore.booths.filter((e) => n.includes(e.externalId)), a = T.exhibitorStore.exhibitors.filter((e) => r.includes(e.externalId)).flatMap((e) => e.booths), o = [...i, ...a];
|
|
375
|
+
if (ct()) {
|
|
376
|
+
let e = Zt(o.map((e) => e.layer.name));
|
|
377
|
+
e && T.fp.activateFloor({ name: e });
|
|
378
|
+
}
|
|
379
|
+
(n.length > 0 || r.length > 0) && T.fp.highlightEntities([...n, ...r]), T.layerStore.showPathWay(t), o.length > 0 && Me(() => {
|
|
380
|
+
T.uiState.moveToRect = O.fromUnion(...o.map((e) => e.rect).filter(Boolean)), T.uiState.rollReset = !0;
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
-
function
|
|
384
|
-
let { oneShots: e } =
|
|
385
|
-
for (let t of e)
|
|
386
|
-
let t =
|
|
387
|
-
t !== null &&
|
|
383
|
+
function on() {
|
|
384
|
+
let { oneShots: e } = ge(E());
|
|
385
|
+
for (let t of e) sn(t);
|
|
386
|
+
let t = Ze(E());
|
|
387
|
+
t !== null && M("?" + t), k.previewExhibitor && M("?" + k.previewExhibitor.slug), ln();
|
|
388
388
|
}
|
|
389
|
-
function
|
|
389
|
+
function sn(e) {
|
|
390
390
|
switch (e.type) {
|
|
391
391
|
case "heatmap":
|
|
392
|
-
|
|
392
|
+
cn(e.yah);
|
|
393
393
|
return;
|
|
394
394
|
case "blueDot": {
|
|
395
395
|
var t, n;
|
|
396
|
-
let r = new
|
|
397
|
-
u(() =>
|
|
396
|
+
let r = new et(e.x, e.y, (t = T.layerStore.findLayer((n = e.layer) == null ? "" : n)) == null ? void 0 : t.name, void 0, e.lat, e.lng);
|
|
397
|
+
u(() => T.layerStore.layersLoaded, () => T.routeStore.selectCurrentPosition(r, !0, 1));
|
|
398
398
|
return;
|
|
399
399
|
}
|
|
400
400
|
case "viewerMode":
|
|
401
|
-
|
|
401
|
+
h && (e.enabled ? localStorage.setItem(Te, "true") : (localStorage.removeItem(Te), localStorage.removeItem(ne)));
|
|
402
402
|
return;
|
|
403
403
|
case "previewMode":
|
|
404
|
-
|
|
404
|
+
h && (e.enabled ? localStorage.setItem(c, "true") : (localStorage.removeItem(c), localStorage.removeItem(fe)));
|
|
405
405
|
return;
|
|
406
406
|
case "uiScale":
|
|
407
|
-
e.scale === null ?
|
|
407
|
+
e.scale === null ? Le.warn(`Invalid ui-scale parameter: ${e.raw}. Must be a number between 0.8 and 1.4.`) : T.uiState.setUIScale(e.scale, !0);
|
|
408
408
|
return;
|
|
409
409
|
case "resetUiScale":
|
|
410
|
-
|
|
410
|
+
T.uiState.resetUIScale();
|
|
411
411
|
return;
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
function
|
|
415
|
-
|
|
414
|
+
function cn(e) {
|
|
415
|
+
ht(), e ? (k.heatmapYah = !0, k.monochrome = !0, k.hideLogoInBooth = !0, k.hideHeaderLogo = !0, k.disableBookmarked = !0) : k.heatmap = !0;
|
|
416
416
|
}
|
|
417
|
-
function
|
|
418
|
-
let e =
|
|
419
|
-
let t =
|
|
417
|
+
function ln() {
|
|
418
|
+
let e = Qt(E(), (e) => {
|
|
419
|
+
let t = T.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
|
|
420
420
|
return t == null ? void 0 : t.name;
|
|
421
421
|
});
|
|
422
|
-
e !== null &&
|
|
422
|
+
e !== null && M(e);
|
|
423
423
|
}
|
|
424
424
|
function G(e) {
|
|
425
|
-
e.noOverlay !== void 0 && (
|
|
425
|
+
e.noOverlay !== void 0 && (k.hideOverlay = e.noOverlay), e.monochrome && (k.monochrome = !0), e.hideHeaderLogo && (k.hideHeaderLogo = !0), e.hideLogoInBooth && (k.hideLogoInBooth = !0), e.disableFeatured && T.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (k.disableBookmarked = !0), e.disableGps && T.routeStore.setGpsTrackingEnabled(!1), e.heatmap && r(e.heatmap) && cn(e.heatmap.variant === "yah");
|
|
426
426
|
}
|
|
427
|
-
function
|
|
428
|
-
return
|
|
427
|
+
function un(e) {
|
|
428
|
+
return Ce(ye, e).value;
|
|
429
429
|
}
|
|
430
|
-
var
|
|
431
|
-
function
|
|
432
|
-
let { selection: e, exhibitor: t, booth: n, eventItem: r } =
|
|
430
|
+
var dn = null, fn = null, pn = null;
|
|
431
|
+
function mn() {
|
|
432
|
+
let { selection: e, exhibitor: t, booth: n, eventItem: r } = hn(), i = T.urlFilterManager.filterSearch();
|
|
433
433
|
if (H) return;
|
|
434
|
-
let a =
|
|
435
|
-
|
|
434
|
+
let a = Se(e) || i;
|
|
435
|
+
E() !== a && (t !== dn || n !== fn || r !== pn ? ot(a) : M(a), dn = t, fn = n, pn = r);
|
|
436
436
|
}
|
|
437
|
-
function
|
|
438
|
-
let e =
|
|
437
|
+
function hn() {
|
|
438
|
+
let e = k.selectedExhibitor, t = k.selectedBooth, n = k.selectedEventItem, r = k.selectedRoute, i = k.selectedSpeaker, a = k.setKioskModeEnabled, o = k.list, s;
|
|
439
439
|
if (o.type === "route-planner" && !e && !t && !n) {
|
|
440
440
|
var c;
|
|
441
|
-
let e =
|
|
441
|
+
let e = T.routePlannerStore;
|
|
442
442
|
s = {
|
|
443
443
|
type: "planner",
|
|
444
444
|
fromBookmarks: e.source === "bookmarks",
|
|
445
445
|
items: e.items.map((e) => e.entity.slug).filter(Boolean),
|
|
446
446
|
from: ((c = e.startPoint) == null ? void 0 : c.slug) || void 0
|
|
447
447
|
};
|
|
448
|
-
} else if (r && !
|
|
448
|
+
} else if (r && !k.isMultiPointRoute) {
|
|
449
449
|
var l;
|
|
450
450
|
s = {
|
|
451
451
|
type: "route",
|
|
452
|
-
to: r.to instanceof
|
|
453
|
-
from: r.from instanceof
|
|
454
|
-
accessible:
|
|
452
|
+
to: r.to instanceof D ? r.to.slug : void 0,
|
|
453
|
+
from: r.from instanceof D ? r.from.slug : void 0,
|
|
454
|
+
accessible: T.routeStore.onlyAccessible,
|
|
455
455
|
waypoints: (l = r.waypoints) == null ? void 0 : l.map((e) => e.slug)
|
|
456
456
|
};
|
|
457
457
|
} else if (e) s = {
|
|
@@ -488,7 +488,7 @@ function un() {
|
|
|
488
488
|
var u, d;
|
|
489
489
|
s = {
|
|
490
490
|
type: "slug",
|
|
491
|
-
slug: (u = (d =
|
|
491
|
+
slug: (u = (d = k.selectedCategory) == null ? void 0 : d.slug) == null ? "" : u
|
|
492
492
|
};
|
|
493
493
|
break;
|
|
494
494
|
case "search":
|
|
@@ -519,21 +519,56 @@ function un() {
|
|
|
519
519
|
eventItem: n
|
|
520
520
|
};
|
|
521
521
|
}
|
|
522
|
-
function
|
|
523
|
-
let e =
|
|
524
|
-
e ? r = e.name : t ? r = t.name : n ? r = n.name :
|
|
522
|
+
function K() {
|
|
523
|
+
let e = k.selectedExhibitor, t = k.selectedEventItem, n = k.selectedSpeaker, r = "";
|
|
524
|
+
e ? r = e.name : t ? r = t.name : n ? r = n.name : k.list.type === "search" && k.list.text ? r = "`" + (k.list.text || "") + "`" : k.list.type === "multi-point-tour" && k.tourTitle && (r = k.tourTitle), r.length && (r += " – "), r += w.title, w.subtitle && (r += " – " + w.subtitle), r += " – Expo Floor Plan by ExpoFP", document.title = r;
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function gn(e) {
|
|
527
527
|
try {
|
|
528
|
-
if (
|
|
529
|
-
let t =
|
|
530
|
-
t &&
|
|
528
|
+
if (k.setMapSettings(e), e.z) {
|
|
529
|
+
let t = T.layerStore.layers.find((t) => t.name === e.z);
|
|
530
|
+
t && T.layerStore.updateVisibility(t, !0);
|
|
531
531
|
}
|
|
532
532
|
} catch (e) {
|
|
533
533
|
console.error("Failed to process map settings.", e);
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
536
|
//#endregion
|
|
537
|
+
//#region src/store/details-events.ts
|
|
538
|
+
function _n() {
|
|
539
|
+
return ke(() => k.details, () => {
|
|
540
|
+
var e;
|
|
541
|
+
if (!k.onDetails) return;
|
|
542
|
+
if (!k.details) {
|
|
543
|
+
k.onDetails(null);
|
|
544
|
+
return;
|
|
545
|
+
}
|
|
546
|
+
let t = k.details;
|
|
547
|
+
if (Je.EXPO === "wineparis" && (t instanceof j && (t = t.booths[0]), !t)) return;
|
|
548
|
+
let n = null, r = [];
|
|
549
|
+
if (t instanceof j) n = "exhibitor", r = t.booths.map((e) => e.name).sort((e, t) => {
|
|
550
|
+
var n, r;
|
|
551
|
+
return e == ((n = T.routeStore.tempToBooth) == null ? void 0 : n.name) ? -1 : +(t == ((r = T.routeStore.tempToBooth) == null ? void 0 : r.name));
|
|
552
|
+
});
|
|
553
|
+
else if (t instanceof D) n = "booth", r = [t.name];
|
|
554
|
+
else if (t instanceof y) {
|
|
555
|
+
var i, a;
|
|
556
|
+
n = "route", r = [(i = t.from) == null ? void 0 : i.name, (a = t.to) == null ? void 0 : a.name].filter((e) => !!e);
|
|
557
|
+
} else t instanceof mt && (n = "category", r = t.exhibitors.map((e) => e.booths.map((e) => e.name)).flat());
|
|
558
|
+
let o = t, s = {
|
|
559
|
+
type: n,
|
|
560
|
+
name: o == null ? void 0 : o.name,
|
|
561
|
+
id: o == null ? void 0 : o.id,
|
|
562
|
+
externalId: o == null ? void 0 : o.externalId,
|
|
563
|
+
boothsNames: r
|
|
564
|
+
};
|
|
565
|
+
k.onDetails({
|
|
566
|
+
...s,
|
|
567
|
+
...n === "route" ? { routeInfo: (e = T.routeStore.routeInfo) == null ? void 0 : e } : {}
|
|
568
|
+
});
|
|
569
|
+
});
|
|
570
|
+
}
|
|
571
|
+
//#endregion
|
|
537
572
|
//#region src/utils/mapEntity.ts
|
|
538
573
|
function q(e) {
|
|
539
574
|
switch (e.entity.type) {
|
|
@@ -607,33 +642,33 @@ function Y(e) {
|
|
|
607
642
|
}
|
|
608
643
|
//#endregion
|
|
609
644
|
//#region src/floorplan.ready.tsx
|
|
610
|
-
var X =
|
|
611
|
-
(0,
|
|
612
|
-
var
|
|
645
|
+
var X = Ie(), Z = (0, Tt.default)("efp:api");
|
|
646
|
+
(0, Dt.install)();
|
|
647
|
+
var vn = class extends s {
|
|
613
648
|
constructor(...e) {
|
|
614
|
-
super(...e), this.root = void 0;
|
|
649
|
+
super(...e), this.root = void 0, this.disposeDetailsEvents = void 0, this.disposeBoothHitTest = void 0;
|
|
615
650
|
}
|
|
616
651
|
init() {
|
|
617
|
-
|
|
652
|
+
$t(), this.ignoreQuery || en(this.offHistory), dt("load"), lt(T), T.fp = this, this.disposeDetailsEvents = _n(), this.disposeBoothHitTest = tt(), $e(this.consent), rt(N.Load, ""), this.root = (0, Et.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, X.jsx)(wt, { children: /* @__PURE__ */ (0, X.jsx)(qe, {
|
|
618
653
|
offHistory: this.offHistory,
|
|
619
654
|
consent: this.consent
|
|
620
|
-
}) })),
|
|
621
|
-
if (this.resolveReady(), !
|
|
655
|
+
}) })), rt(N.Rendered, ""), ke(() => T.layerStore.layersLoaded, () => {
|
|
656
|
+
if (this.resolveReady(), !T.initialized) {
|
|
622
657
|
var e;
|
|
623
658
|
(e = this.onInit) == null || e.call(this, this);
|
|
624
659
|
}
|
|
625
|
-
|
|
660
|
+
T.initialized = !0;
|
|
626
661
|
});
|
|
627
|
-
let e =
|
|
628
|
-
e && import("./bootIntercom-
|
|
662
|
+
let e = Nt(w);
|
|
663
|
+
e && import("./bootIntercom-DQcGuly8.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
|
|
629
664
|
}
|
|
630
665
|
selectBooth(e) {
|
|
631
666
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
632
667
|
$("selectBooth", "Parameter must be a string or an array of strings.", "EFP000000");
|
|
633
668
|
return;
|
|
634
669
|
}
|
|
635
|
-
let t =
|
|
636
|
-
|
|
670
|
+
let t = T.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
671
|
+
T.selectBooth(t);
|
|
637
672
|
}
|
|
638
673
|
selectExhibitor(e) {
|
|
639
674
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
@@ -641,35 +676,35 @@ var pn = class extends s {
|
|
|
641
676
|
return;
|
|
642
677
|
}
|
|
643
678
|
if (!(e != null && e.length)) {
|
|
644
|
-
|
|
679
|
+
T.uiState.menu = !1, T.searchStore.resetSearchBox(), T.uiState.details = null;
|
|
645
680
|
return;
|
|
646
681
|
}
|
|
647
|
-
let t =
|
|
682
|
+
let t = T.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
648
683
|
if (!(t != null && t.length)) return;
|
|
649
684
|
if (typeof e == "string") {
|
|
650
|
-
|
|
685
|
+
T.selectExhibitor(t[0]), T.moveToList([t[0]]);
|
|
651
686
|
return;
|
|
652
687
|
}
|
|
653
|
-
let n =
|
|
654
|
-
n &&
|
|
688
|
+
let n = Zt(t.flatMap((e) => e.booths.map((e) => e.layer)).map((e) => e.description));
|
|
689
|
+
n && T.layerStore.updateVisibility(n, !0), T.uiState.menu = !1, T.searchStore.resetSearchBox(), T.uiState.details = null, T.uiState.list = {
|
|
655
690
|
type: "filter",
|
|
656
691
|
items: t,
|
|
657
692
|
query: {
|
|
658
693
|
key: "exhibitors",
|
|
659
694
|
value: t.map((e) => e.name).join(",")
|
|
660
695
|
}
|
|
661
|
-
},
|
|
696
|
+
}, T.moveToList();
|
|
662
697
|
}
|
|
663
698
|
highlightExhibitors(e) {
|
|
664
|
-
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"),
|
|
699
|
+
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), T.boothStore.highlightedByExternalIds = [], T.exhibitorStore.highlightedByExternalIds = [...e];
|
|
665
700
|
}
|
|
666
701
|
highlightBooths(e) {
|
|
667
|
-
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"),
|
|
702
|
+
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), T.exhibitorStore.highlightedByExternalIds = [], T.boothStore.highlightedByExternalIds = [...e];
|
|
668
703
|
}
|
|
669
704
|
highlightEntities(e) {
|
|
670
705
|
Array.isArray(e) || $("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
|
|
671
|
-
let { boothExternalIds: t, exhibitorExternalIds: n } =
|
|
672
|
-
|
|
706
|
+
let { boothExternalIds: t, exhibitorExternalIds: n } = b(e);
|
|
707
|
+
T.boothStore.highlightedByExternalIds = [...t], T.exhibitorStore.highlightedByExternalIds = [...n];
|
|
673
708
|
}
|
|
674
709
|
selectRoute(e, t) {
|
|
675
710
|
if (Array.isArray(e)) {
|
|
@@ -679,10 +714,10 @@ var pn = class extends s {
|
|
|
679
714
|
$("selectRoute", "Invalid route format: When providing an array, it must include at least two points: a start and a destination.", "EFP000401");
|
|
680
715
|
return;
|
|
681
716
|
}
|
|
682
|
-
|
|
717
|
+
T.routeStore.selectRoute(new y(Q(n), Q(r), t.map(Q)));
|
|
683
718
|
return;
|
|
684
719
|
}
|
|
685
|
-
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"),
|
|
720
|
+
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), T.routeStore.selectRoute(new y(Q(e), Q(t)));
|
|
686
721
|
}
|
|
687
722
|
getOptimizedRoutes(e) {
|
|
688
723
|
if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
|
|
@@ -695,19 +730,19 @@ var pn = class extends s {
|
|
|
695
730
|
let t = (r = (i = e.layer) == null ? void 0 : i.name) == null ? "" : r, a = n.get(t);
|
|
696
731
|
a ? a.push(e) : n.set(t, [e]);
|
|
697
732
|
}
|
|
698
|
-
return Array.from(n.values()).map((e) => ({ waypoints:
|
|
733
|
+
return Array.from(n.values()).map((e) => ({ waypoints: Ye(e.map((e) => [e.name, {
|
|
699
734
|
x: e.rect.center.x,
|
|
700
735
|
y: e.rect.center.y
|
|
701
736
|
}])) }));
|
|
702
737
|
}
|
|
703
738
|
selectCurrentPosition(e, t, n) {
|
|
704
739
|
var r;
|
|
705
|
-
let i =
|
|
706
|
-
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"),
|
|
740
|
+
let i = S(e.x) && S(e.y), a = S(e.lng) && S(e.lat);
|
|
741
|
+
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), T.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
|
|
707
742
|
}
|
|
708
743
|
setBookmarks(e) {
|
|
709
744
|
(!Array.isArray(e) || !e.length) && $("setBookmarks", "Parameter must be an array.", "EFP000700"), e.forEach((e) => {
|
|
710
|
-
let t =
|
|
745
|
+
let t = T.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
|
|
711
746
|
t && (t.bookmarked = e.bookmarked);
|
|
712
747
|
});
|
|
713
748
|
}
|
|
@@ -726,29 +761,29 @@ var pn = class extends s {
|
|
|
726
761
|
$("setEntitiesBookmarks", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000702");
|
|
727
762
|
return;
|
|
728
763
|
}
|
|
729
|
-
let r =
|
|
764
|
+
let r = A("bookmarked"), i = {
|
|
730
765
|
exhibitor: {
|
|
731
766
|
existingIds: new Set(r.exhibitors || []),
|
|
732
|
-
finder: (e) =>
|
|
733
|
-
replacer: (e) =>
|
|
767
|
+
finder: (e) => T.exhibitorStore.findExhibitor(e),
|
|
768
|
+
replacer: (e) => T.exhibitorStore.replaceBookmarked(e)
|
|
734
769
|
},
|
|
735
770
|
event: {
|
|
736
771
|
existingIds: new Set(r.events || []),
|
|
737
|
-
finder: (e) =>
|
|
738
|
-
replacer: (e) =>
|
|
772
|
+
finder: (e) => T.eventStore.findByNameOrSlug(e),
|
|
773
|
+
replacer: (e) => T.eventStore.replaceBookmarked(e)
|
|
739
774
|
},
|
|
740
775
|
speaker: {
|
|
741
776
|
existingIds: new Set(r.speakers || []),
|
|
742
|
-
finder: (e) =>
|
|
743
|
-
replacer: (e) =>
|
|
777
|
+
finder: (e) => T.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
|
|
778
|
+
replacer: (e) => T.speakerStore.replaceBookmarked(e)
|
|
744
779
|
},
|
|
745
780
|
booth: {
|
|
746
781
|
existingIds: new Set(r.booths || []),
|
|
747
782
|
finder: (e) => {
|
|
748
|
-
let t =
|
|
783
|
+
let t = T.boothStore.findBooth(e);
|
|
749
784
|
return (t == null ? void 0 : t.exhibitors.length) === 0 ? t : void 0;
|
|
750
785
|
},
|
|
751
|
-
replacer: (e) =>
|
|
786
|
+
replacer: (e) => T.boothStore.replaceBookmarked(e)
|
|
752
787
|
}
|
|
753
788
|
};
|
|
754
789
|
e.forEach((e) => {
|
|
@@ -768,16 +803,16 @@ var pn = class extends s {
|
|
|
768
803
|
$("setEntitiesVisited", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000704");
|
|
769
804
|
return;
|
|
770
805
|
}
|
|
771
|
-
let r =
|
|
806
|
+
let r = A("visited"), i = {
|
|
772
807
|
exhibitor: {
|
|
773
808
|
existingIds: new Set(r.exhibitors || []),
|
|
774
|
-
finder: (e) =>
|
|
775
|
-
replacer: (e) =>
|
|
809
|
+
finder: (e) => T.exhibitorStore.findExhibitor(e),
|
|
810
|
+
replacer: (e) => T.exhibitorStore.replaceVisited(e)
|
|
776
811
|
},
|
|
777
812
|
event: {
|
|
778
813
|
existingIds: new Set(r.events || []),
|
|
779
|
-
finder: (e) =>
|
|
780
|
-
replacer: (e) =>
|
|
814
|
+
finder: (e) => T.eventStore.findByNameOrSlug(e),
|
|
815
|
+
replacer: (e) => T.eventStore.replaceVisited(e)
|
|
781
816
|
}
|
|
782
817
|
};
|
|
783
818
|
e.forEach((e) => {
|
|
@@ -792,94 +827,94 @@ var pn = class extends s {
|
|
|
792
827
|
$("setMarkers", "Invalid input.", "EFP000800");
|
|
793
828
|
return;
|
|
794
829
|
}
|
|
795
|
-
|
|
830
|
+
T.routeStore.setMarkers(e);
|
|
796
831
|
}
|
|
797
832
|
selectMarker(e, t = !0) {
|
|
798
|
-
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"),
|
|
833
|
+
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), T.routeStore.selectMarker(e, t);
|
|
799
834
|
}
|
|
800
835
|
drawCircles(e) {
|
|
801
|
-
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"),
|
|
836
|
+
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), T.uiState.debugCircles = e;
|
|
802
837
|
}
|
|
803
838
|
checkRoutes() {
|
|
804
|
-
|
|
839
|
+
T.routeStore.checkRoutes();
|
|
805
840
|
}
|
|
806
841
|
updateLayerVisibility(e, t) {
|
|
807
|
-
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"),
|
|
842
|
+
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"), T.layerStore.updateVisibility(e, t);
|
|
808
843
|
}
|
|
809
844
|
getCenterCoordinates() {
|
|
810
|
-
return
|
|
845
|
+
return T.fp.getCenterCoordinates();
|
|
811
846
|
}
|
|
812
847
|
exhibitorsList() {
|
|
813
|
-
return
|
|
848
|
+
return T.exhibitorStore.exhibitors.map((e) => q(e));
|
|
814
849
|
}
|
|
815
850
|
boothsList() {
|
|
816
|
-
return
|
|
851
|
+
return T.boothStore.booths.map((e) => q(e));
|
|
817
852
|
}
|
|
818
853
|
categoriesList() {
|
|
819
|
-
return
|
|
854
|
+
return T.categoryStore.categories.map((e) => q(e));
|
|
820
855
|
}
|
|
821
856
|
selectCategory(e) {
|
|
822
857
|
if (e == null || typeof e != "string") {
|
|
823
|
-
|
|
858
|
+
T.searchStore.selectSearch();
|
|
824
859
|
return;
|
|
825
860
|
}
|
|
826
|
-
let t = e == null ? void 0 : e.toLowerCase(), n =
|
|
861
|
+
let t = e == null ? void 0 : e.toLowerCase(), n = T.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
|
|
827
862
|
if (!n) {
|
|
828
863
|
$("selectCategory", `Category ${e} not found.`, "EFP000C01");
|
|
829
864
|
return;
|
|
830
865
|
}
|
|
831
|
-
|
|
866
|
+
T.selectCategory(n);
|
|
832
867
|
}
|
|
833
868
|
select(e) {
|
|
834
869
|
if (typeof e != "string") {
|
|
835
870
|
$("select", "Parameter must be a string.", "EFP001700");
|
|
836
871
|
return;
|
|
837
872
|
}
|
|
838
|
-
let t = e, n = t == null ? void 0 : t.toLowerCase(), r =
|
|
873
|
+
let t = e, n = t == null ? void 0 : t.toLowerCase(), r = T.boothStore.booths.find((e) => {
|
|
839
874
|
var t, r, i;
|
|
840
875
|
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;
|
|
841
876
|
});
|
|
842
877
|
if (r) {
|
|
843
|
-
setTimeout(() =>
|
|
878
|
+
setTimeout(() => T.selectBooth(r), 250);
|
|
844
879
|
return;
|
|
845
880
|
}
|
|
846
|
-
let i =
|
|
881
|
+
let i = T.eventStore.eventItems.find((e) => {
|
|
847
882
|
var t, r;
|
|
848
883
|
return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
|
|
849
884
|
});
|
|
850
885
|
if (i) {
|
|
851
|
-
|
|
886
|
+
T.selectEventItem(i, !0);
|
|
852
887
|
return;
|
|
853
888
|
}
|
|
854
|
-
let a =
|
|
889
|
+
let a = T.exhibitorStore.exhibitors.find((e) => {
|
|
855
890
|
var t, r;
|
|
856
891
|
return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
|
|
857
892
|
});
|
|
858
893
|
if (a) {
|
|
859
|
-
setTimeout(() =>
|
|
894
|
+
setTimeout(() => T.clickExhibitor(a), 250);
|
|
860
895
|
return;
|
|
861
896
|
}
|
|
862
|
-
let o =
|
|
897
|
+
let o = T.categoryStore.categories.find((e) => e.slug === t);
|
|
863
898
|
if (o) {
|
|
864
|
-
|
|
899
|
+
T.selectCategory(o);
|
|
865
900
|
return;
|
|
866
901
|
}
|
|
867
|
-
let s =
|
|
902
|
+
let s = T.speakerStore.findBySlug(t);
|
|
868
903
|
if (s) {
|
|
869
|
-
|
|
904
|
+
T.selectSpeaker(s, !0);
|
|
870
905
|
return;
|
|
871
906
|
}
|
|
872
|
-
t.includes("heatmap=true") ||
|
|
907
|
+
t.includes("heatmap=true") || T.searchStore.selectSearch(t);
|
|
873
908
|
}
|
|
874
909
|
showList(e) {
|
|
875
910
|
let t = {
|
|
876
|
-
bookmarks: () =>
|
|
877
|
-
visited: () =>
|
|
878
|
-
sessions: () =>
|
|
879
|
-
exhibitors: () =>
|
|
880
|
-
speakers: () =>
|
|
881
|
-
tours: () =>
|
|
882
|
-
language: () =>
|
|
911
|
+
bookmarks: () => T.selectBookmarks(),
|
|
912
|
+
visited: () => T.selectVisited(),
|
|
913
|
+
sessions: () => T.selectSessions(),
|
|
914
|
+
exhibitors: () => T.selectExhibitors(),
|
|
915
|
+
speakers: () => T.selectSpeakers(),
|
|
916
|
+
tours: () => T.selectTours(),
|
|
917
|
+
language: () => T.selectLanguage()
|
|
883
918
|
}, n = t[e];
|
|
884
919
|
if (!n) {
|
|
885
920
|
$("showList", `Unknown list "${e}". Must be one of: ${Object.keys(t).join(", ")}.`, "EFP001800");
|
|
@@ -892,65 +927,65 @@ var pn = class extends s {
|
|
|
892
927
|
$("selectTour", "A tour id must be passed.", "EFP001900");
|
|
893
928
|
return;
|
|
894
929
|
}
|
|
895
|
-
let t =
|
|
896
|
-
t ?
|
|
930
|
+
let t = T.toursStore.getTourById(e);
|
|
931
|
+
t ? T.toursStore.launchTour(t, t.name, t.description) : (console.warn(`Route with id "${e}" not found`), T.selectTours());
|
|
897
932
|
}
|
|
898
933
|
openPlanner(e = {}) {
|
|
899
934
|
if (typeof e != "object" || !e) {
|
|
900
935
|
$("openPlanner", "An options object must be passed.", "EFP001A00");
|
|
901
936
|
return;
|
|
902
937
|
}
|
|
903
|
-
let t = e.from ?
|
|
904
|
-
if (e.fromBookmarks)
|
|
938
|
+
let t = e.from ? C(e.from) : null;
|
|
939
|
+
if (e.fromBookmarks) T.routePlannerStore.launchFromBookmarks(t == null ? void 0 : t);
|
|
905
940
|
else {
|
|
906
941
|
var n;
|
|
907
|
-
|
|
942
|
+
T.routePlannerStore.launchFromSlugs((n = e.items) == null ? [] : n, t == null ? void 0 : t);
|
|
908
943
|
}
|
|
909
944
|
}
|
|
910
945
|
startBuildRoute() {
|
|
911
|
-
|
|
946
|
+
T.uiState.startBuildRoute();
|
|
912
947
|
}
|
|
913
948
|
applyParameters(e) {
|
|
914
|
-
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"),
|
|
949
|
+
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), tn(e);
|
|
915
950
|
}
|
|
916
951
|
getVisibility() {
|
|
917
|
-
return
|
|
952
|
+
return T.uiState.visibility;
|
|
918
953
|
}
|
|
919
954
|
setVisibility(e) {
|
|
920
|
-
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"),
|
|
955
|
+
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), T.uiState.setVisibility(e);
|
|
921
956
|
}
|
|
922
957
|
findLocation() {
|
|
923
|
-
|
|
958
|
+
T.routeStore.findLocation();
|
|
924
959
|
}
|
|
925
960
|
zoomIn() {
|
|
926
|
-
|
|
961
|
+
T.uiState.zoomIn();
|
|
927
962
|
}
|
|
928
963
|
zoomOut() {
|
|
929
|
-
|
|
964
|
+
T.uiState.zoomOut();
|
|
930
965
|
}
|
|
931
966
|
switchView() {
|
|
932
|
-
|
|
967
|
+
T.maplibreStore.activateMaplibre();
|
|
933
968
|
}
|
|
934
969
|
setCamera(e) {
|
|
935
970
|
Z("setCamera called with camera=%O", e);
|
|
936
|
-
let t =
|
|
971
|
+
let t = me.safeParse(e);
|
|
937
972
|
if (!t.success) {
|
|
938
973
|
$("setCamera", t.error.message, "EFP001B00");
|
|
939
974
|
return;
|
|
940
975
|
}
|
|
941
|
-
|
|
976
|
+
T.uiState.setMapSettings(v(t.data));
|
|
942
977
|
}
|
|
943
978
|
getCamera() {
|
|
944
|
-
return
|
|
979
|
+
return Ge(T.uiState.mapSettings);
|
|
945
980
|
}
|
|
946
981
|
zoomTo(e, t) {
|
|
947
982
|
Z("zoomTo called with selectors=%O options=%O", e, t);
|
|
948
|
-
let n =
|
|
983
|
+
let n = Jt.safeParse(e);
|
|
949
984
|
if (!n.success) {
|
|
950
985
|
$("zoomTo", n.error.message, "EFP001600");
|
|
951
986
|
return;
|
|
952
987
|
}
|
|
953
|
-
let r =
|
|
988
|
+
let r = Yt.safeParse(t);
|
|
954
989
|
if (!r.success) {
|
|
955
990
|
$("zoomTo", r.error.message, "EFP001601");
|
|
956
991
|
return;
|
|
@@ -961,7 +996,7 @@ var pn = class extends s {
|
|
|
961
996
|
getBounds(e) {
|
|
962
997
|
var t, n;
|
|
963
998
|
Z("getBounds called with selectors=%O", e);
|
|
964
|
-
let r =
|
|
999
|
+
let r = Jt.safeParse(e);
|
|
965
1000
|
if (!r.success) {
|
|
966
1001
|
$("getBounds", r.error.message, "EFP001400");
|
|
967
1002
|
return;
|
|
@@ -969,15 +1004,15 @@ var pn = class extends s {
|
|
|
969
1004
|
let i = [];
|
|
970
1005
|
if ((t = e.booths) == null || t.forEach((e) => {
|
|
971
1006
|
let t;
|
|
972
|
-
e.externalId ? t =
|
|
1007
|
+
e.externalId ? t = T.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = T.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
|
|
973
1008
|
}), (n = e.exhibitors) == null || n.forEach((e) => {
|
|
974
1009
|
var t;
|
|
975
1010
|
let n;
|
|
976
|
-
e.externalId ? n =
|
|
1011
|
+
e.externalId ? n = T.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = T.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
|
|
977
1012
|
e.rect && i.push(e.rect);
|
|
978
1013
|
});
|
|
979
1014
|
}), i.length === 0) return;
|
|
980
|
-
let a =
|
|
1015
|
+
let a = O.fromUnion(...i);
|
|
981
1016
|
return {
|
|
982
1017
|
leftTop: {
|
|
983
1018
|
x: a.min.x,
|
|
@@ -991,37 +1026,37 @@ var pn = class extends s {
|
|
|
991
1026
|
}
|
|
992
1027
|
fitBounds(e, t) {
|
|
993
1028
|
if (Z("fitBounds called with bounds=%O options=%O", e, t), !e) {
|
|
994
|
-
|
|
1029
|
+
T.uiState.fitBounds();
|
|
995
1030
|
return;
|
|
996
1031
|
}
|
|
997
|
-
let n =
|
|
1032
|
+
let n = Kt.safeParse(e);
|
|
998
1033
|
if (!n.success) {
|
|
999
1034
|
$("fitBounds", n.error.message, "EFP001500");
|
|
1000
1035
|
return;
|
|
1001
1036
|
}
|
|
1002
|
-
let r =
|
|
1037
|
+
let r = Yt.safeParse(t);
|
|
1003
1038
|
if (!r.success) {
|
|
1004
1039
|
$("fitBounds", r.error.message, "EFP001501");
|
|
1005
1040
|
return;
|
|
1006
1041
|
}
|
|
1007
|
-
let i =
|
|
1042
|
+
let i = O.fromMinMax({
|
|
1008
1043
|
x: e.leftTop.x,
|
|
1009
1044
|
y: e.leftTop.y
|
|
1010
1045
|
}, {
|
|
1011
1046
|
x: e.rightBottom.x,
|
|
1012
1047
|
y: e.rightBottom.y
|
|
1013
1048
|
});
|
|
1014
|
-
|
|
1049
|
+
T.uiState.moveToRect = t != null && t.padding ? i.expand(t.padding) : i;
|
|
1015
1050
|
}
|
|
1016
1051
|
getBoothRect(e) {
|
|
1017
1052
|
var t;
|
|
1018
1053
|
typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00");
|
|
1019
|
-
let n = (t =
|
|
1020
|
-
return n ?
|
|
1054
|
+
let n = (t = C(e)) == null ? void 0 : t.rect;
|
|
1055
|
+
return n ? bn.fromBox(n) : void 0;
|
|
1021
1056
|
}
|
|
1022
1057
|
convertToGeo(e, t) {
|
|
1023
1058
|
var n;
|
|
1024
|
-
if (!(!(
|
|
1059
|
+
if (!(!(x == null || (n = x.properties) == null) && n.config)) {
|
|
1025
1060
|
$("convertToGeo", "The coordinates cannot be converted because the GPS configuration is not defined.", "EFP001000");
|
|
1026
1061
|
return;
|
|
1027
1062
|
}
|
|
@@ -1029,11 +1064,11 @@ var pn = class extends s {
|
|
|
1029
1064
|
$("convertToGeo", "Both coordinates must be passed.", "EFP001001");
|
|
1030
1065
|
return;
|
|
1031
1066
|
}
|
|
1032
|
-
return
|
|
1067
|
+
return Qe(e, t, x.properties.config);
|
|
1033
1068
|
}
|
|
1034
1069
|
getGeoConfig() {
|
|
1035
1070
|
var e, t;
|
|
1036
|
-
let n =
|
|
1071
|
+
let n = x == null || (e = x.properties) == null ? void 0 : e.config;
|
|
1037
1072
|
return n ? {
|
|
1038
1073
|
bearing: (t = n.bearing) == null ? 0 : t,
|
|
1039
1074
|
p0: n.p0,
|
|
@@ -1042,16 +1077,17 @@ var pn = class extends s {
|
|
|
1042
1077
|
} : null;
|
|
1043
1078
|
}
|
|
1044
1079
|
releaseResources() {
|
|
1045
|
-
|
|
1080
|
+
var e, t;
|
|
1081
|
+
window.removeEventListener("error", i), (e = this.disposeDetailsEvents) == null || e.call(this), this.disposeDetailsEvents = void 0, (t = this.disposeBoothHitTest) == null || t.call(this), this.disposeBoothHitTest = void 0, T.maplibreStore.dispose(), ut(), st(), nt(), pt(), this.root.unmount(), super.releaseResources();
|
|
1046
1082
|
}
|
|
1047
1083
|
search(e) {
|
|
1048
|
-
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"),
|
|
1084
|
+
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), T.fuzzySearchEngineStore.loadEngine().then(() => (T.searchStore.selectSearch(e), T.uiState.fuzzySearchItems.map((e) => ({
|
|
1049
1085
|
item: q(e.item),
|
|
1050
1086
|
score: e.score
|
|
1051
1087
|
}))));
|
|
1052
1088
|
}
|
|
1053
1089
|
getFloors() {
|
|
1054
|
-
return
|
|
1090
|
+
return T.layerStore.floors.map((e) => ({
|
|
1055
1091
|
name: e.name,
|
|
1056
1092
|
shortName: e.shortName,
|
|
1057
1093
|
description: e.description,
|
|
@@ -1088,70 +1124,70 @@ var pn = class extends s {
|
|
|
1088
1124
|
}
|
|
1089
1125
|
}
|
|
1090
1126
|
showPathway(e, t) {
|
|
1091
|
-
let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ?
|
|
1127
|
+
let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ? b(t) : {
|
|
1092
1128
|
boothExternalIds: [],
|
|
1093
1129
|
exhibitorExternalIds: []
|
|
1094
1130
|
};
|
|
1095
|
-
|
|
1131
|
+
an({
|
|
1096
1132
|
pathwayId: e,
|
|
1097
1133
|
boothIds: n,
|
|
1098
1134
|
exhibitorIds: r
|
|
1099
1135
|
});
|
|
1100
1136
|
}
|
|
1101
1137
|
showPathwayOnly(e, t) {
|
|
1102
|
-
this.activateFloor({ name: t }),
|
|
1103
|
-
let n =
|
|
1138
|
+
this.activateFloor({ name: t }), T.layerStore.showPathWay(e), T.uiState.setPathwayOnlyMode(!0);
|
|
1139
|
+
let n = T.layerStore.findLayer(e), r = T.layerStore.findLayer(t), i = n != null && n.rect || n != null && n.viewbox ? n : r;
|
|
1104
1140
|
if (i != null && i.rect || i != null && i.viewbox) {
|
|
1105
1141
|
var a;
|
|
1106
1142
|
let e = (a = i.viewbox) == null ? i.rect : a;
|
|
1107
|
-
|
|
1143
|
+
T.uiState.moveToRect = e.clone();
|
|
1108
1144
|
}
|
|
1109
1145
|
}
|
|
1110
1146
|
hidePathways() {
|
|
1111
|
-
this.highlightBooths([]),
|
|
1147
|
+
this.highlightBooths([]), T.layerStore.hidePathways(), T.uiState.setPathwayOnlyMode(!1);
|
|
1112
1148
|
}
|
|
1113
1149
|
showSearch() {
|
|
1114
|
-
|
|
1150
|
+
T.selectSearch("");
|
|
1115
1151
|
}
|
|
1116
1152
|
changeLanguage(e) {
|
|
1117
1153
|
var t;
|
|
1118
1154
|
let n = e == null || (t = e.toLowerCase) == null ? void 0 : t.call(e);
|
|
1119
|
-
if (!
|
|
1120
|
-
$("changeLanguage", `Language "${e}" was not found. Available languages: ${
|
|
1155
|
+
if (!Oe(n)) {
|
|
1156
|
+
$("changeLanguage", `Language "${e}" was not found. Available languages: ${we().map((e) => e.id).join(",")}`, "EFP001300");
|
|
1121
1157
|
return;
|
|
1122
1158
|
}
|
|
1123
|
-
|
|
1159
|
+
Ee(n);
|
|
1124
1160
|
}
|
|
1125
1161
|
isGpsTrackingEnabled() {
|
|
1126
|
-
return
|
|
1162
|
+
return T.routeStore.gpsEnabled;
|
|
1127
1163
|
}
|
|
1128
1164
|
setGpsTrackingEnabled(e) {
|
|
1129
|
-
|
|
1165
|
+
T.routeStore.setGpsTrackingEnabled(e);
|
|
1130
1166
|
}
|
|
1131
1167
|
deselectCurrentPosition() {
|
|
1132
|
-
|
|
1168
|
+
T.routeStore.selectCurrentPosition(null, !1);
|
|
1133
1169
|
}
|
|
1134
1170
|
deselectRoute() {
|
|
1135
|
-
|
|
1171
|
+
T.routeStore.selectRoute(null), T.routeStore.setOnlyAccessible(!1);
|
|
1136
1172
|
}
|
|
1137
1173
|
reset() {
|
|
1138
|
-
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]),
|
|
1174
|
+
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), T.uiState.kioskData && T.resetCameraFn) {
|
|
1139
1175
|
var e;
|
|
1140
|
-
(e =
|
|
1176
|
+
(e = T.resetCameraFn) == null || e.call(T);
|
|
1141
1177
|
} else this.fitBounds();
|
|
1142
1178
|
}
|
|
1143
1179
|
selectAccessibleRoute(e) {
|
|
1144
|
-
|
|
1180
|
+
T.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
|
|
1145
1181
|
}
|
|
1146
1182
|
};
|
|
1147
1183
|
function Q(e) {
|
|
1148
|
-
return typeof e == "string" ?
|
|
1184
|
+
return typeof e == "string" ? C(e) : T.routeStore.getNearestBooth(e);
|
|
1149
1185
|
}
|
|
1150
|
-
var
|
|
1186
|
+
var yn = 0;
|
|
1151
1187
|
function $(e, t, n) {
|
|
1152
1188
|
let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://js-sdk.expofp.com/api/packages";
|
|
1153
|
-
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`),
|
|
1154
|
-
|
|
1189
|
+
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), T.fp.disableRuntimeAlerts) return;
|
|
1190
|
+
T.uiState.setGlobalErrorMessage({
|
|
1155
1191
|
title: r,
|
|
1156
1192
|
body: /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [
|
|
1157
1193
|
i,
|
|
@@ -1163,16 +1199,16 @@ function $(e, t, n) {
|
|
|
1163
1199
|
children: a
|
|
1164
1200
|
})
|
|
1165
1201
|
] })
|
|
1166
|
-
}), clearTimeout(
|
|
1202
|
+
}), clearTimeout(yn);
|
|
1167
1203
|
let o = 8e3;
|
|
1168
|
-
|
|
1204
|
+
yn = window.setTimeout(() => {
|
|
1169
1205
|
let e = async () => {
|
|
1170
|
-
|
|
1206
|
+
T.uiState.globalErrorMessages.length > 0 && (T.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
|
|
1171
1207
|
};
|
|
1172
1208
|
e();
|
|
1173
1209
|
}, o);
|
|
1174
1210
|
}
|
|
1175
|
-
var
|
|
1211
|
+
var bn = class e {
|
|
1176
1212
|
get h() {
|
|
1177
1213
|
return Math.abs(this.y2 - this.y1);
|
|
1178
1214
|
}
|
|
@@ -1245,4 +1281,4 @@ var hn = class e {
|
|
|
1245
1281
|
}
|
|
1246
1282
|
};
|
|
1247
1283
|
//#endregion
|
|
1248
|
-
export {
|
|
1284
|
+
export { vn as default };
|