@expofp/floorplan 3.2.4 → 3.2.5
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-DxjnilXa.js → CookieConsent-Dg2oD8sN.js} +775 -775
- package/dist/browser/{Debug-CYfYlmQR.js → Debug-CbQznba_.js} +6 -6
- package/dist/browser/{Demo-OpFQUqfW.js → Demo-BdNX6_TP.js} +8 -8
- package/dist/browser/{Free-81sEARRq.js → Free-BwoR5utw.js} +8 -8
- package/dist/browser/{Gallery-DSoNvSm7.js → Gallery-CXfebPUO.js} +10 -10
- package/dist/browser/{GpsLoader-C9x6eoAW.js → GpsLoader-Br89Qdn5.js} +29 -29
- package/dist/browser/{KioskStore-CpB7cXhl.js → KioskStore-B2-ZAICw.js} +15 -15
- package/dist/browser/{Mapbox-BBrRfWTk.js → Mapbox-B5PiDpk1.js} +8 -8
- package/dist/browser/{SetKioskMode-oHoXiSt9.js → SetKioskMode-CeBuv4Qc.js} +19 -19
- package/dist/browser/{ShowKiosk-ClNZHBo0.js → ShowKiosk-CfxC8v7B.js} +11 -11
- package/dist/browser/{ThreeComponent-Cz5TFtaJ.js → ThreeComponent-yHjpVIkt.js} +9 -9
- package/dist/browser/{TouchHand-DKHjKLvy.js → TouchHand-BEAsV_dg.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-D8vz2kYo.js → ViewerMenuPanel-Db8sxCQM.js} +21 -21
- package/dist/browser/{add-debug-secret-listener-C8puBVkG.js → add-debug-secret-listener-BLEkj_Uk.js} +1 -1
- package/dist/browser/{boolean-editor-CTx04IQD.js → boolean-editor-COimNwU3.js} +12 -12
- package/dist/browser/{bootIntercom-CPsCj7Ip.js → bootIntercom-DjZFUOTC.js} +1 -1
- package/dist/browser/{box-BTnS_rH1.js → box-BQZT5OqH.js} +16 -16
- package/dist/browser/{browser-Br9eNuwH.js → browser-8dPZoUbt.js} +2 -2
- package/dist/browser/bundle.json +53 -53
- package/dist/browser/{classnames-DHNSfHSb.js → classnames-BCwn2LMt.js} +2 -2
- package/dist/browser/{client-2OiIi5Xp.js → client-Db8--ZUb.js} +9 -9
- package/dist/browser/{data-DJdE1Pr_.js → data-DmyuOKjY.js} +50 -50
- package/dist/browser/{debug-overlay-ccDwkn4h.js → debug-overlay-B4Z5LEoG.js} +27 -27
- package/dist/browser/{debug-ui-J99PpgZ1.js → debug-ui-CvJwtvIB.js} +6 -6
- package/dist/browser/{dist-B2h2xaao.js → dist-BG3wb6v1.js} +5 -5
- package/dist/browser/{dist-DKUGEtHU.js → dist-C97JwCm0.js} +11 -11
- package/dist/browser/{dist-VsPxUywg.js → dist-Dci3wfOd.js} +7 -7
- package/dist/browser/{efp-debug-init-BGZbxySb.js → efp-debug-init-p9zcimBs.js} +2 -2
- package/dist/browser/{enum-editor-CF4ldw_T.js → enum-editor-o306HPmN.js} +14 -14
- package/dist/browser/{exports-CtobKgXM.js → exports-CStWW5-w.js} +38 -37
- package/dist/browser/{favicon-DrMjQnYk.js → favicon-BA1CtVMn.js} +1 -1
- package/dist/browser/{fetch-retry.umd-NPdYgYHJ.js → fetch-retry.umd-Baj5gCtY.js} +2 -2
- package/dist/browser/{flex-B9BzRTPi.js → flex-Bk7NLAwd.js} +8 -8
- package/dist/browser/{flex.props-B7vEGitw.js → flex.props-DYJg7oQW.js} +4 -4
- package/dist/browser/{floorplan.loader-B6D2IjCA.js → floorplan.loader-DSLFX3Z1.js} +716 -684
- package/dist/browser/{floorplan.ready-DCHrZ_3Z.js → floorplan.ready-D1C9tWKU.js} +267 -267
- package/dist/browser/{fuse-XIKzHPwA.js → fuse-DHUSTGYM.js} +2 -2
- package/dist/browser/index.js +12 -12
- package/dist/browser/{is-debug-BO7GCDVj.js → is-debug-Hdaykk22.js} +4 -4
- package/dist/browser/{jsx-runtime-DvLE2ntA.js → jsx-runtime-BudMXsuy.js} +4 -4
- package/dist/browser/{lib-D1fy_0DC.js → lib-Dl-Q0kBv.js} +5 -5
- package/dist/browser/{main-vqUee6Co.js → main-C74Uu09R.js} +1 -1
- package/dist/browser/{mobx-Q0iv6xO-.js → mobx-CqnQOCE3.js} +4 -4
- package/dist/browser/{particles.min-C7xHJ13B.js → particles.min-By5wV8f0.js} +2 -2
- package/dist/browser/{prop-types-DCAZXDlE.js → prop-types-PFP3f1FZ.js} +2 -2
- package/dist/browser/{react-Bllx8O4C.js → react-COj6SqvB.js} +5 -5
- package/dist/browser/{react-dom-B_RTCRNw.js → react-dom-BdCxtmki.js} +6 -6
- package/dist/browser/{reset-all-settings-BK_jTF-p.js → reset-all-settings-BQEz2q9w.js} +7 -7
- package/dist/browser/{rolldown-runtime-hpSZkt-6.js → rolldown-runtime-msuxsciZ.js} +1 -1
- package/dist/browser/{settings-CZ9_Jwxo.js → settings-C0lWPVRL.js} +2 -2
- package/dist/browser/{settings-item-Dui_Fze-.js → settings-item-Y4RmHiJ4.js} +8 -8
- package/dist/browser/{store-BbHNyIVK.js → store-5PES-APA.js} +711 -695
- package/dist/browser/{string-editor-DxoTu7Zc.js → string-editor-CDEAe6WK.js} +10 -10
- package/dist/browser/{theme-yhP2DiJq.js → theme-yitmRjt6.js} +29 -29
- package/dist/browser/{ui-CCPtrCDp.js → ui--XBIRzrF.js} +8 -8
- package/dist/esm/components/LevelSelector.js +1 -1
- package/dist/esm/store/BoothStore.js +1 -1
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/ToursStore.js +1 -1
- package/dist/esm/store/UIState.js +1 -1
- package/package.json +9 -9
|
@@ -2,24 +2,24 @@ 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.2.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.2.5" };
|
|
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] = "60cf264d-b07e-4163-92c6-d81a2a705d55", e._sentryDebugIdIdentifier = "sentry-dbid-60cf264d-b07e-4163-92c6-d81a2a705d55");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t, t as n } from "./rolldown-runtime-
|
|
11
|
-
import { t as r } from "./react-
|
|
12
|
-
import { t as i } from "./jsx-runtime-
|
|
13
|
-
import { D as a, Et as o, O as s, T as c, U as l, W as u, Y as d, a as f, et as p, ft as m, i as h, k as g, l as _, m as v, n as y, t as b, u as x, v as S, w as C, y as w } from "./is-debug-
|
|
14
|
-
import { n as T } from "./exports-
|
|
15
|
-
import { t as E } from "./fuse-
|
|
16
|
-
import { t as D } from "./react-dom-
|
|
17
|
-
import { t as O } from "./classnames-
|
|
18
|
-
import { A as k, An as ee, At as A, B as
|
|
19
|
-
import { n as xt, r as K, t as St } from "./mobx-
|
|
20
|
-
import { n as Ct } from "./Gallery-
|
|
21
|
-
import "./Demo-
|
|
22
|
-
import "./TouchHand-
|
|
10
|
+
import { n as e, r as t, t as n } from "./rolldown-runtime-msuxsciZ.js";
|
|
11
|
+
import { t as r } from "./react-COj6SqvB.js";
|
|
12
|
+
import { t as i } from "./jsx-runtime-BudMXsuy.js";
|
|
13
|
+
import { D as a, Et as o, O as s, T as c, U as l, W as u, Y as d, a as f, et as p, ft as m, i as h, k as g, l as _, m as v, n as y, t as b, u as x, v as S, w as C, y as w } from "./is-debug-Hdaykk22.js";
|
|
14
|
+
import { n as T } from "./exports-CStWW5-w.js";
|
|
15
|
+
import { t as E } from "./fuse-DHUSTGYM.js";
|
|
16
|
+
import { t as D } from "./react-dom-BdCxtmki.js";
|
|
17
|
+
import { t as O } from "./classnames-BCwn2LMt.js";
|
|
18
|
+
import { A as k, An as ee, At as A, B as j, Bn as te, Ct as ne, Dn as re, Dt as M, En as N, Et as ie, F as ae, Fn as oe, G as se, Gn as ce, H as le, Hn as ue, I as de, J as fe, Jn as pe, K as me, Kn as P, Ln as he, M as ge, Mn as _e, Nn as ve, On as F, Ot as ye, Pn as be, Qn as I, R as xe, Rn as Se, St as Ce, Tn as we, Tt as Te, U as Ee, Un as De, V as Oe, Vn as ke, W as Ae, Wn as je, Xn as L, Y as Me, Yn as Ne, Z as Pe, Zn as R, _ as Fe, _t as Ie, a as z, bt as Le, ct as Re, d as ze, dt as Be, f as B, g as V, gt as Ve, h as He, ht as Ue, i as H, it as We, j as Ge, jn as Ke, jt as qe, k as Je, kn as Ye, kt as Xe, lt as Ze, mt as Qe, n as $e, nt as et, o as U, ot as tt, p as nt, pt as rt, q as it, qn as W, r as G, rt as at, s as ot, st, t as ct, tt as lt, u as ut, ut as dt, v as ft, vt as pt, wn as mt, wt as ht, xt as gt, y as _t, yt as vt, z as yt, zn as bt } from "./store-5PES-APA.js";
|
|
19
|
+
import { n as xt, r as K, t as St } from "./mobx-CqnQOCE3.js";
|
|
20
|
+
import { n as Ct } from "./Gallery-CXfebPUO.js";
|
|
21
|
+
import "./Demo-BdNX6_TP.js";
|
|
22
|
+
import "./TouchHand-BEAsV_dg.js";
|
|
23
23
|
//#region src/components/SessionsFiltersModal.tsx
|
|
24
24
|
var q = /* @__PURE__ */ t(r(), 1), J = /* @__PURE__ */ t(O(), 1), Y = i(), wt = L(({ store: e, visibleSections: t, open: n, onClose: r }) => {
|
|
25
25
|
let i = e.state.filters;
|
|
@@ -173,13 +173,13 @@ var q = /* @__PURE__ */ t(r(), 1), J = /* @__PURE__ */ t(O(), 1), Y = i(), wt =
|
|
|
173
173
|
});
|
|
174
174
|
}), Tt = (0, q.memo)(({ id: e, label: t, icon: n, enabled: r, active: i, tooltip: a, badge: o, variant: s = "default", showResetButton: c = !1, interfaceId: l }) => {
|
|
175
175
|
let u = (0, q.useCallback)(() => {
|
|
176
|
-
r &&
|
|
176
|
+
r && z.shortcutRegistry.handleShortcutClick(l, e);
|
|
177
177
|
}, [
|
|
178
178
|
r,
|
|
179
179
|
l,
|
|
180
180
|
e
|
|
181
181
|
]), d = (0, q.useCallback)((t) => {
|
|
182
|
-
t.stopPropagation(), r && i &&
|
|
182
|
+
t.stopPropagation(), r && i && z.shortcutRegistry.handleShortcutReset(l, e);
|
|
183
183
|
}, [
|
|
184
184
|
r,
|
|
185
185
|
i,
|
|
@@ -220,20 +220,20 @@ Tt.displayName = "ShortcutButton";
|
|
|
220
220
|
//#endregion
|
|
221
221
|
//#region src/components/Shortcuts/ShortcutsFiltersButton.tsx
|
|
222
222
|
var Et = (0, q.memo)(L(({ interfaceId: e, className: t }) => {
|
|
223
|
-
let { shortcutRegistry: n } =
|
|
224
|
-
e === "sessions" ? i =
|
|
223
|
+
let { shortcutRegistry: n } = z, r = n.getShortcuts(e).filter((e) => e.active).length, i = 0;
|
|
224
|
+
e === "sessions" ? i = z.sessionsFilterStore.activeFiltersCount : e === "speakers" && (i = z.speakerFilterStore.activeFiltersCount);
|
|
225
225
|
let a = Math.max(r, i);
|
|
226
226
|
return /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
227
227
|
className: (0, J.default)("shortcuts-filters-button", t, { "is-active": a > 0 }),
|
|
228
228
|
onClick: () => {
|
|
229
|
-
e === "sessions" ?
|
|
229
|
+
e === "sessions" ? z.sessionsFilterStore.openFilterWithSections([
|
|
230
230
|
"tracks",
|
|
231
231
|
"venues",
|
|
232
232
|
"date",
|
|
233
233
|
"time",
|
|
234
234
|
"sort",
|
|
235
235
|
"settings"
|
|
236
|
-
]) : e === "speakers" &&
|
|
236
|
+
]) : e === "speakers" && z.speakerFilterStore.openFilterWithSections(["companies", "jobTitles"]);
|
|
237
237
|
},
|
|
238
238
|
type: "button",
|
|
239
239
|
"aria-label": x("Open filters"),
|
|
@@ -244,7 +244,7 @@ var Et = (0, q.memo)(L(({ interfaceId: e, className: t }) => {
|
|
|
244
244
|
Et.displayName = "ShortcutsFiltersButton";
|
|
245
245
|
//#endregion
|
|
246
246
|
//#region src/components/ScrollableRow.tsx
|
|
247
|
-
var Dt =
|
|
247
|
+
var Dt = tt(), Ot = 5, kt = 200, At = 300, jt = 50, Mt = L(({ 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 }) => {
|
|
248
248
|
let p = (0, q.useRef)(null), m = (0, q.useRef)(null), h = (0, q.useRef)(null), g = (0, q.useRef)(0), [_, v] = (0, q.useState)(!1), [y, b] = (0, q.useState)(!1), [x, S] = (0, q.useState)(!1), [C, w] = (0, q.useState)(0), [T, E] = (0, q.useState)(0), D = (0, q.useCallback)(() => window.innerWidth > r && !("ontouchstart" in window || navigator.maxTouchPoints > 0), [r]), O = (0, q.useCallback)((e, t, n) => {
|
|
249
249
|
let r = t - n;
|
|
250
250
|
return e < 0 ? Math.abs(e) : e > r / 2 ? r - e : e;
|
|
@@ -260,7 +260,7 @@ var Dt = rt(), Ot = 5, kt = 200, At = 300, jt = 50, Mt = L(({ children: e, class
|
|
|
260
260
|
v(!1), b(!1);
|
|
261
261
|
return;
|
|
262
262
|
}
|
|
263
|
-
if (
|
|
263
|
+
if (U.rtl) {
|
|
264
264
|
let e = n - a, r = O(t, n, a);
|
|
265
265
|
v(r > Ot), b(r < e - Ot);
|
|
266
266
|
} else v(t > Ot), b(t < n - a - Ot);
|
|
@@ -273,7 +273,7 @@ var Dt = rt(), Ot = 5, kt = 200, At = 300, jt = 50, Mt = L(({ children: e, class
|
|
|
273
273
|
}, [k, d]), A = (0, q.useCallback)((e) => {
|
|
274
274
|
let t = m.current;
|
|
275
275
|
if (!t) return;
|
|
276
|
-
let r =
|
|
276
|
+
let r = U.rtl, i = t.scrollLeft, a;
|
|
277
277
|
if (r) {
|
|
278
278
|
let r = -(t.scrollWidth - t.clientWidth);
|
|
279
279
|
a = e === "left" ? Math.min(0, i + n) : Math.max(r, i - n);
|
|
@@ -282,7 +282,7 @@ var Dt = rt(), Ot = 5, kt = 200, At = 300, jt = 50, Mt = L(({ children: e, class
|
|
|
282
282
|
left: a,
|
|
283
283
|
behavior: o
|
|
284
284
|
});
|
|
285
|
-
}, [n, o]),
|
|
285
|
+
}, [n, o]), j = (0, q.useCallback)((e = 0) => {
|
|
286
286
|
let t = m.current;
|
|
287
287
|
t && (t.scrollTo({
|
|
288
288
|
left: e,
|
|
@@ -294,12 +294,12 @@ var Dt = rt(), Ot = 5, kt = 200, At = 300, jt = 50, Mt = L(({ children: e, class
|
|
|
294
294
|
o,
|
|
295
295
|
f,
|
|
296
296
|
k
|
|
297
|
-
]),
|
|
298
|
-
!l || !D() || !m.current ||
|
|
297
|
+
]), te = (0, q.useCallback)((e) => e.closest("button") || e.closest("a") || e.closest("input"), []), ne = (0, q.useCallback)((e) => {
|
|
298
|
+
!l || !D() || !m.current || te(e.target) || (S(!0), w(e.pageX - m.current.offsetLeft), E(m.current.scrollLeft), g.current = Date.now(), e.preventDefault());
|
|
299
299
|
}, [
|
|
300
300
|
l,
|
|
301
301
|
D,
|
|
302
|
-
|
|
302
|
+
te
|
|
303
303
|
]), re = (0, q.useCallback)((e) => {
|
|
304
304
|
if (!x || !m.current) return;
|
|
305
305
|
e.preventDefault();
|
|
@@ -316,8 +316,8 @@ var Dt = rt(), Ot = 5, kt = 200, At = 300, jt = 50, Mt = L(({ children: e, class
|
|
|
316
316
|
S(!1);
|
|
317
317
|
}, []);
|
|
318
318
|
(0, q.useEffect)(() => {
|
|
319
|
-
c != null && c !== !1 &&
|
|
320
|
-
}, [c,
|
|
319
|
+
c != null && c !== !1 && j(typeof c == "number" ? c : 0);
|
|
320
|
+
}, [c, j]), (0, q.useEffect)(() => {
|
|
321
321
|
if (x) return document.addEventListener("mousemove", re), document.addEventListener("mouseup", M), document.addEventListener("mouseleave", N), () => {
|
|
322
322
|
document.removeEventListener("mousemove", re), document.removeEventListener("mouseup", M), document.removeEventListener("mouseleave", N);
|
|
323
323
|
};
|
|
@@ -333,7 +333,7 @@ var Dt = rt(), Ot = 5, kt = 200, At = 300, jt = 50, Mt = L(({ children: e, class
|
|
|
333
333
|
window.removeEventListener("resize", e), h.current && (h.current.disconnect(), h.current = null);
|
|
334
334
|
};
|
|
335
335
|
}, [k]);
|
|
336
|
-
let ie =
|
|
336
|
+
let ie = U.rtl, ae = l && D(), oe = ae ? x ? "grabbing" : "grab" : void 0;
|
|
337
337
|
return /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
338
338
|
ref: p,
|
|
339
339
|
className: (0, J.default)("scrollable-row", `scrollable-row--${s}`, t),
|
|
@@ -351,12 +351,12 @@ var Dt = rt(), Ot = 5, kt = 200, At = 300, jt = 50, Mt = L(({ children: e, class
|
|
|
351
351
|
ref: m,
|
|
352
352
|
className: (0, J.default)("scrollable-row__scroll-wrapper", {
|
|
353
353
|
"scrollable-row__scroll-wrapper--dragging": x,
|
|
354
|
-
"scrollable-row__scroll-wrapper--draggable":
|
|
354
|
+
"scrollable-row__scroll-wrapper--draggable": ae
|
|
355
355
|
}),
|
|
356
356
|
onScroll: ee,
|
|
357
357
|
onMouseDown: ne,
|
|
358
358
|
style: {
|
|
359
|
-
cursor:
|
|
359
|
+
cursor: oe,
|
|
360
360
|
userSelect: x ? "none" : void 0
|
|
361
361
|
},
|
|
362
362
|
children: /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
@@ -375,7 +375,7 @@ var Dt = rt(), Ot = 5, kt = 200, At = 300, jt = 50, Mt = L(({ children: e, class
|
|
|
375
375
|
})
|
|
376
376
|
});
|
|
377
377
|
}), Nt = (0, q.memo)(L(({ interfaceId: e, showFiltersButton: t = !0, className: n }) => {
|
|
378
|
-
let { shortcutRegistry: r } =
|
|
378
|
+
let { shortcutRegistry: r } = z, i = r.getShortcuts(e);
|
|
379
379
|
return !r.shouldShowShortcuts(e) || i.length === 0 ? null : /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
380
380
|
className: (0, J.default)("shortcuts-toolbar", n),
|
|
381
381
|
children: /* @__PURE__ */ (0, Y.jsxs)(Mt, {
|
|
@@ -394,7 +394,7 @@ Nt.displayName = "ShortcutsToolbar";
|
|
|
394
394
|
//#endregion
|
|
395
395
|
//#region src/components/Sessions.tsx
|
|
396
396
|
var Pt = L(({ showFilters: e = !0 }) => {
|
|
397
|
-
let t =
|
|
397
|
+
let t = z.eventStore.eventItems, { filters: { date: { value: n }, timeOfDay: { value: r }, sortOrder: { value: i }, showBookmarksOnly: { value: a }, showLiveOnly: { value: o }, selectedTracks: { value: s }, selectedVenues: { value: c } } } = z.sessionsFilterStore.state, l = (0, q.useMemo)(() => {
|
|
398
398
|
let e = /* @__PURE__ */ new Date();
|
|
399
399
|
e.setHours(0, 0, 0, 0);
|
|
400
400
|
let i = new Date(e);
|
|
@@ -417,7 +417,7 @@ var Pt = L(({ showFilters: e = !0 }) => {
|
|
|
417
417
|
case "afternoon": return t >= 18 && t <= 23;
|
|
418
418
|
default: return !0;
|
|
419
419
|
}
|
|
420
|
-
})),
|
|
420
|
+
})), U.selectedTrack && (l = l.filter((e) => e.tracks.some((e) => e.id === U.selectedTrack.id))), a && (l = l.filter((e) => e.bookmarked)), o) {
|
|
421
421
|
let e = /* @__PURE__ */ new Date();
|
|
422
422
|
l = l.filter((t) => {
|
|
423
423
|
let n = new Date(t.startDate), r = new Date(t.endDate);
|
|
@@ -425,7 +425,7 @@ var Pt = L(({ showFilters: e = !0 }) => {
|
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
427
|
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)));
|
|
428
|
-
let u =
|
|
428
|
+
let u = z.searchStore.searchText;
|
|
429
429
|
return u && (l = new E(l, {
|
|
430
430
|
keys: ["name"],
|
|
431
431
|
threshold: .3,
|
|
@@ -434,15 +434,15 @@ var Pt = L(({ showFilters: e = !0 }) => {
|
|
|
434
434
|
}).search(u).map((e) => e.item)), l;
|
|
435
435
|
}, [
|
|
436
436
|
t,
|
|
437
|
-
|
|
437
|
+
z.searchStore.searchText,
|
|
438
438
|
n,
|
|
439
439
|
r,
|
|
440
|
-
|
|
440
|
+
U.selectedTrack,
|
|
441
441
|
a,
|
|
442
442
|
o,
|
|
443
443
|
s,
|
|
444
444
|
c,
|
|
445
|
-
|
|
445
|
+
z.sessionsFilterStore.state
|
|
446
446
|
]), u = (0, q.useMemo)(() => [...l].sort((e, t) => {
|
|
447
447
|
let n = new Date(e.startDate).getTime(), r = new Date(t.startDate).getTime();
|
|
448
448
|
return i === "asc" ? r - n : n - r;
|
|
@@ -454,24 +454,24 @@ var Pt = L(({ showFilters: e = !0 }) => {
|
|
|
454
454
|
showBooths: !0,
|
|
455
455
|
isSessions: !0,
|
|
456
456
|
onEventClick: (e) => {
|
|
457
|
-
|
|
457
|
+
z.selectEventItem(e, !0);
|
|
458
458
|
}
|
|
459
459
|
}) : /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
460
460
|
className: "efp-sessions-empty",
|
|
461
|
-
children:
|
|
461
|
+
children: z.sessionsFilterStore.activeFiltersCount > 0 || z.searchStore.searchText || U.selectedTrack ? x(a ? "No bookmarked events found. Try adjusting your filters." : "No events found. Try adjusting your filters.") : x("No events found")
|
|
462
462
|
})]
|
|
463
463
|
});
|
|
464
|
-
}), Ft = L((e) =>
|
|
465
|
-
let e =
|
|
466
|
-
let t = e, n =
|
|
464
|
+
}), Ft = L((e) => U.list.type !== "sessions" || U.details ? null : /* @__PURE__ */ (0, Y.jsx)(Pt, { ...e })), It = L(() => {
|
|
465
|
+
let e = z.toursStore.tourItems, t = z.toursStore.hasTours, n = z.toursStore.currentExpo, r = z.toursStore.toursLoadError, i = (0, q.useMemo)(() => {
|
|
466
|
+
let t = e, n = z.searchStore.searchText;
|
|
467
467
|
return n && (t = new E(t, {
|
|
468
468
|
keys: ["name"],
|
|
469
469
|
threshold: .3,
|
|
470
470
|
ignoreLocation: !0,
|
|
471
471
|
includeScore: !0
|
|
472
472
|
}).search(n).map((e) => e.item)), t;
|
|
473
|
-
}, [e,
|
|
474
|
-
|
|
473
|
+
}, [e, z.searchStore.searchText]), a = (e, t, n) => {
|
|
474
|
+
z.toursStore.launchTour(e, t, n);
|
|
475
475
|
};
|
|
476
476
|
return I(() => r ? /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
477
477
|
className: "efp-tours-content",
|
|
@@ -506,15 +506,15 @@ var Pt = L(({ showFilters: e = !0 }) => {
|
|
|
506
506
|
] })
|
|
507
507
|
})
|
|
508
508
|
}));
|
|
509
|
-
}), Lt = L((e) =>
|
|
510
|
-
let t = (0, q.useMemo)(() => e ?
|
|
509
|
+
}), Lt = L((e) => U.list.type !== "tours" || U.details ? null : /* @__PURE__ */ (0, Y.jsx)(It, { ...e })), Rt = (e) => {
|
|
510
|
+
let t = (0, q.useMemo)(() => e ? z.heatmapStore.getClicksByItem(e) : 0, [e]);
|
|
511
511
|
return {
|
|
512
512
|
clicks: t,
|
|
513
|
-
background: (0, q.useMemo)(() =>
|
|
513
|
+
background: (0, q.useMemo)(() => z.heatmapStore.getColorByClicks(t), [t])
|
|
514
514
|
};
|
|
515
515
|
}, zt = L(({ text: e }) => {
|
|
516
|
-
if (
|
|
517
|
-
let t =
|
|
516
|
+
if (U.list.type !== "search" || !U.list.text || !e) return /* @__PURE__ */ (0, Y.jsx)(Y.Fragment, { children: e });
|
|
517
|
+
let t = U.list.text.toLowerCase(), n = e.toLowerCase().indexOf(t);
|
|
518
518
|
if (n !== -1) {
|
|
519
519
|
let r = n + t.length;
|
|
520
520
|
return /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [
|
|
@@ -643,7 +643,7 @@ var Pt = L(({ showFilters: e = !0 }) => {
|
|
|
643
643
|
onMouseOver: f,
|
|
644
644
|
onMouseOut: p,
|
|
645
645
|
style: {
|
|
646
|
-
marginLeft:
|
|
646
|
+
marginLeft: P.isRebooking ? "5px" : null,
|
|
647
647
|
...i
|
|
648
648
|
},
|
|
649
649
|
children: [/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
@@ -674,7 +674,7 @@ var Pt = L(({ showFilters: e = !0 }) => {
|
|
|
674
674
|
}, Wt = ({ yah: e, className: t }) => {
|
|
675
675
|
let { clicks: n, background: r } = Rt(e);
|
|
676
676
|
return I(() => /* @__PURE__ */ (0, Y.jsx)(Ut, {
|
|
677
|
-
style: { background:
|
|
677
|
+
style: { background: U.heatmapYah ? `linear-gradient(to right, transparent 98%, ${r} 93%) center / 100% 99% no-repeat` : null },
|
|
678
678
|
className: t,
|
|
679
679
|
slug: e.id.toString(),
|
|
680
680
|
onClick: i,
|
|
@@ -685,7 +685,7 @@ var Pt = L(({ showFilters: e = !0 }) => {
|
|
|
685
685
|
}));
|
|
686
686
|
function i() {
|
|
687
687
|
let t = G.findLayer(e.z);
|
|
688
|
-
t && G.updateVisibility(t, !0),
|
|
688
|
+
t && G.updateVisibility(t, !0), z.routeStore.selectMarker(e.id.toString(), !0);
|
|
689
689
|
}
|
|
690
690
|
}, Gt = /* @__PURE__ */ t((/* @__PURE__ */ n(((e, t) => {
|
|
691
691
|
(function(n) {
|
|
@@ -835,14 +835,14 @@ var Pt = L(({ showFilters: e = !0 }) => {
|
|
|
835
835
|
background: void 0,
|
|
836
836
|
clicks: void 0
|
|
837
837
|
};
|
|
838
|
-
if (
|
|
838
|
+
if (U.heatmap && (e instanceof he || e instanceof Se || e instanceof _e) && (a = Rt(e)), e instanceof he) {
|
|
839
839
|
var o;
|
|
840
840
|
return /* @__PURE__ */ (0, Y.jsx)(Ht, {
|
|
841
841
|
onClick: i,
|
|
842
842
|
id: e.id.toString(),
|
|
843
843
|
featured: e.featured,
|
|
844
844
|
url: null,
|
|
845
|
-
type: e instanceof
|
|
845
|
+
type: e instanceof he ? "exhibitor" : "booth",
|
|
846
846
|
image: e.logo,
|
|
847
847
|
title: e.name,
|
|
848
848
|
bookmarked: e.bookmarked,
|
|
@@ -850,21 +850,21 @@ var Pt = L(({ showFilters: e = !0 }) => {
|
|
|
850
850
|
additionalInfo: e.booths.map((e) => ({
|
|
851
851
|
type: "location",
|
|
852
852
|
locationName: e.name,
|
|
853
|
-
level: e.layer && (
|
|
853
|
+
level: e.layer && (P.shortLevelName ? e.layer.shortName : e.layer.description) || ""
|
|
854
854
|
})),
|
|
855
855
|
highlighted: n,
|
|
856
856
|
compactDetails: r,
|
|
857
857
|
heatmapColor: a.background,
|
|
858
858
|
heatmapClicks: a.clicks,
|
|
859
|
-
rebookingColor:
|
|
860
|
-
kioskMode:
|
|
861
|
-
foundInDescription:
|
|
859
|
+
rebookingColor: P.isRebooking ? (o = we[e.rebookingState]) == null ? void 0 : o.color.primary : void 0,
|
|
860
|
+
kioskMode: U.kiosk,
|
|
861
|
+
foundInDescription: U.foundInDescriptionStruct[e.id]
|
|
862
862
|
});
|
|
863
863
|
}
|
|
864
864
|
if ("rect" in e) {
|
|
865
865
|
var s, c;
|
|
866
866
|
return /* @__PURE__ */ (0, Y.jsx)(Ht, {
|
|
867
|
-
locationTerm:
|
|
867
|
+
locationTerm: P.boothTerm,
|
|
868
868
|
onClick: i,
|
|
869
869
|
id: e.id.toString(),
|
|
870
870
|
type: "booth",
|
|
@@ -874,7 +874,7 @@ var Pt = L(({ showFilters: e = !0 }) => {
|
|
|
874
874
|
additionalInfo: [{
|
|
875
875
|
type: "location",
|
|
876
876
|
locationName: e.name,
|
|
877
|
-
level:
|
|
877
|
+
level: P.shortLevelName ? dt((s = e.layer) == null ? void 0 : s.description) : (c = e.layer) == null ? void 0 : c.description
|
|
878
878
|
}],
|
|
879
879
|
bookmarked: e.bookmarked,
|
|
880
880
|
highlighted: n,
|
|
@@ -882,7 +882,7 @@ var Pt = L(({ showFilters: e = !0 }) => {
|
|
|
882
882
|
heatmapClicks: a.clicks
|
|
883
883
|
});
|
|
884
884
|
}
|
|
885
|
-
if (e instanceof
|
|
885
|
+
if (e instanceof oe) return /* @__PURE__ */ (0, Y.jsx)(Ht, {
|
|
886
886
|
onClick: i,
|
|
887
887
|
id: e.id.toString(),
|
|
888
888
|
itemsCount: e.exhibitors.length,
|
|
@@ -891,7 +891,7 @@ var Pt = L(({ showFilters: e = !0 }) => {
|
|
|
891
891
|
url: null,
|
|
892
892
|
highlighted: n
|
|
893
893
|
});
|
|
894
|
-
if (e instanceof
|
|
894
|
+
if (e instanceof We) {
|
|
895
895
|
let t = [];
|
|
896
896
|
return e.company && t.push({
|
|
897
897
|
type: "speaker",
|
|
@@ -905,12 +905,12 @@ var Pt = L(({ showFilters: e = !0 }) => {
|
|
|
905
905
|
image: e.photoFile,
|
|
906
906
|
additionalInfo: t,
|
|
907
907
|
bookmarked: e.bookmarked,
|
|
908
|
-
onClick: (t, n) =>
|
|
908
|
+
onClick: (t, n) => z.selectSpeaker(e, !0)
|
|
909
909
|
}, e.id);
|
|
910
910
|
}
|
|
911
911
|
if (e instanceof ve) {
|
|
912
912
|
var l, u;
|
|
913
|
-
let t = e.boothId ?
|
|
913
|
+
let t = e.boothId ? ct.booths.find((t) => t.id === e.boothId) : null;
|
|
914
914
|
return /* @__PURE__ */ (0, Y.jsx)(Ht, {
|
|
915
915
|
id: e.id.toString(),
|
|
916
916
|
onClick: i,
|
|
@@ -922,18 +922,18 @@ var Pt = L(({ showFilters: e = !0 }) => {
|
|
|
922
922
|
additionalInfo: t ? [{
|
|
923
923
|
type: "location",
|
|
924
924
|
locationName: t.name,
|
|
925
|
-
level:
|
|
925
|
+
level: P.shortLevelName ? (l = t.layer) == null ? void 0 : l.shortName : (u = t.layer) == null ? void 0 : u.description
|
|
926
926
|
}] : [],
|
|
927
927
|
bookmarked: e.bookmarked,
|
|
928
928
|
visited: e.visited,
|
|
929
929
|
highlighted: n,
|
|
930
|
-
kioskMode:
|
|
931
|
-
foundInDescription:
|
|
930
|
+
kioskMode: U.kiosk,
|
|
931
|
+
foundInDescription: U.foundInDescriptionStruct[e.id]
|
|
932
932
|
});
|
|
933
933
|
}
|
|
934
|
-
return e instanceof
|
|
934
|
+
return e instanceof _e ? /* @__PURE__ */ (0, Y.jsx)(Wt, {
|
|
935
935
|
yah: e,
|
|
936
|
-
className: `list-row ${t ===
|
|
936
|
+
className: `list-row ${t === U.activeListIndex ? "active" : ""}`
|
|
937
937
|
}) : null;
|
|
938
938
|
});
|
|
939
939
|
//#endregion
|
|
@@ -952,11 +952,11 @@ function Jt() {
|
|
|
952
952
|
let [e, n] = (0, q.useState)(!1), [r, i] = (0, q.useState)(), [a, o] = (0, q.useState)(!1), s = (0, q.useRef)();
|
|
953
953
|
return St(() => {
|
|
954
954
|
var e;
|
|
955
|
-
return o(
|
|
955
|
+
return o(U.overlayPosition === "left" && ((e = u.getEngine()) == null ? void 0 : e.name) !== "EdgeHTML");
|
|
956
956
|
}), (0, q.useEffect)(() => {
|
|
957
957
|
a && !r && import(
|
|
958
958
|
/* webpackChunkName: "particlesjs" */
|
|
959
|
-
"./particles.min-
|
|
959
|
+
"./particles.min-By5wV8f0.js"
|
|
960
960
|
).then((e) => /* @__PURE__ */ t(e.default, 1)).then((e) => {
|
|
961
961
|
i(e.default);
|
|
962
962
|
});
|
|
@@ -1032,7 +1032,7 @@ var Yt = L(Jt), Xt = () => {
|
|
|
1032
1032
|
medium: e / n,
|
|
1033
1033
|
full: e - r
|
|
1034
1034
|
}), 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 }) => {
|
|
1035
|
-
let { width: p, height: m } = Xt(), [h, g] = (0, q.useState)(() => rn(nn(), s, c, l)), [_, v] = (0, q.useState)(() => p <= 768), [y, b] = (0, q.useState)(!1), [S, C] = (0, q.useState)(() => h[n]), [w, T] = (0, q.useState)(() => h[n]), [E, D] = (0, q.useState)(!1), [O, k] = (0, q.useState)(t), [ee, A] = (0, q.useState)(!1),
|
|
1035
|
+
let { width: p, height: m } = Xt(), [h, g] = (0, q.useState)(() => rn(nn(), s, c, l)), [_, v] = (0, q.useState)(() => p <= 768), [y, b] = (0, q.useState)(!1), [S, C] = (0, q.useState)(() => h[n]), [w, T] = (0, q.useState)(() => h[n]), [E, D] = (0, q.useState)(!1), [O, k] = (0, q.useState)(t), [ee, A] = (0, q.useState)(!1), j = (0, q.useRef)(), te = (0, q.useRef)(), ne = (0, q.useRef)(null), re = (0, q.useRef)(null), M = (0, q.useRef)(null), N = (0, q.useCallback)((e) => {
|
|
1036
1036
|
let t = h[e];
|
|
1037
1037
|
C(t), T(t), a == null || a(e);
|
|
1038
1038
|
}, [h, a]), ie = (0, q.useMemo)(() => _ ? f && t ? { height: nn() } : { height: t || E ? w : 0 } : { height: t ? "auto" : void 0 }, [
|
|
@@ -1043,7 +1043,7 @@ var Yt = L(Jt), Xt = () => {
|
|
|
1043
1043
|
n,
|
|
1044
1044
|
E,
|
|
1045
1045
|
f
|
|
1046
|
-
]),
|
|
1046
|
+
]), ae = (0, q.useCallback)((e) => {
|
|
1047
1047
|
let t = [
|
|
1048
1048
|
h.small,
|
|
1049
1049
|
h.medium,
|
|
@@ -1063,32 +1063,32 @@ var Yt = L(Jt), Xt = () => {
|
|
|
1063
1063
|
h,
|
|
1064
1064
|
S,
|
|
1065
1065
|
N
|
|
1066
|
-
]),
|
|
1067
|
-
b(!0),
|
|
1068
|
-
}, []),
|
|
1069
|
-
let t =
|
|
1066
|
+
]), oe = (0, q.useCallback)((e) => {
|
|
1067
|
+
b(!0), j.current = e;
|
|
1068
|
+
}, []), se = (0, q.useCallback)((e) => {
|
|
1069
|
+
let t = j.current;
|
|
1070
1070
|
if (t === void 0) return;
|
|
1071
1071
|
let n = M.current;
|
|
1072
1072
|
if ((n == null ? void 0 : n.scrollTop) > 0 && S === h.full) return;
|
|
1073
1073
|
let r = t - e, i = (S || h.medium) + r;
|
|
1074
|
-
n && S === h.full && i < S && (n.style.overflow = "hidden"), i = Math.min(Math.max(i, h.small), h.full),
|
|
1075
|
-
}, [S, h]),
|
|
1076
|
-
b(!1),
|
|
1074
|
+
n && S === h.full && i < S && (n.style.overflow = "hidden"), i = Math.min(Math.max(i, h.small), h.full), te.current = r, T(i);
|
|
1075
|
+
}, [S, h]), ce = (0, q.useCallback)(() => {
|
|
1076
|
+
b(!1), j.current = void 0;
|
|
1077
1077
|
let e = M.current;
|
|
1078
1078
|
e && e.style.removeProperty("overflow");
|
|
1079
|
-
let t =
|
|
1080
|
-
|
|
1081
|
-
}, [w,
|
|
1079
|
+
let t = te.current;
|
|
1080
|
+
te.current = void 0, t !== void 0 && w !== void 0 && ae(w);
|
|
1081
|
+
}, [w, ae]), le = (0, q.useCallback)((e) => {
|
|
1082
1082
|
y || N(n === "small" ? "medium" : n === "medium" ? "full" : "small");
|
|
1083
1083
|
}, [
|
|
1084
1084
|
y,
|
|
1085
1085
|
n,
|
|
1086
1086
|
N
|
|
1087
|
-
]), { touchHandlers:
|
|
1088
|
-
onDragStart:
|
|
1089
|
-
onDragMove:
|
|
1090
|
-
onDragEnd:
|
|
1091
|
-
}),
|
|
1087
|
+
]), { touchHandlers: ue, mouseHandlers: de } = Zt({
|
|
1088
|
+
onDragStart: oe,
|
|
1089
|
+
onDragMove: se,
|
|
1090
|
+
onDragEnd: ce
|
|
1091
|
+
}), fe = (0, q.useCallback)(() => {
|
|
1092
1092
|
let e = M.current;
|
|
1093
1093
|
if (!e) return;
|
|
1094
1094
|
let t = e.scrollTop >= u;
|
|
@@ -1097,23 +1097,23 @@ var Yt = L(Jt), Xt = () => {
|
|
|
1097
1097
|
u,
|
|
1098
1098
|
ee,
|
|
1099
1099
|
o
|
|
1100
|
-
]),
|
|
1100
|
+
]), pe = (0, q.useMemo)(() => qt(() => {
|
|
1101
1101
|
var e, t;
|
|
1102
1102
|
(e = (t = window).__resett) == null || e.call(t);
|
|
1103
1103
|
}, 250), []);
|
|
1104
1104
|
return (0, q.useEffect)(() => {
|
|
1105
1105
|
if (!_ || d) return;
|
|
1106
1106
|
let e = ne.current, t = re.current, n = M.current;
|
|
1107
|
-
return e && (e.ontouchstart =
|
|
1107
|
+
return e && (e.ontouchstart = ue.onTouchStart, e.ontouchend = ue.onTouchEnd, window.ontouchmove = ue.onTouchMove, e.onmousedown = de.onMouseDown, e.onmouseup = de.onMouseUp, window.onmousemove = de.onMouseMove), t && t.addEventListener("mouseup", le), n && (n.ontouchstart = () => {
|
|
1108
1108
|
S && S < h.full && n && (n.style.overflow = "hidden");
|
|
1109
1109
|
}), () => {
|
|
1110
|
-
e && (window.ontouchmove = null, window.onmousemove = null), t && t.removeEventListener("mouseup",
|
|
1110
|
+
e && (window.ontouchmove = null, window.onmousemove = null), t && t.removeEventListener("mouseup", le);
|
|
1111
1111
|
};
|
|
1112
1112
|
}, [
|
|
1113
1113
|
_,
|
|
1114
|
-
le,
|
|
1115
1114
|
ue,
|
|
1116
|
-
|
|
1115
|
+
de,
|
|
1116
|
+
le,
|
|
1117
1117
|
S,
|
|
1118
1118
|
h
|
|
1119
1119
|
]), (0, q.useEffect)(() => {
|
|
@@ -1152,12 +1152,12 @@ var Yt = L(Jt), Xt = () => {
|
|
|
1152
1152
|
t,
|
|
1153
1153
|
E,
|
|
1154
1154
|
o,
|
|
1155
|
-
|
|
1156
|
-
|
|
1155
|
+
U.details,
|
|
1156
|
+
U.list.type
|
|
1157
1157
|
]), (0, q.useCallback)(qt(() => {
|
|
1158
1158
|
var e, t;
|
|
1159
1159
|
(e = (t = window).__resett) == null || e.call(t);
|
|
1160
|
-
}, 250), [
|
|
1160
|
+
}, 250), [U.kiosk]), O ? /* @__PURE__ */ (0, Y.jsx)(Qt.Provider, {
|
|
1161
1161
|
value: M.current,
|
|
1162
1162
|
children: /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
1163
1163
|
className: (0, J.default)("efp-overlay", {
|
|
@@ -1182,7 +1182,7 @@ var Yt = L(Jt), Xt = () => {
|
|
|
1182
1182
|
className: "efp-overlay__scroll",
|
|
1183
1183
|
ref: M,
|
|
1184
1184
|
onScroll: (e) => {
|
|
1185
|
-
|
|
1185
|
+
fe(), pe();
|
|
1186
1186
|
},
|
|
1187
1187
|
children: [r ? /* @__PURE__ */ (0, Y.jsx)(Yt, {}) : null, /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1188
1188
|
className: "efp-overlay__content",
|
|
@@ -1210,15 +1210,15 @@ var Yt = L(Jt), Xt = () => {
|
|
|
1210
1210
|
})
|
|
1211
1211
|
}), sn = () => import(
|
|
1212
1212
|
/* webpackChunkName: "react-virtuoso-entity-list" */
|
|
1213
|
-
"./dist-
|
|
1213
|
+
"./dist-Dci3wfOd.js"
|
|
1214
1214
|
).then((e) => ({ default: e.Virtuoso })).catch(() => new Promise((e) => setTimeout(() => e(sn()), 3e3))), cn = (0, q.lazy)(sn), ln = ["ipia2025"], un = L(({ updatedScrollableRef: e, updateScroll: t }) => {
|
|
1215
|
-
let n = (0, q.useContext)(Qt), r = (0, q.useRef)(null), i =
|
|
1215
|
+
let n = (0, q.useContext)(Qt), r = (0, q.useRef)(null), i = U.getListScrollItemId(U.list.type), a = ln.includes(W.EXPO);
|
|
1216
1216
|
(0, q.useEffect)(() => {
|
|
1217
|
-
let e =
|
|
1217
|
+
let e = U.getListScrollTop(U.list.type), t = U.getListScrollItemId(U.list.type);
|
|
1218
1218
|
(e > 0 || t) && setTimeout(() => {
|
|
1219
1219
|
if (r.current) {
|
|
1220
1220
|
if (t) {
|
|
1221
|
-
let e =
|
|
1221
|
+
let e = U.listItems.findIndex((e) => {
|
|
1222
1222
|
var n;
|
|
1223
1223
|
return (e == null || (n = e.id) == null ? void 0 : n.toString()) === t.toString();
|
|
1224
1224
|
});
|
|
@@ -1237,46 +1237,46 @@ var Yt = L(Jt), Xt = () => {
|
|
|
1237
1237
|
});
|
|
1238
1238
|
}
|
|
1239
1239
|
}, 100);
|
|
1240
|
-
}, [
|
|
1241
|
-
let o =
|
|
1240
|
+
}, [U.list.type]);
|
|
1241
|
+
let o = U.showRouteInstantly, s = (0, q.useCallback)((t, n) => {
|
|
1242
1242
|
var i;
|
|
1243
1243
|
let a = parseInt(n, 10);
|
|
1244
|
-
if (
|
|
1244
|
+
if (U.setListScrollItemId((i = U.list) == null ? void 0 : i.type, a), r.current) r.current.getState((e) => {
|
|
1245
1245
|
var t;
|
|
1246
1246
|
let n = (e == null ? void 0 : e.scrollTop) || 0;
|
|
1247
|
-
|
|
1247
|
+
U.setListScrollTop((t = U.list) == null ? void 0 : t.type, n);
|
|
1248
1248
|
});
|
|
1249
1249
|
else if (e.current) {
|
|
1250
1250
|
var s;
|
|
1251
|
-
|
|
1251
|
+
U.setListScrollTop((s = U.list) == null ? void 0 : s.type, e.current.scrollTop || 0);
|
|
1252
1252
|
}
|
|
1253
1253
|
switch (t) {
|
|
1254
1254
|
case "exhibitor":
|
|
1255
|
-
let e =
|
|
1256
|
-
o ?
|
|
1255
|
+
let e = z.exhibitorStore.exhibitors.find((e) => e.id === a);
|
|
1256
|
+
o ? z.routeStore.clickRoute(null, z.routeStore.tempToBooth || e.booths[0]) : z.clickExhibitor(e);
|
|
1257
1257
|
break;
|
|
1258
1258
|
case "booth":
|
|
1259
|
-
let t =
|
|
1260
|
-
o ?
|
|
1259
|
+
let t = z.boothStore.booths.find((e) => e.id === a);
|
|
1260
|
+
o ? z.routeStore.clickRoute(null, t) : z.clickBoothInList2(t);
|
|
1261
1261
|
break;
|
|
1262
1262
|
case "category":
|
|
1263
|
-
|
|
1263
|
+
z.clickCategory(z.categoryStore.categories.find((e) => e.id === a));
|
|
1264
1264
|
break;
|
|
1265
1265
|
case "event":
|
|
1266
|
-
let n =
|
|
1266
|
+
let n = z.eventStore.eventItems.find((e) => e.id === a);
|
|
1267
1267
|
if (n) {
|
|
1268
|
-
let e =
|
|
1269
|
-
o && e ?
|
|
1268
|
+
let e = z.boothStore.booths.find((e) => e.id === n.boothId);
|
|
1269
|
+
o && e ? z.routeStore.clickRoute(null, e) : z.selectEventItem(n, !0);
|
|
1270
1270
|
}
|
|
1271
1271
|
break;
|
|
1272
1272
|
case "speaker": {
|
|
1273
|
-
let e =
|
|
1274
|
-
e &&
|
|
1273
|
+
let e = z.speakerStore.speakers.find((e) => e.id === a);
|
|
1274
|
+
e && z.selectSpeaker(e, !0);
|
|
1275
1275
|
break;
|
|
1276
1276
|
}
|
|
1277
1277
|
}
|
|
1278
1278
|
}, [o, e]);
|
|
1279
|
-
return n === null ||
|
|
1279
|
+
return n === null || U.setKioskModeEnabled ? null : U.listItems.length ? /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1280
1280
|
style: {
|
|
1281
1281
|
height: "100%",
|
|
1282
1282
|
cursor: "pointer",
|
|
@@ -1291,8 +1291,8 @@ var Yt = L(Jt), Xt = () => {
|
|
|
1291
1291
|
children: /* @__PURE__ */ (0, Y.jsx)(cn, {
|
|
1292
1292
|
ref: r,
|
|
1293
1293
|
className: "list-virtual",
|
|
1294
|
-
style: { minHeight:
|
|
1295
|
-
data:
|
|
1294
|
+
style: { minHeight: U.listItems.length ? "1px" : 0 },
|
|
1295
|
+
data: U.listItems,
|
|
1296
1296
|
itemContent: (e, t) => {
|
|
1297
1297
|
var n;
|
|
1298
1298
|
let r = t;
|
|
@@ -1307,31 +1307,31 @@ var Yt = L(Jt), Xt = () => {
|
|
|
1307
1307
|
itemsRendered: () => t && setTimeout(t),
|
|
1308
1308
|
totalListHeightChanged: () => t && t(),
|
|
1309
1309
|
customScrollParent: n,
|
|
1310
|
-
totalCount:
|
|
1310
|
+
totalCount: U.listItems.length,
|
|
1311
1311
|
overscan: 20,
|
|
1312
1312
|
increaseViewportBy: 200,
|
|
1313
|
-
initialItemCount: Math.min(
|
|
1313
|
+
initialItemCount: Math.min(U.listScrollIndex + 30, U.listItems.length)
|
|
1314
1314
|
})
|
|
1315
1315
|
})
|
|
1316
1316
|
}) : /* @__PURE__ */ (0, Y.jsx)(() => /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1317
1317
|
className: "list-empty",
|
|
1318
|
-
children:
|
|
1318
|
+
children: U.list.type === "search" ? x("Oops, nothing found") : x("No items to show")
|
|
1319
1319
|
}), {});
|
|
1320
1320
|
}), dn = () => {
|
|
1321
1321
|
let e = (0, q.useRef)(null);
|
|
1322
1322
|
return I(() => {
|
|
1323
|
-
let t =
|
|
1323
|
+
let t = z.toursStore.currentTour;
|
|
1324
1324
|
if (!t) return null;
|
|
1325
1325
|
let n = t.points && t.points.length > 0;
|
|
1326
1326
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
1327
|
-
className: (0, J.default)("efp-tour-points", { hidden:
|
|
1328
|
-
children: [
|
|
1327
|
+
className: (0, J.default)("efp-tour-points", { hidden: U.kiosk }),
|
|
1328
|
+
children: [U.tourDescription && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1329
1329
|
className: "efp-wayfinding-description",
|
|
1330
|
-
children:
|
|
1330
|
+
children: U.tourDescription
|
|
1331
1331
|
}), n && /* @__PURE__ */ (0, Y.jsx)(un, { updatedScrollableRef: e })]
|
|
1332
1332
|
});
|
|
1333
1333
|
});
|
|
1334
|
-
}, fn = () => I(() => !
|
|
1334
|
+
}, fn = () => I(() => !U.menu && !U.details && z.toursStore.currentTour && /* @__PURE__ */ (0, Y.jsx)(dn, {})), pn = L(({ tours: e, onTourClick: t }) => {
|
|
1335
1335
|
let n = (e, n, r) => {
|
|
1336
1336
|
t && t(e, n, r);
|
|
1337
1337
|
};
|
|
@@ -1456,7 +1456,7 @@ var gn = /* @__PURE__ */ t(D(), 1), _n = {
|
|
|
1456
1456
|
}, [T]), hn([o, c], () => {
|
|
1457
1457
|
E(!1);
|
|
1458
1458
|
});
|
|
1459
|
-
let
|
|
1459
|
+
let j = (e) => {
|
|
1460
1460
|
let t = m(e);
|
|
1461
1461
|
y(t ? f(t) : ""), O(""), _([]), i == null || i(e);
|
|
1462
1462
|
};
|
|
@@ -1468,17 +1468,17 @@ var gn = /* @__PURE__ */ t(D(), 1), _n = {
|
|
|
1468
1468
|
let e = n ? p(n) : -1, r = e >= 0 ? t[e] : null;
|
|
1469
1469
|
S(e >= 0 ? e : null), w(e >= 0 ? e : null), y(r ? f(r) : ""), O(""), _([]);
|
|
1470
1470
|
}, [n, t]);
|
|
1471
|
-
let
|
|
1471
|
+
let te = (e) => {
|
|
1472
1472
|
var t;
|
|
1473
1473
|
let n = p(e);
|
|
1474
|
-
l.current = !0,
|
|
1474
|
+
l.current = !0, j(e), S(n), w(n), E(!1), (t = s.current) == null || t.blur();
|
|
1475
1475
|
}, ne = (e) => {
|
|
1476
1476
|
e.preventDefault(), e.stopPropagation();
|
|
1477
1477
|
let t = e.currentTarget, n = t.getAttribute("data-value") || t.innerText;
|
|
1478
|
-
_([]),
|
|
1478
|
+
_([]), te(n);
|
|
1479
1479
|
}, re = (e = !1) => {
|
|
1480
1480
|
var t;
|
|
1481
|
-
|
|
1481
|
+
j(""), S(null), w(null), e && ((t = s.current) == null || t.focus());
|
|
1482
1482
|
}, M = () => {
|
|
1483
1483
|
E(!0);
|
|
1484
1484
|
}, N = () => {
|
|
@@ -1487,7 +1487,7 @@ var gn = /* @__PURE__ */ t(D(), 1), _n = {
|
|
|
1487
1487
|
l.current = !1;
|
|
1488
1488
|
return;
|
|
1489
1489
|
}
|
|
1490
|
-
!v && n &&
|
|
1490
|
+
!v && n && j(n);
|
|
1491
1491
|
}, 200);
|
|
1492
1492
|
}, ie = () => {
|
|
1493
1493
|
var e;
|
|
@@ -1496,12 +1496,12 @@ var gn = /* @__PURE__ */ t(D(), 1), _n = {
|
|
|
1496
1496
|
let n = g.length > 0 ? g : t;
|
|
1497
1497
|
if (C !== null && n[C]) {
|
|
1498
1498
|
let e = n[C], t = d(e), r = p(t);
|
|
1499
|
-
|
|
1499
|
+
j(t), S(r), w(r);
|
|
1500
1500
|
}
|
|
1501
1501
|
E(!1), (e = s.current) == null || e.blur();
|
|
1502
|
-
}, P = () => {
|
|
1503
|
-
!T || C === 0 || C === null || w(C - 1);
|
|
1504
1502
|
}, ae = () => {
|
|
1503
|
+
!T || C === 0 || C === null || w(C - 1);
|
|
1504
|
+
}, oe = () => {
|
|
1505
1505
|
if (!T) {
|
|
1506
1506
|
E(!0);
|
|
1507
1507
|
return;
|
|
@@ -1532,10 +1532,10 @@ var gn = /* @__PURE__ */ t(D(), 1), _n = {
|
|
|
1532
1532
|
ie();
|
|
1533
1533
|
break;
|
|
1534
1534
|
case _n.ARROW_UP:
|
|
1535
|
-
|
|
1535
|
+
ae();
|
|
1536
1536
|
break;
|
|
1537
1537
|
case _n.ARROW_DOWN:
|
|
1538
|
-
|
|
1538
|
+
oe();
|
|
1539
1539
|
break;
|
|
1540
1540
|
case _n.DELETE:
|
|
1541
1541
|
re(!0);
|
|
@@ -1743,28 +1743,28 @@ var gn = /* @__PURE__ */ t(D(), 1), _n = {
|
|
|
1743
1743
|
//#endregion
|
|
1744
1744
|
//#region src/components/Bookmarks.tsx
|
|
1745
1745
|
function Cn() {
|
|
1746
|
-
return I(() =>
|
|
1746
|
+
return I(() => z.bookmarksStore.hasBookmarks ? /* @__PURE__ */ (0, Y.jsx)(Sn, {
|
|
1747
1747
|
className: "efp-sidebarActions--bookmarks",
|
|
1748
1748
|
showDirections: !1,
|
|
1749
1749
|
showBookmark: !1,
|
|
1750
|
-
showRoutePlanner: W.wayfinding &&
|
|
1750
|
+
showRoutePlanner: W.wayfinding && z.bookmarksStore.hasRoutableBookmarks,
|
|
1751
1751
|
showShare: !0,
|
|
1752
|
-
onClickRoutePlanner: () =>
|
|
1753
|
-
onClickShare: () =>
|
|
1752
|
+
onClickRoutePlanner: () => z.routePlannerStore.launchFromBookmarks(),
|
|
1753
|
+
onClickShare: () => z.bookmarksStore.share()
|
|
1754
1754
|
}) : null);
|
|
1755
1755
|
}
|
|
1756
1756
|
function wn() {
|
|
1757
1757
|
let e = (0, q.useRef)();
|
|
1758
1758
|
return I(() => /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsx)(Cn, {}), /* @__PURE__ */ (0, Y.jsx)(un, { updatedScrollableRef: e })] }));
|
|
1759
1759
|
}
|
|
1760
|
-
var Tn = () => I(() => !
|
|
1760
|
+
var Tn = () => I(() => !P.hideBookmarks && !U.details && U.list.type === "bookmarks" && /* @__PURE__ */ (0, Y.jsx)(wn, {}));
|
|
1761
1761
|
//#endregion
|
|
1762
1762
|
//#region src/components/Visited.tsx
|
|
1763
1763
|
function En() {
|
|
1764
1764
|
let e = (0, q.useRef)();
|
|
1765
1765
|
return I(() => /* @__PURE__ */ (0, Y.jsx)(un, { updatedScrollableRef: e }));
|
|
1766
1766
|
}
|
|
1767
|
-
var Dn = () => I(() => !
|
|
1767
|
+
var Dn = () => I(() => !U.details && U.list.type === "visited" && /* @__PURE__ */ (0, Y.jsx)(En, {})), On = (e, t, n) => {
|
|
1768
1768
|
let r = t || [
|
|
1769
1769
|
"p",
|
|
1770
1770
|
"span",
|
|
@@ -1819,7 +1819,7 @@ var jn = L(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1819
1819
|
return Array.isArray(r[t]) || (r[t] = []), r[t][n] || (r[t][n] = { showFullDescription: !1 }), r[t][n].showFullDescription = !r[t][n].showFullDescription, r;
|
|
1820
1820
|
});
|
|
1821
1821
|
}, m = (e, n) => e.length > t && !n ? e.slice(0, t) + "..." : e, h = (e) => {
|
|
1822
|
-
let t =
|
|
1822
|
+
let t = z.sessionsFilterStore.state.filters.use24hFormat.value;
|
|
1823
1823
|
return (0, Gt.default)(new Date(e), t ? "HH:MM" : "h:MMtt");
|
|
1824
1824
|
}, g = (e) => {
|
|
1825
1825
|
let [t, n, r] = e.split("-"), i = new Date(parseInt(t), parseInt(n) - 1, parseInt(r));
|
|
@@ -1865,7 +1865,7 @@ var jn = L(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1865
1865
|
role: "list",
|
|
1866
1866
|
children: s.map((s, c) => {
|
|
1867
1867
|
var l, u;
|
|
1868
|
-
let d = s.boothId ?
|
|
1868
|
+
let d = s.boothId ? z.boothStore.boothById.get(Number(s.boothId)) : null, f = (l = (u = o[e]) == null || (u = u[c]) == null ? void 0 : u.showFullDescription) == null ? !1 : l;
|
|
1869
1869
|
return /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1870
1870
|
role: "listitem",
|
|
1871
1871
|
"data-event-id": s.id,
|
|
@@ -1896,7 +1896,7 @@ var jn = L(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1896
1896
|
}),
|
|
1897
1897
|
s.description && !i && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
1898
1898
|
className: "efp-schedule__event-desc",
|
|
1899
|
-
children: [/* @__PURE__ */ (0, Y.jsx)("div", { dangerouslySetInnerHTML: { __html: On(m(s.description, f)) } }), s.description.length > t && n && /* @__PURE__ */ (0, Y.jsx)(
|
|
1899
|
+
children: [/* @__PURE__ */ (0, Y.jsx)("div", { dangerouslySetInnerHTML: { __html: On(m(s.description, f)) } }), s.description.length > t && n && /* @__PURE__ */ (0, Y.jsx)(k, {
|
|
1900
1900
|
variant: "gray-border",
|
|
1901
1901
|
size: "sm",
|
|
1902
1902
|
inline: !0,
|
|
@@ -1940,7 +1940,7 @@ var jn = L(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1940
1940
|
className: "booth__info-body",
|
|
1941
1941
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1942
1942
|
className: "booth__info-title",
|
|
1943
|
-
children: x("{{boothTerm}} Type", { boothTerm:
|
|
1943
|
+
children: x("{{boothTerm}} Type", { boothTerm: P.boothTerm })
|
|
1944
1944
|
}), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1945
1945
|
className: "booth__info-val",
|
|
1946
1946
|
children: e.type
|
|
@@ -1963,7 +1963,7 @@ var jn = L(({ events: e = [], descriptionMaxLength: t = 200, showMoreButton: n =
|
|
|
1963
1963
|
})]
|
|
1964
1964
|
})]
|
|
1965
1965
|
}),
|
|
1966
|
-
e.price && e.price !== "0" && !
|
|
1966
|
+
e.price && e.price !== "0" && !U.previewMode && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
1967
1967
|
className: "booth__info is-onhold",
|
|
1968
1968
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
1969
1969
|
className: "booth__info-icon",
|
|
@@ -2003,7 +2003,7 @@ var In = L(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2003
2003
|
let o = (t) => {
|
|
2004
2004
|
if (t) {
|
|
2005
2005
|
let n = new URL(t);
|
|
2006
|
-
return !n.searchParams.has("type") && e.type && n.searchParams.append("type", e.type), !n.searchParams.has("price") && e.price && !
|
|
2006
|
+
return !n.searchParams.has("type") && e.type && n.searchParams.append("type", e.type), !n.searchParams.has("price") && e.price && !U.previewMode && n.searchParams.append("price", e.price), n;
|
|
2007
2007
|
} else return null;
|
|
2008
2008
|
}, s = o(e.buyUrl), c = o(e.reserveUrl);
|
|
2009
2009
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
@@ -2022,7 +2022,7 @@ var In = L(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2022
2022
|
className: "booth__info-body",
|
|
2023
2023
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
2024
2024
|
className: "booth__info-title",
|
|
2025
|
-
children: x("{{boothTerm}} Type", { boothTerm:
|
|
2025
|
+
children: x("{{boothTerm}} Type", { boothTerm: P.boothTerm })
|
|
2026
2026
|
}), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
2027
2027
|
className: "booth__info-val",
|
|
2028
2028
|
children: e.type
|
|
@@ -2045,7 +2045,7 @@ var In = L(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2045
2045
|
})]
|
|
2046
2046
|
})]
|
|
2047
2047
|
}),
|
|
2048
|
-
!i && e.price && e.price !== "0" && !
|
|
2048
|
+
!i && e.price && e.price !== "0" && !U.previewMode && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
2049
2049
|
className: "booth__info",
|
|
2050
2050
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
2051
2051
|
className: "booth__info-icon",
|
|
@@ -2069,11 +2069,11 @@ var In = L(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2069
2069
|
}),
|
|
2070
2070
|
/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
2071
2071
|
className: "booth__buy",
|
|
2072
|
-
children: [!i && n && /* @__PURE__ */ (0, Y.jsx)(
|
|
2072
|
+
children: [!i && n && /* @__PURE__ */ (0, Y.jsx)(k, {
|
|
2073
2073
|
link: s == null ? void 0 : s.href,
|
|
2074
2074
|
target: Fn ? "_blank" : "_self",
|
|
2075
2075
|
children: x("Buy")
|
|
2076
|
-
}), !i && r && /* @__PURE__ */ (0, Y.jsx)(
|
|
2076
|
+
}), !i && r && /* @__PURE__ */ (0, Y.jsx)(k, {
|
|
2077
2077
|
link: (c == null ? void 0 : c.href) || (s == null ? void 0 : s.href),
|
|
2078
2078
|
target: Fn ? "_blank" : "_self",
|
|
2079
2079
|
children: x("Reserve")
|
|
@@ -2092,7 +2092,7 @@ var In = L(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2092
2092
|
}, Rn = (e) => {
|
|
2093
2093
|
let { clicks: t, background: n } = Rt(e);
|
|
2094
2094
|
return { heatmapBar: (0, q.useMemo)(() => {
|
|
2095
|
-
if (!
|
|
2095
|
+
if (!U.heatmap) return null;
|
|
2096
2096
|
let e = n.trim().toLowerCase(), r = 255, i = 255, a = 255;
|
|
2097
2097
|
if (e.startsWith("#") && (e.length === 7 || e.length === 4)) {
|
|
2098
2098
|
let t = Ln(e);
|
|
@@ -2129,28 +2129,28 @@ var In = L(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2129
2129
|
var e, t;
|
|
2130
2130
|
let n = (0, q.useRef)(), r = R(() => ({
|
|
2131
2131
|
get booth() {
|
|
2132
|
-
return
|
|
2132
|
+
return U.selectedBooth;
|
|
2133
2133
|
},
|
|
2134
2134
|
get regular() {
|
|
2135
2135
|
return this.booth instanceof bt ? this.booth : null;
|
|
2136
2136
|
},
|
|
2137
2137
|
get special() {
|
|
2138
|
-
return this.booth instanceof
|
|
2138
|
+
return this.booth instanceof te ? this.booth : null;
|
|
2139
2139
|
},
|
|
2140
2140
|
get showReserve() {
|
|
2141
|
-
return !
|
|
2141
|
+
return !U.kiosk && this.regular && (this.regular.price === "0" && !!this.regular.buyUrl || !!this.regular.reserveUrl);
|
|
2142
2142
|
},
|
|
2143
2143
|
get showBuy() {
|
|
2144
|
-
return !
|
|
2144
|
+
return !U.kiosk && this.regular && this.regular.buyUrl && this.regular.price && this.regular.price !== "0";
|
|
2145
2145
|
},
|
|
2146
2146
|
get title() {
|
|
2147
2147
|
return this.booth.fullName;
|
|
2148
2148
|
},
|
|
2149
2149
|
get reserveTitle() {
|
|
2150
|
-
return
|
|
2150
|
+
return P.reserveButtonTerm || x("Reserve");
|
|
2151
2151
|
},
|
|
2152
2152
|
get descriptionCombined() {
|
|
2153
|
-
return this.booth.description ||
|
|
2153
|
+
return this.booth.description || P.reserveInstructions || "";
|
|
2154
2154
|
}
|
|
2155
2155
|
}));
|
|
2156
2156
|
(0, q.useEffect)(() => {
|
|
@@ -2171,10 +2171,10 @@ var In = L(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2171
2171
|
}, [r.booth.schedule]);
|
|
2172
2172
|
function i(e, t) {
|
|
2173
2173
|
let n = parseInt(t);
|
|
2174
|
-
|
|
2174
|
+
z.clickExhibitor(z.exhibitorStore.exhibitors.find((e) => e.id === n));
|
|
2175
2175
|
}
|
|
2176
2176
|
function a(e) {
|
|
2177
|
-
|
|
2177
|
+
z.selectEventItem(e, !0);
|
|
2178
2178
|
}
|
|
2179
2179
|
function o() {
|
|
2180
2180
|
r.booth.exhibitors.length === 0 && (r.booth.bookmarkedDirectly = !r.booth.bookmarkedDirectly);
|
|
@@ -2199,7 +2199,7 @@ var In = L(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2199
2199
|
};
|
|
2200
2200
|
})
|
|
2201
2201
|
}, e.id.toString()));
|
|
2202
|
-
if (
|
|
2202
|
+
if (P.isRebooking) s = /* @__PURE__ */ (0, Y.jsx)(Y.Fragment, { children: u });
|
|
2203
2203
|
else if (r.regular) {
|
|
2204
2204
|
let e = r.regular;
|
|
2205
2205
|
s = e.onHold ? /* @__PURE__ */ (0, Y.jsx)(Mn, {
|
|
@@ -2212,8 +2212,8 @@ var In = L(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2212
2212
|
}) : e.reserved ? /* @__PURE__ */ (0, Y.jsx)(Nn, {}) : e.exhibitors.length === 0 ? /* @__PURE__ */ (0, Y.jsx)(In, {
|
|
2213
2213
|
booth: e,
|
|
2214
2214
|
description: r.descriptionCombined,
|
|
2215
|
-
showBuy: !
|
|
2216
|
-
showReserve: !
|
|
2215
|
+
showBuy: !U.previewMode && r.showBuy,
|
|
2216
|
+
showReserve: !U.previewMode && r.showReserve,
|
|
2217
2217
|
isRebooking: !1,
|
|
2218
2218
|
level: c
|
|
2219
2219
|
}) : /* @__PURE__ */ (0, Y.jsx)(Y.Fragment, { children: u });
|
|
@@ -2248,34 +2248,34 @@ var In = L(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2248
2248
|
]
|
|
2249
2249
|
}), /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
2250
2250
|
type: "button",
|
|
2251
|
-
onClick: () =>
|
|
2251
|
+
onClick: () => z.searchStore.handleBackAction(),
|
|
2252
2252
|
className: "booth__header-close",
|
|
2253
2253
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-close" })
|
|
2254
2254
|
})]
|
|
2255
2255
|
}),
|
|
2256
|
-
!
|
|
2256
|
+
!P.isRebooking && W.wayfinding && !U.isGuidedToursActive && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
2257
2257
|
className: "exhibitor__directions",
|
|
2258
2258
|
style: {
|
|
2259
2259
|
paddingLeft: 15,
|
|
2260
2260
|
paddingRight: 15
|
|
2261
2261
|
},
|
|
2262
2262
|
children: /* @__PURE__ */ (0, Y.jsx)(Sn, {
|
|
2263
|
-
showBookmark: !
|
|
2263
|
+
showBookmark: !U.disableBookmarked && !P.hideBookmarks && !U.kiosk && r.booth.exhibitors.length === 0,
|
|
2264
2264
|
showShare: !1,
|
|
2265
2265
|
inBookmark: r.booth.exhibitors.length === 0 ? r.booth.bookmarkedDirectly : !1,
|
|
2266
2266
|
onClickBookmark: o,
|
|
2267
2267
|
onClickDirections: () => {
|
|
2268
|
-
|
|
2268
|
+
z.routeStore.clickRoute(null, r.booth);
|
|
2269
2269
|
}
|
|
2270
2270
|
})
|
|
2271
2271
|
}),
|
|
2272
2272
|
s,
|
|
2273
|
-
|
|
2273
|
+
P.isRebooking && r.regular && r.regular.exhibitors.length === 0 && /* @__PURE__ */ (0, Y.jsx)(In, {
|
|
2274
2274
|
showBuy: !1,
|
|
2275
2275
|
description: r.descriptionCombined,
|
|
2276
2276
|
showReserve: !1,
|
|
2277
2277
|
booth: r.regular,
|
|
2278
|
-
isRebooking:
|
|
2278
|
+
isRebooking: P.isRebooking,
|
|
2279
2279
|
level: c
|
|
2280
2280
|
}),
|
|
2281
2281
|
!!((t = r.booth.schedule) != null && t.length) && /* @__PURE__ */ (0, Y.jsx)(jn, {
|
|
@@ -2286,7 +2286,7 @@ var In = L(({ booth: e, description: t, showBuy: n, showReserve: r, isRebooking:
|
|
|
2286
2286
|
})
|
|
2287
2287
|
]
|
|
2288
2288
|
});
|
|
2289
|
-
}), Bn = L(() => !
|
|
2289
|
+
}), Bn = L(() => !U.menu && U.selectedBooth ? /* @__PURE__ */ (0, Y.jsx)(zn, {}) : null);
|
|
2290
2290
|
//#endregion
|
|
2291
2291
|
//#region src/components/Category.tsx
|
|
2292
2292
|
function Vn() {
|
|
@@ -2298,8 +2298,8 @@ function Vn() {
|
|
|
2298
2298
|
updatedScrollableRef: e
|
|
2299
2299
|
}));
|
|
2300
2300
|
}
|
|
2301
|
-
var Hn = () => I(() => !
|
|
2302
|
-
let { urlFilterManager: e, uiState: t } =
|
|
2301
|
+
var Hn = () => I(() => !U.menu && U.list.type === "category" && U.details instanceof oe && /* @__PURE__ */ (0, Y.jsx)(Vn, {})), Un = () => {
|
|
2302
|
+
let { urlFilterManager: e, uiState: t } = z, n = I(() => ({
|
|
2303
2303
|
categories: t.selectedCategoryFilters.map((e) => e.name),
|
|
2304
2304
|
poiType: t.selectedPoiTypeFilters.length > 0 ? t.selectedPoiTypeFilters[0].name : null,
|
|
2305
2305
|
exhibitors: e.currentFilters.exhibitors,
|
|
@@ -2323,7 +2323,7 @@ var Hn = () => I(() => !H.menu && H.list.type === "category" && H.details instan
|
|
|
2323
2323
|
};
|
|
2324
2324
|
}, Wn = L(() => {
|
|
2325
2325
|
let { currentFilters: e } = Un(), t = (0, q.useMemo)(() => {
|
|
2326
|
-
let e =
|
|
2326
|
+
let e = z.categoryStore.categories || [], t = {}, n = [], r = [];
|
|
2327
2327
|
e.forEach((e) => {
|
|
2328
2328
|
if (!e || !e.exhibitors || e.exhibitors.length === 0) return;
|
|
2329
2329
|
let i = (e.name || "").split("/").map((e) => e.trim());
|
|
@@ -2350,21 +2350,21 @@ var Hn = () => I(() => !H.menu && H.list.type === "category" && H.details instan
|
|
|
2350
2350
|
let n = t[e];
|
|
2351
2351
|
n && n.items && n.items.length > 0 && i.push(n);
|
|
2352
2352
|
}), i;
|
|
2353
|
-
}, [
|
|
2353
|
+
}, [z.categoryStore.categories]);
|
|
2354
2354
|
return (0, q.useEffect)(() => {
|
|
2355
|
-
if (
|
|
2355
|
+
if (z.categoryFilterStore.state.isOpen && e.categories.length > 0) {
|
|
2356
2356
|
let t = e.categories.map((e) => {
|
|
2357
|
-
let t =
|
|
2357
|
+
let t = z.categoryStore.categories.find((t) => t.name.toLowerCase() === e.toLowerCase());
|
|
2358
2358
|
return t ? {
|
|
2359
2359
|
id: t.id,
|
|
2360
2360
|
name: t.name
|
|
2361
2361
|
} : null;
|
|
2362
2362
|
}).filter((e) => e !== null);
|
|
2363
|
-
t.length > 0 &&
|
|
2363
|
+
t.length > 0 && z.categoryFilterStore.setPendingItems(t);
|
|
2364
2364
|
}
|
|
2365
|
-
}, [
|
|
2366
|
-
store:
|
|
2367
|
-
rootStore:
|
|
2365
|
+
}, [z.categoryFilterStore.state.isOpen, e.categories]), /* @__PURE__ */ (0, Y.jsx)(yn, {
|
|
2366
|
+
store: z.categoryFilterStore,
|
|
2367
|
+
rootStore: z,
|
|
2368
2368
|
title: x("Categories"),
|
|
2369
2369
|
groups: t
|
|
2370
2370
|
});
|
|
@@ -2380,7 +2380,7 @@ var Hn = () => I(() => !H.menu && H.list.type === "category" && H.details instan
|
|
|
2380
2380
|
layers: r[5]
|
|
2381
2381
|
}), [r]);
|
|
2382
2382
|
(0, q.useEffect)(() => {
|
|
2383
|
-
y.current && (
|
|
2383
|
+
y.current && (U.mapControlsDOMRect = y.current.getBoundingClientRect());
|
|
2384
2384
|
}), (0, q.useLayoutEffect)(() => {
|
|
2385
2385
|
if (b && _.current) {
|
|
2386
2386
|
let e = _.current.getBoundingClientRect();
|
|
@@ -2499,17 +2499,17 @@ function Kn() {
|
|
|
2499
2499
|
controls: !0,
|
|
2500
2500
|
container: !0,
|
|
2501
2501
|
"-ready": !0,
|
|
2502
|
-
[
|
|
2502
|
+
[U.responsiveClass]: !0
|
|
2503
2503
|
});
|
|
2504
2504
|
},
|
|
2505
2505
|
get style() {
|
|
2506
2506
|
return {
|
|
2507
|
-
[
|
|
2508
|
-
bottom:
|
|
2507
|
+
[U.rtl ? "left" : "right"]: U.overlayPosition === "left" ? U.overlayCollapsed ? s(.9) : (U.kiosk ? 10 : 0) + s(.7) + "px" : "10px",
|
|
2508
|
+
bottom: U.kiosk ? s(4) : s(9.6)
|
|
2509
2509
|
};
|
|
2510
2510
|
},
|
|
2511
2511
|
get layers() {
|
|
2512
|
-
return G.layers.filter((e) => e.mode !==
|
|
2512
|
+
return G.layers.filter((e) => e.mode !== st.AlwaysHidden && e.mode !== st.AlwaysVisible).map((e) => ({
|
|
2513
2513
|
id: e.name,
|
|
2514
2514
|
name: e.description,
|
|
2515
2515
|
visible: e.visible
|
|
@@ -2531,16 +2531,16 @@ function Kn() {
|
|
|
2531
2531
|
x("Fit to screen"),
|
|
2532
2532
|
x("Layers")
|
|
2533
2533
|
],
|
|
2534
|
-
onClickFindLocation: () =>
|
|
2535
|
-
onClickZoomIn: () =>
|
|
2536
|
-
onClickZoomOut: () =>
|
|
2537
|
-
onClickByWidth: () =>
|
|
2538
|
-
onViewModeSwitch: () =>
|
|
2539
|
-
viewModeSwitch:
|
|
2540
|
-
viewMode:
|
|
2541
|
-
findLocation:
|
|
2534
|
+
onClickFindLocation: () => z.routeStore.findLocation(),
|
|
2535
|
+
onClickZoomIn: () => U.zoomIn(),
|
|
2536
|
+
onClickZoomOut: () => U.zoomOut(),
|
|
2537
|
+
onClickByWidth: () => U.fitBounds(),
|
|
2538
|
+
onViewModeSwitch: () => z.mapboxStore.activateMapbox(),
|
|
2539
|
+
viewModeSwitch: z.mapboxStore.mapBoxEnabled && !z.mapboxStore.hideModeSwitchButton,
|
|
2540
|
+
viewMode: z.mapboxStore.showMapbox,
|
|
2541
|
+
findLocation: z.routeStore.canFindLocation && !U.setKioskModeEnabled,
|
|
2542
2542
|
layersActiveItems: e.visible,
|
|
2543
|
-
layersList: G.mode ===
|
|
2543
|
+
layersList: G.mode === Re.CheckBox ? e.layers : null,
|
|
2544
2544
|
onChangeLayers: (e) => {
|
|
2545
2545
|
G.updateVisibility(e, !G.layers.find((t) => t.name === e).visible);
|
|
2546
2546
|
}
|
|
@@ -2644,11 +2644,11 @@ function tr() {
|
|
|
2644
2644
|
collapsed: !0,
|
|
2645
2645
|
updateOverlayContent: null,
|
|
2646
2646
|
get event() {
|
|
2647
|
-
return
|
|
2647
|
+
return U.selectedEventItem;
|
|
2648
2648
|
},
|
|
2649
2649
|
get booth() {
|
|
2650
2650
|
var e;
|
|
2651
|
-
return (e = this.event) != null && e.boothId ?
|
|
2651
|
+
return (e = this.event) != null && e.boothId ? z.boothStore.booths.find((e) => e.id === this.event.boothId) : null;
|
|
2652
2652
|
},
|
|
2653
2653
|
get disableCollapse() {
|
|
2654
2654
|
var e;
|
|
@@ -2666,14 +2666,14 @@ function tr() {
|
|
|
2666
2666
|
e.current && e.current.parentElement && (e.current.parentElement.scrollTop = 0), t.collapsed = !0;
|
|
2667
2667
|
});
|
|
2668
2668
|
let s = (e) => {
|
|
2669
|
-
let t =
|
|
2669
|
+
let t = z.sessionsFilterStore.state.filters.use24hFormat.value;
|
|
2670
2670
|
return (0, Gt.default)(new Date(e), t ? "HH:MM" : "h:MMtt");
|
|
2671
2671
|
}, c = (e) => (0, Gt.default)(new Date(e), "dddd, mmmm d, yyyy");
|
|
2672
2672
|
return I(() => {
|
|
2673
2673
|
var e, r;
|
|
2674
2674
|
let l = t.event;
|
|
2675
2675
|
if (!l) return null;
|
|
2676
|
-
l.name,
|
|
2676
|
+
l.name, P.boothTerm;
|
|
2677
2677
|
let u = () => {
|
|
2678
2678
|
t.collapsed = !1, setTimeout(t.updateOverlayContent);
|
|
2679
2679
|
};
|
|
@@ -2685,7 +2685,7 @@ function tr() {
|
|
|
2685
2685
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
2686
2686
|
className: (0, J.default)({
|
|
2687
2687
|
"efp-event": !0,
|
|
2688
|
-
[
|
|
2688
|
+
[U.responsiveClass]: !0
|
|
2689
2689
|
}),
|
|
2690
2690
|
children: [
|
|
2691
2691
|
/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
@@ -2701,38 +2701,38 @@ function tr() {
|
|
|
2701
2701
|
})]
|
|
2702
2702
|
}), /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
2703
2703
|
type: "button",
|
|
2704
|
-
onClick: () =>
|
|
2704
|
+
onClick: () => z.searchStore.handleBackAction(),
|
|
2705
2705
|
className: "efp-event__header-close",
|
|
2706
2706
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-close" })
|
|
2707
2707
|
})]
|
|
2708
2708
|
}),
|
|
2709
2709
|
/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
2710
2710
|
className: "efp-event__buttons",
|
|
2711
|
-
children: !
|
|
2712
|
-
showBookmark: !
|
|
2711
|
+
children: !U.isGuidedToursActive && /* @__PURE__ */ (0, Y.jsx)(Sn, {
|
|
2712
|
+
showBookmark: !U.disableBookmarked && !P.hideBookmarks && !U.kiosk,
|
|
2713
2713
|
showDirections: t.booth && W.wayfinding,
|
|
2714
2714
|
inBookmark: ((e = t.event) == null ? void 0 : e.bookmarked) || !1,
|
|
2715
2715
|
showShare: !0,
|
|
2716
|
-
showVisited: !
|
|
2716
|
+
showVisited: !U.kiosk,
|
|
2717
2717
|
visited: ((r = t.event) == null ? void 0 : r.visited) || !1,
|
|
2718
2718
|
onClickBookmark: rr,
|
|
2719
2719
|
onClickShare: nr,
|
|
2720
2720
|
onClickDirections: () => {
|
|
2721
|
-
t.booth &&
|
|
2721
|
+
t.booth && z.routeStore.clickRoute(null, t.booth);
|
|
2722
2722
|
},
|
|
2723
2723
|
onClickVisited: ir
|
|
2724
2724
|
})
|
|
2725
2725
|
}),
|
|
2726
2726
|
/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
2727
|
-
className: (0, J.default)("efp-event__details", { "details-hidden":
|
|
2727
|
+
className: (0, J.default)("efp-event__details", { "details-hidden": U.kiosk && n && !i }),
|
|
2728
2728
|
ref: o,
|
|
2729
2729
|
children: [
|
|
2730
2730
|
/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
2731
|
-
className: (0, J.default)("efp-event-booths", { "is-links-disabled":
|
|
2731
|
+
className: (0, J.default)("efp-event-booths", { "is-links-disabled": U.isGuidedToursActive }),
|
|
2732
2732
|
children: [t.booth && /* @__PURE__ */ (0, Y.jsxs)("a", {
|
|
2733
2733
|
href: `?${t.booth.slug}`,
|
|
2734
2734
|
onClick: (e) => {
|
|
2735
|
-
e.preventDefault(),
|
|
2735
|
+
e.preventDefault(), z.toggleMapOverlay(), z.selectBooth(t.booth);
|
|
2736
2736
|
},
|
|
2737
2737
|
className: "efp-event-booths__booth",
|
|
2738
2738
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
@@ -2740,7 +2740,7 @@ function tr() {
|
|
|
2740
2740
|
children: t.booth.name
|
|
2741
2741
|
}), t.booth.layer && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
2742
2742
|
className: "efp-event-categories__booth-level",
|
|
2743
|
-
children:
|
|
2743
|
+
children: P.shortLevelName ? t.booth.layer.shortName : t.booth.layer.description
|
|
2744
2744
|
})]
|
|
2745
2745
|
}), l.hasTracks && l.tracks.map((e) => /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
2746
2746
|
className: "efp-event-booths__track",
|
|
@@ -2784,7 +2784,7 @@ function tr() {
|
|
|
2784
2784
|
children: l.speakers.map((e) => /* @__PURE__ */ (0, Y.jsxs)("a", {
|
|
2785
2785
|
href: `?${e.slug}`,
|
|
2786
2786
|
onClick: (t) => {
|
|
2787
|
-
t.preventDefault(),
|
|
2787
|
+
t.preventDefault(), z.selectSpeaker(e, !0);
|
|
2788
2788
|
},
|
|
2789
2789
|
className: "efp-event-list__block-item efp-event-list__block-item--clickable",
|
|
2790
2790
|
children: [e.photoFile && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
@@ -2808,7 +2808,7 @@ function tr() {
|
|
|
2808
2808
|
})]
|
|
2809
2809
|
}),
|
|
2810
2810
|
(l.description || l.logoFile) && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
2811
|
-
className: (0, J.default)("efp-event-description", { collapsed: t.collapsed && !t.disableCollapse && !
|
|
2811
|
+
className: (0, J.default)("efp-event-description", { collapsed: t.collapsed && !t.disableCollapse && !U.kiosk }),
|
|
2812
2812
|
children: [l.logoFile && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
2813
2813
|
className: (0, J.default)("efp-event-description__logo", { "efp-event-description__logo--left": !l.description }),
|
|
2814
2814
|
children: /* @__PURE__ */ (0, Y.jsx)("img", {
|
|
@@ -2825,7 +2825,7 @@ function tr() {
|
|
|
2825
2825
|
})
|
|
2826
2826
|
]
|
|
2827
2827
|
}),
|
|
2828
|
-
|
|
2828
|
+
U.kiosk && n && !i ? /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
2829
2829
|
className: "show-details-button",
|
|
2830
2830
|
children: /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
2831
2831
|
type: "button",
|
|
@@ -2833,7 +2833,7 @@ function tr() {
|
|
|
2833
2833
|
children: x("Show More")
|
|
2834
2834
|
})
|
|
2835
2835
|
}) : null,
|
|
2836
|
-
|
|
2836
|
+
U.kiosk && n && i ? /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
2837
2837
|
type: "button",
|
|
2838
2838
|
className: "hide-details-button",
|
|
2839
2839
|
onClick: () => a(!1),
|
|
@@ -2844,26 +2844,26 @@ function tr() {
|
|
|
2844
2844
|
});
|
|
2845
2845
|
}
|
|
2846
2846
|
function nr() {
|
|
2847
|
-
let e =
|
|
2848
|
-
e && (
|
|
2847
|
+
let e = U.selectedEventItem;
|
|
2848
|
+
e && (V(B.ClickCustomButton, e.name), z.toggleModal("share"));
|
|
2849
2849
|
}
|
|
2850
2850
|
function rr() {
|
|
2851
|
-
let e =
|
|
2852
|
-
e && (e.bookmarked = !e.bookmarked,
|
|
2851
|
+
let e = U.selectedEventItem;
|
|
2852
|
+
e && (e.bookmarked = !e.bookmarked, U.onBookmarkClick && U.onBookmarkClick({
|
|
2853
2853
|
name: e.name,
|
|
2854
2854
|
bookmarked: e.bookmarked,
|
|
2855
2855
|
externalId: e.externalId
|
|
2856
|
-
}),
|
|
2856
|
+
}), V(B.ClickCustomButton, e.name));
|
|
2857
2857
|
}
|
|
2858
2858
|
function ir() {
|
|
2859
|
-
let e =
|
|
2860
|
-
e && (e.visited = !e.visited,
|
|
2859
|
+
let e = U.selectedEventItem;
|
|
2860
|
+
e && (e.visited = !e.visited, U.onVisitedClick && U.onVisitedClick({
|
|
2861
2861
|
name: e.name,
|
|
2862
2862
|
visited: e.visited,
|
|
2863
2863
|
externalId: e.externalId
|
|
2864
|
-
}),
|
|
2864
|
+
}), V(B.ClickCustomButton, e.name));
|
|
2865
2865
|
}
|
|
2866
|
-
var ar = L(() =>
|
|
2866
|
+
var ar = L(() => U.selectedEventItem ? /* @__PURE__ */ (0, Y.jsx)(tr, {}) : null), or = L(({ 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 }) => {
|
|
2867
2867
|
let p = a !== void 0 && (a > 0 || l), m = !!u;
|
|
2868
2868
|
return /* @__PURE__ */ (0, Y.jsxs)("button", {
|
|
2869
2869
|
type: "button",
|
|
@@ -2914,7 +2914,7 @@ sr.displayName = "SearchSubButton";
|
|
|
2914
2914
|
//#endregion
|
|
2915
2915
|
//#region src/components/SearchButtons/SearchSubButtons.tsx
|
|
2916
2916
|
var cr = (0, q.memo)(L(() => {
|
|
2917
|
-
let { searchButtonsStore: e } =
|
|
2917
|
+
let { searchButtonsStore: e } = z, t = (0, q.useRef)(null);
|
|
2918
2918
|
(0, q.useEffect)(() => {
|
|
2919
2919
|
let t = (t) => {
|
|
2920
2920
|
t.key === "Escape" && e.shouldShowSubButtons && e.hideSubButtons();
|
|
@@ -2935,12 +2935,12 @@ cr.displayName = "SearchSubButtons";
|
|
|
2935
2935
|
//#endregion
|
|
2936
2936
|
//#region src/components/SearchButtons/SearchButtons.tsx
|
|
2937
2937
|
var lr = L(() => {
|
|
2938
|
-
let { searchButtonsStore: e } =
|
|
2938
|
+
let { searchButtonsStore: e } = z, t = (0, q.useMemo)(() => e.searchButtons.filter((e) => e.enabled), [e.searchButtons]);
|
|
2939
2939
|
return e.shouldShow ? /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
2940
2940
|
className: (0, J.default)("efp-search-buttons", {
|
|
2941
|
-
"is-overlay-full":
|
|
2942
|
-
"is-long-levels": !
|
|
2943
|
-
"efp-semi-transparent":
|
|
2941
|
+
"is-overlay-full": z.uiState.isOverlayOpen && z.uiState.overlaySize === "full",
|
|
2942
|
+
"is-long-levels": !P.shortLevelName,
|
|
2943
|
+
"efp-semi-transparent": z.uiState.setKioskModeEnabled
|
|
2944
2944
|
}),
|
|
2945
2945
|
children: [/* @__PURE__ */ (0, Y.jsx)(Mt, {
|
|
2946
2946
|
variant: "search-buttons",
|
|
@@ -2949,7 +2949,7 @@ var lr = L(() => {
|
|
|
2949
2949
|
arrowPosition: "inside",
|
|
2950
2950
|
children: t.map((e) => /* @__PURE__ */ (0, Y.jsx)(or, {
|
|
2951
2951
|
...e,
|
|
2952
|
-
isDisabled:
|
|
2952
|
+
isDisabled: z.uiState.setKioskModeEnabled
|
|
2953
2953
|
}, e.id))
|
|
2954
2954
|
}), e.subButtonsEnabled && /* @__PURE__ */ (0, Y.jsx)(cr, {})]
|
|
2955
2955
|
}) : null;
|
|
@@ -3009,7 +3009,7 @@ var lr = L(() => {
|
|
|
3009
3009
|
})
|
|
3010
3010
|
}), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3011
3011
|
className: "rebooking-notes__buttons",
|
|
3012
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
3012
|
+
children: /* @__PURE__ */ (0, Y.jsx)(k, {
|
|
3013
3013
|
inline: !0,
|
|
3014
3014
|
onClick: () => {
|
|
3015
3015
|
let e = i;
|
|
@@ -3058,7 +3058,7 @@ function vr(e, t) {
|
|
|
3058
3058
|
e.classList ? e.classList.remove(t) : typeof e.className == "string" ? e.className = _r(e.className, t) : e.setAttribute("class", _r(e.className && e.className.baseVal || "", t));
|
|
3059
3059
|
}
|
|
3060
3060
|
//#endregion
|
|
3061
|
-
//#region ../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@19.2.
|
|
3061
|
+
//#region ../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/react-transition-group/esm/config.js
|
|
3062
3062
|
var yr = { disabled: !1 }, br = q.createContext(null), xr = function(e) {
|
|
3063
3063
|
return e.scrollTop;
|
|
3064
3064
|
}, Sr = "unmounted", Cr = "exited", wr = "entering", Tr = "entered", Er = "exiting", Dr = /* @__PURE__ */ function(e) {
|
|
@@ -3194,7 +3194,7 @@ Dr.defaultProps = {
|
|
|
3194
3194
|
onExited: Or
|
|
3195
3195
|
}, Dr.UNMOUNTED = Sr, Dr.EXITED = Cr, Dr.ENTERING = wr, Dr.ENTERED = Tr, Dr.EXITING = Er;
|
|
3196
3196
|
//#endregion
|
|
3197
|
-
//#region ../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@19.2.
|
|
3197
|
+
//#region ../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/react-transition-group/esm/CSSTransition.js
|
|
3198
3198
|
var kr = function(e, t) {
|
|
3199
3199
|
return e && t && t.split(" ").forEach(function(t) {
|
|
3200
3200
|
return gr(e, t);
|
|
@@ -3251,7 +3251,7 @@ var kr = function(e, t) {
|
|
|
3251
3251
|
var e = this.props;
|
|
3252
3252
|
e.classNames;
|
|
3253
3253
|
var t = pr(e, ["classNames"]);
|
|
3254
|
-
return /* @__PURE__ */ q.createElement(Dr,
|
|
3254
|
+
return /* @__PURE__ */ q.createElement(Dr, at({}, t, {
|
|
3255
3255
|
onEnter: this.onEnter,
|
|
3256
3256
|
onEntered: this.onEntered,
|
|
3257
3257
|
onEntering: this.onEntering,
|
|
@@ -3263,7 +3263,7 @@ var kr = function(e, t) {
|
|
|
3263
3263
|
}(q.Component);
|
|
3264
3264
|
jr.defaultProps = { classNames: "" }, jr.propTypes = {};
|
|
3265
3265
|
//#endregion
|
|
3266
|
-
//#region ../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@19.2.
|
|
3266
|
+
//#region ../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/react-transition-group/esm/utils/ChildMapping.js
|
|
3267
3267
|
function Mr(e, t) {
|
|
3268
3268
|
var n = function(e) {
|
|
3269
3269
|
return t && (0, q.isValidElement)(e) ? t(e) : e;
|
|
@@ -3327,7 +3327,7 @@ function Ir(e, t, n) {
|
|
|
3327
3327
|
}), i;
|
|
3328
3328
|
}
|
|
3329
3329
|
//#endregion
|
|
3330
|
-
//#region ../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@19.2.
|
|
3330
|
+
//#region ../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/react-transition-group/esm/TransitionGroup.js
|
|
3331
3331
|
var Lr = Object.values || function(e) {
|
|
3332
3332
|
return Object.keys(e).map(function(t) {
|
|
3333
3333
|
return e[t];
|
|
@@ -3361,7 +3361,7 @@ var Lr = Object.values || function(e) {
|
|
|
3361
3361
|
}, n.handleExited = function(e, t) {
|
|
3362
3362
|
var n = Mr(this.props.children);
|
|
3363
3363
|
e.key in n || (e.props.onExited && e.props.onExited(t), this.mounted && this.setState(function(t) {
|
|
3364
|
-
var n =
|
|
3364
|
+
var n = at({}, t.children);
|
|
3365
3365
|
return delete n[e.key], { children: n };
|
|
3366
3366
|
}));
|
|
3367
3367
|
}, n.render = function() {
|
|
@@ -3374,20 +3374,20 @@ zr.propTypes = {}, zr.defaultProps = Rr;
|
|
|
3374
3374
|
//#region src/components/Exhibitor.tsx
|
|
3375
3375
|
var Br = q.lazy(() => import(
|
|
3376
3376
|
/* webpackChunkName: "gallery" */
|
|
3377
|
-
"./Gallery-
|
|
3377
|
+
"./Gallery-CXfebPUO.js"
|
|
3378
3378
|
).then((e) => e.t));
|
|
3379
3379
|
function Vr() {
|
|
3380
3380
|
let e = (0, q.useRef)(), t = R(() => ({
|
|
3381
3381
|
collapsed: !0,
|
|
3382
3382
|
updateOverlayContent: null,
|
|
3383
3383
|
get exhibitor() {
|
|
3384
|
-
return
|
|
3384
|
+
return U.selectedExhibitor;
|
|
3385
3385
|
},
|
|
3386
3386
|
get websiteTrimmed() {
|
|
3387
3387
|
return this.exhibitor.website ? this.exhibitor.website.replace(/^(http(s?):\/\/)([^/]+)(\/)?$/i, "$3") : "";
|
|
3388
3388
|
},
|
|
3389
3389
|
get anySocial() {
|
|
3390
|
-
return
|
|
3390
|
+
return U.kiosk ? !1 : !![
|
|
3391
3391
|
"facebook",
|
|
3392
3392
|
"instagram",
|
|
3393
3393
|
"linkedin",
|
|
@@ -3413,10 +3413,10 @@ function Vr() {
|
|
|
3413
3413
|
return !!(this.exhibitor.customButtonTitle || this.exhibitor.customButton2Title || this.exhibitor.customButton3Title);
|
|
3414
3414
|
},
|
|
3415
3415
|
get disableCollapse() {
|
|
3416
|
-
return !this.anySocial && !this.anyAddress && !this.anyMedia && !this.anyButtons ||
|
|
3416
|
+
return !this.anySocial && !this.anyAddress && !this.anyMedia && !this.anyButtons || U.overlayPosition === "left" && (this.exhibitor.description || "").length < 800;
|
|
3417
3417
|
},
|
|
3418
3418
|
get showEdit() {
|
|
3419
|
-
return !!(
|
|
3419
|
+
return !!(P.sendLoginLinkUrl && this.sendLinkEmail);
|
|
3420
3420
|
},
|
|
3421
3421
|
get sendLinkEmail() {
|
|
3422
3422
|
return this.exhibitor.privateEmail || this.exhibitor.email;
|
|
@@ -3428,25 +3428,25 @@ function Vr() {
|
|
|
3428
3428
|
i(e > 300);
|
|
3429
3429
|
}
|
|
3430
3430
|
})(), () => {
|
|
3431
|
-
|
|
3431
|
+
z.exhibitorStore.rebookingStateChangeRequested = !1;
|
|
3432
3432
|
}), []), K(() => t.exhibitor, () => {
|
|
3433
3433
|
e.current && (e.current.parentElement.scrollTop = 0), t.collapsed = !0;
|
|
3434
3434
|
});
|
|
3435
3435
|
function l(e, t) {
|
|
3436
|
-
if (d(t),
|
|
3436
|
+
if (d(t), U.kiosk) return e.preventDefault();
|
|
3437
3437
|
}
|
|
3438
3438
|
function u(e, n, r) {
|
|
3439
|
-
|
|
3439
|
+
V(B.ClickCustomButton, t.exhibitor.name);
|
|
3440
3440
|
let i = {
|
|
3441
3441
|
externalId: t.exhibitor.externalId,
|
|
3442
3442
|
buttonNumber: e,
|
|
3443
3443
|
buttonUrl: n,
|
|
3444
3444
|
preventDefault: r.preventDefault.bind(r)
|
|
3445
3445
|
};
|
|
3446
|
-
|
|
3446
|
+
U.onExhibitorCustomButtonClick && U.onExhibitorCustomButtonClick(i);
|
|
3447
3447
|
}
|
|
3448
3448
|
function d(e) {
|
|
3449
|
-
|
|
3449
|
+
V(e, t.exhibitor.name);
|
|
3450
3450
|
}
|
|
3451
3451
|
let f = (0, q.useRef)(), p = {
|
|
3452
3452
|
entering: { opacity: 1 },
|
|
@@ -3456,7 +3456,7 @@ function Vr() {
|
|
|
3456
3456
|
};
|
|
3457
3457
|
return I(() => {
|
|
3458
3458
|
var e, i, o;
|
|
3459
|
-
let b = t.exhibitor, S =
|
|
3459
|
+
let b = t.exhibitor, S = P.isRebooking ? (() => {
|
|
3460
3460
|
let e = /* @__PURE__ */ new Set();
|
|
3461
3461
|
for (let t of b.booths) t instanceof bt && t.size && e.add(t.size);
|
|
3462
3462
|
let t = Array.from(e);
|
|
@@ -3486,17 +3486,17 @@ function Vr() {
|
|
|
3486
3486
|
}),
|
|
3487
3487
|
/* @__PURE__ */ (0, Y.jsx)(mt, {
|
|
3488
3488
|
showTitle: !1,
|
|
3489
|
-
options:
|
|
3489
|
+
options: we,
|
|
3490
3490
|
checked: b.rebookingState.toString(),
|
|
3491
|
-
onChange: (e) =>
|
|
3491
|
+
onChange: (e) => z.exhibitorStore.setRebookingState(b, parseInt(e.target.value), b.rebookingNote)
|
|
3492
3492
|
}),
|
|
3493
3493
|
/* @__PURE__ */ (0, Y.jsx)(fr, {
|
|
3494
3494
|
state: "default",
|
|
3495
3495
|
value: b.rebookingNote || "",
|
|
3496
|
-
onClickSave: (e) =>
|
|
3496
|
+
onClickSave: (e) => z.exhibitorStore.setRebookingState(b, b.rebookingState, e)
|
|
3497
3497
|
}),
|
|
3498
3498
|
/* @__PURE__ */ (0, Y.jsx)(Dr, {
|
|
3499
|
-
in:
|
|
3499
|
+
in: z.exhibitorStore.rebookingStateChangeRequested,
|
|
3500
3500
|
nodeRef: f,
|
|
3501
3501
|
timeout: 150,
|
|
3502
3502
|
appear: !0,
|
|
@@ -3516,12 +3516,12 @@ function Vr() {
|
|
|
3516
3516
|
...p[e]
|
|
3517
3517
|
},
|
|
3518
3518
|
children: /* @__PURE__ */ (0, Y.jsx)(mn, {
|
|
3519
|
-
title:
|
|
3520
|
-
variant:
|
|
3519
|
+
title: z.exhibitorStore.rebookingStateSaved ? x("Changes saved") : x("Oops! Something went wrong"),
|
|
3520
|
+
variant: z.exhibitorStore.rebookingStateSaved ? "success" : "error",
|
|
3521
3521
|
inline: !0,
|
|
3522
3522
|
closable: !0,
|
|
3523
3523
|
onClose: () => {
|
|
3524
|
-
|
|
3524
|
+
z.exhibitorStore.rebookingStateChangeRequested = !1;
|
|
3525
3525
|
}
|
|
3526
3526
|
})
|
|
3527
3527
|
})
|
|
@@ -3531,14 +3531,14 @@ function Vr() {
|
|
|
3531
3531
|
exhibitor: !0,
|
|
3532
3532
|
"is-featured": b.featured,
|
|
3533
3533
|
bookmarked: b.bookmarked,
|
|
3534
|
-
[
|
|
3534
|
+
[U.responsiveClass]: !0
|
|
3535
3535
|
}), w = () => {
|
|
3536
3536
|
t.collapsed = !1, setTimeout(t.updateOverlayContent);
|
|
3537
3537
|
};
|
|
3538
3538
|
function T(e, t, n) {
|
|
3539
|
-
return !e || !t ||
|
|
3539
|
+
return !e || !t || U.kiosk || U.previewMode ? null : /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3540
3540
|
className: "exhibitor-custom-button",
|
|
3541
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
3541
|
+
children: /* @__PURE__ */ (0, Y.jsx)(k, {
|
|
3542
3542
|
link: t,
|
|
3543
3543
|
inline: !0,
|
|
3544
3544
|
onClick: (e) => {
|
|
@@ -3566,14 +3566,14 @@ function Vr() {
|
|
|
3566
3566
|
return r == null ? t[0].startsWith("!*//||^^") && t[0].length > 18 ? t[0].substring(18) : t[0] : r.substring(18);
|
|
3567
3567
|
}
|
|
3568
3568
|
function O() {
|
|
3569
|
-
return !
|
|
3569
|
+
return !P.hideShareButton && !U.kiosk && window.location.host.endsWith(".expofp.com") && W.EXPO !== "globalaltsmiami2024";
|
|
3570
3570
|
}
|
|
3571
|
-
function
|
|
3571
|
+
function ee() {
|
|
3572
3572
|
t.updateOverlayContent();
|
|
3573
3573
|
}
|
|
3574
|
-
let
|
|
3574
|
+
let A = (e) => /^\d+$/.test(e), j = (e) => {
|
|
3575
3575
|
var t, n;
|
|
3576
|
-
return
|
|
3576
|
+
return P.shortLevelName ? (t = e.layer) == null ? void 0 : t.shortName : (n = e.layer) == null ? void 0 : n.description;
|
|
3577
3577
|
};
|
|
3578
3578
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
3579
3579
|
className: C,
|
|
@@ -3596,7 +3596,7 @@ function Vr() {
|
|
|
3596
3596
|
]
|
|
3597
3597
|
}), /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
3598
3598
|
type: "button",
|
|
3599
|
-
onClick: () =>
|
|
3599
|
+
onClick: () => z.searchStore.handleBackAction(),
|
|
3600
3600
|
className: "exhibitor__header-close",
|
|
3601
3601
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-close" })
|
|
3602
3602
|
})]
|
|
@@ -3604,17 +3604,17 @@ function Vr() {
|
|
|
3604
3604
|
S || /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [
|
|
3605
3605
|
/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3606
3606
|
className: "exhibitor__buttons",
|
|
3607
|
-
children: !
|
|
3608
|
-
showBookmark: !
|
|
3607
|
+
children: !U.isGuidedToursActive && /* @__PURE__ */ (0, Y.jsx)(Sn, {
|
|
3608
|
+
showBookmark: !U.disableBookmarked && !P.hideBookmarks && !U.kiosk,
|
|
3609
3609
|
showDirections: b.booths.length > 0 && W.wayfinding,
|
|
3610
3610
|
inBookmark: t.exhibitor.bookmarked,
|
|
3611
3611
|
showShare: O(),
|
|
3612
|
-
showVisited: !
|
|
3612
|
+
showVisited: !U.kiosk,
|
|
3613
3613
|
visited: t.exhibitor.visited,
|
|
3614
3614
|
onClickBookmark: v,
|
|
3615
3615
|
onClickShare: m,
|
|
3616
3616
|
onClickDirections: () => {
|
|
3617
|
-
|
|
3617
|
+
z.routeStore.clickRoute(null, z.routeStore.tempToBooth || b.booths[0]);
|
|
3618
3618
|
},
|
|
3619
3619
|
onClickVisited: y
|
|
3620
3620
|
})
|
|
@@ -3634,32 +3634,32 @@ function Vr() {
|
|
|
3634
3634
|
}) : /* @__PURE__ */ (0, Y.jsx)(qn, { children: /* @__PURE__ */ (0, Y.jsx)(q.Suspense, {
|
|
3635
3635
|
fallback: null,
|
|
3636
3636
|
children: /* @__PURE__ */ (0, Y.jsx)(Br, {
|
|
3637
|
-
className:
|
|
3638
|
-
onOpenGallery: () =>
|
|
3639
|
-
onCloseGallery: () =>
|
|
3640
|
-
onImageLoadHeightUpdate:
|
|
3637
|
+
className: U.responsiveClass,
|
|
3638
|
+
onOpenGallery: () => z.openGallery(),
|
|
3639
|
+
onCloseGallery: () => z.closeGallery(),
|
|
3640
|
+
onImageLoadHeightUpdate: ee,
|
|
3641
3641
|
leading: !0,
|
|
3642
3642
|
images: [b.leadingImageUrl]
|
|
3643
3643
|
})
|
|
3644
3644
|
}) })
|
|
3645
3645
|
}) : null,
|
|
3646
3646
|
/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
3647
|
-
className: (0, J.default)("exhibitor__details", { "details-hidden":
|
|
3647
|
+
className: (0, J.default)("exhibitor__details", { "details-hidden": U.kiosk && r && !a }),
|
|
3648
3648
|
ref: c,
|
|
3649
3649
|
children: [
|
|
3650
3650
|
/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
3651
|
-
className: (0, J.default)("exhibitor-categories", { "is-links-disabled":
|
|
3651
|
+
className: (0, J.default)("exhibitor-categories", { "is-links-disabled": U.isGuidedToursActive }),
|
|
3652
3652
|
children: [
|
|
3653
3653
|
b.featured && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3654
3654
|
className: "exhibitor-featured",
|
|
3655
3655
|
children: x("Featured")
|
|
3656
3656
|
}),
|
|
3657
3657
|
b.booths.map((e) => {
|
|
3658
|
-
let t =
|
|
3658
|
+
let t = j(e);
|
|
3659
3659
|
return /* @__PURE__ */ (0, Y.jsxs)("a", {
|
|
3660
3660
|
href: `?${e.slug}`,
|
|
3661
3661
|
onClick: (t) => {
|
|
3662
|
-
t.preventDefault(),
|
|
3662
|
+
t.preventDefault(), z.toggleMapOverlay(), z.selectBooth(e);
|
|
3663
3663
|
},
|
|
3664
3664
|
className: "exhibitor-categories__booth",
|
|
3665
3665
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
@@ -3667,7 +3667,7 @@ function Vr() {
|
|
|
3667
3667
|
children: e.name
|
|
3668
3668
|
}), t && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
3669
3669
|
className: "exhibitor-categories__booth-level",
|
|
3670
|
-
children: [
|
|
3670
|
+
children: [A(t) ? x("Level") + " " : "", t]
|
|
3671
3671
|
})]
|
|
3672
3672
|
}, e.id);
|
|
3673
3673
|
}),
|
|
@@ -3698,7 +3698,7 @@ function Vr() {
|
|
|
3698
3698
|
}) : null]
|
|
3699
3699
|
}) : null,
|
|
3700
3700
|
(!!((e = b.schedule) != null && e.length) || !!((i = b.booths[0]) != null && i.schedule.length)) && /* @__PURE__ */ (0, Y.jsx)(jn, { events: [...b.schedule || ((o = b.booths[0]) == null ? void 0 : o.schedule) || []].sort((e, t) => new Date(e.startDate).getTime() - new Date(t.startDate).getTime()) }),
|
|
3701
|
-
!
|
|
3701
|
+
!U.kiosk && b.videoUrl && navigator.onLine && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3702
3702
|
className: "exhibitor-video",
|
|
3703
3703
|
children: /* @__PURE__ */ (0, Y.jsx)("iframe", {
|
|
3704
3704
|
src: b.videoUrl,
|
|
@@ -3709,23 +3709,23 @@ function Vr() {
|
|
|
3709
3709
|
}),
|
|
3710
3710
|
b.gallery && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3711
3711
|
className: "exhibitor-slider",
|
|
3712
|
-
onClick: () => d(
|
|
3712
|
+
onClick: () => d(B.ViewGallery),
|
|
3713
3713
|
children: /* @__PURE__ */ (0, Y.jsx)(qn, { children: /* @__PURE__ */ (0, Y.jsx)(q.Suspense, {
|
|
3714
3714
|
fallback: null,
|
|
3715
3715
|
children: /* @__PURE__ */ (0, Y.jsx)(Br, {
|
|
3716
|
-
className:
|
|
3717
|
-
onOpenGallery: () =>
|
|
3718
|
-
onCloseGallery: () =>
|
|
3719
|
-
onImageLoadHeightUpdate:
|
|
3716
|
+
className: U.responsiveClass,
|
|
3717
|
+
onOpenGallery: () => z.openGallery(),
|
|
3718
|
+
onCloseGallery: () => z.closeGallery(),
|
|
3719
|
+
onImageLoadHeightUpdate: ee,
|
|
3720
3720
|
images: b.gallery
|
|
3721
3721
|
})
|
|
3722
3722
|
}) })
|
|
3723
3723
|
}),
|
|
3724
|
-
!
|
|
3724
|
+
!U.kiosk && b.marketMaterials && /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsx)("div", { className: "exhibitor-sep" }), /* @__PURE__ */ (0, Y.jsx)(dr, { list: b.marketMaterials })] }),
|
|
3725
3725
|
t.showEdit && /* @__PURE__ */ (0, Y.jsx)("div", { className: "exhibitor-sep" }),
|
|
3726
|
-
!
|
|
3726
|
+
!U.kiosk && t.showEdit && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3727
3727
|
className: "exhibitor-edit",
|
|
3728
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
3728
|
+
children: /* @__PURE__ */ (0, Y.jsx)(k, {
|
|
3729
3729
|
size: "sm",
|
|
3730
3730
|
variant: "secondary",
|
|
3731
3731
|
onClick: _,
|
|
@@ -3768,7 +3768,7 @@ function Vr() {
|
|
|
3768
3768
|
dir: "ltr",
|
|
3769
3769
|
href: "tel:" + b.phone1,
|
|
3770
3770
|
className: "exhibitor-meta__link",
|
|
3771
|
-
onClick: (e) => l(e,
|
|
3771
|
+
onClick: (e) => l(e, B.ClickPhone),
|
|
3772
3772
|
children: b.phone1
|
|
3773
3773
|
})
|
|
3774
3774
|
})]
|
|
@@ -3785,7 +3785,7 @@ function Vr() {
|
|
|
3785
3785
|
target: "_blank",
|
|
3786
3786
|
rel: "noopener noreferrer",
|
|
3787
3787
|
className: "exhibitor-meta__link",
|
|
3788
|
-
onClick: (e) => l(e,
|
|
3788
|
+
onClick: (e) => l(e, B.ClickWebsite),
|
|
3789
3789
|
children: t.websiteTrimmed
|
|
3790
3790
|
})
|
|
3791
3791
|
})]
|
|
@@ -3802,7 +3802,7 @@ function Vr() {
|
|
|
3802
3802
|
target: "_blank",
|
|
3803
3803
|
rel: "noopener noreferrer",
|
|
3804
3804
|
className: "exhibitor-meta__link",
|
|
3805
|
-
onClick: (e) => l(e,
|
|
3805
|
+
onClick: (e) => l(e, B.ClickEmail),
|
|
3806
3806
|
children: b.email
|
|
3807
3807
|
})
|
|
3808
3808
|
})]
|
|
@@ -3813,7 +3813,7 @@ function Vr() {
|
|
|
3813
3813
|
/* @__PURE__ */ (0, Y.jsx)("a", {
|
|
3814
3814
|
href: b.facebook,
|
|
3815
3815
|
className: "exhibitor-meta__social",
|
|
3816
|
-
onClick: () => d(
|
|
3816
|
+
onClick: () => d(B.ClickFacebook),
|
|
3817
3817
|
target: "_blank",
|
|
3818
3818
|
rel: "noopener noreferrer",
|
|
3819
3819
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-facebook" })
|
|
@@ -3821,7 +3821,7 @@ function Vr() {
|
|
|
3821
3821
|
/* @__PURE__ */ (0, Y.jsx)("a", {
|
|
3822
3822
|
href: b.instagram,
|
|
3823
3823
|
className: "exhibitor-meta__social",
|
|
3824
|
-
onClick: () => d(
|
|
3824
|
+
onClick: () => d(B.ClickInstagaram),
|
|
3825
3825
|
target: "_blank",
|
|
3826
3826
|
rel: "noopener noreferrer",
|
|
3827
3827
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-instagram" })
|
|
@@ -3829,7 +3829,7 @@ function Vr() {
|
|
|
3829
3829
|
/* @__PURE__ */ (0, Y.jsx)("a", {
|
|
3830
3830
|
href: b.linkedin,
|
|
3831
3831
|
className: "exhibitor-meta__social",
|
|
3832
|
-
onClick: () => d(
|
|
3832
|
+
onClick: () => d(B.ClickLinkedin),
|
|
3833
3833
|
target: "_blank",
|
|
3834
3834
|
rel: "noopener noreferrer",
|
|
3835
3835
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-linkedin" })
|
|
@@ -3837,7 +3837,7 @@ function Vr() {
|
|
|
3837
3837
|
/* @__PURE__ */ (0, Y.jsx)("a", {
|
|
3838
3838
|
href: b.twitter,
|
|
3839
3839
|
className: "exhibitor-meta__social",
|
|
3840
|
-
onClick: () => d(
|
|
3840
|
+
onClick: () => d(B.ClickTwitter),
|
|
3841
3841
|
target: "_blank",
|
|
3842
3842
|
rel: "noopener noreferrer",
|
|
3843
3843
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-twitter-x" })
|
|
@@ -3845,7 +3845,7 @@ function Vr() {
|
|
|
3845
3845
|
/* @__PURE__ */ (0, Y.jsx)("a", {
|
|
3846
3846
|
href: b.xing,
|
|
3847
3847
|
className: "exhibitor-meta__social",
|
|
3848
|
-
onClick: () => d(
|
|
3848
|
+
onClick: () => d(B.ClickXing),
|
|
3849
3849
|
target: "_blank",
|
|
3850
3850
|
rel: "noopener noreferrer",
|
|
3851
3851
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-xing" })
|
|
@@ -3853,7 +3853,7 @@ function Vr() {
|
|
|
3853
3853
|
/* @__PURE__ */ (0, Y.jsx)("a", {
|
|
3854
3854
|
href: b.youtube,
|
|
3855
3855
|
className: "exhibitor-meta__social",
|
|
3856
|
-
onClick: () => d(
|
|
3856
|
+
onClick: () => d(B.ClickYoutube),
|
|
3857
3857
|
target: "_blank",
|
|
3858
3858
|
rel: "noopener noreferrer",
|
|
3859
3859
|
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-youtube" })
|
|
@@ -3865,7 +3865,7 @@ function Vr() {
|
|
|
3865
3865
|
/* @__PURE__ */ (0, Y.jsx)(E, { exhibitor: b })
|
|
3866
3866
|
]
|
|
3867
3867
|
}),
|
|
3868
|
-
|
|
3868
|
+
U.kiosk && r && !a ? /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
3869
3869
|
className: "show-details-button",
|
|
3870
3870
|
children: /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
3871
3871
|
type: "button",
|
|
@@ -3874,7 +3874,7 @@ function Vr() {
|
|
|
3874
3874
|
})
|
|
3875
3875
|
}) : null
|
|
3876
3876
|
] }),
|
|
3877
|
-
|
|
3877
|
+
U.kiosk && r && a ? /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
3878
3878
|
type: "button",
|
|
3879
3879
|
className: "hide-details-button",
|
|
3880
3880
|
onClick: () => s(!1),
|
|
@@ -3885,21 +3885,21 @@ function Vr() {
|
|
|
3885
3885
|
});
|
|
3886
3886
|
function m() {
|
|
3887
3887
|
let e = window.navigator, t = {
|
|
3888
|
-
title:
|
|
3888
|
+
title: U.selectedExhibitor.name,
|
|
3889
3889
|
url: window.location.href
|
|
3890
3890
|
};
|
|
3891
|
-
|
|
3891
|
+
Ve && e != null && e.canShare && e.canShare(t) ? e.share(t) : z.toggleModal("share");
|
|
3892
3892
|
}
|
|
3893
3893
|
function g(e) {
|
|
3894
|
-
|
|
3894
|
+
z.clickCategory(e);
|
|
3895
3895
|
}
|
|
3896
3896
|
function _(e) {
|
|
3897
|
-
if (
|
|
3897
|
+
if (U.kiosk) return e.preventDefault();
|
|
3898
3898
|
e.target.blur();
|
|
3899
3899
|
let n = t.sendLinkEmail;
|
|
3900
3900
|
if (!window.confirm(x("Send login instructions to {{email}} to edit profile?", { email: n })) || W.EXPO === "expo") return;
|
|
3901
3901
|
let r = new XMLHttpRequest();
|
|
3902
|
-
r.open("POST",
|
|
3902
|
+
r.open("POST", P.sendLoginLinkUrl), r.setRequestHeader("Content-Type", "application/json");
|
|
3903
3903
|
function i() {
|
|
3904
3904
|
alert(x("Error sending login instructions"));
|
|
3905
3905
|
}
|
|
@@ -3914,28 +3914,28 @@ function Vr() {
|
|
|
3914
3914
|
}, r.send(JSON.stringify({ id: t.exhibitor.id }));
|
|
3915
3915
|
}
|
|
3916
3916
|
function v() {
|
|
3917
|
-
t.exhibitor.bookmarked = !t.exhibitor.bookmarked,
|
|
3917
|
+
t.exhibitor.bookmarked = !t.exhibitor.bookmarked, U.onBookmarkClick && U.onBookmarkClick({
|
|
3918
3918
|
name: t.exhibitor.name,
|
|
3919
3919
|
bookmarked: t.exhibitor.bookmarked,
|
|
3920
3920
|
externalId: t.exhibitor.externalId
|
|
3921
3921
|
});
|
|
3922
3922
|
}
|
|
3923
3923
|
function y() {
|
|
3924
|
-
t.exhibitor.visited = !t.exhibitor.visited,
|
|
3924
|
+
t.exhibitor.visited = !t.exhibitor.visited, U.onVisitedClick && U.onVisitedClick({
|
|
3925
3925
|
name: t.exhibitor.name,
|
|
3926
3926
|
visited: t.exhibitor.visited,
|
|
3927
3927
|
externalId: t.exhibitor.externalId
|
|
3928
3928
|
});
|
|
3929
3929
|
}
|
|
3930
3930
|
}
|
|
3931
|
-
var Hr = () => I(() => /* @__PURE__ */ (0, Y.jsx)(Y.Fragment, { children: !
|
|
3931
|
+
var Hr = () => I(() => /* @__PURE__ */ (0, Y.jsx)(Y.Fragment, { children: !U.menu && U.selectedExhibitor ? /* @__PURE__ */ (0, Y.jsx)(Vr, {}) : null }));
|
|
3932
3932
|
//#endregion
|
|
3933
3933
|
//#region src/components/Filter.tsx
|
|
3934
3934
|
function Ur() {
|
|
3935
3935
|
let e = (0, q.useRef)(), t = R(() => ({
|
|
3936
3936
|
updateOverlayContent: null,
|
|
3937
3937
|
get list() {
|
|
3938
|
-
return
|
|
3938
|
+
return U.list;
|
|
3939
3939
|
}
|
|
3940
3940
|
})), n = (0, q.useCallback)(() => {
|
|
3941
3941
|
t.updateOverlayContent && t.updateOverlayContent();
|
|
@@ -3945,7 +3945,7 @@ function Ur() {
|
|
|
3945
3945
|
updatedScrollableRef: e
|
|
3946
3946
|
}));
|
|
3947
3947
|
}
|
|
3948
|
-
var Wr = () => I(() => /* @__PURE__ */ (0, Y.jsx)(Y.Fragment, { children: !
|
|
3948
|
+
var Wr = () => I(() => /* @__PURE__ */ (0, Y.jsx)(Y.Fragment, { children: !U.details && !U.menu && U.list.type === "filter" && /* @__PURE__ */ (0, Y.jsx)(Ur, {}) })), Gr = [
|
|
3949
3949
|
"money2020usa",
|
|
3950
3950
|
"rodion2",
|
|
3951
3951
|
"possible2025",
|
|
@@ -3984,26 +3984,26 @@ function Jr() {
|
|
|
3984
3984
|
let s = (0, q.useCallback)((t) => {
|
|
3985
3985
|
if (e.current) return;
|
|
3986
3986
|
e.current = setTimeout(() => e.current = null, 500);
|
|
3987
|
-
let n =
|
|
3988
|
-
if (
|
|
3987
|
+
let n = z.layerStore.layers.find((e) => e.description === t.description);
|
|
3988
|
+
if (z.layerStore.mode === Re.Radio) {
|
|
3989
3989
|
var r;
|
|
3990
|
-
if (
|
|
3990
|
+
if (z.layerStore.updateVisibility(n, !0), z.mapboxStore.showMapbox) return;
|
|
3991
3991
|
if ((r = window.__fpSettings) != null && r.fpVer || Gr.includes(W.EXPO)) {
|
|
3992
3992
|
var i;
|
|
3993
3993
|
let e = (i = n.viewbox) == null ? n.rect : i;
|
|
3994
|
-
|
|
3994
|
+
U.moveToRect = pe.fromX1y1x2y2(e.x1, e.y1, e.x2, e.y2);
|
|
3995
3995
|
} else {
|
|
3996
|
-
let e =
|
|
3996
|
+
let e = z.layerStore.layers.indexOf(z.layerStore.layers.filter((e) => !e.frozen && e.visible)[0]), t = z.layerStore.layers.indexOf(n);
|
|
3997
3997
|
if (e === t) return;
|
|
3998
|
-
t < e ?
|
|
3998
|
+
t < e ? U.zoomBy = .95 : U.zoomBy = 1.05;
|
|
3999
3999
|
}
|
|
4000
|
-
} else
|
|
4001
|
-
let a =
|
|
4000
|
+
} else z.layerStore.updateVisibility(n, !n.visible);
|
|
4001
|
+
let a = z.toursStore.getTourLayerInfo(n.name) || z.toursStore.getTourLayerInfo(n.description);
|
|
4002
4002
|
if (a) {
|
|
4003
|
-
|
|
4003
|
+
z.layerStore.showPathWay(a.id);
|
|
4004
4004
|
return;
|
|
4005
4005
|
}
|
|
4006
|
-
|
|
4006
|
+
z.toursStore.stopTour();
|
|
4007
4007
|
}, []), c = (0, q.useCallback)((e) => {
|
|
4008
4008
|
var t;
|
|
4009
4009
|
e.disabled || (s(e.layer), i(!1), (t = n.current) == null || t.focus());
|
|
@@ -4033,9 +4033,9 @@ function Jr() {
|
|
|
4033
4033
|
}, [c]);
|
|
4034
4034
|
return I(() => {
|
|
4035
4035
|
var e, o;
|
|
4036
|
-
let s =
|
|
4037
|
-
if (!(
|
|
4038
|
-
let { layout: u, useShortNames: d } = qr(
|
|
4036
|
+
let s = z.layerStore.floors;
|
|
4037
|
+
if (!(z.layerStore.mode === Re.Radio || z.layerStore.mode === Re.CheckBox) || s.length === 0) return null;
|
|
4038
|
+
let { layout: u, useShortNames: d } = qr(P.shortLevelName), f = s.find((e) => e.active), p = (e) => d ? e.shortName : e.description;
|
|
4039
4039
|
return u === "compact-list" ? /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
4040
4040
|
className: (0, J.default)("efp-level-selector", "efp-level-selector--compact-list", { "is-ready": s.length }),
|
|
4041
4041
|
role: "radiogroup",
|
|
@@ -4126,7 +4126,7 @@ var Yr = ({ min: e, max: t, className: n, style: r }) => {
|
|
|
4126
4126
|
e,
|
|
4127
4127
|
t,
|
|
4128
4128
|
i
|
|
4129
|
-
]), o = (0, q.useMemo)(() => a.map((n) =>
|
|
4129
|
+
]), o = (0, q.useMemo)(() => a.map((n) => be(n, e, t)), [
|
|
4130
4130
|
a,
|
|
4131
4131
|
e,
|
|
4132
4132
|
t
|
|
@@ -4184,14 +4184,14 @@ var Yr = ({ min: e, max: t, className: n, style: r }) => {
|
|
|
4184
4184
|
onChange: () => _(e.id)
|
|
4185
4185
|
})), Qr = () => import(
|
|
4186
4186
|
/* webpackChunkName: "react-virtuoso-list" */
|
|
4187
|
-
"./dist-
|
|
4187
|
+
"./dist-Dci3wfOd.js"
|
|
4188
4188
|
).then((e) => ({ default: e.Virtuoso })).catch(() => new Promise((e) => setTimeout(() => e(Qr()), 3e3))), $r = (0, q.lazy)(Qr);
|
|
4189
4189
|
function ei({ updatedScrollableRef: e, updateScroll: t }) {
|
|
4190
4190
|
let [n, r] = (0, q.useState)(null), i = (0, q.useRef)(null);
|
|
4191
4191
|
(0, q.useEffect)(() => {
|
|
4192
4192
|
r(e == null ? null : e);
|
|
4193
4193
|
}, [e]), (0, q.useEffect)(() => {
|
|
4194
|
-
let e =
|
|
4194
|
+
let e = U.getListScrollTop(U.list.type);
|
|
4195
4195
|
if (e > 0) {
|
|
4196
4196
|
let t = setTimeout(() => {
|
|
4197
4197
|
i.current && i.current.scrollTo({
|
|
@@ -4201,23 +4201,23 @@ function ei({ updatedScrollableRef: e, updateScroll: t }) {
|
|
|
4201
4201
|
}, 100);
|
|
4202
4202
|
return () => clearTimeout(t);
|
|
4203
4203
|
}
|
|
4204
|
-
}, [
|
|
4204
|
+
}, [U.list.type]);
|
|
4205
4205
|
let a = (0, q.useCallback)(() => {
|
|
4206
4206
|
if (i.current) i.current.getState((e) => {
|
|
4207
4207
|
var t;
|
|
4208
4208
|
let n = (e == null ? void 0 : e.scrollTop) || 0;
|
|
4209
|
-
|
|
4209
|
+
U.setListScrollTop((t = U.list) == null ? void 0 : t.type, n);
|
|
4210
4210
|
});
|
|
4211
4211
|
else if (n != null && n.current) {
|
|
4212
4212
|
var e;
|
|
4213
|
-
|
|
4213
|
+
U.setListScrollTop((e = U.list) == null ? void 0 : e.type, n.current.scrollTop || 0);
|
|
4214
4214
|
}
|
|
4215
4215
|
}, [n]);
|
|
4216
4216
|
(0, q.useEffect)(() => () => {
|
|
4217
4217
|
a();
|
|
4218
4218
|
}, []);
|
|
4219
4219
|
let o = ({ index: e }) => {
|
|
4220
|
-
let t =
|
|
4220
|
+
let t = U.listItems[e];
|
|
4221
4221
|
return t.entity.type === "language" ? /* @__PURE__ */ (0, Y.jsx)(Zr, { item: t }, t.id) : (console.error("Invalid item type"), null);
|
|
4222
4222
|
}, s = () => {
|
|
4223
4223
|
t && setTimeout(t);
|
|
@@ -4225,7 +4225,7 @@ function ei({ updatedScrollableRef: e, updateScroll: t }) {
|
|
|
4225
4225
|
t && t();
|
|
4226
4226
|
};
|
|
4227
4227
|
return I(() => {
|
|
4228
|
-
let e =
|
|
4228
|
+
let e = U.listItems.findIndex((e) => e.id === h());
|
|
4229
4229
|
return /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
4230
4230
|
style: {
|
|
4231
4231
|
height: "100%",
|
|
@@ -4241,13 +4241,13 @@ function ei({ updatedScrollableRef: e, updateScroll: t }) {
|
|
|
4241
4241
|
children: /* @__PURE__ */ (0, Y.jsx)($r, {
|
|
4242
4242
|
ref: i,
|
|
4243
4243
|
className: "list-virtual",
|
|
4244
|
-
style: { minHeight:
|
|
4245
|
-
data:
|
|
4244
|
+
style: { minHeight: U.listItems.length ? "1px" : 0 },
|
|
4245
|
+
data: U.listItems,
|
|
4246
4246
|
itemContent: (e) => o({ index: e }),
|
|
4247
4247
|
itemsRendered: s,
|
|
4248
4248
|
totalListHeightChanged: c,
|
|
4249
4249
|
customScrollParent: n.current,
|
|
4250
|
-
totalCount:
|
|
4250
|
+
totalCount: U.listItems.length,
|
|
4251
4251
|
overscan: 20,
|
|
4252
4252
|
increaseViewportBy: 200,
|
|
4253
4253
|
initialTopMostItemIndex: e === -1 ? 0 : e,
|
|
@@ -4264,7 +4264,7 @@ function ei({ updatedScrollableRef: e, updateScroll: t }) {
|
|
|
4264
4264
|
//#region src/components/Language.tsx
|
|
4265
4265
|
var ti = L(() => {
|
|
4266
4266
|
let e = (0, q.useRef)();
|
|
4267
|
-
return !
|
|
4267
|
+
return !P.hideLanguage && !U.details && U.list.type === "language" && /* @__PURE__ */ (0, Y.jsx)(ei, { updatedScrollableRef: e });
|
|
4268
4268
|
}), ni = 1e3;
|
|
4269
4269
|
function ri() {
|
|
4270
4270
|
let e = R(() => ({
|
|
@@ -4274,8 +4274,8 @@ function ri() {
|
|
|
4274
4274
|
}));
|
|
4275
4275
|
return xt(() => {
|
|
4276
4276
|
let t;
|
|
4277
|
-
w(() =>
|
|
4278
|
-
|
|
4277
|
+
w(() => U.largeMessageLastSet, () => {
|
|
4278
|
+
U.largeMessageLastSet && (window.clearTimeout(t), o.log("Showing large message"), e.shouldShow = !0, t = window.setTimeout(() => {
|
|
4279
4279
|
e.shouldShow = !1;
|
|
4280
4280
|
}, ni));
|
|
4281
4281
|
}, { fireImmediately: !0 });
|
|
@@ -4287,45 +4287,45 @@ function ri() {
|
|
|
4287
4287
|
e.transitioning = !1;
|
|
4288
4288
|
}, 1e3));
|
|
4289
4289
|
});
|
|
4290
|
-
}), I(() =>
|
|
4290
|
+
}), I(() => U.largeMessage && e.transitioning ? /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
4291
4291
|
className: "large-message" + (e.visible ? " -visible" : ""),
|
|
4292
4292
|
children: /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
4293
4293
|
className: "large-message__text",
|
|
4294
|
-
children:
|
|
4294
|
+
children: U.largeMessage
|
|
4295
4295
|
})
|
|
4296
4296
|
}) : null);
|
|
4297
4297
|
}
|
|
4298
4298
|
//#endregion
|
|
4299
4299
|
//#region src/components/QrCode.tsx
|
|
4300
|
-
var ii = (0, q.lazy)(() => import("./lib-
|
|
4300
|
+
var ii = (0, q.lazy)(() => import("./lib-Dl-Q0kBv.js").then((e) => /* @__PURE__ */ t(e.default, 1)).then((e) => {
|
|
4301
4301
|
var t;
|
|
4302
4302
|
return { default: (t = e.QRCode) == null ? e.default : t };
|
|
4303
|
-
})), ai = /* @__PURE__ */ t(
|
|
4303
|
+
})), ai = /* @__PURE__ */ t(Ne(), 1), oi, si = ["info-techlive2025", "metstrade-superyacht2023"].includes(W.EXPO), ci = W.backgroundColor !== "none" && (0, ai.default)(W.backgroundColor).isDark() || (lt == null || (oi = lt.properties) == null || (oi = oi.style) == null ? void 0 : oi.includes("dark"));
|
|
4304
4304
|
function li() {
|
|
4305
4305
|
var e, t, n;
|
|
4306
4306
|
let r = R(() => {
|
|
4307
4307
|
let e = (e, t, n, r) => ({
|
|
4308
4308
|
width: r,
|
|
4309
|
-
opacity: +!!
|
|
4310
|
-
}), t = si ||
|
|
4309
|
+
opacity: +!!U.wsStarted
|
|
4310
|
+
}), t = si || U.rtl ? "left" : "right";
|
|
4311
4311
|
return {
|
|
4312
4312
|
get style() {
|
|
4313
|
-
let n = s((
|
|
4314
|
-
return
|
|
4313
|
+
let n = s((U.overlayPosition, 1));
|
|
4314
|
+
return U.overlayPosition === "left" ? e("bottom", t, U.mapVisibleBottom + n, "5rem") : (U.mapVisibleTop, z.mapboxStore.showMapbox && s(.5), e("bottom", t, 20, "4.5rem"));
|
|
4315
4315
|
},
|
|
4316
4316
|
get warningStyle() {
|
|
4317
|
-
let n = s(
|
|
4318
|
-
if (
|
|
4317
|
+
let n = s(U.overlayPosition === "left" ? 1 : .5);
|
|
4318
|
+
if (U.overlayPosition === "left") return e("bottom", t, U.mapVisibleBottom + 2 * n, "3rem");
|
|
4319
4319
|
{
|
|
4320
|
-
let r =
|
|
4321
|
-
return
|
|
4320
|
+
let r = U.mapVisibleTop + 2 * n;
|
|
4321
|
+
return z.mapboxStore.showMapbox && (r = s(.5)), e("top", t, r, "2rem");
|
|
4322
4322
|
}
|
|
4323
4323
|
}
|
|
4324
4324
|
};
|
|
4325
|
-
}), i = Math.round(((e = window.__fpStat) == null ? void 0 : e.dataSize) / 1024 / 1024 || 0), a = l && i >= 10, o = l && !
|
|
4325
|
+
}), i = Math.round(((e = window.__fpStat) == null ? void 0 : e.dataSize) / 1024 / 1024 || 0), a = l && i >= 10, o = l && !lt && P.allow3dView && !U.kiosk && !U.heatmap, c = U.kiosk && !((t = U.selectedRoute) != null && t.to) && !((n = U.selectedRoute) != null && n.from), u = (0, J.default)("efp-qr", { "is-right": si || U.rtl });
|
|
4326
4326
|
return I(() => /* @__PURE__ */ (0, Y.jsxs)("div", { children: [
|
|
4327
4327
|
/* @__PURE__ */ (0, Y.jsx)("a", {
|
|
4328
|
-
href:
|
|
4328
|
+
href: ze(ut.SUBDOMAIN_LOGO),
|
|
4329
4329
|
target: "_blank",
|
|
4330
4330
|
rel: "noopener noreferrer",
|
|
4331
4331
|
className: (0, J.default)("logo-overlay", { invert: ci }),
|
|
@@ -4363,9 +4363,9 @@ function li() {
|
|
|
4363
4363
|
c && /* @__PURE__ */ (0, Y.jsx)(q.Suspense, {
|
|
4364
4364
|
fallback: null,
|
|
4365
4365
|
children: /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
4366
|
-
className: (0, J.default)(u, { "efp-semi-transparent":
|
|
4366
|
+
className: (0, J.default)(u, { "efp-semi-transparent": U.setKioskModeEnabled }),
|
|
4367
4367
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", { children: x("View Map on Phone") }), /* @__PURE__ */ (0, Y.jsx)(ii, {
|
|
4368
|
-
value:
|
|
4368
|
+
value: U.viewMapOnPhoneQRCodeUrl,
|
|
4369
4369
|
size: 100
|
|
4370
4370
|
})]
|
|
4371
4371
|
})
|
|
@@ -4389,22 +4389,22 @@ function di({ className: e }) {
|
|
|
4389
4389
|
t = -1;
|
|
4390
4390
|
break;
|
|
4391
4391
|
case "Enter":
|
|
4392
|
-
e.preventDefault(),
|
|
4392
|
+
e.preventDefault(), z.openActiveListItem();
|
|
4393
4393
|
let n = i();
|
|
4394
|
-
n &&
|
|
4394
|
+
n && et(n.value, !0);
|
|
4395
4395
|
return;
|
|
4396
4396
|
case "Escape":
|
|
4397
|
-
e.preventDefault(),
|
|
4397
|
+
e.preventDefault(), H.closeSearch();
|
|
4398
4398
|
return;
|
|
4399
4399
|
}
|
|
4400
|
-
t && (e.preventDefault(),
|
|
4400
|
+
t && (e.preventDefault(), z.changeActiveListIndex(t));
|
|
4401
4401
|
}
|
|
4402
4402
|
function i() {
|
|
4403
4403
|
return n.current;
|
|
4404
4404
|
}
|
|
4405
4405
|
let [a, o] = q.useState(""), [s, c] = q.useState(!1);
|
|
4406
4406
|
St(() => {
|
|
4407
|
-
c(
|
|
4407
|
+
c(z.uiState.kiosk && z.uiState.inIdle);
|
|
4408
4408
|
}), (0, q.useEffect)(() => {
|
|
4409
4409
|
if (!s) {
|
|
4410
4410
|
o("");
|
|
@@ -4424,62 +4424,62 @@ function di({ className: e }) {
|
|
|
4424
4424
|
return a(), () => clearTimeout(i);
|
|
4425
4425
|
}, [s]), St(() => {
|
|
4426
4426
|
let e = document.activeElement;
|
|
4427
|
-
if (
|
|
4427
|
+
if (z.uiState.overlaySize !== "full" && e === i() && !H.isFocused) {
|
|
4428
4428
|
var t;
|
|
4429
4429
|
(t = i()) == null || t.blur();
|
|
4430
4430
|
}
|
|
4431
4431
|
}), St(() => {
|
|
4432
|
-
|
|
4432
|
+
z.uiState.menu && z.uiState.kiosk && H.setFocused(!1);
|
|
4433
4433
|
}), St(() => {
|
|
4434
4434
|
let e = i(), t = document.activeElement;
|
|
4435
|
-
e &&
|
|
4435
|
+
e && H.isFocused && t !== e && !H.skipInputFocus && e.focus();
|
|
4436
4436
|
}), (0, q.useEffect)(() => {
|
|
4437
|
-
|
|
4437
|
+
z.fuzzySearchEngineStore.loadEngine();
|
|
4438
4438
|
}, []);
|
|
4439
4439
|
let l = (0, q.useCallback)(qt(() => {
|
|
4440
4440
|
var e, t;
|
|
4441
|
-
|
|
4441
|
+
H.searchText && V(B.Search, H.searchText), (e = (t = window).__resett) == null || e.call(t);
|
|
4442
4442
|
}, ui), []);
|
|
4443
4443
|
function u() {
|
|
4444
4444
|
var e;
|
|
4445
|
-
|
|
4445
|
+
H.setSearchText(((e = i()) == null ? void 0 : e.value) || ""), l();
|
|
4446
4446
|
}
|
|
4447
4447
|
function d() {
|
|
4448
4448
|
var e, t;
|
|
4449
|
-
|
|
4449
|
+
H.setFocused(!0), (e = (t = window).__resett) == null || e.call(t);
|
|
4450
4450
|
}
|
|
4451
4451
|
function f() {
|
|
4452
|
-
|
|
4452
|
+
H.isFocused || (H.handleSearchAction(), setTimeout(() => {
|
|
4453
4453
|
var e;
|
|
4454
4454
|
(e = i()) == null || e.focus();
|
|
4455
4455
|
}, 100));
|
|
4456
4456
|
}
|
|
4457
4457
|
function p() {
|
|
4458
|
-
|
|
4458
|
+
H.handleBackAction();
|
|
4459
4459
|
}
|
|
4460
4460
|
function m() {
|
|
4461
|
-
|
|
4461
|
+
H.closeSearch();
|
|
4462
4462
|
}
|
|
4463
4463
|
return I(() => /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
4464
|
-
className: (0, J.default)("search-box", e,
|
|
4464
|
+
className: (0, J.default)("search-box", e, H.searchBoxClass, { "efp-semi-transparent": z.uiState.setKioskModeEnabled }),
|
|
4465
4465
|
ref: t,
|
|
4466
4466
|
children: [
|
|
4467
4467
|
/* @__PURE__ */ (0, Y.jsx)("button", {
|
|
4468
|
-
className: (0, J.default)("search-box__button", "search-box__button--back", { "is-mobile-details":
|
|
4468
|
+
className: (0, J.default)("search-box__button", "search-box__button--back", { "is-mobile-details": H.isMobileDetailsMode }),
|
|
4469
4469
|
onClick: p,
|
|
4470
4470
|
type: "button",
|
|
4471
|
-
"aria-label":
|
|
4472
|
-
children: /* @__PURE__ */ (0, Y.jsx)("i", { className:
|
|
4471
|
+
"aria-label": H.backMode === "back" ? x("Go back") : x("Main menu"),
|
|
4472
|
+
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: H.backMode === "back" ? "icon-chevron-left" : z.uiState.viewerMode ? "icon-home" : "icon-menu" })
|
|
4473
4473
|
}),
|
|
4474
4474
|
/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
4475
4475
|
className: "search-box__input-wrapper",
|
|
4476
|
-
children:
|
|
4476
|
+
children: H.shouldShowSearchInput ? /* @__PURE__ */ (0, Y.jsx)("input", {
|
|
4477
4477
|
ref: n,
|
|
4478
4478
|
type: "search",
|
|
4479
4479
|
className: "search-box__input",
|
|
4480
|
-
placeholder: s ? a :
|
|
4480
|
+
placeholder: s ? a : H.placeholder,
|
|
4481
4481
|
"aria-label": "Search",
|
|
4482
|
-
value:
|
|
4482
|
+
value: H.searchText,
|
|
4483
4483
|
onChange: u,
|
|
4484
4484
|
onKeyDown: r,
|
|
4485
4485
|
onFocus: d,
|
|
@@ -4487,32 +4487,32 @@ function di({ className: e }) {
|
|
|
4487
4487
|
autoCorrect: "off",
|
|
4488
4488
|
autoCapitalize: "off",
|
|
4489
4489
|
spellCheck: "false",
|
|
4490
|
-
disabled:
|
|
4490
|
+
disabled: z.uiState.setKioskModeEnabled
|
|
4491
4491
|
}) : /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
4492
4492
|
className: "search-box__title",
|
|
4493
4493
|
children: [
|
|
4494
|
-
|
|
4494
|
+
H.searchBoxIcon && /* @__PURE__ */ (0, Y.jsx)("i", { className: (0, J.default)("search-box__title-icon", H.searchBoxIcon) }),
|
|
4495
4495
|
/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
4496
4496
|
className: "search-box__title-content",
|
|
4497
4497
|
children: [/* @__PURE__ */ (0, Y.jsx)("strong", {
|
|
4498
4498
|
className: "search-box__title-text",
|
|
4499
|
-
children:
|
|
4500
|
-
}),
|
|
4499
|
+
children: H.searchBoxTitle
|
|
4500
|
+
}), H.searchBoxSubtitle && /* @__PURE__ */ (0, Y.jsx)("span", {
|
|
4501
4501
|
className: "search-box__title-subtitle",
|
|
4502
|
-
children:
|
|
4502
|
+
children: H.searchBoxSubtitle
|
|
4503
4503
|
})]
|
|
4504
4504
|
}),
|
|
4505
|
-
|
|
4505
|
+
H.searchBoxBadge ? /* @__PURE__ */ (0, Y.jsx)(bn, {
|
|
4506
4506
|
variant: "lightgray",
|
|
4507
4507
|
size: "md",
|
|
4508
4508
|
rounded: !0,
|
|
4509
4509
|
noMargins: !0,
|
|
4510
|
-
children:
|
|
4510
|
+
children: H.searchBoxBadge
|
|
4511
4511
|
}) : null
|
|
4512
4512
|
]
|
|
4513
4513
|
})
|
|
4514
4514
|
}),
|
|
4515
|
-
!
|
|
4515
|
+
!H.shouldShowSearchInput && H.searchBoxActions.map((e) => /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
4516
4516
|
className: "search-box__button search-box__button--ui-action",
|
|
4517
4517
|
onClick: e.handler,
|
|
4518
4518
|
type: "button",
|
|
@@ -4522,10 +4522,10 @@ function di({ className: e }) {
|
|
|
4522
4522
|
}, e.id)),
|
|
4523
4523
|
/* @__PURE__ */ (0, Y.jsx)("button", {
|
|
4524
4524
|
className: "search-box__button search-box__button--action",
|
|
4525
|
-
onClick:
|
|
4525
|
+
onClick: H.shouldShowSearchInput ? H.shouldShowCloseButton ? m : f : m,
|
|
4526
4526
|
type: "button",
|
|
4527
|
-
"aria-label":
|
|
4528
|
-
children: /* @__PURE__ */ (0, Y.jsx)("i", { className:
|
|
4527
|
+
"aria-label": H.ariaLabel,
|
|
4528
|
+
children: /* @__PURE__ */ (0, Y.jsx)("i", { className: H.actionButtonIcon })
|
|
4529
4529
|
})
|
|
4530
4530
|
]
|
|
4531
4531
|
}));
|
|
@@ -4534,14 +4534,14 @@ function di({ className: e }) {
|
|
|
4534
4534
|
//#region src/components/MobileToggleButton.tsx
|
|
4535
4535
|
function fi() {
|
|
4536
4536
|
let e = (0, q.useCallback)(() => {
|
|
4537
|
-
|
|
4537
|
+
z.uiState.isOverlayOpen && z.uiState.overlaySize === "full" ? z.uiState.desiredOverlaySize = "small" : H.openOverlayWithoutInputFocus();
|
|
4538
4538
|
}, []);
|
|
4539
4539
|
return I(() => {
|
|
4540
|
-
let t =
|
|
4541
|
-
if (!(
|
|
4542
|
-
let n = !
|
|
4540
|
+
let t = z.uiState.list.type === "route-planner";
|
|
4541
|
+
if (!(z.uiState.overlayPosition === "bottom" && (t || !z.uiState.details && !z.uiState.menu && z.uiState.list.type !== "language" && z.uiState.list.type !== "bookmarks" && z.uiState.list.type !== "sessions"))) return null;
|
|
4542
|
+
let n = !z.uiState.isOverlayOpen || z.uiState.overlaySize !== "full", r = x(n ? "List" : "Map"), i = n ? "is-list" : "is-map", a = n ? "icon-list" : "icon-map";
|
|
4543
4543
|
return /* @__PURE__ */ (0, Y.jsxs)("button", {
|
|
4544
|
-
className: (0, J.default)("efp-mobile-toggle-button", { "is-with-banner":
|
|
4544
|
+
className: (0, J.default)("efp-mobile-toggle-button", { "is-with-banner": z.uiState.isBannerVisible }, i),
|
|
4545
4545
|
onClick: e,
|
|
4546
4546
|
type: "button",
|
|
4547
4547
|
"aria-label": x(n ? "List" : "Map"),
|
|
@@ -4704,13 +4704,13 @@ function vi(e, t, n, r = 0) {
|
|
|
4704
4704
|
}
|
|
4705
4705
|
//#endregion
|
|
4706
4706
|
//#region src/components/Map/drawing/config/config-wf.ts
|
|
4707
|
-
var yi =
|
|
4707
|
+
var yi = ke(), X = devicePixelRatio, bi = [], xi = null, Z = [], Si = (0, ai.default)("#00A2FF"), Ci = (0, ai.default)("#FF9F06"), wi = "#A4CCE2", Ti = "#0794EA", Ei = 34, Di, Oi, ki, Ai, ji, Mi, Ni, Pi, Fi, Ii, Q = void 0, $ = void 0, Li = void 0, Ri = void 0, zi = void 0;
|
|
4708
4708
|
function Bi() {
|
|
4709
4709
|
var e, t;
|
|
4710
4710
|
bi = [];
|
|
4711
|
-
let n = (e =
|
|
4711
|
+
let n = (e = z.routeStore.currentRouteLayer) == null ? void 0 : e.name;
|
|
4712
4712
|
xi = Ji();
|
|
4713
|
-
let r = xi && (
|
|
4713
|
+
let r = xi && (Ze() ? _i(n, (t = xi.destination) == null ? void 0 : t.layer) : !0);
|
|
4714
4714
|
if (xi) {
|
|
4715
4715
|
let e = xi == null ? void 0 : xi.routePoint;
|
|
4716
4716
|
e && _i(n, e.layer) && (bi = Yi(e, bi));
|
|
@@ -4718,7 +4718,7 @@ function Bi() {
|
|
|
4718
4718
|
let i = [], a = [];
|
|
4719
4719
|
for (let e = 0; e < Z.length; e++) {
|
|
4720
4720
|
var o;
|
|
4721
|
-
let t = Z[e], r =
|
|
4721
|
+
let t = Z[e], r = z.layerStore.mode == Re.Default ? !0 : ((o = z.layerStore.layers.find((e) => e.name == n && n === t.p0.layer)) == null ? void 0 : o.visible) || !1;
|
|
4722
4722
|
!t.virtual && r && i.push(t), (t.virtual || !r || e === Z.length - 1) && i.length && (a = i.map(({ p0: e, p1: t }) => (bi.push({
|
|
4723
4723
|
x: e.x,
|
|
4724
4724
|
y: e.y
|
|
@@ -4735,7 +4735,7 @@ function Bi() {
|
|
|
4735
4735
|
bi.forEach((e) => {
|
|
4736
4736
|
e.x < s && (s = e.x), e.y < c && (c = e.y), e.x > l && (l = e.x), e.y > u && (u = e.y);
|
|
4737
4737
|
});
|
|
4738
|
-
let d =
|
|
4738
|
+
let d = pe.fromX1y1x2y2(s, c, l, u);
|
|
4739
4739
|
return {
|
|
4740
4740
|
rect: bi.length && (d.w || d.h) ? d.withPadding(d.w, d.h) : null,
|
|
4741
4741
|
lines: a,
|
|
@@ -4745,68 +4745,68 @@ function Bi() {
|
|
|
4745
4745
|
var Vi = "wf-trail-points", Hi = "wf-points", Ui = "wf-current-position", Wi = "wf-lines", Gi = "wf-lines-animated";
|
|
4746
4746
|
function Ki(e) {
|
|
4747
4747
|
var t, n;
|
|
4748
|
-
let r = null, i = [], a = null, o = S.box([]), s = S.box([], { deep: !1 }), c = [], l = S.box([], { deep: !1 }), u = e.scene.rootLayer.children, d = u.find((e) => e.name === Hi), f = u.find((e) => e.name === Ui), p = u.find((e) => e.name === Wi), m = u.find((e) => e.name === Vi), h = u.find((e) => e.name === Gi), g =
|
|
4749
|
-
thresholdInMeters:
|
|
4750
|
-
gpsConfig:
|
|
4751
|
-
}), _ = [], v =
|
|
4752
|
-
v ? (v.id = "destination", Oi =
|
|
4753
|
-
let y =
|
|
4754
|
-
y ? (y.id = "departure", Di =
|
|
4748
|
+
let r = null, i = [], a = null, o = S.box([]), s = S.box([], { deep: !1 }), c = [], l = S.box([], { deep: !1 }), u = e.scene.rootLayer.children, d = u.find((e) => e.name === Hi), f = u.find((e) => e.name === Ui), p = u.find((e) => e.name === Wi), m = u.find((e) => e.name === Vi), h = u.find((e) => e.name === Gi), g = ae({
|
|
4749
|
+
thresholdInMeters: de(lt == null || (t = lt.properties) == null || (t = t.config) == null ? void 0 : t.snapThreshold) || 7.5,
|
|
4750
|
+
gpsConfig: lt == null || (n = lt.properties) == null ? void 0 : n.config
|
|
4751
|
+
}), _ = [], v = z.fp.icons.get("destination");
|
|
4752
|
+
v ? (v.id = "destination", Oi = F(v, Ei, Ei, X)) : Oi = Ye(X, Ci.hex()), $ = vt(Oi, A(0, 0, Oi.width, Oi.height), { hidden: !0 });
|
|
4753
|
+
let y = z.fp.icons.get("departure");
|
|
4754
|
+
y ? (y.id = "departure", Di = F(y, Ei, Ei, X)) : Di = re(X, Si.hex()), Q = vt(Di, A(0, 0, Di.width, Di.height), { hidden: !0 }), ki = re(X, Si.hex()), ki.id = "current-location", Li = vt(ki, A(0, 0, ki.width, ki.height), {
|
|
4755
4755
|
hidden: !0,
|
|
4756
4756
|
origin: [.5, .5]
|
|
4757
4757
|
});
|
|
4758
|
-
let b =
|
|
4759
|
-
b ? (b.id = "transition", Mi =
|
|
4760
|
-
let x =
|
|
4761
|
-
x && (x.id = "transition_up", Ni =
|
|
4762
|
-
let C =
|
|
4763
|
-
C && (C.id = "transition_down", Pi =
|
|
4764
|
-
let T =
|
|
4765
|
-
T ? (T.id = "direction", Ai =
|
|
4766
|
-
let E =
|
|
4767
|
-
ji = E ?
|
|
4758
|
+
let b = z.fp.icons.get("transition");
|
|
4759
|
+
b ? (b.id = "transition", Mi = F(b, 34, 34, X)) : Mi = re(X, Si.hex());
|
|
4760
|
+
let x = z.fp.icons.get("transition_up");
|
|
4761
|
+
x && (x.id = "transition_up", Ni = F(x, 56, 34, X));
|
|
4762
|
+
let C = z.fp.icons.get("transition_down");
|
|
4763
|
+
C && (C.id = "transition_down", Pi = F(C, 56, 34, X)), Fi = y ? F(y, Ei, Ei, X) : re(X, Si.hex());
|
|
4764
|
+
let T = z.fp.icons.get("direction");
|
|
4765
|
+
T ? (T.id = "direction", Ai = F(T, Ei, Ei, X)) : Ai = N(X, Si.hex()), Ri = vt(Ai, A(0, 0, Ai.width, Ai.height), { hidden: !0 });
|
|
4766
|
+
let E = z.fp.icons.get("yah");
|
|
4767
|
+
ji = E ? F(E, gi(64, 32), gi(90, 32), X) : ee(X, "#ff4343"), ji.id = "current-location-2", zi = vt(ji, A(0, 0, ji.width, ji.height), {
|
|
4768
4768
|
hidden: !0,
|
|
4769
4769
|
origin: [.5, 1]
|
|
4770
|
-
}), Ii =
|
|
4770
|
+
}), Ii = Xe(4, (0, ai.default)("#b5b7bc").hex());
|
|
4771
4771
|
function D(t = null) {
|
|
4772
4772
|
var n, r;
|
|
4773
|
-
let i =
|
|
4774
|
-
if (bi = [], o.set([]), t || (Z = []), i.length && !((n =
|
|
4775
|
-
let n =
|
|
4773
|
+
let i = z.layerStore.visible.map((e) => e.name);
|
|
4774
|
+
if (bi = [], o.set([]), t || (Z = []), i.length && !((n = U.selectedRoute) == null || (n = n.from) == null) && n.rect && !((r = U.selectedRoute) == null || (r = r.to) == null) && r.rect) {
|
|
4775
|
+
let n = U.selectedRoute.from, r = U.selectedRoute.to;
|
|
4776
4776
|
if (!Z.length && !t) {
|
|
4777
4777
|
var a;
|
|
4778
|
-
Z =
|
|
4778
|
+
Z = fe(le, Ee(n), Ee(r), z.routeStore.onlyAccessible, (a = U.selectedRoute.waypoints) == null ? void 0 : a.map(Ee));
|
|
4779
4779
|
}
|
|
4780
4780
|
if (!Z.length) {
|
|
4781
|
-
if (
|
|
4781
|
+
if (z.routeStore.updateRoute(Z), z.routeStore.updateRouteDistance(0), n.name !== r.name) throw Error(`Route not found. From: ${n.name} to: ${r.name}`);
|
|
4782
4782
|
return;
|
|
4783
4783
|
}
|
|
4784
4784
|
let { rect: i, lines: o, addTrailPoints: l } = Bi();
|
|
4785
|
-
o.length ? (qi(e.scale), Xi(e.scale, s, c), Qi(e, m, !l), e.ptScaleRegistry.unregisterByName(m.name), l && e.onPtScale(m.name, () => (m.children = Qi(e, m) || [], m))) : e.ptScaleRegistry.unregisterByName(m.name), _ = o,
|
|
4785
|
+
o.length ? (qi(e.scale), Xi(e.scale, s, c), Qi(e, m, !l), e.ptScaleRegistry.unregisterByName(m.name), l && e.onPtScale(m.name, () => (m.children = Qi(e, m) || [], m))) : e.ptScaleRegistry.unregisterByName(m.name), _ = o, ne(), i && (U.moveToRect = i);
|
|
4786
4786
|
} else Q.hidden = !0, $.hidden = !0;
|
|
4787
|
-
|
|
4787
|
+
z.routeStore.updateRoute(Z.filter((e) => !e.virtual)), o.get() || (Q.hidden = !0, $.hidden = !0);
|
|
4788
4788
|
}
|
|
4789
4789
|
function O() {
|
|
4790
4790
|
var t, n, r, i, a, o;
|
|
4791
|
-
let s =
|
|
4791
|
+
let s = z.routeStore.currentPosition, c = s != null && s.angle ? hi(s.angle) : null, l = (t = z.routeStore.currentRouteLayer) == null ? void 0 : t.name, u = Z.filter((e) => {
|
|
4792
4792
|
var t;
|
|
4793
|
-
return
|
|
4793
|
+
return z.layerStore.mode == Re.Default ? !0 : (t = z.layerStore.layers.find((t) => t.name == l && l === e.p0.layer)) == null ? void 0 : t.visible;
|
|
4794
4794
|
}).filter((e) => !e.virtual);
|
|
4795
|
-
if (
|
|
4795
|
+
if (U.kioskData && (n = U.selectedRoute) != null && n.from) {
|
|
4796
4796
|
var d, f, p, m;
|
|
4797
|
-
let e =
|
|
4798
|
-
Q.hidden = ((d =
|
|
4797
|
+
let e = z.routeStore.currentRouteLayer;
|
|
4798
|
+
Q.hidden = ((d = U.selectedRoute) == null || (d = d.from) == null || (d = d.entity) == null ? void 0 : d.type) === "route-cut-in" && (e == null ? void 0 : e.name) === ((f = U.selectedRoute) == null || (f = f.from) == null || (f = f.layer) == null ? void 0 : f.name), $.hidden = ((p = U.selectedRoute) == null || (p = p.to) == null || (p = p.entity) == null ? void 0 : p.type) === "route-cut-in" && (e == null ? void 0 : e.name) === ((m = U.selectedRoute) == null || (m = m.to) == null || (m = m.layer) == null ? void 0 : m.name);
|
|
4799
4799
|
}
|
|
4800
4800
|
if (s) {
|
|
4801
4801
|
var h, _, v, y;
|
|
4802
4802
|
let t = (h = (_ = G.findLayer(s.z)) == null ? void 0 : _.visible) == null ? !0 : h;
|
|
4803
|
-
|
|
4804
|
-
} else Li.hidden = !0, zi.hidden = !0, Ri.hidden = !0,
|
|
4803
|
+
z.routeStore.iconType === 0 || (v = U.selectedRoute) != null && v.from && (y = U.selectedRoute) != null && y.to ? (zi.hidden = !0, Li.hidden = !t, Li.dim = !t, Li.bounds = A(s.x, s.y, ki.width, ki.height, e.scale), c == null ? Ri.hidden = !0 : (Li.hidden = !0, Ri.hidden = !t, Ri.dim = !t, Ri.bounds = A(s.x, s.y, Ai.width, Ai.height, e.scale, c))) : (Li.hidden = !0, Ri.hidden = !0, zi.dim = !t, zi.hidden = !t, zi.bounds = A(s.x, s.y, ji.width, ji.height, e.scale));
|
|
4804
|
+
} else Li.hidden = !0, zi.hidden = !0, Ri.hidden = !0, te(), ne();
|
|
4805
4805
|
if (!s || !bi.length) {
|
|
4806
4806
|
e.update(Ri, Li, zi);
|
|
4807
4807
|
return;
|
|
4808
4808
|
}
|
|
4809
|
-
let b = (r =
|
|
4809
|
+
let b = (r = U.selectedRoute) == null ? void 0 : r.to, x = (i = U.selectedRoute) == null ? void 0 : i.from, S = xe(s, u, {
|
|
4810
4810
|
snapThreshold: g,
|
|
4811
4811
|
fromPoint: {
|
|
4812
4812
|
layer: x == null || (a = x.layer) == null ? void 0 : a.name,
|
|
@@ -4821,7 +4821,7 @@ function Ki(e) {
|
|
|
4821
4821
|
fromRect: x == null ? void 0 : x.rect,
|
|
4822
4822
|
toRect: b == null ? void 0 : b.rect
|
|
4823
4823
|
}), C = S.snapped ? S.snappedPoint : s;
|
|
4824
|
-
|
|
4824
|
+
ne(S, !0), Ri.bounds = A(C.x, C.y, Ai.width, Ai.height, e.scale, c), Li.bounds = A(C.x, C.y, ki.width, ki.height, e.scale, c), e.update(Ri, Li, zi);
|
|
4825
4825
|
}
|
|
4826
4826
|
function k() {
|
|
4827
4827
|
let t = [
|
|
@@ -4838,7 +4838,7 @@ function Ki(e) {
|
|
|
4838
4838
|
name: "wf-current-location-2"
|
|
4839
4839
|
}
|
|
4840
4840
|
];
|
|
4841
|
-
f.children = t.map(({ point: e }) => e), t.forEach(({ point: e, name: t }) =>
|
|
4841
|
+
f.children = t.map(({ point: e }) => e), t.forEach(({ point: e, name: t }) => ie(e, t)), e.update(f);
|
|
4842
4842
|
}
|
|
4843
4843
|
function j(t = !1) {
|
|
4844
4844
|
let n = [
|
|
@@ -4847,28 +4847,28 @@ function Ki(e) {
|
|
|
4847
4847
|
...s.get(),
|
|
4848
4848
|
...l.get()
|
|
4849
4849
|
];
|
|
4850
|
-
t && (
|
|
4850
|
+
t && (se(!0), m.children = [], n.forEach((e) => {
|
|
4851
4851
|
e.source.id.includes("kiosk") || (e.hidden = !0);
|
|
4852
4852
|
})), d.children = n, e.update(d, m);
|
|
4853
4853
|
}
|
|
4854
|
-
function
|
|
4854
|
+
function te(e, t) {
|
|
4855
4855
|
var n, r, i, a, o, s, c, l, u;
|
|
4856
|
-
let d = Z.filter((e) => !e.virtual), f =
|
|
4856
|
+
let d = Z.filter((e) => !e.virtual), f = Me(d);
|
|
4857
4857
|
if (!(e != null && e.snapped)) {
|
|
4858
|
-
|
|
4858
|
+
z.routeStore.updateRouteDistance(f);
|
|
4859
4859
|
return;
|
|
4860
4860
|
}
|
|
4861
|
-
let p = (n =
|
|
4862
|
-
((r = e.snappedPoint) == null ? void 0 : r.layer) === (p == null || (i = p.layer) == null ? void 0 : i.name) || (p == null || (a = p.layer) == null ? void 0 : a.name) === ((o =
|
|
4861
|
+
let p = (n = U.selectedRoute) == null ? void 0 : n.to, m = Me(t), h;
|
|
4862
|
+
((r = e.snappedPoint) == null ? void 0 : r.layer) === (p == null || (i = p.layer) == null ? void 0 : i.name) || (p == null || (a = p.layer) == null ? void 0 : a.name) === ((o = z.routeStore.currentRouteLayer) == null ? void 0 : o.name) ? h = m : ((s = e.snappedPoint) == null ? void 0 : s.layer) !== (p == null || (c = p.layer) == null ? void 0 : c.name) && ((l = e.snappedPoint) == null ? void 0 : l.layer) === ((u = z.routeStore.currentRouteLayer) == null ? void 0 : u.name) && (h = m + Me(d.filter((t) => {
|
|
4863
4863
|
var n, r;
|
|
4864
4864
|
return t.p0.layer !== (e == null || (n = e.snappedPoint) == null ? void 0 : n.layer) && t.p1.layer !== (e == null || (r = e.snappedPoint) == null ? void 0 : r.layer);
|
|
4865
|
-
}))), h &&
|
|
4865
|
+
}))), h && z.routeStore.updateRouteDistance(h);
|
|
4866
4866
|
}
|
|
4867
|
-
function
|
|
4867
|
+
function ne(e, t = !1) {
|
|
4868
4868
|
var n, r, i, a, o, s, c;
|
|
4869
|
-
let l = (n =
|
|
4869
|
+
let l = (n = U.selectedRoute) == null ? void 0 : n.from, u = (r = U.selectedRoute) == null ? void 0 : r.to;
|
|
4870
4870
|
if (!l || !u) return;
|
|
4871
|
-
let d = (i = Z[0]) == null ? void 0 : i.p0.layer, f =
|
|
4871
|
+
let d = (i = Z[0]) == null ? void 0 : i.p0.layer, f = me(Z, _, {
|
|
4872
4872
|
layer: (a = (o = l.layer) == null ? void 0 : o.name) == null ? d : a,
|
|
4873
4873
|
x: l.rect.cx,
|
|
4874
4874
|
y: l.rect.cy
|
|
@@ -4880,23 +4880,23 @@ function Ki(e) {
|
|
|
4880
4880
|
if (!(e != null && e.snapped)) {
|
|
4881
4881
|
var p, m;
|
|
4882
4882
|
let e = f.map((e) => gt(e, wi));
|
|
4883
|
-
|
|
4883
|
+
z.routeStore.currentPosition && z.routeStore.currentRouteLayer && ((p = z.routeStore.currentPosition) == null || (p = p.z) == null ? void 0 : p.toString()) === ((m = z.routeStore.currentRouteLayer) == null ? void 0 : m.name.toString()) && te(), ce([], e, t);
|
|
4884
4884
|
return;
|
|
4885
4885
|
}
|
|
4886
|
-
let { passed: h, remaining: g } =
|
|
4886
|
+
let { passed: h, remaining: g } = yt(f, e.snappedPoint);
|
|
4887
4887
|
g.length && (g[0] = {
|
|
4888
4888
|
...g[0],
|
|
4889
4889
|
p0: e.snappedPoint
|
|
4890
|
-
}),
|
|
4890
|
+
}), te(e, g), ce(h.map((e) => gt(e, "#B5B7BC")), g.map((e) => gt(e, wi)), t);
|
|
4891
4891
|
}
|
|
4892
|
-
let
|
|
4892
|
+
let ie = (t, n) => e.onPtScale(n, (e) => (t.hidden || (t.bounds = A(t.bounds.center.x, t.bounds.center.y, t.source.width, t.source.height, e, t.bounds.rotation)), t)), oe = (t, n) => e.onRoll(n, (e) => {
|
|
4893
4893
|
let n = pt(e, t.bounds.rotation);
|
|
4894
4894
|
return n !== void 0 && (t.bounds.rotation = t.bounds.rotation + n), t;
|
|
4895
4895
|
});
|
|
4896
|
-
function
|
|
4896
|
+
function se(t) {
|
|
4897
4897
|
r && (r.stop(), r = null), h.children = [], t && (p.children = []), e.update(h, p);
|
|
4898
4898
|
}
|
|
4899
|
-
function
|
|
4899
|
+
function ce(t = [], n = [], i = !1) {
|
|
4900
4900
|
var a;
|
|
4901
4901
|
let o = 0;
|
|
4902
4902
|
if (r && (i && (o = r.getProgress()), r.stop(), r = null), p.children = [...t, ...n], !n.length) {
|
|
@@ -4911,68 +4911,68 @@ function Ki(e) {
|
|
|
4911
4911
|
r ? h.children = [] : h.children = [...s.slice(0, n), t], e.update(h);
|
|
4912
4912
|
}, () => e.scale, o)) == null ? null : a, e.update(p);
|
|
4913
4913
|
}
|
|
4914
|
-
i.push(w(() => [
|
|
4914
|
+
i.push(w(() => [z.layerStore.layersLoaded], () => {
|
|
4915
4915
|
D(), O(), j();
|
|
4916
4916
|
}));
|
|
4917
|
-
let
|
|
4918
|
-
|
|
4919
|
-
D(
|
|
4917
|
+
let ue = w(() => [z.routeStore.currentRouteLayer, U.getRouteNextFloor], () => {
|
|
4918
|
+
z.layerStore.layersLoaded && (a !== null && clearTimeout(a), a = setTimeout(() => {
|
|
4919
|
+
D(z.routeStore.currentRouteLayer), O(), j(), a = null;
|
|
4920
4920
|
}, 0));
|
|
4921
4921
|
});
|
|
4922
4922
|
i.push(() => {
|
|
4923
|
-
a !== null && (clearTimeout(a), a = null),
|
|
4924
|
-
}), i.push(w(() => [
|
|
4925
|
-
D(), O(), j(!
|
|
4926
|
-
})), i.push(w(() =>
|
|
4923
|
+
a !== null && (clearTimeout(a), a = null), ue();
|
|
4924
|
+
}), i.push(w(() => [U.selectedRoute, z.routeStore.onlyAccessible], () => {
|
|
4925
|
+
D(), O(), j(!U.selectedRoute);
|
|
4926
|
+
})), i.push(w(() => z.routeStore.currentPosition, () => {
|
|
4927
4927
|
O(), j();
|
|
4928
4928
|
})), i.push(w(() => s.get(), (t) => {
|
|
4929
4929
|
let n = "transitionPoints";
|
|
4930
4930
|
e.ptScaleRegistry.unregisterByPrefix(n), e.rollRegistry.unregisterByPrefix(n), t.length && t.forEach((e, t) => {
|
|
4931
4931
|
let r = `${n}-${t}`;
|
|
4932
|
-
|
|
4932
|
+
ie(e, r), oe(e, r);
|
|
4933
4933
|
});
|
|
4934
4934
|
})), i.push(w(() => [l.get()], () => {
|
|
4935
4935
|
let t = l.get(), n = "kioskArrows";
|
|
4936
|
-
e.ptScaleRegistry.unregisterByPrefix(n), t.length && t.forEach((e, t) =>
|
|
4936
|
+
e.ptScaleRegistry.unregisterByPrefix(n), t.length && t.forEach((e, t) => ie(e, `${n}-${t}`));
|
|
4937
4937
|
})), i.push(w(() => [
|
|
4938
|
-
|
|
4938
|
+
U.kioskData,
|
|
4939
4939
|
G.floors.find((e) => e.active),
|
|
4940
|
-
|
|
4940
|
+
U.selectedRoute
|
|
4941
4941
|
], ([t, n]) => {
|
|
4942
4942
|
l.set([]);
|
|
4943
|
-
let r =
|
|
4943
|
+
let r = Ze() ? (t == null ? void 0 : t.z) === (n == null ? void 0 : n.name) : !0;
|
|
4944
4944
|
t && r && Zi(t, {
|
|
4945
4945
|
skipdim: !0,
|
|
4946
4946
|
visible: !0,
|
|
4947
4947
|
pixelRatio: X
|
|
4948
4948
|
}, e.scale, l), j();
|
|
4949
4949
|
}));
|
|
4950
|
-
function
|
|
4950
|
+
function pe({ data: e }) {
|
|
4951
4951
|
let { defs: t } = M(e), n = c.find((e) => t.includes(e.imageDef));
|
|
4952
|
-
n &&
|
|
4952
|
+
n && z.layerStore.updateVisibility(n.targetLayer, !0);
|
|
4953
4953
|
}
|
|
4954
|
-
e.renderer.events.addEventListener("pointer:click",
|
|
4955
|
-
function
|
|
4954
|
+
e.renderer.events.addEventListener("pointer:click", pe), i.push(() => e.renderer.events.removeEventListener("pointer:click", pe));
|
|
4955
|
+
function P({ data: t }) {
|
|
4956
4956
|
let { defs: n } = M(t), r = c.some((e) => n.includes(e.imageDef));
|
|
4957
4957
|
e.renderer.canvas.style.cursor = r ? "pointer" : "";
|
|
4958
4958
|
}
|
|
4959
|
-
e.renderer.events.addEventListener("pointer:move",
|
|
4959
|
+
e.renderer.events.addEventListener("pointer:move", P), i.push(() => e.renderer.events.removeEventListener("pointer:move", P)), [{
|
|
4960
4960
|
point: Q,
|
|
4961
4961
|
name: "wf-source"
|
|
4962
4962
|
}, {
|
|
4963
4963
|
point: $,
|
|
4964
4964
|
name: "wf-destination"
|
|
4965
4965
|
}].forEach(({ point: e, name: t }) => {
|
|
4966
|
-
|
|
4966
|
+
ie(e, t), oe(e, t);
|
|
4967
4967
|
}), j(), O(), k();
|
|
4968
|
-
function
|
|
4968
|
+
function he() {
|
|
4969
4969
|
r && (r.stop(), r = null), i.forEach((e) => e()), i.length = 0;
|
|
4970
4970
|
}
|
|
4971
|
-
return
|
|
4971
|
+
return he;
|
|
4972
4972
|
}
|
|
4973
4973
|
function qi(e) {
|
|
4974
4974
|
var t, n, r, i, a, o;
|
|
4975
|
-
let s = (t =
|
|
4975
|
+
let s = (t = z.routeStore.currentRouteLayer) == null ? void 0 : t.name, c = bi, l = (n = U.selectedRoute) == null ? void 0 : n.from, u = (r = U.selectedRoute) == null ? void 0 : r.to, d = (i = U.selectedRoute) == null ? void 0 : i.waypoints;
|
|
4976
4976
|
if ((l == null ? void 0 : l.entity.type) === "route-cut-in" && (l = null), (u == null ? void 0 : u.entity.type) === "route-cut-in" && (u = null), !c.length) return;
|
|
4977
4977
|
let f = [{
|
|
4978
4978
|
key: "sourceLocation",
|
|
@@ -4997,8 +4997,8 @@ function qi(e) {
|
|
|
4997
4997
|
}), h || (Q.bounds = A(c[c.length - 1].x, c[c.length - 1].y, Di.width, Di.height, e), Q.hidden = !1, Q.dim = !1), g || ($.bounds = A(c[0].x, c[0].y, Oi.width, Oi.height, e), $.hidden = !m, $.dim = !m);
|
|
4998
4998
|
}
|
|
4999
4999
|
function Ji() {
|
|
5000
|
-
let { from: e, to: t } =
|
|
5001
|
-
return e && (e == null ? void 0 : e.entity.type) === n || t && (t == null ? void 0 : t.entity.type) === n ?
|
|
5000
|
+
let { from: e, to: t } = z.uiState.selectedRoute || {}, n = "route-cut-in";
|
|
5001
|
+
return e && (e == null ? void 0 : e.entity.type) === n || t && (t == null ? void 0 : t.entity.type) === n ? z.routeStore.defaultFrom : null;
|
|
5002
5002
|
}
|
|
5003
5003
|
function Yi(e, t) {
|
|
5004
5004
|
if (!e || !t.length) return t;
|
|
@@ -5007,7 +5007,7 @@ function Yi(e, t) {
|
|
|
5007
5007
|
}
|
|
5008
5008
|
function Xi(e, t, n) {
|
|
5009
5009
|
var r;
|
|
5010
|
-
let i = (r =
|
|
5010
|
+
let i = (r = z.routeStore.currentRouteLayer) == null ? void 0 : r.name, a = z.layerStore.floors.map((e) => e.name).reverse(), o = it({
|
|
5011
5011
|
routeLines: Z,
|
|
5012
5012
|
currentLayerName: i,
|
|
5013
5013
|
floorOrder: a
|
|
@@ -5027,12 +5027,12 @@ function Xi(e, t, n) {
|
|
|
5027
5027
|
}
|
|
5028
5028
|
function Zi(e, t, n = 1, r) {
|
|
5029
5029
|
if (!e) return;
|
|
5030
|
-
let i =
|
|
5030
|
+
let i = z.fp.icons.get("kiosk");
|
|
5031
5031
|
i.id = "kiosk";
|
|
5032
5032
|
let a;
|
|
5033
5033
|
if (i) {
|
|
5034
5034
|
let t = e != null && e.iconSizePercent ? e.iconSizePercent / 100 : 1;
|
|
5035
|
-
a =
|
|
5035
|
+
a = F(i, gi(199 * t, 55), gi(152 * t, 55), X);
|
|
5036
5036
|
} else a = N(X, (0, ai.default)("#ee4422").hex());
|
|
5037
5037
|
let o = vt(a, A(e.x, e.y, a.width, a.height, n, hi(e.heading || 0)), {
|
|
5038
5038
|
hidden: !t.visible,
|
|
@@ -5043,13 +5043,13 @@ function Zi(e, t, n = 1, r) {
|
|
|
5043
5043
|
function Qi(e, t, n = !1) {
|
|
5044
5044
|
var r;
|
|
5045
5045
|
let i = bi.length - 1;
|
|
5046
|
-
if (((r =
|
|
5046
|
+
if (((r = U.selectedRoute) == null || (r = r.to) == null ? void 0 : r.entity.type) === "route-cut-in" && (i = 0), n) {
|
|
5047
5047
|
t.children = [], e.update(t);
|
|
5048
5048
|
return;
|
|
5049
5049
|
}
|
|
5050
5050
|
let a = e.scale, o = bi[i], s = xi == null ? void 0 : xi.destination;
|
|
5051
5051
|
if (!o || !s) return;
|
|
5052
|
-
let c = Ii.width, l =
|
|
5052
|
+
let c = Ii.width, l = se([{
|
|
5053
5053
|
p0: o,
|
|
5054
5054
|
p1: s
|
|
5055
5055
|
}], c * 2 * a);
|
|
@@ -5062,7 +5062,7 @@ function Qi(e, t, n = !1) {
|
|
|
5062
5062
|
},
|
|
5063
5063
|
s
|
|
5064
5064
|
], m = l.map((e, t, n) => {
|
|
5065
|
-
let r =
|
|
5065
|
+
let r = Ae(p, (t + 1) / (n.length + 1));
|
|
5066
5066
|
return vt(Ii, A(r.x, r.y, Ii.width, Ii.height, a), {
|
|
5067
5067
|
hidden: !1,
|
|
5068
5068
|
dim: !1
|
|
@@ -5104,7 +5104,7 @@ function ta(e) {
|
|
|
5104
5104
|
e.onRoll(n, (e) => (t.bounds.rotation = e, t));
|
|
5105
5105
|
};
|
|
5106
5106
|
function d() {
|
|
5107
|
-
let t =
|
|
5107
|
+
let t = z.routeStore.markersData.markers;
|
|
5108
5108
|
if (!t.length) return;
|
|
5109
5109
|
i = [];
|
|
5110
5110
|
let o = e.scale, d = hi(e.angle);
|
|
@@ -5114,12 +5114,12 @@ function ta(e) {
|
|
|
5114
5114
|
if (!s) return;
|
|
5115
5115
|
let c = s.scale || window.devicePixelRatio, l = e.icon;
|
|
5116
5116
|
if (!r.has(l)) {
|
|
5117
|
-
let e =
|
|
5117
|
+
let e = F(s.img, s.width, s.height, c);
|
|
5118
5118
|
r.set(l, e);
|
|
5119
5119
|
}
|
|
5120
5120
|
let u = r.get(l), f = n.get(e.selectedIcon), p = e.selectedIcon;
|
|
5121
5121
|
if (!r.has(p)) {
|
|
5122
|
-
let e =
|
|
5122
|
+
let e = F(f.img, f.width, f.height, c);
|
|
5123
5123
|
r.set(p, e);
|
|
5124
5124
|
}
|
|
5125
5125
|
let m = r.get(p), h = (t = (a = G.findLayer(e.z)) == null ? void 0 : a.visible) == null ? !0 : t, g = A(e.x, e.y, u.width, u.height, o, d), _ = A(e.x, e.y, m.width, m.height, o, d), v;
|
|
@@ -5161,7 +5161,7 @@ function ta(e) {
|
|
|
5161
5161
|
}), a.children = [], i = [];
|
|
5162
5162
|
}
|
|
5163
5163
|
function p() {
|
|
5164
|
-
let e =
|
|
5164
|
+
let e = z.routeStore.markersData.markers;
|
|
5165
5165
|
e.length && e.forEach((e) => {
|
|
5166
5166
|
var t, n;
|
|
5167
5167
|
let r = i.find((t) => t.id === e.id), a = i.find((t) => t.id === `${e.id}${$i}`);
|
|
@@ -5170,14 +5170,14 @@ function ta(e) {
|
|
|
5170
5170
|
e.active ? (r.hidden = !0, a.hidden = !(o && e.active)) : (r.hidden = !o, a.hidden = !0);
|
|
5171
5171
|
});
|
|
5172
5172
|
}
|
|
5173
|
-
return t.push(w(() => [
|
|
5174
|
-
if (!
|
|
5173
|
+
return t.push(w(() => [z.routeStore.selectedMarkers, z.layerStore.visible], () => {
|
|
5174
|
+
if (!z.routeStore.markersData.markers.length) {
|
|
5175
5175
|
f(), e.update(a);
|
|
5176
5176
|
return;
|
|
5177
5177
|
}
|
|
5178
5178
|
p(), e.update(...i);
|
|
5179
|
-
})), t.push(w(() =>
|
|
5180
|
-
o(
|
|
5179
|
+
})), t.push(w(() => z.routeStore.markersData.markers, () => {
|
|
5180
|
+
o(z.routeStore.markersData.icons).then(() => {
|
|
5181
5181
|
d(), e.update(a);
|
|
5182
5182
|
});
|
|
5183
5183
|
}, { fireImmediately: !0 })), function() {
|
|
@@ -5185,12 +5185,12 @@ function ta(e) {
|
|
|
5185
5185
|
};
|
|
5186
5186
|
}
|
|
5187
5187
|
function na(e, t, n) {
|
|
5188
|
-
for (let r of
|
|
5189
|
-
let i =
|
|
5188
|
+
for (let r of z.routeStore.markersData.markers) {
|
|
5189
|
+
let i = z.routeStore.markersData.icons.find((e) => e.name === r.icon);
|
|
5190
5190
|
if (!i) continue;
|
|
5191
5191
|
let a = i.width * n * devicePixelRatio, o = i.height * n * devicePixelRatio;
|
|
5192
5192
|
if (ra(e, t, r.x, r.y, a, o)) {
|
|
5193
|
-
let e =
|
|
5193
|
+
let e = z.layerStore.findLayer(r.z);
|
|
5194
5194
|
if (!e || e && e.visible) return r;
|
|
5195
5195
|
}
|
|
5196
5196
|
}
|
|
@@ -5203,13 +5203,13 @@ function ra(e, t, n, r, i, a) {
|
|
|
5203
5203
|
//#endregion
|
|
5204
5204
|
//#region src/components/Map/drawing/config/config-yah.ts
|
|
5205
5205
|
function ia() {
|
|
5206
|
-
let e =
|
|
5206
|
+
let e = ue(), t = window.location.search.length > 1 ? decodeURIComponent(window.location.search.substring(1)) : "";
|
|
5207
5207
|
if (!e && t.startsWith("route")) {
|
|
5208
5208
|
let n = t.split(":").find((e) => e.startsWith("yah_"));
|
|
5209
5209
|
n && (e = n);
|
|
5210
5210
|
}
|
|
5211
5211
|
let n = Array.isArray(e) || !1;
|
|
5212
|
-
return
|
|
5212
|
+
return z.routeStore.defaultFrom = n ? z.boothStore.getBoothAtPoint(new yi.Point(e[0], e[1])) : z.boothStore.booths.find((t) => t.name === e), z.boothStore.booths.filter((e) => e.yah).forEach((e) => z.boothStore.booths.splice(z.boothStore.booths.indexOf(e), 1)), () => {};
|
|
5213
5213
|
}
|
|
5214
5214
|
//#endregion
|
|
5215
5215
|
//#region src/components/Map/traffic/trafficLayers.ts
|
|
@@ -5267,7 +5267,7 @@ function Oa(e) {
|
|
|
5267
5267
|
var t, n;
|
|
5268
5268
|
if (!((t = e.paths) != null && t.length)) return [];
|
|
5269
5269
|
let r = ((n = e.layer) == null ? void 0 : n.name) || "", i = [];
|
|
5270
|
-
for (let t of e.paths) for (let e of
|
|
5270
|
+
for (let t of e.paths) for (let e of je(t.index, r)) i.push(e);
|
|
5271
5271
|
return i;
|
|
5272
5272
|
}
|
|
5273
5273
|
function ka(e) {
|
|
@@ -5338,11 +5338,11 @@ function Fa(e) {
|
|
|
5338
5338
|
return ((t = e.paths) == null ? void 0 : t.length) > 1 && Pa(e.paths[e.paths.length - 1].color) || n;
|
|
5339
5339
|
}
|
|
5340
5340
|
function Ia(e, t) {
|
|
5341
|
-
let n = Da(t.title || t.name), r = Fa(t), i =
|
|
5342
|
-
Ea.font =
|
|
5343
|
-
let o = Ea.measureText(n).width, s = Math.ceil(o + Ca * 2), c = Sa + wa * 2, l = (t.borderWidth ||
|
|
5341
|
+
let n = Da(t.title || t.name), r = Fa(t), i = ot((0, ai.default)(r).hex()), a = window.devicePixelRatio || 1;
|
|
5342
|
+
Ea.font = Ke(Sa, _a);
|
|
5343
|
+
let o = Ea.measureText(n).width, s = Math.ceil(o + Ca * 2), c = Sa + wa * 2, l = (t.borderWidth || ct.borderWidth) / 2, u = s * Ta, d = c * Ta, f = t.rotate ? -t.rotate : 0, p = t.rect.w, m = t.rect.h, h = Math.min(p > 0 ? p * va / u : Infinity, m > 0 ? m * ya / d : Infinity), g = Oa(t), { x: _, y: v } = Na(t, g, l, f), y = ja(g, _, v, u, d, h), b = Math.cos(f), x = Math.sin(f), S = (e, t) => {
|
|
5344
5344
|
let n = e / 2, r = t / 2, i = _ + n * b - r * x, a = v + n * x + r * b;
|
|
5345
|
-
return new
|
|
5345
|
+
return new qe({
|
|
5346
5346
|
x: i - n,
|
|
5347
5347
|
y: a - r
|
|
5348
5348
|
}, {
|
|
@@ -5352,9 +5352,9 @@ function Ia(e, t) {
|
|
|
5352
5352
|
}, C = (e) => {
|
|
5353
5353
|
let t = Math.min(e, y);
|
|
5354
5354
|
return S(u * t, d * t);
|
|
5355
|
-
}, T =
|
|
5355
|
+
}, T = Ue(_a, e.fontUrls), E = ne(S(1, 1), r);
|
|
5356
5356
|
E.hidden = !0, E.dim = t.skipDim ? !1 : void 0;
|
|
5357
|
-
let D = ht(
|
|
5357
|
+
let D = ht(Te([[n], []], i, 0, [T, T]), S(1, 1), [0, 0], {
|
|
5358
5358
|
horizontal: "center",
|
|
5359
5359
|
vertical: "center"
|
|
5360
5360
|
});
|
|
@@ -5376,9 +5376,9 @@ function Ia(e, t) {
|
|
|
5376
5376
|
};
|
|
5377
5377
|
}
|
|
5378
5378
|
function La(e, t, n) {
|
|
5379
|
-
if (
|
|
5379
|
+
if (P.hideExhibitorBoothNumber) return null;
|
|
5380
5380
|
let r = [], i = [];
|
|
5381
|
-
for (let t of n) if (t instanceof bt && t.noLabels && !
|
|
5381
|
+
for (let t of n) if (t instanceof bt && t.noLabels && !U.hideLogoInBooth && t.exhibitors.some((e) => e.logoInBooth && e.logo)) {
|
|
5382
5382
|
let { bg: n, text: a } = Ia(e, t);
|
|
5383
5383
|
r.push(n), i.push(a);
|
|
5384
5384
|
}
|
|
@@ -5397,21 +5397,21 @@ function La(e, t, n) {
|
|
|
5397
5397
|
//#region src/components/Map/drawing/config/config-all.ts
|
|
5398
5398
|
function Ra(e) {
|
|
5399
5399
|
ia();
|
|
5400
|
-
let { layers: t, defaultLayer: n } =
|
|
5400
|
+
let { layers: t, defaultLayer: n } = z.layerStore;
|
|
5401
5401
|
if (n) {
|
|
5402
5402
|
let e = [].concat(t), r = t.find((e) => e === n), i = t.indexOf(r);
|
|
5403
5403
|
e.splice(i, 1), t = [r].concat(e);
|
|
5404
5404
|
}
|
|
5405
|
-
let r = t.filter((e) => !e.rootParent).map((t) =>
|
|
5405
|
+
let r = t.filter((e) => !e.rootParent).map((t) => Be(t, e));
|
|
5406
5406
|
return Promise.all(r).then((t) => {
|
|
5407
|
-
let n =
|
|
5407
|
+
let n = Le(Hi, [], {
|
|
5408
5408
|
dim: !1,
|
|
5409
5409
|
interactive: !0
|
|
5410
|
-
}), r =
|
|
5410
|
+
}), r = Le(Ui, [], { dim: !1 }), i = Le(Wi, [], { dim: !1 }), a = Le(ea, []), o = Le(Vi, [], { dim: !1 }), s = Le(Gi, [], { dim: !1 });
|
|
5411
5411
|
t.forEach((e) => {
|
|
5412
5412
|
e.name.toLowerCase().includes("pathway") && (e.dim = !1);
|
|
5413
5413
|
});
|
|
5414
|
-
let c = La(e, "root",
|
|
5414
|
+
let c = La(e, "root", z.boothStore.booths);
|
|
5415
5415
|
return [
|
|
5416
5416
|
...t.flat(),
|
|
5417
5417
|
...c ? [c] : [],
|
|
@@ -5606,7 +5606,7 @@ Enable/Disable Preview: Press ${Ya}.
|
|
|
5606
5606
|
}
|
|
5607
5607
|
};
|
|
5608
5608
|
function Za({ enabled: e, rendererService: t }) {
|
|
5609
|
-
let n = (0, q.useRef)(!1), r = (0, q.useRef)(), i = (0, q.useMemo)(() =>
|
|
5609
|
+
let n = (0, q.useRef)(!1), r = (0, q.useRef)(), i = (0, q.useMemo)(() => Xe(Wa, Va), []), a = (0, q.useMemo)(() => Xe(Wa, Ha), []), o = (0, q.useMemo)(() => new Xa(), []), s = (0, q.useRef)(new za()), c = (0, q.useMemo)(() => {
|
|
5610
5610
|
if (!t.scene) return {};
|
|
5611
5611
|
let e = t.scene.rootLayer.children;
|
|
5612
5612
|
return {
|
|
@@ -5796,7 +5796,7 @@ function lo({ permission: e, rendererService: t, dataJsonUrl: n, websocketUrl: r
|
|
|
5796
5796
|
}));
|
|
5797
5797
|
let E = null;
|
|
5798
5798
|
try {
|
|
5799
|
-
E =
|
|
5799
|
+
E = F(await y(`${d}icons/bus-white.svg`), to, to, window.devicePixelRatio);
|
|
5800
5800
|
} catch (e) {
|
|
5801
5801
|
console.error(e);
|
|
5802
5802
|
}
|
|
@@ -6013,17 +6013,17 @@ function Co(e) {
|
|
|
6013
6013
|
//#region src/components/Map/booth-by-xy.ts
|
|
6014
6014
|
var wo = /* @__PURE__ */ new Map(), To = [], Eo = [], Do = [], Oo = /* @__PURE__ */ new Map(), ko;
|
|
6015
6015
|
function Ao() {
|
|
6016
|
-
let e =
|
|
6016
|
+
let e = ct.booths.filter((e) => e.visible && e.rect && e.rect.w > 0 && e.rect.h > 0);
|
|
6017
6017
|
if (wo = /* @__PURE__ */ new Map(), To = [], Do = [], ko = null, Oo = /* @__PURE__ */ new Map(), !e.length) return;
|
|
6018
6018
|
Eo = e.filter((e) => e.paths);
|
|
6019
|
-
let t =
|
|
6019
|
+
let t = pe.fromMultiple(e.map((e) => e.rect));
|
|
6020
6020
|
for (let t of e) {
|
|
6021
6021
|
let e = t.rect;
|
|
6022
6022
|
Math.abs(t.rotate) === 90 * Math.PI / 180 && (e = e.getRotated90()), To.push(e), wo.set(e, t);
|
|
6023
6023
|
}
|
|
6024
6024
|
let n = Math.ceil(t.w / 2), r = Math.ceil(t.h / 2);
|
|
6025
6025
|
for (let e = 0; e < 2; e++) for (let i = 0; i < 2; i++) {
|
|
6026
|
-
let a = t.x1 + e * n, o = t.y1 + i * r, s =
|
|
6026
|
+
let a = t.x1 + e * n, o = t.y1 + i * r, s = pe.fromXywh(a, o, n, r);
|
|
6027
6027
|
Do.push(s);
|
|
6028
6028
|
let c = To.filter((e) => s.intersects(e));
|
|
6029
6029
|
Oo.set(s, c);
|
|
@@ -6031,7 +6031,7 @@ function Ao() {
|
|
|
6031
6031
|
o.log("hover segmentToRects", Oo);
|
|
6032
6032
|
}
|
|
6033
6033
|
w(() => [
|
|
6034
|
-
|
|
6034
|
+
ct.booths,
|
|
6035
6035
|
G.loaded,
|
|
6036
6036
|
G.visible
|
|
6037
6037
|
], () => Ao());
|
|
@@ -6048,7 +6048,7 @@ function jo(e, t) {
|
|
|
6048
6048
|
return t.visible ? t : null;
|
|
6049
6049
|
}
|
|
6050
6050
|
}
|
|
6051
|
-
for (let n of Eo) for (let r of n.paths) for (let i of
|
|
6051
|
+
for (let n of Eo) for (let r of n.paths) for (let i of je(r.index, G.mode === Re.Default ? "" : n.layer.name)) if (ga(e, t, i)) return n.visible ? n : null;
|
|
6052
6052
|
return null;
|
|
6053
6053
|
}
|
|
6054
6054
|
function Mo(e, t) {
|
|
@@ -6060,26 +6060,26 @@ var No = Number.isFinite(W.maxZoom);
|
|
|
6060
6060
|
function Po() {
|
|
6061
6061
|
let e = {}, t = (0, q.useRef)(), n = (0, q.useMemo)(() => S({
|
|
6062
6062
|
moving: !1,
|
|
6063
|
-
prevLevel:
|
|
6064
|
-
}), []), r =
|
|
6065
|
-
K(() =>
|
|
6066
|
-
if (!r.scene || n.prevLevel ===
|
|
6067
|
-
let e = r.scene.rootLayer.children.filter((e) =>
|
|
6063
|
+
prevLevel: z.layerStore.layers.find((e) => !e.frozen && e.visible)
|
|
6064
|
+
}), []), r = z.rendererService, i, a = (0, q.useRef)(null), s = null, c = null, [l, u] = (0, q.useState)(() => typeof window < "u" && window.localStorage ? localStorage.getItem(p) !== "false" : !0);
|
|
6065
|
+
K(() => z.routeStore.currentRouteLayer, () => {
|
|
6066
|
+
if (!r.scene || n.prevLevel === z.routeStore.currentRouteLayer) return;
|
|
6067
|
+
let e = r.scene.rootLayer.children.filter((e) => z.layerStore.floors.some((t) => e.name.includes(t.name))), t = z.routeStore.currentRouteLayer.name;
|
|
6068
6068
|
if (!e.find((e) => e.name === t)) return;
|
|
6069
6069
|
let i = e == null ? void 0 : e.map((e) => {
|
|
6070
6070
|
var r;
|
|
6071
6071
|
return e.name === t && (e.hidden = !1), e.name === ((r = n.prevLevel) == null ? void 0 : r.name) && (e.hidden = !0), e;
|
|
6072
6072
|
});
|
|
6073
|
-
n.prevLevel =
|
|
6074
|
-
}), K(() =>
|
|
6075
|
-
!
|
|
6073
|
+
n.prevLevel = z.routeStore.currentRouteLayer, r.update(...i);
|
|
6074
|
+
}), K(() => U.centerMap, () => {
|
|
6075
|
+
!U.centerMap || z.mapboxStore.showMapbox || (i.controls.resetCamera({ zoom: !!(U.list.type === "search" && U.list.text) }), U.centerMap = !1);
|
|
6076
6076
|
}), (0, q.useEffect)(() => {
|
|
6077
6077
|
if (!t.current) return;
|
|
6078
6078
|
async function n() {
|
|
6079
6079
|
let n = {};
|
|
6080
6080
|
try {
|
|
6081
6081
|
if (b) {
|
|
6082
|
-
let e = document.createElement("canvas").getContext("webgl2"), t = e && e.getExtension("EXT_disjoint_timer_query_webgl2"), r = (await import("./main-
|
|
6082
|
+
let e = document.createElement("canvas").getContext("webgl2"), t = e && e.getExtension("EXT_disjoint_timer_query_webgl2"), r = (await import("./main-C74Uu09R.js")).default, i = new r({
|
|
6083
6083
|
trackGPU: t,
|
|
6084
6084
|
horizontal: !0
|
|
6085
6085
|
}), o = a.current;
|
|
@@ -6095,39 +6095,39 @@ function Po() {
|
|
|
6095
6095
|
i = r.create({
|
|
6096
6096
|
canvas: t.current,
|
|
6097
6097
|
ui: n
|
|
6098
|
-
}),
|
|
6098
|
+
}), U.canvasVisibleRectPx && (i.visibleRect = qe.fromCoreRect(U.canvasVisibleRectPx)), Ra(r).then((t) => {
|
|
6099
6099
|
var n;
|
|
6100
6100
|
b && console.log("Renderer settings", i);
|
|
6101
6101
|
let a = (0, ai.default)(W.backgroundColor === "none" ? "#ebebeb" : W.backgroundColor).string("rgba");
|
|
6102
|
-
e =
|
|
6102
|
+
e = Ce(t, qe.fromCoreRect(ce), a), r.start(e), Ie(i, +!!z.fp.enableRotation), No && i.viewport.setMaxZoom(W.maxZoom), G.layersLoaded = !0, z.fp.onFpConfigured && ((n = z.fp) == null || n.onFpConfigured()), s = Ki(r), c = ta(r), rt(r);
|
|
6103
6103
|
}), i.events.addEventListener("pointer:move", ({ data: e }) => {
|
|
6104
|
-
if (
|
|
6104
|
+
if (U.setKioskModeEnabled) return;
|
|
6105
6105
|
let { point: t, defs: n } = M(e), r = Mo(t.x, t.y), i = h(n[0]);
|
|
6106
|
-
|
|
6106
|
+
U.hoveredBooth = r || i;
|
|
6107
6107
|
}), i.events.addEventListener("pointer:out", () => {
|
|
6108
|
-
|
|
6108
|
+
U.setKioskModeEnabled || (U.hoveredBooth = null);
|
|
6109
6109
|
}), i.events.addEventListener("pointer:click", ({ data: e }) => {
|
|
6110
|
-
if (!(
|
|
6111
|
-
window.__resett && window.__resett(),
|
|
6110
|
+
if (!(U != null && U.rootElement)) return;
|
|
6111
|
+
window.__resett && window.__resett(), U.overlayPosition === "bottom" && U.overlaySize === "full" && z.showMap();
|
|
6112
6112
|
let { point: t, defs: n } = M(e), { x: i, y: a } = t;
|
|
6113
|
-
if (
|
|
6114
|
-
let e =
|
|
6115
|
-
|
|
6113
|
+
if (U.onGetCoordsClick) {
|
|
6114
|
+
let e = z.layerStore.layers.find((e) => e.visible && (e.mode === st.TurnedOn || e.mode === st.TurnedOff));
|
|
6115
|
+
U.onGetCoordsClick({
|
|
6116
6116
|
x: i,
|
|
6117
6117
|
y: a,
|
|
6118
6118
|
z: (e == null ? void 0 : e.name) || null
|
|
6119
6119
|
});
|
|
6120
6120
|
}
|
|
6121
|
-
if (
|
|
6122
|
-
if (
|
|
6121
|
+
if (U.setKioskModeEnabled) return;
|
|
6122
|
+
if (U.onMarkerClick) {
|
|
6123
6123
|
let e = na(i, a, r.scale);
|
|
6124
|
-
b && console.log("marker", e),
|
|
6124
|
+
b && console.log("marker", e), U.onMarkerClick(e);
|
|
6125
6125
|
}
|
|
6126
6126
|
let o = Mo(t.x, t.y), s = h(n[0]);
|
|
6127
|
-
b && console.log("boothIdFromClientXy", o, "boothByShape", s, "pointer:click point", t),
|
|
6127
|
+
b && console.log("boothIdFromClientXy", o, "boothByShape", s, "pointer:click point", t), z.clickBooth(o || s);
|
|
6128
6128
|
}), i.events.addEventListener("navigation:change", () => window.__resett && window.__resett());
|
|
6129
6129
|
}
|
|
6130
|
-
return n(),
|
|
6130
|
+
return n(), z.fp.getCenterCoordinates = f, () => d();
|
|
6131
6131
|
}, []);
|
|
6132
6132
|
function d() {
|
|
6133
6133
|
s == null || s(), c == null || c(), r.dispose();
|
|
@@ -6135,47 +6135,47 @@ function Po() {
|
|
|
6135
6135
|
function f() {
|
|
6136
6136
|
let e = t.current;
|
|
6137
6137
|
if (!t.current) throw Error("Canvas not ready");
|
|
6138
|
-
let n =
|
|
6138
|
+
let n = ye(i.viewport.canvasToSvg({
|
|
6139
6139
|
x: e.clientWidth / 2,
|
|
6140
6140
|
y: e.clientHeight / 2
|
|
6141
|
-
})), r =
|
|
6141
|
+
})), r = z.layerStore.visible.find((e) => e.mode === st.TurnedOff || e.mode === st.TurnedOn), a = (r == null ? void 0 : r.name) || null;
|
|
6142
6142
|
return {
|
|
6143
6143
|
...n,
|
|
6144
6144
|
z: a
|
|
6145
6145
|
};
|
|
6146
6146
|
}
|
|
6147
6147
|
function h(e) {
|
|
6148
|
-
return !e || !e.shape ? null :
|
|
6148
|
+
return !e || !e.shape ? null : ct.booths.find((t) => {
|
|
6149
6149
|
var n;
|
|
6150
6150
|
return (n = t.shapes) == null ? void 0 : n.find((t) => t.shape == e.shape);
|
|
6151
6151
|
});
|
|
6152
6152
|
}
|
|
6153
|
-
K(() =>
|
|
6154
|
-
if (!
|
|
6155
|
-
let e =
|
|
6156
|
-
i.controls.zoomBy(e),
|
|
6157
|
-
}), K(() =>
|
|
6153
|
+
K(() => U.zoomBy, () => {
|
|
6154
|
+
if (!U.zoomBy || z.mapboxStore.showMapbox) return;
|
|
6155
|
+
let e = U.zoomBy;
|
|
6156
|
+
i.controls.zoomBy(e), U.zoomBy = null;
|
|
6157
|
+
}), K(() => U.dimmed, (e) => {
|
|
6158
6158
|
if (!r.scene) return;
|
|
6159
6159
|
let t = r.scene.rootLayer;
|
|
6160
6160
|
t.dim !== e && (t.dim = e, r.update(t));
|
|
6161
|
-
}), K(() =>
|
|
6162
|
-
if (!
|
|
6163
|
-
if (!
|
|
6164
|
-
|
|
6161
|
+
}), K(() => U.details, () => {
|
|
6162
|
+
if (!U.onDetails) return;
|
|
6163
|
+
if (!U.details) {
|
|
6164
|
+
U.onDetails(null);
|
|
6165
6165
|
return;
|
|
6166
6166
|
}
|
|
6167
|
-
var e =
|
|
6168
|
-
if (W.EXPO === "wineparis" && (e instanceof
|
|
6167
|
+
var e = U.details;
|
|
6168
|
+
if (W.EXPO === "wineparis" && (e instanceof he && (e = e.booths[0]), !e)) return;
|
|
6169
6169
|
let t = null, n = [];
|
|
6170
|
-
if (e instanceof
|
|
6170
|
+
if (e instanceof he) t = "exhibitor", n = e.booths.map((e) => e.name).sort((e, t) => {
|
|
6171
6171
|
var n, r;
|
|
6172
|
-
return e == ((n =
|
|
6172
|
+
return e == ((n = z.routeStore.tempToBooth) == null ? void 0 : n.name) ? -1 : +(t == ((r = z.routeStore.tempToBooth) == null ? void 0 : r.name));
|
|
6173
6173
|
});
|
|
6174
|
-
else if (e instanceof
|
|
6175
|
-
else if (e instanceof
|
|
6174
|
+
else if (e instanceof Se) t = "booth", n = [e.name];
|
|
6175
|
+
else if (e instanceof ge) {
|
|
6176
6176
|
var r, i;
|
|
6177
6177
|
t = "route", n = [(r = e.from) == null ? void 0 : r.name, (i = e.to) == null ? void 0 : i.name].filter((e) => !!e);
|
|
6178
|
-
} else e instanceof
|
|
6178
|
+
} else e instanceof oe && (t = "category", n = e.exhibitors.map((e) => e.booths.map((e) => e.name)).flat());
|
|
6179
6179
|
var a = {
|
|
6180
6180
|
type: t,
|
|
6181
6181
|
name: e == null ? void 0 : e.name,
|
|
@@ -6183,28 +6183,28 @@ function Po() {
|
|
|
6183
6183
|
externalId: e == null ? void 0 : e.externalId,
|
|
6184
6184
|
boothsNames: n
|
|
6185
6185
|
};
|
|
6186
|
-
|
|
6186
|
+
U.onDetails({
|
|
6187
6187
|
...a,
|
|
6188
|
-
...t === "route" ? { routeInfo:
|
|
6188
|
+
...t === "route" ? { routeInfo: z.routeStore.routeInfo } : {}
|
|
6189
6189
|
});
|
|
6190
|
-
}), K(() =>
|
|
6191
|
-
r.renderer && (r.renderer.visibleRect =
|
|
6192
|
-
}, { fireImmediately: !0 }), K(() =>
|
|
6193
|
-
!
|
|
6194
|
-
}), K(() =>
|
|
6195
|
-
e && (i.controls.resetCamera({ roll: !0 }),
|
|
6196
|
-
}), K(() =>
|
|
6197
|
-
if (o.log("this.moveToBooths",
|
|
6198
|
-
o.log("watched moveToBooths",
|
|
6199
|
-
let e =
|
|
6200
|
-
e.length !== 0 && (_(
|
|
6201
|
-
}), K(() =>
|
|
6202
|
-
if (!(
|
|
6203
|
-
e && e !==
|
|
6190
|
+
}), K(() => U.canvasVisibleRectPx, () => {
|
|
6191
|
+
r.renderer && (r.renderer.visibleRect = qe.fromCoreRect(U.canvasVisibleRectPx));
|
|
6192
|
+
}, { fireImmediately: !0 }), K(() => U.moveToRect, () => {
|
|
6193
|
+
!U.moveToRect || z.mapboxStore.showMapbox || (U.moveToRect && U.moveToRect.h !== Infinity && U.moveToRect.w !== Infinity && U.moveToRect.h > 0 && U.moveToRect.w > 0 && _(U.moveToRect), U.moveToRect = null);
|
|
6194
|
+
}), K(() => U.rollReset, (e) => {
|
|
6195
|
+
e && (i.controls.resetCamera({ roll: !0 }), U.rollReset = !1);
|
|
6196
|
+
}), K(() => U.moveToBooths, () => {
|
|
6197
|
+
if (o.log("this.moveToBooths", U.moveToBooths), !U.moveToBooths || z.mapboxStore.showMapbox) return;
|
|
6198
|
+
o.log("watched moveToBooths", U.moveToBooths);
|
|
6199
|
+
let e = U.moveToBooths.filter((e) => e.rect).map((e) => e.rect);
|
|
6200
|
+
e.length !== 0 && (_(pe.fromMultiple(e)), U.moveToBooths = null);
|
|
6201
|
+
}), K(() => U.mapSettings, ({ zoomtime: e, center: t, centerxy: n, bearing: a, roll: s, z: c }) => {
|
|
6202
|
+
if (!(z.mapboxStore.showMapbox || !r.renderer)) try {
|
|
6203
|
+
e && e !== U.defaultMapSettings.zoomtime && r.renderer.controls.configure({ zoomTime: e / 1e3 }), z.fp.enableRotation && Ie(i, s);
|
|
6204
6204
|
let o;
|
|
6205
6205
|
if (t) {
|
|
6206
6206
|
let e = t.split(",").map(Number);
|
|
6207
|
-
o =
|
|
6207
|
+
o = Pe(new Ge(void 0, void 0, void 0, void 0, e[0], e[1]), lt.properties.config);
|
|
6208
6208
|
} else if (n) {
|
|
6209
6209
|
let e = n.split(",").map(Number);
|
|
6210
6210
|
o = {
|
|
@@ -6212,12 +6212,12 @@ function Po() {
|
|
|
6212
6212
|
y: e[1]
|
|
6213
6213
|
};
|
|
6214
6214
|
}
|
|
6215
|
-
c &&
|
|
6215
|
+
c && z.fp.activateFloor({ name: c }), (o != null && o.x || o != null && o.y) && r.renderer.controls.panTo(o.x, o.y), Number.isFinite(a) && r.renderer.controls.rollTo(a);
|
|
6216
6216
|
} catch (e) {
|
|
6217
6217
|
o.error("Error in mapSettings reaction", e);
|
|
6218
6218
|
}
|
|
6219
6219
|
}), Za({
|
|
6220
|
-
enabled: G.layersLoaded &&
|
|
6220
|
+
enabled: G.layersLoaded && U.buildRoute,
|
|
6221
6221
|
rendererService: r
|
|
6222
6222
|
});
|
|
6223
6223
|
let g = "routes-api.expofp.com";
|
|
@@ -6226,7 +6226,7 @@ function Po() {
|
|
|
6226
6226
|
rendererService: r,
|
|
6227
6227
|
dataJsonUrl: `https://${g}/v1/routes?expo=${W.EXPO}`,
|
|
6228
6228
|
websocketUrl: `wss://${g}/locations?expo=${W.EXPO}`
|
|
6229
|
-
}), K(() =>
|
|
6229
|
+
}), K(() => z.layerStore.visible, (e) => {
|
|
6230
6230
|
if (!r.scene) return;
|
|
6231
6231
|
let t = e.filter((e) => e.name.toLowerCase().includes(m)), n = r.scene.rootLayer.children.filter((e) => e.name.toLowerCase().includes(m));
|
|
6232
6232
|
n.forEach((e) => {
|
|
@@ -6235,23 +6235,23 @@ function Po() {
|
|
|
6235
6235
|
});
|
|
6236
6236
|
function _(e) {
|
|
6237
6237
|
var t, n;
|
|
6238
|
-
let r = e, a = v(e,
|
|
6239
|
-
|
|
6240
|
-
let o =
|
|
6238
|
+
let r = e, a = v(e, ce);
|
|
6239
|
+
U.kioskData && (!Ze() || ((t = z.routeStore.defaultFrom) == null || (t = t.layer) == null ? void 0 : t.name) === ((n = z.routeStore.currentRouteLayer) == null ? void 0 : n.name)) && (r = pe.fromMultiple([e, pe.fromXywh(U.kioskData.x, U.kioskData.y, 1, 1)]));
|
|
6240
|
+
let o = qe.fromCoreRect(r), s = {
|
|
6241
6241
|
paddingPercent: a,
|
|
6242
6242
|
maxZoom: No ? void 0 : 10
|
|
6243
6243
|
};
|
|
6244
|
-
if (
|
|
6244
|
+
if (U.shouldShiftMapRect) {
|
|
6245
6245
|
i.visibleRect.min = {
|
|
6246
6246
|
...i.visibleRect.min,
|
|
6247
|
-
x: i.visibleRect.min.x +
|
|
6247
|
+
x: i.visibleRect.min.x + U.overlayWidthPx
|
|
6248
6248
|
};
|
|
6249
6249
|
try {
|
|
6250
6250
|
i.controls.zoomTo(o, s);
|
|
6251
6251
|
} finally {
|
|
6252
6252
|
i.visibleRect.min = {
|
|
6253
6253
|
...i.visibleRect.min,
|
|
6254
|
-
x: i.visibleRect.min.x -
|
|
6254
|
+
x: i.visibleRect.min.x - U.overlayWidthPx
|
|
6255
6255
|
};
|
|
6256
6256
|
}
|
|
6257
6257
|
} else i.controls.zoomTo(o, s);
|
|
@@ -6268,10 +6268,10 @@ function Po() {
|
|
|
6268
6268
|
className: (0, J.default)({
|
|
6269
6269
|
map: !0,
|
|
6270
6270
|
moving: n.moving,
|
|
6271
|
-
hidden:
|
|
6271
|
+
hidden: z.mapboxStore.showMapbox
|
|
6272
6272
|
}),
|
|
6273
6273
|
children: "ExpoFP.com"
|
|
6274
|
-
}), b && l && /* @__PURE__ */ (0, Y.jsxs)(
|
|
6274
|
+
}), b && l && /* @__PURE__ */ (0, Y.jsxs)(Je, {
|
|
6275
6275
|
className: "debug-fps",
|
|
6276
6276
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", { ref: a }), /* @__PURE__ */ (0, Y.jsx)("button", {
|
|
6277
6277
|
onClick: () => {
|
|
@@ -6318,8 +6318,8 @@ function Fo() {
|
|
|
6318
6318
|
//#region src/components/Menu.tsx
|
|
6319
6319
|
var Io = q.lazy(() => import(
|
|
6320
6320
|
/* webpackChunkName: "viewer-menu-panel" */
|
|
6321
|
-
"./ViewerMenuPanel-
|
|
6322
|
-
)), Lo = /^https?:\/\//i.test(
|
|
6321
|
+
"./ViewerMenuPanel-Db8sxCQM.js"
|
|
6322
|
+
)), Lo = /^https?:\/\//i.test(P.logo) ? P.logo : window.__dataUrlBase + P.logo;
|
|
6323
6323
|
o.log("Logo url: ", Lo), window.setTimeout(function() {
|
|
6324
6324
|
let e = new Image();
|
|
6325
6325
|
e.onload = () => {
|
|
@@ -6332,35 +6332,35 @@ function Ro({ allowConsent: e, isGDPR: t }) {
|
|
|
6332
6332
|
shown: !1,
|
|
6333
6333
|
shownTimeout: void 0,
|
|
6334
6334
|
modalOpen: !1,
|
|
6335
|
-
selectedCategoryIds: (
|
|
6336
|
-
pendingSelectedIds: (
|
|
6335
|
+
selectedCategoryIds: (U.selectedCategoryFilters || []).map((e) => Number(e.id)),
|
|
6336
|
+
pendingSelectedIds: (U.selectedCategoryFilters || []).map((e) => Number(e.id))
|
|
6337
6337
|
}));
|
|
6338
6338
|
v(() => {
|
|
6339
|
-
|
|
6339
|
+
U.menu ? (n.shownTimeout = window.setTimeout(() => n.shown = !0, 1), U.list.type === "sessions" && z.searchStore.selectSearch()) : (n.shown = !1, n.shownTimeout && window.clearTimeout(n.shownTimeout));
|
|
6340
6340
|
});
|
|
6341
6341
|
function r(e) {
|
|
6342
|
-
if (
|
|
6342
|
+
if (U.kiosk) return e.preventDefault();
|
|
6343
6343
|
}
|
|
6344
6344
|
function i(e) {
|
|
6345
|
-
e.preventDefault(), s(),
|
|
6345
|
+
e.preventDefault(), s(), z.searchStore.selectSearch();
|
|
6346
6346
|
}
|
|
6347
6347
|
function a(e) {
|
|
6348
6348
|
var t, n;
|
|
6349
|
-
e.preventDefault(), (t =
|
|
6349
|
+
e.preventDefault(), (t = z.fp) == null || (n = t.onLeaveEvent) == null || n.call(t);
|
|
6350
6350
|
}
|
|
6351
6351
|
function o(e) {
|
|
6352
|
-
e.preventDefault(),
|
|
6352
|
+
e.preventDefault(), z.clickLanguage();
|
|
6353
6353
|
}
|
|
6354
6354
|
return I(() => {
|
|
6355
6355
|
var s, c;
|
|
6356
|
-
if (!
|
|
6357
|
-
let l =
|
|
6356
|
+
if (!U.menu) return null;
|
|
6357
|
+
let l = z.boothStore.booths.filter((e) => e.bookmarked).map((e) => e.name), u = (s = window.__fpSettings) != null && s.fpVer ? `https://api-v2.expofp.com/export/v2/${W.EXPO}/pdf` : `https://api.expofp.com/service/convert/${W.EXPO}/pdf`;
|
|
6358
6358
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
6359
6359
|
className: `menu ${n.shown ? "shown" : ""}`,
|
|
6360
6360
|
children: [Fn ? /* @__PURE__ */ (0, Y.jsx)("div", { className: "menu__cover -empty" }) : /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
6361
6361
|
className: "menu__cover",
|
|
6362
6362
|
children: /* @__PURE__ */ (0, Y.jsx)("a", {
|
|
6363
|
-
href:
|
|
6363
|
+
href: P.homeUrl,
|
|
6364
6364
|
target: "_blank",
|
|
6365
6365
|
rel: "noopener noreferrer",
|
|
6366
6366
|
onClick: r,
|
|
@@ -6375,31 +6375,31 @@ function Ro({ allowConsent: e, isGDPR: t }) {
|
|
|
6375
6375
|
}), /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
6376
6376
|
className: "menu__content",
|
|
6377
6377
|
children: [
|
|
6378
|
-
|
|
6378
|
+
U.viewerMode && /* @__PURE__ */ (0, Y.jsx)(q.Suspense, {
|
|
6379
6379
|
fallback: null,
|
|
6380
6380
|
children: /* @__PURE__ */ (0, Y.jsx)(Io, {})
|
|
6381
6381
|
}),
|
|
6382
|
-
!
|
|
6382
|
+
!U.viewerMode && /* @__PURE__ */ (0, Y.jsx)("a", {
|
|
6383
6383
|
href: "/#",
|
|
6384
6384
|
onClick: i,
|
|
6385
6385
|
className: "menu__item",
|
|
6386
6386
|
children: x("Search")
|
|
6387
6387
|
}),
|
|
6388
|
-
!
|
|
6389
|
-
href:
|
|
6388
|
+
!P.hideEventHomeLink && !U.kiosk && !Fn && !!P.homeUrl && /* @__PURE__ */ (0, Y.jsxs)("a", {
|
|
6389
|
+
href: P.homeUrl,
|
|
6390
6390
|
target: "_blank",
|
|
6391
6391
|
className: "menu__item",
|
|
6392
6392
|
rel: "noopener noreferrer",
|
|
6393
6393
|
children: [x("Event Home").replace(/ /g, "\xA0"), /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-link-external" })]
|
|
6394
6394
|
}),
|
|
6395
|
-
!
|
|
6396
|
-
href:
|
|
6395
|
+
!P.hideRegisterToAttendLink && !U.kiosk && !Fn && !!P.registerUrl && /* @__PURE__ */ (0, Y.jsxs)("a", {
|
|
6396
|
+
href: P.registerUrl,
|
|
6397
6397
|
target: "_blank",
|
|
6398
6398
|
className: "menu__item",
|
|
6399
6399
|
rel: "noopener noreferrer",
|
|
6400
6400
|
children: [x("Register to Attend").replace(/ /g, "\xA0"), /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-link-external" })]
|
|
6401
6401
|
}),
|
|
6402
|
-
!
|
|
6402
|
+
!U.hideLanguage && !P.hideLanguage && !P.hideLanguageLink && /* @__PURE__ */ (0, Y.jsxs)("a", {
|
|
6403
6403
|
href: "?language",
|
|
6404
6404
|
onClick: o,
|
|
6405
6405
|
className: "menu__item -language",
|
|
@@ -6414,22 +6414,22 @@ function Ro({ allowConsent: e, isGDPR: t }) {
|
|
|
6414
6414
|
}), /* @__PURE__ */ (0, Y.jsx)("i", { className: "icon-chevron-right" })]
|
|
6415
6415
|
})]
|
|
6416
6416
|
}),
|
|
6417
|
-
!
|
|
6417
|
+
!P.hideDownloadPdfLink && !U.kiosk && /* @__PURE__ */ (0, Y.jsx)("a", {
|
|
6418
6418
|
className: "menu__item -pdf",
|
|
6419
6419
|
target: "_blank",
|
|
6420
6420
|
rel: "noopener noreferrer",
|
|
6421
|
-
href: `${u}/?exhibitors=true&bookmarks=${l.join(",")}&layers=${(
|
|
6421
|
+
href: `${u}/?exhibitors=true&bookmarks=${l.join(",")}&layers=${(z.layerStore.layers.length >= z.layerStore.visible.length ? z.layerStore.visible.map((e) => e.name).join(",") : "").replace(/&/g, "%26")}`,
|
|
6422
6422
|
children: x("Download PDF")
|
|
6423
6423
|
}),
|
|
6424
6424
|
e === void 0 && t && /* @__PURE__ */ (0, Y.jsx)("a", {
|
|
6425
6425
|
href: "/#",
|
|
6426
6426
|
className: "menu__item -cookie-consent",
|
|
6427
6427
|
onClick: (e) => {
|
|
6428
|
-
e.preventDefault(),
|
|
6428
|
+
e.preventDefault(), U.hideCookieConsent = !1;
|
|
6429
6429
|
},
|
|
6430
6430
|
children: x("Review Cookie Consent")
|
|
6431
6431
|
}),
|
|
6432
|
-
|
|
6432
|
+
U.viewerMode && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
6433
6433
|
className: "menu__item-leave",
|
|
6434
6434
|
children: /* @__PURE__ */ (0, Y.jsx)("a", {
|
|
6435
6435
|
href: "/#",
|
|
@@ -6443,10 +6443,10 @@ function Ro({ allowConsent: e, isGDPR: t }) {
|
|
|
6443
6443
|
});
|
|
6444
6444
|
});
|
|
6445
6445
|
function s() {
|
|
6446
|
-
|
|
6446
|
+
U.menu = !1;
|
|
6447
6447
|
}
|
|
6448
6448
|
}
|
|
6449
|
-
var zo = ({ isGDPR: e, allowConsent: t }) => I(() => /* @__PURE__ */ (0, Y.jsx)(Y.Fragment, { children:
|
|
6449
|
+
var zo = ({ isGDPR: e, allowConsent: t }) => I(() => /* @__PURE__ */ (0, Y.jsx)(Y.Fragment, { children: U.menu ? /* @__PURE__ */ (0, Y.jsx)(Ro, {
|
|
6450
6450
|
isGDPR: e,
|
|
6451
6451
|
allowConsent: t
|
|
6452
6452
|
}) : null }));
|
|
@@ -6456,7 +6456,7 @@ function Bo() {
|
|
|
6456
6456
|
let e = (0, q.useRef)(), t = R(() => ({
|
|
6457
6457
|
updateOverlayContent: null,
|
|
6458
6458
|
get text() {
|
|
6459
|
-
return
|
|
6459
|
+
return U.list.type === "search" || U.list.type === "exhibitors" ? U.list.text : "";
|
|
6460
6460
|
},
|
|
6461
6461
|
get showClose() {
|
|
6462
6462
|
return !!this.text;
|
|
@@ -6466,7 +6466,7 @@ function Bo() {
|
|
|
6466
6466
|
}
|
|
6467
6467
|
}));
|
|
6468
6468
|
(0, q.useEffect)(() => {
|
|
6469
|
-
|
|
6469
|
+
z.fuzzySearchEngineStore.loadEngine();
|
|
6470
6470
|
}, []);
|
|
6471
6471
|
let n = (0, q.useCallback)(() => {
|
|
6472
6472
|
t.updateOverlayContent && t.updateOverlayContent();
|
|
@@ -6479,7 +6479,7 @@ function Bo() {
|
|
|
6479
6479
|
updatedScrollableRef: e
|
|
6480
6480
|
})] }));
|
|
6481
6481
|
}
|
|
6482
|
-
var Vo = () => I(() => /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [!
|
|
6482
|
+
var Vo = () => I(() => /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [!U.details && !U.menu && U.list.type === "exhibitors" ? /* @__PURE__ */ (0, Y.jsx)(Bo, {}) : null, !U.details && !U.menu && U.list.type === "search" && (z.fp.alwaysShowSidebar || U.heatmap || U.searchFocused || U.list.text.length > 0 || U.searchClearMode) ? /* @__PURE__ */ (0, Y.jsx)(Bo, {}) : null] })), Ho = ({ name: e, value: t, label: n, className: r, onChange: i }) => {
|
|
6483
6483
|
let [a, o] = (0, q.useState)(t);
|
|
6484
6484
|
return (0, q.useEffect)(() => {
|
|
6485
6485
|
o(t);
|
|
@@ -6730,7 +6730,7 @@ var Vo = () => I(() => /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [!H.d
|
|
|
6730
6730
|
//#endregion
|
|
6731
6731
|
//#region src/components/Wayfinding.tsx
|
|
6732
6732
|
function qo() {
|
|
6733
|
-
let e = (0, q.useRef)(null), t = (0, q.useMemo)(() =>
|
|
6733
|
+
let e = (0, q.useRef)(null), t = (0, q.useMemo)(() => z.routeStore.pathLayers.map((e) => {
|
|
6734
6734
|
var t, n, r, i;
|
|
6735
6735
|
return {
|
|
6736
6736
|
id: e.id,
|
|
@@ -6738,51 +6738,51 @@ function qo() {
|
|
|
6738
6738
|
description: (n = e.layer) == null ? void 0 : n.description,
|
|
6739
6739
|
basePriority: (r = (i = e.layer) == null ? void 0 : i.basePriority) == null ? 0 : r
|
|
6740
6740
|
};
|
|
6741
|
-
}), [
|
|
6741
|
+
}), [z.routeStore.pathLayers]), [n, r] = (0, q.useState)();
|
|
6742
6742
|
(0, q.useEffect)(() => {
|
|
6743
6743
|
n || r(t[0]);
|
|
6744
|
-
}, [
|
|
6744
|
+
}, [z.routeStore.pathLayers, t]), (0, q.useEffect)(() => {
|
|
6745
6745
|
let e = t.find((e) => {
|
|
6746
6746
|
var t, n;
|
|
6747
|
-
return ((t = e.description) == null ? void 0 : t.toLowerCase()) === ((n =
|
|
6747
|
+
return ((t = e.description) == null ? void 0 : t.toLowerCase()) === ((n = z.routeStore.currentRouteLayer) == null || (n = n.description) == null ? void 0 : n.toLowerCase());
|
|
6748
6748
|
});
|
|
6749
6749
|
e && r(e);
|
|
6750
|
-
}, [
|
|
6750
|
+
}, [z.routeStore.currentRouteLayer, t]), (0, q.useEffect)(() => {
|
|
6751
6751
|
var e;
|
|
6752
|
-
let t =
|
|
6752
|
+
let t = U.selectedRoute;
|
|
6753
6753
|
if (!t) {
|
|
6754
|
-
|
|
6754
|
+
U.setIsMultiPointRoute(!1);
|
|
6755
6755
|
return;
|
|
6756
6756
|
}
|
|
6757
6757
|
let n = (((e = t.waypoints) == null ? void 0 : e.length) || 0) > 0;
|
|
6758
|
-
|
|
6759
|
-
}, [
|
|
6758
|
+
U.setIsMultiPointRoute(n);
|
|
6759
|
+
}, [U.selectedRoute]);
|
|
6760
6760
|
let i = () => {
|
|
6761
|
-
let { from: e, to: t } =
|
|
6761
|
+
let { from: e, to: t } = U.selectedRoute;
|
|
6762
6762
|
return !!(e && t);
|
|
6763
|
-
}, a = () =>
|
|
6763
|
+
}, a = () => U.overlaySize === "full", o = () => !!(i() && !a()), s = () => {
|
|
6764
6764
|
var e;
|
|
6765
|
-
let t =
|
|
6765
|
+
let t = U.selectedRoute;
|
|
6766
6766
|
return t ? (((e = t.waypoints) == null ? void 0 : e.length) || 0) > 0 ? "multi" : "simple" : "none";
|
|
6767
|
-
}, c = () =>
|
|
6767
|
+
}, c = () => U.routeTitle;
|
|
6768
6768
|
return (0, q.useEffect)(() => {
|
|
6769
|
-
s() === "multi" &&
|
|
6770
|
-
}, [
|
|
6769
|
+
s() === "multi" && U.selectedRoute;
|
|
6770
|
+
}, [U.selectedRoute]), I(() => {
|
|
6771
6771
|
var r, i, a, l, u, d, f, p;
|
|
6772
6772
|
let m = s();
|
|
6773
6773
|
if (c(), m === "multi") {
|
|
6774
6774
|
var h, g;
|
|
6775
6775
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
6776
|
-
className: (0, J.default)("main-wayfinding", { hidden:
|
|
6777
|
-
children: [
|
|
6776
|
+
className: (0, J.default)("main-wayfinding", { hidden: U.kiosk && ((h = U.selectedRoute) == null ? void 0 : h.from) && ((g = U.selectedRoute) == null ? void 0 : g.to) }),
|
|
6777
|
+
children: [U.routeDescription && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
6778
6778
|
className: "efp-wayfinding-description",
|
|
6779
|
-
children:
|
|
6779
|
+
children: U.routeDescription
|
|
6780
6780
|
}), /* @__PURE__ */ (0, Y.jsx)(un, { updatedScrollableRef: e })]
|
|
6781
6781
|
});
|
|
6782
6782
|
}
|
|
6783
|
-
let _ = [], v = () =>
|
|
6783
|
+
let _ = [], v = () => z.routeStore.defaultFrom ? ct.booths.concat([z.routeStore.defaultFrom]) : ct.booths, y = v().filter((e) => e instanceof bt), b = v().filter((e) => !(e instanceof bt)), S = () => {
|
|
6784
6784
|
let e = [];
|
|
6785
|
-
return
|
|
6785
|
+
return $e.exhibitors.forEach((t) => {
|
|
6786
6786
|
_.push(...t.booths.map((e) => e.id)), e.push(...t.booths.map((e) => ({
|
|
6787
6787
|
value: e.id.toString(),
|
|
6788
6788
|
label: t.name + " - " + e.fullName
|
|
@@ -6799,10 +6799,10 @@ function qo() {
|
|
|
6799
6799
|
});
|
|
6800
6800
|
}), e;
|
|
6801
6801
|
}, C = (e, t = !0) => {
|
|
6802
|
-
let n = v().filter((t) => t.id.toString() === e)[0], { from: r, to: i } =
|
|
6803
|
-
t ?
|
|
6802
|
+
let n = v().filter((t) => t.id.toString() === e)[0], { from: r, to: i } = U.selectedRoute;
|
|
6803
|
+
t ? z.routeStore.selectRoute(new ge(n || null, i)) : z.routeStore.selectRoute(new ge(r, n || null));
|
|
6804
6804
|
}, w = (e) => {
|
|
6805
|
-
let t = [], n =
|
|
6805
|
+
let t = [], n = De().getAttribute("units") || "ft", r = j(e, Oe(n)), i = /* @__PURE__ */ new Date();
|
|
6806
6806
|
i.setMinutes(i.getMinutes() + r / 60);
|
|
6807
6807
|
let a = i.toLocaleTimeString([], {
|
|
6808
6808
|
hour: "2-digit",
|
|
@@ -6819,41 +6819,41 @@ function qo() {
|
|
|
6819
6819
|
text: a
|
|
6820
6820
|
}), t;
|
|
6821
6821
|
}, T = () => {
|
|
6822
|
-
let { from: e, to: t } =
|
|
6823
|
-
|
|
6824
|
-
}, E = ((r =
|
|
6822
|
+
let { from: e, to: t } = U.selectedRoute;
|
|
6823
|
+
z.routeStore.selectRoute(new ge(t, e));
|
|
6824
|
+
}, E = ((r = U.selectedRoute) == null ? void 0 : r.from) && ((i = U.selectedRoute) == null ? void 0 : i.to) && !z.routeStore.routeLines.length;
|
|
6825
6825
|
return /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
6826
|
-
className: (0, J.default)("main-wayfinding", { hidden:
|
|
6826
|
+
className: (0, J.default)("main-wayfinding", { hidden: U.kiosk && ((a = U.selectedRoute) == null ? void 0 : a.from) && ((l = U.selectedRoute) == null ? void 0 : l.to) }),
|
|
6827
6827
|
children: /* @__PURE__ */ (0, Y.jsx)(Ko, {
|
|
6828
6828
|
showForm: !o(),
|
|
6829
|
-
showInfo: !!(!
|
|
6829
|
+
showInfo: !!(!P.hideWayInformation && W.EXPO !== "bloomberg" && (u = U.selectedRoute) != null && u.from && (d = U.selectedRoute) != null && d.to),
|
|
6830
6830
|
floors: t,
|
|
6831
6831
|
currentFloor: n,
|
|
6832
6832
|
onClickFloor: (e) => {
|
|
6833
|
-
let t =
|
|
6834
|
-
t != null && t.layer &&
|
|
6833
|
+
let t = z.routeStore.pathLayers.find((t) => t.id === e.id);
|
|
6834
|
+
t != null && t.layer && z.layerStore.updateVisibility(t.layer, !0);
|
|
6835
6835
|
},
|
|
6836
6836
|
routeFound: !E,
|
|
6837
6837
|
options: S(),
|
|
6838
|
-
fromValue: ((f =
|
|
6839
|
-
toValue: ((p =
|
|
6838
|
+
fromValue: ((f = U.selectedRoute) == null || (f = f.from) == null || (f = f.id) == null ? void 0 : f.toString()) || "",
|
|
6839
|
+
toValue: ((p = U.selectedRoute) == null || (p = p.to) == null || (p = p.id) == null ? void 0 : p.toString()) || "",
|
|
6840
6840
|
onChangeFrom: (e) => C(e, !0),
|
|
6841
6841
|
onChangeTo: (e) => C(e, !1),
|
|
6842
6842
|
onSwitch: T,
|
|
6843
|
-
infoItems: w(
|
|
6844
|
-
infoAccessible:
|
|
6845
|
-
showAccessible:
|
|
6846
|
-
onAccessibleCheck: (e) =>
|
|
6847
|
-
onClickInfo: () =>
|
|
6848
|
-
routeUrl:
|
|
6849
|
-
isKiosk:
|
|
6850
|
-
showDetailsIcon:
|
|
6843
|
+
infoItems: w(z.routeStore.routeDistance),
|
|
6844
|
+
infoAccessible: z.routeStore.onlyAccessible,
|
|
6845
|
+
showAccessible: z.routeStore.showAccessible,
|
|
6846
|
+
onAccessibleCheck: (e) => z.routeStore.setOnlyAccessible(e),
|
|
6847
|
+
onClickInfo: () => z.showOverlay(),
|
|
6848
|
+
routeUrl: U.routeQRCodeUrl,
|
|
6849
|
+
isKiosk: U.kiosk,
|
|
6850
|
+
showDetailsIcon: U.showRouteInstantly,
|
|
6851
6851
|
onDetailsIconClick: () => {
|
|
6852
6852
|
var e;
|
|
6853
|
-
let t = (e =
|
|
6853
|
+
let t = (e = z.routeStore.defaultFrom) == null ? void 0 : e.id, { from: n, to: r } = U.selectedRoute || {}, i = [r, n].find((e) => (e == null ? void 0 : e.id) !== t);
|
|
6854
6854
|
if (i) {
|
|
6855
6855
|
let e = S().find((e) => e.value === i.id.toString());
|
|
6856
|
-
|
|
6856
|
+
U.details = i.exhibitors.find((t) => e.label.includes(t.name)) || i;
|
|
6857
6857
|
}
|
|
6858
6858
|
}
|
|
6859
6859
|
})
|
|
@@ -6861,15 +6861,15 @@ function qo() {
|
|
|
6861
6861
|
});
|
|
6862
6862
|
}
|
|
6863
6863
|
function Jo() {
|
|
6864
|
-
return I(() => W.wayfinding && !
|
|
6864
|
+
return I(() => W.wayfinding && !U.menu && U.selectedRoute && U.list.type !== "route-planner" && /* @__PURE__ */ (0, Y.jsx)(qo, {}));
|
|
6865
6865
|
}
|
|
6866
6866
|
//#endregion
|
|
6867
6867
|
//#region src/components/Speakers.tsx
|
|
6868
6868
|
var Yo = L(({ showFilters: e = !0 }) => {
|
|
6869
|
-
let t = (0, q.useRef)(), n =
|
|
6869
|
+
let t = (0, q.useRef)(), n = z.speakerStore.speakers, { filters: { selectedCompanies: { value: r }, selectedJobTitles: { value: i } } } = z.speakerFilterStore.state, a = (0, q.useMemo)(() => {
|
|
6870
6870
|
let e = n;
|
|
6871
6871
|
r.length > 0 && (e = e.filter((e) => r.includes(e.company))), i.length > 0 && (e = e.filter((e) => i.includes(e.jobTitle)));
|
|
6872
|
-
let t =
|
|
6872
|
+
let t = z.searchStore.searchText;
|
|
6873
6873
|
return t && (e = new E(e, {
|
|
6874
6874
|
keys: [
|
|
6875
6875
|
"name",
|
|
@@ -6882,10 +6882,10 @@ var Yo = L(({ showFilters: e = !0 }) => {
|
|
|
6882
6882
|
}).search(t).map((e) => e.item)), e;
|
|
6883
6883
|
}, [
|
|
6884
6884
|
n,
|
|
6885
|
-
|
|
6885
|
+
z.searchStore.searchText,
|
|
6886
6886
|
r,
|
|
6887
6887
|
i,
|
|
6888
|
-
|
|
6888
|
+
z.speakerFilterStore.state
|
|
6889
6889
|
]);
|
|
6890
6890
|
return I(() => /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
6891
6891
|
className: "efp-speakers-content",
|
|
@@ -6893,7 +6893,7 @@ var Yo = L(({ showFilters: e = !0 }) => {
|
|
|
6893
6893
|
className: "efp-speakers-list",
|
|
6894
6894
|
ref: t,
|
|
6895
6895
|
children: a.map((e) => {
|
|
6896
|
-
let t =
|
|
6896
|
+
let t = z.speakerStore.getEventsBySpeaker(e.id), n = [];
|
|
6897
6897
|
return e.company && n.push({
|
|
6898
6898
|
type: "speaker",
|
|
6899
6899
|
text: e.jobTitle
|
|
@@ -6907,16 +6907,16 @@ var Yo = L(({ showFilters: e = !0 }) => {
|
|
|
6907
6907
|
itemsCount: t.length,
|
|
6908
6908
|
additionalInfo: n,
|
|
6909
6909
|
bookmarked: e.bookmarked,
|
|
6910
|
-
onClick: (t, n) =>
|
|
6910
|
+
onClick: (t, n) => z.selectSpeaker(e, !0)
|
|
6911
6911
|
}, e.id);
|
|
6912
6912
|
})
|
|
6913
6913
|
}) : /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
6914
6914
|
className: "list-empty",
|
|
6915
|
-
children:
|
|
6915
|
+
children: z.speakerFilterStore.activeFiltersCount > 0 || z.searchStore.searchText ? x("No speakers found. Try adjusting your filters.") : x("No speakers found")
|
|
6916
6916
|
})]
|
|
6917
6917
|
}));
|
|
6918
|
-
}), Xo = L((e) =>
|
|
6919
|
-
let e =
|
|
6918
|
+
}), Xo = L((e) => U.list.type !== "speakers" || U.details ? null : /* @__PURE__ */ (0, Y.jsx)(Yo, { ...e })), Zo = L(() => {
|
|
6919
|
+
let e = z.routePlannerStore, { from: t, stops: n, distance: r, travelTime: i } = e.subtitleParts;
|
|
6920
6920
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
6921
6921
|
className: "efp-planner__header",
|
|
6922
6922
|
children: [
|
|
@@ -6962,7 +6962,7 @@ var Yo = L(({ showFilters: e = !0 }) => {
|
|
|
6962
6962
|
})]
|
|
6963
6963
|
}), $o = L(({ startPoint: e, onSelectStartPoint: t }) => {
|
|
6964
6964
|
var n;
|
|
6965
|
-
let r =
|
|
6965
|
+
let r = z.routePlannerStore, i = r.startPointBoothOptions, a = r.startPointAutocompleteOptions;
|
|
6966
6966
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
6967
6967
|
className: "efp-planner__stop is-start",
|
|
6968
6968
|
children: [/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
@@ -6991,7 +6991,7 @@ var Yo = L(({ showFilters: e = !0 }) => {
|
|
|
6991
6991
|
u,
|
|
6992
6992
|
d ? ts(d) ? `Level ${d}` : d : null
|
|
6993
6993
|
].filter(Boolean).join(", "), m = () => {
|
|
6994
|
-
a === "exhibitor" ?
|
|
6994
|
+
a === "exhibitor" ? z.selectExhibitor(o) : s && z.selectBooth(s), z.showMap();
|
|
6995
6995
|
};
|
|
6996
6996
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
6997
6997
|
className: (0, J.default)("efp-planner__stop", { "is-last": t }),
|
|
@@ -7025,7 +7025,7 @@ var Yo = L(({ showFilters: e = !0 }) => {
|
|
|
7025
7025
|
//#region src/components/RoutePlanner/RoutePlanner.tsx
|
|
7026
7026
|
function rs() {
|
|
7027
7027
|
return I(() => {
|
|
7028
|
-
let e =
|
|
7028
|
+
let e = z.routePlannerStore, t = e.items;
|
|
7029
7029
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
7030
7030
|
className: "efp-planner",
|
|
7031
7031
|
children: [
|
|
@@ -7055,20 +7055,20 @@ function rs() {
|
|
|
7055
7055
|
}
|
|
7056
7056
|
function is() {
|
|
7057
7057
|
return I(() => {
|
|
7058
|
-
let e =
|
|
7059
|
-
return
|
|
7058
|
+
let e = U.details && !(U.details instanceof ge);
|
|
7059
|
+
return U.list.type === "route-planner" && !U.menu && !e ? /* @__PURE__ */ (0, Y.jsx)(rs, {}) : null;
|
|
7060
7060
|
});
|
|
7061
7061
|
}
|
|
7062
7062
|
//#endregion
|
|
7063
7063
|
//#region src/components/Speaker.tsx
|
|
7064
7064
|
var as = L(() => {
|
|
7065
7065
|
(0, q.useRef)(null);
|
|
7066
|
-
let e = (0, q.useRef)(null), [t, n] = (0, q.useState)(!1), r =
|
|
7066
|
+
let e = (0, q.useRef)(null), [t, n] = (0, q.useState)(!1), r = z.speakerStore.selectedSpeaker;
|
|
7067
7067
|
if (!r) return /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
7068
7068
|
className: "efp-speaker-empty",
|
|
7069
7069
|
children: x("Speaker not found")
|
|
7070
7070
|
});
|
|
7071
|
-
let i =
|
|
7071
|
+
let i = z.speakerStore.getEventsBySpeaker(r.id), a = (0, q.useMemo)(() => [...i].sort((e, t) => new Date(e.startDate).getTime() - new Date(t.startDate).getTime()), [i]);
|
|
7072
7072
|
(0, q.useEffect)(() => {
|
|
7073
7073
|
(() => {
|
|
7074
7074
|
if (e.current) {
|
|
@@ -7078,16 +7078,16 @@ var as = L(() => {
|
|
|
7078
7078
|
})();
|
|
7079
7079
|
}, []);
|
|
7080
7080
|
let o = (e) => {
|
|
7081
|
-
|
|
7081
|
+
z.selectEventItem(e, !0);
|
|
7082
7082
|
}, s = () => {
|
|
7083
|
-
r.bookmarked = !r.bookmarked,
|
|
7083
|
+
r.bookmarked = !r.bookmarked, V(B.ClickCustomButton, r.name);
|
|
7084
7084
|
}, c = () => {
|
|
7085
|
-
|
|
7085
|
+
V(B.ClickCustomButton, r.name), z.toggleModal("share");
|
|
7086
7086
|
}, l = () => {
|
|
7087
|
-
|
|
7087
|
+
V(B.ClickCustomButton, r.name);
|
|
7088
7088
|
}, u = (0, J.default)({
|
|
7089
7089
|
"efp-speaker": !0,
|
|
7090
|
-
[
|
|
7090
|
+
[U.responsiveClass]: !0
|
|
7091
7091
|
});
|
|
7092
7092
|
return I(() => /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
7093
7093
|
className: u,
|
|
@@ -7127,8 +7127,8 @@ var as = L(() => {
|
|
|
7127
7127
|
}),
|
|
7128
7128
|
/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
7129
7129
|
className: "efp-speaker__buttons",
|
|
7130
|
-
children: !
|
|
7131
|
-
showBookmark: !
|
|
7130
|
+
children: !U.isGuidedToursActive && /* @__PURE__ */ (0, Y.jsx)(Sn, {
|
|
7131
|
+
showBookmark: !U.disableBookmarked && !P.hideBookmarks && !U.kiosk,
|
|
7132
7132
|
showDirections: !1,
|
|
7133
7133
|
inBookmark: r.bookmarked || !1,
|
|
7134
7134
|
showShare: !0,
|
|
@@ -7140,7 +7140,7 @@ var as = L(() => {
|
|
|
7140
7140
|
})
|
|
7141
7141
|
}),
|
|
7142
7142
|
/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
7143
|
-
className: (0, J.default)("efp-speaker__details", { "details-hidden":
|
|
7143
|
+
className: (0, J.default)("efp-speaker__details", { "details-hidden": U.kiosk && t }),
|
|
7144
7144
|
ref: e,
|
|
7145
7145
|
children: a.length > 0 && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
7146
7146
|
className: "efp-speaker-events",
|
|
@@ -7159,7 +7159,7 @@ var as = L(() => {
|
|
|
7159
7159
|
}));
|
|
7160
7160
|
}), os = L(() => {
|
|
7161
7161
|
var e;
|
|
7162
|
-
let t =
|
|
7162
|
+
let t = z.uiState.details;
|
|
7163
7163
|
return !t || (t == null || (e = t.entity) == null ? void 0 : e.type) !== "speaker" ? null : /* @__PURE__ */ (0, Y.jsx)(as, {});
|
|
7164
7164
|
}), ss = {
|
|
7165
7165
|
full: "full",
|
|
@@ -7168,43 +7168,43 @@ var as = L(() => {
|
|
|
7168
7168
|
}, cs = (e) => ss[e], ls = L(({ isGDPR: e, allowConsent: t }) => {
|
|
7169
7169
|
var n, r;
|
|
7170
7170
|
let i = (0, q.useCallback)((e) => {
|
|
7171
|
-
|
|
7171
|
+
U.desiredOverlaySize = e;
|
|
7172
7172
|
}, []), a = (0, q.useCallback)((e) => {
|
|
7173
|
-
|
|
7174
|
-
}, []), o = cs(
|
|
7173
|
+
U.setOverlayScrolled(e);
|
|
7174
|
+
}, []), o = cs(U.overlaySize), s = ((n = U.selectedRoute) == null ? void 0 : n.from) && ((r = U.selectedRoute) == null ? void 0 : r.to), c = U.list.type === "search" && !U.details ? 9 : s ? 7 : 3, l = U.fullSizeOffset, u = (0, q.useMemo)(() => {
|
|
7175
7175
|
let e = (0, J.default)({
|
|
7176
|
-
"-backdrop":
|
|
7177
|
-
"-no-transition":
|
|
7178
|
-
"-gallery-active":
|
|
7179
|
-
collapsed:
|
|
7180
|
-
kiosk:
|
|
7181
|
-
start:
|
|
7182
|
-
bottom:
|
|
7183
|
-
[
|
|
7184
|
-
}), t =
|
|
7176
|
+
"-backdrop": U.canvasStarted && U.shouldUseBackdrop && !U.dimmed && !U.galleryActive,
|
|
7177
|
+
"-no-transition": U.dimmed,
|
|
7178
|
+
"-gallery-active": U.galleryActive,
|
|
7179
|
+
collapsed: U.overlayCollapsed,
|
|
7180
|
+
kiosk: U.kiosk,
|
|
7181
|
+
start: U.overlayPosition === "left",
|
|
7182
|
+
bottom: U.overlayPosition !== "left",
|
|
7183
|
+
[U.overlaySize]: !0
|
|
7184
|
+
}), t = U.overlayInterfaceClasses.join(" ");
|
|
7185
7185
|
return t ? `${e} ${t}` : e;
|
|
7186
7186
|
}, [
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7187
|
+
U.canvasStarted,
|
|
7188
|
+
U.shouldUseBackdrop,
|
|
7189
|
+
U.dimmed,
|
|
7190
|
+
U.galleryActive,
|
|
7191
|
+
U.overlayCollapsed,
|
|
7192
|
+
U.kiosk,
|
|
7193
|
+
U.inIdle,
|
|
7194
|
+
U.setKioskModeEnabled,
|
|
7195
|
+
U.overlayPosition,
|
|
7196
|
+
U.overlaySize,
|
|
7197
|
+
U.overlayInterfaceClasses
|
|
7198
7198
|
]);
|
|
7199
7199
|
return /* @__PURE__ */ (0, Y.jsxs)(an, {
|
|
7200
|
-
open:
|
|
7200
|
+
open: U.isOverlayOpen,
|
|
7201
7201
|
size: o,
|
|
7202
|
-
particles:
|
|
7202
|
+
particles: U.isFeaturedExhibitorActive,
|
|
7203
7203
|
className: u,
|
|
7204
7204
|
mediumSizeMultiplier: c,
|
|
7205
7205
|
fullSizeOffset: l,
|
|
7206
|
-
disableDrag:
|
|
7207
|
-
forceFull:
|
|
7206
|
+
disableDrag: U.viewerMode && U.menu,
|
|
7207
|
+
forceFull: U.viewerMode && U.menu,
|
|
7208
7208
|
onChangeSize: i,
|
|
7209
7209
|
onScrollStateChange: a,
|
|
7210
7210
|
children: [
|
|
@@ -7338,7 +7338,7 @@ var as = L(() => {
|
|
|
7338
7338
|
leftToNextLoad: 0,
|
|
7339
7339
|
timeoutId: 0,
|
|
7340
7340
|
get sectionStyle() {
|
|
7341
|
-
let { wsStarted: e, wsPosition: t } =
|
|
7341
|
+
let { wsStarted: e, wsPosition: t } = U, n = t === "top", r = {
|
|
7342
7342
|
right: 0,
|
|
7343
7343
|
width: "100%",
|
|
7344
7344
|
opacity: +!!e
|
|
@@ -7351,7 +7351,7 @@ var as = L(() => {
|
|
|
7351
7351
|
do {
|
|
7352
7352
|
let t = e.all[e.index % e.all.length], n = e.imgByExhibitorId.get(t.id);
|
|
7353
7353
|
if (!n) break;
|
|
7354
|
-
let o = n.width *
|
|
7354
|
+
let o = n.width * U.wsImageHeightPx / n.height + 20;
|
|
7355
7355
|
if (i + o > r && a.length) break;
|
|
7356
7356
|
i += o, a.push({
|
|
7357
7357
|
key: e.keySeq++,
|
|
@@ -7366,7 +7366,7 @@ var as = L(() => {
|
|
|
7366
7366
|
e.loading = !0;
|
|
7367
7367
|
let t = e.all.slice(e.index, e.index + e.batchSize);
|
|
7368
7368
|
t.length < e.batchSize && (t = t.concat(e.all.slice(0, e.batchSize - t.length)));
|
|
7369
|
-
let n = await
|
|
7369
|
+
let n = await Qe(new Map(t.map((e) => [e.id, { fallback: e.logo }])));
|
|
7370
7370
|
return e.leftToNextLoad = n.size, e.loading = !1, n;
|
|
7371
7371
|
}, [e]), r = (0, q.useCallback)(() => {
|
|
7372
7372
|
let r = async () => {
|
|
@@ -7381,12 +7381,12 @@ var as = L(() => {
|
|
|
7381
7381
|
return xt(() => {
|
|
7382
7382
|
let i, a = !0;
|
|
7383
7383
|
return (async () => {
|
|
7384
|
-
e.all = g(
|
|
7384
|
+
e.all = g($e.advertised), e.imgByExhibitorId = await n(), a && (t(), r(), U.wsStarted = !0, i = w(() => U.screenSize, t));
|
|
7385
7385
|
})(), () => {
|
|
7386
7386
|
a = !1, i == null || i(), clearInterval(e.timeoutId);
|
|
7387
7387
|
};
|
|
7388
7388
|
}), I(() => /* @__PURE__ */ (0, Y.jsx)("section", {
|
|
7389
|
-
className: (0, J.default)("ws", { "efp-semi-transparent":
|
|
7389
|
+
className: (0, J.default)("ws", { "efp-semi-transparent": U.setKioskModeEnabled }),
|
|
7390
7390
|
ref: (t) => e.el = t,
|
|
7391
7391
|
onMouseOver: () => clearInterval(e.timeoutId),
|
|
7392
7392
|
onMouseOut: r,
|
|
@@ -7400,9 +7400,9 @@ var as = L(() => {
|
|
|
7400
7400
|
ref: e.nodeRef,
|
|
7401
7401
|
href: `?${e.e.slug}`,
|
|
7402
7402
|
className: "ws__exhibitor",
|
|
7403
|
-
style: { height: `${
|
|
7403
|
+
style: { height: `${U.wsImageHeightPx}px` },
|
|
7404
7404
|
onClick: (t) => {
|
|
7405
|
-
t.preventDefault(),
|
|
7405
|
+
t.preventDefault(), z.clickExhibitor(e.e);
|
|
7406
7406
|
},
|
|
7407
7407
|
children: /* @__PURE__ */ (0, Y.jsx)("img", {
|
|
7408
7408
|
src: e.e.logo,
|
|
@@ -7413,98 +7413,98 @@ var as = L(() => {
|
|
|
7413
7413
|
}, e.key))
|
|
7414
7414
|
})
|
|
7415
7415
|
}));
|
|
7416
|
-
}), ps = () => I(() =>
|
|
7416
|
+
}), ps = () => I(() => U.wsShown ? /* @__PURE__ */ (0, Y.jsx)(fs, {}) : null), ms = L(() => {
|
|
7417
7417
|
var e;
|
|
7418
|
-
return (e =
|
|
7418
|
+
return (e = U.globalErrorMessages) != null && e.length ? /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
7419
7419
|
className: "global-error-message",
|
|
7420
|
-
children:
|
|
7420
|
+
children: U.globalErrorMessages.map((e, t) => /* @__PURE__ */ (0, Y.jsx)(mn, {
|
|
7421
7421
|
variant: "error",
|
|
7422
7422
|
closable: !0,
|
|
7423
7423
|
title: e.title,
|
|
7424
|
-
onClose: () =>
|
|
7424
|
+
onClose: () => U.popGlobalErrorMessage(),
|
|
7425
7425
|
children: e.body
|
|
7426
7426
|
}, t))
|
|
7427
7427
|
}) : null;
|
|
7428
7428
|
}), hs = q.lazy(() => import(
|
|
7429
7429
|
/* webpackChunkName: "demo" */
|
|
7430
|
-
"./Demo-
|
|
7430
|
+
"./Demo-BdNX6_TP.js"
|
|
7431
7431
|
).then((e) => e.t)), gs = q.lazy(() => import(
|
|
7432
7432
|
/* webpackChunkName: "free" */
|
|
7433
|
-
"./Free-
|
|
7433
|
+
"./Free-BwoR5utw.js"
|
|
7434
7434
|
)), _s = q.lazy(() => import(
|
|
7435
7435
|
/* webpackChunkName: "debug" */
|
|
7436
|
-
"./Debug-
|
|
7436
|
+
"./Debug-CbQznba_.js"
|
|
7437
7437
|
)), vs = q.lazy(() => import(
|
|
7438
7438
|
/* webpackChunkName: "mapbox" */
|
|
7439
|
-
"./Mapbox-
|
|
7439
|
+
"./Mapbox-B5PiDpk1.js"
|
|
7440
7440
|
)), ys = q.lazy(() => import(
|
|
7441
7441
|
/* webpackChunkName: "threejs" */
|
|
7442
|
-
"./ThreeComponent-
|
|
7442
|
+
"./ThreeComponent-yHjpVIkt.js"
|
|
7443
7443
|
)), bs = q.lazy(() => Promise.resolve().then(() => Os)), xs = q.lazy(() => Promise.resolve().then(() => Ps)), Ss = q.lazy(() => import(
|
|
7444
7444
|
/* webpackChunkName: "cc-script" */
|
|
7445
|
-
"./GpsLoader-
|
|
7445
|
+
"./GpsLoader-Br89Qdn5.js"
|
|
7446
7446
|
)), Cs = q.lazy(() => import(
|
|
7447
7447
|
/* webpackChunkName: "set-kiosk-mode" */
|
|
7448
|
-
"./SetKioskMode-
|
|
7448
|
+
"./SetKioskMode-CeBuv4Qc.js"
|
|
7449
7449
|
)), ws = q.lazy(() => import(
|
|
7450
7450
|
/* webpackChunkName: "show-kiosk" */
|
|
7451
|
-
"./ShowKiosk-
|
|
7451
|
+
"./ShowKiosk-CfxC8v7B.js"
|
|
7452
7452
|
)), Ts = L(function({ offHistory: e, allowConsent: t }) {
|
|
7453
7453
|
var n, r, i, o, s, c, l;
|
|
7454
7454
|
let [u, d] = (0, q.useState)(!1), f = null;
|
|
7455
|
-
|
|
7455
|
+
U.bannerType === "demo" ? f = /* @__PURE__ */ (0, Y.jsx)(hs, {}) : U.bannerType === "free" && (f = /* @__PURE__ */ (0, Y.jsx)(gs, {}));
|
|
7456
7456
|
let p = () => {
|
|
7457
|
-
|
|
7457
|
+
ft(!0), Fe(), z.uiState.hideCookieConsent = !0;
|
|
7458
7458
|
}, m = () => {
|
|
7459
|
-
|
|
7459
|
+
ft(!1), Fe(), z.uiState.hideCookieConsent = !0;
|
|
7460
7460
|
};
|
|
7461
7461
|
(0, q.useEffect)(() => {
|
|
7462
7462
|
async function e() {
|
|
7463
|
-
let e = await
|
|
7463
|
+
let e = await nt();
|
|
7464
7464
|
d(!!(e || e === null));
|
|
7465
7465
|
}
|
|
7466
|
-
|
|
7467
|
-
}, []), K(() =>
|
|
7468
|
-
|
|
7469
|
-
}), K(() =>
|
|
7470
|
-
let h = !
|
|
7466
|
+
He(t) ? d(!0) : e();
|
|
7467
|
+
}, []), K(() => U.selectedExhibitor, (e) => {
|
|
7468
|
+
z.heatmapStore.forceTrack ? (V(z.heatmapStore.forceTrack.action, z.heatmapStore.forceTrack.label), z.heatmapStore.forceTrack = null) : e && (_t("exview", e.id), V(B.ViewExhibitor, e.name));
|
|
7469
|
+
}), K(() => U.selectedBooth, (e) => (e == null ? void 0 : e.name) && V(B.ViewBooth, e.name)), K(() => U.selectedCategory, (e) => (e == null ? void 0 : e.name) && V(B.ViewCategory, e == null ? void 0 : e.name)), K(() => U.selectedEventItem, (e) => (e == null ? void 0 : e.name) && V(B.ViewExhibitor, e.name));
|
|
7470
|
+
let h = !U.hideCookieConsent && !U.kiosk && u && t === void 0;
|
|
7471
7471
|
return /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
7472
7472
|
id: "efp-layout",
|
|
7473
7473
|
className: (0, J.default)("layout", {
|
|
7474
|
-
"efp-kiosk":
|
|
7475
|
-
"efp-kiosk-route-active":
|
|
7476
|
-
"efp-layers-mode":
|
|
7477
|
-
"efp-ws-mode":
|
|
7478
|
-
"efp-no-overlay":
|
|
7479
|
-
"efp-top-banner":
|
|
7480
|
-
"efp-viewer-mode":
|
|
7474
|
+
"efp-kiosk": U.kiosk,
|
|
7475
|
+
"efp-kiosk-route-active": U.kiosk && ((n = U.selectedRoute) == null ? void 0 : n.from) && ((r = U.selectedRoute) == null ? void 0 : r.to),
|
|
7476
|
+
"efp-layers-mode": z.layerStore.mode,
|
|
7477
|
+
"efp-ws-mode": U.wsShown,
|
|
7478
|
+
"efp-no-overlay": U.noOverlay,
|
|
7479
|
+
"efp-top-banner": U.bannerType === "free" && !U.freeBannerDismissed,
|
|
7480
|
+
"efp-viewer-mode": U.viewerMode
|
|
7481
7481
|
}),
|
|
7482
|
-
dir:
|
|
7483
|
-
style: { "--ui-scale":
|
|
7482
|
+
dir: U.rtl ? "rtl" : "ltr",
|
|
7483
|
+
style: { "--ui-scale": U.uiScale.toString() },
|
|
7484
7484
|
children: /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
7485
|
-
className: `layout__fixed expo-${W.EXPO} overlay-${
|
|
7485
|
+
className: `layout__fixed expo-${W.EXPO} overlay-${z.uiState.overlayPosition}`,
|
|
7486
7486
|
children: [
|
|
7487
|
-
(G.mode ===
|
|
7488
|
-
!
|
|
7487
|
+
(G.mode === Re.Radio || G.mode === Re.CheckBox) && !U.floorsControlHidden && z.initialized && /* @__PURE__ */ (0, Y.jsx)(Jr, {}),
|
|
7488
|
+
!U.noOverlay && z.initialized && /* @__PURE__ */ (0, Y.jsx)(ls, {
|
|
7489
7489
|
isGDPR: u,
|
|
7490
7490
|
allowConsent: t
|
|
7491
7491
|
}),
|
|
7492
|
-
|
|
7493
|
-
!
|
|
7494
|
-
!
|
|
7495
|
-
!
|
|
7496
|
-
!
|
|
7497
|
-
!
|
|
7498
|
-
|
|
7492
|
+
z.initialized && /* @__PURE__ */ (0, Y.jsx)(li, {}),
|
|
7493
|
+
!U.noOverlay && z.initialized && !(U.viewerMode && U.menu) && /* @__PURE__ */ (0, Y.jsx)(di, {}),
|
|
7494
|
+
!U.noOverlay && z.initialized && /* @__PURE__ */ (0, Y.jsx)(lr, {}),
|
|
7495
|
+
!U.noOverlay && z.initialized && /* @__PURE__ */ (0, Y.jsx)(fi, {}),
|
|
7496
|
+
!U.mapControlsHidden && z.initialized && /* @__PURE__ */ (0, Y.jsx)(Kn, {}),
|
|
7497
|
+
!U.hideHeaderLogo && z.initialized && /* @__PURE__ */ (0, Y.jsx)(ps, {}),
|
|
7498
|
+
z.routeStore.gpsEnabled && /* @__PURE__ */ (0, Y.jsx)(Ss, { requestCompassAllowed: !h }),
|
|
7499
7499
|
a && /* @__PURE__ */ (0, Y.jsx)(Po, {}),
|
|
7500
|
-
|
|
7500
|
+
z.mapboxStore.mapBoxActivated && z.mapboxStore.mapBoxEnabled && /* @__PURE__ */ (0, Y.jsx)(q.Suspense, {
|
|
7501
7501
|
fallback: /* @__PURE__ */ (0, Y.jsx)(Fo, {}),
|
|
7502
|
-
children: (
|
|
7503
|
-
isMapbox:
|
|
7502
|
+
children: (lt == null || (i = lt.properties) == null ? void 0 : i.mode) === "threejs" ? /* @__PURE__ */ (0, Y.jsx)(ys, {
|
|
7503
|
+
isMapbox: z.mapboxStore.isMapbox,
|
|
7504
7504
|
expo: W.EXPO
|
|
7505
7505
|
}) : /* @__PURE__ */ (0, Y.jsx)(vs, {})
|
|
7506
7506
|
}),
|
|
7507
|
-
f && !
|
|
7507
|
+
f && !U.hideFreeOrDemo && !U.heatmap ? /* @__PURE__ */ (0, Y.jsx)(q.Suspense, {
|
|
7508
7508
|
fallback: null,
|
|
7509
7509
|
children: f
|
|
7510
7510
|
}) : null,
|
|
@@ -7521,36 +7521,36 @@ var as = L(() => {
|
|
|
7521
7521
|
children: /* @__PURE__ */ (0, Y.jsx)(_s, {})
|
|
7522
7522
|
}) : null,
|
|
7523
7523
|
Fn && /* @__PURE__ */ (0, Y.jsx)(ri, {}),
|
|
7524
|
-
|
|
7524
|
+
U.modalActive.share ? /* @__PURE__ */ (0, Y.jsx)(q.Suspense, {
|
|
7525
7525
|
fallback: null,
|
|
7526
7526
|
children: /* @__PURE__ */ (0, Y.jsx)(bs, {
|
|
7527
7527
|
type: "share",
|
|
7528
|
-
open:
|
|
7529
|
-
onClickClose: () =>
|
|
7528
|
+
open: U.modalActive.share,
|
|
7529
|
+
onClickClose: () => z.toggleModal("share"),
|
|
7530
7530
|
children: /* @__PURE__ */ (0, Y.jsx)(us, {
|
|
7531
|
-
title: ((o =
|
|
7532
|
-
url: e ? `${window.location.origin}?${encodeURI(((c =
|
|
7531
|
+
title: ((o = U.selectedExhibitor) == null ? void 0 : o.name) || ((s = U.selectedEventItem) == null ? void 0 : s.name) || "",
|
|
7532
|
+
url: e ? `${window.location.origin}?${encodeURI(((c = U.selectedExhibitor) == null ? void 0 : c.slug) || ((l = U.selectedEventItem) == null ? void 0 : l.slug))}` : window.location.href
|
|
7533
7533
|
})
|
|
7534
7534
|
})
|
|
7535
7535
|
}) : null,
|
|
7536
|
-
|
|
7537
|
-
style: { left: `calc(50% + ${
|
|
7538
|
-
className:
|
|
7539
|
-
max:
|
|
7540
|
-
min:
|
|
7536
|
+
U.heatmap || U.heatmapYah ? /* @__PURE__ */ (0, Y.jsx)(Yr, {
|
|
7537
|
+
style: { left: `calc(50% + ${z.uiState.mapVisibleStart / 2}px)` },
|
|
7538
|
+
className: U.responsiveClass,
|
|
7539
|
+
max: z.heatmapStore.minAndMaxClicks.max,
|
|
7540
|
+
min: z.heatmapStore.minAndMaxClicks.min,
|
|
7541
7541
|
colors: W.heatmapColors
|
|
7542
7542
|
}) : null,
|
|
7543
7543
|
/* @__PURE__ */ (0, Y.jsx)(on, { active: !G.layersLoaded }),
|
|
7544
7544
|
/* @__PURE__ */ (0, Y.jsx)("div", { id: "fps" }),
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7545
|
+
z.initialized && /* @__PURE__ */ (0, Y.jsx)(Wn, {}),
|
|
7546
|
+
z.initialized && /* @__PURE__ */ (0, Y.jsx)(wt, { store: z.sessionsFilterStore }),
|
|
7547
|
+
z.initialized && /* @__PURE__ */ (0, Y.jsx)(pi, { store: z.speakerFilterStore }),
|
|
7548
7548
|
/* @__PURE__ */ (0, Y.jsx)(ms, {}),
|
|
7549
|
-
|
|
7549
|
+
z.initialized && U.setKioskModeEnabled && /* @__PURE__ */ (0, Y.jsx)(q.Suspense, {
|
|
7550
7550
|
fallback: null,
|
|
7551
7551
|
children: /* @__PURE__ */ (0, Y.jsx)(Cs, {})
|
|
7552
7552
|
}),
|
|
7553
|
-
|
|
7553
|
+
z.initialized && !U.setKioskModeEnabled && /* @__PURE__ */ (0, Y.jsx)(q.Suspense, {
|
|
7554
7554
|
fallback: null,
|
|
7555
7555
|
children: /* @__PURE__ */ (0, Y.jsx)(ws, {})
|
|
7556
7556
|
})
|
|
@@ -7583,7 +7583,7 @@ var as = L(() => {
|
|
|
7583
7583
|
document.removeEventListener("keydown", t), document.body.style.overflow = "";
|
|
7584
7584
|
};
|
|
7585
7585
|
}, [e, l]), !m || !u) return null;
|
|
7586
|
-
let g = (e) => e == null ? void 0 : e.map(({ label: e, onClick: t, variant: n = "primary", disabled: r, withBadge: i }, a) => /* @__PURE__ */ (0, Y.jsx)(
|
|
7586
|
+
let g = (e) => e == null ? void 0 : e.map(({ label: e, onClick: t, variant: n = "primary", disabled: r, withBadge: i }, a) => /* @__PURE__ */ (0, Y.jsx)(k, {
|
|
7587
7587
|
onClick: t,
|
|
7588
7588
|
variant: n,
|
|
7589
7589
|
size: "md",
|
|
@@ -7741,11 +7741,11 @@ function Ms() {
|
|
|
7741
7741
|
function e() {
|
|
7742
7742
|
return (0, J.default)({
|
|
7743
7743
|
"overlay-grip": !0,
|
|
7744
|
-
arr:
|
|
7744
|
+
arr: U.overlaySize === "full"
|
|
7745
7745
|
});
|
|
7746
7746
|
}
|
|
7747
7747
|
function t(e) {
|
|
7748
|
-
e.preventDefault(),
|
|
7748
|
+
e.preventDefault(), U.toggleMapOverlay();
|
|
7749
7749
|
}
|
|
7750
7750
|
return /* @__PURE__ */ (0, Y.jsx)("a", {
|
|
7751
7751
|
href: "/#",
|
|
@@ -7781,11 +7781,11 @@ var Ns = ({ onClickAccept: e, onClickReject: t, rejectText: n, children: r, acce
|
|
|
7781
7781
|
}),
|
|
7782
7782
|
/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
7783
7783
|
className: "permission-notice__bottom",
|
|
7784
|
-
children: [/* @__PURE__ */ (0, Y.jsx)(
|
|
7784
|
+
children: [/* @__PURE__ */ (0, Y.jsx)(k, {
|
|
7785
7785
|
size: "md",
|
|
7786
7786
|
onClick: e,
|
|
7787
7787
|
children: i
|
|
7788
|
-
}), /* @__PURE__ */ (0, Y.jsx)(
|
|
7788
|
+
}), /* @__PURE__ */ (0, Y.jsx)(k, {
|
|
7789
7789
|
size: "md",
|
|
7790
7790
|
variant: "gray",
|
|
7791
7791
|
onClick: t,
|