@8wave/ai-elements 0.90.0 → 0.91.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/dist/_chunks/{Document-BajUssb0.js → Document-OYsMoc9f.js} +46 -9
  2. package/dist/_chunks/Document-OYsMoc9f.js.map +1 -0
  3. package/dist/_chunks/{PkToolShowSources-CZWBpBBV.js → PkToolShowSources-BHLHRoy2.js} +2 -2
  4. package/dist/_chunks/{PkToolShowSources-CZWBpBBV.js.map → PkToolShowSources-BHLHRoy2.js.map} +1 -1
  5. package/dist/_chunks/{PkToolShowSuggestedReply-1j4lOkRj.js → PkToolShowSuggestedReply-CUk_SK-9.js} +2 -2
  6. package/dist/_chunks/PkToolShowSuggestedReply-CUk_SK-9.js.map +1 -0
  7. package/dist/ai-elements.es.js +4099 -3985
  8. package/dist/ai-elements.es.js.map +1 -1
  9. package/dist-vue/PkChatbot.js +1 -1
  10. package/dist-vue/PkChatbotAuth.js +1 -1
  11. package/dist-vue/PkChatbotEmptyState.js +1 -1
  12. package/dist-vue/PkChatbotFeedbackForm.js +1 -1
  13. package/dist-vue/PkChatbotFilePreview.js +1 -1
  14. package/dist-vue/PkChatbotInput.js +1 -1
  15. package/dist-vue/PkChatbotMessageFeedback.js +1 -1
  16. package/dist-vue/PkChatbotMessages.js +1 -1
  17. package/dist-vue/PkChatbotOutlineRail.js +1 -1
  18. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  19. package/dist-vue/PkChatbotSteps.js +1 -1
  20. package/dist-vue/PkChatbotViewChat.js +1 -1
  21. package/dist-vue/PkChatbotViewConversations.js +1 -1
  22. package/dist-vue/PkChatbotViewFiles.js +1 -1
  23. package/dist-vue/PkChatbotViewProfile.js +1 -1
  24. package/dist-vue/_chunks/{Document-Dvf2nw6v.js → Document-c1tATTDs.js} +46 -9
  25. package/dist-vue/_chunks/{Document-Dvf2nw6v.js.map → Document-c1tATTDs.js.map} +1 -1
  26. package/dist-vue/_chunks/{PkAvatar-Dv3e4aUl.js → PkAvatar-Bpf6cD4N.js} +1 -1
  27. package/dist-vue/_chunks/{PkAvatar-Dv3e4aUl.js.map → PkAvatar-Bpf6cD4N.js.map} +1 -1
  28. package/dist-vue/_chunks/PkChatbot-DpfxBVue.js +237 -0
  29. package/dist-vue/_chunks/PkChatbot-DpfxBVue.js.map +1 -0
  30. package/dist-vue/_chunks/{PkChatbotAuth-CFqcYxj9.js → PkChatbotAuth-uAPZRV6N.js} +2 -2
  31. package/dist-vue/_chunks/{PkChatbotAuth-CFqcYxj9.js.map → PkChatbotAuth-uAPZRV6N.js.map} +1 -1
  32. package/dist-vue/_chunks/{PkChatbotEmptyState-C70aTfG-.js → PkChatbotEmptyState-JTlPPXdI.js} +2 -2
  33. package/dist-vue/_chunks/{PkChatbotEmptyState-C70aTfG-.js.map → PkChatbotEmptyState-JTlPPXdI.js.map} +1 -1
  34. package/dist-vue/_chunks/{PkChatbotFeedbackForm-Ds2-nOaU.js → PkChatbotFeedbackForm-CHXxzWqQ.js} +2 -2
  35. package/dist-vue/_chunks/{PkChatbotFeedbackForm-Ds2-nOaU.js.map → PkChatbotFeedbackForm-CHXxzWqQ.js.map} +1 -1
  36. package/dist-vue/_chunks/{PkChatbotFilePreview-DG887KhT.js → PkChatbotFilePreview-Bf1bdZn8.js} +61 -54
  37. package/dist-vue/_chunks/PkChatbotFilePreview-Bf1bdZn8.js.map +1 -0
  38. package/dist-vue/_chunks/{PkChatbotInput-BTszEUj2.js → PkChatbotInput-DWS7vqC5.js} +152 -124
  39. package/dist-vue/_chunks/PkChatbotInput-DWS7vqC5.js.map +1 -0
  40. package/dist-vue/_chunks/{PkChatbotMessageFeedback-Cp0zzCP8.js → PkChatbotMessageFeedback-DAqlgPrz.js} +1 -1
  41. package/dist-vue/_chunks/{PkChatbotMessageFeedback-Cp0zzCP8.js.map → PkChatbotMessageFeedback-DAqlgPrz.js.map} +1 -1
  42. package/dist-vue/_chunks/{PkChatbotMessages-DLP7utmG.js → PkChatbotMessages-BR5JUybd.js} +208 -212
  43. package/dist-vue/_chunks/PkChatbotMessages-BR5JUybd.js.map +1 -0
  44. package/dist-vue/_chunks/{PkChatbotOutlineRail-CAIfj2dI.js → PkChatbotOutlineRail-BXrdMIrA.js} +1 -1
  45. package/dist-vue/_chunks/{PkChatbotOutlineRail-CAIfj2dI.js.map → PkChatbotOutlineRail-BXrdMIrA.js.map} +1 -1
  46. package/dist-vue/_chunks/{PkChatbotStepToolDetail-C-ucv_wp.js → PkChatbotStepToolDetail-C2nWevnD.js} +2 -2
  47. package/dist-vue/_chunks/{PkChatbotStepToolDetail-C-ucv_wp.js.map → PkChatbotStepToolDetail-C2nWevnD.js.map} +1 -1
  48. package/dist-vue/_chunks/{PkChatbotSteps-CBOhYZ10.js → PkChatbotSteps-5Ahr-zpZ.js} +4 -4
  49. package/dist-vue/_chunks/{PkChatbotSteps-CBOhYZ10.js.map → PkChatbotSteps-5Ahr-zpZ.js.map} +1 -1
  50. package/dist-vue/_chunks/{PkChatbotViewChat-BZ9IH-sz.js → PkChatbotViewChat-C_t6qEEV.js} +64 -55
  51. package/dist-vue/_chunks/PkChatbotViewChat-C_t6qEEV.js.map +1 -0
  52. package/dist-vue/_chunks/{PkChatbotViewConversations-q5KPJt_D.js → PkChatbotViewConversations-CEaEsnBy.js} +4 -4
  53. package/dist-vue/_chunks/{PkChatbotViewConversations-q5KPJt_D.js.map → PkChatbotViewConversations-CEaEsnBy.js.map} +1 -1
  54. package/dist-vue/_chunks/PkChatbotViewFiles-Bzcn8AEo.js +114 -0
  55. package/dist-vue/_chunks/PkChatbotViewFiles-Bzcn8AEo.js.map +1 -0
  56. package/dist-vue/_chunks/{PkChatbotViewProfile-DTbQlkVL.js → PkChatbotViewProfile-CfFeqjse.js} +4 -4
  57. package/dist-vue/_chunks/{PkChatbotViewProfile-DTbQlkVL.js.map → PkChatbotViewProfile-CfFeqjse.js.map} +1 -1
  58. package/dist-vue/_chunks/{PkRelativeTime-D72zYq42.js → PkRelativeTime-2HoOjv_T.js} +1 -1
  59. package/dist-vue/_chunks/{PkRelativeTime-D72zYq42.js.map → PkRelativeTime-2HoOjv_T.js.map} +1 -1
  60. package/dist-vue/_chunks/{PkStreamingMarkdown-CVAsbuWi.js → PkStreamingMarkdown-C_LQOTVJ.js} +1 -1
  61. package/dist-vue/_chunks/{PkStreamingMarkdown-CVAsbuWi.js.map → PkStreamingMarkdown-C_LQOTVJ.js.map} +1 -1
  62. package/dist-vue/_chunks/{PkSvgViewer-CTYxVK7q.js → PkSvgViewer-Dtx4uluo.js} +2 -2
  63. package/dist-vue/_chunks/{PkSvgViewer-CTYxVK7q.js.map → PkSvgViewer-Dtx4uluo.js.map} +1 -1
  64. package/dist-vue/_chunks/{PkToolShowArtifact-Csjfo9Xl.js → PkToolShowArtifact-CoYM3_A3.js} +3 -3
  65. package/dist-vue/_chunks/{PkToolShowArtifact-Csjfo9Xl.js.map → PkToolShowArtifact-CoYM3_A3.js.map} +1 -1
  66. package/dist-vue/_chunks/{PkToolShowCalendarEvent-B2tHaoqo.js → PkToolShowCalendarEvent-BZYdRwid.js} +2 -2
  67. package/dist-vue/_chunks/{PkToolShowCalendarEvent-B2tHaoqo.js.map → PkToolShowCalendarEvent-BZYdRwid.js.map} +1 -1
  68. package/dist-vue/_chunks/{PkToolShowComparison-BLDtjv3w.js → PkToolShowComparison-C4OP5c1t.js} +2 -2
  69. package/dist-vue/_chunks/{PkToolShowComparison-BLDtjv3w.js.map → PkToolShowComparison-C4OP5c1t.js.map} +1 -1
  70. package/dist-vue/_chunks/{PkToolShowContactForm-CdgD4fd8.js → PkToolShowContactForm-DjX9G8CD.js} +5 -5
  71. package/dist-vue/_chunks/{PkToolShowContactForm-CdgD4fd8.js.map → PkToolShowContactForm-DjX9G8CD.js.map} +1 -1
  72. package/dist-vue/_chunks/{PkToolShowDiagram-DGYQjjGj.js → PkToolShowDiagram-DHwAckwN.js} +2 -2
  73. package/dist-vue/_chunks/{PkToolShowDiagram-DGYQjjGj.js.map → PkToolShowDiagram-DHwAckwN.js.map} +1 -1
  74. package/dist-vue/_chunks/{PkToolShowEmail-D42WDTO9.js → PkToolShowEmail-5waUO5cm.js} +2 -2
  75. package/dist-vue/_chunks/{PkToolShowEmail-D42WDTO9.js.map → PkToolShowEmail-5waUO5cm.js.map} +1 -1
  76. package/dist-vue/_chunks/{PkToolShowForm-BhVSPIAR.js → PkToolShowForm-C7bOdRse.js} +3 -3
  77. package/dist-vue/_chunks/{PkToolShowForm-BhVSPIAR.js.map → PkToolShowForm-C7bOdRse.js.map} +1 -1
  78. package/dist-vue/_chunks/{PkToolShowImageGallery-WANi2hA0.js → PkToolShowImageGallery-D3bqInQn.js} +3 -3
  79. package/dist-vue/_chunks/{PkToolShowImageGallery-WANi2hA0.js.map → PkToolShowImageGallery-D3bqInQn.js.map} +1 -1
  80. package/dist-vue/_chunks/{PkToolShowLocation-RVbaQoU5.js → PkToolShowLocation-DE-dbJEw.js} +2 -2
  81. package/dist-vue/_chunks/{PkToolShowLocation-RVbaQoU5.js.map → PkToolShowLocation-DE-dbJEw.js.map} +1 -1
  82. package/dist-vue/_chunks/{PkToolShowMessage-D8UbJcas.js → PkToolShowMessage-DCbW7AYl.js} +2 -2
  83. package/dist-vue/_chunks/{PkToolShowMessage-D8UbJcas.js.map → PkToolShowMessage-DCbW7AYl.js.map} +1 -1
  84. package/dist-vue/_chunks/{PkToolShowProductList-BQts3MBy.js → PkToolShowProductList-Blsv3Cio.js} +3 -3
  85. package/dist-vue/_chunks/{PkToolShowProductList-BQts3MBy.js.map → PkToolShowProductList-Blsv3Cio.js.map} +1 -1
  86. package/dist-vue/_chunks/{PkToolShowQrCode-BybXCt5e.js → PkToolShowQrCode-BbMTgOW3.js} +2 -2
  87. package/dist-vue/_chunks/{PkToolShowQrCode-BybXCt5e.js.map → PkToolShowQrCode-BbMTgOW3.js.map} +1 -1
  88. package/dist-vue/_chunks/{PkToolShowSources-DRewYfe-.js → PkToolShowSources-B9d3iLVk.js} +5 -5
  89. package/dist-vue/_chunks/{PkToolShowSources-DRewYfe-.js.map → PkToolShowSources-B9d3iLVk.js.map} +1 -1
  90. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DKiYUsaZ.js → PkToolShowSuggestedReply-B516t3Nb.js} +2 -2
  91. package/dist-vue/_chunks/PkToolShowSuggestedReply-B516t3Nb.js.map +1 -0
  92. package/dist-vue/_chunks/{PkToolShowWebPages-IV3OzwJe.js → PkToolShowWebPages-BF2aHJGK.js} +3 -3
  93. package/dist-vue/_chunks/{PkToolShowWebPages-IV3OzwJe.js.map → PkToolShowWebPages-BF2aHJGK.js.map} +1 -1
  94. package/dist-vue/_chunks/{PkUrl-a6l-l4Au.js → PkUrl-DA-6t_2f.js} +1 -1
  95. package/dist-vue/_chunks/{PkUrl-a6l-l4Au.js.map → PkUrl-DA-6t_2f.js.map} +1 -1
  96. package/dist-vue/_chunks/{chatbotProfileContext-R95aQ5bH.js → chatbotProfileContext-R1zi561l.js} +1 -1
  97. package/dist-vue/_chunks/{chatbotProfileContext-R95aQ5bH.js.map → chatbotProfileContext-R1zi561l.js.map} +1 -1
  98. package/dist-vue/_chunks/{constants-DpYDYnZU.js → constants-CWT3GgSb.js} +2 -2
  99. package/dist-vue/_chunks/constants-CWT3GgSb.js.map +1 -0
  100. package/dist-vue/_chunks/{createChatbotApiClient-DXmWtu3b.js → createChatbotApiClient-kU7rCKwN.js} +13 -5
  101. package/dist-vue/_chunks/createChatbotApiClient-kU7rCKwN.js.map +1 -0
  102. package/dist-vue/_chunks/{dist-BbAXqaCM.js → dist-0LxfGh4q.js} +2 -2
  103. package/dist-vue/_chunks/{dist-BbAXqaCM.js.map → dist-0LxfGh4q.js.map} +1 -1
  104. package/dist-vue/_chunks/{dist-BU1gMaJv.js → dist-46HfWmpr.js} +2 -2
  105. package/dist-vue/_chunks/{dist-BU1gMaJv.js.map → dist-46HfWmpr.js.map} +1 -1
  106. package/dist-vue/_chunks/{dist-CpoLpTWk.js → dist-8YCZENrl.js} +3 -3
  107. package/dist-vue/_chunks/{dist-CpoLpTWk.js.map → dist-8YCZENrl.js.map} +1 -1
  108. package/dist-vue/_chunks/{dist-l7mimsz6.js → dist-B34dY8rD.js} +2 -2
  109. package/dist-vue/_chunks/{dist-l7mimsz6.js.map → dist-B34dY8rD.js.map} +1 -1
  110. package/dist-vue/_chunks/{dist-CYrZgvgZ.js → dist-BfbUNalO.js} +4 -4
  111. package/dist-vue/_chunks/{dist-CYrZgvgZ.js.map → dist-BfbUNalO.js.map} +1 -1
  112. package/dist-vue/_chunks/{dist-Begygip9.js → dist-BmRGnWn9.js} +3 -3
  113. package/dist-vue/_chunks/{dist-Begygip9.js.map → dist-BmRGnWn9.js.map} +1 -1
  114. package/dist-vue/_chunks/{dist-BGl_mYmF.js → dist-BoaZDzxm.js} +4 -4
  115. package/dist-vue/_chunks/{dist-BGl_mYmF.js.map → dist-BoaZDzxm.js.map} +1 -1
  116. package/dist-vue/_chunks/{dist-DEyUvwtq.js → dist-Bq9kJLlA.js} +3 -3
  117. package/dist-vue/_chunks/{dist-DEyUvwtq.js.map → dist-Bq9kJLlA.js.map} +1 -1
  118. package/dist-vue/_chunks/{dist-nZs6UeVS.js → dist-Bs-QG-km.js} +1 -1
  119. package/dist-vue/_chunks/{dist-nZs6UeVS.js.map → dist-Bs-QG-km.js.map} +1 -1
  120. package/dist-vue/_chunks/{dist-DinYvSmw.js → dist-BxqLQ_dy.js} +2 -2
  121. package/dist-vue/_chunks/{dist-DinYvSmw.js.map → dist-BxqLQ_dy.js.map} +1 -1
  122. package/dist-vue/_chunks/{dist-Dj7rLAD9.js → dist-Cc0Lyhoq.js} +3 -3
  123. package/dist-vue/_chunks/{dist-Dj7rLAD9.js.map → dist-Cc0Lyhoq.js.map} +1 -1
  124. package/dist-vue/_chunks/{dist-Jh4J_VuU.js → dist-CiYFTV6m.js} +3 -3
  125. package/dist-vue/_chunks/{dist-Jh4J_VuU.js.map → dist-CiYFTV6m.js.map} +1 -1
  126. package/dist-vue/_chunks/{dist-BzsV0Mzp.js → dist-CrcvoPSj.js} +2 -2
  127. package/dist-vue/_chunks/{dist-BzsV0Mzp.js.map → dist-CrcvoPSj.js.map} +1 -1
  128. package/dist-vue/_chunks/{dist-CABEM3v-.js → dist-DK5UPLjU.js} +4 -4
  129. package/dist-vue/_chunks/{dist-CABEM3v-.js.map → dist-DK5UPLjU.js.map} +1 -1
  130. package/dist-vue/_chunks/{dist-uvKhW3hB.js → dist-Da4-ZEZn.js} +3 -3
  131. package/dist-vue/_chunks/{dist-uvKhW3hB.js.map → dist-Da4-ZEZn.js.map} +1 -1
  132. package/dist-vue/_chunks/{dist-SbwxxzT7.js → dist-Dc77ClI_.js} +3 -3
  133. package/dist-vue/_chunks/{dist-SbwxxzT7.js.map → dist-Dc77ClI_.js.map} +1 -1
  134. package/dist-vue/_chunks/{dist-t9ZGnt-g.js → dist-LN9oA4PR.js} +2 -2
  135. package/dist-vue/_chunks/{dist-t9ZGnt-g.js.map → dist-LN9oA4PR.js.map} +1 -1
  136. package/dist-vue/_chunks/{dist-DKzsFjYx.js → dist-gx9K9AtO.js} +5 -5
  137. package/dist-vue/_chunks/{dist-DKzsFjYx.js.map → dist-gx9K9AtO.js.map} +1 -1
  138. package/dist-vue/_chunks/{dist-Bnrde8nq.js → dist-iDVEgNgZ.js} +3 -3
  139. package/dist-vue/_chunks/{dist-Bnrde8nq.js.map → dist-iDVEgNgZ.js.map} +1 -1
  140. package/dist-vue/_chunks/{dist-Byr8BhEG.js → dist-m2_O1KGc.js} +3 -3
  141. package/dist-vue/_chunks/{dist-Byr8BhEG.js.map → dist-m2_O1KGc.js.map} +1 -1
  142. package/dist-vue/_chunks/{dist-C08Qizu9.js → dist-qArLqzVS.js} +2 -2
  143. package/dist-vue/_chunks/{dist-C08Qizu9.js.map → dist-qArLqzVS.js.map} +1 -1
  144. package/dist-vue/_chunks/{dist-6gaEFVNT.js → dist-qJLUge9r.js} +2 -2
  145. package/dist-vue/_chunks/{dist-6gaEFVNT.js.map → dist-qJLUge9r.js.map} +1 -1
  146. package/dist-vue/_chunks/{index.es-ChKj3bPm.js → index.es-W-WNHB7-.js} +1 -1
  147. package/dist-vue/_chunks/{index.es-ChKj3bPm.js.map → index.es-W-WNHB7-.js.map} +1 -1
  148. package/dist-vue/_chunks/{useChatbotStore-GEO6rQ74.js → useChatbotStore-WPRS7mhR.js} +855 -832
  149. package/dist-vue/_chunks/{useChatbotStore-GEO6rQ74.js.map → useChatbotStore-WPRS7mhR.js.map} +1 -1
  150. package/dist-vue/_chunks/{useLocalizedString-DPX1ED4p.js → useLocalizedString-BQzGZyu0.js} +1 -1
  151. package/dist-vue/_chunks/{useLocalizedString-DPX1ED4p.js.map → useLocalizedString-BQzGZyu0.js.map} +1 -1
  152. package/dist-vue/_chunks/utils-BDNQaNua.js +101 -0
  153. package/dist-vue/_chunks/utils-BDNQaNua.js.map +1 -0
  154. package/dist-vue/api.js +1 -1
  155. package/dist-vue/composables.js +4 -4
  156. package/dist-vue/index.js +105 -80
  157. package/dist-vue/index.js.map +1 -1
  158. package/dist-vue/locales.js +10 -2
  159. package/dist-vue/packages/components/src/chat/PkChatbotInput.d.ts +7 -3
  160. package/dist-vue/packages/components/src/chat/PkMessageParts.d.ts +3 -0
  161. package/dist-vue/packages/components/src/chat/constants.d.ts +1 -1
  162. package/dist-vue/packages/components/src/chat/useChatScroll.d.ts +0 -7
  163. package/dist-vue/packages/components/src/table/PkTableSortable.d.ts +4 -0
  164. package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +1 -0
  165. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +42 -3
  166. package/dist-vue/packages/composable/src/index.d.ts +1 -0
  167. package/dist-vue/packages/composable/src/useFileRow.d.ts +24 -0
  168. package/dist-vue/packages/models/src/schema/Agent.d.ts +1 -0
  169. package/dist-vue/packages/models/src/schema/Document.d.ts +12 -0
  170. package/dist-vue/packages/models/src/schema/Platform.d.ts +6 -0
  171. package/dist-vue/packages/models/src/schema/constants.d.ts +7 -2
  172. package/dist-vue/style.css +1 -1
  173. package/package.json +1 -1
  174. package/dist/_chunks/Document-BajUssb0.js.map +0 -1
  175. package/dist/_chunks/PkToolShowSuggestedReply-1j4lOkRj.js.map +0 -1
  176. package/dist-vue/_chunks/PkChatbot-q_W4cKsy.js +0 -237
  177. package/dist-vue/_chunks/PkChatbot-q_W4cKsy.js.map +0 -1
  178. package/dist-vue/_chunks/PkChatbotFilePreview-DG887KhT.js.map +0 -1
  179. package/dist-vue/_chunks/PkChatbotInput-BTszEUj2.js.map +0 -1
  180. package/dist-vue/_chunks/PkChatbotMessages-DLP7utmG.js.map +0 -1
  181. package/dist-vue/_chunks/PkChatbotViewChat-BZ9IH-sz.js.map +0 -1
  182. package/dist-vue/_chunks/PkChatbotViewFiles-B0FNE1Kk.js +0 -86
  183. package/dist-vue/_chunks/PkChatbotViewFiles-B0FNE1Kk.js.map +0 -1
  184. package/dist-vue/_chunks/PkToolShowSuggestedReply-DKiYUsaZ.js.map +0 -1
  185. package/dist-vue/_chunks/constants-DpYDYnZU.js.map +0 -1
  186. package/dist-vue/_chunks/createChatbotApiClient-DXmWtu3b.js.map +0 -1
  187. package/dist-vue/_chunks/utils-BBAveXy4.js +0 -101
  188. package/dist-vue/_chunks/utils-BBAveXy4.js.map +0 -1
@@ -1,104 +1,104 @@
1
1
  import { t as e } from "./PkChatbotError-CTKQAfey.js";
2
- import { _ as t, c as n, f as r, g as i, h as a, m as ee, u as te } from "./src-BCYjA3mm.js";
3
- import { t as o } from "./PkRelativeTime-D72zYq42.js";
4
- import { t as s } from "./PkStreamingMarkdown-CVAsbuWi.js";
5
- import { t as c } from "./PkChatbotFilePreview-DG887KhT.js";
6
- import { t as l } from "./PkChatbotFeedbackForm-Ds2-nOaU.js";
7
- import { t as u } from "./PkChatbotMessageFeedback-Cp0zzCP8.js";
8
- import { n as d, t as f } from "./PkChatbotSteps-CBOhYZ10.js";
9
- import { a as p, d as m, i as h, l as ne, n as g, r as _, u as v } from "./utils-BBAveXy4.js";
10
- import { t as y } from "./PkChatbotOutlineRail-CAIfj2dI.js";
11
- import { VvButton as re, VvButtonGroup as ie, VvIcon as ae } from "@volverjs/ui-vue/components";
12
- import { Fragment as b, Transition as x, computed as S, createBlock as C, createCommentVNode as w, createElementBlock as T, createElementVNode as E, createTextVNode as oe, createVNode as D, defineAsyncComponent as O, defineComponent as se, mergeProps as ce, nextTick as k, normalizeClass as le, normalizeStyle as ue, onBeforeUnmount as A, onMounted as j, openBlock as M, ref as N, renderList as de, renderSlot as fe, resolveDynamicComponent as pe, toDisplayString as P, unref as F, useSlots as me, useTemplateRef as I, watch as L, withCtx as R, withModifiers as z } from "vue";
2
+ import { _ as t, c as n, f as r, g as i, h as a, m as o, u as ee } from "./src-BCYjA3mm.js";
3
+ import { t as s } from "./PkRelativeTime-2HoOjv_T.js";
4
+ import { t as c } from "./PkStreamingMarkdown-C_LQOTVJ.js";
5
+ import { t as l } from "./PkChatbotFilePreview-Bf1bdZn8.js";
6
+ import { t as u } from "./PkChatbotFeedbackForm-CHXxzWqQ.js";
7
+ import { t as d } from "./PkChatbotMessageFeedback-DAqlgPrz.js";
8
+ import { n as f, t as p } from "./PkChatbotSteps-5Ahr-zpZ.js";
9
+ import { a as m, d as h, i as te, l as g, n as _, r as v, u as ne } from "./utils-BDNQaNua.js";
10
+ import { t as y } from "./PkChatbotOutlineRail-BXrdMIrA.js";
11
+ import { VvButton as re, VvButtonGroup as ie, VvIcon as b } from "@volverjs/ui-vue/components";
12
+ import { Fragment as x, Transition as S, computed as C, createBlock as w, createCommentVNode as T, createElementBlock as E, createElementVNode as D, createTextVNode as ae, createVNode as O, defineAsyncComponent as k, defineComponent as oe, mergeProps as se, nextTick as A, normalizeClass as ce, normalizeStyle as le, onBeforeUnmount as j, onMounted as ue, openBlock as M, ref as N, renderList as de, renderSlot as fe, resolveDynamicComponent as pe, toDisplayString as P, unref as F, useSlots as me, useTemplateRef as I, watch as L, withCtx as R, withModifiers as z } from "vue";
13
13
  import { useI18n as he } from "vue-i18n";
14
14
  //#region ../../packages/components/src/chat/toolComponentMap.ts
15
15
  var ge = {
16
- requestConfirm: O(() => import("./PkToolRequestConfirm-DAnxGAxc.js")),
17
- requestOAuthConnection: O(() => import("./PkToolRequestOAuthConnection-DklJCqEW.js")),
18
- showArtifact: O(() => import("./PkToolShowArtifact-Csjfo9Xl.js").then((e) => e.n)),
19
- showCalendarEvent: O(() => import("./PkToolShowCalendarEvent-B2tHaoqo.js").then((e) => e.n)),
20
- showComparison: O(() => import("./PkToolShowComparison-BLDtjv3w.js").then((e) => e.n)),
21
- showContactForm: O(() => import("./PkToolShowContactForm-CdgD4fd8.js").then((e) => e.n)),
22
- showDiagram: O(() => import("./PkToolShowDiagram-DGYQjjGj.js")),
23
- showEmail: O(() => import("./PkToolShowEmail-D42WDTO9.js").then((e) => e.n)),
24
- showImageGallery: O(() => import("./PkToolShowImageGallery-WANi2hA0.js").then((e) => e.n)),
25
- showLocation: O(() => import("./PkToolShowLocation-RVbaQoU5.js").then((e) => e.n)),
26
- showMessage: O(() => import("./PkToolShowMessage-D8UbJcas.js").then((e) => e.n)),
27
- showForm: O(() => import("./PkToolShowForm-BhVSPIAR.js").then((e) => e.n)),
28
- showMultipleChoice: O(() => import("./PkToolShowForm-BhVSPIAR.js").then((e) => e.n)),
29
- showProductList: O(() => import("./PkToolShowProductList-BQts3MBy.js").then((e) => e.n)),
30
- showQrCode: O(() => import("./PkToolShowQrCode-BybXCt5e.js").then((e) => e.n)),
31
- showSources: O(() => import("./PkToolShowSources-DRewYfe-.js").then((e) => e.n)),
32
- showSuggestedReply: O(() => import("./PkToolShowSuggestedReply-DKiYUsaZ.js").then((e) => e.n)),
33
- showWeather: O(() => import("./PkToolShowWeather-CQkJydKo.js")),
34
- showWebPages: O(() => import("./PkToolShowWebPages-IV3OzwJe.js").then((e) => e.n))
16
+ requestConfirm: k(() => import("./PkToolRequestConfirm-DAnxGAxc.js")),
17
+ requestOAuthConnection: k(() => import("./PkToolRequestOAuthConnection-DklJCqEW.js")),
18
+ showArtifact: k(() => import("./PkToolShowArtifact-CoYM3_A3.js").then((e) => e.n)),
19
+ showCalendarEvent: k(() => import("./PkToolShowCalendarEvent-BZYdRwid.js").then((e) => e.n)),
20
+ showComparison: k(() => import("./PkToolShowComparison-C4OP5c1t.js").then((e) => e.n)),
21
+ showContactForm: k(() => import("./PkToolShowContactForm-DjX9G8CD.js").then((e) => e.n)),
22
+ showDiagram: k(() => import("./PkToolShowDiagram-DHwAckwN.js")),
23
+ showEmail: k(() => import("./PkToolShowEmail-5waUO5cm.js").then((e) => e.n)),
24
+ showImageGallery: k(() => import("./PkToolShowImageGallery-D3bqInQn.js").then((e) => e.n)),
25
+ showLocation: k(() => import("./PkToolShowLocation-DE-dbJEw.js").then((e) => e.n)),
26
+ showMessage: k(() => import("./PkToolShowMessage-DCbW7AYl.js").then((e) => e.n)),
27
+ showForm: k(() => import("./PkToolShowForm-C7bOdRse.js").then((e) => e.n)),
28
+ showMultipleChoice: k(() => import("./PkToolShowForm-C7bOdRse.js").then((e) => e.n)),
29
+ showProductList: k(() => import("./PkToolShowProductList-Blsv3Cio.js").then((e) => e.n)),
30
+ showQrCode: k(() => import("./PkToolShowQrCode-BbMTgOW3.js").then((e) => e.n)),
31
+ showSources: k(() => import("./PkToolShowSources-B9d3iLVk.js").then((e) => e.n)),
32
+ showSuggestedReply: k(() => import("./PkToolShowSuggestedReply-B516t3Nb.js").then((e) => e.n)),
33
+ showWeather: k(() => import("./PkToolShowWeather-CQkJydKo.js")),
34
+ showWebPages: k(() => import("./PkToolShowWebPages-BF2aHJGK.js").then((e) => e.n))
35
35
  }, B = 30, V = 500;
36
36
  function _e(e) {
37
- let { scrollEl: t, status: n, messagesLength: r, lastMessageRole: i, autoScrollLimit: a, contentEl: ee, onScrollUp: te, onScrollDown: o } = e, s = N(!1), c = N(!0), l = !1, u = null, d = null, f = null, p = null, m = 0, h = (e = "smooth") => {
37
+ let { scrollEl: t, status: n, messagesLength: r, lastMessageRole: i, contentEl: a, onScrollUp: o, onScrollDown: ee } = e, s = N(!1), c = N(!0), l = !1, u = null, d = null, f = null, p = null, m = 0, h = (e = "smooth") => {
38
38
  !t.value || s.value || (l = !0, t.value.scrollTo({
39
39
  top: t.value.scrollHeight,
40
40
  behavior: e
41
41
  }), setTimeout(() => {
42
42
  l = !1;
43
43
  }, e === "instant" ? 0 : V));
44
- }, ne = (e) => {
44
+ }, te = (e) => {
45
45
  e.deltaY < 0 && (s.value = !0);
46
46
  }, g = 0, _ = (e) => {
47
47
  g = e.touches[0]?.clientY ?? 0;
48
48
  }, v = (e) => {
49
49
  let t = e.touches[0]?.clientY ?? 0;
50
50
  t > g && (s.value = !0), g = t;
51
- }, y = () => {
51
+ }, ne = () => {
52
52
  if (!t.value) return;
53
53
  let { scrollTop: e, scrollHeight: n, clientHeight: r } = t.value;
54
54
  if (c.value = n - r - e < B, l) {
55
55
  m = e;
56
56
  return;
57
57
  }
58
- e < m && te?.(), e > m && (c.value && (s.value = !1), o?.()), m = e;
59
- }, re = () => {
58
+ e < m && o?.(), e > m && (c.value && (s.value = !1), ee?.()), m = e;
59
+ }, y = () => {
60
60
  if (l || s.value || !t.value) return;
61
- let e = t.value, n = e.scrollHeight - e.clientHeight, r = a?.(), i = r !== void 0 && e.scrollTop <= r + 1 ? Math.min(n, r) : n;
62
- c.value = n - i < B, !(i <= e.scrollTop) && (l = !0, e.scrollTop = i, requestAnimationFrame(() => {
61
+ let e = t.value, n = e.scrollHeight - e.clientHeight;
62
+ n <= e.scrollTop || (c.value = !0, l = !0, e.scrollTop = n, requestAnimationFrame(() => {
63
63
  l = !1;
64
64
  }));
65
- }, ie = () => {
66
- u || !t.value || (u = new MutationObserver(re), u.observe(t.value, {
65
+ }, re = () => {
66
+ u || !t.value || (u = new MutationObserver(y), u.observe(t.value, {
67
67
  childList: !0,
68
68
  subtree: !0,
69
69
  characterData: !0
70
70
  }));
71
- }, ae = () => {
71
+ }, ie = () => {
72
72
  u?.disconnect(), u = null;
73
73
  };
74
74
  L(n, (e, t) => {
75
75
  if (e === "streaming" || e === "submitted") {
76
- ie();
76
+ re();
77
77
  return;
78
78
  }
79
- e === "ready" && t === "streaming" || ae();
79
+ e === "ready" && t === "streaming" || ie();
80
80
  }), L(r, async () => {
81
- r() && i() !== "assistant" && (S(), s.value = !1, l = !0, await k(), h());
81
+ r() && i() !== "assistant" && (S(), s.value = !1, l = !0, await A(), h());
82
82
  });
83
83
  let b = null, x = () => {
84
84
  t.value && (t.value.scrollHeight <= t.value.clientHeight || (t.value.scrollTop = t.value.scrollHeight, b && clearTimeout(b), b = setTimeout(S, 300)));
85
85
  }, S = () => {
86
86
  d?.disconnect(), d = null, f?.disconnect(), f = null, b &&= (clearTimeout(b), null);
87
87
  };
88
- return j(() => {
88
+ return ue(() => {
89
89
  if (!t.value) return;
90
- t.value.addEventListener("wheel", ne, { passive: !0 }), t.value.addEventListener("touchstart", _, { passive: !0 }), t.value.addEventListener("touchmove", v, { passive: !0 });
90
+ t.value.addEventListener("wheel", te, { passive: !0 }), t.value.addEventListener("touchstart", _, { passive: !0 }), t.value.addEventListener("touchmove", v, { passive: !0 });
91
91
  let e = n() === "submitted" || n() === "streaming";
92
- e ? ie() : (d = new ResizeObserver(x), d.observe(t.value), f = new MutationObserver(x), f.observe(t.value, {
92
+ e ? re() : (d = new ResizeObserver(x), d.observe(t.value), f = new MutationObserver(x), f.observe(t.value, {
93
93
  childList: !0,
94
94
  subtree: !0
95
95
  }));
96
- let r = ee?.() ?? t.value.firstElementChild;
97
- r && (p = new ResizeObserver(re), p.observe(r)), e || x();
98
- }), A(() => {
99
- t.value?.removeEventListener("wheel", ne), t.value?.removeEventListener("touchstart", _), t.value?.removeEventListener("touchmove", v), p?.disconnect(), p = null, ae(), S();
96
+ let r = a?.() ?? t.value.firstElementChild;
97
+ r && (p = new ResizeObserver(y), p.observe(r)), e || x();
98
+ }), j(() => {
99
+ t.value?.removeEventListener("wheel", te), t.value?.removeEventListener("touchstart", _), t.value?.removeEventListener("touchmove", v), p?.disconnect(), p = null, ie(), S();
100
100
  }), {
101
- handleScroll: y,
101
+ handleScroll: ne,
102
102
  scrollToBottom: h,
103
103
  userScrolledUp: s,
104
104
  isAtBottom: c
@@ -133,7 +133,7 @@ var ve = ["aria-busy"], ye = {
133
133
  }, Ie = { class: "truncate" }, Le = ["datetime"], Re = { class: "truncate" }, ze = {
134
134
  key: 3,
135
135
  class: "flex items-center gap-4 text-12 text-word-3"
136
- }, Be = ["title", "aria-label"], H = /* @__PURE__ */ se({
136
+ }, Be = ["title", "aria-label"], Ve = /* @__PURE__ */ oe({
137
137
  __name: "PkChatbotMessages",
138
138
  props: {
139
139
  status: {},
@@ -171,53 +171,49 @@ var ve = ["aria-busy"], ye = {
171
171
  "auto-retry",
172
172
  "reset-chat"
173
173
  ],
174
- setup(O, { emit: se }) {
175
- let A = O, j = se, { t: B, d: V, n: H } = he({ useScope: "global" }), Ve = me(), U = I("scrollEl"), He = I("wrapperEl"), Ue = S(() => m(A.textColor, A.mainColor)), We = I("messagesEl"), { handleScroll: Ge, scrollToBottom: Ke, userScrolledUp: qe, isAtBottom: Je } = _e({
176
- scrollEl: U,
177
- status: () => A.status,
178
- messagesLength: () => A.messages?.length,
179
- lastMessageRole: () => A.messages?.[A.messages.length - 1]?.role,
180
- autoScrollLimit: () => {
181
- let e = U.value, t = A.messages?.map((e) => e.role).lastIndexOf("user"), n = We.value?.[t ?? -1];
182
- if (!(!A.showScrollToBottom || !e || !n)) return e.scrollTop + n.getBoundingClientRect().top - e.getBoundingClientRect().top - Number.parseFloat(getComputedStyle(e).paddingTop);
183
- },
184
- contentEl: () => He.value,
185
- onScrollUp: () => j("scroll-up"),
186
- onScrollDown: () => j("scroll-down")
174
+ setup(k, { emit: oe }) {
175
+ let j = k, ue = oe, { t: B, d: V, n: Ve } = he({ useScope: "global" }), He = me(), H = I("scrollEl"), U = I("wrapperEl"), Ue = C(() => h(j.textColor, j.mainColor)), We = I("messagesEl"), { handleScroll: Ge, scrollToBottom: Ke, userScrolledUp: qe, isAtBottom: Je } = _e({
176
+ scrollEl: H,
177
+ status: () => j.status,
178
+ messagesLength: () => j.messages?.length,
179
+ lastMessageRole: () => j.messages?.[j.messages.length - 1]?.role,
180
+ contentEl: () => U.value,
181
+ onScrollUp: () => ue("scroll-up"),
182
+ onScrollDown: () => ue("scroll-down")
187
183
  }), Ye = () => {
188
184
  qe.value = !1, Ke();
189
- }, W = S(() => (A.messages ?? []).filter((e) => e.role === "user").map((e) => ({
185
+ }, W = C(() => (j.messages ?? []).filter((e) => e.role === "user").map((e) => ({
190
186
  id: e.id,
191
187
  preview: e.parts.find(i)?.text.trim().slice(0, 120) || "…"
192
- }))), Xe = N(), Ze = () => U.value?.querySelectorAll(".pk-chatbot-message--user") ?? [], Qe = () => {
193
- let e = U.value;
194
- if (!e || !A.showScrollToBottom) return;
188
+ }))), Xe = N(), Ze = () => H.value?.querySelectorAll(".pk-chatbot-message--user") ?? [], Qe = () => {
189
+ let e = H.value;
190
+ if (!e || !j.showScrollToBottom) return;
195
191
  let t = e.getBoundingClientRect().top + e.clientHeight / 2, n = W.value[0]?.id;
196
192
  Ze().forEach((e, r) => {
197
193
  e.getBoundingClientRect().top <= t && (n = W.value[r]?.id);
198
194
  }), Xe.value = n;
199
195
  };
200
196
  L(W, async () => {
201
- await k(), Qe();
197
+ await A(), Qe();
202
198
  });
203
199
  let $e = () => {
204
200
  Ge(), Qe();
205
201
  }, et = (e) => {
206
- let t = U.value, n = W.value.findIndex((t) => t.id === e), r = Ze()[n];
202
+ let t = H.value, n = W.value.findIndex((t) => t.id === e), r = Ze()[n];
207
203
  !t || !r || (qe.value = !0, t.scrollTo({
208
204
  top: t.scrollTop + r.getBoundingClientRect().top - t.getBoundingClientRect().top - Number.parseFloat(getComputedStyle(t).paddingTop),
209
205
  behavior: "smooth"
210
206
  }));
211
207
  }, G = N(0);
212
- L(() => [A.messages?.length, A.messages?.[A.messages.length - 1]?.id], async () => {
213
- let e = A.messages;
214
- if (!e?.length || A.disableHeightAdjustment || !(e[e.length - 1].role === "user" || A.status === "submitted" || A.status === "streaming") || (await k(), !U.value)) return;
215
- let { paddingTop: t, paddingBottom: n } = getComputedStyle(U.value), r = U.value.clientHeight - Number.parseFloat(t) - Number.parseFloat(n), i = e.map((e) => e.role).lastIndexOf("user"), a = r - (We.value?.[i]?.clientHeight ?? 0);
216
- a > 0 && (G.value = a);
217
- }), L(() => A.status, (e) => {
208
+ L(() => [j.messages?.length, j.messages?.[j.messages.length - 1]?.id], async () => {
209
+ let e = j.messages;
210
+ if (!e?.length || j.disableHeightAdjustment || !(e[e.length - 1].role === "user" || j.status === "submitted" || j.status === "streaming") || (await A(), !H.value)) return;
211
+ let { paddingTop: t, paddingBottom: n } = getComputedStyle(H.value), r = H.value.clientHeight - Number.parseFloat(t) - Number.parseFloat(n), i = U.value && Number.parseFloat(getComputedStyle(U.value).rowGap) || 0, a = e.map((e) => e.role).lastIndexOf("user"), o = r - (We.value?.[a]?.clientHeight ?? 0) - i;
212
+ o > 0 && (G.value = o);
213
+ }), L(() => j.status, (e) => {
218
214
  (e === "ready" || e === "error") && (G.value = 0);
219
215
  });
220
- let K = (e) => A.revisedAnswers?.some((t) => t.messageId === e), q = (e) => A.messageFeedbacks?.find((t) => t.messageId === e), tt = (e, t) => !A.readonlyFeedback && ht(e, t), nt = (e) => A.readonlyFeedback ? q(e) : void 0, J = (e) => nt(e)?.vote, Y = (e) => {
216
+ let K = (e) => j.revisedAnswers?.some((t) => t.messageId === e), q = (e) => j.messageFeedbacks?.find((t) => t.messageId === e), tt = (e, t) => !j.readonlyFeedback && ht(e, t), nt = (e) => j.readonlyFeedback ? q(e) : void 0, J = (e) => nt(e)?.vote, Y = (e) => {
221
217
  let t = nt(e);
222
218
  if (t?.vote) return;
223
219
  let n = t?.metadata?.reactionEmoji;
@@ -233,39 +229,39 @@ var ve = ["aria-busy"], ye = {
233
229
  let t = lt(e);
234
230
  for (let e = t.length - 1; e >= 0; --e) if (i(t[e])) return e;
235
231
  return -1;
236
- }, st = S(() => A.messages?.[A.messages.length - 1]), X = S(() => {
232
+ }, st = C(() => j.messages?.[j.messages.length - 1]), X = C(() => {
237
233
  let e = st.value;
238
234
  return e ? e.parts[e.parts.length - 1] : null;
239
- }), ct = S(() => {
235
+ }), ct = C(() => {
240
236
  let e = /* @__PURE__ */ new Map();
241
- for (let t of A.messages ?? []) t.role === "assistant" && e.set(t.id, v(t.parts));
237
+ for (let t of j.messages ?? []) t.role === "assistant" && e.set(t.id, ne(t.parts));
242
238
  return e;
243
- }), lt = (e) => ct.value.get(e.id) ?? e.parts, Z = S(() => A.status === "submitted" || A.status === "streaming"), ut = S(() => A.status === "error"), dt = S(() => {
239
+ }), lt = (e) => ct.value.get(e.id) ?? e.parts, Z = C(() => j.status === "submitted" || j.status === "streaming"), ut = C(() => j.status === "error"), dt = C(() => {
244
240
  let e = X.value;
245
- return p(B, e);
246
- }), ft = S(() => {
241
+ return m(B, e);
242
+ }), ft = C(() => {
247
243
  let e = X.value;
248
- return _(e);
249
- }), pt = (e) => A.messages?.findIndex((t) => t.id === e), Q = (e) => e === void 0 || !A.messages ? !1 : e === A.messages.length - 1, mt = (e) => Q(e) && A.status === "ready" && !!A.actions?.includes("regenerate"), ht = (e, t) => (!Q(t) || A.status === "ready") && !!A.actions?.includes(e), gt = (e) => {
244
+ return v(e);
245
+ }), pt = (e) => j.messages?.findIndex((t) => t.id === e), Q = (e) => e === void 0 || !j.messages ? !1 : e === j.messages.length - 1, mt = (e) => Q(e) && j.status === "ready" && !!j.actions?.includes("regenerate"), ht = (e, t) => (!Q(t) || j.status === "ready") && !!j.actions?.includes(e), gt = (e) => {
250
246
  let t = e.parts[e.parts.length - 1];
251
247
  return i(t);
252
- }, _t = (e) => e.parts.some((e) => a(e) || t(e)), vt = (e) => !!A.showExtendedSteps && $(e) && _t(e), $ = (e) => e.role === "assistant", yt = (e) => e.role === "user", bt = (e) => A.messages?.slice(0, e).reverse().find((e) => $(e)), xt = (e) => A.messages?.slice(e + 1).find((e) => $(e)), St = (e) => {
248
+ }, _t = (e) => e.parts.some((e) => a(e) || t(e)), vt = (e) => !!j.showExtendedSteps && $(e) && _t(e), $ = (e) => e.role === "assistant", yt = (e) => e.role === "user", bt = (e) => j.messages?.slice(0, e).reverse().find((e) => $(e)), xt = (e) => j.messages?.slice(e + 1).find((e) => $(e)), St = (e) => {
253
249
  let t = bt(e)?.metadata?.createdAt, n = xt(e)?.metadata?.createdAt;
254
250
  if (!t || !n) return;
255
251
  let r = new Date(t), i = new Date(n);
256
252
  return r.toDateString() === i.toDateString() ? void 0 : i;
257
- }, Ct = (e, t) => t === 0 || e.role !== "assistant" ? !1 : !!(A.actions?.length || A.showMessageDateTime && e.metadata?.createdAt !== void 0 || e.metadata?.completedAt !== void 0 || A.showMessageTokensCount && e.metadata?.totalTokens !== void 0), wt = (e) => {
253
+ }, Ct = (e, t) => t === 0 || e.role !== "assistant" ? !1 : !!(j.actions?.length || j.showMessageDateTime && e.metadata?.createdAt !== void 0 || e.metadata?.completedAt !== void 0 || j.showMessageTokensCount && e.metadata?.totalTokens !== void 0), wt = (e) => {
258
254
  let t = new Date(e);
259
255
  return V(t, t.toDateString() === (/* @__PURE__ */ new Date()).toDateString() ? "time" : "date-time");
260
256
  }, Tt = (e) => {
261
257
  let { createdAt: t, completedAt: n } = e.metadata ?? {};
262
- if (!(!t || !n)) return g(H, n - t);
258
+ if (!(!t || !n)) return _(Ve, n - t);
263
259
  }, Et = I("feedbackMessageEl");
264
- return L(() => A.feedbackMessageId, async () => {
265
- if (await k(), !A.feedbackMessageId) return;
260
+ return L(() => j.feedbackMessageId, async () => {
261
+ if (await A(), !j.feedbackMessageId) return;
266
262
  let e = Et.value?.[0]?.$el;
267
263
  if (e) {
268
- if (Q(pt(A.feedbackMessageId))) {
264
+ if (Q(pt(j.feedbackMessageId))) {
269
265
  Ke();
270
266
  return;
271
267
  }
@@ -274,94 +270,94 @@ var ve = ["aria-busy"], ye = {
274
270
  block: "center"
275
271
  });
276
272
  }
277
- }), (a, p) => {
278
- let m = ae, g = re, v = ie;
279
- return M(), T("div", {
273
+ }), (a, m) => {
274
+ let h = b, _ = re, ne = ie;
275
+ return M(), E("div", {
280
276
  ref_key: "scrollEl",
281
- ref: U,
277
+ ref: H,
282
278
  class: "pk-chatbot-messages",
283
279
  role: "log",
284
280
  "aria-live": "polite",
285
281
  "aria-relevant": "additions text",
286
282
  "aria-busy": Z.value,
287
- style: ue({
288
- "--chatbot-main-color": O.mainColor,
283
+ style: le({
284
+ "--chatbot-main-color": k.mainColor,
289
285
  "--chatbot-contrast-color": Ue.value
290
286
  }),
291
287
  onScroll: $e
292
288
  }, [
293
- O.showScrollToBottom && W.value.length > 1 ? (M(), T("div", ye, [D(y, {
289
+ k.showScrollToBottom && W.value.length > 1 ? (M(), E("div", ye, [O(y, {
294
290
  items: W.value,
295
291
  "active-id": Xe.value,
296
292
  onSelect: et
297
- }, null, 8, ["items", "active-id"])])) : w("", !0),
298
- E("div", {
293
+ }, null, 8, ["items", "active-id"])])) : T("", !0),
294
+ D("div", {
299
295
  ref_key: "wrapperEl",
300
- ref: He,
296
+ ref: U,
301
297
  class: "pk-chatbot-messages__wrapper"
302
298
  }, [
303
- (M(!0), T(b, null, de(O.messages, (e, y) => (M(), T(b, { key: e.id }, [yt(e) && St(y) ? (M(), T("div", be, [E("span", xe, P(F(V)(St(y), "short")), 1)])) : w("", !0), e.parts.length || Q(y) && Z.value && $(e) ? (M(), T("div", {
299
+ (M(!0), E(x, null, de(k.messages, (e, y) => (M(), E(x, { key: e.id }, [yt(e) && St(y) ? (M(), E("div", be, [D("span", xe, P(F(V)(St(y), "short")), 1)])) : T("", !0), e.parts.length || Q(y) && Z.value && $(e) ? (M(), E("div", {
304
300
  key: 1,
305
301
  ref_for: !0,
306
302
  ref: "messagesEl",
307
- class: le(["pk-chatbot-message", [`pk-chatbot-message--${e.role}`, { "pk-chatbot-message--loading": Z.value && Q(y) && $(e) }]]),
308
- style: ue({ minHeight: Q(y) && $(e) && !ut.value ? `${G.value}px` : void 0 })
303
+ class: ce(["pk-chatbot-message", [`pk-chatbot-message--${e.role}`, { "pk-chatbot-message--loading": Z.value && Q(y) && $(e) }]]),
304
+ style: le({ minHeight: Q(y) && $(e) && !ut.value ? `${G.value}px` : void 0 })
309
305
  }, [
310
- D(x, {
306
+ O(S, {
311
307
  appear: "",
312
308
  name: "pk-chatbot-part"
313
309
  }, {
314
- default: R(() => [vt(e) ? (M(), C(f, {
310
+ default: R(() => [vt(e) ? (M(), w(p, {
315
311
  key: 0,
316
312
  message: e,
317
313
  "is-streaming": Z.value && Q(y),
318
- "is-dark": O.isDark
314
+ "is-dark": k.isDark
319
315
  }, null, 8, [
320
316
  "message",
321
317
  "is-streaming",
322
318
  "is-dark"
323
- ])) : w("", !0)]),
319
+ ])) : T("", !0)]),
324
320
  _: 2
325
321
  }, 1024),
326
- (M(!0), T(b, null, de(lt(e), (o, l) => (M(), T(b, { key: l }, [F(i)(o) && o.text.trim() ? (M(), C(x, {
322
+ (M(!0), E(x, null, de(lt(e), (s, u) => (M(), E(x, { key: u }, [F(i)(s) && s.text.trim() ? (M(), w(S, {
327
323
  key: 0,
328
324
  appear: "",
329
325
  name: "pk-chatbot-part"
330
326
  }, {
331
- default: R(() => [E("div", Se, [fe(a.$slots, "text", ce({ ref_for: !0 }, {
327
+ default: R(() => [D("div", Se, [fe(a.$slots, "text", se({ ref_for: !0 }, {
332
328
  message: e,
333
- part: o,
329
+ part: s,
334
330
  index: y,
335
331
  isLoading: Z.value
336
- }), () => [$(e) ? (M(), C(s, {
332
+ }), () => [$(e) ? (M(), w(c, {
337
333
  key: 0,
338
334
  class: "wysiwyg",
339
- markdown: o.text,
340
- "is-dark": O.isDark,
341
- loading: Q(y) && O.status === "streaming"
335
+ markdown: s.text,
336
+ "is-dark": k.isDark,
337
+ loading: Q(y) && k.status === "streaming"
342
338
  }, null, 8, [
343
339
  "markdown",
344
340
  "is-dark",
345
341
  "loading"
346
- ])) : (M(), T(b, { key: 1 }, [oe(P(o.text), 1)], 64))]), rt(e.id) && !q(e.id)?.comment && l === ot(e) ? (M(), T("span", {
342
+ ])) : (M(), E(x, { key: 1 }, [ae(P(s.text), 1)], 64))]), rt(e.id) && !q(e.id)?.comment && u === ot(e) ? (M(), E("span", {
347
343
  key: 0,
348
- class: le(["pk-chatbot-message__reaction", it(e.id)]),
344
+ class: ce(["pk-chatbot-message__reaction", it(e.id)]),
349
345
  title: at(e.id)
350
- }, [Y(e.id) ? (M(), T("span", we, P(Y(e.id)), 1)) : (M(), C(m, {
346
+ }, [Y(e.id) ? (M(), E("span", we, P(Y(e.id)), 1)) : (M(), w(h, {
351
347
  key: 1,
352
348
  name: J(e.id) === "downvote" ? "ri:thumb-down-fill" : "ri:thumb-up-fill"
353
- }, null, 8, ["name"]))], 10, Ce)) : w("", !0)])]),
349
+ }, null, 8, ["name"]))], 10, Ce)) : T("", !0)])]),
354
350
  _: 2
355
- }, 1024)) : F(ee)(o) ? (M(), C(x, {
351
+ }, 1024)) : F(o)(s) ? (M(), w(S, {
356
352
  key: 1,
357
353
  appear: "",
358
354
  name: "pk-chatbot-part"
359
355
  }, {
360
- default: R(() => [D(c, {
361
- "media-type": o.mediaType,
362
- url: o.url,
363
- filename: o.filename,
364
- size: F(te)(o)?.bytesCount
356
+ default: R(() => [O(l, {
357
+ "media-type": s.mediaType,
358
+ url: s.url,
359
+ filename: s.filename,
360
+ size: F(ee)(s)?.bytesCount
365
361
  }, null, 8, [
366
362
  "media-type",
367
363
  "url",
@@ -369,97 +365,97 @@ var ve = ["aria-busy"], ye = {
369
365
  "size"
370
366
  ])]),
371
367
  _: 2
372
- }, 1024)) : F(t)(o) && !F(ne)(o) && (F(ge)[F(r)(o)] || F(Ve)[o.type] || O.showAllMessageParts) ? (M(), C(x, {
368
+ }, 1024)) : F(t)(s) && !F(g)(s) && (F(ge)[F(r)(s)] || F(He)[s.type] || k.showAllMessageParts) ? (M(), w(S, {
373
369
  key: 2,
374
370
  appear: "",
375
371
  name: "pk-chatbot-part"
376
372
  }, {
377
- default: R(() => [!F(Ve)[o.type] && F(ge)[F(r)(o)] ? (M(), C(pe(F(ge)[F(r)(o)]), {
378
- key: `component-${l}-${F(h)(o)}`,
379
- part: o
380
- }, null, 8, ["part"])) : fe(a.$slots, o.type, ce({
373
+ default: R(() => [!F(He)[s.type] && F(ge)[F(r)(s)] ? (M(), w(pe(F(ge)[F(r)(s)]), {
374
+ key: `component-${u}-${F(te)(s)}`,
375
+ part: s
376
+ }, null, 8, ["part"])) : fe(a.$slots, s.type, se({
381
377
  key: 1,
382
378
  ref_for: !0
383
379
  }, {
384
380
  message: e,
385
- part: o,
381
+ part: s,
386
382
  index: y,
387
383
  isLoading: Z.value
388
- }), () => [O.showAllMessageParts ? (M(), T("div", Te, [E("div", Ee, [F(_)(o) ? (M(), C(m, {
384
+ }), () => [k.showAllMessageParts ? (M(), E("div", Te, [D("div", Ee, [F(v)(s) ? (M(), w(h, {
389
385
  key: 0,
390
- name: F(_)(o),
386
+ name: F(v)(s),
391
387
  class: "shrink-0"
392
- }, null, 8, ["name"])) : w("", !0), E("code", De, P(F(n)(o.type)), 1)])])) : w("", !0)])]),
388
+ }, null, 8, ["name"])) : T("", !0), D("code", De, P(F(n)(s.type)), 1)])])) : T("", !0)])]),
393
389
  _: 2
394
- }, 1024)) : w("", !0), D(x, { mode: "out-in" }, {
395
- default: R(() => [l === ot(e) && O.readonlyFeedback && q(e.id)?.comment ? (M(), C(u, {
390
+ }, 1024)) : T("", !0), O(S, { mode: "out-in" }, {
391
+ default: R(() => [u === ot(e) && k.readonlyFeedback && q(e.id)?.comment ? (M(), w(d, {
396
392
  key: 0,
397
393
  feedback: q(e.id)
398
- }, null, 8, ["feedback"])) : w("", !0)]),
394
+ }, null, 8, ["feedback"])) : T("", !0)]),
399
395
  _: 2
400
396
  }, 1024)], 64))), 128)),
401
- D(x, {
397
+ O(S, {
402
398
  name: "fade-in",
403
399
  mode: "out-in"
404
400
  }, {
405
- default: R(() => [Z.value && Q(y) && !gt(e) && $(e) && !vt(e) ? (M(), T("div", {
401
+ default: R(() => [Z.value && Q(y) && !gt(e) && $(e) && !vt(e) ? (M(), E("div", {
406
402
  key: `loading-info-${e.id}`,
407
403
  class: "pk-chatbot-message__loading-info"
408
- }, [E("div", Oe, [
409
- D(m, {
404
+ }, [D("div", Oe, [
405
+ O(h, {
410
406
  name: "line-md:loading-loop",
411
407
  class: "shrink-0"
412
408
  }),
413
- D(x, { mode: "out-in" }, {
414
- default: R(() => [ft.value ? (M(), C(m, {
409
+ O(S, { mode: "out-in" }, {
410
+ default: R(() => [ft.value ? (M(), w(h, {
415
411
  key: ft.value,
416
412
  class: "shrink-0",
417
413
  name: ft.value
418
- }, null, 8, ["name"])) : w("", !0)]),
414
+ }, null, 8, ["name"])) : T("", !0)]),
419
415
  _: 1
420
416
  }),
421
- D(x, { mode: "out-in" }, {
422
- default: R(() => [dt.value ? (M(), T("span", {
417
+ O(S, { mode: "out-in" }, {
418
+ default: R(() => [dt.value ? (M(), E("span", {
423
419
  key: dt.value,
424
420
  class: "text-12"
425
- }, P(dt.value), 1)) : w("", !0)]),
421
+ }, P(dt.value), 1)) : T("", !0)]),
426
422
  _: 1
427
423
  })
428
- ]), D(x, {
424
+ ]), O(S, {
429
425
  name: "fade-in",
430
426
  mode: "out-in"
431
427
  }, {
432
- default: R(() => [X.value && "text" in X.value && X.value.text.trim() ? (M(), C(d, {
428
+ default: R(() => [X.value && "text" in X.value && X.value.text.trim() ? (M(), w(f, {
433
429
  key: 0,
434
430
  markdown: X.value.text,
435
- "is-dark": O.isDark,
431
+ "is-dark": k.isDark,
436
432
  "inner-class": "wysiwyg",
437
433
  class: "border border-surface-4 rounded p-4 mt-8 bg-surface-1 max-h-64 text-12 w-full"
438
- }, null, 8, ["markdown", "is-dark"])) : w("", !0)]),
434
+ }, null, 8, ["markdown", "is-dark"])) : T("", !0)]),
439
435
  _: 1
440
- })])) : w("", !0)]),
436
+ })])) : T("", !0)]),
441
437
  _: 2
442
438
  }, 1024),
443
- D(x, { mode: "out-in" }, {
444
- default: R(() => [Ct(e, y) ? (M(), T("div", ke, [
445
- D(v, {
439
+ O(S, { mode: "out-in" }, {
440
+ default: R(() => [Ct(e, y) ? (M(), E("div", ke, [
441
+ O(ne, {
446
442
  modifiers: "compact",
447
443
  class: "mr-auto shrink-0"
448
444
  }, {
449
445
  default: R(() => [
450
- D(x, { mode: "out-in" }, {
451
- default: R(() => [mt(y) ? (M(), C(g, {
446
+ O(S, { mode: "out-in" }, {
447
+ default: R(() => [mt(y) ? (M(), w(_, {
452
448
  key: 0,
453
449
  icon: "ri:reset-right-line",
454
450
  modifiers: "action-quiet-small",
455
451
  title: F(B)("action.regenerate"),
456
452
  "aria-label": F(B)("action.regenerate"),
457
- onClick: p[0] ||= z((e) => a.$emit("regenerate"), ["stop"])
458
- }, null, 8, ["title", "aria-label"])) : w("", !0)]),
453
+ onClick: m[0] ||= z((e) => a.$emit("regenerate"), ["stop"])
454
+ }, null, 8, ["title", "aria-label"])) : T("", !0)]),
459
455
  _: 2
460
456
  }, 1024),
461
- D(x, { mode: "out-in" }, {
462
- default: R(() => [ht("show-info", y) ? (M(), C(g, {
457
+ O(S, { mode: "out-in" }, {
458
+ default: R(() => [ht("show-info", y) ? (M(), w(_, {
463
459
  key: 0,
464
460
  icon: "ri:information-line",
465
461
  title: F(B)("action.getMoreInfo"),
@@ -470,17 +466,17 @@ var ve = ["aria-busy"], ye = {
470
466
  "title",
471
467
  "aria-label",
472
468
  "onClick"
473
- ])) : w("", !0)]),
469
+ ])) : T("", !0)]),
474
470
  _: 2
475
471
  }, 1024),
476
- D(x, { mode: "out-in" }, {
477
- default: R(() => [ht("revise", y) ? (M(), C(g, {
472
+ O(S, { mode: "out-in" }, {
473
+ default: R(() => [ht("revise", y) ? (M(), w(_, {
478
474
  key: 0,
479
475
  icon: K(e.id) ? "ri:file-edit-fill" : "ri:file-edit-line",
480
476
  title: K(e.id) ? F(B)("action.editRevise") : F(B)("action.createRevise"),
481
477
  "aria-label": K(e.id) ? F(B)("action.editRevise") : F(B)("action.createRevise"),
482
478
  modifiers: "action-quiet-small",
483
- class: le({ "text-brand": K(e.id) }),
479
+ class: ce({ "text-brand": K(e.id) }),
484
480
  onClick: z((t) => a.$emit("revise", e), ["stop"])
485
481
  }, null, 8, [
486
482
  "icon",
@@ -488,11 +484,11 @@ var ve = ["aria-busy"], ye = {
488
484
  "aria-label",
489
485
  "class",
490
486
  "onClick"
491
- ])) : w("", !0)]),
487
+ ])) : T("", !0)]),
492
488
  _: 2
493
489
  }, 1024),
494
- D(x, { mode: "out-in" }, {
495
- default: R(() => [tt("upvote", y) ? (M(), C(g, {
490
+ O(S, { mode: "out-in" }, {
491
+ default: R(() => [tt("upvote", y) ? (M(), w(_, {
496
492
  key: 0,
497
493
  icon: q(e.id)?.vote === "upvote" ? "ri:thumb-up-fill" : "ri:thumb-up-line",
498
494
  title: F(B)("action.upvote"),
@@ -504,11 +500,11 @@ var ve = ["aria-busy"], ye = {
504
500
  "title",
505
501
  "aria-label",
506
502
  "onClick"
507
- ])) : w("", !0)]),
503
+ ])) : T("", !0)]),
508
504
  _: 2
509
505
  }, 1024),
510
- D(x, { mode: "out-in" }, {
511
- default: R(() => [tt("downvote", y) ? (M(), C(g, {
506
+ O(S, { mode: "out-in" }, {
507
+ default: R(() => [tt("downvote", y) ? (M(), w(_, {
512
508
  key: 0,
513
509
  icon: q(e.id)?.vote === "downvote" ? "ri:thumb-down-fill" : "ri:thumb-down-line",
514
510
  title: F(B)("action.downvote"),
@@ -520,11 +516,11 @@ var ve = ["aria-busy"], ye = {
520
516
  "title",
521
517
  "aria-label",
522
518
  "onClick"
523
- ])) : w("", !0)]),
519
+ ])) : T("", !0)]),
524
520
  _: 2
525
521
  }, 1024),
526
- D(x, { mode: "out-in" }, {
527
- default: R(() => [tt("feedback", y) ? (M(), C(g, {
522
+ O(S, { mode: "out-in" }, {
523
+ default: R(() => [tt("feedback", y) ? (M(), w(_, {
528
524
  key: 0,
529
525
  icon: q(e.id)?.comment ? "ri:feedback-fill" : "ri:feedback-line",
530
526
  title: F(B)("action.feedback"),
@@ -536,92 +532,92 @@ var ve = ["aria-busy"], ye = {
536
532
  "title",
537
533
  "aria-label",
538
534
  "onClick"
539
- ])) : w("", !0)]),
535
+ ])) : T("", !0)]),
540
536
  _: 2
541
537
  }, 1024)
542
538
  ]),
543
539
  _: 2
544
540
  }, 1024),
545
- !O.showMessageDateTime && e.metadata?.createdAt && e.metadata?.completedAt ? (M(), T("div", Ae, [E("time", {
541
+ !k.showMessageDateTime && e.metadata?.createdAt && e.metadata?.completedAt ? (M(), E("div", Ae, [D("time", {
546
542
  datetime: new Date(e.metadata.createdAt).toISOString(),
547
543
  title: F(V)(new Date(e.metadata.createdAt), "date-time"),
548
544
  class: "flex items-center gap-4 min-w-0"
549
- }, [D(m, {
545
+ }, [O(h, {
550
546
  name: "ri:time-line",
551
547
  class: "shrink-0"
552
- }), E("span", Me, P(wt(e.metadata.createdAt)), 1)], 8, je), Tt(e) ? (M(), T("span", Ne, [D(m, {
548
+ }), D("span", Me, P(wt(e.metadata.createdAt)), 1)], 8, je), Tt(e) ? (M(), E("span", Ne, [O(h, {
553
549
  name: "ri:hourglass-line",
554
550
  class: "shrink-0"
555
- }), E("span", Pe, P(Tt(e)), 1)])) : w("", !0)])) : w("", !0),
556
- O.showMessageTokensCount && e.metadata?.totalTokens ? (M(), T("span", Fe, [D(m, {
551
+ }), D("span", Pe, P(Tt(e)), 1)])) : T("", !0)])) : T("", !0),
552
+ k.showMessageTokensCount && e.metadata?.totalTokens ? (M(), E("span", Fe, [O(h, {
557
553
  name: "ri:ai-generate-2-line",
558
554
  class: "shrink-0"
559
- }), E("span", Ie, P(F(H)(e.metadata.totalTokens, "integer")) + " " + P(F(B)("label.tokens")), 1)])) : w("", !0),
560
- O.showMessageDateTime && e.metadata?.createdAt ? (M(), T("time", {
555
+ }), D("span", Ie, P(F(Ve)(e.metadata.totalTokens, "integer")) + " " + P(F(B)("label.tokens")), 1)])) : T("", !0),
556
+ k.showMessageDateTime && e.metadata?.createdAt ? (M(), E("time", {
561
557
  key: 2,
562
558
  datetime: new Date(e.metadata?.createdAt).toISOString(),
563
559
  class: "flex items-center gap-4 text-12 text-word-3"
564
- }, [D(m, {
560
+ }, [O(h, {
565
561
  name: "ri:time-line",
566
562
  class: "shrink-0"
567
- }), E("span", Re, P(F(V)(new Date(e.metadata?.createdAt), "date-time")), 1)], 8, Le)) : w("", !0),
568
- O.showMessageDateTime && e?.metadata?.completedAt && e?.metadata?.createdAt ? (M(), T("div", ze, [D(m, {
563
+ }), D("span", Re, P(F(V)(new Date(e.metadata?.createdAt), "date-time")), 1)], 8, Le)) : T("", !0),
564
+ k.showMessageDateTime && e?.metadata?.completedAt && e?.metadata?.createdAt ? (M(), E("div", ze, [O(h, {
569
565
  name: "ri:hourglass-line",
570
566
  class: "shrink-0"
571
- }), D(o, {
567
+ }), O(s, {
572
568
  class: "truncate",
573
569
  date: e.metadata?.createdAt,
574
570
  "end-date": e.metadata?.completedAt
575
- }, null, 8, ["date", "end-date"])])) : w("", !0)
576
- ])) : w("", !0)]),
571
+ }, null, 8, ["date", "end-date"])])) : T("", !0)
572
+ ])) : T("", !0)]),
577
573
  _: 2
578
574
  }, 1024),
579
- D(x, { mode: "out-in" }, {
580
- default: R(() => [e.id === O.feedbackMessageId ? (M(), C(l, {
575
+ O(S, { mode: "out-in" }, {
576
+ default: R(() => [e.id === k.feedbackMessageId ? (M(), w(u, {
581
577
  key: 0,
582
578
  ref_for: !0,
583
579
  ref_key: "feedbackMessageEl",
584
580
  ref: Et,
585
- loading: O.feedbackLoading,
586
- submitted: O.feedbackSubmitted,
587
- error: O.feedbackError,
588
- onSubmit: p[1] ||= (e) => a.$emit("feedback-submit", e),
589
- onClose: p[2] ||= (e) => a.$emit("feedback-close")
581
+ loading: k.feedbackLoading,
582
+ submitted: k.feedbackSubmitted,
583
+ error: k.feedbackError,
584
+ onSubmit: m[1] ||= (e) => a.$emit("feedback-submit", e),
585
+ onClose: m[2] ||= (e) => a.$emit("feedback-close")
590
586
  }, null, 8, [
591
587
  "loading",
592
588
  "submitted",
593
589
  "error"
594
- ])) : w("", !0)]),
590
+ ])) : T("", !0)]),
595
591
  _: 2
596
592
  }, 1024)
597
- ], 6)) : w("", !0)], 64))), 128)),
598
- D(x, {
593
+ ], 6)) : T("", !0)], 64))), 128)),
594
+ O(S, {
599
595
  appear: "",
600
596
  name: "pk-chatbot-part"
601
597
  }, {
602
- default: R(() => [ut.value ? (M(), C(e, {
598
+ default: R(() => [ut.value ? (M(), w(e, {
603
599
  key: 0,
604
- error: O.error,
605
- onRetry: p[3] ||= (e) => a.$emit("auto-retry"),
606
- onReset: p[4] ||= (e) => a.$emit("reset-chat")
607
- }, null, 8, ["error"])) : w("", !0)]),
600
+ error: k.error,
601
+ onRetry: m[3] ||= (e) => a.$emit("auto-retry"),
602
+ onReset: m[4] ||= (e) => a.$emit("reset-chat")
603
+ }, null, 8, ["error"])) : T("", !0)]),
608
604
  _: 1
609
605
  }),
610
- st.value?.role === "user" || ut.value ? (M(), T("div", {
606
+ st.value?.role === "user" || ut.value ? (M(), E("div", {
611
607
  key: 0,
612
608
  class: "pk-chatbot-messages__spacer",
613
- style: ue({ minHeight: `${G.value}px` })
614
- }, null, 4)) : w("", !0)
609
+ style: le({ minHeight: `${G.value}px` })
610
+ }, null, 4)) : T("", !0)
615
611
  ], 512),
616
- D(x, { name: "pk-chatbot-messages-fab" }, {
617
- default: R(() => [O.showScrollToBottom && (F(qe) || !F(Je)) ? (M(), T("button", {
612
+ O(S, { name: "pk-chatbot-messages-fab" }, {
613
+ default: R(() => [k.showScrollToBottom && (F(qe) || !F(Je)) ? (M(), E("button", {
618
614
  key: 0,
619
615
  type: "button",
620
616
  class: "pk-chatbot-messages__scroll-to-bottom",
621
617
  title: F(B)("action.scrollToBottom"),
622
618
  "aria-label": F(B)("action.scrollToBottom"),
623
619
  onClick: Ye
624
- }, [D(m, { name: "ri:arrow-down-line" })], 8, Be)) : w("", !0)]),
620
+ }, [O(h, { name: "ri:arrow-down-line" })], 8, Be)) : T("", !0)]),
625
621
  _: 1
626
622
  })
627
623
  ], 44, ve);
@@ -629,6 +625,6 @@ var ve = ["aria-busy"], ye = {
629
625
  }
630
626
  });
631
627
  //#endregion
632
- export { H as t };
628
+ export { Ve as t };
633
629
 
634
- //# sourceMappingURL=PkChatbotMessages-DLP7utmG.js.map
630
+ //# sourceMappingURL=PkChatbotMessages-BR5JUybd.js.map