@expofp/floorplan 3.2.12 → 3.2.14

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 (244) hide show
  1. package/dist/browser/Button-BdvuWzrR.js +204 -0
  2. package/dist/browser/CookieConsent-bTG3GDKg.js +71 -0
  3. package/dist/browser/{Debug-BpJ3Yt6j.js → Debug-CjX9xriA.js} +8 -7
  4. package/dist/browser/{Demo-CAu8tNnV.js → Demo-D66SE96z.js} +12 -11
  5. package/dist/browser/{Free-Dtjbs5Bb.js → Free-ouV3S0cy.js} +12 -11
  6. package/dist/browser/{Gallery-DCd-gVeP.js → Gallery-Bm4oVw4n.js} +608 -642
  7. package/dist/browser/{GpsLoader-CwhaM_rD.js → GpsLoader-BheKXFiI.js} +49 -47
  8. package/dist/browser/{KioskStore-S-D6b5kf.js → KioskStore-CYaE9WLG.js} +62 -62
  9. package/dist/browser/{Mapbox-CYVIXxFC.js → Mapbox-CDlR6UrM.js} +40 -39
  10. package/dist/browser/Modal-DS2N0vIo.js +105 -0
  11. package/dist/browser/{SetKioskMode-DgSmrgmn.js → SetKioskMode-DofzJB3e.js} +18 -17
  12. package/dist/browser/{ShowKiosk-Df5igL4n.js → ShowKiosk-UX2N2NU3.js} +11 -10
  13. package/dist/browser/{ThreeComponent-zl3QtM34.js → ThreeComponent-CglSG5wI.js} +248 -247
  14. package/dist/browser/{TouchHand-QJXR9zrh.js → TouchHand-DvgAAuKo.js} +15 -14
  15. package/dist/browser/{ViewerMenuPanel-BQg2PHof.js → ViewerMenuPanel-KPn2i2KL.js} +22 -21
  16. package/dist/browser/{add-debug-secret-listener-Dpg6hJXG.js → add-debug-secret-listener-BN00-9E4.js} +1 -1
  17. package/dist/browser/{boolean-editor-B1fg8GRP.js → boolean-editor-fbHiF9vJ.js} +11 -11
  18. package/dist/browser/{bootIntercom-DPGUvndP.js → bootIntercom-CKo2IztD.js} +3 -3
  19. package/dist/browser/{box-BgRrEHb5.js → box-B2jxGgXa.js} +6 -6
  20. package/dist/browser/{browser-CM6Y7IGk.js → browser-vqeti97Y.js} +2 -2
  21. package/dist/browser/bundle.json +68 -53
  22. package/dist/browser/{classnames-TFIMEeYe.js → classnames-CHmxGkvV.js} +2 -2
  23. package/dist/browser/{client-Aih6DWd7.js → client-pnzfy6PK.js} +5 -5
  24. package/dist/browser/components-DVzc3v5I.js +8145 -0
  25. package/dist/browser/{data-CfaOzRA9.js → data-BmUUjPca.js} +43 -43
  26. package/dist/browser/{debug-overlay-CvqXKYqC.js → debug-overlay-B_1ADa5Y.js} +12 -12
  27. package/dist/browser/{debug-ui-CbGnH4qz.js → debug-ui-DBOzEUkM.js} +7 -7
  28. package/dist/browser/{dist-Ch41wRCl.js → dist-0qGu5ADv.js} +3 -3
  29. package/dist/browser/{dist-CucOchil.js → dist-BpuX8MZ6.js} +7 -7
  30. package/dist/browser/{dist-B53U7F7A.js → dist-DblWkNUV.js} +6 -6
  31. package/dist/browser/{efp-debug-init-DBd9OXOq.js → efp-debug-init-BwJWCRkJ.js} +3 -3
  32. package/dist/browser/{enum-editor-BFL483S-.js → enum-editor-BYkKqvGq.js} +12 -12
  33. package/dist/browser/{exports-rKPKVDu-.js → exports-BRRDMtlG.js} +1 -1
  34. package/dist/browser/{favicon-D6XggTGV.js → favicon-C_bgpvWA.js} +1 -1
  35. package/dist/browser/{fetch-retry.umd-GAaYdRWp.js → fetch-retry.umd-Dinto0ag.js} +2 -2
  36. package/dist/browser/{flex-B3BtW7Bh.js → flex-uHBCXaOV.js} +7 -7
  37. package/dist/browser/{flex.props-BUSDD_Wi.js → flex.props-eBOcuRMU.js} +3 -3
  38. package/dist/browser/{floorplan.loader-qfH0ZSkQ.js → floorplan.loader-CMXBnLtZ.js} +650 -649
  39. package/dist/browser/{floorplan.ready-BbyaL6hp.js → floorplan.ready-UbtSin_R.js} +215 -215
  40. package/dist/browser/{fuse-D5ZhsMEO.js → fuse-CgTQNNsn.js} +2 -2
  41. package/dist/browser/{is-debug-Wdhvt3ms.js → i18n-BOl9oxrx.js} +774 -883
  42. package/dist/browser/index.js +12 -12
  43. package/dist/browser/is-debug-DMN58EYn.js +122 -0
  44. package/dist/browser/{jsx-runtime-zUblDIPy.js → jsx-runtime-B2BgIlMm.js} +2 -2
  45. package/dist/browser/{lib-BUzzfdPD.js → lib-DByP5YwC.js} +5 -5
  46. package/dist/browser/{main-O6EuNg2i.js → main-D3mbrWsr.js} +1 -1
  47. package/dist/browser/{mobx-PgfpkqhK.js → mobx-CdvsVcc9.js} +5 -5
  48. package/dist/browser/{particles.min-C7I-LldI.js → particles.min-DfI3C-qp.js} +2 -2
  49. package/dist/browser/{prop-types-D8LlC1ig.js → prop-types-B6zERU6Z.js} +2 -2
  50. package/dist/browser/{react--fZLaqnU.js → react-C3o_QT06.js} +2 -2
  51. package/dist/browser/{react-dom-BYFyq6EH.js → react-dom-sBqrMskT.js} +3 -3
  52. package/dist/browser/{reset-all-settings-BlOJ5U7L.js → reset-all-settings-BwKg7iVu.js} +8 -8
  53. package/dist/browser/{rolldown-runtime-inJhu5W8.js → rolldown-runtime-DB8Ddt08.js} +1 -1
  54. package/dist/browser/{settings-BGeWcEmK.js → settings-BLMQJ1yq.js} +2 -2
  55. package/dist/browser/{settings-item-9Fm2cbOj.js → settings-item-C19s0haM.js} +7 -7
  56. package/dist/browser/{store-DtssCn2i.js → store-CQE29UCE.js} +5679 -5857
  57. package/dist/browser/{string-editor-Dr-TZeXy.js → string-editor-DyFEQo_P.js} +9 -9
  58. package/dist/browser/{theme-CXkb1lmK.js → theme-CrwkiIG5.js} +9 -9
  59. package/dist/browser/{ui-div1xB9Z.js → ui-MUJDbhD1.js} +9 -9
  60. package/dist/browser/useRenderTarget-Pk0fGZOz.js +48 -0
  61. package/dist/esm/components/AlertContainer.d.ts +5 -0
  62. package/dist/esm/components/AlertContainer.js +1 -0
  63. package/dist/esm/components/Booth/Booth.js +1 -1
  64. package/dist/esm/components/CookieConsent.js +1 -1
  65. package/dist/esm/components/EntityItem.d.ts +1 -0
  66. package/dist/esm/components/EntityItem.js +1 -1
  67. package/dist/esm/components/EntityItemContainer.d.ts +5 -0
  68. package/dist/esm/components/EntityItemContainer.js +1 -0
  69. package/dist/esm/components/EntityList.js +1 -1
  70. package/dist/esm/components/EntityListRow.js +1 -1
  71. package/dist/esm/components/Event.js +1 -1
  72. package/dist/esm/components/Exhibitor.js +1 -1
  73. package/dist/esm/components/GlobalErrorMessage.js +1 -1
  74. package/dist/esm/components/HighlightTextContainer.d.ts +6 -0
  75. package/dist/esm/components/HighlightTextContainer.js +1 -0
  76. package/dist/esm/components/Kiosk/KioskStore.d.ts +1 -1
  77. package/dist/esm/components/Kiosk/SetKiosk/Confirm/ConfirmDialog.js +1 -1
  78. package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.js +1 -1
  79. package/dist/esm/components/Kiosk/SetKiosk/types.d.ts +2 -2
  80. package/dist/esm/components/Kiosk/ShowKiosk.js +1 -1
  81. package/dist/esm/components/LanguageRow.js +1 -1
  82. package/dist/esm/components/Layout.js +1 -1
  83. package/dist/esm/components/List.js +1 -1
  84. package/dist/esm/components/LogoOverlay.d.ts +0 -1
  85. package/dist/esm/components/LogoOverlay.js +1 -1
  86. package/dist/esm/components/Menu.js +1 -1
  87. package/dist/esm/components/Modal.d.ts +2 -1
  88. package/dist/esm/components/Modal.js +1 -1
  89. package/dist/esm/components/Overlay.d.ts +1 -0
  90. package/dist/esm/components/Overlay.js +1 -1
  91. package/dist/esm/components/OverlayContainer.js +1 -1
  92. package/dist/esm/components/PermissionNotice/PermissionNotice.js +1 -1
  93. package/dist/esm/components/RebookingNotes.js +1 -1
  94. package/dist/esm/components/RoutePlanner/RoutePlanner.js +1 -1
  95. package/dist/esm/components/RoutePlanner/RoutePlannerHeader.js +1 -1
  96. package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +1 -1
  97. package/dist/esm/components/SidebarActions.js +1 -1
  98. package/dist/esm/components/SimpleRow.js +1 -1
  99. package/dist/esm/components/Speakers.js +1 -1
  100. package/dist/esm/components/ToursList.js +1 -1
  101. package/dist/esm/components/Wayfinding.js +1 -1
  102. package/dist/esm/components/WayfindingFloorSelectorContainer.d.ts +5 -0
  103. package/dist/esm/components/WayfindingFloorSelectorContainer.js +1 -0
  104. package/dist/esm/components/WayfindingTemplate.d.ts +6 -8
  105. package/dist/esm/components/WayfindingTemplate.js +1 -1
  106. package/dist/esm/components/index.d.ts +22 -22
  107. package/dist/esm/components/index.js +1 -1
  108. package/dist/esm/components/stories/CookieConsent.stories.js +1 -1
  109. package/dist/esm/components/stories/Modal.stories.d.ts +5 -0
  110. package/dist/esm/components/stories/Modal.stories.js +1 -0
  111. package/dist/esm/components/stories/Share.stories.d.ts +5 -0
  112. package/dist/esm/components/stories/Share.stories.js +1 -0
  113. package/dist/esm/components/stories/{CheckboxButton.stories.d.ts → WayInformation.stories.d.ts} +1 -1
  114. package/dist/esm/components/stories/WayfindingTemplate.stories.d.ts +5 -0
  115. package/dist/esm/components/stories/WayfindingTemplate.stories.js +1 -0
  116. package/dist/esm/data/Flags.d.ts +4 -0
  117. package/dist/esm/data/Flags.js +1 -0
  118. package/dist/esm/store/RoutePlannerStore.d.ts +1 -1
  119. package/dist/esm/store/RoutePlannerStore.js +1 -1
  120. package/dist/esm/store/RouteStore.js +1 -1
  121. package/dist/esm/storybook/store/index.stub.d.ts +4 -0
  122. package/dist/esm/storybook/store/index.stub.js +1 -1
  123. package/dist/esm/{components → ui/Alert}/Alert.d.ts +3 -3
  124. package/dist/esm/ui/Alert/Alert.js +1 -0
  125. package/dist/esm/{components/stories → ui/Alert}/Alert.stories.d.ts +1 -1
  126. package/dist/esm/ui/Alert/Alert.stories.js +1 -0
  127. package/dist/esm/ui/Alert/index.d.ts +3 -0
  128. package/dist/esm/ui/Alert/index.js +1 -0
  129. package/dist/esm/{components → ui/Badge}/Badge.d.ts +1 -2
  130. package/dist/esm/ui/Badge/Badge.stories.d.ts +5 -0
  131. package/dist/esm/ui/Badge/Badge.stories.js +1 -0
  132. package/dist/esm/ui/Badge/index.d.ts +3 -0
  133. package/dist/esm/ui/Badge/index.js +1 -0
  134. package/dist/esm/{components → ui/Button}/Button.d.ts +2 -2
  135. package/dist/esm/ui/Button/Button.js +1 -0
  136. package/dist/esm/ui/Button/Button.stories.d.ts +5 -0
  137. package/dist/esm/ui/Button/Button.stories.js +1 -0
  138. package/dist/esm/ui/Button/index.d.ts +3 -0
  139. package/dist/esm/ui/Button/index.js +1 -0
  140. package/dist/esm/ui/Checkbox/Checkbox.d.ts +18 -0
  141. package/dist/esm/ui/Checkbox/Checkbox.js +1 -0
  142. package/dist/esm/ui/Checkbox/Checkbox.stories.d.ts +5 -0
  143. package/dist/esm/ui/Checkbox/Checkbox.stories.js +1 -0
  144. package/dist/esm/ui/Checkbox/index.d.ts +3 -0
  145. package/dist/esm/ui/Checkbox/index.js +1 -0
  146. package/dist/esm/ui/CheckboxButton/CheckboxButton.d.ts +11 -0
  147. package/dist/esm/ui/CheckboxButton/CheckboxButton.js +1 -0
  148. package/dist/esm/ui/CheckboxButton/CheckboxButton.stories.d.ts +5 -0
  149. package/dist/esm/ui/CheckboxButton/CheckboxButton.stories.js +1 -0
  150. package/dist/esm/ui/CheckboxButton/index.d.ts +3 -0
  151. package/dist/esm/ui/CheckboxButton/index.js +1 -0
  152. package/dist/esm/ui/HighlightText/HighlightText.d.ts +6 -0
  153. package/dist/esm/ui/HighlightText/HighlightText.js +1 -0
  154. package/dist/esm/ui/HighlightText/HighlightText.stories.d.ts +7 -0
  155. package/dist/esm/ui/HighlightText/HighlightText.stories.js +1 -0
  156. package/dist/esm/ui/HighlightText/index.d.ts +2 -0
  157. package/dist/esm/ui/HighlightText/index.js +1 -0
  158. package/dist/esm/ui/Radio/Radio.d.ts +14 -0
  159. package/dist/esm/ui/Radio/Radio.js +1 -0
  160. package/dist/esm/ui/Radio/Radio.stories.d.ts +18 -0
  161. package/dist/esm/ui/Radio/Radio.stories.js +1 -0
  162. package/dist/esm/ui/Radio/index.d.ts +3 -0
  163. package/dist/esm/ui/Radio/index.js +1 -0
  164. package/dist/esm/ui/Spinner/Spinner.d.ts +8 -0
  165. package/dist/esm/ui/Spinner/Spinner.js +1 -0
  166. package/dist/esm/ui/Spinner/Spinner.stories.d.ts +5 -0
  167. package/dist/esm/ui/Spinner/Spinner.stories.js +1 -0
  168. package/dist/esm/ui/Spinner/index.d.ts +3 -0
  169. package/dist/esm/ui/Spinner/index.js +1 -0
  170. package/dist/esm/ui/ToggleButton/ToggleButton.d.ts +16 -0
  171. package/dist/esm/ui/ToggleButton/ToggleButton.js +1 -0
  172. package/dist/esm/ui/ToggleButton/ToggleButton.stories.d.ts +5 -0
  173. package/dist/esm/ui/ToggleButton/ToggleButton.stories.js +1 -0
  174. package/dist/esm/ui/ToggleButton/index.d.ts +3 -0
  175. package/dist/esm/ui/ToggleButton/index.js +1 -0
  176. package/dist/esm/ui/ToggleSwitch/ToggleSwitch.d.ts +17 -0
  177. package/dist/esm/ui/ToggleSwitch/ToggleSwitch.js +1 -0
  178. package/dist/esm/ui/ToggleSwitch/ToggleSwitch.stories.d.ts +5 -0
  179. package/dist/esm/ui/ToggleSwitch/ToggleSwitch.stories.js +1 -0
  180. package/dist/esm/ui/ToggleSwitch/index.d.ts +3 -0
  181. package/dist/esm/ui/ToggleSwitch/index.js +1 -0
  182. package/dist/esm/ui/TouchHand/TouchHand.d.ts +4 -0
  183. package/dist/esm/ui/TouchHand/TouchHand.js +1 -0
  184. package/dist/esm/ui/TouchHand/TouchHand.stories.d.ts +5 -0
  185. package/dist/esm/ui/TouchHand/TouchHand.stories.js +1 -0
  186. package/dist/esm/ui/TouchHand/index.d.ts +2 -0
  187. package/dist/esm/ui/TouchHand/index.js +1 -0
  188. package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.d.ts +23 -0
  189. package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.js +1 -0
  190. package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.stories.d.ts +5 -0
  191. package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.stories.js +1 -0
  192. package/dist/esm/ui/WayfindingFloorSelector/index.d.ts +3 -0
  193. package/dist/esm/ui/WayfindingFloorSelector/index.js +1 -0
  194. package/package.json +3 -3
  195. package/dist/browser/CookieConsent-D7Z1zvoH.js +0 -8234
  196. package/dist/esm/components/Alert.js +0 -1
  197. package/dist/esm/components/Button.js +0 -1
  198. package/dist/esm/components/Checkbox.d.ts +0 -13
  199. package/dist/esm/components/Checkbox.js +0 -1
  200. package/dist/esm/components/CheckboxButton.d.ts +0 -11
  201. package/dist/esm/components/CheckboxButton.js +0 -1
  202. package/dist/esm/components/HighlightText.d.ts +0 -6
  203. package/dist/esm/components/HighlightText.js +0 -1
  204. package/dist/esm/components/LayersLoading.d.ts +0 -9
  205. package/dist/esm/components/LayersLoading.js +0 -1
  206. package/dist/esm/components/Radio.d.ts +0 -12
  207. package/dist/esm/components/Radio.js +0 -1
  208. package/dist/esm/components/ToggleButton.d.ts +0 -11
  209. package/dist/esm/components/ToggleButton.js +0 -1
  210. package/dist/esm/components/ToggleSwitch.d.ts +0 -12
  211. package/dist/esm/components/ToggleSwitch.js +0 -1
  212. package/dist/esm/components/TouchHand.d.ts +0 -4
  213. package/dist/esm/components/TouchHand.js +0 -1
  214. package/dist/esm/components/WayfindingFloorSelector.d.ts +0 -21
  215. package/dist/esm/components/WayfindingFloorSelector.js +0 -1
  216. package/dist/esm/components/stories/Alert.stories.js +0 -1
  217. package/dist/esm/components/stories/Badge.stories.d.ts +0 -5
  218. package/dist/esm/components/stories/Badge.stories.js +0 -1
  219. package/dist/esm/components/stories/Button.stories.d.ts +0 -5
  220. package/dist/esm/components/stories/Button.stories.js +0 -1
  221. package/dist/esm/components/stories/Checkbox.stories.d.ts +0 -5
  222. package/dist/esm/components/stories/Checkbox.stories.js +0 -1
  223. package/dist/esm/components/stories/CheckboxButton.stories.js +0 -1
  224. package/dist/esm/components/stories/Loading.stories.d.ts +0 -5
  225. package/dist/esm/components/stories/Loading.stories.js +0 -1
  226. package/dist/esm/components/stories/Modal.storiesss.d.ts +0 -5
  227. package/dist/esm/components/stories/Modal.storiesss.js +0 -1
  228. package/dist/esm/components/stories/Radio.stories.d.ts +0 -10
  229. package/dist/esm/components/stories/Radio.stories.js +0 -1
  230. package/dist/esm/components/stories/Share.storiesSS.d.ts +0 -5
  231. package/dist/esm/components/stories/Share.storiesSS.js +0 -1
  232. package/dist/esm/components/stories/ToggleButton.stories.d.ts +0 -5
  233. package/dist/esm/components/stories/ToggleButton.stories.js +0 -1
  234. package/dist/esm/components/stories/ToggleSwitch.stories.d.ts +0 -5
  235. package/dist/esm/components/stories/ToggleSwitch.stories.js +0 -1
  236. package/dist/esm/components/stories/TouchHand.stories.d.ts +0 -5
  237. package/dist/esm/components/stories/TouchHand.stories.js +0 -1
  238. package/dist/esm/components/stories/WayInformation.storiesss.d.ts +0 -5
  239. package/dist/esm/components/stories/WayfindingFloorSelector.storiesss.d.ts +0 -5
  240. package/dist/esm/components/stories/WayfindingFloorSelector.storiesss.js +0 -1
  241. package/dist/esm/components/stories/WayfindingTemplate.storiesss.d.ts +0 -5
  242. package/dist/esm/components/stories/WayfindingTemplate.storiesss.js +0 -1
  243. /package/dist/esm/components/stories/{WayInformation.storiesss.js → WayInformation.stories.js} +0 -0
  244. /package/dist/esm/{components → ui/Badge}/Badge.js +0 -0
@@ -1,54 +1,56 @@
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.12" };
4
+ e.SENTRY_RELEASE = { id: "3.2.14" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5f9f117a-e32c-4d7b-8d47-c7676c3bf756", e._sentryDebugIdIdentifier = "sentry-dbid-5f9f117a-e32c-4d7b-8d47-c7676c3bf756");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "92af1699-30b6-42aa-807b-b4d8c69e1bbb", e._sentryDebugIdIdentifier = "sentry-dbid-92af1699-30b6-42aa-807b-b4d8c69e1bbb");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-inJhu5W8.js";
10
- import { t } from "./react--fZLaqnU.js";
11
- import { t as n } from "./jsx-runtime-zUblDIPy.js";
12
- import { Et as r, dt as i, u as a } from "./is-debug-Wdhvt3ms.js";
13
- import { Ct as o, M as s, Qn as c, o as l, st as u } from "./store-DtssCn2i.js";
14
- import { n as d } from "./CookieConsent-D7Z1zvoH.js";
15
- import { r as f } from "./mobx-PgfpkqhK.js";
9
+ import { r as e } from "./rolldown-runtime-DB8Ddt08.js";
10
+ import { t } from "./react-C3o_QT06.js";
11
+ import { t as n } from "./jsx-runtime-B2BgIlMm.js";
12
+ import { K as r, s as i, st as a } from "./i18n-BOl9oxrx.js";
13
+ import { n as o } from "./Button-BdvuWzrR.js";
14
+ import { n as s } from "./CookieConsent-bTG3GDKg.js";
15
+ import { St as c, j as l, o as u, ot as d } from "./store-CQE29UCE.js";
16
+ import { r as f } from "./mobx-CdvsVcc9.js";
17
+ import "./components-DVzc3v5I.js";
16
18
  //#region src/components/gps/utils.ts
17
19
  var p = /* @__PURE__ */ e(t(), 1);
18
20
  function m(e) {
19
21
  return Math.floor(e);
20
22
  }
21
23
  function h(e, t) {
22
- return u(e.lat, e.lng, t.lat, t.lng) >= 3 ? !0 : e.heading !== t.heading;
24
+ return d(e.lat, e.lng, t.lat, t.lng) >= 3 ? !0 : e.heading !== t.heading;
23
25
  }
24
26
  //#endregion
25
27
  //#region src/components/gps/useUserLocationAndHeading.ts
26
28
  var g = 120, _ = 3e3, v = 360;
27
29
  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), 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) => {
30
+ let t = (0, p.useRef)(null), n = (0, p.useRef)(null), r = (0, p.useRef)(0), i = (0, p.useRef)(null), o = (0, p.useRef)(!1), s = (0, p.useRef)(null), c = (0, p.useRef)(!1), l = (0, p.useRef)(null), u = (t) => e(t), f = (e) => {
29
31
  let t = Date.now();
30
- if (t - i.current < g) return;
31
- let n = a.current;
32
+ if (t - r.current < g) return;
33
+ let n = i.current;
32
34
  if (!s.current) {
33
- s.current = e, i.current = t, a.current = e, d(e);
35
+ s.current = e, r.current = t, i.current = e, u(e);
34
36
  return;
35
37
  }
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
+ let a = d(s.current.lat, s.current.lng, e.lat, e.lng), o;
39
+ c.current ? a <= 3 ? (c.current = !1, s.current = e, o = {
38
40
  ...s.current,
39
41
  heading: e.heading
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 = {
42
+ }) : (s.current = e, o = e) : a >= 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
43
  ...s.current,
42
44
  heading: e.heading
43
- }), !(n && !h(n, o)) && (i.current = t, a.current = o, d(o));
45
+ }), !(n && !h(n, o)) && (r.current = t, i.current = o, u(o));
44
46
  }, y = (0, p.useCallback)((e) => {
45
47
  var t;
46
48
  let r = (t = e.webkitCompassHeading) == null ? e.alpha == null ? null : v - e.alpha : t;
47
49
  if (r == null) return;
48
- let i = m(r);
49
- n.current !== i && (n.current = i, a.current && f({
50
- ...a.current,
51
- heading: i
50
+ let a = m(r);
51
+ n.current !== a && (n.current = a, i.current && f({
52
+ ...i.current,
53
+ heading: a
52
54
  }));
53
55
  }, [e]);
54
56
  return {
@@ -59,7 +61,7 @@ function y(e) {
59
61
  lng: e.coords.longitude,
60
62
  heading: n.current
61
63
  });
62
- }, (e) => r.warn("Geolocation watch error:", e), {
64
+ }, (e) => a.warn("Geolocation watch error:", e), {
63
65
  enableHighAccuracy: !0,
64
66
  maximumAge: 0
65
67
  }));
@@ -77,24 +79,24 @@ function y(e) {
77
79
  }
78
80
  //#endregion
79
81
  //#region src/components/gps/GpsPermissionRequest.tsx
80
- var b = n(), x = c(function({ isOpen: e, onAllow: t, onCancel: n }) {
81
- return e ? /* @__PURE__ */ (0, b.jsx)(d, {
82
- title: a("Show your position on the map"),
83
- acceptText: a("Allow compass access"),
84
- rejectText: a("Not now"),
82
+ var b = n(), x = o(function({ isOpen: e, onAllow: t, onCancel: n }) {
83
+ return e ? /* @__PURE__ */ (0, b.jsx)(s, {
84
+ title: i("Show your position on the map"),
85
+ acceptText: i("Allow compass access"),
86
+ rejectText: i("Not now"),
85
87
  onClickAccept: t,
86
88
  onClickReject: n,
87
- children: a("To display your current position and orient the map around you, we’ll ask for permission to access your device orientation")
89
+ children: i("To display your current position and orient the map around you, we’ll ask for permission to access your device orientation")
88
90
  }) : null;
89
91
  });
90
92
  //#endregion
91
93
  //#region src/components/gps/GpsManager.tsx
92
- function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: i = "compass-permission-granted", requestCompass: a = !0, requestCompassAllowed: s = !0 }) {
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
+ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: r = "compass-permission-granted", requestCompass: i = !0, requestCompassAllowed: o = !0 }) {
95
+ let { startOrientation: s, startGeolocation: l, stopOrientation: u, stopGeolocation: d } = y(e), [f, m] = (0, p.useState)(!1), [h, g] = (0, p.useState)(!1);
94
96
  (0, p.useEffect)(() => (navigator.geolocation.getCurrentPosition(() => {
95
97
  m(!0), l();
96
98
  }, (e) => {
97
- r.warn("Geolocation error:", e), m(!1);
99
+ a.warn("Geolocation error:", e), m(!1);
98
100
  }), () => {
99
101
  u(), d();
100
102
  }), [
@@ -103,22 +105,22 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
103
105
  u
104
106
  ]);
105
107
  let _ = async () => {
106
- typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(i, "true"), c(), g(!1), t == null || t());
108
+ typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(r, "true"), s(), g(!1), t == null || t());
107
109
  }, v = (0, p.useCallback)(() => {
108
- localStorage.setItem(i, "false"), g(!1), n == null || n();
110
+ localStorage.setItem(r, "false"), g(!1), n == null || n();
109
111
  }, [n]);
110
112
  return (0, p.useEffect)(() => {
111
- if (!f || !s || typeof navigator > "u" || !o) return;
112
- let e = localStorage.getItem(i);
113
- if (!e || a) {
113
+ if (!f || !o || typeof navigator > "u" || !c) return;
114
+ let e = localStorage.getItem(r);
115
+ if (!e || i) {
114
116
  g(!0);
115
117
  return;
116
118
  }
117
119
  e === "true" && _();
118
120
  }, [
119
121
  f,
120
- a,
121
- s,
122
+ i,
123
+ o,
122
124
  _
123
125
  ]), /* @__PURE__ */ (0, b.jsx)(x, {
124
126
  isOpen: h,
@@ -129,24 +131,24 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
129
131
  //#endregion
130
132
  //#region src/components/GpsLoader.tsx
131
133
  function C({ requestCompassAllowed: e }) {
132
- let [t, n] = (0, p.useState)(!1), r = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
133
- l.routeStore.selectCurrentPosition(new s(0, 0, 0, n || r, e, t), !1);
134
+ let [t, n] = (0, p.useState)(!1), i = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
135
+ u.routeStore.selectCurrentPosition(new l(0, 0, 0, n || r, e, t), !1);
134
136
  }, []), a = (0, p.useCallback)(() => {
135
- l.routeStore.requestCompass = void 0, n(!1);
137
+ u.routeStore.requestCompass = void 0, n(!1);
136
138
  }, [n]), o = (0, p.useCallback)(() => {
137
- l.routeStore.requestCompass = void 0, n(!1);
139
+ u.routeStore.requestCompass = void 0, n(!1);
138
140
  }, [n]);
139
- return f(() => l.uiState.hideCookieConsent, (e) => {
141
+ return f(() => u.uiState.hideCookieConsent, (e) => {
140
142
  n(e);
141
- }), f(() => l.routeStore.requestCompass, (e) => {
143
+ }), f(() => u.routeStore.requestCompass, (e) => {
142
144
  n(e);
143
145
  }), /* @__PURE__ */ (0, b.jsx)(S, {
144
146
  requestCompass: t,
145
147
  requestCompassAllowed: e,
146
148
  onRejectCompass: a,
147
149
  onAllowCompass: o,
148
- orientationStorageKey: i,
149
- onPositionUpdate: r
150
+ orientationStorageKey: r,
151
+ onPositionUpdate: i
150
152
  });
151
153
  }
152
154
  //#endregion
@@ -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.12" };
4
+ e.SENTRY_RELEASE = { id: "3.2.14" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f992fd29-9550-46e3-a477-e6592b2604c4", e._sentryDebugIdIdentifier = "sentry-dbid-f992fd29-9550-46e3-a477-e6592b2604c4");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "212a51c0-b269-40a0-b549-2b4250b9f308", e._sentryDebugIdIdentifier = "sentry-dbid-212a51c0-b269-40a0-b549-2b4250b9f308");
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-Wdhvt3ms.js";
10
- import { D as o, E as s, Ft as c, O as l, gt as u, o as d } from "./store-DtssCn2i.js";
9
+ import { _ as e, f as t, h as n, s as r, u as i, y as a } from "./i18n-BOl9oxrx.js";
10
+ import { D as o, E as s, O as c, Pt as l, ht as u, o as d } from "./store-CQE29UCE.js";
11
11
  //#region src/components/Map/pointInConvexQuad.ts
12
12
  function f(e, t) {
13
13
  let n = 0;
@@ -24,31 +24,31 @@ function f(e, t) {
24
24
  //#endregion
25
25
  //#region src/components/Map/visibleArea.ts
26
26
  function p(e) {
27
- let t = c(e.viewport.canvasToSvg({
27
+ let t = l(e.viewport.canvasToSvg({
28
28
  x: 0,
29
29
  y: 0
30
- })), n = c(e.viewport.canvasToSvg({
30
+ })), n = l(e.viewport.canvasToSvg({
31
31
  x: e.canvas.clientWidth,
32
32
  y: 0
33
- })), r = c(e.viewport.canvasToSvg({
33
+ })), r = l(e.viewport.canvasToSvg({
34
34
  x: 0,
35
35
  y: e.canvas.clientHeight
36
- })), i = c(e.viewport.canvasToSvg({
36
+ })), i = l(e.viewport.canvasToSvg({
37
37
  x: e.canvas.clientWidth,
38
38
  y: e.canvas.clientHeight
39
- })), a = Math.min(t.x, n.x, r.x, i.x), o = Math.max(t.x, n.x, r.x, i.x), s = Math.min(t.y, n.y, r.y, i.y), l = Math.max(t.y, n.y, r.y, i.y);
39
+ })), a = Math.min(t.x, n.x, r.x, i.x), o = Math.max(t.x, n.x, r.x, i.x), s = Math.min(t.y, n.y, r.y, i.y), c = Math.max(t.y, n.y, r.y, i.y);
40
40
  return {
41
41
  x: a,
42
42
  y: s,
43
43
  width: o - a,
44
- height: l - s,
44
+ height: c - s,
45
45
  left: a,
46
46
  right: o,
47
- top: l,
47
+ top: c,
48
48
  bottom: s,
49
49
  center: {
50
50
  x: (a + o) / 2,
51
- y: (s + l) / 2
51
+ y: (s + c) / 2
52
52
  },
53
53
  corners: [
54
54
  t,
@@ -105,11 +105,11 @@ var b = new (h = class {
105
105
  } : {};
106
106
  }
107
107
  get hasUnsavedChanges() {
108
- let t = this.savedKiosk, n = e(this.kiosk);
109
- if (!n || !t) return !!n != !!t;
110
- let r = Object.keys(t), i = Object.keys(n);
111
- if (r.length !== i.length) return !0;
112
- for (let e of r) if (!(e in n) || t[e] !== n[e]) return !0;
108
+ let e = this.savedKiosk, t = a(this.kiosk);
109
+ if (!t || !e) return !!t != !!e;
110
+ let n = Object.keys(e), r = Object.keys(t);
111
+ if (n.length !== r.length) return !0;
112
+ for (let r of n) if (!(r in t) || e[r] !== t[r]) return !0;
113
113
  return !1;
114
114
  }
115
115
  addStatusMessage(e) {
@@ -125,14 +125,14 @@ var b = new (h = class {
125
125
  clearTimeout(this.statusMessageTimer), this.statusMessageTimer = window.setTimeout(() => this.clearStatusMessages(), 1e3);
126
126
  }
127
127
  async resetCamera() {
128
- let { z: e, mapRollDegrees: n, mapInitialPtScale: r, mapPtScale: i, mapCenterX: a, mapCenterY: o } = this.kiosk || {};
128
+ let { z: t, mapRollDegrees: n, mapInitialPtScale: r, mapPtScale: i, mapCenterX: a, mapCenterY: o } = this.kiosk || {};
129
129
  await this.renderer.controls.resetCamera({
130
130
  pan: !0,
131
131
  zoom: !0,
132
132
  roll: !0,
133
133
  pitch: !0
134
- }, !0), t(() => {
135
- 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 });
134
+ }, !0), e(() => {
135
+ 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), t && d.fp.activateFloor({ name: t });
136
136
  });
137
137
  }
138
138
  restoreData() {
@@ -148,84 +148,84 @@ var b = new (h = class {
148
148
  handleDelete() {
149
149
  o(), this.setKiosk(null), d.uiState.resetMapSettings(), d.uiState.resetUIScale(), this.resetCamera(), this.addStatusMessage({
150
150
  variant: "success",
151
- title: i("Deleted")
151
+ title: r("Deleted")
152
152
  });
153
153
  }
154
154
  handleSave() {
155
- let t = e(this.kiosk), n = this.getCameraState(), r = {
156
- ...t,
157
- ...n
155
+ let e = a(this.kiosk), t = this.getCameraState(), n = {
156
+ ...e,
157
+ ...t
158
158
  };
159
- if (!m(this.renderer, r)) {
159
+ if (!m(this.renderer, n)) {
160
160
  this.addStatusMessage({
161
161
  variant: "error",
162
- title: i("Kiosk not visible")
162
+ title: r("Kiosk not visible")
163
163
  });
164
164
  return;
165
165
  }
166
- this.setKiosk(r), l(r), d.uiState.setUIScale(r.uiScale, !0), this.addStatusMessage({
166
+ this.setKiosk(n), c(n), d.uiState.setUIScale(n.uiScale, !0), this.addStatusMessage({
167
167
  variant: "success",
168
- title: i("Saved")
169
- }), this.savedKiosk = r;
168
+ title: r("Saved")
169
+ }), this.savedKiosk = n;
170
170
  }
171
171
  delayChange(e) {
172
172
  requestAnimationFrame(() => e == null ? void 0 : e());
173
173
  }
174
- handleChange(t) {
175
- let n = e(this.kiosk);
176
- n && (Number.isFinite(t.angle) && this.setKiosk({
177
- ...n,
178
- heading: t.angle
179
- }), Number.isFinite(t.scale) && (this.setKiosk({
180
- ...n,
181
- uiScale: t.scale
182
- }), this.delayChange(() => d.uiState.setUIScale(t.scale, !1))), Number.isFinite(t.percent) && this.setKiosk({
183
- ...n,
184
- iconSizePercent: t.percent
174
+ handleChange(e) {
175
+ let t = a(this.kiosk);
176
+ t && (Number.isFinite(e.angle) && this.setKiosk({
177
+ ...t,
178
+ heading: e.angle
179
+ }), Number.isFinite(e.scale) && (this.setKiosk({
180
+ ...t,
181
+ uiScale: e.scale
182
+ }), this.delayChange(() => d.uiState.setUIScale(e.scale, !1))), Number.isFinite(e.percent) && this.setKiosk({
183
+ ...t,
184
+ iconSizePercent: e.percent
185
185
  }));
186
186
  }
187
- setInitialPtScale(t) {
187
+ setInitialPtScale(e) {
188
188
  if (this.initialPtScale) return;
189
- this.initialPtScale = t;
190
- let n = e(this.kiosk);
191
- n && this.setKiosk({
192
- ...n,
193
- mapInitialPtScale: t
189
+ this.initialPtScale = e;
190
+ let t = a(this.kiosk);
191
+ t && this.setKiosk({
192
+ ...t,
193
+ mapInitialPtScale: e
194
194
  });
195
195
  }
196
- handleClick(t) {
197
- var n;
198
- 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;
196
+ handleClick(e) {
197
+ var t;
198
+ let n = a(this.kiosk), r = d.fp.getFloors(), i = u() ? (t = r.find((e) => e.active)) == null ? void 0 : t.name : null, o = d.uiState.uiScale;
199
199
  this.setKiosk({
200
- ...r,
201
- x: t.x,
202
- y: t.y,
203
- z: a,
204
- uiScale: (r == null ? void 0 : r.uiScale) || o,
205
- heading: (r == null ? void 0 : r.heading) || 0,
206
- iconSizePercent: (r == null ? void 0 : r.iconSizePercent) || 100,
200
+ ...n,
201
+ x: e.x,
202
+ y: e.y,
203
+ z: i,
204
+ uiScale: (n == null ? void 0 : n.uiScale) || o,
205
+ heading: (n == null ? void 0 : n.heading) || 0,
206
+ iconSizePercent: (n == null ? void 0 : n.iconSizePercent) || 100,
207
207
  ...this.getCameraState()
208
208
  });
209
209
  }
210
210
  handleNavigationChange() {
211
- let t = e(this.kiosk);
212
- t && this.setKiosk({
213
- ...t,
211
+ let e = a(this.kiosk);
212
+ e && this.setKiosk({
213
+ ...e,
214
214
  ...this.getCameraState()
215
215
  });
216
216
  }
217
- }, y(h.prototype, "kiosk", [n], Object.getOwnPropertyDescriptor(h.prototype, "kiosk"), h.prototype), y(h.prototype, "setKiosk", [r], Object.getOwnPropertyDescriptor(h.prototype, "setKiosk"), h.prototype), y(h.prototype, "renderer", [n], Object.getOwnPropertyDescriptor(h.prototype, "renderer"), h.prototype), g = y(h.prototype, "savedKiosk", [a], {
217
+ }, y(h.prototype, "kiosk", [t], Object.getOwnPropertyDescriptor(h.prototype, "kiosk"), h.prototype), y(h.prototype, "setKiosk", [i], Object.getOwnPropertyDescriptor(h.prototype, "setKiosk"), h.prototype), y(h.prototype, "renderer", [t], Object.getOwnPropertyDescriptor(h.prototype, "renderer"), h.prototype), g = y(h.prototype, "savedKiosk", [n], {
218
218
  configurable: !0,
219
219
  enumerable: !0,
220
220
  writable: !0,
221
221
  initializer: null
222
- }), y(h.prototype, "hasUnsavedChanges", [n], Object.getOwnPropertyDescriptor(h.prototype, "hasUnsavedChanges"), h.prototype), _ = y(h.prototype, "statusMessages", [a], {
222
+ }), y(h.prototype, "hasUnsavedChanges", [t], Object.getOwnPropertyDescriptor(h.prototype, "hasUnsavedChanges"), h.prototype), _ = y(h.prototype, "statusMessages", [n], {
223
223
  configurable: !0,
224
224
  enumerable: !0,
225
225
  writable: !0,
226
226
  initializer: function() {
227
227
  return [];
228
228
  }
229
- }), y(h.prototype, "addStatusMessage", [r], Object.getOwnPropertyDescriptor(h.prototype, "addStatusMessage"), h.prototype), y(h.prototype, "clearStatusMessages", [r], Object.getOwnPropertyDescriptor(h.prototype, "clearStatusMessages"), h.prototype), y(h.prototype, "startCleanupMessages", [r], Object.getOwnPropertyDescriptor(h.prototype, "startCleanupMessages"), h.prototype), y(h.prototype, "resetCamera", [r], Object.getOwnPropertyDescriptor(h.prototype, "resetCamera"), h.prototype), y(h.prototype, "restoreData", [r], Object.getOwnPropertyDescriptor(h.prototype, "restoreData"), h.prototype), y(h.prototype, "handleSetupReady", [r], Object.getOwnPropertyDescriptor(h.prototype, "handleSetupReady"), h.prototype), y(h.prototype, "handleClose", [r], Object.getOwnPropertyDescriptor(h.prototype, "handleClose"), h.prototype), y(h.prototype, "handleDelete", [r], Object.getOwnPropertyDescriptor(h.prototype, "handleDelete"), h.prototype), y(h.prototype, "handleSave", [r], Object.getOwnPropertyDescriptor(h.prototype, "handleSave"), h.prototype), y(h.prototype, "handleChange", [r], Object.getOwnPropertyDescriptor(h.prototype, "handleChange"), h.prototype), y(h.prototype, "setInitialPtScale", [r], Object.getOwnPropertyDescriptor(h.prototype, "setInitialPtScale"), h.prototype), y(h.prototype, "handleClick", [r], Object.getOwnPropertyDescriptor(h.prototype, "handleClick"), h.prototype), y(h.prototype, "handleNavigationChange", [r], Object.getOwnPropertyDescriptor(h.prototype, "handleNavigationChange"), h.prototype), h)();
229
+ }), y(h.prototype, "addStatusMessage", [i], Object.getOwnPropertyDescriptor(h.prototype, "addStatusMessage"), h.prototype), y(h.prototype, "clearStatusMessages", [i], Object.getOwnPropertyDescriptor(h.prototype, "clearStatusMessages"), h.prototype), y(h.prototype, "startCleanupMessages", [i], Object.getOwnPropertyDescriptor(h.prototype, "startCleanupMessages"), h.prototype), y(h.prototype, "resetCamera", [i], Object.getOwnPropertyDescriptor(h.prototype, "resetCamera"), h.prototype), y(h.prototype, "restoreData", [i], Object.getOwnPropertyDescriptor(h.prototype, "restoreData"), h.prototype), y(h.prototype, "handleSetupReady", [i], Object.getOwnPropertyDescriptor(h.prototype, "handleSetupReady"), h.prototype), y(h.prototype, "handleClose", [i], Object.getOwnPropertyDescriptor(h.prototype, "handleClose"), h.prototype), y(h.prototype, "handleDelete", [i], Object.getOwnPropertyDescriptor(h.prototype, "handleDelete"), h.prototype), y(h.prototype, "handleSave", [i], Object.getOwnPropertyDescriptor(h.prototype, "handleSave"), h.prototype), y(h.prototype, "handleChange", [i], Object.getOwnPropertyDescriptor(h.prototype, "handleChange"), h.prototype), y(h.prototype, "setInitialPtScale", [i], Object.getOwnPropertyDescriptor(h.prototype, "setInitialPtScale"), h.prototype), y(h.prototype, "handleClick", [i], Object.getOwnPropertyDescriptor(h.prototype, "handleClick"), h.prototype), y(h.prototype, "handleNavigationChange", [i], Object.getOwnPropertyDescriptor(h.prototype, "handleNavigationChange"), h.prototype), h)();
230
230
  //#endregion
231
231
  export { b as t };
@@ -1,28 +1,29 @@
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.12" };
4
+ e.SENTRY_RELEASE = { id: "3.2.14" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "07d92a3b-55ce-4d18-9d8c-c722f0a49479", e._sentryDebugIdIdentifier = "sentry-dbid-07d92a3b-55ce-4d18-9d8c-c722f0a49479");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "b0131d65-2be6-49e1-bc28-63379c7616bb", e._sentryDebugIdIdentifier = "sentry-dbid-b0131d65-2be6-49e1-bc28-63379c7616bb");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-inJhu5W8.js";
10
- import { t } from "./react--fZLaqnU.js";
11
- import { t as n } from "./jsx-runtime-zUblDIPy.js";
12
- import { t as r } from "./classnames-TFIMEeYe.js";
13
- import { $n as i, Xn as a, er as o, o as s, qn as c, s as l, t as u } from "./store-DtssCn2i.js";
14
- import { r as d } from "./mobx-PgfpkqhK.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-CfaOzRA9.js";
9
+ import { r as e } from "./rolldown-runtime-DB8Ddt08.js";
10
+ import { t } from "./react-C3o_QT06.js";
11
+ import { t as n } from "./jsx-runtime-B2BgIlMm.js";
12
+ import { t as r } from "./classnames-CHmxGkvV.js";
13
+ import { i, r as a } from "./Button-BdvuWzrR.js";
14
+ import { Kn as o, Yn as s, o as c, s as l, t as u } from "./store-CQE29UCE.js";
15
+ import { r as d } from "./mobx-CdvsVcc9.js";
16
+ 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-BmUUjPca.js";
16
17
  //#region src/components/Mapbox/Mapbox.tsx
17
18
  var E = /* @__PURE__ */ e(r(), 1), D = /* @__PURE__ */ e(f(), 1), O = /* @__PURE__ */ e(t(), 1), k = n();
18
19
  function A() {
19
- let e = (0, O.useRef)(null), t = (0, O.useRef)(null), n = null, r = [], f = i(() => ({
20
+ let e = (0, O.useRef)(null), t = (0, O.useRef)(null), n = null, r = [], f = a(() => ({
20
21
  get initselected() {
21
22
  return ![...l.selectedBooths].filter((e) => e.rect);
22
23
  },
23
24
  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;
25
+ let e = c.routeStore.currentPosition;
26
+ return !(e != null && e.z) || c.layerStore.visible.indexOf(c.layerStore.findLayer(e.z)) > -1 ? e : null;
26
27
  },
27
28
  get style() {
28
29
  return { left: 0 };
@@ -43,28 +44,28 @@ function A() {
43
44
  accessToken: x.token
44
45
  }), T(t.current), t.current.on("load", async () => {
45
46
  var e;
46
- setTimeout(() => p(f.initselected ? a.fromMultiple([...l.selectedBooths].filter((e) => e.rect).map((e) => e.rect)) : c, 15, 4e3), 1500), t.current.setLight({
47
+ setTimeout(() => p(f.initselected ? s.fromMultiple([...l.selectedBooths].filter((e) => e.rect).map((e) => e.rect)) : o, 15, 4e3), 1500), t.current.setLight({
47
48
  anchor: "viewport",
48
49
  color: "white",
49
50
  intensity: 0
50
51
  });
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);
52
+ let n = await C(c.boothStore.booths);
53
+ m(c.boothStore.booths, n), h("yah", (e = c.routeStore.defaultFrom) != null && e.rect ? {
54
+ x: c.routeStore.defaultFrom.rect.cx,
55
+ y: c.routeStore.defaultFrom.rect.cy
56
+ } : null), h("cp", f.actualCurrentPosition), r = y(c.layerStore.layers);
56
57
  let i = r.filter((e) => e.indexOf("--") === -1);
57
- b(s.routeStore), w(), t.current.on("mouseenter", i, () => t.current.getCanvas().style.cursor = "pointer"), t.current.on("mouseleave", i, () => 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) => {
58
+ b(c.routeStore), w(), t.current.on("mouseenter", i, () => t.current.getCanvas().style.cursor = "pointer"), t.current.on("mouseleave", i, () => t.current.getCanvas().style.cursor = ""), t.current.on("click", (e) => {
59
+ 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 = c.boothStore.booths.find((e) => {
59
60
  var t;
60
61
  return e.name === (i == null || (t = i.properties) == null ? void 0 : t.id);
61
62
  });
62
- s.clickBooth(a);
63
+ c.clickBooth(a);
63
64
  });
64
65
  });
65
66
  }
66
67
  }), d(() => l.zoomBy, () => {
67
- if (!l.zoomBy || !s.mapboxStore.showMapbox) return;
68
+ if (!l.zoomBy || !c.mapboxStore.showMapbox) return;
68
69
  let e = l.zoomBy;
69
70
  l.zoomBy = null, t.current.flyTo({
70
71
  zoom: t.current.getZoom() + (e > 1 ? .5 : -.5),
@@ -73,43 +74,43 @@ function A() {
73
74
  essential: !0
74
75
  });
75
76
  }), d(() => [
76
- s.layerStore.loaded,
77
- s.layerStore.visible,
77
+ c.layerStore.loaded,
78
+ c.layerStore.visible,
78
79
  l.selectedRoute
79
80
  ], () => {
80
81
  var e, n;
81
82
  r.forEach((e) => {
82
- let n = e.split("--")[0], r = s.layerStore.layers.find((e) => e.name === n);
83
+ let n = e.split("--")[0], r = c.layerStore.layers.find((e) => e.name === n);
83
84
  (r.visible || t.current.getLayoutProperty(e, "visibility") !== "none") && t.current.setLayoutProperty(e, "visibility", r.visible ? "visible" : "none");
84
- }), _([...l.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
85
+ }), _([...l.selectedBooths], c.boothStore.booths), h("yah", (e = c.routeStore.defaultFrom) != null && e.rect && !((n = c.routeStore.defaultFrom) == null || (n = n.layer) == null) && n.visible ? {
86
+ x: c.routeStore.defaultFrom.rect.cx,
87
+ y: c.routeStore.defaultFrom.rect.cy
87
88
  } : null), h("cp", f.actualCurrentPosition);
88
89
  }), d(() => l.hoveredBooths, () => {
89
90
  n && (clearTimeout(n), n = null), n = setTimeout(() => {
90
91
  n = null, S([...l.hoveredBooths].filter((e) => {
91
92
  var t, n;
92
93
  return (t = (n = e.layer) == null ? void 0 : n.visible) == null ? !0 : t;
93
- }), s.boothStore.booths);
94
+ }), c.boothStore.booths);
94
95
  }, 50);
95
96
  }), d(() => [l.selectedBooths, l.listBooths], () => {
96
97
  var e = [];
97
- l.selectedBooths.size ? e = [...l.selectedBooths] : l.listBooths.size && (l.activeListIndex === 0 || l.list.type === "bookmarks" || l.list.type === "category") && (e = [...l.listBooths]), _(e, s.boothStore.booths);
98
- }), d(() => s.mapboxStore.showMapbox, () => {
99
- g(s.mapboxStore.showMapbox);
98
+ l.selectedBooths.size ? e = [...l.selectedBooths] : l.listBooths.size && (l.activeListIndex === 0 || l.list.type === "bookmarks" || l.list.type === "category") && (e = [...l.listBooths]), _(e, c.boothStore.booths);
99
+ }), d(() => c.mapboxStore.showMapbox, () => {
100
+ g(c.mapboxStore.showMapbox);
100
101
  }), d(() => l.moveToBooths, () => {
101
- if (!l.moveToBooths || !s.mapboxStore.showMapbox) return;
102
- let e = l.moveToBooths.filter((e) => e.rect).map((e) => e.rect), t = a.fromMultiple(e);
102
+ if (!l.moveToBooths || !c.mapboxStore.showMapbox) return;
103
+ let e = l.moveToBooths.filter((e) => e.rect).map((e) => e.rect), t = s.fromMultiple(e);
103
104
  e.length && p(t), l.moveToBooths = null;
104
105
  }), d(() => l.moveToRect, () => {
105
- !l.moveToRect || !s.mapboxStore.showMapbox || (p(l.moveToRect, 15), l.moveToRect = null);
106
+ !l.moveToRect || !c.mapboxStore.showMapbox || (p(l.moveToRect, 15), l.moveToRect = null);
106
107
  }), d(() => l.moveToLocation, () => {
107
- !l.moveToLocation || !s.mapboxStore.showMapbox || v();
108
+ !l.moveToLocation || !c.mapboxStore.showMapbox || v();
108
109
  }), d(() => l.centerMap, () => {
109
- !l.centerMap || !s.mapboxStore.showMapbox || (p(a.fromMultiple(u.booths.map((e) => e.rect)), 15), l.centerMap = !1);
110
- }), d(() => s.routeStore.routeLines, () => b(s.routeStore)), d(() => f.actualCurrentPosition, () => h("cp", f.actualCurrentPosition)), o(() => /* @__PURE__ */ (0, k.jsx)("div", {
110
+ !l.centerMap || !c.mapboxStore.showMapbox || (p(s.fromMultiple(u.booths.map((e) => e.rect)), 15), l.centerMap = !1);
111
+ }), d(() => c.routeStore.routeLines, () => b(c.routeStore)), d(() => f.actualCurrentPosition, () => h("cp", f.actualCurrentPosition)), i(() => /* @__PURE__ */ (0, k.jsx)("div", {
111
112
  style: f.style,
112
- className: (0, E.default)("map-container", { hidden: !s.mapboxStore.showMapbox }),
113
+ className: (0, E.default)("map-container", { hidden: !c.mapboxStore.showMapbox }),
113
114
  children: /* @__PURE__ */ (0, k.jsx)("div", {
114
115
  ref: e,
115
116
  className: (0, E.default)("map-wrapper", "mapboxgl-map")