@ckeditor/ckeditor5-ai 47.0.0-alpha.0 → 47.0.0-alpha.1

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 (295) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index-editor.css +105 -11
  3. package/dist/index.css +105 -11
  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/lang/contexts.json +1 -0
  152. package/package.json +15 -15
  153. package/src/aiactions/aiactions.js +1 -1
  154. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  155. package/src/aiactions/model/aiactionsreply.js +1 -1
  156. package/src/aiassistant/adapters/aiadapter.js +1 -1
  157. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  158. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  159. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  160. package/src/aiassistant/aiassistant.js +1 -1
  161. package/src/aiassistant/aiassistantediting.js +1 -1
  162. package/src/aiassistant/aiassistantui.js +1 -1
  163. package/src/aiassistant/legacyerrors.js +1 -1
  164. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  165. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  166. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  167. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformview.js +1 -1
  170. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  172. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  173. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  174. package/src/aiassistant/utils/common-translations.js +1 -1
  175. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  176. package/src/aiballoon/aiballoon.js +1 -1
  177. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  178. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  179. package/src/aiballoon/ui/aiballoonview.js +1 -1
  180. package/src/aichat/aichat.js +1 -1
  181. package/src/aichat/aichatcontroller.js +1 -1
  182. package/src/aichat/aichatui.js +1 -1
  183. package/src/aichat/model/aichatcontext.js +1 -1
  184. package/src/aichat/model/aichatconversation.js +1 -1
  185. package/src/aichat/model/aichatinteraction.js +1 -1
  186. package/src/aichat/model/aichatmodels.js +1 -1
  187. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  188. package/src/aichat/ui/aichatfeedview.js +1 -1
  189. package/src/aichat/ui/aichatheaderview.js +1 -1
  190. package/src/aichat/ui/aichatview.js +1 -1
  191. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  195. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  198. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  212. package/src/aichat/utils/eventnames.js +1 -1
  213. package/src/aichat/utils/promisequeue.js +1 -1
  214. package/src/aichat/utils/scrollmanager.js +1 -1
  215. package/src/aichathistory/aichathistory.js +1 -1
  216. package/src/aichathistory/aichathistorycontroller.js +1 -1
  217. package/src/aichathistory/aichathistoryui.js +1 -1
  218. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  219. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  221. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  223. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  224. package/src/aiconfig.d.ts +11 -0
  225. package/src/aicore/aiconnector.js +1 -1
  226. package/src/aicore/aiediting.js +1 -1
  227. package/src/aicore/model/aicapabilities.js +1 -1
  228. package/src/aicore/model/aicontext.js +1 -1
  229. package/src/aicore/model/aiinteraction.js +1 -1
  230. package/src/aicore/model/aireply.js +1 -1
  231. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  232. package/src/aicore/pipeline/airesponseparser.js +2 -2
  233. package/src/aicore/ui/aidisclaimerview.js +1 -1
  234. package/src/aicore/ui/aiskeleton.js +1 -1
  235. package/src/aicore/ui/aispinner.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  242. package/src/aicore/utils/common-translations.js +1 -1
  243. package/src/aicore/utils/createresizebutton.js +1 -1
  244. package/src/aicore/utils/documentposition.js +1 -1
  245. package/src/aicore/utils/documentrange.js +1 -1
  246. package/src/aicore/utils/eventnames.js +1 -1
  247. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  248. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  249. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  250. package/src/aicore/utils/htmlparser.js +1 -1
  251. package/src/aicore/utils/htmlstreamer.js +1 -1
  252. package/src/aiquickactions/aiquickactions.js +1 -1
  253. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  254. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  255. package/src/aiquickactions/aiquickactionsui.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  259. package/src/aiquickactions/utils/common-translations.js +1 -1
  260. package/src/aireviewmode/aireviewmode.js +1 -1
  261. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  262. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
  263. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  264. package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
  265. package/src/aireviewmode/aireviewmodeui.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  268. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  270. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  271. package/src/aireviewmode/model/aireviewcheckrun.d.ts +1 -0
  272. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  273. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  274. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  275. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  276. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +4 -0
  279. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  284. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  285. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  286. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  287. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  288. package/src/aireviewmode/utils/common-translations.js +1 -1
  289. package/src/aitabs/aitabs.js +1 -1
  290. package/src/aitabs/aitabsmainview.js +1 -1
  291. package/src/aitabs/tabs/aitabsview.js +1 -1
  292. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  293. package/src/aitabs/tabs/tabpanelview.js +1 -1
  294. package/src/index.js +1 -1
  295. package/theme/aireviewmode/aireviewmode-check-list.css +112 -11
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x960844=_0x2472;(function(_0x1221f9,_0x3dedea){const _0x826c82=_0x2472,_0x50e6ec=_0x1221f9();while(!![]){try{const _0x378761=-parseInt(_0x826c82(0xb4))/0x1+-parseInt(_0x826c82(0xbb))/0x2+-parseInt(_0x826c82(0xd5))/0x3+parseInt(_0x826c82(0xcd))/0x4+-parseInt(_0x826c82(0xbd))/0x5*(parseInt(_0x826c82(0xca))/0x6)+parseInt(_0x826c82(0xee))/0x7*(-parseInt(_0x826c82(0xb6))/0x8)+parseInt(_0x826c82(0xe7))/0x9*(parseInt(_0x826c82(0xac))/0xa);if(_0x378761===_0x3dedea)break;else _0x50e6ec['push'](_0x50e6ec['shift']());}catch(_0x48ff65){_0x50e6ec['push'](_0x50e6ec['shift']());}}}(_0x151a,0xec7ce));import{Collection as _0x443443}from'ckeditor5/src/utils.js';import{IconAI as _0x3eccbd,IconBulb as _0x2a3188,IconWeb as _0x3d2a7a}from'@ckeditor/ckeditor5-icons';function _0x2472(_0x1a6103,_0x992dcd){const _0x151ab6=_0x151a();return _0x2472=function(_0x2472c0,_0x4ab40c){_0x2472c0=_0x2472c0-0xa8;let _0x1b043a=_0x151ab6[_0x2472c0];return _0x1b043a;},_0x2472(_0x1a6103,_0x992dcd);}import{addListToDropdown as _0x4ffce4,ButtonLabelView as _0x5406e5,ButtonView as _0x4c64f4,createDropdown as _0x365a08,IconView as _0x50f9f1,UIModel as _0x3da1a4,View as _0x1f8759}from'ckeditor5/src/ui.js';import{getTranslation as _0x59c461}from'../../../aicore/utils/common-translations.js';const No=_0x960844(0x100),Eo=_0x960844(0xf8),Ho=_0x960844(0x108),Mo=_0x960844(0xc3),Lo=_0x960844(0xdb),Ro=_0x960844(0xda),Do=_0x960844(0xc9),Po='n';export class AIChatPromptCapabilitiesView extends _0x1f8759{[_0x960844(0xc5)];[_0x960844(0x105)];[_0x960844(0xa9)];[_0x960844(0xae)];[_0x960844(0xaa)];[_0x960844(0xe2)];constructor(_0xcd881c){const _0x366473=_0x960844;super(_0xcd881c),this[_0x366473(0xcf)](_0x366473(0xc6),!0x1),this[_0x366473(0xcf)](_0x366473(0xe0),!0x1),this[_0x366473(0xcf)](_0x366473(0xd8),!0x0),this[_0x366473(0xcf)](_0x366473(0xc0),!0x0),this[_0x366473(0xcf)](_0x366473(0x104),''),this[_0x366473(0xcf)](_0x366473(0xbf),''),this[_0x366473(0xae)]=this[_0x366473(0xde)](),this[_0x366473(0xe2)]=this[_0x366473(0x10a)](),this[_0x366473(0xc5)]=this[_0x366473(0xd9)](),this[_0x366473(0x105)]=this[_0x366473(0xf2)](),this[_0x366473(0xa9)]=this[_0x366473(0xb9)](),this[_0x366473(0xae)][_0x366473(0xfd)][_0x366473(0xcb)](_0x366473(0xf9))['to'](this,_0x366473(0xd8),_0x2b2a1d=>_0x2b2a1d),this[_0x366473(0xae)][_0x366473(0xfd)][_0x366473(0xcb)](_0x366473(0xb1))['to'](this,_0x366473(0xc0),_0x1e1a5a=>_0x1e1a5a?this[_0x366473(0xae)][_0x366473(0xfd)][_0x366473(0xb7)]:_0x59c461(this[_0x366473(0xb0)],_0x366473(0xe6))),this[_0x366473(0xae)][_0x366473(0xcb)](_0x366473(0xed))['to'](this,_0x366473(0xc0),_0x4b1eb0=>_0x4b1eb0),this[_0x366473(0xc5)][_0x366473(0xcb)](_0x366473(0xc8))['to'](this,_0x366473(0xc6),_0x398a64=>_0x398a64),this[_0x366473(0xc5)][_0x366473(0xcb)](_0x366473(0xf1))['to'](this,_0x366473(0xd8),_0x12269f=>!_0x12269f),this[_0x366473(0xc5)][_0x366473(0xcb)](_0x366473(0xb1))['to'](this,_0x366473(0xc6),_0x6e0a5d=>_0x59c461(this[_0x366473(0xb0)],_0x6e0a5d?_0x366473(0xc7):_0x366473(0xb2))),this[_0x366473(0x105)][_0x366473(0xcb)](_0x366473(0xc8))['to'](this,_0x366473(0xe0),_0x32f068=>_0x32f068),this[_0x366473(0x105)][_0x366473(0xcb)](_0x366473(0xf1))['to'](this,_0x366473(0xd8),_0x2dfe44=>!_0x2dfe44),this[_0x366473(0x105)][_0x366473(0xcb)](_0x366473(0xb1))['to'](this,_0x366473(0xe0),_0x59d172=>_0x59c461(this[_0x366473(0xb0)],_0x59d172?_0x366473(0x103):_0x366473(0xd3))),this[_0x366473(0xb5)]({'tag':_0x366473(0xd0),'attributes':{'class':[No]},'children':[this[_0x366473(0xae)],this[_0x366473(0xe2)],this[_0x366473(0xc5)],this[_0x366473(0x105)],this[_0x366473(0xa9)]]}),this[_0x366473(0xaa)]=new _0x443443(),_0x4ffce4(this[_0x366473(0xae)],this[_0x366473(0xaa)]);}[_0x960844(0xec)](_0x3d91df,_0x31f5ee){const _0x5ee214=_0x960844;if(this[_0x5ee214(0xcf)](_0x5ee214(0xd8),!(_0x31f5ee&&_0x3d91df[_0x5ee214(0xe1)]<=0x1)),this[_0x5ee214(0xaa)][_0x5ee214(0xe4)](),_0x3d91df?.[_0x5ee214(0xe1)])for(const _0xa83c of _0x3d91df){const _0x409e26=new _0x3da1a4({'label':_0xa83c[_0x5ee214(0xf5)],'withText':!0x0,'role':_0x5ee214(0xeb),'id':_0xa83c['id'],'model':_0xa83c});_0x409e26[_0x5ee214(0xcb)](_0x5ee214(0xc8))['to'](this,_0x5ee214(0x104),_0x597bc0=>_0x597bc0===_0xa83c['id']),this[_0x5ee214(0xaa)][_0x5ee214(0xcc)]({'type':_0x5ee214(0xaf),'model':_0x409e26,'labelView':new Wo(this[_0x5ee214(0xb0)],_0xa83c)});}}[_0x960844(0xbe)](_0x4fc4e2){const _0x58d3d7=_0x960844;this[_0x58d3d7(0xcf)](_0x58d3d7(0xc6),_0x4fc4e2);}[_0x960844(0xf4)](_0x3169f0){const _0x554768=_0x960844;this[_0x554768(0xcf)](_0x554768(0xe0),_0x3169f0);}[_0x960844(0xc4)](_0x2aed05){const _0x2e91c7=_0x960844;if(!_0x2aed05)return;this[_0x2e91c7(0x104)]=_0x2aed05['id'],this[_0x2e91c7(0xbf)]=_0x2aed05[_0x2e91c7(0xf5)]||_0x2aed05['id'],this[_0x2e91c7(0xae)][_0x2e91c7(0xfd)][_0x2e91c7(0xcf)](_0x2e91c7(0xb7),_0x2aed05[_0x2e91c7(0xf5)]),this[_0x2e91c7(0xae)][_0x2e91c7(0xfd)][_0x2e91c7(0xcf)](_0x2e91c7(0xb1),_0x2aed05[_0x2e91c7(0xf5)]);const _0xb093da=_0x2aed05[_0x2e91c7(0xfa)][_0x2e91c7(0xdf)]?.[_0x2e91c7(0xba)]??!0x1;this[_0x2e91c7(0xcf)](_0x2e91c7(0xc6),!0x1),this[_0x2e91c7(0xc5)][_0x2e91c7(0xcf)](_0x2e91c7(0xc8),!0x1),this[_0x2e91c7(0xc5)][_0x2e91c7(0xcf)](_0x2e91c7(0xed),_0xb093da),this[_0x2e91c7(0xc5)][_0x2e91c7(0xcf)](_0x2e91c7(0xf9),_0xb093da);const _0x322edf=_0x2aed05[_0x2e91c7(0xfa)][_0x2e91c7(0xd1)]?.[_0x2e91c7(0xba)]??!0x1;this[_0x2e91c7(0xcf)](_0x2e91c7(0xe0),!0x1),this[_0x2e91c7(0x105)][_0x2e91c7(0xcf)](_0x2e91c7(0xc8),!0x1),this[_0x2e91c7(0x105)][_0x2e91c7(0xcf)](_0x2e91c7(0xed),_0x322edf),this[_0x2e91c7(0x105)][_0x2e91c7(0xcf)](_0x2e91c7(0xf9),_0x322edf);}[_0x960844(0xc2)](){const _0x28e641=_0x960844;this[_0x28e641(0xcf)](_0x28e641(0xc0),!0x0),this[_0x28e641(0xcf)](_0x28e641(0xd8),!0x0);}[_0x960844(0xf6)](_0x3bb33a){const _0x57604b=_0x960844;this[_0x57604b(0xcf)](_0x57604b(0xc0),!0x1),_0x3bb33a&&this[_0x57604b(0xcf)](_0x57604b(0xd8),!0x1);}[_0x960844(0xd9)](){const _0x4e8f5a=_0x960844,_0x4677ea=new _0x4c64f4();return _0x4677ea[_0x4e8f5a(0xcf)]({'label':_0x59c461(this[_0x4e8f5a(0xb0)],_0x4e8f5a(0xad)),'icon':_0x3d2a7a,'class':Eo,'isToggleable':!0x0,'tooltipPosition':Po}),_0x4677ea['on'](_0x4e8f5a(0xa8),()=>{const _0x342b8f=_0x4e8f5a;this[_0x342b8f(0xab)](_0x342b8f(0x101));}),_0x4677ea;}[_0x960844(0xf2)](){const _0x35f8a5=_0x960844,_0x33fd80=new _0x4c64f4();return _0x33fd80[_0x35f8a5(0xcf)]({'label':_0x59c461(this[_0x35f8a5(0xb0)],_0x35f8a5(0xea)),'icon':_0x2a3188,'class':Eo,'isToggleable':!0x0,'tooltipPosition':Po}),_0x33fd80['on'](_0x35f8a5(0xa8),()=>{const _0x2e8a9e=_0x35f8a5;this[_0x2e8a9e(0xab)](_0x2e8a9e(0xe9));}),_0x33fd80;}[_0x960844(0xb9)](){const _0x1bc935=_0x960844,_0x4d3714=new _0x4c64f4();return _0x4d3714[_0x1bc935(0xcf)]({'label':_0x59c461(this[_0x1bc935(0xb0)],_0x1bc935(0xf7)),'icon':_0x3eccbd,'withText':!0x0,'class':Eo,'isToggleable':!0x0,'tooltip':_0x59c461(this[_0x1bc935(0xb0)],_0x1bc935(0xf7)),'tooltipPosition':Po}),_0x4d3714[_0x1bc935(0xfc)]({'attributes':{'class':[Ho]}}),_0x4d3714['on'](_0x1bc935(0xa8),()=>{const _0x5f47c5=_0x1bc935;console[_0x5f47c5(0xc1)](_0x5f47c5(0x109)),alert(_0x5f47c5(0x109));}),_0x4d3714;}[_0x960844(0xde)](){const _0xd05677=_0x960844,_0x204f59=_0x365a08(this[_0xd05677(0xb0)]);return _0x204f59[_0xd05677(0xcf)]({'panelPosition':'ne','class':[Mo]}),_0x204f59[_0xd05677(0xfd)][_0xd05677(0xcf)]({'label':_0x59c461(this[_0xd05677(0xb0)],_0xd05677(0xef)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Po}),this[_0xd05677(0xce)](_0x204f59,_0xd05677(0xa8),_0x219b63=>{const _0x1174d7=_0xd05677;this[_0x1174d7(0xab)](_0x1174d7(0xe5),_0x219b63[_0x1174d7(0x107)][_0x1174d7(0xdc)]);}),_0x204f59;}[_0x960844(0x10a)](){const _0x2c2723=_0x960844,_0x58072d=new yo(this[_0x2c2723(0xb0)]);return _0x58072d[_0x2c2723(0xcb)](_0x2c2723(0xb3))['to'](this,_0x2c2723(0xbf),_0x2aa074=>_0x2aa074??''),_0x58072d[_0x2c2723(0xcb)](_0x2c2723(0xf9))['to'](this,_0x2c2723(0xd8),this,_0x2c2723(0xbf),(_0xe34a10,_0x42ffbc)=>!_0xe34a10&&!_0x42ffbc?.[_0x2c2723(0xd4)]()[_0x2c2723(0x102)](_0x2c2723(0xf0))),_0x58072d;}}class Wo extends _0x5406e5{constructor(_0x579360,_0x3a1ec4){const _0x178c8f=_0x960844;super();const _0x62552=this[_0x178c8f(0xf3)],_0x5abad9=this[_0x178c8f(0xff)]();this[_0x178c8f(0xb5)]({'tag':_0x178c8f(0xd0),'attributes':{'class':['ck',_0x178c8f(0x106)],'style':_0x62552['to'](_0x178c8f(0xe3)),'id':_0x62552['to']('id')},'children':[{'tag':_0x178c8f(0xd0),'attributes':{'class':[Lo]},'children':[{'text':_0x62552['to'](_0x178c8f(0xb3))}]},{'tag':_0x178c8f(0xd0),'attributes':{'class':[Ro]},'children':[{'tag':_0x178c8f(0xfb),'children':[{'text':_0x3a1ec4[_0x178c8f(0xbc)]}]}]},{'tag':_0x178c8f(0xd0),'attributes':{'class':[Do]},'children':_0x5abad9}]}),_0x5abad9[_0x178c8f(0xfe)](this[_0x178c8f(0xd2)](_0x579360,_0x3d2a7a,_0x178c8f(0xad),_0x3a1ec4[_0x178c8f(0xfa)][_0x178c8f(0xdf)]?.[_0x178c8f(0xba)]??!0x1)),_0x5abad9[_0x178c8f(0xfe)](this[_0x178c8f(0xd2)](_0x579360,_0x2a3188,_0x178c8f(0xea),_0x3a1ec4[_0x178c8f(0xfa)][_0x178c8f(0xd1)]?.[_0x178c8f(0xba)]??!0x1));}[_0x960844(0xd2)](_0x6cf78a,_0x569333,_0x41cb99,_0x38319e){const _0x3f9055=_0x960844,_0x43bf6c=new _0x50f9f1();_0x43bf6c[_0x3f9055(0xb8)]=_0x569333;const _0x58ec49=new _0x1f8759(_0x6cf78a);_0x58ec49[_0x3f9055(0xb5)]({'tag':_0x3f9055(0xfb),'children':[{'text':_0x59c461(_0x6cf78a,_0x41cb99)+':\x20'}]});const _0x19b909=new _0x1f8759(_0x6cf78a);return _0x19b909[_0x3f9055(0xb5)]({'tag':_0x3f9055(0xfb),'children':[{'text':_0x59c461(_0x6cf78a,_0x38319e?_0x3f9055(0xd6):_0x3f9055(0xdd))}]}),[_0x43bf6c,_0x58ec49,_0x19b909];}}class yo extends _0x1f8759{constructor(_0x2f857b){const _0xc42ef7=_0x960844;super(_0x2f857b),this[_0xc42ef7(0xcf)](_0xc42ef7(0xb3),void 0x0),this[_0xc42ef7(0xcf)](_0xc42ef7(0xf9),!0x0);const _0x598732=this[_0xc42ef7(0xf3)];this[_0xc42ef7(0xb5)]({'tag':_0xc42ef7(0xfb),'attributes':{'class':['ck',_0xc42ef7(0xe8),_0x598732['if'](_0xc42ef7(0xf9),_0xc42ef7(0xd7),_0x3a0699=>!_0x3a0699)]},'children':[{'text':_0x598732['to'](_0xc42ef7(0xb3))}]});}}function _0x151a(){const _0x35d20d=['length','_modelNameView','style','clear','selectModel','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','41948415DxEaNV','ck-ai-chat-controls__model-name','toggleReasoning','AI_CHAT_REASONING','menuitemradio','setModelList','isEnabled','6459138DGbLNi','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','agent','withText','_createReasoningButton','bindTemplate','setReasoning','name','disableModelSelector','AI_CHAT_COMMANDS','ck-ai-chat-controls-button','isVisible','capabilities','span','extendTemplate','buttonView','addMany','createCollection','ck-ai-chat__prompt-capabilities','toggleWebSearch','startsWith','AI_CHAT_DISABLE_REASONING','activeModelId','_reasoningButton','ck-button__label','source','ck-ai-chat-controls-button--commands','Commands\x20are\x20not\x20implemented\x20yet.','_createModelNameView','execute','_commandsButton','_modelSelectionDropdownItems','fire','10RdTaWJ','AI_CHAT_SEARCH_WEB','_modelSelectionDropdown','button','locale','tooltip','AI_CHAT_ENABLE_WEB_SEARCH','text','16286GrbMZi','setTemplate','16aNXDvU','label','content','_createCommandsButton','enabled','1755824hXsCZR','description','1097735XrKXdk','setWebSearch','activeModelName','modelSelectorEnabled','log','enableModelSelector','ck-ai-chat-controls__model-selection','setModel','_webSearchButton','webSearchActive','AI_CHAT_DISABLE_WEB_SEARCH','isOn','ck-ai-chat-controls__model-selection__item-capabilities','24dwzPwp','bind','add','1092508BpfweA','listenTo','set','div','reasoning','_getCapabilityParts','AI_CHAT_ENABLE_REASONING','toLowerCase','1042662uklomG','AI_CHAT_CAPABILITIES_YES','ck-hidden','modelSelectorVisible','_createWebSearchButton','ck-ai-chat-controls__model-selection__item-description','ck-ai-chat-controls__model-selection__item-name','model','AI_CHAT_CAPABILITIES_NO','_createModelSelectionDropdown','webSearch','reasoningActive'];_0x151a=function(){return _0x35d20d;};return _0x151a();}
23
+ const _0xbb5071=_0x3f85;(function(_0x197843,_0x135cdd){const _0x202a42=_0x3f85,_0x563f2f=_0x197843();while(!![]){try{const _0x5ee334=parseInt(_0x202a42(0x11c))/0x1*(-parseInt(_0x202a42(0x14f))/0x2)+-parseInt(_0x202a42(0x12b))/0x3*(parseInt(_0x202a42(0x12f))/0x4)+-parseInt(_0x202a42(0x16a))/0x5+parseInt(_0x202a42(0x161))/0x6+parseInt(_0x202a42(0x165))/0x7*(parseInt(_0x202a42(0x136))/0x8)+-parseInt(_0x202a42(0x154))/0x9+-parseInt(_0x202a42(0x130))/0xa*(-parseInt(_0x202a42(0x12a))/0xb);if(_0x5ee334===_0x135cdd)break;else _0x563f2f['push'](_0x563f2f['shift']());}catch(_0x5841d6){_0x563f2f['push'](_0x563f2f['shift']());}}}(_0x2a39,0x925dd));import{Collection as _0x23106f}from'ckeditor5/src/utils.js';import{IconAI as _0x133735,IconBulb as _0x454b19,IconWeb as _0x592864}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x155cbb,ButtonLabelView as _0x29a7e9,ButtonView as _0x427c25,createDropdown as _0x170d91,IconView as _0x440dc3,UIModel as _0x4ba938,View as _0x5089c6}from'ckeditor5/src/ui.js';import{getTranslation as _0x3132b4}from'../../../aicore/utils/common-translations.js';function _0x3f85(_0xb8bede,_0x1685e1){const _0x2a3990=_0x2a39();return _0x3f85=function(_0x3f8571,_0x47c849){_0x3f8571=_0x3f8571-0x115;let _0x49db13=_0x2a3990[_0x3f8571];return _0x49db13;},_0x3f85(_0xb8bede,_0x1685e1);}const Ho=_0xbb5071(0x164),Vo=_0xbb5071(0x123),Mo=_0xbb5071(0x142),Lo=_0xbb5071(0x14e),Do=_0xbb5071(0x147),Wo=_0xbb5071(0x129),yo=_0xbb5071(0x11b),Go='n';export class AIChatPromptCapabilitiesView extends _0x5089c6{[_0xbb5071(0x152)];[_0xbb5071(0x144)];[_0xbb5071(0x141)];[_0xbb5071(0x12e)];[_0xbb5071(0x118)];[_0xbb5071(0x16c)];constructor(_0x362817){const _0x361def=_0xbb5071;super(_0x362817),this[_0x361def(0x139)](_0x361def(0x16e),!0x1),this[_0x361def(0x139)](_0x361def(0x151),!0x1),this[_0x361def(0x139)](_0x361def(0x145),!0x0),this[_0x361def(0x139)](_0x361def(0x15c),!0x0),this[_0x361def(0x139)](_0x361def(0x176),''),this[_0x361def(0x139)](_0x361def(0x11e),''),this[_0x361def(0x12e)]=this[_0x361def(0x140)](),this[_0x361def(0x16c)]=this[_0x361def(0x169)](),this[_0x361def(0x152)]=this[_0x361def(0x12c)](),this[_0x361def(0x144)]=this[_0x361def(0x162)](),this[_0x361def(0x141)]=this[_0x361def(0x138)](),this[_0x361def(0x12e)][_0x361def(0x153)][_0x361def(0x120)](_0x361def(0x143))['to'](this,_0x361def(0x145),_0x1acfd3=>_0x1acfd3),this[_0x361def(0x12e)][_0x361def(0x153)][_0x361def(0x120)](_0x361def(0x15b))['to'](this,_0x361def(0x15c),_0x48eff2=>_0x48eff2?this[_0x361def(0x12e)][_0x361def(0x153)][_0x361def(0x158)]:_0x3132b4(this[_0x361def(0x146)],_0x361def(0x168))),this[_0x361def(0x12e)][_0x361def(0x120)](_0x361def(0x135))['to'](this,_0x361def(0x15c),_0x1c217e=>_0x1c217e),this[_0x361def(0x152)][_0x361def(0x120)](_0x361def(0x137))['to'](this,_0x361def(0x16e),_0xc8d5a4=>_0xc8d5a4),this[_0x361def(0x152)][_0x361def(0x120)](_0x361def(0x128))['to'](this,_0x361def(0x145),_0x4e8ec3=>!_0x4e8ec3),this[_0x361def(0x152)][_0x361def(0x120)](_0x361def(0x15b))['to'](this,_0x361def(0x16e),_0x56cc15=>_0x3132b4(this[_0x361def(0x146)],_0x56cc15?_0x361def(0x15e):_0x361def(0x13f))),this[_0x361def(0x144)][_0x361def(0x120)](_0x361def(0x137))['to'](this,_0x361def(0x151),_0x50503f=>_0x50503f),this[_0x361def(0x144)][_0x361def(0x120)](_0x361def(0x128))['to'](this,_0x361def(0x145),_0x4ba0c3=>!_0x4ba0c3),this[_0x361def(0x144)][_0x361def(0x120)](_0x361def(0x15b))['to'](this,_0x361def(0x151),_0x301468=>_0x3132b4(this[_0x361def(0x146)],_0x301468?_0x361def(0x175):_0x361def(0x174))),this[_0x361def(0x11a)]({'tag':_0x361def(0x171),'attributes':{'class':[Ho]},'children':[this[_0x361def(0x12e)],this[_0x361def(0x16c)],this[_0x361def(0x152)],this[_0x361def(0x144)],this[_0x361def(0x141)]]}),this[_0x361def(0x118)]=new _0x23106f(),_0x155cbb(this[_0x361def(0x12e)],this[_0x361def(0x118)]);}[_0xbb5071(0x15a)](_0x2f7467,_0x4827ab){const _0x853eb0=_0xbb5071;if(this[_0x853eb0(0x139)](_0x853eb0(0x145),!(_0x4827ab&&_0x2f7467[_0x853eb0(0x14a)]<=0x1)),this[_0x853eb0(0x118)][_0x853eb0(0x117)](),_0x2f7467?.[_0x853eb0(0x14a)])for(const _0x2c835f of _0x2f7467){const _0x4d1584=new _0x4ba938({'label':_0x2c835f[_0x853eb0(0x149)],'withText':!0x0,'role':_0x853eb0(0x131),'id':_0x2c835f['id'],'model':_0x2c835f});_0x4d1584[_0x853eb0(0x120)](_0x853eb0(0x137))['to'](this,_0x853eb0(0x176),_0x549f37=>_0x549f37===_0x2c835f['id']),this[_0x853eb0(0x118)][_0x853eb0(0x125)]({'type':_0x853eb0(0x173),'model':_0x4d1584,'labelView':new js(this[_0x853eb0(0x146)],_0x2c835f)});}}[_0xbb5071(0x160)](_0x35e3d3){const _0x1ed985=_0xbb5071;this[_0x1ed985(0x139)](_0x1ed985(0x16e),_0x35e3d3);}[_0xbb5071(0x148)](_0x42ffd5){const _0x1c7f4e=_0xbb5071;this[_0x1c7f4e(0x139)](_0x1c7f4e(0x151),_0x42ffd5);}[_0xbb5071(0x13b)](_0x109988){const _0x2dfe84=_0xbb5071;if(!_0x109988)return;this[_0x2dfe84(0x176)]=_0x109988['id'],this[_0x2dfe84(0x11e)]=_0x109988[_0x2dfe84(0x149)]||_0x109988['id'],this[_0x2dfe84(0x12e)][_0x2dfe84(0x153)][_0x2dfe84(0x139)](_0x2dfe84(0x158),_0x109988[_0x2dfe84(0x149)]),this[_0x2dfe84(0x12e)][_0x2dfe84(0x153)][_0x2dfe84(0x139)](_0x2dfe84(0x15b),_0x109988[_0x2dfe84(0x149)]);const _0x1f20aa=_0x109988[_0x2dfe84(0x133)][_0x2dfe84(0x13d)]?.[_0x2dfe84(0x16b)]??!0x1;this[_0x2dfe84(0x139)](_0x2dfe84(0x16e),!0x1),this[_0x2dfe84(0x152)][_0x2dfe84(0x139)](_0x2dfe84(0x137),!0x1),this[_0x2dfe84(0x152)][_0x2dfe84(0x139)](_0x2dfe84(0x135),_0x1f20aa),this[_0x2dfe84(0x152)][_0x2dfe84(0x139)](_0x2dfe84(0x143),_0x1f20aa);const _0x1c234d=_0x109988[_0x2dfe84(0x133)][_0x2dfe84(0x172)]?.[_0x2dfe84(0x16b)]??!0x1;this[_0x2dfe84(0x139)](_0x2dfe84(0x151),!0x1),this[_0x2dfe84(0x144)][_0x2dfe84(0x139)](_0x2dfe84(0x137),!0x1),this[_0x2dfe84(0x144)][_0x2dfe84(0x139)](_0x2dfe84(0x135),_0x1c234d),this[_0x2dfe84(0x144)][_0x2dfe84(0x139)](_0x2dfe84(0x143),_0x1c234d);}[_0xbb5071(0x126)](){const _0x11e7d1=_0xbb5071;this[_0x11e7d1(0x139)](_0x11e7d1(0x15c),!0x0),this[_0x11e7d1(0x139)](_0x11e7d1(0x145),!0x0);}[_0xbb5071(0x14b)](_0x2aa0b6){const _0x38f484=_0xbb5071;this[_0x38f484(0x139)](_0x38f484(0x15c),!0x1),_0x2aa0b6&&this[_0x38f484(0x139)](_0x38f484(0x145),!0x1);}[_0xbb5071(0x12c)](){const _0x4d10c9=_0xbb5071,_0x50b2e6=new _0x427c25();return _0x50b2e6[_0x4d10c9(0x139)]({'label':_0x3132b4(this[_0x4d10c9(0x146)],_0x4d10c9(0x16f)),'icon':_0x592864,'class':Vo,'isToggleable':!0x0,'tooltipPosition':Go}),_0x50b2e6['on'](_0x4d10c9(0x11f),()=>{const _0x7576b5=_0x4d10c9;this[_0x7576b5(0x163)](_0x7576b5(0x122));}),_0x50b2e6;}[_0xbb5071(0x162)](){const _0x3817f4=_0xbb5071,_0x44b027=new _0x427c25();return _0x44b027[_0x3817f4(0x139)]({'label':_0x3132b4(this[_0x3817f4(0x146)],_0x3817f4(0x15f)),'icon':_0x454b19,'class':Vo,'isToggleable':!0x0,'tooltipPosition':Go}),_0x44b027['on'](_0x3817f4(0x11f),()=>{const _0x3b59f0=_0x3817f4;this[_0x3b59f0(0x163)](_0x3b59f0(0x177));}),_0x44b027;}[_0xbb5071(0x138)](){const _0x4c5585=_0xbb5071,_0x3411eb=new _0x427c25();return _0x3411eb[_0x4c5585(0x139)]({'label':_0x3132b4(this[_0x4c5585(0x146)],_0x4c5585(0x15d)),'icon':_0x133735,'withText':!0x0,'class':Vo,'isToggleable':!0x0,'tooltip':_0x3132b4(this[_0x4c5585(0x146)],_0x4c5585(0x15d)),'tooltipPosition':Go}),_0x3411eb[_0x4c5585(0x12d)]({'attributes':{'class':[Mo]}}),_0x3411eb['on'](_0x4c5585(0x11f),()=>{const _0xb083d3=_0x4c5585;console[_0xb083d3(0x155)](_0xb083d3(0x115)),alert(_0xb083d3(0x115));}),_0x3411eb;}[_0xbb5071(0x140)](){const _0x55ddc0=_0xbb5071,_0x2dc2fd=_0x170d91(this[_0x55ddc0(0x146)]);return _0x2dc2fd[_0x55ddc0(0x139)]({'panelPosition':'ne','class':[Lo]}),_0x2dc2fd[_0x55ddc0(0x153)][_0x55ddc0(0x139)]({'label':_0x3132b4(this[_0x55ddc0(0x146)],_0x55ddc0(0x167)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Go}),this[_0x55ddc0(0x13e)](_0x2dc2fd,_0x55ddc0(0x11f),_0xe9f21f=>{const _0x3152ec=_0x55ddc0;this[_0x3152ec(0x163)](_0x3152ec(0x119),_0xe9f21f[_0x3152ec(0x159)][_0x3152ec(0x150)]);}),_0x2dc2fd;}[_0xbb5071(0x169)](){const _0x2bab4a=_0xbb5071,_0x1051a6=new jo(this[_0x2bab4a(0x146)]);return _0x1051a6[_0x2bab4a(0x120)](_0x2bab4a(0x116))['to'](this,_0x2bab4a(0x11e),_0xdc425a=>_0xdc425a??''),_0x1051a6[_0x2bab4a(0x120)](_0x2bab4a(0x143))['to'](this,_0x2bab4a(0x145),this,_0x2bab4a(0x11e),(_0x4c614d,_0xcdf6cb)=>!_0x4c614d&&!_0xcdf6cb?.[_0x2bab4a(0x124)]()[_0x2bab4a(0x170)](_0x2bab4a(0x157))),_0x1051a6;}}function _0x2a39(){const _0x599eed=['ck-ai-chat-controls__model-name','toggleWebSearch','ck-ai-chat-controls-button','toLowerCase','add','enableModelSelector','ck-button__label','withText','ck-ai-chat-controls__model-selection__item-description','21319771ldjVfY','829119ZuWAlH','_createWebSearchButton','extendTemplate','_modelSelectionDropdown','4sJWuAT','10KGiMFe','menuitemradio','_getCapabilityParts','capabilities','AI_CHAT_CAPABILITIES_NO','isEnabled','106648LKPPoX','isOn','_createCommandsButton','set','addMany','setModel','style','webSearch','listenTo','AI_CHAT_ENABLE_WEB_SEARCH','_createModelSelectionDropdown','_commandsButton','ck-ai-chat-controls-button--commands','isVisible','_reasoningButton','modelSelectorVisible','locale','ck-ai-chat-controls__model-selection__item-name','setReasoning','name','length','disableModelSelector','createCollection','AI_CHAT_CAPABILITIES_YES','ck-ai-chat-controls__model-selection','22kwjoDq','model','reasoningActive','_webSearchButton','buttonView','8997633ySDlTC','log','span','agent','label','source','setModelList','tooltip','modelSelectorEnabled','AI_CHAT_COMMANDS','AI_CHAT_DISABLE_WEB_SEARCH','AI_CHAT_REASONING','setWebSearch','3261198uDgMTo','_createReasoningButton','fire','ck-ai-chat__prompt-capabilities','231RtAPzX','bindTemplate','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','_createModelNameView','4081330NBYpfe','enabled','_modelNameView','content','webSearchActive','AI_CHAT_SEARCH_WEB','startsWith','div','reasoning','button','AI_CHAT_ENABLE_REASONING','AI_CHAT_DISABLE_REASONING','activeModelId','toggleReasoning','ck-hidden','Commands\x20are\x20not\x20implemented\x20yet.','text','clear','_modelSelectionDropdownItems','selectModel','setTemplate','ck-ai-chat-controls__model-selection__item-capabilities','20884QUxWku','description','activeModelName','execute','bind'];_0x2a39=function(){return _0x599eed;};return _0x2a39();}class js extends _0x29a7e9{constructor(_0xb80530,_0xc285f0){const _0x34c4b4=_0xbb5071;super();const _0x1cb6d9=this[_0x34c4b4(0x166)],_0x301231=this[_0x34c4b4(0x14c)]();this[_0x34c4b4(0x11a)]({'tag':_0x34c4b4(0x171),'attributes':{'class':['ck',_0x34c4b4(0x127)],'style':_0x1cb6d9['to'](_0x34c4b4(0x13c)),'id':_0x1cb6d9['to']('id')},'children':[{'tag':_0x34c4b4(0x171),'attributes':{'class':[Do]},'children':[{'text':_0x1cb6d9['to'](_0x34c4b4(0x116))}]},{'tag':_0x34c4b4(0x171),'attributes':{'class':[Wo]},'children':[{'tag':_0x34c4b4(0x156),'children':[{'text':_0xc285f0[_0x34c4b4(0x11d)]}]}]},{'tag':_0x34c4b4(0x171),'attributes':{'class':[yo]},'children':_0x301231}]}),_0x301231[_0x34c4b4(0x13a)](this[_0x34c4b4(0x132)](_0xb80530,_0x592864,_0x34c4b4(0x16f),_0xc285f0[_0x34c4b4(0x133)][_0x34c4b4(0x13d)]?.[_0x34c4b4(0x16b)]??!0x1)),_0x301231[_0x34c4b4(0x13a)](this[_0x34c4b4(0x132)](_0xb80530,_0x454b19,_0x34c4b4(0x15f),_0xc285f0[_0x34c4b4(0x133)][_0x34c4b4(0x172)]?.[_0x34c4b4(0x16b)]??!0x1));}[_0xbb5071(0x132)](_0x26b568,_0x239ba2,_0xc360df,_0x27f463){const _0x1d97e3=_0xbb5071,_0x136ee4=new _0x440dc3();_0x136ee4[_0x1d97e3(0x16d)]=_0x239ba2;const _0x4a8f01=new _0x5089c6(_0x26b568);_0x4a8f01[_0x1d97e3(0x11a)]({'tag':_0x1d97e3(0x156),'children':[{'text':_0x3132b4(_0x26b568,_0xc360df)+':\x20'}]});const _0x6a3abb=new _0x5089c6(_0x26b568);return _0x6a3abb[_0x1d97e3(0x11a)]({'tag':_0x1d97e3(0x156),'children':[{'text':_0x3132b4(_0x26b568,_0x27f463?_0x1d97e3(0x14d):_0x1d97e3(0x134))}]}),[_0x136ee4,_0x4a8f01,_0x6a3abb];}}class jo extends _0x5089c6{constructor(_0x1ea46b){const _0x1d2a4c=_0xbb5071;super(_0x1ea46b),this[_0x1d2a4c(0x139)](_0x1d2a4c(0x116),void 0x0),this[_0x1d2a4c(0x139)](_0x1d2a4c(0x143),!0x0);const _0x543120=this[_0x1d2a4c(0x166)];this[_0x1d2a4c(0x11a)]({'tag':_0x1d2a4c(0x156),'attributes':{'class':['ck',_0x1d2a4c(0x121),_0x543120['if'](_0x1d2a4c(0x143),_0x1d2a4c(0x178),_0x44b598=>!_0x44b598)]},'children':[{'text':_0x543120['to'](_0x1d2a4c(0x116))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c0aad=_0xe853;(function(_0x510c7c,_0x2eec77){const _0x1940fa=_0xe853,_0x29bbc1=_0x510c7c();while(!![]){try{const _0x2199e7=-parseInt(_0x1940fa(0x178))/0x1+parseInt(_0x1940fa(0x196))/0x2*(-parseInt(_0x1940fa(0x199))/0x3)+-parseInt(_0x1940fa(0x195))/0x4+parseInt(_0x1940fa(0x1af))/0x5*(-parseInt(_0x1940fa(0x1b3))/0x6)+parseInt(_0x1940fa(0x1a7))/0x7*(-parseInt(_0x1940fa(0x18f))/0x8)+-parseInt(_0x1940fa(0x18e))/0x9*(parseInt(_0x1940fa(0x182))/0xa)+parseInt(_0x1940fa(0x17a))/0xb;if(_0x2199e7===_0x2eec77)break;else _0x29bbc1['push'](_0x29bbc1['shift']());}catch(_0x4b1acb){_0x29bbc1['push'](_0x29bbc1['shift']());}}}(_0x58e5,0xee2e2));function _0x58e5(){const _0xef9183=['window','MAX_ROWS','trim','placeholder','excludeScrollbarsAndBorders','render','1910985tCsrUr','enter','value','_queryViewResizeObserver','24MeucTT','submit','uiLanguageDirection','fieldWrapperChildren','minRows','target','add','176306eUxwUS','element','69559204hwsHmf','AI_CHAT_PROMPT_EMPTY_ERROR','_createSubmitButton','reset','fire','left','isUploadInProgress','fieldView','1200xaMEPd','bind','setPlaceholderText','isEmpty','requestAnimationFrame','setIsUploadInProgress','rtl','keystrokes','width','execute','ck-ai-chat__prompt-submit-button','AI_CHAT_LABEL_SUBMIT','78741mYgvMR','15060272nwArxq','maxRows','ck-ai-chat__prompt-input','locale','set','isEnabled','1075756oYBkmc','1422VmVQHW','errorText','submitButtonView','1863XOpilC','queryView','style','hasError','focusableChildren','extendTemplate','calc(','right','_setUpAddContextButtonPositioning','MIN_ROWS','destroy','sendUserMessage','_addContextButtonView','px\x20-\x20var(--ck-spacing-tiny))','7lyTkYC','update'];_0x58e5=function(){return _0xef9183;};return _0x58e5();}import{IconSubmit as _0x426b19}from'ckeditor5/src/icons.js';import{ButtonView as _0x57507c,AutocompleteView as _0x4a6caf,createLabeledTextarea as _0x14654b}from'ckeditor5/src/ui.js';import{global as _0x16ba44,isVisible as _0x3b0567,Rect as _0xc62ddb,ResizeObserver as _0x5c32ee}from'ckeditor5/src/utils.js';function _0xe853(_0x494fab,_0x22cfb8){const _0x58e522=_0x58e5();return _0xe853=function(_0xe853e6,_0x298fae){_0xe853e6=_0xe853e6-0x175;let _0x36c991=_0x58e522[_0xe853e6];return _0x36c991;},_0xe853(_0x494fab,_0x22cfb8);}import{getTranslation as _0x2dd1f3}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0xe1a09e}from'./aichatpromptsuggestionslistview.js';export class AIChatPromptInputView extends _0x4a6caf{[_0x3c0aad(0x198)];static [_0x3c0aad(0x1a2)]=0x1;static [_0x3c0aad(0x1aa)]=0xc;[_0x3c0aad(0x1a5)];[_0x3c0aad(0x1b2)];constructor(_0x40fcdb,_0x2e2852){const _0x34081d=_0x3c0aad;super(_0x40fcdb,{'queryView':{'label':'','creator':_0x14654b,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0xe1a09e(_0x40fcdb),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x34081d(0x193)](_0x34081d(0x185),!0x0),this[_0x34081d(0x193)](_0x34081d(0x180),!0x1),this[_0x34081d(0x1a5)]=_0x2e2852,this[_0x34081d(0x1b2)]=null,this[_0x34081d(0x19a)][_0x34081d(0x181)][_0x34081d(0x175)]=AIChatPromptInputView[_0x34081d(0x1a2)],this[_0x34081d(0x19a)][_0x34081d(0x181)][_0x34081d(0x190)]=AIChatPromptInputView[_0x34081d(0x1aa)],this[_0x34081d(0x19a)][_0x34081d(0x1b6)][_0x34081d(0x177)](this[_0x34081d(0x1a5)]),this[_0x34081d(0x1a1)](),this[_0x34081d(0x19e)]({'attributes':{'class':['ck',_0x34081d(0x191)]}}),this[_0x34081d(0x198)]=this[_0x34081d(0x17c)](),this[_0x34081d(0x198)][_0x34081d(0x183)](_0x34081d(0x194))['to'](this,_0x34081d(0x185),this,_0x34081d(0x180),(_0x245efa,_0x4b47f9)=>!_0x245efa&&!_0x4b47f9),this[_0x34081d(0x19d)][_0x34081d(0x177)](this[_0x34081d(0x198)]);}[_0x3c0aad(0x1ae)](){const _0x4699d2=_0x3c0aad;super[_0x4699d2(0x1ae)](),this[_0x4699d2(0x19a)][_0x4699d2(0x1b6)][_0x4699d2(0x177)](this[_0x4699d2(0x198)]),this[_0x4699d2(0x189)][_0x4699d2(0x193)](_0x4699d2(0x1b0),(_0x464ddd,_0x6fa216)=>{const _0x5763fa=_0x4699d2;this[_0x5763fa(0x180)]||this[_0x5763fa(0x185)]||_0x464ddd[_0x5763fa(0x176)]==this[_0x5763fa(0x19a)][_0x5763fa(0x181)][_0x5763fa(0x179)]&&(this[_0x5763fa(0x1b4)](),_0x6fa216());}),this[_0x4699d2(0x19a)][_0x4699d2(0x181)]['on'](_0x4699d2(0x1a8),()=>{const _0x50affb=_0x4699d2;this[_0x50affb(0x185)]=''===this[_0x50affb(0x19a)][_0x50affb(0x181)][_0x50affb(0x179)][_0x50affb(0x1b1)]?.[_0x50affb(0x1ab)]();});}[_0x3c0aad(0x1a3)](){const _0x339f5b=_0x3c0aad;super[_0x339f5b(0x1a3)](),this[_0x339f5b(0x1b2)]&&this[_0x339f5b(0x1b2)][_0x339f5b(0x1a3)]();}[_0x3c0aad(0x1b4)](){const _0x1733d2=_0x3c0aad,_0x2b2519=this[_0x1733d2(0x19a)][_0x1733d2(0x181)][_0x1733d2(0x179)][_0x1733d2(0x1b1)]?.[_0x1733d2(0x1ab)]();if(!_0x2b2519)return this[_0x1733d2(0x19a)][_0x1733d2(0x197)]=_0x2dd1f3(this[_0x1733d2(0x192)],_0x1733d2(0x17b)),void(this[_0x1733d2(0x19a)][_0x1733d2(0x181)][_0x1733d2(0x19c)]=!0x0);this[_0x1733d2(0x19a)][_0x1733d2(0x181)][_0x1733d2(0x19c)]=!0x1,this[_0x1733d2(0x17e)](_0x1733d2(0x1a4),_0x2b2519),this[_0x1733d2(0x19a)][_0x1733d2(0x181)][_0x1733d2(0x17d)]();}[_0x3c0aad(0x184)](_0x221f39){const _0x267245=_0x3c0aad;this[_0x267245(0x19a)][_0x267245(0x181)][_0x267245(0x193)](_0x267245(0x1ac),_0x221f39);}[_0x3c0aad(0x17c)](){const _0x3ec38b=_0x3c0aad,_0x3607b4=new _0x57507c(this[_0x3ec38b(0x192)]);return _0x3607b4[_0x3ec38b(0x193)]({'icon':_0x426b19,'label':_0x2dd1f3(this[_0x3ec38b(0x192)],_0x3ec38b(0x18d)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3ec38b(0x18c),'isEnabled':!0x1}),_0x3607b4['on'](_0x3ec38b(0x18b),()=>{const _0x188361=_0x3ec38b;this[_0x188361(0x1b4)]();}),_0x3607b4;}[_0x3c0aad(0x187)](_0x37aa49){const _0x5793d7=_0x3c0aad;this[_0x5793d7(0x180)]=_0x37aa49;}[_0x3c0aad(0x1a1)](){const _0x335fe6=_0x3c0aad,_0x4f46be=this[_0x335fe6(0x192)],_0x314b11=()=>{const _0x24dcff=_0x335fe6;_0x16ba44[_0x24dcff(0x1a9)][_0x24dcff(0x186)](()=>{const _0x28ced2=_0x24dcff;if(_0x3b0567(this[_0x28ced2(0x179)])){const _0x504241=new _0xc62ddb(this[_0x28ced2(0x19a)][_0x28ced2(0x181)][_0x28ced2(0x179)]),_0x1b79f2=new _0xc62ddb(this[_0x28ced2(0x1a5)][_0x28ced2(0x179)]),_0x41863f=_0x504241[_0x28ced2(0x18a)],_0x537728=_0x28ced2(0x188)===_0x4f46be[_0x28ced2(0x1b5)]?_0x28ced2(0x1a0):_0x28ced2(0x17f);_0x504241[_0x28ced2(0x1ad)]();const _0x272de4=_0x41863f-_0x504241[_0x28ced2(0x18a)]+0x1;this[_0x28ced2(0x1a5)][_0x28ced2(0x179)][_0x28ced2(0x19b)][_0x537728]=_0x28ced2(0x19f)+(_0x41863f-_0x1b79f2[_0x28ced2(0x18a)]-_0x272de4)+_0x28ced2(0x1a6);}});};this[_0x335fe6(0x19a)][_0x335fe6(0x181)]['on'](_0x335fe6(0x1a8),_0x314b11),this['on'](_0x335fe6(0x1ae),()=>{const _0x521159=_0x335fe6;_0x314b11(),this[_0x521159(0x1b2)]=new _0x5c32ee(this[_0x521159(0x19a)][_0x521159(0x181)][_0x521159(0x179)],()=>{_0x314b11();});});}}
23
+ const _0x4da0f2=_0xbeeb;(function(_0x327b59,_0x3e270e){const _0x4e8609=_0xbeeb,_0x174151=_0x327b59();while(!![]){try{const _0x247bd0=parseInt(_0x4e8609(0x128))/0x1*(parseInt(_0x4e8609(0xf9))/0x2)+parseInt(_0x4e8609(0x117))/0x3*(-parseInt(_0x4e8609(0xfa))/0x4)+-parseInt(_0x4e8609(0x134))/0x5*(parseInt(_0x4e8609(0x11b))/0x6)+-parseInt(_0x4e8609(0xf6))/0x7*(parseInt(_0x4e8609(0x12c))/0x8)+-parseInt(_0x4e8609(0x100))/0x9*(-parseInt(_0x4e8609(0x124))/0xa)+-parseInt(_0x4e8609(0x129))/0xb*(-parseInt(_0x4e8609(0x12a))/0xc)+parseInt(_0x4e8609(0x10a))/0xd;if(_0x247bd0===_0x3e270e)break;else _0x174151['push'](_0x174151['shift']());}catch(_0xe41e3d){_0x174151['push'](_0x174151['shift']());}}}(_0x2e5f,0x705ec));function _0x2e5f(){const _0x2f47a4=['sendUserMessage','rtl','execute','requestAnimationFrame','render','7TCbtyh','style','isEnabled','2aAILXE','204XZRFZq','setIsUploadInProgress','placeholder','MAX_ROWS','isUploadInProgress','uiLanguageDirection','909GBZObN','value','ck-ai-chat__prompt-input','reset','element','queryView','AI_CHAT_LABEL_SUBMIT','calc(','right','trim','3898167rEyTlM','width','hasError','minRows','_addContextButtonView','maxRows','enter','_createSubmitButton','fieldView','_queryViewResizeObserver','ck-ai-chat__prompt-submit-button','fieldWrapperChildren','extendTemplate','2244bLTOem','setPlaceholderText','isEmpty','add','51786vjTCjt','_setUpAddContextButtonPositioning','fire','submit','window','update','keystrokes','submitButtonView','px\x20-\x20var(--ck-spacing-tiny))','41970kEKYag','target','locale','excludeScrollbarsAndBorders','559057myOEBR','33YjVxcB','1139388GXeIdX','bind','6689656tyqbeT','set','errorText','AI_CHAT_PROMPT_EMPTY_ERROR','destroy','focusableChildren','MIN_ROWS','left','135cymzCv'];_0x2e5f=function(){return _0x2f47a4;};return _0x2e5f();}import{IconSubmit as _0x17e731}from'ckeditor5/src/icons.js';import{ButtonView as _0x56d874,AutocompleteView as _0x46b260,createLabeledTextarea as _0xe75254}from'ckeditor5/src/ui.js';import{global as _0x4242ec,isVisible as _0x1f48bb,Rect as _0x1451a9,ResizeObserver as _0x484825}from'ckeditor5/src/utils.js';import{getTranslation as _0x344a42}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x5c5eb6}from'./aichatpromptsuggestionslistview.js';import{escape as _0x2efccb}from'es-toolkit/compat';function _0xbeeb(_0xe4f138,_0x2bc66b){const _0x2e5ffe=_0x2e5f();return _0xbeeb=function(_0xbeebc4,_0x51637c){_0xbeebc4=_0xbeebc4-0xf3;let _0x36c6e6=_0x2e5ffe[_0xbeebc4];return _0x36c6e6;},_0xbeeb(_0xe4f138,_0x2bc66b);}export class AIChatPromptInputView extends _0x46b260{[_0x4da0f2(0x122)];static [_0x4da0f2(0x132)]=0x1;static [_0x4da0f2(0xfd)]=0xc;[_0x4da0f2(0x10e)];[_0x4da0f2(0x113)];constructor(_0x15ee49,_0x55be56){const _0xe4d68e=_0x4da0f2;super(_0x15ee49,{'queryView':{'label':'','creator':_0xe75254,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x5c5eb6(_0x15ee49),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0xe4d68e(0x12d)](_0xe4d68e(0x119),!0x0),this[_0xe4d68e(0x12d)](_0xe4d68e(0xfe),!0x1),this[_0xe4d68e(0x10e)]=_0x55be56,this[_0xe4d68e(0x113)]=null,this[_0xe4d68e(0x105)][_0xe4d68e(0x112)][_0xe4d68e(0x10d)]=AIChatPromptInputView[_0xe4d68e(0x132)],this[_0xe4d68e(0x105)][_0xe4d68e(0x112)][_0xe4d68e(0x10f)]=AIChatPromptInputView[_0xe4d68e(0xfd)],this[_0xe4d68e(0x105)][_0xe4d68e(0x115)][_0xe4d68e(0x11a)](this[_0xe4d68e(0x10e)]),this[_0xe4d68e(0x11c)](),this[_0xe4d68e(0x116)]({'attributes':{'class':['ck',_0xe4d68e(0x102)]}}),this[_0xe4d68e(0x122)]=this[_0xe4d68e(0x111)](),this[_0xe4d68e(0x122)][_0xe4d68e(0x12b)](_0xe4d68e(0xf8))['to'](this,_0xe4d68e(0x119),this,_0xe4d68e(0xfe),(_0x3b0b7a,_0x530c74)=>!_0x3b0b7a&&!_0x530c74),this[_0xe4d68e(0x131)][_0xe4d68e(0x11a)](this[_0xe4d68e(0x122)]);}[_0x4da0f2(0xf5)](){const _0x3bb9df=_0x4da0f2;super[_0x3bb9df(0xf5)](),this[_0x3bb9df(0x105)][_0x3bb9df(0x115)][_0x3bb9df(0x11a)](this[_0x3bb9df(0x122)]),this[_0x3bb9df(0x121)][_0x3bb9df(0x12d)](_0x3bb9df(0x110),(_0xfec2d6,_0x2d663b)=>{const _0x483859=_0x3bb9df;this[_0x483859(0xfe)]||this[_0x483859(0x119)]||_0xfec2d6[_0x483859(0x125)]==this[_0x483859(0x105)][_0x483859(0x112)][_0x483859(0x104)]&&(this[_0x483859(0x11e)](),_0x2d663b());}),this[_0x3bb9df(0x105)][_0x3bb9df(0x112)]['on'](_0x3bb9df(0x120),()=>{const _0x2b506c=_0x3bb9df;this[_0x2b506c(0x119)]=''===this[_0x2b506c(0x105)][_0x2b506c(0x112)][_0x2b506c(0x104)][_0x2b506c(0x101)]?.[_0x2b506c(0x109)]();});}[_0x4da0f2(0x130)](){const _0x4816b2=_0x4da0f2;super[_0x4816b2(0x130)](),this[_0x4816b2(0x113)]&&this[_0x4816b2(0x113)][_0x4816b2(0x130)]();}[_0x4da0f2(0x11e)](){const _0x5ed793=_0x4da0f2,_0x2c1547=this[_0x5ed793(0x105)][_0x5ed793(0x112)][_0x5ed793(0x104)][_0x5ed793(0x101)]?.[_0x5ed793(0x109)]();if(!_0x2c1547)return this[_0x5ed793(0x105)][_0x5ed793(0x12e)]=_0x344a42(this[_0x5ed793(0x126)],_0x5ed793(0x12f)),void(this[_0x5ed793(0x105)][_0x5ed793(0x112)][_0x5ed793(0x10c)]=!0x0);this[_0x5ed793(0x105)][_0x5ed793(0x112)][_0x5ed793(0x10c)]=!0x1;const _0x21973c=_0x2efccb(_0x2c1547);this[_0x5ed793(0x11d)](_0x5ed793(0x135),_0x21973c),this[_0x5ed793(0x105)][_0x5ed793(0x112)][_0x5ed793(0x103)]();}[_0x4da0f2(0x118)](_0x57e51a){const _0x1b13d5=_0x4da0f2;this[_0x1b13d5(0x105)][_0x1b13d5(0x112)][_0x1b13d5(0x12d)](_0x1b13d5(0xfc),_0x57e51a);}[_0x4da0f2(0x111)](){const _0x3e9902=_0x4da0f2,_0xd740a9=new _0x56d874(this[_0x3e9902(0x126)]);return _0xd740a9[_0x3e9902(0x12d)]({'icon':_0x17e731,'label':_0x344a42(this[_0x3e9902(0x126)],_0x3e9902(0x106)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3e9902(0x114),'isEnabled':!0x1}),_0xd740a9['on'](_0x3e9902(0xf3),()=>{const _0x3511f9=_0x3e9902;this[_0x3511f9(0x11e)]();}),_0xd740a9;}[_0x4da0f2(0xfb)](_0x5119e2){const _0x47f0fa=_0x4da0f2;this[_0x47f0fa(0xfe)]=_0x5119e2;}[_0x4da0f2(0x11c)](){const _0x3c473c=_0x4da0f2,_0x14b0dd=this[_0x3c473c(0x126)],_0x24bea2=()=>{const _0x1c3633=_0x3c473c;_0x4242ec[_0x1c3633(0x11f)][_0x1c3633(0xf4)](()=>{const _0x59b67c=_0x1c3633;if(_0x1f48bb(this[_0x59b67c(0x104)])){const _0x4cea92=new _0x1451a9(this[_0x59b67c(0x105)][_0x59b67c(0x112)][_0x59b67c(0x104)]),_0x5e1a5f=new _0x1451a9(this[_0x59b67c(0x10e)][_0x59b67c(0x104)]),_0x366af1=_0x4cea92[_0x59b67c(0x10b)],_0x217dfe=_0x59b67c(0x136)===_0x14b0dd[_0x59b67c(0xff)]?_0x59b67c(0x108):_0x59b67c(0x133);_0x4cea92[_0x59b67c(0x127)]();const _0x189a56=_0x366af1-_0x4cea92[_0x59b67c(0x10b)]+0x1;this[_0x59b67c(0x10e)][_0x59b67c(0x104)][_0x59b67c(0xf7)][_0x217dfe]=_0x59b67c(0x107)+(_0x366af1-_0x5e1a5f[_0x59b67c(0x10b)]-_0x189a56)+_0x59b67c(0x123);}});};this[_0x3c473c(0x105)][_0x3c473c(0x112)]['on'](_0x3c473c(0x120),_0x24bea2),this['on'](_0x3c473c(0xf5),()=>{const _0x5cdcd7=_0x3c473c;_0x24bea2(),this[_0x5cdcd7(0x113)]=new _0x484825(this[_0x5cdcd7(0x105)][_0x5cdcd7(0x112)][_0x5cdcd7(0x104)],()=>{_0x24bea2();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21b773=_0x4983;function _0x4983(_0x35561f,_0x4bb20c){const _0x9331f6=_0x9331();return _0x4983=function(_0x498349,_0x4481bb){_0x498349=_0x498349-0x1aa;let _0x45d3d8=_0x9331f6[_0x498349];return _0x45d3d8;},_0x4983(_0x35561f,_0x4bb20c);}(function(_0x595a7f,_0xcd5bb4){const _0x69e668=_0x4983,_0x4f7fd1=_0x595a7f();while(!![]){try{const _0x12de2f=-parseInt(_0x69e668(0x1af))/0x1+parseInt(_0x69e668(0x1b0))/0x2*(-parseInt(_0x69e668(0x1ab))/0x3)+parseInt(_0x69e668(0x1b4))/0x4+parseInt(_0x69e668(0x1aa))/0x5+parseInt(_0x69e668(0x1b5))/0x6+-parseInt(_0x69e668(0x1b2))/0x7*(-parseInt(_0x69e668(0x1b1))/0x8)+parseInt(_0x69e668(0x1ac))/0x9;if(_0x12de2f===_0xcd5bb4)break;else _0x4f7fd1['push'](_0x4f7fd1['shift']());}catch(_0x3fd202){_0x4f7fd1['push'](_0x4f7fd1['shift']());}}}(_0x9331,0x24547));import{ListView as _0x377845}from'ckeditor5/src/ui.js';function _0x9331(){const _0x1a88ee=['40RjqCdI','202790sdemQZ','items','567328wyHkGb','38928PCzkiT','1137695cVwNTc','35067EZnoHL','618138HNeDyy','filter','length','288627kcZNMe','26qKAmgu'];_0x9331=function(){return _0x1a88ee;};return _0x9331();}export class AIChatPromptSuggestionsListView extends _0x377845{[_0x21b773(0x1ad)](){const _0x2f69ff=_0x21b773;let _0x4b222b=0x0;for(const _0x457d6a of this[_0x2f69ff(0x1b3)])_0x4b222b+=_0x457d6a[_0x2f69ff(0x1b3)][_0x2f69ff(0x1ae)];return{'resultsCount':_0x4b222b,'totalItemsCount':_0x4b222b};}}
23
+ const _0x17cf60=_0x4fb5;(function(_0x53fc76,_0x5b74be){const _0x3dcad6=_0x4fb5,_0xba9a15=_0x53fc76();while(!![]){try{const _0x597aeb=parseInt(_0x3dcad6(0x1ab))/0x1+-parseInt(_0x3dcad6(0x1a8))/0x2+parseInt(_0x3dcad6(0x1a4))/0x3*(parseInt(_0x3dcad6(0x1a2))/0x4)+-parseInt(_0x3dcad6(0x1a7))/0x5+parseInt(_0x3dcad6(0x1a0))/0x6*(-parseInt(_0x3dcad6(0x19f))/0x7)+-parseInt(_0x3dcad6(0x1a6))/0x8*(parseInt(_0x3dcad6(0x1a1))/0x9)+parseInt(_0x3dcad6(0x1a9))/0xa;if(_0x597aeb===_0x5b74be)break;else _0xba9a15['push'](_0xba9a15['shift']());}catch(_0x43e0a5){_0xba9a15['push'](_0xba9a15['shift']());}}}(_0x2feb,0x539ad));import{ListView as _0x3866f5}from'ckeditor5/src/ui.js';function _0x4fb5(_0x45e75c,_0x5113dc){const _0x2feba5=_0x2feb();return _0x4fb5=function(_0x4fb591,_0x5f2502){_0x4fb591=_0x4fb591-0x19f;let _0x2217c6=_0x2feba5[_0x4fb591];return _0x2217c6;},_0x4fb5(_0x45e75c,_0x5113dc);}function _0x2feb(){const _0x3fe012=['967842EBwDta','80emSdUt','filter','43446csczMa','length','32AJjrwQ','231975TjONwq','239618aLtxvw','8218760VNswpR','items','31393CcWffz','14XBTHBx','612324Zrqlcj'];_0x2feb=function(){return _0x3fe012;};return _0x2feb();}export class AIChatPromptSuggestionsListView extends _0x3866f5{[_0x17cf60(0x1a3)](){const _0x33e7e3=_0x17cf60;let _0x524059=0x0;for(const _0x31cee3 of this[_0x33e7e3(0x1aa)])_0x524059+=_0x31cee3[_0x33e7e3(0x1aa)][_0x33e7e3(0x1a5)];return{'resultsCount':_0x524059,'totalItemsCount':_0x524059};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d945a=_0x3102;(function(_0xa14640,_0x284f6a){const _0x1736b5=_0x3102,_0x58d158=_0xa14640();while(!![]){try{const _0x5df18b=parseInt(_0x1736b5(0x164))/0x1*(-parseInt(_0x1736b5(0x16f))/0x2)+parseInt(_0x1736b5(0x17d))/0x3*(parseInt(_0x1736b5(0x173))/0x4)+parseInt(_0x1736b5(0x162))/0x5+-parseInt(_0x1736b5(0x15b))/0x6+-parseInt(_0x1736b5(0x16c))/0x7+parseInt(_0x1736b5(0x16e))/0x8*(-parseInt(_0x1736b5(0x16d))/0x9)+parseInt(_0x1736b5(0x179))/0xa;if(_0x5df18b===_0x284f6a)break;else _0x58d158['push'](_0x58d158['shift']());}catch(_0x12f140){_0x58d158['push'](_0x58d158['shift']());}}}(_0x167f,0xea8b5));import{HighlightedTextView as _0x2cd482,IconView as _0x1f09c9,ListItemView as _0x4028ae}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x4e8a5f}from'es-toolkit/compat';import{AIContextItemType as _0x264fe9}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x5b3da6,IconCheck as _0x39c0f9,IconDocument as _0x25b921,IconDocumentOutline as _0x57bdd1,IconLink as _0x2f9228}from'@ckeditor/ckeditor5-icons';function _0x3102(_0x3ace9e,_0x2fa9d2){const _0x167f36=_0x167f();return _0x3102=function(_0x3102fd,_0x235a04){_0x3102fd=_0x3102fd-0x152;let _0x3d6576=_0x167f36[_0x3102fd];return _0x3d6576;},_0x3102(_0x3ace9e,_0x2fa9d2);}function _0x167f(){const _0x38bef7=['label','27475900giJdpm','_updateIcon','isVisible','type','6wTKsaQ','FILE','_titleView','div','execute','isInContext','setTemplate','getResourceIcon','content','URL','11474430OeDTfl','updateResourceState','text','ck-ai-chat-resources__item__icon','_iconView','ck-hidden','_createTitleView','9470645wxtVZw','resource','1dzXEyp','render','ck-ai-chat-resources__item--in-context','_setupTemplate','trim','ck-ai-chat-resources__item','span','DOCUMENT','9007453PCpXfy','61011XPLOxm','104EtxZmN','803074GEqPoN','extendTemplate','highlightText','set','15644AdnYmQ','TEXT','bindTemplate','ck-ai-chat-resources__item-title','_createIconView'];_0x167f=function(){return _0x38bef7;};return _0x167f();}const Rr=_0x4d945a(0x169),Tr=_0x4d945a(0x166),Lr=_0x4d945a(0x176),qr=_0x4d945a(0x15e);export class AIChatResourceListItemView extends _0x4028ae{[_0x4d945a(0x163)];[_0x4d945a(0x153)];[_0x4d945a(0x15f)];constructor(_0x161452,_0xe4714e){const _0x51f3c2=_0x4d945a;super(_0x161452),this[_0x51f3c2(0x163)]=_0xe4714e,this[_0x51f3c2(0x172)](_0x51f3c2(0x156),!!_0xe4714e[_0x51f3c2(0x156)]),this[_0x51f3c2(0x153)]=this[_0x51f3c2(0x161)](),this[_0x51f3c2(0x15f)]=this[_0x51f3c2(0x177)](),this[_0x51f3c2(0x167)]();}[_0x4d945a(0x165)](){const _0x4134f4=_0x4d945a;super[_0x4134f4(0x165)]();}[_0x4d945a(0x158)](_0x57bc22){const _0x56f270=_0x4d945a;if(_0x57bc22[_0x56f270(0x156)])return _0x39c0f9;switch(_0x57bc22[_0x56f270(0x17c)]){case _0x264fe9[_0x56f270(0x16b)]:return _0x25b921;case _0x264fe9[_0x56f270(0x15a)]:return _0x2f9228;case _0x264fe9[_0x56f270(0x152)]:case _0x264fe9[_0x56f270(0x174)]:return _0x5b3da6;default:return _0x57bdd1;}}[_0x4d945a(0x171)](_0x45a7e5){const _0x15ab5d=_0x4d945a;if(!_0x45a7e5||''===_0x45a7e5[_0x15ab5d(0x168)]())return void this[_0x15ab5d(0x153)][_0x15ab5d(0x171)](null);const _0x55114a=new RegExp(_0x4e8a5f(_0x45a7e5),'gi');this[_0x15ab5d(0x153)][_0x15ab5d(0x171)](_0x55114a);}[_0x4d945a(0x15c)](_0x274fe3){const _0x25a673=_0x4d945a;this[_0x25a673(0x163)][_0x25a673(0x156)]=_0x274fe3,this[_0x25a673(0x156)]=_0x274fe3,this[_0x25a673(0x17a)]();}[_0x4d945a(0x161)](){const _0x11fe1f=_0x4d945a,_0x15cf82=new _0x2cd482();return _0x15cf82[_0x11fe1f(0x15d)]=this[_0x11fe1f(0x163)][_0x11fe1f(0x178)],_0x15cf82[_0x11fe1f(0x170)]({'tag':_0x11fe1f(0x16a),'attributes':{'class':[Lr]}}),_0x15cf82;}[_0x4d945a(0x177)](){const _0x461b22=_0x4d945a,_0x4b5fcb=new _0x1f09c9();return _0x4b5fcb[_0x461b22(0x159)]=this[_0x461b22(0x158)](this[_0x461b22(0x163)]),_0x4b5fcb;}[_0x4d945a(0x167)](){const _0x5c7d4f=_0x4d945a,_0x2369e2=this[_0x5c7d4f(0x175)];this[_0x5c7d4f(0x157)]({'tag':_0x5c7d4f(0x154),'attributes':{'class':[Rr,_0x2369e2['if'](_0x5c7d4f(0x17b),_0x5c7d4f(0x160),_0x22eff0=>!_0x22eff0),_0x2369e2['if'](_0x5c7d4f(0x156),Tr)]},'children':[{'tag':_0x5c7d4f(0x154),'attributes':{'class':[qr]},'children':[this[_0x5c7d4f(0x15f)]]},this[_0x5c7d4f(0x153)]],'on':{'click':_0x2369e2['to'](_0x5c7d4f(0x155))}});}[_0x4d945a(0x17a)](){const _0x21a3fb=_0x4d945a;this[_0x21a3fb(0x15f)][_0x21a3fb(0x159)]=this[_0x21a3fb(0x158)](this[_0x21a3fb(0x163)]);}}
23
+ function _0x1783(_0x15aa06,_0x2cd75f){const _0x23e330=_0x23e3();return _0x1783=function(_0x17830e,_0x3cb212){_0x17830e=_0x17830e-0x8c;let _0x382521=_0x23e330[_0x17830e];return _0x382521;},_0x1783(_0x15aa06,_0x2cd75f);}const _0x41933b=_0x1783;(function(_0xc7d8fe,_0x355049){const _0x351f64=_0x1783,_0x371479=_0xc7d8fe();while(!![]){try{const _0xd2d0b9=parseInt(_0x351f64(0xb0))/0x1+parseInt(_0x351f64(0xa5))/0x2+-parseInt(_0x351f64(0x96))/0x3+parseInt(_0x351f64(0x94))/0x4+parseInt(_0x351f64(0xa3))/0x5+parseInt(_0x351f64(0xb4))/0x6*(parseInt(_0x351f64(0xa6))/0x7)+-parseInt(_0x351f64(0x9f))/0x8;if(_0xd2d0b9===_0x355049)break;else _0x371479['push'](_0x371479['shift']());}catch(_0x4dda4e){_0x371479['push'](_0x371479['shift']());}}}(_0x23e3,0x2b87e));import{HighlightedTextView as _0x51d85e,IconView as _0x3bd0cf,ListItemView as _0x34d076}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x1f013f}from'es-toolkit/compat';import{AIContextItemType as _0x22b42b}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x19a202,IconCheck as _0x5a5c51,IconDocument as _0x1ad772,IconDocumentOutline as _0x401b4c,IconLink as _0x2624d6}from'@ckeditor/ckeditor5-icons';const Rr=_0x41933b(0x97),Tr=_0x41933b(0x90),Lr=_0x41933b(0x9b),qr=_0x41933b(0x8f);function _0x23e3(){const _0x2a1ec3=['bindTemplate','422864HsRlPE','801325AXcZSp','span','_setupTemplate','execute','text','div','DOCUMENT','highlightText','getResourceIcon','_createIconView','120100AELIFh','resource','extendTemplate','ck-hidden','6gLAwGv','setTemplate','set','_createTitleView','_iconView','ck-ai-chat-resources__item__icon','ck-ai-chat-resources__item--in-context','isInContext','trim','isVisible','523756CUyokk','label','817755MMmakk','ck-ai-chat-resources__item','content','_titleView','FILE','ck-ai-chat-resources__item-title','TEXT','updateResourceState','_updateIcon','1321984qBAodw','type','URL','render','195945tfyFTl'];_0x23e3=function(){return _0x2a1ec3;};return _0x23e3();}export class AIChatResourceListItemView extends _0x34d076{[_0x41933b(0xb1)];[_0x41933b(0x99)];[_0x41933b(0x8e)];constructor(_0x160699,_0x4899d5){const _0x2f931e=_0x41933b;super(_0x160699),this[_0x2f931e(0xb1)]=_0x4899d5,this[_0x2f931e(0x8c)](_0x2f931e(0x91),!!_0x4899d5[_0x2f931e(0x91)]),this[_0x2f931e(0x99)]=this[_0x2f931e(0x8d)](),this[_0x2f931e(0x8e)]=this[_0x2f931e(0xaf)](),this[_0x2f931e(0xa8)]();}[_0x41933b(0xa2)](){const _0x1b569a=_0x41933b;super[_0x1b569a(0xa2)]();}[_0x41933b(0xae)](_0x104ae1){const _0x133b3c=_0x41933b;if(_0x104ae1[_0x133b3c(0x91)])return _0x5a5c51;switch(_0x104ae1[_0x133b3c(0xa0)]){case _0x22b42b[_0x133b3c(0xac)]:return _0x1ad772;case _0x22b42b[_0x133b3c(0xa1)]:return _0x2624d6;case _0x22b42b[_0x133b3c(0x9a)]:case _0x22b42b[_0x133b3c(0x9c)]:return _0x19a202;default:return _0x401b4c;}}[_0x41933b(0xad)](_0x71c432){const _0x16f378=_0x41933b;if(!_0x71c432||''===_0x71c432[_0x16f378(0x92)]())return void this[_0x16f378(0x99)][_0x16f378(0xad)](null);const _0xce3647=new RegExp(_0x1f013f(_0x71c432),'gi');this[_0x16f378(0x99)][_0x16f378(0xad)](_0xce3647);}[_0x41933b(0x9d)](_0x5d952f){const _0x190840=_0x41933b;this[_0x190840(0xb1)][_0x190840(0x91)]=_0x5d952f,this[_0x190840(0x91)]=_0x5d952f,this[_0x190840(0x9e)]();}[_0x41933b(0x8d)](){const _0x5dfaf5=_0x41933b,_0x3a4c41=new _0x51d85e();return _0x3a4c41[_0x5dfaf5(0xaa)]=this[_0x5dfaf5(0xb1)][_0x5dfaf5(0x95)],_0x3a4c41[_0x5dfaf5(0xb2)]({'tag':_0x5dfaf5(0xa7),'attributes':{'class':[Lr]}}),_0x3a4c41;}[_0x41933b(0xaf)](){const _0x210f6b=_0x41933b,_0x4c6640=new _0x3bd0cf();return _0x4c6640[_0x210f6b(0x98)]=this[_0x210f6b(0xae)](this[_0x210f6b(0xb1)]),_0x4c6640;}[_0x41933b(0xa8)](){const _0x49cbe2=_0x41933b,_0x23ceb1=this[_0x49cbe2(0xa4)];this[_0x49cbe2(0xb5)]({'tag':_0x49cbe2(0xab),'attributes':{'class':[Rr,_0x23ceb1['if'](_0x49cbe2(0x93),_0x49cbe2(0xb3),_0x5a4743=>!_0x5a4743),_0x23ceb1['if'](_0x49cbe2(0x91),Tr)]},'children':[{'tag':_0x49cbe2(0xab),'attributes':{'class':[qr]},'children':[this[_0x49cbe2(0x8e)]]},this[_0x49cbe2(0x99)]],'on':{'click':_0x23ceb1['to'](_0x49cbe2(0xa9))}});}[_0x41933b(0x9e)](){const _0x9acd5b=_0x41933b;this[_0x9acd5b(0x8e)][_0x9acd5b(0x98)]=this[_0x9acd5b(0xae)](this[_0x9acd5b(0xb1)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x16ec(){const _0x288491=['loadSourceResources','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','onLoadSourceResources','get','2428419ahDpGU','_createSourceResourceBalloonPanel','children','resource','updateResourceState','isVisible','pin','delete','isAnyResourceBalloonVisible','addResourceToContext','67614QwbVEA','_locale','3227409CqcrTV','label','setResources','hide','_getResourcesViewFromBalloon','_config','_createBalloonResourcesView','onBackToContext','extendTemplate','content','_setupSingleResourceBalloonClickOutsideHandler','showSourceResourcesBalloon','getTargetElement','clear','328964LylwVb','source','add','_sourceResourceBalloons','_addSourceResourceContent','onResourceSelected','185672zqBzPQ','_bodyCollection','set','destroy','ck-button-icon\x20ck-button-back','2117690JXQhZC','_createBalloonHeader','ck-ai-chat-context-controls__source-balloon-panel','execute','_createBackButton','3PKLPzH','getLimiterElement','6ZHEFNX','closeSourceResourceBalloon','10vPYhwi','values','element','show','onBalloonClosed','populateSourceResourceBalloon','2871456ufiExc'];_0x16ec=function(){return _0x288491;};return _0x16ec();}const _0x4ec5d2=_0x1efc;(function(_0xf0cebe,_0x292e5a){const _0x2888d5=_0x1efc,_0x350aad=_0xf0cebe();while(!![]){try{const _0x3f50eb=-parseInt(_0x2888d5(0x15a))/0x1+parseInt(_0x2888d5(0x16a))/0x2+-parseInt(_0x2888d5(0x17a))/0x3*(-parseInt(_0x2888d5(0x170))/0x4)+-parseInt(_0x2888d5(0x175))/0x5*(-parseInt(_0x2888d5(0x17c))/0x6)+-parseInt(_0x2888d5(0x150))/0x7+-parseInt(_0x2888d5(0x14a))/0x8+-parseInt(_0x2888d5(0x15c))/0x9*(-parseInt(_0x2888d5(0x17e))/0xa);if(_0x3f50eb===_0x292e5a)break;else _0x350aad['push'](_0x350aad['shift']());}catch(_0x27cc05){_0x350aad['push'](_0x350aad['shift']());}}}(_0x16ec,0x359b8));import{BalloonPanelView as _0x4b6660,ButtonView as _0x40c987,clickOutsideHandler as _0x59a7ed,FormHeaderView as _0x4e6f3a}from'ckeditor5/src/ui.js';function _0x1efc(_0x23eb1f,_0x892633){const _0x16ec6f=_0x16ec();return _0x1efc=function(_0x1efcdb,_0x4374c1){_0x1efcdb=_0x1efcdb-0x147;let _0x496fc8=_0x16ec6f[_0x1efcdb];return _0x496fc8;},_0x1efc(_0x23eb1f,_0x892633);}import{IconPreviousArrow as _0x110b85}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5e0a97}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x482b43}from'./aichatresourcesview.js';const Or=_0x4ec5d2(0x177),Hr=_0x4ec5d2(0x174),Fr=_0x4ec5d2(0x14d);export class AIChatResourcesBalloonView{[_0x4ec5d2(0x16d)]=new Map();[_0x4ec5d2(0x171)];[_0x4ec5d2(0x15b)];[_0x4ec5d2(0x161)];constructor(_0x515882,_0x30c6a5,_0xa9de79){const _0x4fb36d=_0x4ec5d2;this[_0x4fb36d(0x15b)]=_0x515882,this[_0x4fb36d(0x171)]=_0x30c6a5,this[_0x4fb36d(0x161)]=_0xa9de79;}[_0x4ec5d2(0x167)](_0x581b11){const _0x2b4c3e=_0x4ec5d2;let _0x174adc=this[_0x2b4c3e(0x16d)][_0x2b4c3e(0x14f)](_0x581b11['id']);_0x174adc||(_0x174adc=this[_0x2b4c3e(0x151)](),this[_0x2b4c3e(0x16d)][_0x2b4c3e(0x172)](_0x581b11['id'],_0x174adc),this[_0x2b4c3e(0x166)](_0x174adc)),this[_0x2b4c3e(0x16e)](_0x174adc,_0x581b11),_0x174adc[_0x2b4c3e(0x147)]();const _0xac3598=this[_0x2b4c3e(0x161)][_0x2b4c3e(0x168)]();_0xac3598&&_0x174adc[_0x2b4c3e(0x156)]({'target':_0xac3598,'limiter':this[_0x2b4c3e(0x161)][_0x2b4c3e(0x17b)]()});}[_0x4ec5d2(0x149)](_0x5b6fb5,_0x24536c,_0x5ebfb8){const _0x46ef05=_0x4ec5d2,_0x33e174=this[_0x46ef05(0x16d)][_0x46ef05(0x14f)](_0x5b6fb5);if(!_0x33e174)return;const _0x2cfd01=this[_0x46ef05(0x160)](_0x33e174);_0x2cfd01&&_0x2cfd01[_0x46ef05(0x15e)](_0x24536c,_0x5ebfb8);}[_0x4ec5d2(0x17d)](_0xe8a370){const _0x56a84c=_0x4ec5d2,_0x5b00f8=this[_0x56a84c(0x16d)][_0x56a84c(0x14f)](_0xe8a370);_0x5b00f8&&requestAnimationFrame(()=>{const _0x2cb76e=_0x56a84c;_0x5b00f8[_0x2cb76e(0x15f)](),this[_0x2cb76e(0x16d)][_0x2cb76e(0x157)](_0xe8a370),this[_0x2cb76e(0x161)][_0x2cb76e(0x148)]();});}[_0x4ec5d2(0x158)](){const _0x3cebbd=_0x4ec5d2;for(const _0x48476a of this[_0x3cebbd(0x16d)][_0x3cebbd(0x17f)]())if(_0x48476a[_0x3cebbd(0x155)])return!0x0;return!0x1;}[_0x4ec5d2(0x154)](_0x512ba7,_0x1df90e,_0xc54c48){const _0x2d99df=_0x4ec5d2,_0x32c4b1=this[_0x2d99df(0x16d)][_0x2d99df(0x14f)](_0x512ba7);if(!_0x32c4b1||!_0x32c4b1[_0x2d99df(0x155)])return;const _0x456db0=this[_0x2d99df(0x161)][_0x2d99df(0x168)]();if(!_0x456db0)return;_0x32c4b1[_0x2d99df(0x156)]({'target':_0x456db0,'limiter':this[_0x2d99df(0x161)][_0x2d99df(0x17b)]()});const _0x55d032=this[_0x2d99df(0x160)](_0x32c4b1);_0x55d032&&_0x55d032[_0x2d99df(0x154)](_0x1df90e,_0xc54c48);}[_0x4ec5d2(0x173)](){const _0x19fbb0=_0x4ec5d2;for(const _0x5057e9 of this[_0x19fbb0(0x16d)][_0x19fbb0(0x17f)]())_0x5057e9[_0x19fbb0(0x173)]();this[_0x19fbb0(0x16d)][_0x19fbb0(0x169)]();}[_0x4ec5d2(0x151)](){const _0x52974e=_0x4ec5d2,_0x44c87c=new _0x4b6660(this[_0x52974e(0x15b)]);return _0x44c87c[_0x52974e(0x164)]({'attributes':{'class':Or}}),this[_0x52974e(0x171)][_0x52974e(0x16c)](_0x44c87c),_0x44c87c;}[_0x4ec5d2(0x16e)](_0x53a154,_0x2d5eed){const _0x43834f=_0x4ec5d2;_0x53a154[_0x43834f(0x165)][_0x43834f(0x169)]();const _0x2e07a0=this[_0x43834f(0x176)](_0x53a154,_0x2d5eed);_0x53a154[_0x43834f(0x165)][_0x43834f(0x16c)](_0x2e07a0);const _0x153b82=this[_0x43834f(0x162)](_0x2d5eed);_0x53a154[_0x43834f(0x165)][_0x43834f(0x16c)](_0x153b82);}[_0x4ec5d2(0x176)](_0xf42810,_0x5bb5d3){const _0x5771e0=_0x4ec5d2,_0x3f1633=this[_0x5771e0(0x179)](_0xf42810),_0x30ab6a=new _0x4e6f3a(this[_0x5771e0(0x15b)],{'label':_0x5bb5d3[_0x5771e0(0x15d)],'class':Fr});return _0x30ab6a[_0x5771e0(0x152)][_0x5771e0(0x16c)](_0x3f1633,0x0),_0x30ab6a;}[_0x4ec5d2(0x179)](_0x5b5600){const _0x122c2b=_0x4ec5d2,_0x26bb80=new _0x40c987(this[_0x122c2b(0x15b)]);return _0x26bb80[_0x122c2b(0x172)]({'icon':_0x110b85,'tooltip':_0x5e0a97(this[_0x122c2b(0x15b)],_0x122c2b(0x14c)),'tooltipPosition':'n','class':Hr}),_0x26bb80['on'](_0x122c2b(0x178),()=>{const _0xbc8255=_0x122c2b;_0x5b5600[_0xbc8255(0x15f)](),this[_0xbc8255(0x161)][_0xbc8255(0x163)]();}),_0x26bb80;}[_0x4ec5d2(0x162)](_0x292b04){const _0x29f6b1=_0x4ec5d2,_0xbd1710=new _0x482b43(this[_0x29f6b1(0x15b)],_0x292b04);return _0xbd1710['on'](_0x29f6b1(0x14b),(_0x53b246,_0xa78554)=>{const _0x336730=_0x29f6b1;this[_0x336730(0x161)][_0x336730(0x14e)](_0xa78554);}),_0xbd1710['on'](_0x29f6b1(0x159),(_0x11c88c,_0x14b30f)=>{const _0x8ec0b2=_0x29f6b1;this[_0x8ec0b2(0x161)][_0x8ec0b2(0x16f)](_0x14b30f[_0x8ec0b2(0x16b)],_0x14b30f[_0x8ec0b2(0x153)]),this[_0x8ec0b2(0x17d)](_0x292b04['id']);}),_0xbd1710;}[_0x4ec5d2(0x160)](_0x108dbf){const _0xceb3a6=_0x4ec5d2,_0x5af209=_0x108dbf[_0xceb3a6(0x165)][_0xceb3a6(0x14f)](0x1);return _0x5af209 instanceof _0x482b43?_0x5af209:null;}[_0x4ec5d2(0x166)](_0x2b9e0a){const _0x14e8e1=_0x4ec5d2;_0x59a7ed({'emitter':_0x2b9e0a,'contextElements':[_0x2b9e0a[_0x14e8e1(0x180)]],'callback':()=>{const _0x54d54c=_0x14e8e1;_0x2b9e0a[_0x54d54c(0x15f)](),this[_0x54d54c(0x161)][_0x54d54c(0x148)]();},'activator':()=>_0x2b9e0a[_0x14e8e1(0x155)]});}}
23
+ const _0x1198e3=_0x3f2f;function _0x3f2f(_0x755038,_0x13b11b){const _0x141a1d=_0x141a();return _0x3f2f=function(_0x3f2f75,_0x854f44){_0x3f2f75=_0x3f2f75-0x1ae;let _0x562af2=_0x141a1d[_0x3f2f75];return _0x562af2;},_0x3f2f(_0x755038,_0x13b11b);}function _0x141a(){const _0x2bdf3e=['hide','loadSourceResources','onResourceSelected','_config','2436QPYUTV','get','getTargetElement','_sourceResourceBalloons','onBackToContext','4559npPtzf','showSourceResourcesBalloon','pin','source','set','_createBalloonHeader','populateSourceResourceBalloon','52911TvsFLM','402QjWJPU','isAnyResourceBalloonVisible','496MchrkB','show','label','onBalloonClosed','90QAkxzB','279516IdBTbm','_setupSingleResourceBalloonClickOutsideHandler','delete','isVisible','29436zbcCcx','resource','execute','clear','ck-button-icon\x20ck-button-back','onLoadSourceResources','1850TCqjcO','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_createBalloonResourcesView','getLimiterElement','element','_bodyCollection','content','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','_locale','setResources','_createSourceResourceBalloonPanel','4315OshgCp','addResourceToContext','_createBackButton','updateResourceState','destroy','children','add','_getResourcesViewFromBalloon','closeSourceResourceBalloon','values','2385152NyAToB','_addSourceResourceContent','774BQCCar','429DcXGBb','extendTemplate','ck-ai-chat-context-controls__source-balloon-panel'];_0x141a=function(){return _0x2bdf3e;};return _0x141a();}(function(_0x123971,_0xb2da77){const _0x48265f=_0x3f2f,_0x4e4b13=_0x123971();while(!![]){try{const _0x1f7db4=-parseInt(_0x48265f(0x1ca))/0x1*(parseInt(_0x48265f(0x1d8))/0x2)+parseInt(_0x48265f(0x1bd))/0x3*(-parseInt(_0x48265f(0x1c5))/0x4)+parseInt(_0x48265f(0x1b1))/0x5*(parseInt(_0x48265f(0x1d2))/0x6)+-parseInt(_0x48265f(0x1bb))/0x7+parseInt(_0x48265f(0x1d4))/0x8*(-parseInt(_0x48265f(0x1d1))/0x9)+parseInt(_0x48265f(0x1e3))/0xa*(parseInt(_0x48265f(0x1dd))/0xb)+-parseInt(_0x48265f(0x1d9))/0xc*(-parseInt(_0x48265f(0x1be))/0xd);if(_0x1f7db4===_0xb2da77)break;else _0x4e4b13['push'](_0x4e4b13['shift']());}catch(_0x561ffe){_0x4e4b13['push'](_0x4e4b13['shift']());}}}(_0x141a,0x3e057));import{BalloonPanelView as _0xba2d5d,ButtonView as _0x123106,clickOutsideHandler as _0x2e7b30,FormHeaderView as _0x7f5bc1}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x37401e}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x27294c}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x5cd065}from'./aichatresourcesview.js';const Or=_0x1198e3(0x1c0),Hr=_0x1198e3(0x1e1),Fr=_0x1198e3(0x1e4);export class AIChatResourcesBalloonView{[_0x1198e3(0x1c8)]=new Map();[_0x1198e3(0x1e8)];[_0x1198e3(0x1ae)];[_0x1198e3(0x1c4)];constructor(_0x379787,_0x1e8d5a,_0x3112d7){const _0x451d3f=_0x1198e3;this[_0x451d3f(0x1ae)]=_0x379787,this[_0x451d3f(0x1e8)]=_0x1e8d5a,this[_0x451d3f(0x1c4)]=_0x3112d7;}[_0x1198e3(0x1cb)](_0x2b5c0f){const _0x104f6a=_0x1198e3;let _0x2ae56b=this[_0x104f6a(0x1c8)][_0x104f6a(0x1c6)](_0x2b5c0f['id']);_0x2ae56b||(_0x2ae56b=this[_0x104f6a(0x1b0)](),this[_0x104f6a(0x1c8)][_0x104f6a(0x1ce)](_0x2b5c0f['id'],_0x2ae56b),this[_0x104f6a(0x1da)](_0x2ae56b)),this[_0x104f6a(0x1bc)](_0x2ae56b,_0x2b5c0f),_0x2ae56b[_0x104f6a(0x1d5)]();const _0x36cef4=this[_0x104f6a(0x1c4)][_0x104f6a(0x1c7)]();_0x36cef4&&_0x2ae56b[_0x104f6a(0x1cc)]({'target':_0x36cef4,'limiter':this[_0x104f6a(0x1c4)][_0x104f6a(0x1e6)]()});}[_0x1198e3(0x1d0)](_0x293a2d,_0x3bb48f,_0xd2df63){const _0x18d4f3=_0x1198e3,_0x42e68a=this[_0x18d4f3(0x1c8)][_0x18d4f3(0x1c6)](_0x293a2d);if(!_0x42e68a)return;const _0x2e9d73=this[_0x18d4f3(0x1b8)](_0x42e68a);_0x2e9d73&&_0x2e9d73[_0x18d4f3(0x1af)](_0x3bb48f,_0xd2df63);}[_0x1198e3(0x1b9)](_0x46def8){const _0x33b84c=_0x1198e3,_0x10a3b9=this[_0x33b84c(0x1c8)][_0x33b84c(0x1c6)](_0x46def8);_0x10a3b9&&requestAnimationFrame(()=>{const _0x59db7d=_0x33b84c;_0x10a3b9[_0x59db7d(0x1c1)](),this[_0x59db7d(0x1c8)][_0x59db7d(0x1db)](_0x46def8),this[_0x59db7d(0x1c4)][_0x59db7d(0x1d7)]();});}[_0x1198e3(0x1d3)](){const _0x44c0c2=_0x1198e3;for(const _0x53fe34 of this[_0x44c0c2(0x1c8)][_0x44c0c2(0x1ba)]())if(_0x53fe34[_0x44c0c2(0x1dc)])return!0x0;return!0x1;}[_0x1198e3(0x1b4)](_0x3cad70,_0xeaa122,_0x58220c){const _0xf9a2b5=_0x1198e3,_0x340dca=this[_0xf9a2b5(0x1c8)][_0xf9a2b5(0x1c6)](_0x3cad70);if(!_0x340dca||!_0x340dca[_0xf9a2b5(0x1dc)])return;const _0x59c2b3=this[_0xf9a2b5(0x1c4)][_0xf9a2b5(0x1c7)]();if(!_0x59c2b3)return;_0x340dca[_0xf9a2b5(0x1cc)]({'target':_0x59c2b3,'limiter':this[_0xf9a2b5(0x1c4)][_0xf9a2b5(0x1e6)]()});const _0x37362d=this[_0xf9a2b5(0x1b8)](_0x340dca);_0x37362d&&_0x37362d[_0xf9a2b5(0x1b4)](_0xeaa122,_0x58220c);}[_0x1198e3(0x1b5)](){const _0x14d5cd=_0x1198e3;for(const _0x4132a6 of this[_0x14d5cd(0x1c8)][_0x14d5cd(0x1ba)]())_0x4132a6[_0x14d5cd(0x1b5)]();this[_0x14d5cd(0x1c8)][_0x14d5cd(0x1e0)]();}[_0x1198e3(0x1b0)](){const _0x4b413e=_0x1198e3,_0x1c719a=new _0xba2d5d(this[_0x4b413e(0x1ae)]);return _0x1c719a[_0x4b413e(0x1bf)]({'attributes':{'class':Or}}),this[_0x4b413e(0x1e8)][_0x4b413e(0x1b7)](_0x1c719a),_0x1c719a;}[_0x1198e3(0x1bc)](_0x35ff0b,_0x4f19ea){const _0x4a9928=_0x1198e3;_0x35ff0b[_0x4a9928(0x1e9)][_0x4a9928(0x1e0)]();const _0x3d078d=this[_0x4a9928(0x1cf)](_0x35ff0b,_0x4f19ea);_0x35ff0b[_0x4a9928(0x1e9)][_0x4a9928(0x1b7)](_0x3d078d);const _0x3dc713=this[_0x4a9928(0x1e5)](_0x4f19ea);_0x35ff0b[_0x4a9928(0x1e9)][_0x4a9928(0x1b7)](_0x3dc713);}[_0x1198e3(0x1cf)](_0x40f0cb,_0x34d530){const _0x27df93=_0x1198e3,_0x7b0d8e=this[_0x27df93(0x1b3)](_0x40f0cb),_0x2bc04c=new _0x7f5bc1(this[_0x27df93(0x1ae)],{'label':_0x34d530[_0x27df93(0x1d6)],'class':Fr});return _0x2bc04c[_0x27df93(0x1b6)][_0x27df93(0x1b7)](_0x7b0d8e,0x0),_0x2bc04c;}[_0x1198e3(0x1b3)](_0x48d175){const _0x4ea3bb=_0x1198e3,_0x129283=new _0x123106(this[_0x4ea3bb(0x1ae)]);return _0x129283[_0x4ea3bb(0x1ce)]({'icon':_0x37401e,'tooltip':_0x27294c(this[_0x4ea3bb(0x1ae)],_0x4ea3bb(0x1ea)),'tooltipPosition':'n','class':Hr}),_0x129283['on'](_0x4ea3bb(0x1df),()=>{const _0x265ef8=_0x4ea3bb;_0x48d175[_0x265ef8(0x1c1)](),this[_0x265ef8(0x1c4)][_0x265ef8(0x1c9)]();}),_0x129283;}[_0x1198e3(0x1e5)](_0x556b57){const _0x8c3988=_0x1198e3,_0x1b312c=new _0x5cd065(this[_0x8c3988(0x1ae)],_0x556b57);return _0x1b312c['on'](_0x8c3988(0x1c2),(_0x40fba6,_0x41464d)=>{const _0x4cc7e7=_0x8c3988;this[_0x4cc7e7(0x1c4)][_0x4cc7e7(0x1e2)](_0x41464d);}),_0x1b312c['on'](_0x8c3988(0x1b2),(_0x79a562,_0x83c5b3)=>{const _0xce61d5=_0x8c3988;this[_0xce61d5(0x1c4)][_0xce61d5(0x1c3)](_0x83c5b3[_0xce61d5(0x1cd)],_0x83c5b3[_0xce61d5(0x1de)]),this[_0xce61d5(0x1b9)](_0x556b57['id']);}),_0x1b312c;}[_0x1198e3(0x1b8)](_0xb7ba5e){const _0xbe87e0=_0x1198e3,_0x34f533=_0xb7ba5e[_0xbe87e0(0x1e9)][_0xbe87e0(0x1c6)](0x1);return _0x34f533 instanceof _0x5cd065?_0x34f533:null;}[_0x1198e3(0x1da)](_0x265242){const _0x168880=_0x1198e3;_0x2e7b30({'emitter':_0x265242,'contextElements':[_0x265242[_0x168880(0x1e7)]],'callback':()=>{const _0x186123=_0x168880;_0x265242[_0x186123(0x1c1)](),this[_0x186123(0x1c4)][_0x186123(0x1d7)]();},'activator':()=>_0x265242[_0x168880(0x1dc)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5b6d(_0x52d75f,_0x3518bd){const _0x168262=_0x1682();return _0x5b6d=function(_0x5b6ddc,_0x4a1496){_0x5b6ddc=_0x5b6ddc-0x116;let _0x53156e=_0x168262[_0x5b6ddc];return _0x53156e;},_0x5b6d(_0x52d75f,_0x3518bd);}const _0x5dfdf4=_0x5b6d;(function(_0x1e5729,_0x1dee21){const _0x1e7aa0=_0x5b6d,_0x13ff3e=_0x1e5729();while(!![]){try{const _0x36998e=-parseInt(_0x1e7aa0(0x12e))/0x1*(-parseInt(_0x1e7aa0(0x11c))/0x2)+-parseInt(_0x1e7aa0(0x118))/0x3*(-parseInt(_0x1e7aa0(0x120))/0x4)+-parseInt(_0x1e7aa0(0x11a))/0x5*(-parseInt(_0x1e7aa0(0x122))/0x6)+-parseInt(_0x1e7aa0(0x12d))/0x7+parseInt(_0x1e7aa0(0x119))/0x8*(parseInt(_0x1e7aa0(0x123))/0x9)+-parseInt(_0x1e7aa0(0x124))/0xa+-parseInt(_0x1e7aa0(0x134))/0xb*(-parseInt(_0x1e7aa0(0x12b))/0xc);if(_0x36998e===_0x1dee21)break;else _0x13ff3e['push'](_0x13ff3e['shift']());}catch(_0x2a72e5){_0x13ff3e['push'](_0x13ff3e['shift']());}}}(_0x1682,0xd1250));function _0x1682(){const _0x2a8c31=['_handleResourceSelection','items','setResources','\x5c$&','8011355TdBGQn','ck-ai-chat-resources__list','replace','test','add','clear','filter','6ZVrOPc','2356376HOYkov','6486385XzZaaH','execute','4lektWq','_source','highlightText','resource','1204812EyycQz','fire','6ZaPwKu','9KkOjni','16014890DzMvyy','locale','extendTemplate','trim','forEach','updateResourceState','useDefaultFiltering','12hZzXuP','addResourceToContext','11802126KNmOwS','610814QRZmDe','label'];_0x1682=function(){return _0x2a8c31;};return _0x1682();}import{ListView as _0x10ace8}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x2ea331}from'./aichatresourcelistitemview.js';const sc=_0x5dfdf4(0x135);export class AIChatContextResourcesListView extends _0x10ace8{[_0x5dfdf4(0x11d)];constructor(_0x5a315c,_0x291e89){const _0x28db7e=_0x5dfdf4;super(_0x5a315c),this[_0x28db7e(0x11d)]=_0x291e89,this[_0x28db7e(0x126)]({'attributes':{'class':[sc]}});}[_0x5dfdf4(0x132)](_0x3d9761,_0x426476){const _0x3619d6=_0x5dfdf4;this[_0x3619d6(0x131)][_0x3619d6(0x116)]();let _0x145c5e=_0x3d9761;if(this[_0x3619d6(0x11d)][_0x3619d6(0x12a)]&&_0x426476&&''!==_0x426476[_0x3619d6(0x127)]()){const _0xfb3850=new RegExp(_0x426476[_0x3619d6(0x136)](/[.*+?^${}()|[\]\\]/g,_0x3619d6(0x133)),'gi');_0x145c5e=_0x3d9761[_0x3619d6(0x117)](_0x3b618c=>_0xfb3850[_0x3619d6(0x137)](_0x3b618c[_0x3619d6(0x12f)]));}for(const _0xc0dd95 of _0x145c5e){const _0x5d370d=new _0x2ea331(this[_0x3619d6(0x125)],_0xc0dd95);_0x5d370d['on'](_0x3619d6(0x11b),()=>{const _0x532408=_0x3619d6;this[_0x532408(0x130)](this[_0x532408(0x11d)],_0xc0dd95);}),this[_0x3619d6(0x131)][_0x3619d6(0x138)](_0x5d370d);}this[_0x3619d6(0x11d)][_0x3619d6(0x12a)]&&this[_0x3619d6(0x11e)](_0x426476);}[_0x5dfdf4(0x11e)](_0x832d0e){const _0x4bc5ea=_0x5dfdf4;this[_0x4bc5ea(0x11d)][_0x4bc5ea(0x12a)]&&this[_0x4bc5ea(0x131)][_0x4bc5ea(0x128)](_0xa5a9c=>{const _0x19d763=_0x4bc5ea;_0xa5a9c[_0x19d763(0x11e)](_0x832d0e);});}[_0x5dfdf4(0x129)](_0x3b1564,_0x224393){const _0x4569f6=_0x5dfdf4;for(const _0x5072c6 of this[_0x4569f6(0x131)]){const _0x52f053=_0x5072c6;_0x52f053[_0x4569f6(0x11f)]['id']===_0x3b1564&&_0x52f053[_0x4569f6(0x129)](_0x224393);}}[_0x5dfdf4(0x130)](_0x3dbe38,_0x2fe12d){const _0x33ecee=_0x5dfdf4;this[_0x33ecee(0x121)](_0x33ecee(0x12c),{'source':_0x3dbe38,'resource':_0x2fe12d});}}
23
+ function _0xd338(_0x3cedd6,_0x3ad6c1){const _0x2709e4=_0x2709();return _0xd338=function(_0xd3389,_0x473eef){_0xd3389=_0xd3389-0x6a;let _0x355034=_0x2709e4[_0xd3389];return _0x355034;},_0xd338(_0x3cedd6,_0x3ad6c1);}const _0x5075af=_0xd338;(function(_0x34c4ec,_0x6c801){const _0x413189=_0xd338,_0x513ddb=_0x34c4ec();while(!![]){try{const _0x2319e5=-parseInt(_0x413189(0x7d))/0x1*(-parseInt(_0x413189(0x78))/0x2)+parseInt(_0x413189(0x81))/0x3*(parseInt(_0x413189(0x73))/0x4)+parseInt(_0x413189(0x7b))/0x5*(parseInt(_0x413189(0x86))/0x6)+-parseInt(_0x413189(0x70))/0x7+-parseInt(_0x413189(0x7a))/0x8*(parseInt(_0x413189(0x6a))/0x9)+parseInt(_0x413189(0x89))/0xa*(-parseInt(_0x413189(0x6f))/0xb)+parseInt(_0x413189(0x76))/0xc;if(_0x2319e5===_0x6c801)break;else _0x513ddb['push'](_0x513ddb['shift']());}catch(_0x31eac9){_0x513ddb['push'](_0x513ddb['shift']());}}}(_0x2709,0xed038));import{ListView as _0x29b952}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x56ddbb}from'./aichatresourcelistitemview.js';const sc=_0x5075af(0x8a);export class AIChatContextResourcesListView extends _0x29b952{[_0x5075af(0x75)];constructor(_0x4f45b8,_0xd3be50){const _0x27a416=_0x5075af;super(_0x4f45b8),this[_0x27a416(0x75)]=_0xd3be50,this[_0x27a416(0x7c)]({'attributes':{'class':[sc]}});}[_0x5075af(0x7f)](_0x4ab853,_0x43da2f){const _0x122469=_0x5075af;this[_0x122469(0x85)][_0x122469(0x74)]();let _0x466f0b=_0x4ab853;if(this[_0x122469(0x75)][_0x122469(0x83)]&&_0x43da2f&&''!==_0x43da2f[_0x122469(0x8b)]()){const _0x2c7f7b=new RegExp(_0x43da2f[_0x122469(0x6c)](/[.*+?^${}()|[\]\\]/g,_0x122469(0x8c)),'gi');_0x466f0b=_0x4ab853[_0x122469(0x7e)](_0x25a4da=>_0x2c7f7b[_0x122469(0x88)](_0x25a4da[_0x122469(0x6d)]));}for(const _0x38ad3f of _0x466f0b){const _0x271004=new _0x56ddbb(this[_0x122469(0x82)],_0x38ad3f);_0x271004['on'](_0x122469(0x79),()=>{const _0x1d5407=_0x122469;this[_0x1d5407(0x80)](this[_0x1d5407(0x75)],_0x38ad3f);}),this[_0x122469(0x85)][_0x122469(0x6e)](_0x271004);}this[_0x122469(0x75)][_0x122469(0x83)]&&this[_0x122469(0x77)](_0x43da2f);}[_0x5075af(0x77)](_0xf8bf5d){const _0x51a0dd=_0x5075af;this[_0x51a0dd(0x75)][_0x51a0dd(0x83)]&&this[_0x51a0dd(0x85)][_0x51a0dd(0x72)](_0x3e4265=>{const _0x27531a=_0x51a0dd;_0x3e4265[_0x27531a(0x77)](_0xf8bf5d);});}[_0x5075af(0x84)](_0x10ffbd,_0x206359){const _0x9dede6=_0x5075af;for(const _0x5d832e of this[_0x9dede6(0x85)]){const _0x58d097=_0x5d832e;_0x58d097[_0x9dede6(0x6b)]['id']===_0x10ffbd&&_0x58d097[_0x9dede6(0x84)](_0x206359);}}[_0x5075af(0x80)](_0x40a435,_0x8948d9){const _0x721c87=_0x5075af;this[_0x721c87(0x71)](_0x721c87(0x87),{'source':_0x40a435,'resource':_0x8948d9});}}function _0x2709(){const _0x540e1f=['clear','_source','5305236sxTjNC','highlightText','2119486Eqtsjr','execute','1771896ZvTGvG','44490gzLAvP','extendTemplate','1EVSyxu','filter','setResources','_handleResourceSelection','3OwjiWz','locale','useDefaultFiltering','updateResourceState','items','936fHwKLK','addResourceToContext','test','1370OKKTPF','ck-ai-chat-resources__list','trim','\x5c$&','27YlJcck','resource','replace','label','add','79871pcCVAO','2907709JSHRFJ','fire','forEach','621916lLLhct'];_0x2709=function(){return _0x540e1f;};return _0x2709();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x419daf,IconView as _0x382075,LabeledFieldView as th,createLabeledInputText as _0x156332}from'ckeditor5/src/ui.js';import{IconLoupe as _0x9e98c,IconCancel as _0x5c33d1}from'ckeditor5/src/icons.js';import{getTranslation as _0x1f72ca}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends th{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x392460){const t=_0x392460['t'],_0x5adea9={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x156332,'label':_0x1f72ca(_0x392460,'AI_CHAT_SEARCH_RESOURCES')};super(_0x392460,_0x5adea9['creator']),this['label']=_0x5adea9['label'],this['_viewConfig']=_0x5adea9,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x392460,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x12acd2){this['fire']('search',_0x12acd2);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x382075(),this['iconView']['content']=_0x9e98c,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x4452fd,t){this['resetButtonView']=new _0x419daf(_0x4452fd),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x5c33d1,'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',_0x6364f7=>!_0x6364f7),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 _0x58042b,IconView as _0x37bff8,LabeledFieldView as th,createLabeledInputText as _0x373bf6}from'ckeditor5/src/ui.js';import{IconLoupe as _0x2d62dd,IconCancel as _0x4f64fb}from'ckeditor5/src/icons.js';import{getTranslation as _0x176280}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends th{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0xd3d2b7){const t=_0xd3d2b7['t'],_0x20f94b={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x373bf6,'label':_0x176280(_0xd3d2b7,'AI_CHAT_SEARCH_RESOURCES')};super(_0xd3d2b7,_0x20f94b['creator']),this['label']=_0x20f94b['label'],this['_viewConfig']=_0x20f94b,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0xd3d2b7,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x5b9d2c){this['fire']('search',_0x5b9d2c);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x37bff8(),this['iconView']['content']=_0x2d62dd,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x5d0fc3,t){this['resetButtonView']=new _0x58042b(_0x5d0fc3),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x4f64fb,'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',_0x1e55c9=>!_0x1e55c9),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 _0x32a766=_0x5b93;(function(_0x24576c,_0x2f362a){const _0x3b5fec=_0x5b93,_0x39a344=_0x24576c();while(!![]){try{const _0x44f83b=parseInt(_0x3b5fec(0x8a))/0x1*(parseInt(_0x3b5fec(0x78))/0x2)+-parseInt(_0x3b5fec(0x94))/0x3*(parseInt(_0x3b5fec(0x89))/0x4)+-parseInt(_0x3b5fec(0x91))/0x5+parseInt(_0x3b5fec(0x7e))/0x6*(-parseInt(_0x3b5fec(0x70))/0x7)+parseInt(_0x3b5fec(0x73))/0x8+-parseInt(_0x3b5fec(0x86))/0x9+-parseInt(_0x3b5fec(0x7f))/0xa*(-parseInt(_0x3b5fec(0x8d))/0xb);if(_0x44f83b===_0x2f362a)break;else _0x39a344['push'](_0x39a344['shift']());}catch(_0x17342b){_0x39a344['push'](_0x39a344['shift']());}}}(_0x2ec2,0xd7eaa));import{View as _0x3d8e80,ViewCollection as _0x42ac9f}from'ckeditor5/src/ui.js';import{uid as _0x103186}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0xf10057}from'./aichatresourceslistview.js';function _0x5b93(_0x1dc478,_0x197ddb){const _0x2ec2d3=_0x2ec2();return _0x5b93=function(_0x5b9311,_0x46709b){_0x5b9311=_0x5b9311-0x6b;let _0x38a0f4=_0x2ec2d3[_0x5b9311];return _0x38a0f4;},_0x5b93(_0x1dc478,_0x197ddb);}import{AIChatContextResourcesSearchInputView as _0x4078a4}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x581a0d,SKELETON_DEFINITIONS as _0x1cf108}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x3d8e80{[_0x32a766(0x7d)];[_0x32a766(0x84)];[_0x32a766(0x8e)];[_0x32a766(0x72)];[_0x32a766(0x80)];[_0x32a766(0x79)]=null;constructor(_0x31f64d,_0x3c2c65){const _0x3fabae=_0x32a766;super(_0x31f64d),this[_0x3fabae(0x72)]=_0x3c2c65,this[_0x3fabae(0x74)](_0x3fabae(0x8b),!0x0),this[_0x3fabae(0x7d)]=this[_0x3fabae(0x88)]();const _0xb8fdf4=this[_0x3fabae(0x7c)]();this[_0x3fabae(0x84)]=this[_0x3fabae(0x6e)](),this[_0x3fabae(0x8e)]=this[_0x3fabae(0x77)](),this[_0x3fabae(0x80)]=new _0x42ac9f([_0xb8fdf4,this[_0x3fabae(0x8e)],this[_0x3fabae(0x84)]]),this[_0x3fabae(0x6c)]({'tag':_0x3fabae(0x90),'attributes':{'class':_0x3fabae(0x83)},'children':this[_0x3fabae(0x80)]});}[_0x32a766(0x88)](){const _0x358394=_0x32a766;return new _0x4078a4(this[_0x358394(0x93)]);}[_0x32a766(0x7c)](){const _0x4d9967=_0x32a766,_0x2b32c1=new _0x3d8e80(this[_0x4d9967(0x93)]);return _0x2b32c1[_0x4d9967(0x6c)]({'tag':_0x4d9967(0x90),'attributes':{'class':_0x4d9967(0x71)},'children':[this[_0x4d9967(0x7d)]]}),this[_0x4d9967(0x7d)]['on'](_0x4d9967(0x76),(_0x26aa71,_0x179215)=>{const _0x12a03d=_0x4d9967;this[_0x12a03d(0x85)](_0x179215),this[_0x12a03d(0x72)][_0x12a03d(0x87)]&&this[_0x12a03d(0x84)][_0x12a03d(0x7a)](_0x179215);}),_0x2b32c1;}[_0x32a766(0x6e)](){const _0x49c3b0=_0x32a766,_0x5d8772=new _0xf10057(this[_0x49c3b0(0x93)],this[_0x49c3b0(0x72)]);return _0x5d8772[_0x49c3b0(0x6d)](_0x49c3b0(0x82))['to'](this),_0x5d8772[_0x49c3b0(0x8f)]({'attributes':{'class':this[_0x49c3b0(0x8c)]['if'](_0x49c3b0(0x8b),_0x49c3b0(0x81))}}),_0x5d8772;}[_0x32a766(0x77)](){const _0x383c07=_0x32a766,_0x1dd35d=new _0x581a0d(this[_0x383c07(0x93)],_0x1cf108[_0x383c07(0x7b)]);return _0x1dd35d[_0x383c07(0x8f)]({'attributes':{'class':[this[_0x383c07(0x8c)]['if'](_0x383c07(0x8b),_0x383c07(0x81),_0x5d9735=>!_0x5d9735)]}}),_0x1dd35d;}[_0x32a766(0x6f)](){const _0x3c8c8e=_0x32a766;super[_0x3c8c8e(0x6f)](),this[_0x3c8c8e(0x85)]('');}[_0x32a766(0x85)](_0x3dd5e8){const _0x1f90f9=_0x32a766,_0x338043=_0x103186();this[_0x1f90f9(0x79)]=_0x338043,this[_0x1f90f9(0x92)](_0x1f90f9(0x96),{'sourceId':this[_0x1f90f9(0x72)]['id'],'query':_0x3dd5e8,'uid':_0x338043}),this[_0x1f90f9(0x8b)]=!0x0;}[_0x32a766(0x6b)](_0x3a1258,_0x2e5634){const _0x4e53bb=_0x32a766;if(_0x2e5634&&_0x2e5634!==this[_0x4e53bb(0x79)])return;const _0x205c0e=this[_0x4e53bb(0x72)][_0x4e53bb(0x87)]?this[_0x4e53bb(0x7d)][_0x4e53bb(0x75)]():'';this[_0x4e53bb(0x84)][_0x4e53bb(0x6b)](_0x3a1258,_0x205c0e),requestAnimationFrame(()=>{const _0x7e6bcb=_0x4e53bb;this[_0x7e6bcb(0x8b)]=!0x1;});}[_0x32a766(0x95)](_0x332b5b,_0x156602){const _0x3097f5=_0x32a766;this[_0x3097f5(0x84)][_0x3097f5(0x95)](_0x332b5b,_0x156602);}}function _0x2ec2(){const _0x34b927=['getQuery','search','_createSkeletonView','149054WOUMgv','_latestLoadResourcesUid','highlightText','aiChatResources','_createSearchSection','_searchView','2123064KYwlIU','50PjGDBx','children','ck-hidden','addResourceToContext','ck-ai-chat-resources','_resourcesListView','loadResources','1109448wJfmBe','useDefaultFiltering','_createSearchView','128aTZPJx','7GBBbzA','isLoading','bindTemplate','5468309oEtsPO','_skeletonLoader','extendTemplate','div','2795375WDdTNg','fire','locale','148779FoiUXu','updateResourceState','loadSourceResources','setResources','setTemplate','delegate','_createResourcesListView','render','14cylPbH','ck\x20ck-search','_source','6832968DkPhcd','set'];_0x2ec2=function(){return _0x34b927;};return _0x2ec2();}
23
+ const _0x56c208=_0x5030;(function(_0x5b26a5,_0x32c0c6){const _0x2ce2a2=_0x5030,_0x42452e=_0x5b26a5();while(!![]){try{const _0x47cf8b=-parseInt(_0x2ce2a2(0xca))/0x1+-parseInt(_0x2ce2a2(0xbf))/0x2+parseInt(_0x2ce2a2(0xd6))/0x3*(parseInt(_0x2ce2a2(0xc6))/0x4)+-parseInt(_0x2ce2a2(0xd4))/0x5*(parseInt(_0x2ce2a2(0xbc))/0x6)+-parseInt(_0x2ce2a2(0xcb))/0x7+-parseInt(_0x2ce2a2(0xd1))/0x8+parseInt(_0x2ce2a2(0xc2))/0x9;if(_0x47cf8b===_0x32c0c6)break;else _0x42452e['push'](_0x42452e['shift']());}catch(_0x29b7a1){_0x42452e['push'](_0x42452e['shift']());}}}(_0x800c,0x23d2b));function _0x800c(){const _0x45a71f=['bindTemplate','addResourceToContext','4258035OgRDKs','_searchView','_createResourcesListView','_source','265068xUqluY','_latestLoadResourcesUid','locale','updateResourceState','76662ULbdPp','69363darlyt','setResources','_createSearchSection','aiChatResources','fire','useDefaultFiltering','661720Pgsbxi','extendTemplate','isLoading','1415ydDpIa','setTemplate','12GPqVZL','_createSearchView','search','children','highlightText','ck\x20ck-search','ck-hidden','loadSourceResources','_resourcesListView','render','loadResources','delegate','set','div','_skeletonLoader','ck-ai-chat-resources','6186TNMBhZ','getQuery','_createSkeletonView','260786iCuLvy'];_0x800c=function(){return _0x45a71f;};return _0x800c();}import{View as _0x188a4e,ViewCollection as _0x4a5ea7}from'ckeditor5/src/ui.js';import{uid as _0x12807d}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x5715d5}from'./aichatresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x536d8a}from'./aichatresourcessearchinputview.js';function _0x5030(_0x7e6059,_0x101673){const _0x800c15=_0x800c();return _0x5030=function(_0x50301f,_0x3c560f){_0x50301f=_0x50301f-0xb6;let _0x1d8184=_0x800c15[_0x50301f];return _0x1d8184;},_0x5030(_0x7e6059,_0x101673);}import{AISkeletonView as _0x5e0bf7,SKELETON_DEFINITIONS as _0x4273b1}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x188a4e{[_0x56c208(0xc3)];[_0x56c208(0xde)];[_0x56c208(0xba)];[_0x56c208(0xc5)];[_0x56c208(0xd9)];[_0x56c208(0xc7)]=null;constructor(_0x303f9e,_0x304330){const _0x286695=_0x56c208;super(_0x303f9e),this[_0x286695(0xc5)]=_0x304330,this[_0x286695(0xb8)](_0x286695(0xd3),!0x0),this[_0x286695(0xc3)]=this[_0x286695(0xd7)]();const _0x34925b=this[_0x286695(0xcd)]();this[_0x286695(0xde)]=this[_0x286695(0xc4)](),this[_0x286695(0xba)]=this[_0x286695(0xbe)](),this[_0x286695(0xd9)]=new _0x4a5ea7([_0x34925b,this[_0x286695(0xba)],this[_0x286695(0xde)]]),this[_0x286695(0xd5)]({'tag':_0x286695(0xb9),'attributes':{'class':_0x286695(0xbb)},'children':this[_0x286695(0xd9)]});}[_0x56c208(0xd7)](){const _0x1d5b8b=_0x56c208;return new _0x536d8a(this[_0x1d5b8b(0xc8)]);}[_0x56c208(0xcd)](){const _0x4ab293=_0x56c208,_0x333b5f=new _0x188a4e(this[_0x4ab293(0xc8)]);return _0x333b5f[_0x4ab293(0xd5)]({'tag':_0x4ab293(0xb9),'attributes':{'class':_0x4ab293(0xdb)},'children':[this[_0x4ab293(0xc3)]]}),this[_0x4ab293(0xc3)]['on'](_0x4ab293(0xd8),(_0x683b85,_0x55f4ff)=>{const _0x328ef8=_0x4ab293;this[_0x328ef8(0xb6)](_0x55f4ff),this[_0x328ef8(0xc5)][_0x328ef8(0xd0)]&&this[_0x328ef8(0xde)][_0x328ef8(0xda)](_0x55f4ff);}),_0x333b5f;}[_0x56c208(0xc4)](){const _0x1d3aaf=_0x56c208,_0x3ca266=new _0x5715d5(this[_0x1d3aaf(0xc8)],this[_0x1d3aaf(0xc5)]);return _0x3ca266[_0x1d3aaf(0xb7)](_0x1d3aaf(0xc1))['to'](this),_0x3ca266[_0x1d3aaf(0xd2)]({'attributes':{'class':this[_0x1d3aaf(0xc0)]['if'](_0x1d3aaf(0xd3),_0x1d3aaf(0xdc))}}),_0x3ca266;}[_0x56c208(0xbe)](){const _0x20de4a=_0x56c208,_0x2e499d=new _0x5e0bf7(this[_0x20de4a(0xc8)],_0x4273b1[_0x20de4a(0xce)]);return _0x2e499d[_0x20de4a(0xd2)]({'attributes':{'class':[this[_0x20de4a(0xc0)]['if'](_0x20de4a(0xd3),_0x20de4a(0xdc),_0xaa056b=>!_0xaa056b)]}}),_0x2e499d;}[_0x56c208(0xdf)](){const _0xd1d594=_0x56c208;super[_0xd1d594(0xdf)](),this[_0xd1d594(0xb6)]('');}[_0x56c208(0xb6)](_0x3257e3){const _0x5a4eaa=_0x56c208,_0x2004a0=_0x12807d();this[_0x5a4eaa(0xc7)]=_0x2004a0,this[_0x5a4eaa(0xcf)](_0x5a4eaa(0xdd),{'sourceId':this[_0x5a4eaa(0xc5)]['id'],'query':_0x3257e3,'uid':_0x2004a0}),this[_0x5a4eaa(0xd3)]=!0x0;}[_0x56c208(0xcc)](_0x1a8a2e,_0x4f79df){const _0x5ccd5a=_0x56c208;if(_0x4f79df&&_0x4f79df!==this[_0x5ccd5a(0xc7)])return;const _0x1e910e=this[_0x5ccd5a(0xc5)][_0x5ccd5a(0xd0)]?this[_0x5ccd5a(0xc3)][_0x5ccd5a(0xbd)]():'';this[_0x5ccd5a(0xde)][_0x5ccd5a(0xcc)](_0x1a8a2e,_0x1e910e),requestAnimationFrame(()=>{const _0x9c4c39=_0x5ccd5a;this[_0x9c4c39(0xd3)]=!0x1;});}[_0x56c208(0xc9)](_0x710b82,_0xd76882){const _0x58353f=_0x56c208;this[_0x58353f(0xde)][_0x58353f(0xc9)](_0x710b82,_0xd76882);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3aa4(_0x403e62,_0x2c864a){const _0x168dee=_0x168d();return _0x3aa4=function(_0x3aa481,_0x7c823c){_0x3aa481=_0x3aa481-0x17a;let _0x565b36=_0x168dee[_0x3aa481];return _0x565b36;},_0x3aa4(_0x403e62,_0x2c864a);}const _0x2481ac=_0x3aa4;(function(_0x4672e2,_0x2e303a){const _0x47bcd8=_0x3aa4,_0x530f21=_0x4672e2();while(!![]){try{const _0x5776ed=-parseInt(_0x47bcd8(0x18f))/0x1*(-parseInt(_0x47bcd8(0x190))/0x2)+-parseInt(_0x47bcd8(0x18a))/0x3+parseInt(_0x47bcd8(0x189))/0x4*(parseInt(_0x47bcd8(0x195))/0x5)+-parseInt(_0x47bcd8(0x17c))/0x6+-parseInt(_0x47bcd8(0x18e))/0x7*(-parseInt(_0x47bcd8(0x191))/0x8)+-parseInt(_0x47bcd8(0x193))/0x9*(-parseInt(_0x47bcd8(0x18b))/0xa)+-parseInt(_0x47bcd8(0x19a))/0xb;if(_0x5776ed===_0x2e303a)break;else _0x530f21['push'](_0x530f21['shift']());}catch(_0x422df6){_0x530f21['push'](_0x530f21['shift']());}}}(_0x168d,0xe89d9));import{View as _0x167976}from'ckeditor5/src/ui.js';function _0x168d(){const _0x268b9c=['ck-ai-chat-context-chips-wrapper-balloon','div','ck-reset_all','ck-ai-chat-context-chips-wrapper','createCollection','ck-ai-chat-controls-button','setTemplate','render','4016112KRwVSB','1938519qcvEJf','3930QgasxM','element','querySelector','140cIjQXW','12RZehCY','7378LzaZPL','43216WUYHld','ck-ai-chat__feed__context-chips','30087QyjVQU','destroy','5hhZGDI','_createContextChips','_bodyCollection','_contextChips','add','4421835yNKUtA','_overflowManager','ck-ai-chat-context-controls__show-more-balloon-panel','2815104kIdYCr','reorganizeChips','ck-ai-chat-controls_context_show-more-button','locale','setContainerElement'];_0x168d=function(){return _0x268b9c;};return _0x168d();}import{AIChatContextItemButtonView as _0x2c16a9}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x4ed38c}from'../controls/aichatchipsoverflowmanager.js';const jo=_0x2481ac(0x192),Fo=_0x2481ac(0x184),$o=_0x2481ac(0x181),Eo=_0x2481ac(0x186),go=_0x2481ac(0x17e),Vo=_0x2481ac(0x17b);export class AIChatFeedContextChipsView extends _0x167976{[_0x2481ac(0x198)]=this[_0x2481ac(0x185)]();[_0x2481ac(0x17a)];[_0x2481ac(0x197)];constructor(_0x2a0983,_0x4a1cba,_0xc2e14e){const _0x331939=_0x2481ac;super(_0x2a0983),this[_0x331939(0x197)]=_0xc2e14e,this[_0x331939(0x196)](_0x4a1cba);const _0x589b74={'cssClasses':{'showMoreButton':go,'showMoreBalloon':Vo,'overflowContainer':$o,'controlsButton':Eo}};this[_0x331939(0x17a)]=new _0x4ed38c(_0x2a0983,this[_0x331939(0x198)],_0x589b74,this[_0x331939(0x197)],this),this[_0x331939(0x187)]({'tag':_0x331939(0x182),'attributes':{'class':[jo,'ck',_0x331939(0x183)]},'children':[{'tag':_0x331939(0x182),'attributes':{'class':Fo},'children':this[_0x331939(0x198)]}]});}[_0x2481ac(0x188)](){const _0x2425d8=_0x2481ac;super[_0x2425d8(0x188)]();const _0x217deb=this[_0x2425d8(0x18c)][_0x2425d8(0x18d)]('.'+Fo);_0x217deb&&(this[_0x2425d8(0x17a)][_0x2425d8(0x180)](_0x217deb),this[_0x2425d8(0x17a)][_0x2425d8(0x17d)]());}[_0x2481ac(0x194)](){const _0x34d937=_0x2481ac;super[_0x34d937(0x194)](),this[_0x34d937(0x17a)][_0x34d937(0x194)]();}[_0x2481ac(0x196)](_0x24725f){const _0x56fefb=_0x2481ac;for(const _0x507b05 of _0x24725f){const _0x58aad1=new _0x2c16a9(this[_0x56fefb(0x17f)],_0x507b05,!0x0,!0x1);this[_0x56fefb(0x198)][_0x56fefb(0x199)](_0x58aad1);}}}
23
+ const _0x2cafc3=_0x4fda;(function(_0x4968e1,_0x142322){const _0xc44284=_0x4fda,_0x1c8028=_0x4968e1();while(!![]){try{const _0x3eeed5=-parseInt(_0xc44284(0x182))/0x1*(parseInt(_0xc44284(0x176))/0x2)+parseInt(_0xc44284(0x17f))/0x3*(-parseInt(_0xc44284(0x177))/0x4)+-parseInt(_0xc44284(0x16d))/0x5+parseInt(_0xc44284(0x175))/0x6+-parseInt(_0xc44284(0x179))/0x7*(parseInt(_0xc44284(0x180))/0x8)+-parseInt(_0xc44284(0x171))/0x9+parseInt(_0xc44284(0x18a))/0xa*(parseInt(_0xc44284(0x17d))/0xb);if(_0x3eeed5===_0x142322)break;else _0x1c8028['push'](_0x1c8028['shift']());}catch(_0x2ba557){_0x1c8028['push'](_0x1c8028['shift']());}}}(_0x11bb,0x2284a));import{View as _0x4aecb3}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0xa03f3b}from'../controls/aichatcontextitembuttonview.js';function _0x4fda(_0x312b97,_0x364c9e){const _0x11bbbe=_0x11bb();return _0x4fda=function(_0x4fda9c,_0x3e8ae3){_0x4fda9c=_0x4fda9c-0x16c;let _0x321cc0=_0x11bbbe[_0x4fda9c];return _0x321cc0;},_0x4fda(_0x312b97,_0x364c9e);}function _0x11bb(){const _0x4bd13c=['ck-ai-chat__feed__context-chips','_overflowManager','ck-ai-chat-context-chips-wrapper-balloon','274626IIynWM','render','ck-ai-chat-context-chips-wrapper','setTemplate','1488282rrhBtZ','296Zpqfzd','60klSFES','element','15988PWKeTG','_bodyCollection','_contextChips','destroy','3143734UwKPoN','div','42006rMDSTU','224ByWuze','reorganizeChips','1658LHSGZG','querySelector','ck-ai-chat-controls_context_show-more-button','_createContextChips','add','ck-ai-chat-context-controls__show-more-balloon-panel','ck-ai-chat-controls-button','createCollection','20SXnxyM','locale','setContainerElement','ck-reset_all','641845AVAXYM'];_0x11bb=function(){return _0x4bd13c;};return _0x11bb();}import{AIChatChipsOverflowManager as _0x39b4bb}from'../controls/aichatchipsoverflowmanager.js';const Fo=_0x2cafc3(0x16e),$o=_0x2cafc3(0x173),qo=_0x2cafc3(0x170),Vo=_0x2cafc3(0x188),Io=_0x2cafc3(0x184),Po=_0x2cafc3(0x187);export class AIChatFeedContextChipsView extends _0x4aecb3{[_0x2cafc3(0x17b)]=this[_0x2cafc3(0x189)]();[_0x2cafc3(0x16f)];[_0x2cafc3(0x17a)];constructor(_0x3dc9ca,_0x24d629,_0x489134){const _0x730376=_0x2cafc3;super(_0x3dc9ca),this[_0x730376(0x17a)]=_0x489134,this[_0x730376(0x185)](_0x24d629);const _0x424045={'cssClasses':{'showMoreButton':Io,'showMoreBalloon':Po,'overflowContainer':qo,'controlsButton':Vo}};this[_0x730376(0x16f)]=new _0x39b4bb(_0x3dc9ca,this[_0x730376(0x17b)],_0x424045,this[_0x730376(0x17a)],this),this[_0x730376(0x174)]({'tag':_0x730376(0x17e),'attributes':{'class':[Fo,'ck',_0x730376(0x16c)]},'children':[{'tag':_0x730376(0x17e),'attributes':{'class':$o},'children':this[_0x730376(0x17b)]}]});}[_0x2cafc3(0x172)](){const _0x45a5b2=_0x2cafc3;super[_0x45a5b2(0x172)]();const _0x49d6de=this[_0x45a5b2(0x178)][_0x45a5b2(0x183)]('.'+$o);_0x49d6de&&(this[_0x45a5b2(0x16f)][_0x45a5b2(0x18c)](_0x49d6de),this[_0x45a5b2(0x16f)][_0x45a5b2(0x181)]());}[_0x2cafc3(0x17c)](){const _0xe43cce=_0x2cafc3;super[_0xe43cce(0x17c)](),this[_0xe43cce(0x16f)][_0xe43cce(0x17c)]();}[_0x2cafc3(0x185)](_0x43c852){const _0xee0046=_0x2cafc3;for(const _0x345f71 of _0x43c852){const _0xe1556e=new _0xa03f3b(this[_0xee0046(0x18b)],_0x345f71,!0x0,!0x1);this[_0xee0046(0x17b)][_0xee0046(0x186)](_0xe1556e);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4a68(_0x1e2783,_0xbf22a1){var _0x3eb2e3=_0x3eb2();return _0x4a68=function(_0x4a68be,_0x1e66e7){_0x4a68be=_0x4a68be-0x80;var _0x368225=_0x3eb2e3[_0x4a68be];return _0x368225;},_0x4a68(_0x1e2783,_0xbf22a1);}var _0x453d73=_0x4a68;(function(_0x5c4884,_0x1ce294){var _0x1e6cd2=_0x4a68,_0x236421=_0x5c4884();while(!![]){try{var _0x32a1d7=-parseInt(_0x1e6cd2(0x8d))/0x1+parseInt(_0x1e6cd2(0x91))/0x2+parseInt(_0x1e6cd2(0x8e))/0x3*(parseInt(_0x1e6cd2(0x82))/0x4)+-parseInt(_0x1e6cd2(0x83))/0x5+parseInt(_0x1e6cd2(0x87))/0x6+-parseInt(_0x1e6cd2(0x89))/0x7*(parseInt(_0x1e6cd2(0x8a))/0x8)+-parseInt(_0x1e6cd2(0x92))/0x9;if(_0x32a1d7===_0x1ce294)break;else _0x236421['push'](_0x236421['shift']());}catch(_0x471abc){_0x236421['push'](_0x236421['shift']());}}}(_0x3eb2,0x55d3f));import{AIChatFeedItemView as _0x3ac587}from'./aichatfeeditemview.js';function _0x3eb2(){var _0x4c2b9a=['innerHTML','434391uCGITp','3QCezZf','render','setContent','961048KwXHAj','1307655oIRoyP','warning','ck-ai-chat-error_warning','level','markAsDone','383128lhOszW','110605PFPPbj','element','ck-ai-chat-error','initialContent','3431454vWKaJj','extendTemplate','1363999LdvaKf','8MjeVXm','options'];_0x3eb2=function(){return _0x4c2b9a;};return _0x3eb2();}export class AIChatFeedErrorItemView extends _0x3ac587{constructor(_0x28eb1f){var _0x4056d6=_0x4a68;super(_0x28eb1f),this[_0x4056d6(0x88)]({'attributes':{'class':[_0x4056d6(0x85),_0x4056d6(0x93)===_0x28eb1f[_0x4056d6(0x80)]?_0x4056d6(0x94):'']}});}[_0x453d73(0x8f)](){var _0x16c820=_0x453d73;super[_0x16c820(0x8f)](),this[_0x16c820(0x90)](this[_0x16c820(0x8b)][_0x16c820(0x86)]),this[_0x16c820(0x81)]();}[_0x453d73(0x90)](_0x1aed0f){var _0x344f43=_0x453d73;this[_0x344f43(0x84)][_0x344f43(0x8c)]=_0x1aed0f;}}
23
+ var _0x5e1957=_0x2703;function _0x2703(_0x8f224f,_0x234ce8){var _0x18b7f7=_0x18b7();return _0x2703=function(_0x2703d1,_0x303a79){_0x2703d1=_0x2703d1-0xdb;var _0x5d6895=_0x18b7f7[_0x2703d1];return _0x5d6895;},_0x2703(_0x8f224f,_0x234ce8);}function _0x18b7(){var _0x507367=['300572lVrAMu','warning','8xHhscc','markAsDone','render','ck-ai-chat-error','setContent','1122464zMkuLT','extendTemplate','innerHTML','1956504xyFYWu','options','9606gJPqxT','level','element','initialContent','17552070yfGzNk','ck-ai-chat-error_warning','2868784blRtoE','2769102VDuckb','3555KHRWrb'];_0x18b7=function(){return _0x507367;};return _0x18b7();}(function(_0x2e96d3,_0x1c4aab){var _0x339043=_0x2703,_0x400ec7=_0x2e96d3();while(!![]){try{var _0x4cd380=parseInt(_0x339043(0xe8))/0x1+parseInt(_0x339043(0xe6))/0x2+-parseInt(_0x339043(0xdd))/0x3+parseInt(_0x339043(0xe5))/0x4+parseInt(_0x339043(0xe7))/0x5*(parseInt(_0x339043(0xdf))/0x6)+-parseInt(_0x339043(0xef))/0x7+-parseInt(_0x339043(0xea))/0x8*(parseInt(_0x339043(0xe3))/0x9);if(_0x4cd380===_0x1c4aab)break;else _0x400ec7['push'](_0x400ec7['shift']());}catch(_0x5335b1){_0x400ec7['push'](_0x400ec7['shift']());}}}(_0x18b7,0xbde98));import{AIChatFeedItemView as _0x51c034}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x51c034{constructor(_0x3d4f88){var _0x4dd29e=_0x2703;super(_0x3d4f88),this[_0x4dd29e(0xdb)]({'attributes':{'class':[_0x4dd29e(0xed),_0x4dd29e(0xe9)===_0x3d4f88[_0x4dd29e(0xe0)]?_0x4dd29e(0xe4):'']}});}[_0x5e1957(0xec)](){var _0x36cf26=_0x5e1957;super[_0x36cf26(0xec)](),this[_0x36cf26(0xee)](this[_0x36cf26(0xde)][_0x36cf26(0xe2)]),this[_0x36cf26(0xeb)]();}[_0x5e1957(0xee)](_0x10166d){var _0x223a5c=_0x5e1957;this[_0x223a5c(0xe1)][_0x223a5c(0xdc)]=_0x10166d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x47c19b,_0x574046){const _0x1b5ea7=_0x2d20,_0x2a51d9=_0x47c19b();while(!![]){try{const _0x4dff88=parseInt(_0x1b5ea7(0x1dc))/0x1+-parseInt(_0x1b5ea7(0x1d6))/0x2*(-parseInt(_0x1b5ea7(0x1e9))/0x3)+-parseInt(_0x1b5ea7(0x1e1))/0x4+parseInt(_0x1b5ea7(0x1df))/0x5+-parseInt(_0x1b5ea7(0x1d9))/0x6*(-parseInt(_0x1b5ea7(0x1e6))/0x7)+-parseInt(_0x1b5ea7(0x1e5))/0x8+-parseInt(_0x1b5ea7(0x1e3))/0x9;if(_0x4dff88===_0x574046)break;else _0x2a51d9['push'](_0x2a51d9['shift']());}catch(_0x1d0b9b){_0x2a51d9['push'](_0x2a51d9['shift']());}}}(_0xb929,0x9b2f6));import{IconBulb as _0x28007e,IconWeb as _0x26ff07}from'@ckeditor/ckeditor5-icons';import{IconView as _0x487af5,View as _0xaa2929}from'ckeditor5/src/ui.js';function _0x2d20(_0x5784e4,_0x4fe51a){const _0xb92994=_0xb929();return _0x2d20=function(_0x2d20ef,_0x9d7f8d){_0x2d20ef=_0x2d20ef-0x1d6;let _0x3291e7=_0xb92994[_0x2d20ef];return _0x3291e7;},_0x2d20(_0x5784e4,_0x4fe51a);}import{AIChatFeedItemView as _0x254bfa}from'./aichatfeeditemview.js';import{getTranslation as _0x3678d6}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x254bfa{constructor(_0x6ecedb,_0x386276){const _0x1028ae=_0x2d20;super(_0x386276);const {isWebSearchEnabled:_0x3fb4eb,isReasoningEnabled:_0x5e6e6c}=_0x386276[_0x1028ae(0x1db)],_0x1b2ff0=[];let _0x395476='';_0x3fb4eb&&_0x5e6e6c?(_0x395476=_0x3678d6(_0x6ecedb,_0x1028ae(0x1d7)),_0x1b2ff0[_0x1028ae(0x1d8)](e_(_0x26ff07)),_0x1b2ff0[_0x1028ae(0x1d8)](e_(_0x28007e))):_0x3fb4eb?(_0x395476=_0x3678d6(_0x6ecedb,_0x1028ae(0x1de)),_0x1b2ff0[_0x1028ae(0x1d8)](e_(_0x26ff07))):_0x5e6e6c&&(_0x395476=_0x3678d6(_0x6ecedb,_0x1028ae(0x1e7)),_0x1b2ff0[_0x1028ae(0x1d8)](e_(_0x28007e))),this[_0x1028ae(0x1ea)]({'attributes':{'class':[_0x1028ae(0x1dd),_0x395476?'':_0x1028ae(0x1e8)]}});const _0x4bb760=new _0xaa2929();_0x4bb760[_0x1028ae(0x1e4)]({'tag':_0x1028ae(0x1ed),'attributes':{'class':['ck',_0x1028ae(0x1e0)]},'children':[..._0x1b2ff0,{'tag':_0x1028ae(0x1eb),'attributes':{'class':[_0x1028ae(0x1da)]},'children':[_0x395476]}]}),this[_0x1028ae(0x1ee)][_0x1028ae(0x1ec)](_0x4bb760);}}function _0xb929(){const _0x361236=['5072946LptRQf','ck-ai-chat__feed__interaction-header__capabilities__text','capabilities','1221966AdDZeR','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','2653615AvrVNE','ck-ai-chat__feed__interaction-header__capabilities','2451872NFdYKi','content','13737240gZosCy','setTemplate','4250864UHqogf','7AxKToR','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-hidden','36GnJIVq','extendTemplate','span','add','div','children','118024rlZwmk','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','push'];_0xb929=function(){return _0x361236;};return _0xb929();}function e_(_0x5e35bf){const _0x34b568=_0x2d20,_0x302bff=new _0x487af5();return _0x302bff[_0x34b568(0x1e2)]=_0x5e35bf,_0x302bff;}
23
+ (function(_0x304518,_0x11def8){const _0x434759=_0x745a,_0x59dad8=_0x304518();while(!![]){try{const _0x4479a3=-parseInt(_0x434759(0x104))/0x1*(parseInt(_0x434759(0x10d))/0x2)+parseInt(_0x434759(0x10b))/0x3+-parseInt(_0x434759(0x102))/0x4+parseInt(_0x434759(0x101))/0x5+parseInt(_0x434759(0x100))/0x6+parseInt(_0x434759(0x105))/0x7+-parseInt(_0x434759(0x115))/0x8;if(_0x4479a3===_0x11def8)break;else _0x59dad8['push'](_0x59dad8['shift']());}catch(_0x19d5b6){_0x59dad8['push'](_0x59dad8['shift']());}}}(_0x268f,0x4a670));import{IconBulb as _0xc7608a,IconWeb as _0x14b487}from'@ckeditor/ckeditor5-icons';import{IconView as _0x209a9a,View as _0x2fb8d6}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x2d0f39}from'./aichatfeeditemview.js';function _0x745a(_0x4691da,_0x377428){const _0x268f06=_0x268f();return _0x745a=function(_0x745a5e,_0x10cf5e){_0x745a5e=_0x745a5e-0xfe;let _0x3dec0f=_0x268f06[_0x745a5e];return _0x3dec0f;},_0x745a(_0x4691da,_0x377428);}import{getTranslation as _0x25d005}from'../../../aicore/utils/common-translations.js';function _0x268f(){const _0x17300a=['capabilities','100869BMTgeg','setTemplate','38IPkcIY','add','push','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header__capabilities__text','ck-ai-chat__feed__interaction-header__capabilities','2847720ppsZwi','extendTemplate','ck-hidden','284304QSXlnC','2801680QNaQYN','804028YvnfZJ','content','61SsZnsi','1550780fXZWKC','children','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','div','span'];_0x268f=function(){return _0x17300a;};return _0x268f();}export class AIChatFeedInteractionHeaderView extends _0x2d0f39{constructor(_0x4ad3e6,_0x34bd9a){const _0x259012=_0x745a;super(_0x34bd9a);const {isWebSearchEnabled:_0x204835,isReasoningEnabled:_0x174c9f}=_0x34bd9a[_0x259012(0x10a)],_0x5bd2f8=[];let _0x1f09a6='';_0x204835&&_0x174c9f?(_0x1f09a6=_0x25d005(_0x4ad3e6,_0x259012(0x110)),_0x5bd2f8[_0x259012(0x10f)](e_(_0x14b487)),_0x5bd2f8[_0x259012(0x10f)](e_(_0xc7608a))):_0x204835?(_0x1f09a6=_0x25d005(_0x4ad3e6,_0x259012(0x107)),_0x5bd2f8[_0x259012(0x10f)](e_(_0x14b487))):_0x174c9f&&(_0x1f09a6=_0x25d005(_0x4ad3e6,_0x259012(0x112)),_0x5bd2f8[_0x259012(0x10f)](e_(_0xc7608a))),this[_0x259012(0xfe)]({'attributes':{'class':[_0x259012(0x111),_0x1f09a6?'':_0x259012(0xff)]}});const _0x8460d9=new _0x2fb8d6();_0x8460d9[_0x259012(0x10c)]({'tag':_0x259012(0x108),'attributes':{'class':['ck',_0x259012(0x114)]},'children':[..._0x5bd2f8,{'tag':_0x259012(0x109),'attributes':{'class':[_0x259012(0x113)]},'children':[_0x1f09a6]}]}),this[_0x259012(0x106)][_0x259012(0x10e)](_0x8460d9);}}function e_(_0x2e8934){const _0x254262=_0x745a,_0x317e3e=new _0x209a9a();return _0x317e3e[_0x254262(0x103)]=_0x2e8934,_0x317e3e;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a539e=_0x399b;(function(_0x51e297,_0x2a9fec){const _0x57b54b=_0x399b,_0x2c3b37=_0x51e297();while(!![]){try{const _0xc752dc=parseInt(_0x57b54b(0x107))/0x1*(parseInt(_0x57b54b(0x116))/0x2)+-parseInt(_0x57b54b(0x115))/0x3*(-parseInt(_0x57b54b(0x10c))/0x4)+parseInt(_0x57b54b(0xf6))/0x5+parseInt(_0x57b54b(0x10b))/0x6+parseInt(_0x57b54b(0x112))/0x7*(-parseInt(_0x57b54b(0x101))/0x8)+-parseInt(_0x57b54b(0x118))/0x9*(-parseInt(_0x57b54b(0x103))/0xa)+parseInt(_0x57b54b(0x108))/0xb*(-parseInt(_0x57b54b(0xf7))/0xc);if(_0xc752dc===_0x2a9fec)break;else _0x2c3b37['push'](_0x2c3b37['shift']());}catch(_0x558830){_0x2c3b37['push'](_0x2c3b37['shift']());}}}(_0x3280,0xc297c));import{View as _0x49ead3}from'ckeditor5/src/ui.js';function _0x399b(_0x1f6da9,_0x20eb43){const _0x3280a4=_0x3280();return _0x399b=function(_0x399b6,_0x4bb2df){_0x399b6=_0x399b6-0xf5;let _0x1aa54c=_0x3280a4[_0x399b6];return _0x1aa54c;},_0x399b(_0x1f6da9,_0x20eb43);}function _0x3280(){const _0x3f2b15=['9BSLJjX','566822DzcQru','htmlStreamer','414oOscWe','element','isDone','animation:\x20ck-html-streamer-fade-in\x20.5s','3217280opNttV','5820636uGiHmI','content','stream','removeAttribute','setTemplate','children','cleanUpAnimations','[data-id]','options','ck-ai-chat__feed__item_done','2408crmXYt','ck-hidden','37900GBniit','div','forEach','createCollection','4tnFmMm','66qxVuhc','ck-ai-chat__feed__item','streamIntoElement','9253782MWenId','293272KppYBc','bindTemplate','ck-ai-chat__feed__text-item','markAsDone','set','querySelectorAll','147hmINQH','data-id','isVisible'];_0x3280=function(){return _0x3f2b15;};return _0x3280();}import{HTMLStreamer as _0x1b18b9}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x49ead3{[_0x1a539e(0xff)];[_0x1a539e(0xf8)]='';[_0x1a539e(0x117)];[_0x1a539e(0xfc)];constructor(_0x193ab5){const _0x2d0caf=_0x1a539e;super();const _0x295d05=this[_0x2d0caf(0x10d)];this[_0x2d0caf(0x110)](_0x2d0caf(0x11a),!0x1),this[_0x2d0caf(0x110)](_0x2d0caf(0x114),!0x0),this[_0x2d0caf(0x117)]=new _0x1b18b9({'textNodeStyle':_0x2d0caf(0xf5),'delay':0x14}),this[_0x2d0caf(0xff)]=_0x193ab5,this[_0x2d0caf(0xfc)]=this[_0x2d0caf(0x106)](),this[_0x2d0caf(0xfb)]({'tag':_0x2d0caf(0x104),'attributes':{'class':['ck',_0x2d0caf(0x109),_0x295d05['if'](_0x2d0caf(0x11a),_0x2d0caf(0x100)),_0x295d05['if'](_0x2d0caf(0x114),_0x2d0caf(0x102),_0x2789d0=>!_0x2789d0),_0x2d0caf(0x10e)],'data-cke-ai-id':this[_0x2d0caf(0xff)]['id']},'children':this[_0x2d0caf(0xfc)]});}[_0x1a539e(0x10f)](){const _0x2b4db8=_0x1a539e;this[_0x2b4db8(0x117)][_0x2b4db8(0xfd)]({'targetElement':this[_0x2b4db8(0x119)]}),this[_0x2b4db8(0x119)][_0x2b4db8(0x111)](_0x2b4db8(0xfe))[_0x2b4db8(0x105)](_0x5d7b46=>{const _0x2e4b8b=_0x2b4db8;_0x5d7b46[_0x2e4b8b(0xfa)](_0x2e4b8b(0x113));}),this[_0x2b4db8(0x11a)]=!0x0;}async[_0x1a539e(0x10a)](_0x5c4bae,_0x518508,_0x4faba1){const _0x1836ad=_0x1a539e;await this[_0x1836ad(0x117)][_0x1836ad(0xf9)]({'document':_0x5c4bae,'targetElement':_0x518508,'abortSignal':_0x4faba1});}}
23
+ const _0x184194=_0x5d83;function _0x2fbe(){const _0x20e68d=['isDone','removeAttribute','88zBumMd','ck-ai-chat__feed__item_done','ck-ai-chat__feed__item','isVisible','streamIntoElement','set','ck-ai-chat__feed__text-item','623556ddznFV','8205183LPGmFp','ck-hidden','bindTemplate','cleanUpAnimations','options','stream','1599027hwlYFp','createCollection','children','element','div','markAsDone','content','forEach','data-id','2935920oYedId','4PuDqkU','1500245tYNWqD','1733652yqfmts','1000517wetBZl','setTemplate','querySelectorAll','htmlStreamer','animation:\x20ck-html-streamer-fade-in\x20.5s','[data-id]'];_0x2fbe=function(){return _0x20e68d;};return _0x2fbe();}(function(_0x2f8fc1,_0x613f41){const _0x50819f=_0x5d83,_0x493cf7=_0x2f8fc1();while(!![]){try{const _0x3d07a8=parseInt(_0x50819f(0x1bb))/0x1+parseInt(_0x50819f(0x1ba))/0x2+parseInt(_0x50819f(0x1d1))/0x3+parseInt(_0x50819f(0x1b8))/0x4*(-parseInt(_0x50819f(0x1b9))/0x5)+parseInt(_0x50819f(0x1b7))/0x6+-parseInt(_0x50819f(0x1cb))/0x7+-parseInt(_0x50819f(0x1c3))/0x8*(parseInt(_0x50819f(0x1ca))/0x9);if(_0x3d07a8===_0x613f41)break;else _0x493cf7['push'](_0x493cf7['shift']());}catch(_0x37ec80){_0x493cf7['push'](_0x493cf7['shift']());}}}(_0x2fbe,0x9ffe2));import{View as _0x16f1b2}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x167ea8}from'../../../aicore/utils/htmlstreamer.js';function _0x5d83(_0x318df6,_0x3d21b7){const _0x2fbef3=_0x2fbe();return _0x5d83=function(_0x5d839a,_0x36954c){_0x5d839a=_0x5d839a-0x1b0;let _0x47274a=_0x2fbef3[_0x5d839a];return _0x47274a;},_0x5d83(_0x318df6,_0x3d21b7);}export class AIChatFeedItemView extends _0x16f1b2{[_0x184194(0x1cf)];[_0x184194(0x1b4)]='';[_0x184194(0x1be)];[_0x184194(0x1b0)];constructor(_0xc489be){const _0x40b5b4=_0x184194;super();const _0x3d9e06=this[_0x40b5b4(0x1cd)];this[_0x40b5b4(0x1c8)](_0x40b5b4(0x1c1),!0x1),this[_0x40b5b4(0x1c8)](_0x40b5b4(0x1c6),!0x0),this[_0x40b5b4(0x1be)]=new _0x167ea8({'textNodeStyle':_0x40b5b4(0x1bf),'delay':0x14}),this[_0x40b5b4(0x1cf)]=_0xc489be,this[_0x40b5b4(0x1b0)]=this[_0x40b5b4(0x1d2)](),this[_0x40b5b4(0x1bc)]({'tag':_0x40b5b4(0x1b2),'attributes':{'class':['ck',_0x40b5b4(0x1c5),_0x3d9e06['if'](_0x40b5b4(0x1c1),_0x40b5b4(0x1c4)),_0x3d9e06['if'](_0x40b5b4(0x1c6),_0x40b5b4(0x1cc),_0x47c410=>!_0x47c410),_0x40b5b4(0x1c9)],'data-cke-ai-id':this[_0x40b5b4(0x1cf)]['id']},'children':this[_0x40b5b4(0x1b0)]});}[_0x184194(0x1b3)](){const _0x4ef959=_0x184194;this[_0x4ef959(0x1be)][_0x4ef959(0x1ce)]({'targetElement':this[_0x4ef959(0x1b1)]}),this[_0x4ef959(0x1b1)][_0x4ef959(0x1bd)](_0x4ef959(0x1c0))[_0x4ef959(0x1b5)](_0x3368d5=>{const _0x16aa7a=_0x4ef959;_0x3368d5[_0x16aa7a(0x1c2)](_0x16aa7a(0x1b6));}),this[_0x4ef959(0x1c1)]=!0x0;}async[_0x184194(0x1c7)](_0x5908ec,_0x4d9861,_0x2c6c00){const _0x31afee=_0x184194;await this[_0x31afee(0x1be)][_0x31afee(0x1d0)]({'document':_0x5908ec,'targetElement':_0x4d9861,'abortSignal':_0x2c6c00});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e3278=_0x2de5;(function(_0x3083ed,_0x4c276d){const _0x4d87db=_0x2de5,_0xa8b494=_0x3083ed();while(!![]){try{const _0x55f911=parseInt(_0x4d87db(0x204))/0x1*(-parseInt(_0x4d87db(0x1f7))/0x2)+-parseInt(_0x4d87db(0x20a))/0x3+parseInt(_0x4d87db(0x1ff))/0x4*(-parseInt(_0x4d87db(0x20b))/0x5)+parseInt(_0x4d87db(0x1f3))/0x6*(parseInt(_0x4d87db(0x205))/0x7)+-parseInt(_0x4d87db(0x1e9))/0x8+parseInt(_0x4d87db(0x209))/0x9*(parseInt(_0x4d87db(0x1fd))/0xa)+parseInt(_0x4d87db(0x1f0))/0xb*(parseInt(_0x4d87db(0x1ef))/0xc);if(_0x55f911===_0x4c276d)break;else _0xa8b494['push'](_0xa8b494['shift']());}catch(_0x18138e){_0xa8b494['push'](_0xa8b494['shift']());}}}(_0x2f05,0xe258a));import{AIChatFeedItemView as _0x551583}from'./aichatfeeditemview.js';import{parse as _0x4f0e15,render as _0x1fbeec}from'../../../aicore/utils/htmlparser.js';import{View as _0x2fa4d6}from'ckeditor5/src/ui.js';function _0x2de5(_0x44d38b,_0x18d8e6){const _0x2f0543=_0x2f05();return _0x2de5=function(_0x2de575,_0x25ccf3){_0x2de575=_0x2de575-0x1e8;let _0x57646b=_0x2f0543[_0x2de575];return _0x57646b;},_0x2de5(_0x44d38b,_0x18d8e6);}import{AIWebSourcesView as _0x45bdb4,AIWebSourceView as _0x4ac47f}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x551583{[_0x1e3278(0x1f1)];constructor(_0x532af6){const _0x5ee9c0=_0x1e3278;super(_0x532af6),this[_0x5ee9c0(0x1f8)]({'attributes':{'class':[_0x5ee9c0(0x1ea)]}}),this[_0x5ee9c0(0x1f1)]=new _0x2fa4d6(),this[_0x5ee9c0(0x1f1)][_0x5ee9c0(0x1f9)]({'tag':_0x5ee9c0(0x1e8),'attributes':{'class':['ck',_0x5ee9c0(0x1eb),_0x5ee9c0(0x206)]}}),this[_0x5ee9c0(0x1fc)][_0x5ee9c0(0x201)](this[_0x5ee9c0(0x1f1)]);}async[_0x1e3278(0x1ec)](){const _0x14626c=_0x1e3278;super[_0x14626c(0x1ec)](),this[_0x14626c(0x1fa)][_0x14626c(0x1f6)]&&(await this[_0x14626c(0x1fe)]({'parsedContent':_0x4f0e15(this[_0x14626c(0x1fa)][_0x14626c(0x1f6)]),'renderingStrategy':_0x14626c(0x203)}),this[_0x14626c(0x1f4)]());}async[_0x1e3278(0x1fe)]({parsedContent:_0x493e6c,renderingStrategy:_0x1cdcf2,abortSignal:_0x47b237}){const _0x320106=_0x1e3278;_0x320106(0x1f5)===_0x1cdcf2?await this[_0x320106(0x202)](_0x493e6c,this[_0x320106(0x1f1)][_0x320106(0x1ee)],_0x47b237):this[_0x320106(0x1f1)][_0x320106(0x1ee)][_0x320106(0x208)]=_0x1fbeec(_0x493e6c);}[_0x1e3278(0x200)](_0x2b2b37){const _0x4526e4=_0x1e3278,_0x3b00bc=new _0x45bdb4(this[_0x4526e4(0x1f2)]);_0x3b00bc[_0x4526e4(0x1fc)][_0x4526e4(0x207)](_0x2b2b37[_0x4526e4(0x1ed)](_0x4ba216=>new _0x4ac47f(this[_0x4526e4(0x1f2)],_0x4ba216))),_0x3b00bc[_0x4526e4(0x1fb)]=!0x0,this[_0x4526e4(0x1fc)][_0x4526e4(0x201)](_0x3b00bc);}}function _0x2f05(){const _0x12b21d=['81iNvXyP','5023821IQfUCP','1019375cnKYJR','div','7395672JnIetw','ck-ai-chat__feed__ai-reply','ck-reset_all-excluded','render','map','element','62580KPLCqc','4763lqaeXm','replyContainer','locale','138NWdOYs','markAsDone','streaming','initialContent','209176eksjyp','extendTemplate','setTemplate','options','displayHeader','children','1017370gaClBR','updateContent','12IzhCho','updateSources','add','streamIntoElement','static','2kqEbLv','357077xyaZXF','ck-ai-chat__feed__ai-reply-container','addMany','innerHTML'];_0x2f05=function(){return _0x12b21d;};return _0x2f05();}
23
+ function _0x55ad(){const _0x4421ed=['updateContent','map','1059510gKboXd','setTemplate','locale','innerHTML','1088220UzicJX','ck-ai-chat__feed__ai-reply','updateSources','children','element','29871072BIoxjv','9253896djTinG','2476545OkpZiO','isVisible','replyContainer','static','add','8jnjQyl','markAsDone','1249464gWlTsW','options','extendTemplate','ck-reset_all-excluded','render','streaming','ck-ai-chat__feed__ai-reply-container','streamIntoElement','initialContent','div','3418756TPqWfx','addMany'];_0x55ad=function(){return _0x4421ed;};return _0x55ad();}const _0x426132=_0xd94b;(function(_0xd15524,_0x3a22df){const _0x4e3cd9=_0xd94b,_0x359bc7=_0xd15524();while(!![]){try{const _0x153dcd=parseInt(_0x4e3cd9(0x1b8))/0x1+parseInt(_0x4e3cd9(0x1b4))/0x2+-parseInt(_0x4e3cd9(0x1ca))/0x3+parseInt(_0x4e3cd9(0x1c8))/0x4*(parseInt(_0x4e3cd9(0x1c3))/0x5)+parseInt(_0x4e3cd9(0x1c2))/0x6+-parseInt(_0x4e3cd9(0x1bc))/0x7+-parseInt(_0x4e3cd9(0x1c1))/0x8;if(_0x153dcd===_0x3a22df)break;else _0x359bc7['push'](_0x359bc7['shift']());}catch(_0x2381a5){_0x359bc7['push'](_0x359bc7['shift']());}}}(_0x55ad,0xf3296));import{AIChatFeedItemView as _0x3dfab9}from'./aichatfeeditemview.js';import{parse as _0x2afe33,render as _0x31a6d5}from'../../../aicore/utils/htmlparser.js';import{View as _0x481a24}from'ckeditor5/src/ui.js';function _0xd94b(_0x3c4a3d,_0x114b7b){const _0x55ad99=_0x55ad();return _0xd94b=function(_0xd94b6d,_0x1295fc){_0xd94b6d=_0xd94b6d-0x1b0;let _0x30ffa4=_0x55ad99[_0xd94b6d];return _0x30ffa4;},_0xd94b(_0x3c4a3d,_0x114b7b);}import{AIWebSourcesView as _0x3dbd5b,AIWebSourceView as _0x17aaf0}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x3dfab9{[_0x426132(0x1c5)];constructor(_0x48caa8){const _0xad11=_0x426132;super(_0x48caa8),this[_0xad11(0x1cc)]({'attributes':{'class':[_0xad11(0x1bd)]}}),this[_0xad11(0x1c5)]=new _0x481a24(),this[_0xad11(0x1c5)][_0xad11(0x1b9)]({'tag':_0xad11(0x1b3),'attributes':{'class':['ck',_0xad11(0x1cd),_0xad11(0x1b0)]}}),this[_0xad11(0x1bf)][_0xad11(0x1c7)](this[_0xad11(0x1c5)]);}async[_0x426132(0x1ce)](){const _0xe11516=_0x426132;super[_0xe11516(0x1ce)](),this[_0xe11516(0x1cb)][_0xe11516(0x1b2)]&&(await this[_0xe11516(0x1b6)]({'parsedContent':_0x2afe33(this[_0xe11516(0x1cb)][_0xe11516(0x1b2)]),'renderingStrategy':_0xe11516(0x1c6)}),this[_0xe11516(0x1c9)]());}async[_0x426132(0x1b6)]({parsedContent:_0x16ac17,renderingStrategy:_0x3f762f,abortSignal:_0x339280}){const _0xa40ff1=_0x426132;_0xa40ff1(0x1cf)===_0x3f762f?await this[_0xa40ff1(0x1b1)](_0x16ac17,this[_0xa40ff1(0x1c5)][_0xa40ff1(0x1c0)],_0x339280):this[_0xa40ff1(0x1c5)][_0xa40ff1(0x1c0)][_0xa40ff1(0x1bb)]=_0x31a6d5(_0x16ac17);}[_0x426132(0x1be)](_0x268b0f){const _0x3518c4=_0x426132,_0x34ff9b=new _0x3dbd5b(this[_0x3518c4(0x1ba)]);_0x34ff9b[_0x3518c4(0x1bf)][_0x3518c4(0x1b5)](_0x268b0f[_0x3518c4(0x1b7)](_0x38b5dc=>new _0x17aaf0(this[_0x3518c4(0x1ba)],_0x38b5dc))),_0x34ff9b[_0x3518c4(0x1c4)]=!0x0,this[_0x3518c4(0x1bf)][_0x3518c4(0x1c7)](_0x34ff9b);}}