@ckeditor/ckeditor5-ai 47.1.0-alpha.0 → 47.1.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +4 -4
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/model/aichatmodels.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichat/utils/scrollmanager.js +1 -1
  212. package/src/aichathistory/aichathistory.js +1 -1
  213. package/src/aichathistory/aichathistorycontroller.js +1 -1
  214. package/src/aichathistory/aichathistoryui.js +1 -1
  215. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  216. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  217. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  221. package/src/aicore/aiconnector.js +1 -1
  222. package/src/aicore/aiediting.js +1 -1
  223. package/src/aicore/model/aicapabilities.js +1 -1
  224. package/src/aicore/model/aicontext.js +1 -1
  225. package/src/aicore/model/aiinteraction.js +1 -1
  226. package/src/aicore/model/aireply.js +1 -1
  227. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  228. package/src/aicore/pipeline/airesponseparser.js +2 -2
  229. package/src/aicore/ui/aidisclaimerview.js +1 -1
  230. package/src/aicore/ui/aiskeleton.js +1 -1
  231. package/src/aicore/ui/aispinner.js +1 -1
  232. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  237. package/src/aicore/utils/common-translations.js +1 -1
  238. package/src/aicore/utils/createresizebutton.js +1 -1
  239. package/src/aicore/utils/documentposition.js +1 -1
  240. package/src/aicore/utils/documentrange.js +1 -1
  241. package/src/aicore/utils/eventnames.js +1 -1
  242. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  243. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  244. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  245. package/src/aicore/utils/htmlparser.js +1 -1
  246. package/src/aicore/utils/htmlstreamer.js +1 -1
  247. package/src/aieditorintegration/aieditorintegration.js +1 -1
  248. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  250. package/src/aiquickactions/aiquickactions.js +1 -1
  251. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  252. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  253. package/src/aiquickactions/aiquickactionsui.js +1 -1
  254. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  257. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  258. package/src/aireviewmode/aireviewmode.js +1 -1
  259. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  260. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  261. package/src/aireviewmode/aireviewmodeui.js +1 -1
  262. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  263. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  264. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  268. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  269. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  270. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  271. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  272. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  280. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  281. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  282. package/src/aitabs/aitabs.js +1 -1
  283. package/src/aitabs/aitabsmainview.js +1 -1
  284. package/src/aitabs/tabs/aitabsview.js +1 -1
  285. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  286. package/src/aitabs/tabs/tabpanelview.js +1 -1
  287. package/src/errors.js +1 -1
  288. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x293c3d=_0x3037;(function(_0x10a0c5,_0x272d35){const _0x4501ff=_0x3037,_0x521ddf=_0x10a0c5();while(!![]){try{const _0x391f37=parseInt(_0x4501ff(0x71))/0x1+parseInt(_0x4501ff(0x74))/0x2*(parseInt(_0x4501ff(0x81))/0x3)+parseInt(_0x4501ff(0x68))/0x4*(-parseInt(_0x4501ff(0x69))/0x5)+parseInt(_0x4501ff(0x82))/0x6+-parseInt(_0x4501ff(0x70))/0x7*(parseInt(_0x4501ff(0x7f))/0x8)+parseInt(_0x4501ff(0x6e))/0x9+parseInt(_0x4501ff(0x6c))/0xa*(-parseInt(_0x4501ff(0x75))/0xb);if(_0x391f37===_0x272d35)break;else _0x521ddf['push'](_0x521ddf['shift']());}catch(_0x4905b6){_0x521ddf['push'](_0x521ddf['shift']());}}}(_0x3718,0x71525));function _0x3037(_0x264ba9,_0x5e3770){const _0x3718d4=_0x3718();return _0x3037=function(_0x303780,_0x43179e){_0x303780=_0x303780-0x68;let _0x522833=_0x3718d4[_0x303780];return _0x522833;},_0x3037(_0x264ba9,_0x5e3770);}function _0x3718(){const _0x3ca44f=['_loaderView','_cancelButtonView','ck-ai-chat-controls-loader-icon-dot','ck-ai-chat-controls-loader','setTemplate','AI_CHAT_STOP_GENERATING','_createCancelButtonView','88vYmpJV','set','3WDLmmt','4193232lxQZcR','ck-ai-chat-controls-loader-wrapper','ck-reset_all','_createLoaderView','339968rqLzqb','20CgXAcg','ck-ai-chat-controls-loader-icon','locale','630BefmRq','div','6257772iGItej','execute','805EmmMbr','395463vywmpG','abortPromptStream','fire','1678328hVtvNo','318373DfDinB','AI_CHAT_IS_WRITING','ai-chat-controls-loader__cancel-button'];_0x3718=function(){return _0x3ca44f;};return _0x3718();}import{ButtonView as _0x140e74,View as _0x54fa01}from'ckeditor5/src/ui.js';import{IconStop as _0x350d40}from'ckeditor5/src/icons.js';import{getTranslation as _0x3cdb22}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x54fa01{[_0x293c3d(0x79)];[_0x293c3d(0x78)];constructor(_0x73dc3b){const _0x452801=_0x293c3d;super(_0x73dc3b),this[_0x452801(0x79)]=this[_0x452801(0x7e)](),this[_0x452801(0x78)]=this[_0x452801(0x85)](),this[_0x452801(0x7c)]({'tag':_0x452801(0x6d),'attributes':{'class':['ck',_0x452801(0x83),_0x452801(0x84)]},'children':[this[_0x452801(0x78)],this[_0x452801(0x79)]]});}[_0x293c3d(0x7e)](){const _0x161748=_0x293c3d,_0x502428=new _0x140e74(this[_0x161748(0x6b)]);return _0x502428[_0x161748(0x80)]({'label':_0x3cdb22(this[_0x161748(0x6b)],_0x161748(0x7d)),'withText':!0x0,'class':_0x161748(0x77),'icon':_0x350d40}),_0x502428['on'](_0x161748(0x6f),()=>{const _0x28420e=_0x161748;this[_0x28420e(0x73)](_0x28420e(0x72));}),_0x502428;}[_0x293c3d(0x85)](){const _0x432ed1=_0x293c3d,_0x5b454c=new _0x54fa01(this[_0x432ed1(0x6b)]);return _0x5b454c[_0x432ed1(0x7c)]({'tag':_0x432ed1(0x6d),'attributes':{'class':[_0x432ed1(0x7b)]},'children':[{'tag':_0x432ed1(0x6d),'attributes':{'class':[_0x432ed1(0x6a)]},'children':[{'tag':_0x432ed1(0x6d),'attributes':{'class':[_0x432ed1(0x7a)]}},{'tag':_0x432ed1(0x6d),'attributes':{'class':[_0x432ed1(0x7a)]}},{'tag':_0x432ed1(0x6d),'attributes':{'class':[_0x432ed1(0x7a)]}}]},{'text':_0x3cdb22(this[_0x432ed1(0x6b)],_0x432ed1(0x76))}]}),_0x5b454c;}}
23
+ function _0x2824(_0x2b1951,_0x449a6a){const _0x21c8df=_0x21c8();return _0x2824=function(_0x28241a,_0x4d5a8e){_0x28241a=_0x28241a-0xf3;let _0x4c7b3f=_0x21c8df[_0x28241a];return _0x4c7b3f;},_0x2824(_0x2b1951,_0x449a6a);}const _0x31e924=_0x2824;(function(_0x561a94,_0x479fd0){const _0x3103c0=_0x2824,_0x2e8ab7=_0x561a94();while(!![]){try{const _0x3fdf71=-parseInt(_0x3103c0(0xfb))/0x1+-parseInt(_0x3103c0(0x110))/0x2+-parseInt(_0x3103c0(0x102))/0x3*(-parseInt(_0x3103c0(0xfc))/0x4)+parseInt(_0x3103c0(0x10b))/0x5*(-parseInt(_0x3103c0(0x100))/0x6)+-parseInt(_0x3103c0(0x107))/0x7*(parseInt(_0x3103c0(0x106))/0x8)+-parseInt(_0x3103c0(0x10f))/0x9+-parseInt(_0x3103c0(0x108))/0xa*(-parseInt(_0x3103c0(0xfa))/0xb);if(_0x3fdf71===_0x479fd0)break;else _0x2e8ab7['push'](_0x2e8ab7['shift']());}catch(_0x40788c){_0x2e8ab7['push'](_0x2e8ab7['shift']());}}}(_0x21c8,0x39acb));function _0x21c8(){const _0x5d1176=['83322nFuGZg','1082944pddSSb','execute','setTemplate','abortPromptStream','421878YdPFPI','ck-ai-chat-controls-loader-icon','3UPqObX','ai-chat-controls-loader__cancel-button','ck-ai-chat-controls-loader-icon-dot','ck-ai-chat-controls-loader','3160CzRXVa','1981oikrmJ','40lOJgKk','ck-reset_all','fire','15ObhVTM','AI_CHAT_IS_WRITING','ck-ai-chat-controls-loader-wrapper','_loaderView','189990RrIziN','364058Rnrxya','_createLoaderView','_createCancelButtonView','_cancelButtonView','div','AI_CHAT_STOP_GENERATING','locale','set','1580381ihpyAJ'];_0x21c8=function(){return _0x5d1176;};return _0x21c8();}import{ButtonView as _0x4898cf,View as _0x263307}from'ckeditor5/src/ui.js';import{IconStop as _0x42371c}from'ckeditor5/src/icons.js';import{getTranslation as _0x506a42}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x263307{[_0x31e924(0xf5)];[_0x31e924(0x10e)];constructor(_0x2712ce){const _0x3beece=_0x31e924;super(_0x2712ce),this[_0x3beece(0xf5)]=this[_0x3beece(0xf4)](),this[_0x3beece(0x10e)]=this[_0x3beece(0xf3)](),this[_0x3beece(0xfe)]({'tag':_0x3beece(0xf6),'attributes':{'class':['ck',_0x3beece(0x10d),_0x3beece(0x109)]},'children':[this[_0x3beece(0x10e)],this[_0x3beece(0xf5)]]});}[_0x31e924(0xf4)](){const _0x570bc9=_0x31e924,_0x3872d9=new _0x4898cf(this[_0x570bc9(0xf8)]);return _0x3872d9[_0x570bc9(0xf9)]({'label':_0x506a42(this[_0x570bc9(0xf8)],_0x570bc9(0xf7)),'withText':!0x0,'class':_0x570bc9(0x103),'icon':_0x42371c}),_0x3872d9['on'](_0x570bc9(0xfd),()=>{const _0x23ce6a=_0x570bc9;this[_0x23ce6a(0x10a)](_0x23ce6a(0xff));}),_0x3872d9;}[_0x31e924(0xf3)](){const _0x185bc3=_0x31e924,_0x349b85=new _0x263307(this[_0x185bc3(0xf8)]);return _0x349b85[_0x185bc3(0xfe)]({'tag':_0x185bc3(0xf6),'attributes':{'class':[_0x185bc3(0x105)]},'children':[{'tag':_0x185bc3(0xf6),'attributes':{'class':[_0x185bc3(0x101)]},'children':[{'tag':_0x185bc3(0xf6),'attributes':{'class':[_0x185bc3(0x104)]}},{'tag':_0x185bc3(0xf6),'attributes':{'class':[_0x185bc3(0x104)]}},{'tag':_0x185bc3(0xf6),'attributes':{'class':[_0x185bc3(0x104)]}}]},{'text':_0x506a42(this[_0x185bc3(0xf8)],_0x185bc3(0x10c))}]}),_0x349b85;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe7273b=_0x3a46;(function(_0x919a3a,_0x76099b){const _0x10635f=_0x3a46,_0x3ff96d=_0x919a3a();while(!![]){try{const _0x3bea01=-parseInt(_0x10635f(0x14e))/0x1*(-parseInt(_0x10635f(0x155))/0x2)+-parseInt(_0x10635f(0x104))/0x3*(parseInt(_0x10635f(0x132))/0x4)+parseInt(_0x10635f(0x11a))/0x5+-parseInt(_0x10635f(0x110))/0x6*(parseInt(_0x10635f(0x14f))/0x7)+parseInt(_0x10635f(0x143))/0x8+parseInt(_0x10635f(0x144))/0x9*(parseInt(_0x10635f(0x112))/0xa)+-parseInt(_0x10635f(0x121))/0xb;if(_0x3bea01===_0x76099b)break;else _0x3ff96d['push'](_0x3ff96d['shift']());}catch(_0x5c00d3){_0x3ff96d['push'](_0x3ff96d['shift']());}}}(_0x2a1a,0xa41b9));import{Collection as _0x537450}from'ckeditor5/src/utils.js';function _0x2a1a(){const _0x337aa5=['bindTemplate','enableModelSelector','ck-ai-chat-controls__model-selection__item-name','clear','execute','Commands\x20are\x20not\x20implemented\x20yet.','set','listenTo','ck-ai-chat-controls__model-selection','ck-button__label','ck-ai-chat-controls__model-name','3bJPUfh','webSearch','name','locale','style','description','capabilities','source','toggleReasoning','log','ck-ai-chat-controls__model-selection__item-description','button','237390iebhxd','AI_CHAT_SEARCH_WEB','10GOxRAg','toLowerCase','_commandsButton','model','AI_CHAT_CAPABILITIES_YES','isVisible','ck-ai-chat__prompt-capabilities','tooltip','4853010oJaYCm','AI_CHAT_ENABLE_REASONING','ck-ai-chat-controls-button--commands','_createReasoningButton','activeModelName','activeModelId','withText','2146782jYLwoT','ck-hidden','content','_modelSelectionDropdown','enabled','AI_CHAT_CAPABILITIES_NO','setModelList','AI_CHAT_REASONING','setModel','buttonView','_modelNameView','ck-ai-chat-controls-button','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','bind','_reasoningButton','setReasoning','createCollection','4891868MABFKZ','span','text','webSearchActive','reasoning','isOn','isEnabled','selectModel','reasoningActive','agent','AI_CHAT_DISABLE_WEB_SEARCH','menuitemradio','label','toggleWebSearch','modelSelectorEnabled','_webSearchButton','startsWith','874336briOYL','10126683zIwHtj','_getCapabilityParts','_createWebSearchButton','fire','add','setTemplate','extendTemplate','AI_CHAT_COMMANDS','modelSelectorVisible','addMany','2739yMtsbA','140MoyEaK','_createCommandsButton','div','setWebSearch','ck-ai-chat-controls__model-selection__item-capabilities','disableModelSelector','494gouCEf','AI_CHAT_ENABLE_WEB_SEARCH','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','_createModelSelectionDropdown','AI_CHAT_DISABLE_REASONING','length','_modelSelectionDropdownItems','_createModelNameView'];_0x2a1a=function(){return _0x337aa5;};return _0x2a1a();}import{IconAI as _0x4f14c5,IconBulb as _0x1037e7,IconWeb as _0xc1ef40}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x476fd4,ButtonLabelView as _0x555f04,ButtonView as _0x2b26a8,createDropdown as _0x550aa3,IconView as _0x39c9d9,UIModel as _0x4c0344,View as _0x2adc93}from'ckeditor5/src/ui.js';import{getTranslation as _0x4820f3}from'../../../aicore/utils/common-translations.js';const Ho=_0xe7273b(0x118),fo=_0xe7273b(0x12c),Mo=_0xe7273b(0x11c),Do=_0xe7273b(0x165),Wo=_0xe7273b(0x15f),yo=_0xe7273b(0x10e),Go=_0xe7273b(0x153),jo='n';function _0x3a46(_0x3d059c,_0x64705c){const _0x2a1a22=_0x2a1a();return _0x3a46=function(_0x3a4688,_0x14598c){_0x3a4688=_0x3a4688-0x103;let _0x1078b4=_0x2a1a22[_0x3a4688];return _0x1078b4;},_0x3a46(_0x3d059c,_0x64705c);}export class AIChatPromptCapabilitiesView extends _0x2adc93{[_0xe7273b(0x141)];[_0xe7273b(0x12f)];[_0xe7273b(0x114)];[_0xe7273b(0x124)];[_0xe7273b(0x15b)];[_0xe7273b(0x12b)];constructor(_0x37aca4){const _0x5441bb=_0xe7273b;super(_0x37aca4),this[_0x5441bb(0x163)](_0x5441bb(0x135),!0x1),this[_0x5441bb(0x163)](_0x5441bb(0x13a),!0x1),this[_0x5441bb(0x163)](_0x5441bb(0x14c),!0x0),this[_0x5441bb(0x163)](_0x5441bb(0x140),!0x0),this[_0x5441bb(0x163)](_0x5441bb(0x11f),null),this[_0x5441bb(0x163)](_0x5441bb(0x11e),null),this[_0x5441bb(0x124)]=this[_0x5441bb(0x158)](),this[_0x5441bb(0x12b)]=this[_0x5441bb(0x15c)](),this[_0x5441bb(0x141)]=this[_0x5441bb(0x146)](),this[_0x5441bb(0x12f)]=this[_0x5441bb(0x11d)](),this[_0x5441bb(0x114)]=this[_0x5441bb(0x150)](),this[_0x5441bb(0x124)][_0x5441bb(0x12a)][_0x5441bb(0x12e)](_0x5441bb(0x117))['to'](this,_0x5441bb(0x14c),_0x5a8f5d=>_0x5a8f5d),this[_0x5441bb(0x124)][_0x5441bb(0x12a)][_0x5441bb(0x12e)](_0x5441bb(0x119))['to'](this,_0x5441bb(0x140),_0x20391a=>_0x20391a?this[_0x5441bb(0x124)][_0x5441bb(0x12a)][_0x5441bb(0x13e)]:_0x4820f3(this[_0x5441bb(0x107)],_0x5441bb(0x157))),this[_0x5441bb(0x124)][_0x5441bb(0x12e)](_0x5441bb(0x138))['to'](this,_0x5441bb(0x140),_0x4b65cc=>_0x4b65cc),this[_0x5441bb(0x141)][_0x5441bb(0x12e)](_0x5441bb(0x137))['to'](this,_0x5441bb(0x135),_0x9a4553=>_0x9a4553),this[_0x5441bb(0x141)][_0x5441bb(0x12e)](_0x5441bb(0x120))['to'](this,_0x5441bb(0x14c),_0x2d5a0d=>!_0x2d5a0d),this[_0x5441bb(0x141)][_0x5441bb(0x12e)](_0x5441bb(0x119))['to'](this,_0x5441bb(0x135),_0x5985d6=>_0x4820f3(this[_0x5441bb(0x107)],_0x5985d6?_0x5441bb(0x13c):_0x5441bb(0x156))),this[_0x5441bb(0x12f)][_0x5441bb(0x12e)](_0x5441bb(0x137))['to'](this,_0x5441bb(0x13a),_0x5db870=>_0x5db870),this[_0x5441bb(0x12f)][_0x5441bb(0x12e)](_0x5441bb(0x120))['to'](this,_0x5441bb(0x14c),_0xed0fd4=>!_0xed0fd4),this[_0x5441bb(0x12f)][_0x5441bb(0x12e)](_0x5441bb(0x119))['to'](this,_0x5441bb(0x13a),_0x6f2ec1=>_0x4820f3(this[_0x5441bb(0x107)],_0x6f2ec1?_0x5441bb(0x159):_0x5441bb(0x11b))),this[_0x5441bb(0x149)]({'tag':_0x5441bb(0x151),'attributes':{'class':[Ho]},'children':[this[_0x5441bb(0x124)],this[_0x5441bb(0x12b)],this[_0x5441bb(0x141)],this[_0x5441bb(0x12f)],this[_0x5441bb(0x114)]]}),this[_0x5441bb(0x15b)]=new _0x537450(),_0x476fd4(this[_0x5441bb(0x124)],this[_0x5441bb(0x15b)]);}[_0xe7273b(0x127)](_0x4a3597,_0x54c18b){const _0x5db215=_0xe7273b;if(this[_0x5db215(0x163)](_0x5db215(0x14c),!(_0x54c18b&&_0x4a3597[_0x5db215(0x15a)]<=0x1)),this[_0x5db215(0x15b)][_0x5db215(0x160)](),_0x4a3597?.[_0x5db215(0x15a)])for(const _0x56b62b of _0x4a3597){const _0x543d70=new _0x4c0344({'label':_0x56b62b[_0x5db215(0x106)],'withText':!0x0,'role':_0x5db215(0x13d),'id':_0x56b62b['id'],'model':_0x56b62b});_0x543d70[_0x5db215(0x12e)](_0x5db215(0x137))['to'](this,_0x5db215(0x11f),_0x43aec5=>_0x43aec5===_0x56b62b['id']),this[_0x5db215(0x15b)][_0x5db215(0x148)]({'type':_0x5db215(0x10f),'model':_0x543d70,'labelView':new Ns(this[_0x5db215(0x107)],_0x56b62b)});}}[_0xe7273b(0x152)](_0x4b1a84){const _0xe15cd=_0xe7273b;this[_0xe15cd(0x163)](_0xe15cd(0x135),_0x4b1a84);}[_0xe7273b(0x130)](_0xab1e66){const _0x3045e7=_0xe7273b;this[_0x3045e7(0x163)](_0x3045e7(0x13a),_0xab1e66);}[_0xe7273b(0x129)](_0x5724e2){const _0x50ffe7=_0xe7273b;if(!_0x5724e2)return;this[_0x50ffe7(0x11f)]=_0x5724e2['id'],this[_0x50ffe7(0x11e)]=_0x5724e2[_0x50ffe7(0x106)]||_0x5724e2['id'],this[_0x50ffe7(0x124)][_0x50ffe7(0x12a)][_0x50ffe7(0x163)](_0x50ffe7(0x13e),_0x5724e2[_0x50ffe7(0x106)]),this[_0x50ffe7(0x124)][_0x50ffe7(0x12a)][_0x50ffe7(0x163)](_0x50ffe7(0x119),_0x5724e2[_0x50ffe7(0x106)]);const _0x6a8fa7=_0x5724e2[_0x50ffe7(0x10a)][_0x50ffe7(0x105)]?.[_0x50ffe7(0x125)]??!0x1;this[_0x50ffe7(0x163)](_0x50ffe7(0x135),!0x1),this[_0x50ffe7(0x141)][_0x50ffe7(0x163)](_0x50ffe7(0x137),!0x1),this[_0x50ffe7(0x141)][_0x50ffe7(0x163)](_0x50ffe7(0x138),_0x6a8fa7),this[_0x50ffe7(0x141)][_0x50ffe7(0x163)](_0x50ffe7(0x117),_0x6a8fa7);const _0x3955a9=_0x5724e2[_0x50ffe7(0x10a)][_0x50ffe7(0x136)]?.[_0x50ffe7(0x125)]??!0x1;this[_0x50ffe7(0x163)](_0x50ffe7(0x13a),!0x1),this[_0x50ffe7(0x12f)][_0x50ffe7(0x163)](_0x50ffe7(0x137),!0x1),this[_0x50ffe7(0x12f)][_0x50ffe7(0x163)](_0x50ffe7(0x138),_0x3955a9),this[_0x50ffe7(0x12f)][_0x50ffe7(0x163)](_0x50ffe7(0x117),_0x3955a9);}[_0xe7273b(0x15e)](){const _0x311840=_0xe7273b;this[_0x311840(0x163)](_0x311840(0x140),!0x0),this[_0x311840(0x163)](_0x311840(0x14c),!0x0);}[_0xe7273b(0x154)](_0x2d2d76){const _0x225928=_0xe7273b;this[_0x225928(0x163)](_0x225928(0x140),!0x1),_0x2d2d76&&this[_0x225928(0x163)](_0x225928(0x14c),!0x1);}[_0xe7273b(0x146)](){const _0x1c88b6=_0xe7273b,_0x489781=new _0x2b26a8();return _0x489781[_0x1c88b6(0x163)]({'label':_0x4820f3(this[_0x1c88b6(0x107)],_0x1c88b6(0x111)),'icon':_0xc1ef40,'class':fo,'isToggleable':!0x0,'tooltipPosition':jo}),_0x489781['on'](_0x1c88b6(0x161),()=>{const _0x4932f9=_0x1c88b6;this[_0x4932f9(0x147)](_0x4932f9(0x13f));}),_0x489781;}[_0xe7273b(0x11d)](){const _0x1686a0=_0xe7273b,_0x4e7ed0=new _0x2b26a8();return _0x4e7ed0[_0x1686a0(0x163)]({'label':_0x4820f3(this[_0x1686a0(0x107)],_0x1686a0(0x128)),'icon':_0x1037e7,'class':fo,'isToggleable':!0x0,'tooltipPosition':jo}),_0x4e7ed0['on'](_0x1686a0(0x161),()=>{const _0x109234=_0x1686a0;this[_0x109234(0x147)](_0x109234(0x10c));}),_0x4e7ed0;}[_0xe7273b(0x150)](){const _0xce9095=_0xe7273b,_0x26edbe=new _0x2b26a8();return _0x26edbe[_0xce9095(0x163)]({'label':_0x4820f3(this[_0xce9095(0x107)],_0xce9095(0x14b)),'icon':_0x4f14c5,'withText':!0x0,'class':fo,'isToggleable':!0x0,'tooltip':_0x4820f3(this[_0xce9095(0x107)],_0xce9095(0x14b)),'tooltipPosition':jo}),_0x26edbe[_0xce9095(0x14a)]({'attributes':{'class':[Mo]}}),_0x26edbe['on'](_0xce9095(0x161),()=>{const _0x3170c7=_0xce9095;console[_0x3170c7(0x10d)](_0x3170c7(0x162)),alert(_0x3170c7(0x162));}),_0x26edbe;}[_0xe7273b(0x158)](){const _0x14ce63=_0xe7273b,_0x217970=_0x550aa3(this[_0x14ce63(0x107)]);return _0x217970[_0x14ce63(0x163)]({'panelPosition':'ne','class':[Do]}),_0x217970[_0x14ce63(0x12a)][_0x14ce63(0x163)]({'label':_0x4820f3(this[_0x14ce63(0x107)],_0x14ce63(0x12d)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':jo}),this[_0x14ce63(0x164)](_0x217970,_0x14ce63(0x161),_0x4bd074=>{const _0x1ce9be=_0x14ce63;this[_0x1ce9be(0x147)](_0x1ce9be(0x139),_0x4bd074[_0x1ce9be(0x10b)][_0x1ce9be(0x115)]);}),_0x217970;}[_0xe7273b(0x15c)](){const _0x364708=_0xe7273b,_0x28bbda=new Yo(this[_0x364708(0x107)]);return _0x28bbda[_0x364708(0x12e)](_0x364708(0x134))['to'](this,_0x364708(0x11e),_0xf502cf=>_0xf502cf??''),_0x28bbda[_0x364708(0x12e)](_0x364708(0x117))['to'](this,_0x364708(0x14c),this,_0x364708(0x11e),(_0x8c94fe,_0x2c0cde)=>!_0x8c94fe&&!_0x2c0cde?.[_0x364708(0x113)]()[_0x364708(0x142)](_0x364708(0x13b))),_0x28bbda;}}class Ns extends _0x555f04{constructor(_0x5303f1,_0x365e24){const _0x5a28f7=_0xe7273b;super();const _0x3bd1bf=this[_0x5a28f7(0x15d)],_0x5e7ca6=this[_0x5a28f7(0x131)]();this[_0x5a28f7(0x149)]({'tag':_0x5a28f7(0x151),'attributes':{'class':['ck',_0x5a28f7(0x166)],'style':_0x3bd1bf['to'](_0x5a28f7(0x108)),'id':_0x3bd1bf['to']('id')},'children':[{'tag':_0x5a28f7(0x151),'attributes':{'class':[Wo]},'children':[{'text':_0x3bd1bf['to'](_0x5a28f7(0x134))}]},{'tag':_0x5a28f7(0x151),'attributes':{'class':[yo]},'children':[{'tag':_0x5a28f7(0x133),'children':[{'text':_0x365e24[_0x5a28f7(0x109)]}]}]},{'tag':_0x5a28f7(0x151),'attributes':{'class':[Go]},'children':_0x5e7ca6}]}),_0x5e7ca6[_0x5a28f7(0x14d)](this[_0x5a28f7(0x145)](_0x5303f1,_0xc1ef40,_0x5a28f7(0x111),_0x365e24[_0x5a28f7(0x10a)][_0x5a28f7(0x105)]?.[_0x5a28f7(0x125)]??!0x1)),_0x5e7ca6[_0x5a28f7(0x14d)](this[_0x5a28f7(0x145)](_0x5303f1,_0x1037e7,_0x5a28f7(0x128),_0x365e24[_0x5a28f7(0x10a)][_0x5a28f7(0x136)]?.[_0x5a28f7(0x125)]??!0x1));}[_0xe7273b(0x145)](_0xc13973,_0xfddaf2,_0x3ea181,_0x4f2404){const _0x32e8e8=_0xe7273b,_0x47a21d=new _0x39c9d9();_0x47a21d[_0x32e8e8(0x123)]=_0xfddaf2;const _0x460fc8=new _0x2adc93(_0xc13973);_0x460fc8[_0x32e8e8(0x149)]({'tag':_0x32e8e8(0x133),'children':[{'text':_0x4820f3(_0xc13973,_0x3ea181)+':\x20'}]});const _0x2d4eb1=new _0x2adc93(_0xc13973);return _0x2d4eb1[_0x32e8e8(0x149)]({'tag':_0x32e8e8(0x133),'children':[{'text':_0x4820f3(_0xc13973,_0x4f2404?_0x32e8e8(0x116):_0x32e8e8(0x126))}]}),[_0x47a21d,_0x460fc8,_0x2d4eb1];}}class Yo extends _0x2adc93{constructor(_0x4ec00b){const _0x5d2336=_0xe7273b;super(_0x4ec00b),this[_0x5d2336(0x163)](_0x5d2336(0x134),void 0x0),this[_0x5d2336(0x163)](_0x5d2336(0x117),!0x0);const _0x2f52fa=this[_0x5d2336(0x15d)];this[_0x5d2336(0x149)]({'tag':_0x5d2336(0x133),'attributes':{'class':['ck',_0x5d2336(0x103),_0x2f52fa['if'](_0x5d2336(0x117),_0x5d2336(0x122),_0xef7190=>!_0xef7190)]},'children':[{'text':_0x2f52fa['to'](_0x5d2336(0x134))}]});}}
23
+ const _0x22832d=_0x4fb8;(function(_0x44f5f1,_0x3c0387){const _0x1a0208=_0x4fb8,_0x3241cb=_0x44f5f1();while(!![]){try{const _0x3e2062=-parseInt(_0x1a0208(0x133))/0x1*(-parseInt(_0x1a0208(0x156))/0x2)+-parseInt(_0x1a0208(0x14d))/0x3*(-parseInt(_0x1a0208(0x127))/0x4)+-parseInt(_0x1a0208(0x151))/0x5*(-parseInt(_0x1a0208(0x14f))/0x6)+-parseInt(_0x1a0208(0x160))/0x7*(parseInt(_0x1a0208(0x15e))/0x8)+parseInt(_0x1a0208(0x174))/0x9+parseInt(_0x1a0208(0x148))/0xa+-parseInt(_0x1a0208(0x159))/0xb;if(_0x3e2062===_0x3c0387)break;else _0x3241cb['push'](_0x3241cb['shift']());}catch(_0x4f8b27){_0x3241cb['push'](_0x3241cb['shift']());}}}(_0x1559,0x825a4));import{Collection as _0x164fed}from'ckeditor5/src/utils.js';import{IconAI as _0x357b8f,IconBulb as _0x183dc5,IconWeb as _0xd3011d}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x20e46b,ButtonLabelView as _0x475dd7,ButtonView as _0xd9f665,createDropdown as _0x5c4f80,IconView as _0x3842a4,UIModel as _0x7abe70,View as _0x1cd0ee}from'ckeditor5/src/ui.js';import{getTranslation as _0x302855}from'../../../aicore/utils/common-translations.js';const Mo=_0x22832d(0x115),Io=_0x22832d(0x12f),Do=_0x22832d(0x14c),Wo=_0x22832d(0x135),yo=_0x22832d(0x169),Go=_0x22832d(0x137),jo=_0x22832d(0x153),Yo='n';function _0x4fb8(_0xf55d1,_0x375b2d){const _0x1559bf=_0x1559();return _0x4fb8=function(_0x4fb873,_0x203c05){_0x4fb873=_0x4fb873-0x113;let _0x20453d=_0x1559bf[_0x4fb873];return _0x20453d;},_0x4fb8(_0xf55d1,_0x375b2d);}export class AIChatPromptCapabilitiesView extends _0x1cd0ee{[_0x22832d(0x132)];[_0x22832d(0x152)];[_0x22832d(0x15c)];[_0x22832d(0x136)];[_0x22832d(0x147)];[_0x22832d(0x12b)];constructor(_0x49584f){const _0x1ec49a=_0x22832d;super(_0x49584f),this[_0x1ec49a(0x11f)](_0x1ec49a(0x173),!0x1),this[_0x1ec49a(0x11f)](_0x1ec49a(0x113),!0x1),this[_0x1ec49a(0x11f)](_0x1ec49a(0x155),!0x0),this[_0x1ec49a(0x11f)](_0x1ec49a(0x138),!0x0),this[_0x1ec49a(0x11f)](_0x1ec49a(0x16c),null),this[_0x1ec49a(0x11f)](_0x1ec49a(0x116),null),this[_0x1ec49a(0x136)]=this[_0x1ec49a(0x146)](),this[_0x1ec49a(0x12b)]=this[_0x1ec49a(0x121)](),this[_0x1ec49a(0x132)]=this[_0x1ec49a(0x172)](),this[_0x1ec49a(0x152)]=this[_0x1ec49a(0x162)](),this[_0x1ec49a(0x15c)]=this[_0x1ec49a(0x114)](),this[_0x1ec49a(0x136)][_0x1ec49a(0x12e)][_0x1ec49a(0x14b)](_0x1ec49a(0x158))['to'](this,_0x1ec49a(0x155),_0x535659=>_0x535659),this[_0x1ec49a(0x136)][_0x1ec49a(0x12e)][_0x1ec49a(0x14b)](_0x1ec49a(0x139))['to'](this,_0x1ec49a(0x138),_0x3cf6b3=>_0x3cf6b3?this[_0x1ec49a(0x136)][_0x1ec49a(0x12e)][_0x1ec49a(0x170)]:_0x302855(this[_0x1ec49a(0x144)],_0x1ec49a(0x145))),this[_0x1ec49a(0x136)][_0x1ec49a(0x14b)](_0x1ec49a(0x126))['to'](this,_0x1ec49a(0x138),_0x1d0389=>_0x1d0389),this[_0x1ec49a(0x132)][_0x1ec49a(0x14b)](_0x1ec49a(0x14e))['to'](this,_0x1ec49a(0x173),_0x5315ef=>_0x5315ef),this[_0x1ec49a(0x132)][_0x1ec49a(0x14b)](_0x1ec49a(0x13a))['to'](this,_0x1ec49a(0x155),_0x21330a=>!_0x21330a),this[_0x1ec49a(0x132)][_0x1ec49a(0x14b)](_0x1ec49a(0x139))['to'](this,_0x1ec49a(0x173),_0x375196=>_0x302855(this[_0x1ec49a(0x144)],_0x375196?_0x1ec49a(0x140):_0x1ec49a(0x164))),this[_0x1ec49a(0x152)][_0x1ec49a(0x14b)](_0x1ec49a(0x14e))['to'](this,_0x1ec49a(0x113),_0x299616=>_0x299616),this[_0x1ec49a(0x152)][_0x1ec49a(0x14b)](_0x1ec49a(0x13a))['to'](this,_0x1ec49a(0x155),_0x1afb70=>!_0x1afb70),this[_0x1ec49a(0x152)][_0x1ec49a(0x14b)](_0x1ec49a(0x139))['to'](this,_0x1ec49a(0x113),_0x1b6b46=>_0x302855(this[_0x1ec49a(0x144)],_0x1b6b46?_0x1ec49a(0x16e):_0x1ec49a(0x166))),this[_0x1ec49a(0x16b)]({'tag':_0x1ec49a(0x16a),'attributes':{'class':[Mo]},'children':[this[_0x1ec49a(0x136)],this[_0x1ec49a(0x12b)],this[_0x1ec49a(0x132)],this[_0x1ec49a(0x152)],this[_0x1ec49a(0x15c)]]}),this[_0x1ec49a(0x147)]=new _0x164fed(),_0x20e46b(this[_0x1ec49a(0x136)],this[_0x1ec49a(0x147)]);}[_0x22832d(0x11d)](_0x326422,_0xfc217){const _0x571851=_0x22832d;if(this[_0x571851(0x11f)](_0x571851(0x155),!(_0xfc217&&_0x326422[_0x571851(0x157)]<=0x1)),this[_0x571851(0x147)][_0x571851(0x13d)](),_0x326422?.[_0x571851(0x157)])for(const _0x3d283f of _0x326422){const _0x42191d=new _0x7abe70({'label':_0x3d283f[_0x571851(0x13b)],'withText':!0x0,'role':_0x571851(0x154),'id':_0x3d283f['id'],'model':_0x3d283f});_0x42191d[_0x571851(0x14b)](_0x571851(0x14e))['to'](this,_0x571851(0x16c),_0x6755c5=>_0x6755c5===_0x3d283f['id']),this[_0x571851(0x147)][_0x571851(0x11a)]({'type':_0x571851(0x122),'model':_0x42191d,'labelView':new Hs(this[_0x571851(0x144)],_0x3d283f)});}}[_0x22832d(0x15d)](_0x2e6938){const _0x3129dc=_0x22832d;this[_0x3129dc(0x11f)](_0x3129dc(0x173),_0x2e6938);}[_0x22832d(0x142)](_0x505c4e){const _0x257836=_0x22832d;this[_0x257836(0x11f)](_0x257836(0x113),_0x505c4e);}[_0x22832d(0x118)](_0x3a9deb){const _0x5641e2=_0x22832d;if(!_0x3a9deb)return;this[_0x5641e2(0x16c)]=_0x3a9deb['id'],this[_0x5641e2(0x116)]=_0x3a9deb[_0x5641e2(0x13b)]||_0x3a9deb['id'],this[_0x5641e2(0x136)][_0x5641e2(0x12e)][_0x5641e2(0x11f)](_0x5641e2(0x170),_0x3a9deb[_0x5641e2(0x13b)]),this[_0x5641e2(0x136)][_0x5641e2(0x12e)][_0x5641e2(0x11f)](_0x5641e2(0x139),_0x3a9deb[_0x5641e2(0x13b)]);const _0x4c45fc=_0x3a9deb[_0x5641e2(0x143)][_0x5641e2(0x13f)]?.[_0x5641e2(0x15b)]??!0x1;this[_0x5641e2(0x11f)](_0x5641e2(0x173),!0x1),this[_0x5641e2(0x132)][_0x5641e2(0x11f)](_0x5641e2(0x14e),!0x1),this[_0x5641e2(0x132)][_0x5641e2(0x11f)](_0x5641e2(0x126),_0x4c45fc),this[_0x5641e2(0x132)][_0x5641e2(0x11f)](_0x5641e2(0x158),_0x4c45fc);const _0x4ce542=_0x3a9deb[_0x5641e2(0x143)][_0x5641e2(0x161)]?.[_0x5641e2(0x15b)]??!0x1;this[_0x5641e2(0x11f)](_0x5641e2(0x113),!0x1),this[_0x5641e2(0x152)][_0x5641e2(0x11f)](_0x5641e2(0x14e),!0x1),this[_0x5641e2(0x152)][_0x5641e2(0x11f)](_0x5641e2(0x126),_0x4ce542),this[_0x5641e2(0x152)][_0x5641e2(0x11f)](_0x5641e2(0x158),_0x4ce542);}[_0x22832d(0x12d)](){const _0x10cb5f=_0x22832d;this[_0x10cb5f(0x11f)](_0x10cb5f(0x138),!0x0),this[_0x10cb5f(0x11f)](_0x10cb5f(0x155),!0x0);}[_0x22832d(0x15a)](_0x92f79){const _0x574423=_0x22832d;this[_0x574423(0x11f)](_0x574423(0x138),!0x1),_0x92f79&&this[_0x574423(0x11f)](_0x574423(0x155),!0x1);}[_0x22832d(0x172)](){const _0x9dea3b=_0x22832d,_0x5017da=new _0xd9f665();return _0x5017da[_0x9dea3b(0x11f)]({'label':_0x302855(this[_0x9dea3b(0x144)],_0x9dea3b(0x171)),'icon':_0xd3011d,'class':Io,'isToggleable':!0x0,'tooltipPosition':Yo}),_0x5017da['on'](_0x9dea3b(0x130),()=>{const _0x5878e3=_0x9dea3b;this[_0x5878e3(0x128)](_0x5878e3(0x134));}),_0x5017da;}[_0x22832d(0x162)](){const _0x19a83b=_0x22832d,_0xf3d2bb=new _0xd9f665();return _0xf3d2bb[_0x19a83b(0x11f)]({'label':_0x302855(this[_0x19a83b(0x144)],_0x19a83b(0x176)),'icon':_0x183dc5,'class':Io,'isToggleable':!0x0,'tooltipPosition':Yo}),_0xf3d2bb['on'](_0x19a83b(0x130),()=>{const _0x826883=_0x19a83b;this[_0x826883(0x128)](_0x826883(0x123));}),_0xf3d2bb;}[_0x22832d(0x114)](){const _0x2b1902=_0x22832d,_0x1f10ef=new _0xd9f665();return _0x1f10ef[_0x2b1902(0x11f)]({'label':_0x302855(this[_0x2b1902(0x144)],_0x2b1902(0x117)),'icon':_0x357b8f,'withText':!0x0,'class':Io,'isToggleable':!0x0,'tooltip':_0x302855(this[_0x2b1902(0x144)],_0x2b1902(0x117)),'tooltipPosition':Yo}),_0x1f10ef[_0x2b1902(0x124)]({'attributes':{'class':[Do]}}),_0x1f10ef['on'](_0x2b1902(0x130),()=>{const _0x327611=_0x2b1902;console[_0x327611(0x13e)](_0x327611(0x14a)),alert(_0x327611(0x14a));}),_0x1f10ef;}[_0x22832d(0x146)](){const _0x443990=_0x22832d,_0xe5b7ce=_0x5c4f80(this[_0x443990(0x144)]);return _0xe5b7ce[_0x443990(0x11f)]({'panelPosition':'ne','class':[Wo]}),_0xe5b7ce[_0x443990(0x12e)][_0x443990(0x11f)]({'label':_0x302855(this[_0x443990(0x144)],_0x443990(0x168)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Yo}),this[_0x443990(0x131)](_0xe5b7ce,_0x443990(0x130),_0x10a3f1=>{const _0x2f3b17=_0x443990;this[_0x2f3b17(0x128)](_0x2f3b17(0x16d),_0x10a3f1[_0x2f3b17(0x11b)][_0x2f3b17(0x167)]);}),_0xe5b7ce;}[_0x22832d(0x121)](){const _0x2b025c=_0x22832d,_0x944800=new qo(this[_0x2b025c(0x144)]);return _0x944800[_0x2b025c(0x14b)](_0x2b025c(0x13c))['to'](this,_0x2b025c(0x116),_0x11b1e3=>_0x11b1e3??''),_0x944800[_0x2b025c(0x14b)](_0x2b025c(0x158))['to'](this,_0x2b025c(0x155),this,_0x2b025c(0x116),(_0x2d837c,_0x1e3f90)=>!_0x2d837c&&!_0x1e3f90?.[_0x2b025c(0x16f)]()[_0x2b025c(0x129)](_0x2b025c(0x165))),_0x944800;}}class Hs extends _0x475dd7{constructor(_0x330002,_0xf0471d){const _0x3f701f=_0x22832d;super();const _0x200c9c=this[_0x3f701f(0x120)],_0x5020d5=this[_0x3f701f(0x119)]();this[_0x3f701f(0x16b)]({'tag':_0x3f701f(0x16a),'attributes':{'class':['ck',_0x3f701f(0x15f)],'style':_0x200c9c['to'](_0x3f701f(0x150)),'id':_0x200c9c['to']('id')},'children':[{'tag':_0x3f701f(0x16a),'attributes':{'class':[yo]},'children':[{'text':_0x200c9c['to'](_0x3f701f(0x13c))}]},{'tag':_0x3f701f(0x16a),'attributes':{'class':[Go]},'children':[{'tag':_0x3f701f(0x141),'children':[{'text':_0xf0471d[_0x3f701f(0x12c)]}]}]},{'tag':_0x3f701f(0x16a),'attributes':{'class':[jo]},'children':_0x5020d5}]}),_0x5020d5[_0x3f701f(0x163)](this[_0x3f701f(0x149)](_0x330002,_0xd3011d,_0x3f701f(0x171),_0xf0471d[_0x3f701f(0x143)][_0x3f701f(0x13f)]?.[_0x3f701f(0x15b)]??!0x1)),_0x5020d5[_0x3f701f(0x163)](this[_0x3f701f(0x149)](_0x330002,_0x183dc5,_0x3f701f(0x176),_0xf0471d[_0x3f701f(0x143)][_0x3f701f(0x161)]?.[_0x3f701f(0x15b)]??!0x1));}[_0x22832d(0x149)](_0x361bd8,_0x58c230,_0x4f3691,_0x1cc73d){const _0x13e37a=_0x22832d,_0x396835=new _0x3842a4();_0x396835[_0x13e37a(0x12a)]=_0x58c230;const _0x391797=new _0x1cd0ee(_0x361bd8);_0x391797[_0x13e37a(0x16b)]({'tag':_0x13e37a(0x141),'children':[{'text':_0x302855(_0x361bd8,_0x4f3691)+':\x20'}]});const _0x1e501c=new _0x1cd0ee(_0x361bd8);return _0x1e501c[_0x13e37a(0x16b)]({'tag':_0x13e37a(0x141),'children':[{'text':_0x302855(_0x361bd8,_0x1cc73d?_0x13e37a(0x175):_0x13e37a(0x125))}]}),[_0x396835,_0x391797,_0x1e501c];}}function _0x1559(){const _0x5278f0=['style','5955faDxMH','_reasoningButton','ck-ai-chat-controls__model-selection__item-capabilities','menuitemradio','modelSelectorVisible','2XgVDWQ','length','isVisible','24016432OIIecs','disableModelSelector','enabled','_commandsButton','setWebSearch','1592kHObSV','ck-button__label','7777GEoLIp','reasoning','_createReasoningButton','addMany','AI_CHAT_ENABLE_WEB_SEARCH','agent','AI_CHAT_ENABLE_REASONING','model','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','ck-ai-chat-controls__model-selection__item-name','div','setTemplate','activeModelId','selectModel','AI_CHAT_DISABLE_REASONING','toLowerCase','label','AI_CHAT_SEARCH_WEB','_createWebSearchButton','webSearchActive','5515713JJWrGu','AI_CHAT_CAPABILITIES_YES','AI_CHAT_REASONING','reasoningActive','_createCommandsButton','ck-ai-chat__prompt-capabilities','activeModelName','AI_CHAT_COMMANDS','setModel','createCollection','add','source','ck-ai-chat-controls__model-name','setModelList','ck-hidden','set','bindTemplate','_createModelNameView','button','toggleReasoning','extendTemplate','AI_CHAT_CAPABILITIES_NO','isEnabled','274552HfsMaW','fire','startsWith','content','_modelNameView','description','enableModelSelector','buttonView','ck-ai-chat-controls-button','execute','listenTo','_webSearchButton','426830wWZSdm','toggleWebSearch','ck-ai-chat-controls__model-selection','_modelSelectionDropdown','ck-ai-chat-controls__model-selection__item-description','modelSelectorEnabled','tooltip','withText','name','text','clear','log','webSearch','AI_CHAT_DISABLE_WEB_SEARCH','span','setReasoning','capabilities','locale','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','_createModelSelectionDropdown','_modelSelectionDropdownItems','2449840Bgwdai','_getCapabilityParts','Commands\x20are\x20not\x20implemented\x20yet.','bind','ck-ai-chat-controls-button--commands','45CPmCEa','isOn','3144JZVSdZ'];_0x1559=function(){return _0x5278f0;};return _0x1559();}class qo extends _0x1cd0ee{constructor(_0x57e073){const _0x1950db=_0x22832d;super(_0x57e073),this[_0x1950db(0x11f)](_0x1950db(0x13c),void 0x0),this[_0x1950db(0x11f)](_0x1950db(0x158),!0x0);const _0x2cae29=this[_0x1950db(0x120)];this[_0x1950db(0x16b)]({'tag':_0x1950db(0x141),'attributes':{'class':['ck',_0x1950db(0x11c),_0x2cae29['if'](_0x1950db(0x158),_0x1950db(0x11e),_0x2a010c=>!_0x2a010c)]},'children':[{'text':_0x2cae29['to'](_0x1950db(0x13c))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4fecb4=_0x59ef;(function(_0x40d334,_0x55ee60){const _0x17168a=_0x59ef,_0x3abfd7=_0x40d334();while(!![]){try{const _0x465a8f=-parseInt(_0x17168a(0x174))/0x1*(-parseInt(_0x17168a(0x15e))/0x2)+parseInt(_0x17168a(0x16d))/0x3+parseInt(_0x17168a(0x150))/0x4+-parseInt(_0x17168a(0x14e))/0x5*(-parseInt(_0x17168a(0x155))/0x6)+parseInt(_0x17168a(0x15f))/0x7+parseInt(_0x17168a(0x13f))/0x8*(-parseInt(_0x17168a(0x15d))/0x9)+parseInt(_0x17168a(0x154))/0xa*(-parseInt(_0x17168a(0x144))/0xb);if(_0x465a8f===_0x55ee60)break;else _0x3abfd7['push'](_0x3abfd7['shift']());}catch(_0x7aa678){_0x3abfd7['push'](_0x3abfd7['shift']());}}}(_0x24f5,0x2a240));import{IconSubmit as _0x325c77}from'ckeditor5/src/icons.js';import{ButtonView as _0x49274e,AutocompleteView as _0x2e7f45,createLabeledTextarea as _0x5a0344}from'ckeditor5/src/ui.js';import{global as _0x482dce,isVisible as _0x2c48f6,Rect as _0x9e8d90,ResizeObserver as _0x51a10a}from'ckeditor5/src/utils.js';import{getTranslation as _0x564909}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x10b3ce}from'./aichatpromptsuggestionslistview.js';import{escape as _0x7b05e5}from'es-toolkit/compat';function _0x59ef(_0x40a92e,_0x17bd14){const _0x24f5e0=_0x24f5();return _0x59ef=function(_0x59efa7,_0x465bab){_0x59efa7=_0x59efa7-0x135;let _0x207f05=_0x24f5e0[_0x59efa7];return _0x207f05;},_0x59ef(_0x40a92e,_0x17bd14);}export class AIChatPromptInputView extends _0x2e7f45{[_0x4fecb4(0x156)];static [_0x4fecb4(0x164)]=0x1;static [_0x4fecb4(0x146)]=0xc;[_0x4fecb4(0x14c)];[_0x4fecb4(0x172)];constructor(_0x1c54df,_0x4cec80){const _0x1c21b2=_0x4fecb4;super(_0x1c54df,{'queryView':{'label':'','creator':_0x5a0344,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x10b3ce(_0x1c54df),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x1c21b2(0x14b)](_0x1c21b2(0x136),!0x0),this[_0x1c21b2(0x14b)](_0x1c21b2(0x13a),!0x1),this[_0x1c21b2(0x14c)]=_0x4cec80,this[_0x1c21b2(0x172)]=null,this[_0x1c21b2(0x135)][_0x1c21b2(0x13c)][_0x1c21b2(0x173)]=AIChatPromptInputView[_0x1c21b2(0x164)],this[_0x1c21b2(0x135)][_0x1c21b2(0x13c)][_0x1c21b2(0x148)]=AIChatPromptInputView[_0x1c21b2(0x146)],this[_0x1c21b2(0x135)][_0x1c21b2(0x137)][_0x1c21b2(0x13b)](this[_0x1c21b2(0x14c)]),this[_0x1c21b2(0x138)](),this[_0x1c21b2(0x14f)]({'attributes':{'class':['ck',_0x1c21b2(0x151)]}}),this[_0x1c21b2(0x156)]=this[_0x1c21b2(0x170)](),this[_0x1c21b2(0x156)][_0x1c21b2(0x157)](_0x1c21b2(0x161))['to'](this,_0x1c21b2(0x136),this,_0x1c21b2(0x13a),(_0x41e21f,_0x41745a)=>!_0x41e21f&&!_0x41745a),this[_0x1c21b2(0x142)][_0x1c21b2(0x13b)](this[_0x1c21b2(0x156)]);}[_0x4fecb4(0x16a)](){const _0x1a93a4=_0x4fecb4;super[_0x1a93a4(0x16a)](),this[_0x1a93a4(0x135)][_0x1a93a4(0x137)][_0x1a93a4(0x13b)](this[_0x1a93a4(0x156)]),this[_0x1a93a4(0x141)][_0x1a93a4(0x14b)](_0x1a93a4(0x14a),(_0x15f1d7,_0x89c188)=>{const _0x5f087d=_0x1a93a4;this[_0x5f087d(0x13a)]||this[_0x5f087d(0x136)]||_0x15f1d7[_0x5f087d(0x163)]==this[_0x5f087d(0x135)][_0x5f087d(0x13c)][_0x5f087d(0x14d)]&&(this[_0x5f087d(0x167)](),_0x89c188());}),this[_0x1a93a4(0x135)][_0x1a93a4(0x13c)]['on'](_0x1a93a4(0x171),()=>{const _0x4f7bed=_0x1a93a4;this[_0x4f7bed(0x136)]=''===this[_0x4f7bed(0x135)][_0x4f7bed(0x13c)][_0x4f7bed(0x14d)][_0x4f7bed(0x162)]?.[_0x4f7bed(0x143)]();});}[_0x4fecb4(0x147)](){const _0x4dd8f8=_0x4fecb4;super[_0x4dd8f8(0x147)](),this[_0x4dd8f8(0x172)]&&this[_0x4dd8f8(0x172)][_0x4dd8f8(0x147)]();}[_0x4fecb4(0x167)](){const _0x514419=_0x4fecb4,_0x4f3840=this[_0x514419(0x135)][_0x514419(0x13c)][_0x514419(0x14d)][_0x514419(0x162)]?.[_0x514419(0x143)]();if(!_0x4f3840)return this[_0x514419(0x135)][_0x514419(0x15a)]=_0x564909(this[_0x514419(0x139)],_0x514419(0x140)),void(this[_0x514419(0x135)][_0x514419(0x13c)][_0x514419(0x159)]=!0x0);this[_0x514419(0x135)][_0x514419(0x13c)][_0x514419(0x159)]=!0x1;const _0x275283=_0x7b05e5(_0x4f3840);this[_0x514419(0x152)](_0x514419(0x13e),_0x275283),this[_0x514419(0x135)][_0x514419(0x13c)][_0x514419(0x168)]();}[_0x4fecb4(0x166)](_0x5d36bc){const _0x31d150=_0x4fecb4;this[_0x31d150(0x135)][_0x31d150(0x13c)][_0x31d150(0x14b)](_0x31d150(0x15b),_0x5d36bc);}[_0x4fecb4(0x170)](){const _0x88d152=_0x4fecb4,_0x1e191d=new _0x49274e(this[_0x88d152(0x139)]);return _0x1e191d[_0x88d152(0x14b)]({'icon':_0x325c77,'label':_0x564909(this[_0x88d152(0x139)],_0x88d152(0x145)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x88d152(0x13d),'isEnabled':!0x1}),_0x1e191d['on'](_0x88d152(0x169),()=>{const _0x2cd7ff=_0x88d152;this[_0x2cd7ff(0x167)]();}),_0x1e191d;}[_0x4fecb4(0x153)](_0x1d162b){const _0x5427f2=_0x4fecb4;this[_0x5427f2(0x13a)]=_0x1d162b;}[_0x4fecb4(0x138)](){const _0x5687fc=_0x4fecb4,_0x1a62c1=this[_0x5687fc(0x139)],_0x593a1f=()=>{const _0x243b5d=_0x5687fc;_0x482dce[_0x243b5d(0x175)][_0x243b5d(0x16e)](()=>{const _0x16b0ae=_0x243b5d;if(_0x2c48f6(this[_0x16b0ae(0x14d)])){const _0x309887=new _0x9e8d90(this[_0x16b0ae(0x135)][_0x16b0ae(0x13c)][_0x16b0ae(0x14d)]),_0x4818a5=new _0x9e8d90(this[_0x16b0ae(0x14c)][_0x16b0ae(0x14d)]),_0x1a0a3d=_0x309887[_0x16b0ae(0x15c)],_0x5677fc=_0x16b0ae(0x158)===_0x1a62c1[_0x16b0ae(0x160)]?_0x16b0ae(0x165):_0x16b0ae(0x149);_0x309887[_0x16b0ae(0x16b)]();const _0x279ad0=_0x1a0a3d-_0x309887[_0x16b0ae(0x15c)]+0x1;this[_0x16b0ae(0x14c)][_0x16b0ae(0x14d)][_0x16b0ae(0x16c)][_0x5677fc]=_0x16b0ae(0x176)+(_0x1a0a3d-_0x4818a5[_0x16b0ae(0x15c)]-_0x279ad0)+_0x16b0ae(0x16f);}});};this[_0x5687fc(0x135)][_0x5687fc(0x13c)]['on'](_0x5687fc(0x171),_0x593a1f),this['on'](_0x5687fc(0x16a),()=>{const _0x2fb418=_0x5687fc;_0x593a1f(),this[_0x2fb418(0x172)]=new _0x51a10a(this[_0x2fb418(0x135)][_0x2fb418(0x13c)][_0x2fb418(0x14d)],()=>{_0x593a1f();});});}}function _0x24f5(){const _0x240822=['523008dIptfN','requestAnimationFrame','px\x20-\x20var(--ck-spacing-tiny))','_createSubmitButton','update','_queryViewResizeObserver','minRows','1bnqPkU','window','calc(','queryView','isEmpty','fieldWrapperChildren','_setUpAddContextButtonPositioning','locale','isUploadInProgress','add','fieldView','ck-ai-chat__prompt-submit-button','sendUserMessage','16PjjDxd','AI_CHAT_PROMPT_EMPTY_ERROR','keystrokes','focusableChildren','trim','44tEkDFU','AI_CHAT_LABEL_SUBMIT','MAX_ROWS','destroy','maxRows','left','enter','set','_addContextButtonView','element','76955Htmgom','extendTemplate','90864OAmgCE','ck-ai-chat__prompt-input','fire','setIsUploadInProgress','1133660mBWvso','66tmpzPu','submitButtonView','bind','rtl','hasError','errorText','placeholder','width','400941IrnFrZ','186028DiZMCj','1790621pWJLMK','uiLanguageDirection','isEnabled','value','target','MIN_ROWS','right','setPlaceholderText','submit','reset','execute','render','excludeScrollbarsAndBorders','style'];_0x24f5=function(){return _0x240822;};return _0x24f5();}
23
+ const _0x4aec11=_0x2076;(function(_0x1eec0c,_0x429bf7){const _0x296b46=_0x2076,_0xa371a0=_0x1eec0c();while(!![]){try{const _0x599ba3=parseInt(_0x296b46(0x1a8))/0x1*(-parseInt(_0x296b46(0x1b9))/0x2)+parseInt(_0x296b46(0x1c6))/0x3+-parseInt(_0x296b46(0x1d4))/0x4+parseInt(_0x296b46(0x1d1))/0x5+parseInt(_0x296b46(0x1b7))/0x6+-parseInt(_0x296b46(0x1b5))/0x7*(parseInt(_0x296b46(0x19b))/0x8)+parseInt(_0x296b46(0x1ca))/0x9*(parseInt(_0x296b46(0x1aa))/0xa);if(_0x599ba3===_0x429bf7)break;else _0xa371a0['push'](_0xa371a0['shift']());}catch(_0x3bdc57){_0xa371a0['push'](_0xa371a0['shift']());}}}(_0x3d68,0x98af4));import{IconSubmit as _0x94a8e6}from'ckeditor5/src/icons.js';import{ButtonView as _0x5261c0,AutocompleteView as _0x4bd2ad,createLabeledTextarea as _0x3ea39a}from'ckeditor5/src/ui.js';import{global as _0x1551da,isVisible as _0x2ab64f,Rect as _0x5db3e6,ResizeObserver as _0x5271fa}from'ckeditor5/src/utils.js';import{getTranslation as _0x361e92}from'../../../aicore/utils/common-translations.js';function _0x3d68(){const _0xac6e2=['fire','791937gPuzTh','focusableChildren','requestAnimationFrame','ck-ai-chat__prompt-input','41346KnhZMF','uiLanguageDirection','extendTemplate','excludeScrollbarsAndBorders','_queryViewResizeObserver','_addContextButtonView','AI_CHAT_LABEL_SUBMIT','3554655qTrBoY','MAX_ROWS','sendUserMessage','3669312BvEDyp','isEnabled','placeholder','px\x20-\x20var(--ck-spacing-tiny))','value','reset','enter','isUploadInProgress','1295032giphfP','set','isEmpty','style','minRows','submitButtonView','add','setIsUploadInProgress','errorText','fieldWrapperChildren','hasError','width','fieldView','2683ncQRJr','AI_CHAT_PROMPT_EMPTY_ERROR','3580vtyGTa','destroy','render','calc(','left','right','locale','ck-ai-chat__prompt-submit-button','keystrokes','bind','element','49sLuzhU','trim','5875602vmExib','MIN_ROWS','688ClyZJy','setPlaceholderText','_createSubmitButton','rtl','submit','queryView','_setUpAddContextButtonPositioning','window','maxRows','update','target','execute'];_0x3d68=function(){return _0xac6e2;};return _0x3d68();}import{AIChatPromptSuggestionsListView as _0x2b7c06}from'./aichatpromptsuggestionslistview.js';import{escape as _0x5ead06}from'es-toolkit/compat';function _0x2076(_0x7ff610,_0x4060b1){const _0x3d6820=_0x3d68();return _0x2076=function(_0x20769f,_0x5d2da2){_0x20769f=_0x20769f-0x194;let _0xb2e822=_0x3d6820[_0x20769f];return _0xb2e822;},_0x2076(_0x7ff610,_0x4060b1);}export class AIChatPromptInputView extends _0x4bd2ad{[_0x4aec11(0x1a0)];static [_0x4aec11(0x1b8)]=0x1;static [_0x4aec11(0x1d2)]=0xc;[_0x4aec11(0x1cf)];[_0x4aec11(0x1ce)];constructor(_0x486a29,_0xae21fd){const _0x24ef9d=_0x4aec11;super(_0x486a29,{'queryView':{'label':'','creator':_0x3ea39a,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x2b7c06(_0x486a29),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x24ef9d(0x19c)](_0x24ef9d(0x19d),!0x0),this[_0x24ef9d(0x19c)](_0x24ef9d(0x19a),!0x1),this[_0x24ef9d(0x1cf)]=_0xae21fd,this[_0x24ef9d(0x1ce)]=null,this[_0x24ef9d(0x1be)][_0x24ef9d(0x1a7)][_0x24ef9d(0x19f)]=AIChatPromptInputView[_0x24ef9d(0x1b8)],this[_0x24ef9d(0x1be)][_0x24ef9d(0x1a7)][_0x24ef9d(0x1c1)]=AIChatPromptInputView[_0x24ef9d(0x1d2)],this[_0x24ef9d(0x1be)][_0x24ef9d(0x1a4)][_0x24ef9d(0x1a1)](this[_0x24ef9d(0x1cf)]),this[_0x24ef9d(0x1bf)](),this[_0x24ef9d(0x1cc)]({'attributes':{'class':['ck',_0x24ef9d(0x1c9)]}}),this[_0x24ef9d(0x1a0)]=this[_0x24ef9d(0x1bb)](),this[_0x24ef9d(0x1a0)][_0x24ef9d(0x1b3)](_0x24ef9d(0x194))['to'](this,_0x24ef9d(0x19d),this,_0x24ef9d(0x19a),(_0x3fbd75,_0xadb410)=>!_0x3fbd75&&!_0xadb410),this[_0x24ef9d(0x1c7)][_0x24ef9d(0x1a1)](this[_0x24ef9d(0x1a0)]);}[_0x4aec11(0x1ac)](){const _0x3d8e27=_0x4aec11;super[_0x3d8e27(0x1ac)](),this[_0x3d8e27(0x1be)][_0x3d8e27(0x1a4)][_0x3d8e27(0x1a1)](this[_0x3d8e27(0x1a0)]),this[_0x3d8e27(0x1b2)][_0x3d8e27(0x19c)](_0x3d8e27(0x199),(_0x13b762,_0x26db93)=>{const _0x2cefe7=_0x3d8e27;this[_0x2cefe7(0x19a)]||this[_0x2cefe7(0x19d)]||_0x13b762[_0x2cefe7(0x1c3)]==this[_0x2cefe7(0x1be)][_0x2cefe7(0x1a7)][_0x2cefe7(0x1b4)]&&(this[_0x2cefe7(0x1bd)](),_0x26db93());}),this[_0x3d8e27(0x1be)][_0x3d8e27(0x1a7)]['on'](_0x3d8e27(0x1c2),()=>{const _0x178416=_0x3d8e27;this[_0x178416(0x19d)]=''===this[_0x178416(0x1be)][_0x178416(0x1a7)][_0x178416(0x1b4)][_0x178416(0x197)]?.[_0x178416(0x1b6)]();});}[_0x4aec11(0x1ab)](){const _0x1e8aa8=_0x4aec11;super[_0x1e8aa8(0x1ab)](),this[_0x1e8aa8(0x1ce)]&&this[_0x1e8aa8(0x1ce)][_0x1e8aa8(0x1ab)]();}[_0x4aec11(0x1bd)](){const _0x54f798=_0x4aec11,_0x3dc3b1=this[_0x54f798(0x1be)][_0x54f798(0x1a7)][_0x54f798(0x1b4)][_0x54f798(0x197)]?.[_0x54f798(0x1b6)]();if(!_0x3dc3b1)return this[_0x54f798(0x1be)][_0x54f798(0x1a3)]=_0x361e92(this[_0x54f798(0x1b0)],_0x54f798(0x1a9)),void(this[_0x54f798(0x1be)][_0x54f798(0x1a7)][_0x54f798(0x1a5)]=!0x0);this[_0x54f798(0x1be)][_0x54f798(0x1a7)][_0x54f798(0x1a5)]=!0x1;const _0x1b897c=_0x5ead06(_0x3dc3b1);this[_0x54f798(0x1c5)](_0x54f798(0x1d3),_0x1b897c),this[_0x54f798(0x1be)][_0x54f798(0x1a7)][_0x54f798(0x198)]();}[_0x4aec11(0x1ba)](_0x27f561){const _0x27fd6f=_0x4aec11;this[_0x27fd6f(0x1be)][_0x27fd6f(0x1a7)][_0x27fd6f(0x19c)](_0x27fd6f(0x195),_0x27f561);}[_0x4aec11(0x1bb)](){const _0x58736e=_0x4aec11,_0x4d724e=new _0x5261c0(this[_0x58736e(0x1b0)]);return _0x4d724e[_0x58736e(0x19c)]({'icon':_0x94a8e6,'label':_0x361e92(this[_0x58736e(0x1b0)],_0x58736e(0x1d0)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x58736e(0x1b1),'isEnabled':!0x1}),_0x4d724e['on'](_0x58736e(0x1c4),()=>{const _0x2235d2=_0x58736e;this[_0x2235d2(0x1bd)]();}),_0x4d724e;}[_0x4aec11(0x1a2)](_0x4a63d9){const _0x1bd0a6=_0x4aec11;this[_0x1bd0a6(0x19a)]=_0x4a63d9;}[_0x4aec11(0x1bf)](){const _0x27bf33=_0x4aec11,_0x526155=this[_0x27bf33(0x1b0)],_0x321a8c=()=>{const _0x5b7836=_0x27bf33;_0x1551da[_0x5b7836(0x1c0)][_0x5b7836(0x1c8)](()=>{const _0x32d236=_0x5b7836;if(_0x2ab64f(this[_0x32d236(0x1b4)])){const _0x1bcbc3=new _0x5db3e6(this[_0x32d236(0x1be)][_0x32d236(0x1a7)][_0x32d236(0x1b4)]),_0x519cc3=new _0x5db3e6(this[_0x32d236(0x1cf)][_0x32d236(0x1b4)]),_0xd0f061=_0x1bcbc3[_0x32d236(0x1a6)],_0x3dc929=_0x32d236(0x1bc)===_0x526155[_0x32d236(0x1cb)]?_0x32d236(0x1af):_0x32d236(0x1ae);_0x1bcbc3[_0x32d236(0x1cd)]();const _0x5ef128=_0xd0f061-_0x1bcbc3[_0x32d236(0x1a6)]+0x1;this[_0x32d236(0x1cf)][_0x32d236(0x1b4)][_0x32d236(0x19e)][_0x3dc929]=_0x32d236(0x1ad)+(_0xd0f061-_0x519cc3[_0x32d236(0x1a6)]-_0x5ef128)+_0x32d236(0x196);}});};this[_0x27bf33(0x1be)][_0x27bf33(0x1a7)]['on'](_0x27bf33(0x1c2),_0x321a8c),this['on'](_0x27bf33(0x1ac),()=>{const _0x1e9919=_0x27bf33;_0x321a8c(),this[_0x1e9919(0x1ce)]=new _0x5271fa(this[_0x1e9919(0x1be)][_0x1e9919(0x1a7)][_0x1e9919(0x1b4)],()=>{_0x321a8c();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bd467=_0x4b86;(function(_0x4db324,_0xec9d02){const _0x2a11f1=_0x4b86,_0x149974=_0x4db324();while(!![]){try{const _0x24280d=parseInt(_0x2a11f1(0x9b))/0x1*(parseInt(_0x2a11f1(0xa6))/0x2)+parseInt(_0x2a11f1(0x9d))/0x3*(-parseInt(_0x2a11f1(0x9c))/0x4)+parseInt(_0x2a11f1(0xa1))/0x5+parseInt(_0x2a11f1(0xa4))/0x6*(parseInt(_0x2a11f1(0x98))/0x7)+parseInt(_0x2a11f1(0x99))/0x8*(-parseInt(_0x2a11f1(0xa5))/0x9)+parseInt(_0x2a11f1(0xa0))/0xa*(-parseInt(_0x2a11f1(0x9f))/0xb)+-parseInt(_0x2a11f1(0xa2))/0xc;if(_0x24280d===_0xec9d02)break;else _0x149974['push'](_0x149974['shift']());}catch(_0x19f473){_0x149974['push'](_0x149974['shift']());}}}(_0x5aad,0xe1cfd));function _0x5aad(){const _0x396516=['3459141OaukRJ','46976GaZlox','items','38sSDYKx','1068948cSqEJL','12bWuMVL','filter','37334YweyoK','510VMFvNl','7681025sGVzGo','5910516XDsXRx','length','6EnDwLE','558fHOHUA','52274wDBOKu'];_0x5aad=function(){return _0x396516;};return _0x5aad();}function _0x4b86(_0x27044a,_0x703e48){const _0x5aad55=_0x5aad();return _0x4b86=function(_0x4b8602,_0x347c14){_0x4b8602=_0x4b8602-0x98;let _0x1bf6ca=_0x5aad55[_0x4b8602];return _0x1bf6ca;},_0x4b86(_0x27044a,_0x703e48);}import{ListView as _0x40b81e}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x40b81e{[_0x2bd467(0x9e)](){const _0x2e4b1d=_0x2bd467;let _0x34adb9=0x0;for(const _0x57525d of this[_0x2e4b1d(0x9a)])_0x34adb9+=_0x57525d[_0x2e4b1d(0x9a)][_0x2e4b1d(0xa3)];return{'resultsCount':_0x34adb9,'totalItemsCount':_0x34adb9};}}
23
+ function _0x3a76(){const _0x5e5781=['items','6EFKjim','1693503sqdbhl','length','2151964pNMcHr','974910oCLgYm','484872wbsiZK','128298WRbuof','filter','235678WEVlPb','1594105xYhBeu','3mFyShV','27tnbGyA'];_0x3a76=function(){return _0x5e5781;};return _0x3a76();}function _0x1c2a(_0xd49270,_0x1d8501){const _0x3a769f=_0x3a76();return _0x1c2a=function(_0x1c2abd,_0x277ba5){_0x1c2abd=_0x1c2abd-0x1b2;let _0x43d715=_0x3a769f[_0x1c2abd];return _0x43d715;},_0x1c2a(_0xd49270,_0x1d8501);}const _0x3e4c34=_0x1c2a;(function(_0x5d5278,_0x3da793){const _0x4d1066=_0x1c2a,_0x8a9a6=_0x5d5278();while(!![]){try{const _0x13ac44=-parseInt(_0x4d1066(0x1b5))/0x1+parseInt(_0x4d1066(0x1b7))/0x2*(parseInt(_0x4d1066(0x1b9))/0x3)+parseInt(_0x4d1066(0x1b2))/0x4+parseInt(_0x4d1066(0x1b8))/0x5*(-parseInt(_0x4d1066(0x1bc))/0x6)+-parseInt(_0x4d1066(0x1bd))/0x7+parseInt(_0x4d1066(0x1b4))/0x8+-parseInt(_0x4d1066(0x1ba))/0x9*(-parseInt(_0x4d1066(0x1b3))/0xa);if(_0x13ac44===_0x3da793)break;else _0x8a9a6['push'](_0x8a9a6['shift']());}catch(_0x3d6002){_0x8a9a6['push'](_0x8a9a6['shift']());}}}(_0x3a76,0x4e178));import{ListView as _0x32f32a}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x32f32a{[_0x3e4c34(0x1b6)](){const _0x5e0745=_0x3e4c34;let _0x2f6fff=0x0;for(const _0x52fdf0 of this[_0x5e0745(0x1bb)])_0x2f6fff+=_0x52fdf0[_0x5e0745(0x1bb)][_0x5e0745(0x1be)];return{'resultsCount':_0x2f6fff,'totalItemsCount':_0x2f6fff};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x598bda=_0x58aa;(function(_0x691335,_0x4b6674){const _0xa329db=_0x58aa,_0x2216e4=_0x691335();while(!![]){try{const _0x4584eb=parseInt(_0xa329db(0x157))/0x1*(-parseInt(_0xa329db(0x161))/0x2)+-parseInt(_0xa329db(0x165))/0x3+parseInt(_0xa329db(0x162))/0x4*(parseInt(_0xa329db(0x150))/0x5)+parseInt(_0xa329db(0x15b))/0x6+-parseInt(_0xa329db(0x173))/0x7+parseInt(_0xa329db(0x168))/0x8+parseInt(_0xa329db(0x160))/0x9;if(_0x4584eb===_0x4b6674)break;else _0x2216e4['push'](_0x2216e4['shift']());}catch(_0x16faa5){_0x2216e4['push'](_0x2216e4['shift']());}}}(_0x5593,0xbb7b0));import{HighlightedTextView as _0x4ef482,IconView as _0x44f5ff,ListItemView as _0x2efefa}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x35b257}from'es-toolkit/compat';import{AIContextItemType as _0x338cca}from'../../../../aicore/model/aicontext.js';function _0x5593(){const _0x249da1=['render','19800819iroZfS','5332XnfOqX','13664RtlNip','isVisible','ck-ai-chat-resources__item-title','2535093rsOrMe','label','updateResourceState','1388344QCQKkT','div','_createTitleView','isInContext','setTemplate','span','ck-ai-chat-resources__item','execute','ck-ai-chat-resources__item__icon','_titleView','getResourceIcon','10421705CDwkJo','type','URL','text','resource','DOCUMENT','_iconView','highlightText','2205KwOCgk','content','set','FILE','ck-hidden','trim','bindTemplate','388UGikwH','_createIconView','_updateIcon','_setupTemplate','1536504BCWagS','extendTemplate','TEXT','ck-ai-chat-resources__item--in-context'];_0x5593=function(){return _0x249da1;};return _0x5593();}import{IconFileUpload as _0x575434,IconCheck as _0x46258a,IconDocument as _0x2311e6,IconDocumentOutline as _0x4b80fc,IconLink as _0x2fc52c}from'@ckeditor/ckeditor5-icons';const Tr=_0x598bda(0x16e),qr=_0x598bda(0x15e),zr=_0x598bda(0x164),Br=_0x598bda(0x170);function _0x58aa(_0x33babc,_0x41b2c3){const _0x55930a=_0x5593();return _0x58aa=function(_0x58aa80,_0x36e58b){_0x58aa80=_0x58aa80-0x14a;let _0x3a1cc1=_0x55930a[_0x58aa80];return _0x3a1cc1;},_0x58aa(_0x33babc,_0x41b2c3);}export class AIChatResourceListItemView extends _0x2efefa{[_0x598bda(0x14c)];[_0x598bda(0x171)];[_0x598bda(0x14e)];constructor(_0x2db7de,_0x35053c){const _0x46126d=_0x598bda;super(_0x2db7de),this[_0x46126d(0x14c)]=_0x35053c,this[_0x46126d(0x152)](_0x46126d(0x16b),!!_0x35053c[_0x46126d(0x16b)]),this[_0x46126d(0x171)]=this[_0x46126d(0x16a)](),this[_0x46126d(0x14e)]=this[_0x46126d(0x158)](),this[_0x46126d(0x15a)]();}[_0x598bda(0x15f)](){const _0x926ec4=_0x598bda;super[_0x926ec4(0x15f)]();}[_0x598bda(0x172)](_0x5843e4){const _0x15df6b=_0x598bda;if(_0x5843e4[_0x15df6b(0x16b)])return _0x46258a;switch(_0x5843e4[_0x15df6b(0x174)]){case _0x338cca[_0x15df6b(0x14d)]:return _0x2311e6;case _0x338cca[_0x15df6b(0x14a)]:return _0x2fc52c;case _0x338cca[_0x15df6b(0x153)]:case _0x338cca[_0x15df6b(0x15d)]:return _0x575434;default:return _0x4b80fc;}}[_0x598bda(0x14f)](_0x5549d0){const _0xff7e31=_0x598bda;if(!_0x5549d0||''===_0x5549d0[_0xff7e31(0x155)]())return void this[_0xff7e31(0x171)][_0xff7e31(0x14f)](null);const _0x40b786=new RegExp(_0x35b257(_0x5549d0),'gi');this[_0xff7e31(0x171)][_0xff7e31(0x14f)](_0x40b786);}[_0x598bda(0x167)](_0x219319){const _0x1db7d0=_0x598bda;this[_0x1db7d0(0x14c)][_0x1db7d0(0x16b)]=_0x219319,this[_0x1db7d0(0x16b)]=_0x219319,this[_0x1db7d0(0x159)]();}[_0x598bda(0x16a)](){const _0x361542=_0x598bda,_0x2c412a=new _0x4ef482();return _0x2c412a[_0x361542(0x14b)]=this[_0x361542(0x14c)][_0x361542(0x166)],_0x2c412a[_0x361542(0x15c)]({'tag':_0x361542(0x16d),'attributes':{'class':[zr]}}),_0x2c412a;}[_0x598bda(0x158)](){const _0xd78bb6=_0x598bda,_0x1ee533=new _0x44f5ff();return _0x1ee533[_0xd78bb6(0x151)]=this[_0xd78bb6(0x172)](this[_0xd78bb6(0x14c)]),_0x1ee533;}[_0x598bda(0x15a)](){const _0x49f281=_0x598bda,_0x3dc149=this[_0x49f281(0x156)];this[_0x49f281(0x16c)]({'tag':_0x49f281(0x169),'attributes':{'class':[Tr,_0x3dc149['if'](_0x49f281(0x163),_0x49f281(0x154),_0x148d94=>!_0x148d94),_0x3dc149['if'](_0x49f281(0x16b),qr)]},'children':[{'tag':_0x49f281(0x169),'attributes':{'class':[Br]},'children':[this[_0x49f281(0x14e)]]},this[_0x49f281(0x171)]],'on':{'click':_0x3dc149['to'](_0x49f281(0x16f))}});}[_0x598bda(0x159)](){const _0x26fe48=_0x598bda;this[_0x26fe48(0x14e)][_0x26fe48(0x151)]=this[_0x26fe48(0x172)](this[_0x26fe48(0x14c)]);}}
23
+ const _0x2ff794=_0x38a3;(function(_0x3623d3,_0x1de8db){const _0x543ea0=_0x38a3,_0x1f05b5=_0x3623d3();while(!![]){try{const _0x13349c=-parseInt(_0x543ea0(0x1ed))/0x1*(parseInt(_0x543ea0(0x1fc))/0x2)+-parseInt(_0x543ea0(0x215))/0x3+-parseInt(_0x543ea0(0x1fd))/0x4*(-parseInt(_0x543ea0(0x213))/0x5)+parseInt(_0x543ea0(0x1eb))/0x6+-parseInt(_0x543ea0(0x200))/0x7+-parseInt(_0x543ea0(0x1fe))/0x8*(-parseInt(_0x543ea0(0x212))/0x9)+-parseInt(_0x543ea0(0x201))/0xa;if(_0x13349c===_0x1de8db)break;else _0x1f05b5['push'](_0x1f05b5['shift']());}catch(_0xab4d4d){_0x1f05b5['push'](_0x1f05b5['shift']());}}}(_0x5917,0x5c343));import{HighlightedTextView as _0x6ec986,IconView as _0x2f9687,ListItemView as _0x31966b}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x120923}from'es-toolkit/compat';import{AIContextItemType as _0x2a9fa3}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x4f6b73,IconCheck as _0x4f0c79,IconDocument as _0x415d99,IconDocumentOutline as _0x16bae8,IconLink as _0x1ffb59}from'@ckeditor/ckeditor5-icons';const Tr=_0x2ff794(0x216),qr=_0x2ff794(0x1f9),zr=_0x2ff794(0x20c),Br=_0x2ff794(0x204);function _0x38a3(_0x5cfd8a,_0x3a25f2){const _0x591758=_0x5917();return _0x38a3=function(_0x38a3ba,_0x44f5e0){_0x38a3ba=_0x38a3ba-0x1eb;let _0xc3f8cd=_0x591758[_0x38a3ba];return _0xc3f8cd;},_0x38a3(_0x5cfd8a,_0x3a25f2);}function _0x5917(){const _0x1da216=['label','DOCUMENT','span','highlightText','isInContext','extendTemplate','resource','execute','URL','_createTitleView','ck-ai-chat-resources__item--in-context','isVisible','content','2joGSRN','152XudQgt','4217272XfxQQp','bindTemplate','828275hrZNzq','18750EwzUvJ','updateResourceState','_setupTemplate','ck-ai-chat-resources__item__icon','text','_updateIcon','div','ck-hidden','_titleView','setTemplate','render','ck-ai-chat-resources__item-title','TEXT','getResourceIcon','_iconView','set','FILE','9fAmzvZ','39490sVDbVT','type','316143mMPiMQ','ck-ai-chat-resources__item','1606812eiuRmc','_createIconView','491837ZxUqGq','trim'];_0x5917=function(){return _0x1da216;};return _0x5917();}export class AIChatResourceListItemView extends _0x31966b{[_0x2ff794(0x1f5)];[_0x2ff794(0x209)];[_0x2ff794(0x20f)];constructor(_0xdbcbfa,_0x11bd2d){const _0x24ce53=_0x2ff794;super(_0xdbcbfa),this[_0x24ce53(0x1f5)]=_0x11bd2d,this[_0x24ce53(0x210)](_0x24ce53(0x1f3),!!_0x11bd2d[_0x24ce53(0x1f3)]),this[_0x24ce53(0x209)]=this[_0x24ce53(0x1f8)](),this[_0x24ce53(0x20f)]=this[_0x24ce53(0x1ec)](),this[_0x24ce53(0x203)]();}[_0x2ff794(0x20b)](){const _0x4b1fa8=_0x2ff794;super[_0x4b1fa8(0x20b)]();}[_0x2ff794(0x20e)](_0x564032){const _0x5a3db3=_0x2ff794;if(_0x564032[_0x5a3db3(0x1f3)])return _0x4f0c79;switch(_0x564032[_0x5a3db3(0x214)]){case _0x2a9fa3[_0x5a3db3(0x1f0)]:return _0x415d99;case _0x2a9fa3[_0x5a3db3(0x1f7)]:return _0x1ffb59;case _0x2a9fa3[_0x5a3db3(0x211)]:case _0x2a9fa3[_0x5a3db3(0x20d)]:return _0x4f6b73;default:return _0x16bae8;}}[_0x2ff794(0x1f2)](_0x1d155b){const _0x2326ec=_0x2ff794;if(!_0x1d155b||''===_0x1d155b[_0x2326ec(0x1ee)]())return void this[_0x2326ec(0x209)][_0x2326ec(0x1f2)](null);const _0x14e5c5=new RegExp(_0x120923(_0x1d155b),'gi');this[_0x2326ec(0x209)][_0x2326ec(0x1f2)](_0x14e5c5);}[_0x2ff794(0x202)](_0x12f085){const _0x237237=_0x2ff794;this[_0x237237(0x1f5)][_0x237237(0x1f3)]=_0x12f085,this[_0x237237(0x1f3)]=_0x12f085,this[_0x237237(0x206)]();}[_0x2ff794(0x1f8)](){const _0x3580c8=_0x2ff794,_0x506273=new _0x6ec986();return _0x506273[_0x3580c8(0x205)]=this[_0x3580c8(0x1f5)][_0x3580c8(0x1ef)],_0x506273[_0x3580c8(0x1f4)]({'tag':_0x3580c8(0x1f1),'attributes':{'class':[zr]}}),_0x506273;}[_0x2ff794(0x1ec)](){const _0x41dbf5=_0x2ff794,_0x5d85a8=new _0x2f9687();return _0x5d85a8[_0x41dbf5(0x1fb)]=this[_0x41dbf5(0x20e)](this[_0x41dbf5(0x1f5)]),_0x5d85a8;}[_0x2ff794(0x203)](){const _0x350f85=_0x2ff794,_0x50fb91=this[_0x350f85(0x1ff)];this[_0x350f85(0x20a)]({'tag':_0x350f85(0x207),'attributes':{'class':[Tr,_0x50fb91['if'](_0x350f85(0x1fa),_0x350f85(0x208),_0x45bcc3=>!_0x45bcc3),_0x50fb91['if'](_0x350f85(0x1f3),qr)]},'children':[{'tag':_0x350f85(0x207),'attributes':{'class':[Br]},'children':[this[_0x350f85(0x20f)]]},this[_0x350f85(0x209)]],'on':{'click':_0x50fb91['to'](_0x350f85(0x1f6))}});}[_0x2ff794(0x206)](){const _0x846d26=_0x2ff794;this[_0x846d26(0x20f)][_0x846d26(0x1fb)]=this[_0x846d26(0x20e)](this[_0x846d26(0x1f5)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4000ea=_0x3778;(function(_0x59a56b,_0x2e1560){const _0x5b8a75=_0x3778,_0x4f4cce=_0x59a56b();while(!![]){try{const _0x14f1f3=parseInt(_0x5b8a75(0x14b))/0x1+parseInt(_0x5b8a75(0x13b))/0x2*(parseInt(_0x5b8a75(0x150))/0x3)+-parseInt(_0x5b8a75(0x157))/0x4+-parseInt(_0x5b8a75(0x139))/0x5*(parseInt(_0x5b8a75(0x15d))/0x6)+-parseInt(_0x5b8a75(0x144))/0x7+-parseInt(_0x5b8a75(0x137))/0x8*(parseInt(_0x5b8a75(0x126))/0x9)+parseInt(_0x5b8a75(0x13d))/0xa;if(_0x14f1f3===_0x2e1560)break;else _0x4f4cce['push'](_0x4f4cce['shift']());}catch(_0x3448dc){_0x4f4cce['push'](_0x4f4cce['shift']());}}}(_0x2f61,0xc1b91));function _0x2f61(){const _0x127a0c=['source','values','show','3027488ryhNoX','onResourceSelected','setResources','ck-button-icon\x20ck-button-back','loadSourceResources','label','6kJrTqq','get','addResourceToContext','9zXJNES','_createBalloonResourcesView','onBackToContext','_locale','_sourceResourceBalloons','ck-ai-chat-context-controls__source-balloon-panel','element','updateResourceState','getTargetElement','resource','_createBalloonHeader','_createSourceResourceBalloonPanel','getLimiterElement','delete','pin','onBalloonClosed','closeSourceResourceBalloon','3287680QrHAes','showSourceResourcesBalloon','5966385NZhQqv','_getResourcesViewFromBalloon','244ZxyUdq','_setupSingleResourceBalloonClickOutsideHandler','25910630LShjYO','isVisible','_config','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','populateSourceResourceBalloon','extendTemplate','content','9123338fTvpkk','set','clear','add','hide','onLoadSourceResources','isAnyResourceBalloonVisible','559761GBmkIx','_bodyCollection','children','_addSourceResourceContent','destroy','32142rCeLIo','execute','_createBackButton','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source'];_0x2f61=function(){return _0x127a0c;};return _0x2f61();}function _0x3778(_0x1ee908,_0x4475f6){const _0x2f6183=_0x2f61();return _0x3778=function(_0x37783c,_0x54b1df){_0x37783c=_0x37783c-0x124;let _0x589eb3=_0x2f6183[_0x37783c];return _0x589eb3;},_0x3778(_0x1ee908,_0x4475f6);}import{BalloonPanelView as _0xd772c4,ButtonView as _0x379ad6,clickOutsideHandler as _0xe7f111,FormHeaderView as _0x56af5a}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x349dc9}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5a68e6}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x2f60f7}from'./aichatresourcesview.js';const Qo=_0x4000ea(0x12b),Zo=_0x4000ea(0x15a),Or=_0x4000ea(0x153);export class AIChatResourcesBalloonView{[_0x4000ea(0x12a)]=new Map();[_0x4000ea(0x14c)];[_0x4000ea(0x129)];[_0x4000ea(0x13f)];constructor(_0x538013,_0x3ed222,_0x438dab){const _0x1b893c=_0x4000ea;this[_0x1b893c(0x129)]=_0x538013,this[_0x1b893c(0x14c)]=_0x3ed222,this[_0x1b893c(0x13f)]=_0x438dab;}[_0x4000ea(0x138)](_0xf24a45){const _0x3d03c4=_0x4000ea;let _0x5e8137=this[_0x3d03c4(0x12a)][_0x3d03c4(0x124)](_0xf24a45['id']);_0x5e8137||(_0x5e8137=this[_0x3d03c4(0x131)](),this[_0x3d03c4(0x12a)][_0x3d03c4(0x145)](_0xf24a45['id'],_0x5e8137),this[_0x3d03c4(0x13c)](_0x5e8137)),this[_0x3d03c4(0x14e)](_0x5e8137,_0xf24a45),_0x5e8137[_0x3d03c4(0x156)]();const _0x57cec8=this[_0x3d03c4(0x13f)][_0x3d03c4(0x12e)]();_0x57cec8&&_0x5e8137[_0x3d03c4(0x134)]({'target':_0x57cec8,'limiter':this[_0x3d03c4(0x13f)][_0x3d03c4(0x132)]()});}[_0x4000ea(0x141)](_0x9a9599,_0x141b18,_0x6249ee){const _0x1077b4=_0x4000ea,_0x13fdcf=this[_0x1077b4(0x12a)][_0x1077b4(0x124)](_0x9a9599);if(!_0x13fdcf)return;const _0x5925ee=this[_0x1077b4(0x13a)](_0x13fdcf);_0x5925ee&&_0x5925ee[_0x1077b4(0x159)](_0x141b18,_0x6249ee);}[_0x4000ea(0x136)](_0xc13790){const _0x4d00a1=_0x4000ea,_0x364cee=this[_0x4d00a1(0x12a)][_0x4d00a1(0x124)](_0xc13790);_0x364cee&&requestAnimationFrame(()=>{const _0x123a5a=_0x4d00a1;_0x364cee[_0x123a5a(0x148)](),this[_0x123a5a(0x12a)][_0x123a5a(0x133)](_0xc13790),this[_0x123a5a(0x13f)][_0x123a5a(0x135)]();});}[_0x4000ea(0x14a)](){const _0x59f148=_0x4000ea;for(const _0xa6d917 of this[_0x59f148(0x12a)][_0x59f148(0x155)]())if(_0xa6d917[_0x59f148(0x13e)])return!0x0;return!0x1;}[_0x4000ea(0x12d)](_0x37720a,_0x1d422e,_0x12053c){const _0x428266=_0x4000ea,_0x4c41ef=this[_0x428266(0x12a)][_0x428266(0x124)](_0x37720a);if(!_0x4c41ef||!_0x4c41ef[_0x428266(0x13e)])return;const _0x445ac8=this[_0x428266(0x13f)][_0x428266(0x12e)]();if(!_0x445ac8)return;_0x4c41ef[_0x428266(0x134)]({'target':_0x445ac8,'limiter':this[_0x428266(0x13f)][_0x428266(0x132)]()});const _0x3a7cb1=this[_0x428266(0x13a)](_0x4c41ef);_0x3a7cb1&&_0x3a7cb1[_0x428266(0x12d)](_0x1d422e,_0x12053c);}[_0x4000ea(0x14f)](){const _0x598323=_0x4000ea;for(const _0x13f669 of this[_0x598323(0x12a)][_0x598323(0x155)]())_0x13f669[_0x598323(0x14f)]();this[_0x598323(0x12a)][_0x598323(0x146)]();}[_0x4000ea(0x131)](){const _0x304154=_0x4000ea,_0x53bea7=new _0xd772c4(this[_0x304154(0x129)]);return _0x53bea7[_0x304154(0x142)]({'attributes':{'class':Qo}}),this[_0x304154(0x14c)][_0x304154(0x147)](_0x53bea7),_0x53bea7;}[_0x4000ea(0x14e)](_0x19be18,_0x157a36){const _0x18728d=_0x4000ea;_0x19be18[_0x18728d(0x143)][_0x18728d(0x146)]();const _0x2ed3ea=this[_0x18728d(0x130)](_0x19be18,_0x157a36);_0x19be18[_0x18728d(0x143)][_0x18728d(0x147)](_0x2ed3ea);const _0x20f846=this[_0x18728d(0x127)](_0x157a36);_0x19be18[_0x18728d(0x143)][_0x18728d(0x147)](_0x20f846);}[_0x4000ea(0x130)](_0x5b9827,_0x4de30f){const _0x1fe981=_0x4000ea,_0x2b8eb6=this[_0x1fe981(0x152)](_0x5b9827),_0x51eea1=new _0x56af5a(this[_0x1fe981(0x129)],{'label':_0x4de30f[_0x1fe981(0x15c)],'class':Or});return _0x51eea1[_0x1fe981(0x14d)][_0x1fe981(0x147)](_0x2b8eb6,0x0),_0x51eea1;}[_0x4000ea(0x152)](_0x179c67){const _0xeadb18=_0x4000ea,_0x482465=new _0x379ad6(this[_0xeadb18(0x129)]);return _0x482465[_0xeadb18(0x145)]({'icon':_0x349dc9,'tooltip':_0x5a68e6(this[_0xeadb18(0x129)],_0xeadb18(0x140)),'tooltipPosition':'n','class':Zo}),_0x482465['on'](_0xeadb18(0x151),()=>{const _0x37178f=_0xeadb18;_0x179c67[_0x37178f(0x148)](),this[_0x37178f(0x13f)][_0x37178f(0x128)]();}),_0x482465;}[_0x4000ea(0x127)](_0x1e5ab0){const _0x348723=_0x4000ea,_0x1a2de8=new _0x2f60f7(this[_0x348723(0x129)],_0x1e5ab0);return _0x1a2de8['on'](_0x348723(0x15b),(_0x388a49,_0x2e6c75)=>{const _0x5a19f1=_0x348723;this[_0x5a19f1(0x13f)][_0x5a19f1(0x149)](_0x2e6c75);}),_0x1a2de8['on'](_0x348723(0x125),(_0x38a9a9,_0x5a577b)=>{const _0xae21db=_0x348723;this[_0xae21db(0x13f)][_0xae21db(0x158)](_0x5a577b[_0xae21db(0x154)],_0x5a577b[_0xae21db(0x12f)]),this[_0xae21db(0x136)](_0x1e5ab0['id']);}),_0x1a2de8;}[_0x4000ea(0x13a)](_0x125bd0){const _0x3d9bda=_0x4000ea,_0xe72563=_0x125bd0[_0x3d9bda(0x143)][_0x3d9bda(0x124)](0x1);return _0xe72563 instanceof _0x2f60f7?_0xe72563:null;}[_0x4000ea(0x13c)](_0x5f2471){const _0x399999=_0x4000ea;_0xe7f111({'emitter':_0x5f2471,'contextElements':[_0x5f2471[_0x399999(0x12c)]],'callback':()=>{const _0x4105a9=_0x399999;_0x5f2471[_0x4105a9(0x148)](),this[_0x4105a9(0x13f)][_0x4105a9(0x135)]();},'activator':()=>_0x5f2471[_0x399999(0x13e)]});}}
23
+ const _0x1570f7=_0x4f33;(function(_0x45b14d,_0x301015){const _0x47aabe=_0x4f33,_0x2383a4=_0x45b14d();while(!![]){try{const _0x4a1bf1=parseInt(_0x47aabe(0x168))/0x1+parseInt(_0x47aabe(0x154))/0x2*(parseInt(_0x47aabe(0x169))/0x3)+parseInt(_0x47aabe(0x15c))/0x4+-parseInt(_0x47aabe(0x167))/0x5*(-parseInt(_0x47aabe(0x16d))/0x6)+-parseInt(_0x47aabe(0x151))/0x7*(parseInt(_0x47aabe(0x149))/0x8)+-parseInt(_0x47aabe(0x164))/0x9*(-parseInt(_0x47aabe(0x163))/0xa)+-parseInt(_0x47aabe(0x180))/0xb*(parseInt(_0x47aabe(0x159))/0xc);if(_0x4a1bf1===_0x301015)break;else _0x2383a4['push'](_0x2383a4['shift']());}catch(_0x49b535){_0x2383a4['push'](_0x2383a4['shift']());}}}(_0x53da,0x9df52));import{BalloonPanelView as _0x3675d0,ButtonView as _0x93de3a,clickOutsideHandler as _0x1189d1,FormHeaderView as _0x56e005}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x479ecb}from'@ckeditor/ckeditor5-icons';function _0x53da(){const _0x39cf1d=['isVisible','ck-ai-chat-context-controls__source-balloon-panel','label','destroy','resource','_getResourcesViewFromBalloon','extendTemplate','14tyvHoa','children','_createBalloonHeader','2kbSPYi','content','_config','populateSourceResourceBalloon','_createSourceResourceBalloonPanel','60LXIVmR','values','_locale','3977292WUALqt','_setupSingleResourceBalloonClickOutsideHandler','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','onBalloonClosed','showSourceResourcesBalloon','set','addResourceToContext','10kEKLqx','8183709NlwnYr','setResources','hide','5NHVzCT','1099178OGFcaD','2824341jJGZXL','isAnyResourceBalloonVisible','pin','_createBackButton','1040412dyXWkx','show','clear','onLoadSourceResources','loadSourceResources','get','delete','source','element','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','getLimiterElement','_addSourceResourceContent','onResourceSelected','add','execute','_bodyCollection','getTargetElement','onBackToContext','_sourceResourceBalloons','5302803OIbPXe','ck-button-icon\x20ck-button-back','_createBalloonResourcesView','closeSourceResourceBalloon','updateResourceState','4241168tAEEJu'];_0x53da=function(){return _0x39cf1d;};return _0x53da();}import{getTranslation as _0x42fc10}from'../../../../aicore/utils/common-translations.js';function _0x4f33(_0x37764f,_0x2d9589){const _0x53da66=_0x53da();return _0x4f33=function(_0x4f33cc,_0x309119){_0x4f33cc=_0x4f33cc-0x147;let _0x53875d=_0x53da66[_0x4f33cc];return _0x53875d;},_0x4f33(_0x37764f,_0x2d9589);}import{AIChatContextResourcesView as _0x312911}from'./aichatresourcesview.js';const Zo=_0x1570f7(0x14b),Or=_0x1570f7(0x181),Hr=_0x1570f7(0x176);export class AIChatResourcesBalloonView{[_0x1570f7(0x17f)]=new Map();[_0x1570f7(0x17c)];[_0x1570f7(0x15b)];[_0x1570f7(0x156)];constructor(_0x2c9c03,_0x5b12ea,_0xae5eb4){const _0x3786b6=_0x1570f7;this[_0x3786b6(0x15b)]=_0x2c9c03,this[_0x3786b6(0x17c)]=_0x5b12ea,this[_0x3786b6(0x156)]=_0xae5eb4;}[_0x1570f7(0x160)](_0x554245){const _0x104c6f=_0x1570f7;let _0x5809c2=this[_0x104c6f(0x17f)][_0x104c6f(0x172)](_0x554245['id']);_0x5809c2||(_0x5809c2=this[_0x104c6f(0x158)](),this[_0x104c6f(0x17f)][_0x104c6f(0x161)](_0x554245['id'],_0x5809c2),this[_0x104c6f(0x15d)](_0x5809c2)),this[_0x104c6f(0x178)](_0x5809c2,_0x554245),_0x5809c2[_0x104c6f(0x16e)]();const _0x449b18=this[_0x104c6f(0x156)][_0x104c6f(0x17d)]();_0x449b18&&_0x5809c2[_0x104c6f(0x16b)]({'target':_0x449b18,'limiter':this[_0x104c6f(0x156)][_0x104c6f(0x177)]()});}[_0x1570f7(0x157)](_0x5e264b,_0x2adcda,_0x20b638){const _0x3c0edd=_0x1570f7,_0x1af429=this[_0x3c0edd(0x17f)][_0x3c0edd(0x172)](_0x5e264b);if(!_0x1af429)return;const _0x58ce43=this[_0x3c0edd(0x14f)](_0x1af429);_0x58ce43&&_0x58ce43[_0x3c0edd(0x165)](_0x2adcda,_0x20b638);}[_0x1570f7(0x147)](_0x33a874){const _0x18cf32=_0x1570f7,_0x395552=this[_0x18cf32(0x17f)][_0x18cf32(0x172)](_0x33a874);_0x395552&&requestAnimationFrame(()=>{const _0x47101e=_0x18cf32;_0x395552[_0x47101e(0x166)](),this[_0x47101e(0x17f)][_0x47101e(0x173)](_0x33a874),this[_0x47101e(0x156)][_0x47101e(0x15f)]();});}[_0x1570f7(0x16a)](){const _0x1b0be9=_0x1570f7;for(const _0x307ffa of this[_0x1b0be9(0x17f)][_0x1b0be9(0x15a)]())if(_0x307ffa[_0x1b0be9(0x14a)])return!0x0;return!0x1;}[_0x1570f7(0x148)](_0x39c345,_0x2a7e89,_0x14a891){const _0x1a9482=_0x1570f7,_0x50b4f0=this[_0x1a9482(0x17f)][_0x1a9482(0x172)](_0x39c345);if(!_0x50b4f0||!_0x50b4f0[_0x1a9482(0x14a)])return;const _0x4c0aad=this[_0x1a9482(0x156)][_0x1a9482(0x17d)]();if(!_0x4c0aad)return;_0x50b4f0[_0x1a9482(0x16b)]({'target':_0x4c0aad,'limiter':this[_0x1a9482(0x156)][_0x1a9482(0x177)]()});const _0x3d491a=this[_0x1a9482(0x14f)](_0x50b4f0);_0x3d491a&&_0x3d491a[_0x1a9482(0x148)](_0x2a7e89,_0x14a891);}[_0x1570f7(0x14d)](){const _0x1adaab=_0x1570f7;for(const _0x35c002 of this[_0x1adaab(0x17f)][_0x1adaab(0x15a)]())_0x35c002[_0x1adaab(0x14d)]();this[_0x1adaab(0x17f)][_0x1adaab(0x16f)]();}[_0x1570f7(0x158)](){const _0x95c670=_0x1570f7,_0x456c7b=new _0x3675d0(this[_0x95c670(0x15b)]);return _0x456c7b[_0x95c670(0x150)]({'attributes':{'class':Zo}}),this[_0x95c670(0x17c)][_0x95c670(0x17a)](_0x456c7b),_0x456c7b;}[_0x1570f7(0x178)](_0x2155bd,_0x41f7cd){const _0x3f8ff0=_0x1570f7;_0x2155bd[_0x3f8ff0(0x155)][_0x3f8ff0(0x16f)]();const _0x3f6fd3=this[_0x3f8ff0(0x153)](_0x2155bd,_0x41f7cd);_0x2155bd[_0x3f8ff0(0x155)][_0x3f8ff0(0x17a)](_0x3f6fd3);const _0x15d9e8=this[_0x3f8ff0(0x182)](_0x41f7cd);_0x2155bd[_0x3f8ff0(0x155)][_0x3f8ff0(0x17a)](_0x15d9e8);}[_0x1570f7(0x153)](_0x2d29b7,_0x39b3ca){const _0x134c99=_0x1570f7,_0x5a1bd7=this[_0x134c99(0x16c)](_0x2d29b7),_0xd8993c=new _0x56e005(this[_0x134c99(0x15b)],{'label':_0x39b3ca[_0x134c99(0x14c)],'class':Hr});return _0xd8993c[_0x134c99(0x152)][_0x134c99(0x17a)](_0x5a1bd7,0x0),_0xd8993c;}[_0x1570f7(0x16c)](_0x526c9d){const _0x268300=_0x1570f7,_0x5a2696=new _0x93de3a(this[_0x268300(0x15b)]);return _0x5a2696[_0x268300(0x161)]({'icon':_0x479ecb,'tooltip':_0x42fc10(this[_0x268300(0x15b)],_0x268300(0x15e)),'tooltipPosition':'n','class':Or}),_0x5a2696['on'](_0x268300(0x17b),()=>{const _0x39ac26=_0x268300;_0x526c9d[_0x39ac26(0x166)](),this[_0x39ac26(0x156)][_0x39ac26(0x17e)]();}),_0x5a2696;}[_0x1570f7(0x182)](_0x4521cf){const _0x54546c=_0x1570f7,_0xf2f799=new _0x312911(this[_0x54546c(0x15b)],_0x4521cf);return _0xf2f799['on'](_0x54546c(0x171),(_0x4d1855,_0x58b25f)=>{const _0x508b2b=_0x54546c;this[_0x508b2b(0x156)][_0x508b2b(0x170)](_0x58b25f);}),_0xf2f799['on'](_0x54546c(0x162),(_0x1f3454,_0x25b8f5)=>{const _0x301cec=_0x54546c;this[_0x301cec(0x156)][_0x301cec(0x179)](_0x25b8f5[_0x301cec(0x174)],_0x25b8f5[_0x301cec(0x14e)]),this[_0x301cec(0x147)](_0x4521cf['id']);}),_0xf2f799;}[_0x1570f7(0x14f)](_0xca4995){const _0x4bf342=_0x1570f7,_0x55dfa2=_0xca4995[_0x4bf342(0x155)][_0x4bf342(0x172)](0x1);return _0x55dfa2 instanceof _0x312911?_0x55dfa2:null;}[_0x1570f7(0x15d)](_0x23ac23){const _0x1413f2=_0x1570f7;_0x1189d1({'emitter':_0x23ac23,'contextElements':[_0x23ac23[_0x1413f2(0x175)]],'callback':()=>{const _0x486cb5=_0x1413f2;_0x23ac23[_0x486cb5(0x166)](),this[_0x486cb5(0x156)][_0x486cb5(0x15f)]();},'activator':()=>_0x23ac23[_0x1413f2(0x14a)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1315(_0x801d75,_0x24ee62){const _0x437879=_0x4378();return _0x1315=function(_0x1315b1,_0x499583){_0x1315b1=_0x1315b1-0x10f;let _0x52213e=_0x437879[_0x1315b1];return _0x52213e;},_0x1315(_0x801d75,_0x24ee62);}const _0x15098c=_0x1315;(function(_0x43dc15,_0x50bb07){const _0x1f9606=_0x1315,_0x4d92ef=_0x43dc15();while(!![]){try{const _0x407f2b=parseInt(_0x1f9606(0x121))/0x1+-parseInt(_0x1f9606(0x117))/0x2+parseInt(_0x1f9606(0x126))/0x3+parseInt(_0x1f9606(0x110))/0x4+parseInt(_0x1f9606(0x10f))/0x5+-parseInt(_0x1f9606(0x12b))/0x6*(-parseInt(_0x1f9606(0x11a))/0x7)+-parseInt(_0x1f9606(0x11c))/0x8;if(_0x407f2b===_0x50bb07)break;else _0x4d92ef['push'](_0x4d92ef['shift']());}catch(_0x33890c){_0x4d92ef['push'](_0x4d92ef['shift']());}}}(_0x4378,0x6e0fe));import{ListView as _0x6b9968}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x54c5c3}from'./aichatresourcelistitemview.js';const sc=_0x15098c(0x116);function _0x4378(){const _0x206acd=['extendTemplate','923671mUujlE','add','14277920wWpKvD','highlightText','locale','forEach','addResourceToContext','891999KPNESF','updateResourceState','_handleResourceSelection','clear','items','2076255awkWfD','filter','useDefaultFiltering','_source','setResources','30uvcPyY','execute','trim','1411365PXxqUt','2433804dvZeUK','label','test','resource','fire','\x5c$&','ck-ai-chat-resources__list','1798038oriwYl','replace'];_0x4378=function(){return _0x206acd;};return _0x4378();}export class AIChatContextResourcesListView extends _0x6b9968{[_0x15098c(0x129)];constructor(_0x543562,_0x3fd58c){const _0x201973=_0x15098c;super(_0x543562),this[_0x201973(0x129)]=_0x3fd58c,this[_0x201973(0x119)]({'attributes':{'class':[sc]}});}[_0x15098c(0x12a)](_0x15875c,_0x13758e){const _0x1f49ee=_0x15098c;this[_0x1f49ee(0x125)][_0x1f49ee(0x124)]();let _0x5eca55=_0x15875c;if(this[_0x1f49ee(0x129)][_0x1f49ee(0x128)]&&_0x13758e&&''!==_0x13758e[_0x1f49ee(0x12d)]()){const _0x4d4656=new RegExp(_0x13758e[_0x1f49ee(0x118)](/[.*+?^${}()|[\]\\]/g,_0x1f49ee(0x115)),'gi');_0x5eca55=_0x15875c[_0x1f49ee(0x127)](_0x3f0120=>_0x4d4656[_0x1f49ee(0x112)](_0x3f0120[_0x1f49ee(0x111)]));}for(const _0x553f1f of _0x5eca55){const _0x66a3d4=new _0x54c5c3(this[_0x1f49ee(0x11e)],_0x553f1f);_0x66a3d4['on'](_0x1f49ee(0x12c),()=>{const _0x1ac0c5=_0x1f49ee;this[_0x1ac0c5(0x123)](this[_0x1ac0c5(0x129)],_0x553f1f);}),this[_0x1f49ee(0x125)][_0x1f49ee(0x11b)](_0x66a3d4);}this[_0x1f49ee(0x129)][_0x1f49ee(0x128)]&&this[_0x1f49ee(0x11d)](_0x13758e);}[_0x15098c(0x11d)](_0x59183f){const _0x20f0df=_0x15098c;this[_0x20f0df(0x129)][_0x20f0df(0x128)]&&this[_0x20f0df(0x125)][_0x20f0df(0x11f)](_0x1603b6=>{const _0x40ebec=_0x20f0df;_0x1603b6[_0x40ebec(0x11d)](_0x59183f);});}[_0x15098c(0x122)](_0x4554c0,_0x10dec0){const _0x118d28=_0x15098c;for(const _0x14355f of this[_0x118d28(0x125)]){const _0x721bb=_0x14355f;_0x721bb[_0x118d28(0x113)]['id']===_0x4554c0&&_0x721bb[_0x118d28(0x122)](_0x10dec0);}}[_0x15098c(0x123)](_0x13f5b9,_0x14437b){const _0x59b776=_0x15098c;this[_0x59b776(0x114)](_0x59b776(0x120),{'source':_0x13f5b9,'resource':_0x14437b});}}
23
+ const _0x336fb2=_0x1b59;(function(_0x50c16f,_0x5ba255){const _0xba334b=_0x1b59,_0x1d38a7=_0x50c16f();while(!![]){try{const _0x70088c=-parseInt(_0xba334b(0x122))/0x1+-parseInt(_0xba334b(0x13a))/0x2+parseInt(_0xba334b(0x131))/0x3*(parseInt(_0xba334b(0x12f))/0x4)+parseInt(_0xba334b(0x125))/0x5*(-parseInt(_0xba334b(0x13c))/0x6)+parseInt(_0xba334b(0x136))/0x7*(-parseInt(_0xba334b(0x123))/0x8)+parseInt(_0xba334b(0x140))/0x9+parseInt(_0xba334b(0x132))/0xa;if(_0x70088c===_0x5ba255)break;else _0x1d38a7['push'](_0x1d38a7['shift']());}catch(_0x392478){_0x1d38a7['push'](_0x1d38a7['shift']());}}}(_0x534a,0x3a557));function _0x1b59(_0x27c3a8,_0x4824ef){const _0x534ab9=_0x534a();return _0x1b59=function(_0x1b59ea,_0x292693){_0x1b59ea=_0x1b59ea-0x120;let _0x42939c=_0x534ab9[_0x1b59ea];return _0x42939c;},_0x1b59(_0x27c3a8,_0x4824ef);}import{ListView as _0x12f301}from'ckeditor5/src/ui.js';function _0x534a(){const _0x1e1fd0=['label','locale','test','execute','replace','addResourceToContext','29356WiboDe','filter','54kAdxyu','6883200nqzWyX','fire','ck-ai-chat-resources__list','clear','435575IPlaoT','extendTemplate','forEach','setResources','542052kKTlBk','useDefaultFiltering','30AUXVoz','updateResourceState','items','_handleResourceSelection','627210RNSPox','trim','resource','130821VjuGgz','8XQjiNM','\x5c$&','187105ZVjbLA','add','highlightText','_source'];_0x534a=function(){return _0x1e1fd0;};return _0x534a();}import{AIChatResourceListItemView as _0x396a05}from'./aichatresourcelistitemview.js';const sc=_0x336fb2(0x134);export class AIChatContextResourcesListView extends _0x12f301{[_0x336fb2(0x128)];constructor(_0x417ae6,_0x241fa5){const _0x553771=_0x336fb2;super(_0x417ae6),this[_0x553771(0x128)]=_0x241fa5,this[_0x553771(0x137)]({'attributes':{'class':[sc]}});}[_0x336fb2(0x139)](_0x1dac79,_0x245055){const _0x26da22=_0x336fb2;this[_0x26da22(0x13e)][_0x26da22(0x135)]();let _0x42e46f=_0x1dac79;if(this[_0x26da22(0x128)][_0x26da22(0x13b)]&&_0x245055&&''!==_0x245055[_0x26da22(0x120)]()){const _0x51b75a=new RegExp(_0x245055[_0x26da22(0x12d)](/[.*+?^${}()|[\]\\]/g,_0x26da22(0x124)),'gi');_0x42e46f=_0x1dac79[_0x26da22(0x130)](_0x1ff67a=>_0x51b75a[_0x26da22(0x12b)](_0x1ff67a[_0x26da22(0x129)]));}for(const _0x59b885 of _0x42e46f){const _0x111877=new _0x396a05(this[_0x26da22(0x12a)],_0x59b885);_0x111877['on'](_0x26da22(0x12c),()=>{const _0x46c03a=_0x26da22;this[_0x46c03a(0x13f)](this[_0x46c03a(0x128)],_0x59b885);}),this[_0x26da22(0x13e)][_0x26da22(0x126)](_0x111877);}this[_0x26da22(0x128)][_0x26da22(0x13b)]&&this[_0x26da22(0x127)](_0x245055);}[_0x336fb2(0x127)](_0x365a43){const _0x5ed0f7=_0x336fb2;this[_0x5ed0f7(0x128)][_0x5ed0f7(0x13b)]&&this[_0x5ed0f7(0x13e)][_0x5ed0f7(0x138)](_0x1140f=>{const _0x56f0bc=_0x5ed0f7;_0x1140f[_0x56f0bc(0x127)](_0x365a43);});}[_0x336fb2(0x13d)](_0x556b66,_0x4917a8){const _0x3653b7=_0x336fb2;for(const _0x45c3a4 of this[_0x3653b7(0x13e)]){const _0x21a500=_0x45c3a4;_0x21a500[_0x3653b7(0x121)]['id']===_0x556b66&&_0x21a500[_0x3653b7(0x13d)](_0x4917a8);}}[_0x336fb2(0x13f)](_0x1c2f27,_0xed4595){const _0x46a959=_0x336fb2;this[_0x46a959(0x133)](_0x46a959(0x12e),{'source':_0x1c2f27,'resource':_0xed4595});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x2ef2fe,IconView as _0x1c4bea,LabeledFieldView as _0x310456,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x3b8eea,IconCancel as _0x3fea8f}from'ckeditor5/src/icons.js';import{getTranslation as _0x19dd92}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x310456{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x29f3ca){const t=_0x29f3ca['t'],_0x4102c1={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x19dd92(_0x29f3ca,'AI_CHAT_SEARCH_RESOURCES')};super(_0x29f3ca,_0x4102c1['creator']),this['label']=_0x4102c1['label'],this['_viewConfig']=_0x4102c1,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x29f3ca,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x47986d){this['fire']('search',_0x47986d);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x1c4bea(),this['iconView']['content']=_0x3b8eea,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0xf69615,t){this['resetButtonView']=new _0x2ef2fe(_0xf69615),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x3fea8f,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x29bc82=>!_0x29bc82),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
23
+ import{ButtonView as _0x338a72,IconView as _0x5f2cb5,LabeledFieldView as _0x4f87e9,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x43764f,IconCancel as _0x492889}from'ckeditor5/src/icons.js';import{getTranslation as _0x4796b1}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x4f87e9{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x5e2fa3){const t=_0x5e2fa3['t'],_0x3a4857={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x4796b1(_0x5e2fa3,'AI_CHAT_SEARCH_RESOURCES')};super(_0x5e2fa3,_0x3a4857['creator']),this['label']=_0x3a4857['label'],this['_viewConfig']=_0x3a4857,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x5e2fa3,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x1a8547){this['fire']('search',_0x1a8547);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x5f2cb5(),this['iconView']['content']=_0x43764f,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x323205,t){this['resetButtonView']=new _0x338a72(_0x323205),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x492889,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x5294bd=>!_0x5294bd),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c7c94=_0x3470;(function(_0x57aafb,_0x5a6aa2){const _0x26fcb7=_0x3470,_0x55d7ff=_0x57aafb();while(!![]){try{const _0x33b263=parseInt(_0x26fcb7(0x184))/0x1*(parseInt(_0x26fcb7(0x185))/0x2)+-parseInt(_0x26fcb7(0x17a))/0x3+parseInt(_0x26fcb7(0x186))/0x4+parseInt(_0x26fcb7(0x16d))/0x5*(-parseInt(_0x26fcb7(0x17c))/0x6)+-parseInt(_0x26fcb7(0x170))/0x7+-parseInt(_0x26fcb7(0x176))/0x8*(parseInt(_0x26fcb7(0x16b))/0x9)+parseInt(_0x26fcb7(0x16a))/0xa;if(_0x33b263===_0x5a6aa2)break;else _0x55d7ff['push'](_0x55d7ff['shift']());}catch(_0x1530e5){_0x55d7ff['push'](_0x55d7ff['shift']());}}}(_0x144f,0xa1b5c));import{View as _0x87aaca,ViewCollection as _0x34aa72}from'ckeditor5/src/ui.js';import{uid as _0xdd1f6a}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x59992f}from'./aichatresourceslistview.js';function _0x144f(){const _0x16115f=['_createSearchView','_source','setTemplate','3882453Iarski','search','318JbsxWN','delegate','bindTemplate','highlightText','_resourcesListView','isLoading','setResources','_createResourcesListView','1279eUpxOH','206qvKhBl','2142248mqdagR','_createSkeletonView','locale','_skeletonLoader','getQuery','_latestLoadResourcesUid','loadResources','div','extendTemplate','ck-hidden','updateResourceState','aiChatResources','children','useDefaultFiltering','render','44992200MRvFUm','7542yuGFzQ','ck-ai-chat-resources','94945TYHZKH','loadSourceResources','addResourceToContext','8960777AFgnco','fire','set','ck\x20ck-search','_searchView','_createSearchSection','8816sLNVKZ'];_0x144f=function(){return _0x16115f;};return _0x144f();}import{AIChatContextResourcesSearchInputView as _0x48035f}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x33c63b,SKELETON_DEFINITIONS as _0xd76ff7}from'../../../../aicore/ui/aiskeleton.js';function _0x3470(_0x535a3e,_0x37187e){const _0x144fc3=_0x144f();return _0x3470=function(_0x34702d,_0x564515){_0x34702d=_0x34702d-0x16a;let _0x2e3e8e=_0x144fc3[_0x34702d];return _0x2e3e8e;},_0x3470(_0x535a3e,_0x37187e);}export class AIChatContextResourcesView extends _0x87aaca{[_0x4c7c94(0x174)];[_0x4c7c94(0x180)];[_0x4c7c94(0x189)];[_0x4c7c94(0x178)];[_0x4c7c94(0x192)];[_0x4c7c94(0x18b)]=null;constructor(_0x368d83,_0x477a33){const _0xb451cd=_0x4c7c94;super(_0x368d83),this[_0xb451cd(0x178)]=_0x477a33,this[_0xb451cd(0x172)](_0xb451cd(0x181),!0x0),this[_0xb451cd(0x174)]=this[_0xb451cd(0x177)]();const _0x586e92=this[_0xb451cd(0x175)]();this[_0xb451cd(0x180)]=this[_0xb451cd(0x183)](),this[_0xb451cd(0x189)]=this[_0xb451cd(0x187)](),this[_0xb451cd(0x192)]=new _0x34aa72([_0x586e92,this[_0xb451cd(0x189)],this[_0xb451cd(0x180)]]),this[_0xb451cd(0x179)]({'tag':_0xb451cd(0x18d),'attributes':{'class':_0xb451cd(0x16c)},'children':this[_0xb451cd(0x192)]});}[_0x4c7c94(0x177)](){const _0x4a01e3=_0x4c7c94;return new _0x48035f(this[_0x4a01e3(0x188)]);}[_0x4c7c94(0x175)](){const _0x149f3b=_0x4c7c94,_0x5d988b=new _0x87aaca(this[_0x149f3b(0x188)]);return _0x5d988b[_0x149f3b(0x179)]({'tag':_0x149f3b(0x18d),'attributes':{'class':_0x149f3b(0x173)},'children':[this[_0x149f3b(0x174)]]}),this[_0x149f3b(0x174)]['on'](_0x149f3b(0x17b),(_0x1bbad1,_0x611d5c)=>{const _0x71b64f=_0x149f3b;this[_0x71b64f(0x18c)](_0x611d5c),this[_0x71b64f(0x178)][_0x71b64f(0x193)]&&this[_0x71b64f(0x180)][_0x71b64f(0x17f)](_0x611d5c);}),_0x5d988b;}[_0x4c7c94(0x183)](){const _0x450545=_0x4c7c94,_0x5cae18=new _0x59992f(this[_0x450545(0x188)],this[_0x450545(0x178)]);return _0x5cae18[_0x450545(0x17d)](_0x450545(0x16f))['to'](this),_0x5cae18[_0x450545(0x18e)]({'attributes':{'class':this[_0x450545(0x17e)]['if'](_0x450545(0x181),_0x450545(0x18f))}}),_0x5cae18;}[_0x4c7c94(0x187)](){const _0x3d0ab0=_0x4c7c94,_0x2341b4=new _0x33c63b(this[_0x3d0ab0(0x188)],_0xd76ff7[_0x3d0ab0(0x191)]);return _0x2341b4[_0x3d0ab0(0x18e)]({'attributes':{'class':[this[_0x3d0ab0(0x17e)]['if'](_0x3d0ab0(0x181),_0x3d0ab0(0x18f),_0x1ae95c=>!_0x1ae95c)]}}),_0x2341b4;}[_0x4c7c94(0x194)](){const _0x3ff3a8=_0x4c7c94;super[_0x3ff3a8(0x194)](),this[_0x3ff3a8(0x18c)]('');}[_0x4c7c94(0x18c)](_0x33fb6a){const _0x59ae55=_0x4c7c94,_0x3213b9=_0xdd1f6a();this[_0x59ae55(0x18b)]=_0x3213b9,this[_0x59ae55(0x171)](_0x59ae55(0x16e),{'sourceId':this[_0x59ae55(0x178)]['id'],'query':_0x33fb6a,'uid':_0x3213b9}),this[_0x59ae55(0x181)]=!0x0;}[_0x4c7c94(0x182)](_0x122d57,_0x348eee){const _0x1a57e2=_0x4c7c94;if(_0x348eee&&_0x348eee!==this[_0x1a57e2(0x18b)])return;const _0x28cc33=this[_0x1a57e2(0x178)][_0x1a57e2(0x193)]?this[_0x1a57e2(0x174)][_0x1a57e2(0x18a)]():'';this[_0x1a57e2(0x180)][_0x1a57e2(0x182)](_0x122d57,_0x28cc33),requestAnimationFrame(()=>{const _0x33c001=_0x1a57e2;this[_0x33c001(0x181)]=!0x1;});}[_0x4c7c94(0x190)](_0x2e4c40,_0x3ac779){const _0x2c5d33=_0x4c7c94;this[_0x2c5d33(0x180)][_0x2c5d33(0x190)](_0x2e4c40,_0x3ac779);}}
23
+ const _0x41d5e3=_0x32aa;function _0x2fe2(){const _0x3d2e65=['2563759AUPePQ','search','setResources','bindTemplate','render','extendTemplate','24Nbousr','children','loadSourceResources','delegate','903365xspmTI','ck-ai-chat-resources','addResourceToContext','setTemplate','110524YQavDj','ck\x20ck-search','set','_resourcesListView','5378550JEEooQ','12254TosEIk','_createSkeletonView','91ljKrGT','4056nmhjGb','_createResourcesListView','div','134712jZTxfQ','loadResources','24okPYUw','_skeletonLoader','_latestLoadResourcesUid','highlightText','locale','_source','fire','useDefaultFiltering','isLoading','ck-hidden','_searchView','4MTvBaz','_createSearchView','aiChatResources','getQuery','updateResourceState','_createSearchSection','39focqNJ'];_0x2fe2=function(){return _0x3d2e65;};return _0x2fe2();}(function(_0x2cff31,_0x51f7a8){const _0x32f2a1=_0x32aa,_0x5edb1f=_0x2cff31();while(!![]){try{const _0x2cdbce=parseInt(_0x32f2a1(0x165))/0x1+parseInt(_0x32f2a1(0x160))/0x2*(-parseInt(_0x32f2a1(0x17e))/0x3)+-parseInt(_0x32f2a1(0x178))/0x4*(-parseInt(_0x32f2a1(0x15c))/0x5)+-parseInt(_0x32f2a1(0x168))/0x6*(-parseInt(_0x32f2a1(0x167))/0x7)+-parseInt(_0x32f2a1(0x185))/0x8*(-parseInt(_0x32f2a1(0x16b))/0x9)+parseInt(_0x32f2a1(0x164))/0xa+-parseInt(_0x32f2a1(0x17f))/0xb*(-parseInt(_0x32f2a1(0x16d))/0xc);if(_0x2cdbce===_0x51f7a8)break;else _0x5edb1f['push'](_0x5edb1f['shift']());}catch(_0x175928){_0x5edb1f['push'](_0x5edb1f['shift']());}}}(_0x2fe2,0x81eee));import{View as _0x1f174a,ViewCollection as _0x338ac1}from'ckeditor5/src/ui.js';import{uid as _0x1ddf67}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x2c7797}from'./aichatresourceslistview.js';function _0x32aa(_0x18216d,_0x1aacfe){const _0x2fe29c=_0x2fe2();return _0x32aa=function(_0x32aa99,_0x3762d6){_0x32aa99=_0x32aa99-0x15b;let _0x148181=_0x2fe29c[_0x32aa99];return _0x148181;},_0x32aa(_0x18216d,_0x1aacfe);}import{AIChatContextResourcesSearchInputView as _0x2cbeba}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x35f71b,SKELETON_DEFINITIONS as _0x3fe90f}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x1f174a{[_0x41d5e3(0x177)];[_0x41d5e3(0x163)];[_0x41d5e3(0x16e)];[_0x41d5e3(0x172)];[_0x41d5e3(0x186)];[_0x41d5e3(0x16f)]=null;constructor(_0x5f2b99,_0x48a4e9){const _0x5caef4=_0x41d5e3;super(_0x5f2b99),this[_0x5caef4(0x172)]=_0x48a4e9,this[_0x5caef4(0x162)](_0x5caef4(0x175),!0x0),this[_0x5caef4(0x177)]=this[_0x5caef4(0x179)]();const _0x2e3d30=this[_0x5caef4(0x17d)]();this[_0x5caef4(0x163)]=this[_0x5caef4(0x169)](),this[_0x5caef4(0x16e)]=this[_0x5caef4(0x166)](),this[_0x5caef4(0x186)]=new _0x338ac1([_0x2e3d30,this[_0x5caef4(0x16e)],this[_0x5caef4(0x163)]]),this[_0x5caef4(0x15f)]({'tag':_0x5caef4(0x16a),'attributes':{'class':_0x5caef4(0x15d)},'children':this[_0x5caef4(0x186)]});}[_0x41d5e3(0x179)](){const _0x47d019=_0x41d5e3;return new _0x2cbeba(this[_0x47d019(0x171)]);}[_0x41d5e3(0x17d)](){const _0x294613=_0x41d5e3,_0x2abe4e=new _0x1f174a(this[_0x294613(0x171)]);return _0x2abe4e[_0x294613(0x15f)]({'tag':_0x294613(0x16a),'attributes':{'class':_0x294613(0x161)},'children':[this[_0x294613(0x177)]]}),this[_0x294613(0x177)]['on'](_0x294613(0x180),(_0xa36692,_0x28fbe6)=>{const _0x3b82cb=_0x294613;this[_0x3b82cb(0x16c)](_0x28fbe6),this[_0x3b82cb(0x172)][_0x3b82cb(0x174)]&&this[_0x3b82cb(0x163)][_0x3b82cb(0x170)](_0x28fbe6);}),_0x2abe4e;}[_0x41d5e3(0x169)](){const _0x1bb4b3=_0x41d5e3,_0x266705=new _0x2c7797(this[_0x1bb4b3(0x171)],this[_0x1bb4b3(0x172)]);return _0x266705[_0x1bb4b3(0x15b)](_0x1bb4b3(0x15e))['to'](this),_0x266705[_0x1bb4b3(0x184)]({'attributes':{'class':this[_0x1bb4b3(0x182)]['if'](_0x1bb4b3(0x175),_0x1bb4b3(0x176))}}),_0x266705;}[_0x41d5e3(0x166)](){const _0x1bdc0e=_0x41d5e3,_0x488591=new _0x35f71b(this[_0x1bdc0e(0x171)],_0x3fe90f[_0x1bdc0e(0x17a)]);return _0x488591[_0x1bdc0e(0x184)]({'attributes':{'class':[this[_0x1bdc0e(0x182)]['if'](_0x1bdc0e(0x175),_0x1bdc0e(0x176),_0x66035b=>!_0x66035b)]}}),_0x488591;}[_0x41d5e3(0x183)](){const _0x5cde85=_0x41d5e3;super[_0x5cde85(0x183)](),this[_0x5cde85(0x16c)]('');}[_0x41d5e3(0x16c)](_0x5bf312){const _0x278145=_0x41d5e3,_0x582fa7=_0x1ddf67();this[_0x278145(0x16f)]=_0x582fa7,this[_0x278145(0x173)](_0x278145(0x187),{'sourceId':this[_0x278145(0x172)]['id'],'query':_0x5bf312,'uid':_0x582fa7}),this[_0x278145(0x175)]=!0x0;}[_0x41d5e3(0x181)](_0x2a940f,_0x1c54b6){const _0x3ab083=_0x41d5e3;if(_0x1c54b6&&_0x1c54b6!==this[_0x3ab083(0x16f)])return;const _0x3ab736=this[_0x3ab083(0x172)][_0x3ab083(0x174)]?this[_0x3ab083(0x177)][_0x3ab083(0x17b)]():'';this[_0x3ab083(0x163)][_0x3ab083(0x181)](_0x2a940f,_0x3ab736),requestAnimationFrame(()=>{const _0x2cc591=_0x3ab083;this[_0x2cc591(0x175)]=!0x1;});}[_0x41d5e3(0x17c)](_0x4e998c,_0x17d27a){const _0x2b76bc=_0x41d5e3;this[_0x2b76bc(0x163)][_0x2b76bc(0x17c)](_0x4e998c,_0x17d27a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5da4a4=_0x3ce3;(function(_0x2e40e1,_0x4d0b75){const _0x2ca004=_0x3ce3,_0x2b99f2=_0x2e40e1();while(!![]){try{const _0x30c8eb=parseInt(_0x2ca004(0xdb))/0x1+parseInt(_0x2ca004(0xdc))/0x2*(parseInt(_0x2ca004(0xdf))/0x3)+parseInt(_0x2ca004(0xe7))/0x4*(parseInt(_0x2ca004(0xd8))/0x5)+-parseInt(_0x2ca004(0xce))/0x6+-parseInt(_0x2ca004(0xd9))/0x7+-parseInt(_0x2ca004(0xde))/0x8+-parseInt(_0x2ca004(0xd4))/0x9;if(_0x30c8eb===_0x4d0b75)break;else _0x2b99f2['push'](_0x2b99f2['shift']());}catch(_0x3cbd1d){_0x2b99f2['push'](_0x2b99f2['shift']());}}}(_0xad63,0x5fed6));function _0xad63(){const _0x5c5d3c=['add','ck-reset_all','createCollection','_createContextChips','1497796VubLYF','render','reorganizeChips','ck-ai-chat-controls_context_show-more-button','destroy','ck-ai-chat-context-controls__show-more-balloon-panel','518946rSACiw','querySelector','_bodyCollection','ck-ai-chat-context-chips-wrapper','_overflowManager','ck-ai-chat__feed__context-chips','602883UTeAyf','setTemplate','div','ck-ai-chat-context-chips-wrapper-balloon','5uksLLf','2550408jZBtmD','element','557933jfRBZB','2yDrUHh','ck-ai-chat-controls-button','5475800uscIta','1988499hHiUWk','_contextChips','setContainerElement','locale'];_0xad63=function(){return _0x5c5d3c;};return _0xad63();}import{View as _0x1a3669}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x1a400f}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x45baca}from'../controls/aichatchipsoverflowmanager.js';function _0x3ce3(_0x5821c2,_0x594d30){const _0xad637e=_0xad63();return _0x3ce3=function(_0x3ce33a,_0xbd96d5){_0x3ce33a=_0x3ce33a-0xce;let _0x189e19=_0xad637e[_0x3ce33a];return _0x189e19;},_0x3ce3(_0x5821c2,_0x594d30);}const Fo=_0x5da4a4(0xd3),$o=_0x5da4a4(0xd1),qo=_0x5da4a4(0xd7),fo=_0x5da4a4(0xdd),Po=_0x5da4a4(0xea),Ro=_0x5da4a4(0xec);export class AIChatFeedContextChipsView extends _0x1a3669{[_0x5da4a4(0xe0)]=this[_0x5da4a4(0xe5)]();[_0x5da4a4(0xd2)];[_0x5da4a4(0xd0)];constructor(_0x166a70,_0x3e77e5,_0x340740){const _0x5ae417=_0x5da4a4;super(_0x166a70),this[_0x5ae417(0xd0)]=_0x340740,this[_0x5ae417(0xe6)](_0x3e77e5);const _0x33948a={'cssClasses':{'showMoreButton':Po,'showMoreBalloon':Ro,'overflowContainer':qo,'controlsButton':fo}};this[_0x5ae417(0xd2)]=new _0x45baca(_0x166a70,this[_0x5ae417(0xe0)],_0x33948a,this[_0x5ae417(0xd0)],this),this[_0x5ae417(0xd5)]({'tag':_0x5ae417(0xd6),'attributes':{'class':[Fo,'ck',_0x5ae417(0xe4)]},'children':[{'tag':_0x5ae417(0xd6),'attributes':{'class':$o},'children':this[_0x5ae417(0xe0)]}]});}[_0x5da4a4(0xe8)](){const _0x4cb49c=_0x5da4a4;super[_0x4cb49c(0xe8)]();const _0x4dffed=this[_0x4cb49c(0xda)][_0x4cb49c(0xcf)]('.'+$o);_0x4dffed&&(this[_0x4cb49c(0xd2)][_0x4cb49c(0xe1)](_0x4dffed),this[_0x4cb49c(0xd2)][_0x4cb49c(0xe9)]());}[_0x5da4a4(0xeb)](){const _0x24618f=_0x5da4a4;super[_0x24618f(0xeb)](),this[_0x24618f(0xd2)][_0x24618f(0xeb)]();}[_0x5da4a4(0xe6)](_0x159623){const _0x48b5ae=_0x5da4a4;for(const _0x4419e7 of _0x159623){const _0x5cfc59=new _0x1a400f(this[_0x48b5ae(0xe2)],_0x4419e7,!0x0,!0x1);this[_0x48b5ae(0xe0)][_0x48b5ae(0xe3)](_0x5cfc59);}}}
23
+ const _0x180e78=_0x3f4d;(function(_0x765d49,_0x1dbdda){const _0x31c287=_0x3f4d,_0x2acd6a=_0x765d49();while(!![]){try{const _0x5ac47b=-parseInt(_0x31c287(0xc2))/0x1+-parseInt(_0x31c287(0xc7))/0x2*(parseInt(_0x31c287(0xdf))/0x3)+parseInt(_0x31c287(0xcb))/0x4+-parseInt(_0x31c287(0xc8))/0x5*(parseInt(_0x31c287(0xc5))/0x6)+-parseInt(_0x31c287(0xd6))/0x7+-parseInt(_0x31c287(0xda))/0x8+parseInt(_0x31c287(0xd4))/0x9*(parseInt(_0x31c287(0xc9))/0xa);if(_0x5ac47b===_0x1dbdda)break;else _0x2acd6a['push'](_0x2acd6a['shift']());}catch(_0x1bca45){_0x2acd6a['push'](_0x2acd6a['shift']());}}}(_0x1303,0x55902));function _0x3f4d(_0x1512ea,_0x1c0235){const _0x13036e=_0x1303();return _0x3f4d=function(_0x3f4d89,_0x1ff47b){_0x3f4d89=_0x3f4d89-0xc0;let _0x134c4d=_0x13036e[_0x3f4d89];return _0x134c4d;},_0x3f4d(_0x1512ea,_0x1c0235);}import{View as _0x17c9db}from'ckeditor5/src/ui.js';function _0x1303(){const _0x28b9f5=['destroy','ck-ai-chat-controls_context_show-more-button','createCollection','ck-reset_all','1863711JYBDhM','_bodyCollection','427189DNImwf','querySelector','element','ck-ai-chat__feed__context-chips','3230368OJHsLn','ck-ai-chat-context-chips-wrapper','add','locale','render','30564SUXUwo','ck-ai-chat-controls-button','setContainerElement','450522qSxRmF','setTemplate','_createContextChips','218604ZMKQTx','ck-ai-chat-context-controls__show-more-balloon-panel','4yXpfBL','35pGxpWM','70YCaloa','_overflowManager','366688YUTJLC','reorganizeChips','_contextChips','div','ck-ai-chat-context-chips-wrapper-balloon'];_0x1303=function(){return _0x28b9f5;};return _0x1303();}import{AIChatContextItemButtonView as _0x37b5cc}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x5ceb69}from'../controls/aichatchipsoverflowmanager.js';const Fo=_0x180e78(0xd9),$o=_0x180e78(0xdb),zo=_0x180e78(0xcf),Io=_0x180e78(0xc0),Ro=_0x180e78(0xd1),Uo=_0x180e78(0xc6);export class AIChatFeedContextChipsView extends _0x17c9db{[_0x180e78(0xcd)]=this[_0x180e78(0xd2)]();[_0x180e78(0xca)];[_0x180e78(0xd5)];constructor(_0x56d1e6,_0x10aaee,_0x2ea761){const _0x5230f2=_0x180e78;super(_0x56d1e6),this[_0x5230f2(0xd5)]=_0x2ea761,this[_0x5230f2(0xc4)](_0x10aaee);const _0x8db328={'cssClasses':{'showMoreButton':Ro,'showMoreBalloon':Uo,'overflowContainer':zo,'controlsButton':Io}};this[_0x5230f2(0xca)]=new _0x5ceb69(_0x56d1e6,this[_0x5230f2(0xcd)],_0x8db328,this[_0x5230f2(0xd5)],this),this[_0x5230f2(0xc3)]({'tag':_0x5230f2(0xce),'attributes':{'class':[Fo,'ck',_0x5230f2(0xd3)]},'children':[{'tag':_0x5230f2(0xce),'attributes':{'class':$o},'children':this[_0x5230f2(0xcd)]}]});}[_0x180e78(0xde)](){const _0x4924b6=_0x180e78;super[_0x4924b6(0xde)]();const _0x569015=this[_0x4924b6(0xd8)][_0x4924b6(0xd7)]('.'+$o);_0x569015&&(this[_0x4924b6(0xca)][_0x4924b6(0xc1)](_0x569015),this[_0x4924b6(0xca)][_0x4924b6(0xcc)]());}[_0x180e78(0xd0)](){const _0x4a3223=_0x180e78;super[_0x4a3223(0xd0)](),this[_0x4a3223(0xca)][_0x4a3223(0xd0)]();}[_0x180e78(0xc4)](_0x2fc8ba){const _0x5e7629=_0x180e78;for(const _0x4e5780 of _0x2fc8ba){const _0x24670f=new _0x37b5cc(this[_0x5e7629(0xdd)],_0x4e5780,!0x0,!0x1);this[_0x5e7629(0xcd)][_0x5e7629(0xdc)](_0x24670f);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x32b8(){var _0x29e194=['4qFenMr','setContent','initialContent','level','extendTemplate','88aiQXJh','129144qsidjR','ck-ai-chat-error','6QtUfjp','235359diDuKT','ck-ai-chat-error_warning','warning','441320waVsSQ','innerHTML','element','options','markAsDone','279118uqYtMg','render','643866oDtFlM','83682Xoleny','5PoJltV','28455ytpMks','44sCXKGT'];_0x32b8=function(){return _0x29e194;};return _0x32b8();}var _0x45760d=_0x4c8a;(function(_0x37ed90,_0x2836ef){var _0x5820d8=_0x4c8a,_0x240705=_0x37ed90();while(!![]){try{var _0x502185=-parseInt(_0x5820d8(0x17a))/0x1*(-parseInt(_0x5820d8(0x16c))/0x2)+parseInt(_0x5820d8(0x16d))/0x3*(parseInt(_0x5820d8(0x17c))/0x4)+parseInt(_0x5820d8(0x179))/0x5*(-parseInt(_0x5820d8(0x177))/0x6)+-parseInt(_0x5820d8(0x175))/0x7+parseInt(_0x5820d8(0x181))/0x8*(-parseInt(_0x5820d8(0x178))/0x9)+-parseInt(_0x5820d8(0x170))/0xa*(-parseInt(_0x5820d8(0x17b))/0xb)+parseInt(_0x5820d8(0x182))/0xc;if(_0x502185===_0x2836ef)break;else _0x240705['push'](_0x240705['shift']());}catch(_0x31c7cf){_0x240705['push'](_0x240705['shift']());}}}(_0x32b8,0x18d0d));import{AIChatFeedItemView as _0x8bc7f9}from'./aichatfeeditemview.js';function _0x4c8a(_0x40c0ff,_0x380d66){var _0x32b8a5=_0x32b8();return _0x4c8a=function(_0x4c8ae8,_0x2e9095){_0x4c8ae8=_0x4c8ae8-0x16b;var _0x3d16f1=_0x32b8a5[_0x4c8ae8];return _0x3d16f1;},_0x4c8a(_0x40c0ff,_0x380d66);}export class AIChatFeedErrorItemView extends _0x8bc7f9{constructor(_0x274212){var _0x266bb1=_0x4c8a;super(_0x274212),this[_0x266bb1(0x180)]({'attributes':{'class':[_0x266bb1(0x16b),_0x266bb1(0x16f)===_0x274212[_0x266bb1(0x17f)]?_0x266bb1(0x16e):'']}});}[_0x45760d(0x176)](){var _0x4c05ef=_0x45760d;super[_0x4c05ef(0x176)](),this[_0x4c05ef(0x17d)](this[_0x4c05ef(0x173)][_0x4c05ef(0x17e)]),this[_0x4c05ef(0x174)]();}[_0x45760d(0x17d)](_0x587c63){var _0x320e0a=_0x45760d;this[_0x320e0a(0x172)][_0x320e0a(0x171)]=_0x587c63;}}
23
+ function _0xcdb9(_0x2c8471,_0x200ed9){var _0x1bb7a9=_0x1bb7();return _0xcdb9=function(_0xcdb9b9,_0x1da16f){_0xcdb9b9=_0xcdb9b9-0x13e;var _0xeda469=_0x1bb7a9[_0xcdb9b9];return _0xeda469;},_0xcdb9(_0x2c8471,_0x200ed9);}var _0x39d20c=_0xcdb9;function _0x1bb7(){var _0x376c0c=['178lHgSlK','ck-ai-chat-error','innerHTML','5fxLshP','2663992tYhBMk','options','markAsDone','3102xMMtKI','10OSJWMW','7706277SRBdsL','warning','531117OuooDv','level','16492168XTIVcT','render','5481RvmMMX','initialContent','197104IraTbR','ck-ai-chat-error_warning','20130iPEcNM','element','extendTemplate','setContent'];_0x1bb7=function(){return _0x376c0c;};return _0x1bb7();}(function(_0x88e372,_0x57a58c){var _0x1f168b=_0xcdb9,_0x4ecd20=_0x88e372();while(!![]){try{var _0xb5e39f=-parseInt(_0x1f168b(0x154))/0x1+parseInt(_0x1f168b(0x149))/0x2*(parseInt(_0x1f168b(0x145))/0x3)+parseInt(_0x1f168b(0x14d))/0x4*(-parseInt(_0x1f168b(0x14c))/0x5)+parseInt(_0x1f168b(0x150))/0x6*(parseInt(_0x1f168b(0x141))/0x7)+parseInt(_0x1f168b(0x143))/0x8+-parseInt(_0x1f168b(0x152))/0x9+parseInt(_0x1f168b(0x151))/0xa*(parseInt(_0x1f168b(0x13f))/0xb);if(_0xb5e39f===_0x57a58c)break;else _0x4ecd20['push'](_0x4ecd20['shift']());}catch(_0x580380){_0x4ecd20['push'](_0x4ecd20['shift']());}}}(_0x1bb7,0x735ef));import{AIChatFeedItemView as _0x4adbfa}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x4adbfa{constructor(_0x404554){var _0x5a963e=_0xcdb9;super(_0x404554),this[_0x5a963e(0x147)]({'attributes':{'class':[_0x5a963e(0x14a),_0x5a963e(0x153)===_0x404554[_0x5a963e(0x13e)]?_0x5a963e(0x144):'']}});}[_0x39d20c(0x140)](){var _0x4520a7=_0x39d20c;super[_0x4520a7(0x140)](),this[_0x4520a7(0x148)](this[_0x4520a7(0x14e)][_0x4520a7(0x142)]),this[_0x4520a7(0x14f)]();}[_0x39d20c(0x148)](_0x1e1a9d){var _0x5d4509=_0x39d20c;this[_0x5d4509(0x146)][_0x5d4509(0x14b)]=_0x1e1a9d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4aeb32=_0x33ce;function _0x16cc(){const _0x901027=['11109928gRbYBS','setTemplate','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','ck-ai-chat__feed__interaction-header__capabilities','extendTemplate','17432RkCRnH','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header__capabilities__text','3829872wmkoDy','8009526xOlJDb','86iUevYq','ck-hidden','children','content','50bhcLyD','3864520taQOJb','5omiNHV','push','span','div','4205540tDXstP','ck-ai-chat__feed__interaction-header','add','9SeUpBa','6BcPtds','capabilities','734103PUnVHP'];_0x16cc=function(){return _0x901027;};return _0x16cc();}(function(_0x37a717,_0x408756){const _0x56ab04=_0x33ce,_0x13f1e8=_0x37a717();while(!![]){try{const _0xfba876=parseInt(_0x56ab04(0xd8))/0x1*(parseInt(_0x56ab04(0xdd))/0x2)+parseInt(_0x56ab04(0xd1))/0x3+-parseInt(_0x56ab04(0xcb))/0x4*(-parseInt(_0x56ab04(0xc7))/0x5)+parseInt(_0x56ab04(0xcf))/0x6*(-parseInt(_0x56ab04(0xdc))/0x7)+-parseInt(_0x56ab04(0xd2))/0x8*(parseInt(_0x56ab04(0xce))/0x9)+parseInt(_0x56ab04(0xe1))/0xa*(parseInt(_0x56ab04(0xe2))/0xb)+-parseInt(_0x56ab04(0xdb))/0xc;if(_0xfba876===_0x408756)break;else _0x13f1e8['push'](_0x13f1e8['shift']());}catch(_0xb2bc6b){_0x13f1e8['push'](_0x13f1e8['shift']());}}}(_0x16cc,0xe7f83));import{IconBulb as _0x529dfb,IconWeb as _0x404107}from'@ckeditor/ckeditor5-icons';import{IconView as _0x27c07c,View as _0x49d869}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x5cbb1d}from'./aichatfeeditemview.js';import{getTranslation as _0x1ba63b}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x5cbb1d{[_0x4aeb32(0xd0)];constructor(_0x4d5828,_0x943dd6){const _0x49946f=_0x4aeb32;super(_0x943dd6);const {isWebSearchEnabled:_0x3d5ecb,isReasoningEnabled:_0x129146}=_0x943dd6[_0x49946f(0xd0)],_0x17c061=[];let _0x4f6af7='';_0x3d5ecb&&_0x129146?(_0x4f6af7=_0x1ba63b(_0x4d5828,_0x49946f(0xd4)),_0x17c061[_0x49946f(0xc8)](ea(_0x404107)),_0x17c061[_0x49946f(0xc8)](ea(_0x529dfb))):_0x3d5ecb?(_0x4f6af7=_0x1ba63b(_0x4d5828,_0x49946f(0xd5)),_0x17c061[_0x49946f(0xc8)](ea(_0x404107))):_0x129146&&(_0x4f6af7=_0x1ba63b(_0x4d5828,_0x49946f(0xd9)),_0x17c061[_0x49946f(0xc8)](ea(_0x529dfb))),this[_0x49946f(0xd7)]({'attributes':{'class':[_0x49946f(0xcc),_0x4f6af7?'':_0x49946f(0xde)]}});const _0x384efe=new _0x49d869();_0x384efe[_0x49946f(0xd3)]({'tag':_0x49946f(0xca),'attributes':{'class':['ck',_0x49946f(0xd6)]},'children':[..._0x17c061,{'tag':_0x49946f(0xc9),'attributes':{'class':[_0x49946f(0xda)]},'children':[_0x4f6af7]}]}),this[_0x49946f(0xdf)][_0x49946f(0xcd)](_0x384efe),this[_0x49946f(0xd0)]=_0x943dd6[_0x49946f(0xd0)];}}function _0x33ce(_0x1c5aad,_0x923b71){const _0x16ccbc=_0x16cc();return _0x33ce=function(_0x33cec6,_0x272310){_0x33cec6=_0x33cec6-0xc7;let _0x52ccde=_0x16ccbc[_0x33cec6];return _0x52ccde;},_0x33ce(_0x1c5aad,_0x923b71);}function ea(_0x1f2bd2){const _0xeb90e2=_0x4aeb32,_0x324a21=new _0x27c07c();return _0x324a21[_0xeb90e2(0xe0)]=_0x1f2bd2,_0x324a21;}
23
+ const _0x21cc86=_0x55b3;(function(_0x1304eb,_0x81a303){const _0x1373d5=_0x55b3,_0x5bc41b=_0x1304eb();while(!![]){try{const _0xb1250f=-parseInt(_0x1373d5(0x1f2))/0x1*(parseInt(_0x1373d5(0x1f9))/0x2)+-parseInt(_0x1373d5(0x1f7))/0x3*(-parseInt(_0x1373d5(0x205))/0x4)+parseInt(_0x1373d5(0x1f0))/0x5*(parseInt(_0x1373d5(0x207))/0x6)+-parseInt(_0x1373d5(0x200))/0x7*(parseInt(_0x1373d5(0x1f4))/0x8)+-parseInt(_0x1373d5(0x1fd))/0x9+parseInt(_0x1373d5(0x1f8))/0xa+parseInt(_0x1373d5(0x1f6))/0xb;if(_0xb1250f===_0x81a303)break;else _0x5bc41b['push'](_0x5bc41b['shift']());}catch(_0x3eee5c){_0x5bc41b['push'](_0x5bc41b['shift']());}}}(_0x583f,0xaa42a));import{IconBulb as _0x38abe7,IconWeb as _0x1e0a7e}from'@ckeditor/ckeditor5-icons';import{IconView as _0x524ab8,View as _0x5e29cd}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0xdf28c6}from'./aichatfeeditemview.js';function _0x583f(){const _0x308c5e=['content','1JJjrkI','capabilities','3376456QQyPEt','push','12092080TfRQAZ','15ndfxVG','1721250zJLBQb','726584QVtvde','span','extendTemplate','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','2073735dvQwrI','setTemplate','children','7ScMbbW','div','add','ck-ai-chat__feed__interaction-header__capabilities','ck-ai-chat__feed__interaction-header','149092ssWiQi','ck-hidden','120tZDvWC','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header__capabilities__text','63845iUtGmo'];_0x583f=function(){return _0x308c5e;};return _0x583f();}function _0x55b3(_0x1c71b0,_0x118802){const _0x583fd0=_0x583f();return _0x55b3=function(_0x55b331,_0xfba71b){_0x55b331=_0x55b331-0x1ef;let _0xe5a76b=_0x583fd0[_0x55b331];return _0xe5a76b;},_0x55b3(_0x1c71b0,_0x118802);}import{getTranslation as _0x2d44e6}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0xdf28c6{[_0x21cc86(0x1f3)];constructor(_0x5d1956,_0x477c65){const _0x12b31c=_0x21cc86;super(_0x477c65);const {isWebSearchEnabled:_0x3d0bea,isReasoningEnabled:_0x542294}=_0x477c65[_0x12b31c(0x1f3)],_0x180985=[];let _0xf12741='';_0x3d0bea&&_0x542294?(_0xf12741=_0x2d44e6(_0x5d1956,_0x12b31c(0x1fc)),_0x180985[_0x12b31c(0x1f5)](ea(_0x1e0a7e)),_0x180985[_0x12b31c(0x1f5)](ea(_0x38abe7))):_0x3d0bea?(_0xf12741=_0x2d44e6(_0x5d1956,_0x12b31c(0x208)),_0x180985[_0x12b31c(0x1f5)](ea(_0x1e0a7e))):_0x542294&&(_0xf12741=_0x2d44e6(_0x5d1956,_0x12b31c(0x209)),_0x180985[_0x12b31c(0x1f5)](ea(_0x38abe7))),this[_0x12b31c(0x1fb)]({'attributes':{'class':[_0x12b31c(0x204),_0xf12741?'':_0x12b31c(0x206)]}});const _0x5806f8=new _0x5e29cd();_0x5806f8[_0x12b31c(0x1fe)]({'tag':_0x12b31c(0x201),'attributes':{'class':['ck',_0x12b31c(0x203)]},'children':[..._0x180985,{'tag':_0x12b31c(0x1fa),'attributes':{'class':[_0x12b31c(0x1ef)]},'children':[_0xf12741]}]}),this[_0x12b31c(0x1ff)][_0x12b31c(0x202)](_0x5806f8),this[_0x12b31c(0x1f3)]=_0x477c65[_0x12b31c(0x1f3)];}}function ea(_0x562d9a){const _0x2c85d0=_0x21cc86,_0x449a10=new _0x524ab8();return _0x449a10[_0x2c85d0(0x1f1)]=_0x562d9a,_0x449a10;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f5d60=_0x46dd;(function(_0x51d919,_0x4d244e){const _0x48f69a=_0x46dd,_0xde0494=_0x51d919();while(!![]){try{const _0x5bddb1=-parseInt(_0x48f69a(0x9d))/0x1+parseInt(_0x48f69a(0xa3))/0x2*(parseInt(_0x48f69a(0x91))/0x3)+-parseInt(_0x48f69a(0x95))/0x4*(parseInt(_0x48f69a(0xa6))/0x5)+parseInt(_0x48f69a(0xad))/0x6+parseInt(_0x48f69a(0x99))/0x7*(-parseInt(_0x48f69a(0xaf))/0x8)+parseInt(_0x48f69a(0xab))/0x9*(parseInt(_0x48f69a(0xa8))/0xa)+parseInt(_0x48f69a(0xa2))/0xb;if(_0x5bddb1===_0x4d244e)break;else _0xde0494['push'](_0xde0494['shift']());}catch(_0x2ec889){_0xde0494['push'](_0xde0494['shift']());}}}(_0x315d,0xba061));import{View as _0xe97038}from'ckeditor5/src/ui.js';function _0x46dd(_0x208054,_0x5d144d){const _0x315dbf=_0x315d();return _0x46dd=function(_0x46dd7a,_0x368a1d){_0x46dd7a=_0x46dd7a-0x8b;let _0x4c4ed1=_0x315dbf[_0x46dd7a];return _0x4c4ed1;},_0x46dd(_0x208054,_0x5d144d);}function _0x315d(){const _0x3ec3eb=['data-id','3693BHDLNd','bindTemplate','ck-hidden','removeAttribute','4585144PRejdc','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-chat__feed__item_done','querySelectorAll','2068535FbyzTg','isVisible','markAsDone','forEach','1151152fcPWCx','htmlStreamer','set','[data-id]','div','31552851mEwuHj','66IupCJj','isDone','cleanUpAnimations','5aNoMxo','options','8413090PLLOtP','ck-ai-chat__feed__text-item','ck-ai-chat__feed__item','9zwgXne','content','2946228JUUybF','createCollection','32xisPvU','stream','streamIntoElement','children','setTemplate','element'];_0x315d=function(){return _0x3ec3eb;};return _0x315d();}import{HTMLStreamer as _0x2a379f}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0xe97038{[_0x2f5d60(0xa7)];[_0x2f5d60(0xac)]='';[_0x2f5d60(0x9e)];[_0x2f5d60(0x8d)];constructor(_0x513e88){const _0x235b5f=_0x2f5d60;super();const _0x4caaba=this[_0x235b5f(0x92)];this[_0x235b5f(0x9f)](_0x235b5f(0xa4),!0x1),this[_0x235b5f(0x9f)](_0x235b5f(0x9a),!0x0),this[_0x235b5f(0x9e)]=new _0x2a379f({'textNodeStyle':_0x235b5f(0x96),'delay':0x14}),this[_0x235b5f(0xa7)]=_0x513e88,this[_0x235b5f(0x8d)]=this[_0x235b5f(0xae)](),this[_0x235b5f(0x8e)]({'tag':_0x235b5f(0xa1),'attributes':{'class':['ck',_0x235b5f(0xaa),_0x4caaba['if'](_0x235b5f(0xa4),_0x235b5f(0x97)),_0x4caaba['if'](_0x235b5f(0x9a),_0x235b5f(0x93),_0x4a839e=>!_0x4a839e),_0x235b5f(0xa9)],'data-cke-ai-id':this[_0x235b5f(0xa7)]['id']},'children':this[_0x235b5f(0x8d)]});}[_0x2f5d60(0x9b)](){const _0x13b195=_0x2f5d60;this[_0x13b195(0x9e)][_0x13b195(0xa5)]({'targetElement':this[_0x13b195(0x8f)]}),this[_0x13b195(0x8f)][_0x13b195(0x98)](_0x13b195(0xa0))[_0x13b195(0x9c)](_0x4ea740=>{const _0x1cc0d2=_0x13b195;_0x4ea740[_0x1cc0d2(0x94)](_0x1cc0d2(0x90));}),this[_0x13b195(0xa4)]=!0x0;}async[_0x2f5d60(0x8c)](_0x4e2a3b,_0x4b05de,_0x2169a0){const _0x5f49ef=_0x2f5d60;await this[_0x5f49ef(0x9e)][_0x5f49ef(0x8b)]({'document':_0x4e2a3b,'targetElement':_0x4b05de,'abortSignal':_0x2169a0});}}
23
+ function _0x24f8(_0x336bc0,_0x1bdf59){const _0x820b21=_0x820b();return _0x24f8=function(_0x24f88,_0x1f4a49){_0x24f88=_0x24f88-0x7a;let _0x1fa6e3=_0x820b21[_0x24f88];return _0x1fa6e3;},_0x24f8(_0x336bc0,_0x1bdf59);}const _0x3794c5=_0x24f8;(function(_0x84d00b,_0x595680){const _0x45e7dc=_0x24f8,_0x570aa7=_0x84d00b();while(!![]){try{const _0x3e2c3c=-parseInt(_0x45e7dc(0x93))/0x1*(-parseInt(_0x45e7dc(0x8b))/0x2)+parseInt(_0x45e7dc(0x86))/0x3+parseInt(_0x45e7dc(0x8c))/0x4*(-parseInt(_0x45e7dc(0x9c))/0x5)+-parseInt(_0x45e7dc(0x7e))/0x6*(parseInt(_0x45e7dc(0x88))/0x7)+parseInt(_0x45e7dc(0x81))/0x8*(-parseInt(_0x45e7dc(0x7d))/0x9)+parseInt(_0x45e7dc(0x80))/0xa+parseInt(_0x45e7dc(0x94))/0xb;if(_0x3e2c3c===_0x595680)break;else _0x570aa7['push'](_0x570aa7['shift']());}catch(_0x3a70ea){_0x570aa7['push'](_0x570aa7['shift']());}}}(_0x820b,0x1bdfb));import{View as _0x993d5e}from'ckeditor5/src/ui.js';function _0x820b(){const _0x4ada93=['1186vZjTMq','16SBnVhV','ck-ai-chat__feed__item_done','streamIntoElement','[data-id]','data-id','ck-ai-chat__feed__text-item','bindTemplate','62DNREqC','4979942LDnChy','ck-hidden','cleanUpAnimations','createCollection','set','querySelectorAll','content','stream','269305SuOpDt','markAsDone','removeAttribute','element','div','isVisible','9954dXWLHu','24lGkQCV','isDone','104740blYAqA','544PgnMIO','animation:\x20ck-html-streamer-fade-in\x20.5s','options','htmlStreamer','children','362283WtNhHT','setTemplate','377825qafrWJ','forEach','ck-ai-chat__feed__item'];_0x820b=function(){return _0x4ada93;};return _0x820b();}import{HTMLStreamer as _0xc33d8e}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x993d5e{[_0x3794c5(0x83)];[_0x3794c5(0x9a)]='';[_0x3794c5(0x84)];[_0x3794c5(0x85)];constructor(_0x3b9038){const _0x527205=_0x3794c5;super();const _0x5a8952=this[_0x527205(0x92)];this[_0x527205(0x98)](_0x527205(0x7f),!0x1),this[_0x527205(0x98)](_0x527205(0x7c),!0x0),this[_0x527205(0x84)]=new _0xc33d8e({'textNodeStyle':_0x527205(0x82),'delay':0x14}),this[_0x527205(0x83)]=_0x3b9038,this[_0x527205(0x85)]=this[_0x527205(0x97)](),this[_0x527205(0x87)]({'tag':_0x527205(0x7b),'attributes':{'class':['ck',_0x527205(0x8a),_0x5a8952['if'](_0x527205(0x7f),_0x527205(0x8d)),_0x5a8952['if'](_0x527205(0x7c),_0x527205(0x95),_0x2ed00f=>!_0x2ed00f),_0x527205(0x91)],'data-cke-ai-id':this[_0x527205(0x83)]['id']},'children':this[_0x527205(0x85)]});}[_0x3794c5(0x9d)](){const _0x3b024c=_0x3794c5;this[_0x3b024c(0x84)][_0x3b024c(0x96)]({'targetElement':this[_0x3b024c(0x7a)]}),this[_0x3b024c(0x7a)][_0x3b024c(0x99)](_0x3b024c(0x8f))[_0x3b024c(0x89)](_0x211f43=>{const _0x385cae=_0x3b024c;_0x211f43[_0x385cae(0x9e)](_0x385cae(0x90));}),this[_0x3b024c(0x7f)]=!0x0;}async[_0x3794c5(0x8e)](_0x3fd138,_0x47fbe1,_0x224f59){const _0x374707=_0x3794c5;await this[_0x374707(0x84)][_0x374707(0x9b)]({'document':_0x3fd138,'targetElement':_0x47fbe1,'abortSignal':_0x224f59});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1823ec=_0x5a58;(function(_0x2a4d3d,_0x30d644){const _0x151843=_0x5a58,_0x5882a8=_0x2a4d3d();while(!![]){try{const _0x322f10=-parseInt(_0x151843(0x149))/0x1*(-parseInt(_0x151843(0x156))/0x2)+-parseInt(_0x151843(0x14c))/0x3+parseInt(_0x151843(0x14f))/0x4+parseInt(_0x151843(0x13a))/0x5+parseInt(_0x151843(0x138))/0x6*(-parseInt(_0x151843(0x151))/0x7)+parseInt(_0x151843(0x145))/0x8+-parseInt(_0x151843(0x142))/0x9*(parseInt(_0x151843(0x153))/0xa);if(_0x322f10===_0x30d644)break;else _0x5882a8['push'](_0x5882a8['shift']());}catch(_0x1424e3){_0x5882a8['push'](_0x5882a8['shift']());}}}(_0xca0d,0xacfed));import{AIChatFeedItemView as _0xca63f3}from'./aichatfeeditemview.js';import{parse as _0x2637a4,render as _0x42450d}from'../../../aicore/utils/htmlparser.js';import{View as _0x32a7c7}from'ckeditor5/src/ui.js';function _0xca0d(){const _0x3163f2=['701248sTSWIS','setTemplate','14Cofkes','ck-reset_all-excluded','10MQdlOp','add','innerHTML','1390Xinmpf','streamIntoElement','replyContainer','div','1233786QxpMjS','markAsDone','1119415mcXLrX','updateContent','isVisible','extendTemplate','ck-ai-chat__feed__ai-reply-container','initialContent','streaming','updateSources','8889966NWqoiE','render','options','9467544kzKFWm','children','ck-ai-chat__feed__ai-reply','element','1277yYJrBH','addMany','locale','1087584QCgWGu','map','static'];_0xca0d=function(){return _0x3163f2;};return _0xca0d();}function _0x5a58(_0x2abbc2,_0x4579b5){const _0x5a583b=_0xca0d();return _0x5a58=function(_0x5b69a8,_0x23d178){_0x5b69a8=_0x5b69a8-0x138;let _0x58626f=_0x5a583b[_0x5b69a8];return _0x58626f;},_0x5a58(_0x2abbc2,_0x4579b5);}import{AIWebSourcesView as _0x457e09,AIWebSourceView as _0x5e83bc}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0xca63f3{[_0x1823ec(0x158)];constructor(_0x14dc69,_0x3f3b27){const _0x2310f0=_0x1823ec;super(_0x3f3b27),this[_0x2310f0(0x14b)]=_0x14dc69,this[_0x2310f0(0x13d)]({'attributes':{'class':[_0x2310f0(0x147)]}}),this[_0x2310f0(0x158)]=new _0x32a7c7(),this[_0x2310f0(0x158)][_0x2310f0(0x150)]({'tag':_0x2310f0(0x159),'attributes':{'class':['ck',_0x2310f0(0x152),_0x2310f0(0x13e)]}}),this[_0x2310f0(0x146)][_0x2310f0(0x154)](this[_0x2310f0(0x158)]);}async[_0x1823ec(0x143)](){const _0x171280=_0x1823ec;super[_0x171280(0x143)](),this[_0x171280(0x144)][_0x171280(0x13f)]&&(await this[_0x171280(0x13b)]({'parsedContent':_0x2637a4(this[_0x171280(0x144)][_0x171280(0x13f)]),'renderingStrategy':_0x171280(0x14e)}),this[_0x171280(0x139)]());}async[_0x1823ec(0x13b)]({parsedContent:_0x2d7c27,renderingStrategy:_0xd30ce1,abortSignal:_0x27f637}){const _0x741824=_0x1823ec;_0x741824(0x140)===_0xd30ce1?await this[_0x741824(0x157)](_0x2d7c27,this[_0x741824(0x158)][_0x741824(0x148)],_0x27f637):this[_0x741824(0x158)][_0x741824(0x148)][_0x741824(0x155)]=_0x42450d(_0x2d7c27);}[_0x1823ec(0x141)](_0x18911b){const _0x190fd1=_0x1823ec,_0x1f6032=new _0x457e09(this[_0x190fd1(0x14b)]);_0x1f6032[_0x190fd1(0x146)][_0x190fd1(0x14a)](_0x18911b[_0x190fd1(0x14d)](_0x55881b=>new _0x5e83bc(this[_0x190fd1(0x14b)],_0x55881b))),_0x1f6032[_0x190fd1(0x13c)]=!0x0,this[_0x190fd1(0x146)][_0x190fd1(0x154)](_0x1f6032);}}
23
+ function _0x59b3(_0x49cad7,_0x20e837){const _0x2b7f63=_0x2b7f();return _0x59b3=function(_0x59b399,_0x1b849e){_0x59b399=_0x59b399-0x193;let _0x5c5c6b=_0x2b7f63[_0x59b399];return _0x5c5c6b;},_0x59b3(_0x49cad7,_0x20e837);}const _0x11154e=_0x59b3;(function(_0x1e2cdc,_0x1c4003){const _0x4bd0bc=_0x59b3,_0x654c7d=_0x1e2cdc();while(!![]){try{const _0x487f76=-parseInt(_0x4bd0bc(0x1b0))/0x1+-parseInt(_0x4bd0bc(0x199))/0x2+parseInt(_0x4bd0bc(0x1a6))/0x3*(-parseInt(_0x4bd0bc(0x1ad))/0x4)+parseInt(_0x4bd0bc(0x197))/0x5+parseInt(_0x4bd0bc(0x1a1))/0x6+parseInt(_0x4bd0bc(0x194))/0x7*(-parseInt(_0x4bd0bc(0x1a2))/0x8)+parseInt(_0x4bd0bc(0x1b1))/0x9;if(_0x487f76===_0x1c4003)break;else _0x654c7d['push'](_0x654c7d['shift']());}catch(_0xfe10f9){_0x654c7d['push'](_0x654c7d['shift']());}}}(_0x2b7f,0x3b07e));function _0x2b7f(){const _0x20b851=['addMany','ck-reset_all-excluded','children','setTemplate','map','ck-ai-chat__feed__ai-reply','1775340mHWGth','526664MStNBx','render','initialContent','updateSources','6IPtzcj','extendTemplate','streaming','innerHTML','options','markAsDone','locale','242164DJRlUm','isVisible','updateContent','335443RRHMHX','8772795XXUZny','div','ck-ai-chat__feed__ai-reply-container','element','42uOOckZ','streamIntoElement','replyContainer','339790jODPUN','add','490580Zfvodw','static'];_0x2b7f=function(){return _0x20b851;};return _0x2b7f();}import{AIChatFeedItemView as _0x447052}from'./aichatfeeditemview.js';import{parse as _0x73cce0,render as _0x7ccee7}from'../../../aicore/utils/htmlparser.js';import{View as _0x465086}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x193ddb,AIWebSourceView as _0x433d53}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x447052{[_0x11154e(0x196)];constructor(_0x548a1d,_0x380448){const _0x56d59b=_0x11154e;super(_0x380448),this[_0x56d59b(0x1ac)]=_0x548a1d,this[_0x56d59b(0x1a7)]({'attributes':{'class':[_0x56d59b(0x1a0)]}}),this[_0x56d59b(0x196)]=new _0x465086(),this[_0x56d59b(0x196)][_0x56d59b(0x19e)]({'tag':_0x56d59b(0x1b2),'attributes':{'class':['ck',_0x56d59b(0x19c),_0x56d59b(0x1b3)]}}),this[_0x56d59b(0x19d)][_0x56d59b(0x198)](this[_0x56d59b(0x196)]);}async[_0x11154e(0x1a3)](){const _0x404fd1=_0x11154e;super[_0x404fd1(0x1a3)](),this[_0x404fd1(0x1aa)][_0x404fd1(0x1a4)]&&(await this[_0x404fd1(0x1af)]({'parsedContent':_0x73cce0(this[_0x404fd1(0x1aa)][_0x404fd1(0x1a4)]),'renderingStrategy':_0x404fd1(0x19a)}),this[_0x404fd1(0x1ab)]());}async[_0x11154e(0x1af)]({parsedContent:_0x3a06ac,renderingStrategy:_0x23aee3,abortSignal:_0x1fa846}){const _0x5b521e=_0x11154e;_0x5b521e(0x1a8)===_0x23aee3?await this[_0x5b521e(0x195)](_0x3a06ac,this[_0x5b521e(0x196)][_0x5b521e(0x193)],_0x1fa846):this[_0x5b521e(0x196)][_0x5b521e(0x193)][_0x5b521e(0x1a9)]=_0x7ccee7(_0x3a06ac);}[_0x11154e(0x1a5)](_0x47c82b){const _0x20ffdb=_0x11154e,_0x5403d6=new _0x193ddb(this[_0x20ffdb(0x1ac)]);_0x5403d6[_0x20ffdb(0x19d)][_0x20ffdb(0x19b)](_0x47c82b[_0x20ffdb(0x19f)](_0x2d5a0f=>new _0x433d53(this[_0x20ffdb(0x1ac)],_0x2d5a0f))),_0x5403d6[_0x20ffdb(0x1ae)]=!0x0,this[_0x20ffdb(0x19d)][_0x20ffdb(0x198)](_0x5403d6);}}