@8wave/ai-elements 0.98.0-beta.3 → 0.98.0-beta.5

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 (74) hide show
  1. package/dist/_chunks/{Document-CjCQXPDF.js → Document-DtFcn7Mq.js} +2 -2
  2. package/dist/_chunks/Document-DtFcn7Mq.js.map +1 -0
  3. package/dist/_chunks/{PkToolRequestConfirm-BGt2J3e5.js → PkToolRequestConfirm-FQ9nDFXy.js} +2 -2
  4. package/dist/_chunks/{PkToolRequestConfirm-BGt2J3e5.js.map → PkToolRequestConfirm-FQ9nDFXy.js.map} +1 -1
  5. package/dist/_chunks/{PkToolRequestGeolocation-D9kfr6SV.js → PkToolRequestGeolocation-BJ9NJZIg.js} +2 -2
  6. package/dist/_chunks/{PkToolRequestGeolocation-D9kfr6SV.js.map → PkToolRequestGeolocation-BJ9NJZIg.js.map} +1 -1
  7. package/dist/_chunks/{PkToolRequestOAuthConnection-BH2tXr0j.js → PkToolRequestOAuthConnection-DdvJ6n1K.js} +2 -2
  8. package/dist/_chunks/{PkToolRequestOAuthConnection-BH2tXr0j.js.map → PkToolRequestOAuthConnection-DdvJ6n1K.js.map} +1 -1
  9. package/dist/_chunks/{PkToolShowCalendarEvent-DZwH1Run.js → PkToolShowCalendarEvent-BYnhl2er.js} +2 -2
  10. package/dist/_chunks/{PkToolShowCalendarEvent-DZwH1Run.js.map → PkToolShowCalendarEvent-BYnhl2er.js.map} +1 -1
  11. package/dist/_chunks/{PkToolShowContactForm-DEQBTzf4.js → PkToolShowContactForm-upUNZtId.js} +3 -3
  12. package/dist/_chunks/{PkToolShowContactForm-DEQBTzf4.js.map → PkToolShowContactForm-upUNZtId.js.map} +1 -1
  13. package/dist/_chunks/{PkToolShowDiagram-siwsx1K7.js → PkToolShowDiagram-Jq_4KWiK.js} +2 -2
  14. package/dist/_chunks/{PkToolShowDiagram-siwsx1K7.js.map → PkToolShowDiagram-Jq_4KWiK.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowForm-AZwrmmM9.js → PkToolShowForm-BNV4Ja6g.js} +2 -2
  16. package/dist/_chunks/{PkToolShowForm-AZwrmmM9.js.map → PkToolShowForm-BNV4Ja6g.js.map} +1 -1
  17. package/dist/_chunks/{PkToolShowSources-FnMkkdm6.js → PkToolShowSources-DwB6VXrK.js} +2 -2
  18. package/dist/_chunks/{PkToolShowSources-FnMkkdm6.js.map → PkToolShowSources-DwB6VXrK.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowWeather-COyrzQ7m.js → PkToolShowWeather-C2rPCQ_K.js} +2 -2
  20. package/dist/_chunks/{PkToolShowWeather-COyrzQ7m.js.map → PkToolShowWeather-C2rPCQ_K.js.map} +1 -1
  21. package/dist/_chunks/{index.es-eLFDkB2Y.js → index.es-u1dF1xg2.js} +2 -2
  22. package/dist/_chunks/{index.es-eLFDkB2Y.js.map → index.es-u1dF1xg2.js.map} +1 -1
  23. package/dist/_chunks/{vue-i18n-BBwABYBg.js → vue-i18n-kZs9Hfey.js} +650 -640
  24. package/dist/_chunks/vue-i18n-kZs9Hfey.js.map +1 -0
  25. package/dist/ai-elements.es.js +150 -121
  26. package/dist/ai-elements.es.js.map +1 -1
  27. package/dist-vue/PkChatbot.js +1 -1
  28. package/dist-vue/PkChatbotMessages.js +1 -1
  29. package/dist-vue/PkChatbotViewChat.js +1 -1
  30. package/dist-vue/PkChatbotViewConversations.js +1 -1
  31. package/dist-vue/PkChatbotViewFiles.js +1 -1
  32. package/dist-vue/PkChatbotViewProfile.js +1 -1
  33. package/dist-vue/_chunks/{Document-B8gv0e2O.js → Document-CSdfKj_B.js} +2 -2
  34. package/dist-vue/_chunks/{Document-B8gv0e2O.js.map → Document-CSdfKj_B.js.map} +1 -1
  35. package/dist-vue/_chunks/{PkChatbot-CxpAotKB.js → PkChatbot-DHkhT0Jf.js} +6 -6
  36. package/dist-vue/_chunks/{PkChatbot-CxpAotKB.js.map → PkChatbot-DHkhT0Jf.js.map} +1 -1
  37. package/dist-vue/_chunks/{PkChatbotMessages-DEzcxcqc.js → PkChatbotMessages-B4qfTNOJ.js} +2 -2
  38. package/dist-vue/_chunks/{PkChatbotMessages-DEzcxcqc.js.map → PkChatbotMessages-B4qfTNOJ.js.map} +1 -1
  39. package/dist-vue/_chunks/{PkChatbotViewChat-QzWSymIg.js → PkChatbotViewChat-C08TsXiL.js} +4 -4
  40. package/dist-vue/_chunks/{PkChatbotViewChat-QzWSymIg.js.map → PkChatbotViewChat-C08TsXiL.js.map} +1 -1
  41. package/dist-vue/_chunks/PkChatbotViewConversations-BQZi5kSC.js +192 -0
  42. package/dist-vue/_chunks/PkChatbotViewConversations-BQZi5kSC.js.map +1 -0
  43. package/dist-vue/_chunks/{PkChatbotViewFiles-RHMwvWUS.js → PkChatbotViewFiles-TLKE_tRw.js} +3 -3
  44. package/dist-vue/_chunks/{PkChatbotViewFiles-RHMwvWUS.js.map → PkChatbotViewFiles-TLKE_tRw.js.map} +1 -1
  45. package/dist-vue/_chunks/{PkChatbotViewProfile-Bka6CUAa.js → PkChatbotViewProfile-B6ANZY96.js} +2 -2
  46. package/dist-vue/_chunks/{PkChatbotViewProfile-Bka6CUAa.js.map → PkChatbotViewProfile-B6ANZY96.js.map} +1 -1
  47. package/dist-vue/_chunks/{PkToolShowSources-rGZz65c2.js → PkToolShowSources-CFh-i60o.js} +2 -2
  48. package/dist-vue/_chunks/{PkToolShowSources-rGZz65c2.js.map → PkToolShowSources-CFh-i60o.js.map} +1 -1
  49. package/dist-vue/_chunks/{constants-BSe0uxSf.js → constants-BCJ_gKeL.js} +2 -2
  50. package/dist-vue/_chunks/{constants-BSe0uxSf.js.map → constants-BCJ_gKeL.js.map} +1 -1
  51. package/dist-vue/_chunks/{createChatbotApiClient-Bf5DbqVH.js → createChatbotApiClient-BOBdBxmf.js} +2 -2
  52. package/dist-vue/_chunks/{createChatbotApiClient-Bf5DbqVH.js.map → createChatbotApiClient-BOBdBxmf.js.map} +1 -1
  53. package/dist-vue/_chunks/{useChatbotStore-DeHwEN8W.js → useChatbotStore-BJ-EDmND.js} +3 -3
  54. package/dist-vue/_chunks/useChatbotStore-BJ-EDmND.js.map +1 -0
  55. package/dist-vue/api.js +1 -1
  56. package/dist-vue/apps/web-component/src/components/EmbeddedChatWidget.ce.d.ts +7 -0
  57. package/dist-vue/apps/web-component/src/components/FloatingChatWidget.ce.d.ts +7 -0
  58. package/dist-vue/apps/web-component/src/composables/useChatbotAuth.d.ts +11 -0
  59. package/dist-vue/apps/web-component/src/lib.d.ts +6 -0
  60. package/dist-vue/composables.js +118 -103
  61. package/dist-vue/composables.js.map +1 -1
  62. package/dist-vue/index.js +19 -16
  63. package/dist-vue/index.js.map +1 -1
  64. package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +3 -134
  65. package/dist-vue/packages/components/src/chat/PkMessageParts.d.ts +3 -134
  66. package/dist-vue/packages/components/src/chat/constants.d.ts +1 -1
  67. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +24 -24
  68. package/dist-vue/packages/models/src/schema/constants.d.ts +2 -0
  69. package/package.json +1 -1
  70. package/dist/_chunks/Document-CjCQXPDF.js.map +0 -1
  71. package/dist/_chunks/vue-i18n-BBwABYBg.js.map +0 -1
  72. package/dist-vue/_chunks/PkChatbotViewConversations-O-wm_nu1.js +0 -192
  73. package/dist-vue/_chunks/PkChatbotViewConversations-O-wm_nu1.js.map +0 -1
  74. package/dist-vue/_chunks/useChatbotStore-DeHwEN8W.js.map +0 -1
@@ -1,10 +1,10 @@
1
1
  (function(){try{var __b=new URL(".",import.meta.url).href;if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`@font-face{font-family:'Open Sans';font-style:italic;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWtE6F15M.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWvU6F15M.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWtU6F15M.woff2) format('woff2');unicode-range:U+1F00-1FFF}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWuk6F15M.woff2) format('woff2');unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWu06F15M.woff2) format('woff2');unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWxU6F15M.woff2) format('woff2');unicode-range:U+0302-0303,U+0305,U+0307-0308,U+0310,U+0312,U+0315,U+031A,U+0326-0327,U+032C,U+032F-0330,U+0332-0333,U+0338,U+033A,U+0346,U+034D,U+0391-03A1,U+03A3-03A9,U+03B1-03C9,U+03D1,U+03D5-03D6,U+03F0-03F1,U+03F4-03F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE00-1EEFF}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqW106F15M.woff2) format('woff2');unicode-range:U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB00-1FBFF}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWtk6F15M.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWt06F15M.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWuU6F.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSKmu1aB.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSumu1aB.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSOmu1aB.woff2) format('woff2');unicode-range:U+1F00-1FFF}@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSymu1aB.woff2) format('woff2');unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS2mu1aB.woff2) format('woff2');unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTVOmu1aB.woff2) format('woff2');unicode-range:U+0302-0303,U+0305,U+0307-0308,U+0310,U+0312,U+0315,U+031A,U+0326-0327,U+032C,U+032F-0330,U+0332-0333,U+0338,U+033A,U+0346,U+034D,U+0391-03A1,U+03A3-03A9,U+03B1-03C9,U+03D1,U+03D5-03D6,U+03F0-03F1,U+03F4-03F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE00-1EEFF}@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTUGmu1aB.woff2) format('woff2');unicode-range:U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB00-1FBFF}@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSCmu1aB.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSGmu1aB.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-stretch:100%;font-display:swap;src:url("+__b+"assets/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
2
2
  import "./_chunks/rolldown-runtime-DY7j01NX.js";
3
3
  import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, H as s, Ht as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, Ut as ee, V as te, W as ne, Wt as re, X as ie, Y as ae, _ as S, _t as oe, at as C, b as w, bt as T, ct as se, d as ce, dt as le, et as E, f as ue, ft as D, g as O, gt as de, i as fe, it as pe, j as me, k as he, kt as k, lt as ge, mt as A, n as j, p as M, q as _e, qt as N, r as ve, rt as ye, st as be, tt as xe, u as Se, ut as Ce, v as P, vt as we, w as F, x as Te, xt as I, y as L, yt as Ee, z as R } from "./_chunks/vue.runtime.esm-bundler-DbhD_IvR.js";
4
- import { n as De, r as Oe, t as ke } from "./_chunks/vue-i18n-BBwABYBg.js";
4
+ import { n as De, r as Oe, t as ke } from "./_chunks/vue-i18n-kZs9Hfey.js";
5
5
  import { a as Ae, i as je, n as Me, r as Ne, t as Pe } from "./_chunks/iconify-D4alNs0B.js";
6
6
  import { t as Fe } from "./_chunks/src-BGqVtumX.js";
7
- import { a as Ie, c as Le, d as Re, f as ze, i as Be, l as Ve, o as He, r as Ue, s as We, t as Ge, u as Ke } from "./_chunks/Document-CjCQXPDF.js";
7
+ import { a as Ie, c as Le, d as Re, f as ze, i as Be, l as Ve, o as He, r as Ue, s as We, t as Ge, u as Ke } from "./_chunks/Document-DtFcn7Mq.js";
8
8
  import { t as qe } from "./_chunks/text-DbSEK8si.js";
9
9
  import { r as Je, t as Ye } from "./_chunks/url-validation-uLMZ5-AU.js";
10
10
  import { a as Xe, f as Ze } from "./_chunks/dist-BNET2z7b.js";
@@ -13,7 +13,7 @@ import "./_chunks/dot-prop-BXrC9bAX.js";
13
13
  import { a as Qe, d as $e, h as et, i as tt, l as nt, n as rt, o as it, p as at, t as ot, u as st } from "./_chunks/index.es-BYny0uhz.js";
14
14
  import "./_chunks/esm-Bnbw3aaA.js";
15
15
  import { C as ct, S as lt, _ as ut, a as dt, b as ft, c as pt, d as mt, f as z, g as B, h as V, i as ht, l as gt, n as _t, o as H, p as vt, r as yt, u as bt, v as U, w as xt, x as St, y as Ct } from "./_chunks/schemas-DnUKIqgi.js";
16
- import { a as W, c as wt, i as Tt, n as Et, o as G, r as Dt, s as Ot, t as kt } from "./_chunks/index.es-eLFDkB2Y.js";
16
+ import { a as W, c as wt, i as Tt, n as Et, o as G, r as Dt, s as Ot, t as kt } from "./_chunks/index.es-u1dF1xg2.js";
17
17
  import { t as At } from "./_chunks/useShortUrlResolver-B3FkPQpo.js";
18
18
  import { t as jt } from "./_chunks/_plugin-vue_export-helper-B3ysoDQm.js";
19
19
  import { t as Mt } from "./_chunks/PkStreamingMarkdown-Djw604Ny.js";
@@ -962,6 +962,8 @@ var mn = {
962
962
  "claude-opus-46": "Claude Opus 4.6",
963
963
  "claude-opus-47": "Claude Opus 4.7",
964
964
  "claude-opus-48": "Claude Opus 4.8",
965
+ "claude-opus-5": "Claude Opus 5",
966
+ "claude-opus-5-fast": "Claude Opus 5 Fast",
965
967
  "claude-sonnet-46": "Claude Sonnet 4.6",
966
968
  "claude-sonnet-5": "Claude Sonnet 5",
967
969
  "glm-52": "GLM 5.2",
@@ -1872,6 +1874,8 @@ var mn = {
1872
1874
  "claude-opus-46": "Claude Opus 4.6",
1873
1875
  "claude-opus-47": "Claude Opus 4.7",
1874
1876
  "claude-opus-48": "Claude Opus 4.8",
1877
+ "claude-opus-5": "Claude Opus 5",
1878
+ "claude-opus-5-fast": "Claude Opus 5 Fast",
1875
1879
  "claude-sonnet-46": "Claude Sonnet 4.6",
1876
1880
  "claude-sonnet-5": "Claude Sonnet 5",
1877
1881
  "glm-52": "GLM 5.2",
@@ -13363,7 +13367,7 @@ async function Sb(e) {
13363
13367
  }
13364
13368
  new TextDecoder();
13365
13369
  //#endregion
13366
- //#region ../../node_modules/.pnpm/ai@7.0.35_zod@4.4.3/node_modules/ai/dist/index.js
13370
+ //#region ../../node_modules/.pnpm/ai@7.0.37_zod@4.4.3/node_modules/ai/dist/index.js
13367
13371
  var Cb = Object.defineProperty, wb = (e, t) => {
13368
13372
  for (var n in t) Cb(e, n, {
13369
13373
  get: t[n],
@@ -16831,12 +16835,12 @@ function vC() {
16831
16835
  };
16832
16836
  }
16833
16837
  function yC(e = {}) {
16834
- let t = A(dC(e.cookieName)), n = O({
16838
+ let t = A(dC(e.cookieName)), n = O(() => T(e.useHostSession) ?? !1), r = O({
16835
16839
  get: () => t.value,
16836
16840
  set: (n) => {
16837
16841
  uC(n, e.cookieName), t.value = n;
16838
16842
  }
16839
- }), r = O(() => n.value ? { Authorization: `Bearer ${n.value}` } : void 0), i = nC({
16843
+ }), i = O(() => !n.value && r.value ? { Authorization: `Bearer ${r.value}` } : void 0), a = nC({
16840
16844
  baseURL: e.baseUrl ?? "https://ai-api.8wave.it",
16841
16845
  basePath: e.basePath ?? "auth",
16842
16846
  plugins: [
@@ -16848,189 +16852,204 @@ function yC(e = {}) {
16848
16852
  ],
16849
16853
  fetchOptions: {
16850
16854
  onSuccess: (e) => {
16855
+ if (n.value) return;
16851
16856
  let t = e.response.headers.get("set-auth-token");
16852
- t && (n.value = t);
16857
+ t && (r.value = t);
16853
16858
  },
16854
16859
  auth: {
16855
16860
  type: "Bearer",
16856
- token: () => n.value
16857
- }
16861
+ token: () => n.value ? "" : r.value
16862
+ },
16863
+ customFetchImpl: (e, t) => fetch(e, {
16864
+ ...t,
16865
+ credentials: n.value ? "include" : t?.credentials
16866
+ })
16858
16867
  }
16859
- }), a = i.useSession(), o = A(!1), s = O(() => T(e.externalToken)), c = O(() => T(e.isActive) ?? !0), l = A(s.value), u = O(() => !!s.value || !!e.awaitExternalToken || !!l.value), d = Promise.resolve();
16860
- function f(e) {
16861
- let t = d.then(e, e);
16862
- return d = t, t;
16868
+ }), o = a.useSession(), s = A(!1), c = O(() => T(e.externalToken)), l = O(() => T(e.isActive) ?? !0), u = A(c.value), d = O(() => !!c.value || !!e.awaitExternalToken || !!u.value || n.value), f = Promise.resolve();
16869
+ function p(e) {
16870
+ let t = f.then(e, e);
16871
+ return f = t, t;
16863
16872
  }
16864
- _(() => a.value.data?.user, (t, n) => {
16873
+ _(() => o.value.data?.user, (t, n) => {
16865
16874
  t && t.id !== n?.id && e.onSignedIn?.({
16866
16875
  userId: t.id,
16867
16876
  isAnonymous: !!t.isAnonymous
16868
16877
  }), !t && n && e.onSignedOut?.();
16869
16878
  });
16870
- async function p() {
16871
- let { data: t } = await i.signIn.anonymous();
16872
- t?.token && (n.value = t.token, t.user?.id && fC(t.user.id, e.cookieName));
16873
- }
16874
16879
  async function m() {
16880
+ let { data: t } = await a.signIn.anonymous();
16881
+ t?.token && (r.value = t.token, t.user?.id && fC(t.user.id, e.cookieName));
16882
+ }
16883
+ async function h() {
16875
16884
  let t = pC(e.cookieName);
16876
16885
  if (!t) return !1;
16877
16886
  try {
16878
- let { data: e } = await i.signIn.anonymousReauth({ userId: t });
16879
- if (e?.token) return n.value = e.token, await a.value.refetch(), !0;
16887
+ let { data: e } = await a.signIn.anonymousReauth({ userId: t });
16888
+ if (e?.token) return r.value = e.token, await o.value.refetch(), !0;
16880
16889
  } catch {}
16881
16890
  return !1;
16882
16891
  }
16883
- async function h() {
16884
- await m() || await p();
16892
+ async function g() {
16893
+ await h() || await m();
16885
16894
  }
16886
- async function g(t) {
16887
- l.value === t && (e.onExternalAuthExpired?.(), !e.awaitExternalToken && await h());
16895
+ async function v(t) {
16896
+ u.value === t && (e.onExternalAuthExpired?.(), !e.awaitExternalToken && await g());
16888
16897
  }
16889
- async function v(e) {
16890
- o.value = !0;
16898
+ async function y(e) {
16899
+ s.value = !0;
16891
16900
  try {
16892
- let { data: t } = await i.signIn.externalToken({ token: e });
16893
- if (l.value !== e) return;
16901
+ let { data: t } = await a.signIn.externalToken({ token: e });
16902
+ if (u.value !== e) return;
16894
16903
  if (t?.token) {
16895
- n.value = t.token, await a.value.refetch();
16904
+ r.value = t.token, await o.value.refetch();
16896
16905
  return;
16897
16906
  }
16898
- await g(e);
16907
+ await v(e);
16899
16908
  } catch {
16900
- await g(e);
16909
+ await v(e);
16901
16910
  } finally {
16902
- o.value = !1;
16911
+ s.value = !1;
16903
16912
  }
16904
16913
  }
16905
- let y, b, x = !1;
16906
- async function ee(e) {
16907
- if (!(!e || y === e)) {
16908
- l.value = e, b = e, y = e;
16914
+ let b, x, ee = !1;
16915
+ async function te(e) {
16916
+ if (!(!e || b === e)) {
16917
+ u.value = e, x = e, b = e;
16909
16918
  try {
16910
- await f(async () => {
16911
- l.value === e && await v(e);
16919
+ await p(async () => {
16920
+ u.value === e && await y(e);
16912
16921
  });
16913
16922
  } finally {
16914
- y = void 0;
16923
+ b = void 0;
16915
16924
  }
16916
16925
  }
16917
16926
  }
16918
- async function te() {
16919
- o.value || await f(async () => {
16920
- if (!l.value) {
16921
- o.value = !0;
16927
+ async function ne() {
16928
+ s.value || await p(async () => {
16929
+ if (!(u.value || n.value)) {
16930
+ s.value = !0;
16922
16931
  try {
16923
- await h();
16932
+ await g();
16924
16933
  } finally {
16925
- o.value = !1;
16934
+ s.value = !1;
16926
16935
  }
16927
16936
  }
16928
16937
  });
16929
16938
  }
16930
- _([c, a], ([t, n]) => {
16939
+ _([l, o], ([t, r]) => {
16931
16940
  if (!t) return;
16932
- if (!n.isPending && !n.isRefetching && !o.value && !n.data) {
16933
- if (l.value) {
16934
- ee(l.value);
16941
+ if (!r.isPending && !r.isRefetching && !s.value && !r.data) {
16942
+ if (n.value) return;
16943
+ if (u.value) {
16944
+ te(u.value);
16935
16945
  return;
16936
16946
  }
16937
16947
  if (e.awaitExternalToken) return;
16938
- te();
16948
+ ne();
16939
16949
  return;
16940
16950
  }
16941
- let r = n.data?.user;
16942
- if (n.data?.session?.hardExpiresAt && !x) {
16943
- if (x = !0, !l.value) {
16944
- C();
16945
- return;
16951
+ let i = r.data?.user;
16952
+ if (!n.value) {
16953
+ if (r.data?.session?.hardExpiresAt && !ee) {
16954
+ if (ee = !0, !u.value) {
16955
+ w();
16956
+ return;
16957
+ }
16958
+ if (x !== u.value) {
16959
+ te(u.value);
16960
+ return;
16961
+ }
16946
16962
  }
16947
- if (b !== l.value) {
16948
- ee(l.value);
16963
+ if (i?.isAnonymous && u.value && x !== u.value) {
16964
+ te(u.value);
16949
16965
  return;
16950
16966
  }
16967
+ i?.isAnonymous && i.id && !pC(e.cookieName) && fC(i.id, e.cookieName);
16951
16968
  }
16952
- if (r?.isAnonymous && l.value && b !== l.value) {
16953
- ee(l.value);
16954
- return;
16955
- }
16956
- r?.isAnonymous && r.id && !pC(e.cookieName) && fC(r.id, e.cookieName);
16957
- }, { immediate: !0 }), _(s, (e, t) => {
16969
+ }, { immediate: !0 }), _(n, () => {
16970
+ o.value.refetch();
16971
+ }), _(c, (e, t) => {
16958
16972
  if (e) {
16959
- l.value = e, c.value && ee(e);
16973
+ u.value = e, l.value && te(e);
16960
16974
  return;
16961
16975
  }
16962
- t && l.value === t && C();
16976
+ t && u.value === t && w();
16963
16977
  });
16964
- function ne(t) {
16978
+ function re(t) {
16965
16979
  if (t.status === 401) {
16966
- if (l.value) {
16967
- ee(l.value);
16980
+ if (n.value) {
16981
+ o.value.refetch();
16968
16982
  return;
16969
16983
  }
16970
- e.awaitExternalToken || te();
16984
+ if (u.value) {
16985
+ te(u.value);
16986
+ return;
16987
+ }
16988
+ e.awaitExternalToken || ne();
16971
16989
  }
16972
16990
  }
16973
- let re = O(() => a.value.data?.user?.id);
16974
- async function ie(t, r, a) {
16975
- let o = await i.signIn.email({
16991
+ let ie = O(() => o.value.data?.user?.id);
16992
+ async function ae(t, n, i) {
16993
+ let o = await a.signIn.email({
16976
16994
  email: t,
16977
- password: r,
16978
- rememberMe: a
16995
+ password: n,
16996
+ rememberMe: i
16979
16997
  });
16980
- return o.data?.token && (n.value = o.data.token, mC(e.cookieName)), o;
16998
+ return o.data?.token && (r.value = o.data.token, mC(e.cookieName)), o;
16981
16999
  }
16982
- function ae(e) {
16983
- return i.signUp.email(e);
17000
+ function S(e) {
17001
+ return a.signUp.email(e);
16984
17002
  }
16985
- function S(e, t) {
16986
- return i.requestPasswordReset({
17003
+ function oe(e, t) {
17004
+ return a.requestPasswordReset({
16987
17005
  email: e,
16988
17006
  redirectTo: t
16989
17007
  });
16990
17008
  }
16991
- async function oe(t, r) {
16992
- let o = e.baseUrl ?? "https://ai-api.8wave.it", s = `${o}/${e.basePath ?? "auth"}/widget-oauth-callback`, c = i.signIn.socialRedirect({
17009
+ async function C(t, n) {
17010
+ let i = e.baseUrl ?? "https://ai-api.8wave.it", s = `${i}/${e.basePath ?? "auth"}/widget-oauth-callback`, c = a.signIn.socialRedirect({
16993
17011
  provider: t,
16994
17012
  callbackURL: s
16995
17013
  }), l = window.open(c, "eightwave-oauth", "width=600,height=700,menubar=no,toolbar=no");
16996
17014
  return l ? new Promise((t) => {
16997
- let i = new URL(o).origin, s = setInterval(() => {
17015
+ let a = new URL(i).origin, s = setInterval(() => {
16998
17016
  l?.closed && c();
16999
17017
  }, 500);
17000
17018
  function c() {
17001
17019
  window.removeEventListener("message", u), clearInterval(s), t({ popupBlocked: !1 });
17002
17020
  }
17003
17021
  function u(t) {
17004
- t.origin === i && t.data?.type === "eightwave-oauth" && (l?.close(), t.data.token && (n.value = t.data.token, mC(e.cookieName)), a.value.refetch().then(() => r?.()), c());
17022
+ t.origin === a && t.data?.type === "eightwave-oauth" && (l?.close(), t.data.token && (r.value = t.data.token, mC(e.cookieName)), o.value.refetch().then(() => n?.()), c());
17005
17023
  }
17006
17024
  window.addEventListener("message", u);
17007
17025
  }) : { popupBlocked: !0 };
17008
17026
  }
17009
- async function C() {
17010
- l.value = void 0;
17011
- let e = n.value;
17027
+ async function w() {
17028
+ if (n.value) return;
17029
+ u.value = void 0;
17030
+ let e = r.value;
17012
17031
  try {
17013
- await i.signOut();
17032
+ await a.signOut();
17014
17033
  } finally {
17015
- n.value === e && (n.value = ""), await a.value.refetch();
17034
+ r.value === e && (r.value = ""), await o.value.refetch();
17016
17035
  }
17017
17036
  }
17018
17037
  return {
17019
- client: i,
17020
- session: a,
17021
- isAuthenticating: o,
17022
- isExternalAuth: u,
17023
- token: n,
17024
- headers: r,
17025
- onError: ne,
17026
- userId: re,
17027
- signInWithEmail: ie,
17028
- signUpWithEmail: ae,
17029
- requestPasswordReset: S,
17030
- signInSocial: i.signIn.social,
17031
- signInWithSocialPopup: oe,
17032
- signInWithExternalToken: ee,
17033
- signOut: C
17038
+ client: a,
17039
+ session: o,
17040
+ isAuthenticating: s,
17041
+ isExternalAuth: d,
17042
+ token: r,
17043
+ headers: i,
17044
+ onError: re,
17045
+ userId: ie,
17046
+ signInWithEmail: ae,
17047
+ signUpWithEmail: S,
17048
+ requestPasswordReset: oe,
17049
+ signInSocial: a.signIn.social,
17050
+ signInWithSocialPopup: C,
17051
+ signInWithExternalToken: te,
17052
+ signOut: w
17034
17053
  };
17035
17054
  }
17036
17055
  //#endregion
@@ -17938,25 +17957,25 @@ var Dw = ["datetime"], Ow = 6e4, kw = /* @__PURE__ */ b({
17938
17957
  //#region ../../packages/components/src/chat/toolComponentMap.ts
17939
17958
  t();
17940
17959
  var Aw = {
17941
- requestConfirm: F(() => import("./_chunks/PkToolRequestConfirm-BGt2J3e5.js")),
17942
- requestOAuthConnection: F(() => import("./_chunks/PkToolRequestOAuthConnection-BH2tXr0j.js")),
17960
+ requestConfirm: F(() => import("./_chunks/PkToolRequestConfirm-FQ9nDFXy.js")),
17961
+ requestOAuthConnection: F(() => import("./_chunks/PkToolRequestOAuthConnection-DdvJ6n1K.js")),
17943
17962
  showArtifact: F(() => import("./_chunks/PkToolShowArtifact-BaGEr7O9.js")),
17944
- showCalendarEvent: F(() => import("./_chunks/PkToolShowCalendarEvent-DZwH1Run.js")),
17963
+ showCalendarEvent: F(() => import("./_chunks/PkToolShowCalendarEvent-BYnhl2er.js")),
17945
17964
  showComparison: F(() => import("./_chunks/PkToolShowComparison-DahL5vHr.js")),
17946
- showContactForm: F(() => import("./_chunks/PkToolShowContactForm-DEQBTzf4.js")),
17947
- showDiagram: F(() => import("./_chunks/PkToolShowDiagram-siwsx1K7.js")),
17965
+ showContactForm: F(() => import("./_chunks/PkToolShowContactForm-upUNZtId.js")),
17966
+ showDiagram: F(() => import("./_chunks/PkToolShowDiagram-Jq_4KWiK.js")),
17948
17967
  showEmail: F(() => import("./_chunks/PkToolShowEmail-CtmpDS1B.js")),
17949
17968
  showImageGallery: F(() => import("./_chunks/PkToolShowImageGallery-mLq2p3aH.js")),
17950
17969
  showLocation: F(() => import("./_chunks/PkToolShowLocation-SbgTbuGu.js")),
17951
17970
  showMessage: F(() => import("./_chunks/PkToolShowMessage-CAVpDTzd.js")),
17952
- showForm: F(() => import("./_chunks/PkToolShowForm-AZwrmmM9.js")),
17953
- showMultipleChoice: F(() => import("./_chunks/PkToolShowForm-AZwrmmM9.js")),
17971
+ showForm: F(() => import("./_chunks/PkToolShowForm-BNV4Ja6g.js")),
17972
+ showMultipleChoice: F(() => import("./_chunks/PkToolShowForm-BNV4Ja6g.js")),
17954
17973
  showProductList: F(() => import("./_chunks/PkToolShowProductList-puiPFItN.js")),
17955
17974
  showQrCode: F(() => import("./_chunks/PkToolShowQrCode-CctXvRyG.js")),
17956
- showSources: F(() => import("./_chunks/PkToolShowSources-FnMkkdm6.js")),
17975
+ showSources: F(() => import("./_chunks/PkToolShowSources-DwB6VXrK.js")),
17957
17976
  showSuggestedReply: F(() => import("./_chunks/PkToolShowSuggestedReply-QEcIhSxa.js")),
17958
17977
  showVideo: F(() => import("./_chunks/PkToolShowVideo-DoLoI8_N.js")),
17959
- showWeather: F(() => import("./_chunks/PkToolShowWeather-COyrzQ7m.js")),
17978
+ showWeather: F(() => import("./_chunks/PkToolShowWeather-C2rPCQ_K.js")),
17960
17979
  showWebPages: F(() => import("./_chunks/PkToolShowWebPages-BBJYzF8V.js"))
17961
17980
  };
17962
17981
  t(), k(), C();
@@ -19356,7 +19375,7 @@ var _E = { class: "pk-chatbot-view-chat__input-stage" }, vE = {
19356
19375
  },
19357
19376
  emits: ["show-info", "revise"],
19358
19377
  setup(e, { emit: t }) {
19359
- let n = F(() => import("./_chunks/PkToolShowForm-AZwrmmM9.js")), i = F(() => import("./_chunks/PkToolRequestConfirm-BGt2J3e5.js")), a = F(() => import("./_chunks/PkToolShowContactForm-DEQBTzf4.js")), o = F(() => import("./_chunks/PkToolShowSuggestedReply-QEcIhSxa.js")), s = F(() => import("./_chunks/PkToolShowSources-FnMkkdm6.js")), l = F(() => import("./_chunks/PkToolRequestGeolocation-D9kfr6SV.js")), u = F(() => import("./_chunks/PkToolRequestOAuthConnection-BH2tXr0j.js")), d = F(() => import("./_chunks/PkToolShowLocation-SbgTbuGu.js")), f = F(() => import("./_chunks/PkToolShowDiagram-siwsx1K7.js")), p = e, m = t, h = Jx(p.agentId), { agentInterface: g, agentFileUpload: _, actions: v, revisedAnswers: y, messages: b, chat: x, messageFeedbacks: ee, feedbackDialogMessage: te, isFeedbackSubmitting: ne, isFeedbackSubmitted: re, feedbackSubmitError: ae, isLeadSubmitted: oe, isLoadingSubmitLead: C, submitLeadError: T, input: se, inputMessagePlaceholder: ce, isConversationBlocked: le, baseUrl: ue, pendingAttachments: D, isAttachmentLimitReached: de, fileLimitError: fe, apiClient: pe, isDark: me } = pn(h), { handleSubmit: he, stopGeneration: k, regenerate: A, onUpvote: M, onDownvote: _e, onFeedback: ve, onFeedbackSubmit: ye, onLeadSubmit: be, startNewChat: xe, addToolOutput: Se, handleFileSelect: Ce, clearFileLimitError: we } = h, { t: Ee } = Oe({ useScope: "global" }), De = O(() => {
19378
+ let n = F(() => import("./_chunks/PkToolShowForm-BNV4Ja6g.js")), i = F(() => import("./_chunks/PkToolRequestConfirm-FQ9nDFXy.js")), a = F(() => import("./_chunks/PkToolShowContactForm-upUNZtId.js")), o = F(() => import("./_chunks/PkToolShowSuggestedReply-QEcIhSxa.js")), s = F(() => import("./_chunks/PkToolShowSources-DwB6VXrK.js")), l = F(() => import("./_chunks/PkToolRequestGeolocation-BJ9NJZIg.js")), u = F(() => import("./_chunks/PkToolRequestOAuthConnection-DdvJ6n1K.js")), d = F(() => import("./_chunks/PkToolShowLocation-SbgTbuGu.js")), f = F(() => import("./_chunks/PkToolShowDiagram-Jq_4KWiK.js")), p = e, m = t, h = Jx(p.agentId), { agentInterface: g, agentFileUpload: _, actions: v, revisedAnswers: y, messages: b, chat: x, messageFeedbacks: ee, feedbackDialogMessage: te, isFeedbackSubmitting: ne, isFeedbackSubmitted: re, feedbackSubmitError: ae, isLeadSubmitted: oe, isLoadingSubmitLead: C, submitLeadError: T, input: se, inputMessagePlaceholder: ce, isConversationBlocked: le, baseUrl: ue, pendingAttachments: D, isAttachmentLimitReached: de, fileLimitError: fe, apiClient: pe, isDark: me } = pn(h), { handleSubmit: he, stopGeneration: k, regenerate: A, onUpvote: M, onDownvote: _e, onFeedback: ve, onFeedbackSubmit: ye, onLeadSubmit: be, startNewChat: xe, addToolOutput: Se, handleFileSelect: Ce, clearFileLimitError: we } = h, { t: Ee } = Oe({ useScope: "global" }), De = O(() => {
19360
19379
  let e = fe.value;
19361
19380
  if (e) return e.reason === "per-chat" ? Ee("message.fileLimitPerChat", { max: e.max }) : Ee("message.fileLimitPerMessage", { max: e.max });
19362
19381
  }), ke = Et(() => g.value?.dismissableNotice), Ae = O(() => b.value.some((e) => e.role === "user")), je = O(() => p.modifier === "fullscreen" && !Ae.value), Me = aS(g, () => p.userName), Ne = ie("chatViewEl"), Pe = async (e) => (await pe.value.expandSourceContext(p.agentId, e.documentId, e.chunkIndex)).content, Fe = async (e) => {
@@ -19636,19 +19655,19 @@ var CE = { class: "flex flex-col flex-1 min-h-0 relative" }, wE = {
19636
19655
  p.value || (s.value = e, l("chat"));
19637
19656
  }, ne = (e) => s.value === e.id, re = (e, t) => ze(au(e.filter((e) => e.role === t).slice(-1)[0]) || ""), ie = (e) => {
19638
19657
  h(e, re(e.messages, "assistant"));
19639
- }, { openDialogConfirm: ae } = rS(), oe = me(xC, void 0), C = A(!1), T = async () => {
19658
+ }, { openDialogConfirm: ae } = rS(), oe = me(xC, void 0), C = O(() => !!oe?.eraseConversations && !(oe.isExternalAuth?.value ?? !1)), T = A(!1), se = async () => {
19640
19659
  let e = oe?.eraseConversations;
19641
- if (e && await ae({
19660
+ if (!(!e || !C.value) && await ae({
19642
19661
  title: n("action.deleteMyConversations"),
19643
19662
  questionLabel: n("message.deleteMyConversationsConfirm")
19644
19663
  })) {
19645
- C.value = !0;
19664
+ T.value = !0;
19646
19665
  try {
19647
19666
  await e(), a.value = [], u();
19648
19667
  } catch {
19649
19668
  i.loadConversations(t.agentId);
19650
19669
  } finally {
19651
- C.value = !1;
19670
+ T.value = !1;
19652
19671
  }
19653
19672
  }
19654
19673
  };
@@ -19735,15 +19754,15 @@ var CE = { class: "flex flex-col flex-1 min-h-0 relative" }, wE = {
19735
19754
  icon: "ri:add-line",
19736
19755
  label: I(n)("action.startNewChat"),
19737
19756
  onClick: t[5] ||= ue((e) => I(u)(), ["stop"])
19738
- }, null, 8, ["label"]), I(oe)?.eraseConversations ? (R(), P(s, {
19757
+ }, null, 8, ["label"]), C.value ? (R(), P(s, {
19739
19758
  key: 0,
19740
19759
  class: "text-12 pointer-events-auto",
19741
19760
  modifiers: "action-quiet-danger",
19742
19761
  icon: "ri:delete-bin-line",
19743
- loading: C.value,
19744
- disabled: C.value,
19762
+ loading: T.value,
19763
+ disabled: T.value,
19745
19764
  label: I(n)("action.deleteMyConversations"),
19746
- onClick: t[6] ||= ue((e) => T(), ["stop"])
19765
+ onClick: t[6] ||= ue((e) => se(), ["stop"])
19747
19766
  }, null, 8, [
19748
19767
  "loading",
19749
19768
  "disabled",
@@ -20541,6 +20560,10 @@ var WD = {
20541
20560
  type: [Boolean, String],
20542
20561
  default: !1
20543
20562
  },
20563
+ useHostSession: {
20564
+ type: [Boolean, String],
20565
+ default: !1
20566
+ },
20544
20567
  floatingButtonPosition: {
20545
20568
  default: void 0,
20546
20569
  type: String
@@ -20575,6 +20598,7 @@ var WD = {
20575
20598
  baseUrl: n.baseUrl,
20576
20599
  externalToken: () => n.externalToken,
20577
20600
  awaitExternalToken: !!n.awaitExternalToken && n.awaitExternalToken !== "false",
20601
+ useHostSession: () => !!n.useHostSession && n.useHostSession !== "false",
20578
20602
  isActive: l,
20579
20603
  cookieName: n.cookieName,
20580
20604
  onSignedIn: (e) => a("signed-in", e),
@@ -20814,6 +20838,10 @@ var XD = {
20814
20838
  type: [Boolean, String],
20815
20839
  default: !1
20816
20840
  },
20841
+ useHostSession: {
20842
+ type: [Boolean, String],
20843
+ default: !1
20844
+ },
20817
20845
  forwardedSlots: {
20818
20846
  default: void 0,
20819
20847
  type: String
@@ -20850,6 +20878,7 @@ var XD = {
20850
20878
  baseUrl: n.baseUrl,
20851
20879
  externalToken: () => n.externalToken,
20852
20880
  awaitExternalToken: !!n.awaitExternalToken && n.awaitExternalToken !== "false",
20881
+ useHostSession: () => !!n.useHostSession && n.useHostSession !== "false",
20853
20882
  cookieName: n.cookieName,
20854
20883
  onSignedIn: (e) => a("signed-in", e),
20855
20884
  onSignedOut: () => a("signed-out"),