laif-ds 0.1.2 → 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 -8
  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 -43
  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-B3zhPw_i.js +0 -6376
  260. package/dist/index-CX8WDA1V.js +0 -71798
  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/laif-ds.es.js +0 -238
  280. package/dist/laif-ds.umd.js +0 -8032
  281. package/dist/laserwave-6a00oqik.js +0 -4
  282. package/dist/latex-LfGCYGw5.js +0 -8
  283. package/dist/lean-CYSet4vs.js +0 -6
  284. package/dist/less-DQA4v-Nm.js +0 -6
  285. package/dist/light-plus-CZuVqSLX.js +0 -4
  286. package/dist/liquid-CvufO3kO.js +0 -14
  287. package/dist/log-D2eRfqDn.js +0 -6
  288. package/dist/logo-QEAtGWZ9.js +0 -6
  289. package/dist/lua-BVfhNLDr.js +0 -8
  290. package/dist/luau-BjYGiqID.js +0 -6
  291. package/dist/make-BjuHP00g.js +0 -6
  292. package/dist/markdown-B6guhLWd.js +0 -6
  293. package/dist/marko-CHlMS8w5.js +0 -14
  294. package/dist/material-theme-D6KBX41T.js +0 -4
  295. package/dist/material-theme-darker-CkRroheE.js +0 -4
  296. package/dist/material-theme-lighter-BUBw43Yz.js +0 -4
  297. package/dist/material-theme-ocean-ClGX14Ja.js +0 -4
  298. package/dist/material-theme-palenight-C1RVm8K1.js +0 -4
  299. package/dist/matlab-BpQlIJiw.js +0 -6
  300. package/dist/mdc-4K6B6lHG.js +0 -12
  301. package/dist/mdx-DIoECIFU.js +0 -6
  302. package/dist/mermaid-BZ7WHNIe.js +0 -6
  303. package/dist/min-dark-C7ak0t6c.js +0 -4
  304. package/dist/min-light-CKFxVcPp.js +0 -4
  305. package/dist/mipsasm-DusDYkFc.js +0 -6
  306. package/dist/mojo-CY9jaezJ.js +0 -6
  307. package/dist/monokai-C1KBYcO0.js +0 -4
  308. package/dist/move-ChphFumd.js +0 -6
  309. package/dist/narrat-Dz4d7OmN.js +0 -6
  310. package/dist/nextflow-DW0Yq9a2.js +0 -6
  311. package/dist/nginx-Can2eAjw.js +0 -8
  312. package/dist/night-owl-Bm2rzalh.js +0 -4
  313. package/dist/nim-B3r2RtQZ.js +0 -20
  314. package/dist/nix-Cg5uV_xg.js +0 -6
  315. package/dist/nord-CC5OiUXg.js +0 -4
  316. package/dist/nushell-BfRnzRWn.js +0 -6
  317. package/dist/objective-c-BGg9R27G.js +0 -6
  318. package/dist/objective-cpp-CJ3y3V_5.js +0 -6
  319. package/dist/ocaml-BZLsfx_o.js +0 -6
  320. package/dist/one-dark-pro-D7-kP8fv.js +0 -4
  321. package/dist/one-light-D9sNaUtq.js +0 -4
  322. package/dist/pascal-l2bqd7Dz.js +0 -6
  323. package/dist/perl-DaMQyPwp.js +0 -16
  324. package/dist/php-BL3EfPBi.js +0 -18
  325. package/dist/plastic-CSTz3KZp.js +0 -4
  326. package/dist/plsql-oVq_K_wH.js +0 -6
  327. package/dist/po-5jaeIyVd.js +0 -6
  328. package/dist/poimandres-C-VADXHD.js +0 -4
  329. package/dist/polar-wcLp8ci7.js +0 -6
  330. package/dist/postcss-BZ3MNRIJ.js +0 -6
  331. package/dist/powerquery-CgRa2XRw.js +0 -6
  332. package/dist/powershell-Diwyv8Eh.js +0 -6
  333. package/dist/prisma-COL_v1x4.js +0 -6
  334. package/dist/prolog-CuvJOxqT.js +0 -6
  335. package/dist/proto-o9HLmF90.js +0 -6
  336. package/dist/pug-HKe4Luo3.js +0 -12
  337. package/dist/puppet-wpGOnQp5.js +0 -6
  338. package/dist/purescript-B_1NgE2N.js +0 -6
  339. package/dist/python-xYxLFJY-.js +0 -6
  340. package/dist/qml-FlMIyjU9.js +0 -8
  341. package/dist/qmldir-BInDYbpo.js +0 -6
  342. package/dist/qss-D-h4NdUG.js +0 -6
  343. package/dist/r-F-9I-ITZ.js +0 -6
  344. package/dist/racket-BoD1TBFT.js +0 -6
  345. package/dist/raku-IaYcw19m.js +0 -6
  346. package/dist/razor-CeqqNtyB.js +0 -10
  347. package/dist/red-7y8PH7HH.js +0 -4
  348. package/dist/reg-CMUdAgIP.js +0 -6
  349. package/dist/regexp-GiFkbxS-.js +0 -6
  350. package/dist/rel-BaRn3QX7.js +0 -6
  351. package/dist/riscv-B9V3SsvW.js +0 -6
  352. package/dist/rose-pine-DhT-HZE9.js +0 -4
  353. package/dist/rose-pine-dawn-DiCjL2i4.js +0 -4
  354. package/dist/rose-pine-moon-BNmGHlcn.js +0 -4
  355. package/dist/rst-C3D6-dqL.js +0 -22
  356. package/dist/ruby-DcPLUUK3.js +0 -30
  357. package/dist/rust-Pc7DCsZD.js +0 -6
  358. package/dist/sas-tDSYjXcL.js +0 -8
  359. package/dist/sass-iCyS6eP9.js +0 -6
  360. package/dist/scala-Cly-fENF.js +0 -6
  361. package/dist/scheme-Zi24oEYu.js +0 -6
  362. package/dist/scss-DhHc4lxB.js +0 -8
  363. package/dist/sdbl-BBamrXFL.js +0 -6
  364. package/dist/shaderlab-CvqEIoL0.js +0 -8
  365. package/dist/shellscript-Dn0-btNd.js +0 -6
  366. package/dist/shellsession-8OLo3sB6.js +0 -8
  367. package/dist/slack-dark-i7wN4OET.js +0 -4
  368. package/dist/slack-ochin-ndHf0LoP.js +0 -4
  369. package/dist/smalltalk-Cns31tKw.js +0 -6
  370. package/dist/snazzy-light-BlSJXAu4.js +0 -4
  371. package/dist/solarized-dark-UTmkh7lw.js +0 -4
  372. package/dist/solarized-light-BheCkDPT.js +0 -4
  373. package/dist/solidity-BG_k8fA_.js +0 -6
  374. package/dist/soy-EwHMOVPj.js +0 -8
  375. package/dist/sparql-DhuelBut.js +0 -8
  376. package/dist/splunk-CTqDjQdo.js +0 -6
  377. package/dist/sql-DCkt643-.js +0 -6
  378. package/dist/ssh-config-DHHGll-v.js +0 -6
  379. package/dist/stata-Dok6hMw0.js +0 -8
  380. package/dist/stylus-n_9f0QQ5.js +0 -6
  381. package/dist/svelte-01qw6Rxm.js +0 -14
  382. package/dist/swift-BAWqNR8A.js +0 -6
  383. package/dist/synthwave-84-NU3C_KFZ.js +0 -4
  384. package/dist/system-verilog-Cui-g-ut.js +0 -6
  385. package/dist/systemd-CsKYQIQK.js +0 -6
  386. package/dist/talonscript-D2dGh8FO.js +0 -6
  387. package/dist/tasl-D3W8HMV6.js +0 -6
  388. package/dist/tcl-2y0Fuc4S.js +0 -6
  389. package/dist/templ-Hmy8U0DD.js +0 -12
  390. package/dist/terraform-BGW6Oerf.js +0 -6
  391. package/dist/tex-mHs7a43s.js +0 -8
  392. package/dist/tokyo-night-LhP3hHhi.js +0 -4
  393. package/dist/toml-CQSfOn0e.js +0 -6
  394. package/dist/ts-tags-DYZ4SGcN.js +0 -41
  395. package/dist/tsv-BtvSkaG0.js +0 -6
  396. package/dist/tsx-DiGsgWT8.js +0 -6
  397. package/dist/turtle-BJ2wmjPc.js +0 -6
  398. package/dist/twig-BmytkGQV.js +0 -18
  399. package/dist/typescript-buWNZFwO.js +0 -6
  400. package/dist/typespec-bLbdsxJL.js +0 -6
  401. package/dist/typst-Y9_SmXTs.js +0 -6
  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,115 @@
1
+ "use client";
2
+ import { j as a } from "../../_virtual/jsx-runtime.js";
3
+ import { cn as o } from "../../lib/utils.js";
4
+ function s({ className: t, ...e }) {
5
+ return /* @__PURE__ */ a.jsx(
6
+ "div",
7
+ {
8
+ "data-slot": "table-container",
9
+ className: "relative w-full overflow-x-auto",
10
+ children: /* @__PURE__ */ a.jsx(
11
+ "table",
12
+ {
13
+ "data-slot": "table",
14
+ className: o("w-full caption-bottom text-sm", t),
15
+ ...e
16
+ }
17
+ )
18
+ }
19
+ );
20
+ }
21
+ function n({ className: t, ...e }) {
22
+ return /* @__PURE__ */ a.jsx(
23
+ "thead",
24
+ {
25
+ "data-slot": "table-header",
26
+ className: o("[&_tr]:border-b", t),
27
+ ...e
28
+ }
29
+ );
30
+ }
31
+ function d({ className: t, ...e }) {
32
+ return /* @__PURE__ */ a.jsx(
33
+ "tbody",
34
+ {
35
+ "data-slot": "table-body",
36
+ className: o("[&_tr:last-child]:border-0", t),
37
+ ...e
38
+ }
39
+ );
40
+ }
41
+ function c({ className: t, ...e }) {
42
+ return /* @__PURE__ */ a.jsx(
43
+ "tfoot",
44
+ {
45
+ "data-slot": "table-footer",
46
+ className: o(
47
+ "bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",
48
+ t
49
+ ),
50
+ ...e
51
+ }
52
+ );
53
+ }
54
+ function b({ className: t, ...e }) {
55
+ return /* @__PURE__ */ a.jsx(
56
+ "tr",
57
+ {
58
+ "data-slot": "table-row",
59
+ className: o(
60
+ "hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",
61
+ t
62
+ ),
63
+ ...e
64
+ }
65
+ );
66
+ }
67
+ function i({ className: t, ...e }) {
68
+ return /* @__PURE__ */ a.jsx(
69
+ "th",
70
+ {
71
+ "data-slot": "table-head",
72
+ className: o(
73
+ "text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
74
+ t
75
+ ),
76
+ ...e
77
+ }
78
+ );
79
+ }
80
+ function u({ className: t, ...e }) {
81
+ return /* @__PURE__ */ a.jsx(
82
+ "td",
83
+ {
84
+ "data-slot": "table-cell",
85
+ className: o(
86
+ "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
87
+ t
88
+ ),
89
+ ...e
90
+ }
91
+ );
92
+ }
93
+ function m({
94
+ className: t,
95
+ ...e
96
+ }) {
97
+ return /* @__PURE__ */ a.jsx(
98
+ "caption",
99
+ {
100
+ "data-slot": "table-caption",
101
+ className: o("text-muted-foreground mt-4 text-sm", t),
102
+ ...e
103
+ }
104
+ );
105
+ }
106
+ export {
107
+ s as Table,
108
+ d as TableBody,
109
+ m as TableCaption,
110
+ u as TableCell,
111
+ c as TableFooter,
112
+ i as TableHead,
113
+ n as TableHeader,
114
+ b as TableRow
115
+ };
@@ -0,0 +1,68 @@
1
+ "use client";
2
+ import { j as s } from "../../_virtual/jsx-runtime.js";
3
+ import * as a from "@radix-ui/react-tabs";
4
+ import { cn as i } from "../../lib/utils.js";
5
+ function o({
6
+ className: t,
7
+ ...e
8
+ }) {
9
+ return /* @__PURE__ */ s.jsx(
10
+ a.Root,
11
+ {
12
+ "data-slot": "tabs",
13
+ className: i("flex flex-col gap-2", t),
14
+ ...e
15
+ }
16
+ );
17
+ }
18
+ function d({
19
+ className: t,
20
+ ...e
21
+ }) {
22
+ return /* @__PURE__ */ s.jsx(
23
+ a.List,
24
+ {
25
+ "data-slot": "tabs-list",
26
+ className: i(
27
+ "bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",
28
+ t
29
+ ),
30
+ ...e
31
+ }
32
+ );
33
+ }
34
+ function c({
35
+ className: t,
36
+ ...e
37
+ }) {
38
+ return /* @__PURE__ */ s.jsx(
39
+ a.Trigger,
40
+ {
41
+ "data-slot": "tabs-trigger",
42
+ className: i(
43
+ "data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
44
+ t
45
+ ),
46
+ ...e
47
+ }
48
+ );
49
+ }
50
+ function l({
51
+ className: t,
52
+ ...e
53
+ }) {
54
+ return /* @__PURE__ */ s.jsx(
55
+ a.Content,
56
+ {
57
+ "data-slot": "tabs-content",
58
+ className: i("flex-1 outline-none", t),
59
+ ...e
60
+ }
61
+ );
62
+ }
63
+ export {
64
+ o as Tabs,
65
+ l as TabsContent,
66
+ d as TabsList,
67
+ c as TabsTrigger
68
+ };
@@ -0,0 +1,19 @@
1
+ "use client";
2
+ import { j as i } from "../../_virtual/jsx-runtime.js";
3
+ import { cn as t } from "../../lib/utils.js";
4
+ function n({ className: e, ...r }) {
5
+ return /* @__PURE__ */ i.jsx(
6
+ "textarea",
7
+ {
8
+ "data-slot": "textarea",
9
+ className: t(
10
+ "border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
11
+ e
12
+ ),
13
+ ...r
14
+ }
15
+ );
16
+ }
17
+ export {
18
+ n as Textarea
19
+ };
@@ -0,0 +1,63 @@
1
+ "use client";
2
+ import { j as n } from "../../_virtual/jsx-runtime.js";
3
+ import * as s from "react";
4
+ import * as d from "@radix-ui/react-toggle-group";
5
+ import { cn as l } from "../../lib/utils.js";
6
+ import { toggleVariants as m } from "./toggle.js";
7
+ const u = s.createContext({
8
+ size: "default",
9
+ variant: "default"
10
+ });
11
+ function p({
12
+ className: a,
13
+ variant: o,
14
+ size: t,
15
+ children: e,
16
+ ...i
17
+ }) {
18
+ return /* @__PURE__ */ n.jsx(
19
+ d.Root,
20
+ {
21
+ "data-slot": "toggle-group",
22
+ "data-variant": o,
23
+ "data-size": t,
24
+ className: l(
25
+ "group/toggle-group flex w-fit items-center rounded-md data-[variant=outline]:shadow-xs",
26
+ a
27
+ ),
28
+ ...i,
29
+ children: /* @__PURE__ */ n.jsx(u.Provider, { value: { variant: o, size: t }, children: e })
30
+ }
31
+ );
32
+ }
33
+ function x({
34
+ className: a,
35
+ children: o,
36
+ variant: t,
37
+ size: e,
38
+ ...i
39
+ }) {
40
+ const r = s.useContext(u);
41
+ return /* @__PURE__ */ n.jsx(
42
+ d.Item,
43
+ {
44
+ "data-slot": "toggle-group-item",
45
+ "data-variant": r.variant || t,
46
+ "data-size": r.size || e,
47
+ className: l(
48
+ m({
49
+ variant: r.variant || t,
50
+ size: r.size || e
51
+ }),
52
+ "min-w-0 flex-1 shrink-0 rounded-none shadow-none first:rounded-l-md last:rounded-r-md focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first:border-l",
53
+ a
54
+ ),
55
+ ...i,
56
+ children: o
57
+ }
58
+ );
59
+ }
60
+ export {
61
+ p as ToggleGroup,
62
+ x as ToggleGroupItem
63
+ };
@@ -0,0 +1,44 @@
1
+ "use client";
2
+ import { j as n } from "../../_virtual/jsx-runtime.js";
3
+ import * as a from "@radix-ui/react-toggle";
4
+ import { cva as o } from "class-variance-authority";
5
+ import { cn as s } from "../../lib/utils.js";
6
+ const d = o(
7
+ "inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap",
8
+ {
9
+ variants: {
10
+ variant: {
11
+ default: "bg-transparent",
12
+ outline: "border border-input bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground"
13
+ },
14
+ size: {
15
+ default: "h-9 px-2 min-w-9",
16
+ sm: "h-8 px-1.5 min-w-8",
17
+ lg: "h-10 px-2.5 min-w-10"
18
+ }
19
+ },
20
+ defaultVariants: {
21
+ variant: "default",
22
+ size: "default"
23
+ }
24
+ }
25
+ );
26
+ function u({
27
+ className: e,
28
+ variant: t,
29
+ size: i,
30
+ ...r
31
+ }) {
32
+ return /* @__PURE__ */ n.jsx(
33
+ a.Root,
34
+ {
35
+ "data-slot": "toggle",
36
+ className: s(d({ variant: t, size: i, className: e })),
37
+ ...r
38
+ }
39
+ );
40
+ }
41
+ export {
42
+ u as Toggle,
43
+ d as toggleVariants
44
+ };
@@ -0,0 +1,56 @@
1
+ "use client";
2
+ import { j as o } from "../../_virtual/jsx-runtime.js";
3
+ import * as i from "@radix-ui/react-tooltip";
4
+ import { cn as n } from "../../lib/utils.js";
5
+ function s({
6
+ delayDuration: t = 0,
7
+ ...r
8
+ }) {
9
+ return /* @__PURE__ */ o.jsx(
10
+ i.Provider,
11
+ {
12
+ "data-slot": "tooltip-provider",
13
+ delayDuration: t,
14
+ ...r
15
+ }
16
+ );
17
+ }
18
+ function m({
19
+ ...t
20
+ }) {
21
+ return /* @__PURE__ */ o.jsx(s, { children: /* @__PURE__ */ o.jsx(i.Root, { "data-slot": "tooltip", ...t }) });
22
+ }
23
+ function p({
24
+ ...t
25
+ }) {
26
+ return /* @__PURE__ */ o.jsx(i.Trigger, { "data-slot": "tooltip-trigger", ...t });
27
+ }
28
+ function c({
29
+ className: t,
30
+ sideOffset: r = 0,
31
+ children: e,
32
+ ...a
33
+ }) {
34
+ return /* @__PURE__ */ o.jsx(i.Portal, { children: /* @__PURE__ */ o.jsxs(
35
+ i.Content,
36
+ {
37
+ "data-slot": "tooltip-content",
38
+ sideOffset: r,
39
+ className: n(
40
+ "bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
41
+ t
42
+ ),
43
+ ...a,
44
+ children: [
45
+ e,
46
+ /* @__PURE__ */ o.jsx(i.Arrow, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
47
+ ]
48
+ }
49
+ ) });
50
+ }
51
+ export {
52
+ m as Tooltip,
53
+ c as TooltipContent,
54
+ s as TooltipProvider,
55
+ p as TooltipTrigger
56
+ };
@@ -0,0 +1,13 @@
1
+ "use client";
2
+ import { j as e } from "../../_virtual/jsx-runtime.js";
3
+ import { Dot as a } from "lucide-react";
4
+ function n() {
5
+ return /* @__PURE__ */ e.jsx("div", { className: "justify-left flex space-x-1", children: /* @__PURE__ */ e.jsx("div", { className: "rounded-lg bg-muted p-3", children: /* @__PURE__ */ e.jsxs("div", { className: "flex -space-x-2.5", children: [
6
+ /* @__PURE__ */ e.jsx(a, { className: "h-5 w-5 animate-typing-dot-bounce" }),
7
+ /* @__PURE__ */ e.jsx(a, { className: "h-5 w-5 animate-typing-dot-bounce [animation-delay:90ms]" }),
8
+ /* @__PURE__ */ e.jsx(a, { className: "h-5 w-5 animate-typing-dot-bounce [animation-delay:180ms]" })
9
+ ] }) }) });
10
+ }
11
+ export {
12
+ n as TypingIndicator
13
+ };
@@ -0,0 +1,55 @@
1
+ "use client";
2
+ import { useState as c, useRef as R, useEffect as m } from "react";
3
+ import { recordAudio as d } from "../lib/audio-utils.js";
4
+ function w({
5
+ transcribeAudio: s,
6
+ onTranscriptionComplete: a
7
+ }) {
8
+ const [g, i] = c(!1), [h, p] = c(!!s), [S, o] = c(!1), [v, f] = c(!1), [t, n] = c(null), u = R(null);
9
+ m(() => {
10
+ (async () => {
11
+ const r = !!(navigator.mediaDevices && navigator.mediaDevices.getUserMedia);
12
+ p(r && !!s);
13
+ })();
14
+ }, [s]);
15
+ const l = async () => {
16
+ o(!1), f(!0);
17
+ try {
18
+ d.stop();
19
+ const e = await u.current;
20
+ if (s) {
21
+ const r = await s(e);
22
+ a == null || a(r);
23
+ }
24
+ } catch (e) {
25
+ console.error("Error transcribing audio:", e);
26
+ } finally {
27
+ f(!1), i(!1), t && (t.getTracks().forEach((e) => e.stop()), n(null)), u.current = null;
28
+ }
29
+ };
30
+ return {
31
+ isListening: g,
32
+ isSpeechSupported: h,
33
+ isRecording: S,
34
+ isTranscribing: v,
35
+ audioStream: t,
36
+ toggleListening: async () => {
37
+ if (g)
38
+ await l();
39
+ else
40
+ try {
41
+ i(!0), o(!0);
42
+ const e = await navigator.mediaDevices.getUserMedia({
43
+ audio: !0
44
+ });
45
+ n(e), u.current = d(e);
46
+ } catch (e) {
47
+ console.error("Error recording audio:", e), i(!1), o(!1), t && (t.getTracks().forEach((r) => r.stop()), n(null));
48
+ }
49
+ },
50
+ stopRecording: l
51
+ };
52
+ }
53
+ export {
54
+ w as useAudioRecording
55
+ };
@@ -0,0 +1,37 @@
1
+ "use client";
2
+ import { useRef as l, useState as h, useEffect as s } from "react";
3
+ const H = 50, m = 10;
4
+ function D(u) {
5
+ const e = l(null), t = l(null), [n, r] = h(!0), c = () => {
6
+ typeof window > "u" || e.current && (e.current.scrollTop = e.current.scrollHeight);
7
+ }, i = () => {
8
+ if (!(typeof window > "u") && e.current) {
9
+ const { scrollTop: o, scrollHeight: d, clientHeight: p } = e.current, S = Math.abs(
10
+ d - o - p
11
+ ), a = t.current ? o < t.current : !1, T = t.current ? t.current - o : 0;
12
+ if (a && T > m)
13
+ r(!1);
14
+ else {
15
+ const w = S < H;
16
+ r(w);
17
+ }
18
+ t.current = o;
19
+ }
20
+ }, f = () => {
21
+ typeof window > "u" || r(!1);
22
+ };
23
+ return s(() => {
24
+ typeof window > "u" || e.current && (t.current = e.current.scrollTop);
25
+ }, []), s(() => {
26
+ typeof window > "u" || n && c();
27
+ }, u), {
28
+ containerRef: e,
29
+ scrollToBottom: c,
30
+ handleScroll: i,
31
+ shouldAutoScroll: n,
32
+ handleTouchStart: f
33
+ };
34
+ }
35
+ export {
36
+ D as useAutoScroll
37
+ };
@@ -0,0 +1,22 @@
1
+ "use client";
2
+ import { useRef as f, useLayoutEffect as a } from "react";
3
+ const d = typeof window < "u" ? a : () => {
4
+ };
5
+ function m({
6
+ ref: t,
7
+ maxHeight: o = Number.MAX_SAFE_INTEGER,
8
+ borderWidth: u = 0,
9
+ dependencies: c
10
+ }) {
11
+ const n = f(null);
12
+ d(() => {
13
+ if (typeof window > "u" || !t.current) return;
14
+ const e = t.current, r = u * 2;
15
+ n.current === null && (n.current = e.scrollHeight - r), e.style.removeProperty("height");
16
+ const s = e.scrollHeight, i = Math.min(s, o), l = Math.max(i, n.current);
17
+ e.style.height = `${l + r}px`;
18
+ }, [o, t, ...c]);
19
+ }
20
+ export {
21
+ m as useAutosizeTextArea
22
+ };
@@ -0,0 +1,25 @@
1
+ "use client";
2
+ import { useState as l, useRef as u, useCallback as c } from "react";
3
+ import { toast as t } from "sonner";
4
+ function d({
5
+ text: o,
6
+ copyMessage: r = "Copied to clipboard!"
7
+ }) {
8
+ const [n, i] = l(!1), e = u(null), a = c(() => {
9
+ if (typeof navigator > "u" || !navigator.clipboard) {
10
+ t.error("Clipboard API not available in this environment.");
11
+ return;
12
+ }
13
+ navigator.clipboard.writeText(o).then(() => {
14
+ t.success(r), i(!0), e.current && (clearTimeout(e.current), e.current = null), e.current = setTimeout(() => {
15
+ i(!1);
16
+ }, 2e3);
17
+ }).catch(() => {
18
+ t.error("Failed to copy to clipboard.");
19
+ });
20
+ }, [o, r]);
21
+ return { isCopied: n, handleCopy: a };
22
+ }
23
+ export {
24
+ d as useCopyToClipboard
25
+ };
@@ -0,0 +1,16 @@
1
+ "use client";
2
+ import { useState as c, useEffect as r } from "react";
3
+ function i(e, t) {
4
+ const [u, o] = c(e);
5
+ return r(() => {
6
+ const n = setTimeout(() => {
7
+ o(e);
8
+ }, t);
9
+ return () => {
10
+ clearTimeout(n);
11
+ };
12
+ }, [e, t]), u;
13
+ }
14
+ export {
15
+ i as useDebounce
16
+ };
@@ -0,0 +1,17 @@
1
+ "use client";
2
+ import * as o from "react";
3
+ const e = 768;
4
+ function r() {
5
+ const [s, n] = o.useState(void 0);
6
+ return o.useEffect(() => {
7
+ if (typeof window > "u")
8
+ return;
9
+ const t = window.matchMedia(`(max-width: ${e - 1}px)`), i = () => {
10
+ n(window.innerWidth < e);
11
+ };
12
+ return t.addEventListener("change", i), n(window.innerWidth < e), () => t.removeEventListener("change", i);
13
+ }, []), !!s;
14
+ }
15
+ export {
16
+ r as useIsMobile
17
+ };