@ckeditor/ckeditor5-ai 47.0.0-alpha.3 → 47.0.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index-editor.css +10 -1
  3. package/dist/index.css +10 -1
  4. package/dist/index.js +4 -4
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +15 -15
  152. package/src/aiactions/aiactions.js +1 -1
  153. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  154. package/src/aiactions/model/aiactionsreply.js +1 -1
  155. package/src/aiassistant/adapters/aiadapter.js +1 -1
  156. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  157. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  158. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  159. package/src/aiassistant/aiassistant.js +1 -1
  160. package/src/aiassistant/aiassistantediting.js +1 -1
  161. package/src/aiassistant/aiassistantui.js +1 -1
  162. package/src/aiassistant/legacyerrors.js +1 -1
  163. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  164. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  165. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  167. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformview.js +1 -1
  169. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  170. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  171. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  172. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  173. package/src/aiassistant/utils/common-translations.js +1 -1
  174. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  175. package/src/aiballoon/aiballoon.js +1 -1
  176. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  177. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  178. package/src/aiballoon/ui/aiballoonview.js +1 -1
  179. package/src/aichat/aichat.js +1 -1
  180. package/src/aichat/aichatcontroller.js +1 -1
  181. package/src/aichat/aichatui.js +1 -1
  182. package/src/aichat/model/aichatcontext.js +1 -1
  183. package/src/aichat/model/aichatconversation.js +1 -1
  184. package/src/aichat/model/aichatinteraction.js +1 -1
  185. package/src/aichat/model/aichatmodels.js +1 -1
  186. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  187. package/src/aichat/ui/aichatfeedview.js +1 -1
  188. package/src/aichat/ui/aichatheaderview.js +1 -1
  189. package/src/aichat/ui/aichatview.js +1 -1
  190. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  211. package/src/aichat/utils/eventnames.js +1 -1
  212. package/src/aichat/utils/promisequeue.js +1 -1
  213. package/src/aichat/utils/scrollmanager.js +1 -1
  214. package/src/aichathistory/aichathistory.js +1 -1
  215. package/src/aichathistory/aichathistorycontroller.js +1 -1
  216. package/src/aichathistory/aichathistoryui.js +1 -1
  217. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  218. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  219. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  221. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aireply.js +1 -1
  229. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  230. package/src/aicore/pipeline/airesponseparser.js +2 -2
  231. package/src/aicore/ui/aidisclaimerview.js +1 -1
  232. package/src/aicore/ui/aiskeleton.js +1 -1
  233. package/src/aicore/ui/aispinner.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  239. package/src/aicore/utils/common-translations.js +1 -1
  240. package/src/aicore/utils/createresizebutton.js +1 -1
  241. package/src/aicore/utils/documentposition.js +1 -1
  242. package/src/aicore/utils/documentrange.js +1 -1
  243. package/src/aicore/utils/eventnames.js +1 -1
  244. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  245. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  246. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  247. package/src/aicore/utils/htmlparser.js +1 -1
  248. package/src/aicore/utils/htmlstreamer.js +1 -1
  249. package/src/aiquickactions/aiquickactions.js +1 -1
  250. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  251. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  252. package/src/aiquickactions/aiquickactionsui.js +1 -1
  253. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  254. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  256. package/src/aiquickactions/utils/common-translations.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/aireviewmodeformamanager.js +1 -1
  281. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  282. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  283. package/src/aitabs/aitabs.js +1 -1
  284. package/src/aitabs/aitabsmainview.js +1 -1
  285. package/src/aitabs/tabs/aitabsview.js +1 -1
  286. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  287. package/src/aitabs/tabs/tabpanelview.js +1 -1
  288. package/src/index.js +1 -1
  289. package/theme/aireviewmode/aireviewmode-check-list.css +10 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11b99b=_0x47bf;(function(_0x57d3fc,_0x314e1b){const _0x2f5ad7=_0x47bf,_0x2d585a=_0x57d3fc();while(!![]){try{const _0x4ec9ea=parseInt(_0x2f5ad7(0x117))/0x1+-parseInt(_0x2f5ad7(0x16c))/0x2*(parseInt(_0x2f5ad7(0x156))/0x3)+parseInt(_0x2f5ad7(0x114))/0x4+-parseInt(_0x2f5ad7(0x12d))/0x5+-parseInt(_0x2f5ad7(0x13b))/0x6+-parseInt(_0x2f5ad7(0x125))/0x7*(parseInt(_0x2f5ad7(0x131))/0x8)+parseInt(_0x2f5ad7(0x164))/0x9*(parseInt(_0x2f5ad7(0x163))/0xa);if(_0x4ec9ea===_0x314e1b)break;else _0x2d585a['push'](_0x2d585a['shift']());}catch(_0x1b227b){_0x2d585a['push'](_0x2d585a['shift']());}}}(_0x70f5,0xf2f73));function _0x70f5(){const _0xf78a53=['toggleWebSearch','webSearchActive','isOn','ck-ai-chat-controls__model-selection','execute','ck-ai-chat-controls__model-name','_commandsButton','212429nQvZev','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','_modelSelectionDropdown','setReasoning','enabled','bind','_webSearchButton','menuitemradio','3732415AzBUqy','button','isEnabled','content','368ukdgbH','_getCapabilityParts','name','model','_createCommandsButton','modelSelectorVisible','ck-hidden','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','disableModelSelector','_createModelNameView','9293970YauMwH','buttonView','ck-ai-chat-controls-button','startsWith','ck-button__label','description','setModel','_createReasoningButton','toggleReasoning','activeModelName','clear','Commands\x20are\x20not\x20implemented\x20yet.','log','agent','enableModelSelector','_modelSelectionDropdownItems','add','text','AI_CHAT_SEARCH_WEB','AI_CHAT_CAPABILITIES_NO','_modelNameView','modelSelectorEnabled','reasoningActive','AI_CHAT_CAPABILITIES_YES','_createModelSelectionDropdown','tooltip','ck-ai-chat-controls-button--commands','15084rqyjfD','set','setWebSearch','listenTo','ck-ai-chat-controls__model-selection__item-name','ck-ai-chat-controls__model-selection__item-description','reasoning','AI_CHAT_DISABLE_WEB_SEARCH','setTemplate','_createWebSearchButton','isVisible','_reasoningButton','ck-ai-chat__prompt-capabilities','49863500oMlEux','9RGnHmD','addMany','div','ck-ai-chat-controls__model-selection__item-capabilities','source','capabilities','selectModel','setModelList','718CDldcu','locale','activeModelId','AI_CHAT_ENABLE_REASONING','AI_CHAT_REASONING','toLowerCase','webSearch','bindTemplate','fire','style','length','2133444CZWKBl','AI_CHAT_COMMANDS','AI_CHAT_ENABLE_WEB_SEARCH','971968PSUpHa','withText','label','createCollection','extendTemplate','AI_CHAT_DISABLE_REASONING','span'];_0x70f5=function(){return _0xf78a53;};return _0x70f5();}import{Collection as _0x271bcf}from'ckeditor5/src/utils.js';import{IconAI as _0x2552f7,IconBulb as _0x2068cb,IconWeb as _0x2bd8c1}from'@ckeditor/ckeditor5-icons';function _0x47bf(_0x48d948,_0x852ff1){const _0x70f54a=_0x70f5();return _0x47bf=function(_0x47bf09,_0x36620c){_0x47bf09=_0x47bf09-0x112;let _0x2947f5=_0x70f54a[_0x47bf09];return _0x2947f5;},_0x47bf(_0x48d948,_0x852ff1);}import{addListToDropdown as _0x268d34,ButtonLabelView as _0x37fe4b,ButtonView as _0x27ebdf,createDropdown as _0x7dbab6,IconView as _0xf1d851,UIModel as _0x4ca810,View as _0x594df7}from'ckeditor5/src/ui.js';import{getTranslation as _0x3ee511}from'../../../aicore/utils/common-translations.js';const Wo=_0x11b99b(0x162),uo=_0x11b99b(0x13d),yo=_0x11b99b(0x155),Go=_0x11b99b(0x121),Yo=_0x11b99b(0x15a),qo=_0x11b99b(0x15b),zo=_0x11b99b(0x167),Fo='n';export class AIChatPromptCapabilitiesView extends _0x594df7{[_0x11b99b(0x12b)];[_0x11b99b(0x161)];[_0x11b99b(0x124)];[_0x11b99b(0x127)];[_0x11b99b(0x14a)];[_0x11b99b(0x14f)];constructor(_0x5ef80d){const _0x5d2227=_0x11b99b;super(_0x5ef80d),this[_0x5d2227(0x157)](_0x5d2227(0x11f),!0x1),this[_0x5d2227(0x157)](_0x5d2227(0x151),!0x1),this[_0x5d2227(0x157)](_0x5d2227(0x136),!0x0),this[_0x5d2227(0x157)](_0x5d2227(0x150),!0x0),this[_0x5d2227(0x157)](_0x5d2227(0x16e),''),this[_0x5d2227(0x157)](_0x5d2227(0x144),''),this[_0x5d2227(0x127)]=this[_0x5d2227(0x153)](),this[_0x5d2227(0x14f)]=this[_0x5d2227(0x13a)](),this[_0x5d2227(0x12b)]=this[_0x5d2227(0x15f)](),this[_0x5d2227(0x161)]=this[_0x5d2227(0x142)](),this[_0x5d2227(0x124)]=this[_0x5d2227(0x135)](),this[_0x5d2227(0x127)][_0x5d2227(0x13c)][_0x5d2227(0x12a)](_0x5d2227(0x160))['to'](this,_0x5d2227(0x136),_0x13cb91=>_0x13cb91),this[_0x5d2227(0x127)][_0x5d2227(0x13c)][_0x5d2227(0x12a)](_0x5d2227(0x154))['to'](this,_0x5d2227(0x150),_0x31314a=>_0x31314a?this[_0x5d2227(0x127)][_0x5d2227(0x13c)][_0x5d2227(0x119)]:_0x3ee511(this[_0x5d2227(0x16d)],_0x5d2227(0x126))),this[_0x5d2227(0x127)][_0x5d2227(0x12a)](_0x5d2227(0x12f))['to'](this,_0x5d2227(0x150),_0x2f76fc=>_0x2f76fc),this[_0x5d2227(0x12b)][_0x5d2227(0x12a)](_0x5d2227(0x120))['to'](this,_0x5d2227(0x11f),_0x29dc3b=>_0x29dc3b),this[_0x5d2227(0x12b)][_0x5d2227(0x12a)](_0x5d2227(0x118))['to'](this,_0x5d2227(0x136),_0x1dfc97=>!_0x1dfc97),this[_0x5d2227(0x12b)][_0x5d2227(0x12a)](_0x5d2227(0x154))['to'](this,_0x5d2227(0x11f),_0x2dcc8e=>_0x3ee511(this[_0x5d2227(0x16d)],_0x2dcc8e?_0x5d2227(0x15d):_0x5d2227(0x116))),this[_0x5d2227(0x161)][_0x5d2227(0x12a)](_0x5d2227(0x120))['to'](this,_0x5d2227(0x151),_0x1e6255=>_0x1e6255),this[_0x5d2227(0x161)][_0x5d2227(0x12a)](_0x5d2227(0x118))['to'](this,_0x5d2227(0x136),_0x363605=>!_0x363605),this[_0x5d2227(0x161)][_0x5d2227(0x12a)](_0x5d2227(0x154))['to'](this,_0x5d2227(0x151),_0x195e04=>_0x3ee511(this[_0x5d2227(0x16d)],_0x195e04?_0x5d2227(0x11c):_0x5d2227(0x16f))),this[_0x5d2227(0x15e)]({'tag':_0x5d2227(0x166),'attributes':{'class':[Wo]},'children':[this[_0x5d2227(0x127)],this[_0x5d2227(0x14f)],this[_0x5d2227(0x12b)],this[_0x5d2227(0x161)],this[_0x5d2227(0x124)]]}),this[_0x5d2227(0x14a)]=new _0x271bcf(),_0x268d34(this[_0x5d2227(0x127)],this[_0x5d2227(0x14a)]);}[_0x11b99b(0x16b)](_0xfe2155,_0x52cd7f){const _0x5dcf95=_0x11b99b;if(this[_0x5dcf95(0x157)](_0x5dcf95(0x136),!(_0x52cd7f&&_0xfe2155[_0x5dcf95(0x113)]<=0x1)),this[_0x5dcf95(0x14a)][_0x5dcf95(0x145)](),_0xfe2155?.[_0x5dcf95(0x113)])for(const _0x94eb13 of _0xfe2155){const _0x3b56b3=new _0x4ca810({'label':_0x94eb13[_0x5dcf95(0x133)],'withText':!0x0,'role':_0x5dcf95(0x12c),'id':_0x94eb13['id'],'model':_0x94eb13});_0x3b56b3[_0x5dcf95(0x12a)](_0x5dcf95(0x120))['to'](this,_0x5dcf95(0x16e),_0x622ce5=>_0x622ce5===_0x94eb13['id']),this[_0x5dcf95(0x14a)][_0x5dcf95(0x14b)]({'type':_0x5dcf95(0x12e),'model':_0x3b56b3,'labelView':new Ds(this[_0x5dcf95(0x16d)],_0x94eb13)});}}[_0x11b99b(0x158)](_0x1bd642){const _0x577efd=_0x11b99b;this[_0x577efd(0x157)](_0x577efd(0x11f),_0x1bd642);}[_0x11b99b(0x128)](_0x50a035){const _0x5459e6=_0x11b99b;this[_0x5459e6(0x157)](_0x5459e6(0x151),_0x50a035);}[_0x11b99b(0x141)](_0x1e49c2){const _0x48ed68=_0x11b99b;if(!_0x1e49c2)return;this[_0x48ed68(0x16e)]=_0x1e49c2['id'],this[_0x48ed68(0x144)]=_0x1e49c2[_0x48ed68(0x133)]||_0x1e49c2['id'],this[_0x48ed68(0x127)][_0x48ed68(0x13c)][_0x48ed68(0x157)](_0x48ed68(0x119),_0x1e49c2[_0x48ed68(0x133)]),this[_0x48ed68(0x127)][_0x48ed68(0x13c)][_0x48ed68(0x157)](_0x48ed68(0x154),_0x1e49c2[_0x48ed68(0x133)]);const _0x34579e=_0x1e49c2[_0x48ed68(0x169)][_0x48ed68(0x172)]?.[_0x48ed68(0x129)]??!0x1;this[_0x48ed68(0x157)](_0x48ed68(0x11f),!0x1),this[_0x48ed68(0x12b)][_0x48ed68(0x157)](_0x48ed68(0x120),!0x1),this[_0x48ed68(0x12b)][_0x48ed68(0x157)](_0x48ed68(0x12f),_0x34579e),this[_0x48ed68(0x12b)][_0x48ed68(0x157)](_0x48ed68(0x160),_0x34579e);const _0x1818e7=_0x1e49c2[_0x48ed68(0x169)][_0x48ed68(0x15c)]?.[_0x48ed68(0x129)]??!0x1;this[_0x48ed68(0x157)](_0x48ed68(0x151),!0x1),this[_0x48ed68(0x161)][_0x48ed68(0x157)](_0x48ed68(0x120),!0x1),this[_0x48ed68(0x161)][_0x48ed68(0x157)](_0x48ed68(0x12f),_0x1818e7),this[_0x48ed68(0x161)][_0x48ed68(0x157)](_0x48ed68(0x160),_0x1818e7);}[_0x11b99b(0x149)](){const _0x167ef3=_0x11b99b;this[_0x167ef3(0x157)](_0x167ef3(0x150),!0x0),this[_0x167ef3(0x157)](_0x167ef3(0x136),!0x0);}[_0x11b99b(0x139)](_0xea0a9b){const _0x3881d0=_0x11b99b;this[_0x3881d0(0x157)](_0x3881d0(0x150),!0x1),_0xea0a9b&&this[_0x3881d0(0x157)](_0x3881d0(0x136),!0x1);}[_0x11b99b(0x15f)](){const _0x3fc6de=_0x11b99b,_0x4f2f64=new _0x27ebdf();return _0x4f2f64[_0x3fc6de(0x157)]({'label':_0x3ee511(this[_0x3fc6de(0x16d)],_0x3fc6de(0x14d)),'icon':_0x2bd8c1,'class':uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0x4f2f64['on'](_0x3fc6de(0x122),()=>{const _0x45cf1c=_0x3fc6de;this[_0x45cf1c(0x174)](_0x45cf1c(0x11e));}),_0x4f2f64;}[_0x11b99b(0x142)](){const _0x4326ef=_0x11b99b,_0x4a36a9=new _0x27ebdf();return _0x4a36a9[_0x4326ef(0x157)]({'label':_0x3ee511(this[_0x4326ef(0x16d)],_0x4326ef(0x170)),'icon':_0x2068cb,'class':uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0x4a36a9['on'](_0x4326ef(0x122),()=>{const _0x55d814=_0x4326ef;this[_0x55d814(0x174)](_0x55d814(0x143));}),_0x4a36a9;}[_0x11b99b(0x135)](){const _0x32ccec=_0x11b99b,_0x351f5b=new _0x27ebdf();return _0x351f5b[_0x32ccec(0x157)]({'label':_0x3ee511(this[_0x32ccec(0x16d)],_0x32ccec(0x115)),'icon':_0x2552f7,'withText':!0x0,'class':uo,'isToggleable':!0x0,'tooltip':_0x3ee511(this[_0x32ccec(0x16d)],_0x32ccec(0x115)),'tooltipPosition':Fo}),_0x351f5b[_0x32ccec(0x11b)]({'attributes':{'class':[yo]}}),_0x351f5b['on'](_0x32ccec(0x122),()=>{const _0x4024c3=_0x32ccec;console[_0x4024c3(0x147)](_0x4024c3(0x146)),alert(_0x4024c3(0x146));}),_0x351f5b;}[_0x11b99b(0x153)](){const _0x52eefc=_0x11b99b,_0x5cad34=_0x7dbab6(this[_0x52eefc(0x16d)]);return _0x5cad34[_0x52eefc(0x157)]({'panelPosition':'ne','class':[Go]}),_0x5cad34[_0x52eefc(0x13c)][_0x52eefc(0x157)]({'label':_0x3ee511(this[_0x52eefc(0x16d)],_0x52eefc(0x138)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Fo}),this[_0x52eefc(0x159)](_0x5cad34,_0x52eefc(0x122),_0x3ececc=>{const _0x59c38e=_0x52eefc;this[_0x59c38e(0x174)](_0x59c38e(0x16a),_0x3ececc[_0x59c38e(0x168)][_0x59c38e(0x134)]);}),_0x5cad34;}[_0x11b99b(0x13a)](){const _0x5ea003=_0x11b99b,_0xb58bc=new Jo(this[_0x5ea003(0x16d)]);return _0xb58bc[_0x5ea003(0x12a)](_0x5ea003(0x14c))['to'](this,_0x5ea003(0x144),_0x483619=>_0x483619??''),_0xb58bc[_0x5ea003(0x12a)](_0x5ea003(0x160))['to'](this,_0x5ea003(0x136),this,_0x5ea003(0x144),(_0x5ef7c4,_0xc478)=>!_0x5ef7c4&&!_0xc478?.[_0x5ea003(0x171)]()[_0x5ea003(0x13e)](_0x5ea003(0x148))),_0xb58bc;}}class Ds extends _0x37fe4b{constructor(_0x210134,_0xbab9d5){const _0x1cc7c6=_0x11b99b;super();const _0x4cd669=this[_0x1cc7c6(0x173)],_0x4d68ce=this[_0x1cc7c6(0x11a)]();this[_0x1cc7c6(0x15e)]({'tag':_0x1cc7c6(0x166),'attributes':{'class':['ck',_0x1cc7c6(0x13f)],'style':_0x4cd669['to'](_0x1cc7c6(0x112)),'id':_0x4cd669['to']('id')},'children':[{'tag':_0x1cc7c6(0x166),'attributes':{'class':[Yo]},'children':[{'text':_0x4cd669['to'](_0x1cc7c6(0x14c))}]},{'tag':_0x1cc7c6(0x166),'attributes':{'class':[qo]},'children':[{'tag':_0x1cc7c6(0x11d),'children':[{'text':_0xbab9d5[_0x1cc7c6(0x140)]}]}]},{'tag':_0x1cc7c6(0x166),'attributes':{'class':[zo]},'children':_0x4d68ce}]}),_0x4d68ce[_0x1cc7c6(0x165)](this[_0x1cc7c6(0x132)](_0x210134,_0x2bd8c1,_0x1cc7c6(0x14d),_0xbab9d5[_0x1cc7c6(0x169)][_0x1cc7c6(0x172)]?.[_0x1cc7c6(0x129)]??!0x1)),_0x4d68ce[_0x1cc7c6(0x165)](this[_0x1cc7c6(0x132)](_0x210134,_0x2068cb,_0x1cc7c6(0x170),_0xbab9d5[_0x1cc7c6(0x169)][_0x1cc7c6(0x15c)]?.[_0x1cc7c6(0x129)]??!0x1));}[_0x11b99b(0x132)](_0x49b6c2,_0x16f010,_0xa3c4bc,_0x293d22){const _0xa6237c=_0x11b99b,_0x428953=new _0xf1d851();_0x428953[_0xa6237c(0x130)]=_0x16f010;const _0x2de85e=new _0x594df7(_0x49b6c2);_0x2de85e[_0xa6237c(0x15e)]({'tag':_0xa6237c(0x11d),'children':[{'text':_0x3ee511(_0x49b6c2,_0xa3c4bc)+':\x20'}]});const _0x40db72=new _0x594df7(_0x49b6c2);return _0x40db72[_0xa6237c(0x15e)]({'tag':_0xa6237c(0x11d),'children':[{'text':_0x3ee511(_0x49b6c2,_0x293d22?_0xa6237c(0x152):_0xa6237c(0x14e))}]}),[_0x428953,_0x2de85e,_0x40db72];}}class Jo extends _0x594df7{constructor(_0x56a3fc){const _0x52061b=_0x11b99b;super(_0x56a3fc),this[_0x52061b(0x157)](_0x52061b(0x14c),void 0x0),this[_0x52061b(0x157)](_0x52061b(0x160),!0x0);const _0x4b46d4=this[_0x52061b(0x173)];this[_0x52061b(0x15e)]({'tag':_0x52061b(0x11d),'attributes':{'class':['ck',_0x52061b(0x123),_0x4b46d4['if'](_0x52061b(0x160),_0x52061b(0x137),_0x331e43=>!_0x331e43)]},'children':[{'text':_0x4b46d4['to'](_0x52061b(0x14c))}]});}}
23
+ const _0x568fbf=_0xeb28;(function(_0x190f09,_0x19d67b){const _0x1dea34=_0xeb28,_0xa69c35=_0x190f09();while(!![]){try{const _0x8514fd=-parseInt(_0x1dea34(0x201))/0x1+parseInt(_0x1dea34(0x216))/0x2*(parseInt(_0x1dea34(0x24e))/0x3)+-parseInt(_0x1dea34(0x245))/0x4*(-parseInt(_0x1dea34(0x21a))/0x5)+parseInt(_0x1dea34(0x225))/0x6*(parseInt(_0x1dea34(0x237))/0x7)+-parseInt(_0x1dea34(0x250))/0x8+-parseInt(_0x1dea34(0x23f))/0x9*(parseInt(_0x1dea34(0x23a))/0xa)+parseInt(_0x1dea34(0x206))/0xb*(parseInt(_0x1dea34(0x1f6))/0xc);if(_0x8514fd===_0x19d67b)break;else _0xa69c35['push'](_0xa69c35['shift']());}catch(_0x58a5a5){_0xa69c35['push'](_0xa69c35['shift']());}}}(_0x4466,0xb9c6e));import{Collection as _0x1afed0}from'ckeditor5/src/utils.js';import{IconAI as _0x2cc2fe,IconBulb as _0x408f87,IconWeb as _0x5cad2a}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x4c904c,ButtonLabelView as _0x2429f2,ButtonView as _0x947e8a,createDropdown as _0xc7f222,IconView as _0xf93f4f,UIModel as _0xd809ca,View as _0x1033b4}from'ckeditor5/src/ui.js';import{getTranslation as _0x4b8cb1}from'../../../aicore/utils/common-translations.js';function _0xeb28(_0x6ca4df,_0x9ca6bf){const _0x446642=_0x4466();return _0xeb28=function(_0xeb282f,_0xefa24a){_0xeb282f=_0xeb282f-0x1f4;let _0x397242=_0x446642[_0xeb282f];return _0x397242;},_0xeb28(_0x6ca4df,_0x9ca6bf);}const No=_0x568fbf(0x1fa),vo=_0x568fbf(0x210),Ho=_0x568fbf(0x1f8),Mo=_0x568fbf(0x22d),Lo=_0x568fbf(0x20a),Ro=_0x568fbf(0x20e),Do=_0x568fbf(0x226),Wo='n';export class AIChatPromptCapabilitiesView extends _0x1033b4{[_0x568fbf(0x221)];[_0x568fbf(0x252)];[_0x568fbf(0x24d)];[_0x568fbf(0x227)];[_0x568fbf(0x22e)];[_0x568fbf(0x228)];constructor(_0x27869){const _0x526b84=_0x568fbf;super(_0x27869),this[_0x526b84(0x235)](_0x526b84(0x247),!0x1),this[_0x526b84(0x235)](_0x526b84(0x1f7),!0x1),this[_0x526b84(0x235)](_0x526b84(0x234),!0x0),this[_0x526b84(0x235)](_0x526b84(0x1fd),!0x0),this[_0x526b84(0x235)](_0x526b84(0x21d),''),this[_0x526b84(0x235)](_0x526b84(0x240),''),this[_0x526b84(0x227)]=this[_0x526b84(0x1fb)](),this[_0x526b84(0x228)]=this[_0x526b84(0x241)](),this[_0x526b84(0x221)]=this[_0x526b84(0x24f)](),this[_0x526b84(0x252)]=this[_0x526b84(0x239)](),this[_0x526b84(0x24d)]=this[_0x526b84(0x236)](),this[_0x526b84(0x227)][_0x526b84(0x23c)][_0x526b84(0x24b)](_0x526b84(0x20f))['to'](this,_0x526b84(0x234),_0xd360d9=>_0xd360d9),this[_0x526b84(0x227)][_0x526b84(0x23c)][_0x526b84(0x24b)](_0x526b84(0x255))['to'](this,_0x526b84(0x1fd),_0x1390f5=>_0x1390f5?this[_0x526b84(0x227)][_0x526b84(0x23c)][_0x526b84(0x22b)]:_0x4b8cb1(this[_0x526b84(0x246)],_0x526b84(0x23b))),this[_0x526b84(0x227)][_0x526b84(0x24b)](_0x526b84(0x21e))['to'](this,_0x526b84(0x1fd),_0x24879b=>_0x24879b),this[_0x526b84(0x221)][_0x526b84(0x24b)](_0x526b84(0x233))['to'](this,_0x526b84(0x247),_0x224365=>_0x224365),this[_0x526b84(0x221)][_0x526b84(0x24b)](_0x526b84(0x244))['to'](this,_0x526b84(0x234),_0x392fa5=>!_0x392fa5),this[_0x526b84(0x221)][_0x526b84(0x24b)](_0x526b84(0x255))['to'](this,_0x526b84(0x247),_0x375dc4=>_0x4b8cb1(this[_0x526b84(0x246)],_0x375dc4?_0x526b84(0x23e):_0x526b84(0x22c))),this[_0x526b84(0x252)][_0x526b84(0x24b)](_0x526b84(0x233))['to'](this,_0x526b84(0x1f7),_0x1816ca=>_0x1816ca),this[_0x526b84(0x252)][_0x526b84(0x24b)](_0x526b84(0x244))['to'](this,_0x526b84(0x234),_0x50a652=>!_0x50a652),this[_0x526b84(0x252)][_0x526b84(0x24b)](_0x526b84(0x255))['to'](this,_0x526b84(0x1f7),_0x35c544=>_0x4b8cb1(this[_0x526b84(0x246)],_0x35c544?_0x526b84(0x211):_0x526b84(0x217))),this[_0x526b84(0x248)]({'tag':_0x526b84(0x215),'attributes':{'class':[No]},'children':[this[_0x526b84(0x227)],this[_0x526b84(0x228)],this[_0x526b84(0x221)],this[_0x526b84(0x252)],this[_0x526b84(0x24d)]]}),this[_0x526b84(0x22e)]=new _0x1afed0(),_0x4c904c(this[_0x526b84(0x227)],this[_0x526b84(0x22e)]);}[_0x568fbf(0x214)](_0x11c9b1,_0xdb27a){const _0x3afce0=_0x568fbf;if(this[_0x3afce0(0x235)](_0x3afce0(0x234),!(_0xdb27a&&_0x11c9b1[_0x3afce0(0x220)]<=0x1)),this[_0x3afce0(0x22e)][_0x3afce0(0x21f)](),_0x11c9b1?.[_0x3afce0(0x220)])for(const _0x290603 of _0x11c9b1){const _0x1b8cd9=new _0xd809ca({'label':_0x290603[_0x3afce0(0x254)],'withText':!0x0,'role':_0x3afce0(0x207),'id':_0x290603['id'],'model':_0x290603});_0x1b8cd9[_0x3afce0(0x24b)](_0x3afce0(0x233))['to'](this,_0x3afce0(0x21d),_0x1098ac=>_0x1098ac===_0x290603['id']),this[_0x3afce0(0x22e)][_0x3afce0(0x200)]({'type':_0x3afce0(0x21c),'model':_0x1b8cd9,'labelView':new Ts(this[_0x3afce0(0x246)],_0x290603)});}}[_0x568fbf(0x256)](_0x18e874){const _0xe00a07=_0x568fbf;this[_0xe00a07(0x235)](_0xe00a07(0x247),_0x18e874);}[_0x568fbf(0x224)](_0x24c477){const _0x39b7c5=_0x568fbf;this[_0x39b7c5(0x235)](_0x39b7c5(0x1f7),_0x24c477);}[_0x568fbf(0x203)](_0x4ed216){const _0x5ca631=_0x568fbf;if(!_0x4ed216)return;this[_0x5ca631(0x21d)]=_0x4ed216['id'],this[_0x5ca631(0x240)]=_0x4ed216[_0x5ca631(0x254)]||_0x4ed216['id'],this[_0x5ca631(0x227)][_0x5ca631(0x23c)][_0x5ca631(0x235)](_0x5ca631(0x22b),_0x4ed216[_0x5ca631(0x254)]),this[_0x5ca631(0x227)][_0x5ca631(0x23c)][_0x5ca631(0x235)](_0x5ca631(0x255),_0x4ed216[_0x5ca631(0x254)]);const _0x57b779=_0x4ed216[_0x5ca631(0x243)][_0x5ca631(0x213)]?.[_0x5ca631(0x1fe)]??!0x1;this[_0x5ca631(0x235)](_0x5ca631(0x247),!0x1),this[_0x5ca631(0x221)][_0x5ca631(0x235)](_0x5ca631(0x233),!0x1),this[_0x5ca631(0x221)][_0x5ca631(0x235)](_0x5ca631(0x21e),_0x57b779),this[_0x5ca631(0x221)][_0x5ca631(0x235)](_0x5ca631(0x20f),_0x57b779);const _0x4307e2=_0x4ed216[_0x5ca631(0x243)][_0x5ca631(0x251)]?.[_0x5ca631(0x1fe)]??!0x1;this[_0x5ca631(0x235)](_0x5ca631(0x1f7),!0x1),this[_0x5ca631(0x252)][_0x5ca631(0x235)](_0x5ca631(0x233),!0x1),this[_0x5ca631(0x252)][_0x5ca631(0x235)](_0x5ca631(0x21e),_0x4307e2),this[_0x5ca631(0x252)][_0x5ca631(0x235)](_0x5ca631(0x20f),_0x4307e2);}[_0x568fbf(0x238)](){const _0x2e503f=_0x568fbf;this[_0x2e503f(0x235)](_0x2e503f(0x1fd),!0x0),this[_0x2e503f(0x235)](_0x2e503f(0x234),!0x0);}[_0x568fbf(0x1f9)](_0x5c8d22){const _0x114484=_0x568fbf;this[_0x114484(0x235)](_0x114484(0x1fd),!0x1),_0x5c8d22&&this[_0x114484(0x235)](_0x114484(0x234),!0x1);}[_0x568fbf(0x24f)](){const _0x1610c3=_0x568fbf,_0x3b2998=new _0x947e8a();return _0x3b2998[_0x1610c3(0x235)]({'label':_0x4b8cb1(this[_0x1610c3(0x246)],_0x1610c3(0x232)),'icon':_0x5cad2a,'class':vo,'isToggleable':!0x0,'tooltipPosition':Wo}),_0x3b2998['on'](_0x1610c3(0x231),()=>{const _0x496532=_0x1610c3;this[_0x496532(0x24a)](_0x496532(0x1f4));}),_0x3b2998;}[_0x568fbf(0x239)](){const _0x47fe12=_0x568fbf,_0x54c37c=new _0x947e8a();return _0x54c37c[_0x47fe12(0x235)]({'label':_0x4b8cb1(this[_0x47fe12(0x246)],_0x47fe12(0x257)),'icon':_0x408f87,'class':vo,'isToggleable':!0x0,'tooltipPosition':Wo}),_0x54c37c['on'](_0x47fe12(0x231),()=>{const _0x87f9d0=_0x47fe12;this[_0x87f9d0(0x24a)](_0x87f9d0(0x1ff));}),_0x54c37c;}[_0x568fbf(0x236)](){const _0x3fa89a=_0x568fbf,_0x4264fd=new _0x947e8a();return _0x4264fd[_0x3fa89a(0x235)]({'label':_0x4b8cb1(this[_0x3fa89a(0x246)],_0x3fa89a(0x222)),'icon':_0x2cc2fe,'withText':!0x0,'class':vo,'isToggleable':!0x0,'tooltip':_0x4b8cb1(this[_0x3fa89a(0x246)],_0x3fa89a(0x222)),'tooltipPosition':Wo}),_0x4264fd[_0x3fa89a(0x22f)]({'attributes':{'class':[Ho]}}),_0x4264fd['on'](_0x3fa89a(0x231),()=>{const _0x44c64a=_0x3fa89a;console[_0x44c64a(0x212)](_0x44c64a(0x205)),alert(_0x44c64a(0x205));}),_0x4264fd;}[_0x568fbf(0x1fb)](){const _0x4714f4=_0x568fbf,_0x8a13e7=_0xc7f222(this[_0x4714f4(0x246)]);return _0x8a13e7[_0x4714f4(0x235)]({'panelPosition':'ne','class':[Mo]}),_0x8a13e7[_0x4714f4(0x23c)][_0x4714f4(0x235)]({'label':_0x4b8cb1(this[_0x4714f4(0x246)],_0x4714f4(0x22a)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Wo}),this[_0x4714f4(0x258)](_0x8a13e7,_0x4714f4(0x231),_0x590bc6=>{const _0x536f73=_0x4714f4;this[_0x536f73(0x24a)](_0x536f73(0x204),_0x590bc6[_0x536f73(0x223)][_0x536f73(0x209)]);}),_0x8a13e7;}[_0x568fbf(0x241)](){const _0x359209=_0x568fbf,_0x378b9f=new yo(this[_0x359209(0x246)]);return _0x378b9f[_0x359209(0x24b)](_0x359209(0x253))['to'](this,_0x359209(0x240),_0x168211=>_0x168211??''),_0x378b9f[_0x359209(0x24b)](_0x359209(0x20f))['to'](this,_0x359209(0x234),this,_0x359209(0x240),(_0x3aedd6,_0x5e7a7d)=>!_0x3aedd6&&!_0x5e7a7d?.[_0x359209(0x230)]()[_0x359209(0x218)](_0x359209(0x242))),_0x378b9f;}}function _0x4466(){const _0x4d16b3=['isOn','modelSelectorVisible','set','_createCommandsButton','35ljXzAH','enableModelSelector','_createReasoningButton','6350TAVzxz','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','buttonView','AI_CHAT_CAPABILITIES_YES','AI_CHAT_DISABLE_WEB_SEARCH','8523dDEFxi','activeModelName','_createModelNameView','agent','capabilities','withText','20BQfgdt','locale','webSearchActive','setTemplate','ck-button__label','fire','bind','span','_commandsButton','30LsCJzy','_createWebSearchButton','4573840UfiJbh','reasoning','_reasoningButton','text','name','tooltip','setWebSearch','AI_CHAT_REASONING','listenTo','toggleWebSearch','_getCapabilityParts','60qrmsNG','reasoningActive','ck-ai-chat-controls-button--commands','disableModelSelector','ck-ai-chat__prompt-capabilities','_createModelSelectionDropdown','style','modelSelectorEnabled','enabled','toggleReasoning','add','471543qoaWHV','description','setModel','selectModel','Commands\x20are\x20not\x20implemented\x20yet.','787534vHiHOk','menuitemradio','addMany','model','ck-ai-chat-controls__model-selection__item-name','AI_CHAT_CAPABILITIES_NO','content','bindTemplate','ck-ai-chat-controls__model-selection__item-description','isVisible','ck-ai-chat-controls-button','AI_CHAT_DISABLE_REASONING','log','webSearch','setModelList','div','2218SRBUHH','AI_CHAT_ENABLE_REASONING','startsWith','ck-ai-chat-controls__model-name','741835qmDsRw','createCollection','button','activeModelId','isEnabled','clear','length','_webSearchButton','AI_CHAT_COMMANDS','source','setReasoning','1553598soMutr','ck-ai-chat-controls__model-selection__item-capabilities','_modelSelectionDropdown','_modelNameView','ck-hidden','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','label','AI_CHAT_ENABLE_WEB_SEARCH','ck-ai-chat-controls__model-selection','_modelSelectionDropdownItems','extendTemplate','toLowerCase','execute','AI_CHAT_SEARCH_WEB'];_0x4466=function(){return _0x4d16b3;};return _0x4466();}class Ts extends _0x2429f2{constructor(_0x16b380,_0x3affb8){const _0x394804=_0x568fbf;super();const _0x2f67da=this[_0x394804(0x20d)],_0x586f8e=this[_0x394804(0x21b)]();this[_0x394804(0x248)]({'tag':_0x394804(0x215),'attributes':{'class':['ck',_0x394804(0x249)],'style':_0x2f67da['to'](_0x394804(0x1fc)),'id':_0x2f67da['to']('id')},'children':[{'tag':_0x394804(0x215),'attributes':{'class':[Lo]},'children':[{'text':_0x2f67da['to'](_0x394804(0x253))}]},{'tag':_0x394804(0x215),'attributes':{'class':[Ro]},'children':[{'tag':_0x394804(0x24c),'children':[{'text':_0x3affb8[_0x394804(0x202)]}]}]},{'tag':_0x394804(0x215),'attributes':{'class':[Do]},'children':_0x586f8e}]}),_0x586f8e[_0x394804(0x208)](this[_0x394804(0x1f5)](_0x16b380,_0x5cad2a,_0x394804(0x232),_0x3affb8[_0x394804(0x243)][_0x394804(0x213)]?.[_0x394804(0x1fe)]??!0x1)),_0x586f8e[_0x394804(0x208)](this[_0x394804(0x1f5)](_0x16b380,_0x408f87,_0x394804(0x257),_0x3affb8[_0x394804(0x243)][_0x394804(0x251)]?.[_0x394804(0x1fe)]??!0x1));}[_0x568fbf(0x1f5)](_0x47280b,_0x47d6a7,_0x2d6587,_0x2951f0){const _0x2f4988=_0x568fbf,_0x41e126=new _0xf93f4f();_0x41e126[_0x2f4988(0x20c)]=_0x47d6a7;const _0x1a0390=new _0x1033b4(_0x47280b);_0x1a0390[_0x2f4988(0x248)]({'tag':_0x2f4988(0x24c),'children':[{'text':_0x4b8cb1(_0x47280b,_0x2d6587)+':\x20'}]});const _0x442635=new _0x1033b4(_0x47280b);return _0x442635[_0x2f4988(0x248)]({'tag':_0x2f4988(0x24c),'children':[{'text':_0x4b8cb1(_0x47280b,_0x2951f0?_0x2f4988(0x23d):_0x2f4988(0x20b))}]}),[_0x41e126,_0x1a0390,_0x442635];}}class yo extends _0x1033b4{constructor(_0x5e0036){const _0x4bbd6e=_0x568fbf;super(_0x5e0036),this[_0x4bbd6e(0x235)](_0x4bbd6e(0x253),void 0x0),this[_0x4bbd6e(0x235)](_0x4bbd6e(0x20f),!0x0);const _0x25608f=this[_0x4bbd6e(0x20d)];this[_0x4bbd6e(0x248)]({'tag':_0x4bbd6e(0x24c),'attributes':{'class':['ck',_0x4bbd6e(0x219),_0x25608f['if'](_0x4bbd6e(0x20f),_0x4bbd6e(0x229),_0x708eaa=>!_0x708eaa)]},'children':[{'text':_0x25608f['to'](_0x4bbd6e(0x253))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ad0a1=_0x28d8;function _0x3378(){const _0x477f35=['_queryViewResizeObserver','MAX_ROWS','1519470OxqxyZ','ck-ai-chat__prompt-input','extendTemplate','setIsUploadInProgress','submitButtonView','fieldWrapperChildren','right','minRows','queryView','98WkHayP','_createSubmitButton','render','MIN_ROWS','update','bind','2UIQtrS','16472cwRWuo','899908hIcNCT','errorText','uiLanguageDirection','maxRows','AI_CHAT_PROMPT_EMPTY_ERROR','AI_CHAT_LABEL_SUBMIT','left','_addContextButtonView','isEnabled','472020zVmVrg','requestAnimationFrame','element','47269EBkrnc','3950660JQwEll','setPlaceholderText','placeholder','fire','focusableChildren','px\x20-\x20var(--ck-spacing-tiny))','target','value','calc(','submit','hasError','width','isEmpty','3QuzDtn','rtl','destroy','trim','_setUpAddContextButtonPositioning','2751678LVdzvT','add','locale','keystrokes','isUploadInProgress','fieldView','set','execute','ck-ai-chat__prompt-submit-button','enter','excludeScrollbarsAndBorders','style','reset','sendUserMessage','window'];_0x3378=function(){return _0x477f35;};return _0x3378();}(function(_0x804141,_0x5eb8f6){const _0x275d59=_0x28d8,_0xbb5bc1=_0x804141();while(!![]){try{const _0x13bfb6=parseInt(_0x275d59(0x1f2))/0x1*(parseInt(_0x275d59(0x1e4))/0x2)+parseInt(_0x275d59(0x200))/0x3*(-parseInt(_0x275d59(0x1e6))/0x4)+parseInt(_0x275d59(0x1ef))/0x5+parseInt(_0x275d59(0x1d5))/0x6+-parseInt(_0x275d59(0x1de))/0x7*(parseInt(_0x275d59(0x1e5))/0x8)+-parseInt(_0x275d59(0x1c4))/0x9+parseInt(_0x275d59(0x1f3))/0xa;if(_0x13bfb6===_0x5eb8f6)break;else _0xbb5bc1['push'](_0xbb5bc1['shift']());}catch(_0x44461d){_0xbb5bc1['push'](_0xbb5bc1['shift']());}}}(_0x3378,0x38427));import{IconSubmit as _0x3a5e83}from'ckeditor5/src/icons.js';function _0x28d8(_0x781126,_0x58abfd){const _0x337837=_0x3378();return _0x28d8=function(_0x28d8ec,_0x124741){_0x28d8ec=_0x28d8ec-0x1c2;let _0x21a2bd=_0x337837[_0x28d8ec];return _0x21a2bd;},_0x28d8(_0x781126,_0x58abfd);}import{ButtonView as _0x1e29fc,AutocompleteView as _0x37051f,createLabeledTextarea as _0x2b5c42}from'ckeditor5/src/ui.js';import{global as _0x57f72f,isVisible as _0x9ca3ec,Rect as _0x41f78d,ResizeObserver as _0x1be5d4}from'ckeditor5/src/utils.js';import{getTranslation as _0x45e46f}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x1331ef}from'./aichatpromptsuggestionslistview.js';import{escape as _0x44da4c}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x37051f{[_0x2ad0a1(0x1d9)];static [_0x2ad0a1(0x1e1)]=0x1;static [_0x2ad0a1(0x1d4)]=0xc;[_0x2ad0a1(0x1ed)];[_0x2ad0a1(0x1d3)];constructor(_0x317032,_0x5b5dab){const _0x54509c=_0x2ad0a1;super(_0x317032,{'queryView':{'label':'','creator':_0x2b5c42,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x1331ef(_0x317032),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x54509c(0x1ca)](_0x54509c(0x1ff),!0x0),this[_0x54509c(0x1ca)](_0x54509c(0x1c8),!0x1),this[_0x54509c(0x1ed)]=_0x5b5dab,this[_0x54509c(0x1d3)]=null,this[_0x54509c(0x1dd)][_0x54509c(0x1c9)][_0x54509c(0x1dc)]=AIChatPromptInputView[_0x54509c(0x1e1)],this[_0x54509c(0x1dd)][_0x54509c(0x1c9)][_0x54509c(0x1e9)]=AIChatPromptInputView[_0x54509c(0x1d4)],this[_0x54509c(0x1dd)][_0x54509c(0x1da)][_0x54509c(0x1c5)](this[_0x54509c(0x1ed)]),this[_0x54509c(0x1c3)](),this[_0x54509c(0x1d7)]({'attributes':{'class':['ck',_0x54509c(0x1d6)]}}),this[_0x54509c(0x1d9)]=this[_0x54509c(0x1df)](),this[_0x54509c(0x1d9)][_0x54509c(0x1e3)](_0x54509c(0x1ee))['to'](this,_0x54509c(0x1ff),this,_0x54509c(0x1c8),(_0x3a7396,_0x5a0ce0)=>!_0x3a7396&&!_0x5a0ce0),this[_0x54509c(0x1f7)][_0x54509c(0x1c5)](this[_0x54509c(0x1d9)]);}[_0x2ad0a1(0x1e0)](){const _0x1d83d0=_0x2ad0a1;super[_0x1d83d0(0x1e0)](),this[_0x1d83d0(0x1dd)][_0x1d83d0(0x1da)][_0x1d83d0(0x1c5)](this[_0x1d83d0(0x1d9)]),this[_0x1d83d0(0x1c7)][_0x1d83d0(0x1ca)](_0x1d83d0(0x1cd),(_0x36b889,_0x364a79)=>{const _0x136460=_0x1d83d0;this[_0x136460(0x1c8)]||this[_0x136460(0x1ff)]||_0x36b889[_0x136460(0x1f9)]==this[_0x136460(0x1dd)][_0x136460(0x1c9)][_0x136460(0x1f1)]&&(this[_0x136460(0x1fc)](),_0x364a79());}),this[_0x1d83d0(0x1dd)][_0x1d83d0(0x1c9)]['on'](_0x1d83d0(0x1e2),()=>{const _0x3786e5=_0x1d83d0;this[_0x3786e5(0x1ff)]=''===this[_0x3786e5(0x1dd)][_0x3786e5(0x1c9)][_0x3786e5(0x1f1)][_0x3786e5(0x1fa)]?.[_0x3786e5(0x1c2)]();});}[_0x2ad0a1(0x202)](){const _0x4c3218=_0x2ad0a1;super[_0x4c3218(0x202)](),this[_0x4c3218(0x1d3)]&&this[_0x4c3218(0x1d3)][_0x4c3218(0x202)]();}[_0x2ad0a1(0x1fc)](){const _0x16b2bd=_0x2ad0a1,_0x5d62e9=this[_0x16b2bd(0x1dd)][_0x16b2bd(0x1c9)][_0x16b2bd(0x1f1)][_0x16b2bd(0x1fa)]?.[_0x16b2bd(0x1c2)]();if(!_0x5d62e9)return this[_0x16b2bd(0x1dd)][_0x16b2bd(0x1e7)]=_0x45e46f(this[_0x16b2bd(0x1c6)],_0x16b2bd(0x1ea)),void(this[_0x16b2bd(0x1dd)][_0x16b2bd(0x1c9)][_0x16b2bd(0x1fd)]=!0x0);this[_0x16b2bd(0x1dd)][_0x16b2bd(0x1c9)][_0x16b2bd(0x1fd)]=!0x1;const _0x38a3ad=_0x44da4c(_0x5d62e9);this[_0x16b2bd(0x1f6)](_0x16b2bd(0x1d1),_0x38a3ad),this[_0x16b2bd(0x1dd)][_0x16b2bd(0x1c9)][_0x16b2bd(0x1d0)]();}[_0x2ad0a1(0x1f4)](_0x5dd261){const _0x1bcc44=_0x2ad0a1;this[_0x1bcc44(0x1dd)][_0x1bcc44(0x1c9)][_0x1bcc44(0x1ca)](_0x1bcc44(0x1f5),_0x5dd261);}[_0x2ad0a1(0x1df)](){const _0xb65f64=_0x2ad0a1,_0x1e625b=new _0x1e29fc(this[_0xb65f64(0x1c6)]);return _0x1e625b[_0xb65f64(0x1ca)]({'icon':_0x3a5e83,'label':_0x45e46f(this[_0xb65f64(0x1c6)],_0xb65f64(0x1eb)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xb65f64(0x1cc),'isEnabled':!0x1}),_0x1e625b['on'](_0xb65f64(0x1cb),()=>{const _0x50dc3c=_0xb65f64;this[_0x50dc3c(0x1fc)]();}),_0x1e625b;}[_0x2ad0a1(0x1d8)](_0x13fafe){const _0x4802cf=_0x2ad0a1;this[_0x4802cf(0x1c8)]=_0x13fafe;}[_0x2ad0a1(0x1c3)](){const _0x2e464d=_0x2ad0a1,_0x51d59c=this[_0x2e464d(0x1c6)],_0x49cb65=()=>{const _0x33c42d=_0x2e464d;_0x57f72f[_0x33c42d(0x1d2)][_0x33c42d(0x1f0)](()=>{const _0x4ad7f7=_0x33c42d;if(_0x9ca3ec(this[_0x4ad7f7(0x1f1)])){const _0xa352a0=new _0x41f78d(this[_0x4ad7f7(0x1dd)][_0x4ad7f7(0x1c9)][_0x4ad7f7(0x1f1)]),_0x45ac85=new _0x41f78d(this[_0x4ad7f7(0x1ed)][_0x4ad7f7(0x1f1)]),_0x19c380=_0xa352a0[_0x4ad7f7(0x1fe)],_0x2b16a0=_0x4ad7f7(0x201)===_0x51d59c[_0x4ad7f7(0x1e8)]?_0x4ad7f7(0x1db):_0x4ad7f7(0x1ec);_0xa352a0[_0x4ad7f7(0x1ce)]();const _0x18a53f=_0x19c380-_0xa352a0[_0x4ad7f7(0x1fe)]+0x1;this[_0x4ad7f7(0x1ed)][_0x4ad7f7(0x1f1)][_0x4ad7f7(0x1cf)][_0x2b16a0]=_0x4ad7f7(0x1fb)+(_0x19c380-_0x45ac85[_0x4ad7f7(0x1fe)]-_0x18a53f)+_0x4ad7f7(0x1f8);}});};this[_0x2e464d(0x1dd)][_0x2e464d(0x1c9)]['on'](_0x2e464d(0x1e2),_0x49cb65),this['on'](_0x2e464d(0x1e0),()=>{const _0x5302d8=_0x2e464d;_0x49cb65(),this[_0x5302d8(0x1d3)]=new _0x1be5d4(this[_0x5302d8(0x1dd)][_0x5302d8(0x1c9)][_0x5302d8(0x1f1)],()=>{_0x49cb65();});});}}
23
+ const _0x4b0ff3=_0x5cca;(function(_0x530cfb,_0x562ef9){const _0x32ca8f=_0x5cca,_0x68b726=_0x530cfb();while(!![]){try{const _0x17b54a=-parseInt(_0x32ca8f(0x212))/0x1*(parseInt(_0x32ca8f(0x224))/0x2)+parseInt(_0x32ca8f(0x225))/0x3*(-parseInt(_0x32ca8f(0x20a))/0x4)+-parseInt(_0x32ca8f(0x1f7))/0x5+-parseInt(_0x32ca8f(0x20f))/0x6*(-parseInt(_0x32ca8f(0x1f4))/0x7)+-parseInt(_0x32ca8f(0x22e))/0x8+parseInt(_0x32ca8f(0x1fe))/0x9+parseInt(_0x32ca8f(0x20d))/0xa;if(_0x17b54a===_0x562ef9)break;else _0x68b726['push'](_0x68b726['shift']());}catch(_0x361884){_0x68b726['push'](_0x68b726['shift']());}}}(_0x23d9,0xb6bee));import{IconSubmit as _0x2c17cd}from'ckeditor5/src/icons.js';import{ButtonView as _0x5d2e73,AutocompleteView as _0x2f237d,createLabeledTextarea as _0x3896db}from'ckeditor5/src/ui.js';function _0x5cca(_0x3a333b,_0x55796a){const _0x23d9f7=_0x23d9();return _0x5cca=function(_0x5cca5f,_0x479bf3){_0x5cca5f=_0x5cca5f-0x1f4;let _0x5c5db4=_0x23d9f7[_0x5cca5f];return _0x5c5db4;},_0x5cca(_0x3a333b,_0x55796a);}import{global as _0x2c5e28,isVisible as _0x19dbe4,Rect as _0x536464,ResizeObserver as _0x45c33c}from'ckeditor5/src/utils.js';import{getTranslation as _0x38758a}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x5ba0ab}from'./aichatpromptsuggestionslistview.js';import{escape as _0x322687}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x2f237d{[_0x4b0ff3(0x1f5)];static [_0x4b0ff3(0x214)]=0x1;static [_0x4b0ff3(0x216)]=0xc;[_0x4b0ff3(0x206)];[_0x4b0ff3(0x1f6)];constructor(_0x21b4ce,_0x42349f){const _0x1875d4=_0x4b0ff3;super(_0x21b4ce,{'queryView':{'label':'','creator':_0x3896db,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x5ba0ab(_0x21b4ce),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x1875d4(0x21c)](_0x1875d4(0x203),!0x0),this[_0x1875d4(0x21c)](_0x1875d4(0x221),!0x1),this[_0x1875d4(0x206)]=_0x42349f,this[_0x1875d4(0x1f6)]=null,this[_0x1875d4(0x201)][_0x1875d4(0x222)][_0x1875d4(0x204)]=AIChatPromptInputView[_0x1875d4(0x214)],this[_0x1875d4(0x201)][_0x1875d4(0x222)][_0x1875d4(0x22f)]=AIChatPromptInputView[_0x1875d4(0x216)],this[_0x1875d4(0x201)][_0x1875d4(0x233)][_0x1875d4(0x217)](this[_0x1875d4(0x206)]),this[_0x1875d4(0x227)](),this[_0x1875d4(0x232)]({'attributes':{'class':['ck',_0x1875d4(0x205)]}}),this[_0x1875d4(0x1f5)]=this[_0x1875d4(0x210)](),this[_0x1875d4(0x1f5)][_0x1875d4(0x208)](_0x1875d4(0x229))['to'](this,_0x1875d4(0x203),this,_0x1875d4(0x221),(_0x551e95,_0x513c90)=>!_0x551e95&&!_0x513c90),this[_0x1875d4(0x223)][_0x1875d4(0x217)](this[_0x1875d4(0x1f5)]);}[_0x4b0ff3(0x1fb)](){const _0x15c1f7=_0x4b0ff3;super[_0x15c1f7(0x1fb)](),this[_0x15c1f7(0x201)][_0x15c1f7(0x233)][_0x15c1f7(0x217)](this[_0x15c1f7(0x1f5)]),this[_0x15c1f7(0x211)][_0x15c1f7(0x21c)](_0x15c1f7(0x219),(_0x28afdb,_0x176ebf)=>{const _0xf7dd15=_0x15c1f7;this[_0xf7dd15(0x221)]||this[_0xf7dd15(0x203)]||_0x28afdb[_0xf7dd15(0x231)]==this[_0xf7dd15(0x201)][_0xf7dd15(0x222)][_0xf7dd15(0x220)]&&(this[_0xf7dd15(0x22a)](),_0x176ebf());}),this[_0x15c1f7(0x201)][_0x15c1f7(0x222)]['on'](_0x15c1f7(0x21d),()=>{const _0x586c6f=_0x15c1f7;this[_0x586c6f(0x203)]=''===this[_0x586c6f(0x201)][_0x586c6f(0x222)][_0x586c6f(0x220)][_0x586c6f(0x209)]?.[_0x586c6f(0x213)]();});}[_0x4b0ff3(0x230)](){const _0x3433df=_0x4b0ff3;super[_0x3433df(0x230)](),this[_0x3433df(0x1f6)]&&this[_0x3433df(0x1f6)][_0x3433df(0x230)]();}[_0x4b0ff3(0x22a)](){const _0x2ab4ed=_0x4b0ff3,_0x484b14=this[_0x2ab4ed(0x201)][_0x2ab4ed(0x222)][_0x2ab4ed(0x220)][_0x2ab4ed(0x209)]?.[_0x2ab4ed(0x213)]();if(!_0x484b14)return this[_0x2ab4ed(0x201)][_0x2ab4ed(0x22c)]=_0x38758a(this[_0x2ab4ed(0x215)],_0x2ab4ed(0x20b)),void(this[_0x2ab4ed(0x201)][_0x2ab4ed(0x222)][_0x2ab4ed(0x234)]=!0x0);this[_0x2ab4ed(0x201)][_0x2ab4ed(0x222)][_0x2ab4ed(0x234)]=!0x1;const _0x3e2173=_0x322687(_0x484b14);this[_0x2ab4ed(0x1fc)](_0x2ab4ed(0x21b),_0x3e2173),this[_0x2ab4ed(0x201)][_0x2ab4ed(0x222)][_0x2ab4ed(0x22b)]();}[_0x4b0ff3(0x1fa)](_0x53c1ac){const _0x216b41=_0x4b0ff3;this[_0x216b41(0x201)][_0x216b41(0x222)][_0x216b41(0x21c)](_0x216b41(0x202),_0x53c1ac);}[_0x4b0ff3(0x210)](){const _0x1d6cc3=_0x4b0ff3,_0x342e14=new _0x5d2e73(this[_0x1d6cc3(0x215)]);return _0x342e14[_0x1d6cc3(0x21c)]({'icon':_0x2c17cd,'label':_0x38758a(this[_0x1d6cc3(0x215)],_0x1d6cc3(0x21e)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1d6cc3(0x22d),'isEnabled':!0x1}),_0x342e14['on'](_0x1d6cc3(0x20e),()=>{const _0x2d40ee=_0x1d6cc3;this[_0x2d40ee(0x22a)]();}),_0x342e14;}[_0x4b0ff3(0x207)](_0x1ca7d8){const _0x12048d=_0x4b0ff3;this[_0x12048d(0x221)]=_0x1ca7d8;}[_0x4b0ff3(0x227)](){const _0xbf62a3=_0x4b0ff3,_0x27ac75=this[_0xbf62a3(0x215)],_0x18028a=()=>{const _0x3233ed=_0xbf62a3;_0x2c5e28[_0x3233ed(0x1ff)][_0x3233ed(0x218)](()=>{const _0x4e5d93=_0x3233ed;if(_0x19dbe4(this[_0x4e5d93(0x220)])){const _0xa0444b=new _0x536464(this[_0x4e5d93(0x201)][_0x4e5d93(0x222)][_0x4e5d93(0x220)]),_0x124ef9=new _0x536464(this[_0x4e5d93(0x206)][_0x4e5d93(0x220)]),_0xd075c0=_0xa0444b[_0x4e5d93(0x20c)],_0x23c3e0=_0x4e5d93(0x1fd)===_0x27ac75[_0x4e5d93(0x1f8)]?_0x4e5d93(0x226):_0x4e5d93(0x200);_0xa0444b[_0x4e5d93(0x228)]();const _0x86d52e=_0xd075c0-_0xa0444b[_0x4e5d93(0x20c)]+0x1;this[_0x4e5d93(0x206)][_0x4e5d93(0x220)][_0x4e5d93(0x1f9)][_0x23c3e0]=_0x4e5d93(0x21f)+(_0xd075c0-_0x124ef9[_0x4e5d93(0x20c)]-_0x86d52e)+_0x4e5d93(0x21a);}});};this[_0xbf62a3(0x201)][_0xbf62a3(0x222)]['on'](_0xbf62a3(0x21d),_0x18028a),this['on'](_0xbf62a3(0x1fb),()=>{const _0x2e79e4=_0xbf62a3;_0x18028a(),this[_0x2e79e4(0x1f6)]=new _0x45c33c(this[_0x2e79e4(0x201)][_0x2e79e4(0x222)][_0x2e79e4(0x220)],()=>{_0x18028a();});});}}function _0x23d9(){const _0x236a10=['extendTemplate','fieldWrapperChildren','hasError','91YlEsJH','submitButtonView','_queryViewResizeObserver','6668310RPWRQp','uiLanguageDirection','style','setPlaceholderText','render','fire','rtl','9471807nScvHQ','window','left','queryView','placeholder','isEmpty','minRows','ck-ai-chat__prompt-input','_addContextButtonView','setIsUploadInProgress','bind','value','1243876fDtxOD','AI_CHAT_PROMPT_EMPTY_ERROR','width','21780770dJDiId','execute','666876WtPtVg','_createSubmitButton','keystrokes','2tykHaV','trim','MIN_ROWS','locale','MAX_ROWS','add','requestAnimationFrame','enter','px\x20-\x20var(--ck-spacing-tiny))','sendUserMessage','set','update','AI_CHAT_LABEL_SUBMIT','calc(','element','isUploadInProgress','fieldView','focusableChildren','432010paCqUO','9nMegkG','right','_setUpAddContextButtonPositioning','excludeScrollbarsAndBorders','isEnabled','submit','reset','errorText','ck-ai-chat__prompt-submit-button','9826344VvYnnG','maxRows','destroy','target'];_0x23d9=function(){return _0x236a10;};return _0x23d9();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x541f(_0x579a09,_0x7b1c6){const _0x1e8e07=_0x1e8e();return _0x541f=function(_0x541f35,_0x311de8){_0x541f35=_0x541f35-0x176;let _0x5982c3=_0x1e8e07[_0x541f35];return _0x5982c3;},_0x541f(_0x579a09,_0x7b1c6);}const _0x576f0b=_0x541f;(function(_0x19297d,_0xf42c91){const _0x166cba=_0x541f,_0x38424f=_0x19297d();while(!![]){try{const _0x2b3b79=-parseInt(_0x166cba(0x179))/0x1+parseInt(_0x166cba(0x17e))/0x2+parseInt(_0x166cba(0x176))/0x3+parseInt(_0x166cba(0x180))/0x4*(parseInt(_0x166cba(0x17b))/0x5)+parseInt(_0x166cba(0x17f))/0x6*(-parseInt(_0x166cba(0x178))/0x7)+parseInt(_0x166cba(0x17d))/0x8+-parseInt(_0x166cba(0x182))/0x9*(parseInt(_0x166cba(0x181))/0xa);if(_0x2b3b79===_0xf42c91)break;else _0x38424f['push'](_0x38424f['shift']());}catch(_0x12a4de){_0x38424f['push'](_0x38424f['shift']());}}}(_0x1e8e,0x4bbc3));import{ListView as _0x1d52cc}from'ckeditor5/src/ui.js';function _0x1e8e(){const _0x51e114=['5eosYnQ','filter','290056njmLAk','841570mzTakq','6sjWjVz','403556TWsMst','118280eCCnqv','261jiRGTP','1434099JVwedj','length','2490061cRTLQQ','27018ZBsplZ','items'];_0x1e8e=function(){return _0x51e114;};return _0x1e8e();}export class AIChatPromptSuggestionsListView extends _0x1d52cc{[_0x576f0b(0x17c)](){const _0x2c49bd=_0x576f0b;let _0x147255=0x0;for(const _0x58c19b of this[_0x2c49bd(0x17a)])_0x147255+=_0x58c19b[_0x2c49bd(0x17a)][_0x2c49bd(0x177)];return{'resultsCount':_0x147255,'totalItemsCount':_0x147255};}}
23
+ const _0x428bc3=_0xe611;(function(_0x2e7d72,_0x2cbac5){const _0x1ea22d=_0xe611,_0x3d56b0=_0x2e7d72();while(!![]){try{const _0x396e87=-parseInt(_0x1ea22d(0x105))/0x1+-parseInt(_0x1ea22d(0x10c))/0x2+parseInt(_0x1ea22d(0x10b))/0x3*(-parseInt(_0x1ea22d(0x10f))/0x4)+-parseInt(_0x1ea22d(0x107))/0x5*(parseInt(_0x1ea22d(0x102))/0x6)+parseInt(_0x1ea22d(0x10a))/0x7+parseInt(_0x1ea22d(0x10d))/0x8*(-parseInt(_0x1ea22d(0x108))/0x9)+-parseInt(_0x1ea22d(0x109))/0xa*(-parseInt(_0x1ea22d(0x104))/0xb);if(_0x396e87===_0x2cbac5)break;else _0x3d56b0['push'](_0x3d56b0['shift']());}catch(_0x4fdee4){_0x3d56b0['push'](_0x3d56b0['shift']());}}}(_0x536c,0x9b1c2));function _0xe611(_0x5de038,_0x42da96){const _0x536cc9=_0x536c();return _0xe611=function(_0xe6117b,_0x508492){_0xe6117b=_0xe6117b-0x102;let _0x5d8eb6=_0x536cc9[_0xe6117b];return _0x5d8eb6;},_0xe611(_0x5de038,_0x42da96);}import{ListView as _0x355f65}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x355f65{[_0x428bc3(0x106)](){const _0x3d73a1=_0x428bc3;let _0x5b669d=0x0;for(const _0x49ccd4 of this[_0x3d73a1(0x103)])_0x5b669d+=_0x49ccd4[_0x3d73a1(0x103)][_0x3d73a1(0x10e)];return{'resultsCount':_0x5b669d,'totalItemsCount':_0x5b669d};}}function _0x536c(){const _0x560c6e=['2514ykLKmC','items','88JnOfkQ','1078944tBKSqK','filter','6485kwwMve','3499065EjThoo','4565620GFwYix','7383894apqeZL','6WAvFnK','1967026VTTMgM','16GXIkvw','length','1377076BDdCVk'];_0x536c=function(){return _0x560c6e;};return _0x536c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ed2f2=_0x1f07;(function(_0x334826,_0x51bf97){const _0x4f6920=_0x1f07,_0x2a1857=_0x334826();while(!![]){try{const _0x1f78ba=-parseInt(_0x4f6920(0x154))/0x1*(parseInt(_0x4f6920(0x167))/0x2)+-parseInt(_0x4f6920(0x179))/0x3+-parseInt(_0x4f6920(0x152))/0x4*(parseInt(_0x4f6920(0x175))/0x5)+-parseInt(_0x4f6920(0x160))/0x6+parseInt(_0x4f6920(0x15b))/0x7*(parseInt(_0x4f6920(0x177))/0x8)+-parseInt(_0x4f6920(0x178))/0x9*(-parseInt(_0x4f6920(0x16a))/0xa)+parseInt(_0x4f6920(0x17a))/0xb;if(_0x1f78ba===_0x51bf97)break;else _0x2a1857['push'](_0x2a1857['shift']());}catch(_0x4f59ad){_0x2a1857['push'](_0x2a1857['shift']());}}}(_0x11ad,0x5a605));import{HighlightedTextView as _0x4d31b8,IconView as _0x35d90a,ListItemView as _0xe51127}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x3ec342}from'es-toolkit/compat';function _0x11ad(){const _0x43df10=['_setupTemplate','bindTemplate','isVisible','execute','DOCUMENT','428IXBhLe','setTemplate','div','1397890WrKzdF','URL','resource','ck-ai-chat-resources__item','label','highlightText','getResourceIcon','type','_createTitleView','content','render','14655mDQGvY','FILE','4863344LAmmKw','9zqKdKW','767616PlOxrL','7043685GIJiPk','updateResourceState','_titleView','ck-ai-chat-resources__item-title','ck-hidden','356VeFYWh','_createIconView','347wLoWXz','TEXT','trim','ck-ai-chat-resources__item--in-context','_updateIcon','text','span','7nJtVVC','isInContext','_iconView','set','ck-ai-chat-resources__item__icon','2561232fFDFOb','extendTemplate'];_0x11ad=function(){return _0x43df10;};return _0x11ad();}import{AIContextItemType as _0x3610a4}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x5289ce,IconCheck as _0x213410,IconDocument as _0x14cbb5,IconDocumentOutline as _0x4b21b9,IconLink as _0x1f4907}from'@ckeditor/ckeditor5-icons';function _0x1f07(_0x4d5d8c,_0x4582b7){const _0x11adf3=_0x11ad();return _0x1f07=function(_0x1f07dc,_0x6bd1f8){_0x1f07dc=_0x1f07dc-0x152;let _0x2e75e3=_0x11adf3[_0x1f07dc];return _0x2e75e3;},_0x1f07(_0x4d5d8c,_0x4582b7);}const Tr=_0x5ed2f2(0x16d),Lr=_0x5ed2f2(0x157),qr=_0x5ed2f2(0x17d),zr=_0x5ed2f2(0x15f);export class AIChatResourceListItemView extends _0xe51127{[_0x5ed2f2(0x16c)];[_0x5ed2f2(0x17c)];[_0x5ed2f2(0x15d)];constructor(_0x23d935,_0xc6ed01){const _0x1b7e69=_0x5ed2f2;super(_0x23d935),this[_0x1b7e69(0x16c)]=_0xc6ed01,this[_0x1b7e69(0x15e)](_0x1b7e69(0x15c),!!_0xc6ed01[_0x1b7e69(0x15c)]),this[_0x1b7e69(0x17c)]=this[_0x1b7e69(0x172)](),this[_0x1b7e69(0x15d)]=this[_0x1b7e69(0x153)](),this[_0x1b7e69(0x162)]();}[_0x5ed2f2(0x174)](){const _0x13b6aa=_0x5ed2f2;super[_0x13b6aa(0x174)]();}[_0x5ed2f2(0x170)](_0x2837ac){const _0x3ba839=_0x5ed2f2;if(_0x2837ac[_0x3ba839(0x15c)])return _0x213410;switch(_0x2837ac[_0x3ba839(0x171)]){case _0x3610a4[_0x3ba839(0x166)]:return _0x14cbb5;case _0x3610a4[_0x3ba839(0x16b)]:return _0x1f4907;case _0x3610a4[_0x3ba839(0x176)]:case _0x3610a4[_0x3ba839(0x155)]:return _0x5289ce;default:return _0x4b21b9;}}[_0x5ed2f2(0x16f)](_0x3e086f){const _0x6b816f=_0x5ed2f2;if(!_0x3e086f||''===_0x3e086f[_0x6b816f(0x156)]())return void this[_0x6b816f(0x17c)][_0x6b816f(0x16f)](null);const _0x4b1a68=new RegExp(_0x3ec342(_0x3e086f),'gi');this[_0x6b816f(0x17c)][_0x6b816f(0x16f)](_0x4b1a68);}[_0x5ed2f2(0x17b)](_0x27723b){const _0x18824b=_0x5ed2f2;this[_0x18824b(0x16c)][_0x18824b(0x15c)]=_0x27723b,this[_0x18824b(0x15c)]=_0x27723b,this[_0x18824b(0x158)]();}[_0x5ed2f2(0x172)](){const _0x206705=_0x5ed2f2,_0x48cd5d=new _0x4d31b8();return _0x48cd5d[_0x206705(0x159)]=this[_0x206705(0x16c)][_0x206705(0x16e)],_0x48cd5d[_0x206705(0x161)]({'tag':_0x206705(0x15a),'attributes':{'class':[qr]}}),_0x48cd5d;}[_0x5ed2f2(0x153)](){const _0xe7ba3f=_0x5ed2f2,_0x55520b=new _0x35d90a();return _0x55520b[_0xe7ba3f(0x173)]=this[_0xe7ba3f(0x170)](this[_0xe7ba3f(0x16c)]),_0x55520b;}[_0x5ed2f2(0x162)](){const _0x449964=_0x5ed2f2,_0x12243d=this[_0x449964(0x163)];this[_0x449964(0x168)]({'tag':_0x449964(0x169),'attributes':{'class':[Tr,_0x12243d['if'](_0x449964(0x164),_0x449964(0x17e),_0x56645c=>!_0x56645c),_0x12243d['if'](_0x449964(0x15c),Lr)]},'children':[{'tag':_0x449964(0x169),'attributes':{'class':[zr]},'children':[this[_0x449964(0x15d)]]},this[_0x449964(0x17c)]],'on':{'click':_0x12243d['to'](_0x449964(0x165))}});}[_0x5ed2f2(0x158)](){const _0x4dc3bf=_0x5ed2f2;this[_0x4dc3bf(0x15d)][_0x4dc3bf(0x173)]=this[_0x4dc3bf(0x170)](this[_0x4dc3bf(0x16c)]);}}
23
+ function _0x1233(_0x59c6c1,_0x1bae5f){const _0x102673=_0x1026();return _0x1233=function(_0x12333a,_0x2bc1c3){_0x12333a=_0x12333a-0x198;let _0x5623a0=_0x102673[_0x12333a];return _0x5623a0;},_0x1233(_0x59c6c1,_0x1bae5f);}const _0x16dbf3=_0x1233;(function(_0x1e06c3,_0x54bf17){const _0x24ddcc=_0x1233,_0x2fffa3=_0x1e06c3();while(!![]){try{const _0x4c0f43=parseInt(_0x24ddcc(0x19a))/0x1+parseInt(_0x24ddcc(0x1c3))/0x2+-parseInt(_0x24ddcc(0x1c2))/0x3*(-parseInt(_0x24ddcc(0x1a7))/0x4)+parseInt(_0x24ddcc(0x198))/0x5*(-parseInt(_0x24ddcc(0x1a1))/0x6)+-parseInt(_0x24ddcc(0x1af))/0x7*(parseInt(_0x24ddcc(0x1b0))/0x8)+parseInt(_0x24ddcc(0x1ba))/0x9+-parseInt(_0x24ddcc(0x1ac))/0xa;if(_0x4c0f43===_0x54bf17)break;else _0x2fffa3['push'](_0x2fffa3['shift']());}catch(_0x27733c){_0x2fffa3['push'](_0x2fffa3['shift']());}}}(_0x1026,0x344ce));import{HighlightedTextView as _0x2680ed,IconView as _0x377670,ListItemView as _0x1c8265}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x24a264}from'es-toolkit/compat';function _0x1026(){const _0x551311=['ck-hidden','_iconView','_updateIcon','span','6KQEYAD','extendTemplate','ck-ai-chat-resources__item--in-context','type','isVisible','URL','10228osmkSw','set','render','text','ck-ai-chat-resources__item__icon','5576640IzJyIW','TEXT','FILE','1093253qTLeTy','8VLqaGT','content','resource','_titleView','isInContext','_createTitleView','setTemplate','DOCUMENT','execute','div','3575259VJzeJN','updateResourceState','ck-ai-chat-resources__item-title','label','_createIconView','bindTemplate','highlightText','ck-ai-chat-resources__item','501tkBNUz','417254rGSTJD','1383630DtYZyz','getResourceIcon','171894XIcUYe','_setupTemplate','trim'];_0x1026=function(){return _0x551311;};return _0x1026();}import{AIContextItemType as _0x38b44d}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x159058,IconCheck as _0x3f8512,IconDocument as _0xab1b32,IconDocumentOutline as _0x1f2089,IconLink as _0x285984}from'@ckeditor/ckeditor5-icons';const Rr=_0x16dbf3(0x1c1),Tr=_0x16dbf3(0x1a3),Ar=_0x16dbf3(0x1bc),Er=_0x16dbf3(0x1ab);export class AIChatResourceListItemView extends _0x1c8265{[_0x16dbf3(0x1b2)];[_0x16dbf3(0x1b3)];[_0x16dbf3(0x19e)];constructor(_0x13747d,_0x58bf06){const _0x52c26e=_0x16dbf3;super(_0x13747d),this[_0x52c26e(0x1b2)]=_0x58bf06,this[_0x52c26e(0x1a8)](_0x52c26e(0x1b4),!!_0x58bf06[_0x52c26e(0x1b4)]),this[_0x52c26e(0x1b3)]=this[_0x52c26e(0x1b5)](),this[_0x52c26e(0x19e)]=this[_0x52c26e(0x1be)](),this[_0x52c26e(0x19b)]();}[_0x16dbf3(0x1a9)](){const _0x329d7e=_0x16dbf3;super[_0x329d7e(0x1a9)]();}[_0x16dbf3(0x199)](_0x523a76){const _0x93ecb7=_0x16dbf3;if(_0x523a76[_0x93ecb7(0x1b4)])return _0x3f8512;switch(_0x523a76[_0x93ecb7(0x1a4)]){case _0x38b44d[_0x93ecb7(0x1b7)]:return _0xab1b32;case _0x38b44d[_0x93ecb7(0x1a6)]:return _0x285984;case _0x38b44d[_0x93ecb7(0x1ae)]:case _0x38b44d[_0x93ecb7(0x1ad)]:return _0x159058;default:return _0x1f2089;}}[_0x16dbf3(0x1c0)](_0x35b00f){const _0x22662e=_0x16dbf3;if(!_0x35b00f||''===_0x35b00f[_0x22662e(0x19c)]())return void this[_0x22662e(0x1b3)][_0x22662e(0x1c0)](null);const _0x234d0d=new RegExp(_0x24a264(_0x35b00f),'gi');this[_0x22662e(0x1b3)][_0x22662e(0x1c0)](_0x234d0d);}[_0x16dbf3(0x1bb)](_0x5f0af2){const _0x234b46=_0x16dbf3;this[_0x234b46(0x1b2)][_0x234b46(0x1b4)]=_0x5f0af2,this[_0x234b46(0x1b4)]=_0x5f0af2,this[_0x234b46(0x19f)]();}[_0x16dbf3(0x1b5)](){const _0x2a704e=_0x16dbf3,_0x2648cf=new _0x2680ed();return _0x2648cf[_0x2a704e(0x1aa)]=this[_0x2a704e(0x1b2)][_0x2a704e(0x1bd)],_0x2648cf[_0x2a704e(0x1a2)]({'tag':_0x2a704e(0x1a0),'attributes':{'class':[Ar]}}),_0x2648cf;}[_0x16dbf3(0x1be)](){const _0x56dd2c=_0x16dbf3,_0x5b0102=new _0x377670();return _0x5b0102[_0x56dd2c(0x1b1)]=this[_0x56dd2c(0x199)](this[_0x56dd2c(0x1b2)]),_0x5b0102;}[_0x16dbf3(0x19b)](){const _0x2b3e3f=_0x16dbf3,_0x5046cb=this[_0x2b3e3f(0x1bf)];this[_0x2b3e3f(0x1b6)]({'tag':_0x2b3e3f(0x1b9),'attributes':{'class':[Rr,_0x5046cb['if'](_0x2b3e3f(0x1a5),_0x2b3e3f(0x19d),_0x350765=>!_0x350765),_0x5046cb['if'](_0x2b3e3f(0x1b4),Tr)]},'children':[{'tag':_0x2b3e3f(0x1b9),'attributes':{'class':[Er]},'children':[this[_0x2b3e3f(0x19e)]]},this[_0x2b3e3f(0x1b3)]],'on':{'click':_0x5046cb['to'](_0x2b3e3f(0x1b8))}});}[_0x16dbf3(0x19f)](){const _0xcb259b=_0x16dbf3;this[_0xcb259b(0x19e)][_0xcb259b(0x1b1)]=this[_0xcb259b(0x199)](this[_0xcb259b(0x1b2)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x920647=_0x5945;(function(_0x170e23,_0x8b3c7b){const _0x2c03a3=_0x5945,_0x4beaa1=_0x170e23();while(!![]){try{const _0x1faf09=-parseInt(_0x2c03a3(0x136))/0x1+parseInt(_0x2c03a3(0x12e))/0x2*(parseInt(_0x2c03a3(0x157))/0x3)+-parseInt(_0x2c03a3(0x145))/0x4*(-parseInt(_0x2c03a3(0x14e))/0x5)+parseInt(_0x2c03a3(0x12a))/0x6+parseInt(_0x2c03a3(0x150))/0x7+-parseInt(_0x2c03a3(0x124))/0x8+-parseInt(_0x2c03a3(0x122))/0x9;if(_0x1faf09===_0x8b3c7b)break;else _0x4beaa1['push'](_0x4beaa1['shift']());}catch(_0x1ebf94){_0x4beaa1['push'](_0x4beaa1['shift']());}}}(_0x2e5e,0xaf128));function _0x2e5e(){const _0x32ac1a=['4fDeVju','_createBackButton','add','resource','_config','populateSourceResourceBalloon','updateResourceState','execute','get','5341495sWeAXJ','_setupSingleResourceBalloonClickOutsideHandler','7119168Gejkqe','showSourceResourcesBalloon','set','_locale','addResourceToContext','label','children','14757MltXru','pin','extendTemplate','getLimiterElement','1498869NSVHKt','source','6702160izqRry','onLoadSourceResources','getTargetElement','isAnyResourceBalloonVisible','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_getResourcesViewFromBalloon','3034284oWXpKM','values','hide','_createBalloonResourcesView','18AgbDMs','_createSourceResourceBalloonPanel','clear','content','_bodyCollection','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','show','destroy','913901NtHpvU','_sourceResourceBalloons','setResources','ck-ai-chat-context-controls__source-balloon-panel','onBalloonClosed','closeSourceResourceBalloon','onResourceSelected','_createBalloonHeader','onBackToContext','delete','element','_addSourceResourceContent','isVisible','ck-button-icon\x20ck-button-back','loadSourceResources'];_0x2e5e=function(){return _0x32ac1a;};return _0x2e5e();}import{BalloonPanelView as _0x775815,ButtonView as _0x4eedf8,clickOutsideHandler as _0x4ef66e,FormHeaderView as _0x13432d}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x3ef443}from'@ckeditor/ckeditor5-icons';function _0x5945(_0x4575c8,_0x2b8d10){const _0x2e5e87=_0x2e5e();return _0x5945=function(_0x594501,_0x301d6e){_0x594501=_0x594501-0x121;let _0x3f2b46=_0x2e5e87[_0x594501];return _0x3f2b46;},_0x5945(_0x4575c8,_0x2b8d10);}import{getTranslation as _0x31602c}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x23a452}from'./aichatresourcesview.js';const Or=_0x920647(0x139),Hr=_0x920647(0x143),Fr=_0x920647(0x128);export class AIChatResourcesBalloonView{[_0x920647(0x137)]=new Map();[_0x920647(0x132)];[_0x920647(0x153)];[_0x920647(0x149)];constructor(_0x703f8e,_0x12b608,_0x28eb14){const _0x3ffc51=_0x920647;this[_0x3ffc51(0x153)]=_0x703f8e,this[_0x3ffc51(0x132)]=_0x12b608,this[_0x3ffc51(0x149)]=_0x28eb14;}[_0x920647(0x151)](_0xa82fdc){const _0x5440cf=_0x920647;let _0x143efe=this[_0x5440cf(0x137)][_0x5440cf(0x14d)](_0xa82fdc['id']);_0x143efe||(_0x143efe=this[_0x5440cf(0x12f)](),this[_0x5440cf(0x137)][_0x5440cf(0x152)](_0xa82fdc['id'],_0x143efe),this[_0x5440cf(0x14f)](_0x143efe)),this[_0x5440cf(0x141)](_0x143efe,_0xa82fdc),_0x143efe[_0x5440cf(0x134)]();const _0x26ea48=this[_0x5440cf(0x149)][_0x5440cf(0x126)]();_0x26ea48&&_0x143efe[_0x5440cf(0x158)]({'target':_0x26ea48,'limiter':this[_0x5440cf(0x149)][_0x5440cf(0x121)]()});}[_0x920647(0x14a)](_0x4431ff,_0x7cdbf8,_0x377f10){const _0x3a3114=_0x920647,_0x52a7d1=this[_0x3a3114(0x137)][_0x3a3114(0x14d)](_0x4431ff);if(!_0x52a7d1)return;const _0x5202dc=this[_0x3a3114(0x129)](_0x52a7d1);_0x5202dc&&_0x5202dc[_0x3a3114(0x138)](_0x7cdbf8,_0x377f10);}[_0x920647(0x13b)](_0x37c470){const _0x164b42=_0x920647,_0x3738b3=this[_0x164b42(0x137)][_0x164b42(0x14d)](_0x37c470);_0x3738b3&&requestAnimationFrame(()=>{const _0x2bc641=_0x164b42;_0x3738b3[_0x2bc641(0x12c)](),this[_0x2bc641(0x137)][_0x2bc641(0x13f)](_0x37c470),this[_0x2bc641(0x149)][_0x2bc641(0x13a)]();});}[_0x920647(0x127)](){const _0x2d6073=_0x920647;for(const _0x1b601f of this[_0x2d6073(0x137)][_0x2d6073(0x12b)]())if(_0x1b601f[_0x2d6073(0x142)])return!0x0;return!0x1;}[_0x920647(0x14b)](_0x5a08de,_0x2ec5f,_0x2dfa8f){const _0x2921e2=_0x920647,_0x3dec7d=this[_0x2921e2(0x137)][_0x2921e2(0x14d)](_0x5a08de);if(!_0x3dec7d||!_0x3dec7d[_0x2921e2(0x142)])return;const _0x45c343=this[_0x2921e2(0x149)][_0x2921e2(0x126)]();if(!_0x45c343)return;_0x3dec7d[_0x2921e2(0x158)]({'target':_0x45c343,'limiter':this[_0x2921e2(0x149)][_0x2921e2(0x121)]()});const _0x1b170b=this[_0x2921e2(0x129)](_0x3dec7d);_0x1b170b&&_0x1b170b[_0x2921e2(0x14b)](_0x2ec5f,_0x2dfa8f);}[_0x920647(0x135)](){const _0x2f6841=_0x920647;for(const _0x2dce3f of this[_0x2f6841(0x137)][_0x2f6841(0x12b)]())_0x2dce3f[_0x2f6841(0x135)]();this[_0x2f6841(0x137)][_0x2f6841(0x130)]();}[_0x920647(0x12f)](){const _0x2d732c=_0x920647,_0x4a1fe1=new _0x775815(this[_0x2d732c(0x153)]);return _0x4a1fe1[_0x2d732c(0x159)]({'attributes':{'class':Or}}),this[_0x2d732c(0x132)][_0x2d732c(0x147)](_0x4a1fe1),_0x4a1fe1;}[_0x920647(0x141)](_0x6aa8ae,_0x192cf3){const _0x6f8b44=_0x920647;_0x6aa8ae[_0x6f8b44(0x131)][_0x6f8b44(0x130)]();const _0x5a2d36=this[_0x6f8b44(0x13d)](_0x6aa8ae,_0x192cf3);_0x6aa8ae[_0x6f8b44(0x131)][_0x6f8b44(0x147)](_0x5a2d36);const _0x4d1988=this[_0x6f8b44(0x12d)](_0x192cf3);_0x6aa8ae[_0x6f8b44(0x131)][_0x6f8b44(0x147)](_0x4d1988);}[_0x920647(0x13d)](_0x313e56,_0x48935f){const _0xf0372=_0x920647,_0x5c7a40=this[_0xf0372(0x146)](_0x313e56),_0x432095=new _0x13432d(this[_0xf0372(0x153)],{'label':_0x48935f[_0xf0372(0x155)],'class':Fr});return _0x432095[_0xf0372(0x156)][_0xf0372(0x147)](_0x5c7a40,0x0),_0x432095;}[_0x920647(0x146)](_0x1b236e){const _0x1739d1=_0x920647,_0x4d3187=new _0x4eedf8(this[_0x1739d1(0x153)]);return _0x4d3187[_0x1739d1(0x152)]({'icon':_0x3ef443,'tooltip':_0x31602c(this[_0x1739d1(0x153)],_0x1739d1(0x133)),'tooltipPosition':'n','class':Hr}),_0x4d3187['on'](_0x1739d1(0x14c),()=>{const _0x13094e=_0x1739d1;_0x1b236e[_0x13094e(0x12c)](),this[_0x13094e(0x149)][_0x13094e(0x13e)]();}),_0x4d3187;}[_0x920647(0x12d)](_0x375cdf){const _0x2db1a1=_0x920647,_0x2f652f=new _0x23a452(this[_0x2db1a1(0x153)],_0x375cdf);return _0x2f652f['on'](_0x2db1a1(0x144),(_0x3b85dc,_0x1b1a2c)=>{const _0xf64eb6=_0x2db1a1;this[_0xf64eb6(0x149)][_0xf64eb6(0x125)](_0x1b1a2c);}),_0x2f652f['on'](_0x2db1a1(0x154),(_0x42de38,_0x279d8f)=>{const _0x45a966=_0x2db1a1;this[_0x45a966(0x149)][_0x45a966(0x13c)](_0x279d8f[_0x45a966(0x123)],_0x279d8f[_0x45a966(0x148)]),this[_0x45a966(0x13b)](_0x375cdf['id']);}),_0x2f652f;}[_0x920647(0x129)](_0x1659f0){const _0x3a3047=_0x920647,_0x13ebce=_0x1659f0[_0x3a3047(0x131)][_0x3a3047(0x14d)](0x1);return _0x13ebce instanceof _0x23a452?_0x13ebce:null;}[_0x920647(0x14f)](_0x5361ca){const _0x2e0b9c=_0x920647;_0x4ef66e({'emitter':_0x5361ca,'contextElements':[_0x5361ca[_0x2e0b9c(0x140)]],'callback':()=>{const _0x94d33c=_0x2e0b9c;_0x5361ca[_0x94d33c(0x12c)](),this[_0x94d33c(0x149)][_0x94d33c(0x13a)]();},'activator':()=>_0x5361ca[_0x2e0b9c(0x142)]});}}
23
+ const _0xee422b=_0x55f3;(function(_0x477c93,_0xaf5ea1){const _0x2a53b7=_0x55f3,_0x4d80b9=_0x477c93();while(!![]){try{const _0x69ecd4=parseInt(_0x2a53b7(0x137))/0x1*(parseInt(_0x2a53b7(0x131))/0x2)+parseInt(_0x2a53b7(0x125))/0x3*(parseInt(_0x2a53b7(0x110))/0x4)+parseInt(_0x2a53b7(0x123))/0x5+parseInt(_0x2a53b7(0x143))/0x6+parseInt(_0x2a53b7(0x13c))/0x7*(-parseInt(_0x2a53b7(0x136))/0x8)+-parseInt(_0x2a53b7(0x10f))/0x9*(-parseInt(_0x2a53b7(0x12a))/0xa)+parseInt(_0x2a53b7(0x148))/0xb*(-parseInt(_0x2a53b7(0x129))/0xc);if(_0x69ecd4===_0xaf5ea1)break;else _0x4d80b9['push'](_0x4d80b9['shift']());}catch(_0x501ec6){_0x4d80b9['push'](_0x4d80b9['shift']());}}}(_0x13fc,0x59583));import{BalloonPanelView as _0x4171b9,ButtonView as _0x3731aa,clickOutsideHandler as _0x33870e,FormHeaderView as _0x5095c8}from'ckeditor5/src/ui.js';function _0x13fc(){const _0x1a04f0=['delete','clear','pin','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','444922aYQKRq','_setupSingleResourceBalloonClickOutsideHandler','content','ck-button-icon\x20ck-button-back','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','2856DWKaEC','2coHpPx','resource','set','ck-ai-chat-context-controls__source-balloon-panel','get','3157sVzEAj','getTargetElement','_createBalloonHeader','showSourceResourcesBalloon','element','_config','destroy','3430410HzKnCg','values','onLoadSourceResources','execute','_locale','3577409sFlRvc','closeSourceResourceBalloon','children','2637eIZyXp','32winFTK','source','getLimiterElement','populateSourceResourceBalloon','_sourceResourceBalloons','onBalloonClosed','_createSourceResourceBalloonPanel','_createBalloonResourcesView','updateResourceState','loadSourceResources','onBackToContext','setResources','_addSourceResourceContent','isVisible','onResourceSelected','_getResourcesViewFromBalloon','extendTemplate','show','label','2885840bXwFij','add','131367rnJamR','hide','_bodyCollection','isAnyResourceBalloonVisible','72DnCEuZ','18230sZnjhp','_createBackButton','addResourceToContext'];_0x13fc=function(){return _0x1a04f0;};return _0x13fc();}function _0x55f3(_0x3ffe90,_0x43eb02){const _0x13fc01=_0x13fc();return _0x55f3=function(_0x55f3a6,_0x34a822){_0x55f3a6=_0x55f3a6-0x10e;let _0x48aea8=_0x13fc01[_0x55f3a6];return _0x48aea8;},_0x55f3(_0x3ffe90,_0x43eb02);}import{IconPreviousArrow as _0x531ccc}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2c1179}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x501d5c}from'./aichatresourcesview.js';const Or=_0xee422b(0x13a),Hr=_0xee422b(0x134),Fr=_0xee422b(0x135);export class AIChatResourcesBalloonView{[_0xee422b(0x114)]=new Map();[_0xee422b(0x127)];[_0xee422b(0x147)];[_0xee422b(0x141)];constructor(_0x48ad1a,_0x3cfa82,_0x40347d){const _0x1a47e3=_0xee422b;this[_0x1a47e3(0x147)]=_0x48ad1a,this[_0x1a47e3(0x127)]=_0x3cfa82,this[_0x1a47e3(0x141)]=_0x40347d;}[_0xee422b(0x13f)](_0x2ba663){const _0x280d9f=_0xee422b;let _0x29604d=this[_0x280d9f(0x114)][_0x280d9f(0x13b)](_0x2ba663['id']);_0x29604d||(_0x29604d=this[_0x280d9f(0x116)](),this[_0x280d9f(0x114)][_0x280d9f(0x139)](_0x2ba663['id'],_0x29604d),this[_0x280d9f(0x132)](_0x29604d)),this[_0x280d9f(0x11c)](_0x29604d,_0x2ba663),_0x29604d[_0x280d9f(0x121)]();const _0x55a511=this[_0x280d9f(0x141)][_0x280d9f(0x13d)]();_0x55a511&&_0x29604d[_0x280d9f(0x12f)]({'target':_0x55a511,'limiter':this[_0x280d9f(0x141)][_0x280d9f(0x112)]()});}[_0xee422b(0x113)](_0x4b4268,_0x5a7675,_0x2b5d64){const _0x3554e5=_0xee422b,_0x1fc274=this[_0x3554e5(0x114)][_0x3554e5(0x13b)](_0x4b4268);if(!_0x1fc274)return;const _0x355834=this[_0x3554e5(0x11f)](_0x1fc274);_0x355834&&_0x355834[_0x3554e5(0x11b)](_0x5a7675,_0x2b5d64);}[_0xee422b(0x149)](_0x18daa5){const _0x51ce5d=_0xee422b,_0x1c4a57=this[_0x51ce5d(0x114)][_0x51ce5d(0x13b)](_0x18daa5);_0x1c4a57&&requestAnimationFrame(()=>{const _0x30d347=_0x51ce5d;_0x1c4a57[_0x30d347(0x126)](),this[_0x30d347(0x114)][_0x30d347(0x12d)](_0x18daa5),this[_0x30d347(0x141)][_0x30d347(0x115)]();});}[_0xee422b(0x128)](){const _0x219f38=_0xee422b;for(const _0x179c13 of this[_0x219f38(0x114)][_0x219f38(0x144)]())if(_0x179c13[_0x219f38(0x11d)])return!0x0;return!0x1;}[_0xee422b(0x118)](_0x4f994a,_0x5f2c9a,_0x19d622){const _0x998f33=_0xee422b,_0x492666=this[_0x998f33(0x114)][_0x998f33(0x13b)](_0x4f994a);if(!_0x492666||!_0x492666[_0x998f33(0x11d)])return;const _0x14207f=this[_0x998f33(0x141)][_0x998f33(0x13d)]();if(!_0x14207f)return;_0x492666[_0x998f33(0x12f)]({'target':_0x14207f,'limiter':this[_0x998f33(0x141)][_0x998f33(0x112)]()});const _0x4399c8=this[_0x998f33(0x11f)](_0x492666);_0x4399c8&&_0x4399c8[_0x998f33(0x118)](_0x5f2c9a,_0x19d622);}[_0xee422b(0x142)](){const _0x404161=_0xee422b;for(const _0x19e341 of this[_0x404161(0x114)][_0x404161(0x144)]())_0x19e341[_0x404161(0x142)]();this[_0x404161(0x114)][_0x404161(0x12e)]();}[_0xee422b(0x116)](){const _0x291880=_0xee422b,_0x5d874b=new _0x4171b9(this[_0x291880(0x147)]);return _0x5d874b[_0x291880(0x120)]({'attributes':{'class':Or}}),this[_0x291880(0x127)][_0x291880(0x124)](_0x5d874b),_0x5d874b;}[_0xee422b(0x11c)](_0x37dedf,_0x34411a){const _0x24e1b8=_0xee422b;_0x37dedf[_0x24e1b8(0x133)][_0x24e1b8(0x12e)]();const _0x11cb3d=this[_0x24e1b8(0x13e)](_0x37dedf,_0x34411a);_0x37dedf[_0x24e1b8(0x133)][_0x24e1b8(0x124)](_0x11cb3d);const _0x45740e=this[_0x24e1b8(0x117)](_0x34411a);_0x37dedf[_0x24e1b8(0x133)][_0x24e1b8(0x124)](_0x45740e);}[_0xee422b(0x13e)](_0x2afbad,_0x183be7){const _0x47a22c=_0xee422b,_0x33e20e=this[_0x47a22c(0x12b)](_0x2afbad),_0x51dcfb=new _0x5095c8(this[_0x47a22c(0x147)],{'label':_0x183be7[_0x47a22c(0x122)],'class':Fr});return _0x51dcfb[_0x47a22c(0x10e)][_0x47a22c(0x124)](_0x33e20e,0x0),_0x51dcfb;}[_0xee422b(0x12b)](_0x34f296){const _0x3a9bfd=_0xee422b,_0x409a8f=new _0x3731aa(this[_0x3a9bfd(0x147)]);return _0x409a8f[_0x3a9bfd(0x139)]({'icon':_0x531ccc,'tooltip':_0x2c1179(this[_0x3a9bfd(0x147)],_0x3a9bfd(0x130)),'tooltipPosition':'n','class':Hr}),_0x409a8f['on'](_0x3a9bfd(0x146),()=>{const _0x223b45=_0x3a9bfd;_0x34f296[_0x223b45(0x126)](),this[_0x223b45(0x141)][_0x223b45(0x11a)]();}),_0x409a8f;}[_0xee422b(0x117)](_0x5652c0){const _0x1ae005=_0xee422b,_0x1867f8=new _0x501d5c(this[_0x1ae005(0x147)],_0x5652c0);return _0x1867f8['on'](_0x1ae005(0x119),(_0x431997,_0x3e86f7)=>{const _0x47346a=_0x1ae005;this[_0x47346a(0x141)][_0x47346a(0x145)](_0x3e86f7);}),_0x1867f8['on'](_0x1ae005(0x12c),(_0x349c02,_0x37afd2)=>{const _0x1b0904=_0x1ae005;this[_0x1b0904(0x141)][_0x1b0904(0x11e)](_0x37afd2[_0x1b0904(0x111)],_0x37afd2[_0x1b0904(0x138)]),this[_0x1b0904(0x149)](_0x5652c0['id']);}),_0x1867f8;}[_0xee422b(0x11f)](_0x3186a0){const _0xb54e21=_0xee422b,_0xe3ef26=_0x3186a0[_0xb54e21(0x133)][_0xb54e21(0x13b)](0x1);return _0xe3ef26 instanceof _0x501d5c?_0xe3ef26:null;}[_0xee422b(0x132)](_0x3d81b5){const _0x2cf5de=_0xee422b;_0x33870e({'emitter':_0x3d81b5,'contextElements':[_0x3d81b5[_0x2cf5de(0x140)]],'callback':()=>{const _0x1d0578=_0x2cf5de;_0x3d81b5[_0x1d0578(0x126)](),this[_0x1d0578(0x141)][_0x1d0578(0x115)]();},'activator':()=>_0x3d81b5[_0x2cf5de(0x11d)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d4a3b=_0xed7b;(function(_0x22d45e,_0x5e114a){const _0x10b1ea=_0xed7b,_0x493263=_0x22d45e();while(!![]){try{const _0x57fd08=parseInt(_0x10b1ea(0x175))/0x1+parseInt(_0x10b1ea(0x16f))/0x2+parseInt(_0x10b1ea(0x167))/0x3*(-parseInt(_0x10b1ea(0x16d))/0x4)+-parseInt(_0x10b1ea(0x15a))/0x5+-parseInt(_0x10b1ea(0x174))/0x6+-parseInt(_0x10b1ea(0x15f))/0x7*(parseInt(_0x10b1ea(0x166))/0x8)+-parseInt(_0x10b1ea(0x16c))/0x9*(-parseInt(_0x10b1ea(0x158))/0xa);if(_0x57fd08===_0x5e114a)break;else _0x493263['push'](_0x493263['shift']());}catch(_0x51ce59){_0x493263['push'](_0x493263['shift']());}}}(_0x3569,0xa92f3));import{ListView as _0x24b3a8}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x34da0b}from'./aichatresourcelistitemview.js';function _0x3569(){const _0x5f1d5d=['4259170gwcbvl','locale','forEach','clear','add','7KqRONi','trim','updateResourceState','useDefaultFiltering','test','_handleResourceSelection','extendTemplate','1510800Hleykk','9RQHVlf','_source','\x5c$&','items','filter','7013295TxhfMU','909628AwiUyG','highlightText','1899056fNvVMx','resource','fire','setResources','ck-ai-chat-resources__list','3438546lWeqek','1260192YngkHI','addResourceToContext','label','execute','10BkKJoI','replace'];_0x3569=function(){return _0x5f1d5d;};return _0x3569();}const sc=_0x1d4a3b(0x173);function _0xed7b(_0xa2dc53,_0x1b352f){const _0x3569c9=_0x3569();return _0xed7b=function(_0xed7be,_0x7db79d){_0xed7be=_0xed7be-0x156;let _0x1c942f=_0x3569c9[_0xed7be];return _0x1c942f;},_0xed7b(_0xa2dc53,_0x1b352f);}export class AIChatContextResourcesListView extends _0x24b3a8{[_0x1d4a3b(0x168)];constructor(_0x1a0e51,_0x2ce189){const _0x6d86aa=_0x1d4a3b;super(_0x1a0e51),this[_0x6d86aa(0x168)]=_0x2ce189,this[_0x6d86aa(0x165)]({'attributes':{'class':[sc]}});}[_0x1d4a3b(0x172)](_0x2f184b,_0x56a599){const _0x191c3f=_0x1d4a3b;this[_0x191c3f(0x16a)][_0x191c3f(0x15d)]();let _0xd5195f=_0x2f184b;if(this[_0x191c3f(0x168)][_0x191c3f(0x162)]&&_0x56a599&&''!==_0x56a599[_0x191c3f(0x160)]()){const _0x149d5d=new RegExp(_0x56a599[_0x191c3f(0x159)](/[.*+?^${}()|[\]\\]/g,_0x191c3f(0x169)),'gi');_0xd5195f=_0x2f184b[_0x191c3f(0x16b)](_0x5e1ef6=>_0x149d5d[_0x191c3f(0x163)](_0x5e1ef6[_0x191c3f(0x156)]));}for(const _0x459590 of _0xd5195f){const _0x1847e0=new _0x34da0b(this[_0x191c3f(0x15b)],_0x459590);_0x1847e0['on'](_0x191c3f(0x157),()=>{const _0x26df0d=_0x191c3f;this[_0x26df0d(0x164)](this[_0x26df0d(0x168)],_0x459590);}),this[_0x191c3f(0x16a)][_0x191c3f(0x15e)](_0x1847e0);}this[_0x191c3f(0x168)][_0x191c3f(0x162)]&&this[_0x191c3f(0x16e)](_0x56a599);}[_0x1d4a3b(0x16e)](_0x4c3882){const _0x4bcc15=_0x1d4a3b;this[_0x4bcc15(0x168)][_0x4bcc15(0x162)]&&this[_0x4bcc15(0x16a)][_0x4bcc15(0x15c)](_0x5699d5=>{const _0x618e6b=_0x4bcc15;_0x5699d5[_0x618e6b(0x16e)](_0x4c3882);});}[_0x1d4a3b(0x161)](_0x198f02,_0x17e6f9){const _0x39438a=_0x1d4a3b;for(const _0x5657bf of this[_0x39438a(0x16a)]){const _0x903bc5=_0x5657bf;_0x903bc5[_0x39438a(0x170)]['id']===_0x198f02&&_0x903bc5[_0x39438a(0x161)](_0x17e6f9);}}[_0x1d4a3b(0x164)](_0x56c312,_0x50bd3a){const _0x56f377=_0x1d4a3b;this[_0x56f377(0x171)](_0x56f377(0x176),{'source':_0x56c312,'resource':_0x50bd3a});}}
23
+ const _0x20c90f=_0x4f8c;(function(_0xda969d,_0xed7fb7){const _0x4da83c=_0x4f8c,_0x2e7cd8=_0xda969d();while(!![]){try{const _0x7ff140=parseInt(_0x4da83c(0x16c))/0x1+parseInt(_0x4da83c(0x167))/0x2*(-parseInt(_0x4da83c(0x163))/0x3)+-parseInt(_0x4da83c(0x15e))/0x4+-parseInt(_0x4da83c(0x15b))/0x5*(parseInt(_0x4da83c(0x164))/0x6)+parseInt(_0x4da83c(0x166))/0x7+-parseInt(_0x4da83c(0x16d))/0x8*(parseInt(_0x4da83c(0x15c))/0x9)+parseInt(_0x4da83c(0x165))/0xa;if(_0x7ff140===_0xed7fb7)break;else _0x2e7cd8['push'](_0x2e7cd8['shift']());}catch(_0x360a2f){_0x2e7cd8['push'](_0x2e7cd8['shift']());}}}(_0x727a,0x4f82b));function _0x4f8c(_0x545c95,_0x501fd1){const _0x727a4a=_0x727a();return _0x4f8c=function(_0x4f8c3b,_0x58d7ce){_0x4f8c3b=_0x4f8c3b-0x158;let _0x1b0197=_0x727a4a[_0x4f8c3b];return _0x1b0197;},_0x4f8c(_0x545c95,_0x501fd1);}import{ListView as _0x1f27dd}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x36a3b6}from'./aichatresourcelistitemview.js';const sc=_0x20c90f(0x158);export class AIChatContextResourcesListView extends _0x1f27dd{[_0x20c90f(0x178)];constructor(_0x2ac345,_0x8854d3){const _0x185db2=_0x20c90f;super(_0x2ac345),this[_0x185db2(0x178)]=_0x8854d3,this[_0x185db2(0x175)]({'attributes':{'class':[sc]}});}[_0x20c90f(0x170)](_0x268425,_0x44af8e){const _0x1dcf23=_0x20c90f;this[_0x1dcf23(0x159)][_0x1dcf23(0x162)]();let _0x5ab71b=_0x268425;if(this[_0x1dcf23(0x178)][_0x1dcf23(0x176)]&&_0x44af8e&&''!==_0x44af8e[_0x1dcf23(0x174)]()){const _0x3a54eb=new RegExp(_0x44af8e[_0x1dcf23(0x173)](/[.*+?^${}()|[\]\\]/g,_0x1dcf23(0x16a)),'gi');_0x5ab71b=_0x268425[_0x1dcf23(0x15f)](_0x6485f0=>_0x3a54eb[_0x1dcf23(0x171)](_0x6485f0[_0x1dcf23(0x161)]));}for(const _0x18fe76 of _0x5ab71b){const _0x2c0107=new _0x36a3b6(this[_0x1dcf23(0x169)],_0x18fe76);_0x2c0107['on'](_0x1dcf23(0x160),()=>{const _0x5925f2=_0x1dcf23;this[_0x5925f2(0x16b)](this[_0x5925f2(0x178)],_0x18fe76);}),this[_0x1dcf23(0x159)][_0x1dcf23(0x16f)](_0x2c0107);}this[_0x1dcf23(0x178)][_0x1dcf23(0x176)]&&this[_0x1dcf23(0x168)](_0x44af8e);}[_0x20c90f(0x168)](_0x1dadfd){const _0x507a87=_0x20c90f;this[_0x507a87(0x178)][_0x507a87(0x176)]&&this[_0x507a87(0x159)][_0x507a87(0x177)](_0x3ba7c7=>{const _0xc8d06=_0x507a87;_0x3ba7c7[_0xc8d06(0x168)](_0x1dadfd);});}[_0x20c90f(0x172)](_0x1c48b2,_0x215501){const _0x776a2b=_0x20c90f;for(const _0x314ca4 of this[_0x776a2b(0x159)]){const _0xa1d606=_0x314ca4;_0xa1d606[_0x776a2b(0x16e)]['id']===_0x1c48b2&&_0xa1d606[_0x776a2b(0x172)](_0x215501);}}[_0x20c90f(0x16b)](_0x192938,_0x2ea504){const _0x253cae=_0x20c90f;this[_0x253cae(0x15d)](_0x253cae(0x15a),{'source':_0x192938,'resource':_0x2ea504});}}function _0x727a(){const _0x3848df=['18YKqvQE','fire','2593084teYUiN','filter','execute','label','clear','6MhMwmn','156672CaZBmK','20158800hgsXOZ','809662sKEZxM','616570fEqEgJ','highlightText','locale','\x5c$&','_handleResourceSelection','296580buyYtY','1052584awvJxf','resource','add','setResources','test','updateResourceState','replace','trim','extendTemplate','useDefaultFiltering','forEach','_source','ck-ai-chat-resources__list','items','addResourceToContext','110xEtEkD'];_0x727a=function(){return _0x3848df;};return _0x727a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3c3833,IconView as _0x283ae5,LabeledFieldView as _0x64018a,createLabeledInputText as _0x3256ec}from'ckeditor5/src/ui.js';import{IconLoupe as _0x319de6,IconCancel as _0xd05c94}from'ckeditor5/src/icons.js';import{getTranslation as _0x40a128}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x64018a{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0xc53a03){const t=_0xc53a03['t'],_0x5909f3={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x3256ec,'label':_0x40a128(_0xc53a03,'AI_CHAT_SEARCH_RESOURCES')};super(_0xc53a03,_0x5909f3['creator']),this['label']=_0x5909f3['label'],this['_viewConfig']=_0x5909f3,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0xc53a03,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x4ab01b){this['fire']('search',_0x4ab01b);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x283ae5(),this['iconView']['content']=_0x319de6,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x3a6d4f,t){this['resetButtonView']=new _0x3c3833(_0x3a6d4f),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0xd05c94,'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',_0x3f9766=>!_0x3f9766),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 _0x18513c,IconView as _0x34b3f7,LabeledFieldView as th,createLabeledInputText as _0x4b1424}from'ckeditor5/src/ui.js';import{IconLoupe as _0x82b206,IconCancel as _0x5ce12f}from'ckeditor5/src/icons.js';import{getTranslation as _0x3c73fd}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends th{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x73f847){const t=_0x73f847['t'],_0x5766f2={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x4b1424,'label':_0x3c73fd(_0x73f847,'AI_CHAT_SEARCH_RESOURCES')};super(_0x73f847,_0x5766f2['creator']),this['label']=_0x5766f2['label'],this['_viewConfig']=_0x5766f2,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x73f847,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x5e383b){this['fire']('search',_0x5e383b);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x34b3f7(),this['iconView']['content']=_0x82b206,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x15ff7f,t){this['resetButtonView']=new _0x18513c(_0x15ff7f),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x5ce12f,'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',_0x3b92b4=>!_0x3b92b4),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 _0x19ad07=_0xcde3;(function(_0x294d69,_0x241dd2){const _0x4b5bc7=_0xcde3,_0x2e640d=_0x294d69();while(!![]){try{const _0x41d058=parseInt(_0x4b5bc7(0x8b))/0x1+-parseInt(_0x4b5bc7(0x8f))/0x2+parseInt(_0x4b5bc7(0x89))/0x3*(-parseInt(_0x4b5bc7(0x98))/0x4)+-parseInt(_0x4b5bc7(0x96))/0x5*(parseInt(_0x4b5bc7(0x7b))/0x6)+parseInt(_0x4b5bc7(0x92))/0x7*(-parseInt(_0x4b5bc7(0x86))/0x8)+parseInt(_0x4b5bc7(0x9b))/0x9*(-parseInt(_0x4b5bc7(0x81))/0xa)+-parseInt(_0x4b5bc7(0x90))/0xb*(-parseInt(_0x4b5bc7(0x84))/0xc);if(_0x41d058===_0x241dd2)break;else _0x2e640d['push'](_0x2e640d['shift']());}catch(_0x380ac6){_0x2e640d['push'](_0x2e640d['shift']());}}}(_0x73a1,0xd77cd));import{View as _0x350989,ViewCollection as _0x5ec1ac}from'ckeditor5/src/ui.js';import{uid as _0x183448}from'ckeditor5/src/utils.js';function _0x73a1(){const _0x5153b3=['delegate','setResources','_searchView','children','228YyvGEv','highlightText','extendTemplate','loadSourceResources','_createSearchSection','loadResources','15190dHREEu','ck\x20ck-search','_source','1332OpurAv','setTemplate','2945872pQHfus','useDefaultFiltering','div','30897ogUvlu','_skeletonLoader','1747353SZOYki','locale','_createResourcesListView','_latestLoadResourcesUid','3251108IlqTgy','364111CjATuK','render','7TVgNYi','ck-hidden','_resourcesListView','_createSkeletonView','110815BqGTTy','_createSearchView','544dauyWa','bindTemplate','set','1791XWwhxb','updateResourceState','isLoading','fire','getQuery','addResourceToContext','aiChatResources','search','ck-ai-chat-resources'];_0x73a1=function(){return _0x5153b3;};return _0x73a1();}function _0xcde3(_0xb7f163,_0x58f70b){const _0x73a1a9=_0x73a1();return _0xcde3=function(_0xcde398,_0x361e51){_0xcde398=_0xcde398-0x7a;let _0x2384d9=_0x73a1a9[_0xcde398];return _0x2384d9;},_0xcde3(_0xb7f163,_0x58f70b);}import{AIChatContextResourcesListView as _0x3e30c5}from'./aichatresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x555b0f}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x4b4ec8,SKELETON_DEFINITIONS as _0x23b4ad}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x350989{[_0x19ad07(0xa6)];[_0x19ad07(0x94)];[_0x19ad07(0x8a)];[_0x19ad07(0x83)];[_0x19ad07(0x7a)];[_0x19ad07(0x8e)]=null;constructor(_0x4ac293,_0x2651f7){const _0x41d111=_0x19ad07;super(_0x4ac293),this[_0x41d111(0x83)]=_0x2651f7,this[_0x41d111(0x9a)](_0x41d111(0x9d),!0x0),this[_0x41d111(0xa6)]=this[_0x41d111(0x97)]();const _0x1c3aad=this[_0x41d111(0x7f)]();this[_0x41d111(0x94)]=this[_0x41d111(0x8d)](),this[_0x41d111(0x8a)]=this[_0x41d111(0x95)](),this[_0x41d111(0x7a)]=new _0x5ec1ac([_0x1c3aad,this[_0x41d111(0x8a)],this[_0x41d111(0x94)]]),this[_0x41d111(0x85)]({'tag':_0x41d111(0x88),'attributes':{'class':_0x41d111(0xa3)},'children':this[_0x41d111(0x7a)]});}[_0x19ad07(0x97)](){const _0x2c89b3=_0x19ad07;return new _0x555b0f(this[_0x2c89b3(0x8c)]);}[_0x19ad07(0x7f)](){const _0x105cbf=_0x19ad07,_0x3ac13c=new _0x350989(this[_0x105cbf(0x8c)]);return _0x3ac13c[_0x105cbf(0x85)]({'tag':_0x105cbf(0x88),'attributes':{'class':_0x105cbf(0x82)},'children':[this[_0x105cbf(0xa6)]]}),this[_0x105cbf(0xa6)]['on'](_0x105cbf(0xa2),(_0x5966cc,_0x19057f)=>{const _0x403992=_0x105cbf;this[_0x403992(0x80)](_0x19057f),this[_0x403992(0x83)][_0x403992(0x87)]&&this[_0x403992(0x94)][_0x403992(0x7c)](_0x19057f);}),_0x3ac13c;}[_0x19ad07(0x8d)](){const _0x383216=_0x19ad07,_0x28012a=new _0x3e30c5(this[_0x383216(0x8c)],this[_0x383216(0x83)]);return _0x28012a[_0x383216(0xa4)](_0x383216(0xa0))['to'](this),_0x28012a[_0x383216(0x7d)]({'attributes':{'class':this[_0x383216(0x99)]['if'](_0x383216(0x9d),_0x383216(0x93))}}),_0x28012a;}[_0x19ad07(0x95)](){const _0x1f3bfe=_0x19ad07,_0x5efe16=new _0x4b4ec8(this[_0x1f3bfe(0x8c)],_0x23b4ad[_0x1f3bfe(0xa1)]);return _0x5efe16[_0x1f3bfe(0x7d)]({'attributes':{'class':[this[_0x1f3bfe(0x99)]['if'](_0x1f3bfe(0x9d),_0x1f3bfe(0x93),_0x83256e=>!_0x83256e)]}}),_0x5efe16;}[_0x19ad07(0x91)](){const _0x119fd7=_0x19ad07;super[_0x119fd7(0x91)](),this[_0x119fd7(0x80)]('');}[_0x19ad07(0x80)](_0x12c9cb){const _0x31bdb0=_0x19ad07,_0x1beadf=_0x183448();this[_0x31bdb0(0x8e)]=_0x1beadf,this[_0x31bdb0(0x9e)](_0x31bdb0(0x7e),{'sourceId':this[_0x31bdb0(0x83)]['id'],'query':_0x12c9cb,'uid':_0x1beadf}),this[_0x31bdb0(0x9d)]=!0x0;}[_0x19ad07(0xa5)](_0x4ce962,_0x1ab2db){const _0x57a2ef=_0x19ad07;if(_0x1ab2db&&_0x1ab2db!==this[_0x57a2ef(0x8e)])return;const _0x568b00=this[_0x57a2ef(0x83)][_0x57a2ef(0x87)]?this[_0x57a2ef(0xa6)][_0x57a2ef(0x9f)]():'';this[_0x57a2ef(0x94)][_0x57a2ef(0xa5)](_0x4ce962,_0x568b00),requestAnimationFrame(()=>{const _0x2f31ee=_0x57a2ef;this[_0x2f31ee(0x9d)]=!0x1;});}[_0x19ad07(0x9c)](_0x45c79a,_0x530c13){const _0x388c6e=_0x19ad07;this[_0x388c6e(0x94)][_0x388c6e(0x9c)](_0x45c79a,_0x530c13);}}
23
+ const _0x3e6400=_0x5776;(function(_0xe85b88,_0x3f4a0d){const _0x3f5968=_0x5776,_0x530ba9=_0xe85b88();while(!![]){try{const _0x22a7ed=parseInt(_0x3f5968(0x1d7))/0x1*(parseInt(_0x3f5968(0x1f9))/0x2)+parseInt(_0x3f5968(0x1f0))/0x3*(-parseInt(_0x3f5968(0x1f8))/0x4)+-parseInt(_0x3f5968(0x1d6))/0x5*(-parseInt(_0x3f5968(0x1f7))/0x6)+parseInt(_0x3f5968(0x1dd))/0x7*(-parseInt(_0x3f5968(0x1fd))/0x8)+-parseInt(_0x3f5968(0x1fb))/0x9+-parseInt(_0x3f5968(0x1ee))/0xa+parseInt(_0x3f5968(0x1e1))/0xb*(parseInt(_0x3f5968(0x1f3))/0xc);if(_0x22a7ed===_0x3f4a0d)break;else _0x530ba9['push'](_0x530ba9['shift']());}catch(_0x3c8015){_0x530ba9['push'](_0x530ba9['shift']());}}}(_0x1555,0x93fdf));import{View as _0xaeb554,ViewCollection as _0x1c3789}from'ckeditor5/src/ui.js';function _0x1555(){const _0x1f1957=['aiChatResources','useDefaultFiltering','updateResourceState','delegate','10977020pNzkkD','_createSkeletonView','9KLnLfG','ck\x20ck-search','bindTemplate','32518116HooBZs','getQuery','fire','locale','6cmIJRI','343532ugcTNB','2Snqonr','set','8653482WViCsQ','search','939208nDsSCu','addResourceToContext','div','render','_searchView','setResources','2521895Ortdch','765411wtODAd','children','loadSourceResources','ck-ai-chat-resources','_skeletonLoader','isLoading','63JrOwPe','_latestLoadResourcesUid','_createSearchSection','_createSearchView','11UlKeUk','ck-hidden','_source','_createResourcesListView','setTemplate','_resourcesListView','loadResources','highlightText','extendTemplate'];_0x1555=function(){return _0x1f1957;};return _0x1555();}import{uid as _0x1f06d5}from'ckeditor5/src/utils.js';function _0x5776(_0x2028d8,_0x318c3b){const _0x15554f=_0x1555();return _0x5776=function(_0x57766e,_0x1999b9){_0x57766e=_0x57766e-0x1d4;let _0xa1f501=_0x15554f[_0x57766e];return _0xa1f501;},_0x5776(_0x2028d8,_0x318c3b);}import{AIChatContextResourcesListView as _0x40c689}from'./aichatresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x3b61c2}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x2fa984,SKELETON_DEFINITIONS as _0x1b7bc3}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0xaeb554{[_0x3e6400(0x1d4)];[_0x3e6400(0x1e6)];[_0x3e6400(0x1db)];[_0x3e6400(0x1e3)];[_0x3e6400(0x1d8)];[_0x3e6400(0x1de)]=null;constructor(_0x182b0e,_0x11cf3a){const _0x120189=_0x3e6400;super(_0x182b0e),this[_0x120189(0x1e3)]=_0x11cf3a,this[_0x120189(0x1fa)](_0x120189(0x1dc),!0x0),this[_0x120189(0x1d4)]=this[_0x120189(0x1e0)]();const _0x37c408=this[_0x120189(0x1df)]();this[_0x120189(0x1e6)]=this[_0x120189(0x1e4)](),this[_0x120189(0x1db)]=this[_0x120189(0x1ef)](),this[_0x120189(0x1d8)]=new _0x1c3789([_0x37c408,this[_0x120189(0x1db)],this[_0x120189(0x1e6)]]),this[_0x120189(0x1e5)]({'tag':_0x120189(0x1ff),'attributes':{'class':_0x120189(0x1da)},'children':this[_0x120189(0x1d8)]});}[_0x3e6400(0x1e0)](){const _0x8ac7c1=_0x3e6400;return new _0x3b61c2(this[_0x8ac7c1(0x1f6)]);}[_0x3e6400(0x1df)](){const _0x31a437=_0x3e6400,_0x5f58a3=new _0xaeb554(this[_0x31a437(0x1f6)]);return _0x5f58a3[_0x31a437(0x1e5)]({'tag':_0x31a437(0x1ff),'attributes':{'class':_0x31a437(0x1f1)},'children':[this[_0x31a437(0x1d4)]]}),this[_0x31a437(0x1d4)]['on'](_0x31a437(0x1fc),(_0x3a13a5,_0x5b9d83)=>{const _0x5591a9=_0x31a437;this[_0x5591a9(0x1e7)](_0x5b9d83),this[_0x5591a9(0x1e3)][_0x5591a9(0x1eb)]&&this[_0x5591a9(0x1e6)][_0x5591a9(0x1e8)](_0x5b9d83);}),_0x5f58a3;}[_0x3e6400(0x1e4)](){const _0xb6b8d9=_0x3e6400,_0x448211=new _0x40c689(this[_0xb6b8d9(0x1f6)],this[_0xb6b8d9(0x1e3)]);return _0x448211[_0xb6b8d9(0x1ed)](_0xb6b8d9(0x1fe))['to'](this),_0x448211[_0xb6b8d9(0x1e9)]({'attributes':{'class':this[_0xb6b8d9(0x1f2)]['if'](_0xb6b8d9(0x1dc),_0xb6b8d9(0x1e2))}}),_0x448211;}[_0x3e6400(0x1ef)](){const _0x2deb55=_0x3e6400,_0x428928=new _0x2fa984(this[_0x2deb55(0x1f6)],_0x1b7bc3[_0x2deb55(0x1ea)]);return _0x428928[_0x2deb55(0x1e9)]({'attributes':{'class':[this[_0x2deb55(0x1f2)]['if'](_0x2deb55(0x1dc),_0x2deb55(0x1e2),_0x316092=>!_0x316092)]}}),_0x428928;}[_0x3e6400(0x200)](){const _0x3bb077=_0x3e6400;super[_0x3bb077(0x200)](),this[_0x3bb077(0x1e7)]('');}[_0x3e6400(0x1e7)](_0x1a0dc9){const _0x21b044=_0x3e6400,_0x3f2259=_0x1f06d5();this[_0x21b044(0x1de)]=_0x3f2259,this[_0x21b044(0x1f5)](_0x21b044(0x1d9),{'sourceId':this[_0x21b044(0x1e3)]['id'],'query':_0x1a0dc9,'uid':_0x3f2259}),this[_0x21b044(0x1dc)]=!0x0;}[_0x3e6400(0x1d5)](_0x1bc6e0,_0x5ad81d){const _0x4cf788=_0x3e6400;if(_0x5ad81d&&_0x5ad81d!==this[_0x4cf788(0x1de)])return;const _0x34c72a=this[_0x4cf788(0x1e3)][_0x4cf788(0x1eb)]?this[_0x4cf788(0x1d4)][_0x4cf788(0x1f4)]():'';this[_0x4cf788(0x1e6)][_0x4cf788(0x1d5)](_0x1bc6e0,_0x34c72a),requestAnimationFrame(()=>{const _0x362d2b=_0x4cf788;this[_0x362d2b(0x1dc)]=!0x1;});}[_0x3e6400(0x1ec)](_0xda4432,_0x34a410){const _0x1d10c5=_0x3e6400;this[_0x1d10c5(0x1e6)][_0x1d10c5(0x1ec)](_0xda4432,_0x34a410);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43c334=_0x26de;function _0x26de(_0x5c6e77,_0x44e6d3){const _0x5cea0d=_0x5cea();return _0x26de=function(_0x26def4,_0x452ac8){_0x26def4=_0x26def4-0x12b;let _0x2562ae=_0x5cea0d[_0x26def4];return _0x2562ae;},_0x26de(_0x5c6e77,_0x44e6d3);}(function(_0x5c48ef,_0x195933){const _0x3a8af9=_0x26de,_0x356b73=_0x5c48ef();while(!![]){try{const _0x171be3=-parseInt(_0x3a8af9(0x133))/0x1+parseInt(_0x3a8af9(0x148))/0x2*(parseInt(_0x3a8af9(0x130))/0x3)+parseInt(_0x3a8af9(0x138))/0x4+parseInt(_0x3a8af9(0x149))/0x5+parseInt(_0x3a8af9(0x12d))/0x6*(parseInt(_0x3a8af9(0x12e))/0x7)+parseInt(_0x3a8af9(0x141))/0x8+parseInt(_0x3a8af9(0x12c))/0x9*(parseInt(_0x3a8af9(0x144))/0xa);if(_0x171be3===_0x195933)break;else _0x356b73['push'](_0x356b73['shift']());}catch(_0x3abe87){_0x356b73['push'](_0x356b73['shift']());}}}(_0x5cea,0xecf60));function _0x5cea(){const _0x1acbe5=['div','element','1873520zyRtfH','ck-ai-chat__feed__context-chips','_contextChips','ck-ai-chat-context-chips-wrapper','ck-ai-chat-controls-button','2020928RiDaop','querySelector','_overflowManager','_bodyCollection','locale','reorganizeChips','_createContextChips','setContainerElement','setTemplate','3063000yXdiwZ','createCollection','ck-ai-chat-context-chips-wrapper-balloon','100680lrrgPN','render','ck-ai-chat-context-controls__show-more-balloon-panel','add','41546gHAllw','3941220mKOgPj','ck-ai-chat-controls_context_show-more-button','ck-reset_all','531EbgQNw','451182BNCrbM','7BwSfyj','destroy','72EsBEos'];_0x5cea=function(){return _0x1acbe5;};return _0x5cea();}import{View as _0xdf101a}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x4e7a27}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x14e145}from'../controls/aichatchipsoverflowmanager.js';const po=_0x43c334(0x134),wo=_0x43c334(0x136),_o=_0x43c334(0x143),uo=_0x43c334(0x137),xo=_0x43c334(0x14a),mo=_0x43c334(0x146);export class AIChatFeedContextChipsView extends _0xdf101a{[_0x43c334(0x135)]=this[_0x43c334(0x142)]();[_0x43c334(0x13a)];[_0x43c334(0x13b)];constructor(_0x3bbf10,_0xe37f91,_0x568b81){const _0x66b731=_0x43c334;super(_0x3bbf10),this[_0x66b731(0x13b)]=_0x568b81,this[_0x66b731(0x13e)](_0xe37f91);const _0x4c8ead={'cssClasses':{'showMoreButton':xo,'showMoreBalloon':mo,'overflowContainer':_o,'controlsButton':uo}};this[_0x66b731(0x13a)]=new _0x14e145(_0x3bbf10,this[_0x66b731(0x135)],_0x4c8ead,this[_0x66b731(0x13b)],this),this[_0x66b731(0x140)]({'tag':_0x66b731(0x131),'attributes':{'class':[po,'ck',_0x66b731(0x12b)]},'children':[{'tag':_0x66b731(0x131),'attributes':{'class':wo},'children':this[_0x66b731(0x135)]}]});}[_0x43c334(0x145)](){const _0x55e3fb=_0x43c334;super[_0x55e3fb(0x145)]();const _0x4bd673=this[_0x55e3fb(0x132)][_0x55e3fb(0x139)]('.'+wo);_0x4bd673&&(this[_0x55e3fb(0x13a)][_0x55e3fb(0x13f)](_0x4bd673),this[_0x55e3fb(0x13a)][_0x55e3fb(0x13d)]());}[_0x43c334(0x12f)](){const _0x2bc29c=_0x43c334;super[_0x2bc29c(0x12f)](),this[_0x2bc29c(0x13a)][_0x2bc29c(0x12f)]();}[_0x43c334(0x13e)](_0x2edba5){const _0x4f2731=_0x43c334;for(const _0x4cd6f9 of _0x2edba5){const _0x32352d=new _0x4e7a27(this[_0x4f2731(0x13c)],_0x4cd6f9,!0x0,!0x1);this[_0x4f2731(0x135)][_0x4f2731(0x147)](_0x32352d);}}}
23
+ const _0x55aabc=_0x1cd5;(function(_0x416781,_0x5ec758){const _0x4966fa=_0x1cd5,_0x535704=_0x416781();while(!![]){try{const _0x714fde=parseInt(_0x4966fa(0x1bc))/0x1*(-parseInt(_0x4966fa(0x1d3))/0x2)+parseInt(_0x4966fa(0x1d4))/0x3*(parseInt(_0x4966fa(0x1cf))/0x4)+parseInt(_0x4966fa(0x1c0))/0x5*(-parseInt(_0x4966fa(0x1ce))/0x6)+-parseInt(_0x4966fa(0x1d5))/0x7+parseInt(_0x4966fa(0x1cc))/0x8+-parseInt(_0x4966fa(0x1bb))/0x9+parseInt(_0x4966fa(0x1c8))/0xa;if(_0x714fde===_0x5ec758)break;else _0x535704['push'](_0x535704['shift']());}catch(_0x416fef){_0x535704['push'](_0x535704['shift']());}}}(_0x7a11,0x3597b));import{View as _0x4ce7ca}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x2ade26}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0xaeff71}from'../controls/aichatchipsoverflowmanager.js';function _0x7a11(){const _0x6ffd75=['element','createCollection','7084170UEfrMe','div','locale','_contextChips','279704Mtgavu','ck-ai-chat-controls_context_show-more-button','212802gNMsZm','12ACcnbL','_createContextChips','setContainerElement','ck-ai-chat__feed__context-chips','6456lXkZrD','376206oHTENC','534058eCFDyz','render','querySelector','ck-ai-chat-context-chips-wrapper-balloon','ck-ai-chat-controls-button','setTemplate','1606914cFaAFK','101PHyWUU','add','destroy','ck-reset_all','45lNaJRV','_overflowManager','reorganizeChips','ck-ai-chat-context-controls__show-more-balloon-panel','ck-ai-chat-context-chips-wrapper','_bodyCollection'];_0x7a11=function(){return _0x6ffd75;};return _0x7a11();}function _0x1cd5(_0x87b9db,_0x2af51c){const _0x7a119c=_0x7a11();return _0x1cd5=function(_0x1cd511,_0x5b35dc){_0x1cd511=_0x1cd511-0x1ba;let _0xd02fa6=_0x7a119c[_0x1cd511];return _0xd02fa6;},_0x1cd5(_0x87b9db,_0x2af51c);}const jo=_0x55aabc(0x1d2),Fo=_0x55aabc(0x1c4),$o=_0x55aabc(0x1d8),vo=_0x55aabc(0x1d9),Vo=_0x55aabc(0x1cd),fo=_0x55aabc(0x1c3);export class AIChatFeedContextChipsView extends _0x4ce7ca{[_0x55aabc(0x1cb)]=this[_0x55aabc(0x1c7)]();[_0x55aabc(0x1c1)];[_0x55aabc(0x1c5)];constructor(_0x5804cd,_0x43f796,_0x5be7df){const _0x2f718b=_0x55aabc;super(_0x5804cd),this[_0x2f718b(0x1c5)]=_0x5be7df,this[_0x2f718b(0x1d0)](_0x43f796);const _0x45262c={'cssClasses':{'showMoreButton':Vo,'showMoreBalloon':fo,'overflowContainer':$o,'controlsButton':vo}};this[_0x2f718b(0x1c1)]=new _0xaeff71(_0x5804cd,this[_0x2f718b(0x1cb)],_0x45262c,this[_0x2f718b(0x1c5)],this),this[_0x2f718b(0x1ba)]({'tag':_0x2f718b(0x1c9),'attributes':{'class':[jo,'ck',_0x2f718b(0x1bf)]},'children':[{'tag':_0x2f718b(0x1c9),'attributes':{'class':Fo},'children':this[_0x2f718b(0x1cb)]}]});}[_0x55aabc(0x1d6)](){const _0x3681d6=_0x55aabc;super[_0x3681d6(0x1d6)]();const _0x1048f7=this[_0x3681d6(0x1c6)][_0x3681d6(0x1d7)]('.'+Fo);_0x1048f7&&(this[_0x3681d6(0x1c1)][_0x3681d6(0x1d1)](_0x1048f7),this[_0x3681d6(0x1c1)][_0x3681d6(0x1c2)]());}[_0x55aabc(0x1be)](){const _0x5765bf=_0x55aabc;super[_0x5765bf(0x1be)](),this[_0x5765bf(0x1c1)][_0x5765bf(0x1be)]();}[_0x55aabc(0x1d0)](_0x503239){const _0x1739be=_0x55aabc;for(const _0x4038f7 of _0x503239){const _0x5982dd=new _0x2ade26(this[_0x1739be(0x1ca)],_0x4038f7,!0x0,!0x1);this[_0x1739be(0x1cb)][_0x1739be(0x1bd)](_0x5982dd);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x16d9db=_0xc74f;function _0xc74f(_0x526285,_0x325fcc){var _0x46ad6e=_0x46ad();return _0xc74f=function(_0xc74f32,_0xacb66f){_0xc74f32=_0xc74f32-0x8f;var _0x2be690=_0x46ad6e[_0xc74f32];return _0x2be690;},_0xc74f(_0x526285,_0x325fcc);}(function(_0x37c651,_0x105e3f){var _0x320df4=_0xc74f,_0x28d78a=_0x37c651();while(!![]){try{var _0x5b1078=-parseInt(_0x320df4(0xa1))/0x1+parseInt(_0x320df4(0x9b))/0x2+-parseInt(_0x320df4(0x9e))/0x3+parseInt(_0x320df4(0x9a))/0x4*(-parseInt(_0x320df4(0x9d))/0x5)+-parseInt(_0x320df4(0x9c))/0x6+parseInt(_0x320df4(0x92))/0x7+parseInt(_0x320df4(0x8f))/0x8;if(_0x5b1078===_0x105e3f)break;else _0x28d78a['push'](_0x28d78a['shift']());}catch(_0x47ff13){_0x28d78a['push'](_0x28d78a['shift']());}}}(_0x46ad,0x90bd5));import{AIChatFeedItemView as _0x160068}from'./aichatfeeditemview.js';function _0x46ad(){var _0x32f53f=['12340Oaoece','798954lbfjQt','1369848tMaGNs','1135NWsvGC','976281huFRAD','warning','render','243677XljUCO','options','11267952logoVs','markAsDone','initialContent','1978123DLZtNM','innerHTML','element','ck-ai-chat-error','setContent','ck-ai-chat-error_warning','level','extendTemplate'];_0x46ad=function(){return _0x32f53f;};return _0x46ad();}export class AIChatFeedErrorItemView extends _0x160068{constructor(_0x15de1c){var _0x3379d6=_0xc74f;super(_0x15de1c),this[_0x3379d6(0x99)]({'attributes':{'class':[_0x3379d6(0x95),_0x3379d6(0x9f)===_0x15de1c[_0x3379d6(0x98)]?_0x3379d6(0x97):'']}});}[_0x16d9db(0xa0)](){var _0x273e0f=_0x16d9db;super[_0x273e0f(0xa0)](),this[_0x273e0f(0x96)](this[_0x273e0f(0xa2)][_0x273e0f(0x91)]),this[_0x273e0f(0x90)]();}[_0x16d9db(0x96)](_0x12feca){var _0x19f70a=_0x16d9db;this[_0x19f70a(0x94)][_0x19f70a(0x93)]=_0x12feca;}}
23
+ var _0x32205b=_0xb391;function _0xb391(_0x4f2180,_0x197a21){var _0x5e6f2b=_0x5e6f();return _0xb391=function(_0xb39151,_0x51caa6){_0xb39151=_0xb39151-0xc6;var _0xd6e28=_0x5e6f2b[_0xb39151];return _0xd6e28;},_0xb391(_0x4f2180,_0x197a21);}(function(_0x4383d2,_0x4f6592){var _0x2bd079=_0xb391,_0x1851ce=_0x4383d2();while(!![]){try{var _0x3c19fa=parseInt(_0x2bd079(0xca))/0x1+-parseInt(_0x2bd079(0xd0))/0x2*(-parseInt(_0x2bd079(0xd4))/0x3)+-parseInt(_0x2bd079(0xd1))/0x4+-parseInt(_0x2bd079(0xdc))/0x5*(parseInt(_0x2bd079(0xd3))/0x6)+parseInt(_0x2bd079(0xcd))/0x7+parseInt(_0x2bd079(0xd6))/0x8*(parseInt(_0x2bd079(0xcf))/0x9)+-parseInt(_0x2bd079(0xce))/0xa*(parseInt(_0x2bd079(0xd8))/0xb);if(_0x3c19fa===_0x4f6592)break;else _0x1851ce['push'](_0x1851ce['shift']());}catch(_0x58bf69){_0x1851ce['push'](_0x1851ce['shift']());}}}(_0x5e6f,0x82ce9));function _0x5e6f(){var _0x108551=['markAsDone','1236620TaPLFU','12099450pTWJne','9cctSPW','1569450sYlHQJ','899776otHWSZ','initialContent','506958QiPCHB','3Gmutvi','options','6112184SeKqzB','setContent','11PJhrtX','ck-ai-chat-error_warning','innerHTML','render','35uwfhhR','warning','ck-ai-chat-error','level','extendTemplate','836717DvxdMV','element'];_0x5e6f=function(){return _0x108551;};return _0x5e6f();}import{AIChatFeedItemView as _0x57b6db}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x57b6db{constructor(_0x2ba3ab){var _0x43a63d=_0xb391;super(_0x2ba3ab),this[_0x43a63d(0xc9)]({'attributes':{'class':[_0x43a63d(0xc7),_0x43a63d(0xc6)===_0x2ba3ab[_0x43a63d(0xc8)]?_0x43a63d(0xd9):'']}});}[_0x32205b(0xdb)](){var _0x184166=_0x32205b;super[_0x184166(0xdb)](),this[_0x184166(0xd7)](this[_0x184166(0xd5)][_0x184166(0xd2)]),this[_0x184166(0xcc)]();}[_0x32205b(0xd7)](_0x1171d4){var _0x38e60d=_0x32205b;this[_0x38e60d(0xcb)][_0x38e60d(0xda)]=_0x1171d4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x41b557,_0x4f456d){const _0xd7cf24=_0x1b7d,_0xef1751=_0x41b557();while(!![]){try{const _0x18a430=-parseInt(_0xd7cf24(0xf8))/0x1*(parseInt(_0xd7cf24(0x103))/0x2)+parseInt(_0xd7cf24(0x102))/0x3+parseInt(_0xd7cf24(0xf9))/0x4*(-parseInt(_0xd7cf24(0xf4))/0x5)+-parseInt(_0xd7cf24(0x10a))/0x6*(parseInt(_0xd7cf24(0xfe))/0x7)+-parseInt(_0xd7cf24(0xfc))/0x8+parseInt(_0xd7cf24(0x10c))/0x9+parseInt(_0xd7cf24(0xff))/0xa;if(_0x18a430===_0x4f456d)break;else _0xef1751['push'](_0xef1751['shift']());}catch(_0x39296d){_0xef1751['push'](_0xef1751['shift']());}}}(_0x5237,0x36e8f));import{IconBulb as _0x2d7cee,IconWeb as _0x3a3d81}from'@ckeditor/ckeditor5-icons';import{IconView as _0x6fecb2,View as _0x4e5177}from'ckeditor5/src/ui.js';function _0x1b7d(_0x322cb6,_0x558db9){const _0x523798=_0x5237();return _0x1b7d=function(_0x1b7d69,_0x26a4ce){_0x1b7d69=_0x1b7d69-0xf3;let _0x18f16d=_0x523798[_0x1b7d69];return _0x18f16d;},_0x1b7d(_0x322cb6,_0x558db9);}import{AIChatFeedItemView as _0x2e0a2b}from'./aichatfeeditemview.js';import{getTranslation as _0x3e3bea}from'../../../aicore/utils/common-translations.js';function _0x5237(){const _0x1db267=['11921730fgIICz','ck-hidden','extendTemplate','145794yAYoqY','2470FTPXXe','ck-ai-chat__feed__interaction-header','setTemplate','ck-ai-chat__feed__interaction-header__capabilities__text','div','content','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','123252LHXOcE','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','668709icmijS','add','76205JxSwtd','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','children','push','65mCudiz','116enozeS','span','ck-ai-chat__feed__interaction-header__capabilities','2571144TZtUYP','capabilities','84KxtvSh'];_0x5237=function(){return _0x1db267;};return _0x5237();}export class AIChatFeedInteractionHeaderView extends _0x2e0a2b{constructor(_0x2f7698,_0x5e8b5){const _0x450a57=_0x1b7d;super(_0x5e8b5);const {isWebSearchEnabled:_0x207616,isReasoningEnabled:_0x2725db}=_0x5e8b5[_0x450a57(0xfd)],_0x6d32ff=[];let _0x309942='';_0x207616&&_0x2725db?(_0x309942=_0x3e3bea(_0x2f7698,_0x450a57(0x109)),_0x6d32ff[_0x450a57(0xf7)](i_(_0x3a3d81)),_0x6d32ff[_0x450a57(0xf7)](i_(_0x2d7cee))):_0x207616?(_0x309942=_0x3e3bea(_0x2f7698,_0x450a57(0xf5)),_0x6d32ff[_0x450a57(0xf7)](i_(_0x3a3d81))):_0x2725db&&(_0x309942=_0x3e3bea(_0x2f7698,_0x450a57(0x10b)),_0x6d32ff[_0x450a57(0xf7)](i_(_0x2d7cee))),this[_0x450a57(0x101)]({'attributes':{'class':[_0x450a57(0x104),_0x309942?'':_0x450a57(0x100)]}});const _0x1cac4e=new _0x4e5177();_0x1cac4e[_0x450a57(0x105)]({'tag':_0x450a57(0x107),'attributes':{'class':['ck',_0x450a57(0xfb)]},'children':[..._0x6d32ff,{'tag':_0x450a57(0xfa),'attributes':{'class':[_0x450a57(0x106)]},'children':[_0x309942]}]}),this[_0x450a57(0xf6)][_0x450a57(0xf3)](_0x1cac4e);}}function i_(_0x27005f){const _0x2f2623=_0x1b7d,_0x3aaf89=new _0x6fecb2();return _0x3aaf89[_0x2f2623(0x108)]=_0x27005f,_0x3aaf89;}
23
+ (function(_0x432215,_0x1427ab){const _0x2eff36=_0x1355,_0x43c307=_0x432215();while(!![]){try{const _0x5390fe=parseInt(_0x2eff36(0xaa))/0x1*(-parseInt(_0x2eff36(0x99))/0x2)+-parseInt(_0x2eff36(0x9c))/0x3+-parseInt(_0x2eff36(0x96))/0x4*(-parseInt(_0x2eff36(0xa2))/0x5)+parseInt(_0x2eff36(0x94))/0x6+-parseInt(_0x2eff36(0x9d))/0x7+parseInt(_0x2eff36(0x9b))/0x8+-parseInt(_0x2eff36(0xa7))/0x9*(parseInt(_0x2eff36(0x9f))/0xa);if(_0x5390fe===_0x1427ab)break;else _0x43c307['push'](_0x43c307['shift']());}catch(_0x587220){_0x43c307['push'](_0x43c307['shift']());}}}(_0xacc8,0x509b4));function _0x1355(_0x555eb9,_0x10103b){const _0xacc8db=_0xacc8();return _0x1355=function(_0x135540,_0x27a6d9){_0x135540=_0x135540-0x91;let _0x3ef46c=_0xacc8db[_0x135540];return _0x3ef46c;},_0x1355(_0x555eb9,_0x10103b);}import{IconBulb as _0x3e9d1c,IconWeb as _0x301964}from'@ckeditor/ckeditor5-icons';import{IconView as _0x320410,View as _0x5c46e4}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x7bbd4}from'./aichatfeeditemview.js';function _0xacc8(){const _0x9175a8=['ck-ai-chat__feed__interaction-header','116910XQKbSz','content','push','1385wFOBOc','span','ck-hidden','setTemplate','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','9gbgpgl','ck-ai-chat__feed__interaction-header__capabilities__text','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','1002EqlKRO','capabilities','children','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','2719146APtpnT','add','5508ceZlnj','ck-ai-chat__feed__interaction-header__capabilities','extendTemplate','86UPNTcU','div','633680MjROdy','60297osjGDX','3561530XkBPdy'];_0xacc8=function(){return _0x9175a8;};return _0xacc8();}import{getTranslation as _0x1213bd}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x7bbd4{constructor(_0x169eab,_0x46a45e){const _0x36fdac=_0x1355;super(_0x46a45e);const {isWebSearchEnabled:_0x297172,isReasoningEnabled:_0x24560d}=_0x46a45e[_0x36fdac(0x91)],_0x46e9ef=[];let _0x4d230b='';_0x297172&&_0x24560d?(_0x4d230b=_0x1213bd(_0x169eab,_0x36fdac(0xa9)),_0x46e9ef[_0x36fdac(0xa1)](e_(_0x301964)),_0x46e9ef[_0x36fdac(0xa1)](e_(_0x3e9d1c))):_0x297172?(_0x4d230b=_0x1213bd(_0x169eab,_0x36fdac(0xa6)),_0x46e9ef[_0x36fdac(0xa1)](e_(_0x301964))):_0x24560d&&(_0x4d230b=_0x1213bd(_0x169eab,_0x36fdac(0x93)),_0x46e9ef[_0x36fdac(0xa1)](e_(_0x3e9d1c))),this[_0x36fdac(0x98)]({'attributes':{'class':[_0x36fdac(0x9e),_0x4d230b?'':_0x36fdac(0xa4)]}});const _0x36bfea=new _0x5c46e4();_0x36bfea[_0x36fdac(0xa5)]({'tag':_0x36fdac(0x9a),'attributes':{'class':['ck',_0x36fdac(0x97)]},'children':[..._0x46e9ef,{'tag':_0x36fdac(0xa3),'attributes':{'class':[_0x36fdac(0xa8)]},'children':[_0x4d230b]}]}),this[_0x36fdac(0x92)][_0x36fdac(0x95)](_0x36bfea);}}function e_(_0x1d2e3f){const _0x473e92=_0x1355,_0x5c3e38=new _0x320410();return _0x5c3e38[_0x473e92(0xa0)]=_0x1d2e3f,_0x5c3e38;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e6c2c=_0x3641;(function(_0x42e4f8,_0x37537f){const _0x3840f9=_0x3641,_0x24df56=_0x42e4f8();while(!![]){try{const _0x397d74=parseInt(_0x3840f9(0x1d4))/0x1+-parseInt(_0x3840f9(0x1b6))/0x2*(parseInt(_0x3840f9(0x1d9))/0x3)+-parseInt(_0x3840f9(0x1c1))/0x4*(-parseInt(_0x3840f9(0x1cd))/0x5)+-parseInt(_0x3840f9(0x1da))/0x6*(-parseInt(_0x3840f9(0x1c7))/0x7)+parseInt(_0x3840f9(0x1bb))/0x8*(parseInt(_0x3840f9(0x1cf))/0x9)+parseInt(_0x3840f9(0x1bf))/0xa*(-parseInt(_0x3840f9(0x1d5))/0xb)+parseInt(_0x3840f9(0x1c0))/0xc*(-parseInt(_0x3840f9(0x1d8))/0xd);if(_0x397d74===_0x37537f)break;else _0x24df56['push'](_0x24df56['shift']());}catch(_0x39b5c5){_0x24df56['push'](_0x24df56['shift']());}}}(_0xac8e,0x8b74e));function _0xac8e(){const _0x8d6dad=['stream','15HMhNDv','htmlStreamer','81pjcBvW','forEach','div','setTemplate','createCollection','136466EOYrdf','155881rUxOyn','element','removeAttribute','13drfuOn','2001YntWAX','1110qfzKKJ','querySelectorAll','content','2116sDluWM','ck-ai-chat__feed__text-item','data-id','isDone','animation:\x20ck-html-streamer-fade-in\x20.5s','616744ToOCvZ','options','ck-ai-chat__feed__item','markAsDone','530fKzvBS','3864864fbjuXc','918776cNMIoV','isVisible','ck-ai-chat__feed__item_done','bindTemplate','streamIntoElement','children','31430VQPCzr','ck-hidden','[data-id]','cleanUpAnimations','set'];_0xac8e=function(){return _0x8d6dad;};return _0xac8e();}import{View as _0x51a233}from'ckeditor5/src/ui.js';function _0x3641(_0xd36f1e,_0x3ddd31){const _0xac8eec=_0xac8e();return _0x3641=function(_0x364118,_0x22f1d0){_0x364118=_0x364118-0x1b6;let _0x46d114=_0xac8eec[_0x364118];return _0x46d114;},_0x3641(_0xd36f1e,_0x3ddd31);}import{HTMLStreamer as _0x311596}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x51a233{[_0x2e6c2c(0x1bc)];[_0x2e6c2c(0x1dc)]='';[_0x2e6c2c(0x1ce)];[_0x2e6c2c(0x1c6)];constructor(_0x3d1435){const _0x2197c9=_0x2e6c2c;super();const _0x576947=this[_0x2197c9(0x1c4)];this[_0x2197c9(0x1cb)](_0x2197c9(0x1b9),!0x1),this[_0x2197c9(0x1cb)](_0x2197c9(0x1c2),!0x0),this[_0x2197c9(0x1ce)]=new _0x311596({'textNodeStyle':_0x2197c9(0x1ba),'delay':0x14}),this[_0x2197c9(0x1bc)]=_0x3d1435,this[_0x2197c9(0x1c6)]=this[_0x2197c9(0x1d3)](),this[_0x2197c9(0x1d2)]({'tag':_0x2197c9(0x1d1),'attributes':{'class':['ck',_0x2197c9(0x1bd),_0x576947['if'](_0x2197c9(0x1b9),_0x2197c9(0x1c3)),_0x576947['if'](_0x2197c9(0x1c2),_0x2197c9(0x1c8),_0x56f6c3=>!_0x56f6c3),_0x2197c9(0x1b7)],'data-cke-ai-id':this[_0x2197c9(0x1bc)]['id']},'children':this[_0x2197c9(0x1c6)]});}[_0x2e6c2c(0x1be)](){const _0x37fd88=_0x2e6c2c;this[_0x37fd88(0x1ce)][_0x37fd88(0x1ca)]({'targetElement':this[_0x37fd88(0x1d6)]}),this[_0x37fd88(0x1d6)][_0x37fd88(0x1db)](_0x37fd88(0x1c9))[_0x37fd88(0x1d0)](_0x1008d9=>{const _0x51330f=_0x37fd88;_0x1008d9[_0x51330f(0x1d7)](_0x51330f(0x1b8));}),this[_0x37fd88(0x1b9)]=!0x0;}async[_0x2e6c2c(0x1c5)](_0x459a03,_0x323077,_0x4d09c0){const _0x50c8ae=_0x2e6c2c;await this[_0x50c8ae(0x1ce)][_0x50c8ae(0x1cc)]({'document':_0x459a03,'targetElement':_0x323077,'abortSignal':_0x4d09c0});}}
23
+ const _0x580738=_0x3e96;(function(_0x2f1dac,_0x57de87){const _0x37a47e=_0x3e96,_0x45b4f8=_0x2f1dac();while(!![]){try{const _0x51c4db=-parseInt(_0x37a47e(0x204))/0x1+-parseInt(_0x37a47e(0x207))/0x2+-parseInt(_0x37a47e(0x20c))/0x3+parseInt(_0x37a47e(0x1f8))/0x4*(-parseInt(_0x37a47e(0x20f))/0x5)+-parseInt(_0x37a47e(0x1f5))/0x6+-parseInt(_0x37a47e(0x202))/0x7+parseInt(_0x37a47e(0x203))/0x8;if(_0x51c4db===_0x57de87)break;else _0x45b4f8['push'](_0x45b4f8['shift']());}catch(_0x33af9c){_0x45b4f8['push'](_0x45b4f8['shift']());}}}(_0x1f16,0x2de7a));import{View as _0x4dcd90}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x3bee73}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x4dcd90{[_0x580738(0x1ef)];[_0x580738(0x209)]='';[_0x580738(0x1fb)];[_0x580738(0x20d)];constructor(_0x1df692){const _0x402ffb=_0x580738;super();const _0x428cd0=this[_0x402ffb(0x20a)];this[_0x402ffb(0x20e)](_0x402ffb(0x1f9),!0x1),this[_0x402ffb(0x20e)](_0x402ffb(0x1fd),!0x0),this[_0x402ffb(0x1fb)]=new _0x3bee73({'textNodeStyle':_0x402ffb(0x208),'delay':0x14}),this[_0x402ffb(0x1ef)]=_0x1df692,this[_0x402ffb(0x20d)]=this[_0x402ffb(0x1ff)](),this[_0x402ffb(0x1f6)]({'tag':_0x402ffb(0x1f7),'attributes':{'class':['ck',_0x402ffb(0x1f4),_0x428cd0['if'](_0x402ffb(0x1f9),_0x402ffb(0x1f0)),_0x428cd0['if'](_0x402ffb(0x1fd),_0x402ffb(0x1f3),_0x1d6a05=>!_0x1d6a05),_0x402ffb(0x206)],'data-cke-ai-id':this[_0x402ffb(0x1ef)]['id']},'children':this[_0x402ffb(0x20d)]});}[_0x580738(0x1fe)](){const _0xfaf082=_0x580738;this[_0xfaf082(0x1fb)][_0xfaf082(0x1f1)]({'targetElement':this[_0xfaf082(0x1f2)]}),this[_0xfaf082(0x1f2)][_0xfaf082(0x1ee)](_0xfaf082(0x20b))[_0xfaf082(0x205)](_0x37b364=>{const _0x3be08e=_0xfaf082;_0x37b364[_0x3be08e(0x200)](_0x3be08e(0x1fa));}),this[_0xfaf082(0x1f9)]=!0x0;}async[_0x580738(0x1fc)](_0x47f4bf,_0x204cc2,_0x134092){const _0x197b0c=_0x580738;await this[_0x197b0c(0x1fb)][_0x197b0c(0x201)]({'document':_0x47f4bf,'targetElement':_0x204cc2,'abortSignal':_0x134092});}}function _0x3e96(_0x227838,_0x5b532a){const _0x1f16dc=_0x1f16();return _0x3e96=function(_0x3e96d6,_0x18c24a){_0x3e96d6=_0x3e96d6-0x1ee;let _0x2e40df=_0x1f16dc[_0x3e96d6];return _0x2e40df;},_0x3e96(_0x227838,_0x5b532a);}function _0x1f16(){const _0x59610d=['245226qpdmSN','forEach','ck-ai-chat__feed__text-item','697182rBdZSC','animation:\x20ck-html-streamer-fade-in\x20.5s','content','bindTemplate','[data-id]','405114oZXsUL','children','set','614785bJSpbx','querySelectorAll','options','ck-ai-chat__feed__item_done','cleanUpAnimations','element','ck-hidden','ck-ai-chat__feed__item','140520ZRPqfu','setTemplate','div','4YfxjYv','isDone','data-id','htmlStreamer','streamIntoElement','isVisible','markAsDone','createCollection','removeAttribute','stream','2468221slRxQF','11326888pnygOi'];_0x1f16=function(){return _0x59610d;};return _0x1f16();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5640c3=_0x5aa8;(function(_0x2818d1,_0x3ddede){const _0x386f02=_0x5aa8,_0x552419=_0x2818d1();while(!![]){try{const _0x11c4ea=parseInt(_0x386f02(0x1ad))/0x1*(parseInt(_0x386f02(0x1b9))/0x2)+parseInt(_0x386f02(0x1bc))/0x3*(-parseInt(_0x386f02(0x1c4))/0x4)+parseInt(_0x386f02(0x1b0))/0x5*(parseInt(_0x386f02(0x1b3))/0x6)+parseInt(_0x386f02(0x1ae))/0x7*(-parseInt(_0x386f02(0x1a9))/0x8)+-parseInt(_0x386f02(0x1ac))/0x9+-parseInt(_0x386f02(0x1b6))/0xa+-parseInt(_0x386f02(0x1a8))/0xb*(-parseInt(_0x386f02(0x1be))/0xc);if(_0x11c4ea===_0x3ddede)break;else _0x552419['push'](_0x552419['shift']());}catch(_0x506c30){_0x552419['push'](_0x552419['shift']());}}}(_0xfcab,0xf17d9));function _0xfcab(){const _0x34449a=['initialContent','streaming','3880035PuKoQQ','5zFIgtq','8353779TcYkPD','ck-reset_all-excluded','1749680lqnyGa','extendTemplate','map','18MJodKw','isVisible','locale','4268550VgClmA','updateSources','render','615354Eucoyy','children','replyContainer','237AvtSiC','element','536856DrNTEx','add','markAsDone','ck-ai-chat__feed__ai-reply','div','innerHTML','11076JEbdTT','updateContent','options','streamIntoElement','ck-ai-chat__feed__ai-reply-container','static','setTemplate','addMany','165bwxiuU','8MMSaHi'];_0xfcab=function(){return _0x34449a;};return _0xfcab();}import{AIChatFeedItemView as _0x545d92}from'./aichatfeeditemview.js';import{parse as _0xf2826e,render as _0x755d9e}from'../../../aicore/utils/htmlparser.js';function _0x5aa8(_0x4ac0e2,_0x3735f3){const _0xfcab07=_0xfcab();return _0x5aa8=function(_0x5aa877,_0x3ea093){_0x5aa877=_0x5aa877-0x1a2;let _0x59f6dc=_0xfcab07[_0x5aa877];return _0x59f6dc;},_0x5aa8(_0x4ac0e2,_0x3735f3);}import{View as _0x192859}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x2fe4ad,AIWebSourceView as _0x4a728b}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x545d92{[_0x5640c3(0x1bb)];constructor(_0x92fd2f,_0x4261ae){const _0x302b4b=_0x5640c3;super(_0x4261ae),this[_0x302b4b(0x1b5)]=_0x92fd2f,this[_0x302b4b(0x1b1)]({'attributes':{'class':[_0x302b4b(0x1c1)]}}),this[_0x302b4b(0x1bb)]=new _0x192859(),this[_0x302b4b(0x1bb)][_0x302b4b(0x1a6)]({'tag':_0x302b4b(0x1c2),'attributes':{'class':['ck',_0x302b4b(0x1af),_0x302b4b(0x1a4)]}}),this[_0x302b4b(0x1ba)][_0x302b4b(0x1bf)](this[_0x302b4b(0x1bb)]);}async[_0x5640c3(0x1b8)](){const _0x310135=_0x5640c3;super[_0x310135(0x1b8)](),this[_0x310135(0x1a2)][_0x310135(0x1aa)]&&(await this[_0x310135(0x1c5)]({'parsedContent':_0xf2826e(this[_0x310135(0x1a2)][_0x310135(0x1aa)]),'renderingStrategy':_0x310135(0x1a5)}),this[_0x310135(0x1c0)]());}async[_0x5640c3(0x1c5)]({parsedContent:_0x58b7aa,renderingStrategy:_0x37f931,abortSignal:_0x556770}){const _0x35e1b2=_0x5640c3;_0x35e1b2(0x1ab)===_0x37f931?await this[_0x35e1b2(0x1a3)](_0x58b7aa,this[_0x35e1b2(0x1bb)][_0x35e1b2(0x1bd)],_0x556770):this[_0x35e1b2(0x1bb)][_0x35e1b2(0x1bd)][_0x35e1b2(0x1c3)]=_0x755d9e(_0x58b7aa);}[_0x5640c3(0x1b7)](_0xd2994){const _0x411f7a=_0x5640c3,_0x3796b3=new _0x2fe4ad(this[_0x411f7a(0x1b5)]);_0x3796b3[_0x411f7a(0x1ba)][_0x411f7a(0x1a7)](_0xd2994[_0x411f7a(0x1b2)](_0xaa5cd=>new _0x4a728b(this[_0x411f7a(0x1b5)],_0xaa5cd))),_0x3796b3[_0x411f7a(0x1b4)]=!0x0,this[_0x411f7a(0x1ba)][_0x411f7a(0x1bf)](_0x3796b3);}}
23
+ function _0x2d71(_0x3ffdb2,_0x36212b){const _0x4b224d=_0x4b22();return _0x2d71=function(_0x2d717e,_0x1798fc){_0x2d717e=_0x2d717e-0xf2;let _0x4b39a1=_0x4b224d[_0x2d717e];return _0x4b39a1;},_0x2d71(_0x3ffdb2,_0x36212b);}const _0x401527=_0x2d71;function _0x4b22(){const _0x15488c=['84820oFWfsG','914181scgimT','replyContainer','updateContent','248bztEVG','224pHlcpj','addMany','5849250ioTqCa','static','div','setTemplate','streaming','ck-ai-chat__feed__ai-reply','add','locale','map','1514905hgakru','children','element','ck-ai-chat__feed__ai-reply-container','streamIntoElement','markAsDone','options','6WEOOno','updateSources','extendTemplate','initialContent','ck-reset_all-excluded','render','53703wzvWPo','4755lxNQOw','797022LplMDM','isVisible','innerHTML'];_0x4b22=function(){return _0x15488c;};return _0x4b22();}(function(_0x15ed75,_0x2e47df){const _0x557a82=_0x2d71,_0x7d6d8f=_0x15ed75();while(!![]){try{const _0x2255f4=-parseInt(_0x557a82(0x107))/0x1+parseInt(_0x557a82(0x104))/0x2+-parseInt(_0x557a82(0x108))/0x3+parseInt(_0x557a82(0x10c))/0x4*(parseInt(_0x557a82(0x103))/0x5)+-parseInt(_0x557a82(0xfc))/0x6*(parseInt(_0x557a82(0xf5))/0x7)+-parseInt(_0x557a82(0x10b))/0x8*(parseInt(_0x557a82(0x102))/0x9)+parseInt(_0x557a82(0x10e))/0xa;if(_0x2255f4===_0x2e47df)break;else _0x7d6d8f['push'](_0x7d6d8f['shift']());}catch(_0x2492c1){_0x7d6d8f['push'](_0x7d6d8f['shift']());}}}(_0x4b22,0x3bff9));import{AIChatFeedItemView as _0x3d9dde}from'./aichatfeeditemview.js';import{parse as _0x54aa6d,render as _0x1d9a9f}from'../../../aicore/utils/htmlparser.js';import{View as _0x5ba9eb}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x9b7432,AIWebSourceView as _0x131ffc}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x3d9dde{[_0x401527(0x109)];constructor(_0x68f667,_0x540ff1){const _0xbc9cda=_0x401527;super(_0x540ff1),this[_0xbc9cda(0xf3)]=_0x68f667,this[_0xbc9cda(0xfe)]({'attributes':{'class':[_0xbc9cda(0x113)]}}),this[_0xbc9cda(0x109)]=new _0x5ba9eb(),this[_0xbc9cda(0x109)][_0xbc9cda(0x111)]({'tag':_0xbc9cda(0x110),'attributes':{'class':['ck',_0xbc9cda(0x100),_0xbc9cda(0xf8)]}}),this[_0xbc9cda(0xf6)][_0xbc9cda(0xf2)](this[_0xbc9cda(0x109)]);}async[_0x401527(0x101)](){const _0x412e1a=_0x401527;super[_0x412e1a(0x101)](),this[_0x412e1a(0xfb)][_0x412e1a(0xff)]&&(await this[_0x412e1a(0x10a)]({'parsedContent':_0x54aa6d(this[_0x412e1a(0xfb)][_0x412e1a(0xff)]),'renderingStrategy':_0x412e1a(0x10f)}),this[_0x412e1a(0xfa)]());}async[_0x401527(0x10a)]({parsedContent:_0x573b27,renderingStrategy:_0x4638c0,abortSignal:_0x47bf14}){const _0x10443a=_0x401527;_0x10443a(0x112)===_0x4638c0?await this[_0x10443a(0xf9)](_0x573b27,this[_0x10443a(0x109)][_0x10443a(0xf7)],_0x47bf14):this[_0x10443a(0x109)][_0x10443a(0xf7)][_0x10443a(0x106)]=_0x1d9a9f(_0x573b27);}[_0x401527(0xfd)](_0xfebad3){const _0x28251f=_0x401527,_0x33da85=new _0x9b7432(this[_0x28251f(0xf3)]);_0x33da85[_0x28251f(0xf6)][_0x28251f(0x10d)](_0xfebad3[_0x28251f(0xf4)](_0x2707e3=>new _0x131ffc(this[_0x28251f(0xf3)],_0x2707e3))),_0x33da85[_0x28251f(0x105)]=!0x0,this[_0x28251f(0xf6)][_0x28251f(0xf2)](_0x33da85);}}