@expofp/floorplan 3.10.2 → 3.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/dist/browser/{Button-Bj5GinNb.js → Button-w3em_lzh.js} +5 -5
  2. package/dist/browser/{CookieConsent-vekYv-WL.js → CookieConsent-DGuzCkb_.js} +7 -7
  3. package/dist/browser/{Debug-B8Z6UAk7.js → Debug-C0bAbDfy.js} +7 -7
  4. package/dist/browser/{Demo-DxKBQPXs.js → Demo-Bjaxry3H.js} +9 -9
  5. package/dist/browser/{Free-xJ581Tn5.js → Free-DYRe3qzH.js} +9 -9
  6. package/dist/browser/{Gallery-BCLvsYMq.js → Gallery-Mh_fak51.js} +9 -9
  7. package/dist/browser/{GpsLoader-D8b4YGWa.js → GpsLoader-BUFe8XAp.js} +9 -9
  8. package/dist/browser/{KioskStore-iac7BFkc.js → KioskStore-CG4obHqM.js} +3 -3
  9. package/dist/browser/{MaplibreAdapter-hBzzKWxy.js → MaplibreAdapter-_7g233g0.js} +12 -12
  10. package/dist/browser/{ModalContainer-CNFkEgVO.js → ModalContainer-q8ktZG4M.js} +10 -10
  11. package/dist/browser/{PermissionNotice-BjNUzq-I.js → PermissionNotice-CZPYZBEq.js} +6 -6
  12. package/dist/browser/{SetKioskMode-rZPgTzX2.js → SetKioskMode-Bstomyjg.js} +8 -8
  13. package/dist/browser/{ShowKiosk-C0-HDdLS.js → ShowKiosk-CSSaeauJ.js} +10 -10
  14. package/dist/browser/{TouchHand-BpAIvJuD.js → TouchHand-DKlAqQxo.js} +4 -4
  15. package/dist/browser/{ViewerMenuPanel-B8HWceZY.js → ViewerMenuPanel-CDZU9m-C.js} +9 -9
  16. package/dist/browser/{add-debug-secret-listener-DrG0zrQz.js → add-debug-secret-listener-CpUZyE-i.js} +1 -1
  17. package/dist/browser/{boolean-editor-CksHtQqy.js → boolean-editor-BXtJr0-a.js} +9 -9
  18. package/dist/browser/{bootIntercom-DIY2vGKD.js → bootIntercom-BdpTIgRq.js} +2 -2
  19. package/dist/browser/{booth-by-xy-CB4TcAKe.js → booth-by-xy-Cvr_M6ay.js} +121 -108
  20. package/dist/browser/{browser-BJI7T84p.js → browser-D0zb6N8t.js} +2 -2
  21. package/dist/browser/bundle.json +61 -61
  22. package/dist/browser/{classnames-DY5QZHM2.js → classnames-njarKVkv.js} +2 -2
  23. package/dist/browser/{client-BKj8O-3N.js → client-DO32NX2U.js} +4 -4
  24. package/dist/browser/{components-C9T4gWSC.js → components-Ag3tOxoq.js} +38 -38
  25. package/dist/browser/{debug-overlay-oxl07sGQ.js → debug-overlay-BDntWcO3.js} +10 -10
  26. package/dist/browser/{debug-ui-vcgITEra.js → debug-ui-eQiNXjgN.js} +6 -6
  27. package/dist/browser/{dist-DQ-MzacE.js → dist-B-HOjLa3.js} +3 -3
  28. package/dist/browser/{dist-B6a_6LWa.js → dist-BPabiv1-.js} +6 -6
  29. package/dist/browser/{dist-BD71uIJa.js → dist-CICgVS_K.js} +5 -5
  30. package/dist/browser/{efp-debug-init-DeppnUIb.js → efp-debug-init-DJV2mEAv.js} +2 -2
  31. package/dist/browser/{enum-editor-CeBF-egH.js → enum-editor-CR96q1IA.js} +11 -11
  32. package/dist/browser/{es5-DyEOE9h8.js → es5-DKJycZ_9.js} +2 -2
  33. package/dist/browser/{event-not-found--rNrnsfb.js → event-not-found-qCBr__j7.js} +1 -1
  34. package/dist/browser/{exports-CQRMT27z.js → exports-DEfrHp-m.js} +1 -1
  35. package/dist/browser/{favicon-Y_DfJIgc.js → favicon-Ds8_0IKZ.js} +1 -1
  36. package/dist/browser/{fetch-retry.umd-mDEk7YNi.js → fetch-retry.umd-DA_h-YbX.js} +2 -2
  37. package/dist/browser/{flex-gMXInosq.js → flex-De82Cl1E.js} +5 -5
  38. package/dist/browser/{floorplan.loader-CKHHfoqW.js → floorplan.loader-B5OmVKte.js} +11 -11
  39. package/dist/browser/{floorplan.ready-Dk5rTB4-.js → floorplan.ready-DR3pBgxB.js} +12 -12
  40. package/dist/browser/{fuse-C0XgkQam.js → fuse-dk3wBn-g.js} +2 -2
  41. package/dist/browser/{i18n-DDp2WKLS.js → i18n-CmTA9oOx.js} +4 -4
  42. package/dist/browser/index.js +12 -12
  43. package/dist/browser/{index.module-DJ1o-lSs.js → index.module-QD1fDWFR.js} +4 -4
  44. package/dist/browser/{is-webview-DSeLj16c.js → is-webview-CoF8JIKV.js} +1 -1
  45. package/dist/browser/{jsx-runtime-4SB5tKoZ.js → jsx-runtime-BerzwYzE.js} +2 -2
  46. package/dist/browser/{lib-CNsibyKE.js → lib-Q551A5uv.js} +4 -4
  47. package/dist/browser/{loadImage-m5qxmKm8.js → loadImage-DMj35sJO.js} +4 -4
  48. package/dist/browser/{logDeviceInfo-DJbQFFfl.js → logDeviceInfo-DRvCCtTx.js} +9 -9
  49. package/dist/browser/{main-Ci70zd7U.js → main-BizUl9-0.js} +1 -1
  50. package/dist/browser/{mobx-85FEI3nE.js → mobx-TeCP8VzM.js} +4 -4
  51. package/dist/browser/{particles.min-Cjclve40.js → particles.min-DG9oSZrY.js} +2 -2
  52. package/dist/browser/{prop-types-O5uO9swn.js → prop-types-vg_ebZbt.js} +2 -2
  53. package/dist/browser/{react-938H1sny.js → react-Du8DS_tM.js} +2 -2
  54. package/dist/browser/{react-dom-BB5-5CwA.js → react-dom-B7g3b-V3.js} +3 -3
  55. package/dist/browser/{reset-all-settings-C3UGYA7h.js → reset-all-settings-Cd_BUK-W.js} +7 -7
  56. package/dist/browser/{rolldown-runtime-D_bOcK0P.js → rolldown-runtime-DvCIlsWE.js} +1 -1
  57. package/dist/browser/{settings-CuvIoKLw.js → settings-DInlzLHA.js} +2 -2
  58. package/dist/browser/{settings-item-jhTAtSrk.js → settings-item-Nqsx-eMu.js} +6 -6
  59. package/dist/browser/{store-g-LcmXc-.js → store-Bp8hCuMJ.js} +12 -12
  60. package/dist/browser/{string-editor-CjVQpF6U.js → string-editor-BwD_WLY1.js} +7 -7
  61. package/dist/browser/{theme-DxKuEQUA.js → theme-D0j6GDvn.js} +8 -8
  62. package/dist/browser/{ui-BMAImlSF.js → ui-Ci4hN3Oq.js} +8 -8
  63. package/dist/browser/{useRenderTarget-DL0u3FKy.js → useRenderTarget-w66c2Pzm.js} +4 -4
  64. package/dist/esm/components/Map/booth-by-xy.d.ts +2 -2
  65. package/dist/esm/components/Map/booth-by-xy.js +1 -1
  66. package/dist/esm/components/Map/drawing/config/config-booth-badge-eligibility.d.ts +28 -0
  67. package/dist/esm/components/Map/drawing/config/config-booth-badge-eligibility.js +1 -0
  68. package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
  69. package/dist/esm/components/Maplibre/useRendererEvents.js +1 -1
  70. package/dist/esm/data/Flags.d.ts +4 -0
  71. package/dist/esm/store/RootStore.d.ts +1 -1
  72. package/package.json +4 -4
@@ -1,56 +1,62 @@
1
1
  (function() {
2
2
  try {
3
3
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.10.2" };
4
+ e.SENTRY_RELEASE = { id: "3.11.1" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "6803258c-7ac6-4457-9622-9421595b6b39", e._sentryDebugIdIdentifier = "sentry-dbid-6803258c-7ac6-4457-9622-9421595b6b39");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "199da5e5-2ecb-4940-83cc-79a63435badf", e._sentryDebugIdIdentifier = "sentry-dbid-199da5e5-2ecb-4940-83cc-79a63435badf");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-D_bOcK0P.js";
10
- import { t } from "./react-938H1sny.js";
11
- import { t as n } from "./loadImage-m5qxmKm8.js";
12
- import { M as r, lt as i, v as a } from "./i18n-DDp2WKLS.js";
13
- import { $t as o, At as s, Ct as c, Dt as l, Et as u, F as d, I as f, It as p, Kt as m, L as h, Lt as g, Nt as _, R as v, Tt as y, Ut as b, Xt as x, Yt as S, Zt as C, an as w, bt as T, dt as E, en as D, g as O, i as k, in as ee, jt as A, kt as j, lt as M, mt as te, nn as N, o as P, pt as ne, rn as re, s as ie, sn as ae, t as F, tn as oe, wt as se, xt as I, z as ce } from "./store-g-LcmXc-.js";
9
+ import { r as e } from "./rolldown-runtime-DvCIlsWE.js";
10
+ import { t } from "./react-Du8DS_tM.js";
11
+ import { t as n } from "./loadImage-DMj35sJO.js";
12
+ import { M as r, lt as i, v as a } from "./i18n-CmTA9oOx.js";
13
+ import { $t as o, At as s, Ct as c, Dt as l, Et as u, F as d, I as f, It as p, Kt as m, L as h, Lt as g, Nt as _, R as v, Tt as y, Ut as b, Xt as x, Yt as S, Zt as C, an as w, bt as T, dt as E, en as D, g as O, i as k, in as ee, jt as A, kt as j, lt as M, mt as te, nn as N, o as P, pt as ne, rn as re, s as ie, sn as ae, t as F, tn as oe, wt as se, xt as I, z as ce } from "./store-Bp8hCuMJ.js";
14
14
  //#region src/components/Map/traffic/trafficLayers.ts
15
- var le = "traffic_route", ue = "traffic_route_stop", de = "traffic_vehicles", fe = "build_route_lines", pe = "build_route_dots", me = 5;
16
- function he() {
15
+ var le = "traffic_route", ue = "traffic_route_stop", L = "traffic_vehicles", de = "build_route_lines", fe = "build_route_dots", pe = 5;
16
+ function me() {
17
17
  let e = [];
18
- for (let t = 0; t < me; t++) e.push({
19
- name: ge(t),
18
+ for (let t = 0; t < pe; t++) e.push({
19
+ name: he(t),
20
20
  children: []
21
21
  }), e.push({
22
- name: _e(t),
22
+ name: ge(t),
23
23
  children: [],
24
24
  interactive: !0
25
25
  });
26
26
  return e.push({
27
- name: de,
27
+ name: L,
28
28
  children: [],
29
29
  interactive: !0
30
30
  }), e.push({
31
- name: fe,
31
+ name: de,
32
32
  children: []
33
33
  }), e.push({
34
- name: pe,
34
+ name: fe,
35
35
  children: [],
36
36
  interactive: !0
37
37
  }), e;
38
38
  }
39
- function ge(e) {
39
+ function he(e) {
40
40
  return `${le}_${e + 1}`;
41
41
  }
42
- function _e(e) {
42
+ function ge(e) {
43
43
  return `${ue}_${e + 1}`;
44
44
  }
45
- function ve() {
45
+ function _e() {
46
46
  return RegExp(`^${le}_\\d+$`);
47
47
  }
48
- function ye() {
48
+ function ve() {
49
49
  return RegExp(`^${ue}_\\d+$`);
50
50
  }
51
51
  //#endregion
52
+ //#region src/components/Map/drawing/config/config-booth-badge-eligibility.ts
53
+ var ye = /* @__PURE__ */ e(x(), 1);
54
+ function be(e) {
55
+ return e.hideExhibitorBoothNumber || e.hideBoothBadges || !e.hasExhibitors ? !1 : e.noLabels || !e.hideLogoInBooth && e.hasLogoInBooth;
56
+ }
57
+ //#endregion
52
58
  //#region src/components/Map/drawing/config/config-booth-badge.ts
53
- var be = /* @__PURE__ */ e(x(), 1), xe = .5, Se = .3, Ce = 15, we = 24, Te = 30, Ee = 12, De = .8, Oe = document.createElement("canvas").getContext("2d");
59
+ var xe = .5, Se = .3, Ce = 15, we = 24, Te = 30, Ee = 12, De = .8, Oe = document.createElement("canvas").getContext("2d");
54
60
  function ke(e) {
55
61
  return e.length <= Ce ? e : e.slice(0, Ce - 1) + "…";
56
62
  }
@@ -89,18 +95,18 @@ function Me(e) {
89
95
  }
90
96
  return new N(t, n);
91
97
  }
92
- function L(e, t, n) {
98
+ function R(e, t, n) {
93
99
  return n.containsPoint({
94
100
  x: e,
95
101
  y: t
96
102
  });
97
103
  }
98
104
  function Ne(e, t, n, r, i, a, o) {
99
- if (!e.length || !L(n, r, t)) return o;
105
+ if (!e.length || !R(n, r, t)) return o;
100
106
  let s = 0, c = o;
101
107
  for (let e = 0; e < 10; e++) {
102
108
  let e = (s + c) / 2, o = i * e, l = a * e;
103
- L(n + o, r, t) && L(n, r + l, t) && L(n + o, r + l, t) ? s = e : c = e;
109
+ R(n + o, r, t) && R(n, r + l, t) && R(n + o, r + l, t) ? s = e : c = e;
104
110
  }
105
111
  return s;
106
112
  }
@@ -117,7 +123,7 @@ function Fe(e, t, n, r, i) {
117
123
  if (e.has(s)) continue;
118
124
  e.add(s);
119
125
  let c = t[0] + r, l = t[1] + r;
120
- if (L(c, l, n)) {
126
+ if (R(c, l, n)) {
121
127
  let e = c - a.min.x + (l - a.min.y);
122
128
  e < o && (o = e, i = {
123
129
  x: c,
@@ -136,17 +142,17 @@ function Fe(e, t, n, r, i) {
136
142
  y: s
137
143
  };
138
144
  }
139
- function R(e) {
145
+ function z(e) {
140
146
  return e && e !== "none" ? e : void 0;
141
147
  }
142
148
  function Ie(e) {
143
149
  var t;
144
- let n = R(e.borderColor) || R(ae.boothBorderColor) || ae.colors.booths.default;
145
- return ((t = e.paths) == null ? void 0 : t.length) > 1 && R(e.paths[e.paths.length - 1].color) || n;
150
+ let n = z(e.borderColor) || z(ae.boothBorderColor) || ae.colors.booths.default;
151
+ return ((t = e.paths) == null ? void 0 : t.length) > 1 && z(e.paths[e.paths.length - 1].color) || n;
146
152
  }
147
153
  function Le(e, t) {
148
154
  var n;
149
- let r = ke(t.title || t.name), i = Ie(t), o = O((0, be.default)(i).hex()), s = window.devicePixelRatio || 1, l = ne();
155
+ let r = ke(t.title || t.name), i = Ie(t), o = O((0, ye.default)(i).hex()), s = window.devicePixelRatio || 1, l = ne();
150
156
  Oe.font = g(Te, l);
151
157
  let u = Oe.measureText(r).width, d = Math.ceil(u + Ee * 2), f = (t.borderWidth || F.borderWidth) / 2, p = d * De, m = 54 * De, h = (n = t.rotate) == null ? 0 : n, _ = t.rect.size.width, v = t.rect.size.height, b = Math.min(_ > 0 ? _ * xe / p : Infinity, v > 0 ? v * Se / m : Infinity), x = Ae(t), S = Me(x), { x: C, y: w } = Fe(t, x, S, f, h), T = Ne(x, S, C, w, p, m, b), E = (e, t) => {
152
158
  let n = e / 2, r = t / 2;
@@ -187,11 +193,20 @@ function Le(e, t) {
187
193
  };
188
194
  }
189
195
  function Re(e, t, n) {
190
- if (S.hideExhibitorBoothNumber) return null;
191
196
  let r = [], i = [];
192
- for (let t of n) if (t instanceof b && t.noLabels && !ie.hideLogoInBooth && t.exhibitors.some((e) => e.logoInBooth && e.logo)) {
193
- let { bg: n, text: a } = Le(e, t);
194
- r.push(n), i.push(a);
197
+ for (let t of n) {
198
+ var a;
199
+ if (t instanceof b && be({
200
+ hideExhibitorBoothNumber: S.hideExhibitorBoothNumber,
201
+ hideBoothBadges: (a = S.flags) == null ? void 0 : a.hideBoothBadges,
202
+ hideLogoInBooth: ie.hideLogoInBooth,
203
+ noLabels: t.noLabels,
204
+ hasExhibitors: t.exhibitors.length > 0,
205
+ hasLogoInBooth: t.exhibitors.some((e) => e.logoInBooth && e.logo)
206
+ })) {
207
+ let { bg: n, text: a } = Le(e, t);
208
+ r.push(n), i.push(a);
209
+ }
195
210
  }
196
211
  return r.length ? {
197
212
  name: `${t}:badges`,
@@ -362,7 +377,7 @@ function We(e) {
362
377
  ...c,
363
378
  ...u ? [u] : [],
364
379
  ...l,
365
- ...he(),
380
+ ...me(),
366
381
  i,
367
382
  a,
368
383
  r,
@@ -374,7 +389,7 @@ function We(e) {
374
389
  }
375
390
  //#endregion
376
391
  //#region src/components/Map/traffic/UpdateQueue.ts
377
- var z = /* @__PURE__ */ e(t(), 1), Ge = class {
392
+ var B = /* @__PURE__ */ e(t(), 1), Ge = class {
378
393
  constructor() {
379
394
  this.queue = [], this.isProcessing = !1, this.rafId = null, this.CHUNK_SIZE = 100, this.TIME_BUDGET = 4;
380
395
  }
@@ -416,7 +431,7 @@ var z = /* @__PURE__ */ e(t(), 1), Ge = class {
416
431
  destroy() {
417
432
  this.rafId !== null && (cancelAnimationFrame(this.rafId), this.rafId = null), this.queue = [], this.isProcessing = !1;
418
433
  }
419
- }, B = 49, Ke = `hsl(257, 76%, ${B}%)`, qe = `hsl(339.903, 82%, ${B}%)`, Je = `hsl(257, 76%, ${Math.round(B * 1.82)}%)`, V = 4, Ye = V, Xe = "U", Ze = "R", Qe = "S", $e = "P", et = class {
434
+ }, V = 49, Ke = `hsl(257, 76%, ${V}%)`, qe = `hsl(339.903, 82%, ${V}%)`, Je = `hsl(257, 76%, ${Math.round(V * 1.82)}%)`, H = 4, Ye = H, Xe = "U", Ze = "R", Qe = "S", $e = "P", et = class {
420
435
  constructor() {
421
436
  this._state = [[]], this.index = 0, this.pointHashSet = /* @__PURE__ */ new Set(), this.locked = !1, this.storageKey = "expofp_build_route_state", this._selected = 0;
422
437
  }
@@ -559,14 +574,14 @@ Enable/Disable Preview: Press ${$e}.
559
574
  }
560
575
  };
561
576
  function tt({ enabled: e, rendererService: t }) {
562
- let n = (0, z.useRef)(!1), r = (0, z.useRef)(), i = (0, z.useMemo)(() => s(V, Ke), []), a = (0, z.useMemo)(() => s(V, qe), []), o = (0, z.useMemo)(() => new et(), []), c = (0, z.useRef)(new Ge()), d = (0, z.useMemo)(() => {
577
+ let n = (0, B.useRef)(!1), r = (0, B.useRef)(), i = (0, B.useMemo)(() => s(H, Ke), []), a = (0, B.useMemo)(() => s(H, qe), []), o = (0, B.useMemo)(() => new et(), []), c = (0, B.useRef)(new Ge()), d = (0, B.useMemo)(() => {
563
578
  if (!t.scene) return {};
564
579
  let e = t.scene.rootLayer.children;
565
580
  return {
566
- linesLayer: e.find((e) => e.name === fe),
567
- pointsLayer: e.find((e) => e.name === pe)
581
+ linesLayer: e.find((e) => e.name === de),
582
+ pointsLayer: e.find((e) => e.name === fe)
568
583
  };
569
- }, [t.scene]), f = (0, z.useCallback)(() => {
584
+ }, [t.scene]), f = (0, B.useCallback)(() => {
570
585
  if (!(t != null && t.renderer) || !d || !i || !a) return;
571
586
  let { linesLayer: e, pointsLayer: s } = d;
572
587
  if (!e || !s) return;
@@ -594,7 +609,7 @@ function tt({ enabled: e, rendererService: t }) {
594
609
  d,
595
610
  i,
596
611
  a
597
- ]), p = (0, z.useCallback)((e) => {
612
+ ]), p = (0, B.useCallback)((e) => {
598
613
  let t = e.key.toUpperCase();
599
614
  o.execute(() => {
600
615
  switch (t) {
@@ -612,7 +627,7 @@ function tt({ enabled: e, rendererService: t }) {
612
627
  break;
613
628
  }
614
629
  });
615
- }, [o, f]), m = (0, z.useCallback)(({ ptScale: e, sceneId: n }) => {
630
+ }, [o, f]), m = (0, B.useCallback)(({ ptScale: e, sceneId: n }) => {
616
631
  if (!u(n) || !(t != null && t.renderer) || !d) return;
617
632
  let { pointsLayer: i } = d;
618
633
  i && (r.current = e, o.execute(() => {
@@ -624,7 +639,7 @@ function tt({ enabled: e, rendererService: t }) {
624
639
  t,
625
640
  d,
626
641
  o
627
- ]), h = (0, z.useCallback)(({ data: e }) => {
642
+ ]), h = (0, B.useCallback)(({ data: e }) => {
628
643
  o.execute(() => {
629
644
  let { point: t } = l(e);
630
645
  o.add({
@@ -633,7 +648,7 @@ function tt({ enabled: e, rendererService: t }) {
633
648
  }), o.select(o.points.length - 1), f();
634
649
  });
635
650
  }, [o, f]);
636
- (0, z.useEffect)(() => {
651
+ (0, B.useEffect)(() => {
637
652
  let n = t.renderer;
638
653
  if (!(!e || !n)) return r.current = t.scale, o.execute(() => {
639
654
  o.restore(), f();
@@ -652,10 +667,10 @@ function tt({ enabled: e, rendererService: t }) {
652
667
  }
653
668
  //#endregion
654
669
  //#region src/components/Map/traffic/useManageTraffic.ts
655
- var H = 2, nt = H * 3.5, U = H * 12, rt = U * .7, it = 8, at = "transport_locations", ot = 150, W = "#a4aab6", st = 1e3, ct = 2e4, lt = 500;
670
+ var U = 2, nt = U * 3.5, W = U * 12, rt = W * .7, it = 8, at = "transport_locations", ot = 150, G = "#a4aab6", st = 1e3, ct = 2e4, lt = 500;
656
671
  function ut({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a }) {
657
- let o = (0, z.useRef)(window.devicePixelRatio), s = (0, z.useRef)(/* @__PURE__ */ new Map()), c = (0, z.useRef)(/* @__PURE__ */ new Map()), l = (0, z.useRef)(), d = (0, z.useRef)(), f = (0, z.useRef)(performance.now()), m = (0, z.useRef)(1), h = (0, z.useRef)(new Ge()), g = (0, z.useRef)(/* @__PURE__ */ new Map()), _ = (0, z.useRef)(), v = (0, z.useRef)(st), y = (0, z.useRef)(/* @__PURE__ */ new Map()), b = (0, z.useRef)();
658
- (0, z.useEffect)(() => {
672
+ let o = (0, B.useRef)(window.devicePixelRatio), s = (0, B.useRef)(/* @__PURE__ */ new Map()), c = (0, B.useRef)(/* @__PURE__ */ new Map()), l = (0, B.useRef)(), d = (0, B.useRef)(), f = (0, B.useRef)(performance.now()), m = (0, B.useRef)(1), h = (0, B.useRef)(new Ge()), g = (0, B.useRef)(/* @__PURE__ */ new Map()), _ = (0, B.useRef)(), v = (0, B.useRef)(st), y = (0, B.useRef)(/* @__PURE__ */ new Map()), b = (0, B.useRef)();
673
+ (0, B.useEffect)(() => {
659
674
  let x;
660
675
  async function S() {
661
676
  if (!(!e || !t.scene)) try {
@@ -680,19 +695,19 @@ function ut({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a
680
695
  scale: window.devicePixelRatio
681
696
  }));
682
697
  });
683
- let b = ve(), S = l.filter((e) => b.test(e.name)), w = ye(), E = l.filter((e) => w.test(e.name));
698
+ let b = _e(), S = l.filter((e) => b.test(e.name)), w = ve(), E = l.filter((e) => w.test(e.name));
684
699
  e.routes.slice(0, S.length).forEach(({ id: e, color: n, path: r, stops: i, hiddenPoints: a }, s) => {
685
700
  g.current.set(e, r);
686
701
  let c = S[s];
687
702
  if (c) {
688
703
  var l;
689
- let e = new Map((l = a == null ? void 0 : a.map((e) => [J(e), e])) == null ? [] : l);
704
+ let e = new Map((l = a == null ? void 0 : a.map((e) => [Y(e), e])) == null ? [] : l);
690
705
  for (let t = 1; t < r.length; t++) {
691
706
  let i = r[t - 1], a = r[t];
692
- e.has(J(i)) || e.has(J(a)) || c.children.push({
707
+ e.has(Y(i)) || e.has(Y(a)) || c.children.push({
693
708
  points: [i, a],
694
709
  color: n,
695
- width: H
710
+ width: U
696
711
  });
697
712
  }
698
713
  c.children.length && h.current.add(() => t.update(c));
@@ -708,7 +723,7 @@ function ut({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a
708
723
  }), u.children.length && h.current.add(() => t.update(u));
709
724
  }
710
725
  });
711
- let D = l.find((e) => e.name === de), O = /* @__PURE__ */ new Map();
726
+ let D = l.find((e) => e.name === L), O = /* @__PURE__ */ new Map();
712
727
  _.current = (e) => {
713
728
  try {
714
729
  let { ptScale: n, sceneId: r } = ft(e);
@@ -731,16 +746,16 @@ function ut({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a
731
746
  }), a.forEach((e, t) => {
732
747
  O.set(t, ht({
733
748
  id: t,
734
- width: U,
735
- height: U,
749
+ width: W,
750
+ height: W,
736
751
  color: e,
737
752
  scale: window.devicePixelRatio
738
753
  }));
739
- }), O.set(W, ht({
754
+ }), O.set(G, ht({
740
755
  id: "orphan",
741
- width: U,
742
- height: U,
743
- color: W,
756
+ width: W,
757
+ height: W,
758
+ color: G,
744
759
  scale: window.devicePixelRatio
745
760
  }));
746
761
  let k = null;
@@ -762,21 +777,21 @@ function ut({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a
762
777
  var c;
763
778
  (c = l.get(e)) == null || c(), l.delete(e);
764
779
  }
765
- if (s && u.has(e) && u.has(K(e))) {
780
+ if (s && u.has(e) && u.has(q(e))) {
766
781
  let n = u.get(e);
767
782
  n.hidden = !0;
768
- let r = u.get(K(e));
783
+ let r = u.get(q(e));
769
784
  r.hidden = !0, p.add(() => t.update(n, r));
770
785
  return;
771
786
  }
772
787
  if (y.current.set(e, performance.now()), !u.has(e)) {
773
- let t = O.get(i) || O.get(W), a = {
788
+ let t = O.get(i) || O.get(G), a = {
774
789
  id: e,
775
790
  source: t,
776
791
  bounds: j(A(n, r, t.width, t.height, o.current, 0))
777
792
  };
778
793
  if (u.set(e, a), k) {
779
- let t = K(e), i = {
794
+ let t = q(e), i = {
780
795
  id: t,
781
796
  source: k,
782
797
  bounds: j(A(n, r, k.width, k.height, o.current, 0))
@@ -786,11 +801,11 @@ function ut({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a
786
801
  _ = !0;
787
802
  return;
788
803
  }
789
- let f = u.get(e), m = u.get(K(e)), h = f.bounds.center, v = yt(h, {
804
+ let f = u.get(e), m = u.get(q(e)), h = f.bounds.center, v = yt(h, {
790
805
  x: n,
791
806
  y: r
792
807
  }, g.current.get(i));
793
- if (v.reduce((e, t, n) => n === 0 ? e : e + G(v[n - 1], t), 0) >= ot || document.hidden) gt({
808
+ if (v.reduce((e, t, n) => n === 0 ? e : e + K(v[n - 1], t), 0) >= ot || document.hidden) gt({
794
809
  rendererService: t,
795
810
  updateQueue: p,
796
811
  vehicle: f,
@@ -847,7 +862,7 @@ function ut({ permission: e, rendererService: t, dataJsonUrl: i, websocketUrl: a
847
862
  if (n - t < e) return;
848
863
  let o = s.current.get(a);
849
864
  o && (o.hidden = !0, i.push(o), r.push(a));
850
- let c = K(a), l = s.current.get(c);
865
+ let c = q(a), l = s.current.get(c);
851
866
  l && (l.hidden = !0, i.push(l), r.push(c));
852
867
  }), i.length && h.current.add(() => t.update(...i)), r.forEach((e) => y.current.delete(e));
853
868
  }, e);
@@ -885,16 +900,16 @@ function ht({ id: e, width: t, height: n, color: r, scale: i }) {
885
900
  let v = g, y = _ - u / 2 + o, b = y + l;
886
901
  return h.shadowColor = "rgba(16, 24, 40, 0.2)", h.shadowBlur = d / 2, h.beginPath(), h.arc(v, y, o, Math.PI, 0, !1), h.bezierCurveTo(v + o, y + s * .3, v + c * o, b, v, b), h.bezierCurveTo(v - c * o, b, v - o, y + s * .3, v - o, y), h.closePath(), h.fillStyle = r, h.fill(), h.strokeStyle = "#FFFFFF", h.lineWidth = a, h.stroke(), h.restore(), m;
887
902
  }
888
- function G(e, t) {
903
+ function K(e, t) {
889
904
  return re(e, t);
890
905
  }
891
- function K(e) {
906
+ function q(e) {
892
907
  return `${e}_finery`;
893
908
  }
894
909
  function gt({ rendererService: e, updateQueue: t, vehicle: n, vehicleFinery: r, x: i, y: a, scale: o, angle: s }) {
895
910
  n.bounds = j(A(i, a, n.source.width, n.source.height, o, s)), n.hidden = !1, r ? (r.bounds = j(A(i, a, r.source.width, r.source.height, o, w(e.angle))), r.hidden = !1, t.add(() => e.update(r, n))) : t.add(() => e.update(n));
896
911
  }
897
- function q(e, t, n) {
912
+ function J(e, t, n) {
898
913
  return {
899
914
  x: e.x + (t.x - e.x) * n,
900
915
  y: e.y + (t.y - e.y) * n
@@ -906,7 +921,7 @@ function _t(e, t) {
906
921
  t: 0
907
922
  };
908
923
  for (let i = 0; i < t.length - 1; i++) {
909
- let a = t[i], o = t[i + 1], s = o.x - a.x, c = o.y - a.y, l = s * s + c * c, u = l ? ((e.x - a.x) * s + (e.y - a.y) * c) / l : 0, d = Math.max(0, Math.min(1, u)), f = G(e, q(a, o, d));
924
+ let a = t[i], o = t[i + 1], s = o.x - a.x, c = o.y - a.y, l = s * s + c * c, u = l ? ((e.x - a.x) * s + (e.y - a.y) * c) / l : 0, d = Math.max(0, Math.min(1, u)), f = K(e, J(a, o, d));
910
925
  f < n && (n = f, r = {
911
926
  index: i,
912
927
  t: d
@@ -915,9 +930,9 @@ function _t(e, t) {
915
930
  return r;
916
931
  }
917
932
  function vt(e, t, n) {
918
- let r = G(e, t), i = Math.max(2, Math.ceil(r / n) + 1), a = [];
933
+ let r = K(e, t), i = Math.max(2, Math.ceil(r / n) + 1), a = [];
919
934
  for (let n = 0; n < i; n++) {
920
- let r = q(e, t, n / (i - 1));
935
+ let r = J(e, t, n / (i - 1));
921
936
  a.push(r);
922
937
  }
923
938
  return a;
@@ -925,9 +940,9 @@ function vt(e, t, n) {
925
940
  function yt(e, t, n) {
926
941
  if (!n || !n.length) return vt(e, t, 10);
927
942
  let r = _t(e, n), i = _t(t, n), a = [], o = (e) => a.push(e);
928
- r.index + 1 < n.length ? o(q(n[r.index], n[r.index + 1], r.t)) : o(n[r.index]);
943
+ r.index + 1 < n.length ? o(J(n[r.index], n[r.index + 1], r.t)) : o(n[r.index]);
929
944
  for (let e = r.index + 1; e <= i.index && e < n.length; e++) o(n[e]);
930
- return i.index + 1 < n.length ? o(q(n[i.index], n[i.index + 1], i.t)) : o(n[i.index]), a;
945
+ return i.index + 1 < n.length ? o(J(n[i.index], n[i.index + 1], i.t)) : o(n[i.index]), a;
931
946
  }
932
947
  function bt(e, t, n, r) {
933
948
  if (e.length < 2) return () => {};
@@ -952,7 +967,7 @@ function bt(e, t, n, r) {
952
967
  a && cancelAnimationFrame(a);
953
968
  };
954
969
  }
955
- function J(e) {
970
+ function Y(e) {
956
971
  return `${e.x},${e.y}`;
957
972
  }
958
973
  //#endregion
@@ -1007,61 +1022,59 @@ function Et(e) {
1007
1022
  }
1008
1023
  //#endregion
1009
1024
  //#region src/components/Map/booth-by-xy.ts
1010
- function Dt(e) {
1011
- let t = e.center.x, n = e.center.y, r = e.size.width, i = e.size.height;
1012
- return new o(t - i / 2, n - r / 2, i, r);
1013
- }
1014
- var Y = /* @__PURE__ */ new Map(), X = [], Ot = [], Z = [], Q = /* @__PURE__ */ new Map(), $;
1015
- function kt() {
1025
+ var X = [], Z = /* @__PURE__ */ new Map(), Q = null, $ = [];
1026
+ function Dt() {
1016
1027
  let e = F.booths.filter((e) => e.visible && e.rect && e.rect.size.width > 0 && e.rect.size.height > 0);
1017
- if (Y = /* @__PURE__ */ new Map(), X = [], Z = [], $ = null, Q = /* @__PURE__ */ new Map(), !e.length) return;
1018
- Ot = e.filter((e) => e.paths);
1019
- let t = o.fromUnion(...e.map((e) => e.rect));
1020
- for (let t of e) {
1021
- let e = t.rect;
1022
- Math.abs(t.rotate) === w(90) && (e = Dt(e)), X.push(e), Y.set(e, t);
1028
+ if (X = [], Q = null, Z = /* @__PURE__ */ new Map(), $ = e.filter((e) => e.paths), !e.length) return;
1029
+ let t = [], n = Infinity, r = Infinity, a = -Infinity, s = -Infinity;
1030
+ for (let i of e) {
1031
+ let e = i.rotate ? new oe(i.rect.center, i.rect.size, i.rotate) : null, o = e ? e.bounds : i.rect;
1032
+ t.push({
1033
+ booth: i,
1034
+ shape: e == null ? i.rect : e,
1035
+ bounds: o
1036
+ }), o.min.x < n && (n = o.min.x), o.min.y < r && (r = o.min.y), o.max.x > a && (a = o.max.x), o.max.y > s && (s = o.max.y);
1023
1037
  }
1024
- let n = Math.ceil(t.size.width / 2), r = Math.ceil(t.size.height / 2);
1025
- for (let e = 0; e < 2; e++) for (let i = 0; i < 2; i++) {
1026
- let a = new o(t.min.x + e * n, t.min.y + i * r, n, r);
1027
- Z.push(a);
1028
- let s = X.filter((e) => a.intersects(e));
1029
- Q.set(a, s);
1038
+ let c = o.fromMinMax({
1039
+ x: n,
1040
+ y: r
1041
+ }, {
1042
+ x: a,
1043
+ y: s
1044
+ }), l = Math.ceil(c.size.width / 2), u = Math.ceil(c.size.height / 2);
1045
+ for (let e = 0; e < 2; e++) for (let n = 0; n < 2; n++) {
1046
+ let r = new o(c.min.x + e * l, c.min.y + n * u, l, u);
1047
+ X.push(r), Z.set(r, t.filter((e) => r.intersects(e.bounds)));
1030
1048
  }
1031
- i.log("hover segmentToRects", Q);
1049
+ i.log("hover segmentToHitAreas", Z);
1032
1050
  }
1033
1051
  a(() => [
1034
1052
  F.booths,
1035
1053
  k.loaded,
1036
1054
  k.visible
1037
- ], () => kt());
1038
- function At(e, t) {
1055
+ ], () => Dt());
1056
+ function Ot(e, t) {
1039
1057
  let n = {
1040
1058
  x: e,
1041
1059
  y: t
1042
1060
  }, r;
1043
- r = $ && $.containsPoint(n) ? $ : Z.find((e) => e.containsPoint(n)), r && ($ = r);
1044
- let i = Q.get(r);
1061
+ r = Q && Q.containsPoint(n) ? Q : X.find((e) => e.containsPoint(n)), r && (Q = r);
1062
+ let i = r ? Z.get(r) : void 0;
1045
1063
  if (i) {
1046
- let e = i.filter((e) => e.containsPoint(n));
1047
- if (e.length) {
1048
- let t;
1049
- t = e.length > 1 ? e.sort((e, t) => e.size.width - t.size.width)[0] : e[0];
1050
- let n = Y.get(t);
1051
- return n.visible ? n : null;
1052
- }
1064
+ let e = i.filter((e) => e.booth.visible && e.shape.containsPoint(n));
1065
+ if (e.length) return (e.length > 1 ? e.sort((e, t) => e.booth.rect.area - t.booth.rect.area)[0] : e[0]).booth;
1053
1066
  }
1054
- for (let e of Ot) for (let t of e.paths) for (let r of m(t.index, k.mode === M.Default ? "" : e.layer.name)) {
1067
+ for (let e of $) if (e.visible) for (let t of e.paths) for (let r of m(t.index, k.mode === M.Default ? "" : e.layer.name)) {
1055
1068
  let t = r.map((e) => ({
1056
1069
  x: e[0],
1057
1070
  y: e[1]
1058
1071
  }));
1059
- if (N.fromConvexRing(t).containsPoint(n)) return e.visible ? e : null;
1072
+ if (N.fromConvexRing(t).containsPoint(n)) return e;
1060
1073
  }
1061
1074
  return null;
1062
1075
  }
1063
- function jt(e, t) {
1064
- return At(e, t);
1076
+ function kt(e, t) {
1077
+ return Ot(e, t);
1065
1078
  }
1066
1079
  //#endregion
1067
- export { ut as a, Ve as c, wt as i, He as l, xt as n, tt as o, Ct as r, We as s, jt as t };
1080
+ export { ut as a, Ve as c, wt as i, He as l, xt as n, tt as o, Ct as r, We as s, kt as t };
@@ -1,12 +1,12 @@
1
1
  (function() {
2
2
  try {
3
3
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.10.2" };
4
+ e.SENTRY_RELEASE = { id: "3.11.1" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "65883f75-ab87-499b-a19c-5446ccdfc4a4", e._sentryDebugIdIdentifier = "sentry-dbid-65883f75-ab87-499b-a19c-5446ccdfc4a4");
7
7
  } catch {}
8
8
  })();
9
- import { t as e } from "./rolldown-runtime-D_bOcK0P.js";
9
+ import { t as e } from "./rolldown-runtime-DvCIlsWE.js";
10
10
  //#region ../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js
11
11
  var t = /* @__PURE__ */ e(((e, t) => {
12
12
  var n = 1e3, r = n * 60, i = r * 60, a = i * 24, o = a * 7, s = a * 365.25;