efficient-shell 8.33.0 → 8.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (476) hide show
  1. package/README.md +66 -15
  2. package/THIRD_PARTY_NOTICES.md +11 -2
  3. package/dist/{Browser-V3NK5J6A.js → Browser-ERZNOFN7.js} +14 -14
  4. package/dist/Calculator-NXIOZMML.js +29 -0
  5. package/dist/{CurrencyConverter-S7LG5PMX.js → CurrencyConverter-57WUTV4H.js} +12 -12
  6. package/dist/{Documents-EKGXGENC.js → Documents-POWS4L44.js} +7 -7
  7. package/dist/{Files-5J4CR3CU.js → Files-O44UH6ZF.js} +40 -40
  8. package/dist/{Notepad-GTU3U27L.js → Notepad-66ZCGUHC.js} +9 -9
  9. package/dist/PdfViewer-KSLOYXMD.js +1 -0
  10. package/dist/{PomodoroTimer-2HPCAEI5.js → PomodoroTimer-GLYNCO4H.js} +17 -17
  11. package/dist/{Preview-TMS6JTPA.js → Preview-WZDFVBNJ.js} +15 -15
  12. package/dist/Sidebar-QQFJJWE2.js +43 -0
  13. package/dist/{Spreadsheet-P77Z2TVQ.js → Spreadsheet-OYAVNRCT.js} +14 -14
  14. package/dist/{Stock-VNFYS73L.js → Stock-CIHUZOQS.js} +7 -7
  15. package/dist/{Weather-DS4YZ6SH.js → Weather-UKLNJ3VF.js} +13 -13
  16. package/dist/{WorldClock-7S4TITSF.js → WorldClock-OZ3I7D2M.js} +6 -6
  17. package/dist/ai/index.d.ts +48 -10
  18. package/dist/ai/index.js +38 -33
  19. package/dist/ai.css +1 -1
  20. package/dist/apps/index.js +1 -1
  21. package/dist/bin/media-host-check.js +1 -1
  22. package/dist/bin/ui-check.js +1 -1
  23. package/dist/chunk-243NPEG6.js +2 -0
  24. package/dist/{chunk-L3NYH4QV.js → chunk-2AHHM4SK.js} +39 -39
  25. package/dist/{chunk-7CFH6Y4T.js → chunk-2F7ZOMKK.js} +1 -1
  26. package/dist/chunk-2PWZNFFP.js +19 -0
  27. package/dist/{chunk-KIBL6M3T.js → chunk-2SHYR3RA.js} +4 -3
  28. package/dist/{chunk-G433MKIN.js → chunk-2U2GJCSP.js} +5 -5
  29. package/dist/chunk-2UCDJCGZ.js +4 -0
  30. package/dist/{chunk-ZN3O2KJ7.js → chunk-2WL3Q7VW.js} +12 -12
  31. package/dist/chunk-2ZD67TDP.js +2 -0
  32. package/dist/chunk-3ER2WJNL.js +2 -0
  33. package/dist/chunk-44F7JLNV.js +2 -0
  34. package/dist/chunk-474G67EG.js +6 -0
  35. package/dist/chunk-47OCVZXD.js +2 -0
  36. package/dist/chunk-4CFQXH5N.js +2 -0
  37. package/dist/chunk-4FNGR474.js +2 -0
  38. package/dist/{chunk-XWLWG4HS.js → chunk-4GVH4ZUH.js} +1 -1
  39. package/dist/{chunk-YRWRA7MW.js → chunk-4HCRZHIX.js} +1 -1
  40. package/dist/chunk-4L7GLO5W.js +2 -0
  41. package/dist/{chunk-MXHEREC6.js → chunk-4MO375G3.js} +3 -3
  42. package/dist/chunk-4RDYNULI.js +2 -0
  43. package/dist/{chunk-WFWDABGV.js → chunk-4RNF6MNW.js} +2 -2
  44. package/dist/chunk-5DFKPSJQ.js +1 -0
  45. package/dist/chunk-5FCEBKT2.js +7 -0
  46. package/dist/chunk-5HDMPCZP.js +2 -0
  47. package/dist/chunk-5KZ4WKUI.js +2 -0
  48. package/dist/{chunk-DGLCMYSQ.js → chunk-5N5DBTTF.js} +11 -11
  49. package/dist/{chunk-KNVE7CMS.js → chunk-5OX6KXWY.js} +1 -1
  50. package/dist/{chunk-PNQ4EYYM.js → chunk-5YELPBUT.js} +3 -3
  51. package/dist/chunk-64ZHCEZN.js +5 -0
  52. package/dist/{chunk-Y2D2YMFY.js → chunk-6ANFVX4M.js} +12 -12
  53. package/dist/chunk-6I7EODFJ.js +7 -0
  54. package/dist/chunk-6IUDFVTN.js +2 -0
  55. package/dist/chunk-75IWV4ZF.js +2 -0
  56. package/dist/chunk-77SI7AKG.js +2 -0
  57. package/dist/{chunk-KK5MX7EH.js → chunk-7ACSSYEZ.js} +13 -13
  58. package/dist/chunk-7GB7CVQI.js +2 -0
  59. package/dist/chunk-7KCJ77BP.js +2 -0
  60. package/dist/chunk-7P3DXO3E.js +2 -0
  61. package/dist/{chunk-GI7FOLDX.js → chunk-ACW3J77L.js} +1 -1
  62. package/dist/{chunk-ERMZ75FO.js → chunk-AF7R2MV4.js} +1 -1
  63. package/dist/{chunk-QQK3XS6H.js → chunk-AZU7YOES.js} +8 -8
  64. package/dist/{chunk-NFR4QZL2.js → chunk-BHMUOWAE.js} +4 -4
  65. package/dist/chunk-BWIX3YIH.js +2 -0
  66. package/dist/{chunk-XEKPJGVZ.js → chunk-BX2IOAD5.js} +1 -1
  67. package/dist/chunk-BXQYRG7P.js +2 -0
  68. package/dist/{chunk-UB4BTRSB.js → chunk-BYCOB6WT.js} +1 -1
  69. package/dist/chunk-BZMZTPS6.js +1 -0
  70. package/dist/chunk-BZR43D3G.js +2 -0
  71. package/dist/chunk-CAMLFCGY.js +29 -0
  72. package/dist/chunk-CAUWHLN7.js +4 -0
  73. package/dist/{chunk-3GT6LKCC.js → chunk-CCPNMYCK.js} +1 -1
  74. package/dist/{chunk-RAAUW5OZ.js → chunk-DG2WU3BU.js} +2 -2
  75. package/dist/chunk-DIN3EFOM.js +14 -0
  76. package/dist/chunk-DS6R5R3O.js +2 -0
  77. package/dist/{chunk-WJ3XSJ6B.js → chunk-EBC4XFL2.js} +1 -1
  78. package/dist/{chunk-37JDUDCO.js → chunk-ECCUEG3J.js} +1 -1
  79. package/dist/chunk-EHMDGAWA.js +2 -0
  80. package/dist/{chunk-FJXYKN7R.js → chunk-EM6BEHAD.js} +8 -8
  81. package/dist/chunk-EQPVQY5E.js +2 -0
  82. package/dist/{chunk-KFXVHP37.js → chunk-EVB35JP5.js} +1 -1
  83. package/dist/{chunk-FL2PUQX7.js → chunk-EW6FRPFJ.js} +1 -1
  84. package/dist/{chunk-JCMP5KMS.js → chunk-EZY4CO4A.js} +6 -6
  85. package/dist/chunk-FATXXVV3.js +2 -0
  86. package/dist/chunk-FEVWWOGL.js +2 -0
  87. package/dist/{chunk-PJCVNFWM.js → chunk-FKZEGBLK.js} +10 -10
  88. package/dist/chunk-FMERDO2X.js +2 -0
  89. package/dist/{chunk-DTSCO7VM.js → chunk-FMKTVZAO.js} +1 -1
  90. package/dist/chunk-FOXMWLVS.js +2 -0
  91. package/dist/{chunk-IZCODCSC.js → chunk-FTKKGGOQ.js} +1 -1
  92. package/dist/chunk-FUSCAZEK.js +2 -0
  93. package/dist/{chunk-4S4523B2.js → chunk-G2MJTE6X.js} +12 -12
  94. package/dist/chunk-G4GQOAWS.js +2 -0
  95. package/dist/{chunk-EZGY6CFN.js → chunk-GK3QH63P.js} +1 -1
  96. package/dist/{chunk-QGDZ6RAI.js → chunk-HAIMJAI4.js} +2 -2
  97. package/dist/chunk-HMHL27AU.js +6 -0
  98. package/dist/chunk-I27TFZJH.js +2 -0
  99. package/dist/chunk-IBHBPSQN.js +2 -0
  100. package/dist/{chunk-4AAGZQX7.js → chunk-IHEEJO5S.js} +1 -1
  101. package/dist/chunk-INUXPG27.js +2 -0
  102. package/dist/{chunk-WQNIXV4T.js → chunk-IUCIYWTT.js} +8 -8
  103. package/dist/chunk-IWQSBA3D.js +2 -0
  104. package/dist/chunk-JBQWR4SX.js +8 -0
  105. package/dist/{chunk-AX7KPMDV.js → chunk-JDKRQG7X.js} +2 -2
  106. package/dist/chunk-JMWKD4R5.js +2 -0
  107. package/dist/chunk-JREQY3YN.js +2 -0
  108. package/dist/chunk-JVIOAZHW.js +14 -0
  109. package/dist/chunk-K4RFJ7P2.js +2 -0
  110. package/dist/chunk-KTMEHSTB.js +2 -0
  111. package/dist/{chunk-FOLZVO2Z.js → chunk-L3G3YHVN.js} +13 -13
  112. package/dist/chunk-L65BESIE.js +1 -0
  113. package/dist/chunk-LQD7K7HK.js +2 -0
  114. package/dist/{chunk-ZEKM6HAA.js → chunk-M2AIC7IK.js} +2 -2
  115. package/dist/{chunk-KDZUWQEG.js → chunk-M2KV4WKR.js} +1 -1
  116. package/dist/{chunk-H3BC4KDE.js → chunk-M2LLVSBR.js} +1 -1
  117. package/dist/{chunk-SAKHGHF5.js → chunk-MC43PRTL.js} +1 -1
  118. package/dist/{chunk-VRUDENTZ.js → chunk-MICWRC72.js} +7 -7
  119. package/dist/chunk-MTZUYC4Y.js +5 -0
  120. package/dist/chunk-MVJ34HIV.js +2 -0
  121. package/dist/{chunk-WTY3SXO7.js → chunk-MY755PTJ.js} +1 -1
  122. package/dist/chunk-NEQFHRF3.js +2 -0
  123. package/dist/chunk-NFMDU4EJ.js +4 -0
  124. package/dist/chunk-NK7HBFNQ.js +2 -0
  125. package/dist/chunk-NKZNPYDB.js +3 -0
  126. package/dist/chunk-NTME34BP.js +2 -0
  127. package/dist/chunk-NTWI7EGJ.js +4 -0
  128. package/dist/{chunk-YSFLXPUS.js → chunk-NUSSZJF2.js} +5 -5
  129. package/dist/chunk-NZBQVE3Q.js +2 -0
  130. package/dist/{chunk-RGBX3EVC.js → chunk-O2YAB6WK.js} +8 -8
  131. package/dist/{chunk-TRZPF2CE.js → chunk-OFKWTOXK.js} +3 -3
  132. package/dist/chunk-OIH56GH5.js +2 -0
  133. package/dist/chunk-OKRAYHGW.js +2 -0
  134. package/dist/chunk-OM5K4WCB.js +2 -0
  135. package/dist/chunk-ONC3BFFM.js +2 -0
  136. package/dist/chunk-OSXM35MX.js +2 -0
  137. package/dist/{chunk-ZT5Y5JZB.js → chunk-P42YNSKI.js} +4 -4
  138. package/dist/chunk-PAZU27H5.js +2 -0
  139. package/dist/chunk-PBGMVLOF.js +2 -0
  140. package/dist/{chunk-TFMOGKW2.js → chunk-PCKYNZ5Y.js} +10 -10
  141. package/dist/chunk-PRJJK7VR.js +2 -0
  142. package/dist/chunk-PYW3HX7A.js +2 -0
  143. package/dist/{chunk-YW2DH6YQ.js → chunk-QPWD5CCS.js} +5 -5
  144. package/dist/chunk-QTM26JQP.js +2 -0
  145. package/dist/chunk-QYEMC2OA.js +2 -0
  146. package/dist/chunk-R2IXRW5N.js +2 -0
  147. package/dist/{chunk-RUQEB2ZC.js → chunk-R4C3GGCS.js} +3 -3
  148. package/dist/chunk-RAHDUMQ5.js +2 -0
  149. package/dist/{chunk-3V5Z2BJY.js → chunk-RB2F65YJ.js} +12 -12
  150. package/dist/chunk-RBXMTHOT.js +4 -0
  151. package/dist/chunk-ROUTBYMG.js +5 -0
  152. package/dist/{chunk-BZV4K6GR.js → chunk-RPJ2GC3K.js} +20 -20
  153. package/dist/{chunk-XC55NMXR.js → chunk-S4IW5OL3.js} +1 -1
  154. package/dist/chunk-S4J4B7LY.js +5 -0
  155. package/dist/{chunk-HVX37PKU.js → chunk-SEXLHFMR.js} +1 -1
  156. package/dist/{chunk-SYSDAVZ3.js → chunk-SWHRP52Y.js} +1 -1
  157. package/dist/chunk-T3NJAOJL.js +2 -0
  158. package/dist/{chunk-NWP6IJYK.js → chunk-TANR67XF.js} +2 -2
  159. package/dist/chunk-TI5WUO3V.js +2 -0
  160. package/dist/{chunk-4F3IKYUO.js → chunk-TOVHLONK.js} +6 -6
  161. package/dist/{chunk-JOIWDQRJ.js → chunk-TRD22FC7.js} +6 -6
  162. package/dist/{chunk-YGZMD6TZ.js → chunk-TTY62G5D.js} +16 -16
  163. package/dist/{chunk-YCQVEJOT.js → chunk-TW6WYYBC.js} +2 -2
  164. package/dist/{chunk-B55IXYDR.js → chunk-TZHWF3P5.js} +2 -2
  165. package/dist/chunk-UKC6VJE4.js +2 -0
  166. package/dist/chunk-URWQO4KB.js +2 -0
  167. package/dist/{chunk-IAQC775L.js → chunk-UZ3CZQA4.js} +1 -1
  168. package/dist/chunk-V3GM5NXB.js +2 -0
  169. package/dist/chunk-V6Q2GZAI.js +2 -0
  170. package/dist/chunk-VRODVMV3.js +1 -0
  171. package/dist/chunk-VW4FHT46.js +2 -0
  172. package/dist/chunk-W5DLG5T2.js +2 -0
  173. package/dist/chunk-W5I35GZZ.js +2 -0
  174. package/dist/{chunk-V4KQUOUP.js → chunk-WKRFD4E4.js} +8 -8
  175. package/dist/{chunk-PDXD6DT7.js → chunk-WME5DFB6.js} +1 -1
  176. package/dist/chunk-WYDD26UO.js +2 -0
  177. package/dist/{chunk-3C67XRVJ.js → chunk-XB2YPUKR.js} +8 -8
  178. package/dist/{chunk-DWYNPXSB.js → chunk-XDDTFV32.js} +1 -1
  179. package/dist/chunk-XUYWUGDM.js +2 -0
  180. package/dist/{chunk-UQBPKZUR.js → chunk-XZL3HCWH.js} +1 -1
  181. package/dist/{chunk-IK4Y7WEP.js → chunk-YBB56N6X.js} +1 -1
  182. package/dist/chunk-YHYAGJ6V.js +2 -0
  183. package/dist/chunk-YKKMR5DU.js +8 -0
  184. package/dist/chunk-YVULGIDQ.js +2 -0
  185. package/dist/chunk-Z5XEAC32.js +2 -0
  186. package/dist/chunk-ZBL4CN2E.js +2 -0
  187. package/dist/chunk-ZEN67DFI.js +2 -0
  188. package/dist/{chunk-X5AZHR2J.js → chunk-ZRHQGFO5.js} +2 -2
  189. package/dist/{chunk-O3HRFXNN.js → chunk-ZXSMSVLU.js} +3 -3
  190. package/dist/chunk-ZXU4DEQM.js +2 -0
  191. package/dist/chunk-ZZIVSJ2B.js +2 -0
  192. package/dist/data/ListLoadError.js +1 -1
  193. package/dist/format/index.js +1 -1
  194. package/dist/forms/BorderInput.js +1 -1
  195. package/dist/forms/BrandAssetEditor.js +1 -1
  196. package/dist/forms/Calendar.js +1 -1
  197. package/dist/forms/ColorPicker.js +1 -1
  198. package/dist/forms/ComposerAttachments.js +1 -1
  199. package/dist/forms/CornersInput.js +1 -1
  200. package/dist/forms/DatePicker.js +1 -1
  201. package/dist/forms/DateRangePicker.js +1 -1
  202. package/dist/forms/DisplayChips.js +1 -1
  203. package/dist/forms/FilePicker.js +1 -1
  204. package/dist/forms/IconPicker.js +1 -1
  205. package/dist/forms/InputNumber.js +1 -1
  206. package/dist/forms/LinkPicker.js +1 -1
  207. package/dist/forms/MediaLibrary.js +1 -1
  208. package/dist/forms/MediaUploadField.js +1 -1
  209. package/dist/forms/MediaUploadGrid.js +1 -1
  210. package/dist/forms/MediaUsedInList.js +1 -1
  211. package/dist/forms/PositionInput.js +1 -1
  212. package/dist/forms/Select.d.ts +1 -1
  213. package/dist/forms/Select.js +1 -1
  214. package/dist/forms/SidesInput.js +1 -1
  215. package/dist/forms/Slider.js +1 -1
  216. package/dist/forms/Snippet.js +1 -1
  217. package/dist/forms/SplitButton.js +1 -1
  218. package/dist/forms/Switch.js +1 -1
  219. package/dist/forms/TagInput.js +1 -1
  220. package/dist/forms/TextToolbar.d.ts +4 -1
  221. package/dist/forms/TextToolbar.js +1 -1
  222. package/dist/forms/WidthsBar.js +1 -1
  223. package/dist/forms/mediaLibraryMenu.js +1 -1
  224. package/dist/forms/settingRowContext.d.ts +11 -1
  225. package/dist/forms/settingRowContext.js +1 -1
  226. package/dist/forms/textAlign.d.ts +89 -0
  227. package/dist/forms/textAlign.js +2 -0
  228. package/dist/icons/efficient-glyphs.d.ts +61 -0
  229. package/dist/icons/efficient-glyphs.js +1 -1
  230. package/dist/icons/efficient-looks.d.ts +22 -0
  231. package/dist/icons/efficient-looks.js +1 -1
  232. package/dist/icons/efficient-meanings.d.ts +61 -0
  233. package/dist/icons/efficient-meanings.js +1 -1
  234. package/dist/icons/efficient.d.ts +61 -0
  235. package/dist/icons/efficient.js +1 -1
  236. package/dist/icons/glyphs/BrandAdyenIcon.d.ts +11 -0
  237. package/dist/icons/glyphs/BrandAdyenIcon.js +1 -0
  238. package/dist/icons/glyphs/BrandAfterpayIcon.d.ts +11 -0
  239. package/dist/icons/glyphs/BrandAfterpayIcon.js +1 -0
  240. package/dist/icons/glyphs/BrandAircallIcon.d.ts +11 -0
  241. package/dist/icons/glyphs/BrandAircallIcon.js +1 -0
  242. package/dist/icons/glyphs/BrandAmericanexpressIcon.d.ts +11 -0
  243. package/dist/icons/glyphs/BrandAmericanexpressIcon.js +1 -0
  244. package/dist/icons/glyphs/BrandApplepayIcon.d.ts +11 -0
  245. package/dist/icons/glyphs/BrandApplepayIcon.js +1 -0
  246. package/dist/icons/glyphs/BrandBigcommerceIcon.d.ts +11 -0
  247. package/dist/icons/glyphs/BrandBigcommerceIcon.js +1 -0
  248. package/dist/icons/glyphs/BrandBrevoIcon.d.ts +11 -0
  249. package/dist/icons/glyphs/BrandBrevoIcon.js +1 -0
  250. package/dist/icons/glyphs/BrandCalendlyIcon.d.ts +11 -0
  251. package/dist/icons/glyphs/BrandCalendlyIcon.js +1 -0
  252. package/dist/icons/glyphs/BrandCampaignmonitorIcon.d.ts +11 -0
  253. package/dist/icons/glyphs/BrandCampaignmonitorIcon.js +1 -0
  254. package/dist/icons/glyphs/BrandDhlIcon.d.ts +11 -0
  255. package/dist/icons/glyphs/BrandDhlIcon.js +1 -0
  256. package/dist/icons/glyphs/BrandDropboxIcon.d.ts +11 -0
  257. package/dist/icons/glyphs/BrandDropboxIcon.js +1 -0
  258. package/dist/icons/glyphs/BrandEbayIcon.d.ts +11 -0
  259. package/dist/icons/glyphs/BrandEbayIcon.js +1 -0
  260. package/dist/icons/glyphs/BrandEtsyIcon.d.ts +11 -0
  261. package/dist/icons/glyphs/BrandEtsyIcon.js +1 -0
  262. package/dist/icons/glyphs/BrandFacebookIcon.d.ts +11 -0
  263. package/dist/icons/glyphs/BrandFacebookIcon.js +1 -0
  264. package/dist/icons/glyphs/BrandFedexIcon.d.ts +11 -0
  265. package/dist/icons/glyphs/BrandFedexIcon.js +1 -0
  266. package/dist/icons/glyphs/BrandGmailIcon.d.ts +11 -0
  267. package/dist/icons/glyphs/BrandGmailIcon.js +1 -0
  268. package/dist/icons/glyphs/BrandGoogleadsIcon.d.ts +11 -0
  269. package/dist/icons/glyphs/BrandGoogleadsIcon.js +1 -0
  270. package/dist/icons/glyphs/BrandGoogleanalyticsIcon.d.ts +11 -0
  271. package/dist/icons/glyphs/BrandGoogleanalyticsIcon.js +1 -0
  272. package/dist/icons/glyphs/BrandGooglecalendarIcon.d.ts +11 -0
  273. package/dist/icons/glyphs/BrandGooglecalendarIcon.js +1 -0
  274. package/dist/icons/glyphs/BrandGoogledriveIcon.d.ts +11 -0
  275. package/dist/icons/glyphs/BrandGoogledriveIcon.js +1 -0
  276. package/dist/icons/glyphs/BrandGooglepayIcon.d.ts +11 -0
  277. package/dist/icons/glyphs/BrandGooglepayIcon.js +1 -0
  278. package/dist/icons/glyphs/BrandGooglesheetsIcon.d.ts +11 -0
  279. package/dist/icons/glyphs/BrandGooglesheetsIcon.js +1 -0
  280. package/dist/icons/glyphs/BrandHubspotIcon.d.ts +11 -0
  281. package/dist/icons/glyphs/BrandHubspotIcon.js +1 -0
  282. package/dist/icons/glyphs/BrandInstagramIcon.d.ts +11 -0
  283. package/dist/icons/glyphs/BrandInstagramIcon.js +1 -0
  284. package/dist/icons/glyphs/BrandIntercomIcon.d.ts +11 -0
  285. package/dist/icons/glyphs/BrandIntercomIcon.js +1 -0
  286. package/dist/icons/glyphs/BrandKlarnaIcon.d.ts +11 -0
  287. package/dist/icons/glyphs/BrandKlarnaIcon.js +1 -0
  288. package/dist/icons/glyphs/BrandLineIcon.d.ts +11 -0
  289. package/dist/icons/glyphs/BrandLineIcon.js +1 -0
  290. package/dist/icons/glyphs/BrandLinkedinIcon.d.ts +11 -0
  291. package/dist/icons/glyphs/BrandLinkedinIcon.js +1 -0
  292. package/dist/icons/glyphs/BrandMailchimpIcon.d.ts +11 -0
  293. package/dist/icons/glyphs/BrandMailchimpIcon.js +1 -0
  294. package/dist/icons/glyphs/BrandMailgunIcon.d.ts +11 -0
  295. package/dist/icons/glyphs/BrandMailgunIcon.js +1 -0
  296. package/dist/icons/glyphs/BrandMakeIcon.d.ts +11 -0
  297. package/dist/icons/glyphs/BrandMakeIcon.js +1 -0
  298. package/dist/icons/glyphs/BrandMastercardIcon.d.ts +11 -0
  299. package/dist/icons/glyphs/BrandMastercardIcon.js +1 -0
  300. package/dist/icons/glyphs/BrandMessengerIcon.d.ts +11 -0
  301. package/dist/icons/glyphs/BrandMessengerIcon.js +1 -0
  302. package/dist/icons/glyphs/BrandMetaIcon.d.ts +11 -0
  303. package/dist/icons/glyphs/BrandMetaIcon.js +1 -0
  304. package/dist/icons/glyphs/BrandMyobIcon.d.ts +11 -0
  305. package/dist/icons/glyphs/BrandMyobIcon.js +1 -0
  306. package/dist/icons/glyphs/BrandNotionIcon.d.ts +11 -0
  307. package/dist/icons/glyphs/BrandNotionIcon.js +1 -0
  308. package/dist/icons/glyphs/BrandPaypalIcon.d.ts +11 -0
  309. package/dist/icons/glyphs/BrandPaypalIcon.js +1 -0
  310. package/dist/icons/glyphs/BrandPinterestIcon.d.ts +11 -0
  311. package/dist/icons/glyphs/BrandPinterestIcon.js +1 -0
  312. package/dist/icons/glyphs/BrandQuickbooksIcon.d.ts +11 -0
  313. package/dist/icons/glyphs/BrandQuickbooksIcon.js +1 -0
  314. package/dist/icons/glyphs/BrandSageIcon.d.ts +11 -0
  315. package/dist/icons/glyphs/BrandSageIcon.js +1 -0
  316. package/dist/icons/glyphs/BrandShopifyIcon.d.ts +11 -0
  317. package/dist/icons/glyphs/BrandShopifyIcon.js +1 -0
  318. package/dist/icons/glyphs/BrandSquareIcon.d.ts +11 -0
  319. package/dist/icons/glyphs/BrandSquareIcon.js +1 -0
  320. package/dist/icons/glyphs/BrandSquarespaceIcon.d.ts +11 -0
  321. package/dist/icons/glyphs/BrandSquarespaceIcon.js +1 -0
  322. package/dist/icons/glyphs/BrandStripeIcon.d.ts +11 -0
  323. package/dist/icons/glyphs/BrandStripeIcon.js +1 -0
  324. package/dist/icons/glyphs/BrandTelegramIcon.d.ts +11 -0
  325. package/dist/icons/glyphs/BrandTelegramIcon.js +1 -0
  326. package/dist/icons/glyphs/BrandTiktokIcon.d.ts +11 -0
  327. package/dist/icons/glyphs/BrandTiktokIcon.js +1 -0
  328. package/dist/icons/glyphs/BrandTrelloIcon.d.ts +11 -0
  329. package/dist/icons/glyphs/BrandTrelloIcon.js +1 -0
  330. package/dist/icons/glyphs/BrandUpsIcon.d.ts +11 -0
  331. package/dist/icons/glyphs/BrandUpsIcon.js +1 -0
  332. package/dist/icons/glyphs/BrandVisaIcon.d.ts +11 -0
  333. package/dist/icons/glyphs/BrandVisaIcon.js +1 -0
  334. package/dist/icons/glyphs/BrandVonageIcon.d.ts +11 -0
  335. package/dist/icons/glyphs/BrandVonageIcon.js +1 -0
  336. package/dist/icons/glyphs/BrandWechatIcon.d.ts +11 -0
  337. package/dist/icons/glyphs/BrandWechatIcon.js +1 -0
  338. package/dist/icons/glyphs/BrandWhatsappIcon.d.ts +11 -0
  339. package/dist/icons/glyphs/BrandWhatsappIcon.js +1 -0
  340. package/dist/icons/glyphs/BrandWiseIcon.d.ts +11 -0
  341. package/dist/icons/glyphs/BrandWiseIcon.js +1 -0
  342. package/dist/icons/glyphs/BrandWixIcon.d.ts +11 -0
  343. package/dist/icons/glyphs/BrandWixIcon.js +1 -0
  344. package/dist/icons/glyphs/BrandWoocommerceIcon.d.ts +11 -0
  345. package/dist/icons/glyphs/BrandWoocommerceIcon.js +1 -0
  346. package/dist/icons/glyphs/BrandXIcon.d.ts +11 -0
  347. package/dist/icons/glyphs/BrandXIcon.js +1 -0
  348. package/dist/icons/glyphs/BrandXeroIcon.d.ts +11 -0
  349. package/dist/icons/glyphs/BrandXeroIcon.js +1 -0
  350. package/dist/icons/glyphs/BrandYoutubeIcon.d.ts +11 -0
  351. package/dist/icons/glyphs/BrandYoutubeIcon.js +1 -0
  352. package/dist/icons/glyphs/BrandZapierIcon.d.ts +11 -0
  353. package/dist/icons/glyphs/BrandZapierIcon.js +1 -0
  354. package/dist/icons/glyphs/BrandZendeskIcon.d.ts +11 -0
  355. package/dist/icons/glyphs/BrandZendeskIcon.js +1 -0
  356. package/dist/icons/glyphs/BrandZoomIcon.d.ts +11 -0
  357. package/dist/icons/glyphs/BrandZoomIcon.js +1 -0
  358. package/dist/icons/index.d.ts +6 -4
  359. package/dist/icons/index.js +1 -1
  360. package/dist/icons/looks/BrandFacebookOutlineIcon.d.ts +11 -0
  361. package/dist/icons/looks/BrandFacebookOutlineIcon.js +1 -0
  362. package/dist/icons/looks/BrandFacebookSolidIcon.d.ts +11 -0
  363. package/dist/icons/looks/BrandFacebookSolidIcon.js +1 -0
  364. package/dist/icons/looks/BrandInstagramOutlineIcon.d.ts +11 -0
  365. package/dist/icons/looks/BrandInstagramOutlineIcon.js +1 -0
  366. package/dist/icons/looks/BrandInstagramSolidIcon.d.ts +11 -0
  367. package/dist/icons/looks/BrandInstagramSolidIcon.js +1 -0
  368. package/dist/icons/looks/BrandLineOutlineIcon.d.ts +11 -0
  369. package/dist/icons/looks/BrandLineOutlineIcon.js +1 -0
  370. package/dist/icons/looks/BrandLineSolidIcon.d.ts +11 -0
  371. package/dist/icons/looks/BrandLineSolidIcon.js +1 -0
  372. package/dist/icons/looks/BrandLinkedinOutlineIcon.d.ts +11 -0
  373. package/dist/icons/looks/BrandLinkedinOutlineIcon.js +1 -0
  374. package/dist/icons/looks/BrandLinkedinSolidIcon.d.ts +11 -0
  375. package/dist/icons/looks/BrandLinkedinSolidIcon.js +1 -0
  376. package/dist/icons/looks/BrandPinterestOutlineIcon.d.ts +11 -0
  377. package/dist/icons/looks/BrandPinterestOutlineIcon.js +1 -0
  378. package/dist/icons/looks/BrandPinterestSolidIcon.d.ts +11 -0
  379. package/dist/icons/looks/BrandPinterestSolidIcon.js +1 -0
  380. package/dist/icons/looks/BrandTelegramOutlineIcon.d.ts +11 -0
  381. package/dist/icons/looks/BrandTelegramOutlineIcon.js +1 -0
  382. package/dist/icons/looks/BrandTelegramSolidIcon.d.ts +11 -0
  383. package/dist/icons/looks/BrandTelegramSolidIcon.js +1 -0
  384. package/dist/icons/looks/BrandTiktokOutlineIcon.d.ts +11 -0
  385. package/dist/icons/looks/BrandTiktokOutlineIcon.js +1 -0
  386. package/dist/icons/looks/BrandTiktokSolidIcon.d.ts +11 -0
  387. package/dist/icons/looks/BrandTiktokSolidIcon.js +1 -0
  388. package/dist/icons/looks/BrandWechatOutlineIcon.d.ts +11 -0
  389. package/dist/icons/looks/BrandWechatOutlineIcon.js +1 -0
  390. package/dist/icons/looks/BrandWechatSolidIcon.d.ts +11 -0
  391. package/dist/icons/looks/BrandWechatSolidIcon.js +1 -0
  392. package/dist/icons/looks/BrandWhatsappOutlineIcon.d.ts +11 -0
  393. package/dist/icons/looks/BrandWhatsappOutlineIcon.js +1 -0
  394. package/dist/icons/looks/BrandWhatsappSolidIcon.d.ts +11 -0
  395. package/dist/icons/looks/BrandWhatsappSolidIcon.js +1 -0
  396. package/dist/icons/looks/BrandXOutlineIcon.d.ts +11 -0
  397. package/dist/icons/looks/BrandXOutlineIcon.js +1 -0
  398. package/dist/icons/looks/BrandXSolidIcon.d.ts +11 -0
  399. package/dist/icons/looks/BrandXSolidIcon.js +1 -0
  400. package/dist/icons/looks/BrandYoutubeOutlineIcon.d.ts +11 -0
  401. package/dist/icons/looks/BrandYoutubeOutlineIcon.js +1 -0
  402. package/dist/icons/looks/BrandYoutubeSolidIcon.d.ts +11 -0
  403. package/dist/icons/looks/BrandYoutubeSolidIcon.js +1 -0
  404. package/dist/icons/looks/map.d.ts +1 -1
  405. package/dist/icons/looks/map.js +1 -1
  406. package/dist/icons/sets.js +1 -1
  407. package/dist/index.d.ts +3 -2
  408. package/dist/index.js +174 -174
  409. package/dist/map/index.js +6 -6
  410. package/dist/markdown/index.js +1 -1
  411. package/dist/names-mX74Rrmy.d.ts +23 -0
  412. package/dist/page-tabs/index.js +5 -5
  413. package/dist/pdf/index.js +1 -1
  414. package/dist/shell/Accordion.js +1 -1
  415. package/dist/shell/AppUpdateBanner.js +1 -1
  416. package/dist/shell/Banner.js +1 -1
  417. package/dist/shell/Breadcrumbs.js +1 -1
  418. package/dist/shell/ColoredBadge.js +1 -1
  419. package/dist/shell/ConfirmDialog.js +1 -1
  420. package/dist/shell/ContextMenu.js +1 -1
  421. package/dist/shell/Dialog.js +1 -1
  422. package/dist/shell/Drawer.js +1 -1
  423. package/dist/shell/DropdownMenu.js +1 -1
  424. package/dist/shell/EmptyState.js +1 -1
  425. package/dist/shell/HelpCenter.js +1 -1
  426. package/dist/shell/ImageLightbox.js +1 -1
  427. package/dist/shell/LanguageSelect.js +1 -1
  428. package/dist/shell/Markdown.d.ts +1 -1
  429. package/dist/shell/Markdown.js +1 -1
  430. package/dist/shell/PageHeader.js +1 -1
  431. package/dist/shell/PopupMenu.js +1 -1
  432. package/dist/shell/ProductionTimeline.js +1 -1
  433. package/dist/shell/Result.js +1 -1
  434. package/dist/shell/SearchableSelect.js +1 -1
  435. package/dist/shell/SettingReset.js +1 -1
  436. package/dist/shell/SettingRow.d.ts +9 -1
  437. package/dist/shell/SettingRow.js +1 -1
  438. package/dist/shell/SidebarLayout.js +1 -1
  439. package/dist/shell/SidebarNav.js +1 -1
  440. package/dist/shell/SortableList.js +1 -1
  441. package/dist/shell/StepChain.js +1 -1
  442. package/dist/shell/Stepper.js +1 -1
  443. package/dist/shell/TopNav.js +1 -1
  444. package/dist/shell/Tree.js +1 -1
  445. package/dist/telemetry/index.js +1 -1
  446. package/dist/templates/AuthScreen.js +1 -1
  447. package/dist/templates/ChatTemplate.js +1 -1
  448. package/dist/templates/CheckoutTemplate.js +1 -1
  449. package/dist/templates/DashboardTemplate.js +1 -1
  450. package/dist/templates/DataTablePage.js +1 -1
  451. package/dist/templates/EmailTemplate.js +1 -1
  452. package/dist/templates/FormLayoutPage.js +1 -1
  453. package/dist/ui/index.d.ts +3 -2
  454. package/dist/ui/index.js +1 -1
  455. package/dist/version.js +1 -1
  456. package/package.json +1 -1
  457. package/dist/Calculator-4JDJKSA7.js +0 -29
  458. package/dist/PdfViewer-67VBUIRD.js +0 -1
  459. package/dist/Sidebar-YB4OVUG5.js +0 -43
  460. package/dist/chunk-367OG4UV.js +0 -5
  461. package/dist/chunk-3JJFBUK6.js +0 -3
  462. package/dist/chunk-4AXJIJDC.js +0 -14
  463. package/dist/chunk-AS4CTEZD.js +0 -8
  464. package/dist/chunk-E4Z5OXBI.js +0 -1
  465. package/dist/chunk-GSS4E7X3.js +0 -1
  466. package/dist/chunk-PNGL4ZW2.js +0 -6
  467. package/dist/chunk-QWPFFWUG.js +0 -29
  468. package/dist/chunk-R3XAXBYV.js +0 -1
  469. package/dist/chunk-STA76WXF.js +0 -2
  470. package/dist/chunk-W7S56JZ7.js +0 -7
  471. package/dist/chunk-WZNGOA4Z.js +0 -1
  472. package/dist/chunk-X7XJBK2E.js +0 -14
  473. package/dist/chunk-ZLXLHKE5.js +0 -19
  474. package/dist/names-DYWfNBkN.d.ts +0 -21
  475. /package/dist/{chunk-2HDDCXTW.js → chunk-EHPZIBOL.js} +0 -0
  476. /package/dist/{chunk-WYHRPXEX.js → chunk-KJRYEKQP.js} +0 -0
package/dist/map/index.js CHANGED
@@ -1,21 +1,21 @@
1
1
  "use client";
2
- import{Button_default as e}from"../chunk-4IU5BSVE.js";import"../chunk-K7U4RWXJ.js";import"../chunk-VH6GB73Q.js";import{Icon as t}from"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import{SpinnerRing as n}from"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import{rootIsDark as r,ROOT_THEME_ATTRIBUTES as o}from"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import{useShellStrings as a}from"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";import{useRef as l,useState as s,useEffect as i,useCallback as c,useMemo as u,useSyncExternalStore as d}from"react";import{createPortal as p}from"react-dom";import{jsxs as m,jsx as h,Fragment as g}from"react/jsx-runtime";import{useQuery as f}from"@tanstack/react-query";var y="maplibregl-compact-show";function b(e){if(!e)return()=>{};const t=()=>!!e.classList.contains(y)&&(e.classList.remove(y),!0);if(t())return()=>{};const n=new MutationObserver(()=>{t()&&n.disconnect()});return n.observe(e,{attributes:!0,attributeFilter:["class"]}),()=>n.disconnect()}var x=20,k=12,w=480,v={center:[0,0],left:[x,0],right:[-20,0],top:[0,x],"top-left":[0,x],"top-right":[0,x],bottom:[0,-20],"bottom-left":[0,-20],"bottom-right":[0,-20]},N=(e,t=12)=>Math.max(0,Math.floor(e-t-k-x-10-16));function M(e,t,n,r=12){const o=e.y-x-r,a=n.height-e.y-x-k,l=t.height<=o||t.height>a&&o>=a,s=l?Math.max(0,t.height-o):-Math.max(0,t.height-a);let i="",c=0;return e.x-t.width/2<k?(i="-left",c=Math.max(0,k-e.x)):e.x+t.width/2>n.width-k&&(i="-right",c=-Math.max(0,e.x-(n.width-k))),{anchor:`${l?"bottom":"top"}${i}`,move:{x:c,y:s}}}var C="maplibre-gl-worker.mjs",L=e=>`/maplibre-gl/${e}/${C}`,j=null;function E(){return j??=Promise.all([import("maplibre-gl"),import("maplibre-gl/dist/maplibre-gl.css")]).then(([e])=>(e.setWorkerUrl(L(e.getVersion())),e)).catch(e=>{throw j=null,e}),j}var S=null;var $=24,B=28,z=29;function A(e){const t=[...e].sort((e,t)=>e-t),n=[];for(let e=0;e<t.length;){let r=e;for(;r+1<t.length&&t[r+1]===t[r]+1;)r++;n.push(r===e?String(t[e]):`${t[e]}–${t[r]}`),e=r+1}return n.join(", ")}function R(e){const t=Math.max(B,12+8*e.length);return t+t%2}var T=(e,t,n,r)=>({left:e-n/2,top:t-r/2,right:e+n/2,bottom:t+r/2});function W(e,t){return e.left<t.right+1&&t.left<e.right+1&&e.top<t.bottom+1&&t.top<e.bottom+1}var O=e=>T(e.x,e.y,e.width,e.height);function F(e){for(let t=0;t<e.length;t++)for(let n=t+1;n<e.length;n++)if(W(O(e[t]),O(e[n])))return[e[t],e[n]];return null}function K(e,t=[]){const n=[],r=e=>t.some(t=>W(t,e));let o=e.filter(e=>null!==e.stop).sort((e,t)=>e.stop-t.stop).map(e=>({keys:[e.key],stops:[e.stop],x:e.x,y:e.y,width:B,height:B,under:0}));for(let e=F(o);e;e=F(o)){const[t,n]=e;t.keys.push(...n.keys),t.stops.push(...n.stops),t.stops.sort((e,t)=>e-t),t.width=R(A(t.stops)),o=o.filter(e=>e!==n)}o=o.filter(e=>!r(O(e))||(n.push(...e.keys),!1));const a=[];for(const t of e){if(null!==t.stop)continue;const e=T(t.x,t.y,$,$),l=o.find(t=>W(O(t),e));if(l||r(e)){n.push(t.key),l&&l.under++;continue}const s=a.find(t=>W(O(t),e));s?s.keys.push(t.key):a.push({keys:[t.key],stops:[],x:t.x,y:t.y,width:$,height:$,under:0})}return{groups:[...o,...a],hidden:n}}function q(e,t,n){let r=-1/0;for(const o of t){const t=Math.max(Math.abs(o.x-e.x),Math.abs(o.y-e.y));r=Math.max(r,0===t?1/0:n+Math.log2(29/t))}return r}function _(e){const t=new MutationObserver(e);return t.observe(document.documentElement,{attributes:!0,attributeFilter:o}),()=>t.disconnect()}var D=r;var H=(...e)=>e.filter(Boolean).join(" "),I=/^(?:\d+|[xytrblse](?:-\d+)?|solid|dashed|dotted|double|hidden|none)$/;function P(e){return e.split(/\s+/).some(e=>{const t=e.search(/[[(]/),n=t<0?e:e.slice(0,t),r=e.slice(n.lastIndexOf(":")+1);return r.startsWith("border-")&&!I.test(r.slice(7))})}var U="ring-2 ring-gray-900 ring-offset-2",G={portal:{frame:e=>H("relative min-h-72 overflow-hidden rounded-lg border border-gray-200 bg-gray-100",e&&"[&_canvas]:cursor-crosshair"),fill:"absolute inset-0",box:"h-full w-full",failed:"absolute inset-0 grid place-items-center p-6 text-center text-sm text-gray-500",cardInline:"absolute bottom-3 left-3 right-3 z-10 max-h-[calc(100%-1.5rem)] max-w-md overflow-y-auto overscroll-contain",cardFloating:"w-[26rem] overflow-y-auto overscroll-contain",ring:"pointer-events-none rounded-full border-2 border-gray-900 bg-gray-900/15 shadow-[0_0_0_2px_var(--color-white,#fff)]",pinButton:(e,t)=>H("relative grid place-items-center rounded-full cursor-pointer",t&&(null!=e.stop?"h-7 w-7":"h-6 w-6")),pinMark:(e,t,n,r)=>{const o=t&&!r&&null==e.stop&&!e.dot;return H("grid place-items-center rounded-full border-2 font-semibold leading-none shadow-sm transition-transform motion-reduce:transition-none",!P(e.tone)&&"border-white",e.tone,e.dot?"h-4 w-4 opacity-80":null!=e.stop?"h-7 w-7 text-xs ring-2 ring-gray-900":o?"h-8 w-8 text-xs [&_svg]:h-4 [&_svg]:w-4":"h-6 w-6 text-2xs [&_svg]:h-3.5 [&_svg]:w-3.5",t&&(o?"ring-2 ring-gray-900 ring-offset-1":U),e.approximate&&"border-dashed opacity-80",e.faded&&!t&&"opacity-40",n&&"scale-125 opacity-100")},mark:e=>H("grid place-items-center border-2 px-0.5 text-xs font-semibold leading-none shadow-sm",e.stop?"h-7 min-w-7":"h-6 min-w-6",!P(e.tone??"")&&"border-white",e.tone??"bg-gray-900 text-white"),groupButton:"grid place-items-center rounded-full cursor-pointer",groupDisc:(e,t,n)=>H("grid place-items-center rounded-full border-2 border-gray-700 bg-white font-semibold leading-none text-gray-900 shadow-sm",e?"h-7 w-full px-1 text-xs ring-2 ring-gray-900":t?"h-5 w-5 text-3xs":"h-6 w-6 text-2xs",n&&U),badge:e=>H("absolute -right-2 -top-2 grid h-4 min-w-4 place-items-center rounded-full px-0.5 text-3xs font-semibold leading-none shadow",e??"bg-white text-gray-900"),iconHost:"contents"},site:{frame:e=>H("rosh-map-frame",e&&"rosh-map-frame--picking"),fill:"rosh-map-fill",box:"rosh-map-box",failed:"rosh-map-failed",cardInline:"rosh-map-card-inline",cardFloating:"rosh-map-card-floating",ring:"rosh-map-ring",pinButton:(e,t)=>H("rosh-map-target",t&&(null!=e.stop?"rosh-map-target--stop":"rosh-map-target--sized")),pinMark:(e,t,n,r)=>H("rosh-map-pin",e.dot?"rosh-map-pin--dot":null!=e.stop?"rosh-map-pin--stop":null,t&&!r&&null==e.stop&&!e.dot&&"rosh-map-pin--grown",t&&"rosh-map-pin--chosen",e.approximate&&"rosh-map-pin--approximate",e.faded&&!t&&"rosh-map-pin--faded",n&&"rosh-map-pin--pointed"),mark:e=>H("rosh-map-mark",e.stop&&"rosh-map-mark--stop"),groupButton:"rosh-map-target",groupDisc:(e,t,n)=>H("rosh-map-group",e?"rosh-map-group--stops":t?"rosh-map-group--dots":null,n&&"rosh-map-group--chosen"),badge:()=>"rosh-map-badge",iconHost:"rosh-map-icon",sheet:function(){return S??=import("efficient-shell/map-site.css").catch(e=>{throw S=null,e}),S}}},J="routes",V=["routes-road","routes-estimate"];function Z(e){const t=document.createElement("span");t.style.display="none",t.style.color=e,document.body.appendChild(t);const n=getComputedStyle(t).color||"#2563eb";return t.remove(),Q(n)}function Q(e){const t=document.createElement("canvas").getContext("2d");if(!t)return"#2563eb";t.fillStyle="#2563eb",t.fillStyle=e,t.fillRect(0,0,1,1);const[n,r,o]=t.getImageData(0,0,1,1).data;return`rgb(${n}, ${r}, ${o})`}var X={light:"https://tiles.openfreemap.org/styles/positron",dark:"https://tiles.openfreemap.org/styles/dark"},Y={center:[30,20],zoom:1};var ee="http://www.w3.org/2000/svg",te=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches,ne=(...e)=>e.filter(Boolean).join(" ");function re(e){const t=document.createElementNS(ee,"svg");t.setAttribute("viewBox","0 0 24 24"),t.setAttribute("fill","none"),t.setAttribute("stroke","currentColor"),t.setAttribute("stroke-width","2"),t.setAttribute("aria-hidden","true");for(const n of e){const e=document.createElementNS(ee,"path");e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-linejoin","round"),e.setAttribute("d",n),t.appendChild(e)}return t}function oe(e,t){for(const[n,r]of Object.entries(t??{}))e.dataset[n]=r}function ae({pins:t,selectedKey:n,focus:r,onSelect:o,ariaLabel:u,className:g="",children:f,routes:y,fitTo:x,attribution:k,marks:w,groupCrowded:C=!1,noun:L,highlightKey:j=null,picking:S=!1,onPick:z,card:R,cardMinMapWidth:T=480,fullScreen:W,initialView:O=Y,cooperativeGestures:F=!1,look:H="portal",theme:I}){const P=a().map,U=l(null),ee=l(null),ae=l(null),ie=l(null),ce=l([]),ue=l(/* @__PURE__ */new Map),de=l(/* @__PURE__ */new Map),pe=l(/* @__PURE__ */new Map),me=l(null),he=l(/* @__PURE__ */new Map),ge=l(""),[fe,ye]=s(!1),[be,xe]=s(!1),ke=d(_,D,()=>!1),we=I??(ke?"dark":"light"),ve=G[H],Ne=l({onSelect:o,onPick:z,picking:S,pins:t,selectedKey:n,highlightKey:j,groupCrowded:C,strings:P,noun:L,looks:ve});i(()=>{Ne.current={onSelect:o,onPick:z,picking:S,pins:t,selectedKey:n,highlightKey:j,groupCrowded:C,strings:P,noun:L,looks:ve}}),i(()=>{ve.sheet?.().catch(e=>console.warn("[map] could not load the look's stylesheet",e))},[ve]);const Me=c(()=>{const e=ae.current,{pins:t,selectedKey:n}=Ne.current,r=n?t.find(e=>e.key===n):void 0;e&&r&&!e.getBounds().contains([r.lng,r.lat])&&e.easeTo({center:[r.lng,r.lat],duration:te()?0:400})},[]),Ce=l(!1),Le=c((e,t)=>{const n=ae.current,r=ie.current;if(!n||!r)return;const o=n.getZoom();if(o>=17.5){const t=e.indexOf(Ne.current.selectedKey??"");return void Ne.current.onSelect(e[(t+1)%e.length])}const a=e.map(e=>ue.current.get(e).pin),l=new r.LngLatBounds([a[0].lng,a[0].lat],[a[0].lng,a[0].lat]);for(const e of a)l.extend([e.lng,e.lat]);const s=a.map(e=>n.project([e.lng,e.lat])),i=Math.max(...s.map((e,t)=>q(e,s.filter((e,n)=>n!==t),o))),{clientWidth:c,clientHeight:u}=n.getContainer(),d=n.cameraForBounds(l,{padding:Math.min(64,c/4,u/4)})?.zoom??18,p=document.activeElement===t;Ce.current=!0,n.once("moveend",()=>{if(Ce.current=!1,!p)return;const e=a[0].key,t=ue.current.get(e)?.button,n=t&&"none"!==t.style.display?t:[...de.current.values()].find(t=>t.keys.includes(e))?.button;n?.focus({preventScroll:!0})}),n.easeTo({center:l.getCenter(),zoom:Math.min(18,Math.max(o+1,Math.min(d,i))),duration:te()?0:600})},[]),je=c(()=>{const e=ae.current,t=ie.current;if(!e||!t||!U.current||Ce.current&&e.isMoving())return;const{selectedKey:n,highlightKey:r,groupCrowded:o,strings:a,noun:l,looks:s}=Ne.current;for(const[e,t]of ue.current){const a=s.pinMark(t.pin,e===n,e===r,o);t.mark.className!==a&&(t.mark.className=a);const l=e===n?"1":"";t.button.style.zIndex!==l&&(t.button.style.zIndex=l)}let i=null;if(o){const r=e.getContainer().getBoundingClientRect(),o=[...U.current.querySelectorAll("a[href], button, input, select, textarea, summary, [role='button'], [tabindex]:not([tabindex='-1'])")].filter(e=>!e.closest("[data-pin], [data-pin-group], .maplibregl-canvas")).map(e=>{const t=e.getBoundingClientRect(),n=e.closest("[data-map-card]")?.getBoundingClientRect()??t;return{left:Math.max(t.left,n.left)-r.left,top:Math.max(t.top,n.top)-r.top,right:Math.min(t.right,n.right)-r.left,bottom:Math.min(t.bottom,n.bottom)-r.top}}).filter(e=>e.right>e.left&&e.bottom>e.top);i=K([...ue.current.values()].map(({pin:t})=>{const n=e.project([t.lng,t.lat]);return{key:t.key,x:n.x,y:n.y,stop:t.stop??null}}),o);const c=e=>(l??a.places)(e),u=e.getZoom()<17.5?a.spread:a.cycle,d=(e,t)=>{const n=t?"":"none";e.style.display!==n&&(e.style.display=n)},p=/* @__PURE__ */new Map;for(const r of i.groups){const o=r.under>0?a.closeBy(r.under,c(r.under)):null,l=1===r.keys.length?ue.current.get(r.keys[0]):null;if(l){d(l.button,!0),l.button.setAttribute("aria-label",o?`${l.name}; ${o}`:l.name),l.button.title=o?`${l.title}\n${o}`:l.title;continue}for(const e of r.keys)d(ue.current.get(e).button,!1);const i=r.keys.join(" ");let m=de.current.get(i);if(!m){const n=document.createElement("button");n.type="button",n.dataset.pinGroup="",n.className=s.groupButton,n.append(document.createElement("span"));const o=ue.current.get(r.keys[0]).pin,a={button:n,keys:r.keys,marker:new t.Marker({element:n,anchor:"center"}).setLngLat([o.lng,o.lat]).addTo(e)};n.addEventListener("click",e=>{e.stopPropagation(),Le(a.keys,n)}),m=a}m.keys=r.keys;const h=r.keys.map(e=>ue.current.get(e)),g=r.stops.length>0?A(r.stops):String(h.length),f=r.stops.length>0?a.stops(g):a.group(h.length,c(h.length));m.button.style.width=`${r.width}px`,m.button.style.height=`${r.height}px`,m.button.setAttribute("aria-label",`${f}: ${h.map(e=>e.pin.label).join("; ")}. ${u}${o?`; ${o}`:""}.`),m.button.title=[`${f}:`,...h.map(e=>e.title),...o?[o]:[],u].join("\n");const y=m.button.firstElementChild;y.textContent=g;const b=s.groupDisc(r.stops.length>0,h.every(e=>e.pin.dot),null!=n&&r.keys.includes(n));y.className!==b&&(y.className=b),p.set(i,m)}for(const e of i.hidden)d(ue.current.get(e).button,!1);for(const[e,t]of de.current)p.has(e)||t.marker.remove();de.current=p}if(me.current){const e=r&&i?i.groups.find(e=>e.keys.includes(r)&&e.keys.length>1):void 0,t=r?ue.current.get(r):void 0,n=r?pe.current.get(r):void 0,o=e?{at:ue.current.get(e.keys[0]).pin,width:e.width,height:e.height}:t?{at:t.pin,width:t.button.offsetWidth||(null!=t.pin.stop?B:$),height:t.button.offsetHeight||(null!=t.pin.stop?B:$)}:n?{at:n.mark,width:n.element.offsetWidth||B,height:n.element.offsetHeight||B}:null,a=me.current.getElement();a.style.display=o?"":"none",o&&(me.current.setLngLat([o.at.lng,o.at.lat]),a.style.width=`${o.width+22}px`,a.style.height=`${o.height+22}px`)}},[Le]);i(()=>{if(je(),!U.current)return;const e=new ResizeObserver(()=>je());e.observe(U.current);for(const t of U.current.children)t.contains(ee.current)||e.observe(t);return()=>e.disconnect()}),i(()=>{let e=!1,t=null,n=null,r=()=>{};return(async()=>{try{const o=await E();if(e||!ee.current)return;ie.current=o,t=new o.Map({container:ee.current,style:X[we],center:O.center,zoom:O.zoom,attributionControl:k?{compact:!0,customAttribution:k}:{compact:!0},dragRotate:!1,pitchWithRotate:!1,touchPitch:!1,maxPitch:0,cooperativeGestures:"coarse"===F?window.matchMedia("(pointer: coarse)").matches:F}),t.touchZoomRotate.disableRotation(),t.keyboard.disableRotation(),t.addControl(new o.NavigationControl({showCompass:!1}),"top-right");const a=document.createElement("div");a.dataset.pinRing="",a.setAttribute("aria-hidden","true"),a.className=Ne.current.looks.ring,a.style.display="none",me.current=new o.Marker({element:a,anchor:"center"}).setLngLat(O.center).addTo(t),t.on("click",e=>{Ne.current.picking&&Ne.current.onPick?.({lat:e.lngLat.lat,lng:e.lngLat.lng})}),t.on("move",je),t.on("moveend",je),t.on("resize",je),t.on("error",e=>console.warn("[map]",e.error?.message)),r=b(ee.current.querySelector(".maplibregl-ctrl-attrib"));const l=t;n=new ResizeObserver(()=>{l.resize(),Me()}),n.observe(ee.current),ae.current=t,ye(!0)}catch(t){console.error("[map] could not start",t),e||xe(!0)}})(),()=>{e=!0,n?.disconnect(),r(),ce.current.forEach(e=>e.remove()),ce.current=[],de.current.forEach(e=>e.marker.remove()),de.current.clear(),me.current?.remove(),me.current=null,t?.remove(),ae.current=null}},[]);const Ee=l(we);i(()=>{fe&&ae.current&&Ee.current!==we&&(Ee.current=we,ae.current.setStyle(X[we]))},[fe,we]),i(()=>{const e=ae.current,n=ie.current;if(!fe||!e||!n)return;ce.current.forEach(e=>e.remove()),ce.current=[],de.current.forEach(e=>e.marker.remove()),de.current.clear(),ue.current.clear(),pe.current.clear();for(const e of he.current.keys())t.some(t=>t.key===e)||he.current.delete(e);const r=Ne.current.strings;for(const o of t){const t=document.createElement("button");t.type="button",t.dataset.pin=o.key,t.className=ve.pinButton(o,C);const a=o.approximate?r.approximate(o.label):o.label,l=o.title??(o.approximate?r.approximateTitle(o.label):o.label);t.setAttribute("aria-label",a),t.title=l;const s=document.createElement("span");if(oe(s,o.data),o.dot);else if(null!=o.iconNode){const e=he.current.get(o.key);e&&s.append(e)}else o.icon?.length?s.append(re(o.icon)):s.textContent=null!=o.stop?String(o.stop):o.glyph;if(t.append(s),o.badge){const e=document.createElement("span");e.setAttribute("aria-hidden","true"),e.className=ve.badge(o.badgeTone),e.textContent=o.badge,t.appendChild(e)}t.addEventListener("click",e=>{e.stopPropagation(),Ne.current.onSelect(o.key)}),ce.current.push(new n.Marker({element:t,anchor:"center"}).setLngLat([o.lng,o.lat]).addTo(e)),ue.current.set(o.key,{pin:o,button:t,mark:s,name:a,title:l})}for(const t of w??[]){const r=document.createElement("div");r.dataset.mapMark=t.key,oe(r,t.data),r.className=ve.mark(t),r.textContent=t.text,r.title=t.title??t.label,r.setAttribute("role","img"),r.setAttribute("aria-label",t.label),ce.current.push(new n.Marker({element:r,anchor:"center"}).setLngLat([t.lng,t.lat]).addTo(e)),pe.current.set(t.key,{mark:t,element:r})}je()},[fe,t,w,C,je,H]),i(()=>{fe&&je()},[fe,n,j,je]),i(()=>{if(!fe||!n)return;const e=requestAnimationFrame(Me);return()=>cancelAnimationFrame(e)},[fe,n,Me]),i(()=>{const e=ae.current,n=ie.current,r=x?[...t,...w??[]].filter(e=>x.includes(e.key)):t;if(!fe||!e||!n||0===r.length)return;const o=r.map(e=>`${e.key}@${e.lat},${e.lng}`).sort().join("|");if(ge.current===o)return;const a=""===ge.current;if(ge.current=o,1===r.length)return void e.jumpTo({center:[r[0].lng,r[0].lat],zoom:13});const l=new n.LngLatBounds([r[0].lng,r[0].lat],[r[0].lng,r[0].lat]);for(const e of r)l.extend([e.lng,e.lat]);e.fitBounds(l,{padding:48,maxZoom:14,animate:!a})},[fe,t,w,x]),i(()=>{const e=ae.current;if(!fe||!e)return;const t=(y??[]).filter(e=>e.coordinates.length>=2),n=[...new Set(t.flatMap(e=>e.attribution?[e.attribution]:[]))].join(" · "),r=()=>{const r=function(){const e=document.createElement("span");e.className="text-blue-600",e.style.display="none",document.body.appendChild(e);const t=getComputedStyle(e).color||"#2563eb";return e.remove(),Q(t)}(),o={type:"FeatureCollection",features:t.map(e=>({type:"Feature",properties:{key:e.key,estimate:e.estimate,faded:!!e.faded,color:e.color?Z(e.color):r},geometry:{type:"LineString",coordinates:e.coordinates}}))},a=["case",["get","faded"],.25,.85],l=["get","color"],s=e.getSource(J);if(s&&(s.attribution||"")!==n){for(const t of V)e.getLayer(t)&&e.removeLayer(t);e.removeSource(J)}const i=e.getSource(J);i?i.setData(o):e.addSource(J,{type:"geojson",data:o,...n?{attribution:n}:{}}),e.getLayer("routes-road")||e.addLayer({id:"routes-road",type:"line",source:J,filter:["!",["get","estimate"]],layout:{"line-join":"round","line-cap":"round"},paint:{"line-color":l,"line-width":4,"line-opacity":a}}),e.getLayer("routes-estimate")||e.addLayer({id:"routes-estimate",type:"line",source:J,filter:["get","estimate"],layout:{"line-join":"round","line-cap":"round"},paint:{"line-color":l,"line-width":3,"line-dasharray":[1.5,1.5],"line-opacity":a}})},o=()=>{try{r()}catch(e){console.debug("[map] routes wait for the style",e)}};return o(),e.on("style.load",o),e.once("idle",o),()=>{e.off("style.load",o),e.off("idle",o)}},[fe,y,we]),i(()=>{const e=ae.current;if(!fe||!e||!r)return;const n=t.find(e=>e.key===r.key);if(!n)return;const o=e.getZoom(),a=C?q(e.project([n.lng,n.lat]),t.filter(e=>e.key!==n.key).map(t=>e.project([t.lng,t.lat])),o):-1/0,l={center:[n.lng,n.lat],zoom:Math.min(18,Math.max(o,13,a))};te()?e.jumpTo(l):e.flyTo({...l,duration:600})},[fe,r?.n]);const[Se,$e]=s(!1);i(()=>{const e=U.current;if(!e)return;const t=()=>$e(e.clientWidth<T);t();const n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[T]);const Be=n?t.find(e=>e.key===n)??null:null,ze=Be?.key??null,Ae=Be?.lng??0,Re=Be?.lat??0,Te=fe&&!Se&&null!=R&&!!Be,[We,Oe]=s(null);i(()=>{const e=ae.current,t=ie.current;if(!(Te&&e&&t&&ze))return;const n=document.createElement("div");n.dataset.mapCard="",n.className=Ne.current.looks.cardFloating;const r=new t.Popup({anchor:"bottom",offset:v,className:"rosh-map-card",maxWidth:"none",closeButton:!1,closeOnClick:!1,closeOnMove:!1,focusAfterOpen:!1}).setLngLat([Ae,Re]).setDOMContent(n).addTo(e),o=r.getElement(),a=o.querySelector(".maplibregl-popup-content");a&&Object.assign(a.style,{padding:"0",background:"transparent",borderRadius:"0",boxShadow:"none"});const l=o.querySelector(".maplibregl-popup-tip"),s=Ne.current.looks===G.site?"var(--rosh-map-pin, #111)":"var(--color-gray-600, #4b5563)";l&&Object.assign(l.style,{borderTopColor:s,borderBottomColor:s}),Oe(n);let i=!1,c=!1;const u=(t=!0)=>{if(c)return;if(e.isMoving())return void(i||(i=!0,e.once("moveend",()=>{i=!1,u()})));const{clientWidth:o,clientHeight:a}=e.getContainer(),l=function(e,t){const n=e.getBoundingClientRect().top,r=[...e.querySelectorAll(".maplibregl-ctrl-top-left > *, .maplibregl-ctrl-top-right > *"),...t?.querySelectorAll(":scope > [data-map-control]")??[]];let o=0;for(const e of r){const t=e.getBoundingClientRect();t.height>0&&(o=Math.max(o,t.bottom-n))}return o}(e.getContainer(),U.current)+8,s=`${N(a,l)}px`;n.style.maxHeight!==s&&(n.style.maxHeight=s);const d=r.getElement(),p=r.getLngLat(),{anchor:m,move:h}=M(e.project(p),{width:d.offsetWidth,height:d.offsetHeight},{width:o,height:a},l);r.options.anchor!==m&&(r.options.anchor=m,r.setLngLat(p)),!t||0===h.x&&0===h.y||e.panBy([-h.x,-h.y],{duration:te()?0:250}),je()},d=new ResizeObserver(()=>u());d.observe(n);const p=()=>u(),m=()=>{i||u(!1)};e.on("resize",p),e.on("moveend",m);let h=!1;const g=ue.current,f=e=>{h=n.contains(e.target)};return document.addEventListener("focusin",f),()=>{if(c=!0,d.disconnect(),e.off("resize",p),e.off("moveend",m),document.removeEventListener("focusin",f),r.remove(),Oe(null),h&&(!document.activeElement||document.activeElement===document.body)){const e=g.get(ze)?.button;e&&"none"!==e.style.display&&e.focus({preventScroll:!0})}}},[Te,ze,Ae,Re,je]);const Fe=W?.active??!1,Ke=l(W?.onChange);i(()=>{Ke.current=W?.onChange}),i(()=>{if(!W)return;const e=document.documentElement;Fe&&!document.fullscreenElement&&e.requestFullscreen&&e.requestFullscreen().catch(()=>{}),!Fe&&document.fullscreenElement&&document.exitFullscreen().catch(()=>{})},[Fe]);const qe=!!W;return i(()=>{if(!qe)return;const e=()=>{document.fullscreenElement||Ke.current?.(!1)};return document.addEventListener("fullscreenchange",e),()=>document.removeEventListener("fullscreenchange",e)},[qe]),/* @__PURE__ */m("div",{ref:U,className:ne(ve.frame(S),g),children:[
3
- /* @__PURE__ */h("div",{className:ve.fill,children:/* @__PURE__ */h("div",{ref:ee,className:ve.box,role:"region","aria-label":u})}),be&&/* @__PURE__ */h("p",{className:ve.failed,children:P.failed}),W&&/* @__PURE__ */h(e,{"data-map-control":"",variant:"secondary",size:"sm",className:"absolute left-3 top-3 z-10",onClick:()=>W.onChange(!W.active),leftIcon:/* @__PURE__ */h(se,{leave:W.active}),children:W.active?P.leaveFullScreen:P.fullScreen}),f,null!=R&&!Te&&/* @__PURE__ */h("div",{"data-map-card":"",className:ve.cardInline,children:R}),Te&&We?p(R,We):null,fe&&/* @__PURE__ */h(le,{pins:t,hosts:he.current,hostClass:ve.iconHost})]})}function le({pins:e,hosts:t,hostClass:n}){/* @__PURE__ */
2
+ import{Button_default as e}from"../chunk-4IU5BSVE.js";import"../chunk-K7U4RWXJ.js";import{Icon as t}from"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-VH6GB73Q.js";import{SpinnerRing as n}from"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import{rootIsDark as r,ROOT_THEME_ATTRIBUTES as o}from"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import{useShellStrings as a}from"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";import{useRef as l,useState as s,useEffect as i,useCallback as c,useMemo as u,useSyncExternalStore as d}from"react";import{createPortal as p}from"react-dom";import{jsxs as m,jsx as h,Fragment as g}from"react/jsx-runtime";import{useQuery as f}from"@tanstack/react-query";var y="maplibregl-compact-show";function b(e){if(!e)return()=>{};const t=()=>!!e.classList.contains(y)&&(e.classList.remove(y),!0);if(t())return()=>{};const n=new MutationObserver(()=>{t()&&n.disconnect()});return n.observe(e,{attributes:!0,attributeFilter:["class"]}),()=>n.disconnect()}var x=20,k=12,w=480,v={center:[0,0],left:[x,0],right:[-20,0],top:[0,x],"top-left":[0,x],"top-right":[0,x],bottom:[0,-20],"bottom-left":[0,-20],"bottom-right":[0,-20]},N=(e,t=12)=>Math.max(0,Math.floor(e-t-k-x-10-16));function M(e,t,n,r=12){const o=e.y-x-r,a=n.height-e.y-x-k,l=t.height<=o||t.height>a&&o>=a,s=l?Math.max(0,t.height-o):-Math.max(0,t.height-a);let i="",c=0;return e.x-t.width/2<k?(i="-left",c=Math.max(0,k-e.x)):e.x+t.width/2>n.width-k&&(i="-right",c=-Math.max(0,e.x-(n.width-k))),{anchor:`${l?"bottom":"top"}${i}`,move:{x:c,y:s}}}var C="maplibre-gl-worker.mjs",L=e=>`/maplibre-gl/${e}/${C}`,j=null;function S(){return j??=Promise.all([import("maplibre-gl"),import("maplibre-gl/dist/maplibre-gl.css")]).then(([e])=>(e.setWorkerUrl(L(e.getVersion())),e)).catch(e=>{throw j=null,e}),j}var E=null;var $=24,B=28,A=29;function R(e){const t=[...e].sort((e,t)=>e-t),n=[];for(let e=0;e<t.length;){let r=e;for(;r+1<t.length&&t[r+1]===t[r]+1;)r++;n.push(r===e?String(t[e]):`${t[e]}–${t[r]}`),e=r+1}return n.join(", ")}function z(e){const t=Math.max(B,12+8*e.length);return t+t%2}var T=(e,t,n,r)=>({left:e-n/2,top:t-r/2,right:e+n/2,bottom:t+r/2});function W(e,t){return e.left<t.right+1&&t.left<e.right+1&&e.top<t.bottom+1&&t.top<e.bottom+1}var O=e=>T(e.x,e.y,e.width,e.height);function F(e){for(let t=0;t<e.length;t++)for(let n=t+1;n<e.length;n++)if(W(O(e[t]),O(e[n])))return[e[t],e[n]];return null}function K(e,t=[]){const n=[],r=e=>t.some(t=>W(t,e));let o=e.filter(e=>null!==e.stop).sort((e,t)=>e.stop-t.stop).map(e=>({keys:[e.key],stops:[e.stop],x:e.x,y:e.y,width:B,height:B,under:0}));for(let e=F(o);e;e=F(o)){const[t,n]=e;t.keys.push(...n.keys),t.stops.push(...n.stops),t.stops.sort((e,t)=>e-t),t.width=z(R(t.stops)),o=o.filter(e=>e!==n)}o=o.filter(e=>!r(O(e))||(n.push(...e.keys),!1));const a=[];for(const t of e){if(null!==t.stop)continue;const e=T(t.x,t.y,$,$),l=o.find(t=>W(O(t),e));if(l||r(e)){n.push(t.key),l&&l.under++;continue}const s=a.find(t=>W(O(t),e));s?s.keys.push(t.key):a.push({keys:[t.key],stops:[],x:t.x,y:t.y,width:$,height:$,under:0})}return{groups:[...o,...a],hidden:n}}function q(e,t,n){let r=-1/0;for(const o of t){const t=Math.max(Math.abs(o.x-e.x),Math.abs(o.y-e.y));r=Math.max(r,0===t?1/0:n+Math.log2(29/t))}return r}function H(e){const t=new MutationObserver(e);return t.observe(document.documentElement,{attributes:!0,attributeFilter:o}),()=>t.disconnect()}var _=r;var D=(...e)=>e.filter(Boolean).join(" "),I=/^(?:\d+|[xytrblse](?:-\d+)?|solid|dashed|dotted|double|hidden|none)$/;function P(e){return e.split(/\s+/).some(e=>{const t=e.search(/[[(]/),n=t<0?e:e.slice(0,t),r=e.slice(n.lastIndexOf(":")+1);return r.startsWith("border-")&&!I.test(r.slice(7))})}var U="ring-2 ring-gray-900 ring-offset-2",G={portal:{frame:e=>D("relative min-h-72 overflow-hidden rounded-lg border border-gray-200 bg-gray-100",e&&"[&_canvas]:cursor-crosshair"),fill:"absolute inset-0",box:"h-full w-full",failed:"absolute inset-0 grid place-items-center p-6 text-center text-sm text-gray-500",cardInline:"absolute bottom-3 left-3 right-3 z-10 max-h-[calc(100%-1.5rem)] max-w-md overflow-y-auto overscroll-contain",cardFloating:"w-[26rem] overflow-y-auto overscroll-contain",ring:"pointer-events-none rounded-full border-2 border-gray-900 bg-gray-900/15 shadow-[0_0_0_2px_var(--color-white,#fff)]",pinButton:(e,t)=>D("relative grid place-items-center rounded-full cursor-pointer",t&&(null!=e.stop?"h-7 w-7":"h-6 w-6")),pinMark:(e,t,n,r)=>{const o=t&&!r&&null==e.stop&&!e.dot;return D("grid place-items-center rounded-full border-2 font-semibold leading-none shadow-sm transition-transform motion-reduce:transition-none",!P(e.tone)&&"border-white",e.tone,e.dot?"h-4 w-4 opacity-80":null!=e.stop?"h-7 w-7 text-xs ring-2 ring-gray-900":o?"h-8 w-8 text-xs [&_svg]:h-4 [&_svg]:w-4":"h-6 w-6 text-2xs [&_svg]:h-3.5 [&_svg]:w-3.5",t&&(o?"ring-2 ring-gray-900 ring-offset-1":U),e.approximate&&"border-dashed opacity-80",e.faded&&!t&&"opacity-40",n&&"scale-125 opacity-100")},mark:e=>D("grid place-items-center border-2 px-0.5 text-xs font-semibold leading-none shadow-sm",e.stop?"h-7 min-w-7":"h-6 min-w-6",!P(e.tone??"")&&"border-white",e.tone??"bg-gray-900 text-white"),groupButton:"grid place-items-center rounded-full cursor-pointer",groupDisc:(e,t,n)=>D("grid place-items-center rounded-full border-2 border-gray-700 bg-white font-semibold leading-none text-gray-900 shadow-sm",e?"h-7 w-full px-1 text-xs ring-2 ring-gray-900":t?"h-5 w-5 text-3xs":"h-6 w-6 text-2xs",n&&U),badge:e=>D("absolute -right-2 -top-2 grid h-4 min-w-4 place-items-center rounded-full px-0.5 text-3xs font-semibold leading-none shadow",e??"bg-white text-gray-900"),iconHost:"contents"},site:{frame:e=>D("rosh-map-frame",e&&"rosh-map-frame--picking"),fill:"rosh-map-fill",box:"rosh-map-box",failed:"rosh-map-failed",cardInline:"rosh-map-card-inline",cardFloating:"rosh-map-card-floating",ring:"rosh-map-ring",pinButton:(e,t)=>D("rosh-map-target",t&&(null!=e.stop?"rosh-map-target--stop":"rosh-map-target--sized")),pinMark:(e,t,n,r)=>D("rosh-map-pin",e.dot?"rosh-map-pin--dot":null!=e.stop?"rosh-map-pin--stop":null,t&&!r&&null==e.stop&&!e.dot&&"rosh-map-pin--grown",t&&"rosh-map-pin--chosen",e.approximate&&"rosh-map-pin--approximate",e.faded&&!t&&"rosh-map-pin--faded",n&&"rosh-map-pin--pointed"),mark:e=>D("rosh-map-mark",e.stop&&"rosh-map-mark--stop"),groupButton:"rosh-map-target",groupDisc:(e,t,n)=>D("rosh-map-group",e?"rosh-map-group--stops":t?"rosh-map-group--dots":null,n&&"rosh-map-group--chosen"),badge:()=>"rosh-map-badge",iconHost:"rosh-map-icon",sheet:function(){return E??=import("efficient-shell/map-site.css").catch(e=>{throw E=null,e}),E}}},J="routes",V=["routes-road","routes-estimate"];function Z(e){const t=document.createElement("span");t.style.display="none",t.style.color=e,document.body.appendChild(t);const n=getComputedStyle(t).color||"#2563eb";return t.remove(),Q(n)}function Q(e){const t=document.createElement("canvas").getContext("2d");if(!t)return"#2563eb";t.fillStyle="#2563eb",t.fillStyle=e,t.fillRect(0,0,1,1);const[n,r,o]=t.getImageData(0,0,1,1).data;return`rgb(${n}, ${r}, ${o})`}var Y={light:"https://tiles.openfreemap.org/styles/positron",dark:"https://tiles.openfreemap.org/styles/dark"},X={center:[30,20],zoom:1};var ee="http://www.w3.org/2000/svg",te=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches,ne=(...e)=>e.filter(Boolean).join(" ");function re(e){const t=document.createElementNS(ee,"svg");t.setAttribute("viewBox","0 0 24 24"),t.setAttribute("fill","none"),t.setAttribute("stroke","currentColor"),t.setAttribute("stroke-width","2"),t.setAttribute("aria-hidden","true");for(const n of e){const e=document.createElementNS(ee,"path");e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-linejoin","round"),e.setAttribute("d",n),t.appendChild(e)}return t}function oe(e,t){for(const[n,r]of Object.entries(t??{}))e.dataset[n]=r}function ae({pins:t,selectedKey:n,focus:r,onSelect:o,ariaLabel:u,className:g="",children:f,routes:y,fitTo:x,attribution:k,marks:w,groupCrowded:C=!1,noun:L,highlightKey:j=null,picking:E=!1,onPick:A,card:z,cardMinMapWidth:T=480,fullScreen:W,initialView:O=X,cooperativeGestures:F=!1,look:D="portal",theme:I}){const P=a().map,U=l(null),ee=l(null),ae=l(null),ie=l(null),ce=l([]),ue=l(/* @__PURE__ */new Map),de=l(/* @__PURE__ */new Map),pe=l(/* @__PURE__ */new Map),me=l(null),he=l(/* @__PURE__ */new Map),ge=l(""),[fe,ye]=s(!1),[be,xe]=s(!1),ke=d(H,_,()=>!1),we=I??(ke?"dark":"light"),ve=G[D],Ne=l({onSelect:o,onPick:A,picking:E,pins:t,selectedKey:n,highlightKey:j,groupCrowded:C,strings:P,noun:L,looks:ve});i(()=>{Ne.current={onSelect:o,onPick:A,picking:E,pins:t,selectedKey:n,highlightKey:j,groupCrowded:C,strings:P,noun:L,looks:ve}}),i(()=>{ve.sheet?.().catch(e=>console.warn("[map] could not load the look's stylesheet",e))},[ve]);const Me=c(()=>{const e=ae.current,{pins:t,selectedKey:n}=Ne.current,r=n?t.find(e=>e.key===n):void 0;e&&r&&!e.getBounds().contains([r.lng,r.lat])&&e.easeTo({center:[r.lng,r.lat],duration:te()?0:400})},[]),Ce=l(!1),Le=c((e,t)=>{const n=ae.current,r=ie.current;if(!n||!r)return;const o=n.getZoom();if(o>=17.5){const t=e.indexOf(Ne.current.selectedKey??"");return void Ne.current.onSelect(e[(t+1)%e.length])}const a=e.map(e=>ue.current.get(e).pin),l=new r.LngLatBounds([a[0].lng,a[0].lat],[a[0].lng,a[0].lat]);for(const e of a)l.extend([e.lng,e.lat]);const s=a.map(e=>n.project([e.lng,e.lat])),i=Math.max(...s.map((e,t)=>q(e,s.filter((e,n)=>n!==t),o))),{clientWidth:c,clientHeight:u}=n.getContainer(),d=n.cameraForBounds(l,{padding:Math.min(64,c/4,u/4)})?.zoom??18,p=document.activeElement===t;Ce.current=!0,n.once("moveend",()=>{if(Ce.current=!1,!p)return;const e=a[0].key,t=ue.current.get(e)?.button,n=t&&"none"!==t.style.display?t:[...de.current.values()].find(t=>t.keys.includes(e))?.button;n?.focus({preventScroll:!0})}),n.easeTo({center:l.getCenter(),zoom:Math.min(18,Math.max(o+1,Math.min(d,i))),duration:te()?0:600})},[]),je=c(()=>{const e=ae.current,t=ie.current;if(!e||!t||!U.current||Ce.current&&e.isMoving())return;const{selectedKey:n,highlightKey:r,groupCrowded:o,strings:a,noun:l,looks:s}=Ne.current;for(const[e,t]of ue.current){const a=s.pinMark(t.pin,e===n,e===r,o);t.mark.className!==a&&(t.mark.className=a);const l=e===n?"1":"";t.button.style.zIndex!==l&&(t.button.style.zIndex=l)}let i=null;if(o){const r=e.getContainer().getBoundingClientRect(),o=[...U.current.querySelectorAll("a[href], button, input, select, textarea, summary, [role='button'], [tabindex]:not([tabindex='-1'])")].filter(e=>!e.closest("[data-pin], [data-pin-group], .maplibregl-canvas")).map(e=>{const t=e.getBoundingClientRect(),n=e.closest("[data-map-card]")?.getBoundingClientRect()??t;return{left:Math.max(t.left,n.left)-r.left,top:Math.max(t.top,n.top)-r.top,right:Math.min(t.right,n.right)-r.left,bottom:Math.min(t.bottom,n.bottom)-r.top}}).filter(e=>e.right>e.left&&e.bottom>e.top);i=K([...ue.current.values()].map(({pin:t})=>{const n=e.project([t.lng,t.lat]);return{key:t.key,x:n.x,y:n.y,stop:t.stop??null}}),o);const c=e=>(l??a.places)(e),u=e.getZoom()<17.5?a.spread:a.cycle,d=(e,t)=>{const n=t?"":"none";e.style.display!==n&&(e.style.display=n)},p=/* @__PURE__ */new Map;for(const r of i.groups){const o=r.under>0?a.closeBy(r.under,c(r.under)):null,l=1===r.keys.length?ue.current.get(r.keys[0]):null;if(l){d(l.button,!0),l.button.setAttribute("aria-label",o?`${l.name}; ${o}`:l.name),l.button.title=o?`${l.title}\n${o}`:l.title;continue}for(const e of r.keys)d(ue.current.get(e).button,!1);const i=r.keys.join(" ");let m=de.current.get(i);if(!m){const n=document.createElement("button");n.type="button",n.dataset.pinGroup="",n.className=s.groupButton,n.append(document.createElement("span"));const o=ue.current.get(r.keys[0]).pin,a={button:n,keys:r.keys,marker:new t.Marker({element:n,anchor:"center"}).setLngLat([o.lng,o.lat]).addTo(e)};n.addEventListener("click",e=>{e.stopPropagation(),Le(a.keys,n)}),m=a}m.keys=r.keys;const h=r.keys.map(e=>ue.current.get(e)),g=r.stops.length>0?R(r.stops):String(h.length),f=r.stops.length>0?a.stops(g):a.group(h.length,c(h.length));m.button.style.width=`${r.width}px`,m.button.style.height=`${r.height}px`,m.button.setAttribute("aria-label",`${f}: ${h.map(e=>e.pin.label).join("; ")}. ${u}${o?`; ${o}`:""}.`),m.button.title=[`${f}:`,...h.map(e=>e.title),...o?[o]:[],u].join("\n");const y=m.button.firstElementChild;y.textContent=g;const b=s.groupDisc(r.stops.length>0,h.every(e=>e.pin.dot),null!=n&&r.keys.includes(n));y.className!==b&&(y.className=b),p.set(i,m)}for(const e of i.hidden)d(ue.current.get(e).button,!1);for(const[e,t]of de.current)p.has(e)||t.marker.remove();de.current=p}if(me.current){const e=r&&i?i.groups.find(e=>e.keys.includes(r)&&e.keys.length>1):void 0,t=r?ue.current.get(r):void 0,n=r?pe.current.get(r):void 0,o=e?{at:ue.current.get(e.keys[0]).pin,width:e.width,height:e.height}:t?{at:t.pin,width:t.button.offsetWidth||(null!=t.pin.stop?B:$),height:t.button.offsetHeight||(null!=t.pin.stop?B:$)}:n?{at:n.mark,width:n.element.offsetWidth||B,height:n.element.offsetHeight||B}:null,a=me.current.getElement();a.style.display=o?"":"none",o&&(me.current.setLngLat([o.at.lng,o.at.lat]),a.style.width=`${o.width+22}px`,a.style.height=`${o.height+22}px`)}},[Le]);i(()=>{if(je(),!U.current)return;const e=new ResizeObserver(()=>je());e.observe(U.current);for(const t of U.current.children)t.contains(ee.current)||e.observe(t);return()=>e.disconnect()}),i(()=>{let e=!1,t=null,n=null,r=()=>{};return(async()=>{try{const o=await S();if(e||!ee.current)return;ie.current=o,t=new o.Map({container:ee.current,style:Y[we],center:O.center,zoom:O.zoom,attributionControl:k?{compact:!0,customAttribution:k}:{compact:!0},dragRotate:!1,pitchWithRotate:!1,touchPitch:!1,maxPitch:0,cooperativeGestures:"coarse"===F?window.matchMedia("(pointer: coarse)").matches:F}),t.touchZoomRotate.disableRotation(),t.keyboard.disableRotation(),t.addControl(new o.NavigationControl({showCompass:!1}),"top-right");const a=document.createElement("div");a.dataset.pinRing="",a.setAttribute("aria-hidden","true"),a.className=Ne.current.looks.ring,a.style.display="none",me.current=new o.Marker({element:a,anchor:"center"}).setLngLat(O.center).addTo(t),t.on("click",e=>{Ne.current.picking&&Ne.current.onPick?.({lat:e.lngLat.lat,lng:e.lngLat.lng})}),t.on("move",je),t.on("moveend",je),t.on("resize",je),t.on("error",e=>console.warn("[map]",e.error?.message)),r=b(ee.current.querySelector(".maplibregl-ctrl-attrib"));const l=t;n=new ResizeObserver(()=>{l.resize(),Me()}),n.observe(ee.current),ae.current=t,ye(!0)}catch(t){console.error("[map] could not start",t),e||xe(!0)}})(),()=>{e=!0,n?.disconnect(),r(),ce.current.forEach(e=>e.remove()),ce.current=[],de.current.forEach(e=>e.marker.remove()),de.current.clear(),me.current?.remove(),me.current=null,t?.remove(),ae.current=null}},[]);const Se=l(we);i(()=>{fe&&ae.current&&Se.current!==we&&(Se.current=we,ae.current.setStyle(Y[we]))},[fe,we]),i(()=>{const e=ae.current,n=ie.current;if(!fe||!e||!n)return;ce.current.forEach(e=>e.remove()),ce.current=[],de.current.forEach(e=>e.marker.remove()),de.current.clear(),ue.current.clear(),pe.current.clear();for(const e of he.current.keys())t.some(t=>t.key===e)||he.current.delete(e);const r=Ne.current.strings;for(const o of t){const t=document.createElement("button");t.type="button",t.dataset.pin=o.key,t.className=ve.pinButton(o,C);const a=o.approximate?r.approximate(o.label):o.label,l=o.title??(o.approximate?r.approximateTitle(o.label):o.label);t.setAttribute("aria-label",a),t.title=l;const s=document.createElement("span");if(oe(s,o.data),o.dot);else if(null!=o.iconNode){const e=he.current.get(o.key);e&&s.append(e)}else o.icon?.length?s.append(re(o.icon)):s.textContent=null!=o.stop?String(o.stop):o.glyph;if(t.append(s),o.badge){const e=document.createElement("span");e.setAttribute("aria-hidden","true"),e.className=ve.badge(o.badgeTone),e.textContent=o.badge,t.appendChild(e)}t.addEventListener("click",e=>{e.stopPropagation(),Ne.current.onSelect(o.key)}),ce.current.push(new n.Marker({element:t,anchor:"center"}).setLngLat([o.lng,o.lat]).addTo(e)),ue.current.set(o.key,{pin:o,button:t,mark:s,name:a,title:l})}for(const t of w??[]){const r=document.createElement("div");r.dataset.mapMark=t.key,oe(r,t.data),r.className=ve.mark(t),r.textContent=t.text,r.title=t.title??t.label,r.setAttribute("role","img"),r.setAttribute("aria-label",t.label),ce.current.push(new n.Marker({element:r,anchor:"center"}).setLngLat([t.lng,t.lat]).addTo(e)),pe.current.set(t.key,{mark:t,element:r})}je()},[fe,t,w,C,je,D]),i(()=>{fe&&je()},[fe,n,j,je]),i(()=>{if(!fe||!n)return;const e=requestAnimationFrame(Me);return()=>cancelAnimationFrame(e)},[fe,n,Me]),i(()=>{const e=ae.current,n=ie.current,r=x?[...t,...w??[]].filter(e=>x.includes(e.key)):t;if(!fe||!e||!n||0===r.length)return;const o=r.map(e=>`${e.key}@${e.lat},${e.lng}`).sort().join("|");if(ge.current===o)return;const a=""===ge.current;if(ge.current=o,1===r.length)return void e.jumpTo({center:[r[0].lng,r[0].lat],zoom:13});const l=new n.LngLatBounds([r[0].lng,r[0].lat],[r[0].lng,r[0].lat]);for(const e of r)l.extend([e.lng,e.lat]);e.fitBounds(l,{padding:48,maxZoom:14,animate:!a})},[fe,t,w,x]),i(()=>{const e=ae.current;if(!fe||!e)return;const t=(y??[]).filter(e=>e.coordinates.length>=2),n=[...new Set(t.flatMap(e=>e.attribution?[e.attribution]:[]))].join(" · "),r=()=>{const r=function(){const e=document.createElement("span");e.className="text-blue-600",e.style.display="none",document.body.appendChild(e);const t=getComputedStyle(e).color||"#2563eb";return e.remove(),Q(t)}(),o={type:"FeatureCollection",features:t.map(e=>({type:"Feature",properties:{key:e.key,estimate:e.estimate,faded:!!e.faded,color:e.color?Z(e.color):r},geometry:{type:"LineString",coordinates:e.coordinates}}))},a=["case",["get","faded"],.25,.85],l=["get","color"],s=e.getSource(J);if(s&&(s.attribution||"")!==n){for(const t of V)e.getLayer(t)&&e.removeLayer(t);e.removeSource(J)}const i=e.getSource(J);i?i.setData(o):e.addSource(J,{type:"geojson",data:o,...n?{attribution:n}:{}}),e.getLayer("routes-road")||e.addLayer({id:"routes-road",type:"line",source:J,filter:["!",["get","estimate"]],layout:{"line-join":"round","line-cap":"round"},paint:{"line-color":l,"line-width":4,"line-opacity":a}}),e.getLayer("routes-estimate")||e.addLayer({id:"routes-estimate",type:"line",source:J,filter:["get","estimate"],layout:{"line-join":"round","line-cap":"round"},paint:{"line-color":l,"line-width":3,"line-dasharray":[1.5,1.5],"line-opacity":a}})},o=()=>{try{r()}catch(e){console.debug("[map] routes wait for the style",e)}};return o(),e.on("style.load",o),e.once("idle",o),()=>{e.off("style.load",o),e.off("idle",o)}},[fe,y,we]),i(()=>{const e=ae.current;if(!fe||!e||!r)return;const n=t.find(e=>e.key===r.key);if(!n)return;const o=e.getZoom(),a=C?q(e.project([n.lng,n.lat]),t.filter(e=>e.key!==n.key).map(t=>e.project([t.lng,t.lat])),o):-1/0,l={center:[n.lng,n.lat],zoom:Math.min(18,Math.max(o,13,a))};te()?e.jumpTo(l):e.flyTo({...l,duration:600})},[fe,r?.n]);const[Ee,$e]=s(!1);i(()=>{const e=U.current;if(!e)return;const t=()=>$e(e.clientWidth<T);t();const n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[T]);const Be=n?t.find(e=>e.key===n)??null:null,Ae=Be?.key??null,Re=Be?.lng??0,ze=Be?.lat??0,Te=fe&&!Ee&&null!=z&&!!Be,[We,Oe]=s(null);i(()=>{const e=ae.current,t=ie.current;if(!(Te&&e&&t&&Ae))return;const n=document.createElement("div");n.dataset.mapCard="",n.className=Ne.current.looks.cardFloating;const r=new t.Popup({anchor:"bottom",offset:v,className:"rosh-map-card",maxWidth:"none",closeButton:!1,closeOnClick:!1,closeOnMove:!1,focusAfterOpen:!1}).setLngLat([Re,ze]).setDOMContent(n).addTo(e),o=r.getElement(),a=o.querySelector(".maplibregl-popup-content");a&&Object.assign(a.style,{padding:"0",background:"transparent",borderRadius:"0",boxShadow:"none"});const l=o.querySelector(".maplibregl-popup-tip"),s=Ne.current.looks===G.site?"var(--rosh-map-pin, #111)":"var(--color-gray-600, #4b5563)";l&&Object.assign(l.style,{borderTopColor:s,borderBottomColor:s}),Oe(n);let i=!1,c=!1;const u=(t=!0)=>{if(c)return;if(e.isMoving())return void(i||(i=!0,e.once("moveend",()=>{i=!1,u()})));const{clientWidth:o,clientHeight:a}=e.getContainer(),l=function(e,t){const n=e.getBoundingClientRect().top,r=[...e.querySelectorAll(".maplibregl-ctrl-top-left > *, .maplibregl-ctrl-top-right > *"),...t?.querySelectorAll(":scope > [data-map-control]")??[]];let o=0;for(const e of r){const t=e.getBoundingClientRect();t.height>0&&(o=Math.max(o,t.bottom-n))}return o}(e.getContainer(),U.current)+8,s=`${N(a,l)}px`;n.style.maxHeight!==s&&(n.style.maxHeight=s);const d=r.getElement(),p=r.getLngLat(),{anchor:m,move:h}=M(e.project(p),{width:d.offsetWidth,height:d.offsetHeight},{width:o,height:a},l);r.options.anchor!==m&&(r.options.anchor=m,r.setLngLat(p)),!t||0===h.x&&0===h.y||e.panBy([-h.x,-h.y],{duration:te()?0:250}),je()},d=new ResizeObserver(()=>u());d.observe(n);const p=()=>u(),m=()=>{i||u(!1)};e.on("resize",p),e.on("moveend",m);let h=!1;const g=ue.current,f=e=>{h=n.contains(e.target)};return document.addEventListener("focusin",f),()=>{if(c=!0,d.disconnect(),e.off("resize",p),e.off("moveend",m),document.removeEventListener("focusin",f),r.remove(),Oe(null),h&&(!document.activeElement||document.activeElement===document.body)){const e=g.get(Ae)?.button;e&&"none"!==e.style.display&&e.focus({preventScroll:!0})}}},[Te,Ae,Re,ze,je]);const Fe=W?.active??!1,Ke=l(W?.onChange);i(()=>{Ke.current=W?.onChange}),i(()=>{if(!W)return;const e=document.documentElement;Fe&&!document.fullscreenElement&&e.requestFullscreen&&e.requestFullscreen().catch(()=>{}),!Fe&&document.fullscreenElement&&document.exitFullscreen().catch(()=>{})},[Fe]);const qe=!!W;return i(()=>{if(!qe)return;const e=()=>{document.fullscreenElement||Ke.current?.(!1)};return document.addEventListener("fullscreenchange",e),()=>document.removeEventListener("fullscreenchange",e)},[qe]),/* @__PURE__ */m("div",{ref:U,className:ne(ve.frame(E),g),children:[
3
+ /* @__PURE__ */h("div",{className:ve.fill,children:/* @__PURE__ */h("div",{ref:ee,className:ve.box,role:"region","aria-label":u})}),be&&/* @__PURE__ */h("p",{className:ve.failed,children:P.failed}),W&&/* @__PURE__ */h(e,{"data-map-control":"",variant:"secondary",size:"sm",className:"absolute left-3 top-3 z-10",onClick:()=>W.onChange(!W.active),leftIcon:/* @__PURE__ */h(se,{leave:W.active}),children:W.active?P.leaveFullScreen:P.fullScreen}),f,null!=z&&!Te&&/* @__PURE__ */h("div",{"data-map-card":"",className:ve.cardInline,children:z}),Te&&We?p(z,We):null,fe&&/* @__PURE__ */h(le,{pins:t,hosts:he.current,hostClass:ve.iconHost})]})}function le({pins:e,hosts:t,hostClass:n}){/* @__PURE__ */
4
4
  return h(g,{children:e.map(e=>{if(null==e.iconNode||e.dot)return null;let r=t.get(e.key);return r||(r=document.createElement("span"),r.className=n,t.set(e.key,r)),p(e.iconNode,r,e.key)})})}function se({leave:e}){/* @__PURE__ */
5
5
  return h(t,e?{name:"collapse","aria-hidden":"true",className:"h-4 w-4",strokeWidth:2}:{name:"expand","aria-hidden":"true",className:"h-4 w-4",strokeWidth:2})}function ie(){const[e,t]=s(null);return{highlightKey:e,pointAt:c(e=>{const n=()=>t(e),r=()=>t(t=>t===e?null:t);return{onMouseEnter:n,onMouseLeave:r,onFocus:n,onBlur:r}},[])}}var ce=3e3,ue=e=>!!e?.pending&&3e3,de=e=>`${e.kind}:${e.id}`,pe=e=>("located"===e.placement||"approximate"===e.placement)&&null!=e.lat&&null!=e.lng;function me(e){switch(e){case"located":return null;case"approximate":return"Approximate: only the suburb or postcode matched";case"pending":return"Locating";case"not_found":return"Not on the map: address not found";case"failed":return"Not on the map: the map service could not be reached";case"no_address":return"Not on the map: no city or postcode"}}var he={importer:{label:"Importer",tone:"bg-sky-600 text-white"},dealer:{label:"Dealer",tone:"bg-purple-600 text-white"},retail:{label:"Retail",tone:"bg-green-600 text-white"},supplier:{label:"Supplier",tone:"bg-sky-600 text-white"},delivery_location:{label:"Delivery location",tone:"bg-amber-600 text-white"},warehouse:{label:"Warehouse",tone:"bg-amber-600 text-white"}},ge=["importer","dealer","retail","supplier","delivery_location","warehouse"];function fe(e){return"supplier"===e.kind?"supplier":"customer"===e.kind?e.category||"importer":e.kind}var ye=(e,t=he)=>t[e]?.tone??"bg-gray-700 text-white",be=(e,t=he)=>t[e]?.label??e,xe=(e,t)=>ye(fe(e),t);function ke(e,t,n=he){return null!=t?String(t):(n[fe(e)]?.label??"").charAt(0).toUpperCase()}var we=["delivery_location","warehouse"];function ve(e,t=we){const n=/* @__PURE__ */new Map;let r=0;for(const o of e)t.includes(o.kind)&&n.set(de(o),++r);return n}function Ne(e){const t={onMap:0,approximate:0,pending:0,off:0};for(const n of e)pe(n)?(t.onMap+=1,"approximate"===n.placement&&(t.approximate+=1)):"pending"===n.placement?t.pending+=1:t.off+=1;return t}function Me(e){const t=[`${e.onMap} on the map`];return e.approximate&&t.push(`${e.approximate} approximate`),e.pending&&t.push(`${e.pending} locating`),e.off&&t.push(`${e.off} not on the map`),t.join(" · ")}function Ce(e){const t=[...new Set(e.filter(pe).map(fe))];return[...ge.filter(e=>t.includes(e)),...t.filter(e=>!ge.includes(e))]}function Le(e,t){return e.filter(e=>!pe(e)&&"pending"!==e.placement).map(e=>{const n=t?.get(de(e)),r=me(e.placement)?.replace(/^Not on the map: /,"")??"";return{key:de(e),text:`${null!=n?`${n}. `:""}${e.label}: ${r}`}})}function je({categories:e,palette:t=he,floating:n=!0}){return e.length<2?null:/* @__PURE__ */h("div",{className:(n?"absolute left-3 top-3 z-10 ":"")+"flex flex-wrap gap-x-3 gap-y-1 rounded-lg border border-gray-200 bg-white px-3 py-2 text-xs text-gray-600 shadow-sm",children:e.map(e=>/* @__PURE__ */m("span",{className:"inline-flex items-center gap-2",children:[
6
- /* @__PURE__ */h("span",{"aria-hidden":!0,className:`h-2.5 w-2.5 rounded-full ${ye(e,t)}`}),be(e,t)]},e))})}function Ee({point:n,number:r,onOpen:o,onClose:l,palette:s=he}){const i=me(n.placement),c=fe(n),u=a().map;/* @__PURE__ */
6
+ /* @__PURE__ */h("span",{"aria-hidden":!0,className:`h-2.5 w-2.5 rounded-full ${ye(e,t)}`}),be(e,t)]},e))})}function Se({point:n,number:r,onOpen:o,onClose:l,palette:s=he}){const i=me(n.placement),c=fe(n),u=a().map;/* @__PURE__ */
7
7
  return m("section",{"aria-label":u.chosen(n.label),className:"absolute bottom-3 left-3 right-3 z-10 max-w-md space-y-2 rounded-lg border border-gray-200 bg-white p-3 shadow-(--elevation-panel)",children:[
8
8
  /* @__PURE__ */m("div",{className:"flex items-start justify-between gap-2",children:[
9
9
  /* @__PURE__ */m("div",{className:"min-w-0",children:[
10
10
  /* @__PURE__ */m("h3",{className:"text-sm font-semibold text-gray-900 [overflow-wrap:anywhere]",children:[null!=r&&/* @__PURE__ */m("span",{className:"mr-1 text-gray-400",children:[r,"."]}),n.label,n.code&&/* @__PURE__ */h("span",{className:"ml-2 text-xs font-normal text-gray-400",children:n.code})]}),
11
11
  /* @__PURE__ */h("p",{className:"text-xs text-gray-500",children:s[c]?be(c,s):n.category})]}),
12
12
  /* @__PURE__ */h("button",{type:"button",onClick:l,"aria-label":u.closeCard,className:"rounded p-0.5 text-gray-400 hover:text-gray-600",children:/* @__PURE__ */h(t,{name:"close","aria-hidden":!0,className:"h-4 w-4",strokeWidth:2})})]}),
13
- /* @__PURE__ */h("p",{className:"text-sm text-gray-700 [overflow-wrap:anywhere]",children:n.address||"—"}),i&&/* @__PURE__ */h("p",{className:"text-xs text-gray-500",children:i}),n.matched&&"approximate"===n.placement&&/* @__PURE__ */m("p",{className:"text-xs text-gray-400 [overflow-wrap:anywhere]",children:["Placed at: ",n.matched]}),o&&/* @__PURE__ */h("div",{className:"flex justify-end",children:/* @__PURE__ */h(e,{variant:"secondary",size:"sm",onClick:o,children:u.openRecord})})]})}function Se(e,t,{staleTime:n}={}){return f({queryKey:e,queryFn:t,staleTime:n,refetchInterval:e=>ue(e.state.data)})}function $e({queryKey:e,queryFn:t,refreshSignal:r,onOpen:o,ariaLabel:a,title:c="Locations",palette:d=he,numbers:p,className:g="",mapClassName:f="min-h-[240px] flex-1"}){const{data:y,isError:b,refetch:x}=Se(e,t,{staleTime:0}),k=l(!1);i(()=>{k.current?x():k.current=!0},[r]);const[w,v]=s(null),N=u(()=>y?.points??[],[y]),M=u(()=>p??ve(N),[p,N]),C=u(()=>N.filter(pe).map(e=>({key:de(e),label:e.label,lat:e.lat,lng:e.lng,glyph:ke(e,M.get(de(e))??null,d),tone:xe(e,d),approximate:"approximate"===e.placement})),[N,M,d]),L=u(()=>Le(N,M),[N,M]),j=u(()=>Ce(N),[N]),E=y?.pending??0,S=N.find(e=>de(e)===w)??null,$=S&&o?o(S):null;/* @__PURE__ */
13
+ /* @__PURE__ */h("p",{className:"text-sm text-gray-700 [overflow-wrap:anywhere]",children:n.address||"—"}),i&&/* @__PURE__ */h("p",{className:"text-xs text-gray-500",children:i}),n.matched&&"approximate"===n.placement&&/* @__PURE__ */m("p",{className:"text-xs text-gray-400 [overflow-wrap:anywhere]",children:["Placed at: ",n.matched]}),o&&/* @__PURE__ */h("div",{className:"flex justify-end",children:/* @__PURE__ */h(e,{variant:"secondary",size:"sm",onClick:o,children:u.openRecord})})]})}function Ee(e,t,{staleTime:n}={}){return f({queryKey:e,queryFn:t,staleTime:n,refetchInterval:e=>ue(e.state.data)})}function $e({queryKey:e,queryFn:t,refreshSignal:r,onOpen:o,ariaLabel:a,title:c="Locations",palette:d=he,numbers:p,className:g="",mapClassName:f="min-h-[240px] flex-1"}){const{data:y,isError:b,refetch:x}=Ee(e,t,{staleTime:0}),k=l(!1);i(()=>{k.current?x():k.current=!0},[r]);const[w,v]=s(null),N=u(()=>y?.points??[],[y]),M=u(()=>p??ve(N),[p,N]),C=u(()=>N.filter(pe).map(e=>({key:de(e),label:e.label,lat:e.lat,lng:e.lng,glyph:ke(e,M.get(de(e))??null,d),tone:xe(e,d),approximate:"approximate"===e.placement})),[N,M,d]),L=u(()=>Le(N,M),[N,M]),j=u(()=>Ce(N),[N]),S=y?.pending??0,E=N.find(e=>de(e)===w)??null,$=E&&o?o(E):null;/* @__PURE__ */
14
14
  return m("section",{"aria-label":c,className:`flex min-w-0 flex-col ${g}`,children:[
15
15
  /* @__PURE__ */m("div",{className:"flex min-h-[30px] items-center justify-between mb-2",children:[
16
16
  /* @__PURE__ */h("h3",{className:"text-sm font-semibold text-gray-900",children:c}),y&&/* @__PURE__ */h("span",{className:"text-xs text-gray-500",children:Me(Ne(N))})]}),
17
17
  /* @__PURE__ */m(ae,{pins:C,selectedKey:w,focus:null,onSelect:v,ariaLabel:a,className:f,children:[
18
18
  /* @__PURE__ */m("div",{className:"absolute left-3 top-3 z-10 flex max-w-[70%] flex-col items-start gap-2",children:[
19
19
  /* @__PURE__ */h(je,{categories:j,palette:d,floating:!1}),b&&/* @__PURE__ */m("div",{className:"flex items-center gap-2 rounded-lg border border-gray-200 bg-white px-3 min-h-8 py-1 text-xs text-gray-600 shadow-sm",children:["Couldn’t load the locations.",
20
- /* @__PURE__ */h("button",{type:"button",onClick:()=>{x()},className:"font-medium text-blue-600 hover:text-blue-800 hover:underline",children:"Try again"})]}),!b&&(E>0||L.length>0)&&/* @__PURE__ */m("div",{className:"max-w-full space-y-0.5 rounded-lg border border-gray-200 bg-white px-3 py-2 text-xs shadow-sm","aria-live":"polite",children:[E>0&&/* @__PURE__ */m("p",{className:"flex items-center gap-2 text-gray-500",children:[
21
- /* @__PURE__ */h(n,{}),"Locating ",E," address",1===E?"":"es"]}),L.slice(0,3).map(e=>/* @__PURE__ */h("p",{className:"truncate text-amber-700",title:e.text,children:e.text},e.key)),L.length>3&&/* @__PURE__ */m("p",{className:"text-gray-500",children:["+",L.length-3," more not on the map"]})]})]}),S&&/* @__PURE__ */h(Ee,{point:S,number:M.get(de(S))??null,onOpen:$,onClose:()=>v(null),palette:d})]})]})}export{w as CARD_MIN_MAP_WIDTH,y as COMPACT_SHOW,ae as EntityMap,$e as LocationsMap,C as MAPLIBRE_WORKER_FILE,z as MAP_APART_PX,he as MAP_CATEGORIES,G as MAP_LOOKS,B as MAP_STOP_PX,$ as MAP_TARGET_PX,je as MapLegend,ce as PENDING_POLL_MS,we as SECONDARY_KINDS,Ee as SelectedCard,N as cardMaxHeight,be as categoryLabel,ye as categoryTone,b as foldAttributionOnce,pe as isOnMap,K as layoutPins,Ce as legendCategories,E as loadMapLibre,ve as locationNumbers,L as mapLibreWorkerUrl,ue as mapPointsRefetchInterval,Le as offMapNotes,fe as pinCategory,ke as pinGlyph,xe as pinTone,M as placeCard,me as placementNote,de as pointKey,A as stopsLabel,Ne as summarize,Me as summaryText,ie as useMapHighlight,Se as useMapPoints,q as zoomApart};
20
+ /* @__PURE__ */h("button",{type:"button",onClick:()=>{x()},className:"font-medium text-blue-600 hover:text-blue-800 hover:underline",children:"Try again"})]}),!b&&(S>0||L.length>0)&&/* @__PURE__ */m("div",{className:"max-w-full space-y-0.5 rounded-lg border border-gray-200 bg-white px-3 py-2 text-xs shadow-sm","aria-live":"polite",children:[S>0&&/* @__PURE__ */m("p",{className:"flex items-center gap-2 text-gray-500",children:[
21
+ /* @__PURE__ */h(n,{}),"Locating ",S," address",1===S?"":"es"]}),L.slice(0,3).map(e=>/* @__PURE__ */h("p",{className:"truncate text-amber-700",title:e.text,children:e.text},e.key)),L.length>3&&/* @__PURE__ */m("p",{className:"text-gray-500",children:["+",L.length-3," more not on the map"]})]})]}),E&&/* @__PURE__ */h(Se,{point:E,number:M.get(de(E))??null,onOpen:$,onClose:()=>v(null),palette:d})]})]})}export{w as CARD_MIN_MAP_WIDTH,y as COMPACT_SHOW,ae as EntityMap,$e as LocationsMap,C as MAPLIBRE_WORKER_FILE,A as MAP_APART_PX,he as MAP_CATEGORIES,G as MAP_LOOKS,B as MAP_STOP_PX,$ as MAP_TARGET_PX,je as MapLegend,ce as PENDING_POLL_MS,we as SECONDARY_KINDS,Se as SelectedCard,N as cardMaxHeight,be as categoryLabel,ye as categoryTone,b as foldAttributionOnce,pe as isOnMap,K as layoutPins,Ce as legendCategories,S as loadMapLibre,ve as locationNumbers,L as mapLibreWorkerUrl,ue as mapPointsRefetchInterval,Le as offMapNotes,fe as pinCategory,ke as pinGlyph,xe as pinTone,M as placeCard,me as placementNote,de as pointKey,R as stopsLabel,Ne as summarize,Me as summaryText,ie as useMapHighlight,Ee as useMapPoints,q as zoomApart};
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import{Icon as e}from"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import{useBrowserLayoutEffect as t}from"../chunk-D65T4H6J.js";import{memo as r,useRef as a,useState as o,useMemo as s}from"react";import l from"react-markdown";import n from"remark-breaks";import m from"remark-gfm";import{jsx as d,jsxs as c}from"react/jsx-runtime";function i(){const e=this.data();(e.micromarkExtensions??=[]).push({disable:{null:["codeIndented","htmlFlow","htmlText","setextUnderline"]}})}var b={note:[m,n,i],article:[m,i]},x=({node:e,...t})=>/* @__PURE__ */d("a",{...t,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:underline break-all"}),g=({node:e,...t})=>/* @__PURE__ */d("code",{className:"rounded bg-gray-200 px-1 py-0.5 font-mono text-[0.85em] text-gray-800",...t}),h=e=>({node:t,...r})=>/* @__PURE__ */d("pre",{className:`${e} overflow-x-auto rounded-lg border border-gray-200 bg-gray-50 font-mono text-xs [&>code]:bg-transparent [&>code]:p-0 [&>code]:[font-size:inherit]`,...r}),y={th:({node:e,...t})=>/* @__PURE__ */d("th",{className:"border border-gray-200 bg-gray-50 px-2 py-1 text-left font-semibold text-gray-700",...t}),td:({node:e,...t})=>/* @__PURE__ */d("td",{className:"border border-gray-200 px-2 py-1 align-top",...t})},p={a:x,h1:({node:e,...t})=>/* @__PURE__ */d("h1",{className:"text-base font-semibold text-gray-900",...t}),h2:({node:e,...t})=>/* @__PURE__ */d("h2",{className:"text-sm font-semibold text-gray-900",...t}),h3:({node:e,...t})=>/* @__PURE__ */d("h3",{className:"text-sm font-semibold text-gray-700",...t}),h4:({node:e,...t})=>/* @__PURE__ */d("h4",{className:"text-sm font-semibold text-gray-700",...t}),h5:({node:e,...t})=>/* @__PURE__ */d("h5",{className:"text-sm font-semibold text-gray-700",...t}),h6:({node:e,...t})=>/* @__PURE__ */d("h6",{className:"text-sm font-semibold text-gray-700",...t}),ul:({node:e,...t})=>/* @__PURE__ */d("ul",{className:"list-disc pl-5",...t}),ol:({node:e,...t})=>/* @__PURE__ */d("ol",{className:"list-decimal pl-5",...t}),code:g,pre:h("p-2"),blockquote:({node:e,...t})=>/* @__PURE__ */d("blockquote",{className:"border-l-2 border-gray-300 pl-3 text-gray-600",...t}),hr:({node:e,...t})=>/* @__PURE__ */d("hr",{className:"border-gray-200",...t}),table:({node:e,...t})=>/* @__PURE__ */d("div",{className:"overflow-x-auto",children:/* @__PURE__ */d("table",{className:"text-xs border-collapse",...t})}),...y,img:({node:e,alt:t,...r})=>/* @__PURE__ */d("img",{...r,alt:t??"",loading:"lazy",className:"max-w-full max-h-64 rounded-lg border border-gray-200"})};function f(e){return e?{...p,img:({node:t,src:r,alt:a,...o})=>{const s="string"==typeof r?r:void 0;/* @__PURE__ */
2
+ import{Icon as e}from"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import{useBrowserLayoutEffect as t}from"../chunk-D65T4H6J.js";import{memo as r,useRef as a,useState as o,useMemo as s}from"react";import l from"react-markdown";import n from"remark-breaks";import m from"remark-gfm";import{jsx as d,jsxs as c}from"react/jsx-runtime";function i(){const e=this.data();(e.micromarkExtensions??=[]).push({disable:{null:["codeIndented","htmlFlow","htmlText","setextUnderline"]}})}var b={note:[m,n,i],article:[m,i]},x=({node:e,...t})=>/* @__PURE__ */d("a",{...t,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:underline break-all"}),g=({node:e,...t})=>/* @__PURE__ */d("code",{className:"rounded bg-gray-200 px-1 py-0.5 font-mono text-[0.85em] text-gray-800",...t}),h=e=>({node:t,...r})=>/* @__PURE__ */d("pre",{className:`${e} overflow-x-auto rounded-lg border border-gray-200 bg-gray-50 font-mono text-xs [&>code]:bg-transparent [&>code]:p-0 [&>code]:[font-size:inherit]`,...r}),y={th:({node:e,...t})=>/* @__PURE__ */d("th",{className:"border border-gray-200 bg-gray-50 px-2 py-1 text-left font-semibold text-gray-700",...t}),td:({node:e,...t})=>/* @__PURE__ */d("td",{className:"border border-gray-200 px-2 py-1 align-top",...t})},p={a:x,h1:({node:e,...t})=>/* @__PURE__ */d("h1",{className:"text-base font-semibold text-gray-900",...t}),h2:({node:e,...t})=>/* @__PURE__ */d("h2",{className:"text-sm font-semibold text-gray-900",...t}),h3:({node:e,...t})=>/* @__PURE__ */d("h3",{className:"text-sm font-semibold text-gray-700",...t}),h4:({node:e,...t})=>/* @__PURE__ */d("h4",{className:"text-sm font-semibold text-gray-700",...t}),h5:({node:e,...t})=>/* @__PURE__ */d("h5",{className:"text-sm font-semibold text-gray-700",...t}),h6:({node:e,...t})=>/* @__PURE__ */d("h6",{className:"text-sm font-semibold text-gray-700",...t}),ul:({node:e,...t})=>/* @__PURE__ */d("ul",{className:"list-disc pl-5",...t}),ol:({node:e,...t})=>/* @__PURE__ */d("ol",{className:"list-decimal pl-5",...t}),code:g,pre:h("p-2"),blockquote:({node:e,...t})=>/* @__PURE__ */d("blockquote",{className:"border-l-2 border-gray-300 pl-3 text-gray-600",...t}),hr:({node:e,...t})=>/* @__PURE__ */d("hr",{className:"border-gray-200",...t}),table:({node:e,...t})=>/* @__PURE__ */d("div",{className:"overflow-x-auto",children:/* @__PURE__ */d("table",{className:"text-xs border-collapse",...t})}),...y,img:({node:e,alt:t,...r})=>/* @__PURE__ */d("img",{...r,alt:t??"",loading:"lazy",className:"max-w-full max-h-64 rounded-lg border border-gray-200"})};function f(e){return e?{...p,img:({node:t,src:r,alt:a,...o})=>{const s="string"==typeof r?r:void 0;/* @__PURE__ */
3
3
  return d("img",{...o,src:s?e(s):s,alt:a??"",loading:"lazy",className:"max-w-full max-h-64 rounded-lg border border-gray-200"})}}:p}function u({src:t,alt:r}){const[a,s]=o(!1),l=(r??"").replace(/^screenshot:\s*/i,"");return!t||a?/* @__PURE__ */c("span",{className:"my-3 flex items-start gap-2 rounded-lg border border-dashed border-gray-300 bg-gray-50 px-3 py-3 text-gray-500",children:[
4
4
  /* @__PURE__ */d(e,{name:"camera",look:"mini",className:"mt-0.5 h-4 w-4 shrink-0","aria-hidden":"true"}),
5
5
  /* @__PURE__ */d("span",{className:"text-xs",children:l||"Screenshot"})]}):/* @__PURE__ */d("img",{src:t,alt:r??"",loading:"lazy",onError:()=>s(!0),className:"my-3 block max-w-full rounded-lg border border-gray-200"})}function N(e){return{a:x,h1:({node:e,...t})=>/* @__PURE__ */d("h1",{className:"mt-6 mb-3 text-xl font-semibold text-gray-900 first:mt-0",...t}),h2:({node:e,...t})=>/* @__PURE__ */d("h2",{className:"mt-6 mb-3 border-b border-gray-200 pb-2 text-lg font-semibold text-gray-900 first:mt-0",...t}),h3:({node:e,...t})=>/* @__PURE__ */d("h3",{className:"mt-5 mb-2 text-base font-semibold text-gray-900 first:mt-0",...t}),h4:({node:e,...t})=>/* @__PURE__ */d("h4",{className:"mt-4 mb-2 text-sm font-semibold text-gray-900 first:mt-0",...t}),h5:({node:e,...t})=>/* @__PURE__ */d("h5",{className:"mt-4 mb-2 text-sm font-semibold text-gray-700 first:mt-0",...t}),h6:({node:e,...t})=>/* @__PURE__ */d("h6",{className:"mt-4 mb-2 text-sm font-semibold text-gray-700 first:mt-0",...t}),p:({node:e,...t})=>/* @__PURE__ */d("p",{className:"my-3 leading-relaxed",...t}),ul:({node:e,...t})=>/* @__PURE__ */d("ul",{className:"my-3 list-disc space-y-1 pl-5",...t}),ol:({node:e,...t})=>/* @__PURE__ */d("ol",{className:"my-3 list-decimal space-y-1 pl-5",...t}),li:({node:e,...t})=>/* @__PURE__ */d("li",{className:"leading-relaxed [&>p]:my-1",...t}),code:g,pre:h("my-3 p-3"),blockquote:({node:e,...t})=>/* @__PURE__ */d("blockquote",{className:"my-3 rounded-r-lg border-l-4 border-blue-400/60 bg-blue-50 px-3 py-2 text-gray-700 [&>p]:my-1",...t}),hr:({node:e,...t})=>/* @__PURE__ */d("hr",{className:"my-4 border-gray-200",...t}),table:({node:e,...t})=>/* @__PURE__ */d("div",{className:"my-3 overflow-x-auto",children:/* @__PURE__ */d("table",{className:"border-collapse text-sm",...t})}),...y,img:({node:t,src:r,alt:a})=>{const o="string"==typeof r?r:void 0;/* @__PURE__ */
@@ -0,0 +1,23 @@
1
+ /**
2
+ * GENERATED FILE. Do not edit by hand.
3
+ * Source: ./efficient.json. Regenerate: node scripts/icons/generate.mjs
4
+ */
5
+ /**
6
+ * Every meaning the one set draws. `<Icon name>` takes exactly these.
7
+ */
8
+ declare const ICON_NAMES: readonly ["academic-cap", "accent", "account", "account-circle", "add", "add-circle", "add-person", "adjust", "align-center", "align-justify", "align-left", "align-right", "align-separate", "alignment", "anchor", "animation", "apps", "archive-box", "arrow", "arrow-down", "arrow-left", "arrow-left-end-on-rectangle", "arrow-long-right", "arrow-right", "arrow-trending-down", "arrow-trending-up", "arrow-up", "arrow-up-right", "at-symbol", "attach", "background", "bag", "bank", "bars-3-bottom-left", "battery", "beaker", "bell", "bell-alert", "bell-plus", "billing", "black-and-white", "block-badge", "block-banner", "block-box", "block-button", "block-column", "block-coupon", "block-divider", "block-footer", "block-heading", "block-image", "block-included-list", "block-layered-images", "block-product", "block-product-title", "block-section", "block-social", "block-spacer", "block-text", "block-video", "blog-post", "bold", "bolt", "book-open", "bookmark", "bookmark-square", "border-all", "border-bottom", "border-left", "border-right", "border-top", "braces", "brand-1password", "brand-adyen", "brand-afterpay", "brand-aircall", "brand-amd", "brand-americanexpress", "brand-anthropic", "brand-apple", "brand-applepay", "brand-aws", "brand-bigcommerce", "brand-brevo", "brand-calendly", "brand-campaignmonitor", "brand-cloudflare", "brand-dell", "brand-dhl", "brand-dropbox", "brand-ebay", "brand-etsy", "brand-facebook", "brand-fedex", "brand-github", "brand-gmail", "brand-googleads", "brand-googleanalytics", "brand-googlecalendar", "brand-googledrive", "brand-googlepay", "brand-googlesheets", "brand-hubspot", "brand-instagram", "brand-intel", "brand-intercom", "brand-klarna", "brand-line", "brand-linkedin", "brand-mailchimp", "brand-mailgun", "brand-make", "brand-mastercard", "brand-messenger", "brand-meta", "brand-myob", "brand-notion", "brand-nvidia", "brand-paypal", "brand-pinterest", "brand-quickbooks", "brand-sage", "brand-samsung", "brand-shopify", "brand-square", "brand-squarespace", "brand-stripe", "brand-telegram", "brand-tiktok", "brand-trello", "brand-ups", "brand-visa", "brand-vonage", "brand-wechat", "brand-whatsapp", "brand-wise", "brand-wix", "brand-woocommerce", "brand-x", "brand-xero", "brand-youtube", "brand-zapier", "brand-zendesk", "brand-zoom", "breadcrumb", "briefcase", "bug", "bug-ant", "building-library", "building-office-2", "button", "button-arrow", "button-icon", "calculator", "calendar", "calendar-check", "camera", "caption", "car", "card-payment", "caret", "cart", "case", "case-capitalized", "case-lower", "case-normal", "case-upper", "category", "chart", "chart-bar", "chart-bar-square", "chart-line", "chat", "chat-bubble-left-right", "chat-bubble-oval-left-ellipsis", "check", "check-circle", "checkbox", "chevron", "chevron-double", "chevron-double-left", "chevron-double-right", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "chevron-up-down", "circle-stack", "clear-marks", "clipboard", "clipboard-check", "clipboard-document-list", "clipboard-list", "clock", "close", "close-circle", "cloud", "cloud-alert", "cloud-arrow-up", "cloud-check", "cloud-download", "cloud-pause", "cloud-slash", "code", "code-bracket", "collapse", "collapse-all", "column-gap", "column-widths", "columns", "company", "compose", "contrast", "cookie", "copied", "copy", "copy-style", "copy-to-page", "corner", "crop", "crop-bottom", "crop-left", "crop-left-right", "crop-right", "crop-top", "crop-y", "cube-transparent", "cursor", "cursor-arrow-rays", "cursor-click", "dashboard", "date", "desktop", "detach", "diagram", "direction", "direction-down", "direction-left", "direction-right", "direction-up", "document", "document-check", "document-magnifying-glass", "dollar", "dot", "download", "drag", "drop", "duplicate", "edit", "email", "emphasis", "eraser", "error", "expand", "external", "eye", "eye-off", "face-smile", "filter", "finish", "fire", "flag", "flag-au", "flag-ca", "flag-eu", "flag-gb", "flag-nz", "flag-us", "folder", "folder-open", "folder-plus", "forward", "full-width", "gap", "gem", "gift", "globe", "grid", "ground", "hand", "hand-thumb-up", "hash", "headquarters", "heart", "height", "help", "help-off", "hexagon", "home", "hover", "icon-after-text", "icon-before-text", "identification", "image", "image-off", "images", "inbox", "info", "italic", "key", "layers", "layout", "letter-spacing", "lightbulb", "line-between", "line-dashed", "line-dotted", "line-solid", "line-spacing", "line-style", "link", "link-slash", "list", "list-format", "list-none", "location", "lock", "logo", "logout", "map", "media", "media-layout-big-two", "media-layout-inset", "media-layout-side-by-side", "media-layout-stacked", "megaphone", "menu", "meta", "microphone", "money", "moon", "more", "more-vertical", "move-down", "move-up", "newspaper", "no-symbol", "note", "nudge", "nudge-x", "nudge-y", "numbered-list", "opacity", "own-text", "package", "package-open", "padding-all", "padding-bottom", "padding-left", "padding-left-right", "padding-right", "padding-top", "padding-x", "padding-y", "page", "paint-brush", "palette", "panel-left", "panel-right", "paragraph-spacing", "parcel", "paste", "paste-style", "pause", "pen", "people", "percent", "phone", "phone-hidden", "placement", "play", "plus-minus", "power", "presentation-chart-bar", "print", "product", "product-field", "product-size", "progress", "quiet", "quote", "radio-dot", "radius", "receipt", "receipt-percent", "receipt-refund", "rectangle-group", "redo", "refresh", "remove", "remove-circle", "rename", "reply", "reply-all", "revert", "robot", "rotate", "scale", "scroll-point", "scroll-text", "search", "select-all", "send", "server", "settings", "shadow", "shape-ellipse", "shape-rect", "share", "shared", "shield-check", "shield-exclamation", "sides-each", "signal", "signal-slash", "sitemap", "slide-arrows-bare", "slide-arrows-round", "slide-arrows-square", "slide-picker-bar", "slide-picker-cards", "slide-picker-dots", "slide-picker-numbers", "slide-picker-squares", "sort", "sparkles", "speaker", "speaker-wave", "spec-table", "spinner", "split", "square", "star", "state", "status-circle", "status-dot", "sticky", "stop-circle", "store", "strike", "styles", "subscript", "success-burst", "sun", "superscript", "swap", "swatch", "table", "tablet", "tabs", "tag", "target", "team", "telephone", "template", "text-color", "text-lines", "text-size", "text-small", "text-value", "texture", "theme", "ticket", "title", "trash", "trigger", "truck", "tv", "type", "tyre", "underline", "undo", "upload", "v-align", "verified", "video-off", "view-columns", "wallet", "warning", "weight", "wheel", "widgets", "width", "window", "windows", "words-from", "wrap", "wrench", "wrench-screwdriver", "zoom-in"];
9
+ type IconName = (typeof ICON_NAMES)[number];
10
+ /** Whether `value` is a meaning the set draws. */
11
+ declare const isIconName: (value: unknown) => value is IconName;
12
+ /**
13
+ * The brand marks among them (./brands.json): vendor logos, filled in one
14
+ * colour, sized by area (`brandBox`), and never redrawn by a theme's set.
15
+ * The social marks also carry the footer's two looks, `outline` and
16
+ * `solid`, drawn square at `size`.
17
+ */
18
+ declare const BRAND_ICON_NAMES: readonly ["brand-1password", "brand-adyen", "brand-afterpay", "brand-aircall", "brand-amd", "brand-americanexpress", "brand-anthropic", "brand-apple", "brand-applepay", "brand-aws", "brand-bigcommerce", "brand-brevo", "brand-calendly", "brand-campaignmonitor", "brand-cloudflare", "brand-dell", "brand-dhl", "brand-dropbox", "brand-ebay", "brand-etsy", "brand-facebook", "brand-fedex", "brand-github", "brand-gmail", "brand-googleads", "brand-googleanalytics", "brand-googlecalendar", "brand-googledrive", "brand-googlepay", "brand-googlesheets", "brand-hubspot", "brand-instagram", "brand-intel", "brand-intercom", "brand-klarna", "brand-line", "brand-linkedin", "brand-mailchimp", "brand-mailgun", "brand-make", "brand-mastercard", "brand-messenger", "brand-meta", "brand-myob", "brand-notion", "brand-nvidia", "brand-paypal", "brand-pinterest", "brand-quickbooks", "brand-sage", "brand-samsung", "brand-shopify", "brand-square", "brand-squarespace", "brand-stripe", "brand-telegram", "brand-tiktok", "brand-trello", "brand-ups", "brand-visa", "brand-vonage", "brand-wechat", "brand-whatsapp", "brand-wise", "brand-wix", "brand-woocommerce", "brand-x", "brand-xero", "brand-youtube", "brand-zapier", "brand-zendesk", "brand-zoom"];
19
+ type BrandIconName = (typeof BRAND_ICON_NAMES)[number];
20
+ /** Whether `value` is a brand mark. */
21
+ declare const isBrandIconName: (value: unknown) => value is BrandIconName;
22
+
23
+ export { BRAND_ICON_NAMES as B, ICON_NAMES as I, type BrandIconName as a, type IconName as b, isIconName as c, isBrandIconName as i };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import{TabStrip as e}from"../chunk-YGZMD6TZ.js";import{useShellLanguage as t}from"../chunk-QQCHLRKG.js";import"../chunk-FL2PUQX7.js";import{confirm as n}from"../chunk-ZN3O2KJ7.js";import"../chunk-YCQVEJOT.js";import"../chunk-VWGWZY7A.js";import"../chunk-PKXQDCNR.js";import"../chunk-CDAJKLGL.js";import"../chunk-PJCVNFWM.js";import"../chunk-QR4RM7PO.js";import"../chunk-5QFPTDQF.js";import"../chunk-K7U4RWXJ.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import{useBrowserLayoutEffect as r}from"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import{useShellStrings as i}from"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";import*as c from"react";import{createContext as l,memo as s,useRef as a,useEffect as o,useMemo as u,useId as y,useCallback as d,useReducer as p,useState as f,useContext as k}from"react";import{useLocation as m,useNavigate as h}from"react-router-dom";import{jsx as b,Fragment as v,jsxs as g}from"react/jsx-runtime";var K=l(null),j=l(null),T=12;var F=(e,t)=>e.filter(e=>e!==t);function C(e,t){return[...t.map(t=>e.find(e=>e.key===t)).filter(e=>Boolean(e)),...e.filter(e=>!t.includes(e.key))]}function N(e,t,n=12){const r=e.clock+1;let i;i=e.tabs.find(e=>e.key===t.key)?e.tabs.map(e=>e.key===t.key?{...e,path:t.path,title:"page"===e.titleFrom?e.title:t.title||e.title,lastActive:r}:e):[...e.tabs,{key:t.key,path:t.path,title:t.title,titleFrom:"route",pinned:!1,lastActive:r}];let c={...e,tabs:i,activeKey:t.key,mounted:(l=e.mounted,s=t.key,l.includes(s)?l:[...l,s]),clock:r};var l,s;return c.closing&&c.closing!==t.key?c=A(c,c.closing):c.closing===t.key&&(c={...c,closing:null}),function(e,t){let n=e;for(;n.tabs.length>t;){const e=n.tabs.filter(e=>!e.pinned&&e.key!==n.activeKey&&!n.dirty.includes(e.key)&&e.key!==n.closing).sort((e,t)=>e.lastActive-t.lastActive);if(0===e.length)break;n=A(n,e[0].key)}return n}(c,n)}function M(e){let t={...e,activeKey:null};return t.closing&&(t=A(t,t.closing)),t}function A(e,t){return{...e,tabs:e.tabs.filter(e=>e.key!==t),mounted:F(e.mounted,t),dirty:F(e.dirty,t),activeKey:e.activeKey===t?null:e.activeKey,closing:e.closing===t?null:e.closing}}function I(e,t){switch(t.type){case"visit":return N(e,t.entry,t.maxTabs);case"transient":return M(e);case"close":{let n=e;for(const e of t.keys)n=A(n,e);return t.closing?function(e,t){return{...e,closing:t}}(n,t.closing):n}case"title":return function(e,t,n){const r=e.tabs.find(e=>e.key===t);return!r||!n||r.title===n&&"page"===r.titleFrom?e:{...e,tabs:e.tabs.map(e=>e.key===t?{...e,title:n,titleFrom:"page"}:e)}}(e,t.key,t.title);case"dirty":return function(e,t,n){return n===e.dirty.includes(t)?e:{...e,dirty:n?[...e.dirty,t]:F(e.dirty,t)}}(e,t.key,t.dirty)}}var L=e=>`${e.pathname}${e.search}`;function w(e){const t=e.indexOf("#"),n=t>=0?e.slice(t):"",r=t>=0?e.slice(0,t):e,i=r.indexOf("?");return{pathname:i>=0?r.slice(0,i):r,search:i>=0?r.slice(i):"",hash:n}}function O({children:e,resolve:c,pinned:l=[],storageKey:s,maxTabs:k=12,enabled:v=!0,confirmDiscard:g}){const j=m(),T=h(),F=i().pageTabs,A=y(),O=a(c);O.current=c;const J=d(e=>{const t=O.current(e);return t?{key:t.key??e.pathname,path:L(e),title:t.title}:null},[]),{language:R}=t(),[D,Q]=p(I,void 0,()=>{const e=function(e,t,n){if(!e)return[];let r;try{r=JSON.parse(e)}catch{return[]}const i=r;if(!i||1!==i.v||!Array.isArray(i.tabs))return[];const c=Boolean(n&&"string"==typeof i.lang&&i.lang!==n),l=[];for(const e of i.tabs){if(!e||"string"!=typeof e.path||!e.path.startsWith("/")||e.path.startsWith("//"))continue;const n=e.path.indexOf("#"),r=n>=0?e.path.slice(0,n):e.path,i=t(r);if(!i||l.some(e=>e.key===i.key))continue;const s=!c&&"page"===e.titleFrom&&"string"==typeof e.title&&e.title;l.push({key:i.key,path:r,title:s||i.title,titleFrom:s?"page":"route",pinned:!1,lastActive:0})}return l}(function(e){if(!e)return null;try{return localStorage.getItem(e)}catch{return null}}(s),e=>J(w(e)),R);let t=function(e,t){const n=t.map(e=>e.key);let r=e.tabs.map(e=>({...e,pinned:n.includes(e.key)}));for(const e of t)r.some(t=>t.key===e.key)||(r=[...r,{key:e.key,path:e.path,title:e.title,titleFrom:"route",pinned:!0,lastActive:0}]);return{...e,tabs:C(r,n)}}({tabs:[],activeKey:null,mounted:[],dirty:[],closing:null,clock:0,tabs:e},l.map(e=>J(w(e))).filter(e=>Boolean(e)));const n=v?J(j):null;return t=n?N(t,n,k):M(t),t}),x=a(D);x.current=D;const W=a(/* @__PURE__ */new Map),E=v?J(j):null,P=E?.key??null;r(()=>{if(!v)return;const e=J(j);e?(W.current.set(e.key,j),Q({type:"visit",entry:e,maxTabs:k})):Q({type:"transient"})},[j,v,k,J]),o(()=>{const e=new Set(D.tabs.map(e=>e.key));for(const t of W.current.keys())e.has(t)||W.current.delete(t)},[D.tabs]);const $=u(()=>function(e,t){const n={v:1,...t?{lang:t}:{},tabs:e.tabs.filter(t=>t.key!==e.closing).map(({key:e,path:t,title:n,titleFrom:r})=>({key:e,path:t,title:n,titleFrom:r}))};return JSON.stringify(n)}(D,R),[D,R]);o(()=>{if(s)try{localStorage.setItem(s,$)}catch{}},[$,s]);const B=D.dirty.length>0;o(()=>{if(!B)return;const e=e=>{e.preventDefault(),e.returnValue=""};return window.addEventListener("beforeunload",e),()=>window.removeEventListener("beforeunload",e)},[B]);const G=a(/* @__PURE__ */new Map),S=d((e,t)=>{let n=G.current.get(e);return void 0===n&&(n=G.current.size,G.current.set(e,n)),`${A}-page-${t}-${n}`},[A]),U=d(e=>g?g(e):n({title:F.discardTitle,message:1===e.length?F.discardOne:F.discardCount?.(e.length)??`${e.length} ${F.discardMany}`,confirmLabel:F.discardConfirm,cancelLabel:F.keepEditing,variant:"warning"}),[g,F]),V=d(()=>{const e=x.current;return e.tabs.find(e=>e.pinned)?.path??"/"},[]),Z=d((e,t,n)=>{const r=x.current,i=r.activeKey;if(!i||!e.includes(i))return void Q({type:"close",keys:e,closing:null});let c=t;if(!c){const t={...r,tabs:r.tabs.filter(t=>t.key===i||!e.includes(t.key))},l=n?r.tabs.find(t=>t.key===n&&!e.includes(t.key)):void 0;c=(l??function(e,t){const n=e.tabs.filter(n=>n.key!==e.closing||n.key===t),r=n.findIndex(e=>e.key===t);return r<0?null:n[r+1]??n[r-1]??null}(t,i))?.path??V()}Q({type:"close",keys:e.filter(e=>e!==i),closing:i}),T(c)},[T,V]),H=d(async(e,t={})=>{const n=x.current.tabs.find(t=>t.key===e);return!n||n.pinned?(t.to&&T(t.to),!1):!(!t.force&&x.current.dirty.includes(e)&&!await U([n]))&&(!!x.current.tabs.some(t=>t.key===e)&&(Z([e],t.to),!0))},[U,Z,T]),X=d(async(e,t)=>{let n=function(e,t,n){const r=e.tabs.filter(e=>!e.pinned);if("all"===t)return r.map(e=>e.key);if("others"===t)return r.filter(e=>e.key!==n).map(e=>e.key);const i=e.tabs.findIndex(e=>e.key===n);return i<0?[]:e.tabs.slice(i+1).filter(e=>!e.pinned).map(e=>e.key)}(x.current,e,t);const r=x.current.tabs.filter(e=>n.includes(e.key)&&x.current.dirty.includes(e.key));r.length&&!await U(r)&&(n=n.filter(e=>!r.some(t=>t.key===e)));const i=new Set(x.current.tabs.map(e=>e.key));n=n.filter(e=>i.has(e)),n.length&&Z(n,void 0,"all"===e?null:t)},[U,Z]),Y=d(e=>{const t=x.current.tabs.find(t=>t.key===e);t&&e!==x.current.activeKey&&T(t.path)},[T]),z=d((e,t)=>Q({type:"title",key:e,title:t}),[]),q=d((e,t)=>Q({type:"dirty",key:e,dirty:t}),[]),[_,ee]=f({}),te=d((e,t)=>{ee(n=>{if((n[e]??null)===t)return n;const r={...n};return t?r[e]=t:delete r[e],r})},[]),ne=d(e=>J(e)?.key??null,[J]),re=d(e=>W.current.get(e),[]),ie=u(()=>v?D.tabs.filter(e=>e.key!==D.closing):[],[v,D.tabs,D.closing]),ce=u(()=>({enabled:v,state:D,currentKey:P,resolve:c,keyFor:ne,locationFor:re,idFor:S,activate:Y,close:H,closeMany:X,setTitle:z,setDirty:q,copies:_,setCopy:te,visibleTabs:ie}),[v,D,P,c,ne,re,S,Y,H,X,z,q,_,te,ie]);/* @__PURE__ */
3
- return b(K.Provider,{value:ce,children:e})}var J=c.Activity,R=Boolean(J);function D({active:e,children:t}){return J?/* @__PURE__ */b(J,{mode:e?"visible":"hidden",children:t}):/* @__PURE__ */b(v,{children:t})}var Q=s(function({tabKey:e,active:t,location:n,render:i,className:c,panelId:l,tabId:s}){const y=a(null),d=a(t),p=a(/* @__PURE__ */new Map);r(()=>{const e=d.current;if(d.current=t,t&&!e)for(const[e,[t,n]]of p.current)e.isConnected?(e.scrollTop=t,e.scrollLeft=n):p.current.delete(e)},[t]),o(()=>{const e=y.current;if(!e)return;const t=e=>{if(!d.current)return;const t=e.target;t&&"number"==typeof t.scrollTop&&p.current.set(t,[t.scrollTop,t.scrollLeft])};return e.addEventListener("scroll",t,!0),()=>e.removeEventListener("scroll",t,!0)},[]);const f=u(()=>({key:e,activeRef:d}),[e]);/* @__PURE__ */
4
- return b("div",{ref:y,role:l?"tabpanel":void 0,id:l,"aria-labelledby":s,hidden:!t,style:t?void 0:{display:"none"},className:c,"data-page-tab":e,children:/* @__PURE__ */b(j.Provider,{value:f,children:/* @__PURE__ */b(D,{active:t,children:i(n)})})})},(e,t)=>e.active===t.active&&e.location===t.location&&e.className===t.className&&e.panelId===t.panelId&&e.tabId===t.tabId&&(!t.active||e.render===t.render)),x="\0transient";function W({children:e,frameClassName:t}){const n=k(K),r=m();if(!n||!n.enabled)/* @__PURE__ */
5
- return b("div",{className:t,children:e(r)},x);const{state:i,currentKey:c,locationFor:l,idFor:s}=n,a=i.tabs.filter(e=>i.mounted.includes(e.key)).map(e=>e.key);return c&&!a.includes(c)&&a.push(c),/* @__PURE__ */g(v,{children:[a.map(n=>{const i=n===c,a=i?r:l(n);return a?/* @__PURE__ */b(Q,{tabKey:n,active:i,location:a,render:e,className:t,panelId:s(n,"panel"),tabId:s(n,"tab")},n):null}),!c&&/* @__PURE__ */b(Q,{tabKey:x,active:!0,location:r,render:e,className:t},x)]})}function E({className:t,activeClassName:n,end:r}){const c=k(K),l=i().pageTabs;if(!c||!c.enabled)return null;const{visibleTabs:s,state:a,idFor:o,activate:u,close:y,closeMany:d,resolve:p}=c;/* @__PURE__ */
6
- return b(e,{tabs:s.map(e=>({key:e.key,title:e.title,pinned:e.pinned,dirty:a.dirty.includes(e.key),copy:c.copies[e.key],icon:p(w(e.path))?.icon})),activeKey:c.currentKey??null,idFor:o,panelMounted:e=>a.mounted.includes(e),onActivate:u,onClose:e=>{y(e)},onCloseMany:(e,t)=>{d(e,t)},label:l.label,className:t,activeClassName:n,end:r})}var P={enabled:!1,tabs:[],activeKey:null,activate:()=>{},close:async()=>!1,closeOthers:async()=>{},closeRight:async()=>{},closeAll:async()=>{}};function $(){const e=k(K);return e&&e.enabled?{enabled:!0,tabs:e.visibleTabs,activeKey:e.currentKey,activate:e.activate,close:e.close,closeOthers:t=>e.closeMany("others",t),closeRight:t=>e.closeMany("right",t),closeAll:()=>e.closeMany("all",null)}:P}function B(){const e=k(K),t=k(j),n=h();return{key:e?.enabled&&t?t.key:null,close:d(async(r={})=>e?.enabled&&t&&e.state.tabs.some(e=>e.key===t.key)?e.close(t.key,r):(r.to&&n(r.to),!1),[e,t,n])}}function G(e){const t=k(K),n=k(j),r=t?.enabled?t.setTitle:void 0,i=n?.key;o(()=>{r&&i&&e&&r(i,e)},[r,i,e])}function S(e){const t=k(K),n=k(j),r=t?.enabled?t.setCopy:void 0,i=n?.key;o(()=>{if(r&&i)return r(i,e||null),()=>r(i,null)},[r,i,e])}function U(e){const t=k(K),n=k(j),r=t?.enabled?t.setDirty:void 0;o(()=>{if(r&&n)return r(n.key,e),()=>{n.activeRef.current&&r(n.key,!1)}},[r,n,e])}export{T as DEFAULT_MAX_TABS,R as PAGE_TABS_PAUSE_HIDDEN,E as PageTabBar,W as PageTabsOutlet,O as PageTabsProvider,w as parseTabPath,B as usePageTab,S as usePageTabCopy,U as usePageTabDirty,G as usePageTabTitle,$ as usePageTabs};
2
+ import{TabStrip as e}from"../chunk-TTY62G5D.js";import{useShellLanguage as t}from"../chunk-QQCHLRKG.js";import"../chunk-EW6FRPFJ.js";import{confirm as n}from"../chunk-2WL3Q7VW.js";import"../chunk-TW6WYYBC.js";import"../chunk-VWGWZY7A.js";import"../chunk-PKXQDCNR.js";import"../chunk-CDAJKLGL.js";import"../chunk-FKZEGBLK.js";import"../chunk-5QFPTDQF.js";import"../chunk-QR4RM7PO.js";import"../chunk-K7U4RWXJ.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import{useBrowserLayoutEffect as r}from"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import{useShellStrings as i}from"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";import*as c from"react";import{createContext as l,memo as s,useRef as a,useEffect as o,useMemo as u,useId as y,useCallback as d,useReducer as p,useState as f,useContext as k}from"react";import{useLocation as m,useNavigate as h}from"react-router-dom";import{jsx as b,Fragment as v,jsxs as g}from"react/jsx-runtime";var K=l(null),j=l(null),F=12;var T=(e,t)=>e.filter(e=>e!==t);function C(e,t){return[...t.map(t=>e.find(e=>e.key===t)).filter(e=>Boolean(e)),...e.filter(e=>!t.includes(e.key))]}function N(e,t,n=12){const r=e.clock+1;let i;i=e.tabs.find(e=>e.key===t.key)?e.tabs.map(e=>e.key===t.key?{...e,path:t.path,title:"page"===e.titleFrom?e.title:t.title||e.title,lastActive:r}:e):[...e.tabs,{key:t.key,path:t.path,title:t.title,titleFrom:"route",pinned:!1,lastActive:r}];let c={...e,tabs:i,activeKey:t.key,mounted:(l=e.mounted,s=t.key,l.includes(s)?l:[...l,s]),clock:r};var l,s;return c.closing&&c.closing!==t.key?c=R(c,c.closing):c.closing===t.key&&(c={...c,closing:null}),function(e,t){let n=e;for(;n.tabs.length>t;){const e=n.tabs.filter(e=>!e.pinned&&e.key!==n.activeKey&&!n.dirty.includes(e.key)&&e.key!==n.closing).sort((e,t)=>e.lastActive-t.lastActive);if(0===e.length)break;n=R(n,e[0].key)}return n}(c,n)}function A(e){let t={...e,activeKey:null};return t.closing&&(t=R(t,t.closing)),t}function R(e,t){return{...e,tabs:e.tabs.filter(e=>e.key!==t),mounted:T(e.mounted,t),dirty:T(e.dirty,t),activeKey:e.activeKey===t?null:e.activeKey,closing:e.closing===t?null:e.closing}}function L(e,t){switch(t.type){case"visit":return N(e,t.entry,t.maxTabs);case"transient":return A(e);case"close":{let n=e;for(const e of t.keys)n=R(n,e);return t.closing?function(e,t){return{...e,closing:t}}(n,t.closing):n}case"title":return function(e,t,n){const r=e.tabs.find(e=>e.key===t);return!r||!n||r.title===n&&"page"===r.titleFrom?e:{...e,tabs:e.tabs.map(e=>e.key===t?{...e,title:n,titleFrom:"page"}:e)}}(e,t.key,t.title);case"dirty":return function(e,t,n){return n===e.dirty.includes(t)?e:{...e,dirty:n?[...e.dirty,t]:T(e.dirty,t)}}(e,t.key,t.dirty)}}var M=e=>`${e.pathname}${e.search}`;function w(e){const t=e.indexOf("#"),n=t>=0?e.slice(t):"",r=t>=0?e.slice(0,t):e,i=r.indexOf("?");return{pathname:i>=0?r.slice(0,i):r,search:i>=0?r.slice(i):"",hash:n}}function I({children:e,resolve:c,pinned:l=[],storageKey:s,maxTabs:k=12,enabled:v=!0,confirmDiscard:g}){const j=m(),F=h(),T=i().pageTabs,R=y(),I=a(c);I.current=c;const W=d(e=>{const t=I.current(e);return t?{key:t.key??e.pathname,path:M(e),title:t.title}:null},[]),{language:D}=t(),[O,x]=p(L,void 0,()=>{const e=function(e,t,n){if(!e)return[];let r;try{r=JSON.parse(e)}catch{return[]}const i=r;if(!i||1!==i.v||!Array.isArray(i.tabs))return[];const c=Boolean(n&&"string"==typeof i.lang&&i.lang!==n),l=[];for(const e of i.tabs){if(!e||"string"!=typeof e.path||!e.path.startsWith("/")||e.path.startsWith("//"))continue;const n=e.path.indexOf("#"),r=n>=0?e.path.slice(0,n):e.path,i=t(r);if(!i||l.some(e=>e.key===i.key))continue;const s=!c&&"page"===e.titleFrom&&"string"==typeof e.title&&e.title;l.push({key:i.key,path:r,title:s||i.title,titleFrom:s?"page":"route",pinned:!1,lastActive:0})}return l}(function(e){if(!e)return null;try{return localStorage.getItem(e)}catch{return null}}(s),e=>W(w(e)),D);let t=function(e,t){const n=t.map(e=>e.key);let r=e.tabs.map(e=>({...e,pinned:n.includes(e.key)}));for(const e of t)r.some(t=>t.key===e.key)||(r=[...r,{key:e.key,path:e.path,title:e.title,titleFrom:"route",pinned:!0,lastActive:0}]);return{...e,tabs:C(r,n)}}({tabs:[],activeKey:null,mounted:[],dirty:[],closing:null,clock:0,tabs:e},l.map(e=>W(w(e))).filter(e=>Boolean(e)));const n=v?W(j):null;return t=n?N(t,n,k):A(t),t}),J=a(O);J.current=O;const Q=a(/* @__PURE__ */new Map),E=v?W(j):null,B=E?.key??null;r(()=>{if(!v)return;const e=W(j);e?(Q.current.set(e.key,j),x({type:"visit",entry:e,maxTabs:k})):x({type:"transient"})},[j,v,k,W]),o(()=>{const e=new Set(O.tabs.map(e=>e.key));for(const t of Q.current.keys())e.has(t)||Q.current.delete(t)},[O.tabs]);const G=u(()=>function(e,t){const n={v:1,...t?{lang:t}:{},tabs:e.tabs.filter(t=>t.key!==e.closing).map(({key:e,path:t,title:n,titleFrom:r})=>({key:e,path:t,title:n,titleFrom:r}))};return JSON.stringify(n)}(O,D),[O,D]);o(()=>{if(s)try{localStorage.setItem(s,G)}catch{}},[G,s]);const P=O.dirty.length>0;o(()=>{if(!P)return;const e=e=>{e.preventDefault(),e.returnValue=""};return window.addEventListener("beforeunload",e),()=>window.removeEventListener("beforeunload",e)},[P]);const S=a(/* @__PURE__ */new Map),$=d((e,t)=>{let n=S.current.get(e);return void 0===n&&(n=S.current.size,S.current.set(e,n)),`${R}-page-${t}-${n}`},[R]),U=d(e=>g?g(e):n({title:T.discardTitle,message:1===e.length?T.discardOne:T.discardCount?.(e.length)??`${e.length} ${T.discardMany}`,confirmLabel:T.discardConfirm,cancelLabel:T.keepEditing,variant:"warning"}),[g,T]),Y=d(()=>{const e=J.current;return e.tabs.find(e=>e.pinned)?.path??"/"},[]),H=d((e,t,n)=>{const r=J.current,i=r.activeKey;if(!i||!e.includes(i))return void x({type:"close",keys:e,closing:null});let c=t;if(!c){const t={...r,tabs:r.tabs.filter(t=>t.key===i||!e.includes(t.key))},l=n?r.tabs.find(t=>t.key===n&&!e.includes(t.key)):void 0;c=(l??function(e,t){const n=e.tabs.filter(n=>n.key!==e.closing||n.key===t),r=n.findIndex(e=>e.key===t);return r<0?null:n[r+1]??n[r-1]??null}(t,i))?.path??Y()}x({type:"close",keys:e.filter(e=>e!==i),closing:i}),F(c)},[F,Y]),V=d(async(e,t={})=>{const n=J.current.tabs.find(t=>t.key===e);return!n||n.pinned?(t.to&&F(t.to),!1):!(!t.force&&J.current.dirty.includes(e)&&!await U([n]))&&(!!J.current.tabs.some(t=>t.key===e)&&(H([e],t.to),!0))},[U,H,F]),Z=d(async(e,t)=>{let n=function(e,t,n){const r=e.tabs.filter(e=>!e.pinned);if("all"===t)return r.map(e=>e.key);if("others"===t)return r.filter(e=>e.key!==n).map(e=>e.key);const i=e.tabs.findIndex(e=>e.key===n);return i<0?[]:e.tabs.slice(i+1).filter(e=>!e.pinned).map(e=>e.key)}(J.current,e,t);const r=J.current.tabs.filter(e=>n.includes(e.key)&&J.current.dirty.includes(e.key));r.length&&!await U(r)&&(n=n.filter(e=>!r.some(t=>t.key===e)));const i=new Set(J.current.tabs.map(e=>e.key));n=n.filter(e=>i.has(e)),n.length&&H(n,void 0,"all"===e?null:t)},[U,H]),X=d(e=>{const t=J.current.tabs.find(t=>t.key===e);t&&e!==J.current.activeKey&&F(t.path)},[F]),z=d((e,t)=>x({type:"title",key:e,title:t}),[]),q=d((e,t)=>x({type:"dirty",key:e,dirty:t}),[]),[_,ee]=f({}),te=d((e,t)=>{ee(n=>{if((n[e]??null)===t)return n;const r={...n};return t?r[e]=t:delete r[e],r})},[]),ne=d(e=>W(e)?.key??null,[W]),re=d(e=>Q.current.get(e),[]),ie=u(()=>v?O.tabs.filter(e=>e.key!==O.closing):[],[v,O.tabs,O.closing]),ce=u(()=>({enabled:v,state:O,currentKey:B,resolve:c,keyFor:ne,locationFor:re,idFor:$,activate:X,close:V,closeMany:Z,setTitle:z,setDirty:q,copies:_,setCopy:te,visibleTabs:ie}),[v,O,B,c,ne,re,$,X,V,Z,z,q,_,te,ie]);/* @__PURE__ */
3
+ return b(K.Provider,{value:ce,children:e})}var W=c.Activity,D=Boolean(W);function O({active:e,children:t}){return W?/* @__PURE__ */b(W,{mode:e?"visible":"hidden",children:t}):/* @__PURE__ */b(v,{children:t})}var x=s(function({tabKey:e,active:t,location:n,render:i,className:c,panelId:l,tabId:s}){const y=a(null),d=a(t),p=a(/* @__PURE__ */new Map);r(()=>{const e=d.current;if(d.current=t,t&&!e)for(const[e,[t,n]]of p.current)e.isConnected?(e.scrollTop=t,e.scrollLeft=n):p.current.delete(e)},[t]),o(()=>{const e=y.current;if(!e)return;const t=e=>{if(!d.current)return;const t=e.target;t&&"number"==typeof t.scrollTop&&p.current.set(t,[t.scrollTop,t.scrollLeft])};return e.addEventListener("scroll",t,!0),()=>e.removeEventListener("scroll",t,!0)},[]);const f=u(()=>({key:e,activeRef:d}),[e]);/* @__PURE__ */
4
+ return b("div",{ref:y,role:l?"tabpanel":void 0,id:l,"aria-labelledby":s,hidden:!t,style:t?void 0:{display:"none"},className:c,"data-page-tab":e,children:/* @__PURE__ */b(j.Provider,{value:f,children:/* @__PURE__ */b(O,{active:t,children:i(n)})})})},(e,t)=>e.active===t.active&&e.location===t.location&&e.className===t.className&&e.panelId===t.panelId&&e.tabId===t.tabId&&(!t.active||e.render===t.render)),J="\0transient";function Q({children:e,frameClassName:t}){const n=k(K),r=m();if(!n||!n.enabled)/* @__PURE__ */
5
+ return b("div",{className:t,children:e(r)},J);const{state:i,currentKey:c,locationFor:l,idFor:s}=n,a=i.tabs.filter(e=>i.mounted.includes(e.key)).map(e=>e.key);return c&&!a.includes(c)&&a.push(c),/* @__PURE__ */g(v,{children:[a.map(n=>{const i=n===c,a=i?r:l(n);return a?/* @__PURE__ */b(x,{tabKey:n,active:i,location:a,render:e,className:t,panelId:s(n,"panel"),tabId:s(n,"tab")},n):null}),!c&&/* @__PURE__ */b(x,{tabKey:J,active:!0,location:r,render:e,className:t},J)]})}function E({className:t,activeClassName:n,end:r}){const c=k(K),l=i().pageTabs;if(!c||!c.enabled)return null;const{visibleTabs:s,state:a,idFor:o,activate:u,close:y,closeMany:d,resolve:p}=c;/* @__PURE__ */
6
+ return b(e,{tabs:s.map(e=>({key:e.key,title:e.title,pinned:e.pinned,dirty:a.dirty.includes(e.key),copy:c.copies[e.key],icon:p(w(e.path))?.icon})),activeKey:c.currentKey??null,idFor:o,panelMounted:e=>a.mounted.includes(e),onActivate:u,onClose:e=>{y(e)},onCloseMany:(e,t)=>{d(e,t)},label:l.label,className:t,activeClassName:n,end:r})}var B={enabled:!1,tabs:[],activeKey:null,activate:()=>{},close:async()=>!1,closeOthers:async()=>{},closeRight:async()=>{},closeAll:async()=>{}};function G(){const e=k(K);return e&&e.enabled?{enabled:!0,tabs:e.visibleTabs,activeKey:e.currentKey,activate:e.activate,close:e.close,closeOthers:t=>e.closeMany("others",t),closeRight:t=>e.closeMany("right",t),closeAll:()=>e.closeMany("all",null)}:B}function P(){const e=k(K),t=k(j),n=h();return{key:e?.enabled&&t?t.key:null,close:d(async(r={})=>e?.enabled&&t&&e.state.tabs.some(e=>e.key===t.key)?e.close(t.key,r):(r.to&&n(r.to),!1),[e,t,n])}}function S(e){const t=k(K),n=k(j),r=t?.enabled?t.setTitle:void 0,i=n?.key;o(()=>{r&&i&&e&&r(i,e)},[r,i,e])}function $(e){const t=k(K),n=k(j),r=t?.enabled?t.setCopy:void 0,i=n?.key;o(()=>{if(r&&i)return r(i,e||null),()=>r(i,null)},[r,i,e])}function U(e){const t=k(K),n=k(j),r=t?.enabled?t.setDirty:void 0;o(()=>{if(r&&n)return r(n.key,e),()=>{n.activeRef.current&&r(n.key,!1)}},[r,n,e])}export{F as DEFAULT_MAX_TABS,D as PAGE_TABS_PAUSE_HIDDEN,E as PageTabBar,Q as PageTabsOutlet,I as PageTabsProvider,w as parseTabPath,P as usePageTab,$ as usePageTabCopy,U as usePageTabDirty,S as usePageTabTitle,G as usePageTabs};
package/dist/pdf/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- import{lazy as r}from"react";var e=r(()=>import("../PdfViewer-67VBUIRD.js"));export{e as PdfViewer};
2
+ import{lazy as r}from"react";var e=r(()=>import("../PdfViewer-KSLOYXMD.js"));export{e as PdfViewer};
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{AccordionBody,AccordionHeading,accordionIdOf,Accordion as default}from"../chunk-MXHEREC6.js";import"../chunk-MAOJENIB.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{AccordionBody,AccordionHeading,accordionIdOf,Accordion as default}from"../chunk-4MO375G3.js";import"../chunk-MAOJENIB.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{APP_UPDATE_POLL_MS,AppUpdateBanner as default,useAppUpdate}from"../chunk-IZCODCSC.js";import"../chunk-WTY3SXO7.js";import"../chunk-4IU5BSVE.js";import"../chunk-K7U4RWXJ.js";import"../chunk-VH6GB73Q.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{APP_UPDATE_POLL_MS,AppUpdateBanner as default,useAppUpdate}from"../chunk-FTKKGGOQ.js";import"../chunk-MY755PTJ.js";import"../chunk-4IU5BSVE.js";import"../chunk-K7U4RWXJ.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-VH6GB73Q.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{Banner as default}from"../chunk-WTY3SXO7.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{Banner as default}from"../chunk-MY755PTJ.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{Breadcrumbs as default}from"../chunk-WJ3XSJ6B.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{Breadcrumbs as default}from"../chunk-EBC4XFL2.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{ColoredBadge as default}from"../chunk-XWLWG4HS.js";import"../chunk-D323R2FT.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-6KO5VTL7.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{ColoredBadge as default}from"../chunk-4GVH4ZUH.js";import"../chunk-D323R2FT.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-6KO5VTL7.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-ZN3O2KJ7.js";import"../chunk-YCQVEJOT.js";import"../chunk-VWGWZY7A.js";import"../chunk-PKXQDCNR.js";import"../chunk-CDAJKLGL.js";import"../chunk-K7U4RWXJ.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-2WL3Q7VW.js";import"../chunk-TW6WYYBC.js";import"../chunk-VWGWZY7A.js";import"../chunk-PKXQDCNR.js";import"../chunk-CDAJKLGL.js";import"../chunk-K7U4RWXJ.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{ContextMenu,useContextMenu}from"../chunk-AX7KPMDV.js";import"../chunk-B55IXYDR.js";import"../chunk-PJCVNFWM.js";import"../chunk-QR4RM7PO.js";import"../chunk-5QFPTDQF.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";
2
+ export{ContextMenu,useContextMenu}from"../chunk-JDKRQG7X.js";import"../chunk-TZHWF3P5.js";import"../chunk-FKZEGBLK.js";import"../chunk-5QFPTDQF.js";import"../chunk-QR4RM7PO.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{Dialog as default}from"../chunk-YCQVEJOT.js";import"../chunk-VWGWZY7A.js";import"../chunk-PKXQDCNR.js";import"../chunk-CDAJKLGL.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{Dialog as default}from"../chunk-TW6WYYBC.js";import"../chunk-VWGWZY7A.js";import"../chunk-PKXQDCNR.js";import"../chunk-CDAJKLGL.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{Drawer as default}from"../chunk-YW2DH6YQ.js";import"../chunk-VWGWZY7A.js";import"../chunk-PKXQDCNR.js";import"../chunk-CDAJKLGL.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{Drawer as default}from"../chunk-QPWD5CCS.js";import"../chunk-VWGWZY7A.js";import"../chunk-PKXQDCNR.js";import"../chunk-CDAJKLGL.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{DropdownMenu as default}from"../chunk-W7S56JZ7.js";import"../chunk-B55IXYDR.js";import"../chunk-CDAJKLGL.js";import"../chunk-PJCVNFWM.js";import"../chunk-QR4RM7PO.js";import"../chunk-5QFPTDQF.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";
2
+ export{DropdownMenu as default}from"../chunk-5FCEBKT2.js";import"../chunk-TZHWF3P5.js";import"../chunk-CDAJKLGL.js";import"../chunk-FKZEGBLK.js";import"../chunk-5QFPTDQF.js";import"../chunk-QR4RM7PO.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{EmptyState as default}from"../chunk-KDZUWQEG.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{EmptyState as default}from"../chunk-M2KV4WKR.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{HelpCenter as default}from"../chunk-WQNIXV4T.js";import"../chunk-37JDUDCO.js";import"../chunk-UJUTS6LJ.js";import"../chunk-PJPK2ADX.js";import"../chunk-PF3ANJFI.js";import"../chunk-4IU5BSVE.js";import"../chunk-K7U4RWXJ.js";import"../chunk-VH6GB73Q.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{HelpCenter as default}from"../chunk-IUCIYWTT.js";import"../chunk-ECCUEG3J.js";import"../chunk-UJUTS6LJ.js";import"../chunk-PJPK2ADX.js";import"../chunk-PF3ANJFI.js";import"../chunk-4IU5BSVE.js";import"../chunk-K7U4RWXJ.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-VH6GB73Q.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{ImageLightbox as default,lightboxKind}from"../chunk-RGBX3EVC.js";import"../chunk-CGUMJZUB.js";import"../chunk-DTSCO7VM.js";import"../chunk-S7VSXUKS.js";import"../chunk-VWGWZY7A.js";import"../chunk-PKXQDCNR.js";import"../chunk-CDAJKLGL.js";import"../chunk-D323R2FT.js";import"../chunk-4IU5BSVE.js";import"../chunk-K7U4RWXJ.js";import"../chunk-VH6GB73Q.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-6KO5VTL7.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{ImageLightbox as default,lightboxKind}from"../chunk-O2YAB6WK.js";import"../chunk-CGUMJZUB.js";import"../chunk-FMKTVZAO.js";import"../chunk-S7VSXUKS.js";import"../chunk-VWGWZY7A.js";import"../chunk-PKXQDCNR.js";import"../chunk-CDAJKLGL.js";import"../chunk-D323R2FT.js";import"../chunk-4IU5BSVE.js";import"../chunk-K7U4RWXJ.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-VH6GB73Q.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-6KO5VTL7.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-KFXVHP37.js";import"../chunk-QQCHLRKG.js";import"../chunk-GSS4E7X3.js";import"../chunk-VQCKMT5F.js";import"../chunk-64ACCUNN.js";import"../chunk-TZSPJIP4.js";import"../chunk-NI5FXWK5.js";import"../chunk-ZLXLHKE5.js";import"../chunk-EO5RLFRX.js";import"../chunk-UQBPKZUR.js";import"../chunk-E4Z5OXBI.js";import"../chunk-MVQBVPWP.js";import"../chunk-CGZBDI6C.js";import"../chunk-PF3ANJFI.js";import"../chunk-UGTRSRIW.js";import"../chunk-QR4RM7PO.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-EVB35JP5.js";import"../chunk-QQCHLRKG.js";import"../chunk-5DFKPSJQ.js";import"../chunk-64ACCUNN.js";import"../chunk-TZSPJIP4.js";import"../chunk-NI5FXWK5.js";import"../chunk-2PWZNFFP.js";import"../chunk-EO5RLFRX.js";import"../chunk-XZL3HCWH.js";import"../chunk-MVQBVPWP.js";import"../chunk-L65BESIE.js";import"../chunk-VQCKMT5F.js";import"../chunk-CGZBDI6C.js";import"../chunk-PF3ANJFI.js";import"../chunk-UGTRSRIW.js";import"../chunk-QR4RM7PO.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { b as IconName } from '../names-DYWfNBkN.js';
3
+ import { b as IconName } from '../names-mX74Rrmy.js';
4
4
 
5
5
  /** A host's say over a link's plain click: `true` when it opened the link
6
6
  * itself (a record in a window), so the browser does not navigate. */
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{Markdown as default,plainCell,tableToCsv}from"../chunk-37JDUDCO.js";import"../chunk-UJUTS6LJ.js";import"../chunk-PJPK2ADX.js";import"../chunk-4IU5BSVE.js";import"../chunk-K7U4RWXJ.js";import"../chunk-VH6GB73Q.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{Markdown as default,plainCell,tableToCsv}from"../chunk-ECCUEG3J.js";import"../chunk-UJUTS6LJ.js";import"../chunk-PJPK2ADX.js";import"../chunk-4IU5BSVE.js";import"../chunk-K7U4RWXJ.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-VH6GB73Q.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{PageHeader as default}from"../chunk-ERMZ75FO.js";import"../chunk-WJ3XSJ6B.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{PageHeader as default}from"../chunk-AF7R2MV4.js";import"../chunk-EBC4XFL2.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{MenuCheckMark,MenuIcon,MenuSemanticsContext,PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu,itemLook,menuTextRowStyle}from"../chunk-PJCVNFWM.js";import"../chunk-QR4RM7PO.js";import"../chunk-5QFPTDQF.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";
2
+ export{MenuCheckMark,MenuIcon,MenuSemanticsContext,PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu,itemLook,menuTextRowStyle}from"../chunk-FKZEGBLK.js";import"../chunk-5QFPTDQF.js";import"../chunk-QR4RM7PO.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{POST_PRODUCTION_STATUSES,STAGES,calcOverall,calcReportOverall,ProductionTimeline as default,useProductionTimeline}from"../chunk-Y2D2YMFY.js";import"../chunk-SURSVJA2.js";import"../chunk-DZNG34DC.js";import"../chunk-YDEIXM2A.js";import"../chunk-5OTS2G3M.js";import"../chunk-36BRD5J3.js";import"../chunk-465RRWBY.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{POST_PRODUCTION_STATUSES,STAGES,calcOverall,calcReportOverall,ProductionTimeline as default,useProductionTimeline}from"../chunk-6ANFVX4M.js";import"../chunk-SURSVJA2.js";import"../chunk-DZNG34DC.js";import"../chunk-YDEIXM2A.js";import"../chunk-5OTS2G3M.js";import"../chunk-36BRD5J3.js";import"../chunk-465RRWBY.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{Result as default}from"../chunk-HVX37PKU.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{Result as default}from"../chunk-SEXLHFMR.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{SearchableSelect as default,fitChoice}from"../chunk-DGLCMYSQ.js";import"../chunk-EO5RLFRX.js";import"../chunk-UQBPKZUR.js";import"../chunk-PF3ANJFI.js";import"../chunk-4IU5BSVE.js";import"../chunk-K7U4RWXJ.js";import"../chunk-VH6GB73Q.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{SearchableSelect as default,fitChoice}from"../chunk-5N5DBTTF.js";import"../chunk-EO5RLFRX.js";import"../chunk-XZL3HCWH.js";import"../chunk-PF3ANJFI.js";import"../chunk-4IU5BSVE.js";import"../chunk-K7U4RWXJ.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-VH6GB73Q.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{SettingReset as default}from"../chunk-PDXD6DT7.js";import"../chunk-4CANQ3B3.js";import"../chunk-K7U4RWXJ.js";import"../chunk-VH6GB73Q.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{SettingReset as default}from"../chunk-WME5DFB6.js";import"../chunk-4CANQ3B3.js";import"../chunk-K7U4RWXJ.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-VH6GB73Q.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -51,6 +51,14 @@ interface SettingRowProps {
51
51
  * a label pointing at nothing is worse than no label.
52
52
  */
53
53
  controlId?: string;
54
+ /**
55
+ * The id of the name. A control that is named elsewhere (`aria-labelledby`
56
+ * on a select's list) points at it. A compact row gives its name an id even
57
+ * without this, and a switch in its value with no name of its own takes
58
+ * that name (`aria-labelledby`), so a merchant and a screen reader get the
59
+ * same words with nothing said by the host.
60
+ */
61
+ labelId?: string;
54
62
  /** Shown in place of a value that is `null`, `undefined` or `''`. */
55
63
  unknownText?: ReactNode;
56
64
  /**
@@ -92,6 +100,6 @@ interface SettingRowProps {
92
100
  context?: ShowWhenContext;
93
101
  className?: string;
94
102
  }
95
- declare function SettingRow({ label, icon, action, value, readout, description, children, controlId, unknownText, quiet, size, viewState, divider, showWhen, values, context, className, }: SettingRowProps): react_jsx_runtime.JSX.Element | null;
103
+ declare function SettingRow({ label, icon, action, value, readout, description, children, controlId, labelId, unknownText, quiet, size, viewState, divider, showWhen, values, context, className, }: SettingRowProps): react_jsx_runtime.JSX.Element | null;
96
104
 
97
105
  export { type SettingRowProps, type SettingRowSize, type SettingViewState, SettingRow as default };
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{SettingRow as default}from"../chunk-X7XJBK2E.js";import"../chunk-MAOJENIB.js";import"../chunk-HCP7WOAL.js";import"../chunk-E4Z5OXBI.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{SettingRow as default}from"../chunk-JVIOAZHW.js";import"../chunk-MAOJENIB.js";import"../chunk-L65BESIE.js";import"../chunk-HCP7WOAL.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{SidebarLayout as default}from"../chunk-TFMOGKW2.js";import"../chunk-KZHPX4FM.js";import"../chunk-QWK6DRSN.js";import"../chunk-UGTRSRIW.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{SidebarLayout as default}from"../chunk-PCKYNZ5Y.js";import"../chunk-QWK6DRSN.js";import"../chunk-KZHPX4FM.js";import"../chunk-UGTRSRIW.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-PNQ4EYYM.js";import"../chunk-QWK6DRSN.js";import"../chunk-TZFNWAED.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-D65T4H6J.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-5YELPBUT.js";import"../chunk-QWK6DRSN.js";import"../chunk-TZFNWAED.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-D65T4H6J.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{ListRow,SortableList}from"../chunk-4F3IKYUO.js";import"../chunk-3PGK3VFS.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
2
+ export{ListRow,SortableList}from"../chunk-TOVHLONK.js";import"../chunk-3PGK3VFS.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-22S6LG6D.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-DTJRIWFR.js";import"../chunk-TWVUQUUD.js";import"../chunk-E6UCGCOC.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{StepChainItem,StepChain as default}from"../chunk-SAKHGHF5.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";
2
+ export{StepChainItem,StepChain as default}from"../chunk-MC43PRTL.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";import"../chunk-Q5MD3VY6.js";import"../chunk-MRJKZWWV.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{Stepper as default}from"../chunk-GI7FOLDX.js";import"../chunk-KIBL6M3T.js";import"../chunk-J75ZT2JQ.js";
2
+ export{Stepper as default}from"../chunk-ACW3J77L.js";import"../chunk-2SHYR3RA.js";import"../chunk-J75ZT2JQ.js";