@8wave/ai-elements 0.126.0-beta.40 → 0.126.0-beta.41

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 (155) hide show
  1. package/dist/_chunks/{Agent-DZEyfr8D.js → Agent-DJ6TBi6l.js} +143 -138
  2. package/dist/_chunks/Agent-DJ6TBi6l.js.map +1 -0
  3. package/dist/_chunks/{PkFilePreview-BHqmp1EW.js → PkFilePreview-BrWWeK4E.js} +3 -3
  4. package/dist/_chunks/{PkFilePreview-BHqmp1EW.js.map → PkFilePreview-BrWWeK4E.js.map} +1 -1
  5. package/dist/_chunks/{PkFilePreviewDialog-BHAgVlKs.js → PkFilePreviewDialog-BRZH_LxY.js} +2 -2
  6. package/dist/_chunks/{PkFilePreviewDialog-BHAgVlKs.js.map → PkFilePreviewDialog-BRZH_LxY.js.map} +1 -1
  7. package/dist/_chunks/{PkImageEditorDialog-BDwL39Du.js → PkImageEditorDialog-D21ggZkD.js} +6 -5
  8. package/dist/_chunks/{PkImageEditorDialog-BDwL39Du.js.map → PkImageEditorDialog-D21ggZkD.js.map} +1 -1
  9. package/dist/_chunks/{PkSelectionActions-DLsZ8-gW.js → PkSelectionActions-BLfFobXb.js} +2 -2
  10. package/dist/_chunks/{PkSelectionActions-DLsZ8-gW.js.map → PkSelectionActions-BLfFobXb.js.map} +1 -1
  11. package/dist/_chunks/{PkStreamingMarkdown-14rJ_FK2.js → PkStreamingMarkdown-Bekhx_vG.js} +300 -213
  12. package/dist/_chunks/PkStreamingMarkdown-Bekhx_vG.js.map +1 -0
  13. package/dist/_chunks/{PkToolChatFile-62j1S0Pq.js → PkToolChatFile-BzN4fMaY.js} +3 -3
  14. package/dist/_chunks/{PkToolChatFile-62j1S0Pq.js.map → PkToolChatFile-BzN4fMaY.js.map} +1 -1
  15. package/dist/_chunks/{PkToolRequestGeolocation-B9EM_K6O.js → PkToolRequestGeolocation-Dj5OxEMP.js} +2 -2
  16. package/dist/_chunks/{PkToolRequestGeolocation-B9EM_K6O.js.map → PkToolRequestGeolocation-Dj5OxEMP.js.map} +1 -1
  17. package/dist/_chunks/{PkToolRequestOAuthConnection-CfjfqCHX.js → PkToolRequestOAuthConnection-Cj_IYnrW.js} +2 -2
  18. package/dist/_chunks/{PkToolRequestOAuthConnection-CfjfqCHX.js.map → PkToolRequestOAuthConnection-Cj_IYnrW.js.map} +1 -1
  19. package/dist/_chunks/PkToolShowArtifact-BkGtejtb.js +110 -0
  20. package/dist/_chunks/PkToolShowArtifact-BkGtejtb.js.map +1 -0
  21. package/dist/_chunks/{PkToolShowContactForm-BeJ5GR6t.js → PkToolShowContactForm-BXsvfCKR.js} +2 -2
  22. package/dist/_chunks/{PkToolShowContactForm-BeJ5GR6t.js.map → PkToolShowContactForm-BXsvfCKR.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowForm-B9VDoS_W.js → PkToolShowForm-DeG_AzO9.js} +4 -4
  24. package/dist/_chunks/{PkToolShowForm-B9VDoS_W.js.map → PkToolShowForm-DeG_AzO9.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowImageGallery-DFuc5IJ1.js → PkToolShowImageGallery-Dri9KUNg.js} +2 -2
  26. package/dist/_chunks/{PkToolShowImageGallery-DFuc5IJ1.js.map → PkToolShowImageGallery-Dri9KUNg.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowProductList-C2EJKYOV.js → PkToolShowProductList-C-XQdsus.js} +2 -2
  28. package/dist/_chunks/{PkToolShowProductList-C2EJKYOV.js.map → PkToolShowProductList-C-XQdsus.js.map} +1 -1
  29. package/dist/_chunks/{PkToolShowSources-BL3DnfcN.js → PkToolShowSources-DMDML2kQ.js} +3 -3
  30. package/dist/_chunks/{PkToolShowSources-BL3DnfcN.js.map → PkToolShowSources-DMDML2kQ.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowSuggestedReply-DLgtjBJ1.js → PkToolShowSuggestedReply-BYoW-L6k.js} +2 -2
  32. package/dist/_chunks/{PkToolShowSuggestedReply-DLgtjBJ1.js.map → PkToolShowSuggestedReply-BYoW-L6k.js.map} +1 -1
  33. package/dist/_chunks/{PkToolShowVideo-DcWXDcOZ.js → PkToolShowVideo-C_1ziurv.js} +2 -2
  34. package/dist/_chunks/{PkToolShowVideo-DcWXDcOZ.js.map → PkToolShowVideo-C_1ziurv.js.map} +1 -1
  35. package/dist/_chunks/{PkToolShowWebPages-CPqMC6qt.js → PkToolShowWebPages-yFdm0n0F.js} +2 -2
  36. package/dist/_chunks/{PkToolShowWebPages-CPqMC6qt.js.map → PkToolShowWebPages-yFdm0n0F.js.map} +1 -1
  37. package/dist/_chunks/{chatImagePolicy-DMt6O5iK.js → chatImagePolicy-Dqke0kDv.js} +2 -2
  38. package/dist/_chunks/{chatImagePolicy-DMt6O5iK.js.map → chatImagePolicy-Dqke0kDv.js.map} +1 -1
  39. package/dist/_chunks/{markdown-nw5sXwU0.js → markdown-Z_eeOlvv.js} +16 -16
  40. package/dist/_chunks/{markdown-nw5sXwU0.js.map → markdown-Z_eeOlvv.js.map} +1 -1
  41. package/dist/_chunks/{utils-DE4cAz37.js → utils-C1JaUBI_.js} +2 -2
  42. package/dist/_chunks/{utils-DE4cAz37.js.map → utils-C1JaUBI_.js.map} +1 -1
  43. package/dist/ai-elements.es.js +3754 -3573
  44. package/dist/ai-elements.es.js.map +1 -1
  45. package/dist-vue/PkChatbot.js +1 -1
  46. package/dist-vue/PkChatbotAuth.js +1 -1
  47. package/dist-vue/PkChatbotEmptyState.js +1 -1
  48. package/dist-vue/PkChatbotInput.js +1 -1
  49. package/dist-vue/PkChatbotMessages.js +1 -1
  50. package/dist-vue/PkChatbotStepPayload.js +1 -1
  51. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  52. package/dist-vue/PkChatbotSteps.js +1 -1
  53. package/dist-vue/PkChatbotViewChat.js +1 -1
  54. package/dist-vue/PkChatbotViewConversations.js +1 -1
  55. package/dist-vue/PkChatbotViewFiles.js +1 -1
  56. package/dist-vue/PkChatbotViewProfile.js +1 -1
  57. package/dist-vue/_chunks/{Agent-CBAd3F7k.js → Agent-DrnYCRFA.js} +2 -2
  58. package/dist-vue/_chunks/{Agent-CBAd3F7k.js.map → Agent-DrnYCRFA.js.map} +1 -1
  59. package/dist-vue/_chunks/{Document-B3w5H0R0.js → Document-CA7c3oZE.js} +11 -11
  60. package/dist-vue/_chunks/{Document-B3w5H0R0.js.map → Document-CA7c3oZE.js.map} +1 -1
  61. package/dist-vue/_chunks/{Media-0U2B_qCS.js → Media-BIlhY_h6.js} +31 -26
  62. package/dist-vue/_chunks/Media-BIlhY_h6.js.map +1 -0
  63. package/dist-vue/_chunks/{PkChatbot-aCgj2DMu.js → PkChatbot-QjeNY0h6.js} +8 -8
  64. package/dist-vue/_chunks/{PkChatbot-aCgj2DMu.js.map → PkChatbot-QjeNY0h6.js.map} +1 -1
  65. package/dist-vue/_chunks/{PkChatbotAuth-C5agN8ht.js → PkChatbotAuth-C8ZjLNFY.js} +8 -8
  66. package/dist-vue/_chunks/{PkChatbotAuth-C5agN8ht.js.map → PkChatbotAuth-C8ZjLNFY.js.map} +1 -1
  67. package/dist-vue/_chunks/{PkChatbotEmptyState-CLfzcH_t.js → PkChatbotEmptyState-D6S0iYe3.js} +2 -2
  68. package/dist-vue/_chunks/{PkChatbotEmptyState-CLfzcH_t.js.map → PkChatbotEmptyState-D6S0iYe3.js.map} +1 -1
  69. package/dist-vue/_chunks/PkChatbotInput-CunAf5Rq.js +708 -0
  70. package/dist-vue/_chunks/PkChatbotInput-CunAf5Rq.js.map +1 -0
  71. package/dist-vue/_chunks/{PkChatbotMessages-CG3UZYcP.js → PkChatbotMessages-CzPsgCAN.js} +351 -326
  72. package/dist-vue/_chunks/PkChatbotMessages-CzPsgCAN.js.map +1 -0
  73. package/dist-vue/_chunks/{PkChatbotStepPayload-fyrbP7yS.js → PkChatbotStepPayload-BQDpTDgn.js} +2 -2
  74. package/dist-vue/_chunks/{PkChatbotStepPayload-fyrbP7yS.js.map → PkChatbotStepPayload-BQDpTDgn.js.map} +1 -1
  75. package/dist-vue/_chunks/{PkChatbotStepToolDetail-Drhc6X-x.js → PkChatbotStepToolDetail-Dsf9t1B6.js} +3 -3
  76. package/dist-vue/_chunks/{PkChatbotStepToolDetail-Drhc6X-x.js.map → PkChatbotStepToolDetail-Dsf9t1B6.js.map} +1 -1
  77. package/dist-vue/_chunks/{PkChatbotSteps-DZwV7UVr.js → PkChatbotSteps-HACZ1RrB.js} +5 -5
  78. package/dist-vue/_chunks/{PkChatbotSteps-DZwV7UVr.js.map → PkChatbotSteps-HACZ1RrB.js.map} +1 -1
  79. package/dist-vue/_chunks/{PkChatbotViewChat-IU3HJpxG.js → PkChatbotViewChat-BpDCX_72.js} +107 -107
  80. package/dist-vue/_chunks/PkChatbotViewChat-BpDCX_72.js.map +1 -0
  81. package/dist-vue/_chunks/{PkChatbotViewConversations-4zGrp7Fo.js → PkChatbotViewConversations-B0nUFwuu.js} +3 -3
  82. package/dist-vue/_chunks/{PkChatbotViewConversations-4zGrp7Fo.js.map → PkChatbotViewConversations-B0nUFwuu.js.map} +1 -1
  83. package/dist-vue/_chunks/{PkChatbotViewFiles-PHdrHZOf.js → PkChatbotViewFiles-gGshDAPk.js} +3 -3
  84. package/dist-vue/_chunks/{PkChatbotViewFiles-PHdrHZOf.js.map → PkChatbotViewFiles-gGshDAPk.js.map} +1 -1
  85. package/dist-vue/_chunks/{PkChatbotViewProfile-BrZ7oiUY.js → PkChatbotViewProfile-BuJtqq8F.js} +2 -2
  86. package/dist-vue/_chunks/{PkChatbotViewProfile-BrZ7oiUY.js.map → PkChatbotViewProfile-BuJtqq8F.js.map} +1 -1
  87. package/dist-vue/_chunks/{PkFilePreview-WqS-s3vk.js → PkFilePreview-0p50S8Km.js} +4 -4
  88. package/dist-vue/_chunks/{PkFilePreview-WqS-s3vk.js.map → PkFilePreview-0p50S8Km.js.map} +1 -1
  89. package/dist-vue/_chunks/{PkFilePreviewDialog-BIaTAK05.js → PkFilePreviewDialog-B1N4xDEu.js} +2 -2
  90. package/dist-vue/_chunks/{PkFilePreviewDialog-BIaTAK05.js.map → PkFilePreviewDialog-B1N4xDEu.js.map} +1 -1
  91. package/dist-vue/_chunks/{PkImageEditorDialog-_-UkV0CO.js → PkImageEditorDialog-B-jW5yE8.js} +6 -5
  92. package/dist-vue/_chunks/{PkImageEditorDialog-_-UkV0CO.js.map → PkImageEditorDialog-B-jW5yE8.js.map} +1 -1
  93. package/dist-vue/_chunks/{PkStreamingMarkdown-ha0V58V9.js → PkStreamingMarkdown-WIueQOg3.js} +530 -445
  94. package/dist-vue/_chunks/PkStreamingMarkdown-WIueQOg3.js.map +1 -0
  95. package/dist-vue/_chunks/{PkToolChatFile-OusYITiO.js → PkToolChatFile-W6OJP7HH.js} +3 -3
  96. package/dist-vue/_chunks/{PkToolChatFile-OusYITiO.js.map → PkToolChatFile-W6OJP7HH.js.map} +1 -1
  97. package/dist-vue/_chunks/{PkToolRequestGeolocation-CyL_M1Rm.js → PkToolRequestGeolocation-BPZfJfR1.js} +2 -2
  98. package/dist-vue/_chunks/{PkToolRequestGeolocation-CyL_M1Rm.js.map → PkToolRequestGeolocation-BPZfJfR1.js.map} +1 -1
  99. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-DWkeVLpx.js → PkToolRequestOAuthConnection-BaMZkvU5.js} +2 -2
  100. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-DWkeVLpx.js.map → PkToolRequestOAuthConnection-BaMZkvU5.js.map} +1 -1
  101. package/dist-vue/_chunks/PkToolShowArtifact-CPBFsUrY.js +107 -0
  102. package/dist-vue/_chunks/PkToolShowArtifact-CPBFsUrY.js.map +1 -0
  103. package/dist-vue/_chunks/{PkToolShowChart-BSnYmoJJ.js → PkToolShowChart-BaUS47YU.js} +2 -2
  104. package/dist-vue/_chunks/{PkToolShowChart-BSnYmoJJ.js.map → PkToolShowChart-BaUS47YU.js.map} +1 -1
  105. package/dist-vue/_chunks/{PkToolShowContactForm-DFufPNnQ.js → PkToolShowContactForm-6OQ-hjCt.js} +2 -2
  106. package/dist-vue/_chunks/{PkToolShowContactForm-DFufPNnQ.js.map → PkToolShowContactForm-6OQ-hjCt.js.map} +1 -1
  107. package/dist-vue/_chunks/{PkToolShowDiagram-BR4fE_be.js → PkToolShowDiagram-D6hPQVoe.js} +2 -2
  108. package/dist-vue/_chunks/{PkToolShowDiagram-BR4fE_be.js.map → PkToolShowDiagram-D6hPQVoe.js.map} +1 -1
  109. package/dist-vue/_chunks/{PkToolShowForm-yh0YAXcg.js → PkToolShowForm-CAadu_Pq.js} +4 -4
  110. package/dist-vue/_chunks/{PkToolShowForm-yh0YAXcg.js.map → PkToolShowForm-CAadu_Pq.js.map} +1 -1
  111. package/dist-vue/_chunks/{PkToolShowImageGallery-mmUY1Yfg.js → PkToolShowImageGallery-BlTyCF8h.js} +2 -2
  112. package/dist-vue/_chunks/{PkToolShowImageGallery-mmUY1Yfg.js.map → PkToolShowImageGallery-BlTyCF8h.js.map} +1 -1
  113. package/dist-vue/_chunks/{PkToolShowProductList-B-ya1TDt.js → PkToolShowProductList-CZFkf9UD.js} +2 -2
  114. package/dist-vue/_chunks/{PkToolShowProductList-B-ya1TDt.js.map → PkToolShowProductList-CZFkf9UD.js.map} +1 -1
  115. package/dist-vue/_chunks/{PkToolShowSources-DYkHkVdX.js → PkToolShowSources-Bci0Ab2u.js} +3 -3
  116. package/dist-vue/_chunks/{PkToolShowSources-DYkHkVdX.js.map → PkToolShowSources-Bci0Ab2u.js.map} +1 -1
  117. package/dist-vue/_chunks/{PkToolShowSuggestedReply-wKgwHTRO.js → PkToolShowSuggestedReply-DCZbwFhR.js} +2 -2
  118. package/dist-vue/_chunks/{PkToolShowSuggestedReply-wKgwHTRO.js.map → PkToolShowSuggestedReply-DCZbwFhR.js.map} +1 -1
  119. package/dist-vue/_chunks/{PkToolShowVideo-CRg2lAY8.js → PkToolShowVideo-BnSYdoTJ.js} +2 -2
  120. package/dist-vue/_chunks/{PkToolShowVideo-CRg2lAY8.js.map → PkToolShowVideo-BnSYdoTJ.js.map} +1 -1
  121. package/dist-vue/_chunks/{PkToolShowWebPages-C_pWag94.js → PkToolShowWebPages-CHrHuFZI.js} +2 -2
  122. package/dist-vue/_chunks/{PkToolShowWebPages-C_pWag94.js.map → PkToolShowWebPages-CHrHuFZI.js.map} +1 -1
  123. package/dist-vue/_chunks/{createChatbotApiClient-DBKfGL6y.js → createChatbotApiClient-_gh3Y1rl.js} +3 -3
  124. package/dist-vue/_chunks/createChatbotApiClient-_gh3Y1rl.js.map +1 -0
  125. package/dist-vue/_chunks/{useChatbotStore-Hb5EjISl.js → useChatbotStore-CjFPM9Q5.js} +3 -3
  126. package/dist-vue/_chunks/{useChatbotStore-Hb5EjISl.js.map → useChatbotStore-CjFPM9Q5.js.map} +1 -1
  127. package/dist-vue/_chunks/{utils-Df5n2cDc.js → utils-BYvQMZLG.js} +2 -2
  128. package/dist-vue/_chunks/{utils-Df5n2cDc.js.map → utils-BYvQMZLG.js.map} +1 -1
  129. package/dist-vue/api.js +1 -1
  130. package/dist-vue/composables.js +40 -8
  131. package/dist-vue/composables.js.map +1 -1
  132. package/dist-vue/index.js +71 -71
  133. package/dist-vue/index.js.map +1 -1
  134. package/dist-vue/locales.js +10 -0
  135. package/dist-vue/packages/components/src/chat/PkChatbotInput.d.ts +2 -2
  136. package/dist-vue/packages/components/src/chat/PkImageEditorDialog.d.ts +5 -0
  137. package/dist-vue/packages/components/src/chat/PkStreamingMarkdown.d.ts +6 -0
  138. package/dist-vue/packages/components/src/chat/richCopy.d.ts +33 -0
  139. package/dist-vue/packages/components/src/chat/screenshot.d.ts +38 -0
  140. package/dist-vue/packages/models/src/schema/Chat.d.ts +1 -1
  141. package/dist-vue/style.css +1 -1
  142. package/package.json +1 -1
  143. package/dist/_chunks/Agent-DZEyfr8D.js.map +0 -1
  144. package/dist/_chunks/PkStreamingMarkdown-14rJ_FK2.js.map +0 -1
  145. package/dist/_chunks/PkToolShowArtifact-I_QZS7Pf.js +0 -94
  146. package/dist/_chunks/PkToolShowArtifact-I_QZS7Pf.js.map +0 -1
  147. package/dist-vue/_chunks/Media-0U2B_qCS.js.map +0 -1
  148. package/dist-vue/_chunks/PkChatbotInput-C9l_1I3d.js +0 -584
  149. package/dist-vue/_chunks/PkChatbotInput-C9l_1I3d.js.map +0 -1
  150. package/dist-vue/_chunks/PkChatbotMessages-CG3UZYcP.js.map +0 -1
  151. package/dist-vue/_chunks/PkChatbotViewChat-IU3HJpxG.js.map +0 -1
  152. package/dist-vue/_chunks/PkStreamingMarkdown-ha0V58V9.js.map +0 -1
  153. package/dist-vue/_chunks/PkToolShowArtifact-x57Gri2a.js +0 -91
  154. package/dist-vue/_chunks/PkToolShowArtifact-x57Gri2a.js.map +0 -1
  155. package/dist-vue/_chunks/createChatbotApiClient-DBKfGL6y.js.map +0 -1
@@ -1,16 +1,16 @@
1
- import { B as e, b as t, n, p as r, r as i, u as a } from "./utils-Df5n2cDc.js";
2
- import { o } from "./Media-0U2B_qCS.js";
3
- import { t as s } from "./PkChatbotMessages-CG3UZYcP.js";
1
+ import { B as e, b as t, n, p as r, r as i, u as a } from "./utils-BYvQMZLG.js";
2
+ import { o } from "./Media-BIlhY_h6.js";
3
+ import { t as s } from "./PkChatbotMessages-CzPsgCAN.js";
4
4
  import { t as c } from "./VvButtonLocalized-C-vx25u4.js";
5
5
  import { t as l } from "./useLightbox-DrEFS3gx.js";
6
- import { a as u, n as d, t as f } from "./useChatbotStore-Hb5EjISl.js";
6
+ import { a as u, n as d, t as f } from "./useChatbotStore-CjFPM9Q5.js";
7
7
  import { n as p } from "./src-nb8MU1sh.js";
8
8
  import { s as m, t as h } from "./message-DuibQyHy.js";
9
9
  import { t as g } from "./useLocalizedString-Dmn92nix.js";
10
- import { n as _, r as v, t as y } from "./PkChatbotInput-C9l_1I3d.js";
10
+ import { n as _, r as v, t as y } from "./PkChatbotInput-CunAf5Rq.js";
11
11
  import { t as b } from "./PkAvatar-DwtZWSW4.js";
12
12
  import { t as ee } from "./PkChatbotQueuedMessages-CIJFAvE2.js";
13
- import { t as te } from "./PkChatbotEmptyState-CLfzcH_t.js";
13
+ import { t as te } from "./PkChatbotEmptyState-D6S0iYe3.js";
14
14
  import { t as x } from "./PkChatbotWakeupBar-DOCJYxzV.js";
15
15
  import { VvIcon as ne } from "@volverjs/ui-vue/components";
16
16
  import { Fragment as S, Teleport as re, Transition as ie, computed as C, createBlock as w, createCommentVNode as T, createElementBlock as E, createElementVNode as D, createSlots as ae, createTextVNode as oe, createVNode as O, defineAsyncComponent as k, defineComponent as se, inject as ce, isRef as le, nextTick as ue, normalizeClass as A, normalizeStyle as de, onBeforeUnmount as fe, onMounted as pe, onScopeDispose as me, onUnmounted as he, openBlock as j, provide as ge, ref as M, renderList as _e, shallowRef as ve, toDisplayString as N, toValue as ye, unref as P, useTemplateRef as be, watch as F, withCtx as I } from "vue";
@@ -658,7 +658,7 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
658
658
  "selection-action"
659
659
  ],
660
660
  setup(e, { emit: p }) {
661
- let _ = k(() => import("./PkToolShowForm-yh0YAXcg.js").then((e) => e.n)), S = k(() => import("./PkToolShowContactForm-DFufPNnQ.js").then((e) => e.n)), oe = k(() => import("./PkToolShowSuggestedReply-wKgwHTRO.js").then((e) => e.n)), se = k(() => import("./PkToolShowSources-DYkHkVdX.js").then((e) => e.n)), ce = k(() => import("./PkToolRequestGeolocation-CyL_M1Rm.js").then((e) => e.n)), ue = k(() => import("./PkToolRequestOAuthConnection-DWkeVLpx.js")), de = k(() => import("./PkToolShowLocation-CyaKgQUX.js").then((e) => e.n)), pe = k(() => import("./PkToolShowChart-BSnYmoJJ.js")), me = k(() => import("./PkToolShowDiagram-BR4fE_be.js")), he = k(() => import("./PkToolChatFile-OusYITiO.js").then((e) => e.n)), _e = k(() => import("./PkToolShareDocument-Bkt9JVqk.js").then((e) => e.n)), ve = k(() => import("./PkFilePreview-WqS-s3vk.js").then((e) => e.n)), ye = k(() => import("./PkFilePreviewDialog-BIaTAK05.js").then((e) => e.n)), L = e, Te = p, R = d(L.agentId), { isReadOnlyChat: z, chatProjectId: Ee, agentInterface: B, agentFileUpload: ke, agentType: Ae, agentVoice: je, actions: V, revisedAnswers: Ne, messages: H, chat: U, messageFeedbacks: Pe, feedbackDialogMessage: Fe, isFeedbackSubmitting: Ie, isFeedbackSubmitted: Le, feedbackSubmitError: Re, isLeadSubmitted: Ve, isLoadingSubmitLead: He, submitLeadError: We, input: W, inputMessagePlaceholder: Ge, isConversationBlocked: Ke, baseUrl: qe, pendingAttachments: Je, isAttachmentLimitReached: Xe, fileLimitError: Ze, apiClient: G, isDark: K, hostToolsPending: Qe, pageNoticeLevel: $e, hostConfirmation: et, agentPageAccess: tt, hostStepTitles: nt, hostStepChanges: rt, confirmationMode: it, canQueue: vt, queuedMessages: yt, backgroundAnswers: bt, inputFocusRequest: xt, pagePointer: St, pagePointerAvailable: Ct, pagePointing: wt, agentSelectionActions: Tt } = we(R);
661
+ let _ = k(() => import("./PkToolShowForm-CAadu_Pq.js").then((e) => e.n)), S = k(() => import("./PkToolShowContactForm-6OQ-hjCt.js").then((e) => e.n)), oe = k(() => import("./PkToolShowSuggestedReply-DCZbwFhR.js").then((e) => e.n)), se = k(() => import("./PkToolShowSources-Bci0Ab2u.js").then((e) => e.n)), ce = k(() => import("./PkToolRequestGeolocation-BPZfJfR1.js").then((e) => e.n)), ue = k(() => import("./PkToolRequestOAuthConnection-BaMZkvU5.js")), de = k(() => import("./PkToolShowLocation-CyaKgQUX.js").then((e) => e.n)), pe = k(() => import("./PkToolShowChart-BaUS47YU.js")), me = k(() => import("./PkToolShowDiagram-D6hPQVoe.js")), he = k(() => import("./PkToolChatFile-W6OJP7HH.js").then((e) => e.n)), _e = k(() => import("./PkToolShareDocument-Bkt9JVqk.js").then((e) => e.n)), ve = k(() => import("./PkFilePreview-0p50S8Km.js").then((e) => e.n)), ye = k(() => import("./PkFilePreviewDialog-B1N4xDEu.js").then((e) => e.n)), L = e, Te = p, R = d(L.agentId), { isReadOnlyChat: z, chatProjectId: Ee, agentInterface: B, agentFileUpload: ke, agentType: Ae, agentVoice: je, actions: V, revisedAnswers: Ne, messages: H, chat: U, messageFeedbacks: Pe, feedbackDialogMessage: Fe, isFeedbackSubmitting: Ie, isFeedbackSubmitted: Le, feedbackSubmitError: Re, isLeadSubmitted: Ve, isLoadingSubmitLead: He, submitLeadError: We, input: W, inputMessagePlaceholder: Ge, isConversationBlocked: Ke, baseUrl: qe, pendingAttachments: Je, isAttachmentLimitReached: Xe, fileLimitError: Ze, apiClient: G, isDark: K, hostToolsPending: Qe, pageNoticeLevel: $e, hostConfirmation: et, agentPageAccess: tt, hostStepTitles: nt, hostStepChanges: rt, confirmationMode: it, canQueue: vt, queuedMessages: yt, backgroundAnswers: bt, inputFocusRequest: xt, pagePointer: St, pagePointerAvailable: Ct, pagePointing: wt, agentSelectionActions: Tt } = we(R);
662
662
  ge(i, nt), ge(n, rt);
663
663
  let Et = be("inputEl");
664
664
  F(xt, () => {
@@ -733,10 +733,10 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
733
733
  }, t);
734
734
  }, Ln = C(() => {
735
735
  let e = X.value, t = Fn.value;
736
- return !!wr.value && !!e?.fileId && !!e.version && t.length > 0 && e.version < t[t.length - 1];
736
+ return !!Er.value && !!e?.fileId && !!e.version && t.length > 0 && e.version < t[t.length - 1];
737
737
  }), Rn = () => {
738
738
  let e = X.value;
739
- e?.fileId && e.version && (wr.value?.({
739
+ e?.fileId && e.version && (Er.value?.({
740
740
  fileId: e.fileId,
741
741
  version: e.version,
742
742
  filename: e.filename
@@ -766,64 +766,64 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
766
766
  }, Un = async (e) => (await G.value.expandSourceContext(L.agentId, e.documentId, e.chunkIndex)).content, Wn = async (e) => {
767
767
  let t = await G.value.downloadSourceDocument(L.agentId, e);
768
768
  window.open(t.downloadUrl, "_blank");
769
- }, { isOverDropZone: Gn } = Se(mn, {
769
+ }, Gn = (e) => {
770
+ if (q.value?.enabled && e) for (let t of e) Bt(t);
771
+ }, Kn = C(() => z.value ? V.value?.filter((e) => e === "copy") : V.value), { isOverDropZone: qn } = Se(mn, {
770
772
  dataTypes: (e) => !z.value && o(e, q.value?.allowedMimeTypes ?? []),
771
- onDrop: (e) => {
772
- if (q.value?.enabled && e) for (let t of e) Bt(t);
773
- }
774
- }), Kn = M(!1), qn = !1, Q = M(!1), Jn = [
773
+ onDrop: Gn
774
+ }), Jn = M(!1), Yn = !1, Q = M(!1), Xn = [
775
775
  3e3,
776
776
  5e3,
777
777
  1e4
778
- ], Yn, Xn, Zn = !1, Qn = 0, $n = !1;
779
- function er() {
780
- clearTimeout(Yn), Yn = void 0, Xn = void 0, Zn = !1, Qn = 0, Q.value = !1;
778
+ ], Zn, Qn, $n = !1, er = 0, tr = !1;
779
+ function nr() {
780
+ clearTimeout(Zn), Zn = void 0, Qn = void 0, $n = !1, er = 0, Q.value = !1;
781
781
  }
782
- function tr(e) {
783
- qn || (clearTimeout(Yn), Yn = setTimeout(() => {
784
- nr();
782
+ function rr(e) {
783
+ Yn || (clearTimeout(Zn), Zn = setTimeout(() => {
784
+ ir();
785
785
  }, e));
786
786
  }
787
- async function nr() {
788
- if (qn || $n) return;
789
- $n = !0;
787
+ async function ir() {
788
+ if (Yn || tr) return;
789
+ tr = !0;
790
790
  let e;
791
791
  try {
792
792
  e = await Gt();
793
793
  } finally {
794
- $n = !1;
794
+ tr = !1;
795
795
  }
796
- if (qn) return;
797
- if (e === "caught-up" && (Q.value = !1, Nr()), $.isActive.value) {
798
- Xn = void 0, Zn = !1, Qn = 0, tr(mt);
796
+ if (Yn) return;
797
+ if (e === "caught-up" && (Q.value = !1, Fr()), $.isActive.value) {
798
+ Qn = void 0, $n = !1, er = 0, rr(mt);
799
799
  return;
800
800
  }
801
- Xn === void 0 && (Xn = Date.now(), Zn = !!$.error.value);
802
- let t = Date.now() - Xn;
803
- if (e === "caught-up" && t >= (Zn ? gt : ht) || t >= _t) {
804
- er(), Pr();
801
+ Qn === void 0 && (Qn = Date.now(), $n = !!$.error.value);
802
+ let t = Date.now() - Qn;
803
+ if (e === "caught-up" && t >= ($n ? gt : ht) || t >= _t) {
804
+ nr(), Ir();
805
805
  return;
806
806
  }
807
- let n = Jn[Math.min(Qn, Jn.length - 1)];
808
- Qn += 1, tr(n);
807
+ let n = Xn[Math.min(er, Xn.length - 1)];
808
+ er += 1, rr(n);
809
809
  }
810
- let rr = (e = 1200) => {
811
- tr(e);
812
- }, ir, $ = Be({
810
+ let ar = (e = 1200) => {
811
+ rr(e);
812
+ }, or, $ = Be({
813
813
  fetchGrant: async () => {
814
- ir = R.voicePageTools();
814
+ or = R.voicePageTools();
815
815
  let e = await G.value.createVoiceSession(L.agentId, R.localChatId, {
816
816
  deviceContext: R.buildDeviceContext(),
817
817
  externalContext: R.externalContext,
818
- pageTools: ir?.declaration,
818
+ pageTools: or?.declaration,
819
819
  ...R.confirmationMode === "automatic" && { confirmations: "automatic" }
820
820
  });
821
821
  return e.chatId !== R.localChatId && (R.localChatId = e.chatId), e;
822
822
  },
823
823
  closeGrant: (e) => G.value.closeVoiceSession(L.agentId, e),
824
- clientTools: () => ir?.clientTools,
824
+ clientTools: () => or?.clientTools,
825
825
  onTranscript: (e) => {
826
- e.role === "user" ? (Q.value = !0, Mr(), Kt({
826
+ e.role === "user" ? (Q.value = !0, Pr(), Kt({
827
827
  id: `${f}user-${u()}`,
828
828
  role: "user",
829
829
  parts: [{
@@ -833,7 +833,7 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
833
833
  })) : Q.value = !1;
834
834
  },
835
835
  onTurnEnd: () => {
836
- rr();
836
+ ar();
837
837
  }
838
838
  });
839
839
  F(() => $.isActive.value, (e) => {
@@ -841,38 +841,38 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
841
841
  }), F(() => $.error.value, (e) => {
842
842
  e && (Q.value = !1);
843
843
  });
844
- let ar = C(() => je.value?.enabled === !0), or = C(() => $.error.value ? "error" : $.isConnecting.value ? "connecting" : $.isSpeaking.value ? "speaking" : $.isActive.value ? "listening" : "idle"), sr = C(() => {
844
+ let sr = C(() => je.value?.enabled === !0), cr = C(() => $.error.value ? "error" : $.isConnecting.value ? "connecting" : $.isSpeaking.value ? "speaking" : $.isActive.value ? "listening" : "idle"), lr = C(() => {
845
845
  let e = $.error.value;
846
846
  if (e) return /took too long/i.test(e) ? Y("message.voiceTookTooLong") : /cascade|no response|custom_llm_error/i.test(e) ? Y("message.voiceNoAnswer") : Y("message.voiceInterrupted");
847
- }), cr = C(() => $.isSpeaking.value ? "output" : "input"), lr = () => $.readLevel(cr.value), ur = () => $.readSpectrum(cr.value), dr = async () => {
848
- Kn.value = !1, await $.start(), $.isActive.value && (er(), tr(mt));
849
- }, fr = async () => {
850
- Q.value = !1, await $.stop(), qn || rr(0);
851
- }, pr = () => {
852
- $.dismissError();
847
+ }), ur = C(() => $.isSpeaking.value ? "output" : "input"), dr = () => $.readLevel(ur.value), fr = () => $.readSpectrum(ur.value), pr = async () => {
848
+ Jn.value = !1, await $.start(), $.isActive.value && (nr(), rr(mt));
853
849
  }, mr = async () => {
854
- $.dismissError(), await $.stop(), await dr();
855
- }, hr = (e) => e?.toolCallId ?? "", gr = M(/* @__PURE__ */ new Set()), _r = (e) => gr.value.has(hr(e)), vr = M(/* @__PURE__ */ new Map()), yr = (e, t) => $.isActive.value ? ($.sendUserMessage(t) && (gr.value = new Set(gr.value).add(hr(e)), rr()), !0) : !1, br = (e, t, n) => {
856
- yr(t, r(t, n)) || Rt({
850
+ Q.value = !1, await $.stop(), Yn || ar(0);
851
+ }, hr = () => {
852
+ $.dismissError();
853
+ }, gr = async () => {
854
+ $.dismissError(), await $.stop(), await pr();
855
+ }, _r = (e) => e?.toolCallId ?? "", vr = M(/* @__PURE__ */ new Set()), yr = (e) => vr.value.has(_r(e)), br = M(/* @__PURE__ */ new Map()), xr = (e, t) => $.isActive.value ? ($.sendUserMessage(t) && (vr.value = new Set(vr.value).add(_r(e)), ar()), !0) : !1, Sr = (e, t, n) => {
856
+ xr(t, r(t, n)) || Rt({
857
857
  tool: e,
858
- toolCallId: hr(t),
858
+ toolCallId: _r(t),
859
859
  output: n
860
860
  });
861
- }, xr = (e) => {
861
+ }, Cr = (e) => {
862
862
  let t = e.confirmed ? Y("message.voiceConfirmed") : Y("message.voiceCancelled");
863
- yr({ toolCallId: e.toolCallId }, t) ? gr.value.has(e.toolCallId) && (vr.value = new Map(vr.value).set(e.toolCallId, e.confirmed)) : Rt({
863
+ xr({ toolCallId: e.toolCallId }, t) ? vr.value.has(e.toolCallId) && (br.value = new Map(br.value).set(e.toolCallId, e.confirmed)) : Rt({
864
864
  tool: "requestConfirm",
865
865
  toolCallId: e.toolCallId,
866
866
  output: e.confirmed ? "confirmed" : "cancelled"
867
867
  });
868
- }, Sr = C(() => {
868
+ }, wr = C(() => {
869
869
  let e = /* @__PURE__ */ new Map();
870
870
  for (let t of H.value) for (let n of t.parts) {
871
871
  let { type: t, state: r, output: i } = n;
872
872
  Nn.has(t) && r === "output-available" && i?.fileId && i.version && e.set(i.fileId, Math.max(e.get(i.fileId) ?? 0, i.version));
873
873
  }
874
874
  return e;
875
- }), Cr = C(() => {
875
+ }), Tr = C(() => {
876
876
  let e = /* @__PURE__ */ new Map(), t = (t, n) => {
877
877
  if (t && n) {
878
878
  let r = t.toLowerCase();
@@ -888,34 +888,34 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
888
888
  Nn.has(e) && r === "output-available" && i?.filename && t(a(i.filename, i.version), i.fileId);
889
889
  }
890
890
  return e;
891
- }), wr = C(() => Ke.value || z.value ? void 0 : (e) => {
892
- let t = (Cr.value.get(e.filename.toLowerCase())?.size ?? 0) > 1;
891
+ }), Er = C(() => Ke.value || z.value ? void 0 : (e) => {
892
+ let t = (Tr.value.get(e.filename.toLowerCase())?.size ?? 0) > 1;
893
893
  W.value = Y(t ? "messagePart.chatFileRestoreRequestById" : "messagePart.chatFileRestoreRequest", e), kt();
894
- }), Tr = (e, t) => {
895
- yr(e, t) || (W.value = t, kt());
896
- }, Er = (e, t) => {
894
+ }), Dr = (e, t) => {
895
+ xr(e, t) || (W.value = t, kt());
896
+ }, Or = (e, t) => {
897
897
  let n = t.error ? Y("message.voiceLocationRefused") : Y("message.voiceLocationShared", { place: t.displayName ?? `${t.latitude}, ${t.longitude}` });
898
- yr(e, n) || Rt({
898
+ xr(e, n) || Rt({
899
899
  tool: "requestGeolocation",
900
- toolCallId: hr(e),
900
+ toolCallId: _r(e),
901
901
  output: t
902
902
  });
903
- }, Dr = (e, t) => {
904
- yr(e, Y("message.voiceConnectionDone")) || Rt({
903
+ }, kr = (e, t) => {
904
+ xr(e, Y("message.voiceConnectionDone")) || Rt({
905
905
  tool: "requestOAuthConnection",
906
- toolCallId: hr(e),
906
+ toolCallId: _r(e),
907
907
  output: {
908
908
  connected: !0,
909
909
  mcpServerId: t
910
910
  }
911
911
  });
912
- }, Or = () => {
913
- Kn.value = !Kn.value, $.setMuted(Kn.value);
912
+ }, Ar = () => {
913
+ Jn.value = !Jn.value, $.setMuted(Jn.value);
914
914
  };
915
915
  fe(() => {
916
- qn = !0, er();
916
+ Yn = !0, nr();
917
917
  });
918
- let { pendingWakeup: kr, isStopping: Ar, stop: jr, spokenTurnStarted: Mr, spokenTurnsWritten: Nr, forgetSpokenTurns: Pr } = Ye({
918
+ let { pendingWakeup: jr, isStopping: Mr, stop: Nr, spokenTurnStarted: Pr, spokenTurnsWritten: Fr, forgetSpokenTurns: Ir } = Ye({
919
919
  agentId: () => L.agentId,
920
920
  chatId: () => R.localChatId,
921
921
  apiClient: () => G.value,
@@ -929,7 +929,7 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
929
929
  ref_key: "chatViewEl",
930
930
  ref: mn,
931
931
  class: A(["pk-chatbot-view-chat", {
932
- "pk-chatbot-view-chat--dragover": P(Gn) && q.value?.enabled,
932
+ "pk-chatbot-view-chat--dragover": P(qn) && q.value?.enabled,
933
933
  "pk-chatbot-view-chat--empty": fn.value,
934
934
  "pk-chatbot-view-chat--with-preview": jn.value && !gn.value
935
935
  }])
@@ -952,13 +952,13 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
952
952
  class: "flex flex-col flex-1 min-h-0 p-md overflow-y-auto",
953
953
  interactive: !P(z),
954
954
  messages: P(H),
955
- "confirm-verdicts-on-call": vr.value,
955
+ "confirm-verdicts-on-call": br.value,
956
956
  status: P(U).status,
957
957
  error: P(U).error,
958
958
  "main-color": P(B)?.mainColor,
959
959
  "text-color": P(B)?.textColor,
960
960
  "revised-answers": P(Ne),
961
- actions: P(z) ? [] : P(V),
961
+ actions: Kn.value,
962
962
  "message-feedbacks": P(Pe),
963
963
  "feedback-message-id": P(Fe)?.id,
964
964
  "feedback-loading": P(Ie),
@@ -982,7 +982,7 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
982
982
  onDownvote: P(Nt),
983
983
  onFeedback: P(Pt),
984
984
  onApprovalRespond: P(zt),
985
- onConfirmRespond: xr,
985
+ onConfirmRespond: Cr,
986
986
  onHostConfirmRespond: P(Jt)
987
987
  }, {
988
988
  "tool-showContactForm": I(({ part: e }) => [O(P(S), {
@@ -1007,7 +1007,7 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
1007
1007
  "tool-showSuggestedReply": I(({ part: e }) => [O(P(oe), {
1008
1008
  part: e,
1009
1009
  record: P(z),
1010
- onSelect: (t) => Tr(e, t)
1010
+ onSelect: (t) => Dr(e, t)
1011
1011
  }, null, 8, [
1012
1012
  "part",
1013
1013
  "record",
@@ -1022,8 +1022,8 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
1022
1022
  default: I(() => [O(P(_), {
1023
1023
  part: e,
1024
1024
  record: P(z),
1025
- answered: _r(e),
1026
- onSelect: (t) => br("showForm", e, t)
1025
+ answered: yr(e),
1026
+ onSelect: (t) => Sr("showForm", e, t)
1027
1027
  }, null, 8, [
1028
1028
  "part",
1029
1029
  "record",
@@ -1037,8 +1037,8 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
1037
1037
  part: e,
1038
1038
  "allow-custom-answer": "",
1039
1039
  record: P(z),
1040
- answered: _r(e),
1041
- onSelect: (t) => br("showMultipleChoice", e, t)
1040
+ answered: yr(e),
1041
+ onSelect: (t) => Sr("showMultipleChoice", e, t)
1042
1042
  }, null, 8, [
1043
1043
  "part",
1044
1044
  "record",
@@ -1052,7 +1052,7 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
1052
1052
  "backend-url": P(qe),
1053
1053
  "resolve-connection": (e) => P(G).getOAuthAuthorizeUrl(L.agentId, e),
1054
1054
  "check-connection": (e) => P(G).getOAuthConnectionStatus(L.agentId, e),
1055
- onConnected: (t) => Dr(e, t)
1055
+ onConnected: (t) => kr(e, t)
1056
1056
  }, null, 8, [
1057
1057
  "part",
1058
1058
  "backend-url",
@@ -1064,7 +1064,7 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
1064
1064
  part: e,
1065
1065
  "call-live": P($).isActive.value,
1066
1066
  "reverse-geocode": (e, t) => P(G).reverseGeocode(e, t),
1067
- onResult: (t) => Er(e, t)
1067
+ onResult: (t) => Or(e, t)
1068
1068
  }, null, 8, [
1069
1069
  "part",
1070
1070
  "call-live",
@@ -1095,8 +1095,8 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
1095
1095
  part: e,
1096
1096
  "file-url": J,
1097
1097
  preview: kn,
1098
- "latest-versions": Sr.value,
1099
- restore: wr.value
1098
+ "latest-versions": wr.value,
1099
+ restore: Er.value
1100
1100
  }, null, 8, [
1101
1101
  "part",
1102
1102
  "latest-versions",
@@ -1107,8 +1107,8 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
1107
1107
  part: e,
1108
1108
  "file-url": J,
1109
1109
  preview: kn,
1110
- "latest-versions": Sr.value,
1111
- restore: wr.value
1110
+ "latest-versions": wr.value,
1111
+ restore: Er.value
1112
1112
  }, null, 8, [
1113
1113
  "part",
1114
1114
  "latest-versions",
@@ -1119,8 +1119,8 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
1119
1119
  part: e,
1120
1120
  "file-url": J,
1121
1121
  preview: kn,
1122
- "latest-versions": Sr.value,
1123
- restore: wr.value
1122
+ "latest-versions": wr.value,
1123
+ restore: Er.value
1124
1124
  }, null, 8, [
1125
1125
  "part",
1126
1126
  "latest-versions",
@@ -1131,8 +1131,8 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
1131
1131
  part: e,
1132
1132
  "file-url": J,
1133
1133
  preview: kn,
1134
- "latest-versions": Sr.value,
1135
- restore: wr.value
1134
+ "latest-versions": wr.value,
1135
+ restore: Er.value
1136
1136
  }, null, 8, [
1137
1137
  "part",
1138
1138
  "latest-versions",
@@ -1173,11 +1173,11 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
1173
1173
  ])) : T("", !0)]),
1174
1174
  _: 1
1175
1175
  }),
1176
- P(kr) && !P(Ke) && !P(z) ? (j(), w(x, {
1176
+ P(jr) && !P(Ke) && !P(z) ? (j(), w(x, {
1177
1177
  key: 0,
1178
- pending: P(kr),
1179
- stopping: P(Ar),
1180
- onStop: P(jr)
1178
+ pending: P(jr),
1179
+ stopping: P(Mr),
1180
+ onStop: P(Nr)
1181
1181
  }, null, 8, [
1182
1182
  "pending",
1183
1183
  "stopping",
@@ -1196,7 +1196,7 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
1196
1196
  label: P(Y)("chatProjects.newChat"),
1197
1197
  onClick: r[4] ||= (e) => P(R).startNewChat({ projectId: P(Ee) })
1198
1198
  }, null, 8, ["label"])) : T("", !0)
1199
- ])) : or.value === "idle" ? (j(), w(y, {
1199
+ ])) : cr.value === "idle" ? (j(), w(y, {
1200
1200
  key: 4,
1201
1201
  ref_key: "inputEl",
1202
1202
  ref: Et,
@@ -1213,7 +1213,7 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
1213
1213
  "file-upload": q.value,
1214
1214
  "attachment-limit-reached": P(Xe),
1215
1215
  "attachment-notice": cn.value,
1216
- "voice-enabled": ar.value,
1216
+ "voice-enabled": sr.value,
1217
1217
  "queue-enabled": P(vt),
1218
1218
  "answer-notices": ln.value,
1219
1219
  "pointer-available": P(Ct),
@@ -1235,7 +1235,7 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
1235
1235
  onDismissPageNotice: P(qt),
1236
1236
  onOpenAnswerNotice: P(Zt),
1237
1237
  onDismissAnswerNotice: P(Qt),
1238
- onVoiceStart: dr
1238
+ onVoiceStart: pr
1239
1239
  }, ae({ _: 2 }, [e.modifier === "fullscreen" ? {
1240
1240
  name: "prepend",
1241
1241
  fn: I(() => [D("span", ut, [O(b, {
@@ -1247,19 +1247,19 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
1247
1247
  key: "0"
1248
1248
  } : void 0]), 1032, /* @__PURE__ */ "modelValue.pending-attachments.placeholder.suggestion.dismissable-notice.page-notice.status.max-message-length.file-upload.attachment-limit-reached.attachment-notice.voice-enabled.queue-enabled.answer-notices.pointer-available.pointing.pointer.automatic-confirmations.onStopGeneration.onSubmit.onFileSelect.onRemoveAttachment.onReplaceAttachment.onRetryAttachment.onDismissAttachmentNotice.onDismissPageNotice.onOpenAnswerNotice.onDismissAnswerNotice".split("."))) : (j(), w(ze, {
1249
1249
  key: 3,
1250
- state: or.value,
1251
- sample: lr,
1252
- spectrum: ur,
1250
+ state: cr.value,
1251
+ sample: dr,
1252
+ spectrum: fr,
1253
1253
  "remaining-seconds": P($).remainingSeconds.value,
1254
- muted: Kn.value,
1255
- error: sr.value,
1254
+ muted: Jn.value,
1255
+ error: lr.value,
1256
1256
  "raw-error": P($).error.value,
1257
1257
  live: P($).isActive.value,
1258
1258
  class: "pk-chatbot-view-chat__voice",
1259
- onToggleMute: Or,
1260
- onHangUp: fr,
1261
- onRetry: mr,
1262
- onDismiss: pr
1259
+ onToggleMute: Ar,
1260
+ onHangUp: mr,
1261
+ onRetry: gr,
1262
+ onDismiss: hr
1263
1263
  }, null, 8, [
1264
1264
  "state",
1265
1265
  "remaining-seconds",
@@ -1270,7 +1270,7 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
1270
1270
  ]))
1271
1271
  ]),
1272
1272
  O(ie, null, {
1273
- default: I(() => [P(Gn) && q.value?.enabled ? (j(), E("div", ft, [O(i, {
1273
+ default: I(() => [P(qn) && q.value?.enabled ? (j(), E("div", ft, [O(i, {
1274
1274
  name: "ri:upload-cloud-2-line",
1275
1275
  class: "pk-chatbot-view-chat__drop-overlay-icon"
1276
1276
  }), D("span", null, N(P(Y)("action.dropFile")), 1)])) : T("", !0)]),
@@ -1380,4 +1380,4 @@ var ot = { class: "pk-chatbot-view-chat__input-stage" }, st = {
1380
1380
  });
1381
1381
  export { ze as a, He as i, at as n, H as o, rt as r, Me as s, vt as t };
1382
1382
 
1383
- //# sourceMappingURL=PkChatbotViewChat-IU3HJpxG.js.map
1383
+ //# sourceMappingURL=PkChatbotViewChat-BpDCX_72.js.map