@expofp/floorplan 3.11.12 → 3.12.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-CdChKHNd.js → Button-CxYYwdV3.js} +6 -6
- package/dist/browser/CookieConsent-Cltod-AQ.js +38 -0
- package/dist/browser/{Debug-BQJRkSVw.js → Debug-DnZLaoNY.js} +14 -14
- package/dist/browser/{Demo-Dh5hQ00u.js → Demo-CbuT3wW6.js} +14 -14
- package/dist/browser/{Free-Be0wdt8h.js → Free-CVEJPdaI.js} +16 -16
- package/dist/browser/{Gallery-DsC-3InH.js → Gallery-D2dTKIqn.js} +24 -24
- package/dist/browser/{GpsLoader-l-DhiN5_.js → GpsLoader-Bpn0jys4.js} +51 -50
- package/dist/browser/{KioskStore-hBGigttj.js → KioskStore-Bf3tKr77.js} +31 -31
- package/dist/browser/{MaplibreAdapter-B2PgQxAb.js → MaplibreAdapter-D6Fqdelu.js} +2360 -2331
- package/dist/browser/{ModalContainer-DngQzOVE.js → ModalContainer-C7E4QKwY.js} +13 -13
- package/dist/browser/{PermissionNotice-Bstp1Ig2.js → PermissionNotice-CTckXfzd.js} +7 -7
- package/dist/browser/{SetKioskMode-BXTIENxU.js → SetKioskMode-BPvChiTX.js} +9 -9
- package/dist/browser/ShowKiosk-97iuNiDq.js +33 -0
- package/dist/browser/{TouchHand-CZ4-CE4e.js → TouchHand-BEPM0Ix6.js} +5 -5
- package/dist/browser/{ViewerMenuPanel-Dc7XYnXW.js → ViewerMenuPanel-CTDMmojE.js} +25 -25
- package/dist/browser/{add-debug-secret-listener-DOVFjqJo.js → add-debug-secret-listener-rtzwkssg.js} +1 -1
- package/dist/browser/{boolean-editor-B-S4WhPP.js → boolean-editor-Buj1Gh2Q.js} +10 -10
- package/dist/browser/{bootIntercom-D41iCVYM.js → bootIntercom-CLXK1aCU.js} +3 -3
- package/dist/browser/{booth-by-xy-S_lLb4ur.js → booth-by-xy-DYsVPBrO.js} +292 -295
- package/dist/browser/bundle.json +78 -63
- package/dist/browser/{classnames-BeH2kA4o.js → classnames-C7JqIDkz.js} +2 -2
- package/dist/browser/{client-Be_UxAZT.js → client-DRCaFfyq.js} +5 -5
- package/dist/browser/{components-RZNETvKi.js → components-CoSFc4pe.js} +1369 -1316
- package/dist/browser/{debug-overlay-DjwfpG69.js → debug-overlay-l2O5ATYR.js} +415 -415
- package/dist/browser/{debug-ui-D_afzMrh.js → debug-ui-fkLeLMTN.js} +7 -7
- package/dist/browser/{dist-B-m8ZFBo.js → dist-B8Jegpa2.js} +4 -4
- package/dist/browser/{dist-CZz9piI4.js → dist-Br0u22MB.js} +6 -6
- package/dist/browser/{dist-DKu24Nie.js → dist-DQ04vk8X.js} +7 -7
- package/dist/browser/{browser-pQxW93uF.js → efp-debug-init-DolwvXvu.js} +61 -14
- package/dist/browser/enum-editor-BRlr42ZG.js +34 -0
- package/dist/browser/{es5-DPnfG3EX.js → es5-hugWWUki.js} +2 -2
- package/dist/browser/{event-not-found-CE2zhFPJ.js → event-not-found-DrCgFYgQ.js} +1 -1
- package/dist/browser/{exports-BtXbxSeU.js → exports-DY1Pe4xZ.js} +1 -1
- package/dist/browser/{favicon-B7xwIKyS.js → favicon-v6HqMJRd.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BiAebF_i.js → fetch-retry.umd-CtpzesBT.js} +2 -2
- package/dist/browser/{flex-DGirEfRz.js → flex-5lvsJlaO.js} +6 -6
- package/dist/browser/{floorplan.loader-DSx2rwZS.js → floorplan.loader-D4AZdgsy.js} +890 -902
- package/dist/browser/floorplan.ready-BnsAv7j1.js +1326 -0
- package/dist/browser/{fuse-BuZwVNBr.js → fuse-BWnB1Pgo.js} +2 -2
- package/dist/browser/i18n-wZml67KB.js +8659 -0
- package/dist/browser/index.js +49 -117
- package/dist/browser/{index.module-BktNOlw2.js → index.module-GNnIO9vr.js} +23 -23
- package/dist/browser/integrateKiosk-uxqH2FgD.js +28 -0
- package/dist/browser/{is-webview-DxtfBbGj.js → is-webview-BlxQlyaS.js} +1 -1
- package/dist/browser/{jsx-runtime-DftMjMlZ.js → jsx-runtime-xVcN9g8F.js} +2 -2
- package/dist/browser/{lib-_QD5dt19.js → lib-CIYjsvFB.js} +5 -5
- package/dist/browser/loadImage-DZxHBSrL.js +58 -0
- package/dist/browser/{logDeviceInfo-CiCKGxKy.js → logDeviceInfo-BQn3HG5l.js} +9 -9
- package/dist/browser/{main-C6h73Uc5.js → main-DKRaY1QU.js} +1 -1
- package/dist/browser/mobx-rpWRRJB9.js +24 -0
- package/dist/browser/optional-boolean-editor-fWgfIGvs.js +20 -0
- package/dist/browser/optional-enum-editor-CQ8-ut60.js +34 -0
- package/dist/browser/optional-string-editor-BP4b7LsR.js +30 -0
- package/dist/browser/{particles.min-CiLQfUCo.js → particles.min-D-VdW4Qr.js} +2 -2
- package/dist/browser/{prop-types-8E5fCOgQ.js → prop-types-CE7JeEE-.js} +2 -2
- package/dist/browser/{react-B9lmaQYI.js → react-DxSEhu-j.js} +2 -2
- package/dist/browser/{react-dom-CPWfZdj5.js → react-dom-CqQZIZ5q.js} +4 -4
- package/dist/browser/reset-all-settings--GzHxj4F.js +190 -0
- package/dist/browser/{rolldown-runtime-CJax_ib9.js → rolldown-runtime-Ik1ocWLm.js} +1 -1
- package/dist/browser/{enum-editor-BtYkUhft.js → select-DQmL3TsB.js} +261 -283
- package/dist/browser/{settings-BufKqYwI.js → settings-BndqjdZx.js} +3 -3
- package/dist/browser/{settings-item-D3AzjjoO.js → settings-item-5zzAH3FT.js} +7 -7
- package/dist/browser/{store-DGdGzsa_.js → store-CgXKlx2n.js} +7328 -7646
- package/dist/browser/string-editor-Bxbp0JHl.js +30 -0
- package/dist/browser/text-field-ySWl7XqC.js +88 -0
- package/dist/browser/{theme-DvIMSzdB.js → theme-ByGstXaJ.js} +9 -9
- package/dist/browser/ui-LJGsaayP.js +43 -0
- package/dist/browser/{useRenderTarget-hqd7cVeW.js → useRenderTarget-DaUlOis9.js} +5 -5
- package/dist/esm/components/Booth/Booth.js +1 -1
- package/dist/esm/components/EntityListRow.js +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/Kiosk/ShowKiosk.js +1 -1
- package/dist/esm/components/LanguageRowContainer.d.ts +1 -0
- package/dist/esm/components/Layout.d.ts +2 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-bg.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreWrapper.js +1 -1
- package/dist/esm/components/Maplibre/utils/resolve-map-style.d.ts +15 -0
- package/dist/esm/components/Maplibre/utils/resolve-map-style.js +1 -0
- package/dist/esm/components/Menu.d.ts +3 -2
- package/dist/esm/components/Menu.js +1 -1
- package/dist/esm/components/OverlayContainer.d.ts +2 -1
- package/dist/esm/components/OverlayContainer.js +1 -1
- package/dist/esm/components/Ws.js +1 -1
- package/dist/esm/constants.d.ts +7 -13
- package/dist/esm/constants.js +1 -1
- package/dist/esm/data/fp-payloads.d.ts +27 -0
- package/dist/esm/data/fp-payloads.js +1 -0
- package/dist/esm/data/fpGeo.js +1 -1
- package/dist/esm/data/index.d.ts +8 -2
- package/dist/esm/data/index.js +1 -1
- package/dist/esm/data/svg.d.ts +4 -1
- package/dist/esm/data/svg.js +1 -1
- package/dist/esm/floorplan.loader.d.ts +13 -4
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.d.ts +8 -0
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/intercom/shouldLoad.d.ts +2 -2
- package/dist/esm/intercom/shouldLoad.js +1 -1
- package/dist/esm/load-dev.d.ts +44 -0
- package/dist/esm/load-dev.js +1 -0
- package/dist/esm/load.d.ts +3 -3
- package/dist/esm/load.js +3 -3
- package/dist/esm/renderer/engine-core/fonts.js +1 -1
- package/dist/esm/services/URLFilterManager.d.ts +15 -0
- package/dist/esm/services/URLFilterManager.js +1 -1
- package/dist/esm/services/multi-slug.d.ts +20 -0
- package/dist/esm/services/multi-slug.js +1 -0
- package/dist/esm/services/url-dispatch.d.ts +24 -0
- package/dist/esm/services/url-dispatch.js +1 -0
- package/dist/esm/services/url-sync.d.ts +36 -0
- package/dist/esm/services/url-sync.js +1 -0
- package/dist/esm/store/BoothStore.d.ts +2 -1
- package/dist/esm/store/ExhibitorStore.d.ts +3 -2
- package/dist/esm/store/ExhibitorStore.js +1 -1
- package/dist/esm/store/LayerStore.js +1 -1
- package/dist/esm/store/MaplibreStore.js +1 -1
- package/dist/esm/store/PoiTypeStore.d.ts +1 -1
- package/dist/esm/store/SearchStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +1 -5
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/init-bookmarks.d.ts +2 -0
- package/dist/esm/store/init/init-booths.js +1 -1
- package/dist/esm/store/init/init-categories.js +1 -1
- package/dist/esm/store/init/init-events.js +1 -1
- package/dist/esm/store/init/init-exhibitors.js +1 -1
- package/dist/esm/store/init/init-layers.js +1 -1
- package/dist/esm/store/types.d.ts +2 -1
- package/dist/esm/tools/event-not-found.d.ts +4 -3
- package/dist/esm/tools/gtag.d.ts +3 -2
- package/dist/esm/tools/gtag.js +1 -1
- package/dist/esm/tools/handleDebugMode.d.ts +17 -0
- package/dist/esm/tools/handleDebugMode.js +1 -1
- package/dist/esm/tools/loaders.d.ts +0 -2
- package/dist/esm/tools/loaders.js +1 -1
- package/dist/esm/tools/rebookingUrl.js +1 -1
- package/dist/esm/tools/reset.js +1 -1
- package/dist/esm/tools/settings.js +1 -1
- package/dist/esm/tools/track-event.js +1 -1
- package/dist/esm/types/drawing.types.d.ts +18 -0
- package/dist/esm/types.d.ts +52 -38
- package/dist/esm/utils/areLayersEnabled.js +1 -1
- package/dist/esm/utils/camera-map-settings.d.ts +20 -0
- package/dist/esm/utils/camera-map-settings.js +1 -0
- package/dist/esm/utils/customCommands.js +1 -1
- package/dist/esm/utils/getLogoUrl.d.ts +8 -1
- package/dist/esm/utils/getLogoUrl.js +1 -1
- package/dist/esm/utils/heatmap-enabled.d.ts +13 -0
- package/dist/esm/utils/heatmap-enabled.js +1 -0
- package/dist/esm/utils/i18n.js +1 -1
- package/dist/esm/utils/imageloader.js +1 -1
- package/dist/esm/utils/is-debug.d.ts +0 -8
- package/dist/esm/utils/is-debug.js +1 -1
- package/dist/esm/utils/legacy-storage-keys.d.ts +16 -0
- package/dist/esm/utils/legacy-storage-keys.js +1 -0
- package/dist/esm/utils/loadCustomCss.d.ts +2 -2
- package/dist/esm/utils/mapEntity.d.ts +1 -0
- package/dist/esm/utils/preview-exhibitor.d.ts +1 -1
- package/dist/esm/wayfinding/adapters/graphDataSource.d.ts +1 -1
- package/dist/esm/wayfinding/adapters/graphDataSource.js +1 -1
- package/package.json +8 -5
- package/dist/browser/CookieConsent-DmWcbyRQ.js +0 -38
- package/dist/browser/ShowKiosk-CpIQKRDF.js +0 -28
- package/dist/browser/efp-debug-init-B-EZE_S2.js +0 -42
- package/dist/browser/floorplan.ready-CX4L0Qyc.js +0 -1406
- package/dist/browser/i18n-BqlnpLSm.js +0 -3942
- package/dist/browser/loadImage-CvnSDOL0.js +0 -121
- package/dist/browser/mobx-71cpvuRe.js +0 -24
- package/dist/browser/reset-all-settings-CAVnp-HU.js +0 -141
- package/dist/browser/string-editor-BEBEF1X7.js +0 -108
- package/dist/browser/ui-DIQ3vheI.js +0 -43
- package/dist/esm/_NEW_types.d.ts +0 -6
- package/dist/esm/_NEW_types.js +0 -1
- package/dist/esm/_misc_to_move/manifest.d.ts +0 -14
- package/dist/esm/_misc_to_move/ref.d.ts +0 -6
- package/dist/esm/_misc_to_move/ref.js +0 -1
- package/dist/esm/data/Flags.d.ts +0 -23
- package/dist/esm/data/Flags.js +0 -1
- package/dist/esm/data/validate-data.d.ts +0 -3
- package/dist/esm/data/validate-data.js +0 -1
- package/dist/esm/services/routing.d.ts +0 -7
- package/dist/esm/services/routing.js +0 -1
- package/dist/esm/utils/mergeExhibitors.d.ts +0 -3
- package/dist/esm/utils/mergeExhibitors.js +0 -1
- /package/dist/esm/{_misc_to_move/manifest.js → types/drawing.types.js} +0 -0
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
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.11.12" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "73823f57-9217-444d-955f-f460e4483474", e._sentryDebugIdIdentifier = "sentry-dbid-73823f57-9217-444d-955f-f460e4483474");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import "./efp-debug-init-B-EZE_S2.js";
|
|
10
|
-
import "./settings-BufKqYwI.js";
|
|
11
|
-
import { L as e, l as t, lt as n } from "./i18n-BqlnpLSm.js";
|
|
12
|
-
//#region src/tools/rebookingUrl.ts
|
|
13
|
-
var r = "rt";
|
|
14
|
-
function i() {
|
|
15
|
-
return new URLSearchParams(decodeURIComponent(window.location.search)).get(r);
|
|
16
|
-
}
|
|
17
|
-
function a() {
|
|
18
|
-
let e = i();
|
|
19
|
-
return e || (e = sessionStorage.getItem(r)), e;
|
|
20
|
-
}
|
|
21
|
-
function o(e) {
|
|
22
|
-
sessionStorage.setItem(r, e);
|
|
23
|
-
}
|
|
24
|
-
function s(e, t) {
|
|
25
|
-
let n = new URL(e, "https://app.expofp.com/");
|
|
26
|
-
for (let [e, r] of Object.entries(t)) n.searchParams.set(e, r);
|
|
27
|
-
return n.href;
|
|
28
|
-
}
|
|
29
|
-
//#endregion
|
|
30
|
-
//#region src/utils/urlEncoding.ts
|
|
31
|
-
function c(e) {
|
|
32
|
-
if (!e || e.length === 0) return "";
|
|
33
|
-
let t = e.map((e) => encodeURIComponent(e.trim())).join(",");
|
|
34
|
-
return n.log("URLEncoding: encoding string array:", {
|
|
35
|
-
original: e,
|
|
36
|
-
encoded: t
|
|
37
|
-
}), t;
|
|
38
|
-
}
|
|
39
|
-
function l(e) {
|
|
40
|
-
if (!e) return [];
|
|
41
|
-
try {
|
|
42
|
-
let t = e.split(",").map((e) => decodeURIComponent(e.trim())).filter(Boolean);
|
|
43
|
-
return n.log("URLEncoding: decoding string array:", {
|
|
44
|
-
encoded: e,
|
|
45
|
-
decoded: t
|
|
46
|
-
}), t;
|
|
47
|
-
} catch (t) {
|
|
48
|
-
return n.warn("URLEncoding: failed to decode string array:", e, t), [];
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
function u(e) {
|
|
52
|
-
if (!e) return null;
|
|
53
|
-
let t = encodeURIComponent(e.trim());
|
|
54
|
-
return n.log("URLEncoding: encoding string:", {
|
|
55
|
-
original: e,
|
|
56
|
-
encoded: t
|
|
57
|
-
}), t;
|
|
58
|
-
}
|
|
59
|
-
function d(e) {
|
|
60
|
-
if (!e) return null;
|
|
61
|
-
try {
|
|
62
|
-
let t = decodeURIComponent(e.trim());
|
|
63
|
-
return n.log("URLEncoding: decoding string:", {
|
|
64
|
-
encoded: e,
|
|
65
|
-
decoded: t
|
|
66
|
-
}), t;
|
|
67
|
-
} catch (t) {
|
|
68
|
-
return n.warn("URLEncoding: failed to decode string:", e, t), null;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
function f(e) {
|
|
72
|
-
return e.map((e) => e.toLowerCase());
|
|
73
|
-
}
|
|
74
|
-
function p(e) {
|
|
75
|
-
return e ? e.toLowerCase() : null;
|
|
76
|
-
}
|
|
77
|
-
//#endregion
|
|
78
|
-
//#region src/utils/index.ts
|
|
79
|
-
function m(e) {
|
|
80
|
-
return e * parseFloat(getComputedStyle(document.documentElement).fontSize);
|
|
81
|
-
}
|
|
82
|
-
function h(e, t) {
|
|
83
|
-
let n = [];
|
|
84
|
-
for (let r = 0; r < e.length; r += t) n.push(e.slice(r, r + t));
|
|
85
|
-
return n;
|
|
86
|
-
}
|
|
87
|
-
function g(e) {
|
|
88
|
-
e.sort(function(e, t) {
|
|
89
|
-
var n = e.name.toLowerCase(), r = t.name.toLowerCase();
|
|
90
|
-
return n < r ? -1 : +(n > r);
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
var _ = document.createElement("canvas"), v = !!(_.getContext("webgl") || _.getContext("experimental-webgl"));
|
|
94
|
-
if (!v) {
|
|
95
|
-
let e = document.createElement("div");
|
|
96
|
-
e.innerHTML = "<!--no webgl-->", document.body.appendChild(e);
|
|
97
|
-
}
|
|
98
|
-
function y(e) {
|
|
99
|
-
for (var t = e.length, n, r; t !== 0;) r = Math.floor(Math.random() * t), --t, n = e[t], e[t] = e[r], e[r] = n;
|
|
100
|
-
return e;
|
|
101
|
-
}
|
|
102
|
-
function b(e) {
|
|
103
|
-
return new Promise((t) => setTimeout(t, e));
|
|
104
|
-
}
|
|
105
|
-
//#endregion
|
|
106
|
-
//#region src/utils/is-debug.ts
|
|
107
|
-
if (typeof window < "u") {
|
|
108
|
-
var x, S;
|
|
109
|
-
((S = (x = window).efpDebugUi) == null ? x.efpDebugUi = {} : S)[e] = { type: "boolean" };
|
|
110
|
-
}
|
|
111
|
-
var C = t && localStorage.getItem("efp:debug") === "true";
|
|
112
|
-
//#endregion
|
|
113
|
-
//#region src/utils/loadImage.ts
|
|
114
|
-
function w(e) {
|
|
115
|
-
return new Promise((t) => {
|
|
116
|
-
var n = new Image();
|
|
117
|
-
n.onerror = () => t(null), n.onload = () => t(n), n.crossOrigin = "anonymous", n.src = e;
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
//#endregion
|
|
121
|
-
export { i as _, m as a, g as c, u as d, c as f, a as g, s as h, v as i, d as l, p as m, C as n, y as o, f as p, h as r, b as s, w as t, l as u, o as v };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
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.11.12" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d547b543-1992-4e79-86f6-e3fab062586c", e._sentryDebugIdIdentifier = "sentry-dbid-d547b543-1992-4e79-86f6-e3fab062586c");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-CJax_ib9.js";
|
|
10
|
-
import { t } from "./react-B9lmaQYI.js";
|
|
11
|
-
import { f as n, v as r } from "./i18n-BqlnpLSm.js";
|
|
12
|
-
//#region src/utils/mobx.ts
|
|
13
|
-
var i = /* @__PURE__ */ e(t(), 1);
|
|
14
|
-
function a(e, t) {
|
|
15
|
-
return (0, i.useEffect)(() => n(e, t), []);
|
|
16
|
-
}
|
|
17
|
-
function o(e, t, n) {
|
|
18
|
-
return (0, i.useEffect)(() => r(e, t, n), []);
|
|
19
|
-
}
|
|
20
|
-
function s(e) {
|
|
21
|
-
return (0, i.useEffect)(e, []);
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
export { s as n, o as r, a as t };
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
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.11.12" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "83b129d9-1970-4a9f-927d-8eae0b08dfb3", e._sentryDebugIdIdentifier = "sentry-dbid-83b129d9-1970-4a9f-927d-8eae0b08dfb3");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-CJax_ib9.js";
|
|
10
|
-
import { t } from "./react-B9lmaQYI.js";
|
|
11
|
-
import { t as n } from "./jsx-runtime-DftMjMlZ.js";
|
|
12
|
-
//#region ../debug/src/lib/settings/setting-registry.ts
|
|
13
|
-
var r = /* @__PURE__ */ e(t(), 1), i = [], a = [], o = n(), s = "efp-local-storage";
|
|
14
|
-
function c(e) {
|
|
15
|
-
let { key: t, default: n, Editor: c, context: u, onChange: d, serialize: f = JSON.stringify, deserialize: p = (e) => JSON.parse(e) } = e, m = () => {
|
|
16
|
-
let e = localStorage.getItem(t);
|
|
17
|
-
if (e === null) return n;
|
|
18
|
-
try {
|
|
19
|
-
return p(e);
|
|
20
|
-
} catch {
|
|
21
|
-
return n;
|
|
22
|
-
}
|
|
23
|
-
}, h = (e) => {
|
|
24
|
-
localStorage.setItem(t, f(e)), d == null || d(e), l(t);
|
|
25
|
-
}, g = () => {
|
|
26
|
-
localStorage.removeItem(t), d == null || d(n), l(t);
|
|
27
|
-
};
|
|
28
|
-
a.push(g);
|
|
29
|
-
function _() {
|
|
30
|
-
let [e, n] = (0, r.useState)(m());
|
|
31
|
-
return (0, r.useEffect)(() => {
|
|
32
|
-
let e = () => n(m()), r = (n) => {
|
|
33
|
-
n.key === t && e();
|
|
34
|
-
}, i = (n) => {
|
|
35
|
-
let { detail: r } = n;
|
|
36
|
-
(r == null ? void 0 : r.key) === t && e();
|
|
37
|
-
};
|
|
38
|
-
return window.addEventListener("storage", r), window.addEventListener(s, i), () => {
|
|
39
|
-
window.removeEventListener("storage", r), window.removeEventListener(s, i);
|
|
40
|
-
};
|
|
41
|
-
}, []), [e, h];
|
|
42
|
-
}
|
|
43
|
-
let v = () => {
|
|
44
|
-
let [e, n] = _();
|
|
45
|
-
return /* @__PURE__ */ (0, o.jsx)(c, {
|
|
46
|
-
label: t,
|
|
47
|
-
value: e,
|
|
48
|
-
context: u,
|
|
49
|
-
onChange: n
|
|
50
|
-
});
|
|
51
|
-
};
|
|
52
|
-
return v.displayName = `DebugSetting(${t})`, i.push({
|
|
53
|
-
key: t,
|
|
54
|
-
Editor: v
|
|
55
|
-
}), {
|
|
56
|
-
get: m,
|
|
57
|
-
set: h,
|
|
58
|
-
reset: g,
|
|
59
|
-
useState: _
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
function l(e) {
|
|
63
|
-
window.dispatchEvent(new CustomEvent(s, { detail: { key: e } }));
|
|
64
|
-
}
|
|
65
|
-
//#endregion
|
|
66
|
-
//#region ../debug/src/lib/settings/register-boolean-setting.ts
|
|
67
|
-
function u(e) {
|
|
68
|
-
var t;
|
|
69
|
-
let n = r.lazy(() => import("./boolean-editor-B-S4WhPP.js").then((e) => ({ default: e.BooleanEditor })));
|
|
70
|
-
return c({
|
|
71
|
-
key: e.key,
|
|
72
|
-
default: (t = e.default) == null ? !1 : t,
|
|
73
|
-
Editor: n,
|
|
74
|
-
onChange: e.onChange
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
//#endregion
|
|
78
|
-
//#region ../debug/src/lib/settings/register-enum-setting.ts
|
|
79
|
-
function d(e) {
|
|
80
|
-
let t = r.lazy(() => import("./enum-editor-BtYkUhft.js").then((e) => ({ default: e.EnumEditor })));
|
|
81
|
-
return c({
|
|
82
|
-
key: e.key,
|
|
83
|
-
default: e.default,
|
|
84
|
-
Editor: t,
|
|
85
|
-
context: { values: e.values },
|
|
86
|
-
onChange: e.onChange
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
//#endregion
|
|
90
|
-
//#region ../debug/src/lib/settings/register-string-setting.ts
|
|
91
|
-
function f(e) {
|
|
92
|
-
var t;
|
|
93
|
-
let n = r.lazy(() => import("./string-editor-BEBEF1X7.js").then((e) => ({ default: e.StringEditor })));
|
|
94
|
-
return c({
|
|
95
|
-
key: e.key,
|
|
96
|
-
default: (t = e.default) == null ? "" : t,
|
|
97
|
-
Editor: n,
|
|
98
|
-
context: { placeholder: e.placeholder },
|
|
99
|
-
onChange: e.onChange,
|
|
100
|
-
serialize: (e) => e,
|
|
101
|
-
deserialize: (e) => e
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
//#endregion
|
|
105
|
-
//#region ../debug/src/lib/settings/adopt-global-settings.ts
|
|
106
|
-
var p = /* @__PURE__ */ new Set();
|
|
107
|
-
function m() {
|
|
108
|
-
if (typeof window > "u") return;
|
|
109
|
-
let e = window.efpDebugUi;
|
|
110
|
-
if (e) {
|
|
111
|
-
for (let [t, n] of Object.entries(e)) if (!p.has(t)) switch (p.add(t), n.type) {
|
|
112
|
-
case "boolean":
|
|
113
|
-
u({
|
|
114
|
-
key: t,
|
|
115
|
-
default: n.default
|
|
116
|
-
});
|
|
117
|
-
break;
|
|
118
|
-
case "string":
|
|
119
|
-
f({
|
|
120
|
-
key: t,
|
|
121
|
-
default: n.default,
|
|
122
|
-
placeholder: n.placeholder
|
|
123
|
-
});
|
|
124
|
-
break;
|
|
125
|
-
case "enum":
|
|
126
|
-
d({
|
|
127
|
-
key: t,
|
|
128
|
-
values: n.values,
|
|
129
|
-
default: n.default
|
|
130
|
-
});
|
|
131
|
-
break;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
//#endregion
|
|
136
|
-
//#region ../debug/src/lib/settings/reset-all-settings.ts
|
|
137
|
-
function h() {
|
|
138
|
-
a.forEach((e) => e());
|
|
139
|
-
}
|
|
140
|
-
//#endregion
|
|
141
|
-
export { u as a, d as i, m as n, i as o, f as r, h as t };
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
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.11.12" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "da8db9a3-7430-483e-912d-7db8503a8231", e._sentryDebugIdIdentifier = "sentry-dbid-da8db9a3-7430-483e-912d-7db8503a8231");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-CJax_ib9.js";
|
|
10
|
-
import { t } from "./react-B9lmaQYI.js";
|
|
11
|
-
import { t as n } from "./jsx-runtime-DftMjMlZ.js";
|
|
12
|
-
import { t as r } from "./classnames-BeH2kA4o.js";
|
|
13
|
-
import { D as i, i as a, l as o, n as s, s as c, u as l, y as u } from "./flex-DGirEfRz.js";
|
|
14
|
-
import { t as d } from "./settings-item-D3AzjjoO.js";
|
|
15
|
-
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@19.2._925f851475345a9e5e368d312bb98178/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js
|
|
16
|
-
var f = {
|
|
17
|
-
size: {
|
|
18
|
-
type: "enum",
|
|
19
|
-
className: "rt-r-size",
|
|
20
|
-
values: [
|
|
21
|
-
"1",
|
|
22
|
-
"2",
|
|
23
|
-
"3"
|
|
24
|
-
],
|
|
25
|
-
default: "2",
|
|
26
|
-
responsive: !0
|
|
27
|
-
},
|
|
28
|
-
variant: {
|
|
29
|
-
type: "enum",
|
|
30
|
-
className: "rt-variant",
|
|
31
|
-
values: [
|
|
32
|
-
"classic",
|
|
33
|
-
"surface",
|
|
34
|
-
"soft"
|
|
35
|
-
],
|
|
36
|
-
default: "surface"
|
|
37
|
-
},
|
|
38
|
-
...u,
|
|
39
|
-
...c
|
|
40
|
-
}, p = {
|
|
41
|
-
side: {
|
|
42
|
-
type: "enum",
|
|
43
|
-
values: ["left", "right"]
|
|
44
|
-
},
|
|
45
|
-
...u,
|
|
46
|
-
gap: s.gap,
|
|
47
|
-
px: a.px,
|
|
48
|
-
pl: a.pl,
|
|
49
|
-
pr: a.pr
|
|
50
|
-
}, m = /* @__PURE__ */ e(t()), h = /* @__PURE__ */ e(r()), g = m.forwardRef((e, t) => {
|
|
51
|
-
let n = m.useRef(null), { children: r, className: a, color: s, radius: c, style: u, ...d } = l(e, f, o);
|
|
52
|
-
return m.createElement("div", {
|
|
53
|
-
"data-accent-color": s,
|
|
54
|
-
"data-radius": c,
|
|
55
|
-
style: u,
|
|
56
|
-
className: (0, h.default)("rt-TextFieldRoot", a),
|
|
57
|
-
onPointerDown: (e) => {
|
|
58
|
-
let t = e.target;
|
|
59
|
-
if (t.closest("input, button, a")) return;
|
|
60
|
-
let r = n.current;
|
|
61
|
-
if (!r) return;
|
|
62
|
-
let i = t.closest("\n .rt-TextFieldSlot[data-side='right'],\n .rt-TextFieldSlot:not([data-side='right']) ~ .rt-TextFieldSlot:not([data-side='left'])\n ") ? r.value.length : 0;
|
|
63
|
-
requestAnimationFrame(() => {
|
|
64
|
-
try {
|
|
65
|
-
r.setSelectionRange(i, i);
|
|
66
|
-
} catch {}
|
|
67
|
-
r.focus();
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
}, m.createElement("input", {
|
|
71
|
-
spellCheck: "false",
|
|
72
|
-
...d,
|
|
73
|
-
ref: i(n, t),
|
|
74
|
-
className: "rt-reset rt-TextFieldInput"
|
|
75
|
-
}), r);
|
|
76
|
-
});
|
|
77
|
-
g.displayName = "TextField.Root";
|
|
78
|
-
var _ = m.forwardRef((e, t) => {
|
|
79
|
-
let { className: n, color: r, side: i, ...a } = l(e, p);
|
|
80
|
-
return m.createElement("div", {
|
|
81
|
-
"data-accent-color": r,
|
|
82
|
-
"data-side": i,
|
|
83
|
-
...a,
|
|
84
|
-
ref: t,
|
|
85
|
-
className: (0, h.default)("rt-TextFieldSlot", n)
|
|
86
|
-
});
|
|
87
|
-
});
|
|
88
|
-
_.displayName = "TextField.Slot";
|
|
89
|
-
//#endregion
|
|
90
|
-
//#region ../debug/src/lib/ui/string-editor.tsx
|
|
91
|
-
var v = n(), y = (e) => {
|
|
92
|
-
var t;
|
|
93
|
-
return /* @__PURE__ */ (0, v.jsx)(d, {
|
|
94
|
-
label: e.label,
|
|
95
|
-
children: /* @__PURE__ */ (0, v.jsx)(g, {
|
|
96
|
-
placeholder: (t = e.context) == null ? void 0 : t.placeholder,
|
|
97
|
-
value: e.value,
|
|
98
|
-
onChange: (t) => e.onChange(t.target.value),
|
|
99
|
-
style: {
|
|
100
|
-
flexGrow: 1,
|
|
101
|
-
minWidth: 220
|
|
102
|
-
}
|
|
103
|
-
})
|
|
104
|
-
});
|
|
105
|
-
};
|
|
106
|
-
y.displayName = "StringEditor";
|
|
107
|
-
//#endregion
|
|
108
|
-
export { y as StringEditor };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
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.11.12" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "43912113-9328-4069-8890-5091c8745c34", e._sentryDebugIdIdentifier = "sentry-dbid-43912113-9328-4069-8890-5091c8745c34");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-CJax_ib9.js";
|
|
10
|
-
import { a as t, r as n } from "./reset-all-settings-CAVnp-HU.js";
|
|
11
|
-
import { t as r } from "./jsx-runtime-DftMjMlZ.js";
|
|
12
|
-
import "./settings-BufKqYwI.js";
|
|
13
|
-
import { t as i } from "./browser-pQxW93uF.js";
|
|
14
|
-
import { t as a } from "./add-debug-secret-listener-DOVFjqJo.js";
|
|
15
|
-
//#region ../debug/src/lib/ui/render-debug-ui.tsx
|
|
16
|
-
var o = /* @__PURE__ */ e(i(), 1), s = r(), c = !1;
|
|
17
|
-
function l() {
|
|
18
|
-
if (c) return;
|
|
19
|
-
c = !0;
|
|
20
|
-
let r = t({ key: "efp:show-debug-button" });
|
|
21
|
-
n({
|
|
22
|
-
key: "debug",
|
|
23
|
-
placeholder: "e.g. efp:*",
|
|
24
|
-
onChange: (e) => {
|
|
25
|
-
e ? o.default.enable(e) : o.default.disable();
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
let i = async (t) => {
|
|
29
|
-
let { DebugUi: n } = await import("./debug-ui-D_afzMrh.js"), { createRoot: i } = await import("./client-Be_UxAZT.js").then((t) => /* @__PURE__ */ e(t.default, 1)), a = document.createElement("div");
|
|
30
|
-
document.body.appendChild(a), i(a).render(/* @__PURE__ */ (0, s.jsx)(n, {
|
|
31
|
-
useDebugButtonState: r.useState,
|
|
32
|
-
open: t
|
|
33
|
-
}));
|
|
34
|
-
};
|
|
35
|
-
if (r.get()) i(!1);
|
|
36
|
-
else {
|
|
37
|
-
let e = a(() => {
|
|
38
|
-
e(), r.set(!0), i(!0);
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
//#endregion
|
|
43
|
-
export { l as renderDebugUi };
|
package/dist/esm/_NEW_types.d.ts
DELETED
package/dist/esm/_NEW_types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const o={BoothByXy:Symbol("BoothByXy"),RootStore:Symbol("RootStore")};export default o;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ExpoFP Manifest format
|
|
3
|
-
* TODO: Keep this in sync with packages/data/src/lib/manifest.ts until this copy is removed.
|
|
4
|
-
*/
|
|
5
|
-
export interface Manifest {
|
|
6
|
-
expo: string;
|
|
7
|
-
/** @deprecated */
|
|
8
|
-
legacyDataVersion?: {
|
|
9
|
-
version: string;
|
|
10
|
-
};
|
|
11
|
-
/** @deprecated */
|
|
12
|
-
legacyDataUrlBase?: string;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=manifest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{};
|
package/dist/esm/data/Flags.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export interface FloorPlanFlags {
|
|
2
|
-
/**
|
|
3
|
-
* Enable experimental MapLibre GL JS support.
|
|
4
|
-
*/
|
|
5
|
-
enableExperimentalMaplibre?: boolean;
|
|
6
|
-
/**
|
|
7
|
-
* Custom `setkiosk` phrase.
|
|
8
|
-
*/
|
|
9
|
-
customSetKiosk?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Hide booth number badges.
|
|
12
|
-
*/
|
|
13
|
-
hideBoothBadges?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Enable live bus/transport routing on the floor plan.
|
|
16
|
-
*
|
|
17
|
-
* Disabled by default: most plans have no transit routes, and probing for
|
|
18
|
-
* them issues an extra HTTP request on every load. Set to `true` only for
|
|
19
|
-
* plans that actually provide bus routes.
|
|
20
|
-
*/
|
|
21
|
-
busRoutes?: boolean;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=Flags.d.ts.map
|
package/dist/esm/data/Flags.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import n from"../tools/logger";import m from"../tools/settings";import c from"../utils/is-debug";import{isLocalStorageAvailable as b}from"../utils/localStorage";export default function h(e){const t=m.EXPO;if(e.exhibitors||(e.exhibitors=[]),e.booths||(e.booths=[]),e.categories||(e.categories=[]),e.hide3dMapDefault===void 0&&(e.hide3dMapDefault=!1),e.exhibitors.length>0)for(const o of e.booths)delete o.reserved;if(e.free&&(e.noFeatured=!0,e.expoFpAd=!0),(o=>{if(o){const i=new Date().getTime(),r=new Date(o).getTime();i<r&&(e.isTrial=!0)}})(e.trialExpiresAt),c||b&&localStorage.getItem("validate")==="1")for(const o of Object.keys(e)){if(e[o][Symbol.iterator]!=="function")continue;const i=new Set;for(const r of e[o]){const l=Object.keys(r);for(const s of l){const f=r[s];f===""?i.add(`data.${o}.${s} is sometimes empty string. Don't pass empty strings.`):f===!1?i.add(`data.${o}.${s} is sometimes false. Don't pass false for booleans.`):Array.isArray(f)&&f.length===0&&i.add(`data.${o}.${s} is sometimes empty array. Don't pass empty arrays.`)}}i.forEach(r=>n.warn(r))}if(!e.logo&&t==="expo"&&(e.logo="../logo.svg"),e.logo||(e.logo="../"+t+"-logo.png"),!e.homeUrl&&t==="jtrade19"&&(e.homeUrl="https://www.jtrade.co.uk/"),e.boothTerm||(e.boothTerm="Booth"),e.exhibitorTermPlural||(e.exhibitorTermPlural="Exhibitors"),e.levelTerm||(e.levelTerm=""),t==="expo"){const o=[2567,2704,2681,2592,2740,2709,2482,2609,2734,2696,2840,2566,2736];e.exhibitors.filter(i=>i.logo&&o.indexOf(i.id)!==-1).forEach(i=>i.advertise=!0)}for(const o of e.booths){const i=o;if(!o.special){const r=o;typeof r.onHold>"u"&&(r.onHold=i.isOnHold),typeof r.availColor>"u"&&(r.availColor=i.availableColor),typeof r.type>"u"&&(r.type=i.boothTypeName)}o.exhibitors=o.exhibitors||[]}for(const o of e.exhibitors){const i=o;typeof o.featured>"u"&&(o.featured=i.isFeatured),typeof o.email>"u"&&(o.email=i.publicEmail),o.categories=o.categories||[]}e.noFeatured&&e.exhibitors.forEach(o=>o.featured=!1)}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare function getLocationHistory(): string[];
|
|
2
|
-
export declare function historyReplace(search: string): void;
|
|
3
|
-
export declare function initRouting(offHistory?: boolean): void;
|
|
4
|
-
export declare function applyParameters(queryRaw?: string): void;
|
|
5
|
-
export declare function destroyHistory(): void;
|
|
6
|
-
export declare function goBack(): boolean;
|
|
7
|
-
//# sourceMappingURL=routing.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Box as oe}from"@expofp/geometry";import{createBrowserHistory as se}from"history";import{autorun as O,reaction as k,runInAction as A}from"mobx";import{recoverKioskFromUrlPrams as re}from"../components/Kiosk/recoverKioskFromUrlPrams";import{BUILD_ROUTE_KEY as ae,KIOSK_ENABLE_KEY as F,LANG_KEY as N,LANGUAGE_TYPE as E,MAP_SETTINGS_KEY as ie,PATHWAY_KEY as $,PLANNER_FROM_KEY as Y,PLANNER_KEY as P,PLANNER_SOURCE_KEY as K,PREVIEW_MODE_QUERY as I,PREVIEW_MODE_STORAGE_KEY as W,SEPARATOR as R,UI_SCALE_PARAM_KEY as V,UI_SCALE_RESET_PARAM_KEY as H,VIEWER_MODE_QUERY as x,VIEWER_MODE_STORAGE_KEY as G}from"../constants";import U from"../data";import o,{uiState as n}from"../store";import{BoothBase as D}from"../store/BoothStore";import{CurrentPosition as ne,extractRoute as le,findBooth as ce}from"../store/RouteStore";import{setConsentSettings as z}from"../tools/gtag";import v from"../tools/logger";import{areLayersEnabled as ue}from"../utils/areLayersEnabled";import{handleCustomCommand as he}from"../utils/customCommands";import{getMostFrequent as fe}from"../utils/getMostFrequent";import{hasLocale as de,setLocale as me}from"../utils/i18n";import{isLocalStorageAvailable as L}from"../utils/localStorage";import{stripTrackingParams as pe}from"../utils/trackingParams";let m=!1,B=!1,j=null,q=null,Q=null,J;const h=se(),C=window.location.pathname,w=[];export function getLocationHistory(){return w}function b(e){return C+e}function ge(e){m||h.push(b(e))}export function historyReplace(e){m||h.push(b(e))}function d(e){return e.replace(/=&/g,"&").replace(/=$/,"")}function X(){let e="";const l=n.selectedExhibitor,i=n.selectedBooth,s=n.selectedEventItem,t=n.selectedRoute,r=n.selectedSpeaker,a=n.setKioskModeEnabled;if(n.list.type==="route-planner"&&!l&&!i&&!s){const u=o.routePlannerStore;if(u.source==="bookmarks")e=`${P}&${K}=bookmarks`;else{const g=u.items.map(S=>S.entity.slug).filter(Boolean).join(R);e=`${P}=${g}`}const p=u.startPoint?.slug;p&&(e+=`&${Y}=${p}`)}else if(t&&!n.isMultiPointRoute){const u=t.from instanceof D?`:${t.from.slug}`:"",p=t.to instanceof D?`:${t.to.slug}`:"",g=o.routeStore.onlyAccessible?":true":":false",S=t.waypoints?.map(f=>`:${f.slug}`).join("");e=`route${p}${u}${g}${S||""}`}else if(l)e=l.slug;else if(i)e=i.slug;else if(s)e=s.slug;else if(r)e=r.slug;else if(a)e="";else switch(n.list.type){case"bookmarks":e="bookmarks";break;case"visited":e="visited";break;case"category":e=n.selectedCategory?.slug??"";break;case"search":e=n.list.text||"";break;case E:e=E;break;case"filter":e=`${n.list.query.key}=${n.list.query.value}`;break;case"sessions":e="sessions";break;case"exhibitors":e="exhibitors";break;case"speakers":e="speakers";break;case"tours":e="tours";break;case"multi-point-tour":e=`tour=${n.list.tourId}`;break;default:throw new Error("Unkown list.type")}if(B)return;const c=e?"?"+encodeURIComponent(e):"";h.location.search!==c&&(l!==j||i!==q||s!==Q?ge(c):historyReplace(c),j=l,q=i,Q=s)}function Z(){const e=n.selectedExhibitor,l=n.selectedEventItem,i=n.selectedSpeaker;let s="";e?s=e.name:l?s=l.name:i?s=i.name:n.list.type==="search"&&n.list.text?s="`"+(n.list.text||"")+"`":n.list.type==="multi-point-tour"&&n.tourTitle&&(s=n.tourTitle),s.length&&(s+=" \u2013 "),s+=U.title,U.subtitle&&(s+=" \u2013 "+U.subtitle),s+=" \u2013 Expo Floor Plan by ExpoFP",document.title=s}function T(){const e=h.location.search.length>1?decodeURIComponent(h.location.search.substring(1)):"";return he(e)}function y(){const e=h.location.search.length>1?decodeURIComponent(h.location.search.substring(1)):"";B=!0;const l=o.boothStore.booths.find(s=>s.slug?.toLowerCase()===e?.toLowerCase()||s.externalId?.toLowerCase()===e?.toLowerCase()||s.externalId?.toLowerCase()?.replace(/\s+/g,"")===e?.toLowerCase()),i=new URLSearchParams(decodeURIComponent(window.location.search));if(re(i),Se(i),!T())if(i.has(F)){const s=i.get(F);s==="1"?n.kiosk=!0:s==="0"&&(n.kiosk=!1,n.resetUIScale())}else if(e==="tours")o.selectTours();else if(e.startsWith("tour=")){const s=e.split("=")[1],t=o.toursStore.getTourById(s);t?o.toursStore.launchTour(t,t.name,t.description):(console.warn(`Route with id "${s}" not found`),o.selectTours())}else if(i.has(P)){const s=i.get(K),t=i.get(Y),r=t?ce(t):null;if(s==="bookmarks")o.routePlannerStore.launchFromBookmarks(r??void 0);else{const a=(i.get(P)||"").split(R).filter(Boolean);o.routePlannerStore.launchFromSlugs(a,r??void 0)}}else if(e.startsWith("route")){const s=e.split(R);o.routeStore.setOnlyAccessible(s[3]==="true");const t=le(s[2],s[1],s.slice(4));o.routeStore.selectRoute(t);const a=s.slice(4).length>0;o.uiState.setIsMultiPointRoute(a);const u=new URLSearchParams(window.location.search).get("title");u&&o.uiState.setRouteTitle(u)}else if(e==="bookmarks")o.selectBookmarks();else if(e==="visited")o.selectVisited();else if(e===E)o.selectLanguage();else if(i.has(N)){const s=i.get(N)?.toLowerCase();de(s)&&me(s)}else if(e==="sessions")o.selectSessions();else if(e==="exhibitors")o.selectExhibitors();else if(e==="speakers")o.selectSpeakers();else if(e==="-pdf")o.uiState.printingPdf=!0;else if(e.startsWith("hide"))o.uiState.setVisibility((new URLSearchParams(e).get("hide")??"").split(",").filter(Boolean).reduce((s,t)=>({...s,[t]:!1}),{}));else if(l)setTimeout(()=>o.selectBooth(l),250);else if(e===ae)o.uiState.startBuildRoute();else if(i.get($)){const s=i.get($),t=i.get("booths")?.split(",")||[],r=i.get("exhibitors")?.split(",")||[],a=i.get("tour");if(a){const f=o.toursStore.getTourById(a);f&&A(()=>{o.uiState.setTourTitle(f.name),o.uiState.setTourDescription(f.description??""),o.uiState.setIsMultiPointTour(!0),o.uiState.setMultiPointTourList(f.id)})}const c=o.boothStore.booths,u=o.exhibitorStore.exhibitors,p=c.filter(f=>t.includes(f.externalId)),g=u.filter(f=>r.includes(f.externalId)).flatMap(f=>f.booths),S=[...p,...g];if(ue()){const f=S.map(te=>te.layer.name),M=fe(f);M&&o.fp.activateFloor({name:M})}(t.length>0||r.length>0)&&o.fp.highlightEntities([...t,...r]),o.layerStore.showPathWay(s),S.length>0&&A(()=>{o.uiState.moveToRect=oe.fromUnion(...S.map(f=>f.rect).filter(Boolean)),o.uiState.rollReset=!0})}else{const s=o.eventStore.eventItems.find(t=>t.slug?.toLowerCase()===e?.toLowerCase()||t.externalId?.toLowerCase()===e?.toLowerCase());if(s)o.selectEventItem(s,!0);else{const t=o.exhibitorStore.exhibitors.find(r=>r.slug?.toLowerCase()===e?.toLowerCase()||r.externalId?.toLowerCase()===e?.toLowerCase());if(e.startsWith("exhibitors")){const r=e.split("=")[1].split(",");setTimeout(()=>o.fp.selectExhibitor(r),250)}else if(t)setTimeout(()=>o.clickExhibitor(t),250);else if(e.includes("=")&&(e.startsWith("categories=")||/^poiTypes?=/.test(e)))v.log("Skipping filter parameter in dispatchFromUrl:",e);else{const a=o.categoryStore.categories.find(c=>c.slug===e);if(a)o.selectCategory(a);else{const c=o.speakerStore.findBySlug(e);c?o.selectSpeaker(c,!0):e.includes("heatmap=true")||o.searchStore.selectSearch(e)}}}}B=!1,X(),Z()}function _(){const e=h.location.search;if(e.includes("heatmap")){const t=new URL(window.location.href);if(t.searchParams.get("heatmap")==="true"){const a=t.searchParams.get("type")==="yah";a||t.searchParams.delete("heatmap"),m=!0,historyReplace(d(t.search)),a?(o.uiState.heatmapYah=!0,o.uiState.monochrome=!0,o.uiState.hideLogoInBooth=!0,o.uiState.hideHeaderLogo=!0,o.uiState.disableBookmarked=!0):o.uiState.heatmap=!0}}if(e.startsWith("?preview="))historyReplace("?");else if(e.startsWith("?b="))historyReplace("?bookmarks");else if(e.startsWith("?ba=")){const t=new URL(window.location.href),r=parseInt(t.searchParams.get("ba")),a=o.exhibitorStore.exhibitorById.get(r);historyReplace(a?"?"+a.slug:"?bookmarks")}if(e.includes("blue-dot")){const t=new URL(window.location.href),r=t.searchParams.get("blue-dot");t.searchParams.delete("blue-dot");const a=r?.split(",")??[],c=Number(a[0]),u=Number(a[1]);if(a.length>1&&Number.isFinite(c)&&Number.isFinite(u)){const g=o.layerStore.findLayer(a[2])?.name,S=new ne(c,u,g,void 0,Number(a[3])||void 0,Number(a[4])||void 0);o.layerStore.layersLoaded?o.routeStore.selectCurrentPosition(S,!0,1):k(()=>o.layerStore.layersLoaded,()=>{o.routeStore.selectCurrentPosition(S,!0,1)})}const p=d(t.search);historyReplace(p)}if(e.includes("copy_exh")&&historyReplace("?"),e.includes("noOverlay")){const t=new URL(window.location.href),r=t.searchParams.get("noOverlay");t.searchParams.delete("noOverlay");const a=d(t.search);r==="true"?o.uiState.hideOverlay=!0:r==="false"&&(o.uiState.hideOverlay=!1),historyReplace(a)}if(e.includes("allowConsent")){const t=new URL(window.location.href),r=t.searchParams.get("allowConsent");t.searchParams.delete("allowConsent");const a=d(t.search);r==="true"?z(!0):r==="false"&&z(!1),historyReplace(a)}if(e.includes("hideHeaderLogo")){const t=new URL(window.location.href),r=t.searchParams.get("hideHeaderLogo");t.searchParams.delete("hideHeaderLogo");const a=d(t.search);r==="true"&&(n.hideHeaderLogo=!0),historyReplace(a)}if(e.includes("hideLogoInBooth")){const t=new URL(window.location.href),r=t.searchParams.get("hideLogoInBooth");t.searchParams.delete("hideLogoInBooth");const a=d(t.search);r==="true"&&(n.hideLogoInBooth=!0),historyReplace(a)}if(e.includes("disableFeatured")){const t=new URL(window.location.href),r=t.searchParams.get("disableFeatured");t.searchParams.delete("disableFeatured");const a=d(t.search);r==="true"&&o.exhibitorStore.exhibitors.forEach(c=>c.featured=!1),historyReplace(a)}if(e.includes("disableBookmarked")){const t=new URL(window.location.href),r=t.searchParams.get("disableBookmarked");t.searchParams.delete("disableBookmarked");const a=d(t.search);r==="true"&&(n.disableBookmarked=!0),historyReplace(a)}if(e.includes("disableGps")){const t=new URL(window.location.href),r=t.searchParams.get("disableGps");t.searchParams.delete("disableGps");const a=d(t.search);r==="true"&&o.routeStore.setGpsTrackingEnabled(!1),historyReplace(a)}if(e.includes("monochrome")){const t=new URL(window.location.href),r=t.searchParams.get("monochrome");t.searchParams.delete("monochrome");const a=d(t.search);r==="true"&&(n.monochrome=!0),historyReplace(a)}const l=pe(h.location.search);if(l!==null&&historyReplace("?"+l),e.includes(x)){const t=new URL(window.location.href),r=t.searchParams.get(x);r==="1"||r==="true"?L&&localStorage.setItem(G,"1"):(r==="0"||r==="false")&&L&&localStorage.removeItem(G),t.searchParams.delete(x),historyReplace(d(t.search))}if(e.includes(I)){const t=new URL(window.location.href),r=t.searchParams.get(I);r==="true"?L&&localStorage.setItem(W,"1"):r==="false"&&L&&localStorage.removeItem(W),t.searchParams.delete(I),historyReplace(d(t.search))}if(n.previewExhibitor&&historyReplace("?"+n.previewExhibitor.slug),h.location.search.includes("&")||h.location.search.includes("%26")){let t=h.location.search;t=t.startsWith("?")?t.slice(1):t;const r=t.includes("&")?"&":"%26",c=t.split(r).map(u=>{const p=o.exhibitorStore.exhibitors.find(g=>g.slug===u||g.externalId===u);return p?p.name:u}).join("&");historyReplace("?"+c)}const i=new URLSearchParams(window.location.search);if(i.has(H)){o.uiState.resetUIScale();const t=new URL(window.location.href);t.searchParams.delete(H);const r=d(t.search);m=!0,historyReplace(r),m=!1}const s=i.get(V);if(s){const t=s.replace(",","."),r=parseFloat(t);!isNaN(r)&&r>=.8&&r<=1.4?o.uiState.setUIScale(r,!0):v.warn(`Invalid ui-scale parameter: ${s}. Must be a number between 0.8 and 1.4.`);const a=new URL(window.location.href);a.searchParams.delete(V);const c=d(a.search);m=!0,historyReplace(c),m=!1}}export function initRouting(e=!1){m=e,!m&&b(h.location.search)===C&&w.push(b(h.location.search)),J=h.listen((l,i)=>{m||(w.push(b(l.search)),v.log("history",i,l),i==="POP"&&y())}),_(),T(),k(()=>o.layerStore.layersLoaded,()=>{o.urlFilterManager&&!o.urlFilterManager.isInitialized&&o.urlFilterManager.initialize(),y(),O(Z),O(X),n.viewerMode&&(n.menu=!0)})}export function applyParameters(e=""){historyReplace("?"+decodeURIComponent(e.toString())),o.layerStore.layersLoaded?(_(),y()):(T(),k(()=>o.layerStore.layersLoaded,()=>{_(),y()}))}export function destroyHistory(){J()}export function goBack(){if(console.log("goBack"),w.length>1){w.pop();const l=w[w.length-1].replace(C,"");return m=!0,h.replace(l),m=!1,y(),!0}else return h.go(-1),!1}function Se(e){try{let l={};const i=n.defaultMapSettings;if(new Set(e.keys()).size)l=ee(Object.fromEntries(e.entries()),i);else{const s=sessionStorage.getItem(ie);s&&(l=ee(JSON.parse(s),i))}if(n.setMapSettings(l),l.z){const s=o.layerStore.layers.find(t=>t.name===l.z);s&&o.layerStore.updateVisibility(s,!0)}}catch(l){console.error("Failed to process or save map settings.",l)}}function ee(e,l){const i={};for(const s in e){if(!Object.prototype.hasOwnProperty.call(l,s)||!Object.prototype.hasOwnProperty.call(e,s))continue;const t=e[s];typeof l[s]=="number"?i[s]=parseFloat(t):i[s]=t}return i}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function n(i,t){t.exhibitors.forEach(o=>{const e=i.exhibitors.find(r=>r.id===o.id);e&&(e.rebookingState=o.rebookingState,e.rebookingNote=o.rebookingNote)})}
|
|
File without changes
|