@expofp/floorplan 3.45.1 → 3.45.3
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-Dcwu_Erq.js → Button-EHylnqPi.js} +5 -5
- package/dist/browser/{CookieConsent-DGTw9yBm.js → CookieConsent-ehfLl8S5.js} +7 -7
- package/dist/browser/{Debug-JZ9md0eP.js → Debug-DhroQesJ.js} +7 -7
- package/dist/browser/{DebugTools-CratPuV3.js → DebugTools-BSTEEfIR.js} +6 -6
- package/dist/browser/{Demo-CUmjH8Ho.js → Demo-BsStOoFd.js} +9 -9
- package/dist/browser/{Free-DsJz0sgq.js → Free-DHqyXetM.js} +10 -10
- package/dist/browser/{GalleryContainer-CEdKWbFL.js → GalleryContainer-BPsowO55.js} +11 -11
- package/dist/browser/{GpsLoader-CpihsOIR.js → GpsLoader-ot7w9Q4j.js} +13 -13
- package/dist/browser/{KioskStore-C_LBovdc.js → KioskStore-BqWBGn2E.js} +10 -10
- package/dist/browser/{LayerStore-91e6BAzl.js → LayerStore-BTsnfwRm.js} +47 -47
- package/dist/browser/{MaplibreAdapter-9qou3kuu.js → MaplibreAdapter-CQgSMYVS.js} +20 -20
- package/dist/browser/{ModalContainer-BXfF2Q_j.js → ModalContainer-1bkU80Bl.js} +10 -10
- package/dist/browser/{PermissionNotice-Cs-hDB1d.js → PermissionNotice-DfkNyvJW.js} +6 -6
- package/dist/browser/{RouteStore-CDPMgE4a.js → RouteStore-FUWqY6LM.js} +24 -24
- package/dist/browser/{SetKioskMode-3qeyrZoQ.js → SetKioskMode-B3QhLFwa.js} +11 -11
- package/dist/browser/{ShowKiosk-kOOPVQEC.js → ShowKiosk-hv65VLAh.js} +11 -11
- package/dist/browser/{UIState-CruLIa-8.js → UIState-DOCzhN3I.js} +20 -20
- package/dist/browser/{ViewerMenuPanel-KKVazBcQ.js → ViewerMenuPanel-Cz7-CMu8.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-Dk6I0moa.js → add-debug-secret-listener-D0AV_b5d.js} +1 -1
- package/dist/browser/{adopt-global-settings-y2ubRt8B.js → adopt-global-settings-CUoS-x6I.js} +9 -9
- package/dist/browser/{boolean-editor-DkLLh76y.js → boolean-editor-D1uEd3mQ.js} +9 -9
- package/dist/browser/{bootIntercom-5AKlon7N.js → bootIntercom-dycNZ6lL.js} +2 -2
- package/dist/browser/bundle.json +85 -85
- package/dist/browser/{camera-events-DbMaLp1j.js → camera-events-CLlfq25c.js} +1 -1
- package/dist/browser/{classnames-Cjhuw82Y.js → classnames-hcTspTPm.js} +2 -2
- package/dist/browser/{client-DEugfaqe.js → client-DOEKted7.js} +5 -5
- package/dist/browser/{components-BOe9R3hC.js → components-JD6ef9Pi.js} +742 -743
- package/dist/browser/{create-live-plan-643NFN4Y.js → create-live-plan-CzAuQqne.js} +45 -45
- package/dist/browser/{debug-context-Ctd_2DsZ.js → debug-context-DD7wpvyJ.js} +5 -5
- package/dist/browser/{debug-overlay-CNtn-y2A.js → debug-overlay-_os9dW4T.js} +10 -10
- package/dist/browser/{debug-ui-BFrAXZTt.js → debug-ui-BIB7rpEt.js} +6 -6
- package/dist/browser/{dist-BeUUWH0c.js → dist-C74jG495.js} +5 -5
- package/dist/browser/{dist-oubL2fXt.js → dist-DW5jijdZ.js} +6 -6
- package/dist/browser/{dist-CwAXjSKp.js → dist-DdyU2Ulr.js} +3 -3
- package/dist/browser/{efp-debug-init-DxqSbETg.js → efp-debug-init-DkV-cPHN.js} +3 -3
- package/dist/browser/{enum-editor-px6vgaqK.js → enum-editor-fhv2pncT.js} +4 -4
- package/dist/browser/{es5-CH_bA74p.js → es5-Drnv-qKT.js} +2 -2
- package/dist/browser/{event-head-CDMutSDx.js → event-head-R8PnYkU7.js} +1 -1
- package/dist/browser/{event-not-found-kZi9Tm3H.js → event-not-found-DR92EJ1T.js} +3 -3
- package/dist/browser/{event-scoped-cache-Dn2rQ3T_.js → event-scoped-cache-DPUJKAp8.js} +3 -3
- package/dist/browser/{expofpUrl-CAzeD2_k.js → expofpUrl-DqMj4Eoq.js} +1 -1
- package/dist/browser/{exports-7gqjmj0R.js → exports-MJBtqDCk.js} +1 -1
- package/dist/browser/{favicon-wPU50D_T.js → favicon-BSXIrSgl.js} +1 -1
- package/dist/browser/{fetch-retry.umd-DvG22Oyz.js → fetch-retry.umd-DuInaIxQ.js} +2 -2
- package/dist/browser/{flex-BBkw01oJ.js → flex-BoqZsRqL.js} +5 -5
- package/dist/browser/{floorplan.loader-DHlIL2Jh.js → floorplan.loader-CSdoVj4Z.js} +12 -12
- package/dist/browser/{floorplan.ready-D6sP5Dzi.js → floorplan.ready-BIl5Ycyx.js} +309 -309
- package/dist/browser/{framing-rect-BTvtbCvd.js → framing-rect-D04XSLvo.js} +12 -12
- package/dist/browser/{freeBanner-BLieMmCe.js → freeBanner-C3gl8WNc.js} +2 -2
- package/dist/browser/{fuse-BYZURCHm.js → fuse-Czd3qmlB.js} +2 -2
- package/dist/browser/{i18n-UxIFjlzb.js → i18n-DddU8tRu.js} +1629 -1629
- package/dist/browser/index.js +65 -65
- package/dist/browser/{index.module-gZhGxKYh.js → index.module-DllLgVWk.js} +4 -4
- package/dist/browser/{init-ui-DqN9Ga2O.js → init-ui-B1f5t5dR.js} +10 -10
- package/dist/browser/{integrateKiosk-D-BA3s4g.js → integrateKiosk-CfBnJLw4.js} +5 -5
- package/dist/browser/{is-debug-Bm0SoIKk.js → is-debug-BvF1hqkK.js} +4 -4
- package/dist/browser/{is-own-domain-BeUqGWxA.js → is-own-domain-C-0kpF0n.js} +1 -1
- package/dist/browser/{is-webview-D8PFcU-t.js → is-webview-CCFYHAEe.js} +1 -1
- package/dist/browser/{jsx-runtime--7WN7ch2.js → jsx-runtime-DIZ73ut_.js} +2 -2
- package/dist/browser/{kiosk-mode-XRBIqAOG.js → kiosk-mode-B9SnxhZd.js} +3 -3
- package/dist/browser/{kiosk-record-lQMkL50s.js → kiosk-record-S3iATP9j.js} +1 -1
- package/dist/browser/{kioskApi-D-yj1FWd.js → kioskApi-DyPo53iy.js} +7 -7
- package/dist/browser/{lib-Bga7_H1q.js → lib-CL77UF1N.js} +3 -3
- package/dist/browser/{loadImage-CmdsQylv.js → loadImage-Cubo5G-r.js} +1 -1
- package/dist/browser/{logDeviceInfo-CY7UomaF.js → logDeviceInfo-DbqjOEH-.js} +9 -9
- package/dist/browser/{mobx-Bx4ZGHQ6.js → mobx-Cjhc7rlt.js} +4 -4
- package/dist/browser/{mobx.module-Ct-ywxj5.js → mobx.module-Bbp1P_9l.js} +1 -1
- package/dist/browser/{optional-boolean-editor-DJnmDRzX.js → optional-boolean-editor-CycMN5id.js} +3 -3
- package/dist/browser/{optional-enum-editor--vIuPZNm.js → optional-enum-editor-BeSGcDpR.js} +4 -4
- package/dist/browser/{optional-string-editor-BRFjphR8.js → optional-string-editor-C8tRmESx.js} +4 -4
- package/dist/browser/{particles.min-BnHTt56K.js → particles.min-aaRVdOEb.js} +2 -2
- package/dist/browser/{react-Bjt3-m5k.js → react-OOP19Iaj.js} +2 -2
- package/dist/browser/{react-dom-vr2-i-5R.js → react-dom-C4EJcQ69.js} +3 -3
- package/dist/browser/{rolldown-runtime-Cscki9eS.js → rolldown-runtime-dmqukwhF.js} +1 -1
- package/dist/browser/{scene-Db6sOX9h.js → scene-CewpJ4ms.js} +2 -2
- package/dist/browser/{scheduler-CFHtYDYI.js → scheduler-jxPLXOpC.js} +2 -2
- package/dist/browser/{select-C9rxTFpi.js → select-BNEAarae.js} +10 -10
- package/dist/browser/{settings-D7YmKLIx.js → settings-CizS4tu4.js} +2 -2
- package/dist/browser/{settings-item-BNXaf4NN.js → settings-item-Cekv94AT.js} +6 -6
- package/dist/browser/{store-BFM5M0Uq.js → store-CXRL_3vj.js} +2 -2
- package/dist/browser/{string-editor-D2J_ipcW.js → string-editor-BBcIC1s7.js} +4 -4
- package/dist/browser/{text-field-DjQ_BeUk.js → text-field-BfFHGUSW.js} +5 -5
- package/dist/browser/{theme-C5g_OQXn.js → theme-Bd2EkiP3.js} +8 -8
- package/dist/browser/{ui-642bT-_c.js → ui-BsIjg0bV.js} +8 -8
- package/dist/browser/{useRenderTarget-BAEuBxcJ.js → useRenderTarget-CIsYO452.js} +4 -4
- package/dist/browser/{viewport-DmBpectu.js → viewport-DPG9f_z6.js} +3 -3
- package/dist/browser/{wayfinding-FHTu4Wgf.js → wayfinding-V0ghT860.js} +5 -5
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/Map/pointer.js +1 -1
- package/dist/esm/components/Maplibre/usePoiMarkers.js +1 -1
- package/dist/esm/components/Maplibre/utils/poi-marker-hit-test.d.ts +6 -6
- package/dist/esm/constants.d.ts +1 -0
- package/dist/esm/constants.js +1 -1
- package/dist/esm/load.js +2 -2
- 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.45.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.45.3" };
|
|
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] = "7a0eefcf-da7a-4531-9625-917185794bc2", e._sentryDebugIdIdentifier = "sentry-dbid-7a0eefcf-da7a-4531-9625-917185794bc2");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { a as t, c as n, i as r, n as i, o as a, r as o, s, t as c } from "./floorplan.loader-
|
|
11
|
-
import { $ as l, Ct as u, Dt as d, Et as f,
|
|
12
|
-
import { s as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { a as
|
|
16
|
-
import { n as
|
|
17
|
-
import { C as
|
|
18
|
-
import { l as
|
|
19
|
-
import { t as
|
|
20
|
-
import { i as
|
|
21
|
-
import { a as
|
|
22
|
-
import { l as
|
|
23
|
-
import { n as
|
|
24
|
-
import { Gt as
|
|
25
|
-
import { g as
|
|
26
|
-
import { C as
|
|
27
|
-
import { r as xt, t as St } from "./kiosk-mode-
|
|
28
|
-
import { n as Ct, t as wt } from "./integrateKiosk-
|
|
29
|
-
import { t as Tt } from "./init-ui-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-dmqukwhF.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-CSdoVj4Z.js";
|
|
11
|
+
import { $ as l, Ct as u, Dt as d, Et as f, O as ee, Ot as p, Q as m, St as te, Tt as ne, U as re, X as ie, Y as ae, _t as oe, at as se, bt as ce, ct as le, dt as ue, et as de, ft as fe, gt as pe, ht as me, it as he, j as ge, k as _e, l as h, lt as ve, mt as ye, n as be, nt as xe, o as Se, ot as Ce, pt as we, r 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-DddU8tRu.js";
|
|
12
|
+
import { s as Me } from "./efp-debug-init-DkV-cPHN.js";
|
|
13
|
+
import { t as Ne } from "./react-OOP19Iaj.js";
|
|
14
|
+
import { t as Pe } from "./jsx-runtime-DIZ73ut_.js";
|
|
15
|
+
import { a as _, o as Fe } from "./is-debug-BvF1hqkK.js";
|
|
16
|
+
import { n as Ie, t as Le } from "./is-own-domain-C-0kpF0n.js";
|
|
17
|
+
import { C as Re, D as ze, Q as Be, ht as v, i as Ve, n as He, w as Ue } from "./exports-MJBtqDCk.js";
|
|
18
|
+
import { l as We, u as Ge } from "./mobx.module-Bbp1P_9l.js";
|
|
19
|
+
import { t as Ke } from "./client-DOEKted7.js";
|
|
20
|
+
import { i as qe, n as Je, r as y, t as Ye } from "./components-JD6ef9Pi.js";
|
|
21
|
+
import { a as Xe, h as Ze, i as Qe, p as $e } from "./UIState-DOCzhN3I.js";
|
|
22
|
+
import { l as b, u as x } from "./store-CXRL_3vj.js";
|
|
23
|
+
import { n as et } from "./event-scoped-cache-DPUJKAp8.js";
|
|
24
|
+
import { Gt as tt, Lt as nt, M as rt, Q as S, Rt as it, S as at, Xt as C, j as w, k as ot, m as st } from "./LayerStore-BTsnfwRm.js";
|
|
25
|
+
import { g as T, m as E, p as ct, u as lt } from "./wayfinding-V0ghT860.js";
|
|
26
|
+
import { C as ut, S as dt, a as D, b as ft, h as pt, i as mt, m as ht, n as O, p as gt, s as _t, t as vt, u as yt, v as bt, w as k, y as A } from "./RouteStore-FUWqY6LM.js";
|
|
27
|
+
import { r as xt, t as St } from "./kiosk-mode-B9SnxhZd.js";
|
|
28
|
+
import { n as Ct, t as wt } from "./integrateKiosk-CfBnJLw4.js";
|
|
29
|
+
import { t as Tt } from "./init-ui-B1f5t5dR.js";
|
|
30
30
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
|
|
31
31
|
function Et(e = {}) {
|
|
32
32
|
let n = r.document, i = (n == null ? void 0 : n.head) || (n == null ? void 0 : n.body);
|
|
33
33
|
if (!i) {
|
|
34
|
-
o &&
|
|
34
|
+
o && v.error("[showReportDialog] Global document not defined");
|
|
35
35
|
return;
|
|
36
36
|
}
|
|
37
|
-
let a =
|
|
37
|
+
let a = Ue(), s = Re(), c = s == null ? void 0 : s.getDsn();
|
|
38
38
|
if (!c) {
|
|
39
|
-
o &&
|
|
39
|
+
o && v.error("[showReportDialog] DSN not configured");
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
42
|
let l = {
|
|
@@ -45,7 +45,7 @@ function Et(e = {}) {
|
|
|
45
45
|
...a.getUser(),
|
|
46
46
|
...e.user
|
|
47
47
|
},
|
|
48
|
-
eventId: e.eventId ||
|
|
48
|
+
eventId: e.eventId || Ve()
|
|
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,7 +63,7 @@ function Et(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 j = /* @__PURE__ */ e(
|
|
66
|
+
var j = /* @__PURE__ */ e(Ne());
|
|
67
67
|
function Dt(e) {
|
|
68
68
|
let t = e.match(/^([^.]+)/);
|
|
69
69
|
return t !== null && parseInt(t[0]) >= 17;
|
|
@@ -79,11 +79,11 @@ function Ot(e, t) {
|
|
|
79
79
|
r(e, t);
|
|
80
80
|
}
|
|
81
81
|
function kt(e, { componentStack: t }, n) {
|
|
82
|
-
if (Dt(j.version) &&
|
|
82
|
+
if (Dt(j.version) && Be(e) && t) {
|
|
83
83
|
let n = Error(e.message);
|
|
84
84
|
n.name = `React ErrorBoundary ${e.name}`, n.stack = t, Ot(e, n);
|
|
85
85
|
}
|
|
86
|
-
return
|
|
86
|
+
return He(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
|
|
@@ -94,7 +94,7 @@ var At = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, M = {
|
|
|
94
94
|
}, jt = class extends j.Component {
|
|
95
95
|
constructor(e) {
|
|
96
96
|
super(e), this.state = M, this._openFallbackReportDialog = !0;
|
|
97
|
-
let t =
|
|
97
|
+
let t = Re();
|
|
98
98
|
t && e.showDialog && (this._openFallbackReportDialog = !1, this._cleanupHook = t.on("afterSendEvent", (t) => {
|
|
99
99
|
!t.type && this._lastEventId && t.event_id === this._lastEventId && Et({
|
|
100
100
|
...e.dialogOptions,
|
|
@@ -104,7 +104,7 @@ var At = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, M = {
|
|
|
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
|
+
ze((s) => {
|
|
108
108
|
r && r(s, e, n);
|
|
109
109
|
let c = kt(e, t, { mechanism: {
|
|
110
110
|
handled: this.props.handled == null ? !!this.props.fallback : this.props.handled,
|
|
@@ -141,9 +141,9 @@ var At = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, M = {
|
|
|
141
141
|
resetError: () => this.resetErrorBoundary(),
|
|
142
142
|
eventId: n.eventId
|
|
143
143
|
}) : e;
|
|
144
|
-
return j.isValidElement(r) ? r : (e && At &&
|
|
144
|
+
return j.isValidElement(r) ? r : (e && At && v.warn("fallback did not produce a valid ReactElement"), null);
|
|
145
145
|
}
|
|
146
|
-
}, Mt = /* @__PURE__ */ e(
|
|
146
|
+
}, Mt = /* @__PURE__ */ e(Me(), 1), Nt = Ke(), Pt = Ze();
|
|
147
147
|
function N() {
|
|
148
148
|
let e = window.location.hostname.split(".");
|
|
149
149
|
return e.length >= 3 && e[e.length - 2] === "expofp" && e[e.length - 1] === "com";
|
|
@@ -176,9 +176,9 @@ function zt(e) {
|
|
|
176
176
|
}
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/mini/schemas.js
|
|
179
|
-
var P = /*@__PURE__*/
|
|
179
|
+
var P = /*@__PURE__*/ d("ZodMiniType", (e, t) => {
|
|
180
180
|
if (!e._zod) throw Error("Uninitialized schema in ZodMiniType.");
|
|
181
|
-
|
|
181
|
+
je.init(e, t), e.def = t, e.type = t.type, e.parse = (t, n) => ce(e, t, n, { callee: e.parse }), e.safeParse = (t, n) => te(e, t, n), e.parseAsync = async (t, n) => Ae(e, t, n, { callee: e.parseAsync }), e.safeParseAsync = async (t, n) => u(e, t, n), e.check = (...n) => {
|
|
182
182
|
var r;
|
|
183
183
|
return e.clone({
|
|
184
184
|
...t,
|
|
@@ -188,41 +188,41 @@ var P = /*@__PURE__*/ f("ZodMiniType", (e, t) => {
|
|
|
188
188
|
onattach: []
|
|
189
189
|
} } : e)]
|
|
190
190
|
}, { parent: !0 });
|
|
191
|
-
}, e.with = e.check, e.clone = (t, n) =>
|
|
192
|
-
}), Bt = /*@__PURE__*/
|
|
193
|
-
|
|
191
|
+
}, e.with = e.check, e.clone = (t, n) => ke(e, t, n), e.brand = () => e, e.register = ((t, n) => (t.add(e, n), e)), e.apply = (t) => t(e);
|
|
192
|
+
}), Bt = /*@__PURE__*/ d("ZodMiniString", (e, t) => {
|
|
193
|
+
Oe.init(e, t), P.init(e, t);
|
|
194
194
|
});
|
|
195
195
|
// @__NO_SIDE_EFFECTS__
|
|
196
196
|
function F(e) {
|
|
197
|
-
return
|
|
197
|
+
return ue(Bt, e);
|
|
198
198
|
}
|
|
199
|
-
var Vt = /*@__PURE__*/
|
|
200
|
-
|
|
199
|
+
var Vt = /*@__PURE__*/ d("ZodMiniNumber", (e, t) => {
|
|
200
|
+
me.init(e, t), P.init(e, t);
|
|
201
201
|
});
|
|
202
202
|
// @__NO_SIDE_EFFECTS__
|
|
203
203
|
function I(e) {
|
|
204
|
-
return
|
|
204
|
+
return ve(Vt, e);
|
|
205
205
|
}
|
|
206
|
-
var Ht = /*@__PURE__*/
|
|
207
|
-
|
|
206
|
+
var Ht = /*@__PURE__*/ d("ZodMiniNever", (e, t) => {
|
|
207
|
+
ye.init(e, t), P.init(e, t);
|
|
208
208
|
});
|
|
209
209
|
// @__NO_SIDE_EFFECTS__
|
|
210
210
|
function Ut(e) {
|
|
211
|
-
return
|
|
211
|
+
return le(Ht, e);
|
|
212
212
|
}
|
|
213
|
-
var Wt = /*@__PURE__*/
|
|
214
|
-
|
|
213
|
+
var Wt = /*@__PURE__*/ d("ZodMiniArray", (e, t) => {
|
|
214
|
+
fe.init(e, t), P.init(e, t);
|
|
215
215
|
});
|
|
216
216
|
// @__NO_SIDE_EFFECTS__
|
|
217
217
|
function L(e, t) {
|
|
218
218
|
return new Wt({
|
|
219
219
|
type: "array",
|
|
220
220
|
element: e,
|
|
221
|
-
...
|
|
221
|
+
...f(t)
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
|
-
var Gt = /*@__PURE__*/
|
|
225
|
-
|
|
224
|
+
var Gt = /*@__PURE__*/ d("ZodMiniObject", (e, t) => {
|
|
225
|
+
pe.init(e, t), P.init(e, t), ne(e, "shape", () => t.shape);
|
|
226
226
|
});
|
|
227
227
|
// @__NO_SIDE_EFFECTS__
|
|
228
228
|
function R(e, t) {
|
|
@@ -230,11 +230,11 @@ function R(e, t) {
|
|
|
230
230
|
type: "object",
|
|
231
231
|
shape: e,
|
|
232
232
|
catchall: /* @__PURE__ */ Ut(),
|
|
233
|
-
...
|
|
233
|
+
...f(t)
|
|
234
234
|
});
|
|
235
235
|
}
|
|
236
|
-
var Kt = /*@__PURE__*/
|
|
237
|
-
|
|
236
|
+
var Kt = /*@__PURE__*/ d("ZodMiniOptional", (e, t) => {
|
|
237
|
+
oe.init(e, t), P.init(e, t);
|
|
238
238
|
});
|
|
239
239
|
// @__NO_SIDE_EFFECTS__
|
|
240
240
|
function z(e) {
|
|
@@ -243,40 +243,40 @@ function z(e) {
|
|
|
243
243
|
innerType: e
|
|
244
244
|
});
|
|
245
245
|
}
|
|
246
|
-
var qt = /*@__PURE__*/
|
|
247
|
-
|
|
246
|
+
var qt = /*@__PURE__*/ d("ZodMiniCustom", (e, t) => {
|
|
247
|
+
we.init(e, t), P.init(e, t);
|
|
248
248
|
});
|
|
249
249
|
// @__NO_SIDE_EFFECTS__
|
|
250
250
|
function Jt(e, t = {}) {
|
|
251
|
-
return
|
|
251
|
+
return De(qt, e, t);
|
|
252
252
|
}
|
|
253
253
|
//#endregion
|
|
254
254
|
//#region src/schemas/sdk.schemas.ts
|
|
255
|
-
var
|
|
255
|
+
var Yt = /* @__PURE__ */ R({
|
|
256
256
|
x: /* @__PURE__ */ I(),
|
|
257
257
|
y: /* @__PURE__ */ I()
|
|
258
|
-
}),
|
|
259
|
-
leftTop:
|
|
260
|
-
rightBottom:
|
|
261
|
-
}),
|
|
258
|
+
}), Xt = /* @__PURE__ */ R({
|
|
259
|
+
leftTop: Yt,
|
|
260
|
+
rightBottom: Yt
|
|
261
|
+
}), Zt = (/* @__PURE__ */ R({
|
|
262
262
|
name: /* @__PURE__ */ z(/* @__PURE__ */ F()),
|
|
263
263
|
externalId: /* @__PURE__ */ z(/* @__PURE__ */ F())
|
|
264
|
-
})).check(/* @__PURE__ */ Jt((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")),
|
|
265
|
-
booths: /* @__PURE__ */ z(/* @__PURE__ */ L(
|
|
266
|
-
exhibitors: /* @__PURE__ */ z(/* @__PURE__ */ L(
|
|
264
|
+
})).check(/* @__PURE__ */ Jt((e) => !!(e.name || e.externalId), "Either name or externalId must be provided")), Qt = (/* @__PURE__ */ R({
|
|
265
|
+
booths: /* @__PURE__ */ z(/* @__PURE__ */ L(Zt)),
|
|
266
|
+
exhibitors: /* @__PURE__ */ z(/* @__PURE__ */ L(Zt))
|
|
267
267
|
})).check(/* @__PURE__ */ Jt((e) => {
|
|
268
268
|
var t, n;
|
|
269
269
|
return !!((t = e.booths) != null && t.length || (n = e.exhibitors) != null && n.length);
|
|
270
|
-
}, "Selector must contain booths or exhibitors")),
|
|
270
|
+
}, "Selector must contain booths or exhibitors")), $t = /* @__PURE__ */ z(/* @__PURE__ */ R({ padding: /* @__PURE__ */ z(/* @__PURE__ */ I()) }));
|
|
271
271
|
//#endregion
|
|
272
272
|
//#region src/components/Kiosk/recoverKioskFromUrlPrams.ts
|
|
273
|
-
function
|
|
274
|
-
let t =
|
|
273
|
+
function en(e) {
|
|
274
|
+
let t = Xe(e);
|
|
275
275
|
Object.values(t).length && (wt(t, !1), Ct(t));
|
|
276
276
|
}
|
|
277
277
|
//#endregion
|
|
278
278
|
//#region src/utils/getMostFrequent.ts
|
|
279
|
-
function
|
|
279
|
+
function tn(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,81 +284,81 @@ function en(e) {
|
|
|
284
284
|
}
|
|
285
285
|
//#endregion
|
|
286
286
|
//#region src/services/multi-slug.ts
|
|
287
|
-
function
|
|
287
|
+
function nn(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 && !m(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
|
-
|
|
297
|
-
let e =
|
|
298
|
-
Object.keys(e).length && xn(
|
|
299
|
-
let t =
|
|
300
|
-
Object.keys(t).length &&
|
|
294
|
+
var B = !1, V = !1;
|
|
295
|
+
function rn() {
|
|
296
|
+
W(p()), w(() => b.layerStore.layersLoaded, () => {
|
|
297
|
+
let e = p().camera;
|
|
298
|
+
Object.keys(e).length && xn(y(e));
|
|
299
|
+
let t = p().visibility;
|
|
300
|
+
Object.keys(t).length && x.setVisibility(t);
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
|
-
function
|
|
304
|
-
|
|
303
|
+
function an(e) {
|
|
304
|
+
dt({
|
|
305
305
|
offHistory: e,
|
|
306
|
-
onNavigate: () =>
|
|
307
|
-
}),
|
|
308
|
-
|
|
306
|
+
onNavigate: () => U({ backForward: !0 })
|
|
307
|
+
}), dn(), H(), w(() => b.layerStore.layersLoaded, () => {
|
|
308
|
+
b.urlFilterManager && !b.urlFilterManager.isInitialized && b.urlFilterManager.initialize(), V = !0;
|
|
309
309
|
try {
|
|
310
|
-
|
|
310
|
+
U();
|
|
311
311
|
} finally {
|
|
312
|
-
|
|
312
|
+
V = !1;
|
|
313
313
|
}
|
|
314
|
-
|
|
314
|
+
ot(G), ot(_n), x.viewerMode && (x.menu = !0);
|
|
315
315
|
});
|
|
316
316
|
}
|
|
317
|
-
function
|
|
318
|
-
k("?" +
|
|
317
|
+
function on(e = "") {
|
|
318
|
+
k("?" + m(e.toString())), b.layerStore.layersLoaded ? sn(e) : (H(), w(() => b.layerStore.layersLoaded, () => sn(e)));
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function sn(e) {
|
|
321
321
|
var t, r;
|
|
322
|
-
let i = "?" +
|
|
322
|
+
let i = "?" + m(e), a = hn(i), o = [...(t = a.intents) == null ? [] : t, ...de(i).intents], { intents: s = [], ...c } = l(i, {
|
|
323
323
|
visibility: a.visibility,
|
|
324
324
|
consent: a.consent,
|
|
325
325
|
intents: o
|
|
326
326
|
});
|
|
327
|
-
|
|
327
|
+
W(a), W(c);
|
|
328
328
|
let u = (r = a.consent) == null ? c.consent : r;
|
|
329
|
-
u &&
|
|
329
|
+
u && pt(u), a.camera && Object.keys(a.camera).length && xn(y(a.camera)), a.visibility && Object.keys(a.visibility).length && x.setVisibility(a.visibility), dn(), U();
|
|
330
330
|
let d = [...o, ...s];
|
|
331
|
-
d.length && n(
|
|
331
|
+
d.length && n(b.fp, d);
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function H() {
|
|
334
334
|
let e = A();
|
|
335
|
-
return
|
|
335
|
+
return Je(e.length > 1 ? m(e.substring(1)) : "");
|
|
336
336
|
}
|
|
337
|
-
function
|
|
338
|
-
|
|
337
|
+
function U(e = {}) {
|
|
338
|
+
B = !0;
|
|
339
339
|
try {
|
|
340
|
-
|
|
341
|
-
let { primary: t } =
|
|
342
|
-
!
|
|
340
|
+
en(new URLSearchParams(m(window.location.search)));
|
|
341
|
+
let { primary: t } = ae(A()), n = t.type === "select" && (!t.slug || /^t=[^&]*$/.test(t.slug)) && (x.heatmap || x.heatmapYah);
|
|
342
|
+
!H() && !n && (e.backForward ? cn(t) : ln(t));
|
|
343
343
|
} finally {
|
|
344
|
-
|
|
344
|
+
B = !1;
|
|
345
345
|
}
|
|
346
346
|
if (e.backForward) {
|
|
347
|
-
let { exhibitor: e, booth: t, eventItem: n } =
|
|
347
|
+
let { exhibitor: e, booth: t, eventItem: n } = bn(), r = gn();
|
|
348
348
|
r.exhibitor = e, r.booth = t, r.eventItem = n;
|
|
349
349
|
}
|
|
350
|
-
|
|
351
|
-
}
|
|
352
|
-
function sn(e) {
|
|
353
|
-
e.type === "list" && e.list === "sessions" ? y.fp.showSessions() : cn(e);
|
|
354
|
-
let { intents: t } = l(A());
|
|
355
|
-
n(y.fp, t.filter((e) => e.name === "showSessions"));
|
|
350
|
+
_n(), G();
|
|
356
351
|
}
|
|
357
352
|
function cn(e) {
|
|
358
|
-
|
|
353
|
+
e.type === "list" && e.list === "sessions" ? b.fp.showSessions() : ln(e);
|
|
354
|
+
let { intents: t } = de(A());
|
|
355
|
+
n(b.fp, t.filter((e) => e.name === "showSessions"));
|
|
356
|
+
}
|
|
357
|
+
function ln(e) {
|
|
358
|
+
let t = b.fp;
|
|
359
359
|
switch (e.type) {
|
|
360
360
|
case "kiosk":
|
|
361
|
-
e.enabled !== null && St(
|
|
361
|
+
e.enabled !== null && St(x, e.enabled);
|
|
362
362
|
return;
|
|
363
363
|
case "list":
|
|
364
364
|
t.showList(e.list);
|
|
@@ -367,7 +367,7 @@ function cn(e) {
|
|
|
367
367
|
t.selectTour(e.tourId);
|
|
368
368
|
return;
|
|
369
369
|
case "planner":
|
|
370
|
-
|
|
370
|
+
V && b.searchButtonsStore.keepFiltersOnNextNavigation(), t.openPlanner({
|
|
371
371
|
items: e.items,
|
|
372
372
|
from: e.from,
|
|
373
373
|
fromBookmarks: e.fromBookmarks
|
|
@@ -375,16 +375,16 @@ function cn(e) {
|
|
|
375
375
|
return;
|
|
376
376
|
case "route": {
|
|
377
377
|
var n, r;
|
|
378
|
-
|
|
378
|
+
b.routeStore.setOnlyAccessible(e.accessible);
|
|
379
379
|
let t = mt((n = e.from) == null ? "" : n, (r = e.to) == null ? "" : r, e.waypoints);
|
|
380
|
-
|
|
380
|
+
V && !(t.from && t.from === t.to) && b.searchButtonsStore.keepFiltersOnNextNavigation(), b.routeStore.selectRoute(t), b.uiState.setIsMultiPointRoute(e.waypoints.length > 0), e.title && b.uiState.setRouteTitle(e.title);
|
|
381
381
|
return;
|
|
382
382
|
}
|
|
383
383
|
case "selectExhibitors":
|
|
384
384
|
setTimeout(() => t.selectExhibitor(e.values), 250);
|
|
385
385
|
return;
|
|
386
386
|
case "ownedByFilters":
|
|
387
|
-
|
|
387
|
+
Fe.log("Skipping filter parameters in dispatchFromUrl (owned by URLFilterManager)");
|
|
388
388
|
return;
|
|
389
389
|
case "ownedByConfig": return;
|
|
390
390
|
case "select":
|
|
@@ -392,105 +392,105 @@ function cn(e) {
|
|
|
392
392
|
return;
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i =
|
|
397
|
-
if (
|
|
398
|
-
let e =
|
|
399
|
-
e &&
|
|
400
|
-
}
|
|
401
|
-
(n.length > 0 || r.length > 0) &&
|
|
402
|
-
|
|
395
|
+
function un(e) {
|
|
396
|
+
let { pathwayId: t, boothIds: n, exhibitorIds: r } = e, i = b.boothStore.booths.filter((e) => n.includes(e.externalId)), a = b.exhibitorStore.exhibitors.filter((e) => r.includes(e.externalId)).flatMap((e) => e.booths), o = [...i, ...a];
|
|
397
|
+
if (nt()) {
|
|
398
|
+
let e = tn(o.map((e) => e.layer.name));
|
|
399
|
+
e && b.fp.activateFloor({ name: e });
|
|
400
|
+
}
|
|
401
|
+
(n.length > 0 || r.length > 0) && b.fp.highlightEntities([...n, ...r]), b.layerStore.showPathWay(t), o.length > 0 && Ge(() => {
|
|
402
|
+
b.uiState.moveToRect = C.fromUnion(...o.map((e) => e.rect).filter(Boolean)), b.uiState.rollReset = !0;
|
|
403
403
|
});
|
|
404
404
|
}
|
|
405
|
-
function
|
|
406
|
-
let { oneShots: e } =
|
|
407
|
-
for (let t of e)
|
|
408
|
-
let t =
|
|
409
|
-
t !== null && k("?" + t),
|
|
405
|
+
function dn() {
|
|
406
|
+
let { oneShots: e } = ae(A());
|
|
407
|
+
for (let t of e) fn(t);
|
|
408
|
+
let t = Qe(A());
|
|
409
|
+
t !== null && k("?" + t), x.previewExhibitor && k("?" + x.previewExhibitor.slug), mn();
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function fn(e) {
|
|
412
412
|
switch (e.type) {
|
|
413
413
|
case "heatmap":
|
|
414
|
-
|
|
414
|
+
pn(e.yah);
|
|
415
415
|
return;
|
|
416
416
|
case "blueDot": {
|
|
417
417
|
var t, n;
|
|
418
|
-
let r = new vt(e.x, e.y, (t =
|
|
419
|
-
|
|
418
|
+
let r = new vt(e.x, e.y, (t = b.layerStore.findLayer((n = e.layer) == null ? "" : n)) == null ? void 0 : t.name, void 0, e.lat, e.lng);
|
|
419
|
+
w(() => b.layerStore.layersLoaded, () => b.routeStore.selectCurrentPosition(r, !0, 1));
|
|
420
420
|
return;
|
|
421
421
|
}
|
|
422
422
|
case "viewerMode":
|
|
423
|
-
|
|
423
|
+
h && (e.enabled ? localStorage.setItem(re, "true") : (localStorage.removeItem(re), localStorage.removeItem(ge)));
|
|
424
424
|
return;
|
|
425
425
|
case "previewMode":
|
|
426
|
-
|
|
426
|
+
h && (e.enabled ? localStorage.setItem(g, "true") : (localStorage.removeItem(g), localStorage.removeItem(_e)));
|
|
427
427
|
return;
|
|
428
428
|
case "uiScale":
|
|
429
|
-
e.scale === null ?
|
|
429
|
+
e.scale === null ? Fe.warn(`Invalid ui-scale parameter: ${e.raw}. Must be a number between 0.8 and 1.4.`) : b.uiState.setUIScale(e.scale, !0);
|
|
430
430
|
return;
|
|
431
431
|
case "resetUiScale":
|
|
432
|
-
|
|
432
|
+
b.uiState.resetUIScale();
|
|
433
433
|
return;
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
|
-
function
|
|
437
|
-
|
|
436
|
+
function pn(e) {
|
|
437
|
+
ft(), e ? (x.heatmapYah = !0, x.monochrome = !0, x.hideLogoInBooth = !0, x.hideHeaderLogo = !0, x.disableBookmarked = !0) : x.heatmap = !0;
|
|
438
438
|
}
|
|
439
|
-
function
|
|
440
|
-
let e =
|
|
441
|
-
let t =
|
|
439
|
+
function mn() {
|
|
440
|
+
let e = nn(A(), (e) => {
|
|
441
|
+
let t = b.exhibitorStore.exhibitors.find((t) => t.slug === e || t.externalId === e);
|
|
442
442
|
return t == null ? void 0 : t.name;
|
|
443
443
|
});
|
|
444
444
|
e !== null && k(e);
|
|
445
445
|
}
|
|
446
|
-
function
|
|
447
|
-
e.noOverlay !== void 0 && (
|
|
446
|
+
function W(e) {
|
|
447
|
+
e.noOverlay !== void 0 && (x.hideOverlay = e.noOverlay), e.monochrome && (x.monochrome = !0), e.hideHeaderLogo && (x.hideHeaderLogo = !0), e.hideLogoInBooth && (x.hideLogoInBooth = !0), e.disableFeatured && b.exhibitorStore.exhibitors.forEach((e) => e.featured = !1), e.disableBookmarked && (x.disableBookmarked = !0), e.disableGps && b.routeStore.setGpsTrackingEnabled(!1), e.heatmap && i(e.heatmap) && pn(e.heatmap.variant === "yah");
|
|
448
448
|
}
|
|
449
|
-
function
|
|
450
|
-
return
|
|
449
|
+
function hn(e) {
|
|
450
|
+
return xe(he, e).value;
|
|
451
451
|
}
|
|
452
|
-
var
|
|
452
|
+
var gn = et(() => ({
|
|
453
453
|
exhibitor: null,
|
|
454
454
|
booth: null,
|
|
455
455
|
eventItem: null
|
|
456
456
|
}));
|
|
457
|
-
function
|
|
458
|
-
let { selection: e, exhibitor: t, booth: n, eventItem: r } =
|
|
459
|
-
if (
|
|
460
|
-
let o = a ||
|
|
457
|
+
function _n() {
|
|
458
|
+
let { selection: e, exhibitor: t, booth: n, eventItem: r } = bn(), i = b.urlFilterManager.filterSearch(), a = vn(e);
|
|
459
|
+
if (B) return;
|
|
460
|
+
let o = a || ie(e) || i;
|
|
461
461
|
if (A() === o) return;
|
|
462
|
-
let s =
|
|
463
|
-
t !== s.exhibitor || n !== s.booth || r !== s.eventItem ?
|
|
462
|
+
let s = gn();
|
|
463
|
+
t !== s.exhibitor || n !== s.booth || r !== s.eventItem ? ut(o) : k(o), s.exhibitor = t, s.booth = n, s.eventItem = r;
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function vn(e) {
|
|
466
466
|
if (e.type !== "list" || e.list !== "sessions") return "";
|
|
467
|
-
let { selectedTracks: t, selectedVenues: n, date: r, timeOfDay: i, showBookmarksOnly: a, showLiveOnly: o } =
|
|
468
|
-
return t.value.length && (s.tracks =
|
|
467
|
+
let { selectedTracks: t, selectedVenues: n, date: r, timeOfDay: i, showBookmarksOnly: a, showLiveOnly: o } = b.sessionsFilterStore.state.filters, s = {};
|
|
468
|
+
return t.value.length && (s.tracks = yn(t.value)), n.value.length && (s.venues = yn(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 ? "?" + Ee({
|
|
469
469
|
name: "showSessions",
|
|
470
470
|
args: [s]
|
|
471
471
|
}) : "";
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function yn(e) {
|
|
474
474
|
return [...e].sort((e, t) => e - t).map(String);
|
|
475
475
|
}
|
|
476
|
-
function
|
|
477
|
-
let e =
|
|
476
|
+
function bn() {
|
|
477
|
+
let e = x.selectedExhibitor, t = x.selectedBooth, n = x.selectedEventItem, r = x.selectedRoute, i = x.selectedSpeaker, a = x.setKioskModeEnabled, o = x.list, s;
|
|
478
478
|
if (o.type === "route-planner" && !e && !t && !n) {
|
|
479
479
|
var c;
|
|
480
|
-
let e =
|
|
480
|
+
let e = b.routePlannerStore;
|
|
481
481
|
s = {
|
|
482
482
|
type: "planner",
|
|
483
483
|
fromBookmarks: e.source === "bookmarks",
|
|
484
484
|
items: e.items.map((e) => e.entity.slug).filter(Boolean),
|
|
485
485
|
from: ((c = e.startPoint) == null ? void 0 : c.slug) || void 0
|
|
486
486
|
};
|
|
487
|
-
} else if (r && !
|
|
487
|
+
} else if (r && !x.isMultiPointRoute) {
|
|
488
488
|
var l;
|
|
489
489
|
s = {
|
|
490
490
|
type: "route",
|
|
491
|
-
to: r.to instanceof
|
|
492
|
-
from: r.from instanceof
|
|
493
|
-
accessible:
|
|
491
|
+
to: r.to instanceof S ? r.to.slug : void 0,
|
|
492
|
+
from: r.from instanceof S ? r.from.slug : void 0,
|
|
493
|
+
accessible: b.routeStore.onlyAccessible,
|
|
494
494
|
waypoints: (l = r.waypoints) == null ? void 0 : l.map((e) => e.slug)
|
|
495
495
|
};
|
|
496
496
|
} else if (e) s = {
|
|
@@ -527,7 +527,7 @@ function yn() {
|
|
|
527
527
|
var u, d;
|
|
528
528
|
s = {
|
|
529
529
|
type: "slug",
|
|
530
|
-
slug: (u = (d =
|
|
530
|
+
slug: (u = (d = x.selectedCategory) == null ? void 0 : d.slug) == null ? "" : u
|
|
531
531
|
};
|
|
532
532
|
break;
|
|
533
533
|
case "search":
|
|
@@ -558,17 +558,17 @@ function yn() {
|
|
|
558
558
|
eventItem: n
|
|
559
559
|
};
|
|
560
560
|
}
|
|
561
|
-
function
|
|
561
|
+
function G() {
|
|
562
562
|
var e;
|
|
563
|
-
if (!
|
|
564
|
-
let t =
|
|
565
|
-
t ? i = t.name : n ? i = n.name : r ? i = r.name :
|
|
563
|
+
if (!Le) return;
|
|
564
|
+
let t = x.selectedExhibitor, n = x.selectedEventItem, r = x.selectedSpeaker, i = "";
|
|
565
|
+
t ? i = t.name : n ? i = n.name : r ? i = r.name : x.list.type === "search" && x.list.text ? i = "`" + (x.list.text || "") + "`" : x.list.type === "multi-point-tour" && x.tourTitle && (i = x.tourTitle), i.length && (i += " – "), i += (e = a(tt, Ie)) == null ? s(window.location.hostname, Ie) : e, document.title = i;
|
|
566
566
|
}
|
|
567
567
|
function xn(e) {
|
|
568
568
|
try {
|
|
569
|
-
if (
|
|
570
|
-
let t =
|
|
571
|
-
t &&
|
|
569
|
+
if (x.setMapSettings(e), e.z) {
|
|
570
|
+
let t = b.layerStore.layers.find((t) => t.name === e.z);
|
|
571
|
+
t && b.layerStore.updateVisibility(t, !0);
|
|
572
572
|
}
|
|
573
573
|
} catch (e) {
|
|
574
574
|
console.error("Failed to process map settings.", e);
|
|
@@ -577,25 +577,25 @@ function xn(e) {
|
|
|
577
577
|
//#endregion
|
|
578
578
|
//#region src/store/details-events.ts
|
|
579
579
|
function Sn() {
|
|
580
|
-
return
|
|
580
|
+
return We(() => x.details, () => {
|
|
581
581
|
var e;
|
|
582
|
-
if (!
|
|
583
|
-
if (!
|
|
584
|
-
|
|
582
|
+
if (!x.onDetails) return;
|
|
583
|
+
if (!x.details) {
|
|
584
|
+
x.onDetails(null);
|
|
585
585
|
return;
|
|
586
586
|
}
|
|
587
|
-
let t =
|
|
588
|
-
if (
|
|
587
|
+
let t = x.details;
|
|
588
|
+
if (it.EXPO === "wineparis" && (t instanceof st && (t = t.booths[0]), !t)) return;
|
|
589
589
|
let n = null, r = [];
|
|
590
|
-
if (t instanceof
|
|
590
|
+
if (t instanceof st) n = "exhibitor", r = t.booths.map((e) => e.name).sort((e, t) => {
|
|
591
591
|
var n, r;
|
|
592
|
-
return e == ((n =
|
|
592
|
+
return e == ((n = b.routeStore.tempToBooth) == null ? void 0 : n.name) ? -1 : +(t == ((r = b.routeStore.tempToBooth) == null ? void 0 : r.name));
|
|
593
593
|
});
|
|
594
|
-
else if (t instanceof
|
|
594
|
+
else if (t instanceof S) n = "booth", r = [t.name];
|
|
595
595
|
else if (t instanceof O) {
|
|
596
596
|
var i, a;
|
|
597
597
|
n = "route", r = [(i = t.from) == null ? void 0 : i.name, (a = t.to) == null ? void 0 : a.name].filter((e) => !!e);
|
|
598
|
-
} else t instanceof
|
|
598
|
+
} else t instanceof $e && (n = "category", r = t.exhibitors.map((e) => e.booths.map((e) => e.name)).flat());
|
|
599
599
|
let o = t, s = {
|
|
600
600
|
type: n,
|
|
601
601
|
name: o == null ? void 0 : o.name,
|
|
@@ -603,9 +603,9 @@ function Sn() {
|
|
|
603
603
|
externalId: o == null ? void 0 : o.externalId,
|
|
604
604
|
boothsNames: r
|
|
605
605
|
};
|
|
606
|
-
|
|
606
|
+
x.onDetails({
|
|
607
607
|
...s,
|
|
608
|
-
...n === "route" ? { routeInfo: (e =
|
|
608
|
+
...n === "route" ? { routeInfo: (e = b.routeStore.routeInfo) == null ? void 0 : e } : {}
|
|
609
609
|
});
|
|
610
610
|
});
|
|
611
611
|
}
|
|
@@ -658,7 +658,7 @@ function K(e) {
|
|
|
658
658
|
entity: e.entity,
|
|
659
659
|
isEnded: e.isEnded
|
|
660
660
|
};
|
|
661
|
-
case
|
|
661
|
+
case ee: return {
|
|
662
662
|
id: e.id,
|
|
663
663
|
name: J(e.name),
|
|
664
664
|
entity: e.entity
|
|
@@ -683,35 +683,35 @@ function J(e) {
|
|
|
683
683
|
}
|
|
684
684
|
//#endregion
|
|
685
685
|
//#region src/floorplan.ready.tsx
|
|
686
|
-
var Y =
|
|
686
|
+
var Y = Pe(), X = (0, Mt.default)("efp:api");
|
|
687
687
|
(0, Pt.install)();
|
|
688
688
|
var Cn = class extends c {
|
|
689
689
|
constructor(...e) {
|
|
690
690
|
super(...e), this.root = void 0;
|
|
691
691
|
}
|
|
692
692
|
init() {
|
|
693
|
-
gt(),
|
|
693
|
+
gt(), rn(), this.ignoreQuery || an(this.offHistory), bt("load"), Tt(b), b.fp = this, _(Sn()), at(), pt(this.consent), ht(yt.Load, ""), this.root = (0, Nt.createRoot)(this.renderTarget), this.root.render(/* @__PURE__ */ (0, Y.jsx)(jt, { children: /* @__PURE__ */ (0, Y.jsx)(Ye, {
|
|
694
694
|
offHistory: this.offHistory,
|
|
695
695
|
consent: this.consent
|
|
696
|
-
}) })), ht(yt.Rendered, ""),
|
|
696
|
+
}) })), ht(yt.Rendered, ""), _(We(() => b.layerStore.layersLoaded, () => {
|
|
697
697
|
let e = this.renderTarget.getRootNode(), t = e instanceof ShadowRoot ? e.host : this.renderTarget.parentElement;
|
|
698
698
|
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); t && this.element.firstChild && this.element.firstChild !== t;) this.element.removeChild(this.element.firstChild);
|
|
699
|
-
if (this.resolveReady(), !
|
|
699
|
+
if (this.resolveReady(), !b.initialized) {
|
|
700
700
|
var n;
|
|
701
701
|
(n = this.onInit) == null || n.call(this, this);
|
|
702
702
|
}
|
|
703
|
-
|
|
704
|
-
})),
|
|
705
|
-
let e = zt(
|
|
706
|
-
e && import("./bootIntercom-
|
|
703
|
+
b.initialized = !0;
|
|
704
|
+
})), _(() => clearTimeout(Q));
|
|
705
|
+
let e = zt(tt);
|
|
706
|
+
e && import("./bootIntercom-dycNZ6lL.js").then(({ bootIntercom: t }) => t(e)).catch(() => {});
|
|
707
707
|
}
|
|
708
708
|
selectBooth(e) {
|
|
709
709
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
710
710
|
$("selectBooth", "Parameter must be a string or an array of strings.", "EFP000000");
|
|
711
711
|
return;
|
|
712
712
|
}
|
|
713
|
-
let t =
|
|
714
|
-
|
|
713
|
+
let t = b.boothStore.booths.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
714
|
+
b.selectBooth(t);
|
|
715
715
|
}
|
|
716
716
|
selectExhibitor(e) {
|
|
717
717
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
@@ -719,35 +719,35 @@ var Cn = class extends c {
|
|
|
719
719
|
return;
|
|
720
720
|
}
|
|
721
721
|
if (!(e != null && e.length)) {
|
|
722
|
-
|
|
722
|
+
b.uiState.menu = !1, b.searchStore.resetSearchBox(), b.uiState.details = null;
|
|
723
723
|
return;
|
|
724
724
|
}
|
|
725
|
-
let t =
|
|
725
|
+
let t = b.exhibitorStore.exhibitors.filter((t) => typeof e == "string" ? t.name === e || t.externalId === e : e.includes(t.name) || e.includes(t.externalId));
|
|
726
726
|
if (!(t != null && t.length)) return;
|
|
727
727
|
if (typeof e == "string") {
|
|
728
|
-
|
|
728
|
+
b.selectExhibitor(t[0]), b.moveToList([t[0]]);
|
|
729
729
|
return;
|
|
730
730
|
}
|
|
731
|
-
let n =
|
|
732
|
-
n &&
|
|
731
|
+
let n = tn(t.flatMap((e) => e.booths.map((e) => e.layer)).map((e) => e.description));
|
|
732
|
+
n && b.layerStore.updateVisibility(n, !0), b.uiState.menu = !1, b.searchStore.resetSearchBox(), b.uiState.details = null, b.uiState.list = {
|
|
733
733
|
type: "filter",
|
|
734
734
|
items: t,
|
|
735
735
|
query: {
|
|
736
736
|
key: "exhibitors",
|
|
737
737
|
value: t.map((e) => e.name).join(",")
|
|
738
738
|
}
|
|
739
|
-
},
|
|
739
|
+
}, b.moveToList();
|
|
740
740
|
}
|
|
741
741
|
highlightExhibitors(e) {
|
|
742
|
-
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"),
|
|
742
|
+
Array.isArray(e) || $("highlightExhibitors", "Parameter must be an array of strings.", "EFP000200"), b.boothStore.highlightedByExternalIds = [], b.exhibitorStore.highlightedByExternalIds = [...e];
|
|
743
743
|
}
|
|
744
744
|
highlightBooths(e) {
|
|
745
|
-
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"),
|
|
745
|
+
Array.isArray(e) || $("highlightBooths", "Parameter must be an array of strings.", "EFP000300"), b.exhibitorStore.highlightedByExternalIds = [], b.boothStore.highlightedByExternalIds = [...e];
|
|
746
746
|
}
|
|
747
747
|
highlightEntities(e) {
|
|
748
748
|
Array.isArray(e) || $("highlightEntities", "Parameter must be an array of strings.", "EFP000400");
|
|
749
749
|
let { boothExternalIds: t, exhibitorExternalIds: n } = _t(e);
|
|
750
|
-
|
|
750
|
+
b.boothStore.highlightedByExternalIds = [...t], b.exhibitorStore.highlightedByExternalIds = [...n];
|
|
751
751
|
}
|
|
752
752
|
selectRoute(e, t) {
|
|
753
753
|
if (Array.isArray(e)) {
|
|
@@ -758,10 +758,10 @@ var Cn = class extends c {
|
|
|
758
758
|
return;
|
|
759
759
|
}
|
|
760
760
|
let i = t.map(Z).filter((e) => e !== null);
|
|
761
|
-
|
|
761
|
+
b.routeStore.selectRoute(new O(Z(n), Z(r), i));
|
|
762
762
|
return;
|
|
763
763
|
}
|
|
764
|
-
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"),
|
|
764
|
+
e || $("selectRoute", "At a minimum, the starting point must be passed.", "EFP000402"), b.routeStore.selectRoute(new O(Z(e), t ? Z(t) : null));
|
|
765
765
|
}
|
|
766
766
|
getOptimizedRoutes(e) {
|
|
767
767
|
if (!Array.isArray(e)) return $("getOptimizedRoutes", "Parameter must be an array.", "EFP000500"), [];
|
|
@@ -774,19 +774,19 @@ var Cn = class extends c {
|
|
|
774
774
|
let t = (r = (i = e.layer) == null ? void 0 : i.name) == null ? "" : r, a = n.get(t);
|
|
775
775
|
a ? a.push(e) : n.set(t, [e]);
|
|
776
776
|
}
|
|
777
|
-
return Array.from(n.values()).map((e) => ({ waypoints:
|
|
777
|
+
return Array.from(n.values()).map((e) => ({ waypoints: lt(e.map((e) => [e.name, {
|
|
778
778
|
x: e.rect.center.x,
|
|
779
779
|
y: e.rect.center.y
|
|
780
780
|
}])) }));
|
|
781
781
|
}
|
|
782
782
|
selectCurrentPosition(e, t, n) {
|
|
783
783
|
var r;
|
|
784
|
-
let i =
|
|
785
|
-
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"),
|
|
784
|
+
let i = E(e.x) && E(e.y), a = E(e.lng) && E(e.lat);
|
|
785
|
+
!i && !a && $("selectCurrentPosition", "A point must be passed. Either (x,y) or (lat,lng) are required.", "EFP000600"), b.routeStore.selectCurrentPosition(e, t, n), (r = this.onCurrentPositionChanged) == null || r.call(this, e);
|
|
786
786
|
}
|
|
787
787
|
setBookmarks(e) {
|
|
788
788
|
(!Array.isArray(e) || !e.length) && $("setBookmarks", "Parameter must be an array.", "EFP000700"), e.forEach((e) => {
|
|
789
|
-
let t =
|
|
789
|
+
let t = b.exhibitorStore.exhibitors.find((t) => t.name === e.name || t.externalId === e.externalId);
|
|
790
790
|
t && (t.bookmarked = e.bookmarked);
|
|
791
791
|
});
|
|
792
792
|
}
|
|
@@ -805,29 +805,29 @@ var Cn = class extends c {
|
|
|
805
805
|
$("setEntitiesBookmarks", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000702");
|
|
806
806
|
return;
|
|
807
807
|
}
|
|
808
|
-
let r =
|
|
808
|
+
let r = rt("bookmarked"), i = {
|
|
809
809
|
exhibitor: {
|
|
810
810
|
existingIds: new Set(r.exhibitors || []),
|
|
811
|
-
finder: (e) =>
|
|
812
|
-
replacer: (e) =>
|
|
811
|
+
finder: (e) => b.exhibitorStore.findExhibitor(e),
|
|
812
|
+
replacer: (e) => b.exhibitorStore.replaceBookmarked(e)
|
|
813
813
|
},
|
|
814
814
|
event: {
|
|
815
815
|
existingIds: new Set(r.events || []),
|
|
816
|
-
finder: (e) =>
|
|
817
|
-
replacer: (e) =>
|
|
816
|
+
finder: (e) => b.eventStore.findByNameOrSlug(e),
|
|
817
|
+
replacer: (e) => b.eventStore.replaceBookmarked(e)
|
|
818
818
|
},
|
|
819
819
|
speaker: {
|
|
820
820
|
existingIds: new Set(r.speakers || []),
|
|
821
|
-
finder: (e) =>
|
|
822
|
-
replacer: (e) =>
|
|
821
|
+
finder: (e) => b.speakerStore.speakers.find((t) => t.name === e || t.externalId === e || t.slug === e),
|
|
822
|
+
replacer: (e) => b.speakerStore.replaceBookmarked(e)
|
|
823
823
|
},
|
|
824
824
|
booth: {
|
|
825
825
|
existingIds: new Set(r.booths || []),
|
|
826
826
|
finder: (e) => {
|
|
827
|
-
let t =
|
|
827
|
+
let t = b.boothStore.findBooth(e);
|
|
828
828
|
return (t == null ? void 0 : t.exhibitors.length) === 0 ? t : void 0;
|
|
829
829
|
},
|
|
830
|
-
replacer: (e) =>
|
|
830
|
+
replacer: (e) => b.boothStore.replaceBookmarked(e)
|
|
831
831
|
}
|
|
832
832
|
};
|
|
833
833
|
e.forEach((e) => {
|
|
@@ -847,16 +847,16 @@ var Cn = class extends c {
|
|
|
847
847
|
$("setEntitiesVisited", `Invalid entity type: ${n.type}. Must be one of: ${t.join(", ")}.`, "EFP000704");
|
|
848
848
|
return;
|
|
849
849
|
}
|
|
850
|
-
let r =
|
|
850
|
+
let r = rt("visited"), i = {
|
|
851
851
|
exhibitor: {
|
|
852
852
|
existingIds: new Set(r.exhibitors || []),
|
|
853
|
-
finder: (e) =>
|
|
854
|
-
replacer: (e) =>
|
|
853
|
+
finder: (e) => b.exhibitorStore.findExhibitor(e),
|
|
854
|
+
replacer: (e) => b.exhibitorStore.replaceVisited(e)
|
|
855
855
|
},
|
|
856
856
|
event: {
|
|
857
857
|
existingIds: new Set(r.events || []),
|
|
858
|
-
finder: (e) =>
|
|
859
|
-
replacer: (e) =>
|
|
858
|
+
finder: (e) => b.eventStore.findByNameOrSlug(e),
|
|
859
|
+
replacer: (e) => b.eventStore.replaceVisited(e)
|
|
860
860
|
}
|
|
861
861
|
};
|
|
862
862
|
e.forEach((e) => {
|
|
@@ -871,94 +871,94 @@ var Cn = class extends c {
|
|
|
871
871
|
$("setMarkers", "Invalid input.", "EFP000800");
|
|
872
872
|
return;
|
|
873
873
|
}
|
|
874
|
-
|
|
874
|
+
b.routeStore.setMarkers(e);
|
|
875
875
|
}
|
|
876
876
|
selectMarker(e, t = !0) {
|
|
877
|
-
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"),
|
|
877
|
+
return typeof e != "string" && $("selectMarker", "The identifier must be passed.", "EFP000900"), b.routeStore.selectMarker(e, t);
|
|
878
878
|
}
|
|
879
879
|
drawCircles(e) {
|
|
880
|
-
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"),
|
|
880
|
+
Array.isArray(e) || $("drawCircles", "Invalid input.", "EFP000A00"), b.uiState.debugCircles = e;
|
|
881
881
|
}
|
|
882
882
|
checkRoutes() {
|
|
883
|
-
|
|
883
|
+
b.routeStore.checkRoutes();
|
|
884
884
|
}
|
|
885
885
|
updateLayerVisibility(e, t) {
|
|
886
|
-
typeof e != "string" && $("updateLayerVisibility", "The layer name (string) must be passed.", "EFP000B00"), t || $("updateLayerVisibility", "Passing a false value to visible will have no effect.", "EFP000B01"),
|
|
886
|
+
typeof e != "string" && $("updateLayerVisibility", "The layer name (string) must be passed.", "EFP000B00"), t || $("updateLayerVisibility", "Passing a false value to visible will have no effect.", "EFP000B01"), b.layerStore.updateVisibility(e, t);
|
|
887
887
|
}
|
|
888
888
|
getCenterCoordinates() {
|
|
889
|
-
return
|
|
889
|
+
return b.fp.getCenterCoordinates();
|
|
890
890
|
}
|
|
891
891
|
exhibitorsList() {
|
|
892
|
-
return
|
|
892
|
+
return b.exhibitorStore.exhibitors.map((e) => K(e));
|
|
893
893
|
}
|
|
894
894
|
boothsList() {
|
|
895
|
-
return
|
|
895
|
+
return b.boothStore.booths.map((e) => K(e));
|
|
896
896
|
}
|
|
897
897
|
categoriesList() {
|
|
898
|
-
return
|
|
898
|
+
return b.categoryStore.categories.map((e) => K(e));
|
|
899
899
|
}
|
|
900
900
|
selectCategory(e) {
|
|
901
901
|
if (e == null || typeof e != "string") {
|
|
902
|
-
|
|
902
|
+
b.searchStore.selectSearch();
|
|
903
903
|
return;
|
|
904
904
|
}
|
|
905
|
-
let t = e == null ? void 0 : e.toLowerCase(), n =
|
|
905
|
+
let t = e == null ? void 0 : e.toLowerCase(), n = b.categoryStore.categories.find(({ name: e, slug: n }) => (e == null ? void 0 : e.toLowerCase()) === t || (n == null ? void 0 : n.toLowerCase()) === t);
|
|
906
906
|
if (!n) {
|
|
907
907
|
$("selectCategory", `Category ${e} not found.`, "EFP000C01");
|
|
908
908
|
return;
|
|
909
909
|
}
|
|
910
|
-
|
|
910
|
+
b.selectCategory(n);
|
|
911
911
|
}
|
|
912
912
|
select(e) {
|
|
913
913
|
if (typeof e != "string") {
|
|
914
914
|
$("select", "Parameter must be a string.", "EFP001700");
|
|
915
915
|
return;
|
|
916
916
|
}
|
|
917
|
-
let t = e, n = t == null ? void 0 : t.toLowerCase(), r =
|
|
917
|
+
let t = e, n = t == null ? void 0 : t.toLowerCase(), r = b.boothStore.booths.find((e) => {
|
|
918
918
|
var t, r, i;
|
|
919
919
|
return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n || ((i = e.externalId) == null || (i = i.toLowerCase()) == null ? void 0 : i.replace(/\s+/g, "")) === n;
|
|
920
920
|
});
|
|
921
921
|
if (r) {
|
|
922
|
-
setTimeout(() =>
|
|
922
|
+
setTimeout(() => b.selectBooth(r), 250);
|
|
923
923
|
return;
|
|
924
924
|
}
|
|
925
|
-
let i =
|
|
925
|
+
let i = b.eventStore.eventItems.find((e) => {
|
|
926
926
|
var t, r;
|
|
927
927
|
return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
|
|
928
928
|
});
|
|
929
929
|
if (i) {
|
|
930
|
-
|
|
930
|
+
b.selectEventItem(i, !0);
|
|
931
931
|
return;
|
|
932
932
|
}
|
|
933
|
-
let a =
|
|
933
|
+
let a = b.exhibitorStore.exhibitors.find((e) => {
|
|
934
934
|
var t, r;
|
|
935
935
|
return ((t = e.slug) == null ? void 0 : t.toLowerCase()) === n || ((r = e.externalId) == null ? void 0 : r.toLowerCase()) === n;
|
|
936
936
|
});
|
|
937
937
|
if (a) {
|
|
938
|
-
setTimeout(() =>
|
|
938
|
+
setTimeout(() => b.clickExhibitor(a), 250);
|
|
939
939
|
return;
|
|
940
940
|
}
|
|
941
|
-
let o =
|
|
941
|
+
let o = b.categoryStore.categories.find((e) => e.slug === t);
|
|
942
942
|
if (o) {
|
|
943
|
-
|
|
943
|
+
b.selectCategory(o);
|
|
944
944
|
return;
|
|
945
945
|
}
|
|
946
|
-
let s =
|
|
946
|
+
let s = b.speakerStore.findBySlug(t);
|
|
947
947
|
if (s) {
|
|
948
|
-
|
|
948
|
+
b.selectSpeaker(s, !0);
|
|
949
949
|
return;
|
|
950
950
|
}
|
|
951
|
-
t.includes("heatmap=true") ||
|
|
951
|
+
t.includes("heatmap=true") || b.searchStore.selectSearch(t);
|
|
952
952
|
}
|
|
953
953
|
showList(e) {
|
|
954
954
|
let t = {
|
|
955
|
-
bookmarks: () =>
|
|
956
|
-
visited: () =>
|
|
957
|
-
sessions: () =>
|
|
958
|
-
exhibitors: () =>
|
|
959
|
-
speakers: () =>
|
|
960
|
-
tours: () =>
|
|
961
|
-
language: () =>
|
|
955
|
+
bookmarks: () => b.selectBookmarks(),
|
|
956
|
+
visited: () => b.selectVisited(),
|
|
957
|
+
sessions: () => b.selectSessions(),
|
|
958
|
+
exhibitors: () => b.selectExhibitors(),
|
|
959
|
+
speakers: () => b.selectSpeakers(),
|
|
960
|
+
tours: () => b.selectTours(),
|
|
961
|
+
language: () => b.selectLanguage()
|
|
962
962
|
}, n = t[e];
|
|
963
963
|
if (!n) {
|
|
964
964
|
$("showList", `Unknown list "${e}". Must be one of: ${Object.keys(t).join(", ")}.`, "EFP001800");
|
|
@@ -968,15 +968,15 @@ var Cn = class extends c {
|
|
|
968
968
|
}
|
|
969
969
|
showSessions(e = {}) {
|
|
970
970
|
X("showSessions called with filters=%O", e);
|
|
971
|
-
let t =
|
|
971
|
+
let t = se.safeParse(e);
|
|
972
972
|
if (!t.success) {
|
|
973
973
|
$("showSessions", t.error.message, "EFP001C00");
|
|
974
974
|
return;
|
|
975
975
|
}
|
|
976
|
-
let n = t.data, { eventStore: r, sessionsFilterStore: i } =
|
|
977
|
-
|
|
976
|
+
let n = t.data, { eventStore: r, sessionsFilterStore: i } = b;
|
|
977
|
+
Ge(() => {
|
|
978
978
|
var e, t, a, o;
|
|
979
|
-
|
|
979
|
+
x.details = null, b.selectSessions(), i.closeFilter(), i.setPending("selectedTracks", wn(n.tracks, r.tracks, "track")), i.setPending("selectedVenues", wn(n.venues, r.venues, "venue")), i.setPending("date", (e = n.date) == null ? "all" : e), i.setPending("timeOfDay", (t = n.time) == null ? "all" : t), i.setPending("showBookmarksOnly", (a = n.bookmarked) != null && a), i.setPending("showLiveOnly", (o = n.live) != null && o), i.commitFilters();
|
|
980
980
|
});
|
|
981
981
|
}
|
|
982
982
|
selectTour(e) {
|
|
@@ -984,65 +984,65 @@ var Cn = class extends c {
|
|
|
984
984
|
$("selectTour", "A tour id must be passed.", "EFP001900");
|
|
985
985
|
return;
|
|
986
986
|
}
|
|
987
|
-
let t =
|
|
988
|
-
t ?
|
|
987
|
+
let t = b.toursStore.getTourById(e);
|
|
988
|
+
t ? b.toursStore.launchTour(t, t.name, t.description) : (console.warn(`Route with id "${e}" not found`), b.selectTours());
|
|
989
989
|
}
|
|
990
990
|
openPlanner(e = {}) {
|
|
991
991
|
if (typeof e != "object" || !e) {
|
|
992
992
|
$("openPlanner", "An options object must be passed.", "EFP001A00");
|
|
993
993
|
return;
|
|
994
994
|
}
|
|
995
|
-
let t = e.from ?
|
|
996
|
-
if (e.fromBookmarks)
|
|
995
|
+
let t = e.from ? D(e.from) : null;
|
|
996
|
+
if (e.fromBookmarks) b.routePlannerStore.launchFromBookmarks(t == null ? void 0 : t);
|
|
997
997
|
else {
|
|
998
998
|
var n;
|
|
999
|
-
|
|
999
|
+
b.routePlannerStore.launchFromSlugs((n = e.items) == null ? [] : n, t == null ? void 0 : t);
|
|
1000
1000
|
}
|
|
1001
1001
|
}
|
|
1002
1002
|
startBuildRoute() {
|
|
1003
|
-
|
|
1003
|
+
b.uiState.startBuildRoute();
|
|
1004
1004
|
}
|
|
1005
1005
|
applyParameters(e) {
|
|
1006
|
-
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"),
|
|
1006
|
+
typeof e != "string" && $("applyParameters", "A query string must be passed.", "EFP000D00"), on(e);
|
|
1007
1007
|
}
|
|
1008
1008
|
getVisibility() {
|
|
1009
|
-
return
|
|
1009
|
+
return b.uiState.visibility;
|
|
1010
1010
|
}
|
|
1011
1011
|
setVisibility(e) {
|
|
1012
|
-
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"),
|
|
1012
|
+
(typeof e != "object" || !Object.keys(e).length) && $("setVisibility", "The parameter must be passed.", "EFP000E00"), b.uiState.setVisibility(e);
|
|
1013
1013
|
}
|
|
1014
1014
|
findLocation() {
|
|
1015
|
-
|
|
1015
|
+
b.routeStore.findLocation();
|
|
1016
1016
|
}
|
|
1017
1017
|
zoomIn() {
|
|
1018
|
-
|
|
1018
|
+
b.uiState.zoomIn();
|
|
1019
1019
|
}
|
|
1020
1020
|
zoomOut() {
|
|
1021
|
-
|
|
1021
|
+
b.uiState.zoomOut();
|
|
1022
1022
|
}
|
|
1023
1023
|
switchView() {
|
|
1024
|
-
|
|
1024
|
+
b.maplibreStore.activateMaplibre();
|
|
1025
1025
|
}
|
|
1026
1026
|
setCamera(e) {
|
|
1027
1027
|
X("setCamera called with camera=%O", e);
|
|
1028
|
-
let t =
|
|
1028
|
+
let t = Ce.safeParse(e);
|
|
1029
1029
|
if (!t.success) {
|
|
1030
1030
|
$("setCamera", t.error.message, "EFP001B00");
|
|
1031
1031
|
return;
|
|
1032
1032
|
}
|
|
1033
|
-
|
|
1033
|
+
b.uiState.setMapSettings(y(t.data));
|
|
1034
1034
|
}
|
|
1035
1035
|
getCamera() {
|
|
1036
|
-
return
|
|
1036
|
+
return qe(b.uiState.mapSettings);
|
|
1037
1037
|
}
|
|
1038
1038
|
zoomTo(e, t) {
|
|
1039
1039
|
X("zoomTo called with selectors=%O options=%O", e, t);
|
|
1040
|
-
let n =
|
|
1040
|
+
let n = Qt.safeParse(e);
|
|
1041
1041
|
if (!n.success) {
|
|
1042
1042
|
$("zoomTo", n.error.message, "EFP001600");
|
|
1043
1043
|
return;
|
|
1044
1044
|
}
|
|
1045
|
-
let r =
|
|
1045
|
+
let r = $t.safeParse(t);
|
|
1046
1046
|
if (!r.success) {
|
|
1047
1047
|
$("zoomTo", r.error.message, "EFP001601");
|
|
1048
1048
|
return;
|
|
@@ -1053,7 +1053,7 @@ var Cn = class extends c {
|
|
|
1053
1053
|
getBounds(e) {
|
|
1054
1054
|
var t, n;
|
|
1055
1055
|
X("getBounds called with selectors=%O", e);
|
|
1056
|
-
let r =
|
|
1056
|
+
let r = Qt.safeParse(e);
|
|
1057
1057
|
if (!r.success) {
|
|
1058
1058
|
$("getBounds", r.error.message, "EFP001400");
|
|
1059
1059
|
return;
|
|
@@ -1061,15 +1061,15 @@ var Cn = class extends c {
|
|
|
1061
1061
|
let i = [];
|
|
1062
1062
|
if ((t = e.booths) == null || t.forEach((e) => {
|
|
1063
1063
|
let t;
|
|
1064
|
-
e.externalId ? t =
|
|
1064
|
+
e.externalId ? t = b.boothStore.boothByExternalId.get(e.externalId) : e.name && (t = b.boothStore.boothByName.get(e.name.toLowerCase())), t != null && t.rect && i.push(t.rect);
|
|
1065
1065
|
}), (n = e.exhibitors) == null || n.forEach((e) => {
|
|
1066
1066
|
var t;
|
|
1067
1067
|
let n;
|
|
1068
|
-
e.externalId ? n =
|
|
1068
|
+
e.externalId ? n = b.exhibitorStore.exhibitorByExternalId.get(e.externalId) : e.name && (n = b.exhibitorStore.exhibitorByName.get(e.name.toLowerCase())), n == null || (t = n.booths) == null || t.forEach((e) => {
|
|
1069
1069
|
e.rect && i.push(e.rect);
|
|
1070
1070
|
});
|
|
1071
1071
|
}), i.length === 0) return;
|
|
1072
|
-
let a =
|
|
1072
|
+
let a = C.fromUnion(...i);
|
|
1073
1073
|
return {
|
|
1074
1074
|
leftTop: {
|
|
1075
1075
|
x: a.min.x,
|
|
@@ -1083,37 +1083,37 @@ var Cn = class extends c {
|
|
|
1083
1083
|
}
|
|
1084
1084
|
fitBounds(e, t) {
|
|
1085
1085
|
if (X("fitBounds called with bounds=%O options=%O", e, t), !e) {
|
|
1086
|
-
|
|
1086
|
+
b.uiState.fitBounds();
|
|
1087
1087
|
return;
|
|
1088
1088
|
}
|
|
1089
|
-
let n =
|
|
1089
|
+
let n = Xt.safeParse(e);
|
|
1090
1090
|
if (!n.success) {
|
|
1091
1091
|
$("fitBounds", n.error.message, "EFP001500");
|
|
1092
1092
|
return;
|
|
1093
1093
|
}
|
|
1094
|
-
let r =
|
|
1094
|
+
let r = $t.safeParse(t);
|
|
1095
1095
|
if (!r.success) {
|
|
1096
1096
|
$("fitBounds", r.error.message, "EFP001501");
|
|
1097
1097
|
return;
|
|
1098
1098
|
}
|
|
1099
|
-
let i =
|
|
1099
|
+
let i = C.fromMinMax({
|
|
1100
1100
|
x: e.leftTop.x,
|
|
1101
1101
|
y: e.leftTop.y
|
|
1102
1102
|
}, {
|
|
1103
1103
|
x: e.rightBottom.x,
|
|
1104
1104
|
y: e.rightBottom.y
|
|
1105
1105
|
});
|
|
1106
|
-
|
|
1106
|
+
b.uiState.moveToRect = t != null && t.padding ? i.expand(t.padding) : i;
|
|
1107
1107
|
}
|
|
1108
1108
|
getBoothRect(e) {
|
|
1109
1109
|
var t;
|
|
1110
1110
|
typeof e != "string" && $("getBoothRect", "A booth name must be passed.", "EFP000F00");
|
|
1111
|
-
let n = (t =
|
|
1111
|
+
let n = (t = D(e)) == null ? void 0 : t.rect;
|
|
1112
1112
|
return n ? Tn.fromBox(n) : void 0;
|
|
1113
1113
|
}
|
|
1114
1114
|
convertToGeo(e, t) {
|
|
1115
1115
|
var n;
|
|
1116
|
-
let r = (n =
|
|
1116
|
+
let r = (n = T()) == null || (n = n.properties) == null ? void 0 : n.config;
|
|
1117
1117
|
if (!r) {
|
|
1118
1118
|
$("convertToGeo", "The coordinates cannot be converted because the GPS configuration is not defined.", "EFP001000");
|
|
1119
1119
|
return;
|
|
@@ -1122,11 +1122,11 @@ var Cn = class extends c {
|
|
|
1122
1122
|
$("convertToGeo", "Both coordinates must be passed.", "EFP001001");
|
|
1123
1123
|
return;
|
|
1124
1124
|
}
|
|
1125
|
-
return
|
|
1125
|
+
return ct(e, t, r);
|
|
1126
1126
|
}
|
|
1127
1127
|
getGeoConfig() {
|
|
1128
1128
|
var e, t;
|
|
1129
|
-
let n = (e =
|
|
1129
|
+
let n = (e = T()) == null || (e = e.properties) == null ? void 0 : e.config;
|
|
1130
1130
|
return n ? {
|
|
1131
1131
|
bearing: (t = n.bearing) == null ? 0 : t,
|
|
1132
1132
|
p0: n.p0,
|
|
@@ -1136,16 +1136,16 @@ var Cn = class extends c {
|
|
|
1136
1136
|
}
|
|
1137
1137
|
releaseResources() {
|
|
1138
1138
|
var e;
|
|
1139
|
-
|
|
1139
|
+
b.maplibreStore.dispose(), (e = this.root) == null || e.unmount(), super.releaseResources();
|
|
1140
1140
|
}
|
|
1141
1141
|
search(e) {
|
|
1142
|
-
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"),
|
|
1142
|
+
return typeof e != "string" && $("search", "A search string must be passed.", "EFP001100"), b.fuzzySearchEngineStore.loadEngine().then(() => (b.searchStore.selectSearch(e), b.uiState.fuzzySearchItems.map((e) => ({
|
|
1143
1143
|
item: K(e.item),
|
|
1144
1144
|
score: e.score
|
|
1145
1145
|
}))));
|
|
1146
1146
|
}
|
|
1147
1147
|
getFloors() {
|
|
1148
|
-
return
|
|
1148
|
+
return b.layerStore.floors.map((e) => ({
|
|
1149
1149
|
name: e.name,
|
|
1150
1150
|
shortName: e.shortName,
|
|
1151
1151
|
description: e.description,
|
|
@@ -1186,7 +1186,7 @@ var Cn = class extends c {
|
|
|
1186
1186
|
boothExternalIds: [],
|
|
1187
1187
|
exhibitorExternalIds: []
|
|
1188
1188
|
};
|
|
1189
|
-
|
|
1189
|
+
un({
|
|
1190
1190
|
pathwayId: e,
|
|
1191
1191
|
boothIds: n,
|
|
1192
1192
|
exhibitorIds: r
|
|
@@ -1194,45 +1194,45 @@ var Cn = class extends c {
|
|
|
1194
1194
|
}
|
|
1195
1195
|
showPathwayOnly(e, t) {
|
|
1196
1196
|
var n;
|
|
1197
|
-
this.activateFloor({ name: t }),
|
|
1198
|
-
let r =
|
|
1199
|
-
o && (
|
|
1197
|
+
this.activateFloor({ name: t }), b.layerStore.showPathWay(e), b.uiState.setPathwayOnlyMode(!0);
|
|
1198
|
+
let r = b.layerStore.findLayer(e), i = b.layerStore.findLayer(t), a = r != null && r.rect || r != null && r.viewbox ? r : i, o = (n = a == null ? void 0 : a.viewbox) == null ? a == null ? void 0 : a.rect : n;
|
|
1199
|
+
o && (b.uiState.moveToRect = o.clone());
|
|
1200
1200
|
}
|
|
1201
1201
|
hidePathways() {
|
|
1202
|
-
this.highlightBooths([]),
|
|
1202
|
+
this.highlightBooths([]), b.layerStore.hidePathways(), b.uiState.setPathwayOnlyMode(!1);
|
|
1203
1203
|
}
|
|
1204
1204
|
showSearch() {
|
|
1205
|
-
|
|
1205
|
+
b.selectSearch("");
|
|
1206
1206
|
}
|
|
1207
1207
|
changeLanguage(e) {
|
|
1208
1208
|
var t;
|
|
1209
1209
|
let n = e == null || (t = e.toLowerCase) == null ? void 0 : t.call(e);
|
|
1210
1210
|
if (!Te(n)) {
|
|
1211
|
-
$("changeLanguage", `Language "${e}" was not found. Available languages: ${
|
|
1211
|
+
$("changeLanguage", `Language "${e}" was not found. Available languages: ${be().map((e) => e.id).join(",")}`, "EFP001300");
|
|
1212
1212
|
return;
|
|
1213
1213
|
}
|
|
1214
|
-
|
|
1214
|
+
Se(n);
|
|
1215
1215
|
}
|
|
1216
1216
|
isGpsTrackingEnabled() {
|
|
1217
|
-
return
|
|
1217
|
+
return b.routeStore.gpsEnabled;
|
|
1218
1218
|
}
|
|
1219
1219
|
setGpsTrackingEnabled(e) {
|
|
1220
|
-
|
|
1220
|
+
b.routeStore.setGpsTrackingEnabled(e);
|
|
1221
1221
|
}
|
|
1222
1222
|
deselectCurrentPosition() {
|
|
1223
|
-
|
|
1223
|
+
b.routeStore.selectCurrentPosition(null, !1);
|
|
1224
1224
|
}
|
|
1225
1225
|
deselectRoute() {
|
|
1226
|
-
|
|
1226
|
+
b.routeStore.selectRoute(null), b.routeStore.setOnlyAccessible(!1);
|
|
1227
1227
|
}
|
|
1228
1228
|
reset() {
|
|
1229
|
-
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]),
|
|
1229
|
+
if (this.selectBooth(""), this.selectExhibitor(""), this.selectCategory(), this.deselectCurrentPosition(), this.deselectRoute(), this.highlightEntities([]), b.uiState.kioskData && b.resetCameraFn) {
|
|
1230
1230
|
var e;
|
|
1231
|
-
(e =
|
|
1231
|
+
(e = b.resetCameraFn) == null || e.call(b);
|
|
1232
1232
|
} else this.fitBounds();
|
|
1233
1233
|
}
|
|
1234
1234
|
selectAccessibleRoute(e) {
|
|
1235
|
-
|
|
1235
|
+
b.routeStore.setOnlyAccessible(!0), this.selectRoute(e);
|
|
1236
1236
|
}
|
|
1237
1237
|
};
|
|
1238
1238
|
function wn(e = [], t, n) {
|
|
@@ -1251,14 +1251,14 @@ function wn(e = [], t, n) {
|
|
|
1251
1251
|
return [...r];
|
|
1252
1252
|
}
|
|
1253
1253
|
function Z(e) {
|
|
1254
|
-
let t = typeof e == "string" ?
|
|
1254
|
+
let t = typeof e == "string" ? D(e) : b.routeStore.getNearestBooth(e);
|
|
1255
1255
|
return t == null ? null : t;
|
|
1256
1256
|
}
|
|
1257
1257
|
var Q = 0;
|
|
1258
1258
|
function $(e, t, n) {
|
|
1259
1259
|
let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://js-sdk.expofp.com/api/packages";
|
|
1260
|
-
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`),
|
|
1261
|
-
|
|
1260
|
+
if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), b.fp.disableRuntimeAlerts) return;
|
|
1261
|
+
b.uiState.setGlobalErrorMessage({
|
|
1262
1262
|
title: r,
|
|
1263
1263
|
body: /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [
|
|
1264
1264
|
i,
|
|
@@ -1274,7 +1274,7 @@ function $(e, t, n) {
|
|
|
1274
1274
|
let o = 8e3;
|
|
1275
1275
|
Q = window.setTimeout(() => {
|
|
1276
1276
|
let e = async () => {
|
|
1277
|
-
|
|
1277
|
+
b.uiState.globalErrorMessages.length > 0 && (b.uiState.popGlobalErrorMessage(), await new Promise((e) => setTimeout(e, o / 2)), e());
|
|
1278
1278
|
};
|
|
1279
1279
|
e();
|
|
1280
1280
|
}, o);
|