efficient-shell 10.24.0 → 11.2.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 (271) hide show
  1. package/README.md +18 -2
  2. package/dist/Browser-2JOFXNUA.js +44 -0
  3. package/dist/Calculator-V3BHUF4G.js +29 -0
  4. package/dist/{CurrencyConverter-7UMHQS2V.js → CurrencyConverter-6WJWHZUQ.js} +5 -5
  5. package/dist/{Documents-ODZ4AAOY.js → Documents-DY2OBQNR.js} +25 -25
  6. package/dist/{Files-BRGTTI2J.js → Files-ADJB2IFU.js} +43 -43
  7. package/dist/{Notepad-RMRDEGGU.js → Notepad-HOJSMCCF.js} +9 -9
  8. package/dist/{PomodoroTimer-4566W4F7.js → PomodoroTimer-5GWSBJW5.js} +5 -5
  9. package/dist/{Preview-7POJP7PB.js → Preview-JZBO2SP5.js} +13 -13
  10. package/dist/Sidebar-GQX7UM3M.js +44 -0
  11. package/dist/{Spreadsheet-7T4VT5IO.js → Spreadsheet-SS5Y3DV2.js} +13 -13
  12. package/dist/{Stock-H73C4R3N.js → Stock-3LSKLYGI.js} +3 -3
  13. package/dist/{Weather-WF56QCBI.js → Weather-26PCYFUR.js} +18 -18
  14. package/dist/{WorldClock-5QJNZYYS.js → WorldClock-KRL72Y53.js} +6 -6
  15. package/dist/ai/index.js +78 -78
  16. package/dist/apps/index.js +1 -1
  17. package/dist/bin/media-host-check.js +1 -1
  18. package/dist/bin/ui-check.js +1 -1
  19. package/dist/brand.css +1 -1
  20. package/dist/charts/BoxPlotChart.js +1 -1
  21. package/dist/charts/CandlestickChart.js +1 -1
  22. package/dist/charts/CartesianPlot.js +1 -1
  23. package/dist/charts/ChartTooltip.js +1 -1
  24. package/dist/charts/ChordChart.js +1 -1
  25. package/dist/charts/ColumnChart.js +1 -1
  26. package/dist/charts/FunnelChart.js +1 -1
  27. package/dist/charts/HeatmapChart.js +1 -1
  28. package/dist/charts/HistogramChart.js +1 -1
  29. package/dist/charts/PieChart.js +1 -1
  30. package/dist/charts/RadarChart.js +1 -1
  31. package/dist/charts/RadialBarChart.js +1 -1
  32. package/dist/charts/RangeChart.js +1 -1
  33. package/dist/charts/SankeyChart.js +1 -1
  34. package/dist/charts/ScatterChart.js +1 -1
  35. package/dist/charts/SpecChart.js +1 -1
  36. package/dist/charts/SunburstChart.js +1 -1
  37. package/dist/charts/TimeSeriesChart.js +1 -1
  38. package/dist/charts/TreemapChart.js +1 -1
  39. package/dist/charts/WaterfallChart.js +1 -1
  40. package/dist/chunk-23G63EZ4.js +29 -0
  41. package/dist/{chunk-XXL5RLNM.js → chunk-34H3CK7R.js} +9 -9
  42. package/dist/{chunk-HNVSVTNC.js → chunk-355CRSFS.js} +11 -11
  43. package/dist/{chunk-DZOJQURG.js → chunk-3NRQNKVP.js} +3 -3
  44. package/dist/{chunk-BUO7XCYR.js → chunk-3TXSYEQM.js} +13 -13
  45. package/dist/{chunk-NRALUW6P.js → chunk-3XTSXZAC.js} +7 -7
  46. package/dist/{chunk-WDQEUNGE.js → chunk-47DO42IW.js} +1 -1
  47. package/dist/{chunk-FUDUQ44A.js → chunk-4LQDORA6.js} +1 -1
  48. package/dist/{chunk-QWCEKHAP.js → chunk-4MBYFQOI.js} +4 -4
  49. package/dist/{chunk-U44DVPGB.js → chunk-4QK4WNPB.js} +1 -1
  50. package/dist/{chunk-COF33H6J.js → chunk-4TGZODSH.js} +5 -5
  51. package/dist/{chunk-LCSMBVMU.js → chunk-4XNVIKZZ.js} +3 -3
  52. package/dist/chunk-56KADF2B.js +11 -0
  53. package/dist/{chunk-GC3DA6D6.js → chunk-5CXFABVD.js} +1 -1
  54. package/dist/{chunk-E3EJWNNK.js → chunk-5F2AIDPY.js} +9 -9
  55. package/dist/{chunk-G66SG6JN.js → chunk-6EIZOX6W.js} +9 -9
  56. package/dist/{chunk-Z3SLQKE6.js → chunk-6TJCIS5E.js} +1 -1
  57. package/dist/chunk-6UBOLLBC.js +31 -0
  58. package/dist/chunk-7DI3VQCF.js +2 -0
  59. package/dist/{chunk-DOF56HTO.js → chunk-A3Q7X35W.js} +6 -6
  60. package/dist/chunk-AIJ3G6BD.js +1 -0
  61. package/dist/{chunk-V2J2AHDW.js → chunk-ALE56KOA.js} +4 -4
  62. package/dist/{chunk-CQEVJG43.js → chunk-BQPMZXNB.js} +1 -1
  63. package/dist/{chunk-BBXFIBXB.js → chunk-BTRV3SMB.js} +1 -1
  64. package/dist/{chunk-OKHKY3ZZ.js → chunk-BW47XJLH.js} +1 -1
  65. package/dist/{chunk-RZQGPWSN.js → chunk-CD7UWMPX.js} +1 -1
  66. package/dist/{chunk-WGLHB6WE.js → chunk-CJH2BGXY.js} +1 -1
  67. package/dist/{chunk-7FW2BQTV.js → chunk-COGSXN4D.js} +2 -2
  68. package/dist/{chunk-ZRLWE3JM.js → chunk-DANLBFBD.js} +1 -1
  69. package/dist/{chunk-TFSLPAGB.js → chunk-DGNAUGZ3.js} +4 -4
  70. package/dist/{chunk-ALTBTO3Z.js → chunk-DLWKDAYX.js} +2 -2
  71. package/dist/{chunk-MCAPJSB6.js → chunk-DU4WEVNS.js} +1 -1
  72. package/dist/{chunk-NZ7BFYCM.js → chunk-EB2IQNM5.js} +1 -1
  73. package/dist/{chunk-Z44JWU75.js → chunk-EKCQ7XBZ.js} +2 -2
  74. package/dist/{chunk-DIEH76MB.js → chunk-ESZHN7PV.js} +1 -1
  75. package/dist/chunk-EUAC2T5D.js +2 -0
  76. package/dist/{chunk-5PP435FL.js → chunk-EYPKBJYG.js} +1 -1
  77. package/dist/chunk-EZYRHBOP.js +13 -0
  78. package/dist/{chunk-7JVGF555.js → chunk-FA5FBNWF.js} +1 -1
  79. package/dist/chunk-FO6UPEZH.js +7 -0
  80. package/dist/{chunk-UNQ54QOF.js → chunk-FXOYA2VJ.js} +1 -1
  81. package/dist/{chunk-OTITQ3IH.js → chunk-G3KXB7SP.js} +8 -8
  82. package/dist/{chunk-3FBDLIQW.js → chunk-GAIB5FEE.js} +70 -70
  83. package/dist/{chunk-YQOVUH5W.js → chunk-GELPD7EY.js} +8 -8
  84. package/dist/chunk-GOZO6LU2.js +8 -0
  85. package/dist/{chunk-CX4XR4HO.js → chunk-GSF2UZTX.js} +1 -1
  86. package/dist/chunk-HCXIXV4E.js +8 -0
  87. package/dist/chunk-HEGSRTXG.js +5 -0
  88. package/dist/{chunk-DGWS4GTI.js → chunk-IGLPL2QU.js} +1 -1
  89. package/dist/chunk-IYXNRNAF.js +8 -0
  90. package/dist/{chunk-FZM3ZPW3.js → chunk-JPNAEN53.js} +1 -1
  91. package/dist/{chunk-S4FPYCUU.js → chunk-JQBVSPF5.js} +3 -3
  92. package/dist/{chunk-O7RR2ZZ2.js → chunk-KBV2UOTG.js} +6 -6
  93. package/dist/chunk-L7XIGRIT.js +6 -0
  94. package/dist/chunk-LCMXVMF4.js +14 -0
  95. package/dist/{chunk-PSR6SXCC.js → chunk-LGDMGDSV.js} +11 -11
  96. package/dist/chunk-LH7IKIGE.js +1 -0
  97. package/dist/{chunk-3BFZVVAT.js → chunk-LJAYUDN2.js} +1 -1
  98. package/dist/{chunk-Z6GQFTLJ.js → chunk-LK5A2SGA.js} +1 -1
  99. package/dist/{chunk-XFH64VIG.js → chunk-M3JNILT2.js} +3 -3
  100. package/dist/{chunk-VX6TKEEK.js → chunk-M4BPHBKI.js} +1 -1
  101. package/dist/{chunk-6M5O2P64.js → chunk-MDV7UQJD.js} +9 -9
  102. package/dist/{chunk-USVL5SLG.js → chunk-MIC2F3W3.js} +1 -1
  103. package/dist/chunk-MNMOBH2O.js +1 -0
  104. package/dist/{chunk-DWAA4YZV.js → chunk-MTIP5DH2.js} +3 -3
  105. package/dist/{chunk-XCAUDTCC.js → chunk-MXGDFO6A.js} +5 -5
  106. package/dist/{chunk-6IOFNPR6.js → chunk-NEZA7V6H.js} +4 -4
  107. package/dist/{chunk-IHNOWRTP.js → chunk-OEQ52KWJ.js} +2 -2
  108. package/dist/{chunk-WLYYC3AP.js → chunk-OFG3JZZE.js} +1 -1
  109. package/dist/{chunk-QGWKM7C3.js → chunk-OONJ43CQ.js} +5 -5
  110. package/dist/{chunk-CIHR5ZKF.js → chunk-OTVK7DJM.js} +1 -1
  111. package/dist/{chunk-HUA3TGMM.js → chunk-P2C33RHT.js} +1 -1
  112. package/dist/{chunk-55AEZX6K.js → chunk-P4VKU3SL.js} +1 -1
  113. package/dist/{chunk-A6FR2D46.js → chunk-PFKXPSOM.js} +5 -5
  114. package/dist/{chunk-TDAI4J27.js → chunk-PVPMJ5G2.js} +1 -1
  115. package/dist/chunk-Q5Z3KHT2.js +1 -0
  116. package/dist/{chunk-RSOBUPLK.js → chunk-QMUIXKBQ.js} +1 -1
  117. package/dist/{chunk-NJN5IKWO.js → chunk-QQ2LDC6C.js} +1 -1
  118. package/dist/{chunk-QO5E33DH.js → chunk-RABYGQQU.js} +2 -2
  119. package/dist/chunk-RK7MN5L5.js +3 -0
  120. package/dist/chunk-RPL4H6LE.js +9 -0
  121. package/dist/{chunk-N5KO2IHG.js → chunk-RQDVAUXD.js} +4 -4
  122. package/dist/{chunk-IPO4LHSB.js → chunk-RRE2NNFS.js} +6 -6
  123. package/dist/{chunk-WL4U4MTQ.js → chunk-RWPMLUFO.js} +3 -3
  124. package/dist/{chunk-36PJGT4W.js → chunk-SHO35OPO.js} +3 -3
  125. package/dist/{chunk-DRUQH4ZE.js → chunk-SS5SQMIB.js} +2 -2
  126. package/dist/{chunk-BMXTPJ7T.js → chunk-SX5BSWTN.js} +5 -5
  127. package/dist/{chunk-AFG34RBV.js → chunk-SXQZ5GTA.js} +6 -6
  128. package/dist/{chunk-RDKIYORS.js → chunk-SYZLS2JA.js} +1 -1
  129. package/dist/{chunk-4P3324KU.js → chunk-T7PVHIXI.js} +1 -1
  130. package/dist/{chunk-DVYIBJ3S.js → chunk-TQE6O2JA.js} +3 -3
  131. package/dist/{chunk-P7H2DXJB.js → chunk-UGGHQYDN.js} +10 -10
  132. package/dist/{chunk-EH2BNSG3.js → chunk-VAPSWR5Q.js} +9 -9
  133. package/dist/{chunk-LE5LWALR.js → chunk-VCMHBUKI.js} +1 -1
  134. package/dist/{chunk-NZ34BQKH.js → chunk-VQBEZNHC.js} +1 -1
  135. package/dist/chunk-VUIGU2LQ.js +23 -0
  136. package/dist/chunk-WBJ6KNUF.js +1 -0
  137. package/dist/{chunk-36VIGB6J.js → chunk-WDQI3FV6.js} +6 -6
  138. package/dist/{chunk-VX4COEWP.js → chunk-WMHZA4EO.js} +3 -3
  139. package/dist/chunk-WUAKIM2B.js +7 -0
  140. package/dist/{chunk-TE6R53YD.js → chunk-XWFLIGDQ.js} +1 -1
  141. package/dist/{chunk-XBHXGBJR.js → chunk-YCWALB3A.js} +1 -1
  142. package/dist/{chunk-4EBJO7ER.js → chunk-YDMXW2Q4.js} +11 -11
  143. package/dist/{chunk-H5NIW2KS.js → chunk-ZD36QKQS.js} +1 -1
  144. package/dist/{chunk-QRU55BUS.js → chunk-ZD56IH5K.js} +2 -2
  145. package/dist/{chunk-WOAMPTZI.js → chunk-ZS3TIQQ4.js} +14 -14
  146. package/dist/{chunk-4RGMRXYH.js → chunk-ZXVJL7MS.js} +1 -1
  147. package/dist/data/DataTable.js +1 -1
  148. package/dist/data/EntityList.js +1 -1
  149. package/dist/data/ListLoadError.js +1 -1
  150. package/dist/data/ResizableTable.js +1 -1
  151. package/dist/format/index.d.ts +1 -1
  152. package/dist/format/index.js +1 -1
  153. package/dist/forms/AlignmentGrid.js +1 -1
  154. package/dist/forms/BorderInput.js +1 -1
  155. package/dist/forms/BrandAssetEditor.js +1 -1
  156. package/dist/forms/Button.js +1 -1
  157. package/dist/forms/ColorPicker.js +1 -1
  158. package/dist/forms/ComposerAttachments.js +1 -1
  159. package/dist/forms/CornersInput.js +1 -1
  160. package/dist/forms/DateRangePicker.js +1 -1
  161. package/dist/forms/DisplayChips.js +1 -1
  162. package/dist/forms/FilePicker.js +1 -1
  163. package/dist/forms/IconButton.js +1 -1
  164. package/dist/forms/IconPicker.js +1 -1
  165. package/dist/forms/Input.d.ts +50 -2
  166. package/dist/forms/Input.js +1 -1
  167. package/dist/forms/InputNumber.js +1 -1
  168. package/dist/forms/LinkPicker.js +1 -1
  169. package/dist/forms/MediaLibrary.js +1 -1
  170. package/dist/forms/MediaUploadField.js +1 -1
  171. package/dist/forms/MediaUploadGrid.js +1 -1
  172. package/dist/forms/MediaUsedInList.js +1 -1
  173. package/dist/forms/NumericKeypad.js +1 -1
  174. package/dist/forms/PictureTiles.js +1 -1
  175. package/dist/forms/PositionInput.js +1 -1
  176. package/dist/forms/Segmented.js +1 -1
  177. package/dist/forms/Select.js +1 -1
  178. package/dist/forms/SidesInput.js +1 -1
  179. package/dist/forms/Slider.js +1 -1
  180. package/dist/forms/Snippet.js +1 -1
  181. package/dist/forms/SplitButton.js +1 -1
  182. package/dist/forms/TagInput.js +1 -1
  183. package/dist/forms/TextToolbar.js +1 -1
  184. package/dist/forms/WidthsBar.js +1 -1
  185. package/dist/forms/linkHref.js +1 -1
  186. package/dist/hooks/useTheme.d.ts +1 -1
  187. package/dist/icons/efficient-glyphs.js +1 -1
  188. package/dist/icons/efficient-looks.js +1 -1
  189. package/dist/icons/efficient-meanings.d.ts +2 -2
  190. package/dist/icons/efficient-meanings.js +1 -1
  191. package/dist/icons/efficient.js +1 -1
  192. package/dist/icons/looks/map.js +1 -1
  193. package/dist/icons/payment.js +1 -1
  194. package/dist/icons/sets.js +1 -1
  195. package/dist/index.d.ts +5 -4
  196. package/dist/index.js +666 -667
  197. package/dist/map/index.js +3 -3
  198. package/dist/markup/index.d.ts +55 -11
  199. package/dist/markup/index.js +1 -1
  200. package/dist/motion/values.d.ts +75 -0
  201. package/dist/motion/values.js +1 -0
  202. package/dist/motion.css +26 -0
  203. package/dist/page-tabs/index.js +5 -5
  204. package/dist/shell/AppUpdateBanner.js +1 -1
  205. package/dist/shell/ColoredBadge.js +1 -1
  206. package/dist/shell/ContextMenu.js +1 -1
  207. package/dist/shell/DropdownMenu.js +1 -1
  208. package/dist/shell/EditableGrid.js +1 -1
  209. package/dist/shell/GlobalSearch.js +1 -1
  210. package/dist/shell/HelpCenter.js +1 -1
  211. package/dist/shell/IconRail.js +1 -1
  212. package/dist/shell/ImageLightbox.js +1 -1
  213. package/dist/shell/ItemCount.js +1 -1
  214. package/dist/shell/LanguageSelect.js +1 -1
  215. package/dist/shell/Markdown.js +1 -1
  216. package/dist/shell/PopupMenu.js +1 -1
  217. package/dist/shell/ResizeHandle.js +1 -1
  218. package/dist/shell/SearchableSelect.d.ts +11 -1
  219. package/dist/shell/SearchableSelect.js +1 -1
  220. package/dist/shell/SettingReset.js +1 -1
  221. package/dist/shell/SidebarLayout.js +1 -1
  222. package/dist/shell/SidebarNav.js +1 -1
  223. package/dist/shell/SortableList.js +1 -1
  224. package/dist/shell/StatusBadge.js +1 -1
  225. package/dist/shell/Tabs.js +1 -1
  226. package/dist/shell/Tooltip.js +1 -1
  227. package/dist/shell/TopNav.js +1 -1
  228. package/dist/shell/TransferProgress.js +1 -1
  229. package/dist/shell/Tree.js +1 -1
  230. package/dist/telemetry/index.js +1 -1
  231. package/dist/templates/AuthScreen.js +1 -1
  232. package/dist/templates/ChatTemplate.js +1 -1
  233. package/dist/templates/CheckoutTemplate.js +1 -1
  234. package/dist/templates/DashboardTemplate.js +1 -1
  235. package/dist/templates/DataTablePage.js +1 -1
  236. package/dist/templates/EmailTemplate.js +1 -1
  237. package/dist/templates/ErrorBoundary.d.ts +1 -1
  238. package/dist/templates/ErrorBoundary.js +1 -1
  239. package/dist/templates/FormLayoutPage.js +1 -1
  240. package/dist/templates/GalleryTemplate.js +1 -1
  241. package/dist/tokens/type.d.ts +3 -31
  242. package/dist/tokens/type.js +1 -1
  243. package/dist/ui/index.d.ts +2 -1
  244. package/dist/ui/index.js +1 -1
  245. package/dist/version.js +1 -1
  246. package/package.json +3 -2
  247. package/dist/Browser-KUFFOGYK.js +0 -43
  248. package/dist/Calculator-LENRW34X.js +0 -29
  249. package/dist/Sidebar-TU4QCKYJ.js +0 -44
  250. package/dist/chunk-3C5NKOVF.js +0 -1
  251. package/dist/chunk-4BCFBF3C.js +0 -9
  252. package/dist/chunk-4P57TIFK.js +0 -2
  253. package/dist/chunk-5DIGYJHD.js +0 -1
  254. package/dist/chunk-7LU3H72S.js +0 -7
  255. package/dist/chunk-7RP7QTRF.js +0 -12
  256. package/dist/chunk-CH3JQUDW.js +0 -8
  257. package/dist/chunk-DHKRXHJN.js +0 -1
  258. package/dist/chunk-EOVXFXVV.js +0 -2
  259. package/dist/chunk-EXLHFM3V.js +0 -6
  260. package/dist/chunk-GOXQJCXG.js +0 -28
  261. package/dist/chunk-H475WZPF.js +0 -23
  262. package/dist/chunk-JPOYR5AO.js +0 -7
  263. package/dist/chunk-MAMWQCJ6.js +0 -2
  264. package/dist/chunk-MHPFBVDD.js +0 -8
  265. package/dist/chunk-NWC6YCIJ.js +0 -11
  266. package/dist/chunk-PJPK2ADX.js +0 -1
  267. package/dist/chunk-PVDZG2U2.js +0 -14
  268. package/dist/chunk-S5DYR75A.js +0 -29
  269. package/dist/chunk-TNJ2VCH4.js +0 -8
  270. package/dist/chunk-USWA6YNZ.js +0 -3
  271. /package/dist/{chunk-RKLZDVAO.js → chunk-2F5SLLBJ.js} +0 -0
@@ -1,44 +0,0 @@
1
- import{useAuth as e,parseOpenSections as t,readStored as r,RAIL_OPEN_SECTIONS_KEY as n,RAIL_WIDTH_KEY as a,toggleOpenSection as i,writeStored as l}from"./chunk-U6LKNGC6.js";import{ResizeHandle as o}from"./chunk-Z44JWU75.js";import{openGlobalSearch as s}from"./chunk-DZOJQURG.js";import{partitionNav as c,visibleNavChildren as d,flyoutGroups as m,visibleSectionItems as h,rowsContainRoute as u}from"./chunk-WGRS6QBT.js";import{BrandMark as p}from"./chunk-MI67DI3H.js";import{IconButton_default as b}from"./chunk-LE5LWALR.js";import{RAIL_MENU_GAP as f,navSections as g,startMenuCategories as x,TAB_STRIP_H as k,RAIL_COLLAPSED_INSET as y,RAIL_W as v,RAIL_MAX_W as N,RAIL_MIN_W as j,navIcons as w,sectionIcons as C}from"./chunk-4LXCCZDM.js";import"./chunk-5A7MWTXX.js";import"./chunk-7QSDPSXP.js";import"./chunk-2QY5BJLA.js";import{PopupMenu as S,PopupMenuItem as L,PopupMenuDivider as W,PopupMenuLabel as z}from"./chunk-OTITQ3IH.js";import"./chunk-5QFPTDQF.js";import"./chunk-URHGHXDN.js";import"./chunk-UQYNPYF4.js";import"./chunk-TE6R53YD.js";import{Icon as $}from"./chunk-2UO47XB4.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import"./chunk-NJN5IKWO.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-TWVUQUUD.js";import{useShellStrings as A}from"./chunk-GDQJBQ5B.js";import"./chunk-C3QOHMR6.js";import{useMemo as I,useState as R,useRef as T,useEffect as H,isValidElement as Q,cloneElement as D}from"react";import{jsx as M,jsxs as B,Fragment as J}from"react/jsx-runtime";var K="undefined"!=typeof navigator&&/Mac|iPhone|iPad/.test(navigator.platform);function U(e,t,r){const n=Math.max(8,r-t.bottom);return{left:e+f,bottom:n,maxHeight:r-n-8,overflowY:"auto"}}var O=(e,t)=>["flex h-(--row-height-menu) w-full items-center gap-3 rounded-md px-3 text-left text-sm font-medium transition-colors",t?"justify-center px-0":"",e?"bg-gray-100 text-gray-900":"text-gray-600 hover:bg-gray-100 hover:text-gray-900"].join(" "),P="flex size-[18px] shrink-0 items-center justify-center [&>svg]:size-[18px]";function G({open:e,children:t}){const r=T(null);return H(()=>{r.current?.toggleAttribute("inert",!e)},[e]),/* @__PURE__ */M("div",{ref:r,className:"grid transition-[grid-template-rows,opacity] duration-200 ease-out motion-reduce:transition-none",style:{gridTemplateRows:e?"1fr":"0fr",opacity:e?1:0},"aria-hidden":!e,"data-fold":e?"open":"closed",children:/* @__PURE__ */M("div",{className:"min-h-0 overflow-hidden",children:t})})}function X({open:e}){/* @__PURE__ */
2
- return M($,{name:"chevron-down",className:"size-4 shrink-0 transition-transform "+(e?"rotate-180":""),strokeWidth:2,"aria-hidden":"true"})}function Y({dir:e}){/* @__PURE__ */
3
- return M($,"left"===e?{name:"chevron-double-left",className:"size-[18px] shrink-0",strokeWidth:1.5,"aria-hidden":"true"}:{name:"chevron-double-right",className:"size-[18px] shrink-0",strokeWidth:1.5,"aria-hidden":"true"})}function Z({className:e}){/* @__PURE__ */
4
- return M($,{name:"search",className:e,strokeWidth:2,"aria-hidden":"true"})}var _=e=>.75+1.75*e+"rem";function E({width:E,collapsed:F,onToggleCollapsed:V,onResize:q,onHome:ee,onOpen:te,activeRoute:re,profile:ne,user:ae,onLogout:ie,onSwitchToDesktop:le,onReportBug:oe,onClose:se,navSections:ce=g,navIcons:de=w,sectionIcons:me=C,categories:he=x,productName:ue,productIcon:pe,tagline:be,adaptiveLogo:fe=!1,logoHasAlpha:ge=null,logoIsLight:xe=null}){const ke=A().layout,{hasAnyPerm:ye}=e(),ve=I(()=>c(ce,he,ye),[ce,he,ye]),[Ne,je]=R(()=>t(r(n))),we=I(()=>[...ve.topItems.filter(e=>d(e,ye).length>0).map(e=>`child:${e.to}`),...[...ve.erpSections,...ve.systemSections,...ve.virtualSections,...ve.footerSections].map(e=>e.label)],[ve,ye]),Ce=(e,t=we)=>je(r=>{const a=i(r,e,t);return l(n,JSON.stringify([...a])),a}),[Se,Le]=R(null),[We,ze]=R(!1),$e=T(null);H(()=>{F||Le(null)},[F]);const Ae=(e,t)=>{Le(null),e.onSelect?e.onSelect():te(e.to,!!t&&(e=>e.metaKey||e.ctrlKey||1===e.button)(t))},Ie=(e,t)=>{const r=t[e];/* @__PURE__ */
5
- return M("span",{className:P,"aria-hidden":"true",children:r&&Q(r)?D(r,{className:"size-[18px]"}):r})},Re=e=>e.filter(e=>d(e,ye).length>0).map(e=>`child:${e.to}`),Te=(e,t,r=we)=>{const n=d(e,ye),a=e.menuLabel??e.label;if(n.length>0){const i=`child:${e.to}`,l=Ne.has(i),o=!l&&u(n,re,ye);/* @__PURE__ */
6
- return B("div",{children:[
7
- /* @__PURE__ */B("button",{type:"button",onClick:()=>Ce(i,r),"aria-expanded":l,className:O(o,!1),style:t>0?{paddingLeft:_(t)}:void 0,children:[0===t&&Ie(e.to,de),
8
- /* @__PURE__ */M("span",{className:"min-w-0 flex-1 truncate",children:a}),
9
- /* @__PURE__ */M(X,{open:l})]}),
10
- /* @__PURE__ */M(G,{open:l,children:/* @__PURE__ */M("div",{className:"space-y-0.5 pt-0.5",children:n.map(e=>Te(e,t+1,Re(n)))})}),e.dividerAfter&&/* @__PURE__ */M("div",{className:"mx-2 my-2 border-t border-gray-200",style:{marginLeft:_(t)},"aria-hidden":"true"})]},e.to)}const i=e.to===re;/* @__PURE__ */
11
- return B("div",{children:[
12
- /* @__PURE__ */B("button",{type:"button",onClick:t=>Ae(e,t),onAuxClick:t=>{1===t.button&&Ae(e,t)},"aria-current":i?"page":void 0,className:O(i,!1),style:t>0?{paddingLeft:_(t)}:void 0,children:[0===t&&Ie(e.to,de),
13
- /* @__PURE__ */M("span",{className:"min-w-0 flex-1 truncate",children:a})]}),e.dividerAfter&&/* @__PURE__ */M("div",{className:"mx-2 my-2 border-t border-gray-200",style:{marginLeft:_(t)},"aria-hidden":"true"})]},e.to)},He=(e,t)=>{const r=t?e.items:h(e,ye);if(0===r.length)return null;const n="icon"in e&&e.icon?/* @__PURE__ */M("span",{className:P,"aria-hidden":"true",children:e.icon}):Ie(e.label,me),a=e.menuLabel??e.label,i=u(r,re,ye),l="dividerAfter"in e&&e.dividerAfter;if(F)/* @__PURE__ */
14
- return B("div",{children:[
15
- /* @__PURE__ */M("button",{type:"button",title:a,"aria-label":a,"aria-haspopup":"menu","aria-expanded":Se?.label===e.label,onClick:t=>{const n=t.currentTarget.getBoundingClientRect();Le(t=>t?.label===e.label?null:{label:e.label,items:r,top:n.top})},className:O(i||Se?.label===e.label,!0),children:n}),l&&/* @__PURE__ */M("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"})]},e.label);const o=Ne.has(e.label),s=`rosh-rail-${e.label.replace(/[^a-z0-9]+/gi,"-").toLowerCase()}`;/* @__PURE__ */
16
- return B("div",{children:[
17
- /* @__PURE__ */B("button",{type:"button",onClick:()=>Ce(e.label),"aria-expanded":o,"aria-controls":s,className:O(!o&&i,!1),children:[n,
18
- /* @__PURE__ */M("span",{className:"min-w-0 flex-1 truncate",children:a}),
19
- /* @__PURE__ */M(X,{open:o})]}),
20
- /* @__PURE__ */M(G,{open:o,children:/* @__PURE__ */M("div",{id:s,role:"group","aria-label":a,className:"space-y-0.5 pt-0.5",children:r.map(e=>Te(e,1,Re(r)))})}),l&&/* @__PURE__ */M("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"})]},e.label)},Qe=ne?.first_name?`${ne.first_name} ${ne.last_name||""}`.trim():ae?.email||"",De=(ne?.first_name?.charAt(0)||ae?.email?.charAt(0)||"?").toUpperCase(),Me=ne?.avatar_url?/* @__PURE__ */M("img",{src:ne.avatar_url,alt:"",className:"size-8 shrink-0 rounded-full object-cover"}):/* @__PURE__ */M("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-full bg-blue-600 text-xs font-semibold text-white",children:De}),Be=We?$e.current?.getBoundingClientRect():void 0,Je=F?"":"px-3",Ke=F?{paddingInline:y}:void 0,Ue=`${F?ke.expandSidebar:ke.collapseSidebar} (${K?"⌘":"Ctrl"} .)`,Oe=ee?{run:ee,label:ke.goHome,title:ke.goHome}:se?null:{run:V,label:F?ke.expandSidebar:ke.collapseSidebar,title:Ue},Pe=/* @__PURE__ */B(J,{children:[pe&&/* @__PURE__ */M(p,{src:pe,alt:"",slot:"compact",surface:"light",adaptive:fe,hasAlpha:ge,isLight:xe,size:28,decorative:!0}),!F&&/* @__PURE__ */B("span",{className:"min-w-0 text-left leading-tight",children:[
21
- /* @__PURE__ */M("span",{className:"block truncate text-base font-bold tracking-wide text-gray-900",children:ue??"Apps"}),be&&/* @__PURE__ */M("span",{className:"block truncate text-2xs font-medium text-gray-500",children:be})]})]}),Ge=ve.erpSections.length>0||ve.systemSections.length>0||ve.virtualSections.length>0;/* @__PURE__ */
22
- return B("aside",{"aria-label":ke.navLabel,className:"fixed left-0 top-0 z-(--z-sidebar) flex h-dvh flex-col border-r border-line bg-surface text-ink-strong",style:{width:E},children:[
23
- /* @__PURE__ */B("div",{className:"flex shrink-0 items-center border-b border-gray-200 "+(F?"justify-center":"justify-between gap-2 pl-4 pr-2"),style:{height:k},children:[Oe?/* @__PURE__ */M("button",{type:"button",onClick:Oe.run,"aria-label":Oe.label,title:Oe.title,className:"flex min-w-0 items-center gap-2 rounded-md transition-colors hover:bg-gray-100 "+(F?"justify-center p-0.5":"-ml-1 p-1"),children:Pe}):/* @__PURE__ */M("span",{className:"flex min-w-0 items-center gap-2",children:Pe}),se?/* @__PURE__ */M(b,{onClick:se,"aria-label":ke.closeMenu,children:/* @__PURE__ */M($,{name:"close",className:"size-[18px]",strokeWidth:1.5,"aria-hidden":"true"})}):!F&&/* @__PURE__ */M("button",{type:"button",onClick:V,"aria-label":ke.collapseSidebar,title:`${ke.collapseSidebar} (${K?"⌘":"Ctrl"} .)`,className:"flex size-8 shrink-0 items-center justify-center rounded-md text-gray-500 transition-colors hover:bg-gray-100 hover:text-gray-900",children:/* @__PURE__ */M(Y,{dir:"left"})})]}),
24
- /* @__PURE__ */M("div",{className:`shrink-0 pt-3 ${Je}`,style:Ke,children:F?/* @__PURE__ */M("button",{type:"button",onClick:s,"aria-label":ke.search,title:`${ke.search} (${K?"⌘K":"Ctrl K"})`,className:O(!1,!0),children:/* @__PURE__ */M(Z,{className:"size-[18px] shrink-0"})}):/* @__PURE__ */B("button",{type:"button",onClick:s,className:"flex h-(--row-height-menu) w-full items-center gap-2 rounded-md border border-line bg-surface px-3 text-left transition-colors hover:bg-gray-100",children:[
25
- /* @__PURE__ */M(Z,{className:"size-3.5 text-gray-500"}),
26
- /* @__PURE__ */M("span",{className:"min-w-0 flex-1 truncate text-sm text-ink-faint",children:ke.search}),
27
- /* @__PURE__ */M("kbd",{className:"rounded border border-line bg-gray-100 px-2 py-0.5 font-mono text-2xs font-semibold text-ink-faint",children:K?"⌘K":"Ctrl K"})]})}),
28
- /* @__PURE__ */B("nav",{"aria-label":ke.navLabel,className:`min-h-0 flex-1 overflow-y-auto pb-4 pt-3 ${Je} ${F?"space-y-1":"space-y-0.5"}`,style:Ke,children:[F&&/* @__PURE__ */M("button",{type:"button",onClick:V,"aria-label":ke.expandSidebar,title:`${ke.expandSidebar} (${K?"⌘":"Ctrl"} .)`,className:`${O(!1,!0)} mb-3`,children:/* @__PURE__ */M(Y,{dir:"right"})}),ve.topItems.map(e=>{if(!F)return Te(e,0);const t=d(e,ye),r=e.to===re||u(t,re,ye),n=e.menuLabel??e.label;/* @__PURE__ */
29
- return B("div",{children:[
30
- /* @__PURE__ */M("button",{type:"button",title:n,"aria-label":n,onClick:r=>{if(0===t.length)return void Ae(e,r);const n=r.currentTarget.getBoundingClientRect();Le(r=>r?.label===e.to?null:{label:e.to,items:t,top:n.top})},className:O(r,!0),children:Ie(e.to,de)}),e.dividerAfter&&/* @__PURE__ */M("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"})]},e.to)}),ve.topItems.length>0&&Ge&&!ve.topItems[ve.topItems.length-1].dividerAfter&&/* @__PURE__ */M("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"}),ve.erpSections.map(e=>He(e,!1)),ve.systemSections.map(e=>He(e,!1)),ve.virtualSections.map(e=>He(e,!0)),ve.footerSections.length>0&&/* @__PURE__ */M("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"}),ve.footerSections.map(e=>He(e,!1))]}),
31
- /* @__PURE__ */M("div",{className:`shrink-0 border-t border-gray-200 py-2 ${Je}`,style:Ke,children:/* @__PURE__ */B("button",{ref:$e,type:"button",onClick:()=>ze(e=>!e),"aria-haspopup":"menu","aria-expanded":We,"aria-label":F?ke.accountMenu(Qe):void 0,className:"flex w-full items-center gap-3 rounded-md hover:bg-gray-100 "+(F?"justify-center py-2":"px-2 py-2"),children:[Me,!F&&/* @__PURE__ */B("span",{className:"min-w-0 flex-1 text-left",children:[
32
- /* @__PURE__ */M("span",{className:"block truncate text-sm font-semibold text-ink-strong",children:Qe}),ae?.email&&Qe!==ae.email&&/* @__PURE__ */M("span",{className:"block truncate text-2xs text-ink-faint",children:ae.email})]})]})}),q&&!F&&!se&&/* @__PURE__ */M(o,{side:"left",width:E,onResize:q,min:j,max:N,defaultWidth:v,storageKey:a,label:ke.resizeSidebar}),We&&Be&&/* @__PURE__ */B(S,{portal:!0,minWidth:224,onClose:()=>ze(!1),style:U(E,Be,window.innerHeight),children:[F&&/* @__PURE__ */B("div",{className:"border-b border-line px-3 py-3",children:[
33
- /* @__PURE__ */M("p",{className:"truncate text-sm font-semibold text-gray-800",children:Qe}),ae?.email&&/* @__PURE__ */M("p",{className:"truncate text-xs text-gray-500",children:ae.email})]}),
34
- /* @__PURE__ */B(L,{onClick:()=>{ze(!1),te("/profile",!1)},children:[
35
- /* @__PURE__ */M($,{name:"account",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ke.profile]}),ve.footerItems.map(e=>/* @__PURE__ */B(L,{onClick:()=>{ze(!1),Ae(e)},children:[
36
- /* @__PURE__ */M("span",{className:"h-4 w-4 [&>svg]:size-4","aria-hidden":"true",children:de[e.to]}),e.menuLabel??e.label]},e.to)),oe&&/* @__PURE__ */B(L,{onClick:()=>{ze(!1),oe()},children:[
37
- /* @__PURE__ */M($,{name:"error",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ke.reportIssue]}),
38
- /* @__PURE__ */M(W,{}),le&&/* @__PURE__ */B(J,{children:[
39
- /* @__PURE__ */B(L,{onClick:()=>{ze(!1),le()},children:[
40
- /* @__PURE__ */M($,{name:"desktop",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ke.switchToDesktop]}),
41
- /* @__PURE__ */M(W,{})]}),
42
- /* @__PURE__ */B(L,{danger:!0,onClick:()=>{ze(!1),ie()},children:[
43
- /* @__PURE__ */M($,{name:"logout",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ke.signOut]})]}),Se&&F&&/* @__PURE__ */M(S,{portal:!0,minWidth:220,onClose:()=>Le(null),style:{left:E+f,top:Math.min(Se.top,window.innerHeight-48*Math.min(Se.items.length,10)-16)},children:m(Se.items,ye).map((e,t)=>/* @__PURE__ */B("div",{role:e.heading?"group":void 0,"aria-label":e.heading?e.heading.menuLabel??e.heading.label:void 0,children:[t>0&&/* @__PURE__ */M(W,{}),e.heading&&/* @__PURE__ */M(z,{children:e.heading.menuLabel??e.heading.label}),e.items.map(e=>/* @__PURE__ */B(L,{onClick:()=>Ae(e),children:[Ie(e.to,de),
44
- /* @__PURE__ */M("span",{className:e.to===re?"font-semibold":"",children:e.menuLabel??e.label})]},e.to))]},e.heading?.to??`run-${t}`))})]})}export{U as accountMenuPosition,E as default};
@@ -1 +0,0 @@
1
- import{WrenchSolidIcon as r}from"./chunk-A25YVGAG.js";import{ZoomInMiniIcon as o}from"./chunk-NPCWLBMK.js";import{ZoomInSolidIcon as m}from"./chunk-4H2J5UAB.js";import{WindowsSolidIcon as t}from"./chunk-XHRWQU2N.js";import{WordsFromMiniIcon as c}from"./chunk-BEKDLU25.js";import{WordsFromSolidIcon as i}from"./chunk-2MQ7ESMH.js";import{WrapMiniIcon as n}from"./chunk-NLGDN36O.js";import{WrapSolidIcon as s}from"./chunk-YBRJR7NV.js";import{WrenchMiniIcon as p}from"./chunk-BWDHO77A.js";import{WrenchScrewdriverMiniIcon as u}from"./chunk-HWGKMEYA.js";import{WrenchScrewdriverSolidIcon as h}from"./chunk-H7AHH7OB.js";import{WeightSolidIcon as k}from"./chunk-JH4N2AGC.js";import{WidgetsMiniIcon as f}from"./chunk-K3ZBIFDS.js";import{WidgetsSolidIcon as e}from"./chunk-C7WCAKSH.js";import{WidthMiniIcon as j}from"./chunk-B4GBUSE5.js";import{WidthSolidIcon as a}from"./chunk-W6FRXR6X.js";import{WindowMiniIcon as l}from"./chunk-CNVF67ZV.js";import{WindowSolidIcon as d}from"./chunk-QBRE4MH3.js";import{WindowsMiniIcon as b}from"./chunk-YMECORJ4.js";import{VideoOffSolidIcon as Q}from"./chunk-F75KLDZK.js";import{ViewColumnsMiniIcon as C}from"./chunk-KAUUQEZJ.js";import{ViewColumnsSolidIcon as F}from"./chunk-ZN5SU4ZI.js";import{WalletMiniIcon as N}from"./chunk-ITCE6WFF.js";import{WalletSolidIcon as J}from"./chunk-RLQAX5HN.js";import{WarningMiniIcon as M}from"./chunk-KHXH44V6.js";import{WarningSolidIcon as K}from"./chunk-TAXDMCNG.js";import{WeightMiniIcon as R}from"./chunk-7MBI6K4M.js";import{UndoSolidIcon as U}from"./chunk-T2IC4IQA.js";import{UploadMiniIcon as D}from"./chunk-2NYCHHEX.js";import{UploadSolidIcon as H}from"./chunk-LDY4RXO4.js";import{VAlignMiniIcon as P}from"./chunk-E5XQWSQG.js";import{VAlignSolidIcon as X}from"./chunk-64KV2YO3.js";import{VerifiedMiniIcon as L}from"./chunk-FJXQQ6N4.js";import{VerifiedSolidIcon as Z}from"./chunk-C6CI7XH7.js";import{VideoOffMiniIcon as G}from"./chunk-PNVFIQXD.js";import{TvSolidIcon as g}from"./chunk-RVA6HGDB.js";import{TypeMiniIcon as A}from"./chunk-3VZEPYAX.js";import{TypeSolidIcon as W}from"./chunk-RH6C435W.js";import{TyreMiniIcon as E}from"./chunk-PPRJBW5Y.js";import{TyreSolidIcon as Y}from"./chunk-IF34QPCV.js";import{UnderlineMiniIcon as T}from"./chunk-23YM7DOW.js";import{UnderlineSolidIcon as B}from"./chunk-R2KCOXZR.js";import{UndoMiniIcon as I}from"./chunk-O5EP2UNP.js";import{TrashAlt2Icon as O}from"./chunk-TEEDZ5O4.js";import{TrashAltIcon as S}from"./chunk-X65IANDK.js";import{TrashMiniIcon as V}from"./chunk-J5VO23W3.js";import{TrashSolidIcon as w}from"./chunk-GPFBERFF.js";import{TruckAltIcon as y}from"./chunk-MWG5QRHE.js";import{TruckMiniIcon as x}from"./chunk-JCKOSJNI.js";import{TruckSolidIcon as v}from"./chunk-GYA54DB2.js";import{TvMiniIcon as q}from"./chunk-BQ7RNIBA.js";import{TextSizeMiniIcon as z}from"./chunk-2BAQ3XFD.js";import{TextSizeSolidIcon as $}from"./chunk-MU4OIOPU.js";import{TextSmallMiniIcon as _}from"./chunk-QK4B7MO3.js";import{TextSmallSolidIcon as rr}from"./chunk-245SGQC7.js";import{TextValueMiniIcon as or}from"./chunk-5XNZORBY.js";import{TextValueSolidIcon as mr}from"./chunk-GKAI5SDL.js";import{TextureMiniIcon as tr}from"./chunk-VRGZFJZD.js";import{TextureSolidIcon as cr}from"./chunk-2AGTZHGD.js";import{TargetMiniIcon as ir}from"./chunk-5VRVT4LR.js";import{TargetSolidIcon as nr}from"./chunk-LNFKNTO5.js";import{TeamMiniIcon as sr}from"./chunk-ZV5P54O4.js";import{TeamSolidIcon as pr}from"./chunk-ETF6W3D4.js";import{TelephoneMiniIcon as ur}from"./chunk-MLXDPEBV.js";import{TelephoneSolidIcon as hr}from"./chunk-JQSK5ICA.js";import{TextColorMiniIcon as kr}from"./chunk-3WUQ5V4J.js";import{TextColorSolidIcon as fr}from"./chunk-TGNRZLQ6.js";import{TabletMiniIcon as er}from"./chunk-7R5JBLPI.js";import{TabletSolidIcon as jr}from"./chunk-IU7ZRR62.js";import{TabsMiniIcon as ar}from"./chunk-B6RQI2PT.js";import{TabsSolidIcon as lr}from"./chunk-5UZYIM2W.js";import{TagAltIcon as dr}from"./chunk-HXWCDHZQ.js";import{TagMiniIcon as br}from"./chunk-GGGXLQHC.js";import{TagSolidIcon as Qr}from"./chunk-QDHVUIZV.js";import{TargetAltIcon as Cr}from"./chunk-V5DSMUZ5.js";import{SunMiniIcon as Fr}from"./chunk-7MOGLM4M.js";import{SunSolidIcon as Nr}from"./chunk-K6ZPLG4O.js";import{SuperscriptMiniIcon as Jr}from"./chunk-YPBEGKV2.js";import{SuperscriptSolidIcon as Mr}from"./chunk-5GJ3SFHP.js";import{SwapMiniIcon as Kr}from"./chunk-FZMJ5JVX.js";import{SwapSolidIcon as Rr}from"./chunk-LO2ENELN.js";import{TableMiniIcon as Ur}from"./chunk-7IQQIDI6.js";import{TableSolidIcon as Dr}from"./chunk-QJ3LE7LI.js";import{StoreSolidIcon as Hr}from"./chunk-V3W6W42X.js";import{StrikeMiniIcon as Pr}from"./chunk-5GHSWXWB.js";import{StrikeSolidIcon as Xr}from"./chunk-VUOJMDQ6.js";import{StylesAltIcon as Lr}from"./chunk-PP3H5YGZ.js";import{StylesMiniIcon as Zr}from"./chunk-FEN2DONX.js";import{StylesSolidIcon as Gr}from"./chunk-B3Q46H2J.js";import{SubscriptMiniIcon as gr}from"./chunk-KRWISESU.js";import{SubscriptSolidIcon as Ar}from"./chunk-O3QFU4CP.js";import{StatusDotMiniIcon as Wr}from"./chunk-LKN4NT7H.js";import{StatusDotSolidIcon as Er}from"./chunk-6GLBW3FE.js";import{StickyMiniIcon as Yr}from"./chunk-RL3ZIR6L.js";import{StickySolidIcon as Tr}from"./chunk-CAMDJDKT.js";import{StopCircleMiniIcon as Br}from"./chunk-XRIX6MVS.js";import{StopCircleSolidIcon as Ir}from"./chunk-AQT5PBEU.js";import{StoreBuildingStorefront20SolidIcon as Or}from"./chunk-FXD73VOY.js";import{StoreMiniIcon as Sr}from"./chunk-5HCC7MZN.js";import{SquareSolidIcon as Vr}from"./chunk-BPWBA2RM.js";import{StarAltIcon as wr}from"./chunk-TTX2XZKP.js";import{StarMiniIcon as yr}from"./chunk-RWHVEPNG.js";import{StarSolidIcon as xr}from"./chunk-635BD6WX.js";import{StateMiniIcon as vr}from"./chunk-WFYZJFS5.js";import{StateSolidIcon as qr}from"./chunk-2TO2GMVS.js";import{StatusCircleMiniIcon as zr}from"./chunk-TB3CFNVI.js";import{StatusCircleSolidIcon as $r}from"./chunk-RAE4CUCY.js";import{SparklesSolidIcon as _r}from"./chunk-NA5HW2RQ.js";import{SpeakerWaveMiniIcon as ro}from"./chunk-QNIEDFX6.js";import{SpeakerWaveSolidIcon as oo}from"./chunk-DJNK34UK.js";import{SpecTableMiniIcon as mo}from"./chunk-FUY6TO6Z.js";import{SpecTableSolidIcon as to}from"./chunk-NZYJ6XYT.js";import{SplitMiniIcon as co}from"./chunk-6PRAEXF6.js";import{SplitSolidIcon as io}from"./chunk-YOVMFAN3.js";import{SquareMiniIcon as no}from"./chunk-WQ2IFM6M.js";import{SlidePickerSquaresSolidIcon as so}from"./chunk-DI3CJOO2.js";import{SortAltIcon as po}from"./chunk-US4TTHEN.js";import{SortMiniIcon as uo}from"./chunk-SI37ODJF.js";import{SortSolidIcon as ho}from"./chunk-ZUG2JNG4.js";import{SparklesAlt2Icon as ko}from"./chunk-NCLIZZXL.js";import{SparklesAlt3Icon as fo}from"./chunk-FEUIWJ7S.js";import{SparklesAltIcon as eo}from"./chunk-UWNP5QOF.js";import{SparklesMiniIcon as jo}from"./chunk-WNO4AZ67.js";import{SlidePickerBarSolidIcon as ao}from"./chunk-SZGTWSN4.js";import{SlidePickerCardsMiniIcon as lo}from"./chunk-EUQXQRXY.js";import{SlidePickerCardsSolidIcon as bo}from"./chunk-D6RYGKV5.js";import{SlidePickerDotsMiniIcon as Qo}from"./chunk-3VYVPN23.js";import{SlidePickerDotsSolidIcon as Co}from"./chunk-PZIPTTVL.js";import{SlidePickerNumbersMiniIcon as Fo}from"./chunk-K5UTUJXX.js";import{SlidePickerNumbersSolidIcon as No}from"./chunk-CNQOWIKL.js";import{SlidePickerSquaresMiniIcon as Jo}from"./chunk-A7ILTGAE.js";import{SignalSolidIcon as Mo}from"./chunk-QTPYKXY7.js";import{SitemapMiniIcon as Ko}from"./chunk-TCWYMY7R.js";import{SitemapSolidIcon as Ro}from"./chunk-P4KZQYYO.js";import{SlideArrowsRoundMiniIcon as Uo}from"./chunk-3LSEVWUJ.js";import{SlideArrowsRoundSolidIcon as Do}from"./chunk-PSYTC7V2.js";import{SlideArrowsSquareMiniIcon as Ho}from"./chunk-EDEHD47C.js";import{SlideArrowsSquareSolidIcon as Po}from"./chunk-P66ED5XN.js";import{SlidePickerBarMiniIcon as Xo}from"./chunk-BJ2LKUME.js";import{ShieldCheckSolidIcon as Lo}from"./chunk-A2NRNSJU.js";import{ShieldExclamationMiniIcon as Zo}from"./chunk-FB4GEVTA.js";import{ShieldExclamationSolidIcon as Go}from"./chunk-LZ44UTPP.js";import{SidesEachMiniIcon as go}from"./chunk-CNTQKS7H.js";import{SidesEachSolidIcon as Ao}from"./chunk-OR2SSAWP.js";import{SignalMiniIcon as Wo}from"./chunk-PYAU2NDD.js";import{SignalSlashMiniIcon as Eo}from"./chunk-MIMLD6G4.js";import{SignalSlashSolidIcon as Yo}from"./chunk-PLQ23Q7Y.js";import{ShapeEllipseSolidIcon as To}from"./chunk-J7YSGSYX.js";import{ShapeRectMiniIcon as Bo}from"./chunk-7MTKB2PI.js";import{ShapeRectSolidIcon as Io}from"./chunk-R3SLDJJX.js";import{ShareMiniIcon as Oo}from"./chunk-HWEV5X53.js";import{ShareSolidIcon as So}from"./chunk-ZFF7W6EF.js";import{SharedMiniIcon as Vo}from"./chunk-LKRQXIOG.js";import{SharedSolidIcon as wo}from"./chunk-YKDKVSAL.js";import{ShieldCheckMiniIcon as yo}from"./chunk-6UNMFTXG.js";import{SeparatorTriangleSolidIcon as xo}from"./chunk-B3CN55UI.js";import{ServerMiniIcon as vo}from"./chunk-7J7SBMPE.js";import{ServerSolidIcon as qo}from"./chunk-TMPZ5QYR.js";import{SettingsMiniIcon as zo}from"./chunk-PJ74S7TQ.js";import{SettingsSolidIcon as $o}from"./chunk-HMPU4WRV.js";import{ShadowMiniIcon as _o}from"./chunk-JQFMEYOH.js";import{ShadowSolidIcon as rm}from"./chunk-Z6DPC6LY.js";import{ShapeEllipseMiniIcon as om}from"./chunk-HGJLQXQZ.js";import{SelectAllSolidIcon as mm}from"./chunk-5FXHHPQN.js";import{SendAlt2Icon as tm}from"./chunk-I3TMILZC.js";import{SendAltIcon as cm}from"./chunk-AZADIQCQ.js";import{SendMiniIcon as im}from"./chunk-SLALNIKU.js";import{SendSolidIcon as nm}from"./chunk-2L3JB5JJ.js";import{SeparatorSlashMiniIcon as sm}from"./chunk-TGXO3CDO.js";import{SeparatorSlashSolidIcon as pm}from"./chunk-YJ5IHIAI.js";import{SeparatorTriangleMiniIcon as um}from"./chunk-MUXGWDEH.js";import{ScaleSolidIcon as hm}from"./chunk-TGQ6FVOC.js";import{ScrollPointMiniIcon as km}from"./chunk-BGYKEPGH.js";import{ScrollPointSolidIcon as fm}from"./chunk-R2L5KKWD.js";import{SearchAlt2Icon as em}from"./chunk-USRR3ATA.js";import{SearchAltIcon as jm}from"./chunk-VZZXQM7D.js";import{SearchMiniIcon as am}from"./chunk-RFQT33IG.js";import{SearchSolidIcon as lm}from"./chunk-D7AJ7HNA.js";import{SelectAllMiniIcon as dm}from"./chunk-XG4LYLHC.js";import{RevertMiniIcon as bm}from"./chunk-TKQLPIHD.js";import{RevertSolidIcon as Qm}from"./chunk-B2JHVAJZ.js";import{RobotMiniIcon as Cm}from"./chunk-2QBUM6BF.js";import{RobotSolidIcon as Fm}from"./chunk-BTMPF6TU.js";import{RotateMiniIcon as Nm}from"./chunk-AZ6PTN7Z.js";import{RotateSolidIcon as Jm}from"./chunk-FMFFO3XW.js";import{ScaleAltIcon as Mm}from"./chunk-WJEFJ7DO.js";import{ScaleMiniIcon as Km}from"./chunk-AKR2GM4I.js";import{RefreshMiniIcon as Rm}from"./chunk-DQVYLBH3.js";import{RefreshSolidIcon as Um}from"./chunk-OD57KLTH.js";import{RemoveMiniIcon as Dm}from"./chunk-LC5WQDNZ.js";import{RemoveSolidIcon as Hm}from"./chunk-DZGAUI3P.js";import{ReplyAllMiniIcon as Pm}from"./chunk-PF5CU4SO.js";import{ReplyAllSolidIcon as Xm}from"./chunk-S6HJCIO4.js";import{ReplyMiniIcon as Lm}from"./chunk-ITCRUSSN.js";import{ReplySolidIcon as Zm}from"./chunk-QRZVIG54.js";import{ReceiptPercentSolidIcon as Gm}from"./chunk-IXXEASEQ.js";import{ReceiptRefundMiniIcon as gm}from"./chunk-6JWPIRCB.js";import{ReceiptRefundSolidIcon as Am}from"./chunk-4PXK463M.js";import{ReceiptSolidIcon as Wm}from"./chunk-P6NGK7DM.js";import{RedoMiniIcon as Em}from"./chunk-RJNAXMDD.js";import{RedoSolidIcon as Ym}from"./chunk-CITR3NCQ.js";import{RefreshAltIcon as Tm}from"./chunk-BXPQQPS4.js";import{RefreshArrowPathRoundedSquareIcon as Bm}from"./chunk-7BDQSYOD.js";import{QuoteMiniIcon as Im}from"./chunk-63LZCLNR.js";import{QuoteSolidIcon as Om}from"./chunk-K3JGLNOQ.js";import{RadioDotMiniIcon as Sm}from"./chunk-WRWINFV3.js";import{RadioDotSolidIcon as Vm}from"./chunk-VKPCYU5H.js";import{RadiusMiniIcon as wm}from"./chunk-7I2GL4XB.js";import{RadiusSolidIcon as ym}from"./chunk-SGGFUPQS.js";import{ReceiptMiniIcon as xm}from"./chunk-3FF7CTUA.js";import{ReceiptPercentMiniIcon as vm}from"./chunk-CM6DG7CZ.js";import{ProductFieldMiniIcon as qm}from"./chunk-WICGNE5J.js";import{ProductFieldSolidIcon as zm}from"./chunk-AFHJNVJU.js";import{ProductMiniIcon as $m}from"./chunk-M2STINJB.js";import{ProductSizeMiniIcon as _m}from"./chunk-WOWXRIRW.js";import{ProductSizeSolidIcon as rt}from"./chunk-Y4GH6UXZ.js";import{ProductSolidIcon as ot}from"./chunk-AYYN74HD.js";import{ProgressMiniIcon as mt}from"./chunk-Q3OTCQTQ.js";import{ProgressSolidIcon as tt}from"./chunk-3V5UT7A2.js";import{PlusMinusMiniIcon as ct}from"./chunk-T2SS7VMR.js";import{PlusMinusSolidIcon as it}from"./chunk-6QBEAJ3X.js";import{PowerMiniIcon as nt}from"./chunk-ETIZX4ZX.js";import{PowerSolidIcon as st}from"./chunk-TXEFPHTL.js";import{PresentationChartBarMiniIcon as pt}from"./chunk-7BMSC5QE.js";import{PresentationChartBarSolidIcon as ut}from"./chunk-V56PZIS2.js";import{PrintMiniIcon as ht}from"./chunk-AODSAT7N.js";import{PrintSolidIcon as kt}from"./chunk-HLMTKW5H.js";import{PhoneHiddenSolidIcon as ft}from"./chunk-3CWD4INC.js";import{PhoneMiniIcon as et}from"./chunk-KRUKB4JE.js";import{PhoneSolidIcon as jt}from"./chunk-H6OCWYYU.js";import{PlacementMiniIcon as at}from"./chunk-OXHG752A.js";import{PlacementSolidIcon as lt}from"./chunk-74DQMIJU.js";import{PlayAltIcon as dt}from"./chunk-ZPQFONMR.js";import{PlayMiniIcon as bt}from"./chunk-CCJHCLQD.js";import{PlaySolidIcon as Qt}from"./chunk-DPCVWEGT.js";import{PenSolidIcon as Ct}from"./chunk-MZNR3WCA.js";import{PeopleMiniIcon as Ft}from"./chunk-MJ3GUAXH.js";import{PeopleSolidIcon as Nt}from"./chunk-TDACYSKV.js";import{PeopleUserGroupIcon as Jt}from"./chunk-3GU54QB6.js";import{PercentMiniIcon as Mt}from"./chunk-2LKEZNEE.js";import{PercentSolidIcon as Kt}from"./chunk-CQYBRFCN.js";import{PhoneAltIcon as Rt}from"./chunk-W2SGPRYG.js";import{PhoneHiddenMiniIcon as Ut}from"./chunk-J4BNHZMC.js";import{PanelRightSolidIcon as Dt}from"./chunk-3EVMVYVF.js";import{ParagraphSpacingMiniIcon as Ht}from"./chunk-W6DUHOAN.js";import{ParagraphSpacingSolidIcon as Pt}from"./chunk-GD3YLOFZ.js";import{PasteStyleMiniIcon as Xt}from"./chunk-X5KVM2JY.js";import{PasteStyleSolidIcon as Lt}from"./chunk-NOQIPVD5.js";import{PauseMiniIcon as Zt}from"./chunk-E4XFHQTO.js";import{PauseSolidIcon as Gt}from"./chunk-I2BTP4ZC.js";import{PenMiniIcon as gt}from"./chunk-75CPAMIK.js";import{PageAltIcon as At}from"./chunk-CPPPRWOF.js";import{PageMiniIcon as Wt}from"./chunk-XXFO33EC.js";import{PageSolidIcon as Et}from"./chunk-SMJFGTEP.js";import{PaletteMiniIcon as Yt}from"./chunk-BAFB2V5R.js";import{PaletteSolidIcon as Tt}from"./chunk-DL3K4PF4.js";import{PanelLeftMiniIcon as Bt}from"./chunk-XSCG6YG7.js";import{PanelLeftSolidIcon as It}from"./chunk-XWU6QN2V.js";import{PanelRightMiniIcon as Ot}from"./chunk-FU44ZZBE.js";import{PaddingRightMiniIcon as St}from"./chunk-JWZ7SK3Z.js";import{PaddingRightSolidIcon as Vt}from"./chunk-IABLIRK6.js";import{PaddingTopMiniIcon as wt}from"./chunk-AAQPYX4I.js";import{PaddingTopSolidIcon as yt}from"./chunk-SE2ECAWN.js";import{PaddingXMiniIcon as xt}from"./chunk-M3FDLEVB.js";import{PaddingXSolidIcon as vt}from"./chunk-C4GY2IS5.js";import{PaddingYMiniIcon as qt}from"./chunk-FLY5B6BV.js";import{PaddingYSolidIcon as zt}from"./chunk-ZVZB4MEK.js";import{PaddingAllMiniIcon as $t}from"./chunk-R54WVPDX.js";import{PaddingAllSolidIcon as _t}from"./chunk-QJG66TT3.js";import{PaddingBottomMiniIcon as rc}from"./chunk-NXBHLJD4.js";import{PaddingBottomSolidIcon as oc}from"./chunk-MQBMKV2M.js";import{PaddingLeftMiniIcon as mc}from"./chunk-FGQ7HFAL.js";import{PaddingLeftRightMiniIcon as tc}from"./chunk-RF4AWGBX.js";import{PaddingLeftRightSolidIcon as cc}from"./chunk-6QAID2KD.js";import{PaddingLeftSolidIcon as ic}from"./chunk-KMRK6TJC.js";import{OpacityMiniIcon as nc}from"./chunk-JMOGUE7F.js";import{OpacitySolidIcon as sc}from"./chunk-FCD4WTIN.js";import{OwnTextMiniIcon as pc}from"./chunk-62BDLWEO.js";import{OwnTextSolidIcon as uc}from"./chunk-5OY3AUEX.js";import{PackageMiniIcon as hc}from"./chunk-FCD2THL6.js";import{PackageOpenMiniIcon as kc}from"./chunk-J5NXZAWD.js";import{PackageOpenSolidIcon as fc}from"./chunk-6STWX56B.js";import{PackageSolidIcon as ec}from"./chunk-PRU52B5T.js";import{NudgeMiniIcon as jc}from"./chunk-REICDZNN.js";import{NudgeSolidIcon as ac}from"./chunk-3MRB7UZY.js";import{NudgeXMiniIcon as lc}from"./chunk-HJUK5AAM.js";import{NudgeXSolidIcon as dc}from"./chunk-KRWKHI7S.js";import{NudgeYMiniIcon as bc}from"./chunk-EEG3KMP7.js";import{NudgeYSolidIcon as Qc}from"./chunk-P5SVBGLG.js";import{NumberedListMiniIcon as Cc}from"./chunk-FD7UBG5P.js";import{NumberedListSolidIcon as Fc}from"./chunk-3K6RM3K4.js";import{MoreMiniIcon as Nc}from"./chunk-42MDVHXS.js";import{MoreSolidIcon as Jc}from"./chunk-PP5JQCTZ.js";import{MoreVerticalMiniIcon as Mc}from"./chunk-J6YBNXVN.js";import{MoreVerticalSolidIcon as Kc}from"./chunk-OSZDQ3VV.js";import{NoSymbolMiniIcon as Rc}from"./chunk-WQBLFKPH.js";import{NoSymbolSolidIcon as Uc}from"./chunk-JEWUFDX5.js";import{NoteMiniIcon as Dc}from"./chunk-MRWH3KJB.js";import{NoteSolidIcon as Hc}from"./chunk-QNV4E2MF.js";import{MetaMiniIcon as Pc}from"./chunk-JG2LTXO7.js";import{MetaSolidIcon as Xc}from"./chunk-ADCP4ZQP.js";import{MicrophoneMiniIcon as Lc}from"./chunk-ICL6KE32.js";import{MicrophoneSolidIcon as Zc}from"./chunk-QWWV6GSR.js";import{MoneyMiniIcon as Gc}from"./chunk-6MSDX7MQ.js";import{MoneySolidIcon as gc}from"./chunk-RJCUFIE5.js";import{MoonMiniIcon as Ac}from"./chunk-V75MYG5O.js";import{MoonSolidIcon as Wc}from"./chunk-24FKIIDR.js";import{MediaLayoutStackedMiniIcon as Ec}from"./chunk-GMTEWQTC.js";import{MediaLayoutStackedSolidIcon as Yc}from"./chunk-4D5UAMG5.js";import{MediaMiniIcon as Tc}from"./chunk-RWVM2VHF.js";import{MediaSolidIcon as Bc}from"./chunk-3UFUOKBM.js";import{MegaphoneMiniIcon as Ic}from"./chunk-DQ6CYYYH.js";import{MegaphoneSolidIcon as Oc}from"./chunk-7KJMS4EK.js";import{MenuMiniIcon as Sc}from"./chunk-MNIIBF52.js";import{MenuSolidIcon as Vc}from"./chunk-AFXOAFL6.js";import{MapMiniIcon as wc}from"./chunk-Q2QIUERP.js";import{MapSolidIcon as yc}from"./chunk-4EOR3CJ4.js";import{MediaLayoutBigTwoMiniIcon as xc}from"./chunk-RI5VRHG4.js";import{MediaLayoutBigTwoSolidIcon as vc}from"./chunk-4QNSHURB.js";import{MediaLayoutInsetMiniIcon as qc}from"./chunk-PAYYAWU5.js";import{MediaLayoutInsetSolidIcon as zc}from"./chunk-RJU7XFKX.js";import{MediaLayoutSideBySideMiniIcon as $c}from"./chunk-PYG3MKYD.js";import{MediaLayoutSideBySideSolidIcon as _c}from"./chunk-77DNZFAR.js";import{LockSolidIcon as ri}from"./chunk-URXAYQ23.js";import{LogoMiniIcon as oi}from"./chunk-AS4OCCP3.js";import{LogoSolidIcon as mi}from"./chunk-4LBNEX4V.js";import{LogoutMiniIcon as ti}from"./chunk-GV3GNYL6.js";import{LogoutSolidIcon as ci}from"./chunk-2AQMIXH3.js";import{LoopMiniIcon as ii}from"./chunk-Z7TJ5Y7T.js";import{LoopSolidIcon as ni}from"./chunk-XMTGZI2O.js";import{MapAltIcon as si}from"./chunk-XA7YZO2P.js";import{ListNoneMiniIcon as pi}from"./chunk-GRABRP2G.js";import{ListNoneSolidIcon as ui}from"./chunk-HQOSD5GN.js";import{ListQueueListIcon as hi}from"./chunk-CYQSFWYF.js";import{ListSolidIcon as ki}from"./chunk-PZZWHWBB.js";import{LocationMiniIcon as fi}from"./chunk-K7WJNXIJ.js";import{LocationSolidIcon as ei}from"./chunk-BZOV7GJL.js";import{LockAltIcon as ji}from"./chunk-IQKD7UCZ.js";import{LockMiniIcon as ai}from"./chunk-EIUHOEDP.js";import{LinkSlashSolidIcon as li}from"./chunk-QL4RGGFN.js";import{LinkSolidIcon as di}from"./chunk-WM6WESXC.js";import{ListAlt2Icon as bi}from"./chunk-7B4Y4XCN.js";import{ListAlt3Icon as Qi}from"./chunk-ACCOL2XR.js";import{ListAltIcon as Ci}from"./chunk-ITBPRBKS.js";import{ListFormatMiniIcon as Fi}from"./chunk-UDN6USR5.js";import{ListFormatSolidIcon as Ni}from"./chunk-LWDJ4GEH.js";import{ListMiniIcon as Ji}from"./chunk-7OKXT3VY.js";import{LineSolidMiniIcon as Mi}from"./chunk-H46XIWYV.js";import{LineSolidSolidIcon as Ki}from"./chunk-XO4FAIL5.js";import{LineSpacingMiniIcon as Ri}from"./chunk-SP6GJ3Y4.js";import{LineSpacingSolidIcon as Ui}from"./chunk-CNITIX2S.js";import{LineStyleMiniIcon as Di}from"./chunk-Z4KOPOJX.js";import{LineStyleSolidIcon as Hi}from"./chunk-KUCKME7A.js";import{LinkMiniIcon as Pi}from"./chunk-KLZWTEB5.js";import{LinkSlashMiniIcon as Xi}from"./chunk-325KLGZI.js";import{LightbulbMiniIcon as Li}from"./chunk-LMLLHS4Q.js";import{LightbulbSolidIcon as Zi}from"./chunk-DFJLONGS.js";import{LineBetweenMiniIcon as Gi}from"./chunk-DZC74CKM.js";import{LineBetweenSolidIcon as gi}from"./chunk-MMYYXHNL.js";import{LineDashedMiniIcon as Ai}from"./chunk-UTJSSJXU.js";import{LineDashedSolidIcon as Wi}from"./chunk-JTKLHXQE.js";import{LineDottedMiniIcon as Ei}from"./chunk-Z7SR7VQR.js";import{LineDottedSolidIcon as Yi}from"./chunk-DUPPQQ35.js";import{LayersMiniIcon as Ti}from"./chunk-VPJZX7GH.js";import{LayersRectangleStackIcon as Bi}from"./chunk-Q2YQ2EN2.js";import{LayersSolidIcon as Ii}from"./chunk-UBBP5Q2C.js";import{LayoutAltIcon as Oi}from"./chunk-PYXW6GXA.js";import{LayoutMiniIcon as Si}from"./chunk-TUODSC47.js";import{LayoutSolidIcon as Vi}from"./chunk-AU3GQT25.js";import{LetterSpacingMiniIcon as wi}from"./chunk-RYOPAJXK.js";import{LetterSpacingSolidIcon as yi}from"./chunk-FSLICZMD.js";import{InfoAltIcon as xi}from"./chunk-U5423MQC.js";import{InfoMiniIcon as vi}from"./chunk-UMKNAPC2.js";import{InfoSolidIcon as qi}from"./chunk-ZU6L5U5X.js";import{ItalicMiniIcon as zi}from"./chunk-JDGZNXOM.js";import{ItalicSolidIcon as $i}from"./chunk-CMYQL6WU.js";import{KeyMiniIcon as _i}from"./chunk-TQITZXNM.js";import{KeySolidIcon as rn}from"./chunk-B7FO24I2.js";import{LayersAltIcon as on}from"./chunk-SUSN7BUA.js";import{ImageOffMiniIcon as mn}from"./chunk-ZLFF5JQG.js";import{ImageOffSolidIcon as tn}from"./chunk-M7N7XLUK.js";import{ImageSolidIcon as cn}from"./chunk-HULBQOQ4.js";import{ImagesMiniIcon as nn}from"./chunk-5P6EYV7K.js";import{ImagesSolidIcon as sn}from"./chunk-Y7BG7B64.js";import{InboxAltIcon as pn}from"./chunk-BFJ4RYCD.js";import{InboxMiniIcon as un}from"./chunk-QRSDMC5W.js";import{InboxSolidIcon as hn}from"./chunk-EESYQSYA.js";import{IconAtEndMiniIcon as kn}from"./chunk-VRBDSUV5.js";import{IconAtEndSolidIcon as fn}from"./chunk-MJ6SYTFL.js";import{IconBeforeTextMiniIcon as en}from"./chunk-C6FIA3VB.js";import{IconBeforeTextSolidIcon as jn}from"./chunk-FMSIKEE3.js";import{IdentificationMiniIcon as an}from"./chunk-MX26PZGW.js";import{IdentificationSolidIcon as ln}from"./chunk-ELWJR6D5.js";import{ImageAltIcon as dn}from"./chunk-4NT5O3CF.js";import{ImageMiniIcon as bn}from"./chunk-22AYA6IH.js";import{HoverNoneSolidIcon as Qn}from"./chunk-5X4DBMS6.js";import{HoverRotateMiniIcon as Cn}from"./chunk-IABSP2GJ.js";import{HoverRotateSolidIcon as Fn}from"./chunk-QHUGCISZ.js";import{HoverSolidIcon as Nn}from"./chunk-J3EF3LJU.js";import{HoverZoomMiniIcon as Jn}from"./chunk-UCWJA6LT.js";import{HoverZoomSolidIcon as Mn}from"./chunk-PJW3BL27.js";import{IconAfterTextMiniIcon as Kn}from"./chunk-O5MCB756.js";import{IconAfterTextSolidIcon as Rn}from"./chunk-H4SQVPCY.js";import{HomeMiniIcon as Un}from"./chunk-DOA6QPPR.js";import{HomeSolidIcon as Dn}from"./chunk-XKTLIGRL.js";import{HoverLiftMiniIcon as Hn}from"./chunk-MIOL4CDN.js";import{HoverLiftSolidIcon as Pn}from"./chunk-KLHUKAD3.js";import{HoverMiniIcon as Xn}from"./chunk-VMKJJFZB.js";import{HoverNextImageMiniIcon as Ln}from"./chunk-FIZKXNCZ.js";import{HoverNextImageSolidIcon as Zn}from"./chunk-XGAXRNZS.js";import{HoverNoneMiniIcon as Gn}from"./chunk-APLKFBJH.js";import{HeightMiniIcon as gn}from"./chunk-5AQ6KQSD.js";import{HeightSolidIcon as An}from"./chunk-QTQNZMIC.js";import{HelpMiniIcon as Wn}from"./chunk-LRY6HMOO.js";import{HelpOffMiniIcon as En}from"./chunk-Z3ZZ7IKK.js";import{HelpOffSolidIcon as Yn}from"./chunk-NCZDQBQ4.js";import{HelpSolidIcon as Tn}from"./chunk-TBRNYDMF.js";import{HexagonMiniIcon as Bn}from"./chunk-WGFQSFHX.js";import{HexagonSolidIcon as In}from"./chunk-OZ2GH2H7.js";import{HandThumbUpMiniIcon as On}from"./chunk-ITHJW2KQ.js";import{HandThumbUpSolidIcon as Sn}from"./chunk-A5ONCCD3.js";import{HashMiniIcon as Vn}from"./chunk-BZDWR4KD.js";import{HashSolidIcon as wn}from"./chunk-UXPHLHBG.js";import{HeadquartersMiniIcon as yn}from"./chunk-7HBLOYWQ.js";import{HeadquartersSolidIcon as xn}from"./chunk-2SFKU2B2.js";import{HeartMiniIcon as vn}from"./chunk-RT6AI5I7.js";import{HeartSolidIcon as qn}from"./chunk-BBY7MNDN.js";import{GlobeSolidIcon as zn}from"./chunk-AV5NET7T.js";import{GridAltIcon as $n}from"./chunk-CEYIPCMH.js";import{GridMiniIcon as _n}from"./chunk-NHDIBRV7.js";import{GridSolidIcon as rs}from"./chunk-IYZTC7VC.js";import{GroundMiniIcon as os}from"./chunk-DBWIOWPM.js";import{GroundSolidIcon as ms}from"./chunk-MFFIF7AB.js";import{HandMiniIcon as ts}from"./chunk-7E3RNMRR.js";import{HandSolidIcon as cs}from"./chunk-6R4YB7K3.js";import{GapMiniIcon as is}from"./chunk-UAB5A3AI.js";import{GapSolidIcon as ns}from"./chunk-TBMPFURE.js";import{GemMiniIcon as ss}from"./chunk-HPR54EP7.js";import{GemSolidIcon as ps}from"./chunk-D5CO7TAN.js";import{GiftMiniIcon as us}from"./chunk-WHNWFXTB.js";import{GiftSolidIcon as hs}from"./chunk-QHY3TU27.js";import{GlobeAltIcon as ks}from"./chunk-24KAXH2Q.js";import{GlobeMiniIcon as fs}from"./chunk-H6ARFO7R.js";import{FolderOpenSolidIcon as es}from"./chunk-W2JSPWW2.js";import{FolderPlusMiniIcon as js}from"./chunk-2ZIX7XRY.js";import{FolderPlusSolidIcon as as}from"./chunk-Y43FUWQ2.js";import{FolderSolidIcon as ls}from"./chunk-MEUDPC32.js";import{ForwardMiniIcon as ds}from"./chunk-JKHFESAR.js";import{ForwardSolidIcon as bs}from"./chunk-4E5LJBKT.js";import{FullWidthMiniIcon as Qs}from"./chunk-ORKNUTVU.js";import{FullWidthSolidIcon as Cs}from"./chunk-D46DMMOR.js";import{FireMiniIcon as Fs}from"./chunk-XWNYSMBG.js";import{FireSolidIcon as Ns}from"./chunk-MHCYAUWZ.js";import{FlagAltIcon as Js}from"./chunk-22FCQMKM.js";import{FlagMiniIcon as Ms}from"./chunk-I7IJ3CFC.js";import{FlagSolidIcon as Ks}from"./chunk-SWYJ3FKU.js";import{FolderAltIcon as Rs}from"./chunk-ZEXLGKAK.js";import{FolderMiniIcon as Us}from"./chunk-KKVQPJI3.js";import{FolderOpenMiniIcon as Ds}from"./chunk-NU3WUIAM.js";import{EyeOffSolidIcon as Hs}from"./chunk-6FC6PZU4.js";import{EyeSolidIcon as Ps}from"./chunk-IIDWSVS5.js";import{FaceSmileMiniIcon as Xs}from"./chunk-4GBFZNYZ.js";import{FaceSmileSolidIcon as Ls}from"./chunk-EHE6TM43.js";import{FilterMiniIcon as Zs}from"./chunk-3QPIARDX.js";import{FilterSolidIcon as Gs}from"./chunk-IDHWRHBE.js";import{FinishMiniIcon as gs}from"./chunk-SSNT2D3M.js";import{FinishSolidIcon as As}from"./chunk-465F75NG.js";import{ExpandMiniIcon as Ws}from"./chunk-YRGKL2JP.js";import{ExpandSolidIcon as Es}from"./chunk-3H25EPZU.js";import{ExternalAlt2Icon as Ys}from"./chunk-VQJ4CKDU.js";import{ExternalAltIcon as Ts}from"./chunk-OJFBIBPI.js";import{ExternalMiniIcon as Bs}from"./chunk-XEBHXPOE.js";import{ExternalSolidIcon as Is}from"./chunk-Y4YWLKCV.js";import{EyeMiniIcon as Os}from"./chunk-UNOUO3JN.js";import{EyeOffMiniIcon as Ss}from"./chunk-GBPUVNSN.js";import{EmailMiniIcon as Vs}from"./chunk-CYLOWGUD.js";import{EmailSolidIcon as ws}from"./chunk-RL7LVMCC.js";import{EnterMiniIcon as ys}from"./chunk-ALDGSODF.js";import{EnterSolidIcon as xs}from"./chunk-26LO7XCK.js";import{EraserMiniIcon as vs}from"./chunk-2O2LJV7Q.js";import{EraserSolidIcon as qs}from"./chunk-LXMTX7NE.js";import{ErrorMiniIcon as zs}from"./chunk-WZ76TDXU.js";import{ErrorSolidIcon as $s}from"./chunk-CT6I7VFU.js";import{DurationMiniIcon as _s}from"./chunk-44QWF5X2.js";import{DurationSolidIcon as rp}from"./chunk-PGKNWSSC.js";import{EditAlt2Icon as op}from"./chunk-UOSU63FV.js";import{EditAltIcon as mp}from"./chunk-W4EHFZ7Z.js";import{EditMiniIcon as tp}from"./chunk-HTXTUUBJ.js";import{EditPencilSquareIcon as cp}from"./chunk-HPWGEKEJ.js";import{EditSolidIcon as ip}from"./chunk-IXYWZ667.js";import{EmailAltIcon as np}from"./chunk-NYKBG5JF.js";import{DragAltIcon as sp}from"./chunk-4PYQMQQ6.js";import{DragMiniIcon as pp}from"./chunk-JFKFJPLE.js";import{DragSolidIcon as up}from"./chunk-TPMOTUTN.js";import{DropMiniIcon as hp}from"./chunk-6LSFDCSH.js";import{DropSolidIcon as kp}from"./chunk-BOLX5THX.js";import{DuplicateAltIcon as fp}from"./chunk-VRXSAWR2.js";import{DuplicateMiniIcon as ep}from"./chunk-PWONWGNZ.js";import{DuplicateSolidIcon as jp}from"./chunk-OTUO4L3W.js";import{DollarAltIcon as ap}from"./chunk-FPFP6LPK.js";import{DollarMiniIcon as lp}from"./chunk-6MHC2ZMP.js";import{DollarSolidIcon as dp}from"./chunk-KTVER4CP.js";import{DotMiniIcon as bp}from"./chunk-Z4EJ2MNK.js";import{DotSolidIcon as Qp}from"./chunk-YN5G6G3E.js";import{DownloadAltIcon as Cp}from"./chunk-SOQGJH2H.js";import{DownloadMiniIcon as Fp}from"./chunk-NOMPZRDT.js";import{DownloadSolidIcon as Np}from"./chunk-T6GW556F.js";import{DocumentCheckAltIcon as Jp}from"./chunk-VYDLQ3TB.js";import{DocumentCheckMiniIcon as Mp}from"./chunk-RIQGDM3S.js";import{DocumentCheckSolidIcon as Kp}from"./chunk-CTN6J6MI.js";import{DocumentDocumentIcon as Rp}from"./chunk-HZSE3AMP.js";import{DocumentMagnifyingGlassMiniIcon as Up}from"./chunk-T6ZWKFPU.js";import{DocumentMagnifyingGlassSolidIcon as Dp}from"./chunk-MN74RSSD.js";import{DocumentMiniIcon as Hp}from"./chunk-PHWEOFEG.js";import{DocumentSolidIcon as Pp}from"./chunk-TFRIWTDA.js";import{DetachMiniIcon as Xp}from"./chunk-4YARHVZH.js";import{DetachSolidIcon as Lp}from"./chunk-LV2YFFA6.js";import{DiagramMiniIcon as Zp}from"./chunk-WVJSPRDR.js";import{DiagramSolidIcon as Gp}from"./chunk-BOHPJXNM.js";import{DirectionMiniIcon as gp}from"./chunk-CFQZ2UJM.js";import{DirectionSolidIcon as Ap}from"./chunk-QKSOCPA2.js";import{DocumentAlt2Icon as Wp}from"./chunk-W6ZAUD5E.js";import{DocumentAltIcon as Ep}from"./chunk-VOC5AK66.js";import{CursorClickSolidIcon as Yp}from"./chunk-BYDXJORJ.js";import{CursorMiniIcon as Tp}from"./chunk-23E6AHJY.js";import{CursorSolidIcon as Bp}from"./chunk-4UCO62M5.js";import{DateMiniIcon as Ip}from"./chunk-QFDGSQQE.js";import{DateSolidIcon as Op}from"./chunk-7R623GIR.js";import{DesktopAltIcon as Sp}from"./chunk-4X2F4CV3.js";import{DesktopMiniIcon as Vp}from"./chunk-SNLTAYYR.js";import{DesktopSolidIcon as wp}from"./chunk-MFKHQ5K2.js";import{CropSolidIcon as yp}from"./chunk-WNM2AMCR.js";import{CropTopMiniIcon as xp}from"./chunk-KO5PBMCF.js";import{CropTopSolidIcon as vp}from"./chunk-PWONLQFF.js";import{CropYMiniIcon as qp}from"./chunk-D5EXIRJF.js";import{CropYSolidIcon as zp}from"./chunk-6NLKMHX6.js";import{CubeTransparentMiniIcon as $p}from"./chunk-PON7R7AU.js";import{CubeTransparentSolidIcon as _p}from"./chunk-X26UU4VQ.js";import{CursorClickMiniIcon as ru}from"./chunk-S6VIYZ2J.js";import{CropBottomSolidIcon as ou}from"./chunk-QM5DFN7Z.js";import{CropLeftMiniIcon as mu}from"./chunk-RA5GR626.js";import{CropLeftRightMiniIcon as tu}from"./chunk-JTPBPEYK.js";import{CropLeftRightSolidIcon as cu}from"./chunk-USYTN7PE.js";import{CropLeftSolidIcon as iu}from"./chunk-2MBDZMZM.js";import{CropMiniIcon as nu}from"./chunk-GKUHMQ4N.js";import{CropRightMiniIcon as su}from"./chunk-KIYTUOVN.js";import{CropRightSolidIcon as pu}from"./chunk-7F65BNHY.js";import{CopyStyleSolidIcon as uu}from"./chunk-XLTCCVAS.js";import{CopyToPageMiniIcon as hu}from"./chunk-CUH3B5XK.js";import{CopyToPageSolidIcon as ku}from"./chunk-XQQVYYP6.js";import{CornerMiniIcon as fu}from"./chunk-FY2CQ5OZ.js";import{CornerSolidIcon as eu}from"./chunk-IHFHX3JS.js";import{CountUpMiniIcon as ju}from"./chunk-RRVBOD2U.js";import{CountUpSolidIcon as au}from"./chunk-I5VYOWIX.js";import{CropBottomMiniIcon as lu}from"./chunk-BXDYFSP4.js";import{ContrastSolidIcon as du}from"./chunk-GVMMJWNK.js";import{CopiedMiniIcon as bu}from"./chunk-FVZBMQQG.js";import{CopiedSolidIcon as Qu}from"./chunk-6NM4VNUK.js";import{CopyAlt2Icon as Cu}from"./chunk-6OVMOQXY.js";import{CopyAltIcon as Fu}from"./chunk-76MY6SHR.js";import{CopyMiniIcon as Nu}from"./chunk-COL533ZT.js";import{CopySolidIcon as Ju}from"./chunk-R2AU7OKI.js";import{CopyStyleMiniIcon as Mu}from"./chunk-FDF6AGVQ.js";import{ColumnWidthsSolidIcon as Ku}from"./chunk-V2ILLLXT.js";import{ColumnsMiniIcon as Ru}from"./chunk-KU75RLJS.js";import{ColumnsSolidIcon as Uu}from"./chunk-VEPD5TDQ.js";import{CompanyMiniIcon as Du}from"./chunk-BXRX5WJC.js";import{CompanySolidIcon as Hu}from"./chunk-7DVL5EM2.js";import{ComposeMiniIcon as Pu}from"./chunk-Q6DH4T7K.js";import{ComposeSolidIcon as Xu}from"./chunk-YPAX3OVJ.js";import{ContrastMiniIcon as Lu}from"./chunk-VZEQGTG6.js";import{CloudSolidIcon as Zu}from"./chunk-LVL7SQQE.js";import{CodeMiniIcon as Gu}from"./chunk-EY7ITVLB.js";import{CodeSolidIcon as gu}from"./chunk-QF2QYWLO.js";import{CollapseMiniIcon as Au}from"./chunk-KMGORP5N.js";import{CollapseSolidIcon as Wu}from"./chunk-MFZS4XH4.js";import{ColumnGapMiniIcon as Eu}from"./chunk-EBH2ETZL.js";import{ColumnGapSolidIcon as Yu}from"./chunk-4CGNDOUU.js";import{ColumnWidthsMiniIcon as Tu}from"./chunk-7CQR2P4D.js";import{CloudCheckSolidIcon as Bu}from"./chunk-EAI3RF4X.js";import{CloudDownloadMiniIcon as Iu}from"./chunk-NFQTAYIZ.js";import{CloudDownloadSolidIcon as Ou}from"./chunk-5ATA7ZH4.js";import{CloudMiniIcon as Su}from"./chunk-OZ7YWV63.js";import{CloudPauseMiniIcon as Vu}from"./chunk-SIILHHPE.js";import{CloudPauseSolidIcon as wu}from"./chunk-5KQTZ4UE.js";import{CloudSlashMiniIcon as yu}from"./chunk-4YYHXX5L.js";import{CloudSlashSolidIcon as xu}from"./chunk-IDA6A4QV.js";import{CloseCircleSolidIcon as vu}from"./chunk-MNJH3BVA.js";import{CloseMiniIcon as qu}from"./chunk-44CXUHIL.js";import{CloseSolidIcon as zu}from"./chunk-AHVWJJCK.js";import{CloudAlertMiniIcon as $u}from"./chunk-BXS2D2KK.js";import{CloudAlertSolidIcon as _u}from"./chunk-FWNFAW7P.js";import{CloudArrowUpMiniIcon as rh}from"./chunk-6RY7OKVQ.js";import{CloudArrowUpSolidIcon as oh}from"./chunk-2NRMCUOW.js";import{CloudCheckMiniIcon as mh}from"./chunk-ZV4FB43H.js";import{ClipboardDocumentListMiniIcon as th}from"./chunk-HGOWLHKZ.js";import{ClipboardDocumentListSolidIcon as ch}from"./chunk-7BPQPIJJ.js";import{ClipboardMiniIcon as ih}from"./chunk-IUUJEV6I.js";import{ClipboardSolidIcon as nh}from"./chunk-XS4PWQSN.js";import{ClockMiniIcon as sh}from"./chunk-J4FL4OCW.js";import{ClockSolidIcon as ph}from"./chunk-DORDAZGF.js";import{CloseCircleAltIcon as uh}from"./chunk-TQYPYM4F.js";import{CloseCircleMiniIcon as hh}from"./chunk-6AKTE47Z.js";import{ChevronUpDownMiniIcon as kh}from"./chunk-6USSSR3X.js";import{ChevronUpDownSolidIcon as fh}from"./chunk-TGS7NZ4S.js";import{ChevronUpMiniIcon as eh}from"./chunk-R7F2DMKZ.js";import{ChevronUpSolidIcon as jh}from"./chunk-UGUQC2CY.js";import{CircleStackMiniIcon as ah}from"./chunk-AD7JPCLJ.js";import{CircleStackSolidIcon as lh}from"./chunk-OSFWNBI3.js";import{ClearMarksMiniIcon as dh}from"./chunk-DSFPJYO5.js";import{ClearMarksSolidIcon as bh}from"./chunk-S4WC23JS.js";import{ChevronDoubleRightMiniIcon as Qh}from"./chunk-5KV4BIYG.js";import{ChevronDoubleRightSolidIcon as Ch}from"./chunk-2B2HGWZR.js";import{ChevronDownMiniIcon as Fh}from"./chunk-LRWOR3LD.js";import{ChevronDownSolidIcon as Nh}from"./chunk-5YPYINMS.js";import{ChevronLeftMiniIcon as Jh}from"./chunk-EFP2VLXY.js";import{ChevronLeftSolidIcon as Mh}from"./chunk-53JU3XAC.js";import{ChevronRightMiniIcon as Kh}from"./chunk-7BLIJJRB.js";import{ChevronRightSolidIcon as Rh}from"./chunk-PZVDRXTL.js";import{CheckCircleMiniIcon as Uh}from"./chunk-HW23QCM6.js";import{CheckCircleSolidIcon as Dh}from"./chunk-4AHAFRLQ.js";import{CheckMiniIcon as Hh}from"./chunk-PZVZQAT7.js";import{CheckSolidIcon as Ph}from"./chunk-CL3TM57T.js";import{CheckboxMiniIcon as Xh}from"./chunk-NBDXKLRS.js";import{CheckboxSolidIcon as Lh}from"./chunk-MP32KR6I.js";import{ChevronDoubleLeftMiniIcon as Zh}from"./chunk-HFZYDG4H.js";import{ChevronDoubleLeftSolidIcon as Gh}from"./chunk-ESYW3ZJ3.js";import{ChatAltIcon as gh}from"./chunk-A5M37IYD.js";import{ChatBubbleLeftRightMiniIcon as Ah}from"./chunk-EMFPDUC5.js";import{ChatBubbleLeftRightSolidIcon as Wh}from"./chunk-FJCROBEY.js";import{ChatBubbleOvalLeftEllipsisMiniIcon as Eh}from"./chunk-WKQDQ6PX.js";import{ChatBubbleOvalLeftEllipsisSolidIcon as Yh}from"./chunk-5ONLEJND.js";import{ChatMiniIcon as Th}from"./chunk-TZALPJLH.js";import{ChatSolidIcon as Bh}from"./chunk-WVWIQLSO.js";import{CheckAltIcon as Ih}from"./chunk-66B4UUBJ.js";import{ChartBarMiniIcon as Oh}from"./chunk-PTAWGNOP.js";import{ChartBarSolidIcon as Sh}from"./chunk-JKZBUZJL.js";import{ChartBarSquareMiniIcon as Vh}from"./chunk-O4VLKJH6.js";import{ChartBarSquareSolidIcon as wh}from"./chunk-WMHMEL4M.js";import{ChartLineMiniIcon as yh}from"./chunk-3AOH4Y5Q.js";import{ChartLineSolidIcon as xh}from"./chunk-H4D64QWB.js";import{ChartMiniIcon as vh}from"./chunk-6MK2ZRMR.js";import{ChartSolidIcon as qh}from"./chunk-WSGRNF7K.js";import{CaseLowerMiniIcon as zh}from"./chunk-6PBWS4U2.js";import{CaseLowerSolidIcon as $h}from"./chunk-BTWIDDUX.js";import{CaseMiniIcon as _h}from"./chunk-7NYUPAF2.js";import{CaseNormalMiniIcon as rk}from"./chunk-K553VJKG.js";import{CaseNormalSolidIcon as ok}from"./chunk-EWO3CHRK.js";import{CaseSolidIcon as mk}from"./chunk-AJS6MGSR.js";import{CaseUpperMiniIcon as tk}from"./chunk-BTKR3L6T.js";import{CaseUpperSolidIcon as ck}from"./chunk-C6PK7DPK.js";import{CardPaymentAltIcon as ik}from"./chunk-DMALV6HL.js";import{CardPaymentMiniIcon as nk}from"./chunk-USDDEC5E.js";import{CardPaymentSolidIcon as sk}from"./chunk-VEWTFCLT.js";import{CartAltIcon as pk}from"./chunk-EBIWBHDT.js";import{CartMiniIcon as uk}from"./chunk-SQ3LMAD7.js";import{CartSolidIcon as hk}from"./chunk-5OB5G4ER.js";import{CaseCapitalizedMiniIcon as kk}from"./chunk-LGLWUWLG.js";import{CaseCapitalizedSolidIcon as fk}from"./chunk-COBVYQJ5.js";import{CalendarSolidIcon as ek}from"./chunk-UM7ENABX.js";import{CameraMiniIcon as jk}from"./chunk-JFKV3HGY.js";import{CameraSolidIcon as ak}from"./chunk-CLKX4AYI.js";import{CaptionMiniIcon as lk}from"./chunk-QAQ7AWOR.js";import{CaptionSolidIcon as dk}from"./chunk-625GKS5W.js";import{CarMiniIcon as bk}from"./chunk-HZWDLCON.js";import{CarSolidIcon as Qk}from"./chunk-SJAGP7O5.js";import{CardPaymentAlt2Icon as Ck}from"./chunk-2ASZVLNP.js";import{ButtonIconSolidIcon as Fk}from"./chunk-LQ2WXJLJ.js";import{ButtonMiniIcon as Nk}from"./chunk-I4AFC5T6.js";import{ButtonSolidIcon as Jk}from"./chunk-BQGZ5XPF.js";import{CalculatorMiniIcon as Mk}from"./chunk-A53BUHOH.js";import{CalculatorSolidIcon as Kk}from"./chunk-VCJ4TFNW.js";import{CalendarAlt2Icon as Rk}from"./chunk-7C6NKEWV.js";import{CalendarAltIcon as Uk}from"./chunk-JANKMZGF.js";import{CalendarMiniIcon as Dk}from"./chunk-KCE2CIH7.js";import{BriefcaseSolidIcon as Hk}from"./chunk-XS4HBMDN.js";import{BugMiniIcon as Pk}from"./chunk-R2DAQH2T.js";import{BugSolidIcon as Xk}from"./chunk-YVLE5OZR.js";import{BuildingLibraryMiniIcon as Lk}from"./chunk-TH4CJHHG.js";import{BuildingLibrarySolidIcon as Zk}from"./chunk-Z2AQ3XB3.js";import{BuildingOffice2MiniIcon as Gk}from"./chunk-TC7LOFWX.js";import{BuildingOffice2SolidIcon as gk}from"./chunk-UC5NQ7J6.js";import{ButtonIconMiniIcon as Ak}from"./chunk-JT54HCG7.js";import{BrandWhatsappSolidIcon as Wk}from"./chunk-URWQO4KB.js";import{BrandXOutlineIcon as Ek}from"./chunk-2UCDJCGZ.js";import{BrandXSolidIcon as Yk}from"./chunk-FEVWWOGL.js";import{BrandYoutubeOutlineIcon as Tk}from"./chunk-RBXMTHOT.js";import{BrandYoutubeSolidIcon as Bk}from"./chunk-UKC6VJE4.js";import{BreadcrumbMiniIcon as Ik}from"./chunk-SDECOPY3.js";import{BreadcrumbSolidIcon as Ok}from"./chunk-KLAGP4GV.js";import{BriefcaseMiniIcon as Sk}from"./chunk-IRZBGVTB.js";import{BrandPinterestSolidIcon as Vk}from"./chunk-FOXMWLVS.js";import{BrandTelegramOutlineIcon as wk}from"./chunk-YVULGIDQ.js";import{BrandTelegramSolidIcon as yk}from"./chunk-NTWI7EGJ.js";import{BrandTiktokOutlineIcon as xk}from"./chunk-T3NJAOJL.js";import{BrandTiktokSolidIcon as vk}from"./chunk-W5DLG5T2.js";import{BrandWechatOutlineIcon as qk}from"./chunk-YKKMR5DU.js";import{BrandWechatSolidIcon as zk}from"./chunk-474G67EG.js";import{BrandWhatsappOutlineIcon as $k}from"./chunk-NFMDU4EJ.js";import{BrandFacebookSolidIcon as _k}from"./chunk-OKRAYHGW.js";import{BrandInstagramOutlineIcon as rf}from"./chunk-MTZUYC4Y.js";import{BrandInstagramSolidIcon as of}from"./chunk-LQD7K7HK.js";import{BrandLineOutlineIcon as mf}from"./chunk-EQPVQY5E.js";import{BrandLineSolidIcon as tf}from"./chunk-CAUWHLN7.js";import{BrandLinkedinOutlineIcon as cf}from"./chunk-6I7EODFJ.js";import{BrandLinkedinSolidIcon as nf}from"./chunk-BXQYRG7P.js";import{BrandPinterestOutlineIcon as sf}from"./chunk-ROUTBYMG.js";import{BoxYEndSolidIcon as pf}from"./chunk-H62WUDPO.js";import{BoxYStartMiniIcon as uf}from"./chunk-TSP7UFQB.js";import{BoxYStartSolidIcon as hf}from"./chunk-6LNNBA3T.js";import{BoxYStretchMiniIcon as kf}from"./chunk-TQ2M7V4E.js";import{BoxYStretchSolidIcon as ff}from"./chunk-3FGPFDDK.js";import{BracesMiniIcon as ef}from"./chunk-G5T4NYFR.js";import{BracesSolidIcon as jf}from"./chunk-AHTA7QXO.js";import{BrandFacebookOutlineIcon as af}from"./chunk-5KZ4WKUI.js";import{BoxXStartSolidIcon as lf}from"./chunk-T2FITGKQ.js";import{BoxXStretchMiniIcon as df}from"./chunk-GFYIVFX2.js";import{BoxXStretchSolidIcon as bf}from"./chunk-NLUSV66Z.js";import{BoxYBetweenMiniIcon as Qf}from"./chunk-NO6DG2IV.js";import{BoxYBetweenSolidIcon as Cf}from"./chunk-UO6GQPT3.js";import{BoxYCenterMiniIcon as Ff}from"./chunk-JNSMBHNH.js";import{BoxYCenterSolidIcon as Nf}from"./chunk-W33HIHEP.js";import{BoxYEndMiniIcon as Jf}from"./chunk-IS6FC32P.js";import{BoxJustifySolidIcon as Mf}from"./chunk-S5IAQ7ZS.js";import{BoxXBetweenMiniIcon as Kf}from"./chunk-ESDSE6HY.js";import{BoxXBetweenSolidIcon as Rf}from"./chunk-6CBF7UQ2.js";import{BoxXCenterMiniIcon as Uf}from"./chunk-GZ7XQBCG.js";import{BoxXCenterSolidIcon as Df}from"./chunk-HFAOJ4OJ.js";import{BoxXEndMiniIcon as Hf}from"./chunk-K5VNHEVL.js";import{BoxXEndSolidIcon as Pf}from"./chunk-FMHHOXML.js";import{BoxXStartMiniIcon as Xf}from"./chunk-NQJL6B67.js";import{BorderLeftSolidIcon as Lf}from"./chunk-BLTHZSWG.js";import{BorderRightMiniIcon as Zf}from"./chunk-6KGMGZHE.js";import{BorderRightSolidIcon as Gf}from"./chunk-U7Y6VI2V.js";import{BorderTopMiniIcon as gf}from"./chunk-SJ23KTCO.js";import{BorderTopSolidIcon as Af}from"./chunk-G3OIMKEO.js";import{BoxItemAlignmentMiniIcon as Wf}from"./chunk-O3UL2XW5.js";import{BoxItemAlignmentSolidIcon as Ef}from"./chunk-E5G2RURY.js";import{BoxJustifyMiniIcon as Yf}from"./chunk-QRTRKWCZ.js";import{BookmarkSolidIcon as Tf}from"./chunk-GVSGP4P3.js";import{BookmarkSquareMiniIcon as Bf}from"./chunk-YH4GOPT3.js";import{BookmarkSquareSolidIcon as If}from"./chunk-ERKFGC5C.js";import{BorderAllMiniIcon as Of}from"./chunk-QKEJNJSJ.js";import{BorderAllSolidIcon as Sf}from"./chunk-BVZSNZO2.js";import{BorderBottomMiniIcon as Vf}from"./chunk-UNETPVQD.js";import{BorderBottomSolidIcon as wf}from"./chunk-EQJFKRK5.js";import{BorderLeftMiniIcon as yf}from"./chunk-GWXTRUSZ.js";import{BlogPostSolidIcon as xf}from"./chunk-ADILLUBC.js";import{BoldMiniIcon as vf}from"./chunk-OZIHC6LT.js";import{BoldSolidIcon as qf}from"./chunk-JTECQPFZ.js";import{BoltMiniIcon as zf}from"./chunk-WD2PAOXY.js";import{BoltSolidIcon as $f}from"./chunk-RLUX7UZ3.js";import{BookOpenMiniIcon as _f}from"./chunk-MDEYAVX5.js";import{BookOpenSolidIcon as re}from"./chunk-KNIHHEZ6.js";import{BookmarkMiniIcon as oe}from"./chunk-PJZ4TOFR.js";import{BlockSectionSolidIcon as me}from"./chunk-5L3MHRXQ.js";import{BlockSpacerMiniIcon as te}from"./chunk-S2PKAWDA.js";import{BlockSpacerSolidIcon as ce}from"./chunk-K6ZY2PQV.js";import{BlockTextMiniIcon as ie}from"./chunk-7YJ6QRFY.js";import{BlockTextSolidIcon as ne}from"./chunk-IADBERII.js";import{BlockVideoMiniIcon as se}from"./chunk-ZMYTKXYP.js";import{BlockVideoSolidIcon as pe}from"./chunk-X6IMHWDH.js";import{BlogPostMiniIcon as ue}from"./chunk-D2VXCCQV.js";import{BlockFooterSolidIcon as he}from"./chunk-KN6Z3QSE.js";import{BlockHeadingMiniIcon as ke}from"./chunk-KHSTQGAQ.js";import{BlockHeadingSolidIcon as fe}from"./chunk-6OPE4Z6S.js";import{BlockLayeredImagesMiniIcon as ee}from"./chunk-G2KSTEIR.js";import{BlockLayeredImagesSolidIcon as je}from"./chunk-KW7DKURL.js";import{BlockProductTitleMiniIcon as ae}from"./chunk-5C56H7RM.js";import{BlockProductTitleSolidIcon as le}from"./chunk-VK4OK5MQ.js";import{BlockSectionMiniIcon as de}from"./chunk-OONUEZIW.js";import{BlockBannerSolidIcon as be}from"./chunk-GIU6VXJB.js";import{BlockBoxMiniIcon as Qe}from"./chunk-DIM5ZZ5Y.js";import{BlockBoxSolidIcon as Ce}from"./chunk-3RVAJR6Y.js";import{BlockCouponMiniIcon as Fe}from"./chunk-JZEQTZRG.js";import{BlockCouponSolidIcon as Ne}from"./chunk-LBJQOR7U.js";import{BlockDividerMiniIcon as Je}from"./chunk-ZMON54V2.js";import{BlockDividerSolidIcon as Me}from"./chunk-6PAEECEY.js";import{BlockFooterMiniIcon as Ke}from"./chunk-7WLRGQU2.js";import{BellSolidIcon as Re}from"./chunk-D5KZHQUQ.js";import{BillingMiniIcon as Ue}from"./chunk-NMZH7XRX.js";import{BillingSolidIcon as De}from"./chunk-GIDCFJFJ.js";import{BlackAndWhiteMiniIcon as He}from"./chunk-LHKI2VJW.js";import{BlackAndWhiteSolidIcon as Pe}from"./chunk-OOCJAWJB.js";import{BlockBadgeMiniIcon as Xe}from"./chunk-TNM6UGRR.js";import{BlockBadgeSolidIcon as Le}from"./chunk-CDXABHGL.js";import{BlockBannerMiniIcon as Ze}from"./chunk-H2FH3U4E.js";import{BeakerMiniIcon as Ge}from"./chunk-Y4HNZVNW.js";import{BeakerSolidIcon as ge}from"./chunk-XAYE2WUP.js";import{BellAlertMiniIcon as Ae}from"./chunk-YS5B33PA.js";import{BellAlertSolidIcon as We}from"./chunk-NQ74ZNNG.js";import{BellAltIcon as Ee}from"./chunk-FXTYVMSO.js";import{BellMiniIcon as Ye}from"./chunk-VZSPQOIL.js";import{BellPlusMiniIcon as Te}from"./chunk-7FKABCZX.js";import{BellPlusSolidIcon as Be}from"./chunk-TNMTBNFE.js";import{BackgroundMiniIcon as Ie}from"./chunk-GJLJDWP2.js";import{BackgroundSolidIcon as Oe}from"./chunk-E25DJCZX.js";import{BagMiniIcon as Se}from"./chunk-3UXCHN2Y.js";import{BagSolidIcon as Ve}from"./chunk-B64SQUAI.js";import{Bars3BottomLeftMiniIcon as we}from"./chunk-YIURRPQ7.js";import{Bars3BottomLeftSolidIcon as ye}from"./chunk-UO5KVL7C.js";import{BatteryMiniIcon as xe}from"./chunk-M4PBEZVP.js";import{BatterySolidIcon as ve}from"./chunk-L2NH35JL.js";import{ArrowUpRightMiniIcon as qe}from"./chunk-DCQS3CY7.js";import{ArrowUpRightSolidIcon as ze}from"./chunk-SANX3GBB.js";import{ArrowUpSolidIcon as $e}from"./chunk-OOXD67PN.js";import{AtSymbolMiniIcon as _e}from"./chunk-MM4WJHXO.js";import{AtSymbolSolidIcon as rj}from"./chunk-UYZAW4XK.js";import{AttachAltIcon as oj}from"./chunk-7AUFUC7S.js";import{AttachMiniIcon as mj}from"./chunk-3ZCQPEQB.js";import{AttachSolidIcon as tj}from"./chunk-F3HV52IQ.js";import{ArrowLongRightSolidIcon as cj}from"./chunk-2LCAJKJM.js";import{ArrowRightMiniIcon as ij}from"./chunk-L5VJEUNL.js";import{ArrowRightSolidIcon as nj}from"./chunk-QEXKJWAA.js";import{ArrowTrendingDownMiniIcon as sj}from"./chunk-IW3H2NIS.js";import{ArrowTrendingDownSolidIcon as pj}from"./chunk-KQHNX5WQ.js";import{ArrowTrendingUpMiniIcon as uj}from"./chunk-C7PJ2BFZ.js";import{ArrowTrendingUpSolidIcon as hj}from"./chunk-WRVHXP72.js";import{ArrowUpMiniIcon as kj}from"./chunk-NPMGJBVE.js";import{ArchiveBoxSolidIcon as fj}from"./chunk-DSRZ22NW.js";import{ArrowDownMiniIcon as ej}from"./chunk-UEETKW2R.js";import{ArrowDownSolidIcon as jj}from"./chunk-BUA6AISP.js";import{ArrowLeftEndOnRectangleMiniIcon as aj}from"./chunk-6SGFZZNU.js";import{ArrowLeftEndOnRectangleSolidIcon as lj}from"./chunk-H3CZUUUV.js";import{ArrowLeftMiniIcon as dj}from"./chunk-XK2TKHHU.js";import{ArrowLeftSolidIcon as bj}from"./chunk-XQFFEQNA.js";import{ArrowLongRightMiniIcon as Qj}from"./chunk-WDNMERJD.js";import{AlignmentSolidIcon as Cj}from"./chunk-3LG5YFCK.js";import{AnchorMiniIcon as Fj}from"./chunk-ZRPTWML6.js";import{AnchorSolidIcon as Nj}from"./chunk-SRX7THEC.js";import{AnimationMiniIcon as Jj}from"./chunk-4ZI75XUP.js";import{AnimationSolidIcon as Mj}from"./chunk-RLY6QGCY.js";import{AppsMiniIcon as Kj}from"./chunk-C5FRN2MO.js";import{AppsSolidIcon as Rj}from"./chunk-KKBQRMEQ.js";import{ArchiveBoxMiniIcon as Uj}from"./chunk-CVWRL3SR.js";import{AlignJustifySolidIcon as Dj}from"./chunk-IQAFZJO5.js";import{AlignLeftMiniIcon as Hj}from"./chunk-DOBDKX3N.js";import{AlignLeftSolidIcon as Pj}from"./chunk-UBS44QNF.js";import{AlignRightMiniIcon as Xj}from"./chunk-JHTRFNOJ.js";import{AlignRightSolidIcon as Lj}from"./chunk-DP7WVTGQ.js";import{AlignSeparateMiniIcon as Zj}from"./chunk-LSSZLU65.js";import{AlignSeparateSolidIcon as Gj}from"./chunk-MKS6YLYR.js";import{AlignmentMiniIcon as gj}from"./chunk-GCR66E4S.js";import{AddPersonMiniIcon as Aj}from"./chunk-77USZ3CH.js";import{AddPersonSolidIcon as Wj}from"./chunk-EJ7CUJUL.js";import{AddSolidIcon as Ej}from"./chunk-SSYXGVCW.js";import{AdjustMiniIcon as Yj}from"./chunk-MUUIDQKX.js";import{AdjustSolidIcon as Tj}from"./chunk-FFTCTT6J.js";import{AlignCenterMiniIcon as Bj}from"./chunk-CJWPYYJZ.js";import{AlignCenterSolidIcon as Ij}from"./chunk-7U6KJNZ2.js";import{AlignJustifyMiniIcon as Oj}from"./chunk-UI2XKCNM.js";import{AccountCircleMiniIcon as Sj}from"./chunk-ONJKQ4F4.js";import{AccountCircleSolidIcon as Vj}from"./chunk-PMP4MCXR.js";import{AccountMiniIcon as wj}from"./chunk-VHGJTJ5C.js";import{AccountSolidIcon as yj}from"./chunk-LMF4FIGQ.js";import{AccountUserCircleIcon as xj}from"./chunk-3OIQSCGM.js";import{AddCircleMiniIcon as vj}from"./chunk-DFAIY54I.js";import{AddCircleSolidIcon as qj}from"./chunk-DTLKYF45.js";import{AddMiniIcon as zj}from"./chunk-PMAX5YW2.js";import{AcademicCapMiniIcon as $j}from"./chunk-JSGNZTYP.js";import{AcademicCapSolidIcon as _j}from"./chunk-4XM7JDQT.js";import{AccentMiniIcon as ra}from"./chunk-FA6U6ZML.js";import{AccentSolidIcon as oa}from"./chunk-ZTN72H54.js";import{AccountAltIcon as ma}from"./chunk-EYBN5UBA.js";var ta=["alt","alt-2","alt-3","arrow-path-rounded-square","building-storefront-20-solid","document","mini","outline","pencil-square","queue-list","rectangle-stack","solid","user-circle","user-group"],ca={name:"efficient",label:"Efficient",icons:{},looks:{alt:{account:ma,attach:oj,bell:Ee,"block-image":dn,"block-included-list":Ci,calendar:Uk,"calendar-check":Uk,"card-payment":ik,cart:pk,category:Rs,chat:gh,check:Ih,"close-circle":uh,copy:Fu,dashboard:$n,desktop:Sp,document:Ep,"document-check":Jp,dollar:ap,download:Cp,drag:sp,duplicate:fp,edit:mp,email:np,external:Ts,flag:Js,folder:Rs,globe:ks,grid:$n,image:dn,inbox:pn,info:xi,layers:on,layout:Oi,list:Ci,lock:ji,map:si,page:At,"paint-brush":Lr,phone:Rt,play:dt,"rectangle-group":Oi,refresh:Tm,rename:mp,scale:Mm,"scroll-text":Ep,search:jm,send:cm,sort:po,sparkles:eo,star:wr,styles:Lr,tag:dr,target:Cr,title:Js,trash:S,truck:y,wheel:Cr},"alt-2":{"block-included-list":bi,calendar:Rk,"calendar-check":Rk,"card-payment":Ck,copy:Cu,document:Wp,edit:op,external:Ys,list:bi,rename:op,"scroll-text":Wp,search:em,send:tm,sparkles:ko,trash:O},"alt-3":{"block-included-list":Qi,list:Qi,sparkles:fo},"arrow-path-rounded-square":{refresh:Bm},"building-storefront-20-solid":{store:Or},document:{document:Rp,"scroll-text":Rp},mini:{"academic-cap":$j,accent:ra,account:wj,"account-circle":Sj,add:zj,"add-circle":vj,"add-person":Aj,adjust:Yj,"align-center":Bj,"align-justify":Oj,"align-left":Hj,"align-right":Xj,"align-separate":Zj,alignment:gj,anchor:Fj,animation:Jj,apps:Kj,"archive-box":Uj,arrow:ij,"arrow-down":ej,"arrow-left":dj,"arrow-left-end-on-rectangle":aj,"arrow-long-right":Qj,"arrow-right":ij,"arrow-trending-down":sj,"arrow-trending-up":uj,"arrow-up":kj,"arrow-up-right":qe,"at-symbol":_e,attach:mj,background:Ie,bag:Se,bank:Lk,"bars-3-bottom-left":we,battery:xe,beaker:Ge,bell:Ye,"bell-alert":Ae,"bell-plus":Te,billing:Ue,"black-and-white":He,"block-badge":Xe,"block-banner":Ze,"block-box":Qe,"block-button":Nk,"block-column":Ru,"block-coupon":Fe,"block-divider":Je,"block-footer":Ke,"block-heading":ke,"block-image":bn,"block-included-list":Ji,"block-layered-images":ee,"block-product":$m,"block-product-title":ae,"block-section":de,"block-social":Oo,"block-spacer":te,"block-text":ie,"block-video":se,"blog-post":ue,bold:vf,bolt:zf,"book-open":_f,bookmark:oe,"bookmark-square":Bf,"border-all":Of,"border-bottom":Vf,"border-left":yf,"border-right":Zf,"border-top":gf,"box-item-alignment":Wf,"box-justify":Yf,"box-x-between":Kf,"box-x-center":Uf,"box-x-end":Hf,"box-x-start":Xf,"box-x-stretch":df,"box-y-between":Qf,"box-y-center":Ff,"box-y-end":Jf,"box-y-start":uf,"box-y-stretch":kf,braces:ef,breadcrumb:Ik,briefcase:Sk,bug:Pk,"bug-ant":Pk,"building-library":Lk,"building-office-2":Gk,button:Nk,"button-arrow":ij,"button-icon":Ak,calculator:Mk,calendar:Dk,"calendar-check":Dk,camera:jk,caption:lk,car:bk,"card-payment":nk,caret:Fh,cart:uk,case:_h,"case-capitalized":kk,"case-lower":zh,"case-normal":rk,"case-upper":tk,category:Us,chart:vh,"chart-bar":Oh,"chart-bar-square":Vh,"chart-line":yh,chat:Th,"chat-bubble-left-right":Ah,"chat-bubble-oval-left-ellipsis":Eh,check:Hh,"check-circle":Uh,checkbox:Xh,chevron:Fh,"chevron-double":Qh,"chevron-double-left":Zh,"chevron-double-right":Qh,"chevron-down":Fh,"chevron-left":Jh,"chevron-right":Kh,"chevron-up":eh,"chevron-up-down":kh,"circle-stack":ah,"clear-marks":dh,clipboard:ih,"clipboard-check":bu,"clipboard-document-list":th,"clipboard-list":th,clock:sh,close:qu,"close-circle":hh,cloud:Su,"cloud-alert":$u,"cloud-arrow-up":rh,"cloud-check":mh,"cloud-download":Iu,"cloud-pause":Vu,"cloud-slash":yu,code:Gu,"code-bracket":Gu,collapse:Au,"collapse-all":Au,"column-gap":Eu,"column-widths":Tu,columns:Ru,company:Du,compose:Pu,contrast:Lu,cookie:ah,copied:bu,copy:Nu,"copy-style":Mu,"copy-to-page":hu,corner:fu,"count-up":ju,crop:nu,"crop-bottom":lu,"crop-left":mu,"crop-left-right":tu,"crop-right":su,"crop-top":xp,"crop-y":qp,"cube-transparent":$p,cursor:Tp,"cursor-arrow-rays":ru,"cursor-click":ru,dashboard:_n,date:Ip,desktop:Vp,detach:Xp,diagram:Zp,direction:gp,"direction-down":ej,"direction-left":dj,"direction-right":ij,"direction-up":kj,document:Hp,"document-check":Mp,"document-magnifying-glass":Up,dollar:lp,dot:bp,download:Fp,drag:pp,drop:hp,duplicate:ep,duration:_s,edit:tp,email:Vs,enter:ys,eraser:vs,error:zs,expand:Ws,external:Bs,eye:Os,"eye-off":Ss,"face-smile":Xs,filter:Zs,finish:gs,fire:Fs,flag:Ms,folder:Us,"folder-open":Ds,"folder-plus":js,forward:ds,"full-width":Qs,gap:is,gem:ss,gift:us,globe:fs,grid:_n,ground:os,hand:ts,"hand-thumb-up":On,hash:Vn,headquarters:yn,heart:vn,height:gn,help:Wn,"help-off":En,hexagon:Bn,home:Un,hover:Xn,"hover-lift":Hn,"hover-next-image":Ln,"hover-none":Gn,"hover-rotate":Cn,"hover-zoom":Jn,"icon-after-text":Kn,"icon-at-end":kn,"icon-before-text":en,identification:an,image:bn,"image-off":mn,images:nn,inbox:un,info:vi,italic:zi,key:_i,layers:Ti,layout:Si,"letter-spacing":wi,lightbulb:Li,"line-between":Gi,"line-dashed":Ai,"line-dotted":Ei,"line-solid":Mi,"line-spacing":Ri,"line-style":Di,link:Pi,"link-slash":Xi,list:Ji,"list-format":Fi,"list-none":pi,location:fi,lock:ai,logo:oi,logout:ti,loop:ii,map:wc,media:Tc,"media-layout-big-two":xc,"media-layout-inset":qc,"media-layout-side-by-side":$c,"media-layout-stacked":Ec,megaphone:Ic,menu:Sc,meta:Pc,microphone:Lc,money:Gc,moon:Ac,more:Nc,"more-vertical":Mc,"move-down":ej,"move-up":kj,newspaper:ue,"no-symbol":Rc,note:Dc,nudge:jc,"nudge-x":lc,"nudge-y":bc,"numbered-list":Cc,opacity:nc,"own-text":pc,package:hc,"package-open":kc,"padding-all":$t,"padding-bottom":rc,"padding-left":mc,"padding-left-right":tc,"padding-right":St,"padding-top":wt,"padding-x":xt,"padding-y":qt,page:Wt,"paint-brush":Zr,palette:Yt,"panel-left":Bt,"panel-right":Ot,"paragraph-spacing":Ht,parcel:hc,paste:ih,"paste-style":Xt,pause:Zt,pen:gt,people:Ft,percent:Mt,phone:et,"phone-hidden":Ut,placement:at,play:bt,"plus-minus":ct,power:nt,"presentation-chart-bar":pt,print:ht,product:$m,"product-field":qm,"product-size":_m,progress:mt,quote:Im,"radio-dot":Sm,radius:wm,receipt:xm,"receipt-percent":vm,"receipt-refund":gm,"rectangle-group":Si,redo:Em,refresh:Rm,remove:Dm,"remove-circle":Dm,rename:tp,reply:Lm,"reply-all":Pm,revert:bm,robot:Cm,rotate:Nm,scale:Km,"scroll-point":km,"scroll-text":Hp,search:am,"select-all":dm,send:im,"separator-slash":sm,"separator-triangle":um,server:vo,settings:zo,shadow:_o,"shape-ellipse":om,"shape-rect":Bo,share:Oo,shared:Vo,"shield-check":yo,"shield-exclamation":Zo,"sides-each":go,signal:Wo,"signal-slash":Eo,sitemap:Ko,"slide-arrows-bare":Kh,"slide-arrows-round":Uo,"slide-arrows-square":Ho,"slide-picker-bar":Xo,"slide-picker-cards":lo,"slide-picker-dots":Qo,"slide-picker-numbers":Fo,"slide-picker-squares":Jo,sort:uo,sparkles:jo,speaker:ro,"speaker-wave":ro,"spec-table":mo,split:co,square:no,star:yr,state:vr,"status-circle":zr,"status-dot":Wr,sticky:Yr,"stop-circle":Br,store:Sr,strike:Pr,styles:Zr,subscript:gr,"success-burst":L,sun:Fr,superscript:Jr,swap:Kr,swatch:gs,table:Ur,tablet:er,tabs:ar,tag:br,target:ir,team:sr,telephone:ur,template:oe,"text-color":kr,"text-lines":we,"text-size":z,"text-small":_,"text-value":or,texture:tr,theme:gs,ticket:Fe,title:Ms,trash:V,trigger:zf,truck:x,tv:q,type:A,tyre:E,underline:T,undo:I,upload:D,"v-align":P,verified:L,"video-off":G,"view-columns":C,wallet:N,warning:M,weight:R,wheel:ir,widgets:f,width:j,window:l,windows:b,"words-from":c,wrap:n,wrench:p,"wrench-screwdriver":u,"zoom-in":o},outline:{"brand-facebook":af,"brand-instagram":rf,"brand-line":mf,"brand-linkedin":cf,"brand-pinterest":sf,"brand-telegram":wk,"brand-tiktok":xk,"brand-wechat":qk,"brand-whatsapp":$k,"brand-x":Ek,"brand-youtube":Tk},"pencil-square":{edit:cp,rename:cp},"queue-list":{"block-included-list":hi,list:hi},"rectangle-stack":{layers:Bi},solid:{"academic-cap":_j,accent:oa,account:yj,"account-circle":Vj,add:Ej,"add-circle":qj,"add-person":Wj,adjust:Tj,"align-center":Ij,"align-justify":Dj,"align-left":Pj,"align-right":Lj,"align-separate":Gj,alignment:Cj,anchor:Nj,animation:Mj,apps:Rj,"archive-box":fj,arrow:nj,"arrow-down":jj,"arrow-left":bj,"arrow-left-end-on-rectangle":lj,"arrow-long-right":cj,"arrow-right":nj,"arrow-trending-down":pj,"arrow-trending-up":hj,"arrow-up":$e,"arrow-up-right":ze,"at-symbol":rj,attach:tj,background:Oe,bag:Ve,bank:Zk,"bars-3-bottom-left":ye,battery:ve,beaker:ge,bell:Re,"bell-alert":We,"bell-plus":Be,billing:De,"black-and-white":Pe,"block-badge":Le,"block-banner":be,"block-box":Ce,"block-button":Jk,"block-column":Uu,"block-coupon":Ne,"block-divider":Me,"block-footer":he,"block-heading":fe,"block-image":cn,"block-included-list":ki,"block-layered-images":je,"block-product":ot,"block-product-title":le,"block-section":me,"block-social":So,"block-spacer":ce,"block-text":ne,"block-video":pe,"blog-post":xf,bold:qf,bolt:$f,"book-open":re,bookmark:Tf,"bookmark-square":If,"border-all":Sf,"border-bottom":wf,"border-left":Lf,"border-right":Gf,"border-top":Af,"box-item-alignment":Ef,"box-justify":Mf,"box-x-between":Rf,"box-x-center":Df,"box-x-end":Pf,"box-x-start":lf,"box-x-stretch":bf,"box-y-between":Cf,"box-y-center":Nf,"box-y-end":pf,"box-y-start":hf,"box-y-stretch":ff,braces:jf,breadcrumb:Ok,briefcase:Hk,bug:Xk,"bug-ant":Xk,"building-library":Zk,"building-office-2":gk,button:Jk,"button-arrow":nj,"button-icon":Fk,calculator:Kk,calendar:ek,"calendar-check":ek,camera:ak,caption:dk,car:Qk,"card-payment":sk,caret:Nh,cart:hk,case:mk,"case-capitalized":fk,"case-lower":$h,"case-normal":ok,"case-upper":ck,category:ls,chart:qh,"chart-bar":Sh,"chart-bar-square":wh,"chart-line":xh,chat:Bh,"chat-bubble-left-right":Wh,"chat-bubble-oval-left-ellipsis":Yh,check:Ph,"check-circle":Dh,checkbox:Lh,chevron:Nh,"chevron-double":Ch,"chevron-double-left":Gh,"chevron-double-right":Ch,"chevron-down":Nh,"chevron-left":Mh,"chevron-right":Rh,"chevron-up":jh,"chevron-up-down":fh,"circle-stack":lh,"clear-marks":bh,clipboard:nh,"clipboard-check":Qu,"clipboard-document-list":ch,"clipboard-list":ch,clock:ph,close:zu,"close-circle":vu,cloud:Zu,"cloud-alert":_u,"cloud-arrow-up":oh,"cloud-check":Bu,"cloud-download":Ou,"cloud-pause":wu,"cloud-slash":xu,code:gu,"code-bracket":gu,collapse:Wu,"collapse-all":Wu,"column-gap":Yu,"column-widths":Ku,columns:Uu,company:Hu,compose:Xu,contrast:du,cookie:lh,copied:Qu,copy:Ju,"copy-style":uu,"copy-to-page":ku,corner:eu,"count-up":au,crop:yp,"crop-bottom":ou,"crop-left":iu,"crop-left-right":cu,"crop-right":pu,"crop-top":vp,"crop-y":zp,"cube-transparent":_p,cursor:Bp,"cursor-arrow-rays":Yp,"cursor-click":Yp,dashboard:rs,date:Op,desktop:wp,detach:Lp,diagram:Gp,direction:Ap,"direction-down":jj,"direction-left":bj,"direction-right":nj,"direction-up":$e,document:Pp,"document-check":Kp,"document-magnifying-glass":Dp,dollar:dp,dot:Qp,download:Np,drag:up,drop:kp,duplicate:jp,duration:rp,edit:ip,email:ws,enter:xs,eraser:qs,error:$s,expand:Es,external:Is,eye:Ps,"eye-off":Hs,"face-smile":Ls,filter:Gs,finish:As,fire:Ns,flag:Ks,folder:ls,"folder-open":es,"folder-plus":as,forward:bs,"full-width":Cs,gap:ns,gem:ps,gift:hs,globe:zn,grid:rs,ground:ms,hand:cs,"hand-thumb-up":Sn,hash:wn,headquarters:xn,heart:qn,height:An,help:Tn,"help-off":Yn,hexagon:In,home:Dn,hover:Nn,"hover-lift":Pn,"hover-next-image":Zn,"hover-none":Qn,"hover-rotate":Fn,"hover-zoom":Mn,"icon-after-text":Rn,"icon-at-end":fn,"icon-before-text":jn,identification:ln,image:cn,"image-off":tn,images:sn,inbox:hn,info:qi,italic:$i,key:rn,layers:Ii,layout:Vi,"letter-spacing":yi,lightbulb:Zi,"line-between":gi,"line-dashed":Wi,"line-dotted":Yi,"line-solid":Ki,"line-spacing":Ui,"line-style":Hi,link:di,"link-slash":li,list:ki,"list-format":Ni,"list-none":ui,location:ei,lock:ri,logo:mi,logout:ci,loop:ni,map:yc,media:Bc,"media-layout-big-two":vc,"media-layout-inset":zc,"media-layout-side-by-side":_c,"media-layout-stacked":Yc,megaphone:Oc,menu:Vc,meta:Xc,microphone:Zc,money:gc,moon:Wc,more:Jc,"more-vertical":Kc,"move-down":jj,"move-up":$e,newspaper:xf,"no-symbol":Uc,note:Hc,nudge:ac,"nudge-x":dc,"nudge-y":Qc,"numbered-list":Fc,opacity:sc,"own-text":uc,package:ec,"package-open":fc,"padding-all":_t,"padding-bottom":oc,"padding-left":ic,"padding-left-right":cc,"padding-right":Vt,"padding-top":yt,"padding-x":vt,"padding-y":zt,page:Et,"paint-brush":Gr,palette:Tt,"panel-left":It,"panel-right":Dt,"paragraph-spacing":Pt,parcel:ec,paste:nh,"paste-style":Lt,pause:Gt,pen:Ct,people:Nt,percent:Kt,phone:jt,"phone-hidden":ft,placement:lt,play:Qt,"plus-minus":it,power:st,"presentation-chart-bar":ut,print:kt,product:ot,"product-field":zm,"product-size":rt,progress:tt,quote:Om,"radio-dot":Vm,radius:ym,receipt:Wm,"receipt-percent":Gm,"receipt-refund":Am,"rectangle-group":Vi,redo:Ym,refresh:Um,remove:Hm,"remove-circle":Hm,rename:ip,reply:Zm,"reply-all":Xm,revert:Qm,robot:Fm,rotate:Jm,scale:hm,"scroll-point":fm,"scroll-text":Pp,search:lm,"select-all":mm,send:nm,"separator-slash":pm,"separator-triangle":xo,server:qo,settings:$o,shadow:rm,"shape-ellipse":To,"shape-rect":Io,share:So,shared:wo,"shield-check":Lo,"shield-exclamation":Go,"sides-each":Ao,signal:Mo,"signal-slash":Yo,sitemap:Ro,"slide-arrows-bare":Rh,"slide-arrows-round":Do,"slide-arrows-square":Po,"slide-picker-bar":ao,"slide-picker-cards":bo,"slide-picker-dots":Co,"slide-picker-numbers":No,"slide-picker-squares":so,sort:ho,sparkles:_r,speaker:oo,"speaker-wave":oo,"spec-table":to,split:io,square:Vr,star:xr,state:qr,"status-circle":$r,"status-dot":Er,sticky:Tr,"stop-circle":Ir,store:Hr,strike:Xr,styles:Gr,subscript:Ar,"success-burst":Z,sun:Nr,superscript:Mr,swap:Rr,swatch:As,table:Dr,tablet:jr,tabs:lr,tag:Qr,target:nr,team:pr,telephone:hr,template:Tf,"text-color":fr,"text-lines":ye,"text-size":$,"text-small":rr,"text-value":mr,texture:cr,theme:As,ticket:Ne,title:Ks,trash:w,trigger:$f,truck:v,tv:g,type:W,tyre:Y,underline:B,undo:U,upload:H,"v-align":X,verified:Z,"video-off":Q,"view-columns":F,wallet:J,warning:K,weight:k,wheel:nr,widgets:e,width:a,window:d,windows:t,"words-from":i,wrap:s,wrench:r,"wrench-screwdriver":h,"zoom-in":m,"brand-facebook":_k,"brand-instagram":of,"brand-line":tf,"brand-linkedin":nf,"brand-pinterest":Vk,"brand-telegram":yk,"brand-tiktok":vk,"brand-wechat":zk,"brand-whatsapp":Wk,"brand-x":Yk,"brand-youtube":Bk},"user-circle":{account:xj},"user-group":{people:Jt}}};export{ta as efficientLookNames,ca as efficientLooks};
@@ -1,9 +0,0 @@
1
- import{AccessibleTable as e}from"./chunk-5PP435FL.js";import{bumpPath as t}from"./chunk-VFC6QUEN.js";import{useHighlight as n}from"./chunk-CNYAHYE6.js";import{ChartTooltip as o}from"./chunk-36VIGB6J.js";import{usePlotWidth as l}from"./chunk-MAFUXCPZ.js";import{resolveSeriesColor as r,CHART_INK as a}from"./chunk-TZFACUMR.js";import{useShellStrings as i,useShellLocale as s}from"./chunk-GDQJBQ5B.js";import{formatPlain as h}from"./chunk-C3QOHMR6.js";import{useRef as c,useState as m}from"react";import{jsx as d,jsxs as u}from"react/jsx-runtime";function f({nodes:f,links:k,height:p=320,width:x,nodeWidth:g=14,nodePadding:y=12,formatValue:v,className:M,emptyLabel:w}){const b=i().charts,j=s(),$=v??(e=>h(e,j)),N=w??b.noFlows,F=c(null),C=l(F),E=x??C,[A,B]=m(null),{highlighted:P}=n();if(0===f.length||0===k.length)/* @__PURE__ */
2
- return d("div",{className:M,ref:F,children:/* @__PURE__ */d("p",{className:"py-8 text-center text-sm text-gray-500",children:N})});const Q=[...new Set(f.map(e=>e.depth))].sort((e,t)=>e-t),z=e=>Q.length<=1?0:Q.indexOf(e)/(Q.length-1)*(E-g-140)+70,L=new Map(f.map(e=>{const t=k.filter(t=>t.from===e.key).reduce((e,t)=>e+t.value,0),n=k.filter(t=>t.to===e.key).reduce((e,t)=>e+t.value,0);return[e.key,Math.max(t,n,e.value??0)]})),O=/* @__PURE__ */new Map;for(const e of f)O.set(e.depth,[...O.get(e.depth)??[],e]);const U=Math.max(...[...O.values()].map(e=>e.reduce((e,t)=>e+(L.get(t.key)??0),0))),V=p-20,G=U>0?(V-y*(Math.max(...[...O.values()].map(e=>e.length))-1))/U:0,H=/* @__PURE__ */new Map;for(const[e,t]of O){const n=t.map(e=>Math.max(2,(L.get(e.key)??0)*G)),o=n.reduce((e,t)=>e+t,0)+y*(t.length-1),l=n.reduce((e,t)=>e+Math.max(0,t-2),0),r=o>V&&l>0?Math.max(0,1-(o-V)/l):1;let a=10;t.forEach((t,o)=>{const l=2+Math.max(0,n[o]-2)*r;H.set(t.key,{x:z(e),y:a,h:l,index:o}),a+=l+y})}const J=/* @__PURE__ */new Map,R=/* @__PURE__ */new Map,S=/* @__PURE__ */new Map,T=(e,t)=>e.from===t||e.to===t,W="link"===A?.kind?k[A.index]:void 0,Y="node"===A?.kind?f.find(e=>e.key===A.key):void 0;/* @__PURE__ */
3
- return u("div",{className:`relative ${M??""}`,ref:F,children:[
4
- /* @__PURE__ */u("svg",{width:"100%",height:p,viewBox:`0 0 ${E} ${p}`,role:"img","aria-label":b.sankey(f.length,k.length),onMouseLeave:()=>B(null),children:[k.map((e,n)=>{const o=H.get(e.from),l=H.get(e.to);if(!o||!l)return null;const a=Math.max(1,e.value*G),i=o.y+(J.get(e.from)??0)+a/2,s=l.y+(R.get(e.to)??0)+a/2;J.set(e.from,(J.get(e.from)??0)+a),R.set(e.to,(R.get(e.to)??0)+a);const h=o.x+g,c=l.x,m=r(o.index,e.color),u=`${e.from}→${e.to}`,f=S.get(u)??0;S.set(u,f+1);const k=((e,t)=>A?"link"===A.kind?A.index===t:T(e,A.key):null!==P?T(e,P):null)(e,n);/* @__PURE__ */
5
- return d("path",{d:t([[h,i],[c,s]]),fill:"none",stroke:m,strokeWidth:a,strokeOpacity:null===k||k?.42:.12,onMouseEnter:()=>B({kind:"link",index:n})},f?`${u}#${f}`:u)}),f.map(e=>{const t=H.get(e.key);if(!t)return null;const n=t.x>E/2,o=(l=e.key,A?"node"===A.kind?A.key===l:T(k[A.index],l):null!==P?P===l:null);var l;/* @__PURE__ */
6
- return u("g",{opacity:null===o||o?1:.45,onMouseEnter:()=>B({kind:"node",key:e.key}),children:[
7
- /* @__PURE__ */d("rect",{x:t.x,y:t.y,width:g,height:t.h,rx:2,fill:r(t.index,e.color,e.tone)}),
8
- /* @__PURE__ */d("text",{x:n?t.x-8:t.x+g+8,y:t.y+t.h/2+4,textAnchor:n?"end":"start",fontSize:11,fill:a.label,children:e.label})]},e.key)})]}),W&&/* @__PURE__ */d("div",{className:"pointer-events-none absolute top-2 left-2 z-10",children:/* @__PURE__ */d(o,{title:`${W.from} → ${W.to}`,rows:[{key:"value",label:b.flow,color:r(H.get(W.from)?.index??0,W.color),value:$(W.value)}]})}),Y&&/* @__PURE__ */d("div",{className:"pointer-events-none absolute top-2 left-2 z-10",children:/* @__PURE__ */d(o,{title:Y.label,rows:[{key:"value",label:b.throughput,color:r(H.get(Y.key)?.index??0,Y.color,Y.tone),value:$(L.get(Y.key)??0)}]})}),
9
- /* @__PURE__ */d(e,{caption:b.sankey(f.length,k.length),head:[b.tableFrom,b.tableTo,b.value],rows:k.map(e=>[e.from,e.to,$(e.value)])})]})}export{f as SankeyChart};
@@ -1,2 +0,0 @@
1
- import{ChartTooltip as t}from"./chunk-36VIGB6J.js";import{CartesianPlot as o}from"./chunk-QO5E33DH.js";import{binValues as r}from"./chunk-2JWPNR2U.js";import{resolveSeriesColor as a}from"./chunk-TZFACUMR.js";import{useShellStrings as e,useShellLocale as i}from"./chunk-GDQJBQ5B.js";import{formatPlain as m,formatFixed as n}from"./chunk-C3QOHMR6.js";import{jsx as l}from"react/jsx-runtime";function c({values:c,bins:s=10,precomputed:h,height:u=220,width:p,color:b,tone:f,formatBound:d,formatCount:x,yAxisLabel:g,label:k,className:y,emptyLabel:j}){const v=e().charts,w=i(),A=d??(t=>Number.isInteger(t)?m(t,w):n(t,1,w)),L=x??(t=>m(t,w)),B=g??v.countAxis,M=k??v.distribution,N=h??r(c??[],s),Q=a(0,b,f),C=N.map(t=>A(t.from)),J=N.map(t=>t.count);/* @__PURE__ */
2
- return l(o,{labels:C,values:J,height:u,width:p,bandPadding:0,xTickAnchor:"start",formatValue:L,yAxisLabel:B,className:y,emptyLabel:j,ariaLabel:v.histogram(M,N.length,(c??[]).length),tooltip:o=>/* @__PURE__ */l(t,{title:`${A(N[o].from)} – ${A(N[o].to)}`,rows:[{key:"count",label:v.observations,color:Q,value:L(N[o].count)}]}),children:({x:t,y:o,bottom:r,active:a})=>/* @__PURE__ */l("g",{children:N.map((e,i)=>/* @__PURE__ */l("rect",{x:t(i)+.5,y:o(e.count),width:Math.max(1,t.bandwidth-1),height:Math.max(0,r-o(e.count)),fill:Q,fillOpacity:null===a||a===i?.85:.42},i))})})}export{c as HistogramChart};
@@ -1 +0,0 @@
1
- var r="10.24.0",a=r;export{a as APP_VERSION,r as VERSION};
@@ -1,7 +0,0 @@
1
- import{squarify as e}from"./chunk-46BYGPGD.js";import{AccessibleTable as t}from"./chunk-5PP435FL.js";import{useHighlight as l}from"./chunk-CNYAHYE6.js";import{ChartTooltip as a}from"./chunk-36VIGB6J.js";import{usePlotWidth as r}from"./chunk-MAFUXCPZ.js";import{resolveSeriesColor as i,CHART_INK as o}from"./chunk-TZFACUMR.js";import{useShellStrings as n,useShellLocale as m}from"./chunk-GDQJBQ5B.js";import{formatPlain as h}from"./chunk-C3QOHMR6.js";import{useRef as c,useState as u}from"react";import{jsx as s,jsxs as f}from"react/jsx-runtime";function p({items:p,height:d=320,width:v,gap:x=2,radius:g=3,formatValue:y,color:k,className:b,emptyLabel:j}){const w=n().charts,M=m(),N=y??(e=>h(e,M)),B=j??w.nothingToBreakDown,$=c(null),C=r($),F=v??C,[G,P]=u(null),{highlighted:z}=l(),A=e(p,F,d);if(0===A.length)/* @__PURE__ */
2
- return s("div",{className:b,ref:$,children:/* @__PURE__ */s("p",{className:"py-8 text-center text-sm text-gray-500",children:B})});const D=k??i(0),L=Math.max(...A.map(e=>e.value),1),Q=e=>34+e/L*62,V=e=>`color-mix(in oklab, ${D} ${Q(e).toFixed(0)}%, ${o.surface})`,Y=e=>Q(e)>=55?o.surface:o.label,E=G??z,H=G?A.find(e=>e.key===G):void 0;/* @__PURE__ */
3
- return f("div",{className:`relative ${b??""}`,ref:$,children:[
4
- /* @__PURE__ */s("svg",{width:"100%",height:d,viewBox:`0 0 ${F} ${d}`,role:"img","aria-label":w.treemap(p.length),onMouseLeave:()=>P(null),children:A.map(e=>{const t=Math.max(0,e.width-x),l=Math.max(0,e.height-x),a=t>6.2*e.label.length+12&&l>30,r=a&&l>44;/* @__PURE__ */
5
- return f("g",{opacity:E&&E!==e.key?.55:1,onMouseEnter:()=>P(e.key),children:[
6
- /* @__PURE__ */s("rect",{x:e.x+x/2,y:e.y+x/2,width:t,height:l,rx:g,fill:V(e.value)}),a&&/* @__PURE__ */s("text",{x:e.x+x/2+8,y:e.y+x/2+18,fontSize:12,fontWeight:600,fill:Y(e.value),children:e.label}),r&&/* @__PURE__ */s("text",{x:e.x+x/2+8,y:e.y+x/2+34,fontSize:11,fill:Y(e.value),fillOpacity:.85,style:{fontVariantNumeric:"tabular-nums"},children:N(e.value)})]},e.key)})}),H&&/* @__PURE__ */s("div",{className:"pointer-events-none absolute top-2 left-2 z-10",children:/* @__PURE__ */s(a,{title:H.label,rows:[{key:"value",label:w.value,color:V(H.value),value:N(H.value)}]})}),
7
- /* @__PURE__ */s(t,{caption:w.treemap(p.length),head:[w.tableItem,w.value],rows:A.map(e=>[e.label,N(e.value)])})]})}export{p as TreemapChart};
@@ -1,12 +0,0 @@
1
- import{nextEnabledIndex as e}from"./chunk-EO5RLFRX.js";import{flattenOptionItems as t,filterOptionItems as n,optionMatches as r,groupedRows as l,OptionCheck as o,OptionSublabel as i}from"./chunk-LJN77RG6.js";import{INPUT_BASE_ON as a,INPUT_BASE as s}from"./chunk-AYZY3YNC.js";import{Button_default as u}from"./chunk-EOVXFXVV.js";import{LoadingSpinner as c}from"./chunk-R2VKEMZH.js";import{Tooltip as d}from"./chunk-NJN5IKWO.js";import{onOverlayOpen as h}from"./chunk-PGN5ME7B.js";import{Z_LAYERS as p}from"./chunk-62LW225J.js";import{useDropdownPosition as m,MENU_MAX_HEIGHT as f}from"./chunk-GLUJS42B.js";import{useBrowserLayoutEffect as b}from"./chunk-D65T4H6J.js";import{GLASS_DIVIDER as g,glassStyle as v}from"./chunk-5FYDNH4Y.js";import{registerModalEscapeInterceptor as y}from"./chunk-TWVUQUUD.js";import{useShellStrings as w}from"./chunk-GDQJBQ5B.js";import{useState as x,useId as k,useRef as N,useMemo as $,useEffect as j}from"react";import{createPortal as D}from"react-dom";import{jsxs as C,jsx as S}from"react/jsx-runtime";function W(e,t){const n=e.length;if(0===n||t(e.join(", ")))return{shown:n,cut:!1};if(1===n)return{shown:1,cut:!0};let r=0;for(let l=1;l<n&&t(`${e.slice(0,l).join(", ")} +${n-l}`);l+=1)r=l;return{shown:r,cut:!1}}function L({onClear:e,ariaLabel:t}){/* @__PURE__ */
2
- return S("button",{type:"button","aria-label":t,onMouseDown:t=>{t.preventDefault(),t.stopPropagation(),e()},className:"absolute right-2 top-1/2 -translate-y-1/2 text-gray-400 hover:text-red-500 opacity-0 group-hover:opacity-100 transition-opacity text-base leading-none",children:"×"})}function R(R){const{options:E,placeholder:F,emptyOptionLabel:M,className:z="",disabled:O,id:T,filter:A=!1,allowFreeText:B=!1,freeTextOption:J,onSearchChange:H,loading:I=!1,error:U,onRetry:V,rightAdornment:Y,renderOption:G,clearable:K=!0,"aria-label":Q,"aria-labelledby":X,"aria-describedby":P}=R,Z=!0===R.multiple,q=R.multiple?R.value:R.value?[R.value]:[],_=R.multiple?"":R.value,ee=e=>{R.multiple?R.onChange(e):R.onChange(e[0]??"")},te=q.length>0,ne=A&&te&&!O,re=Z||A,le=null!=J,oe=B||le,[ie,ae]=x(!1),[se,ue]=x(-1),ce=k(),de=T??`${ce}-input`,he=`${ce}-listbox`,pe=e=>`${ce}-opt-${e}`,[me,fe]=x(""),be=w(),ge=M??be.select.none,ve=e=>{fe(e),ue(-1),H?.(e)},ye=N(null),we=N(null),xe=N(null),ke=N(null),Ne=N(ie);Ne.current=ie;const $e=N(!1),je=e=>{Ne.current&&(Ne.current=!1,e&&B&&!le&&Ke&&(Z?q.includes(Ke)||ee([...q,Ke]):Ke!==_&&ee([Ke])),ae(!1),ve(""))},De=(e,t)=>{if(!e.disabled){if(Z)return ee(q.includes(e.value)?q.filter(t=>t!==e.value):[...q,e.value]),void(e===Qe?ve(""):ue(t));ee([e.value]),je(!1)}},[Ce,Se]=x(null);b(()=>{if(!Y||ie)return void Se(null);const e=ke.current?.offsetWidth??0;Se(e?e+(Me?32:8)+6:null)});const We=m(we,ie,re?{popupRef:xe}:{matchTriggerWidth:!0}),Le=$(()=>t(E),[E]),Re=q.join("\0"),Ee=$(()=>{const e=[],t=/* @__PURE__ */new Set;for(const n of Le)q.includes(n.value)&&!t.has(n.value)&&(t.add(n.value),e.push(n.label));if(oe)for(const n of q)t.has(n)||e.push(n);return e},[Le,Re,oe]),Fe=Ee.join(", "),Me=K&&te&&!O,[ze,Oe]=x(null),Te=N(null),Ae=N(""),Be=N(()=>{});Be.current=()=>{const e=we.current,t=Te.current;if(!Z||!e||!t)return;const n=getComputedStyle(e),r=e.clientWidth-(parseFloat(n.paddingLeft)||0)-(parseFloat(n.paddingRight)||0),l=[n.fontStyle,n.fontWeight,n.fontSize,n.fontFamily,n.letterSpacing].join("|"),o=`${r}|${l}|${Ee.join("\0")}`;if(o===Ae.current)return;Ae.current=o;let i=null;r>0&&Ee.length>0&&(t.style.fontStyle=n.fontStyle,t.style.fontWeight=n.fontWeight,t.style.fontSize=n.fontSize,t.style.fontFamily=n.fontFamily,t.style.letterSpacing=n.letterSpacing,i=W(Ee,e=>(t.textContent=e,t.getBoundingClientRect().width<=r)),t.textContent=""),Oe(e=>e?.shown===i?.shown&&e?.cut===i?.cut?e:i)},b(()=>{Be.current()}),j(()=>{const e=we.current;if(!Z||!e||"undefined"==typeof ResizeObserver)return;const t=new ResizeObserver(()=>Be.current());return t.observe(e),()=>t.disconnect()},[Z]);const Je=Ee.length,He=!Z||!ze||ze.shown>=Je?Fe:0===ze.shown?be.select.selectedCount(Je):`${Ee.slice(0,ze.shown).join(", ")} +${Je-ze.shown}`,Ie=Z&&null!==ze&&(ze.shown<Je||ze.cut),Ue=ie&&te&&re;j(()=>{if(!ie)return;const e=e=>{const t=e.target;ye.current?.contains(t)||xe.current?.contains(t)||je(!0)};document.addEventListener("mousedown",e);const t=h(()=>je(!0));return()=>{document.removeEventListener("mousedown",e),t()}},[ie,B,me,Re,R.onChange]),j(()=>{if(ie)return y(e=>!("Escape"!==e.key||!Ne.current)&&(je(!1),we.current?.blur(),!0),()=>xe.current)},[ie]);const Ve=$(()=>{const e=/* @__PURE__ */new Set;return n(E,t=>!e.has(t.value)&&(e.add(t.value),!0))},[E]),Ye=$(()=>{if(H)return Ve;const e=me.trim().toLowerCase();return e?n(Ve,t=>r(t,e)):Ve},[Ve,me,H]),Ge=$(()=>t(Ye),[Ye]),Ke=me.trim(),Qe=$(()=>le&&Ke?Le.some(e=>e.label===Ke)||q.includes(Ke)?null:{value:Ke,label:Ke}:null,[le,Ke,Le,Re]),Xe=$(()=>Qe?[...Ge,Qe]:Ge,[Ge,Qe]);/* @__PURE__ */
3
- return C("div",{ref:ye,className:"relative group",onBlur:e=>{const t=e.relatedTarget;t&&(ye.current?.contains(t)||xe.current?.contains(t))||$e.current||document.activeElement!==we.current&&je(!0)},children:[(Pe=/* @__PURE__ */S("input",{id:de,ref:we,type:"text",autoComplete:"off",role:"combobox","aria-expanded":ie,"aria-haspopup":"listbox","aria-autocomplete":"list","aria-controls":ie?he:void 0,"aria-activedescendant":ie&&se>=0&&se<Xe.length?pe(se):void 0,"aria-label":X?void 0:Q,"aria-labelledby":X,"aria-describedby":P,value:ie?me:He,onChange:e=>{ve(e.target.value),ae(!0)},onFocus:()=>{O||(ve(""),ae(!0))},onKeyDown:t=>{if("ArrowDown"===t.key||"ArrowUp"===t.key){if(O)return;if(t.preventDefault(),!ie)return void ae(!0);if(0===Xe.length)return;const n="ArrowDown"===t.key?1:-1;return void ue(t=>e(Xe,t,n))}"Enter"===t.key?(t.preventDefault(),ie&&se>=0&&se<Xe.length?De(Xe[se],se):1!==Ge.length||Ge[0].disabled?B&&!le&&Ke&&(Z?(q.includes(Ke)||ee([...q,Ke]),ve("")):(ee([Ke]),je(!1),we.current?.blur())):De(Ge[0],0)):"Escape"===t.key?(je(!1),we.current?.blur()):"Tab"===t.key&&je(!0)},placeholder:Ue?He:F||ge,className:`${ne?a:s} ${z} ${Me?"pr-8":""} ${O?"bg-surface-sunken text-ink-faintest cursor-not-allowed":""} truncate${Ue?" rosh-field-shows-choice":""}`,style:Ce?{paddingRight:Ce}:void 0,disabled:O}),Z?/* @__PURE__ */S(d,{content:!ie&&Ie?Fe:null,className:"block",children:Pe}):Pe),Z&&
4
- /* @__PURE__ */S("div",{"aria-hidden":"true",className:"pointer-events-none invisible absolute left-0 top-0 h-0 w-0 overflow-hidden",children:/* @__PURE__ */S("span",{ref:Te,className:"whitespace-pre"})}),Me&&/* @__PURE__ */S(L,{ariaLabel:be.select.clear,onClear:()=>{ee([]),je(!1)}}),Y&&!ie&&/* @__PURE__ */S("div",{ref:ke,className:`absolute top-1/2 -translate-y-1/2 ${Me?"right-8":"right-2"} flex items-center gap-1 flex-nowrap justify-end pointer-events-none`,children:Y}),ie&&D(
5
- /* @__PURE__ */C("div",{ref:xe,onMouseDownCapture:()=>{$e.current=!0,setTimeout(()=>{$e.current=!1},0)},className:"fixed rounded-(--radius-popup) overflow-hidden",style:{zIndex:p.popup,left:We?.left,right:We?.right,top:We?.top,bottom:We?.bottom,minWidth:We?.minWidth,width:We?.width,...re&&{maxWidth:We?.maxWidth},visibility:We?void 0:"hidden",...v()},children:[Z&&te&&K&&!O&&
6
- /* @__PURE__ */S("button",{type:"button",tabIndex:-1,onMouseDown:e=>{e.preventDefault(),ee([])},className:`block w-full text-left px-3 min-h-(--row-height-menu) py-2 leading-5 text-sm text-gray-600 hover:bg-row-hover border-b ${g}`,children:be.select.clearAll}),I?
7
- /* @__PURE__ */S(c,{size:"sm",padding:"py-2",label:be.search.searching}):U?/* @__PURE__ */C("div",{role:"alert",className:"flex items-center gap-2 px-3 py-2 text-sm text-red-600",children:[
8
- /* @__PURE__ */S("span",{className:"min-w-0 flex-1",children:U}),V&&/* @__PURE__ */S(u,{variant:"link",size:"sm",onMouseDown:e=>e.preventDefault(),onClick:V,className:"shrink-0",children:be.list.retry})]}):null,
9
- /* @__PURE__ */C("div",{id:he,role:Xe.length?"listbox":void 0,"aria-labelledby":Xe.length?X??(Q?void 0:de):void 0,"aria-label":Xe.length&&!X?Q:void 0,"aria-multiselectable":!(!Xe.length||!Z)||void 0,className:"overflow-y-auto",style:{maxHeight:We?.maxHeight??f},children:[0===Xe.length?I||U?null:/* @__PURE__ */S("p",{className:"px-3 py-3 text-sm text-ink-faintest text-center",children:be.select.noMatches}):0===Ge.length?null:l(Ye,(e,t)=>{const n=q.includes(e.value);/* @__PURE__ */
10
- return C("button",{id:pe(t),type:"button",role:"option","aria-selected":n,"aria-disabled":e.disabled||void 0,tabIndex:-1,onMouseDown:n=>{(e.disabled||Z)&&n.preventDefault(),De(e,t)},className:"w-full overflow-hidden text-left px-3 min-h-(--row-height-menu) py-2 text-sm flex items-center justify-between gap-2 whitespace-nowrap "+(e.disabled?"cursor-not-allowed text-gray-400":`hover:bg-gray-50 ${n?"text-blue-600 font-medium":"text-gray-700"} ${t===se?"bg-gray-100":n?"bg-blue-50/50":""}`),children:[Z&&/* @__PURE__ */S(o,{selected:n}),
11
- /* @__PURE__ */S("span",{className:`min-w-0 ${re?"flex-auto":"flex-1"} truncate`,children:G?G(e,{selected:n,active:t===se}):e.label}),e.sublabel&&/* @__PURE__ */S(i,{grows:re,children:e.sublabel})]},e.value)},ce),Qe&&J&&
12
- /* @__PURE__ */S("button",{id:pe(Ge.length),type:"button",role:"option","aria-selected":!1,tabIndex:-1,onMouseDown:e=>{Z&&e.preventDefault(),De(Qe,Ge.length)},className:`w-full overflow-hidden text-left px-3 min-h-(--row-height-menu) py-2 text-sm flex items-center gap-2 whitespace-nowrap text-ink hover:bg-row-hover ${Ge.length?`border-t ${g}`:""} ${se===Ge.length?"bg-gray-100":""}`,children:/* @__PURE__ */S("span",{className:"min-w-0 flex-1 truncate",children:J(Qe.value)})},`${ce}-typed`)]})]}),document.body)]});var Pe}export{R as SearchableSelect,W as fitChoice};
@@ -1,8 +0,0 @@
1
- import{optionMatches as e,OptionSublabel as t}from"./chunk-LJN77RG6.js";import{inputClasses as n}from"./chunk-AYZY3YNC.js";import{GROUP_COLORS as o}from"./chunk-FZM3ZPW3.js";import{Tooltip as r}from"./chunk-NJN5IKWO.js";import{onOverlayOpen as l}from"./chunk-PGN5ME7B.js";import{Z_LAYERS as i}from"./chunk-62LW225J.js";import{useDropdownPosition as s,POPUP_MAX_WIDTH as a,MENU_MAX_HEIGHT as c}from"./chunk-GLUJS42B.js";import{glassStyle as u}from"./chunk-5FYDNH4Y.js";import{useShellStrings as d}from"./chunk-GDQJBQ5B.js";import{useState as m,useRef as h,useMemo as p,useEffect as f}from"react";import{createPortal as v}from"react-dom";import{jsxs as g,jsx as x,Fragment as b}from"react/jsx-runtime";var w={accent:{chip:"inline-flex max-w-full items-center gap-1 rounded bg-accent-tint px-2 py-0.5 text-xs font-medium text-blue-700",remove:"text-blue-400 hover:text-red-500 rosh-focus-ring focus-visible:ring-1 focus-visible:ring-[color:var(--rosh-focus-ring-deep)] rounded leading-none"},danger:{chip:`inline-flex max-w-full items-center gap-1 rounded ${o.danger} px-2 py-0.5 text-xs font-medium`,remove:"text-current opacity-70 hover:opacity-100 rosh-focus-ring focus-visible:ring-1 focus-visible:ring-[color:var(--rosh-focus-ring-deep)] rounded leading-none"}};function y({value:o,onChange:y,options:k=[],placeholder:N,allowFreeText:j=!1,invalid:C,disabled:L,id:D,className:W="",tone:B,tooltip:E,split:J}){const[M,Y]=m(!1),[$,F]=m(""),G=d(),H=h(null),I=h(null),S=h(null),Z=s(H,M),K=e=>k.find(t=>t.value===e)?.label??e,P=p(()=>{const t=new Set(o),n=[],r=$.trim().toLowerCase();for(const o of k)t.has(o.value)||(t.add(o.value),r&&!e(o,r)||n.push(o));return n},[k,o,$]),Q=e=>{const t=[...o];for(const n of e){const e=n.trim();if(!e)continue;const o=e.toLowerCase(),r=k.find(t=>t.value===e||t.label.toLowerCase()===o)?.value,l=r??(j?e:null);l&&!t.includes(l)&&t.push(l)}t.length!==o.length&&y(t)},T=e=>{e&&!o.includes(e)?(y([...o,e]),F("")):F("")},z=e=>y(o.filter(t=>t!==e)),A=()=>{const e=$.trim();if(J&&e)return Q(e.split(J)),void F("");j&&e?T(e):F("")},O=h(()=>{});O.current=()=>{A(),Y(!1)},f(()=>{if(!M)return;const e=e=>{const t=e.target;H.current?.contains(t)||S.current?.contains(t)||(A(),Y(!1))};document.addEventListener("mousedown",e);const t=l(()=>O.current());return()=>{document.removeEventListener("mousedown",e),t()}});const R=k.length>0;/* @__PURE__ */
2
- return g("div",{ref:H,className:"relative",children:[
3
- /* @__PURE__ */g("div",{onMouseDown:e=>{L||e.target.closest("button")||(e.preventDefault(),I.current?.focus())},className:n({invalid:C,multiline:!0,className:`flex flex-wrap items-center gap-1 cursor-text focus-within:border-blue-400 has-focus-visible:ring-2 has-focus-visible:ring-[color:var(--rosh-focus-ring)] ${L?"bg-gray-50 cursor-not-allowed":""} ${W}`}),children:[o.map(e=>{const t=B?.(e),n=w[t??"accent"],o=/* @__PURE__ */g("span",{"data-tone":t,className:n.chip,children:[
4
- /* @__PURE__ */x("span",{className:"truncate",children:K(e)}),!L&&/* @__PURE__ */x("button",{type:"button","aria-label":G.select.removeItem?.(K(e))??`${G.select.remove} ${K(e)}`,onClick:()=>z(e),className:n.remove,children:"×"})]},e),l=E?.(e);return null==l?o:/* @__PURE__ */x(r,{content:l,className:"relative inline-flex max-w-full",children:o},e)}),
5
- /* @__PURE__ */x("input",{id:D,ref:I,type:"text",autoComplete:"off",role:"combobox","aria-expanded":M&&R,"aria-invalid":C||void 0,disabled:L,value:$,placeholder:0===o.length?N:void 0,onChange:e=>{(e=>{if(J){const t=e.split(J);if(t.length>1)return Q(t.slice(0,-1)),void F(t[t.length-1])}F(e)})(e.target.value),Y(!0)},onFocus:()=>{!L&&R&&Y(!0)},onKeyDown:t=>{if("Enter"===t.key||","===t.key&&j){t.preventDefault();const n=$.trim(),o=n?P.filter(t=>e(t,n.toLowerCase())):[];1===o.length?T(o[0].value):A()}else"Backspace"===t.key&&""===$&&o.length>0?z(o[o.length-1]):"Escape"===t.key?(Y(!1),F(""),I.current?.blur()):"Tab"===t.key&&(A(),Y(!1))},className:"min-w-[8ch] flex-1 border-none bg-transparent p-0 text-sm text-ink-strong placeholder:text-[color:var(--ink-placeholder)] rosh-focus-ring focus-visible:ring-0 disabled:cursor-not-allowed"})]}),M&&R&&v(
6
- /* @__PURE__ */x("div",{ref:S,className:"fixed rounded-(--radius-popup) overflow-hidden",style:{zIndex:i.popup,left:Z?.left,right:Z?.right,top:Z?.top,bottom:Z?.bottom,minWidth:Z?.minWidth,maxWidth:Z?.maxWidth??a,width:"max-content",visibility:Z?void 0:"hidden",...u()},children:/* @__PURE__ */x("div",{className:"overflow-y-auto",style:{maxHeight:Z?.maxHeight??c},children:0===P.length?/* @__PURE__ */x("p",{className:"px-3 py-3 text-sm text-gray-400 text-center",children:k.length>0&&o.length>=k.length?G.select.allSelected:G.select.noMatches}):P.map(e=>/* @__PURE__ */x("button",{type:"button",onMouseDown:t=>{t.preventDefault(),T(e.value)},className:e.sublabel?"w-full text-left px-3 min-h-(--row-height-menu) py-2 text-sm hover:bg-row-hover text-ink whitespace-nowrap flex items-center justify-between gap-3":"w-full text-left px-3 min-h-(--row-height-menu) py-2 leading-5 text-sm hover:bg-row-hover text-ink whitespace-nowrap",children:e.sublabel?/* @__PURE__ */g(b,{children:[
7
- /* @__PURE__ */x("span",{className:"min-w-0 truncate",children:e.label}),
8
- /* @__PURE__ */x(t,{grows:!0,children:e.sublabel})]}):e.label},e.value))})}),document.body)]})}export{y as TagInput};
@@ -1 +0,0 @@
1
- var r=[9,11,12,14,16,18,20,24,30],n={body:400,control:500,heading:600,figure:700},o={fast:120,base:160},e={entrance:600,countUp:1400,loop:5e4},a={short:.6,normal:1,long:1.6},t={arrive:"cubic-bezier(0.22, 1, 0.36, 1)",loop:"linear"};function i(r,n="normal"){return Math.round(e[r]*a[n])}var c={hairline:1,strong:2,accent:4};export{c as BORDER_WIDTHS,n as FONT_WEIGHTS,o as MOTION_DURATIONS,e as PAGE_MOTION_DURATIONS,t as PAGE_MOTION_EASING,a as PAGE_MOTION_STEPS,r as TYPE_SCALE,i as pageMotionMs};
@@ -1,2 +0,0 @@
1
- import{buttonClasses as e}from"./chunk-UQYNPYF4.js";import{isAriaDisabled as a,swallowPress as r,describedByWith as i,OffWithReason as s}from"./chunk-TE6R53YD.js";import{SpinnerRing as l}from"./chunk-R2VKEMZH.js";import{forwardRef as d,useId as n}from"react";import{jsxs as t,jsx as c}from"react/jsx-runtime";var o=d(function({variant:d="primary",size:o="md",loading:m=!1,leftIcon:p,rightIcon:b,block:f=!1,disabled:u,type:h="button",children:k,className:x="",disabledReason:N,onClick:y,pressed:v,"aria-disabled":g,"aria-describedby":j,...R},Y){const w=n(),z=u||m,C=null!=N&&""!==N,E=z&&C,I=!z&&a(g),D=I&&C,F=E||D?w:void 0,H=/* @__PURE__ */t("button",{ref:Y,type:h,disabled:z,"aria-busy":m||void 0,"aria-disabled":!!I||g,"aria-describedby":i(j,F),onClick:I?r:y,className:e({variant:d,size:o,block:f,pressed:v??(!0===R["aria-pressed"]||"true"===R["aria-pressed"]),className:x}),...R,children:[m?/* @__PURE__ */c(l,{className:"h-3.5 w-3.5",ink:""}):p,k,!m&&b]});return D?/* @__PURE__ */c(s,{reason:N,id:w,block:f,children:H}):E?/* @__PURE__ */t("span",{className:f?"flex w-full flex-col gap-1":"inline-flex flex-col items-start gap-1",children:[H,
2
- /* @__PURE__ */c("span",{id:F,className:"text-xs text-red-600",children:N})]}):H});export{o as Button_default};
@@ -1,6 +0,0 @@
1
- import{TEXT_ALIGNS as e,textAlignWords as l,textAlignIcon as r}from"./chunk-4EZIWLJJ.js";import{IconButton_default as a}from"./chunk-LE5LWALR.js";import{Icon as o}from"./chunk-2UO47XB4.js";import{Tooltip as n}from"./chunk-NJN5IKWO.js";import{useShellStrings as s}from"./chunk-GDQJBQ5B.js";import{jsx as i,jsxs as t,Fragment as d}from"react/jsx-runtime";var c=e=>e.preventDefault(),u=e=>null!=e&&!1!==e,h=["bold","italic","underline","strike","link","sup","sub","code"];function p(e,l,r){const a={ArrowRight:1,ArrowDown:1,ArrowLeft:-1,ArrowUp:-1,Home:"first",End:"last"}[e.key];if(void 0===a||0===l.length)return;const o=[...e.currentTarget.querySelectorAll('[role="radio"]')],n=o.findIndex(l=>l===e.target||l.contains(e.target));if(n<0)return;e.preventDefault();const s=o.length,i="first"===a?0:"last"===a?s-1:(n+a+s)%s;o[i].disabled||(r(l[i]),o[i].focus())}function b(e,l){const r=["bold","italic","underline","strike"].filter(l=>e.has(l)).length;return{color:r,link:r+(l?1:0)}}function m(e,l,r,a){const o=h.filter(l=>"link"!==l&&e.has(l)).length+(l?1:0);return r&&0!==o?a>0?"paragraph":"words":null}function w({offered:l,color:r,last:a,alignment:o,list:n,letterCase:s,clear:i}){let t=h.filter(e=>l.has(e)).length+(r?1:0)+(u(a)?1:0),d=(o?e.filter(e=>o.allow.includes(e)).length:0)+(n&&l.has("bullet")?1:0)+(n&&l.has("number")?1:0)+(l.has("quote")?1:0)+(s?3:0);const c=m(l,r,i,d);return"paragraph"===c&&(d+=1),"words"===c&&(t+=1),{words:t>0,paragraph:d>0,oneRow:t>0&&d>0&&t+1+d<=9,flow:t>0&&d>0&&t+1+d>9&&t<=7,cells:{words:t,paragraph:d}}}function g(e,l){/* @__PURE__ */
2
- return i(n,{content:e,children:l},l.key??void 0)}function f({offered:n,pressed:h,onMark:f,color:k,linkOpen:v=!1,last:N,alignment:C,list:D,letterCase:M,clear:x,disabled:y=!1,"aria-label":L,windows:B,className:j="",layout:A="grid"}){const I=s().textToolbar,q=w({offered:n,color:k,last:N,alignment:C,list:D,letterCase:M,clear:x});if(!q.words&&!q.paragraph)return null;const R=m(n,k,x,q.cells.paragraph),$=(e,l="")=>`rosh-tb-btn${e?" is-on":""}${l?` ${l}`:""}`,J=(e,l,r,o)=>n.has(e)?g(l,/* @__PURE__ */i(a,"link"===e?{pressed:v,className:$(v),"aria-label":l,"aria-haspopup":"dialog","aria-expanded":v,"aria-keyshortcuts":o,disabled:y,onMouseDown:c,onClick:()=>f(e),children:r}:{className:$(Boolean(h[e])),"aria-label":l,"aria-pressed":Boolean(h[e]),"aria-keyshortcuts":o,disabled:y,onMouseDown:c,onClick:()=>f(e),children:r},e)):null,K=l(I),S=e.map(e=>[e,K[e],r(e)]),U=C?e.filter(e=>C.allow.includes(e)):[],E=C&&U.includes(C.value)?C.value:U[0],O=[["none",I.caseNone,/* @__PURE__ */i(o,{name:"case-normal"})],["upper",I.caseUpper,/* @__PURE__ */i(o,{name:"case-upper"})],["lower",I.caseLower,/* @__PURE__ */i(o,{name:"case-lower"})]],T=x&&R?g(I.clear,/* @__PURE__ */i(a,{className:$(!1),"aria-label":I.clear,disabled:y,onMouseDown:c,onClick:x.onClear,children:/* @__PURE__ */i(o,{name:"revert"})},"clear")):null,W=/* @__PURE__ */t(d,{children:[J("bold",I.bold,/* @__PURE__ */i(o,{name:"bold"}),"Meta+B"),J("italic",I.italic,/* @__PURE__ */i(o,{name:"italic"}),"Meta+I"),J("underline",I.underline,/* @__PURE__ */i(o,{name:"underline"}),"Meta+U"),J("strike",I.strike,/* @__PURE__ */i(o,{name:"strike"})),k?g(I.color,/* @__PURE__ */i(a,{pressed:k.open,className:$(k.open,"rosh-tb-color"),"aria-label":I.color,"aria-haspopup":"dialog","aria-expanded":k.open,disabled:y,style:k.run?{"--rosh-tb-run":k.run}:void 0,onMouseDown:c,onClick:k.onToggle,children:/* @__PURE__ */i(o,{name:"text-color"})},"color")):null,J("link",I.link,/* @__PURE__ */i(o,{name:"link"}),"Meta+K"),J("sup",I.sup,/* @__PURE__ */i(o,{name:"superscript"})),J("sub",I.sub,/* @__PURE__ */i(o,{name:"subscript"})),J("code",I.code,/* @__PURE__ */i(o,{name:"code"})),u(N)?N:null,"words"===R?T:null]}),Q=/* @__PURE__ */t(d,{children:[C&&U.length>0?/* @__PURE__ */i("div",{className:"rosh-tb-group",role:"radiogroup","aria-label":I.alignment,onKeyDown:e=>p(e,U,e=>C.onChange(e)),children:S.map(([e,l,r])=>C.allow.includes(e)?g(l,/* @__PURE__ */i(a,{role:"radio",pressed:C.value===e,className:$(C.value===e),"aria-checked":C.value===e,"aria-label":l,tabIndex:e===E?0:-1,disabled:y||C.disabled,onMouseDown:c,onClick:()=>C.onChange(e),children:r},e)):null)}):null,D&&n.has("bullet")?g(I.bullet,/* @__PURE__ */i(a,{className:$("bullet"===D.pressed),"aria-label":I.bullet,"aria-pressed":"bullet"===D.pressed,disabled:y,onMouseDown:c,onClick:()=>D.onList("bullet"),children:/* @__PURE__ */i(o,{name:"list"})},"bullet")):null,D&&n.has("number")?g(I.number,/* @__PURE__ */i(a,{className:$("number"===D.pressed),"aria-label":I.number,"aria-pressed":"number"===D.pressed,disabled:y,onMouseDown:c,onClick:()=>D.onList("number"),children:/* @__PURE__ */i(o,{name:"numbered-list"})},"number")):null,J("quote",I.quote,/* @__PURE__ */i(o,{name:"quote"})),M?/* @__PURE__ */i("div",{className:"rosh-tb-group",role:"radiogroup","aria-label":I.letterCase,onKeyDown:e=>p(e,O.map(([e])=>e),e=>M.onChange(e)),children:O.map(([e,l,r])=>g(l,/* @__PURE__ */i(a,{role:"radio",pressed:M.value===e,className:$(M.value===e),"aria-checked":M.value===e,"aria-label":l,tabIndex:e===(M.value||"none")?0:-1,disabled:y||M.disabled,onMouseDown:c,onClick:()=>M.onChange(M.value===e?"":e),children:r},e)))}):null,"paragraph"===R?T:null]}),G="row"===A,H=G?" is-row":q.flow?" is-flow":q.oneRow?" is-one-row":q.words&&void 0===N&&"words"!==R?" is-eight":"",X=b(n,Boolean(k)),Z={"--rosh-tb-color-col":String(X.color),"--rosh-tb-link-col":String(X.link),...G?{"--rosh-tb-cells":String(q.cells.words+q.cells.paragraph),"--rosh-tb-groupgap":q.words&&q.paragraph?"var(--space-8, 0.5rem)":"0px"}:{}};let z;return z=G?/* @__PURE__ */t("div",{className:"rosh-tb-row is-row",children:[q.words?/* @__PURE__ */i("div",{className:"rosh-tb-words",children:W}):null,q.paragraph?/* @__PURE__ */i("div",{className:"rosh-tb-para",children:Q}):null]}):q.flow?/* @__PURE__ */t("div",{className:"rosh-tb-row is-flow",children:[W,
3
- /* @__PURE__ */i("span",{className:"rosh-tb-flowgap","aria-hidden":"true"}),Q]}):q.oneRow?/* @__PURE__ */t("div",{className:"rosh-tb-row is-one-row",children:[
4
- /* @__PURE__ */i("div",{className:"rosh-tb-words",children:W}),
5
- /* @__PURE__ */i("div",{className:"rosh-tb-para",children:Q})]}):/* @__PURE__ */t(d,{children:[q.words?/* @__PURE__ */i("div",{className:"rosh-tb-row"+(void 0===N&&"words"!==R?" is-eight":""),children:W}):null,q.paragraph?/* @__PURE__ */i("div",{className:"rosh-tb-row",children:Q}):null]}),/* @__PURE__ */t("div",{className:`rosh-tb-wrap${H} ${j}`.trim(),style:Z,children:[
6
- /* @__PURE__ */i("div",{className:"rosh-tb",role:"toolbar","aria-label":L??I.formatting,children:z}),B]})}export{f as TextToolbar,w as textToolbarRows,b as textToolbarWindowColumns};
@@ -1,28 +0,0 @@
1
- import{useCopyText as e,CopyGlyph as t}from"./chunk-2E2SUEEE.js";import{ItemCount as n}from"./chunk-55AEZX6K.js";import{PopupMenu as r,PopupMenuItem as i,PopupMenuDivider as l}from"./chunk-OTITQ3IH.js";import{Icon as o}from"./chunk-2UO47XB4.js";import{useShellStrings as a}from"./chunk-GDQJBQ5B.js";import{useState as s,useMemo as d,useRef as c,useEffect as u,Fragment as m,useLayoutEffect as f}from"react";import{jsxs as p,jsx as y,Fragment as h}from"react/jsx-runtime";function g(e){const t=[];let n=0;for(;n<e.length;){const r=e[n].group;let i=n;for(;void 0!==r&&i+1<e.length&&e[i+1].group===r;)i++;t.push(i>n?{group:r,start:n,end:i}:{start:n,end:n}),n=i+1}return t}function b(e,t){return e.find(e=>t>=e.start&&t<=e.end)}function k(e,t,n,r){const i=e.findIndex(e=>e.key===t.key);let l=e.findIndex(e=>e.key===n);if(i<0||l<0)return null;const o=g(e),a=b(o,i),s="group"===t.kind&&void 0!==a.group?e.slice(a.start,a.end+1).map(e=>e.key):[t.key];if(s.includes(n))return null;const d=b(o,l);if("tab"===t.kind&&void 0!==a.group){if(d!==a)return null}else void 0!==d.group&&(l="before"===r?d.start:d.end);return{key:e[l].key,side:r,moving:s}}function x(e,t,n,r){const i=k(e,t,n,r);if(!i)return null;const l=e.map(e=>e.key).filter(e=>!i.moving.includes(e)),o=l.indexOf(i.key)+("after"===i.side?1:0),a=[...l.slice(0,o),...i.moving,...l.slice(o)];return a.every((t,n)=>t===e[n].key)?null:a}var v="flex-[0_1_15rem]",w=v,N="outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-500";function C(){/* @__PURE__ */
2
- return y(o,{name:"close",look:"mini","aria-hidden":"true",className:"size-3.5"})}function $({text:n,label:r,copiedLabel:i}){const{copied:l,copy:o}=e(n);/* @__PURE__ */
3
- return y("button",{type:"button",tabIndex:-1,"aria-label":l?i:r,title:l?i:r,onClick:o,className:"flex size-5 shrink-0 items-center justify-center rounded text-gray-400 hover:bg-gray-200 hover:text-gray-700 @max-[10rem]:hidden",children:/* @__PURE__ */y(t,{copied:l,className:"size-3.5"})})}function I({node:e}){const t=c(null);return f(()=>{const n=t.current;if(n)return n.appendChild(e),()=>{e.parentNode===n&&n.removeChild(e)}},[e]),/* @__PURE__ */y("span",{ref:t,className:"ml-1 flex shrink-0 items-center"})}function z({tabs:e,activeKey:t,idFor:f,panelMounted:b,onActivate:z,onClose:j,onCloseMany:D,label:E,className:T,activeClassName:A,end:B,afterPinned:_,onIconMenu:M,menuItems:O,sizing:K="even",tall:R=!1,onReorder:S,groupInfo:L}){const X=a().pageTabs,Q=a().count,[F,H]=s(null),U=R?"h-[34px]":"h-8",W=d(()=>e.map(e=>({key:e.key,group:L?e.group:void 0})),[e,L]),G=d(()=>g(W),[W]),[J,P]=s(()=>/* @__PURE__ */new Set),V=e=>P(t=>{const n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n}),Y=d(()=>{const n=[];for(const r of G)for(let i=r.start;i<=r.end;i++)void 0!==r.group&&J.has(r.group)&&e[i].key!==t||n.push(e[i]);return n},[G,J,e,t]),Z=c(null),[q,ee]=s(null),te=(t,n)=>S?{draggable:!0,onDragStart:n=>{Z.current=t,n.dataTransfer.effectAllowed="move",n.dataTransfer.setData("text/plain",e.find(e=>e.key===t.key)?.title??"")},onDragOver:e=>{const r=Z.current;if(!r)return;const i=e.currentTarget.getBoundingClientRect(),l=n!==t.key||"tab"===t.kind?e.clientX<i.left+i.width/2?"before":"after":"before",o=x(W,r,n,l)?k(W,r,n,l):null;o?(e.preventDefault(),e.dataTransfer.dropEffect="move",q?.key===o.key&&q.side===o.side||ee({key:o.key,side:o.side})):q&&ee(null)},onDrop:e=>{const t=Z.current;if(!t||!q)return;e.preventDefault();const n=x(W,t,q.key,q.side);Z.current=null,ee(null),n&&S(n)},onDragEnd:()=>{Z.current=null,ee(null)}}:{},ne=d(()=>new Set(G.filter(e=>void 0!==e.group&&L).map(t=>e[t.start].key)),[G,e,L]),re=e=>"pointer-events-none absolute inset-y-1 z-[3] w-0.5 rounded-full bg-blue-500 "+("before"===e?"-left-px":"-right-px"),ie=e=>q?.key===e&&!("before"===q.side&&ne.has(e))&&/* @__PURE__ */y("span",{"aria-hidden":"true",className:re(q.side)}),le=e.length;u(()=>{if(!t)return;const e=document.getElementById(f(t,"tab"));e?.scrollIntoView?.({block:"nearest",inline:"nearest"})},[f,t,le]);const oe=_?Y.findIndex(e=>!e.pinned):-1,ae=Y.some(e=>e.key===t)?t:Y[0]?.key,se=e=>{const t=Y[(e+Y.length)%Y.length];t&&document.getElementById(f(t.key,"tab"))?.focus()},de=(e,t)=>{const n=Y[e+t];if(!S||!n)return;const r=x(W,{kind:"tab",key:Y[e].key},n.key,t<0?"before":"after");r&&(S(r),setTimeout(()=>document.getElementById(f(Y[e].key,"tab"))?.focus(),0))},ce=F?e.find(e=>e.key===F.key):void 0,ue=ce&&O?O(ce.key):[],me=ce?e.indexOf(ce):-1,fe=e=>e.some(e=>!e.pinned),pe=e=>()=>{H(null),e()},ye=(e,n)=>{const r=e.key===t,i=!!e.dirty,l=e.icon,a=r?A??"z-[1] border-gray-200 bg-gray-50 text-gray-900":"border-transparent text-gray-600 hover:bg-gray-200/70 hover:text-gray-900",s=!!n&&!r&&n.key!==t,d={type:"button",role:"tab",id:f(e.key,"tab"),"aria-selected":r,"aria-controls":b?.(e.key)?f(e.key,"panel"):void 0,tabIndex:e.key===ae?0:-1,title:e.title,onClick:()=>z(e.key)},c={onContextMenu:t=>((e,t)=>{e.preventDefault(),H({x:e.clientX,y:e.clientY,key:t.key})})(t,e),onAuxClick:t=>((e,t)=>{1!==e.button||t.pinned||(e.preventDefault(),j(t.key))})(t,e),onMouseDown:e=>{1===e.button&&e.preventDefault()}},u=l&&
4
- /* @__PURE__ */p("span",{className:"relative flex size-4 shrink-0 items-center justify-center text-gray-500 [&>svg]:size-4","aria-hidden":"true",children:[l,i&&!r&&!e.pinned&&
5
- /* @__PURE__ */y("span",{className:"absolute -right-1 -top-1 hidden size-2 rounded-full bg-gray-500 ring-2 ring-gray-100 @max-[6.5rem]:block @max-[6.5rem]:group-hover:hidden"})]}),h=r&&!!M&&!!l;return e.pinned?/* @__PURE__ */p("div",{role:"presentation",className:`group relative flex flex-none items-center justify-center rounded-t-md border border-b-0 transition-colors ${U} ${l?"w-10":""} ${a}`,...c,...te({kind:"tab",key:e.key},e.key),children:[ie(e.key),
6
- /* @__PURE__ */p("button",{...d,className:`flex h-full items-center justify-center rounded-t-md ${l?"w-full":"px-3"} ${N}`,children:[u,
7
- /* @__PURE__ */y("span",{className:l?"sr-only":"whitespace-nowrap text-sm",children:e.title})]})]},e.key):/* @__PURE__ */p(m,{children:[s&&/* @__PURE__ */y("span",{"aria-hidden":"true",className:"mb-3 h-4 w-px shrink-0 self-end border-l border-gray-300"}),
8
- /* @__PURE__ */p("div",{role:"presentation",className:`group relative flex items-center rounded-t-md border border-b-0 text-sm transition-colors ${U} ${"active-full"===K&&r?"":"@container"} ${"active-full"===K?r?"flex-[0_0_15rem] min-w-0":w:r&&(e.copy||h)?"flex-[0_1_20rem]":v} ${r?"active-full"===K?"":"min-w-[4.25rem]":"min-w-[4rem]"} ${a}`,...c,...te({kind:"tab",key:e.key},e.key),children:[ie(e.key),h&&
9
- /* @__PURE__ */y("button",{type:"button",tabIndex:-1,"aria-haspopup":"menu","aria-label":X.tabMenu,title:X.tabMenu,onClick:t=>{const n=t.currentTarget.getBoundingClientRect();M?.(e.key,n.left,n.bottom+4)},className:`ml-2 flex size-6 shrink-0 items-center justify-center rounded hover:bg-gray-200 @max-[5rem]:ml-2 ${N}`,children:u}),
10
- /* @__PURE__ */p("button",{...d,className:`flex h-full min-w-0 flex-1 items-center gap-2 rounded-t-md pr-1 text-left ${h?"pl-2":"pl-3"} ${N} ${r?h?"":"@max-[5rem]:pl-3":"@max-[6.5rem]:pr-3 @max-[4.5rem]:justify-center @max-[4.5rem]:px-0 @max-[4.5rem]:group-hover:pl-2 @max-[4.5rem]:group-hover:pr-3"}`,children:[!h&&u,
11
- /* @__PURE__ */p("span",{className:`min-w-0 flex-1 overflow-hidden whitespace-nowrap [mask-image:linear-gradient(to_right,#000_calc(100%-1rem),transparent)] ${"active-full"===K&&r?"pr-4":""} ${l?r?"@max-[5rem]:sr-only":"@max-[4.5rem]:sr-only":""}`,children:[e.title,e.favorite&&
12
- /* @__PURE__ */y("span",{role:"img","aria-label":X.favorite,title:X.favorite,className:"ml-1 inline-flex align-[-0.125em] text-yellow-500",children:/* @__PURE__ */y(o,{name:"star","aria-hidden":"true",className:"size-3.5",fill:"currentColor",strokeWidth:1.5})})]})]}),r&&e.actions&&/* @__PURE__ */y(I,{node:e.actions}),r&&e.copy&&/* @__PURE__ */y($,{text:e.copy,label:X.copy(e.copy),copiedLabel:X.copied}),
13
- /* @__PURE__ */p("span",{className:"mr-2 flex size-5 shrink-0 items-center justify-center "+(r?"":"@max-[6.5rem]:hidden @max-[6.5rem]:group-hover:flex"),children:[i&&/* @__PURE__ */y("span",{role:"img","aria-label":X.unsaved,className:"size-2 rounded-full bg-gray-500 group-hover:hidden"}),
14
- /* @__PURE__ */y("button",{type:"button",tabIndex:-1,"aria-label":X.closeTab?.(e.title)??`${X.close} ${e.title}`,onClick:()=>j(e.key),className:"size-5 items-center justify-center rounded text-gray-400 hover:bg-gray-200 hover:text-gray-700 "+(i?"hidden group-hover:flex":r?"flex":"flex opacity-0 group-hover:opacity-100 focus-visible:opacity-100"),children:/* @__PURE__ */y(C,{})})]})]})]},e.key)},he=[];let ge,be=0,ke=!_;for(const t of G){const r=Y.filter(n=>{const r=e.indexOf(n);return r>=t.start&&r<=t.end});if(ke||be!==oe||(ke=!0,he.push(/* @__PURE__ */y(m,{children:_},"rosh-after-pinned")),ge=void 0),be+=r.length,void 0===t.group||!L){for(const e of r)he.push(ye(e,ge)),ge=e;continue}ge=void 0;const i=t.group,l=L(i),a=t.end-t.start+1,s=!J.has(i),d=e[t.start].key;he.push(
15
- /* @__PURE__ */p("div",{role:"group","aria-label":l.label,"data-tab-group":i,className:"relative mx-1 flex shrink-0 items-end first:ml-0 min-w-0",children:[
16
- /* @__PURE__ */p("button",{type:"button",tabIndex:-1,"aria-expanded":s,title:X.groupToggle(l.label,a),onClick:()=>V(i),...te({kind:"group",key:d},d),className:`relative mb-1 mr-1 flex h-6 shrink-0 items-center gap-1 rounded-full bg-blue-100 px-2 text-xs font-medium text-blue-700 hover:bg-blue-200 ${N}`,children:[
17
- /* @__PURE__ */y(o,{name:s?"chevron-down":"chevron-right","aria-hidden":"true",className:"size-3",strokeWidth:2}),l.icon&&/* @__PURE__ */y("span",{className:"flex size-3.5 items-center justify-center [&>svg]:size-3.5","aria-hidden":"true",children:l.icon}),
18
- /* @__PURE__ */y("span",{className:"max-w-[8rem] truncate",children:l.label}),
19
- /* @__PURE__ */y(n,{count:a,label:Q.tabs(a),active:!0})]}),q?.key===d&&"before"===q.side&&/* @__PURE__ */y("span",{"aria-hidden":"true",className:re("before")}),r.map((e,t)=>ye(e,t>0?r[t-1]:void 0)),
20
- /* @__PURE__ */y("span",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-0 bottom-0 z-[2] h-0.5 bg-blue-500"})]},`rosh-group-${d}`))}return ke||he.push(/* @__PURE__ */y(m,{children:_},"rosh-after-pinned")),/* @__PURE__ */p("div",{className:T??"relative flex h-10 shrink-0 items-end gap-3 bg-gray-100 px-3",children:[
21
- /* @__PURE__ */y("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-0 bottom-0 h-px bg-gray-200"}),
22
- /* @__PURE__ */y("div",{role:"tablist","aria-label":E,onKeyDown:e=>{const t=Y.findIndex(t=>document.getElementById(f(t.key,"tab"))===e.target);if(t<0)return;const n=e.shiftKey&&(e.ctrlKey||e.metaKey);if(n&&"ArrowRight"===e.key)de(t,1);else if(n&&"ArrowLeft"===e.key)de(t,-1);else if("ArrowRight"===e.key)se(t+1);else if("ArrowLeft"===e.key)se(t-1);else if("Home"===e.key)se(0);else if("End"===e.key)se(Y.length-1);else{if("Delete"!==e.key||Y[t].pinned)return;j(Y[t].key)}e.preventDefault()},className:"flex min-w-0 flex-1 items-end overflow-x-auto overflow-y-hidden [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:he}),B&&/* @__PURE__ */y("div",{className:"flex shrink-0 items-center gap-2 self-center",children:B}),F&&ce&&/* @__PURE__ */p(r,{portal:!0,style:{left:F.x,top:F.y},onClose:()=>H(null),children:[ue.length>0&&/* @__PURE__ */p(h,{children:[ue.map((e,t)=>/* @__PURE__ */p(i,{onClick:pe(e.onSelect),children:[e.icon,e.label]},t)),
23
- /* @__PURE__ */y(l,{})]}),
24
- /* @__PURE__ */y(i,{disabled:ce.pinned,onClick:pe(()=>j(ce.key)),children:X.close}),
25
- /* @__PURE__ */y(l,{}),
26
- /* @__PURE__ */y(i,{disabled:!fe(e.filter(e=>e.key!==ce.key)),onClick:pe(()=>D("others",ce.key)),children:X.closeOthers}),
27
- /* @__PURE__ */y(i,{disabled:!fe(e.slice(me+1)),onClick:pe(()=>D("right",ce.key)),children:X.closeRight}),
28
- /* @__PURE__ */y(i,{disabled:!fe(e),onClick:pe(()=>D("all",null)),children:X.closeAll})]})]})}export{z as TabStrip};
@@ -1,23 +0,0 @@
1
- import{Calendar as e}from"./chunk-JH4ZCPHW.js";import{toDateKey as t,fromDateKey as r,toMonthKey as n}from"./chunk-2HMNOLKX.js";import{FILTER_ON as a,FILTER_ON_INK as o,FILTER_OFF as i}from"./chunk-AYZY3YNC.js";import{calendarNames as l}from"./chunk-Y3JW2GW5.js";import{pad2 as s}from"./chunk-LF27WIN2.js";import{buttonClasses as c}from"./chunk-UQYNPYF4.js";import{Icon as d}from"./chunk-2UO47XB4.js";import{onOverlayOpen as m}from"./chunk-PGN5ME7B.js";import{Z_LAYERS as u}from"./chunk-62LW225J.js";import{useDropdownPosition as h}from"./chunk-GLUJS42B.js";import{useBrowserLayoutEffect as p}from"./chunk-D65T4H6J.js";import{glassStyle as f}from"./chunk-5FYDNH4Y.js";import{useShellStrings as g,useShellLocale as b}from"./chunk-GDQJBQ5B.js";import{useState as x,useRef as v,useId as y,useEffect as w}from"react";import{createPortal as N}from"react-dom";import{jsxs as k,Fragment as C,jsx as M}from"react/jsx-runtime";var W=["last2Weeks","lastMonth","last3Months","last6Months","last12Months"],D=t;function j(e,r){const n=r.getFullYear(),a=r.getMonth(),o=new Date(n,a,r.getDate()),i=new Date(n,a,0),l=e=>new Date(n,a-e,1);switch(e){case"last2Weeks":return{from:t(new Date(n,a,r.getDate()-14)),to:t(o)};case"lastMonth":return{from:t(l(1)),to:t(i)};case"last3Months":return{from:t(l(3)),to:t(i)};case"last6Months":return{from:t(l(6)),to:t(i)};case"last12Months":return{from:t(l(12)),to:t(i)}}}function $(e,t,r){const a=n(e);return t&&a<t.slice(0,7)?t.slice(0,7):r&&a>r.slice(0,7)?r.slice(0,7):a}function Y(e){const t=r(e);return t?`${s(t.getDate())}/${s(t.getMonth()+1)}/${t.getFullYear()}`:e}var F=/* @__PURE__ */new Map;function H({from:t,to:n,onChange:s,formatDisplay:D,clearable:H,required:O=!1,name:S,id:B,"aria-labelledby":L,"aria-label":J,weekStartsOn:G,placeholder:T,fullWidth:U=!1,min:E,max:R,disabled:q=!1,allowOpenEnd:A=!1}){const I=g().dateRange,P=b(),Q=D??(P?function(e){let t=F.get(e);t||(t=new Intl.DateTimeFormat(e,{year:"numeric",month:"2-digit",day:"2-digit",timeZone:"UTC",calendar:"gregory"}),F.set(e,t));const n=t;return e=>{const t=r(e);return t?n.format(new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()))):e}}(P):Y),Z=T??I.placeholder,X=H??!O,[z,K]=x(!1),[V,_]=x(t),[ee,te]=x(n),[re,ne]=x(null),[ae,oe]=x("from"),ie=v(null),le=v(null),se=v(null),ce=y(),de=y(),me=y(),[ue,he]=x(!1),pe=h(ie,z,{preferredMaxWidth:520,preferredMaxHeight:ue?720:560,popupRef:se}),fe=v(null),ge=v(null),[be,xe]=x(!0);p(()=>{const e=ge.current;if(!z||!ue||!e)return;const t=getComputedStyle(e).gridTemplateColumns.split(" ").filter(Boolean).length||1,r=parseFloat(getComputedStyle(e).columnGap)||0,n=(e.clientWidth-r*(t-1))/t,a=Math.max(...Array.from(e.querySelectorAll("[data-preset-measure]"),e=>e.offsetWidth))+24+2<=n+.5;a!==be&&xe(a)});const ve=v(null);p(()=>{const e=se.current;if(!z||!pe||!e)return;const t=getComputedStyle(e),r=pe.maxWidth-(e.offsetWidth-e.clientWidth)-parseFloat(t.paddingLeft)-parseFloat(t.paddingRight);if(ue)null!==ve.current&&ve.current<=r&&he(!1);else{const e=fe.current?.offsetWidth??0;if(0===e)return;ve.current=e,e>r+.5&&he(!0)}});const[ye,we]=x(!1);p(()=>{const e=!!B&&(le.current?.labels?.length??0)>0;e!==ye&&we(e)});const Ne=!!J||!!L||ye,ke=/* @__PURE__ */new Date,[Ce,Me]=x(()=>t?t.slice(0,7):$(ke,E,R)),We=W.filter(e=>((e,t,r)=>(!t||e.from>=t)&&(!r||e.to<=r))(j(e,ke),E,R)),De=e=>e?Q(e):"";w(()=>{if(!z)return;const e=e=>{const t=e.target;ie.current?.contains(t)||se.current?.contains(t)||K(!1)};document.addEventListener("mousedown",e);const t=m(()=>K(!1));return()=>{document.removeEventListener("mousedown",e),t()}},[z]),w(()=>{q&&K(!1)},[q]);const je=()=>{s("",""),K(!1)},$e=t&&n?`${De(t)} — ${De(n)}`:t?I.fromOnly(De(t)):n?I.toOnly(De(n)):"",Ye=l(P),Fe=e=>{const t=r(e);return t?Ye.longDate(t.getFullYear(),t.getMonth(),t.getDate()):e},He=t&&n?I.range(Fe(t),Fe(n)):t?I.fromOnly(Fe(t)):n?I.toOnly(Fe(n)):Z,Oe=e=>ue?"h-8 w-full min-w-0 truncate rounded-(--radius-control) border px-3 text-sm transition-colors "+(re===e?"border-blue-300 bg-accent-tint text-blue-700 font-medium":"border-line text-ink hover:bg-row-hover"):"h-8 text-left px-3 text-sm rounded-(--radius-control) transition-colors "+(re===e?"bg-accent-tint text-blue-700 font-medium":"text-ink hover:bg-row-hover"),Se=/* @__PURE__ */k(C,{children:[We.map(e=>/* @__PURE__ */M("button",{type:"button",onClick:()=>(e=>{if("Custom"===e)return;const t=j(e,ke);_(t.from),te(t.to),ne(e),Me(t.from.slice(0,7))})(e),className:Oe(e),"aria-label":ue?I[e]:void 0,children:ue?be?I[e]:I[`${e}Short`]:I[e]},e)),
2
- /* @__PURE__ */M("button",{type:"button",onClick:()=>ne("Custom"),className:Oe("Custom"),children:I.custom})]}),Be=(e,t)=>A?/* @__PURE__ */M("button",{type:"button","data-range-end":e,"aria-pressed":ae===e,onClick:()=>oe(e),className:"flex items-center gap-2 whitespace-nowrap rounded rosh-focus-ring",children:t}):/* @__PURE__ */M("div",{className:"flex items-center gap-2 whitespace-nowrap",children:t}),Le=e=>A&&ae===e?" ring-1 ring-blue-400":"",Je=
3
- /* @__PURE__ */M(e,{mode:"range",min:E,max:R,value:V||null,endValue:ee||null,month:Ce,onMonthChange:Me,onSelect:e=>{ne("Custom"),A?"from"===ae?(ee&&e>ee?(_(ee),te(e)):_(e),oe("to")):V&&e<V?(te(V),_(e)):te(e):!V||V&&ee?(_(e),te("")):e<V?(te(V),_(e)):te(e)},weekStartsOn:G,"aria-label":I.dialog});/* @__PURE__ */
4
- return k("div",{className:"relative"+(U?" w-full":""),ref:ie,children:[
5
- /* @__PURE__ */k("div",{className:`${U?"flex w-full":"inline-flex"} h-8 items-center gap-2 border rounded-lg px-3 text-sm focus-within:border-blue-500 has-focus-visible:ring-1 has-focus-visible:ring-[color:var(--rosh-focus-ring-deep)] ${t||n?`${a} ${o}`:i}${q?" cursor-not-allowed opacity-60":""}`,children:[
6
- /* @__PURE__ */k("button",{ref:le,type:"button",onClick:()=>{q||(_(t),te(n),ne(null),oe(t&&!n?"to":"from"),Me(t?t.slice(0,7):$(ke,E,R)),K(!0))},"aria-haspopup":"dialog","aria-expanded":z,id:B,disabled:q||void 0,"aria-label":J,"aria-labelledby":L,"aria-describedby":[Ne?de:void 0,O?me:void 0].filter(Boolean).join(" ")||void 0,"aria-controls":z?ce:void 0,className:"inline-flex items-center gap-2 rosh-focus-ring"+(U?" min-w-0 flex-1 justify-start":""),children:[
7
- /* @__PURE__ */M(d,{name:"date",className:"w-4 h-4 shrink-0",strokeWidth:"2","aria-hidden":"true"}),
8
- /* @__PURE__ */M("span",{className:"truncate",children:$e||Z})]}),X&&!q&&(t||n)&&/* @__PURE__ */M("button",{type:"button",onClick:je,"aria-label":I.clearRange,className:"text-blue-400 hover:text-red-500 rosh-focus-ring focus-visible:ring-1 focus-visible:ring-[color:var(--rosh-focus-ring-deep)] rounded",children:"×"})]}),Ne&&/* @__PURE__ */M("span",{id:de,className:"sr-only",children:He}),O&&/* @__PURE__ */M("span",{id:me,className:"sr-only",children:I.required}),S&&/* @__PURE__ */k(C,{children:[
9
- /* @__PURE__ */M("input",{type:"hidden",name:S.from,value:t,disabled:q||void 0}),
10
- /* @__PURE__ */M("input",{type:"hidden",name:S.to,value:n,disabled:q||void 0})]}),z&&N(
11
- /* @__PURE__ */k("div",{ref:se,id:ce,role:"dialog","aria-label":I.dialog,"data-layout":ue?"stacked":"side",className:"fixed rounded-(--radius-popup) p-4",style:{zIndex:u.popup,left:pe?.left,right:pe?.right,top:pe?.top,bottom:pe?.bottom,width:ue&&pe?pe.maxWidth:"max-content",maxWidth:pe?.maxWidth,maxHeight:pe?.maxHeight,overflowY:"auto",visibility:pe?void 0:"hidden",...f()},children:[
12
- /* @__PURE__ */k("div",{className:ue?"mb-3 flex flex-wrap items-center gap-x-4 gap-y-2":"flex items-center gap-3 mb-3",children:[Be("from",/* @__PURE__ */k(C,{children:[
13
- /* @__PURE__ */M("span",{className:"text-xs font-medium text-gray-500",children:I.from}),
14
- /* @__PURE__ */M("span",{className:`text-sm px-2 py-1 rounded border min-w-[90px] ${V?"border-blue-300 bg-accent-tint text-blue-700":"border-line bg-surface-sunken text-ink-faintest"}${Le("from")}`,children:V?De(V):I.start})]})),!ue&&/* @__PURE__ */M("span",{className:"text-gray-300",children:"—"}),Be("to",/* @__PURE__ */k(C,{children:[
15
- /* @__PURE__ */M("span",{className:"text-xs font-medium text-gray-500",children:I.to}),
16
- /* @__PURE__ */M("span",{className:`text-sm px-2 py-1 rounded border min-w-[90px] ${ee?"border-blue-300 bg-accent-tint text-blue-700":"border-line bg-surface-sunken text-ink-faintest"}${Le("to")}`,children:ee?De(ee):I.end})]}))]}),ue?/* @__PURE__ */k(C,{children:[We.length>0&&/* @__PURE__ */k("div",{className:"mb-3 @container",children:[!be&&/* @__PURE__ */M("p",{"aria-hidden":"true",className:"mb-1 text-xs font-medium text-ink-faint",children:I.lastHeading}),
17
- /* @__PURE__ */k("div",{ref:ge,className:"relative grid grid-cols-2 gap-2 @min-[320px]:grid-cols-3",children:[Se,We.map(e=>/* @__PURE__ */M("span",{"data-preset-measure":"","aria-hidden":"true",className:"invisible absolute left-0 top-0 whitespace-nowrap text-sm",children:I[e]},e))]})]}),
18
- /* @__PURE__ */M("div",{className:"w-full",children:Je})]}):
19
- /* @__PURE__ */k("div",{ref:fe,className:"flex w-max gap-4",children:[
20
- /* @__PURE__ */M("div",{className:"w-64",children:Je}),We.length>0&&/* @__PURE__ */M("div",{className:"border-l border-gray-200 pl-4 flex flex-col gap-1 min-w-[130px]",children:Se})]}),
21
- /* @__PURE__ */k("div",{className:"flex flex-wrap justify-end gap-2 mt-4 pt-3 border-t border-gray-200",children:[X&&/* @__PURE__ */M("button",{type:"button",onClick:je,className:c({variant:"ghost"}),children:I.clear}),
22
- /* @__PURE__ */M("button",{type:"button",onClick:()=>K(!1),className:c({variant:"secondary"}),children:I.cancel}),
23
- /* @__PURE__ */M("button",{type:"button",onClick:()=>{s(V,ee),K(!1)},disabled:A?!V&&!ee:!V||!ee,className:c({variant:"primary"}),children:I.apply})]})]}),document.body)]})}export{H as DateRangePicker,j as presetRange,D as toISODate};
@@ -1,7 +0,0 @@
1
- import{isFocusableEntry as e,menuStatusIds as t,renderMenuEntries as r}from"./chunk-CIHR5ZKF.js";import{useTabLayer as n,focusableIn as o}from"./chunk-CDAJKLGL.js";import{PopupMenu as i,PopupMenuDivider as a}from"./chunk-OTITQ3IH.js";import{onOverlayOpen as l}from"./chunk-PGN5ME7B.js";import{Z_LAYERS as s}from"./chunk-62LW225J.js";import{placeMenu as d,popupBounds as c,followAnchor as u}from"./chunk-GLUJS42B.js";import{useBrowserLayoutEffect as p}from"./chunk-D65T4H6J.js";import{registerModalEscapeInterceptor as f}from"./chunk-TWVUQUUD.js";import{useState as m,useRef as h,useId as g,useCallback as v,useEffect as b}from"react";import{jsxs as y,jsx as x}from"react/jsx-runtime";var k=/(^|[\s:])!?z-/,w={paddingLeft:"var(--menu-padding-x, 1rem)",paddingRight:"var(--menu-padding-x, 1rem)",paddingTop:"0.25rem",paddingBottom:"0.25rem"};function D({trigger:D,items:L,align:j="end",side:C="bottom","aria-label":K,className:A="",triggerClassName:E,menuClassName:H="",minWidth:S=180,linkAs:W,disabled:T,id:$,"aria-describedby":I,"aria-disabled":N=!1,onOpenChange:U,footer:B,footerLabel:J}){const[q,G]=m(!1),[M,R]=m(-1),z=h(null),O=h(null),P=h(null),Q=h(null),F=h(null),V=null!=B&&!1!==B,Y=h({text:"",at:0}),Z=g(),X=g(),_=$??X,ee=h(U);ee.current=U;const te=h(q);te.current=q;const re=v(e=>{G(!1),te.current&&(te.current=!1,ee.current?.(!1)),e&&O.current?.focus()},[]),ne=(t,r)=>{const n=L.length;for(let o=0;o<n;o+=1){const i=((t+r*o)%n+n)%n;if(e(L[i]))return i}return-1},oe=()=>P.current?.closest("[data-popup-menu-tree]")??null;b(()=>{if(!q)return;const e=e=>{const t=e.target;if(z.current?.contains(t)||oe()?.contains(t))return;const r=oe()?.getAttribute("data-popup-menu-tree"),n=t.closest?.("[data-popup-menu-tree]");r&&n?.getAttribute("data-popup-menu-tree")===r||re(!1)};document.addEventListener("pointerdown",e,!0);const t=l(()=>re(!1));return()=>{document.removeEventListener("pointerdown",e,!0),t()}},[q,re]);const ie=v(()=>{const e=oe(),t=O.current;if(!e||!t)return;const r=e.style;r.left="0px",r.top="0px",r.maxWidth="none",r.maxHeight="none";const n={width:e.offsetWidth,height:e.offsetHeight},o=d({trigger:t.getBoundingClientRect(),menu:n,bounds:c(t),align:j,side:C});r.left=`${o.left}px`,r.top=`${o.top}px`,r.maxWidth=`${o.maxWidth}px`,r.maxHeight=`${o.maxHeight}px`,r.overflowY=n.height>o.maxHeight?"auto":"",e.dataset.side=o.side,e.dataset.align=j},[j,C]);p(()=>{q&&ie()}),b(()=>{if(q)return u(()=>O.current,ie)},[q,ie]),b(()=>{if(!q)return;const t=P.current,r=e(L[M])?t?.querySelector(`[data-dropdown-index="${M}"]`):null;(r??t)?.focus({preventScroll:!0})},[q,M]),b(()=>{if(q)return f(e=>"Escape"===e.key&&(re(!0),!0),()=>Q.current)},[q,re]),n(Q,q&&V);const ae=h(null),le=e=>"first"===e?ne(0,1):ne(L.length-1,-1),se=e=>{R(le(e)),G(!0),te.current||(te.current=!0,ae.current=e,U?.(!0))};p(()=>{const e=ae.current;if(!q||!e)return;ae.current=null;const t=le(e);t!==M&&R(t)});const de=t(L,Z),ce="function"==typeof B?B({close:()=>re(!0)}):B,ue={...k.test(H)?{}:{zIndex:s.popup},minWidth:S};/* @__PURE__ */
2
- return y("div",{ref:z,className:`relative inline-flex ${A}`.trim(),children:[
3
- /* @__PURE__ */x("button",{ref:O,id:_,type:"button","aria-haspopup":"menu","aria-expanded":q,"aria-controls":q?Z:void 0,"aria-label":K,"aria-describedby":I,"aria-disabled":N||void 0,disabled:T,onClick:()=>{N||(q?re(!1):se("first"))},onKeyDown:e=>{N||("ArrowDown"===e.key||"Enter"===e.key||" "===e.key?(e.preventDefault(),se("first")):"ArrowUp"===e.key&&(e.preventDefault(),se("last")))},className:E??"inline-flex items-center justify-center rounded-(--radius-control) text-gray-600 transition-colors not-disabled:not-aria-disabled:hover:bg-gray-100 not-disabled:not-aria-disabled:hover:text-ink-strongest rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)] disabled:cursor-not-allowed disabled:opacity-60 "+(K?"h-8 min-w-8 px-0":"h-8 min-w-8 gap-2 px-3"),children:D}),q&&
4
- /* @__PURE__ */x(i,{portal:!0,className:H,style:ue,children:/* @__PURE__ */y("div",{ref:Q,children:[
5
- /* @__PURE__ */x("div",{ref:P,id:Z,role:"menu","aria-orientation":"vertical","aria-label":K,"aria-labelledby":K?void 0:_,"aria-describedby":de,tabIndex:-1,onKeyDown:t=>{if(!t.target.closest?.("[data-popup-submenu-panel]")||"Tab"===t.key)if("ArrowDown"===t.key)t.preventDefault(),R(ne(M+1,1));else if("ArrowUp"===t.key)t.preventDefault(),R(ne(M-1,-1));else if("Home"===t.key)t.preventDefault(),R(ne(0,1));else if("End"===t.key)t.preventDefault(),R(ne(L.length-1,-1));else if("Tab"===t.key){t.preventDefault();const e=!t.shiftKey&&F.current?o(F.current)[0]:void 0;e?e.focus({preventScroll:!0}):re(!0)}else if(" "===t.key){const e=t.target;e.matches?.("a[href]")&&(t.preventDefault(),e.click())}else 1!==t.key.length||t.ctrlKey||t.metaKey||t.altKey||(t=>{const r=Date.now(),n=t.key.toLowerCase(),o=r-Y.current.at<500?Y.current.text+n:n;Y.current={text:o,at:r};const i=[...o].every(e=>e===o[0]),a=i?o[0]:o,l=i?M+1:Math.max(M,0),s=P.current,d=L.length;for(let r=0;r<d;r+=1){const n=((l+r)%d+d)%d;if(e(L[n])&&(s?.querySelector(`[data-dropdown-index="${n}"]`)?.textContent?.trim().toLowerCase()??"").startsWith(a))return t.preventDefault(),void R(n)}})(t)},children:r(L,{menuId:Z,choose:e=>{e.disabled||(re(!0),e.onSelect())},toggle:e=>{e.disabled||e.onSelect()},followLink:()=>re(!0),rowProps:(e,t)=>({"data-dropdown-index":e,tabIndex:e===M?0:-1,onMouseEnter:()=>{t.disabled||F.current?.contains(document.activeElement)||R(e)}}),linkAs:W})}),V&&/* @__PURE__ */y("div",{ref:F,role:"group","aria-label":J,"data-dropdown-footer":"",onKeyDown:e=>{const t=F.current;if("Tab"!==e.key||!t||!t.contains(e.target))return;const r=o(t),n=document.activeElement;if(e.shiftKey){if(r.length>0&&n!==r[0])return;e.preventDefault();const t=P.current?.querySelector(`[data-dropdown-index="${M}"]`);return void(t??P.current)?.focus({preventScroll:!0})}r.length>0&&n!==r[r.length-1]||(e.preventDefault(),re(!0))},children:[
6
- /* @__PURE__ */x("div",{"aria-hidden":"true",children:/* @__PURE__ */x(a,{})}),
7
- /* @__PURE__ */x("div",{style:w,children:ce})]})]})})]})}export{D as DropdownMenu};
@@ -1,2 +0,0 @@
1
- import{inputClasses as e,PLACEHOLDER_INK as a}from"./chunk-AYZY3YNC.js";import{forwardRef as r}from"react";import{jsx as t,jsxs as n}from"react/jsx-runtime";var i=r(function({invalid:r,leftIcon:i,rightAdornment:l,size:s,className:o="",readOnly:c,...m},d){const p=`${i?"pl-10":""} ${l?"pr-10":""}`.trim(),f=
2
- /* @__PURE__ */t("input",{ref:d,"aria-invalid":r||void 0,readOnly:c,className:e({invalid:r,size:s,readOnly:c,className:[p,o].filter(Boolean).join(" ")}),...m});return i||l?/* @__PURE__ */n("div",{className:"relative",children:[i&&/* @__PURE__ */t("span",{className:`pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 ${a}`,children:i}),f,l&&/* @__PURE__ */t("span",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400",children:l})]}):f});export{i as Input_default};
@@ -1,8 +0,0 @@
1
- import{ChartTooltip as e}from"./chunk-36VIGB6J.js";import{axisGutter as t,radiusScale as i,niceMax as l,logScale as r,linearScale as o}from"./chunk-2JWPNR2U.js";import{usePlotWidth as n}from"./chunk-MAFUXCPZ.js";import{CHART_INK as a,resolveSeriesColorWithin as s}from"./chunk-TZFACUMR.js";import{registerModalEscapeInterceptor as c}from"./chunk-TWVUQUUD.js";import{useShellStrings as m,useShellLocale as h}from"./chunk-GDQJBQ5B.js";import{formatPlain as f}from"./chunk-C3QOHMR6.js";import{useRef as u,useId as p,useState as d,useEffect as x}from"react";import{jsx as y,jsxs as g}from"react/jsx-runtime";var b=3;function k({series:b,height:k=260,width:v,xLabel:M,yLabel:A,formatX:z,formatY:$,xDomain:j,yDomain:w,xScale:N="linear",yScale:R="linear",radiusRange:D=[4,22],className:S,emptyLabel:U}){const B=m().charts,L=h(),P=z??(e=>f(e,L)),Q=$??(e=>f(e,L)),V=U??B.noObservations,W=u(null),C=n(W),E=v??C,I=p(),[J,O]=d(null);x(()=>{if(null!==J)return c(e=>"Escape"===e.key&&(O(null),!0))},[J]);const F=(e,t)=>!t||e>=Math.min(t[0],t[1])&&e<=Math.max(t[0],t[1]),G=b.map((e,t)=>({...e,slot:t})).filter(e=>e.points.length>0),T=j||w?G.map(e=>({...e,points:e.points.filter(e=>F(e.x,j)&&F(e.y,w))})).filter(e=>e.points.length>0):G,X=G.reduce((e,t)=>e+t.points.length,0)-T.reduce((e,t)=>e+t.points.length,0);if(0===T.length)/* @__PURE__ */
2
- return y("div",{className:S,ref:W,children:/* @__PURE__ */y("p",{className:"flex items-center justify-center text-sm text-gray-500",style:{height:k},children:V})});const Z=T.flatMap(e=>e.points),H=Z.some(e=>null!=e.size),K=14,Y=20,q=34,_=52,ee=(e,t,i,n)=>{const a=e.filter(e=>e>0),s="log"===i?a.length>0?Math.min(...a):0:Math.min(0,...e),c=t??[s,l(Math.max(...e))];return"log"===i?r(c,n):o(c,n)},te=ee(Z.map(e=>e.y),w,R,{from:k-q,to:K}),ie=t(te.ticks(5).map(Q),_),le=Math.max(ie+1,E-Y),re=ee(Z.map(e=>e.x),j,N,{from:ie,to:le}),oe=i([0,Math.max(...Z.map(e=>e.size??1))],{from:D[0],to:D[1]}),ne=J?T[J.s]:void 0,ae=J&&ne?ne.points[J.i]:void 0,se=T.flatMap((e,t)=>e.points.map((e,i)=>({s:t,i:i})));/* @__PURE__ */
3
- return g("div",{className:`relative ${S??""}`,ref:W,children:[
4
- /* @__PURE__ */g("svg",{width:"100%",height:k,viewBox:`0 0 ${E} ${k}`,role:"img","aria-label":B.scatter(T.map(e=>e.label),A??B.yAxis,M??B.xAxis)+(X>0?`. ${B.outsideRange(X)}`:""),tabIndex:0,className:"rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-deep)]",onMouseLeave:()=>O(null),onBlur:()=>O(null),onKeyDown:e=>{if("ArrowRight"!==e.key&&"ArrowLeft"!==e.key)return;e.preventDefault();const t="ArrowRight"===e.key?1:-1,i=J?se.findIndex(e=>e.s===J.s&&e.i===J.i):0;O(se[Math.min(se.length-1,Math.max(0,i+t))])},children:[
5
- /* @__PURE__ */y("defs",{children:/* @__PURE__ */y("clipPath",{id:I,children:/* @__PURE__ */y("rect",{x:ie-D[1],y:K-D[1],width:le-ie+2*D[1],height:k-q-K+2*D[1]})})}),te.ticks(5).map(e=>/* @__PURE__ */g("g",{children:[
6
- /* @__PURE__ */y("line",{x1:ie,y1:te(e),x2:le,y2:te(e),stroke:a.grid,strokeWidth:1,shapeRendering:"crispEdges"}),
7
- /* @__PURE__ */y("text",{x:ie-8,y:te(e)+4,textAnchor:"end",fontSize:11,fill:a.label,style:{fontVariantNumeric:"tabular-nums"},children:Q(e)})]},`y${e}`)),re.ticks(5).map(e=>/* @__PURE__ */y("text",{x:re(e),y:k-12,textAnchor:"middle",fontSize:11,fill:a.label,style:{fontVariantNumeric:"tabular-nums"},children:P(e)},`x${e}`)),M&&/* @__PURE__ */y("text",{x:(ie+le)/2,y:k-.5,textAnchor:"middle",fontSize:11,fill:a.label,children:M}),A&&/* @__PURE__ */y("text",{x:12,y:k/2,transform:`rotate(-90 12 ${k/2})`,textAnchor:"middle",fontSize:11,fill:a.label,children:A}),
8
- /* @__PURE__ */y("g",{clipPath:`url(#${I})`,children:T.map((e,t)=>{const i=s(e.slot,3,e.color,e.tone);return e.points.map((l,r)=>/* @__PURE__ */y("circle",{cx:re(l.x),cy:te(l.y),r:H?oe(l.size??0):D[0]+1,fill:i,fillOpacity:J&&J.s!==t?.25:.62,stroke:a.surface,strokeWidth:2,onMouseEnter:()=>O({s:t,i:r})},`${e.key}-${r}`))})})]}),J&&ne&&ae&&/* @__PURE__ */y("div",{className:"pointer-events-none absolute top-2 left-2 z-10",children:/* @__PURE__ */y(e,{title:ae.label??ne.label,rows:[{key:"x",label:M??B.xAxis,color:s(ne.slot,3,ne.color,ne.tone),value:P(ae.x)},{key:"y",label:A??B.yAxis,color:s(ne.slot,3,ne.color,ne.tone),value:Q(ae.y)},...null!=ae.size?[{key:"size",label:B.size,color:a.muted,value:f(ae.size,L)}]:[]],footnote:ae.label?ne.label:void 0})})]})}export{b as SCATTER_SERIES_CAP,k as ScatterChart};
@@ -1,11 +0,0 @@
1
- import{ChartTooltip as e}from"./chunk-36VIGB6J.js";import{usePlotWidth as t}from"./chunk-MAFUXCPZ.js";import{resolveSeriesColor as l,CHART_INK as r}from"./chunk-TZFACUMR.js";import{registerModalEscapeInterceptor as n}from"./chunk-TWVUQUUD.js";import{useShellStrings as i,useShellLocale as a}from"./chunk-GDQJBQ5B.js";import{formatPlain as o}from"./chunk-C3QOHMR6.js";import{useRef as h,useId as c,useState as s,useEffect as m}from"react";import{jsx as f,jsxs as u}from"react/jsx-runtime";function x({rows:x,columns:d,cells:p,height:M,width:g,color:y,max:v,formatValue:$,label:b,className:k,emptyLabel:w,cellGap:A=2,cellRadius:N=2}){const j=i().charts,U=a(),z=$??(e=>o(e,U)),B=b??j.intensity,C=w??j.noActivity,D=h(null),F=t(D),G=g??F,Q=c(),[R,S]=s(null);if(m(()=>{if(null!==R)return n(e=>"Escape"===e.key&&(S(null),!0))},[R]),0===x.length||0===d.length)/* @__PURE__ */
2
- return f("div",{className:k,ref:D,children:/* @__PURE__ */f("p",{className:"py-8 text-center text-sm text-gray-500",children:C})});const V=y??l(0),L=v??Math.max(1,...p.flat().filter(Number.isFinite)),E=96,I=26*x.length,J=M??I+26+26,T=Math.max(2,(Math.max(97,G)-E)/d.length),Z=e=>{const t=L>0?Math.max(0,Math.min(1,e/L)):0;return`color-mix(in oklab, ${V} ${(8+92*t).toFixed(1)}%, ${r.surface})`};/* @__PURE__ */
3
- return u("div",{className:`relative ${k??""}`,ref:D,children:[
4
- /* @__PURE__ */u("svg",{width:"100%",height:J,viewBox:`0 0 ${G} ${J}`,role:"img","aria-label":j.heatmap(B,x.length,d.length),tabIndex:0,className:"rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-deep)]",onMouseLeave:()=>S(null),onBlur:()=>S(null),onKeyDown:e=>{const t="ArrowDown"===e.key?1:"ArrowUp"===e.key?-1:0,l="ArrowRight"===e.key?1:"ArrowLeft"===e.key?-1:0;0===t&&0===l||(e.preventDefault(),S(e=>({r:Math.min(x.length-1,Math.max(0,(e?.r??0)+t)),c:Math.min(d.length-1,Math.max(0,(e?.c??0)+l))})))},children:[
5
- /* @__PURE__ */f("defs",{children:/* @__PURE__ */u("linearGradient",{id:Q,x1:"0",x2:"1",children:[
6
- /* @__PURE__ */f("stop",{offset:"0",stopColor:Z(0)}),
7
- /* @__PURE__ */f("stop",{offset:"1",stopColor:Z(L)})]})}),x.map((e,t)=>/* @__PURE__ */f("text",{x:86,y:26*t+13+4,textAnchor:"end",fontSize:11,fill:r.label,children:e},`r${t}`)),x.map((e,t)=>d.map((l,r)=>{const n=p[t]?.[r]??0,i=R&&(R.r!==t||R.c!==r);/* @__PURE__ */
8
- return f("rect",{x:E+r*T+A/2,y:26*t+A/2,width:Math.max(1,T-A),height:26-A,rx:N,fill:Z(n),opacity:i?.55:1,onMouseEnter:()=>S({r:t,c:r}),children:/* @__PURE__ */f("title",{children:`${e} · ${l}: ${z(n)}`})},`${t}-${r}`)})),d.map((e,t)=>t%Math.max(1,Math.ceil(d.length/Math.max(1,Math.floor((G-E)/56))))===0?/* @__PURE__ */f("text",{x:E+t*T+T/2,y:I+15,textAnchor:"middle",fontSize:11,fill:r.label,children:e},`c${t}`):null),
9
- /* @__PURE__ */f("rect",{x:E,y:I+26,width:Math.min(180,Math.max(40,G-E)),height:8,rx:4,fill:`url(#${Q})`}),
10
- /* @__PURE__ */f("text",{x:E,y:I+48,fontSize:11,fill:r.label,children:"0"}),
11
- /* @__PURE__ */f("text",{x:E+Math.min(180,Math.max(40,G-E)),y:I+48,textAnchor:"end",fontSize:11,fill:r.label,style:{fontVariantNumeric:"tabular-nums"},children:z(L)})]}),R&&/* @__PURE__ */f("div",{className:"pointer-events-none absolute top-1 right-1 z-10",children:/* @__PURE__ */f(e,{title:`${x[R.r]} · ${d[R.c]}`,rows:[{key:"v",label:B,color:V,value:null==p[R.r]?.[R.c]?void 0:z(p[R.r][R.c])}]})})]})}export{x as HeatmapChart};