@expofp/floorplan 3.43.0 → 3.44.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-Bs_UxgiQ.js → Button-CwSuVEAs.js} +5 -5
- package/dist/browser/{CookieConsent-Dyu43_hP.js → CookieConsent-LG7LAwIi.js} +7 -7
- package/dist/browser/{Debug-BsTTWQvE.js → Debug-D12juOxd.js} +7 -7
- package/dist/browser/{DebugTools-aXs-5eza.js → DebugTools-D1BlNP_l.js} +6 -6
- package/dist/browser/{Demo-B-7KGDMJ.js → Demo-Di_4yoXs.js} +9 -9
- package/dist/browser/{Free-CNL5OIgo.js → Free-Dsj_1w90.js} +10 -10
- package/dist/browser/{GalleryContainer-vKUdXOJc.js → GalleryContainer-BMp3iUri.js} +11 -11
- package/dist/browser/{GpsLoader-CTx41t_T.js → GpsLoader-CnesPHck.js} +13 -13
- package/dist/browser/{KioskStore-DryCUldq.js → KioskStore-lkbcjOnj.js} +10 -10
- package/dist/browser/{LayerStore-KA0vMV1s.js → LayerStore-XE8pPWIM.js} +37 -37
- package/dist/browser/{MaplibreAdapter-VThms9qo.js → MaplibreAdapter-4uBbmp4V.js} +16 -16
- package/dist/browser/{ModalContainer-BnQWgJFk.js → ModalContainer-BlMSfsCP.js} +10 -10
- package/dist/browser/{PermissionNotice-C6o0LjTv.js → PermissionNotice-AJHe71hf.js} +6 -6
- package/dist/browser/{RouteStore-dygrca38.js → RouteStore--oPX6Jwa.js} +10 -10
- package/dist/browser/{SetKioskMode-BlUF1qvU.js → SetKioskMode-Cc2jEf3F.js} +11 -11
- package/dist/browser/{ShowKiosk-DFoRzTZf.js → ShowKiosk-Dxgv92Yi.js} +12 -12
- package/dist/browser/{UIState-DOeFZ2L0.js → UIState-BOAmBIjh.js} +11 -11
- package/dist/browser/{ViewerMenuPanel-BTQx7alw.js → ViewerMenuPanel--tRgf5Bd.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-DEG-kL4W.js → add-debug-secret-listener-D9NQY30D.js} +1 -1
- package/dist/browser/{adopt-global-settings-CbCj9y4x.js → adopt-global-settings-C22a3Tvl.js} +9 -9
- package/dist/browser/{boolean-editor-MewBldvq.js → boolean-editor-C1V9siKu.js} +9 -9
- package/dist/browser/{bootIntercom-Dhf8kEsO.js → bootIntercom-CtK5Nlux.js} +2 -2
- package/dist/browser/bundle.json +84 -84
- package/dist/browser/{camera-events-BGPhoW-g.js → camera-events-CTfl_AKk.js} +1 -1
- package/dist/browser/{classnames-CjOzT3Et.js → classnames-CmB5cw0K.js} +2 -2
- package/dist/browser/{client-B7ipF6CH.js → client-D8KwRQSF.js} +5 -5
- package/dist/browser/{components-z1AUvMqv.js → components-CcX6AOgl.js} +596 -579
- package/dist/browser/{create-live-plan-BV3wMQvQ.js → create-live-plan-CFKu_O5z.js} +51 -52
- package/dist/browser/{debug-context-DHcoFmUh.js → debug-context-XwhOvpy2.js} +5 -5
- package/dist/browser/{debug-overlay-DyWRfHNB.js → debug-overlay-BEwfNDTh.js} +10 -10
- package/dist/browser/{debug-ui--YQc14iG.js → debug-ui-DGsyoqbw.js} +6 -6
- package/dist/browser/{dimming-B3eCxIBl.js → dimming-DlZmx-1K.js} +12 -12
- package/dist/browser/{dist-CFpNRHGA.js → dist-BdDsviM_.js} +5 -5
- package/dist/browser/{dist-d1mv4aS_.js → dist-CdnJXgLQ.js} +6 -6
- package/dist/browser/{dist-DZnPa7Gt.js → dist-rHD2Byh5.js} +3 -3
- package/dist/browser/{efp-debug-init-Fe6M60if.js → efp-debug-init-BOZR-MZ8.js} +3 -3
- package/dist/browser/{enum-editor-Bpqhj_kX.js → enum-editor-lL5xlKz3.js} +4 -4
- package/dist/browser/{es5-Tm811jgW.js → es5-DhCgP5nL.js} +2 -2
- package/dist/browser/{event-head-DUUPR6gG.js → event-head-CqYUdk7Q.js} +1 -1
- package/dist/browser/{event-not-found-payUnjNK.js → event-not-found-14u2uW72.js} +3 -3
- package/dist/browser/{event-scoped-cache-C5u7vr_A.js → event-scoped-cache-4VLNCR8H.js} +3 -3
- package/dist/browser/{exports-DqGDS1fu.js → exports-DSXxErgQ.js} +1 -1
- package/dist/browser/{favicon-DsfOrGNO.js → favicon-D6whTHsj.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CC5xe8w5.js → fetch-retry.umd-B3VIxtnt.js} +2 -2
- package/dist/browser/{flex-CezZmi5f.js → flex-5okWJr1_.js} +5 -5
- package/dist/browser/{floorplan.loader-Dlxv8xv-.js → floorplan.loader-CljYdPZA.js} +15 -12
- package/dist/browser/{floorplan.ready-Bet-4Pmf.js → floorplan.ready-DARneMOb.js} +391 -343
- package/dist/browser/{freeBanner-D8r4eSMx.js → freeBanner-BTsjq9J7.js} +1 -1
- package/dist/browser/{fuse-hqr4jkDB.js → fuse-CTd7VmiI.js} +2 -2
- package/dist/browser/{i18n-CbKfwktv.js → i18n-ty_wUWap.js} +1545 -1505
- package/dist/browser/index.js +30 -30
- package/dist/browser/{index.module-BbVqiHXM.js → index.module-DVrFe1_-.js} +4 -4
- package/dist/browser/{init-ui-BqvkD2nz.js → init-ui-Bf_4BNtY.js} +9 -9
- package/dist/browser/{integrateKiosk-DaSOYn36.js → integrateKiosk-DL-FmrLd.js} +5 -5
- package/dist/browser/{is-debug-dWXc5YUy.js → is-debug-Dg1f1qEg.js} +4 -4
- package/dist/browser/{is-own-domain-D8anlQ_Q.js → is-own-domain-Bwua_-Cv.js} +1 -1
- package/dist/browser/{is-webview-fqXWp538.js → is-webview-CHHZG248.js} +1 -1
- package/dist/browser/{jsx-runtime-DO7PmxNL.js → jsx-runtime-CPbVnOif.js} +2 -2
- package/dist/browser/{kiosk-mode-7b7iDbkP.js → kiosk-mode-C6HL6ORn.js} +5 -5
- package/dist/browser/{kiosk-record-UJxF1fjj.js → kiosk-record-E9OZ9fPO.js} +1 -1
- package/dist/browser/{kioskApi-CgpMBKhv.js → kioskApi-A0TQDiJv.js} +7 -7
- package/dist/browser/{lib-Czk5Lszd.js → lib-D1IzU3kb.js} +3 -3
- package/dist/browser/{loadImage-CFo9-YJJ.js → loadImage-Fksp-Hh0.js} +1 -1
- package/dist/browser/{logDeviceInfo-DJjhYuqu.js → logDeviceInfo-BEoxvnRS.js} +9 -9
- package/dist/browser/{mobx-C81AIECP.js → mobx-DzuATIn9.js} +4 -4
- package/dist/browser/{mobx.module-CWCYJWja.js → mobx.module-BelF27Pq.js} +1 -1
- package/dist/browser/{optional-boolean-editor-B62ChR7X.js → optional-boolean-editor-DcnuOuET.js} +3 -3
- package/dist/browser/{optional-enum-editor-BBO6A0hj.js → optional-enum-editor-67L67NRT.js} +4 -4
- package/dist/browser/{optional-string-editor-7Q9UPGmg.js → optional-string-editor-CnrUBI2g.js} +4 -4
- package/dist/browser/{particles.min-BKHVPr2d.js → particles.min-DnBqNG2y.js} +2 -2
- package/dist/browser/{react-Cg2OORRh.js → react-BOPKvk47.js} +2 -2
- package/dist/browser/{react-dom-Ty-lfgLt.js → react-dom-BD7ySMzC.js} +3 -3
- package/dist/browser/{rolldown-runtime-CWnoF_DQ.js → rolldown-runtime-BwI4NOn9.js} +1 -1
- package/dist/browser/{scene-C5l_d13f.js → scene-BSoAQB2d.js} +2 -2
- package/dist/browser/{scheduler-BU0IIfqL.js → scheduler-ZrpHkws_.js} +2 -2
- package/dist/browser/{select-BzHMeDb4.js → select-BFRUF-hZ.js} +10 -10
- package/dist/browser/{settings-BtJgR42s.js → settings-EqgfAdEi.js} +2 -2
- package/dist/browser/{settings-item-DdFFETI3.js → settings-item-BU9GQrBS.js} +6 -6
- package/dist/browser/{store-BTr1tlEV.js → store-BUNzBIiF.js} +2 -2
- package/dist/browser/{string-editor-BEEQ6kcc.js → string-editor-BuUK2ak_.js} +4 -4
- package/dist/browser/{text-field-DoMqPokj.js → text-field-BQjwPLRu.js} +5 -5
- package/dist/browser/{theme-BvRXg3tc.js → theme-DjlUzAi7.js} +8 -8
- package/dist/browser/{ui-CjqBOwnM.js → ui-ByszMEEN.js} +8 -8
- package/dist/browser/{useRenderTarget-CaMfMKd3.js → useRenderTarget-WsArUlnF.js} +4 -4
- package/dist/browser/{viewport-D1DrneSN.js → viewport-BcluI_jS.js} +3 -3
- package/dist/browser/{wayfinding-BFQ3ZTEN.js → wayfinding-5qj-tuc0.js} +5 -5
- package/dist/esm/floorplan.loader.d.ts +2 -1
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.d.ts +7 -6
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/services/url-dispatch.js +1 -1
- package/dist/esm/store/SessionsFilterStore.d.ts +3 -0
- package/dist/esm/store/SessionsFilterStore.js +1 -1
- package/dist/esm/store/providers/SessionsShortcutProvider.d.ts +2 -3
- package/dist/esm/store/providers/SessionsShortcutProvider.js +1 -1
- package/dist/esm/types.d.ts +6 -1
- package/package.json +10 -10
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.44.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] = "b0858a0f-8444-4076-a3aa-3bf46d60521d", e._sentryDebugIdIdentifier = "sentry-dbid-b0858a0f-8444-4076-a3aa-3bf46d60521d");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { a as t, c as n, i as r, n as i, o as a, r as o, s, t as c } from "./floorplan.loader-
|
|
11
|
-
import { $ as l, Ct as u,
|
|
12
|
-
import { s as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { a as _, o as
|
|
16
|
-
import { n as
|
|
17
|
-
import { C as
|
|
18
|
-
import { l as
|
|
19
|
-
import { t as
|
|
20
|
-
import { i as
|
|
21
|
-
import { a as
|
|
22
|
-
import { l as
|
|
23
|
-
import { n as
|
|
24
|
-
import { At as
|
|
25
|
-
import { g as
|
|
26
|
-
import { C as ot, S as st, a as
|
|
27
|
-
import { n as
|
|
28
|
-
import { n as
|
|
29
|
-
import { t as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BwI4NOn9.js";
|
|
10
|
+
import { a as t, c as n, i as r, n as i, o as a, r as o, s, t as c } from "./floorplan.loader-CljYdPZA.js";
|
|
11
|
+
import { $ as l, Ct as u, Dt as d, Et as f, H as ee, J as p, O as te, Q as ne, St as re, Tt as m, Y as ie, Z as h, _t as ae, at as oe, bt as se, ct as ce, dt as le, et as ue, ft as de, gt as fe, ht as pe, it as me, j as he, k as ge, l as _e, lt as ve, mt as ye, n as be, o as xe, pt as Se, r as Ce, rt as we, st as Te, tt as Ee, ut as De, vt as Oe, wt as ke, xt as Ae, yt as je, z as g } from "./i18n-ty_wUWap.js";
|
|
12
|
+
import { s as Me } from "./efp-debug-init-BOZR-MZ8.js";
|
|
13
|
+
import { t as Ne } from "./react-BOPKvk47.js";
|
|
14
|
+
import { t as Pe } from "./jsx-runtime-CPbVnOif.js";
|
|
15
|
+
import { a as _, o as v } from "./is-debug-Dg1f1qEg.js";
|
|
16
|
+
import { n as y, t as Fe } from "./is-own-domain-Bwua_-Cv.js";
|
|
17
|
+
import { C as b, D as Ie, Q as Le, ht as x, i as Re, n as ze, w as Be } from "./exports-DSXxErgQ.js";
|
|
18
|
+
import { l as S, u as C } from "./mobx.module-BelF27Pq.js";
|
|
19
|
+
import { t as Ve } from "./client-D8KwRQSF.js";
|
|
20
|
+
import { i as He, n as Ue, r as w, t as We } from "./components-CcX6AOgl.js";
|
|
21
|
+
import { a as Ge, h as Ke, i as qe, p as Je } from "./UIState-BOAmBIjh.js";
|
|
22
|
+
import { l as T, u as E } from "./store-BUNzBIiF.js";
|
|
23
|
+
import { n as Ye } from "./event-scoped-cache-4VLNCR8H.js";
|
|
24
|
+
import { At as Xe, Ct as Ze, D, Ft as O, O as Qe, St as $e, T as et, q as k, u as tt, v as nt } from "./LayerStore-XE8pPWIM.js";
|
|
25
|
+
import { g as rt, m as A, p as it, u as at } from "./wayfinding-5qj-tuc0.js";
|
|
26
|
+
import { C as ot, S as st, a as j, b as ct, h as lt, i as ut, m as dt, n as M, p as ft, s as pt, t as mt, u as ht, v as gt, w as N, y as P } from "./RouteStore--oPX6Jwa.js";
|
|
27
|
+
import { n as _t, t as vt } from "./kiosk-mode-C6HL6ORn.js";
|
|
28
|
+
import { n as yt, t as bt } from "./integrateKiosk-DL-FmrLd.js";
|
|
29
|
+
import { t as xt } from "./init-ui-Bf_4BNtY.js";
|
|
30
30
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
|
|
31
|
-
function
|
|
31
|
+
function St(e = {}) {
|
|
32
32
|
let n = r.document, i = (n == null ? void 0 : n.head) || (n == null ? void 0 : n.body);
|
|
33
33
|
if (!i) {
|
|
34
|
-
o &&
|
|
34
|
+
o && x.error("[showReportDialog] Global document not defined");
|
|
35
35
|
return;
|
|
36
36
|
}
|
|
37
|
-
let a =
|
|
37
|
+
let a = Be(), s = b(), c = s == null ? void 0 : s.getDsn();
|
|
38
38
|
if (!c) {
|
|
39
|
-
o &&
|
|
39
|
+
o && x.error("[showReportDialog] DSN not configured");
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
42
|
let l = {
|
|
@@ -45,7 +45,7 @@ function yt(e = {}) {
|
|
|
45
45
|
...a.getUser(),
|
|
46
46
|
...e.user
|
|
47
47
|
},
|
|
48
|
-
eventId: e.eventId ||
|
|
48
|
+
eventId: e.eventId || Re()
|
|
49
49
|
}, u = r.document.createElement("script");
|
|
50
50
|
u.async = !0, u.crossOrigin = "anonymous", u.src = t(c, l);
|
|
51
51
|
let { onLoad: d, onClose: f } = l;
|
|
@@ -63,12 +63,12 @@ function yt(e = {}) {
|
|
|
63
63
|
}
|
|
64
64
|
//#endregion
|
|
65
65
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/error.js
|
|
66
|
-
var
|
|
67
|
-
function
|
|
66
|
+
var F = /* @__PURE__ */ e(Ne());
|
|
67
|
+
function Ct(e) {
|
|
68
68
|
let t = e.match(/^([^.]+)/);
|
|
69
69
|
return t !== null && parseInt(t[0]) >= 17;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function wt(e, t) {
|
|
72
72
|
let n = /* @__PURE__ */ new WeakSet();
|
|
73
73
|
function r(e, t) {
|
|
74
74
|
if (!n.has(e)) {
|
|
@@ -78,25 +78,25 @@ function xt(e, t) {
|
|
|
78
78
|
}
|
|
79
79
|
r(e, t);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
if (
|
|
81
|
+
function Tt(e, { componentStack: t }, n) {
|
|
82
|
+
if (Ct(F.version) && Le(e) && t) {
|
|
83
83
|
let n = Error(e.message);
|
|
84
|
-
n.name = `React ErrorBoundary ${e.name}`, n.stack = t,
|
|
84
|
+
n.name = `React ErrorBoundary ${e.name}`, n.stack = t, wt(e, n);
|
|
85
85
|
}
|
|
86
|
-
return
|
|
86
|
+
return ze(e, n);
|
|
87
87
|
}
|
|
88
88
|
//#endregion
|
|
89
89
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/debug-build.js
|
|
90
|
-
var
|
|
90
|
+
var Et = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, I = {
|
|
91
91
|
componentStack: null,
|
|
92
92
|
error: null,
|
|
93
93
|
eventId: null
|
|
94
|
-
},
|
|
94
|
+
}, Dt = class extends F.Component {
|
|
95
95
|
constructor(e) {
|
|
96
|
-
super(e), this.state =
|
|
97
|
-
let t =
|
|
96
|
+
super(e), this.state = I, this._openFallbackReportDialog = !0;
|
|
97
|
+
let t = b();
|
|
98
98
|
t && e.showDialog && (this._openFallbackReportDialog = !1, this._cleanupHook = t.on("afterSendEvent", (t) => {
|
|
99
|
-
!t.type && this._lastEventId && t.event_id === this._lastEventId &&
|
|
99
|
+
!t.type && this._lastEventId && t.event_id === this._lastEventId && St({
|
|
100
100
|
...e.dialogOptions,
|
|
101
101
|
eventId: this._lastEventId
|
|
102
102
|
});
|
|
@@ -104,13 +104,13 @@ var Ct = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, L = {
|
|
|
104
104
|
}
|
|
105
105
|
componentDidCatch(e, t) {
|
|
106
106
|
let { componentStack: n } = t, { beforeCapture: r, onError: i, showDialog: a, dialogOptions: o } = this.props;
|
|
107
|
-
|
|
107
|
+
Ie((s) => {
|
|
108
108
|
r && r(s, e, n);
|
|
109
|
-
let c =
|
|
109
|
+
let c = Tt(e, t, { mechanism: {
|
|
110
110
|
handled: this.props.handled == null ? !!this.props.fallback : this.props.handled,
|
|
111
111
|
type: "auto.function.react.error_boundary"
|
|
112
112
|
} });
|
|
113
|
-
i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog &&
|
|
113
|
+
i && i(e, n, c), a && (this._lastEventId = c, this._openFallbackReportDialog && St({
|
|
114
114
|
...o,
|
|
115
115
|
eventId: c
|
|
116
116
|
})), this.setState({
|
|
@@ -126,32 +126,32 @@ var Ct = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, L = {
|
|
|
126
126
|
}
|
|
127
127
|
componentWillUnmount() {
|
|
128
128
|
let { error: e, componentStack: t, eventId: n } = this.state, { onUnmount: r } = this.props;
|
|
129
|
-
r && (this.state ===
|
|
129
|
+
r && (this.state === I ? r(null, null, null) : r(e, t, n)), this._cleanupHook && (this._cleanupHook(), this._cleanupHook = void 0);
|
|
130
130
|
}
|
|
131
131
|
resetErrorBoundary() {
|
|
132
132
|
let { onReset: e } = this.props, { error: t, componentStack: n, eventId: r } = this.state;
|
|
133
|
-
e && e(t, n, r), this.setState(
|
|
133
|
+
e && e(t, n, r), this.setState(I);
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
136
|
let { fallback: e, children: t } = this.props, n = this.state;
|
|
137
137
|
if (n.componentStack === null) return typeof t == "function" ? t() : t;
|
|
138
|
-
let r = typeof e == "function" ?
|
|
138
|
+
let r = typeof e == "function" ? F.createElement(e, {
|
|
139
139
|
error: n.error,
|
|
140
140
|
componentStack: n.componentStack,
|
|
141
141
|
resetError: () => this.resetErrorBoundary(),
|
|
142
142
|
eventId: n.eventId
|
|
143
143
|
}) : e;
|
|
144
|
-
return
|
|
144
|
+
return F.isValidElement(r) ? r : (e && Et && x.warn("fallback did not produce a valid ReactElement"), null);
|
|
145
145
|
}
|
|
146
|
-
},
|
|
147
|
-
function
|
|
146
|
+
}, Ot = /* @__PURE__ */ e(Me(), 1), kt = Ve(), At = Ke();
|
|
147
|
+
function jt() {
|
|
148
148
|
let e = window.location.hostname.split(".");
|
|
149
149
|
return e.length >= 3 && e[e.length - 2] === "expofp" && e[e.length - 1] === "com";
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
return
|
|
151
|
+
function Mt() {
|
|
152
|
+
return jt() ? window.location.hostname.split(".")[0] : "main";
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function Nt(e) {
|
|
155
155
|
if ((e == null ? void 0 : e.free) === !0) return "Free";
|
|
156
156
|
let t = e == null ? void 0 : e.trialExpiresAt;
|
|
157
157
|
if (t) {
|
|
@@ -160,25 +160,25 @@ function At(e) {
|
|
|
160
160
|
}
|
|
161
161
|
return "Active";
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function Pt() {
|
|
164
164
|
return !1;
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Ft(e) {
|
|
167
167
|
return e;
|
|
168
168
|
}
|
|
169
|
-
function
|
|
170
|
-
if (
|
|
171
|
-
let t =
|
|
172
|
-
subDomain:
|
|
173
|
-
subscriptionStatus:
|
|
169
|
+
function It(e) {
|
|
170
|
+
if (Pt() || !jt() || _t(e) || !window.navigator.onLine) return null;
|
|
171
|
+
let t = Ft({
|
|
172
|
+
subDomain: Mt(),
|
|
173
|
+
subscriptionStatus: Nt(e)
|
|
174
174
|
});
|
|
175
175
|
return t.subDomain !== "demo" && t.subscriptionStatus !== "Free" && t.subscriptionStatus !== "Trial Expired" ? null : t;
|
|
176
176
|
}
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/mini/schemas.js
|
|
179
|
-
var
|
|
179
|
+
var L = /*@__PURE__*/ f("ZodMiniType", (e, t) => {
|
|
180
180
|
if (!e._zod) throw Error("Uninitialized schema in ZodMiniType.");
|
|
181
|
-
|
|
181
|
+
Oe.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => je(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => Ae(e, t, n), e.parseAsync = async (t, n) => se(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => re(e, t, n), e.check = (...n) => {
|
|
182
182
|
var r;
|
|
183
183
|
return e.clone({
|
|
184
184
|
...t,
|
|
@@ -188,95 +188,95 @@ var R = /*@__PURE__*/ h("ZodMiniType", (e, t) => {
|
|
|
188
188
|
onattach: []
|
|
189
189
|
} } : e)]
|
|
190
190
|
}, { parent: !0 });
|
|
191
|
-
}, e.with = e.check, e.clone = (t, n) =>
|
|
192
|
-
}),
|
|
193
|
-
|
|
191
|
+
}, e.with = e.check, e.clone = (t, n) => u(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.apply = (t) => t(e);
|
|
192
|
+
}), Lt = /*@__PURE__*/ f("ZodMiniString", (e, t) => {
|
|
193
|
+
ae.init(e, t), L.init(e, t);
|
|
194
194
|
});
|
|
195
195
|
// @__NO_SIDE_EFFECTS__
|
|
196
|
-
function
|
|
197
|
-
return
|
|
196
|
+
function Rt(e) {
|
|
197
|
+
return De(Lt, e);
|
|
198
198
|
}
|
|
199
|
-
var
|
|
200
|
-
|
|
199
|
+
var zt = /*@__PURE__*/ f("ZodMiniNumber", (e, t) => {
|
|
200
|
+
ye.init(e, t), L.init(e, t);
|
|
201
201
|
});
|
|
202
202
|
// @__NO_SIDE_EFFECTS__
|
|
203
|
-
function
|
|
204
|
-
return
|
|
203
|
+
function R(e) {
|
|
204
|
+
return ce(zt, e);
|
|
205
205
|
}
|
|
206
|
-
var
|
|
207
|
-
|
|
206
|
+
var Bt = /*@__PURE__*/ f("ZodMiniNever", (e, t) => {
|
|
207
|
+
Se.init(e, t), L.init(e, t);
|
|
208
208
|
});
|
|
209
209
|
// @__NO_SIDE_EFFECTS__
|
|
210
|
-
function
|
|
211
|
-
return
|
|
210
|
+
function Vt(e) {
|
|
211
|
+
return Te(Bt, e);
|
|
212
212
|
}
|
|
213
|
-
var
|
|
214
|
-
|
|
213
|
+
var Ht = /*@__PURE__*/ f("ZodMiniArray", (e, t) => {
|
|
214
|
+
le.init(e, t), L.init(e, t);
|
|
215
215
|
});
|
|
216
216
|
// @__NO_SIDE_EFFECTS__
|
|
217
|
-
function
|
|
218
|
-
return new
|
|
217
|
+
function Ut(e, t) {
|
|
218
|
+
return new Ht({
|
|
219
219
|
type: "array",
|
|
220
220
|
element: e,
|
|
221
|
-
...
|
|
221
|
+
...m(t)
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
|
-
var
|
|
225
|
-
|
|
224
|
+
var Wt = /*@__PURE__*/ f("ZodMiniObject", (e, t) => {
|
|
225
|
+
pe.init(e, t), L.init(e, t), ke(e, "shape", () => t.shape);
|
|
226
226
|
});
|
|
227
227
|
// @__NO_SIDE_EFFECTS__
|
|
228
|
-
function
|
|
229
|
-
return new
|
|
228
|
+
function z(e, t) {
|
|
229
|
+
return new Wt({
|
|
230
230
|
type: "object",
|
|
231
231
|
shape: e,
|
|
232
|
-
catchall: /* @__PURE__ */
|
|
233
|
-
...
|
|
232
|
+
catchall: /* @__PURE__ */ Vt(),
|
|
233
|
+
...m(t)
|
|
234
234
|
});
|
|
235
235
|
}
|
|
236
|
-
var
|
|
237
|
-
|
|
236
|
+
var Gt = /*@__PURE__*/ f("ZodMiniOptional", (e, t) => {
|
|
237
|
+
fe.init(e, t), L.init(e, t);
|
|
238
238
|
});
|
|
239
239
|
// @__NO_SIDE_EFFECTS__
|
|
240
|
-
function
|
|
241
|
-
return new
|
|
240
|
+
function B(e) {
|
|
241
|
+
return new Gt({
|
|
242
242
|
type: "optional",
|
|
243
243
|
innerType: e
|
|
244
244
|
});
|
|
245
245
|
}
|
|
246
|
-
var
|
|
247
|
-
|
|
246
|
+
var Kt = /*@__PURE__*/ f("ZodMiniCustom", (e, t) => {
|
|
247
|
+
de.init(e, t), L.init(e, t);
|
|
248
248
|
});
|
|
249
249
|
// @__NO_SIDE_EFFECTS__
|
|
250
|
-
function
|
|
251
|
-
return
|
|
250
|
+
function qt(e, t = {}) {
|
|
251
|
+
return ve(Kt, e, t);
|
|
252
252
|
}
|
|
253
253
|
//#endregion
|
|
254
254
|
//#region src/schemas/sdk.schemas.ts
|
|
255
|
-
var
|
|
256
|
-
x: /* @__PURE__ */
|
|
257
|
-
y: /* @__PURE__ */
|
|
258
|
-
}),
|
|
259
|
-
leftTop:
|
|
260
|
-
rightBottom:
|
|
261
|
-
}),
|
|
262
|
-
name: /* @__PURE__ */
|
|
263
|
-
externalId: /* @__PURE__ */
|
|
264
|
-
})).check(/* @__PURE__ */
|
|
265
|
-
booths: /* @__PURE__ */
|
|
266
|
-
exhibitors: /* @__PURE__ */
|
|
267
|
-
})).check(/* @__PURE__ */
|
|
255
|
+
var Jt = /* @__PURE__ */ z({
|
|
256
|
+
x: /* @__PURE__ */ R(),
|
|
257
|
+
y: /* @__PURE__ */ R()
|
|
258
|
+
}), Yt = /* @__PURE__ */ z({
|
|
259
|
+
leftTop: Jt,
|
|
260
|
+
rightBottom: Jt
|
|
261
|
+
}), Xt = (/* @__PURE__ */ z({
|
|
262
|
+
name: /* @__PURE__ */ B(/* @__PURE__ */ Rt()),
|
|
263
|
+
externalId: /* @__PURE__ */ B(/* @__PURE__ */ Rt())
|
|
264
|
+
})).check(/* @__PURE__ */ qt((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")), Zt = (/* @__PURE__ */ z({
|
|
265
|
+
booths: /* @__PURE__ */ B(/* @__PURE__ */ Ut(Xt)),
|
|
266
|
+
exhibitors: /* @__PURE__ */ B(/* @__PURE__ */ Ut(Xt))
|
|
267
|
+
})).check(/* @__PURE__ */ qt((e) => {
|
|
268
268
|
var t, n;
|
|
269
269
|
return !!((t = e.booths) != null && t.length || (n = e.exhibitors) != null && n.length);
|
|
270
|
-
}, "Selector must contain booths or exhibitors")),
|
|
270
|
+
}, "Selector must contain booths or exhibitors")), Qt = /* @__PURE__ */ B(/* @__PURE__ */ z({ padding: /* @__PURE__ */ B(/* @__PURE__ */ R()) }));
|
|
271
271
|
//#endregion
|
|
272
272
|
//#region src/components/Kiosk/recoverKioskFromUrlPrams.ts
|
|
273
|
-
function
|
|
274
|
-
let t =
|
|
275
|
-
Object.values(t).length && (
|
|
273
|
+
function $t(e) {
|
|
274
|
+
let t = Ge(e);
|
|
275
|
+
Object.values(t).length && (bt(t, !1), yt(t));
|
|
276
276
|
}
|
|
277
277
|
//#endregion
|
|
278
278
|
//#region src/utils/getMostFrequent.ts
|
|
279
|
-
function
|
|
279
|
+
function en(e) {
|
|
280
280
|
let t = {}, n = 0, r;
|
|
281
281
|
return e.forEach((e) => {
|
|
282
282
|
t[e] = (t[e] || 0) + 1, t[e] > n && (n = t[e], r = e);
|
|
@@ -284,66 +284,75 @@ function Zt(e) {
|
|
|
284
284
|
}
|
|
285
285
|
//#endregion
|
|
286
286
|
//#region src/services/multi-slug.ts
|
|
287
|
-
function
|
|
287
|
+
function tn(e, t) {
|
|
288
288
|
if (!e.includes("&") && !e.includes("%26")) return null;
|
|
289
|
-
let n = e.startsWith("?") ? e.slice(1) : e, r = n.includes("&") ? "&" : "%26", i = n.split(r), a = (e) => !!e && !
|
|
289
|
+
let n = e.startsWith("?") ? e.slice(1) : e, r = n.includes("&") ? "&" : "%26", i = n.split(r), a = (e) => !!e && !h(e).includes("=");
|
|
290
290
|
return i.filter(a).length < 2 ? null : "?" + i.map((e) => a(e) && t(e) || e).join("&");
|
|
291
291
|
}
|
|
292
292
|
//#endregion
|
|
293
293
|
//#region src/services/url-dispatch.ts
|
|
294
|
-
var
|
|
295
|
-
function
|
|
296
|
-
G(
|
|
297
|
-
let e =
|
|
298
|
-
Object.keys(e).length &&
|
|
299
|
-
let t =
|
|
300
|
-
Object.keys(t).length &&
|
|
294
|
+
var V = !1;
|
|
295
|
+
function nn() {
|
|
296
|
+
G(d()), D(() => T.layerStore.layersLoaded, () => {
|
|
297
|
+
let e = d().camera;
|
|
298
|
+
Object.keys(e).length && bn(w(e));
|
|
299
|
+
let t = d().visibility;
|
|
300
|
+
Object.keys(t).length && E.setVisibility(t);
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function rn(e) {
|
|
304
304
|
st({
|
|
305
305
|
offHistory: e,
|
|
306
|
-
onNavigate:
|
|
307
|
-
}),
|
|
308
|
-
|
|
306
|
+
onNavigate: () => U({ backForward: !0 })
|
|
307
|
+
}), W(), H(), D(() => T.layerStore.layersLoaded, () => {
|
|
308
|
+
T.urlFilterManager && !T.urlFilterManager.isInitialized && T.urlFilterManager.initialize(), U(), et(yn), et(hn), E.viewerMode && (E.menu = !0);
|
|
309
309
|
});
|
|
310
310
|
}
|
|
311
|
-
function
|
|
312
|
-
|
|
311
|
+
function an(e = "") {
|
|
312
|
+
N("?" + h(e.toString())), T.layerStore.layersLoaded ? on(e) : (H(), D(() => T.layerStore.layersLoaded, () => on(e)));
|
|
313
313
|
}
|
|
314
|
-
function
|
|
314
|
+
function on(e) {
|
|
315
315
|
var t, r;
|
|
316
|
-
let i = "?" +
|
|
316
|
+
let i = "?" + h(e), a = pn(i), o = [...(t = a.intents) == null ? [] : t, ...l(i).intents], { intents: s = [], ...c } = ne(i, {
|
|
317
317
|
visibility: a.visibility,
|
|
318
318
|
consent: a.consent,
|
|
319
319
|
intents: o
|
|
320
320
|
});
|
|
321
321
|
G(a), G(c);
|
|
322
322
|
let u = (r = a.consent) == null ? c.consent : r;
|
|
323
|
-
u &&
|
|
323
|
+
u && lt(u), a.camera && Object.keys(a.camera).length && bn(w(a.camera)), a.visibility && Object.keys(a.visibility).length && E.setVisibility(a.visibility), W(), U();
|
|
324
324
|
let d = [...o, ...s];
|
|
325
|
-
d.length && n(
|
|
325
|
+
d.length && n(T.fp, d);
|
|
326
326
|
}
|
|
327
|
-
function
|
|
328
|
-
let e =
|
|
329
|
-
return
|
|
327
|
+
function H() {
|
|
328
|
+
let e = P();
|
|
329
|
+
return Ue(e.length > 1 ? h(e.substring(1)) : "");
|
|
330
330
|
}
|
|
331
|
-
function
|
|
332
|
-
|
|
331
|
+
function U(e = {}) {
|
|
332
|
+
V = !0;
|
|
333
333
|
try {
|
|
334
|
-
|
|
335
|
-
let { primary:
|
|
336
|
-
!
|
|
334
|
+
$t(new URLSearchParams(h(window.location.search)));
|
|
335
|
+
let { primary: t } = p(P()), n = t.type === "select" && (!t.slug || /^t=[^&]*$/.test(t.slug)) && (E.heatmap || E.heatmapYah);
|
|
336
|
+
!H() && !n && (e.backForward ? sn(t) : cn(t));
|
|
337
337
|
} finally {
|
|
338
|
-
|
|
338
|
+
V = !1;
|
|
339
|
+
}
|
|
340
|
+
if (e.backForward) {
|
|
341
|
+
let { exhibitor: e, booth: t, eventItem: n } = vn(), r = mn();
|
|
342
|
+
r.exhibitor = e, r.booth = t, r.eventItem = n;
|
|
339
343
|
}
|
|
340
|
-
|
|
344
|
+
hn(), yn();
|
|
341
345
|
}
|
|
342
|
-
function
|
|
343
|
-
|
|
346
|
+
function sn(e) {
|
|
347
|
+
e.type === "list" && e.list === "sessions" ? T.fp.showSessions() : cn(e);
|
|
348
|
+
let { intents: t } = l(P());
|
|
349
|
+
n(T.fp, t.filter((e) => e.name === "showSessions"));
|
|
350
|
+
}
|
|
351
|
+
function cn(e) {
|
|
352
|
+
let t = T.fp;
|
|
344
353
|
switch (e.type) {
|
|
345
354
|
case "kiosk":
|
|
346
|
-
e.enabled !== null &&
|
|
355
|
+
e.enabled !== null && vt(E, e.enabled);
|
|
347
356
|
return;
|
|
348
357
|
case "list":
|
|
349
358
|
t.showList(e.list);
|
|
@@ -360,13 +369,13 @@ function rn(e) {
|
|
|
360
369
|
return;
|
|
361
370
|
case "route":
|
|
362
371
|
var n, r;
|
|
363
|
-
|
|
372
|
+
T.routeStore.setOnlyAccessible(e.accessible), T.routeStore.selectRoute(ut((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);
|
|
364
373
|
return;
|
|
365
374
|
case "selectExhibitors":
|
|
366
375
|
setTimeout(() => t.selectExhibitor(e.values), 250);
|
|
367
376
|
return;
|
|
368
377
|
case "ownedByFilters":
|
|
369
|
-
|
|
378
|
+
v.log("Skipping filter parameters in dispatchFromUrl (owned by URLFilterManager)");
|
|
370
379
|
return;
|
|
371
380
|
case "ownedByConfig": return;
|
|
372
381
|
case "select":
|
|
@@ -374,94 +383,105 @@ function rn(e) {
|
|
|
374
383
|
return;
|
|
375
384
|
}
|
|
376
385
|
}
|
|
377
|
-
function
|
|
378
|
-
let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i =
|
|
379
|
-
if (
|
|
380
|
-
let e =
|
|
381
|
-
e &&
|
|
382
|
-
}
|
|
383
|
-
(n.length > 0 || r.length > 0) &&
|
|
384
|
-
|
|
386
|
+
function ln(e) {
|
|
387
|
+
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];
|
|
388
|
+
if ($e()) {
|
|
389
|
+
let e = en(o.map((e) => e.layer.name));
|
|
390
|
+
e && T.fp.activateFloor({ name: e });
|
|
391
|
+
}
|
|
392
|
+
(n.length > 0 || r.length > 0) && T.fp.highlightEntities([...n, ...r]), T.layerStore.showPathWay(t), o.length > 0 && C(() => {
|
|
393
|
+
T.uiState.moveToRect = O.fromUnion(...o.map((e) => e.rect).filter(Boolean)), T.uiState.rollReset = !0;
|
|
385
394
|
});
|
|
386
395
|
}
|
|
387
|
-
function
|
|
388
|
-
let { oneShots: e } =
|
|
389
|
-
for (let t of e)
|
|
390
|
-
let t =
|
|
391
|
-
t !== null &&
|
|
396
|
+
function W() {
|
|
397
|
+
let { oneShots: e } = p(P());
|
|
398
|
+
for (let t of e) un(t);
|
|
399
|
+
let t = qe(P());
|
|
400
|
+
t !== null && N("?" + t), E.previewExhibitor && N("?" + E.previewExhibitor.slug), fn();
|
|
392
401
|
}
|
|
393
|
-
function
|
|
402
|
+
function un(e) {
|
|
394
403
|
switch (e.type) {
|
|
395
404
|
case "heatmap":
|
|
396
|
-
|
|
405
|
+
dn(e.yah);
|
|
397
406
|
return;
|
|
398
407
|
case "blueDot": {
|
|
399
408
|
var t, n;
|
|
400
|
-
let r = new
|
|
401
|
-
|
|
409
|
+
let r = new mt(e.x, e.y, (t = T.layerStore.findLayer((n = e.layer) == null ? "" : n)) == null ? void 0 : t.name, void 0, e.lat, e.lng);
|
|
410
|
+
D(() => T.layerStore.layersLoaded, () => T.routeStore.selectCurrentPosition(r, !0, 1));
|
|
402
411
|
return;
|
|
403
412
|
}
|
|
404
413
|
case "viewerMode":
|
|
405
|
-
|
|
414
|
+
_e && (e.enabled ? localStorage.setItem(ee, "true") : (localStorage.removeItem(ee), localStorage.removeItem(he)));
|
|
406
415
|
return;
|
|
407
416
|
case "previewMode":
|
|
408
|
-
|
|
417
|
+
_e && (e.enabled ? localStorage.setItem(g, "true") : (localStorage.removeItem(g), localStorage.removeItem(ge)));
|
|
409
418
|
return;
|
|
410
419
|
case "uiScale":
|
|
411
|
-
e.scale === null ?
|
|
420
|
+
e.scale === null ? v.warn(`Invalid ui-scale parameter: ${e.raw}. Must be a number between 0.8 and 1.4.`) : T.uiState.setUIScale(e.scale, !0);
|
|
412
421
|
return;
|
|
413
422
|
case "resetUiScale":
|
|
414
|
-
|
|
423
|
+
T.uiState.resetUIScale();
|
|
415
424
|
return;
|
|
416
425
|
}
|
|
417
426
|
}
|
|
418
|
-
function
|
|
419
|
-
ct(), e ? (
|
|
427
|
+
function dn(e) {
|
|
428
|
+
ct(), e ? (E.heatmapYah = !0, E.monochrome = !0, E.hideLogoInBooth = !0, E.hideHeaderLogo = !0, E.disableBookmarked = !0) : E.heatmap = !0;
|
|
420
429
|
}
|
|
421
|
-
function
|
|
422
|
-
let e =
|
|
423
|
-
let t =
|
|
430
|
+
function fn() {
|
|
431
|
+
let e = tn(P(), (e) => {
|
|
432
|
+
let t = T.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
|
|
424
433
|
return t == null ? void 0 : t.name;
|
|
425
434
|
});
|
|
426
|
-
e !== null &&
|
|
435
|
+
e !== null && N(e);
|
|
427
436
|
}
|
|
428
437
|
function G(e) {
|
|
429
|
-
e.noOverlay !== void 0 && (
|
|
438
|
+
e.noOverlay !== void 0 && (E.hideOverlay = e.noOverlay), e.monochrome && (E.monochrome = !0), e.hideHeaderLogo && (E.hideHeaderLogo = !0), e.hideLogoInBooth && (E.hideLogoInBooth = !0), e.disableFeatured && T.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (E.disableBookmarked = !0), e.disableGps && T.routeStore.setGpsTrackingEnabled(!1), e.heatmap && i(e.heatmap) && dn(e.heatmap.variant === "yah");
|
|
430
439
|
}
|
|
431
|
-
function
|
|
432
|
-
return
|
|
440
|
+
function pn(e) {
|
|
441
|
+
return Ee(we, e).value;
|
|
433
442
|
}
|
|
434
|
-
var
|
|
443
|
+
var mn = Ye(() => ({
|
|
435
444
|
exhibitor: null,
|
|
436
445
|
booth: null,
|
|
437
446
|
eventItem: null
|
|
438
447
|
}));
|
|
439
|
-
function
|
|
440
|
-
let { selection: e, exhibitor: t, booth: n, eventItem: r } =
|
|
441
|
-
if (
|
|
442
|
-
let
|
|
443
|
-
if (
|
|
444
|
-
let
|
|
445
|
-
t !==
|
|
448
|
+
function hn() {
|
|
449
|
+
let { selection: e, exhibitor: t, booth: n, eventItem: r } = vn(), i = T.urlFilterManager.filterSearch(), a = gn(e);
|
|
450
|
+
if (V) return;
|
|
451
|
+
let o = a || ie(e) || i;
|
|
452
|
+
if (P() === o) return;
|
|
453
|
+
let s = mn();
|
|
454
|
+
t !== s.exhibitor || n !== s.booth || r !== s.eventItem ? ot(o) : N(o), s.exhibitor = t, s.booth = n, s.eventItem = r;
|
|
455
|
+
}
|
|
456
|
+
function gn(e) {
|
|
457
|
+
if (e.type !== "list" || e.list !== "sessions") return "";
|
|
458
|
+
let { selectedTracks: t, selectedVenues: n, date: r, timeOfDay: i, showBookmarksOnly: a, showLiveOnly: o } = T.sessionsFilterStore.state.filters, s = {};
|
|
459
|
+
return t.value.length && (s.tracks = _n(t.value)), n.value.length && (s.venues = _n(n.value)), r.value !== "all" && (s.date = r.value), r.value === "today" && i.value !== "all" && (s.time = i.value), a.value && (s.bookmarked = !0), o.value && (s.live = !0), Object.keys(s).length ? "?" + ue({
|
|
460
|
+
name: "showSessions",
|
|
461
|
+
args: [s]
|
|
462
|
+
}) : "";
|
|
463
|
+
}
|
|
464
|
+
function _n(e) {
|
|
465
|
+
return [...e].sort((e, t) => e - t).map(String);
|
|
446
466
|
}
|
|
447
|
-
function
|
|
448
|
-
let e =
|
|
467
|
+
function vn() {
|
|
468
|
+
let e = E.selectedExhibitor, t = E.selectedBooth, n = E.selectedEventItem, r = E.selectedRoute, i = E.selectedSpeaker, a = E.setKioskModeEnabled, o = E.list, s;
|
|
449
469
|
if (o.type === "route-planner" && !e && !t && !n) {
|
|
450
470
|
var c;
|
|
451
|
-
let e =
|
|
471
|
+
let e = T.routePlannerStore;
|
|
452
472
|
s = {
|
|
453
473
|
type: "planner",
|
|
454
474
|
fromBookmarks: e.source === "bookmarks",
|
|
455
475
|
items: e.items.map((e) => e.entity.slug).filter(Boolean),
|
|
456
476
|
from: ((c = e.startPoint) == null ? void 0 : c.slug) || void 0
|
|
457
477
|
};
|
|
458
|
-
} else if (r && !
|
|
478
|
+
} else if (r && !E.isMultiPointRoute) {
|
|
459
479
|
var l;
|
|
460
480
|
s = {
|
|
461
481
|
type: "route",
|
|
462
|
-
to: r.to instanceof
|
|
463
|
-
from: r.from instanceof
|
|
464
|
-
accessible:
|
|
482
|
+
to: r.to instanceof k ? r.to.slug : void 0,
|
|
483
|
+
from: r.from instanceof k ? r.from.slug : void 0,
|
|
484
|
+
accessible: T.routeStore.onlyAccessible,
|
|
465
485
|
waypoints: (l = r.waypoints) == null ? void 0 : l.map((e) => e.slug)
|
|
466
486
|
};
|
|
467
487
|
} else if (e) s = {
|
|
@@ -498,7 +518,7 @@ function pn() {
|
|
|
498
518
|
var u, d;
|
|
499
519
|
s = {
|
|
500
520
|
type: "slug",
|
|
501
|
-
slug: (u = (d =
|
|
521
|
+
slug: (u = (d = E.selectedCategory) == null ? void 0 : d.slug) == null ? "" : u
|
|
502
522
|
};
|
|
503
523
|
break;
|
|
504
524
|
case "search":
|
|
@@ -529,17 +549,17 @@ function pn() {
|
|
|
529
549
|
eventItem: n
|
|
530
550
|
};
|
|
531
551
|
}
|
|
532
|
-
function
|
|
552
|
+
function yn() {
|
|
533
553
|
var e;
|
|
534
|
-
if (!
|
|
535
|
-
let t =
|
|
536
|
-
t ? i = t.name : n ? i = n.name : r ? i = r.name :
|
|
554
|
+
if (!Fe) return;
|
|
555
|
+
let t = E.selectedExhibitor, n = E.selectedEventItem, r = E.selectedSpeaker, i = "";
|
|
556
|
+
t ? i = t.name : n ? i = n.name : r ? i = r.name : E.list.type === "search" && E.list.text ? i = "`" + (E.list.text || "") + "`" : E.list.type === "multi-point-tour" && E.tourTitle && (i = E.tourTitle), i.length && (i += " – "), i += (e = a(Xe, y)) == null ? s(window.location.hostname, y) : e, document.title = i;
|
|
537
557
|
}
|
|
538
|
-
function
|
|
558
|
+
function bn(e) {
|
|
539
559
|
try {
|
|
540
|
-
if (
|
|
541
|
-
let t =
|
|
542
|
-
t &&
|
|
560
|
+
if (E.setMapSettings(e), e.z) {
|
|
561
|
+
let t = T.layerStore.layers.find((t) => t.name === e.z);
|
|
562
|
+
t && T.layerStore.updateVisibility(t, !0);
|
|
543
563
|
}
|
|
544
564
|
} catch (e) {
|
|
545
565
|
console.error("Failed to process map settings.", e);
|
|
@@ -547,26 +567,26 @@ function hn(e) {
|
|
|
547
567
|
}
|
|
548
568
|
//#endregion
|
|
549
569
|
//#region src/store/details-events.ts
|
|
550
|
-
function
|
|
551
|
-
return
|
|
570
|
+
function xn() {
|
|
571
|
+
return S(() => E.details, () => {
|
|
552
572
|
var e;
|
|
553
|
-
if (!
|
|
554
|
-
if (!
|
|
555
|
-
|
|
573
|
+
if (!E.onDetails) return;
|
|
574
|
+
if (!E.details) {
|
|
575
|
+
E.onDetails(null);
|
|
556
576
|
return;
|
|
557
577
|
}
|
|
558
|
-
let t =
|
|
559
|
-
if (
|
|
578
|
+
let t = E.details;
|
|
579
|
+
if (Ze.EXPO === "wineparis" && (t instanceof tt && (t = t.booths[0]), !t)) return;
|
|
560
580
|
let n = null, r = [];
|
|
561
|
-
if (t instanceof
|
|
581
|
+
if (t instanceof tt) n = "exhibitor", r = t.booths.map((e) => e.name).sort((e, t) => {
|
|
562
582
|
var n, r;
|
|
563
|
-
return e == ((n =
|
|
583
|
+
return e == ((n = T.routeStore.tempToBooth) == null ? void 0 : n.name) ? -1 : +(t == ((r = T.routeStore.tempToBooth) == null ? void 0 : r.name));
|
|
564
584
|
});
|
|
565
|
-
else if (t instanceof
|
|
585
|
+
else if (t instanceof k) n = "booth", r = [t.name];
|
|
566
586
|
else if (t instanceof M) {
|
|
567
587
|
var i, a;
|
|
568
588
|
n = "route", r = [(i = t.from) == null ? void 0 : i.name, (a = t.to) == null ? void 0 : a.name].filter((e) => !!e);
|
|
569
|
-
} else t instanceof
|
|
589
|
+
} else t instanceof Je && (n = "category", r = t.exhibitors.map((e) => e.booths.map((e) => e.name)).flat());
|
|
570
590
|
let o = t, s = {
|
|
571
591
|
type: n,
|
|
572
592
|
name: o == null ? void 0 : o.name,
|
|
@@ -574,9 +594,9 @@ function gn() {
|
|
|
574
594
|
externalId: o == null ? void 0 : o.externalId,
|
|
575
595
|
boothsNames: r
|
|
576
596
|
};
|
|
577
|
-
|
|
597
|
+
E.onDetails({
|
|
578
598
|
...s,
|
|
579
|
-
...n === "route" ? { routeInfo: (e =
|
|
599
|
+
...n === "route" ? { routeInfo: (e = T.routeStore.routeInfo) == null ? void 0 : e } : {}
|
|
580
600
|
});
|
|
581
601
|
});
|
|
582
602
|
}
|
|
@@ -629,7 +649,7 @@ function K(e) {
|
|
|
629
649
|
entity: e.entity,
|
|
630
650
|
isEnded: e.isEnded
|
|
631
651
|
};
|
|
632
|
-
case
|
|
652
|
+
case te: return {
|
|
633
653
|
id: e.id,
|
|
634
654
|
name: J(e.name),
|
|
635
655
|
entity: e.entity
|
|
@@ -654,35 +674,35 @@ function J(e) {
|
|
|
654
674
|
}
|
|
655
675
|
//#endregion
|
|
656
676
|
//#region src/floorplan.ready.tsx
|
|
657
|
-
var Y =
|
|
658
|
-
(0,
|
|
659
|
-
var
|
|
677
|
+
var Y = Pe(), X = (0, Ot.default)("efp:api");
|
|
678
|
+
(0, At.install)();
|
|
679
|
+
var Sn = class extends c {
|
|
660
680
|
constructor(...e) {
|
|
661
681
|
super(...e), this.root = void 0;
|
|
662
682
|
}
|
|
663
683
|
init() {
|
|
664
|
-
|
|
684
|
+
ft(), nn(), this.ignoreQuery || rn(this.offHistory), gt("load"), xt(T), T.fp = this, _(xn()), nt(), lt(this.consent), dt(ht.Load, ""), this.root = (0, kt.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, Y.jsx)(Dt, { children: /* @__PURE__ */ (0, Y.jsx)(We, {
|
|
665
685
|
offHistory: this.offHistory,
|
|
666
686
|
consent: this.consent
|
|
667
|
-
}) })),
|
|
687
|
+
}) })), dt(ht.Rendered, ""), _(S(() => T.layerStore.layersLoaded, () => {
|
|
668
688
|
let e = this.renderTarget.getRootNode(), t = e instanceof ShadowRoot ? e.host : this.renderTarget.parentElement;
|
|
669
689
|
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); t && this.element.firstChild && this.element.firstChild !== t;) this.element.removeChild(this.element.firstChild);
|
|
670
|
-
if (this.resolveReady(), !
|
|
690
|
+
if (this.resolveReady(), !T.initialized) {
|
|
671
691
|
var n;
|
|
672
692
|
(n = this.onInit) == null || n.call(this, this);
|
|
673
693
|
}
|
|
674
|
-
|
|
694
|
+
T.initialized = !0;
|
|
675
695
|
})), _(() => clearTimeout(Q));
|
|
676
|
-
let e =
|
|
677
|
-
e && import("./bootIntercom-
|
|
696
|
+
let e = It(Xe);
|
|
697
|
+
e && import("./bootIntercom-CtK5Nlux.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
|
|
678
698
|
}
|
|
679
699
|
selectBooth(e) {
|
|
680
700
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
681
701
|
$("selectBooth", "Parameter must be a string or an array of strings.", "EFP000000");
|
|
682
702
|
return;
|
|
683
703
|
}
|
|
684
|
-
let t =
|
|
685
|
-
|
|
704
|
+
let t = T.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
705
|
+
T.selectBooth(t);
|
|
686
706
|
}
|
|
687
707
|
selectExhibitor(e) {
|
|
688
708
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
@@ -690,35 +710,35 @@ var _n = class extends c {
|
|
|
690
710
|
return;
|
|
691
711
|
}
|
|
692
712
|
if (!(e != null && e.length)) {
|
|
693
|
-
|
|
713
|
+
T.uiState.menu = !1, T.searchStore.resetSearchBox(), T.uiState.details = null;
|
|
694
714
|
return;
|
|
695
715
|
}
|
|
696
|
-
let t =
|
|
716
|
+
let t = T.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
697
717
|
if (!(t != null && t.length)) return;
|
|
698
718
|
if (typeof e == "string") {
|
|
699
|
-
|
|
719
|
+
T.selectExhibitor(t[0]), T.moveToList([t[0]]);
|
|
700
720
|
return;
|
|
701
721
|
}
|
|
702
|
-
let n =
|
|
703
|
-
n &&
|
|
722
|
+
let n = en(t.flatMap((e) => e.booths.map((e) => e.layer)).map((e) => e.description));
|
|
723
|
+
n && T.layerStore.updateVisibility(n, !0), T.uiState.menu = !1, T.searchStore.resetSearchBox(), T.uiState.details = null, T.uiState.list = {
|
|
704
724
|
type: "filter",
|
|
705
725
|
items: t,
|
|
706
726
|
query: {
|
|
707
727
|
key: "exhibitors",
|
|
708
728
|
value: t.map((e) => e.name).join(",")
|
|
709
729
|
}
|
|
710
|
-
},
|
|
730
|
+
}, T.moveToList();
|
|
711
731
|
}
|
|
712
732
|
highlightExhibitors(e) {
|
|
713
|
-
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"),
|
|
733
|
+
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), T.boothStore.highlightedByExternalIds = [], T.exhibitorStore.highlightedByExternalIds = [...e];
|
|
714
734
|
}
|
|
715
735
|
highlightBooths(e) {
|
|
716
|
-
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"),
|
|
736
|
+
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), T.exhibitorStore.highlightedByExternalIds = [], T.boothStore.highlightedByExternalIds = [...e];
|
|
717
737
|
}
|
|
718
738
|
highlightEntities(e) {
|
|
719
739
|
Array.isArray(e) || $("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
|
|
720
|
-
let { boothExternalIds: t, exhibitorExternalIds: n } =
|
|
721
|
-
|
|
740
|
+
let { boothExternalIds: t, exhibitorExternalIds: n } = pt(e);
|
|
741
|
+
T.boothStore.highlightedByExternalIds = [...t], T.exhibitorStore.highlightedByExternalIds = [...n];
|
|
722
742
|
}
|
|
723
743
|
selectRoute(e, t) {
|
|
724
744
|
if (Array.isArray(e)) {
|
|
@@ -728,10 +748,11 @@ var _n = class extends c {
|
|
|
728
748
|
$("selectRoute", "Invalid route format: When providing an array, it must include at least two points: a start and a destination.", "EFP000401");
|
|
729
749
|
return;
|
|
730
750
|
}
|
|
731
|
-
|
|
751
|
+
let i = t.map(Z).filter((e) => e !== null);
|
|
752
|
+
T.routeStore.selectRoute(new M(Z(n), Z(r), i));
|
|
732
753
|
return;
|
|
733
754
|
}
|
|
734
|
-
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"),
|
|
755
|
+
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), T.routeStore.selectRoute(new M(Z(e), t ? Z(t) : null));
|
|
735
756
|
}
|
|
736
757
|
getOptimizedRoutes(e) {
|
|
737
758
|
if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
|
|
@@ -751,12 +772,12 @@ var _n = class extends c {
|
|
|
751
772
|
}
|
|
752
773
|
selectCurrentPosition(e, t, n) {
|
|
753
774
|
var r;
|
|
754
|
-
let i =
|
|
755
|
-
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"),
|
|
775
|
+
let i = A(e.x) && A(e.y), a = A(e.lng) && A(e.lat);
|
|
776
|
+
!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);
|
|
756
777
|
}
|
|
757
778
|
setBookmarks(e) {
|
|
758
779
|
(!Array.isArray(e) || !e.length) && $("setBookmarks", "Parameter must be an array.", "EFP000700"), e.forEach((e) => {
|
|
759
|
-
let t =
|
|
780
|
+
let t = T.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
|
|
760
781
|
t && (t.bookmarked = e.bookmarked);
|
|
761
782
|
});
|
|
762
783
|
}
|
|
@@ -775,29 +796,29 @@ var _n = class extends c {
|
|
|
775
796
|
$("setEntitiesBookmarks", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000702");
|
|
776
797
|
return;
|
|
777
798
|
}
|
|
778
|
-
let r =
|
|
799
|
+
let r = Qe("bookmarked"), i = {
|
|
779
800
|
exhibitor: {
|
|
780
801
|
existingIds: new Set(r.exhibitors || []),
|
|
781
|
-
finder: (e) =>
|
|
782
|
-
replacer: (e) =>
|
|
802
|
+
finder: (e) => T.exhibitorStore.findExhibitor(e),
|
|
803
|
+
replacer: (e) => T.exhibitorStore.replaceBookmarked(e)
|
|
783
804
|
},
|
|
784
805
|
event: {
|
|
785
806
|
existingIds: new Set(r.events || []),
|
|
786
|
-
finder: (e) =>
|
|
787
|
-
replacer: (e) =>
|
|
807
|
+
finder: (e) => T.eventStore.findByNameOrSlug(e),
|
|
808
|
+
replacer: (e) => T.eventStore.replaceBookmarked(e)
|
|
788
809
|
},
|
|
789
810
|
speaker: {
|
|
790
811
|
existingIds: new Set(r.speakers || []),
|
|
791
|
-
finder: (e) =>
|
|
792
|
-
replacer: (e) =>
|
|
812
|
+
finder: (e) => T.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
|
|
813
|
+
replacer: (e) => T.speakerStore.replaceBookmarked(e)
|
|
793
814
|
},
|
|
794
815
|
booth: {
|
|
795
816
|
existingIds: new Set(r.booths || []),
|
|
796
817
|
finder: (e) => {
|
|
797
|
-
let t =
|
|
818
|
+
let t = T.boothStore.findBooth(e);
|
|
798
819
|
return (t == null ? void 0 : t.exhibitors.length) === 0 ? t : void 0;
|
|
799
820
|
},
|
|
800
|
-
replacer: (e) =>
|
|
821
|
+
replacer: (e) => T.boothStore.replaceBookmarked(e)
|
|
801
822
|
}
|
|
802
823
|
};
|
|
803
824
|
e.forEach((e) => {
|
|
@@ -817,16 +838,16 @@ var _n = class extends c {
|
|
|
817
838
|
$("setEntitiesVisited", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000704");
|
|
818
839
|
return;
|
|
819
840
|
}
|
|
820
|
-
let r =
|
|
841
|
+
let r = Qe("visited"), i = {
|
|
821
842
|
exhibitor: {
|
|
822
843
|
existingIds: new Set(r.exhibitors || []),
|
|
823
|
-
finder: (e) =>
|
|
824
|
-
replacer: (e) =>
|
|
844
|
+
finder: (e) => T.exhibitorStore.findExhibitor(e),
|
|
845
|
+
replacer: (e) => T.exhibitorStore.replaceVisited(e)
|
|
825
846
|
},
|
|
826
847
|
event: {
|
|
827
848
|
existingIds: new Set(r.events || []),
|
|
828
|
-
finder: (e) =>
|
|
829
|
-
replacer: (e) =>
|
|
849
|
+
finder: (e) => T.eventStore.findByNameOrSlug(e),
|
|
850
|
+
replacer: (e) => T.eventStore.replaceVisited(e)
|
|
830
851
|
}
|
|
831
852
|
};
|
|
832
853
|
e.forEach((e) => {
|
|
@@ -841,94 +862,94 @@ var _n = class extends c {
|
|
|
841
862
|
$("setMarkers", "Invalid input.", "EFP000800");
|
|
842
863
|
return;
|
|
843
864
|
}
|
|
844
|
-
|
|
865
|
+
T.routeStore.setMarkers(e);
|
|
845
866
|
}
|
|
846
867
|
selectMarker(e, t = !0) {
|
|
847
|
-
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"),
|
|
868
|
+
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), T.routeStore.selectMarker(e, t);
|
|
848
869
|
}
|
|
849
870
|
drawCircles(e) {
|
|
850
|
-
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"),
|
|
871
|
+
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), T.uiState.debugCircles = e;
|
|
851
872
|
}
|
|
852
873
|
checkRoutes() {
|
|
853
|
-
|
|
874
|
+
T.routeStore.checkRoutes();
|
|
854
875
|
}
|
|
855
876
|
updateLayerVisibility(e, t) {
|
|
856
|
-
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"),
|
|
877
|
+
typeof e != "string" && $("updateLayerVisibility", "The layer name (string) must be passed.", "EFP000B00"), t || $("updateLayerVisibility", "Passing a false value to visible will have no effect.", "EFP000B01"), T.layerStore.updateVisibility(e, t);
|
|
857
878
|
}
|
|
858
879
|
getCenterCoordinates() {
|
|
859
|
-
return
|
|
880
|
+
return T.fp.getCenterCoordinates();
|
|
860
881
|
}
|
|
861
882
|
exhibitorsList() {
|
|
862
|
-
return
|
|
883
|
+
return T.exhibitorStore.exhibitors.map((e) => K(e));
|
|
863
884
|
}
|
|
864
885
|
boothsList() {
|
|
865
|
-
return
|
|
886
|
+
return T.boothStore.booths.map((e) => K(e));
|
|
866
887
|
}
|
|
867
888
|
categoriesList() {
|
|
868
|
-
return
|
|
889
|
+
return T.categoryStore.categories.map((e) => K(e));
|
|
869
890
|
}
|
|
870
891
|
selectCategory(e) {
|
|
871
892
|
if (e == null || typeof e != "string") {
|
|
872
|
-
|
|
893
|
+
T.searchStore.selectSearch();
|
|
873
894
|
return;
|
|
874
895
|
}
|
|
875
|
-
let t = e == null ? void 0 : e.toLowerCase(), n =
|
|
896
|
+
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);
|
|
876
897
|
if (!n) {
|
|
877
898
|
$("selectCategory", `Category ${e} not found.`, "EFP000C01");
|
|
878
899
|
return;
|
|
879
900
|
}
|
|
880
|
-
|
|
901
|
+
T.selectCategory(n);
|
|
881
902
|
}
|
|
882
903
|
select(e) {
|
|
883
904
|
if (typeof e != "string") {
|
|
884
905
|
$("select", "Parameter must be a string.", "EFP001700");
|
|
885
906
|
return;
|
|
886
907
|
}
|
|
887
|
-
let t = e, n = t == null ? void 0 : t.toLowerCase(), r =
|
|
908
|
+
let t = e, n = t == null ? void 0 : t.toLowerCase(), r = T.boothStore.booths.find((e) => {
|
|
888
909
|
var t, r, i;
|
|
889
910
|
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;
|
|
890
911
|
});
|
|
891
912
|
if (r) {
|
|
892
|
-
setTimeout(() =>
|
|
913
|
+
setTimeout(() => T.selectBooth(r), 250);
|
|
893
914
|
return;
|
|
894
915
|
}
|
|
895
|
-
let i =
|
|
916
|
+
let i = T.eventStore.eventItems.find((e) => {
|
|
896
917
|
var t, r;
|
|
897
918
|
return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
|
|
898
919
|
});
|
|
899
920
|
if (i) {
|
|
900
|
-
|
|
921
|
+
T.selectEventItem(i, !0);
|
|
901
922
|
return;
|
|
902
923
|
}
|
|
903
|
-
let a =
|
|
924
|
+
let a = T.exhibitorStore.exhibitors.find((e) => {
|
|
904
925
|
var t, r;
|
|
905
926
|
return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
|
|
906
927
|
});
|
|
907
928
|
if (a) {
|
|
908
|
-
setTimeout(() =>
|
|
929
|
+
setTimeout(() => T.clickExhibitor(a), 250);
|
|
909
930
|
return;
|
|
910
931
|
}
|
|
911
|
-
let o =
|
|
932
|
+
let o = T.categoryStore.categories.find((e) => e.slug === t);
|
|
912
933
|
if (o) {
|
|
913
|
-
|
|
934
|
+
T.selectCategory(o);
|
|
914
935
|
return;
|
|
915
936
|
}
|
|
916
|
-
let s =
|
|
937
|
+
let s = T.speakerStore.findBySlug(t);
|
|
917
938
|
if (s) {
|
|
918
|
-
|
|
939
|
+
T.selectSpeaker(s, !0);
|
|
919
940
|
return;
|
|
920
941
|
}
|
|
921
|
-
t.includes("heatmap=true") ||
|
|
942
|
+
t.includes("heatmap=true") || T.searchStore.selectSearch(t);
|
|
922
943
|
}
|
|
923
944
|
showList(e) {
|
|
924
945
|
let t = {
|
|
925
|
-
bookmarks: () =>
|
|
926
|
-
visited: () =>
|
|
927
|
-
sessions: () =>
|
|
928
|
-
exhibitors: () =>
|
|
929
|
-
speakers: () =>
|
|
930
|
-
tours: () =>
|
|
931
|
-
language: () =>
|
|
946
|
+
bookmarks: () => T.selectBookmarks(),
|
|
947
|
+
visited: () => T.selectVisited(),
|
|
948
|
+
sessions: () => T.selectSessions(),
|
|
949
|
+
exhibitors: () => T.selectExhibitors(),
|
|
950
|
+
speakers: () => T.selectSpeakers(),
|
|
951
|
+
tours: () => T.selectTours(),
|
|
952
|
+
language: () => T.selectLanguage()
|
|
932
953
|
}, n = t[e];
|
|
933
954
|
if (!n) {
|
|
934
955
|
$("showList", `Unknown list "${e}". Must be one of: ${Object.keys(t).join(", ")}.`, "EFP001800");
|
|
@@ -936,70 +957,83 @@ var _n = class extends c {
|
|
|
936
957
|
}
|
|
937
958
|
n();
|
|
938
959
|
}
|
|
960
|
+
showSessions(e = {}) {
|
|
961
|
+
X("showSessions called with filters=%O", e);
|
|
962
|
+
let t = me.safeParse(e);
|
|
963
|
+
if (!t.success) {
|
|
964
|
+
$("showSessions", t.error.message, "EFP001C00");
|
|
965
|
+
return;
|
|
966
|
+
}
|
|
967
|
+
let n = t.data, { eventStore: r, sessionsFilterStore: i } = T;
|
|
968
|
+
C(() => {
|
|
969
|
+
var e, t, a, o;
|
|
970
|
+
E.details = null, T.selectSessions(), i.closeFilter(), i.setPending("selectedTracks", Cn(n.tracks, r.tracks, "track")), i.setPending("selectedVenues", Cn(n.venues, r.venues, "venue")), i.setPending("date", (e = n.date) == null ? "all" : e), i.setPending("timeOfDay", (t = n.time) == null ? "all" : t), i.setPending("showBookmarksOnly", (a = n.bookmarked) != null && a), i.setPending("showLiveOnly", (o = n.live) != null && o), i.commitFilters();
|
|
971
|
+
});
|
|
972
|
+
}
|
|
939
973
|
selectTour(e) {
|
|
940
974
|
if (typeof e != "string" || !e) {
|
|
941
975
|
$("selectTour", "A tour id must be passed.", "EFP001900");
|
|
942
976
|
return;
|
|
943
977
|
}
|
|
944
|
-
let t =
|
|
945
|
-
t ?
|
|
978
|
+
let t = T.toursStore.getTourById(e);
|
|
979
|
+
t ? T.toursStore.launchTour(t, t.name, t.description) : (console.warn(`Route with id "${e}" not found`), T.selectTours());
|
|
946
980
|
}
|
|
947
981
|
openPlanner(e = {}) {
|
|
948
982
|
if (typeof e != "object" || !e) {
|
|
949
983
|
$("openPlanner", "An options object must be passed.", "EFP001A00");
|
|
950
984
|
return;
|
|
951
985
|
}
|
|
952
|
-
let t = e.from ?
|
|
953
|
-
if (e.fromBookmarks)
|
|
986
|
+
let t = e.from ? j(e.from) : null;
|
|
987
|
+
if (e.fromBookmarks) T.routePlannerStore.launchFromBookmarks(t == null ? void 0 : t);
|
|
954
988
|
else {
|
|
955
989
|
var n;
|
|
956
|
-
|
|
990
|
+
T.routePlannerStore.launchFromSlugs((n = e.items) == null ? [] : n, t == null ? void 0 : t);
|
|
957
991
|
}
|
|
958
992
|
}
|
|
959
993
|
startBuildRoute() {
|
|
960
|
-
|
|
994
|
+
T.uiState.startBuildRoute();
|
|
961
995
|
}
|
|
962
996
|
applyParameters(e) {
|
|
963
|
-
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"),
|
|
997
|
+
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), an(e);
|
|
964
998
|
}
|
|
965
999
|
getVisibility() {
|
|
966
|
-
return
|
|
1000
|
+
return T.uiState.visibility;
|
|
967
1001
|
}
|
|
968
1002
|
setVisibility(e) {
|
|
969
|
-
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"),
|
|
1003
|
+
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), T.uiState.setVisibility(e);
|
|
970
1004
|
}
|
|
971
1005
|
findLocation() {
|
|
972
|
-
|
|
1006
|
+
T.routeStore.findLocation();
|
|
973
1007
|
}
|
|
974
1008
|
zoomIn() {
|
|
975
|
-
|
|
1009
|
+
T.uiState.zoomIn();
|
|
976
1010
|
}
|
|
977
1011
|
zoomOut() {
|
|
978
|
-
|
|
1012
|
+
T.uiState.zoomOut();
|
|
979
1013
|
}
|
|
980
1014
|
switchView() {
|
|
981
|
-
|
|
1015
|
+
T.maplibreStore.activateMaplibre();
|
|
982
1016
|
}
|
|
983
1017
|
setCamera(e) {
|
|
984
1018
|
X("setCamera called with camera=%O", e);
|
|
985
|
-
let t =
|
|
1019
|
+
let t = oe.safeParse(e);
|
|
986
1020
|
if (!t.success) {
|
|
987
1021
|
$("setCamera", t.error.message, "EFP001B00");
|
|
988
1022
|
return;
|
|
989
1023
|
}
|
|
990
|
-
|
|
1024
|
+
T.uiState.setMapSettings(w(t.data));
|
|
991
1025
|
}
|
|
992
1026
|
getCamera() {
|
|
993
|
-
return
|
|
1027
|
+
return He(T.uiState.mapSettings);
|
|
994
1028
|
}
|
|
995
1029
|
zoomTo(e, t) {
|
|
996
1030
|
X("zoomTo called with selectors=%O options=%O", e, t);
|
|
997
|
-
let n =
|
|
1031
|
+
let n = Zt.safeParse(e);
|
|
998
1032
|
if (!n.success) {
|
|
999
1033
|
$("zoomTo", n.error.message, "EFP001600");
|
|
1000
1034
|
return;
|
|
1001
1035
|
}
|
|
1002
|
-
let r =
|
|
1036
|
+
let r = Qt.safeParse(t);
|
|
1003
1037
|
if (!r.success) {
|
|
1004
1038
|
$("zoomTo", r.error.message, "EFP001601");
|
|
1005
1039
|
return;
|
|
@@ -1010,7 +1044,7 @@ var _n = class extends c {
|
|
|
1010
1044
|
getBounds(e) {
|
|
1011
1045
|
var t, n;
|
|
1012
1046
|
X("getBounds called with selectors=%O", e);
|
|
1013
|
-
let r =
|
|
1047
|
+
let r = Zt.safeParse(e);
|
|
1014
1048
|
if (!r.success) {
|
|
1015
1049
|
$("getBounds", r.error.message, "EFP001400");
|
|
1016
1050
|
return;
|
|
@@ -1018,15 +1052,15 @@ var _n = class extends c {
|
|
|
1018
1052
|
let i = [];
|
|
1019
1053
|
if ((t = e.booths) == null || t.forEach((e) => {
|
|
1020
1054
|
let t;
|
|
1021
|
-
e.externalId ? t =
|
|
1055
|
+
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);
|
|
1022
1056
|
}), (n = e.exhibitors) == null || n.forEach((e) => {
|
|
1023
1057
|
var t;
|
|
1024
1058
|
let n;
|
|
1025
|
-
e.externalId ? n =
|
|
1059
|
+
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) => {
|
|
1026
1060
|
e.rect && i.push(e.rect);
|
|
1027
1061
|
});
|
|
1028
1062
|
}), i.length === 0) return;
|
|
1029
|
-
let a =
|
|
1063
|
+
let a = O.fromUnion(...i);
|
|
1030
1064
|
return {
|
|
1031
1065
|
leftTop: {
|
|
1032
1066
|
x: a.min.x,
|
|
@@ -1040,37 +1074,37 @@ var _n = class extends c {
|
|
|
1040
1074
|
}
|
|
1041
1075
|
fitBounds(e, t) {
|
|
1042
1076
|
if (X("fitBounds called with bounds=%O options=%O", e, t), !e) {
|
|
1043
|
-
|
|
1077
|
+
T.uiState.fitBounds();
|
|
1044
1078
|
return;
|
|
1045
1079
|
}
|
|
1046
|
-
let n =
|
|
1080
|
+
let n = Yt.safeParse(e);
|
|
1047
1081
|
if (!n.success) {
|
|
1048
1082
|
$("fitBounds", n.error.message, "EFP001500");
|
|
1049
1083
|
return;
|
|
1050
1084
|
}
|
|
1051
|
-
let r =
|
|
1085
|
+
let r = Qt.safeParse(t);
|
|
1052
1086
|
if (!r.success) {
|
|
1053
1087
|
$("fitBounds", r.error.message, "EFP001501");
|
|
1054
1088
|
return;
|
|
1055
1089
|
}
|
|
1056
|
-
let i =
|
|
1090
|
+
let i = O.fromMinMax({
|
|
1057
1091
|
x: e.leftTop.x,
|
|
1058
1092
|
y: e.leftTop.y
|
|
1059
1093
|
}, {
|
|
1060
1094
|
x: e.rightBottom.x,
|
|
1061
1095
|
y: e.rightBottom.y
|
|
1062
1096
|
});
|
|
1063
|
-
|
|
1097
|
+
T.uiState.moveToRect = t != null && t.padding ? i.expand(t.padding) : i;
|
|
1064
1098
|
}
|
|
1065
1099
|
getBoothRect(e) {
|
|
1066
1100
|
var t;
|
|
1067
1101
|
typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00");
|
|
1068
|
-
let n = (t =
|
|
1069
|
-
return n ?
|
|
1102
|
+
let n = (t = j(e)) == null ? void 0 : t.rect;
|
|
1103
|
+
return n ? wn.fromBox(n) : void 0;
|
|
1070
1104
|
}
|
|
1071
1105
|
convertToGeo(e, t) {
|
|
1072
1106
|
var n;
|
|
1073
|
-
let r = (n =
|
|
1107
|
+
let r = (n = rt()) == null || (n = n.properties) == null ? void 0 : n.config;
|
|
1074
1108
|
if (!r) {
|
|
1075
1109
|
$("convertToGeo", "The coordinates cannot be converted because the GPS configuration is not defined.", "EFP001000");
|
|
1076
1110
|
return;
|
|
@@ -1083,7 +1117,7 @@ var _n = class extends c {
|
|
|
1083
1117
|
}
|
|
1084
1118
|
getGeoConfig() {
|
|
1085
1119
|
var e, t;
|
|
1086
|
-
let n = (e =
|
|
1120
|
+
let n = (e = rt()) == null || (e = e.properties) == null ? void 0 : e.config;
|
|
1087
1121
|
return n ? {
|
|
1088
1122
|
bearing: (t = n.bearing) == null ? 0 : t,
|
|
1089
1123
|
p0: n.p0,
|
|
@@ -1092,16 +1126,17 @@ var _n = class extends c {
|
|
|
1092
1126
|
} : null;
|
|
1093
1127
|
}
|
|
1094
1128
|
releaseResources() {
|
|
1095
|
-
|
|
1129
|
+
var e;
|
|
1130
|
+
T.maplibreStore.dispose(), (e = this.root) == null || e.unmount(), super.releaseResources();
|
|
1096
1131
|
}
|
|
1097
1132
|
search(e) {
|
|
1098
|
-
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"),
|
|
1133
|
+
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) => ({
|
|
1099
1134
|
item: K(e.item),
|
|
1100
1135
|
score: e.score
|
|
1101
1136
|
}))));
|
|
1102
1137
|
}
|
|
1103
1138
|
getFloors() {
|
|
1104
|
-
return
|
|
1139
|
+
return T.layerStore.floors.map((e) => ({
|
|
1105
1140
|
name: e.name,
|
|
1106
1141
|
shortName: e.shortName,
|
|
1107
1142
|
description: e.description,
|
|
@@ -1138,70 +1173,83 @@ var _n = class extends c {
|
|
|
1138
1173
|
}
|
|
1139
1174
|
}
|
|
1140
1175
|
showPathway(e, t) {
|
|
1141
|
-
let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ?
|
|
1176
|
+
let { boothExternalIds: n, exhibitorExternalIds: r } = t != null && t.length ? pt(t) : {
|
|
1142
1177
|
boothExternalIds: [],
|
|
1143
1178
|
exhibitorExternalIds: []
|
|
1144
1179
|
};
|
|
1145
|
-
|
|
1180
|
+
ln({
|
|
1146
1181
|
pathwayId: e,
|
|
1147
1182
|
boothIds: n,
|
|
1148
1183
|
exhibitorIds: r
|
|
1149
1184
|
});
|
|
1150
1185
|
}
|
|
1151
1186
|
showPathwayOnly(e, t) {
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
let e = (a = i.viewbox) == null ? i.rect : a;
|
|
1157
|
-
S.uiState.moveToRect = e.clone();
|
|
1158
|
-
}
|
|
1187
|
+
var n;
|
|
1188
|
+
this.activateFloor({ name: t }), T.layerStore.showPathWay(e), T.uiState.setPathwayOnlyMode(!0);
|
|
1189
|
+
let r = T.layerStore.findLayer(e), i = T.layerStore.findLayer(t), a = r != null && r.rect || r != null && r.viewbox ? r : i, o = (n = a == null ? void 0 : a.viewbox) == null ? a == null ? void 0 : a.rect : n;
|
|
1190
|
+
o && (T.uiState.moveToRect = o.clone());
|
|
1159
1191
|
}
|
|
1160
1192
|
hidePathways() {
|
|
1161
|
-
this.highlightBooths([]),
|
|
1193
|
+
this.highlightBooths([]), T.layerStore.hidePathways(), T.uiState.setPathwayOnlyMode(!1);
|
|
1162
1194
|
}
|
|
1163
1195
|
showSearch() {
|
|
1164
|
-
|
|
1196
|
+
T.selectSearch("");
|
|
1165
1197
|
}
|
|
1166
1198
|
changeLanguage(e) {
|
|
1167
1199
|
var t;
|
|
1168
1200
|
let n = e == null || (t = e.toLowerCase) == null ? void 0 : t.call(e);
|
|
1169
1201
|
if (!Ce(n)) {
|
|
1170
|
-
$("changeLanguage", `Language "${e}" was not found. Available languages: ${
|
|
1202
|
+
$("changeLanguage", `Language "${e}" was not found. Available languages: ${be().map((e) => e.id).join(",")}`, "EFP001300");
|
|
1171
1203
|
return;
|
|
1172
1204
|
}
|
|
1173
|
-
|
|
1205
|
+
xe(n);
|
|
1174
1206
|
}
|
|
1175
1207
|
isGpsTrackingEnabled() {
|
|
1176
|
-
return
|
|
1208
|
+
return T.routeStore.gpsEnabled;
|
|
1177
1209
|
}
|
|
1178
1210
|
setGpsTrackingEnabled(e) {
|
|
1179
|
-
|
|
1211
|
+
T.routeStore.setGpsTrackingEnabled(e);
|
|
1180
1212
|
}
|
|
1181
1213
|
deselectCurrentPosition() {
|
|
1182
|
-
|
|
1214
|
+
T.routeStore.selectCurrentPosition(null, !1);
|
|
1183
1215
|
}
|
|
1184
1216
|
deselectRoute() {
|
|
1185
|
-
|
|
1217
|
+
T.routeStore.selectRoute(null), T.routeStore.setOnlyAccessible(!1);
|
|
1186
1218
|
}
|
|
1187
1219
|
reset() {
|
|
1188
|
-
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]),
|
|
1220
|
+
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), T.uiState.kioskData && T.resetCameraFn) {
|
|
1189
1221
|
var e;
|
|
1190
|
-
(e =
|
|
1222
|
+
(e = T.resetCameraFn) == null || e.call(T);
|
|
1191
1223
|
} else this.fitBounds();
|
|
1192
1224
|
}
|
|
1193
1225
|
selectAccessibleRoute(e) {
|
|
1194
|
-
|
|
1226
|
+
T.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
|
|
1195
1227
|
}
|
|
1196
1228
|
};
|
|
1229
|
+
function Cn(e = [], t, n) {
|
|
1230
|
+
let r = /* @__PURE__ */ new Set();
|
|
1231
|
+
for (let o of e) {
|
|
1232
|
+
var i, a;
|
|
1233
|
+
let e = o.toLowerCase(), s = (i = (a = t.find((e) => String(e.id) === o)) == null ? t.find((t) => {
|
|
1234
|
+
var n;
|
|
1235
|
+
return ((n = t.externalId) == null ? void 0 : n.toLowerCase()) === e;
|
|
1236
|
+
}) : a) == null ? t.find((t) => {
|
|
1237
|
+
var n, r;
|
|
1238
|
+
return ((n = t.name) == null ? void 0 : n.toLowerCase()) === e || ((r = t.slug) == null ? void 0 : r.toLowerCase()) === e;
|
|
1239
|
+
}) : i;
|
|
1240
|
+
s ? r.add(s.id) : console.warn(`Entity not found: ${n} with query "${o}"`);
|
|
1241
|
+
}
|
|
1242
|
+
return [...r];
|
|
1243
|
+
}
|
|
1197
1244
|
function Z(e) {
|
|
1198
|
-
|
|
1245
|
+
let t = typeof e == "string" ? j(e) : T.routeStore.getNearestBooth(e);
|
|
1246
|
+
return t == null ? null : t;
|
|
1199
1247
|
}
|
|
1200
1248
|
var Q = 0;
|
|
1201
1249
|
function $(e, t, n) {
|
|
1202
1250
|
let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://js-sdk.expofp.com/api/packages";
|
|
1203
|
-
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`),
|
|
1204
|
-
|
|
1251
|
+
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), T.fp.disableRuntimeAlerts) return;
|
|
1252
|
+
T.uiState.setGlobalErrorMessage({
|
|
1205
1253
|
title: r,
|
|
1206
1254
|
body: /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [
|
|
1207
1255
|
i,
|
|
@@ -1217,12 +1265,12 @@ function $(e, t, n) {
|
|
|
1217
1265
|
let o = 8e3;
|
|
1218
1266
|
Q = window.setTimeout(() => {
|
|
1219
1267
|
let e = async () => {
|
|
1220
|
-
|
|
1268
|
+
T.uiState.globalErrorMessages.length > 0 && (T.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
|
|
1221
1269
|
};
|
|
1222
1270
|
e();
|
|
1223
1271
|
}, o);
|
|
1224
1272
|
}
|
|
1225
|
-
var
|
|
1273
|
+
var wn = class e {
|
|
1226
1274
|
get h() {
|
|
1227
1275
|
return Math.abs(this.y2 - this.y1);
|
|
1228
1276
|
}
|
|
@@ -1295,4 +1343,4 @@ var vn = class e {
|
|
|
1295
1343
|
}
|
|
1296
1344
|
};
|
|
1297
1345
|
//#endregion
|
|
1298
|
-
export {
|
|
1346
|
+
export { Sn as default };
|