@expofp/floorplan 3.2.6 → 3.2.7

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 (229) hide show
  1. package/dist/browser/{CookieConsent-AXeH9_mR.js → CookieConsent-C0WrwOQU.js} +2995 -2564
  2. package/dist/browser/{Debug-D5ilpjt9.js → Debug-7KOvbcgu.js} +9 -9
  3. package/dist/browser/{Demo-D2ZQ82R-.js → Demo-BTrpOaT8.js} +12 -12
  4. package/dist/browser/{Free-Cmu2GELK.js → Free-1JPcV1Tq.js} +14 -14
  5. package/dist/browser/{Gallery-CHhf9uSJ.js → Gallery-PP-H3fui.js} +9 -9
  6. package/dist/browser/{GpsLoader-D1p1K7tv.js → GpsLoader-pif05qaO.js} +33 -33
  7. package/dist/browser/{KioskStore-B5seJF_w.js → KioskStore-BmqfGXEW.js} +17 -17
  8. package/dist/browser/Mapbox-BEO3oA1E.js +120 -0
  9. package/dist/browser/{SetKioskMode-CsvIhnEp.js → SetKioskMode-BjyRxPem.js} +17 -17
  10. package/dist/browser/ShowKiosk-DrNFPO0o.js +26 -0
  11. package/dist/browser/{ThreeComponent-l50EC7kp.js → ThreeComponent-CkTRDPj-.js} +244 -244
  12. package/dist/browser/{TouchHand-CzIhbCk_.js → TouchHand-BX9ElW6V.js} +4 -4
  13. package/dist/browser/{ViewerMenuPanel-DN5BiNZZ.js → ViewerMenuPanel-BpxIaNdU.js} +15 -15
  14. package/dist/browser/{add-debug-secret-listener-BP0ji46o.js → add-debug-secret-listener-BV3Vlx9C.js} +1 -1
  15. package/dist/browser/{boolean-editor-BIXc9xad.js → boolean-editor-DfkvcIH0.js} +10 -10
  16. package/dist/browser/bootIntercom-XKKrQyNd.js +37 -0
  17. package/dist/browser/{box-Cj2OPB5o.js → box-Cy-U95_G.js} +5 -5
  18. package/dist/browser/{browser-iEBlxETL.js → browser-oUjLaYcl.js} +2 -2
  19. package/dist/browser/bundle.json +53 -53
  20. package/dist/browser/{classnames-BdEjlCJw.js → classnames-DpaK9tQ8.js} +2 -2
  21. package/dist/browser/{client-AFMbhyej.js → client-smunwL9U.js} +4 -4
  22. package/dist/browser/{data-BNcMQJM9.js → data-BVaCNE1I.js} +56 -56
  23. package/dist/browser/{debug-overlay-BvzIl4S5.js → debug-overlay-CYWt6Xv8.js} +11 -11
  24. package/dist/browser/{debug-ui-Cjk1VEBj.js → debug-ui-D63K4FZz.js} +6 -6
  25. package/dist/browser/{dist-CCy_DoUq.js → dist-BU_A8R-K.js} +6 -6
  26. package/dist/browser/{dist-B03hOAXP.js → dist-XBFUxmAT.js} +3 -3
  27. package/dist/browser/{dist-CpONuUgR.js → dist-irw0I8ne.js} +5 -5
  28. package/dist/browser/{efp-debug-init-DjqnYMK4.js → efp-debug-init-CPGmIrNj.js} +2 -2
  29. package/dist/browser/{enum-editor-DNavJMSd.js → enum-editor-B_JVlLVN.js} +11 -11
  30. package/dist/browser/{exports-BaXbuICo.js → exports-C5NN5UxX.js} +1 -1
  31. package/dist/browser/{favicon-CPIIkXVW.js → favicon-B0nAd4Pr.js} +1 -1
  32. package/dist/browser/{fetch-retry.umd-DuhpKOAv.js → fetch-retry.umd-DBq0GieJ.js} +2 -2
  33. package/dist/browser/{flex-BEEq9bN8.js → flex-DOhgUp1k.js} +6 -6
  34. package/dist/browser/{flex.props-DxAZIGSj.js → flex.props-D8JHoC5B.js} +2 -2
  35. package/dist/browser/{floorplan.loader-KZ3u0Juq.js → floorplan.loader-Cme4mipd.js} +9 -9
  36. package/dist/browser/{floorplan.ready-DMR98iUb.js → floorplan.ready-C25lQjgP.js} +215 -254
  37. package/dist/browser/{fuse-CjSkZXtV.js → fuse-D1o3bI0m.js} +2 -2
  38. package/dist/browser/index.js +12 -12
  39. package/dist/browser/{is-debug-DPDBcjeg.js → is-debug-D9BzIDdu.js} +3 -3
  40. package/dist/browser/{jsx-runtime-DnQmxKxk.js → jsx-runtime-C0zFKVvF.js} +2 -2
  41. package/dist/browser/{lib-BXRYaEmQ.js → lib-D2sBqUIY.js} +4 -4
  42. package/dist/browser/{main-Bw8nBuIh.js → main-GLYY8zv3.js} +1 -1
  43. package/dist/browser/{mobx-DsBbHmhw.js → mobx-D5pYBM85.js} +4 -4
  44. package/dist/browser/{particles.min-BmgWvtXZ.js → particles.min-egXyIDIV.js} +2 -2
  45. package/dist/browser/{prop-types-CRT2Qy-L.js → prop-types-xhHzBbvi.js} +2 -2
  46. package/dist/browser/{react-BCrcyjAU.js → react-CanbjT5I.js} +2 -2
  47. package/dist/browser/{react-dom-z6XbaPl9.js → react-dom-wNBYs_H5.js} +3 -3
  48. package/dist/browser/{reset-all-settings-BOrTf1Lp.js → reset-all-settings-5oUUws5J.js} +7 -7
  49. package/dist/browser/{rolldown-runtime-BSQQuCTD.js → rolldown-runtime-BKpHzyBK.js} +1 -1
  50. package/dist/browser/{settings-DTDJKJjP.js → settings-D5qqIejY.js} +2 -2
  51. package/dist/browser/{settings-item-DdnzmVZj.js → settings-item-Blm7DAEt.js} +6 -6
  52. package/dist/browser/{store-CB1U4gvI.js → store-CM7rJpRZ.js} +1144 -911
  53. package/dist/browser/{string-editor-BEncfiNG.js → string-editor-CLdOCbq2.js} +8 -8
  54. package/dist/browser/{theme-RyeKAHMc.js → theme-App4ywLP.js} +8 -8
  55. package/dist/browser/{ui-D5E2lSMl.js → ui-BN6m_5pK.js} +8 -8
  56. package/dist/esm/RouteCutIn.js +1 -1
  57. package/dist/esm/components/IntercomLauncher.d.ts +5 -0
  58. package/dist/esm/components/IntercomLauncher.js +1 -0
  59. package/dist/esm/components/Layout.js +1 -1
  60. package/dist/esm/components/Map/Map.js +1 -1
  61. package/dist/esm/components/Map/drawing/config/config-all.js +1 -1
  62. package/dist/esm/components/gps/useUserLocationAndHeading.js +1 -1
  63. package/dist/esm/components/gps/utils.js +1 -1
  64. package/dist/esm/floorplan.ready.js +1 -1
  65. package/dist/esm/intercom/bootIntercom.js +1 -19
  66. package/dist/esm/store/IntercomStore.d.ts +7 -0
  67. package/dist/esm/store/IntercomStore.js +1 -0
  68. package/dist/esm/store/RootStore.d.ts +2 -0
  69. package/dist/esm/store/RootStore.js +1 -1
  70. package/dist/esm/store/RouteStore.d.ts +1 -1
  71. package/dist/esm/store/RouteStore.js +1 -1
  72. package/dist/esm/store/index.d.ts +1 -0
  73. package/dist/esm/store/index.js +1 -1
  74. package/dist/esm/utils/gps.d.ts +0 -1
  75. package/dist/esm/utils/gps.js +1 -1
  76. package/dist/esm/utils/haversineDistance.d.ts +7 -0
  77. package/dist/esm/utils/haversineDistance.js +1 -0
  78. package/dist/esm/wayfinding/adapters/boothToEndpoint.d.ts +13 -0
  79. package/dist/esm/wayfinding/adapters/boothToEndpoint.js +1 -0
  80. package/dist/esm/wayfinding/adapters/boothToWaypoint.d.ts +1 -1
  81. package/dist/esm/wayfinding/adapters/canvasIconProvider.d.ts +20 -0
  82. package/dist/esm/wayfinding/adapters/canvasIconProvider.js +1 -0
  83. package/dist/esm/wayfinding/adapters/floorContext.d.ts +10 -0
  84. package/dist/esm/wayfinding/adapters/floorContext.js +1 -0
  85. package/dist/esm/wayfinding/adapters/graphDataSource.d.ts +1 -1
  86. package/dist/esm/wayfinding/adapters/iconProvider.d.ts +15 -0
  87. package/dist/esm/wayfinding/adapters/index.d.ts +9 -0
  88. package/dist/esm/wayfinding/adapters/index.js +1 -0
  89. package/dist/esm/wayfinding/adapters/kioskCanvas.d.ts +7 -0
  90. package/dist/esm/wayfinding/adapters/kioskCanvas.js +1 -0
  91. package/dist/esm/wayfinding/adapters/positionInput.d.ts +11 -0
  92. package/dist/esm/wayfinding/adapters/positionInput.js +1 -0
  93. package/dist/esm/wayfinding/bindMobxReactions.d.ts +27 -0
  94. package/dist/esm/wayfinding/bindMobxReactions.js +1 -0
  95. package/dist/esm/wayfinding/{__tests__ → core/__tests__}/helpers.d.ts +0 -5
  96. package/dist/esm/wayfinding/core/__tests__/helpers.js +1 -0
  97. package/dist/esm/wayfinding/core/createWayfindingEngine.d.ts +16 -0
  98. package/dist/esm/wayfinding/core/createWayfindingEngine.js +1 -0
  99. package/dist/esm/wayfinding/{graph → core/graph}/graphCache.d.ts +2 -1
  100. package/dist/esm/wayfinding/core/index.d.ts +16 -0
  101. package/dist/esm/wayfinding/core/index.js +1 -0
  102. package/dist/esm/wayfinding/core/position/distanceToRoute.d.ts +3 -0
  103. package/dist/esm/wayfinding/core/position/distanceToRoute.js +1 -0
  104. package/dist/esm/wayfinding/core/position/gpsThreshold.d.ts +22 -0
  105. package/dist/esm/wayfinding/core/position/gpsThreshold.js +1 -0
  106. package/dist/esm/wayfinding/core/position/shouldReroute.d.ts +3 -0
  107. package/dist/esm/wayfinding/core/position/shouldReroute.js +1 -0
  108. package/dist/esm/wayfinding/core/position/snapToRoute.d.ts +4 -0
  109. package/dist/esm/wayfinding/core/position/snapToRoute.js +1 -0
  110. package/dist/esm/{components/Map/drawing/config/route-snapping → wayfinding/core/position}/splitRouteByPoint.d.ts +1 -1
  111. package/dist/esm/wayfinding/core/position/splitRouteByPoint.js +1 -0
  112. package/dist/esm/wayfinding/core/rendering/computeTrailPoints.d.ts +19 -0
  113. package/dist/esm/wayfinding/core/rendering/computeTrailPoints.js +1 -0
  114. package/dist/esm/wayfinding/{rendering → core/rendering}/computeTransitionPoints.d.ts +2 -2
  115. package/dist/esm/wayfinding/core/rendering/getVisibleRouteLines.d.ts +11 -0
  116. package/dist/esm/wayfinding/core/rendering/getVisibleRouteLines.js +1 -0
  117. package/dist/esm/wayfinding/core/rendering/normalizeRouteDirection.d.ts +20 -0
  118. package/dist/esm/wayfinding/core/rendering/normalizeRouteDirection.js +1 -0
  119. package/dist/esm/wayfinding/core/rendering/routeGeometry.d.ts +15 -0
  120. package/dist/esm/wayfinding/core/rendering/routeGeometry.js +1 -0
  121. package/dist/esm/wayfinding/core/routing/optimizeWaypointOrder.d.ts +19 -0
  122. package/dist/esm/wayfinding/core/routing/optimizeWaypointOrder.js +1 -0
  123. package/dist/esm/wayfinding/core/routing/resolveWaypointCandidates.d.ts +7 -0
  124. package/dist/esm/wayfinding/core/routing/resolveWaypointCandidates.js +1 -0
  125. package/dist/esm/wayfinding/{types.d.ts → core/types.d.ts} +37 -0
  126. package/dist/esm/wayfinding/createWayfinding.d.ts +3 -0
  127. package/dist/esm/wayfinding/createWayfinding.js +1 -0
  128. package/dist/esm/wayfinding/handlers/kioskHandler.d.ts +25 -0
  129. package/dist/esm/wayfinding/handlers/kioskHandler.js +1 -0
  130. package/dist/esm/wayfinding/handlers/yahHandler.d.ts +23 -0
  131. package/dist/esm/wayfinding/handlers/yahHandler.js +1 -0
  132. package/dist/esm/wayfinding/layers.d.ts +14 -0
  133. package/dist/esm/wayfinding/layers.js +1 -0
  134. package/dist/esm/wayfinding/renderer/createWayfindingRenderer.d.ts +14 -0
  135. package/dist/esm/wayfinding/renderer/createWayfindingRenderer.js +1 -0
  136. package/dist/esm/wayfinding/renderer/iconManager.d.ts +31 -0
  137. package/dist/esm/wayfinding/renderer/iconManager.js +1 -0
  138. package/dist/esm/wayfinding/renderer/index.d.ts +3 -0
  139. package/dist/esm/wayfinding/renderer/index.js +1 -0
  140. package/dist/esm/wayfinding/renderer/layerManager.d.ts +27 -0
  141. package/dist/esm/wayfinding/renderer/layerManager.js +1 -0
  142. package/dist/esm/wayfinding/renderer/routeLineManager.d.ts +42 -0
  143. package/dist/esm/wayfinding/renderer/routeLineManager.js +1 -0
  144. package/dist/esm/wayfinding/renderer/trailManager.d.ts +27 -0
  145. package/dist/esm/wayfinding/renderer/trailManager.js +1 -0
  146. package/dist/esm/wayfinding/renderer/types.d.ts +162 -0
  147. package/dist/esm/wayfinding/runtime/createWayfindingRuntime.d.ts +3 -0
  148. package/dist/esm/wayfinding/runtime/createWayfindingRuntime.js +1 -0
  149. package/dist/esm/wayfinding/runtime/endpointView.d.ts +16 -0
  150. package/dist/esm/wayfinding/runtime/endpointView.js +1 -0
  151. package/dist/esm/wayfinding/runtime/getRouteLines.d.ts +13 -0
  152. package/dist/esm/wayfinding/runtime/getRouteLines.js +1 -0
  153. package/dist/esm/wayfinding/runtime/positionTrailView.d.ts +57 -0
  154. package/dist/esm/wayfinding/runtime/positionTrailView.js +1 -0
  155. package/dist/esm/wayfinding/runtime/positionView.d.ts +23 -0
  156. package/dist/esm/wayfinding/runtime/positionView.js +1 -0
  157. package/dist/esm/wayfinding/runtime/routeLinesView.d.ts +18 -0
  158. package/dist/esm/wayfinding/runtime/routeLinesView.js +1 -0
  159. package/dist/esm/wayfinding/runtime/routeRenderData.d.ts +29 -0
  160. package/dist/esm/wayfinding/runtime/routeRenderData.js +1 -0
  161. package/dist/esm/wayfinding/runtime/routeUpdate.d.ts +14 -0
  162. package/dist/esm/wayfinding/runtime/routeUpdate.js +1 -0
  163. package/dist/esm/wayfinding/runtime/trailView.d.ts +21 -0
  164. package/dist/esm/wayfinding/runtime/trailView.js +1 -0
  165. package/dist/esm/wayfinding/runtime/transitionView.d.ts +18 -0
  166. package/dist/esm/wayfinding/runtime/transitionView.js +1 -0
  167. package/dist/esm/wayfinding/runtime/types.d.ts +72 -0
  168. package/dist/esm/wayfinding/runtime/types.js +1 -0
  169. package/dist/esm/wayfinding/utils/findBoothInRadius.d.ts +4 -0
  170. package/dist/esm/wayfinding/utils/findBoothInRadius.js +1 -0
  171. package/package.json +3 -3
  172. package/dist/browser/Mapbox-vm-JvDPW.js +0 -120
  173. package/dist/browser/ShowKiosk-BL9nfBDf.js +0 -26
  174. package/dist/browser/bootIntercom-D3i1xdrZ.js +0 -40
  175. package/dist/esm/components/Map/drawing/config/config-wf.d.ts +0 -8
  176. package/dist/esm/components/Map/drawing/config/config-wf.js +0 -1
  177. package/dist/esm/components/Map/drawing/config/route-snapping/index.d.ts +0 -5
  178. package/dist/esm/components/Map/drawing/config/route-snapping/index.js +0 -1
  179. package/dist/esm/components/Map/drawing/config/route-snapping/snapPositionToRoute.d.ts +0 -21
  180. package/dist/esm/components/Map/drawing/config/route-snapping/snapPositionToRoute.js +0 -1
  181. package/dist/esm/components/Map/drawing/config/route-snapping/splitRouteByPoint.js +0 -1
  182. package/dist/esm/components/Map/drawing/config/route-snapping/types.d.ts +0 -18
  183. package/dist/esm/components/Map/drawing/config/route-snapping/utils.d.ts +0 -29
  184. package/dist/esm/components/Map/drawing/config/route-snapping/utils.js +0 -1
  185. package/dist/esm/utils/buildOptimizedRoute.d.ts +0 -11
  186. package/dist/esm/utils/buildOptimizedRoute.js +0 -1
  187. package/dist/esm/wayfinding/_PLAN-public-api.d.ts +0 -220
  188. package/dist/esm/wayfinding/__integration__/legacy/legacyWayfinding.d.ts +0 -27
  189. package/dist/esm/wayfinding/__integration__/legacy/legacyWayfinding.js +0 -1
  190. package/dist/esm/wayfinding/__tests__/helpers.js +0 -1
  191. package/dist/esm/wayfinding/index.d.ts +0 -18
  192. package/dist/esm/wayfinding/index.js +0 -1
  193. package/dist/esm/wayfinding/rendering/normalizeRouteDirection.d.ts +0 -19
  194. package/dist/esm/wayfinding/rendering/normalizeRouteDirection.js +0 -1
  195. package/dist/esm/wayfinding/rendering/routeGeometry.d.ts +0 -16
  196. package/dist/esm/wayfinding/rendering/routeGeometry.js +0 -1
  197. package/dist/esm/wayfinding/routing/getGraphLines.d.ts +0 -14
  198. package/dist/esm/wayfinding/routing/getGraphLines.js +0 -1
  199. /package/dist/esm/{components/Map/drawing/config/route-snapping/types.js → wayfinding/adapters/iconProvider.js} +0 -0
  200. /package/dist/esm/wayfinding/{graph → core/graph}/buildGraph.d.ts +0 -0
  201. /package/dist/esm/wayfinding/{graph → core/graph}/buildGraph.js +0 -0
  202. /package/dist/esm/wayfinding/{graph → core/graph}/buildNGraph.d.ts +0 -0
  203. /package/dist/esm/wayfinding/{graph → core/graph}/buildNGraph.js +0 -0
  204. /package/dist/esm/wayfinding/{graph → core/graph}/constants.d.ts +0 -0
  205. /package/dist/esm/wayfinding/{graph → core/graph}/constants.js +0 -0
  206. /package/dist/esm/wayfinding/{graph → core/graph}/findShortestPath.d.ts +0 -0
  207. /package/dist/esm/wayfinding/{graph → core/graph}/findShortestPath.js +0 -0
  208. /package/dist/esm/wayfinding/{graph → core/graph}/graphCache.js +0 -0
  209. /package/dist/esm/wayfinding/{graph → core/graph}/graphHelpers.d.ts +0 -0
  210. /package/dist/esm/wayfinding/{graph → core/graph}/graphHelpers.js +0 -0
  211. /package/dist/esm/wayfinding/{graph → core/graph}/linkCost.d.ts +0 -0
  212. /package/dist/esm/wayfinding/{graph → core/graph}/linkCost.js +0 -0
  213. /package/dist/esm/wayfinding/{graph → core/graph}/pathfinder/aStarPathFinder.d.ts +0 -0
  214. /package/dist/esm/wayfinding/{graph → core/graph}/pathfinder/aStarPathFinder.js +0 -0
  215. /package/dist/esm/wayfinding/{graph → core/graph}/pathfinder/parseNodeId.d.ts +0 -0
  216. /package/dist/esm/wayfinding/{graph → core/graph}/pathfinder/parseNodeId.js +0 -0
  217. /package/dist/esm/wayfinding/{rendering → core/rendering}/computeTransitionPoints.js +0 -0
  218. /package/dist/esm/wayfinding/{routing → core/routing}/buildMultiPointRoute.d.ts +0 -0
  219. /package/dist/esm/wayfinding/{routing → core/routing}/buildMultiPointRoute.js +0 -0
  220. /package/dist/esm/wayfinding/{routing → core/routing}/buildRoute.d.ts +0 -0
  221. /package/dist/esm/wayfinding/{routing → core/routing}/buildRoute.js +0 -0
  222. /package/dist/esm/wayfinding/{routing → core/routing}/findNearestGraphPoint.d.ts +0 -0
  223. /package/dist/esm/wayfinding/{routing → core/routing}/findNearestGraphPoint.js +0 -0
  224. /package/dist/esm/wayfinding/{routing → core/routing}/getRouteLength.d.ts +0 -0
  225. /package/dist/esm/wayfinding/{routing → core/routing}/getRouteLength.js +0 -0
  226. /package/dist/esm/wayfinding/{routing → core/routing}/routeResult.d.ts +0 -0
  227. /package/dist/esm/wayfinding/{routing → core/routing}/routeResult.js +0 -0
  228. /package/dist/esm/wayfinding/{types.js → core/types.js} +0 -0
  229. /package/dist/esm/wayfinding/{_PLAN-public-api.js → renderer/types.js} +0 -0
@@ -2,16 +2,16 @@ 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.2.6" };
5
+ e.SENTRY_RELEASE = { id: "3.2.7" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7da4b0d7-8cdd-4800-9671-5cf8776518b8", e._sentryDebugIdIdentifier = "sentry-dbid-7da4b0d7-8cdd-4800-9671-5cf8776518b8");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "fe68de66-449b-47a5-9643-fbfad7061204", e._sentryDebugIdIdentifier = "sentry-dbid-fe68de66-449b-47a5-9643-fbfad7061204");
8
8
  } catch {}
9
9
  })();
10
- import "./rolldown-runtime-BSQQuCTD.js";
11
- import { t as e } from "./react-BCrcyjAU.js";
12
- import { t } from "./jsx-runtime-DnQmxKxk.js";
13
- import { u as n } from "./is-debug-DPDBcjeg.js";
14
- import { Qn as r, a as i, o as a } from "./store-CB1U4gvI.js";
10
+ import "./rolldown-runtime-BKpHzyBK.js";
11
+ import { t as e } from "./react-CanbjT5I.js";
12
+ import { t } from "./jsx-runtime-C0zFKVvF.js";
13
+ import { u as n } from "./is-debug-D9BzIDdu.js";
14
+ import { o as r, s as i, tr as a } from "./store-CM7rJpRZ.js";
15
15
  e();
16
16
  var o = [], s = t();
17
17
  function c() {
@@ -36,7 +36,7 @@ function c() {
36
36
  className: "debug",
37
37
  children: [
38
38
  /* @__PURE__ */ (0, s.jsx)("button", {
39
- onClick: () => i.searchStore.selectSearch(""),
39
+ onClick: () => r.searchStore.selectSearch(""),
40
40
  children: n("Close")
41
41
  }),
42
42
  /* @__PURE__ */ (0, s.jsxs)("div", { children: ["Total square: ", e] }),
@@ -44,7 +44,7 @@ function c() {
44
44
  ]
45
45
  });
46
46
  }
47
- var l = () => r(() => /* @__PURE__ */ (0, s.jsx)(s.Fragment, { children: a.list.type === "search" && a.list.text === "q1" ? /* @__PURE__ */ (0, s.jsx)(c, {}) : null }));
47
+ var l = () => a(() => /* @__PURE__ */ (0, s.jsx)(s.Fragment, { children: i.list.type === "search" && i.list.text === "q1" ? /* @__PURE__ */ (0, s.jsx)(c, {}) : null }));
48
48
  //#endregion
49
49
  export { l as default };
50
50
 
@@ -2,25 +2,25 @@ 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.2.6" };
5
+ e.SENTRY_RELEASE = { id: "3.2.7" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7166476f-dfb4-46f0-b1f6-c09bc299cf69", e._sentryDebugIdIdentifier = "sentry-dbid-7166476f-dfb4-46f0-b1f6-c09bc299cf69");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "c326f33e-4d3d-47ab-b113-27beb3794c27", e._sentryDebugIdIdentifier = "sentry-dbid-c326f33e-4d3d-47ab-b113-27beb3794c27");
8
8
  } catch {}
9
9
  })();
10
- import { n as e, r as t } from "./rolldown-runtime-BSQQuCTD.js";
11
- import { t as n } from "./react-BCrcyjAU.js";
12
- import { t as r } from "./jsx-runtime-DnQmxKxk.js";
13
- import { u as i } from "./is-debug-DPDBcjeg.js";
14
- import { t as a } from "./classnames-BdEjlCJw.js";
15
- import { Qn as o, Zn as s, o as c } from "./store-CB1U4gvI.js";
16
- import { n as l } from "./mobx-DsBbHmhw.js";
10
+ import { n as e, r as t } from "./rolldown-runtime-BKpHzyBK.js";
11
+ import { t as n } from "./react-CanbjT5I.js";
12
+ import { t as r } from "./jsx-runtime-C0zFKVvF.js";
13
+ import { u as i } from "./is-debug-D9BzIDdu.js";
14
+ import { t as a } from "./classnames-DpaK9tQ8.js";
15
+ import { er as o, s, tr as c } from "./store-CM7rJpRZ.js";
16
+ import { n as l } from "./mobx-D5pYBM85.js";
17
17
  n();
18
18
  var u = /* @__PURE__ */ t(a(), 1), d = /* @__PURE__ */ e({ default: () => m }), f = r(), p = "note-dismissed5";
19
19
  function m() {
20
- let e = s(() => ({
20
+ let e = o(() => ({
21
21
  hidden: !0,
22
22
  get top() {
23
- return c.screenSize.width <= 820;
23
+ return s.screenSize.width <= 820;
24
24
  },
25
25
  get classes() {
26
26
  return (0, u.default)({
@@ -34,7 +34,7 @@ function m() {
34
34
  sessionStorage.getItem(p) || window.setTimeout(() => {
35
35
  e.hidden = !1;
36
36
  }, 2e3);
37
- }), o(() => /* @__PURE__ */ (0, f.jsx)("div", {
37
+ }), c(() => /* @__PURE__ */ (0, f.jsx)("div", {
38
38
  className: e.classes,
39
39
  children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
40
40
  className: "demo__message",
@@ -2,32 +2,32 @@ 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.2.6" };
5
+ e.SENTRY_RELEASE = { id: "3.2.7" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ea2323dc-8387-4de2-a45e-2bdfd4d82d96", e._sentryDebugIdIdentifier = "sentry-dbid-ea2323dc-8387-4de2-a45e-2bdfd4d82d96");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "9ad5d0de-4572-49ad-88b4-4786c4730563", e._sentryDebugIdIdentifier = "sentry-dbid-9ad5d0de-4572-49ad-88b4-4786c4730563");
8
8
  } catch {}
9
9
  })();
10
- import { r as e } from "./rolldown-runtime-BSQQuCTD.js";
11
- import { t } from "./react-BCrcyjAU.js";
12
- import { t as n } from "./jsx-runtime-DnQmxKxk.js";
13
- import { u as r } from "./is-debug-DPDBcjeg.js";
14
- import { t as i } from "./classnames-BdEjlCJw.js";
15
- import { Qn as a, Zn as o, c as s, l as c, o as l } from "./store-CB1U4gvI.js";
16
- import { n as u } from "./mobx-DsBbHmhw.js";
10
+ import { r as e } from "./rolldown-runtime-BKpHzyBK.js";
11
+ import { t } from "./react-CanbjT5I.js";
12
+ import { t as n } from "./jsx-runtime-C0zFKVvF.js";
13
+ import { u as r } from "./is-debug-D9BzIDdu.js";
14
+ import { t as i } from "./classnames-DpaK9tQ8.js";
15
+ import { er as a, l as o, s, tr as c, u as l } from "./store-CM7rJpRZ.js";
16
+ import { n as u } from "./mobx-D5pYBM85.js";
17
17
  t();
18
18
  var d = /* @__PURE__ */ e(i(), 1), f = n();
19
19
  function p() {
20
- let e = o(() => ({
20
+ let e = a(() => ({
21
21
  hidden: !0,
22
22
  get classes() {
23
23
  return (0, d.default)("free", { hidden: this.hidden });
24
24
  }
25
25
  }));
26
26
  return u(() => {
27
- l.freeBannerDismissed || window.setTimeout(() => {
27
+ s.freeBannerDismissed || window.setTimeout(() => {
28
28
  e.hidden = !1;
29
29
  }, 2e3);
30
- }), a(() => /* @__PURE__ */ (0, f.jsx)("div", {
30
+ }), c(() => /* @__PURE__ */ (0, f.jsx)("div", {
31
31
  className: e.classes,
32
32
  children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
33
33
  className: "free__message",
@@ -35,7 +35,7 @@ function p() {
35
35
  r("Create a free floor plan at"),
36
36
  "\xA0",
37
37
  /* @__PURE__ */ (0, f.jsx)("a", {
38
- href: s(),
38
+ href: o(),
39
39
  target: "_blank",
40
40
  rel: "noopener noreferrer",
41
41
  children: "ExpoFP.com"
@@ -53,7 +53,7 @@ function p() {
53
53
  })] })
54
54
  }));
55
55
  function t() {
56
- e.hidden = !0, c(sessionStorage), l.freeBannerDismissed = !0;
56
+ e.hidden = !0, l(sessionStorage), s.freeBannerDismissed = !0;
57
57
  }
58
58
  }
59
59
  //#endregion
@@ -2,18 +2,18 @@ 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.2.6" };
5
+ e.SENTRY_RELEASE = { id: "3.2.7" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "10b12780-7f93-421d-8417-daedfbb93702", e._sentryDebugIdIdentifier = "sentry-dbid-10b12780-7f93-421d-8417-daedfbb93702");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4f99be9b-f3d6-4c6a-aab9-68f56e807027", e._sentryDebugIdIdentifier = "sentry-dbid-4f99be9b-f3d6-4c6a-aab9-68f56e807027");
8
8
  } catch {}
9
9
  })();
10
- import { n as e, r as t } from "./rolldown-runtime-BSQQuCTD.js";
11
- import { t as n } from "./react-BCrcyjAU.js";
12
- import { t as r } from "./jsx-runtime-DnQmxKxk.js";
13
- import { u as i } from "./is-debug-DPDBcjeg.js";
14
- import { t as a } from "./react-dom-z6XbaPl9.js";
15
- import { t as o } from "./classnames-BdEjlCJw.js";
16
- import { Xn as s, o as c } from "./store-CB1U4gvI.js";
10
+ import { n as e, r as t } from "./rolldown-runtime-BKpHzyBK.js";
11
+ import { t as n } from "./react-CanbjT5I.js";
12
+ import { t as r } from "./jsx-runtime-C0zFKVvF.js";
13
+ import { u as i } from "./is-debug-D9BzIDdu.js";
14
+ import { t as a } from "./react-dom-wNBYs_H5.js";
15
+ import { t as o } from "./classnames-DpaK9tQ8.js";
16
+ import { $n as s, s as c } from "./store-CM7rJpRZ.js";
17
17
  //#region src/utils/getRenderTargetFromRoot.ts
18
18
  var l = /* @__PURE__ */ t(n(), 1), u = r(), d = /* @__PURE__ */ t(a(), 1), f = /* @__PURE__ */ t(o(), 1);
19
19
  function p(e) {
@@ -1,46 +1,46 @@
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.2.6" };
4
+ e.SENTRY_RELEASE = { id: "3.2.7" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ad473d08-398d-4b9e-a0ee-cce769f9428b", e._sentryDebugIdIdentifier = "sentry-dbid-ad473d08-398d-4b9e-a0ee-cce769f9428b");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "eadcffdc-8d16-4dbd-b835-cb1535b5a998", e._sentryDebugIdIdentifier = "sentry-dbid-eadcffdc-8d16-4dbd-b835-cb1535b5a998");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-BSQQuCTD.js";
10
- import { t } from "./react-BCrcyjAU.js";
11
- import { t as n } from "./jsx-runtime-DnQmxKxk.js";
12
- import { Et as r, dt as i, u as a } from "./is-debug-DPDBcjeg.js";
13
- import { $ as o, Xn as s, a as c, gt as l, j as u } from "./store-CB1U4gvI.js";
14
- import { n as d } from "./CookieConsent-AXeH9_mR.js";
15
- import { r as f } from "./mobx-DsBbHmhw.js";
9
+ import { r as e } from "./rolldown-runtime-BKpHzyBK.js";
10
+ import { t } from "./react-CanbjT5I.js";
11
+ import { t as n } from "./jsx-runtime-C0zFKVvF.js";
12
+ import { Et as r, dt as i, u as a } from "./is-debug-D9BzIDdu.js";
13
+ import { $n as o, Ct as s, M as c, o as l, st as u } from "./store-CM7rJpRZ.js";
14
+ import { n as d } from "./CookieConsent-C0WrwOQU.js";
15
+ import { r as f } from "./mobx-D5pYBM85.js";
16
16
  //#region src/components/gps/utils.ts
17
17
  var p = /* @__PURE__ */ e(t(), 1);
18
18
  function m(e) {
19
19
  return Math.floor(e);
20
20
  }
21
21
  function h(e, t) {
22
- return o(e.lat, e.lng, t.lat, t.lng) >= 3 ? !0 : e.heading !== t.heading;
22
+ return u(e.lat, e.lng, t.lat, t.lng) >= 3 ? !0 : e.heading !== t.heading;
23
23
  }
24
24
  //#endregion
25
25
  //#region src/components/gps/useUserLocationAndHeading.ts
26
26
  var g = 120, _ = 3e3, v = 360;
27
27
  function y(e) {
28
- let t = (0, p.useRef)(null), n = (0, p.useRef)(null), i = (0, p.useRef)(0), a = (0, p.useRef)(null), s = (0, p.useRef)(!1), c = (0, p.useRef)(null), l = (0, p.useRef)(!1), u = (0, p.useRef)(null), d = (t) => e(t), f = (e) => {
28
+ let t = (0, p.useRef)(null), n = (0, p.useRef)(null), i = (0, p.useRef)(0), a = (0, p.useRef)(null), o = (0, p.useRef)(!1), s = (0, p.useRef)(null), c = (0, p.useRef)(!1), l = (0, p.useRef)(null), d = (t) => e(t), f = (e) => {
29
29
  let t = Date.now();
30
30
  if (t - i.current < g) return;
31
31
  let n = a.current;
32
- if (!c.current) {
33
- c.current = e, i.current = t, a.current = e, d(e);
32
+ if (!s.current) {
33
+ s.current = e, i.current = t, a.current = e, d(e);
34
34
  return;
35
35
  }
36
- let r = o(c.current.lat, c.current.lng, e.lat, e.lng), s;
37
- l.current ? r <= 3 ? (l.current = !1, c.current = e, s = {
38
- ...c.current,
36
+ let r = u(s.current.lat, s.current.lng, e.lat, e.lng), o;
37
+ c.current ? r <= 3 ? (c.current = !1, s.current = e, o = {
38
+ ...s.current,
39
39
  heading: e.heading
40
- }) : (c.current = e, s = e) : r >= 3 ? (l.current = !0, c.current = e, u.current = null, s = e) : (u.current == null && (u.current = t), t - u.current > _ && (c.current = e), s = {
41
- ...c.current,
40
+ }) : (s.current = e, o = e) : r >= 3 ? (c.current = !0, s.current = e, l.current = null, o = e) : (l.current == null && (l.current = t), t - l.current > _ && (s.current = e), o = {
41
+ ...s.current,
42
42
  heading: e.heading
43
- }), !(n && !h(n, s)) && (i.current = t, a.current = s, d(s));
43
+ }), !(n && !h(n, o)) && (i.current = t, a.current = o, d(o));
44
44
  }, y = (0, p.useCallback)((e) => {
45
45
  var t;
46
46
  let r = (t = e.webkitCompassHeading) == null ? e.alpha == null ? null : v - e.alpha : t;
@@ -65,19 +65,19 @@ function y(e) {
65
65
  }));
66
66
  },
67
67
  startOrientation: () => {
68
- s.current || (s.current = !0, window.addEventListener("deviceorientation", y, !0));
68
+ o.current || (o.current = !0, window.addEventListener("deviceorientation", y, !0));
69
69
  },
70
70
  stopGeolocation: () => {
71
- t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), c.current = null, l.current = !1;
71
+ t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), s.current = null, c.current = !1;
72
72
  },
73
73
  stopOrientation: () => {
74
- s.current = !1, window.removeEventListener("deviceorientation", y, !0);
74
+ o.current = !1, window.removeEventListener("deviceorientation", y, !0);
75
75
  }
76
76
  };
77
77
  }
78
78
  //#endregion
79
79
  //#region src/components/gps/GpsPermissionRequest.tsx
80
- var b = n(), x = s(function({ isOpen: e, onAllow: t, onCancel: n }) {
80
+ var b = n(), x = o(function({ isOpen: e, onAllow: t, onCancel: n }) {
81
81
  return e ? /* @__PURE__ */ (0, b.jsx)(d, {
82
82
  title: a("Show your position on the map"),
83
83
  acceptText: a("Allow compass access"),
@@ -90,25 +90,25 @@ var b = n(), x = s(function({ isOpen: e, onAllow: t, onCancel: n }) {
90
90
  //#endregion
91
91
  //#region src/components/gps/GpsManager.tsx
92
92
  function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: i = "compass-permission-granted", requestCompass: a = !0, requestCompassAllowed: o = !0 }) {
93
- let { startOrientation: s, startGeolocation: c, stopOrientation: u, stopGeolocation: d } = y(e), [f, m] = (0, p.useState)(!1), [h, g] = (0, p.useState)(!1);
93
+ let { startOrientation: c, startGeolocation: l, stopOrientation: u, stopGeolocation: d } = y(e), [f, m] = (0, p.useState)(!1), [h, g] = (0, p.useState)(!1);
94
94
  (0, p.useEffect)(() => (navigator.geolocation.getCurrentPosition(() => {
95
- m(!0), c();
95
+ m(!0), l();
96
96
  }, (e) => {
97
97
  r.warn("Geolocation error:", e), m(!1);
98
98
  }), () => {
99
99
  u(), d();
100
100
  }), [
101
- c,
101
+ l,
102
102
  d,
103
103
  u
104
104
  ]);
105
105
  let _ = async () => {
106
- typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(i, "true"), s(), g(!1), t == null || t());
106
+ typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(i, "true"), c(), g(!1), t == null || t());
107
107
  }, v = (0, p.useCallback)(() => {
108
108
  localStorage.setItem(i, "false"), g(!1), n == null || n();
109
109
  }, [n]);
110
110
  return (0, p.useEffect)(() => {
111
- if (!f || !o || typeof navigator > "u" || !l) return;
111
+ if (!f || !o || typeof navigator > "u" || !s) return;
112
112
  let e = localStorage.getItem(i);
113
113
  if (!e || a) {
114
114
  g(!0);
@@ -130,15 +130,15 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
130
130
  //#region src/components/GpsLoader.tsx
131
131
  function C({ requestCompassAllowed: e }) {
132
132
  let [t, n] = (0, p.useState)(!1), r = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
133
- c.routeStore.selectCurrentPosition(new u(0, 0, 0, n || r, e, t), !1);
133
+ l.routeStore.selectCurrentPosition(new c(0, 0, 0, n || r, e, t), !1);
134
134
  }, []), a = (0, p.useCallback)(() => {
135
- c.routeStore.requestCompass = void 0, n(!1);
135
+ l.routeStore.requestCompass = void 0, n(!1);
136
136
  }, [n]), o = (0, p.useCallback)(() => {
137
- c.routeStore.requestCompass = void 0, n(!1);
137
+ l.routeStore.requestCompass = void 0, n(!1);
138
138
  }, [n]);
139
- return f(() => c.uiState.hideCookieConsent, (e) => {
139
+ return f(() => l.uiState.hideCookieConsent, (e) => {
140
140
  n(e);
141
- }), f(() => c.routeStore.requestCompass, (e) => {
141
+ }), f(() => l.routeStore.requestCompass, (e) => {
142
142
  n(e);
143
143
  }), /* @__PURE__ */ (0, b.jsx)(S, {
144
144
  requestCompass: t,
@@ -1,13 +1,13 @@
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.2.6" };
4
+ e.SENTRY_RELEASE = { id: "3.2.7" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5b97cc57-3afd-4d58-bd9c-8964c6892d4e", e._sentryDebugIdIdentifier = "sentry-dbid-5b97cc57-3afd-4d58-bd9c-8964c6892d4e");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "b44d7e71-6cb4-495b-9c63-89d0f0b3168c", e._sentryDebugIdIdentifier = "sentry-dbid-b44d7e71-6cb4-495b-9c63-89d0f0b3168c");
7
7
  } catch {}
8
8
  })();
9
- import { S as e, b as t, h as n, p as r, u as i, v as a } from "./is-debug-DPDBcjeg.js";
10
- import { D as o, E as s, Ot as c, T as l, a as u, lt as d } from "./store-CB1U4gvI.js";
9
+ import { S as e, b as t, h as n, p as r, u as i, v as a } from "./is-debug-D9BzIDdu.js";
10
+ import { D as o, E as s, Ft as c, O as l, gt as u, o as d } from "./store-CM7rJpRZ.js";
11
11
  //#region src/components/Map/visibleArea.ts
12
12
  function f(e) {
13
13
  let t = c(e.viewport.canvasToSvg({
@@ -66,16 +66,16 @@ var y = new (m = class {
66
66
  _(this, "savedKiosk", h, this), _(this, "statusMessages", g, this), this.statusMessageTimer = 0, this.initialPtScale = void 0;
67
67
  }
68
68
  get kiosk() {
69
- return u.uiState.kioskData;
69
+ return d.uiState.kioskData;
70
70
  }
71
71
  setKiosk(e) {
72
- u.uiState.setKioskData(e);
72
+ d.uiState.setKioskData(e);
73
73
  }
74
74
  get renderer() {
75
- return u.rendererService.renderer;
75
+ return d.rendererService.renderer;
76
76
  }
77
77
  getCameraState() {
78
- let e = u.rendererService.getCameraState();
78
+ let e = d.rendererService.getCameraState();
79
79
  return e ? {
80
80
  mapInitialPtScale: this.initialPtScale,
81
81
  mapPtScale: e.ptScale,
@@ -113,21 +113,21 @@ var y = new (m = class {
113
113
  roll: !0,
114
114
  pitch: !0
115
115
  }, !0), t(() => {
116
- Number.isFinite(r) && Number.isFinite(i) && i > 0 && this.renderer.controls.zoomBy(r / i, !0), Number.isFinite(a) && Number.isFinite(o) && this.renderer.controls.panTo(a, o, !0), Number.isFinite(n) && this.renderer.controls.rollTo(n, !0), e && u.fp.activateFloor({ name: e });
116
+ Number.isFinite(r) && Number.isFinite(i) && i > 0 && this.renderer.controls.zoomBy(r / i, !0), Number.isFinite(a) && Number.isFinite(o) && this.renderer.controls.panTo(a, o, !0), Number.isFinite(n) && this.renderer.controls.rollTo(n, !0), e && d.fp.activateFloor({ name: e });
117
117
  });
118
118
  }
119
119
  restoreData() {
120
- let e = l();
121
- return e && (this.setKiosk(e), this.savedKiosk = e, u.uiState.kiosk = !0, this.resetCamera()), e;
120
+ let e = s();
121
+ return e && (this.setKiosk(e), this.savedKiosk = e, d.uiState.kiosk = !0, this.resetCamera()), e;
122
122
  }
123
123
  handleSetupReady() {
124
- this.restoreData(), u.uiState.kiosk = !0, u.uiState.hideFreeOrDemo = !0, u.uiState.setForceDimm(!0), u.searchStore.setSearchText(""), u.searchStore.setFocused(!1);
124
+ this.restoreData(), d.uiState.kiosk = !0, d.uiState.hideFreeOrDemo = !0, d.uiState.setForceDimm(!0), d.searchStore.setSearchText(""), d.searchStore.setFocused(!1);
125
125
  }
126
126
  handleClose() {
127
- this.setKiosk(null), u.uiState.setForceDimm(!1), u.uiState.enableSetKioskMode(!1), u.searchStore.closeSearch(), this.resetCamera();
127
+ this.setKiosk(null), d.uiState.setForceDimm(!1), d.uiState.enableSetKioskMode(!1), d.searchStore.closeSearch(), this.resetCamera();
128
128
  }
129
129
  handleDelete() {
130
- s(), this.setKiosk(null), u.uiState.resetMapSettings(), u.uiState.resetUIScale(), this.resetCamera(), this.addStatusMessage({
130
+ o(), this.setKiosk(null), d.uiState.resetMapSettings(), d.uiState.resetUIScale(), this.resetCamera(), this.addStatusMessage({
131
131
  variant: "success",
132
132
  title: i("Deleted")
133
133
  });
@@ -144,7 +144,7 @@ var y = new (m = class {
144
144
  });
145
145
  return;
146
146
  }
147
- this.setKiosk(r), o(r), u.uiState.setUIScale(r.uiScale, !0), this.addStatusMessage({
147
+ this.setKiosk(r), l(r), d.uiState.setUIScale(r.uiScale, !0), this.addStatusMessage({
148
148
  variant: "success",
149
149
  title: i("Saved")
150
150
  }), this.savedKiosk = r;
@@ -160,7 +160,7 @@ var y = new (m = class {
160
160
  }), Number.isFinite(t.scale) && (this.setKiosk({
161
161
  ...n,
162
162
  uiScale: t.scale
163
- }), this.delayChange(() => u.uiState.setUIScale(t.scale, !1))), Number.isFinite(t.percent) && this.setKiosk({
163
+ }), this.delayChange(() => d.uiState.setUIScale(t.scale, !1))), Number.isFinite(t.percent) && this.setKiosk({
164
164
  ...n,
165
165
  iconSizePercent: t.percent
166
166
  }));
@@ -176,7 +176,7 @@ var y = new (m = class {
176
176
  }
177
177
  handleClick(t) {
178
178
  var n;
179
- let r = e(this.kiosk), i = u.fp.getFloors(), a = d() ? (n = i.find((e) => e.active)) == null ? void 0 : n.name : null, o = u.uiState.uiScale;
179
+ let r = e(this.kiosk), i = d.fp.getFloors(), a = u() ? (n = i.find((e) => e.active)) == null ? void 0 : n.name : null, o = d.uiState.uiScale;
180
180
  this.setKiosk({
181
181
  ...r,
182
182
  x: t.x,
@@ -0,0 +1,120 @@
1
+ (function() {
2
+ try {
3
+ var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
+ e.SENTRY_RELEASE = { id: "3.2.7" };
5
+ var t = new e.Error().stack;
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "55cd7b73-be71-496b-82fd-6e002a087280", e._sentryDebugIdIdentifier = "sentry-dbid-55cd7b73-be71-496b-82fd-6e002a087280");
7
+ } catch {}
8
+ })();
9
+ import { r as e } from "./rolldown-runtime-BKpHzyBK.js";
10
+ import { t } from "./react-CanbjT5I.js";
11
+ import { t as n } from "./jsx-runtime-C0zFKVvF.js";
12
+ import { t as r } from "./classnames-DpaK9tQ8.js";
13
+ import { Jn as i, Zn as a, er as o, o as s, s as c, t as l, tr as u } from "./store-CM7rJpRZ.js";
14
+ import { r as d } from "./mobx-D5pYBM85.js";
15
+ import { _ as f, a as p, c as m, d as h, f as g, h as _, i as v, l as y, m as b, o as x, p as S, r as C, s as w, u as T } from "./data-BVaCNE1I.js";
16
+ //#region src/components/Mapbox/Mapbox.tsx
17
+ var E = /* @__PURE__ */ e(r(), 1), D = /* @__PURE__ */ e(f(), 1), O = /* @__PURE__ */ e(t(), 1), k = n();
18
+ function A() {
19
+ let e = (0, O.useRef)(null), t = (0, O.useRef)(null), n = null, r = [], f = o(() => ({
20
+ get initselected() {
21
+ return ![...c.selectedBooths].filter((e) => e.rect);
22
+ },
23
+ get actualCurrentPosition() {
24
+ let e = s.routeStore.currentPosition;
25
+ return !(e != null && e.z) || s.layerStore.visible.indexOf(s.layerStore.findLayer(e.z)) > -1 ? e : null;
26
+ },
27
+ get style() {
28
+ return { left: 0 };
29
+ }
30
+ }));
31
+ return (0, O.useEffect)(() => {
32
+ if (!t.current) {
33
+ var { cx: n, cy: o } = x.viewbox;
34
+ t.current = new D.default.Map({
35
+ container: e.current,
36
+ style: `mapbox://styles/mapbox/${x.style}`,
37
+ center: [n, o],
38
+ zoom: 15.5,
39
+ bearing: x.initBearing - 30,
40
+ pitch: x.initPitch + 30,
41
+ maxPitch: 70,
42
+ bearingSnap: 0,
43
+ accessToken: x.token
44
+ }), T(t.current), t.current.on("load", async () => {
45
+ var e;
46
+ setTimeout(() => p(f.initselected ? a.fromMultiple([...c.selectedBooths].filter((e) => e.rect).map((e) => e.rect)) : i, 15, 4e3), 1500), t.current.setLight({
47
+ anchor: "viewport",
48
+ color: "white",
49
+ intensity: 0
50
+ });
51
+ let n = await C(s.boothStore.booths);
52
+ m(s.boothStore.booths, n), h("yah", (e = s.routeStore.defaultFrom) != null && e.rect ? {
53
+ x: s.routeStore.defaultFrom.rect.cx,
54
+ y: s.routeStore.defaultFrom.rect.cy
55
+ } : null), h("cp", f.actualCurrentPosition), r = y(s.layerStore.layers);
56
+ let o = r.filter((e) => e.indexOf("--") === -1);
57
+ b(s.routeStore), w(), t.current.on("mouseenter", o, () => t.current.getCanvas().style.cursor = "pointer"), t.current.on("mouseleave", o, () => t.current.getCanvas().style.cursor = ""), t.current.on("click", (e) => {
58
+ let n = [[e.point.x - 5, e.point.y - 5], [e.point.x + 5, e.point.y + 5]], i = t.current.queryRenderedFeatures(n, { layers: r })[0], a = s.boothStore.booths.find((e) => {
59
+ var t;
60
+ return e.name === (i == null || (t = i.properties) == null ? void 0 : t.id);
61
+ });
62
+ s.clickBooth(a);
63
+ });
64
+ });
65
+ }
66
+ }), d(() => c.zoomBy, () => {
67
+ if (!c.zoomBy || !s.mapboxStore.showMapbox) return;
68
+ let e = c.zoomBy;
69
+ c.zoomBy = null, t.current.flyTo({
70
+ zoom: t.current.getZoom() + (e > 1 ? .5 : -.5),
71
+ animate: !0,
72
+ duration: 500,
73
+ essential: !0
74
+ });
75
+ }), d(() => [
76
+ s.layerStore.loaded,
77
+ s.layerStore.visible,
78
+ c.selectedRoute
79
+ ], () => {
80
+ var e, n;
81
+ r.forEach((e) => {
82
+ let n = e.split("--")[0], r = s.layerStore.layers.find((e) => e.name === n);
83
+ (r.visible || t.current.getLayoutProperty(e, "visibility") !== "none") && t.current.setLayoutProperty(e, "visibility", r.visible ? "visible" : "none");
84
+ }), _([...c.selectedBooths], s.boothStore.booths), h("yah", (e = s.routeStore.defaultFrom) != null && e.rect && !((n = s.routeStore.defaultFrom) == null || (n = n.layer) == null) && n.visible ? {
85
+ x: s.routeStore.defaultFrom.rect.cx,
86
+ y: s.routeStore.defaultFrom.rect.cy
87
+ } : null), h("cp", f.actualCurrentPosition);
88
+ }), d(() => c.hoveredBooths, () => {
89
+ n && (clearTimeout(n), n = null), n = setTimeout(() => {
90
+ n = null, S([...c.hoveredBooths].filter((e) => {
91
+ var t, n;
92
+ return (t = (n = e.layer) == null ? void 0 : n.visible) == null ? !0 : t;
93
+ }), s.boothStore.booths);
94
+ }, 50);
95
+ }), d(() => [c.selectedBooths, c.listBooths], () => {
96
+ var e = [];
97
+ c.selectedBooths.size ? e = [...c.selectedBooths] : c.listBooths.size && (c.activeListIndex === 0 || c.list.type === "bookmarks" || c.list.type === "category") && (e = [...c.listBooths]), _(e, s.boothStore.booths);
98
+ }), d(() => s.mapboxStore.showMapbox, () => {
99
+ g(s.mapboxStore.showMapbox);
100
+ }), d(() => c.moveToBooths, () => {
101
+ if (!c.moveToBooths || !s.mapboxStore.showMapbox) return;
102
+ let e = c.moveToBooths.filter((e) => e.rect).map((e) => e.rect), t = a.fromMultiple(e);
103
+ e.length && p(t), c.moveToBooths = null;
104
+ }), d(() => c.moveToRect, () => {
105
+ !c.moveToRect || !s.mapboxStore.showMapbox || (p(c.moveToRect, 15), c.moveToRect = null);
106
+ }), d(() => c.moveToLocation, () => {
107
+ !c.moveToLocation || !s.mapboxStore.showMapbox || v();
108
+ }), d(() => c.centerMap, () => {
109
+ !c.centerMap || !s.mapboxStore.showMapbox || (p(a.fromMultiple(l.booths.map((e) => e.rect)), 15), c.centerMap = !1);
110
+ }), d(() => s.routeStore.routeLines, () => b(s.routeStore)), d(() => f.actualCurrentPosition, () => h("cp", f.actualCurrentPosition)), u(() => /* @__PURE__ */ (0, k.jsx)("div", {
111
+ style: f.style,
112
+ className: (0, E.default)("map-container", { hidden: !s.mapboxStore.showMapbox }),
113
+ children: /* @__PURE__ */ (0, k.jsx)("div", {
114
+ ref: e,
115
+ className: (0, E.default)("map-wrapper", "mapboxgl-map")
116
+ })
117
+ }));
118
+ }
119
+ //#endregion
120
+ export { A as default };
@@ -1,19 +1,19 @@
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.2.6" };
4
+ e.SENTRY_RELEASE = { id: "3.2.7" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ef29ed65-c4ba-48c8-acd0-2f11370674a7", e._sentryDebugIdIdentifier = "sentry-dbid-ef29ed65-c4ba-48c8-acd0-2f11370674a7");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d6cc7975-4c0b-4003-af18-cafa4bca4015", e._sentryDebugIdIdentifier = "sentry-dbid-d6cc7975-4c0b-4003-af18-cafa4bca4015");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-BSQQuCTD.js";
10
- import { t } from "./react-BCrcyjAU.js";
11
- import { t as n } from "./jsx-runtime-DnQmxKxk.js";
12
- import { Dt as r, Et as i, O as a, Xn as o, a as s } from "./store-CB1U4gvI.js";
13
- import { n as c } from "./mobx-DsBbHmhw.js";
14
- import { t as l } from "./KioskStore-B5seJF_w.js";
9
+ import { r as e } from "./rolldown-runtime-BKpHzyBK.js";
10
+ import { t } from "./react-CanbjT5I.js";
11
+ import { t as n } from "./jsx-runtime-C0zFKVvF.js";
12
+ import { $n as r, Nt as i, Pt as a, k as o, o as s } from "./store-CM7rJpRZ.js";
13
+ import { n as c } from "./mobx-D5pYBM85.js";
14
+ import { t as l } from "./KioskStore-BmqfGXEW.js";
15
15
  //#region src/components/Kiosk/SetKioskMode.tsx
16
- var u = /* @__PURE__ */ e(t(), 1), d = n(), f = o(() => {
16
+ var u = /* @__PURE__ */ e(t(), 1), d = n(), f = r(() => {
17
17
  var e, t, n;
18
18
  c(() => {
19
19
  Promise.resolve().then(() => l.handleSetupReady());
@@ -23,7 +23,7 @@ var u = /* @__PURE__ */ e(t(), 1), d = n(), f = o(() => {
23
23
  };
24
24
  l.renderer.events.addEventListener("viewport:ptscale", e);
25
25
  let t = ({ data: e }) => {
26
- let { point: t } = r(e);
26
+ let { point: t } = a(e);
27
27
  l.handleClick(t);
28
28
  };
29
29
  l.renderer.events.addEventListener("pointer:click", t);
@@ -32,19 +32,19 @@ var u = /* @__PURE__ */ e(t(), 1), d = n(), f = o(() => {
32
32
  l.renderer.events.removeEventListener("viewport:ptscale", e), l.renderer.events.removeEventListener("pointer:click", t), l.renderer.events.removeEventListener("navigation:change", n);
33
33
  };
34
34
  }, [l.renderer]);
35
- let o = !!l.kiosk;
36
- return /* @__PURE__ */ (0, d.jsx)(a, {
37
- isSaveDisabled: o ? !l.hasUnsavedChanges : !0,
38
- isDeleteDisabled: !o,
39
- areControlsDisabled: !o,
40
- confirmOnClose: o ? l.hasUnsavedChanges : !1,
35
+ let r = !!l.kiosk;
36
+ return /* @__PURE__ */ (0, d.jsx)(o, {
37
+ isSaveDisabled: r ? !l.hasUnsavedChanges : !0,
38
+ isDeleteDisabled: !r,
39
+ areControlsDisabled: !r,
40
+ confirmOnClose: r ? l.hasUnsavedChanges : !1,
41
41
  angle: ((e = l.kiosk) == null ? void 0 : e.heading) || 0,
42
42
  uiScale: ((t = l.kiosk) == null ? void 0 : t.uiScale) || s.uiState.uiScale,
43
43
  minUiScale: s.uiState.minUIScale,
44
44
  maxUiScale: s.uiState.maxUIScale,
45
45
  uiScaleStep: .01,
46
46
  iconSizePercent: ((n = l.kiosk) == null ? void 0 : n.iconSizePercent) || 100,
47
- isInfoVisible: !o,
47
+ isInfoVisible: !r,
48
48
  statusMessages: l.statusMessages,
49
49
  onClose: () => l.handleClose(),
50
50
  onDelete: () => l.handleDelete(),
@@ -0,0 +1,26 @@
1
+ (function() {
2
+ try {
3
+ var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
+ e.SENTRY_RELEASE = { id: "3.2.7" };
5
+ var t = new e.Error().stack;
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e69a80e8-c582-4334-b809-f7c22f550f31", e._sentryDebugIdIdentifier = "sentry-dbid-e69a80e8-c582-4334-b809-f7c22f550f31");
7
+ } catch {}
8
+ })();
9
+ import "./rolldown-runtime-BKpHzyBK.js";
10
+ import { t as e } from "./react-CanbjT5I.js";
11
+ import { t } from "./jsx-runtime-C0zFKVvF.js";
12
+ import "./is-debug-D9BzIDdu.js";
13
+ import { $n as n, T as r, o as i, w as a } from "./store-CM7rJpRZ.js";
14
+ import { n as o } from "./mobx-D5pYBM85.js";
15
+ import { t as s } from "./TouchHand-BX9ElW6V.js";
16
+ import { t as c } from "./KioskStore-BmqfGXEW.js";
17
+ e();
18
+ var l = t(), u = n(() => (o(() => {
19
+ if (localStorage.getItem("kiosk") === "0") return;
20
+ let e = c.restoreData();
21
+ if (e) return a(e, !0), r(e), i.setResetCameraFn(() => c.resetCamera()), () => {
22
+ i.uiState.setKioskData(null), i.uiState.resetMapSettings(), c.resetCamera();
23
+ };
24
+ }), i.uiState.kiosk && i.uiState.inIdle ? /* @__PURE__ */ (0, l.jsx)(s, {}) : null));
25
+ //#endregion
26
+ export { u as default };