@expofp/floorplan 3.12.2 → 3.13.0
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-DOMHnIa6.js → Button-BhFl-di8.js} +5 -5
- package/dist/browser/{CookieConsent-1aAAtl5v.js → CookieConsent-sa6NrKxH.js} +7 -7
- package/dist/browser/{Debug-j_48sokk.js → Debug-C9cxUup2.js} +7 -7
- package/dist/browser/{Demo-CBL1zNbQ.js → Demo-Ddm9RP_A.js} +9 -9
- package/dist/browser/{Free-RAsILvJy.js → Free-rUcFT9c4.js} +9 -9
- package/dist/browser/{Gallery-Ca8qTZBj.js → Gallery-DiQ8516Y.js} +9 -9
- package/dist/browser/{GpsLoader-C5SHz9W3.js → GpsLoader-Dg3oPXFb.js} +10 -10
- package/dist/browser/{KioskStore-Bmgwanvm.js → KioskStore-DXzJYJDf.js} +3 -3
- package/dist/browser/{MaplibreAdapter-DqpW5tgJ.js → MaplibreAdapter-CyrBeOGN.js} +9 -9
- package/dist/browser/{ModalContainer-CLMX7wdk.js → ModalContainer-De7wWR5x.js} +10 -10
- package/dist/browser/{PermissionNotice-dUi-_uiy.js → PermissionNotice-CZ2zOZpC.js} +6 -6
- package/dist/browser/{SetKioskMode-CTvjg91c.js → SetKioskMode-CADu-Nec.js} +8 -8
- package/dist/browser/{ShowKiosk-BLJTlIi2.js → ShowKiosk-DCb39wY6.js} +11 -11
- package/dist/browser/{TouchHand-3wT6uPbR.js → TouchHand-BfZmlSSQ.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-CAb0ZQPQ.js → ViewerMenuPanel-MrTdl0Lk.js} +9 -9
- package/dist/browser/{add-debug-secret-listener-DaECQT3a.js → add-debug-secret-listener-BbMMQOGn.js} +1 -1
- package/dist/browser/{boolean-editor-BSJF4JDy.js → boolean-editor-CklOhr36.js} +9 -9
- package/dist/browser/{bootIntercom-CTZcW3SF.js → bootIntercom-CGiDjnZs.js} +2 -2
- package/dist/browser/{booth-by-xy-3nXe0uWr.js → booth-by-xy-ByPe7dOB.js} +6 -6
- package/dist/browser/bundle.json +66 -66
- package/dist/browser/{classnames-CY7JDqb3.js → classnames-Dg3Epqr5.js} +2 -2
- package/dist/browser/{client-CdT0asoV.js → client-BtIR_QJ0.js} +4 -4
- package/dist/browser/{components-BJIa-Not.js → components-Ba7imFfV.js} +38 -38
- package/dist/browser/{debug-overlay-BTfKZJ0V.js → debug-overlay-Mgkh8CCK.js} +10 -10
- package/dist/browser/{debug-ui-F_nx9Emw.js → debug-ui-DLG8EKHO.js} +6 -6
- package/dist/browser/{dist-Ct8YbeMu.js → dist-B2eHvCOU.js} +5 -5
- package/dist/browser/{dist-DgH08S2p.js → dist-ByAJEdRV.js} +3 -3
- package/dist/browser/{dist-DEvjFeE3.js → dist-Dd2UZ1cI.js} +6 -6
- package/dist/browser/{efp-debug-init-DlmG1xQv.js → efp-debug-init-BCsVUzwy.js} +3 -3
- package/dist/browser/{enum-editor-CZEmnVsv.js → enum-editor-DGQxevil.js} +4 -4
- package/dist/browser/{es5-BBHz3f0E.js → es5-cfKynydw.js} +2 -2
- package/dist/browser/{event-not-found-Ix0caAWb.js → event-not-found-BJLLcNqO.js} +1 -1
- package/dist/browser/{exports-M3c-rtUb.js → exports-BQHYfgvY.js} +1 -1
- package/dist/browser/{favicon-DkY100Ym.js → favicon-C56bzaeG.js} +1 -1
- package/dist/browser/{fetch-retry.umd-EAUFaihM.js → fetch-retry.umd-DYC2sEmH.js} +2 -2
- package/dist/browser/{flex-DJK3-8Zd.js → flex-8VuyKxuf.js} +5 -5
- package/dist/browser/{floorplan.loader-CeKbPW07.js → floorplan.loader-B9Jv3g5N.js} +10 -10
- package/dist/browser/{floorplan.ready-C_b1YleV.js → floorplan.ready-Cnxr8xZd.js} +14 -14
- package/dist/browser/{fuse-BXLdbVX1.js → fuse-DgPaqPDU.js} +2 -2
- package/dist/browser/{i18n-BxTMYFVz.js → i18n-DL3k5TYE.js} +5 -5
- package/dist/browser/index.js +14 -14
- package/dist/browser/{index.module-BYHqE5Wj.js → index.module-DvMglRjg.js} +4 -4
- package/dist/browser/{integrateKiosk-D1PtbCnn.js → integrateKiosk-DqfQtnQ5.js} +3 -3
- package/dist/browser/{is-webview-DHgYEbvE.js → is-webview-CYXkFxGI.js} +1 -1
- package/dist/browser/{jsx-runtime-B44IKoON.js → jsx-runtime-Ddgd7eiz.js} +2 -2
- package/dist/browser/{lib-Bw_hPPce.js → lib-Ba7o5H8-.js} +4 -4
- package/dist/browser/{loadImage-CNM31AQn.js → loadImage-sIGoQ_pR.js} +4 -4
- package/dist/browser/{logDeviceInfo-CZ6A-1P4.js → logDeviceInfo-DlAlNCzD.js} +9 -9
- package/dist/browser/{main-xkv52LHr.js → main-BUG7EnSp.js} +1 -1
- package/dist/browser/{mobx-4HcIIkOR.js → mobx-CjGP1jW0.js} +4 -4
- package/dist/browser/{optional-boolean-editor-CH6jVjin.js → optional-boolean-editor-Duqb7gc6.js} +3 -3
- package/dist/browser/{optional-enum-editor-CXSw0sRc.js → optional-enum-editor-DsJC_Z9B.js} +4 -4
- package/dist/browser/{optional-string-editor-DGPZFa5v.js → optional-string-editor-CDPA6AbE.js} +4 -4
- package/dist/browser/{particles.min-BwGRDNcp.js → particles.min-Cw7MNnR7.js} +2 -2
- package/dist/browser/{prop-types-DHseCI9c.js → prop-types-BYN2smyR.js} +2 -2
- package/dist/browser/{react-dom-CHXzj7Tf.js → react-dom-Du74Uwxl.js} +3 -3
- package/dist/browser/{react-Bt6mPjBv.js → react-jeXnPF9E.js} +2 -2
- package/dist/browser/{reset-all-settings-CQO-wO0E.js → reset-all-settings-CSD5_eeL.js} +9 -9
- package/dist/browser/{rolldown-runtime-CEg-GK8J.js → rolldown-runtime-DE59zyqc.js} +1 -1
- package/dist/browser/{select-DliVESN6.js → select-jZKJ9MVb.js} +10 -10
- package/dist/browser/{settings-BVvSF393.js → settings-CETkuvKR.js} +2 -2
- package/dist/browser/{settings-item-DWRh8NcO.js → settings-item-BCaZImcD.js} +6 -6
- package/dist/browser/{store-C8-_RjL5.js → store-Sol8yqmO.js} +681 -718
- package/dist/browser/{string-editor-Ra20rxwV.js → string-editor-DkEYMW6l.js} +4 -4
- package/dist/browser/{text-field-MzLcccwo.js → text-field-CPJjFaAn.js} +5 -5
- package/dist/browser/{theme-BaIzpMOv.js → theme-CN0bL8JF.js} +8 -8
- package/dist/browser/{ui-Dvo55k_p.js → ui-CLJ3PDlT.js} +8 -8
- package/dist/browser/{useRenderTarget-DGasOg1q.js → useRenderTarget-BbbTquxP.js} +4 -4
- package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +2 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-border.d.ts +1 -0
- package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
- package/dist/esm/store/HeatmapStore.d.ts +4 -4
- package/dist/esm/store/HeatmapStore.js +1 -1
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +1 -1
- package/dist/esm/types.d.ts +7 -0
- package/package.json +8 -8
|
@@ -2,20 +2,20 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.13.0" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4c5ad06c-4ae4-46a0-96ce-3faf3409920a", e._sentryDebugIdIdentifier = "sentry-dbid-4c5ad06c-4ae4-46a0-96ce-3faf3409920a");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
11
|
-
import { A as n, B as r, F as i, G as a, H as o, I as s, J as c, K as l, L as u, Pt as d, Q as f, U as p, V as m, W as h, _ as g, a as _, at as v, c as y, d as b, f as x, h as S, it as C, k as w, l as T, lt as E, m as D, n as O, ot as k, p as A, s as j, t as ee, v as M, y as te, z as ne } from "./i18n-
|
|
12
|
-
import { s as re } from "./efp-debug-init-
|
|
13
|
-
import { t as ie } from "./react-
|
|
14
|
-
import { t as ae } from "./jsx-runtime-
|
|
15
|
-
import { n as oe, r as N, t as se } from "./loadImage-
|
|
16
|
-
import { t as ce } from "./is-webview-
|
|
17
|
-
import { t as le } from "./classnames-
|
|
18
|
-
import { t as ue } from "./Button-
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-DE59zyqc.js";
|
|
11
|
+
import { A as n, B as r, F as i, G as a, H as o, I as s, J as c, K as l, L as u, Pt as d, Q as f, U as p, V as m, W as h, _ as g, a as _, at as v, c as y, d as b, f as x, h as S, it as C, k as w, l as T, lt as E, m as D, n as O, ot as k, p as A, s as j, t as ee, v as M, y as te, z as ne } from "./i18n-DL3k5TYE.js";
|
|
12
|
+
import { s as re } from "./efp-debug-init-BCsVUzwy.js";
|
|
13
|
+
import { t as ie } from "./react-jeXnPF9E.js";
|
|
14
|
+
import { t as ae } from "./jsx-runtime-Ddgd7eiz.js";
|
|
15
|
+
import { n as oe, r as N, t as se } from "./loadImage-sIGoQ_pR.js";
|
|
16
|
+
import { t as ce } from "./is-webview-CYXkFxGI.js";
|
|
17
|
+
import { t as le } from "./classnames-Dg3Epqr5.js";
|
|
18
|
+
import { t as ue } from "./Button-BhFl-di8.js";
|
|
19
19
|
//#region src/data/fp-payloads.ts
|
|
20
20
|
function de() {
|
|
21
21
|
let e = d().fpSvgJsRef;
|
|
@@ -4127,7 +4127,7 @@ var zi = (ki = D({ keepAlive: !0 }), Ai = D({ keepAlive: !0 }), ji = D({ keepAli
|
|
|
4127
4127
|
}
|
|
4128
4128
|
get bookmarked() {
|
|
4129
4129
|
var e;
|
|
4130
|
-
return
|
|
4130
|
+
return fW.disableBookmarked ? !1 : (e = this.schedule) != null && e.some((e) => e.bookmarked) ? !0 : this.exhibitors.length > 0 ? !!this.exhibitors.find((e) => e.bookmarked) : this.bookmarkedDirectly;
|
|
4131
4131
|
}
|
|
4132
4132
|
get uiState() {
|
|
4133
4133
|
return this.store.rootStore.uiState;
|
|
@@ -4373,7 +4373,7 @@ function va(e, t) {
|
|
|
4373
4373
|
let d, f = !1;
|
|
4374
4374
|
t.tagName === "rect" ? d = t : (d = Array.from(t.children).find((e) => e.tagName === "rect"), f = d === t.firstElementChild);
|
|
4375
4375
|
let p = (t.id || t.getAttribute("data-name")).substring(1).toLowerCase(), m = ma.get(p), h = m instanceof Vi ? m : null, g = m instanceof Hi ? m : null;
|
|
4376
|
-
if (m ? a.push(m) : (N.error("SVG booth rect not found in the event data:", p), m = h = new Vi(), m.id = ri(), m.name = p.toUpperCase(), m.slug = oi(p), m.error = !0, m.exhibitors = [], ma.set(p, m), a.push(m)), m.layer = o ? i.layers.find((e) => e.name === s) : null, m.borderColor = (d == null ? void 0 : d.getAttribute("stroke")) || (d == null ? void 0 : d.style.stroke) || P.boothBorderColor || "#FFFFFF", m.borderWidth = parseFloat((d == null ? void 0 : d.getAttribute("stroke-width")) || (d == null ? void 0 : d.style.strokeWidth)), isNaN(m.borderWidth) && (m.borderWidth = r.borderWidth), !
|
|
4376
|
+
if (m ? a.push(m) : (N.error("SVG booth rect not found in the event data:", p), m = h = new Vi(), m.id = ri(), m.name = p.toUpperCase(), m.slug = oi(p), m.error = !0, m.exhibitors = [], ma.set(p, m), a.push(m)), m.layer = o ? i.layers.find((e) => e.name === s) : null, m.borderColor = (d == null ? void 0 : d.getAttribute("stroke")) || (d == null ? void 0 : d.style.stroke) || P.boothBorderColor || "#FFFFFF", m.borderWidth = parseFloat((d == null ? void 0 : d.getAttribute("stroke-width")) || (d == null ? void 0 : d.style.strokeWidth)), isNaN(m.borderWidth) && (m.borderWidth = r.borderWidth), !fW.heatmap) m.labelColor = d == null ? void 0 : d.getAttribute("data-label-color");
|
|
4377
4377
|
else {
|
|
4378
4378
|
let t = e.heatmapStore.getTotalClicksByBooth(m), n = (0, pa.default)(e.heatmapStore.getColorByClicks(t));
|
|
4379
4379
|
m.labelColor = n.darken(.3).isLight() ? "#555" : "#fff";
|
|
@@ -4923,8 +4923,8 @@ function ao(e, t, n, r, i) {
|
|
|
4923
4923
|
}, 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;
|
|
4924
4924
|
}
|
|
4925
4925
|
var oo = (ro = D({ keepAlive: !0 }), io = class {
|
|
4926
|
-
constructor(
|
|
4927
|
-
this.
|
|
4926
|
+
constructor() {
|
|
4927
|
+
this.heatmapData = {}, this.forceTrack = null;
|
|
4928
4928
|
}
|
|
4929
4929
|
get minAndMaxClicks() {
|
|
4930
4930
|
let { booths: e = [], exhibitors: t = [], yah: n = [] } = this.heatmapData, r = [
|
|
@@ -4975,9 +4975,13 @@ var oo = (ro = D({ keepAlive: !0 }), io = class {
|
|
|
4975
4975
|
let { min: t, max: n } = this.minAndMaxClicks;
|
|
4976
4976
|
return no(e, t, n, P.heatmapColors);
|
|
4977
4977
|
}
|
|
4978
|
+
getHeatmapColorForBooth(e) {
|
|
4979
|
+
let t = this.getTotalClicksByBooth(e);
|
|
4980
|
+
return (0, pa.default)(this.getColorByClicks(t));
|
|
4981
|
+
}
|
|
4978
4982
|
}, ao(io.prototype, "minAndMaxClicks", [ro], Object.getOwnPropertyDescriptor(io.prototype, "minAndMaxClicks"), io.prototype), io), so = class {
|
|
4979
|
-
constructor() {
|
|
4980
|
-
this.id =
|
|
4983
|
+
constructor(e, t, n, r, i, a) {
|
|
4984
|
+
this.id = e, this.name = t, this.viewCount = n, this.x = r, this.y = i, this.z = a, this.entity = { type: "heatmap-yah" };
|
|
4981
4985
|
}
|
|
4982
4986
|
};
|
|
4983
4987
|
//#endregion
|
|
@@ -31179,15 +31183,15 @@ function oM(e, t) {
|
|
|
31179
31183
|
var sM = (eM = D({ keepAlive: !0 }), tM = D({ keepAlive: !0 }), nM = class extends Qj {
|
|
31180
31184
|
constructor(e, t) {
|
|
31181
31185
|
if (super(t), this.rendererService = void 0, this.rendererService = e, t.paths) t.shapes = oM(t.paths, $.layerStore.mode === pN.Default ? "" : t.layer.name).map((e) => {
|
|
31182
|
-
let t =
|
|
31186
|
+
let t = fW.monochrome ? (0, pa.default)(e.color).grayscale().rgb().string() : this.getBoothColor().string();
|
|
31183
31187
|
return e.color === "transparent" ? e.color = t : e.defaultColor = e.color, e;
|
|
31184
31188
|
});
|
|
31185
31189
|
else {
|
|
31186
|
-
let e = t.borderColor === "none" ? 0 : isNaN(t.borderWidth) ?
|
|
31190
|
+
let e = t.borderColor === "none" ? 0 : isNaN(t.borderWidth) ? mW.borderWidth : t.borderWidth, n = this.booth.rect.expand(-e / 2), r = this.getBoothColor().string();
|
|
31187
31191
|
t.shapes = [rj(new Je(n.center, n.size, this.booth.rotate), r)];
|
|
31188
31192
|
}
|
|
31189
31193
|
M(() => this.booth.hover, () => !this.booth.selected && this.update()), M(() => [
|
|
31190
|
-
|
|
31194
|
+
hW.layersLoaded,
|
|
31191
31195
|
this.booth.skipDim,
|
|
31192
31196
|
this.booth.selected,
|
|
31193
31197
|
this.boothShape.selectBgAnimationPart
|
|
@@ -31197,24 +31201,33 @@ var sM = (eM = D({ keepAlive: !0 }), tM = D({ keepAlive: !0 }), nM = class exten
|
|
|
31197
31201
|
return this.booth.shapes;
|
|
31198
31202
|
}
|
|
31199
31203
|
update() {
|
|
31200
|
-
if (
|
|
31204
|
+
if (hW.layersLoaded) for (let e of this.booth.shapes) e.dim = this.booth.skipDim ? !1 : void 0, e.color && !e.unblinking && (e.color = (e.defaultColor ? this.getBoothPathColor(e.defaultColor) : this.getBoothColor()).string()), this.rendererService.update(e);
|
|
31201
31205
|
}
|
|
31202
31206
|
getBoothPathColor(e) {
|
|
31207
|
+
if (fW.heatmap) return this.getHeatmapColor();
|
|
31203
31208
|
let t = this.booth, n = (0, pa.default)(e).hsl();
|
|
31204
31209
|
if (t.selected) {
|
|
31205
31210
|
var r;
|
|
31206
31211
|
let e = P.colors.booths.selected;
|
|
31207
31212
|
if ((r = de().__fpSettings) != null && r.fpVer) {
|
|
31208
|
-
let t = this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart);
|
|
31209
|
-
return
|
|
31213
|
+
let t = this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart), n = (0, pa.default)(t === "none" ? e : t);
|
|
31214
|
+
return fW.monochrome ? n.grayscale() : n;
|
|
31210
31215
|
}
|
|
31211
31216
|
let t = (0, pa.default)(e).hsl(), i = t.lightness() * this.boothShape.selectBgAnimationPart;
|
|
31212
31217
|
n = n.hue(t.hue()).lightness(i);
|
|
31213
31218
|
} else t.hover && (n = n.darken(.1));
|
|
31214
|
-
return n;
|
|
31219
|
+
return fW.monochrome && (n = n.grayscale()), n;
|
|
31220
|
+
}
|
|
31221
|
+
getHeatmapColor() {
|
|
31222
|
+
let e = this.booth, t = $.heatmapStore.getHeatmapColorForBooth(e);
|
|
31223
|
+
if (e.selected) {
|
|
31224
|
+
let e = this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart);
|
|
31225
|
+
return (0, pa.default)(e === "none" ? "#f33" : e);
|
|
31226
|
+
}
|
|
31227
|
+
return e.hover ? t.darken(.2).alpha(t.alpha() * 1.5) : t;
|
|
31215
31228
|
}
|
|
31216
31229
|
get defaultColor() {
|
|
31217
|
-
let e = this.booth, t;
|
|
31230
|
+
let e = this.booth, t = P.colors.booths.default;
|
|
31218
31231
|
if (e instanceof Hi) t = e.color || P.colors.booths.empty;
|
|
31219
31232
|
else if (e instanceof Vi) {
|
|
31220
31233
|
if (Br.isRebooking) {
|
|
@@ -31235,14 +31248,12 @@ var sM = (eM = D({ keepAlive: !0 }), tM = D({ keepAlive: !0 }), nM = class exten
|
|
|
31235
31248
|
}
|
|
31236
31249
|
get selectedColorInterpolateFunc() {
|
|
31237
31250
|
var e, t;
|
|
31238
|
-
return (0, $j.default)([P.colors.booths.seectedLight || ((0, pa.default)(this.booth.labelColor || P.boothLabelColor).isLight() ? "#000" : "#fff"),
|
|
31251
|
+
return (0, $j.default)([P.colors.booths.seectedLight || ((0, pa.default)(this.booth.labelColor || P.boothLabelColor).isLight() ? "#000" : "#fff"), fW.selectedRoute ? P == null || (e = P.colors) == null || (e = e.booths) == null || (e = e.wayfinding) == null ? void 0 : e.selected : P == null || (t = P.colors) == null || (t = t.booths) == null ? void 0 : t.selected]);
|
|
31239
31252
|
}
|
|
31240
31253
|
getBoothColor() {
|
|
31241
|
-
let e = this.booth
|
|
31242
|
-
if (
|
|
31243
|
-
|
|
31244
|
-
return e.selected ? (t = this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart), (0, pa.default)(t === "none" ? "#f33" : t)) : e.hover ? r.darken(.2).alpha(r.alpha() * 1.5) : r;
|
|
31245
|
-
}
|
|
31254
|
+
let e = this.booth;
|
|
31255
|
+
if (fW.heatmap) return this.getHeatmapColor();
|
|
31256
|
+
let t;
|
|
31246
31257
|
t = e.error ? "#f33" : Br.isRebooking ? this.defaultColor : e.selected ? this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart) : this.defaultColor;
|
|
31247
31258
|
let n;
|
|
31248
31259
|
try {
|
|
@@ -31250,21 +31261,21 @@ var sM = (eM = D({ keepAlive: !0 }), tM = D({ keepAlive: !0 }), nM = class exten
|
|
|
31250
31261
|
} catch {
|
|
31251
31262
|
n = (0, pa.default)(this.defaultColor);
|
|
31252
31263
|
}
|
|
31253
|
-
return (e.hover && !e.selected || e.selected && Br.isRebooking) && (n = n.darken(.2).alpha(n.alpha() * 1.5)), (
|
|
31264
|
+
return (e.hover && !e.selected || e.selected && Br.isRebooking) && (n = n.darken(.2).alpha(n.alpha() * 1.5)), (fW.monochrome || fW.heatmapYah) && (n = n.grayscale()), n;
|
|
31254
31265
|
}
|
|
31255
31266
|
}, rM(nM.prototype, "defaultColor", [eM], Object.getOwnPropertyDescriptor(nM.prototype, "defaultColor"), nM.prototype), rM(nM.prototype, "selectedColorInterpolateFunc", [tM], Object.getOwnPropertyDescriptor(nM.prototype, "selectedColorInterpolateFunc"), nM.prototype), nM);
|
|
31256
31267
|
//#endregion
|
|
31257
31268
|
//#region src/components/Map/drawing/config/config-booth-bookmark.ts
|
|
31258
31269
|
function cM(e, t) {
|
|
31259
|
-
if (!
|
|
31270
|
+
if (!fW.kiosk) return new lM(e, t);
|
|
31260
31271
|
}
|
|
31261
31272
|
var lM = class extends Qj {
|
|
31262
31273
|
constructor(e, t) {
|
|
31263
31274
|
super(t), this.rendererService = void 0, this.shape = void 0, this.bookmarkId = void 0, this.canvas = void 0, this.rect = void 0, this.padding = void 0, this.getShape = () => this.shape, this.rendererService = e, this.padding = this.booth.borderWidth / 2, this.rect = new Je(this.booth.rect.center, this.booth.rect.size, this.booth.rotate), this.canvas = qA(11, devicePixelRatio), this.bookmarkId = `bookmark-${this.booth.id}`, this.shape = ij(this.canvas, this.rect, { hidden: !t.bookmarked }), M(() => [
|
|
31264
31275
|
t.bookmarked,
|
|
31265
|
-
|
|
31276
|
+
hW.layersLoaded,
|
|
31266
31277
|
this.booth.skipDim
|
|
31267
|
-
], () => this.update(t.bookmarked), { fireImmediately: t.bookmarked }), M(() =>
|
|
31278
|
+
], () => this.update(t.bookmarked), { fireImmediately: t.bookmarked }), M(() => fW.mapSettings, ({ roll: e }) => {
|
|
31268
31279
|
Ej(e) && this.rendererService.onRoll(`bookmark-roll-${this.bookmarkId}`, (e) => {
|
|
31269
31280
|
let t = _j(e, this.rect.rotation);
|
|
31270
31281
|
return t !== void 0 && (this.rect = new Je(this.rect.center, {
|
|
@@ -31275,7 +31286,7 @@ var lM = class extends Qj {
|
|
|
31275
31286
|
}, { fireImmediately: !0 });
|
|
31276
31287
|
}
|
|
31277
31288
|
update(e) {
|
|
31278
|
-
|
|
31289
|
+
hW.layersLoaded && (this.shape.hidden = !e, this.shape.dim = this.booth.skipDim ? !1 : void 0, this.handleBookmarkScale(), this.shape.hidden ? (this.rendererService.ptScaleRegistry.unregisterByName(this.bookmarkId), this.rendererService.rollRegistry.unregisterByName(`bookmark-roll-${this.bookmarkId}`)) : this.rendererService.onPtScale(this.bookmarkId, this.handleBookmarkScale.bind(this)), this.rendererService.update(this.shape));
|
|
31279
31290
|
}
|
|
31280
31291
|
handleBookmarkScale(e) {
|
|
31281
31292
|
if (!this.shape.hidden) return this.shape.bounds = xj(this.rect, this.canvas, this.padding, e || this.rendererService.scale), this.shape;
|
|
@@ -31284,31 +31295,49 @@ var lM = class extends Qj {
|
|
|
31284
31295
|
//#endregion
|
|
31285
31296
|
//#region src/components/Map/drawing/config/config-booth-border.ts
|
|
31286
31297
|
function uM(e, t) {
|
|
31287
|
-
if (P.EXPO !== "confex20" && !(t.poiType || t.borderColor === "none" || t.borderWidth === 0 && !
|
|
31298
|
+
if (P.EXPO !== "confex20" && !(t.poiType || t.borderColor === "none" || t.borderWidth === 0 && !mW.borderWidth || t.paths && !t.pathsWithRect)) return new dM(e, t);
|
|
31288
31299
|
}
|
|
31289
31300
|
var dM = class extends Qj {
|
|
31290
31301
|
constructor(e, t) {
|
|
31291
31302
|
super(t), this.shape = void 0;
|
|
31292
|
-
let n =
|
|
31303
|
+
let n = this.booth.rect, { x: r, y: i } = n.center, { width: a, height: o } = n.size, s = t.borderWidth || mW.borderWidth, c = [], l = (e, n, a, o) => {
|
|
31293
31304
|
var s;
|
|
31294
|
-
let
|
|
31305
|
+
let l = new Je({
|
|
31295
31306
|
x: e,
|
|
31296
31307
|
y: n
|
|
31297
31308
|
}, {
|
|
31298
|
-
x:
|
|
31309
|
+
x: a,
|
|
31299
31310
|
y: o
|
|
31300
31311
|
}).toPolygon();
|
|
31301
|
-
|
|
31302
|
-
x:
|
|
31303
|
-
y:
|
|
31312
|
+
c.push(l.rotate((s = t.rotate) == null ? 0 : s, {
|
|
31313
|
+
x: r,
|
|
31314
|
+
y: i
|
|
31304
31315
|
}));
|
|
31305
31316
|
};
|
|
31306
|
-
|
|
31307
|
-
let
|
|
31308
|
-
this.shape = rj(
|
|
31309
|
-
|
|
31317
|
+
l(r, i - o / 2, a + s, s), l(r, i + o / 2, a + s, s), l(r - a / 2, i, s, o + s), l(r + a / 2, i, s, o + s);
|
|
31318
|
+
let u = We.merge(...c), d = this.getBorderColor();
|
|
31319
|
+
this.shape = rj(u, d.string()), M(() => [
|
|
31320
|
+
this.booth.skipDim,
|
|
31321
|
+
hW.layersLoaded,
|
|
31322
|
+
this.booth.hover,
|
|
31323
|
+
this.booth.selected,
|
|
31324
|
+
fW.heatmap
|
|
31325
|
+
], () => {
|
|
31326
|
+
hW.layersLoaded && (this.shape.dim = this.booth.skipDim ? !1 : void 0, this.shape.color = this.getBorderColor().string(), e.update(this.shape));
|
|
31310
31327
|
});
|
|
31311
31328
|
}
|
|
31329
|
+
getBorderColor() {
|
|
31330
|
+
let e = this.booth;
|
|
31331
|
+
if (fW.heatmap) {
|
|
31332
|
+
let t = gW.getHeatmapColorForBooth(e);
|
|
31333
|
+
if (e.selected) {
|
|
31334
|
+
let e = P.colors.booths.selectedBorder;
|
|
31335
|
+
return e ? (0, pa.default)(e) : t.darken(.4);
|
|
31336
|
+
}
|
|
31337
|
+
return e.hover ? t.darken(.3) : t.darken(.2);
|
|
31338
|
+
}
|
|
31339
|
+
return (0, pa.default)((e.selected ? P.colors.booths.selectedBorder : e.borderColor) || P.colors.booths.default);
|
|
31340
|
+
}
|
|
31312
31341
|
getShape() {
|
|
31313
31342
|
return this.shape;
|
|
31314
31343
|
}
|
|
@@ -31329,7 +31358,7 @@ function yM(e) {
|
|
|
31329
31358
|
}
|
|
31330
31359
|
var bM = () => {
|
|
31331
31360
|
var e, t;
|
|
31332
|
-
return !!((e =
|
|
31361
|
+
return !!((e = fW.selectedRoute) != null && e.from && (t = fW.selectedRoute) != null && t.to);
|
|
31333
31362
|
};
|
|
31334
31363
|
function xM(e, t = [], n = "normal") {
|
|
31335
31364
|
let r = [
|
|
@@ -31368,7 +31397,7 @@ function TM() {
|
|
|
31368
31397
|
var EM = "Details", DM = class extends Qj {
|
|
31369
31398
|
constructor(e, t) {
|
|
31370
31399
|
if (super(t), this.rendererService = void 0, this.canvasRect = void 0, this.paddingScaled = void 0, this.padding = void 0, this.minZoomDotVisible = void 0, this.maxZoomDotVisible = void 0, this.exh = void 0, this.shapeLabel = void 0, this.shapeDot = void 0, this.fontSizes = void 0, this.lines = void 0, this.topLeftAlignment = void 0, this.centerAlignment = void 0, this.prefixes = void 0, this.fontUrls = void 0, this.rendererService = e, this.canvasRect = new Je(t.rect.center, t.rect.size, t.rotate), this.paddingScaled = [4, 4], this.padding = (t.borderWidth || P.boothBorderWidth) / 2, this.topLeftAlignment = {
|
|
31371
|
-
horizontal:
|
|
31400
|
+
horizontal: fW.rtl ? "right" : "left",
|
|
31372
31401
|
vertical: "top"
|
|
31373
31402
|
}, this.centerAlignment = {
|
|
31374
31403
|
horizontal: "center",
|
|
@@ -31439,13 +31468,13 @@ var EM = "Details", DM = class extends Qj {
|
|
|
31439
31468
|
};
|
|
31440
31469
|
M(() => [
|
|
31441
31470
|
this.booth.skipDim,
|
|
31442
|
-
|
|
31443
|
-
|
|
31471
|
+
fW.selectedRoute,
|
|
31472
|
+
hW.layersLoaded
|
|
31444
31473
|
], () => {
|
|
31445
|
-
if (!
|
|
31474
|
+
if (!hW.layersLoaded) return;
|
|
31446
31475
|
let e = bM();
|
|
31447
31476
|
this.shapeLabel.dim = e || this.booth.skipDim ? !1 : void 0, this.shapeDot.dim = e || this.booth.skipDim ? !1 : void 0, this.rendererService.update(this.shapeLabel, this.shapeDot);
|
|
31448
|
-
}), M(() =>
|
|
31477
|
+
}), M(() => fW.mapSettings, ({ roll: e }) => {
|
|
31449
31478
|
Ej(e) && this.rendererService.onRoll(`booth-roll-${t.id}`, (e) => {
|
|
31450
31479
|
let t = _j(e, this.shapeLabel.bounds.rotation), { size: i } = this.canvasRect;
|
|
31451
31480
|
return t !== void 0 && (this.shapeLabel = hj(this.shapeLabel, t), !this.shapeLabel.hidden && !this.exh.length && i.x !== i.y && (this.canvasRect = gj(this.canvasRect, t), this.calculateFontSizeFactors(), n(this.rendererService.scale), r(this.rendererService.scale))), [this.shapeLabel, this.shapeDot];
|
|
@@ -31472,9 +31501,9 @@ var EM = "Details", DM = class extends Qj {
|
|
|
31472
31501
|
n.push(e.title || e.name);
|
|
31473
31502
|
} else {
|
|
31474
31503
|
let r = !!e.exhibitors.length;
|
|
31475
|
-
t.push(e.title || e.name), e.onHold ? n.push(j("On Hold")) : e.reserved ? n.push(j("Reserved")) : r || n.push(...e.exhibitors.map((e) => e.name).sort((e, t) => e > t ? 1 : -1)), e.size && n.push(e.size.indexOf("/") > -1 ? e.size.substring(0, e.size.indexOf("/")).trim() : e.size), e.price && e.price !== "0" && !
|
|
31504
|
+
t.push(e.title || e.name), e.onHold ? n.push(j("On Hold")) : e.reserved ? n.push(j("Reserved")) : r || n.push(...e.exhibitors.map((e) => e.name).sort((e, t) => e > t ? 1 : -1)), e.size && n.push(e.size.indexOf("/") > -1 ? e.size.substring(0, e.size.indexOf("/")).trim() : e.size), e.price && e.price !== "0" && !fW.previewMode && n.push(e.price);
|
|
31476
31505
|
}
|
|
31477
|
-
|
|
31506
|
+
fW.rtl && t.forEach((e, n) => {
|
|
31478
31507
|
(e.endsWith(".") || e.endsWith("!") || e.endsWith("?")) && (t[n] = t[n] + ""), pM(e) && (t[n] = t[n] + " ");
|
|
31479
31508
|
}), this.lines = [t, n];
|
|
31480
31509
|
}
|
|
@@ -31627,7 +31656,7 @@ function RM(e, t) {
|
|
|
31627
31656
|
var zM = class extends DM {
|
|
31628
31657
|
constructor(e, t) {
|
|
31629
31658
|
super(e, t), this.steps = void 0, this.labelIsVertical = void 0, this.text = void 0;
|
|
31630
|
-
let n = t.borderWidth / 2 ||
|
|
31659
|
+
let n = t.borderWidth / 2 || mW.borderWidth / 2, r = this.booth.rect, i = xM(Number(getComputedStyle(document.body).getPropertyValue("--expofp-booth-special-weight")) || Number(getComputedStyle(document.body).getPropertyValue("--expofp-booth-main-weight")) || 500, this.rendererService.fontUrls), a = r.expand({
|
|
31631
31660
|
x: -(r.size.width * .05 + n),
|
|
31632
31661
|
y: -(r.size.height * .05 + n)
|
|
31633
31662
|
});
|
|
@@ -31642,8 +31671,8 @@ var zM = class extends DM {
|
|
|
31642
31671
|
vertical: "center"
|
|
31643
31672
|
}), this.getShapeDot(), M(() => [
|
|
31644
31673
|
this.booth.skipDim,
|
|
31645
|
-
|
|
31646
|
-
|
|
31674
|
+
fW.selectedRoute,
|
|
31675
|
+
hW.layersLoaded
|
|
31647
31676
|
], () => {
|
|
31648
31677
|
let e = bM();
|
|
31649
31678
|
this.shapeLabel.dim = e || this.booth.skipDim ? !1 : void 0, this.shapeDot.dim = e || this.booth.skipDim ? !1 : void 0, this.rendererService.update(this.shapeLabel, this.shapeDot);
|
|
@@ -31658,7 +31687,7 @@ var zM = class extends DM {
|
|
|
31658
31687
|
y: r
|
|
31659
31688
|
})), this.shapeDot.hidden = !!t, this.shapeDot;
|
|
31660
31689
|
};
|
|
31661
|
-
this.rendererService.onPtScale(`booth-special-label-${t.id}`, o), this.rendererService.onPtScale(`booth-special-dot-${t.id}`, s), M(() =>
|
|
31690
|
+
this.rendererService.onPtScale(`booth-special-label-${t.id}`, o), this.rendererService.onPtScale(`booth-special-dot-${t.id}`, s), M(() => fW.mapSettings, ({ roll: e }) => {
|
|
31662
31691
|
Ej(e) && this.rendererService.onRoll(`booth-special-roll-${t.id}`, (e) => {
|
|
31663
31692
|
let t = this.shapeLabel.bounds.rotation;
|
|
31664
31693
|
if (this.labelIsVertical) vj(e, t) && (this.shapeLabel.bounds.rotation = -t);
|
|
@@ -31680,8 +31709,8 @@ var zM = class extends DM {
|
|
|
31680
31709
|
this.steps = LM(devicePixelRatio).getStepsForRect(e, this.canvasRect.size.x, this.canvasRect.size.y);
|
|
31681
31710
|
}
|
|
31682
31711
|
setText() {
|
|
31683
|
-
let e = this.booth.title || this.booth.name, t = `Clicks: ${
|
|
31684
|
-
this.text =
|
|
31712
|
+
let e = this.booth.title || this.booth.name, t = `Clicks: ${gW.getTotalClicksByBooth(this.booth)}`;
|
|
31713
|
+
this.text = fW.heatmap ? `${e} - ${t}` : e;
|
|
31685
31714
|
}
|
|
31686
31715
|
};
|
|
31687
31716
|
//#endregion
|
|
@@ -31766,14 +31795,14 @@ function qM(e, t, n) {
|
|
|
31766
31795
|
u && c.push(u);
|
|
31767
31796
|
}
|
|
31768
31797
|
let g = a.filter((e) => e.lines), _ = o.filter((e) => e.lines), v = a.filter((e) => e.source), y = o.filter((e) => e.source);
|
|
31769
|
-
if (!
|
|
31798
|
+
if (!fW.hideLogoInBooth) {
|
|
31770
31799
|
let t = WM(n);
|
|
31771
31800
|
e.onLayerImages(l, async () => {
|
|
31772
31801
|
let e = await zj(t, 350), n = [];
|
|
31773
31802
|
for (let [t, r] of e) {
|
|
31774
31803
|
let e = $.boothStore.boothById.get(t);
|
|
31775
31804
|
if (!e) continue;
|
|
31776
|
-
let { bounds: i, htmlImage: a } = KM(e, r), o = ij(a, i), s = e.borderWidth ||
|
|
31805
|
+
let { bounds: i, htmlImage: a } = KM(e, r), o = ij(a, i), s = e.borderWidth || mW.borderWidth, c = e.rect.expand(-s), l = new Je(c.center, c.size, e.rotate);
|
|
31777
31806
|
e.shapes.push(o), n.push({
|
|
31778
31807
|
shape: o,
|
|
31779
31808
|
parentRect: l
|
|
@@ -31830,7 +31859,7 @@ function JM(e) {
|
|
|
31830
31859
|
}
|
|
31831
31860
|
function YM(e, t, n) {
|
|
31832
31861
|
return new Promise(async (r) => {
|
|
31833
|
-
let i = [], a = va($, t), o = await Mj(t), s = [], c = mi(a, 350), l =
|
|
31862
|
+
let i = [], a = va($, t), o = await Mj(t), s = [], c = mi(a, 350), l = mW.booths.filter((e) => e.rect && (!e.layer || e.layer === t || e.layer.childLayers.includes(t)) && e.exhibitors.find((e) => {
|
|
31834
31863
|
var t;
|
|
31835
31864
|
return !!e.logoInBooth && !!((t = e.logo) != null && t.url);
|
|
31836
31865
|
}) && !$.uiState.hideLogoInBooth), u = new Map(l.map((e) => [e.id, e.noLabels]));
|
|
@@ -33499,7 +33528,7 @@ function pF(e, t) {
|
|
|
33499
33528
|
};
|
|
33500
33529
|
}
|
|
33501
33530
|
function mF() {
|
|
33502
|
-
return !!(Br != null && Br.trackerUrl) && !
|
|
33531
|
+
return !!(Br != null && Br.trackerUrl) && !fW.heatmap;
|
|
33503
33532
|
}
|
|
33504
33533
|
async function hF(e, t) {
|
|
33505
33534
|
if (N.log("trackEvent", e, t), mF()) try {
|
|
@@ -33935,7 +33964,7 @@ var nI = (QF = class {
|
|
|
33935
33964
|
}
|
|
33936
33965
|
async buildEngine() {
|
|
33937
33966
|
try {
|
|
33938
|
-
let { default: e } = await import("./fuse-
|
|
33967
|
+
let { default: e } = await import("./fuse-DgPaqPDU.js").then((e) => e.n);
|
|
33939
33968
|
te(() => {
|
|
33940
33969
|
this.engine = new e([], {
|
|
33941
33970
|
keys: this.keys,
|
|
@@ -34932,7 +34961,7 @@ function kL() {
|
|
|
34932
34961
|
x: n,
|
|
34933
34962
|
y: r
|
|
34934
34963
|
};
|
|
34935
|
-
}) : [];
|
|
34964
|
+
}).reverse() : [];
|
|
34936
34965
|
}
|
|
34937
34966
|
};
|
|
34938
34967
|
}
|
|
@@ -35014,7 +35043,7 @@ function LL(e, t) {
|
|
|
35014
35043
|
if (n.length === 2) return IL(e, n[0], n[1]);
|
|
35015
35044
|
let r = [];
|
|
35016
35045
|
for (let t = 0; t < n.length - 1; t++) r.push(IL(e, n[t], n[t + 1]));
|
|
35017
|
-
return
|
|
35046
|
+
return {
|
|
35018
35047
|
lines: r.flatMap((e) => e.lines),
|
|
35019
35048
|
totalDistance: r.reduce((e, t) => e + t.totalDistance, 0)
|
|
35020
35049
|
};
|
|
@@ -35152,18 +35181,6 @@ function XL(e, t) {
|
|
|
35152
35181
|
//#region ../wayfinding/src/core/createWayfindingEngine.ts
|
|
35153
35182
|
var ZL = 1e-6, QL = (e, t) => e.layer === t.layer && Math.abs(e.x - t.x) < ZL && Math.abs(e.y - t.y) < ZL;
|
|
35154
35183
|
function $L(e, t) {
|
|
35155
|
-
if (!e.length) return e;
|
|
35156
|
-
let n = e[e.length - 1], r = n.p1, i = QL(t.segment.p0, r) ? t.segment.p1 : t.segment.p0;
|
|
35157
|
-
return QL(n.p0, i) ? [...e.slice(0, -1), {
|
|
35158
|
-
...n,
|
|
35159
|
-
p1: t.projection
|
|
35160
|
-
}] : [...e, {
|
|
35161
|
-
...t.segment,
|
|
35162
|
-
p0: r,
|
|
35163
|
-
p1: t.projection
|
|
35164
|
-
}];
|
|
35165
|
-
}
|
|
35166
|
-
function eR(e, t) {
|
|
35167
35184
|
if (!e.length) return e;
|
|
35168
35185
|
let n = e[0], r = n.p0, i = QL(t.segment.p0, r) ? t.segment.p1 : t.segment.p0;
|
|
35169
35186
|
return QL(n.p1, i) ? [{
|
|
@@ -35175,6 +35192,18 @@ function eR(e, t) {
|
|
|
35175
35192
|
p1: r
|
|
35176
35193
|
}, ...e];
|
|
35177
35194
|
}
|
|
35195
|
+
function eR(e, t) {
|
|
35196
|
+
if (!e.length) return e;
|
|
35197
|
+
let n = e[e.length - 1], r = n.p1, i = QL(t.segment.p0, r) ? t.segment.p1 : t.segment.p0;
|
|
35198
|
+
return QL(n.p0, i) ? [...e.slice(0, -1), {
|
|
35199
|
+
...n,
|
|
35200
|
+
p1: t.projection
|
|
35201
|
+
}] : [...e, {
|
|
35202
|
+
...t.segment,
|
|
35203
|
+
p0: r,
|
|
35204
|
+
p1: t.projection
|
|
35205
|
+
}];
|
|
35206
|
+
}
|
|
35178
35207
|
function tR(e, t, n) {
|
|
35179
35208
|
let r = e;
|
|
35180
35209
|
return t && (r = $L(r, t)), n && (r = eR(r, n)), r;
|
|
@@ -35259,7 +35288,7 @@ function fR(e) {
|
|
|
35259
35288
|
layer: o.layer,
|
|
35260
35289
|
targetLayer: c,
|
|
35261
35290
|
direction: lR(r, o.layer, c),
|
|
35262
|
-
role: n
|
|
35291
|
+
role: n ? t ? "exit" : "entry" : "exit"
|
|
35263
35292
|
};
|
|
35264
35293
|
}), s = new Set(o.filter((e) => e.role === "exit").map((e) => `${e.x}:${e.y}`)), c = /* @__PURE__ */ new Set();
|
|
35265
35294
|
return o.filter((e) => {
|
|
@@ -35268,70 +35297,36 @@ function fR(e) {
|
|
|
35268
35297
|
});
|
|
35269
35298
|
}
|
|
35270
35299
|
//#endregion
|
|
35271
|
-
//#region ../wayfinding/src/core/rendering/normalizeRouteDirection.ts
|
|
35272
|
-
function pR(e, t, n) {
|
|
35273
|
-
let r = 0, i = Infinity, a = Infinity, o = n.reduce((e, t) => e + t, 0);
|
|
35274
|
-
for (let o = 0; o < t.length; o++) {
|
|
35275
|
-
let s = t[o], c = n[o];
|
|
35276
|
-
if (e.layer && s.p0.layer !== e.layer) {
|
|
35277
|
-
r += c;
|
|
35278
|
-
continue;
|
|
35279
|
-
}
|
|
35280
|
-
let l = s.p1.x - s.p0.x, u = s.p1.y - s.p0.y, d = l * l + u * u;
|
|
35281
|
-
if (d < 1e-10) {
|
|
35282
|
-
r += c;
|
|
35283
|
-
continue;
|
|
35284
|
-
}
|
|
35285
|
-
let f = ((e.x - s.p0.x) * l + (e.y - s.p0.y) * u) / d, p = Math.max(0, Math.min(1, f)), m = s.p0.x + l * p, h = s.p0.y + u * p, g = Math.hypot(e.x - m, e.y - h);
|
|
35286
|
-
g < i && (i = g, a = r + c * p), r += c;
|
|
35287
|
-
}
|
|
35288
|
-
return {
|
|
35289
|
-
found: a !== Infinity,
|
|
35290
|
-
fromStart: a,
|
|
35291
|
-
total: o
|
|
35292
|
-
};
|
|
35293
|
-
}
|
|
35294
|
-
function mR(e, t, n) {
|
|
35295
|
-
let r = e.map((e) => je(e.p0, e.p1)), i = pR(t, e, r), a = i.found ? i : pR(n, e, r);
|
|
35296
|
-
if (!a.found) return e;
|
|
35297
|
-
let o = a.fromStart, s = a.total - a.fromStart;
|
|
35298
|
-
return (i.found ? s < o : o < s) ? e.slice().reverse().map((e) => ({
|
|
35299
|
-
...e,
|
|
35300
|
-
p0: e.p1,
|
|
35301
|
-
p1: e.p0
|
|
35302
|
-
})) : e;
|
|
35303
|
-
}
|
|
35304
|
-
//#endregion
|
|
35305
35300
|
//#region ../wayfinding/src/core/rendering/routeGeometry.ts
|
|
35306
|
-
function
|
|
35301
|
+
function pR(e) {
|
|
35307
35302
|
return st.fromPoints(e);
|
|
35308
35303
|
}
|
|
35309
35304
|
//#endregion
|
|
35310
35305
|
//#region ../wayfinding/src/core/position/gpsThreshold.ts
|
|
35311
|
-
var
|
|
35312
|
-
function
|
|
35306
|
+
var mR = 7.5, hR = 15, gR = 20;
|
|
35307
|
+
function _R(e, t) {
|
|
35313
35308
|
let { p0: n, p2: r } = t, i = yt(n, r), a = je(n, r);
|
|
35314
35309
|
return !i || !a ? 0 : a / i * e;
|
|
35315
35310
|
}
|
|
35316
|
-
var
|
|
35311
|
+
var vR = (e) => {
|
|
35317
35312
|
if (typeof e == "number" && Number.isFinite(e)) return e;
|
|
35318
|
-
},
|
|
35319
|
-
let n =
|
|
35313
|
+
}, yR = (e, t) => {
|
|
35314
|
+
let n = vR(e);
|
|
35320
35315
|
return n === void 0 || n === 0 ? t : n;
|
|
35321
35316
|
};
|
|
35322
|
-
function
|
|
35317
|
+
function bR({ thresholdInMeters: e, gpsConfig: t }) {
|
|
35323
35318
|
let n = 0;
|
|
35324
|
-
return e && t && (n =
|
|
35319
|
+
return e && t && (n = _R(e, t)), n || (n = gR), n;
|
|
35325
35320
|
}
|
|
35326
|
-
function
|
|
35327
|
-
return
|
|
35328
|
-
thresholdInMeters:
|
|
35321
|
+
function xR(e) {
|
|
35322
|
+
return bR({
|
|
35323
|
+
thresholdInMeters: yR(e == null ? void 0 : e.rerouteThreshold, hR),
|
|
35329
35324
|
gpsConfig: e
|
|
35330
35325
|
});
|
|
35331
35326
|
}
|
|
35332
35327
|
//#endregion
|
|
35333
35328
|
//#region ../wayfinding/src/core/position/distanceToRoute.ts
|
|
35334
|
-
function
|
|
35329
|
+
function SR(e, t, n, r, i, a) {
|
|
35335
35330
|
let o = i - n, s = a - r, c = e - n, l = t - r, u = o * o + s * s;
|
|
35336
35331
|
if (u === 0) return je({
|
|
35337
35332
|
x: e,
|
|
@@ -35351,117 +35346,62 @@ function wR(e, t, n, r, i, a) {
|
|
|
35351
35346
|
y: p
|
|
35352
35347
|
});
|
|
35353
35348
|
}
|
|
35354
|
-
function
|
|
35349
|
+
function CR(e, t) {
|
|
35355
35350
|
let n = Infinity;
|
|
35356
35351
|
for (let r of t) {
|
|
35357
35352
|
if (e.layer && (r.p0.layer !== e.layer || r.p1.layer !== e.layer)) continue;
|
|
35358
|
-
let t =
|
|
35353
|
+
let t = SR(e.x, e.y, r.p0.x, r.p0.y, r.p1.x, r.p1.y);
|
|
35359
35354
|
t < n && (n = t);
|
|
35360
35355
|
}
|
|
35361
35356
|
return n;
|
|
35362
35357
|
}
|
|
35363
35358
|
//#endregion
|
|
35364
35359
|
//#region ../wayfinding/src/core/position/rerouteController.ts
|
|
35365
|
-
function
|
|
35360
|
+
function wR(e) {
|
|
35366
35361
|
return { shouldReroute(t, n) {
|
|
35367
35362
|
if (!n.length) return !1;
|
|
35368
35363
|
let r = t.layer;
|
|
35369
|
-
return r && !n.some((e) => e.p0.layer === r && e.p1.layer === r) ? !0 :
|
|
35364
|
+
return r && !n.some((e) => e.p0.layer === r && e.p1.layer === r) ? !0 : CR(t, n) > e;
|
|
35370
35365
|
} };
|
|
35371
35366
|
}
|
|
35372
35367
|
//#endregion
|
|
35373
35368
|
//#region ../wayfinding/src/core/position/snapToRoute.ts
|
|
35374
|
-
function
|
|
35375
|
-
let n = 0;
|
|
35376
|
-
for (let r of e) {
|
|
35377
|
-
let e = je(r.p0, r.p1);
|
|
35378
|
-
if (e !== 0) {
|
|
35379
|
-
if (n + e >= t) {
|
|
35380
|
-
let i = (t - n) / e, a = r.p0.x + (r.p1.x - r.p0.x) * i, o = r.p0.y + (r.p1.y - r.p0.y) * i;
|
|
35381
|
-
return {
|
|
35382
|
-
point: {
|
|
35383
|
-
layer: r.p0.layer,
|
|
35384
|
-
x: a,
|
|
35385
|
-
y: o
|
|
35386
|
-
},
|
|
35387
|
-
line: r
|
|
35388
|
-
};
|
|
35389
|
-
}
|
|
35390
|
-
n += e;
|
|
35391
|
-
}
|
|
35392
|
-
}
|
|
35393
|
-
let r = e[e.length - 1];
|
|
35394
|
-
return {
|
|
35395
|
-
point: {
|
|
35396
|
-
layer: r.p0.layer,
|
|
35397
|
-
x: r.p1.x,
|
|
35398
|
-
y: r.p1.y
|
|
35399
|
-
},
|
|
35400
|
-
line: r
|
|
35401
|
-
};
|
|
35402
|
-
}
|
|
35403
|
-
function OR(e, t, n) {
|
|
35369
|
+
function TR(e, t, { snapThreshold: n }) {
|
|
35404
35370
|
let r = t.length;
|
|
35405
35371
|
if (!r) return { snapped: !1 };
|
|
35406
|
-
let
|
|
35372
|
+
let i = e.layer || null, a = Infinity, o = null, s = 0, c = i == null;
|
|
35407
35373
|
for (let n = 0; n < r; n++) {
|
|
35408
|
-
let { p0:
|
|
35409
|
-
if (
|
|
35410
|
-
if (
|
|
35411
|
-
|
|
35374
|
+
let r = t[n], { p0: l, p1: u } = r, d = je(l, u);
|
|
35375
|
+
if (d === 0) continue;
|
|
35376
|
+
if (i != null && String(l.layer) !== i) {
|
|
35377
|
+
s += d;
|
|
35412
35378
|
continue;
|
|
35413
35379
|
}
|
|
35414
|
-
|
|
35415
|
-
let
|
|
35380
|
+
c = !0;
|
|
35381
|
+
let f = WL({
|
|
35416
35382
|
x: e.x,
|
|
35417
35383
|
y: e.y
|
|
35418
|
-
},
|
|
35419
|
-
|
|
35420
|
-
|
|
35421
|
-
|
|
35422
|
-
|
|
35423
|
-
|
|
35424
|
-
|
|
35425
|
-
|
|
35426
|
-
|
|
35427
|
-
|
|
35428
|
-
x: e.x,
|
|
35429
|
-
y: e.y
|
|
35430
|
-
}, o.bounds)) {
|
|
35431
|
-
let e = p, n = DR(t, g ? e : p - e);
|
|
35432
|
-
return {
|
|
35433
|
-
snapped: !0,
|
|
35434
|
-
snappedPoint: n.point,
|
|
35435
|
-
snappedLine: n.line,
|
|
35436
|
-
distance: e
|
|
35437
|
-
};
|
|
35438
|
-
}
|
|
35439
|
-
if (a.bounds && (c == null || !a.layer || a.layer === c) && JL({
|
|
35440
|
-
x: e.x,
|
|
35441
|
-
y: e.y
|
|
35442
|
-
}, a.bounds)) {
|
|
35443
|
-
let e = _, n = p - e, r = DR(t, g ? e : n);
|
|
35444
|
-
return {
|
|
35445
|
-
snapped: !0,
|
|
35446
|
-
snappedPoint: r.point,
|
|
35447
|
-
snappedLine: r.line,
|
|
35448
|
-
distance: e
|
|
35449
|
-
};
|
|
35384
|
+
}, l, u);
|
|
35385
|
+
f.distance < a && (a = f.distance, o = {
|
|
35386
|
+
point: {
|
|
35387
|
+
layer: l.layer,
|
|
35388
|
+
x: f.projected.x,
|
|
35389
|
+
y: f.projected.y
|
|
35390
|
+
},
|
|
35391
|
+
line: r,
|
|
35392
|
+
fromStart: s + d * f.t
|
|
35393
|
+
}), s += d;
|
|
35450
35394
|
}
|
|
35451
|
-
|
|
35452
|
-
let v = g ? u.distanceFromPolylineStart : p - u.distanceFromPolylineStart;
|
|
35453
|
-
v < _ && (v = _);
|
|
35454
|
-
let y = p - v, b = DR(t, g ? v : y);
|
|
35455
|
-
return {
|
|
35395
|
+
return i != null && !c || !o || a > n ? { snapped: !1 } : {
|
|
35456
35396
|
snapped: !0,
|
|
35457
|
-
snappedPoint:
|
|
35458
|
-
snappedLine:
|
|
35459
|
-
distance:
|
|
35397
|
+
snappedPoint: o.point,
|
|
35398
|
+
snappedLine: o.line,
|
|
35399
|
+
distance: s - o.fromStart
|
|
35460
35400
|
};
|
|
35461
35401
|
}
|
|
35462
35402
|
//#endregion
|
|
35463
35403
|
//#region ../wayfinding/src/core/position/splitRouteByPoint.ts
|
|
35464
|
-
function
|
|
35404
|
+
function ER(e, t) {
|
|
35465
35405
|
let n = 1e-6, r = -1, i = 0, a = Infinity;
|
|
35466
35406
|
for (let n = 0; n < e.length; n++) {
|
|
35467
35407
|
let o = e[n];
|
|
@@ -35503,7 +35443,7 @@ function kR(e, t) {
|
|
|
35503
35443
|
}
|
|
35504
35444
|
//#endregion
|
|
35505
35445
|
//#region ../wayfinding/src/renderer/iconManager.ts
|
|
35506
|
-
function
|
|
35446
|
+
function DR(e, t) {
|
|
35507
35447
|
let n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
|
|
35508
35448
|
function a(e, t) {
|
|
35509
35449
|
return t === void 0 ? e : `${e}#${t}`;
|
|
@@ -35627,7 +35567,7 @@ function AR(e, t) {
|
|
|
35627
35567
|
}
|
|
35628
35568
|
//#endregion
|
|
35629
35569
|
//#region ../wayfinding/src/renderer/layerManager.ts
|
|
35630
|
-
function
|
|
35570
|
+
function OR(e) {
|
|
35631
35571
|
let t = e.getLayers(), n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
|
|
35632
35572
|
return {
|
|
35633
35573
|
touchedLayers: r,
|
|
@@ -35655,7 +35595,7 @@ function jR(e) {
|
|
|
35655
35595
|
}
|
|
35656
35596
|
//#endregion
|
|
35657
35597
|
//#region ../wayfinding/src/renderer/lineAnimation.ts
|
|
35658
|
-
function
|
|
35598
|
+
function kR(e, t, n, r = 0) {
|
|
35659
35599
|
let i = 0, a = 0, o = null, s = null;
|
|
35660
35600
|
if (!e.length) return;
|
|
35661
35601
|
let c = e.map((e) => {
|
|
@@ -35727,7 +35667,7 @@ function MR(e, t, n, r = 0) {
|
|
|
35727
35667
|
}
|
|
35728
35668
|
//#endregion
|
|
35729
35669
|
//#region ../wayfinding/src/renderer/routeLineManager.ts
|
|
35730
|
-
function
|
|
35670
|
+
function AR(e, t, n) {
|
|
35731
35671
|
let r = null, i = null, a = null;
|
|
35732
35672
|
return {
|
|
35733
35673
|
setRouteLines(o, s, c) {
|
|
@@ -35745,7 +35685,7 @@ function NR(e, t, n) {
|
|
|
35745
35685
|
...e,
|
|
35746
35686
|
color: t.active
|
|
35747
35687
|
}));
|
|
35748
|
-
r = (u =
|
|
35688
|
+
r = (u = kR(_, (e, t, r) => {
|
|
35749
35689
|
f.children = r ? [] : [..._.slice(0, t), e], n.update(f);
|
|
35750
35690
|
}, () => n.getScale(), m)) == null ? null : u;
|
|
35751
35691
|
},
|
|
@@ -35759,8 +35699,8 @@ function NR(e, t, n) {
|
|
|
35759
35699
|
}
|
|
35760
35700
|
//#endregion
|
|
35761
35701
|
//#region ../wayfinding/src/renderer/trailManager.ts
|
|
35762
|
-
var
|
|
35763
|
-
function
|
|
35702
|
+
var jR = 40;
|
|
35703
|
+
function MR(e, t) {
|
|
35764
35704
|
let n = /* @__PURE__ */ new Map();
|
|
35765
35705
|
function r(t) {
|
|
35766
35706
|
if (!t.dotDefs.length) return;
|
|
@@ -35768,7 +35708,7 @@ function FR(e, t) {
|
|
|
35768
35708
|
n.children = n.children.filter((e) => !r.has(e)), t.dotDefs = [];
|
|
35769
35709
|
}
|
|
35770
35710
|
function i(n, i) {
|
|
35771
|
-
let a = e.touchLayer(n.layerName), o =
|
|
35711
|
+
let a = e.touchLayer(n.layerName), o = jR * i, s = aR(n.from, n.to, o), c = n.canvas, l = s.map((e) => t.createImageDef(c, new Je({
|
|
35772
35712
|
x: e.x,
|
|
35773
35713
|
y: e.y
|
|
35774
35714
|
}, {
|
|
@@ -35815,16 +35755,16 @@ function FR(e, t) {
|
|
|
35815
35755
|
}
|
|
35816
35756
|
//#endregion
|
|
35817
35757
|
//#region ../wayfinding/src/renderer/createWayfindingRenderer.ts
|
|
35818
|
-
var
|
|
35758
|
+
var NR = {
|
|
35819
35759
|
passed: "#B5B7BC",
|
|
35820
35760
|
remaining: "#A4CCE2",
|
|
35821
35761
|
active: "#0794EA"
|
|
35822
35762
|
};
|
|
35823
|
-
function
|
|
35763
|
+
function PR(e, t = {}) {
|
|
35824
35764
|
let n = {
|
|
35825
|
-
...
|
|
35765
|
+
...NR,
|
|
35826
35766
|
...t.colors
|
|
35827
|
-
}, r =
|
|
35767
|
+
}, r = OR(e), i = DR(r, e), a = MR(r, e), o = AR(r, n, e), s = {
|
|
35828
35768
|
setIcon: (...e) => i.setIcon(...e),
|
|
35829
35769
|
clearIcons: (...e) => i.clearIcons(...e),
|
|
35830
35770
|
setTrail: (...e) => a.setTrail(...e),
|
|
@@ -35845,12 +35785,12 @@ function LR(e, t = {}) {
|
|
|
35845
35785
|
}
|
|
35846
35786
|
//#endregion
|
|
35847
35787
|
//#region ../wayfinding/src/runtime/positionView.ts
|
|
35848
|
-
var
|
|
35849
|
-
function
|
|
35788
|
+
var FR = "current-position", IR = "position";
|
|
35789
|
+
function LR({ renderer: e, iconProvider: t, layer: n }) {
|
|
35850
35790
|
return {
|
|
35851
35791
|
place(r, i) {
|
|
35852
35792
|
let a = Number.isFinite(r.heading), o = a ? "current_arrow" : "current", s = a ? Ee(r.heading) : void 0;
|
|
35853
|
-
e.setIcon(
|
|
35793
|
+
e.setIcon(IR, {
|
|
35854
35794
|
canvas: t.getIcon(o).canvas,
|
|
35855
35795
|
layer: n,
|
|
35856
35796
|
x: r.x,
|
|
@@ -35862,26 +35802,26 @@ function BR({ renderer: e, iconProvider: t, layer: n }) {
|
|
|
35862
35802
|
});
|
|
35863
35803
|
},
|
|
35864
35804
|
hide() {
|
|
35865
|
-
e.setIcon(
|
|
35805
|
+
e.setIcon(IR, null);
|
|
35866
35806
|
}
|
|
35867
35807
|
};
|
|
35868
35808
|
}
|
|
35869
35809
|
//#endregion
|
|
35870
35810
|
//#region ../wayfinding/src/runtime/endpointView.ts
|
|
35871
|
-
function
|
|
35811
|
+
function RR(e, t) {
|
|
35872
35812
|
return !t || !e.bounds && e.id !== "current-position";
|
|
35873
35813
|
}
|
|
35874
|
-
function
|
|
35814
|
+
function zR({ renderer: e, iconProvider: t, floorContext: n, layer: r }) {
|
|
35875
35815
|
return {
|
|
35876
35816
|
place(i, a, o, s) {
|
|
35877
35817
|
if (!o.length) return;
|
|
35878
|
-
let c = n.isLayerVisible(i.layer), l = n.isLayerVisible(a.layer), u = o[
|
|
35818
|
+
let c = n.isLayerVisible(i.layer), l = n.isLayerVisible(a.layer), u = o[0], d = o[o.length - 1], f = i.id === "current-position" && s;
|
|
35879
35819
|
e.setIcon("source", {
|
|
35880
35820
|
canvas: t.getIcon(f ? "source_inactive" : "source").canvas,
|
|
35881
35821
|
layer: r,
|
|
35882
35822
|
x: u.x,
|
|
35883
35823
|
y: u.y,
|
|
35884
|
-
hidden:
|
|
35824
|
+
hidden: RR(i, c),
|
|
35885
35825
|
dimmed: !c,
|
|
35886
35826
|
cardinalSnap: !0
|
|
35887
35827
|
}), e.setIcon("destination", {
|
|
@@ -35901,7 +35841,7 @@ function HR({ renderer: e, iconProvider: t, floorContext: n, layer: r }) {
|
|
|
35901
35841
|
}
|
|
35902
35842
|
//#endregion
|
|
35903
35843
|
//#region ../wayfinding/src/runtime/getRouteLines.ts
|
|
35904
|
-
function
|
|
35844
|
+
function BR({ engine: e, from: t, to: n, waypoints: r, accessible: i }) {
|
|
35905
35845
|
return r != null && r.length ? e.buildWaypointsRoute([
|
|
35906
35846
|
t,
|
|
35907
35847
|
...r,
|
|
@@ -35909,10 +35849,43 @@ function UR({ engine: e, from: t, to: n, waypoints: r, accessible: i }) {
|
|
|
35909
35849
|
], { accessible: i }).lines : e.buildRoute(t, n, { accessible: i }).lines;
|
|
35910
35850
|
}
|
|
35911
35851
|
//#endregion
|
|
35852
|
+
//#region ../wayfinding/src/runtime/snapPositionToRoute.ts
|
|
35853
|
+
function VR(e, t, n) {
|
|
35854
|
+
if (!(t != null && t.bounds)) return !1;
|
|
35855
|
+
let r = n == null || !t.layer || t.layer === n, i = JL({
|
|
35856
|
+
x: e.x,
|
|
35857
|
+
y: e.y
|
|
35858
|
+
}, t.bounds);
|
|
35859
|
+
return r && i;
|
|
35860
|
+
}
|
|
35861
|
+
function HR(e, t, n, r, i) {
|
|
35862
|
+
if (!t.length) return { snapped: !1 };
|
|
35863
|
+
let a = e.layer || null;
|
|
35864
|
+
if (VR(e, n, a)) {
|
|
35865
|
+
let e = t[0];
|
|
35866
|
+
return {
|
|
35867
|
+
snapped: !0,
|
|
35868
|
+
snappedPoint: e.p0,
|
|
35869
|
+
snappedLine: e,
|
|
35870
|
+
distance: jL(t)
|
|
35871
|
+
};
|
|
35872
|
+
}
|
|
35873
|
+
if (VR(e, r, a)) {
|
|
35874
|
+
let e = t[t.length - 1];
|
|
35875
|
+
return {
|
|
35876
|
+
snapped: !0,
|
|
35877
|
+
snappedPoint: e.p1,
|
|
35878
|
+
snappedLine: e,
|
|
35879
|
+
distance: 0
|
|
35880
|
+
};
|
|
35881
|
+
}
|
|
35882
|
+
return TR(e, t, { snapThreshold: i });
|
|
35883
|
+
}
|
|
35884
|
+
//#endregion
|
|
35912
35885
|
//#region ../wayfinding/src/runtime/positionTrailView.ts
|
|
35913
|
-
var
|
|
35914
|
-
function
|
|
35915
|
-
let o =
|
|
35886
|
+
var UR = "trail";
|
|
35887
|
+
function WR({ renderer: e, iconProvider: t, floorContext: n, trails: r, iconLayer: i, snapThreshold: a }) {
|
|
35888
|
+
let o = LR({
|
|
35916
35889
|
renderer: e,
|
|
35917
35890
|
iconProvider: t,
|
|
35918
35891
|
layer: i
|
|
@@ -35926,11 +35899,7 @@ function GR({ renderer: e, iconProvider: t, floorContext: n, trails: r, iconLaye
|
|
|
35926
35899
|
o.hide();
|
|
35927
35900
|
},
|
|
35928
35901
|
applyToRoute(e, t, r) {
|
|
35929
|
-
let i =
|
|
35930
|
-
snapThreshold: a,
|
|
35931
|
-
from: t.from,
|
|
35932
|
-
to: t.to
|
|
35933
|
-
}), s = !n.isLayerVisible(e.layer);
|
|
35902
|
+
let i = HR(e, r, t.from, t.to, a), s = !n.isLayerVisible(e.layer);
|
|
35934
35903
|
return i.snapped ? o.place({
|
|
35935
35904
|
...e,
|
|
35936
35905
|
x: i.snappedPoint.x,
|
|
@@ -35938,16 +35907,16 @@ function GR({ renderer: e, iconProvider: t, floorContext: n, trails: r, iconLaye
|
|
|
35938
35907
|
}, s) : o.place(e, s), i;
|
|
35939
35908
|
},
|
|
35940
35909
|
setTrail(e, t) {
|
|
35941
|
-
e && t ? r.place(
|
|
35910
|
+
e && t ? r.place(UR, e, t) : r.clear(UR);
|
|
35942
35911
|
},
|
|
35943
35912
|
clearTrail() {
|
|
35944
|
-
r.clear(
|
|
35913
|
+
r.clear(UR);
|
|
35945
35914
|
}
|
|
35946
35915
|
};
|
|
35947
35916
|
}
|
|
35948
35917
|
//#endregion
|
|
35949
35918
|
//#region ../wayfinding/src/runtime/routeLinesView.ts
|
|
35950
|
-
function
|
|
35919
|
+
function GR({ renderer: e, linesLayer: t, animatedLinesLayer: n }) {
|
|
35951
35920
|
return {
|
|
35952
35921
|
draw({ passed: r, remaining: i }, a = !1) {
|
|
35953
35922
|
e.setRouteLines(r, i, {
|
|
@@ -35967,34 +35936,34 @@ function KR({ renderer: e, linesLayer: t, animatedLinesLayer: n }) {
|
|
|
35967
35936
|
}
|
|
35968
35937
|
//#endregion
|
|
35969
35938
|
//#region ../wayfinding/src/runtime/routeRenderData.ts
|
|
35970
|
-
function
|
|
35971
|
-
let
|
|
35972
|
-
if (!(
|
|
35939
|
+
function KR({ routeLines: e, currentRouteLayer: t, snap: n }) {
|
|
35940
|
+
let r = e.filter((e) => !e.virtual), i = (e) => t === null ? e : e.filter((e) => e.p0.layer === t);
|
|
35941
|
+
if (!(n != null && n.snapped)) return {
|
|
35973
35942
|
passed: [],
|
|
35974
|
-
remaining:
|
|
35975
|
-
distance: jL(
|
|
35943
|
+
remaining: i(r),
|
|
35944
|
+
distance: jL(r)
|
|
35976
35945
|
};
|
|
35977
|
-
let { passed:
|
|
35978
|
-
...
|
|
35979
|
-
p0:
|
|
35980
|
-
}, ...
|
|
35946
|
+
let { passed: a, remaining: o } = ER(r, n.snappedPoint), s = o !== r && o.length > 0 && o[0].p0.layer === n.snappedPoint.layer ? [{
|
|
35947
|
+
...o[0],
|
|
35948
|
+
p0: n.snappedPoint
|
|
35949
|
+
}, ...o.slice(1)] : o;
|
|
35981
35950
|
return {
|
|
35982
|
-
passed:
|
|
35983
|
-
remaining:
|
|
35984
|
-
distance:
|
|
35951
|
+
passed: i(a),
|
|
35952
|
+
remaining: i(s),
|
|
35953
|
+
distance: n.distance
|
|
35985
35954
|
};
|
|
35986
35955
|
}
|
|
35987
35956
|
//#endregion
|
|
35988
35957
|
//#region ../wayfinding/src/runtime/routeUpdate.ts
|
|
35989
|
-
function
|
|
35958
|
+
function qR(e, t) {
|
|
35990
35959
|
return {
|
|
35991
35960
|
lines: e.filter((e) => !e.virtual),
|
|
35992
|
-
bounds:
|
|
35961
|
+
bounds: pR(t.flatMap((e) => [e.p0, e.p1]))
|
|
35993
35962
|
};
|
|
35994
35963
|
}
|
|
35995
35964
|
//#endregion
|
|
35996
35965
|
//#region ../wayfinding/src/runtime/trailView.ts
|
|
35997
|
-
function
|
|
35966
|
+
function JR({ renderer: e, iconProvider: t, floorContext: n, layer: r }) {
|
|
35998
35967
|
let i = /* @__PURE__ */ new Set();
|
|
35999
35968
|
function a(e, t) {
|
|
36000
35969
|
if (n.showAllFloors()) return !0;
|
|
@@ -36026,11 +35995,11 @@ function YR({ renderer: e, iconProvider: t, floorContext: n, layer: r }) {
|
|
|
36026
35995
|
}
|
|
36027
35996
|
//#endregion
|
|
36028
35997
|
//#region ../wayfinding/src/runtime/transitionView.ts
|
|
36029
|
-
var
|
|
36030
|
-
function
|
|
35998
|
+
var YR = "transition";
|
|
35999
|
+
function XR({ renderer: e, iconProvider: t, floorContext: n, onTransitionClick: r, layer: i }) {
|
|
36031
36000
|
return {
|
|
36032
36001
|
place(a) {
|
|
36033
|
-
e.clearIcons(
|
|
36002
|
+
e.clearIcons(YR);
|
|
36034
36003
|
let o;
|
|
36035
36004
|
if (n.showAllFloors()) o = null;
|
|
36036
36005
|
else {
|
|
@@ -36043,8 +36012,8 @@ function ZR({ renderer: e, iconProvider: t, floorContext: n, onTransitionClick:
|
|
|
36043
36012
|
currentLayerName: o,
|
|
36044
36013
|
floorOrder: n.getFloorOrder()
|
|
36045
36014
|
});
|
|
36046
|
-
for (let [n, a] of s.entries()) e.setIcon(
|
|
36047
|
-
canvas: t.getIcon(
|
|
36015
|
+
for (let [n, a] of s.entries()) e.setIcon(YR, {
|
|
36016
|
+
canvas: t.getIcon(ZR(a.role, a.direction)).canvas,
|
|
36048
36017
|
layer: i,
|
|
36049
36018
|
x: a.x,
|
|
36050
36019
|
y: a.y,
|
|
@@ -36053,33 +36022,33 @@ function ZR({ renderer: e, iconProvider: t, floorContext: n, onTransitionClick:
|
|
|
36053
36022
|
}, n);
|
|
36054
36023
|
},
|
|
36055
36024
|
clear() {
|
|
36056
|
-
e.clearIcons(
|
|
36025
|
+
e.clearIcons(YR);
|
|
36057
36026
|
}
|
|
36058
36027
|
};
|
|
36059
36028
|
}
|
|
36060
|
-
function
|
|
36029
|
+
function ZR(e, t) {
|
|
36061
36030
|
return e === "entry" ? "transition_entry" : t === "up" ? "transition_up" : t === "down" ? "transition_down" : "transition";
|
|
36062
36031
|
}
|
|
36063
36032
|
//#endregion
|
|
36064
36033
|
//#region ../wayfinding/src/runtime/createWayfindingRuntime.ts
|
|
36065
|
-
var
|
|
36066
|
-
function
|
|
36067
|
-
let u =
|
|
36034
|
+
var QR = (e) => e.flatMap((e) => [e.p0, e.p1]);
|
|
36035
|
+
function $R({ engine: e, renderer: t, iconProvider: n, floorContext: r, layers: i, snapThreshold: a, rerouteThreshold: o, onTransitionClick: s, onRouteUpdate: c, onRouteDistance: l }) {
|
|
36036
|
+
let u = wR(o), d = zR({
|
|
36068
36037
|
renderer: t,
|
|
36069
36038
|
iconProvider: n,
|
|
36070
36039
|
floorContext: r,
|
|
36071
36040
|
layer: i.points
|
|
36072
|
-
}), f =
|
|
36041
|
+
}), f = XR({
|
|
36073
36042
|
renderer: t,
|
|
36074
36043
|
iconProvider: n,
|
|
36075
36044
|
floorContext: r,
|
|
36076
36045
|
onTransitionClick: s,
|
|
36077
36046
|
layer: i.points
|
|
36078
|
-
}), p =
|
|
36047
|
+
}), p = WR({
|
|
36079
36048
|
renderer: t,
|
|
36080
36049
|
iconProvider: n,
|
|
36081
36050
|
floorContext: r,
|
|
36082
|
-
trails:
|
|
36051
|
+
trails: JR({
|
|
36083
36052
|
renderer: t,
|
|
36084
36053
|
iconProvider: n,
|
|
36085
36054
|
floorContext: r,
|
|
@@ -36087,7 +36056,7 @@ function ez({ engine: e, renderer: t, iconProvider: n, floorContext: r, layers:
|
|
|
36087
36056
|
}),
|
|
36088
36057
|
iconLayer: i.currentPosition,
|
|
36089
36058
|
snapThreshold: a
|
|
36090
|
-
}), m =
|
|
36059
|
+
}), m = GR({
|
|
36091
36060
|
renderer: t,
|
|
36092
36061
|
linesLayer: i.lines,
|
|
36093
36062
|
animatedLinesLayer: i.linesAnimated
|
|
@@ -36108,17 +36077,15 @@ function ez({ engine: e, renderer: t, iconProvider: n, floorContext: r, layers:
|
|
|
36108
36077
|
return e.length ? {
|
|
36109
36078
|
from: g,
|
|
36110
36079
|
to: _,
|
|
36111
|
-
routePoints:
|
|
36080
|
+
routePoints: QR(e),
|
|
36112
36081
|
visibleLines: e
|
|
36113
36082
|
} : null;
|
|
36114
36083
|
}
|
|
36115
36084
|
function E(e = null, t = !1) {
|
|
36116
36085
|
if (!g || !_) return;
|
|
36117
|
-
let n =
|
|
36086
|
+
let n = KR({
|
|
36118
36087
|
routeLines: h,
|
|
36119
36088
|
currentRouteLayer: S(),
|
|
36120
|
-
from: g,
|
|
36121
|
-
to: _,
|
|
36122
36089
|
snap: e
|
|
36123
36090
|
});
|
|
36124
36091
|
m.draw(n, t), y = n.distance;
|
|
@@ -36134,11 +36101,11 @@ function ez({ engine: e, renderer: t, iconProvider: n, floorContext: r, layers:
|
|
|
36134
36101
|
return (t = e.bounds) != null && t.length ? null : e.id === "current-position" ? n : e;
|
|
36135
36102
|
}, i = b ? null : r(t.from);
|
|
36136
36103
|
if (i) {
|
|
36137
|
-
p.setTrail(t.routePoints[
|
|
36104
|
+
p.setTrail(t.routePoints[0], i);
|
|
36138
36105
|
return;
|
|
36139
36106
|
}
|
|
36140
36107
|
let a = r(t.to);
|
|
36141
|
-
p.setTrail(a ? t.routePoints[
|
|
36108
|
+
p.setTrail(a ? t.routePoints[t.routePoints.length - 1] : null, a);
|
|
36142
36109
|
}
|
|
36143
36110
|
function O() {
|
|
36144
36111
|
if (!g || !_) return;
|
|
@@ -36158,19 +36125,15 @@ function ez({ engine: e, renderer: t, iconProvider: n, floorContext: r, layers:
|
|
|
36158
36125
|
if (x = !1, !v || !g || !_) return null;
|
|
36159
36126
|
let e = h.filter((e) => !e.virtual);
|
|
36160
36127
|
if (!e.length) return null;
|
|
36161
|
-
let t = T(), n = t ? p.applyToRoute(v, t, e) :
|
|
36162
|
-
snapThreshold: a,
|
|
36163
|
-
from: g,
|
|
36164
|
-
to: _
|
|
36165
|
-
});
|
|
36128
|
+
let t = T(), n = t ? p.applyToRoute(v, t, e) : HR(v, e, g, _, a);
|
|
36166
36129
|
return n.snapped && (b = !0), x = n.snapped, n;
|
|
36167
36130
|
}
|
|
36168
36131
|
function j() {
|
|
36169
|
-
let e =
|
|
36132
|
+
let e = qR(h, C());
|
|
36170
36133
|
return c(e.lines, e.bounds), e;
|
|
36171
36134
|
}
|
|
36172
36135
|
function ee({ from: n, to: r, waypoints: i, accessible: a }) {
|
|
36173
|
-
let o =
|
|
36136
|
+
let o = BR({
|
|
36174
36137
|
engine: e,
|
|
36175
36138
|
from: n,
|
|
36176
36139
|
to: r,
|
|
@@ -36214,18 +36177,18 @@ function ez({ engine: e, renderer: t, iconProvider: n, floorContext: r, layers:
|
|
|
36214
36177
|
}
|
|
36215
36178
|
//#endregion
|
|
36216
36179
|
//#region ../wayfinding/src/createWayfinding.ts
|
|
36217
|
-
function
|
|
36218
|
-
let { dataSource: t, renderer: n, iconProvider: r, floorContext: i, layers: a, gpsConfig: o } = e, s = nR(t), c =
|
|
36180
|
+
function ez(e) {
|
|
36181
|
+
let { dataSource: t, renderer: n, iconProvider: r, floorContext: i, layers: a, gpsConfig: o } = e, s = nR(t), c = PR(n), l = $R({
|
|
36219
36182
|
engine: s,
|
|
36220
36183
|
renderer: c,
|
|
36221
36184
|
iconProvider: r,
|
|
36222
36185
|
floorContext: i,
|
|
36223
36186
|
layers: a,
|
|
36224
|
-
snapThreshold:
|
|
36225
|
-
thresholdInMeters:
|
|
36187
|
+
snapThreshold: bR({
|
|
36188
|
+
thresholdInMeters: yR(o == null ? void 0 : o.snapThreshold, mR),
|
|
36226
36189
|
gpsConfig: o
|
|
36227
36190
|
}),
|
|
36228
|
-
rerouteThreshold:
|
|
36191
|
+
rerouteThreshold: xR(o),
|
|
36229
36192
|
onTransitionClick: (t) => {
|
|
36230
36193
|
var n;
|
|
36231
36194
|
return (n = e.onTransitionClick) == null ? void 0 : n.call(e, t);
|
|
@@ -36259,8 +36222,8 @@ function tz(e) {
|
|
|
36259
36222
|
}
|
|
36260
36223
|
//#endregion
|
|
36261
36224
|
//#region src/wayfinding/adapters/arbitraryPoint.ts
|
|
36262
|
-
var
|
|
36263
|
-
function
|
|
36225
|
+
var tz = "Your Location", nz = "kiosk-anchor";
|
|
36226
|
+
function rz(e, t, n) {
|
|
36264
36227
|
return {
|
|
36265
36228
|
id: n,
|
|
36266
36229
|
x: e.x,
|
|
@@ -36271,7 +36234,7 @@ function iz(e, t, n) {
|
|
|
36271
36234
|
}
|
|
36272
36235
|
//#endregion
|
|
36273
36236
|
//#region src/wayfinding/adapters/boothToEndpoint.ts
|
|
36274
|
-
function
|
|
36237
|
+
function iz(e) {
|
|
36275
36238
|
var t, n;
|
|
36276
36239
|
let r = e.rect, i = Je.fromMinMax(r.min, r.max, e.rotate).corners();
|
|
36277
36240
|
return {
|
|
@@ -36283,26 +36246,26 @@ function az(e) {
|
|
|
36283
36246
|
}
|
|
36284
36247
|
//#endregion
|
|
36285
36248
|
//#region src/wayfinding/adapters/canvasIconProvider.ts
|
|
36286
|
-
var
|
|
36287
|
-
function
|
|
36249
|
+
var az = "#00A2FF", oz = "#FF9F06", sz = 34, cz = 56;
|
|
36250
|
+
function lz(e, t, n, r, i, a) {
|
|
36288
36251
|
let o = e.get(t);
|
|
36289
36252
|
return o ? (o.id = t, Xa(o, n, r, i)) : a();
|
|
36290
36253
|
}
|
|
36291
|
-
function
|
|
36254
|
+
function uz(e) {
|
|
36292
36255
|
return {
|
|
36293
36256
|
canvas: e,
|
|
36294
36257
|
width: e.width,
|
|
36295
36258
|
height: e.height
|
|
36296
36259
|
};
|
|
36297
36260
|
}
|
|
36298
|
-
function
|
|
36261
|
+
function dz(e) {
|
|
36299
36262
|
var t, n;
|
|
36300
|
-
let { iconMap: r, pixelRatio: i } = e, a = (t = e.sourceColor) == null ?
|
|
36301
|
-
s.set("destination",
|
|
36263
|
+
let { iconMap: r, pixelRatio: i } = e, a = (t = e.sourceColor) == null ? az : t, o = (n = e.destinationColor) == null ? oz : n, s = /* @__PURE__ */ new Map();
|
|
36264
|
+
s.set("destination", uz(lz(r, "destination", sz, sz, i, () => Qa(i, o)))), s.set("source", uz(lz(r, "departure", sz, sz, i, () => Za(i, a)))), s.set("source_inactive", uz(lz(r, "departure_inactive", sz, sz, i, () => Za(i, a))));
|
|
36302
36265
|
let c = Za(i, a);
|
|
36303
|
-
c.id = "current-location", s.set("current",
|
|
36304
|
-
let l =
|
|
36305
|
-
return s.set("transition",
|
|
36266
|
+
c.id = "current-location", s.set("current", uz(c));
|
|
36267
|
+
let l = lz(r, "transition", sz, sz, i, () => Za(i, a));
|
|
36268
|
+
return s.set("transition", uz(l)), s.set("transition_up", uz(lz(r, "transition_up", cz, sz, i, () => l))), s.set("transition_down", uz(lz(r, "transition_down", cz, sz, i, () => l))), s.set("transition_entry", uz(lz(r, "departure", sz, sz, i, () => Za(i, a)))), s.set("current_arrow", uz(lz(r, "direction", sz, sz, i, () => $a(i, a)))), s.set("trail", uz(GA(4, "#b5b7bc"))), { getIcon(e) {
|
|
36306
36269
|
let t = s.get(e);
|
|
36307
36270
|
if (!t) throw Error(`Unknown icon: ${e}`);
|
|
36308
36271
|
return t;
|
|
@@ -36310,11 +36273,11 @@ function fz(e) {
|
|
|
36310
36273
|
}
|
|
36311
36274
|
//#endregion
|
|
36312
36275
|
//#region src/wayfinding/adapters/floorContext.ts
|
|
36313
|
-
var
|
|
36314
|
-
function
|
|
36276
|
+
var fz = 0;
|
|
36277
|
+
function pz(e, t) {
|
|
36315
36278
|
return {
|
|
36316
36279
|
showAllFloors() {
|
|
36317
|
-
return e.mode ===
|
|
36280
|
+
return e.mode === fz;
|
|
36318
36281
|
},
|
|
36319
36282
|
getActiveFloor() {
|
|
36320
36283
|
var n;
|
|
@@ -36332,7 +36295,7 @@ function mz(e, t) {
|
|
|
36332
36295
|
}
|
|
36333
36296
|
//#endregion
|
|
36334
36297
|
//#region src/wayfinding/adapters/graphDataSource.ts
|
|
36335
|
-
function
|
|
36298
|
+
function mz() {
|
|
36336
36299
|
return {
|
|
36337
36300
|
getLines: () => {
|
|
36338
36301
|
var e, t;
|
|
@@ -36346,24 +36309,24 @@ function hz() {
|
|
|
36346
36309
|
}
|
|
36347
36310
|
//#endregion
|
|
36348
36311
|
//#region src/utils/math.ts
|
|
36349
|
-
function
|
|
36312
|
+
function hz(e, t) {
|
|
36350
36313
|
return e * (1 - t / 100);
|
|
36351
36314
|
}
|
|
36352
36315
|
//#endregion
|
|
36353
36316
|
//#region src/wayfinding/adapters/kioskCanvas.ts
|
|
36354
|
-
var
|
|
36355
|
-
function
|
|
36317
|
+
var gz = 199, _z = 152, vz = 55, yz = "#ee4422";
|
|
36318
|
+
function bz(e, t) {
|
|
36356
36319
|
let n = devicePixelRatio, r = e == null ? void 0 : e.get("kiosk");
|
|
36357
36320
|
if (r) {
|
|
36358
36321
|
r.id = "kiosk";
|
|
36359
36322
|
let e = t ? t / 100 : 1;
|
|
36360
|
-
return Xa(r, gz
|
|
36323
|
+
return Xa(r, hz(gz * e, vz), hz(_z * e, vz), n);
|
|
36361
36324
|
}
|
|
36362
|
-
return $a(n, (0, pa.default)(
|
|
36325
|
+
return $a(n, (0, pa.default)(yz).hex());
|
|
36363
36326
|
}
|
|
36364
36327
|
//#endregion
|
|
36365
36328
|
//#region src/wayfinding/adapters/positionInput.ts
|
|
36366
|
-
function
|
|
36329
|
+
function xz(e) {
|
|
36367
36330
|
return {
|
|
36368
36331
|
x: e.x,
|
|
36369
36332
|
y: e.y,
|
|
@@ -36373,12 +36336,12 @@ function Sz(e) {
|
|
|
36373
36336
|
}
|
|
36374
36337
|
//#endregion
|
|
36375
36338
|
//#region src/wayfinding/bindMobxReactions.ts
|
|
36376
|
-
var
|
|
36377
|
-
function
|
|
36339
|
+
var Sz = (e) => "rect" in e ? iz(e) : e;
|
|
36340
|
+
function Cz({ wayfinding: e, kioskHandler: t, yahHandler: n, stores: { routeStore: r, uiState: i, layerStore: a } }) {
|
|
36378
36341
|
let o = [];
|
|
36379
36342
|
function s() {
|
|
36380
36343
|
var t;
|
|
36381
|
-
let n = i.selectedRoute, a = n != null && n.from ?
|
|
36344
|
+
let n = i.selectedRoute, a = n != null && n.from ? Sz(n.from) : null, o = n != null && n.to ? Sz(n.to) : null;
|
|
36382
36345
|
if (!a || !o) {
|
|
36383
36346
|
e.clearRoute();
|
|
36384
36347
|
return;
|
|
@@ -36386,7 +36349,7 @@ function wz({ wayfinding: e, kioskHandler: t, yahHandler: n, stores: { routeStor
|
|
|
36386
36349
|
e.setRoute({
|
|
36387
36350
|
from: a,
|
|
36388
36351
|
to: o,
|
|
36389
|
-
waypoints: n == null || (t = n.waypoints) == null ? void 0 : t.map(
|
|
36352
|
+
waypoints: n == null || (t = n.waypoints) == null ? void 0 : t.map(iz),
|
|
36390
36353
|
accessible: r.onlyAccessible
|
|
36391
36354
|
}) === !1 && console.error(/* @__PURE__ */ Error(`Route not found: (${a.x},${a.y}) → (${o.x},${o.y})`));
|
|
36392
36355
|
}
|
|
@@ -36396,7 +36359,7 @@ function wz({ wayfinding: e, kioskHandler: t, yahHandler: n, stores: { routeStor
|
|
|
36396
36359
|
e.setPosition(null), n(null);
|
|
36397
36360
|
return;
|
|
36398
36361
|
}
|
|
36399
|
-
let l =
|
|
36362
|
+
let l = xz(t);
|
|
36400
36363
|
c ? (e.setPosition(null), n({
|
|
36401
36364
|
x: l.x,
|
|
36402
36365
|
y: l.y,
|
|
@@ -36407,8 +36370,8 @@ function wz({ wayfinding: e, kioskHandler: t, yahHandler: n, stores: { routeStor
|
|
|
36407
36370
|
var t;
|
|
36408
36371
|
let n = r.currentPosition, a = i.selectedRoute;
|
|
36409
36372
|
if (!n || !(a != null && a.to)) return;
|
|
36410
|
-
let o = !a.from, s = ((t = a.from) == null ? void 0 : t.id) === "current-position" && e.shouldReroute(
|
|
36411
|
-
!o && !s || r.rebuildRouteFromPosition(
|
|
36373
|
+
let o = !a.from, s = ((t = a.from) == null ? void 0 : t.id) === "current-position" && e.shouldReroute(xz(n));
|
|
36374
|
+
!o && !s || r.rebuildRouteFromPosition(rz(n, tz, FR));
|
|
36412
36375
|
}
|
|
36413
36376
|
function u() {
|
|
36414
36377
|
var e, n;
|
|
@@ -36420,7 +36383,7 @@ function wz({ wayfinding: e, kioskHandler: t, yahHandler: n, stores: { routeStor
|
|
|
36420
36383
|
let t = i.selectedRoute, n = r.currentPosition;
|
|
36421
36384
|
if (!(t != null && t.to) || !n || ((e = t.from) == null ? void 0 : e.id) !== "current-position" || r.routeLines.length > 0) return;
|
|
36422
36385
|
let a = n.z == null ? "" : String(n.z);
|
|
36423
|
-
t.from.x === n.x && t.from.y === n.y && t.from.layer === a || r.rebuildRouteFromPosition(
|
|
36386
|
+
t.from.x === n.x && t.from.y === n.y && t.from.layer === a || r.rebuildRouteFromPosition(rz(n, tz, FR));
|
|
36424
36387
|
}
|
|
36425
36388
|
o.push(M(() => a.layersLoaded, () => {
|
|
36426
36389
|
s(), c();
|
|
@@ -36452,20 +36415,20 @@ function wz({ wayfinding: e, kioskHandler: t, yahHandler: n, stores: { routeStor
|
|
|
36452
36415
|
}
|
|
36453
36416
|
//#endregion
|
|
36454
36417
|
//#region src/wayfinding/handlers/kioskHandler.ts
|
|
36455
|
-
var
|
|
36456
|
-
function
|
|
36418
|
+
var wz = "kiosk", Tz = 0;
|
|
36419
|
+
function Ez({ wayfinding: e, kioskIconMap: t, layer: n }) {
|
|
36457
36420
|
return (r, i, a) => {
|
|
36458
36421
|
var o;
|
|
36459
36422
|
if (!r) {
|
|
36460
|
-
e.setIcon(
|
|
36423
|
+
e.setIcon(wz, null), e.flush();
|
|
36461
36424
|
return;
|
|
36462
36425
|
}
|
|
36463
|
-
if (a !==
|
|
36464
|
-
e.setIcon(
|
|
36426
|
+
if (a !== Tz && r.z && i && r.z !== i) {
|
|
36427
|
+
e.setIcon(wz, null), e.flush();
|
|
36465
36428
|
return;
|
|
36466
36429
|
}
|
|
36467
|
-
e.setIcon(
|
|
36468
|
-
canvas:
|
|
36430
|
+
e.setIcon(wz, {
|
|
36431
|
+
canvas: bz(t, r.iconSizePercent),
|
|
36469
36432
|
layer: n,
|
|
36470
36433
|
x: r.x,
|
|
36471
36434
|
y: r.y,
|
|
@@ -36475,20 +36438,20 @@ function Dz({ wayfinding: e, kioskIconMap: t, layer: n }) {
|
|
|
36475
36438
|
}
|
|
36476
36439
|
//#endregion
|
|
36477
36440
|
//#region src/wayfinding/handlers/yahHandler.ts
|
|
36478
|
-
var
|
|
36479
|
-
function
|
|
36480
|
-
let n = e.get(
|
|
36481
|
-
return n ? (n.id =
|
|
36441
|
+
var Dz = "yah", Oz = "#ff4343", kz = 64, Az = 90, jz = 32;
|
|
36442
|
+
function Mz(e, t) {
|
|
36443
|
+
let n = e.get(Dz);
|
|
36444
|
+
return n ? (n.id = Dz, Xa(n, hz(kz, jz), hz(Az, jz), t)) : eo(t, Oz);
|
|
36482
36445
|
}
|
|
36483
|
-
function
|
|
36484
|
-
let a =
|
|
36446
|
+
function Nz({ wayfinding: e, iconMap: t, pixelRatio: n, floorContext: r, layer: i }) {
|
|
36447
|
+
let a = Mz(t, n);
|
|
36485
36448
|
return a.id = "current-location-2", (t) => {
|
|
36486
36449
|
if (!t) {
|
|
36487
|
-
e.setIcon(
|
|
36450
|
+
e.setIcon(Dz, null), e.flush();
|
|
36488
36451
|
return;
|
|
36489
36452
|
}
|
|
36490
36453
|
let n = r.isLayerVisible(t.layer);
|
|
36491
|
-
e.setIcon(
|
|
36454
|
+
e.setIcon(Dz, {
|
|
36492
36455
|
canvas: a,
|
|
36493
36456
|
layer: i,
|
|
36494
36457
|
x: t.x,
|
|
@@ -36501,29 +36464,29 @@ function Pz({ wayfinding: e, iconMap: t, pixelRatio: n, floorContext: r, layer:
|
|
|
36501
36464
|
}
|
|
36502
36465
|
//#endregion
|
|
36503
36466
|
//#region src/wayfinding/layers.ts
|
|
36504
|
-
var
|
|
36505
|
-
function
|
|
36506
|
-
return
|
|
36467
|
+
var Pz = "wf-points", Fz = "wf-trail-points", Iz = "wf-lines", Lz = "wf-lines-animated", Rz = "wf-current-position", zz = null;
|
|
36468
|
+
function Bz() {
|
|
36469
|
+
return zz !== null;
|
|
36507
36470
|
}
|
|
36508
|
-
function
|
|
36509
|
-
if (!
|
|
36510
|
-
return
|
|
36471
|
+
function Vz() {
|
|
36472
|
+
if (!zz) throw Error("Wayfinding is not initialized — call createWayfinding() first.");
|
|
36473
|
+
return zz;
|
|
36511
36474
|
}
|
|
36512
|
-
function
|
|
36513
|
-
return
|
|
36475
|
+
function Hz(e, t, n) {
|
|
36476
|
+
return Vz().wayfinding.buildRoute(e, t, n);
|
|
36514
36477
|
}
|
|
36515
|
-
function
|
|
36478
|
+
function Uz(e, t) {
|
|
36516
36479
|
var n;
|
|
36517
|
-
let r =
|
|
36480
|
+
let r = mz(), i = dz({
|
|
36518
36481
|
iconMap: t.fp.icons,
|
|
36519
36482
|
pixelRatio: devicePixelRatio
|
|
36520
|
-
}), a =
|
|
36521
|
-
points:
|
|
36522
|
-
trail:
|
|
36523
|
-
lines:
|
|
36524
|
-
linesAnimated:
|
|
36525
|
-
currentPosition:
|
|
36526
|
-
}, s =
|
|
36483
|
+
}), a = pz(t.layerStore, t.routeStore), o = {
|
|
36484
|
+
points: Pz,
|
|
36485
|
+
trail: Fz,
|
|
36486
|
+
lines: Iz,
|
|
36487
|
+
linesAnimated: Lz,
|
|
36488
|
+
currentPosition: Rz
|
|
36489
|
+
}, s = ez({
|
|
36527
36490
|
dataSource: r,
|
|
36528
36491
|
renderer: {
|
|
36529
36492
|
createImageDef: ij,
|
|
@@ -36549,14 +36512,14 @@ function Wz(e, t) {
|
|
|
36549
36512
|
t.routeStore.updateRoute([...e]), n.isEmpty() || (t.uiState.moveToRect = n);
|
|
36550
36513
|
},
|
|
36551
36514
|
onRouteDistance: (e) => t.routeStore.updateRouteDistance(e)
|
|
36552
|
-
}), c =
|
|
36515
|
+
}), c = Cz({
|
|
36553
36516
|
wayfinding: s,
|
|
36554
|
-
kioskHandler:
|
|
36517
|
+
kioskHandler: Ez({
|
|
36555
36518
|
wayfinding: s,
|
|
36556
36519
|
kioskIconMap: t.fp.icons,
|
|
36557
36520
|
layer: o.points
|
|
36558
36521
|
}),
|
|
36559
|
-
yahHandler:
|
|
36522
|
+
yahHandler: Nz({
|
|
36560
36523
|
wayfinding: s,
|
|
36561
36524
|
iconMap: t.fp.icons,
|
|
36562
36525
|
pixelRatio: devicePixelRatio,
|
|
@@ -36579,14 +36542,14 @@ function Wz(e, t) {
|
|
|
36579
36542
|
};
|
|
36580
36543
|
l.events.addEventListener("pointer:click", f), l.events.addEventListener("pointer:move", p), t.routeStore.showAccessible = r.getLines().some((e) => e.unaccessible);
|
|
36581
36544
|
let m = { wayfinding: s };
|
|
36582
|
-
return
|
|
36583
|
-
l.events.removeEventListener("pointer:click", f), l.events.removeEventListener("pointer:move", p),
|
|
36545
|
+
return zz = m, s.flush(), () => {
|
|
36546
|
+
l.events.removeEventListener("pointer:click", f), l.events.removeEventListener("pointer:move", p), zz === m && (zz = null, u(), d(), t.routeStore.showAccessible = !1), c(), s.destroy();
|
|
36584
36547
|
};
|
|
36585
36548
|
}
|
|
36586
36549
|
//#endregion
|
|
36587
36550
|
//#region src/store/RouteStore.ts
|
|
36588
|
-
var Gz, Kz, qz,
|
|
36589
|
-
function
|
|
36551
|
+
var Wz, Gz, Kz, qz, K, Jz, Yz, Xz, Zz, Qz, $z, eB, tB, nB, rB, iB, aB, oB, sB, cB, lB;
|
|
36552
|
+
function uB(e, t, n, r) {
|
|
36590
36553
|
n && Object.defineProperty(e, t, {
|
|
36591
36554
|
enumerable: n.enumerable,
|
|
36592
36555
|
configurable: n.configurable,
|
|
@@ -36594,7 +36557,7 @@ function dB(e, t, n, r) {
|
|
|
36594
36557
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
36595
36558
|
});
|
|
36596
36559
|
}
|
|
36597
|
-
function
|
|
36560
|
+
function dB(e, t, n, r, i) {
|
|
36598
36561
|
var a = {};
|
|
36599
36562
|
return Object.keys(r).forEach(function(e) {
|
|
36600
36563
|
a[e] = r[e];
|
|
@@ -36602,21 +36565,21 @@ function fB(e, t, n, r, i) {
|
|
|
36602
36565
|
return r(e, t, n) || n;
|
|
36603
36566
|
}, 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;
|
|
36604
36567
|
}
|
|
36605
|
-
var
|
|
36568
|
+
var fB = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, pB = (Wz = D({ keepAlive: !0 }), Gz = D({ keepAlive: !0 }), Kz = D({ keepAlive: !0 }), qz = D({ keepAlive: !0 }), K = class {
|
|
36606
36569
|
constructor(e) {
|
|
36607
|
-
this.rootStore = void 0, this.cpTimeout = void 0,
|
|
36570
|
+
this.rootStore = void 0, this.cpTimeout = void 0, uB(this, "routeLines", Jz, this), uB(this, "routeDistance", Yz, this), uB(this, "currentPosition", Xz, this), uB(this, "requestCompass", Zz, this), uB(this, "iconType", Qz, this), uB(this, "tempToBooth", $z, this), uB(this, "focusEnabled", eB, this), uB(this, "prevZ", tB, this), uB(this, "markersData", nB, this), uB(this, "prevMarkers", rB, this), uB(this, "showAccessible", iB, this), uB(this, "onlyAccessible", aB, this), uB(this, "currentRouteLayer", oB, this), uB(this, "currentRouteExhibitor", sB, this), uB(this, "routeUnits", cB, this), uB(this, "isGpsTrackingEnabled", lB, this), this.rootStore = e, this.focusEnabled = !window.location.search;
|
|
36608
36571
|
}
|
|
36609
36572
|
get canFindLocation() {
|
|
36610
|
-
return !!
|
|
36573
|
+
return !!fW.kioskData || !!this.currentPosition;
|
|
36611
36574
|
}
|
|
36612
36575
|
selectRoute(e, t = !0, n = !1) {
|
|
36613
|
-
if (t && (
|
|
36576
|
+
if (t && (fW.list = {
|
|
36614
36577
|
type: "search",
|
|
36615
36578
|
text: "",
|
|
36616
36579
|
focused: !1
|
|
36617
36580
|
}), e && !e.from && e.to) {
|
|
36618
36581
|
let t = this.resolveFallbackFrom();
|
|
36619
|
-
t && (e = new
|
|
36582
|
+
t && (e = new SB(t, e.to, e.waypoints));
|
|
36620
36583
|
}
|
|
36621
36584
|
e != null && e.from && e != null && e.to && e.from === e.to && (e = null);
|
|
36622
36585
|
let r = [];
|
|
@@ -36624,12 +36587,12 @@ var pB = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, mB = (Gz
|
|
|
36624
36587
|
this.rootStore.showMap();
|
|
36625
36588
|
}, navigator.userAgent.toLowerCase().indexOf("android") > -1 ? 400 : 50), (e == null ? void 0 : e.from) instanceof Bi && e.from.visible && r.push(e.from), (e == null ? void 0 : e.to) instanceof Bi && e.to.visible && (this.tempToBooth = null, r.push(e.to)), !e && $.fp.onDirection && $.fp.onDirection(null);
|
|
36626
36589
|
let i = () => {
|
|
36627
|
-
if (this.rootStore.moveToList(r),
|
|
36628
|
-
let t =
|
|
36590
|
+
if (this.rootStore.moveToList(r), fW.details = e, e && (!e.from || !e.to) && $.showOverlay(), e != null && e.to && e != null && e.from) {
|
|
36591
|
+
let t = mB(e.from);
|
|
36629
36592
|
t && this.rootStore.layerStore.updateVisibility(t, !0);
|
|
36630
36593
|
}
|
|
36631
36594
|
if (!this.currentRouteLayer) {
|
|
36632
|
-
let t =
|
|
36595
|
+
let t = hB(this.rootStore.layerStore, e == null ? void 0 : e.from), n = hB(this.rootStore.layerStore, e == null ? void 0 : e.to);
|
|
36633
36596
|
t ? this.currentRouteLayer = t : n && (this.currentRouteLayer = n);
|
|
36634
36597
|
}
|
|
36635
36598
|
t && e != null && e.from && e != null && e.to && DF(xF.ClickDirections, `${e != null && e.from ? "From " + e.from.name : ""} ${e != null && e.to ? "To " + e.to.name : ""}`);
|
|
@@ -36637,28 +36600,28 @@ var pB = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, mB = (Gz
|
|
|
36637
36600
|
n ? i() : setTimeout(i, 200);
|
|
36638
36601
|
}
|
|
36639
36602
|
rebuildRouteFromPosition(e) {
|
|
36640
|
-
let t =
|
|
36641
|
-
t != null && t.to && this.selectRoute(new
|
|
36603
|
+
let t = fW.selectedRoute;
|
|
36604
|
+
t != null && t.to && this.selectRoute(new SB(e, t.to, t.waypoints), !1, !0);
|
|
36642
36605
|
}
|
|
36643
36606
|
resolveFallbackFrom() {
|
|
36644
|
-
if (this.currentPosition) return
|
|
36645
|
-
let e =
|
|
36646
|
-
return e ?
|
|
36607
|
+
if (this.currentPosition) return rz(this.currentPosition, tz, FR);
|
|
36608
|
+
let e = fW.kioskData;
|
|
36609
|
+
return e ? rz({
|
|
36647
36610
|
x: e.x,
|
|
36648
36611
|
y: e.y,
|
|
36649
36612
|
z: e.z
|
|
36650
|
-
}, $P(),
|
|
36613
|
+
}, $P(), nz) : null;
|
|
36651
36614
|
}
|
|
36652
36615
|
setStartPoint(e) {
|
|
36653
|
-
let t =
|
|
36616
|
+
let t = fW.selectedRoute;
|
|
36654
36617
|
if (t != null && t.to && !(t != null && t.from) && e) {
|
|
36655
|
-
let n = new
|
|
36618
|
+
let n = new SB(e, t.to, t.waypoints);
|
|
36656
36619
|
this.selectRoute(n);
|
|
36657
36620
|
}
|
|
36658
36621
|
}
|
|
36659
36622
|
get pathLayers() {
|
|
36660
36623
|
var e;
|
|
36661
|
-
return (e = $.routeStore.routeLines) == null || (e = e.map((e) => e.p0.layer)) == null ? void 0 : e.filter((e, t, n) => n.indexOf(e) === t).
|
|
36624
|
+
return (e = $.routeStore.routeLines) == null || (e = e.map((e) => e.p0.layer)) == null ? void 0 : e.filter((e, t, n) => n.indexOf(e) === t).map((e, t) => ({
|
|
36662
36625
|
id: t + 1,
|
|
36663
36626
|
layer: $.layerStore.findLayer(e)
|
|
36664
36627
|
}));
|
|
@@ -36667,14 +36630,14 @@ var pB = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, mB = (Gz
|
|
|
36667
36630
|
if (!e) return null;
|
|
36668
36631
|
let t = this.rootStore.layerStore.findLayer(e.z), n = e.lat && e.lng ? UI(e, lI.properties.config) : e;
|
|
36669
36632
|
return this.rootStore.boothStore.booths.filter((n) => {
|
|
36670
|
-
if (
|
|
36633
|
+
if (hW.mode === pN.Default || !t) return n.visible && n.rect;
|
|
36671
36634
|
var r;
|
|
36672
36635
|
return n.rect && (typeof e.z != "number" && !e.z && n.visible || t.name === ((r = n.layer) == null ? void 0 : r.name));
|
|
36673
36636
|
}).sort((e, t) => je(n, e.rect.center) - je(n, t.rect.center))[0] || null;
|
|
36674
36637
|
}
|
|
36675
36638
|
setMarkers(e) {
|
|
36676
36639
|
var t, n;
|
|
36677
|
-
this.markersData.markers = ((t = e == null ? void 0 : e.markers) == null ? [] : t).map(
|
|
36640
|
+
this.markersData.markers = ((t = e == null ? void 0 : e.markers) == null ? [] : t).map(gB), this.markersData.icons = (n = e == null ? void 0 : e.icons) == null ? [] : n;
|
|
36678
36641
|
}
|
|
36679
36642
|
selectMarker(e, t) {
|
|
36680
36643
|
let n = this.markersData.markers.find((t) => t.id === e);
|
|
@@ -36682,7 +36645,7 @@ var pB = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, mB = (Gz
|
|
|
36682
36645
|
let r = $.layerStore.findLayer(n == null ? void 0 : n.z);
|
|
36683
36646
|
if (t && n) {
|
|
36684
36647
|
let e = $.rendererService.renderer;
|
|
36685
|
-
return r && !(r != null && r.visible) &&
|
|
36648
|
+
return r && !(r != null && r.visible) && hW.updateVisibility(r, !0), e ? e.controls.panTo(n.x, n.y) : (N.warn("Renderer is not initialized. Cannot pan to marker."), Promise.resolve());
|
|
36686
36649
|
}
|
|
36687
36650
|
return Promise.resolve();
|
|
36688
36651
|
}
|
|
@@ -36691,31 +36654,31 @@ var pB = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, mB = (Gz
|
|
|
36691
36654
|
}
|
|
36692
36655
|
get layers() {
|
|
36693
36656
|
var e, t = [];
|
|
36694
|
-
return (e = $.routeStore.routeLines) == null || e.map((e) => e.p0.layer).
|
|
36657
|
+
return (e = $.routeStore.routeLines) == null || e.map((e) => e.p0.layer).forEach((e) => {
|
|
36695
36658
|
t.indexOf(e) === -1 && t.push(e);
|
|
36696
36659
|
}), t.map((e) => $.layerStore.layers.find((t) => t.name === e));
|
|
36697
36660
|
}
|
|
36698
36661
|
clickRoute(e, t) {
|
|
36699
|
-
window.__resett && window.__resett(), this.rootStore.uiState.menu = null,
|
|
36662
|
+
window.__resett && window.__resett(), this.rootStore.uiState.menu = null, fW.list.type === "route-planner" && (fW.list = {
|
|
36700
36663
|
type: "search",
|
|
36701
36664
|
text: "",
|
|
36702
36665
|
focused: !1
|
|
36703
|
-
}), this.selectRoute(new
|
|
36666
|
+
}), this.selectRoute(new SB(e, t));
|
|
36704
36667
|
}
|
|
36705
36668
|
selectCurrentPosition(e, t = !0, n) {
|
|
36706
36669
|
var r, i, a, o;
|
|
36707
|
-
clearTimeout(this.cpTimeout), e && (e.x =
|
|
36708
|
-
let s = t && this.rootStore.uiState.details && !(this.rootStore.uiState.details instanceof
|
|
36670
|
+
clearTimeout(this.cpTimeout), e && (e.x = fB(e.x), e.y = fB(e.y), e.lat = fB(e.lat), e.lng = fB(e.lng), Te() || (e.z = null));
|
|
36671
|
+
let s = t && this.rootStore.uiState.details && !(this.rootStore.uiState.details instanceof SB), c = t && !s && (this.focusEnabled || this.prevZ != (e == null ? void 0 : e.z));
|
|
36709
36672
|
this.focusEnabled && (this.focusEnabled = !1), this.prevZ = e == null || (r = e.z) == null ? void 0 : r.toString(), this.iconType = +!!n;
|
|
36710
|
-
let l = e ?
|
|
36673
|
+
let l = e ? _B(e) : null;
|
|
36711
36674
|
if (!l) {
|
|
36712
36675
|
this.currentPosition = null;
|
|
36713
36676
|
return;
|
|
36714
36677
|
}
|
|
36715
|
-
let u = $.layerStore.findLayer(e.z), d = new
|
|
36678
|
+
let u = $.layerStore.findLayer(e.z), d = new wB(l.x, l.y, (u == null ? void 0 : u.name) || ((i = this.currentRouteLayer) == null ? void 0 : i.name), GI(l), e.lat, e.lng), f = !((a = this.routeLines) != null && a.length);
|
|
36716
36679
|
if (u && (o = this.routeLines) != null && o.length && (f = !!this.routeLines.find((e) => e.p0.layer === u.name || e.p1.layer === u.name)), c && f) {
|
|
36717
36680
|
let e = $.rendererService.renderer;
|
|
36718
|
-
if (u && !(u != null && u.visible) &&
|
|
36681
|
+
if (u && !(u != null && u.visible) && hW.updateVisibility(u, !0), !e) {
|
|
36719
36682
|
N.warn("Renderer is not initialized. Cannot pan to current position.");
|
|
36720
36683
|
return;
|
|
36721
36684
|
}
|
|
@@ -36729,10 +36692,10 @@ var pB = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, mB = (Gz
|
|
|
36729
36692
|
var e;
|
|
36730
36693
|
if (!this.canFindLocation) return;
|
|
36731
36694
|
if ($.maplibreStore.showMaplibre) {
|
|
36732
|
-
|
|
36695
|
+
fW.moveToLocation = !0;
|
|
36733
36696
|
return;
|
|
36734
36697
|
}
|
|
36735
|
-
let t = (e = this.currentPosition) == null ?
|
|
36698
|
+
let t = (e = this.currentPosition) == null ? fW.kioskData : e;
|
|
36736
36699
|
if (!t) return;
|
|
36737
36700
|
this.currentPosition && localStorage.getItem("efp-compass-permission-granted") === "false" && ($.routeStore.requestCompass = !0);
|
|
36738
36701
|
let n = st.fromCenter(t, {
|
|
@@ -36750,9 +36713,9 @@ var pB = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, mB = (Gz
|
|
|
36750
36713
|
}).intersection(Yr);
|
|
36751
36714
|
r = o ? st.fromUnion(n, o) : n;
|
|
36752
36715
|
}
|
|
36753
|
-
|
|
36716
|
+
fW.moveToRect = r;
|
|
36754
36717
|
let i = $.layerStore.findLayer(t.z);
|
|
36755
|
-
i &&
|
|
36718
|
+
i && hW.updateVisibility(i, !0);
|
|
36756
36719
|
}
|
|
36757
36720
|
get routeInfo() {
|
|
36758
36721
|
let e = this.routeDistance, t = this.routeUnits;
|
|
@@ -36772,12 +36735,12 @@ var pB = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, mB = (Gz
|
|
|
36772
36735
|
this.routeDistance = Math.round(e / (s ? 1 : 10)), this.routeUnits = o, this.updateRoutePoints();
|
|
36773
36736
|
}
|
|
36774
36737
|
updateRoutePoints() {
|
|
36775
|
-
let e =
|
|
36738
|
+
let e = fW.selectedRoute, t = this.routeDistance, n = this.routeUnits;
|
|
36776
36739
|
$.fp.onDirection && setTimeout(() => {
|
|
36777
36740
|
var r, i;
|
|
36778
36741
|
$.fp.onDirection({
|
|
36779
|
-
from:
|
|
36780
|
-
to:
|
|
36742
|
+
from: CB((r = e == null ? void 0 : e.from) == null ? null : r),
|
|
36743
|
+
to: CB((i = e == null ? void 0 : e.to) == null ? null : i),
|
|
36781
36744
|
lines: this.routeLines,
|
|
36782
36745
|
distance: `${t}${n}`,
|
|
36783
36746
|
units: n,
|
|
@@ -36786,7 +36749,7 @@ var pB = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, mB = (Gz
|
|
|
36786
36749
|
}, 200);
|
|
36787
36750
|
}
|
|
36788
36751
|
checkRoutes() {
|
|
36789
|
-
if (!
|
|
36752
|
+
if (!Bz()) {
|
|
36790
36753
|
console.warn("checkRoutes: wayfinding is not initialized — call createWayfinding() first. Skipping route check.");
|
|
36791
36754
|
return;
|
|
36792
36755
|
}
|
|
@@ -36796,7 +36759,7 @@ var pB = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, mB = (Gz
|
|
|
36796
36759
|
let n = e[t];
|
|
36797
36760
|
for (let r = t + 1; r < e.length; r++) {
|
|
36798
36761
|
let t = e[r];
|
|
36799
|
-
|
|
36762
|
+
Hz(iz(n), iz(t)).lines.length || console.warn(`No route found from ${n.name} to ${t.name}`);
|
|
36800
36763
|
}
|
|
36801
36764
|
}
|
|
36802
36765
|
console.info("Route check done....");
|
|
@@ -36810,63 +36773,63 @@ var pB = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, mB = (Gz
|
|
|
36810
36773
|
setOnlyAccessible(e) {
|
|
36811
36774
|
this.onlyAccessible = e;
|
|
36812
36775
|
}
|
|
36813
|
-
},
|
|
36776
|
+
}, Jz = dB(K.prototype, "routeLines", [g], {
|
|
36814
36777
|
configurable: !0,
|
|
36815
36778
|
enumerable: !0,
|
|
36816
36779
|
writable: !0,
|
|
36817
36780
|
initializer: function() {
|
|
36818
36781
|
return [];
|
|
36819
36782
|
}
|
|
36820
|
-
}),
|
|
36783
|
+
}), Yz = dB(K.prototype, "routeDistance", [g], {
|
|
36821
36784
|
configurable: !0,
|
|
36822
36785
|
enumerable: !0,
|
|
36823
36786
|
writable: !0,
|
|
36824
36787
|
initializer: function() {
|
|
36825
36788
|
return null;
|
|
36826
36789
|
}
|
|
36827
|
-
}),
|
|
36790
|
+
}), Xz = dB(K.prototype, "currentPosition", [g], {
|
|
36828
36791
|
configurable: !0,
|
|
36829
36792
|
enumerable: !0,
|
|
36830
36793
|
writable: !0,
|
|
36831
36794
|
initializer: function() {
|
|
36832
36795
|
return null;
|
|
36833
36796
|
}
|
|
36834
|
-
}),
|
|
36797
|
+
}), Zz = dB(K.prototype, "requestCompass", [g], {
|
|
36835
36798
|
configurable: !0,
|
|
36836
36799
|
enumerable: !0,
|
|
36837
36800
|
writable: !0,
|
|
36838
36801
|
initializer: function() {
|
|
36839
36802
|
return !1;
|
|
36840
36803
|
}
|
|
36841
|
-
}),
|
|
36804
|
+
}), Qz = dB(K.prototype, "iconType", [g], {
|
|
36842
36805
|
configurable: !0,
|
|
36843
36806
|
enumerable: !0,
|
|
36844
36807
|
writable: !0,
|
|
36845
36808
|
initializer: function() {
|
|
36846
36809
|
return 0;
|
|
36847
36810
|
}
|
|
36848
|
-
}),
|
|
36811
|
+
}), $z = dB(K.prototype, "tempToBooth", [g], {
|
|
36849
36812
|
configurable: !0,
|
|
36850
36813
|
enumerable: !0,
|
|
36851
36814
|
writable: !0,
|
|
36852
36815
|
initializer: function() {
|
|
36853
36816
|
return null;
|
|
36854
36817
|
}
|
|
36855
|
-
}),
|
|
36818
|
+
}), eB = dB(K.prototype, "focusEnabled", [g], {
|
|
36856
36819
|
configurable: !0,
|
|
36857
36820
|
enumerable: !0,
|
|
36858
36821
|
writable: !0,
|
|
36859
36822
|
initializer: function() {
|
|
36860
36823
|
return !0;
|
|
36861
36824
|
}
|
|
36862
|
-
}),
|
|
36825
|
+
}), tB = dB(K.prototype, "prevZ", [g], {
|
|
36863
36826
|
configurable: !0,
|
|
36864
36827
|
enumerable: !0,
|
|
36865
36828
|
writable: !0,
|
|
36866
36829
|
initializer: function() {
|
|
36867
36830
|
return null;
|
|
36868
36831
|
}
|
|
36869
|
-
}),
|
|
36832
|
+
}), nB = dB(K.prototype, "markersData", [g], {
|
|
36870
36833
|
configurable: !0,
|
|
36871
36834
|
enumerable: !0,
|
|
36872
36835
|
writable: !0,
|
|
@@ -36876,85 +36839,85 @@ var pB = (e) => typeof e == "string" ? Number(e.replace(",", ".")) : e, mB = (Gz
|
|
|
36876
36839
|
markers: []
|
|
36877
36840
|
};
|
|
36878
36841
|
}
|
|
36879
|
-
}),
|
|
36842
|
+
}), rB = dB(K.prototype, "prevMarkers", [g], {
|
|
36880
36843
|
configurable: !0,
|
|
36881
36844
|
enumerable: !0,
|
|
36882
36845
|
writable: !0,
|
|
36883
36846
|
initializer: function() {
|
|
36884
36847
|
return [];
|
|
36885
36848
|
}
|
|
36886
|
-
}),
|
|
36849
|
+
}), iB = dB(K.prototype, "showAccessible", [g], {
|
|
36887
36850
|
configurable: !0,
|
|
36888
36851
|
enumerable: !0,
|
|
36889
36852
|
writable: !0,
|
|
36890
36853
|
initializer: function() {
|
|
36891
36854
|
return !1;
|
|
36892
36855
|
}
|
|
36893
|
-
}),
|
|
36856
|
+
}), aB = dB(K.prototype, "onlyAccessible", [g], {
|
|
36894
36857
|
configurable: !0,
|
|
36895
36858
|
enumerable: !0,
|
|
36896
36859
|
writable: !0,
|
|
36897
36860
|
initializer: function() {
|
|
36898
36861
|
return !1;
|
|
36899
36862
|
}
|
|
36900
|
-
}),
|
|
36863
|
+
}), oB = dB(K.prototype, "currentRouteLayer", [g], {
|
|
36901
36864
|
configurable: !0,
|
|
36902
36865
|
enumerable: !0,
|
|
36903
36866
|
writable: !0,
|
|
36904
36867
|
initializer: function() {
|
|
36905
36868
|
return null;
|
|
36906
36869
|
}
|
|
36907
|
-
}),
|
|
36870
|
+
}), sB = dB(K.prototype, "currentRouteExhibitor", [g], {
|
|
36908
36871
|
configurable: !0,
|
|
36909
36872
|
enumerable: !0,
|
|
36910
36873
|
writable: !0,
|
|
36911
36874
|
initializer: function() {
|
|
36912
36875
|
return null;
|
|
36913
36876
|
}
|
|
36914
|
-
}),
|
|
36877
|
+
}), dB(K.prototype, "canFindLocation", [D], Object.getOwnPropertyDescriptor(K.prototype, "canFindLocation"), K.prototype), dB(K.prototype, "selectRoute", [b], Object.getOwnPropertyDescriptor(K.prototype, "selectRoute"), K.prototype), dB(K.prototype, "rebuildRouteFromPosition", [b], Object.getOwnPropertyDescriptor(K.prototype, "rebuildRouteFromPosition"), K.prototype), dB(K.prototype, "setStartPoint", [b], Object.getOwnPropertyDescriptor(K.prototype, "setStartPoint"), K.prototype), dB(K.prototype, "pathLayers", [Wz], Object.getOwnPropertyDescriptor(K.prototype, "pathLayers"), K.prototype), dB(K.prototype, "setMarkers", [b], Object.getOwnPropertyDescriptor(K.prototype, "setMarkers"), K.prototype), dB(K.prototype, "selectMarker", [b], Object.getOwnPropertyDescriptor(K.prototype, "selectMarker"), K.prototype), dB(K.prototype, "selectedMarkers", [Gz], Object.getOwnPropertyDescriptor(K.prototype, "selectedMarkers"), K.prototype), dB(K.prototype, "layers", [Kz], Object.getOwnPropertyDescriptor(K.prototype, "layers"), K.prototype), dB(K.prototype, "clickRoute", [b], Object.getOwnPropertyDescriptor(K.prototype, "clickRoute"), K.prototype), dB(K.prototype, "selectCurrentPosition", [b], Object.getOwnPropertyDescriptor(K.prototype, "selectCurrentPosition"), K.prototype), dB(K.prototype, "findLocation", [b], Object.getOwnPropertyDescriptor(K.prototype, "findLocation"), K.prototype), cB = dB(K.prototype, "routeUnits", [g], {
|
|
36915
36878
|
configurable: !0,
|
|
36916
36879
|
enumerable: !0,
|
|
36917
36880
|
writable: !0,
|
|
36918
36881
|
initializer: function() {
|
|
36919
36882
|
return "ft";
|
|
36920
36883
|
}
|
|
36921
|
-
}),
|
|
36884
|
+
}), dB(K.prototype, "routeInfo", [D], Object.getOwnPropertyDescriptor(K.prototype, "routeInfo"), K.prototype), dB(K.prototype, "updateRoute", [b], Object.getOwnPropertyDescriptor(K.prototype, "updateRoute"), K.prototype), dB(K.prototype, "updateRouteDistance", [b], Object.getOwnPropertyDescriptor(K.prototype, "updateRouteDistance"), K.prototype), dB(K.prototype, "updateRoutePoints", [b], Object.getOwnPropertyDescriptor(K.prototype, "updateRoutePoints"), K.prototype), dB(K.prototype, "checkRoutes", [b], Object.getOwnPropertyDescriptor(K.prototype, "checkRoutes"), K.prototype), lB = dB(K.prototype, "isGpsTrackingEnabled", [g], {
|
|
36922
36885
|
configurable: !0,
|
|
36923
36886
|
enumerable: !0,
|
|
36924
36887
|
writable: !0,
|
|
36925
36888
|
initializer: function() {
|
|
36926
36889
|
return !0;
|
|
36927
36890
|
}
|
|
36928
|
-
}),
|
|
36929
|
-
function
|
|
36891
|
+
}), dB(K.prototype, "setGpsTrackingEnabled", [b], Object.getOwnPropertyDescriptor(K.prototype, "setGpsTrackingEnabled"), K.prototype), dB(K.prototype, "gpsEnabled", [qz], Object.getOwnPropertyDescriptor(K.prototype, "gpsEnabled"), K.prototype), dB(K.prototype, "setOnlyAccessible", [b], Object.getOwnPropertyDescriptor(K.prototype, "setOnlyAccessible"), K.prototype), K);
|
|
36892
|
+
function mB(e) {
|
|
36930
36893
|
var t;
|
|
36931
36894
|
if (e) return e instanceof Bi ? (t = e.layer) == null ? void 0 : t.name : e.layer;
|
|
36932
36895
|
}
|
|
36933
|
-
function
|
|
36896
|
+
function hB(e, t) {
|
|
36934
36897
|
var n;
|
|
36935
36898
|
return t ? t instanceof Bi ? (n = t.layer) == null ? null : n : e.findLayer(t.layer) : null;
|
|
36936
36899
|
}
|
|
36937
|
-
function
|
|
36900
|
+
function gB(e) {
|
|
36938
36901
|
return {
|
|
36939
36902
|
...e,
|
|
36940
|
-
x:
|
|
36941
|
-
y:
|
|
36942
|
-
lat:
|
|
36943
|
-
lng:
|
|
36903
|
+
x: fB(e.x),
|
|
36904
|
+
y: fB(e.y),
|
|
36905
|
+
lat: fB(e.lat),
|
|
36906
|
+
lng: fB(e.lng)
|
|
36944
36907
|
};
|
|
36945
36908
|
}
|
|
36946
|
-
function
|
|
36909
|
+
function _B(e) {
|
|
36947
36910
|
let t = null, n = null;
|
|
36948
36911
|
return lI && (t = lI.properties.config), t && ft({
|
|
36949
36912
|
min: t.p0,
|
|
36950
36913
|
max: t.p2
|
|
36951
36914
|
}, e) ? n = { ...e } : t && HI(e.lat) && HI(e.lng) ? n = UI(e, t) : t || (n = e), n || null;
|
|
36952
36915
|
}
|
|
36953
|
-
function
|
|
36916
|
+
function vB(e) {
|
|
36954
36917
|
var t;
|
|
36955
36918
|
return $.boothStore.findBooth(e) || ((t = $.exhibitorStore.findExhibitor(e)) == null ? void 0 : t.booths[0]);
|
|
36956
36919
|
}
|
|
36957
|
-
function
|
|
36920
|
+
function yB(e) {
|
|
36958
36921
|
let t = $.boothStore.boothByExternalId.get(e);
|
|
36959
36922
|
if (t) return {
|
|
36960
36923
|
type: "booth",
|
|
@@ -36966,10 +36929,10 @@ function bB(e) {
|
|
|
36966
36929
|
entity: n
|
|
36967
36930
|
};
|
|
36968
36931
|
}
|
|
36969
|
-
function
|
|
36932
|
+
function bB(e) {
|
|
36970
36933
|
let t = [], n = [];
|
|
36971
36934
|
for (let r of e) {
|
|
36972
|
-
let e =
|
|
36935
|
+
let e = yB(r);
|
|
36973
36936
|
e && (e.type === "booth" ? t.push(r) : n.push(r));
|
|
36974
36937
|
}
|
|
36975
36938
|
return {
|
|
@@ -36977,18 +36940,18 @@ function xB(e) {
|
|
|
36977
36940
|
exhibitorExternalIds: n
|
|
36978
36941
|
};
|
|
36979
36942
|
}
|
|
36980
|
-
function
|
|
36943
|
+
function xB(e, t, n) {
|
|
36981
36944
|
var r, i;
|
|
36982
|
-
return new
|
|
36945
|
+
return new SB((r = vB(e)) == null ? null : r, (i = vB(t)) == null ? null : i, n == null ? void 0 : n.map((e) => vB(e)));
|
|
36983
36946
|
}
|
|
36984
|
-
var
|
|
36947
|
+
var SB = class {
|
|
36985
36948
|
constructor(e, t, n) {
|
|
36986
36949
|
this.from = e, this.to = t, this.waypoints = n;
|
|
36987
36950
|
let r = e instanceof Bi ? e.id : void 0, i = t instanceof Bi ? t.id : void 0;
|
|
36988
36951
|
this.waypoints = n == null ? void 0 : n.filter((e) => e && e.id !== r && e.id !== i);
|
|
36989
36952
|
}
|
|
36990
36953
|
};
|
|
36991
|
-
function
|
|
36954
|
+
function CB(e) {
|
|
36992
36955
|
var t, n;
|
|
36993
36956
|
return e ? e instanceof Bi ? {
|
|
36994
36957
|
id: e.id,
|
|
@@ -37008,12 +36971,12 @@ function wB(e) {
|
|
|
37008
36971
|
}
|
|
37009
36972
|
} : null;
|
|
37010
36973
|
}
|
|
37011
|
-
var
|
|
36974
|
+
var wB = class extends Ae {
|
|
37012
36975
|
constructor(e, t, n, r, i, a) {
|
|
37013
36976
|
super(e, t), this.x = e, this.y = t, this.z = n, this.angle = r, this.lat = i, this.lng = a;
|
|
37014
36977
|
}
|
|
37015
|
-
}, EB, DB, OB, kB
|
|
37016
|
-
function
|
|
36978
|
+
}, TB, EB, DB, OB, kB;
|
|
36979
|
+
function AB(e, t, n, r) {
|
|
37017
36980
|
n && Object.defineProperty(e, t, {
|
|
37018
36981
|
enumerable: n.enumerable,
|
|
37019
36982
|
configurable: n.configurable,
|
|
@@ -37021,7 +36984,7 @@ function jB(e, t, n, r) {
|
|
|
37021
36984
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
37022
36985
|
});
|
|
37023
36986
|
}
|
|
37024
|
-
function
|
|
36987
|
+
function jB(e, t, n, r, i) {
|
|
37025
36988
|
var a = {};
|
|
37026
36989
|
return Object.keys(r).forEach(function(e) {
|
|
37027
36990
|
a[e] = r[e];
|
|
@@ -37029,9 +36992,9 @@ function MB(e, t, n, r, i) {
|
|
|
37029
36992
|
return r(e, t, n) || n;
|
|
37030
36993
|
}, 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;
|
|
37031
36994
|
}
|
|
37032
|
-
var
|
|
36995
|
+
var MB = (TB = class {
|
|
37033
36996
|
constructor(e) {
|
|
37034
|
-
this.rootStore = void 0,
|
|
36997
|
+
this.rootStore = void 0, AB(this, "items", EB, this), AB(this, "startPoint", DB, this), AB(this, "source", OB, this), AB(this, "excludedVisitedCount", kB, this), this.rootStore = e;
|
|
37035
36998
|
}
|
|
37036
36999
|
get resolvedBooths() {
|
|
37037
37000
|
let e = /* @__PURE__ */ new Map();
|
|
@@ -37153,7 +37116,7 @@ var NB = (EB = class {
|
|
|
37153
37116
|
entity: r,
|
|
37154
37117
|
booth: r.booths[0] || null
|
|
37155
37118
|
};
|
|
37156
|
-
let i =
|
|
37119
|
+
let i = vB(e);
|
|
37157
37120
|
return i ? {
|
|
37158
37121
|
type: "booth",
|
|
37159
37122
|
entity: i,
|
|
@@ -37187,7 +37150,7 @@ var NB = (EB = class {
|
|
|
37187
37150
|
this.rootStore.routeStore.updateRoute([]);
|
|
37188
37151
|
return;
|
|
37189
37152
|
}
|
|
37190
|
-
let c = s[0], l = s[s.length - 1], u = s.slice(1, -1), d = new
|
|
37153
|
+
let c = s[0], l = s[s.length - 1], u = s.slice(1, -1), d = new SB(c, l, u);
|
|
37191
37154
|
this.rootStore.routeStore.selectRoute(d, !1), this.rootStore.uiState.setIsMultiPointRoute(u.length > 0);
|
|
37192
37155
|
}
|
|
37193
37156
|
reorderItemsByNames(e) {
|
|
@@ -37225,35 +37188,35 @@ var NB = (EB = class {
|
|
|
37225
37188
|
focused: !1
|
|
37226
37189
|
}, this.rootStore.routeStore.selectRoute(null, !1);
|
|
37227
37190
|
}
|
|
37228
|
-
},
|
|
37191
|
+
}, EB = jB(TB.prototype, "items", [g], {
|
|
37229
37192
|
configurable: !0,
|
|
37230
37193
|
enumerable: !0,
|
|
37231
37194
|
writable: !0,
|
|
37232
37195
|
initializer: function() {
|
|
37233
37196
|
return [];
|
|
37234
37197
|
}
|
|
37235
|
-
}),
|
|
37198
|
+
}), DB = jB(TB.prototype, "startPoint", [g], {
|
|
37236
37199
|
configurable: !0,
|
|
37237
37200
|
enumerable: !0,
|
|
37238
37201
|
writable: !0,
|
|
37239
37202
|
initializer: function() {
|
|
37240
37203
|
return null;
|
|
37241
37204
|
}
|
|
37242
|
-
}),
|
|
37205
|
+
}), OB = jB(TB.prototype, "source", [g], {
|
|
37243
37206
|
configurable: !0,
|
|
37244
37207
|
enumerable: !0,
|
|
37245
37208
|
writable: !0,
|
|
37246
37209
|
initializer: function() {
|
|
37247
37210
|
return null;
|
|
37248
37211
|
}
|
|
37249
|
-
}),
|
|
37212
|
+
}), kB = jB(TB.prototype, "excludedVisitedCount", [g], {
|
|
37250
37213
|
configurable: !0,
|
|
37251
37214
|
enumerable: !0,
|
|
37252
37215
|
writable: !0,
|
|
37253
37216
|
initializer: function() {
|
|
37254
37217
|
return 0;
|
|
37255
37218
|
}
|
|
37256
|
-
}),
|
|
37219
|
+
}), jB(TB.prototype, "resolvedBooths", [D], Object.getOwnPropertyDescriptor(TB.prototype, "resolvedBooths"), TB.prototype), jB(TB.prototype, "stopsCount", [D], Object.getOwnPropertyDescriptor(TB.prototype, "stopsCount"), TB.prototype), jB(TB.prototype, "startPointBoothOptions", [D], Object.getOwnPropertyDescriptor(TB.prototype, "startPointBoothOptions"), TB.prototype), jB(TB.prototype, "startPointAutocompleteOptions", [D], Object.getOwnPropertyDescriptor(TB.prototype, "startPointAutocompleteOptions"), TB.prototype), jB(TB.prototype, "title", [D], Object.getOwnPropertyDescriptor(TB.prototype, "title"), TB.prototype), jB(TB.prototype, "subtitleParts", [D], Object.getOwnPropertyDescriptor(TB.prototype, "subtitleParts"), TB.prototype), jB(TB.prototype, "routeFloors", [D], Object.getOwnPropertyDescriptor(TB.prototype, "routeFloors"), TB.prototype), jB(TB.prototype, "currentRouteFloor", [D], Object.getOwnPropertyDescriptor(TB.prototype, "currentRouteFloor"), TB.prototype), jB(TB.prototype, "setRouteFloor", [b], Object.getOwnPropertyDescriptor(TB.prototype, "setRouteFloor"), TB.prototype), jB(TB.prototype, "launch", [b], Object.getOwnPropertyDescriptor(TB.prototype, "launch"), TB.prototype), jB(TB.prototype, "launchFromBookmarks", [b], Object.getOwnPropertyDescriptor(TB.prototype, "launchFromBookmarks"), TB.prototype), jB(TB.prototype, "launchFromSlugs", [b], Object.getOwnPropertyDescriptor(TB.prototype, "launchFromSlugs"), TB.prototype), jB(TB.prototype, "buildRoute", [b], Object.getOwnPropertyDescriptor(TB.prototype, "buildRoute"), TB.prototype), jB(TB.prototype, "setStartPoint", [b], Object.getOwnPropertyDescriptor(TB.prototype, "setStartPoint"), TB.prototype), jB(TB.prototype, "removeItem", [b], Object.getOwnPropertyDescriptor(TB.prototype, "removeItem"), TB.prototype), jB(TB.prototype, "reorderItems", [b], Object.getOwnPropertyDescriptor(TB.prototype, "reorderItems"), TB.prototype), jB(TB.prototype, "close", [b], Object.getOwnPropertyDescriptor(TB.prototype, "close"), TB.prototype), TB), NB = class {
|
|
37257
37220
|
constructor() {
|
|
37258
37221
|
this.id = void 0;
|
|
37259
37222
|
}
|
|
@@ -37261,8 +37224,8 @@ var NB = (EB = class {
|
|
|
37261
37224
|
shouldShowSubButtons() {
|
|
37262
37225
|
return !0;
|
|
37263
37226
|
}
|
|
37264
|
-
},
|
|
37265
|
-
function
|
|
37227
|
+
}, PB;
|
|
37228
|
+
function FB(e, t, n, r, i) {
|
|
37266
37229
|
var a = {};
|
|
37267
37230
|
return Object.keys(r).forEach(function(e) {
|
|
37268
37231
|
a[e] = r[e];
|
|
@@ -37270,7 +37233,7 @@ function IB(e, t, n, r, i) {
|
|
|
37270
37233
|
return r(e, t, n) || n;
|
|
37271
37234
|
}, 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;
|
|
37272
37235
|
}
|
|
37273
|
-
var
|
|
37236
|
+
var IB = (PB = class extends NB {
|
|
37274
37237
|
constructor(e) {
|
|
37275
37238
|
super(), this.rootStore = e, this.id = "sessions";
|
|
37276
37239
|
}
|
|
@@ -37328,7 +37291,7 @@ var LB = (FB = class extends PB {
|
|
|
37328
37291
|
focused: !1
|
|
37329
37292
|
}, this.rootStore.uiState.selectedTrack = e, this.rootStore.searchButtonsStore.setSubButtonId(`sessions_track_${e.id}`);
|
|
37330
37293
|
}
|
|
37331
|
-
},
|
|
37294
|
+
}, FB(PB.prototype, "computedSubButtons", [D], Object.getOwnPropertyDescriptor(PB.prototype, "computedSubButtons"), PB.prototype), PB), LB = class {
|
|
37332
37295
|
constructor() {
|
|
37333
37296
|
this.providers = /* @__PURE__ */ new Map(), this.cache = /* @__PURE__ */ new Map();
|
|
37334
37297
|
}
|
|
@@ -37369,7 +37332,7 @@ var LB = (FB = class extends PB {
|
|
|
37369
37332
|
};
|
|
37370
37333
|
//#endregion
|
|
37371
37334
|
//#region src/store/search-buttons/utils.ts
|
|
37372
|
-
function
|
|
37335
|
+
function RB(e) {
|
|
37373
37336
|
try {
|
|
37374
37337
|
let t = e.replace(LN.POI_TYPE, ""), n = parseInt(t, 10);
|
|
37375
37338
|
return isNaN(n) ? null : n;
|
|
@@ -37377,22 +37340,22 @@ function zB(e) {
|
|
|
37377
37340
|
return null;
|
|
37378
37341
|
}
|
|
37379
37342
|
}
|
|
37380
|
-
function
|
|
37343
|
+
function zB(e) {
|
|
37381
37344
|
let t = Br.filterButtonsConfig;
|
|
37382
37345
|
return !(t != null && t.searchButtons) || !Array.isArray(t.searchButtons) ? null : t.searchButtons.find((t) => t.id === e) || null;
|
|
37383
37346
|
}
|
|
37384
|
-
function
|
|
37347
|
+
function BB(e) {
|
|
37385
37348
|
let t = 0;
|
|
37386
37349
|
for (let n of e.values()) t += n;
|
|
37387
37350
|
return t;
|
|
37388
37351
|
}
|
|
37389
|
-
function
|
|
37352
|
+
function VB(e) {
|
|
37390
37353
|
return e && typeof e == "object" && Array.isArray(e.searchButtons) && e.searchButtons.length > 0;
|
|
37391
37354
|
}
|
|
37392
37355
|
//#endregion
|
|
37393
37356
|
//#region src/store/search-buttons/SearchButtonsActions.ts
|
|
37394
|
-
var
|
|
37395
|
-
function
|
|
37357
|
+
var HB;
|
|
37358
|
+
function UB(e, t, n, r, i) {
|
|
37396
37359
|
var a = {};
|
|
37397
37360
|
return Object.keys(r).forEach(function(e) {
|
|
37398
37361
|
a[e] = r[e];
|
|
@@ -37400,7 +37363,7 @@ function WB(e, t, n, r, i) {
|
|
|
37400
37363
|
return r(e, t, n) || n;
|
|
37401
37364
|
}, 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;
|
|
37402
37365
|
}
|
|
37403
|
-
var
|
|
37366
|
+
var WB = (HB = class {
|
|
37404
37367
|
constructor(e, t, n) {
|
|
37405
37368
|
this.rootStore = e, this.state = t, this.filters = n;
|
|
37406
37369
|
}
|
|
@@ -37421,7 +37384,7 @@ var GB = (UB = class {
|
|
|
37421
37384
|
}
|
|
37422
37385
|
handleExtendedSearchButtonClick(e) {
|
|
37423
37386
|
var t;
|
|
37424
|
-
let n =
|
|
37387
|
+
let n = zB(e);
|
|
37425
37388
|
if (!n) return;
|
|
37426
37389
|
if (n.type === "link") {
|
|
37427
37390
|
this.handleLinkClick(n);
|
|
@@ -37537,7 +37500,7 @@ var GB = (UB = class {
|
|
|
37537
37500
|
}
|
|
37538
37501
|
setPoiFilterFromString(e) {
|
|
37539
37502
|
this.state.setPoiFilter(e);
|
|
37540
|
-
let t =
|
|
37503
|
+
let t = RB(e);
|
|
37541
37504
|
if (t !== null) {
|
|
37542
37505
|
let e = this.rootStore.poiTypeStore.poiTypes.find((e) => e.id === t);
|
|
37543
37506
|
e && (this.rootStore.uiState.selectedPoiTypeFilters = [e], this.rootStore.urlFilterManager.setPoiType(e.name));
|
|
@@ -37546,20 +37509,20 @@ var GB = (UB = class {
|
|
|
37546
37509
|
get isMobile() {
|
|
37547
37510
|
return typeof window < "u" && window.innerWidth <= 768;
|
|
37548
37511
|
}
|
|
37549
|
-
},
|
|
37550
|
-
function
|
|
37512
|
+
}, UB(HB.prototype, "handleSearchButtonClick", [b], Object.getOwnPropertyDescriptor(HB.prototype, "handleSearchButtonClick"), HB.prototype), UB(HB.prototype, "handleExtendedSearchButtonClick", [b], Object.getOwnPropertyDescriptor(HB.prototype, "handleExtendedSearchButtonClick"), HB.prototype), UB(HB.prototype, "handleMainButtonClick", [b], Object.getOwnPropertyDescriptor(HB.prototype, "handleMainButtonClick"), HB.prototype), UB(HB.prototype, "handleSessionsClick", [b], Object.getOwnPropertyDescriptor(HB.prototype, "handleSessionsClick"), HB.prototype), UB(HB.prototype, "togglePoiType", [b], Object.getOwnPropertyDescriptor(HB.prototype, "togglePoiType"), HB.prototype), UB(HB.prototype, "clearAllFilters", [b], Object.getOwnPropertyDescriptor(HB.prototype, "clearAllFilters"), HB.prototype), UB(HB.prototype, "showSubButtons", [b], Object.getOwnPropertyDescriptor(HB.prototype, "showSubButtons"), HB.prototype), UB(HB.prototype, "hideSubButtons", [b], Object.getOwnPropertyDescriptor(HB.prototype, "hideSubButtons"), HB.prototype), UB(HB.prototype, "handleSubButtonClick", [b], Object.getOwnPropertyDescriptor(HB.prototype, "handleSubButtonClick"), HB.prototype), HB), GB = 150, KB = "#1a1a1a", qB = "#ffffff", JB = /^[0-9A-Fa-f]{6}$/, YB = /^[0-9A-Fa-f]{3}$/;
|
|
37513
|
+
function XB(e) {
|
|
37551
37514
|
let t = e.replace("#", "");
|
|
37552
|
-
return
|
|
37515
|
+
return JB.test(t) ? t : YB.test(t) ? t[0] + t[0] + t[1] + t[1] + t[2] + t[2] : null;
|
|
37553
37516
|
}
|
|
37554
|
-
function
|
|
37555
|
-
let t =
|
|
37556
|
-
if (!t) return
|
|
37517
|
+
function ZB(e) {
|
|
37518
|
+
let t = XB(e);
|
|
37519
|
+
if (!t) return KB;
|
|
37557
37520
|
let n = parseInt(t.substring(0, 2), 16), r = parseInt(t.substring(2, 4), 16), i = parseInt(t.substring(4, 6), 16);
|
|
37558
|
-
return .299 * n + .587 * r + .114 * i >
|
|
37521
|
+
return .299 * n + .587 * r + .114 * i > GB ? KB : qB;
|
|
37559
37522
|
}
|
|
37560
37523
|
//#endregion
|
|
37561
37524
|
//#region src/store/search-buttons/SearchButtonsFactory.ts
|
|
37562
|
-
var
|
|
37525
|
+
var QB = class {
|
|
37563
37526
|
constructor(e, t, n) {
|
|
37564
37527
|
this.rootStore = e, this.state = t, this.actions = n, this.buttonFactories = void 0, this.buttonFactories = {
|
|
37565
37528
|
[IN.BOOKMARKS]: (e) => this.createBookmarksButton(e),
|
|
@@ -37596,7 +37559,7 @@ var $B = class {
|
|
|
37596
37559
|
isDimmed: !1,
|
|
37597
37560
|
isClickable: !0,
|
|
37598
37561
|
backgroundColor: t ? e.color : void 0,
|
|
37599
|
-
textColor: t && e.color ?
|
|
37562
|
+
textColor: t && e.color ? ZB(e.color) : void 0
|
|
37600
37563
|
};
|
|
37601
37564
|
}
|
|
37602
37565
|
createButtonId(e, t) {
|
|
@@ -37774,8 +37737,8 @@ var $B = class {
|
|
|
37774
37737
|
getExhibitorsTotalCount() {
|
|
37775
37738
|
return this.rootStore.exhibitorStore.exhibitors.length;
|
|
37776
37739
|
}
|
|
37777
|
-
},
|
|
37778
|
-
function
|
|
37740
|
+
}, $B;
|
|
37741
|
+
function eV(e, t, n, r, i) {
|
|
37779
37742
|
var a = {};
|
|
37780
37743
|
return Object.keys(r).forEach(function(e) {
|
|
37781
37744
|
a[e] = r[e];
|
|
@@ -37783,7 +37746,7 @@ function tV(e, t, n, r, i) {
|
|
|
37783
37746
|
return r(e, t, n) || n;
|
|
37784
37747
|
}, 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;
|
|
37785
37748
|
}
|
|
37786
|
-
var
|
|
37749
|
+
var tV = ($B = class {
|
|
37787
37750
|
constructor(e, t) {
|
|
37788
37751
|
this.rootStore = e, this.state = t;
|
|
37789
37752
|
}
|
|
@@ -37795,7 +37758,7 @@ var nV = (eV = class {
|
|
|
37795
37758
|
applyChildFilters() {
|
|
37796
37759
|
let { uiState: e } = this.rootStore, t = Array.from(this.state.searchShortcutState.activeChildren);
|
|
37797
37760
|
if (e.selectedCategoryFilters = [], e.selectedPoiTypeFilters = [], e.categoryFilterOpen = !1, t.length === 0) return;
|
|
37798
|
-
let n =
|
|
37761
|
+
let n = zB(this.state.searchShortcutState.activeParentId);
|
|
37799
37762
|
if (!(n != null && n.children)) return;
|
|
37800
37763
|
let r = n.children.filter((e) => e.visible), { categories: i, poiTypes: a } = this.collectSelectedFilters(r, t);
|
|
37801
37764
|
e.selectedCategoryFilters = i, e.selectedPoiTypeFilters = a, e.categoryFilterOpen = i.length > 0;
|
|
@@ -37811,15 +37774,15 @@ var nV = (eV = class {
|
|
|
37811
37774
|
this.state.setPoiFilter(null), this.rootStore.uiState.selectedPoiTypeFilters = [], this.rootStore.urlFilterManager.setPoiType(null);
|
|
37812
37775
|
}
|
|
37813
37776
|
toggleChildFilter(e) {
|
|
37814
|
-
let t =
|
|
37777
|
+
let t = zB(this.state.searchShortcutState.activeParentId);
|
|
37815
37778
|
t != null && t.children && (this.state.toggleChild(e), this.state.hasActiveChildren ? this.applyChildFilters() : this.applyAllChildrenFilters(t));
|
|
37816
37779
|
}
|
|
37817
37780
|
getActiveParent() {
|
|
37818
|
-
return this.state.searchShortcutState.activeParentId ?
|
|
37781
|
+
return this.state.searchShortcutState.activeParentId ? zB(this.state.searchShortcutState.activeParentId) : null;
|
|
37819
37782
|
}
|
|
37820
37783
|
areAllSelected() {
|
|
37821
37784
|
if (!this.state.searchShortcutState.activeParentId) return !1;
|
|
37822
|
-
let e =
|
|
37785
|
+
let e = zB(this.state.searchShortcutState.activeParentId);
|
|
37823
37786
|
if (!(e != null && e.children)) return !1;
|
|
37824
37787
|
let t = e.children.filter((e) => e.visible).filter((e) => e.type !== "link");
|
|
37825
37788
|
return t.length > 0 && t.every((e) => {
|
|
@@ -37830,7 +37793,7 @@ var nV = (eV = class {
|
|
|
37830
37793
|
}
|
|
37831
37794
|
getChildrenCount() {
|
|
37832
37795
|
if (!this.state.searchShortcutState.activeParentId) return 0;
|
|
37833
|
-
let e =
|
|
37796
|
+
let e = zB(this.state.searchShortcutState.activeParentId);
|
|
37834
37797
|
return e != null && e.children ? e.children.filter((e) => e.visible).filter((e) => e.type !== "link").length : 0;
|
|
37835
37798
|
}
|
|
37836
37799
|
collectFilters(e) {
|
|
@@ -37870,8 +37833,8 @@ var nV = (eV = class {
|
|
|
37870
37833
|
poiTypes: r
|
|
37871
37834
|
};
|
|
37872
37835
|
}
|
|
37873
|
-
},
|
|
37874
|
-
function
|
|
37836
|
+
}, eV($B.prototype, "applyAllChildrenFilters", [b], Object.getOwnPropertyDescriptor($B.prototype, "applyAllChildrenFilters"), $B.prototype), eV($B.prototype, "applyChildFilters", [b], Object.getOwnPropertyDescriptor($B.prototype, "applyChildFilters"), $B.prototype), eV($B.prototype, "clearAllChildFilters", [b], Object.getOwnPropertyDescriptor($B.prototype, "clearAllChildFilters"), $B.prototype), eV($B.prototype, "clearCategoryFilters", [b], Object.getOwnPropertyDescriptor($B.prototype, "clearCategoryFilters"), $B.prototype), eV($B.prototype, "clearPoiTypeFilters", [b], Object.getOwnPropertyDescriptor($B.prototype, "clearPoiTypeFilters"), $B.prototype), eV($B.prototype, "toggleChildFilter", [b], Object.getOwnPropertyDescriptor($B.prototype, "toggleChildFilter"), $B.prototype), $B), nV, rV, iV, aV, oV, sV, cV;
|
|
37837
|
+
function lV(e, t, n, r) {
|
|
37875
37838
|
n && Object.defineProperty(e, t, {
|
|
37876
37839
|
enumerable: n.enumerable,
|
|
37877
37840
|
configurable: n.configurable,
|
|
@@ -37879,7 +37842,7 @@ function uV(e, t, n, r) {
|
|
|
37879
37842
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
37880
37843
|
});
|
|
37881
37844
|
}
|
|
37882
|
-
function
|
|
37845
|
+
function uV(e, t, n, r, i) {
|
|
37883
37846
|
var a = {};
|
|
37884
37847
|
return Object.keys(r).forEach(function(e) {
|
|
37885
37848
|
a[e] = r[e];
|
|
@@ -37887,9 +37850,9 @@ function dV(e, t, n, r, i) {
|
|
|
37887
37850
|
return r(e, t, n) || n;
|
|
37888
37851
|
}, 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;
|
|
37889
37852
|
}
|
|
37890
|
-
var
|
|
37853
|
+
var dV = (nV = class {
|
|
37891
37854
|
constructor() {
|
|
37892
|
-
|
|
37855
|
+
lV(this, "isVisible", rV, this), lV(this, "activePoiFilterId", iV, this), lV(this, "activeSubButtonsParentId", aV, this), lV(this, "activeSubButtonId", oV, this), lV(this, "subButtonsEnabled", sV, this), lV(this, "searchShortcutState", cV, this);
|
|
37893
37856
|
}
|
|
37894
37857
|
setVisible(e) {
|
|
37895
37858
|
this.isVisible = e;
|
|
@@ -37933,42 +37896,42 @@ var fV = (rV = class {
|
|
|
37933
37896
|
isChildActive(e) {
|
|
37934
37897
|
return this.searchShortcutState.activeChildren.has(e);
|
|
37935
37898
|
}
|
|
37936
|
-
},
|
|
37899
|
+
}, rV = uV(nV.prototype, "isVisible", [g], {
|
|
37937
37900
|
configurable: !0,
|
|
37938
37901
|
enumerable: !0,
|
|
37939
37902
|
writable: !0,
|
|
37940
37903
|
initializer: function() {
|
|
37941
37904
|
return !0;
|
|
37942
37905
|
}
|
|
37943
|
-
}),
|
|
37906
|
+
}), iV = uV(nV.prototype, "activePoiFilterId", [g], {
|
|
37944
37907
|
configurable: !0,
|
|
37945
37908
|
enumerable: !0,
|
|
37946
37909
|
writable: !0,
|
|
37947
37910
|
initializer: function() {
|
|
37948
37911
|
return null;
|
|
37949
37912
|
}
|
|
37950
|
-
}),
|
|
37913
|
+
}), aV = uV(nV.prototype, "activeSubButtonsParentId", [g], {
|
|
37951
37914
|
configurable: !0,
|
|
37952
37915
|
enumerable: !0,
|
|
37953
37916
|
writable: !0,
|
|
37954
37917
|
initializer: function() {
|
|
37955
37918
|
return null;
|
|
37956
37919
|
}
|
|
37957
|
-
}),
|
|
37920
|
+
}), oV = uV(nV.prototype, "activeSubButtonId", [g], {
|
|
37958
37921
|
configurable: !0,
|
|
37959
37922
|
enumerable: !0,
|
|
37960
37923
|
writable: !0,
|
|
37961
37924
|
initializer: function() {
|
|
37962
37925
|
return null;
|
|
37963
37926
|
}
|
|
37964
|
-
}),
|
|
37927
|
+
}), sV = uV(nV.prototype, "subButtonsEnabled", [g], {
|
|
37965
37928
|
configurable: !0,
|
|
37966
37929
|
enumerable: !0,
|
|
37967
37930
|
writable: !0,
|
|
37968
37931
|
initializer: function() {
|
|
37969
37932
|
return !1;
|
|
37970
37933
|
}
|
|
37971
|
-
}),
|
|
37934
|
+
}), cV = uV(nV.prototype, "searchShortcutState", [g], {
|
|
37972
37935
|
configurable: !0,
|
|
37973
37936
|
enumerable: !0,
|
|
37974
37937
|
writable: !0,
|
|
@@ -37979,8 +37942,8 @@ var fV = (rV = class {
|
|
|
37979
37942
|
isShortcutsVisible: !1
|
|
37980
37943
|
};
|
|
37981
37944
|
}
|
|
37982
|
-
}),
|
|
37983
|
-
function
|
|
37945
|
+
}), uV(nV.prototype, "setVisible", [b], Object.getOwnPropertyDescriptor(nV.prototype, "setVisible"), nV.prototype), uV(nV.prototype, "setSubButtonParent", [b], Object.getOwnPropertyDescriptor(nV.prototype, "setSubButtonParent"), nV.prototype), uV(nV.prototype, "setPoiFilter", [b], Object.getOwnPropertyDescriptor(nV.prototype, "setPoiFilter"), nV.prototype), uV(nV.prototype, "setSubButton", [b], Object.getOwnPropertyDescriptor(nV.prototype, "setSubButton"), nV.prototype), uV(nV.prototype, "setSubButtonsEnabled", [b], Object.getOwnPropertyDescriptor(nV.prototype, "setSubButtonsEnabled"), nV.prototype), uV(nV.prototype, "setActiveParentId", [b], Object.getOwnPropertyDescriptor(nV.prototype, "setActiveParentId"), nV.prototype), uV(nV.prototype, "showShortcuts", [b], Object.getOwnPropertyDescriptor(nV.prototype, "showShortcuts"), nV.prototype), uV(nV.prototype, "clearChildren", [b], Object.getOwnPropertyDescriptor(nV.prototype, "clearChildren"), nV.prototype), uV(nV.prototype, "toggleChild", [b], Object.getOwnPropertyDescriptor(nV.prototype, "toggleChild"), nV.prototype), uV(nV.prototype, "reset", [b], Object.getOwnPropertyDescriptor(nV.prototype, "reset"), nV.prototype), uV(nV.prototype, "hasActiveChildren", [D], Object.getOwnPropertyDescriptor(nV.prototype, "hasActiveChildren"), nV.prototype), uV(nV.prototype, "activeChildrenCount", [D], Object.getOwnPropertyDescriptor(nV.prototype, "activeChildrenCount"), nV.prototype), uV(nV.prototype, "hasActiveParentWithChildren", [D], Object.getOwnPropertyDescriptor(nV.prototype, "hasActiveParentWithChildren"), nV.prototype), nV), q;
|
|
37946
|
+
function fV(e, t, n, r, i) {
|
|
37984
37947
|
var a = {};
|
|
37985
37948
|
return Object.keys(r).forEach(function(e) {
|
|
37986
37949
|
a[e] = r[e];
|
|
@@ -37988,18 +37951,18 @@ function pV(e, t, n, r, i) {
|
|
|
37988
37951
|
return r(e, t, n) || n;
|
|
37989
37952
|
}, 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;
|
|
37990
37953
|
}
|
|
37991
|
-
var
|
|
37954
|
+
var pV = (q = class {
|
|
37992
37955
|
constructor(e) {
|
|
37993
|
-
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.lastPoiTypeCountUpdate = 0, this.rootStore = e, this.state = new
|
|
37956
|
+
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.lastPoiTypeCountUpdate = 0, this.rootStore = e, this.state = new dV(), this.filters = new tV(e, this.state), this.actions = new WB(e, this.state, this.filters), this.factory = new QB(e, this.state, this.actions), this.setupReactions();
|
|
37994
37957
|
}
|
|
37995
37958
|
setupReactions() {
|
|
37996
37959
|
M(() => this.rootStore.boothStore.booths.length, () => this.invalidatePoiTypeCounts());
|
|
37997
37960
|
}
|
|
37998
37961
|
get subButtonRegistry() {
|
|
37999
|
-
return this._subButtonRegistry || (this._subButtonRegistry = new
|
|
37962
|
+
return this._subButtonRegistry || (this._subButtonRegistry = new LB(), this.registerSubButtonProviders()), this._subButtonRegistry;
|
|
38000
37963
|
}
|
|
38001
37964
|
registerSubButtonProviders() {
|
|
38002
|
-
this.subButtonRegistry.register(new
|
|
37965
|
+
this.subButtonRegistry.register(new IB(this.rootStore));
|
|
38003
37966
|
}
|
|
38004
37967
|
invalidatePoiTypeCounts() {
|
|
38005
37968
|
this.poiTypeCountsCache.clear(), this.lastPoiTypeCountUpdate = 0;
|
|
@@ -38030,7 +37993,7 @@ var mV = (q = class {
|
|
|
38030
37993
|
}
|
|
38031
37994
|
get searchButtons() {
|
|
38032
37995
|
let e = Br.filterButtonsConfig;
|
|
38033
|
-
if (!
|
|
37996
|
+
if (!VB(e)) return console.warn("[SearchButtonsStore] Invalid filterButtonsConfig detected"), [];
|
|
38034
37997
|
let t = e.searchButtons;
|
|
38035
37998
|
return this.factory.createButtons(t);
|
|
38036
37999
|
}
|
|
@@ -38076,11 +38039,11 @@ var mV = (q = class {
|
|
|
38076
38039
|
}), this.poiTypeCountsCache = t, this.lastPoiTypeCountUpdate = e, t;
|
|
38077
38040
|
}
|
|
38078
38041
|
get totalPoiTypeCount() {
|
|
38079
|
-
return
|
|
38042
|
+
return BB(this.poiTypeCounts);
|
|
38080
38043
|
}
|
|
38081
38044
|
get activePoiTypeId() {
|
|
38082
38045
|
var e;
|
|
38083
|
-
return (e = this.state.activePoiFilterId) != null && e.startsWith(LN.POI_TYPE) ?
|
|
38046
|
+
return (e = this.state.activePoiFilterId) != null && e.startsWith(LN.POI_TYPE) ? RB(this.state.activePoiFilterId) : null;
|
|
38084
38047
|
}
|
|
38085
38048
|
handleSearchButtonClick(e) {
|
|
38086
38049
|
this.actions.handleSearchButtonClick(e);
|
|
@@ -38142,8 +38105,8 @@ var mV = (q = class {
|
|
|
38142
38105
|
getActiveParent() {
|
|
38143
38106
|
return this.filters.getActiveParent();
|
|
38144
38107
|
}
|
|
38145
|
-
},
|
|
38146
|
-
function
|
|
38108
|
+
}, fV(q.prototype, "invalidatePoiTypeCounts", [b], Object.getOwnPropertyDescriptor(q.prototype, "invalidatePoiTypeCounts"), q.prototype), fV(q.prototype, "isVisible", [D], Object.getOwnPropertyDescriptor(q.prototype, "isVisible"), q.prototype), fV(q.prototype, "shouldShow", [D], Object.getOwnPropertyDescriptor(q.prototype, "shouldShow"), q.prototype), fV(q.prototype, "activePoiFilterId", [D], Object.getOwnPropertyDescriptor(q.prototype, "activePoiFilterId"), q.prototype), fV(q.prototype, "activeSubButtonsParentId", [D], Object.getOwnPropertyDescriptor(q.prototype, "activeSubButtonsParentId"), q.prototype), fV(q.prototype, "activeSubButtonId", [D], Object.getOwnPropertyDescriptor(q.prototype, "activeSubButtonId"), q.prototype), fV(q.prototype, "subButtonsEnabled", [D], Object.getOwnPropertyDescriptor(q.prototype, "subButtonsEnabled"), q.prototype), fV(q.prototype, "searchShortcutState", [D], Object.getOwnPropertyDescriptor(q.prototype, "searchShortcutState"), q.prototype), fV(q.prototype, "searchButtons", [D], Object.getOwnPropertyDescriptor(q.prototype, "searchButtons"), q.prototype), fV(q.prototype, "hasAnySearchButtons", [D], Object.getOwnPropertyDescriptor(q.prototype, "hasAnySearchButtons"), q.prototype), fV(q.prototype, "hasActiveSearchButton", [D], Object.getOwnPropertyDescriptor(q.prototype, "hasActiveSearchButton"), q.prototype), fV(q.prototype, "activeSearchButtonLabel", [D], Object.getOwnPropertyDescriptor(q.prototype, "activeSearchButtonLabel"), q.prototype), fV(q.prototype, "activeSubButtons", [D], Object.getOwnPropertyDescriptor(q.prototype, "activeSubButtons"), q.prototype), fV(q.prototype, "shouldShowSubButtons", [D], Object.getOwnPropertyDescriptor(q.prototype, "shouldShowSubButtons"), q.prototype), fV(q.prototype, "hasActiveParentWithChildren", [D], Object.getOwnPropertyDescriptor(q.prototype, "hasActiveParentWithChildren"), q.prototype), fV(q.prototype, "areAllSelected", [D], Object.getOwnPropertyDescriptor(q.prototype, "areAllSelected"), q.prototype), fV(q.prototype, "activeChildrenCount", [D], Object.getOwnPropertyDescriptor(q.prototype, "activeChildrenCount"), q.prototype), fV(q.prototype, "totalChildrenCount", [D], Object.getOwnPropertyDescriptor(q.prototype, "totalChildrenCount"), q.prototype), fV(q.prototype, "poiTypeCounts", [D], Object.getOwnPropertyDescriptor(q.prototype, "poiTypeCounts"), q.prototype), fV(q.prototype, "totalPoiTypeCount", [D], Object.getOwnPropertyDescriptor(q.prototype, "totalPoiTypeCount"), q.prototype), fV(q.prototype, "activePoiTypeId", [D], Object.getOwnPropertyDescriptor(q.prototype, "activePoiTypeId"), q.prototype), fV(q.prototype, "handleSearchButtonClick", [b], Object.getOwnPropertyDescriptor(q.prototype, "handleSearchButtonClick"), q.prototype), fV(q.prototype, "handleExtendedSearchButtonClick", [b], Object.getOwnPropertyDescriptor(q.prototype, "handleExtendedSearchButtonClick"), q.prototype), fV(q.prototype, "handleMainButtonClick", [b], Object.getOwnPropertyDescriptor(q.prototype, "handleMainButtonClick"), q.prototype), fV(q.prototype, "handleSessionsClick", [b], Object.getOwnPropertyDescriptor(q.prototype, "handleSessionsClick"), q.prototype), fV(q.prototype, "togglePoiType", [b], Object.getOwnPropertyDescriptor(q.prototype, "togglePoiType"), q.prototype), fV(q.prototype, "clearAllFilters", [b], Object.getOwnPropertyDescriptor(q.prototype, "clearAllFilters"), q.prototype), fV(q.prototype, "showSubButtons", [b], Object.getOwnPropertyDescriptor(q.prototype, "showSubButtons"), q.prototype), fV(q.prototype, "hideSubButtons", [b], Object.getOwnPropertyDescriptor(q.prototype, "hideSubButtons"), q.prototype), fV(q.prototype, "handleSubButtonClick", [b], Object.getOwnPropertyDescriptor(q.prototype, "handleSubButtonClick"), q.prototype), fV(q.prototype, "toggleChildFilter", [b], Object.getOwnPropertyDescriptor(q.prototype, "toggleChildFilter"), q.prototype), fV(q.prototype, "clearPoiTypeFilters", [b], Object.getOwnPropertyDescriptor(q.prototype, "clearPoiTypeFilters"), q.prototype), fV(q.prototype, "clearAllChildFilters", [b], Object.getOwnPropertyDescriptor(q.prototype, "clearAllChildFilters"), q.prototype), fV(q.prototype, "setActiveParentId", [b], Object.getOwnPropertyDescriptor(q.prototype, "setActiveParentId"), q.prototype), fV(q.prototype, "showShortcuts", [b], Object.getOwnPropertyDescriptor(q.prototype, "showShortcuts"), q.prototype), fV(q.prototype, "clearChildren", [b], Object.getOwnPropertyDescriptor(q.prototype, "clearChildren"), q.prototype), fV(q.prototype, "setSubButtonId", [b], Object.getOwnPropertyDescriptor(q.prototype, "setSubButtonId"), q.prototype), fV(q.prototype, "setPoiFilterId", [b], Object.getOwnPropertyDescriptor(q.prototype, "setPoiFilterId"), q.prototype), q), J, mV, hV, gV, _V;
|
|
38109
|
+
function vV(e, t, n, r) {
|
|
38147
38110
|
n && Object.defineProperty(e, t, {
|
|
38148
38111
|
enumerable: n.enumerable,
|
|
38149
38112
|
configurable: n.configurable,
|
|
@@ -38151,7 +38114,7 @@ function yV(e, t, n, r) {
|
|
|
38151
38114
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
38152
38115
|
});
|
|
38153
38116
|
}
|
|
38154
|
-
function
|
|
38117
|
+
function yV(e, t, n, r, i) {
|
|
38155
38118
|
var a = {};
|
|
38156
38119
|
return Object.keys(r).forEach(function(e) {
|
|
38157
38120
|
a[e] = r[e];
|
|
@@ -38159,7 +38122,7 @@ function bV(e, t, n, r, i) {
|
|
|
38159
38122
|
return r(e, t, n) || n;
|
|
38160
38123
|
}, 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;
|
|
38161
38124
|
}
|
|
38162
|
-
var
|
|
38125
|
+
var bV = class {
|
|
38163
38126
|
static closeDetails(e) {
|
|
38164
38127
|
return e.details ? (e.details = null, !0) : !1;
|
|
38165
38128
|
}
|
|
@@ -38202,9 +38165,9 @@ var xV = class {
|
|
|
38202
38165
|
static resetActiveListIndex(e) {
|
|
38203
38166
|
e.activeListIndex = -1;
|
|
38204
38167
|
}
|
|
38205
|
-
},
|
|
38168
|
+
}, xV = (J = class {
|
|
38206
38169
|
constructor(e) {
|
|
38207
|
-
this.rootStore = void 0,
|
|
38170
|
+
this.rootStore = void 0, vV(this, "searchText", mV, this), vV(this, "isFocused", hV, this), vV(this, "isClearMode", gV, this), vV(this, "skipInputFocus", _V, this), this.rootStore = e;
|
|
38208
38171
|
}
|
|
38209
38172
|
get uiState() {
|
|
38210
38173
|
return this.rootStore.uiState;
|
|
@@ -38250,7 +38213,7 @@ var xV = class {
|
|
|
38250
38213
|
}
|
|
38251
38214
|
get searchBoxClass() {
|
|
38252
38215
|
return {
|
|
38253
|
-
"is-details": this.searchBoxMode === "details" && !(this.uiState.details instanceof
|
|
38216
|
+
"is-details": this.searchBoxMode === "details" && !(this.uiState.details instanceof SB),
|
|
38254
38217
|
"is-interface": this.searchBoxMode === "interface",
|
|
38255
38218
|
"has-shadow": this.shouldShowShadow,
|
|
38256
38219
|
"has-subtitle": !!this.searchBoxConfig.subtitle,
|
|
@@ -38258,7 +38221,7 @@ var xV = class {
|
|
|
38258
38221
|
"has-icon": !!this.searchBoxConfig.icon,
|
|
38259
38222
|
"is-overlay-full": this.uiState.isOverlayOpen && this.uiState.overlaySize === "full",
|
|
38260
38223
|
"is-featured-exhibitor": this.uiState.isFeaturedExhibitorActive,
|
|
38261
|
-
"is-route": this.uiState.details instanceof
|
|
38224
|
+
"is-route": this.uiState.details instanceof SB,
|
|
38262
38225
|
"is-guided-tours": this.uiState.isGuidedToursActive,
|
|
38263
38226
|
"is-overlay-scrolled": this.uiState.isOverlayScrolled,
|
|
38264
38227
|
"overlay-pulse": this.uiState.kiosk && this.uiState.inIdle && !this.uiState.setKioskModeEnabled
|
|
@@ -38292,7 +38255,7 @@ var xV = class {
|
|
|
38292
38255
|
handleBackAction() {
|
|
38293
38256
|
let { uiState: e } = this, { list: t } = e;
|
|
38294
38257
|
if (e.desiredOverlaySize = "full", this.backMode === "menu") {
|
|
38295
|
-
this.resetSearchButtonState(),
|
|
38258
|
+
this.resetSearchButtonState(), bV.openMenu(e);
|
|
38296
38259
|
return;
|
|
38297
38260
|
}
|
|
38298
38261
|
if (t.type === "route-planner") {
|
|
@@ -38300,7 +38263,7 @@ var xV = class {
|
|
|
38300
38263
|
return;
|
|
38301
38264
|
}
|
|
38302
38265
|
if (t.type === "multi-point-tour" && !e.details) {
|
|
38303
|
-
|
|
38266
|
+
bV.returnToTours(e, !1), this.rootStore.fp.hidePathways();
|
|
38304
38267
|
return;
|
|
38305
38268
|
}
|
|
38306
38269
|
if (e.details) {
|
|
@@ -38320,16 +38283,16 @@ var xV = class {
|
|
|
38320
38283
|
type: "search",
|
|
38321
38284
|
text: "",
|
|
38322
38285
|
focused: !0
|
|
38323
|
-
}, this.setFocused(!0), this.isClearMode = !0,
|
|
38286
|
+
}, this.setFocused(!0), this.isClearMode = !0, bV.closeMenu(e);
|
|
38324
38287
|
return;
|
|
38325
38288
|
}
|
|
38326
|
-
if (t.type === "tours" && e.details instanceof
|
|
38289
|
+
if (t.type === "tours" && e.details instanceof SB) {
|
|
38327
38290
|
e.details = null;
|
|
38328
38291
|
return;
|
|
38329
38292
|
}
|
|
38330
38293
|
if (t.type === "sessions" || t.type === "tours" || t.type === "exhibitors") {
|
|
38331
|
-
if (
|
|
38332
|
-
this.clearActiveFilters(),
|
|
38294
|
+
if (bV.closeDetails(e)) return;
|
|
38295
|
+
this.clearActiveFilters(), bV.returnToSearch(e, !1), this.selectSearchAndFocus();
|
|
38333
38296
|
return;
|
|
38334
38297
|
}
|
|
38335
38298
|
switch (t.type) {
|
|
@@ -38337,38 +38300,38 @@ var xV = class {
|
|
|
38337
38300
|
e.details = null;
|
|
38338
38301
|
return;
|
|
38339
38302
|
case "multi-point-tour":
|
|
38340
|
-
this.rootStore.fp.hidePathways(),
|
|
38303
|
+
this.rootStore.fp.hidePathways(), bV.closeDetails(e) ? bV.returnToTours(e, !1) : TP();
|
|
38341
38304
|
return;
|
|
38342
38305
|
case "category":
|
|
38343
38306
|
this.rootStore.selectCategory(t.category);
|
|
38344
38307
|
return;
|
|
38345
38308
|
case "speakers":
|
|
38346
|
-
if (
|
|
38347
|
-
|
|
38309
|
+
if (bV.closeDetails(e)) return;
|
|
38310
|
+
bV.returnToSessions(e, !1);
|
|
38348
38311
|
return;
|
|
38349
38312
|
case "bookmarks":
|
|
38350
38313
|
case "visited":
|
|
38351
|
-
if (
|
|
38314
|
+
if (bV.closeDetails(e)) return;
|
|
38352
38315
|
this.selectSearchAndFocus();
|
|
38353
38316
|
return;
|
|
38354
38317
|
case o:
|
|
38355
|
-
|
|
38318
|
+
bV.returnToSearch(e, !1), bV.openMenu(e);
|
|
38356
38319
|
return;
|
|
38357
38320
|
}
|
|
38358
|
-
|
|
38321
|
+
bV.closeDetails(e) || bV.clearSearchAndFocus(this) || bV.openMenu(e);
|
|
38359
38322
|
}
|
|
38360
38323
|
closeSearch() {
|
|
38361
38324
|
let { uiState: e } = this, { list: t } = e;
|
|
38362
38325
|
if (t.type === "route-planner") {
|
|
38363
|
-
this.rootStore.routePlannerStore.close(),
|
|
38326
|
+
this.rootStore.routePlannerStore.close(), bV.returnToSearch(e, !1), this.resetSearchBox();
|
|
38364
38327
|
return;
|
|
38365
38328
|
}
|
|
38366
|
-
if (
|
|
38367
|
-
|
|
38329
|
+
if (bV.closeDetails(e), bV.clearListScroll(e, t.type), bV.closeMultiPointTour(e), t.type === "bookmarks") {
|
|
38330
|
+
bV.returnToSearch(e, !1), this.resetSearchBox();
|
|
38368
38331
|
return;
|
|
38369
38332
|
}
|
|
38370
38333
|
if (e.selectedCategory) {
|
|
38371
|
-
|
|
38334
|
+
bV.returnToSearch(e, !1), this.resetSearchBox();
|
|
38372
38335
|
return;
|
|
38373
38336
|
}
|
|
38374
38337
|
if (t.type === "sessions") {
|
|
@@ -38384,14 +38347,14 @@ var xV = class {
|
|
|
38384
38347
|
return;
|
|
38385
38348
|
}
|
|
38386
38349
|
if (e.menu) {
|
|
38387
|
-
|
|
38350
|
+
bV.closeMenu(e), this.resetSearchBox();
|
|
38388
38351
|
return;
|
|
38389
38352
|
}
|
|
38390
38353
|
if (this.searchBoxMode === "search" && !e.details && this.searchText) {
|
|
38391
38354
|
this.setSearchText(""), this.isClearMode = !0, this.clearActiveFilters();
|
|
38392
38355
|
return;
|
|
38393
38356
|
}
|
|
38394
|
-
|
|
38357
|
+
bV.returnToSearch(e, !1), this.searchText = "", this.resetSearchBox(), e.details = null, this.clearActiveFilters();
|
|
38395
38358
|
}
|
|
38396
38359
|
clearActiveFilters() {
|
|
38397
38360
|
this.rootStore.searchButtonsStore.setPoiFilterId(null), this.rootStore.uiState.selectedPoiTypeFilters = [], this.rootStore.uiState.selectedCategoryFilters = [], this.rootStore.categoryFilterStore.state.selectedItems = [], this.rootStore.categoryFilterStore.state.pendingItems = [], this.rootStore.searchButtonsStore.searchShortcutState.activeParentId = null, this.rootStore.searchButtonsStore.searchShortcutState.activeChildren.clear(), this.rootStore.searchButtonsStore.searchShortcutState.isShortcutsVisible = !1, this.rootStore.urlFilterManager && this.rootStore.urlFilterManager.isInitialized && this.rootStore.urlFilterManager.clearAllFilters();
|
|
@@ -38407,10 +38370,10 @@ var xV = class {
|
|
|
38407
38370
|
this.skipInputFocus = !0, this.isFocused = !0, this.isClearMode = !1, this.uiState.searchFocused = !0, this.uiState.searchClearMode = !1, this.uiState.desiredOverlaySize = "full";
|
|
38408
38371
|
}
|
|
38409
38372
|
closeSessions() {
|
|
38410
|
-
this.searchText = "",
|
|
38373
|
+
this.searchText = "", bV.returnToSearch(this.uiState, !1), this.uiState.details = null, bV.resetActiveListIndex(this.uiState), this.uiState.selectedTrack = null, this.rootStore.searchButtonsStore.setSubButtonId(null), this.rootStore.searchButtonsStore.hideSubButtons();
|
|
38411
38374
|
}
|
|
38412
38375
|
closeExhibitors() {
|
|
38413
|
-
this.searchText = "",
|
|
38376
|
+
this.searchText = "", bV.returnToSearch(this.uiState, !1), this.uiState.details = null, bV.resetActiveListIndex(this.uiState);
|
|
38414
38377
|
}
|
|
38415
38378
|
resetSearchBox() {
|
|
38416
38379
|
this.setFocused(!1), this.isClearMode = !1, this.syncWithUIState();
|
|
@@ -38429,7 +38392,7 @@ var xV = class {
|
|
|
38429
38392
|
return (e === "bookmarks" || e === "visited") && !this.uiState.details && !this.uiState.menu || this.shouldShowSearchInput && !this.searchText ? "menu" : "back";
|
|
38430
38393
|
}
|
|
38431
38394
|
get isMobileDetailsMode() {
|
|
38432
|
-
return window.innerWidth < 768 && this.uiState.details !== null && this.uiState.overlaySize === "full" && !(this.uiState.details instanceof
|
|
38395
|
+
return window.innerWidth < 768 && this.uiState.details !== null && this.uiState.overlaySize === "full" && !(this.uiState.details instanceof SB);
|
|
38433
38396
|
}
|
|
38434
38397
|
get shouldShowTitle() {
|
|
38435
38398
|
return !this.shouldShowSearchInput;
|
|
@@ -38446,36 +38409,36 @@ var xV = class {
|
|
|
38446
38409
|
icon: this.searchBoxConfig.icon
|
|
38447
38410
|
};
|
|
38448
38411
|
}
|
|
38449
|
-
},
|
|
38412
|
+
}, mV = yV(J.prototype, "searchText", [g], {
|
|
38450
38413
|
configurable: !0,
|
|
38451
38414
|
enumerable: !0,
|
|
38452
38415
|
writable: !0,
|
|
38453
38416
|
initializer: function() {
|
|
38454
38417
|
return "";
|
|
38455
38418
|
}
|
|
38456
|
-
}),
|
|
38419
|
+
}), hV = yV(J.prototype, "isFocused", [g], {
|
|
38457
38420
|
configurable: !0,
|
|
38458
38421
|
enumerable: !0,
|
|
38459
38422
|
writable: !0,
|
|
38460
38423
|
initializer: function() {
|
|
38461
38424
|
return !1;
|
|
38462
38425
|
}
|
|
38463
|
-
}),
|
|
38426
|
+
}), gV = yV(J.prototype, "isClearMode", [g], {
|
|
38464
38427
|
configurable: !0,
|
|
38465
38428
|
enumerable: !0,
|
|
38466
38429
|
writable: !0,
|
|
38467
38430
|
initializer: function() {
|
|
38468
38431
|
return !1;
|
|
38469
38432
|
}
|
|
38470
|
-
}),
|
|
38433
|
+
}), _V = yV(J.prototype, "skipInputFocus", [g], {
|
|
38471
38434
|
configurable: !0,
|
|
38472
38435
|
enumerable: !0,
|
|
38473
38436
|
writable: !0,
|
|
38474
38437
|
initializer: function() {
|
|
38475
38438
|
return !1;
|
|
38476
38439
|
}
|
|
38477
|
-
}),
|
|
38478
|
-
function
|
|
38440
|
+
}), yV(J.prototype, "searchBoxConfig", [D], Object.getOwnPropertyDescriptor(J.prototype, "searchBoxConfig"), J.prototype), yV(J.prototype, "searchBoxMode", [D], Object.getOwnPropertyDescriptor(J.prototype, "searchBoxMode"), J.prototype), yV(J.prototype, "searchBoxTitle", [D], Object.getOwnPropertyDescriptor(J.prototype, "searchBoxTitle"), J.prototype), yV(J.prototype, "searchBoxSubtitle", [D], Object.getOwnPropertyDescriptor(J.prototype, "searchBoxSubtitle"), J.prototype), yV(J.prototype, "searchBoxBadge", [D], Object.getOwnPropertyDescriptor(J.prototype, "searchBoxBadge"), J.prototype), yV(J.prototype, "searchBoxIcon", [D], Object.getOwnPropertyDescriptor(J.prototype, "searchBoxIcon"), J.prototype), yV(J.prototype, "searchBoxActions", [D], Object.getOwnPropertyDescriptor(J.prototype, "searchBoxActions"), J.prototype), yV(J.prototype, "shouldShowSearchInput", [D], Object.getOwnPropertyDescriptor(J.prototype, "shouldShowSearchInput"), J.prototype), yV(J.prototype, "shouldShowCloseButton", [D], Object.getOwnPropertyDescriptor(J.prototype, "shouldShowCloseButton"), J.prototype), yV(J.prototype, "closeButtonAction", [D], Object.getOwnPropertyDescriptor(J.prototype, "closeButtonAction"), J.prototype), yV(J.prototype, "shouldShowShadow", [D], Object.getOwnPropertyDescriptor(J.prototype, "shouldShowShadow"), J.prototype), yV(J.prototype, "placeholder", [D], Object.getOwnPropertyDescriptor(J.prototype, "placeholder"), J.prototype), yV(J.prototype, "searchBoxClass", [D], Object.getOwnPropertyDescriptor(J.prototype, "searchBoxClass"), J.prototype), yV(J.prototype, "ariaLabel", [D], Object.getOwnPropertyDescriptor(J.prototype, "ariaLabel"), J.prototype), yV(J.prototype, "selectSearch", [b], Object.getOwnPropertyDescriptor(J.prototype, "selectSearch"), J.prototype), yV(J.prototype, "selectSearchAndFocus", [b], Object.getOwnPropertyDescriptor(J.prototype, "selectSearchAndFocus"), J.prototype), yV(J.prototype, "setSearchText", [b], Object.getOwnPropertyDescriptor(J.prototype, "setSearchText"), J.prototype), yV(J.prototype, "setFocused", [b], Object.getOwnPropertyDescriptor(J.prototype, "setFocused"), J.prototype), yV(J.prototype, "handleBackAction", [b], Object.getOwnPropertyDescriptor(J.prototype, "handleBackAction"), J.prototype), yV(J.prototype, "closeSearch", [b], Object.getOwnPropertyDescriptor(J.prototype, "closeSearch"), J.prototype), yV(J.prototype, "clearActiveFilters", [b], Object.getOwnPropertyDescriptor(J.prototype, "clearActiveFilters"), J.prototype), yV(J.prototype, "resetSearchButtonState", [b], Object.getOwnPropertyDescriptor(J.prototype, "resetSearchButtonState"), J.prototype), yV(J.prototype, "handleSearchAction", [b], Object.getOwnPropertyDescriptor(J.prototype, "handleSearchAction"), J.prototype), yV(J.prototype, "openOverlayWithoutInputFocus", [b], Object.getOwnPropertyDescriptor(J.prototype, "openOverlayWithoutInputFocus"), J.prototype), yV(J.prototype, "closeSessions", [b], Object.getOwnPropertyDescriptor(J.prototype, "closeSessions"), J.prototype), yV(J.prototype, "closeExhibitors", [b], Object.getOwnPropertyDescriptor(J.prototype, "closeExhibitors"), J.prototype), yV(J.prototype, "resetSearchBox", [b], Object.getOwnPropertyDescriptor(J.prototype, "resetSearchBox"), J.prototype), yV(J.prototype, "syncWithUIState", [b], Object.getOwnPropertyDescriptor(J.prototype, "syncWithUIState"), J.prototype), yV(J.prototype, "actionButtonIcon", [D], Object.getOwnPropertyDescriptor(J.prototype, "actionButtonIcon"), J.prototype), yV(J.prototype, "clearAndSelectSearch", [b], Object.getOwnPropertyDescriptor(J.prototype, "clearAndSelectSearch"), J.prototype), yV(J.prototype, "backMode", [D], Object.getOwnPropertyDescriptor(J.prototype, "backMode"), J.prototype), yV(J.prototype, "isMobileDetailsMode", [D], Object.getOwnPropertyDescriptor(J.prototype, "isMobileDetailsMode"), J.prototype), yV(J.prototype, "shouldShowTitle", [D], Object.getOwnPropertyDescriptor(J.prototype, "shouldShowTitle"), J.prototype), yV(J.prototype, "searchState", [D], Object.getOwnPropertyDescriptor(J.prototype, "searchState"), J.prototype), J), SV, CV;
|
|
38441
|
+
function wV(e, t, n, r) {
|
|
38479
38442
|
n && Object.defineProperty(e, t, {
|
|
38480
38443
|
enumerable: n.enumerable,
|
|
38481
38444
|
configurable: n.configurable,
|
|
@@ -38483,7 +38446,7 @@ function TV(e, t, n, r) {
|
|
|
38483
38446
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
38484
38447
|
});
|
|
38485
38448
|
}
|
|
38486
|
-
function
|
|
38449
|
+
function TV(e, t, n, r, i) {
|
|
38487
38450
|
var a = {};
|
|
38488
38451
|
return Object.keys(r).forEach(function(e) {
|
|
38489
38452
|
a[e] = r[e];
|
|
@@ -38491,7 +38454,7 @@ function EV(e, t, n, r, i) {
|
|
|
38491
38454
|
return r(e, t, n) || n;
|
|
38492
38455
|
}, 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;
|
|
38493
38456
|
}
|
|
38494
|
-
var
|
|
38457
|
+
var EV = {
|
|
38495
38458
|
selectedTracks: [],
|
|
38496
38459
|
selectedVenues: [],
|
|
38497
38460
|
selectedSpeakers: [],
|
|
@@ -38501,16 +38464,16 @@ var DV = {
|
|
|
38501
38464
|
use24hFormat: !1,
|
|
38502
38465
|
showBookmarksOnly: !1,
|
|
38503
38466
|
showLiveOnly: !1
|
|
38504
|
-
},
|
|
38467
|
+
}, DV = (SV = class extends JF {
|
|
38505
38468
|
constructor(e) {
|
|
38506
|
-
super(e),
|
|
38469
|
+
super(e), wV(this, "state", CV, this);
|
|
38507
38470
|
}
|
|
38508
38471
|
createInitialFilters() {
|
|
38509
38472
|
let e = {};
|
|
38510
|
-
return Object.keys(
|
|
38473
|
+
return Object.keys(EV).forEach((t) => {
|
|
38511
38474
|
e[t] = {
|
|
38512
|
-
value:
|
|
38513
|
-
pending:
|
|
38475
|
+
value: EV[t],
|
|
38476
|
+
pending: EV[t]
|
|
38514
38477
|
};
|
|
38515
38478
|
}), e;
|
|
38516
38479
|
}
|
|
@@ -38530,8 +38493,8 @@ var DV = {
|
|
|
38530
38493
|
}
|
|
38531
38494
|
resetFilters() {
|
|
38532
38495
|
let { filters: e } = this.state;
|
|
38533
|
-
Object.keys(
|
|
38534
|
-
e[t].pending =
|
|
38496
|
+
Object.keys(EV).forEach((t) => {
|
|
38497
|
+
e[t].pending = EV[t];
|
|
38535
38498
|
}), this.state.pendingItems = [], this.state.searchText = "";
|
|
38536
38499
|
}
|
|
38537
38500
|
resetAndApplyFilters() {
|
|
@@ -38563,8 +38526,8 @@ var DV = {
|
|
|
38563
38526
|
}
|
|
38564
38527
|
get activeFiltersCount() {
|
|
38565
38528
|
let { filters: e } = this.state, t = 0;
|
|
38566
|
-
return Object.keys(
|
|
38567
|
-
let r = e[n].value, i =
|
|
38529
|
+
return Object.keys(EV).forEach((n) => {
|
|
38530
|
+
let r = e[n].value, i = EV[n];
|
|
38568
38531
|
Array.isArray(i) && Array.isArray(r) ? r.length > 0 && t++ : r !== i && t++;
|
|
38569
38532
|
}), t;
|
|
38570
38533
|
}
|
|
@@ -38578,7 +38541,7 @@ var DV = {
|
|
|
38578
38541
|
getFilteredItems() {
|
|
38579
38542
|
return [];
|
|
38580
38543
|
}
|
|
38581
|
-
},
|
|
38544
|
+
}, CV = TV(SV.prototype, "state", [g], {
|
|
38582
38545
|
configurable: !0,
|
|
38583
38546
|
enumerable: !0,
|
|
38584
38547
|
writable: !0,
|
|
@@ -38600,7 +38563,7 @@ var DV = {
|
|
|
38600
38563
|
filters: this.createInitialFilters()
|
|
38601
38564
|
};
|
|
38602
38565
|
}
|
|
38603
|
-
}),
|
|
38566
|
+
}), TV(SV.prototype, "setSearchText", [b], Object.getOwnPropertyDescriptor(SV.prototype, "setSearchText"), SV.prototype), TV(SV.prototype, "setPending", [b], Object.getOwnPropertyDescriptor(SV.prototype, "setPending"), SV.prototype), TV(SV.prototype, "applyFilters", [b], Object.getOwnPropertyDescriptor(SV.prototype, "applyFilters"), SV.prototype), TV(SV.prototype, "resetFilters", [b], Object.getOwnPropertyDescriptor(SV.prototype, "resetFilters"), SV.prototype), TV(SV.prototype, "resetAndApplyFilters", [b], Object.getOwnPropertyDescriptor(SV.prototype, "resetAndApplyFilters"), SV.prototype), TV(SV.prototype, "openFilter", [b], Object.getOwnPropertyDescriptor(SV.prototype, "openFilter"), SV.prototype), TV(SV.prototype, "closeFilter", [b], Object.getOwnPropertyDescriptor(SV.prototype, "closeFilter"), SV.prototype), TV(SV.prototype, "openFilterWithSections", [b], Object.getOwnPropertyDescriptor(SV.prototype, "openFilterWithSections"), SV.prototype), TV(SV.prototype, "activeFiltersCount", [D], Object.getOwnPropertyDescriptor(SV.prototype, "activeFiltersCount"), SV.prototype), SV), OV = class {
|
|
38604
38567
|
constructor() {
|
|
38605
38568
|
this.providers = /* @__PURE__ */ new Map(), this.activationOrder = /* @__PURE__ */ new Map();
|
|
38606
38569
|
}
|
|
@@ -38671,8 +38634,8 @@ var DV = {
|
|
|
38671
38634
|
clear() {
|
|
38672
38635
|
this.providers.clear(), this.activationOrder.clear();
|
|
38673
38636
|
}
|
|
38674
|
-
}, AV, jV, MV, NV
|
|
38675
|
-
function
|
|
38637
|
+
}, kV, AV, jV, MV, NV;
|
|
38638
|
+
function PV(e, t, n, r) {
|
|
38676
38639
|
n && Object.defineProperty(e, t, {
|
|
38677
38640
|
enumerable: n.enumerable,
|
|
38678
38641
|
configurable: n.configurable,
|
|
@@ -38680,7 +38643,7 @@ function FV(e, t, n, r) {
|
|
|
38680
38643
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
38681
38644
|
});
|
|
38682
38645
|
}
|
|
38683
|
-
function
|
|
38646
|
+
function FV(e, t, n, r, i) {
|
|
38684
38647
|
var a = {};
|
|
38685
38648
|
return Object.keys(r).forEach(function(e) {
|
|
38686
38649
|
a[e] = r[e];
|
|
@@ -38688,9 +38651,9 @@ function IV(e, t, n, r, i) {
|
|
|
38688
38651
|
return r(e, t, n) || n;
|
|
38689
38652
|
}, 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;
|
|
38690
38653
|
}
|
|
38691
|
-
var
|
|
38654
|
+
var IV = (kV = class {
|
|
38692
38655
|
constructor(e) {
|
|
38693
|
-
|
|
38656
|
+
PV(this, "value", AV, this), PV(this, "pending", jV, this), this.value = e, this.pending = e;
|
|
38694
38657
|
}
|
|
38695
38658
|
setValue(e) {
|
|
38696
38659
|
this.pending = e;
|
|
@@ -38701,19 +38664,19 @@ var LV = (AV = class {
|
|
|
38701
38664
|
reset() {
|
|
38702
38665
|
this.pending = this.value;
|
|
38703
38666
|
}
|
|
38704
|
-
},
|
|
38667
|
+
}, AV = FV(kV.prototype, "value", [g], {
|
|
38705
38668
|
configurable: !0,
|
|
38706
38669
|
enumerable: !0,
|
|
38707
38670
|
writable: !0,
|
|
38708
38671
|
initializer: null
|
|
38709
|
-
}),
|
|
38672
|
+
}), jV = FV(kV.prototype, "pending", [g], {
|
|
38710
38673
|
configurable: !0,
|
|
38711
38674
|
enumerable: !0,
|
|
38712
38675
|
writable: !0,
|
|
38713
38676
|
initializer: null
|
|
38714
|
-
}),
|
|
38677
|
+
}), FV(kV.prototype, "setValue", [b], Object.getOwnPropertyDescriptor(kV.prototype, "setValue"), kV.prototype), FV(kV.prototype, "apply", [b], Object.getOwnPropertyDescriptor(kV.prototype, "apply"), kV.prototype), FV(kV.prototype, "reset", [b], Object.getOwnPropertyDescriptor(kV.prototype, "reset"), kV.prototype), kV), LV = (MV = class {
|
|
38715
38678
|
constructor(e) {
|
|
38716
|
-
this.rootStore = void 0,
|
|
38679
|
+
this.rootStore = void 0, PV(this, "state", NV, this), this.rootStore = e;
|
|
38717
38680
|
}
|
|
38718
38681
|
get activeFiltersCount() {
|
|
38719
38682
|
let e = 0, { filters: t } = this.state;
|
|
@@ -38760,7 +38723,7 @@ var LV = (AV = class {
|
|
|
38760
38723
|
selectedJobTitles: []
|
|
38761
38724
|
};
|
|
38762
38725
|
}
|
|
38763
|
-
},
|
|
38726
|
+
}, NV = FV(MV.prototype, "state", [g], {
|
|
38764
38727
|
configurable: !0,
|
|
38765
38728
|
enumerable: !0,
|
|
38766
38729
|
writable: !0,
|
|
@@ -38768,14 +38731,14 @@ var LV = (AV = class {
|
|
|
38768
38731
|
return {
|
|
38769
38732
|
isOpen: !1,
|
|
38770
38733
|
filters: {
|
|
38771
|
-
selectedCompanies: new
|
|
38772
|
-
selectedJobTitles: new
|
|
38734
|
+
selectedCompanies: new IV([]),
|
|
38735
|
+
selectedJobTitles: new IV([])
|
|
38773
38736
|
},
|
|
38774
38737
|
visibleSections: ["companies", "jobTitles"]
|
|
38775
38738
|
};
|
|
38776
38739
|
}
|
|
38777
|
-
}),
|
|
38778
|
-
function
|
|
38740
|
+
}), FV(MV.prototype, "activeFiltersCount", [D], Object.getOwnPropertyDescriptor(MV.prototype, "activeFiltersCount"), MV.prototype), FV(MV.prototype, "applyFilters", [b], Object.getOwnPropertyDescriptor(MV.prototype, "applyFilters"), MV.prototype), FV(MV.prototype, "resetFilters", [b], Object.getOwnPropertyDescriptor(MV.prototype, "resetFilters"), MV.prototype), FV(MV.prototype, "resetAndApplyFilters", [b], Object.getOwnPropertyDescriptor(MV.prototype, "resetAndApplyFilters"), MV.prototype), FV(MV.prototype, "clearAllFilters", [b], Object.getOwnPropertyDescriptor(MV.prototype, "clearAllFilters"), MV.prototype), FV(MV.prototype, "openFilter", [b], Object.getOwnPropertyDescriptor(MV.prototype, "openFilter"), MV.prototype), FV(MV.prototype, "closeFilter", [b], Object.getOwnPropertyDescriptor(MV.prototype, "closeFilter"), MV.prototype), FV(MV.prototype, "openFilterWithSections", [b], Object.getOwnPropertyDescriptor(MV.prototype, "openFilterWithSections"), MV.prototype), FV(MV.prototype, "setPending", [b], Object.getOwnPropertyDescriptor(MV.prototype, "setPending"), MV.prototype), FV(MV.prototype, "toggleCompanyFilter", [b], Object.getOwnPropertyDescriptor(MV.prototype, "toggleCompanyFilter"), MV.prototype), FV(MV.prototype, "toggleJobTitleFilter", [b], Object.getOwnPropertyDescriptor(MV.prototype, "toggleJobTitleFilter"), MV.prototype), MV), RV, zV, BV, VV;
|
|
38741
|
+
function HV(e, t, n, r) {
|
|
38779
38742
|
n && Object.defineProperty(e, t, {
|
|
38780
38743
|
enumerable: n.enumerable,
|
|
38781
38744
|
configurable: n.configurable,
|
|
@@ -38783,7 +38746,7 @@ function UV(e, t, n, r) {
|
|
|
38783
38746
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
38784
38747
|
});
|
|
38785
38748
|
}
|
|
38786
|
-
function
|
|
38749
|
+
function UV(e, t, n, r, i) {
|
|
38787
38750
|
var a = {};
|
|
38788
38751
|
return Object.keys(r).forEach(function(e) {
|
|
38789
38752
|
a[e] = r[e];
|
|
@@ -38791,9 +38754,9 @@ function WV(e, t, n, r, i) {
|
|
|
38791
38754
|
return r(e, t, n) || n;
|
|
38792
38755
|
}, 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;
|
|
38793
38756
|
}
|
|
38794
|
-
var
|
|
38757
|
+
var WV = (RV = class {
|
|
38795
38758
|
constructor(e, t, n, r, i, a, o = { type: "speaker" }) {
|
|
38796
|
-
this.id = e, this.externalId = t, this.name = n, this.company = r, this.jobTitle = i, this.photoFile = a, this.entity = o, this.slug = void 0,
|
|
38759
|
+
this.id = e, this.externalId = t, this.name = n, this.company = r, this.jobTitle = i, this.photoFile = a, this.entity = o, this.slug = void 0, HV(this, "bookmarked", zV, this), this.slug = oi(n || `speaker-${e}`);
|
|
38797
38760
|
}
|
|
38798
38761
|
get displayName() {
|
|
38799
38762
|
return this.name;
|
|
@@ -38811,16 +38774,16 @@ var GV = (zV = class {
|
|
|
38811
38774
|
get hasJobTitle() {
|
|
38812
38775
|
return !!this.jobTitle;
|
|
38813
38776
|
}
|
|
38814
|
-
},
|
|
38777
|
+
}, zV = UV(RV.prototype, "bookmarked", [g], {
|
|
38815
38778
|
configurable: !0,
|
|
38816
38779
|
enumerable: !0,
|
|
38817
38780
|
writable: !0,
|
|
38818
38781
|
initializer: function() {
|
|
38819
38782
|
return !1;
|
|
38820
38783
|
}
|
|
38821
|
-
}),
|
|
38784
|
+
}), RV), GV = (BV = class {
|
|
38822
38785
|
constructor(e) {
|
|
38823
|
-
this.rootStore = void 0, this.speakersMap = /* @__PURE__ */ new Map(),
|
|
38786
|
+
this.rootStore = void 0, this.speakersMap = /* @__PURE__ */ new Map(), HV(this, "selectedSpeaker", VV, this), this.rootStore = e;
|
|
38824
38787
|
}
|
|
38825
38788
|
get speakers() {
|
|
38826
38789
|
return Array.from(this.speakersMap.values()).sort((e, t) => e.name.localeCompare(t.name));
|
|
@@ -38833,7 +38796,7 @@ var GV = (zV = class {
|
|
|
38833
38796
|
}
|
|
38834
38797
|
addSpeaker(e) {
|
|
38835
38798
|
if (this.speakersMap.has(e.id)) return this.speakersMap.get(e.id);
|
|
38836
|
-
let t = new
|
|
38799
|
+
let t = new WV(e.id, e.externalId, e.name, e.company, e.jobTitle, e.photoFile);
|
|
38837
38800
|
return this.speakersMap.set(e.id, t), t;
|
|
38838
38801
|
}
|
|
38839
38802
|
get companies() {
|
|
@@ -38874,14 +38837,14 @@ var GV = (zV = class {
|
|
|
38874
38837
|
clearSelectedSpeaker() {
|
|
38875
38838
|
this.selectedSpeaker = null, this.rootStore.uiState.details = null;
|
|
38876
38839
|
}
|
|
38877
|
-
},
|
|
38840
|
+
}, VV = UV(BV.prototype, "selectedSpeaker", [g], {
|
|
38878
38841
|
configurable: !0,
|
|
38879
38842
|
enumerable: !0,
|
|
38880
38843
|
writable: !0,
|
|
38881
38844
|
initializer: function() {
|
|
38882
38845
|
return null;
|
|
38883
38846
|
}
|
|
38884
|
-
}),
|
|
38847
|
+
}), UV(BV.prototype, "speakers", [D], Object.getOwnPropertyDescriptor(BV.prototype, "speakers"), BV.prototype), UV(BV.prototype, "companies", [D], Object.getOwnPropertyDescriptor(BV.prototype, "companies"), BV.prototype), UV(BV.prototype, "jobTitles", [D], Object.getOwnPropertyDescriptor(BV.prototype, "jobTitles"), BV.prototype), UV(BV.prototype, "selectSpeaker", [b], Object.getOwnPropertyDescriptor(BV.prototype, "selectSpeaker"), BV.prototype), UV(BV.prototype, "bookmarked", [D], Object.getOwnPropertyDescriptor(BV.prototype, "bookmarked"), BV.prototype), UV(BV.prototype, "replaceBookmarked", [b], Object.getOwnPropertyDescriptor(BV.prototype, "replaceBookmarked"), BV.prototype), UV(BV.prototype, "clearSelectedSpeaker", [b], Object.getOwnPropertyDescriptor(BV.prototype, "clearSelectedSpeaker"), BV.prototype), BV), KV = {
|
|
38885
38848
|
uitestdemo: [{
|
|
38886
38849
|
id: "connected-business-tour",
|
|
38887
38850
|
layers: [{
|
|
@@ -39276,8 +39239,8 @@ var GV = (zV = class {
|
|
|
39276
39239
|
"16529024"
|
|
39277
39240
|
]
|
|
39278
39241
|
}]
|
|
39279
|
-
}, JV, YV, XV, ZV
|
|
39280
|
-
function
|
|
39242
|
+
}, qV, JV, YV, XV, ZV;
|
|
39243
|
+
function QV(e, t, n, r) {
|
|
39281
39244
|
n && Object.defineProperty(e, t, {
|
|
39282
39245
|
enumerable: n.enumerable,
|
|
39283
39246
|
configurable: n.configurable,
|
|
@@ -39285,7 +39248,7 @@ function $V(e, t, n, r) {
|
|
|
39285
39248
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
39286
39249
|
});
|
|
39287
39250
|
}
|
|
39288
|
-
function
|
|
39251
|
+
function $V(e, t, n, r, i) {
|
|
39289
39252
|
var a = {};
|
|
39290
39253
|
return Object.keys(r).forEach(function(e) {
|
|
39291
39254
|
a[e] = r[e];
|
|
@@ -39293,17 +39256,17 @@ function eH(e, t, n, r, i) {
|
|
|
39293
39256
|
return r(e, t, n) || n;
|
|
39294
39257
|
}, 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;
|
|
39295
39258
|
}
|
|
39296
|
-
var
|
|
39259
|
+
var eH = 1, tH = (qV = class {
|
|
39297
39260
|
constructor(e) {
|
|
39298
|
-
this.rootStore = void 0,
|
|
39261
|
+
this.rootStore = void 0, QV(this, "tours", JV, this), QV(this, "currentExpo", YV, this), QV(this, "hasTours", XV, this), QV(this, "toursLoadError", ZV, this), this.rootStore = e, this.loadTours();
|
|
39299
39262
|
}
|
|
39300
39263
|
loadTours() {
|
|
39301
39264
|
try {
|
|
39302
|
-
if (this.currentExpo = P.EXPO || "default", this.toursLoadError = null, !this.isValidToursData(
|
|
39265
|
+
if (this.currentExpo = P.EXPO || "default", this.toursLoadError = null, !this.isValidToursData(KV)) {
|
|
39303
39266
|
this.toursLoadError = "Invalid tours data format", this.resetTours();
|
|
39304
39267
|
return;
|
|
39305
39268
|
}
|
|
39306
|
-
let e =
|
|
39269
|
+
let e = KV[this.currentExpo] || [];
|
|
39307
39270
|
if (!this.validateToursStructure(e)) {
|
|
39308
39271
|
this.toursLoadError = "Invalid tour items structure", this.resetTours();
|
|
39309
39272
|
return;
|
|
@@ -39320,7 +39283,7 @@ var tH = 1, nH = (JV = class {
|
|
|
39320
39283
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
39321
39284
|
}
|
|
39322
39285
|
validateToursStructure(e) {
|
|
39323
|
-
return Array.isArray(e) ? e.every((e) => e && typeof e == "object" && typeof e.id == "string" && Array.isArray(e.layers) && e.layers.length >=
|
|
39286
|
+
return Array.isArray(e) ? e.every((e) => e && typeof e == "object" && typeof e.id == "string" && Array.isArray(e.layers) && e.layers.length >= eH && (e.points === void 0 || Array.isArray(e.points))) : !1;
|
|
39324
39287
|
}
|
|
39325
39288
|
get tourItems() {
|
|
39326
39289
|
return this.tours;
|
|
@@ -39335,7 +39298,7 @@ var tH = 1, nH = (JV = class {
|
|
|
39335
39298
|
});
|
|
39336
39299
|
}
|
|
39337
39300
|
getToursForExpo(e) {
|
|
39338
|
-
return this.isValidToursData(
|
|
39301
|
+
return this.isValidToursData(KV) && KV[e] || [];
|
|
39339
39302
|
}
|
|
39340
39303
|
get currentTour() {
|
|
39341
39304
|
let { list: e } = this.rootStore.uiState;
|
|
@@ -39367,7 +39330,7 @@ var tH = 1, nH = (JV = class {
|
|
|
39367
39330
|
}, navigator.userAgent.toLowerCase().indexOf("android") > -1 ? 400 : 50), !0;
|
|
39368
39331
|
}
|
|
39369
39332
|
validateTourForLaunch(e) {
|
|
39370
|
-
return e.layers.length <
|
|
39333
|
+
return e.layers.length < eH ? `Tour must have at least ${eH} layer` : null;
|
|
39371
39334
|
}
|
|
39372
39335
|
stopTour() {
|
|
39373
39336
|
this.rootStore.uiState.setIsMultiPointTour(!1), this.rootStore.uiState.setPathwayOnlyMode(!1);
|
|
@@ -39378,38 +39341,38 @@ var tH = 1, nH = (JV = class {
|
|
|
39378
39341
|
focused: !1
|
|
39379
39342
|
}), this.rootStore.fp.hidePathways();
|
|
39380
39343
|
}
|
|
39381
|
-
},
|
|
39344
|
+
}, JV = $V(qV.prototype, "tours", [g], {
|
|
39382
39345
|
configurable: !0,
|
|
39383
39346
|
enumerable: !0,
|
|
39384
39347
|
writable: !0,
|
|
39385
39348
|
initializer: function() {
|
|
39386
39349
|
return [];
|
|
39387
39350
|
}
|
|
39388
|
-
}),
|
|
39351
|
+
}), YV = $V(qV.prototype, "currentExpo", [g], {
|
|
39389
39352
|
configurable: !0,
|
|
39390
39353
|
enumerable: !0,
|
|
39391
39354
|
writable: !0,
|
|
39392
39355
|
initializer: function() {
|
|
39393
39356
|
return "";
|
|
39394
39357
|
}
|
|
39395
|
-
}),
|
|
39358
|
+
}), XV = $V(qV.prototype, "hasTours", [g], {
|
|
39396
39359
|
configurable: !0,
|
|
39397
39360
|
enumerable: !0,
|
|
39398
39361
|
writable: !0,
|
|
39399
39362
|
initializer: function() {
|
|
39400
39363
|
return !1;
|
|
39401
39364
|
}
|
|
39402
|
-
}),
|
|
39365
|
+
}), ZV = $V(qV.prototype, "toursLoadError", [g], {
|
|
39403
39366
|
configurable: !0,
|
|
39404
39367
|
enumerable: !0,
|
|
39405
39368
|
writable: !0,
|
|
39406
39369
|
initializer: function() {
|
|
39407
39370
|
return null;
|
|
39408
39371
|
}
|
|
39409
|
-
}),
|
|
39372
|
+
}), $V(qV.prototype, "loadTours", [b], Object.getOwnPropertyDescriptor(qV.prototype, "loadTours"), qV.prototype), $V(qV.prototype, "resetTours", [b], Object.getOwnPropertyDescriptor(qV.prototype, "resetTours"), qV.prototype), $V(qV.prototype, "tourItems", [D], Object.getOwnPropertyDescriptor(qV.prototype, "tourItems"), qV.prototype), $V(qV.prototype, "currentTour", [D], Object.getOwnPropertyDescriptor(qV.prototype, "currentTour"), qV.prototype), $V(qV.prototype, "isActive", [D], Object.getOwnPropertyDescriptor(qV.prototype, "isActive"), qV.prototype), $V(qV.prototype, "tourLayers", [D], Object.getOwnPropertyDescriptor(qV.prototype, "tourLayers"), qV.prototype), $V(qV.prototype, "launchTour", [b], Object.getOwnPropertyDescriptor(qV.prototype, "launchTour"), qV.prototype), $V(qV.prototype, "stopTour", [b], Object.getOwnPropertyDescriptor(qV.prototype, "stopTour"), qV.prototype), qV);
|
|
39410
39373
|
//#endregion
|
|
39411
39374
|
//#region src/components/Kiosk/kioskUrlParam.ts
|
|
39412
|
-
function
|
|
39375
|
+
function nH(e) {
|
|
39413
39376
|
let t = {};
|
|
39414
39377
|
try {
|
|
39415
39378
|
let n = (e) => {
|
|
@@ -39441,7 +39404,7 @@ function rH(e) {
|
|
|
39441
39404
|
return t;
|
|
39442
39405
|
}
|
|
39443
39406
|
}
|
|
39444
|
-
function
|
|
39407
|
+
function rH(e, t, n) {
|
|
39445
39408
|
try {
|
|
39446
39409
|
if (!t) return;
|
|
39447
39410
|
for (let r of Object.keys(t)) t[r] == null || n != null && n.length && !n.includes(r) || e.set(tF(r), typeof t[r] == "number" ? t[r].toFixed(2) : `${t[r]}`);
|
|
@@ -39451,34 +39414,34 @@ function iH(e, t, n) {
|
|
|
39451
39414
|
}
|
|
39452
39415
|
//#endregion
|
|
39453
39416
|
//#region src/tools/expofpUrl.ts
|
|
39454
|
-
var
|
|
39417
|
+
var iH = "https://expofp.com/", aH = {
|
|
39455
39418
|
SUBDOMAIN_CTA: "expofp_subdomain_cta",
|
|
39456
39419
|
SUBDOMAIN_LOGO: "expofp_subdomain_logo"
|
|
39457
39420
|
};
|
|
39458
|
-
function
|
|
39459
|
-
let n = new URL(t,
|
|
39421
|
+
function oH(e, t = "/") {
|
|
39422
|
+
let n = new URL(t, iH);
|
|
39460
39423
|
return n.searchParams.set("utm_campaign", e), n.toString();
|
|
39461
39424
|
}
|
|
39462
39425
|
//#endregion
|
|
39463
39426
|
//#region src/tools/freeBanner.ts
|
|
39464
|
-
var
|
|
39465
|
-
function
|
|
39466
|
-
return e.getItem(
|
|
39427
|
+
var sH = "free-dismissed5";
|
|
39428
|
+
function cH(e) {
|
|
39429
|
+
return e.getItem(sH) !== null;
|
|
39467
39430
|
}
|
|
39468
|
-
function
|
|
39469
|
-
e.setItem(
|
|
39431
|
+
function lH(e) {
|
|
39432
|
+
e.setItem(sH, "1");
|
|
39470
39433
|
}
|
|
39471
|
-
function
|
|
39472
|
-
return
|
|
39434
|
+
function uH() {
|
|
39435
|
+
return oH(aH.SUBDOMAIN_CTA);
|
|
39473
39436
|
}
|
|
39474
39437
|
//#endregion
|
|
39475
39438
|
//#region src/tools/has-html-tags.ts
|
|
39476
|
-
function
|
|
39439
|
+
function dH(e) {
|
|
39477
39440
|
return /<[^>]*>/.test(e);
|
|
39478
39441
|
}
|
|
39479
39442
|
//#endregion
|
|
39480
39443
|
//#region src/tools/strip-html.ts
|
|
39481
|
-
function
|
|
39444
|
+
function fH(e) {
|
|
39482
39445
|
var t;
|
|
39483
39446
|
if (typeof document > "u") return e;
|
|
39484
39447
|
let n = document.createElement("div");
|
|
@@ -39486,21 +39449,21 @@ function pH(e) {
|
|
|
39486
39449
|
}
|
|
39487
39450
|
//#endregion
|
|
39488
39451
|
//#region src/utils/responsiveClass.ts
|
|
39489
|
-
var
|
|
39452
|
+
var pH = {
|
|
39490
39453
|
xs: 0,
|
|
39491
39454
|
sm: 480,
|
|
39492
39455
|
md: 768,
|
|
39493
39456
|
lg: 998,
|
|
39494
39457
|
xl: 1100
|
|
39495
39458
|
};
|
|
39496
|
-
function
|
|
39497
|
-
let { sm: t, md: n, lg: r, xl: i } =
|
|
39459
|
+
function mH(e) {
|
|
39460
|
+
let { sm: t, md: n, lg: r, xl: i } = pH;
|
|
39498
39461
|
return e < t ? "xs" : e >= t && e < n ? "sm" : e >= n && e < r ? "md" : e >= r && e < i ? "lg" : "xl";
|
|
39499
39462
|
}
|
|
39500
39463
|
//#endregion
|
|
39501
39464
|
//#region src/utils/scene-bounds.ts
|
|
39502
|
-
var
|
|
39503
|
-
function
|
|
39465
|
+
var hH = "areamap";
|
|
39466
|
+
function gH(e) {
|
|
39504
39467
|
var t;
|
|
39505
39468
|
let n = e == null || (t = e.rootLayer) == null ? void 0 : t.children;
|
|
39506
39469
|
if (!(n != null && n.length)) return null;
|
|
@@ -39513,7 +39476,7 @@ function _H(e) {
|
|
|
39513
39476
|
};
|
|
39514
39477
|
for (let e of n) {
|
|
39515
39478
|
let t = e.name;
|
|
39516
|
-
typeof t == "string" && t.toLowerCase() ===
|
|
39479
|
+
typeof t == "string" && t.toLowerCase() === hH || c(e);
|
|
39517
39480
|
}
|
|
39518
39481
|
return r > a || i > o ? null : st.fromMinMax({
|
|
39519
39482
|
x: r,
|
|
@@ -39523,20 +39486,20 @@ function _H(e) {
|
|
|
39523
39486
|
y: o
|
|
39524
39487
|
});
|
|
39525
39488
|
}
|
|
39526
|
-
function
|
|
39489
|
+
function _H(e, t) {
|
|
39527
39490
|
return !e || !t || t.area <= 0 || e.area / t.area > .1 ? .15 : .25;
|
|
39528
39491
|
}
|
|
39529
|
-
function
|
|
39492
|
+
function vH(e, t) {
|
|
39530
39493
|
return t ? e.expand({
|
|
39531
39494
|
x: e.size.width * t,
|
|
39532
39495
|
y: e.size.height * t
|
|
39533
39496
|
}) : e;
|
|
39534
39497
|
}
|
|
39535
|
-
function
|
|
39536
|
-
let n =
|
|
39537
|
-
return n ?
|
|
39498
|
+
function yH(e, t) {
|
|
39499
|
+
let n = gH(e);
|
|
39500
|
+
return n ? vH(n, _H(n, t)) : null;
|
|
39538
39501
|
}
|
|
39539
|
-
function
|
|
39502
|
+
function bH(e) {
|
|
39540
39503
|
if (e.layerViewbox) return {
|
|
39541
39504
|
rect: e.layerViewbox,
|
|
39542
39505
|
source: "layer-viewbox"
|
|
@@ -39549,7 +39512,7 @@ function xH(e) {
|
|
|
39549
39512
|
rect: e.layerRectangle,
|
|
39550
39513
|
source: "layer-rectangle"
|
|
39551
39514
|
};
|
|
39552
|
-
let t =
|
|
39515
|
+
let t = yH(e.sceneDef, e.svgArea);
|
|
39553
39516
|
return t ? {
|
|
39554
39517
|
rect: t,
|
|
39555
39518
|
source: "scene-derived"
|
|
@@ -39560,7 +39523,7 @@ function xH(e) {
|
|
|
39560
39523
|
}
|
|
39561
39524
|
//#endregion
|
|
39562
39525
|
//#region src/store/UIState.ts
|
|
39563
|
-
var SH, CH, wH, TH, EH, DH, OH, kH, AH, jH, MH, NH, PH, FH, IH, LH, RH, zH, BH, VH,
|
|
39526
|
+
var xH, SH, CH, wH, TH, EH, DH, OH, kH, AH, jH, MH, NH, PH, FH, IH, LH, RH, zH, BH, VH, Y, HH, UH, WH, GH, KH, qH, JH, YH, XH, ZH, QH, $H, eU, tU, nU, rU, iU, aU, oU, sU, cU, lU, uU, dU, fU, pU, mU, hU, gU, _U, vU, yU, bU, xU, SU, CU, wU, TU, EU, DU, OU, kU, AU, jU, MU, NU, PU, FU, IU, LU, RU, zU, BU, VU, HU, UU, WU, GU, KU, qU, JU, YU, XU, ZU, QU, $U, eW, tW, nW, rW;
|
|
39564
39527
|
function X(e, t, n, r) {
|
|
39565
39528
|
n && Object.defineProperty(e, t, {
|
|
39566
39529
|
enumerable: n.enumerable,
|
|
@@ -39577,7 +39540,7 @@ function Z(e, t, n, r, i) {
|
|
|
39577
39540
|
return r(e, t, n) || n;
|
|
39578
39541
|
}, 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;
|
|
39579
39542
|
}
|
|
39580
|
-
var
|
|
39543
|
+
var iW = ["dimensions25"], aW = (xH = g.struct, SH = g.ref, CH = g.ref, wH = g.ref, TH = g.struct, EH = D({ keepAlive: !0 }), DH = D({ keepAlive: !0 }), OH = D({ keepAlive: !0 }), kH = D({ keepAlive: !0 }), AH = D({ keepAlive: !0 }), jH = D({ keepAlive: !0 }), MH = D({ keepAlive: !0 }), NH = D({ keepAlive: !0 }), PH = D({ keepAlive: !0 }), FH = D({ keepAlive: !0 }), IH = D({ keepAlive: !0 }), LH = D({ keepAlive: !0 }), RH = D({ keepAlive: !0 }), zH = D({ keepAlive: !0 }), BH = D({ keepAlive: !0 }), VH = D({ keepAlive: !0 }), Y = class {
|
|
39581
39544
|
setSelectedCategoryFilters(e) {
|
|
39582
39545
|
this.selectedCategoryFilters = e;
|
|
39583
39546
|
}
|
|
@@ -39629,11 +39592,11 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
39629
39592
|
if (((e = this.list) == null ? void 0 : e.type) === "search" && !((t = this.list) == null || (t = t.text) == null) && t.trim().length) {
|
|
39630
39593
|
l.clear();
|
|
39631
39594
|
let e = this.fuzzySearchItems.filter((e) => e.score === 0).map((e) => e.item);
|
|
39632
|
-
e.length ?
|
|
39595
|
+
e.length ? oW(e, this.rootStore.boothStore.booths, this.rootStore.eventStore.eventItems).forEach((e) => l.add(e.id.toString())) : this.listBooths.forEach((e) => l.add(e.id.toString()));
|
|
39633
39596
|
}
|
|
39634
39597
|
if (((n = this.list) == null ? void 0 : n.type) === "filter" && (l.clear(), this.list.items.flatMap((e) => e.booths.filter((e) => e instanceof Vi)).forEach((e) => l.add(e.id.toString()))), this.categoryFilterOpen && this.selectedCategoryFilters.length > 0 ? (l.clear(), this.selectedCategoryFilters.forEach((e) => {
|
|
39635
39598
|
e.exhibitors.flatMap((e) => e.booths).forEach((e) => l.add(e.id.toString()));
|
|
39636
|
-
})) : ((r = this.list) == null ? void 0 : r.type) === "category" && (l.clear(), this.list.category.exhibitors.flatMap((e) => e.booths).forEach((e) => l.add(e.id.toString()))), ((i = this.list) == null ? void 0 : i.type) === "bookmarks" && (l.clear(),
|
|
39599
|
+
})) : ((r = this.list) == null ? void 0 : r.type) === "category" && (l.clear(), this.list.category.exhibitors.flatMap((e) => e.booths).forEach((e) => l.add(e.id.toString()))), ((i = this.list) == null ? void 0 : i.type) === "bookmarks" && (l.clear(), oW(this.listItems, this.rootStore.boothStore.booths, this.rootStore.eventStore.eventItems).forEach((e) => l.add(e.id.toString()))), ((a = this.list) == null ? void 0 : a.type) === "visited" && (l.clear(), oW(this.listItems, this.rootStore.boothStore.booths, this.rootStore.eventStore.eventItems).forEach((e) => l.add(e.id.toString()))), ((o = this.list) == null ? void 0 : o.type) === "exhibitors") {
|
|
39637
39600
|
var u;
|
|
39638
39601
|
l.clear();
|
|
39639
39602
|
let e = (u = this.list.text) == null ? void 0 : u.toLowerCase().trim(), t = this.rootStore.exhibitorStore.exhibitors;
|
|
@@ -39641,7 +39604,7 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
39641
39604
|
}
|
|
39642
39605
|
if (this.selectedPoiTypeFilters.length > 0 && (l.clear(), this.selectedPoiTypeFilters.forEach((e) => {
|
|
39643
39606
|
this.rootStore.boothStore.booths.filter((t) => t.poiTypeId === e.id).forEach((e) => l.add(e.id.toString()));
|
|
39644
|
-
})), this.details instanceof
|
|
39607
|
+
})), this.details instanceof SB) {
|
|
39645
39608
|
var d;
|
|
39646
39609
|
l.clear(), this.details.from instanceof Bi && l.add(this.details.from.id.toString()), this.details.to instanceof Bi && l.add(this.details.to.id.toString()), (d = this.details.waypoints) == null || d.forEach((e) => l.add(e.id.toString()));
|
|
39647
39610
|
}
|
|
@@ -39704,7 +39667,7 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
39704
39667
|
id: "route",
|
|
39705
39668
|
className: "efp-overlay-route",
|
|
39706
39669
|
priority: 70,
|
|
39707
|
-
isActive: () => this.details instanceof
|
|
39670
|
+
isActive: () => this.details instanceof SB,
|
|
39708
39671
|
searchBoxConfig: () => (this.details, {
|
|
39709
39672
|
mode: "details",
|
|
39710
39673
|
title: j("Directions")
|
|
@@ -39776,7 +39739,7 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
39776
39739
|
id: "category",
|
|
39777
39740
|
className: "efp-overlay-category",
|
|
39778
39741
|
priority: 50,
|
|
39779
|
-
isActive: () => !
|
|
39742
|
+
isActive: () => !fW.menu && !!fW.selectedCategory,
|
|
39780
39743
|
searchBoxConfig: () => {
|
|
39781
39744
|
var e;
|
|
39782
39745
|
return {
|
|
@@ -39810,7 +39773,7 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
39810
39773
|
id: "speaker",
|
|
39811
39774
|
className: "efp-overlay-speaker",
|
|
39812
39775
|
priority: 50,
|
|
39813
|
-
isActive: () => this.details instanceof
|
|
39776
|
+
isActive: () => this.details instanceof WV,
|
|
39814
39777
|
searchBoxConfig: () => ({
|
|
39815
39778
|
mode: "details",
|
|
39816
39779
|
title: this.details.name
|
|
@@ -39850,13 +39813,13 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
39850
39813
|
id: "route-planner",
|
|
39851
39814
|
className: "efp-overlay-route-planner",
|
|
39852
39815
|
priority: 76,
|
|
39853
|
-
isActive: () => this.list.type === "route-planner" && (!this.details || this.details instanceof
|
|
39816
|
+
isActive: () => this.list.type === "route-planner" && (!this.details || this.details instanceof SB),
|
|
39854
39817
|
searchBoxConfig: () => ({
|
|
39855
39818
|
mode: "interface",
|
|
39856
39819
|
title: j("Route planner")
|
|
39857
39820
|
})
|
|
39858
39821
|
}
|
|
39859
|
-
].sort((e, t) => t.priority - e.priority)), X(this, "list",
|
|
39822
|
+
].sort((e, t) => t.priority - e.priority)), X(this, "list", HH, this), X(this, "details", UH, this), X(this, "hoveredExhibitor", WH, this), X(this, "hoveredBooth", GH, this), X(this, "zoomBy", KH, this), X(this, "rollReset", qH, this), X(this, "moveToBooths", JH, this), X(this, "moveToRect", YH, this), X(this, "moveToLocation", XH, this), X(this, "menu", ZH, this), X(this, "searchFocused", QH, this), X(this, "searchClearMode", $H, this), X(this, "printingPdf", eU, this), X(this, "screenSize", tU, this), X(this, "desiredOverlaySize", nU, this), X(this, "overlayShowsAll", rU, this), X(this, "centerMap", iU, this), X(this, "zoomAfTransformK", aU, this), X(this, "activeListIndex", oU, this), X(this, "devicePixelRatio", sU, this), this.previewExhibitor = null, X(this, "wsStarted", cU, this), X(this, "canvasStarted", lU, this), X(this, "kiosk", uU, this), X(this, "inIdle", dU, this), X(this, "modalActive", fU, this), X(this, "galleryActive", pU, this), X(this, "hideOverlay", mU, this), X(this, "hideCookieConsent", hU, this), X(this, "hideHeaderLogo", gU, this), X(this, "hideLogoInBooth", _U, this), X(this, "disableBookmarked", vU, this), X(this, "hideLanguage", yU, this), X(this, "monochrome", bU, this), X(this, "heatmap", xU, this), X(this, "heatmapYah", SU, this), this.rootElement = void 0, X(this, "debugCircles", CU, this), X(this, "mapControlsHidden", wU, this), X(this, "floorsControlHidden", TU, this), X(this, "hideFreeOrDemo", EU, this), X(this, "freeBannerDismissed", DU, this), X(this, "currentBanner", OU, this), X(this, "sceneDefReady", kU, this), X(this, "categoryFilterOpen", AU, this), X(this, "selectedCategoryFilters", jU, this), X(this, "selectedPoiTypeFilters", MU, this), X(this, "selectedTrack", NU, this), X(this, "subButtonsVisible", PU, this), X(this, "mapControlsDOMRect", FU, this), X(this, "searchBoxMode", IU, this), X(this, "searchBoxTitle", LU, this), X(this, "searchBoxSubtitle", RU, this), X(this, "routeTitle", zU, this), X(this, "routeDescription", BU, this), X(this, "isMultiPointRoute", VU, this), X(this, "tourTitle", HU, this), X(this, "tourDescription", UU, this), X(this, "isMultiPointTour", WU, this), X(this, "pathwayOnlyMode", GU, this), X(this, "isOverlayScrolled", KU, this), X(this, "listScrollTop", qU, this), X(this, "listScrollItemId", JU, this), X(this, "listScrollIndex", YU, this), this.scrollPositions = /* @__PURE__ */ new Map(), this.scrollItemIds = /* @__PURE__ */ new Map(), X(this, "_customUIScale", XU, this), this.searchFilterHeightPx = 54, this.searchInputHeightPx = 54, this.overlayUISizePx = 390, this.overlayKioskSizePx = 450, this.overlayMediumHeightRems = 10, X(this, "forceDim", ZU, this), X(this, "mapSettings", QU, this), X(this, "forceShowDetails", $U, this), X(this, "buildRoute", eW, this), X(this, "globalErrorMessages", tW, this), this.minUIScale = .8, this.maxUIScale = 1.4, X(this, "setKioskModeEnabled", nW, this), X(this, "kioskData", rW, this), this.rootStore = e, this.initializeUIScale();
|
|
39860
39823
|
}
|
|
39861
39824
|
get rtl() {
|
|
39862
39825
|
let e = ee();
|
|
@@ -39902,10 +39865,10 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
39902
39865
|
return this.list.type === "category" ? this.list.category : null;
|
|
39903
39866
|
}
|
|
39904
39867
|
get selectedRoute() {
|
|
39905
|
-
return this.details instanceof
|
|
39868
|
+
return this.details instanceof SB ? this.details : null;
|
|
39906
39869
|
}
|
|
39907
39870
|
get selectedSpeaker() {
|
|
39908
|
-
return this.details instanceof
|
|
39871
|
+
return this.details instanceof WV ? this.details : null;
|
|
39909
39872
|
}
|
|
39910
39873
|
get uiScale() {
|
|
39911
39874
|
return this._customUIScale === null ? this.kiosk ? 1.2 : 1 : this._customUIScale;
|
|
@@ -39967,7 +39930,7 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
39967
39930
|
return this.overlayBottom ? "top" : this.wsDesktopPosition;
|
|
39968
39931
|
}
|
|
39969
39932
|
get responsiveClass() {
|
|
39970
|
-
return
|
|
39933
|
+
return mH(this.screenSize.width);
|
|
39971
39934
|
}
|
|
39972
39935
|
get mapVisibleTop() {
|
|
39973
39936
|
return (this.wsPosition === "top" ? this.wsOccupiedHeightPx : 0) + this.headerHeightPx;
|
|
@@ -39983,7 +39946,7 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
39983
39946
|
}
|
|
39984
39947
|
get fullSizeOffset() {
|
|
39985
39948
|
let e = this.wsShown ? 54 : 0, t = this.bannerType === "free" && !this.freeBannerDismissed ? 40 : 0;
|
|
39986
|
-
if (this.details && !(this.details instanceof
|
|
39949
|
+
if (this.details && !(this.details instanceof SB)) return e + t + 20;
|
|
39987
39950
|
let n = this.shouldShowSearchButtons ? 54 : 0;
|
|
39988
39951
|
return e + t + 54 + 20 + n;
|
|
39989
39952
|
}
|
|
@@ -40000,10 +39963,10 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
40000
39963
|
get canvasVisibleRectPx() {
|
|
40001
39964
|
let e = this.screenSize;
|
|
40002
39965
|
return st.fromMinMax({
|
|
40003
|
-
x:
|
|
39966
|
+
x: fW.rtl ? 0 : this.mapVisibleStart,
|
|
40004
39967
|
y: this.mapVisibleTop + this.searchActionsHeightPx
|
|
40005
39968
|
}, {
|
|
40006
|
-
x:
|
|
39969
|
+
x: fW.rtl ? e.width - this.mapVisibleStart : e.width,
|
|
40007
39970
|
y: e.height - this.mapVisibleBottom
|
|
40008
39971
|
});
|
|
40009
39972
|
}
|
|
@@ -40024,11 +39987,11 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
40024
39987
|
}
|
|
40025
39988
|
get shouldUseBackdrop() {
|
|
40026
39989
|
var e, t;
|
|
40027
|
-
if (
|
|
39990
|
+
if (fW.overlayCollapsed) return !1;
|
|
40028
39991
|
if (T && localStorage.getItem("forcebackdrop") === "1") return !0;
|
|
40029
39992
|
if (this.overlayBottom || (e = this.selectedExhibitor) != null && e.leadingImageUrl && !((t = this.selectedExhibitor) != null && t.leadingImageLinkUrl)) return !1;
|
|
40030
39993
|
let n = w.satisfies({ safari: ">=13" }), r = w.satisfies({ chrome: ">=77" });
|
|
40031
|
-
return /(android)/i.test(navigator.userAgent) ? !1 : n || r &&
|
|
39994
|
+
return /(android)/i.test(navigator.userAgent) ? !1 : n || r && fW.canvasSizePt.height * fW.canvasSizePt.width < 3e6;
|
|
40032
39995
|
}
|
|
40033
39996
|
setForceDim(e) {
|
|
40034
39997
|
this.forceDim = e;
|
|
@@ -40040,7 +40003,7 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
40040
40003
|
get defaultSearchItems() {
|
|
40041
40004
|
let { exhibitorStore: e, categoryStore: t, boothStore: n, heatmapStore: r } = this.rootStore, i = e.exhibitors, a = t.categories.filter((e) => e.exhibitors.length), o = n.booths;
|
|
40042
40005
|
this.selectedPoiTypeFilters.length > 0 && (i = i.filter((e) => e.booths.some((e) => this.selectedPoiTypeFilters.some((t) => e.poiTypeId === t.id))));
|
|
40043
|
-
let s = [], c = !this.selectedCategoryFilters.length && Br.showCategories ? a.filter((e) =>
|
|
40006
|
+
let s = [], c = !this.selectedCategoryFilters.length && Br.showCategories ? a.filter((e) => iW.includes(P.EXPO) ? !e.name.includes("/") : !0) : [], l = o.filter((e) => e instanceof Hi);
|
|
40044
40007
|
if (this.selectedCategoryFilters.length > 0 ? s = [...i] : (Br.showCompaniesAndBooths && (s = s.concat(i)), Br.showOtherSpaces && (s = s.concat(l))), this.heatmap) return [...i, ...o].sort((e, t) => r.getClicksByType(t) - r.getClicksByType(e));
|
|
40045
40008
|
if (this.heatmapYah) {
|
|
40046
40009
|
var u;
|
|
@@ -40124,7 +40087,7 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
40124
40087
|
for (let e of a) {
|
|
40125
40088
|
let t = e.description;
|
|
40126
40089
|
if (!t) continue;
|
|
40127
|
-
let r = (
|
|
40090
|
+
let r = (dH(t) ? fH(t) : t).toLowerCase().indexOf(n);
|
|
40128
40091
|
r !== -1 && o.push({
|
|
40129
40092
|
item: e,
|
|
40130
40093
|
pos: r
|
|
@@ -40140,7 +40103,7 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
40140
40103
|
return this.foundInDescription.forEach((e) => {
|
|
40141
40104
|
let t = e.description;
|
|
40142
40105
|
if (!t) return;
|
|
40143
|
-
|
|
40106
|
+
dH(t) && (t = fH(t));
|
|
40144
40107
|
let i = t.toLowerCase().indexOf(r);
|
|
40145
40108
|
if (i === -1) return;
|
|
40146
40109
|
let a = i > 3 ? i - 3 : 0, o = t.substring(a).trim();
|
|
@@ -40186,7 +40149,7 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
40186
40149
|
return i.sort((e, t) => e.pos - t.pos), [...i.map((e) => e.result), ...a];
|
|
40187
40150
|
}
|
|
40188
40151
|
get listItems() {
|
|
40189
|
-
if (this.details instanceof
|
|
40152
|
+
if (this.details instanceof SB && this.list.type !== "multi-point-tour") return [this.details.from, this.details.to].filter((e) => e instanceof Bi);
|
|
40190
40153
|
switch (this.list.type) {
|
|
40191
40154
|
case "search":
|
|
40192
40155
|
let t = !(this.heatmap || this.heatmapYah) && this.rootStore.fuzzySearchEngineStore.engine ? this.fuzzySearchItems.map(({ item: e }) => e).concat(this.foundInDescription) : this.searchItems;
|
|
@@ -40224,7 +40187,7 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
40224
40187
|
let e = this.rootStore.boothStore.boothById.get(t);
|
|
40225
40188
|
if (e) return e;
|
|
40226
40189
|
}
|
|
40227
|
-
let n =
|
|
40190
|
+
let n = yB(e);
|
|
40228
40191
|
return (n == null ? void 0 : n.entity) || null;
|
|
40229
40192
|
}).filter(Boolean);
|
|
40230
40193
|
case "route-planner": return this.rootStore.routePlannerStore.resolvedBooths;
|
|
@@ -40232,7 +40195,7 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
40232
40195
|
throw Error("Unknown list.type");
|
|
40233
40196
|
}
|
|
40234
40197
|
get listBooths() {
|
|
40235
|
-
return
|
|
40198
|
+
return oW(this.listItems, this.rootStore.boothStore.booths, this.rootStore.eventStore.eventItems);
|
|
40236
40199
|
}
|
|
40237
40200
|
get selectedBooths() {
|
|
40238
40201
|
var e;
|
|
@@ -40284,7 +40247,7 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
40284
40247
|
}
|
|
40285
40248
|
fitBounds() {
|
|
40286
40249
|
if (this.rootStore.maplibreStore.showMaplibre) {
|
|
40287
|
-
let { rect: e } =
|
|
40250
|
+
let { rect: e } = bH({
|
|
40288
40251
|
layerViewbox: this.rootStore.layerStore.viewboxRectangle,
|
|
40289
40252
|
explicitArea: Xr ? Yr : null,
|
|
40290
40253
|
layerRectangle: this.rootStore.layerStore.rectangle,
|
|
@@ -40345,7 +40308,7 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
40345
40308
|
get routeQRCodeUrl() {
|
|
40346
40309
|
var e, t;
|
|
40347
40310
|
let n = new URL(this.baseQRCodeUrl), r = (e = this.selectedRoute) == null ? void 0 : e.from, i = (t = this.selectedRoute) == null ? void 0 : t.to, a = r instanceof Bi ? r.slug : "", o = i instanceof Bi ? i.slug : "";
|
|
40348
|
-
n.search = `?route%3A${encodeURIComponent(o)}%3A${encodeURIComponent(a)}%3Afalse`,
|
|
40311
|
+
n.search = `?route%3A${encodeURIComponent(o)}%3A${encodeURIComponent(a)}%3Afalse`, rH(n.searchParams, this.kioskData, [
|
|
40349
40312
|
"x",
|
|
40350
40313
|
"y",
|
|
40351
40314
|
"z"
|
|
@@ -40455,7 +40418,7 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
40455
40418
|
setKioskData(e) {
|
|
40456
40419
|
this.kioskData = e;
|
|
40457
40420
|
}
|
|
40458
|
-
},
|
|
40421
|
+
}, HH = Z(Y.prototype, "list", [xH], {
|
|
40459
40422
|
configurable: !0,
|
|
40460
40423
|
enumerable: !0,
|
|
40461
40424
|
writable: !0,
|
|
@@ -40466,482 +40429,482 @@ var aW = ["dimensions25"], oW = (SH = g.struct, CH = g.ref, wH = g.ref, TH = g.r
|
|
|
40466
40429
|
focused: !1
|
|
40467
40430
|
};
|
|
40468
40431
|
}
|
|
40469
|
-
}),
|
|
40432
|
+
}), UH = Z(Y.prototype, "details", [SH], {
|
|
40470
40433
|
configurable: !0,
|
|
40471
40434
|
enumerable: !0,
|
|
40472
40435
|
writable: !0,
|
|
40473
40436
|
initializer: function() {
|
|
40474
40437
|
return null;
|
|
40475
40438
|
}
|
|
40476
|
-
}),
|
|
40439
|
+
}), WH = Z(Y.prototype, "hoveredExhibitor", [CH], {
|
|
40477
40440
|
configurable: !0,
|
|
40478
40441
|
enumerable: !0,
|
|
40479
40442
|
writable: !0,
|
|
40480
40443
|
initializer: function() {
|
|
40481
40444
|
return null;
|
|
40482
40445
|
}
|
|
40483
|
-
}),
|
|
40446
|
+
}), GH = Z(Y.prototype, "hoveredBooth", [wH], {
|
|
40484
40447
|
configurable: !0,
|
|
40485
40448
|
enumerable: !0,
|
|
40486
40449
|
writable: !0,
|
|
40487
40450
|
initializer: function() {
|
|
40488
40451
|
return null;
|
|
40489
40452
|
}
|
|
40490
|
-
}),
|
|
40453
|
+
}), KH = Z(Y.prototype, "zoomBy", [g], {
|
|
40491
40454
|
configurable: !0,
|
|
40492
40455
|
enumerable: !0,
|
|
40493
40456
|
writable: !0,
|
|
40494
40457
|
initializer: function() {
|
|
40495
40458
|
return null;
|
|
40496
40459
|
}
|
|
40497
|
-
}),
|
|
40460
|
+
}), qH = Z(Y.prototype, "rollReset", [g], {
|
|
40498
40461
|
configurable: !0,
|
|
40499
40462
|
enumerable: !0,
|
|
40500
40463
|
writable: !0,
|
|
40501
40464
|
initializer: function() {
|
|
40502
40465
|
return !1;
|
|
40503
40466
|
}
|
|
40504
|
-
}),
|
|
40467
|
+
}), JH = Z(Y.prototype, "moveToBooths", [g], {
|
|
40505
40468
|
configurable: !0,
|
|
40506
40469
|
enumerable: !0,
|
|
40507
40470
|
writable: !0,
|
|
40508
40471
|
initializer: function() {
|
|
40509
40472
|
return null;
|
|
40510
40473
|
}
|
|
40511
|
-
}),
|
|
40474
|
+
}), YH = Z(Y.prototype, "moveToRect", [g], {
|
|
40512
40475
|
configurable: !0,
|
|
40513
40476
|
enumerable: !0,
|
|
40514
40477
|
writable: !0,
|
|
40515
40478
|
initializer: function() {
|
|
40516
40479
|
return null;
|
|
40517
40480
|
}
|
|
40518
|
-
}),
|
|
40481
|
+
}), XH = Z(Y.prototype, "moveToLocation", [g], {
|
|
40519
40482
|
configurable: !0,
|
|
40520
40483
|
enumerable: !0,
|
|
40521
40484
|
writable: !0,
|
|
40522
40485
|
initializer: function() {
|
|
40523
40486
|
return !1;
|
|
40524
40487
|
}
|
|
40525
|
-
}),
|
|
40488
|
+
}), ZH = Z(Y.prototype, "menu", [g], {
|
|
40526
40489
|
configurable: !0,
|
|
40527
40490
|
enumerable: !0,
|
|
40528
40491
|
writable: !0,
|
|
40529
40492
|
initializer: function() {
|
|
40530
40493
|
return !1;
|
|
40531
40494
|
}
|
|
40532
|
-
}),
|
|
40495
|
+
}), QH = Z(Y.prototype, "searchFocused", [g], {
|
|
40533
40496
|
configurable: !0,
|
|
40534
40497
|
enumerable: !0,
|
|
40535
40498
|
writable: !0,
|
|
40536
40499
|
initializer: function() {
|
|
40537
40500
|
return !1;
|
|
40538
40501
|
}
|
|
40539
|
-
}),
|
|
40502
|
+
}), $H = Z(Y.prototype, "searchClearMode", [g], {
|
|
40540
40503
|
configurable: !0,
|
|
40541
40504
|
enumerable: !0,
|
|
40542
40505
|
writable: !0,
|
|
40543
40506
|
initializer: function() {
|
|
40544
40507
|
return !1;
|
|
40545
40508
|
}
|
|
40546
|
-
}),
|
|
40509
|
+
}), eU = Z(Y.prototype, "printingPdf", [g], {
|
|
40547
40510
|
configurable: !0,
|
|
40548
40511
|
enumerable: !0,
|
|
40549
40512
|
writable: !0,
|
|
40550
40513
|
initializer: function() {
|
|
40551
40514
|
return !1;
|
|
40552
40515
|
}
|
|
40553
|
-
}),
|
|
40516
|
+
}), tU = Z(Y.prototype, "screenSize", [TH], {
|
|
40554
40517
|
configurable: !0,
|
|
40555
40518
|
enumerable: !0,
|
|
40556
40519
|
writable: !0,
|
|
40557
40520
|
initializer: null
|
|
40558
|
-
}),
|
|
40521
|
+
}), nU = Z(Y.prototype, "desiredOverlaySize", [g], {
|
|
40559
40522
|
configurable: !0,
|
|
40560
40523
|
enumerable: !0,
|
|
40561
40524
|
writable: !0,
|
|
40562
40525
|
initializer: null
|
|
40563
|
-
}),
|
|
40526
|
+
}), rU = Z(Y.prototype, "overlayShowsAll", [g], {
|
|
40564
40527
|
configurable: !0,
|
|
40565
40528
|
enumerable: !0,
|
|
40566
40529
|
writable: !0,
|
|
40567
40530
|
initializer: function() {
|
|
40568
40531
|
return !1;
|
|
40569
40532
|
}
|
|
40570
|
-
}),
|
|
40533
|
+
}), iU = Z(Y.prototype, "centerMap", [g], {
|
|
40571
40534
|
configurable: !0,
|
|
40572
40535
|
enumerable: !0,
|
|
40573
40536
|
writable: !0,
|
|
40574
40537
|
initializer: function() {
|
|
40575
40538
|
return !1;
|
|
40576
40539
|
}
|
|
40577
|
-
}),
|
|
40540
|
+
}), aU = Z(Y.prototype, "zoomAfTransformK", [g], {
|
|
40578
40541
|
configurable: !0,
|
|
40579
40542
|
enumerable: !0,
|
|
40580
40543
|
writable: !0,
|
|
40581
40544
|
initializer: function() {
|
|
40582
40545
|
return 1;
|
|
40583
40546
|
}
|
|
40584
|
-
}),
|
|
40547
|
+
}), oU = Z(Y.prototype, "activeListIndex", [g], {
|
|
40585
40548
|
configurable: !0,
|
|
40586
40549
|
enumerable: !0,
|
|
40587
40550
|
writable: !0,
|
|
40588
40551
|
initializer: function() {
|
|
40589
40552
|
return -1;
|
|
40590
40553
|
}
|
|
40591
|
-
}),
|
|
40554
|
+
}), sU = Z(Y.prototype, "devicePixelRatio", [g], {
|
|
40592
40555
|
configurable: !0,
|
|
40593
40556
|
enumerable: !0,
|
|
40594
40557
|
writable: !0,
|
|
40595
40558
|
initializer: function() {
|
|
40596
40559
|
return window.devicePixelRatio;
|
|
40597
40560
|
}
|
|
40598
|
-
}),
|
|
40561
|
+
}), cU = Z(Y.prototype, "wsStarted", [g], {
|
|
40599
40562
|
configurable: !0,
|
|
40600
40563
|
enumerable: !0,
|
|
40601
40564
|
writable: !0,
|
|
40602
40565
|
initializer: function() {
|
|
40603
40566
|
return !1;
|
|
40604
40567
|
}
|
|
40605
|
-
}),
|
|
40568
|
+
}), lU = Z(Y.prototype, "canvasStarted", [g], {
|
|
40606
40569
|
configurable: !0,
|
|
40607
40570
|
enumerable: !0,
|
|
40608
40571
|
writable: !0,
|
|
40609
40572
|
initializer: function() {
|
|
40610
40573
|
return !1;
|
|
40611
40574
|
}
|
|
40612
|
-
}),
|
|
40575
|
+
}), uU = Z(Y.prototype, "kiosk", [g], {
|
|
40613
40576
|
configurable: !0,
|
|
40614
40577
|
enumerable: !0,
|
|
40615
40578
|
writable: !0,
|
|
40616
40579
|
initializer: function() {
|
|
40617
40580
|
return !1;
|
|
40618
40581
|
}
|
|
40619
|
-
}),
|
|
40582
|
+
}), dU = Z(Y.prototype, "inIdle", [g], {
|
|
40620
40583
|
configurable: !0,
|
|
40621
40584
|
enumerable: !0,
|
|
40622
40585
|
writable: !0,
|
|
40623
40586
|
initializer: function() {
|
|
40624
40587
|
return !1;
|
|
40625
40588
|
}
|
|
40626
|
-
}),
|
|
40589
|
+
}), fU = Z(Y.prototype, "modalActive", [g], {
|
|
40627
40590
|
configurable: !0,
|
|
40628
40591
|
enumerable: !0,
|
|
40629
40592
|
writable: !0,
|
|
40630
40593
|
initializer: function() {
|
|
40631
40594
|
return { share: !1 };
|
|
40632
40595
|
}
|
|
40633
|
-
}),
|
|
40596
|
+
}), pU = Z(Y.prototype, "galleryActive", [g], {
|
|
40634
40597
|
configurable: !0,
|
|
40635
40598
|
enumerable: !0,
|
|
40636
40599
|
writable: !0,
|
|
40637
40600
|
initializer: function() {
|
|
40638
40601
|
return !1;
|
|
40639
40602
|
}
|
|
40640
|
-
}),
|
|
40603
|
+
}), mU = Z(Y.prototype, "hideOverlay", [g], {
|
|
40641
40604
|
configurable: !0,
|
|
40642
40605
|
enumerable: !0,
|
|
40643
40606
|
writable: !0,
|
|
40644
40607
|
initializer: function() {
|
|
40645
40608
|
return !1;
|
|
40646
40609
|
}
|
|
40647
|
-
}),
|
|
40610
|
+
}), hU = Z(Y.prototype, "hideCookieConsent", [g], {
|
|
40648
40611
|
configurable: !0,
|
|
40649
40612
|
enumerable: !0,
|
|
40650
40613
|
writable: !0,
|
|
40651
40614
|
initializer: function() {
|
|
40652
40615
|
return !!CF();
|
|
40653
40616
|
}
|
|
40654
|
-
}),
|
|
40617
|
+
}), gU = Z(Y.prototype, "hideHeaderLogo", [g], {
|
|
40655
40618
|
configurable: !0,
|
|
40656
40619
|
enumerable: !0,
|
|
40657
40620
|
writable: !0,
|
|
40658
40621
|
initializer: function() {
|
|
40659
40622
|
return !1;
|
|
40660
40623
|
}
|
|
40661
|
-
}),
|
|
40624
|
+
}), _U = Z(Y.prototype, "hideLogoInBooth", [g], {
|
|
40662
40625
|
configurable: !0,
|
|
40663
40626
|
enumerable: !0,
|
|
40664
40627
|
writable: !0,
|
|
40665
40628
|
initializer: function() {
|
|
40666
40629
|
return !1;
|
|
40667
40630
|
}
|
|
40668
|
-
}),
|
|
40631
|
+
}), vU = Z(Y.prototype, "disableBookmarked", [g], {
|
|
40669
40632
|
configurable: !0,
|
|
40670
40633
|
enumerable: !0,
|
|
40671
40634
|
writable: !0,
|
|
40672
40635
|
initializer: function() {
|
|
40673
40636
|
return !1;
|
|
40674
40637
|
}
|
|
40675
|
-
}),
|
|
40638
|
+
}), yU = Z(Y.prototype, "hideLanguage", [g], {
|
|
40676
40639
|
configurable: !0,
|
|
40677
40640
|
enumerable: !0,
|
|
40678
40641
|
writable: !0,
|
|
40679
40642
|
initializer: function() {
|
|
40680
40643
|
return !1;
|
|
40681
40644
|
}
|
|
40682
|
-
}),
|
|
40645
|
+
}), bU = Z(Y.prototype, "monochrome", [g], {
|
|
40683
40646
|
configurable: !0,
|
|
40684
40647
|
enumerable: !0,
|
|
40685
40648
|
writable: !0,
|
|
40686
40649
|
initializer: function() {
|
|
40687
40650
|
return !1;
|
|
40688
40651
|
}
|
|
40689
|
-
}),
|
|
40652
|
+
}), xU = Z(Y.prototype, "heatmap", [g], {
|
|
40690
40653
|
configurable: !0,
|
|
40691
40654
|
enumerable: !0,
|
|
40692
40655
|
writable: !0,
|
|
40693
40656
|
initializer: function() {
|
|
40694
40657
|
return !1;
|
|
40695
40658
|
}
|
|
40696
|
-
}),
|
|
40659
|
+
}), SU = Z(Y.prototype, "heatmapYah", [g], {
|
|
40697
40660
|
configurable: !0,
|
|
40698
40661
|
enumerable: !0,
|
|
40699
40662
|
writable: !0,
|
|
40700
40663
|
initializer: function() {
|
|
40701
40664
|
return !1;
|
|
40702
40665
|
}
|
|
40703
|
-
}),
|
|
40666
|
+
}), CU = Z(Y.prototype, "debugCircles", [g], {
|
|
40704
40667
|
configurable: !0,
|
|
40705
40668
|
enumerable: !0,
|
|
40706
40669
|
writable: !0,
|
|
40707
40670
|
initializer: function() {
|
|
40708
40671
|
return [];
|
|
40709
40672
|
}
|
|
40710
|
-
}),
|
|
40673
|
+
}), wU = Z(Y.prototype, "mapControlsHidden", [g], {
|
|
40711
40674
|
configurable: !0,
|
|
40712
40675
|
enumerable: !0,
|
|
40713
40676
|
writable: !0,
|
|
40714
40677
|
initializer: function() {
|
|
40715
40678
|
return !1;
|
|
40716
40679
|
}
|
|
40717
|
-
}),
|
|
40680
|
+
}), TU = Z(Y.prototype, "floorsControlHidden", [g], {
|
|
40718
40681
|
configurable: !0,
|
|
40719
40682
|
enumerable: !0,
|
|
40720
40683
|
writable: !0,
|
|
40721
40684
|
initializer: function() {
|
|
40722
40685
|
return !1;
|
|
40723
40686
|
}
|
|
40724
|
-
}),
|
|
40687
|
+
}), EU = Z(Y.prototype, "hideFreeOrDemo", [g], {
|
|
40725
40688
|
configurable: !0,
|
|
40726
40689
|
enumerable: !0,
|
|
40727
40690
|
writable: !0,
|
|
40728
40691
|
initializer: function() {
|
|
40729
40692
|
return !1;
|
|
40730
40693
|
}
|
|
40731
|
-
}),
|
|
40694
|
+
}), DU = Z(Y.prototype, "freeBannerDismissed", [g], {
|
|
40732
40695
|
configurable: !0,
|
|
40733
40696
|
enumerable: !0,
|
|
40734
40697
|
writable: !0,
|
|
40735
40698
|
initializer: function() {
|
|
40736
|
-
return
|
|
40699
|
+
return cH(sessionStorage);
|
|
40737
40700
|
}
|
|
40738
|
-
}),
|
|
40701
|
+
}), OU = Z(Y.prototype, "currentBanner", [g], {
|
|
40739
40702
|
configurable: !0,
|
|
40740
40703
|
enumerable: !0,
|
|
40741
40704
|
writable: !0,
|
|
40742
40705
|
initializer: function() {
|
|
40743
40706
|
return null;
|
|
40744
40707
|
}
|
|
40745
|
-
}),
|
|
40708
|
+
}), kU = Z(Y.prototype, "sceneDefReady", [g], {
|
|
40746
40709
|
configurable: !0,
|
|
40747
40710
|
enumerable: !0,
|
|
40748
40711
|
writable: !0,
|
|
40749
40712
|
initializer: function() {
|
|
40750
40713
|
return !1;
|
|
40751
40714
|
}
|
|
40752
|
-
}),
|
|
40715
|
+
}), AU = Z(Y.prototype, "categoryFilterOpen", [g], {
|
|
40753
40716
|
configurable: !0,
|
|
40754
40717
|
enumerable: !0,
|
|
40755
40718
|
writable: !0,
|
|
40756
40719
|
initializer: function() {
|
|
40757
40720
|
return !1;
|
|
40758
40721
|
}
|
|
40759
|
-
}),
|
|
40722
|
+
}), jU = Z(Y.prototype, "selectedCategoryFilters", [g], {
|
|
40760
40723
|
configurable: !0,
|
|
40761
40724
|
enumerable: !0,
|
|
40762
40725
|
writable: !0,
|
|
40763
40726
|
initializer: function() {
|
|
40764
40727
|
return [];
|
|
40765
40728
|
}
|
|
40766
|
-
}),
|
|
40729
|
+
}), MU = Z(Y.prototype, "selectedPoiTypeFilters", [g], {
|
|
40767
40730
|
configurable: !0,
|
|
40768
40731
|
enumerable: !0,
|
|
40769
40732
|
writable: !0,
|
|
40770
40733
|
initializer: function() {
|
|
40771
40734
|
return [];
|
|
40772
40735
|
}
|
|
40773
|
-
}),
|
|
40736
|
+
}), NU = Z(Y.prototype, "selectedTrack", [g], {
|
|
40774
40737
|
configurable: !0,
|
|
40775
40738
|
enumerable: !0,
|
|
40776
40739
|
writable: !0,
|
|
40777
40740
|
initializer: function() {
|
|
40778
40741
|
return null;
|
|
40779
40742
|
}
|
|
40780
|
-
}),
|
|
40743
|
+
}), PU = Z(Y.prototype, "subButtonsVisible", [g], {
|
|
40781
40744
|
configurable: !0,
|
|
40782
40745
|
enumerable: !0,
|
|
40783
40746
|
writable: !0,
|
|
40784
40747
|
initializer: function() {
|
|
40785
40748
|
return !1;
|
|
40786
40749
|
}
|
|
40787
|
-
}),
|
|
40750
|
+
}), FU = Z(Y.prototype, "mapControlsDOMRect", [g], {
|
|
40788
40751
|
configurable: !0,
|
|
40789
40752
|
enumerable: !0,
|
|
40790
40753
|
writable: !0,
|
|
40791
40754
|
initializer: null
|
|
40792
|
-
}),
|
|
40755
|
+
}), IU = Z(Y.prototype, "searchBoxMode", [g], {
|
|
40793
40756
|
configurable: !0,
|
|
40794
40757
|
enumerable: !0,
|
|
40795
40758
|
writable: !0,
|
|
40796
40759
|
initializer: function() {
|
|
40797
40760
|
return "search";
|
|
40798
40761
|
}
|
|
40799
|
-
}),
|
|
40762
|
+
}), LU = Z(Y.prototype, "searchBoxTitle", [g], {
|
|
40800
40763
|
configurable: !0,
|
|
40801
40764
|
enumerable: !0,
|
|
40802
40765
|
writable: !0,
|
|
40803
40766
|
initializer: function() {
|
|
40804
40767
|
return "";
|
|
40805
40768
|
}
|
|
40806
|
-
}),
|
|
40769
|
+
}), RU = Z(Y.prototype, "searchBoxSubtitle", [g], {
|
|
40807
40770
|
configurable: !0,
|
|
40808
40771
|
enumerable: !0,
|
|
40809
40772
|
writable: !0,
|
|
40810
40773
|
initializer: null
|
|
40811
|
-
}),
|
|
40774
|
+
}), zU = Z(Y.prototype, "routeTitle", [g], {
|
|
40812
40775
|
configurable: !0,
|
|
40813
40776
|
enumerable: !0,
|
|
40814
40777
|
writable: !0,
|
|
40815
40778
|
initializer: null
|
|
40816
|
-
}),
|
|
40779
|
+
}), BU = Z(Y.prototype, "routeDescription", [g], {
|
|
40817
40780
|
configurable: !0,
|
|
40818
40781
|
enumerable: !0,
|
|
40819
40782
|
writable: !0,
|
|
40820
40783
|
initializer: null
|
|
40821
|
-
}),
|
|
40784
|
+
}), VU = Z(Y.prototype, "isMultiPointRoute", [g], {
|
|
40822
40785
|
configurable: !0,
|
|
40823
40786
|
enumerable: !0,
|
|
40824
40787
|
writable: !0,
|
|
40825
40788
|
initializer: function() {
|
|
40826
40789
|
return !1;
|
|
40827
40790
|
}
|
|
40828
|
-
}),
|
|
40791
|
+
}), HU = Z(Y.prototype, "tourTitle", [g], {
|
|
40829
40792
|
configurable: !0,
|
|
40830
40793
|
enumerable: !0,
|
|
40831
40794
|
writable: !0,
|
|
40832
40795
|
initializer: null
|
|
40833
|
-
}),
|
|
40796
|
+
}), UU = Z(Y.prototype, "tourDescription", [g], {
|
|
40834
40797
|
configurable: !0,
|
|
40835
40798
|
enumerable: !0,
|
|
40836
40799
|
writable: !0,
|
|
40837
40800
|
initializer: null
|
|
40838
|
-
}),
|
|
40801
|
+
}), WU = Z(Y.prototype, "isMultiPointTour", [g], {
|
|
40839
40802
|
configurable: !0,
|
|
40840
40803
|
enumerable: !0,
|
|
40841
40804
|
writable: !0,
|
|
40842
40805
|
initializer: function() {
|
|
40843
40806
|
return !1;
|
|
40844
40807
|
}
|
|
40845
|
-
}),
|
|
40808
|
+
}), GU = Z(Y.prototype, "pathwayOnlyMode", [g], {
|
|
40846
40809
|
configurable: !0,
|
|
40847
40810
|
enumerable: !0,
|
|
40848
40811
|
writable: !0,
|
|
40849
40812
|
initializer: function() {
|
|
40850
40813
|
return !1;
|
|
40851
40814
|
}
|
|
40852
|
-
}),
|
|
40815
|
+
}), KU = Z(Y.prototype, "isOverlayScrolled", [g], {
|
|
40853
40816
|
configurable: !0,
|
|
40854
40817
|
enumerable: !0,
|
|
40855
40818
|
writable: !0,
|
|
40856
40819
|
initializer: function() {
|
|
40857
40820
|
return !1;
|
|
40858
40821
|
}
|
|
40859
|
-
}),
|
|
40822
|
+
}), qU = Z(Y.prototype, "listScrollTop", [g], {
|
|
40860
40823
|
configurable: !0,
|
|
40861
40824
|
enumerable: !0,
|
|
40862
40825
|
writable: !0,
|
|
40863
40826
|
initializer: function() {
|
|
40864
40827
|
return 0;
|
|
40865
40828
|
}
|
|
40866
|
-
}),
|
|
40829
|
+
}), JU = Z(Y.prototype, "listScrollItemId", [g], {
|
|
40867
40830
|
configurable: !0,
|
|
40868
40831
|
enumerable: !0,
|
|
40869
40832
|
writable: !0,
|
|
40870
40833
|
initializer: function() {
|
|
40871
40834
|
return null;
|
|
40872
40835
|
}
|
|
40873
|
-
}),
|
|
40836
|
+
}), YU = Z(Y.prototype, "listScrollIndex", [g], {
|
|
40874
40837
|
configurable: !0,
|
|
40875
40838
|
enumerable: !0,
|
|
40876
40839
|
writable: !0,
|
|
40877
40840
|
initializer: function() {
|
|
40878
40841
|
return 0;
|
|
40879
40842
|
}
|
|
40880
|
-
}),
|
|
40843
|
+
}), XU = Z(Y.prototype, "_customUIScale", [g], {
|
|
40881
40844
|
configurable: !0,
|
|
40882
40845
|
enumerable: !0,
|
|
40883
40846
|
writable: !0,
|
|
40884
40847
|
initializer: function() {
|
|
40885
40848
|
return null;
|
|
40886
40849
|
}
|
|
40887
|
-
}), Z(Y.prototype, "setSelectedCategoryFilters", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setSelectedCategoryFilters"), Y.prototype), Z(Y.prototype, "resetCategoryFilter", [b], Object.getOwnPropertyDescriptor(Y.prototype, "resetCategoryFilter"), Y.prototype), Z(Y.prototype, "setSearchClearMode", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setSearchClearMode"), Y.prototype), Z(Y.prototype, "setRouteTitle", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setRouteTitle"), Y.prototype), Z(Y.prototype, "setRouteDescription", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setRouteDescription"), Y.prototype), Z(Y.prototype, "setIsMultiPointRoute", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setIsMultiPointRoute"), Y.prototype), Z(Y.prototype, "setTourTitle", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setTourTitle"), Y.prototype), Z(Y.prototype, "setTourDescription", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setTourDescription"), Y.prototype), Z(Y.prototype, "setIsMultiPointTour", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setIsMultiPointTour"), Y.prototype), Z(Y.prototype, "setPathwayOnlyMode", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setPathwayOnlyMode"), Y.prototype), Z(Y.prototype, "setMultiPointTourList", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setMultiPointTourList"), Y.prototype), Z(Y.prototype, "activePathwayLayers", [D], Object.getOwnPropertyDescriptor(Y.prototype, "activePathwayLayers"), Y.prototype), Z(Y.prototype, "highlightedBooths", [D], Object.getOwnPropertyDescriptor(Y.prototype, "highlightedBooths"), Y.prototype), Z(Y.prototype, "rtl", [D], Object.getOwnPropertyDescriptor(Y.prototype, "rtl"), Y.prototype), Z(Y.prototype, "noOverlay", [
|
|
40850
|
+
}), Z(Y.prototype, "setSelectedCategoryFilters", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setSelectedCategoryFilters"), Y.prototype), Z(Y.prototype, "resetCategoryFilter", [b], Object.getOwnPropertyDescriptor(Y.prototype, "resetCategoryFilter"), Y.prototype), Z(Y.prototype, "setSearchClearMode", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setSearchClearMode"), Y.prototype), Z(Y.prototype, "setRouteTitle", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setRouteTitle"), Y.prototype), Z(Y.prototype, "setRouteDescription", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setRouteDescription"), Y.prototype), Z(Y.prototype, "setIsMultiPointRoute", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setIsMultiPointRoute"), Y.prototype), Z(Y.prototype, "setTourTitle", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setTourTitle"), Y.prototype), Z(Y.prototype, "setTourDescription", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setTourDescription"), Y.prototype), Z(Y.prototype, "setIsMultiPointTour", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setIsMultiPointTour"), Y.prototype), Z(Y.prototype, "setPathwayOnlyMode", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setPathwayOnlyMode"), Y.prototype), Z(Y.prototype, "setMultiPointTourList", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setMultiPointTourList"), Y.prototype), Z(Y.prototype, "activePathwayLayers", [D], Object.getOwnPropertyDescriptor(Y.prototype, "activePathwayLayers"), Y.prototype), Z(Y.prototype, "highlightedBooths", [D], Object.getOwnPropertyDescriptor(Y.prototype, "highlightedBooths"), Y.prototype), Z(Y.prototype, "rtl", [D], Object.getOwnPropertyDescriptor(Y.prototype, "rtl"), Y.prototype), Z(Y.prototype, "noOverlay", [EH], Object.getOwnPropertyDescriptor(Y.prototype, "noOverlay"), Y.prototype), Z(Y.prototype, "selectedExhibitor", [DH], Object.getOwnPropertyDescriptor(Y.prototype, "selectedExhibitor"), Y.prototype), Z(Y.prototype, "selectedBooth", [OH], Object.getOwnPropertyDescriptor(Y.prototype, "selectedBooth"), Y.prototype), Z(Y.prototype, "selectedCategory", [kH], Object.getOwnPropertyDescriptor(Y.prototype, "selectedCategory"), Y.prototype), Z(Y.prototype, "selectedRoute", [AH], Object.getOwnPropertyDescriptor(Y.prototype, "selectedRoute"), Y.prototype), Z(Y.prototype, "selectedSpeaker", [jH], Object.getOwnPropertyDescriptor(Y.prototype, "selectedSpeaker"), Y.prototype), Z(Y.prototype, "uiScale", [MH], Object.getOwnPropertyDescriptor(Y.prototype, "uiScale"), Y.prototype), Z(Y.prototype, "isGuidedToursActive", [NH], Object.getOwnPropertyDescriptor(Y.prototype, "isGuidedToursActive"), Y.prototype), Z(Y.prototype, "getRouteNextFloor", [PH], Object.getOwnPropertyDescriptor(Y.prototype, "getRouteNextFloor"), Y.prototype), Z(Y.prototype, "headerHeightRem", [D], Object.getOwnPropertyDescriptor(Y.prototype, "headerHeightRem"), Y.prototype), Z(Y.prototype, "headerHeightPx", [D], Object.getOwnPropertyDescriptor(Y.prototype, "headerHeightPx"), Y.prototype), Z(Y.prototype, "overlayPosition", [D], Object.getOwnPropertyDescriptor(Y.prototype, "overlayPosition"), Y.prototype), Z(Y.prototype, "overlayCollapsed", [D], Object.getOwnPropertyDescriptor(Y.prototype, "overlayCollapsed"), Y.prototype), Z(Y.prototype, "overlaySize", [D], Object.getOwnPropertyDescriptor(Y.prototype, "overlaySize"), Y.prototype), Z(Y.prototype, "overlayBottom", [D], Object.getOwnPropertyDescriptor(Y.prototype, "overlayBottom"), Y.prototype), Z(Y.prototype, "overlayLeft", [D], Object.getOwnPropertyDescriptor(Y.prototype, "overlayLeft"), Y.prototype), Z(Y.prototype, "overlayWidthPx", [D], Object.getOwnPropertyDescriptor(Y.prototype, "overlayWidthPx"), Y.prototype), Z(Y.prototype, "wsImageHeightPx", [FH], Object.getOwnPropertyDescriptor(Y.prototype, "wsImageHeightPx"), Y.prototype), Z(Y.prototype, "wsPaddingPx", [D], Object.getOwnPropertyDescriptor(Y.prototype, "wsPaddingPx"), Y.prototype), Z(Y.prototype, "wsOccupiedHeightPx", [D], Object.getOwnPropertyDescriptor(Y.prototype, "wsOccupiedHeightPx"), Y.prototype), Z(Y.prototype, "wsShown", [IH], Object.getOwnPropertyDescriptor(Y.prototype, "wsShown"), Y.prototype), Z(Y.prototype, "wsDesktopPosition", [D], Object.getOwnPropertyDescriptor(Y.prototype, "wsDesktopPosition"), Y.prototype), Z(Y.prototype, "wsPosition", [D], Object.getOwnPropertyDescriptor(Y.prototype, "wsPosition"), Y.prototype), Z(Y.prototype, "responsiveClass", [D], Object.getOwnPropertyDescriptor(Y.prototype, "responsiveClass"), Y.prototype), Z(Y.prototype, "mapVisibleTop", [D], Object.getOwnPropertyDescriptor(Y.prototype, "mapVisibleTop"), Y.prototype), Z(Y.prototype, "mapVisibleBottom", [D], Object.getOwnPropertyDescriptor(Y.prototype, "mapVisibleBottom"), Y.prototype), Z(Y.prototype, "mapVisibleStart", [D], Object.getOwnPropertyDescriptor(Y.prototype, "mapVisibleStart"), Y.prototype), Z(Y.prototype, "searchActionsHeightPx", [D], Object.getOwnPropertyDescriptor(Y.prototype, "searchActionsHeightPx"), Y.prototype), Z(Y.prototype, "fullSizeOffset", [D], Object.getOwnPropertyDescriptor(Y.prototype, "fullSizeOffset"), Y.prototype), Z(Y.prototype, "shouldShowSearchButtons", [D], Object.getOwnPropertyDescriptor(Y.prototype, "shouldShowSearchButtons"), Y.prototype), Z(Y.prototype, "shouldShowMobileToggle", [D], Object.getOwnPropertyDescriptor(Y.prototype, "shouldShowMobileToggle"), Y.prototype), Z(Y.prototype, "mobileToggleIsListMode", [D], Object.getOwnPropertyDescriptor(Y.prototype, "mobileToggleIsListMode"), Y.prototype), Z(Y.prototype, "canvasVisibleRectPx", [D], Object.getOwnPropertyDescriptor(Y.prototype, "canvasVisibleRectPx"), Y.prototype), Z(Y.prototype, "shouldShiftMapRect", [D], Object.getOwnPropertyDescriptor(Y.prototype, "shouldShiftMapRect"), Y.prototype), Z(Y.prototype, "hasAppliedFilters", [D], Object.getOwnPropertyDescriptor(Y.prototype, "hasAppliedFilters"), Y.prototype), Z(Y.prototype, "canvasVisibleRectPt", [D], Object.getOwnPropertyDescriptor(Y.prototype, "canvasVisibleRectPt"), Y.prototype), Z(Y.prototype, "canvasSizePt", [D], Object.getOwnPropertyDescriptor(Y.prototype, "canvasSizePt"), Y.prototype), Z(Y.prototype, "shouldUseBackdrop", [LH], Object.getOwnPropertyDescriptor(Y.prototype, "shouldUseBackdrop"), Y.prototype), ZU = Z(Y.prototype, "forceDim", [g], {
|
|
40888
40851
|
configurable: !0,
|
|
40889
40852
|
enumerable: !0,
|
|
40890
40853
|
writable: !0,
|
|
40891
40854
|
initializer: function() {
|
|
40892
40855
|
return !1;
|
|
40893
40856
|
}
|
|
40894
|
-
}), Z(Y.prototype, "setForceDim", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setForceDim"), Y.prototype), Z(Y.prototype, "dimmed", [D], Object.getOwnPropertyDescriptor(Y.prototype, "dimmed"), Y.prototype), Z(Y.prototype, "defaultSearchItems", [D], Object.getOwnPropertyDescriptor(Y.prototype, "defaultSearchItems"), Y.prototype), Z(Y.prototype, "searchItems", [D], Object.getOwnPropertyDescriptor(Y.prototype, "searchItems"), Y.prototype), Z(Y.prototype, "searchList", [D], Object.getOwnPropertyDescriptor(Y.prototype, "searchList"), Y.prototype), Z(Y.prototype, "foundInDescription", [D], Object.getOwnPropertyDescriptor(Y.prototype, "foundInDescription"), Y.prototype), Z(Y.prototype, "foundInDescriptionStruct", [D], Object.getOwnPropertyDescriptor(Y.prototype, "foundInDescriptionStruct"), Y.prototype), Z(Y.prototype, "categoryFilteredSearchList", [D], Object.getOwnPropertyDescriptor(Y.prototype, "categoryFilteredSearchList"), Y.prototype), Z(Y.prototype, "fuzzySearchItems", [D], Object.getOwnPropertyDescriptor(Y.prototype, "fuzzySearchItems"), Y.prototype), Z(Y.prototype, "listItems", [D], Object.getOwnPropertyDescriptor(Y.prototype, "listItems"), Y.prototype), Z(Y.prototype, "listBooths", [
|
|
40857
|
+
}), Z(Y.prototype, "setForceDim", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setForceDim"), Y.prototype), Z(Y.prototype, "dimmed", [D], Object.getOwnPropertyDescriptor(Y.prototype, "dimmed"), Y.prototype), Z(Y.prototype, "defaultSearchItems", [D], Object.getOwnPropertyDescriptor(Y.prototype, "defaultSearchItems"), Y.prototype), Z(Y.prototype, "searchItems", [D], Object.getOwnPropertyDescriptor(Y.prototype, "searchItems"), Y.prototype), Z(Y.prototype, "searchList", [D], Object.getOwnPropertyDescriptor(Y.prototype, "searchList"), Y.prototype), Z(Y.prototype, "foundInDescription", [D], Object.getOwnPropertyDescriptor(Y.prototype, "foundInDescription"), Y.prototype), Z(Y.prototype, "foundInDescriptionStruct", [D], Object.getOwnPropertyDescriptor(Y.prototype, "foundInDescriptionStruct"), Y.prototype), Z(Y.prototype, "categoryFilteredSearchList", [D], Object.getOwnPropertyDescriptor(Y.prototype, "categoryFilteredSearchList"), Y.prototype), Z(Y.prototype, "fuzzySearchItems", [D], Object.getOwnPropertyDescriptor(Y.prototype, "fuzzySearchItems"), Y.prototype), Z(Y.prototype, "listItems", [D], Object.getOwnPropertyDescriptor(Y.prototype, "listItems"), Y.prototype), Z(Y.prototype, "listBooths", [RH], Object.getOwnPropertyDescriptor(Y.prototype, "listBooths"), Y.prototype), Z(Y.prototype, "selectedBooths", [zH], Object.getOwnPropertyDescriptor(Y.prototype, "selectedBooths"), Y.prototype), Z(Y.prototype, "hoveredBooths", [BH], Object.getOwnPropertyDescriptor(Y.prototype, "hoveredBooths"), Y.prototype), Z(Y.prototype, "visibility", [D], Object.getOwnPropertyDescriptor(Y.prototype, "visibility"), Y.prototype), Z(Y.prototype, "setVisibility", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setVisibility"), Y.prototype), Z(Y.prototype, "toggleMapOverlay", [b], Object.getOwnPropertyDescriptor(Y.prototype, "toggleMapOverlay"), Y.prototype), Z(Y.prototype, "changeZoom", [b], Object.getOwnPropertyDescriptor(Y.prototype, "changeZoom"), Y.prototype), Z(Y.prototype, "zoomIn", [b], Object.getOwnPropertyDescriptor(Y.prototype, "zoomIn"), Y.prototype), Z(Y.prototype, "zoomOut", [b], Object.getOwnPropertyDescriptor(Y.prototype, "zoomOut"), Y.prototype), Z(Y.prototype, "fitBounds", [b], Object.getOwnPropertyDescriptor(Y.prototype, "fitBounds"), Y.prototype), Z(Y.prototype, "selectedEventItem", [VH], Object.getOwnPropertyDescriptor(Y.prototype, "selectedEventItem"), Y.prototype), QU = Z(Y.prototype, "mapSettings", [g], {
|
|
40895
40858
|
configurable: !0,
|
|
40896
40859
|
enumerable: !0,
|
|
40897
40860
|
writable: !0,
|
|
40898
40861
|
initializer: function() {
|
|
40899
40862
|
return { ...this.defaultMapSettings };
|
|
40900
40863
|
}
|
|
40901
|
-
}), Z(Y.prototype, "setMapSettings", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setMapSettings"), Y.prototype), Z(Y.prototype, "resetMapSettings", [b], Object.getOwnPropertyDescriptor(Y.prototype, "resetMapSettings"), Y.prototype), Z(Y.prototype, "baseQRCodeUrl", [D], Object.getOwnPropertyDescriptor(Y.prototype, "baseQRCodeUrl"), Y.prototype), Z(Y.prototype, "viewMapOnPhoneQRCodeUrl", [D], Object.getOwnPropertyDescriptor(Y.prototype, "viewMapOnPhoneQRCodeUrl"), Y.prototype), Z(Y.prototype, "routeQRCodeUrl", [D], Object.getOwnPropertyDescriptor(Y.prototype, "routeQRCodeUrl"), Y.prototype), Z(Y.prototype, "isFeaturedExhibitorActive", [D], Object.getOwnPropertyDescriptor(Y.prototype, "isFeaturedExhibitorActive"), Y.prototype), Z(Y.prototype, "activeInterfaceData", [D], Object.getOwnPropertyDescriptor(Y.prototype, "activeInterfaceData"), Y.prototype), Z(Y.prototype, "searchBoxConfig", [D], Object.getOwnPropertyDescriptor(Y.prototype, "searchBoxConfig"), Y.prototype), Z(Y.prototype, "searchBoxActions", [D], Object.getOwnPropertyDescriptor(Y.prototype, "searchBoxActions"), Y.prototype), Z(Y.prototype, "overlayInterfaceClasses", [D], Object.getOwnPropertyDescriptor(Y.prototype, "overlayInterfaceClasses"), Y.prototype), Z(Y.prototype, "isOverlayOpen", [D], Object.getOwnPropertyDescriptor(Y.prototype, "isOverlayOpen"), Y.prototype), Z(Y.prototype, "setOverlayScrolled", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setOverlayScrolled"), Y.prototype), Z(Y.prototype, "setListScrollTop", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setListScrollTop"), Y.prototype), Z(Y.prototype, "setListScrollItemId", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setListScrollItemId"), Y.prototype), Z(Y.prototype, "getListScrollTop", [b], Object.getOwnPropertyDescriptor(Y.prototype, "getListScrollTop"), Y.prototype), Z(Y.prototype, "getListScrollItemId", [b], Object.getOwnPropertyDescriptor(Y.prototype, "getListScrollItemId"), Y.prototype), Z(Y.prototype, "clearListScroll", [b], Object.getOwnPropertyDescriptor(Y.prototype, "clearListScroll"), Y.prototype), Z(Y.prototype, "bannerType", [D], Object.getOwnPropertyDescriptor(Y.prototype, "bannerType"), Y.prototype), Z(Y.prototype, "isBannerVisible", [D], Object.getOwnPropertyDescriptor(Y.prototype, "isBannerVisible"), Y.prototype), Z(Y.prototype, "setCurrentBanner", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setCurrentBanner"), Y.prototype),
|
|
40864
|
+
}), Z(Y.prototype, "setMapSettings", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setMapSettings"), Y.prototype), Z(Y.prototype, "resetMapSettings", [b], Object.getOwnPropertyDescriptor(Y.prototype, "resetMapSettings"), Y.prototype), Z(Y.prototype, "baseQRCodeUrl", [D], Object.getOwnPropertyDescriptor(Y.prototype, "baseQRCodeUrl"), Y.prototype), Z(Y.prototype, "viewMapOnPhoneQRCodeUrl", [D], Object.getOwnPropertyDescriptor(Y.prototype, "viewMapOnPhoneQRCodeUrl"), Y.prototype), Z(Y.prototype, "routeQRCodeUrl", [D], Object.getOwnPropertyDescriptor(Y.prototype, "routeQRCodeUrl"), Y.prototype), Z(Y.prototype, "isFeaturedExhibitorActive", [D], Object.getOwnPropertyDescriptor(Y.prototype, "isFeaturedExhibitorActive"), Y.prototype), Z(Y.prototype, "activeInterfaceData", [D], Object.getOwnPropertyDescriptor(Y.prototype, "activeInterfaceData"), Y.prototype), Z(Y.prototype, "searchBoxConfig", [D], Object.getOwnPropertyDescriptor(Y.prototype, "searchBoxConfig"), Y.prototype), Z(Y.prototype, "searchBoxActions", [D], Object.getOwnPropertyDescriptor(Y.prototype, "searchBoxActions"), Y.prototype), Z(Y.prototype, "overlayInterfaceClasses", [D], Object.getOwnPropertyDescriptor(Y.prototype, "overlayInterfaceClasses"), Y.prototype), Z(Y.prototype, "isOverlayOpen", [D], Object.getOwnPropertyDescriptor(Y.prototype, "isOverlayOpen"), Y.prototype), Z(Y.prototype, "setOverlayScrolled", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setOverlayScrolled"), Y.prototype), Z(Y.prototype, "setListScrollTop", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setListScrollTop"), Y.prototype), Z(Y.prototype, "setListScrollItemId", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setListScrollItemId"), Y.prototype), Z(Y.prototype, "getListScrollTop", [b], Object.getOwnPropertyDescriptor(Y.prototype, "getListScrollTop"), Y.prototype), Z(Y.prototype, "getListScrollItemId", [b], Object.getOwnPropertyDescriptor(Y.prototype, "getListScrollItemId"), Y.prototype), Z(Y.prototype, "clearListScroll", [b], Object.getOwnPropertyDescriptor(Y.prototype, "clearListScroll"), Y.prototype), Z(Y.prototype, "bannerType", [D], Object.getOwnPropertyDescriptor(Y.prototype, "bannerType"), Y.prototype), Z(Y.prototype, "isBannerVisible", [D], Object.getOwnPropertyDescriptor(Y.prototype, "isBannerVisible"), Y.prototype), Z(Y.prototype, "setCurrentBanner", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setCurrentBanner"), Y.prototype), $U = Z(Y.prototype, "forceShowDetails", [g], {
|
|
40902
40865
|
configurable: !0,
|
|
40903
40866
|
enumerable: !0,
|
|
40904
40867
|
writable: !0,
|
|
40905
40868
|
initializer: function() {
|
|
40906
40869
|
return !1;
|
|
40907
40870
|
}
|
|
40908
|
-
}), Z(Y.prototype, "setForceShowDetails", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setForceShowDetails"), Y.prototype), Z(Y.prototype, "showRouteInstantly", [D], Object.getOwnPropertyDescriptor(Y.prototype, "showRouteInstantly"), Y.prototype),
|
|
40871
|
+
}), Z(Y.prototype, "setForceShowDetails", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setForceShowDetails"), Y.prototype), Z(Y.prototype, "showRouteInstantly", [D], Object.getOwnPropertyDescriptor(Y.prototype, "showRouteInstantly"), Y.prototype), eW = Z(Y.prototype, "buildRoute", [g], {
|
|
40909
40872
|
configurable: !0,
|
|
40910
40873
|
enumerable: !0,
|
|
40911
40874
|
writable: !0,
|
|
40912
40875
|
initializer: function() {
|
|
40913
40876
|
return !1;
|
|
40914
40877
|
}
|
|
40915
|
-
}), Z(Y.prototype, "startBuildRoute", [b], Object.getOwnPropertyDescriptor(Y.prototype, "startBuildRoute"), Y.prototype),
|
|
40878
|
+
}), Z(Y.prototype, "startBuildRoute", [b], Object.getOwnPropertyDescriptor(Y.prototype, "startBuildRoute"), Y.prototype), tW = Z(Y.prototype, "globalErrorMessages", [g], {
|
|
40916
40879
|
configurable: !0,
|
|
40917
40880
|
enumerable: !0,
|
|
40918
40881
|
writable: !0,
|
|
40919
40882
|
initializer: function() {
|
|
40920
40883
|
return [];
|
|
40921
40884
|
}
|
|
40922
|
-
}), Z(Y.prototype, "setGlobalErrorMessage", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setGlobalErrorMessage"), Y.prototype), Z(Y.prototype, "popGlobalErrorMessage", [b], Object.getOwnPropertyDescriptor(Y.prototype, "popGlobalErrorMessage"), Y.prototype), Z(Y.prototype, "initializeUIScale", [b], Object.getOwnPropertyDescriptor(Y.prototype, "initializeUIScale"), Y.prototype), Z(Y.prototype, "setUIScale", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setUIScale"), Y.prototype), Z(Y.prototype, "resetUIScale", [b], Object.getOwnPropertyDescriptor(Y.prototype, "resetUIScale"), Y.prototype),
|
|
40885
|
+
}), Z(Y.prototype, "setGlobalErrorMessage", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setGlobalErrorMessage"), Y.prototype), Z(Y.prototype, "popGlobalErrorMessage", [b], Object.getOwnPropertyDescriptor(Y.prototype, "popGlobalErrorMessage"), Y.prototype), Z(Y.prototype, "initializeUIScale", [b], Object.getOwnPropertyDescriptor(Y.prototype, "initializeUIScale"), Y.prototype), Z(Y.prototype, "setUIScale", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setUIScale"), Y.prototype), Z(Y.prototype, "resetUIScale", [b], Object.getOwnPropertyDescriptor(Y.prototype, "resetUIScale"), Y.prototype), nW = Z(Y.prototype, "setKioskModeEnabled", [g], {
|
|
40923
40886
|
configurable: !0,
|
|
40924
40887
|
enumerable: !0,
|
|
40925
40888
|
writable: !0,
|
|
40926
40889
|
initializer: function() {
|
|
40927
40890
|
return !1;
|
|
40928
40891
|
}
|
|
40929
|
-
}), Z(Y.prototype, "enableSetKioskMode", [b], Object.getOwnPropertyDescriptor(Y.prototype, "enableSetKioskMode"), Y.prototype),
|
|
40892
|
+
}), Z(Y.prototype, "enableSetKioskMode", [b], Object.getOwnPropertyDescriptor(Y.prototype, "enableSetKioskMode"), Y.prototype), rW = Z(Y.prototype, "kioskData", [g], {
|
|
40930
40893
|
configurable: !0,
|
|
40931
40894
|
enumerable: !0,
|
|
40932
40895
|
writable: !0,
|
|
40933
40896
|
initializer: null
|
|
40934
40897
|
}), Z(Y.prototype, "setKioskData", [b], Object.getOwnPropertyDescriptor(Y.prototype, "setKioskData"), Y.prototype), Y);
|
|
40935
|
-
function
|
|
40898
|
+
function oW(e, t, n = []) {
|
|
40936
40899
|
let r = [];
|
|
40937
40900
|
return e.forEach((e) => {
|
|
40938
|
-
e instanceof fa ? r.push(...e.booths) : e instanceof Bi ? r.push(e) : e instanceof Fa ? e.boothId && r.push(t.find((t) => t.id === e.boothId)) : e instanceof
|
|
40901
|
+
e instanceof fa ? r.push(...e.booths) : e instanceof Bi ? r.push(e) : e instanceof Fa ? e.boothId && r.push(t.find((t) => t.id === e.boothId)) : e instanceof WV && n.filter((t) => t.speakers.some((t) => t.id === e.id) && t.boothId).forEach((e) => r.push(t.find((t) => t.id === e.boothId)));
|
|
40939
40902
|
}), new Set(r.filter(Boolean));
|
|
40940
40903
|
}
|
|
40941
40904
|
//#endregion
|
|
40942
40905
|
//#region src/store/RootStore.ts
|
|
40943
|
-
var Q,
|
|
40944
|
-
function
|
|
40906
|
+
var Q, sW, cW;
|
|
40907
|
+
function lW(e, t, n, r) {
|
|
40945
40908
|
n && Object.defineProperty(e, t, {
|
|
40946
40909
|
enumerable: n.enumerable,
|
|
40947
40910
|
configurable: n.configurable,
|
|
@@ -40949,7 +40912,7 @@ function uW(e, t, n, r) {
|
|
|
40949
40912
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
40950
40913
|
});
|
|
40951
40914
|
}
|
|
40952
|
-
function
|
|
40915
|
+
function uW(e, t, n, r, i) {
|
|
40953
40916
|
var a = {};
|
|
40954
40917
|
return Object.keys(r).forEach(function(e) {
|
|
40955
40918
|
a[e] = r[e];
|
|
@@ -40957,17 +40920,17 @@ function dW(e, t, n, r, i) {
|
|
|
40957
40920
|
return r(e, t, n) || n;
|
|
40958
40921
|
}, 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;
|
|
40959
40922
|
}
|
|
40960
|
-
var
|
|
40923
|
+
var dW = (Q = class {
|
|
40961
40924
|
setResetCameraFn(e) {
|
|
40962
40925
|
this.resetCameraFn = e;
|
|
40963
40926
|
}
|
|
40964
40927
|
constructor() {
|
|
40965
|
-
this.categoryStore = void 0, this.exhibitorStore = void 0, this.boothStore = void 0, this.uiState = 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.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.rendererService = new kj(), this.fp = void 0,
|
|
40928
|
+
this.categoryStore = void 0, this.exhibitorStore = void 0, this.boothStore = void 0, this.uiState = 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.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.rendererService = new kj(), this.fp = void 0, lW(this, "initialized", sW, this), lW(this, "resetCameraFn", cW, this), this.categoryStore = new Ta(this), this.exhibitorStore = new da(this), this.boothStore = new zi(this), this.routeStore = new pB(this), this.routePlannerStore = new MB(this), this.toursStore = new tH(this), this.uiState = new aW(this), this.maplibreStore = new CI(this), this.layerStore = new gN(), this.intercomStore = new cI(), this.eventStore = new Pa(this), this.heatmapStore = new oo(), this.poiTypeStore = new wI(this), this.fuzzySearchEngineStore = new nI([
|
|
40966
40929
|
"name",
|
|
40967
40930
|
"title",
|
|
40968
40931
|
"fullName",
|
|
40969
40932
|
"booths.name"
|
|
40970
|
-
]), this.categoryFilterStore = new ZF(this), this.sessionsFilterStore = new
|
|
40933
|
+
]), this.categoryFilterStore = new ZF(this), this.sessionsFilterStore = new DV(this), this.speakerStore = new GV(this), this.speakerFilterStore = new LV(this), this.searchStore = new xV(this), this.searchButtonsStore = new pV(this), this.bookmarksStore = new UF(this), this.urlFilterManager = new MP(this), this.shortcutRegistry = new OV(), this.registerShortcutProviders();
|
|
40971
40934
|
}
|
|
40972
40935
|
selectExhibitor(e, t = !0) {
|
|
40973
40936
|
this.uiState.hoveredExhibitor = null, this.uiState.details = e;
|
|
@@ -41121,7 +41084,7 @@ var fW = (Q = class {
|
|
|
41121
41084
|
else if (e instanceof Fa && e.boothId) {
|
|
41122
41085
|
let n = this.boothStore.boothById.get(e.boothId);
|
|
41123
41086
|
n != null && n.visible && t.push(n);
|
|
41124
|
-
} else e instanceof
|
|
41087
|
+
} else e instanceof WV && this.speakerStore.getEventsBySpeaker(e.id).forEach((e) => {
|
|
41125
41088
|
if (!e.boothId) return;
|
|
41126
41089
|
let n = this.boothStore.boothById.get(e.boothId);
|
|
41127
41090
|
n != null && n.visible && t.push(n);
|
|
@@ -41194,33 +41157,33 @@ var fW = (Q = class {
|
|
|
41194
41157
|
registerShortcutProviders() {
|
|
41195
41158
|
this.shortcutRegistry.register(new jI(this)), this.shortcutRegistry.register(new PI(this)), this.shortcutRegistry.register(new OI(this));
|
|
41196
41159
|
}
|
|
41197
|
-
},
|
|
41160
|
+
}, sW = uW(Q.prototype, "initialized", [g], {
|
|
41198
41161
|
configurable: !0,
|
|
41199
41162
|
enumerable: !0,
|
|
41200
41163
|
writable: !0,
|
|
41201
41164
|
initializer: function() {
|
|
41202
41165
|
return !1;
|
|
41203
41166
|
}
|
|
41204
|
-
}),
|
|
41167
|
+
}), cW = uW(Q.prototype, "resetCameraFn", [g], {
|
|
41205
41168
|
configurable: !0,
|
|
41206
41169
|
enumerable: !0,
|
|
41207
41170
|
writable: !0,
|
|
41208
41171
|
initializer: null
|
|
41209
|
-
}),
|
|
41172
|
+
}), uW(Q.prototype, "setResetCameraFn", [b], Object.getOwnPropertyDescriptor(Q.prototype, "setResetCameraFn"), Q.prototype), uW(Q.prototype, "selectExhibitor", [b], Object.getOwnPropertyDescriptor(Q.prototype, "selectExhibitor"), Q.prototype), uW(Q.prototype, "selectBooth", [b], Object.getOwnPropertyDescriptor(Q.prototype, "selectBooth"), Q.prototype), uW(Q.prototype, "reset", [b], Object.getOwnPropertyDescriptor(Q.prototype, "reset"), Q.prototype), uW(Q.prototype, "selectNone", [b], Object.getOwnPropertyDescriptor(Q.prototype, "selectNone"), Q.prototype), uW(Q.prototype, "selectBookmarks", [b], Object.getOwnPropertyDescriptor(Q.prototype, "selectBookmarks"), Q.prototype), uW(Q.prototype, "selectVisited", [b], Object.getOwnPropertyDescriptor(Q.prototype, "selectVisited"), Q.prototype), uW(Q.prototype, "selectLanguage", [b], Object.getOwnPropertyDescriptor(Q.prototype, "selectLanguage"), Q.prototype), uW(Q.prototype, "selectCategory", [b], Object.getOwnPropertyDescriptor(Q.prototype, "selectCategory"), Q.prototype), uW(Q.prototype, "selectEventItem", [b], Object.getOwnPropertyDescriptor(Q.prototype, "selectEventItem"), Q.prototype), uW(Q.prototype, "selectSearch", [b], Object.getOwnPropertyDescriptor(Q.prototype, "selectSearch"), Q.prototype), uW(Q.prototype, "clickBookmarks", [b], Object.getOwnPropertyDescriptor(Q.prototype, "clickBookmarks"), Q.prototype), uW(Q.prototype, "clickVisited", [b], Object.getOwnPropertyDescriptor(Q.prototype, "clickVisited"), Q.prototype), uW(Q.prototype, "clickLanguage", [b], Object.getOwnPropertyDescriptor(Q.prototype, "clickLanguage"), Q.prototype), uW(Q.prototype, "clickCategory", [b], Object.getOwnPropertyDescriptor(Q.prototype, "clickCategory"), Q.prototype), uW(Q.prototype, "clickSeminars", [b], Object.getOwnPropertyDescriptor(Q.prototype, "clickSeminars"), Q.prototype), uW(Q.prototype, "clickBoothInList", [b], Object.getOwnPropertyDescriptor(Q.prototype, "clickBoothInList"), Q.prototype), uW(Q.prototype, "clickBoothInList2", [b], Object.getOwnPropertyDescriptor(Q.prototype, "clickBoothInList2"), Q.prototype), uW(Q.prototype, "clickBooth", [b], Object.getOwnPropertyDescriptor(Q.prototype, "clickBooth"), Q.prototype), uW(Q.prototype, "clickExhibitor2", [b], Object.getOwnPropertyDescriptor(Q.prototype, "clickExhibitor2"), Q.prototype), uW(Q.prototype, "clickExhibitor", [b], Object.getOwnPropertyDescriptor(Q.prototype, "clickExhibitor"), Q.prototype), uW(Q.prototype, "showMap", [b], Object.getOwnPropertyDescriptor(Q.prototype, "showMap"), Q.prototype), uW(Q.prototype, "showOverlay", [b], Object.getOwnPropertyDescriptor(Q.prototype, "showOverlay"), Q.prototype), uW(Q.prototype, "toggleMapOverlay", [b], Object.getOwnPropertyDescriptor(Q.prototype, "toggleMapOverlay"), Q.prototype), uW(Q.prototype, "moveToList", [b], Object.getOwnPropertyDescriptor(Q.prototype, "moveToList"), Q.prototype), uW(Q.prototype, "moveToExhibitor", [b], Object.getOwnPropertyDescriptor(Q.prototype, "moveToExhibitor"), Q.prototype), uW(Q.prototype, "changeActiveListIndex", [b], Object.getOwnPropertyDescriptor(Q.prototype, "changeActiveListIndex"), Q.prototype), uW(Q.prototype, "toggleModal", [b], Object.getOwnPropertyDescriptor(Q.prototype, "toggleModal"), Q.prototype), uW(Q.prototype, "openGallery", [b], Object.getOwnPropertyDescriptor(Q.prototype, "openGallery"), Q.prototype), uW(Q.prototype, "closeGallery", [b], Object.getOwnPropertyDescriptor(Q.prototype, "closeGallery"), Q.prototype), uW(Q.prototype, "openActiveListItem", [b], Object.getOwnPropertyDescriptor(Q.prototype, "openActiveListItem"), Q.prototype), uW(Q.prototype, "toggleCategoryFilter", [b], Object.getOwnPropertyDescriptor(Q.prototype, "toggleCategoryFilter"), Q.prototype), uW(Q.prototype, "applyCategoryFilters", [b], Object.getOwnPropertyDescriptor(Q.prototype, "applyCategoryFilters"), Q.prototype), uW(Q.prototype, "filteredExhibitors", [D], Object.getOwnPropertyDescriptor(Q.prototype, "filteredExhibitors"), Q.prototype), uW(Q.prototype, "selectSessions", [b], Object.getOwnPropertyDescriptor(Q.prototype, "selectSessions"), Q.prototype), uW(Q.prototype, "selectExhibitors", [b], Object.getOwnPropertyDescriptor(Q.prototype, "selectExhibitors"), Q.prototype), uW(Q.prototype, "selectTours", [b], Object.getOwnPropertyDescriptor(Q.prototype, "selectTours"), Q.prototype), uW(Q.prototype, "selectSpeakers", [b], Object.getOwnPropertyDescriptor(Q.prototype, "selectSpeakers"), Q.prototype), uW(Q.prototype, "selectSpeaker", [b], Object.getOwnPropertyDescriptor(Q.prototype, "selectSpeaker"), Q.prototype), uW(Q.prototype, "resetFilters", [b], Object.getOwnPropertyDescriptor(Q.prototype, "resetFilters"), Q.prototype), Q);
|
|
41210
41173
|
//#endregion
|
|
41211
41174
|
//#region src/store/index.ts
|
|
41212
41175
|
if (!window.__storeInitAllowed) throw Error("Store initialization is not allowed before data is loaded");
|
|
41213
41176
|
S({ computedRequiresReaction: !0 });
|
|
41214
|
-
var $ = new
|
|
41177
|
+
var $ = new dW();
|
|
41215
41178
|
FN($);
|
|
41216
|
-
var
|
|
41179
|
+
var fW = $.uiState, pW = $.exhibitorStore, mW = $.boothStore;
|
|
41217
41180
|
$.categoryStore;
|
|
41218
|
-
var
|
|
41181
|
+
var hW = $.layerStore, gW = $.heatmapStore, _W = $.searchStore;
|
|
41219
41182
|
$.toursStore;
|
|
41220
|
-
var
|
|
41183
|
+
var vW = $.intercomStore;
|
|
41221
41184
|
window.__store = $;
|
|
41222
41185
|
//#endregion
|
|
41223
|
-
export { nF as $, ei as $t,
|
|
41186
|
+
export { nF as $, ei as $t, nz as A, dj as At, zF as B, Xa as Bt, bB as C, QA as Ct, Iz as D, rj as Dt, Lz as E, lj as Et, HI as F, JA as Ft, CF as G, ua as Gt, xF as H, Fa as Ht, BI as I, UA as It, wF as J, Vi as Jt, DF as K, Wi as Kt, RI as L, gl as Lt, BL as M, pj as Mt, UI as N, $A as Nt, Pz as O, aj as Ot, WI as P, GA as Pt, rF as Q, vi as Qt, LI as R, so as Rt, vB as S, Dj as St, Rz as T, cj as Tt, SF as U, Ea as Ut, FF as V, to as Vt, MF as W, fa as Wt, hF as X, _i as Xt, kF as Y, Hi as Yt, iF as Z, pi as Zt, WV as _, de as _n, TM as _t, hW as a, Et as an, CP as at, SB as b, zj as bt, fW as c, rt as cn, yP as ct, bH as d, je as dn, NN as dt, Qr as en, QP as et, uH as f, Fe as fn, DN as ft, nH as g, P as gn, HM as gt, oH as h, I as hn, XM as ht, vW as i, zt as in, vP as it, FR as j, fj as jt, Fz as k, oj as kt, vH as l, Je as ln, bP as lt, aH as m, Te as mn, pN as mt, pW as n, Xr as nn, UP as nt, _W as o, yt as on, xP as ot, lH as p, Ee as pn, mN as pt, EF as q, Bi as qt, gW as r, Br as rn, VP as rt, $ as s, st as sn, SP as st, mW as t, Yr as tn, GP as tt, _H as u, We as un, zN as ut, ZB as v, xM as vt, Uz as w, ij as wt, xB as x, Pj as xt, wB as y, Wj as yt, lI as z, no as zt };
|
|
41224
41187
|
|
|
41225
41188
|
;/* vite-per-chunk-css */
|
|
41226
41189
|
__vite_inject_css__(".efp-set-kiosk-mode-anchor{bottom:calc(1.25rem * var(--ui-scale));z-index:9999;pointer-events:none;position:fixed;left:50%;transform:translate(-50%)}.efp-set-kiosk-mode{width:calc(23.75rem * var(--ui-scale));background:var(--color-primary);border-radius:var(--border-radius-xl);box-shadow:var(--shadow-md);pointer-events:auto;line-height:1;display:grid}.efp-set-kiosk-mode__header{padding:calc(.625rem * var(--ui-scale)) calc(1rem * var(--ui-scale));font-size:var(--font-size-xl);font-weight:var(--font-weight-bold);color:var(--color-white);text-align:center;grid-template-columns:auto 1fr auto;place-items:center;display:grid}.efp-set-kiosk-mode__header i{font-size:var(--icon-size-xl)}.efp-set-kiosk-mode__header img{width:var(--icon-size-xl);height:var(--icon-size-xl)}.efp-set-kiosk-mode__close{box-shadow:none;cursor:pointer;background:0 0;border:0;margin:0;padding:0}.efp-confirm-dialog{background:var(--color-white);box-shadow:var(--shadow-md);border-radius:var(--border-radius-xl);padding:calc(1rem * var(--ui-scale)) calc(1.125rem * var(--ui-scale));gap:calc(1rem * var(--ui-scale));display:grid;position:relative}.efp-confirm-dialog__content{font-size:var(--font-size-xl);font-weight:var(--font-weight-normal)}.efp-confirm-dialog__content strong{font-weight:var(--font-weight-medium)}.efp-confirm-dialog__controls{gap:calc(.625rem * var(--ui-scale));grid-template-columns:1fr 1fr;display:grid}.efp-info-message{border-radius:var(--border-radius-xl);padding:calc(1rem * var(--ui-scale)) calc(1.125rem * var(--ui-scale));background:var(--color-white);gap:calc(.5rem * var(--ui-scale));display:grid;position:relative}.efp-info-message__item{gap:calc(.625rem * var(--ui-scale));font-size:var(--font-size-xl);font-weight:var(--font-weight-normal);grid-auto-flow:column;place-content:flex-start;place-items:center;line-height:1;display:grid}.efp-info-message__item strong{font-weight:var(--font-weight-bold)}.efp-info-message__img{width:calc(1.875rem * var(--ui-scale));height:calc(1.875rem * var(--ui-scale))}.efp-set-kiosk-form{border-radius:var(--border-radius-xl);background:var(--color-white);padding:calc(1rem * var(--ui-scale)) calc(1.125rem * var(--ui-scale));display:grid;position:relative}.efp-set-kiosk-form__content{gap:calc(1rem * var(--ui-scale));display:grid}.efp-set-kiosk-form__inputs{gap:calc(.625rem * var(--ui-scale));display:grid}.efp-set-kiosk-form__controls{gap:calc(.625rem * var(--ui-scale));grid-template-columns:1fr 2fr;display:grid}.efp-range-input{gap:calc(.3125rem * var(--ui-scale));width:100%;font-size:var(--font-size-lg);display:grid}.efp-range-input__header{text-align:center;color:var(--color-black);font-size:var(--font-size-lg);font-weight:var(--font-weight-normal);grid-template-columns:auto 1fr auto;place-items:center;display:grid}.efp-range-input__header strong{font-weight:var(--font-weight-medium)}.efp-range-input__control{width:calc(1.25rem * var(--ui-scale));height:calc(1.25rem * var(--ui-scale));box-shadow:none;cursor:pointer;border:0;outline:none;place-content:center;place-items:center;margin:0;padding:0;display:grid}.efp-range-input__control i{font-size:var(--icon-size-xxs)}.efp-range-input__input-block{width:100%;height:calc(1.375rem * var(--ui-scale));place-items:center;display:grid;position:relative}.efp-range-input__input{opacity:0;z-index:2;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.efp-range-input__custom-input{height:calc(.375rem * var(--ui-scale));background:var(--color-gray-400);border-radius:calc(.1875rem * var(--ui-scale));pointer-events:none;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.efp-range-input__progress{background:var(--color-primary);border-radius:inherit;height:100%;position:absolute;top:0}.efp-range-input__progress:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.efp-range-input__progress:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.efp-range-input__progress:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.efp-range-input__progress:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.efp-range-input__thumb{width:calc(1.375rem * var(--ui-scale));height:calc(1.375rem * var(--ui-scale));background:var(--color-white);border:calc(.1875rem * var(--ui-scale)) solid var(--color-primary-dark);pointer-events:none;box-shadow:var(--shadow-sm);border-radius:50%;position:absolute;top:50%}.efp-range-input__thumb:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.efp-range-input__thumb:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.efp-range-input__thumb:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.efp-range-input__thumb:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.efp-status-messages{height:calc(calc(2.75rem * var(--ui-scale)) + var(--border-radius-2xl));border-radius:var(--border-radius-xl);grid-template-rows:1fr;display:grid;position:absolute;top:0;left:0;right:0;overflow:hidden}.efp-status-messages__message{gap:calc(.375rem * var(--ui-scale));color:var(--color-white);font-size:var(--font-size-xl);font-weight:var(--font-weight-bold);padding-bottom:var(--border-radius-2xl);grid-auto-flow:column;place-content:center;place-items:center;display:grid}.efp-status-messages__message i{font-size:var(--icon-size-md)}.efp-status-messages__message--success{background:var(--color-green)}.efp-status-messages__message--error{background:var(--color-red)}\n/*$vite$:1*/", "store.css", false);
|