@expofp/floorplan 3.0.0-alpha.16 → 3.0.0-alpha.17

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 (185) hide show
  1. package/dist/browser/Debug-CUZihF0D.js +40 -0
  2. package/dist/browser/{Demo-CXdISYQf.js → Demo-CR3VLKTk.js} +7 -7
  3. package/dist/browser/{Free-CVgHQ8yt.js → Free-DQNZneql.js} +10 -10
  4. package/dist/browser/Gallery-DuHTiSqx.js +71 -0
  5. package/dist/browser/{GpsLoader-BiwFO3QG.js → GpsLoader-DmtF8nSh.js} +46 -46
  6. package/dist/browser/{KioskStore-NqUeUutQ.js → KioskStore-B7BTukd0.js} +9 -9
  7. package/dist/browser/{Mapbox-PHCrBnx5.js → Mapbox-3GevGU_j.js} +6 -6
  8. package/dist/browser/{SetKioskMode-DMQej1ec.js → SetKioskMode-D3066R7_.js} +50 -50
  9. package/dist/browser/{ShowKiosk-BWlBMcI7.js → ShowKiosk-3jaagNzR.js} +6 -6
  10. package/dist/browser/{ThreeComponent-Dmt2HPyX.js → ThreeComponent-DNFBzo3g.js} +7 -7
  11. package/dist/browser/{ViewerMenuPanel-CuqRZ7m1.js → ViewerMenuPanel-BLo85uoZ.js} +14 -14
  12. package/dist/browser/{boolean-editor-zsvPcNpX.js → boolean-editor-DKH9ubYi.js} +5 -5
  13. package/dist/browser/bundle.json +30 -30
  14. package/dist/browser/{client-B2kCMH8A.js → client-meZ2tCS0.js} +4 -4
  15. package/dist/browser/{data-BtD6blv7.js → data-SQHwxPrN.js} +5 -5
  16. package/dist/browser/{debug-overlay-CF0imHRX.js → debug-overlay-C4TVlyAN.js} +9 -9
  17. package/dist/browser/{debug-ui-Zt7T7T-N.js → debug-ui-CVsP8oRC.js} +5 -5
  18. package/dist/browser/{favicon-Dj8hNa7i.js → favicon-Cimz_lqt.js} +1 -1
  19. package/dist/browser/{fetch-retry.umd-B-swKpFA.js → fetch-retry.umd-XH7ZZmae.js} +2 -2
  20. package/dist/browser/{flex-COa6XN1F.js → flex-Bq6tPjvK.js} +5 -5
  21. package/dist/browser/{floorplan.ready-CNnM_Yyc.js → floorplan.ready-ClV1c-bq.js} +12287 -11918
  22. package/dist/browser/{index-atMSRNM1.js → index-3PCrVVmD.js} +12 -12
  23. package/dist/browser/{index-CqICVJZO.js → index-BuXQKG6_.js} +4 -4
  24. package/dist/browser/{index-CgWDjED_.js → index-C1A1q6hi.js} +6 -6
  25. package/dist/browser/{index-C04zJbbt.js → index-C3wwaChX.js} +2397 -2374
  26. package/dist/browser/{index-B1P-x0sk.js → index-CcKlEKDb.js} +5 -5
  27. package/dist/browser/{index-BeS6l0j-.js → index-CfyxM29w.js} +18 -18
  28. package/dist/browser/{index-BEcZnTgd.js → index-DkMgYVuZ.js} +3 -3
  29. package/dist/browser/index.js +4 -4
  30. package/dist/browser/{jsx-runtime-DAY7g56y.js → jsx-runtime-rSp8ZldI.js} +1 -1
  31. package/dist/browser/locales/ar.json +48 -4
  32. package/dist/browser/locales/de.json +48 -4
  33. package/dist/browser/locales/es.json +48 -4
  34. package/dist/browser/locales/fr.json +48 -4
  35. package/dist/browser/locales/he.json +48 -4
  36. package/dist/browser/locales/it.json +48 -4
  37. package/dist/browser/locales/kk.json +48 -4
  38. package/dist/browser/locales/ko.json +48 -4
  39. package/dist/browser/locales/mn.json +48 -4
  40. package/dist/browser/locales/nl.json +48 -4
  41. package/dist/browser/locales/pl.json +49 -5
  42. package/dist/browser/locales/pt.json +48 -4
  43. package/dist/browser/locales/ru.json +49 -5
  44. package/dist/browser/locales/sv.json +48 -4
  45. package/dist/browser/locales/th.json +48 -4
  46. package/dist/browser/locales/tr.json +48 -4
  47. package/dist/browser/locales/uk.json +48 -4
  48. package/dist/browser/locales/vi.json +48 -4
  49. package/dist/browser/locales/zh.json +48 -4
  50. package/dist/browser/{main-DZpmA53N.js → main-C1uhxJ8U.js} +1 -1
  51. package/dist/browser/{particles.min-DXab_WLN.js → particles.min-DkmJkLkl.js} +2 -2
  52. package/dist/esm/RouteCutIn.d.ts +0 -1
  53. package/dist/esm/RouteCutIn.js +1 -1
  54. package/dist/esm/components/Booth/BoothOnHold.d.ts +2 -2
  55. package/dist/esm/components/Booth/BoothOnHold.js +1 -1
  56. package/dist/esm/components/Booth/BoothReserved.d.ts +2 -1
  57. package/dist/esm/components/Booth/BoothReserved.js +1 -1
  58. package/dist/esm/components/Booth/BoothWithoutExhibitor.d.ts +2 -2
  59. package/dist/esm/components/Booth/BoothWithoutExhibitor.js +1 -1
  60. package/dist/esm/components/Exhibitor.js +1 -1
  61. package/dist/esm/components/Gallery/GalleryControls/GalleryControls.d.ts +2 -2
  62. package/dist/esm/components/Gallery/GalleryControls/GalleryControls.js +1 -1
  63. package/dist/esm/components/Gallery/GalleryModal/GalleryModal.d.ts +2 -2
  64. package/dist/esm/components/Gallery/GalleryModal/GalleryModal.js +1 -1
  65. package/dist/esm/components/Language.js +1 -1
  66. package/dist/esm/components/LanguageRow.d.ts +0 -1
  67. package/dist/esm/components/LanguageRow.js +1 -1
  68. package/dist/esm/components/Layout.js +1 -1
  69. package/dist/esm/components/List.js +1 -1
  70. package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
  71. package/dist/esm/components/Map/drawing/config/config-wf.d.ts +0 -2
  72. package/dist/esm/components/Map/drawing/config/config-wf.js +1 -1
  73. package/dist/esm/components/Map/drawing/config/route-snapping/snapPositionToRoute.d.ts +1 -1
  74. package/dist/esm/components/Map/drawing/config/route-snapping/snapPositionToRoute.js +1 -1
  75. package/dist/esm/components/Map/drawing/config/route-snapping/splitRouteByPoint.d.ts +1 -1
  76. package/dist/esm/components/Map/drawing/config/route-snapping/splitRouteByPoint.js +1 -1
  77. package/dist/esm/components/Map/drawing/config/route-snapping/types.d.ts +1 -1
  78. package/dist/esm/components/Map/drawing/config/route-snapping/utils.d.ts +1 -1
  79. package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
  80. package/dist/esm/components/MarketMaterialList.d.ts +3 -3
  81. package/dist/esm/components/MarketMaterialList.js +1 -1
  82. package/dist/esm/components/Menu.js +1 -1
  83. package/dist/esm/components/MobileToggleButton.js +1 -1
  84. package/dist/esm/components/MultiSelectGroups.d.ts +2 -2
  85. package/dist/esm/components/MultiSelectGroups.js +1 -1
  86. package/dist/esm/components/OverlayContainer.js +1 -1
  87. package/dist/esm/components/RebookingNotes.d.ts +2 -2
  88. package/dist/esm/components/RebookingNotes.js +1 -1
  89. package/dist/esm/components/RebookingRadioGroup.d.ts +2 -2
  90. package/dist/esm/components/RebookingRadioGroup.js +1 -1
  91. package/dist/esm/components/RouteQR.d.ts +2 -2
  92. package/dist/esm/components/RouteQR.js +1 -1
  93. package/dist/esm/components/Sessions.js +1 -1
  94. package/dist/esm/components/Share.d.ts +2 -2
  95. package/dist/esm/components/Share.js +1 -1
  96. package/dist/esm/components/SidebarActions.js +1 -1
  97. package/dist/esm/components/WayfindingTemplate.d.ts +2 -2
  98. package/dist/esm/components/WayfindingTemplate.js +1 -1
  99. package/dist/esm/components/gps/GpsPermissionRequest.d.ts +4 -2
  100. package/dist/esm/components/gps/GpsPermissionRequest.js +1 -1
  101. package/dist/esm/constants.d.ts +1 -0
  102. package/dist/esm/constants.js +1 -1
  103. package/dist/esm/floorplan.loader.js +1 -1
  104. package/dist/esm/floorplan.ready.js +1 -1
  105. package/dist/esm/load.js +3 -3
  106. package/dist/esm/services/routing.js +1 -1
  107. package/dist/esm/store/RootStore.d.ts +0 -2
  108. package/dist/esm/store/RootStore.js +1 -1
  109. package/dist/esm/store/RouteStore.d.ts +1 -1
  110. package/dist/esm/store/RouteStore.js +1 -1
  111. package/dist/esm/store/SearchStore.js +1 -1
  112. package/dist/esm/store/UIState.d.ts +1 -2
  113. package/dist/esm/store/UIState.js +1 -1
  114. package/dist/esm/store/init/index.js +1 -1
  115. package/dist/esm/store/search-buttons/SearchButtonsStore.d.ts +1 -1
  116. package/dist/esm/store/search-buttons/SearchButtonsStore.js +1 -1
  117. package/dist/esm/store/types.d.ts +0 -2
  118. package/dist/esm/tools/sentry.js +1 -1
  119. package/dist/esm/utils/i18n.d.ts +5 -3
  120. package/dist/esm/utils/i18n.js +1 -1
  121. package/dist/esm/utils/mapEntity.js +1 -1
  122. package/dist/esm/utils/math.d.ts +7 -0
  123. package/dist/esm/utils/math.js +1 -0
  124. package/dist/esm/utils/use-shadow.d.ts +1 -1
  125. package/dist/esm/utils/use-shadow.js +1 -1
  126. package/dist/esm/wayfinding/_PLAN-public-api.d.ts +220 -0
  127. package/dist/esm/wayfinding/_PLAN-public-api.js +1 -0
  128. package/dist/esm/{utils/wayfinding.d.ts → wayfinding/__integration__/legacy/legacyWayfinding.d.ts} +5 -4
  129. package/dist/esm/wayfinding/__integration__/legacy/legacyWayfinding.js +1 -0
  130. package/dist/esm/wayfinding/__tests__/helpers.d.ts +21 -0
  131. package/dist/esm/wayfinding/__tests__/helpers.js +1 -0
  132. package/dist/esm/wayfinding/adapters/boothToWaypoint.d.ts +12 -0
  133. package/dist/esm/wayfinding/adapters/boothToWaypoint.js +1 -0
  134. package/dist/esm/wayfinding/adapters/graphDataSource.d.ts +3 -0
  135. package/dist/esm/wayfinding/adapters/graphDataSource.js +1 -0
  136. package/dist/esm/wayfinding/graph/buildGraph.d.ts +3 -0
  137. package/dist/esm/wayfinding/graph/buildGraph.js +1 -0
  138. package/dist/esm/wayfinding/graph/buildNGraph.d.ts +9 -0
  139. package/dist/esm/wayfinding/graph/buildNGraph.js +1 -0
  140. package/dist/esm/wayfinding/graph/constants.d.ts +3 -0
  141. package/dist/esm/wayfinding/graph/constants.js +1 -0
  142. package/dist/esm/wayfinding/graph/findShortestPath.d.ts +14 -0
  143. package/dist/esm/wayfinding/graph/findShortestPath.js +1 -0
  144. package/dist/esm/wayfinding/graph/graphCache.d.ts +6 -0
  145. package/dist/esm/wayfinding/graph/graphCache.js +1 -0
  146. package/dist/esm/wayfinding/graph/graphHelpers.d.ts +8 -0
  147. package/dist/esm/wayfinding/graph/graphHelpers.js +1 -0
  148. package/dist/esm/wayfinding/graph/linkCost.d.ts +4 -0
  149. package/dist/esm/wayfinding/graph/linkCost.js +1 -0
  150. package/dist/esm/wayfinding/graph/pathfinder/aStarPathFinder.d.ts +3 -0
  151. package/dist/esm/wayfinding/graph/pathfinder/aStarPathFinder.js +1 -0
  152. package/dist/esm/wayfinding/graph/pathfinder/parseNodeId.d.ts +9 -0
  153. package/dist/esm/wayfinding/graph/pathfinder/parseNodeId.js +1 -0
  154. package/dist/esm/wayfinding/index.d.ts +18 -0
  155. package/dist/esm/wayfinding/index.js +1 -0
  156. package/dist/esm/wayfinding/rendering/computeTransitionPoints.d.ts +31 -0
  157. package/dist/esm/wayfinding/rendering/computeTransitionPoints.js +1 -0
  158. package/dist/esm/wayfinding/rendering/normalizeRouteDirection.d.ts +19 -0
  159. package/dist/esm/wayfinding/rendering/normalizeRouteDirection.js +1 -0
  160. package/dist/esm/wayfinding/rendering/routeGeometry.d.ts +16 -0
  161. package/dist/esm/wayfinding/rendering/routeGeometry.js +1 -0
  162. package/dist/esm/wayfinding/routing/buildMultiPointRoute.d.ts +11 -0
  163. package/dist/esm/wayfinding/routing/buildMultiPointRoute.js +1 -0
  164. package/dist/esm/wayfinding/routing/buildRoute.d.ts +9 -0
  165. package/dist/esm/wayfinding/routing/buildRoute.js +1 -0
  166. package/dist/esm/wayfinding/routing/findNearestGraphPoint.d.ts +21 -0
  167. package/dist/esm/wayfinding/routing/findNearestGraphPoint.js +1 -0
  168. package/dist/esm/wayfinding/routing/getGraphLines.d.ts +14 -0
  169. package/dist/esm/wayfinding/routing/getGraphLines.js +1 -0
  170. package/dist/esm/wayfinding/routing/getRouteLength.d.ts +3 -0
  171. package/dist/esm/wayfinding/routing/getRouteLength.js +1 -0
  172. package/dist/esm/wayfinding/routing/routeResult.d.ts +4 -0
  173. package/dist/esm/wayfinding/routing/routeResult.js +1 -0
  174. package/dist/esm/wayfinding/types.d.ts +76 -0
  175. package/dist/esm/wayfinding/types.js +1 -0
  176. package/package.json +3 -3
  177. package/dist/browser/Debug-DazuGIJc.js +0 -40
  178. package/dist/browser/Gallery-BMcvPLO_.js +0 -288
  179. package/dist/esm/store/LanguageStore.d.ts +0 -19
  180. package/dist/esm/store/LanguageStore.js +0 -1
  181. package/dist/esm/store/init/init-language.d.ts +0 -3
  182. package/dist/esm/store/init/init-language.js +0 -1
  183. package/dist/esm/utils/toRadians.d.ts +0 -3
  184. package/dist/esm/utils/toRadians.js +0 -1
  185. package/dist/esm/utils/wayfinding.js +0 -1
@@ -0,0 +1,40 @@
1
+ function __vite_inject_css__(css, id){ if (typeof document==='undefined') return; var parent=(typeof window!=='undefined'&&window.__efpShadowDOMStyleParent)||document.head; var s=document.createElement('style'); s.setAttribute('data-chunk-style', id); s.appendChild(document.createTextNode(css)); parent.appendChild(s);}
2
+ import { j as e } from "./jsx-runtime-rSp8ZldI.js";
3
+ import { c as o, a as r, s as i } from "./floorplan.ready-ClV1c-bq.js";
4
+ import { z as l } from "./index-C3wwaChX.js";
5
+ (function() {
6
+ try {
7
+ var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
8
+ t.SENTRY_RELEASE = { id: "3.0.0-alpha.17" };
9
+ var a = new t.Error().stack;
10
+ a && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[a] = "87dc54e4-9903-4990-8b27-5a733311bb77", t._sentryDebugIdIdentifier = "sentry-dbid-87dc54e4-9903-4990-8b27-5a733311bb77");
11
+ } catch {
12
+ }
13
+ })();
14
+ const n = [];
15
+ function c() {
16
+ const t = n.map((s) => s.width * s.height).reduce((s, d) => s += d, 0), a = n.map((s) => /* @__PURE__ */ e.jsxs("div", { className: "debug__canvas", id: s.toDataURL(), children: [
17
+ s.width,
18
+ "x",
19
+ s.height,
20
+ "=",
21
+ s.width * s.height,
22
+ /* @__PURE__ */ e.jsx("br", {}),
23
+ /* @__PURE__ */ e.jsx("img", { src: s.toDataURL(), alt: "", crossOrigin: "anonymous" })
24
+ ] }, s.toDataURL()));
25
+ return /* @__PURE__ */ e.jsxs("div", { className: "debug", children: [
26
+ /* @__PURE__ */ e.jsx("button", { onClick: () => i.searchStore.selectSearch(""), children: l("Close") }),
27
+ /* @__PURE__ */ e.jsxs("div", { children: [
28
+ "Total square: ",
29
+ t
30
+ ] }),
31
+ a
32
+ ] });
33
+ }
34
+ const g = () => o(() => /* @__PURE__ */ e.jsx(e.Fragment, { children: r.list.type === "search" && r.list.text === "q1" ? /* @__PURE__ */ e.jsx(c, {}) : null }));
35
+ export {
36
+ g as default
37
+ };
38
+
39
+ ;/* vite-per-chunk-css */
40
+ __vite_inject_css__(".debug{position:fixed;top:1rem;left:1vw;z-index:999;width:calc(100vw - 2rem);height:calc(100vh - 2rem);padding:1rem;overflow:scroll;background:var(--color-white);box-shadow:0 0 1rem #00000080}.debug label{display:block;font-weight:var(--font-weight-bold)}.debug__canvas{display:inline-block;padding:2px;vertical-align:top}.debug__canvas>img{background:var(--color-gray-300)}\n/*$vite$:1*/", "Debug.css");
@@ -1,13 +1,13 @@
1
- import { j as s } from "./jsx-runtime-DAY7g56y.js";
2
- import { y as o } from "./index-BEcZnTgd.js";
3
- import { u as d, a, b as f, c as l } from "./floorplan.ready-CNnM_Yyc.js";
4
- import { E as n } from "./index-C04zJbbt.js";
1
+ import { j as s } from "./jsx-runtime-rSp8ZldI.js";
2
+ import { y as o } from "./index-DkMgYVuZ.js";
3
+ import { u as d, a, b as c, c as l } from "./floorplan.ready-ClV1c-bq.js";
4
+ import { z as n } from "./index-C3wwaChX.js";
5
5
  (function() {
6
6
  try {
7
7
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
8
- e.SENTRY_RELEASE = { id: "3.0.0-alpha.16" };
8
+ e.SENTRY_RELEASE = { id: "3.0.0-alpha.17" };
9
9
  var t = new e.Error().stack;
10
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "19fdeafe-49ff-4733-9710-c20cd7440edb", e._sentryDebugIdIdentifier = "sentry-dbid-19fdeafe-49ff-4733-9710-c20cd7440edb");
10
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "1d22a10f-35cb-4b87-8cb0-5c0c83ab9e01", e._sentryDebugIdIdentifier = "sentry-dbid-1d22a10f-35cb-4b87-8cb0-5c0c83ab9e01");
11
11
  } catch {
12
12
  }
13
13
  })();
@@ -26,7 +26,7 @@ function h() {
26
26
  });
27
27
  }
28
28
  }));
29
- return f(() => {
29
+ return c(() => {
30
30
  sessionStorage.getItem(i) || window.setTimeout(() => {
31
31
  e.hidden = !1;
32
32
  }, 2e3);
@@ -1,23 +1,23 @@
1
- function __vite_inject_css__(css, id, nonce){ if (typeof document==='undefined') return; var s=document.createElement('style'); s.setAttribute('data-vite-chunk-style', id); s.appendChild(document.createTextNode(css)); document.head.appendChild(s);}
2
- import { j as s } from "./jsx-runtime-DAY7g56y.js";
3
- import { y as a } from "./index-BEcZnTgd.js";
4
- import { u as o, a as d, b as f, c as l } from "./floorplan.ready-CNnM_Yyc.js";
5
- import { ah as c, E as i } from "./index-C04zJbbt.js";
1
+ function __vite_inject_css__(css, id){ if (typeof document==='undefined') return; var parent=(typeof window!=='undefined'&&window.__efpShadowDOMStyleParent)||document.head; var s=document.createElement('style'); s.setAttribute('data-chunk-style', id); s.appendChild(document.createTextNode(css)); parent.appendChild(s);}
2
+ import { j as s } from "./jsx-runtime-rSp8ZldI.js";
3
+ import { y as a } from "./index-DkMgYVuZ.js";
4
+ import { u as d, a as o, b as f, c as l } from "./floorplan.ready-ClV1c-bq.js";
5
+ import { ah as u, z as i } from "./index-C3wwaChX.js";
6
6
  (function() {
7
7
  try {
8
8
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
9
- e.SENTRY_RELEASE = { id: "3.0.0-alpha.16" };
9
+ e.SENTRY_RELEASE = { id: "3.0.0-alpha.17" };
10
10
  var t = new e.Error().stack;
11
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "9eae0e7c-4995-43a3-a342-153218edc948", e._sentryDebugIdIdentifier = "sentry-dbid-9eae0e7c-4995-43a3-a342-153218edc948");
11
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "62f2faa4-d911-4752-8a7d-02478d271810", e._sentryDebugIdIdentifier = "sentry-dbid-62f2faa4-d911-4752-8a7d-02478d271810");
12
12
  } catch {
13
13
  }
14
14
  })();
15
15
  const n = "free-dismissed5";
16
16
  function g() {
17
- const e = o(() => ({
17
+ const e = d(() => ({
18
18
  hidden: !0,
19
19
  get top() {
20
- return d.screenSize.width < c;
20
+ return o.screenSize.width < u;
21
21
  },
22
22
  get classes() {
23
23
  return a({
@@ -48,4 +48,4 @@ export {
48
48
  };
49
49
 
50
50
  ;/* vite-per-chunk-css */
51
- __vite_inject_css__(".free{position:absolute;bottom:0;display:flex;justify-content:center;width:100%;min-height:2rem;background:#ab40a0;background:linear-gradient(90deg,#e5175c,#5c17e5);opacity:1;transition:all .5s}.free>section{display:flex;padding:.2rem .5rem;font-size:.8rem;-webkit-user-select:none;user-select:none}.free__message{display:flex;align-items:center;color:#fff}.free__message a{color:#fff;text-decoration:underline}.free__dismiss{display:flex;align-items:center;margin-inline-start:.5rem;padding:.1rem .8rem;background:#1378d5;border-radius:2px;font-size:.8rem;font-weight:500;color:#fff!important;text-decoration:none!important}.free__dismiss:hover{background:#69b7ff}@media print{.free__dismiss{display:none}}.free.top{top:0;bottom:unset;width:100%;min-height:2.5rem}.free.top>section{flex-grow:1}.free.top span{display:inline-block}.free.top .free__message{flex-grow:1}.free.bottom .free__message{font-size:1.5rem;font-weight:300;color:#ffffffe6}.free.bottom>section{padding:.5rem}.free.bottom .free__dismiss{padding:.5rem 1rem;font-size:1.2rem;font-weight:600}.free.hidden{transform:translateY(100%)}.free.top.hidden{transform:translateY(-100%)}\n/*$vite$:1*/", "Free.css", undefined);
51
+ __vite_inject_css__(".free{position:absolute;bottom:0;display:flex;justify-content:center;width:100%;min-height:2rem;background:#ab40a0;background:linear-gradient(90deg,#e5175c,#5c17e5);opacity:1;transition:all .5s}.free>section{display:flex;padding:.2rem .5rem;font-size:.8rem;-webkit-user-select:none;user-select:none}.free__message{display:flex;align-items:center;color:#fff}.free__message a{color:#fff;text-decoration:underline}.free__dismiss{display:flex;align-items:center;margin-inline-start:.5rem;padding:.1rem .8rem;background:#1378d5;border-radius:2px;font-size:.8rem;font-weight:500;color:#fff!important;text-decoration:none!important}.free__dismiss:hover{background:#69b7ff}@media print{.free__dismiss{display:none}}.free.top{top:0;bottom:unset;width:100%;min-height:2.5rem}.free.top>section{flex-grow:1}.free.top span{display:inline-block}.free.top .free__message{flex-grow:1}.free.bottom .free__message{font-size:1.5rem;font-weight:300;color:#ffffffe6}.free.bottom>section{padding:.5rem}.free.bottom .free__dismiss{padding:.5rem 1rem;font-size:1.2rem;font-weight:600}.free.hidden{transform:translateY(100%)}.free.top.hidden{transform:translateY(-100%)}\n/*$vite$:1*/", "Free.css");
@@ -0,0 +1,71 @@
1
+ import { j as e } from "./jsx-runtime-rSp8ZldI.js";
2
+ import { r as c, o as E } from "./index-C3wwaChX.js";
3
+ import { y as N } from "./index-DkMgYVuZ.js";
4
+ import { as as v, at as G, au as S } from "./floorplan.ready-ClV1c-bq.js";
5
+ (function() {
6
+ try {
7
+ var s = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
8
+ s.SENTRY_RELEASE = { id: "3.0.0-alpha.17" };
9
+ var a = new s.Error().stack;
10
+ a && (s._sentryDebugIds = s._sentryDebugIds || {}, s._sentryDebugIds[a] = "da1de22d-588e-4953-b57b-0b547a94f86b", s._sentryDebugIdIdentifier = "sentry-dbid-da1de22d-588e-4953-b57b-0b547a94f86b");
11
+ } catch {
12
+ }
13
+ })();
14
+ const w = ({
15
+ count: s,
16
+ onFullscreen: a
17
+ }) => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
18
+ /* @__PURE__ */ e.jsxs("div", { className: "gallery__badge gallery__badge-count", children: [
19
+ /* @__PURE__ */ e.jsx("i", { className: "icon-image" }),
20
+ /* @__PURE__ */ e.jsx("span", { children: s })
21
+ ] }),
22
+ /* @__PURE__ */ e.jsx("div", { className: "gallery__badge gallery__badge-fullscreen", onClick: a, children: /* @__PURE__ */ e.jsx("i", { className: "icon-maximize" }) })
23
+ ] }), x = ({
24
+ url: s,
25
+ position: a = "center",
26
+ leading: r = !1,
27
+ setHeight: t = !1,
28
+ fillMode: i,
29
+ onClick: o,
30
+ onImageLoadHeightUpdate: d
31
+ }) => /* @__PURE__ */ e.jsx("div", { className: "gallery__item", onClick: o, children: /* @__PURE__ */ e.jsx(v, { position: a, fillMode: i, url: s, leading: r, setHeight: t, onImageLoadHeightUpdate: d }) }), D = (s) => {
32
+ const {
33
+ images: a,
34
+ leading: r = !1,
35
+ onImageLoadHeightUpdate: t,
36
+ onOpenGallery: i,
37
+ onCloseGallery: o,
38
+ className: d
39
+ } = s, [p, m] = c.useState(!1), [b, h] = c.useState(0), [j, u] = c.useState(!1), g = (l) => {
40
+ h(l), m(!0), i && i();
41
+ }, _ = () => {
42
+ m(!1), o && o();
43
+ }, I = (l) => {
44
+ let n = l.split("/");
45
+ const f = n[n.length - 1];
46
+ return f.indexOf("original-") === -1 && (n[n.length - 1] = "original-" + f), n.join("/");
47
+ }, y = (l, n) => n ? I(l) : l;
48
+ return c.useEffect(() => {
49
+ (async () => {
50
+ if (a.length > 0) {
51
+ const n = y(a[0], !0);
52
+ try {
53
+ await S.load(n), u(!0);
54
+ } catch {
55
+ u(!1);
56
+ }
57
+ }
58
+ })();
59
+ }, [a]), /* @__PURE__ */ e.jsxs(E.Fragment, { children: [
60
+ /* @__PURE__ */ e.jsxs("div", { className: N("gallery", {
61
+ "gallery-leading": r
62
+ }, d), children: [
63
+ /* @__PURE__ */ e.jsx("div", { className: "gallery__wrapper", children: r ? /* @__PURE__ */ e.jsx(x, { url: a[0], leading: r, setHeight: !0, fillMode: "contain", onClick: () => g(0), onImageLoadHeightUpdate: t }) : a.map((l, n) => /* @__PURE__ */ e.jsx(x, { url: l, position: "top", fillMode: "cover", onClick: () => g(n), onImageLoadHeightUpdate: t }, l + n)) }),
64
+ !r && /* @__PURE__ */ e.jsx(w, { onFullscreen: () => g(0), count: a.length })
65
+ ] }),
66
+ p && /* @__PURE__ */ e.jsx(G, { className: d, images: a.map((l) => y(l, j)), leading: r, initialSlideIndex: b, onClose: _ })
67
+ ] });
68
+ };
69
+ export {
70
+ D as default
71
+ };
@@ -1,49 +1,49 @@
1
- import { j as b } from "./jsx-runtime-DAY7g56y.js";
2
- import { r as a, l as I, E as v, a2 as _ } from "./index-C04zJbbt.js";
3
- import { af as T, ag as A, ah as k, s as p, ai as x, e as G } from "./floorplan.ready-CNnM_Yyc.js";
4
- import "./index-BEcZnTgd.js";
1
+ import { j as S } from "./jsx-runtime-rSp8ZldI.js";
2
+ import { r as a, l as I, z as y, _ as T } from "./index-C3wwaChX.js";
3
+ import { af as _, ag as A, ah as k, ai as x, s as p, aj as D, e as G } from "./floorplan.ready-ClV1c-bq.js";
4
+ import "./index-DkMgYVuZ.js";
5
5
  (function() {
6
6
  try {
7
7
  var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
8
- t.SENTRY_RELEASE = { id: "3.0.0-alpha.16" };
8
+ t.SENTRY_RELEASE = { id: "3.0.0-alpha.17" };
9
9
  var n = new t.Error().stack;
10
- n && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[n] = "f142a5ee-afe7-42d9-9138-5cdffc7ea9a6", t._sentryDebugIdIdentifier = "sentry-dbid-f142a5ee-afe7-42d9-9138-5cdffc7ea9a6");
10
+ n && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[n] = "2b27f9c0-d224-4998-a5ed-6c7fae144578", t._sentryDebugIdIdentifier = "sentry-dbid-2b27f9c0-d224-4998-a5ed-6c7fae144578");
11
11
  } catch {
12
12
  }
13
13
  })();
14
- const S = 3;
15
- function D(t) {
14
+ const v = 3;
15
+ function L(t) {
16
16
  return Math.floor(t);
17
17
  }
18
- function L(t, n) {
19
- return T(t.lat, t.lng, n.lat, n.lng) >= S ? !0 : t.heading !== n.heading;
18
+ function M(t, n) {
19
+ return _(t.lat, t.lng, n.lat, n.lng) >= v ? !0 : t.heading !== n.heading;
20
20
  }
21
- const M = 120, N = 3e3, P = 360;
21
+ const P = 120, N = 3e3, q = 360;
22
22
  function H(t) {
23
- const n = a.useRef(null), r = a.useRef(null), s = a.useRef(0), i = a.useRef(null), l = a.useRef(!1), o = a.useRef(null), u = a.useRef(!1), c = a.useRef(null), d = (e) => t(e), m = (e) => {
23
+ const n = a.useRef(null), r = a.useRef(null), i = a.useRef(0), s = a.useRef(null), l = a.useRef(!1), o = a.useRef(null), u = a.useRef(!1), c = a.useRef(null), d = (e) => t(e), m = (e) => {
24
24
  const f = Date.now();
25
- if (f - s.current < M) return;
26
- const h = i.current;
25
+ if (f - i.current < P) return;
26
+ const h = s.current;
27
27
  if (!o.current) {
28
- o.current = e, s.current = f, i.current = e, d(e);
28
+ o.current = e, i.current = f, s.current = e, d(e);
29
29
  return;
30
30
  }
31
- const E = T(o.current.lat, o.current.lng, e.lat, e.lng);
31
+ const E = _(o.current.lat, o.current.lng, e.lat, e.lng);
32
32
  let g;
33
- u.current ? E <= S ? (u.current = !1, o.current = e, g = {
33
+ u.current ? E <= v ? (u.current = !1, o.current = e, g = {
34
34
  ...o.current,
35
35
  heading: e.heading
36
- }) : (o.current = e, g = e) : E >= S ? (u.current = !0, o.current = e, c.current = null, g = e) : (c.current == null && (c.current = f), f - c.current > N && (o.current = e), g = {
36
+ }) : (o.current = e, g = e) : E >= v ? (u.current = !0, o.current = e, c.current = null, g = e) : (c.current == null && (c.current = f), f - c.current > N && (o.current = e), g = {
37
37
  ...o.current,
38
38
  heading: e.heading
39
- }), !(h && !L(h, g)) && (s.current = f, i.current = g, d(g));
39
+ }), !(h && !M(h, g)) && (i.current = f, s.current = g, d(g));
40
40
  }, R = a.useCallback((e) => {
41
41
  var E;
42
- const f = (E = e.webkitCompassHeading) != null ? E : e.alpha != null ? P - e.alpha : null;
42
+ const f = (E = e.webkitCompassHeading) != null ? E : e.alpha != null ? q - e.alpha : null;
43
43
  if (f == null) return;
44
- const h = D(f);
45
- r.current !== h && (r.current = h, i.current && m({
46
- ...i.current,
44
+ const h = L(f);
45
+ r.current !== h && (r.current = h, s.current && m({
46
+ ...s.current,
47
47
  heading: h
48
48
  }));
49
49
  }, [t]);
@@ -71,19 +71,19 @@ function H(t) {
71
71
  }
72
72
  };
73
73
  }
74
- function q({
75
- isOpen: t,
76
- onAllow: n,
77
- onCancel: r
74
+ const j = A(function({
75
+ isOpen: n,
76
+ onAllow: r,
77
+ onCancel: i
78
78
  }) {
79
- return t ? /* @__PURE__ */ b.jsx(A, { title: v("Show your position on the map"), acceptText: v("Allow compass access"), rejectText: v("Not now"), onClickAccept: n, onClickReject: r, children: v("To display your current position and orient the map around you, we’ll ask for permission to access your device orientation") }) : null;
80
- }
81
- function j({
79
+ return n ? /* @__PURE__ */ S.jsx(k, { title: y("Show your position on the map"), acceptText: y("Allow compass access"), rejectText: y("Not now"), onClickAccept: r, onClickReject: i, children: y("To display your current position and orient the map around you, we’ll ask for permission to access your device orientation") }) : null;
80
+ });
81
+ function Y({
82
82
  onPositionUpdate: t,
83
83
  onAllowCompass: n,
84
84
  onRejectCompass: r,
85
- orientationStorageKey: s = "compass-permission-granted",
86
- requestCompass: i = !0,
85
+ orientationStorageKey: i = "compass-permission-granted",
86
+ requestCompass: s = !0,
87
87
  requestCompassAllowed: l = !0
88
88
  }) {
89
89
  const {
@@ -99,32 +99,32 @@ function j({
99
99
  }), () => {
100
100
  c(), d();
101
101
  }), [u, d, c]);
102
- const y = async () => {
103
- typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(s, "true"), o(), w(!1), n == null || n());
102
+ const b = async () => {
103
+ typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(i, "true"), o(), w(!1), n == null || n());
104
104
  }, C = a.useCallback(() => {
105
- localStorage.setItem(s, "false"), w(!1), r == null || r();
105
+ localStorage.setItem(i, "false"), w(!1), r == null || r();
106
106
  }, [r]);
107
107
  return a.useEffect(() => {
108
- if (!m || !l || typeof navigator > "u" || !k) return;
109
- const e = localStorage.getItem(s);
110
- if (!e || i) {
108
+ if (!m || !l || typeof navigator > "u" || !x) return;
109
+ const e = localStorage.getItem(i);
110
+ if (!e || s) {
111
111
  w(!0);
112
112
  return;
113
113
  }
114
- e === "true" && y();
115
- }, [m, i, l, y]), /* @__PURE__ */ b.jsx(q, { isOpen: O, onAllow: y, onCancel: C });
114
+ e === "true" && b();
115
+ }, [m, s, l, b]), /* @__PURE__ */ S.jsx(j, { isOpen: O, onAllow: b, onCancel: C });
116
116
  }
117
- function z({
117
+ function K({
118
118
  requestCompassAllowed: t
119
119
  }) {
120
- const [n, r] = a.useState(!1), s = a.useCallback(({
120
+ const [n, r] = a.useState(!1), i = a.useCallback(({
121
121
  lat: o,
122
122
  lng: u,
123
123
  angle: c,
124
124
  heading: d
125
125
  }) => {
126
- p.routeStore.selectCurrentPosition(new x(0, 0, 0, c || d, o, u), !1);
127
- }, []), i = a.useCallback(() => {
126
+ p.routeStore.selectCurrentPosition(new D(0, 0, 0, c || d, o, u), !1);
127
+ }, []), s = a.useCallback(() => {
128
128
  p.routeStore.requestCompass = void 0, r(!1);
129
129
  }, [r]), l = a.useCallback(() => {
130
130
  p.routeStore.requestCompass = void 0, r(!1);
@@ -133,8 +133,8 @@ function z({
133
133
  r(o);
134
134
  }), G(() => p.routeStore.requestCompass, (o) => {
135
135
  r(o);
136
- }), /* @__PURE__ */ b.jsx(j, { requestCompass: n, requestCompassAllowed: t, onRejectCompass: i, onAllowCompass: l, orientationStorageKey: _, onPositionUpdate: s });
136
+ }), /* @__PURE__ */ S.jsx(Y, { requestCompass: n, requestCompassAllowed: t, onRejectCompass: s, onAllowCompass: l, orientationStorageKey: T, onPositionUpdate: i });
137
137
  }
138
138
  export {
139
- z as default
139
+ K as default
140
140
  };
@@ -1,13 +1,13 @@
1
- import { av as h, j as b, p as d, q as l, h as g } from "./index-C04zJbbt.js";
2
- import "./jsx-runtime-DAY7g56y.js";
3
- import { s as o, ao as k, ap as v, aq as D, ar as O } from "./floorplan.ready-CNnM_Yyc.js";
4
- import "./index-BEcZnTgd.js";
1
+ import { aw as h, j as f, p as d, q as l, h as g } from "./index-C3wwaChX.js";
2
+ import "./jsx-runtime-rSp8ZldI.js";
3
+ import { s as o, ao as k, ap as v, aq as D, ar as O } from "./floorplan.ready-ClV1c-bq.js";
4
+ import "./index-DkMgYVuZ.js";
5
5
  (function() {
6
6
  try {
7
7
  var a = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
8
- a.SENTRY_RELEASE = { id: "3.0.0-alpha.16" };
8
+ a.SENTRY_RELEASE = { id: "3.0.0-alpha.17" };
9
9
  var e = new a.Error().stack;
10
- e && (a._sentryDebugIds = a._sentryDebugIds || {}, a._sentryDebugIds[e] = "e86a9cfd-9445-4344-9fa4-a2d8e4fb087b", a._sentryDebugIdIdentifier = "sentry-dbid-e86a9cfd-9445-4344-9fa4-a2d8e4fb087b");
10
+ e && (a._sentryDebugIds = a._sentryDebugIds || {}, a._sentryDebugIds[e] = "697fc260-bc1b-43be-94ee-1f23fc33235c", a._sentryDebugIdIdentifier = "sentry-dbid-697fc260-bc1b-43be-94ee-1f23fc33235c");
11
11
  } catch {
12
12
  }
13
13
  })();
@@ -45,7 +45,7 @@ function C(a, e) {
45
45
  return e.x >= r.left && e.x <= r.right && e.y >= r.bottom && e.y <= r.top;
46
46
  }
47
47
  var t, S, m;
48
- function f(a, e, r, i) {
48
+ function b(a, e, r, i) {
49
49
  r && Object.defineProperty(a, e, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(i) : void 0 });
50
50
  }
51
51
  function n(a, e, r, i, p) {
@@ -58,7 +58,7 @@ function n(a, e, r, i, p) {
58
58
  }
59
59
  let P = (t = class {
60
60
  constructor() {
61
- f(this, "savedKiosk", S, this), f(this, "statusMessages", m, this), this.statusMessageTimer = 0, this.initialPtScale = void 0;
61
+ b(this, "savedKiosk", S, this), b(this, "statusMessages", m, this), this.statusMessageTimer = 0, this.initialPtScale = void 0;
62
62
  }
63
63
  get kiosk() {
64
64
  return o.uiState.kioskData;
@@ -118,7 +118,7 @@ let P = (t = class {
118
118
  zoom: !0,
119
119
  roll: !0,
120
120
  pitch: !0
121
- }, !0), b(() => {
121
+ }, !0), f(() => {
122
122
  Number.isFinite(i) && Number.isFinite(p) && p > 0 && this.renderer.controls.zoomBy(i / p, !0), Number.isFinite(s) && Number.isFinite(c) && this.renderer.controls.panTo(s, c, !0), Number.isFinite(r) && this.renderer.controls.rollTo(r, !0), e && o.fp.activateFloor({
123
123
  name: e
124
124
  });
@@ -1,12 +1,12 @@
1
- import { j as B } from "./jsx-runtime-DAY7g56y.js";
2
- import { y as w } from "./index-BEcZnTgd.js";
3
- import { p, m as z, s as P, a as f, l as E, b as k, c as b, d as C, u as T, e as D, f as M, g as F, h as I, i as _ } from "./data-BtD6blv7.js";
4
- import { u as j, s as e, a as t, R as x, d as N, e as n, f as O, c as A } from "./floorplan.ready-CNnM_Yyc.js";
5
- import { r as S } from "./index-C04zJbbt.js";
1
+ import { j as B } from "./jsx-runtime-rSp8ZldI.js";
2
+ import { y as w } from "./index-DkMgYVuZ.js";
3
+ import { p, m as z, s as P, a as f, l as E, b as k, c as b, d as C, u as T, e as D, f as M, g as F, h as I, i as _ } from "./data-SQHwxPrN.js";
4
+ import { u as j, s as e, a as t, R as x, d as N, e as n, f as O, c as A } from "./floorplan.ready-ClV1c-bq.js";
5
+ import { r as S } from "./index-C3wwaChX.js";
6
6
  (function() {
7
7
  try {
8
8
  var i = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
9
- i.SENTRY_RELEASE = { id: "3.0.0-alpha.16" };
9
+ i.SENTRY_RELEASE = { id: "3.0.0-alpha.17" };
10
10
  var r = new i.Error().stack;
11
11
  r && (i._sentryDebugIds = i._sentryDebugIds || {}, i._sentryDebugIds[r] = "78ce0388-27ac-4b17-bca0-c443d45725e4", i._sentryDebugIdIdentifier = "sentry-dbid-78ce0388-27ac-4b17-bca0-c443d45725e4");
12
12
  } catch {
@@ -1,14 +1,14 @@
1
- import { j as e } from "./jsx-runtime-DAY7g56y.js";
2
- import { r as I, I as _ } from "./index-C04zJbbt.js";
3
- import { aj as b, ak as E, al as w, b as D, s as N } from "./floorplan.ready-CNnM_Yyc.js";
4
- import { k as a } from "./KioskStore-NqUeUutQ.js";
5
- import { y as L } from "./index-BEcZnTgd.js";
1
+ import { j as e } from "./jsx-runtime-rSp8ZldI.js";
2
+ import { r as I, C as _ } from "./index-C3wwaChX.js";
3
+ import { ak as b, al as E, ag as w, b as D, s as N } from "./floorplan.ready-ClV1c-bq.js";
4
+ import { k as a } from "./KioskStore-B7BTukd0.js";
5
+ import { y as L } from "./index-DkMgYVuZ.js";
6
6
  (function() {
7
7
  try {
8
8
  var s = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
9
- s.SENTRY_RELEASE = { id: "3.0.0-alpha.16" };
9
+ s.SENTRY_RELEASE = { id: "3.0.0-alpha.17" };
10
10
  var t = new s.Error().stack;
11
- t && (s._sentryDebugIds = s._sentryDebugIds || {}, s._sentryDebugIds[t] = "2dea61eb-bdc1-40ed-8770-8ff33d5c06f5", s._sentryDebugIdIdentifier = "sentry-dbid-2dea61eb-bdc1-40ed-8770-8ff33d5c06f5");
11
+ t && (s._sentryDebugIds = s._sentryDebugIds || {}, s._sentryDebugIds[t] = "309af745-be67-45ab-9d1f-4d81116b15a1", s._sentryDebugIdIdentifier = "sentry-dbid-309af745-be67-45ab-9d1f-4d81116b15a1");
12
12
  } catch {
13
13
  }
14
14
  })();
@@ -19,35 +19,35 @@ function S({
19
19
  max: r,
20
20
  step: i,
21
21
  onChange: l,
22
- isDisabled: o,
23
- symbol: c
22
+ isDisabled: c,
23
+ symbol: o
24
24
  }) {
25
- const x = () => l(Math.min(s + i, r)), j = () => l(Math.max(s - i, n));
25
+ const x = () => l(Math.min(s + i, r)), k = () => l(Math.max(s - i, n));
26
26
  let d = 0;
27
27
  r !== n && (d = (s - n) / (r - n) * 100);
28
- let p = "-50%";
29
- return d === 0 ? p = "0" : d === 100 && (p = "-100%"), /* @__PURE__ */ e.jsxs("div", { className: "efp-range-input", children: [
28
+ let f = "-50%";
29
+ return d === 0 ? f = "0" : d === 100 && (f = "-100%"), /* @__PURE__ */ e.jsxs("div", { className: "efp-range-input", children: [
30
30
  /* @__PURE__ */ e.jsxs("span", { className: "efp-range-input__header", children: [
31
- /* @__PURE__ */ e.jsx("button", { type: "button", className: "efp-range-input__control", draggable: "false", onClick: j, disabled: o, "aria-label": "Decrease", children: /* @__PURE__ */ e.jsx("i", { className: "icon-minus" }) }),
31
+ /* @__PURE__ */ e.jsx("button", { type: "button", className: "efp-range-input__control", draggable: "false", onClick: k, disabled: c, "aria-label": "Decrease", children: /* @__PURE__ */ e.jsx("i", { className: "icon-minus" }) }),
32
32
  /* @__PURE__ */ e.jsxs("span", { className: "efp-no-select", children: [
33
33
  t,
34
34
  " ",
35
35
  /* @__PURE__ */ e.jsxs("strong", { children: [
36
36
  s,
37
- c != null ? c : ""
37
+ o != null ? o : ""
38
38
  ] })
39
39
  ] }),
40
- /* @__PURE__ */ e.jsx("button", { type: "button", className: "efp-range-input__control", draggable: "false", onClick: x, disabled: o, "aria-label": "Increase", children: /* @__PURE__ */ e.jsx("i", { className: "icon-plus" }) })
40
+ /* @__PURE__ */ e.jsx("button", { type: "button", className: "efp-range-input__control", draggable: "false", onClick: x, disabled: c, "aria-label": "Increase", children: /* @__PURE__ */ e.jsx("i", { className: "icon-plus" }) })
41
41
  ] }),
42
42
  /* @__PURE__ */ e.jsxs("label", { className: "efp-range-input__input-block", children: [
43
- /* @__PURE__ */ e.jsx("input", { className: "efp-range-input__input", name: t, type: "range", min: n, max: r, step: i, value: s, disabled: o, onChange: (u) => l(Number(u.target.value)) }),
43
+ /* @__PURE__ */ e.jsx("input", { className: "efp-range-input__input", name: t, type: "range", min: n, max: r, step: i, value: s, disabled: c, onChange: (u) => l(Number(u.target.value)) }),
44
44
  /* @__PURE__ */ e.jsxs("span", { className: "efp-range-input__custom-input", children: [
45
45
  /* @__PURE__ */ e.jsx("span", { className: "efp-range-input__progress", style: {
46
46
  width: `${d}%`
47
47
  } }),
48
48
  /* @__PURE__ */ e.jsx("span", { className: "efp-range-input__thumb", style: {
49
49
  insetInlineStart: `${d}%`,
50
- transform: `translateX(${p}) translateY(-50%)`
50
+ transform: `translateX(${f}) translateY(-50%)`
51
51
  } })
52
52
  ] })
53
53
  ] })
@@ -60,20 +60,20 @@ function C({
60
60
  isDeleteDisabled: r,
61
61
  areControlsDisabled: i,
62
62
  angle: l,
63
- onRotateIcon: o,
64
- uiScale: c,
63
+ onRotateIcon: c,
64
+ uiScale: o,
65
65
  minUiScale: x,
66
- maxUiScale: j,
66
+ maxUiScale: k,
67
67
  uiScaleStep: d,
68
- onUiScaleChange: p,
68
+ onUiScaleChange: f,
69
69
  iconSizePercent: u,
70
- onChangeIconSizePercent: k
70
+ onChangeIconSizePercent: j
71
71
  }) {
72
72
  return /* @__PURE__ */ e.jsx("div", { className: "efp-set-kiosk-form", children: /* @__PURE__ */ e.jsxs("div", { className: "efp-set-kiosk-form__content", children: [
73
73
  /* @__PURE__ */ e.jsxs("div", { className: "efp-set-kiosk-form__inputs", children: [
74
- /* @__PURE__ */ e.jsx(S, { value: l, name: "Icon rotation", min: 0, max: 360, step: 1, symbol: "°", isDisabled: i, onChange: o }),
75
- /* @__PURE__ */ e.jsx(S, { value: u, name: "Icon size", min: 100, max: 300, step: 1, symbol: "%", isDisabled: i, onChange: k }),
76
- /* @__PURE__ */ e.jsx(S, { value: Math.round(c * 100), name: "UI scale", min: x * 100, max: j * 100, step: d * 100, symbol: "%", isDisabled: i, onChange: (v) => p(v / 100) })
74
+ /* @__PURE__ */ e.jsx(S, { value: l, name: "Icon rotation", min: 0, max: 360, step: 1, symbol: "°", isDisabled: i, onChange: c }),
75
+ /* @__PURE__ */ e.jsx(S, { value: u, name: "Icon size", min: 100, max: 300, step: 1, symbol: "%", isDisabled: i, onChange: j }),
76
+ /* @__PURE__ */ e.jsx(S, { value: Math.round(o * 100), name: "UI scale", min: x * 100, max: k * 100, step: d * 100, symbol: "%", isDisabled: i, onChange: (v) => f(v / 100) })
77
77
  ] }),
78
78
  /* @__PURE__ */ e.jsxs("div", { className: "efp-set-kiosk-form__controls", children: [
79
79
  /* @__PURE__ */ e.jsx(b, { size: "md", variant: "gray", text: "Delete kiosk", onClick: t, disabled: r }),
@@ -100,14 +100,14 @@ function z({
100
100
  cancelLabel: r,
101
101
  onConfirm: i,
102
102
  onCancel: l,
103
- confirmVariant: o,
104
- cancelVariant: c
103
+ confirmVariant: c,
104
+ cancelVariant: o
105
105
  }) {
106
106
  return /* @__PURE__ */ e.jsxs("div", { className: "efp-confirm-dialog", children: [
107
107
  t && /* @__PURE__ */ e.jsx("div", { className: "efp-confirm-dialog__content", children: t }),
108
108
  /* @__PURE__ */ e.jsxs("div", { className: "efp-confirm-dialog__controls", children: [
109
- /* @__PURE__ */ e.jsx(b, { size: "md", text: n, onClick: i, disabled: s, variant: o }),
110
- l && /* @__PURE__ */ e.jsx(b, { size: "md", text: r, variant: c, onClick: l, disabled: s })
109
+ /* @__PURE__ */ e.jsx(b, { size: "md", text: n, onClick: i, disabled: s, variant: c }),
110
+ l && /* @__PURE__ */ e.jsx(b, { size: "md", text: r, variant: o, onClick: l, disabled: s })
111
111
  ] })
112
112
  ] });
113
113
  }
@@ -137,14 +137,14 @@ function K({
137
137
  confirmOnClose: r,
138
138
  angle: i,
139
139
  uiScale: l,
140
- minUiScale: o,
141
- maxUiScale: c,
140
+ minUiScale: c,
141
+ maxUiScale: o,
142
142
  uiScaleStep: x,
143
- iconSizePercent: j,
143
+ iconSizePercent: k,
144
144
  isInfoVisible: d,
145
- statusMessages: p,
145
+ statusMessages: f,
146
146
  onClose: u,
147
- onDelete: k,
147
+ onDelete: j,
148
148
  onSave: v,
149
149
  onChange: m
150
150
  }) {
@@ -157,12 +157,12 @@ function K({
157
157
  /* @__PURE__ */ e.jsx("img", { src: `${_}icons/dragdrop-solid.svg`, alt: "Drag and Drop Icon", width: "24", height: "24" }),
158
158
  /* @__PURE__ */ e.jsx("span", { className: "efp-no-select", children: h ? h.title : "Set Kiosk" }),
159
159
  /* @__PURE__ */ e.jsx("button", { type: "button", draggable: "false", className: "efp-set-kiosk-mode__close", "aria-label": "Close", onClick: () => {
160
- const f = () => {
160
+ const p = () => {
161
161
  g(null);
162
162
  }, y = () => {
163
163
  u == null || u(), g(null);
164
164
  };
165
- h ? f() : r ? g({
165
+ h ? p() : r ? g({
166
166
  title: "Leave without saving?",
167
167
  content: /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
168
168
  "You have changes that ",
@@ -171,13 +171,13 @@ function K({
171
171
  confirmLabel: "Keep editing",
172
172
  cancelLabel: "Leave",
173
173
  onCancel: y,
174
- onConfirm: f,
174
+ onConfirm: p,
175
175
  confirmVariant: "primary",
176
176
  cancelVariant: "danger"
177
177
  }) : y();
178
178
  }, children: /* @__PURE__ */ e.jsx("i", { className: "icon-close" }) })
179
179
  ] }),
180
- !h && /* @__PURE__ */ e.jsx(M, { messages: p }),
180
+ !h && /* @__PURE__ */ e.jsx(M, { messages: f }),
181
181
  d ? /* @__PURE__ */ e.jsx(U, { list: [{
182
182
  id: "1",
183
183
  image: {
@@ -215,30 +215,30 @@ function K({
215
215
  g(null);
216
216
  },
217
217
  onCancel: () => {
218
- k == null || k(), g(null);
218
+ j == null || j(), g(null);
219
219
  },
220
220
  confirmVariant: "gray",
221
221
  cancelVariant: "danger"
222
222
  });
223
- }, angle: i, onRotateIcon: (f) => m == null ? void 0 : m({
224
- angle: f
225
- }), uiScale: l, minUiScale: o, maxUiScale: c, uiScaleStep: x, onUiScaleChange: (f) => m == null ? void 0 : m({
226
- scale: f
227
- }), iconSizePercent: j, onChangeIconSizePercent: (f) => m == null ? void 0 : m({
228
- percent: f
223
+ }, angle: i, onRotateIcon: (p) => m == null ? void 0 : m({
224
+ angle: p
225
+ }), uiScale: l, minUiScale: c, maxUiScale: o, uiScaleStep: x, onUiScaleChange: (p) => m == null ? void 0 : m({
226
+ scale: p
227
+ }), iconSizePercent: k, onChangeIconSizePercent: (p) => m == null ? void 0 : m({
228
+ percent: p
229
229
  }) }) })
230
230
  ] });
231
231
  }
232
232
  const P = w(() => {
233
233
  var t, n, r;
234
234
  D(() => a.handleSetupReady()), I.useEffect(() => {
235
- const i = (c) => a.setInitialPtScale(c);
235
+ const i = (o) => a.setInitialPtScale(o);
236
236
  a.renderer.events.addEventListener("viewport:ptscale", i);
237
- const l = (c) => a.handleClick(c);
237
+ const l = (o) => a.handleClick(o);
238
238
  a.renderer.events.addEventListener("pointer:click", l);
239
- const o = () => a.handleNavigationChange();
240
- return a.renderer.events.addEventListener("navigation:change", o), () => {
241
- a.renderer.events.removeEventListener("viewport:ptscale", i), a.renderer.events.removeEventListener("pointer:click", l), a.renderer.events.removeEventListener("navigation:change", o);
239
+ const c = () => a.handleNavigationChange();
240
+ return a.renderer.events.addEventListener("navigation:change", c), () => {
241
+ a.renderer.events.removeEventListener("viewport:ptscale", i), a.renderer.events.removeEventListener("pointer:click", l), a.renderer.events.removeEventListener("navigation:change", c);
242
242
  };
243
243
  }, [a.renderer]);
244
244
  const s = !!a.kiosk;