@copilotkit/react-ui 0.15.0-alpha.0 → 0.15.0-alpha.2

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 (328) hide show
  1. package/.turbo/turbo-build.log +196 -209
  2. package/CHANGELOG.md +27 -1
  3. package/dist/chunk-3M4HWSE7.mjs +61 -0
  4. package/dist/chunk-3M4HWSE7.mjs.map +1 -0
  5. package/dist/chunk-47SYBLI2.mjs +110 -0
  6. package/dist/chunk-47SYBLI2.mjs.map +1 -0
  7. package/dist/chunk-5O2MCJZ2.mjs +21 -0
  8. package/dist/chunk-5O2MCJZ2.mjs.map +1 -0
  9. package/dist/chunk-7YXG7D47.mjs +191 -0
  10. package/dist/chunk-7YXG7D47.mjs.map +1 -0
  11. package/dist/chunk-CKJXXQ2W.mjs +26 -0
  12. package/dist/chunk-CKJXXQ2W.mjs.map +1 -0
  13. package/dist/{chunk-6LAZQHEB.mjs → chunk-DPRH4HX3.mjs} +18 -43
  14. package/dist/chunk-DPRH4HX3.mjs.map +1 -0
  15. package/dist/chunk-GWGHQNRI.mjs +54 -0
  16. package/dist/chunk-GWGHQNRI.mjs.map +1 -0
  17. package/dist/chunk-JD7BAH7U.mjs +3 -0
  18. package/dist/chunk-KBGIPFXA.mjs +14 -0
  19. package/dist/chunk-KBGIPFXA.mjs.map +1 -0
  20. package/dist/chunk-NNVWLSYK.mjs +72 -0
  21. package/dist/chunk-NNVWLSYK.mjs.map +1 -0
  22. package/dist/chunk-NYLOXKYT.mjs +51 -0
  23. package/dist/chunk-NYLOXKYT.mjs.map +1 -0
  24. package/dist/chunk-OF66AL5Z.mjs +56 -0
  25. package/dist/chunk-OF66AL5Z.mjs.map +1 -0
  26. package/dist/chunk-P4GBO6MW.mjs +3 -0
  27. package/dist/chunk-UWPFPWAW.mjs +14 -0
  28. package/dist/chunk-UWPFPWAW.mjs.map +1 -0
  29. package/dist/chunk-WB3YULQ4.mjs +3 -0
  30. package/dist/chunk-WM6BS77F.mjs +53 -0
  31. package/dist/chunk-WM6BS77F.mjs.map +1 -0
  32. package/dist/chunk-Z34F3WLK.mjs +14 -0
  33. package/dist/chunk-Z34F3WLK.mjs.map +1 -0
  34. package/dist/components/chat/Button.d.ts +6 -0
  35. package/dist/components/chat/Button.js +38 -0
  36. package/dist/components/chat/Button.js.map +1 -0
  37. package/dist/components/chat/Button.mjs +6 -0
  38. package/dist/components/chat/Chat.d.ts +96 -0
  39. package/dist/components/chat/Chat.js +800 -0
  40. package/dist/components/chat/Chat.js.map +1 -0
  41. package/dist/components/chat/Chat.mjs +16 -0
  42. package/dist/components/chat/ChatContext.d.ts +105 -0
  43. package/dist/components/chat/ChatContext.js +220 -0
  44. package/dist/components/chat/ChatContext.js.map +1 -0
  45. package/dist/components/chat/ChatContext.mjs +5 -0
  46. package/dist/components/chat/CodeBlock.js +221 -0
  47. package/dist/components/chat/CodeBlock.js.map +1 -0
  48. package/dist/components/chat/CodeBlock.mjs +6 -0
  49. package/dist/components/chat/Header.d.ts +6 -0
  50. package/dist/components/chat/Header.js +31 -0
  51. package/dist/components/chat/Header.js.map +1 -0
  52. package/dist/components/chat/Header.mjs +6 -0
  53. package/dist/components/chat/Icons.d.ts +15 -0
  54. package/dist/components/chat/Icons.js +233 -0
  55. package/dist/components/chat/Icons.js.map +1 -0
  56. package/dist/components/chat/Icons.mjs +4 -0
  57. package/dist/components/chat/Input.d.ts +6 -0
  58. package/dist/components/chat/Input.js +111 -0
  59. package/dist/components/chat/Input.js.map +1 -0
  60. package/dist/components/chat/Input.mjs +7 -0
  61. package/dist/components/chat/Markdown.d.ts +6 -0
  62. package/dist/components/chat/Markdown.js +269 -0
  63. package/dist/components/chat/Markdown.js.map +1 -0
  64. package/dist/components/chat/Markdown.mjs +7 -0
  65. package/dist/components/chat/Messages.d.ts +6 -0
  66. package/dist/components/chat/Messages.js +331 -0
  67. package/dist/components/chat/Messages.js.map +1 -0
  68. package/dist/components/chat/Messages.mjs +9 -0
  69. package/dist/components/chat/Popup.d.ts +10 -0
  70. package/dist/components/chat/Popup.js +806 -0
  71. package/dist/components/chat/Popup.js.map +1 -0
  72. package/dist/components/chat/Popup.mjs +17 -0
  73. package/dist/components/chat/Response.d.ts +6 -0
  74. package/dist/components/chat/Response.js +31 -0
  75. package/dist/components/chat/Response.js.map +1 -0
  76. package/dist/components/chat/Response.mjs +6 -0
  77. package/dist/components/chat/Sidebar.d.ts +13 -0
  78. package/dist/components/chat/Sidebar.js +817 -0
  79. package/dist/components/chat/Sidebar.js.map +1 -0
  80. package/dist/components/chat/Sidebar.mjs +17 -0
  81. package/dist/components/chat/Textarea.d.ts +13 -0
  82. package/dist/components/chat/Textarea.js +55 -0
  83. package/dist/components/chat/Textarea.js.map +1 -0
  84. package/dist/components/chat/Textarea.mjs +4 -0
  85. package/dist/components/chat/Window.d.ts +6 -0
  86. package/dist/components/chat/Window.js +116 -0
  87. package/dist/components/chat/Window.js.map +1 -0
  88. package/dist/components/chat/Window.mjs +4 -0
  89. package/dist/components/chat/index.d.ts +8 -0
  90. package/dist/components/chat/index.js +824 -0
  91. package/dist/components/chat/index.js.map +1 -0
  92. package/dist/components/chat/index.mjs +20 -0
  93. package/dist/components/chat/props.d.ts +33 -0
  94. package/dist/components/chat/props.js +4 -0
  95. package/dist/components/chat/props.mjs +3 -0
  96. package/dist/components/index.d.ts +6 -7
  97. package/dist/components/index.js +824 -0
  98. package/dist/components/index.js.map +1 -0
  99. package/dist/components/index.mjs +17 -22
  100. package/dist/context/index.js +4 -0
  101. package/dist/hooks/index.js +4 -0
  102. package/dist/hooks/use-copy-to-clipboard.js +47 -0
  103. package/dist/hooks/use-copy-to-clipboard.js.map +1 -0
  104. package/dist/index.css +565 -917
  105. package/dist/index.css.map +1 -1
  106. package/dist/index.d.ts +6 -7
  107. package/dist/index.js +824 -0
  108. package/dist/index.js.map +1 -0
  109. package/dist/index.mjs +18 -23
  110. package/dist/lib/utils.js +64 -0
  111. package/dist/lib/utils.js.map +1 -0
  112. package/dist/lib/utils.mjs +38 -2
  113. package/dist/lib/utils.mjs.map +1 -1
  114. package/dist/lib/utils.test.js +10 -0
  115. package/dist/lib/utils.test.js.map +1 -0
  116. package/dist/types/index.js +4 -0
  117. package/dist/types/index.js.map +1 -0
  118. package/dist/types/types.d.ts +1 -1
  119. package/dist/types/types.js +4 -0
  120. package/dist/types/types.js.map +1 -0
  121. package/package.json +8 -7
  122. package/src/components/chat/Button.tsx +23 -0
  123. package/src/components/chat/Chat.tsx +186 -0
  124. package/src/components/chat/ChatContext.tsx +176 -0
  125. package/src/components/{chat-components/ui/codeblock.tsx → chat/CodeBlock.tsx} +21 -33
  126. package/src/components/chat/Header.tsx +15 -0
  127. package/src/components/chat/Icons.tsx +179 -0
  128. package/src/components/chat/Input.tsx +51 -0
  129. package/src/components/chat/Markdown.tsx +68 -0
  130. package/src/components/chat/Messages.tsx +113 -0
  131. package/src/components/chat/Popup.tsx +9 -0
  132. package/src/components/chat/Response.tsx +12 -0
  133. package/src/components/chat/Sidebar.tsx +28 -0
  134. package/src/components/chat/Textarea.tsx +61 -0
  135. package/src/components/chat/Window.tsx +141 -0
  136. package/src/components/chat/index.tsx +3 -0
  137. package/src/components/chat/props.ts +36 -0
  138. package/src/components/index.ts +1 -7
  139. package/src/css/animations.css +35 -0
  140. package/src/css/button.css +54 -0
  141. package/src/css/colors.css +61 -0
  142. package/src/css/header.css +43 -0
  143. package/src/css/input.css +79 -0
  144. package/src/css/markdown.css +123 -0
  145. package/src/css/messages.css +57 -0
  146. package/src/css/popup.css +22 -0
  147. package/src/css/response.css +29 -0
  148. package/src/css/sidebar.css +34 -0
  149. package/src/css/window.css +58 -0
  150. package/src/styles.css +12 -0
  151. package/src/types/types.ts +1 -1
  152. package/tsup.config.ts +1 -2
  153. package/dist/chunk-2KAF7NKC.mjs +0 -484
  154. package/dist/chunk-2KAF7NKC.mjs.map +0 -1
  155. package/dist/chunk-5KEDV5VC.mjs +0 -27
  156. package/dist/chunk-5KEDV5VC.mjs.map +0 -1
  157. package/dist/chunk-6LAZQHEB.mjs.map +0 -1
  158. package/dist/chunk-CF3BK4OX.mjs +0 -53
  159. package/dist/chunk-CF3BK4OX.mjs.map +0 -1
  160. package/dist/chunk-CNQX2VY3.mjs +0 -66
  161. package/dist/chunk-CNQX2VY3.mjs.map +0 -1
  162. package/dist/chunk-GCOPYGHH.mjs +0 -27
  163. package/dist/chunk-GCOPYGHH.mjs.map +0 -1
  164. package/dist/chunk-IJLMKBSZ.mjs +0 -25
  165. package/dist/chunk-IJLMKBSZ.mjs.map +0 -1
  166. package/dist/chunk-INCNMGJ7.mjs +0 -72
  167. package/dist/chunk-INCNMGJ7.mjs.map +0 -1
  168. package/dist/chunk-M3CZWJI3.mjs +0 -44
  169. package/dist/chunk-M3CZWJI3.mjs.map +0 -1
  170. package/dist/chunk-MC6KTH4X.mjs +0 -12
  171. package/dist/chunk-MC6KTH4X.mjs.map +0 -1
  172. package/dist/chunk-NMT7XT2R.mjs +0 -39
  173. package/dist/chunk-NMT7XT2R.mjs.map +0 -1
  174. package/dist/chunk-OHWEJUCS.mjs +0 -18
  175. package/dist/chunk-OHWEJUCS.mjs.map +0 -1
  176. package/dist/chunk-OOBQC5H6.mjs +0 -34
  177. package/dist/chunk-OOBQC5H6.mjs.map +0 -1
  178. package/dist/chunk-Q6YO7LDK.mjs +0 -40
  179. package/dist/chunk-Q6YO7LDK.mjs.map +0 -1
  180. package/dist/chunk-RPTRCFSO.mjs +0 -42
  181. package/dist/chunk-RPTRCFSO.mjs.map +0 -1
  182. package/dist/chunk-SEH5PQVW.mjs +0 -52
  183. package/dist/chunk-SEH5PQVW.mjs.map +0 -1
  184. package/dist/chunk-SHOTWRKC.mjs +0 -18
  185. package/dist/chunk-SHOTWRKC.mjs.map +0 -1
  186. package/dist/chunk-SRBUGQTM.mjs +0 -109
  187. package/dist/chunk-SRBUGQTM.mjs.map +0 -1
  188. package/dist/chunk-TEYIQHMK.mjs +0 -12
  189. package/dist/chunk-TEYIQHMK.mjs.map +0 -1
  190. package/dist/chunk-U6NJWGTV.mjs +0 -3
  191. package/dist/chunk-VGX2W5ZB.mjs +0 -28
  192. package/dist/chunk-VGX2W5ZB.mjs.map +0 -1
  193. package/dist/chunk-WLTEQ2FW.mjs +0 -80
  194. package/dist/chunk-WLTEQ2FW.mjs.map +0 -1
  195. package/dist/chunk-ZYC5YVDO.mjs +0 -21
  196. package/dist/chunk-ZYC5YVDO.mjs.map +0 -1
  197. package/dist/components/chat-components/chat-list.d.ts +0 -8
  198. package/dist/components/chat-components/chat-list.mjs +0 -13
  199. package/dist/components/chat-components/chat-message-actions.d.ts +0 -8
  200. package/dist/components/chat-components/chat-message-actions.mjs +0 -8
  201. package/dist/components/chat-components/chat-message.d.ts +0 -8
  202. package/dist/components/chat-components/chat-message.mjs +0 -11
  203. package/dist/components/chat-components/chat-panel.d.ts +0 -8
  204. package/dist/components/chat-components/chat-panel.mjs +0 -10
  205. package/dist/components/chat-components/chat-scroll-anchor.d.ts +0 -6
  206. package/dist/components/chat-components/chat-scroll-anchor.mjs +0 -5
  207. package/dist/components/chat-components/clear-history.d.ts +0 -9
  208. package/dist/components/chat-components/clear-history.mjs +0 -56
  209. package/dist/components/chat-components/clear-history.mjs.map +0 -1
  210. package/dist/components/chat-components/copilot-chat.d.ts +0 -12
  211. package/dist/components/chat-components/copilot-chat.mjs +0 -22
  212. package/dist/components/chat-components/default-empty-screen.d.ts +0 -8
  213. package/dist/components/chat-components/default-empty-screen.mjs +0 -8
  214. package/dist/components/chat-components/external-link.d.ts +0 -6
  215. package/dist/components/chat-components/external-link.mjs +0 -4
  216. package/dist/components/chat-components/markdown.d.ts +0 -6
  217. package/dist/components/chat-components/markdown.mjs +0 -4
  218. package/dist/components/chat-components/prompt-form.d.ts +0 -9
  219. package/dist/components/chat-components/prompt-form.mjs +0 -9
  220. package/dist/components/chat-components/theme-toggle.d.ts +0 -3
  221. package/dist/components/chat-components/theme-toggle.mjs +0 -32
  222. package/dist/components/chat-components/theme-toggle.mjs.map +0 -1
  223. package/dist/components/chat-components/toaster.d.ts +0 -1
  224. package/dist/components/chat-components/toaster.mjs +0 -4
  225. package/dist/components/chat-components/toaster.mjs.map +0 -1
  226. package/dist/components/chat-components/ui/alert-dialog.d.ts +0 -20
  227. package/dist/components/chat-components/ui/alert-dialog.mjs +0 -6
  228. package/dist/components/chat-components/ui/badge.d.ts +0 -12
  229. package/dist/components/chat-components/ui/badge.mjs +0 -29
  230. package/dist/components/chat-components/ui/badge.mjs.map +0 -1
  231. package/dist/components/chat-components/ui/button.d.ts +0 -14
  232. package/dist/components/chat-components/ui/button.mjs +0 -5
  233. package/dist/components/chat-components/ui/codeblock.mjs +0 -8
  234. package/dist/components/chat-components/ui/dialog.d.ts +0 -18
  235. package/dist/components/chat-components/ui/dialog.mjs +0 -94
  236. package/dist/components/chat-components/ui/dialog.mjs.map +0 -1
  237. package/dist/components/chat-components/ui/dropdown-menu.d.ts +0 -24
  238. package/dist/components/chat-components/ui/dropdown-menu.mjs +0 -87
  239. package/dist/components/chat-components/ui/dropdown-menu.mjs.map +0 -1
  240. package/dist/components/chat-components/ui/icons.d.ts +0 -33
  241. package/dist/components/chat-components/ui/icons.mjs +0 -5
  242. package/dist/components/chat-components/ui/input.d.ts +0 -7
  243. package/dist/components/chat-components/ui/input.mjs +0 -26
  244. package/dist/components/chat-components/ui/input.mjs.map +0 -1
  245. package/dist/components/chat-components/ui/label.d.ts +0 -8
  246. package/dist/components/chat-components/ui/label.mjs +0 -19
  247. package/dist/components/chat-components/ui/label.mjs.map +0 -1
  248. package/dist/components/chat-components/ui/select.d.ts +0 -13
  249. package/dist/components/chat-components/ui/select.mjs +0 -101
  250. package/dist/components/chat-components/ui/select.mjs.map +0 -1
  251. package/dist/components/chat-components/ui/separator.d.ts +0 -6
  252. package/dist/components/chat-components/ui/separator.mjs +0 -5
  253. package/dist/components/chat-components/ui/sheet.d.ts +0 -19
  254. package/dist/components/chat-components/ui/sheet.mjs +0 -93
  255. package/dist/components/chat-components/ui/sheet.mjs.map +0 -1
  256. package/dist/components/chat-components/ui/switch.d.ts +0 -6
  257. package/dist/components/chat-components/ui/switch.mjs +0 -33
  258. package/dist/components/chat-components/ui/switch.mjs.map +0 -1
  259. package/dist/components/chat-components/ui/textarea.d.ts +0 -7
  260. package/dist/components/chat-components/ui/textarea.mjs +0 -25
  261. package/dist/components/chat-components/ui/textarea.mjs.map +0 -1
  262. package/dist/components/chat-components/ui/tooltip.d.ts +0 -9
  263. package/dist/components/chat-components/ui/tooltip.mjs +0 -5
  264. package/dist/components/sidebar/copilot-sidebar-ui-provider.d.ts +0 -9
  265. package/dist/components/sidebar/copilot-sidebar-ui-provider.mjs +0 -25
  266. package/dist/components/sidebar/copilot-sidebar.d.ts +0 -7
  267. package/dist/components/sidebar/copilot-sidebar.mjs +0 -23
  268. package/dist/components/sidebar/sidebar-context.d.ts +0 -9
  269. package/dist/components/sidebar/sidebar-context.mjs +0 -4
  270. package/dist/hooks/use-at-bottom.d.ts +0 -3
  271. package/dist/hooks/use-at-bottom.mjs +0 -4
  272. package/dist/hooks/use-enter-submit.d.ts +0 -8
  273. package/dist/hooks/use-enter-submit.mjs +0 -4
  274. package/src/components/chat-components/chat-list.tsx +0 -28
  275. package/src/components/chat-components/chat-message-actions.tsx +0 -36
  276. package/src/components/chat-components/chat-message.tsx +0 -70
  277. package/src/components/chat-components/chat-panel.tsx +0 -64
  278. package/src/components/chat-components/chat-scroll-anchor.tsx +0 -29
  279. package/src/components/chat-components/clear-history.tsx +0 -72
  280. package/src/components/chat-components/copilot-chat.tsx +0 -57
  281. package/src/components/chat-components/default-empty-screen.tsx +0 -57
  282. package/src/components/chat-components/external-link.tsx +0 -17
  283. package/src/components/chat-components/markdown.tsx +0 -8
  284. package/src/components/chat-components/prompt-form.tsx +0 -85
  285. package/src/components/chat-components/theme-toggle.tsx +0 -31
  286. package/src/components/chat-components/toaster.tsx +0 -3
  287. package/src/components/chat-components/ui/alert-dialog.tsx +0 -126
  288. package/src/components/chat-components/ui/badge.tsx +0 -33
  289. package/src/components/chat-components/ui/button.tsx +0 -49
  290. package/src/components/chat-components/ui/dialog.tsx +0 -106
  291. package/src/components/chat-components/ui/dropdown-menu.tsx +0 -117
  292. package/src/components/chat-components/ui/icons.tsx +0 -484
  293. package/src/components/chat-components/ui/input.tsx +0 -24
  294. package/src/components/chat-components/ui/label.tsx +0 -21
  295. package/src/components/chat-components/ui/select.tsx +0 -119
  296. package/src/components/chat-components/ui/separator.tsx +0 -26
  297. package/src/components/chat-components/ui/sheet.tsx +0 -106
  298. package/src/components/chat-components/ui/switch.tsx +0 -29
  299. package/src/components/chat-components/ui/textarea.tsx +0 -23
  300. package/src/components/chat-components/ui/tooltip.tsx +0 -30
  301. package/src/components/sidebar/copilot-sidebar-ui-provider.tsx +0 -77
  302. package/src/components/sidebar/copilot-sidebar.tsx +0 -39
  303. package/src/components/sidebar/sidebar-context.tsx +0 -11
  304. package/src/hooks/use-at-bottom.tsx +0 -20
  305. package/src/hooks/use-enter-submit.tsx +0 -17
  306. /package/dist/{chunk-U6NJWGTV.mjs.map → chunk-JD7BAH7U.mjs.map} +0 -0
  307. /package/dist/{components/chat-components/chat-list.mjs.map → chunk-P4GBO6MW.mjs.map} +0 -0
  308. /package/dist/{components/chat-components/chat-message-actions.mjs.map → chunk-WB3YULQ4.mjs.map} +0 -0
  309. /package/dist/components/{chat-components/chat-message.mjs.map → chat/Button.mjs.map} +0 -0
  310. /package/dist/components/{chat-components/chat-panel.mjs.map → chat/Chat.mjs.map} +0 -0
  311. /package/dist/components/{chat-components/chat-scroll-anchor.mjs.map → chat/ChatContext.mjs.map} +0 -0
  312. /package/dist/components/{chat-components/ui/codeblock.d.ts → chat/CodeBlock.d.ts} +0 -0
  313. /package/dist/components/{chat-components/copilot-chat.mjs.map → chat/CodeBlock.mjs.map} +0 -0
  314. /package/dist/components/{chat-components/default-empty-screen.mjs.map → chat/Header.mjs.map} +0 -0
  315. /package/dist/components/{chat-components/external-link.mjs.map → chat/Icons.mjs.map} +0 -0
  316. /package/dist/components/{chat-components/markdown.mjs.map → chat/Input.mjs.map} +0 -0
  317. /package/dist/components/{chat-components/prompt-form.mjs.map → chat/Markdown.mjs.map} +0 -0
  318. /package/dist/components/{chat-components/ui/alert-dialog.mjs.map → chat/Messages.mjs.map} +0 -0
  319. /package/dist/components/{chat-components/ui/button.mjs.map → chat/Popup.mjs.map} +0 -0
  320. /package/dist/components/{chat-components/ui/codeblock.mjs.map → chat/Response.mjs.map} +0 -0
  321. /package/dist/components/{chat-components/ui/icons.mjs.map → chat/Sidebar.mjs.map} +0 -0
  322. /package/dist/components/{chat-components/ui/separator.mjs.map → chat/Textarea.mjs.map} +0 -0
  323. /package/dist/components/{chat-components/ui/tooltip.mjs.map → chat/Window.mjs.map} +0 -0
  324. /package/dist/components/{sidebar/copilot-sidebar-ui-provider.mjs.map → chat/index.mjs.map} +0 -0
  325. /package/dist/components/{sidebar/copilot-sidebar.mjs.map → chat/props.js.map} +0 -0
  326. /package/dist/components/{sidebar/sidebar-context.mjs.map → chat/props.mjs.map} +0 -0
  327. /package/dist/{hooks/use-at-bottom.mjs.map → context/index.js.map} +0 -0
  328. /package/dist/hooks/{use-enter-submit.mjs.map → index.js.map} +0 -0
@@ -1,484 +0,0 @@
1
- import { cn } from './chunk-Q6YO7LDK.mjs';
2
- import { __objRest, __spreadProps, __spreadValues } from './chunk-MRXNTQOX.mjs';
3
- import * as React from 'react';
4
- import { jsxs, jsx } from 'react/jsx-runtime';
5
-
6
- function IconNextChat(_a) {
7
- var _b = _a, {
8
- className,
9
- inverted
10
- } = _b, props = __objRest(_b, [
11
- "className",
12
- "inverted"
13
- ]);
14
- const id = React.useId();
15
- return /* @__PURE__ */ jsxs(
16
- "svg",
17
- __spreadProps(__spreadValues({
18
- viewBox: "0 0 17 17",
19
- fill: "none",
20
- xmlns: "http://www.w3.org/2000/svg",
21
- className: cn("h-4 w-4", className)
22
- }, props), {
23
- children: [
24
- /* @__PURE__ */ jsxs("defs", { children: [
25
- /* @__PURE__ */ jsxs(
26
- "linearGradient",
27
- {
28
- id: `gradient-${id}-1`,
29
- x1: "10.6889",
30
- y1: "10.3556",
31
- x2: "13.8445",
32
- y2: "14.2667",
33
- gradientUnits: "userSpaceOnUse",
34
- children: [
35
- /* @__PURE__ */ jsx("stop", { stopColor: inverted ? "white" : "black" }),
36
- /* @__PURE__ */ jsx("stop", { offset: 1, stopColor: inverted ? "white" : "black", stopOpacity: 0 })
37
- ]
38
- }
39
- ),
40
- /* @__PURE__ */ jsxs(
41
- "linearGradient",
42
- {
43
- id: `gradient-${id}-2`,
44
- x1: "11.7555",
45
- y1: "4.8",
46
- x2: "11.7376",
47
- y2: "9.50002",
48
- gradientUnits: "userSpaceOnUse",
49
- children: [
50
- /* @__PURE__ */ jsx("stop", { stopColor: inverted ? "white" : "black" }),
51
- /* @__PURE__ */ jsx("stop", { offset: 1, stopColor: inverted ? "white" : "black", stopOpacity: 0 })
52
- ]
53
- }
54
- )
55
- ] }),
56
- /* @__PURE__ */ jsx(
57
- "path",
58
- {
59
- d: "M1 16L2.58314 11.2506C1.83084 9.74642 1.63835 8.02363 2.04013 6.39052C2.4419 4.75741 3.41171 3.32057 4.776 2.33712C6.1403 1.35367 7.81003 0.887808 9.4864 1.02289C11.1628 1.15798 12.7364 1.8852 13.9256 3.07442C15.1148 4.26363 15.842 5.83723 15.9771 7.5136C16.1122 9.18997 15.6463 10.8597 14.6629 12.224C13.6794 13.5883 12.2426 14.5581 10.6095 14.9599C8.97637 15.3616 7.25358 15.1692 5.74942 14.4169L1 16Z",
60
- fill: inverted ? "black" : "white",
61
- stroke: inverted ? "black" : "white",
62
- strokeWidth: 2,
63
- strokeLinecap: "round",
64
- strokeLinejoin: "round"
65
- }
66
- ),
67
- /* @__PURE__ */ jsx(
68
- "mask",
69
- {
70
- id: "mask0_91_2047",
71
- style: { maskType: "alpha" },
72
- maskUnits: "userSpaceOnUse",
73
- x: 1,
74
- y: 0,
75
- width: 16,
76
- height: 16,
77
- children: /* @__PURE__ */ jsx("circle", { cx: 9, cy: 8, r: 8, fill: inverted ? "black" : "white" })
78
- }
79
- ),
80
- /* @__PURE__ */ jsxs("g", { mask: "url(#mask0_91_2047)", children: [
81
- /* @__PURE__ */ jsx("circle", { cx: 9, cy: 8, r: 8, fill: inverted ? "black" : "white" }),
82
- /* @__PURE__ */ jsx(
83
- "path",
84
- {
85
- d: "M14.2896 14.0018L7.146 4.8H5.80005V11.1973H6.87681V6.16743L13.4444 14.6529C13.7407 14.4545 14.0231 14.2369 14.2896 14.0018Z",
86
- fill: `url(#gradient-${id}-1)`
87
- }
88
- ),
89
- /* @__PURE__ */ jsx("rect", { x: "11.2222", y: "4.8", width: "1.06667", height: "6.4", fill: `url(#gradient-${id}-2)` })
90
- ] })
91
- ]
92
- })
93
- );
94
- }
95
- function IconOpenAI(_a) {
96
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
97
- return /* @__PURE__ */ jsxs(
98
- "svg",
99
- __spreadProps(__spreadValues({
100
- fill: "currentColor",
101
- viewBox: "0 0 24 24",
102
- role: "img",
103
- xmlns: "http://www.w3.org/2000/svg",
104
- className: cn("h-4 w-4", className)
105
- }, props), {
106
- children: [
107
- /* @__PURE__ */ jsx("title", { children: "OpenAI icon" }),
108
- /* @__PURE__ */ jsx("path", { d: "M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z" })
109
- ]
110
- })
111
- );
112
- }
113
- function IconVercel(_a) {
114
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
115
- return /* @__PURE__ */ jsx(
116
- "svg",
117
- __spreadProps(__spreadValues({
118
- "aria-label": "Vercel logomark",
119
- role: "img",
120
- viewBox: "0 0 74 64",
121
- className: cn("h-4 w-4", className)
122
- }, props), {
123
- children: /* @__PURE__ */ jsx("path", { d: "M37.5896 0.25L74.5396 64.25H0.639648L37.5896 0.25Z", fill: "currentColor" })
124
- })
125
- );
126
- }
127
- function IconGitHub(_a) {
128
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
129
- return /* @__PURE__ */ jsxs(
130
- "svg",
131
- __spreadProps(__spreadValues({
132
- role: "img",
133
- viewBox: "0 0 24 24",
134
- xmlns: "http://www.w3.org/2000/svg",
135
- fill: "currentColor",
136
- className: cn("h-4 w-4", className)
137
- }, props), {
138
- children: [
139
- /* @__PURE__ */ jsx("title", { children: "GitHub" }),
140
- /* @__PURE__ */ jsx("path", { d: "M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" })
141
- ]
142
- })
143
- );
144
- }
145
- function IconSeparator(_a) {
146
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
147
- return /* @__PURE__ */ jsx(
148
- "svg",
149
- __spreadProps(__spreadValues({
150
- fill: "none",
151
- shapeRendering: "geometricPrecision",
152
- stroke: "currentColor",
153
- strokeLinecap: "round",
154
- strokeLinejoin: "round",
155
- strokeWidth: "1",
156
- viewBox: "0 0 24 24",
157
- "aria-hidden": "true",
158
- className: cn("h-4 w-4", className)
159
- }, props), {
160
- children: /* @__PURE__ */ jsx("path", { d: "M16.88 3.549L7.12 20.451" })
161
- })
162
- );
163
- }
164
- function IconArrowDown(_a) {
165
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
166
- return /* @__PURE__ */ jsx(
167
- "svg",
168
- __spreadProps(__spreadValues({
169
- xmlns: "http://www.w3.org/2000/svg",
170
- viewBox: "0 0 256 256",
171
- fill: "currentColor",
172
- className: cn("h-4 w-4", className)
173
- }, props), {
174
- children: /* @__PURE__ */ jsx("path", { d: "m205.66 149.66-72 72a8 8 0 0 1-11.32 0l-72-72a8 8 0 0 1 11.32-11.32L120 196.69V40a8 8 0 0 1 16 0v156.69l58.34-58.35a8 8 0 0 1 11.32 11.32Z" })
175
- })
176
- );
177
- }
178
- function IconArrowRight(_a) {
179
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
180
- return /* @__PURE__ */ jsx(
181
- "svg",
182
- __spreadProps(__spreadValues({
183
- xmlns: "http://www.w3.org/2000/svg",
184
- viewBox: "0 0 256 256",
185
- fill: "currentColor",
186
- className: cn("h-4 w-4", className)
187
- }, props), {
188
- children: /* @__PURE__ */ jsx("path", { d: "m221.66 133.66-72 72a8 8 0 0 1-11.32-11.32L196.69 136H40a8 8 0 0 1 0-16h156.69l-58.35-58.34a8 8 0 0 1 11.32-11.32l72 72a8 8 0 0 1 0 11.32Z" })
189
- })
190
- );
191
- }
192
- function IconUser(_a) {
193
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
194
- return /* @__PURE__ */ jsx(
195
- "svg",
196
- __spreadProps(__spreadValues({
197
- xmlns: "http://www.w3.org/2000/svg",
198
- viewBox: "0 0 256 256",
199
- fill: "currentColor",
200
- className: cn("h-4 w-4", className)
201
- }, props), {
202
- children: /* @__PURE__ */ jsx("path", { d: "M230.92 212c-15.23-26.33-38.7-45.21-66.09-54.16a72 72 0 1 0-73.66 0c-27.39 8.94-50.86 27.82-66.09 54.16a8 8 0 1 0 13.85 8c18.84-32.56 52.14-52 89.07-52s70.23 19.44 89.07 52a8 8 0 1 0 13.85-8ZM72 96a56 56 0 1 1 56 56 56.06 56.06 0 0 1-56-56Z" })
203
- })
204
- );
205
- }
206
- function IconPlus(_a) {
207
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
208
- return /* @__PURE__ */ jsx(
209
- "svg",
210
- __spreadProps(__spreadValues({
211
- xmlns: "http://www.w3.org/2000/svg",
212
- viewBox: "0 0 256 256",
213
- fill: "currentColor",
214
- className: cn("h-4 w-4", className)
215
- }, props), {
216
- children: /* @__PURE__ */ jsx("path", { d: "M224 128a8 8 0 0 1-8 8h-80v80a8 8 0 0 1-16 0v-80H40a8 8 0 0 1 0-16h80V40a8 8 0 0 1 16 0v80h80a8 8 0 0 1 8 8Z" })
217
- })
218
- );
219
- }
220
- function IconArrowElbow(_a) {
221
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
222
- return /* @__PURE__ */ jsx(
223
- "svg",
224
- __spreadProps(__spreadValues({
225
- xmlns: "http://www.w3.org/2000/svg",
226
- viewBox: "0 0 256 256",
227
- fill: "currentColor",
228
- className: cn("h-4 w-4", className)
229
- }, props), {
230
- children: /* @__PURE__ */ jsx("path", { d: "M200 32v144a8 8 0 0 1-8 8H67.31l34.35 34.34a8 8 0 0 1-11.32 11.32l-48-48a8 8 0 0 1 0-11.32l48-48a8 8 0 0 1 11.32 11.32L67.31 168H184V32a8 8 0 0 1 16 0Z" })
231
- })
232
- );
233
- }
234
- function IconSpinner(_a) {
235
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
236
- return /* @__PURE__ */ jsx(
237
- "svg",
238
- __spreadProps(__spreadValues({
239
- xmlns: "http://www.w3.org/2000/svg",
240
- viewBox: "0 0 256 256",
241
- fill: "currentColor",
242
- className: cn("h-4 w-4 animate-spin", className)
243
- }, props), {
244
- children: /* @__PURE__ */ jsx("path", { d: "M232 128a104 104 0 0 1-208 0c0-41 23.81-78.36 60.66-95.27a8 8 0 0 1 6.68 14.54C60.15 61.59 40 93.27 40 128a88 88 0 0 0 176 0c0-34.73-20.15-66.41-51.34-80.73a8 8 0 0 1 6.68-14.54C208.19 49.64 232 87 232 128Z" })
245
- })
246
- );
247
- }
248
- function IconMessage(_a) {
249
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
250
- return /* @__PURE__ */ jsx(
251
- "svg",
252
- __spreadProps(__spreadValues({
253
- xmlns: "http://www.w3.org/2000/svg",
254
- viewBox: "0 0 256 256",
255
- fill: "currentColor",
256
- className: cn("h-4 w-4", className)
257
- }, props), {
258
- children: /* @__PURE__ */ jsx("path", { d: "M216 48H40a16 16 0 0 0-16 16v160a15.84 15.84 0 0 0 9.25 14.5A16.05 16.05 0 0 0 40 240a15.89 15.89 0 0 0 10.25-3.78.69.69 0 0 0 .13-.11L82.5 208H216a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16ZM40 224Zm176-32H82.5a16 16 0 0 0-10.3 3.75l-.12.11L40 224V64h176Z" })
259
- })
260
- );
261
- }
262
- function IconTrash(_a) {
263
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
264
- return /* @__PURE__ */ jsx(
265
- "svg",
266
- __spreadProps(__spreadValues({
267
- xmlns: "http://www.w3.org/2000/svg",
268
- viewBox: "0 0 256 256",
269
- fill: "currentColor",
270
- className: cn("h-4 w-4", className)
271
- }, props), {
272
- children: /* @__PURE__ */ jsx("path", { d: "M216 48h-40v-8a24 24 0 0 0-24-24h-48a24 24 0 0 0-24 24v8H40a8 8 0 0 0 0 16h8v144a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16V64h8a8 8 0 0 0 0-16ZM96 40a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8v8H96Zm96 168H64V64h128Zm-80-104v64a8 8 0 0 1-16 0v-64a8 8 0 0 1 16 0Zm48 0v64a8 8 0 0 1-16 0v-64a8 8 0 0 1 16 0Z" })
273
- })
274
- );
275
- }
276
- function IconRefresh(_a) {
277
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
278
- return /* @__PURE__ */ jsx(
279
- "svg",
280
- __spreadProps(__spreadValues({
281
- xmlns: "http://www.w3.org/2000/svg",
282
- viewBox: "0 0 256 256",
283
- fill: "currentColor",
284
- className: cn("h-4 w-4", className)
285
- }, props), {
286
- children: /* @__PURE__ */ jsx("path", { d: "M197.67 186.37a8 8 0 0 1 0 11.29C196.58 198.73 170.82 224 128 224c-37.39 0-64.53-22.4-80-39.85V208a8 8 0 0 1-16 0v-48a8 8 0 0 1 8-8h48a8 8 0 0 1 0 16H55.44C67.76 183.35 93 208 128 208c36 0 58.14-21.46 58.36-21.68a8 8 0 0 1 11.31.05ZM216 40a8 8 0 0 0-8 8v23.85C192.53 54.4 165.39 32 128 32c-42.82 0-68.58 25.27-69.66 26.34a8 8 0 0 0 11.3 11.34C69.86 69.46 92 48 128 48c35 0 60.24 24.65 72.56 40H168a8 8 0 0 0 0 16h48a8 8 0 0 0 8-8V48a8 8 0 0 0-8-8Z" })
287
- })
288
- );
289
- }
290
- function IconStop(_a) {
291
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
292
- return /* @__PURE__ */ jsx(
293
- "svg",
294
- __spreadProps(__spreadValues({
295
- xmlns: "http://www.w3.org/2000/svg",
296
- viewBox: "0 0 256 256",
297
- fill: "currentColor",
298
- className: cn("h-4 w-4", className)
299
- }, props), {
300
- children: /* @__PURE__ */ jsx("path", { d: "M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24Zm0 192a88 88 0 1 1 88-88 88.1 88.1 0 0 1-88 88Zm24-120h-48a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8v-48a8 8 0 0 0-8-8Zm-8 48h-32v-32h32Z" })
301
- })
302
- );
303
- }
304
- function IconSidebar(_a) {
305
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
306
- return /* @__PURE__ */ jsx(
307
- "svg",
308
- __spreadProps(__spreadValues({
309
- xmlns: "http://www.w3.org/2000/svg",
310
- viewBox: "0 0 256 256",
311
- fill: "currentColor",
312
- className: cn("h-4 w-4", className)
313
- }, props), {
314
- children: /* @__PURE__ */ jsx("path", { d: "M216 40H40a16 16 0 0 0-16 16v144a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16ZM40 56h40v144H40Zm176 144H96V56h120v144Z" })
315
- })
316
- );
317
- }
318
- function IconMoon(_a) {
319
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
320
- return /* @__PURE__ */ jsx(
321
- "svg",
322
- __spreadProps(__spreadValues({
323
- xmlns: "http://www.w3.org/2000/svg",
324
- viewBox: "0 0 256 256",
325
- fill: "currentColor",
326
- className: cn("h-4 w-4", className)
327
- }, props), {
328
- children: /* @__PURE__ */ jsx("path", { d: "M233.54 142.23a8 8 0 0 0-8-2 88.08 88.08 0 0 1-109.8-109.8 8 8 0 0 0-10-10 104.84 104.84 0 0 0-52.91 37A104 104 0 0 0 136 224a103.09 103.09 0 0 0 62.52-20.88 104.84 104.84 0 0 0 37-52.91 8 8 0 0 0-1.98-7.98Zm-44.64 48.11A88 88 0 0 1 65.66 67.11a89 89 0 0 1 31.4-26A106 106 0 0 0 96 56a104.11 104.11 0 0 0 104 104 106 106 0 0 0 14.92-1.06 89 89 0 0 1-26.02 31.4Z" })
329
- })
330
- );
331
- }
332
- function IconSun(_a) {
333
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
334
- return /* @__PURE__ */ jsx(
335
- "svg",
336
- __spreadProps(__spreadValues({
337
- xmlns: "http://www.w3.org/2000/svg",
338
- viewBox: "0 0 256 256",
339
- fill: "currentColor",
340
- className: cn("h-4 w-4", className)
341
- }, props), {
342
- children: /* @__PURE__ */ jsx("path", { d: "M120 40V16a8 8 0 0 1 16 0v24a8 8 0 0 1-16 0Zm72 88a64 64 0 1 1-64-64 64.07 64.07 0 0 1 64 64Zm-16 0a48 48 0 1 0-48 48 48.05 48.05 0 0 0 48-48ZM58.34 69.66a8 8 0 0 0 11.32-11.32l-16-16a8 8 0 0 0-11.32 11.32Zm0 116.68-16 16a8 8 0 0 0 11.32 11.32l16-16a8 8 0 0 0-11.32-11.32ZM192 72a8 8 0 0 0 5.66-2.34l16-16a8 8 0 0 0-11.32-11.32l-16 16A8 8 0 0 0 192 72Zm5.66 114.34a8 8 0 0 0-11.32 11.32l16 16a8 8 0 0 0 11.32-11.32ZM48 128a8 8 0 0 0-8-8H16a8 8 0 0 0 0 16h24a8 8 0 0 0 8-8Zm80 80a8 8 0 0 0-8 8v24a8 8 0 0 0 16 0v-24a8 8 0 0 0-8-8Zm112-88h-24a8 8 0 0 0 0 16h24a8 8 0 0 0 0-16Z" })
343
- })
344
- );
345
- }
346
- function IconCopy(_a) {
347
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
348
- return /* @__PURE__ */ jsx(
349
- "svg",
350
- __spreadProps(__spreadValues({
351
- xmlns: "http://www.w3.org/2000/svg",
352
- viewBox: "0 0 256 256",
353
- fill: "currentColor",
354
- className: cn("h-4 w-4", className)
355
- }, props), {
356
- children: /* @__PURE__ */ jsx("path", { d: "M216 32H88a8 8 0 0 0-8 8v40H40a8 8 0 0 0-8 8v128a8 8 0 0 0 8 8h128a8 8 0 0 0 8-8v-40h40a8 8 0 0 0 8-8V40a8 8 0 0 0-8-8Zm-56 176H48V96h112Zm48-48h-32V88a8 8 0 0 0-8-8H96V48h112Z" })
357
- })
358
- );
359
- }
360
- function IconCheck(_a) {
361
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
362
- return /* @__PURE__ */ jsx(
363
- "svg",
364
- __spreadProps(__spreadValues({
365
- xmlns: "http://www.w3.org/2000/svg",
366
- viewBox: "0 0 256 256",
367
- fill: "currentColor",
368
- className: cn("h-4 w-4", className)
369
- }, props), {
370
- children: /* @__PURE__ */ jsx("path", { d: "m229.66 77.66-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69 218.34 66.34a8 8 0 0 1 11.32 11.32Z" })
371
- })
372
- );
373
- }
374
- function IconDownload(_a) {
375
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
376
- return /* @__PURE__ */ jsx(
377
- "svg",
378
- __spreadProps(__spreadValues({
379
- xmlns: "http://www.w3.org/2000/svg",
380
- viewBox: "0 0 256 256",
381
- fill: "currentColor",
382
- className: cn("h-4 w-4", className)
383
- }, props), {
384
- children: /* @__PURE__ */ jsx("path", { d: "M224 152v56a16 16 0 0 1-16 16H48a16 16 0 0 1-16-16v-56a8 8 0 0 1 16 0v56h160v-56a8 8 0 0 1 16 0Zm-101.66 5.66a8 8 0 0 0 11.32 0l40-40a8 8 0 0 0-11.32-11.32L136 132.69V40a8 8 0 0 0-16 0v92.69l-26.34-26.35a8 8 0 0 0-11.32 11.32Z" })
385
- })
386
- );
387
- }
388
- function IconClose(_a) {
389
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
390
- return /* @__PURE__ */ jsx(
391
- "svg",
392
- __spreadProps(__spreadValues({
393
- xmlns: "http://www.w3.org/2000/svg",
394
- viewBox: "0 0 256 256",
395
- fill: "currentColor",
396
- className: cn("h-4 w-4", className)
397
- }, props), {
398
- children: /* @__PURE__ */ jsx("path", { d: "M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128 50.34 61.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128Z" })
399
- })
400
- );
401
- }
402
- function IconEdit(_a) {
403
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
404
- return /* @__PURE__ */ jsx(
405
- "svg",
406
- __spreadProps(__spreadValues({
407
- xmlns: "http://www.w3.org/2000/svg",
408
- fill: "none",
409
- viewBox: "0 0 24 24",
410
- strokeWidth: 1.5,
411
- stroke: "currentColor",
412
- className: cn("h-4 w-4", className)
413
- }, props), {
414
- children: /* @__PURE__ */ jsx(
415
- "path",
416
- {
417
- strokeLinecap: "round",
418
- strokeLinejoin: "round",
419
- d: "M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10"
420
- }
421
- )
422
- })
423
- );
424
- }
425
- function IconShare(_a) {
426
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
427
- return /* @__PURE__ */ jsx(
428
- "svg",
429
- __spreadProps(__spreadValues({
430
- xmlns: "http://www.w3.org/2000/svg",
431
- fill: "currentColor",
432
- className: cn("h-4 w-4", className),
433
- viewBox: "0 0 256 256"
434
- }, props), {
435
- children: /* @__PURE__ */ jsx("path", { d: "m237.66 106.35-80-80A8 8 0 0 0 144 32v40.35c-25.94 2.22-54.59 14.92-78.16 34.91-28.38 24.08-46.05 55.11-49.76 87.37a12 12 0 0 0 20.68 9.58c11-11.71 50.14-48.74 107.24-52V192a8 8 0 0 0 13.66 5.65l80-80a8 8 0 0 0 0-11.3ZM160 172.69V144a8 8 0 0 0-8-8c-28.08 0-55.43 7.33-81.29 21.8a196.17 196.17 0 0 0-36.57 26.52c5.8-23.84 20.42-46.51 42.05-64.86C99.41 99.77 127.75 88 152 88a8 8 0 0 0 8-8V51.32L220.69 112Z" })
436
- })
437
- );
438
- }
439
- function IconUsers(_a) {
440
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
441
- return /* @__PURE__ */ jsx(
442
- "svg",
443
- __spreadProps(__spreadValues({
444
- xmlns: "http://www.w3.org/2000/svg",
445
- fill: "currentColor",
446
- className: cn("h-4 w-4", className),
447
- viewBox: "0 0 256 256"
448
- }, props), {
449
- children: /* @__PURE__ */ jsx("path", { d: "M117.25 157.92a60 60 0 1 0-66.5 0 95.83 95.83 0 0 0-47.22 37.71 8 8 0 1 0 13.4 8.74 80 80 0 0 1 134.14 0 8 8 0 0 0 13.4-8.74 95.83 95.83 0 0 0-47.22-37.71ZM40 108a44 44 0 1 1 44 44 44.05 44.05 0 0 1-44-44Zm210.14 98.7a8 8 0 0 1-11.07-2.33A79.83 79.83 0 0 0 172 168a8 8 0 0 1 0-16 44 44 0 1 0-16.34-84.87 8 8 0 1 1-5.94-14.85 60 60 0 0 1 55.53 105.64 95.83 95.83 0 0 1 47.22 37.71 8 8 0 0 1-2.33 11.07Z" })
450
- })
451
- );
452
- }
453
- function IconExternalLink(_a) {
454
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
455
- return /* @__PURE__ */ jsx(
456
- "svg",
457
- __spreadProps(__spreadValues({
458
- xmlns: "http://www.w3.org/2000/svg",
459
- fill: "currentColor",
460
- className: cn("h-4 w-4", className),
461
- viewBox: "0 0 256 256"
462
- }, props), {
463
- children: /* @__PURE__ */ jsx("path", { d: "M224 104a8 8 0 0 1-16 0V59.32l-66.33 66.34a8 8 0 0 1-11.32-11.32L196.68 48H152a8 8 0 0 1 0-16h64a8 8 0 0 1 8 8Zm-40 24a8 8 0 0 0-8 8v72H48V80h72a8 8 0 0 0 0-16H48a16 16 0 0 0-16 16v128a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-72a8 8 0 0 0-8-8Z" })
464
- })
465
- );
466
- }
467
- function IconChevronUpDown(_a) {
468
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
469
- return /* @__PURE__ */ jsx(
470
- "svg",
471
- __spreadProps(__spreadValues({
472
- xmlns: "http://www.w3.org/2000/svg",
473
- fill: "currentColor",
474
- className: cn("h-4 w-4", className),
475
- viewBox: "0 0 256 256"
476
- }, props), {
477
- children: /* @__PURE__ */ jsx("path", { d: "M181.66 170.34a8 8 0 0 1 0 11.32l-48 48a8 8 0 0 1-11.32 0l-48-48a8 8 0 0 1 11.32-11.32L128 212.69l42.34-42.35a8 8 0 0 1 11.32 0Zm-96-84.68L128 43.31l42.34 42.35a8 8 0 0 0 11.32-11.32l-48-48a8 8 0 0 0-11.32 0l-48 48a8 8 0 0 0 11.32 11.32Z" })
478
- })
479
- );
480
- }
481
-
482
- export { IconArrowDown, IconArrowElbow, IconArrowRight, IconCheck, IconChevronUpDown, IconClose, IconCopy, IconDownload, IconEdit, IconExternalLink, IconGitHub, IconMessage, IconMoon, IconNextChat, IconOpenAI, IconPlus, IconRefresh, IconSeparator, IconShare, IconSidebar, IconSpinner, IconStop, IconSun, IconTrash, IconUser, IconUsers, IconVercel };
483
- //# sourceMappingURL=out.js.map
484
- //# sourceMappingURL=chunk-2KAF7NKC.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/chat-components/ui/icons.tsx"],"names":[],"mappings":";;;;;;;;;;AAEA,YAAY,WAAW;AAoBf,SAQE,KARF;AAhBR,SAAS,aAAa,IAImC;AAJnC,eACpB;AAAA;AAAA,IACA;AAAA,EARF,IAMsB,IAGjB,kBAHiB,IAGjB;AAAA,IAFH;AAAA,IACA;AAAA;AAGA,QAAM,KAAW,YAAM;AAEvB,SACE;AAAA,IAAC;AAAA;AAAA,MACC,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,OAAM;AAAA,MACN,WAAW,GAAG,WAAW,SAAS;AAAA,OAC9B,QALL;AAAA,MAOC;AAAA,6BAAC,UACC;AAAA;AAAA,YAAC;AAAA;AAAA,cACC,IAAI,YAAY;AAAA,cAChB,IAAG;AAAA,cACH,IAAG;AAAA,cACH,IAAG;AAAA,cACH,IAAG;AAAA,cACH,eAAc;AAAA,cAEd;AAAA,oCAAC,UAAK,WAAW,WAAW,UAAU,SAAS;AAAA,gBAC/C,oBAAC,UAAK,QAAQ,GAAG,WAAW,WAAW,UAAU,SAAS,aAAa,GAAG;AAAA;AAAA;AAAA,UAC5E;AAAA,UACA;AAAA,YAAC;AAAA;AAAA,cACC,IAAI,YAAY;AAAA,cAChB,IAAG;AAAA,cACH,IAAG;AAAA,cACH,IAAG;AAAA,cACH,IAAG;AAAA,cACH,eAAc;AAAA,cAEd;AAA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P;AAAA;AAAA,EAC1P;AAEJ","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\n\nimport { cn } from \"../../../lib/utils\";\n\nfunction IconNextChat({\n className,\n inverted,\n ...props\n}: React.ComponentProps<\"svg\"> & { inverted?: boolean }) {\n const id = React.useId();\n\n return (\n <svg\n viewBox=\"0 0 17 17\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <defs>\n <linearGradient\n id={`gradient-${id}-1`}\n x1=\"10.6889\"\n y1=\"10.3556\"\n x2=\"13.8445\"\n y2=\"14.2667\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stopColor={inverted ? \"white\" : \"black\"} />\n <stop offset={1} stopColor={inverted ? \"white\" : \"black\"} stopOpacity={0} />\n </linearGradient>\n <linearGradient\n id={`gradient-${id}-2`}\n x1=\"11.7555\"\n y1=\"4.8\"\n x2=\"11.7376\"\n y2=\"9.50002\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stopColor={inverted ? \"white\" : \"black\"} />\n <stop offset={1} stopColor={inverted ? \"white\" : \"black\"} stopOpacity={0} />\n </linearGradient>\n </defs>\n <path\n d=\"M1 16L2.58314 11.2506C1.83084 9.74642 1.63835 8.02363 2.04013 6.39052C2.4419 4.75741 3.41171 3.32057 4.776 2.33712C6.1403 1.35367 7.81003 0.887808 9.4864 1.02289C11.1628 1.15798 12.7364 1.8852 13.9256 3.07442C15.1148 4.26363 15.842 5.83723 15.9771 7.5136C16.1122 9.18997 15.6463 10.8597 14.6629 12.224C13.6794 13.5883 12.2426 14.5581 10.6095 14.9599C8.97637 15.3616 7.25358 15.1692 5.74942 14.4169L1 16Z\"\n fill={inverted ? \"black\" : \"white\"}\n stroke={inverted ? \"black\" : \"white\"}\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <mask\n id=\"mask0_91_2047\"\n style={{ maskType: \"alpha\" }}\n maskUnits=\"userSpaceOnUse\"\n x={1}\n y={0}\n width={16}\n height={16}\n >\n <circle cx={9} cy={8} r={8} fill={inverted ? \"black\" : \"white\"} />\n </mask>\n <g mask=\"url(#mask0_91_2047)\">\n <circle cx={9} cy={8} r={8} fill={inverted ? \"black\" : \"white\"} />\n <path\n d=\"M14.2896 14.0018L7.146 4.8H5.80005V11.1973H6.87681V6.16743L13.4444 14.6529C13.7407 14.4545 14.0231 14.2369 14.2896 14.0018Z\"\n fill={`url(#gradient-${id}-1)`}\n />\n <rect x=\"11.2222\" y=\"4.8\" width=\"1.06667\" height=\"6.4\" fill={`url(#gradient-${id}-2)`} />\n </g>\n </svg>\n );\n}\n\nfunction IconOpenAI({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n fill=\"currentColor\"\n viewBox=\"0 0 24 24\"\n role=\"img\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <title>OpenAI icon</title>\n <path d=\"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z\" />\n </svg>\n );\n}\n\nfunction IconVercel({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n aria-label=\"Vercel logomark\"\n role=\"img\"\n viewBox=\"0 0 74 64\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"M37.5896 0.25L74.5396 64.25H0.639648L37.5896 0.25Z\" fill=\"currentColor\"></path>\n </svg>\n );\n}\n\nfunction IconGitHub({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n role=\"img\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <title>GitHub</title>\n <path d=\"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12\" />\n </svg>\n );\n}\n\nfunction IconSeparator({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n fill=\"none\"\n shapeRendering=\"geometricPrecision\"\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth=\"1\"\n viewBox=\"0 0 24 24\"\n aria-hidden=\"true\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"M16.88 3.549L7.12 20.451\"></path>\n </svg>\n );\n}\n\nfunction IconArrowDown({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 256 256\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"m205.66 149.66-72 72a8 8 0 0 1-11.32 0l-72-72a8 8 0 0 1 11.32-11.32L120 196.69V40a8 8 0 0 1 16 0v156.69l58.34-58.35a8 8 0 0 1 11.32 11.32Z\" />\n </svg>\n );\n}\n\nfunction IconArrowRight({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 256 256\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"m221.66 133.66-72 72a8 8 0 0 1-11.32-11.32L196.69 136H40a8 8 0 0 1 0-16h156.69l-58.35-58.34a8 8 0 0 1 11.32-11.32l72 72a8 8 0 0 1 0 11.32Z\" />\n </svg>\n );\n}\n\nfunction IconUser({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 256 256\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"M230.92 212c-15.23-26.33-38.7-45.21-66.09-54.16a72 72 0 1 0-73.66 0c-27.39 8.94-50.86 27.82-66.09 54.16a8 8 0 1 0 13.85 8c18.84-32.56 52.14-52 89.07-52s70.23 19.44 89.07 52a8 8 0 1 0 13.85-8ZM72 96a56 56 0 1 1 56 56 56.06 56.06 0 0 1-56-56Z\" />\n </svg>\n );\n}\n\nfunction IconPlus({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 256 256\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"M224 128a8 8 0 0 1-8 8h-80v80a8 8 0 0 1-16 0v-80H40a8 8 0 0 1 0-16h80V40a8 8 0 0 1 16 0v80h80a8 8 0 0 1 8 8Z\" />\n </svg>\n );\n}\n\nfunction IconArrowElbow({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 256 256\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"M200 32v144a8 8 0 0 1-8 8H67.31l34.35 34.34a8 8 0 0 1-11.32 11.32l-48-48a8 8 0 0 1 0-11.32l48-48a8 8 0 0 1 11.32 11.32L67.31 168H184V32a8 8 0 0 1 16 0Z\" />\n </svg>\n );\n}\n\nfunction IconSpinner({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 256 256\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4 animate-spin\", className)}\n {...props}\n >\n <path d=\"M232 128a104 104 0 0 1-208 0c0-41 23.81-78.36 60.66-95.27a8 8 0 0 1 6.68 14.54C60.15 61.59 40 93.27 40 128a88 88 0 0 0 176 0c0-34.73-20.15-66.41-51.34-80.73a8 8 0 0 1 6.68-14.54C208.19 49.64 232 87 232 128Z\" />\n </svg>\n );\n}\n\nfunction IconMessage({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 256 256\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"M216 48H40a16 16 0 0 0-16 16v160a15.84 15.84 0 0 0 9.25 14.5A16.05 16.05 0 0 0 40 240a15.89 15.89 0 0 0 10.25-3.78.69.69 0 0 0 .13-.11L82.5 208H216a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16ZM40 224Zm176-32H82.5a16 16 0 0 0-10.3 3.75l-.12.11L40 224V64h176Z\" />\n </svg>\n );\n}\n\nfunction IconTrash({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 256 256\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"M216 48h-40v-8a24 24 0 0 0-24-24h-48a24 24 0 0 0-24 24v8H40a8 8 0 0 0 0 16h8v144a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16V64h8a8 8 0 0 0 0-16ZM96 40a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8v8H96Zm96 168H64V64h128Zm-80-104v64a8 8 0 0 1-16 0v-64a8 8 0 0 1 16 0Zm48 0v64a8 8 0 0 1-16 0v-64a8 8 0 0 1 16 0Z\" />\n </svg>\n );\n}\n\nfunction IconRefresh({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 256 256\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"M197.67 186.37a8 8 0 0 1 0 11.29C196.58 198.73 170.82 224 128 224c-37.39 0-64.53-22.4-80-39.85V208a8 8 0 0 1-16 0v-48a8 8 0 0 1 8-8h48a8 8 0 0 1 0 16H55.44C67.76 183.35 93 208 128 208c36 0 58.14-21.46 58.36-21.68a8 8 0 0 1 11.31.05ZM216 40a8 8 0 0 0-8 8v23.85C192.53 54.4 165.39 32 128 32c-42.82 0-68.58 25.27-69.66 26.34a8 8 0 0 0 11.3 11.34C69.86 69.46 92 48 128 48c35 0 60.24 24.65 72.56 40H168a8 8 0 0 0 0 16h48a8 8 0 0 0 8-8V48a8 8 0 0 0-8-8Z\" />\n </svg>\n );\n}\n\nfunction IconStop({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 256 256\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24Zm0 192a88 88 0 1 1 88-88 88.1 88.1 0 0 1-88 88Zm24-120h-48a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8v-48a8 8 0 0 0-8-8Zm-8 48h-32v-32h32Z\" />\n </svg>\n );\n}\n\nfunction IconSidebar({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 256 256\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"M216 40H40a16 16 0 0 0-16 16v144a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16ZM40 56h40v144H40Zm176 144H96V56h120v144Z\" />\n </svg>\n );\n}\n\nfunction IconMoon({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 256 256\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"M233.54 142.23a8 8 0 0 0-8-2 88.08 88.08 0 0 1-109.8-109.8 8 8 0 0 0-10-10 104.84 104.84 0 0 0-52.91 37A104 104 0 0 0 136 224a103.09 103.09 0 0 0 62.52-20.88 104.84 104.84 0 0 0 37-52.91 8 8 0 0 0-1.98-7.98Zm-44.64 48.11A88 88 0 0 1 65.66 67.11a89 89 0 0 1 31.4-26A106 106 0 0 0 96 56a104.11 104.11 0 0 0 104 104 106 106 0 0 0 14.92-1.06 89 89 0 0 1-26.02 31.4Z\" />\n </svg>\n );\n}\n\nfunction IconSun({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 256 256\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"M120 40V16a8 8 0 0 1 16 0v24a8 8 0 0 1-16 0Zm72 88a64 64 0 1 1-64-64 64.07 64.07 0 0 1 64 64Zm-16 0a48 48 0 1 0-48 48 48.05 48.05 0 0 0 48-48ZM58.34 69.66a8 8 0 0 0 11.32-11.32l-16-16a8 8 0 0 0-11.32 11.32Zm0 116.68-16 16a8 8 0 0 0 11.32 11.32l16-16a8 8 0 0 0-11.32-11.32ZM192 72a8 8 0 0 0 5.66-2.34l16-16a8 8 0 0 0-11.32-11.32l-16 16A8 8 0 0 0 192 72Zm5.66 114.34a8 8 0 0 0-11.32 11.32l16 16a8 8 0 0 0 11.32-11.32ZM48 128a8 8 0 0 0-8-8H16a8 8 0 0 0 0 16h24a8 8 0 0 0 8-8Zm80 80a8 8 0 0 0-8 8v24a8 8 0 0 0 16 0v-24a8 8 0 0 0-8-8Zm112-88h-24a8 8 0 0 0 0 16h24a8 8 0 0 0 0-16Z\" />\n </svg>\n );\n}\n\nfunction IconCopy({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 256 256\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"M216 32H88a8 8 0 0 0-8 8v40H40a8 8 0 0 0-8 8v128a8 8 0 0 0 8 8h128a8 8 0 0 0 8-8v-40h40a8 8 0 0 0 8-8V40a8 8 0 0 0-8-8Zm-56 176H48V96h112Zm48-48h-32V88a8 8 0 0 0-8-8H96V48h112Z\" />\n </svg>\n );\n}\n\nfunction IconCheck({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 256 256\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"m229.66 77.66-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69 218.34 66.34a8 8 0 0 1 11.32 11.32Z\" />\n </svg>\n );\n}\n\nfunction IconDownload({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 256 256\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"M224 152v56a16 16 0 0 1-16 16H48a16 16 0 0 1-16-16v-56a8 8 0 0 1 16 0v56h160v-56a8 8 0 0 1 16 0Zm-101.66 5.66a8 8 0 0 0 11.32 0l40-40a8 8 0 0 0-11.32-11.32L136 132.69V40a8 8 0 0 0-16 0v92.69l-26.34-26.35a8 8 0 0 0-11.32 11.32Z\" />\n </svg>\n );\n}\n\nfunction IconClose({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 256 256\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path d=\"M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128 50.34 61.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128Z\" />\n </svg>\n );\n}\n\nfunction IconEdit({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n strokeWidth={1.5}\n stroke=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n {...props}\n >\n <path\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n d=\"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10\"\n />\n </svg>\n );\n}\n\nfunction IconShare({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n viewBox=\"0 0 256 256\"\n {...props}\n >\n <path d=\"m237.66 106.35-80-80A8 8 0 0 0 144 32v40.35c-25.94 2.22-54.59 14.92-78.16 34.91-28.38 24.08-46.05 55.11-49.76 87.37a12 12 0 0 0 20.68 9.58c11-11.71 50.14-48.74 107.24-52V192a8 8 0 0 0 13.66 5.65l80-80a8 8 0 0 0 0-11.3ZM160 172.69V144a8 8 0 0 0-8-8c-28.08 0-55.43 7.33-81.29 21.8a196.17 196.17 0 0 0-36.57 26.52c5.8-23.84 20.42-46.51 42.05-64.86C99.41 99.77 127.75 88 152 88a8 8 0 0 0 8-8V51.32L220.69 112Z\" />\n </svg>\n );\n}\n\nfunction IconUsers({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n viewBox=\"0 0 256 256\"\n {...props}\n >\n <path d=\"M117.25 157.92a60 60 0 1 0-66.5 0 95.83 95.83 0 0 0-47.22 37.71 8 8 0 1 0 13.4 8.74 80 80 0 0 1 134.14 0 8 8 0 0 0 13.4-8.74 95.83 95.83 0 0 0-47.22-37.71ZM40 108a44 44 0 1 1 44 44 44.05 44.05 0 0 1-44-44Zm210.14 98.7a8 8 0 0 1-11.07-2.33A79.83 79.83 0 0 0 172 168a8 8 0 0 1 0-16 44 44 0 1 0-16.34-84.87 8 8 0 1 1-5.94-14.85 60 60 0 0 1 55.53 105.64 95.83 95.83 0 0 1 47.22 37.71 8 8 0 0 1-2.33 11.07Z\" />\n </svg>\n );\n}\n\nfunction IconExternalLink({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n viewBox=\"0 0 256 256\"\n {...props}\n >\n <path d=\"M224 104a8 8 0 0 1-16 0V59.32l-66.33 66.34a8 8 0 0 1-11.32-11.32L196.68 48H152a8 8 0 0 1 0-16h64a8 8 0 0 1 8 8Zm-40 24a8 8 0 0 0-8 8v72H48V80h72a8 8 0 0 0 0-16H48a16 16 0 0 0-16 16v128a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-72a8 8 0 0 0-8-8Z\" />\n </svg>\n );\n}\n\nfunction IconChevronUpDown({ className, ...props }: React.ComponentProps<\"svg\">) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n className={cn(\"h-4 w-4\", className)}\n viewBox=\"0 0 256 256\"\n {...props}\n >\n <path d=\"M181.66 170.34a8 8 0 0 1 0 11.32l-48 48a8 8 0 0 1-11.32 0l-48-48a8 8 0 0 1 11.32-11.32L128 212.69l42.34-42.35a8 8 0 0 1 11.32 0Zm-96-84.68L128 43.31l42.34 42.35a8 8 0 0 0 11.32-11.32l-48-48a8 8 0 0 0-11.32 0l-48 48a8 8 0 0 0 11.32 11.32Z\" />\n </svg>\n );\n}\n\nexport {\n IconEdit,\n IconNextChat,\n IconOpenAI,\n IconVercel,\n IconGitHub,\n IconSeparator,\n IconArrowDown,\n IconArrowRight,\n IconUser,\n IconPlus,\n IconArrowElbow,\n IconSpinner,\n IconMessage,\n IconTrash,\n IconRefresh,\n IconStop,\n IconSidebar,\n IconMoon,\n IconSun,\n IconCopy,\n IconCheck,\n IconDownload,\n IconClose,\n IconShare,\n IconUsers,\n IconExternalLink,\n IconChevronUpDown,\n};\n"]}
@@ -1,27 +0,0 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
-
3
- // src/components/chat-components/external-link.tsx
4
- function ExternalLink({ href, children }) {
5
- return /* @__PURE__ */ jsxs(
6
- "a",
7
- {
8
- href,
9
- target: "_blank",
10
- className: "inline-flex flex-1 justify-center gap-1 leading-4 hover:underline",
11
- children: [
12
- /* @__PURE__ */ jsx("span", { children }),
13
- /* @__PURE__ */ jsx("svg", { "aria-hidden": "true", height: "7", viewBox: "0 0 6 6", width: "7", className: "opacity-70", children: /* @__PURE__ */ jsx(
14
- "path",
15
- {
16
- d: "M1.25215 5.54731L0.622742 4.9179L3.78169 1.75597H1.3834L1.38936 0.890915H5.27615V4.78069H4.40513L4.41109 2.38538L1.25215 5.54731Z",
17
- fill: "currentColor"
18
- }
19
- ) })
20
- ]
21
- }
22
- );
23
- }
24
-
25
- export { ExternalLink };
26
- //# sourceMappingURL=out.js.map
27
- //# sourceMappingURL=chunk-5KEDV5VC.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/chat-components/external-link.tsx"],"names":[],"mappings":";AAEI,SAKE,KALF;AAFG,SAAS,aAAa,EAAE,MAAM,SAAS,GAAgD;AAC5F,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,QAAO;AAAA,MACP,WAAU;AAAA,MAEV;AAAA,4BAAC,UAAM,UAAS;AAAA,QAChB,oBAAC,SAAI,eAAY,QAAO,QAAO,KAAI,SAAQ,WAAU,OAAM,KAAI,WAAU,cACvE;AAAA,UAAC;AAAA;AAAA,YACC,GAAE;AAAA,YACF,MAAK;AAAA;AAAA,QACN,GACH;AAAA;AAAA;AAAA,EACF;AAEJ","sourcesContent":["export function ExternalLink({ href, children }: { href: string; children: React.ReactNode }) {\n return (\n <a\n href={href}\n target=\"_blank\"\n className=\"inline-flex flex-1 justify-center gap-1 leading-4 hover:underline\"\n >\n <span>{children}</span>\n <svg aria-hidden=\"true\" height=\"7\" viewBox=\"0 0 6 6\" width=\"7\" className=\"opacity-70\">\n <path\n d=\"M1.25215 5.54731L0.622742 4.9179L3.78169 1.75597H1.3834L1.38936 0.890915H5.27615V4.78069H4.40513L4.41109 2.38538L1.25215 5.54731Z\"\n fill=\"currentColor\"\n ></path>\n </svg>\n </a>\n );\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/chat-components/ui/codeblock.tsx"],"names":[],"mappings":";;;;;;;;;;;;;AAEA,SAAa,YAAY;AACzB,SAAS,SAAS,yBAAyB;AAuFnC,cAEE,YAFF;AAxED,IAAM,uBAAoC;AAAA,EAC/C,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,GAAG;AAAA,EACH,KAAK;AAAA,EACL,OAAO;AAAA,EACP,MAAM;AAAA,EACN,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,eAAe;AAAA,EACf,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,MAAM;AAAA,EACN,OAAO;AAAA,EACP,SAAS;AAAA,EACT,KAAK;AAAA,EACL,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,SAAI,WAAU,+BACb;AAAA;AAAA,UAAC;AAAA;AAAA,YACC,SAAQ;AAAA,YACR,WAAU;AAAA,YACV,SAAS;AAAA,YACT,MAAK;AAAA,YAEL;AAAA,kCAAC,gBAAa;AAAA,cACd,oBAAC,UAAK,WAAU,WAAU,sBAAQ;AAAA;AAAA;AAAA,QACpC;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACC,SAAQ;AAAA,YACR,MAAK;AAAA,YACL,WAAU;AAAA,YACV,SAAS;AAAA,YAER;AAAA,yBAAW,oBAAC,aAAU,IAAK,oBAAC,YAAS;AAAA,cACtC,oBAAC,UAAK,WAAU,WAAU,uBAAS;AAAA;AAAA;AAAA,QACrC;AAAA,SACF;AAAA,OACF;AAAA,IACA;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,QAAO;AAAA,QACP,iBAAe;AAAA,QACf,aAAa;AAAA,UACX,QAAQ;AAAA,UACR,OAAO;AAAA,UACP,YAAY;AAAA,UACZ,SAAS;AAAA,QACX;AAAA,QACA,cAAc;AAAA,UACZ,OAAO;AAAA,YACL,UAAU;AAAA,YACV,YAAY;AAAA,UACd;AAAA,QACF;AAAA,QAEC;AAAA;AAAA,IACH;AAAA,KACF;AAEJ,CAAC;AACD,UAAU,cAAc","sourcesContent":["\"use client\";\n\nimport { FC, memo } from \"react\";\nimport { Prism as SyntaxHighlighter } from \"react-syntax-highlighter\";\n\nimport { useCopyToClipboard } from \"../../../hooks/use-copy-to-clipboard\";\nimport { IconCheck, IconCopy, IconDownload } from \"./icons\";\nimport { Button } from \"./button\";\n\ninterface Props {\n language: string;\n value: string;\n}\n\ninterface languageMap {\n [key: string]: string | undefined;\n}\n\nexport const programmingLanguages: languageMap = {\n javascript: \".js\",\n python: \".py\",\n java: \".java\",\n c: \".c\",\n cpp: \".cpp\",\n \"c++\": \".cpp\",\n \"c#\": \".cs\",\n ruby: \".rb\",\n php: \".php\",\n swift: \".swift\",\n \"objective-c\": \".m\",\n kotlin: \".kt\",\n typescript: \".ts\",\n go: \".go\",\n perl: \".pl\",\n rust: \".rs\",\n scala: \".scala\",\n haskell: \".hs\",\n lua: \".lua\",\n shell: \".sh\",\n sql: \".sql\",\n html: \".html\",\n css: \".css\",\n // add more file extensions here, make sure the key is same as language prop in CodeBlock.tsx component\n};\n\nexport const generateRandomString = (length: number, lowercase = false) => {\n const chars = \"ABCDEFGHJKLMNPQRSTUVWXY3456789\"; // excluding similar looking characters like Z, 2, I, 1, O, 0\n let result = \"\";\n for (let i = 0; i < length; i++) {\n result += chars.charAt(Math.floor(Math.random() * chars.length));\n }\n return lowercase ? result.toLowerCase() : result;\n};\n\nconst CodeBlock: FC<Props> = memo(({ language, value }) => {\n const { isCopied, copyToClipboard } = useCopyToClipboard({ timeout: 2000 });\n\n const downloadAsFile = () => {\n if (typeof window === \"undefined\") {\n return;\n }\n const fileExtension = programmingLanguages[language] || \".file\";\n const suggestedFileName = `file-${generateRandomString(3, true)}${fileExtension}`;\n const fileName = window.prompt(\"Enter file name\" || \"\", suggestedFileName);\n\n if (!fileName) {\n // User pressed cancel on prompt.\n return;\n }\n\n const blob = new Blob([value], { type: \"text/plain\" });\n const url = URL.createObjectURL(blob);\n const link = document.createElement(\"a\");\n link.download = fileName;\n link.href = url;\n link.style.display = \"none\";\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n URL.revokeObjectURL(url);\n };\n\n const onCopy = () => {\n if (isCopied) return;\n copyToClipboard(value);\n };\n\n return (\n <div className=\"codeblock relative w-full bg-zinc-950 font-sans\">\n <div className=\"flex w-full items-center justify-between bg-zinc-800 px-6 py-2 pr-4 text-zinc-100\">\n <span className=\"text-xs lowercase\">{language}</span>\n <div className=\"flex items-center space-x-1\">\n <Button\n variant=\"ghost\"\n className=\"hover:bg-zinc-800 focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-0\"\n onClick={downloadAsFile}\n size=\"icon\"\n >\n <IconDownload />\n <span className=\"sr-only\">Download</span>\n </Button>\n <Button\n variant=\"ghost\"\n size=\"icon\"\n className=\"text-xs hover:bg-zinc-800 focus-visible:ring-1 focus-visible:ring-slate-700 focus-visible:ring-offset-0\"\n onClick={onCopy}\n >\n {isCopied ? <IconCheck /> : <IconCopy />}\n <span className=\"sr-only\">Copy code</span>\n </Button>\n </div>\n </div>\n <SyntaxHighlighter\n language={language}\n PreTag=\"div\"\n showLineNumbers\n customStyle={{\n margin: 0,\n width: \"100%\",\n background: \"transparent\",\n padding: \"1.5rem 1rem\",\n }}\n codeTagProps={{\n style: {\n fontSize: \"0.9rem\",\n fontFamily: \"var(--font-mono)\",\n },\n }}\n >\n {value}\n </SyntaxHighlighter>\n </div>\n );\n});\nCodeBlock.displayName = \"CodeBlock\";\n\nexport { CodeBlock };\n"]}