laif-ds 0.1.1 → 0.1.3

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 (425) hide show
  1. package/dist/_virtual/jsx-runtime.js +6 -0
  2. package/dist/_virtual/jsx-runtime2.js +5 -0
  3. package/dist/_virtual/react-jsx-runtime.development.js +5 -0
  4. package/dist/_virtual/react-jsx-runtime.production.js +5 -0
  5. package/dist/components/ui/accordion.js +65 -0
  6. package/dist/components/ui/alert-dialog.js +147 -0
  7. package/dist/components/ui/alert.js +67 -0
  8. package/dist/components/ui/aspect-ratio.js +11 -0
  9. package/dist/components/ui/async-select.js +172 -0
  10. package/dist/components/ui/audio-visualizer.js +94 -0
  11. package/dist/components/ui/avatar.js +54 -0
  12. package/dist/components/ui/badge.js +41 -0
  13. package/dist/components/ui/button.js +66 -0
  14. package/dist/components/ui/calendar.js +62 -0
  15. package/dist/components/ui/card.js +77 -0
  16. package/dist/components/ui/carousel.js +178 -0
  17. package/dist/components/ui/chart.js +216 -0
  18. package/dist/components/ui/chat-message.js +250 -0
  19. package/dist/components/ui/chat.js +226 -0
  20. package/dist/components/ui/checkbox.js +32 -0
  21. package/dist/components/ui/collapsible.js +35 -0
  22. package/dist/components/ui/command.js +162 -0
  23. package/dist/components/ui/context-menu.js +224 -0
  24. package/dist/components/ui/copy-button.js +45 -0
  25. package/dist/components/ui/date-picker.js +59 -0
  26. package/dist/components/ui/dialog.js +123 -0
  27. package/dist/components/ui/drawer.js +120 -0
  28. package/dist/components/ui/file-preview.js +120 -0
  29. package/dist/components/ui/form.js +102 -0
  30. package/dist/components/ui/hover-card.js +39 -0
  31. package/dist/components/ui/icon.js +35 -0
  32. package/dist/components/ui/input-otp.js +62 -0
  33. package/dist/components/ui/input-selector.js +119 -0
  34. package/dist/components/ui/input.js +70 -0
  35. package/dist/components/ui/interrupt-prompt.js +38 -0
  36. package/dist/components/ui/label.js +23 -0
  37. package/dist/components/ui/markdown-renderer.js +126 -0
  38. package/dist/components/ui/menubar.js +252 -0
  39. package/dist/components/ui/message-input.js +336 -0
  40. package/dist/components/ui/message-list.js +29 -0
  41. package/dist/components/ui/multiple-selector.js +350 -0
  42. package/dist/components/ui/navigation-menu.js +171 -0
  43. package/dist/components/ui/pagination.js +119 -0
  44. package/dist/components/ui/popover.js +39 -0
  45. package/dist/components/ui/progress.js +32 -0
  46. package/dist/components/ui/prompt-suggestions.js +23 -0
  47. package/dist/components/ui/radio-group.js +46 -0
  48. package/dist/components/ui/resizable.js +49 -0
  49. package/dist/components/ui/scroll-area.js +61 -0
  50. package/dist/components/ui/select.js +189 -0
  51. package/dist/components/ui/separator.js +27 -0
  52. package/dist/components/ui/sheet.js +121 -0
  53. package/dist/components/ui/sidebar.js +599 -0
  54. package/dist/components/ui/skeleton.js +16 -0
  55. package/dist/components/ui/sonner.js +23 -0
  56. package/dist/components/ui/switch.js +32 -0
  57. package/dist/components/ui/table.js +115 -0
  58. package/dist/components/ui/tabs.js +68 -0
  59. package/dist/components/ui/textarea.js +19 -0
  60. package/dist/components/ui/toggle-group.js +63 -0
  61. package/dist/components/ui/toggle.js +44 -0
  62. package/dist/components/ui/tooltip.js +56 -0
  63. package/dist/components/ui/typing-indicator.js +13 -0
  64. package/dist/hooks/use-audio-recording.js +55 -0
  65. package/dist/hooks/use-auto-scroll.js +37 -0
  66. package/dist/hooks/use-autosize-textarea.js +22 -0
  67. package/dist/hooks/use-copy-to-clipboard.js +25 -0
  68. package/dist/hooks/use-debounce.js +16 -0
  69. package/dist/hooks/use-mobile.js +17 -0
  70. package/dist/index.d.ts +1088 -0
  71. package/dist/index.js +299 -0
  72. package/dist/lib/audio-utils.js +30 -0
  73. package/dist/lib/utils.js +9 -0
  74. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +248 -0
  75. package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +36 -0
  76. package/dist/node_modules/react/jsx-runtime.js +11 -0
  77. package/dist/styles.css +1 -1
  78. package/package.json +15 -38
  79. package/dist/abap-BmBUA35e.js +0 -6
  80. package/dist/actionscript-3-zFUbzQa9.js +0 -6
  81. package/dist/ada-CBvPkFpZ.js +0 -6
  82. package/dist/andromeeda-uXNdzNpk.js +0 -4
  83. package/dist/angular-html-0fTdLuKf.js +0 -32
  84. package/dist/angular-ts-wkniW60G.js +0 -21
  85. package/dist/apache-CVNlsSDc.js +0 -6
  86. package/dist/apex-DFk3KRB1.js +0 -6
  87. package/dist/apl-TLDHFJX6.js +0 -16
  88. package/dist/applescript-CYMR_y0g.js +0 -6
  89. package/dist/ara-4QmU5e04.js +0 -6
  90. package/dist/asciidoc-v_1bjgUg.js +0 -6
  91. package/dist/asm-RC0Yh-NZ.js +0 -6
  92. package/dist/astro-Uf8_VxKJ.js +0 -16
  93. package/dist/aurora-x-BwoVEUWZ.js +0 -4
  94. package/dist/awk-gPH8MVMW.js +0 -6
  95. package/dist/ayu-dark-CxPZkpb2.js +0 -4
  96. package/dist/ballerina-kvLnRU_e.js +0 -6
  97. package/dist/bat-BHYy44sT.js +0 -6
  98. package/dist/beancount-D-MADTs_.js +0 -6
  99. package/dist/berry-Ci9U0o4h.js +0 -6
  100. package/dist/bibtex-CX618D15.js +0 -6
  101. package/dist/bicep-iuYiPopT.js +0 -6
  102. package/dist/blade-BtR00Gx0.js +0 -18
  103. package/dist/bsl-BIXPNqL4.js +0 -8
  104. package/dist/c-DASdrs7p.js +0 -6
  105. package/dist/cadence-BDALQi26.js +0 -6
  106. package/dist/cairo-tXZKA2PT.js +0 -8
  107. package/dist/catppuccin-frappe-BrTOiad2.js +0 -4
  108. package/dist/catppuccin-latte-D-dc_R4m.js +0 -4
  109. package/dist/catppuccin-macchiato-DN4jOp0G.js +0 -4
  110. package/dist/catppuccin-mocha-B8yCE3-3.js +0 -4
  111. package/dist/clarity-CNgV2Ths.js +0 -6
  112. package/dist/clojure-CsKKFGwv.js +0 -6
  113. package/dist/cmake-Dr-A3iJx.js +0 -6
  114. package/dist/cobol-DMssKNmC.js +0 -10
  115. package/dist/codeowners-Bt9yU6NX.js +0 -6
  116. package/dist/codeql-DBNTqJi1.js +0 -6
  117. package/dist/coffee-D_GzM8k1.js +0 -8
  118. package/dist/common-lisp-r7ZEOG7T.js +0 -6
  119. package/dist/components/atoms/index.d.ts +0 -20
  120. package/dist/components/index.d.ts +0 -3
  121. package/dist/components/molecules/index.d.ts +0 -29
  122. package/dist/components/organisms/index.d.ts +0 -14
  123. package/dist/components/ui/accordion.d.ts +0 -7
  124. package/dist/components/ui/alert-dialog.d.ts +0 -14
  125. package/dist/components/ui/alert.d.ts +0 -9
  126. package/dist/components/ui/aspect-ratio.d.ts +0 -3
  127. package/dist/components/ui/async-select.d.ts +0 -54
  128. package/dist/components/ui/audio-visualizer.d.ts +0 -7
  129. package/dist/components/ui/avatar.d.ts +0 -6
  130. package/dist/components/ui/badge.d.ts +0 -9
  131. package/dist/components/ui/button.d.ts +0 -14
  132. package/dist/components/ui/calendar.d.ts +0 -4
  133. package/dist/components/ui/card.d.ts +0 -9
  134. package/dist/components/ui/carousel.d.ts +0 -19
  135. package/dist/components/ui/chart.d.ts +0 -40
  136. package/dist/components/ui/chat-message.d.ts +0 -62
  137. package/dist/components/ui/chat.d.ts +0 -53
  138. package/dist/components/ui/checkbox.d.ts +0 -4
  139. package/dist/components/ui/collapsible.d.ts +0 -5
  140. package/dist/components/ui/command.d.ts +0 -16
  141. package/dist/components/ui/context-menu.d.ts +0 -25
  142. package/dist/components/ui/copy-button.d.ts +0 -6
  143. package/dist/components/ui/date-picker.d.ts +0 -11
  144. package/dist/components/ui/dialog.d.ts +0 -13
  145. package/dist/components/ui/drawer.d.ts +0 -13
  146. package/dist/components/ui/file-preview.d.ts +0 -7
  147. package/dist/components/ui/form.d.ts +0 -24
  148. package/dist/components/ui/hover-card.d.ts +0 -6
  149. package/dist/components/ui/icon.d.ts +0 -33
  150. package/dist/components/ui/input-otp.d.ts +0 -11
  151. package/dist/components/ui/input-selector.d.ts +0 -14
  152. package/dist/components/ui/input.d.ts +0 -14
  153. package/dist/components/ui/interrupt-prompt.d.ts +0 -6
  154. package/dist/components/ui/label.d.ts +0 -4
  155. package/dist/components/ui/markdown-renderer.d.ts +0 -5
  156. package/dist/components/ui/menubar.d.ts +0 -26
  157. package/dist/components/ui/message-input.d.ts +0 -23
  158. package/dist/components/ui/message-list.d.ts +0 -10
  159. package/dist/components/ui/multiple-selector.d.ts +0 -75
  160. package/dist/components/ui/navigation-menu.d.ts +0 -14
  161. package/dist/components/ui/pagination.d.ts +0 -13
  162. package/dist/components/ui/popover.d.ts +0 -7
  163. package/dist/components/ui/progress.d.ts +0 -4
  164. package/dist/components/ui/prompt-suggestions.d.ts +0 -10
  165. package/dist/components/ui/radio-group.d.ts +0 -5
  166. package/dist/components/ui/resizable.d.ts +0 -8
  167. package/dist/components/ui/scroll-area.d.ts +0 -5
  168. package/dist/components/ui/select.d.ts +0 -21
  169. package/dist/components/ui/separator.d.ts +0 -4
  170. package/dist/components/ui/sheet.d.ts +0 -13
  171. package/dist/components/ui/sidebar.d.ts +0 -69
  172. package/dist/components/ui/skeleton.d.ts +0 -2
  173. package/dist/components/ui/sonner.d.ts +0 -3
  174. package/dist/components/ui/switch.d.ts +0 -4
  175. package/dist/components/ui/table.d.ts +0 -10
  176. package/dist/components/ui/tabs.d.ts +0 -7
  177. package/dist/components/ui/textarea.d.ts +0 -3
  178. package/dist/components/ui/toggle-group.d.ts +0 -7
  179. package/dist/components/ui/toggle.d.ts +0 -9
  180. package/dist/components/ui/tooltip.d.ts +0 -7
  181. package/dist/components/ui/typing-indicator.d.ts +0 -1
  182. package/dist/coq-CB6Pv_W9.js +0 -6
  183. package/dist/cpp-CJF2i3ah.js +0 -18
  184. package/dist/crystal-BKWnaU3g.js +0 -18
  185. package/dist/csharp-CYWRhZ2R.js +0 -6
  186. package/dist/css-D1aVdRIU.js +0 -6
  187. package/dist/csv-DvCncUGQ.js +0 -6
  188. package/dist/cue-BXMrmvay.js +0 -6
  189. package/dist/cypher-DTm5zNR1.js +0 -6
  190. package/dist/d-D6ZXmn3l.js +0 -6
  191. package/dist/dark-plus-pUHDTVV0.js +0 -4
  192. package/dist/dart-Dz59Is3F.js +0 -6
  193. package/dist/dax-DTVGzydb.js +0 -6
  194. package/dist/desktop-Db9vb-dl.js +0 -6
  195. package/dist/diff-XmNrvgM1.js +0 -6
  196. package/dist/docker-DWH2onkn.js +0 -6
  197. package/dist/dotenv-4337wvzu.js +0 -6
  198. package/dist/dracula-BtZx2Kac.js +0 -4
  199. package/dist/dracula-soft-BKa-aqBv.js +0 -4
  200. package/dist/dream-maker-CvvfrJSx.js +0 -6
  201. package/dist/edge-CgxR-qhM.js +0 -12
  202. package/dist/elixir-DZkeSPwW.js +0 -8
  203. package/dist/elm-BKuV1HE1.js +0 -8
  204. package/dist/emacs-lisp-BAefI874.js +0 -6
  205. package/dist/erb-BLwkpXUJ.js +0 -10
  206. package/dist/erlang-CmIiwF3I.js +0 -6
  207. package/dist/everforest-dark-DMCBqXCK.js +0 -4
  208. package/dist/everforest-light-BbXl82Em.js +0 -4
  209. package/dist/fennel-DNqkz9pE.js +0 -6
  210. package/dist/fish-DIm72t2T.js +0 -6
  211. package/dist/fluent-BapTxJsC.js +0 -6
  212. package/dist/fortran-fixed-form-s9Hnb3av.js +0 -8
  213. package/dist/fortran-free-form-CNDsBFUj.js +0 -6
  214. package/dist/fsharp-Cv0x43wb.js +0 -8
  215. package/dist/gdresource-CMcKXvgJ.js +0 -10
  216. package/dist/gdscript-D7aheHm-.js +0 -6
  217. package/dist/gdshader-BGJEsM2Z.js +0 -6
  218. package/dist/genie-C9gPjc6J.js +0 -6
  219. package/dist/gherkin-bka1Exbx.js +0 -6
  220. package/dist/git-commit-BspYIY3P.js +0 -8
  221. package/dist/git-rebase--zLBTjUa.js +0 -8
  222. package/dist/github-dark-DenFmJkN.js +0 -4
  223. package/dist/github-dark-default-BJPUVz4H.js +0 -4
  224. package/dist/github-dark-dimmed-DUshB20C.js +0 -4
  225. package/dist/github-dark-high-contrast-D3aGCnF8.js +0 -4
  226. package/dist/github-light-JYsPkUQd.js +0 -4
  227. package/dist/github-light-default-D99KPAby.js +0 -4
  228. package/dist/github-light-high-contrast-BbmZE-Mp.js +0 -4
  229. package/dist/gleam-B4k9YFGD.js +0 -6
  230. package/dist/glimmer-js-DhY9umHJ.js +0 -14
  231. package/dist/glimmer-ts-CCrHcYH5.js +0 -14
  232. package/dist/glsl-XLGYNq5B.js +0 -8
  233. package/dist/gnuplot-DnWoRZt-.js +0 -6
  234. package/dist/go-BErP6iv1.js +0 -6
  235. package/dist/graphql-DWpQF4JI.js +0 -14
  236. package/dist/groovy-IWs5-NIO.js +0 -6
  237. package/dist/hack-CQrV-ytR.js +0 -10
  238. package/dist/haml-CMN0hQaL.js +0 -10
  239. package/dist/handlebars-Cc-7fXX5.js +0 -14
  240. package/dist/haskell-CtlGos0K.js +0 -6
  241. package/dist/haxe-CZZ33vZw.js +0 -6
  242. package/dist/hcl-6hOg9WP4.js +0 -6
  243. package/dist/hjson-CgwED-oz.js +0 -6
  244. package/dist/hlsl-3-lv4gi7.js +0 -6
  245. package/dist/hooks/index.d.ts +0 -6
  246. package/dist/hooks/use-audio-recording.d.ts +0 -14
  247. package/dist/hooks/use-auto-scroll.d.ts +0 -7
  248. package/dist/hooks/use-autosize-textarea.d.ts +0 -8
  249. package/dist/hooks/use-copy-to-clipboard.d.ts +0 -9
  250. package/dist/hooks/use-debounce.d.ts +0 -1
  251. package/dist/hooks/use-mobile.d.ts +0 -1
  252. package/dist/houston-BDYrDoDW.js +0 -4
  253. package/dist/html-B0P_v3yU.js +0 -10
  254. package/dist/html-derivative-D59SHfh8.js +0 -8
  255. package/dist/http-Dcjm_K1m.js +0 -14
  256. package/dist/hxml-BNKImryz.js +0 -8
  257. package/dist/hy-C2xHhR6I.js +0 -6
  258. package/dist/imba-Drd0AMDo.js +0 -8
  259. package/dist/index-B2xHpeqn.js +0 -71567
  260. package/dist/index-CIiBzRi5.js +0 -6376
  261. package/dist/ini-BUcvsX-U.js +0 -6
  262. package/dist/java-B7odJ7Ap.js +0 -6
  263. package/dist/javascript-fa8UlHZE.js +0 -6
  264. package/dist/jinja-CCSYduCH.js +0 -11
  265. package/dist/jison-BygvlveW.js +0 -8
  266. package/dist/json-71t8ZF9g.js +0 -6
  267. package/dist/json5-Z7F6rA6a.js +0 -6
  268. package/dist/jsonc-Dphhs4m2.js +0 -6
  269. package/dist/jsonl-D9jj92Gg.js +0 -6
  270. package/dist/jsonnet-DEQ7IUoJ.js +0 -6
  271. package/dist/jssm-j74e88UX.js +0 -6
  272. package/dist/jsx-Bkesy5tT.js +0 -6
  273. package/dist/julia-CiahampL.js +0 -16
  274. package/dist/kanagawa-dragon-CiKur4Hl.js +0 -4
  275. package/dist/kanagawa-lotus-BKu-smKu.js +0 -4
  276. package/dist/kanagawa-wave-CQwozSzG.js +0 -4
  277. package/dist/kotlin-DCgZY7Ii.js +0 -6
  278. package/dist/kusto-Cw029H-v.js +0 -6
  279. package/dist/laserwave-6a00oqik.js +0 -4
  280. package/dist/latex-LfGCYGw5.js +0 -8
  281. package/dist/lean-CYSet4vs.js +0 -6
  282. package/dist/less-DQA4v-Nm.js +0 -6
  283. package/dist/light-plus-CZuVqSLX.js +0 -4
  284. package/dist/liquid-CvufO3kO.js +0 -14
  285. package/dist/log-D2eRfqDn.js +0 -6
  286. package/dist/logo-QEAtGWZ9.js +0 -6
  287. package/dist/lua-BVfhNLDr.js +0 -8
  288. package/dist/luau-BjYGiqID.js +0 -6
  289. package/dist/make-BjuHP00g.js +0 -6
  290. package/dist/markdown-B6guhLWd.js +0 -6
  291. package/dist/marko-CHlMS8w5.js +0 -14
  292. package/dist/material-theme-D6KBX41T.js +0 -4
  293. package/dist/material-theme-darker-CkRroheE.js +0 -4
  294. package/dist/material-theme-lighter-BUBw43Yz.js +0 -4
  295. package/dist/material-theme-ocean-ClGX14Ja.js +0 -4
  296. package/dist/material-theme-palenight-C1RVm8K1.js +0 -4
  297. package/dist/matlab-BpQlIJiw.js +0 -6
  298. package/dist/mdc-4K6B6lHG.js +0 -12
  299. package/dist/mdx-DIoECIFU.js +0 -6
  300. package/dist/mermaid-BZ7WHNIe.js +0 -6
  301. package/dist/min-dark-C7ak0t6c.js +0 -4
  302. package/dist/min-light-CKFxVcPp.js +0 -4
  303. package/dist/mipsasm-DusDYkFc.js +0 -6
  304. package/dist/mojo-CY9jaezJ.js +0 -6
  305. package/dist/monokai-C1KBYcO0.js +0 -4
  306. package/dist/move-ChphFumd.js +0 -6
  307. package/dist/narrat-Dz4d7OmN.js +0 -6
  308. package/dist/nextflow-DW0Yq9a2.js +0 -6
  309. package/dist/nginx-Can2eAjw.js +0 -8
  310. package/dist/night-owl-Bm2rzalh.js +0 -4
  311. package/dist/nim-B3r2RtQZ.js +0 -20
  312. package/dist/nix-Cg5uV_xg.js +0 -6
  313. package/dist/nord-CC5OiUXg.js +0 -4
  314. package/dist/nushell-BfRnzRWn.js +0 -6
  315. package/dist/objective-c-BGg9R27G.js +0 -6
  316. package/dist/objective-cpp-CJ3y3V_5.js +0 -6
  317. package/dist/ocaml-BZLsfx_o.js +0 -6
  318. package/dist/one-dark-pro-D7-kP8fv.js +0 -4
  319. package/dist/one-light-D9sNaUtq.js +0 -4
  320. package/dist/pascal-l2bqd7Dz.js +0 -6
  321. package/dist/perl-DaMQyPwp.js +0 -16
  322. package/dist/php-BL3EfPBi.js +0 -18
  323. package/dist/plastic-CSTz3KZp.js +0 -4
  324. package/dist/plsql-oVq_K_wH.js +0 -6
  325. package/dist/po-5jaeIyVd.js +0 -6
  326. package/dist/poimandres-C-VADXHD.js +0 -4
  327. package/dist/polar-wcLp8ci7.js +0 -6
  328. package/dist/postcss-BZ3MNRIJ.js +0 -6
  329. package/dist/powerquery-CgRa2XRw.js +0 -6
  330. package/dist/powershell-Diwyv8Eh.js +0 -6
  331. package/dist/prisma-COL_v1x4.js +0 -6
  332. package/dist/prolog-CuvJOxqT.js +0 -6
  333. package/dist/proto-o9HLmF90.js +0 -6
  334. package/dist/pug-HKe4Luo3.js +0 -12
  335. package/dist/puppet-wpGOnQp5.js +0 -6
  336. package/dist/purescript-B_1NgE2N.js +0 -6
  337. package/dist/python-xYxLFJY-.js +0 -6
  338. package/dist/qml-FlMIyjU9.js +0 -8
  339. package/dist/qmldir-BInDYbpo.js +0 -6
  340. package/dist/qss-D-h4NdUG.js +0 -6
  341. package/dist/r-F-9I-ITZ.js +0 -6
  342. package/dist/racket-BoD1TBFT.js +0 -6
  343. package/dist/raku-IaYcw19m.js +0 -6
  344. package/dist/razor-CeqqNtyB.js +0 -10
  345. package/dist/red-7y8PH7HH.js +0 -4
  346. package/dist/reg-CMUdAgIP.js +0 -6
  347. package/dist/regexp-GiFkbxS-.js +0 -6
  348. package/dist/rel-BaRn3QX7.js +0 -6
  349. package/dist/riscv-B9V3SsvW.js +0 -6
  350. package/dist/rose-pine-DhT-HZE9.js +0 -4
  351. package/dist/rose-pine-dawn-DiCjL2i4.js +0 -4
  352. package/dist/rose-pine-moon-BNmGHlcn.js +0 -4
  353. package/dist/rst-C3D6-dqL.js +0 -22
  354. package/dist/ruby-DcPLUUK3.js +0 -30
  355. package/dist/rust-Pc7DCsZD.js +0 -6
  356. package/dist/sas-tDSYjXcL.js +0 -8
  357. package/dist/sass-iCyS6eP9.js +0 -6
  358. package/dist/scala-Cly-fENF.js +0 -6
  359. package/dist/scheme-Zi24oEYu.js +0 -6
  360. package/dist/scss-DhHc4lxB.js +0 -8
  361. package/dist/sdbl-BBamrXFL.js +0 -6
  362. package/dist/shaderlab-CvqEIoL0.js +0 -8
  363. package/dist/shellscript-Dn0-btNd.js +0 -6
  364. package/dist/shellsession-8OLo3sB6.js +0 -8
  365. package/dist/slack-dark-i7wN4OET.js +0 -4
  366. package/dist/slack-ochin-ndHf0LoP.js +0 -4
  367. package/dist/smalltalk-Cns31tKw.js +0 -6
  368. package/dist/snazzy-light-BlSJXAu4.js +0 -4
  369. package/dist/solarized-dark-UTmkh7lw.js +0 -4
  370. package/dist/solarized-light-BheCkDPT.js +0 -4
  371. package/dist/solidity-BG_k8fA_.js +0 -6
  372. package/dist/soy-EwHMOVPj.js +0 -8
  373. package/dist/sparql-DhuelBut.js +0 -8
  374. package/dist/splunk-CTqDjQdo.js +0 -6
  375. package/dist/sql-DCkt643-.js +0 -6
  376. package/dist/ssh-config-DHHGll-v.js +0 -6
  377. package/dist/stata-Dok6hMw0.js +0 -8
  378. package/dist/stylus-n_9f0QQ5.js +0 -6
  379. package/dist/svelte-01qw6Rxm.js +0 -14
  380. package/dist/swift-BAWqNR8A.js +0 -6
  381. package/dist/synthwave-84-NU3C_KFZ.js +0 -4
  382. package/dist/system-verilog-Cui-g-ut.js +0 -6
  383. package/dist/systemd-CsKYQIQK.js +0 -6
  384. package/dist/talonscript-D2dGh8FO.js +0 -6
  385. package/dist/tasl-D3W8HMV6.js +0 -6
  386. package/dist/tcl-2y0Fuc4S.js +0 -6
  387. package/dist/templ-Hmy8U0DD.js +0 -12
  388. package/dist/terraform-BGW6Oerf.js +0 -6
  389. package/dist/tex-mHs7a43s.js +0 -8
  390. package/dist/tokyo-night-LhP3hHhi.js +0 -4
  391. package/dist/toml-CQSfOn0e.js +0 -6
  392. package/dist/ts-tags-DYZ4SGcN.js +0 -41
  393. package/dist/tsv-BtvSkaG0.js +0 -6
  394. package/dist/tsx-DiGsgWT8.js +0 -6
  395. package/dist/turtle-BJ2wmjPc.js +0 -6
  396. package/dist/twig-BmytkGQV.js +0 -18
  397. package/dist/typescript-buWNZFwO.js +0 -6
  398. package/dist/typespec-bLbdsxJL.js +0 -6
  399. package/dist/typst-Y9_SmXTs.js +0 -6
  400. package/dist/ui.es.js +0 -7
  401. package/dist/ui.umd.js +0 -8032
  402. package/dist/v-wa8Orrdd.js +0 -6
  403. package/dist/vala-DRdriFr_.js +0 -6
  404. package/dist/vb-E2_-jk4M.js +0 -6
  405. package/dist/verilog-B1iBoR5_.js +0 -6
  406. package/dist/vesper-CJsaOsSM.js +0 -4
  407. package/dist/vhdl-CRVaAhXk.js +0 -6
  408. package/dist/viml-B-zWOd7Z.js +0 -6
  409. package/dist/vitesse-black-BoGvW84i.js +0 -4
  410. package/dist/vitesse-dark-Cym-eLtO.js +0 -4
  411. package/dist/vitesse-light-CcmG315c.js +0 -4
  412. package/dist/vue-Bl1uVNsA.js +0 -31
  413. package/dist/vue-html-DHr5wjBG.js +0 -10
  414. package/dist/vyper-DWutKXpa.js +0 -6
  415. package/dist/wasm-Bv5f0gKv.js +0 -6
  416. package/dist/wasm-DQxwEHae.js +0 -7
  417. package/dist/wenyan-BMYnfus1.js +0 -6
  418. package/dist/wgsl-DnPoPGDU.js +0 -6
  419. package/dist/wikitext-CntM04PE.js +0 -6
  420. package/dist/wolfram-Ws5qPlX9.js +0 -6
  421. package/dist/xml-ChBsf5uy.js +0 -8
  422. package/dist/xsl-BefjlXrd.js +0 -8
  423. package/dist/yaml-Bbg74JKr.js +0 -6
  424. package/dist/zenscript-C0RKE4nU.js +0 -6
  425. package/dist/zig-D6SXBGNm.js +0 -6
@@ -0,0 +1,66 @@
1
+ "use client";
2
+ import { j as r } from "../../_virtual/jsx-runtime.js";
3
+ import { Slot as g } from "@radix-ui/react-slot";
4
+ import { cva as l } from "class-variance-authority";
5
+ import { cn as u } from "../../lib/utils.js";
6
+ import { Icon as c } from "./icon.js";
7
+ const v = l(
8
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
9
+ {
10
+ variants: {
11
+ variant: {
12
+ default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
13
+ destructive: "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
14
+ outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
15
+ secondary: "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
16
+ ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
17
+ link: "text-primary underline-offset-4 hover:underline"
18
+ },
19
+ size: {
20
+ default: "h-9 px-4 py-2 has-[>svg]:px-3",
21
+ sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
22
+ lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
23
+ icon: "size-9"
24
+ }
25
+ },
26
+ defaultVariants: {
27
+ variant: "default",
28
+ size: "default"
29
+ }
30
+ }
31
+ );
32
+ function h({
33
+ className: n,
34
+ variant: s,
35
+ size: e,
36
+ asChild: i = !1,
37
+ iconLeft: o,
38
+ iconRight: a,
39
+ ...t
40
+ }) {
41
+ const d = i ? g : "button";
42
+ return i ? /* @__PURE__ */ r.jsx(
43
+ d,
44
+ {
45
+ "data-slot": "button",
46
+ className: u(v({ variant: s, size: e, className: n })),
47
+ ...t
48
+ }
49
+ ) : /* @__PURE__ */ r.jsxs(
50
+ d,
51
+ {
52
+ "data-slot": "button",
53
+ className: u(v({ variant: s, size: e, className: n })),
54
+ ...t,
55
+ children: [
56
+ o && /* @__PURE__ */ r.jsx(c, { name: o, size: e === "default" ? "md" : e === "sm" ? "xs" : "sm" }),
57
+ t.children,
58
+ a && /* @__PURE__ */ r.jsx(c, { name: a, size: e === "default" ? "md" : e === "sm" ? "xs" : "sm" })
59
+ ]
60
+ }
61
+ );
62
+ }
63
+ export {
64
+ h as Button,
65
+ v as buttonVariants
66
+ };
@@ -0,0 +1,62 @@
1
+ "use client";
2
+ import { j as r } from "../../_virtual/jsx-runtime.js";
3
+ import { ChevronRight as l, ChevronLeft as c } from "lucide-react";
4
+ import { DayPicker as m } from "react-day-picker";
5
+ import { cn as e } from "../../lib/utils.js";
6
+ import { buttonVariants as d } from "./button.js";
7
+ function y({
8
+ className: n,
9
+ classNames: s,
10
+ showOutsideDays: i = !0,
11
+ ...o
12
+ }) {
13
+ return /* @__PURE__ */ r.jsx(
14
+ m,
15
+ {
16
+ showOutsideDays: i,
17
+ className: e("p-3", n),
18
+ classNames: {
19
+ months: "flex flex-col sm:flex-row gap-2",
20
+ month: "flex flex-col gap-4",
21
+ caption: "flex justify-center pt-1 relative items-center w-full",
22
+ caption_label: "text-sm font-medium",
23
+ nav: "flex items-center gap-1",
24
+ nav_button: e(
25
+ d({ variant: "outline" }),
26
+ "size-7 bg-transparent p-0 opacity-50 hover:opacity-100"
27
+ ),
28
+ nav_button_previous: "absolute left-1",
29
+ nav_button_next: "absolute right-1",
30
+ table: "w-full border-collapse space-x-1",
31
+ head_row: "flex",
32
+ head_cell: "text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",
33
+ row: "flex w-full mt-2",
34
+ cell: e(
35
+ "relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-range-end)]:rounded-r-md",
36
+ o.mode === "range" ? "[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md" : "[&:has([aria-selected])]:rounded-md"
37
+ ),
38
+ day: e(
39
+ d({ variant: "ghost" }),
40
+ "size-8 p-0 font-normal aria-selected:opacity-100"
41
+ ),
42
+ day_range_start: "day-range-start aria-selected:bg-primary aria-selected:text-primary-foreground",
43
+ day_range_end: "day-range-end aria-selected:bg-primary aria-selected:text-primary-foreground",
44
+ day_selected: "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",
45
+ day_today: "bg-accent text-accent-foreground",
46
+ day_outside: "day-outside text-muted-foreground aria-selected:text-muted-foreground",
47
+ day_disabled: "text-muted-foreground opacity-50",
48
+ day_range_middle: "aria-selected:bg-accent aria-selected:text-accent-foreground",
49
+ day_hidden: "invisible",
50
+ ...s
51
+ },
52
+ components: {
53
+ IconLeft: ({ className: a, ...t }) => /* @__PURE__ */ r.jsx(c, { className: e("size-4", a), ...t }),
54
+ IconRight: ({ className: a, ...t }) => /* @__PURE__ */ r.jsx(l, { className: e("size-4", a), ...t })
55
+ },
56
+ ...o
57
+ }
58
+ );
59
+ }
60
+ export {
61
+ y as Calendar
62
+ };
@@ -0,0 +1,77 @@
1
+ "use client";
2
+ import { j as a } from "../../_virtual/jsx-runtime.js";
3
+ import { cn as e } from "../../lib/utils.js";
4
+ function s({ className: t, ...r }) {
5
+ return /* @__PURE__ */ a.jsx(
6
+ "div",
7
+ {
8
+ "data-slot": "card",
9
+ className: e(
10
+ "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
11
+ t
12
+ ),
13
+ ...r
14
+ }
15
+ );
16
+ }
17
+ function n({ className: t, ...r }) {
18
+ return /* @__PURE__ */ a.jsx(
19
+ "div",
20
+ {
21
+ "data-slot": "card-header",
22
+ className: e(
23
+ "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
24
+ t
25
+ ),
26
+ ...r
27
+ }
28
+ );
29
+ }
30
+ function c({ className: t, ...r }) {
31
+ return /* @__PURE__ */ a.jsx(
32
+ "div",
33
+ {
34
+ "data-slot": "card-title",
35
+ className: e("leading-none font-semibold", t),
36
+ ...r
37
+ }
38
+ );
39
+ }
40
+ function i({ className: t, ...r }) {
41
+ return /* @__PURE__ */ a.jsx(
42
+ "div",
43
+ {
44
+ "data-slot": "card-description",
45
+ className: e("text-muted-foreground text-sm", t),
46
+ ...r
47
+ }
48
+ );
49
+ }
50
+ function l({ className: t, ...r }) {
51
+ return /* @__PURE__ */ a.jsx(
52
+ "div",
53
+ {
54
+ "data-slot": "card-content",
55
+ className: e("px-6", t),
56
+ ...r
57
+ }
58
+ );
59
+ }
60
+ function u({ className: t, ...r }) {
61
+ return /* @__PURE__ */ a.jsx(
62
+ "div",
63
+ {
64
+ "data-slot": "card-footer",
65
+ className: e("flex items-center px-6 [.border-t]:pt-6", t),
66
+ ...r
67
+ }
68
+ );
69
+ }
70
+ export {
71
+ s as Card,
72
+ l as CardContent,
73
+ i as CardDescription,
74
+ u as CardFooter,
75
+ n as CardHeader,
76
+ c as CardTitle
77
+ };
@@ -0,0 +1,178 @@
1
+ "use client";
2
+ import { j as l } from "../../_virtual/jsx-runtime.js";
3
+ import * as s from "react";
4
+ import P from "embla-carousel-react";
5
+ import { ArrowLeft as k, ArrowRight as z } from "lucide-react";
6
+ import { cn as x } from "../../lib/utils.js";
7
+ import { Button as h } from "./button.js";
8
+ const v = s.createContext(null);
9
+ function d() {
10
+ const o = s.useContext(v);
11
+ if (!o)
12
+ throw new Error("useCarousel must be used within a <Carousel />");
13
+ return o;
14
+ }
15
+ function A({
16
+ orientation: o = "horizontal",
17
+ opts: r,
18
+ setApi: t,
19
+ plugins: a,
20
+ className: c,
21
+ children: i,
22
+ ...u
23
+ }) {
24
+ const [N, e] = P(
25
+ {
26
+ ...r,
27
+ axis: o === "horizontal" ? "x" : "y"
28
+ },
29
+ a
30
+ ), [j, b] = s.useState(!1), [w, S] = s.useState(!1), f = s.useCallback((n) => {
31
+ n && (b(n.canScrollPrev()), S(n.canScrollNext()));
32
+ }, []), m = s.useCallback(() => {
33
+ e == null || e.scrollPrev();
34
+ }, [e]), C = s.useCallback(() => {
35
+ e == null || e.scrollNext();
36
+ }, [e]), y = s.useCallback(
37
+ (n) => {
38
+ n.key === "ArrowLeft" ? (n.preventDefault(), m()) : n.key === "ArrowRight" && (n.preventDefault(), C());
39
+ },
40
+ [m, C]
41
+ );
42
+ return s.useEffect(() => {
43
+ !e || !t || t(e);
44
+ }, [e, t]), s.useEffect(() => {
45
+ if (e)
46
+ return f(e), e.on("reInit", f), e.on("select", f), () => {
47
+ e == null || e.off("select", f);
48
+ };
49
+ }, [e, f]), /* @__PURE__ */ l.jsx(
50
+ v.Provider,
51
+ {
52
+ value: {
53
+ carouselRef: N,
54
+ api: e,
55
+ opts: r,
56
+ orientation: o || ((r == null ? void 0 : r.axis) === "y" ? "vertical" : "horizontal"),
57
+ scrollPrev: m,
58
+ scrollNext: C,
59
+ canScrollPrev: j,
60
+ canScrollNext: w
61
+ },
62
+ children: /* @__PURE__ */ l.jsx(
63
+ "div",
64
+ {
65
+ onKeyDownCapture: y,
66
+ className: x("relative", c),
67
+ role: "region",
68
+ "aria-roledescription": "carousel",
69
+ "data-slot": "carousel",
70
+ ...u,
71
+ children: i
72
+ }
73
+ )
74
+ }
75
+ );
76
+ }
77
+ function I({ className: o, ...r }) {
78
+ const { carouselRef: t, orientation: a } = d();
79
+ return /* @__PURE__ */ l.jsx(
80
+ "div",
81
+ {
82
+ ref: t,
83
+ className: "overflow-hidden",
84
+ "data-slot": "carousel-content",
85
+ children: /* @__PURE__ */ l.jsx(
86
+ "div",
87
+ {
88
+ className: x(
89
+ "flex",
90
+ a === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
91
+ o
92
+ ),
93
+ ...r
94
+ }
95
+ )
96
+ }
97
+ );
98
+ }
99
+ function K({ className: o, ...r }) {
100
+ const { orientation: t } = d();
101
+ return /* @__PURE__ */ l.jsx(
102
+ "div",
103
+ {
104
+ role: "group",
105
+ "aria-roledescription": "slide",
106
+ "data-slot": "carousel-item",
107
+ className: x(
108
+ "min-w-0 shrink-0 grow-0 basis-full",
109
+ t === "horizontal" ? "pl-4" : "pt-4",
110
+ o
111
+ ),
112
+ ...r
113
+ }
114
+ );
115
+ }
116
+ function L({
117
+ className: o,
118
+ variant: r = "outline",
119
+ size: t = "icon",
120
+ ...a
121
+ }) {
122
+ const { orientation: c, scrollPrev: i, canScrollPrev: u } = d();
123
+ return /* @__PURE__ */ l.jsxs(
124
+ h,
125
+ {
126
+ "data-slot": "carousel-previous",
127
+ variant: r,
128
+ size: t,
129
+ className: x(
130
+ "absolute size-8 rounded-full",
131
+ c === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
132
+ o
133
+ ),
134
+ disabled: !u,
135
+ onClick: i,
136
+ ...a,
137
+ children: [
138
+ /* @__PURE__ */ l.jsx(k, {}),
139
+ /* @__PURE__ */ l.jsx("span", { className: "sr-only", children: "Previous slide" })
140
+ ]
141
+ }
142
+ );
143
+ }
144
+ function B({
145
+ className: o,
146
+ variant: r = "outline",
147
+ size: t = "icon",
148
+ ...a
149
+ }) {
150
+ const { orientation: c, scrollNext: i, canScrollNext: u } = d();
151
+ return /* @__PURE__ */ l.jsxs(
152
+ h,
153
+ {
154
+ "data-slot": "carousel-next",
155
+ variant: r,
156
+ size: t,
157
+ className: x(
158
+ "absolute size-8 rounded-full",
159
+ c === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
160
+ o
161
+ ),
162
+ disabled: !u,
163
+ onClick: i,
164
+ ...a,
165
+ children: [
166
+ /* @__PURE__ */ l.jsx(z, {}),
167
+ /* @__PURE__ */ l.jsx("span", { className: "sr-only", children: "Next slide" })
168
+ ]
169
+ }
170
+ );
171
+ }
172
+ export {
173
+ A as Carousel,
174
+ I as CarouselContent,
175
+ K as CarouselItem,
176
+ B as CarouselNext,
177
+ L as CarouselPrevious
178
+ };
@@ -0,0 +1,216 @@
1
+ "use client";
2
+ import { j as t } from "../../_virtual/jsx-runtime.js";
3
+ import * as j from "react";
4
+ import * as _ from "recharts";
5
+ import { cn as u } from "../../lib/utils.js";
6
+ const P = { light: "", dark: ".dark" }, C = j.createContext(null);
7
+ function N() {
8
+ const c = j.useContext(C);
9
+ if (!c)
10
+ throw new Error("useChart must be used within a <ChartContainer />");
11
+ return c;
12
+ }
13
+ function R({
14
+ id: c,
15
+ className: e,
16
+ children: s,
17
+ config: n,
18
+ ...a
19
+ }) {
20
+ const h = j.useId(), o = `chart-${c || h.replace(/:/g, "")}`;
21
+ return /* @__PURE__ */ t.jsx(C.Provider, { value: { config: n }, children: /* @__PURE__ */ t.jsxs(
22
+ "div",
23
+ {
24
+ "data-slot": "chart",
25
+ "data-chart": o,
26
+ className: u(
27
+ "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",
28
+ e
29
+ ),
30
+ ...a,
31
+ children: [
32
+ /* @__PURE__ */ t.jsx(T, { id: o, config: n }),
33
+ /* @__PURE__ */ t.jsx(_.ResponsiveContainer, { children: s })
34
+ ]
35
+ }
36
+ ) });
37
+ }
38
+ const T = ({ id: c, config: e }) => {
39
+ const s = Object.entries(e).filter(
40
+ ([, n]) => n.theme || n.color
41
+ );
42
+ return s.length ? /* @__PURE__ */ t.jsx(
43
+ "style",
44
+ {
45
+ dangerouslySetInnerHTML: {
46
+ __html: Object.entries(P).map(
47
+ ([n, a]) => `
48
+ ${a} [data-chart=${c}] {
49
+ ${s.map(([h, o]) => {
50
+ var l;
51
+ const i = ((l = o.theme) == null ? void 0 : l[n]) || o.color;
52
+ return i ? ` --color-${h}: ${i};` : null;
53
+ }).join(`
54
+ `)}
55
+ }
56
+ `
57
+ ).join(`
58
+ `)
59
+ }
60
+ }
61
+ ) : null;
62
+ }, S = _.Tooltip;
63
+ function K({
64
+ active: c,
65
+ payload: e,
66
+ className: s,
67
+ indicator: n = "dot",
68
+ hideLabel: a = !1,
69
+ hideIndicator: h = !1,
70
+ label: o,
71
+ labelFormatter: i,
72
+ labelClassName: l,
73
+ formatter: k,
74
+ color: $,
75
+ nameKey: L,
76
+ labelKey: m
77
+ }) {
78
+ const { config: g } = N(), w = j.useMemo(() => {
79
+ var x;
80
+ if (a || !(e != null && e.length))
81
+ return null;
82
+ const [r] = e, b = `${m || (r == null ? void 0 : r.dataKey) || (r == null ? void 0 : r.name) || "value"}`, f = p(g, r, b), d = !m && typeof o == "string" ? ((x = g[o]) == null ? void 0 : x.label) || o : f == null ? void 0 : f.label;
83
+ return i ? /* @__PURE__ */ t.jsx("div", { className: u("font-medium", l), children: i(d, e) }) : d ? /* @__PURE__ */ t.jsx("div", { className: u("font-medium", l), children: d }) : null;
84
+ }, [
85
+ o,
86
+ i,
87
+ e,
88
+ a,
89
+ l,
90
+ g,
91
+ m
92
+ ]);
93
+ if (!c || !(e != null && e.length))
94
+ return null;
95
+ const v = e.length === 1 && n !== "dot";
96
+ return /* @__PURE__ */ t.jsxs(
97
+ "div",
98
+ {
99
+ className: u(
100
+ "border-border/50 bg-background grid min-w-[8rem] items-start gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl",
101
+ s
102
+ ),
103
+ children: [
104
+ v ? null : w,
105
+ /* @__PURE__ */ t.jsx("div", { className: "grid gap-1.5", children: e.map((r, b) => {
106
+ const f = `${L || r.name || r.dataKey || "value"}`, d = p(g, r, f), x = $ || r.payload.fill || r.color;
107
+ return /* @__PURE__ */ t.jsx(
108
+ "div",
109
+ {
110
+ className: u(
111
+ "[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5",
112
+ n === "dot" && "items-center"
113
+ ),
114
+ children: k && (r == null ? void 0 : r.value) !== void 0 && r.name ? k(r.value, r.name, r, b, r.payload) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
115
+ d != null && d.icon ? /* @__PURE__ */ t.jsx(d.icon, {}) : !h && /* @__PURE__ */ t.jsx(
116
+ "div",
117
+ {
118
+ className: u(
119
+ "shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)",
120
+ {
121
+ "h-2.5 w-2.5": n === "dot",
122
+ "w-1": n === "line",
123
+ "w-0 border-[1.5px] border-dashed bg-transparent": n === "dashed",
124
+ "my-0.5": v && n === "dashed"
125
+ }
126
+ ),
127
+ style: {
128
+ "--color-bg": x,
129
+ "--color-border": x
130
+ }
131
+ }
132
+ ),
133
+ /* @__PURE__ */ t.jsxs(
134
+ "div",
135
+ {
136
+ className: u(
137
+ "flex flex-1 justify-between leading-none",
138
+ v ? "items-end" : "items-center"
139
+ ),
140
+ children: [
141
+ /* @__PURE__ */ t.jsxs("div", { className: "grid gap-1.5", children: [
142
+ v ? w : null,
143
+ /* @__PURE__ */ t.jsx("span", { className: "text-muted-foreground", children: (d == null ? void 0 : d.label) || r.name })
144
+ ] }),
145
+ r.value && /* @__PURE__ */ t.jsx("span", { className: "text-foreground font-mono font-medium tabular-nums", children: r.value.toLocaleString() })
146
+ ]
147
+ }
148
+ )
149
+ ] })
150
+ },
151
+ r.dataKey
152
+ );
153
+ }) })
154
+ ]
155
+ }
156
+ );
157
+ }
158
+ const M = _.Legend;
159
+ function H({
160
+ className: c,
161
+ hideIcon: e = !1,
162
+ payload: s,
163
+ verticalAlign: n = "bottom",
164
+ nameKey: a
165
+ }) {
166
+ const { config: h } = N();
167
+ return s != null && s.length ? /* @__PURE__ */ t.jsx(
168
+ "div",
169
+ {
170
+ className: u(
171
+ "flex items-center justify-center gap-4",
172
+ n === "top" ? "pb-3" : "pt-3",
173
+ c
174
+ ),
175
+ children: s.map((o) => {
176
+ const i = `${a || o.dataKey || "value"}`, l = p(h, o, i);
177
+ return /* @__PURE__ */ t.jsxs(
178
+ "div",
179
+ {
180
+ className: u(
181
+ "[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"
182
+ ),
183
+ children: [
184
+ l != null && l.icon && !e ? /* @__PURE__ */ t.jsx(l.icon, {}) : /* @__PURE__ */ t.jsx(
185
+ "div",
186
+ {
187
+ className: "h-2 w-2 shrink-0 rounded-[2px]",
188
+ style: {
189
+ backgroundColor: o.color
190
+ }
191
+ }
192
+ ),
193
+ l == null ? void 0 : l.label
194
+ ]
195
+ },
196
+ o.value
197
+ );
198
+ })
199
+ }
200
+ ) : null;
201
+ }
202
+ function p(c, e, s) {
203
+ if (typeof e != "object" || e === null)
204
+ return;
205
+ const n = "payload" in e && typeof e.payload == "object" && e.payload !== null ? e.payload : void 0;
206
+ let a = s;
207
+ return s in e && typeof e[s] == "string" ? a = e[s] : n && s in n && typeof n[s] == "string" && (a = n[s]), a in c ? c[a] : c[s];
208
+ }
209
+ export {
210
+ R as ChartContainer,
211
+ M as ChartLegend,
212
+ H as ChartLegendContent,
213
+ T as ChartStyle,
214
+ S as ChartTooltip,
215
+ K as ChartTooltipContent
216
+ };