efficient-shell 12.3.0 → 12.4.1

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 (291) hide show
  1. package/README.md +17 -1
  2. package/dist/{Browser-OE7IMID6.js → Browser-24JRQIPQ.js} +14 -14
  3. package/dist/Calculator-AHBFZ4EN.js +29 -0
  4. package/dist/{CurrencyConverter-TLI6PVRE.js → CurrencyConverter-PZYRBADV.js} +8 -8
  5. package/dist/Files-AZ4Q4LMK.js +121 -0
  6. package/dist/{Notepad-TUW4JP7M.js → Notepad-UPHHH3YU.js} +11 -11
  7. package/dist/PdfViewer-GUXUWGMG.js +1 -0
  8. package/dist/{PomodoroTimer-FPGRFPNT.js → PomodoroTimer-WGN2KNSB.js} +7 -7
  9. package/dist/{Preview-BJRRRU4N.js → Preview-K4TNRLKM.js} +61 -61
  10. package/dist/Sidebar-F7HHC5GY.js +44 -0
  11. package/dist/{Stock-P7D5WNKC.js → Stock-5GEEDQVT.js} +3 -3
  12. package/dist/{Weather-OUHUYBZ6.js → Weather-WMQQXWHH.js} +18 -18
  13. package/dist/{WorldClock-WXIV2KC6.js → WorldClock-IK3WTHVW.js} +7 -7
  14. package/dist/ai/index.js +33 -33
  15. package/dist/apps/ImageAnnotator.d.ts +21 -0
  16. package/dist/apps/ImageAnnotator.js +2 -0
  17. package/dist/apps/index.js +1 -1
  18. package/dist/bin/media-host-check.js +1 -1
  19. package/dist/bin/ui-check.js +1 -1
  20. package/dist/brand.css +1 -1
  21. package/dist/charts/BoxPlotChart.js +1 -1
  22. package/dist/charts/CandlestickChart.js +1 -1
  23. package/dist/charts/CartesianPlot.js +1 -1
  24. package/dist/charts/ChartTooltip.js +1 -1
  25. package/dist/charts/ChordChart.js +1 -1
  26. package/dist/charts/ColumnChart.js +1 -1
  27. package/dist/charts/FlowChart.js +1 -1
  28. package/dist/charts/FunnelChart.js +1 -1
  29. package/dist/charts/HeatmapChart.js +1 -1
  30. package/dist/charts/HistogramChart.js +1 -1
  31. package/dist/charts/PieChart.js +1 -1
  32. package/dist/charts/RadarChart.js +1 -1
  33. package/dist/charts/RadialBarChart.js +1 -1
  34. package/dist/charts/RangeChart.js +1 -1
  35. package/dist/charts/SankeyChart.js +1 -1
  36. package/dist/charts/ScatterChart.js +1 -1
  37. package/dist/charts/SpecChart.js +1 -1
  38. package/dist/charts/SunburstChart.js +1 -1
  39. package/dist/charts/TimeSeriesChart.js +1 -1
  40. package/dist/charts/TreemapChart.js +1 -1
  41. package/dist/charts/WaterfallChart.js +1 -1
  42. package/dist/{chunk-NRLTGGCS.js → chunk-2BMGV6DE.js} +8 -8
  43. package/dist/chunk-2YRLRMZH.js +23 -0
  44. package/dist/{chunk-5BV2WW74.js → chunk-3LTZ4N46.js} +11 -11
  45. package/dist/{chunk-MQKUGIN7.js → chunk-3PWI5IH7.js} +13 -13
  46. package/dist/{chunk-Q2MW334M.js → chunk-3UHTHQGK.js} +8 -8
  47. package/dist/{chunk-RQ4UIWWD.js → chunk-4UGFNTZ3.js} +11 -11
  48. package/dist/{chunk-Y7ANTS5W.js → chunk-4ZUV6WQT.js} +1 -1
  49. package/dist/{chunk-P4L74UA5.js → chunk-525O4AUQ.js} +1 -1
  50. package/dist/chunk-56GGBTAD.js +3 -0
  51. package/dist/{chunk-KDWK5WGU.js → chunk-57YY4J6T.js} +1 -1
  52. package/dist/{chunk-KZNJXV5I.js → chunk-5HJIFCDQ.js} +3 -3
  53. package/dist/{chunk-IL56C56I.js → chunk-5JUG74UR.js} +2 -2
  54. package/dist/{chunk-TKXUDCOI.js → chunk-5MO5JBBK.js} +1 -1
  55. package/dist/{chunk-6TLSXBKC.js → chunk-62275PI2.js} +1 -1
  56. package/dist/{chunk-5LZTYOYD.js → chunk-6BATVJBA.js} +17 -17
  57. package/dist/{chunk-SSUZAOGI.js → chunk-6U25ELYF.js} +10 -10
  58. package/dist/{chunk-QOQ6GXVA.js → chunk-75MSXRFY.js} +5 -5
  59. package/dist/{chunk-UDL2A2GT.js → chunk-7RRJPNYN.js} +3 -3
  60. package/dist/{chunk-ZXNJSSRV.js → chunk-A4KQKN32.js} +1 -1
  61. package/dist/chunk-A6WZF65N.js +22 -0
  62. package/dist/{chunk-DONZDILI.js → chunk-AAIUJJDQ.js} +1 -1
  63. package/dist/chunk-BG2OL3MO.js +7 -0
  64. package/dist/{chunk-ZZ67Q5HJ.js → chunk-BKKKIHHV.js} +6 -6
  65. package/dist/chunk-BTFBXZS2.js +1 -0
  66. package/dist/chunk-BUGTNNZQ.js +15 -0
  67. package/dist/chunk-C4IJONGO.js +1 -0
  68. package/dist/chunk-C57PNNAW.js +13 -0
  69. package/dist/{chunk-DULMOL3I.js → chunk-C5LBNLFJ.js} +1 -1
  70. package/dist/chunk-CAXOKGMB.js +27 -0
  71. package/dist/{chunk-WGLHB6WE.js → chunk-CJH2BGXY.js} +1 -1
  72. package/dist/chunk-CURXYF2R.js +9 -0
  73. package/dist/{chunk-ZRLWE3JM.js → chunk-DANLBFBD.js} +1 -1
  74. package/dist/{chunk-JYGUTY6R.js → chunk-DFYXIW4O.js} +1 -1
  75. package/dist/{chunk-GZJ5F7SB.js → chunk-DJ2XDBAO.js} +5 -5
  76. package/dist/{chunk-PFMZL3ZG.js → chunk-DW45EZHA.js} +2 -2
  77. package/dist/{chunk-GYDCXCJT.js → chunk-EB2UE6ZR.js} +1 -1
  78. package/dist/{chunk-OR5HUQSB.js → chunk-EEVLRCMA.js} +7 -7
  79. package/dist/{chunk-KT5LLPUV.js → chunk-EF3NPTHG.js} +1 -1
  80. package/dist/{chunk-FGCIEJPP.js → chunk-EIY6YGEZ.js} +1 -1
  81. package/dist/{chunk-THASH6OO.js → chunk-EUUCNDIS.js} +9 -9
  82. package/dist/{chunk-5PP435FL.js → chunk-EYPKBJYG.js} +1 -1
  83. package/dist/{chunk-ASQX3GXB.js → chunk-FLTPVFKA.js} +5 -5
  84. package/dist/chunk-FPYABAOX.js +69 -0
  85. package/dist/chunk-FVZXRGVM.js +8 -0
  86. package/dist/{chunk-67JHJO6V.js → chunk-G7I255HN.js} +13 -13
  87. package/dist/{chunk-2YBJQUYQ.js → chunk-GEXETMGL.js} +1 -1
  88. package/dist/chunk-GEZ45J4Z.js +2 -0
  89. package/dist/chunk-GUIJCTFJ.js +8 -0
  90. package/dist/{chunk-7JY3YYN4.js → chunk-GZQD6IBV.js} +3 -3
  91. package/dist/chunk-H7HRYFRQ.js +14 -0
  92. package/dist/{chunk-AANXPLMA.js → chunk-I5BS6AP6.js} +4 -4
  93. package/dist/chunk-I5CSYOOZ.js +28 -0
  94. package/dist/chunk-I64TVNHS.js +6 -0
  95. package/dist/{chunk-F44E76EC.js → chunk-IFQXTIMY.js} +4 -4
  96. package/dist/chunk-IHPAYSTJ.js +8 -0
  97. package/dist/{chunk-QTMRW6DK.js → chunk-IXBKWVEP.js} +1 -1
  98. package/dist/{chunk-2KNVUOWJ.js → chunk-J4KYZGHQ.js} +20 -20
  99. package/dist/{chunk-O6H2ZD32.js → chunk-J53LQWWY.js} +7 -7
  100. package/dist/{chunk-IXAYZNOZ.js → chunk-JM2IQC4J.js} +1 -1
  101. package/dist/{chunk-FZM3ZPW3.js → chunk-JPNAEN53.js} +1 -1
  102. package/dist/{chunk-S4FPYCUU.js → chunk-JQBVSPF5.js} +3 -3
  103. package/dist/{chunk-XGVMOV3O.js → chunk-KDTL6VEC.js} +8 -8
  104. package/dist/{chunk-2XQOK3CT.js → chunk-KUEYOJBN.js} +2 -2
  105. package/dist/{chunk-QA33EHHO.js → chunk-LCC3NXQX.js} +6 -6
  106. package/dist/{chunk-7JGR7WPD.js → chunk-LFYZ7NQ4.js} +3 -3
  107. package/dist/chunk-M54OL3YR.js +2 -0
  108. package/dist/chunk-MGW7SX53.js +11 -0
  109. package/dist/{chunk-3QYAYBJE.js → chunk-MOMOZVOW.js} +3 -3
  110. package/dist/{chunk-RYBYTUGZ.js → chunk-N442GPRJ.js} +1 -1
  111. package/dist/{chunk-6NHPL5JL.js → chunk-N6Q7HNAH.js} +1 -1
  112. package/dist/{chunk-RXHTIJ64.js → chunk-N7JX27JE.js} +1 -1
  113. package/dist/{chunk-SKFFBBAG.js → chunk-N7YHXL2F.js} +2 -2
  114. package/dist/{chunk-GR43CABV.js → chunk-ND5IZ37V.js} +5 -5
  115. package/dist/{chunk-LKVS4WCZ.js → chunk-NEYHBQLG.js} +3 -3
  116. package/dist/{chunk-ZDO62V4I.js → chunk-NIBE57KV.js} +1 -1
  117. package/dist/{chunk-6Y2BQI44.js → chunk-NS37Y5CN.js} +3 -3
  118. package/dist/chunk-OLVKHYHV.js +9 -0
  119. package/dist/{chunk-CVLWJBR5.js → chunk-PIWC3CAC.js} +1 -1
  120. package/dist/chunk-PMJMYH5O.js +5 -0
  121. package/dist/{chunk-6GDZUW3L.js → chunk-PVXX77MY.js} +6 -6
  122. package/dist/{chunk-NHNRNT4T.js → chunk-QIUIP6YZ.js} +2 -2
  123. package/dist/{chunk-NJN5IKWO.js → chunk-QQ2LDC6C.js} +1 -1
  124. package/dist/{chunk-FAIHSCOG.js → chunk-RBMZSZOH.js} +1 -1
  125. package/dist/{chunk-53WYJ5LZ.js → chunk-RFKCSRJX.js} +10 -10
  126. package/dist/{chunk-NDLXD4EY.js → chunk-RNQBWWYR.js} +5 -5
  127. package/dist/{chunk-N5KO2IHG.js → chunk-RQDVAUXD.js} +4 -4
  128. package/dist/{chunk-B5OYS65L.js → chunk-RVQUSPXC.js} +1 -1
  129. package/dist/chunk-SBZCJNNP.js +11 -0
  130. package/dist/{chunk-RDKIYORS.js → chunk-SYZLS2JA.js} +1 -1
  131. package/dist/chunk-TQWLJ5VM.js +7 -0
  132. package/dist/{chunk-RM74EAMV.js → chunk-TS36J7RW.js} +2 -2
  133. package/dist/{chunk-ZATTQ3FX.js → chunk-TTQ7K4AJ.js} +1 -1
  134. package/dist/{chunk-FPRQB5W6.js → chunk-UDHJTQBA.js} +12 -12
  135. package/dist/{chunk-P3BLJCTQ.js → chunk-UDVQORQM.js} +3 -3
  136. package/dist/chunk-UGOJLNYR.js +1 -0
  137. package/dist/chunk-UJJXWLHE.js +2 -0
  138. package/dist/{chunk-CF4YOJUQ.js → chunk-UPTKROT7.js} +9 -9
  139. package/dist/{chunk-SGNJ7I7P.js → chunk-UVBX5LEU.js} +4 -4
  140. package/dist/{chunk-HRMG2WMW.js → chunk-UWF45S5L.js} +23 -23
  141. package/dist/chunk-VIOILTE4.js +13 -0
  142. package/dist/{chunk-M3PUAGXJ.js → chunk-VWQNCYGQ.js} +7 -7
  143. package/dist/{chunk-2B4EKAZL.js → chunk-VYMM2BPX.js} +2 -2
  144. package/dist/{chunk-HNQKXOFU.js → chunk-WCPAQHHA.js} +1 -1
  145. package/dist/{chunk-36VIGB6J.js → chunk-WDQI3FV6.js} +6 -6
  146. package/dist/chunk-WUGQAZMC.js +14 -0
  147. package/dist/{chunk-74LZVJND.js → chunk-X32TVINY.js} +1 -1
  148. package/dist/{chunk-LBMC6GR5.js → chunk-XK4SMAVR.js} +1 -1
  149. package/dist/{chunk-U7PXMVIY.js → chunk-XK4U5MAS.js} +3 -3
  150. package/dist/{chunk-S6BGMLXI.js → chunk-XMH2JOZ2.js} +1 -1
  151. package/dist/{chunk-TE6R53YD.js → chunk-XWFLIGDQ.js} +1 -1
  152. package/dist/{chunk-PA273FZF.js → chunk-YMAU4EIK.js} +1 -1
  153. package/dist/{chunk-LDEFEPPL.js → chunk-YRJJKF5H.js} +1 -1
  154. package/dist/{chunk-7TZRICMH.js → chunk-YU6KOO6O.js} +4 -4
  155. package/dist/chunk-YZR4T5FZ.js +7 -0
  156. package/dist/{chunk-NC36LJCA.js → chunk-ZB2H2JJ2.js} +4 -4
  157. package/dist/{chunk-FLYOI6EW.js → chunk-ZOZEQZUA.js} +1 -1
  158. package/dist/data/DataTable.js +1 -1
  159. package/dist/data/EntityList.js +1 -1
  160. package/dist/data/Kanban.js +1 -1
  161. package/dist/data/ListLoadError.js +1 -1
  162. package/dist/data/ResizableTable.js +1 -1
  163. package/dist/format/index.js +1 -1
  164. package/dist/forms/AlignmentGrid.js +1 -1
  165. package/dist/forms/BorderInput.js +1 -1
  166. package/dist/forms/BrandAssetEditor.js +1 -1
  167. package/dist/forms/Button.js +1 -1
  168. package/dist/forms/ColorPicker.js +1 -1
  169. package/dist/forms/ComposerAttachments.js +1 -1
  170. package/dist/forms/CornersInput.js +1 -1
  171. package/dist/forms/DatePicker.js +1 -1
  172. package/dist/forms/DateRangePicker.js +1 -1
  173. package/dist/forms/DisplayChips.js +1 -1
  174. package/dist/forms/FilePicker.js +1 -1
  175. package/dist/forms/IconButton.js +1 -1
  176. package/dist/forms/IconPicker.js +1 -1
  177. package/dist/forms/Input.js +1 -1
  178. package/dist/forms/InputNumber.js +1 -1
  179. package/dist/forms/LinkPicker.js +1 -1
  180. package/dist/forms/MediaLibrary.js +1 -1
  181. package/dist/forms/MediaUploadField.js +1 -1
  182. package/dist/forms/MediaUploadGrid.js +1 -1
  183. package/dist/forms/MediaUsedInList.js +1 -1
  184. package/dist/forms/NumericKeypad.js +1 -1
  185. package/dist/forms/PictureTiles.js +1 -1
  186. package/dist/forms/PositionInput.js +1 -1
  187. package/dist/forms/RenameField.js +1 -1
  188. package/dist/forms/Segmented.js +1 -1
  189. package/dist/forms/Select.js +1 -1
  190. package/dist/forms/SidesInput.js +1 -1
  191. package/dist/forms/Slider.js +1 -1
  192. package/dist/forms/Snippet.js +1 -1
  193. package/dist/forms/SplitButton.js +1 -1
  194. package/dist/forms/TagInput.js +1 -1
  195. package/dist/forms/TextToolbar.js +1 -1
  196. package/dist/forms/WidthsBar.js +1 -1
  197. package/dist/icons/efficient-glyphs.js +1 -1
  198. package/dist/icons/efficient-looks.js +1 -1
  199. package/dist/icons/efficient.js +1 -1
  200. package/dist/icons/looks/map.js +1 -1
  201. package/dist/icons/payment.js +1 -1
  202. package/dist/icons/sets.js +1 -1
  203. package/dist/index.d.ts +2 -19
  204. package/dist/index.js +666 -666
  205. package/dist/map/index.js +2 -2
  206. package/dist/page-tabs/index.js +5 -5
  207. package/dist/pdf/index.js +1 -1
  208. package/dist/shell/AppUpdateBanner.js +1 -1
  209. package/dist/shell/ColoredBadge.js +1 -1
  210. package/dist/shell/ConfirmDialog.js +1 -1
  211. package/dist/shell/ContextMenu.js +1 -1
  212. package/dist/shell/Dialog.js +1 -1
  213. package/dist/shell/Drawer.js +1 -1
  214. package/dist/shell/DropdownMenu.js +1 -1
  215. package/dist/shell/EditableGrid.js +1 -1
  216. package/dist/shell/GlobalSearch.js +1 -1
  217. package/dist/shell/HelpCenter.js +1 -1
  218. package/dist/shell/IconRail.js +1 -1
  219. package/dist/shell/ImageLightbox.js +1 -1
  220. package/dist/shell/ItemCount.js +1 -1
  221. package/dist/shell/LanguageSelect.js +1 -1
  222. package/dist/shell/Markdown.js +1 -1
  223. package/dist/shell/MilestoneTimeline.js +1 -1
  224. package/dist/shell/Popover.js +1 -1
  225. package/dist/shell/PopupMenu.js +1 -1
  226. package/dist/shell/ProductionTimeline.js +1 -1
  227. package/dist/shell/ResizeHandle.js +1 -1
  228. package/dist/shell/SearchableSelect.js +1 -1
  229. package/dist/shell/SettingReset.js +1 -1
  230. package/dist/shell/SettingRow.js +1 -1
  231. package/dist/shell/SidebarLayout.js +1 -1
  232. package/dist/shell/SidebarNav.js +1 -1
  233. package/dist/shell/SortableList.js +1 -1
  234. package/dist/shell/StatusBadge.js +1 -1
  235. package/dist/shell/Tabs.js +1 -1
  236. package/dist/shell/TimelineTrack.js +1 -1
  237. package/dist/shell/Tooltip.js +1 -1
  238. package/dist/shell/TopNav.js +1 -1
  239. package/dist/shell/TransferProgress.js +1 -1
  240. package/dist/shell/Tree.js +1 -1
  241. package/dist/shell/discardGuard.js +1 -1
  242. package/dist/telemetry/index.js +1 -1
  243. package/dist/templates/AuthScreen.js +1 -1
  244. package/dist/templates/ChatTemplate.js +1 -1
  245. package/dist/templates/CheckoutTemplate.js +1 -1
  246. package/dist/templates/DashboardTemplate.js +1 -1
  247. package/dist/templates/DataTablePage.js +1 -1
  248. package/dist/templates/EmailTemplate.js +1 -1
  249. package/dist/templates/ErrorBoundary.js +1 -1
  250. package/dist/templates/FormLayoutPage.js +1 -1
  251. package/dist/templates/GalleryTemplate.js +1 -1
  252. package/dist/ui/index.d.ts +1 -0
  253. package/dist/ui/index.js +1 -1
  254. package/dist/ui.css +10 -0
  255. package/dist/version.js +1 -1
  256. package/package.json +1 -1
  257. package/dist/Calculator-W6YA44OY.js +0 -29
  258. package/dist/Files-5WRVSC5R.js +0 -121
  259. package/dist/PdfViewer-GFQAIHDP.js +0 -1
  260. package/dist/Sidebar-ROMFJHCD.js +0 -44
  261. package/dist/chunk-4DZVWK7U.js +0 -7
  262. package/dist/chunk-5N6AC3LN.js +0 -15
  263. package/dist/chunk-6JKSRXZM.js +0 -8
  264. package/dist/chunk-AUZKIL62.js +0 -23
  265. package/dist/chunk-B3PNZBZM.js +0 -27
  266. package/dist/chunk-DCICBH2L.js +0 -3
  267. package/dist/chunk-DICWZEGH.js +0 -2
  268. package/dist/chunk-EOVXFXVV.js +0 -2
  269. package/dist/chunk-F245EG2A.js +0 -9
  270. package/dist/chunk-FPZBHNZU.js +0 -7
  271. package/dist/chunk-GIUX7WUS.js +0 -7
  272. package/dist/chunk-GMLGR4R6.js +0 -8
  273. package/dist/chunk-IMRGGJIJ.js +0 -22
  274. package/dist/chunk-IWFWPFYQ.js +0 -13
  275. package/dist/chunk-KZD2AFH2.js +0 -13
  276. package/dist/chunk-LE5LWALR.js +0 -1
  277. package/dist/chunk-LJJSFJA2.js +0 -69
  278. package/dist/chunk-M3OEWPXZ.js +0 -1
  279. package/dist/chunk-NPQBJJLP.js +0 -9
  280. package/dist/chunk-NSOAHIQZ.js +0 -11
  281. package/dist/chunk-SEJAT3UE.js +0 -1
  282. package/dist/chunk-SPJIFRNY.js +0 -8
  283. package/dist/chunk-SYDGCECZ.js +0 -14
  284. package/dist/chunk-UCIOCS4X.js +0 -2
  285. package/dist/chunk-UMQLDWSS.js +0 -6
  286. package/dist/chunk-VF53GD6D.js +0 -5
  287. package/dist/chunk-WD3I7AEZ.js +0 -14
  288. package/dist/chunk-YAQ5RF3H.js +0 -28
  289. package/dist/chunk-ZICLAMMR.js +0 -11
  290. /package/dist/{chunk-R3K2BNFF.js → chunk-2762IAB7.js} +0 -0
  291. /package/dist/{chunk-K5A62ZS5.js → chunk-T75VCE6K.js} +0 -0
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{EmailTemplate as default}from"../chunk-DULMOL3I.js";import"../chunk-53WYJ5LZ.js";import"../chunk-2XQOK3CT.js";import"../chunk-QWK6DRSN.js";import"../chunk-NHWDB7R6.js";import"../chunk-RXHTIJ64.js";import"../chunk-UGTRSRIW.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";import"../chunk-UIWGVOFH.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-43MCNASD.js";import"../chunk-C3QOHMR6.js";import"../chunk-TWVUQUUD.js";
2
+ export{EmailTemplate as default}from"../chunk-C5LBNLFJ.js";import"../chunk-RFKCSRJX.js";import"../chunk-QWK6DRSN.js";import"../chunk-KUEYOJBN.js";import"../chunk-NHWDB7R6.js";import"../chunk-N7JX27JE.js";import"../chunk-UGTRSRIW.js";import"../chunk-UJJXWLHE.js";import"../chunk-XWFLIGDQ.js";import"../chunk-UIWGVOFH.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-QQ2LDC6C.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{ErrorBoundary as default}from"../chunk-FAIHSCOG.js";import"../chunk-CNVYM3HP.js";import"../chunk-KNUR2UEG.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.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-43MCNASD.js";import"../chunk-C3QOHMR6.js";import"../chunk-TWVUQUUD.js";
2
+ export{ErrorBoundary as default}from"../chunk-RBMZSZOH.js";import"../chunk-CNVYM3HP.js";import"../chunk-KNUR2UEG.js";import"../chunk-UJJXWLHE.js";import"../chunk-XWFLIGDQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-QQ2LDC6C.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{FormLayoutPage as default}from"../chunk-KDWK5WGU.js";import"../chunk-EOGXCGQF.js";import"../chunk-PB7G6CJ7.js";import"../chunk-NI5FXWK5.js";import"../chunk-P3BLJCTQ.js";import"../chunk-EO5RLFRX.js";import"../chunk-7HIHQR3X.js";import"../chunk-6KBDNYRW.js";import"../chunk-2NMW66P5.js";import"../chunk-CGZBDI6C.js";import"../chunk-7JY3YYN4.js";import"../chunk-4DZVWK7U.js";import"../chunk-GYDCXCJT.js";import"../chunk-LE5LWALR.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-CDAJKLGL.js";import"../chunk-F44E76EC.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";import"../chunk-UIWGVOFH.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-43MCNASD.js";import"../chunk-C3QOHMR6.js";import"../chunk-TWVUQUUD.js";
2
+ export{FormLayoutPage as default}from"../chunk-57YY4J6T.js";import"../chunk-EOGXCGQF.js";import"../chunk-PB7G6CJ7.js";import"../chunk-NI5FXWK5.js";import"../chunk-UDVQORQM.js";import"../chunk-EO5RLFRX.js";import"../chunk-7HIHQR3X.js";import"../chunk-2NMW66P5.js";import"../chunk-6KBDNYRW.js";import"../chunk-CGZBDI6C.js";import"../chunk-GZQD6IBV.js";import"../chunk-YZR4T5FZ.js";import"../chunk-EB2UE6ZR.js";import"../chunk-UGOJLNYR.js";import"../chunk-AYZY3YNC.js";import"../chunk-UGTRSRIW.js";import"../chunk-CDAJKLGL.js";import"../chunk-IFQXTIMY.js";import"../chunk-URHGHXDN.js";import"../chunk-5QFPTDQF.js";import"../chunk-UJJXWLHE.js";import"../chunk-XWFLIGDQ.js";import"../chunk-UIWGVOFH.js";import"../chunk-J75ZT2JQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-QQ2LDC6C.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- export{GalleryTemplate as default}from"../chunk-2YBJQUYQ.js";import"../chunk-N5KO2IHG.js";import"../chunk-FQEALPZJ.js";import"../chunk-EOGXCGQF.js";import"../chunk-JDQGHQ2C.js";import"../chunk-FZM3ZPW3.js";import"../chunk-WGLHB6WE.js";import"../chunk-EOVXFXVV.js";import"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.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-43MCNASD.js";import"../chunk-C3QOHMR6.js";import"../chunk-TWVUQUUD.js";
2
+ export{GalleryTemplate as default}from"../chunk-GEXETMGL.js";import"../chunk-RQDVAUXD.js";import"../chunk-FQEALPZJ.js";import"../chunk-EOGXCGQF.js";import"../chunk-JDQGHQ2C.js";import"../chunk-JPNAEN53.js";import"../chunk-UJJXWLHE.js";import"../chunk-XWFLIGDQ.js";import"../chunk-R2VKEMZH.js";import"../chunk-CJH2BGXY.js";import"../chunk-QQ2LDC6C.js";import"../chunk-PGN5ME7B.js";import"../chunk-62LW225J.js";import"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";import"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";import"../chunk-TWVUQUUD.js";import"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";import"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
@@ -224,6 +224,7 @@ export { default as TreemapChart } from '../charts/TreemapChart.js';
224
224
  export { default as SunburstChart } from '../charts/SunburstChart.js';
225
225
  export { default as SankeyChart } from '../charts/SankeyChart.js';
226
226
  export { default as ChordChart } from '../charts/ChordChart.js';
227
+ export { default as ImageAnnotator, ImageAnnotatorHandle, ImageAnnotatorProps } from '../apps/ImageAnnotator.js';
227
228
  export { VERSION } from '../version.js';
228
229
  export { B as BORDER_LINE_STYLES, a as BorderLineStyle } from '../borderLineStyles-C-W0uSzL.js';
229
230
  import 'react';
package/dist/ui/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- import"../chunk-K5A62ZS5.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";export{EmailTemplate}from"../chunk-DULMOL3I.js";export{ErrorBoundary}from"../chunk-FAIHSCOG.js";export{ErrorPage}from"../chunk-CNVYM3HP.js";export{FormLayoutPage}from"../chunk-KDWK5WGU.js";export{GalleryTemplate}from"../chunk-2YBJQUYQ.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{AuthScreen}from"../chunk-TKXUDCOI.js";export{ChatTemplate}from"../chunk-ZATTQ3FX.js";export{CheckoutTemplate}from"../chunk-6NHPL5JL.js";export{DashboardTemplate}from"../chunk-O6H2ZD32.js";export{DataTablePage}from"../chunk-SSUZAOGI.js";export{Stepper}from"../chunk-DPUM3H5N.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-N5KO2IHG.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-E227NVFX.js";export{TopNav}from"../chunk-ZXNJSSRV.js";export{SidebarLayout}from"../chunk-53WYJ5LZ.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-NDLXD4EY.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-ZZ67Q5HJ.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-R3K3LVVS.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-5BV2WW74.js";export{ResizeHandle}from"../chunk-2XQOK3CT.js";export{SettingReset}from"../chunk-SGNJ7I7P.js";export{SettingRow}from"../chunk-NC36LJCA.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";import"../chunk-QWK6DRSN.js";export{MetricBar}from"../chunk-CD7P34VC.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-IYPRFUTT.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-UCIOCS4X.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-RQ4UIWWD.js";export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-7TC3LJQM.js";export{PageHeader}from"../chunk-45IVWLKF.js";export{FloatingBar}from"../chunk-7KWYVQMX.js";export{GlobalSearch,openGlobalSearch}from"../chunk-4KJ7MLWO.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-WGRS6QBT.js";export{HelpCenter}from"../chunk-XGVMOV3O.js";export{IconRail,IconRailButton}from"../chunk-QTMRW6DK.js";import"../chunk-FQEALPZJ.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-Y7ANTS5W.js";export{EditableGrid}from"../chunk-CF4YOJUQ.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{BudgetBar,budgetState}from"../chunk-XZH5PEML.js";export{Card,StatCard}from"../chunk-EOGXCGQF.js";export{ContainerFillChart}from"../chunk-Y46WPTKY.js";export{CountBadge}from"../chunk-LTESFDTF.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-I3QFYBOP.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-RIXX6NRV.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-JYGUTY6R.js";export{Avatar,AvatarGroup}from"../chunk-NHWDB7R6.js";export{BRAND_ICON_NAMES,ICON_NAMES,isBrandIconName,isIconName}from"../chunk-T23TIJ4P.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{SplitButton_default as SplitButton}from"../chunk-DCICBH2L.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-SPJIFRNY.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-6GDZUW3L.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-H6PFTU3L.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-G2X5YYIQ.js";export{WidthsBar}from"../chunk-UMQLDWSS.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-CVLWJBR5.js";export{Slider,SliderGroup}from"../chunk-7TZRICMH.js";export{Snippet}from"../chunk-FPZBHNZU.js";export{MEDIA_FILES_DRAG_TYPE,MEDIA_FILE_DRAG_TYPE,MEDIA_FOLDER_DRAG_TYPE,MediaLibrary,readMediaFileDrag}from"../chunk-YAQ5RF3H.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-67JHJO6V.js";import"../chunk-B5OYS65L.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{ImageLightbox,lightboxKind}from"../chunk-NSOAHIQZ.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Drawer}from"../chunk-M3PUAGXJ.js";export{EmptyState}from"../chunk-NEAT7BIP.js";export{Breadcrumbs}from"../chunk-PT77FC5X.js";export{mediaLibraryMenu}from"../chunk-BGJMDP6J.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-32WEY6O5.js";export{RenameField}from"../chunk-S6BGMLXI.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-OR5HUQSB.js";export{MediaUsedInList}from"../chunk-FGCIEJPP.js";export{NumericKeypad}from"../chunk-FLYOI6EW.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{PictureTiles}from"../chunk-ZRLWE3JM.js";export{PositionInput}from"../chunk-RYBYTUGZ.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{LinkPicker,TextLinkField}from"../chunk-SYDGCECZ.js";export{SearchableSelect}from"../chunk-KZD2AFH2.js";export{NativeSelect,Select_default as Select}from"../chunk-P3BLJCTQ.js";import"../chunk-EO5RLFRX.js";import"../chunk-7HIHQR3X.js";export{Label,labelClasses}from"../chunk-EQKUFYX6.js";export{CornersInput}from"../chunk-AANXPLMA.js";export{DatePicker_default as DatePicker}from"../chunk-PA273FZF.js";export{DateRangePicker,toISODate}from"../chunk-AUZKIL62.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-GJ23UZDQ.js";export{DisplayChips}from"../chunk-ASQX3GXB.js";export{FilePicker_default as FilePicker}from"../chunk-GR43CABV.js";export{FormErrorSummary}from"../chunk-NJTFI7AA.js";export{AlignmentGrid}from"../chunk-RDKIYORS.js";export{BorderInput,borderSides,borderStartEach}from"../chunk-2B4EKAZL.js";export{IconPicker}from"../chunk-3QYAYBJE.js";export{BrandAssetEditor}from"../chunk-QA33EHHO.js";export{MediaUploadField}from"../chunk-F245EG2A.js";export{Segmented}from"../chunk-S4FPYCUU.js";import"../chunk-JDQGHQ2C.js";export{ImageFocusPoint}from"../chunk-53EW4M5S.js";export{FormField}from"../chunk-6KBDNYRW.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Calendar}from"../chunk-LGK47SEN.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-FPRQB5W6.js";export{Popover}from"../chunk-7JGR7WPD.js";export{InputNumber_default as InputNumber}from"../chunk-SKFFBBAG.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{slugify}from"../chunk-24AL3CDS.js";export{ENTRANCE_ATTR,ENTRANCE_FROM,ENTRANCE_FROM_ATTR,ENTRANCE_FROM_DEFAULT,ENTRANCE_KINDS,ENTRANCE_KINDS_WITH_FROM,ENTRANCE_STATE_ATTR,armEntrance,entranceAttrs,playEntrance,readEntrance}from"../chunk-Q2SCJQ5H.js";export{HOVER_MOTION,MOTION_EASING,MOTION_GROUPS,MOTION_TIMING,motionSeconds,rotateDegrees}from"../chunk-AIJ3G6BD.js";export{hexWithAlpha,mixHex,rgbToHex}from"../chunk-CJSZW3OS.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{BORDER_LINE_STYLES}from"../chunk-NOMWJTN2.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{fromDateKey,toDateKey}from"../chunk-2HMNOLKX.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.js";export{useGridSelection}from"../chunk-VLKDWKVR.js";export{MARQUEE_IGNORE,marqueeHits,rectsIntersect,useMarquee}from"../chunk-OLFYNMTD.js";export{edgeScrollDelta,getScrollParent,scrollBoundsOf}from"../chunk-LACL4MAR.js";export{useRootIsDark}from"../chunk-UPXDDO3U.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-CUZQVBPC.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{useSort}from"../chunk-E6FDUFPH.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{DataTable}from"../chunk-5LZTYOYD.js";export{Pagination}from"../chunk-7FBAZLBX.js";export{EntityList}from"../chunk-IWFWPFYQ.js";import"../chunk-PH3P54QQ.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{ListFooter}from"../chunk-4H5NTMOF.js";export{ListLoadError}from"../chunk-LDEFEPPL.js";export{ResizableTable}from"../chunk-MQKUGIN7.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{useColumnConfig}from"../chunk-UKBXQXDZ.js";import"../chunk-ULJQYXHB.js";export{useTableNav}from"../chunk-ATMJ5ZPK.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{Kanban}from"../chunk-3WFJ4PYV.js";export{TreemapChart}from"../chunk-GIUX7WUS.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-6Y2BQI44.js";export{RankedBars}from"../chunk-5NDONLH5.js";export{SankeyChart}from"../chunk-NPQBJJLP.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-6JKSRXZM.js";export{StatTile}from"../chunk-3CMCGOOV.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-UDL2A2GT.js";export{FunnelChart}from"../chunk-WD3I7AEZ.js";export{HeatmapChart}from"../chunk-ZICLAMMR.js";export{HistogramChart}from"../chunk-DICWZEGH.js";export{Meter}from"../chunk-R3JKZXII.js";export{PieChart}from"../chunk-Q2MW334M.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-5N6AC3LN.js";export{RadialBarChart}from"../chunk-GZJ5F7SB.js";export{RangeChart}from"../chunk-PFMZL3ZG.js";export{ChordChart}from"../chunk-GMLGR4R6.js";import"../chunk-5PP435FL.js";export{StepChain,StepChainItem}from"../chunk-DNLRUZGS.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-74LZVJND.js";export{Divider}from"../chunk-DFOFEBYX.js";export{ContextMenu,useContextMenu}from"../chunk-NHNRNT4T.js";export{Banner}from"../chunk-6JDR6T4U.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-Q5Z3KHT2.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-NRLTGGCS.js";export{Input_default as Input}from"../chunk-7JY3YYN4.js";export{DropdownMenu}from"../chunk-4DZVWK7U.js";import"../chunk-GYDCXCJT.js";export{mediaFileName}from"../chunk-LBMC6GR5.js";export{TransferProgress}from"../chunk-HNQKXOFU.js";export{IconButton_default as IconButton}from"../chunk-LE5LWALR.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-7KIDOIPY.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-6TLSXBKC.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-GEYM4WN3.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile}from"../chunk-Y3JW2GW5.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";import"../chunk-LF27WIN2.js";export{TimeSeriesChart}from"../chunk-IMRGGJIJ.js";export{ChartBrush}from"../chunk-WMLBMR4E.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-7H7U3HC6.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-QOQ6GXVA.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-DZBGJ6X4.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{DEFAULT_FLOW_CHART_LABELS,FlowChart}from"../chunk-IXAYZNOZ.js";export{FLOW_LAYOUT,FLOW_SPEC_LIMITS,layoutFlow,parseFlowSpec}from"../chunk-FAERBT6Y.js";export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-AW7TOB6N.js";import"../chunk-KNUR2UEG.js";export{NEXT_CHUNK_PATH_PREFIX,STALE_CHUNK_RELOAD_COOLDOWN_MS,STALE_CHUNK_RELOAD_KEY,VITE_PRELOAD_ERROR_EVENT,installStaleChunkReload,isStaleChunkError}from"../chunk-JDCM2VHG.js";export{Result}from"../chunk-Y4RERPFN.js";import"../chunk-5A7MWTXX.js";export{ALT,ALT_SHIFT_D,ALT_SHIFT_E,ALT_SHIFT_N,CMD_A,CMD_DOT,CMD_ENTER,CMD_K,CMD_S,ENTER,Kbd,MOD,SHIFT,isMac}from"../chunk-ZDMZM7HD.js";export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-B3PNZBZM.js";export{Dialog}from"../chunk-VF53GD6D.js";export{ItemCount}from"../chunk-RXHTIJ64.js";import"../chunk-3DVNXNTF.js";import"../chunk-R3K2BNFF.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";export{ColoredBadge}from"../chunk-IL56C56I.js";import"../chunk-SCGBCBXP.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-TRWHVG3A.js";import"../chunk-2QY5BJLA.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";import"../chunk-F3ZOO23R.js";export{VERSION}from"../chunk-SEJAT3UE.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,useStatusLabel}from"../chunk-FZM3ZPW3.js";export{useFocusTrap,useScrollLock}from"../chunk-CDAJKLGL.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-F44E76EC.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";import"../chunk-WGLHB6WE.js";export{Button_default as Button}from"../chunk-EOVXFXVV.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-TE6R53YD.js";export{Icon}from"../chunk-UIWGVOFH.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-MRJKZWWV.js";export{Tooltip}from"../chunk-NJN5IKWO.js";export{OVERLAY_OPEN_EVENT,dismissPopups}from"../chunk-PGN5ME7B.js";export{Z_LAYERS}from"../chunk-62LW225J.js";export{MENU_MAX_HEIGHT,POPUP_MAX_WIDTH,placeMenu,popupBounds,useDropdownPosition}from"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";export{setShellApiClient}from"../chunk-STKJA4PV.js";export{BoxPlotChart}from"../chunk-U7PXMVIY.js";export{CandlestickChart}from"../chunk-LKVS4WCZ.js";export{ChartTooltip}from"../chunk-36VIGB6J.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";export{CartesianPlot}from"../chunk-P4L74UA5.js";import"../chunk-BFO72WQB.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";
2
+ import"../chunk-T75VCE6K.js";export{ELEVATION_LEVELS,RADIUS_ROLES}from"../chunk-4MVRSCQE.js";export{BORDER_WIDTHS,FONT_WEIGHTS,MOTION_DURATIONS,TYPE_SCALE}from"../chunk-LH7IKIGE.js";export{DataTablePage}from"../chunk-6U25ELYF.js";export{EmailTemplate}from"../chunk-C5LBNLFJ.js";export{ErrorBoundary}from"../chunk-RBMZSZOH.js";export{ErrorPage}from"../chunk-CNVYM3HP.js";export{FormLayoutPage}from"../chunk-57YY4J6T.js";export{GalleryTemplate}from"../chunk-GEXETMGL.js";export{ACCENT_ROLES,COLOUR_ROLES,FLAT_STATUS_ROLES,IDENTITY_ROLES,NEUTRAL_ROLES,SCRIM_ROLES,STATUS_GROUPS,STATUS_ROLES}from"../chunk-VVJIKS47.js";export{useTransferProgress}from"../chunk-QHOEMRR7.js";export{AuthScreen}from"../chunk-5MO5JBBK.js";export{ChatTemplate}from"../chunk-TTQ7K4AJ.js";export{CheckoutTemplate}from"../chunk-N6Q7HNAH.js";export{DashboardTemplate}from"../chunk-J53LQWWY.js";export{TopNav}from"../chunk-A4KQKN32.js";export{Stepper}from"../chunk-DPUM3H5N.js";export{Tabs,tabButtonId,tabPanelId}from"../chunk-RQDVAUXD.js";export{Paragraph,Text,Title}from"../chunk-5KUE6IHF.js";export{TimeAgo}from"../chunk-E227NVFX.js";export{SidebarActionButton}from"../chunk-KMTCYDJH.js";export{SidebarLayout}from"../chunk-RFKCSRJX.js";export{SidebarGroupLabel,SidebarNavGroup,SidebarNavItem,SidebarSection}from"../chunk-RNQBWWYR.js";import"../chunk-QWK6DRSN.js";export{Skeleton}from"../chunk-4Z62SEA5.js";export{ListRow,SortableList}from"../chunk-BKKKIHHV.js";export{Grid,Inline,Stack}from"../chunk-3RPER7VH.js";export{Statistic}from"../chunk-R3K3LVVS.js";export{POST_PRODUCTION_STATUSES,ProductionTimeline,STAGES,calcOverall,calcReportOverall,useProductionTimeline}from"../chunk-3LTZ4N46.js";export{ResizeHandle}from"../chunk-KUEYOJBN.js";export{SettingReset}from"../chunk-UVBX5LEU.js";export{SettingRow}from"../chunk-ZB2H2JJ2.js";export{LanguagePanel,LanguageSelect,languageSelectWidth}from"../chunk-4ZUV6WQT.js";export{MetricBar}from"../chunk-CD7P34VC.js";export{isSeverityTone,severityOf}from"../chunk-TZFNWAED.js";export{MetricBarLegend}from"../chunk-IYPRFUTT.js";import"../chunk-URBCGEXG.js";export{MilestoneTimeline}from"../chunk-GEZ45J4Z.js";import"../chunk-S4Z657L6.js";export{TimelineTrack}from"../chunk-4UGFNTZ3.js";export{DAY_MS,fmtSliderDate,toDayMs}from"../chunk-7TC3LJQM.js";export{PageHeader}from"../chunk-45IVWLKF.js";export{EmptyValue}from"../chunk-HNQPF5QZ.js";export{FloatingBar}from"../chunk-7KWYVQMX.js";export{GlobalSearch,openGlobalSearch}from"../chunk-4KJ7MLWO.js";export{pushRecent as pushRecentSearch,sanitizeRecent as sanitizeRecentSearches}from"../chunk-WGRS6QBT.js";export{HelpCenter}from"../chunk-KDTL6VEC.js";export{IconRail,IconRailButton}from"../chunk-IXBKWVEP.js";import"../chunk-FQEALPZJ.js";export{CountBadge}from"../chunk-LTESFDTF.js";export{EditableGrid}from"../chunk-UPTKROT7.js";export{BudgetBar,budgetState}from"../chunk-XZH5PEML.js";export{Card,StatCard}from"../chunk-EOGXCGQF.js";export{ContainerFillChart}from"../chunk-Y46WPTKY.js";export{ENGLISH,SHELL_LANGUAGE_STORAGE_KEY,ShellLanguageProvider,matchShellLanguage,readSavedShellLanguage,resolveShellLanguage,saveShellLanguage,useShellLanguage}from"../chunk-I3QFYBOP.js";export{Accordion,AccordionBody,AccordionHeading}from"../chunk-RIXX6NRV.js";export{APP_UPDATE_POLL_MS,AppUpdateBanner,useAppUpdate}from"../chunk-DFYXIW4O.js";export{Avatar,AvatarGroup}from"../chunk-NHWDB7R6.js";export{BRAND_ICON_NAMES,ICON_NAMES,isBrandIconName,isIconName}from"../chunk-T23TIJ4P.js";export{BRAND_MAX_HEIGHT,BRAND_MIN_HEIGHT_PX,brandBox}from"../chunk-64ACCUNN.js";export{useDebouncedValue}from"../chunk-SLGT5WPJ.js";export{useRootIsDark}from"../chunk-UPXDDO3U.js";export{CORNERS,CORNERS_FOR_THEME,applyCorners,applyIconSet,applyThemePrefs,cornersFor,resolveCorners,resolveTheme,useTheme}from"../chunk-CUZQVBPC.js";export{ICON_SET_FOR_THEME,THEME_ICON_SETS,iconSetFor,loadIconSet}from"../chunk-VQCKMT5F.js";export{TileButton_default as TileButton}from"../chunk-H2R4SNNO.js";export{TimePicker_default as TimePicker}from"../chunk-G2X5YYIQ.js";export{WidthsBar}from"../chunk-I64TVNHS.js";export{COLUMN_COUNT_MAX,COLUMN_COUNT_WIDTHS,COLUMN_SHARES_EQUAL,COLUMN_SHARE_MIN,columnSharesWidths,resolveColumnShares,resolveColumnWidths}from"../chunk-PLGJOHEG.js";export{SidesEachToggle,SidesInput,sidesStartEach}from"../chunk-PIWC3CAC.js";export{Slider,SliderGroup}from"../chunk-YU6KOO6O.js";export{Snippet}from"../chunk-BG2OL3MO.js";export{SplitButton_default as SplitButton}from"../chunk-56GGBTAD.js";export{Switch_default as Switch}from"../chunk-M3R4C3A6.js";export{TagInput}from"../chunk-GUIJCTFJ.js";export{TextToolbar,textToolbarRows,textToolbarWindowColumns}from"../chunk-PVXX77MY.js";export{TEXT_ALIGNS,TEXT_ALIGN_FIT,TEXT_ALIGN_ICONS,textAlignFit,textAlignOptions,textAlignWords}from"../chunk-H6PFTU3L.js";export{Textarea_default as Textarea}from"../chunk-PB7G6CJ7.js";export{PictureTiles}from"../chunk-DANLBFBD.js";export{PositionInput}from"../chunk-N442GPRJ.js";export{RadioGroup}from"../chunk-32VV2J22.js";export{Radio_default as Radio}from"../chunk-NI5FXWK5.js";export{ShowWhen}from"../chunk-YEM4KYCW.js";export{LinkPicker,TextLinkField}from"../chunk-WUGQAZMC.js";export{SearchableSelect}from"../chunk-C57PNNAW.js";export{Label,labelClasses}from"../chunk-EQKUFYX6.js";export{MEDIA_FILES_DRAG_TYPE,MEDIA_FILE_DRAG_TYPE,MEDIA_FOLDER_DRAG_TYPE,MediaLibrary,readMediaFileDrag}from"../chunk-I5CSYOOZ.js";export{Tree,TreeEmptySlot,TreeGroup,TreeGroupLabel,TreeRow,TreeSeam}from"../chunk-G7I255HN.js";import"../chunk-RVQUSPXC.js";export{MarqueeBox}from"../chunk-IC72MGON.js";export{ImageLightbox,lightboxKind}from"../chunk-MGW7SX53.js";export{LIGHTBOX_PICTURE_FIT,ZoomableImage}from"../chunk-CGUMJZUB.js";export{DescriptionList}from"../chunk-SACUSHVN.js";export{Drawer}from"../chunk-VWQNCYGQ.js";export{EmptyState}from"../chunk-NEAT7BIP.js";export{Breadcrumbs}from"../chunk-PT77FC5X.js";export{useGridSelection}from"../chunk-VLKDWKVR.js";export{MARQUEE_IGNORE,marqueeHits,rectsIntersect,useMarquee}from"../chunk-OLFYNMTD.js";export{edgeScrollDelta,getScrollParent,scrollBoundsOf}from"../chunk-LACL4MAR.js";export{mediaLibraryMenu}from"../chunk-BGJMDP6J.js";export{mediaMoveItems,mediaMoveSubmenu,useMediaMoveItems}from"../chunk-32WEY6O5.js";export{RenameField}from"../chunk-XMH2JOZ2.js";export{NativeSelect,Select_default as Select}from"../chunk-UDVQORQM.js";import"../chunk-EO5RLFRX.js";import"../chunk-7HIHQR3X.js";export{FULL_BADGE_TILE_PX,MediaUploadGrid}from"../chunk-EEVLRCMA.js";export{MediaUsedInList}from"../chunk-EIY6YGEZ.js";export{NumericKeypad}from"../chunk-ZOZEQZUA.js";export{MAX_FRACTION_DIGITS,appendKey,backspace}from"../chunk-VEPVOHCV.js";export{DisplayChips}from"../chunk-FLTPVFKA.js";export{FilePicker_default as FilePicker}from"../chunk-ND5IZ37V.js";export{FormErrorSummary}from"../chunk-NJTFI7AA.js";export{CornersInput}from"../chunk-I5BS6AP6.js";export{DatePicker_default as DatePicker}from"../chunk-YMAU4EIK.js";export{DateRangePicker,toISODate}from"../chunk-2YRLRMZH.js";export{Calendar}from"../chunk-LGK47SEN.js";export{DateTimePicker_default as DateTimePicker}from"../chunk-GJ23UZDQ.js";export{slugify}from"../chunk-24AL3CDS.js";export{ENTRANCE_ATTR,ENTRANCE_FROM,ENTRANCE_FROM_ATTR,ENTRANCE_FROM_DEFAULT,ENTRANCE_KINDS,ENTRANCE_KINDS_WITH_FROM,ENTRANCE_STATE_ATTR,armEntrance,entranceAttrs,playEntrance,readEntrance}from"../chunk-Q2SCJQ5H.js";export{HOVER_MOTION,MOTION_EASING,MOTION_GROUPS,MOTION_TIMING,motionSeconds,rotateDegrees}from"../chunk-AIJ3G6BD.js";export{hexWithAlpha,mixHex,rgbToHex}from"../chunk-CJSZW3OS.js";export{addShowWhenFacts,isShown,lazyShowWhenContext,showWhenFactReaders,showWhenFactsContext,showWhenOf,shownForOption,truthy,withRowRules,withRowsShownWhen,withShowWhen,withShowWhenFacts}from"../chunk-HCP7WOAL.js";export{fromDateKey,toDateKey}from"../chunk-2HMNOLKX.js";export{AlignmentGrid}from"../chunk-SYZLS2JA.js";export{BorderInput,borderSides,borderStartEach}from"../chunk-VYMM2BPX.js";export{IconPicker}from"../chunk-MOMOZVOW.js";export{ColorPicker,ColorPickerPanel,ColorSwatch,HexInput,colorFill,colorSwatchClasses}from"../chunk-UDHJTQBA.js";export{Popover}from"../chunk-LFYZ7NQ4.js";export{InputNumber_default as InputNumber}from"../chunk-N7YHXL2F.js";export{useSettingAuto,useSettingRowName}from"../chunk-2NMW66P5.js";export{BORDER_LINE_STYLES}from"../chunk-NOMWJTN2.js";export{contrastRatio,hexToHsv,hexToRgb,hsvToHex,parseHexColor,readableInk,relativeLuminance}from"../chunk-S6OB6HJB.js";export{BrandAssetEditor}from"../chunk-LCC3NXQX.js";export{MediaUploadField}from"../chunk-CURXYF2R.js";export{Segmented}from"../chunk-JQBVSPF5.js";import"../chunk-JDQGHQ2C.js";export{FormField}from"../chunk-6KBDNYRW.js";export{ImageFocusPoint}from"../chunk-53EW4M5S.js";export{FOCAL_DEFAULT,FOCAL_NUDGE_COARSE,FOCAL_NUDGE_STEP,focalFromRect,formatFocal,nudgeFocal,parseFocal}from"../chunk-25RR3GQW.js";export{BrandMark,resolveBrandMarkTreatment}from"../chunk-MI67DI3H.js";export{Kanban}from"../chunk-3WFJ4PYV.js";export{useSort}from"../chunk-E6FDUFPH.js";export{PortalBrandingProvider,resolvePortalBrandAsset,usePortalBranding}from"../chunk-ACYYVK6G.js";export{DataTable}from"../chunk-6BATVJBA.js";export{Pagination}from"../chunk-7FBAZLBX.js";export{EntityList}from"../chunk-VIOILTE4.js";import"../chunk-PH3P54QQ.js";export{useTableNav}from"../chunk-ATMJ5ZPK.js";export{escapeHtml}from"../chunk-G6DKCCWH.js";export{ListFooter}from"../chunk-4H5NTMOF.js";export{ListLoadError}from"../chunk-YRJJKF5H.js";export{ResizableTable}from"../chunk-3PWI5IH7.js";export{useClickOutside}from"../chunk-SI26KESU.js";export{useColumnConfig}from"../chunk-UKBXQXDZ.js";import"../chunk-ULJQYXHB.js";export{Checkbox_default as Checkbox}from"../chunk-CGZBDI6C.js";export{TreemapChart}from"../chunk-TQWLJ5VM.js";export{squarify}from"../chunk-46BYGPGD.js";export{WaterfallChart}from"../chunk-NS37Y5CN.js";export{RangeChart}from"../chunk-DW45EZHA.js";export{RankedBars}from"../chunk-5NDONLH5.js";export{SankeyChart}from"../chunk-OLVKHYHV.js";export{SCATTER_SERIES_CAP,ScatterChart}from"../chunk-IHPAYSTJ.js";export{StatTile}from"../chunk-3CMCGOOV.js";export{Sparkline}from"../chunk-CKCDGSTC.js";export{SunburstChart}from"../chunk-7RRJPNYN.js";export{FunnelChart}from"../chunk-H7HRYFRQ.js";export{HeatmapChart}from"../chunk-SBZCJNNP.js";export{HistogramChart}from"../chunk-M54OL3YR.js";export{Meter}from"../chunk-R3JKZXII.js";export{PieChart}from"../chunk-3UHTHQGK.js";export{RADAR_SERIES_CAP,RadarChart}from"../chunk-BUGTNNZQ.js";export{RadialBarChart}from"../chunk-DJ2XDBAO.js";export{ChordChart}from"../chunk-FVZXRGVM.js";import"../chunk-EYPKBJYG.js";export{StepChain,StepChainItem}from"../chunk-DNLRUZGS.js";export{Markdown,Markdown as MarkdownLite,plainCell,tableToCsv}from"../chunk-X32TVINY.js";export{Divider}from"../chunk-DFOFEBYX.js";import"../chunk-UJUTS6LJ.js";export{isSafeLinkHref}from"../chunk-Q5Z3KHT2.js";export{ContextMenu,useContextMenu}from"../chunk-QIUIP6YZ.js";export{Banner}from"../chunk-6JDR6T4U.js";export{AttachButton,AttachmentDropZone,AttachmentList,ComposerAttachments,PaperclipGlyph}from"../chunk-2BMGV6DE.js";export{Input_default as Input}from"../chunk-GZQD6IBV.js";export{DropdownMenu}from"../chunk-YZR4T5FZ.js";import"../chunk-EB2UE6ZR.js";export{IconButton_default as IconButton}from"../chunk-UGOJLNYR.js";export{INPUT_BASE,INPUT_SIZES,PLACEHOLDER_INK,inputClasses}from"../chunk-AYZY3YNC.js";export{mediaFileName}from"../chunk-XK4SMAVR.js";export{TransferProgress}from"../chunk-WCPAQHHA.js";export{FileIntakeAlert,acceptsFile,useFileIntake}from"../chunk-7KIDOIPY.js";export{CHART_SPEC_LIMITS,parseChartSpec}from"../chunk-CR7T435F.js";export{SpecChart}from"../chunk-62275PI2.js";export{currencyDecimals,currencySymbol,formatBytes,formatMoney,setCurrencyFormats,timeAgo}from"../chunk-GEYM4WN3.js";export{DATE_FORMAT_OPTIONS,TZ_AUTO,firstDayOfWeek,formatDate,formatDateTime,formatTime,getUserDateFormat,getUserTimezone,setUserDateFormat,setUserTimezone,syncTimezoneFromProfile}from"../chunk-Y3JW2GW5.js";export{EMPTY_VALUE}from"../chunk-36BRD5J3.js";import"../chunk-LF27WIN2.js";export{TimeSeriesChart}from"../chunk-A6WZF65N.js";export{DEFAULT_FLOW_CHART_LABELS,FlowChart}from"../chunk-JM2IQC4J.js";export{FLOW_LAYOUT,FLOW_SPEC_LIMITS,layoutFlow,parseFlowSpec}from"../chunk-FAERBT6Y.js";export{ChartBrush}from"../chunk-WMLBMR4E.js";export{ChartDot}from"../chunk-CK2YOGUS.js";export{ChartFrame}from"../chunk-7H7U3HC6.js";export{arcPath,areaBetween,areaFrom,bumpPath,curvePath,linearPath,monotonePath,polygonPoints,splinePath,stepPath}from"../chunk-VFC6QUEN.js";export{ColumnChart}from"../chunk-75MSXRFY.js";export{ChartDefs,MOTION,dashFor,fillFor,fillId,glowId,groundId,maskId,stagger}from"../chunk-465RRWBY.js";export{ChartSkeleton}from"../chunk-DZBGJ6X4.js";export{ChartHighlightProvider,autoHighlightIndex,highlightOpacity,useHighlight}from"../chunk-CNYAHYE6.js";export{ImageAnnotator_default as ImageAnnotator}from"../chunk-FPYABAOX.js";export{CONTROL_HEIGHTS,ROW_HEIGHTS,SPACING_ROLES,SPACING_SCALE,isSpacingStep}from"../chunk-AW7TOB6N.js";import"../chunk-KNUR2UEG.js";export{NEXT_CHUNK_PATH_PREFIX,STALE_CHUNK_RELOAD_COOLDOWN_MS,STALE_CHUNK_RELOAD_KEY,VITE_PRELOAD_ERROR_EVENT,installStaleChunkReload,isStaleChunkError}from"../chunk-JDCM2VHG.js";export{Result}from"../chunk-Y4RERPFN.js";import"../chunk-5A7MWTXX.js";export{ALT,ALT_SHIFT_D,ALT_SHIFT_E,ALT_SHIFT_N,CMD_A,CMD_DOT,CMD_ENTER,CMD_K,CMD_S,ENTER,Kbd,MOD,SHIFT,isMac}from"../chunk-ZDMZM7HD.js";export{ConfirmProvider,confirm,confirmDestructive,prompt,useConfirm}from"../chunk-CAXOKGMB.js";export{Dialog}from"../chunk-PMJMYH5O.js";export{ItemCount}from"../chunk-N7JX27JE.js";import"../chunk-3DVNXNTF.js";import"../chunk-2762IAB7.js";import"../chunk-VWGWZY7A.js";import"../chunk-7QSDPSXP.js";export{ColoredBadge}from"../chunk-5JUG74UR.js";import"../chunk-SCGBCBXP.js";import"../chunk-F3ZOO23R.js";import"../chunk-2QY5BJLA.js";export{useIsMobile}from"../chunk-UGTRSRIW.js";export{ShellPrefsProvider,useLocalStoragePrefs,useShellPrefs}from"../chunk-KC3EX26K.js";export{VERSION}from"../chunk-C4IJONGO.js";export{useFocusTrap,useScrollLock}from"../chunk-CDAJKLGL.js";export{GROUP_COLORS,GROUP_COLORS_SOLID,StatusBadge,StatusBadgeProvider,groupColors,useStatusLabel}from"../chunk-JPNAEN53.js";export{PopupMenu,PopupMenuDivider,PopupMenuItem,PopupMenuLabel,PopupSubmenu}from"../chunk-IFQXTIMY.js";import"../chunk-URHGHXDN.js";export{MENU_ON_MEDIA_ATTR,leavesContextMenuAlone}from"../chunk-5QFPTDQF.js";export{Button_default as Button}from"../chunk-UJJXWLHE.js";import"../chunk-XWFLIGDQ.js";export{Icon}from"../chunk-UIWGVOFH.js";export{activeIconSet,iconSets,iconsVersion,registerIconSet,registerIcons,resolveIcon,setDefaultIconSet,setIconSet,subscribeIcons}from"../chunk-J75ZT2JQ.js";export{LoadingSpinner,SpinnerRing}from"../chunk-R2VKEMZH.js";import"../chunk-CJH2BGXY.js";export{Tooltip}from"../chunk-QQ2LDC6C.js";export{OVERLAY_OPEN_EVENT,dismissPopups}from"../chunk-PGN5ME7B.js";export{Z_LAYERS}from"../chunk-62LW225J.js";export{MENU_MAX_HEIGHT,POPUP_MAX_WIDTH,placeMenu,popupBounds,useDropdownPosition}from"../chunk-GLUJS42B.js";import"../chunk-D65T4H6J.js";export{setShellApiClient}from"../chunk-STKJA4PV.js";export{UNDOABLE_MS,toast_default as toast}from"../chunk-TRWHVG3A.js";export{buttonClasses,iconButtonClasses}from"../chunk-UQYNPYF4.js";import"../chunk-MRJKZWWV.js";export{BoxPlotChart}from"../chunk-XK4U5MAS.js";export{CandlestickChart}from"../chunk-NEYHBQLG.js";export{CartesianPlot}from"../chunk-525O4AUQ.js";import"../chunk-BFO72WQB.js";export{usePlotWidth}from"../chunk-MAFUXCPZ.js";export{angleScale,bandScale,binValues,ladderScale,linearScale,logScale,niceAxis,niceMax,radiusScale}from"../chunk-2JWPNR2U.js";export{ChartTooltip}from"../chunk-WDQI3FV6.js";export{CHART_INK,SERIES_SLOT_COUNT,SERIES_VARS,STATUS_VARS,assignSeriesSlots,resolveSeriesColor,resolveSeriesColorWithin,seriesColor,toggleSeriesSlot}from"../chunk-TZFACUMR.js";export{registerModalEscapeInterceptor}from"../chunk-TWVUQUUD.js";export{GLASS_DIVIDER,glassStyle,solidSurfaceStyle}from"../chunk-5FYDNH4Y.js";import"../chunk-LNXBTK7Q.js";export{DEFAULT_SHELL_STRINGS,ShellStringsProvider,useShellLocale,useShellStrings}from"../chunk-43MCNASD.js";import"../chunk-C3QOHMR6.js";
package/dist/ui.css CHANGED
@@ -1340,6 +1340,16 @@ button.es-group-sub {
1340
1340
  /* SidebarLayout's resize handle under the pointer, when no custom accent is
1341
1341
  set — the custom accent's `--accent-500` still wins, read where it is set. */
1342
1342
  --rosh-resize-handle: #3b82f6;
1343
+
1344
+ /* ImageAnnotator, over the picture it marks up. A picture has no theme, so
1345
+ none of these moves in dark. The outline and handles of the chosen shape;
1346
+ the wash outside a crop; and the text box while a label is typed, dashed
1347
+ until it has a border of its own and lit until it has a fill. None of them
1348
+ reaches the exported image: the ink a person picks is theirs. */
1349
+ --rosh-annotator-selection: #3b82f6;
1350
+ --rosh-annotator-crop-scrim: rgba(0, 0, 0, 0.45);
1351
+ --rosh-annotator-edit-hint: #60a5fa;
1352
+ --rosh-annotator-edit-surface: rgba(255, 255, 255, 0.95);
1343
1353
  }
1344
1354
 
1345
1355
  /* ── Kit colours, dark ──────────────────────────────────────────────────────
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export{APP_VERSION,VERSION}from"./chunk-SEJAT3UE.js";
1
+ export{APP_VERSION,VERSION}from"./chunk-C4IJONGO.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "efficient-shell",
3
- "version": "12.3.0",
3
+ "version": "12.4.1",
4
4
  "description": "Desktop-style React UI shell — windows, taskbar, start menu, sticky notes, frosted glass theming, and bundled apps.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Efficient Pty Ltd",
@@ -1,29 +0,0 @@
1
- import{loadAppearance as e,WidgetSettingsModal as t}from"./chunk-ZDO62V4I.js";import{useWidgetSettings as n}from"./chunk-HRMG2WMW.js";import"./chunk-4LXCCZDM.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-Y4RERPFN.js";import"./chunk-5A7MWTXX.js";import"./chunk-ZDMZM7HD.js";import"./chunk-HE767CVB.js";import"./chunk-B3PNZBZM.js";import"./chunk-VF53GD6D.js";import"./chunk-RXHTIJ64.js";import"./chunk-3DVNXNTF.js";import"./chunk-R3K2BNFF.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-IL56C56I.js";import"./chunk-SCGBCBXP.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import"./chunk-KC3EX26K.js";import"./chunk-F3ZOO23R.js";import"./chunk-FZM3ZPW3.js";import"./chunk-CDAJKLGL.js";import"./chunk-F44E76EC.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-WGLHB6WE.js";import"./chunk-EOVXFXVV.js";import"./chunk-UQYNPYF4.js";import"./chunk-TE6R53YD.js";import{Icon as r}from"./chunk-UIWGVOFH.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-STKJA4PV.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-43MCNASD.js";import"./chunk-C3QOHMR6.js";import"./chunk-TWVUQUUD.js";import{useState as c,useRef as i,useCallback as o,useEffect as s}from"react";import{jsxs as l,Fragment as a,jsx as u}from"react/jsx-runtime";var h="calc_appearance";function m(){const[m,k]=c("0"),[p,d]=c(null),[b,g]=c(null),[j,N]=c(!1),[y,C]=c(""),[x,f]=c([]),[v,$]=c(!1),[E,W]=c(()=>e(h)),[D,F]=c(!1),[T,B]=c(E),M=i(null);n(o(()=>{B({...E}),F(!0)},[E]));const R=o(e=>{C(""),k(t=>j||"0"===t?(N(!1),"."===e?"0.":e):"."===e&&t.includes(".")?t:t+e)},[j]),S=o(()=>{k("0"),d(null),g(null),N(!1)},[]),w=o((e,t,n)=>{switch(n){case"+":return e+t;case"-":return e-t;case"×":return e*t;case"÷":return 0===t?0:e/t;default:return t}},[]),V=o(e=>{const t=parseFloat(m);if(null!==p&&b&&!j){const e=w(p,t,b);k(String(e)),d(e),f(n=>[`${p} ${b} ${t} = ${e}`,...n].slice(0,20))}else d(t);g(e),N(!0)},[m,p,b,j,w]),G=o(()=>{if(null===p||!b)return;const e=parseFloat(m),t=w(p,e,b),n=`${p} ${b} ${e} =`;f(e=>[`${n} ${t}`,...e].slice(0,20)),C(n),k(String(t)),d(null),g(null),N(!0)},[m,p,b,w]),H=o(()=>{k(e=>String(parseFloat(e)/100))},[]),J=o(()=>{k(e=>e.startsWith("-")?e.slice(1):"0"===e?e:"-"+e)},[]);s(()=>{const e=e=>{const t=e.target.tagName;"INPUT"!==t&&"TEXTAREA"!==t&&"SELECT"!==t&&(e.key>="0"&&e.key<="9"?R(e.key):"."===e.key?R("."):"+"===e.key?V("+"):"-"===e.key?V("-"):"*"===e.key?V("×"):"/"===e.key?(e.preventDefault(),V("÷")):"Enter"===e.key||"="===e.key?("Enter"===e.key&&e.target instanceof Node&&M.current?.contains(e.target)&&e.preventDefault(),G()):"Escape"===e.key?S():"Backspace"===e.key?k(e=>e.length>1?e.slice(0,-1):"0"):"%"===e.key&&H())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[R,V,G,S,H]);const X="flex items-center justify-center rounded-lg text-sm font-medium transition-colors",Z=`${X} bg-white border border-gray-200 text-gray-900 hover:bg-gray-50 active:bg-gray-100`,L=`${X} bg-blue-50 border border-blue-200 text-blue-700 hover:bg-blue-100 active:bg-blue-200`,A=`${X} bg-gray-100 border border-gray-200 text-gray-600 hover:bg-gray-200 active:bg-gray-300`,P=`${X} bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800`;/* @__PURE__ */
2
- return l(a,{children:[
3
- /* @__PURE__ */l("div",{ref:M,className:"flex flex-col h-full",style:{opacity:E.activeOpacity/100,backdropFilter:E.activeBlur>0?`blur(${E.activeBlur}px)`:void 0},children:[
4
- /* @__PURE__ */l("div",{className:"bg-slate-200 rounded-t-lg px-4 py-2 group/display relative flex flex-col justify-end min-h-[120px] border-b border-slate-300",children:[
5
- /* @__PURE__ */u("div",{className:"flex flex-col justify-end flex-1 overflow-hidden",children:x.slice(0,3).reverse().map((e,t)=>/* @__PURE__ */u("div",{className:"text-2xs text-slate-400 text-right font-mono truncate",children:e},t))}),(y||b&&null!==p)&&/* @__PURE__ */u("div",{className:"text-base text-slate-600 text-right font-mono",children:y||`${p} ${b} ${j?"":m}`}),
6
- /* @__PURE__ */l("div",{className:"flex items-center gap-2",children:[
7
- /* @__PURE__ */u("button",{onClick:()=>{navigator.clipboard.writeText(m),$(!0),setTimeout(()=>$(!1),1200)},title:"Copy result",className:"shrink-0 text-slate-300 hover:text-slate-500 transition-colors opacity-0 group-hover/display:opacity-100",children:/* @__PURE__ */u(r,v?{name:"check",className:"h-5 w-5 text-green-500",strokeWidth:2}:{name:"copy",className:"h-5 w-5",strokeWidth:2})}),
8
- /* @__PURE__ */u("div",{className:"text-right text-4xl font-mono font-bold text-slate-800 truncate flex-1",children:(e=>{const t=parseFloat(e);return isNaN(t)||e.endsWith(".")||e.endsWith(".0")||Math.abs(t)<1e15&&e.length<16?e:t.toExponential(6)})(m)})]})]}),
9
- /* @__PURE__ */l("div",{className:"grid grid-cols-4 grid-rows-5 gap-2 flex-1 min-h-0 p-2",children:[
10
- /* @__PURE__ */u("button",{onClick:S,className:A,children:"AC"}),
11
- /* @__PURE__ */u("button",{onClick:J,className:A,children:"+/−"}),
12
- /* @__PURE__ */u("button",{onClick:H,className:A,children:"%"}),
13
- /* @__PURE__ */u("button",{onClick:()=>V("÷"),className:`${L} ${"÷"===b?"ring-2 ring-blue-400":""}`,children:"÷"}),
14
- /* @__PURE__ */u("button",{onClick:()=>R("7"),className:Z,children:"7"}),
15
- /* @__PURE__ */u("button",{onClick:()=>R("8"),className:Z,children:"8"}),
16
- /* @__PURE__ */u("button",{onClick:()=>R("9"),className:Z,children:"9"}),
17
- /* @__PURE__ */u("button",{onClick:()=>V("×"),className:`${L} ${"×"===b?"ring-2 ring-blue-400":""}`,children:"×"}),
18
- /* @__PURE__ */u("button",{onClick:()=>R("4"),className:Z,children:"4"}),
19
- /* @__PURE__ */u("button",{onClick:()=>R("5"),className:Z,children:"5"}),
20
- /* @__PURE__ */u("button",{onClick:()=>R("6"),className:Z,children:"6"}),
21
- /* @__PURE__ */u("button",{onClick:()=>V("-"),className:`${L} ${"-"===b?"ring-2 ring-blue-400":""}`,children:"−"}),
22
- /* @__PURE__ */u("button",{onClick:()=>R("1"),className:Z,children:"1"}),
23
- /* @__PURE__ */u("button",{onClick:()=>R("2"),className:Z,children:"2"}),
24
- /* @__PURE__ */u("button",{onClick:()=>R("3"),className:Z,children:"3"}),
25
- /* @__PURE__ */u("button",{onClick:()=>V("+"),className:`${L} ${"+"===b?"ring-2 ring-blue-400":""}`,children:"+"}),
26
- /* @__PURE__ */u("button",{onClick:()=>R("0"),className:`${Z} col-span-2`,children:"0"}),
27
- /* @__PURE__ */u("button",{onClick:()=>R("."),className:Z,children:"."}),
28
- /* @__PURE__ */u("button",{onClick:G,className:P,children:"="})]})]}),
29
- /* @__PURE__ */u(t,{open:D,onClose:()=>F(!1),title:"Calculator Settings",appearance:T,onAppearanceChange:B,onSave:()=>{W(T),localStorage.setItem(h,JSON.stringify(T)),F(!1)}})]})}export{m as default};
@@ -1,121 +0,0 @@
1
- import{openPreviewFile as e}from"./chunk-54K2ADBT.js";import{SidebarLayout as t}from"./chunk-53WYJ5LZ.js";import"./chunk-2XQOK3CT.js";import"./chunk-QWK6DRSN.js";import{Breadcrumbs as n}from"./chunk-PT77FC5X.js";import{SearchableSelect as a}from"./chunk-KZD2AFH2.js";import{Select_default as r}from"./chunk-P3BLJCTQ.js";import"./chunk-EO5RLFRX.js";import"./chunk-7HIHQR3X.js";import"./chunk-2NMW66P5.js";import"./chunk-7JY3YYN4.js";import"./chunk-4DZVWK7U.js";import"./chunk-GYDCXCJT.js";import{IconButton_default as i}from"./chunk-LE5LWALR.js";import"./chunk-AYZY3YNC.js";import{formatBytes as s}from"./chunk-GEYM4WN3.js";import"./chunk-Y3JW2GW5.js";import"./chunk-36BRD5J3.js";import"./chunk-LF27WIN2.js";import{getFilesDemoTree as l}from"./chunk-6DZGOGB2.js";import{AboutApp as o}from"./chunk-KZNJXV5I.js";import{getFilesStore as c,peekFilesViewRequest as d,consumeFilesViewRequest as h,FILES_SHOW_TRASH_EVENT as m,FILES_OPEN_DESKTOP_FOLDER_EVENT as p,subscribeDesktopFolders as u,getDesktopFoldersSnapshot as f,hasHostFilesStore as x,FolderGlyph as k,DesktopItemMiniIcon as g,desktopItemTypeLabel as N,FilesQuotaError as w}from"./chunk-OY3JH66O.js";import"./chunk-ESL5TDNA.js";import{useWindowManager as b,WindowTitle as v}from"./chunk-HRMG2WMW.js";import"./chunk-4LXCCZDM.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-Y4RERPFN.js";import"./chunk-5A7MWTXX.js";import"./chunk-ZDMZM7HD.js";import"./chunk-HE767CVB.js";import{confirm as y,prompt as j}from"./chunk-B3PNZBZM.js";import{Dialog as C}from"./chunk-VF53GD6D.js";import{ItemCount as D}from"./chunk-RXHTIJ64.js";import"./chunk-3DVNXNTF.js";import"./chunk-R3K2BNFF.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-IL56C56I.js";import"./chunk-SCGBCBXP.js";import{toast_default as W}from"./chunk-TRWHVG3A.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import"./chunk-KC3EX26K.js";import"./chunk-F3ZOO23R.js";import"./chunk-SEJAT3UE.js";import"./chunk-FZM3ZPW3.js";import"./chunk-CDAJKLGL.js";import"./chunk-F44E76EC.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import{TH_ONE_LINE as T}from"./chunk-WGLHB6WE.js";import{Button_default as L}from"./chunk-EOVXFXVV.js";import"./chunk-UQYNPYF4.js";import"./chunk-TE6R53YD.js";import{Icon as $}from"./chunk-UIWGVOFH.js";import"./chunk-J75ZT2JQ.js";import{LoadingSpinner as E}from"./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-STKJA4PV.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-43MCNASD.js";import"./chunk-C3QOHMR6.js";import"./chunk-TWVUQUUD.js";import{useState as F,useEffect as R,useSyncExternalStore as P,useRef as M,useCallback as S}from"react";import{jsxs as A,jsx as V,Fragment as Y}from"react/jsx-runtime";var B=[{value:"viewer",label:"Viewer"},{value:"editor",label:"Editor"}];function H({store:e,entry:t,onClose:n,onChanged:s}){const[l,o]=F(null),[c,d]=F(""),[h,m]=F([]),[p,u]=F(!1),[f,x]=F(""),[k,g]=F("viewer"),[N,w]=F(!1),b=M(/* @__PURE__ */new Map),v=t?.id??null;if(R(()=>{if(o(null),x(""),d(""),!v||!e.shares)return;let t=!0;return e.shares(v).then(e=>{t&&o(e)}).catch(e=>{t&&(W.error(e.message),o([]))}),()=>{t=!1}},[v,e]),R(()=>{if(!e.searchPeople||!v)return;let t=!0;u(!0);const n=setTimeout(()=>{e.searchPeople(c).then(e=>{if(t){for(const t of e)b.current.set(t.id,t);m(e)}}).catch(()=>{t&&m([])}).finally(()=>{t&&u(!1)})},250);return()=>{t=!1,clearTimeout(n)}},[c,v,e]),!t)return null;const y=new Set((l??[]).map(e=>e.person.id)),j=h.filter(e=>!y.has(e.id)).map(e=>({value:e.id,label:e.name})),D=async n=>{w(!0);try{await n(),o(await e.shares(t.id)),s()}catch(e){W.error(e.message)}finally{w(!1)}};/* @__PURE__ */
2
- return A(C,{open:!0,onClose:n,size:"md",title:`Share “${t.name}”`,description:"folder"===t.kind?"Everything inside this folder is shared too. Editors’ uploads count toward your quota.":"Viewers can open and download it. Editors can also replace, rename and delete it.",footer:/* @__PURE__ */V(L,{variant:"secondary",onClick:n,children:"Done"}),children:[
3
- /* @__PURE__ */A("div",{className:"flex items-center gap-2",children:[
4
- /* @__PURE__ */V("div",{className:"min-w-0 flex-1",children:/* @__PURE__ */V(a,{value:f,onChange:x,onSearchChange:d,loading:p&&0===h.length,options:j,placeholder:"Search colleagues by name","aria-label":"Colleague to share with"})}),
5
- /* @__PURE__ */V("div",{className:"w-28 shrink-0",children:/* @__PURE__ */V(r,{value:k,onChange:e=>g(e),options:B,"aria-label":"Access"})}),
6
- /* @__PURE__ */V(L,{variant:"primary",onClick:()=>{if(!f||!e.share)return;const n=b.current.get(f);D(async()=>{await e.share(t.id,f,k),x(""),d(""),n&&W.success(`Shared with ${n.name}`)})},disabled:!f||N,children:"Add"})]}),
7
- /* @__PURE__ */V("div",{className:"mt-4 mb-1 text-2xs font-semibold uppercase tracking-wide text-ink-faintest",children:"Who has access"}),null===l?/* @__PURE__ */V(E,{size:"sm",padding:"p-4",label:"Loading"}):/* @__PURE__ */A("ul",{className:"divide-y divide-line-subtle text-sm",children:[
8
- /* @__PURE__ */A("li",{className:"flex items-center gap-2 h-10",children:[
9
- /* @__PURE__ */V("span",{className:"flex-1 truncate",children:"You"}),
10
- /* @__PURE__ */V("span",{className:"text-xs text-ink-faint",children:"Owner"})]}),l.map(n=>/* @__PURE__ */A("li",{className:"flex items-center gap-2 h-10",children:[
11
- /* @__PURE__ */V("span",{className:"flex-1 truncate",title:n.person.name,children:n.person.name}),
12
- /* @__PURE__ */V("div",{className:"w-28 shrink-0",children:/* @__PURE__ */V(r,{value:n.role,onChange:a=>D(()=>e.share(t.id,n.person.id,a)),options:B,"aria-label":`Access for ${n.person.name}`,disabled:N})}),
13
- /* @__PURE__ */V(i,{"aria-label":`Remove ${n.person.name}`,variant:"ghost",size:"sm",disabled:N,onClick:()=>D(()=>e.unshare(t.id,n.person.id)),children:/* @__PURE__ */V($,{name:"close",className:"h-4 w-4",strokeWidth:1.8})})]},n.person.id))]})]})}var J={pdf:"pdf",dxf:"dxf",csv:"csv",jpg:"image",jpeg:"image",png:"image",gif:"image",webp:"image",svg:"image",avif:"image",bmp:"image",stp:"3d",step:"3d",stl:"3d",obj:"3d",gltf:"3d",glb:"3d","3mf":"3d",iges:"3d",igs:"3d",ply:"3d",fbx:"3d"};function O(e){if(!e)return"—";try{const t=new Date(e);return isNaN(t.getTime())?"—":t.toLocaleString(void 0,{dateStyle:"short",timeStyle:"short"})}catch{return e}}function G(e,t){return`Not enough space for “${e}” (${s(t.attempted)}). You've used ${s(t.used)} of ${s(t.limit)}. Empty Trash or ask an administrator for more space.`}var I=(e,t)=>e instanceof Error&&e.message||t;function K(){const a=c(),r=null!==l(),i=!r&&!!a.shares&&!!a.sharedWithMe,[C,L]=F(null),[B,K]=F(null),[U,X]=F([]),[Z,z]=F([]),[Q,q]=F(null),[_,ee]=F(!0),[te,ne]=F(!1),[ae,re]=F(null),[ie,se]=F(!1),[le,oe]=F(null),[ce,de]=F(()=>{const e=d();return"trash"===e?"trash":e?{desktopFolderId:e.folderId}:"files"});R(()=>{h()},[]);const[he,me]=F([]);R(()=>{const e=()=>{h(),de("trash")},t=e=>{h();const t=e.detail?.folderId;t&&de({desktopFolderId:t})};return window.addEventListener(m,e),window.addEventListener(p,t),()=>{window.removeEventListener(m,e),window.removeEventListener(p,t)}},[]);const pe=P(u,f,f),ue="object"==typeof ce?ce.desktopFolderId:null,fe=ue?pe?.folders.find(e=>e.id===ue)??null:null,xe=ue&&pe?.itemsByFolder[ue]||[];R(()=>{ue&&pe&&!pe.folders.some(e=>e.id===ue)&&de("files")},[ue,pe]);const ke=M(0),ge=M(null),{openPage:Ne,openEntity:we}=b(),be=t=>{"preview-file"===t.entityType&&t.filePath&&t.fileKind?e({filePath:t.filePath,filename:t.label,kind:t.fileKind,onStaged:e=>Ne(e)}):"page"===t.entityType?Ne(t.entityId):we(t.entityType,t.entityId,null,t.label)},ve=S(async()=>{if(!r)try{re(await a.quota())}catch{}},[a,r]),ye=S(async e=>{if(q(null),r){const t=function(e){const t=e??"/",n=t.split("/").filter(Boolean);let a=l()??[];for(const e of n){const t=a.find(t=>"folder"===t.kind&&t.name===e);a=t?.children??[]}return{folder:{id:e,name:n[n.length-1]??"",role:"owner",path:[{id:null,name:""},...n.map((e,t)=>({id:"/"+n.slice(0,t+1).join("/"),name:e}))]},entries:a.map(e=>({id:("/"===t?"":t)+"/"+e.name,name:e.name,kind:e.kind,size:e.size??0,modifiedAt:e.modifiedAt??""}))}}(e);return K(t),ne(!1),ee(!1),void(null===e&&X(t.entries.filter(e=>"folder"===e.kind)))}ee(!0);try{const t=await a.list(e);K(t),ne(!1),null===e&&X(t.entries.filter(e=>"folder"===e.kind))}catch(e){e instanceof TypeError?ne(!0):W.error(I(e,"Failed to list"))}finally{ee(!1)}ve()},[a,ve,r]),je=S(async()=>{if(a.sharedWithMe){ee(!0),q(null);try{z(await a.sharedWithMe()),ne(!1)}catch(e){e instanceof TypeError?ne(!0):W.error(I(e,"Failed to list shared files"))}finally{ee(!1)}}},[a]),Ce=S(async()=>{if(r)return me([]),void ee(!1);ee(!0),q(null);try{me(await a.trash()),ne(!1)}catch(e){e instanceof TypeError?ne(!0):W.error(I(e,"Failed to list trash"))}finally{ee(!1)}ve()},[a,ve,r]),De=()=>{"files"===ce?ye(C):"shared"===ce?je():"trash"===ce&&Ce()};R(()=>{De()},[C,ce]);const We=e=>{de("files"),L(e)},Te=async(e,t)=>{try{await e()}catch(e){W.error(I(e,t))}De()},Le=async e=>{try{const t=await a.read(e.id),n=URL.createObjectURL(t),r=document.createElement("a");r.href=n,r.download=e.name,r.click(),setTimeout(()=>URL.revokeObjectURL(n),1e3)}catch(e){W.error(I(e,"Download failed"))}},$e=async e=>{for(const t of Array.from(e))try{await a.upload(C,t)}catch(e){e instanceof w?W.error(G(t.name,e)):W.error(`Upload ${t.name}: ${I(e,"failed")}`)}ye(C)},Ee=()=>{ke.current=0,se(!1)};if(R(()=>{const e=()=>Ee();return window.addEventListener("dragend",e),window.addEventListener("drop",e),()=>{window.removeEventListener("dragend",e),window.removeEventListener("drop",e)}},[]),te)/* @__PURE__ */
14
- return A("div",{className:"flex flex-col h-full bg-surface",children:[
15
- /* @__PURE__ */V(v,{title:"Files - offline"}),
16
- /* @__PURE__ */V("div",{className:"flex-1 flex items-center justify-center p-8 text-center",children:/* @__PURE__ */A("div",{className:"max-w-md",children:[
17
- /* @__PURE__ */V($,{name:"close-circle",className:"h-12 w-12 mx-auto text-ink-faintest mb-3",strokeWidth:1.4}),x()?/* @__PURE__ */A(Y,{children:[
18
- /* @__PURE__ */V("h3",{className:"text-base font-semibold text-ink-strong mb-1",children:"Can't reach your files"}),
19
- /* @__PURE__ */V("p",{className:"text-sm text-ink-faint mb-3",children:"Check your connection and try again."})]}):/* @__PURE__ */A(Y,{children:[
20
- /* @__PURE__ */V("h3",{className:"text-base font-semibold text-ink-strong mb-1",children:"Can't reach the file server"}),
21
- /* @__PURE__ */A("p",{className:"text-sm text-ink-faint mb-3",children:["No response from the file server. Make sure the server is running — see ",
22
- /* @__PURE__ */V("span",{className:"font-mono",children:"examples/file-server/README.md"}),"."]})]}),
23
- /* @__PURE__ */V("button",{onClick:De,className:"px-3 h-8 text-sm bg-accent-fill text-on-accent rounded hover:bg-accent-fill-hover",children:"Retry"})]})})]});const Fe="files"===ce?B?.folder??null:null,Re=Fe?.role??"owner",Pe="owner"!==Re,Me=!r&&"files"===ce&&"viewer"!==Re,Se="files"===ce?B?.entries??[]:[],Ae=ae&&ae.limit>0?Math.min(100,Math.round(ae.used/ae.limit*100)):0,Ve=Ae>90?"bg-danger":Ae>75?"bg-warning":"bg-accent-fill",Ye=(Fe?.path??[]).filter(e=>null!==e.id),Be=[Pe?{label:"Shared with me",onClick:()=>de("shared")}:{label:"My files",onClick:()=>We(null)},...Ye.map(e=>({label:e.name,onClick:()=>We(e.id)}))],He=Ye.length>1?Ye[Ye.length-2].id:null,Je=e=>"flex w-full items-center gap-2 rounded-md px-3 min-h-(--row-height-menu) py-2 text-left text-sm transition-colors "+(e?"bg-accent-tint font-medium text-accent-text":"text-ink hover:bg-row-hover"),Oe=e=>/* @__PURE__ */V("svg",{className:"h-4 w-4 shrink-0 text-ink-faintest",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.6,children:/* @__PURE__ */V("path",{strokeLinecap:"round",strokeLinejoin:"round",d:e})}),Ge=/* @__PURE__ */A("nav",{className:"p-2",children:[
24
- /* @__PURE__ */V("div",{className:"px-2 py-2 text-2xs font-semibold uppercase tracking-wide text-ink-faintest",children:"Locations"}),
25
- /* @__PURE__ */A("button",{onClick:()=>We(null),className:Je("files"===ce&&null===C),children:[Oe("M2.25 12l8.954-8.955a1.5 1.5 0 012.122 0L21.75 12M4.5 9.75v9.75a.75.75 0 00.75.75H9V15a.75.75 0 01.75-.75h4.5A.75.75 0 0115 15v5.25h3.75a.75.75 0 00.75-.75V9.75"),"My files"]}),U.map(e=>/* @__PURE__ */A("button",{onClick:()=>We(e.id),className:Je("files"===ce&&C===e.id),children:[Oe("M2.25 12.75V12A2.25 2.25 0 014.5 9.75h15A2.25 2.25 0 0121.75 12v.75m-8.69-6.44l-2.12-2.12a1.5 1.5 0 00-1.061-.44H4.5A2.25 2.25 0 002.25 6v12a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9a2.25 2.25 0 00-2.25-2.25h-5.379a1.5 1.5 0 01-1.06-.44z"),
26
- /* @__PURE__ */V("span",{className:"truncate",children:e.name})]},e.id)),i&&/* @__PURE__ */A("button",{onClick:()=>de("shared"),className:Je("shared"===ce||"files"===ce&&Pe),children:[
27
- /* @__PURE__ */V($,{name:"team",className:"h-4 w-4 shrink-0 text-ink-faintest",strokeWidth:1.6}),"Shared with me"]}),!r&&/* @__PURE__ */A("button",{onClick:()=>de("trash"),className:Je("trash"===ce),children:[Oe("M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79"),"Trash"]}),pe&&pe.folders.length>0&&/* @__PURE__ */A(Y,{children:[
28
- /* @__PURE__ */V("div",{className:"px-2 pt-3 pb-2 text-2xs font-semibold uppercase tracking-wide text-ink-faintest",children:"Desktop"}),pe.folders.map(e=>/* @__PURE__ */A("button",{onClick:()=>de({desktopFolderId:e.id}),className:Je(ue===e.id),children:[
29
- /* @__PURE__ */V(k,{className:"h-4 w-4 shrink-0 text-amber-500"}),
30
- /* @__PURE__ */V("span",{className:"truncate",children:e.name}),
31
- /* @__PURE__ */V(D,{count:e.itemCount,active:ue===e.id,className:"ml-auto"})]},e.id))]})]}),Ie=e=>/* @__PURE__ */V($,"folder"===e?{name:"folder",look:"solid",className:"h-4 w-4 text-amber-500 shrink-0"}:{name:"page",className:"h-4 w-4 text-ink-faintest shrink-0",strokeWidth:1.5}),Ke="px-2 py-0.5 rounded hover:bg-row-hover text-ink-faint text-2xs ml-1",Ue=t=>{"folder"===t.kind?We(t.id):(async t=>{if(r)return;if(a.open?.(t))return;const n=(t.name.split(".").pop()||"").toLowerCase(),i=J[n];i?await e({filePath:a.shortcutPath?.(t.id)??t.id,filename:t.name,kind:i,load:()=>a.read(t.id),onStaged:e=>Ne(e)}):Le(t)})(t)},Xe=fe?`Files - ${fe.name}`:"shared"===ce?"Files - Shared with me":"trash"===ce?"Files - Trash":Fe&&null!==Fe.id?`Files - ${Fe.name}`:"Files";/* @__PURE__ */
32
- return A("div",{className:"relative flex flex-col h-full bg-surface",onDragEnter:e=>{Me&&e.dataTransfer?.types?.includes?.("Files")&&(e.preventDefault(),ke.current++,ie||se(!0))},onDragOver:e=>{e.dataTransfer?.types?.includes?.("Files")&&e.preventDefault()},onDragLeave:()=>{ke.current>0&&ke.current--,0===ke.current&&se(!1)},onDrop:e=>{e.preventDefault(),Ee(),Me&&e.dataTransfer.files?.length&&$e(e.dataTransfer.files)},children:[
33
- /* @__PURE__ */V(v,{title:Xe}),
34
- /* @__PURE__ */V(o,{app:"files"}),
35
- /* @__PURE__ */V("input",{ref:ge,type:"file",multiple:!0,className:"hidden",onChange:e=>{e.target.files?.length&&$e(e.target.files),ge.current&&(ge.current.value="")}}),
36
- /* @__PURE__ */V("div",{className:"flex-1 min-h-0",children:/* @__PURE__ */V(t,{sidebar:Ge,storageKey:"files.sidebarWidth",defaultWidth:200,minWidth:150,maxWidth:320,children:/* @__PURE__ */A("div",{className:"flex h-full min-w-0 flex-col",children:[
37
- /* @__PURE__ */A("div",{className:"flex items-center gap-1 px-2 py-2 border-b border-line bg-surface-sunken shrink-0 text-xs",children:[/* @__PURE__ */A(Y,"files"===ce?{children:[
38
- /* @__PURE__ */V("button",{onClick:()=>{Pe&&Ye.length<=1?de("shared"):We(He)},disabled:!Pe&&null===C,className:"px-2 py-1 rounded hover:bg-row-hover disabled:opacity-30 text-ink-muted",title:"Parent folder",children:/* @__PURE__ */V($,{name:"arrow-left",className:"h-3.5 w-3.5",strokeWidth:2})}),
39
- /* @__PURE__ */A("div",{className:"flex-1 min-w-0 flex items-center gap-2",children:[
40
- /* @__PURE__ */V("div",{className:"min-w-0 flex-1",children:/* @__PURE__ */V(n,{items:Be,maxItems:5})}),Pe&&"viewer"===Re&&/* @__PURE__ */A("span",{className:"shrink-0 inline-flex items-center gap-1 rounded-full bg-surface-sunken px-2 py-0.5 text-2xs text-ink-faint whitespace-nowrap",children:[
41
- /* @__PURE__ */V($,{name:"eye",className:"h-3 w-3",strokeWidth:1.8}),"View only"]}),Pe&&Fe?.owner&&/* @__PURE__ */A("span",{className:"shrink-0 text-2xs text-ink-faint whitespace-nowrap",children:["Shared by ",Fe.owner.name]})]}),
42
- /* @__PURE__ */V("button",{onClick:De,className:"px-2 py-1 rounded hover:bg-row-hover text-ink-muted",title:"Refresh",children:/* @__PURE__ */V($,{name:"refresh",className:"h-3.5 w-3.5",strokeWidth:1.8})}),Me&&/* @__PURE__ */A(Y,{children:[!Pe&&/* @__PURE__ */A("button",{onClick:()=>de("trash"),className:"px-2 py-1 rounded hover:bg-row-hover text-ink-muted flex items-center gap-1",title:"Open trash",children:[
43
- /* @__PURE__ */V($,{name:"trash",className:"h-3.5 w-3.5",strokeWidth:1.5}),"Trash"]}),
44
- /* @__PURE__ */A("button",{onClick:async()=>{const e=await j({title:"New folder",placeholder:"Folder name",confirmLabel:"Create"});e&&(/[\\/]/.test(e)?W.error("Folder names cannot contain slashes"):Te(()=>a.createFolder(C,e),"Create folder failed"))},className:"px-2 py-1 rounded hover:bg-row-hover text-ink-muted flex items-center gap-1",children:[
45
- /* @__PURE__ */V($,{name:"folder-plus",className:"h-3.5 w-3.5",strokeWidth:1.5}),"New Folder"]}),
46
- /* @__PURE__ */A("button",{onClick:()=>ge.current?.click(),className:"px-2 py-1 rounded bg-accent-fill text-on-accent hover:bg-accent-fill-hover flex items-center gap-1",children:[
47
- /* @__PURE__ */V($,{name:"upload",className:"h-3.5 w-3.5",strokeWidth:1.8}),"Upload"]})]})]}:"shared"===ce?{children:[
48
- /* @__PURE__ */V($,{name:"team",className:"h-4 w-4 ml-1",strokeWidth:1.6}),
49
- /* @__PURE__ */V("span",{className:"flex-1 text-ink font-medium px-1",children:"Shared with me"}),
50
- /* @__PURE__ */V("button",{onClick:je,className:"px-2 py-1 rounded hover:bg-row-hover text-ink-muted",title:"Refresh",children:/* @__PURE__ */V($,{name:"refresh",className:"h-3.5 w-3.5",strokeWidth:1.8})})]}:"trash"===ce?{children:[
51
- /* @__PURE__ */V("button",{onClick:()=>de("files"),className:"px-2 py-1 rounded hover:bg-row-hover text-ink-muted",title:"Back to files",children:/* @__PURE__ */V($,{name:"arrow-left",className:"h-3.5 w-3.5",strokeWidth:2})}),
52
- /* @__PURE__ */V("span",{className:"flex-1 text-ink font-medium px-2",children:"Trash"}),
53
- /* @__PURE__ */V("button",{onClick:Ce,className:"px-2 py-1 rounded hover:bg-row-hover text-ink-muted",title:"Refresh",children:/* @__PURE__ */V($,{name:"refresh",className:"h-3.5 w-3.5",strokeWidth:1.8})}),
54
- /* @__PURE__ */V("button",{onClick:async()=>{if(0===he.length)return;await y({title:"Empty trash",message:`${he.length} item${1===he.length?"":"s"} will be permanently removed. This can't be undone.`,confirmLabel:"Empty trash",variant:"danger"})&&Te(()=>a.emptyTrash(),"Empty trash failed")},disabled:0===he.length,className:"px-2 py-1 rounded text-danger-text hover:bg-status-danger-soft disabled:opacity-30 flex items-center gap-1",children:"Empty trash"})]}:{children:[
55
- /* @__PURE__ */V("button",{onClick:()=>de("files"),className:"px-2 py-1 rounded hover:bg-row-hover text-ink-muted",title:"Back to files",children:/* @__PURE__ */V($,{name:"arrow-left",className:"h-3.5 w-3.5",strokeWidth:2})}),
56
- /* @__PURE__ */V(k,{className:"h-4 w-4 text-amber-500 ml-1"}),
57
- /* @__PURE__ */V("span",{className:"flex-1 text-ink font-medium px-1 truncate",children:fe?.name??"Desktop folder"}),
58
- /* @__PURE__ */V("span",{className:"text-2xs text-ink-faintest px-2",children:"Desktop shortcuts"})]}),ae&&/* @__PURE__ */A(Y,{children:[
59
- /* @__PURE__ */V("div",{className:"h-4 w-px bg-line-strong mx-1"}),
60
- /* @__PURE__ */A("div",{className:"flex items-center gap-2",title:`${s(ae.used)} of ${s(ae.limit)} used`,children:[
61
- /* @__PURE__ */V("div",{className:"w-20 h-1.5 rounded-full bg-line overflow-hidden",children:/* @__PURE__ */V("div",{className:`h-full ${Ve} transition-all`,style:{width:`${Ae}%`}})}),
62
- /* @__PURE__ */A("span",{className:"text-2xs text-ink-faint tabular-nums whitespace-nowrap",children:[s(ae.used)," / ",s(ae.limit)]})]})]})]}),
63
- /* @__PURE__ */V("div",{className:"flex-1 overflow-auto",children:"object"==typeof ce?0===xe.length?/* @__PURE__ */V("div",{className:"p-10 text-center text-sm text-ink-faintest",children:"This desktop folder is empty. Drag shortcuts onto it on the desktop."}):/* @__PURE__ */A("table",{className:"w-full text-sm",children:[
64
- /* @__PURE__ */V("thead",{className:"bg-surface-sunken text-2xs uppercase tracking-wide text-ink-faint",children:/* @__PURE__ */A("tr",{children:[
65
- /* @__PURE__ */V("th",{className:`${T} text-left font-medium px-3 h-8`,children:"Name"}),
66
- /* @__PURE__ */V("th",{className:`${T} text-left font-medium px-3 h-8 w-28`,children:"Type"}),
67
- /* @__PURE__ */V("th",{className:`${T} w-56`})]})}),
68
- /* @__PURE__ */V("tbody",{children:xe.map(e=>{const t=`${e.entityType}|${e.entityId}`;/* @__PURE__ */
69
- return A("tr",{onClick:()=>q(t),onDoubleClick:()=>be(e),className:"cursor-default border-b border-line-subtle "+(Q===t?"bg-accent-tint":"hover:bg-row-hover"),children:[
70
- /* @__PURE__ */A("td",{className:"px-3 h-8 flex items-center gap-2",children:[
71
- /* @__PURE__ */V(g,{item:e}),
72
- /* @__PURE__ */V("span",{className:"truncate",title:e.label,children:e.label})]}),
73
- /* @__PURE__ */V("td",{className:"px-3 h-8 text-xs text-ink-faint",children:N(e)}),
74
- /* @__PURE__ */A("td",{className:"px-3 h-8 text-right whitespace-nowrap",children:[
75
- /* @__PURE__ */V("button",{onClick:t=>{t.stopPropagation(),be(e)},className:"px-2 py-0.5 rounded hover:bg-row-hover text-accent-text text-2xs",children:"Open"}),
76
- /* @__PURE__ */V("button",{onClick:t=>{t.stopPropagation(),pe?.moveToDesktop([e])},className:"px-2 py-0.5 rounded hover:bg-row-hover text-ink-faint text-2xs ml-1",children:"Move to desktop"}),
77
- /* @__PURE__ */V("button",{onClick:t=>{t.stopPropagation(),pe?.removeShortcuts([e])},className:"px-2 py-0.5 rounded hover:bg-status-danger-soft text-danger-text text-2xs ml-1",children:"Remove"})]})]},t)})})]}):"shared"===ce?_&&0===Z.length?/* @__PURE__ */V(E,{size:"sm",padding:"p-6",label:"Loading"}):0===Z.length?/* @__PURE__ */V("div",{className:"p-10 text-center text-sm text-ink-faintest",children:"Nothing has been shared with you yet. Files and folders colleagues share with you show here."}):/* @__PURE__ */A("table",{className:"w-full text-sm",children:[
78
- /* @__PURE__ */V("thead",{className:"bg-surface-sunken text-2xs uppercase tracking-wide text-ink-faint",children:/* @__PURE__ */A("tr",{children:[
79
- /* @__PURE__ */V("th",{className:`${T} text-left font-medium px-3 h-8`,children:"Name"}),
80
- /* @__PURE__ */V("th",{className:`${T} text-left font-medium px-3 h-8 w-40`,children:"Owner"}),
81
- /* @__PURE__ */V("th",{className:`${T} text-left font-medium px-3 h-8 w-24`,children:"Access"}),
82
- /* @__PURE__ */V("th",{className:`${T} text-right font-medium px-3 h-8 w-24`,children:"Size"}),
83
- /* @__PURE__ */V("th",{className:`${T} w-32`})]})}),
84
- /* @__PURE__ */V("tbody",{children:Z.map(e=>/* @__PURE__ */A("tr",{onClick:()=>q(e.id),onDoubleClick:()=>Ue(e),className:"cursor-default border-b border-line-subtle "+(Q===e.id?"bg-accent-tint":"hover:bg-row-hover"),children:[
85
- /* @__PURE__ */A("td",{className:"px-3 h-8 flex items-center gap-2",children:[Ie(e.kind),
86
- /* @__PURE__ */V("span",{className:"truncate",title:e.name,children:e.name})]}),
87
- /* @__PURE__ */V("td",{className:"px-3 h-8 text-ink-faint truncate",children:e.owner?.name??"—"}),
88
- /* @__PURE__ */V("td",{className:"px-3 h-8 text-ink-faint",children:"editor"===e.role?"Editor":"Viewer"}),
89
- /* @__PURE__ */V("td",{className:"px-3 h-8 text-right tabular-nums text-ink-faint",children:"folder"===e.kind?"—":s(e.size)}),
90
- /* @__PURE__ */A("td",{className:"px-3 h-8 text-right whitespace-nowrap",children:[
91
- /* @__PURE__ */V("button",{onClick:t=>{t.stopPropagation(),Ue(e)},className:"px-2 py-0.5 rounded hover:bg-row-hover text-accent-text text-2xs",children:"Open"}),"file"===e.kind&&/* @__PURE__ */V("button",{onClick:t=>{t.stopPropagation(),Le(e)},className:Ke,children:"Download"})]})]},e.id))})]}):"trash"===ce?_&&0===he.length?/* @__PURE__ */V(E,{size:"sm",padding:"p-6",label:"Loading"}):0===he.length?/* @__PURE__ */V("div",{className:"p-10 text-center text-sm text-ink-faintest",children:"Trash is empty."}):/* @__PURE__ */A("table",{className:"w-full text-sm",children:[
92
- /* @__PURE__ */V("thead",{className:"bg-surface-sunken text-2xs uppercase tracking-wide text-ink-faint",children:/* @__PURE__ */A("tr",{children:[
93
- /* @__PURE__ */V("th",{className:`${T} text-left font-medium px-3 h-8`,children:"Name"}),
94
- /* @__PURE__ */V("th",{className:`${T} text-left font-medium px-3 h-8`,children:"Original location"}),
95
- /* @__PURE__ */V("th",{className:`${T} text-right font-medium px-3 h-8 w-24`,children:"Size"}),
96
- /* @__PURE__ */V("th",{className:`${T} text-right font-medium px-3 h-8 w-40`,children:"Deleted"}),
97
- /* @__PURE__ */V("th",{className:`${T} w-44`})]})}),
98
- /* @__PURE__ */V("tbody",{children:he.map(e=>/* @__PURE__ */A("tr",{className:"border-b border-line-subtle hover:bg-row-hover",children:[
99
- /* @__PURE__ */A("td",{className:"px-3 h-8 flex items-center gap-2",children:[Ie(e.kind),
100
- /* @__PURE__ */V("span",{className:"truncate",title:e.name,children:e.name})]}),
101
- /* @__PURE__ */V("td",{className:"px-3 h-8 text-ink-faint text-xs font-mono truncate",title:e.originalPath,children:e.originalPath||"—"}),
102
- /* @__PURE__ */V("td",{className:"px-3 h-8 text-right tabular-nums text-ink-faint",children:s(e.size)}),
103
- /* @__PURE__ */V("td",{className:"px-3 h-8 text-right text-ink-faint tabular-nums",children:e.deletedAt?O(e.deletedAt):"—"}),
104
- /* @__PURE__ */A("td",{className:"px-3 h-8 text-right whitespace-nowrap",children:[
105
- /* @__PURE__ */V("button",{onClick:()=>{return t=e,Te(async()=>{await a.restore(t.id),W.success(`Restored "${t.name}"`)},"Restore failed");var t},className:"px-2 py-0.5 rounded hover:bg-row-hover text-accent-text text-2xs",children:"Restore"}),
106
- /* @__PURE__ */V("button",{onClick:()=>(async e=>{await y({title:"Permanently delete",message:`"${e.name}" will be permanently removed. This can't be undone.`,confirmLabel:"Delete forever",variant:"danger"})&&Te(()=>a.purge(e.id),"Delete failed")})(e),className:"px-2 py-0.5 rounded hover:bg-status-danger-soft text-danger-text text-2xs ml-1",children:"Delete forever"})]})]},e.id))})]}):_&&0===Se.length?/* @__PURE__ */V(E,{size:"sm",padding:"p-6",label:"Loading"}):0===Se.length?/* @__PURE__ */A("div",{className:"p-10 text-center text-sm text-ink-faintest",children:["Empty folder.",Me&&/* @__PURE__ */A(Y,{children:[" Drop files here or click ",
107
- /* @__PURE__ */V("span",{className:"font-medium",children:"Upload"}),"."]})]}):/* @__PURE__ */A("table",{className:"w-full text-sm",children:[
108
- /* @__PURE__ */V("thead",{className:"bg-surface-sunken text-2xs uppercase tracking-wide text-ink-faint",children:/* @__PURE__ */A("tr",{children:[
109
- /* @__PURE__ */V("th",{className:`${T} text-left font-medium px-3 h-8`,children:"Name"}),
110
- /* @__PURE__ */V("th",{className:`${T} text-right font-medium px-3 h-8 w-24`,children:"Size"}),
111
- /* @__PURE__ */V("th",{className:`${T} text-right font-medium px-3 h-8 w-40`,children:"Modified"}),i&&!Pe&&/* @__PURE__ */V("th",{className:`${T} text-left font-medium px-3 h-8 w-28`,children:"Shared"}),
112
- /* @__PURE__ */V("th",{className:`${T} w-48`})]})}),
113
- /* @__PURE__ */V("tbody",{children:Se.map(e=>{const t=e.role??Re,n="owner"===t,l=Me&&"viewer"!==t;/* @__PURE__ */
114
- return A("tr",{onClick:()=>q(e.id),onDoubleClick:()=>Ue(e),className:"cursor-default border-b border-line-subtle "+(Q===e.id?"bg-accent-tint":"hover:bg-row-hover"),children:[
115
- /* @__PURE__ */A("td",{className:"px-3 h-8 flex items-center gap-2",children:[Ie(e.kind),
116
- /* @__PURE__ */V("span",{className:"truncate",title:e.name,children:e.name})]}),
117
- /* @__PURE__ */V("td",{className:"px-3 h-8 text-right tabular-nums text-ink-faint whitespace-nowrap",children:"folder"===e.kind?"—":s(e.size)}),
118
- /* @__PURE__ */V("td",{className:"px-3 h-8 text-right text-ink-faint tabular-nums whitespace-nowrap",children:O(e.modifiedAt)}),i&&!Pe&&/* @__PURE__ */V("td",{className:"px-3 h-8",children:e.shareCount?/* @__PURE__ */V("span",{className:"inline-flex rounded-full bg-accent-tint px-2 py-0.5 text-2xs text-accent-text whitespace-nowrap",children:1===e.shareCount?"1 person":`${e.shareCount} people`}):/* @__PURE__ */V("span",{className:"text-ink-faintest",children:"—"})}),
119
- /* @__PURE__ */V("td",{className:"px-3 h-8 text-right whitespace-nowrap",children:!r&&/* @__PURE__ */A(Y,{children:["file"===e.kind&&/* @__PURE__ */V("button",{onClick:t=>{t.stopPropagation(),Le(e)},className:Ke,children:"Download"}),i&&n&&/* @__PURE__ */V("button",{onClick:t=>{t.stopPropagation(),oe(e)},className:Ke,children:"Share"}),l&&/* @__PURE__ */A(Y,{children:[
120
- /* @__PURE__ */V("button",{onClick:t=>{t.stopPropagation(),(async e=>{const t=await j({title:`Rename ${e.kind}`,defaultValue:e.name,confirmLabel:"Rename"});t&&t!==e.name&&(/[\\/]/.test(t)?W.error("Names cannot contain slashes"):Te(()=>a.rename(e.id,t),"Rename failed"))})(e)},className:Ke,children:"Rename"}),
121
- /* @__PURE__ */V("button",{onClick:t=>{t.stopPropagation(),(async e=>{const t="owner"!==(e.role??"owner");await y({title:`Delete ${e.kind}`,message:`"${e.name}"${"folder"===e.kind?" and everything inside":""} will move to `+(t?`${(e.owner??B?.folder.owner)?.name??"its owner"}'s Trash.`:"Trash. You can restore it from there."),confirmLabel:"Delete",variant:"danger"})&&Te(()=>a.remove(e.id),"Delete failed")})(e)},className:"px-2 py-0.5 rounded hover:bg-status-danger-soft text-danger-text text-2xs ml-1",children:"Delete"})]})]})})]},e.id)})})]})})]})})}),i&&/* @__PURE__ */V(H,{store:a,entry:le,onClose:()=>oe(null),onChanged:()=>ye(C)}),ie&&/* @__PURE__ */V("div",{className:"absolute inset-0 bg-accent-tint border-4 border-dashed border-accent-border pointer-events-none flex items-center justify-center z-20",children:/* @__PURE__ */V("div",{className:"px-4 py-2 rounded-md bg-accent-fill text-on-accent text-sm font-medium shadow-lg",children:"Drop to upload"})})]})}export{K as default,G as quotaExceededMessage};
@@ -1 +0,0 @@
1
- export{PdfViewer as default,fitScale,pdfWasmParams}from"./chunk-THASH6OO.js";import"./chunk-TRWHVG3A.js";import"./chunk-UQYNPYF4.js";import"./chunk-UIWGVOFH.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-MRJKZWWV.js";import"./chunk-43MCNASD.js";import"./chunk-C3QOHMR6.js";
@@ -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-2XQOK3CT.js";import{openGlobalSearch as s}from"./chunk-4KJ7MLWO.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 C,sectionIcons as w}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-F44E76EC.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-UQYNPYF4.js";import"./chunk-TE6R53YD.js";import{Icon as $}from"./chunk-UIWGVOFH.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{useShellStrings as A}from"./chunk-43MCNASD.js";import"./chunk-C3QOHMR6.js";import"./chunk-TWVUQUUD.js";import{useMemo as I,useState as H,useRef as M,useEffect as R,isValidElement as T,cloneElement as K}from"react";import{jsx as D,jsxs as Q,Fragment as J}from"react/jsx-runtime";var B="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 X({open:e,children:t}){const r=M(null);return R(()=>{r.current?.toggleAttribute("inert",!e)},[e]),/* @__PURE__ */D("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__ */D("div",{className:"min-h-0 overflow-hidden",children:t})})}function Y({open:e}){/* @__PURE__ */
2
- return D($,{name:"chevron-down",className:"size-4 shrink-0 transition-transform "+(e?"rotate-180":""),strokeWidth:2,"aria-hidden":"true"})}function E({dir:e}){/* @__PURE__ */
3
- return D($,"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 F({className:e}){/* @__PURE__ */
4
- return D($,{name:"search",className:e,strokeWidth:2,"aria-hidden":"true"})}var G=e=>.75+1.75*e+"rem";function _({width:_,collapsed:V,onToggleCollapsed:Z,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=C,sectionIcons:me=w,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]=H(()=>t(r(n))),Ce=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]),we=(e,t=Ce)=>je(r=>{const a=i(r,e,t);return l(n,JSON.stringify([...a])),a}),[Se,Le]=H(null),[We,ze]=H(!1),$e=M(null);R(()=>{V||Le(null)},[V]);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 D("span",{className:P,"aria-hidden":"true",children:r&&T(r)?K(r,{className:"size-[18px]"}):r})},He=e=>e.filter(e=>d(e,ye).length>0).map(e=>`child:${e.to}`),Me=(e,t,r=Ce)=>{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 Q("div",{children:[
7
- /* @__PURE__ */Q("button",{type:"button",onClick:()=>we(i,r),"aria-expanded":l,className:O(o,!1),style:t>0?{paddingLeft:G(t)}:void 0,children:[0===t&&Ie(e.to,de),
8
- /* @__PURE__ */D("span",{className:"min-w-0 flex-1 truncate",children:a}),
9
- /* @__PURE__ */D(Y,{open:l})]}),
10
- /* @__PURE__ */D(X,{open:l,children:/* @__PURE__ */D("div",{className:"space-y-0.5 pt-0.5",children:n.map(e=>Me(e,t+1,He(n)))})}),e.dividerAfter&&/* @__PURE__ */D("div",{className:"mx-2 my-2 border-t border-gray-200",style:{marginLeft:G(t)},"aria-hidden":"true"})]},e.to)}const i=e.to===re;/* @__PURE__ */
11
- return Q("div",{children:[
12
- /* @__PURE__ */Q("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:G(t)}:void 0,children:[0===t&&Ie(e.to,de),
13
- /* @__PURE__ */D("span",{className:"min-w-0 flex-1 truncate",children:a})]}),e.dividerAfter&&/* @__PURE__ */D("div",{className:"mx-2 my-2 border-t border-gray-200",style:{marginLeft:G(t)},"aria-hidden":"true"})]},e.to)},Re=(e,t)=>{const r=t?e.items:h(e,ye);if(0===r.length)return null;const n="icon"in e&&e.icon?/* @__PURE__ */D("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(V)/* @__PURE__ */
14
- return Q("div",{children:[
15
- /* @__PURE__ */D("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__ */D("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 Q("div",{children:[
17
- /* @__PURE__ */Q("button",{type:"button",onClick:()=>we(e.label),"aria-expanded":o,"aria-controls":s,className:O(!o&&i,!1),children:[n,
18
- /* @__PURE__ */D("span",{className:"min-w-0 flex-1 truncate",children:a}),
19
- /* @__PURE__ */D(Y,{open:o})]}),
20
- /* @__PURE__ */D(X,{open:o,children:/* @__PURE__ */D("div",{id:s,role:"group","aria-label":a,className:"space-y-0.5 pt-0.5",children:r.map(e=>Me(e,1,He(r)))})}),l&&/* @__PURE__ */D("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"})]},e.label)},Te=ne?.first_name?`${ne.first_name} ${ne.last_name||""}`.trim():ae?.email||"",Ke=(ne?.first_name?.charAt(0)||ae?.email?.charAt(0)||"?").toUpperCase(),De=ne?.avatar_url?/* @__PURE__ */D("img",{src:ne.avatar_url,alt:"",className:"size-8 shrink-0 rounded-full object-cover"}):/* @__PURE__ */D("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-full bg-blue-600 text-xs font-semibold text-white",children:Ke}),Qe=We?$e.current?.getBoundingClientRect():void 0,Je=V?"":"px-3",Be=V?{paddingInline:y}:void 0,Ue=`${V?ke.expandSidebar:ke.collapseSidebar} (${B?"⌘":"Ctrl"} .)`,Oe=ee?{run:ee,label:ke.goHome,title:ke.goHome}:se?null:{run:Z,label:V?ke.expandSidebar:ke.collapseSidebar,title:Ue},Pe=/* @__PURE__ */Q(J,{children:[pe&&/* @__PURE__ */D(p,{src:pe,alt:"",slot:"compact",surface:"light",adaptive:fe,hasAlpha:ge,isLight:xe,size:28,decorative:!0}),!V&&/* @__PURE__ */Q("span",{className:"min-w-0 text-left leading-tight",children:[
21
- /* @__PURE__ */D("span",{className:"block truncate text-base font-bold tracking-wide text-gray-900",children:ue??"Apps"}),be&&/* @__PURE__ */D("span",{className:"block truncate text-2xs font-medium text-gray-500",children:be})]})]}),Xe=ve.erpSections.length>0||ve.systemSections.length>0||ve.virtualSections.length>0;/* @__PURE__ */
22
- return Q("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:_},children:[
23
- /* @__PURE__ */Q("div",{className:"flex shrink-0 items-center border-b border-gray-200 "+(V?"justify-center":"justify-between gap-2 pl-4 pr-2"),style:{height:k},children:[Oe?/* @__PURE__ */D("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 "+(V?"justify-center p-0.5":"-ml-1 p-1"),children:Pe}):/* @__PURE__ */D("span",{className:"flex min-w-0 items-center gap-2",children:Pe}),se?/* @__PURE__ */D(b,{onClick:se,"aria-label":ke.closeMenu,children:/* @__PURE__ */D($,{name:"close",className:"size-[18px]",strokeWidth:1.5,"aria-hidden":"true"})}):!V&&/* @__PURE__ */D("button",{type:"button",onClick:Z,"aria-label":ke.collapseSidebar,title:`${ke.collapseSidebar} (${B?"⌘":"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__ */D(E,{dir:"left"})})]}),
24
- /* @__PURE__ */D("div",{className:`shrink-0 pt-3 ${Je}`,style:Be,children:V?/* @__PURE__ */D("button",{type:"button",onClick:s,"aria-label":ke.search,title:`${ke.search} (${B?"⌘K":"Ctrl K"})`,className:O(!1,!0),children:/* @__PURE__ */D(F,{className:"size-[18px] shrink-0"})}):/* @__PURE__ */Q("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__ */D(F,{className:"size-3.5 text-gray-500"}),
26
- /* @__PURE__ */D("span",{className:"min-w-0 flex-1 truncate text-sm text-ink-faint",children:ke.search}),
27
- /* @__PURE__ */D("kbd",{className:"rounded border border-line bg-gray-100 px-2 py-0.5 font-mono text-2xs font-semibold text-ink-faint",children:B?"⌘K":"Ctrl K"})]})}),
28
- /* @__PURE__ */Q("nav",{"aria-label":ke.navLabel,className:`min-h-0 flex-1 overflow-y-auto pb-4 pt-3 ${Je} ${V?"space-y-1":"space-y-0.5"}`,style:Be,children:[V&&/* @__PURE__ */D("button",{type:"button",onClick:Z,"aria-label":ke.expandSidebar,title:`${ke.expandSidebar} (${B?"⌘":"Ctrl"} .)`,className:`${O(!1,!0)} mb-3`,children:/* @__PURE__ */D(E,{dir:"right"})}),ve.topItems.map(e=>{if(!V)return Me(e,0);const t=d(e,ye),r=e.to===re||u(t,re,ye),n=e.menuLabel??e.label;/* @__PURE__ */
29
- return Q("div",{children:[
30
- /* @__PURE__ */D("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__ */D("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"})]},e.to)}),ve.topItems.length>0&&Xe&&!ve.topItems[ve.topItems.length-1].dividerAfter&&/* @__PURE__ */D("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"}),ve.erpSections.map(e=>Re(e,!1)),ve.systemSections.map(e=>Re(e,!1)),ve.virtualSections.map(e=>Re(e,!0)),ve.footerSections.length>0&&/* @__PURE__ */D("div",{className:"mx-2 my-2 border-t border-line","aria-hidden":"true"}),ve.footerSections.map(e=>Re(e,!1))]}),
31
- /* @__PURE__ */D("div",{className:`shrink-0 border-t border-gray-200 py-2 ${Je}`,style:Be,children:/* @__PURE__ */Q("button",{ref:$e,type:"button",onClick:()=>ze(e=>!e),"aria-haspopup":"menu","aria-expanded":We,"aria-label":V?ke.accountMenu(Te):void 0,className:"flex w-full items-center gap-3 rounded-md hover:bg-gray-100 "+(V?"justify-center py-2":"px-2 py-2"),children:[De,!V&&/* @__PURE__ */Q("span",{className:"min-w-0 flex-1 text-left",children:[
32
- /* @__PURE__ */D("span",{className:"block truncate text-sm font-semibold text-ink-strong",children:Te}),ae?.email&&Te!==ae.email&&/* @__PURE__ */D("span",{className:"block truncate text-2xs text-ink-faint",children:ae.email})]})]})}),q&&!V&&!se&&/* @__PURE__ */D(o,{side:"left",width:_,onResize:q,min:j,max:N,defaultWidth:v,storageKey:a,label:ke.resizeSidebar}),We&&Qe&&/* @__PURE__ */Q(S,{portal:!0,minWidth:224,onClose:()=>ze(!1),style:U(_,Qe,window.innerHeight),children:[V&&/* @__PURE__ */Q("div",{className:"border-b border-line px-3 py-3",children:[
33
- /* @__PURE__ */D("p",{className:"truncate text-sm font-semibold text-gray-800",children:Te}),ae?.email&&/* @__PURE__ */D("p",{className:"truncate text-xs text-gray-500",children:ae.email})]}),
34
- /* @__PURE__ */Q(L,{onClick:()=>{ze(!1),te("/profile",!1)},children:[
35
- /* @__PURE__ */D($,{name:"account",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ke.profile]}),ve.footerItems.map(e=>/* @__PURE__ */Q(L,{onClick:()=>{ze(!1),Ae(e)},children:[
36
- /* @__PURE__ */D("span",{className:"h-4 w-4 [&>svg]:size-4","aria-hidden":"true",children:de[e.to]}),e.menuLabel??e.label]},e.to)),oe&&/* @__PURE__ */Q(L,{onClick:()=>{ze(!1),oe()},children:[
37
- /* @__PURE__ */D($,{name:"error",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ke.reportIssue]}),
38
- /* @__PURE__ */D(W,{}),le&&/* @__PURE__ */Q(J,{children:[
39
- /* @__PURE__ */Q(L,{onClick:()=>{ze(!1),le()},children:[
40
- /* @__PURE__ */D($,{name:"desktop",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ke.switchToDesktop]}),
41
- /* @__PURE__ */D(W,{})]}),
42
- /* @__PURE__ */Q(L,{danger:!0,onClick:()=>{ze(!1),ie()},children:[
43
- /* @__PURE__ */D($,{name:"logout",className:"h-4 w-4",strokeWidth:1.5,"aria-hidden":"true"}),ke.signOut]})]}),Se&&V&&/* @__PURE__ */D(S,{portal:!0,minWidth:220,onClose:()=>Le(null),style:{left:_+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__ */Q("div",{role:e.heading?"group":void 0,"aria-label":e.heading?e.heading.menuLabel??e.heading.label:void 0,children:[t>0&&/* @__PURE__ */D(W,{}),e.heading&&/* @__PURE__ */D(z,{children:e.heading.menuLabel??e.heading.label}),e.items.map(e=>/* @__PURE__ */Q(L,{onClick:()=>Ae(e),children:[Ie(e.to,de),
44
- /* @__PURE__ */D("span",{className:e.to===re?"font-semibold":"",children:e.menuLabel??e.label})]},e.to))]},e.heading?.to??`run-${t}`))})]})}export{U as accountMenuPosition,_ as default};
@@ -1,7 +0,0 @@
1
- import{isFocusableEntry as e,menuStatusIds as t,renderMenuEntries as r}from"./chunk-GYDCXCJT.js";import{useTabLayer as n,focusableIn as o}from"./chunk-CDAJKLGL.js";import{PopupMenu as i,PopupMenuDivider as a}from"./chunk-F44E76EC.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:C,align:E="end",side:L="bottom","aria-label":j,className:A="",triggerClassName:K,menuClassName:S="",minWidth:W=180,linkAs:$,disabled:H,id:N,"aria-describedby":T,"aria-disabled":U=!1,onOpenChange:J,footer:B,footerLabel:G}){const[I,q]=m(!1),[M,z]=m(-1),P=h(null),R=h(null),Y=h(null),F=h(null),O=h(null),Q=null!=B&&!1!==B,V=h({text:"",at:0}),X=g(),Z=g(),_=N??Z,ee=h(J);ee.current=J;const te=h(I);te.current=I;const re=v(e=>{q(!1),te.current&&(te.current=!1,ee.current?.(!1)),e&&R.current?.focus()},[]),ne=(t,r)=>{const n=C.length;for(let o=0;o<n;o+=1){const i=((t+r*o)%n+n)%n;if(e(C[i]))return i}return-1},oe=()=>Y.current?.closest("[data-popup-menu-tree]")??null;b(()=>{if(!I)return;const e=e=>{const t=e.target;if(P.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()}},[I,re]);const ie=v(()=>{const e=oe(),t=R.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:E,side:L});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=E},[E,L]);p(()=>{I&&ie()}),b(()=>{if(I)return u(()=>R.current,ie)},[I,ie]),b(()=>{if(!I)return;const t=Y.current,r=e(C[M])?t?.querySelector(`[data-dropdown-index="${M}"]`):null;(r??t)?.focus({preventScroll:!0})},[I,M]),b(()=>{if(I)return f(e=>"Escape"===e.key&&(re(!0),!0),()=>F.current)},[I,re]),n(F,I&&Q);const ae=h(null),le=e=>"first"===e?ne(0,1):ne(C.length-1,-1),se=e=>{z(le(e)),q(!0),te.current||(te.current=!0,ae.current=e,J?.(!0))};p(()=>{const e=ae.current;if(!I||!e)return;ae.current=null;const t=le(e);t!==M&&z(t)});const de=t(C,X),ce="function"==typeof B?B({close:()=>re(!0)}):B,ue={...k.test(S)?{}:{zIndex:s.popup},minWidth:W};/* @__PURE__ */
2
- return y("div",{ref:P,className:`relative inline-flex ${A}`.trim(),children:[
3
- /* @__PURE__ */x("button",{ref:R,id:_,type:"button","aria-haspopup":"menu","aria-expanded":I,"aria-controls":I?X:void 0,"aria-label":j,"aria-describedby":T,"aria-disabled":U||void 0,disabled:H,onClick:()=>{U||(I?re(!1):se("first"))},onKeyDown:e=>{U||("ArrowDown"===e.key||"Enter"===e.key||" "===e.key?(e.preventDefault(),se("first")):"ArrowUp"===e.key&&(e.preventDefault(),se("last")))},className:K??"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 "+(j?"h-8 min-w-8 px-0":"h-8 min-w-8 gap-2 px-3"),children:D}),I&&
4
- /* @__PURE__ */x(i,{portal:!0,className:S,style:ue,children:/* @__PURE__ */y("div",{ref:F,children:[
5
- /* @__PURE__ */x("div",{ref:Y,id:X,role:"menu","aria-orientation":"vertical","aria-label":j,"aria-labelledby":j?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(),z(ne(M+1,1));else if("ArrowUp"===t.key)t.preventDefault(),z(ne(M-1,-1));else if("Home"===t.key)t.preventDefault(),z(ne(0,1));else if("End"===t.key)t.preventDefault(),z(ne(C.length-1,-1));else if("Tab"===t.key){t.preventDefault();const e=!t.shiftKey&&O.current?o(O.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-V.current.at<500?V.current.text+n:n;V.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=Y.current,d=C.length;for(let r=0;r<d;r+=1){const n=((l+r)%d+d)%d;if(e(C[n])&&(s?.querySelector(`[data-dropdown-index="${n}"]`)?.textContent?.trim().toLowerCase()??"").startsWith(a))return t.preventDefault(),void z(n)}})(t)},children:r(C,{menuId:X,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||O.current?.contains(document.activeElement)||z(e)}}),linkAs:$})}),Q&&/* @__PURE__ */y("div",{ref:O,role:"group","aria-label":G,"data-dropdown-footer":"",onKeyDown:e=>{const t=O.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=Y.current?.querySelector(`[data-dropdown-index="${M}"]`);return void(t??Y.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,15 +0,0 @@
1
- import{AccessibleTable as e}from"./chunk-5PP435FL.js";import{polygonPoints as t}from"./chunk-VFC6QUEN.js";import{ChartDefs as r,maskId as l}from"./chunk-465RRWBY.js";import{useHighlight as a}from"./chunk-CNYAHYE6.js";import{ChartTooltip as o}from"./chunk-36VIGB6J.js";import{angleScale as n}from"./chunk-2JWPNR2U.js";import{CHART_INK as i,resolveSeriesColorWithin as s}from"./chunk-TZFACUMR.js";import{useShellStrings as m,useShellLocale as c}from"./chunk-43MCNASD.js";import{formatPlain as h}from"./chunk-C3QOHMR6.js";import{useId as p,useState as u}from"react";import{jsx as d,jsxs as f}from"react/jsx-runtime";var k=3,g=e=>`${e.map(([e,t],r)=>`${0===r?"M":"L"}${e.toFixed(2)},${t.toFixed(2)}`).join(" ")} Z`;function x({axes:k,series:x,size:y=300,mode:b="area",grid:v="polygon",rings:M=4,formatValue:N,animate:j=!0,className:$,emptyLabel:C}){const F=m().charts,W=c(),w=N??(e=>h(e,W)),A=C??F.nothingToCompare,L=p(),[R,z]=u(null),{highlighted:B}=a(),E=x;if(k.length<3||0===E.length)/* @__PURE__ */
2
- return d("p",{className:`text-sm text-gray-500 ${$??""}`,children:A});const P=y/2,S=y/2,T=y/2-46,U=n(k.length),V=k.map((e,t)=>null!=e.max&&Number.isFinite(e.max)&&e.max>0?e.max:Math.max(1,...E.map(e=>e.values[t]??0).filter(Number.isFinite))),Y=(e,t)=>{const r=Math.max(0,Math.min(1,t/V[e])),l=U.center(e)-U.step/2;return[P+T*r*Math.cos(l),S+T*r*Math.sin(l)]},H=(e,t)=>null!==R?R!==e:null!==B&&B!==t,J=null!==R?E[R]:void 0;/* @__PURE__ */
3
- return f("div",{className:`relative ${$??""}`,children:[
4
- /* @__PURE__ */f("svg",{width:"100%",height:y,viewBox:`0 0 ${y} ${y}`,role:"img","aria-labelledby":L,onMouseLeave:()=>z(null),children:[
5
- /* @__PURE__ */d("title",{id:L,children:F.acrossMeasures(E.map(e=>e.label),k.length)}),Array.from({length:M},(e,r)=>{const l=T*(r+1)/M;return"circle"===v?/* @__PURE__ */d("circle",{cx:P,cy:S,r:l,fill:"none",stroke:i.grid,strokeWidth:1},r):/* @__PURE__ */d("path",{d:g(t(P,S,l,k.length)),fill:"none",stroke:i.grid,strokeWidth:1},r)}),k.map((e,t)=>{const[r,l]=Y(t,V[t]);/* @__PURE__ */
6
- return f("g",{children:[
7
- /* @__PURE__ */d("line",{x1:P,y1:S,x2:r,y2:l,stroke:i.grid,strokeWidth:1}),
8
- /* @__PURE__ */d("text",{x:P+(T+18)*Math.cos(U.center(t)-U.step/2),y:S+(T+18)*Math.sin(U.center(t)-U.step/2)+4,textAnchor:"middle",fontSize:11,fill:i.label,children:e.label})]},e.key)}),
9
- /* @__PURE__ */d(r,{id:L,reveal:!!j&&"center-out"}),E.map((e,t)=>{const r=s(t,3,e.color,e.tone),a=k.map((t,r)=>Y(r,e.values[r]??0));/* @__PURE__ */
10
- return f("g",{opacity:H(t,e.key)?.3:1,onMouseEnter:()=>z(t),mask:j?`url(#${l(L)})`:void 0,children:["area"===b&&/* @__PURE__ */d("path",{d:g(a),fill:r,fillOpacity:.18,stroke:"none"}),
11
- /* @__PURE__ */d("path",{d:g(a),fill:"none",stroke:r,strokeWidth:2,strokeLinejoin:"round"}),a.map(([e,t],l)=>/* @__PURE__ */d("circle",{cx:e,cy:t,r:3.5,fill:r,stroke:i.surface,strokeWidth:1.5},l))]},e.key)})]}),J&&/* @__PURE__ */d("div",{className:"pointer-events-none absolute top-2 left-2 z-10",children:/* @__PURE__ */d(o,{title:J.label,rows:k.map((e,t)=>({key:e.key,label:e.label,color:s(R,3,J.color,J.tone),value:w(J.values[t]??0)}))})}),
12
- /* @__PURE__ */d("ul",{className:"m-0 mt-3 grid gap-1 p-0",style:{gridTemplateColumns:"repeat(auto-fit,minmax(140px,1fr))"},children:E.map((e,t)=>/* @__PURE__ */f("li",{className:"flex list-none items-center gap-2 text-xs text-gray-600",children:[
13
- /* @__PURE__ */d("span",{className:"h-2.5 w-2.5 shrink-0 rounded-sm",style:{backgroundColor:s(t,3,e.color,e.tone)}}),
14
- /* @__PURE__ */d("span",{className:"flex-1 truncate",children:e.label})]},e.key))}),
15
- /* @__PURE__ */d(e,{caption:F.acrossMeasures(E.map(e=>e.label),k.length),head:[F.tableSeries,...k.map(e=>e.label)],rows:E.map(e=>[e.label,...k.map((t,r)=>w(e.values[r]??0))])})]})}export{k as RADAR_SERIES_CAP,x as RadarChart};
@@ -1,8 +0,0 @@
1
- import{ChartTooltip as e}from"./chunk-36VIGB6J.js";import{usePlotWidth as t}from"./chunk-MAFUXCPZ.js";import{axisGutter as i,radiusScale as l,niceMax as r,logScale as o,linearScale as n}from"./chunk-2JWPNR2U.js";import{CHART_INK as a,resolveSeriesColorWithin as s}from"./chunk-TZFACUMR.js";import{useShellStrings as c,useShellLocale as m}from"./chunk-43MCNASD.js";import{formatPlain as h}from"./chunk-C3QOHMR6.js";import{registerModalEscapeInterceptor as f}from"./chunk-TWVUQUUD.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:N,xDomain:$,yDomain:j,xScale:w="linear",yScale:R="linear",radiusRange:S=[4,22],className:D,emptyLabel:U}){const L=c().charts,C=m(),P=z??(e=>h(e,C)),V=N??(e=>h(e,C)),W=U??L.noObservations,B=u(null),E=t(B),I=v??E,O=p(),[F,J]=d(null);x(()=>{if(null!==F)return f(e=>"Escape"===e.key&&(J(null),!0))},[F]);const Q=(e,t)=>!t||e>=Math.min(t[0],t[1])&&e<=Math.max(t[0],t[1]),T=b.map((e,t)=>({...e,slot:t})).filter(e=>e.points.length>0),X=$||j?T.map(e=>({...e,points:e.points.filter(e=>Q(e.x,$)&&Q(e.y,j))})).filter(e=>e.points.length>0):T,Z=T.reduce((e,t)=>e+t.points.length,0)-X.reduce((e,t)=>e+t.points.length,0);if(0===X.length)/* @__PURE__ */
2
- return y("div",{className:D,ref:B,children:/* @__PURE__ */y("p",{className:"flex items-center justify-center text-sm text-gray-500",style:{height:k},children:W})});const G=X.flatMap(e=>e.points),H=G.some(e=>null!=e.size),K=14,Y=20,q=34,_=52,ee=(e,t,i,l)=>{const a=e.filter(e=>e>0),s="log"===i?a.length>0?Math.min(...a):0:Math.min(0,...e),c=t??[s,r(Math.max(...e))];return"log"===i?o(c,l):n(c,l)},te=ee(G.map(e=>e.y),j,R,{from:k-q,to:K}),ie=i(te.ticks(5).map(V),_),le=Math.max(ie+1,I-Y),re=ee(G.map(e=>e.x),$,w,{from:ie,to:le}),oe=l([0,Math.max(...G.map(e=>e.size??1))],{from:S[0],to:S[1]}),ne=F?X[F.s]:void 0,ae=F&&ne?ne.points[F.i]:void 0,se=X.flatMap((e,t)=>e.points.map((e,i)=>({s:t,i:i})));/* @__PURE__ */
3
- return g("div",{className:`relative ${D??""}`,ref:B,children:[
4
- /* @__PURE__ */g("svg",{width:"100%",height:k,viewBox:`0 0 ${I} ${k}`,role:"img","aria-label":L.scatter(X.map(e=>e.label),A??L.yAxis,M??L.xAxis)+(Z>0?`. ${L.outsideRange(Z)}`:""),tabIndex:0,className:"rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-deep)]",onMouseLeave:()=>J(null),onBlur:()=>J(null),onKeyDown:e=>{if("ArrowRight"!==e.key&&"ArrowLeft"!==e.key)return;e.preventDefault();const t="ArrowRight"===e.key?1:-1,i=F?se.findIndex(e=>e.s===F.s&&e.i===F.i):0;J(se[Math.min(se.length-1,Math.max(0,i+t))])},children:[
5
- /* @__PURE__ */y("defs",{children:/* @__PURE__ */y("clipPath",{id:O,children:/* @__PURE__ */y("rect",{x:ie-S[1],y:K-S[1],width:le-ie+2*S[1],height:k-q-K+2*S[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:V(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(#${O})`,children:X.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):S[0]+1,fill:i,fillOpacity:F&&F.s!==t?.25:.62,stroke:a.surface,strokeWidth:2,onMouseEnter:()=>J({s:t,i:r})},`${e.key}-${r}`))})})]}),F&&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??L.xAxis,color:s(ne.slot,3,ne.color,ne.tone),value:P(ae.x)},{key:"y",label:A??L.yAxis,color:s(ne.slot,3,ne.color,ne.tone),value:V(ae.y)},...null!=ae.size?[{key:"size",label:L.size,color:a.muted,value:h(ae.size,C)}]:[]],footnote:ae.label?ne.label:void 0})})]})}export{b as SCATTER_SERIES_CAP,k as ScatterChart};