@expofp/floorplan 3.3.2 → 3.3.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/{CookieConsent-AiKGESoP.js → CookieConsent-sDQo-0EJ.js} +13 -13
- package/dist/browser/{Debug-Cu0oJI4x.js → Debug-CvLDmNtf.js} +7 -7
- package/dist/browser/{Demo-CiohYb1I.js → Demo-BIN-9Byl.js} +9 -9
- package/dist/browser/{Free-9iwzUwcB.js → Free-B8eGBqQQ.js} +9 -9
- package/dist/browser/{Gallery-BPG-zr57.js → Gallery-DjZBpRHt.js} +10 -10
- package/dist/browser/{GpsLoader-N5cqAAiU.js → GpsLoader-Cz3_mR5n.js} +29 -29
- package/dist/browser/{KioskStore-DAKcCmeH.js → KioskStore-BrU77o4M.js} +12 -11
- package/dist/browser/{Mapbox-DqW15tYd.js → Mapbox--eEzdKzE.js} +17 -17
- package/dist/browser/{Modal-8vdQhOsq.js → Modal-Ct18MJ2q.js} +10 -10
- package/dist/browser/{SetKioskMode-n23Owdc3.js → SetKioskMode-fzX9PYsw.js} +11 -11
- package/dist/browser/ShowKiosk-BPjI2SkF.js +26 -0
- package/dist/browser/{ThreeComponent-Dg6RBLVA.js → ThreeComponent-BojqEwAn.js} +195 -195
- package/dist/browser/{TouchHand-DLNdrM1g.js → TouchHand-z3nuPt79.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-BCd36g8Z.js → ViewerMenuPanel-C9M519BJ.js} +21 -21
- package/dist/browser/{add-debug-secret-listener-CZ-ShtXt.js → add-debug-secret-listener-BYvcWOzn.js} +1 -1
- package/dist/browser/{boolean-editor-CaKpviTG.js → boolean-editor-8waRPQEr.js} +10 -10
- package/dist/browser/{bootIntercom-BQ7uMoVf.js → bootIntercom-DzT_cyct.js} +2 -2
- package/dist/browser/{box-C4OsXcPk.js → box-CKMi11kW.js} +5 -5
- package/dist/browser/{browser-Bfl5SgKY.js → browser-B-790CcS.js} +2 -2
- package/dist/browser/bundle.json +60 -60
- package/dist/browser/{classnames-5gifuuYR.js → classnames-DGR7_2nj.js} +2 -2
- package/dist/browser/{client-mx5VjN85.js → client-DT-y1DeS.js} +4 -4
- package/dist/browser/{components-sw3FzIf9.js → components-B1ZCX-HW.js} +834 -834
- package/dist/browser/{data-Co8hM_zP.js → data-C2NVC4p9.js} +40 -40
- package/dist/browser/{debug-overlay-D_yBjzRl.js → debug-overlay-D3ZEN2MQ.js} +13 -13
- package/dist/browser/{debug-ui-BsasZZkD.js → debug-ui-BWf7qN43.js} +6 -6
- package/dist/browser/{dist-DskqBo-H.js → dist-1jedMzCr.js} +6 -6
- package/dist/browser/{dist-A5TAcKA5.js → dist-BaBzquX7.js} +3 -3
- package/dist/browser/{dist-CobZMNwx.js → dist-CjRG98JL.js} +5 -5
- package/dist/browser/{efp-debug-init-D6cxoG3s.js → efp-debug-init-BubqdIhG.js} +2 -2
- package/dist/browser/{enum-editor-CCebiWrt.js → enum-editor-DWVGeYhf.js} +11 -11
- package/dist/browser/{event-not-found-FofVmJ15.js → event-not-found-Bx-96RVJ.js} +1 -1
- package/dist/browser/{exports-D53Hvhwr.js → exports-Q5c6UR9n.js} +451 -541
- package/dist/browser/{favicon-BIF4UC-5.js → favicon-D2fxzTMc.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CtPR8KE6.js → fetch-retry.umd-aiO6wAJB.js} +2 -2
- package/dist/browser/{flex-DQCE8UR1.js → flex-sSVaNy3T.js} +6 -6
- package/dist/browser/{flex.props-C7fOisxa.js → flex.props-SiNz5QyC.js} +2 -2
- package/dist/browser/{floorplan.loader-D_iGkrqm.js → floorplan.loader-B-Rc04Er.js} +984 -880
- package/dist/browser/{floorplan.ready-BiUnq9oi.js → floorplan.ready-CjCBCs5T.js} +239 -239
- package/dist/browser/{fuse-CJlFq5lU.js → fuse-CXHmdv2L.js} +2 -2
- package/dist/browser/{i18n-D0Gn0juJ.js → i18n-CiGhzuUP.js} +3 -3
- package/dist/browser/index.js +12 -12
- package/dist/browser/{jsx-runtime-B1HbLwX2.js → jsx-runtime-Bi7TFNQo.js} +2 -2
- package/dist/browser/{lib-BzORIBb4.js → lib-oDcliKSv.js} +4 -4
- package/dist/browser/{main-DGJklGaz.js → main-B3R1fH3d.js} +1 -1
- package/dist/browser/{mobx-CrtMp0nK.js → mobx-Bj9LG1de.js} +4 -4
- package/dist/browser/{particles.min-Dti4TwlW.js → particles.min-CK-8rQBr.js} +2 -2
- package/dist/browser/{prop-types-DQREJTi1.js → prop-types-AS5miMZ3.js} +2 -2
- package/dist/browser/{react-CXEEQQRc.js → react-BpsVpEVJ.js} +2 -2
- package/dist/browser/{react-dom-SYuZHdkg.js → react-dom-BHBh-OG9.js} +3 -3
- package/dist/browser/{reset-all-settings-Dck-x7Ga.js → reset-all-settings-DvRmbTat.js} +7 -7
- package/dist/browser/{rolldown-runtime-CzmzoMJQ.js → rolldown-runtime-C3VsPfIL.js} +1 -1
- package/dist/browser/{settings-B0Rz4rFx.js → settings-DBqcM4FB.js} +2 -2
- package/dist/browser/{settings-item-BPridmEJ.js → settings-item-CJR1RTD_.js} +6 -6
- package/dist/browser/{is-debug-Cztgqot7.js → storage-PQ1MxWOw.js} +22 -5
- package/dist/browser/{store-B76JeV8T.js → store-CDrDmuZ_.js} +5117 -5134
- package/dist/browser/{string-editor-Q9mIxhBD.js → string-editor-CdCxvEYj.js} +8 -8
- package/dist/browser/{theme-DC7TMfTw.js → theme-BzWIgyGm.js} +8 -8
- package/dist/browser/{ui-rElkVRs5.js → ui-KNQmMyHk.js} +8 -8
- package/dist/browser/{useRenderTarget-WlJ93Xka.js → useRenderTarget-BC6yDEQY.js} +4 -4
- package/dist/esm/components/IntercomLauncher.js +1 -1
- package/dist/esm/intercom/shouldLoad.js +1 -1
- package/package.json +5 -5
- package/dist/browser/ShowKiosk-LqhAjPff.js +0 -26
|
@@ -2,30 +2,30 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.3.3" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "861b0d93-3a03-4813-bb75-bb5a7f454035", e._sentryDebugIdIdentifier = "sentry-dbid-861b0d93-3a03-4813-bb75-bb5a7f454035");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
13
|
-
import { A as i, F as a, O as o, S as s, d as c, g as l, h as u, k as d, n as f, o as p, q as m, s as h, st as g, t as _, x as v } from "./i18n-
|
|
14
|
-
import {
|
|
15
|
-
import { n as w } from "./exports-
|
|
16
|
-
import { t as T } from "./fuse-
|
|
17
|
-
import { t as E } from "./react-dom-
|
|
18
|
-
import { t as D } from "./classnames-
|
|
19
|
-
import {
|
|
20
|
-
import "./CookieConsent-
|
|
21
|
-
import { n as vt, r as J, t as yt } from "./mobx-
|
|
22
|
-
import "./Demo-
|
|
23
|
-
import "./Gallery-
|
|
24
|
-
import { t as bt } from "./useRenderTarget-
|
|
25
|
-
import { t as xt } from "./Modal-
|
|
26
|
-
import "./TouchHand-
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-C3VsPfIL.js";
|
|
11
|
+
import { t as n } from "./react-BpsVpEVJ.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-Bi7TFNQo.js";
|
|
13
|
+
import { A as i, F as a, O as o, S as s, d as c, g as l, h as u, k as d, n as f, o as p, q as m, s as h, st as g, t as _, x as v } from "./i18n-CiGhzuUP.js";
|
|
14
|
+
import { c as y, d as b, f as x, p as S, s as C } from "./storage-PQ1MxWOw.js";
|
|
15
|
+
import { n as w } from "./exports-Q5c6UR9n.js";
|
|
16
|
+
import { t as T } from "./fuse-CXHmdv2L.js";
|
|
17
|
+
import { t as E } from "./react-dom-BHBh-OG9.js";
|
|
18
|
+
import { t as D } from "./classnames-DGR7_2nj.js";
|
|
19
|
+
import { An as O, At as k, B as ee, Ct as A, D as j, Dn as te, Dt as ne, Et as re, F as ie, G as M, Gn as N, H as ae, Hn as oe, I as se, In as ce, J as le, Jn as P, K as ue, Kn as F, L as de, Ln as fe, M as pe, Mn as me, Mt as he, N as ge, Nn as _e, Nt as I, O as ve, On as ye, Ot as be, P as xe, Pn as Se, Pt as Ce, Q as we, R as Te, Rn as Ee, St as De, Tt as Oe, Un as ke, V as Ae, Vn as je, W as Me, Wn as L, X as Ne, Xn as R, Y as Pe, Yn as z, Zn as B, _ as V, _t as Fe, a as H, at as Ie, b as Le, bt as Re, c as ze, d as Be, dt as Ve, et as He, f as Ue, ft as We, g as Ge, gt as Ke, i as U, it as W, jn as qe, jt as Je, k as Ye, kn as Xe, kt as Ze, lt as Qe, m as $e, mt as et, n as tt, o as G, ot as nt, p as K, pt as rt, q as it, qn as at, r as ot, s as q, st, t as ct, ut as lt, v as ut, vt as dt, wt as ft, xt as pt, y as mt, yt as ht, z as gt, zn as _t } from "./store-CDrDmuZ_.js";
|
|
20
|
+
import "./CookieConsent-sDQo-0EJ.js";
|
|
21
|
+
import { n as vt, r as J, t as yt } from "./mobx-Bj9LG1de.js";
|
|
22
|
+
import "./Demo-BIN-9Byl.js";
|
|
23
|
+
import "./Gallery-DjZBpRHt.js";
|
|
24
|
+
import { t as bt } from "./useRenderTarget-BC6yDEQY.js";
|
|
25
|
+
import { t as xt } from "./Modal-Ct18MJ2q.js";
|
|
26
|
+
import "./TouchHand-z3nuPt79.js";
|
|
27
27
|
//#region src/components/SessionsFiltersModal.tsx
|
|
28
|
-
var Y = /* @__PURE__ */ e(n(), 1), X = /* @__PURE__ */ e(D(), 1), Z = r(), St =
|
|
28
|
+
var Y = /* @__PURE__ */ e(n(), 1), X = /* @__PURE__ */ e(D(), 1), Z = r(), St = z(({ store: e, visibleSections: t, open: n, onClose: r }) => {
|
|
29
29
|
let i = e.state.filters;
|
|
30
30
|
i.date.pending !== "all" || i.sortOrder.pending !== "desc" || i.use24hFormat.pending !== !1 || i.showBookmarksOnly.pending !== !1 || i.selectedTracks.pending.length > 0 || i.selectedVenues.pending.length;
|
|
31
31
|
let a = (0, Y.useMemo)(() => e.rootStore.eventStore.futureEvents.length, [e.rootStore.eventStore.futureEvents]), o = (0, Y.useMemo)(() => {
|
|
@@ -177,13 +177,13 @@ var Y = /* @__PURE__ */ e(n(), 1), X = /* @__PURE__ */ e(D(), 1), Z = r(), St =
|
|
|
177
177
|
});
|
|
178
178
|
}), Ct = (0, Y.memo)(({ id: e, label: t, icon: n, enabled: r, active: i, tooltip: a, badge: o, variant: s = "default", showResetButton: c = !1, interfaceId: l }) => {
|
|
179
179
|
let u = (0, Y.useCallback)(() => {
|
|
180
|
-
r &&
|
|
180
|
+
r && G.shortcutRegistry.handleShortcutClick(l, e);
|
|
181
181
|
}, [
|
|
182
182
|
r,
|
|
183
183
|
l,
|
|
184
184
|
e
|
|
185
185
|
]), d = (0, Y.useCallback)((t) => {
|
|
186
|
-
t.stopPropagation(), r && i &&
|
|
186
|
+
t.stopPropagation(), r && i && G.shortcutRegistry.handleShortcutReset(l, e);
|
|
187
187
|
}, [
|
|
188
188
|
r,
|
|
189
189
|
i,
|
|
@@ -223,21 +223,21 @@ var Y = /* @__PURE__ */ e(n(), 1), X = /* @__PURE__ */ e(D(), 1), Z = r(), St =
|
|
|
223
223
|
Ct.displayName = "ShortcutButton";
|
|
224
224
|
//#endregion
|
|
225
225
|
//#region src/components/Shortcuts/ShortcutsFiltersButton.tsx
|
|
226
|
-
var wt = (0, Y.memo)(
|
|
227
|
-
let { shortcutRegistry: n } =
|
|
228
|
-
e === "sessions" ? i =
|
|
226
|
+
var wt = (0, Y.memo)(z(({ interfaceId: e, className: t }) => {
|
|
227
|
+
let { shortcutRegistry: n } = G, r = n.getShortcuts(e).filter((e) => e.active).length, i = 0;
|
|
228
|
+
e === "sessions" ? i = G.sessionsFilterStore.activeFiltersCount : e === "speakers" && (i = G.speakerFilterStore.activeFiltersCount);
|
|
229
229
|
let a = Math.max(r, i);
|
|
230
230
|
return /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
231
231
|
className: (0, X.default)("shortcuts-filters-button", t, { "is-active": a > 0 }),
|
|
232
232
|
onClick: () => {
|
|
233
|
-
e === "sessions" ?
|
|
233
|
+
e === "sessions" ? G.sessionsFilterStore.openFilterWithSections([
|
|
234
234
|
"tracks",
|
|
235
235
|
"venues",
|
|
236
236
|
"date",
|
|
237
237
|
"time",
|
|
238
238
|
"sort",
|
|
239
239
|
"settings"
|
|
240
|
-
]) : e === "speakers" &&
|
|
240
|
+
]) : e === "speakers" && G.speakerFilterStore.openFilterWithSections(["companies", "jobTitles"]);
|
|
241
241
|
},
|
|
242
242
|
type: "button",
|
|
243
243
|
"aria-label": h("Open filters"),
|
|
@@ -248,7 +248,7 @@ var wt = (0, Y.memo)(R(({ interfaceId: e, className: t }) => {
|
|
|
248
248
|
wt.displayName = "ShortcutsFiltersButton";
|
|
249
249
|
//#endregion
|
|
250
250
|
//#region src/components/ScrollableRow.tsx
|
|
251
|
-
var Tt =
|
|
251
|
+
var Tt = Qe(), Et = 5, Dt = 200, Ot = 300, kt = 50, At = z(({ children: e, className: t, scrollAmount: n = 150, mobileBreakpoint: r = 768, showArrowsOnMobile: i = !1, arrowPosition: a = "inside", scrollBehavior: o = "smooth", variant: s = "default", resetScroll: c, enableDragScroll: l = !0, dragScrollSensitivity: u = 1, onScroll: d, onScrollReset: f }) => {
|
|
252
252
|
let p = (0, Y.useRef)(null), m = (0, Y.useRef)(null), h = (0, Y.useRef)(null), g = (0, Y.useRef)(0), [_, v] = (0, Y.useState)(!1), [y, b] = (0, Y.useState)(!1), [x, S] = (0, Y.useState)(!1), [C, w] = (0, Y.useState)(0), [T, E] = (0, Y.useState)(0), D = (0, Y.useCallback)(() => window.innerWidth > r && !("ontouchstart" in window || navigator.maxTouchPoints > 0), [r]), O = (0, Y.useCallback)((e, t, n) => {
|
|
253
253
|
let r = t - n;
|
|
254
254
|
return e < 0 ? Math.abs(e) : e > r / 2 ? r - e : e;
|
|
@@ -264,7 +264,7 @@ var Tt = Ke(), Et = 5, Dt = 200, Ot = 300, kt = 50, At = R(({ children: e, class
|
|
|
264
264
|
v(!1), b(!1);
|
|
265
265
|
return;
|
|
266
266
|
}
|
|
267
|
-
if (
|
|
267
|
+
if (q.rtl) {
|
|
268
268
|
let e = n - a, r = O(t, n, a);
|
|
269
269
|
v(r > Et), b(r < e - Et);
|
|
270
270
|
} else v(t > Et), b(t < n - a - Et);
|
|
@@ -277,7 +277,7 @@ var Tt = Ke(), Et = 5, Dt = 200, Ot = 300, kt = 50, At = R(({ children: e, class
|
|
|
277
277
|
}, [k, d]), A = (0, Y.useCallback)((e) => {
|
|
278
278
|
let t = m.current;
|
|
279
279
|
if (!t) return;
|
|
280
|
-
let r =
|
|
280
|
+
let r = q.rtl, i = t.scrollLeft, a;
|
|
281
281
|
if (r) {
|
|
282
282
|
let r = -(t.scrollWidth - t.clientWidth);
|
|
283
283
|
a = e === "left" ? Math.min(0, i + n) : Math.max(r, i - n);
|
|
@@ -304,7 +304,7 @@ var Tt = Ke(), Et = 5, Dt = 200, Ot = 300, kt = 50, At = R(({ children: e, class
|
|
|
304
304
|
l,
|
|
305
305
|
D,
|
|
306
306
|
te
|
|
307
|
-
]),
|
|
307
|
+
]), re = (0, Y.useCallback)((e) => {
|
|
308
308
|
if (!x || !m.current) return;
|
|
309
309
|
e.preventDefault();
|
|
310
310
|
let t = (e.pageX - m.current.offsetLeft - C) * u;
|
|
@@ -314,22 +314,22 @@ var Tt = Ke(), Et = 5, Dt = 200, Ot = 300, kt = 50, At = R(({ children: e, class
|
|
|
314
314
|
C,
|
|
315
315
|
T,
|
|
316
316
|
u
|
|
317
|
-
]),
|
|
317
|
+
]), ie = (0, Y.useCallback)(() => {
|
|
318
318
|
x && Date.now() - g.current >= Dt && S(!1);
|
|
319
|
-
}, [x]),
|
|
319
|
+
}, [x]), M = (0, Y.useCallback)(() => {
|
|
320
320
|
S(!1);
|
|
321
321
|
}, []);
|
|
322
322
|
(0, Y.useEffect)(() => {
|
|
323
323
|
c != null && c !== !1 && j(typeof c == "number" ? c : 0);
|
|
324
324
|
}, [c, j]), (0, Y.useEffect)(() => {
|
|
325
|
-
if (x) return document.addEventListener("mousemove",
|
|
326
|
-
document.removeEventListener("mousemove",
|
|
325
|
+
if (x) return document.addEventListener("mousemove", re), document.addEventListener("mouseup", ie), document.addEventListener("mouseleave", M), () => {
|
|
326
|
+
document.removeEventListener("mousemove", re), document.removeEventListener("mouseup", ie), document.removeEventListener("mouseleave", M);
|
|
327
327
|
};
|
|
328
328
|
}, [
|
|
329
329
|
x,
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
330
|
+
re,
|
|
331
|
+
ie,
|
|
332
|
+
M
|
|
333
333
|
]), (0, Y.useEffect)(() => {
|
|
334
334
|
k();
|
|
335
335
|
let e = () => k();
|
|
@@ -337,7 +337,7 @@ var Tt = Ke(), Et = 5, Dt = 200, Ot = 300, kt = 50, At = R(({ children: e, class
|
|
|
337
337
|
window.removeEventListener("resize", e), h.current && (h.current.disconnect(), h.current = null);
|
|
338
338
|
};
|
|
339
339
|
}, [k]);
|
|
340
|
-
let
|
|
340
|
+
let N = q.rtl, ae = l && D(), oe = ae ? x ? "grabbing" : "grab" : void 0;
|
|
341
341
|
return /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
342
342
|
ref: p,
|
|
343
343
|
className: (0, X.default)("scrollable-row", `scrollable-row--${s}`, t),
|
|
@@ -346,7 +346,7 @@ var Tt = Ke(), Et = 5, Dt = 200, Ot = 300, kt = 50, At = R(({ children: e, class
|
|
|
346
346
|
children: [
|
|
347
347
|
_ && /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
348
348
|
type: "button",
|
|
349
|
-
className: (0, X.default)("scrollable-row__arrow", "scrollable-row__arrow--left", { "scrollable-row__arrow--rtl":
|
|
349
|
+
className: (0, X.default)("scrollable-row__arrow", "scrollable-row__arrow--left", { "scrollable-row__arrow--rtl": N }),
|
|
350
350
|
onClick: () => A("left"),
|
|
351
351
|
"aria-label": "Scroll left",
|
|
352
352
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-chevron-left" })
|
|
@@ -355,12 +355,12 @@ var Tt = Ke(), Et = 5, Dt = 200, Ot = 300, kt = 50, At = R(({ children: e, class
|
|
|
355
355
|
ref: m,
|
|
356
356
|
className: (0, X.default)("scrollable-row__scroll-wrapper", {
|
|
357
357
|
"scrollable-row__scroll-wrapper--dragging": x,
|
|
358
|
-
"scrollable-row__scroll-wrapper--draggable":
|
|
358
|
+
"scrollable-row__scroll-wrapper--draggable": ae
|
|
359
359
|
}),
|
|
360
360
|
onScroll: ee,
|
|
361
361
|
onMouseDown: ne,
|
|
362
362
|
style: {
|
|
363
|
-
cursor:
|
|
363
|
+
cursor: oe,
|
|
364
364
|
userSelect: x ? "none" : void 0
|
|
365
365
|
},
|
|
366
366
|
children: /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
@@ -370,7 +370,7 @@ var Tt = Ke(), Et = 5, Dt = 200, Ot = 300, kt = 50, At = R(({ children: e, class
|
|
|
370
370
|
}),
|
|
371
371
|
y && /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
372
372
|
type: "button",
|
|
373
|
-
className: (0, X.default)("scrollable-row__arrow", "scrollable-row__arrow--right", { "scrollable-row__arrow--rtl":
|
|
373
|
+
className: (0, X.default)("scrollable-row__arrow", "scrollable-row__arrow--right", { "scrollable-row__arrow--rtl": N }),
|
|
374
374
|
onClick: () => A("right"),
|
|
375
375
|
"aria-label": "Scroll right",
|
|
376
376
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-chevron-right" })
|
|
@@ -378,8 +378,8 @@ var Tt = Ke(), Et = 5, Dt = 200, Ot = 300, kt = 50, At = R(({ children: e, class
|
|
|
378
378
|
]
|
|
379
379
|
})
|
|
380
380
|
});
|
|
381
|
-
}), jt = (0, Y.memo)(
|
|
382
|
-
let { shortcutRegistry: r } =
|
|
381
|
+
}), jt = (0, Y.memo)(z(({ interfaceId: e, showFiltersButton: t = !0, className: n }) => {
|
|
382
|
+
let { shortcutRegistry: r } = G, i = r.getShortcuts(e);
|
|
383
383
|
return !r.shouldShowShortcuts(e) || i.length === 0 ? null : /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
384
384
|
className: (0, X.default)("shortcuts-toolbar", n),
|
|
385
385
|
children: /* @__PURE__ */ (0, Z.jsxs)(At, {
|
|
@@ -397,8 +397,8 @@ var Tt = Ke(), Et = 5, Dt = 200, Ot = 300, kt = 50, At = R(({ children: e, class
|
|
|
397
397
|
jt.displayName = "ShortcutsToolbar";
|
|
398
398
|
//#endregion
|
|
399
399
|
//#region src/components/Sessions.tsx
|
|
400
|
-
var Mt =
|
|
401
|
-
let t =
|
|
400
|
+
var Mt = z(({ showFilters: e = !0 }) => {
|
|
401
|
+
let t = G.eventStore.eventItems, { filters: { date: { value: n }, timeOfDay: { value: r }, sortOrder: { value: i }, showBookmarksOnly: { value: a }, showLiveOnly: { value: o }, selectedTracks: { value: s }, selectedVenues: { value: c } } } = G.sessionsFilterStore.state, l = (0, Y.useMemo)(() => {
|
|
402
402
|
let e = /* @__PURE__ */ new Date();
|
|
403
403
|
e.setHours(0, 0, 0, 0);
|
|
404
404
|
let i = new Date(e);
|
|
@@ -421,7 +421,7 @@ var Mt = R(({ showFilters: e = !0 }) => {
|
|
|
421
421
|
case "afternoon": return t >= 18 && t <= 23;
|
|
422
422
|
default: return !0;
|
|
423
423
|
}
|
|
424
|
-
})),
|
|
424
|
+
})), q.selectedTrack && (l = l.filter((e) => e.tracks.some((e) => e.id === q.selectedTrack.id))), a && (l = l.filter((e) => e.bookmarked)), o) {
|
|
425
425
|
let e = /* @__PURE__ */ new Date();
|
|
426
426
|
l = l.filter((t) => {
|
|
427
427
|
let n = new Date(t.startDate), r = new Date(t.endDate);
|
|
@@ -429,7 +429,7 @@ var Mt = R(({ showFilters: e = !0 }) => {
|
|
|
429
429
|
});
|
|
430
430
|
}
|
|
431
431
|
s.length > 0 && (l = l.filter((e) => e.tracks.some((e) => s.includes(e.id)))), c.length > 0 && (l = l.filter((e) => e.boothId && c.includes(e.boothId)));
|
|
432
|
-
let u =
|
|
432
|
+
let u = G.searchStore.searchText;
|
|
433
433
|
return u && (l = new T(l, {
|
|
434
434
|
keys: ["name"],
|
|
435
435
|
threshold: .3,
|
|
@@ -438,15 +438,15 @@ var Mt = R(({ showFilters: e = !0 }) => {
|
|
|
438
438
|
}).search(u).map((e) => e.item)), l;
|
|
439
439
|
}, [
|
|
440
440
|
t,
|
|
441
|
-
|
|
441
|
+
G.searchStore.searchText,
|
|
442
442
|
n,
|
|
443
443
|
r,
|
|
444
|
-
|
|
444
|
+
q.selectedTrack,
|
|
445
445
|
a,
|
|
446
446
|
o,
|
|
447
447
|
s,
|
|
448
448
|
c,
|
|
449
|
-
|
|
449
|
+
G.sessionsFilterStore.state
|
|
450
450
|
]), u = (0, Y.useMemo)(() => [...l].sort((e, t) => {
|
|
451
451
|
let n = new Date(e.startDate).getTime(), r = new Date(t.startDate).getTime();
|
|
452
452
|
return i === "asc" ? r - n : n - r;
|
|
@@ -458,26 +458,26 @@ var Mt = R(({ showFilters: e = !0 }) => {
|
|
|
458
458
|
showBooths: !0,
|
|
459
459
|
isSessions: !0,
|
|
460
460
|
onEventClick: (e) => {
|
|
461
|
-
|
|
461
|
+
G.selectEventItem(e, !0);
|
|
462
462
|
}
|
|
463
463
|
}) : /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
464
464
|
className: "efp-sessions-empty",
|
|
465
|
-
children:
|
|
465
|
+
children: G.sessionsFilterStore.activeFiltersCount > 0 || G.searchStore.searchText || q.selectedTrack ? h(a ? "No bookmarked events found. Try adjusting your filters." : "No events found. Try adjusting your filters.") : h("No events found")
|
|
466
466
|
})]
|
|
467
467
|
});
|
|
468
|
-
}), Nt =
|
|
469
|
-
let e =
|
|
470
|
-
let t = e, n =
|
|
468
|
+
}), Nt = z((e) => q.list.type !== "sessions" || q.details ? null : /* @__PURE__ */ (0, Z.jsx)(Mt, { ...e })), Pt = z(() => {
|
|
469
|
+
let e = G.toursStore.tourItems, t = G.toursStore.hasTours, n = G.toursStore.currentExpo, r = G.toursStore.toursLoadError, i = (0, Y.useMemo)(() => {
|
|
470
|
+
let t = e, n = G.searchStore.searchText;
|
|
471
471
|
return n && (t = new T(t, {
|
|
472
472
|
keys: ["name"],
|
|
473
473
|
threshold: .3,
|
|
474
474
|
ignoreLocation: !0,
|
|
475
475
|
includeScore: !0
|
|
476
476
|
}).search(n).map((e) => e.item)), t;
|
|
477
|
-
}, [e,
|
|
478
|
-
|
|
477
|
+
}, [e, G.searchStore.searchText]), a = (e, t, n) => {
|
|
478
|
+
G.toursStore.launchTour(e, t, n);
|
|
479
479
|
};
|
|
480
|
-
return
|
|
480
|
+
return B(() => r ? /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
481
481
|
className: "efp-tours-content",
|
|
482
482
|
children: /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
483
483
|
className: "efp-tours-empty",
|
|
@@ -510,11 +510,11 @@ var Mt = R(({ showFilters: e = !0 }) => {
|
|
|
510
510
|
] })
|
|
511
511
|
})
|
|
512
512
|
}));
|
|
513
|
-
}), Ft =
|
|
514
|
-
let t = (0, Y.useMemo)(() => e ?
|
|
513
|
+
}), Ft = z((e) => q.list.type !== "tours" || q.details ? null : /* @__PURE__ */ (0, Z.jsx)(Pt, { ...e })), It = (e) => {
|
|
514
|
+
let t = (0, Y.useMemo)(() => e ? G.heatmapStore.getClicksByItem(e) : 0, [e]);
|
|
515
515
|
return {
|
|
516
516
|
clicks: t,
|
|
517
|
-
background: (0, Y.useMemo)(() =>
|
|
517
|
+
background: (0, Y.useMemo)(() => G.heatmapStore.getColorByClicks(t), [t])
|
|
518
518
|
};
|
|
519
519
|
}, Lt = "#FFFF99", Rt = ({ text: e, highlight: t }) => {
|
|
520
520
|
if (!t || !e) return /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children: e });
|
|
@@ -646,15 +646,15 @@ var Mt = R(({ showFilters: e = !0 }) => {
|
|
|
646
646
|
})]
|
|
647
647
|
})
|
|
648
648
|
});
|
|
649
|
-
}, Ht =
|
|
650
|
-
let t =
|
|
649
|
+
}, Ht = z((e) => {
|
|
650
|
+
let t = q.list.type === "search" ? q.list.text : void 0;
|
|
651
651
|
return /* @__PURE__ */ (0, Z.jsx)(Vt, {
|
|
652
652
|
...e,
|
|
653
653
|
highlight: t
|
|
654
654
|
});
|
|
655
|
-
}), Ut =
|
|
655
|
+
}), Ut = z(({ text: e }) => /* @__PURE__ */ (0, Z.jsx)(Rt, {
|
|
656
656
|
text: e,
|
|
657
|
-
highlight:
|
|
657
|
+
highlight: q.list.type === "search" ? q.list.text : void 0
|
|
658
658
|
})), Wt = ({ line1: e, line2: t, lineEnd: n, slug: r, style: i, className: a, active: o = !1, onClick: s, onMouseOver: c, onMouseOut: l, highlight: u = !0 }) => {
|
|
659
659
|
return /* @__PURE__ */ (0, Z.jsxs)("a", {
|
|
660
660
|
href: "?" + encodeURIComponent(r),
|
|
@@ -663,7 +663,7 @@ var Mt = R(({ showFilters: e = !0 }) => {
|
|
|
663
663
|
onMouseOver: f,
|
|
664
664
|
onMouseOut: p,
|
|
665
665
|
style: {
|
|
666
|
-
marginLeft:
|
|
666
|
+
marginLeft: L.isRebooking ? "5px" : null,
|
|
667
667
|
...i
|
|
668
668
|
},
|
|
669
669
|
children: [/* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
@@ -693,8 +693,8 @@ var Mt = R(({ showFilters: e = !0 }) => {
|
|
|
693
693
|
}
|
|
694
694
|
}, Gt = ({ yah: e, className: t }) => {
|
|
695
695
|
let { clicks: n, background: r } = It(e);
|
|
696
|
-
return
|
|
697
|
-
style: { background:
|
|
696
|
+
return B(() => /* @__PURE__ */ (0, Z.jsx)(Wt, {
|
|
697
|
+
style: { background: q.heatmapYah ? `linear-gradient(to right, transparent 98%, ${r} 93%) center / 100% 99% no-repeat` : null },
|
|
698
698
|
className: t,
|
|
699
699
|
slug: e.id.toString(),
|
|
700
700
|
onClick: i,
|
|
@@ -704,8 +704,8 @@ var Mt = R(({ showFilters: e = !0 }) => {
|
|
|
704
704
|
highlight: !1
|
|
705
705
|
}));
|
|
706
706
|
function i() {
|
|
707
|
-
let t =
|
|
708
|
-
t &&
|
|
707
|
+
let t = U.findLayer(e.z);
|
|
708
|
+
t && U.updateVisibility(t, !0), G.routeStore.selectMarker(e.id.toString(), !0);
|
|
709
709
|
}
|
|
710
710
|
}, Q = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
711
711
|
(function(n) {
|
|
@@ -850,19 +850,19 @@ var Mt = R(({ showFilters: e = !0 }) => {
|
|
|
850
850
|
return r;
|
|
851
851
|
}) : typeof e == "object" ? t.exports = r : n.dateFormat = r;
|
|
852
852
|
})(e);
|
|
853
|
-
})))(), 1), Kt =
|
|
853
|
+
})))(), 1), Kt = z(({ item: e, index: t, highlighted: n, compactDetails: r, onClick: i }) => {
|
|
854
854
|
let a = {
|
|
855
855
|
background: void 0,
|
|
856
856
|
clicks: void 0
|
|
857
857
|
};
|
|
858
|
-
if (
|
|
858
|
+
if (q.heatmap && (e instanceof ce || e instanceof fe || e instanceof qe) && (a = It(e)), e instanceof ce) {
|
|
859
859
|
var o;
|
|
860
860
|
return /* @__PURE__ */ (0, Z.jsx)(Ht, {
|
|
861
861
|
onClick: i,
|
|
862
862
|
id: e.id.toString(),
|
|
863
863
|
featured: e.featured,
|
|
864
864
|
url: null,
|
|
865
|
-
type: e instanceof
|
|
865
|
+
type: e instanceof ce ? "exhibitor" : "booth",
|
|
866
866
|
image: e.logo,
|
|
867
867
|
title: e.name,
|
|
868
868
|
bookmarked: e.bookmarked,
|
|
@@ -870,21 +870,21 @@ var Mt = R(({ showFilters: e = !0 }) => {
|
|
|
870
870
|
additionalInfo: e.booths.map((e) => ({
|
|
871
871
|
type: "location",
|
|
872
872
|
locationName: e.name,
|
|
873
|
-
level: e.layer && (
|
|
873
|
+
level: e.layer && (L.shortLevelName ? e.layer.shortName : e.layer.description) || ""
|
|
874
874
|
})),
|
|
875
875
|
highlighted: n,
|
|
876
876
|
compactDetails: r,
|
|
877
877
|
heatmapColor: a.background,
|
|
878
878
|
heatmapClicks: a.clicks,
|
|
879
|
-
rebookingColor:
|
|
880
|
-
kioskMode:
|
|
881
|
-
foundInDescription:
|
|
879
|
+
rebookingColor: L.isRebooking ? (o = ye[e.rebookingState]) == null ? void 0 : o.color.primary : void 0,
|
|
880
|
+
kioskMode: q.kiosk,
|
|
881
|
+
foundInDescription: q.foundInDescriptionStruct[e.id]
|
|
882
882
|
});
|
|
883
883
|
}
|
|
884
884
|
if ("rect" in e) {
|
|
885
885
|
var s, c;
|
|
886
886
|
return /* @__PURE__ */ (0, Z.jsx)(Ht, {
|
|
887
|
-
locationTerm:
|
|
887
|
+
locationTerm: L.boothTerm,
|
|
888
888
|
onClick: i,
|
|
889
889
|
id: e.id.toString(),
|
|
890
890
|
type: "booth",
|
|
@@ -894,7 +894,7 @@ var Mt = R(({ showFilters: e = !0 }) => {
|
|
|
894
894
|
additionalInfo: [{
|
|
895
895
|
type: "location",
|
|
896
896
|
locationName: e.name,
|
|
897
|
-
level:
|
|
897
|
+
level: L.shortLevelName ? rt((s = e.layer) == null ? void 0 : s.description) : (c = e.layer) == null ? void 0 : c.description
|
|
898
898
|
}],
|
|
899
899
|
bookmarked: e.bookmarked,
|
|
900
900
|
highlighted: n,
|
|
@@ -902,7 +902,7 @@ var Mt = R(({ showFilters: e = !0 }) => {
|
|
|
902
902
|
heatmapClicks: a.clicks
|
|
903
903
|
});
|
|
904
904
|
}
|
|
905
|
-
if (e instanceof
|
|
905
|
+
if (e instanceof Se) return /* @__PURE__ */ (0, Z.jsx)(Ht, {
|
|
906
906
|
onClick: i,
|
|
907
907
|
id: e.id.toString(),
|
|
908
908
|
itemsCount: e.exhibitors.length,
|
|
@@ -911,7 +911,7 @@ var Mt = R(({ showFilters: e = !0 }) => {
|
|
|
911
911
|
url: null,
|
|
912
912
|
highlighted: n
|
|
913
913
|
});
|
|
914
|
-
if (e instanceof
|
|
914
|
+
if (e instanceof st) {
|
|
915
915
|
let t = [];
|
|
916
916
|
return e.company && t.push({
|
|
917
917
|
type: "speaker",
|
|
@@ -925,10 +925,10 @@ var Mt = R(({ showFilters: e = !0 }) => {
|
|
|
925
925
|
image: e.photoFile,
|
|
926
926
|
additionalInfo: t,
|
|
927
927
|
bookmarked: e.bookmarked,
|
|
928
|
-
onClick: (t, n) =>
|
|
928
|
+
onClick: (t, n) => G.selectSpeaker(e, !0)
|
|
929
929
|
}, e.id);
|
|
930
930
|
}
|
|
931
|
-
if (e instanceof
|
|
931
|
+
if (e instanceof me) {
|
|
932
932
|
var l, u;
|
|
933
933
|
let t = e.boothId ? ct.booths.find((t) => t.id === e.boothId) : null;
|
|
934
934
|
return /* @__PURE__ */ (0, Z.jsx)(Ht, {
|
|
@@ -942,18 +942,18 @@ var Mt = R(({ showFilters: e = !0 }) => {
|
|
|
942
942
|
additionalInfo: t ? [{
|
|
943
943
|
type: "location",
|
|
944
944
|
locationName: t.name,
|
|
945
|
-
level:
|
|
945
|
+
level: L.shortLevelName ? (l = t.layer) == null ? void 0 : l.shortName : (u = t.layer) == null ? void 0 : u.description
|
|
946
946
|
}] : [],
|
|
947
947
|
bookmarked: e.bookmarked,
|
|
948
948
|
visited: e.visited,
|
|
949
949
|
highlighted: n,
|
|
950
|
-
kioskMode:
|
|
951
|
-
foundInDescription:
|
|
950
|
+
kioskMode: q.kiosk,
|
|
951
|
+
foundInDescription: q.foundInDescriptionStruct[e.id]
|
|
952
952
|
});
|
|
953
953
|
}
|
|
954
|
-
return e instanceof
|
|
954
|
+
return e instanceof qe ? /* @__PURE__ */ (0, Z.jsx)(Gt, {
|
|
955
955
|
yah: e,
|
|
956
|
-
className: `list-row ${t ===
|
|
956
|
+
className: `list-row ${t === q.activeListIndex ? "active" : ""}`
|
|
957
957
|
}) : null;
|
|
958
958
|
});
|
|
959
959
|
//#endregion
|
|
@@ -972,11 +972,11 @@ function Jt() {
|
|
|
972
972
|
let [t, n] = (0, Y.useState)(!1), [r, i] = (0, Y.useState)(), [a, o] = (0, Y.useState)(!1), s = (0, Y.useRef)();
|
|
973
973
|
return yt(() => {
|
|
974
974
|
var e;
|
|
975
|
-
return o(
|
|
975
|
+
return o(q.overlayPosition === "left" && ((e = d.getEngine()) == null ? void 0 : e.name) !== "EdgeHTML");
|
|
976
976
|
}), (0, Y.useEffect)(() => {
|
|
977
977
|
a && !r && import(
|
|
978
978
|
/* webpackChunkName: "particlesjs" */
|
|
979
|
-
"./particles.min-
|
|
979
|
+
"./particles.min-CK-8rQBr.js"
|
|
980
980
|
).then((t) => /* @__PURE__ */ e(t.default, 1)).then((e) => {
|
|
981
981
|
i(e.default);
|
|
982
982
|
});
|
|
@@ -999,7 +999,7 @@ function Jt() {
|
|
|
999
999
|
ref: s
|
|
1000
1000
|
}) }) : null;
|
|
1001
1001
|
}
|
|
1002
|
-
var Yt =
|
|
1002
|
+
var Yt = z(Jt), Xt = () => {
|
|
1003
1003
|
let [e, t] = (0, Y.useState)(() => window === window.top ? {
|
|
1004
1004
|
width: window.innerWidth,
|
|
1005
1005
|
height: window.innerHeight
|
|
@@ -1052,10 +1052,10 @@ var Yt = R(Jt), Xt = () => {
|
|
|
1052
1052
|
medium: e / n,
|
|
1053
1053
|
full: e - r
|
|
1054
1054
|
}), an = ({ children: e, open: t, size: n = "medium", particles: r = !1, className: i, onChangeSize: a, onScrollStateChange: o, smallSizeMultiplier: s = 12.6, mediumSizeMultiplier: c = 2.6, fullSizeOffset: l = 0, scrollThreshold: u = tn, disableDrag: d = !1, forceFull: f = !1, scrollResetKey: p }) => {
|
|
1055
|
-
let { width: m, height: g } = Xt(), [_, v] = (0, Y.useState)(() => rn(nn(), s, c, l)), [y, b] = (0, Y.useState)(() => m <= 768), [x, S] = (0, Y.useState)(!1), [C, w] = (0, Y.useState)(() => _[n]), [T, E] = (0, Y.useState)(() => _[n]), [D, O] = (0, Y.useState)(!1), [k, ee] = (0, Y.useState)(t), [A, j] = (0, Y.useState)(!1), te = (0, Y.useRef)(), ne = (0, Y.useRef)(),
|
|
1055
|
+
let { width: m, height: g } = Xt(), [_, v] = (0, Y.useState)(() => rn(nn(), s, c, l)), [y, b] = (0, Y.useState)(() => m <= 768), [x, S] = (0, Y.useState)(!1), [C, w] = (0, Y.useState)(() => _[n]), [T, E] = (0, Y.useState)(() => _[n]), [D, O] = (0, Y.useState)(!1), [k, ee] = (0, Y.useState)(t), [A, j] = (0, Y.useState)(!1), te = (0, Y.useRef)(), ne = (0, Y.useRef)(), re = (0, Y.useRef)(null), ie = (0, Y.useRef)(null), M = (0, Y.useRef)(null), N = (0, Y.useCallback)((e) => {
|
|
1056
1056
|
let t = _[e];
|
|
1057
1057
|
w(t), E(t), a == null || a(e);
|
|
1058
|
-
}, [_, a]),
|
|
1058
|
+
}, [_, a]), ae = (0, Y.useMemo)(() => y ? f && t ? { height: nn() } : { height: t || D ? T : 0 } : { height: t ? "auto" : void 0 }, [
|
|
1059
1059
|
y,
|
|
1060
1060
|
t,
|
|
1061
1061
|
T,
|
|
@@ -1063,53 +1063,53 @@ var Yt = R(Jt), Xt = () => {
|
|
|
1063
1063
|
n,
|
|
1064
1064
|
D,
|
|
1065
1065
|
f
|
|
1066
|
-
]),
|
|
1066
|
+
]), oe = (0, Y.useCallback)((e) => {
|
|
1067
1067
|
let t = [
|
|
1068
1068
|
_.small,
|
|
1069
1069
|
_.medium,
|
|
1070
1070
|
_.full
|
|
1071
1071
|
].sort();
|
|
1072
1072
|
if (e >= _.full) {
|
|
1073
|
-
|
|
1073
|
+
N("full");
|
|
1074
1074
|
return;
|
|
1075
1075
|
}
|
|
1076
1076
|
if (e <= _.small) {
|
|
1077
|
-
|
|
1077
|
+
N("small");
|
|
1078
1078
|
return;
|
|
1079
1079
|
}
|
|
1080
1080
|
let n = e > (C || _.medium) ? t.find((t) => t + $t >= e) || _.full : t.reverse().find((t) => t - $t <= e) || _.small;
|
|
1081
|
-
n === _.full ?
|
|
1081
|
+
n === _.full ? N("full") : n === _.medium ? N("medium") : N("small");
|
|
1082
1082
|
}, [
|
|
1083
1083
|
_,
|
|
1084
1084
|
C,
|
|
1085
|
-
|
|
1086
|
-
]),
|
|
1085
|
+
N
|
|
1086
|
+
]), se = (0, Y.useCallback)((e) => {
|
|
1087
1087
|
S(!0), te.current = e;
|
|
1088
|
-
}, []),
|
|
1088
|
+
}, []), ce = (0, Y.useCallback)((e) => {
|
|
1089
1089
|
let t = te.current;
|
|
1090
1090
|
if (t === void 0) return;
|
|
1091
|
-
let n =
|
|
1091
|
+
let n = M.current;
|
|
1092
1092
|
if ((n == null ? void 0 : n.scrollTop) > 0 && C === _.full) return;
|
|
1093
1093
|
let r = t - e, i = (C || _.medium) + r;
|
|
1094
1094
|
n && C === _.full && i < C && (n.style.overflow = "hidden"), i = Math.min(Math.max(i, _.small), _.full), ne.current = r, E(i);
|
|
1095
|
-
}, [C, _]),
|
|
1095
|
+
}, [C, _]), le = (0, Y.useCallback)(() => {
|
|
1096
1096
|
S(!1), te.current = void 0;
|
|
1097
|
-
let e =
|
|
1097
|
+
let e = M.current;
|
|
1098
1098
|
e && e.style.removeProperty("overflow");
|
|
1099
1099
|
let t = ne.current;
|
|
1100
|
-
ne.current = void 0, t !== void 0 && T !== void 0 &&
|
|
1101
|
-
}, [T,
|
|
1102
|
-
x ||
|
|
1100
|
+
ne.current = void 0, t !== void 0 && T !== void 0 && oe(T);
|
|
1101
|
+
}, [T, oe]), P = (0, Y.useCallback)((e) => {
|
|
1102
|
+
x || N(n === "small" ? "medium" : n === "medium" ? "full" : "small");
|
|
1103
1103
|
}, [
|
|
1104
1104
|
x,
|
|
1105
1105
|
n,
|
|
1106
|
-
|
|
1107
|
-
]), { touchHandlers:
|
|
1108
|
-
onDragStart:
|
|
1109
|
-
onDragMove:
|
|
1110
|
-
onDragEnd:
|
|
1111
|
-
}),
|
|
1112
|
-
let e =
|
|
1106
|
+
N
|
|
1107
|
+
]), { touchHandlers: ue, mouseHandlers: F } = Zt({
|
|
1108
|
+
onDragStart: se,
|
|
1109
|
+
onDragMove: ce,
|
|
1110
|
+
onDragEnd: le
|
|
1111
|
+
}), de = (0, Y.useCallback)(() => {
|
|
1112
|
+
let e = M.current;
|
|
1113
1113
|
if (!e) return;
|
|
1114
1114
|
let t = e.scrollTop >= u;
|
|
1115
1115
|
A !== t && (j(t), o == null || o(t));
|
|
@@ -1117,23 +1117,23 @@ var Yt = R(Jt), Xt = () => {
|
|
|
1117
1117
|
u,
|
|
1118
1118
|
A,
|
|
1119
1119
|
o
|
|
1120
|
-
]),
|
|
1120
|
+
]), fe = (0, Y.useMemo)(() => qt(() => {
|
|
1121
1121
|
var e, t;
|
|
1122
1122
|
(e = (t = window).__resett) == null || e.call(t);
|
|
1123
1123
|
}, 250), []);
|
|
1124
1124
|
return (0, Y.useEffect)(() => {
|
|
1125
1125
|
if (!y || d) return;
|
|
1126
|
-
let e =
|
|
1127
|
-
return e && (e.ontouchstart =
|
|
1126
|
+
let e = re.current, t = ie.current, n = M.current;
|
|
1127
|
+
return e && (e.ontouchstart = ue.onTouchStart, e.ontouchend = ue.onTouchEnd, window.ontouchmove = ue.onTouchMove, e.onmousedown = F.onMouseDown, e.onmouseup = F.onMouseUp, window.onmousemove = F.onMouseMove), t && t.addEventListener("mouseup", P), n && (n.ontouchstart = () => {
|
|
1128
1128
|
C && C < _.full && n && (n.style.overflow = "hidden");
|
|
1129
1129
|
}), () => {
|
|
1130
|
-
e && (window.ontouchmove = null, window.onmousemove = null), t && t.removeEventListener("mouseup",
|
|
1130
|
+
e && (window.ontouchmove = null, window.onmousemove = null), t && t.removeEventListener("mouseup", P);
|
|
1131
1131
|
};
|
|
1132
1132
|
}, [
|
|
1133
1133
|
y,
|
|
1134
|
-
le,
|
|
1135
1134
|
ue,
|
|
1136
|
-
|
|
1135
|
+
F,
|
|
1136
|
+
P,
|
|
1137
1137
|
C,
|
|
1138
1138
|
_
|
|
1139
1139
|
]), (0, Y.useEffect)(() => {
|
|
@@ -1148,7 +1148,7 @@ var Yt = R(Jt), Xt = () => {
|
|
|
1148
1148
|
if (t) {
|
|
1149
1149
|
ee(!0), O(!0);
|
|
1150
1150
|
let e = setTimeout(() => {
|
|
1151
|
-
|
|
1151
|
+
N(n), O(!1);
|
|
1152
1152
|
}, 10);
|
|
1153
1153
|
return () => clearTimeout(e);
|
|
1154
1154
|
} else {
|
|
@@ -1161,12 +1161,12 @@ var Yt = R(Jt), Xt = () => {
|
|
|
1161
1161
|
}, [
|
|
1162
1162
|
t,
|
|
1163
1163
|
n,
|
|
1164
|
-
|
|
1164
|
+
N,
|
|
1165
1165
|
y
|
|
1166
1166
|
]), (0, Y.useEffect)(() => {
|
|
1167
1167
|
if (t && !D) {
|
|
1168
1168
|
var e;
|
|
1169
|
-
(e =
|
|
1169
|
+
(e = M.current) == null || e.scrollTo({ top: 0 }), j(!1), o == null || o(!1);
|
|
1170
1170
|
}
|
|
1171
1171
|
}, [
|
|
1172
1172
|
t,
|
|
@@ -1174,7 +1174,7 @@ var Yt = R(Jt), Xt = () => {
|
|
|
1174
1174
|
o,
|
|
1175
1175
|
p
|
|
1176
1176
|
]), k ? /* @__PURE__ */ (0, Z.jsx)(Qt.Provider, {
|
|
1177
|
-
value:
|
|
1177
|
+
value: M.current,
|
|
1178
1178
|
children: /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
1179
1179
|
className: (0, X.default)("efp-overlay", {
|
|
1180
1180
|
"is-open": t,
|
|
@@ -1189,16 +1189,16 @@ var Yt = R(Jt), Xt = () => {
|
|
|
1189
1189
|
"is-scrolled": A,
|
|
1190
1190
|
"is-forced-full": f && y
|
|
1191
1191
|
}, i),
|
|
1192
|
-
style:
|
|
1193
|
-
ref:
|
|
1192
|
+
style: ae,
|
|
1193
|
+
ref: re,
|
|
1194
1194
|
children: [!d && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
1195
1195
|
className: "efp-overlay__draghandle",
|
|
1196
|
-
ref:
|
|
1196
|
+
ref: ie
|
|
1197
1197
|
}), /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
1198
1198
|
className: "efp-overlay__scroll",
|
|
1199
|
-
ref:
|
|
1199
|
+
ref: M,
|
|
1200
1200
|
onScroll: (e) => {
|
|
1201
|
-
|
|
1201
|
+
de(), fe();
|
|
1202
1202
|
},
|
|
1203
1203
|
children: [r ? /* @__PURE__ */ (0, Z.jsx)(Yt, {}) : null, /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
1204
1204
|
className: "efp-overlay__content",
|
|
@@ -1226,15 +1226,15 @@ var Yt = R(Jt), Xt = () => {
|
|
|
1226
1226
|
})
|
|
1227
1227
|
}), sn = () => import(
|
|
1228
1228
|
/* webpackChunkName: "react-virtuoso-entity-list" */
|
|
1229
|
-
"./dist-
|
|
1230
|
-
).then((e) => ({ default: e.Virtuoso })).catch(() => new Promise((e) => setTimeout(() => e(sn()), 3e3))), cn = (0, Y.lazy)(sn), ln = ["ipia2025"], un =
|
|
1231
|
-
let n = (0, Y.useContext)(Qt), r = (0, Y.useRef)(null), i =
|
|
1229
|
+
"./dist-CjRG98JL.js"
|
|
1230
|
+
).then((e) => ({ default: e.Virtuoso })).catch(() => new Promise((e) => setTimeout(() => e(sn()), 3e3))), cn = (0, Y.lazy)(sn), ln = ["ipia2025"], un = z(({ updatedScrollableRef: e, updateScroll: t }) => {
|
|
1231
|
+
let n = (0, Y.useContext)(Qt), r = (0, Y.useRef)(null), i = q.getListScrollItemId(q.list.type), a = ln.includes(N.EXPO);
|
|
1232
1232
|
(0, Y.useEffect)(() => {
|
|
1233
|
-
let e =
|
|
1233
|
+
let e = q.getListScrollTop(q.list.type), t = q.getListScrollItemId(q.list.type);
|
|
1234
1234
|
(e > 0 || t) && setTimeout(() => {
|
|
1235
1235
|
if (r.current) {
|
|
1236
1236
|
if (t) {
|
|
1237
|
-
let e =
|
|
1237
|
+
let e = q.listItems.findIndex((e) => {
|
|
1238
1238
|
var n;
|
|
1239
1239
|
return (e == null || (n = e.id) == null ? void 0 : n.toString()) === t.toString();
|
|
1240
1240
|
});
|
|
@@ -1253,46 +1253,46 @@ var Yt = R(Jt), Xt = () => {
|
|
|
1253
1253
|
});
|
|
1254
1254
|
}
|
|
1255
1255
|
}, 100);
|
|
1256
|
-
}, [
|
|
1257
|
-
let o =
|
|
1256
|
+
}, [q.list.type]);
|
|
1257
|
+
let o = q.showRouteInstantly, s = (0, Y.useCallback)((t, n) => {
|
|
1258
1258
|
var i;
|
|
1259
1259
|
let a = parseInt(n, 10);
|
|
1260
|
-
if (
|
|
1260
|
+
if (q.setListScrollItemId((i = q.list) == null ? void 0 : i.type, a), r.current) r.current.getState((e) => {
|
|
1261
1261
|
var t;
|
|
1262
1262
|
let n = (e == null ? void 0 : e.scrollTop) || 0;
|
|
1263
|
-
|
|
1263
|
+
q.setListScrollTop((t = q.list) == null ? void 0 : t.type, n);
|
|
1264
1264
|
});
|
|
1265
1265
|
else if (e.current) {
|
|
1266
1266
|
var s;
|
|
1267
|
-
|
|
1267
|
+
q.setListScrollTop((s = q.list) == null ? void 0 : s.type, e.current.scrollTop || 0);
|
|
1268
1268
|
}
|
|
1269
1269
|
switch (t) {
|
|
1270
1270
|
case "exhibitor":
|
|
1271
|
-
let e =
|
|
1272
|
-
o ?
|
|
1271
|
+
let e = G.exhibitorStore.exhibitors.find((e) => e.id === a);
|
|
1272
|
+
o ? G.routeStore.clickRoute(null, G.routeStore.tempToBooth || e.booths[0]) : G.clickExhibitor(e);
|
|
1273
1273
|
break;
|
|
1274
1274
|
case "booth":
|
|
1275
|
-
let t =
|
|
1276
|
-
o ?
|
|
1275
|
+
let t = G.boothStore.booths.find((e) => e.id === a);
|
|
1276
|
+
o ? G.routeStore.clickRoute(null, t) : G.clickBoothInList2(t);
|
|
1277
1277
|
break;
|
|
1278
1278
|
case "category":
|
|
1279
|
-
|
|
1279
|
+
G.clickCategory(G.categoryStore.categories.find((e) => e.id === a));
|
|
1280
1280
|
break;
|
|
1281
1281
|
case "event":
|
|
1282
|
-
let n =
|
|
1282
|
+
let n = G.eventStore.eventItems.find((e) => e.id === a);
|
|
1283
1283
|
if (n) {
|
|
1284
|
-
let e =
|
|
1285
|
-
o && e ?
|
|
1284
|
+
let e = G.boothStore.booths.find((e) => e.id === n.boothId);
|
|
1285
|
+
o && e ? G.routeStore.clickRoute(null, e) : G.selectEventItem(n, !0);
|
|
1286
1286
|
}
|
|
1287
1287
|
break;
|
|
1288
1288
|
case "speaker": {
|
|
1289
|
-
let e =
|
|
1290
|
-
e &&
|
|
1289
|
+
let e = G.speakerStore.speakers.find((e) => e.id === a);
|
|
1290
|
+
e && G.selectSpeaker(e, !0);
|
|
1291
1291
|
break;
|
|
1292
1292
|
}
|
|
1293
1293
|
}
|
|
1294
1294
|
}, [o, e]);
|
|
1295
|
-
return n === null ||
|
|
1295
|
+
return n === null || q.setKioskModeEnabled ? null : q.listItems.length ? /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
1296
1296
|
style: {
|
|
1297
1297
|
height: "100%",
|
|
1298
1298
|
cursor: "pointer",
|
|
@@ -1307,8 +1307,8 @@ var Yt = R(Jt), Xt = () => {
|
|
|
1307
1307
|
children: /* @__PURE__ */ (0, Z.jsx)(cn, {
|
|
1308
1308
|
ref: r,
|
|
1309
1309
|
className: "list-virtual",
|
|
1310
|
-
style: { minHeight:
|
|
1311
|
-
data:
|
|
1310
|
+
style: { minHeight: q.listItems.length ? "1px" : 0 },
|
|
1311
|
+
data: q.listItems,
|
|
1312
1312
|
itemContent: (e, t) => {
|
|
1313
1313
|
var n;
|
|
1314
1314
|
let r = t;
|
|
@@ -1323,31 +1323,31 @@ var Yt = R(Jt), Xt = () => {
|
|
|
1323
1323
|
itemsRendered: () => t && setTimeout(t),
|
|
1324
1324
|
totalListHeightChanged: () => t && t(),
|
|
1325
1325
|
customScrollParent: n,
|
|
1326
|
-
totalCount:
|
|
1326
|
+
totalCount: q.listItems.length,
|
|
1327
1327
|
overscan: 20,
|
|
1328
1328
|
increaseViewportBy: 200,
|
|
1329
|
-
initialItemCount: Math.min(
|
|
1329
|
+
initialItemCount: Math.min(q.listScrollIndex + 30, q.listItems.length)
|
|
1330
1330
|
})
|
|
1331
1331
|
})
|
|
1332
1332
|
}) : /* @__PURE__ */ (0, Z.jsx)(() => /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
1333
1333
|
className: "list-empty",
|
|
1334
|
-
children:
|
|
1334
|
+
children: q.list.type === "search" ? h("Oops, nothing found") : h("No items to show")
|
|
1335
1335
|
}), {});
|
|
1336
1336
|
}), dn = () => {
|
|
1337
1337
|
let e = (0, Y.useRef)(null);
|
|
1338
|
-
return
|
|
1339
|
-
let t =
|
|
1338
|
+
return B(() => {
|
|
1339
|
+
let t = G.toursStore.currentTour;
|
|
1340
1340
|
if (!t) return null;
|
|
1341
1341
|
let n = t.points && t.points.length > 0;
|
|
1342
1342
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
1343
|
-
className: (0, X.default)("efp-tour-points", { hidden:
|
|
1344
|
-
children: [
|
|
1343
|
+
className: (0, X.default)("efp-tour-points", { hidden: q.kiosk }),
|
|
1344
|
+
children: [q.tourDescription && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
1345
1345
|
className: "efp-wayfinding-description",
|
|
1346
|
-
children:
|
|
1346
|
+
children: q.tourDescription
|
|
1347
1347
|
}), n && /* @__PURE__ */ (0, Z.jsx)(un, { updatedScrollableRef: e })]
|
|
1348
1348
|
});
|
|
1349
1349
|
});
|
|
1350
|
-
}, fn = () =>
|
|
1350
|
+
}, fn = () => B(() => !q.menu && !q.details && G.toursStore.currentTour && /* @__PURE__ */ (0, Z.jsx)(dn, {})), pn = z(({ tours: e, onTourClick: t }) => {
|
|
1351
1351
|
let n = (e, n, r) => {
|
|
1352
1352
|
t && t(e, n, r);
|
|
1353
1353
|
};
|
|
@@ -1495,12 +1495,12 @@ var _n = /* @__PURE__ */ e(E(), 1), vn = {
|
|
|
1495
1495
|
e.preventDefault(), e.stopPropagation();
|
|
1496
1496
|
let t = e.currentTarget, n = t.getAttribute("data-value") || t.innerText;
|
|
1497
1497
|
v([]), te(n);
|
|
1498
|
-
},
|
|
1498
|
+
}, re = (e = !1) => {
|
|
1499
1499
|
var t;
|
|
1500
1500
|
j(""), S(null), w(null), e && ((t = s.current) == null || t.focus());
|
|
1501
|
-
},
|
|
1501
|
+
}, ie = () => {
|
|
1502
1502
|
E(!0);
|
|
1503
|
-
},
|
|
1503
|
+
}, M = () => {
|
|
1504
1504
|
setTimeout(() => {
|
|
1505
1505
|
if (l.current) {
|
|
1506
1506
|
l.current = !1;
|
|
@@ -1508,7 +1508,7 @@ var _n = /* @__PURE__ */ e(E(), 1), vn = {
|
|
|
1508
1508
|
}
|
|
1509
1509
|
!y && n && j(n);
|
|
1510
1510
|
}, 200);
|
|
1511
|
-
},
|
|
1511
|
+
}, N = () => {
|
|
1512
1512
|
var e;
|
|
1513
1513
|
if (!y && C === null || D && C === null) return;
|
|
1514
1514
|
l.current = !0;
|
|
@@ -1518,9 +1518,9 @@ var _n = /* @__PURE__ */ e(E(), 1), vn = {
|
|
|
1518
1518
|
j(t), S(r), w(r);
|
|
1519
1519
|
}
|
|
1520
1520
|
E(!1), (e = s.current) == null || e.blur();
|
|
1521
|
-
},
|
|
1521
|
+
}, ae = () => {
|
|
1522
1522
|
!T || C === 0 || C === null || w(C - 1);
|
|
1523
|
-
},
|
|
1523
|
+
}, oe = () => {
|
|
1524
1524
|
if (!T) {
|
|
1525
1525
|
E(!0);
|
|
1526
1526
|
return;
|
|
@@ -1543,21 +1543,21 @@ var _n = /* @__PURE__ */ e(E(), 1), vn = {
|
|
|
1543
1543
|
let n = e.target.value, r = n.toLowerCase(), i = n ? t.filter((e) => f(e).toLowerCase().includes(r)) : [];
|
|
1544
1544
|
E(!0), b(n), O(n), w(null), v(i);
|
|
1545
1545
|
},
|
|
1546
|
-
onFocus:
|
|
1547
|
-
onBlur:
|
|
1546
|
+
onFocus: ie,
|
|
1547
|
+
onBlur: M,
|
|
1548
1548
|
onKeyDown: (e) => {
|
|
1549
1549
|
switch (e.keyCode) {
|
|
1550
1550
|
case vn.ENTER:
|
|
1551
|
-
|
|
1551
|
+
N();
|
|
1552
1552
|
break;
|
|
1553
1553
|
case vn.ARROW_UP:
|
|
1554
|
-
|
|
1554
|
+
ae();
|
|
1555
1555
|
break;
|
|
1556
1556
|
case vn.ARROW_DOWN:
|
|
1557
|
-
|
|
1557
|
+
oe();
|
|
1558
1558
|
break;
|
|
1559
1559
|
case vn.DELETE:
|
|
1560
|
-
|
|
1560
|
+
re(!0);
|
|
1561
1561
|
break;
|
|
1562
1562
|
case vn.ESCAPE:
|
|
1563
1563
|
if (!D) {
|
|
@@ -1573,7 +1573,7 @@ var _n = /* @__PURE__ */ e(E(), 1), vn = {
|
|
|
1573
1573
|
}), r && T && y && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
1574
1574
|
className: "efp-autocomplete__clear",
|
|
1575
1575
|
onMouseDown: (e) => {
|
|
1576
|
-
e.preventDefault(),
|
|
1576
|
+
e.preventDefault(), re(!0);
|
|
1577
1577
|
}
|
|
1578
1578
|
})]
|
|
1579
1579
|
})
|
|
@@ -1605,8 +1605,8 @@ var _n = /* @__PURE__ */ e(E(), 1), vn = {
|
|
|
1605
1605
|
})()
|
|
1606
1606
|
})
|
|
1607
1607
|
}), a)] });
|
|
1608
|
-
}, bn =
|
|
1609
|
-
let i =
|
|
1608
|
+
}, bn = z(({ store: e, rootStore: t, title: n, groups: r }) => {
|
|
1609
|
+
let i = R(() => ({
|
|
1610
1610
|
get pendingSelectedIds() {
|
|
1611
1611
|
return e.state.pendingItems.map((e) => e.id);
|
|
1612
1612
|
},
|
|
@@ -1692,7 +1692,7 @@ var _n = /* @__PURE__ */ e(E(), 1), vn = {
|
|
|
1692
1692
|
children: t
|
|
1693
1693
|
})]
|
|
1694
1694
|
});
|
|
1695
|
-
}, Cn =
|
|
1695
|
+
}, Cn = z(({ className: e, inBookmark: t = !1, visited: n = !1, showVisited: r = !1, showBookmark: i = !0, showDirections: a = !0, showRoutePlanner: o = !1, showShare: s = !0, onClickBookmark: c, onClickVisited: l, onClickDirections: u, onClickRoutePlanner: d, onClickShare: f }) => {
|
|
1696
1696
|
let [p, m] = (0, Y.useState)(!1);
|
|
1697
1697
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
1698
1698
|
className: (0, X.default)("efp-sidebarActions", e),
|
|
@@ -1765,28 +1765,28 @@ var _n = /* @__PURE__ */ e(E(), 1), vn = {
|
|
|
1765
1765
|
//#endregion
|
|
1766
1766
|
//#region src/components/Bookmarks.tsx
|
|
1767
1767
|
function wn() {
|
|
1768
|
-
return
|
|
1768
|
+
return B(() => G.bookmarksStore.hasBookmarks ? /* @__PURE__ */ (0, Z.jsx)(Cn, {
|
|
1769
1769
|
className: "efp-sidebarActions--bookmarks",
|
|
1770
1770
|
showDirections: !1,
|
|
1771
1771
|
showBookmark: !1,
|
|
1772
|
-
showRoutePlanner:
|
|
1772
|
+
showRoutePlanner: N.wayfinding && G.bookmarksStore.hasRoutableBookmarks,
|
|
1773
1773
|
showShare: !0,
|
|
1774
|
-
onClickRoutePlanner: () =>
|
|
1775
|
-
onClickShare: () =>
|
|
1774
|
+
onClickRoutePlanner: () => G.routePlannerStore.launchFromBookmarks(),
|
|
1775
|
+
onClickShare: () => G.bookmarksStore.share()
|
|
1776
1776
|
}) : null);
|
|
1777
1777
|
}
|
|
1778
1778
|
function Tn() {
|
|
1779
1779
|
let e = (0, Y.useRef)();
|
|
1780
|
-
return
|
|
1780
|
+
return B(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [/* @__PURE__ */ (0, Z.jsx)(wn, {}), /* @__PURE__ */ (0, Z.jsx)(un, { updatedScrollableRef: e })] }));
|
|
1781
1781
|
}
|
|
1782
|
-
var En = () =>
|
|
1782
|
+
var En = () => B(() => !L.hideBookmarks && !q.details && q.list.type === "bookmarks" && /* @__PURE__ */ (0, Z.jsx)(Tn, {}));
|
|
1783
1783
|
//#endregion
|
|
1784
1784
|
//#region src/components/Visited.tsx
|
|
1785
1785
|
function Dn() {
|
|
1786
1786
|
let e = (0, Y.useRef)();
|
|
1787
|
-
return
|
|
1787
|
+
return B(() => /* @__PURE__ */ (0, Z.jsx)(un, { updatedScrollableRef: e }));
|
|
1788
1788
|
}
|
|
1789
|
-
var On = () =>
|
|
1789
|
+
var On = () => B(() => !q.details && q.list.type === "visited" && /* @__PURE__ */ (0, Z.jsx)(Dn, {})), kn = (e, t, n) => {
|
|
1790
1790
|
let r = t || [
|
|
1791
1791
|
"p",
|
|
1792
1792
|
"span",
|
|
@@ -1821,7 +1821,7 @@ function jn(e) {
|
|
|
1821
1821
|
let t = /* @__PURE__ */ new Date();
|
|
1822
1822
|
return new Date(e) < t;
|
|
1823
1823
|
}
|
|
1824
|
-
var Mn =
|
|
1824
|
+
var Mn = z(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n = !0, showBooths: r = !1, isSessions: i = !1, onEventClick: a }) => {
|
|
1825
1825
|
let [o, s] = (0, Y.useState)({}), c = /* @__PURE__ */ new Date(), l = e.filter((e) => (e.endDate ? new Date(e.endDate) : new Date(e.startDate)) > c), u = e.filter((e) => (e.endDate ? new Date(e.endDate) : new Date(e.startDate)) <= c), d = l.reduce((e, t) => {
|
|
1826
1826
|
let [n] = t.startDate.split("T");
|
|
1827
1827
|
return e[n] ? e[n].push(t) : e[n] = [t], e;
|
|
@@ -1841,7 +1841,7 @@ var Mn = R(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1841
1841
|
return Array.isArray(r[t]) || (r[t] = []), r[t][n] || (r[t][n] = { showFullDescription: !1 }), r[t][n].showFullDescription = !r[t][n].showFullDescription, r;
|
|
1842
1842
|
});
|
|
1843
1843
|
}, m = (e, n) => e.length > t && !n ? e.slice(0, t) + "..." : e, g = (e) => {
|
|
1844
|
-
let t =
|
|
1844
|
+
let t = G.sessionsFilterStore.state.filters.use24hFormat.value;
|
|
1845
1845
|
return (0, Q.default)(new Date(e), t ? "HH:MM" : "h:MMtt");
|
|
1846
1846
|
}, _ = (e) => {
|
|
1847
1847
|
let [t, n, r] = e.split("-"), i = new Date(parseInt(t), parseInt(n) - 1, parseInt(r));
|
|
@@ -1887,7 +1887,7 @@ var Mn = R(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1887
1887
|
role: "list",
|
|
1888
1888
|
children: s.map((s, c) => {
|
|
1889
1889
|
var l, u;
|
|
1890
|
-
let d = s.boothId ?
|
|
1890
|
+
let d = s.boothId ? G.boothStore.boothById.get(Number(s.boothId)) : null, f = (l = (u = o[e]) == null || (u = u[c]) == null ? void 0 : u.showFullDescription) == null ? !1 : l;
|
|
1891
1891
|
return /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
1892
1892
|
role: "listitem",
|
|
1893
1893
|
"data-event-id": s.id,
|
|
@@ -1918,7 +1918,7 @@ var Mn = R(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1918
1918
|
}),
|
|
1919
1919
|
s.description && !i && /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
1920
1920
|
className: "efp-schedule__event-desc",
|
|
1921
|
-
children: [/* @__PURE__ */ (0, Z.jsx)("div", { dangerouslySetInnerHTML: { __html: kn(m(s.description, f)) } }), s.description.length > t && n && /* @__PURE__ */ (0, Z.jsx)(
|
|
1921
|
+
children: [/* @__PURE__ */ (0, Z.jsx)("div", { dangerouslySetInnerHTML: { __html: kn(m(s.description, f)) } }), s.description.length > t && n && /* @__PURE__ */ (0, Z.jsx)(P, {
|
|
1922
1922
|
variant: "gray-border",
|
|
1923
1923
|
size: "sm",
|
|
1924
1924
|
inline: !0,
|
|
@@ -1942,7 +1942,7 @@ var Mn = R(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1942
1942
|
children: h("Past Sessions")
|
|
1943
1943
|
}), y(f, !0)] })]
|
|
1944
1944
|
});
|
|
1945
|
-
}), Nn =
|
|
1945
|
+
}), Nn = z(({ booth: e, level: t }) => /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
1946
1946
|
className: "booth__content -reg",
|
|
1947
1947
|
children: [
|
|
1948
1948
|
/* @__PURE__ */ (0, Z.jsx)(Ss, { level: t }),
|
|
@@ -1962,7 +1962,7 @@ var Mn = R(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1962
1962
|
className: "booth__info-body",
|
|
1963
1963
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
1964
1964
|
className: "booth__info-title",
|
|
1965
|
-
children: h("{{boothTerm}} Type", { boothTerm:
|
|
1965
|
+
children: h("{{boothTerm}} Type", { boothTerm: L.boothTerm })
|
|
1966
1966
|
}), /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
1967
1967
|
className: "booth__info-val",
|
|
1968
1968
|
children: e.type
|
|
@@ -1985,7 +1985,7 @@ var Mn = R(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1985
1985
|
})]
|
|
1986
1986
|
})]
|
|
1987
1987
|
}),
|
|
1988
|
-
e.price && e.price !== "0" && !
|
|
1988
|
+
e.price && e.price !== "0" && !q.previewMode && /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
1989
1989
|
className: "booth__info is-onhold",
|
|
1990
1990
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
1991
1991
|
className: "booth__info-icon",
|
|
@@ -2004,7 +2004,7 @@ var Mn = R(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
2004
2004
|
]
|
|
2005
2005
|
})
|
|
2006
2006
|
]
|
|
2007
|
-
})), Pn =
|
|
2007
|
+
})), Pn = z(() => /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
2008
2008
|
className: "booth__content -reg",
|
|
2009
2009
|
children: /* @__PURE__ */ (0, Z.jsx)("div", { children: h("Reserved") })
|
|
2010
2010
|
}));
|
|
@@ -2021,11 +2021,11 @@ var In = Fn();
|
|
|
2021
2021
|
g.log("Running in iframe: ", In);
|
|
2022
2022
|
//#endregion
|
|
2023
2023
|
//#region src/components/Booth/BoothWithoutExhibitor.tsx
|
|
2024
|
-
var Ln =
|
|
2024
|
+
var Ln = z(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking: i, level: a }) => {
|
|
2025
2025
|
let o = (t) => {
|
|
2026
2026
|
if (t) {
|
|
2027
2027
|
let n = new URL(t);
|
|
2028
|
-
return !n.searchParams.has("type") && e.type && n.searchParams.append("type", e.type), !n.searchParams.has("price") && e.price && !
|
|
2028
|
+
return !n.searchParams.has("type") && e.type && n.searchParams.append("type", e.type), !n.searchParams.has("price") && e.price && !q.previewMode && n.searchParams.append("price", e.price), n;
|
|
2029
2029
|
} else return null;
|
|
2030
2030
|
}, s = o(e.buyUrl), c = o(e.reserveUrl);
|
|
2031
2031
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
@@ -2044,7 +2044,7 @@ var Ln = R(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2044
2044
|
className: "booth__info-body",
|
|
2045
2045
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
2046
2046
|
className: "booth__info-title",
|
|
2047
|
-
children: h("{{boothTerm}} Type", { boothTerm:
|
|
2047
|
+
children: h("{{boothTerm}} Type", { boothTerm: L.boothTerm })
|
|
2048
2048
|
}), /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
2049
2049
|
className: "booth__info-val",
|
|
2050
2050
|
children: e.type
|
|
@@ -2067,7 +2067,7 @@ var Ln = R(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2067
2067
|
})]
|
|
2068
2068
|
})]
|
|
2069
2069
|
}),
|
|
2070
|
-
!i && e.price && e.price !== "0" && !
|
|
2070
|
+
!i && e.price && e.price !== "0" && !q.previewMode && /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
2071
2071
|
className: "booth__info",
|
|
2072
2072
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
2073
2073
|
className: "booth__info-icon",
|
|
@@ -2091,11 +2091,11 @@ var Ln = R(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2091
2091
|
}),
|
|
2092
2092
|
/* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
2093
2093
|
className: "booth__buy",
|
|
2094
|
-
children: [!i && n && /* @__PURE__ */ (0, Z.jsx)(
|
|
2094
|
+
children: [!i && n && /* @__PURE__ */ (0, Z.jsx)(P, {
|
|
2095
2095
|
link: s == null ? void 0 : s.href,
|
|
2096
2096
|
target: In ? "_blank" : "_self",
|
|
2097
2097
|
children: h("Buy")
|
|
2098
|
-
}), !i && r && /* @__PURE__ */ (0, Z.jsx)(
|
|
2098
|
+
}), !i && r && /* @__PURE__ */ (0, Z.jsx)(P, {
|
|
2099
2099
|
link: (c == null ? void 0 : c.href) || (s == null ? void 0 : s.href),
|
|
2100
2100
|
target: In ? "_blank" : "_self",
|
|
2101
2101
|
children: h("Reserve")
|
|
@@ -2114,7 +2114,7 @@ var Ln = R(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2114
2114
|
}, zn = (e) => {
|
|
2115
2115
|
let { clicks: t, background: n } = It(e);
|
|
2116
2116
|
return { heatmapBar: (0, Y.useMemo)(() => {
|
|
2117
|
-
if (!
|
|
2117
|
+
if (!q.heatmap) return null;
|
|
2118
2118
|
let e = n.trim().toLowerCase(), r = 255, i = 255, a = 255;
|
|
2119
2119
|
if (e.startsWith("#") && (e.length === 7 || e.length === 4)) {
|
|
2120
2120
|
let t = Rn(e);
|
|
@@ -2147,32 +2147,32 @@ var Ln = R(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2147
2147
|
}), t]
|
|
2148
2148
|
});
|
|
2149
2149
|
}, [n, t]) };
|
|
2150
|
-
}, Bn =
|
|
2150
|
+
}, Bn = z(() => {
|
|
2151
2151
|
var e, t;
|
|
2152
|
-
let n = (0, Y.useRef)(), r =
|
|
2152
|
+
let n = (0, Y.useRef)(), r = R(() => ({
|
|
2153
2153
|
get booth() {
|
|
2154
|
-
return
|
|
2154
|
+
return q.selectedBooth;
|
|
2155
2155
|
},
|
|
2156
2156
|
get regular() {
|
|
2157
|
-
return this.booth instanceof
|
|
2157
|
+
return this.booth instanceof Ee ? this.booth : null;
|
|
2158
2158
|
},
|
|
2159
2159
|
get special() {
|
|
2160
|
-
return this.booth instanceof
|
|
2160
|
+
return this.booth instanceof _t ? this.booth : null;
|
|
2161
2161
|
},
|
|
2162
2162
|
get showReserve() {
|
|
2163
|
-
return !
|
|
2163
|
+
return !q.kiosk && this.regular && (this.regular.price === "0" && !!this.regular.buyUrl || !!this.regular.reserveUrl);
|
|
2164
2164
|
},
|
|
2165
2165
|
get showBuy() {
|
|
2166
|
-
return !
|
|
2166
|
+
return !q.kiosk && this.regular && this.regular.buyUrl && this.regular.price && this.regular.price !== "0";
|
|
2167
2167
|
},
|
|
2168
2168
|
get title() {
|
|
2169
2169
|
return this.booth.fullName;
|
|
2170
2170
|
},
|
|
2171
2171
|
get reserveTitle() {
|
|
2172
|
-
return
|
|
2172
|
+
return L.reserveButtonTerm || h("Reserve");
|
|
2173
2173
|
},
|
|
2174
2174
|
get descriptionCombined() {
|
|
2175
|
-
return this.booth.description ||
|
|
2175
|
+
return this.booth.description || L.reserveInstructions || "";
|
|
2176
2176
|
}
|
|
2177
2177
|
}));
|
|
2178
2178
|
(0, Y.useEffect)(() => {
|
|
@@ -2193,10 +2193,10 @@ var Ln = R(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2193
2193
|
}, [r.booth.schedule]);
|
|
2194
2194
|
function i(e, t) {
|
|
2195
2195
|
let n = parseInt(t);
|
|
2196
|
-
|
|
2196
|
+
G.clickExhibitor(G.exhibitorStore.exhibitors.find((e) => e.id === n));
|
|
2197
2197
|
}
|
|
2198
2198
|
function a(e) {
|
|
2199
|
-
|
|
2199
|
+
G.selectEventItem(e, !0);
|
|
2200
2200
|
}
|
|
2201
2201
|
function o() {
|
|
2202
2202
|
r.booth.exhibitors.length === 0 && (r.booth.bookmarkedDirectly = !r.booth.bookmarkedDirectly);
|
|
@@ -2221,7 +2221,7 @@ var Ln = R(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2221
2221
|
};
|
|
2222
2222
|
})
|
|
2223
2223
|
}, e.id.toString()));
|
|
2224
|
-
if (
|
|
2224
|
+
if (L.isRebooking) s = /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children: u });
|
|
2225
2225
|
else if (r.regular) {
|
|
2226
2226
|
let e = r.regular;
|
|
2227
2227
|
s = e.onHold ? /* @__PURE__ */ (0, Z.jsx)(Nn, {
|
|
@@ -2234,8 +2234,8 @@ var Ln = R(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2234
2234
|
}) : e.reserved ? /* @__PURE__ */ (0, Z.jsx)(Pn, {}) : e.exhibitors.length === 0 ? /* @__PURE__ */ (0, Z.jsx)(Ln, {
|
|
2235
2235
|
booth: e,
|
|
2236
2236
|
description: r.descriptionCombined,
|
|
2237
|
-
showBuy: !
|
|
2238
|
-
showReserve: !
|
|
2237
|
+
showBuy: !q.previewMode && r.showBuy,
|
|
2238
|
+
showReserve: !q.previewMode && r.showReserve,
|
|
2239
2239
|
isRebooking: !1,
|
|
2240
2240
|
level: c
|
|
2241
2241
|
}) : /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children: u });
|
|
@@ -2270,34 +2270,34 @@ var Ln = R(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2270
2270
|
]
|
|
2271
2271
|
}), /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
2272
2272
|
type: "button",
|
|
2273
|
-
onClick: () =>
|
|
2273
|
+
onClick: () => G.searchStore.handleBackAction(),
|
|
2274
2274
|
className: "booth__header-close",
|
|
2275
2275
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-close" })
|
|
2276
2276
|
})]
|
|
2277
2277
|
}),
|
|
2278
|
-
!
|
|
2278
|
+
!L.isRebooking && N.wayfinding && !q.isGuidedToursActive && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
2279
2279
|
className: "exhibitor__directions",
|
|
2280
2280
|
style: {
|
|
2281
2281
|
paddingLeft: 15,
|
|
2282
2282
|
paddingRight: 15
|
|
2283
2283
|
},
|
|
2284
2284
|
children: /* @__PURE__ */ (0, Z.jsx)(Cn, {
|
|
2285
|
-
showBookmark: !
|
|
2285
|
+
showBookmark: !q.disableBookmarked && !L.hideBookmarks && !q.kiosk && r.booth.exhibitors.length === 0,
|
|
2286
2286
|
showShare: !1,
|
|
2287
2287
|
inBookmark: r.booth.exhibitors.length === 0 ? r.booth.bookmarkedDirectly : !1,
|
|
2288
2288
|
onClickBookmark: o,
|
|
2289
2289
|
onClickDirections: () => {
|
|
2290
|
-
|
|
2290
|
+
G.routeStore.clickRoute(null, r.booth);
|
|
2291
2291
|
}
|
|
2292
2292
|
})
|
|
2293
2293
|
}),
|
|
2294
2294
|
s,
|
|
2295
|
-
|
|
2295
|
+
L.isRebooking && r.regular && r.regular.exhibitors.length === 0 && /* @__PURE__ */ (0, Z.jsx)(Ln, {
|
|
2296
2296
|
showBuy: !1,
|
|
2297
2297
|
description: r.descriptionCombined,
|
|
2298
2298
|
showReserve: !1,
|
|
2299
2299
|
booth: r.regular,
|
|
2300
|
-
isRebooking:
|
|
2300
|
+
isRebooking: L.isRebooking,
|
|
2301
2301
|
level: c
|
|
2302
2302
|
}),
|
|
2303
2303
|
!!((t = r.booth.schedule) != null && t.length) && /* @__PURE__ */ (0, Z.jsx)(Mn, {
|
|
@@ -2308,20 +2308,20 @@ var Ln = R(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2308
2308
|
})
|
|
2309
2309
|
]
|
|
2310
2310
|
});
|
|
2311
|
-
}), Vn =
|
|
2311
|
+
}), Vn = z(() => !q.menu && q.selectedBooth ? /* @__PURE__ */ (0, Z.jsx)(Bn, {}) : null);
|
|
2312
2312
|
//#endregion
|
|
2313
2313
|
//#region src/components/Category.tsx
|
|
2314
2314
|
function Hn() {
|
|
2315
|
-
let e = (0, Y.useRef)(), t =
|
|
2315
|
+
let e = (0, Y.useRef)(), t = R(() => ({ updateOverlayContent: null })), n = (0, Y.useCallback)(() => {
|
|
2316
2316
|
t.updateOverlayContent && t.updateOverlayContent();
|
|
2317
2317
|
}, [t.updateOverlayContent]);
|
|
2318
|
-
return
|
|
2318
|
+
return B(() => /* @__PURE__ */ (0, Z.jsx)(un, {
|
|
2319
2319
|
updateScroll: n,
|
|
2320
2320
|
updatedScrollableRef: e
|
|
2321
2321
|
}));
|
|
2322
2322
|
}
|
|
2323
|
-
var Un = () =>
|
|
2324
|
-
let { urlFilterManager: e, uiState: t } =
|
|
2323
|
+
var Un = () => B(() => !q.menu && q.list.type === "category" && q.details instanceof Se && /* @__PURE__ */ (0, Z.jsx)(Hn, {})), Wn = () => {
|
|
2324
|
+
let { urlFilterManager: e, uiState: t } = G, n = B(() => ({
|
|
2325
2325
|
categories: t.selectedCategoryFilters.map((e) => e.name),
|
|
2326
2326
|
poiType: t.selectedPoiTypeFilters.length > 0 ? t.selectedPoiTypeFilters[0].name : null,
|
|
2327
2327
|
exhibitors: e.currentFilters.exhibitors,
|
|
@@ -2343,9 +2343,9 @@ var Un = () => V(() => !K.menu && K.list.type === "category" && K.details instan
|
|
|
2343
2343
|
validateFilters: o,
|
|
2344
2344
|
isInitialized: e.isInitialized
|
|
2345
2345
|
};
|
|
2346
|
-
}, Gn =
|
|
2346
|
+
}, Gn = z(() => {
|
|
2347
2347
|
let { currentFilters: e } = Wn(), t = (0, Y.useMemo)(() => {
|
|
2348
|
-
let e =
|
|
2348
|
+
let e = G.categoryStore.categories || [], t = {}, n = [], r = [];
|
|
2349
2349
|
e.forEach((e) => {
|
|
2350
2350
|
if (!e || !e.exhibitors || e.exhibitors.length === 0) return;
|
|
2351
2351
|
let i = (e.name || "").split("/").map((e) => e.trim());
|
|
@@ -2372,21 +2372,21 @@ var Un = () => V(() => !K.menu && K.list.type === "category" && K.details instan
|
|
|
2372
2372
|
let n = t[e];
|
|
2373
2373
|
n && n.items && n.items.length > 0 && i.push(n);
|
|
2374
2374
|
}), i;
|
|
2375
|
-
}, [
|
|
2375
|
+
}, [G.categoryStore.categories]);
|
|
2376
2376
|
return (0, Y.useEffect)(() => {
|
|
2377
|
-
if (
|
|
2377
|
+
if (G.categoryFilterStore.state.isOpen && e.categories.length > 0) {
|
|
2378
2378
|
let t = e.categories.map((e) => {
|
|
2379
|
-
let t =
|
|
2379
|
+
let t = G.categoryStore.categories.find((t) => t.name.toLowerCase() === e.toLowerCase());
|
|
2380
2380
|
return t ? {
|
|
2381
2381
|
id: t.id,
|
|
2382
2382
|
name: t.name
|
|
2383
2383
|
} : null;
|
|
2384
2384
|
}).filter((e) => e !== null);
|
|
2385
|
-
t.length > 0 &&
|
|
2385
|
+
t.length > 0 && G.categoryFilterStore.setPendingItems(t);
|
|
2386
2386
|
}
|
|
2387
|
-
}, [
|
|
2388
|
-
store:
|
|
2389
|
-
rootStore:
|
|
2387
|
+
}, [G.categoryFilterStore.state.isOpen, e.categories]), /* @__PURE__ */ (0, Z.jsx)(bn, {
|
|
2388
|
+
store: G.categoryFilterStore,
|
|
2389
|
+
rootStore: G,
|
|
2390
2390
|
title: h("Categories"),
|
|
2391
2391
|
groups: t
|
|
2392
2392
|
});
|
|
@@ -2402,7 +2402,7 @@ var Un = () => V(() => !K.menu && K.list.type === "category" && K.details instan
|
|
|
2402
2402
|
layers: r[5]
|
|
2403
2403
|
}), [r]);
|
|
2404
2404
|
(0, Y.useEffect)(() => {
|
|
2405
|
-
y.current && (
|
|
2405
|
+
y.current && (q.mapControlsDOMRect = y.current.getBoundingClientRect());
|
|
2406
2406
|
}), (0, Y.useLayoutEffect)(() => {
|
|
2407
2407
|
if (b && _.current) {
|
|
2408
2408
|
let e = _.current.getBoundingClientRect();
|
|
@@ -2515,33 +2515,33 @@ var Un = () => V(() => !K.menu && K.list.type === "category" && K.details instan
|
|
|
2515
2515
|
//#endregion
|
|
2516
2516
|
//#region src/components/Controls.tsx
|
|
2517
2517
|
function qn() {
|
|
2518
|
-
let e =
|
|
2518
|
+
let e = R(() => ({
|
|
2519
2519
|
get className() {
|
|
2520
2520
|
return (0, X.default)({
|
|
2521
2521
|
controls: !0,
|
|
2522
2522
|
container: !0,
|
|
2523
2523
|
"-ready": !0,
|
|
2524
|
-
[
|
|
2524
|
+
[q.responsiveClass]: !0
|
|
2525
2525
|
});
|
|
2526
2526
|
},
|
|
2527
2527
|
get style() {
|
|
2528
2528
|
return {
|
|
2529
|
-
[
|
|
2530
|
-
bottom:
|
|
2529
|
+
[q.rtl ? "left" : "right"]: q.overlayPosition === "left" ? q.overlayCollapsed ? x(.9) : (q.kiosk ? 10 : 0) + x(.7) + "px" : "10px",
|
|
2530
|
+
bottom: q.kiosk ? x(4) : x(9.6)
|
|
2531
2531
|
};
|
|
2532
2532
|
},
|
|
2533
2533
|
get layers() {
|
|
2534
|
-
return
|
|
2534
|
+
return U.layers.filter((e) => e.mode !== lt.AlwaysHidden && e.mode !== lt.AlwaysVisible).map((e) => ({
|
|
2535
2535
|
id: e.name,
|
|
2536
2536
|
name: e.description,
|
|
2537
2537
|
visible: e.visible
|
|
2538
2538
|
})).concat([]).reverse();
|
|
2539
2539
|
},
|
|
2540
2540
|
get visible() {
|
|
2541
|
-
return
|
|
2541
|
+
return U.layers.filter((e) => e.visible).map((e) => e.name);
|
|
2542
2542
|
}
|
|
2543
2543
|
}));
|
|
2544
|
-
return
|
|
2544
|
+
return B(() => /* @__PURE__ */ (0, Z.jsx)(Kn, {
|
|
2545
2545
|
className: e.className,
|
|
2546
2546
|
style: e.style,
|
|
2547
2547
|
title: h("Map controls"),
|
|
@@ -2553,18 +2553,18 @@ function qn() {
|
|
|
2553
2553
|
h("Fit to screen"),
|
|
2554
2554
|
h("Layers")
|
|
2555
2555
|
],
|
|
2556
|
-
onClickFindLocation: () =>
|
|
2557
|
-
onClickZoomIn: () =>
|
|
2558
|
-
onClickZoomOut: () =>
|
|
2559
|
-
onClickByWidth: () =>
|
|
2560
|
-
onViewModeSwitch: () =>
|
|
2561
|
-
viewModeSwitch:
|
|
2562
|
-
viewMode:
|
|
2563
|
-
findLocation:
|
|
2556
|
+
onClickFindLocation: () => G.routeStore.findLocation(),
|
|
2557
|
+
onClickZoomIn: () => q.zoomIn(),
|
|
2558
|
+
onClickZoomOut: () => q.zoomOut(),
|
|
2559
|
+
onClickByWidth: () => q.fitBounds(),
|
|
2560
|
+
onViewModeSwitch: () => G.mapboxStore.activateMapbox(),
|
|
2561
|
+
viewModeSwitch: G.mapboxStore.mapBoxEnabled && !G.mapboxStore.hideModeSwitchButton,
|
|
2562
|
+
viewMode: G.mapboxStore.showMapbox,
|
|
2563
|
+
findLocation: G.routeStore.canFindLocation && !q.setKioskModeEnabled,
|
|
2564
2564
|
layersActiveItems: e.visible,
|
|
2565
|
-
layersList:
|
|
2565
|
+
layersList: U.mode === Ve.CheckBox ? e.layers : null,
|
|
2566
2566
|
onChangeLayers: (e) => {
|
|
2567
|
-
|
|
2567
|
+
U.updateVisibility(e, !U.layers.find((t) => t.name === e).visible);
|
|
2568
2568
|
}
|
|
2569
2569
|
}));
|
|
2570
2570
|
}
|
|
@@ -2629,7 +2629,7 @@ function Qn(e, t, n) {
|
|
|
2629
2629
|
//#region src/utils/eventFullBadge.ts
|
|
2630
2630
|
var $n = [9148, 9151];
|
|
2631
2631
|
function er(e) {
|
|
2632
|
-
let t =
|
|
2632
|
+
let t = N.EXPO === "demo", n = $n.includes(e.id) || $n.includes(e.externalId);
|
|
2633
2633
|
return t && n;
|
|
2634
2634
|
}
|
|
2635
2635
|
//#endregion
|
|
@@ -2662,15 +2662,15 @@ var tr = ({ event: e, className: t = "" }) => {
|
|
|
2662
2662
|
//#endregion
|
|
2663
2663
|
//#region src/components/Event.tsx
|
|
2664
2664
|
function nr() {
|
|
2665
|
-
let e = (0, Y.useRef)(null), t =
|
|
2665
|
+
let e = (0, Y.useRef)(null), t = R(() => ({
|
|
2666
2666
|
collapsed: !0,
|
|
2667
2667
|
updateOverlayContent: null,
|
|
2668
2668
|
get event() {
|
|
2669
|
-
return
|
|
2669
|
+
return q.selectedEventItem;
|
|
2670
2670
|
},
|
|
2671
2671
|
get booth() {
|
|
2672
2672
|
var e;
|
|
2673
|
-
return (e = this.event) != null && e.boothId ?
|
|
2673
|
+
return (e = this.event) != null && e.boothId ? G.boothStore.booths.find((e) => e.id === this.event.boothId) : null;
|
|
2674
2674
|
},
|
|
2675
2675
|
get disableCollapse() {
|
|
2676
2676
|
var e;
|
|
@@ -2688,14 +2688,14 @@ function nr() {
|
|
|
2688
2688
|
e.current && e.current.parentElement && (e.current.parentElement.scrollTop = 0), t.collapsed = !0;
|
|
2689
2689
|
});
|
|
2690
2690
|
let s = (e) => {
|
|
2691
|
-
let t =
|
|
2691
|
+
let t = G.sessionsFilterStore.state.filters.use24hFormat.value;
|
|
2692
2692
|
return (0, Q.default)(new Date(e), t ? "HH:MM" : "h:MMtt");
|
|
2693
2693
|
}, c = (e) => (0, Q.default)(new Date(e), "dddd, mmmm d, yyyy");
|
|
2694
|
-
return
|
|
2694
|
+
return B(() => {
|
|
2695
2695
|
var e, r;
|
|
2696
2696
|
let l = t.event;
|
|
2697
2697
|
if (!l) return null;
|
|
2698
|
-
l.name,
|
|
2698
|
+
l.name, L.boothTerm;
|
|
2699
2699
|
let u = () => {
|
|
2700
2700
|
t.collapsed = !1, setTimeout(t.updateOverlayContent);
|
|
2701
2701
|
};
|
|
@@ -2707,7 +2707,7 @@ function nr() {
|
|
|
2707
2707
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
2708
2708
|
className: (0, X.default)({
|
|
2709
2709
|
"efp-event": !0,
|
|
2710
|
-
[
|
|
2710
|
+
[q.responsiveClass]: !0
|
|
2711
2711
|
}),
|
|
2712
2712
|
children: [
|
|
2713
2713
|
/* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
@@ -2723,38 +2723,38 @@ function nr() {
|
|
|
2723
2723
|
})]
|
|
2724
2724
|
}), /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
2725
2725
|
type: "button",
|
|
2726
|
-
onClick: () =>
|
|
2726
|
+
onClick: () => G.searchStore.handleBackAction(),
|
|
2727
2727
|
className: "efp-event__header-close",
|
|
2728
2728
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-close" })
|
|
2729
2729
|
})]
|
|
2730
2730
|
}),
|
|
2731
2731
|
/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
2732
2732
|
className: "efp-event__buttons",
|
|
2733
|
-
children: !
|
|
2734
|
-
showBookmark: !
|
|
2735
|
-
showDirections: t.booth &&
|
|
2733
|
+
children: !q.isGuidedToursActive && /* @__PURE__ */ (0, Z.jsx)(Cn, {
|
|
2734
|
+
showBookmark: !q.disableBookmarked && !L.hideBookmarks && !q.kiosk,
|
|
2735
|
+
showDirections: t.booth && N.wayfinding,
|
|
2736
2736
|
inBookmark: ((e = t.event) == null ? void 0 : e.bookmarked) || !1,
|
|
2737
2737
|
showShare: !0,
|
|
2738
|
-
showVisited: !
|
|
2738
|
+
showVisited: !q.kiosk,
|
|
2739
2739
|
visited: ((r = t.event) == null ? void 0 : r.visited) || !1,
|
|
2740
2740
|
onClickBookmark: ir,
|
|
2741
2741
|
onClickShare: rr,
|
|
2742
2742
|
onClickDirections: () => {
|
|
2743
|
-
t.booth &&
|
|
2743
|
+
t.booth && G.routeStore.clickRoute(null, t.booth);
|
|
2744
2744
|
},
|
|
2745
2745
|
onClickVisited: ar
|
|
2746
2746
|
})
|
|
2747
2747
|
}),
|
|
2748
2748
|
/* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
2749
|
-
className: (0, X.default)("efp-event__details", { "details-hidden":
|
|
2749
|
+
className: (0, X.default)("efp-event__details", { "details-hidden": q.kiosk && n && !i }),
|
|
2750
2750
|
ref: o,
|
|
2751
2751
|
children: [
|
|
2752
2752
|
/* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
2753
|
-
className: (0, X.default)("efp-event-booths", { "is-links-disabled":
|
|
2753
|
+
className: (0, X.default)("efp-event-booths", { "is-links-disabled": q.isGuidedToursActive }),
|
|
2754
2754
|
children: [t.booth && /* @__PURE__ */ (0, Z.jsxs)("a", {
|
|
2755
2755
|
href: `?${t.booth.slug}`,
|
|
2756
2756
|
onClick: (e) => {
|
|
2757
|
-
e.preventDefault(),
|
|
2757
|
+
e.preventDefault(), G.toggleMapOverlay(), G.selectBooth(t.booth);
|
|
2758
2758
|
},
|
|
2759
2759
|
className: "efp-event-booths__booth",
|
|
2760
2760
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
@@ -2762,7 +2762,7 @@ function nr() {
|
|
|
2762
2762
|
children: t.booth.name
|
|
2763
2763
|
}), t.booth.layer && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
2764
2764
|
className: "efp-event-categories__booth-level",
|
|
2765
|
-
children:
|
|
2765
|
+
children: L.shortLevelName ? t.booth.layer.shortName : t.booth.layer.description
|
|
2766
2766
|
})]
|
|
2767
2767
|
}), l.hasTracks && l.tracks.map((e) => /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
2768
2768
|
className: "efp-event-booths__track",
|
|
@@ -2806,7 +2806,7 @@ function nr() {
|
|
|
2806
2806
|
children: l.speakers.map((e) => /* @__PURE__ */ (0, Z.jsxs)("a", {
|
|
2807
2807
|
href: `?${e.slug}`,
|
|
2808
2808
|
onClick: (t) => {
|
|
2809
|
-
t.preventDefault(),
|
|
2809
|
+
t.preventDefault(), G.selectSpeaker(e, !0);
|
|
2810
2810
|
},
|
|
2811
2811
|
className: "efp-event-list__block-item efp-event-list__block-item--clickable",
|
|
2812
2812
|
children: [e.photoFile && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
@@ -2830,7 +2830,7 @@ function nr() {
|
|
|
2830
2830
|
})]
|
|
2831
2831
|
}),
|
|
2832
2832
|
(l.description || l.logoFile) && /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
2833
|
-
className: (0, X.default)("efp-event-description", { collapsed: t.collapsed && !t.disableCollapse && !
|
|
2833
|
+
className: (0, X.default)("efp-event-description", { collapsed: t.collapsed && !t.disableCollapse && !q.kiosk }),
|
|
2834
2834
|
children: [l.logoFile && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
2835
2835
|
className: (0, X.default)("efp-event-description__logo", { "efp-event-description__logo--left": !l.description }),
|
|
2836
2836
|
children: /* @__PURE__ */ (0, Z.jsx)("img", {
|
|
@@ -2847,7 +2847,7 @@ function nr() {
|
|
|
2847
2847
|
})
|
|
2848
2848
|
]
|
|
2849
2849
|
}),
|
|
2850
|
-
|
|
2850
|
+
q.kiosk && n && !i ? /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
2851
2851
|
className: "show-details-button",
|
|
2852
2852
|
children: /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
2853
2853
|
type: "button",
|
|
@@ -2855,7 +2855,7 @@ function nr() {
|
|
|
2855
2855
|
children: h("Show More")
|
|
2856
2856
|
})
|
|
2857
2857
|
}) : null,
|
|
2858
|
-
|
|
2858
|
+
q.kiosk && n && i ? /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
2859
2859
|
type: "button",
|
|
2860
2860
|
className: "hide-details-button",
|
|
2861
2861
|
onClick: () => a(!1),
|
|
@@ -2866,26 +2866,26 @@ function nr() {
|
|
|
2866
2866
|
});
|
|
2867
2867
|
}
|
|
2868
2868
|
function rr() {
|
|
2869
|
-
let e =
|
|
2870
|
-
e && (
|
|
2869
|
+
let e = q.selectedEventItem;
|
|
2870
|
+
e && (V(K.ClickCustomButton, e.name), G.toggleModal("share"));
|
|
2871
2871
|
}
|
|
2872
2872
|
function ir() {
|
|
2873
|
-
let e =
|
|
2874
|
-
e && (e.bookmarked = !e.bookmarked,
|
|
2873
|
+
let e = q.selectedEventItem;
|
|
2874
|
+
e && (e.bookmarked = !e.bookmarked, q.onBookmarkClick && q.onBookmarkClick({
|
|
2875
2875
|
name: e.name,
|
|
2876
2876
|
bookmarked: e.bookmarked,
|
|
2877
2877
|
externalId: e.externalId
|
|
2878
|
-
}),
|
|
2878
|
+
}), V(K.ClickCustomButton, e.name));
|
|
2879
2879
|
}
|
|
2880
2880
|
function ar() {
|
|
2881
|
-
let e =
|
|
2882
|
-
e && (e.visited = !e.visited,
|
|
2881
|
+
let e = q.selectedEventItem;
|
|
2882
|
+
e && (e.visited = !e.visited, q.onVisitedClick && q.onVisitedClick({
|
|
2883
2883
|
name: e.name,
|
|
2884
2884
|
visited: e.visited,
|
|
2885
2885
|
externalId: e.externalId
|
|
2886
|
-
}),
|
|
2886
|
+
}), V(K.ClickCustomButton, e.name));
|
|
2887
2887
|
}
|
|
2888
|
-
var or =
|
|
2888
|
+
var or = z(() => q.selectedEventItem ? /* @__PURE__ */ (0, Z.jsx)(nr, {}) : null), sr = z(({ id: e, label: t, icon: n, text: r, active: i, count: a, variant: o = "toggle", isDimmed: s = !1, isDisabled: c = !1, showZeroCount: l = !1, backgroundColor: u, textColor: d, onClick: f }) => {
|
|
2889
2889
|
let p = a !== void 0 && (a > 0 || l), m = !!u;
|
|
2890
2890
|
return /* @__PURE__ */ (0, Z.jsxs)("button", {
|
|
2891
2891
|
type: "button",
|
|
@@ -2918,7 +2918,7 @@ var or = R(() => K.selectedEventItem ? /* @__PURE__ */ (0, Z.jsx)(nr, {}) : null
|
|
|
2918
2918
|
})
|
|
2919
2919
|
]
|
|
2920
2920
|
});
|
|
2921
|
-
}), cr = (0, Y.memo)(
|
|
2921
|
+
}), cr = (0, Y.memo)(z(({ id: e, label: t, icon: n, text: r, active: i, count: a, onClick: o }) => /* @__PURE__ */ (0, Z.jsxs)("button", {
|
|
2922
2922
|
type: "button",
|
|
2923
2923
|
className: (0, X.default)("efp-search-sub-button", { "is-active": i }),
|
|
2924
2924
|
onClick: o,
|
|
@@ -2935,8 +2935,8 @@ var or = R(() => K.selectedEventItem ? /* @__PURE__ */ (0, Z.jsx)(nr, {}) : null
|
|
|
2935
2935
|
cr.displayName = "SearchSubButton";
|
|
2936
2936
|
//#endregion
|
|
2937
2937
|
//#region src/components/SearchButtons/SearchSubButtons.tsx
|
|
2938
|
-
var lr = (0, Y.memo)(
|
|
2939
|
-
let { searchButtonsStore: e } =
|
|
2938
|
+
var lr = (0, Y.memo)(z(() => {
|
|
2939
|
+
let { searchButtonsStore: e } = G, t = (0, Y.useRef)(null);
|
|
2940
2940
|
(0, Y.useEffect)(() => {
|
|
2941
2941
|
let t = (t) => {
|
|
2942
2942
|
t.key === "Escape" && e.shouldShowSubButtons && e.hideSubButtons();
|
|
@@ -2956,13 +2956,13 @@ var lr = (0, Y.memo)(R(() => {
|
|
|
2956
2956
|
lr.displayName = "SearchSubButtons";
|
|
2957
2957
|
//#endregion
|
|
2958
2958
|
//#region src/components/SearchButtons/SearchButtons.tsx
|
|
2959
|
-
var ur =
|
|
2960
|
-
let { searchButtonsStore: e } =
|
|
2959
|
+
var ur = z(() => {
|
|
2960
|
+
let { searchButtonsStore: e } = G, t = (0, Y.useMemo)(() => e.searchButtons.filter((e) => e.enabled), [e.searchButtons]);
|
|
2961
2961
|
return e.shouldShow ? /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
2962
2962
|
className: (0, X.default)("efp-search-buttons", {
|
|
2963
|
-
"is-overlay-full":
|
|
2964
|
-
"is-long-levels": !
|
|
2965
|
-
"efp-semi-transparent":
|
|
2963
|
+
"is-overlay-full": G.uiState.isOverlayOpen && G.uiState.overlaySize === "full",
|
|
2964
|
+
"is-long-levels": !L.shortLevelName,
|
|
2965
|
+
"efp-semi-transparent": G.uiState.setKioskModeEnabled
|
|
2966
2966
|
}),
|
|
2967
2967
|
children: [/* @__PURE__ */ (0, Z.jsx)(At, {
|
|
2968
2968
|
variant: "search-buttons",
|
|
@@ -2971,7 +2971,7 @@ var ur = R(() => {
|
|
|
2971
2971
|
arrowPosition: "inside",
|
|
2972
2972
|
children: t.map((e) => /* @__PURE__ */ (0, Z.jsx)(sr, {
|
|
2973
2973
|
...e,
|
|
2974
|
-
isDisabled:
|
|
2974
|
+
isDisabled: G.uiState.setKioskModeEnabled
|
|
2975
2975
|
}, e.id))
|
|
2976
2976
|
}), e.subButtonsEnabled && /* @__PURE__ */ (0, Z.jsx)(lr, {})]
|
|
2977
2977
|
}) : null;
|
|
@@ -2996,7 +2996,7 @@ var ur = R(() => {
|
|
|
2996
2996
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-download" })
|
|
2997
2997
|
})
|
|
2998
2998
|
]
|
|
2999
|
-
}), fr =
|
|
2999
|
+
}), fr = z(({ list: e }) => /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
3000
3000
|
className: "market-materials",
|
|
3001
3001
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
3002
3002
|
className: "market-materials__title font-medium",
|
|
@@ -3006,7 +3006,7 @@ var ur = R(() => {
|
|
|
3006
3006
|
role: "list",
|
|
3007
3007
|
children: e.map((e) => /* @__PURE__ */ (0, Z.jsx)(dr, { ...e }, e.path))
|
|
3008
3008
|
})]
|
|
3009
|
-
})), pr =
|
|
3009
|
+
})), pr = z(({ state: e = "default", value: t, date: n, onClickSave: r }) => {
|
|
3010
3010
|
let [i, a] = (0, Y.useState)(t);
|
|
3011
3011
|
return (0, Y.useEffect)(() => {
|
|
3012
3012
|
a(t);
|
|
@@ -3031,7 +3031,7 @@ var ur = R(() => {
|
|
|
3031
3031
|
})
|
|
3032
3032
|
}), /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
3033
3033
|
className: "rebooking-notes__buttons",
|
|
3034
|
-
children: /* @__PURE__ */ (0, Z.jsx)(
|
|
3034
|
+
children: /* @__PURE__ */ (0, Z.jsx)(P, {
|
|
3035
3035
|
inline: !0,
|
|
3036
3036
|
onClick: () => {
|
|
3037
3037
|
let e = i;
|
|
@@ -3273,7 +3273,7 @@ var kr = function(e, t) {
|
|
|
3273
3273
|
var e = this.props;
|
|
3274
3274
|
e.classNames;
|
|
3275
3275
|
var t = mr(e, ["classNames"]);
|
|
3276
|
-
return /* @__PURE__ */ Y.createElement($,
|
|
3276
|
+
return /* @__PURE__ */ Y.createElement($, nt({}, t, {
|
|
3277
3277
|
onEnter: this.onEnter,
|
|
3278
3278
|
onEntered: this.onEntered,
|
|
3279
3279
|
onEntering: this.onEntering,
|
|
@@ -3383,7 +3383,7 @@ var Lr = Object.values || function(e) {
|
|
|
3383
3383
|
}, n.handleExited = function(e, t) {
|
|
3384
3384
|
var n = Mr(this.props.children);
|
|
3385
3385
|
e.key in n || (e.props.onExited && e.props.onExited(t), this.mounted && this.setState(function(t) {
|
|
3386
|
-
var n =
|
|
3386
|
+
var n = nt({}, t.children);
|
|
3387
3387
|
return delete n[e.key], { children: n };
|
|
3388
3388
|
}));
|
|
3389
3389
|
}, n.render = function() {
|
|
@@ -3396,20 +3396,20 @@ zr.propTypes = {}, zr.defaultProps = Rr;
|
|
|
3396
3396
|
//#region src/components/Exhibitor.tsx
|
|
3397
3397
|
var Br = Y.lazy(() => import(
|
|
3398
3398
|
/* webpackChunkName: "gallery" */
|
|
3399
|
-
"./Gallery-
|
|
3399
|
+
"./Gallery-DjZBpRHt.js"
|
|
3400
3400
|
).then((e) => e.t));
|
|
3401
3401
|
function Vr() {
|
|
3402
|
-
let e = (0, Y.useRef)(), t =
|
|
3402
|
+
let e = (0, Y.useRef)(), t = R(() => ({
|
|
3403
3403
|
collapsed: !0,
|
|
3404
3404
|
updateOverlayContent: null,
|
|
3405
3405
|
get exhibitor() {
|
|
3406
|
-
return
|
|
3406
|
+
return q.selectedExhibitor;
|
|
3407
3407
|
},
|
|
3408
3408
|
get websiteTrimmed() {
|
|
3409
3409
|
return this.exhibitor.website ? this.exhibitor.website.replace(/^(http(s?):\/\/)([^/]+)(\/)?$/i, "$3") : "";
|
|
3410
3410
|
},
|
|
3411
3411
|
get anySocial() {
|
|
3412
|
-
return
|
|
3412
|
+
return q.kiosk ? !1 : !![
|
|
3413
3413
|
"facebook",
|
|
3414
3414
|
"instagram",
|
|
3415
3415
|
"linkedin",
|
|
@@ -3435,10 +3435,10 @@ function Vr() {
|
|
|
3435
3435
|
return !!(this.exhibitor.customButtonTitle || this.exhibitor.customButton2Title || this.exhibitor.customButton3Title);
|
|
3436
3436
|
},
|
|
3437
3437
|
get disableCollapse() {
|
|
3438
|
-
return !this.anySocial && !this.anyAddress && !this.anyMedia && !this.anyButtons ||
|
|
3438
|
+
return !this.anySocial && !this.anyAddress && !this.anyMedia && !this.anyButtons || q.overlayPosition === "left" && (this.exhibitor.description || "").length < 800;
|
|
3439
3439
|
},
|
|
3440
3440
|
get showEdit() {
|
|
3441
|
-
return !!(
|
|
3441
|
+
return !!(L.sendLoginLinkUrl && this.sendLinkEmail);
|
|
3442
3442
|
},
|
|
3443
3443
|
get sendLinkEmail() {
|
|
3444
3444
|
return this.exhibitor.privateEmail || this.exhibitor.email;
|
|
@@ -3450,25 +3450,25 @@ function Vr() {
|
|
|
3450
3450
|
i(e > 300);
|
|
3451
3451
|
}
|
|
3452
3452
|
})(), () => {
|
|
3453
|
-
|
|
3453
|
+
G.exhibitorStore.rebookingStateChangeRequested = !1;
|
|
3454
3454
|
}), []), J(() => t.exhibitor, () => {
|
|
3455
3455
|
e.current && (e.current.parentElement.scrollTop = 0), t.collapsed = !0;
|
|
3456
3456
|
});
|
|
3457
3457
|
function c(e, t) {
|
|
3458
|
-
if (u(t),
|
|
3458
|
+
if (u(t), q.kiosk) return e.preventDefault();
|
|
3459
3459
|
}
|
|
3460
3460
|
function l(e, n, r) {
|
|
3461
|
-
|
|
3461
|
+
V(K.ClickCustomButton, t.exhibitor.name);
|
|
3462
3462
|
let i = {
|
|
3463
3463
|
externalId: t.exhibitor.externalId,
|
|
3464
3464
|
buttonNumber: e,
|
|
3465
3465
|
buttonUrl: n,
|
|
3466
3466
|
preventDefault: r.preventDefault.bind(r)
|
|
3467
3467
|
};
|
|
3468
|
-
|
|
3468
|
+
q.onExhibitorCustomButtonClick && q.onExhibitorCustomButtonClick(i);
|
|
3469
3469
|
}
|
|
3470
3470
|
function u(e) {
|
|
3471
|
-
|
|
3471
|
+
V(e, t.exhibitor.name);
|
|
3472
3472
|
}
|
|
3473
3473
|
let d = (0, Y.useRef)(), f = {
|
|
3474
3474
|
entering: { opacity: 1 },
|
|
@@ -3476,11 +3476,11 @@ function Vr() {
|
|
|
3476
3476
|
exiting: { opacity: 0 },
|
|
3477
3477
|
exited: { opacity: 0 }
|
|
3478
3478
|
};
|
|
3479
|
-
return
|
|
3479
|
+
return B(() => {
|
|
3480
3480
|
var e, i, g;
|
|
3481
|
-
let x = t.exhibitor, S =
|
|
3481
|
+
let x = t.exhibitor, S = L.isRebooking ? (() => {
|
|
3482
3482
|
let e = /* @__PURE__ */ new Set();
|
|
3483
|
-
for (let t of x.booths) t instanceof
|
|
3483
|
+
for (let t of x.booths) t instanceof Ee && t.size && e.add(t.size);
|
|
3484
3484
|
let t = Array.from(e);
|
|
3485
3485
|
return /* @__PURE__ */ (0, Z.jsxs)("div", { children: [
|
|
3486
3486
|
t.length > 0 && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
@@ -3506,19 +3506,19 @@ function Vr() {
|
|
|
3506
3506
|
})]
|
|
3507
3507
|
})
|
|
3508
3508
|
}),
|
|
3509
|
-
/* @__PURE__ */ (0, Z.jsx)(
|
|
3509
|
+
/* @__PURE__ */ (0, Z.jsx)(te, {
|
|
3510
3510
|
showTitle: !1,
|
|
3511
|
-
options:
|
|
3511
|
+
options: ye,
|
|
3512
3512
|
checked: x.rebookingState.toString(),
|
|
3513
|
-
onChange: (e) =>
|
|
3513
|
+
onChange: (e) => G.exhibitorStore.setRebookingState(x, parseInt(e.target.value), x.rebookingNote)
|
|
3514
3514
|
}),
|
|
3515
3515
|
/* @__PURE__ */ (0, Z.jsx)(pr, {
|
|
3516
3516
|
state: "default",
|
|
3517
3517
|
value: x.rebookingNote || "",
|
|
3518
|
-
onClickSave: (e) =>
|
|
3518
|
+
onClickSave: (e) => G.exhibitorStore.setRebookingState(x, x.rebookingState, e)
|
|
3519
3519
|
}),
|
|
3520
3520
|
/* @__PURE__ */ (0, Z.jsx)($, {
|
|
3521
|
-
in:
|
|
3521
|
+
in: G.exhibitorStore.rebookingStateChangeRequested,
|
|
3522
3522
|
nodeRef: d,
|
|
3523
3523
|
timeout: 150,
|
|
3524
3524
|
appear: !0,
|
|
@@ -3538,12 +3538,12 @@ function Vr() {
|
|
|
3538
3538
|
...f[e]
|
|
3539
3539
|
},
|
|
3540
3540
|
children: /* @__PURE__ */ (0, Z.jsx)(hn, {
|
|
3541
|
-
title:
|
|
3542
|
-
variant:
|
|
3541
|
+
title: G.exhibitorStore.rebookingStateSaved ? h("Changes saved") : h("Oops! Something went wrong"),
|
|
3542
|
+
variant: G.exhibitorStore.rebookingStateSaved ? "success" : "error",
|
|
3543
3543
|
inline: !0,
|
|
3544
3544
|
closable: !0,
|
|
3545
3545
|
onClose: () => {
|
|
3546
|
-
|
|
3546
|
+
G.exhibitorStore.rebookingStateChangeRequested = !1;
|
|
3547
3547
|
}
|
|
3548
3548
|
})
|
|
3549
3549
|
})
|
|
@@ -3553,14 +3553,14 @@ function Vr() {
|
|
|
3553
3553
|
exhibitor: !0,
|
|
3554
3554
|
"is-featured": x.featured,
|
|
3555
3555
|
bookmarked: x.bookmarked,
|
|
3556
|
-
[
|
|
3556
|
+
[q.responsiveClass]: !0
|
|
3557
3557
|
}), w = () => {
|
|
3558
3558
|
t.collapsed = !1, setTimeout(t.updateOverlayContent);
|
|
3559
3559
|
};
|
|
3560
3560
|
function T(e, t, n) {
|
|
3561
|
-
return !e || !t ||
|
|
3561
|
+
return !e || !t || q.kiosk || q.previewMode ? null : /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
3562
3562
|
className: "exhibitor-custom-button",
|
|
3563
|
-
children: /* @__PURE__ */ (0, Z.jsx)(
|
|
3563
|
+
children: /* @__PURE__ */ (0, Z.jsx)(P, {
|
|
3564
3564
|
link: t,
|
|
3565
3565
|
inline: !0,
|
|
3566
3566
|
onClick: (e) => {
|
|
@@ -3588,14 +3588,14 @@ function Vr() {
|
|
|
3588
3588
|
return r == null ? t[0].startsWith("!*//||^^") && t[0].length > 18 ? t[0].substring(18) : t[0] : r.substring(18);
|
|
3589
3589
|
}
|
|
3590
3590
|
function O() {
|
|
3591
|
-
return !
|
|
3591
|
+
return !L.hideShareButton && !q.kiosk && window.location.host.endsWith(".expofp.com") && N.EXPO !== "globalaltsmiami2024";
|
|
3592
3592
|
}
|
|
3593
3593
|
function k() {
|
|
3594
3594
|
t.updateOverlayContent();
|
|
3595
3595
|
}
|
|
3596
|
-
let ee = (e) => /^\d+$/.test(e),
|
|
3596
|
+
let ee = (e) => /^\d+$/.test(e), A = (e) => {
|
|
3597
3597
|
var t, n;
|
|
3598
|
-
return
|
|
3598
|
+
return L.shortLevelName ? (t = e.layer) == null ? void 0 : t.shortName : (n = e.layer) == null ? void 0 : n.description;
|
|
3599
3599
|
};
|
|
3600
3600
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
3601
3601
|
className: C,
|
|
@@ -3618,7 +3618,7 @@ function Vr() {
|
|
|
3618
3618
|
]
|
|
3619
3619
|
}), /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
3620
3620
|
type: "button",
|
|
3621
|
-
onClick: () =>
|
|
3621
|
+
onClick: () => G.searchStore.handleBackAction(),
|
|
3622
3622
|
className: "exhibitor__header-close",
|
|
3623
3623
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-close" })
|
|
3624
3624
|
})]
|
|
@@ -3626,17 +3626,17 @@ function Vr() {
|
|
|
3626
3626
|
S || /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [
|
|
3627
3627
|
/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
3628
3628
|
className: "exhibitor__buttons",
|
|
3629
|
-
children: !
|
|
3630
|
-
showBookmark: !
|
|
3631
|
-
showDirections: x.booths.length > 0 &&
|
|
3629
|
+
children: !q.isGuidedToursActive && /* @__PURE__ */ (0, Z.jsx)(Cn, {
|
|
3630
|
+
showBookmark: !q.disableBookmarked && !L.hideBookmarks && !q.kiosk,
|
|
3631
|
+
showDirections: x.booths.length > 0 && N.wayfinding,
|
|
3632
3632
|
inBookmark: t.exhibitor.bookmarked,
|
|
3633
3633
|
showShare: O(),
|
|
3634
|
-
showVisited: !
|
|
3634
|
+
showVisited: !q.kiosk,
|
|
3635
3635
|
visited: t.exhibitor.visited,
|
|
3636
3636
|
onClickBookmark: y,
|
|
3637
3637
|
onClickShare: p,
|
|
3638
3638
|
onClickDirections: () => {
|
|
3639
|
-
|
|
3639
|
+
G.routeStore.clickRoute(null, G.routeStore.tempToBooth || x.booths[0]);
|
|
3640
3640
|
},
|
|
3641
3641
|
onClickVisited: b
|
|
3642
3642
|
})
|
|
@@ -3656,9 +3656,9 @@ function Vr() {
|
|
|
3656
3656
|
}) : /* @__PURE__ */ (0, Z.jsx)(Jn, { children: /* @__PURE__ */ (0, Z.jsx)(Y.Suspense, {
|
|
3657
3657
|
fallback: null,
|
|
3658
3658
|
children: /* @__PURE__ */ (0, Z.jsx)(Br, {
|
|
3659
|
-
className:
|
|
3660
|
-
onOpenGallery: () =>
|
|
3661
|
-
onCloseGallery: () =>
|
|
3659
|
+
className: q.responsiveClass,
|
|
3660
|
+
onOpenGallery: () => G.openGallery(),
|
|
3661
|
+
onCloseGallery: () => G.closeGallery(),
|
|
3662
3662
|
onImageLoadHeightUpdate: k,
|
|
3663
3663
|
leading: !0,
|
|
3664
3664
|
images: [x.leadingImageUrl]
|
|
@@ -3666,22 +3666,22 @@ function Vr() {
|
|
|
3666
3666
|
}) })
|
|
3667
3667
|
}) : null,
|
|
3668
3668
|
/* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
3669
|
-
className: (0, X.default)("exhibitor__details", { "details-hidden":
|
|
3669
|
+
className: (0, X.default)("exhibitor__details", { "details-hidden": q.kiosk && r && !a }),
|
|
3670
3670
|
ref: s,
|
|
3671
3671
|
children: [
|
|
3672
3672
|
/* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
3673
|
-
className: (0, X.default)("exhibitor-categories", { "is-links-disabled":
|
|
3673
|
+
className: (0, X.default)("exhibitor-categories", { "is-links-disabled": q.isGuidedToursActive }),
|
|
3674
3674
|
children: [
|
|
3675
3675
|
x.featured && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
3676
3676
|
className: "exhibitor-featured",
|
|
3677
3677
|
children: h("Featured")
|
|
3678
3678
|
}),
|
|
3679
3679
|
x.booths.map((e) => {
|
|
3680
|
-
let t =
|
|
3680
|
+
let t = A(e);
|
|
3681
3681
|
return /* @__PURE__ */ (0, Z.jsxs)("a", {
|
|
3682
3682
|
href: `?${e.slug}`,
|
|
3683
3683
|
onClick: (t) => {
|
|
3684
|
-
t.preventDefault(),
|
|
3684
|
+
t.preventDefault(), G.toggleMapOverlay(), G.selectBooth(e);
|
|
3685
3685
|
},
|
|
3686
3686
|
className: "exhibitor-categories__booth",
|
|
3687
3687
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
@@ -3720,7 +3720,7 @@ function Vr() {
|
|
|
3720
3720
|
}) : null]
|
|
3721
3721
|
}) : null,
|
|
3722
3722
|
(!!((e = x.schedule) != null && e.length) || !!((i = x.booths[0]) != null && i.schedule.length)) && /* @__PURE__ */ (0, Z.jsx)(Mn, { events: [...x.schedule || ((g = x.booths[0]) == null ? void 0 : g.schedule) || []].sort((e, t) => new Date(e.startDate).getTime() - new Date(t.startDate).getTime()) }),
|
|
3723
|
-
!
|
|
3723
|
+
!q.kiosk && x.videoUrl && navigator.onLine && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
3724
3724
|
className: "exhibitor-video",
|
|
3725
3725
|
children: /* @__PURE__ */ (0, Z.jsx)("iframe", {
|
|
3726
3726
|
src: x.videoUrl,
|
|
@@ -3731,23 +3731,23 @@ function Vr() {
|
|
|
3731
3731
|
}),
|
|
3732
3732
|
x.gallery && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
3733
3733
|
className: "exhibitor-slider",
|
|
3734
|
-
onClick: () => u(
|
|
3734
|
+
onClick: () => u(K.ViewGallery),
|
|
3735
3735
|
children: /* @__PURE__ */ (0, Z.jsx)(Jn, { children: /* @__PURE__ */ (0, Z.jsx)(Y.Suspense, {
|
|
3736
3736
|
fallback: null,
|
|
3737
3737
|
children: /* @__PURE__ */ (0, Z.jsx)(Br, {
|
|
3738
|
-
className:
|
|
3739
|
-
onOpenGallery: () =>
|
|
3740
|
-
onCloseGallery: () =>
|
|
3738
|
+
className: q.responsiveClass,
|
|
3739
|
+
onOpenGallery: () => G.openGallery(),
|
|
3740
|
+
onCloseGallery: () => G.closeGallery(),
|
|
3741
3741
|
onImageLoadHeightUpdate: k,
|
|
3742
3742
|
images: x.gallery
|
|
3743
3743
|
})
|
|
3744
3744
|
}) })
|
|
3745
3745
|
}),
|
|
3746
|
-
!
|
|
3746
|
+
!q.kiosk && x.marketMaterials && /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [/* @__PURE__ */ (0, Z.jsx)("div", { className: "exhibitor-sep" }), /* @__PURE__ */ (0, Z.jsx)(fr, { list: x.marketMaterials })] }),
|
|
3747
3747
|
t.showEdit && /* @__PURE__ */ (0, Z.jsx)("div", { className: "exhibitor-sep" }),
|
|
3748
|
-
!
|
|
3748
|
+
!q.kiosk && t.showEdit && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
3749
3749
|
className: "exhibitor-edit",
|
|
3750
|
-
children: /* @__PURE__ */ (0, Z.jsx)(
|
|
3750
|
+
children: /* @__PURE__ */ (0, Z.jsx)(P, {
|
|
3751
3751
|
size: "sm",
|
|
3752
3752
|
variant: "secondary",
|
|
3753
3753
|
onClick: v,
|
|
@@ -3790,7 +3790,7 @@ function Vr() {
|
|
|
3790
3790
|
dir: "ltr",
|
|
3791
3791
|
href: "tel:" + x.phone1,
|
|
3792
3792
|
className: "exhibitor-meta__link",
|
|
3793
|
-
onClick: (e) => c(e,
|
|
3793
|
+
onClick: (e) => c(e, K.ClickPhone),
|
|
3794
3794
|
children: x.phone1
|
|
3795
3795
|
})
|
|
3796
3796
|
})]
|
|
@@ -3807,7 +3807,7 @@ function Vr() {
|
|
|
3807
3807
|
target: "_blank",
|
|
3808
3808
|
rel: "noopener noreferrer",
|
|
3809
3809
|
className: "exhibitor-meta__link",
|
|
3810
|
-
onClick: (e) => c(e,
|
|
3810
|
+
onClick: (e) => c(e, K.ClickWebsite),
|
|
3811
3811
|
children: t.websiteTrimmed
|
|
3812
3812
|
})
|
|
3813
3813
|
})]
|
|
@@ -3824,7 +3824,7 @@ function Vr() {
|
|
|
3824
3824
|
target: "_blank",
|
|
3825
3825
|
rel: "noopener noreferrer",
|
|
3826
3826
|
className: "exhibitor-meta__link",
|
|
3827
|
-
onClick: (e) => c(e,
|
|
3827
|
+
onClick: (e) => c(e, K.ClickEmail),
|
|
3828
3828
|
children: x.email
|
|
3829
3829
|
})
|
|
3830
3830
|
})]
|
|
@@ -3835,7 +3835,7 @@ function Vr() {
|
|
|
3835
3835
|
/* @__PURE__ */ (0, Z.jsx)("a", {
|
|
3836
3836
|
href: x.facebook,
|
|
3837
3837
|
className: "exhibitor-meta__social",
|
|
3838
|
-
onClick: () => u(
|
|
3838
|
+
onClick: () => u(K.ClickFacebook),
|
|
3839
3839
|
target: "_blank",
|
|
3840
3840
|
rel: "noopener noreferrer",
|
|
3841
3841
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-facebook" })
|
|
@@ -3843,7 +3843,7 @@ function Vr() {
|
|
|
3843
3843
|
/* @__PURE__ */ (0, Z.jsx)("a", {
|
|
3844
3844
|
href: x.instagram,
|
|
3845
3845
|
className: "exhibitor-meta__social",
|
|
3846
|
-
onClick: () => u(
|
|
3846
|
+
onClick: () => u(K.ClickInstagaram),
|
|
3847
3847
|
target: "_blank",
|
|
3848
3848
|
rel: "noopener noreferrer",
|
|
3849
3849
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-instagram" })
|
|
@@ -3851,7 +3851,7 @@ function Vr() {
|
|
|
3851
3851
|
/* @__PURE__ */ (0, Z.jsx)("a", {
|
|
3852
3852
|
href: x.linkedin,
|
|
3853
3853
|
className: "exhibitor-meta__social",
|
|
3854
|
-
onClick: () => u(
|
|
3854
|
+
onClick: () => u(K.ClickLinkedin),
|
|
3855
3855
|
target: "_blank",
|
|
3856
3856
|
rel: "noopener noreferrer",
|
|
3857
3857
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-linkedin" })
|
|
@@ -3859,7 +3859,7 @@ function Vr() {
|
|
|
3859
3859
|
/* @__PURE__ */ (0, Z.jsx)("a", {
|
|
3860
3860
|
href: x.twitter,
|
|
3861
3861
|
className: "exhibitor-meta__social",
|
|
3862
|
-
onClick: () => u(
|
|
3862
|
+
onClick: () => u(K.ClickTwitter),
|
|
3863
3863
|
target: "_blank",
|
|
3864
3864
|
rel: "noopener noreferrer",
|
|
3865
3865
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-twitter-x" })
|
|
@@ -3867,7 +3867,7 @@ function Vr() {
|
|
|
3867
3867
|
/* @__PURE__ */ (0, Z.jsx)("a", {
|
|
3868
3868
|
href: x.xing,
|
|
3869
3869
|
className: "exhibitor-meta__social",
|
|
3870
|
-
onClick: () => u(
|
|
3870
|
+
onClick: () => u(K.ClickXing),
|
|
3871
3871
|
target: "_blank",
|
|
3872
3872
|
rel: "noopener noreferrer",
|
|
3873
3873
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-xing" })
|
|
@@ -3875,7 +3875,7 @@ function Vr() {
|
|
|
3875
3875
|
/* @__PURE__ */ (0, Z.jsx)("a", {
|
|
3876
3876
|
href: x.youtube,
|
|
3877
3877
|
className: "exhibitor-meta__social",
|
|
3878
|
-
onClick: () => u(
|
|
3878
|
+
onClick: () => u(K.ClickYoutube),
|
|
3879
3879
|
target: "_blank",
|
|
3880
3880
|
rel: "noopener noreferrer",
|
|
3881
3881
|
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-youtube" })
|
|
@@ -3887,7 +3887,7 @@ function Vr() {
|
|
|
3887
3887
|
/* @__PURE__ */ (0, Z.jsx)(E, { exhibitor: x })
|
|
3888
3888
|
]
|
|
3889
3889
|
}),
|
|
3890
|
-
|
|
3890
|
+
q.kiosk && r && !a ? /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
3891
3891
|
className: "show-details-button",
|
|
3892
3892
|
children: /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
3893
3893
|
type: "button",
|
|
@@ -3896,7 +3896,7 @@ function Vr() {
|
|
|
3896
3896
|
})
|
|
3897
3897
|
}) : null
|
|
3898
3898
|
] }),
|
|
3899
|
-
|
|
3899
|
+
q.kiosk && r && a ? /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
3900
3900
|
type: "button",
|
|
3901
3901
|
className: "hide-details-button",
|
|
3902
3902
|
onClick: () => o(!1),
|
|
@@ -3907,21 +3907,21 @@ function Vr() {
|
|
|
3907
3907
|
});
|
|
3908
3908
|
function p() {
|
|
3909
3909
|
let e = window.navigator, t = {
|
|
3910
|
-
title:
|
|
3910
|
+
title: q.selectedExhibitor.name,
|
|
3911
3911
|
url: window.location.href
|
|
3912
3912
|
};
|
|
3913
|
-
|
|
3913
|
+
ht && e != null && e.canShare && e.canShare(t) ? e.share(t) : G.toggleModal("share");
|
|
3914
3914
|
}
|
|
3915
3915
|
function m(e) {
|
|
3916
|
-
|
|
3916
|
+
G.clickCategory(e);
|
|
3917
3917
|
}
|
|
3918
3918
|
function v(e) {
|
|
3919
|
-
if (
|
|
3919
|
+
if (q.kiosk) return e.preventDefault();
|
|
3920
3920
|
e.target.blur();
|
|
3921
3921
|
let n = t.sendLinkEmail;
|
|
3922
|
-
if (!window.confirm(h("Send login instructions to {{email}} to edit profile?", { email: n })) ||
|
|
3922
|
+
if (!window.confirm(h("Send login instructions to {{email}} to edit profile?", { email: n })) || N.EXPO === "expo") return;
|
|
3923
3923
|
let r = new XMLHttpRequest();
|
|
3924
|
-
r.open("POST",
|
|
3924
|
+
r.open("POST", L.sendLoginLinkUrl), r.setRequestHeader("Content-Type", "application/json");
|
|
3925
3925
|
function i() {
|
|
3926
3926
|
alert(h("Error sending login instructions"));
|
|
3927
3927
|
}
|
|
@@ -3936,38 +3936,38 @@ function Vr() {
|
|
|
3936
3936
|
}, r.send(JSON.stringify({ id: t.exhibitor.id }));
|
|
3937
3937
|
}
|
|
3938
3938
|
function y() {
|
|
3939
|
-
t.exhibitor.bookmarked = !t.exhibitor.bookmarked,
|
|
3939
|
+
t.exhibitor.bookmarked = !t.exhibitor.bookmarked, q.onBookmarkClick && q.onBookmarkClick({
|
|
3940
3940
|
name: t.exhibitor.name,
|
|
3941
3941
|
bookmarked: t.exhibitor.bookmarked,
|
|
3942
3942
|
externalId: t.exhibitor.externalId
|
|
3943
3943
|
});
|
|
3944
3944
|
}
|
|
3945
3945
|
function b() {
|
|
3946
|
-
t.exhibitor.visited = !t.exhibitor.visited,
|
|
3946
|
+
t.exhibitor.visited = !t.exhibitor.visited, q.onVisitedClick && q.onVisitedClick({
|
|
3947
3947
|
name: t.exhibitor.name,
|
|
3948
3948
|
visited: t.exhibitor.visited,
|
|
3949
3949
|
externalId: t.exhibitor.externalId
|
|
3950
3950
|
});
|
|
3951
3951
|
}
|
|
3952
3952
|
}
|
|
3953
|
-
var Hr = () =>
|
|
3953
|
+
var Hr = () => B(() => /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children: !q.menu && q.selectedExhibitor ? /* @__PURE__ */ (0, Z.jsx)(Vr, {}) : null }));
|
|
3954
3954
|
//#endregion
|
|
3955
3955
|
//#region src/components/Filter.tsx
|
|
3956
3956
|
function Ur() {
|
|
3957
|
-
let e = (0, Y.useRef)(), t =
|
|
3957
|
+
let e = (0, Y.useRef)(), t = R(() => ({
|
|
3958
3958
|
updateOverlayContent: null,
|
|
3959
3959
|
get list() {
|
|
3960
|
-
return
|
|
3960
|
+
return q.list;
|
|
3961
3961
|
}
|
|
3962
3962
|
})), n = (0, Y.useCallback)(() => {
|
|
3963
3963
|
t.updateOverlayContent && t.updateOverlayContent();
|
|
3964
3964
|
}, [t.updateOverlayContent]);
|
|
3965
|
-
return
|
|
3965
|
+
return B(() => /* @__PURE__ */ (0, Z.jsx)(un, {
|
|
3966
3966
|
updateScroll: n,
|
|
3967
3967
|
updatedScrollableRef: e
|
|
3968
3968
|
}));
|
|
3969
3969
|
}
|
|
3970
|
-
var Wr = () =>
|
|
3970
|
+
var Wr = () => B(() => /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children: !q.details && !q.menu && q.list.type === "filter" && /* @__PURE__ */ (0, Z.jsx)(Ur, {}) })), Gr = [
|
|
3971
3971
|
"money2020usa",
|
|
3972
3972
|
"rodion2",
|
|
3973
3973
|
"possible2025",
|
|
@@ -3976,7 +3976,7 @@ var Wr = () => V(() => /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children: !K.det
|
|
|
3976
3976
|
"gamescom2025"
|
|
3977
3977
|
], Kr = ["ice-gaming2026"];
|
|
3978
3978
|
function qr(e) {
|
|
3979
|
-
return Kr.includes(
|
|
3979
|
+
return Kr.includes(N.EXPO) ? {
|
|
3980
3980
|
layout: "compact-list",
|
|
3981
3981
|
useShortNames: e
|
|
3982
3982
|
} : {
|
|
@@ -4006,26 +4006,26 @@ function Jr() {
|
|
|
4006
4006
|
let s = (0, Y.useCallback)((t) => {
|
|
4007
4007
|
if (e.current) return;
|
|
4008
4008
|
e.current = setTimeout(() => e.current = null, 500);
|
|
4009
|
-
let n =
|
|
4010
|
-
if (
|
|
4009
|
+
let n = G.layerStore.layers.find((e) => e.description === t.description);
|
|
4010
|
+
if (G.layerStore.mode === Ve.Radio) {
|
|
4011
4011
|
var r;
|
|
4012
|
-
if (
|
|
4013
|
-
if ((r = window.__fpSettings) != null && r.fpVer || Gr.includes(
|
|
4012
|
+
if (G.layerStore.updateVisibility(n, !0), G.mapboxStore.showMapbox) return;
|
|
4013
|
+
if ((r = window.__fpSettings) != null && r.fpVer || Gr.includes(N.EXPO)) {
|
|
4014
4014
|
var i;
|
|
4015
4015
|
let e = (i = n.viewbox) == null ? n.rect : i;
|
|
4016
|
-
|
|
4016
|
+
q.moveToRect = F.fromX1y1x2y2(e.x1, e.y1, e.x2, e.y2);
|
|
4017
4017
|
} else {
|
|
4018
|
-
let e =
|
|
4018
|
+
let e = G.layerStore.layers.indexOf(G.layerStore.layers.filter((e) => !e.frozen && e.visible)[0]), t = G.layerStore.layers.indexOf(n);
|
|
4019
4019
|
if (e === t) return;
|
|
4020
|
-
t < e ?
|
|
4020
|
+
t < e ? q.zoomBy = .95 : q.zoomBy = 1.05;
|
|
4021
4021
|
}
|
|
4022
|
-
} else
|
|
4023
|
-
let a =
|
|
4022
|
+
} else G.layerStore.updateVisibility(n, !n.visible);
|
|
4023
|
+
let a = G.toursStore.getTourLayerInfo(n.name) || G.toursStore.getTourLayerInfo(n.description);
|
|
4024
4024
|
if (a) {
|
|
4025
|
-
|
|
4025
|
+
G.layerStore.showPathWay(a.id);
|
|
4026
4026
|
return;
|
|
4027
4027
|
}
|
|
4028
|
-
|
|
4028
|
+
G.toursStore.stopTour();
|
|
4029
4029
|
}, []), c = (0, Y.useCallback)((e) => {
|
|
4030
4030
|
var t;
|
|
4031
4031
|
e.disabled || (s(e.layer), i(!1), (t = n.current) == null || t.focus());
|
|
@@ -4053,11 +4053,11 @@ function Jr() {
|
|
|
4053
4053
|
i(!1), (s = n.current) == null || s.focus();
|
|
4054
4054
|
}
|
|
4055
4055
|
}, [c]);
|
|
4056
|
-
return
|
|
4056
|
+
return B(() => {
|
|
4057
4057
|
var e, o;
|
|
4058
|
-
let s =
|
|
4059
|
-
if (!(
|
|
4060
|
-
let { layout: u, useShortNames: d } = qr(
|
|
4058
|
+
let s = G.layerStore.floors;
|
|
4059
|
+
if (!(G.layerStore.mode === Ve.Radio || G.layerStore.mode === Ve.CheckBox) || s.length === 0) return null;
|
|
4060
|
+
let { layout: u, useShortNames: d } = qr(L.shortLevelName), f = s.find((e) => e.active), p = (e) => d ? e.shortName : e.description;
|
|
4061
4061
|
return u === "compact-list" ? /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
4062
4062
|
className: (0, X.default)("efp-level-selector", "efp-level-selector--compact-list", { "is-ready": s.length }),
|
|
4063
4063
|
role: "radiogroup",
|
|
@@ -4148,7 +4148,7 @@ var Yr = ({ min: e, max: t, className: n, style: r }) => {
|
|
|
4148
4148
|
e,
|
|
4149
4149
|
t,
|
|
4150
4150
|
i
|
|
4151
|
-
]), o = (0, Y.useMemo)(() => a.map((n) =>
|
|
4151
|
+
]), o = (0, Y.useMemo)(() => a.map((n) => _e(n, e, t)), [
|
|
4152
4152
|
a,
|
|
4153
4153
|
e,
|
|
4154
4154
|
t
|
|
@@ -4201,7 +4201,7 @@ var Yr = ({ min: e, max: t, className: n, style: r }) => {
|
|
|
4201
4201
|
})
|
|
4202
4202
|
]
|
|
4203
4203
|
});
|
|
4204
|
-
}, Zr =
|
|
4204
|
+
}, Zr = z(({ item: e }) => /* @__PURE__ */ (0, Z.jsx)(Xr, {
|
|
4205
4205
|
name: "language",
|
|
4206
4206
|
label: e.name,
|
|
4207
4207
|
value: e.id,
|
|
@@ -4211,14 +4211,14 @@ var Yr = ({ min: e, max: t, className: n, style: r }) => {
|
|
|
4211
4211
|
onChange: () => p(e.id)
|
|
4212
4212
|
})), Qr = () => import(
|
|
4213
4213
|
/* webpackChunkName: "react-virtuoso-list" */
|
|
4214
|
-
"./dist-
|
|
4214
|
+
"./dist-CjRG98JL.js"
|
|
4215
4215
|
).then((e) => ({ default: e.Virtuoso })).catch(() => new Promise((e) => setTimeout(() => e(Qr()), 3e3))), $r = (0, Y.lazy)(Qr);
|
|
4216
4216
|
function ei({ updatedScrollableRef: e, updateScroll: t }) {
|
|
4217
4217
|
let [n, r] = (0, Y.useState)(null), i = (0, Y.useRef)(null);
|
|
4218
4218
|
(0, Y.useEffect)(() => {
|
|
4219
4219
|
r(e == null ? null : e);
|
|
4220
4220
|
}, [e]), (0, Y.useEffect)(() => {
|
|
4221
|
-
let e =
|
|
4221
|
+
let e = q.getListScrollTop(q.list.type);
|
|
4222
4222
|
if (e > 0) {
|
|
4223
4223
|
let t = setTimeout(() => {
|
|
4224
4224
|
i.current && i.current.scrollTo({
|
|
@@ -4228,31 +4228,31 @@ function ei({ updatedScrollableRef: e, updateScroll: t }) {
|
|
|
4228
4228
|
}, 100);
|
|
4229
4229
|
return () => clearTimeout(t);
|
|
4230
4230
|
}
|
|
4231
|
-
}, [
|
|
4231
|
+
}, [q.list.type]);
|
|
4232
4232
|
let a = (0, Y.useCallback)(() => {
|
|
4233
4233
|
if (i.current) i.current.getState((e) => {
|
|
4234
4234
|
var t;
|
|
4235
4235
|
let n = (e == null ? void 0 : e.scrollTop) || 0;
|
|
4236
|
-
|
|
4236
|
+
q.setListScrollTop((t = q.list) == null ? void 0 : t.type, n);
|
|
4237
4237
|
});
|
|
4238
4238
|
else if (n != null && n.current) {
|
|
4239
4239
|
var e;
|
|
4240
|
-
|
|
4240
|
+
q.setListScrollTop((e = q.list) == null ? void 0 : e.type, n.current.scrollTop || 0);
|
|
4241
4241
|
}
|
|
4242
4242
|
}, [n]);
|
|
4243
4243
|
(0, Y.useEffect)(() => () => {
|
|
4244
4244
|
a();
|
|
4245
4245
|
}, []);
|
|
4246
4246
|
let o = ({ index: e }) => {
|
|
4247
|
-
let t =
|
|
4247
|
+
let t = q.listItems[e];
|
|
4248
4248
|
return t.entity.type === "language" ? /* @__PURE__ */ (0, Z.jsx)(Zr, { item: t }, t.id) : (console.error("Invalid item type"), null);
|
|
4249
4249
|
}, s = () => {
|
|
4250
4250
|
t && setTimeout(t);
|
|
4251
4251
|
}, c = () => {
|
|
4252
4252
|
t && t();
|
|
4253
4253
|
};
|
|
4254
|
-
return
|
|
4255
|
-
let e =
|
|
4254
|
+
return B(() => {
|
|
4255
|
+
let e = q.listItems.findIndex((e) => e.id === _());
|
|
4256
4256
|
return /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
4257
4257
|
style: {
|
|
4258
4258
|
height: "100%",
|
|
@@ -4268,13 +4268,13 @@ function ei({ updatedScrollableRef: e, updateScroll: t }) {
|
|
|
4268
4268
|
children: /* @__PURE__ */ (0, Z.jsx)($r, {
|
|
4269
4269
|
ref: i,
|
|
4270
4270
|
className: "list-virtual",
|
|
4271
|
-
style: { minHeight:
|
|
4272
|
-
data:
|
|
4271
|
+
style: { minHeight: q.listItems.length ? "1px" : 0 },
|
|
4272
|
+
data: q.listItems,
|
|
4273
4273
|
itemContent: (e) => o({ index: e }),
|
|
4274
4274
|
itemsRendered: s,
|
|
4275
4275
|
totalListHeightChanged: c,
|
|
4276
4276
|
customScrollParent: n.current,
|
|
4277
|
-
totalCount:
|
|
4277
|
+
totalCount: q.listItems.length,
|
|
4278
4278
|
overscan: 20,
|
|
4279
4279
|
increaseViewportBy: 200,
|
|
4280
4280
|
initialTopMostItemIndex: e === -1 ? 0 : e,
|
|
@@ -4289,20 +4289,20 @@ function ei({ updatedScrollableRef: e, updateScroll: t }) {
|
|
|
4289
4289
|
}
|
|
4290
4290
|
//#endregion
|
|
4291
4291
|
//#region src/components/Language.tsx
|
|
4292
|
-
var ti =
|
|
4292
|
+
var ti = z(() => {
|
|
4293
4293
|
let e = (0, Y.useRef)();
|
|
4294
|
-
return !
|
|
4294
|
+
return !L.hideLanguage && !q.details && q.list.type === "language" && /* @__PURE__ */ (0, Z.jsx)(ei, { updatedScrollableRef: e });
|
|
4295
4295
|
}), ni = 1e3;
|
|
4296
4296
|
function ri() {
|
|
4297
|
-
let e =
|
|
4297
|
+
let e = R(() => ({
|
|
4298
4298
|
shouldShow: !1,
|
|
4299
4299
|
visible: !1,
|
|
4300
4300
|
transitioning: !1
|
|
4301
4301
|
}));
|
|
4302
4302
|
return vt(() => {
|
|
4303
4303
|
let t;
|
|
4304
|
-
l(() =>
|
|
4305
|
-
|
|
4304
|
+
l(() => q.largeMessageLastSet, () => {
|
|
4305
|
+
q.largeMessageLastSet && (window.clearTimeout(t), g.log("Showing large message"), e.shouldShow = !0, t = window.setTimeout(() => {
|
|
4306
4306
|
e.shouldShow = !1;
|
|
4307
4307
|
}, ni));
|
|
4308
4308
|
}, { fireImmediately: !0 });
|
|
@@ -4314,45 +4314,45 @@ function ri() {
|
|
|
4314
4314
|
e.transitioning = !1;
|
|
4315
4315
|
}, 1e3));
|
|
4316
4316
|
});
|
|
4317
|
-
}),
|
|
4317
|
+
}), B(() => q.largeMessage && e.transitioning ? /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
4318
4318
|
className: "large-message" + (e.visible ? " -visible" : ""),
|
|
4319
4319
|
children: /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
4320
4320
|
className: "large-message__text",
|
|
4321
|
-
children:
|
|
4321
|
+
children: q.largeMessage
|
|
4322
4322
|
})
|
|
4323
4323
|
}) : null);
|
|
4324
4324
|
}
|
|
4325
4325
|
//#endregion
|
|
4326
4326
|
//#region src/components/QrCode.tsx
|
|
4327
|
-
var ii = (0, Y.lazy)(() => import("./lib-
|
|
4327
|
+
var ii = (0, Y.lazy)(() => import("./lib-oDcliKSv.js").then((t) => /* @__PURE__ */ e(t.default, 1)).then((e) => {
|
|
4328
4328
|
var t;
|
|
4329
4329
|
return { default: (t = e.QRCode) == null ? e.default : t };
|
|
4330
|
-
})), ai = /* @__PURE__ */ e(
|
|
4330
|
+
})), ai = /* @__PURE__ */ e(at(), 1), oi, si = ["info-techlive2025", "metstrade-superyacht2023"].includes(N.EXPO), ci = N.backgroundColor !== "none" && (0, ai.default)(N.backgroundColor).isDark() || (W == null || (oi = W.properties) == null || (oi = oi.style) == null ? void 0 : oi.includes("dark"));
|
|
4331
4331
|
function li() {
|
|
4332
4332
|
var e, t, n;
|
|
4333
|
-
let r =
|
|
4333
|
+
let r = R(() => {
|
|
4334
4334
|
let e = (e, t, n, r) => ({
|
|
4335
4335
|
width: r,
|
|
4336
|
-
opacity: +!!
|
|
4337
|
-
}), t = si ||
|
|
4336
|
+
opacity: +!!q.wsStarted
|
|
4337
|
+
}), t = si || q.rtl ? "left" : "right";
|
|
4338
4338
|
return {
|
|
4339
4339
|
get style() {
|
|
4340
|
-
let n = x((
|
|
4341
|
-
return
|
|
4340
|
+
let n = x((q.overlayPosition, 1));
|
|
4341
|
+
return q.overlayPosition === "left" ? e("bottom", t, q.mapVisibleBottom + n, "5rem") : (q.mapVisibleTop, G.mapboxStore.showMapbox && x(.5), e("bottom", t, 20, "4.5rem"));
|
|
4342
4342
|
},
|
|
4343
4343
|
get warningStyle() {
|
|
4344
|
-
let n = x(
|
|
4345
|
-
if (
|
|
4344
|
+
let n = x(q.overlayPosition === "left" ? 1 : .5);
|
|
4345
|
+
if (q.overlayPosition === "left") return e("bottom", t, q.mapVisibleBottom + 2 * n, "3rem");
|
|
4346
4346
|
{
|
|
4347
|
-
let r =
|
|
4348
|
-
return
|
|
4347
|
+
let r = q.mapVisibleTop + 2 * n;
|
|
4348
|
+
return G.mapboxStore.showMapbox && (r = x(.5)), e("top", t, r, "2rem");
|
|
4349
4349
|
}
|
|
4350
4350
|
}
|
|
4351
4351
|
};
|
|
4352
|
-
}), a = Math.round(((e = window.__fpStat) == null ? void 0 : e.dataSize) / 1024 / 1024 || 0), s = o && a >= 10, c = o && !
|
|
4353
|
-
return
|
|
4352
|
+
}), a = Math.round(((e = window.__fpStat) == null ? void 0 : e.dataSize) / 1024 / 1024 || 0), s = o && a >= 10, c = o && !W && L.allow3dView && !q.kiosk && !q.heatmap, l = q.kiosk && !((t = q.selectedRoute) != null && t.to) && !((n = q.selectedRoute) != null && n.from), u = (0, X.default)("efp-qr", { "is-right": si || q.rtl });
|
|
4353
|
+
return B(() => /* @__PURE__ */ (0, Z.jsxs)("div", { children: [
|
|
4354
4354
|
/* @__PURE__ */ (0, Z.jsx)("a", {
|
|
4355
|
-
href:
|
|
4355
|
+
href: Ue(Be.SUBDOMAIN_LOGO),
|
|
4356
4356
|
target: "_blank",
|
|
4357
4357
|
rel: "noopener noreferrer",
|
|
4358
4358
|
className: (0, X.default)("logo-overlay", { invert: ci }),
|
|
@@ -4390,9 +4390,9 @@ function li() {
|
|
|
4390
4390
|
l && /* @__PURE__ */ (0, Z.jsx)(Y.Suspense, {
|
|
4391
4391
|
fallback: null,
|
|
4392
4392
|
children: /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
4393
|
-
className: (0, X.default)(u, { "efp-semi-transparent":
|
|
4393
|
+
className: (0, X.default)(u, { "efp-semi-transparent": q.setKioskModeEnabled }),
|
|
4394
4394
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", { children: h("View Map on Phone") }), /* @__PURE__ */ (0, Z.jsx)(ii, {
|
|
4395
|
-
value:
|
|
4395
|
+
value: q.viewMapOnPhoneQRCodeUrl,
|
|
4396
4396
|
size: 100
|
|
4397
4397
|
})]
|
|
4398
4398
|
})
|
|
@@ -4416,22 +4416,22 @@ function di({ className: e }) {
|
|
|
4416
4416
|
t = -1;
|
|
4417
4417
|
break;
|
|
4418
4418
|
case "Enter":
|
|
4419
|
-
e.preventDefault(),
|
|
4419
|
+
e.preventDefault(), G.openActiveListItem();
|
|
4420
4420
|
let n = i();
|
|
4421
|
-
n &&
|
|
4421
|
+
n && Ie(n.value);
|
|
4422
4422
|
return;
|
|
4423
4423
|
case "Escape":
|
|
4424
|
-
e.preventDefault(),
|
|
4424
|
+
e.preventDefault(), H.closeSearch();
|
|
4425
4425
|
return;
|
|
4426
4426
|
}
|
|
4427
|
-
t && (e.preventDefault(),
|
|
4427
|
+
t && (e.preventDefault(), G.changeActiveListIndex(t));
|
|
4428
4428
|
}
|
|
4429
4429
|
function i() {
|
|
4430
4430
|
return n.current;
|
|
4431
4431
|
}
|
|
4432
4432
|
let [a, o] = Y.useState(""), [s, c] = Y.useState(!1);
|
|
4433
4433
|
yt(() => {
|
|
4434
|
-
c(
|
|
4434
|
+
c(G.uiState.kiosk && G.uiState.inIdle);
|
|
4435
4435
|
}), (0, Y.useEffect)(() => {
|
|
4436
4436
|
if (!s) {
|
|
4437
4437
|
o("");
|
|
@@ -4451,62 +4451,62 @@ function di({ className: e }) {
|
|
|
4451
4451
|
return a(), () => clearTimeout(i);
|
|
4452
4452
|
}, [s]), yt(() => {
|
|
4453
4453
|
let e = document.activeElement;
|
|
4454
|
-
if (
|
|
4454
|
+
if (G.uiState.overlaySize !== "full" && e === i() && !H.isFocused) {
|
|
4455
4455
|
var t;
|
|
4456
4456
|
(t = i()) == null || t.blur();
|
|
4457
4457
|
}
|
|
4458
4458
|
}), yt(() => {
|
|
4459
|
-
|
|
4459
|
+
G.uiState.menu && G.uiState.kiosk && H.setFocused(!1);
|
|
4460
4460
|
}), yt(() => {
|
|
4461
4461
|
let e = i(), t = document.activeElement;
|
|
4462
|
-
e &&
|
|
4462
|
+
e && H.isFocused && t !== e && !H.skipInputFocus && e.focus();
|
|
4463
4463
|
}), (0, Y.useEffect)(() => {
|
|
4464
|
-
|
|
4464
|
+
G.fuzzySearchEngineStore.loadEngine();
|
|
4465
4465
|
}, []);
|
|
4466
4466
|
let l = (0, Y.useCallback)(qt(() => {
|
|
4467
4467
|
var e, t;
|
|
4468
|
-
|
|
4468
|
+
H.searchText && V(K.Search, H.searchText), (e = (t = window).__resett) == null || e.call(t);
|
|
4469
4469
|
}, ui), []);
|
|
4470
4470
|
function u() {
|
|
4471
4471
|
var e;
|
|
4472
|
-
|
|
4472
|
+
H.setSearchText(((e = i()) == null ? void 0 : e.value) || ""), l();
|
|
4473
4473
|
}
|
|
4474
4474
|
function d() {
|
|
4475
4475
|
var e, t;
|
|
4476
|
-
|
|
4476
|
+
H.setFocused(!0), (e = (t = window).__resett) == null || e.call(t);
|
|
4477
4477
|
}
|
|
4478
4478
|
function f() {
|
|
4479
|
-
|
|
4479
|
+
H.isFocused || (H.handleSearchAction(), setTimeout(() => {
|
|
4480
4480
|
var e;
|
|
4481
4481
|
(e = i()) == null || e.focus();
|
|
4482
4482
|
}, 100));
|
|
4483
4483
|
}
|
|
4484
4484
|
function p() {
|
|
4485
|
-
|
|
4485
|
+
H.handleBackAction();
|
|
4486
4486
|
}
|
|
4487
4487
|
function m() {
|
|
4488
|
-
|
|
4488
|
+
H.closeSearch();
|
|
4489
4489
|
}
|
|
4490
|
-
return
|
|
4491
|
-
className: (0, X.default)("search-box", e,
|
|
4490
|
+
return B(() => /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
4491
|
+
className: (0, X.default)("search-box", e, H.searchBoxClass, { "efp-semi-transparent": G.uiState.setKioskModeEnabled }),
|
|
4492
4492
|
ref: t,
|
|
4493
4493
|
children: [
|
|
4494
4494
|
/* @__PURE__ */ (0, Z.jsx)("button", {
|
|
4495
|
-
className: (0, X.default)("search-box__button", "search-box__button--back", { "is-mobile-details":
|
|
4495
|
+
className: (0, X.default)("search-box__button", "search-box__button--back", { "is-mobile-details": H.isMobileDetailsMode }),
|
|
4496
4496
|
onClick: p,
|
|
4497
4497
|
type: "button",
|
|
4498
|
-
"aria-label":
|
|
4499
|
-
children: /* @__PURE__ */ (0, Z.jsx)("i", { className:
|
|
4498
|
+
"aria-label": H.backMode === "back" ? h("Go back") : h("Main menu"),
|
|
4499
|
+
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: H.backMode === "back" ? "icon-chevron-left" : G.uiState.viewerMode ? "icon-home" : "icon-menu" })
|
|
4500
4500
|
}),
|
|
4501
4501
|
/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
4502
4502
|
className: "search-box__input-wrapper",
|
|
4503
|
-
children:
|
|
4503
|
+
children: H.shouldShowSearchInput ? /* @__PURE__ */ (0, Z.jsx)("input", {
|
|
4504
4504
|
ref: n,
|
|
4505
4505
|
type: "search",
|
|
4506
4506
|
className: "search-box__input",
|
|
4507
|
-
placeholder: s ? a :
|
|
4507
|
+
placeholder: s ? a : H.placeholder,
|
|
4508
4508
|
"aria-label": "Search",
|
|
4509
|
-
value:
|
|
4509
|
+
value: H.searchText,
|
|
4510
4510
|
onChange: u,
|
|
4511
4511
|
onKeyDown: r,
|
|
4512
4512
|
onFocus: d,
|
|
@@ -4514,32 +4514,32 @@ function di({ className: e }) {
|
|
|
4514
4514
|
autoCorrect: "off",
|
|
4515
4515
|
autoCapitalize: "off",
|
|
4516
4516
|
spellCheck: "false",
|
|
4517
|
-
disabled:
|
|
4517
|
+
disabled: G.uiState.setKioskModeEnabled
|
|
4518
4518
|
}) : /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
4519
4519
|
className: "search-box__title",
|
|
4520
4520
|
children: [
|
|
4521
|
-
|
|
4521
|
+
H.searchBoxIcon && /* @__PURE__ */ (0, Z.jsx)("i", { className: (0, X.default)("search-box__title-icon", H.searchBoxIcon) }),
|
|
4522
4522
|
/* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
4523
4523
|
className: "search-box__title-content",
|
|
4524
4524
|
children: [/* @__PURE__ */ (0, Z.jsx)("strong", {
|
|
4525
4525
|
className: "search-box__title-text",
|
|
4526
|
-
children:
|
|
4527
|
-
}),
|
|
4526
|
+
children: H.searchBoxTitle
|
|
4527
|
+
}), H.searchBoxSubtitle && /* @__PURE__ */ (0, Z.jsx)("span", {
|
|
4528
4528
|
className: "search-box__title-subtitle",
|
|
4529
|
-
children:
|
|
4529
|
+
children: H.searchBoxSubtitle
|
|
4530
4530
|
})]
|
|
4531
4531
|
}),
|
|
4532
|
-
|
|
4532
|
+
H.searchBoxBadge ? /* @__PURE__ */ (0, Z.jsx)(xn, {
|
|
4533
4533
|
variant: "lightgray",
|
|
4534
4534
|
size: "md",
|
|
4535
4535
|
rounded: !0,
|
|
4536
4536
|
noMargins: !0,
|
|
4537
|
-
children:
|
|
4537
|
+
children: H.searchBoxBadge
|
|
4538
4538
|
}) : null
|
|
4539
4539
|
]
|
|
4540
4540
|
})
|
|
4541
4541
|
}),
|
|
4542
|
-
!
|
|
4542
|
+
!H.shouldShowSearchInput && H.searchBoxActions.map((e) => /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
4543
4543
|
className: "search-box__button search-box__button--ui-action",
|
|
4544
4544
|
onClick: e.handler,
|
|
4545
4545
|
type: "button",
|
|
@@ -4549,10 +4549,10 @@ function di({ className: e }) {
|
|
|
4549
4549
|
}, e.id)),
|
|
4550
4550
|
/* @__PURE__ */ (0, Z.jsx)("button", {
|
|
4551
4551
|
className: "search-box__button search-box__button--action",
|
|
4552
|
-
onClick:
|
|
4552
|
+
onClick: H.shouldShowSearchInput ? H.shouldShowCloseButton ? m : f : m,
|
|
4553
4553
|
type: "button",
|
|
4554
|
-
"aria-label":
|
|
4555
|
-
children: /* @__PURE__ */ (0, Z.jsx)("i", { className:
|
|
4554
|
+
"aria-label": H.ariaLabel,
|
|
4555
|
+
children: /* @__PURE__ */ (0, Z.jsx)("i", { className: H.actionButtonIcon })
|
|
4556
4556
|
})
|
|
4557
4557
|
]
|
|
4558
4558
|
}));
|
|
@@ -4561,14 +4561,14 @@ function di({ className: e }) {
|
|
|
4561
4561
|
//#region src/components/MobileToggleButton.tsx
|
|
4562
4562
|
function fi() {
|
|
4563
4563
|
let e = (0, Y.useCallback)(() => {
|
|
4564
|
-
|
|
4564
|
+
G.uiState.isOverlayOpen && G.uiState.overlaySize === "full" ? G.uiState.desiredOverlaySize = "small" : H.openOverlayWithoutInputFocus();
|
|
4565
4565
|
}, []);
|
|
4566
|
-
return
|
|
4567
|
-
let t =
|
|
4568
|
-
if (!(
|
|
4569
|
-
let n = !
|
|
4566
|
+
return B(() => {
|
|
4567
|
+
let t = G.uiState.list.type === "route-planner";
|
|
4568
|
+
if (!(G.uiState.overlayPosition === "bottom" && (t || !G.uiState.details && !G.uiState.menu && G.uiState.list.type !== "language" && G.uiState.list.type !== "bookmarks" && G.uiState.list.type !== "sessions"))) return null;
|
|
4569
|
+
let n = !G.uiState.isOverlayOpen || G.uiState.overlaySize !== "full", r = h(n ? "List" : "Map"), i = n ? "is-list" : "is-map", a = n ? "icon-list" : "icon-map";
|
|
4570
4570
|
return /* @__PURE__ */ (0, Z.jsxs)("button", {
|
|
4571
|
-
className: (0, X.default)("efp-mobile-toggle-button", { "is-with-banner":
|
|
4571
|
+
className: (0, X.default)("efp-mobile-toggle-button", { "is-with-banner": G.uiState.isBannerVisible }, i),
|
|
4572
4572
|
onClick: e,
|
|
4573
4573
|
type: "button",
|
|
4574
4574
|
"aria-label": h(n ? "List" : "Map"),
|
|
@@ -4581,8 +4581,8 @@ function fi() {
|
|
|
4581
4581
|
}
|
|
4582
4582
|
//#endregion
|
|
4583
4583
|
//#region src/components/IntercomLauncher.tsx
|
|
4584
|
-
var pi =
|
|
4585
|
-
if (!ot.enabled) return null;
|
|
4584
|
+
var pi = z(function() {
|
|
4585
|
+
if (!ot.enabled || q.kiosk) return null;
|
|
4586
4586
|
let e = () => {
|
|
4587
4587
|
let e = window;
|
|
4588
4588
|
typeof e.Intercom == "function" && e.Intercom("show");
|
|
@@ -4606,7 +4606,7 @@ var pi = R(function() {
|
|
|
4606
4606
|
children: t > 99 ? "99+" : t
|
|
4607
4607
|
})]
|
|
4608
4608
|
});
|
|
4609
|
-
}), mi =
|
|
4609
|
+
}), mi = z(({ store: e, visibleSections: t, open: n, onClose: r }) => {
|
|
4610
4610
|
let i = e.state.filters, a = (0, Y.useMemo)(() => {
|
|
4611
4611
|
let t = e.rootStore.speakerStore.companies;
|
|
4612
4612
|
return t.length ? [{
|
|
@@ -4712,25 +4712,25 @@ function xi(e) {
|
|
|
4712
4712
|
e.onRoll(n, (e) => (t.bounds.rotation = e, t));
|
|
4713
4713
|
};
|
|
4714
4714
|
function f() {
|
|
4715
|
-
let t =
|
|
4715
|
+
let t = G.routeStore.markersData.markers;
|
|
4716
4716
|
if (!t.length) return;
|
|
4717
4717
|
i = [];
|
|
4718
|
-
let o = e.scale, l =
|
|
4718
|
+
let o = e.scale, l = gt(e.angle);
|
|
4719
4719
|
t.forEach((e) => {
|
|
4720
4720
|
var t, a;
|
|
4721
4721
|
let s = n.get(e.icon);
|
|
4722
4722
|
if (!s) return;
|
|
4723
4723
|
let c = s.scale || window.devicePixelRatio, u = e.icon;
|
|
4724
4724
|
if (!r.has(u)) {
|
|
4725
|
-
let e =
|
|
4725
|
+
let e = Xe(s.img, s.width, s.height, c);
|
|
4726
4726
|
r.set(u, e);
|
|
4727
4727
|
}
|
|
4728
4728
|
let d = r.get(u), f = n.get(e.selectedIcon), p = e.selectedIcon;
|
|
4729
4729
|
if (!r.has(p)) {
|
|
4730
|
-
let e =
|
|
4730
|
+
let e = Xe(f.img, f.width, f.height, c);
|
|
4731
4731
|
r.set(p, e);
|
|
4732
4732
|
}
|
|
4733
|
-
let m = r.get(p), h = (t = (a =
|
|
4733
|
+
let m = r.get(p), h = (t = (a = U.findLayer(e.z)) == null ? void 0 : a.visible) == null ? !0 : t, g = I(e.x, e.y, d.width, d.height, o, l), _ = I(e.x, e.y, m.width, m.height, o, l), v;
|
|
4734
4734
|
switch (e.position) {
|
|
4735
4735
|
case "lefttop":
|
|
4736
4736
|
v = [0, 0];
|
|
@@ -4769,23 +4769,23 @@ function xi(e) {
|
|
|
4769
4769
|
}), a.children = [], i = [];
|
|
4770
4770
|
}
|
|
4771
4771
|
function m() {
|
|
4772
|
-
let e =
|
|
4772
|
+
let e = G.routeStore.markersData.markers;
|
|
4773
4773
|
e.length && e.forEach((e) => {
|
|
4774
4774
|
var t, n;
|
|
4775
4775
|
let r = i.find((t) => t.id === e.id), a = i.find((t) => t.id === `${e.id}${yi}`);
|
|
4776
4776
|
if (!r) return;
|
|
4777
|
-
let o = (t = (n =
|
|
4777
|
+
let o = (t = (n = U.findLayer(e.z)) == null ? void 0 : n.visible) == null ? !0 : t;
|
|
4778
4778
|
e.active ? (r.hidden = !0, a.hidden = !(o && e.active)) : (r.hidden = !o, a.hidden = !0);
|
|
4779
4779
|
});
|
|
4780
4780
|
}
|
|
4781
|
-
return t.push(l(() => [
|
|
4782
|
-
if (!
|
|
4781
|
+
return t.push(l(() => [G.routeStore.selectedMarkers, G.layerStore.visible], () => {
|
|
4782
|
+
if (!G.routeStore.markersData.markers.length) {
|
|
4783
4783
|
p(), e.update(a);
|
|
4784
4784
|
return;
|
|
4785
4785
|
}
|
|
4786
4786
|
m(), e.update(...i);
|
|
4787
|
-
})), t.push(l(() =>
|
|
4788
|
-
o(
|
|
4787
|
+
})), t.push(l(() => G.routeStore.markersData.markers, () => {
|
|
4788
|
+
o(G.routeStore.markersData.icons).then(() => {
|
|
4789
4789
|
f(), e.update(a);
|
|
4790
4790
|
});
|
|
4791
4791
|
}, { fireImmediately: !0 })), function() {
|
|
@@ -4793,12 +4793,12 @@ function xi(e) {
|
|
|
4793
4793
|
};
|
|
4794
4794
|
}
|
|
4795
4795
|
function Si(e, t, n) {
|
|
4796
|
-
for (let r of
|
|
4797
|
-
let i =
|
|
4796
|
+
for (let r of G.routeStore.markersData.markers) {
|
|
4797
|
+
let i = G.routeStore.markersData.icons.find((e) => e.name === r.icon);
|
|
4798
4798
|
if (!i) continue;
|
|
4799
4799
|
let a = i.width * n * devicePixelRatio, o = i.height * n * devicePixelRatio;
|
|
4800
4800
|
if (Ci(e, t, r.x, r.y, a, o)) {
|
|
4801
|
-
let e =
|
|
4801
|
+
let e = G.layerStore.findLayer(r.z);
|
|
4802
4802
|
if (!e || e && e.visible) return r;
|
|
4803
4803
|
}
|
|
4804
4804
|
}
|
|
@@ -4931,15 +4931,15 @@ function Qi(e) {
|
|
|
4931
4931
|
}
|
|
4932
4932
|
function $i(e) {
|
|
4933
4933
|
var t;
|
|
4934
|
-
let n = Qi(e.borderColor) || Qi(
|
|
4934
|
+
let n = Qi(e.borderColor) || Qi(N.boothBorderColor) || N.colors.booths.default;
|
|
4935
4935
|
return ((t = e.paths) == null ? void 0 : t.length) > 1 && Qi(e.paths[e.paths.length - 1].color) || n;
|
|
4936
4936
|
}
|
|
4937
4937
|
function ea(e, t) {
|
|
4938
|
-
let n = Gi(t.title || t.name), r = $i(t), i =
|
|
4939
|
-
Wi.font =
|
|
4938
|
+
let n = Gi(t.title || t.name), r = $i(t), i = ze((0, ai.default)(r).hex()), a = window.devicePixelRatio || 1;
|
|
4939
|
+
Wi.font = O(Vi, Ii);
|
|
4940
4940
|
let o = Wi.measureText(n).width, s = Math.ceil(o + Hi * 2), c = (t.borderWidth || ct.borderWidth) / 2, u = s * Ui, d = 54 * Ui, f = t.rotate ? -t.rotate : 0, p = t.rect.w, m = t.rect.h, h = Math.min(p > 0 ? p * Li / u : Infinity, m > 0 ? m * Ri / d : Infinity), g = Ki(t), { x: _, y: v } = Zi(t, g, c, f), y = Yi(g, _, v, u, d, h), b = Math.cos(f), x = Math.sin(f), S = (e, t) => {
|
|
4941
4941
|
let n = e / 2, r = t / 2, i = _ + n * b - r * x, a = v + n * x + r * b;
|
|
4942
|
-
return new
|
|
4942
|
+
return new Ce({
|
|
4943
4943
|
x: i - n,
|
|
4944
4944
|
y: a - r
|
|
4945
4945
|
}, {
|
|
@@ -4949,9 +4949,9 @@ function ea(e, t) {
|
|
|
4949
4949
|
}, C = (e) => {
|
|
4950
4950
|
let t = Math.min(e, y);
|
|
4951
4951
|
return S(u * t, d * t);
|
|
4952
|
-
}, w =
|
|
4952
|
+
}, w = dt(Ii, e.fontUrls), T = re(S(1, 1), r);
|
|
4953
4953
|
T.hidden = !0, T.dim = t.skipDim ? !1 : void 0;
|
|
4954
|
-
let E =
|
|
4954
|
+
let E = ne(be([[n], []], i, 0, [w, w]), S(1, 1), [0, 0], {
|
|
4955
4955
|
horizontal: "center",
|
|
4956
4956
|
vertical: "center"
|
|
4957
4957
|
});
|
|
@@ -4973,9 +4973,9 @@ function ea(e, t) {
|
|
|
4973
4973
|
};
|
|
4974
4974
|
}
|
|
4975
4975
|
function ta(e, t, n) {
|
|
4976
|
-
if (
|
|
4976
|
+
if (L.hideExhibitorBoothNumber) return null;
|
|
4977
4977
|
let r = [], i = [];
|
|
4978
|
-
for (let t of n) if (t instanceof
|
|
4978
|
+
for (let t of n) if (t instanceof Ee && t.noLabels && !q.hideLogoInBooth && t.exhibitors.some((e) => e.logoInBooth && e.logo)) {
|
|
4979
4979
|
let { bg: n, text: a } = ea(e, t);
|
|
4980
4980
|
r.push(n), i.push(a);
|
|
4981
4981
|
}
|
|
@@ -4993,21 +4993,21 @@ function ta(e, t, n) {
|
|
|
4993
4993
|
//#endregion
|
|
4994
4994
|
//#region src/components/Map/drawing/config/config-all.ts
|
|
4995
4995
|
function na(e) {
|
|
4996
|
-
let { layers: t, defaultLayer: n } =
|
|
4996
|
+
let { layers: t, defaultLayer: n } = G.layerStore;
|
|
4997
4997
|
if (n) {
|
|
4998
4998
|
let e = [].concat(t), r = t.find((e) => e === n), i = t.indexOf(r);
|
|
4999
4999
|
e.splice(i, 1), t = [r].concat(e);
|
|
5000
5000
|
}
|
|
5001
|
-
let r = t.filter((e) => !e.rootParent).map((t) =>
|
|
5001
|
+
let r = t.filter((e) => !e.rootParent).map((t) => et(t, e));
|
|
5002
5002
|
return Promise.all(r).then((t) => {
|
|
5003
|
-
let n =
|
|
5003
|
+
let n = A(hi, [], {
|
|
5004
5004
|
dim: !1,
|
|
5005
5005
|
interactive: !0
|
|
5006
|
-
}), r =
|
|
5006
|
+
}), r = A(_i, [], { dim: !1 }), i = A(bi, []), a = A(gi, [], { dim: !1 }), o = A(vi, [], { dim: !1 });
|
|
5007
5007
|
t.forEach((e) => {
|
|
5008
5008
|
e.name.toLowerCase().includes("pathway") && (e.dim = !1);
|
|
5009
5009
|
});
|
|
5010
|
-
let s = ta(e, "root",
|
|
5010
|
+
let s = ta(e, "root", G.boothStore.booths);
|
|
5011
5011
|
return [
|
|
5012
5012
|
...t.flat(),
|
|
5013
5013
|
...s ? [s] : [],
|
|
@@ -5032,9 +5032,9 @@ function ra({ runtime: e, kioskHandler: t, yahHandler: n, stores: { routeStore:
|
|
|
5032
5032
|
return;
|
|
5033
5033
|
}
|
|
5034
5034
|
e.setRoute({
|
|
5035
|
-
from:
|
|
5036
|
-
to:
|
|
5037
|
-
waypoints: (a = i.selectedRoute) == null || (a = a.waypoints) == null ? void 0 : a.map(
|
|
5035
|
+
from: ee(o),
|
|
5036
|
+
to: ee(s),
|
|
5037
|
+
waypoints: (a = i.selectedRoute) == null || (a = a.waypoints) == null ? void 0 : a.map(ee),
|
|
5038
5038
|
accessible: r.onlyAccessible
|
|
5039
5039
|
}) === !1 && console.error(/* @__PURE__ */ Error(`Route not found: ${o.name} → ${s.name}`));
|
|
5040
5040
|
}
|
|
@@ -5045,7 +5045,7 @@ function ra({ runtime: e, kioskHandler: t, yahHandler: n, stores: { routeStore:
|
|
|
5045
5045
|
e.onPositionChanged(null), n(null);
|
|
5046
5046
|
return;
|
|
5047
5047
|
}
|
|
5048
|
-
let u =
|
|
5048
|
+
let u = xe(o);
|
|
5049
5049
|
l ? (e.onPositionChanged(null), n({
|
|
5050
5050
|
x: u.x,
|
|
5051
5051
|
y: u.y,
|
|
@@ -5089,7 +5089,7 @@ function oa({ renderer: e, kioskIconMap: t, layer: n }) {
|
|
|
5089
5089
|
return;
|
|
5090
5090
|
}
|
|
5091
5091
|
e.setIcon(ia, {
|
|
5092
|
-
canvas:
|
|
5092
|
+
canvas: ie(t, r.iconSizePercent),
|
|
5093
5093
|
layer: n,
|
|
5094
5094
|
x: r.x,
|
|
5095
5095
|
y: r.y,
|
|
@@ -5280,13 +5280,13 @@ function ha({ renderer: e, linesLayer: t, animatedLinesLayer: n }) {
|
|
|
5280
5280
|
//#endregion
|
|
5281
5281
|
//#region src/wayfinding/runtime/routeRenderData.ts
|
|
5282
5282
|
function ga({ routeLines: e, currentRouteLayer: t, from: n, to: r, snap: i }) {
|
|
5283
|
-
let a =
|
|
5283
|
+
let a = ue(e.filter((e) => !e.virtual), n, r), o = t === null ? a : a.filter((e) => e.p0.layer === t);
|
|
5284
5284
|
if (!(i != null && i.snapped)) return {
|
|
5285
5285
|
passed: [],
|
|
5286
5286
|
remaining: o,
|
|
5287
|
-
distance:
|
|
5287
|
+
distance: we(a)
|
|
5288
5288
|
};
|
|
5289
|
-
let { passed: s, remaining: c } =
|
|
5289
|
+
let { passed: s, remaining: c } = Ae(o, i.snappedPoint);
|
|
5290
5290
|
return {
|
|
5291
5291
|
passed: s,
|
|
5292
5292
|
remaining: c !== o && c.length > 0 ? [{
|
|
@@ -5299,7 +5299,7 @@ function ga({ routeLines: e, currentRouteLayer: t, from: n, to: r, snap: i }) {
|
|
|
5299
5299
|
//#endregion
|
|
5300
5300
|
//#region src/wayfinding/runtime/routeUpdate.ts
|
|
5301
5301
|
function _a(e, t) {
|
|
5302
|
-
let n = e.filter((e) => !e.virtual), r =
|
|
5302
|
+
let n = e.filter((e) => !e.virtual), r = it(t.flatMap((e) => [e.p0, e.p1]));
|
|
5303
5303
|
return !r || r.x1 === r.x2 && r.y1 === r.y2 ? {
|
|
5304
5304
|
lines: n,
|
|
5305
5305
|
bounds: null
|
|
@@ -5354,7 +5354,7 @@ function ba({ renderer: e, iconProvider: t, floorContext: n, onTransitionClick:
|
|
|
5354
5354
|
if (!e) return;
|
|
5355
5355
|
o = e;
|
|
5356
5356
|
}
|
|
5357
|
-
let s =
|
|
5357
|
+
let s = Pe({
|
|
5358
5358
|
routeLines: a,
|
|
5359
5359
|
currentLayerName: o,
|
|
5360
5360
|
floorOrder: n.getFloorOrder()
|
|
@@ -5475,7 +5475,7 @@ function Ca({ engine: e, renderer: t, iconProvider: n, floorContext: r, layers:
|
|
|
5475
5475
|
if (!o.length) return O(), !1;
|
|
5476
5476
|
m = n, h = r, p = o, S();
|
|
5477
5477
|
let { lines: s } = w(), l = C();
|
|
5478
|
-
return l && x(l, !0), c(l ? _ :
|
|
5478
|
+
return l && x(l, !0), c(l ? _ : we(s)), t.flush(), !0;
|
|
5479
5479
|
}
|
|
5480
5480
|
function E(e) {
|
|
5481
5481
|
if (g = e, !e) {
|
|
@@ -5565,7 +5565,7 @@ function Ta(e, t) {
|
|
|
5565
5565
|
}), a.cardinalSnap && t.onRoll(r, (e) => {
|
|
5566
5566
|
let t = n.get(r);
|
|
5567
5567
|
if (!t) return;
|
|
5568
|
-
let i =
|
|
5568
|
+
let i = pt(e, t.imageDef.bounds.rotation);
|
|
5569
5569
|
if (i !== void 0) return t.imageDef.bounds.rotation += i, t.imageDef;
|
|
5570
5570
|
});
|
|
5571
5571
|
let f = {
|
|
@@ -5617,7 +5617,7 @@ function Ta(e, t) {
|
|
|
5617
5617
|
n.clear(), r.clear(), i.clear();
|
|
5618
5618
|
},
|
|
5619
5619
|
handleClick({ data: e }) {
|
|
5620
|
-
let { defs: t } =
|
|
5620
|
+
let { defs: t } = k(e);
|
|
5621
5621
|
for (let e of n.values()) if (e.callback && !e.imageDef.hidden && t.includes(e.imageDef)) {
|
|
5622
5622
|
e.callback();
|
|
5623
5623
|
return;
|
|
@@ -5626,7 +5626,7 @@ function Ta(e, t) {
|
|
|
5626
5626
|
handleHover({ data: e }) {
|
|
5627
5627
|
let r = t.renderer;
|
|
5628
5628
|
if (!r) return;
|
|
5629
|
-
let { defs: i } =
|
|
5629
|
+
let { defs: i } = k(e), a = !1;
|
|
5630
5630
|
for (let e of n.values()) if (e.callback && !e.imageDef.hidden && i.includes(e.imageDef)) {
|
|
5631
5631
|
a = !0;
|
|
5632
5632
|
break;
|
|
@@ -5649,7 +5649,7 @@ function Da(e, t) {
|
|
|
5649
5649
|
n.children = n.children.filter((e) => !r.has(e)), t.dotDefs = [];
|
|
5650
5650
|
}
|
|
5651
5651
|
function a(n) {
|
|
5652
|
-
let r = e.touchLayer(n.layerName), a = t.scale, o = Ea * a, s =
|
|
5652
|
+
let r = e.touchLayer(n.layerName), a = t.scale, o = Ea * a, s = le(n.from, n.to, o), c = n.canvas, l = s.map((e) => De(c, I(e.x, e.y, c.width, c.height, a)));
|
|
5653
5653
|
i(n), r.children.push(...l), n.dotDefs = l;
|
|
5654
5654
|
}
|
|
5655
5655
|
function o(e) {
|
|
@@ -5759,7 +5759,7 @@ function ka(e, t, n) {
|
|
|
5759
5759
|
i = d, a = f;
|
|
5760
5760
|
let p = (l = c.resetAnimation) == null ? !0 : l, m = 0;
|
|
5761
5761
|
r && (p || (m = r.getProgress()), r.stop(), r = null);
|
|
5762
|
-
let h = o.map((e) =>
|
|
5762
|
+
let h = o.map((e) => ft(e, n.passed)), g = s.map((e) => ft(e, n.remaining));
|
|
5763
5763
|
if (d.children = [...h, ...g], !g.length) {
|
|
5764
5764
|
f.children = [];
|
|
5765
5765
|
return;
|
|
@@ -5815,10 +5815,10 @@ function ja(e, t = {}) {
|
|
|
5815
5815
|
//#region src/wayfinding/createWayfinding.ts
|
|
5816
5816
|
function Ma(e) {
|
|
5817
5817
|
var t, n;
|
|
5818
|
-
let r =
|
|
5819
|
-
iconMap:
|
|
5818
|
+
let r = Ne(se), i = Te({
|
|
5819
|
+
iconMap: G.fp.icons,
|
|
5820
5820
|
pixelRatio: devicePixelRatio
|
|
5821
|
-
}), a = ja(e), o =
|
|
5821
|
+
}), a = ja(e), o = de(U, G.routeStore), s = {
|
|
5822
5822
|
points: hi,
|
|
5823
5823
|
trail: gi,
|
|
5824
5824
|
lines: _i,
|
|
@@ -5829,25 +5829,25 @@ function Ma(e) {
|
|
|
5829
5829
|
iconProvider: i,
|
|
5830
5830
|
floorContext: o,
|
|
5831
5831
|
layers: s,
|
|
5832
|
-
snapThreshold:
|
|
5833
|
-
thresholdInMeters:
|
|
5834
|
-
gpsConfig:
|
|
5832
|
+
snapThreshold: Me({
|
|
5833
|
+
thresholdInMeters: M(W == null || (t = W.properties) == null || (t = t.config) == null ? void 0 : t.snapThreshold) || 7.5,
|
|
5834
|
+
gpsConfig: W == null || (n = W.properties) == null ? void 0 : n.config
|
|
5835
5835
|
}),
|
|
5836
5836
|
onTransitionClick: (e) => {
|
|
5837
|
-
e.role === "exit" &&
|
|
5837
|
+
e.role === "exit" && U.updateVisibility(e.targetLayer, !0);
|
|
5838
5838
|
},
|
|
5839
5839
|
onRouteUpdate: (e, t) => {
|
|
5840
|
-
if (
|
|
5840
|
+
if (G.routeStore.updateRoute(e), t) {
|
|
5841
5841
|
let e = t.x2 - t.x1, n = t.y2 - t.y1;
|
|
5842
|
-
|
|
5842
|
+
q.moveToRect = F.fromX1y1x2y2(t.x1, t.y1, t.x2, t.y2).withPadding(e, n);
|
|
5843
5843
|
}
|
|
5844
5844
|
},
|
|
5845
|
-
onRouteDistance: (e) =>
|
|
5845
|
+
onRouteDistance: (e) => G.routeStore.updateRouteDistance(e)
|
|
5846
5846
|
}), l = ra({
|
|
5847
5847
|
runtime: c,
|
|
5848
5848
|
kioskHandler: oa({
|
|
5849
5849
|
renderer: a,
|
|
5850
|
-
kioskIconMap:
|
|
5850
|
+
kioskIconMap: G.fp.icons,
|
|
5851
5851
|
layer: s.points
|
|
5852
5852
|
}),
|
|
5853
5853
|
yahHandler: ca({
|
|
@@ -5857,9 +5857,9 @@ function Ma(e) {
|
|
|
5857
5857
|
layer: s.points
|
|
5858
5858
|
}),
|
|
5859
5859
|
stores: {
|
|
5860
|
-
routeStore:
|
|
5861
|
-
uiState:
|
|
5862
|
-
layerStore:
|
|
5860
|
+
routeStore: G.routeStore,
|
|
5861
|
+
uiState: q,
|
|
5862
|
+
layerStore: U
|
|
5863
5863
|
}
|
|
5864
5864
|
});
|
|
5865
5865
|
return a.flush(), () => {
|
|
@@ -6047,7 +6047,7 @@ Enable/Disable Preview: Press ${Ua}.
|
|
|
6047
6047
|
}
|
|
6048
6048
|
};
|
|
6049
6049
|
function Ga({ enabled: e, rendererService: t }) {
|
|
6050
|
-
let n = (0, Y.useRef)(!1), r = (0, Y.useRef)(), i = (0, Y.useMemo)(() =>
|
|
6050
|
+
let n = (0, Y.useRef)(!1), r = (0, Y.useRef)(), i = (0, Y.useMemo)(() => he(Ra, Fa), []), a = (0, Y.useMemo)(() => he(Ra, Ia), []), o = (0, Y.useMemo)(() => new Wa(), []), s = (0, Y.useRef)(new Na()), c = (0, Y.useMemo)(() => {
|
|
6051
6051
|
if (!t.scene) return {};
|
|
6052
6052
|
let e = t.scene.rootLayer.children;
|
|
6053
6053
|
return {
|
|
@@ -6101,7 +6101,7 @@ function Ga({ enabled: e, rendererService: t }) {
|
|
|
6101
6101
|
}
|
|
6102
6102
|
});
|
|
6103
6103
|
}, [o, l]), d = (0, Y.useCallback)(({ ptScale: e, sceneId: n }) => {
|
|
6104
|
-
if (!
|
|
6104
|
+
if (!Ze(n) || !(t != null && t.renderer) || !c) return;
|
|
6105
6105
|
let { pointsLayer: i } = c;
|
|
6106
6106
|
i && (r.current = e, o.execute(() => {
|
|
6107
6107
|
let e = i.children, n = [];
|
|
@@ -6117,7 +6117,7 @@ function Ga({ enabled: e, rendererService: t }) {
|
|
|
6117
6117
|
o
|
|
6118
6118
|
]), f = (0, Y.useCallback)(({ data: e }) => {
|
|
6119
6119
|
o.execute(() => {
|
|
6120
|
-
let { point: t } =
|
|
6120
|
+
let { point: t } = k(e);
|
|
6121
6121
|
o.add({
|
|
6122
6122
|
x: t.x,
|
|
6123
6123
|
y: t.y
|
|
@@ -6201,7 +6201,7 @@ function ro({ permission: e, rendererService: t, dataJsonUrl: n, websocketUrl: r
|
|
|
6201
6201
|
let w = c.find((e) => e.name === Ei), T = /* @__PURE__ */ new Map();
|
|
6202
6202
|
m.current = ({ ptScale: e, sceneId: n }) => {
|
|
6203
6203
|
try {
|
|
6204
|
-
if (!
|
|
6204
|
+
if (!Ze(n)) return;
|
|
6205
6205
|
a.current = io(e);
|
|
6206
6206
|
let r = [];
|
|
6207
6207
|
for (let e = 0; e < C.length; e++) {
|
|
@@ -6237,7 +6237,7 @@ function ro({ permission: e, rendererService: t, dataJsonUrl: n, websocketUrl: r
|
|
|
6237
6237
|
}));
|
|
6238
6238
|
let E = null;
|
|
6239
6239
|
try {
|
|
6240
|
-
E =
|
|
6240
|
+
E = Xe(await y(`${i}icons/bus-white.svg`), Ya, Ya, window.devicePixelRatio);
|
|
6241
6241
|
} catch (e) {
|
|
6242
6242
|
console.error(e);
|
|
6243
6243
|
}
|
|
@@ -6314,22 +6314,22 @@ function ro({ permission: e, rendererService: t, dataJsonUrl: n, websocketUrl: r
|
|
|
6314
6314
|
} catch (e) {
|
|
6315
6315
|
console.error("handleSocketMessage", e);
|
|
6316
6316
|
}
|
|
6317
|
-
},
|
|
6317
|
+
}, b(), S(e.config ? (Number(e.config.vehicle_inactive_interval) || 20) * 1e3 : to);
|
|
6318
6318
|
} catch (e) {
|
|
6319
6319
|
console.warn(e);
|
|
6320
6320
|
}
|
|
6321
6321
|
}
|
|
6322
6322
|
v();
|
|
6323
|
-
function
|
|
6323
|
+
function b() {
|
|
6324
6324
|
var e, t;
|
|
6325
6325
|
((e = c.current) == null ? void 0 : e.readyState) === WebSocket.OPEN || ((t = c.current) == null ? void 0 : t.readyState) === WebSocket.CONNECTING || (c.current = new WebSocket(r), c.current.onmessage = l.current, c.current.onopen = () => {
|
|
6326
6326
|
h.current = eo;
|
|
6327
6327
|
}, c.current.onclose = () => {
|
|
6328
|
-
navigator.onLine && (setTimeout(
|
|
6328
|
+
navigator.onLine && (setTimeout(b, h.current), h.current = Math.min(h.current * 2, 3e4));
|
|
6329
6329
|
});
|
|
6330
6330
|
}
|
|
6331
6331
|
function x() {
|
|
6332
|
-
|
|
6332
|
+
b();
|
|
6333
6333
|
}
|
|
6334
6334
|
window.addEventListener("online", x);
|
|
6335
6335
|
function S(e) {
|
|
@@ -6381,7 +6381,7 @@ function lo(e) {
|
|
|
6381
6381
|
return `${e}_finery`;
|
|
6382
6382
|
}
|
|
6383
6383
|
function uo({ rendererService: e, updateQueue: t, vehicle: n, vehicleFinery: r, x: i, y: a, scale: o, angle: s }) {
|
|
6384
|
-
n.bounds = I(i, a, n.source.width, n.source.height, o, s), n.hidden = !1, r ? (r.bounds = I(i, a, r.source.width, r.source.height, o,
|
|
6384
|
+
n.bounds = I(i, a, n.source.width, n.source.height, o, s), n.hidden = !1, r ? (r.bounds = I(i, a, r.source.width, r.source.height, o, gt(e.angle)), r.hidden = !1, t.add(() => e.update(r, n))) : t.add(() => e.update(n));
|
|
6385
6385
|
}
|
|
6386
6386
|
function fo(e, t, n) {
|
|
6387
6387
|
return {
|
|
@@ -6457,14 +6457,14 @@ function wo() {
|
|
|
6457
6457
|
let e = ct.booths.filter((e) => e.visible && e.rect && e.rect.w > 0 && e.rect.h > 0);
|
|
6458
6458
|
if (vo = /* @__PURE__ */ new Map(), yo = [], xo = [], Co = null, So = /* @__PURE__ */ new Map(), !e.length) return;
|
|
6459
6459
|
bo = e.filter((e) => e.paths);
|
|
6460
|
-
let t =
|
|
6460
|
+
let t = F.fromMultiple(e.map((e) => e.rect));
|
|
6461
6461
|
for (let t of e) {
|
|
6462
6462
|
let e = t.rect;
|
|
6463
6463
|
Math.abs(t.rotate) === 90 * Math.PI / 180 && (e = e.getRotated90()), yo.push(e), vo.set(e, t);
|
|
6464
6464
|
}
|
|
6465
6465
|
let n = Math.ceil(t.w / 2), r = Math.ceil(t.h / 2);
|
|
6466
6466
|
for (let e = 0; e < 2; e++) for (let i = 0; i < 2; i++) {
|
|
6467
|
-
let a = t.x1 + e * n, o = t.y1 + i * r, s =
|
|
6467
|
+
let a = t.x1 + e * n, o = t.y1 + i * r, s = F.fromXywh(a, o, n, r);
|
|
6468
6468
|
xo.push(s);
|
|
6469
6469
|
let c = yo.filter((e) => s.intersects(e));
|
|
6470
6470
|
So.set(s, c);
|
|
@@ -6473,8 +6473,8 @@ function wo() {
|
|
|
6473
6473
|
}
|
|
6474
6474
|
l(() => [
|
|
6475
6475
|
ct.booths,
|
|
6476
|
-
|
|
6477
|
-
|
|
6476
|
+
U.loaded,
|
|
6477
|
+
U.visible
|
|
6478
6478
|
], () => wo());
|
|
6479
6479
|
function To(e, t) {
|
|
6480
6480
|
let n;
|
|
@@ -6489,7 +6489,7 @@ function To(e, t) {
|
|
|
6489
6489
|
return t.visible ? t : null;
|
|
6490
6490
|
}
|
|
6491
6491
|
}
|
|
6492
|
-
for (let n of bo) for (let r of n.paths) for (let i of oe(r.index,
|
|
6492
|
+
for (let n of bo) for (let r of n.paths) for (let i of oe(r.index, U.mode === Ve.Default ? "" : n.layer.name)) if (Fi(e, t, i)) return n.visible ? n : null;
|
|
6493
6493
|
return null;
|
|
6494
6494
|
}
|
|
6495
6495
|
function Eo(e, t) {
|
|
@@ -6497,30 +6497,30 @@ function Eo(e, t) {
|
|
|
6497
6497
|
}
|
|
6498
6498
|
//#endregion
|
|
6499
6499
|
//#region src/components/Map/Map.tsx
|
|
6500
|
-
var Do = Number.isFinite(
|
|
6500
|
+
var Do = Number.isFinite(N.maxZoom);
|
|
6501
6501
|
function Oo() {
|
|
6502
6502
|
let e = {}, t = (0, Y.useRef)(), n = (0, Y.useMemo)(() => u({
|
|
6503
6503
|
moving: !1,
|
|
6504
|
-
prevLevel:
|
|
6505
|
-
}), []), r =
|
|
6506
|
-
J(() =>
|
|
6507
|
-
if (!r.scene || n.prevLevel ===
|
|
6508
|
-
let e = r.scene.rootLayer.children.filter((e) =>
|
|
6504
|
+
prevLevel: G.layerStore.layers.find((e) => !e.frozen && e.visible)
|
|
6505
|
+
}), []), r = G.rendererService, i, o = (0, Y.useRef)(null), s = null, c = null, [l, d] = (0, Y.useState)(() => typeof window < "u" && window.localStorage ? localStorage.getItem(a) !== "false" : !0);
|
|
6506
|
+
J(() => G.routeStore.currentRouteLayer, () => {
|
|
6507
|
+
if (!r.scene || n.prevLevel === G.routeStore.currentRouteLayer) return;
|
|
6508
|
+
let e = r.scene.rootLayer.children.filter((e) => G.layerStore.floors.some((t) => e.name.includes(t.name))), t = G.routeStore.currentRouteLayer.name;
|
|
6509
6509
|
if (!e.find((e) => e.name === t)) return;
|
|
6510
6510
|
let i = e == null ? void 0 : e.map((e) => {
|
|
6511
6511
|
var r;
|
|
6512
6512
|
return e.name === t && (e.hidden = !1), e.name === ((r = n.prevLevel) == null ? void 0 : r.name) && (e.hidden = !0), e;
|
|
6513
6513
|
});
|
|
6514
|
-
n.prevLevel =
|
|
6515
|
-
}), J(() =>
|
|
6516
|
-
!
|
|
6514
|
+
n.prevLevel = G.routeStore.currentRouteLayer, r.update(...i);
|
|
6515
|
+
}), J(() => q.centerMap, () => {
|
|
6516
|
+
!q.centerMap || G.mapboxStore.showMapbox || (i.controls.resetCamera({ zoom: !!(q.list.type === "search" && q.list.text) }), q.centerMap = !1);
|
|
6517
6517
|
}), (0, Y.useEffect)(() => {
|
|
6518
6518
|
if (!t.current) return;
|
|
6519
6519
|
async function n() {
|
|
6520
6520
|
let n = {};
|
|
6521
6521
|
try {
|
|
6522
6522
|
if (C) {
|
|
6523
|
-
let e = document.createElement("canvas").getContext("webgl2"), t = e && e.getExtension("EXT_disjoint_timer_query_webgl2"), r = (await import("./main-
|
|
6523
|
+
let e = document.createElement("canvas").getContext("webgl2"), t = e && e.getExtension("EXT_disjoint_timer_query_webgl2"), r = (await import("./main-B3R1fH3d.js")).default, i = new r({
|
|
6524
6524
|
trackGPU: t,
|
|
6525
6525
|
horizontal: !0
|
|
6526
6526
|
}), a = o.current;
|
|
@@ -6536,39 +6536,39 @@ function Oo() {
|
|
|
6536
6536
|
i = r.create({
|
|
6537
6537
|
canvas: t.current,
|
|
6538
6538
|
ui: n
|
|
6539
|
-
}),
|
|
6539
|
+
}), q.canvasVisibleRectPx && (i.visibleRect = Ce.fromCoreRect(q.canvasVisibleRectPx)), na(r).then((t) => {
|
|
6540
6540
|
var n;
|
|
6541
6541
|
C && console.log("Renderer settings", i);
|
|
6542
|
-
let a = (0, ai.default)(
|
|
6543
|
-
e =
|
|
6542
|
+
let a = (0, ai.default)(N.backgroundColor === "none" ? "#ebebeb" : N.backgroundColor).string("rgba");
|
|
6543
|
+
e = Oe(t, Ce.fromCoreRect(ke), a), r.start(e), Re(i, +!!G.fp.enableRotation), Do && i.viewport.setMaxZoom(N.maxZoom), U.layersLoaded = !0, G.fp.onFpConfigured && ((n = G.fp) == null || n.onFpConfigured()), s = Ma(r), c = xi(r), Ke(r);
|
|
6544
6544
|
}), i.events.addEventListener("pointer:move", ({ data: e }) => {
|
|
6545
|
-
if (
|
|
6546
|
-
let { point: t, defs: n } =
|
|
6547
|
-
|
|
6545
|
+
if (q.setKioskModeEnabled) return;
|
|
6546
|
+
let { point: t, defs: n } = k(e), r = Eo(t.x, t.y), i = h(n[0]);
|
|
6547
|
+
q.hoveredBooth = r || i;
|
|
6548
6548
|
}), i.events.addEventListener("pointer:out", () => {
|
|
6549
|
-
|
|
6549
|
+
q.setKioskModeEnabled || (q.hoveredBooth = null);
|
|
6550
6550
|
}), i.events.addEventListener("pointer:click", ({ data: e }) => {
|
|
6551
|
-
if (!(
|
|
6552
|
-
window.__resett && window.__resett(),
|
|
6553
|
-
let { point: t, defs: n } =
|
|
6554
|
-
if (
|
|
6555
|
-
let e =
|
|
6556
|
-
|
|
6551
|
+
if (!(q != null && q.rootElement)) return;
|
|
6552
|
+
window.__resett && window.__resett(), q.overlayPosition === "bottom" && q.overlaySize === "full" && G.showMap();
|
|
6553
|
+
let { point: t, defs: n } = k(e), { x: i, y: a } = t;
|
|
6554
|
+
if (q.onGetCoordsClick) {
|
|
6555
|
+
let e = G.layerStore.layers.find((e) => e.visible && (e.mode === lt.TurnedOn || e.mode === lt.TurnedOff));
|
|
6556
|
+
q.onGetCoordsClick({
|
|
6557
6557
|
x: i,
|
|
6558
6558
|
y: a,
|
|
6559
6559
|
z: (e == null ? void 0 : e.name) || null
|
|
6560
6560
|
});
|
|
6561
6561
|
}
|
|
6562
|
-
if (
|
|
6563
|
-
if (
|
|
6562
|
+
if (q.setKioskModeEnabled) return;
|
|
6563
|
+
if (q.onMarkerClick) {
|
|
6564
6564
|
let e = Si(i, a, r.scale);
|
|
6565
|
-
C && console.log("marker", e),
|
|
6565
|
+
C && console.log("marker", e), q.onMarkerClick(e);
|
|
6566
6566
|
}
|
|
6567
6567
|
let o = Eo(t.x, t.y), s = h(n[0]);
|
|
6568
|
-
C && console.log("boothIdFromClientXy", o, "boothByShape", s, "pointer:click point", t),
|
|
6568
|
+
C && console.log("boothIdFromClientXy", o, "boothByShape", s, "pointer:click point", t), G.clickBooth(o || s);
|
|
6569
6569
|
}), i.events.addEventListener("navigation:change", () => window.__resett && window.__resett());
|
|
6570
6570
|
}
|
|
6571
|
-
return n(),
|
|
6571
|
+
return n(), G.fp.getCenterCoordinates = p, () => f();
|
|
6572
6572
|
}, []);
|
|
6573
6573
|
function f() {
|
|
6574
6574
|
s == null || s(), c == null || c(), r.dispose();
|
|
@@ -6576,10 +6576,10 @@ function Oo() {
|
|
|
6576
6576
|
function p() {
|
|
6577
6577
|
let e = t.current;
|
|
6578
6578
|
if (!t.current) throw Error("Canvas not ready");
|
|
6579
|
-
let n =
|
|
6579
|
+
let n = Je(i.viewport.canvasToSvg({
|
|
6580
6580
|
x: e.clientWidth / 2,
|
|
6581
6581
|
y: e.clientHeight / 2
|
|
6582
|
-
})), r =
|
|
6582
|
+
})), r = G.layerStore.visible.find((e) => e.mode === lt.TurnedOff || e.mode === lt.TurnedOn), a = (r == null ? void 0 : r.name) || null;
|
|
6583
6583
|
return {
|
|
6584
6584
|
...n,
|
|
6585
6585
|
z: a
|
|
@@ -6591,32 +6591,32 @@ function Oo() {
|
|
|
6591
6591
|
return (n = t.shapes) == null ? void 0 : n.find((t) => t.shape == e.shape);
|
|
6592
6592
|
});
|
|
6593
6593
|
}
|
|
6594
|
-
J(() =>
|
|
6595
|
-
if (!
|
|
6596
|
-
let e =
|
|
6597
|
-
i.controls.zoomBy(e),
|
|
6598
|
-
}), J(() =>
|
|
6594
|
+
J(() => q.zoomBy, () => {
|
|
6595
|
+
if (!q.zoomBy || G.mapboxStore.showMapbox) return;
|
|
6596
|
+
let e = q.zoomBy;
|
|
6597
|
+
i.controls.zoomBy(e), q.zoomBy = null;
|
|
6598
|
+
}), J(() => q.dimmed, (e) => {
|
|
6599
6599
|
if (!r.scene) return;
|
|
6600
6600
|
let t = r.scene.rootLayer;
|
|
6601
6601
|
t.dim !== e && (t.dim = e, r.update(t));
|
|
6602
|
-
}), J(() =>
|
|
6603
|
-
if (!
|
|
6604
|
-
if (!
|
|
6605
|
-
|
|
6602
|
+
}), J(() => q.details, () => {
|
|
6603
|
+
if (!q.onDetails) return;
|
|
6604
|
+
if (!q.details) {
|
|
6605
|
+
q.onDetails(null);
|
|
6606
6606
|
return;
|
|
6607
6607
|
}
|
|
6608
|
-
var e =
|
|
6609
|
-
if (
|
|
6608
|
+
var e = q.details;
|
|
6609
|
+
if (N.EXPO === "wineparis" && (e instanceof ce && (e = e.booths[0]), !e)) return;
|
|
6610
6610
|
let t = null, n = [];
|
|
6611
|
-
if (e instanceof
|
|
6611
|
+
if (e instanceof ce) t = "exhibitor", n = e.booths.map((e) => e.name).sort((e, t) => {
|
|
6612
6612
|
var n, r;
|
|
6613
|
-
return e == ((n =
|
|
6613
|
+
return e == ((n = G.routeStore.tempToBooth) == null ? void 0 : n.name) ? -1 : +(t == ((r = G.routeStore.tempToBooth) == null ? void 0 : r.name));
|
|
6614
6614
|
});
|
|
6615
|
-
else if (e instanceof
|
|
6616
|
-
else if (e instanceof
|
|
6615
|
+
else if (e instanceof fe) t = "booth", n = [e.name];
|
|
6616
|
+
else if (e instanceof Ye) {
|
|
6617
6617
|
var r, i;
|
|
6618
6618
|
t = "route", n = [(r = e.from) == null ? void 0 : r.name, (i = e.to) == null ? void 0 : i.name].filter((e) => !!e);
|
|
6619
|
-
} else e instanceof
|
|
6619
|
+
} else e instanceof Se && (t = "category", n = e.exhibitors.map((e) => e.booths.map((e) => e.name)).flat());
|
|
6620
6620
|
var a = {
|
|
6621
6621
|
type: t,
|
|
6622
6622
|
name: e == null ? void 0 : e.name,
|
|
@@ -6624,28 +6624,28 @@ function Oo() {
|
|
|
6624
6624
|
externalId: e == null ? void 0 : e.externalId,
|
|
6625
6625
|
boothsNames: n
|
|
6626
6626
|
};
|
|
6627
|
-
|
|
6627
|
+
q.onDetails({
|
|
6628
6628
|
...a,
|
|
6629
|
-
...t === "route" ? { routeInfo:
|
|
6629
|
+
...t === "route" ? { routeInfo: G.routeStore.routeInfo } : {}
|
|
6630
6630
|
});
|
|
6631
|
-
}), J(() =>
|
|
6632
|
-
r.renderer && (r.renderer.visibleRect =
|
|
6633
|
-
}, { fireImmediately: !0 }), J(() =>
|
|
6634
|
-
!
|
|
6635
|
-
}), J(() =>
|
|
6636
|
-
e && (i.controls.resetCamera({ roll: !0 }),
|
|
6637
|
-
}), J(() =>
|
|
6638
|
-
if (g.log("this.moveToBooths",
|
|
6639
|
-
g.log("watched moveToBooths",
|
|
6640
|
-
let e =
|
|
6641
|
-
e.length !== 0 && (v(
|
|
6642
|
-
}), J(() =>
|
|
6643
|
-
if (!(
|
|
6644
|
-
e && e !==
|
|
6631
|
+
}), J(() => q.canvasVisibleRectPx, () => {
|
|
6632
|
+
r.renderer && (r.renderer.visibleRect = Ce.fromCoreRect(q.canvasVisibleRectPx));
|
|
6633
|
+
}, { fireImmediately: !0 }), J(() => q.moveToRect, () => {
|
|
6634
|
+
!q.moveToRect || G.mapboxStore.showMapbox || (q.moveToRect && q.moveToRect.h !== Infinity && q.moveToRect.w !== Infinity && q.moveToRect.h > 0 && q.moveToRect.w > 0 && v(q.moveToRect), q.moveToRect = null);
|
|
6635
|
+
}), J(() => q.rollReset, (e) => {
|
|
6636
|
+
e && (i.controls.resetCamera({ roll: !0 }), q.rollReset = !1);
|
|
6637
|
+
}), J(() => q.moveToBooths, () => {
|
|
6638
|
+
if (g.log("this.moveToBooths", q.moveToBooths), !q.moveToBooths || G.mapboxStore.showMapbox) return;
|
|
6639
|
+
g.log("watched moveToBooths", q.moveToBooths);
|
|
6640
|
+
let e = q.moveToBooths.filter((e) => e.rect).map((e) => e.rect);
|
|
6641
|
+
e.length !== 0 && (v(F.fromMultiple(e)), q.moveToBooths = null);
|
|
6642
|
+
}), J(() => q.mapSettings, ({ zoomtime: e, center: t, centerxy: n, bearing: a, roll: o, z: s }) => {
|
|
6643
|
+
if (!(G.mapboxStore.showMapbox || !r.renderer)) try {
|
|
6644
|
+
e && e !== q.defaultMapSettings.zoomtime && r.renderer.controls.configure({ zoomTime: e / 1e3 }), G.fp.enableRotation && Re(i, o);
|
|
6645
6645
|
let c;
|
|
6646
6646
|
if (t) {
|
|
6647
6647
|
let e = t.split(",").map(Number);
|
|
6648
|
-
c =
|
|
6648
|
+
c = He(new ve(void 0, void 0, void 0, void 0, e[0], e[1]), W.properties.config);
|
|
6649
6649
|
} else if (n) {
|
|
6650
6650
|
let e = n.split(",").map(Number);
|
|
6651
6651
|
c = {
|
|
@@ -6653,21 +6653,21 @@ function Oo() {
|
|
|
6653
6653
|
y: e[1]
|
|
6654
6654
|
};
|
|
6655
6655
|
}
|
|
6656
|
-
s &&
|
|
6656
|
+
s && G.fp.activateFloor({ name: s }), (c != null && c.x || c != null && c.y) && r.renderer.controls.panTo(c.x, c.y), Number.isFinite(a) && r.renderer.controls.rollTo(a);
|
|
6657
6657
|
} catch (e) {
|
|
6658
6658
|
g.error("Error in mapSettings reaction", e);
|
|
6659
6659
|
}
|
|
6660
6660
|
}), Ga({
|
|
6661
|
-
enabled:
|
|
6661
|
+
enabled: U.layersLoaded && q.buildRoute,
|
|
6662
6662
|
rendererService: r
|
|
6663
6663
|
});
|
|
6664
6664
|
let _ = "routes-api.expofp.com";
|
|
6665
6665
|
ro({
|
|
6666
|
-
permission:
|
|
6666
|
+
permission: U.layersLoaded,
|
|
6667
6667
|
rendererService: r,
|
|
6668
|
-
dataJsonUrl: `https://${_}/v1/routes?expo=${
|
|
6669
|
-
websocketUrl: `wss://${_}/locations?expo=${
|
|
6670
|
-
}), J(() =>
|
|
6668
|
+
dataJsonUrl: `https://${_}/v1/routes?expo=${N.EXPO}`,
|
|
6669
|
+
websocketUrl: `wss://${_}/locations?expo=${N.EXPO}`
|
|
6670
|
+
}), J(() => G.layerStore.visible, (e) => {
|
|
6671
6671
|
if (!r.scene) return;
|
|
6672
6672
|
let t = e.filter((e) => e.name.toLowerCase().includes(m)), n = r.scene.rootLayer.children.filter((e) => e.name.toLowerCase().includes(m));
|
|
6673
6673
|
n.forEach((e) => {
|
|
@@ -6676,23 +6676,23 @@ function Oo() {
|
|
|
6676
6676
|
});
|
|
6677
6677
|
function v(e) {
|
|
6678
6678
|
var t, n;
|
|
6679
|
-
let r = e, a = y(e,
|
|
6680
|
-
|
|
6681
|
-
let o =
|
|
6679
|
+
let r = e, a = y(e, ke);
|
|
6680
|
+
q.kioskData && (!We() || ((t = G.routeStore.defaultFrom) == null || (t = t.layer) == null ? void 0 : t.name) === ((n = G.routeStore.currentRouteLayer) == null ? void 0 : n.name)) && (r = F.fromMultiple([e, F.fromXywh(q.kioskData.x, q.kioskData.y, 1, 1)]));
|
|
6681
|
+
let o = Ce.fromCoreRect(r), s = {
|
|
6682
6682
|
paddingPercent: a,
|
|
6683
6683
|
maxZoom: Do ? void 0 : 10
|
|
6684
6684
|
};
|
|
6685
|
-
if (
|
|
6685
|
+
if (q.shouldShiftMapRect) {
|
|
6686
6686
|
i.visibleRect.min = {
|
|
6687
6687
|
...i.visibleRect.min,
|
|
6688
|
-
x: i.visibleRect.min.x +
|
|
6688
|
+
x: i.visibleRect.min.x + q.overlayWidthPx
|
|
6689
6689
|
}, i.visibleRect = i.visibleRect;
|
|
6690
6690
|
try {
|
|
6691
6691
|
i.controls.zoomTo(o, s);
|
|
6692
6692
|
} finally {
|
|
6693
6693
|
i.visibleRect.min = {
|
|
6694
6694
|
...i.visibleRect.min,
|
|
6695
|
-
x: i.visibleRect.min.x -
|
|
6695
|
+
x: i.visibleRect.min.x - q.overlayWidthPx
|
|
6696
6696
|
};
|
|
6697
6697
|
}
|
|
6698
6698
|
} else i.controls.zoomTo(o, s);
|
|
@@ -6700,7 +6700,7 @@ function Oo() {
|
|
|
6700
6700
|
function y(e, t) {
|
|
6701
6701
|
return !e || !t ? 0 : (e.w * e.h / (t.h * t.w) > .1 ? 15 : 25) / 100;
|
|
6702
6702
|
}
|
|
6703
|
-
return
|
|
6703
|
+
return B(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [/* @__PURE__ */ (0, Z.jsx)("canvas", {
|
|
6704
6704
|
style: {
|
|
6705
6705
|
width: "100%",
|
|
6706
6706
|
height: "100%"
|
|
@@ -6709,10 +6709,10 @@ function Oo() {
|
|
|
6709
6709
|
className: (0, X.default)({
|
|
6710
6710
|
map: !0,
|
|
6711
6711
|
moving: n.moving,
|
|
6712
|
-
hidden:
|
|
6712
|
+
hidden: G.mapboxStore.showMapbox
|
|
6713
6713
|
}),
|
|
6714
6714
|
children: "ExpoFP.com"
|
|
6715
|
-
}), C && l && /* @__PURE__ */ (0, Z.jsxs)(
|
|
6715
|
+
}), C && l && /* @__PURE__ */ (0, Z.jsxs)(j, {
|
|
6716
6716
|
className: "debug-fps",
|
|
6717
6717
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", { ref: o }), /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
6718
6718
|
onClick: () => {
|
|
@@ -6736,7 +6736,7 @@ function Oo() {
|
|
|
6736
6736
|
function ko() {
|
|
6737
6737
|
return /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
6738
6738
|
className: "map-loader",
|
|
6739
|
-
style:
|
|
6739
|
+
style: R(() => ({ get style() {
|
|
6740
6740
|
return { left: 0 };
|
|
6741
6741
|
} })).style,
|
|
6742
6742
|
children: /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
@@ -6759,8 +6759,8 @@ function ko() {
|
|
|
6759
6759
|
//#region src/components/Menu.tsx
|
|
6760
6760
|
var Ao = Y.lazy(() => import(
|
|
6761
6761
|
/* webpackChunkName: "viewer-menu-panel" */
|
|
6762
|
-
"./ViewerMenuPanel-
|
|
6763
|
-
)), jo = /^https?:\/\//i.test(
|
|
6762
|
+
"./ViewerMenuPanel-C9M519BJ.js"
|
|
6763
|
+
)), jo = /^https?:\/\//i.test(L.logo) ? L.logo : window.__dataUrlBase + L.logo;
|
|
6764
6764
|
g.log("Logo url: ", jo), window.setTimeout(function() {
|
|
6765
6765
|
let e = new Image();
|
|
6766
6766
|
e.onload = () => {
|
|
@@ -6768,40 +6768,40 @@ g.log("Logo url: ", jo), window.setTimeout(function() {
|
|
|
6768
6768
|
}, e.crossOrigin = "anonymous", e.src = jo;
|
|
6769
6769
|
}, 1500);
|
|
6770
6770
|
function Mo({ allowConsent: e, isGDPR: t }) {
|
|
6771
|
-
let n =
|
|
6771
|
+
let n = R(() => ({
|
|
6772
6772
|
logoVisibility: "visible",
|
|
6773
6773
|
shown: !1,
|
|
6774
6774
|
shownTimeout: void 0,
|
|
6775
6775
|
modalOpen: !1,
|
|
6776
|
-
selectedCategoryIds: (
|
|
6777
|
-
pendingSelectedIds: (
|
|
6776
|
+
selectedCategoryIds: (q.selectedCategoryFilters || []).map((e) => Number(e.id)),
|
|
6777
|
+
pendingSelectedIds: (q.selectedCategoryFilters || []).map((e) => Number(e.id))
|
|
6778
6778
|
}));
|
|
6779
6779
|
c(() => {
|
|
6780
|
-
|
|
6780
|
+
q.menu ? (n.shownTimeout = window.setTimeout(() => n.shown = !0, 1), q.list.type === "sessions" && G.searchStore.selectSearch()) : (n.shown = !1, n.shownTimeout && window.clearTimeout(n.shownTimeout));
|
|
6781
6781
|
});
|
|
6782
6782
|
function r(e) {
|
|
6783
|
-
if (
|
|
6783
|
+
if (q.kiosk) return e.preventDefault();
|
|
6784
6784
|
}
|
|
6785
6785
|
function i(e) {
|
|
6786
|
-
e.preventDefault(), s(),
|
|
6786
|
+
e.preventDefault(), s(), G.searchStore.selectSearch();
|
|
6787
6787
|
}
|
|
6788
6788
|
function a(e) {
|
|
6789
6789
|
var t, n;
|
|
6790
|
-
e.preventDefault(), (t =
|
|
6790
|
+
e.preventDefault(), (t = G.fp) == null || (n = t.onLeaveEvent) == null || n.call(t);
|
|
6791
6791
|
}
|
|
6792
6792
|
function o(e) {
|
|
6793
|
-
e.preventDefault(),
|
|
6793
|
+
e.preventDefault(), G.clickLanguage();
|
|
6794
6794
|
}
|
|
6795
|
-
return
|
|
6795
|
+
return B(() => {
|
|
6796
6796
|
var s, c;
|
|
6797
|
-
if (!
|
|
6798
|
-
let l =
|
|
6797
|
+
if (!q.menu) return null;
|
|
6798
|
+
let l = G.boothStore.booths.filter((e) => e.bookmarked).map((e) => e.name), u = (s = window.__fpSettings) != null && s.fpVer ? `https://api-v2.expofp.com/export/v2/${N.EXPO}/pdf` : `https://api.expofp.com/service/convert/${N.EXPO}/pdf`;
|
|
6799
6799
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
6800
6800
|
className: `menu ${n.shown ? "shown" : ""}`,
|
|
6801
6801
|
children: [In ? /* @__PURE__ */ (0, Z.jsx)("div", { className: "menu__cover -empty" }) : /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
6802
6802
|
className: "menu__cover",
|
|
6803
6803
|
children: /* @__PURE__ */ (0, Z.jsx)("a", {
|
|
6804
|
-
href:
|
|
6804
|
+
href: L.homeUrl,
|
|
6805
6805
|
target: "_blank",
|
|
6806
6806
|
rel: "noopener noreferrer",
|
|
6807
6807
|
onClick: r,
|
|
@@ -6816,31 +6816,31 @@ function Mo({ allowConsent: e, isGDPR: t }) {
|
|
|
6816
6816
|
}), /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
6817
6817
|
className: "menu__content",
|
|
6818
6818
|
children: [
|
|
6819
|
-
|
|
6819
|
+
q.viewerMode && /* @__PURE__ */ (0, Z.jsx)(Y.Suspense, {
|
|
6820
6820
|
fallback: null,
|
|
6821
6821
|
children: /* @__PURE__ */ (0, Z.jsx)(Ao, {})
|
|
6822
6822
|
}),
|
|
6823
|
-
!
|
|
6823
|
+
!q.viewerMode && /* @__PURE__ */ (0, Z.jsx)("a", {
|
|
6824
6824
|
href: "/#",
|
|
6825
6825
|
onClick: i,
|
|
6826
6826
|
className: "menu__item",
|
|
6827
6827
|
children: h("Search")
|
|
6828
6828
|
}),
|
|
6829
|
-
!
|
|
6830
|
-
href:
|
|
6829
|
+
!L.hideEventHomeLink && !q.kiosk && !In && !!L.homeUrl && /* @__PURE__ */ (0, Z.jsxs)("a", {
|
|
6830
|
+
href: L.homeUrl,
|
|
6831
6831
|
target: "_blank",
|
|
6832
6832
|
className: "menu__item",
|
|
6833
6833
|
rel: "noopener noreferrer",
|
|
6834
6834
|
children: [h("Event Home").replace(/ /g, "\xA0"), /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-link-external" })]
|
|
6835
6835
|
}),
|
|
6836
|
-
!
|
|
6837
|
-
href:
|
|
6836
|
+
!L.hideRegisterToAttendLink && !q.kiosk && !In && !!L.registerUrl && /* @__PURE__ */ (0, Z.jsxs)("a", {
|
|
6837
|
+
href: L.registerUrl,
|
|
6838
6838
|
target: "_blank",
|
|
6839
6839
|
className: "menu__item",
|
|
6840
6840
|
rel: "noopener noreferrer",
|
|
6841
6841
|
children: [h("Register to Attend").replace(/ /g, "\xA0"), /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-link-external" })]
|
|
6842
6842
|
}),
|
|
6843
|
-
!
|
|
6843
|
+
!q.hideLanguage && !L.hideLanguage && !L.hideLanguageLink && /* @__PURE__ */ (0, Z.jsxs)("a", {
|
|
6844
6844
|
href: "?language",
|
|
6845
6845
|
onClick: o,
|
|
6846
6846
|
className: "menu__item -language",
|
|
@@ -6855,22 +6855,22 @@ function Mo({ allowConsent: e, isGDPR: t }) {
|
|
|
6855
6855
|
}), /* @__PURE__ */ (0, Z.jsx)("i", { className: "icon-chevron-right" })]
|
|
6856
6856
|
})]
|
|
6857
6857
|
}),
|
|
6858
|
-
!
|
|
6858
|
+
!L.hideDownloadPdfLink && !q.kiosk && /* @__PURE__ */ (0, Z.jsx)("a", {
|
|
6859
6859
|
className: "menu__item -pdf",
|
|
6860
6860
|
target: "_blank",
|
|
6861
6861
|
rel: "noopener noreferrer",
|
|
6862
|
-
href: `${u}/?exhibitors=true&bookmarks=${l.join(",")}&layers=${(
|
|
6862
|
+
href: `${u}/?exhibitors=true&bookmarks=${l.join(",")}&layers=${(G.layerStore.layers.length >= G.layerStore.visible.length ? G.layerStore.visible.map((e) => e.name).join(",") : "").replace(/&/g, "%26")}`,
|
|
6863
6863
|
children: h("Download PDF")
|
|
6864
6864
|
}),
|
|
6865
6865
|
e === void 0 && t && /* @__PURE__ */ (0, Z.jsx)("a", {
|
|
6866
6866
|
href: "/#",
|
|
6867
6867
|
className: "menu__item -cookie-consent",
|
|
6868
6868
|
onClick: (e) => {
|
|
6869
|
-
e.preventDefault(),
|
|
6869
|
+
e.preventDefault(), q.hideCookieConsent = !1;
|
|
6870
6870
|
},
|
|
6871
6871
|
children: h("Review Cookie Consent")
|
|
6872
6872
|
}),
|
|
6873
|
-
|
|
6873
|
+
q.viewerMode && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
6874
6874
|
className: "menu__item-leave",
|
|
6875
6875
|
children: /* @__PURE__ */ (0, Z.jsx)("a", {
|
|
6876
6876
|
href: "/#",
|
|
@@ -6884,20 +6884,20 @@ function Mo({ allowConsent: e, isGDPR: t }) {
|
|
|
6884
6884
|
});
|
|
6885
6885
|
});
|
|
6886
6886
|
function s() {
|
|
6887
|
-
|
|
6887
|
+
q.menu = !1;
|
|
6888
6888
|
}
|
|
6889
6889
|
}
|
|
6890
|
-
var No = ({ isGDPR: e, allowConsent: t }) =>
|
|
6890
|
+
var No = ({ isGDPR: e, allowConsent: t }) => B(() => /* @__PURE__ */ (0, Z.jsx)(Z.Fragment, { children: q.menu ? /* @__PURE__ */ (0, Z.jsx)(Mo, {
|
|
6891
6891
|
isGDPR: e,
|
|
6892
6892
|
allowConsent: t
|
|
6893
6893
|
}) : null }));
|
|
6894
6894
|
//#endregion
|
|
6895
6895
|
//#region src/components/Search.tsx
|
|
6896
6896
|
function Po() {
|
|
6897
|
-
let e = (0, Y.useRef)(), t =
|
|
6897
|
+
let e = (0, Y.useRef)(), t = R(() => ({
|
|
6898
6898
|
updateOverlayContent: null,
|
|
6899
6899
|
get text() {
|
|
6900
|
-
return
|
|
6900
|
+
return q.list.type === "search" || q.list.type === "exhibitors" ? q.list.text : "";
|
|
6901
6901
|
},
|
|
6902
6902
|
get showClose() {
|
|
6903
6903
|
return !!this.text;
|
|
@@ -6907,12 +6907,12 @@ function Po() {
|
|
|
6907
6907
|
}
|
|
6908
6908
|
}));
|
|
6909
6909
|
(0, Y.useEffect)(() => {
|
|
6910
|
-
|
|
6910
|
+
G.fuzzySearchEngineStore.loadEngine();
|
|
6911
6911
|
}, []);
|
|
6912
6912
|
let n = (0, Y.useCallback)(() => {
|
|
6913
6913
|
t.updateOverlayContent && t.updateOverlayContent();
|
|
6914
6914
|
}, [t.updateOverlayContent]);
|
|
6915
|
-
return
|
|
6915
|
+
return B(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [/* @__PURE__ */ (0, Z.jsx)(jt, {
|
|
6916
6916
|
interfaceId: "search",
|
|
6917
6917
|
showFiltersButton: !1
|
|
6918
6918
|
}), /* @__PURE__ */ (0, Z.jsx)(un, {
|
|
@@ -6920,7 +6920,7 @@ function Po() {
|
|
|
6920
6920
|
updatedScrollableRef: e
|
|
6921
6921
|
})] }));
|
|
6922
6922
|
}
|
|
6923
|
-
var Fo = () =>
|
|
6923
|
+
var Fo = () => B(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [!q.details && !q.menu && q.list.type === "exhibitors" ? /* @__PURE__ */ (0, Z.jsx)(Po, {}) : null, !q.details && !q.menu && q.list.type === "search" && (G.fp.alwaysShowSidebar || q.heatmap || q.searchFocused || q.list.text.length > 0 || q.searchClearMode) ? /* @__PURE__ */ (0, Z.jsx)(Po, {}) : null] })), Io = ({ name: e, value: t, label: n, ariaLabel: r, className: i, onChange: a }) => {
|
|
6924
6924
|
let o = (0, Y.useId)();
|
|
6925
6925
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
6926
6926
|
className: (0, X.default)("efp-toggle-switch", i),
|
|
@@ -7024,7 +7024,7 @@ var Fo = () => V(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [!K.d
|
|
|
7024
7024
|
className: (0, X.default)("efp-wayInformation__item", { "is-accessible": t && n === 0 }),
|
|
7025
7025
|
children: [/* @__PURE__ */ (0, Z.jsx)("span", { children: e.title }), /* @__PURE__ */ (0, Z.jsx)("strong", { children: e.text })]
|
|
7026
7026
|
}, n))
|
|
7027
|
-
}) : null, Bo =
|
|
7027
|
+
}) : null, Bo = z(({ url: e }) => /* @__PURE__ */ (0, Z.jsx)(Y.Suspense, {
|
|
7028
7028
|
fallback: null,
|
|
7029
7029
|
children: /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
7030
7030
|
className: "route-qr",
|
|
@@ -7178,7 +7178,7 @@ var Fo = () => V(() => /* @__PURE__ */ (0, Z.jsxs)(Z.Fragment, { children: [!K.d
|
|
|
7178
7178
|
//#region src/components/Wayfinding.tsx
|
|
7179
7179
|
function Ho() {
|
|
7180
7180
|
let e = (0, Y.useRef)(null), t = (0, Y.useMemo)(() => {
|
|
7181
|
-
let e =
|
|
7181
|
+
let e = G.routeStore.pathLayers;
|
|
7182
7182
|
return e.map((t, n) => {
|
|
7183
7183
|
var r, i, a, o, s, c;
|
|
7184
7184
|
let l = e[n + 1], u = (r = (i = t.layer) == null ? void 0 : i.basePriority) == null ? 0 : r, d = (a = l == null || (o = l.layer) == null ? void 0 : o.basePriority) == null ? 0 : a, f = l ? d < u ? "up" : "down" : void 0;
|
|
@@ -7189,51 +7189,51 @@ function Ho() {
|
|
|
7189
7189
|
directionToNext: f
|
|
7190
7190
|
};
|
|
7191
7191
|
});
|
|
7192
|
-
}, [
|
|
7192
|
+
}, [G.routeStore.pathLayers]), [n, r] = (0, Y.useState)();
|
|
7193
7193
|
(0, Y.useEffect)(() => {
|
|
7194
7194
|
n || r(t[0]);
|
|
7195
|
-
}, [
|
|
7195
|
+
}, [G.routeStore.pathLayers, t]), (0, Y.useEffect)(() => {
|
|
7196
7196
|
let e = t.find((e) => {
|
|
7197
7197
|
var t, n;
|
|
7198
|
-
return ((t = e.description) == null ? void 0 : t.toLowerCase()) === ((n =
|
|
7198
|
+
return ((t = e.description) == null ? void 0 : t.toLowerCase()) === ((n = G.routeStore.currentRouteLayer) == null || (n = n.description) == null ? void 0 : n.toLowerCase());
|
|
7199
7199
|
});
|
|
7200
7200
|
e && r(e);
|
|
7201
|
-
}, [
|
|
7201
|
+
}, [G.routeStore.currentRouteLayer, t]), (0, Y.useEffect)(() => {
|
|
7202
7202
|
var e;
|
|
7203
|
-
let t =
|
|
7203
|
+
let t = q.selectedRoute;
|
|
7204
7204
|
if (!t) {
|
|
7205
|
-
|
|
7205
|
+
q.setIsMultiPointRoute(!1);
|
|
7206
7206
|
return;
|
|
7207
7207
|
}
|
|
7208
7208
|
let n = (((e = t.waypoints) == null ? void 0 : e.length) || 0) > 0;
|
|
7209
|
-
|
|
7210
|
-
}, [
|
|
7209
|
+
q.setIsMultiPointRoute(n);
|
|
7210
|
+
}, [q.selectedRoute]);
|
|
7211
7211
|
let i = () => {
|
|
7212
|
-
let { from: e, to: t } =
|
|
7212
|
+
let { from: e, to: t } = q.selectedRoute;
|
|
7213
7213
|
return !!(e && t);
|
|
7214
|
-
}, a = () =>
|
|
7214
|
+
}, a = () => q.overlaySize === "full", o = () => !!(i() && !a()), s = () => {
|
|
7215
7215
|
var e;
|
|
7216
|
-
let t =
|
|
7216
|
+
let t = q.selectedRoute;
|
|
7217
7217
|
return t ? (((e = t.waypoints) == null ? void 0 : e.length) || 0) > 0 ? "multi" : "simple" : "none";
|
|
7218
|
-
}, c = () =>
|
|
7218
|
+
}, c = () => q.routeTitle;
|
|
7219
7219
|
return (0, Y.useEffect)(() => {
|
|
7220
|
-
s() === "multi" &&
|
|
7221
|
-
}, [
|
|
7220
|
+
s() === "multi" && q.selectedRoute;
|
|
7221
|
+
}, [q.selectedRoute]), B(() => {
|
|
7222
7222
|
var r, i, a, l, u, d, f, p;
|
|
7223
7223
|
let m = s();
|
|
7224
7224
|
if (c(), m === "multi") {
|
|
7225
7225
|
var g, _;
|
|
7226
7226
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
7227
|
-
className: (0, X.default)("main-wayfinding", { hidden:
|
|
7228
|
-
children: [
|
|
7227
|
+
className: (0, X.default)("main-wayfinding", { hidden: q.kiosk && ((g = q.selectedRoute) == null ? void 0 : g.from) && ((_ = q.selectedRoute) == null ? void 0 : _.to) }),
|
|
7228
|
+
children: [q.routeDescription && /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
7229
7229
|
className: "efp-wayfinding-description",
|
|
7230
|
-
children:
|
|
7230
|
+
children: q.routeDescription
|
|
7231
7231
|
}), /* @__PURE__ */ (0, Z.jsx)(un, { updatedScrollableRef: e })]
|
|
7232
7232
|
});
|
|
7233
7233
|
}
|
|
7234
|
-
let v = [], y = () =>
|
|
7234
|
+
let v = [], y = () => G.routeStore.defaultFrom ? ct.booths.concat([G.routeStore.defaultFrom]) : ct.booths, b = y().filter((e) => e instanceof Ee), x = y().filter((e) => !(e instanceof Ee)), S = () => {
|
|
7235
7235
|
let e = [];
|
|
7236
|
-
return
|
|
7236
|
+
return tt.exhibitors.forEach((t) => {
|
|
7237
7237
|
v.push(...t.booths.map((e) => e.id)), e.push(...t.booths.map((e) => ({
|
|
7238
7238
|
value: e.id.toString(),
|
|
7239
7239
|
label: t.name + " - " + e.fullName
|
|
@@ -7250,10 +7250,10 @@ function Ho() {
|
|
|
7250
7250
|
});
|
|
7251
7251
|
}), e;
|
|
7252
7252
|
}, C = (e, t = !0) => {
|
|
7253
|
-
let n = y().filter((t) => t.id.toString() === e)[0], { from: r, to: i } =
|
|
7254
|
-
t ?
|
|
7253
|
+
let n = y().filter((t) => t.id.toString() === e)[0], { from: r, to: i } = q.selectedRoute;
|
|
7254
|
+
t ? G.routeStore.selectRoute(new Ye(n || null, i)) : G.routeStore.selectRoute(new Ye(r, n || null));
|
|
7255
7255
|
}, w = (e) => {
|
|
7256
|
-
let t = [], n =
|
|
7256
|
+
let t = [], n = je().getAttribute("units") || "ft", r = pe(e, ge(n)), i = /* @__PURE__ */ new Date();
|
|
7257
7257
|
i.setMinutes(i.getMinutes() + r / 60);
|
|
7258
7258
|
let a = i.toLocaleTimeString([], {
|
|
7259
7259
|
hour: "2-digit",
|
|
@@ -7270,41 +7270,41 @@ function Ho() {
|
|
|
7270
7270
|
text: a
|
|
7271
7271
|
}), t;
|
|
7272
7272
|
}, T = () => {
|
|
7273
|
-
let { from: e, to: t } =
|
|
7274
|
-
|
|
7275
|
-
}, E = ((r =
|
|
7273
|
+
let { from: e, to: t } = q.selectedRoute;
|
|
7274
|
+
G.routeStore.selectRoute(new Ye(t, e));
|
|
7275
|
+
}, E = ((r = q.selectedRoute) == null ? void 0 : r.from) && ((i = q.selectedRoute) == null ? void 0 : i.to) && !G.routeStore.routeLines.length;
|
|
7276
7276
|
return /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
7277
|
-
className: (0, X.default)("main-wayfinding", { hidden:
|
|
7277
|
+
className: (0, X.default)("main-wayfinding", { hidden: q.kiosk && ((a = q.selectedRoute) == null ? void 0 : a.from) && ((l = q.selectedRoute) == null ? void 0 : l.to) }),
|
|
7278
7278
|
children: /* @__PURE__ */ (0, Z.jsx)(Vo, {
|
|
7279
7279
|
showForm: !o(),
|
|
7280
|
-
showInfo: !!(!
|
|
7280
|
+
showInfo: !!(!L.hideWayInformation && N.EXPO !== "bloomberg" && (u = q.selectedRoute) != null && u.from && (d = q.selectedRoute) != null && d.to),
|
|
7281
7281
|
floors: t,
|
|
7282
7282
|
currentFloor: n,
|
|
7283
7283
|
onClickFloor: (e) => {
|
|
7284
|
-
let t =
|
|
7285
|
-
t != null && t.layer &&
|
|
7284
|
+
let t = G.routeStore.pathLayers.find((t) => t.id === e.id);
|
|
7285
|
+
t != null && t.layer && G.layerStore.updateVisibility(t.layer, !0);
|
|
7286
7286
|
},
|
|
7287
7287
|
routeFound: !E,
|
|
7288
7288
|
options: S(),
|
|
7289
|
-
fromValue: ((f =
|
|
7290
|
-
toValue: ((p =
|
|
7289
|
+
fromValue: ((f = q.selectedRoute) == null || (f = f.from) == null || (f = f.id) == null ? void 0 : f.toString()) || "",
|
|
7290
|
+
toValue: ((p = q.selectedRoute) == null || (p = p.to) == null || (p = p.id) == null ? void 0 : p.toString()) || "",
|
|
7291
7291
|
onChangeFrom: (e) => C(e, !0),
|
|
7292
7292
|
onChangeTo: (e) => C(e, !1),
|
|
7293
7293
|
onSwitch: T,
|
|
7294
|
-
infoItems: w(
|
|
7295
|
-
infoAccessible:
|
|
7296
|
-
showAccessible:
|
|
7297
|
-
onAccessibleCheck: (e) =>
|
|
7298
|
-
onClickInfo: () =>
|
|
7299
|
-
routeUrl:
|
|
7300
|
-
isKiosk:
|
|
7301
|
-
showDetailsIcon:
|
|
7294
|
+
infoItems: w(G.routeStore.routeDistance),
|
|
7295
|
+
infoAccessible: G.routeStore.onlyAccessible,
|
|
7296
|
+
showAccessible: G.routeStore.showAccessible,
|
|
7297
|
+
onAccessibleCheck: (e) => G.routeStore.setOnlyAccessible(e),
|
|
7298
|
+
onClickInfo: () => G.showOverlay(),
|
|
7299
|
+
routeUrl: q.routeQRCodeUrl,
|
|
7300
|
+
isKiosk: q.kiosk,
|
|
7301
|
+
showDetailsIcon: q.showRouteInstantly,
|
|
7302
7302
|
onDetailsIconClick: () => {
|
|
7303
7303
|
var e;
|
|
7304
|
-
let t = (e =
|
|
7304
|
+
let t = (e = G.routeStore.defaultFrom) == null ? void 0 : e.id, { from: n, to: r } = q.selectedRoute || {}, i = [r, n].find((e) => (e == null ? void 0 : e.id) !== t);
|
|
7305
7305
|
if (i) {
|
|
7306
7306
|
let e = S().find((e) => e.value === i.id.toString());
|
|
7307
|
-
|
|
7307
|
+
q.details = i.exhibitors.find((t) => e.label.includes(t.name)) || i;
|
|
7308
7308
|
}
|
|
7309
7309
|
}
|
|
7310
7310
|
})
|
|
@@ -7312,15 +7312,15 @@ function Ho() {
|
|
|
7312
7312
|
});
|
|
7313
7313
|
}
|
|
7314
7314
|
function Uo() {
|
|
7315
|
-
return
|
|
7315
|
+
return B(() => N.wayfinding && !q.menu && q.selectedRoute && q.list.type !== "route-planner" && /* @__PURE__ */ (0, Z.jsx)(Ho, {}));
|
|
7316
7316
|
}
|
|
7317
7317
|
//#endregion
|
|
7318
7318
|
//#region src/components/Speakers.tsx
|
|
7319
|
-
var Wo =
|
|
7320
|
-
let t = (0, Y.useRef)(), n =
|
|
7319
|
+
var Wo = z(({ showFilters: e = !0 }) => {
|
|
7320
|
+
let t = (0, Y.useRef)(), n = G.speakerStore.speakers, { filters: { selectedCompanies: { value: r }, selectedJobTitles: { value: i } } } = G.speakerFilterStore.state, a = (0, Y.useMemo)(() => {
|
|
7321
7321
|
let e = n;
|
|
7322
7322
|
r.length > 0 && (e = e.filter((e) => r.includes(e.company))), i.length > 0 && (e = e.filter((e) => i.includes(e.jobTitle)));
|
|
7323
|
-
let t =
|
|
7323
|
+
let t = G.searchStore.searchText;
|
|
7324
7324
|
return t && (e = new T(e, {
|
|
7325
7325
|
keys: [
|
|
7326
7326
|
"name",
|
|
@@ -7333,18 +7333,18 @@ var Wo = R(({ showFilters: e = !0 }) => {
|
|
|
7333
7333
|
}).search(t).map((e) => e.item)), e;
|
|
7334
7334
|
}, [
|
|
7335
7335
|
n,
|
|
7336
|
-
|
|
7336
|
+
G.searchStore.searchText,
|
|
7337
7337
|
r,
|
|
7338
7338
|
i,
|
|
7339
|
-
|
|
7339
|
+
G.speakerFilterStore.state
|
|
7340
7340
|
]);
|
|
7341
|
-
return
|
|
7341
|
+
return B(() => /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
7342
7342
|
className: "efp-speakers-content",
|
|
7343
7343
|
children: [e && /* @__PURE__ */ (0, Z.jsx)(jt, { interfaceId: "speakers" }), a.length > 0 ? /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
7344
7344
|
className: "efp-speakers-list",
|
|
7345
7345
|
ref: t,
|
|
7346
7346
|
children: a.map((e) => {
|
|
7347
|
-
let t =
|
|
7347
|
+
let t = G.speakerStore.getEventsBySpeaker(e.id), n = [];
|
|
7348
7348
|
return e.company && n.push({
|
|
7349
7349
|
type: "speaker",
|
|
7350
7350
|
text: e.jobTitle
|
|
@@ -7358,16 +7358,16 @@ var Wo = R(({ showFilters: e = !0 }) => {
|
|
|
7358
7358
|
itemsCount: t.length,
|
|
7359
7359
|
additionalInfo: n,
|
|
7360
7360
|
bookmarked: e.bookmarked,
|
|
7361
|
-
onClick: (t, n) =>
|
|
7361
|
+
onClick: (t, n) => G.selectSpeaker(e, !0)
|
|
7362
7362
|
}, e.id);
|
|
7363
7363
|
})
|
|
7364
7364
|
}) : /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
7365
7365
|
className: "list-empty",
|
|
7366
|
-
children:
|
|
7366
|
+
children: G.speakerFilterStore.activeFiltersCount > 0 || G.searchStore.searchText ? h("No speakers found. Try adjusting your filters.") : h("No speakers found")
|
|
7367
7367
|
})]
|
|
7368
7368
|
}));
|
|
7369
|
-
}), Go =
|
|
7370
|
-
let e =
|
|
7369
|
+
}), Go = z((e) => q.list.type !== "speakers" || q.details ? null : /* @__PURE__ */ (0, Z.jsx)(Wo, { ...e })), Ko = z(() => {
|
|
7370
|
+
let e = G.routePlannerStore, { from: t, stops: n, distance: r, travelTime: i } = e.subtitleParts;
|
|
7371
7371
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
7372
7372
|
className: "efp-planner__header",
|
|
7373
7373
|
children: [
|
|
@@ -7411,9 +7411,9 @@ var Wo = R(({ showFilters: e = !0 }) => {
|
|
|
7411
7411
|
d: "M16 11C16 13.7614 13.7614 16 11 16C8.23858 16 6 13.7614 6 11C6 8.23858 8.23858 6 11 6C13.7614 6 16 8.23858 16 11Z",
|
|
7412
7412
|
fill: "white"
|
|
7413
7413
|
})]
|
|
7414
|
-
}), Jo =
|
|
7414
|
+
}), Jo = z(({ startPoint: e, onSelectStartPoint: t }) => {
|
|
7415
7415
|
var n;
|
|
7416
|
-
let r =
|
|
7416
|
+
let r = G.routePlannerStore, i = r.startPointBoothOptions, a = r.startPointAutocompleteOptions;
|
|
7417
7417
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
7418
7418
|
className: "efp-planner__stop is-start",
|
|
7419
7419
|
children: [/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
@@ -7442,7 +7442,7 @@ var Wo = R(({ showFilters: e = !0 }) => {
|
|
|
7442
7442
|
u,
|
|
7443
7443
|
d ? Xo(d) ? `Level ${d}` : d : null
|
|
7444
7444
|
].filter(Boolean).join(", "), m = () => {
|
|
7445
|
-
a === "exhibitor" ?
|
|
7445
|
+
a === "exhibitor" ? G.selectExhibitor(o) : s && G.selectBooth(s), G.showMap();
|
|
7446
7446
|
};
|
|
7447
7447
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
7448
7448
|
className: (0, X.default)("efp-planner__stop", { "is-last": t }),
|
|
@@ -7475,8 +7475,8 @@ var Wo = R(({ showFilters: e = !0 }) => {
|
|
|
7475
7475
|
//#endregion
|
|
7476
7476
|
//#region src/components/RoutePlanner/RoutePlanner.tsx
|
|
7477
7477
|
function Qo() {
|
|
7478
|
-
return
|
|
7479
|
-
let e =
|
|
7478
|
+
return B(() => {
|
|
7479
|
+
let e = G.routePlannerStore, t = e.items;
|
|
7480
7480
|
return /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
7481
7481
|
className: "efp-planner",
|
|
7482
7482
|
children: [
|
|
@@ -7505,21 +7505,21 @@ function Qo() {
|
|
|
7505
7505
|
});
|
|
7506
7506
|
}
|
|
7507
7507
|
function $o() {
|
|
7508
|
-
return
|
|
7509
|
-
let e =
|
|
7510
|
-
return
|
|
7508
|
+
return B(() => {
|
|
7509
|
+
let e = q.details && !(q.details instanceof Ye);
|
|
7510
|
+
return q.list.type === "route-planner" && !q.menu && !e ? /* @__PURE__ */ (0, Z.jsx)(Qo, {}) : null;
|
|
7511
7511
|
});
|
|
7512
7512
|
}
|
|
7513
7513
|
//#endregion
|
|
7514
7514
|
//#region src/components/Speaker.tsx
|
|
7515
|
-
var es =
|
|
7515
|
+
var es = z(() => {
|
|
7516
7516
|
(0, Y.useRef)(null);
|
|
7517
|
-
let e = (0, Y.useRef)(null), [t, n] = (0, Y.useState)(!1), r =
|
|
7517
|
+
let e = (0, Y.useRef)(null), [t, n] = (0, Y.useState)(!1), r = G.speakerStore.selectedSpeaker;
|
|
7518
7518
|
if (!r) return /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
7519
7519
|
className: "efp-speaker-empty",
|
|
7520
7520
|
children: h("Speaker not found")
|
|
7521
7521
|
});
|
|
7522
|
-
let i =
|
|
7522
|
+
let i = G.speakerStore.getEventsBySpeaker(r.id), a = (0, Y.useMemo)(() => [...i].sort((e, t) => new Date(e.startDate).getTime() - new Date(t.startDate).getTime()), [i]);
|
|
7523
7523
|
(0, Y.useEffect)(() => {
|
|
7524
7524
|
(() => {
|
|
7525
7525
|
if (e.current) {
|
|
@@ -7529,18 +7529,18 @@ var es = R(() => {
|
|
|
7529
7529
|
})();
|
|
7530
7530
|
}, []);
|
|
7531
7531
|
let o = (e) => {
|
|
7532
|
-
|
|
7532
|
+
G.selectEventItem(e, !0);
|
|
7533
7533
|
}, s = () => {
|
|
7534
|
-
r.bookmarked = !r.bookmarked,
|
|
7534
|
+
r.bookmarked = !r.bookmarked, V(K.ClickCustomButton, r.name);
|
|
7535
7535
|
}, c = () => {
|
|
7536
|
-
|
|
7536
|
+
V(K.ClickCustomButton, r.name), G.toggleModal("share");
|
|
7537
7537
|
}, l = () => {
|
|
7538
|
-
|
|
7538
|
+
V(K.ClickCustomButton, r.name);
|
|
7539
7539
|
}, u = (0, X.default)({
|
|
7540
7540
|
"efp-speaker": !0,
|
|
7541
|
-
[
|
|
7541
|
+
[q.responsiveClass]: !0
|
|
7542
7542
|
});
|
|
7543
|
-
return
|
|
7543
|
+
return B(() => /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
7544
7544
|
className: u,
|
|
7545
7545
|
children: [
|
|
7546
7546
|
/* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
@@ -7578,8 +7578,8 @@ var es = R(() => {
|
|
|
7578
7578
|
}),
|
|
7579
7579
|
/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
7580
7580
|
className: "efp-speaker__buttons",
|
|
7581
|
-
children: !
|
|
7582
|
-
showBookmark: !
|
|
7581
|
+
children: !q.isGuidedToursActive && /* @__PURE__ */ (0, Z.jsx)(Cn, {
|
|
7582
|
+
showBookmark: !q.disableBookmarked && !L.hideBookmarks && !q.kiosk,
|
|
7583
7583
|
showDirections: !1,
|
|
7584
7584
|
inBookmark: r.bookmarked || !1,
|
|
7585
7585
|
showShare: !0,
|
|
@@ -7591,7 +7591,7 @@ var es = R(() => {
|
|
|
7591
7591
|
})
|
|
7592
7592
|
}),
|
|
7593
7593
|
/* @__PURE__ */ (0, Z.jsx)("div", {
|
|
7594
|
-
className: (0, X.default)("efp-speaker__details", { "details-hidden":
|
|
7594
|
+
className: (0, X.default)("efp-speaker__details", { "details-hidden": q.kiosk && t }),
|
|
7595
7595
|
ref: e,
|
|
7596
7596
|
children: a.length > 0 && /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
7597
7597
|
className: "efp-speaker-events",
|
|
@@ -7608,54 +7608,54 @@ var es = R(() => {
|
|
|
7608
7608
|
})
|
|
7609
7609
|
]
|
|
7610
7610
|
}));
|
|
7611
|
-
}), ts =
|
|
7611
|
+
}), ts = z(() => {
|
|
7612
7612
|
var e;
|
|
7613
|
-
let t =
|
|
7613
|
+
let t = G.uiState.details;
|
|
7614
7614
|
return !t || (t == null || (e = t.entity) == null ? void 0 : e.type) !== "speaker" ? null : /* @__PURE__ */ (0, Z.jsx)(es, {});
|
|
7615
7615
|
}), ns = {
|
|
7616
7616
|
full: "full",
|
|
7617
7617
|
medium: "medium",
|
|
7618
7618
|
small: "medium"
|
|
7619
|
-
}, rs = (e) => ns[e], is =
|
|
7619
|
+
}, rs = (e) => ns[e], is = z(({ isGDPR: e, allowConsent: t }) => {
|
|
7620
7620
|
var n, r;
|
|
7621
7621
|
let i = (0, Y.useCallback)((e) => {
|
|
7622
|
-
|
|
7622
|
+
q.desiredOverlaySize = e;
|
|
7623
7623
|
}, []), a = (0, Y.useCallback)((e) => {
|
|
7624
|
-
|
|
7625
|
-
}, []), o = rs(
|
|
7624
|
+
q.setOverlayScrolled(e);
|
|
7625
|
+
}, []), o = rs(q.overlaySize), s = ((n = q.selectedRoute) == null ? void 0 : n.from) && ((r = q.selectedRoute) == null ? void 0 : r.to), c = q.list.type === "search" && !q.details ? 9 : s ? 7 : 3, l = q.fullSizeOffset, u = (0, Y.useMemo)(() => [q.list.type, q.details], [q.list.type, q.details]), d = (0, Y.useMemo)(() => {
|
|
7626
7626
|
let e = (0, X.default)({
|
|
7627
|
-
"-backdrop":
|
|
7628
|
-
"-no-transition":
|
|
7629
|
-
"-gallery-active":
|
|
7630
|
-
collapsed:
|
|
7631
|
-
kiosk:
|
|
7632
|
-
start:
|
|
7633
|
-
bottom:
|
|
7634
|
-
[
|
|
7635
|
-
}), t =
|
|
7627
|
+
"-backdrop": q.canvasStarted && q.shouldUseBackdrop && !q.dimmed && !q.galleryActive,
|
|
7628
|
+
"-no-transition": q.dimmed,
|
|
7629
|
+
"-gallery-active": q.galleryActive,
|
|
7630
|
+
collapsed: q.overlayCollapsed,
|
|
7631
|
+
kiosk: q.kiosk,
|
|
7632
|
+
start: q.overlayPosition === "left",
|
|
7633
|
+
bottom: q.overlayPosition !== "left",
|
|
7634
|
+
[q.overlaySize]: !0
|
|
7635
|
+
}), t = q.overlayInterfaceClasses.join(" ");
|
|
7636
7636
|
return t ? `${e} ${t}` : e;
|
|
7637
7637
|
}, [
|
|
7638
|
-
|
|
7639
|
-
|
|
7640
|
-
|
|
7641
|
-
|
|
7642
|
-
|
|
7643
|
-
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
|
|
7638
|
+
q.canvasStarted,
|
|
7639
|
+
q.shouldUseBackdrop,
|
|
7640
|
+
q.dimmed,
|
|
7641
|
+
q.galleryActive,
|
|
7642
|
+
q.overlayCollapsed,
|
|
7643
|
+
q.kiosk,
|
|
7644
|
+
q.inIdle,
|
|
7645
|
+
q.setKioskModeEnabled,
|
|
7646
|
+
q.overlayPosition,
|
|
7647
|
+
q.overlaySize,
|
|
7648
|
+
q.overlayInterfaceClasses
|
|
7649
7649
|
]);
|
|
7650
7650
|
return /* @__PURE__ */ (0, Z.jsxs)(an, {
|
|
7651
|
-
open:
|
|
7651
|
+
open: q.isOverlayOpen,
|
|
7652
7652
|
size: o,
|
|
7653
|
-
particles:
|
|
7653
|
+
particles: q.isFeaturedExhibitorActive,
|
|
7654
7654
|
className: d,
|
|
7655
7655
|
mediumSizeMultiplier: c,
|
|
7656
7656
|
fullSizeOffset: l,
|
|
7657
|
-
disableDrag:
|
|
7658
|
-
forceFull:
|
|
7657
|
+
disableDrag: q.viewerMode && q.menu,
|
|
7658
|
+
forceFull: q.viewerMode && q.menu,
|
|
7659
7659
|
scrollResetKey: u,
|
|
7660
7660
|
onChangeSize: i,
|
|
7661
7661
|
onScrollStateChange: a,
|
|
@@ -7682,7 +7682,7 @@ var es = R(() => {
|
|
|
7682
7682
|
/* @__PURE__ */ (0, Z.jsx)(ts, {})
|
|
7683
7683
|
]
|
|
7684
7684
|
});
|
|
7685
|
-
}), as =
|
|
7685
|
+
}), as = z(({ title: e, url: t }) => {
|
|
7686
7686
|
let [n, r] = (0, Y.useState)(!1), i = encodeURI(t), a = {
|
|
7687
7687
|
facebook: `https://www.facebook.com/sharer/sharer.php?u=${i}`,
|
|
7688
7688
|
xcom: `https://x.com/share?url=${i}`,
|
|
@@ -7778,7 +7778,7 @@ var es = R(() => {
|
|
|
7778
7778
|
]
|
|
7779
7779
|
});
|
|
7780
7780
|
}), os = 8e3, ss = Y.memo(() => {
|
|
7781
|
-
let e =
|
|
7781
|
+
let e = R(() => ({
|
|
7782
7782
|
el: null,
|
|
7783
7783
|
all: [],
|
|
7784
7784
|
adv: [],
|
|
@@ -7790,7 +7790,7 @@ var es = R(() => {
|
|
|
7790
7790
|
leftToNextLoad: 0,
|
|
7791
7791
|
timeoutId: 0,
|
|
7792
7792
|
get sectionStyle() {
|
|
7793
|
-
let { wsStarted: e, wsPosition: t } =
|
|
7793
|
+
let { wsStarted: e, wsPosition: t } = q, n = t === "top", r = {
|
|
7794
7794
|
right: 0,
|
|
7795
7795
|
width: "100%",
|
|
7796
7796
|
opacity: +!!e
|
|
@@ -7803,7 +7803,7 @@ var es = R(() => {
|
|
|
7803
7803
|
do {
|
|
7804
7804
|
let t = e.all[e.index % e.all.length], n = e.imgByExhibitorId.get(t.id);
|
|
7805
7805
|
if (!n) break;
|
|
7806
|
-
let o = n.width *
|
|
7806
|
+
let o = n.width * q.wsImageHeightPx / n.height + 20;
|
|
7807
7807
|
if (i + o > r && a.length) break;
|
|
7808
7808
|
i += o, a.push({
|
|
7809
7809
|
key: e.keySeq++,
|
|
@@ -7818,7 +7818,7 @@ var es = R(() => {
|
|
|
7818
7818
|
e.loading = !0;
|
|
7819
7819
|
let t = e.all.slice(e.index, e.index + e.batchSize);
|
|
7820
7820
|
t.length < e.batchSize && (t = t.concat(e.all.slice(0, e.batchSize - t.length)));
|
|
7821
|
-
let n = await
|
|
7821
|
+
let n = await Fe(new Map(t.map((e) => [e.id, { fallback: e.logo }])));
|
|
7822
7822
|
return e.leftToNextLoad = n.size, e.loading = !1, n;
|
|
7823
7823
|
}, [e]), r = (0, Y.useCallback)(() => {
|
|
7824
7824
|
let r = async () => {
|
|
@@ -7833,12 +7833,12 @@ var es = R(() => {
|
|
|
7833
7833
|
return vt(() => {
|
|
7834
7834
|
let i, a = !0;
|
|
7835
7835
|
return (async () => {
|
|
7836
|
-
e.all = S(
|
|
7836
|
+
e.all = S(tt.advertised), e.imgByExhibitorId = await n(), a && (t(), r(), q.wsStarted = !0, i = l(() => q.screenSize, t));
|
|
7837
7837
|
})(), () => {
|
|
7838
7838
|
a = !1, i == null || i(), clearInterval(e.timeoutId);
|
|
7839
7839
|
};
|
|
7840
|
-
}),
|
|
7841
|
-
className: (0, X.default)("ws", { "efp-semi-transparent":
|
|
7840
|
+
}), B(() => /* @__PURE__ */ (0, Z.jsx)("section", {
|
|
7841
|
+
className: (0, X.default)("ws", { "efp-semi-transparent": q.setKioskModeEnabled }),
|
|
7842
7842
|
ref: (t) => e.el = t,
|
|
7843
7843
|
onMouseOver: () => clearInterval(e.timeoutId),
|
|
7844
7844
|
onMouseOut: r,
|
|
@@ -7852,9 +7852,9 @@ var es = R(() => {
|
|
|
7852
7852
|
ref: e.nodeRef,
|
|
7853
7853
|
href: `?${e.e.slug}`,
|
|
7854
7854
|
className: "ws__exhibitor",
|
|
7855
|
-
style: { height: `${
|
|
7855
|
+
style: { height: `${q.wsImageHeightPx}px` },
|
|
7856
7856
|
onClick: (t) => {
|
|
7857
|
-
t.preventDefault(),
|
|
7857
|
+
t.preventDefault(), G.clickExhibitor(e.e);
|
|
7858
7858
|
},
|
|
7859
7859
|
children: /* @__PURE__ */ (0, Z.jsx)("img", {
|
|
7860
7860
|
src: e.e.logo,
|
|
@@ -7865,102 +7865,102 @@ var es = R(() => {
|
|
|
7865
7865
|
}, e.key))
|
|
7866
7866
|
})
|
|
7867
7867
|
}));
|
|
7868
|
-
}), cs = () =>
|
|
7868
|
+
}), cs = () => B(() => q.wsShown ? /* @__PURE__ */ (0, Z.jsx)(ss, {}) : null), ls = z(() => {
|
|
7869
7869
|
var e;
|
|
7870
|
-
return (e =
|
|
7870
|
+
return (e = q.globalErrorMessages) != null && e.length ? /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
7871
7871
|
className: "global-error-message",
|
|
7872
|
-
children:
|
|
7872
|
+
children: q.globalErrorMessages.map((e, t) => /* @__PURE__ */ (0, Z.jsx)(hn, {
|
|
7873
7873
|
variant: "error",
|
|
7874
7874
|
closable: !0,
|
|
7875
7875
|
title: e.title,
|
|
7876
|
-
onClose: () =>
|
|
7876
|
+
onClose: () => q.popGlobalErrorMessage(),
|
|
7877
7877
|
children: e.body
|
|
7878
7878
|
}, t))
|
|
7879
7879
|
}) : null;
|
|
7880
7880
|
}), us = Y.lazy(() => import(
|
|
7881
7881
|
/* webpackChunkName: "demo" */
|
|
7882
|
-
"./Demo-
|
|
7882
|
+
"./Demo-BIN-9Byl.js"
|
|
7883
7883
|
).then((e) => e.t)), ds = Y.lazy(() => import(
|
|
7884
7884
|
/* webpackChunkName: "free" */
|
|
7885
|
-
"./Free-
|
|
7885
|
+
"./Free-B8eGBqQQ.js"
|
|
7886
7886
|
)), fs = Y.lazy(() => import(
|
|
7887
7887
|
/* webpackChunkName: "debug" */
|
|
7888
|
-
"./Debug-
|
|
7888
|
+
"./Debug-CvLDmNtf.js"
|
|
7889
7889
|
)), ps = Y.lazy(() => import(
|
|
7890
7890
|
/* webpackChunkName: "mapbox" */
|
|
7891
|
-
"./Mapbox
|
|
7891
|
+
"./Mapbox--eEzdKzE.js"
|
|
7892
7892
|
)), ms = Y.lazy(() => import(
|
|
7893
7893
|
/* webpackChunkName: "threejs" */
|
|
7894
|
-
"./ThreeComponent-
|
|
7895
|
-
)), hs = Y.lazy(() => import("./Modal-
|
|
7894
|
+
"./ThreeComponent-BojqEwAn.js"
|
|
7895
|
+
)), hs = Y.lazy(() => import("./Modal-Ct18MJ2q.js").then((e) => e.n)), gs = Y.lazy(() => import(
|
|
7896
7896
|
/* webpackChunkName: "cc-script" */
|
|
7897
|
-
"./CookieConsent-
|
|
7897
|
+
"./CookieConsent-sDQo-0EJ.js"
|
|
7898
7898
|
).then((e) => e.t)), _s = Y.lazy(() => import(
|
|
7899
7899
|
/* webpackChunkName: "cc-script" */
|
|
7900
|
-
"./GpsLoader-
|
|
7900
|
+
"./GpsLoader-Cz3_mR5n.js"
|
|
7901
7901
|
)), vs = Y.lazy(() => import(
|
|
7902
7902
|
/* webpackChunkName: "set-kiosk-mode" */
|
|
7903
|
-
"./SetKioskMode-
|
|
7903
|
+
"./SetKioskMode-fzX9PYsw.js"
|
|
7904
7904
|
)), ys = Y.lazy(() => import(
|
|
7905
7905
|
/* webpackChunkName: "show-kiosk" */
|
|
7906
|
-
"./ShowKiosk-
|
|
7907
|
-
)), bs =
|
|
7906
|
+
"./ShowKiosk-BPjI2SkF.js"
|
|
7907
|
+
)), bs = z(function({ offHistory: e, allowConsent: t }) {
|
|
7908
7908
|
var n, r, i, a, o, s, c;
|
|
7909
7909
|
let [l, u] = (0, Y.useState)(!1), d = null;
|
|
7910
|
-
|
|
7910
|
+
q.bannerType === "demo" ? d = /* @__PURE__ */ (0, Z.jsx)(us, {}) : q.bannerType === "free" && (d = /* @__PURE__ */ (0, Z.jsx)(ds, {}));
|
|
7911
7911
|
let f = () => {
|
|
7912
|
-
mt(!0),
|
|
7912
|
+
mt(!0), ut(), G.uiState.hideCookieConsent = !0;
|
|
7913
7913
|
}, p = () => {
|
|
7914
|
-
mt(!1),
|
|
7914
|
+
mt(!1), ut(), G.uiState.hideCookieConsent = !0;
|
|
7915
7915
|
};
|
|
7916
7916
|
(0, Y.useEffect)(() => {
|
|
7917
7917
|
async function e() {
|
|
7918
|
-
let e = await
|
|
7918
|
+
let e = await $e();
|
|
7919
7919
|
u(!!(e || e === null));
|
|
7920
7920
|
}
|
|
7921
|
-
|
|
7922
|
-
}, []), J(() =>
|
|
7923
|
-
|
|
7924
|
-
}), J(() =>
|
|
7925
|
-
let m = !
|
|
7921
|
+
Ge(t) ? u(!0) : e();
|
|
7922
|
+
}, []), J(() => q.selectedExhibitor, (e) => {
|
|
7923
|
+
G.heatmapStore.forceTrack ? (V(G.heatmapStore.forceTrack.action, G.heatmapStore.forceTrack.label), G.heatmapStore.forceTrack = null) : e && (Le("exview", e.id), V(K.ViewExhibitor, e.name));
|
|
7924
|
+
}), J(() => q.selectedBooth, (e) => (e == null ? void 0 : e.name) && V(K.ViewBooth, e.name)), J(() => q.selectedCategory, (e) => (e == null ? void 0 : e.name) && V(K.ViewCategory, e == null ? void 0 : e.name)), J(() => q.selectedEventItem, (e) => (e == null ? void 0 : e.name) && V(K.ViewExhibitor, e.name));
|
|
7925
|
+
let m = !q.hideCookieConsent && !q.kiosk && l && t === void 0;
|
|
7926
7926
|
return /* @__PURE__ */ (0, Z.jsx)("div", {
|
|
7927
7927
|
id: "efp-layout",
|
|
7928
7928
|
className: (0, X.default)("layout", {
|
|
7929
|
-
"efp-kiosk":
|
|
7930
|
-
"efp-kiosk-route-active":
|
|
7931
|
-
"efp-layers-mode":
|
|
7932
|
-
"efp-ws-mode":
|
|
7933
|
-
"efp-no-overlay":
|
|
7934
|
-
"efp-top-banner":
|
|
7935
|
-
"efp-viewer-mode":
|
|
7929
|
+
"efp-kiosk": q.kiosk,
|
|
7930
|
+
"efp-kiosk-route-active": q.kiosk && ((n = q.selectedRoute) == null ? void 0 : n.from) && ((r = q.selectedRoute) == null ? void 0 : r.to),
|
|
7931
|
+
"efp-layers-mode": G.layerStore.mode,
|
|
7932
|
+
"efp-ws-mode": q.wsShown,
|
|
7933
|
+
"efp-no-overlay": q.noOverlay,
|
|
7934
|
+
"efp-top-banner": q.bannerType === "free" && !q.freeBannerDismissed,
|
|
7935
|
+
"efp-viewer-mode": q.viewerMode
|
|
7936
7936
|
}),
|
|
7937
|
-
dir:
|
|
7938
|
-
style: { "--ui-scale":
|
|
7937
|
+
dir: q.rtl ? "rtl" : "ltr",
|
|
7938
|
+
style: { "--ui-scale": q.uiScale.toString() },
|
|
7939
7939
|
children: /* @__PURE__ */ (0, Z.jsxs)("div", {
|
|
7940
|
-
className: `layout__fixed expo-${
|
|
7940
|
+
className: `layout__fixed expo-${N.EXPO} overlay-${G.uiState.overlayPosition}`,
|
|
7941
7941
|
children: [
|
|
7942
|
-
(
|
|
7943
|
-
!
|
|
7942
|
+
(U.mode === Ve.Radio || U.mode === Ve.CheckBox) && !q.floorsControlHidden && G.initialized && /* @__PURE__ */ (0, Z.jsx)(Jr, {}),
|
|
7943
|
+
!q.noOverlay && G.initialized && /* @__PURE__ */ (0, Z.jsx)(is, {
|
|
7944
7944
|
isGDPR: l,
|
|
7945
7945
|
allowConsent: t
|
|
7946
7946
|
}),
|
|
7947
|
-
|
|
7948
|
-
!
|
|
7949
|
-
!
|
|
7950
|
-
!
|
|
7951
|
-
!
|
|
7947
|
+
G.initialized && /* @__PURE__ */ (0, Z.jsx)(li, {}),
|
|
7948
|
+
!q.noOverlay && G.initialized && !(q.viewerMode && q.menu) && /* @__PURE__ */ (0, Z.jsx)(di, {}),
|
|
7949
|
+
!q.noOverlay && G.initialized && /* @__PURE__ */ (0, Z.jsx)(ur, {}),
|
|
7950
|
+
!q.noOverlay && G.initialized && /* @__PURE__ */ (0, Z.jsx)(fi, {}),
|
|
7951
|
+
!q.mapControlsHidden && G.initialized && /* @__PURE__ */ (0, Z.jsx)(qn, {}),
|
|
7952
7952
|
/* @__PURE__ */ (0, Z.jsx)(pi, {}),
|
|
7953
|
-
!
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
7953
|
+
!q.hideHeaderLogo && G.initialized && /* @__PURE__ */ (0, Z.jsx)(cs, {}),
|
|
7954
|
+
G.routeStore.gpsEnabled && /* @__PURE__ */ (0, Z.jsx)(_s, { requestCompassAllowed: !m }),
|
|
7955
|
+
b && /* @__PURE__ */ (0, Z.jsx)(Oo, {}),
|
|
7956
|
+
G.mapboxStore.mapBoxActivated && G.mapboxStore.mapBoxEnabled && /* @__PURE__ */ (0, Z.jsx)(Y.Suspense, {
|
|
7957
7957
|
fallback: /* @__PURE__ */ (0, Z.jsx)(ko, {}),
|
|
7958
|
-
children: (
|
|
7959
|
-
isMapbox:
|
|
7960
|
-
expo:
|
|
7958
|
+
children: (W == null || (i = W.properties) == null ? void 0 : i.mode) === "threejs" ? /* @__PURE__ */ (0, Z.jsx)(ms, {
|
|
7959
|
+
isMapbox: G.mapboxStore.isMapbox,
|
|
7960
|
+
expo: N.EXPO
|
|
7961
7961
|
}) : /* @__PURE__ */ (0, Z.jsx)(ps, {})
|
|
7962
7962
|
}),
|
|
7963
|
-
d && !
|
|
7963
|
+
d && !q.hideFreeOrDemo && !q.heatmap ? /* @__PURE__ */ (0, Z.jsx)(Y.Suspense, {
|
|
7964
7964
|
fallback: null,
|
|
7965
7965
|
children: d
|
|
7966
7966
|
}) : null,
|
|
@@ -7977,36 +7977,36 @@ var es = R(() => {
|
|
|
7977
7977
|
children: /* @__PURE__ */ (0, Z.jsx)(fs, {})
|
|
7978
7978
|
}) : null,
|
|
7979
7979
|
In && /* @__PURE__ */ (0, Z.jsx)(ri, {}),
|
|
7980
|
-
|
|
7980
|
+
q.modalActive.share ? /* @__PURE__ */ (0, Z.jsx)(Y.Suspense, {
|
|
7981
7981
|
fallback: null,
|
|
7982
7982
|
children: /* @__PURE__ */ (0, Z.jsx)(hs, {
|
|
7983
7983
|
type: "share",
|
|
7984
|
-
open:
|
|
7985
|
-
onClickClose: () =>
|
|
7984
|
+
open: q.modalActive.share,
|
|
7985
|
+
onClickClose: () => G.toggleModal("share"),
|
|
7986
7986
|
children: /* @__PURE__ */ (0, Z.jsx)(as, {
|
|
7987
|
-
title: ((a =
|
|
7988
|
-
url: e ? `${window.location.origin}?${encodeURI(((s =
|
|
7987
|
+
title: ((a = q.selectedExhibitor) == null ? void 0 : a.name) || ((o = q.selectedEventItem) == null ? void 0 : o.name) || "",
|
|
7988
|
+
url: e ? `${window.location.origin}?${encodeURI(((s = q.selectedExhibitor) == null ? void 0 : s.slug) || ((c = q.selectedEventItem) == null ? void 0 : c.slug))}` : window.location.href
|
|
7989
7989
|
})
|
|
7990
7990
|
})
|
|
7991
7991
|
}) : null,
|
|
7992
|
-
|
|
7993
|
-
style: { left: `calc(50% + ${
|
|
7994
|
-
className:
|
|
7995
|
-
max:
|
|
7996
|
-
min:
|
|
7997
|
-
colors:
|
|
7992
|
+
q.heatmap || q.heatmapYah ? /* @__PURE__ */ (0, Z.jsx)(Yr, {
|
|
7993
|
+
style: { left: `calc(50% + ${G.uiState.mapVisibleStart / 2}px)` },
|
|
7994
|
+
className: q.responsiveClass,
|
|
7995
|
+
max: G.heatmapStore.minAndMaxClicks.max,
|
|
7996
|
+
min: G.heatmapStore.minAndMaxClicks.min,
|
|
7997
|
+
colors: N.heatmapColors
|
|
7998
7998
|
}) : null,
|
|
7999
|
-
/* @__PURE__ */ (0, Z.jsx)(on, { active: !
|
|
7999
|
+
/* @__PURE__ */ (0, Z.jsx)(on, { active: !U.layersLoaded }),
|
|
8000
8000
|
/* @__PURE__ */ (0, Z.jsx)("div", { id: "fps" }),
|
|
8001
|
-
|
|
8002
|
-
|
|
8003
|
-
|
|
8001
|
+
G.initialized && /* @__PURE__ */ (0, Z.jsx)(Gn, {}),
|
|
8002
|
+
G.initialized && /* @__PURE__ */ (0, Z.jsx)(St, { store: G.sessionsFilterStore }),
|
|
8003
|
+
G.initialized && /* @__PURE__ */ (0, Z.jsx)(mi, { store: G.speakerFilterStore }),
|
|
8004
8004
|
/* @__PURE__ */ (0, Z.jsx)(ls, {}),
|
|
8005
|
-
|
|
8005
|
+
G.initialized && q.setKioskModeEnabled && /* @__PURE__ */ (0, Z.jsx)(Y.Suspense, {
|
|
8006
8006
|
fallback: null,
|
|
8007
8007
|
children: /* @__PURE__ */ (0, Z.jsx)(vs, {})
|
|
8008
8008
|
}),
|
|
8009
|
-
|
|
8009
|
+
G.initialized && !q.setKioskModeEnabled && /* @__PURE__ */ (0, Z.jsx)(Y.Suspense, {
|
|
8010
8010
|
fallback: null,
|
|
8011
8011
|
children: /* @__PURE__ */ (0, Z.jsx)(ys, {})
|
|
8012
8012
|
})
|
|
@@ -8033,7 +8033,7 @@ var es = R(() => {
|
|
|
8033
8033
|
className: "multi-select-groups__item-count",
|
|
8034
8034
|
children: i
|
|
8035
8035
|
})]
|
|
8036
|
-
}, e.id)), ws =
|
|
8036
|
+
}, e.id)), ws = z(({ groups: e = [], selectedIds: t = [], showItemCounts: n = !0, showGroupActions: r = !0, variant: i = "default", maxItemsVisible: a = 20, itemCountProvider: o, customItemRenderer: s, onChange: c }) => {
|
|
8037
8037
|
let [l, u] = (0, Y.useState)(/* @__PURE__ */ new Set()), d = (0, Y.useCallback)((e) => {
|
|
8038
8038
|
c(t.includes(e) ? t.filter((t) => t !== e) : [...t, e]);
|
|
8039
8039
|
}, [t, c]), f = (0, Y.useCallback)((e) => {
|
|
@@ -8118,11 +8118,11 @@ function Ts() {
|
|
|
8118
8118
|
function e() {
|
|
8119
8119
|
return (0, X.default)({
|
|
8120
8120
|
"overlay-grip": !0,
|
|
8121
|
-
arr:
|
|
8121
|
+
arr: q.overlaySize === "full"
|
|
8122
8122
|
});
|
|
8123
8123
|
}
|
|
8124
8124
|
function t(e) {
|
|
8125
|
-
e.preventDefault(),
|
|
8125
|
+
e.preventDefault(), q.toggleMapOverlay();
|
|
8126
8126
|
}
|
|
8127
8127
|
return /* @__PURE__ */ (0, Z.jsx)("a", {
|
|
8128
8128
|
href: "/#",
|
|
@@ -8136,7 +8136,7 @@ function Ts() {
|
|
|
8136
8136
|
})
|
|
8137
8137
|
});
|
|
8138
8138
|
}
|
|
8139
|
-
|
|
8139
|
+
z(Ts), (0, Y.createContext)(null);
|
|
8140
8140
|
//#endregion
|
|
8141
8141
|
export { bs as t };
|
|
8142
8142
|
|