@ckeditor/ckeditor5-ai 47.4.0-alpha.4 → 47.4.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  208. package/src/aichat/utils/eventnames.js +1 -1
  209. package/src/aichat/utils/promisequeue.js +1 -1
  210. package/src/aichathistory/aichathistory.js +1 -1
  211. package/src/aichathistory/aichathistorycontroller.js +1 -1
  212. package/src/aichathistory/aichathistoryui.js +1 -1
  213. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  214. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  215. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  216. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  217. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  219. package/src/aicore/aiconnector.js +1 -1
  220. package/src/aicore/aiediting.js +1 -1
  221. package/src/aicore/model/aicapabilities.js +1 -1
  222. package/src/aicore/model/aicontext.js +1 -1
  223. package/src/aicore/model/aiinteraction.js +1 -1
  224. package/src/aicore/model/aimodels.js +1 -1
  225. package/src/aicore/model/aireply.js +1 -1
  226. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  227. package/src/aicore/pipeline/airesponseparser.js +2 -2
  228. package/src/aicore/ui/aidisclaimerview.js +1 -1
  229. package/src/aicore/ui/aiskeleton.js +1 -1
  230. package/src/aicore/ui/aispinner.js +1 -1
  231. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  232. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  236. package/src/aicore/utils/common-translations.js +1 -1
  237. package/src/aicore/utils/createresizebutton.js +1 -1
  238. package/src/aicore/utils/documentposition.js +1 -1
  239. package/src/aicore/utils/documentrange.js +1 -1
  240. package/src/aicore/utils/eventnames.js +1 -1
  241. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  242. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  243. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  244. package/src/aicore/utils/htmlparser.js +1 -1
  245. package/src/aicore/utils/htmlstreamer.js +1 -1
  246. package/src/aicore/utils/scrollmanager.js +1 -1
  247. package/src/aieditorintegration/aieditorintegration.js +1 -1
  248. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  250. package/src/aiquickactions/aiquickactions.js +1 -1
  251. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  252. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  253. package/src/aiquickactions/aiquickactionsui.js +1 -1
  254. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  258. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  259. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  260. package/src/aireviewmode/aireviewmode.js +1 -1
  261. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  262. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  263. package/src/aireviewmode/aireviewmodeui.js +1 -1
  264. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  266. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  270. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  271. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  272. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  283. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  285. package/src/aitabs/aitabs.js +1 -1
  286. package/src/aitabs/aitabsmainview.js +1 -1
  287. package/src/aitabs/tabs/aitabsview.js +1 -1
  288. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  289. package/src/aitabs/tabs/tabpanelview.js +1 -1
  290. package/src/errors.js +1 -1
  291. package/src/errorsmap.js +1 -1
  292. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1090b2=_0x294e;(function(_0xbcee7c,_0x2dfdf4){const _0xc4bb04=_0x294e,_0x2478ad=_0xbcee7c();while(!![]){try{const _0x566314=parseInt(_0xc4bb04(0x173))/0x1+parseInt(_0xc4bb04(0x167))/0x2*(parseInt(_0xc4bb04(0x14b))/0x3)+parseInt(_0xc4bb04(0x16e))/0x4*(-parseInt(_0xc4bb04(0x15b))/0x5)+parseInt(_0xc4bb04(0x17f))/0x6+parseInt(_0xc4bb04(0x155))/0x7*(parseInt(_0xc4bb04(0x149))/0x8)+parseInt(_0xc4bb04(0x174))/0x9+parseInt(_0xc4bb04(0x154))/0xa*(-parseInt(_0xc4bb04(0x180))/0xb);if(_0x566314===_0x2dfdf4)break;else _0x2478ad['push'](_0x2478ad['shift']());}catch(_0x33488b){_0x2478ad['push'](_0x2478ad['shift']());}}}(_0x3a5b,0x302fc));import{BalloonPanelView as _0x4c7eb7,ButtonView as _0x30be56,clickOutsideHandler as _0x23e168,FormHeaderView as _0x35b3e7}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x3188a7}from'@ckeditor/ckeditor5-icons';function _0x294e(_0x11c3ff,_0x3724d9){const _0x3a5b51=_0x3a5b();return _0x294e=function(_0x294e6b,_0x514137){_0x294e6b=_0x294e6b-0x143;let _0x32d8d3=_0x3a5b51[_0x294e6b];return _0x32d8d3;},_0x294e(_0x11c3ff,_0x3724d9);}import{getTranslation as _0x8da239}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x66baeb}from'./aichatcontextresourcesview.js';const Nr=_0x1090b2(0x170),Xr=_0x1090b2(0x16d),Kr=_0x1090b2(0x179);export class AIChatResourcesBalloonView{[_0x1090b2(0x165)]=new Map();[_0x1090b2(0x175)];[_0x1090b2(0x158)];[_0x1090b2(0x160)];constructor(_0x38d3d2,_0x6478c6,_0x121c2a){const _0x5240aa=_0x1090b2;this[_0x5240aa(0x158)]=_0x38d3d2,this[_0x5240aa(0x175)]=_0x6478c6,this[_0x5240aa(0x160)]=_0x121c2a;}[_0x1090b2(0x148)](_0x200a63){const _0x2a5d33=_0x1090b2;let _0x460685=this[_0x2a5d33(0x165)][_0x2a5d33(0x16a)](_0x200a63['id']);_0x460685||(_0x460685=this[_0x2a5d33(0x150)](),this[_0x2a5d33(0x165)][_0x2a5d33(0x14e)](_0x200a63['id'],_0x460685),this[_0x2a5d33(0x145)](_0x460685)),this[_0x2a5d33(0x17c)](_0x460685,_0x200a63),_0x460685[_0x2a5d33(0x157)]();const _0x101c75=this[_0x2a5d33(0x160)][_0x2a5d33(0x14c)]();_0x101c75&&_0x460685[_0x2a5d33(0x17d)]({'target':_0x101c75,'limiter':this[_0x2a5d33(0x160)][_0x2a5d33(0x14d)]()});}[_0x1090b2(0x16c)](_0x55390c,_0x99c352,_0x102cf9){const _0x289bf3=_0x1090b2,_0x2da3ac=this[_0x289bf3(0x165)][_0x289bf3(0x16a)](_0x55390c);if(!_0x2da3ac)return;const _0xaea594=this[_0x289bf3(0x17a)](_0x2da3ac);_0xaea594&&(_0xaea594[_0x289bf3(0x15d)](_0x99c352,_0x102cf9),_0xaea594[_0x289bf3(0x14f)](_0x289bf3(0x156),()=>{const _0x5c56e5=_0x289bf3;_0x2da3ac[_0x5c56e5(0x17d)]({'target':this[_0x5c56e5(0x160)][_0x5c56e5(0x14c)](),'limiter':this[_0x5c56e5(0x160)][_0x5c56e5(0x14d)]()});}));}[_0x1090b2(0x17e)](_0x825e3c){const _0x467dcf=_0x1090b2,_0x89506f=this[_0x467dcf(0x165)][_0x467dcf(0x16a)](_0x825e3c);_0x89506f&&requestAnimationFrame(()=>{const _0x7f4057=_0x467dcf;_0x89506f[_0x7f4057(0x178)](),this[_0x7f4057(0x165)][_0x7f4057(0x162)](_0x825e3c),this[_0x7f4057(0x160)][_0x7f4057(0x171)]();});}[_0x1090b2(0x16b)](){const _0x2fa35a=_0x1090b2;for(const _0x48b71e of this[_0x2fa35a(0x165)][_0x2fa35a(0x152)]())if(_0x48b71e[_0x2fa35a(0x166)])return!0x0;return!0x1;}[_0x1090b2(0x164)](_0xa9006f,_0x5c6921,_0x2065c6){const _0x4621c3=_0x1090b2,_0x53a13b=this[_0x4621c3(0x165)][_0x4621c3(0x16a)](_0xa9006f);if(!_0x53a13b||!_0x53a13b[_0x4621c3(0x166)])return;const _0x187285=this[_0x4621c3(0x160)][_0x4621c3(0x14c)]();if(!_0x187285)return;_0x53a13b[_0x4621c3(0x17d)]({'target':_0x187285,'limiter':this[_0x4621c3(0x160)][_0x4621c3(0x14d)]()});const _0x260fee=this[_0x4621c3(0x17a)](_0x53a13b);_0x260fee&&_0x260fee[_0x4621c3(0x164)](_0x5c6921,_0x2065c6);}[_0x1090b2(0x15c)](){const _0x4485d8=_0x1090b2;for(const _0x4e86a0 of this[_0x4485d8(0x165)][_0x4485d8(0x152)]())_0x4e86a0[_0x4485d8(0x15c)]();this[_0x4485d8(0x165)][_0x4485d8(0x161)]();}[_0x1090b2(0x150)](){const _0x1534b2=_0x1090b2,_0x41da0c=new _0x4c7eb7(this[_0x1534b2(0x158)]);return _0x41da0c[_0x1534b2(0x17b)]({'attributes':{'class':Nr}}),this[_0x1534b2(0x175)][_0x1534b2(0x14a)](_0x41da0c),_0x41da0c;}[_0x1090b2(0x17c)](_0x25ca09,_0x42ecef){const _0x586076=_0x1090b2;_0x25ca09[_0x586076(0x168)][_0x586076(0x161)]();const _0x59d2c2=this[_0x586076(0x172)](_0x25ca09,_0x42ecef);_0x25ca09[_0x586076(0x168)][_0x586076(0x14a)](_0x59d2c2);const _0x3cf081=this[_0x586076(0x159)](_0x42ecef);_0x25ca09[_0x586076(0x168)][_0x586076(0x14a)](_0x3cf081);}[_0x1090b2(0x172)](_0x5b91f4,_0x119d46){const _0x235838=_0x1090b2,_0x2e6a61=this[_0x235838(0x176)](_0x5b91f4),_0x3d4241=new _0x35b3e7(this[_0x235838(0x158)],{'label':_0x119d46[_0x235838(0x147)],'class':Kr});return _0x3d4241[_0x235838(0x177)][_0x235838(0x14a)](_0x2e6a61,0x0),_0x3d4241;}[_0x1090b2(0x176)](_0x3bc546){const _0xe86aed=_0x1090b2,_0x1c1502=new _0x30be56(this[_0xe86aed(0x158)]);return _0x1c1502[_0xe86aed(0x14e)]({'icon':_0x3188a7,'tooltip':_0x8da239(this[_0xe86aed(0x158)],_0xe86aed(0x15e)),'tooltipPosition':'n','class':Xr}),_0x1c1502['on'](_0xe86aed(0x143),()=>{const _0x39426b=_0xe86aed;_0x3bc546[_0x39426b(0x178)](),this[_0x39426b(0x160)][_0x39426b(0x15a)]();}),_0x1c1502;}[_0x1090b2(0x159)](_0x41d3ea){const _0x55bfaf=_0x1090b2,_0x10aada=new _0x66baeb(this[_0x55bfaf(0x158)],{'source':_0x41d3ea,'searchInputVisibleFrom':this[_0x55bfaf(0x160)][_0x55bfaf(0x16f)]});return _0x10aada['on'](_0x55bfaf(0x153),(_0x528826,_0x38bbe8)=>{const _0x4e0574=_0x55bfaf;this[_0x4e0574(0x160)][_0x4e0574(0x146)](_0x38bbe8);}),_0x10aada['on'](_0x55bfaf(0x15f),(_0x31f2a8,_0x43c0bf)=>{const _0x3a0c29=_0x55bfaf;this[_0x3a0c29(0x160)][_0x3a0c29(0x169)](_0x43c0bf[_0x3a0c29(0x151)],_0x43c0bf[_0x3a0c29(0x163)]),this[_0x3a0c29(0x17e)](_0x41d3ea['id']);}),_0x10aada;}[_0x1090b2(0x17a)](_0x24e3d9){const _0x47928c=_0x1090b2,_0x2fd943=_0x24e3d9[_0x47928c(0x168)][_0x47928c(0x16a)](0x1);return _0x2fd943 instanceof _0x66baeb?_0x2fd943:null;}[_0x1090b2(0x145)](_0x143005){const _0x5c8c56=_0x1090b2;_0x23e168({'emitter':_0x143005,'contextElements':[_0x143005[_0x5c8c56(0x144)]],'callback':()=>{const _0x52917e=_0x5c8c56;_0x143005[_0x52917e(0x178)](),this[_0x52917e(0x160)][_0x52917e(0x171)]();},'activator':()=>_0x143005[_0x5c8c56(0x166)]});}}function _0x3a5b(){const _0x327ab0=['change:isLoading','show','_locale','_createBalloonResourcesView','onBackToContext','155FiSeYf','destroy','setResources','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','addResourceToContext','_config','clear','delete','resource','updateResourceState','_sourceResourceBalloons','isVisible','360408zaNKcc','content','onResourceSelected','get','isAnyResourceBalloonVisible','populateSourceResourceBalloon','ck-button-icon\x20ck-button-back','1544eDppTv','searchInputVisibleFrom','ck-ai-chat-context-controls__source-balloon-panel','onBalloonClosed','_createBalloonHeader','278964JZUeiC','1421145yzUAcs','_bodyCollection','_createBackButton','children','hide','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_getResourcesViewFromBalloon','extendTemplate','_addSourceResourceContent','pin','closeSourceResourceBalloon','158778QwPlfc','11Ustozm','execute','element','_setupSingleResourceBalloonClickOutsideHandler','onLoadSourceResources','label','showSourceResourcesBalloon','60136DDIuLv','add','6UxQPDA','getTargetElement','getLimiterElement','set','once','_createSourceResourceBalloonPanel','source','values','loadSourceResources','9150820WdwlaE','280CdoJrz'];_0x3a5b=function(){return _0x327ab0;};return _0x3a5b();}
23
+ function _0x227b(_0x5a8a91,_0x494488){const _0x598bd3=_0x598b();return _0x227b=function(_0x227ba4,_0x77385){_0x227ba4=_0x227ba4-0x87;let _0x5667ee=_0x598bd3[_0x227ba4];return _0x5667ee;},_0x227b(_0x5a8a91,_0x494488);}const _0x5b7ec2=_0x227b;function _0x598b(){const _0x16742a=['onBackToContext','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','822398xNanze','label','children','isVisible','onLoadSourceResources','_sourceResourceBalloons','1629762DVKqhe','onBalloonClosed','show','557565DpaPkX','_config','4145000buarbM','onResourceSelected','getLimiterElement','_addSourceResourceContent','populateSourceResourceBalloon','ck-ai-chat-context-controls__source-balloon-panel','change:isLoading','closeSourceResourceBalloon','isAnyResourceBalloonVisible','set','setResources','addResourceToContext','add','_locale','destroy','getTargetElement','_getResourcesViewFromBalloon','searchInputVisibleFrom','delete','_createBalloonHeader','values','element','pin','7212572oVcEXB','_createSourceResourceBalloonPanel','showSourceResourcesBalloon','extendTemplate','updateResourceState','clear','_createBackButton','12HZLsVS','ck-button-icon\x20ck-button-back','loadSourceResources','source','_bodyCollection','475823sRCiyQ','execute','_createBalloonResourcesView','8007706ABHTes','hide','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','once','resource','content','_setupSingleResourceBalloonClickOutsideHandler','get'];_0x598b=function(){return _0x16742a;};return _0x598b();}(function(_0x381a18,_0xf46bcb){const _0x10c6c2=_0x227b,_0x54d4e8=_0x381a18();while(!![]){try{const _0x33e0c0=parseInt(_0x10c6c2(0x91))/0x1+-parseInt(_0x10c6c2(0x9e))/0x2+-parseInt(_0x10c6c2(0xa4))/0x3+parseInt(_0x10c6c2(0xc0))/0x4+-parseInt(_0x10c6c2(0xa7))/0x5*(-parseInt(_0x10c6c2(0x8c))/0x6)+-parseInt(_0x10c6c2(0x94))/0x7+parseInt(_0x10c6c2(0xa9))/0x8;if(_0x33e0c0===_0xf46bcb)break;else _0x54d4e8['push'](_0x54d4e8['shift']());}catch(_0x392070){_0x54d4e8['push'](_0x54d4e8['shift']());}}}(_0x598b,0xe106a));import{BalloonPanelView as _0x410fcf,ButtonView as _0x417847,clickOutsideHandler as _0x581ac9,FormHeaderView as _0x2b32b5}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x54043c}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x297102}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x17fb64}from'./aichatcontextresourcesview.js';const Nr=_0x5b7ec2(0xae),Xr=_0x5b7ec2(0x8d),Kr=_0x5b7ec2(0x96);export class AIChatResourcesBalloonView{[_0x5b7ec2(0xa3)]=new Map();[_0x5b7ec2(0x90)];[_0x5b7ec2(0xb6)];[_0x5b7ec2(0xa8)];constructor(_0x1b9dfb,_0x5f47bf,_0x2fb488){const _0x342cb3=_0x5b7ec2;this[_0x342cb3(0xb6)]=_0x1b9dfb,this[_0x342cb3(0x90)]=_0x5f47bf,this[_0x342cb3(0xa8)]=_0x2fb488;}[_0x5b7ec2(0x87)](_0x4a9054){const _0x2fe907=_0x5b7ec2;let _0x3a7af4=this[_0x2fe907(0xa3)][_0x2fe907(0x9b)](_0x4a9054['id']);_0x3a7af4||(_0x3a7af4=this[_0x2fe907(0xc1)](),this[_0x2fe907(0xa3)][_0x2fe907(0xb2)](_0x4a9054['id'],_0x3a7af4),this[_0x2fe907(0x9a)](_0x3a7af4)),this[_0x2fe907(0xac)](_0x3a7af4,_0x4a9054),_0x3a7af4[_0x2fe907(0xa6)]();const _0x2ad822=this[_0x2fe907(0xa8)][_0x2fe907(0xb8)]();_0x2ad822&&_0x3a7af4[_0x2fe907(0xbf)]({'target':_0x2ad822,'limiter':this[_0x2fe907(0xa8)][_0x2fe907(0xab)]()});}[_0x5b7ec2(0xad)](_0x20751b,_0x99a6a4,_0x58378a){const _0x37d8bb=_0x5b7ec2,_0x5b1218=this[_0x37d8bb(0xa3)][_0x37d8bb(0x9b)](_0x20751b);if(!_0x5b1218)return;const _0x1a59b5=this[_0x37d8bb(0xb9)](_0x5b1218);_0x1a59b5&&(_0x1a59b5[_0x37d8bb(0xb3)](_0x99a6a4,_0x58378a),_0x1a59b5[_0x37d8bb(0x97)](_0x37d8bb(0xaf),()=>{const _0x35e957=_0x37d8bb;_0x5b1218[_0x35e957(0xbf)]({'target':this[_0x35e957(0xa8)][_0x35e957(0xb8)](),'limiter':this[_0x35e957(0xa8)][_0x35e957(0xab)]()});}));}[_0x5b7ec2(0xb0)](_0x526257){const _0x140020=_0x5b7ec2,_0x2140bb=this[_0x140020(0xa3)][_0x140020(0x9b)](_0x526257);_0x2140bb&&requestAnimationFrame(()=>{const _0xaf4531=_0x140020;_0x2140bb[_0xaf4531(0x95)](),this[_0xaf4531(0xa3)][_0xaf4531(0xbb)](_0x526257),this[_0xaf4531(0xa8)][_0xaf4531(0xa5)]();});}[_0x5b7ec2(0xb1)](){const _0x220a30=_0x5b7ec2;for(const _0x5d7bee of this[_0x220a30(0xa3)][_0x220a30(0xbd)]())if(_0x5d7bee[_0x220a30(0xa1)])return!0x0;return!0x1;}[_0x5b7ec2(0x89)](_0x678b16,_0x2c33a0,_0x3778ea){const _0x19bf7e=_0x5b7ec2,_0x3fa257=this[_0x19bf7e(0xa3)][_0x19bf7e(0x9b)](_0x678b16);if(!_0x3fa257||!_0x3fa257[_0x19bf7e(0xa1)])return;const _0x166136=this[_0x19bf7e(0xa8)][_0x19bf7e(0xb8)]();if(!_0x166136)return;_0x3fa257[_0x19bf7e(0xbf)]({'target':_0x166136,'limiter':this[_0x19bf7e(0xa8)][_0x19bf7e(0xab)]()});const _0x12987c=this[_0x19bf7e(0xb9)](_0x3fa257);_0x12987c&&_0x12987c[_0x19bf7e(0x89)](_0x2c33a0,_0x3778ea);}[_0x5b7ec2(0xb7)](){const _0x1d8e16=_0x5b7ec2;for(const _0x2ed6b2 of this[_0x1d8e16(0xa3)][_0x1d8e16(0xbd)]())_0x2ed6b2[_0x1d8e16(0xb7)]();this[_0x1d8e16(0xa3)][_0x1d8e16(0x8a)]();}[_0x5b7ec2(0xc1)](){const _0x4128d9=_0x5b7ec2,_0x222867=new _0x410fcf(this[_0x4128d9(0xb6)]);return _0x222867[_0x4128d9(0x88)]({'attributes':{'class':Nr}}),this[_0x4128d9(0x90)][_0x4128d9(0xb5)](_0x222867),_0x222867;}[_0x5b7ec2(0xac)](_0x13ea3f,_0x4b3213){const _0x47a59a=_0x5b7ec2;_0x13ea3f[_0x47a59a(0x99)][_0x47a59a(0x8a)]();const _0x4f0c92=this[_0x47a59a(0xbc)](_0x13ea3f,_0x4b3213);_0x13ea3f[_0x47a59a(0x99)][_0x47a59a(0xb5)](_0x4f0c92);const _0x347568=this[_0x47a59a(0x93)](_0x4b3213);_0x13ea3f[_0x47a59a(0x99)][_0x47a59a(0xb5)](_0x347568);}[_0x5b7ec2(0xbc)](_0x4507a8,_0x6f2bc3){const _0x590451=_0x5b7ec2,_0x24ea5d=this[_0x590451(0x8b)](_0x4507a8),_0x275933=new _0x2b32b5(this[_0x590451(0xb6)],{'label':_0x6f2bc3[_0x590451(0x9f)],'class':Kr});return _0x275933[_0x590451(0xa0)][_0x590451(0xb5)](_0x24ea5d,0x0),_0x275933;}[_0x5b7ec2(0x8b)](_0x30c91d){const _0x2ed176=_0x5b7ec2,_0x395eef=new _0x417847(this[_0x2ed176(0xb6)]);return _0x395eef[_0x2ed176(0xb2)]({'icon':_0x54043c,'tooltip':_0x297102(this[_0x2ed176(0xb6)],_0x2ed176(0x9d)),'tooltipPosition':'n','class':Xr}),_0x395eef['on'](_0x2ed176(0x92),()=>{const _0x7fb6cb=_0x2ed176;_0x30c91d[_0x7fb6cb(0x95)](),this[_0x7fb6cb(0xa8)][_0x7fb6cb(0x9c)]();}),_0x395eef;}[_0x5b7ec2(0x93)](_0x11d8e2){const _0x50a087=_0x5b7ec2,_0x15cc53=new _0x17fb64(this[_0x50a087(0xb6)],{'source':_0x11d8e2,'searchInputVisibleFrom':this[_0x50a087(0xa8)][_0x50a087(0xba)]});return _0x15cc53['on'](_0x50a087(0x8e),(_0x5b52e3,_0x17b4c8)=>{const _0x44295d=_0x50a087;this[_0x44295d(0xa8)][_0x44295d(0xa2)](_0x17b4c8);}),_0x15cc53['on'](_0x50a087(0xb4),(_0x391a71,_0x1b4da4)=>{const _0x87075c=_0x50a087;this[_0x87075c(0xa8)][_0x87075c(0xaa)](_0x1b4da4[_0x87075c(0x8f)],_0x1b4da4[_0x87075c(0x98)]),this[_0x87075c(0xb0)](_0x11d8e2['id']);}),_0x15cc53;}[_0x5b7ec2(0xb9)](_0x2461ff){const _0x30c367=_0x5b7ec2,_0x25cd03=_0x2461ff[_0x30c367(0x99)][_0x30c367(0x9b)](0x1);return _0x25cd03 instanceof _0x17fb64?_0x25cd03:null;}[_0x5b7ec2(0x9a)](_0x477d9f){const _0x185edd=_0x5b7ec2;_0x581ac9({'emitter':_0x477d9f,'contextElements':[_0x477d9f[_0x185edd(0xbe)]],'callback':()=>{const _0x52b6d0=_0x185edd;_0x477d9f[_0x52b6d0(0x95)](),this[_0x52b6d0(0xa8)][_0x52b6d0(0xa5)]();},'activator':()=>_0x477d9f[_0x185edd(0xa1)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3bb23e,IconView as _0x5d279c,LabeledFieldView as _0x98592b,createLabeledInputText as _0x596adc}from'ckeditor5/src/ui.js';import{IconLoupe as _0x3f97e8,IconCancel as _0x3f467b}from'ckeditor5/src/icons.js';import{getTranslation as _0x247081}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x98592b{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x145051){const t=_0x145051['t'],_0x3fc48b={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x596adc,'label':_0x247081(_0x145051,'AI_CHAT_SEARCH_RESOURCES')};super(_0x145051,_0x3fc48b['creator']),this['label']=_0x3fc48b['label'],this['_viewConfig']=_0x3fc48b,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x145051,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x2ff8a5){this['fire']('search',_0x2ff8a5);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x5d279c(),this['iconView']['content']=_0x3f97e8,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x3e9e46,t){this['resetButtonView']=new _0x3bb23e(_0x3e9e46),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x3f467b,'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',_0x88536d=>!_0x88536d),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 _0x595504,IconView as _0xd2b0ea,LabeledFieldView as _0x23d59b,createLabeledInputText as _0x1252c2}from'ckeditor5/src/ui.js';import{IconLoupe as _0x3091e0,IconCancel as _0x519b8a}from'ckeditor5/src/icons.js';import{getTranslation as _0x61e8ef}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x23d59b{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0xef949a){const t=_0xef949a['t'],_0x315d00={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x1252c2,'label':_0x61e8ef(_0xef949a,'AI_CHAT_SEARCH_RESOURCES')};super(_0xef949a,_0x315d00['creator']),this['label']=_0x315d00['label'],this['_viewConfig']=_0x315d00,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0xef949a,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x5e5a14){this['fire']('search',_0x5e5a14);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0xd2b0ea(),this['iconView']['content']=_0x3091e0,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x495a78,t){this['resetButtonView']=new _0x595504(_0x495a78),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x519b8a,'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',_0x197f22=>!_0x197f22),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xeaf6f1=_0x1e32;(function(_0x225c99,_0x2d715d){const _0x5b0984=_0x1e32,_0x1a90d2=_0x225c99();while(!![]){try{const _0x33c051=-parseInt(_0x5b0984(0xf2))/0x1+parseInt(_0x5b0984(0x100))/0x2+parseInt(_0x5b0984(0xfd))/0x3*(parseInt(_0x5b0984(0xe7))/0x4)+-parseInt(_0x5b0984(0x106))/0x5*(-parseInt(_0x5b0984(0xf4))/0x6)+parseInt(_0x5b0984(0xff))/0x7*(-parseInt(_0x5b0984(0xed))/0x8)+parseInt(_0x5b0984(0x105))/0x9+-parseInt(_0x5b0984(0xf9))/0xa;if(_0x33c051===_0x2d715d)break;else _0x1a90d2['push'](_0x1a90d2['shift']());}catch(_0x385246){_0x1a90d2['push'](_0x1a90d2['shift']());}}}(_0x2be2,0x8f890));function _0x1e32(_0x4edac7,_0x5090a0){const _0x2be2af=_0x2be2();return _0x1e32=function(_0x1e32dc,_0x1ec3ad){_0x1e32dc=_0x1e32dc-0xe7;let _0x2aa32a=_0x2be2af[_0x1e32dc];return _0x2aa32a;},_0x1e32(_0x4edac7,_0x5090a0);}import{View as _0x3a8aaa}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x4fa30c}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x2fc0fb}from'../controls/aichatchipsoverflowmanager.js';const $o=_0xeaf6f1(0xec),Ko=_0xeaf6f1(0xfa),Qo=_0xeaf6f1(0xf5),Uo=_0xeaf6f1(0xfb),No=_0xeaf6f1(0xe9),Oo=_0xeaf6f1(0xf7);function _0x2be2(){const _0x542ffc=['115MCSagh','737972lNwgCZ','_bodyCollection','ck-ai-chat-controls_context_show-more-button','_createContextChips','render','ck-ai-chat__feed__context-chips','2087024mkUvBM','querySelector','ck-reset_all','element','_contextChips','364423hpQEVq','locale','195960vuUzGo','ck-ai-chat-context-chips-wrapper-balloon','createCollection','ck-ai-chat-context-controls__show-more-balloon-panel','reorganizeChips','5991210hWYDEV','ck-ai-chat-context-chips-wrapper','ck-ai-chat-controls-button','setTemplate','9PEvQaE','_overflowManager','7nEuVBu','746650jjpIig','div','add','destroy','setContainerElement','1209222ZBvWXN'];_0x2be2=function(){return _0x542ffc;};return _0x2be2();}export class AIChatFeedContextChipsView extends _0x3a8aaa{[_0xeaf6f1(0xf1)]=this[_0xeaf6f1(0xf6)]();[_0xeaf6f1(0xfe)];[_0xeaf6f1(0xe8)];constructor(_0x27cd4c,_0x2ddb22,_0x4258d3){const _0x135b96=_0xeaf6f1;super(_0x27cd4c),this[_0x135b96(0xe8)]=_0x4258d3,this[_0x135b96(0xea)](_0x2ddb22);const _0x35a3ef={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Qo,'controlsButton':Uo}};this[_0x135b96(0xfe)]=new _0x2fc0fb(_0x27cd4c,this[_0x135b96(0xf1)],_0x35a3ef,this[_0x135b96(0xe8)],this),this[_0x135b96(0xfc)]({'tag':_0x135b96(0x101),'attributes':{'class':[$o,'ck',_0x135b96(0xef)]},'children':[{'tag':_0x135b96(0x101),'attributes':{'class':Ko},'children':this[_0x135b96(0xf1)]}]});}[_0xeaf6f1(0xeb)](){const _0x59575e=_0xeaf6f1;super[_0x59575e(0xeb)]();const _0x23e74c=this[_0x59575e(0xf0)][_0x59575e(0xee)]('.'+Ko);_0x23e74c&&(this[_0x59575e(0xfe)][_0x59575e(0x104)](_0x23e74c),this[_0x59575e(0xfe)][_0x59575e(0xf8)]());}[_0xeaf6f1(0x103)](){const _0x5b65fd=_0xeaf6f1;super[_0x5b65fd(0x103)](),this[_0x5b65fd(0xfe)][_0x5b65fd(0x103)]();}[_0xeaf6f1(0xea)](_0x11933b){const _0x20e111=_0xeaf6f1;for(const _0x26eedd of _0x11933b){const _0x2a8c44=new _0x4fa30c(this[_0x20e111(0xf3)],_0x26eedd,!0x0,!0x1);this[_0x20e111(0xf1)][_0x20e111(0x102)](_0x2a8c44);}}}
23
+ const _0x3332c9=_0x237e;(function(_0x27794e,_0x3f7275){const _0x30486b=_0x237e,_0x1acf01=_0x27794e();while(!![]){try{const _0x3a8ac8=parseInt(_0x30486b(0x124))/0x1+-parseInt(_0x30486b(0x114))/0x2+-parseInt(_0x30486b(0x11d))/0x3*(parseInt(_0x30486b(0x128))/0x4)+parseInt(_0x30486b(0x12b))/0x5*(-parseInt(_0x30486b(0x116))/0x6)+parseInt(_0x30486b(0x130))/0x7+parseInt(_0x30486b(0x11f))/0x8+parseInt(_0x30486b(0x126))/0x9;if(_0x3a8ac8===_0x3f7275)break;else _0x1acf01['push'](_0x1acf01['shift']());}catch(_0x1bed80){_0x1acf01['push'](_0x1acf01['shift']());}}}(_0x4d81,0x4c6e9));import{View as _0x405fc1}from'ckeditor5/src/ui.js';function _0x237e(_0xb50561,_0x5eec28){const _0x4d8130=_0x4d81();return _0x237e=function(_0x237efd,_0x412315){_0x237efd=_0x237efd-0x113;let _0x308a6d=_0x4d8130[_0x237efd];return _0x308a6d;},_0x237e(_0xb50561,_0x5eec28);}import{AIChatContextItemButtonView as _0x1cb064}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x4aef88}from'../controls/aichatchipsoverflowmanager.js';const $o=_0x3332c9(0x129),Ko=_0x3332c9(0x11c),Qo=_0x3332c9(0x117),Uo=_0x3332c9(0x11e),No=_0x3332c9(0x122),Oo=_0x3332c9(0x125);export class AIChatFeedContextChipsView extends _0x405fc1{[_0x3332c9(0x119)]=this[_0x3332c9(0x123)]();[_0x3332c9(0x127)];[_0x3332c9(0x118)];constructor(_0x1164ef,_0x4479f5,_0x256296){const _0x250895=_0x3332c9;super(_0x1164ef),this[_0x250895(0x118)]=_0x256296,this[_0x250895(0x12e)](_0x4479f5);const _0x28c0f8={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Qo,'controlsButton':Uo}};this[_0x250895(0x127)]=new _0x4aef88(_0x1164ef,this[_0x250895(0x119)],_0x28c0f8,this[_0x250895(0x118)],this),this[_0x250895(0x120)]({'tag':_0x250895(0x121),'attributes':{'class':[$o,'ck',_0x250895(0x12f)]},'children':[{'tag':_0x250895(0x121),'attributes':{'class':Ko},'children':this[_0x250895(0x119)]}]});}[_0x3332c9(0x115)](){const _0x325d3b=_0x3332c9;super[_0x325d3b(0x115)]();const _0x4d8057=this[_0x325d3b(0x12d)][_0x325d3b(0x12a)]('.'+Ko);_0x4d8057&&(this[_0x325d3b(0x127)][_0x325d3b(0x12c)](_0x4d8057),this[_0x325d3b(0x127)][_0x325d3b(0x131)]());}[_0x3332c9(0x11a)](){const _0x10de76=_0x3332c9;super[_0x10de76(0x11a)](),this[_0x10de76(0x127)][_0x10de76(0x11a)]();}[_0x3332c9(0x12e)](_0x5326bc){const _0x17d341=_0x3332c9;for(const _0x1d8ec7 of _0x5326bc){const _0x1f37e6=new _0x1cb064(this[_0x17d341(0x11b)],_0x1d8ec7,!0x0,!0x1);this[_0x17d341(0x119)][_0x17d341(0x113)](_0x1f37e6);}}}function _0x4d81(){const _0x243075=['1541351HmYCeH','reorganizeChips','add','1230130wKQAgp','render','12ZRiSGq','ck-ai-chat-context-chips-wrapper-balloon','_bodyCollection','_contextChips','destroy','locale','ck-ai-chat-context-chips-wrapper','243996SDanjn','ck-ai-chat-controls-button','1346408sBvLWM','setTemplate','div','ck-ai-chat-controls_context_show-more-button','createCollection','182679NquXsW','ck-ai-chat-context-controls__show-more-balloon-panel','6372513MgHPJu','_overflowManager','4caGnWP','ck-ai-chat__feed__context-chips','querySelector','674420ekjPSC','setContainerElement','element','_createContextChips','ck-reset_all'];_0x4d81=function(){return _0x243075;};return _0x4d81();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x43fbaf=_0x3a7a;function _0x4e80(){var _0x3cec06=['171346VsIfxk','element','5262188IiPJKO','initialContent','warning','42684350GOGpkt','ck-ai-notification','ck-ai-notification_warning','45FSMuDm','options','23202LkymJm','render','2081395oMdPEm','11190051dCgcuO','497756jFCFXg','ck-ai-notification_error','level','11eQNfnF','2317hnxpmL','setContent','innerHTML','markAsDone','8qCSvGI','extendTemplate'];_0x4e80=function(){return _0x3cec06;};return _0x4e80();}function _0x3a7a(_0x2ed435,_0x1d4a69){var _0x4e80ce=_0x4e80();return _0x3a7a=function(_0x3a7ad8,_0xd25d07){_0x3a7ad8=_0x3a7ad8-0xf1;var _0x798c54=_0x4e80ce[_0x3a7ad8];return _0x798c54;},_0x3a7a(_0x2ed435,_0x1d4a69);}(function(_0x17acbe,_0xc48c5b){var _0xdd2d5b=_0x3a7a,_0x324d4c=_0x17acbe();while(!![]){try{var _0x4307cb=-parseInt(_0xdd2d5b(0xf6))/0x1+parseInt(_0xdd2d5b(0x100))/0x2*(-parseInt(_0xdd2d5b(0x108))/0x3)+-parseInt(_0xdd2d5b(0x102))/0x4+-parseInt(_0xdd2d5b(0xf4))/0x5+parseInt(_0xdd2d5b(0xf2))/0x6*(-parseInt(_0xdd2d5b(0xfa))/0x7)+parseInt(_0xdd2d5b(0xfe))/0x8*(parseInt(_0xdd2d5b(0xf5))/0x9)+-parseInt(_0xdd2d5b(0x105))/0xa*(-parseInt(_0xdd2d5b(0xf9))/0xb);if(_0x4307cb===_0xc48c5b)break;else _0x324d4c['push'](_0x324d4c['shift']());}catch(_0x397fb8){_0x324d4c['push'](_0x324d4c['shift']());}}}(_0x4e80,0xaf140));import{AIChatFeedItemView as _0x3f9131}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x3f9131{constructor(_0x14e67a){var _0x4220f6=_0x3a7a;super(_0x14e67a),this[_0x4220f6(0xff)]({'attributes':{'class':[_0x4220f6(0x106),_0x4220f6(0x104)===_0x14e67a[_0x4220f6(0xf8)]?_0x4220f6(0x107):_0x4220f6(0xf7)]}});}[_0x43fbaf(0xf3)](){var _0x3eff90=_0x43fbaf;super[_0x3eff90(0xf3)](),this[_0x3eff90(0xfb)](this[_0x3eff90(0xf1)][_0x3eff90(0x103)]),this[_0x3eff90(0xfd)]();}[_0x43fbaf(0xfb)](_0x15f5b1){var _0x1bb8a6=_0x43fbaf;this[_0x1bb8a6(0x101)][_0x1bb8a6(0xfc)]=_0x15f5b1;}}
23
+ function _0x1ff2(){var _0x4856d2=['setContent','markAsDone','level','2Hoxjny','367763fLiSUC','1615450PbNzTV','915228BIurjL','ck-ai-notification','ck-ai-notification_warning','render','8eaXNHD','954912hhEcPQ','element','22fpFWlt','innerHTML','614091XpOjys','options','initialContent','warning','extendTemplate','319163xyftSV','204rODxMW','5XjkUzt','2331atheSB','834yDdHeQ','ck-ai-notification_error'];_0x1ff2=function(){return _0x4856d2;};return _0x1ff2();}var _0x5b54e8=_0x1144;function _0x1144(_0x375dab,_0x6e1e68){var _0x1ff276=_0x1ff2();return _0x1144=function(_0x11449e,_0xc807fa){_0x11449e=_0x11449e-0x65;var _0x51bd69=_0x1ff276[_0x11449e];return _0x51bd69;},_0x1144(_0x375dab,_0x6e1e68);}(function(_0x5beb96,_0x100fb0){var _0x4708fb=_0x1144,_0x4f5b37=_0x5beb96();while(!![]){try{var _0x5b2473=parseInt(_0x4708fb(0x7d))/0x1+-parseInt(_0x4708fb(0x7c))/0x2*(-parseInt(_0x4708fb(0x6e))/0x3)+parseInt(_0x4708fb(0x6a))/0x4*(-parseInt(_0x4708fb(0x75))/0x5)+-parseInt(_0x4708fb(0x77))/0x6*(-parseInt(_0x4708fb(0x76))/0x7)+-parseInt(_0x4708fb(0x69))/0x8*(parseInt(_0x4708fb(0x65))/0x9)+-parseInt(_0x4708fb(0x7e))/0xa*(-parseInt(_0x4708fb(0x6c))/0xb)+parseInt(_0x4708fb(0x74))/0xc*(-parseInt(_0x4708fb(0x73))/0xd);if(_0x5b2473===_0x100fb0)break;else _0x4f5b37['push'](_0x4f5b37['shift']());}catch(_0x3988db){_0x4f5b37['push'](_0x4f5b37['shift']());}}}(_0x1ff2,0x2cef2));import{AIChatFeedItemView as _0x36bed6}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x36bed6{constructor(_0x4a36ca){var _0x55b007=_0x1144;super(_0x4a36ca),this[_0x55b007(0x72)]({'attributes':{'class':[_0x55b007(0x66),_0x55b007(0x71)===_0x4a36ca[_0x55b007(0x7b)]?_0x55b007(0x67):_0x55b007(0x78)]}});}[_0x5b54e8(0x68)](){var _0x39149a=_0x5b54e8;super[_0x39149a(0x68)](),this[_0x39149a(0x79)](this[_0x39149a(0x6f)][_0x39149a(0x70)]),this[_0x39149a(0x7a)]();}[_0x5b54e8(0x79)](_0xbe84c9){var _0xb50935=_0x5b54e8;this[_0xb50935(0x6b)][_0xb50935(0x6d)]=_0xbe84c9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15a767=_0xa4e5;function _0xa4e5(_0x3157b7,_0x5a6c5b){const _0x2d07e0=_0x2d07();return _0xa4e5=function(_0xa4e598,_0x2e6b0){_0xa4e598=_0xa4e598-0x17f;let _0x14a453=_0x2d07e0[_0xa4e598];return _0x14a453;},_0xa4e5(_0x3157b7,_0x5a6c5b);}(function(_0x1e21b0,_0x58ec30){const _0x5db618=_0xa4e5,_0x3eff98=_0x1e21b0();while(!![]){try{const _0x57dc8a=-parseInt(_0x5db618(0x190))/0x1*(-parseInt(_0x5db618(0x191))/0x2)+parseInt(_0x5db618(0x183))/0x3*(parseInt(_0x5db618(0x18e))/0x4)+-parseInt(_0x5db618(0x180))/0x5+parseInt(_0x5db618(0x196))/0x6*(-parseInt(_0x5db618(0x195))/0x7)+-parseInt(_0x5db618(0x186))/0x8+-parseInt(_0x5db618(0x18b))/0x9+parseInt(_0x5db618(0x193))/0xa;if(_0x57dc8a===_0x58ec30)break;else _0x3eff98['push'](_0x3eff98['shift']());}catch(_0x3ea307){_0x3eff98['push'](_0x3eff98['shift']());}}}(_0x2d07,0xebb12));import{IconBulb as _0x2bde51,IconWeb as _0x295721}from'@ckeditor/ckeditor5-icons';import{IconView as _0x53586f,View as _0x2a1e77}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0xe691cd}from'./aichatfeeditemview.js';function _0x2d07(){const _0x271dfc=['ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','13946850lhqZgk','children','ck-ai-chat__feed__interaction-header__capabilities__text','12LqTUvu','add','674051YCpnkV','2MnDGfs','setTemplate','68500000IsaNrH','extendTemplate','168JYdoaq','371370eaPZgx','push','ck-ai-chat__feed__interaction-header__capabilities','content','9252070OGFjWk','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','span','187974FlhPkV','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','14888696hhQnoS','div','ck-hidden'];_0x2d07=function(){return _0x271dfc;};return _0x2d07();}import{getTranslation as _0x2ed44f}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0xe691cd{[_0x15a767(0x184)];constructor(_0xdac9ca,_0x585202){const _0x86dece=_0x15a767;super(_0x585202);const {isWebSearchEnabled:_0x32912e,isReasoningEnabled:_0x3e2f15}=_0x585202[_0x86dece(0x184)],_0x3d2923=[];let _0x18c91b='';_0x32912e&&_0x3e2f15?(_0x18c91b=_0x2ed44f(_0xdac9ca,_0x86dece(0x18a)),_0x3d2923[_0x86dece(0x197)](aa(_0x295721)),_0x3d2923[_0x86dece(0x197)](aa(_0x2bde51))):_0x32912e?(_0x18c91b=_0x2ed44f(_0xdac9ca,_0x86dece(0x185)),_0x3d2923[_0x86dece(0x197)](aa(_0x295721))):_0x3e2f15&&(_0x18c91b=_0x2ed44f(_0xdac9ca,_0x86dece(0x181)),_0x3d2923[_0x86dece(0x197)](aa(_0x2bde51))),this[_0x86dece(0x194)]({'attributes':{'class':[_0x86dece(0x189),_0x18c91b?'':_0x86dece(0x188)]}});const _0xe11510=new _0x2a1e77();_0xe11510[_0x86dece(0x192)]({'tag':_0x86dece(0x187),'attributes':{'class':['ck',_0x86dece(0x198)]},'children':[..._0x3d2923,{'tag':_0x86dece(0x182),'attributes':{'class':[_0x86dece(0x18d)]},'children':[_0x18c91b]}]}),this[_0x86dece(0x18c)][_0x86dece(0x18f)](_0xe11510),this[_0x86dece(0x184)]=_0x585202[_0x86dece(0x184)];}}function aa(_0x33d497){const _0x62a89d=_0x15a767,_0x56eeea=new _0x53586f();return _0x56eeea[_0x62a89d(0x17f)]=_0x33d497,_0x56eeea;}
23
+ const _0x1d0e93=_0x548d;(function(_0x1596b5,_0x58f09c){const _0x46463a=_0x548d,_0x329a8e=_0x1596b5();while(!![]){try{const _0x13708f=parseInt(_0x46463a(0x7a))/0x1+-parseInt(_0x46463a(0x74))/0x2*(parseInt(_0x46463a(0x7d))/0x3)+parseInt(_0x46463a(0x6a))/0x4+-parseInt(_0x46463a(0x6c))/0x5*(-parseInt(_0x46463a(0x78))/0x6)+parseInt(_0x46463a(0x76))/0x7*(-parseInt(_0x46463a(0x69))/0x8)+parseInt(_0x46463a(0x6e))/0x9+-parseInt(_0x46463a(0x7e))/0xa;if(_0x13708f===_0x58f09c)break;else _0x329a8e['push'](_0x329a8e['shift']());}catch(_0x41fb8f){_0x329a8e['push'](_0x329a8e['shift']());}}}(_0x1b42,0x7949e));import{IconBulb as _0x22a873,IconWeb as _0x559dcf}from'@ckeditor/ckeditor5-icons';function _0x548d(_0x48e97f,_0x5808a7){const _0x1b4258=_0x1b42();return _0x548d=function(_0x548dbf,_0x419c5d){_0x548dbf=_0x548dbf-0x69;let _0x26089f=_0x1b4258[_0x548dbf];return _0x26089f;},_0x548d(_0x48e97f,_0x5808a7);}import{IconView as _0x39fbf5,View as _0x2a4d62}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x3e64fc}from'./aichatfeeditemview.js';import{getTranslation as _0x485ee5}from'../../../aicore/utils/common-translations.js';function _0x1b42(){const _0x253bac=['span','children','624886uCyDXc','add','182MKxeCx','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','894ghMICV','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','979724pEYdMX','ck-hidden','setTemplate','6btshKi','1584900LgXVnd','capabilities','extendTemplate','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','186712IKEyWm','1116316PLmbku','push','8495rPjjkJ','ck-ai-chat__feed__interaction-header__capabilities','3375306FtyhDt','div','ck-ai-chat__feed__interaction-header__capabilities__text','content'];_0x1b42=function(){return _0x253bac;};return _0x1b42();}export class AIChatFeedInteractionHeaderView extends _0x3e64fc{[_0x1d0e93(0x7f)];constructor(_0x3f8e4e,_0x4f2ac6){const _0x1b7eb2=_0x1d0e93;super(_0x4f2ac6);const {isWebSearchEnabled:_0x1b88a4,isReasoningEnabled:_0x28302a}=_0x4f2ac6[_0x1b7eb2(0x7f)],_0x3174d0=[];let _0x5bed38='';_0x1b88a4&&_0x28302a?(_0x5bed38=_0x485ee5(_0x3f8e4e,_0x1b7eb2(0x79)),_0x3174d0[_0x1b7eb2(0x6b)](aa(_0x559dcf)),_0x3174d0[_0x1b7eb2(0x6b)](aa(_0x22a873))):_0x1b88a4?(_0x5bed38=_0x485ee5(_0x3f8e4e,_0x1b7eb2(0x77)),_0x3174d0[_0x1b7eb2(0x6b)](aa(_0x559dcf))):_0x28302a&&(_0x5bed38=_0x485ee5(_0x3f8e4e,_0x1b7eb2(0x82)),_0x3174d0[_0x1b7eb2(0x6b)](aa(_0x22a873))),this[_0x1b7eb2(0x80)]({'attributes':{'class':[_0x1b7eb2(0x81),_0x5bed38?'':_0x1b7eb2(0x7b)]}});const _0x178ddc=new _0x2a4d62();_0x178ddc[_0x1b7eb2(0x7c)]({'tag':_0x1b7eb2(0x6f),'attributes':{'class':['ck',_0x1b7eb2(0x6d)]},'children':[..._0x3174d0,{'tag':_0x1b7eb2(0x72),'attributes':{'class':[_0x1b7eb2(0x70)]},'children':[_0x5bed38]}]}),this[_0x1b7eb2(0x73)][_0x1b7eb2(0x75)](_0x178ddc),this[_0x1b7eb2(0x7f)]=_0x4f2ac6[_0x1b7eb2(0x7f)];}}function aa(_0x49897e){const _0xa13cbf=_0x1d0e93,_0x4856c3=new _0x39fbf5();return _0x4856c3[_0xa13cbf(0x71)]=_0x49897e,_0x4856c3;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e6273=_0x597c;function _0x37d5(){const _0x10171b=['set','260scpztd','ck-ai-chat__feed__item_done','bindTemplate','ck-ai-chat__feed__text-item','276111wVHtLf','666644lHnTsC','children','ck-hidden','options','isDone','2570005Wftdhu','animation:\x20ck-html-streamer-fade-in\x20.5s','setTemplate','div','element','streamIntoElement','[data-id]','ck-ai-chat__feed__item','6573eeySvr','content','706237ASjvGh','querySelectorAll','createCollection','markAsDone','1686ZORnFS','2066336Nnzjdp','data-id','isVisible','forEach','removeAttribute','1014wYsbzJ','cleanUpAnimations','stream','htmlStreamer','9LgJSvY','3428OtmKjN'];_0x37d5=function(){return _0x10171b;};return _0x37d5();}(function(_0x26e5d6,_0x30c1d4){const _0x20ab62=_0x597c,_0x57e0b3=_0x26e5d6();while(!![]){try{const _0x2dad32=parseInt(_0x20ab62(0x125))/0x1+parseInt(_0x20ab62(0x134))/0x2*(-parseInt(_0x20ab62(0x12f))/0x3)+-parseInt(_0x20ab62(0x116))/0x4+-parseInt(_0x20ab62(0x11b))/0x5+-parseInt(_0x20ab62(0x129))/0x6*(-parseInt(_0x20ab62(0x123))/0x7)+parseInt(_0x20ab62(0x12a))/0x8*(parseInt(_0x20ab62(0x133))/0x9)+-parseInt(_0x20ab62(0x136))/0xa*(-parseInt(_0x20ab62(0x115))/0xb);if(_0x2dad32===_0x30c1d4)break;else _0x57e0b3['push'](_0x57e0b3['shift']());}catch(_0x528529){_0x57e0b3['push'](_0x57e0b3['shift']());}}}(_0x37d5,0x979dc));function _0x597c(_0x1d47f5,_0x202315){const _0x37d5a1=_0x37d5();return _0x597c=function(_0x597c45,_0x3582e9){_0x597c45=_0x597c45-0x114;let _0x44953e=_0x37d5a1[_0x597c45];return _0x44953e;},_0x597c(_0x1d47f5,_0x202315);}import{View as _0x2c9ccc}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1d0ec1}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x2c9ccc{[_0x2e6273(0x119)];[_0x2e6273(0x124)]='';[_0x2e6273(0x132)];[_0x2e6273(0x117)];constructor(_0xecce60){const _0x1f22c6=_0x2e6273;super();const _0x15de7e=this[_0x1f22c6(0x138)];this[_0x1f22c6(0x135)](_0x1f22c6(0x11a),!0x1),this[_0x1f22c6(0x135)](_0x1f22c6(0x12c),!0x0),this[_0x1f22c6(0x132)]=new _0x1d0ec1({'textNodeStyle':_0x1f22c6(0x11c),'delay':0x14}),this[_0x1f22c6(0x119)]=_0xecce60,this[_0x1f22c6(0x117)]=this[_0x1f22c6(0x127)](),this[_0x1f22c6(0x11d)]({'tag':_0x1f22c6(0x11e),'attributes':{'class':['ck',_0x1f22c6(0x122),_0x15de7e['if'](_0x1f22c6(0x11a),_0x1f22c6(0x137)),_0x15de7e['if'](_0x1f22c6(0x12c),_0x1f22c6(0x118),_0x1e8e51=>!_0x1e8e51),_0x1f22c6(0x114)],'data-cke-ai-id':this[_0x1f22c6(0x119)]['id']},'children':this[_0x1f22c6(0x117)]});}[_0x2e6273(0x128)](){const _0x269170=_0x2e6273;this[_0x269170(0x132)][_0x269170(0x130)]({'targetElement':this[_0x269170(0x11f)]}),this[_0x269170(0x11f)][_0x269170(0x126)](_0x269170(0x121))[_0x269170(0x12d)](_0x368274=>{const _0x492e9d=_0x269170;_0x368274[_0x492e9d(0x12e)](_0x492e9d(0x12b));}),this[_0x269170(0x11a)]=!0x0;}async[_0x2e6273(0x120)](_0xf5a8db,_0x41af4d,_0x4dbf75){const _0x2fce72=_0x2e6273;await this[_0x2fce72(0x132)][_0x2fce72(0x131)]({'document':_0xf5a8db,'targetElement':_0x41af4d,'abortSignal':_0x4dbf75});}}
23
+ const _0x1e56dd=_0x540e;(function(_0x2eb017,_0x260dfe){const _0x14d258=_0x540e,_0x77b4d7=_0x2eb017();while(!![]){try{const _0x1c4f69=-parseInt(_0x14d258(0x77))/0x1*(parseInt(_0x14d258(0x80))/0x2)+parseInt(_0x14d258(0x8a))/0x3*(parseInt(_0x14d258(0x87))/0x4)+-parseInt(_0x14d258(0x90))/0x5+parseInt(_0x14d258(0x86))/0x6+-parseInt(_0x14d258(0x73))/0x7*(-parseInt(_0x14d258(0x76))/0x8)+parseInt(_0x14d258(0x8c))/0x9*(parseInt(_0x14d258(0x83))/0xa)+parseInt(_0x14d258(0x88))/0xb;if(_0x1c4f69===_0x260dfe)break;else _0x77b4d7['push'](_0x77b4d7['shift']());}catch(_0x5bf3da){_0x77b4d7['push'](_0x77b4d7['shift']());}}}(_0x4877,0x8dffe));import{View as _0x3b12c5}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x2b822e}from'../../../aicore/utils/htmlstreamer.js';function _0x540e(_0x20d3d6,_0x1fb552){const _0x487748=_0x4877();return _0x540e=function(_0x540e7e,_0x56cc35){_0x540e7e=_0x540e7e-0x71;let _0x2e5990=_0x487748[_0x540e7e];return _0x2e5990;},_0x540e(_0x20d3d6,_0x1fb552);}function _0x4877(){const _0x39f7b9=['350XKwbYn','streamIntoElement','bindTemplate','581268NyZwPi','2726480avdpIw','4539480RZXFJN','htmlStreamer','3mvcNiN','content','13707esYFEt','setTemplate','ck-ai-chat__feed__item','forEach','2159580gZwrry','div','ck-ai-chat__feed__text-item','removeAttribute','cleanUpAnimations','isVisible','querySelectorAll','data-id','15176qZDSSj','element','set','3152WMWKCs','17789OCJJHG','children','options','markAsDone','createCollection','stream','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-hidden','isDone','122NKMHou','ck-ai-chat__feed__item_done','[data-id]'];_0x4877=function(){return _0x39f7b9;};return _0x4877();}export class AIChatFeedItemView extends _0x3b12c5{[_0x1e56dd(0x79)];[_0x1e56dd(0x8b)]='';[_0x1e56dd(0x89)];[_0x1e56dd(0x78)];constructor(_0x12d931){const _0x32aefe=_0x1e56dd;super();const _0x89a076=this[_0x32aefe(0x85)];this[_0x32aefe(0x75)](_0x32aefe(0x7f),!0x1),this[_0x32aefe(0x75)](_0x32aefe(0x95),!0x0),this[_0x32aefe(0x89)]=new _0x2b822e({'textNodeStyle':_0x32aefe(0x7d),'delay':0x14}),this[_0x32aefe(0x79)]=_0x12d931,this[_0x32aefe(0x78)]=this[_0x32aefe(0x7b)](),this[_0x32aefe(0x8d)]({'tag':_0x32aefe(0x91),'attributes':{'class':['ck',_0x32aefe(0x8e),_0x89a076['if'](_0x32aefe(0x7f),_0x32aefe(0x81)),_0x89a076['if'](_0x32aefe(0x95),_0x32aefe(0x7e),_0x38d4a1=>!_0x38d4a1),_0x32aefe(0x92)],'data-cke-ai-id':this[_0x32aefe(0x79)]['id']},'children':this[_0x32aefe(0x78)]});}[_0x1e56dd(0x7a)](){const _0x746866=_0x1e56dd;this[_0x746866(0x89)][_0x746866(0x94)]({'targetElement':this[_0x746866(0x74)]}),this[_0x746866(0x74)][_0x746866(0x71)](_0x746866(0x82))[_0x746866(0x8f)](_0x171442=>{const _0x4c839c=_0x746866;_0x171442[_0x4c839c(0x93)](_0x4c839c(0x72));}),this[_0x746866(0x7f)]=!0x0;}async[_0x1e56dd(0x84)](_0xcdb112,_0x43044a,_0x4ea1a3){const _0x641eb5=_0x1e56dd;await this[_0x641eb5(0x89)][_0x641eb5(0x7c)]({'document':_0xcdb112,'targetElement':_0x43044a,'abortSignal':_0x4ea1a3});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x21a4(_0x25f350,_0x24d85a){const _0x56c866=_0x56c8();return _0x21a4=function(_0x21a430,_0x1b2bb8){_0x21a430=_0x21a430-0x11c;let _0xdea60d=_0x56c866[_0x21a430];return _0xdea60d;},_0x21a4(_0x25f350,_0x24d85a);}const _0x3729de=_0x21a4;(function(_0x5f2a18,_0x51118b){const _0x5d94b5=_0x21a4,_0x38f6a6=_0x5f2a18();while(!![]){try{const _0x438c29=-parseInt(_0x5d94b5(0x137))/0x1+-parseInt(_0x5d94b5(0x120))/0x2+-parseInt(_0x5d94b5(0x121))/0x3+-parseInt(_0x5d94b5(0x11d))/0x4+-parseInt(_0x5d94b5(0x130))/0x5*(-parseInt(_0x5d94b5(0x12f))/0x6)+parseInt(_0x5d94b5(0x12b))/0x7*(parseInt(_0x5d94b5(0x13c))/0x8)+-parseInt(_0x5d94b5(0x12d))/0x9*(-parseInt(_0x5d94b5(0x134))/0xa);if(_0x438c29===_0x51118b)break;else _0x38f6a6['push'](_0x38f6a6['shift']());}catch(_0x557024){_0x38f6a6['push'](_0x38f6a6['shift']());}}}(_0x56c8,0x9f4fb));function _0x56c8(){const _0x3f859c=['ck-ai-chat__feed__ai-reply','_bodyCollection','1229720KgeqoY','isVisible','children','streaming','locale','8XFnxpS','options','map','setTemplate','updateSources','854496gPOhcl','replyContainer','markAsDone','666376WRBfCH','3086340RatWSK','ck-ai-chat__feed__ai-reply-container','updateContent','addMany','streamIntoElement','balloonPanelView','add','ck-reset_all-excluded','innerHTML','element','3846962SUTvJk','static','24706557sLzBrD','div','122334ldcQZv','40JTFnpS','render','extendTemplate','initialContent','10PPJAqa'];_0x56c8=function(){return _0x3f859c;};return _0x56c8();}import{AIChatFeedItemView as _0x8163bd}from'./aichatfeeditemview.js';import{parse as _0x2bbb38,render as _0x29ba0d}from'../../../aicore/utils/htmlparser.js';import{View as _0x52cb2a}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x3a4f4f,AIWebSourceView as _0x26cb67}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x8163bd{[_0x3729de(0x11e)];[_0x3729de(0x136)];constructor(_0x3c2a96,_0x36dd91,_0x597e5c){const _0x1bdd0b=_0x3729de;super(_0x36dd91),this[_0x1bdd0b(0x136)]=_0x597e5c,this[_0x1bdd0b(0x13b)]=_0x3c2a96,this[_0x1bdd0b(0x132)]({'attributes':{'class':[_0x1bdd0b(0x135)]}}),this[_0x1bdd0b(0x11e)]=new _0x52cb2a(),this[_0x1bdd0b(0x11e)][_0x1bdd0b(0x13f)]({'tag':_0x1bdd0b(0x12e),'attributes':{'class':['ck',_0x1bdd0b(0x128),_0x1bdd0b(0x122)]}}),this[_0x1bdd0b(0x139)][_0x1bdd0b(0x127)](this[_0x1bdd0b(0x11e)]);}async[_0x3729de(0x131)](){const _0x4496d8=_0x3729de;super[_0x4496d8(0x131)](),this[_0x4496d8(0x13d)][_0x4496d8(0x133)]&&(await this[_0x4496d8(0x123)]({'parsedContent':_0x2bbb38(this[_0x4496d8(0x13d)][_0x4496d8(0x133)]),'renderingStrategy':_0x4496d8(0x12c)}),this[_0x4496d8(0x11f)]());}async[_0x3729de(0x123)]({parsedContent:_0x2b11e4,renderingStrategy:_0x347fa2,abortSignal:_0x5f01de}){const _0x57cd1c=_0x3729de;_0x57cd1c(0x13a)===_0x347fa2?await this[_0x57cd1c(0x125)](_0x2b11e4,this[_0x57cd1c(0x11e)][_0x57cd1c(0x12a)],_0x5f01de):this[_0x57cd1c(0x11e)][_0x57cd1c(0x12a)][_0x57cd1c(0x129)]=_0x29ba0d(_0x2b11e4);}[_0x3729de(0x11c)](_0x4a3e67){const _0x2f4ac9=_0x3729de,_0x59feae=new _0x3a4f4f(this[_0x2f4ac9(0x13b)],this[_0x2f4ac9(0x136)]);_0x59feae[_0x2f4ac9(0x139)][_0x2f4ac9(0x124)](_0x4a3e67[_0x2f4ac9(0x13e)](_0x3eca0d=>new _0x26cb67(this[_0x2f4ac9(0x13b)],_0x3eca0d,_0x59feae[_0x2f4ac9(0x126)]))),_0x59feae[_0x2f4ac9(0x138)]=!0x0,this[_0x2f4ac9(0x139)][_0x2f4ac9(0x127)](_0x59feae);}}
23
+ const _0x58c433=_0x47f9;(function(_0x23fb03,_0xee7486){const _0x1beb7c=_0x47f9,_0x3d9595=_0x23fb03();while(!![]){try{const _0x4be0e0=parseInt(_0x1beb7c(0x15e))/0x1*(parseInt(_0x1beb7c(0x170))/0x2)+parseInt(_0x1beb7c(0x152))/0x3+parseInt(_0x1beb7c(0x159))/0x4*(parseInt(_0x1beb7c(0x173))/0x5)+-parseInt(_0x1beb7c(0x15f))/0x6+-parseInt(_0x1beb7c(0x15b))/0x7*(parseInt(_0x1beb7c(0x166))/0x8)+-parseInt(_0x1beb7c(0x172))/0x9+-parseInt(_0x1beb7c(0x161))/0xa*(parseInt(_0x1beb7c(0x16b))/0xb);if(_0x4be0e0===_0xee7486)break;else _0x3d9595['push'](_0x3d9595['shift']());}catch(_0x340a11){_0x3d9595['push'](_0x3d9595['shift']());}}}(_0x3819,0x1925e));function _0x3819(){const _0xff18be=['locale','330645jYqUVY','add','render','ck-ai-chat__feed__ai-reply','isVisible','initialContent','options','4sZOBkx','setTemplate','2527RPEDte','streaming','map','41EPXWzv','374478PtoIxt','children','1040gPoxRi','ck-reset_all-excluded','element','streamIntoElement','addMany','1296ZJfBYv','markAsDone','innerHTML','updateContent','_bodyCollection','6908dQPXOk','updateSources','static','balloonPanelView','replyContainer','7646pDROjZ','ck-ai-chat__feed__ai-reply-container','1364094jXpmTC','869105KCmKPb','div','extendTemplate'];_0x3819=function(){return _0xff18be;};return _0x3819();}import{AIChatFeedItemView as _0x1cd362}from'./aichatfeeditemview.js';import{parse as _0x4d811d,render as _0x11a746}from'../../../aicore/utils/htmlparser.js';function _0x47f9(_0x2ba46e,_0x2266ce){const _0x381900=_0x3819();return _0x47f9=function(_0x47f9a7,_0x131471){_0x47f9a7=_0x47f9a7-0x152;let _0x309546=_0x381900[_0x47f9a7];return _0x309546;},_0x47f9(_0x2ba46e,_0x2266ce);}import{View as _0x374ae6}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x35d319,AIWebSourceView as _0x47eb89}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x1cd362{[_0x58c433(0x16f)];[_0x58c433(0x16a)];constructor(_0x23fa8f,_0x249a38,_0x1e28d0){const _0x4c6b07=_0x58c433;super(_0x249a38),this[_0x4c6b07(0x16a)]=_0x1e28d0,this[_0x4c6b07(0x176)]=_0x23fa8f,this[_0x4c6b07(0x175)]({'attributes':{'class':[_0x4c6b07(0x155)]}}),this[_0x4c6b07(0x16f)]=new _0x374ae6(),this[_0x4c6b07(0x16f)][_0x4c6b07(0x15a)]({'tag':_0x4c6b07(0x174),'attributes':{'class':['ck',_0x4c6b07(0x162),_0x4c6b07(0x171)]}}),this[_0x4c6b07(0x160)][_0x4c6b07(0x153)](this[_0x4c6b07(0x16f)]);}async[_0x58c433(0x154)](){const _0x46ce88=_0x58c433;super[_0x46ce88(0x154)](),this[_0x46ce88(0x158)][_0x46ce88(0x157)]&&(await this[_0x46ce88(0x169)]({'parsedContent':_0x4d811d(this[_0x46ce88(0x158)][_0x46ce88(0x157)]),'renderingStrategy':_0x46ce88(0x16d)}),this[_0x46ce88(0x167)]());}async[_0x58c433(0x169)]({parsedContent:_0x451173,renderingStrategy:_0x15eb0f,abortSignal:_0x4f6305}){const _0x367653=_0x58c433;_0x367653(0x15c)===_0x15eb0f?await this[_0x367653(0x164)](_0x451173,this[_0x367653(0x16f)][_0x367653(0x163)],_0x4f6305):this[_0x367653(0x16f)][_0x367653(0x163)][_0x367653(0x168)]=_0x11a746(_0x451173);}[_0x58c433(0x16c)](_0xcac218){const _0x4b1f4a=_0x58c433,_0x1b75a0=new _0x35d319(this[_0x4b1f4a(0x176)],this[_0x4b1f4a(0x16a)]);_0x1b75a0[_0x4b1f4a(0x160)][_0x4b1f4a(0x165)](_0xcac218[_0x4b1f4a(0x15d)](_0x5d001d=>new _0x47eb89(this[_0x4b1f4a(0x176)],_0x5d001d,_0x1b75a0[_0x4b1f4a(0x16e)]))),_0x1b75a0[_0x4b1f4a(0x156)]=!0x0,this[_0x4b1f4a(0x160)][_0x4b1f4a(0x153)](_0x1b75a0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6f3060=_0xe98c;(function(_0x33e3dd,_0x3c5823){const _0x445054=_0xe98c,_0x57ac5c=_0x33e3dd();while(!![]){try{const _0x7c585d=-parseInt(_0x445054(0x159))/0x1+-parseInt(_0x445054(0x11b))/0x2+parseInt(_0x445054(0x155))/0x3+parseInt(_0x445054(0x131))/0x4*(-parseInt(_0x445054(0x13f))/0x5)+parseInt(_0x445054(0x156))/0x6+parseInt(_0x445054(0x16a))/0x7+-parseInt(_0x445054(0x174))/0x8*(-parseInt(_0x445054(0x14e))/0x9);if(_0x7c585d===_0x3c5823)break;else _0x57ac5c['push'](_0x57ac5c['shift']());}catch(_0x418d35){_0x57ac5c['push'](_0x57ac5c['shift']());}}}(_0x2add,0x7a00c));import{KeystrokeHandler as _0x14eb9c}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x224c25,BodyCollection as _0x1d93bb,ButtonView as _0x28b589,clickOutsideHandler as _0x59c890,ListItemButtonView as _0x1f62cc,ListItemView as _0x576e98,ListView as _0x57096a,SplitButtonView as _0x3eaecc,UIModel as _0x522489,View as _0x3e50ed}from'ckeditor5/src/ui.js';import{IconCheck as _0x4c91f3,IconAddComment as _0x9f56c8,IconDocumentWithLoupe as _0x4271e0}from'ckeditor5/src/icons.js';import{getTranslation as _0x11ab61}from'../../../aicore/utils/common-translations.js';function _0x2add(){const _0x437405=['_setUpList','listItemModels','ck-ai-chat__feed__ai-suggestion__actions\x20','destroy','ck-ai-chat__feed__ai-suggestion__actions--no-animation','140418vDGGjG','ck-ai-chat__feed__ai-suggestion__actions__balloon','ck-ai-chat__feed__ai-suggestion__actions','isVisible','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','keys','balloonPanelClass','actionsButton','arrowless','open','esc','isEnabled','ck-ai-button-primary','insertSuggestionModel','_dropdownOriginalConfig','unbind','applySuggestion','filter','bottom','class','showChangeInText','4frGoKg','insertSuggestion','pin','map','label','_createActionsDropdown','set','listView','ltr','_createActionsButton','content','element','isTrackChangesOn','setTemplate','1485635SMYlGr','fire','delegate','updateLabels','button','locale','_setUpKeystrokes','focus','ck-hidden','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','uiLanguageDirection','keystrokeHandler','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','actionName','bodyCollection','252xFizRJ','listenTo','slice','hide','left','_createActionsDropdownOrButton','showChangeInTextModel','191769MyAUOL','656934ZbFzmU','_partsCount','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','671709osqRKU','createCollection','length','_dropdownCurrentConfig','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','children','items','_updateDropdownActions','has','div','attachToDom','_firstRender','add','execute','tooltip','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','applySuggestionModel','1587747DaOvcO','source','balloonPanelView','arrowView','bindTemplate','bind','width','remove','change:isTrackChangesOn','detachFromDom','325296WXMwyY'];_0x2add=function(){return _0x437405;};return _0x2add();}export const AI_REPLY_ACTIONS=[_0x6f3060(0x12c),_0x6f3060(0x132),_0x6f3060(0x130)];function _0xe98c(_0x40f44e,_0x1b08f4){const _0x2add6a=_0x2add();return _0xe98c=function(_0xe98c64,_0x497e4a){_0xe98c64=_0xe98c64-0x116;let _0x4e1b67=_0x2add6a[_0xe98c64];return _0x4e1b67;},_0xe98c(_0x40f44e,_0x1b08f4);}export class AIChatFeedSuggestionItemActionsView extends _0x3e50ed{[_0x6f3060(0x123)];[_0x6f3060(0x15e)];[_0x6f3060(0x169)];[_0x6f3060(0x154)];[_0x6f3060(0x129)];[_0x6f3060(0x157)]=0x1;[_0x6f3060(0x12a)];[_0x6f3060(0x15c)];[_0x6f3060(0x164)]=!0x0;constructor(_0x3c5d91,_0x3c5a1a){const _0xe4a02e=_0x6f3060;super(_0x3c5d91),this[_0xe4a02e(0x12a)]=_0x3c5a1a||[...AI_REPLY_ACTIONS],this[_0xe4a02e(0x15c)]=[...this[_0xe4a02e(0x12a)]];const _0x6a5e07=this[_0xe4a02e(0x16e)];this[_0xe4a02e(0x137)](_0xe4a02e(0x127),!0x0),this[_0xe4a02e(0x137)](_0xe4a02e(0x11e),!0x0),this[_0xe4a02e(0x137)](_0xe4a02e(0x13d),!0x1),this[_0xe4a02e(0x169)]=new _0x522489({'label':Ln(_0xe4a02e(0x12c),_0x3c5d91,this[_0xe4a02e(0x157)]),'icon':_0x4c91f3,'withText':!0x0,'type':_0xe4a02e(0x143),'actionName':_0xe4a02e(0x12c)}),this[_0xe4a02e(0x154)]=new _0x522489({'label':Ln(_0xe4a02e(0x130),_0x3c5d91,this[_0xe4a02e(0x157)]),'icon':_0x4271e0,'withText':!0x0,'type':_0xe4a02e(0x143),'actionName':_0xe4a02e(0x130)}),this[_0xe4a02e(0x129)]=new _0x522489({'label':Ln(_0xe4a02e(0x132),_0x3c5d91,this[_0xe4a02e(0x157)]),'icon':_0x9f56c8,'withText':!0x0,'type':_0xe4a02e(0x143),'actionName':_0xe4a02e(0x132)}),this[_0xe4a02e(0x123)]=this[_0xe4a02e(0x153)](_0x3c5d91),this[_0xe4a02e(0x15e)]=this[_0xe4a02e(0x15a)](),this[_0xe4a02e(0x123)]&&this[_0xe4a02e(0x15e)][_0xe4a02e(0x165)](this[_0xe4a02e(0x123)]),this[_0xe4a02e(0x13e)]({'tag':_0xe4a02e(0x162),'attributes':{'class':['ck',_0xe4a02e(0x11d),_0x6a5e07['if'](_0xe4a02e(0x11e),_0xe4a02e(0x147),_0x2c8059=>!_0x2c8059)]},'children':this[_0xe4a02e(0x15e)]}),this['on'](_0xe4a02e(0x172),()=>{const _0x430041=_0xe4a02e;this[_0x430041(0x15c)]=this[_0x430041(0x13d)]?this[_0x430041(0x12a)][_0x430041(0x12d)](_0x287be0=>_0x430041(0x12c)!==_0x287be0):[...this[_0x430041(0x12a)]],this[_0x430041(0x160)](_0x3c5d91);});}[_0x6f3060(0x160)](_0x24b5a0){const _0x29a027=_0x6f3060;this[_0x29a027(0x123)]&&this[_0x29a027(0x15e)][_0x29a027(0x161)](this[_0x29a027(0x123)])&&(this[_0x29a027(0x15e)][_0x29a027(0x171)](this[_0x29a027(0x123)]),this[_0x29a027(0x123)][_0x29a027(0x119)]()),this[_0x29a027(0x123)]=this[_0x29a027(0x153)](_0x24b5a0),this[_0x29a027(0x123)]&&this[_0x29a027(0x15e)][_0x29a027(0x165)](this[_0x29a027(0x123)]);}[_0x6f3060(0x153)](_0x33b78c){const _0x43b150=_0x6f3060;if(0x0==this[_0x43b150(0x15c)][_0x43b150(0x15b)])return null;const _0xafa5af=0x1===this[_0x43b150(0x15c)][_0x43b150(0x15b)]?this[_0x43b150(0x13a)](_0x33b78c):this[_0x43b150(0x136)](_0x33b78c),_0x33b5d5=this[_0x43b150(0x164)]?'':_0x43b150(0x11a);_0xafa5af[_0x43b150(0x137)]({'label':Ln(this[_0x43b150(0x15c)][0x0],_0x33b78c,this[_0x43b150(0x157)]),'tooltip':Un(this[_0x43b150(0x15c)][0x0],_0x33b78c,this[_0x43b150(0x157)]),'withText':!0x0,'class':_0x43b150(0x118)+_0x33b5d5});for(const _0x37fd6f of this[_0x43b150(0x15c)])_0xafa5af['on'](_0x37fd6f,()=>{const _0x5bb19d=_0x43b150;this[_0x5bb19d(0x140)](_0x37fd6f);});return this[_0x43b150(0x164)]=!0x1,_0xafa5af;}[_0x6f3060(0x13a)](_0x5456bb){const _0x59be82=_0x6f3060,_0x156a04=new _0x28b589(_0x5456bb);return _0x156a04[_0x59be82(0x137)]({'class':_0x59be82(0x128),'withText':!0x0}),_0x156a04['on'](_0x59be82(0x166),()=>{const _0x261c9b=_0x59be82;_0x156a04[_0x261c9b(0x140)](this[_0x261c9b(0x15c)][0x0]);}),_0x156a04;}[_0x6f3060(0x136)](_0x4c2c7e){const _0x4c0c3e=_0x6f3060,_0x1f4a3d=new yn(_0x4c2c7e,{'listItemModels':this[_0x4c0c3e(0x15c)][_0x4c0c3e(0x134)](_0x42f51e=>{const _0x13d550=_0x4c0c3e;switch(_0x42f51e){case _0x13d550(0x12c):return this[_0x13d550(0x169)];case _0x13d550(0x130):return this[_0x13d550(0x154)];case _0x13d550(0x132):return this[_0x13d550(0x129)];}})});return _0x1f4a3d[_0x4c0c3e(0x137)]({'label':Ln(this[_0x4c0c3e(0x15c)][0x0],_0x4c2c7e,this[_0x4c0c3e(0x157)]),'tooltip':Un(this[_0x4c0c3e(0x15c)][0x0],_0x4c2c7e,this[_0x4c0c3e(0x157)]),'withText':!0x0,'class':_0x4c0c3e(0x11d),'balloonPanelClass':_0x4c0c3e(0x11c)}),_0x1f4a3d[_0x4c0c3e(0x16f)](_0x4c0c3e(0x127))['to'](this),_0x1f4a3d;}[_0x6f3060(0x142)](_0x32b3bb){const _0x167864=_0x6f3060,_0x2bf87a=this[_0x167864(0x144)];this[_0x167864(0x157)]=_0x32b3bb||this[_0x167864(0x157)],this[_0x167864(0x123)][_0x167864(0x137)]({'label':Ln(this[_0x167864(0x15c)][0x0],_0x2bf87a,this[_0x167864(0x157)]),'tooltip':Un(this[_0x167864(0x15c)][0x0],_0x2bf87a,this[_0x167864(0x157)])}),this[_0x167864(0x169)][_0x167864(0x135)]=Ln(_0x167864(0x12c),_0x2bf87a,this[_0x167864(0x157)]),this[_0x167864(0x154)][_0x167864(0x135)]=Ln(_0x167864(0x130),_0x2bf87a,this[_0x167864(0x157)]),this[_0x167864(0x129)][_0x167864(0x135)]=Ln(_0x167864(0x132),_0x2bf87a,this[_0x167864(0x157)]);}}class yn extends _0x3eaecc{[_0x6f3060(0x14d)];[_0x6f3060(0x16c)];[_0x6f3060(0x138)];[_0x6f3060(0x14a)];constructor(_0x59680e,_0x5a6361){const _0x131ee8=_0x6f3060;super(_0x59680e),this[_0x131ee8(0x16c)]=new _0x224c25(this[_0x131ee8(0x144)]),this[_0x131ee8(0x14d)]=new _0x1d93bb(this[_0x131ee8(0x144)]),this[_0x131ee8(0x14d)][_0x131ee8(0x163)](),this[_0x131ee8(0x137)](_0x131ee8(0x122),''),this[_0x131ee8(0x16c)][_0x131ee8(0x16f)](_0x131ee8(0x12f))['to'](this,_0x131ee8(0x122)),this[_0x131ee8(0x138)]=this[_0x131ee8(0x116)](_0x5a6361[_0x131ee8(0x117)][_0x131ee8(0x150)](0x1)),this[_0x131ee8(0x14d)][_0x131ee8(0x165)](this[_0x131ee8(0x16c)]),this[_0x131ee8(0x16c)][_0x131ee8(0x13b)][_0x131ee8(0x165)](this[_0x131ee8(0x138)]),this[_0x131ee8(0x16d)][_0x131ee8(0x12b)](_0x131ee8(0x167)),this[_0x131ee8(0x16d)][_0x131ee8(0x137)](_0x131ee8(0x167),_0x11ab61(this[_0x131ee8(0x144)],_0x131ee8(0x15d))),this[_0x131ee8(0x145)](),this['on'](_0x131ee8(0x166),()=>{const _0x4cfba4=_0x131ee8,_0x1a5cf0=_0x5a6361[_0x4cfba4(0x117)][0x0][_0x4cfba4(0x14c)];this[_0x4cfba4(0x140)](_0x1a5cf0),this[_0x4cfba4(0x16c)][_0x4cfba4(0x151)](),this[_0x4cfba4(0x16d)][_0x4cfba4(0x146)]();}),this['on'](_0x131ee8(0x125),()=>{const _0x55d225=_0x131ee8;this[_0x55d225(0x16c)][_0x55d225(0x11e)]?(this[_0x55d225(0x16c)][_0x55d225(0x151)](),this[_0x55d225(0x16d)][_0x55d225(0x146)]()):(this[_0x55d225(0x16c)][_0x55d225(0x133)]({'target':this[_0x55d225(0x13c)],'positions':[_0x55d225(0x139)===this[_0x55d225(0x144)][_0x55d225(0x149)]?Pn:Hn]}),this[_0x55d225(0x138)][_0x55d225(0x146)]());}),_0x59c890({'emitter':this[_0x131ee8(0x16c)],'callback':()=>{const _0x482783=_0x131ee8;this[_0x482783(0x16c)][_0x482783(0x151)]();},'activator':()=>this[_0x131ee8(0x16c)][_0x131ee8(0x11e)],'contextElements':()=>[this[_0x131ee8(0x13c)],this[_0x131ee8(0x16c)][_0x131ee8(0x13c)]]});}[_0x6f3060(0x116)](_0x14e329){const _0x51d90c=_0x6f3060,_0x525b12=this[_0x51d90c(0x144)],_0x46d291=new _0x57096a(_0x525b12);for(const _0x1cec2f of _0x14e329){const _0x739ce0=new _0x576e98(_0x525b12),_0x431b03=new _0x1f62cc(_0x525b12);_0x431b03[_0x51d90c(0x16f)](...Object[_0x51d90c(0x121)](_0x1cec2f))['to'](_0x1cec2f),_0x431b03[_0x51d90c(0x141)](_0x51d90c(0x166))['to'](_0x46d291),_0x739ce0[_0x51d90c(0x15e)][_0x51d90c(0x165)](_0x431b03),_0x46d291[_0x51d90c(0x15f)][_0x51d90c(0x165)](_0x739ce0);}return _0x46d291[_0x51d90c(0x15f)][_0x51d90c(0x141)](_0x51d90c(0x166))['to'](this),_0x46d291['on'](_0x51d90c(0x166),_0x30707e=>{const _0x1cdbdb=_0x51d90c,_0xeca95c=_0x30707e[_0x1cdbdb(0x16b)];this[_0x1cdbdb(0x140)](_0xeca95c[_0x1cdbdb(0x14c)]),this[_0x1cdbdb(0x16c)][_0x1cdbdb(0x151)](),this[_0x1cdbdb(0x16d)][_0x1cdbdb(0x146)]();}),_0x46d291;}[_0x6f3060(0x145)](){const _0x58712e=_0x6f3060;this[_0x58712e(0x14a)]=new _0x14eb9c(),this[_0x58712e(0x14a)][_0x58712e(0x14f)](this[_0x58712e(0x16c)][_0x58712e(0x13c)]),this[_0x58712e(0x14a)][_0x58712e(0x137)](_0x58712e(0x126),(_0x419738,_0x3f9aee)=>{const _0x29b611=_0x58712e;this[_0x29b611(0x16c)][_0x29b611(0x151)](),this[_0x29b611(0x16d)][_0x29b611(0x146)](),_0x3f9aee();});}[_0x6f3060(0x119)](){const _0x31dc29=_0x6f3060;super[_0x31dc29(0x119)](),this[_0x31dc29(0x14a)][_0x31dc29(0x119)](),this[_0x31dc29(0x16c)][_0x31dc29(0x119)](),this[_0x31dc29(0x14d)][_0x31dc29(0x173)]();}}function Pn(_0x29bd9f){const _0x58a9df=_0x6f3060;return{'top':_0x29bd9f[_0x58a9df(0x12e)],'left':_0x29bd9f[_0x58a9df(0x152)],'name':_0x58a9df(0x124),'config':{'withArrow':!0x1}};}function Hn(_0x1e83fe,_0x461d5){const _0x615059=_0x6f3060;return{'top':_0x1e83fe[_0x615059(0x12e)],'left':_0x1e83fe[_0x615059(0x152)]-(_0x461d5[_0x615059(0x170)]-_0x1e83fe[_0x615059(0x170)]),'name':_0x615059(0x124),'config':{'withArrow':!0x1}};}function Ln(_0x2607e7,_0x4816c3,_0x3092cf){const _0x3fafd3=_0x6f3060;switch(_0x2607e7){case _0x3fafd3(0x12c):return _0x11ab61(_0x4816c3,_0x3fafd3(0x158),_0x3092cf);case _0x3fafd3(0x130):return _0x11ab61(_0x4816c3,_0x3fafd3(0x120),_0x3092cf);case _0x3fafd3(0x132):return _0x11ab61(_0x4816c3,_0x3fafd3(0x11f),_0x3092cf);}}function Un(_0x27420f,_0x43b6b1,_0x5a502f){const _0x2847d4=_0x6f3060;switch(_0x27420f){case _0x2847d4(0x12c):return _0x11ab61(_0x43b6b1,_0x2847d4(0x14b),_0x5a502f);case _0x2847d4(0x130):return _0x11ab61(_0x43b6b1,_0x2847d4(0x148),_0x5a502f);case _0x2847d4(0x132):return _0x11ab61(_0x43b6b1,_0x2847d4(0x168),_0x5a502f);}}
23
+ const _0x59c090=_0x1b28;(function(_0x43553d,_0x34189b){const _0x258702=_0x1b28,_0x5133ab=_0x43553d();while(!![]){try{const _0x59b6bc=parseInt(_0x258702(0xfb))/0x1+parseInt(_0x258702(0x11e))/0x2+parseInt(_0x258702(0xf1))/0x3*(parseInt(_0x258702(0x110))/0x4)+-parseInt(_0x258702(0x10c))/0x5+parseInt(_0x258702(0xf4))/0x6*(-parseInt(_0x258702(0x104))/0x7)+parseInt(_0x258702(0xdc))/0x8*(-parseInt(_0x258702(0xe7))/0x9)+-parseInt(_0x258702(0xdb))/0xa*(-parseInt(_0x258702(0xce))/0xb);if(_0x59b6bc===_0x34189b)break;else _0x5133ab['push'](_0x5133ab['shift']());}catch(_0x2bfc12){_0x5133ab['push'](_0x5133ab['shift']());}}}(_0x60cf,0xdec41));import{KeystrokeHandler as _0x2965e1}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x139a3c,BodyCollection as _0x53b843,ButtonView as _0xf1272f,clickOutsideHandler as _0x5e91a1,ListItemButtonView as _0x2bcbae,ListItemView as _0x227ac6,ListView as _0x44e250,SplitButtonView as _0x352f3a,UIModel as _0x6f7c05,View as _0x4cec0a}from'ckeditor5/src/ui.js';function _0x1b28(_0x5c15e0,_0x305dbf){const _0x60cf6f=_0x60cf();return _0x1b28=function(_0x1b28a3,_0xd20037){_0x1b28a3=_0x1b28a3-0xcd;let _0x39cd19=_0x60cf6f[_0x1b28a3];return _0x39cd19;},_0x1b28(_0x5c15e0,_0x305dbf);}import{IconCheck as _0x2d4903,IconAddComment as _0x2db48c,IconDocumentWithLoupe as _0x52e340}from'ckeditor5/src/icons.js';import{getTranslation as _0x5297aa}from'../../../aicore/utils/common-translations.js';function _0x60cf(){const _0x331bb2=['_createActionsButton','_dropdownCurrentConfig','_dropdownOriginalConfig','slice','339666gZCNDp','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','locale','6JOLjMd','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','set','arrowless','pin','uiLanguageDirection','destroy','283822WxLJhW','bottom','_updateDropdownActions','execute','hide','children','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','ck-ai-chat__feed__ai-suggestion__actions\x20','tooltip','11310215obhXPp','ck-ai-chat__feed__ai-suggestion__actions--no-animation','_setUpKeystrokes','bodyCollection','bind','delegate','_createActionsDropdown','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','5477860OoRXeo','ltr','detachFromDom','actionName','60FWJOFL','setTemplate','keystrokeHandler','_createActionsDropdownOrButton','fire','keys','open','content','actionsButton','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','_firstRender','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','width','class','1415736kPuNaO','isVisible','showChangeInTextModel','label','filter','applySuggestionModel','isEnabled','div','insertSuggestion','balloonPanelView','ck-ai-chat__feed__ai-suggestion__actions','change:isTrackChangesOn','arrowView','bindTemplate','items','has','source','2816hcAGJY','ck-hidden','ck-ai-chat__feed__ai-suggestion__actions__balloon','_partsCount','remove','attachToDom','_setUpList','listenTo','showChangeInText','esc','updateLabels','focus','createCollection','102610GOcRqp','6772280blmmOQ','element','length','listView','unbind','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','isTrackChangesOn','left','ck-ai-button-primary','map','button','18YaPQGk','listItemModels','balloonPanelClass','applySuggestion','add','insertSuggestionModel'];_0x60cf=function(){return _0x331bb2;};return _0x60cf();}export const AI_REPLY_ACTIONS=[_0x59c090(0xea),_0x59c090(0x126),_0x59c090(0xd6)];export class AIChatFeedSuggestionItemActionsView extends _0x4cec0a{[_0x59c090(0x118)];[_0x59c090(0x100)];[_0x59c090(0x123)];[_0x59c090(0x120)];[_0x59c090(0xec)];[_0x59c090(0xd1)]=0x1;[_0x59c090(0xef)];[_0x59c090(0xee)];[_0x59c090(0x11a)]=!0x0;constructor(_0x3c2f45,_0x415a4a){const _0x50068f=_0x59c090;super(_0x3c2f45),this[_0x50068f(0xef)]=_0x415a4a||[...AI_REPLY_ACTIONS],this[_0x50068f(0xee)]=[...this[_0x50068f(0xef)]];const _0x3c5c7a=this[_0x50068f(0x12b)];this[_0x50068f(0xf6)](_0x50068f(0x124),!0x0),this[_0x50068f(0xf6)](_0x50068f(0x11f),!0x0),this[_0x50068f(0xf6)](_0x50068f(0xe2),!0x1),this[_0x50068f(0x123)]=new _0x6f7c05({'label':Pn(_0x50068f(0xea),_0x3c2f45,this[_0x50068f(0xd1)]),'icon':_0x2d4903,'withText':!0x0,'type':_0x50068f(0xe6),'actionName':_0x50068f(0xea)}),this[_0x50068f(0x120)]=new _0x6f7c05({'label':Pn(_0x50068f(0xd6),_0x3c2f45,this[_0x50068f(0xd1)]),'icon':_0x52e340,'withText':!0x0,'type':_0x50068f(0xe6),'actionName':_0x50068f(0xd6)}),this[_0x50068f(0xec)]=new _0x6f7c05({'label':Pn(_0x50068f(0x126),_0x3c2f45,this[_0x50068f(0xd1)]),'icon':_0x2db48c,'withText':!0x0,'type':_0x50068f(0xe6),'actionName':_0x50068f(0x126)}),this[_0x50068f(0x118)]=this[_0x50068f(0x113)](_0x3c2f45),this[_0x50068f(0x100)]=this[_0x50068f(0xda)](),this[_0x50068f(0x118)]&&this[_0x50068f(0x100)][_0x50068f(0xeb)](this[_0x50068f(0x118)]),this[_0x50068f(0x111)]({'tag':_0x50068f(0x125),'attributes':{'class':['ck',_0x50068f(0x128),_0x3c5c7a['if'](_0x50068f(0x11f),_0x50068f(0xcf),_0x1b4f95=>!_0x1b4f95)]},'children':this[_0x50068f(0x100)]}),this['on'](_0x50068f(0x129),()=>{const _0x6c451b=_0x50068f;this[_0x6c451b(0xee)]=this[_0x6c451b(0xe2)]?this[_0x6c451b(0xef)][_0x6c451b(0x122)](_0x237ec6=>_0x6c451b(0xea)!==_0x237ec6):[...this[_0x6c451b(0xef)]],this[_0x6c451b(0xfd)](_0x3c2f45);});}[_0x59c090(0xfd)](_0x3e86f8){const _0x48ae34=_0x59c090;this[_0x48ae34(0x118)]&&this[_0x48ae34(0x100)][_0x48ae34(0x12d)](this[_0x48ae34(0x118)])&&(this[_0x48ae34(0x100)][_0x48ae34(0xd2)](this[_0x48ae34(0x118)]),this[_0x48ae34(0x118)][_0x48ae34(0xfa)]()),this[_0x48ae34(0x118)]=this[_0x48ae34(0x113)](_0x3e86f8),this[_0x48ae34(0x118)]&&this[_0x48ae34(0x100)][_0x48ae34(0xeb)](this[_0x48ae34(0x118)]);}[_0x59c090(0x113)](_0xbb130c){const _0x24a668=_0x59c090;if(0x0==this[_0x24a668(0xee)][_0x24a668(0xde)])return null;const _0x665b80=0x1===this[_0x24a668(0xee)][_0x24a668(0xde)]?this[_0x24a668(0xed)](_0xbb130c):this[_0x24a668(0x10a)](_0xbb130c),_0x5e71f9=this[_0x24a668(0x11a)]?'':_0x24a668(0x105);_0x665b80[_0x24a668(0xf6)]({'label':Pn(this[_0x24a668(0xee)][0x0],_0xbb130c,this[_0x24a668(0xd1)]),'tooltip':Hn(this[_0x24a668(0xee)][0x0],_0xbb130c,this[_0x24a668(0xd1)]),'withText':!0x0,'class':_0x24a668(0x102)+_0x5e71f9});for(const _0x2abb46 of this[_0x24a668(0xee)])_0x665b80['on'](_0x2abb46,()=>{const _0x5e27ca=_0x24a668;this[_0x5e27ca(0x114)](_0x2abb46);});return this[_0x24a668(0x11a)]=!0x1,_0x665b80;}[_0x59c090(0xed)](_0x9fcc2e){const _0x1dce63=_0x59c090,_0x3b8948=new _0xf1272f(_0x9fcc2e);return _0x3b8948[_0x1dce63(0xf6)]({'class':_0x1dce63(0xe4),'withText':!0x0}),_0x3b8948['on'](_0x1dce63(0xfe),()=>{const _0x34b817=_0x1dce63;_0x3b8948[_0x34b817(0x114)](this[_0x34b817(0xee)][0x0]);}),_0x3b8948;}[_0x59c090(0x10a)](_0x383f67){const _0x59ae77=_0x59c090,_0x9919b9=new Nn(_0x383f67,{'listItemModels':this[_0x59ae77(0xee)][_0x59ae77(0xe5)](_0x49a1c6=>{const _0x456848=_0x59ae77;switch(_0x49a1c6){case _0x456848(0xea):return this[_0x456848(0x123)];case _0x456848(0xd6):return this[_0x456848(0x120)];case _0x456848(0x126):return this[_0x456848(0xec)];}})});return _0x9919b9[_0x59ae77(0xf6)]({'label':Pn(this[_0x59ae77(0xee)][0x0],_0x383f67,this[_0x59ae77(0xd1)]),'tooltip':Hn(this[_0x59ae77(0xee)][0x0],_0x383f67,this[_0x59ae77(0xd1)]),'withText':!0x0,'class':_0x59ae77(0x128),'balloonPanelClass':_0x59ae77(0xd0)}),_0x9919b9[_0x59ae77(0x108)](_0x59ae77(0x124))['to'](this),_0x9919b9;}[_0x59c090(0xd8)](_0x4bc5a2){const _0x4c4097=_0x59c090,_0x18c7e0=this[_0x4c4097(0xf3)];this[_0x4c4097(0xd1)]=_0x4bc5a2||this[_0x4c4097(0xd1)],this[_0x4c4097(0x118)][_0x4c4097(0xf6)]({'label':Pn(this[_0x4c4097(0xee)][0x0],_0x18c7e0,this[_0x4c4097(0xd1)]),'tooltip':Hn(this[_0x4c4097(0xee)][0x0],_0x18c7e0,this[_0x4c4097(0xd1)])}),this[_0x4c4097(0x123)][_0x4c4097(0x121)]=Pn(_0x4c4097(0xea),_0x18c7e0,this[_0x4c4097(0xd1)]),this[_0x4c4097(0x120)][_0x4c4097(0x121)]=Pn(_0x4c4097(0xd6),_0x18c7e0,this[_0x4c4097(0xd1)]),this[_0x4c4097(0xec)][_0x4c4097(0x121)]=Pn(_0x4c4097(0x126),_0x18c7e0,this[_0x4c4097(0xd1)]);}}class Nn extends _0x352f3a{[_0x59c090(0x107)];[_0x59c090(0x127)];[_0x59c090(0xdf)];[_0x59c090(0x112)];constructor(_0x3bb295,_0x48cc47){const _0x37b90a=_0x59c090;super(_0x3bb295),this[_0x37b90a(0x127)]=new _0x139a3c(this[_0x37b90a(0xf3)]),this[_0x37b90a(0x107)]=new _0x53b843(this[_0x37b90a(0xf3)]),this[_0x37b90a(0x107)][_0x37b90a(0xd3)](),this[_0x37b90a(0xf6)](_0x37b90a(0xe9),''),this[_0x37b90a(0x127)][_0x37b90a(0x108)](_0x37b90a(0x11d))['to'](this,_0x37b90a(0xe9)),this[_0x37b90a(0xdf)]=this[_0x37b90a(0xd4)](_0x48cc47[_0x37b90a(0xe8)][_0x37b90a(0xf0)](0x1)),this[_0x37b90a(0x107)][_0x37b90a(0xeb)](this[_0x37b90a(0x127)]),this[_0x37b90a(0x127)][_0x37b90a(0x117)][_0x37b90a(0xeb)](this[_0x37b90a(0xdf)]),this[_0x37b90a(0x12a)][_0x37b90a(0xe0)](_0x37b90a(0x103)),this[_0x37b90a(0x12a)][_0x37b90a(0xf6)](_0x37b90a(0x103),_0x5297aa(this[_0x37b90a(0xf3)],_0x37b90a(0x11b))),this[_0x37b90a(0x106)](),this['on'](_0x37b90a(0xfe),()=>{const _0x379a1f=_0x37b90a,_0x45051b=_0x48cc47[_0x379a1f(0xe8)][0x0][_0x379a1f(0x10f)];this[_0x379a1f(0x114)](_0x45051b),this[_0x379a1f(0x127)][_0x379a1f(0xff)](),this[_0x379a1f(0x12a)][_0x379a1f(0xd9)]();}),this['on'](_0x37b90a(0x116),()=>{const _0x21cb1e=_0x37b90a;this[_0x21cb1e(0x127)][_0x21cb1e(0x11f)]?(this[_0x21cb1e(0x127)][_0x21cb1e(0xff)](),this[_0x21cb1e(0x12a)][_0x21cb1e(0xd9)]()):(this[_0x21cb1e(0x127)][_0x21cb1e(0xf8)]({'target':this[_0x21cb1e(0xdd)],'positions':[_0x21cb1e(0x10d)===this[_0x21cb1e(0xf3)][_0x21cb1e(0xf9)]?Gn:yn]}),this[_0x21cb1e(0xdf)][_0x21cb1e(0xd9)]());}),_0x5e91a1({'emitter':this[_0x37b90a(0x127)],'callback':()=>{const _0x26d274=_0x37b90a;this[_0x26d274(0x127)][_0x26d274(0xff)]();},'activator':()=>this[_0x37b90a(0x127)][_0x37b90a(0x11f)],'contextElements':()=>[this[_0x37b90a(0xdd)],this[_0x37b90a(0x127)][_0x37b90a(0xdd)]]});}[_0x59c090(0xd4)](_0x13d896){const _0x3c6514=_0x59c090,_0x28c420=this[_0x3c6514(0xf3)],_0x3ab2f9=new _0x44e250(_0x28c420);for(const _0x46b97f of _0x13d896){const _0x34bb4b=new _0x227ac6(_0x28c420),_0x2d7894=new _0x2bcbae(_0x28c420);_0x2d7894[_0x3c6514(0x108)](...Object[_0x3c6514(0x115)](_0x46b97f))['to'](_0x46b97f),_0x2d7894[_0x3c6514(0x109)](_0x3c6514(0xfe))['to'](_0x3ab2f9),_0x34bb4b[_0x3c6514(0x100)][_0x3c6514(0xeb)](_0x2d7894),_0x3ab2f9[_0x3c6514(0x12c)][_0x3c6514(0xeb)](_0x34bb4b);}return _0x3ab2f9[_0x3c6514(0x12c)][_0x3c6514(0x109)](_0x3c6514(0xfe))['to'](this),_0x3ab2f9['on'](_0x3c6514(0xfe),_0x32ba94=>{const _0x335edd=_0x3c6514,_0x4e0993=_0x32ba94[_0x335edd(0xcd)];this[_0x335edd(0x114)](_0x4e0993[_0x335edd(0x10f)]),this[_0x335edd(0x127)][_0x335edd(0xff)](),this[_0x335edd(0x12a)][_0x335edd(0xd9)]();}),_0x3ab2f9;}[_0x59c090(0x106)](){const _0x4d462b=_0x59c090;this[_0x4d462b(0x112)]=new _0x2965e1(),this[_0x4d462b(0x112)][_0x4d462b(0xd5)](this[_0x4d462b(0x127)][_0x4d462b(0xdd)]),this[_0x4d462b(0x112)][_0x4d462b(0xf6)](_0x4d462b(0xd7),(_0x29648b,_0x1794e8)=>{const _0xf08930=_0x4d462b;this[_0xf08930(0x127)][_0xf08930(0xff)](),this[_0xf08930(0x12a)][_0xf08930(0xd9)](),_0x1794e8();});}[_0x59c090(0xfa)](){const _0x168832=_0x59c090;super[_0x168832(0xfa)](),this[_0x168832(0x112)][_0x168832(0xfa)](),this[_0x168832(0x127)][_0x168832(0xfa)](),this[_0x168832(0x107)][_0x168832(0x10e)]();}}function Gn(_0x205ff6){const _0x2e8bcc=_0x59c090;return{'top':_0x205ff6[_0x2e8bcc(0xfc)],'left':_0x205ff6[_0x2e8bcc(0xe3)],'name':_0x2e8bcc(0xf7),'config':{'withArrow':!0x1}};}function yn(_0x4b61d8,_0x4164f7){const _0x515042=_0x59c090;return{'top':_0x4b61d8[_0x515042(0xfc)],'left':_0x4b61d8[_0x515042(0xe3)]-(_0x4164f7[_0x515042(0x11c)]-_0x4b61d8[_0x515042(0x11c)]),'name':_0x515042(0xf7),'config':{'withArrow':!0x1}};}function Pn(_0x1dec6c,_0x4511cd,_0x15725c){const _0x2f12c8=_0x59c090;switch(_0x1dec6c){case _0x2f12c8(0xea):return _0x5297aa(_0x4511cd,_0x2f12c8(0xf2),_0x15725c);case _0x2f12c8(0xd6):return _0x5297aa(_0x4511cd,_0x2f12c8(0x119),_0x15725c);case _0x2f12c8(0x126):return _0x5297aa(_0x4511cd,_0x2f12c8(0xf5),_0x15725c);}}function Hn(_0x6b77c1,_0x5c884f,_0x2e391b){const _0x1a4ca4=_0x59c090;switch(_0x6b77c1){case _0x1a4ca4(0xea):return _0x5297aa(_0x5c884f,_0x1a4ca4(0x10b),_0x2e391b);case _0x1a4ca4(0xd6):return _0x5297aa(_0x5c884f,_0x1a4ca4(0xe1),_0x2e391b);case _0x1a4ca4(0x126):return _0x5297aa(_0x5c884f,_0x1a4ca4(0x101),_0x2e391b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x387a24=_0xd041;function _0xd041(_0xfc41a7,_0xac4ed7){var _0x3a6616=_0x3a66();return _0xd041=function(_0xd041bc,_0x1f8471){_0xd041bc=_0xd041bc-0x13b;var _0x501e1c=_0x3a6616[_0xd041bc];return _0x501e1c;},_0xd041(_0xfc41a7,_0xac4ed7);}(function(_0x5e2bed,_0x5eff6d){var _0x53a114=_0xd041,_0xbd8d05=_0x5e2bed();while(!![]){try{var _0x5e3361=parseInt(_0x53a114(0x147))/0x1*(-parseInt(_0x53a114(0x159))/0x2)+parseInt(_0x53a114(0x144))/0x3*(-parseInt(_0x53a114(0x146))/0x4)+-parseInt(_0x53a114(0x143))/0x5*(-parseInt(_0x53a114(0x14e))/0x6)+parseInt(_0x53a114(0x158))/0x7+-parseInt(_0x53a114(0x145))/0x8+parseInt(_0x53a114(0x162))/0x9+-parseInt(_0x53a114(0x15d))/0xa*(-parseInt(_0x53a114(0x14d))/0xb);if(_0x5e3361===_0x5eff6d)break;else _0xbd8d05['push'](_0xbd8d05['shift']());}catch(_0x4c4b0c){_0xbd8d05['push'](_0xbd8d05['shift']());}}}(_0x3a66,0xf3b01));import{AIChatFeedItemView as _0x52c5e9}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x56b08a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x3a66(){var _0x7e6a6d=['945812BxdZUX','28CxWQaY','bind','showDiff','isEnabled','27751120tWcUIs','insertSuggestion','dislike','updatePartState','bodyView','5408649tnOjKE','like','options','updateSources','mouseLeaveSuggestion','hasNonEmptyParts','updateLabels','containerView','rejectSuggestion','toggleSuggestionDisplayMode','areActionsDisabled','partsCount','isVisible','updateContent','fire','8130815eRSQYn','1201224ciBgir','15269736ifbSSj','12CcNMOK','73519zmsKHW','hasPendingParts','showChangeInText','isTrackChangesOn','applySuggestion','children','11ykeXWP','6cBSJjk','set','actionsView','extendTemplate','markAsDone','getPartView','mouseOverSuggestion','ck-ai-chat__feed__ai-suggestion','availableActions','addMany'];_0x3a66=function(){return _0x7e6a6d;};return _0x3a66();}import{AIChatFeedSuggestionItemActionsView as _0x2ae2e9}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x52c5e9{[_0x387a24(0x13b)];[_0x387a24(0x150)];constructor(_0x2cf398,_0xf198,_0x2b84aa){var _0x4ae8a5=_0x387a24;super(_0xf198),this[_0x4ae8a5(0x14f)](_0x4ae8a5(0x14a),!0x1),this[_0x4ae8a5(0x13b)]=new _0x56b08a(_0x2cf398,{'showDiff':_0xf198[_0x4ae8a5(0x15b)],'areActionsDisabled':_0xf198[_0x4ae8a5(0x13e)],'availableActions':_0xf198[_0x4ae8a5(0x156)]},_0x2b84aa),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x13d),(_0x1ca974,_0x268c01)=>{var _0x1be12c=_0x4ae8a5;this[_0x1be12c(0x142)](_0x1be12c(0x13d),{'replyId':this[_0x1be12c(0x164)]['id'],'showDiff':_0x268c01[_0x1be12c(0x15b)]});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x163),()=>{var _0x4f3b0b=_0x4ae8a5;this[_0x4f3b0b(0x142)](_0x4f3b0b(0x163),{'replyId':this[_0x4f3b0b(0x164)]['id']});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x15f),()=>{var _0x4cdb4d=_0x4ae8a5;this[_0x4cdb4d(0x142)](_0x4cdb4d(0x15f),{'replyId':this[_0x4cdb4d(0x164)]['id']});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x149),(_0x27f9f9,{index:_0xb04021})=>{var _0x49b513=_0x4ae8a5;this[_0x49b513(0x142)](_0x49b513(0x149),{'replyId':this[_0x49b513(0x164)]['id'],'partIndex':_0xb04021});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x15e),(_0x1d391d,{index:_0x39ad23})=>{var _0x121ac9=_0x4ae8a5;this[_0x121ac9(0x142)](_0x121ac9(0x15e),{'replyId':this[_0x121ac9(0x164)]['id'],'partIndex':_0x39ad23});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x13c),(_0x5f53ec,{index:_0xd6eea6})=>{var _0x603c28=_0x4ae8a5;this[_0x603c28(0x142)](_0x603c28(0x13c),{'replyId':this[_0x603c28(0x164)]['id'],'partIndex':_0xd6eea6});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x154),(_0x8dff10,{index:_0x464f3d})=>{var _0x377186=_0x4ae8a5;this[_0x377186(0x142)](_0x377186(0x154),{'replyId':this[_0x377186(0x164)]['id'],'partIndex':_0x464f3d});}),this[_0x4ae8a5(0x13b)]['on'](_0x4ae8a5(0x166),(_0x4c3dd5,{index:_0x1a096f})=>{var _0x413629=_0x4ae8a5;this[_0x413629(0x142)](_0x413629(0x166),{'replyId':this[_0x413629(0x164)]['id'],'partIndex':_0x1a096f});}),this[_0x4ae8a5(0x150)]=new _0x2ae2e9(_0x2cf398,this[_0x4ae8a5(0x164)][_0x4ae8a5(0x156)]),this[_0x4ae8a5(0x150)][_0x4ae8a5(0x15a)](_0x4ae8a5(0x14a))['to'](this,_0x4ae8a5(0x14a)),this[_0x4ae8a5(0x150)]['on'](_0x4ae8a5(0x149),()=>{var _0x2240ca=_0x4ae8a5;this[_0x2240ca(0x142)](_0x2240ca(0x149),{'replyId':this[_0x2240ca(0x164)]['id']});}),this[_0x4ae8a5(0x150)]['on'](_0x4ae8a5(0x15e),()=>{var _0x731797=_0x4ae8a5;this[_0x731797(0x142)](_0x731797(0x15e),{'replyId':this[_0x731797(0x164)]['id']});}),this[_0x4ae8a5(0x150)]['on'](_0x4ae8a5(0x14b),()=>{var _0x5ba302=_0x4ae8a5;this[_0x5ba302(0x142)](_0x5ba302(0x14b),{'replyId':this[_0x5ba302(0x164)]['id']});}),_0xf198[_0x4ae8a5(0x13e)]?this[_0x4ae8a5(0x150)][_0x4ae8a5(0x15c)]=!0x1:this[_0x4ae8a5(0x150)][_0x4ae8a5(0x15a)](_0x4ae8a5(0x15c))['to'](this[_0x4ae8a5(0x13b)][_0x4ae8a5(0x161)],_0x4ae8a5(0x148)),this[_0x4ae8a5(0x14c)][_0x4ae8a5(0x157)]([this[_0x4ae8a5(0x13b)],this[_0x4ae8a5(0x150)]]),this[_0x4ae8a5(0x151)]({'attributes':{'class':[_0x4ae8a5(0x155)]}});}async[_0x387a24(0x141)](_0x3d0602){var _0x171cf2=_0x387a24;await this[_0x171cf2(0x13b)][_0x171cf2(0x141)](_0x3d0602),this[_0x171cf2(0x150)][_0x171cf2(0x168)](this[_0x171cf2(0x13b)][_0x171cf2(0x161)][_0x171cf2(0x13f)]);}[_0x387a24(0x160)](_0x1954c5,_0x721c62){var _0x58509a=_0x387a24;this[_0x58509a(0x13b)][_0x58509a(0x161)][_0x58509a(0x160)](_0x1954c5,_0x721c62);}[_0x387a24(0x165)](_0x45b044){var _0x43ab27=_0x387a24;this[_0x43ab27(0x13b)][_0x43ab27(0x165)](_0x45b044);}[_0x387a24(0x153)](_0x466783){var _0x1dc7b5=_0x387a24;return this[_0x1dc7b5(0x13b)][_0x1dc7b5(0x161)][_0x1dc7b5(0x153)](_0x466783);}[_0x387a24(0x152)](){var _0xe78ed=_0x387a24;super[_0xe78ed(0x152)](),this[_0xe78ed(0x13b)][_0xe78ed(0x152)](),this[_0xe78ed(0x150)][_0xe78ed(0x140)]=this[_0xe78ed(0x13b)][_0xe78ed(0x161)][_0xe78ed(0x167)];}}
23
+ function _0x10e7(_0x33d2ed,_0x3b2d40){var _0x5aa1a4=_0x5aa1();return _0x10e7=function(_0x10e792,_0x2dc6b4){_0x10e792=_0x10e792-0x87;var _0x51188b=_0x5aa1a4[_0x10e792];return _0x51188b;},_0x10e7(_0x33d2ed,_0x3b2d40);}var _0x4a41d6=_0x10e7;(function(_0x56add8,_0x3b8477){var _0x5c4bcb=_0x10e7,_0x39aed1=_0x56add8();while(!![]){try{var _0x4c58b2=parseInt(_0x5c4bcb(0x8e))/0x1*(parseInt(_0x5c4bcb(0x87))/0x2)+parseInt(_0x5c4bcb(0x94))/0x3+parseInt(_0x5c4bcb(0xb3))/0x4+-parseInt(_0x5c4bcb(0xab))/0x5+parseInt(_0x5c4bcb(0x90))/0x6*(-parseInt(_0x5c4bcb(0xaa))/0x7)+-parseInt(_0x5c4bcb(0xac))/0x8*(parseInt(_0x5c4bcb(0xa1))/0x9)+-parseInt(_0x5c4bcb(0x9b))/0xa;if(_0x4c58b2===_0x3b8477)break;else _0x39aed1['push'](_0x39aed1['shift']());}catch(_0x3104e3){_0x39aed1['push'](_0x39aed1['shift']());}}}(_0x5aa1,0x45ac9));import{AIChatFeedItemView as _0x47ff39}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x2674ad}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x131faf}from'./aichatfeedsuggestionitemactionsview.js';function _0x5aa1(){var _0x599dab=['isTrackChangesOn','markAsDone','bind','addMany','isEnabled','264565CgKNnv','47020kKVNEa','30824cPedBQ','mouseOverSuggestion','partsCount','insertSuggestion','rejectSuggestion','set','toggleSuggestionDisplayMode','1589748wNUWTT','19828nLDFik','updateSources','showChangeInText','applySuggestion','options','updatePartState','isVisible','46AfEyYo','hasPendingParts','42UFPjhQ','hasNonEmptyParts','showDiff','bodyView','958911oCyklb','like','extendTemplate','dislike','mouseLeaveSuggestion','actionsView','updateLabels','6022050eXPELY','ck-ai-chat__feed__ai-suggestion','fire','updateContent','getPartView','areActionsDisabled','27OgfRzU','children','availableActions','containerView'];_0x5aa1=function(){return _0x599dab;};return _0x5aa1();}export class AIChatFeedSuggestionItemView extends _0x47ff39{[_0x4a41d6(0xa4)];[_0x4a41d6(0x99)];constructor(_0x109dd6,_0x56d327,_0x296d93){var _0x2a894a=_0x4a41d6;super(_0x56d327),this[_0x2a894a(0xb1)](_0x2a894a(0xa5),!0x1),this[_0x2a894a(0xa4)]=new _0x2674ad(_0x109dd6,{'showDiff':_0x56d327[_0x2a894a(0x92)],'areActionsDisabled':_0x56d327[_0x2a894a(0xa0)],'availableActions':_0x56d327[_0x2a894a(0xa3)]},_0x296d93),this[_0x2a894a(0xa4)]['on'](_0x2a894a(0xb2),(_0xe8ff13,_0x3b4d50)=>{var _0x4f6e25=_0x2a894a;this[_0x4f6e25(0x9d)](_0x4f6e25(0xb2),{'replyId':this[_0x4f6e25(0x8b)]['id'],'showDiff':_0x3b4d50[_0x4f6e25(0x92)]});}),this[_0x2a894a(0xa4)]['on'](_0x2a894a(0x95),()=>{var _0x477661=_0x2a894a;this[_0x477661(0x9d)](_0x477661(0x95),{'replyId':this[_0x477661(0x8b)]['id']});}),this[_0x2a894a(0xa4)]['on'](_0x2a894a(0x97),()=>{var _0x225888=_0x2a894a;this[_0x225888(0x9d)](_0x225888(0x97),{'replyId':this[_0x225888(0x8b)]['id']});}),this[_0x2a894a(0xa4)]['on'](_0x2a894a(0x89),(_0x2452f4,{index:_0x3e1978})=>{var _0x50c68c=_0x2a894a;this[_0x50c68c(0x9d)](_0x50c68c(0x89),{'replyId':this[_0x50c68c(0x8b)]['id'],'partIndex':_0x3e1978});}),this[_0x2a894a(0xa4)]['on'](_0x2a894a(0xaf),(_0x4ed080,{index:_0x5efac1})=>{var _0x3add61=_0x2a894a;this[_0x3add61(0x9d)](_0x3add61(0xaf),{'replyId':this[_0x3add61(0x8b)]['id'],'partIndex':_0x5efac1});}),this[_0x2a894a(0xa4)]['on'](_0x2a894a(0xb0),(_0x439628,{index:_0x3a1707})=>{var _0x2a553f=_0x2a894a;this[_0x2a553f(0x9d)](_0x2a553f(0xb0),{'replyId':this[_0x2a553f(0x8b)]['id'],'partIndex':_0x3a1707});}),this[_0x2a894a(0xa4)]['on'](_0x2a894a(0xad),(_0x479557,{index:_0x5393ff})=>{var _0x1c0b2d=_0x2a894a;this[_0x1c0b2d(0x9d)](_0x1c0b2d(0xad),{'replyId':this[_0x1c0b2d(0x8b)]['id'],'partIndex':_0x5393ff});}),this[_0x2a894a(0xa4)]['on'](_0x2a894a(0x98),(_0x5ee89f,{index:_0x265edd})=>{var _0xa8f886=_0x2a894a;this[_0xa8f886(0x9d)](_0xa8f886(0x98),{'replyId':this[_0xa8f886(0x8b)]['id'],'partIndex':_0x265edd});}),this[_0x2a894a(0x99)]=new _0x131faf(_0x109dd6,this[_0x2a894a(0x8b)][_0x2a894a(0xa3)]),this[_0x2a894a(0x99)][_0x2a894a(0xa7)](_0x2a894a(0xa5))['to'](this,_0x2a894a(0xa5)),this[_0x2a894a(0x99)]['on'](_0x2a894a(0x89),()=>{var _0x2639bb=_0x2a894a;this[_0x2639bb(0x9d)](_0x2639bb(0x89),{'replyId':this[_0x2639bb(0x8b)]['id']});}),this[_0x2a894a(0x99)]['on'](_0x2a894a(0xaf),()=>{var _0x17f8e0=_0x2a894a;this[_0x17f8e0(0x9d)](_0x17f8e0(0xaf),{'replyId':this[_0x17f8e0(0x8b)]['id']});}),this[_0x2a894a(0x99)]['on'](_0x2a894a(0x8a),()=>{var _0x2445fa=_0x2a894a;this[_0x2445fa(0x9d)](_0x2445fa(0x8a),{'replyId':this[_0x2445fa(0x8b)]['id']});}),_0x56d327[_0x2a894a(0xa0)]?this[_0x2a894a(0x99)][_0x2a894a(0xa9)]=!0x1:this[_0x2a894a(0x99)][_0x2a894a(0xa7)](_0x2a894a(0xa9))['to'](this[_0x2a894a(0xa4)][_0x2a894a(0x93)],_0x2a894a(0x8f)),this[_0x2a894a(0xa2)][_0x2a894a(0xa8)]([this[_0x2a894a(0xa4)],this[_0x2a894a(0x99)]]),this[_0x2a894a(0x96)]({'attributes':{'class':[_0x2a894a(0x9c)]}});}async[_0x4a41d6(0x9e)](_0x5519ee){var _0x2d79ad=_0x4a41d6;await this[_0x2d79ad(0xa4)][_0x2d79ad(0x9e)](_0x5519ee),this[_0x2d79ad(0x99)][_0x2d79ad(0x9a)](this[_0x2d79ad(0xa4)][_0x2d79ad(0x93)][_0x2d79ad(0xae)]);}[_0x4a41d6(0x8c)](_0x260ab6,_0x4e52c6){var _0x1057f2=_0x4a41d6;this[_0x1057f2(0xa4)][_0x1057f2(0x93)][_0x1057f2(0x8c)](_0x260ab6,_0x4e52c6);}[_0x4a41d6(0x88)](_0xf49328){var _0x3ebccd=_0x4a41d6;this[_0x3ebccd(0xa4)][_0x3ebccd(0x88)](_0xf49328);}[_0x4a41d6(0x9f)](_0x537e04){var _0x40061f=_0x4a41d6;return this[_0x40061f(0xa4)][_0x40061f(0x93)][_0x40061f(0x9f)](_0x537e04);}[_0x4a41d6(0xa6)](){var _0x248822=_0x4a41d6;super[_0x248822(0xa6)](),this[_0x248822(0xa4)][_0x248822(0xa6)](),this[_0x248822(0x99)][_0x248822(0x8d)]=this[_0x248822(0xa4)][_0x248822(0x93)][_0x248822(0x91)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x280cf7=_0x3e97;(function(_0x482902,_0x14d570){var _0x452ab=_0x3e97,_0x3edbba=_0x482902();while(!![]){try{var _0x4b7d63=-parseInt(_0x452ab(0x1f8))/0x1+-parseInt(_0x452ab(0x1f1))/0x2+parseInt(_0x452ab(0x1df))/0x3*(-parseInt(_0x452ab(0x1f0))/0x4)+-parseInt(_0x452ab(0x1ff))/0x5*(-parseInt(_0x452ab(0x1fc))/0x6)+parseInt(_0x452ab(0x1e7))/0x7*(parseInt(_0x452ab(0x1ef))/0x8)+parseInt(_0x452ab(0x1f6))/0x9*(parseInt(_0x452ab(0x1f7))/0xa)+-parseInt(_0x452ab(0x1e0))/0xb*(-parseInt(_0x452ab(0x1e5))/0xc);if(_0x4b7d63===_0x14d570)break;else _0x3edbba['push'](_0x3edbba['shift']());}catch(_0x505018){_0x3edbba['push'](_0x3edbba['shift']());}}}(_0x250b,0x66113));function _0x3e97(_0x274bf0,_0x1d3e30){var _0x250ba6=_0x250b();return _0x3e97=function(_0x3e9759,_0x3c3c38){_0x3e9759=_0x3e9759-0x1dd;var _0x2b5edf=_0x250ba6[_0x3e9759];return _0x2b5edf;},_0x3e97(_0x274bf0,_0x1d3e30);}import{AIChatFeedItemView as _0x24e5ea}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x5c52c9}from'./aichatfeedcontextchipsview.js';import{View as _0x14710b}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x24e5ea{[_0x280cf7(0x1fb)]=null;[_0x280cf7(0x1ed)];[_0x280cf7(0x1e9)];[_0x280cf7(0x1fe)];constructor(_0x5cf929,_0x530a81,_0x5cf583){var _0x36c9b8=_0x280cf7;super(_0x530a81),this[_0x36c9b8(0x1ed)]=_0x5cf929,this[_0x36c9b8(0x1e9)]=_0x5cf583,this[_0x36c9b8(0x1f4)](),this[_0x36c9b8(0x1ea)](),this[_0x36c9b8(0x1ec)]({'attributes':{'class':[_0x36c9b8(0x1e3)]}});}[_0x280cf7(0x1f4)](){var _0x22d474=_0x280cf7;this[_0x22d474(0x1f2)][_0x22d474(0x1fd)]&&this[_0x22d474(0x1f2)][_0x22d474(0x1fd)][_0x22d474(0x1e4)]>0x0&&(this[_0x22d474(0x1fb)]=new _0x5c52c9(this[_0x22d474(0x1ed)],this[_0x22d474(0x1f2)][_0x22d474(0x1fd)][_0x22d474(0x1f9)](_0x1d255b=>!_0x1d255b[_0x22d474(0x1e2)]),this[_0x22d474(0x1e9)]),this[_0x22d474(0x1fb)][_0x22d474(0x1ec)]({'attributes':{'class':_0x22d474(0x1eb)}}),this[_0x22d474(0x1e1)][_0x22d474(0x200)](this[_0x22d474(0x1fb)]));}[_0x280cf7(0x1ea)](){var _0x2c4d22=_0x280cf7;this[_0x2c4d22(0x1fe)]=new _0x14710b(this[_0x2c4d22(0x1ed)]),this[_0x2c4d22(0x1fe)][_0x2c4d22(0x1dd)]({'tag':_0x2c4d22(0x1e8),'attributes':{'class':_0x2c4d22(0x1fa)}}),this[_0x2c4d22(0x1e1)][_0x2c4d22(0x200)](this[_0x2c4d22(0x1fe)]);}[_0x280cf7(0x1e6)](){var _0x1c85ce=_0x280cf7;super[_0x1c85ce(0x1e6)](),this[_0x1c85ce(0x1fe)][_0x1c85ce(0x1ee)][_0x1c85ce(0x1f5)]=this[_0x1c85ce(0x1f2)][_0x1c85ce(0x1f3)],this[_0x1c85ce(0x1de)]();}}function _0x250b(){var _0x5f1570=['885348DPZewX','contextItems','_messageContentView','5hDppAz','add','setTemplate','markAsDone','3cEGJOT','37653BEjQfx','children','hidden','ck-ai-chat__feed__user-message','length','1476zmUnER','render','7nTuuJD','div','_bodyCollection','_createMessageContentView','ck-ai-chat__feed__context-chips','extendTemplate','_locale','element','182008BfnMUS','723516dpcEuN','221456JfvBqW','options','initialContent','_createContextChipsView','innerHTML','297tENSDo','111710QgeqZg','250307ygfaHN','filter','ck-ai-chat__feed__message-content','_contextChipsView'];_0x250b=function(){return _0x5f1570;};return _0x250b();}
23
+ var _0x31a3fa=_0x4760;(function(_0x5d4f3d,_0x587f00){var _0x115b15=_0x4760,_0x25edd1=_0x5d4f3d();while(!![]){try{var _0x2096a5=-parseInt(_0x115b15(0x11d))/0x1*(parseInt(_0x115b15(0x101))/0x2)+-parseInt(_0x115b15(0x11b))/0x3*(-parseInt(_0x115b15(0x102))/0x4)+-parseInt(_0x115b15(0x115))/0x5+-parseInt(_0x115b15(0x112))/0x6+-parseInt(_0x115b15(0x10f))/0x7+-parseInt(_0x115b15(0x113))/0x8*(-parseInt(_0x115b15(0x11f))/0x9)+-parseInt(_0x115b15(0x117))/0xa*(-parseInt(_0x115b15(0x10e))/0xb);if(_0x2096a5===_0x587f00)break;else _0x25edd1['push'](_0x25edd1['shift']());}catch(_0x5587ed){_0x25edd1['push'](_0x25edd1['shift']());}}}(_0x1e9a,0x2e402));import{AIChatFeedItemView as _0x26f2ec}from'./aichatfeeditemview.js';function _0x4760(_0x2403aa,_0x38569c){var _0x1e9a95=_0x1e9a();return _0x4760=function(_0x476096,_0x168c3a){_0x476096=_0x476096-0x100;var _0x380ef3=_0x1e9a95[_0x476096];return _0x380ef3;},_0x4760(_0x2403aa,_0x38569c);}import{AIChatFeedContextChipsView as _0x36fd4f}from'./aichatfeedcontextchipsview.js';function _0x1e9a(){var _0x1dc40d=['ck-ai-chat__feed__message-content','options','_createContextChipsView','extendTemplate','646922hPOuIQ','1472qyDxHe','add','render','div','_messageContentView','children','_contextChipsView','innerHTML','hidden','markAsDone','setTemplate','length','561VdefwT','2356333XmAQet','initialContent','ck-ai-chat__feed__context-chips','2186652LlUQUu','12056IKxqnO','ck-ai-chat__feed__user-message','1888850FIrlfY','contextItems','285170vbdvxL','_locale','_bodyCollection','element','567hsYsqg','_createMessageContentView','1mbToEG','filter','405OFjqOT'];_0x1e9a=function(){return _0x1dc40d;};return _0x1e9a();}import{View as _0x55e6d2}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x26f2ec{[_0x31a3fa(0x108)]=null;[_0x31a3fa(0x118)];[_0x31a3fa(0x119)];[_0x31a3fa(0x106)];constructor(_0x1c9af9,_0x49169d,_0x582786){var _0x5cf305=_0x31a3fa;super(_0x49169d),this[_0x5cf305(0x118)]=_0x1c9af9,this[_0x5cf305(0x119)]=_0x582786,this[_0x5cf305(0x122)](),this[_0x5cf305(0x11c)](),this[_0x5cf305(0x100)]({'attributes':{'class':[_0x5cf305(0x114)]}});}[_0x31a3fa(0x122)](){var _0x59e24e=_0x31a3fa;this[_0x59e24e(0x121)][_0x59e24e(0x116)]&&this[_0x59e24e(0x121)][_0x59e24e(0x116)][_0x59e24e(0x10d)]>0x0&&(this[_0x59e24e(0x108)]=new _0x36fd4f(this[_0x59e24e(0x118)],this[_0x59e24e(0x121)][_0x59e24e(0x116)][_0x59e24e(0x11e)](_0x34c9d3=>!_0x34c9d3[_0x59e24e(0x10a)]),this[_0x59e24e(0x119)]),this[_0x59e24e(0x108)][_0x59e24e(0x100)]({'attributes':{'class':_0x59e24e(0x111)}}),this[_0x59e24e(0x107)][_0x59e24e(0x103)](this[_0x59e24e(0x108)]));}[_0x31a3fa(0x11c)](){var _0x59f462=_0x31a3fa;this[_0x59f462(0x106)]=new _0x55e6d2(this[_0x59f462(0x118)]),this[_0x59f462(0x106)][_0x59f462(0x10c)]({'tag':_0x59f462(0x105),'attributes':{'class':_0x59f462(0x120)}}),this[_0x59f462(0x107)][_0x59f462(0x103)](this[_0x59f462(0x106)]);}[_0x31a3fa(0x104)](){var _0x68a58c=_0x31a3fa;super[_0x68a58c(0x104)](),this[_0x68a58c(0x106)][_0x68a58c(0x11a)][_0x68a58c(0x109)]=this[_0x68a58c(0x121)][_0x68a58c(0x110)],this[_0x68a58c(0x10b)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x163d64=_0x965c;function _0x965c(_0x5c0ee7,_0xc17bad){const _0x32b697=_0x32b6();return _0x965c=function(_0x965c1b,_0x716bf3){_0x965c1b=_0x965c1b-0x8e;let _0xa0b310=_0x32b697[_0x965c1b];return _0xa0b310;},_0x965c(_0x5c0ee7,_0xc17bad);}(function(_0x2b54a6,_0x477e75){const _0x4e7e33=_0x965c,_0x5f2c7f=_0x2b54a6();while(!![]){try{const _0x1583d6=-parseInt(_0x4e7e33(0x99))/0x1*(-parseInt(_0x4e7e33(0x92))/0x2)+parseInt(_0x4e7e33(0xa0))/0x3+-parseInt(_0x4e7e33(0xa2))/0x4*(parseInt(_0x4e7e33(0x9b))/0x5)+parseInt(_0x4e7e33(0x9d))/0x6+-parseInt(_0x4e7e33(0xa3))/0x7+parseInt(_0x4e7e33(0x9a))/0x8+parseInt(_0x4e7e33(0x9f))/0x9*(-parseInt(_0x4e7e33(0x8e))/0xa);if(_0x1583d6===_0x477e75)break;else _0x5f2c7f['push'](_0x5f2c7f['shift']());}catch(_0x1df29c){_0x5f2c7f['push'](_0x5f2c7f['shift']());}}}(_0x32b6,0x9a5f2));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2389db}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x2389db,_0x163d64(0x8f),_0x163d64(0x98),_0x163d64(0x96),_0x163d64(0xa1),_0x163d64(0x90),_0x163d64(0x94),_0x163d64(0x91),_0x163d64(0xa4),_0x163d64(0x97),_0x163d64(0x93),_0x163d64(0x9c),_0x163d64(0x95),_0x163d64(0x9e)];function _0x32b6(){const _0x302f2c=['addResourceToContext','10BEtPOJ','startConversation','addDocumentToContext','addUrlToContext','1358722OyqaDs','loadSourceResources','addFileToContext','toggleReasoning','sendUserMessage','removeContextItem','resizeTabs','1LZPjtJ','7764656xodiCt','655aaLCHy','toggleWebSearch','5431332nllALv','selectModel','11595015AjTbym','1418319MYpbSO','abortPromptStream','3092qhVUHF','7042238CqGdWP'];_0x32b6=function(){return _0x302f2c;};return _0x32b6();}
23
+ const _0x2a0b31=_0x3f23;function _0x48bb(){const _0x2cd666=['40lTRaxe','addFileToContext','toggleWebSearch','40yaNPID','sendUserMessage','removeContextItem','selectModel','22mvPIrp','28pzFaCT','4382328aPviDb','21447LcngsX','startConversation','8VBuBFE','2evdauC','5397133IyCgQB','loadSourceResources','abortPromptStream','794118akdLGN','addUrlToContext','244868lYkDTh','addResourceToContext','1017803OKPFRU','resizeTabs','8521317RcvxIW','10FGcULn','toggleReasoning','addDocumentToContext'];_0x48bb=function(){return _0x2cd666;};return _0x48bb();}function _0x3f23(_0x4857e2,_0x28cf77){const _0x48bbd3=_0x48bb();return _0x3f23=function(_0x3f23aa,_0x5e76e9){_0x3f23aa=_0x3f23aa-0x177;let _0x2e8f75=_0x48bbd3[_0x3f23aa];return _0x2e8f75;},_0x3f23(_0x4857e2,_0x28cf77);}(function(_0x38d269,_0x46fac9){const _0x39c962=_0x3f23,_0x2c7dff=_0x38d269();while(!![]){try{const _0x53411d=parseInt(_0x39c962(0x185))/0x1*(-parseInt(_0x39c962(0x17d))/0x2)+parseInt(_0x39c962(0x17a))/0x3*(-parseInt(_0x39c962(0x18b))/0x4)+parseInt(_0x39c962(0x18e))/0x5*(parseInt(_0x39c962(0x181))/0x6)+-parseInt(_0x39c962(0x17e))/0x7*(-parseInt(_0x39c962(0x17c))/0x8)+-parseInt(_0x39c962(0x187))/0x9*(parseInt(_0x39c962(0x188))/0xa)+-parseInt(_0x39c962(0x177))/0xb*(-parseInt(_0x39c962(0x179))/0xc)+-parseInt(_0x39c962(0x183))/0xd*(-parseInt(_0x39c962(0x178))/0xe);if(_0x53411d===_0x46fac9)break;else _0x2c7dff['push'](_0x2c7dff['shift']());}catch(_0x4bbf2c){_0x2c7dff['push'](_0x2c7dff['shift']());}}}(_0x48bb,0x89285));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4087ff}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x4087ff,_0x2a0b31(0x17b),_0x2a0b31(0x186),_0x2a0b31(0x18f),_0x2a0b31(0x180),_0x2a0b31(0x18a),_0x2a0b31(0x18c),_0x2a0b31(0x182),_0x2a0b31(0x184),_0x2a0b31(0x190),_0x2a0b31(0x17f),_0x2a0b31(0x18d),_0x2a0b31(0x189),_0x2a0b31(0x191)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5e0d(_0x281cf2,_0x11b712){const _0x4b5147=_0x4b51();return _0x5e0d=function(_0x5e0db6,_0x51db54){_0x5e0db6=_0x5e0db6-0xae;let _0x154434=_0x4b5147[_0x5e0db6];return _0x154434;},_0x5e0d(_0x281cf2,_0x11b712);}const _0x218f90=_0x5e0d;(function(_0x95131d,_0x5b7aa8){const _0x31734f=_0x5e0d,_0x243db8=_0x95131d();while(!![]){try{const _0x4c7aec=-parseInt(_0x31734f(0xb4))/0x1+-parseInt(_0x31734f(0xc4))/0x2+parseInt(_0x31734f(0xbe))/0x3+-parseInt(_0x31734f(0xc5))/0x4*(-parseInt(_0x31734f(0xbb))/0x5)+parseInt(_0x31734f(0xc1))/0x6+-parseInt(_0x31734f(0xc2))/0x7+parseInt(_0x31734f(0xb0))/0x8;if(_0x4c7aec===_0x5b7aa8)break;else _0x243db8['push'](_0x243db8['shift']());}catch(_0x96c525){_0x243db8['push'](_0x243db8['shift']());}}}(_0x4b51,0x57170));import{EmitterMixin as _0x388c10}from'ckeditor5/src/utils.js';function _0x4b51(){const _0xaa5884=['enqueue','_abortController','completePromise','_processQueue','5102624iDPsNS','length','fire','callback','698436gKjvvj','abort','resolve','once','reject','shift','queueEmptyPromise','210ZQPBHD','isProcessing','createTask','258636hMUVGT','push','_queueEmpty','4197672JbOZOC','1047179aDINxQ','queue','800174jLudLU','17256EflMuy','signal'];_0x4b51=function(){return _0xaa5884;};return _0x4b51();}export class PromiseQueue extends _0x388c10(){[_0x218f90(0xc3)]=[];[_0x218f90(0xbc)]=!0x1;[_0x218f90(0xc8)];async[_0x218f90(0xc7)](_0x5be21f){const _0xeaa0dc=_0x218f90,_0x546819=this[_0xeaa0dc(0xbd)](_0x5be21f);return this[_0xeaa0dc(0xc3)][_0xeaa0dc(0xbf)](_0x546819),this[_0xeaa0dc(0xaf)](),_0x546819[_0xeaa0dc(0xae)];}[_0x218f90(0xb5)](){const _0xef9c18=_0x218f90;this[_0xef9c18(0xbc)]&&(this[_0xef9c18(0xc8)][_0xef9c18(0xb5)](),this[_0xef9c18(0xc8)]=void 0x0,this[_0xef9c18(0xc3)]=[],this[_0xef9c18(0xb2)](_0xef9c18(0xc0)),this[_0xef9c18(0xbc)]=!0x1);}get[_0x218f90(0xba)](){const _0x48ac3a=_0x218f90;return this[_0x48ac3a(0xc3)][_0x48ac3a(0xb1)]||this[_0x48ac3a(0xbc)]?new Promise(_0x2213ba=>{const _0x15e578=_0x48ac3a;this[_0x15e578(0xb7)](_0x15e578(0xc0),()=>{_0x2213ba();});}):Promise[_0x48ac3a(0xb6)]();}async[_0x218f90(0xaf)](){const _0x1c4528=_0x218f90;if(!this[_0x1c4528(0xbc)]){this[_0x1c4528(0xc8)]=new AbortController(),this[_0x1c4528(0xbc)]=!0x0;try{for(;this[_0x1c4528(0xc3)][_0x1c4528(0xb1)]&&this[_0x1c4528(0xbc)];){const _0x2b4398=this[_0x1c4528(0xc3)][_0x1c4528(0xb9)]();try{await _0x2b4398[_0x1c4528(0xb3)](this[_0x1c4528(0xc8)][_0x1c4528(0xc6)]),_0x2b4398[_0x1c4528(0xb6)]();}catch(_0x367066){_0x2b4398[_0x1c4528(0xb8)](_0x367066);}}}finally{this[_0x1c4528(0xbc)]=!0x1,this[_0x1c4528(0xc8)]=void 0x0;}this[_0x1c4528(0xb2)](_0x1c4528(0xc0));}}[_0x218f90(0xbd)](_0x309440){let _0x456e54,_0x27288f;const _0x4aa1cb=new Promise((_0x3e9424,_0x2956dc)=>{_0x456e54=_0x3e9424,_0x27288f=_0x2956dc;});return{'callback':_0x309440,'resolve':_0x456e54,'reject':_0x27288f,'completePromise':_0x4aa1cb};}}
23
+ const _0x5ea4a9=_0x3144;(function(_0xd0a8b9,_0xf96427){const _0x3c41a3=_0x3144,_0x141173=_0xd0a8b9();while(!![]){try{const _0x67031f=-parseInt(_0x3c41a3(0x91))/0x1+-parseInt(_0x3c41a3(0x88))/0x2+parseInt(_0x3c41a3(0x8f))/0x3+-parseInt(_0x3c41a3(0x8d))/0x4+-parseInt(_0x3c41a3(0x8a))/0x5*(-parseInt(_0x3c41a3(0xa1))/0x6)+parseInt(_0x3c41a3(0x98))/0x7*(parseInt(_0x3c41a3(0x9e))/0x8)+parseInt(_0x3c41a3(0x99))/0x9;if(_0x67031f===_0xf96427)break;else _0x141173['push'](_0x141173['shift']());}catch(_0x27373f){_0x141173['push'](_0x141173['shift']());}}}(_0xb642,0x93210));function _0x3144(_0x32b428,_0xfd2aae){const _0xb642a1=_0xb642();return _0x3144=function(_0x31449c,_0x54040f){_0x31449c=_0x31449c-0x88;let _0x216b12=_0xb642a1[_0x31449c];return _0x216b12;},_0x3144(_0x32b428,_0xfd2aae);}import{EmitterMixin as _0x5a57dc}from'ckeditor5/src/utils.js';function _0xb642(){const _0x51559a=['length','abort','171928fjAhNa','callback','isProcessing','30JnsrYL','fire','_queueEmpty','1189190gtQNNX','_abortController','429925iuKOrs','queueEmptyPromise','_processQueue','4418956YyXZaM','enqueue','2796042FnjQPB','resolve','746187wKvEyr','completePromise','reject','push','signal','queue','shift','322fKSVix','6278724gNlrzm','createTask','once'];_0xb642=function(){return _0x51559a;};return _0xb642();}export class PromiseQueue extends _0x5a57dc(){[_0x5ea4a9(0x96)]=[];[_0x5ea4a9(0xa0)]=!0x1;[_0x5ea4a9(0x89)];async[_0x5ea4a9(0x8e)](_0x2de1e0){const _0x1eae6f=_0x5ea4a9,_0x2cfa7f=this[_0x1eae6f(0x9a)](_0x2de1e0);return this[_0x1eae6f(0x96)][_0x1eae6f(0x94)](_0x2cfa7f),this[_0x1eae6f(0x8c)](),_0x2cfa7f[_0x1eae6f(0x92)];}[_0x5ea4a9(0x9d)](){const _0x185175=_0x5ea4a9;this[_0x185175(0xa0)]&&(this[_0x185175(0x89)][_0x185175(0x9d)](),this[_0x185175(0x89)]=void 0x0,this[_0x185175(0x96)]=[],this[_0x185175(0xa2)](_0x185175(0xa3)),this[_0x185175(0xa0)]=!0x1);}get[_0x5ea4a9(0x8b)](){const _0x57463e=_0x5ea4a9;return this[_0x57463e(0x96)][_0x57463e(0x9c)]||this[_0x57463e(0xa0)]?new Promise(_0x119ccc=>{const _0x2eb1f6=_0x57463e;this[_0x2eb1f6(0x9b)](_0x2eb1f6(0xa3),()=>{_0x119ccc();});}):Promise[_0x57463e(0x90)]();}async[_0x5ea4a9(0x8c)](){const _0xba6a3d=_0x5ea4a9;if(!this[_0xba6a3d(0xa0)]){this[_0xba6a3d(0x89)]=new AbortController(),this[_0xba6a3d(0xa0)]=!0x0;try{for(;this[_0xba6a3d(0x96)][_0xba6a3d(0x9c)]&&this[_0xba6a3d(0xa0)];){const _0x4beb2b=this[_0xba6a3d(0x96)][_0xba6a3d(0x97)]();try{await _0x4beb2b[_0xba6a3d(0x9f)](this[_0xba6a3d(0x89)][_0xba6a3d(0x95)]),_0x4beb2b[_0xba6a3d(0x90)]();}catch(_0x417489){_0x4beb2b[_0xba6a3d(0x93)](_0x417489);}}}finally{this[_0xba6a3d(0xa0)]=!0x1,this[_0xba6a3d(0x89)]=void 0x0;}this[_0xba6a3d(0xa2)](_0xba6a3d(0xa3));}}[_0x5ea4a9(0x9a)](_0x5c5e53){let _0x515b7c,_0x4a0e9c;const _0x3eab0f=new Promise((_0x277bee,_0x118bab)=>{_0x515b7c=_0x277bee,_0x4a0e9c=_0x118bab;});return{'callback':_0x5c5e53,'resolve':_0x515b7c,'reject':_0x4a0e9c,'completePromise':_0x3eab0f};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x29ccae=_0x3323;(function(_0x25413e,_0x131072){var _0x262de8=_0x3323,_0x579ead=_0x25413e();while(!![]){try{var _0x56c7b2=-parseInt(_0x262de8(0x158))/0x1*(-parseInt(_0x262de8(0x159))/0x2)+parseInt(_0x262de8(0x153))/0x3*(parseInt(_0x262de8(0x151))/0x4)+-parseInt(_0x262de8(0x156))/0x5+-parseInt(_0x262de8(0x14f))/0x6+parseInt(_0x262de8(0x150))/0x7+-parseInt(_0x262de8(0x14c))/0x8+parseInt(_0x262de8(0x157))/0x9;if(_0x56c7b2===_0x131072)break;else _0x579ead['push'](_0x579ead['shift']());}catch(_0x2dc5a8){_0x579ead['push'](_0x579ead['shift']());}}}(_0x86a1,0x43fc2));import{ContextPlugin as _0xd20aeb}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x153f41}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x420e42}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';function _0x3323(_0x54680e,_0x29e055){var _0x86a13f=_0x86a1();return _0x3323=function(_0x3323e3,_0x248cdc){_0x3323e3=_0x3323e3-0x14c;var _0xbc7c02=_0x86a13f[_0x3323e3];return _0xbc7c02;},_0x3323(_0x54680e,_0x29e055);}export class AIChatHistory extends _0xd20aeb{static get[_0x29ccae(0x154)](){return[_0x153f41,_0x420e42];}static get[_0x29ccae(0x14e)](){var _0x352200=_0x29ccae;return _0x352200(0x14d);}static get[_0x29ccae(0x155)](){return!0x0;}static get[_0x29ccae(0x152)](){return!0x0;}}function _0x86a1(){var _0x14d1c7=['4jyouMl','isPremiumPlugin','956517DfeHPZ','requires','isOfficialPlugin','1703835OUufYS','6092235pdbGmK','429OonzTc','716vXxvfO','2666824rdwcQr','AIChatHistory','pluginName','1619244Jcwkze','511868DHekoU'];_0x86a1=function(){return _0x14d1c7;};return _0x86a1();}
23
+ var _0x1b676f=_0x2cfb;(function(_0x41538d,_0x38b0ba){var _0x67a5a4=_0x2cfb,_0x5b56fd=_0x41538d();while(!![]){try{var _0x3d6d42=-parseInt(_0x67a5a4(0x118))/0x1*(parseInt(_0x67a5a4(0x10d))/0x2)+parseInt(_0x67a5a4(0x115))/0x3*(-parseInt(_0x67a5a4(0x11c))/0x4)+-parseInt(_0x67a5a4(0x11d))/0x5+-parseInt(_0x67a5a4(0x11a))/0x6*(parseInt(_0x67a5a4(0x111))/0x7)+-parseInt(_0x67a5a4(0x112))/0x8*(-parseInt(_0x67a5a4(0x10f))/0x9)+-parseInt(_0x67a5a4(0x119))/0xa+-parseInt(_0x67a5a4(0x113))/0xb*(-parseInt(_0x67a5a4(0x11b))/0xc);if(_0x3d6d42===_0x38b0ba)break;else _0x5b56fd['push'](_0x5b56fd['shift']());}catch(_0x4a7e9a){_0x5b56fd['push'](_0x5b56fd['shift']());}}}(_0x540f,0x8c441));function _0x540f(){var _0x2cf8cf=['4yrMudB','4620490MDeXJv','10RKlgxt','isOfficialPlugin','133434MuUjOe','requires','1330385jKqqsr','104wwLCpv','875413FMIOsk','pluginName','2591823rUNFPR','AIChatHistory','isPremiumPlugin','107513RJpNiq','5602290MGqvMY','30JiGdpW','636CqWInM'];_0x540f=function(){return _0x2cf8cf;};return _0x540f();}import{ContextPlugin as _0x4a833c}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x217ba5}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x228689}from'./aichathistoryui.js';function _0x2cfb(_0x12cb01,_0x116cab){var _0x540ff8=_0x540f();return _0x2cfb=function(_0x2cfb8d,_0x24c939){_0x2cfb8d=_0x2cfb8d-0x10d;var _0x3deb89=_0x540ff8[_0x2cfb8d];return _0x3deb89;},_0x2cfb(_0x12cb01,_0x116cab);}export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4a833c{static get[_0x1b676f(0x110)](){return[_0x217ba5,_0x228689];}static get[_0x1b676f(0x114)](){var _0x5ee2db=_0x1b676f;return _0x5ee2db(0x116);}static get[_0x1b676f(0x10e)](){return!0x0;}static get[_0x1b676f(0x117)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f40ef=_0x4530;(function(_0x4b380a,_0x56f1e0){const _0x16bddf=_0x4530,_0x3cc685=_0x4b380a();while(!![]){try{const _0x379d0d=parseInt(_0x16bddf(0x113))/0x1+-parseInt(_0x16bddf(0xec))/0x2+-parseInt(_0x16bddf(0xfd))/0x3+parseInt(_0x16bddf(0xdc))/0x4*(-parseInt(_0x16bddf(0x10a))/0x5)+-parseInt(_0x16bddf(0xdf))/0x6*(-parseInt(_0x16bddf(0x11b))/0x7)+-parseInt(_0x16bddf(0x11c))/0x8+-parseInt(_0x16bddf(0x11a))/0x9*(-parseInt(_0x16bddf(0xed))/0xa);if(_0x379d0d===_0x56f1e0)break;else _0x3cc685['push'](_0x3cc685['shift']());}catch(_0x1d6226){_0x3cc685['push'](_0x3cc685['shift']());}}}(_0x1165,0x6c371));import{ContextPlugin as _0x48f314}from'ckeditor5/src/core.js';import{AIConnector as _0x1b3cc0}from'../aicore/aiconnector.js';import{AIChatController as _0x3d9c8b}from'../aichat/aichatcontroller.js';function _0x4530(_0x45b0b2,_0x51c605){const _0x116557=_0x1165();return _0x4530=function(_0x4530c1,_0x3f56b3){_0x4530c1=_0x4530c1-0xcc;let _0x52e88f=_0x116557[_0x4530c1];return _0x52e88f;},_0x4530(_0x45b0b2,_0x51c605);}import{AITabs as _0x5d559b}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x14f3ee}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x5a4371}from'./model/aichathistoryconversations.js';function _0x1165(){const _0x41bc04=['isPremiumPlugin','get','getFullYear','resize','pin','loadItems','title','getGroupId','410084HcvvRY','selectConversation','plugins','6gZGHwq','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','updateItemTitle','_setIsMaximized','unpin','listenTo','AI_CHAT_HISTORY_UNPIN_ACTION','getDate','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','itemUpdated','AI_CHAT_HISTORY_CATEGORY_LATER','toLocaleDateString','handleRemovedConversation','899692AjMQCI','40MPNUVo','setDate','_handleSelectConversation','operation','createdAt','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','AI_CHAT_HISTORY_PIN_ACTION','removeItem','itemRemoved','_aiChatHistoryUi','AI_CHAT_HISTORY_ERROR_GENERIC','setLoadingSkeleton','_handleEditTitle','resizedTabs','error','removeConversation','1416423RpZKhr','_handleTogglePin','init','items','activateTab','AI_CHAT_HISTORY_CATEGORY_PINNED','requires','getItem','itemId','_handleHistoryErrorUI','pluginName','change:activeConversation','rename','30VYQfBM','editConversationTitle','openChat','pinned','_handleRemove','resizeTabs','updates','locale','removeHistoryItem','195337nDnWfH','AIChatHistoryController','AI_CHAT_UNTITLED_CONVERSATION','map','setConversationPinned','push','loadConversation','3895362zUzxkm','5903058MUjJNT','6316328OfmiXd','itemsLoaded','updateItemPinned','showError','_aiConnector','history','updateItemLoadingState','setIsMaximized','chat','_updateHistoryItemsUI','length','getItems','AI_CHAT_HISTORY_CATEGORY_TODAY','activateTab:history','updateItems','_setItemLoading','_showConversationHistory','activeConversation','view','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','isOfficialPlugin','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','_generateErrorMessage','_aiChatController','_getCategorizedItems','remove','_clearItemLoading','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','getMonth','context'];_0x1165=function(){return _0x41bc04;};return _0x1165();}import{getTranslation as _0x31b109}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x48f314{[_0x5f40ef(0x120)];[_0x5f40ef(0xf6)];[_0x5f40ef(0xcd)];static get[_0x5f40ef(0x103)](){return[_0x1b3cc0,_0x3d9c8b,_0x14f3ee,_0x5d559b];}static get[_0x5f40ef(0x107)](){const _0x49c545=_0x5f40ef;return _0x49c545(0x114);}static get[_0x5f40ef(0x130)](){return!0x0;}static get[_0x5f40ef(0xd4)](){return!0x0;}[_0x5f40ef(0xff)](){const _0x14d66c=_0x5f40ef;this[_0x14d66c(0x120)]=this[_0x14d66c(0xd3)][_0x14d66c(0xde)][_0x14d66c(0xd5)](_0x1b3cc0),this[_0x14d66c(0xf6)]=this[_0x14d66c(0xd3)][_0x14d66c(0xde)][_0x14d66c(0xd5)](_0x14f3ee),this[_0x14d66c(0xcd)]=this[_0x14d66c(0xd3)][_0x14d66c(0xde)][_0x14d66c(0xd5)](_0x3d9c8b);const _0x2f67d2=this[_0x14d66c(0xd3)][_0x14d66c(0xde)][_0x14d66c(0xd5)](_0x5d559b);try{const _0x19da29=this[_0x14d66c(0xcd)][_0x14d66c(0xdb)]();this[_0x14d66c(0x121)]=new _0x5a4371({'connector':this[_0x14d66c(0x120)],'group':_0x19da29}),this[_0x14d66c(0xe4)](this[_0x14d66c(0xf6)],_0x14d66c(0xfc),(_0x5e7d2c,_0x7dc8d9)=>{const _0x3afcc3=_0x14d66c;this[_0x3afcc3(0x12b)](_0x7dc8d9['id'],_0x3afcc3(0xcf)),this[_0x3afcc3(0x10e)](_0x7dc8d9['id']);}),this[_0x14d66c(0xe4)](this[_0x14d66c(0xf6)],_0x14d66c(0x10b),(_0x1aed10,_0x3a6584)=>{const _0x55b3be=_0x14d66c;this[_0x55b3be(0x12b)](_0x3a6584['id'],_0x55b3be(0x109)),this[_0x55b3be(0xf9)](_0x3a6584['id'],_0x3a6584[_0x55b3be(0xda)]);}),this[_0x14d66c(0xe4)](this[_0x14d66c(0x121)],_0x14d66c(0xe8),(_0xb190ac,_0x485878)=>{const _0x232c07=_0x14d66c;void 0x0!==_0x485878[_0x232c07(0x110)][_0x232c07(0xda)]&&this[_0x232c07(0xf6)][_0x232c07(0xe1)](_0x485878[_0x232c07(0x105)],_0x485878[_0x232c07(0x110)][_0x232c07(0xda)]),void 0x0!==_0x485878[_0x232c07(0x110)][_0x232c07(0x10d)]&&this[_0x232c07(0x125)](),this[_0x232c07(0xd0)](_0x485878[_0x232c07(0x105)]);}),this[_0x14d66c(0xe4)](this[_0x14d66c(0x121)],_0x14d66c(0xf5),(_0x3f2bca,_0x366450)=>{const _0x34ddf8=_0x14d66c;this[_0x34ddf8(0xcd)][_0x34ddf8(0xeb)](_0x366450[_0x34ddf8(0x105)]),this[_0x34ddf8(0xf6)][_0x34ddf8(0x112)](_0x366450[_0x34ddf8(0x105)]),this[_0x34ddf8(0xd0)](_0x366450[_0x34ddf8(0x105)]);}),this[_0x14d66c(0xe4)](this[_0x14d66c(0x121)],_0x14d66c(0x11d),()=>{const _0x4d654e=_0x14d66c;this[_0x4d654e(0x125)]();}),this[_0x14d66c(0xe4)](this[_0x14d66c(0x121)],_0x14d66c(0xfb),(_0x241c1f,_0x553805)=>{const _0x2006d6=_0x14d66c;this[_0x2006d6(0x106)](_0x553805[_0x2006d6(0xfb)],_0x553805[_0x2006d6(0xf0)],_0x553805[_0x2006d6(0x105)]);}),this[_0x14d66c(0xe4)](this[_0x14d66c(0xf6)],_0x14d66c(0xdd),(_0x222c1e,_0xd4ed2a)=>{const _0x17cecf=_0x14d66c;this[_0x17cecf(0xef)](_0xd4ed2a['id']);}),this[_0x14d66c(0xe4)](this[_0x14d66c(0xf6)],_0x14d66c(0x117),(_0x542ac,_0x22e454)=>{const _0x4f600c=_0x14d66c,_0x366b4b=_0x22e454[_0x4f600c(0x10d)]?_0x4f600c(0xd8):_0x4f600c(0xe3);this[_0x4f600c(0x12b)](_0x22e454['id'],_0x366b4b),this[_0x4f600c(0xfe)](_0x22e454['id'],_0x22e454[_0x4f600c(0x10d)]);}),this[_0x14d66c(0xe4)](this[_0x14d66c(0xf6)],_0x14d66c(0x10c),()=>{const _0x53fe5e=_0x14d66c;_0x2f67d2[_0x53fe5e(0x12e)][_0x53fe5e(0x101)](_0x53fe5e(0x124));}),this[_0x14d66c(0xe4)](this[_0x14d66c(0xcd)],_0x14d66c(0x108),()=>{const _0xb946cd=_0x14d66c;this[_0xb946cd(0x125)]();}),_0x2f67d2[_0x14d66c(0x12e)]['on'](_0x14d66c(0x129),()=>{const _0x36bc4c=_0x14d66c;this[_0x36bc4c(0x12c)]();}),this[_0x14d66c(0xe4)](_0x2f67d2,_0x14d66c(0xfa),(_0x123f28,_0x1e892e)=>{const _0x2c5669=_0x14d66c;this[_0x2c5669(0xe2)](_0x1e892e);}),this[_0x14d66c(0xe4)](this[_0x14d66c(0xf6)],_0x14d66c(0x10f),()=>{const _0x108aac=_0x14d66c;_0x2f67d2[_0x108aac(0xd7)]();});}catch(_0x10d567){this[_0x14d66c(0x106)](_0x10d567,_0x14d66c(0xff));}}async[_0x5f40ef(0xf9)](_0x1b572b,_0x4a6f2a){const _0x404121=_0x5f40ef;await this[_0x404121(0x121)][_0x404121(0xe1)](_0x1b572b,_0x4a6f2a);}async[_0x5f40ef(0xfe)](_0x42b36b,_0x27144d){const _0x7cab07=_0x5f40ef;await this[_0x7cab07(0x121)][_0x7cab07(0x11e)](_0x42b36b,_0x27144d);}async[_0x5f40ef(0x10e)](_0x21ef97){const _0x3587f5=_0x5f40ef;await this[_0x3587f5(0x121)][_0x3587f5(0xf4)](_0x21ef97);}async[_0x5f40ef(0xef)](_0x3ce186){const _0x4587af=_0x5f40ef;await this[_0x4587af(0xcd)][_0x4587af(0x119)](_0x3ce186);}async[_0x5f40ef(0x12c)](){const _0x52749a=_0x5f40ef;this[_0x52749a(0xf6)][_0x52749a(0x11f)](''),this[_0x52749a(0xf6)][_0x52749a(0xf8)](!0x0),await this[_0x52749a(0x121)][_0x52749a(0xff)](),this[_0x52749a(0xf6)][_0x52749a(0xf8)](!0x1);}[_0x5f40ef(0x125)](){const _0x16c464=_0x5f40ef,_0xede06e=this[_0x16c464(0xcd)][_0x16c464(0x12d)]?.['id'],_0x5f3b70=this[_0x16c464(0xce)]()[_0x16c464(0x116)](_0x54e48d=>({'title':_0x54e48d[_0x16c464(0xda)],'items':_0x54e48d[_0x16c464(0x100)][_0x16c464(0x116)](_0x48035e=>({'id':_0x48035e['id'],'title':_0x48035e[_0x16c464(0xda)]||_0x31b109(this[_0x16c464(0xd3)][_0x16c464(0x111)],_0x16c464(0x115)),'createdAt':new Date(_0x48035e[_0x16c464(0xf1)])[_0x16c464(0xea)](),'active':_0x48035e['id']===_0xede06e,'pinned':_0x48035e[_0x16c464(0x10d)]}))}));this[_0x16c464(0xf6)][_0x16c464(0x12a)](_0x5f3b70);}[_0x5f40ef(0x12b)](_0x362913,_0x1f8f6d){const _0x1dee00=_0x5f40ef;this[_0x1dee00(0xf6)][_0x1dee00(0x122)](_0x362913,_0x1f8f6d,!0x0);}[_0x5f40ef(0xd0)](_0x24bab0){const _0x545a13=_0x5f40ef;this[_0x545a13(0xf6)][_0x545a13(0x122)](_0x24bab0,null,!0x1);}[_0x5f40ef(0x106)](_0x3dbd97,_0x43d247,_0x476576){const _0x4bb331=_0x5f40ef,_0xe1528a=this[_0x4bb331(0xcc)](_0x43d247,_0x476576);this[_0x4bb331(0xf6)][_0x4bb331(0x11f)](_0xe1528a),_0x476576&&this[_0x4bb331(0xd0)](_0x476576),this[_0x4bb331(0xf6)][_0x4bb331(0xf8)](!0x1);}[_0x5f40ef(0xcc)](_0x2751f8,_0x4ac84b){const _0x33d6bb=_0x5f40ef,_0x1d1c6f=_0x4ac84b?this[_0x33d6bb(0x121)][_0x33d6bb(0x104)](_0x4ac84b):null,_0x3652b9=_0x1d1c6f?.[_0x33d6bb(0xda)]||_0x31b109(this[_0x33d6bb(0xd3)][_0x33d6bb(0x111)],_0x33d6bb(0x115));switch(_0x2751f8){case _0x33d6bb(0xe1):return _0x31b109(this[_0x33d6bb(0xd3)][_0x33d6bb(0x111)],_0x33d6bb(0xf2),_0x3652b9);case _0x33d6bb(0x11e):{const _0x2f7b0a=_0x31b109(this[_0x33d6bb(0xd3)][_0x33d6bb(0x111)],_0x1d1c6f?.[_0x33d6bb(0x10d)]?_0x33d6bb(0xe5):_0x33d6bb(0xf3));return _0x31b109(this[_0x33d6bb(0xd3)][_0x33d6bb(0x111)],_0x33d6bb(0x131),[_0x2f7b0a,_0x3652b9]);}case _0x33d6bb(0xf4):return _0x31b109(this[_0x33d6bb(0xd3)][_0x33d6bb(0x111)],_0x33d6bb(0xe0),_0x3652b9);case _0x33d6bb(0xff):case _0x33d6bb(0xd9):return _0x31b109(this[_0x33d6bb(0xd3)][_0x33d6bb(0x111)],_0x33d6bb(0x12f));default:return _0x31b109(this[_0x33d6bb(0xd3)][_0x33d6bb(0x111)],_0x33d6bb(0xf7));}}[_0x5f40ef(0xce)](){const _0x6bc9b=_0x5f40ef,_0x1a36c7=new Date(),_0x522989=new Date(_0x1a36c7[_0x6bc9b(0xd6)](),_0x1a36c7[_0x6bc9b(0xd2)](),_0x1a36c7[_0x6bc9b(0xe6)]()),_0x21c57d=new Date(_0x522989);_0x21c57d[_0x6bc9b(0xee)](_0x21c57d[_0x6bc9b(0xe6)]()-0x1);const _0x179ba3=new Date(_0x522989);_0x179ba3[_0x6bc9b(0xee)](_0x179ba3[_0x6bc9b(0xe6)]()-0xe);const _0x3c0071=this[_0x6bc9b(0x121)][_0x6bc9b(0x127)]({'pinned':!0x0}),_0x1e29d1=this[_0x6bc9b(0x121)][_0x6bc9b(0x127)]({'from':_0x522989,'to':_0x522989}),_0x46fd75=this[_0x6bc9b(0x121)][_0x6bc9b(0x127)]({'from':_0x21c57d,'to':_0x21c57d}),_0x480724=this[_0x6bc9b(0x121)][_0x6bc9b(0x127)]({'from':_0x179ba3,'to':_0x21c57d}),_0x178670=this[_0x6bc9b(0x121)][_0x6bc9b(0x127)]({'to':_0x179ba3}),_0x46dd32=[];return _0x3c0071[_0x6bc9b(0x126)]>0x0&&_0x46dd32[_0x6bc9b(0x118)]({'title':_0x31b109(this[_0x6bc9b(0xd3)][_0x6bc9b(0x111)],_0x6bc9b(0x102)),'items':_0x3c0071}),_0x1e29d1[_0x6bc9b(0x126)]>0x0&&_0x46dd32[_0x6bc9b(0x118)]({'title':_0x31b109(this[_0x6bc9b(0xd3)][_0x6bc9b(0x111)],_0x6bc9b(0x128)),'items':_0x1e29d1}),_0x46fd75[_0x6bc9b(0x126)]>0x0&&_0x46dd32[_0x6bc9b(0x118)]({'title':_0x31b109(this[_0x6bc9b(0xd3)][_0x6bc9b(0x111)],_0x6bc9b(0xd1)),'items':_0x46fd75}),_0x480724[_0x6bc9b(0x126)]>0x0&&_0x46dd32[_0x6bc9b(0x118)]({'title':_0x31b109(this[_0x6bc9b(0xd3)][_0x6bc9b(0x111)],_0x6bc9b(0xe7)),'items':_0x480724}),_0x178670[_0x6bc9b(0x126)]>0x0&&_0x46dd32[_0x6bc9b(0x118)]({'title':_0x31b109(this[_0x6bc9b(0xd3)][_0x6bc9b(0x111)],_0x6bc9b(0xe9)),'items':_0x178670}),_0x46dd32;}[_0x5f40ef(0xe2)](_0x383c31){const _0xc818f9=_0x5f40ef;this[_0xc818f9(0xf6)][_0xc818f9(0x123)](_0x383c31);}}
23
+ const _0x688544=_0x49a4;(function(_0x5eee6d,_0x30e8cb){const _0x5e0f57=_0x49a4,_0x252bb0=_0x5eee6d();while(!![]){try{const _0x4df177=-parseInt(_0x5e0f57(0xbd))/0x1*(-parseInt(_0x5e0f57(0xc4))/0x2)+-parseInt(_0x5e0f57(0xab))/0x3*(-parseInt(_0x5e0f57(0xf4))/0x4)+parseInt(_0x5e0f57(0xae))/0x5+parseInt(_0x5e0f57(0xfa))/0x6*(-parseInt(_0x5e0f57(0xa1))/0x7)+-parseInt(_0x5e0f57(0xf6))/0x8*(-parseInt(_0x5e0f57(0xdd))/0x9)+-parseInt(_0x5e0f57(0xe5))/0xa*(parseInt(_0x5e0f57(0xff))/0xb)+-parseInt(_0x5e0f57(0xda))/0xc*(parseInt(_0x5e0f57(0xd6))/0xd);if(_0x4df177===_0x30e8cb)break;else _0x252bb0['push'](_0x252bb0['shift']());}catch(_0x224b6c){_0x252bb0['push'](_0x252bb0['shift']());}}}(_0x8bf1,0xb7191));import{ContextPlugin as _0x26574e}from'ckeditor5/src/core.js';import{AIConnector as _0x5cdd9b}from'../aicore/aiconnector.js';import{AIChatController as _0x5dcbd2}from'../aichat/aichatcontroller.js';import{AITabs as _0x55ec11}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x28e1ba}from'./aichathistoryui.js';function _0x8bf1(){const _0x2829c3=['removeConversation','AI_CHAT_HISTORY_CATEGORY_PINNED','resize','showError','54JCbfNi','getGroupId','_handleRemove','_getCategorizedItems','history','AI_CHAT_HISTORY_CATEGORY_TODAY','locale','getItem','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_ERROR_GENERIC','error','init','rename','createdAt','editConversationTitle','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','AI_CHAT_UNTITLED_CONVERSATION','context','65zdBQJF','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','AI_CHAT_HISTORY_CATEGORY_LATER','remove','3231420FnLvWu','_setIsMaximized','_showConversationHistory','10735371KemlQk','listenTo','handleRemovedConversation','_aiChatHistoryUi','resizedTabs','updateItemTitle','getFullYear','requires','316270trEyoE','_setItemLoading','itemRemoved','pin','unpin','pluginName','chat','updateItemPinned','removeHistoryItem','operation','_handleTogglePin','loadItems','openChat','setDate','_handleHistoryErrorUI','8jBTZus','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','8OpGzgg','itemUpdated','resizeTabs','AI_CHAT_HISTORY_UNPIN_ACTION','76314HoLyjS','activateTab:history','_generateErrorMessage','setConversationPinned','AIChatHistoryController','451HxzDbL','_aiChatController','getDate','itemId','_handleEditTitle','change:activeConversation','loadConversation','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','updateItemLoadingState','activateTab','selectConversation','539ZxKcad','get','AI_CHAT_HISTORY_PIN_ACTION','push','toLocaleDateString','setIsMaximized','length','view','_handleSelectConversation','activeConversation','1962201GbkPef','updateItems','_updateHistoryItemsUI','3628020ZSVxqG','title','plugins','items','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','setLoadingSkeleton','_aiConnector','pinned','updates','getItems','_clearItemLoading','itemsLoaded','isOfficialPlugin','removeItem','getMonth','42441CFbQvI','map','isPremiumPlugin'];_0x8bf1=function(){return _0x2829c3;};return _0x8bf1();}function _0x49a4(_0x29cb04,_0x3cb046){const _0x8bf1aa=_0x8bf1();return _0x49a4=function(_0x49a4f7,_0x10dd7b){_0x49a4f7=_0x49a4f7-0x99;let _0x38c689=_0x8bf1aa[_0x49a4f7];return _0x38c689;},_0x49a4(_0x29cb04,_0x3cb046);}import{AIChatHistoryConversations as _0x38380e}from'./model/aichathistoryconversations.js';import{getTranslation as _0x1b5b1b}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x26574e{[_0x688544(0xb4)];[_0x688544(0xe0)];[_0x688544(0x100)];static get[_0x688544(0xe4)](){return[_0x5cdd9b,_0x5dcbd2,_0x28e1ba,_0x55ec11];}static get[_0x688544(0xea)](){const _0x15aa90=_0x688544;return _0x15aa90(0xfe);}static get[_0x688544(0xba)](){return!0x0;}static get[_0x688544(0xbf)](){return!0x0;}[_0x688544(0xcf)](){const _0x532f89=_0x688544;this[_0x532f89(0xb4)]=this[_0x532f89(0xd5)][_0x532f89(0xb0)][_0x532f89(0xa2)](_0x5cdd9b),this[_0x532f89(0xe0)]=this[_0x532f89(0xd5)][_0x532f89(0xb0)][_0x532f89(0xa2)](_0x28e1ba),this[_0x532f89(0x100)]=this[_0x532f89(0xd5)][_0x532f89(0xb0)][_0x532f89(0xa2)](_0x5dcbd2);const _0x57b638=this[_0x532f89(0xd5)][_0x532f89(0xb0)][_0x532f89(0xa2)](_0x55ec11);try{const _0x1df1ce=this[_0x532f89(0x100)][_0x532f89(0xc5)]();this[_0x532f89(0xc8)]=new _0x38380e({'connector':this[_0x532f89(0xb4)],'group':_0x1df1ce}),this[_0x532f89(0xde)](this[_0x532f89(0xe0)],_0x532f89(0xc0),(_0x571c04,_0x3ba14b)=>{const _0x56aa99=_0x532f89;this[_0x56aa99(0xe6)](_0x3ba14b['id'],_0x56aa99(0xd9)),this[_0x56aa99(0xc6)](_0x3ba14b['id']);}),this[_0x532f89(0xde)](this[_0x532f89(0xe0)],_0x532f89(0xd2),(_0x82c512,_0x1c6321)=>{const _0x1d611b=_0x532f89;this[_0x1d611b(0xe6)](_0x1c6321['id'],_0x1d611b(0xd0)),this[_0x1d611b(0x9a)](_0x1c6321['id'],_0x1c6321[_0x1d611b(0xaf)]);}),this[_0x532f89(0xde)](this[_0x532f89(0xc8)],_0x532f89(0xf7),(_0x1251d9,_0x4052e4)=>{const _0x30d613=_0x532f89;void 0x0!==_0x4052e4[_0x30d613(0xb6)][_0x30d613(0xaf)]&&this[_0x30d613(0xe0)][_0x30d613(0xe2)](_0x4052e4[_0x30d613(0x99)],_0x4052e4[_0x30d613(0xb6)][_0x30d613(0xaf)]),void 0x0!==_0x4052e4[_0x30d613(0xb6)][_0x30d613(0xb5)]&&this[_0x30d613(0xad)](),this[_0x30d613(0xb8)](_0x4052e4[_0x30d613(0x99)]);}),this[_0x532f89(0xde)](this[_0x532f89(0xc8)],_0x532f89(0xe7),(_0x1b093a,_0x350428)=>{const _0x33f504=_0x532f89;this[_0x33f504(0x100)][_0x33f504(0xdf)](_0x350428[_0x33f504(0x99)]),this[_0x33f504(0xe0)][_0x33f504(0xed)](_0x350428[_0x33f504(0x99)]),this[_0x33f504(0xb8)](_0x350428[_0x33f504(0x99)]);}),this[_0x532f89(0xde)](this[_0x532f89(0xc8)],_0x532f89(0xb9),()=>{const _0xa19c09=_0x532f89;this[_0xa19c09(0xad)]();}),this[_0x532f89(0xde)](this[_0x532f89(0xc8)],_0x532f89(0xce),(_0x256951,_0x40a56f)=>{const _0x384217=_0x532f89;this[_0x384217(0xf3)](_0x40a56f[_0x384217(0xce)],_0x40a56f[_0x384217(0xee)],_0x40a56f[_0x384217(0x99)]);}),this[_0x532f89(0xde)](this[_0x532f89(0xe0)],_0x532f89(0xa0),(_0x51a3b1,_0x2fcf5f)=>{const _0x5a700b=_0x532f89;this[_0x5a700b(0xa9)](_0x2fcf5f['id']);}),this[_0x532f89(0xde)](this[_0x532f89(0xe0)],_0x532f89(0xfd),(_0x550c5a,_0x2392df)=>{const _0x76aa6c=_0x532f89,_0x2ba4dd=_0x2392df[_0x76aa6c(0xb5)]?_0x76aa6c(0xe8):_0x76aa6c(0xe9);this[_0x76aa6c(0xe6)](_0x2392df['id'],_0x2ba4dd),this[_0x76aa6c(0xef)](_0x2392df['id'],_0x2392df[_0x76aa6c(0xb5)]);}),this[_0x532f89(0xde)](this[_0x532f89(0xe0)],_0x532f89(0xf1),()=>{const _0x1e658c=_0x532f89;_0x57b638[_0x1e658c(0xa8)][_0x1e658c(0x9f)](_0x1e658c(0xeb));}),this[_0x532f89(0xde)](this[_0x532f89(0x100)],_0x532f89(0x9b),()=>{const _0x5f0dea=_0x532f89;this[_0x5f0dea(0xad)]();}),_0x57b638[_0x532f89(0xa8)]['on'](_0x532f89(0xfb),()=>{const _0x150bbc=_0x532f89;this[_0x150bbc(0xdc)]();}),this[_0x532f89(0xde)](_0x57b638,_0x532f89(0xe1),(_0x1c00db,_0x1a9833)=>{const _0x199561=_0x532f89;this[_0x199561(0xdb)](_0x1a9833);}),this[_0x532f89(0xde)](this[_0x532f89(0xe0)],_0x532f89(0xf8),()=>{const _0x1d4f06=_0x532f89;_0x57b638[_0x1d4f06(0xc2)]();});}catch(_0x154de2){this[_0x532f89(0xf3)](_0x154de2,_0x532f89(0xcf));}}async[_0x688544(0x9a)](_0x23c912,_0x54e217){const _0x5bf887=_0x688544;await this[_0x5bf887(0xc8)][_0x5bf887(0xe2)](_0x23c912,_0x54e217);}async[_0x688544(0xef)](_0x348a4f,_0x43fb6c){const _0x184943=_0x688544;await this[_0x184943(0xc8)][_0x184943(0xec)](_0x348a4f,_0x43fb6c);}async[_0x688544(0xc6)](_0x720da4){const _0x31a24a=_0x688544;await this[_0x31a24a(0xc8)][_0x31a24a(0xbb)](_0x720da4);}async[_0x688544(0xa9)](_0x57b863){const _0x303105=_0x688544;await this[_0x303105(0x100)][_0x303105(0x9c)](_0x57b863);}async[_0x688544(0xdc)](){const _0x10dc2d=_0x688544;this[_0x10dc2d(0xe0)][_0x10dc2d(0xc3)](''),this[_0x10dc2d(0xe0)][_0x10dc2d(0xb3)](!0x0),await this[_0x10dc2d(0xc8)][_0x10dc2d(0xcf)](),this[_0x10dc2d(0xe0)][_0x10dc2d(0xb3)](!0x1);}[_0x688544(0xad)](){const _0x428d36=_0x688544,_0x49b35f=this[_0x428d36(0x100)][_0x428d36(0xaa)]?.['id'],_0x1569cc=this[_0x428d36(0xc7)]()[_0x428d36(0xbe)](_0x51b9c0=>({'title':_0x51b9c0[_0x428d36(0xaf)],'items':_0x51b9c0[_0x428d36(0xb1)][_0x428d36(0xbe)](_0xbf8ed9=>({'id':_0xbf8ed9['id'],'title':_0xbf8ed9[_0x428d36(0xaf)]||_0x1b5b1b(this[_0x428d36(0xd5)][_0x428d36(0xca)],_0x428d36(0xd4)),'createdAt':new Date(_0xbf8ed9[_0x428d36(0xd1)])[_0x428d36(0xa5)](),'active':_0xbf8ed9['id']===_0x49b35f,'pinned':_0xbf8ed9[_0x428d36(0xb5)]}))}));this[_0x428d36(0xe0)][_0x428d36(0xac)](_0x1569cc);}[_0x688544(0xe6)](_0x4f2129,_0x840995){const _0x527a05=_0x688544;this[_0x527a05(0xe0)][_0x527a05(0x9e)](_0x4f2129,_0x840995,!0x0);}[_0x688544(0xb8)](_0x31c2f7){const _0x986657=_0x688544;this[_0x986657(0xe0)][_0x986657(0x9e)](_0x31c2f7,null,!0x1);}[_0x688544(0xf3)](_0x356b83,_0x52c3e9,_0xaeeb38){const _0x3f58b6=_0x688544,_0x1e2f06=this[_0x3f58b6(0xfc)](_0x52c3e9,_0xaeeb38);this[_0x3f58b6(0xe0)][_0x3f58b6(0xc3)](_0x1e2f06),_0xaeeb38&&this[_0x3f58b6(0xb8)](_0xaeeb38),this[_0x3f58b6(0xe0)][_0x3f58b6(0xb3)](!0x1);}[_0x688544(0xfc)](_0x131121,_0x5202d1){const _0xe6ba0c=_0x688544,_0x33f91e=_0x5202d1?this[_0xe6ba0c(0xc8)][_0xe6ba0c(0xcb)](_0x5202d1):null,_0x527947=_0x33f91e?.[_0xe6ba0c(0xaf)]||_0x1b5b1b(this[_0xe6ba0c(0xd5)][_0xe6ba0c(0xca)],_0xe6ba0c(0xd4));switch(_0x131121){case _0xe6ba0c(0xe2):return _0x1b5b1b(this[_0xe6ba0c(0xd5)][_0xe6ba0c(0xca)],_0xe6ba0c(0xb2),_0x527947);case _0xe6ba0c(0xec):{const _0x2fd6ae=_0x1b5b1b(this[_0xe6ba0c(0xd5)][_0xe6ba0c(0xca)],_0x33f91e?.[_0xe6ba0c(0xb5)]?_0xe6ba0c(0xf9):_0xe6ba0c(0xa3));return _0x1b5b1b(this[_0xe6ba0c(0xd5)][_0xe6ba0c(0xca)],_0xe6ba0c(0xd7),[_0x2fd6ae,_0x527947]);}case _0xe6ba0c(0xbb):return _0x1b5b1b(this[_0xe6ba0c(0xd5)][_0xe6ba0c(0xca)],_0xe6ba0c(0xcc),_0x527947);case _0xe6ba0c(0xcf):case _0xe6ba0c(0xf0):return _0x1b5b1b(this[_0xe6ba0c(0xd5)][_0xe6ba0c(0xca)],_0xe6ba0c(0xf5));default:return _0x1b5b1b(this[_0xe6ba0c(0xd5)][_0xe6ba0c(0xca)],_0xe6ba0c(0xcd));}}[_0x688544(0xc7)](){const _0x387107=_0x688544,_0x1e7876=new Date(),_0x2b5f75=new Date(_0x1e7876[_0x387107(0xe3)](),_0x1e7876[_0x387107(0xbc)](),_0x1e7876[_0x387107(0x101)]()),_0x49ec19=new Date(_0x2b5f75);_0x49ec19[_0x387107(0xf2)](_0x49ec19[_0x387107(0x101)]()-0x1);const _0x35d703=new Date(_0x2b5f75);_0x35d703[_0x387107(0xf2)](_0x35d703[_0x387107(0x101)]()-0xe);const _0x5547ad=this[_0x387107(0xc8)][_0x387107(0xb7)]({'pinned':!0x0}),_0x3406d5=this[_0x387107(0xc8)][_0x387107(0xb7)]({'from':_0x2b5f75,'to':_0x2b5f75}),_0x3410d0=this[_0x387107(0xc8)][_0x387107(0xb7)]({'from':_0x49ec19,'to':_0x49ec19}),_0x2fb549=this[_0x387107(0xc8)][_0x387107(0xb7)]({'from':_0x35d703,'to':_0x49ec19}),_0x242fa4=this[_0x387107(0xc8)][_0x387107(0xb7)]({'to':_0x35d703}),_0x48ccac=[];return _0x5547ad[_0x387107(0xa7)]>0x0&&_0x48ccac[_0x387107(0xa4)]({'title':_0x1b5b1b(this[_0x387107(0xd5)][_0x387107(0xca)],_0x387107(0xc1)),'items':_0x5547ad}),_0x3406d5[_0x387107(0xa7)]>0x0&&_0x48ccac[_0x387107(0xa4)]({'title':_0x1b5b1b(this[_0x387107(0xd5)][_0x387107(0xca)],_0x387107(0xc9)),'items':_0x3406d5}),_0x3410d0[_0x387107(0xa7)]>0x0&&_0x48ccac[_0x387107(0xa4)]({'title':_0x1b5b1b(this[_0x387107(0xd5)][_0x387107(0xca)],_0x387107(0x9d)),'items':_0x3410d0}),_0x2fb549[_0x387107(0xa7)]>0x0&&_0x48ccac[_0x387107(0xa4)]({'title':_0x1b5b1b(this[_0x387107(0xd5)][_0x387107(0xca)],_0x387107(0xd3)),'items':_0x2fb549}),_0x242fa4[_0x387107(0xa7)]>0x0&&_0x48ccac[_0x387107(0xa4)]({'title':_0x1b5b1b(this[_0x387107(0xd5)][_0x387107(0xca)],_0x387107(0xd8)),'items':_0x242fa4}),_0x48ccac;}[_0x688544(0xdb)](_0x3584c2){const _0x3a4128=_0x688544;this[_0x3a4128(0xe0)][_0x3a4128(0xa6)](_0x3584c2);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x104713=_0x9330;(function(_0x18e690,_0x1d0a62){const _0xab7d57=_0x9330,_0x38e130=_0x18e690();while(!![]){try{const _0x3f9aea=-parseInt(_0xab7d57(0x123))/0x1+parseInt(_0xab7d57(0x132))/0x2+parseInt(_0xab7d57(0x14a))/0x3*(parseInt(_0xab7d57(0x12a))/0x4)+parseInt(_0xab7d57(0x12b))/0x5+parseInt(_0xab7d57(0x14c))/0x6*(parseInt(_0xab7d57(0x137))/0x7)+parseInt(_0xab7d57(0x142))/0x8*(parseInt(_0xab7d57(0x138))/0x9)+-parseInt(_0xab7d57(0x127))/0xa;if(_0x3f9aea===_0x1d0a62)break;else _0x38e130['push'](_0x38e130['shift']());}catch(_0x5b65ba){_0x38e130['push'](_0x38e130['shift']());}}}(_0x4b46,0xbd12d));import{ContextPlugin as _0x5ace22}from'ckeditor5/src/core.js';import{AITabs as _0x295600}from'../aitabs/aitabs.js';import{IconAIHistory as _0x1b056d}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x152204}from'./ui/aichathistoryview.js';import{getTranslation as _0xaead4a}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';function _0x4b46(){const _0x23dbb3=['7550005WWZJtB','updateHistoryItemsWithCategories','editConversationTitle','errorMessage','updateItemTitle','locale','hideError','2546656HDksDQ','resizeTabs','AITabs','AIChatHistoryUI','view','1743882nSdxfE','2005749YPBDNB','history','isPremiumPlugin','isMaximized','pluginName','updateItemLoadingState','removeConversation','showConversationHistory','isLoading','setLoadingSkeleton','48lKPecy','setConversationPinned','selectConversation','addTab','delegate','_historyView','showError','showResizeButton','42CmCuZM','AI_CHAT_HISTORY_HEADING','24bQOYnT','updateItems','context','setIsMaximized','requires','854909tDABeB','openChat','get','removeHistoryItem','50289190fDGLEY','plugins','isOfficialPlugin','440364rzCfNv'];_0x4b46=function(){return _0x23dbb3;};return _0x4b46();}export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x104713(0x13f),_0x104713(0x13e),_0x104713(0x12d),_0x104713(0x143),_0x104713(0x144),_0x104713(0x124),_0x104713(0x133)];function _0x9330(_0x103d58,_0x2e06ec){const _0x4b46d2=_0x4b46();return _0x9330=function(_0x933060,_0x329e93){_0x933060=_0x933060-0x122;let _0x4897f7=_0x4b46d2[_0x933060];return _0x4897f7;},_0x9330(_0x103d58,_0x2e06ec);}export class AIChatHistoryUI extends _0x5ace22{static get[_0x104713(0x122)](){return[_0x295600];}[_0x104713(0x147)];static get[_0x104713(0x13c)](){const _0x4fc151=_0x104713;return _0x4fc151(0x135);}static get[_0x104713(0x129)](){return!0x0;}static get[_0x104713(0x13a)](){return!0x0;}constructor(_0x280e67){const _0x4c6dbd=_0x104713;super(_0x280e67);const _0xb277dd=this[_0x4c6dbd(0x14e)][_0x4c6dbd(0x128)][_0x4c6dbd(0x125)](_0x4c6dbd(0x134));this[_0x4c6dbd(0x147)]=new _0x152204(this[_0x4c6dbd(0x14e)][_0x4c6dbd(0x130)],_0xb277dd[_0x4c6dbd(0x149)]),this[_0x4c6dbd(0x147)][_0x4c6dbd(0x146)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0xb277dd[_0x4c6dbd(0x136)][_0x4c6dbd(0x145)]({'id':_0x4c6dbd(0x139),'buttonLabel':_0xaead4a(this[_0x4c6dbd(0x14e)][_0x4c6dbd(0x130)],_0x4c6dbd(0x14b)),'buttonIcon':_0x1b056d,'order':0x0,'content':this[_0x4c6dbd(0x147)]});}[_0x104713(0x126)](_0x4abf29){const _0x2cf509=_0x104713;this[_0x2cf509(0x147)][_0x2cf509(0x126)](_0x4abf29);}[_0x104713(0x14d)](_0xf3cc7){const _0x3874e5=_0x104713;this[_0x3874e5(0x147)][_0x3874e5(0x12c)](_0xf3cc7);}[_0x104713(0x12f)](_0x589d46,_0x4a71ea){const _0x1ca01e=_0x104713;this[_0x1ca01e(0x147)][_0x1ca01e(0x12f)](_0x589d46,_0x4a71ea);}[_0x104713(0x13d)](_0x3ca5e8,_0x170bde,_0x8a8a53){const _0x77cd3a=_0x104713;this[_0x77cd3a(0x147)][_0x77cd3a(0x13d)](_0x3ca5e8,_0x170bde,_0x8a8a53);}[_0x104713(0x141)](_0x3279b9){const _0x3d00fc=_0x104713;this[_0x3d00fc(0x147)][_0x3d00fc(0x140)]=_0x3279b9;}[_0x104713(0x148)](_0x377a44){const _0x30214e=_0x104713;this[_0x30214e(0x147)][_0x30214e(0x12e)]=_0x377a44;}[_0x104713(0x131)](){const _0x919b9=_0x104713;this[_0x919b9(0x147)][_0x919b9(0x12e)]='';}[_0x104713(0x14f)](_0x42d2a2){const _0x1d52c8=_0x104713;this[_0x1d52c8(0x147)][_0x1d52c8(0x13b)]=_0x42d2a2;}}
23
+ function _0x5438(_0x50e28c,_0x1e398e){const _0x569b14=_0x569b();return _0x5438=function(_0x5438d3,_0x3bb67d){_0x5438d3=_0x5438d3-0x15d;let _0x3626b0=_0x569b14[_0x5438d3];return _0x3626b0;},_0x5438(_0x50e28c,_0x1e398e);}const _0x282219=_0x5438;(function(_0x5ac053,_0x339da0){const _0xd5bb4c=_0x5438,_0x49c950=_0x5ac053();while(!![]){try{const _0x5d6a96=-parseInt(_0xd5bb4c(0x172))/0x1*(parseInt(_0xd5bb4c(0x17e))/0x2)+-parseInt(_0xd5bb4c(0x164))/0x3*(parseInt(_0xd5bb4c(0x180))/0x4)+-parseInt(_0xd5bb4c(0x17d))/0x5+parseInt(_0xd5bb4c(0x166))/0x6*(-parseInt(_0xd5bb4c(0x16e))/0x7)+parseInt(_0xd5bb4c(0x165))/0x8*(parseInt(_0xd5bb4c(0x183))/0x9)+-parseInt(_0xd5bb4c(0x178))/0xa+parseInt(_0xd5bb4c(0x173))/0xb;if(_0x5d6a96===_0x339da0)break;else _0x49c950['push'](_0x49c950['shift']());}catch(_0x51adf2){_0x49c950['push'](_0x49c950['shift']());}}}(_0x569b,0x8bd63));import{ContextPlugin as _0x1de8c1}from'ckeditor5/src/core.js';import{AITabs as _0x501475}from'../aitabs/aitabs.js';import{IconAIHistory as _0x49acee}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x7f11c4}from'./ui/aichathistoryview.js';function _0x569b(){const _0x526e49=['isMaximized','3374UeUztR','isLoading','updateItemLoadingState','view','261499uKZOOO','45111924MwUQxk','plugins','locale','setLoadingSkeleton','setConversationPinned','3481380TbcoBt','updateItemTitle','setIsMaximized','updateItems','showError','4922560pGCssT','8gRXePm','addTab','4RvYqSP','isPremiumPlugin','context','1296ldMvbK','updateHistoryItemsWithCategories','hideError','AIChatHistoryUI','get','history','showResizeButton','isOfficialPlugin','editConversationTitle','removeHistoryItem','showConversationHistory','requires','_historyView','resizeTabs','errorMessage','delegate','2588661rptaGQ','37784aVQmSS','12036MRSeSj','AI_CHAT_HISTORY_HEADING','pluginName','AITabs','selectConversation','removeConversation','openChat'];_0x569b=function(){return _0x526e49;};return _0x569b();}import{getTranslation as _0x448c2f}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x282219(0x15e),_0x282219(0x16b),_0x282219(0x18b),_0x282219(0x177),_0x282219(0x16a),_0x282219(0x16c),_0x282219(0x161)];export class AIChatHistoryUI extends _0x1de8c1{static get[_0x282219(0x15f)](){return[_0x501475];}[_0x282219(0x160)];static get[_0x282219(0x168)](){const _0x55837a=_0x282219;return _0x55837a(0x186);}static get[_0x282219(0x18a)](){return!0x0;}static get[_0x282219(0x181)](){return!0x0;}constructor(_0x2fd134){const _0x103559=_0x282219;super(_0x2fd134);const _0x13c0ea=this[_0x103559(0x182)][_0x103559(0x174)][_0x103559(0x187)](_0x103559(0x169));this[_0x103559(0x160)]=new _0x7f11c4(this[_0x103559(0x182)][_0x103559(0x175)],_0x13c0ea[_0x103559(0x189)]),this[_0x103559(0x160)][_0x103559(0x163)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x13c0ea[_0x103559(0x171)][_0x103559(0x17f)]({'id':_0x103559(0x188),'buttonLabel':_0x448c2f(this[_0x103559(0x182)][_0x103559(0x175)],_0x103559(0x167)),'buttonIcon':_0x49acee,'order':0x0,'content':this[_0x103559(0x160)]});}[_0x282219(0x15d)](_0xe27209){const _0x39f39a=_0x282219;this[_0x39f39a(0x160)][_0x39f39a(0x15d)](_0xe27209);}[_0x282219(0x17b)](_0x4de0be){const _0x2e62f1=_0x282219;this[_0x2e62f1(0x160)][_0x2e62f1(0x184)](_0x4de0be);}[_0x282219(0x179)](_0x24eb97,_0x474a9e){const _0x51cb6c=_0x282219;this[_0x51cb6c(0x160)][_0x51cb6c(0x179)](_0x24eb97,_0x474a9e);}[_0x282219(0x170)](_0xc4ae1e,_0x319b02,_0x1a083b){const _0x34400c=_0x282219;this[_0x34400c(0x160)][_0x34400c(0x170)](_0xc4ae1e,_0x319b02,_0x1a083b);}[_0x282219(0x176)](_0x1f2241){const _0xfda8e3=_0x282219;this[_0xfda8e3(0x160)][_0xfda8e3(0x16f)]=_0x1f2241;}[_0x282219(0x17c)](_0x4f1461){const _0x1453d0=_0x282219;this[_0x1453d0(0x160)][_0x1453d0(0x162)]=_0x4f1461;}[_0x282219(0x185)](){const _0x197671=_0x282219;this[_0x197671(0x160)][_0x197671(0x162)]='';}[_0x282219(0x17a)](_0x467669){const _0x3f9ef6=_0x282219;this[_0x3f9ef6(0x160)][_0x3f9ef6(0x16d)]=_0x467669;}}