@ckeditor/ckeditor5-ai 47.0.0-alpha.8 → 47.0.0

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 (293) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +4 -4
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.d.ts +197 -1
  181. package/src/aichat/model/aichatcontext.js +1 -1
  182. package/src/aichat/model/aichatconversation.js +1 -1
  183. package/src/aichat/model/aichatinteraction.js +1 -1
  184. package/src/aichat/model/aichatmodels.d.ts +30 -0
  185. package/src/aichat/model/aichatmodels.js +1 -1
  186. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  187. package/src/aichat/ui/aichatfeedview.js +1 -1
  188. package/src/aichat/ui/aichatheaderview.js +1 -1
  189. package/src/aichat/ui/aichatview.js +1 -1
  190. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  211. package/src/aichat/utils/eventnames.js +1 -1
  212. package/src/aichat/utils/promisequeue.js +1 -1
  213. package/src/aichat/utils/scrollmanager.js +1 -1
  214. package/src/aichathistory/aichathistory.js +1 -1
  215. package/src/aichathistory/aichathistorycontroller.js +1 -1
  216. package/src/aichathistory/aichathistoryui.js +1 -1
  217. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  218. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  219. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  221. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aireply.js +1 -1
  229. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  230. package/src/aicore/pipeline/airesponseparser.js +2 -2
  231. package/src/aicore/ui/aidisclaimerview.js +1 -1
  232. package/src/aicore/ui/aiskeleton.js +1 -1
  233. package/src/aicore/ui/aispinner.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  239. package/src/aicore/utils/common-translations.js +1 -1
  240. package/src/aicore/utils/createresizebutton.js +1 -1
  241. package/src/aicore/utils/documentposition.js +1 -1
  242. package/src/aicore/utils/documentrange.js +1 -1
  243. package/src/aicore/utils/eventnames.js +1 -1
  244. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  245. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  246. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  247. package/src/aicore/utils/htmlparser.js +1 -1
  248. package/src/aicore/utils/htmlstreamer.js +1 -1
  249. package/src/aieditorintegration/aieditorintegration.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  251. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  252. package/src/aiquickactions/aiquickactions.d.ts +1 -0
  253. package/src/aiquickactions/aiquickactions.js +1 -1
  254. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  255. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  256. package/src/aiquickactions/aiquickactionsui.d.ts +49 -0
  257. package/src/aiquickactions/aiquickactionsui.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  259. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  260. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  261. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  262. package/src/aireviewmode/aireviewmode.js +1 -1
  263. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  264. package/src/aireviewmode/aireviewmodeediting.js +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.js +1 -1
  272. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  273. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  274. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  275. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  285. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  286. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  287. package/src/aitabs/aitabs.d.ts +14 -0
  288. package/src/aitabs/aitabs.js +1 -1
  289. package/src/aitabs/aitabsmainview.js +1 -1
  290. package/src/aitabs/tabs/aitabsview.js +1 -1
  291. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  292. package/src/aitabs/tabs/tabpanelview.js +1 -1
  293. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33841a=_0x1562;(function(_0x937509,_0x425949){const _0x3bfee7=_0x1562,_0x2ddbe5=_0x937509();while(!![]){try{const _0x5dc798=parseInt(_0x3bfee7(0x197))/0x1+parseInt(_0x3bfee7(0x1af))/0x2+-parseInt(_0x3bfee7(0x1a6))/0x3*(parseInt(_0x3bfee7(0x1a4))/0x4)+-parseInt(_0x3bfee7(0x1b6))/0x5*(-parseInt(_0x3bfee7(0x1a5))/0x6)+parseInt(_0x3bfee7(0x1b2))/0x7*(-parseInt(_0x3bfee7(0x18a))/0x8)+parseInt(_0x3bfee7(0x186))/0x9+parseInt(_0x3bfee7(0x1a7))/0xa;if(_0x5dc798===_0x425949)break;else _0x2ddbe5['push'](_0x2ddbe5['shift']());}catch(_0x7a1ec3){_0x2ddbe5['push'](_0x2ddbe5['shift']());}}}(_0xeb60,0x84bc5));function _0x1562(_0x5c4c63,_0x22c027){const _0xeb60cd=_0xeb60();return _0x1562=function(_0x156237,_0x2a6863){_0x156237=_0x156237-0x180;let _0x3a496c=_0xeb60cd[_0x156237];return _0x3a496c;},_0x1562(_0x5c4c63,_0x22c027);}import{BalloonPanelView as _0x1b2e2a,ButtonView as _0xd86a0,clickOutsideHandler as _0x294071,FormHeaderView as _0x1b7fa5}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x3c184f}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x13d34e}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x5f5a66}from'./aichatresourcesview.js';const zo=_0x33841a(0x18c),Jo=_0x33841a(0x19c),Qo=_0x33841a(0x193);export class AIChatResourcesBalloonView{[_0x33841a(0x199)]=new Map();[_0x33841a(0x19a)];[_0x33841a(0x1ab)];[_0x33841a(0x198)];constructor(_0x498971,_0x425546,_0x256830){const _0x5aeda=_0x33841a;this[_0x5aeda(0x1ab)]=_0x498971,this[_0x5aeda(0x19a)]=_0x425546,this[_0x5aeda(0x198)]=_0x256830;}[_0x33841a(0x1ac)](_0x40a8cb){const _0x5b03a4=_0x33841a;let _0x3e0519=this[_0x5b03a4(0x199)][_0x5b03a4(0x18b)](_0x40a8cb['id']);_0x3e0519||(_0x3e0519=this[_0x5b03a4(0x1b4)](),this[_0x5b03a4(0x199)][_0x5b03a4(0x1b0)](_0x40a8cb['id'],_0x3e0519),this[_0x5b03a4(0x1a1)](_0x3e0519)),this[_0x5b03a4(0x1a9)](_0x3e0519,_0x40a8cb),_0x3e0519[_0x5b03a4(0x182)]();const _0x1d85a1=this[_0x5b03a4(0x198)][_0x5b03a4(0x189)]();_0x1d85a1&&_0x3e0519[_0x5b03a4(0x1a0)]({'target':_0x1d85a1,'limiter':this[_0x5b03a4(0x198)][_0x5b03a4(0x1aa)]()});}[_0x33841a(0x1a8)](_0x2c25b9,_0x4bf17f,_0x30dbb4){const _0x58a1ec=_0x33841a,_0x1090ca=this[_0x58a1ec(0x199)][_0x58a1ec(0x18b)](_0x2c25b9);if(!_0x1090ca)return;const _0x597443=this[_0x58a1ec(0x180)](_0x1090ca);_0x597443&&_0x597443[_0x58a1ec(0x1b7)](_0x4bf17f,_0x30dbb4);}[_0x33841a(0x196)](_0x4f3914){const _0x2f9e48=_0x33841a,_0x5d606c=this[_0x2f9e48(0x199)][_0x2f9e48(0x18b)](_0x4f3914);_0x5d606c&&requestAnimationFrame(()=>{const _0x1e4ca7=_0x2f9e48;_0x5d606c[_0x1e4ca7(0x184)](),this[_0x1e4ca7(0x199)][_0x1e4ca7(0x18e)](_0x4f3914),this[_0x1e4ca7(0x198)][_0x1e4ca7(0x183)]();});}[_0x33841a(0x19f)](){const _0x222de7=_0x33841a;for(const _0x5f4ecf of this[_0x222de7(0x199)][_0x222de7(0x1b1)]())if(_0x5f4ecf[_0x222de7(0x1b5)])return!0x0;return!0x1;}[_0x33841a(0x1b9)](_0x19c32c,_0x222928,_0x4bb109){const _0xa661f6=_0x33841a,_0x4a48a7=this[_0xa661f6(0x199)][_0xa661f6(0x18b)](_0x19c32c);if(!_0x4a48a7||!_0x4a48a7[_0xa661f6(0x1b5)])return;const _0x59682b=this[_0xa661f6(0x198)][_0xa661f6(0x189)]();if(!_0x59682b)return;_0x4a48a7[_0xa661f6(0x1a0)]({'target':_0x59682b,'limiter':this[_0xa661f6(0x198)][_0xa661f6(0x1aa)]()});const _0x582403=this[_0xa661f6(0x180)](_0x4a48a7);_0x582403&&_0x582403[_0xa661f6(0x1b9)](_0x222928,_0x4bb109);}[_0x33841a(0x18f)](){const _0x4c4135=_0x33841a;for(const _0x2cc792 of this[_0x4c4135(0x199)][_0x4c4135(0x1b1)]())_0x2cc792[_0x4c4135(0x18f)]();this[_0x4c4135(0x199)][_0x4c4135(0x1a3)]();}[_0x33841a(0x1b4)](){const _0x5e1e5f=_0x33841a,_0x157099=new _0x1b2e2a(this[_0x5e1e5f(0x1ab)]);return _0x157099[_0x5e1e5f(0x1a2)]({'attributes':{'class':zo}}),this[_0x5e1e5f(0x19a)][_0x5e1e5f(0x190)](_0x157099),_0x157099;}[_0x33841a(0x1a9)](_0x5e3bec,_0x4fa58c){const _0x237ab0=_0x33841a;_0x5e3bec[_0x237ab0(0x185)][_0x237ab0(0x1a3)]();const _0x2e519b=this[_0x237ab0(0x1b3)](_0x5e3bec,_0x4fa58c);_0x5e3bec[_0x237ab0(0x185)][_0x237ab0(0x190)](_0x2e519b);const _0x14519d=this[_0x237ab0(0x19b)](_0x4fa58c);_0x5e3bec[_0x237ab0(0x185)][_0x237ab0(0x190)](_0x14519d);}[_0x33841a(0x1b3)](_0x20e9e2,_0x3d9321){const _0x180ae5=_0x33841a,_0x70abf2=this[_0x180ae5(0x181)](_0x20e9e2),_0x24c58c=new _0x1b7fa5(this[_0x180ae5(0x1ab)],{'label':_0x3d9321[_0x180ae5(0x1ad)],'class':Qo});return _0x24c58c[_0x180ae5(0x188)][_0x180ae5(0x190)](_0x70abf2,0x0),_0x24c58c;}[_0x33841a(0x181)](_0x45c033){const _0x504035=_0x33841a,_0x169555=new _0xd86a0(this[_0x504035(0x1ab)]);return _0x169555[_0x504035(0x1b0)]({'icon':_0x3c184f,'tooltip':_0x13d34e(this[_0x504035(0x1ab)],_0x504035(0x194)),'tooltipPosition':'n','class':Jo}),_0x169555['on'](_0x504035(0x191),()=>{const _0x4356fd=_0x504035;_0x45c033[_0x4356fd(0x184)](),this[_0x4356fd(0x198)][_0x4356fd(0x1b8)]();}),_0x169555;}[_0x33841a(0x19b)](_0x2cb5b7){const _0x4d524b=_0x33841a,_0xeb7ba8=new _0x5f5a66(this[_0x4d524b(0x1ab)],_0x2cb5b7);return _0xeb7ba8['on'](_0x4d524b(0x19d),(_0x101ac8,_0x2f1b4f)=>{const _0x3fc138=_0x4d524b;this[_0x3fc138(0x198)][_0x3fc138(0x18d)](_0x2f1b4f);}),_0xeb7ba8['on'](_0x4d524b(0x187),(_0x3450bf,_0x352108)=>{const _0x14cceb=_0x4d524b;this[_0x14cceb(0x198)][_0x14cceb(0x195)](_0x352108[_0x14cceb(0x19e)],_0x352108[_0x14cceb(0x192)]),this[_0x14cceb(0x196)](_0x2cb5b7['id']);}),_0xeb7ba8;}[_0x33841a(0x180)](_0x1713ec){const _0x421841=_0x33841a,_0x46c7a3=_0x1713ec[_0x421841(0x185)][_0x421841(0x18b)](0x1);return _0x46c7a3 instanceof _0x5f5a66?_0x46c7a3:null;}[_0x33841a(0x1a1)](_0x241a16){const _0x17e46b=_0x33841a;_0x294071({'emitter':_0x241a16,'contextElements':[_0x241a16[_0x17e46b(0x1ae)]],'callback':()=>{const _0x1b78c6=_0x17e46b;_0x241a16[_0x1b78c6(0x184)](),this[_0x1b78c6(0x198)][_0x1b78c6(0x183)]();},'activator':()=>_0x241a16[_0x17e46b(0x1b5)]});}}function _0xeb60(){const _0x3e732a=['set','values','14nkhplr','_createBalloonHeader','_createSourceResourceBalloonPanel','isVisible','2065kHraPx','setResources','onBackToContext','updateResourceState','_getResourcesViewFromBalloon','_createBackButton','show','onBalloonClosed','hide','content','1914759EyAscI','addResourceToContext','children','getTargetElement','2170576LJCltb','get','ck-ai-chat-context-controls__source-balloon-panel','onLoadSourceResources','delete','destroy','add','execute','resource','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','onResourceSelected','closeSourceResourceBalloon','266120JZgiYk','_config','_sourceResourceBalloons','_bodyCollection','_createBalloonResourcesView','ck-button-icon\x20ck-button-back','loadSourceResources','source','isAnyResourceBalloonVisible','pin','_setupSingleResourceBalloonClickOutsideHandler','extendTemplate','clear','3721460oWapkR','11634bGcXDC','3xFNXRR','5962870DXmGHA','populateSourceResourceBalloon','_addSourceResourceContent','getLimiterElement','_locale','showSourceResourcesBalloon','label','element','281458QvhZqS'];_0xeb60=function(){return _0x3e732a;};return _0xeb60();}
23
+ const _0x4712a9=_0x413e;(function(_0x4626be,_0x2cd244){const _0x5ca67d=_0x413e,_0x1abe33=_0x4626be();while(!![]){try{const _0xfdb308=-parseInt(_0x5ca67d(0x1e5))/0x1+-parseInt(_0x5ca67d(0x1ea))/0x2*(parseInt(_0x5ca67d(0x1de))/0x3)+-parseInt(_0x5ca67d(0x1f1))/0x4+parseInt(_0x5ca67d(0x201))/0x5+parseInt(_0x5ca67d(0x1fc))/0x6+-parseInt(_0x5ca67d(0x1f3))/0x7+parseInt(_0x5ca67d(0x1e1))/0x8*(parseInt(_0x5ca67d(0x1ff))/0x9);if(_0xfdb308===_0x2cd244)break;else _0x1abe33['push'](_0x1abe33['shift']());}catch(_0x2bbfe7){_0x1abe33['push'](_0x1abe33['shift']());}}}(_0x249d,0x5f68a));import{BalloonPanelView as _0x54089b,ButtonView as _0x3f746d,clickOutsideHandler as _0x39b31a,FormHeaderView as _0x493b54}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x2e8cff}from'@ckeditor/ckeditor5-icons';function _0x413e(_0x46d704,_0x5e2852){const _0x249d30=_0x249d();return _0x413e=function(_0x413ef3,_0x214b4c){_0x413ef3=_0x413ef3-0x1d2;let _0x4bdc00=_0x249d30[_0x413ef3];return _0x4bdc00;},_0x413e(_0x46d704,_0x5e2852);}function _0x249d(){const _0x3a6cb5=['element','1359635QvmdtZ','loadSourceResources','_getResourcesViewFromBalloon','execute','isAnyResourceBalloonVisible','hide','_addSourceResourceContent','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','set','add','_createBalloonHeader','_createBackButton','destroy','showSourceResourcesBalloon','get','delete','addResourceToContext','_bodyCollection','values','updateResourceState','ck-ai-chat-context-controls__source-balloon-panel','getLimiterElement','51YFXisO','ck-button-icon\x20ck-button-back','_createBalloonResourcesView','3128kYQpbj','onBalloonClosed','pin','populateSourceResourceBalloon','390656fmMGzo','_setupSingleResourceBalloonClickOutsideHandler','_config','label','_createSourceResourceBalloonPanel','85772dXPpHR','_locale','onBackToContext','clear','resource','onLoadSourceResources','content','1582076PNRppj','extendTemplate','3881465eSjWqa','_sourceResourceBalloons','closeSourceResourceBalloon','children','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','setResources','source','show','onResourceSelected','4397436TftURS','getTargetElement','isVisible','33507AKiDVv'];_0x249d=function(){return _0x3a6cb5;};return _0x249d();}import{getTranslation as _0x41aeb2}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x48ca13}from'./aichatresourcesview.js';const zo=_0x4712a9(0x1dc),Jo=_0x4712a9(0x1df),Qo=_0x4712a9(0x1f7);export class AIChatResourcesBalloonView{[_0x4712a9(0x1f4)]=new Map();[_0x4712a9(0x1d9)];[_0x4712a9(0x1eb)];[_0x4712a9(0x1e7)];constructor(_0xf51041,_0x19d8ef,_0x108ea7){const _0x37c71d=_0x4712a9;this[_0x37c71d(0x1eb)]=_0xf51041,this[_0x37c71d(0x1d9)]=_0x19d8ef,this[_0x37c71d(0x1e7)]=_0x108ea7;}[_0x4712a9(0x1d5)](_0x4844ea){const _0x4b7c72=_0x4712a9;let _0x32479a=this[_0x4b7c72(0x1f4)][_0x4b7c72(0x1d6)](_0x4844ea['id']);_0x32479a||(_0x32479a=this[_0x4b7c72(0x1e9)](),this[_0x4b7c72(0x1f4)][_0x4b7c72(0x209)](_0x4844ea['id'],_0x32479a),this[_0x4b7c72(0x1e6)](_0x32479a)),this[_0x4b7c72(0x207)](_0x32479a,_0x4844ea),_0x32479a[_0x4b7c72(0x1fa)]();const _0x100410=this[_0x4b7c72(0x1e7)][_0x4b7c72(0x1fd)]();_0x100410&&_0x32479a[_0x4b7c72(0x1e3)]({'target':_0x100410,'limiter':this[_0x4b7c72(0x1e7)][_0x4b7c72(0x1dd)]()});}[_0x4712a9(0x1e4)](_0x1ff732,_0x384538,_0x3c66ee){const _0x118ef3=_0x4712a9,_0x76ebba=this[_0x118ef3(0x1f4)][_0x118ef3(0x1d6)](_0x1ff732);if(!_0x76ebba)return;const _0x35d19c=this[_0x118ef3(0x203)](_0x76ebba);_0x35d19c&&_0x35d19c[_0x118ef3(0x1f8)](_0x384538,_0x3c66ee);}[_0x4712a9(0x1f5)](_0x543a81){const _0x315df3=_0x4712a9,_0x1ed9b2=this[_0x315df3(0x1f4)][_0x315df3(0x1d6)](_0x543a81);_0x1ed9b2&&requestAnimationFrame(()=>{const _0x35a034=_0x315df3;_0x1ed9b2[_0x35a034(0x206)](),this[_0x35a034(0x1f4)][_0x35a034(0x1d7)](_0x543a81),this[_0x35a034(0x1e7)][_0x35a034(0x1e2)]();});}[_0x4712a9(0x205)](){const _0xf8fd3d=_0x4712a9;for(const _0x4491d4 of this[_0xf8fd3d(0x1f4)][_0xf8fd3d(0x1da)]())if(_0x4491d4[_0xf8fd3d(0x1fe)])return!0x0;return!0x1;}[_0x4712a9(0x1db)](_0xa4b156,_0x5a4caf,_0x274b53){const _0x3fff4a=_0x4712a9,_0x29f563=this[_0x3fff4a(0x1f4)][_0x3fff4a(0x1d6)](_0xa4b156);if(!_0x29f563||!_0x29f563[_0x3fff4a(0x1fe)])return;const _0x5e7b7f=this[_0x3fff4a(0x1e7)][_0x3fff4a(0x1fd)]();if(!_0x5e7b7f)return;_0x29f563[_0x3fff4a(0x1e3)]({'target':_0x5e7b7f,'limiter':this[_0x3fff4a(0x1e7)][_0x3fff4a(0x1dd)]()});const _0x206e13=this[_0x3fff4a(0x203)](_0x29f563);_0x206e13&&_0x206e13[_0x3fff4a(0x1db)](_0x5a4caf,_0x274b53);}[_0x4712a9(0x1d4)](){const _0x17111e=_0x4712a9;for(const _0x2f6ad1 of this[_0x17111e(0x1f4)][_0x17111e(0x1da)]())_0x2f6ad1[_0x17111e(0x1d4)]();this[_0x17111e(0x1f4)][_0x17111e(0x1ed)]();}[_0x4712a9(0x1e9)](){const _0x1f1965=_0x4712a9,_0x40ed17=new _0x54089b(this[_0x1f1965(0x1eb)]);return _0x40ed17[_0x1f1965(0x1f2)]({'attributes':{'class':zo}}),this[_0x1f1965(0x1d9)][_0x1f1965(0x20a)](_0x40ed17),_0x40ed17;}[_0x4712a9(0x207)](_0x30e51a,_0xb4c027){const _0x5994db=_0x4712a9;_0x30e51a[_0x5994db(0x1f0)][_0x5994db(0x1ed)]();const _0x26f711=this[_0x5994db(0x1d2)](_0x30e51a,_0xb4c027);_0x30e51a[_0x5994db(0x1f0)][_0x5994db(0x20a)](_0x26f711);const _0x59a83e=this[_0x5994db(0x1e0)](_0xb4c027);_0x30e51a[_0x5994db(0x1f0)][_0x5994db(0x20a)](_0x59a83e);}[_0x4712a9(0x1d2)](_0x255beb,_0x148550){const _0xc553e9=_0x4712a9,_0x75ab83=this[_0xc553e9(0x1d3)](_0x255beb),_0x1ec363=new _0x493b54(this[_0xc553e9(0x1eb)],{'label':_0x148550[_0xc553e9(0x1e8)],'class':Qo});return _0x1ec363[_0xc553e9(0x1f6)][_0xc553e9(0x20a)](_0x75ab83,0x0),_0x1ec363;}[_0x4712a9(0x1d3)](_0x28a1f0){const _0xedd6d4=_0x4712a9,_0x247210=new _0x3f746d(this[_0xedd6d4(0x1eb)]);return _0x247210[_0xedd6d4(0x209)]({'icon':_0x2e8cff,'tooltip':_0x41aeb2(this[_0xedd6d4(0x1eb)],_0xedd6d4(0x208)),'tooltipPosition':'n','class':Jo}),_0x247210['on'](_0xedd6d4(0x204),()=>{const _0x1f7e03=_0xedd6d4;_0x28a1f0[_0x1f7e03(0x206)](),this[_0x1f7e03(0x1e7)][_0x1f7e03(0x1ec)]();}),_0x247210;}[_0x4712a9(0x1e0)](_0x3e1a91){const _0x491986=_0x4712a9,_0x599754=new _0x48ca13(this[_0x491986(0x1eb)],_0x3e1a91);return _0x599754['on'](_0x491986(0x202),(_0x2b565e,_0x49df0a)=>{const _0x560efc=_0x491986;this[_0x560efc(0x1e7)][_0x560efc(0x1ef)](_0x49df0a);}),_0x599754['on'](_0x491986(0x1d8),(_0x25cc8d,_0x48451a)=>{const _0x486803=_0x491986;this[_0x486803(0x1e7)][_0x486803(0x1fb)](_0x48451a[_0x486803(0x1f9)],_0x48451a[_0x486803(0x1ee)]),this[_0x486803(0x1f5)](_0x3e1a91['id']);}),_0x599754;}[_0x4712a9(0x203)](_0x295ea4){const _0x3068ce=_0x4712a9,_0x1239b7=_0x295ea4[_0x3068ce(0x1f0)][_0x3068ce(0x1d6)](0x1);return _0x1239b7 instanceof _0x48ca13?_0x1239b7:null;}[_0x4712a9(0x1e6)](_0x37c683){const _0x50a0b8=_0x4712a9;_0x39b31a({'emitter':_0x37c683,'contextElements':[_0x37c683[_0x50a0b8(0x200)]],'callback':()=>{const _0x5debf3=_0x50a0b8;_0x37c683[_0x5debf3(0x206)](),this[_0x5debf3(0x1e7)][_0x5debf3(0x1e2)]();},'activator':()=>_0x37c683[_0x50a0b8(0x1fe)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2413ea=_0x42e0;function _0x29fa(){const _0x375923=['3945036JQTEue','label','filter','182853cIfyDr','11HZCxxo','addResourceToContext','extendTemplate','highlightText','330040uiEAJi','updateResourceState','replace','locale','_handleResourceSelection','clear','2QAeZqb','items','test','execute','trim','useDefaultFiltering','536XjIJWZ','\x5c$&','12yhBkhW','1106988pSdUgE','808264qvtQmp','3828330GHtvAL','fire','setResources','ck-ai-chat-resources__list','14MOzCkE','448165XvWpdZ','_source','resource','add','forEach'];_0x29fa=function(){return _0x375923;};return _0x29fa();}(function(_0xa78858,_0x5254b6){const _0x7c4abc=_0x42e0,_0x4e8176=_0xa78858();while(!![]){try{const _0x30382a=-parseInt(_0x7c4abc(0xa1))/0x1*(parseInt(_0x7c4abc(0xab))/0x2)+-parseInt(_0x7c4abc(0xac))/0x3+parseInt(_0x7c4abc(0xa9))/0x4*(parseInt(_0x7c4abc(0x8e))/0x5)+parseInt(_0x7c4abc(0x93))/0x6*(parseInt(_0x7c4abc(0xb0))/0x7)+parseInt(_0x7c4abc(0xa7))/0x8*(parseInt(_0x7c4abc(0x96))/0x9)+parseInt(_0x7c4abc(0x9b))/0xa+-parseInt(_0x7c4abc(0x97))/0xb*(-parseInt(_0x7c4abc(0xaa))/0xc);if(_0x30382a===_0x5254b6)break;else _0x4e8176['push'](_0x4e8176['shift']());}catch(_0x3bf3a8){_0x4e8176['push'](_0x4e8176['shift']());}}}(_0x29fa,0xf0bad));import{ListView as _0x1f794f}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x4374fb}from'./aichatresourcelistitemview.js';const tc=_0x2413ea(0xaf);function _0x42e0(_0x551c38,_0xc2420d){const _0x29fae0=_0x29fa();return _0x42e0=function(_0x42e014,_0x28ff4f){_0x42e014=_0x42e014-0x8e;let _0x43140f=_0x29fae0[_0x42e014];return _0x43140f;},_0x42e0(_0x551c38,_0xc2420d);}export class AIChatContextResourcesListView extends _0x1f794f{[_0x2413ea(0x8f)];constructor(_0x1a9973,_0x265ca2){const _0x4ad0c3=_0x2413ea;super(_0x1a9973),this[_0x4ad0c3(0x8f)]=_0x265ca2,this[_0x4ad0c3(0x99)]({'attributes':{'class':[tc]}});}[_0x2413ea(0xae)](_0x1dd270,_0x397362){const _0x404968=_0x2413ea;this[_0x404968(0xa2)][_0x404968(0xa0)]();let _0x544ac6=_0x1dd270;if(this[_0x404968(0x8f)][_0x404968(0xa6)]&&_0x397362&&''!==_0x397362[_0x404968(0xa5)]()){const _0x5149f8=new RegExp(_0x397362[_0x404968(0x9d)](/[.*+?^${}()|[\]\\]/g,_0x404968(0xa8)),'gi');_0x544ac6=_0x1dd270[_0x404968(0x95)](_0x2b8066=>_0x5149f8[_0x404968(0xa3)](_0x2b8066[_0x404968(0x94)]));}for(const _0x8b5155 of _0x544ac6){const _0x3510a5=new _0x4374fb(this[_0x404968(0x9e)],_0x8b5155);_0x3510a5['on'](_0x404968(0xa4),()=>{const _0x52be46=_0x404968;this[_0x52be46(0x9f)](this[_0x52be46(0x8f)],_0x8b5155);}),this[_0x404968(0xa2)][_0x404968(0x91)](_0x3510a5);}this[_0x404968(0x8f)][_0x404968(0xa6)]&&this[_0x404968(0x9a)](_0x397362);}[_0x2413ea(0x9a)](_0x597c65){const _0x2f3e89=_0x2413ea;this[_0x2f3e89(0x8f)][_0x2f3e89(0xa6)]&&this[_0x2f3e89(0xa2)][_0x2f3e89(0x92)](_0x2b6562=>{const _0x30987f=_0x2f3e89;_0x2b6562[_0x30987f(0x9a)](_0x597c65);});}[_0x2413ea(0x9c)](_0x567480,_0x3e9727){const _0x2f9972=_0x2413ea;for(const _0x3a5b36 of this[_0x2f9972(0xa2)]){const _0x2797a6=_0x3a5b36;_0x2797a6[_0x2f9972(0x90)]['id']===_0x567480&&_0x2797a6[_0x2f9972(0x9c)](_0x3e9727);}}[_0x2413ea(0x9f)](_0x35db15,_0x4c49f2){const _0x35f910=_0x2413ea;this[_0x35f910(0xad)](_0x35f910(0x98),{'source':_0x35db15,'resource':_0x4c49f2});}}
23
+ function _0x32cb(_0x1d3a5f,_0x233f0b){const _0x992172=_0x9921();return _0x32cb=function(_0x32cbfc,_0x118b23){_0x32cbfc=_0x32cbfc-0x90;let _0x37ca9f=_0x992172[_0x32cbfc];return _0x37ca9f;},_0x32cb(_0x1d3a5f,_0x233f0b);}const _0x46fcb4=_0x32cb;function _0x9921(){const _0xce9cad=['resource','7NzvADC','fire','filter','extendTemplate','forEach','_source','locale','execute','label','1359378YEjpkT','trim','test','418aUQBID','items','1876758ArHsKC','addResourceToContext','highlightText','1737PLLLtV','replace','useDefaultFiltering','1690040GLWjat','4fVnRWa','clear','_handleResourceSelection','439855EMvhCh','300358mccptF','1707540WbmQUb','\x5c$&','setResources','add','updateResourceState','ck-ai-chat-resources__list'];_0x9921=function(){return _0xce9cad;};return _0x9921();}(function(_0x430951,_0x4a2981){const _0x217920=_0x32cb,_0x500984=_0x430951();while(!![]){try{const _0x2f61f6=parseInt(_0x217920(0xab))/0x1+parseInt(_0x217920(0x9e))/0x2*(parseInt(_0x217920(0xa3))/0x3)+-parseInt(_0x217920(0xa7))/0x4*(parseInt(_0x217920(0xaa))/0x5)+-parseInt(_0x217920(0xa0))/0x6*(parseInt(_0x217920(0x92))/0x7)+parseInt(_0x217920(0xa6))/0x8+-parseInt(_0x217920(0x9b))/0x9+parseInt(_0x217920(0xac))/0xa;if(_0x2f61f6===_0x4a2981)break;else _0x500984['push'](_0x500984['shift']());}catch(_0x4072c2){_0x500984['push'](_0x500984['shift']());}}}(_0x9921,0x3d6b4));import{ListView as _0x11be48}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x41db81}from'./aichatresourcelistitemview.js';const tc=_0x46fcb4(0x90);export class AIChatContextResourcesListView extends _0x11be48{[_0x46fcb4(0x97)];constructor(_0x3bef91,_0x4dc93e){const _0x44326a=_0x46fcb4;super(_0x3bef91),this[_0x44326a(0x97)]=_0x4dc93e,this[_0x44326a(0x95)]({'attributes':{'class':[tc]}});}[_0x46fcb4(0xae)](_0x173de7,_0x7d932f){const _0x168c01=_0x46fcb4;this[_0x168c01(0x9f)][_0x168c01(0xa8)]();let _0x3f6bc1=_0x173de7;if(this[_0x168c01(0x97)][_0x168c01(0xa5)]&&_0x7d932f&&''!==_0x7d932f[_0x168c01(0x9c)]()){const _0x3e131e=new RegExp(_0x7d932f[_0x168c01(0xa4)](/[.*+?^${}()|[\]\\]/g,_0x168c01(0xad)),'gi');_0x3f6bc1=_0x173de7[_0x168c01(0x94)](_0x11cb3b=>_0x3e131e[_0x168c01(0x9d)](_0x11cb3b[_0x168c01(0x9a)]));}for(const _0xd21b2b of _0x3f6bc1){const _0x147947=new _0x41db81(this[_0x168c01(0x98)],_0xd21b2b);_0x147947['on'](_0x168c01(0x99),()=>{const _0x3553ea=_0x168c01;this[_0x3553ea(0xa9)](this[_0x3553ea(0x97)],_0xd21b2b);}),this[_0x168c01(0x9f)][_0x168c01(0xaf)](_0x147947);}this[_0x168c01(0x97)][_0x168c01(0xa5)]&&this[_0x168c01(0xa2)](_0x7d932f);}[_0x46fcb4(0xa2)](_0x15b32d){const _0x3a556b=_0x46fcb4;this[_0x3a556b(0x97)][_0x3a556b(0xa5)]&&this[_0x3a556b(0x9f)][_0x3a556b(0x96)](_0x24aca2=>{const _0x5153a0=_0x3a556b;_0x24aca2[_0x5153a0(0xa2)](_0x15b32d);});}[_0x46fcb4(0xb0)](_0x53bd11,_0x482f54){const _0x7eabc7=_0x46fcb4;for(const _0x5bf727 of this[_0x7eabc7(0x9f)]){const _0x1f2f29=_0x5bf727;_0x1f2f29[_0x7eabc7(0x91)]['id']===_0x53bd11&&_0x1f2f29[_0x7eabc7(0xb0)](_0x482f54);}}[_0x46fcb4(0xa9)](_0x333867,_0xdc8f00){const _0x22cff1=_0x46fcb4;this[_0x22cff1(0x93)](_0x22cff1(0xa1),{'source':_0x333867,'resource':_0xdc8f00});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3cea2d,IconView as _0x2f4741,LabeledFieldView as th,createLabeledInputText as _0x4445e2}from'ckeditor5/src/ui.js';import{IconLoupe as _0x91361f,IconCancel as _0x589b72}from'ckeditor5/src/icons.js';import{getTranslation as _0x454971}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends th{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x15fa70){const t=_0x15fa70['t'],_0x47b073={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x4445e2,'label':_0x454971(_0x15fa70,'AI_CHAT_SEARCH_RESOURCES')};super(_0x15fa70,_0x47b073['creator']),this['label']=_0x47b073['label'],this['_viewConfig']=_0x47b073,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x15fa70,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x586c83){this['fire']('search',_0x586c83);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x2f4741(),this['iconView']['content']=_0x91361f,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x2567dc,t){this['resetButtonView']=new _0x3cea2d(_0x2567dc),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x589b72,'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',_0x34e815=>!_0x34e815),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 _0x1f606e,IconView as _0x19a7da,LabeledFieldView as th,createLabeledInputText as _0x27fbf8}from'ckeditor5/src/ui.js';import{IconLoupe as _0x54e956,IconCancel as _0x301d9e}from'ckeditor5/src/icons.js';import{getTranslation as _0x7f4ac5}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends th{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x20cca5){const t=_0x20cca5['t'],_0x1aa0e1={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x27fbf8,'label':_0x7f4ac5(_0x20cca5,'AI_CHAT_SEARCH_RESOURCES')};super(_0x20cca5,_0x1aa0e1['creator']),this['label']=_0x1aa0e1['label'],this['_viewConfig']=_0x1aa0e1,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x20cca5,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x33525a){this['fire']('search',_0x33525a);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x19a7da(),this['iconView']['content']=_0x54e956,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x4a0b02,t){this['resetButtonView']=new _0x1f606e(_0x4a0b02),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x301d9e,'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',_0x4fd0e8=>!_0x4fd0e8),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
- function _0xfb0f(_0x4b59c4,_0x8afb2a){const _0x4e3e77=_0x4e3e();return _0xfb0f=function(_0xfb0fd8,_0x311c6b){_0xfb0fd8=_0xfb0fd8-0x1b2;let _0x54bb0b=_0x4e3e77[_0xfb0fd8];return _0x54bb0b;},_0xfb0f(_0x4b59c4,_0x8afb2a);}const _0x5295b8=_0xfb0f;(function(_0x6b87a7,_0x366708){const _0x5c5524=_0xfb0f,_0x27b39a=_0x6b87a7();while(!![]){try{const _0x36d80f=parseInt(_0x5c5524(0x1c3))/0x1*(-parseInt(_0x5c5524(0x1d1))/0x2)+parseInt(_0x5c5524(0x1dc))/0x3*(-parseInt(_0x5c5524(0x1b2))/0x4)+-parseInt(_0x5c5524(0x1ca))/0x5+parseInt(_0x5c5524(0x1d2))/0x6*(-parseInt(_0x5c5524(0x1d4))/0x7)+parseInt(_0x5c5524(0x1cd))/0x8*(-parseInt(_0x5c5524(0x1d0))/0x9)+-parseInt(_0x5c5524(0x1b8))/0xa+-parseInt(_0x5c5524(0x1cc))/0xb*(-parseInt(_0x5c5524(0x1c1))/0xc);if(_0x36d80f===_0x366708)break;else _0x27b39a['push'](_0x27b39a['shift']());}catch(_0xfd550a){_0x27b39a['push'](_0x27b39a['shift']());}}}(_0x4e3e,0xee288));import{View as _0x142800,ViewCollection as _0x3b1b37}from'ckeditor5/src/ui.js';import{uid as _0x41b37f}from'ckeditor5/src/utils.js';function _0x4e3e(){const _0x5c6a56=['_searchView','_resourcesListView','setTemplate','useDefaultFiltering','1931825xpaZMj','getQuery','1221NRqJFk','2542328bsUiOF','_createSearchSection','ck-ai-chat-resources','36TnPudZ','2QbDezs','6KVrZnF','_source','1192506eGpTqH','_skeletonLoader','render','div','updateResourceState','setResources','fire','aiChatResources','2707896aywDhF','_createSkeletonView','search','4yIOGYf','delegate','locale','highlightText','set','isLoading','12138400DuXsOE','_createSearchView','_latestLoadResourcesUid','loadResources','_createResourcesListView','loadSourceResources','extendTemplate','ck-hidden','ck\x20ck-search','609480PauZLl','children','717835ZliMcG','addResourceToContext','bindTemplate'];_0x4e3e=function(){return _0x5c6a56;};return _0x4e3e();}import{AIChatContextResourcesListView as _0x5cc752}from'./aichatresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x453a6c}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x21a257,SKELETON_DEFINITIONS as _0x132c92}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x142800{[_0x5295b8(0x1c6)];[_0x5295b8(0x1c7)];[_0x5295b8(0x1d5)];[_0x5295b8(0x1d3)];[_0x5295b8(0x1c2)];[_0x5295b8(0x1ba)]=null;constructor(_0x4bcfaa,_0xf2919c){const _0x4d6720=_0x5295b8;super(_0x4bcfaa),this[_0x4d6720(0x1d3)]=_0xf2919c,this[_0x4d6720(0x1b6)](_0x4d6720(0x1b7),!0x0),this[_0x4d6720(0x1c6)]=this[_0x4d6720(0x1b9)]();const _0x2cd2e1=this[_0x4d6720(0x1ce)]();this[_0x4d6720(0x1c7)]=this[_0x4d6720(0x1bc)](),this[_0x4d6720(0x1d5)]=this[_0x4d6720(0x1dd)](),this[_0x4d6720(0x1c2)]=new _0x3b1b37([_0x2cd2e1,this[_0x4d6720(0x1d5)],this[_0x4d6720(0x1c7)]]),this[_0x4d6720(0x1c8)]({'tag':_0x4d6720(0x1d7),'attributes':{'class':_0x4d6720(0x1cf)},'children':this[_0x4d6720(0x1c2)]});}[_0x5295b8(0x1b9)](){const _0x43e978=_0x5295b8;return new _0x453a6c(this[_0x43e978(0x1b4)]);}[_0x5295b8(0x1ce)](){const _0x4b5934=_0x5295b8,_0x6adcda=new _0x142800(this[_0x4b5934(0x1b4)]);return _0x6adcda[_0x4b5934(0x1c8)]({'tag':_0x4b5934(0x1d7),'attributes':{'class':_0x4b5934(0x1c0)},'children':[this[_0x4b5934(0x1c6)]]}),this[_0x4b5934(0x1c6)]['on'](_0x4b5934(0x1de),(_0x2be79f,_0x2b48c2)=>{const _0x15a8d7=_0x4b5934;this[_0x15a8d7(0x1bb)](_0x2b48c2),this[_0x15a8d7(0x1d3)][_0x15a8d7(0x1c9)]&&this[_0x15a8d7(0x1c7)][_0x15a8d7(0x1b5)](_0x2b48c2);}),_0x6adcda;}[_0x5295b8(0x1bc)](){const _0x54df8c=_0x5295b8,_0x514a29=new _0x5cc752(this[_0x54df8c(0x1b4)],this[_0x54df8c(0x1d3)]);return _0x514a29[_0x54df8c(0x1b3)](_0x54df8c(0x1c4))['to'](this),_0x514a29[_0x54df8c(0x1be)]({'attributes':{'class':this[_0x54df8c(0x1c5)]['if'](_0x54df8c(0x1b7),_0x54df8c(0x1bf))}}),_0x514a29;}[_0x5295b8(0x1dd)](){const _0x485448=_0x5295b8,_0x5267b8=new _0x21a257(this[_0x485448(0x1b4)],_0x132c92[_0x485448(0x1db)]);return _0x5267b8[_0x485448(0x1be)]({'attributes':{'class':[this[_0x485448(0x1c5)]['if'](_0x485448(0x1b7),_0x485448(0x1bf),_0x17092f=>!_0x17092f)]}}),_0x5267b8;}[_0x5295b8(0x1d6)](){const _0x151bca=_0x5295b8;super[_0x151bca(0x1d6)](),this[_0x151bca(0x1bb)]('');}[_0x5295b8(0x1bb)](_0x2f224c){const _0x51fb0c=_0x5295b8,_0x2021f8=_0x41b37f();this[_0x51fb0c(0x1ba)]=_0x2021f8,this[_0x51fb0c(0x1da)](_0x51fb0c(0x1bd),{'sourceId':this[_0x51fb0c(0x1d3)]['id'],'query':_0x2f224c,'uid':_0x2021f8}),this[_0x51fb0c(0x1b7)]=!0x0;}[_0x5295b8(0x1d9)](_0x484f5d,_0x2f2732){const _0x180d5d=_0x5295b8;if(_0x2f2732&&_0x2f2732!==this[_0x180d5d(0x1ba)])return;const _0x2e9da5=this[_0x180d5d(0x1d3)][_0x180d5d(0x1c9)]?this[_0x180d5d(0x1c6)][_0x180d5d(0x1cb)]():'';this[_0x180d5d(0x1c7)][_0x180d5d(0x1d9)](_0x484f5d,_0x2e9da5),requestAnimationFrame(()=>{const _0x3d247c=_0x180d5d;this[_0x3d247c(0x1b7)]=!0x1;});}[_0x5295b8(0x1d8)](_0x32a859,_0x3bb263){const _0x202dc8=_0x5295b8;this[_0x202dc8(0x1c7)][_0x202dc8(0x1d8)](_0x32a859,_0x3bb263);}}
23
+ const _0x1aa0fc=_0x4ff2;(function(_0x4c853a,_0x47c291){const _0x20f28a=_0x4ff2,_0x524757=_0x4c853a();while(!![]){try{const _0x4a7b95=parseInt(_0x20f28a(0xa3))/0x1*(parseInt(_0x20f28a(0xb9))/0x2)+parseInt(_0x20f28a(0xb5))/0x3+parseInt(_0x20f28a(0xa8))/0x4+parseInt(_0x20f28a(0xb0))/0x5+-parseInt(_0x20f28a(0xad))/0x6+-parseInt(_0x20f28a(0xae))/0x7*(-parseInt(_0x20f28a(0x93))/0x8)+-parseInt(_0x20f28a(0x98))/0x9*(parseInt(_0x20f28a(0xb4))/0xa);if(_0x4a7b95===_0x47c291)break;else _0x524757['push'](_0x524757['shift']());}catch(_0x3d338d){_0x524757['push'](_0x524757['shift']());}}}(_0x3463,0x43216));import{View as _0x30161e,ViewCollection as _0x116366}from'ckeditor5/src/ui.js';import{uid as _0x5c797c}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x4424ab}from'./aichatresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x89b3cb}from'./aichatresourcessearchinputview.js';function _0x4ff2(_0x4e1bae,_0x29a4c7){const _0x346341=_0x3463();return _0x4ff2=function(_0x4ff21b,_0x3430da){_0x4ff21b=_0x4ff21b-0x92;let _0x438bac=_0x346341[_0x4ff21b];return _0x438bac;},_0x4ff2(_0x4e1bae,_0x29a4c7);}function _0x3463(){const _0x176c8e=['_resourcesListView','240788rPXJir','children','_source','_createResourcesListView','render','4042096PyZIdh','highlightText','_latestLoadResourcesUid','locale','div','368964gLIQWt','loadResources','fire','ck-ai-chat-resources','addResourceToContext','_searchView','bindTemplate','ck-hidden','_createSearchSection','updateResourceState','_skeletonLoader','4PMJAse','useDefaultFiltering','aiChatResources','ck\x20ck-search','isLoading','1549480yDNdmL','loadSourceResources','set','_createSearchView','delegate','3015018LbBrJi','7gRqBwF','getQuery','663965xroVIP','setResources','setTemplate','search','290nWldKg','1378056WchzeM','_createSkeletonView','extendTemplate'];_0x3463=function(){return _0x176c8e;};return _0x3463();}import{AISkeletonView as _0x2a454c,SKELETON_DEFINITIONS as _0x158f49}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x30161e{[_0x1aa0fc(0x9d)];[_0x1aa0fc(0xb8)];[_0x1aa0fc(0xa2)];[_0x1aa0fc(0xbb)];[_0x1aa0fc(0xba)];[_0x1aa0fc(0x95)]=null;constructor(_0x1c1e68,_0x14ef65){const _0x581a78=_0x1aa0fc;super(_0x1c1e68),this[_0x581a78(0xbb)]=_0x14ef65,this[_0x581a78(0xaa)](_0x581a78(0xa7),!0x0),this[_0x581a78(0x9d)]=this[_0x581a78(0xab)]();const _0x359a8e=this[_0x581a78(0xa0)]();this[_0x581a78(0xb8)]=this[_0x581a78(0xbc)](),this[_0x581a78(0xa2)]=this[_0x581a78(0xb6)](),this[_0x581a78(0xba)]=new _0x116366([_0x359a8e,this[_0x581a78(0xa2)],this[_0x581a78(0xb8)]]),this[_0x581a78(0xb2)]({'tag':_0x581a78(0x97),'attributes':{'class':_0x581a78(0x9b)},'children':this[_0x581a78(0xba)]});}[_0x1aa0fc(0xab)](){const _0x476eb6=_0x1aa0fc;return new _0x89b3cb(this[_0x476eb6(0x96)]);}[_0x1aa0fc(0xa0)](){const _0x8cb277=_0x1aa0fc,_0x5b8cd7=new _0x30161e(this[_0x8cb277(0x96)]);return _0x5b8cd7[_0x8cb277(0xb2)]({'tag':_0x8cb277(0x97),'attributes':{'class':_0x8cb277(0xa6)},'children':[this[_0x8cb277(0x9d)]]}),this[_0x8cb277(0x9d)]['on'](_0x8cb277(0xb3),(_0x2daf5f,_0xe26eff)=>{const _0x50f1d0=_0x8cb277;this[_0x50f1d0(0x99)](_0xe26eff),this[_0x50f1d0(0xbb)][_0x50f1d0(0xa4)]&&this[_0x50f1d0(0xb8)][_0x50f1d0(0x94)](_0xe26eff);}),_0x5b8cd7;}[_0x1aa0fc(0xbc)](){const _0x2f1c31=_0x1aa0fc,_0x254ee3=new _0x4424ab(this[_0x2f1c31(0x96)],this[_0x2f1c31(0xbb)]);return _0x254ee3[_0x2f1c31(0xac)](_0x2f1c31(0x9c))['to'](this),_0x254ee3[_0x2f1c31(0xb7)]({'attributes':{'class':this[_0x2f1c31(0x9e)]['if'](_0x2f1c31(0xa7),_0x2f1c31(0x9f))}}),_0x254ee3;}[_0x1aa0fc(0xb6)](){const _0x347c3e=_0x1aa0fc,_0x55fbaa=new _0x2a454c(this[_0x347c3e(0x96)],_0x158f49[_0x347c3e(0xa5)]);return _0x55fbaa[_0x347c3e(0xb7)]({'attributes':{'class':[this[_0x347c3e(0x9e)]['if'](_0x347c3e(0xa7),_0x347c3e(0x9f),_0x5e7d55=>!_0x5e7d55)]}}),_0x55fbaa;}[_0x1aa0fc(0x92)](){const _0x40e4e8=_0x1aa0fc;super[_0x40e4e8(0x92)](),this[_0x40e4e8(0x99)]('');}[_0x1aa0fc(0x99)](_0x3cc655){const _0x58240a=_0x1aa0fc,_0x58d155=_0x5c797c();this[_0x58240a(0x95)]=_0x58d155,this[_0x58240a(0x9a)](_0x58240a(0xa9),{'sourceId':this[_0x58240a(0xbb)]['id'],'query':_0x3cc655,'uid':_0x58d155}),this[_0x58240a(0xa7)]=!0x0;}[_0x1aa0fc(0xb1)](_0x5e420e,_0x519fff){const _0x459f38=_0x1aa0fc;if(_0x519fff&&_0x519fff!==this[_0x459f38(0x95)])return;const _0x24840d=this[_0x459f38(0xbb)][_0x459f38(0xa4)]?this[_0x459f38(0x9d)][_0x459f38(0xaf)]():'';this[_0x459f38(0xb8)][_0x459f38(0xb1)](_0x5e420e,_0x24840d),requestAnimationFrame(()=>{const _0x1dce06=_0x459f38;this[_0x1dce06(0xa7)]=!0x1;});}[_0x1aa0fc(0xa1)](_0x3781d0,_0x118828){const _0x18df2f=_0x1aa0fc;this[_0x18df2f(0xb8)][_0x18df2f(0xa1)](_0x3781d0,_0x118828);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cc6d3=_0x43e9;(function(_0x329443,_0x4a996d){const _0x201e07=_0x43e9,_0x4915a2=_0x329443();while(!![]){try{const _0x50587f=parseInt(_0x201e07(0xcb))/0x1*(parseInt(_0x201e07(0xcd))/0x2)+parseInt(_0x201e07(0xc0))/0x3*(-parseInt(_0x201e07(0xcc))/0x4)+-parseInt(_0x201e07(0xd6))/0x5*(parseInt(_0x201e07(0xb9))/0x6)+-parseInt(_0x201e07(0xce))/0x7*(parseInt(_0x201e07(0xd0))/0x8)+-parseInt(_0x201e07(0xb8))/0x9*(-parseInt(_0x201e07(0xd5))/0xa)+parseInt(_0x201e07(0xc9))/0xb*(parseInt(_0x201e07(0xc6))/0xc)+parseInt(_0x201e07(0xd2))/0xd;if(_0x50587f===_0x4a996d)break;else _0x4915a2['push'](_0x4915a2['shift']());}catch(_0x3b6ca5){_0x4915a2['push'](_0x4915a2['shift']());}}}(_0x58a9,0x64152));import{View as _0x124ab1}from'ckeditor5/src/ui.js';function _0x58a9(){const _0x326c15=['2114792dHmFPU','createCollection','4377711KKaaFq','_bodyCollection','locale','196980OcFnRj','3755GlKGOA','ck-ai-chat-context-chips-wrapper-balloon','element','ck-reset_all','reorganizeChips','9RkZkVT','2436mYfilL','ck-ai-chat-context-chips-wrapper','setTemplate','div','ck-ai-chat-controls_context_show-more-button','ck-ai-chat__feed__context-chips','setContainerElement','1106259nrlXUD','querySelector','render','_contextChips','ck-ai-chat-controls-button','destroy','7392QVtPQN','ck-ai-chat-context-controls__show-more-balloon-panel','add','8349lbEDhP','_overflowManager','14161gpvUFR','4xylReF','74lDbSFp','7eSxWtG','_createContextChips'];_0x58a9=function(){return _0x326c15;};return _0x58a9();}import{AIChatContextItemButtonView as _0x2b765b}from'../controls/aichatcontextitembuttonview.js';function _0x43e9(_0x4d0410,_0x3bc563){const _0x58a9fb=_0x58a9();return _0x43e9=function(_0x43e985,_0xbf1626){_0x43e985=_0x43e985-0xb7;let _0x1e5701=_0x58a9fb[_0x43e985];return _0x1e5701;},_0x43e9(_0x4d0410,_0x3bc563);}import{AIChatChipsOverflowManager as _0x506b0b}from'../controls/aichatchipsoverflowmanager.js';const Fo=_0x1cc6d3(0xbe),$o=_0x1cc6d3(0xba),qo=_0x1cc6d3(0xd7),Vo=_0x1cc6d3(0xc4),Io=_0x1cc6d3(0xbd),Po=_0x1cc6d3(0xc7);export class AIChatFeedContextChipsView extends _0x124ab1{[_0x1cc6d3(0xc3)]=this[_0x1cc6d3(0xd1)]();[_0x1cc6d3(0xca)];[_0x1cc6d3(0xd3)];constructor(_0x28d2bf,_0x42fbe3,_0x261c08){const _0x4a2eae=_0x1cc6d3;super(_0x28d2bf),this[_0x4a2eae(0xd3)]=_0x261c08,this[_0x4a2eae(0xcf)](_0x42fbe3);const _0x12bc23={'cssClasses':{'showMoreButton':Io,'showMoreBalloon':Po,'overflowContainer':qo,'controlsButton':Vo}};this[_0x4a2eae(0xca)]=new _0x506b0b(_0x28d2bf,this[_0x4a2eae(0xc3)],_0x12bc23,this[_0x4a2eae(0xd3)],this),this[_0x4a2eae(0xbb)]({'tag':_0x4a2eae(0xbc),'attributes':{'class':[Fo,'ck',_0x4a2eae(0xd9)]},'children':[{'tag':_0x4a2eae(0xbc),'attributes':{'class':$o},'children':this[_0x4a2eae(0xc3)]}]});}[_0x1cc6d3(0xc2)](){const _0x14a635=_0x1cc6d3;super[_0x14a635(0xc2)]();const _0x3f36a5=this[_0x14a635(0xd8)][_0x14a635(0xc1)]('.'+$o);_0x3f36a5&&(this[_0x14a635(0xca)][_0x14a635(0xbf)](_0x3f36a5),this[_0x14a635(0xca)][_0x14a635(0xb7)]());}[_0x1cc6d3(0xc5)](){const _0x2f0d46=_0x1cc6d3;super[_0x2f0d46(0xc5)](),this[_0x2f0d46(0xca)][_0x2f0d46(0xc5)]();}[_0x1cc6d3(0xcf)](_0x5640fb){const _0xfd1923=_0x1cc6d3;for(const _0x56d21d of _0x5640fb){const _0x36e38f=new _0x2b765b(this[_0xfd1923(0xd4)],_0x56d21d,!0x0,!0x1);this[_0xfd1923(0xc3)][_0xfd1923(0xc8)](_0x36e38f);}}}
23
+ function _0x29c8(_0x1205bd,_0x391e43){const _0x32534e=_0x3253();return _0x29c8=function(_0x29c8d4,_0xe21bf1){_0x29c8d4=_0x29c8d4-0x1b7;let _0x13bcce=_0x32534e[_0x29c8d4];return _0x13bcce;},_0x29c8(_0x1205bd,_0x391e43);}const _0x2e8907=_0x29c8;(function(_0x6860ce,_0x1c1412){const _0x26753b=_0x29c8,_0x456a3c=_0x6860ce();while(!![]){try{const _0x52e758=parseInt(_0x26753b(0x1cd))/0x1*(parseInt(_0x26753b(0x1c6))/0x2)+-parseInt(_0x26753b(0x1c3))/0x3+parseInt(_0x26753b(0x1ce))/0x4*(-parseInt(_0x26753b(0x1d0))/0x5)+-parseInt(_0x26753b(0x1d1))/0x6+-parseInt(_0x26753b(0x1be))/0x7*(-parseInt(_0x26753b(0x1d2))/0x8)+parseInt(_0x26753b(0x1d6))/0x9+-parseInt(_0x26753b(0x1b7))/0xa*(-parseInt(_0x26753b(0x1ba))/0xb);if(_0x52e758===_0x1c1412)break;else _0x456a3c['push'](_0x456a3c['shift']());}catch(_0x98905b){_0x456a3c['push'](_0x456a3c['shift']());}}}(_0x3253,0x72323));import{View as _0x1467f0}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x540ec6}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x2a474c}from'../controls/aichatchipsoverflowmanager.js';const Fo=_0x2e8907(0x1cf),$o=_0x2e8907(0x1c8),qo=_0x2e8907(0x1c2),Vo=_0x2e8907(0x1bb),Io=_0x2e8907(0x1d3),Po=_0x2e8907(0x1bd);export class AIChatFeedContextChipsView extends _0x1467f0{[_0x2e8907(0x1c7)]=this[_0x2e8907(0x1bc)]();[_0x2e8907(0x1c4)];[_0x2e8907(0x1b9)];constructor(_0x3c4f0,_0x31b345,_0x3e7fff){const _0x2bb6b5=_0x2e8907;super(_0x3c4f0),this[_0x2bb6b5(0x1b9)]=_0x3e7fff,this[_0x2bb6b5(0x1ca)](_0x31b345);const _0x870a11={'cssClasses':{'showMoreButton':Io,'showMoreBalloon':Po,'overflowContainer':qo,'controlsButton':Vo}};this[_0x2bb6b5(0x1c4)]=new _0x2a474c(_0x3c4f0,this[_0x2bb6b5(0x1c7)],_0x870a11,this[_0x2bb6b5(0x1b9)],this),this[_0x2bb6b5(0x1d7)]({'tag':_0x2bb6b5(0x1c9),'attributes':{'class':[Fo,'ck',_0x2bb6b5(0x1cb)]},'children':[{'tag':_0x2bb6b5(0x1c9),'attributes':{'class':$o},'children':this[_0x2bb6b5(0x1c7)]}]});}[_0x2e8907(0x1d4)](){const _0x2129b5=_0x2e8907;super[_0x2129b5(0x1d4)]();const _0x52b8be=this[_0x2129b5(0x1cc)][_0x2129b5(0x1d5)]('.'+$o);_0x52b8be&&(this[_0x2129b5(0x1c4)][_0x2129b5(0x1bf)](_0x52b8be),this[_0x2129b5(0x1c4)][_0x2129b5(0x1b8)]());}[_0x2e8907(0x1c1)](){const _0x1dc6c1=_0x2e8907;super[_0x1dc6c1(0x1c1)](),this[_0x1dc6c1(0x1c4)][_0x1dc6c1(0x1c1)]();}[_0x2e8907(0x1ca)](_0x252b3d){const _0x4259b7=_0x2e8907;for(const _0x40a0d7 of _0x252b3d){const _0x1a30f0=new _0x540ec6(this[_0x4259b7(0x1c5)],_0x40a0d7,!0x0,!0x1);this[_0x4259b7(0x1c7)][_0x4259b7(0x1c0)](_0x1a30f0);}}}function _0x3253(){const _0x2eb560=['createCollection','ck-ai-chat-context-controls__show-more-balloon-panel','5506879EmASxb','setContainerElement','add','destroy','ck-ai-chat-context-chips-wrapper-balloon','827685VVpKtj','_overflowManager','locale','33624QbWAVy','_contextChips','ck-ai-chat-context-chips-wrapper','div','_createContextChips','ck-reset_all','element','29PWFGJl','2060PJajQd','ck-ai-chat__feed__context-chips','6775eHZDkf','1304868CsqXdg','8LxTYct','ck-ai-chat-controls_context_show-more-button','render','querySelector','952731TjbUPH','setTemplate','10EPVlvf','reorganizeChips','_bodyCollection','3067251ABrAow','ck-ai-chat-controls-button'];_0x3253=function(){return _0x2eb560;};return _0x3253();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc4ce(){var _0x133562=['render','innerHTML','4YVPkLz','warning','11107026TTyafc','options','extendTemplate','element','11SVGLhe','472ORFqnL','initialContent','4154676nazDvQ','10434130WCEHXV','352269RWougi','setContent','7893qUvyvh','6450640kdNrZu','9651348EiXoWa','ck-ai-chat-error_warning','ck-ai-chat-error','level','8dWPRYN','markAsDone'];_0xc4ce=function(){return _0x133562;};return _0xc4ce();}var _0x5767d4=_0x1ca4;(function(_0x1f53ec,_0x54239c){var _0x31cec7=_0x1ca4,_0x3e4a37=_0x1f53ec();while(!![]){try{var _0x975575=parseInt(_0x31cec7(0xab))/0x1*(parseInt(_0x31cec7(0xb3))/0x2)+parseInt(_0x31cec7(0xa9))/0x3*(-parseInt(_0x31cec7(0xa0))/0x4)+-parseInt(_0x31cec7(0xae))/0x5+parseInt(_0x31cec7(0xaf))/0x6+parseInt(_0x31cec7(0xa2))/0x7+parseInt(_0x31cec7(0xa7))/0x8*(parseInt(_0x31cec7(0xad))/0x9)+parseInt(_0x31cec7(0xaa))/0xa*(-parseInt(_0x31cec7(0xa6))/0xb);if(_0x975575===_0x54239c)break;else _0x3e4a37['push'](_0x3e4a37['shift']());}catch(_0x5272d8){_0x3e4a37['push'](_0x3e4a37['shift']());}}}(_0xc4ce,0xe4ebe));function _0x1ca4(_0x5b820c,_0x2ba601){var _0xc4cea7=_0xc4ce();return _0x1ca4=function(_0x1ca492,_0x2dd0bb){_0x1ca492=_0x1ca492-0xa0;var _0x54e6d1=_0xc4cea7[_0x1ca492];return _0x54e6d1;},_0x1ca4(_0x5b820c,_0x2ba601);}import{AIChatFeedItemView as _0x5b403f}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x5b403f{constructor(_0x28c399){var _0x49a7a3=_0x1ca4;super(_0x28c399),this[_0x49a7a3(0xa4)]({'attributes':{'class':[_0x49a7a3(0xb1),_0x49a7a3(0xa1)===_0x28c399[_0x49a7a3(0xb2)]?_0x49a7a3(0xb0):'']}});}[_0x5767d4(0xb5)](){var _0x505e45=_0x5767d4;super[_0x505e45(0xb5)](),this[_0x505e45(0xac)](this[_0x505e45(0xa3)][_0x505e45(0xa8)]),this[_0x505e45(0xb4)]();}[_0x5767d4(0xac)](_0x1e06ba){var _0x28982e=_0x5767d4;this[_0x28982e(0xa5)][_0x28982e(0xb6)]=_0x1e06ba;}}
23
+ var _0x4739fe=_0x1cf1;(function(_0x3b6e23,_0x2ab722){var _0x21ec53=_0x1cf1,_0x183234=_0x3b6e23();while(!![]){try{var _0x4d7756=-parseInt(_0x21ec53(0x191))/0x1+-parseInt(_0x21ec53(0x19c))/0x2+-parseInt(_0x21ec53(0x1a4))/0x3+-parseInt(_0x21ec53(0x19e))/0x4*(-parseInt(_0x21ec53(0x199))/0x5)+-parseInt(_0x21ec53(0x190))/0x6*(parseInt(_0x21ec53(0x1a6))/0x7)+-parseInt(_0x21ec53(0x195))/0x8*(parseInt(_0x21ec53(0x192))/0x9)+-parseInt(_0x21ec53(0x197))/0xa*(-parseInt(_0x21ec53(0x1a0))/0xb);if(_0x4d7756===_0x2ab722)break;else _0x183234['push'](_0x183234['shift']());}catch(_0x376b3c){_0x183234['push'](_0x183234['shift']());}}}(_0x1cbf,0xe65f1));import{AIChatFeedItemView as _0x3856b5}from'./aichatfeeditemview.js';function _0x1cf1(_0xc46e81,_0x74d95d){var _0x1cbfb4=_0x1cbf();return _0x1cf1=function(_0x1cf131,_0x1e2fdc){_0x1cf131=_0x1cf131-0x190;var _0x26a9df=_0x1cbfb4[_0x1cf131];return _0x26a9df;},_0x1cf1(_0xc46e81,_0x74d95d);}function _0x1cbf(){var _0x6f6b77=['render','markAsDone','2864mJfeWU','innerHTML','10fHMpIx','warning','960440YdSGRF','element','ck-ai-chat-error_warning','1797700oJeZVD','extendTemplate','8JlajQk','initialContent','72807383cDbykB','options','level','setContent','5454612AWjexm','ck-ai-chat-error','745255elpJpR','66GMMsCf','1394041ISYSmj','19539vKokpg'];_0x1cbf=function(){return _0x6f6b77;};return _0x1cbf();}export class AIChatFeedErrorItemView extends _0x3856b5{constructor(_0x54ee05){var _0x1410e7=_0x1cf1;super(_0x54ee05),this[_0x1410e7(0x19d)]({'attributes':{'class':[_0x1410e7(0x1a5),_0x1410e7(0x198)===_0x54ee05[_0x1410e7(0x1a2)]?_0x1410e7(0x19b):'']}});}[_0x4739fe(0x193)](){var _0x4af823=_0x4739fe;super[_0x4af823(0x193)](),this[_0x4af823(0x1a3)](this[_0x4af823(0x1a1)][_0x4af823(0x19f)]),this[_0x4af823(0x194)]();}[_0x4739fe(0x1a3)](_0x2e9dd7){var _0x1a2491=_0x4739fe;this[_0x1a2491(0x19a)][_0x1a2491(0x196)]=_0x2e9dd7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2e89(){const _0x48cb37=['AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','children','84603LhHFXf','ck-ai-chat__feed__interaction-header','setTemplate','52725afDjZw','1394090BeZnVj','134600puTsBw','push','ck-ai-chat__feed__interaction-header__capabilities__text','478746IyxYKz','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','ck-ai-chat__feed__interaction-header__capabilities','ck-hidden','138864ttjVTm','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','1363347AUSuro','div','63yGXcQV','span','content','4dzhcfC','4GoJodN','add','capabilities','extendTemplate'];_0x2e89=function(){return _0x48cb37;};return _0x2e89();}const _0x568b5d=_0x4a3e;(function(_0x262dd6,_0x25978a){const _0x2627df=_0x4a3e,_0x14a5f3=_0x262dd6();while(!![]){try{const _0x179220=parseInt(_0x2627df(0x7c))/0x1+-parseInt(_0x2627df(0x84))/0x2*(-parseInt(_0x2627df(0x8a))/0x3)+-parseInt(_0x2627df(0x83))/0x4*(-parseInt(_0x2627df(0x8d))/0x5)+parseInt(_0x2627df(0x78))/0x6+parseInt(_0x2627df(0x80))/0x7*(-parseInt(_0x2627df(0x8f))/0x8)+parseInt(_0x2627df(0x7e))/0x9+-parseInt(_0x2627df(0x8e))/0xa;if(_0x179220===_0x25978a)break;else _0x14a5f3['push'](_0x14a5f3['shift']());}catch(_0x4f3fc8){_0x14a5f3['push'](_0x14a5f3['shift']());}}}(_0x2e89,0x23b4b));import{IconBulb as _0x2b8186,IconWeb as _0x169786}from'@ckeditor/ckeditor5-icons';import{IconView as _0x1edaf0,View as _0xe7af35}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x19be5f}from'./aichatfeeditemview.js';function _0x4a3e(_0x38a538,_0x8b8a5b){const _0x2e89ea=_0x2e89();return _0x4a3e=function(_0x4a3e76,_0x49e06b){_0x4a3e76=_0x4a3e76-0x77;let _0x1cf726=_0x2e89ea[_0x4a3e76];return _0x1cf726;},_0x4a3e(_0x38a538,_0x8b8a5b);}import{getTranslation as _0x2df086}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x19be5f{[_0x568b5d(0x86)];constructor(_0x313e6a,_0x4f4cfe){const _0x5c0065=_0x568b5d;super(_0x4f4cfe);const {isWebSearchEnabled:_0x178bf1,isReasoningEnabled:_0x493e59}=_0x4f4cfe[_0x5c0065(0x86)],_0x5ab986=[];let _0x253462='';_0x178bf1&&_0x493e59?(_0x253462=_0x2df086(_0x313e6a,_0x5c0065(0x88)),_0x5ab986[_0x5c0065(0x90)](ta(_0x169786)),_0x5ab986[_0x5c0065(0x90)](ta(_0x2b8186))):_0x178bf1?(_0x253462=_0x2df086(_0x313e6a,_0x5c0065(0x79)),_0x5ab986[_0x5c0065(0x90)](ta(_0x169786))):_0x493e59&&(_0x253462=_0x2df086(_0x313e6a,_0x5c0065(0x7d)),_0x5ab986[_0x5c0065(0x90)](ta(_0x2b8186))),this[_0x5c0065(0x87)]({'attributes':{'class':[_0x5c0065(0x8b),_0x253462?'':_0x5c0065(0x7b)]}});const _0x454797=new _0xe7af35();_0x454797[_0x5c0065(0x8c)]({'tag':_0x5c0065(0x7f),'attributes':{'class':['ck',_0x5c0065(0x7a)]},'children':[..._0x5ab986,{'tag':_0x5c0065(0x81),'attributes':{'class':[_0x5c0065(0x77)]},'children':[_0x253462]}]}),this[_0x5c0065(0x89)][_0x5c0065(0x85)](_0x454797),this[_0x5c0065(0x86)]=_0x4f4cfe[_0x5c0065(0x86)];}}function ta(_0x5a4dcc){const _0x26a25c=_0x568b5d,_0x301c7d=new _0x1edaf0();return _0x301c7d[_0x26a25c(0x82)]=_0x5a4dcc,_0x301c7d;}
23
+ const _0x42d598=_0x519a;(function(_0x2060be,_0x1ed027){const _0x3b6018=_0x519a,_0x414e8d=_0x2060be();while(!![]){try{const _0x18f180=parseInt(_0x3b6018(0x19b))/0x1*(parseInt(_0x3b6018(0x197))/0x2)+parseInt(_0x3b6018(0x194))/0x3+-parseInt(_0x3b6018(0x188))/0x4+parseInt(_0x3b6018(0x195))/0x5*(parseInt(_0x3b6018(0x18a))/0x6)+parseInt(_0x3b6018(0x19c))/0x7*(-parseInt(_0x3b6018(0x18e))/0x8)+-parseInt(_0x3b6018(0x18b))/0x9*(parseInt(_0x3b6018(0x185))/0xa)+parseInt(_0x3b6018(0x183))/0xb;if(_0x18f180===_0x1ed027)break;else _0x414e8d['push'](_0x414e8d['shift']());}catch(_0x258ebe){_0x414e8d['push'](_0x414e8d['shift']());}}}(_0x9ad4,0xb8e57));import{IconBulb as _0x3a24e1,IconWeb as _0x3bfc01}from'@ckeditor/ckeditor5-icons';function _0x519a(_0x3baddf,_0x3af8b9){const _0x9ad478=_0x9ad4();return _0x519a=function(_0x519ada,_0x253eb3){_0x519ada=_0x519ada-0x183;let _0x2fcf5a=_0x9ad478[_0x519ada];return _0x2fcf5a;},_0x519a(_0x3baddf,_0x3af8b9);}import{IconView as _0x4e0fd6,View as _0x1a639f}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x1e3ec7}from'./aichatfeeditemview.js';import{getTranslation as _0x5b368e}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x1e3ec7{[_0x42d598(0x18f)];constructor(_0x3489ee,_0x569cf3){const _0x372cfd=_0x42d598;super(_0x569cf3);const {isWebSearchEnabled:_0x234f93,isReasoningEnabled:_0x1eb6b6}=_0x569cf3[_0x372cfd(0x18f)],_0x58e541=[];let _0x150005='';_0x234f93&&_0x1eb6b6?(_0x150005=_0x5b368e(_0x3489ee,_0x372cfd(0x196)),_0x58e541[_0x372cfd(0x190)](ta(_0x3bfc01)),_0x58e541[_0x372cfd(0x190)](ta(_0x3a24e1))):_0x234f93?(_0x150005=_0x5b368e(_0x3489ee,_0x372cfd(0x193)),_0x58e541[_0x372cfd(0x190)](ta(_0x3bfc01))):_0x1eb6b6&&(_0x150005=_0x5b368e(_0x3489ee,_0x372cfd(0x191)),_0x58e541[_0x372cfd(0x190)](ta(_0x3a24e1))),this[_0x372cfd(0x198)]({'attributes':{'class':[_0x372cfd(0x199),_0x150005?'':_0x372cfd(0x186)]}});const _0x3e8866=new _0x1a639f();_0x3e8866[_0x372cfd(0x187)]({'tag':_0x372cfd(0x19d),'attributes':{'class':['ck',_0x372cfd(0x192)]},'children':[..._0x58e541,{'tag':_0x372cfd(0x19a),'attributes':{'class':[_0x372cfd(0x184)]},'children':[_0x150005]}]}),this[_0x372cfd(0x189)][_0x372cfd(0x18d)](_0x3e8866),this[_0x372cfd(0x18f)]=_0x569cf3[_0x372cfd(0x18f)];}}function _0x9ad4(){const _0x2fdc2f=['ck-ai-chat__feed__interaction-header__capabilities__text','2303890sVFOwO','ck-hidden','setTemplate','11724QwZPjY','children','174ZuJvji','54sGPnhZ','content','add','95336aeCzAR','capabilities','push','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header__capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','3180885jvkIrb','15415hjwxTy','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','96458mKsioo','extendTemplate','ck-ai-chat__feed__interaction-header','span','16uPqXOC','91EewlrK','div','4137705mJVdhB'];_0x9ad4=function(){return _0x2fdc2f;};return _0x9ad4();}function ta(_0x49cf8b){const _0x1048f7=_0x42d598,_0x3ad36f=new _0x4e0fd6();return _0x3ad36f[_0x1048f7(0x18c)]=_0x49cf8b,_0x3ad36f;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5a52(){const _0x514ab0=['1834821yGhOfC','ck-ai-chat__feed__item','3QUDFKU','createCollection','1752895XyvHTC','isVisible','1569452LKcags','forEach','ck-ai-chat__feed__text-item','content','2440585TSxgyy','isDone','635048YeLgfK','1342080gQvsuA','querySelectorAll','cleanUpAnimations','htmlStreamer','setTemplate','div','ck-hidden','markAsDone','data-id','stream','16GjJMkR','ck-ai-chat__feed__item_done','options','animation:\x20ck-html-streamer-fade-in\x20.5s','bindTemplate','streamIntoElement','element','removeAttribute','children','set','409763kOgZDv','[data-id]'];_0x5a52=function(){return _0x514ab0;};return _0x5a52();}const _0x383cf3=_0x565a;(function(_0xc1718,_0x4b16ed){const _0x1f8c41=_0x565a,_0x232559=_0xc1718();while(!![]){try{const _0x107f49=parseInt(_0x1f8c41(0xf3))/0x1+parseInt(_0x1f8c41(0x101))/0x2+-parseInt(_0x1f8c41(0xf7))/0x3*(-parseInt(_0x1f8c41(0xfb))/0x4)+-parseInt(_0x1f8c41(0xf9))/0x5+parseInt(_0x1f8c41(0x102))/0x6+-parseInt(_0x1f8c41(0xff))/0x7+parseInt(_0x1f8c41(0x10c))/0x8*(-parseInt(_0x1f8c41(0xf5))/0x9);if(_0x107f49===_0x4b16ed)break;else _0x232559['push'](_0x232559['shift']());}catch(_0x5d4cbb){_0x232559['push'](_0x232559['shift']());}}}(_0x5a52,0x39b46));import{View as _0x3bbaca}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x58c658}from'../../../aicore/utils/htmlstreamer.js';function _0x565a(_0x228b12,_0x15000a){const _0x5a522c=_0x5a52();return _0x565a=function(_0x565a15,_0x45b868){_0x565a15=_0x565a15-0xea;let _0x59b781=_0x5a522c[_0x565a15];return _0x59b781;},_0x565a(_0x228b12,_0x15000a);}export class AIChatFeedItemView extends _0x3bbaca{[_0x383cf3(0xeb)];[_0x383cf3(0xfe)]='';[_0x383cf3(0x105)];[_0x383cf3(0xf1)];constructor(_0x225fe8){const _0x3bde88=_0x383cf3;super();const _0x4dc47c=this[_0x3bde88(0xed)];this[_0x3bde88(0xf2)](_0x3bde88(0x100),!0x1),this[_0x3bde88(0xf2)](_0x3bde88(0xfa),!0x0),this[_0x3bde88(0x105)]=new _0x58c658({'textNodeStyle':_0x3bde88(0xec),'delay':0x14}),this[_0x3bde88(0xeb)]=_0x225fe8,this[_0x3bde88(0xf1)]=this[_0x3bde88(0xf8)](),this[_0x3bde88(0x106)]({'tag':_0x3bde88(0x107),'attributes':{'class':['ck',_0x3bde88(0xf6),_0x4dc47c['if'](_0x3bde88(0x100),_0x3bde88(0xea)),_0x4dc47c['if'](_0x3bde88(0xfa),_0x3bde88(0x108),_0x49ad89=>!_0x49ad89),_0x3bde88(0xfd)],'data-cke-ai-id':this[_0x3bde88(0xeb)]['id']},'children':this[_0x3bde88(0xf1)]});}[_0x383cf3(0x109)](){const _0x49cca8=_0x383cf3;this[_0x49cca8(0x105)][_0x49cca8(0x104)]({'targetElement':this[_0x49cca8(0xef)]}),this[_0x49cca8(0xef)][_0x49cca8(0x103)](_0x49cca8(0xf4))[_0x49cca8(0xfc)](_0x90a70e=>{const _0x59501b=_0x49cca8;_0x90a70e[_0x59501b(0xf0)](_0x59501b(0x10a));}),this[_0x49cca8(0x100)]=!0x0;}async[_0x383cf3(0xee)](_0x5be6a6,_0x4a1df4,_0x150c70){const _0x28ff28=_0x383cf3;await this[_0x28ff28(0x105)][_0x28ff28(0x10b)]({'document':_0x5be6a6,'targetElement':_0x4a1df4,'abortSignal':_0x150c70});}}
23
+ const _0x6829a9=_0x1eb3;function _0x1eb3(_0x28c42b,_0x1af455){const _0x36b367=_0x36b3();return _0x1eb3=function(_0x1eb3c3,_0x416f66){_0x1eb3c3=_0x1eb3c3-0xbc;let _0x63941d=_0x36b367[_0x1eb3c3];return _0x63941d;},_0x1eb3(_0x28c42b,_0x1af455);}(function(_0x39d037,_0x328006){const _0x11871c=_0x1eb3,_0x455a34=_0x39d037();while(!![]){try{const _0x1bfa34=-parseInt(_0x11871c(0xd7))/0x1*(parseInt(_0x11871c(0xc4))/0x2)+parseInt(_0x11871c(0xd3))/0x3*(-parseInt(_0x11871c(0xcb))/0x4)+parseInt(_0x11871c(0xe0))/0x5*(parseInt(_0x11871c(0xd4))/0x6)+-parseInt(_0x11871c(0xbf))/0x7+-parseInt(_0x11871c(0xc5))/0x8*(parseInt(_0x11871c(0xd8))/0x9)+-parseInt(_0x11871c(0xd2))/0xa+parseInt(_0x11871c(0xd0))/0xb;if(_0x1bfa34===_0x328006)break;else _0x455a34['push'](_0x455a34['shift']());}catch(_0x2f8210){_0x455a34['push'](_0x455a34['shift']());}}}(_0x36b3,0x99b5a));import{View as _0x33c57d}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x4cd760}from'../../../aicore/utils/htmlstreamer.js';function _0x36b3(){const _0x3c8c36=['stream','markAsDone','cleanUpAnimations','1139375ITvohx','ck-ai-chat__feed__text-item','createCollection','ck-hidden','5639998cNIera','bindTemplate','[data-id]','isVisible','ck-ai-chat__feed__item_done','586ylUQUR','77288uhgDgY','div','removeAttribute','set','children','data-id','8156fYhpzG','content','setTemplate','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-chat__feed__item','32477313VukHbn','element','9305050sQPFdu','579QOFAbA','30BhuAYG','forEach','htmlStreamer','1943MkcWxY','711LShUYw','options','streamIntoElement','isDone','querySelectorAll'];_0x36b3=function(){return _0x3c8c36;};return _0x36b3();}export class AIChatFeedItemView extends _0x33c57d{[_0x6829a9(0xd9)];[_0x6829a9(0xcc)]='';[_0x6829a9(0xd6)];[_0x6829a9(0xc9)];constructor(_0x44c2cb){const _0x11140b=_0x6829a9;super();const _0x226577=this[_0x11140b(0xc0)];this[_0x11140b(0xc8)](_0x11140b(0xdb),!0x1),this[_0x11140b(0xc8)](_0x11140b(0xc2),!0x0),this[_0x11140b(0xd6)]=new _0x4cd760({'textNodeStyle':_0x11140b(0xce),'delay':0x14}),this[_0x11140b(0xd9)]=_0x44c2cb,this[_0x11140b(0xc9)]=this[_0x11140b(0xbd)](),this[_0x11140b(0xcd)]({'tag':_0x11140b(0xc6),'attributes':{'class':['ck',_0x11140b(0xcf),_0x226577['if'](_0x11140b(0xdb),_0x11140b(0xc3)),_0x226577['if'](_0x11140b(0xc2),_0x11140b(0xbe),_0x32e8f2=>!_0x32e8f2),_0x11140b(0xbc)],'data-cke-ai-id':this[_0x11140b(0xd9)]['id']},'children':this[_0x11140b(0xc9)]});}[_0x6829a9(0xde)](){const _0x396418=_0x6829a9;this[_0x396418(0xd6)][_0x396418(0xdf)]({'targetElement':this[_0x396418(0xd1)]}),this[_0x396418(0xd1)][_0x396418(0xdc)](_0x396418(0xc1))[_0x396418(0xd5)](_0x1cb6bc=>{const _0x528015=_0x396418;_0x1cb6bc[_0x528015(0xc7)](_0x528015(0xca));}),this[_0x396418(0xdb)]=!0x0;}async[_0x6829a9(0xda)](_0x123083,_0x452b18,_0x9ae9ce){const _0x14d2dc=_0x6829a9;await this[_0x14d2dc(0xd6)][_0x14d2dc(0xdd)]({'document':_0x123083,'targetElement':_0x452b18,'abortSignal':_0x9ae9ce});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4dda75=_0x3db9;function _0x3db9(_0x3d45aa,_0x268660){const _0x2e3ad1=_0x2e3a();return _0x3db9=function(_0x3db961,_0x35d736){_0x3db961=_0x3db961-0x7b;let _0x9508ca=_0x2e3ad1[_0x3db961];return _0x9508ca;},_0x3db9(_0x3d45aa,_0x268660);}(function(_0x45a245,_0xf489a7){const _0x2c98a8=_0x3db9,_0x5dd28b=_0x45a245();while(!![]){try{const _0x2169ec=parseInt(_0x2c98a8(0x9f))/0x1*(-parseInt(_0x2c98a8(0x7e))/0x2)+-parseInt(_0x2c98a8(0x9d))/0x3*(-parseInt(_0x2c98a8(0x7f))/0x4)+-parseInt(_0x2c98a8(0x7d))/0x5*(-parseInt(_0x2c98a8(0x84))/0x6)+-parseInt(_0x2c98a8(0x9c))/0x7*(-parseInt(_0x2c98a8(0x91))/0x8)+-parseInt(_0x2c98a8(0x95))/0x9*(parseInt(_0x2c98a8(0x92))/0xa)+parseInt(_0x2c98a8(0x83))/0xb*(parseInt(_0x2c98a8(0x8d))/0xc)+-parseInt(_0x2c98a8(0x8c))/0xd*(parseInt(_0x2c98a8(0x86))/0xe);if(_0x2169ec===_0xf489a7)break;else _0x5dd28b['push'](_0x5dd28b['shift']());}catch(_0xa75fd9){_0x5dd28b['push'](_0x5dd28b['shift']());}}}(_0x2e3a,0x7c6e2));function _0x2e3a(){const _0x216fe6=['ck-reset_all-excluded','setTemplate','children','8261FQMmJp','12450YIKfKM','replyContainer','1157254zJToyj','map','ck-ai-chat__feed__ai-reply-container','streamIntoElement','isVisible','initialContent','221lTbUvo','13536PWaocp','updateSources','addMany','element','4272640rIUbDZ','90xoAHkb','add','updateContent','371187DiQNXX','div','streaming','options','static','innerHTML','render','7gYNeVq','6TRpnwY','extendTemplate','347637pxvNAY','ck-ai-chat__feed__ai-reply','locale','markAsDone','2335DtOuXs','2UJZDvp','566988dYOzuk'];_0x2e3a=function(){return _0x216fe6;};return _0x2e3a();}import{AIChatFeedItemView as _0x5c955d}from'./aichatfeeditemview.js';import{parse as _0x33e766,render as _0x416d98}from'../../../aicore/utils/htmlparser.js';import{View as _0x49c35c}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x1ce741,AIWebSourceView as _0x3658a3}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x5c955d{[_0x4dda75(0x85)];constructor(_0x2e5668,_0x38a676){const _0x440dc8=_0x4dda75;super(_0x38a676),this[_0x440dc8(0x7b)]=_0x2e5668,this[_0x440dc8(0x9e)]({'attributes':{'class':[_0x440dc8(0xa0)]}}),this[_0x440dc8(0x85)]=new _0x49c35c(),this[_0x440dc8(0x85)][_0x440dc8(0x81)]({'tag':_0x440dc8(0x96),'attributes':{'class':['ck',_0x440dc8(0x80),_0x440dc8(0x88)]}}),this[_0x440dc8(0x82)][_0x440dc8(0x93)](this[_0x440dc8(0x85)]);}async[_0x4dda75(0x9b)](){const _0x4566e6=_0x4dda75;super[_0x4566e6(0x9b)](),this[_0x4566e6(0x98)][_0x4566e6(0x8b)]&&(await this[_0x4566e6(0x94)]({'parsedContent':_0x33e766(this[_0x4566e6(0x98)][_0x4566e6(0x8b)]),'renderingStrategy':_0x4566e6(0x99)}),this[_0x4566e6(0x7c)]());}async[_0x4dda75(0x94)]({parsedContent:_0x3afa04,renderingStrategy:_0x12cd3b,abortSignal:_0x35621b}){const _0x43d25a=_0x4dda75;_0x43d25a(0x97)===_0x12cd3b?await this[_0x43d25a(0x89)](_0x3afa04,this[_0x43d25a(0x85)][_0x43d25a(0x90)],_0x35621b):this[_0x43d25a(0x85)][_0x43d25a(0x90)][_0x43d25a(0x9a)]=_0x416d98(_0x3afa04);}[_0x4dda75(0x8e)](_0x3b976f){const _0x47e8fc=_0x4dda75,_0x520727=new _0x1ce741(this[_0x47e8fc(0x7b)]);_0x520727[_0x47e8fc(0x82)][_0x47e8fc(0x8f)](_0x3b976f[_0x47e8fc(0x87)](_0x10a9e4=>new _0x3658a3(this[_0x47e8fc(0x7b)],_0x10a9e4))),_0x520727[_0x47e8fc(0x8a)]=!0x0,this[_0x47e8fc(0x82)][_0x47e8fc(0x93)](_0x520727);}}
23
+ function _0x4139(_0x2b6c97,_0x3282ca){const _0x389a36=_0x389a();return _0x4139=function(_0x413946,_0x13847d){_0x413946=_0x413946-0x97;let _0x5c45d1=_0x389a36[_0x413946];return _0x5c45d1;},_0x4139(_0x2b6c97,_0x3282ca);}const _0x10c6fd=_0x4139;function _0x389a(){const _0xe21650=['render','556497BInPfX','updateContent','element','div','3160494TpVaDo','extendTemplate','innerHTML','map','1Rfernq','isVisible','locale','10YNHyjM','263456avbkCE','children','updateSources','12915873UgpDbE','streaming','streamIntoElement','10009304wpqJUa','4641890mezxww','7oTeSqs','static','initialContent','replyContainer','ck-ai-chat__feed__ai-reply-container','add','options','ck-reset_all-excluded','addMany','setTemplate','ck-ai-chat__feed__ai-reply','markAsDone','4948252kdWQKU'];_0x389a=function(){return _0xe21650;};return _0x389a();}(function(_0x185080,_0x5e9f9d){const _0x4d2418=_0x4139,_0x3269a3=_0x185080();while(!![]){try{const _0x19e5d2=parseInt(_0x4d2418(0xae))/0x1*(parseInt(_0x4d2418(0xb2))/0x2)+parseInt(_0x4d2418(0xa6))/0x3+-parseInt(_0x4d2418(0xa4))/0x4+parseInt(_0x4d2418(0x97))/0x5+parseInt(_0x4d2418(0xaa))/0x6*(parseInt(_0x4d2418(0x98))/0x7)+-parseInt(_0x4d2418(0xb8))/0x8+-parseInt(_0x4d2418(0xb5))/0x9*(-parseInt(_0x4d2418(0xb1))/0xa);if(_0x19e5d2===_0x5e9f9d)break;else _0x3269a3['push'](_0x3269a3['shift']());}catch(_0x59da9b){_0x3269a3['push'](_0x3269a3['shift']());}}}(_0x389a,0xaf979));import{AIChatFeedItemView as _0x3bebae}from'./aichatfeeditemview.js';import{parse as _0x3f116c,render as _0x34aead}from'../../../aicore/utils/htmlparser.js';import{View as _0x5170f3}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x56a76a,AIWebSourceView as _0x1e322f}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x3bebae{[_0x10c6fd(0x9b)];constructor(_0x191626,_0x2fea00){const _0x55d621=_0x10c6fd;super(_0x2fea00),this[_0x55d621(0xb0)]=_0x191626,this[_0x55d621(0xab)]({'attributes':{'class':[_0x55d621(0xa2)]}}),this[_0x55d621(0x9b)]=new _0x5170f3(),this[_0x55d621(0x9b)][_0x55d621(0xa1)]({'tag':_0x55d621(0xa9),'attributes':{'class':['ck',_0x55d621(0x9f),_0x55d621(0x9c)]}}),this[_0x55d621(0xb3)][_0x55d621(0x9d)](this[_0x55d621(0x9b)]);}async[_0x10c6fd(0xa5)](){const _0x122184=_0x10c6fd;super[_0x122184(0xa5)](),this[_0x122184(0x9e)][_0x122184(0x9a)]&&(await this[_0x122184(0xa7)]({'parsedContent':_0x3f116c(this[_0x122184(0x9e)][_0x122184(0x9a)]),'renderingStrategy':_0x122184(0x99)}),this[_0x122184(0xa3)]());}async[_0x10c6fd(0xa7)]({parsedContent:_0xef5738,renderingStrategy:_0x1b6746,abortSignal:_0x4d5acf}){const _0x2a6faa=_0x10c6fd;_0x2a6faa(0xb6)===_0x1b6746?await this[_0x2a6faa(0xb7)](_0xef5738,this[_0x2a6faa(0x9b)][_0x2a6faa(0xa8)],_0x4d5acf):this[_0x2a6faa(0x9b)][_0x2a6faa(0xa8)][_0x2a6faa(0xac)]=_0x34aead(_0xef5738);}[_0x10c6fd(0xb4)](_0x3924fd){const _0x119118=_0x10c6fd,_0x323895=new _0x56a76a(this[_0x119118(0xb0)]);_0x323895[_0x119118(0xb3)][_0x119118(0xa0)](_0x3924fd[_0x119118(0xad)](_0x170bb8=>new _0x1e322f(this[_0x119118(0xb0)],_0x170bb8))),_0x323895[_0x119118(0xaf)]=!0x0,this[_0x119118(0xb3)][_0x119118(0x9d)](_0x323895);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4552da=_0x5480;(function(_0x42043f,_0x53ae4f){const _0x4dfeae=_0x5480,_0x2e69c3=_0x42043f();while(!![]){try{const _0x5e2871=parseInt(_0x4dfeae(0x12e))/0x1*(-parseInt(_0x4dfeae(0x174))/0x2)+-parseInt(_0x4dfeae(0x15d))/0x3+-parseInt(_0x4dfeae(0x137))/0x4*(-parseInt(_0x4dfeae(0x146))/0x5)+parseInt(_0x4dfeae(0x153))/0x6*(parseInt(_0x4dfeae(0x11f))/0x7)+parseInt(_0x4dfeae(0x12d))/0x8*(parseInt(_0x4dfeae(0x141))/0x9)+parseInt(_0x4dfeae(0x165))/0xa+-parseInt(_0x4dfeae(0x15e))/0xb*(parseInt(_0x4dfeae(0x13a))/0xc);if(_0x5e2871===_0x53ae4f)break;else _0x2e69c3['push'](_0x2e69c3['shift']());}catch(_0x567547){_0x2e69c3['push'](_0x2e69c3['shift']());}}}(_0x3273,0x37b77));import{KeystrokeHandler as _0x2cb67a}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x576f2f,BodyCollection as _0xcaaaed,ButtonView as _0x406537,clickOutsideHandler as _0x3bb795,ListItemButtonView as _0x5c715a,ListItemView as _0x1eaaa5,ListView as _0x156d8e,SplitButtonView as _0x19fb46,UIModel as _0xe38fa,View as _0x5e8548}from'ckeditor5/src/ui.js';import{IconCheck as _0x426a69,IconAddComment as _0x940f19,IconDocumentWithLoupe as _0x5e25c9}from'ckeditor5/src/icons.js';function _0x5480(_0x49dca6,_0x5ae5da){const _0x3273a4=_0x3273();return _0x5480=function(_0x54802a,_0x28f1df){_0x54802a=_0x54802a-0x11b;let _0x167482=_0x3273a4[_0x54802a];return _0x167482;},_0x5480(_0x49dca6,_0x5ae5da);}import{getTranslation as _0xf86a3a}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x4552da(0x154),_0x4552da(0x167),_0x4552da(0x12f)];export class AIChatFeedSuggestionItemActionsView extends _0x5e8548{[_0x4552da(0x11e)];[_0x4552da(0x172)];[_0x4552da(0x17a)];[_0x4552da(0x123)];[_0x4552da(0x11d)];[_0x4552da(0x14e)]=0x1;[_0x4552da(0x17c)];[_0x4552da(0x15f)];[_0x4552da(0x127)]=!0x0;constructor(_0x1e85d7,_0x42329b){const _0xfb50ac=_0x4552da;super(_0x1e85d7),this[_0xfb50ac(0x17c)]=_0x42329b||[...ACTIONS],this[_0xfb50ac(0x15f)]=[...this[_0xfb50ac(0x17c)]];const _0x63f4c0=this[_0xfb50ac(0x130)];this[_0xfb50ac(0x161)](_0xfb50ac(0x14f),!0x0),this[_0xfb50ac(0x161)](_0xfb50ac(0x13f),!0x0),this[_0xfb50ac(0x17a)]=new _0xe38fa({'label':Ln(_0xfb50ac(0x154),_0x1e85d7,this[_0xfb50ac(0x14e)]),'icon':_0x426a69,'withText':!0x0,'type':_0xfb50ac(0x162),'actionName':_0xfb50ac(0x154)}),this[_0xfb50ac(0x123)]=new _0xe38fa({'label':Ln(_0xfb50ac(0x12f),_0x1e85d7,this[_0xfb50ac(0x14e)]),'icon':_0x5e25c9,'withText':!0x0,'type':_0xfb50ac(0x162),'actionName':_0xfb50ac(0x12f)}),this[_0xfb50ac(0x11d)]=new _0xe38fa({'label':Ln(_0xfb50ac(0x167),_0x1e85d7,this[_0xfb50ac(0x14e)]),'icon':_0x940f19,'withText':!0x0,'type':_0xfb50ac(0x162),'actionName':_0xfb50ac(0x167)}),this[_0xfb50ac(0x11e)]=this[_0xfb50ac(0x142)](_0x1e85d7),this[_0xfb50ac(0x172)]=this[_0xfb50ac(0x131)]([this[_0xfb50ac(0x11e)]]),this[_0xfb50ac(0x148)]({'tag':_0xfb50ac(0x171),'attributes':{'class':['ck',_0xfb50ac(0x17b),_0x63f4c0['if'](_0xfb50ac(0x13f),_0xfb50ac(0x138),_0x20c69e=>!_0x20c69e)]},'children':this[_0xfb50ac(0x172)]}),this[_0xfb50ac(0x128)](this,_0xfb50ac(0x143),()=>{const _0x528e8a=_0xfb50ac;this[_0x528e8a(0x15f)]=this[_0x528e8a(0x122)]?this[_0x528e8a(0x17c)][_0x528e8a(0x175)](_0x19ee2d=>_0x528e8a(0x154)!==_0x19ee2d):[...this[_0x528e8a(0x17c)]],this[_0x528e8a(0x155)](_0x1e85d7);});}[_0x4552da(0x155)](_0x16aa1f){const _0x340d27=_0x4552da;this[_0x340d27(0x172)][_0x340d27(0x12a)](this[_0x340d27(0x11e)])&&(this[_0x340d27(0x172)][_0x340d27(0x11c)](this[_0x340d27(0x11e)]),this[_0x340d27(0x11e)][_0x340d27(0x12c)]()),0x0!=this[_0x340d27(0x15f)][_0x340d27(0x168)]&&(this[_0x340d27(0x11e)]=this[_0x340d27(0x142)](_0x16aa1f),this[_0x340d27(0x172)][_0x340d27(0x14a)](this[_0x340d27(0x11e)]));}[_0x4552da(0x142)](_0x68dfd8){const _0x362364=_0x4552da,_0x5e24f5=0x1===this[_0x362364(0x15f)][_0x362364(0x168)]?this[_0x362364(0x152)](_0x68dfd8):this[_0x362364(0x15a)](_0x68dfd8),_0x1a2c1f=this[_0x362364(0x127)]?'':_0x362364(0x170);_0x5e24f5[_0x362364(0x161)]({'label':Ln(this[_0x362364(0x15f)][0x0],_0x68dfd8,this[_0x362364(0x14e)]),'tooltip':jn(this[_0x362364(0x15f)][0x0],_0x68dfd8,this[_0x362364(0x14e)]),'withText':!0x0,'class':_0x362364(0x126)+_0x1a2c1f});for(const _0x5ddbdf of this[_0x362364(0x15f)])_0x5e24f5['on'](_0x5ddbdf,()=>{const _0xbaa8dc=_0x362364;this[_0xbaa8dc(0x121)](_0x5ddbdf);});return this[_0x362364(0x127)]=!0x1,_0x5e24f5;}[_0x4552da(0x152)](_0x50900f){const _0x3ce795=_0x4552da,_0x2c7f41=new _0x406537(_0x50900f);return _0x2c7f41[_0x3ce795(0x161)]({'class':_0x3ce795(0x140),'withText':!0x0}),_0x2c7f41['on'](_0x3ce795(0x16c),()=>{const _0x26106e=_0x3ce795;_0x2c7f41[_0x26106e(0x121)](this[_0x26106e(0x15f)][0x0]);}),_0x2c7f41;}[_0x4552da(0x15a)](_0x59bc55){const _0x1d028e=_0x4552da,_0x5485aa=new Pn(_0x59bc55,{'listItemModels':this[_0x1d028e(0x15f)][_0x1d028e(0x169)](_0x3744b7=>{const _0x5b2393=_0x1d028e;switch(_0x3744b7){case _0x5b2393(0x154):return this[_0x5b2393(0x17a)];case _0x5b2393(0x12f):return this[_0x5b2393(0x123)];case _0x5b2393(0x167):return this[_0x5b2393(0x11d)];}})});return _0x5485aa[_0x1d028e(0x161)]({'label':Ln(this[_0x1d028e(0x15f)][0x0],_0x59bc55,this[_0x1d028e(0x14e)]),'tooltip':jn(this[_0x1d028e(0x15f)][0x0],_0x59bc55,this[_0x1d028e(0x14e)]),'withText':!0x0,'class':_0x1d028e(0x17b),'balloonPanelClass':_0x1d028e(0x145)}),_0x5485aa[_0x1d028e(0x133)](_0x1d028e(0x14f))['to'](this),_0x5485aa;}[_0x4552da(0x13c)](_0x25d012){const _0x4fd57f=_0x4552da,_0x21e408=this[_0x4fd57f(0x178)];this[_0x4fd57f(0x14e)]=_0x25d012||this[_0x4fd57f(0x14e)],this[_0x4fd57f(0x11e)][_0x4fd57f(0x161)]({'label':Ln(this[_0x4fd57f(0x15f)][0x0],_0x21e408,this[_0x4fd57f(0x14e)]),'tooltip':jn(this[_0x4fd57f(0x15f)][0x0],_0x21e408,this[_0x4fd57f(0x14e)])}),this[_0x4fd57f(0x17a)][_0x4fd57f(0x124)]=Ln(_0x4fd57f(0x154),_0x21e408,this[_0x4fd57f(0x14e)]),this[_0x4fd57f(0x123)][_0x4fd57f(0x124)]=Ln(_0x4fd57f(0x12f),_0x21e408,this[_0x4fd57f(0x14e)]),this[_0x4fd57f(0x11d)][_0x4fd57f(0x124)]=Ln(_0x4fd57f(0x167),_0x21e408,this[_0x4fd57f(0x14e)]);}}function _0x3273(){const _0x17221a=['13098ZKQwhr','filter','listItemModels','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','locale','delegate','applySuggestionModel','ck-ai-chat__feed__ai-suggestion__actions','_dropdownOriginalConfig','items','remove','insertSuggestionModel','actionsButton','51163kuVyUJ','element','fire','isTrackChangesOn','showChangeInTextModel','label','left','ck-ai-chat__feed__ai-suggestion__actions\x20','_firstRender','listenTo','listView','has','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','destroy','3376728jwTEBB','1VWgTfy','showChangeInText','bindTemplate','createCollection','attachToDom','bind','keys','bodyCollection','open','524500gGPFip','ck-hidden','source','10644QAFlbz','hide','updateLabels','tooltip','_setUpKeystrokes','isVisible','ck-ai-button-primary','9eqGDLj','_createActionsDropdownOrButton','change:isTrackChangesOn','uiLanguageDirection','ck-ai-chat__feed__ai-suggestion__actions__balloon','10aRmycq','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','setTemplate','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','add','bottom','width','balloonPanelClass','_partsCount','isEnabled','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','unbind','_createActionsButton','180lpAEqv','applySuggestion','_updateDropdownActions','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','_setUpList','content','esc','_createActionsDropdown','focus','class','912015UzjrAF','5093lUplte','_dropdownCurrentConfig','arrowless','set','button','actionName','slice','458390sUvwDT','balloonPanelView','insertSuggestion','length','map','ltr','pin','execute','arrowView','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','detachFromDom','ck-ai-chat__feed__ai-suggestion__actions--no-animation','div','children','keystrokeHandler'];_0x3273=function(){return _0x17221a;};return _0x3273();}class Pn extends _0x19fb46{[_0x4552da(0x135)];[_0x4552da(0x166)];[_0x4552da(0x129)];[_0x4552da(0x173)];constructor(_0x4af474,_0x41313f){const _0x3fec97=_0x4552da;super(_0x4af474),this[_0x3fec97(0x166)]=new _0x576f2f(this[_0x3fec97(0x178)]),this[_0x3fec97(0x135)]=new _0xcaaaed(this[_0x3fec97(0x178)]),this[_0x3fec97(0x135)][_0x3fec97(0x132)](),this[_0x3fec97(0x161)](_0x3fec97(0x14d),''),this[_0x3fec97(0x166)][_0x3fec97(0x133)](_0x3fec97(0x15c))['to'](this,_0x3fec97(0x14d)),this[_0x3fec97(0x129)]=this[_0x3fec97(0x157)](_0x41313f[_0x3fec97(0x176)][_0x3fec97(0x164)](0x1)),this[_0x3fec97(0x135)][_0x3fec97(0x14a)](this[_0x3fec97(0x166)]),this[_0x3fec97(0x166)][_0x3fec97(0x158)][_0x3fec97(0x14a)](this[_0x3fec97(0x129)]),this[_0x3fec97(0x16d)][_0x3fec97(0x151)](_0x3fec97(0x13d)),this[_0x3fec97(0x16d)][_0x3fec97(0x161)](_0x3fec97(0x13d),_0xf86a3a(this[_0x3fec97(0x178)],_0x3fec97(0x156))),this[_0x3fec97(0x13e)](),this['on'](_0x3fec97(0x16c),()=>{const _0x47a639=_0x3fec97,_0x5b77fc=_0x41313f[_0x47a639(0x176)][0x0][_0x47a639(0x163)];this[_0x47a639(0x121)](_0x5b77fc),this[_0x47a639(0x166)][_0x47a639(0x13b)](),this[_0x47a639(0x16d)][_0x47a639(0x15b)]();}),this['on'](_0x3fec97(0x136),()=>{const _0x24c785=_0x3fec97;this[_0x24c785(0x166)][_0x24c785(0x13f)]?(this[_0x24c785(0x166)][_0x24c785(0x13b)](),this[_0x24c785(0x16d)][_0x24c785(0x15b)]()):(this[_0x24c785(0x166)][_0x24c785(0x16b)]({'target':this[_0x24c785(0x120)],'positions':[_0x24c785(0x16a)===this[_0x24c785(0x178)][_0x24c785(0x144)]?Hn:Un]}),this[_0x24c785(0x129)][_0x24c785(0x15b)]());}),_0x3bb795({'emitter':this[_0x3fec97(0x166)],'callback':()=>{const _0xcbeac6=_0x3fec97;this[_0xcbeac6(0x166)][_0xcbeac6(0x13b)]();},'activator':()=>this[_0x3fec97(0x166)][_0x3fec97(0x13f)],'contextElements':()=>[this[_0x3fec97(0x120)],this[_0x3fec97(0x166)][_0x3fec97(0x120)]]});}[_0x4552da(0x157)](_0x5b8ffa){const _0x2f662a=_0x4552da,_0x5aa9ca=this[_0x2f662a(0x178)],_0x332ec3=new _0x156d8e(_0x5aa9ca);for(const _0xb38426 of _0x5b8ffa){const _0x3fe1b1=new _0x1eaaa5(_0x5aa9ca),_0x77a1eb=new _0x5c715a(_0x5aa9ca);_0x77a1eb[_0x2f662a(0x133)](...Object[_0x2f662a(0x134)](_0xb38426))['to'](_0xb38426),_0x77a1eb[_0x2f662a(0x179)](_0x2f662a(0x16c))['to'](_0x332ec3),_0x3fe1b1[_0x2f662a(0x172)][_0x2f662a(0x14a)](_0x77a1eb),_0x332ec3[_0x2f662a(0x11b)][_0x2f662a(0x14a)](_0x3fe1b1);}return _0x332ec3[_0x2f662a(0x11b)][_0x2f662a(0x179)](_0x2f662a(0x16c))['to'](this),_0x332ec3['on'](_0x2f662a(0x16c),_0x21e425=>{const _0x15af92=_0x2f662a,_0x45d149=_0x21e425[_0x15af92(0x139)];this[_0x15af92(0x121)](_0x45d149[_0x15af92(0x163)]),this[_0x15af92(0x166)][_0x15af92(0x13b)](),this[_0x15af92(0x16d)][_0x15af92(0x15b)]();}),_0x332ec3;}[_0x4552da(0x13e)](){const _0x564b59=_0x4552da;this[_0x564b59(0x173)]=new _0x2cb67a(),this[_0x564b59(0x173)][_0x564b59(0x128)](this[_0x564b59(0x166)][_0x564b59(0x120)]),this[_0x564b59(0x173)][_0x564b59(0x161)](_0x564b59(0x159),(_0x509526,_0x254023)=>{const _0x5b3e39=_0x564b59;this[_0x5b3e39(0x166)][_0x5b3e39(0x13b)](),this[_0x5b3e39(0x16d)][_0x5b3e39(0x15b)](),_0x254023();});}[_0x4552da(0x12c)](){const _0x5d2c7b=_0x4552da;super[_0x5d2c7b(0x12c)](),this[_0x5d2c7b(0x173)][_0x5d2c7b(0x12c)](),this[_0x5d2c7b(0x166)][_0x5d2c7b(0x12c)](),this[_0x5d2c7b(0x135)][_0x5d2c7b(0x16f)]();}}function Hn(_0x193c9f){const _0x5dc9db=_0x4552da;return{'top':_0x193c9f[_0x5dc9db(0x14b)],'left':_0x193c9f[_0x5dc9db(0x125)],'name':_0x5dc9db(0x160),'config':{'withArrow':!0x1}};}function Un(_0xe5c302,_0x59d9e7){const _0x448d5d=_0x4552da;return{'top':_0xe5c302[_0x448d5d(0x14b)],'left':_0xe5c302[_0x448d5d(0x125)]-(_0x59d9e7[_0x448d5d(0x14c)]-_0xe5c302[_0x448d5d(0x14c)]),'name':_0x448d5d(0x160),'config':{'withArrow':!0x1}};}function Ln(_0x2f009a,_0x5174db,_0x1e5e88){const _0x34539e=_0x4552da;switch(_0x2f009a){case _0x34539e(0x154):return _0xf86a3a(_0x5174db,_0x34539e(0x177),_0x1e5e88);case _0x34539e(0x12f):return _0xf86a3a(_0x5174db,_0x34539e(0x147),_0x1e5e88);case _0x34539e(0x167):return _0xf86a3a(_0x5174db,_0x34539e(0x12b),_0x1e5e88);}}function jn(_0x40d5e3,_0x58de66,_0x80bf57){const _0x890040=_0x4552da;switch(_0x40d5e3){case _0x890040(0x154):return _0xf86a3a(_0x58de66,_0x890040(0x150),_0x80bf57);case _0x890040(0x12f):return _0xf86a3a(_0x58de66,_0x890040(0x149),_0x80bf57);case _0x890040(0x167):return _0xf86a3a(_0x58de66,_0x890040(0x16e),_0x80bf57);}}
23
+ const _0x3e8998=_0x29ee;function _0x599b(){const _0x3d4654=['7655212XraHAv','insertSuggestion','ck-hidden','_createActionsButton','actionsButton','2688090PWaCot','esc','createCollection','_firstRender','isEnabled','keys','element','slice','listenTo','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','content','unbind','label','detachFromDom','ltr','div','_setUpKeystrokes','has','listView','isVisible','uiLanguageDirection','ck-ai-button-primary','balloonPanelClass','left','tooltip','arrowless','attachToDom','add','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','updateLabels','showChangeInText','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','listItemModels','hide','bindTemplate','button','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','applySuggestion','showChangeInTextModel','_partsCount','bottom','_dropdownCurrentConfig','isTrackChangesOn','bodyCollection','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','bind','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','_setUpList','focus','actionName','9292473wXrpUq','set','applySuggestionModel','delegate','_createActionsDropdown','open','2516097YUDYhd','children','setTemplate','1843223gCjNTc','32Wqizvl','length','6412332HnmDLO','map','fire','change:isTrackChangesOn','filter','destroy','remove','balloonPanelView','pin','_updateDropdownActions','execute','ck-ai-chat__feed__ai-suggestion__actions__balloon','_createActionsDropdownOrButton','width','insertSuggestionModel','ck-ai-chat__feed__ai-suggestion__actions\x20','arrowView','ck-ai-chat__feed__ai-suggestion__actions','items','2erMVhl','32704UZSimi','class','_dropdownOriginalConfig','locale','ck-ai-chat__feed__ai-suggestion__actions--no-animation','source','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','keystrokeHandler'];_0x599b=function(){return _0x3d4654;};return _0x599b();}(function(_0x164c27,_0x447738){const _0x240a7c=_0x29ee,_0xddd144=_0x164c27();while(!![]){try{const _0x274393=parseInt(_0x240a7c(0x16e))/0x1+parseInt(_0x240a7c(0x184))/0x2*(parseInt(_0x240a7c(0x16b))/0x3)+parseInt(_0x240a7c(0x12e))/0x4+-parseInt(_0x240a7c(0x133))/0x5+parseInt(_0x240a7c(0x171))/0x6+-parseInt(_0x240a7c(0x185))/0x7+parseInt(_0x240a7c(0x16f))/0x8*(-parseInt(_0x240a7c(0x165))/0x9);if(_0x274393===_0x447738)break;else _0xddd144['push'](_0xddd144['shift']());}catch(_0x4563b6){_0xddd144['push'](_0xddd144['shift']());}}}(_0x599b,0xf23a9));import{KeystrokeHandler as _0x51393d}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x5bcd99,BodyCollection as _0x31b909,ButtonView as _0x2fe4ec,clickOutsideHandler as _0x463ab3,ListItemButtonView as _0x28fff5,ListItemView as _0x1c8293,ListView as _0x50d3fd,SplitButtonView as _0x180d4c,UIModel as _0x39e8c4,View as _0x2b1cf3}from'ckeditor5/src/ui.js';import{IconCheck as _0x4523aa,IconAddComment as _0x59f735,IconDocumentWithLoupe as _0x4f9b9d}from'ckeditor5/src/icons.js';import{getTranslation as _0x21ad58}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x3e8998(0x158),_0x3e8998(0x12f),_0x3e8998(0x151)];export class AIChatFeedSuggestionItemActionsView extends _0x2b1cf3{[_0x3e8998(0x132)];[_0x3e8998(0x16c)];[_0x3e8998(0x167)];[_0x3e8998(0x159)];[_0x3e8998(0x17f)];[_0x3e8998(0x15a)]=0x1;[_0x3e8998(0x187)];[_0x3e8998(0x15c)];[_0x3e8998(0x136)]=!0x0;constructor(_0x1e2939,_0x257950){const _0x137d78=_0x3e8998;super(_0x1e2939),this[_0x137d78(0x187)]=_0x257950||[...ACTIONS],this[_0x137d78(0x15c)]=[...this[_0x137d78(0x187)]];const _0x8d861c=this[_0x137d78(0x155)];this[_0x137d78(0x166)](_0x137d78(0x137),!0x0),this[_0x137d78(0x166)](_0x137d78(0x146),!0x0),this[_0x137d78(0x167)]=new _0x39e8c4({'label':Ln(_0x137d78(0x158),_0x1e2939,this[_0x137d78(0x15a)]),'icon':_0x4523aa,'withText':!0x0,'type':_0x137d78(0x156),'actionName':_0x137d78(0x158)}),this[_0x137d78(0x159)]=new _0x39e8c4({'label':Ln(_0x137d78(0x151),_0x1e2939,this[_0x137d78(0x15a)]),'icon':_0x4f9b9d,'withText':!0x0,'type':_0x137d78(0x156),'actionName':_0x137d78(0x151)}),this[_0x137d78(0x17f)]=new _0x39e8c4({'label':Ln(_0x137d78(0x12f),_0x1e2939,this[_0x137d78(0x15a)]),'icon':_0x59f735,'withText':!0x0,'type':_0x137d78(0x156),'actionName':_0x137d78(0x12f)}),this[_0x137d78(0x132)]=this[_0x137d78(0x17d)](_0x1e2939),this[_0x137d78(0x16c)]=this[_0x137d78(0x135)]([this[_0x137d78(0x132)]]),this[_0x137d78(0x16d)]({'tag':_0x137d78(0x142),'attributes':{'class':['ck',_0x137d78(0x182),_0x8d861c['if'](_0x137d78(0x146),_0x137d78(0x130),_0x4323b8=>!_0x4323b8)]},'children':this[_0x137d78(0x16c)]}),this[_0x137d78(0x13b)](this,_0x137d78(0x174),()=>{const _0x1940d3=_0x137d78;this[_0x1940d3(0x15c)]=this[_0x1940d3(0x15d)]?this[_0x1940d3(0x187)][_0x1940d3(0x175)](_0x469405=>_0x1940d3(0x158)!==_0x469405):[...this[_0x1940d3(0x187)]],this[_0x1940d3(0x17a)](_0x1e2939);});}[_0x3e8998(0x17a)](_0x4ca3aa){const _0x2a48a6=_0x3e8998;this[_0x2a48a6(0x16c)][_0x2a48a6(0x144)](this[_0x2a48a6(0x132)])&&(this[_0x2a48a6(0x16c)][_0x2a48a6(0x177)](this[_0x2a48a6(0x132)]),this[_0x2a48a6(0x132)][_0x2a48a6(0x176)]()),0x0!=this[_0x2a48a6(0x15c)][_0x2a48a6(0x170)]&&(this[_0x2a48a6(0x132)]=this[_0x2a48a6(0x17d)](_0x4ca3aa),this[_0x2a48a6(0x16c)][_0x2a48a6(0x14e)](this[_0x2a48a6(0x132)]));}[_0x3e8998(0x17d)](_0x5cb6be){const _0x503276=_0x3e8998,_0x46ad29=0x1===this[_0x503276(0x15c)][_0x503276(0x170)]?this[_0x503276(0x131)](_0x5cb6be):this[_0x503276(0x169)](_0x5cb6be),_0x4c07ef=this[_0x503276(0x136)]?'':_0x503276(0x12a);_0x46ad29[_0x503276(0x166)]({'label':Ln(this[_0x503276(0x15c)][0x0],_0x5cb6be,this[_0x503276(0x15a)]),'tooltip':jn(this[_0x503276(0x15c)][0x0],_0x5cb6be,this[_0x503276(0x15a)]),'withText':!0x0,'class':_0x503276(0x180)+_0x4c07ef});for(const _0x572035 of this[_0x503276(0x15c)])_0x46ad29['on'](_0x572035,()=>{const _0x47daa2=_0x503276;this[_0x47daa2(0x173)](_0x572035);});return this[_0x503276(0x136)]=!0x1,_0x46ad29;}[_0x3e8998(0x131)](_0x1a09a3){const _0x53cfb8=_0x3e8998,_0x20cd57=new _0x2fe4ec(_0x1a09a3);return _0x20cd57[_0x53cfb8(0x166)]({'class':_0x53cfb8(0x148),'withText':!0x0}),_0x20cd57['on'](_0x53cfb8(0x17b),()=>{const _0x3d5ec3=_0x53cfb8;_0x20cd57[_0x3d5ec3(0x173)](this[_0x3d5ec3(0x15c)][0x0]);}),_0x20cd57;}[_0x3e8998(0x169)](_0x28e793){const _0x52b63f=_0x3e8998,_0x360cb2=new Pn(_0x28e793,{'listItemModels':this[_0x52b63f(0x15c)][_0x52b63f(0x172)](_0xe9c36d=>{const _0x54f01f=_0x52b63f;switch(_0xe9c36d){case _0x54f01f(0x158):return this[_0x54f01f(0x167)];case _0x54f01f(0x151):return this[_0x54f01f(0x159)];case _0x54f01f(0x12f):return this[_0x54f01f(0x17f)];}})});return _0x360cb2[_0x52b63f(0x166)]({'label':Ln(this[_0x52b63f(0x15c)][0x0],_0x28e793,this[_0x52b63f(0x15a)]),'tooltip':jn(this[_0x52b63f(0x15c)][0x0],_0x28e793,this[_0x52b63f(0x15a)]),'withText':!0x0,'class':_0x52b63f(0x182),'balloonPanelClass':_0x52b63f(0x17c)}),_0x360cb2[_0x52b63f(0x160)](_0x52b63f(0x137))['to'](this),_0x360cb2;}[_0x3e8998(0x150)](_0x225821){const _0x5c2a2e=_0x3e8998,_0x32fee9=this[_0x5c2a2e(0x129)];this[_0x5c2a2e(0x15a)]=_0x225821||this[_0x5c2a2e(0x15a)],this[_0x5c2a2e(0x132)][_0x5c2a2e(0x166)]({'label':Ln(this[_0x5c2a2e(0x15c)][0x0],_0x32fee9,this[_0x5c2a2e(0x15a)]),'tooltip':jn(this[_0x5c2a2e(0x15c)][0x0],_0x32fee9,this[_0x5c2a2e(0x15a)])}),this[_0x5c2a2e(0x167)][_0x5c2a2e(0x13f)]=Ln(_0x5c2a2e(0x158),_0x32fee9,this[_0x5c2a2e(0x15a)]),this[_0x5c2a2e(0x159)][_0x5c2a2e(0x13f)]=Ln(_0x5c2a2e(0x151),_0x32fee9,this[_0x5c2a2e(0x15a)]),this[_0x5c2a2e(0x17f)][_0x5c2a2e(0x13f)]=Ln(_0x5c2a2e(0x12f),_0x32fee9,this[_0x5c2a2e(0x15a)]);}}class Pn extends _0x180d4c{[_0x3e8998(0x15e)];[_0x3e8998(0x178)];[_0x3e8998(0x145)];[_0x3e8998(0x12d)];constructor(_0x20a642,_0x590c8d){const _0x386def=_0x3e8998;super(_0x20a642),this[_0x386def(0x178)]=new _0x5bcd99(this[_0x386def(0x129)]),this[_0x386def(0x15e)]=new _0x31b909(this[_0x386def(0x129)]),this[_0x386def(0x15e)][_0x386def(0x14d)](),this[_0x386def(0x166)](_0x386def(0x149),''),this[_0x386def(0x178)][_0x386def(0x160)](_0x386def(0x186))['to'](this,_0x386def(0x149)),this[_0x386def(0x145)]=this[_0x386def(0x162)](_0x590c8d[_0x386def(0x153)][_0x386def(0x13a)](0x1)),this[_0x386def(0x15e)][_0x386def(0x14e)](this[_0x386def(0x178)]),this[_0x386def(0x178)][_0x386def(0x13d)][_0x386def(0x14e)](this[_0x386def(0x145)]),this[_0x386def(0x181)][_0x386def(0x13e)](_0x386def(0x14b)),this[_0x386def(0x181)][_0x386def(0x166)](_0x386def(0x14b),_0x21ad58(this[_0x386def(0x129)],_0x386def(0x157))),this[_0x386def(0x143)](),this['on'](_0x386def(0x17b),()=>{const _0x2d55c0=_0x386def,_0xe47400=_0x590c8d[_0x2d55c0(0x153)][0x0][_0x2d55c0(0x164)];this[_0x2d55c0(0x173)](_0xe47400),this[_0x2d55c0(0x178)][_0x2d55c0(0x154)](),this[_0x2d55c0(0x181)][_0x2d55c0(0x163)]();}),this['on'](_0x386def(0x16a),()=>{const _0x4c7af1=_0x386def;this[_0x4c7af1(0x178)][_0x4c7af1(0x146)]?(this[_0x4c7af1(0x178)][_0x4c7af1(0x154)](),this[_0x4c7af1(0x181)][_0x4c7af1(0x163)]()):(this[_0x4c7af1(0x178)][_0x4c7af1(0x179)]({'target':this[_0x4c7af1(0x139)],'positions':[_0x4c7af1(0x141)===this[_0x4c7af1(0x129)][_0x4c7af1(0x147)]?Hn:Un]}),this[_0x4c7af1(0x145)][_0x4c7af1(0x163)]());}),_0x463ab3({'emitter':this[_0x386def(0x178)],'callback':()=>{const _0xe912e2=_0x386def;this[_0xe912e2(0x178)][_0xe912e2(0x154)]();},'activator':()=>this[_0x386def(0x178)][_0x386def(0x146)],'contextElements':()=>[this[_0x386def(0x139)],this[_0x386def(0x178)][_0x386def(0x139)]]});}[_0x3e8998(0x162)](_0x4a2bf1){const _0x267bc0=_0x3e8998,_0x3ef806=this[_0x267bc0(0x129)],_0x8deb4a=new _0x50d3fd(_0x3ef806);for(const _0x59d3e7 of _0x4a2bf1){const _0x587041=new _0x1c8293(_0x3ef806),_0x6d362=new _0x28fff5(_0x3ef806);_0x6d362[_0x267bc0(0x160)](...Object[_0x267bc0(0x138)](_0x59d3e7))['to'](_0x59d3e7),_0x6d362[_0x267bc0(0x168)](_0x267bc0(0x17b))['to'](_0x8deb4a),_0x587041[_0x267bc0(0x16c)][_0x267bc0(0x14e)](_0x6d362),_0x8deb4a[_0x267bc0(0x183)][_0x267bc0(0x14e)](_0x587041);}return _0x8deb4a[_0x267bc0(0x183)][_0x267bc0(0x168)](_0x267bc0(0x17b))['to'](this),_0x8deb4a['on'](_0x267bc0(0x17b),_0x2be377=>{const _0x3645ef=_0x267bc0,_0x4b45b2=_0x2be377[_0x3645ef(0x12b)];this[_0x3645ef(0x173)](_0x4b45b2[_0x3645ef(0x164)]),this[_0x3645ef(0x178)][_0x3645ef(0x154)](),this[_0x3645ef(0x181)][_0x3645ef(0x163)]();}),_0x8deb4a;}[_0x3e8998(0x143)](){const _0x1b7300=_0x3e8998;this[_0x1b7300(0x12d)]=new _0x51393d(),this[_0x1b7300(0x12d)][_0x1b7300(0x13b)](this[_0x1b7300(0x178)][_0x1b7300(0x139)]),this[_0x1b7300(0x12d)][_0x1b7300(0x166)](_0x1b7300(0x134),(_0x22406f,_0x56ce7a)=>{const _0x5a803a=_0x1b7300;this[_0x5a803a(0x178)][_0x5a803a(0x154)](),this[_0x5a803a(0x181)][_0x5a803a(0x163)](),_0x56ce7a();});}[_0x3e8998(0x176)](){const _0xbfa2be=_0x3e8998;super[_0xbfa2be(0x176)](),this[_0xbfa2be(0x12d)][_0xbfa2be(0x176)](),this[_0xbfa2be(0x178)][_0xbfa2be(0x176)](),this[_0xbfa2be(0x15e)][_0xbfa2be(0x140)]();}}function Hn(_0x5e4c61){const _0x4387f3=_0x3e8998;return{'top':_0x5e4c61[_0x4387f3(0x15b)],'left':_0x5e4c61[_0x4387f3(0x14a)],'name':_0x4387f3(0x14c),'config':{'withArrow':!0x1}};}function Un(_0x3b8dfc,_0x40c094){const _0x7ce3de=_0x3e8998;return{'top':_0x3b8dfc[_0x7ce3de(0x15b)],'left':_0x3b8dfc[_0x7ce3de(0x14a)]-(_0x40c094[_0x7ce3de(0x17e)]-_0x3b8dfc[_0x7ce3de(0x17e)]),'name':_0x7ce3de(0x14c),'config':{'withArrow':!0x1}};}function Ln(_0x4bf522,_0x37749c,_0x4a6926){const _0x33ee5d=_0x3e8998;switch(_0x4bf522){case _0x33ee5d(0x158):return _0x21ad58(_0x37749c,_0x33ee5d(0x12c),_0x4a6926);case _0x33ee5d(0x151):return _0x21ad58(_0x37749c,_0x33ee5d(0x13c),_0x4a6926);case _0x33ee5d(0x12f):return _0x21ad58(_0x37749c,_0x33ee5d(0x152),_0x4a6926);}}function _0x29ee(_0x29b9ae,_0x26e8e2){const _0x599b85=_0x599b();return _0x29ee=function(_0x29ee58,_0xb6a041){_0x29ee58=_0x29ee58-0x129;let _0x3f2a3b=_0x599b85[_0x29ee58];return _0x3f2a3b;},_0x29ee(_0x29b9ae,_0x26e8e2);}function jn(_0x4172ec,_0xe0c2b8,_0x5a764a){const _0x509920=_0x3e8998;switch(_0x4172ec){case _0x509920(0x158):return _0x21ad58(_0xe0c2b8,_0x509920(0x14f),_0x5a764a);case _0x509920(0x151):return _0x21ad58(_0xe0c2b8,_0x509920(0x15f),_0x5a764a);case _0x509920(0x12f):return _0x21ad58(_0xe0c2b8,_0x509920(0x161),_0x5a764a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x11c781=_0x5e5b;(function(_0x3f64c3,_0x4b809c){var _0x3e4cf3=_0x5e5b,_0x31c999=_0x3f64c3();while(!![]){try{var _0x150dca=-parseInt(_0x3e4cf3(0x159))/0x1+-parseInt(_0x3e4cf3(0x156))/0x2+parseInt(_0x3e4cf3(0x15d))/0x3*(-parseInt(_0x3e4cf3(0x164))/0x4)+-parseInt(_0x3e4cf3(0x14f))/0x5+parseInt(_0x3e4cf3(0x154))/0x6*(-parseInt(_0x3e4cf3(0x176))/0x7)+-parseInt(_0x3e4cf3(0x15b))/0x8*(-parseInt(_0x3e4cf3(0x168))/0x9)+parseInt(_0x3e4cf3(0x16d))/0xa*(parseInt(_0x3e4cf3(0x165))/0xb);if(_0x150dca===_0x4b809c)break;else _0x31c999['push'](_0x31c999['shift']());}catch(_0x405ba8){_0x31c999['push'](_0x31c999['shift']());}}}(_0x507e,0xc34ec));import{AIChatFeedItemView as _0x3a14ec}from'./aichatfeeditemview.js';function _0x5e5b(_0x58e106,_0x3686ed){var _0x507ecd=_0x507e();return _0x5e5b=function(_0x5e5b11,_0x38716d){_0x5e5b11=_0x5e5b11-0x14c;var _0x5547fb=_0x507ecd[_0x5e5b11];return _0x5547fb;},_0x5e5b(_0x58e106,_0x3686ed);}function _0x507e(){var _0x555860=['8mGrWYJ','11jQHwQc','applySuggestion','extendTemplate','153LmfijE','isVisible','insertSuggestion','addMany','showChangeInText','18795930LDCHwv','mouseOverSuggestion','getPartView','children','updateContent','fire','showDiff','markAsDone','partsCount','32270tfjBto','like','mouseLeaveSuggestion','areActionsDisabled','bodyView','hasNonEmptyParts','698710FgeHvZ','updateLabels','isTrackChangesOn','dropdownConfig','dislike','822vKwlXE','hasPendingParts','282924vSXrgZ','toggleSuggestionDisplayMode','rejectSuggestion','403173jPjSlg','containerView','649936VegeFp','actionsView','1717170BiZtlu','ck-ai-chat__feed__ai-suggestion','options','isEnabled','updatePartState','bind','updateSources'];_0x507e=function(){return _0x555860;};return _0x507e();}import{AISuggestionContainerView as _0x3f329d}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x53bea2}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x3a14ec{[_0x11c781(0x15a)];[_0x11c781(0x15c)];constructor(_0x2125ba,_0x1620c4){var _0x3f15cc=_0x11c781;super(_0x1620c4),this[_0x3f15cc(0x15a)]=new _0x3f329d(_0x2125ba,{'showDiff':_0x1620c4[_0x3f15cc(0x173)],'areActionsDisabled':_0x1620c4[_0x3f15cc(0x14c)]}),this[_0x3f15cc(0x15a)]['on'](_0x3f15cc(0x157),(_0x222fbb,_0x22de7d)=>{var _0x4dc1c5=_0x3f15cc;this[_0x4dc1c5(0x172)](_0x4dc1c5(0x157),{'replyId':this[_0x4dc1c5(0x15f)]['id'],'showDiff':_0x22de7d[_0x4dc1c5(0x173)]});}),this[_0x3f15cc(0x15a)]['on'](_0x3f15cc(0x177),()=>{var _0x4e9c4b=_0x3f15cc;this[_0x4e9c4b(0x172)](_0x4e9c4b(0x177),{'replyId':this[_0x4e9c4b(0x15f)]['id']});}),this[_0x3f15cc(0x15a)]['on'](_0x3f15cc(0x153),()=>{var _0x2b8675=_0x3f15cc;this[_0x2b8675(0x172)](_0x2b8675(0x153),{'replyId':this[_0x2b8675(0x15f)]['id']});}),this[_0x3f15cc(0x15a)]['on'](_0x3f15cc(0x16c),(_0x41d662,{index:_0x4b6347})=>{var _0x3a4731=_0x3f15cc;this[_0x3a4731(0x172)](_0x3a4731(0x16c),{'replyId':this[_0x3a4731(0x15f)]['id'],'partIndex':_0x4b6347});}),this[_0x3f15cc(0x15a)]['on'](_0x3f15cc(0x16a),(_0x16fac1,{index:_0x132f50})=>{var _0x5e7b5f=_0x3f15cc;this[_0x5e7b5f(0x172)](_0x5e7b5f(0x16a),{'replyId':this[_0x5e7b5f(0x15f)]['id'],'partIndex':_0x132f50});}),this[_0x3f15cc(0x15a)]['on'](_0x3f15cc(0x158),(_0x18901b,{index:_0x505ed3})=>{var _0x3a650d=_0x3f15cc;this[_0x3a650d(0x172)](_0x3a650d(0x158),{'replyId':this[_0x3a650d(0x15f)]['id'],'partIndex':_0x505ed3});}),this[_0x3f15cc(0x15a)]['on'](_0x3f15cc(0x16e),(_0x1f5075,{index:_0x467d64})=>{var _0x413a9d=_0x3f15cc;this[_0x413a9d(0x172)](_0x413a9d(0x16e),{'replyId':this[_0x413a9d(0x15f)]['id'],'partIndex':_0x467d64});}),this[_0x3f15cc(0x15a)]['on'](_0x3f15cc(0x178),(_0x3ffe3d,{index:_0x25735f})=>{var _0xbba2c3=_0x3f15cc;this[_0xbba2c3(0x172)](_0xbba2c3(0x178),{'replyId':this[_0xbba2c3(0x15f)]['id'],'partIndex':_0x25735f});}),this[_0x3f15cc(0x15c)]=new _0x53bea2(_0x2125ba,this[_0x3f15cc(0x15f)][_0x3f15cc(0x152)]),this[_0x3f15cc(0x15c)][_0x3f15cc(0x162)](_0x3f15cc(0x151))['to'](this,_0x3f15cc(0x151)),this[_0x3f15cc(0x15c)]['on'](_0x3f15cc(0x16c),()=>{var _0x1c2345=_0x3f15cc;this[_0x1c2345(0x172)](_0x1c2345(0x16c),{'replyId':this[_0x1c2345(0x15f)]['id']});}),this[_0x3f15cc(0x15c)]['on'](_0x3f15cc(0x16a),()=>{var _0x5c5fae=_0x3f15cc;this[_0x5c5fae(0x172)](_0x5c5fae(0x16a),{'replyId':this[_0x5c5fae(0x15f)]['id']});}),this[_0x3f15cc(0x15c)]['on'](_0x3f15cc(0x166),()=>{var _0x3be2b5=_0x3f15cc;this[_0x3be2b5(0x172)](_0x3be2b5(0x166),{'replyId':this[_0x3be2b5(0x15f)]['id']});}),_0x1620c4[_0x3f15cc(0x14c)]?this[_0x3f15cc(0x15c)][_0x3f15cc(0x160)]=!0x1:this[_0x3f15cc(0x15c)][_0x3f15cc(0x162)](_0x3f15cc(0x160))['to'](this[_0x3f15cc(0x15a)][_0x3f15cc(0x14d)],_0x3f15cc(0x155)),this[_0x3f15cc(0x170)][_0x3f15cc(0x16b)]([this[_0x3f15cc(0x15a)],this[_0x3f15cc(0x15c)]]),this[_0x3f15cc(0x167)]({'attributes':{'class':[_0x3f15cc(0x15e)]}});}async[_0x11c781(0x171)](_0x4dd165){var _0x55d046=_0x11c781;await this[_0x55d046(0x15a)][_0x55d046(0x171)](_0x4dd165),this[_0x55d046(0x15c)][_0x55d046(0x150)](this[_0x55d046(0x15a)][_0x55d046(0x14d)][_0x55d046(0x175)]);}[_0x11c781(0x161)](_0x3d49b3,_0x561907){var _0x2a9368=_0x11c781;this[_0x2a9368(0x15a)][_0x2a9368(0x14d)][_0x2a9368(0x161)](_0x3d49b3,_0x561907);}[_0x11c781(0x163)](_0x27be5a){var _0x361294=_0x11c781;this[_0x361294(0x15a)][_0x361294(0x163)](_0x27be5a);}[_0x11c781(0x16f)](_0x3d99c4){var _0x2a8173=_0x11c781;return this[_0x2a8173(0x15a)][_0x2a8173(0x14d)][_0x2a8173(0x16f)](_0x3d99c4);}[_0x11c781(0x174)](){var _0xfa1a5e=_0x11c781;super[_0xfa1a5e(0x174)](),this[_0xfa1a5e(0x15a)][_0xfa1a5e(0x174)](),this[_0xfa1a5e(0x15c)][_0xfa1a5e(0x169)]=this[_0xfa1a5e(0x15a)][_0xfa1a5e(0x14d)][_0xfa1a5e(0x14e)];}}
23
+ var _0x3c66c0=_0x597e;(function(_0x1c458b,_0x2005c0){var _0x7f3947=_0x597e,_0xa124c4=_0x1c458b();while(!![]){try{var _0x4cf037=parseInt(_0x7f3947(0x1e3))/0x1+-parseInt(_0x7f3947(0x1f0))/0x2*(-parseInt(_0x7f3947(0x1fc))/0x3)+-parseInt(_0x7f3947(0x1f4))/0x4+parseInt(_0x7f3947(0x1fe))/0x5+-parseInt(_0x7f3947(0x1f7))/0x6+parseInt(_0x7f3947(0x200))/0x7+parseInt(_0x7f3947(0x1db))/0x8*(-parseInt(_0x7f3947(0x1eb))/0x9);if(_0x4cf037===_0x2005c0)break;else _0xa124c4['push'](_0xa124c4['shift']());}catch(_0x4e25ab){_0xa124c4['push'](_0xa124c4['shift']());}}}(_0x2e33,0x7dbc0));function _0x597e(_0x6de9a6,_0x47576f){var _0x2e3395=_0x2e33();return _0x597e=function(_0x597eec,_0x44b781){_0x597eec=_0x597eec-0x1d9;var _0x36cf15=_0x2e3395[_0x597eec];return _0x36cf15;},_0x597e(_0x6de9a6,_0x47576f);}import{AIChatFeedItemView as _0x3338ba}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x275598}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x489812}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x3338ba{[_0x3c66c0(0x1d9)];[_0x3c66c0(0x1f1)];constructor(_0x5e81d9,_0x284e5f){var _0x360181=_0x3c66c0;super(_0x284e5f),this[_0x360181(0x1d9)]=new _0x275598(_0x5e81d9,{'showDiff':_0x284e5f[_0x360181(0x1f9)],'areActionsDisabled':_0x284e5f[_0x360181(0x1ee)]}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1ff),(_0x5713d2,_0x950888)=>{var _0x50037a=_0x360181;this[_0x50037a(0x1f8)](_0x50037a(0x1ff),{'replyId':this[_0x50037a(0x1de)]['id'],'showDiff':_0x950888[_0x50037a(0x1f9)]});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1ea),()=>{var _0x12d6d2=_0x360181;this[_0x12d6d2(0x1f8)](_0x12d6d2(0x1ea),{'replyId':this[_0x12d6d2(0x1de)]['id']});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1fd),()=>{var _0x5b9c94=_0x360181;this[_0x5b9c94(0x1f8)](_0x5b9c94(0x1fd),{'replyId':this[_0x5b9c94(0x1de)]['id']});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1e7),(_0x484890,{index:_0x43dc6f})=>{var _0x28f94d=_0x360181;this[_0x28f94d(0x1f8)](_0x28f94d(0x1e7),{'replyId':this[_0x28f94d(0x1de)]['id'],'partIndex':_0x43dc6f});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1ed),(_0xe0350f,{index:_0x48f58e})=>{var _0x3a08d6=_0x360181;this[_0x3a08d6(0x1f8)](_0x3a08d6(0x1ed),{'replyId':this[_0x3a08d6(0x1de)]['id'],'partIndex':_0x48f58e});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1e5),(_0x5d3fda,{index:_0x4869da})=>{var _0x200ab2=_0x360181;this[_0x200ab2(0x1f8)](_0x200ab2(0x1e5),{'replyId':this[_0x200ab2(0x1de)]['id'],'partIndex':_0x4869da});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1e9),(_0x1d3c1b,{index:_0x4e5e72})=>{var _0x3822fa=_0x360181;this[_0x3822fa(0x1f8)](_0x3822fa(0x1e9),{'replyId':this[_0x3822fa(0x1de)]['id'],'partIndex':_0x4e5e72});}),this[_0x360181(0x1d9)]['on'](_0x360181(0x1f6),(_0xd69245,{index:_0x4eba3f})=>{var _0x1a9001=_0x360181;this[_0x1a9001(0x1f8)](_0x1a9001(0x1f6),{'replyId':this[_0x1a9001(0x1de)]['id'],'partIndex':_0x4eba3f});}),this[_0x360181(0x1f1)]=new _0x489812(_0x5e81d9,this[_0x360181(0x1de)][_0x360181(0x201)]),this[_0x360181(0x1f1)][_0x360181(0x203)](_0x360181(0x202))['to'](this,_0x360181(0x202)),this[_0x360181(0x1f1)]['on'](_0x360181(0x1e7),()=>{var _0x554efd=_0x360181;this[_0x554efd(0x1f8)](_0x554efd(0x1e7),{'replyId':this[_0x554efd(0x1de)]['id']});}),this[_0x360181(0x1f1)]['on'](_0x360181(0x1ed),()=>{var _0xd70888=_0x360181;this[_0xd70888(0x1f8)](_0xd70888(0x1ed),{'replyId':this[_0xd70888(0x1de)]['id']});}),this[_0x360181(0x1f1)]['on'](_0x360181(0x1ec),()=>{var _0x34680a=_0x360181;this[_0x34680a(0x1f8)](_0x34680a(0x1ec),{'replyId':this[_0x34680a(0x1de)]['id']});}),_0x284e5f[_0x360181(0x1ee)]?this[_0x360181(0x1f1)][_0x360181(0x1dc)]=!0x1:this[_0x360181(0x1f1)][_0x360181(0x203)](_0x360181(0x1dc))['to'](this[_0x360181(0x1d9)][_0x360181(0x1dd)],_0x360181(0x1da)),this[_0x360181(0x1f3)][_0x360181(0x1fa)]([this[_0x360181(0x1d9)],this[_0x360181(0x1f1)]]),this[_0x360181(0x1e2)]({'attributes':{'class':[_0x360181(0x1df)]}});}async[_0x3c66c0(0x1f5)](_0x2b1fb5){var _0x28cf29=_0x3c66c0;await this[_0x28cf29(0x1d9)][_0x28cf29(0x1f5)](_0x2b1fb5),this[_0x28cf29(0x1f1)][_0x28cf29(0x1e8)](this[_0x28cf29(0x1d9)][_0x28cf29(0x1dd)][_0x28cf29(0x1ef)]);}[_0x3c66c0(0x1e6)](_0x41896b,_0x56c0e5){var _0x483b76=_0x3c66c0;this[_0x483b76(0x1d9)][_0x483b76(0x1dd)][_0x483b76(0x1e6)](_0x41896b,_0x56c0e5);}[_0x3c66c0(0x1fb)](_0x3d09e7){var _0x172f6d=_0x3c66c0;this[_0x172f6d(0x1d9)][_0x172f6d(0x1fb)](_0x3d09e7);}[_0x3c66c0(0x1e0)](_0x3e5e87){var _0xdb6b66=_0x3c66c0;return this[_0xdb6b66(0x1d9)][_0xdb6b66(0x1dd)][_0xdb6b66(0x1e0)](_0x3e5e87);}[_0x3c66c0(0x1e4)](){var _0x2bcdd8=_0x3c66c0;super[_0x2bcdd8(0x1e4)](),this[_0x2bcdd8(0x1d9)][_0x2bcdd8(0x1e4)](),this[_0x2bcdd8(0x1f1)][_0x2bcdd8(0x1e1)]=this[_0x2bcdd8(0x1d9)][_0x2bcdd8(0x1dd)][_0x2bcdd8(0x1f2)];}}function _0x2e33(){var _0x43361d=['isTrackChangesOn','bind','containerView','hasPendingParts','256aUgqHD','isEnabled','bodyView','options','ck-ai-chat__feed__ai-suggestion','getPartView','isVisible','extendTemplate','444798rAdYsT','markAsDone','rejectSuggestion','updatePartState','showChangeInText','updateLabels','mouseOverSuggestion','like','333972YhVzik','applySuggestion','insertSuggestion','areActionsDisabled','partsCount','2ETaxRX','actionsView','hasNonEmptyParts','children','58828fDmNDw','updateContent','mouseLeaveSuggestion','3578010PEPNns','fire','showDiff','addMany','updateSources','2528187KlDmMQ','dislike','4040965dQHaUY','toggleSuggestionDisplayMode','1524502cgbOSR','dropdownConfig'];_0x2e33=function(){return _0x43361d;};return _0x2e33();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3637(_0x52ffa2,_0x4d556c){var _0x4f0562=_0x4f05();return _0x3637=function(_0x36371,_0x2fe017){_0x36371=_0x36371-0x14d;var _0x3cb738=_0x4f0562[_0x36371];return _0x3cb738;},_0x3637(_0x52ffa2,_0x4d556c);}var _0x387581=_0x3637;(function(_0x202ee5,_0x25632a){var _0x4a86d7=_0x3637,_0x34f3fd=_0x202ee5();while(!![]){try{var _0x1f3d28=-parseInt(_0x4a86d7(0x150))/0x1*(parseInt(_0x4a86d7(0x14d))/0x2)+-parseInt(_0x4a86d7(0x15b))/0x3*(parseInt(_0x4a86d7(0x154))/0x4)+-parseInt(_0x4a86d7(0x16c))/0x5*(parseInt(_0x4a86d7(0x15a))/0x6)+-parseInt(_0x4a86d7(0x155))/0x7*(-parseInt(_0x4a86d7(0x157))/0x8)+parseInt(_0x4a86d7(0x171))/0x9*(-parseInt(_0x4a86d7(0x168))/0xa)+parseInt(_0x4a86d7(0x15c))/0xb*(parseInt(_0x4a86d7(0x16f))/0xc)+parseInt(_0x4a86d7(0x166))/0xd;if(_0x1f3d28===_0x25632a)break;else _0x34f3fd['push'](_0x34f3fd['shift']());}catch(_0x268384){_0x34f3fd['push'](_0x34f3fd['shift']());}}}(_0x4f05,0x9e14c));function _0x4f05(){var _0x2f25f2=['hidden','2062917QIKUQF','3562Grntpu','children','element','655rIaUHC','_createMessageContentView','ck-ai-chat__feed__message-content','length','76AYxeWQ','7EimgsY','markAsDone','3857048GznZGb','render','_bodyCollection','6642TRtYWA','130002slmlJq','93137igNsQn','add','_messageContentView','_contextChipsView','filter','div','ck-ai-chat__feed__context-chips','extendTemplate','innerHTML','setTemplate','31598099vEyqFl','ck-ai-chat__feed__user-message','10EWBQvl','options','_locale','_createContextChipsView','3765HmhTes','contextItems','initialContent','1116dYgqxw'];_0x4f05=function(){return _0x2f25f2;};return _0x4f05();}import{AIChatFeedItemView as _0xda6419}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x596b39}from'./aichatfeedcontextchipsview.js';import{View as _0x11db11}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0xda6419{[_0x387581(0x15f)]=null;[_0x387581(0x16a)];[_0x387581(0x159)];[_0x387581(0x15e)];constructor(_0x1932a2,_0x394635,_0x2c7f3e){var _0x2e29ef=_0x387581;super(_0x394635),this[_0x2e29ef(0x16a)]=_0x1932a2,this[_0x2e29ef(0x159)]=_0x2c7f3e,this[_0x2e29ef(0x16b)](),this[_0x2e29ef(0x151)](),this[_0x2e29ef(0x163)]({'attributes':{'class':[_0x2e29ef(0x167)]}});}[_0x387581(0x16b)](){var _0x5600ae=_0x387581;this[_0x5600ae(0x169)][_0x5600ae(0x16d)]&&this[_0x5600ae(0x169)][_0x5600ae(0x16d)][_0x5600ae(0x153)]>0x0&&(this[_0x5600ae(0x15f)]=new _0x596b39(this[_0x5600ae(0x16a)],this[_0x5600ae(0x169)][_0x5600ae(0x16d)][_0x5600ae(0x160)](_0x5f6e7e=>!_0x5f6e7e[_0x5600ae(0x170)]),this[_0x5600ae(0x159)]),this[_0x5600ae(0x15f)][_0x5600ae(0x163)]({'attributes':{'class':_0x5600ae(0x162)}}),this[_0x5600ae(0x14e)][_0x5600ae(0x15d)](this[_0x5600ae(0x15f)]));}[_0x387581(0x151)](){var _0x307427=_0x387581;this[_0x307427(0x15e)]=new _0x11db11(this[_0x307427(0x16a)]),this[_0x307427(0x15e)][_0x307427(0x165)]({'tag':_0x307427(0x161),'attributes':{'class':_0x307427(0x152)}}),this[_0x307427(0x14e)][_0x307427(0x15d)](this[_0x307427(0x15e)]);}[_0x387581(0x158)](){var _0x28bf8b=_0x387581;super[_0x28bf8b(0x158)](),this[_0x28bf8b(0x15e)][_0x28bf8b(0x14f)][_0x28bf8b(0x164)]=this[_0x28bf8b(0x169)][_0x28bf8b(0x16e)],this[_0x28bf8b(0x156)]();}}
23
+ var _0x42f84a=_0x4e2d;(function(_0x26f492,_0x14d569){var _0x1db48b=_0x4e2d,_0x145e72=_0x26f492();while(!![]){try{var _0x57af5e=-parseInt(_0x1db48b(0x147))/0x1+-parseInt(_0x1db48b(0x135))/0x2+parseInt(_0x1db48b(0x14b))/0x3*(-parseInt(_0x1db48b(0x148))/0x4)+parseInt(_0x1db48b(0x13d))/0x5+-parseInt(_0x1db48b(0x151))/0x6*(parseInt(_0x1db48b(0x14e))/0x7)+parseInt(_0x1db48b(0x13b))/0x8+-parseInt(_0x1db48b(0x140))/0x9*(-parseInt(_0x1db48b(0x155))/0xa);if(_0x57af5e===_0x14d569)break;else _0x145e72['push'](_0x145e72['shift']());}catch(_0x54f92e){_0x145e72['push'](_0x145e72['shift']());}}}(_0x3ba8,0x41a90));import{AIChatFeedItemView as _0x24e296}from'./aichatfeeditemview.js';function _0x4e2d(_0x44cd0e,_0x5986fa){var _0x3ba824=_0x3ba8();return _0x4e2d=function(_0x4e2d85,_0x216cbf){_0x4e2d85=_0x4e2d85-0x135;var _0x4b8abc=_0x3ba824[_0x4e2d85];return _0x4b8abc;},_0x4e2d(_0x44cd0e,_0x5986fa);}import{AIChatFeedContextChipsView as _0x11dcc4}from'./aichatfeedcontextchipsview.js';function _0x3ba8(){var _0x434d9f=['markAsDone','151857IeYnfc','div','add','ck-ai-chat__feed__user-message','_locale','_createContextChipsView','contextItems','372442ytHcNN','12FNNQdF','_messageContentView','_bodyCollection','174987bUoIFF','_createMessageContentView','children','530474XbQvZc','hidden','options','18EgXzBF','filter','extendTemplate','ck-ai-chat__feed__context-chips','530pnTxNT','ck-ai-chat__feed__message-content','858016FvWHbN','render','initialContent','element','innerHTML','length','3820880dxhgDQ','setTemplate','504240eejVAn','_contextChipsView'];_0x3ba8=function(){return _0x434d9f;};return _0x3ba8();}import{View as _0x2c6950}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x24e296{[_0x42f84a(0x13e)]=null;[_0x42f84a(0x144)];[_0x42f84a(0x14a)];[_0x42f84a(0x149)];constructor(_0x29cc11,_0x365698,_0x23ff0d){var _0x2d50ca=_0x42f84a;super(_0x365698),this[_0x2d50ca(0x144)]=_0x29cc11,this[_0x2d50ca(0x14a)]=_0x23ff0d,this[_0x2d50ca(0x145)](),this[_0x2d50ca(0x14c)](),this[_0x2d50ca(0x153)]({'attributes':{'class':[_0x2d50ca(0x143)]}});}[_0x42f84a(0x145)](){var _0x489e7f=_0x42f84a;this[_0x489e7f(0x150)][_0x489e7f(0x146)]&&this[_0x489e7f(0x150)][_0x489e7f(0x146)][_0x489e7f(0x13a)]>0x0&&(this[_0x489e7f(0x13e)]=new _0x11dcc4(this[_0x489e7f(0x144)],this[_0x489e7f(0x150)][_0x489e7f(0x146)][_0x489e7f(0x152)](_0x35e4ad=>!_0x35e4ad[_0x489e7f(0x14f)]),this[_0x489e7f(0x14a)]),this[_0x489e7f(0x13e)][_0x489e7f(0x153)]({'attributes':{'class':_0x489e7f(0x154)}}),this[_0x489e7f(0x14d)][_0x489e7f(0x142)](this[_0x489e7f(0x13e)]));}[_0x42f84a(0x14c)](){var _0x51fa55=_0x42f84a;this[_0x51fa55(0x149)]=new _0x2c6950(this[_0x51fa55(0x144)]),this[_0x51fa55(0x149)][_0x51fa55(0x13c)]({'tag':_0x51fa55(0x141),'attributes':{'class':_0x51fa55(0x156)}}),this[_0x51fa55(0x14d)][_0x51fa55(0x142)](this[_0x51fa55(0x149)]);}[_0x42f84a(0x136)](){var _0x57c9d0=_0x42f84a;super[_0x57c9d0(0x136)](),this[_0x57c9d0(0x149)][_0x57c9d0(0x138)][_0x57c9d0(0x139)]=this[_0x57c9d0(0x150)][_0x57c9d0(0x137)],this[_0x57c9d0(0x13f)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3e2f(_0x568dcb,_0x338344){const _0x4989eb=_0x4989();return _0x3e2f=function(_0x3e2f7b,_0x13499b){_0x3e2f7b=_0x3e2f7b-0x141;let _0x47444b=_0x4989eb[_0x3e2f7b];return _0x47444b;},_0x3e2f(_0x568dcb,_0x338344);}function _0x4989(){const _0xb4e222=['removeContextItem','3600fpAwFX','588735cIIiYZ','9351iwmAVS','205yATDIK','toggleReasoning','abortPromptStream','addUrlToContext','174968qMUrIW','resizeTabs','sendUserMessage','201ZALkHw','2630mLRWXI','addFileToContext','addDocumentToContext','292PtTTvi','1351691izJQtH','1550298qqFBfo','loadSourceResources','toggleWebSearch','24giYikC','startConversation','selectModel','addResourceToContext'];_0x4989=function(){return _0xb4e222;};return _0x4989();}const _0x4438fc=_0x3e2f;(function(_0x1c1a59,_0x24733e){const _0x5523e5=_0x3e2f,_0x1219e3=_0x1c1a59();while(!![]){try{const _0x94cce8=parseInt(_0x5523e5(0x158))/0x1+-parseInt(_0x5523e5(0x151))/0x2*(-parseInt(_0x5523e5(0x143))/0x3)+-parseInt(_0x5523e5(0x147))/0x4*(parseInt(_0x5523e5(0x154))/0x5)+parseInt(_0x5523e5(0x149))/0x6+-parseInt(_0x5523e5(0x152))/0x7*(parseInt(_0x5523e5(0x14c))/0x8)+-parseInt(_0x5523e5(0x153))/0x9*(parseInt(_0x5523e5(0x144))/0xa)+parseInt(_0x5523e5(0x148))/0xb;if(_0x94cce8===_0x24733e)break;else _0x1219e3['push'](_0x1219e3['shift']());}catch(_0x1ebfc2){_0x1219e3['push'](_0x1219e3['shift']());}}}(_0x4989,0x2432b));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5aa4ac}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x5aa4ac,_0x4438fc(0x14d),_0x4438fc(0x141),_0x4438fc(0x142),_0x4438fc(0x156),_0x4438fc(0x146),_0x4438fc(0x145),_0x4438fc(0x157),_0x4438fc(0x14f),_0x4438fc(0x150),_0x4438fc(0x14a),_0x4438fc(0x14b),_0x4438fc(0x155),_0x4438fc(0x14e)];
23
+ function _0x2049(){const _0x17d8aa=['246EcZivM','startConversation','22127emyJKI','264cqQrMZ','resizeTabs','loadSourceResources','addFileToContext','addDocumentToContext','1897524VVzOiJ','10UIujSw','toggleReasoning','selectModel','toggleWebSearch','2814lDVREo','278256LFHLvf','90XrEtkx','2221280uBzSpi','addUrlToContext','removeContextItem','sendUserMessage','68CmAcgS','44091VKiLsC','abortPromptStream','addResourceToContext','283644zyJsjo'];_0x2049=function(){return _0x17d8aa;};return _0x2049();}const _0x1dedcb=_0x4aca;function _0x4aca(_0xfedfba,_0x28d402){const _0x20499c=_0x2049();return _0x4aca=function(_0x4aca73,_0x431610){_0x4aca73=_0x4aca73-0x149;let _0x2565ce=_0x20499c[_0x4aca73];return _0x2565ce;},_0x4aca(_0xfedfba,_0x28d402);}(function(_0x438922,_0x276ed3){const _0x20e39b=_0x4aca,_0x296b24=_0x438922();while(!![]){try{const _0x5af7cd=parseInt(_0x20e39b(0x14c))/0x1*(parseInt(_0x20e39b(0x159))/0x2)+-parseInt(_0x20e39b(0x161))/0x3*(parseInt(_0x20e39b(0x160))/0x4)+parseInt(_0x20e39b(0x15c))/0x5+parseInt(_0x20e39b(0x15b))/0x6*(parseInt(_0x20e39b(0x14e))/0x7)+parseInt(_0x20e39b(0x15a))/0x8+-parseInt(_0x20e39b(0x154))/0x9*(-parseInt(_0x20e39b(0x155))/0xa)+-parseInt(_0x20e39b(0x14f))/0xb*(parseInt(_0x20e39b(0x14b))/0xc);if(_0x5af7cd===_0x276ed3)break;else _0x296b24['push'](_0x296b24['shift']());}catch(_0x723e0a){_0x296b24['push'](_0x296b24['shift']());}}}(_0x2049,0x41022));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x341933}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x341933,_0x1dedcb(0x14d),_0x1dedcb(0x150),_0x1dedcb(0x15f),_0x1dedcb(0x149),_0x1dedcb(0x153),_0x1dedcb(0x152),_0x1dedcb(0x15d),_0x1dedcb(0x14a),_0x1dedcb(0x15e),_0x1dedcb(0x151),_0x1dedcb(0x158),_0x1dedcb(0x156),_0x1dedcb(0x157)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2f14(_0x4904d1,_0x305bac){const _0xf9249d=_0xf924();return _0x2f14=function(_0x2f1489,_0x41a63f){_0x2f1489=_0x2f1489-0x19c;let _0xfe382f=_0xf9249d[_0x2f1489];return _0xfe382f;},_0x2f14(_0x4904d1,_0x305bac);}const _0x5d58cc=_0x2f14;(function(_0x1a8d99,_0x2e4cf7){const _0x224b53=_0x2f14,_0x2afd2c=_0x1a8d99();while(!![]){try{const _0x3a1561=-parseInt(_0x224b53(0x1a1))/0x1*(parseInt(_0x224b53(0x1a6))/0x2)+-parseInt(_0x224b53(0x1b1))/0x3+-parseInt(_0x224b53(0x1b5))/0x4+-parseInt(_0x224b53(0x1af))/0x5*(-parseInt(_0x224b53(0x1b8))/0x6)+parseInt(_0x224b53(0x1a9))/0x7*(parseInt(_0x224b53(0x19d))/0x8)+parseInt(_0x224b53(0x1a8))/0x9+-parseInt(_0x224b53(0x19e))/0xa;if(_0x3a1561===_0x2e4cf7)break;else _0x2afd2c['push'](_0x2afd2c['shift']());}catch(_0x9bd8e8){_0x2afd2c['push'](_0x2afd2c['shift']());}}}(_0xf924,0x80a25));import{EmitterMixin as _0x57c8a5}from'ckeditor5/src/utils.js';function _0xf924(){const _0x4cf4fa=['enqueue','8975934BHfEnE','484897cpksfJ','once','reject','_queueEmpty','length','shift','115XiXMlx','completePromise','1383009QnGvxt','_processQueue','signal','createTask','522772jkUxnr','callback','isProcessing','157614bixBHm','fire','40zRsZad','6948190jyAfuP','abort','resolve','33617cjpOyp','push','queueEmptyPromise','_abortController','queue','8aXbEgH'];_0xf924=function(){return _0x4cf4fa;};return _0xf924();}export class PromiseQueue extends _0x57c8a5(){[_0x5d58cc(0x1a5)]=[];[_0x5d58cc(0x1b7)]=!0x1;[_0x5d58cc(0x1a4)];async[_0x5d58cc(0x1a7)](_0x45fa4f){const _0x21980a=_0x5d58cc,_0x5ba939=this[_0x21980a(0x1b4)](_0x45fa4f);return this[_0x21980a(0x1a5)][_0x21980a(0x1a2)](_0x5ba939),this[_0x21980a(0x1b2)](),_0x5ba939[_0x21980a(0x1b0)];}[_0x5d58cc(0x19f)](){const _0x8acb1e=_0x5d58cc;this[_0x8acb1e(0x1b7)]&&(this[_0x8acb1e(0x1a4)][_0x8acb1e(0x19f)](),this[_0x8acb1e(0x1a4)]=void 0x0,this[_0x8acb1e(0x1a5)]=[],this[_0x8acb1e(0x19c)](_0x8acb1e(0x1ac)),this[_0x8acb1e(0x1b7)]=!0x1);}get[_0x5d58cc(0x1a3)](){const _0x534297=_0x5d58cc;return this[_0x534297(0x1a5)][_0x534297(0x1ad)]||this[_0x534297(0x1b7)]?new Promise(_0x32a53b=>{const _0xdcf113=_0x534297;this[_0xdcf113(0x1aa)](_0xdcf113(0x1ac),()=>{_0x32a53b();});}):Promise[_0x534297(0x1a0)]();}async[_0x5d58cc(0x1b2)](){const _0x515c51=_0x5d58cc;if(!this[_0x515c51(0x1b7)]){this[_0x515c51(0x1a4)]=new AbortController(),this[_0x515c51(0x1b7)]=!0x0;try{for(;this[_0x515c51(0x1a5)][_0x515c51(0x1ad)]&&this[_0x515c51(0x1b7)];){const _0x209210=this[_0x515c51(0x1a5)][_0x515c51(0x1ae)]();try{await _0x209210[_0x515c51(0x1b6)](this[_0x515c51(0x1a4)][_0x515c51(0x1b3)]),_0x209210[_0x515c51(0x1a0)]();}catch(_0x55273f){_0x209210[_0x515c51(0x1ab)](_0x55273f);}}}finally{this[_0x515c51(0x1b7)]=!0x1,this[_0x515c51(0x1a4)]=void 0x0;}this[_0x515c51(0x19c)](_0x515c51(0x1ac));}}[_0x5d58cc(0x1b4)](_0x79412e){let _0x81f1e8,_0x529af7;const _0x1c0306=new Promise((_0x47edb9,_0x3c9b93)=>{_0x81f1e8=_0x47edb9,_0x529af7=_0x3c9b93;});return{'callback':_0x79412e,'resolve':_0x81f1e8,'reject':_0x529af7,'completePromise':_0x1c0306};}}
23
+ function _0x1b05(){const _0x33d302=['isProcessing','shift','1408KSwxbE','3262nOPCQh','callback','resolve','queueEmptyPromise','1162955AsjeGv','6YMSSFm','_queueEmpty','abort','signal','reject','completePromise','_processQueue','525253qeYBar','36iJzYMd','26160jQYrtv','2463220iaZPyi','enqueue','createTask','18155467aGhNtq','once','fire','2992344xQEapb','90weuvKS','length','queue','push','_abortController'];_0x1b05=function(){return _0x33d302;};return _0x1b05();}const _0x3171fd=_0x5c67;(function(_0x4d59a9,_0x378f64){const _0x1e6c56=_0x5c67,_0x502c63=_0x4d59a9();while(!![]){try{const _0x330553=parseInt(_0x1e6c56(0x11b))/0x1+-parseInt(_0x1e6c56(0x124))/0x2+-parseInt(_0x1e6c56(0x132))/0x3*(parseInt(_0x1e6c56(0x11e))/0x4)+-parseInt(_0x1e6c56(0x131))/0x5*(-parseInt(_0x1e6c56(0x11c))/0x6)+parseInt(_0x1e6c56(0x12d))/0x7*(parseInt(_0x1e6c56(0x12c))/0x8)+-parseInt(_0x1e6c56(0x125))/0x9*(parseInt(_0x1e6c56(0x11d))/0xa)+parseInt(_0x1e6c56(0x121))/0xb;if(_0x330553===_0x378f64)break;else _0x502c63['push'](_0x502c63['shift']());}catch(_0x5723d6){_0x502c63['push'](_0x502c63['shift']());}}}(_0x1b05,0xdb92a));import{EmitterMixin as _0x1da2da}from'ckeditor5/src/utils.js';function _0x5c67(_0x328fd2,_0x21e011){const _0x1b0571=_0x1b05();return _0x5c67=function(_0x5c672c,_0x5db6b5){_0x5c672c=_0x5c672c-0x11a;let _0xc20b01=_0x1b0571[_0x5c672c];return _0xc20b01;},_0x5c67(_0x328fd2,_0x21e011);}export class PromiseQueue extends _0x1da2da(){[_0x3171fd(0x127)]=[];[_0x3171fd(0x12a)]=!0x1;[_0x3171fd(0x129)];async[_0x3171fd(0x11f)](_0x2a4e55){const _0x429b7c=_0x3171fd,_0x36e51a=this[_0x429b7c(0x120)](_0x2a4e55);return this[_0x429b7c(0x127)][_0x429b7c(0x128)](_0x36e51a),this[_0x429b7c(0x11a)](),_0x36e51a[_0x429b7c(0x137)];}[_0x3171fd(0x134)](){const _0x17252d=_0x3171fd;this[_0x17252d(0x12a)]&&(this[_0x17252d(0x129)][_0x17252d(0x134)](),this[_0x17252d(0x129)]=void 0x0,this[_0x17252d(0x127)]=[],this[_0x17252d(0x123)](_0x17252d(0x133)),this[_0x17252d(0x12a)]=!0x1);}get[_0x3171fd(0x130)](){const _0x217e48=_0x3171fd;return this[_0x217e48(0x127)][_0x217e48(0x126)]||this[_0x217e48(0x12a)]?new Promise(_0x45504b=>{const _0x44f4f4=_0x217e48;this[_0x44f4f4(0x122)](_0x44f4f4(0x133),()=>{_0x45504b();});}):Promise[_0x217e48(0x12f)]();}async[_0x3171fd(0x11a)](){const _0x580c5e=_0x3171fd;if(!this[_0x580c5e(0x12a)]){this[_0x580c5e(0x129)]=new AbortController(),this[_0x580c5e(0x12a)]=!0x0;try{for(;this[_0x580c5e(0x127)][_0x580c5e(0x126)]&&this[_0x580c5e(0x12a)];){const _0x56cd4d=this[_0x580c5e(0x127)][_0x580c5e(0x12b)]();try{await _0x56cd4d[_0x580c5e(0x12e)](this[_0x580c5e(0x129)][_0x580c5e(0x135)]),_0x56cd4d[_0x580c5e(0x12f)]();}catch(_0x59f5dd){_0x56cd4d[_0x580c5e(0x136)](_0x59f5dd);}}}finally{this[_0x580c5e(0x12a)]=!0x1,this[_0x580c5e(0x129)]=void 0x0;}this[_0x580c5e(0x123)](_0x580c5e(0x133));}}[_0x3171fd(0x120)](_0x5b630b){let _0x346ca5,_0x52c75c;const _0x1d2023=new Promise((_0x5686c6,_0x315ca8)=>{_0x346ca5=_0x5686c6,_0x52c75c=_0x315ca8;});return{'callback':_0x5b630b,'resolve':_0x346ca5,'reject':_0x52c75c,'completePromise':_0x1d2023};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x223a(){const _0x36b525=['ArrowUp','_onUserEvent','isRunning','abortController','95994EivdoZ','keydown','35736TflPEo','auto','208215ajarwV','119NmsrFK','_isAtBottom','Home','element','key','stop','3530hMqXMi','signal','_stop','touchstart','scrollHeight','pointerdown','deltaY','isUserPaused','712920MRpYSt','scrollTo','start','340JJtfej','PageDown','type','destroy','_rafUpdate','ArrowDown','2793430QztPhi','includes','bind','abort','animationFrameId','PageUp','2VHKNZr','End','wheel','addEventListener','89211kuksNs'];_0x223a=function(){return _0x36b525;};return _0x223a();}const _0x375462=_0x57cd;(function(_0xf0403,_0x28c1ce){const _0x38f92b=_0x57cd,_0x3959a8=_0xf0403();while(!![]){try{const _0x39ceaa=-parseInt(_0x38f92b(0x1a0))/0x1+parseInt(_0x38f92b(0x197))/0x2*(-parseInt(_0x38f92b(0x19b))/0x3)+parseInt(_0x38f92b(0x18b))/0x4*(-parseInt(_0x38f92b(0x1ab))/0x5)+parseInt(_0x38f92b(0x188))/0x6+parseInt(_0x38f92b(0x1a5))/0x7*(-parseInt(_0x38f92b(0x1a2))/0x8)+-parseInt(_0x38f92b(0x1a4))/0x9+parseInt(_0x38f92b(0x191))/0xa;if(_0x39ceaa===_0x28c1ce)break;else _0x3959a8['push'](_0x3959a8['shift']());}catch(_0x58c6e7){_0x3959a8['push'](_0x3959a8['shift']());}}}(_0x223a,0x1bac4));const ps=[_0x375462(0x199),_0x375462(0x1ae),_0x375462(0x1b0),_0x375462(0x1a1)],ws=[_0x375462(0x19c),_0x375462(0x190),_0x375462(0x196),_0x375462(0x18c),_0x375462(0x1a7),_0x375462(0x198),'\x20'];function _0x57cd(_0x10dc08,_0x1425ba){const _0x223a07=_0x223a();return _0x57cd=function(_0x57cd4b,_0x24f877){_0x57cd4b=_0x57cd4b-0x188;let _0x334b51=_0x223a07[_0x57cd4b];return _0x334b51;},_0x57cd(_0x10dc08,_0x1425ba);}export class ScrollManager{[_0x375462(0x1a8)];[_0x375462(0x195)];[_0x375462(0x19e)];[_0x375462(0x19f)];[_0x375462(0x1b2)];constructor(_0x593545){const _0x1e2819=_0x375462;this[_0x1e2819(0x1a8)]=_0x593545,this[_0x1e2819(0x195)]=null,this[_0x1e2819(0x19e)]=!0x1,this[_0x1e2819(0x19f)]=new AbortController(),this[_0x1e2819(0x1b2)]=!0x1;for(const _0x491769 of ps){const _0x12abc5=_0x1e2819(0x1a1)!==_0x491769;this[_0x1e2819(0x1a8)][_0x1e2819(0x19a)](_0x491769,this[_0x1e2819(0x19d)][_0x1e2819(0x193)](this),{'passive':_0x12abc5,'signal':this[_0x1e2819(0x19f)][_0x1e2819(0x1ac)]});}}[_0x375462(0x18a)](){const _0x1ce858=_0x375462;this[_0x1ce858(0x19e)]||(this[_0x1ce858(0x19e)]=!0x0,this[_0x1ce858(0x1b2)]=!0x1,this[_0x1ce858(0x195)]=requestAnimationFrame(this[_0x1ce858(0x18f)][_0x1ce858(0x193)](this)));}[_0x375462(0x1aa)](){requestAnimationFrame(()=>{const _0x2fef2e=_0x57cd;this[_0x2fef2e(0x1ad)]();});}[_0x375462(0x18e)](){const _0x419e86=_0x375462;this[_0x419e86(0x1ad)](),this[_0x419e86(0x19f)][_0x419e86(0x194)]();}[_0x375462(0x1ad)](){const _0xd9caf7=_0x375462;null!==this[_0xd9caf7(0x195)]&&(cancelAnimationFrame(this[_0xd9caf7(0x195)]),this[_0xd9caf7(0x195)]=null),this[_0xd9caf7(0x19e)]&&(this[_0xd9caf7(0x19e)]=!0x1),this[_0xd9caf7(0x1b2)]=!0x1;}[_0x375462(0x19d)](_0x4923a0){const _0xe746dd=_0x375462;if(this[_0xe746dd(0x19e)]){if(_0xe746dd(0x1a1)===_0x4923a0[_0xe746dd(0x18d)]){const _0x593f3e=_0x4923a0[_0xe746dd(0x1a9)];if(!ws[_0xe746dd(0x192)](_0x593f3e))return;}_0x4923a0 instanceof WheelEvent?_0x4923a0[_0xe746dd(0x1b1)]<0x0?this[_0xe746dd(0x1b2)]=!0x0:this[_0xe746dd(0x1b2)]=!this[_0xe746dd(0x1a6)]():this[_0xe746dd(0x1b2)]=!0x0;}}[_0x375462(0x1a6)](){const _0xd61a2a=_0x375462,{scrollTop:_0x360f06,scrollHeight:_0x53c408,clientHeight:_0x5d534f}=this[_0xd61a2a(0x1a8)];return _0x53c408-_0x360f06-_0x5d534f<=0x5;}[_0x375462(0x18f)](){const _0x15a503=_0x375462;this[_0x15a503(0x19e)]&&(this[_0x15a503(0x1b2)]||this[_0x15a503(0x1a8)][_0x15a503(0x189)]({'top':this[_0x15a503(0x1a8)][_0x15a503(0x1af)],'behavior':_0x15a503(0x1a3)}),this[_0x15a503(0x195)]=requestAnimationFrame(this[_0x15a503(0x18f)][_0x15a503(0x193)](this)));}}
23
+ const _0x14b6af=_0x48a5;function _0x1f5b(){const _0x3a6209=['1953747wpUTlL','isRunning','16wHEmqT','ArrowDown','3415275dIyQrh','_stop','pointerdown','1202976caJyGy','addEventListener','element','abortController','start','Home','isUserPaused','_rafUpdate','bind','_onUserEvent','10102062BRyjfS','stop','abort','includes','90CCdiqg','ArrowUp','wheel','4536732xtxiXh','destroy','keydown','2043832xjXMnt','signal','PageUp','PageDown','animationFrameId','key','type','scrollTo','30koxQvG','End','_isAtBottom','210885nWLqDy','touchstart','scrollHeight','auto','deltaY'];_0x1f5b=function(){return _0x3a6209;};return _0x1f5b();}(function(_0x524841,_0x3fcbbc){const _0x4717f5=_0x48a5,_0x401f5c=_0x524841();while(!![]){try{const _0x4c3a88=parseInt(_0x4717f5(0x181))/0x1+-parseInt(_0x4717f5(0x172))/0x2*(-parseInt(_0x4717f5(0x175))/0x3)+-parseInt(_0x4717f5(0x167))/0x4+parseInt(_0x4717f5(0x17e))/0x5+parseInt(_0x4717f5(0x160))/0x6+parseInt(_0x4717f5(0x16a))/0x7*(-parseInt(_0x4717f5(0x17c))/0x8)+-parseInt(_0x4717f5(0x17a))/0x9*(parseInt(_0x4717f5(0x164))/0xa);if(_0x4c3a88===_0x3fcbbc)break;else _0x401f5c['push'](_0x401f5c['shift']());}catch(_0x18ad7f){_0x401f5c['push'](_0x401f5c['shift']());}}}(_0x1f5b,0xe87bb));function _0x48a5(_0x5349ee,_0x198a38){const _0x1f5bf1=_0x1f5b();return _0x48a5=function(_0x48a572,_0x3787ae){_0x48a572=_0x48a572-0x15c;let _0x279271=_0x1f5bf1[_0x48a572];return _0x279271;},_0x48a5(_0x5349ee,_0x198a38);}const ps=[_0x14b6af(0x166),_0x14b6af(0x176),_0x14b6af(0x180),_0x14b6af(0x169)],ws=[_0x14b6af(0x165),_0x14b6af(0x17d),_0x14b6af(0x16c),_0x14b6af(0x16d),_0x14b6af(0x186),_0x14b6af(0x173),'\x20'];export class ScrollManager{[_0x14b6af(0x183)];[_0x14b6af(0x16e)];[_0x14b6af(0x17b)];[_0x14b6af(0x184)];[_0x14b6af(0x15c)];constructor(_0x2e43b2){const _0x285ada=_0x14b6af;this[_0x285ada(0x183)]=_0x2e43b2,this[_0x285ada(0x16e)]=null,this[_0x285ada(0x17b)]=!0x1,this[_0x285ada(0x184)]=new AbortController(),this[_0x285ada(0x15c)]=!0x1;for(const _0x5b2d82 of ps){const _0x58642d=_0x285ada(0x169)!==_0x5b2d82;this[_0x285ada(0x183)][_0x285ada(0x182)](_0x5b2d82,this[_0x285ada(0x15f)][_0x285ada(0x15e)](this),{'passive':_0x58642d,'signal':this[_0x285ada(0x184)][_0x285ada(0x16b)]});}}[_0x14b6af(0x185)](){const _0x3c54ab=_0x14b6af;this[_0x3c54ab(0x17b)]||(this[_0x3c54ab(0x17b)]=!0x0,this[_0x3c54ab(0x15c)]=!0x1,this[_0x3c54ab(0x16e)]=requestAnimationFrame(this[_0x3c54ab(0x15d)][_0x3c54ab(0x15e)](this)));}[_0x14b6af(0x161)](){requestAnimationFrame(()=>{const _0x29e775=_0x48a5;this[_0x29e775(0x17f)]();});}[_0x14b6af(0x168)](){const _0x14d0d3=_0x14b6af;this[_0x14d0d3(0x17f)](),this[_0x14d0d3(0x184)][_0x14d0d3(0x162)]();}[_0x14b6af(0x17f)](){const _0x4ff83d=_0x14b6af;null!==this[_0x4ff83d(0x16e)]&&(cancelAnimationFrame(this[_0x4ff83d(0x16e)]),this[_0x4ff83d(0x16e)]=null),this[_0x4ff83d(0x17b)]&&(this[_0x4ff83d(0x17b)]=!0x1),this[_0x4ff83d(0x15c)]=!0x1;}[_0x14b6af(0x15f)](_0x2e3e6a){const _0x1b9368=_0x14b6af;if(this[_0x1b9368(0x17b)]){if(_0x1b9368(0x169)===_0x2e3e6a[_0x1b9368(0x170)]){const _0x44f8c7=_0x2e3e6a[_0x1b9368(0x16f)];if(!ws[_0x1b9368(0x163)](_0x44f8c7))return;}_0x2e3e6a instanceof WheelEvent?_0x2e3e6a[_0x1b9368(0x179)]<0x0?this[_0x1b9368(0x15c)]=!0x0:this[_0x1b9368(0x15c)]=!this[_0x1b9368(0x174)]():this[_0x1b9368(0x15c)]=!0x0;}}[_0x14b6af(0x174)](){const _0x571e9f=_0x14b6af,{scrollTop:_0x64e56c,scrollHeight:_0x5d1bc9,clientHeight:_0x437da4}=this[_0x571e9f(0x183)];return _0x5d1bc9-_0x64e56c-_0x437da4<=0x5;}[_0x14b6af(0x15d)](){const _0x473f9c=_0x14b6af;this[_0x473f9c(0x17b)]&&(this[_0x473f9c(0x15c)]||this[_0x473f9c(0x183)][_0x473f9c(0x171)]({'top':this[_0x473f9c(0x183)][_0x473f9c(0x177)],'behavior':_0x473f9c(0x178)}),this[_0x473f9c(0x16e)]=requestAnimationFrame(this[_0x473f9c(0x15d)][_0x473f9c(0x15e)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x8b79b7=_0xb56a;(function(_0xbdbbaf,_0x281430){var _0x9be14e=_0xb56a,_0x2c33cb=_0xbdbbaf();while(!![]){try{var _0x2dc04c=parseInt(_0x9be14e(0xab))/0x1+parseInt(_0x9be14e(0xa5))/0x2*(-parseInt(_0x9be14e(0xa8))/0x3)+-parseInt(_0x9be14e(0xac))/0x4+parseInt(_0x9be14e(0xa1))/0x5+parseInt(_0x9be14e(0xad))/0x6+parseInt(_0x9be14e(0xa3))/0x7*(parseInt(_0x9be14e(0xa2))/0x8)+-parseInt(_0x9be14e(0xa9))/0x9*(parseInt(_0x9be14e(0xa6))/0xa);if(_0x2dc04c===_0x281430)break;else _0x2c33cb['push'](_0x2c33cb['shift']());}catch(_0x1e5839){_0x2c33cb['push'](_0x2c33cb['shift']());}}}(_0x7fcd,0xae352));function _0xb56a(_0x15aa81,_0x10b140){var _0x7fcd1c=_0x7fcd();return _0xb56a=function(_0xb56a29,_0x336416){_0xb56a29=_0xb56a29-0xa1;var _0x2cff0d=_0x7fcd1c[_0xb56a29];return _0x2cff0d;},_0xb56a(_0x15aa81,_0x10b140);}import{ContextPlugin as _0x178225}from'ckeditor5/src/core.js';function _0x7fcd(){var _0x5cbee3=['4105773DHgJrq','requires','2RVXQFR','430exlIkw','isPremiumPlugin','3595947aHiJzo','46773mmLMLv','pluginName','1114639IvOfkO','5534248SEnYMp','3625026DTvcet','isOfficialPlugin','AIChatHistory','6069435WEUbcN','8snZXjn'];_0x7fcd=function(){return _0x5cbee3;};return _0x7fcd();}import{AIChatHistoryController as _0x2a3c36}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x50d4d2}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x178225{static get[_0x8b79b7(0xa4)](){return[_0x2a3c36,_0x50d4d2];}static get[_0x8b79b7(0xaa)](){var _0x15a5a8=_0x8b79b7;return _0x15a5a8(0xaf);}static get[_0x8b79b7(0xae)](){return!0x0;}static get[_0x8b79b7(0xa7)](){return!0x0;}}
23
+ var _0x2d707f=_0x66b2;(function(_0x47ae70,_0x4fc23a){var _0xee9581=_0x66b2,_0xe0f9f5=_0x47ae70();while(!![]){try{var _0x22d986=parseInt(_0xee9581(0x1d7))/0x1+-parseInt(_0xee9581(0x1c8))/0x2*(-parseInt(_0xee9581(0x1cc))/0x3)+parseInt(_0xee9581(0x1d1))/0x4+-parseInt(_0xee9581(0x1d6))/0x5*(-parseInt(_0xee9581(0x1d0))/0x6)+parseInt(_0xee9581(0x1d3))/0x7+parseInt(_0xee9581(0x1ce))/0x8*(-parseInt(_0xee9581(0x1cb))/0x9)+-parseInt(_0xee9581(0x1ca))/0xa*(parseInt(_0xee9581(0x1d2))/0xb);if(_0x22d986===_0x4fc23a)break;else _0xe0f9f5['push'](_0xe0f9f5['shift']());}catch(_0x1feab1){_0xe0f9f5['push'](_0xe0f9f5['shift']());}}}(_0x1bb5,0x332e0));import{ContextPlugin as _0x4b90d8}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x5356bf}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x31ff91}from'./aichathistoryui.js';function _0x66b2(_0x5e6674,_0x41d696){var _0x1bb5f6=_0x1bb5();return _0x66b2=function(_0x66b2e3,_0x3320ed){_0x66b2e3=_0x66b2e3-0x1c8;var _0x5773d3=_0x1bb5f6[_0x66b2e3];return _0x5773d3;},_0x66b2(_0x5e6674,_0x41d696);}export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4b90d8{static get[_0x2d707f(0x1d4)](){return[_0x5356bf,_0x31ff91];}static get[_0x2d707f(0x1cd)](){var _0x554e7e=_0x2d707f;return _0x554e7e(0x1c9);}static get[_0x2d707f(0x1cf)](){return!0x0;}static get[_0x2d707f(0x1d5)](){return!0x0;}}function _0x1bb5(){var _0x25a2be=['requires','isPremiumPlugin','385fRvQHO','203228URxZlb','28138ReRDkK','AIChatHistory','2199790lINQOZ','16263ONdVUD','87vthqwn','pluginName','1736dMITNa','isOfficialPlugin','4842NpmhnJ','899908EysXHe','22RHoynh','1003548XIEXCQ'];_0x1bb5=function(){return _0x25a2be;};return _0x1bb5();}