@expofp/floorplan 3.46.0 → 3.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Button-CJtSs2s5.js → Button-OKcMiyWO.js} +5 -5
- package/dist/browser/{CookieConsent-C4fi9Tyh.js → CookieConsent-6ulFPlqA.js} +7 -7
- package/dist/browser/{Debug-Cd610X28.js → Debug-BxskUF4D.js} +7 -7
- package/dist/browser/{DebugTools-D9g4_7Cc.js → DebugTools-C1is5dXX.js} +6 -6
- package/dist/browser/{Demo-CryvOcgl.js → Demo-Dx8IKR7Q.js} +9 -9
- package/dist/browser/{Free-CJXdChTu.js → Free-BaIZnChc.js} +10 -10
- package/dist/browser/{GalleryContainer-DJEByROk.js → GalleryContainer-BXomiMwG.js} +11 -11
- package/dist/browser/{GpsLoader-DSsG-xT8.js → GpsLoader-Ccwug0hj.js} +14 -14
- package/dist/browser/{KioskStore-DOB-av5O.js → KioskStore-D_Ejv_K0.js} +13 -13
- package/dist/browser/{LayerStore-CRZuLMs5.js → LayerStore-DKg7vekG.js} +268 -249
- package/dist/browser/{MaplibreAdapter-C_5hoa-Y.js → MaplibreAdapter-Dh_ASXEG.js} +148 -148
- package/dist/browser/{ModalContainer-Ch8bqPHR.js → ModalContainer-DXN2lQG-.js} +10 -10
- package/dist/browser/{PermissionNotice-CiR8SfU0.js → PermissionNotice-CljwxHGD.js} +6 -6
- package/dist/browser/{RouteStore-D5yYhhPl.js → RouteStore-4r6xqu2L.js} +334 -319
- package/dist/browser/{SetKioskMode-PiwwpWpN.js → SetKioskMode-3YCa73LZ.js} +12 -12
- package/dist/browser/{ShowKiosk-uWNhreCd.js → ShowKiosk-CmozIEWm.js} +10 -10
- package/dist/browser/{UIState-Bi4-Ri9M.js → UIState-DOVwNW-h.js} +97 -97
- package/dist/browser/{ViewerMenuPanel-B3vtTFpG.js → ViewerMenuPanel-ukfCjPlv.js} +11 -11
- package/dist/browser/{add-debug-secret-listener-Db76vB7o.js → add-debug-secret-listener-DiW9122w.js} +1 -1
- package/dist/browser/{adopt-global-settings-67S2v_mo.js → adopt-global-settings-C8NxCufU.js} +9 -9
- package/dist/browser/{boolean-editor-B1nYYAEd.js → boolean-editor-DAUiSxaZ.js} +9 -9
- package/dist/browser/{bootIntercom-BQDnVlyT.js → bootIntercom-Cxu_tGyN.js} +2 -2
- package/dist/browser/bundle.json +87 -87
- package/dist/browser/{camera-events-dIlK_9kU.js → camera-events-BzkvmmVT.js} +1 -1
- package/dist/browser/{classnames-CnT6VKND.js → classnames-ht7j544T.js} +2 -2
- package/dist/browser/{client-iKoOfnTw.js → client-cb0OfXbM.js} +5 -5
- package/dist/browser/{components-CEmFE-HF.js → components-D1hWFJkH.js} +164 -164
- package/dist/browser/{create-live-plan-VYe8zgCt.js → create-live-plan-BYQmwyu_.js} +110 -110
- package/dist/browser/{debug-context-SM4t83oS.js → debug-context-D-Az5hsc.js} +6 -6
- package/dist/browser/{debug-overlay-BLs-zKon.js → debug-overlay-Cx_TzAOa.js} +10 -10
- package/dist/browser/{debug-ui-COzdQWZH.js → debug-ui-BWGZ29bU.js} +6 -6
- package/dist/browser/{dist-Dxs4B_bo.js → dist-CxdNXcdm.js} +6 -6
- package/dist/browser/{dist-B-cTdqLW.js → dist-DI0TDNHP.js} +5 -5
- package/dist/browser/{dist-C7DmTDRb.js → dist-TE6VoTiX.js} +3 -3
- package/dist/browser/{efp-debug-init-B_S1vuGu.js → efp-debug-init-pyajqRUx.js} +3 -3
- package/dist/browser/{enum-editor-CNXjKr2S.js → enum-editor-CtGMxTY9.js} +4 -4
- package/dist/browser/{es5-DXybUgTP.js → es5-CaaQfpSO.js} +2 -2
- package/dist/browser/{event-head-ClLbm9Br.js → event-head-BM-eM_Bb.js} +1 -1
- package/dist/browser/{event-not-found-DH79zTW9.js → event-not-found-B65hzXQP.js} +3 -3
- package/dist/browser/{event-scoped-cache-DpaRX7uc.js → event-scoped-cache-Dy_k6CT0.js} +2 -2
- package/dist/browser/{expofpUrl-n296mHS4.js → expofpUrl-CtHaWZhI.js} +1 -1
- package/dist/browser/{exports-lzdhlipZ.js → exports-B117IH-s.js} +1 -1
- package/dist/browser/{favicon-DIM65QuL.js → favicon-BZ8MgZoI.js} +1 -1
- package/dist/browser/{fetch-retry.umd-vSI4xMC_.js → fetch-retry.umd-CZoakvnh.js} +2 -2
- package/dist/browser/{flex-BAVIARsK.js → flex-DqZnQXWR.js} +5 -5
- package/dist/browser/{floorplan.loader-eMUdl6jt.js → floorplan.loader-Dj1p_2Uj.js} +12 -12
- package/dist/browser/{floorplan.ready-1Txw5bTb.js → floorplan.ready-DV6RYY5y.js} +265 -239
- package/dist/browser/{framing-rect-BTpvle_p.js → framing-rect-BPQPxCHJ.js} +426 -351
- package/dist/browser/{freeBanner-F3TTYS8Q.js → freeBanner-CV-7PVgM.js} +2 -2
- package/dist/browser/{fuse-CaTg1KbU.js → fuse-o5_aSzm4.js} +2 -2
- package/dist/browser/{i18n-C_4TK-u4.js → i18n-DT4SjeA3.js} +6 -6
- package/dist/browser/index.js +17 -17
- package/dist/browser/{index.module-DRBCPeTj.js → index.module-AwGISzVZ.js} +4 -4
- package/dist/browser/{init-ui-BYGB5Nye.js → init-ui-_JZLWvuF.js} +19 -19
- package/dist/browser/{integrateKiosk-BYXxa3GA.js → integrateKiosk-LP784XEO.js} +6 -6
- package/dist/browser/{is-debug-D3IYeseH.js → is-debug-sgFB2_R1.js} +4 -4
- package/dist/browser/{is-own-domain-Sd0Gyaz6.js → is-own-domain-Cgslc30X.js} +1 -1
- package/dist/browser/{is-webview-DkUEFd5j.js → is-webview-Cbjly4fl.js} +1 -1
- package/dist/browser/{jsx-runtime-Z0-uGdH1.js → jsx-runtime-DJq9zytl.js} +2 -2
- package/dist/browser/{kiosk-mode-D9JdlNtc.js → kiosk-mode-D0Muk9LN.js} +3 -3
- package/dist/browser/{kiosk-record-U7MDU1j1.js → kiosk-record-QLKP2NTE.js} +1 -1
- package/dist/browser/{kioskApi-CZmWdnyx.js → kioskApi-Cm0aHEDq.js} +7 -7
- package/dist/browser/{ktx2-DBt1EdxU.js → ktx2-D9vr5u5B.js} +2 -2
- package/dist/browser/{lib-Bpc7qOXg.js → lib-Cu-YSKSO.js} +3 -3
- package/dist/browser/{loadImage-Dy1_5knL.js → loadImage-DC3BioQw.js} +1 -1
- package/dist/browser/{logDeviceInfo-DFiuu0JW.js → logDeviceInfo-U-dghNEE.js} +9 -9
- package/dist/browser/{mobx-NvAhKUmy.js → mobx-B3ugy_Uo.js} +4 -4
- package/dist/browser/{mobx.module-Bv5V3v5d.js → mobx.module-C9pJfT4z.js} +1 -1
- package/dist/browser/{optional-boolean-editor-BEOwiXCN.js → optional-boolean-editor-B6peoFdP.js} +3 -3
- package/dist/browser/{optional-enum-editor-C6KjlpRA.js → optional-enum-editor-DdGc6bGo.js} +4 -4
- package/dist/browser/{optional-string-editor-CFrCSmMd.js → optional-string-editor-D-mZ5TcA.js} +4 -4
- package/dist/browser/{particles.min-C2A0DA4i.js → particles.min-r05NeIIO.js} +2 -2
- package/dist/browser/{react-CabZjr3N.js → react-CAiPe_Qk.js} +2 -2
- package/dist/browser/{react-dom-RP6YFh3Z.js → react-dom-B-n3e4uH.js} +3 -3
- package/dist/browser/{rolldown-runtime-fogUk23q.js → rolldown-runtime-BkAGFH-3.js} +1 -1
- package/dist/browser/{scene-DuvbPaPD.js → scene-DBB57-1M.js} +10 -10
- package/dist/browser/{scheduler-k2rbX-LJ.js → scheduler-Btu7810I.js} +2 -2
- package/dist/browser/{select-DDC9fvlH.js → select-1x7gpaD6.js} +10 -10
- package/dist/browser/{settings-BozBuwXD.js → settings-Clb327Gp.js} +2 -2
- package/dist/browser/{settings-item-D4rlEKz6.js → settings-item-9ehuHN7w.js} +6 -6
- package/dist/browser/{store-CbRrBMLs.js → store-B618He5O.js} +2 -2
- package/dist/browser/{string-editor-CExhbakJ.js → string-editor-zH6d37oA.js} +4 -4
- package/dist/browser/{text-field-BV3Vp6cI.js → text-field-hTc5zeaz.js} +5 -5
- package/dist/browser/{theme-E8keDBEa.js → theme-rkMDBBl_.js} +8 -8
- package/dist/browser/{three.core-C_nLFu2C.js → three.core-CoaBWF0W.js} +1 -1
- package/dist/browser/{ui-CgHs1m5h.js → ui-d7u7XbmX.js} +8 -8
- package/dist/browser/{useRenderTarget-D7wRx7QW.js → useRenderTarget-Dsf3ugHo.js} +4 -4
- package/dist/browser/{viewport-BH6xyD06.js → viewport-BDI0afn8.js} +3 -3
- package/dist/browser/{wayfinding-BiZuXF9Q.js → wayfinding-BkpHRhUO.js} +516 -510
- package/dist/esm/components/Map/drawing/config/booth-badge-anchor.d.ts +57 -5
- package/dist/esm/components/Map/drawing/config/booth-badge-anchor.js +1 -1
- package/dist/esm/components/Map/drawing/config/booth-fill-color.d.ts +16 -0
- package/dist/esm/components/Map/drawing/config/booth-fill-color.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RouteStore.d.ts +9 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/test/store-harness.js +1 -1
- package/dist/esm/utils/gps.d.ts +5 -1
- package/dist/esm/utils/gps.js +1 -1
- package/package.json +10 -10
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.46.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.46.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7b8e523a-307d-4808-81dd-c3bc8e3d58d9", e._sentryDebugIdIdentifier = "sentry-dbid-7b8e523a-307d-4808-81dd-c3bc8e3d58d9");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { D as e, Dt as t, a as n, c as r, s as i } from "./i18n-
|
|
10
|
-
import { a, o } from "./is-debug-
|
|
11
|
-
import { a as s, c, n as l, u } from "./mobx.module-
|
|
12
|
-
import { t as d } from "./is-webview-
|
|
13
|
-
import { c as ee, d as te, f as ne, l as re, m as ie, o as ae, p as oe, r as se, s as ce, t as le } from "./UIState-
|
|
14
|
-
import { c as ue, l as de } from "./store-
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { a as Le, m as Re, n as ze, r as Be, u as Ve, v as He, w as Ue, x as We } from "./RouteStore-
|
|
18
|
-
import { i as Ge } from "./scene-
|
|
19
|
-
import { n as Ke, r as qe } from "./init-ui-
|
|
9
|
+
import { D as e, Dt as t, a as n, c as r, s as i } from "./i18n-DT4SjeA3.js";
|
|
10
|
+
import { a, o } from "./is-debug-sgFB2_R1.js";
|
|
11
|
+
import { a as s, c, n as l, u } from "./mobx.module-C9pJfT4z.js";
|
|
12
|
+
import { t as d } from "./is-webview-Cbjly4fl.js";
|
|
13
|
+
import { c as ee, d as te, f as ne, l as re, m as ie, o as ae, p as oe, r as se, s as ce, t as le } from "./UIState-DOVwNW-h.js";
|
|
14
|
+
import { c as ue, l as de } from "./store-B618He5O.js";
|
|
15
|
+
import { A as fe, B as pe, D as f, Et as me, F as he, G as ge, H as _e, I as ve, Jt as p, M as ye, O as be, P as m, U as xe, V as Se, Vt as Ce, W as we, _ as Te, et as Ee, g as De, j as Oe, jt as ke, n as Ae, nt as je, r as Me, tt as Ne, v as Pe, z as Fe } from "./LayerStore-DKg7vekG.js";
|
|
16
|
+
import { v as Ie } from "./wayfinding-BkpHRhUO.js";
|
|
17
|
+
import { a as Le, m as Re, n as ze, r as Be, u as Ve, v as He, w as Ue, x as We } from "./RouteStore-4r6xqu2L.js";
|
|
18
|
+
import { i as Ge } from "./scene-DBB57-1M.js";
|
|
19
|
+
import { n as Ke, r as qe } from "./init-ui-_JZLWvuF.js";
|
|
20
20
|
//#region src/store/init/init-categories.ts
|
|
21
21
|
function Je(e) {
|
|
22
22
|
let { categoryStore: t, exhibitorStore: n } = e;
|
|
23
|
-
for (let e of
|
|
23
|
+
for (let e of p.categories || []) {
|
|
24
24
|
let r = new oe();
|
|
25
|
-
Object.assign(r, e), r.exhibitors = [], r.slug =
|
|
26
|
-
for (let t of
|
|
25
|
+
Object.assign(r, e), r.exhibitors = [], r.slug = ge(r.name);
|
|
26
|
+
for (let t of p.exhibitors || []) if (t.categories.filter((t) => t === e.id)[0]) {
|
|
27
27
|
let e = n.exhibitorById.get(t.id);
|
|
28
28
|
e.categories.push(r), r.exhibitors.push(e);
|
|
29
29
|
}
|
|
@@ -35,26 +35,26 @@ function Je(e) {
|
|
|
35
35
|
//#region src/store/init/init-events.ts
|
|
36
36
|
function Ye(e) {
|
|
37
37
|
var t;
|
|
38
|
-
(t =
|
|
38
|
+
(t = p.events) == null || t.forEach((t) => {
|
|
39
39
|
let n = (t.speakers || []).map((t) => e.speakerStore.addSpeaker({ ...t })), r = new te(t.id, t.externalId || t.id.toString(), t.boothId, t.name || `Event ${t.id}`, t.description || "", t.startDate, t.endDate, t.logoFile, n, t.tracks || []);
|
|
40
40
|
e.eventStore.eventItems.push(r);
|
|
41
41
|
}), o.log("initEvents", e.eventStore.eventItems.length), o.log("initSpeakers", e.speakerStore.speakersMap.size), Ze(e.eventStore), Xe(e.eventStore);
|
|
42
42
|
}
|
|
43
43
|
function Xe(e) {
|
|
44
|
-
let t =
|
|
45
|
-
e.replaceVisited(t.events),
|
|
46
|
-
|
|
47
|
-
exhibitors:
|
|
44
|
+
let t = m("visited");
|
|
45
|
+
e.replaceVisited(t.events), Oe(() => {
|
|
46
|
+
he("visited", {
|
|
47
|
+
exhibitors: m("visited").exhibitors,
|
|
48
48
|
events: e.visited.map((e) => e.id)
|
|
49
49
|
});
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
function Ze(e) {
|
|
53
|
-
let t =
|
|
54
|
-
e.replaceBookmarked(t.events),
|
|
53
|
+
let t = m("bookmarked");
|
|
54
|
+
e.replaceBookmarked(t.events), Oe(() => {
|
|
55
55
|
var t;
|
|
56
|
-
let n =
|
|
57
|
-
|
|
56
|
+
let n = m("bookmarked");
|
|
57
|
+
he("bookmarked", {
|
|
58
58
|
exhibitors: n.exhibitors,
|
|
59
59
|
events: (t = e.bookmarked) == null ? void 0 : t.map((e) => e.id),
|
|
60
60
|
speakers: n.speakers,
|
|
@@ -65,24 +65,24 @@ function Ze(e) {
|
|
|
65
65
|
//#endregion
|
|
66
66
|
//#region src/store/init/init-exhibitors.ts
|
|
67
67
|
function Qe(e) {
|
|
68
|
-
let { exhibitorStore: t } = e, n = [...
|
|
68
|
+
let { exhibitorStore: t } = e, n = [...p.exhibitors || []], r = qe();
|
|
69
69
|
if (r) {
|
|
70
70
|
let e = n.findIndex((e) => e.id === r.id);
|
|
71
71
|
e === -1 ? n.push(r) : n.splice(e, 1, r);
|
|
72
72
|
}
|
|
73
73
|
n.sort((e, t) => Number(t.featured) - Number(e.featured));
|
|
74
74
|
for (let e of n) {
|
|
75
|
-
let n = new
|
|
76
|
-
Object.assign(n, e), n.slug =
|
|
75
|
+
let n = new De();
|
|
76
|
+
Object.assign(n, e), n.slug = ge(n.name), n.rebookingState = n.rebookingState || Pe.Unasked, n.categories = [], n.booths = [], n.store = t, t.exhibitors.push(n), n.schedule = null;
|
|
77
77
|
}
|
|
78
78
|
o.log("initExhibitors", t.exhibitors.length), $e(t), et(t);
|
|
79
79
|
}
|
|
80
80
|
function $e(e) {
|
|
81
|
-
let t =
|
|
82
|
-
e.replaceBookmarked(t.exhibitors),
|
|
81
|
+
let t = m("bookmarked");
|
|
82
|
+
e.replaceBookmarked(t.exhibitors), Oe(() => {
|
|
83
83
|
var t;
|
|
84
|
-
let n =
|
|
85
|
-
|
|
84
|
+
let n = m("bookmarked");
|
|
85
|
+
he("bookmarked", {
|
|
86
86
|
exhibitors: (t = e.bookmarked) == null ? void 0 : t.map((e) => e.id),
|
|
87
87
|
events: n.events,
|
|
88
88
|
speakers: n.speakers,
|
|
@@ -91,10 +91,10 @@ function $e(e) {
|
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
function et(e) {
|
|
94
|
-
let t =
|
|
95
|
-
e.replaceVisited(t.exhibitors),
|
|
96
|
-
let t =
|
|
97
|
-
|
|
94
|
+
let t = m("visited");
|
|
95
|
+
e.replaceVisited(t.exhibitors), Oe(() => {
|
|
96
|
+
let t = m("visited");
|
|
97
|
+
he("visited", {
|
|
98
98
|
exhibitors: e.visited.map((e) => e.id),
|
|
99
99
|
events: t.events
|
|
100
100
|
});
|
|
@@ -107,11 +107,11 @@ function tt(e) {
|
|
|
107
107
|
else if (window.__heatmapDataYah) {
|
|
108
108
|
e.heatmapStore.heatmapData.yah = window.__heatmapDataYah.yah.map((e) => new re(e.id, e.name, e.viewCount, e.x, e.y, e.z));
|
|
109
109
|
let t = e.heatmapStore.heatmapData.yah.map((t) => {
|
|
110
|
-
let n = e.heatmapStore.getColorByClicks(t.viewCount), r = e.uiState.devicePixelRatio, i =
|
|
110
|
+
let n = e.heatmapStore.getColorByClicks(t.viewCount), r = e.uiState.devicePixelRatio, i = me(r, n, void 0, 95, 120, t.viewCount.toString()), a = i.toDataURL();
|
|
111
111
|
return {
|
|
112
112
|
name: t.id.toString(),
|
|
113
113
|
scale: 1,
|
|
114
|
-
...
|
|
114
|
+
...ke(i),
|
|
115
115
|
content: a
|
|
116
116
|
};
|
|
117
117
|
}), n = e.heatmapStore.heatmapData.yah.map((e) => ({
|
|
@@ -133,7 +133,7 @@ function tt(e) {
|
|
|
133
133
|
//#region src/store/init/init-poiTypes.ts
|
|
134
134
|
function nt(e) {
|
|
135
135
|
var t;
|
|
136
|
-
((t =
|
|
136
|
+
((t = p.poiTypes) == null ? [] : t).forEach((t) => {
|
|
137
137
|
e.poiTypeStore.poiTypes.push(t);
|
|
138
138
|
});
|
|
139
139
|
}
|
|
@@ -143,11 +143,11 @@ function rt(e) {
|
|
|
143
143
|
it(e.speakerStore);
|
|
144
144
|
}
|
|
145
145
|
function it(e) {
|
|
146
|
-
let t =
|
|
147
|
-
e.replaceBookmarked(t.speakers),
|
|
146
|
+
let t = m("bookmarked");
|
|
147
|
+
e.replaceBookmarked(t.speakers), Oe(() => {
|
|
148
148
|
var t;
|
|
149
|
-
let n =
|
|
150
|
-
|
|
149
|
+
let n = m("bookmarked");
|
|
150
|
+
he("bookmarked", {
|
|
151
151
|
exhibitors: n.exhibitors,
|
|
152
152
|
events: n.events,
|
|
153
153
|
speakers: (t = e.bookmarked) == null ? void 0 : t.map((e) => e.id),
|
|
@@ -158,7 +158,7 @@ function it(e) {
|
|
|
158
158
|
//#endregion
|
|
159
159
|
//#region src/store/init/index.ts
|
|
160
160
|
function at(e) {
|
|
161
|
-
|
|
161
|
+
be(e), Ye(e), rt(e), Qe(e), Je(e), nt(e), fe(e), tt(e), Ke(e);
|
|
162
162
|
}
|
|
163
163
|
//#endregion
|
|
164
164
|
//#region src/store/search-buttons/constants.ts
|
|
@@ -237,7 +237,7 @@ var y = {
|
|
|
237
237
|
exhibitors: (a = e.exhibitors) != null && a
|
|
238
238
|
};
|
|
239
239
|
}
|
|
240
|
-
let o = new URLSearchParams(window.location.search), s = o.get(y.CATEGORIES), c = s ?
|
|
240
|
+
let o = new URLSearchParams(window.location.search), s = o.get(y.CATEGORIES), c = s ? pe(s) : [], l = o.get(y.POI_TYPE), u = l ? Fe(l) : null, d = o.get(y.POI_TYPES), ee = d ? pe(d) : [], te = o.get(y.EXHIBITORS);
|
|
241
241
|
return {
|
|
242
242
|
categories: c,
|
|
243
243
|
poiType: u,
|
|
@@ -273,17 +273,17 @@ var y = {
|
|
|
273
273
|
filterSearch() {
|
|
274
274
|
let { uiState: e } = this.rootStore, t = new URLSearchParams();
|
|
275
275
|
if (e.selectedCategoryFilters.length > 0) {
|
|
276
|
-
let n =
|
|
276
|
+
let n = _e(e.selectedCategoryFilters.map((e) => e.name.toLowerCase()));
|
|
277
277
|
n && t.set(y.CATEGORIES, n);
|
|
278
278
|
}
|
|
279
279
|
if (e.selectedPoiTypeFilters.length > 0 && e.selectedCategoryFilters.length === 0) if (e.selectedPoiTypeFilters.length === 1) {
|
|
280
280
|
let n = e.selectedPoiTypeFilters[0].name.toLowerCase();
|
|
281
281
|
if (n) {
|
|
282
|
-
let e =
|
|
282
|
+
let e = Se(n);
|
|
283
283
|
e && t.set(y.POI_TYPE, e);
|
|
284
284
|
}
|
|
285
285
|
} else {
|
|
286
|
-
let n =
|
|
286
|
+
let n = _e(e.selectedPoiTypeFilters.map((e) => e.name.toLowerCase()));
|
|
287
287
|
n && t.set(y.POI_TYPES, n);
|
|
288
288
|
}
|
|
289
289
|
return this.currentFilters.exhibitors && e.selectedCategoryFilters.length === 0 && e.selectedPoiTypeFilters.length === 0 && t.set(y.EXHIBITORS, "true"), t.toString() ? `?${t.toString()}` : "";
|
|
@@ -298,13 +298,13 @@ var y = {
|
|
|
298
298
|
};
|
|
299
299
|
}
|
|
300
300
|
setCategories(e) {
|
|
301
|
-
this.currentFilters.categories =
|
|
301
|
+
this.currentFilters.categories = xe(e), this.currentFilters.poiType = null, this.isInitialized && this.updateURLFromFilters();
|
|
302
302
|
}
|
|
303
303
|
setPoiType(e) {
|
|
304
|
-
this.currentFilters.poiType =
|
|
304
|
+
this.currentFilters.poiType = we(e), this.currentFilters.poiTypes = [], this.currentFilters.categories = [], this.isInitialized && this.updateURLFromFilters();
|
|
305
305
|
}
|
|
306
306
|
setPoiTypes(e) {
|
|
307
|
-
this.currentFilters.poiTypes =
|
|
307
|
+
this.currentFilters.poiTypes = xe(e), this.currentFilters.poiType = null, this.currentFilters.categories = [], this.isInitialized && this.updateURLFromFilters();
|
|
308
308
|
}
|
|
309
309
|
clearAllFilters() {
|
|
310
310
|
this.currentFilters = {
|
|
@@ -320,17 +320,17 @@ var y = {
|
|
|
320
320
|
return { ...this.currentFilters };
|
|
321
321
|
}
|
|
322
322
|
setupReactions() {
|
|
323
|
-
|
|
323
|
+
ye(() => this.rootStore.uiState.selectedCategoryFilters, (e) => {
|
|
324
324
|
if (this.isInitialized && e.length > 0) {
|
|
325
|
-
let t =
|
|
325
|
+
let t = xe(e.map((e) => e.name));
|
|
326
326
|
this.setCategories(t);
|
|
327
327
|
}
|
|
328
|
-
}),
|
|
328
|
+
}), ye(() => this.rootStore.uiState.selectedPoiTypeFilters, (e) => {
|
|
329
329
|
if (this.isInitialized && e.length > 0) if (e.length === 1) {
|
|
330
|
-
let t =
|
|
330
|
+
let t = we(e[0].name);
|
|
331
331
|
t && this.setPoiType(t);
|
|
332
332
|
} else {
|
|
333
|
-
let t =
|
|
333
|
+
let t = xe(e.map((e) => e.name));
|
|
334
334
|
this.setPoiTypes(t);
|
|
335
335
|
}
|
|
336
336
|
});
|
|
@@ -353,7 +353,7 @@ var y = {
|
|
|
353
353
|
}
|
|
354
354
|
focusOnFilteredBooths() {
|
|
355
355
|
if (!this.rootStore.layerStore.layersLoaded) {
|
|
356
|
-
|
|
356
|
+
ye(() => this.rootStore.layerStore.layersLoaded, () => {
|
|
357
357
|
this.focusOnFilteredBooths();
|
|
358
358
|
}, { fireImmediately: !1 });
|
|
359
359
|
return;
|
|
@@ -548,7 +548,7 @@ var St = (vt = class {
|
|
|
548
548
|
}
|
|
549
549
|
async buildEngine() {
|
|
550
550
|
try {
|
|
551
|
-
let { default: e } = await import("./fuse-
|
|
551
|
+
let { default: e } = await import("./fuse-o5_aSzm4.js").then((e) => e.n);
|
|
552
552
|
u(() => {
|
|
553
553
|
this.engine = new e([], {
|
|
554
554
|
keys: this.keys,
|
|
@@ -652,13 +652,13 @@ var zt = (Ot = s({ keepAlive: !0 }), kt = s({ keepAlive: !0 }), At = s({ keepAli
|
|
|
652
652
|
this.cameraPortBox.get() === e && this.cameraPortBox.set(null);
|
|
653
653
|
}
|
|
654
654
|
activateMaplibre() {
|
|
655
|
-
this.maplibreEnabled && (this.mapViewMode =
|
|
655
|
+
this.maplibreEnabled && (this.mapViewMode = p.allow3dView && this.mapViewMode !== "map3d" ? "map3d" : "map2d", this.maplibreSelected = !0);
|
|
656
656
|
}
|
|
657
657
|
deactivateMaplibre() {
|
|
658
658
|
this.mapViewMode = "floorplan", this.maplibreSelected = !1;
|
|
659
659
|
}
|
|
660
660
|
get hideModeSwitchButton() {
|
|
661
|
-
return !this.maplibreEnabled || !
|
|
661
|
+
return !this.maplibreEnabled || !p.allow3dView || Lt;
|
|
662
662
|
}
|
|
663
663
|
get maplibreEnabled() {
|
|
664
664
|
var e, t, n;
|
|
@@ -667,7 +667,7 @@ var zt = (Ot = s({ keepAlive: !0 }), kt = s({ keepAlive: !0 }), At = s({ keepAli
|
|
|
667
667
|
}
|
|
668
668
|
get useMaplibreMap() {
|
|
669
669
|
var e, t;
|
|
670
|
-
return (e =
|
|
670
|
+
return (e = p.enableExperimentalMaplibre) == null ? ((t = Ie()) == null || (t = t.properties) == null || (t = t.config) == null ? void 0 : t.type) === "maplibre" : e;
|
|
671
671
|
}
|
|
672
672
|
get showMaplibre() {
|
|
673
673
|
return this.maplibreEnabled && (this.mapViewMode === "map2d" || this.mapViewMode === "map3d");
|
|
@@ -721,7 +721,7 @@ var Vt = (D = class {
|
|
|
721
721
|
}
|
|
722
722
|
get isSearchListOpen() {
|
|
723
723
|
let { list: e } = this.ui;
|
|
724
|
-
return e.type === "search" ||
|
|
724
|
+
return e.type === "search" || p.isRebooking && e.type === "exhibitors";
|
|
725
725
|
}
|
|
726
726
|
get mediumSizeMultiplier() {
|
|
727
727
|
return this.isRouteActive ? 7 : this.ui.details ? 3 : this.isSearchListOpen ? 9 : 3;
|
|
@@ -1438,22 +1438,22 @@ function vn(e) {
|
|
|
1438
1438
|
return null;
|
|
1439
1439
|
}
|
|
1440
1440
|
}
|
|
1441
|
-
function
|
|
1442
|
-
let t =
|
|
1441
|
+
function yn(e) {
|
|
1442
|
+
let t = p.filterButtonsConfig;
|
|
1443
1443
|
return !(t != null && t.searchButtons) || !Array.isArray(t.searchButtons) ? null : t.searchButtons.find((t) => t.id === e) || null;
|
|
1444
1444
|
}
|
|
1445
|
-
function
|
|
1445
|
+
function bn(e) {
|
|
1446
1446
|
let t = 0;
|
|
1447
1447
|
for (let n of e.values()) t += n;
|
|
1448
1448
|
return t;
|
|
1449
1449
|
}
|
|
1450
|
-
function
|
|
1450
|
+
function xn(e) {
|
|
1451
1451
|
return e && typeof e == "object" && Array.isArray(e.searchButtons) && e.searchButtons.length > 0;
|
|
1452
1452
|
}
|
|
1453
1453
|
//#endregion
|
|
1454
1454
|
//#region src/store/search-buttons/SearchButtonsActions.ts
|
|
1455
|
-
var
|
|
1456
|
-
function
|
|
1455
|
+
var M;
|
|
1456
|
+
function N(e, t, n, r, i) {
|
|
1457
1457
|
var a = {};
|
|
1458
1458
|
return Object.keys(r).forEach(function(e) {
|
|
1459
1459
|
a[e] = r[e];
|
|
@@ -1461,7 +1461,7 @@ function P(e, t, n, r, i) {
|
|
|
1461
1461
|
return r(e, t, n) || n;
|
|
1462
1462
|
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
1463
1463
|
}
|
|
1464
|
-
var
|
|
1464
|
+
var Sn = (M = class {
|
|
1465
1465
|
constructor(e, t, n) {
|
|
1466
1466
|
this.rootStore = e, this.state = t, this.filters = n;
|
|
1467
1467
|
}
|
|
@@ -1485,7 +1485,7 @@ var xn = (N = class {
|
|
|
1485
1485
|
}
|
|
1486
1486
|
handleExtendedSearchButtonClick(e) {
|
|
1487
1487
|
var t;
|
|
1488
|
-
let n =
|
|
1488
|
+
let n = yn(e);
|
|
1489
1489
|
if (!n) return;
|
|
1490
1490
|
let r = n.name;
|
|
1491
1491
|
if (n.type === "link") {
|
|
@@ -1620,7 +1620,7 @@ var xn = (N = class {
|
|
|
1620
1620
|
get isMobile() {
|
|
1621
1621
|
return typeof window < "u" && window.innerWidth <= 768;
|
|
1622
1622
|
}
|
|
1623
|
-
},
|
|
1623
|
+
}, N(M.prototype, "handleSearchButtonClick", [l], Object.getOwnPropertyDescriptor(M.prototype, "handleSearchButtonClick"), M.prototype), N(M.prototype, "handleExtendedSearchButtonClick", [l], Object.getOwnPropertyDescriptor(M.prototype, "handleExtendedSearchButtonClick"), M.prototype), N(M.prototype, "handleMainButtonClick", [l], Object.getOwnPropertyDescriptor(M.prototype, "handleMainButtonClick"), M.prototype), N(M.prototype, "handleSessionsClick", [l], Object.getOwnPropertyDescriptor(M.prototype, "handleSessionsClick"), M.prototype), N(M.prototype, "togglePoiType", [l], Object.getOwnPropertyDescriptor(M.prototype, "togglePoiType"), M.prototype), N(M.prototype, "clearAllFilters", [l], Object.getOwnPropertyDescriptor(M.prototype, "clearAllFilters"), M.prototype), N(M.prototype, "deactivateForNavigation", [l], Object.getOwnPropertyDescriptor(M.prototype, "deactivateForNavigation"), M.prototype), N(M.prototype, "showSubButtons", [l], Object.getOwnPropertyDescriptor(M.prototype, "showSubButtons"), M.prototype), N(M.prototype, "hideSubButtons", [l], Object.getOwnPropertyDescriptor(M.prototype, "hideSubButtons"), M.prototype), N(M.prototype, "handleSubButtonClick", [l], Object.getOwnPropertyDescriptor(M.prototype, "handleSubButtonClick"), M.prototype), M), Cn = class {
|
|
1624
1624
|
constructor(e, t, n) {
|
|
1625
1625
|
this.rootStore = e, this.state = t, this.actions = n, this.buttonFactories = void 0, this.buttonFactories = {
|
|
1626
1626
|
[h.BOOKMARKS]: (e) => this.createBookmarksButton(e),
|
|
@@ -1665,7 +1665,7 @@ var xn = (N = class {
|
|
|
1665
1665
|
}
|
|
1666
1666
|
createBookmarksButton(e) {
|
|
1667
1667
|
let { uiState: t } = this.rootStore;
|
|
1668
|
-
return t.kiosk || t.disableBookmarked ||
|
|
1668
|
+
return t.kiosk || t.disableBookmarked || p.hideBookmarks ? null : {
|
|
1669
1669
|
...this.createBaseButton(e),
|
|
1670
1670
|
id: h.BOOKMARKS,
|
|
1671
1671
|
icon: ot.BOOKMARKS,
|
|
@@ -1835,8 +1835,8 @@ var xn = (N = class {
|
|
|
1835
1835
|
getExhibitorsTotalCount() {
|
|
1836
1836
|
return this.rootStore.exhibitorStore.exhibitors.length;
|
|
1837
1837
|
}
|
|
1838
|
-
},
|
|
1839
|
-
function
|
|
1838
|
+
}, P;
|
|
1839
|
+
function F(e, t, n, r, i) {
|
|
1840
1840
|
var a = {};
|
|
1841
1841
|
return Object.keys(r).forEach(function(e) {
|
|
1842
1842
|
a[e] = r[e];
|
|
@@ -1844,7 +1844,7 @@ function I(e, t, n, r, i) {
|
|
|
1844
1844
|
return r(e, t, n) || n;
|
|
1845
1845
|
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
1846
1846
|
}
|
|
1847
|
-
var
|
|
1847
|
+
var wn = (P = class {
|
|
1848
1848
|
constructor(e, t) {
|
|
1849
1849
|
this.rootStore = e, this.state = t;
|
|
1850
1850
|
}
|
|
@@ -1856,7 +1856,7 @@ var Cn = (F = class {
|
|
|
1856
1856
|
applyChildFilters() {
|
|
1857
1857
|
let { uiState: e } = this.rootStore, t = Array.from(this.state.searchShortcutState.activeChildren);
|
|
1858
1858
|
if (e.selectedCategoryFilters = [], e.selectedPoiTypeFilters = [], e.categoryFilterOpen = !1, t.length === 0) return;
|
|
1859
|
-
let n =
|
|
1859
|
+
let n = yn(this.state.searchShortcutState.activeParentId);
|
|
1860
1860
|
if (!(n != null && n.children)) return;
|
|
1861
1861
|
let r = n.children.filter((e) => e.visible), { categories: i, poiTypes: a } = this.collectSelectedFilters(r, t);
|
|
1862
1862
|
e.selectedCategoryFilters = i, e.selectedPoiTypeFilters = a, e.categoryFilterOpen = i.length > 0;
|
|
@@ -1872,15 +1872,15 @@ var Cn = (F = class {
|
|
|
1872
1872
|
this.state.setPoiFilter(null), this.rootStore.uiState.selectedPoiTypeFilters = [], this.rootStore.urlFilterManager.setPoiType(null);
|
|
1873
1873
|
}
|
|
1874
1874
|
toggleChildFilter(e) {
|
|
1875
|
-
let t =
|
|
1875
|
+
let t = yn(this.state.searchShortcutState.activeParentId);
|
|
1876
1876
|
t != null && t.children && (this.state.toggleChild(e), this.state.hasActiveChildren ? this.applyChildFilters() : this.applyAllChildrenFilters(t));
|
|
1877
1877
|
}
|
|
1878
1878
|
getActiveParent() {
|
|
1879
|
-
return this.state.searchShortcutState.activeParentId ?
|
|
1879
|
+
return this.state.searchShortcutState.activeParentId ? yn(this.state.searchShortcutState.activeParentId) : null;
|
|
1880
1880
|
}
|
|
1881
1881
|
areAllSelected() {
|
|
1882
1882
|
if (!this.state.searchShortcutState.activeParentId) return !1;
|
|
1883
|
-
let e =
|
|
1883
|
+
let e = yn(this.state.searchShortcutState.activeParentId);
|
|
1884
1884
|
if (!(e != null && e.children)) return !1;
|
|
1885
1885
|
let t = e.children.filter((e) => e.visible).filter((e) => e.type !== "link");
|
|
1886
1886
|
return t.length > 0 && t.every((e) => {
|
|
@@ -1891,7 +1891,7 @@ var Cn = (F = class {
|
|
|
1891
1891
|
}
|
|
1892
1892
|
getChildrenCount() {
|
|
1893
1893
|
if (!this.state.searchShortcutState.activeParentId) return 0;
|
|
1894
|
-
let e =
|
|
1894
|
+
let e = yn(this.state.searchShortcutState.activeParentId);
|
|
1895
1895
|
return e != null && e.children ? e.children.filter((e) => e.visible).filter((e) => e.type !== "link").length : 0;
|
|
1896
1896
|
}
|
|
1897
1897
|
collectFilters(e) {
|
|
@@ -1931,8 +1931,8 @@ var Cn = (F = class {
|
|
|
1931
1931
|
poiTypes: r
|
|
1932
1932
|
};
|
|
1933
1933
|
}
|
|
1934
|
-
},
|
|
1935
|
-
function
|
|
1934
|
+
}, F(P.prototype, "applyAllChildrenFilters", [l], Object.getOwnPropertyDescriptor(P.prototype, "applyAllChildrenFilters"), P.prototype), F(P.prototype, "applyChildFilters", [l], Object.getOwnPropertyDescriptor(P.prototype, "applyChildFilters"), P.prototype), F(P.prototype, "clearAllChildFilters", [l], Object.getOwnPropertyDescriptor(P.prototype, "clearAllChildFilters"), P.prototype), F(P.prototype, "clearCategoryFilters", [l], Object.getOwnPropertyDescriptor(P.prototype, "clearCategoryFilters"), P.prototype), F(P.prototype, "clearPoiTypeFilters", [l], Object.getOwnPropertyDescriptor(P.prototype, "clearPoiTypeFilters"), P.prototype), F(P.prototype, "toggleChildFilter", [l], Object.getOwnPropertyDescriptor(P.prototype, "toggleChildFilter"), P.prototype), P), I, Tn, En, Dn, On, kn, An;
|
|
1935
|
+
function L(e, t, n, r) {
|
|
1936
1936
|
n && Object.defineProperty(e, t, {
|
|
1937
1937
|
enumerable: n.enumerable,
|
|
1938
1938
|
configurable: n.configurable,
|
|
@@ -1948,9 +1948,9 @@ function R(e, t, n, r, i) {
|
|
|
1948
1948
|
return r(e, t, n) || n;
|
|
1949
1949
|
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
1950
1950
|
}
|
|
1951
|
-
var jn = (
|
|
1951
|
+
var jn = (I = class {
|
|
1952
1952
|
constructor() {
|
|
1953
|
-
|
|
1953
|
+
L(this, "isVisible", Tn, this), L(this, "activePoiFilterId", En, this), L(this, "activeSubButtonsParentId", Dn, this), L(this, "activeSubButtonId", On, this), L(this, "subButtonsEnabled", kn, this), L(this, "searchShortcutState", An, this);
|
|
1954
1954
|
}
|
|
1955
1955
|
setVisible(e) {
|
|
1956
1956
|
this.isVisible = e;
|
|
@@ -1994,42 +1994,42 @@ var jn = (L = class {
|
|
|
1994
1994
|
isChildActive(e) {
|
|
1995
1995
|
return this.searchShortcutState.activeChildren.has(e);
|
|
1996
1996
|
}
|
|
1997
|
-
},
|
|
1997
|
+
}, Tn = R(I.prototype, "isVisible", [c], {
|
|
1998
1998
|
configurable: !0,
|
|
1999
1999
|
enumerable: !0,
|
|
2000
2000
|
writable: !0,
|
|
2001
2001
|
initializer: function() {
|
|
2002
2002
|
return !0;
|
|
2003
2003
|
}
|
|
2004
|
-
}),
|
|
2004
|
+
}), En = R(I.prototype, "activePoiFilterId", [c], {
|
|
2005
2005
|
configurable: !0,
|
|
2006
2006
|
enumerable: !0,
|
|
2007
2007
|
writable: !0,
|
|
2008
2008
|
initializer: function() {
|
|
2009
2009
|
return null;
|
|
2010
2010
|
}
|
|
2011
|
-
}),
|
|
2011
|
+
}), Dn = R(I.prototype, "activeSubButtonsParentId", [c], {
|
|
2012
2012
|
configurable: !0,
|
|
2013
2013
|
enumerable: !0,
|
|
2014
2014
|
writable: !0,
|
|
2015
2015
|
initializer: function() {
|
|
2016
2016
|
return null;
|
|
2017
2017
|
}
|
|
2018
|
-
}),
|
|
2018
|
+
}), On = R(I.prototype, "activeSubButtonId", [c], {
|
|
2019
2019
|
configurable: !0,
|
|
2020
2020
|
enumerable: !0,
|
|
2021
2021
|
writable: !0,
|
|
2022
2022
|
initializer: function() {
|
|
2023
2023
|
return null;
|
|
2024
2024
|
}
|
|
2025
|
-
}),
|
|
2025
|
+
}), kn = R(I.prototype, "subButtonsEnabled", [c], {
|
|
2026
2026
|
configurable: !0,
|
|
2027
2027
|
enumerable: !0,
|
|
2028
2028
|
writable: !0,
|
|
2029
2029
|
initializer: function() {
|
|
2030
2030
|
return !1;
|
|
2031
2031
|
}
|
|
2032
|
-
}),
|
|
2032
|
+
}), An = R(I.prototype, "searchShortcutState", [c], {
|
|
2033
2033
|
configurable: !0,
|
|
2034
2034
|
enumerable: !0,
|
|
2035
2035
|
writable: !0,
|
|
@@ -2040,7 +2040,7 @@ var jn = (L = class {
|
|
|
2040
2040
|
isShortcutsVisible: !1
|
|
2041
2041
|
};
|
|
2042
2042
|
}
|
|
2043
|
-
}), R(
|
|
2043
|
+
}), R(I.prototype, "setVisible", [l], Object.getOwnPropertyDescriptor(I.prototype, "setVisible"), I.prototype), R(I.prototype, "setSubButtonParent", [l], Object.getOwnPropertyDescriptor(I.prototype, "setSubButtonParent"), I.prototype), R(I.prototype, "setPoiFilter", [l], Object.getOwnPropertyDescriptor(I.prototype, "setPoiFilter"), I.prototype), R(I.prototype, "setSubButton", [l], Object.getOwnPropertyDescriptor(I.prototype, "setSubButton"), I.prototype), R(I.prototype, "setSubButtonsEnabled", [l], Object.getOwnPropertyDescriptor(I.prototype, "setSubButtonsEnabled"), I.prototype), R(I.prototype, "setActiveParentId", [l], Object.getOwnPropertyDescriptor(I.prototype, "setActiveParentId"), I.prototype), R(I.prototype, "showShortcuts", [l], Object.getOwnPropertyDescriptor(I.prototype, "showShortcuts"), I.prototype), R(I.prototype, "clearChildren", [l], Object.getOwnPropertyDescriptor(I.prototype, "clearChildren"), I.prototype), R(I.prototype, "toggleChild", [l], Object.getOwnPropertyDescriptor(I.prototype, "toggleChild"), I.prototype), R(I.prototype, "reset", [l], Object.getOwnPropertyDescriptor(I.prototype, "reset"), I.prototype), R(I.prototype, "hasActiveChildren", [s], Object.getOwnPropertyDescriptor(I.prototype, "hasActiveChildren"), I.prototype), R(I.prototype, "activeChildrenCount", [s], Object.getOwnPropertyDescriptor(I.prototype, "activeChildrenCount"), I.prototype), R(I.prototype, "hasActiveParentWithChildren", [s], Object.getOwnPropertyDescriptor(I.prototype, "hasActiveParentWithChildren"), I.prototype), I), z;
|
|
2044
2044
|
function B(e, t, n, r, i) {
|
|
2045
2045
|
var a = {};
|
|
2046
2046
|
return Object.keys(r).forEach(function(e) {
|
|
@@ -2051,10 +2051,10 @@ function B(e, t, n, r, i) {
|
|
|
2051
2051
|
}
|
|
2052
2052
|
var Mn = (z = class {
|
|
2053
2053
|
constructor(e) {
|
|
2054
|
-
this.rootStore = void 0, this._subButtonRegistry = void 0, this.state = void 0, this.filters = void 0, this.actions = void 0, this.factory = void 0, this.poiTypeCountsCache = /* @__PURE__ */ new Map(), this.keepFiltersOnNextEntry = !1, this.lastPoiTypeCountUpdate = 0, this.rootStore = e, this.state = new jn(), this.filters = new
|
|
2054
|
+
this.rootStore = void 0, this._subButtonRegistry = void 0, this.state = void 0, this.filters = void 0, this.actions = void 0, this.factory = void 0, this.poiTypeCountsCache = /* @__PURE__ */ new Map(), this.keepFiltersOnNextEntry = !1, this.lastPoiTypeCountUpdate = 0, this.rootStore = e, this.state = new jn(), this.filters = new wn(e, this.state), this.actions = new Sn(e, this.state, this.filters), this.factory = new Cn(e, this.state, this.actions), this.setupReactions();
|
|
2055
2055
|
}
|
|
2056
2056
|
setupReactions() {
|
|
2057
|
-
|
|
2057
|
+
ye(() => this.rootStore.boothStore.booths.length, () => this.invalidatePoiTypeCounts()), ye(() => this.isNavigationOpen, (e) => {
|
|
2058
2058
|
if (e) {
|
|
2059
2059
|
if (this.keepFiltersOnNextEntry) {
|
|
2060
2060
|
this.keepFiltersOnNextEntry = !1;
|
|
@@ -2105,8 +2105,8 @@ var Mn = (z = class {
|
|
|
2105
2105
|
return this.state.searchShortcutState;
|
|
2106
2106
|
}
|
|
2107
2107
|
get searchButtons() {
|
|
2108
|
-
let e =
|
|
2109
|
-
if (!
|
|
2108
|
+
let e = p.filterButtonsConfig;
|
|
2109
|
+
if (!xn(e)) return console.warn("[SearchButtonsStore] Invalid filterButtonsConfig detected"), [];
|
|
2110
2110
|
let t = e.searchButtons;
|
|
2111
2111
|
return this.factory.createButtons(t);
|
|
2112
2112
|
}
|
|
@@ -2152,7 +2152,7 @@ var Mn = (z = class {
|
|
|
2152
2152
|
}), this.poiTypeCountsCache = t, this.lastPoiTypeCountUpdate = e, t;
|
|
2153
2153
|
}
|
|
2154
2154
|
get totalPoiTypeCount() {
|
|
2155
|
-
return
|
|
2155
|
+
return bn(this.poiTypeCounts);
|
|
2156
2156
|
}
|
|
2157
2157
|
get activePoiTypeId() {
|
|
2158
2158
|
var e;
|
|
@@ -2310,11 +2310,11 @@ var U = class {
|
|
|
2310
2310
|
return this.searchBoxMode === "search";
|
|
2311
2311
|
}
|
|
2312
2312
|
get shouldShowCloseButton() {
|
|
2313
|
-
let { menu: e, details: t, list: n } = this.uiState, r =
|
|
2313
|
+
let { menu: e, details: t, list: n } = this.uiState, r = p.isRebooking && n.type === "exhibitors";
|
|
2314
2314
|
return !this.shouldShowSearchInput || n.type === "sessions" || n.type === "tours" || n.type === "speakers" || n.type === "exhibitors" && !r || e || t !== null || !!this.searchText || this.isClearMode || this.isFocused;
|
|
2315
2315
|
}
|
|
2316
2316
|
get closeButtonAction() {
|
|
2317
|
-
return !this.shouldShowSearchInput || this.searchBoxMode === "details" || this.uiState.list.type === "sessions" || this.uiState.list.type === "speakers" || this.uiState.list.type === "exhibitors" && !
|
|
2317
|
+
return !this.shouldShowSearchInput || this.searchBoxMode === "details" || this.uiState.list.type === "sessions" || this.uiState.list.type === "speakers" || this.uiState.list.type === "exhibitors" && !p.isRebooking ? "close" : this.searchText ? "clear" : "close";
|
|
2318
2318
|
}
|
|
2319
2319
|
get shouldShowShadow() {
|
|
2320
2320
|
let { menu: e, details: t, list: n } = this.uiState, r = n.type === "search" && !!n.text;
|
|
@@ -2322,7 +2322,7 @@ var U = class {
|
|
|
2322
2322
|
}
|
|
2323
2323
|
get placeholder() {
|
|
2324
2324
|
let { list: e, heatmapYah: t } = this.uiState;
|
|
2325
|
-
return e.type === "sessions" ? i("Search sessions") : e.type === "tours" ? i("Search Guided Tours") : e.type === "exhibitors" ? i("Search exhibitors") : e.type === "speakers" ? i("Search speakers") :
|
|
2325
|
+
return e.type === "sessions" ? i("Search sessions") : e.type === "tours" ? i("Search Guided Tours") : e.type === "exhibitors" ? i("Search exhibitors") : e.type === "speakers" ? i("Search speakers") : Ce.EXPO.startsWith("lenzerheidemotorclassics") ? "SUCHE" : Ce.EXPO.startsWith("jetlag") ? "Search location or artist" : t ? i("Find values greater than") : this.uiState.hasAppliedFilters ? i("Search") : p.searchText || i("Search");
|
|
2326
2326
|
}
|
|
2327
2327
|
get searchBoxClass() {
|
|
2328
2328
|
return {
|
|
@@ -2452,7 +2452,7 @@ var U = class {
|
|
|
2452
2452
|
return;
|
|
2453
2453
|
}
|
|
2454
2454
|
if (t.type === "exhibitors") {
|
|
2455
|
-
if (
|
|
2455
|
+
if (p.isRebooking) {
|
|
2456
2456
|
this.searchBoxMode === "search" && this.searchText ? (this.setSearchText(""), this.isClearMode = !0, this.clearActiveFilters()) : this.resetSearchBox();
|
|
2457
2457
|
return;
|
|
2458
2458
|
}
|
|
@@ -3277,7 +3277,7 @@ var tr = 1, nr = (X = class {
|
|
|
3277
3277
|
}
|
|
3278
3278
|
loadTours() {
|
|
3279
3279
|
try {
|
|
3280
|
-
if (this.currentExpo =
|
|
3280
|
+
if (this.currentExpo = Ce.EXPO || "default", this.toursLoadError = null, !this.isValidToursData(Yn)) {
|
|
3281
3281
|
this.toursLoadError = "Invalid tours data format", this.resetTours();
|
|
3282
3282
|
return;
|
|
3283
3283
|
}
|
|
@@ -3406,7 +3406,7 @@ var or = (Q = class {
|
|
|
3406
3406
|
this.resetCameraFn = e;
|
|
3407
3407
|
}
|
|
3408
3408
|
constructor() {
|
|
3409
|
-
this.categoryStore = void 0, this.exhibitorStore = void 0, this.boothStore = void 0, this.uiState = void 0, this.overlayStore = void 0, this.routeStore = void 0, this.routePlannerStore = void 0, this.toursStore = void 0, this.maplibreStore = void 0, this.layerStore = void 0, this.intercomStore = void 0, this.eventStore = void 0, this.poiTypeStore = void 0, this.poiMarkerStore = void 0, this.heatmapStore = void 0, this.fuzzySearchEngineStore = void 0, this.categoryFilterStore = void 0, this.sessionsFilterStore = void 0, this.speakerStore = void 0, this.speakerFilterStore = void 0, this.searchStore = void 0, this.searchButtonsStore = void 0, this.bookmarksStore = void 0, this.urlFilterManager = void 0, this.shortcutRegistry = void 0, this.fp = void 0, ar(this, "initialized", rr, this), ar(this, "resetCameraFn", ir, this), this.categoryStore = new ie(this), this.exhibitorStore = new
|
|
3409
|
+
this.categoryStore = void 0, this.exhibitorStore = void 0, this.boothStore = void 0, this.uiState = void 0, this.overlayStore = void 0, this.routeStore = void 0, this.routePlannerStore = void 0, this.toursStore = void 0, this.maplibreStore = void 0, this.layerStore = void 0, this.intercomStore = void 0, this.eventStore = void 0, this.poiTypeStore = void 0, this.poiMarkerStore = void 0, this.heatmapStore = void 0, this.fuzzySearchEngineStore = void 0, this.categoryFilterStore = void 0, this.sessionsFilterStore = void 0, this.speakerStore = void 0, this.speakerFilterStore = void 0, this.searchStore = void 0, this.searchButtonsStore = void 0, this.bookmarksStore = void 0, this.urlFilterManager = void 0, this.shortcutRegistry = void 0, this.fp = void 0, ar(this, "initialized", rr, this), ar(this, "resetCameraFn", ir, this), this.categoryStore = new ie(this), this.exhibitorStore = new Te(this), this.boothStore = new Ne(this), this.routeStore = new Be(this), this.routePlannerStore = new fn(this), this.toursStore = new nr(this), this.uiState = new le(this), this.overlayStore = new Vt(this), this.maplibreStore = new zt(this), this.layerStore = new Ae(), this.intercomStore = new Dt(), this.eventStore = new ne(this), this.heatmapStore = new ee(), this.poiTypeStore = new Yt(this), this.poiMarkerStore = new Jt(this), this.fuzzySearchEngineStore = new St([
|
|
3410
3410
|
"name",
|
|
3411
3411
|
"title",
|
|
3412
3412
|
"fullName",
|
|
@@ -3419,9 +3419,9 @@ var or = (Q = class {
|
|
|
3419
3419
|
!n.length && r.length && this.layerStore.updateVisibility(r[0].layer, !0), t && setTimeout(() => this.moveToList(e.booths.filter((e) => e.visible)), d || f ? 500 : 50);
|
|
3420
3420
|
}
|
|
3421
3421
|
selectBooth(e, t = !0) {
|
|
3422
|
-
var n;
|
|
3423
|
-
let
|
|
3424
|
-
this.uiState.details =
|
|
3422
|
+
var n, r;
|
|
3423
|
+
let i = Array.isArray(e) ? e : [e];
|
|
3424
|
+
this.uiState.details = (n = i[0]) == null ? null : n, i.length === 1 && (r = i[0].schedule) != null && r.length && (this.uiState.desiredOverlaySize = "medium"), i.length === 1 && i[0].layer && !i[0].visible && this.layerStore.mode === Me.Radio && this.layerStore.updateVisibility(i[0].layer, !0), t && setTimeout(() => this.moveToList(i), d || f ? 500 : 50);
|
|
3425
3425
|
}
|
|
3426
3426
|
reset() {
|
|
3427
3427
|
let e = window.__searchi;
|
|
@@ -3462,7 +3462,7 @@ var or = (Q = class {
|
|
|
3462
3462
|
selectEventItem(e, t = !0) {
|
|
3463
3463
|
if (this.uiState.hoveredExhibitor = null, this.uiState.details = e, this.uiState.desiredOverlaySize = "medium", e.boothId) {
|
|
3464
3464
|
let t = this.boothStore.booths.find((t) => t.id === e.boothId);
|
|
3465
|
-
t && t.layer && !t.visible && this.layerStore.mode ===
|
|
3465
|
+
t && t.layer && !t.visible && this.layerStore.mode === Me.Radio && this.layerStore.updateVisibility(t.layer, !0);
|
|
3466
3466
|
}
|
|
3467
3467
|
t && setTimeout(() => {
|
|
3468
3468
|
if (e.boothId) {
|
|
@@ -3534,7 +3534,7 @@ var or = (Q = class {
|
|
|
3534
3534
|
} };
|
|
3535
3535
|
this.uiState.onBoothClick(n);
|
|
3536
3536
|
}
|
|
3537
|
-
if (e.exhibitors.length === 1 && e instanceof
|
|
3537
|
+
if (e.exhibitors.length === 1 && e instanceof je) {
|
|
3538
3538
|
let t = e.exhibitors[0];
|
|
3539
3539
|
a === t ? Re(Ve.ViewBooth, e.name) : this.heatmapStore.forceTrack = {
|
|
3540
3540
|
action: Ve.ViewBooth,
|
|
@@ -3566,8 +3566,8 @@ var or = (Q = class {
|
|
|
3566
3566
|
e = e || this.uiState.listItems;
|
|
3567
3567
|
let t = [];
|
|
3568
3568
|
e.forEach((e) => {
|
|
3569
|
-
if (e instanceof
|
|
3570
|
-
else if (e instanceof
|
|
3569
|
+
if (e instanceof De) t.push(...e.booths.filter((e) => e.visible));
|
|
3570
|
+
else if (e instanceof Ee) e.visible && t.push(e);
|
|
3571
3571
|
else if (e instanceof te && e.boothId) {
|
|
3572
3572
|
let n = this.boothStore.boothById.get(e.boothId);
|
|
3573
3573
|
n != null && n.visible && t.push(n);
|
|
@@ -3596,7 +3596,7 @@ var or = (Q = class {
|
|
|
3596
3596
|
}
|
|
3597
3597
|
openActiveListItem() {
|
|
3598
3598
|
let e = this.uiState.listItems[this.uiState.activeListIndex];
|
|
3599
|
-
e && (o.log("Opening", e), e instanceof
|
|
3599
|
+
e && (o.log("Opening", e), e instanceof De ? this.clickExhibitor(e) : e instanceof oe ? this.clickCategory(e) : e instanceof Ee && this.clickBoothInList2(e));
|
|
3600
3600
|
}
|
|
3601
3601
|
toggleCategoryFilter() {
|
|
3602
3602
|
this.uiState.categoryFilterOpen = !this.uiState.categoryFilterOpen;
|