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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x132f57=_0x3312;(function(_0x52c3c1,_0x42f173){const _0x5aba05=_0x3312,_0x33377d=_0x52c3c1();while(!![]){try{const _0x9b2285=parseInt(_0x5aba05(0x229))/0x1*(parseInt(_0x5aba05(0x22e))/0x2)+parseInt(_0x5aba05(0x204))/0x3+-parseInt(_0x5aba05(0x203))/0x4+-parseInt(_0x5aba05(0x1f7))/0x5*(-parseInt(_0x5aba05(0x20b))/0x6)+-parseInt(_0x5aba05(0x227))/0x7*(parseInt(_0x5aba05(0x206))/0x8)+-parseInt(_0x5aba05(0x211))/0x9*(-parseInt(_0x5aba05(0x200))/0xa)+-parseInt(_0x5aba05(0x224))/0xb;if(_0x9b2285===_0x42f173)break;else _0x33377d['push'](_0x33377d['shift']());}catch(_0x129df6){_0x33377d['push'](_0x33377d['shift']());}}}(_0x2344,0x2fcda));import{BalloonPanelView as _0x364f6e,ButtonView as _0x36a414,clickOutsideHandler as _0x410287,FormHeaderView as _0x5ee1b2}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x1da8b7}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x52c98c}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x161113}from'./aichatcontextresourcesview.js';const Nr=_0x132f57(0x230),Xr=_0x132f57(0x20a),Qr=_0x132f57(0x1fc);export class AIChatResourcesBalloonView{[_0x132f57(0x20f)]=new Map();[_0x132f57(0x1fa)];[_0x132f57(0x1f6)];[_0x132f57(0x209)];constructor(_0x3dbbdf,_0x3ab644,_0x30bb96){const _0x282dd7=_0x132f57;this[_0x282dd7(0x1f6)]=_0x3dbbdf,this[_0x282dd7(0x1fa)]=_0x3ab644,this[_0x282dd7(0x209)]=_0x30bb96;}[_0x132f57(0x1f5)](_0x5ab4f0){const _0x5174ec=_0x132f57;let _0x2a0590=this[_0x5174ec(0x20f)][_0x5174ec(0x22f)](_0x5ab4f0['id']);_0x2a0590||(_0x2a0590=this[_0x5174ec(0x201)](),this[_0x5174ec(0x20f)][_0x5174ec(0x22c)](_0x5ab4f0['id'],_0x2a0590),this[_0x5174ec(0x210)](_0x2a0590)),this[_0x5174ec(0x1f4)](_0x2a0590,_0x5ab4f0),_0x2a0590[_0x5174ec(0x217)]();const _0x45ca1e=this[_0x5174ec(0x209)][_0x5174ec(0x1fe)]();_0x45ca1e&&_0x2a0590[_0x5174ec(0x219)]({'target':_0x45ca1e,'limiter':this[_0x5174ec(0x209)][_0x5174ec(0x207)]()});}[_0x132f57(0x208)](_0x4ae714,_0x444d16,_0x431106){const _0x3d21c6=_0x132f57,_0x207c20=this[_0x3d21c6(0x20f)][_0x3d21c6(0x22f)](_0x4ae714);if(!_0x207c20)return;const _0x597c90=this[_0x3d21c6(0x1f9)](_0x207c20);_0x597c90&&(_0x597c90[_0x3d21c6(0x1ff)](_0x444d16,_0x431106),_0x597c90[_0x3d21c6(0x21c)](_0x3d21c6(0x22a),()=>{const _0x32ae40=_0x3d21c6;_0x207c20[_0x32ae40(0x219)]({'target':this[_0x32ae40(0x209)][_0x32ae40(0x1fe)](),'limiter':this[_0x32ae40(0x209)][_0x32ae40(0x207)]()});}));}[_0x132f57(0x214)](_0x43c672){const _0x5bada2=_0x132f57,_0x38239a=this[_0x5bada2(0x20f)][_0x5bada2(0x22f)](_0x43c672);_0x38239a&&requestAnimationFrame(()=>{const _0x16005e=_0x5bada2;_0x38239a[_0x16005e(0x215)](),this[_0x16005e(0x20f)][_0x16005e(0x225)](_0x43c672),this[_0x16005e(0x209)][_0x16005e(0x20c)]();});}[_0x132f57(0x223)](){const _0x4b4f09=_0x132f57;for(const _0x2acff9 of this[_0x4b4f09(0x20f)][_0x4b4f09(0x202)]())if(_0x2acff9[_0x4b4f09(0x221)])return!0x0;return!0x1;}[_0x132f57(0x1fd)](_0x5e0fcd,_0x123a94,_0x2d38a2){const _0x39829=_0x132f57,_0x513175=this[_0x39829(0x20f)][_0x39829(0x22f)](_0x5e0fcd);if(!_0x513175||!_0x513175[_0x39829(0x221)])return;const _0x5479ed=this[_0x39829(0x209)][_0x39829(0x1fe)]();if(!_0x5479ed)return;_0x513175[_0x39829(0x219)]({'target':_0x5479ed,'limiter':this[_0x39829(0x209)][_0x39829(0x207)]()});const _0x2b1dc0=this[_0x39829(0x1f9)](_0x513175);_0x2b1dc0&&_0x2b1dc0[_0x39829(0x1fd)](_0x123a94,_0x2d38a2);}[_0x132f57(0x216)](){const _0x1d1408=_0x132f57;for(const _0x34e397 of this[_0x1d1408(0x20f)][_0x1d1408(0x202)]())_0x34e397[_0x1d1408(0x216)]();this[_0x1d1408(0x20f)][_0x1d1408(0x1f8)]();}[_0x132f57(0x201)](){const _0x41463a=_0x132f57,_0xf94096=new _0x364f6e(this[_0x41463a(0x1f6)]);return _0xf94096[_0x41463a(0x21d)]({'attributes':{'class':Nr}}),this[_0x41463a(0x1fa)][_0x41463a(0x218)](_0xf94096),_0xf94096;}[_0x132f57(0x1f4)](_0x4669cd,_0x451d09){const _0x176aa9=_0x132f57;_0x4669cd[_0x176aa9(0x212)][_0x176aa9(0x1f8)]();const _0x3a8d08=this[_0x176aa9(0x21a)](_0x4669cd,_0x451d09);_0x4669cd[_0x176aa9(0x212)][_0x176aa9(0x218)](_0x3a8d08);const _0x56deaf=this[_0x176aa9(0x213)](_0x451d09);_0x4669cd[_0x176aa9(0x212)][_0x176aa9(0x218)](_0x56deaf);}[_0x132f57(0x21a)](_0x406296,_0x3fd1f7){const _0x30944a=_0x132f57,_0x55b659=this[_0x30944a(0x20e)](_0x406296),_0x11fab1=new _0x5ee1b2(this[_0x30944a(0x1f6)],{'label':_0x3fd1f7[_0x30944a(0x22b)],'class':Qr});return _0x11fab1[_0x30944a(0x22d)][_0x30944a(0x218)](_0x55b659,0x0),_0x11fab1;}[_0x132f57(0x20e)](_0x57f411){const _0x1cda9a=_0x132f57,_0x9bd367=new _0x36a414(this[_0x1cda9a(0x1f6)]);return _0x9bd367[_0x1cda9a(0x22c)]({'icon':_0x1da8b7,'tooltip':_0x52c98c(this[_0x1cda9a(0x1f6)],_0x1cda9a(0x21e)),'tooltipPosition':'n','class':Xr}),_0x9bd367['on'](_0x1cda9a(0x228),()=>{const _0x15c37d=_0x1cda9a;_0x57f411[_0x15c37d(0x215)](),this[_0x15c37d(0x209)][_0x15c37d(0x205)]();}),_0x9bd367;}[_0x132f57(0x213)](_0x54952b){const _0x401cf7=_0x132f57,_0x4cd6c9=new _0x161113(this[_0x401cf7(0x1f6)],{'source':_0x54952b,'searchInputVisibleFrom':this[_0x401cf7(0x209)][_0x401cf7(0x1f3)]});return _0x4cd6c9['on'](_0x401cf7(0x21b),(_0x9509ea,_0x2b3233)=>{const _0x113bbe=_0x401cf7;this[_0x113bbe(0x209)][_0x113bbe(0x222)](_0x2b3233);}),_0x4cd6c9['on'](_0x401cf7(0x220),(_0x379fbc,_0x231c47)=>{const _0x42836d=_0x401cf7;this[_0x42836d(0x209)][_0x42836d(0x20d)](_0x231c47[_0x42836d(0x1fb)],_0x231c47[_0x42836d(0x21f)]),this[_0x42836d(0x214)](_0x54952b['id']);}),_0x4cd6c9;}[_0x132f57(0x1f9)](_0x3d4eca){const _0x5a1a20=_0x132f57,_0x50ccee=_0x3d4eca[_0x5a1a20(0x212)][_0x5a1a20(0x22f)](0x1);return _0x50ccee instanceof _0x161113?_0x50ccee:null;}[_0x132f57(0x210)](_0x4c554a){const _0x89112a=_0x132f57;_0x410287({'emitter':_0x4c554a,'contextElements':[_0x4c554a[_0x89112a(0x226)]],'callback':()=>{const _0x3cf948=_0x89112a;_0x4c554a[_0x3cf948(0x215)](),this[_0x3cf948(0x209)][_0x3cf948(0x20c)]();},'activator':()=>_0x4c554a[_0x89112a(0x221)]});}}function _0x3312(_0x257e42,_0x3e2f0c){const _0x2344d9=_0x2344();return _0x3312=function(_0x3312e0,_0x31816b){_0x3312e0=_0x3312e0-0x1f3;let _0x142368=_0x2344d9[_0x3312e0];return _0x142368;},_0x3312(_0x257e42,_0x3e2f0c);}function _0x2344(){const _0x3def4d=['delete','element','126EzllUB','execute','18Agrejr','change:isLoading','label','set','children','41224fWbmWo','get','ck-ai-chat-context-controls__source-balloon-panel','searchInputVisibleFrom','_addSourceResourceContent','showSourceResourcesBalloon','_locale','1814195KCsTOe','clear','_getResourcesViewFromBalloon','_bodyCollection','source','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','updateResourceState','getTargetElement','setResources','108890HzScZc','_createSourceResourceBalloonPanel','values','1225604BMteqV','1159605jvVvtq','onBackToContext','62944QIdRwm','getLimiterElement','populateSourceResourceBalloon','_config','ck-button-icon\x20ck-button-back','6jDvedJ','onBalloonClosed','onResourceSelected','_createBackButton','_sourceResourceBalloons','_setupSingleResourceBalloonClickOutsideHandler','9UztQFf','content','_createBalloonResourcesView','closeSourceResourceBalloon','hide','destroy','show','add','pin','_createBalloonHeader','loadSourceResources','once','extendTemplate','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','resource','addResourceToContext','isVisible','onLoadSourceResources','isAnyResourceBalloonVisible','5361972GiAsiE'];_0x2344=function(){return _0x3def4d;};return _0x2344();}
23
+ const _0x2c8ca1=_0x473c;(function(_0x4e57bc,_0xcbbf84){const _0x2ac39b=_0x473c,_0x4cf9a7=_0x4e57bc();while(!![]){try{const _0x2c4d21=parseInt(_0x2ac39b(0x162))/0x1+-parseInt(_0x2ac39b(0x179))/0x2+parseInt(_0x2ac39b(0x17b))/0x3+-parseInt(_0x2ac39b(0x170))/0x4*(-parseInt(_0x2ac39b(0x172))/0x5)+parseInt(_0x2ac39b(0x165))/0x6*(parseInt(_0x2ac39b(0x158))/0x7)+parseInt(_0x2ac39b(0x151))/0x8+-parseInt(_0x2ac39b(0x15d))/0x9;if(_0x2c4d21===_0xcbbf84)break;else _0x4cf9a7['push'](_0x4cf9a7['shift']());}catch(_0x568bff){_0x4cf9a7['push'](_0x4cf9a7['shift']());}}}(_0x4332,0x226df));import{BalloonPanelView as _0x4c52fa,ButtonView as _0x11749a,clickOutsideHandler as _0x5bd008,FormHeaderView as _0x3faac9}from'ckeditor5/src/ui.js';function _0x4332(){const _0x116735=['6775695oTWxSe','populateSourceResourceBalloon','content','hide','label','231001bxbqPc','showSourceResourcesBalloon','getLimiterElement','132fAKZlr','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','values','set','onLoadSourceResources','addResourceToContext','onResourceSelected','_getResourcesViewFromBalloon','children','isAnyResourceBalloonVisible','extendTemplate','138096ZWjJNl','clear','30JJORMx','_bodyCollection','_locale','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_setupSingleResourceBalloonClickOutsideHandler','isVisible','searchInputVisibleFrom','150004zMDzks','ck-button-icon\x20ck-button-back','64428NbiPJN','pin','change:isLoading','onBackToContext','delete','_config','once','add','ck-ai-chat-context-controls__source-balloon-panel','_createBackButton','_addSourceResourceContent','onBalloonClosed','_createBalloonResourcesView','_createSourceResourceBalloonPanel','updateResourceState','resource','getTargetElement','closeSourceResourceBalloon','1865800kAqRIO','setResources','execute','_sourceResourceBalloons','get','element','loadSourceResources','87829DymQEc','show','_createBalloonHeader','source','destroy'];_0x4332=function(){return _0x116735;};return _0x4332();}import{IconPreviousArrow as _0x42b1c8}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x172a28}from'../../../../aicore/utils/common-translations.js';function _0x473c(_0x34942c,_0x5f332e){const _0x433295=_0x4332();return _0x473c=function(_0x473c44,_0x2719fe){_0x473c44=_0x473c44-0x146;let _0x197edc=_0x433295[_0x473c44];return _0x197edc;},_0x473c(_0x34942c,_0x5f332e);}import{AIChatContextResourcesView as _0x242f9e}from'./aichatcontextresourcesview.js';const Nr=_0x2c8ca1(0x147),Xr=_0x2c8ca1(0x17a),Kr=_0x2c8ca1(0x175);export class AIChatResourcesBalloonView{[_0x2c8ca1(0x154)]=new Map();[_0x2c8ca1(0x173)];[_0x2c8ca1(0x174)];[_0x2c8ca1(0x180)];constructor(_0x3c186f,_0x5d7dcb,_0x423571){const _0x1c9139=_0x2c8ca1;this[_0x1c9139(0x174)]=_0x3c186f,this[_0x1c9139(0x173)]=_0x5d7dcb,this[_0x1c9139(0x180)]=_0x423571;}[_0x2c8ca1(0x163)](_0x41b9a0){const _0x5d75c6=_0x2c8ca1;let _0x4b7b15=this[_0x5d75c6(0x154)][_0x5d75c6(0x155)](_0x41b9a0['id']);_0x4b7b15||(_0x4b7b15=this[_0x5d75c6(0x14c)](),this[_0x5d75c6(0x154)][_0x5d75c6(0x168)](_0x41b9a0['id'],_0x4b7b15),this[_0x5d75c6(0x176)](_0x4b7b15)),this[_0x5d75c6(0x149)](_0x4b7b15,_0x41b9a0),_0x4b7b15[_0x5d75c6(0x159)]();const _0x243cd2=this[_0x5d75c6(0x180)][_0x5d75c6(0x14f)]();_0x243cd2&&_0x4b7b15[_0x5d75c6(0x17c)]({'target':_0x243cd2,'limiter':this[_0x5d75c6(0x180)][_0x5d75c6(0x164)]()});}[_0x2c8ca1(0x15e)](_0x2c6cc5,_0x2cb643,_0x24a910){const _0xe02d8e=_0x2c8ca1,_0x3b6cec=this[_0xe02d8e(0x154)][_0xe02d8e(0x155)](_0x2c6cc5);if(!_0x3b6cec)return;const _0x43d3da=this[_0xe02d8e(0x16c)](_0x3b6cec);_0x43d3da&&(_0x43d3da[_0xe02d8e(0x152)](_0x2cb643,_0x24a910),_0x43d3da[_0xe02d8e(0x181)](_0xe02d8e(0x17d),()=>{const _0x404386=_0xe02d8e;_0x3b6cec[_0x404386(0x17c)]({'target':this[_0x404386(0x180)][_0x404386(0x14f)](),'limiter':this[_0x404386(0x180)][_0x404386(0x164)]()});}));}[_0x2c8ca1(0x150)](_0x3d0150){const _0x812da6=_0x2c8ca1,_0x1f3255=this[_0x812da6(0x154)][_0x812da6(0x155)](_0x3d0150);_0x1f3255&&requestAnimationFrame(()=>{const _0x21eb41=_0x812da6;_0x1f3255[_0x21eb41(0x160)](),this[_0x21eb41(0x154)][_0x21eb41(0x17f)](_0x3d0150),this[_0x21eb41(0x180)][_0x21eb41(0x14a)]();});}[_0x2c8ca1(0x16e)](){const _0x5dda11=_0x2c8ca1;for(const _0x35540b of this[_0x5dda11(0x154)][_0x5dda11(0x167)]())if(_0x35540b[_0x5dda11(0x177)])return!0x0;return!0x1;}[_0x2c8ca1(0x14d)](_0x57f008,_0x3dbe57,_0x3ed71e){const _0x1200c0=_0x2c8ca1,_0x34ccef=this[_0x1200c0(0x154)][_0x1200c0(0x155)](_0x57f008);if(!_0x34ccef||!_0x34ccef[_0x1200c0(0x177)])return;const _0x521a5f=this[_0x1200c0(0x180)][_0x1200c0(0x14f)]();if(!_0x521a5f)return;_0x34ccef[_0x1200c0(0x17c)]({'target':_0x521a5f,'limiter':this[_0x1200c0(0x180)][_0x1200c0(0x164)]()});const _0xc93ff4=this[_0x1200c0(0x16c)](_0x34ccef);_0xc93ff4&&_0xc93ff4[_0x1200c0(0x14d)](_0x3dbe57,_0x3ed71e);}[_0x2c8ca1(0x15c)](){const _0x2234a5=_0x2c8ca1;for(const _0xdf669c of this[_0x2234a5(0x154)][_0x2234a5(0x167)]())_0xdf669c[_0x2234a5(0x15c)]();this[_0x2234a5(0x154)][_0x2234a5(0x171)]();}[_0x2c8ca1(0x14c)](){const _0x8da201=_0x2c8ca1,_0x20c04a=new _0x4c52fa(this[_0x8da201(0x174)]);return _0x20c04a[_0x8da201(0x16f)]({'attributes':{'class':Nr}}),this[_0x8da201(0x173)][_0x8da201(0x146)](_0x20c04a),_0x20c04a;}[_0x2c8ca1(0x149)](_0x3500c9,_0x22611c){const _0x270ce4=_0x2c8ca1;_0x3500c9[_0x270ce4(0x15f)][_0x270ce4(0x171)]();const _0x153ea5=this[_0x270ce4(0x15a)](_0x3500c9,_0x22611c);_0x3500c9[_0x270ce4(0x15f)][_0x270ce4(0x146)](_0x153ea5);const _0x578f66=this[_0x270ce4(0x14b)](_0x22611c);_0x3500c9[_0x270ce4(0x15f)][_0x270ce4(0x146)](_0x578f66);}[_0x2c8ca1(0x15a)](_0x479cee,_0x244378){const _0x20d775=_0x2c8ca1,_0x1cd4a6=this[_0x20d775(0x148)](_0x479cee),_0x6e1b69=new _0x3faac9(this[_0x20d775(0x174)],{'label':_0x244378[_0x20d775(0x161)],'class':Kr});return _0x6e1b69[_0x20d775(0x16d)][_0x20d775(0x146)](_0x1cd4a6,0x0),_0x6e1b69;}[_0x2c8ca1(0x148)](_0x32afcb){const _0x1b548f=_0x2c8ca1,_0x157d4b=new _0x11749a(this[_0x1b548f(0x174)]);return _0x157d4b[_0x1b548f(0x168)]({'icon':_0x42b1c8,'tooltip':_0x172a28(this[_0x1b548f(0x174)],_0x1b548f(0x166)),'tooltipPosition':'n','class':Xr}),_0x157d4b['on'](_0x1b548f(0x153),()=>{const _0x1c0969=_0x1b548f;_0x32afcb[_0x1c0969(0x160)](),this[_0x1c0969(0x180)][_0x1c0969(0x17e)]();}),_0x157d4b;}[_0x2c8ca1(0x14b)](_0x2f6853){const _0x4f1143=_0x2c8ca1,_0x39cff5=new _0x242f9e(this[_0x4f1143(0x174)],{'source':_0x2f6853,'searchInputVisibleFrom':this[_0x4f1143(0x180)][_0x4f1143(0x178)]});return _0x39cff5['on'](_0x4f1143(0x157),(_0x7df22a,_0x3227fe)=>{const _0x3dd737=_0x4f1143;this[_0x3dd737(0x180)][_0x3dd737(0x169)](_0x3227fe);}),_0x39cff5['on'](_0x4f1143(0x16a),(_0x4114a9,_0x5e75c9)=>{const _0x33bd39=_0x4f1143;this[_0x33bd39(0x180)][_0x33bd39(0x16b)](_0x5e75c9[_0x33bd39(0x15b)],_0x5e75c9[_0x33bd39(0x14e)]),this[_0x33bd39(0x150)](_0x2f6853['id']);}),_0x39cff5;}[_0x2c8ca1(0x16c)](_0x265b5d){const _0x2c46fd=_0x2c8ca1,_0x454d6e=_0x265b5d[_0x2c46fd(0x15f)][_0x2c46fd(0x155)](0x1);return _0x454d6e instanceof _0x242f9e?_0x454d6e:null;}[_0x2c8ca1(0x176)](_0x28050a){const _0x59f1c8=_0x2c8ca1;_0x5bd008({'emitter':_0x28050a,'contextElements':[_0x28050a[_0x59f1c8(0x156)]],'callback':()=>{const _0x32744d=_0x59f1c8;_0x28050a[_0x32744d(0x160)](),this[_0x32744d(0x180)][_0x32744d(0x14a)]();},'activator':()=>_0x28050a[_0x59f1c8(0x177)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4762d7,IconView as _0x57e99c,LabeledFieldView as _0x314084,createLabeledInputText as _0x4838ef}from'ckeditor5/src/ui.js';import{IconLoupe as _0x480bcb,IconCancel as _0x521033}from'ckeditor5/src/icons.js';import{getTranslation as _0x34fa76}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x314084{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x21ad60){const t=_0x21ad60['t'],_0x483f0a={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x4838ef,'label':_0x34fa76(_0x21ad60,'AI_CHAT_SEARCH_RESOURCES')};super(_0x21ad60,_0x483f0a['creator']),this['label']=_0x483f0a['label'],this['_viewConfig']=_0x483f0a,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x21ad60,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x4edaa8){this['fire']('search',_0x4edaa8);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x57e99c(),this['iconView']['content']=_0x480bcb,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x805768,t){this['resetButtonView']=new _0x4762d7(_0x805768),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x521033,'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',_0x939680=>!_0x939680),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 _0x5491f6,IconView as _0x39199b,LabeledFieldView as _0x588aa2,createLabeledInputText as _0x3d7163}from'ckeditor5/src/ui.js';import{IconLoupe as _0x181036,IconCancel as _0x4f6835}from'ckeditor5/src/icons.js';import{getTranslation as _0x237b4c}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x588aa2{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x48bbfd){const t=_0x48bbfd['t'],_0x2af1e7={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x3d7163,'label':_0x237b4c(_0x48bbfd,'AI_CHAT_SEARCH_RESOURCES')};super(_0x48bbfd,_0x2af1e7['creator']),this['label']=_0x2af1e7['label'],this['_viewConfig']=_0x2af1e7,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x48bbfd,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x3371c7){this['fire']('search',_0x3371c7);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x39199b(),this['iconView']['content']=_0x181036,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x77b46b,t){this['resetButtonView']=new _0x5491f6(_0x77b46b),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x4f6835,'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',_0x416f07=>!_0x416f07),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 _0x1dcac4=_0x2682;(function(_0x327225,_0x15841f){const _0xb771d4=_0x2682,_0xfa0b4e=_0x327225();while(!![]){try{const _0x47cbe3=parseInt(_0xb771d4(0xfe))/0x1*(parseInt(_0xb771d4(0xe6))/0x2)+-parseInt(_0xb771d4(0x108))/0x3*(-parseInt(_0xb771d4(0xfd))/0x4)+-parseInt(_0xb771d4(0xe9))/0x5*(-parseInt(_0xb771d4(0xfa))/0x6)+-parseInt(_0xb771d4(0xfc))/0x7*(parseInt(_0xb771d4(0x100))/0x8)+-parseInt(_0xb771d4(0xf5))/0x9*(parseInt(_0xb771d4(0x102))/0xa)+-parseInt(_0xb771d4(0x106))/0xb*(parseInt(_0xb771d4(0xef))/0xc)+parseInt(_0xb771d4(0xed))/0xd*(parseInt(_0xb771d4(0xec))/0xe);if(_0x47cbe3===_0x15841f)break;else _0xfa0b4e['push'](_0xfa0b4e['shift']());}catch(_0x352cd0){_0xfa0b4e['push'](_0xfa0b4e['shift']());}}}(_0x375b,0xa0c36));import{View as _0x14b980}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x6d2ca1}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x155fee}from'../controls/aichatchipsoverflowmanager.js';function _0x2682(_0x47d1dc,_0x59bf23){const _0x375be0=_0x375b();return _0x2682=function(_0x2682dd,_0x1bf67a){_0x2682dd=_0x2682dd-0xe6;let _0x516d2d=_0x375be0[_0x2682dd];return _0x516d2d;},_0x2682(_0x47d1dc,_0x59bf23);}const $o=_0x1dcac4(0xff),Jo=_0x1dcac4(0xf1),Ko=_0x1dcac4(0xf6),Ro=_0x1dcac4(0x104),Lo=_0x1dcac4(0x101),No=_0x1dcac4(0x105);function _0x375b(){const _0x4c1c84=['2280080IFXyrS','ck-ai-chat-controls_context_show-more-button','2857910uRCjxt','reorganizeChips','ck-ai-chat-controls-button','ck-ai-chat-context-controls__show-more-balloon-panel','2404820vMFqHM','destroy','111bwJCqQ','_contextChips','42SGIQKE','setContainerElement','querySelector','70SeXbzg','_bodyCollection','_overflowManager','1702302xahOJb','247dEfHrH','render','72XqZSIg','setTemplate','ck-ai-chat-context-chips-wrapper','add','locale','_createContextChips','36tkOiSt','ck-ai-chat-context-chips-wrapper-balloon','ck-reset_all','div','element','486396rQfePq','createCollection','28eabcnc','64132OrCHoD','10238ktWuRk','ck-ai-chat__feed__context-chips'];_0x375b=function(){return _0x4c1c84;};return _0x375b();}export class AIChatFeedContextChipsView extends _0x14b980{[_0x1dcac4(0x109)]=this[_0x1dcac4(0xfb)]();[_0x1dcac4(0xeb)];[_0x1dcac4(0xea)];constructor(_0x80da2a,_0x4c16cc,_0x41a74a){const _0x30b01d=_0x1dcac4;super(_0x80da2a),this[_0x30b01d(0xea)]=_0x41a74a,this[_0x30b01d(0xf4)](_0x4c16cc);const _0x315cca={'cssClasses':{'showMoreButton':Lo,'showMoreBalloon':No,'overflowContainer':Ko,'controlsButton':Ro}};this[_0x30b01d(0xeb)]=new _0x155fee(_0x80da2a,this[_0x30b01d(0x109)],_0x315cca,this[_0x30b01d(0xea)],this),this[_0x30b01d(0xf0)]({'tag':_0x30b01d(0xf8),'attributes':{'class':[$o,'ck',_0x30b01d(0xf7)]},'children':[{'tag':_0x30b01d(0xf8),'attributes':{'class':Jo},'children':this[_0x30b01d(0x109)]}]});}[_0x1dcac4(0xee)](){const _0x557a80=_0x1dcac4;super[_0x557a80(0xee)]();const _0x30b342=this[_0x557a80(0xf9)][_0x557a80(0xe8)]('.'+Jo);_0x30b342&&(this[_0x557a80(0xeb)][_0x557a80(0xe7)](_0x30b342),this[_0x557a80(0xeb)][_0x557a80(0x103)]());}[_0x1dcac4(0x107)](){const _0x1c9571=_0x1dcac4;super[_0x1c9571(0x107)](),this[_0x1c9571(0xeb)][_0x1c9571(0x107)]();}[_0x1dcac4(0xf4)](_0x164bdf){const _0x1d550d=_0x1dcac4;for(const _0x25f322 of _0x164bdf){const _0x1b6fbc=new _0x6d2ca1(this[_0x1d550d(0xf3)],_0x25f322,!0x0,!0x1);this[_0x1d550d(0x109)][_0x1d550d(0xf2)](_0x1b6fbc);}}}
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);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x125e(_0x52bf5c,_0x2ca86f){var _0x5c23d1=_0x5c23();return _0x125e=function(_0x125eaf,_0x7b7f52){_0x125eaf=_0x125eaf-0x16f;var _0x16e4c4=_0x5c23d1[_0x125eaf];return _0x16e4c4;},_0x125e(_0x52bf5c,_0x2ca86f);}var _0x334d5f=_0x125e;(function(_0x122247,_0x5bed2f){var _0x3bbd99=_0x125e,_0x4e7e5c=_0x122247();while(!![]){try{var _0x45c256=parseInt(_0x3bbd99(0x17d))/0x1+-parseInt(_0x3bbd99(0x170))/0x2+parseInt(_0x3bbd99(0x179))/0x3+parseInt(_0x3bbd99(0x181))/0x4*(parseInt(_0x3bbd99(0x16f))/0x5)+-parseInt(_0x3bbd99(0x172))/0x6+parseInt(_0x3bbd99(0x176))/0x7*(-parseInt(_0x3bbd99(0x178))/0x8)+-parseInt(_0x3bbd99(0x171))/0x9*(-parseInt(_0x3bbd99(0x175))/0xa);if(_0x45c256===_0x5bed2f)break;else _0x4e7e5c['push'](_0x4e7e5c['shift']());}catch(_0x4d4a91){_0x4e7e5c['push'](_0x4e7e5c['shift']());}}}(_0x5c23,0xcbd98));import{AIChatFeedItemView as _0x2d78dc}from'./aichatfeeditemview.js';function _0x5c23(){var _0x3ccc18=['1860048ZHPXEP','setContent','warning','innerHTML','785414pNTCSk','element','options','ck-ai-notification_error','14564mDxNuJ','ck-ai-notification_warning','extendTemplate','level','markAsDone','355UdzpLG','2299492RWoafp','9RcGHix','2305560LHvhOA','initialContent','render','14959950uUxAdA','22974qEvjDL','ck-ai-notification','1928NMbFZS'];_0x5c23=function(){return _0x3ccc18;};return _0x5c23();}export class AIChatFeedErrorItemView extends _0x2d78dc{constructor(_0x59f5b1){var _0x3a087d=_0x125e;super(_0x59f5b1),this[_0x3a087d(0x183)]({'attributes':{'class':[_0x3a087d(0x177),_0x3a087d(0x17b)===_0x59f5b1[_0x3a087d(0x184)]?_0x3a087d(0x182):_0x3a087d(0x180)]}});}[_0x334d5f(0x174)](){var _0x3159ab=_0x334d5f;super[_0x3159ab(0x174)](),this[_0x3159ab(0x17a)](this[_0x3159ab(0x17f)][_0x3159ab(0x173)]),this[_0x3159ab(0x185)]();}[_0x334d5f(0x17a)](_0x235d21){var _0xba42a8=_0x334d5f;this[_0xba42a8(0x17e)][_0xba42a8(0x17c)]=_0x235d21;}}
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;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5306aa=_0x1c0c;(function(_0x2a6b36,_0x51629b){const _0x519a5e=_0x1c0c,_0x589a56=_0x2a6b36();while(!![]){try{const _0x3f5575=-parseInt(_0x519a5e(0xa8))/0x1+-parseInt(_0x519a5e(0xab))/0x2*(parseInt(_0x519a5e(0xaa))/0x3)+-parseInt(_0x519a5e(0xa9))/0x4+parseInt(_0x519a5e(0xc0))/0x5+-parseInt(_0x519a5e(0xb4))/0x6+-parseInt(_0x519a5e(0xaf))/0x7*(parseInt(_0x519a5e(0xae))/0x8)+-parseInt(_0x519a5e(0xbd))/0x9*(-parseInt(_0x519a5e(0xb0))/0xa);if(_0x3f5575===_0x51629b)break;else _0x589a56['push'](_0x589a56['shift']());}catch(_0x2e9e48){_0x589a56['push'](_0x589a56['shift']());}}}(_0x4846,0xc71ec));import{IconBulb as _0x1622d3,IconWeb as _0x5de66f}from'@ckeditor/ckeditor5-icons';import{IconView as _0x2397f5,View as _0x36a2c2}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x2a4887}from'./aichatfeeditemview.js';function _0x1c0c(_0x40a695,_0x5b35aa){const _0x48465a=_0x4846();return _0x1c0c=function(_0x1c0c6d,_0x1b9305){_0x1c0c6d=_0x1c0c6d-0xa7;let _0x55f794=_0x48465a[_0x1c0c6d];return _0x55f794;},_0x1c0c(_0x40a695,_0x5b35aa);}function _0x4846(){const _0x5defe3=['span','2889672cVeQLf','content','add','extendTemplate','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','div','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','setTemplate','ck-hidden','27yOrICw','push','ck-ai-chat__feed__interaction-header__capabilities__text','1044300PkukTs','children','321848UpEfOf','2022372VrflqN','1502142xcUFNw','4jdDGse','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','32xQouuJ','2437393oIndfK','14366710htgyfE','ck-ai-chat__feed__interaction-header__capabilities','ck-ai-chat__feed__interaction-header'];_0x4846=function(){return _0x5defe3;};return _0x4846();}import{getTranslation as _0x2c97d1}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x2a4887{[_0x5306aa(0xac)];constructor(_0x379926,_0x495d3){const _0x13cc8b=_0x5306aa;super(_0x495d3);const {isWebSearchEnabled:_0xd20290,isReasoningEnabled:_0x58be86}=_0x495d3[_0x13cc8b(0xac)],_0x261586=[];let _0xb2f657='';_0xd20290&&_0x58be86?(_0xb2f657=_0x2c97d1(_0x379926,_0x13cc8b(0xba)),_0x261586[_0x13cc8b(0xbe)](ea(_0x5de66f)),_0x261586[_0x13cc8b(0xbe)](ea(_0x1622d3))):_0xd20290?(_0xb2f657=_0x2c97d1(_0x379926,_0x13cc8b(0xb8)),_0x261586[_0x13cc8b(0xbe)](ea(_0x5de66f))):_0x58be86&&(_0xb2f657=_0x2c97d1(_0x379926,_0x13cc8b(0xad)),_0x261586[_0x13cc8b(0xbe)](ea(_0x1622d3))),this[_0x13cc8b(0xb7)]({'attributes':{'class':[_0x13cc8b(0xb2),_0xb2f657?'':_0x13cc8b(0xbc)]}});const _0x179f7f=new _0x36a2c2();_0x179f7f[_0x13cc8b(0xbb)]({'tag':_0x13cc8b(0xb9),'attributes':{'class':['ck',_0x13cc8b(0xb1)]},'children':[..._0x261586,{'tag':_0x13cc8b(0xb3),'attributes':{'class':[_0x13cc8b(0xbf)]},'children':[_0xb2f657]}]}),this[_0x13cc8b(0xa7)][_0x13cc8b(0xb6)](_0x179f7f),this[_0x13cc8b(0xac)]=_0x495d3[_0x13cc8b(0xac)];}}function ea(_0x2a25a6){const _0x2c1aab=_0x5306aa,_0x5b2d1f=new _0x2397f5();return _0x5b2d1f[_0x2c1aab(0xb5)]=_0x2a25a6,_0x5b2d1f;}
23
+ const _0x31ea27=_0x4c2c;function _0x54ad(){const _0x3d35e8=['27610GvpSRO','133947jLGttP','ck-ai-chat__feed__interaction-header__capabilities','add','588taUirz','243114sCgsTO','392DFmLNt','children','div','content','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','101976gSVilR','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-hidden','extendTemplate','22572MasvOG','push','694AqcImT','12820ZcvsDI','96jxVFCe','1232JnmWCS','setTemplate','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','capabilities','span','ck-ai-chat__feed__interaction-header__capabilities__text','ck-ai-chat__feed__interaction-header'];_0x54ad=function(){return _0x3d35e8;};return _0x54ad();}function _0x4c2c(_0x3141e9,_0x15c5bb){const _0x54ad53=_0x54ad();return _0x4c2c=function(_0x4c2c4f,_0x22394b){_0x4c2c4f=_0x4c2c4f-0x88;let _0x377764=_0x54ad53[_0x4c2c4f];return _0x377764;},_0x4c2c(_0x3141e9,_0x15c5bb);}(function(_0x2a3e5b,_0x108422){const _0x5e0aa0=_0x4c2c,_0x4f3b9e=_0x2a3e5b();while(!![]){try{const _0x112f7a=parseInt(_0x5e0aa0(0x88))/0x1*(parseInt(_0x5e0aa0(0x95))/0x2)+-parseInt(_0x5e0aa0(0xa0))/0x3+parseInt(_0x5e0aa0(0x8a))/0x4*(-parseInt(_0x5e0aa0(0x96))/0x5)+-parseInt(_0x5e0aa0(0x89))/0x6+parseInt(_0x5e0aa0(0x8f))/0x7+-parseInt(_0x5e0aa0(0x97))/0x8*(parseInt(_0x5e0aa0(0x93))/0x9)+parseInt(_0x5e0aa0(0x9f))/0xa*(parseInt(_0x5e0aa0(0x98))/0xb);if(_0x112f7a===_0x108422)break;else _0x4f3b9e['push'](_0x4f3b9e['shift']());}catch(_0x530640){_0x4f3b9e['push'](_0x4f3b9e['shift']());}}}(_0x54ad,0x27614));import{IconBulb as _0x1a6657,IconWeb as _0x4403dc}from'@ckeditor/ckeditor5-icons';import{IconView as _0x1a318d,View as _0x10ac58}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x54f4f0}from'./aichatfeeditemview.js';import{getTranslation as _0x1372ff}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x54f4f0{[_0x31ea27(0x9b)];constructor(_0x3a1e1a,_0x211c5f){const _0x272afe=_0x31ea27;super(_0x211c5f);const {isWebSearchEnabled:_0x117bed,isReasoningEnabled:_0x38b247}=_0x211c5f[_0x272afe(0x9b)],_0x59c7b4=[];let _0x4bb8a1='';_0x117bed&&_0x38b247?(_0x4bb8a1=_0x1372ff(_0x3a1e1a,_0x272afe(0x90)),_0x59c7b4[_0x272afe(0x94)](aa(_0x4403dc)),_0x59c7b4[_0x272afe(0x94)](aa(_0x1a6657))):_0x117bed?(_0x4bb8a1=_0x1372ff(_0x3a1e1a,_0x272afe(0x8e)),_0x59c7b4[_0x272afe(0x94)](aa(_0x4403dc))):_0x38b247&&(_0x4bb8a1=_0x1372ff(_0x3a1e1a,_0x272afe(0x9a)),_0x59c7b4[_0x272afe(0x94)](aa(_0x1a6657))),this[_0x272afe(0x92)]({'attributes':{'class':[_0x272afe(0x9e),_0x4bb8a1?'':_0x272afe(0x91)]}});const _0x6fff28=new _0x10ac58();_0x6fff28[_0x272afe(0x99)]({'tag':_0x272afe(0x8c),'attributes':{'class':['ck',_0x272afe(0xa1)]},'children':[..._0x59c7b4,{'tag':_0x272afe(0x9c),'attributes':{'class':[_0x272afe(0x9d)]},'children':[_0x4bb8a1]}]}),this[_0x272afe(0x8b)][_0x272afe(0xa2)](_0x6fff28),this[_0x272afe(0x9b)]=_0x211c5f[_0x272afe(0x9b)];}}function aa(_0x4bb9ea){const _0x1cc0f5=_0x31ea27,_0x48cd0e=new _0x1a318d();return _0x48cd0e[_0x1cc0f5(0x8d)]=_0x4bb9ea,_0x48cd0e;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x37fd(_0x462557,_0x8580fc){const _0x7618d0=_0x7618();return _0x37fd=function(_0x37fd38,_0x17d7f0){_0x37fd38=_0x37fd38-0x1e4;let _0x245207=_0x7618d0[_0x37fd38];return _0x245207;},_0x37fd(_0x462557,_0x8580fc);}const _0x13e958=_0x37fd;(function(_0x111538,_0x2698d0){const _0xf182f3=_0x37fd,_0x443822=_0x111538();while(!![]){try{const _0x4944c1=parseInt(_0xf182f3(0x200))/0x1+parseInt(_0xf182f3(0x1f8))/0x2+parseInt(_0xf182f3(0x1f1))/0x3*(parseInt(_0xf182f3(0x1f5))/0x4)+parseInt(_0xf182f3(0x1ed))/0x5+parseInt(_0xf182f3(0x1fe))/0x6+-parseInt(_0xf182f3(0x1f3))/0x7*(-parseInt(_0xf182f3(0x1ec))/0x8)+parseInt(_0xf182f3(0x201))/0x9*(-parseInt(_0xf182f3(0x202))/0xa);if(_0x4944c1===_0x2698d0)break;else _0x443822['push'](_0x443822['shift']());}catch(_0x4c8a28){_0x443822['push'](_0x443822['shift']());}}}(_0x7618,0x46192));import{View as _0x4f44f3}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x3c7325}from'../../../aicore/utils/htmlstreamer.js';function _0x7618(){const _0x3a68ac=['streamIntoElement','303630dRXMFV','element','[data-id]','querySelectorAll','children','setTemplate','3249000JMtgjm','removeAttribute','33313RucgzK','90lFdHWn','974800DpBwuN','forEach','isDone','content','htmlStreamer','ck-ai-chat__feed__text-item','isVisible','ck-ai-chat__feed__item','markAsDone','animation:\x20ck-html-streamer-fade-in\x20.5s','set','cleanUpAnimations','createCollection','options','5232QWGrKN','962975BGQRFg','data-id','div','ck-ai-chat__feed__item_done','45ytwavv','stream','1022uzYIbx','ck-hidden','65924kSNxmU','bindTemplate'];_0x7618=function(){return _0x3a68ac;};return _0x7618();}export class AIChatFeedItemView extends _0x4f44f3{[_0x13e958(0x1eb)];[_0x13e958(0x205)]='';[_0x13e958(0x206)];[_0x13e958(0x1fc)];constructor(_0x18aba3){const _0x473d3b=_0x13e958;super();const _0x5860c6=this[_0x473d3b(0x1f6)];this[_0x473d3b(0x1e8)](_0x473d3b(0x204),!0x1),this[_0x473d3b(0x1e8)](_0x473d3b(0x1e4),!0x0),this[_0x473d3b(0x206)]=new _0x3c7325({'textNodeStyle':_0x473d3b(0x1e7),'delay':0x14}),this[_0x473d3b(0x1eb)]=_0x18aba3,this[_0x473d3b(0x1fc)]=this[_0x473d3b(0x1ea)](),this[_0x473d3b(0x1fd)]({'tag':_0x473d3b(0x1ef),'attributes':{'class':['ck',_0x473d3b(0x1e5),_0x5860c6['if'](_0x473d3b(0x204),_0x473d3b(0x1f0)),_0x5860c6['if'](_0x473d3b(0x1e4),_0x473d3b(0x1f4),_0x1623ff=>!_0x1623ff),_0x473d3b(0x207)],'data-cke-ai-id':this[_0x473d3b(0x1eb)]['id']},'children':this[_0x473d3b(0x1fc)]});}[_0x13e958(0x1e6)](){const _0x3f2543=_0x13e958;this[_0x3f2543(0x206)][_0x3f2543(0x1e9)]({'targetElement':this[_0x3f2543(0x1f9)]}),this[_0x3f2543(0x1f9)][_0x3f2543(0x1fb)](_0x3f2543(0x1fa))[_0x3f2543(0x203)](_0x1b1c19=>{const _0x206253=_0x3f2543;_0x1b1c19[_0x206253(0x1ff)](_0x206253(0x1ee));}),this[_0x3f2543(0x204)]=!0x0;}async[_0x13e958(0x1f7)](_0x703adc,_0x38d7d1,_0x3da31d){const _0x13c8e9=_0x13e958;await this[_0x13c8e9(0x206)][_0x13c8e9(0x1f2)]({'document':_0x703adc,'targetElement':_0x38d7d1,'abortSignal':_0x3da31d});}}
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});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe31dab=_0x21b1;(function(_0x3da5b2,_0x2844c3){const _0x2b3adb=_0x21b1,_0x4a96ac=_0x3da5b2();while(!![]){try{const _0x415b8b=-parseInt(_0x2b3adb(0x179))/0x1*(parseInt(_0x2b3adb(0x17e))/0x2)+-parseInt(_0x2b3adb(0x186))/0x3*(parseInt(_0x2b3adb(0x198))/0x4)+-parseInt(_0x2b3adb(0x191))/0x5+-parseInt(_0x2b3adb(0x197))/0x6+parseInt(_0x2b3adb(0x184))/0x7+parseInt(_0x2b3adb(0x185))/0x8*(parseInt(_0x2b3adb(0x178))/0x9)+-parseInt(_0x2b3adb(0x193))/0xa*(-parseInt(_0x2b3adb(0x17a))/0xb);if(_0x415b8b===_0x2844c3)break;else _0x4a96ac['push'](_0x4a96ac['shift']());}catch(_0x5efeb9){_0x4a96ac['push'](_0x4a96ac['shift']());}}}(_0xe091,0xa3677));import{AIChatFeedItemView as _0x11ca42}from'./aichatfeeditemview.js';function _0xe091(){const _0x37080d=['ck-ai-chat__feed__ai-reply-container','extendTemplate','3242440DJhmIf','streamIntoElement','70vqOcOq','replyContainer','locale','options','7502946avxeCU','670904gLgTcp','innerHTML','updateContent','_bodyCollection','element','9YsAgrN','2RKpRFC','5528017vVVyFP','ck-ai-chat__feed__ai-reply','isVisible','setTemplate','1236946xvNXuS','addMany','streaming','ck-reset_all-excluded','initialContent','render','6665869wyvNWl','1390096MwfANe','15rZoUJV','children','map','add','div','updateSources','static','balloonPanelView','markAsDone'];_0xe091=function(){return _0x37080d;};return _0xe091();}import{parse as _0x41d720,render as _0x4208a5}from'../../../aicore/utils/htmlparser.js';import{View as _0x457935}from'ckeditor5/src/ui.js';function _0x21b1(_0x517d2e,_0x3b195c){const _0xe091d5=_0xe091();return _0x21b1=function(_0x21b138,_0x50164c){_0x21b138=_0x21b138-0x176;let _0x5ed783=_0xe091d5[_0x21b138];return _0x5ed783;},_0x21b1(_0x517d2e,_0x3b195c);}import{AIWebSourcesView as _0x502f7d,AIWebSourceView as _0xbad6f6}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x11ca42{[_0xe31dab(0x194)];[_0xe31dab(0x176)];constructor(_0x4ad5e3,_0x374bcf,_0x151f21){const _0x4ee598=_0xe31dab;super(_0x374bcf),this[_0x4ee598(0x176)]=_0x151f21,this[_0x4ee598(0x195)]=_0x4ad5e3,this[_0x4ee598(0x190)]({'attributes':{'class':[_0x4ee598(0x17b)]}}),this[_0x4ee598(0x194)]=new _0x457935(),this[_0x4ee598(0x194)][_0x4ee598(0x17d)]({'tag':_0x4ee598(0x18a),'attributes':{'class':['ck',_0x4ee598(0x181),_0x4ee598(0x18f)]}}),this[_0x4ee598(0x187)][_0x4ee598(0x189)](this[_0x4ee598(0x194)]);}async[_0xe31dab(0x183)](){const _0x51f5a0=_0xe31dab;super[_0x51f5a0(0x183)](),this[_0x51f5a0(0x196)][_0x51f5a0(0x182)]&&(await this[_0x51f5a0(0x19a)]({'parsedContent':_0x41d720(this[_0x51f5a0(0x196)][_0x51f5a0(0x182)]),'renderingStrategy':_0x51f5a0(0x18c)}),this[_0x51f5a0(0x18e)]());}async[_0xe31dab(0x19a)]({parsedContent:_0x12acd5,renderingStrategy:_0x142077,abortSignal:_0x181348}){const _0x288d21=_0xe31dab;_0x288d21(0x180)===_0x142077?await this[_0x288d21(0x192)](_0x12acd5,this[_0x288d21(0x194)][_0x288d21(0x177)],_0x181348):this[_0x288d21(0x194)][_0x288d21(0x177)][_0x288d21(0x199)]=_0x4208a5(_0x12acd5);}[_0xe31dab(0x18b)](_0x128b93){const _0xa0940d=_0xe31dab,_0x2b6115=new _0x502f7d(this[_0xa0940d(0x195)],this[_0xa0940d(0x176)]);_0x2b6115[_0xa0940d(0x187)][_0xa0940d(0x17f)](_0x128b93[_0xa0940d(0x188)](_0x5c2422=>new _0xbad6f6(this[_0xa0940d(0x195)],_0x5c2422,_0x2b6115[_0xa0940d(0x18d)]))),_0x2b6115[_0xa0940d(0x17c)]=!0x0,this[_0xa0940d(0x187)][_0xa0940d(0x189)](_0x2b6115);}}
23
+ const _0x342f9c=_0x2d01;(function(_0x29f872,_0x1e0fec){const _0x358b73=_0x2d01,_0x35fcda=_0x29f872();while(!![]){try{const _0x253a96=-parseInt(_0x358b73(0x1d6))/0x1+parseInt(_0x358b73(0x1c0))/0x2+-parseInt(_0x358b73(0x1d8))/0x3*(parseInt(_0x358b73(0x1d3))/0x4)+parseInt(_0x358b73(0x1d9))/0x5*(parseInt(_0x358b73(0x1d0))/0x6)+-parseInt(_0x358b73(0x1e0))/0x7+-parseInt(_0x358b73(0x1d4))/0x8*(parseInt(_0x358b73(0x1c1))/0x9)+-parseInt(_0x358b73(0x1d5))/0xa*(-parseInt(_0x358b73(0x1c2))/0xb);if(_0x253a96===_0x1e0fec)break;else _0x35fcda['push'](_0x35fcda['shift']());}catch(_0x44eabf){_0x35fcda['push'](_0x35fcda['shift']());}}}(_0x189e,0xaa002));function _0x189e(){const _0xe21e2a=['ck-reset_all-excluded','1854dAgbuQ','static','innerHTML','20BJlhYV','48uYPywD','410qSYrBB','488744ynUOBZ','initialContent','774465fhRupA','8475MurvcN','children','ck-ai-chat__feed__ai-reply','balloonPanelView','options','updateContent','extendTemplate','2759127cTanve','isVisible','replyContainer','updateSources','addMany','1175004wAcvpC','1277649TNrMRF','700381ovziJv','render','setTemplate','element','ck-ai-chat__feed__ai-reply-container','map','_bodyCollection','streaming','streamIntoElement','div','add','locale','markAsDone'];_0x189e=function(){return _0xe21e2a;};return _0x189e();}import{AIChatFeedItemView as _0x4ea9b2}from'./aichatfeeditemview.js';import{parse as _0xad4b24,render as _0x2c5e4d}from'../../../aicore/utils/htmlparser.js';function _0x2d01(_0x2d96d3,_0x309e4e){const _0x189e73=_0x189e();return _0x2d01=function(_0x2d0100,_0x3de173){_0x2d0100=_0x2d0100-0x1bd;let _0x468ba6=_0x189e73[_0x2d0100];return _0x468ba6;},_0x2d01(_0x2d96d3,_0x309e4e);}import{View as _0x434b7e}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0xe45891,AIWebSourceView as _0x1f7b40}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x4ea9b2{[_0x342f9c(0x1bd)];[_0x342f9c(0x1c8)];constructor(_0x3b8be5,_0x17750d,_0x209bde){const _0x25c3de=_0x342f9c;super(_0x17750d),this[_0x25c3de(0x1c8)]=_0x209bde,this[_0x25c3de(0x1cd)]=_0x3b8be5,this[_0x25c3de(0x1df)]({'attributes':{'class':[_0x25c3de(0x1db)]}}),this[_0x25c3de(0x1bd)]=new _0x434b7e(),this[_0x25c3de(0x1bd)][_0x25c3de(0x1c4)]({'tag':_0x25c3de(0x1cb),'attributes':{'class':['ck',_0x25c3de(0x1cf),_0x25c3de(0x1c6)]}}),this[_0x25c3de(0x1da)][_0x25c3de(0x1cc)](this[_0x25c3de(0x1bd)]);}async[_0x342f9c(0x1c3)](){const _0x119300=_0x342f9c;super[_0x119300(0x1c3)](),this[_0x119300(0x1dd)][_0x119300(0x1d7)]&&(await this[_0x119300(0x1de)]({'parsedContent':_0xad4b24(this[_0x119300(0x1dd)][_0x119300(0x1d7)]),'renderingStrategy':_0x119300(0x1d1)}),this[_0x119300(0x1ce)]());}async[_0x342f9c(0x1de)]({parsedContent:_0x1dddb0,renderingStrategy:_0x2f2c1a,abortSignal:_0x4755c6}){const _0x372668=_0x342f9c;_0x372668(0x1c9)===_0x2f2c1a?await this[_0x372668(0x1ca)](_0x1dddb0,this[_0x372668(0x1bd)][_0x372668(0x1c5)],_0x4755c6):this[_0x372668(0x1bd)][_0x372668(0x1c5)][_0x372668(0x1d2)]=_0x2c5e4d(_0x1dddb0);}[_0x342f9c(0x1be)](_0x38078a){const _0x1350bb=_0x342f9c,_0x10e544=new _0xe45891(this[_0x1350bb(0x1cd)],this[_0x1350bb(0x1c8)]);_0x10e544[_0x1350bb(0x1da)][_0x1350bb(0x1bf)](_0x38078a[_0x1350bb(0x1c7)](_0x332d0f=>new _0x1f7b40(this[_0x1350bb(0x1cd)],_0x332d0f,_0x10e544[_0x1350bb(0x1dc)]))),_0x10e544[_0x1350bb(0x1e1)]=!0x0,this[_0x1350bb(0x1da)][_0x1350bb(0x1cc)](_0x10e544);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3f58(){const _0x1dd45f=['AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','updateLabels','isTrackChangesOn','slice','listenTo','_createActionsButton','1121751FnVhwZ','actionsButton','has','open','label','4466TFnEbF','_createActionsDropdown','button','_setUpKeystrokes','children','keystrokeHandler','source','map','class','left','ck-ai-chat__feed__ai-suggestion__actions\x20','showChangeInText','ck-hidden','fire','applySuggestion','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','delegate','_dropdownCurrentConfig','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','bind','attachToDom','content','_dropdownOriginalConfig','div','15zhqddR','_updateDropdownActions','_setUpList','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','element','width','detachFromDom','isVisible','esc','201844QHpTBs','pin','bindTemplate','insertSuggestion','destroy','113148ksdeke','execute','createCollection','tooltip','bottom','add','listItemModels','set','arrowView','224YGffhq','_createActionsDropdownOrButton','focus','filter','225918FbKqcp','455820HxcUrk','ck-ai-chat__feed__ai-suggestion__actions__balloon','locale','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','balloonPanelClass','_firstRender','77vlwNsa','remove','unbind','insertSuggestionModel','308796puxHMx','setTemplate','listView','showChangeInTextModel','change:isTrackChangesOn','bodyCollection','keys','ck-ai-chat__feed__ai-suggestion__actions','isEnabled','ltr','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','ck-ai-chat__feed__ai-suggestion__actions--no-animation','uiLanguageDirection','_partsCount','hide','arrowless','balloonPanelView','items','ck-ai-button-primary','actionName','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','applySuggestionModel','length','10iSnEjm'];_0x3f58=function(){return _0x1dd45f;};return _0x3f58();}const _0x1e74fe=_0x2560;(function(_0x14d5df,_0x4f3e8d){const _0x1986c5=_0x2560,_0x550235=_0x14d5df();while(!![]){try{const _0x2c2067=-parseInt(_0x1986c5(0x144))/0x1+parseInt(_0x1986c5(0x137))/0x2+parseInt(_0x1986c5(0x129))/0x3*(-parseInt(_0x1986c5(0x132))/0x4)+parseInt(_0x1986c5(0x166))/0x5*(parseInt(_0x1986c5(0x14f))/0x6)+-parseInt(_0x1986c5(0x111))/0x7*(-parseInt(_0x1986c5(0x140))/0x8)+parseInt(_0x1986c5(0x16d))/0x9+-parseInt(_0x1986c5(0x145))/0xa*(-parseInt(_0x1986c5(0x14b))/0xb);if(_0x2c2067===_0x4f3e8d)break;else _0x550235['push'](_0x550235['shift']());}catch(_0x566f4c){_0x550235['push'](_0x550235['shift']());}}}(_0x3f58,0x22e0c));import{KeystrokeHandler as _0x529826}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x2626ad,BodyCollection as _0x53651a,ButtonView as _0x4bba95,clickOutsideHandler as _0x1f7671,ListItemButtonView as _0x2a69a8,ListItemView as _0x3989fa,ListView as _0x1c58d3,SplitButtonView as _0x16bacd,UIModel as _0x47c32a,View as _0x35043e}from'ckeditor5/src/ui.js';import{IconCheck as _0x45d000,IconAddComment as _0x50038e,IconDocumentWithLoupe as _0x201559}from'ckeditor5/src/icons.js';function _0x2560(_0x283df9,_0x4493b0){const _0x3f5864=_0x3f58();return _0x2560=function(_0x2560ab,_0x1a9994){_0x2560ab=_0x2560ab-0x10e;let _0x3890d2=_0x3f5864[_0x2560ab];return _0x3890d2;},_0x2560(_0x283df9,_0x4493b0);}import{getTranslation as _0x4df706}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x1e74fe(0x11f),_0x1e74fe(0x135),_0x1e74fe(0x11c)];export class AIChatFeedSuggestionItemActionsView extends _0x35043e{[_0x1e74fe(0x16e)];[_0x1e74fe(0x115)];[_0x1e74fe(0x164)];[_0x1e74fe(0x152)];[_0x1e74fe(0x14e)];[_0x1e74fe(0x15c)]=0x1;[_0x1e74fe(0x127)];[_0x1e74fe(0x122)];[_0x1e74fe(0x14a)]=!0x0;constructor(_0x457c39,_0x1fe86d){const _0xd15fcf=_0x1e74fe;super(_0x457c39),this[_0xd15fcf(0x127)]=_0x1fe86d||[...AI_REPLY_ACTIONS],this[_0xd15fcf(0x122)]=[...this[_0xd15fcf(0x127)]];const _0x18e5df=this[_0xd15fcf(0x134)];this[_0xd15fcf(0x13e)](_0xd15fcf(0x157),!0x0),this[_0xd15fcf(0x13e)](_0xd15fcf(0x130),!0x0),this[_0xd15fcf(0x13e)](_0xd15fcf(0x169),!0x1),this[_0xd15fcf(0x164)]=new _0x47c32a({'label':Pn(_0xd15fcf(0x11f),_0x457c39,this[_0xd15fcf(0x15c)]),'icon':_0x45d000,'withText':!0x0,'type':_0xd15fcf(0x113),'actionName':_0xd15fcf(0x11f)}),this[_0xd15fcf(0x152)]=new _0x47c32a({'label':Pn(_0xd15fcf(0x11c),_0x457c39,this[_0xd15fcf(0x15c)]),'icon':_0x201559,'withText':!0x0,'type':_0xd15fcf(0x113),'actionName':_0xd15fcf(0x11c)}),this[_0xd15fcf(0x14e)]=new _0x47c32a({'label':Pn(_0xd15fcf(0x135),_0x457c39,this[_0xd15fcf(0x15c)]),'icon':_0x50038e,'withText':!0x0,'type':_0xd15fcf(0x113),'actionName':_0xd15fcf(0x135)}),this[_0xd15fcf(0x16e)]=this[_0xd15fcf(0x141)](_0x457c39),this[_0xd15fcf(0x115)]=this[_0xd15fcf(0x139)](),this[_0xd15fcf(0x16e)]&&this[_0xd15fcf(0x115)][_0xd15fcf(0x13c)](this[_0xd15fcf(0x16e)]),this[_0xd15fcf(0x150)]({'tag':_0xd15fcf(0x128),'attributes':{'class':['ck',_0xd15fcf(0x156),_0x18e5df['if'](_0xd15fcf(0x130),_0xd15fcf(0x11d),_0x587049=>!_0x587049)]},'children':this[_0xd15fcf(0x115)]}),this['on'](_0xd15fcf(0x153),()=>{const _0x1c180c=_0xd15fcf;this[_0x1c180c(0x122)]=this[_0x1c180c(0x169)]?this[_0x1c180c(0x127)][_0x1c180c(0x143)](_0x414d90=>_0x1c180c(0x11f)!==_0x414d90):[...this[_0x1c180c(0x127)]],this[_0x1c180c(0x12a)](_0x457c39);});}[_0x1e74fe(0x12a)](_0x131fe4){const _0x3e2777=_0x1e74fe;this[_0x3e2777(0x16e)]&&this[_0x3e2777(0x115)][_0x3e2777(0x10e)](this[_0x3e2777(0x16e)])&&(this[_0x3e2777(0x115)][_0x3e2777(0x14c)](this[_0x3e2777(0x16e)]),this[_0x3e2777(0x16e)][_0x3e2777(0x136)]()),this[_0x3e2777(0x16e)]=this[_0x3e2777(0x141)](_0x131fe4),this[_0x3e2777(0x16e)]&&this[_0x3e2777(0x115)][_0x3e2777(0x13c)](this[_0x3e2777(0x16e)]);}[_0x1e74fe(0x141)](_0x2da741){const _0x3fc61c=_0x1e74fe;if(0x0==this[_0x3fc61c(0x122)][_0x3fc61c(0x165)])return null;const _0x4fa0a5=0x1===this[_0x3fc61c(0x122)][_0x3fc61c(0x165)]?this[_0x3fc61c(0x16c)](_0x2da741):this[_0x3fc61c(0x112)](_0x2da741),_0x114374=this[_0x3fc61c(0x14a)]?'':_0x3fc61c(0x15a);_0x4fa0a5[_0x3fc61c(0x13e)]({'label':Pn(this[_0x3fc61c(0x122)][0x0],_0x2da741,this[_0x3fc61c(0x15c)]),'tooltip':Hn(this[_0x3fc61c(0x122)][0x0],_0x2da741,this[_0x3fc61c(0x15c)]),'withText':!0x0,'class':_0x3fc61c(0x11b)+_0x114374});for(const _0x1bbe79 of this[_0x3fc61c(0x122)])_0x4fa0a5['on'](_0x1bbe79,()=>{const _0x16a082=_0x3fc61c;this[_0x16a082(0x11e)](_0x1bbe79);});return this[_0x3fc61c(0x14a)]=!0x1,_0x4fa0a5;}[_0x1e74fe(0x16c)](_0x8981f2){const _0x3dce7c=_0x1e74fe,_0x3c6444=new _0x4bba95(_0x8981f2);return _0x3c6444[_0x3dce7c(0x13e)]({'class':_0x3dce7c(0x161),'withText':!0x0}),_0x3c6444['on'](_0x3dce7c(0x138),()=>{const _0x438c37=_0x3dce7c;_0x3c6444[_0x438c37(0x11e)](this[_0x438c37(0x122)][0x0]);}),_0x3c6444;}[_0x1e74fe(0x112)](_0x362654){const _0x252e7e=_0x1e74fe,_0x2e3f3a=new Nn(_0x362654,{'listItemModels':this[_0x252e7e(0x122)][_0x252e7e(0x118)](_0x59cf83=>{const _0xd5a35c=_0x252e7e;switch(_0x59cf83){case _0xd5a35c(0x11f):return this[_0xd5a35c(0x164)];case _0xd5a35c(0x11c):return this[_0xd5a35c(0x152)];case _0xd5a35c(0x135):return this[_0xd5a35c(0x14e)];}})});return _0x2e3f3a[_0x252e7e(0x13e)]({'label':Pn(this[_0x252e7e(0x122)][0x0],_0x362654,this[_0x252e7e(0x15c)]),'tooltip':Hn(this[_0x252e7e(0x122)][0x0],_0x362654,this[_0x252e7e(0x15c)]),'withText':!0x0,'class':_0x252e7e(0x156),'balloonPanelClass':_0x252e7e(0x146)}),_0x2e3f3a[_0x252e7e(0x124)](_0x252e7e(0x157))['to'](this),_0x2e3f3a;}[_0x1e74fe(0x168)](_0x28d553){const _0x1184b6=_0x1e74fe,_0x388ea5=this[_0x1184b6(0x147)];this[_0x1184b6(0x15c)]=_0x28d553||this[_0x1184b6(0x15c)],this[_0x1184b6(0x16e)][_0x1184b6(0x13e)]({'label':Pn(this[_0x1184b6(0x122)][0x0],_0x388ea5,this[_0x1184b6(0x15c)]),'tooltip':Hn(this[_0x1184b6(0x122)][0x0],_0x388ea5,this[_0x1184b6(0x15c)])}),this[_0x1184b6(0x164)][_0x1184b6(0x110)]=Pn(_0x1184b6(0x11f),_0x388ea5,this[_0x1184b6(0x15c)]),this[_0x1184b6(0x152)][_0x1184b6(0x110)]=Pn(_0x1184b6(0x11c),_0x388ea5,this[_0x1184b6(0x15c)]),this[_0x1184b6(0x14e)][_0x1184b6(0x110)]=Pn(_0x1184b6(0x135),_0x388ea5,this[_0x1184b6(0x15c)]);}}class Nn extends _0x16bacd{[_0x1e74fe(0x154)];[_0x1e74fe(0x15f)];[_0x1e74fe(0x151)];[_0x1e74fe(0x116)];constructor(_0x2bc30b,_0x432841){const _0x189375=_0x1e74fe;super(_0x2bc30b),this[_0x189375(0x15f)]=new _0x2626ad(this[_0x189375(0x147)]),this[_0x189375(0x154)]=new _0x53651a(this[_0x189375(0x147)]),this[_0x189375(0x154)][_0x189375(0x125)](),this[_0x189375(0x13e)](_0x189375(0x149),''),this[_0x189375(0x15f)][_0x189375(0x124)](_0x189375(0x119))['to'](this,_0x189375(0x149)),this[_0x189375(0x151)]=this[_0x189375(0x12b)](_0x432841[_0x189375(0x13d)][_0x189375(0x16a)](0x1)),this[_0x189375(0x154)][_0x189375(0x13c)](this[_0x189375(0x15f)]),this[_0x189375(0x15f)][_0x189375(0x126)][_0x189375(0x13c)](this[_0x189375(0x151)]),this[_0x189375(0x13f)][_0x189375(0x14d)](_0x189375(0x13a)),this[_0x189375(0x13f)][_0x189375(0x13e)](_0x189375(0x13a),_0x4df706(this[_0x189375(0x147)],_0x189375(0x163))),this[_0x189375(0x114)](),this['on'](_0x189375(0x138),()=>{const _0x20db85=_0x189375,_0x5300b4=_0x432841[_0x20db85(0x13d)][0x0][_0x20db85(0x162)];this[_0x20db85(0x11e)](_0x5300b4),this[_0x20db85(0x15f)][_0x20db85(0x15d)](),this[_0x20db85(0x13f)][_0x20db85(0x142)]();}),this['on'](_0x189375(0x10f),()=>{const _0x41ca76=_0x189375;this[_0x41ca76(0x15f)][_0x41ca76(0x130)]?(this[_0x41ca76(0x15f)][_0x41ca76(0x15d)](),this[_0x41ca76(0x13f)][_0x41ca76(0x142)]()):(this[_0x41ca76(0x15f)][_0x41ca76(0x133)]({'target':this[_0x41ca76(0x12d)],'positions':[_0x41ca76(0x158)===this[_0x41ca76(0x147)][_0x41ca76(0x15b)]?Gn:yn]}),this[_0x41ca76(0x151)][_0x41ca76(0x142)]());}),_0x1f7671({'emitter':this[_0x189375(0x15f)],'callback':()=>{const _0x3c9dfc=_0x189375;this[_0x3c9dfc(0x15f)][_0x3c9dfc(0x15d)]();},'activator':()=>this[_0x189375(0x15f)][_0x189375(0x130)],'contextElements':()=>[this[_0x189375(0x12d)],this[_0x189375(0x15f)][_0x189375(0x12d)]]});}[_0x1e74fe(0x12b)](_0x8e5df9){const _0x3aebed=_0x1e74fe,_0x273040=this[_0x3aebed(0x147)],_0x103229=new _0x1c58d3(_0x273040);for(const _0x2b3b5e of _0x8e5df9){const _0xfd50b9=new _0x3989fa(_0x273040),_0x23bd07=new _0x2a69a8(_0x273040);_0x23bd07[_0x3aebed(0x124)](...Object[_0x3aebed(0x155)](_0x2b3b5e))['to'](_0x2b3b5e),_0x23bd07[_0x3aebed(0x121)](_0x3aebed(0x138))['to'](_0x103229),_0xfd50b9[_0x3aebed(0x115)][_0x3aebed(0x13c)](_0x23bd07),_0x103229[_0x3aebed(0x160)][_0x3aebed(0x13c)](_0xfd50b9);}return _0x103229[_0x3aebed(0x160)][_0x3aebed(0x121)](_0x3aebed(0x138))['to'](this),_0x103229['on'](_0x3aebed(0x138),_0x319fdb=>{const _0x344fc6=_0x3aebed,_0x4c6848=_0x319fdb[_0x344fc6(0x117)];this[_0x344fc6(0x11e)](_0x4c6848[_0x344fc6(0x162)]),this[_0x344fc6(0x15f)][_0x344fc6(0x15d)](),this[_0x344fc6(0x13f)][_0x344fc6(0x142)]();}),_0x103229;}[_0x1e74fe(0x114)](){const _0x371524=_0x1e74fe;this[_0x371524(0x116)]=new _0x529826(),this[_0x371524(0x116)][_0x371524(0x16b)](this[_0x371524(0x15f)][_0x371524(0x12d)]),this[_0x371524(0x116)][_0x371524(0x13e)](_0x371524(0x131),(_0x5a5b3a,_0x4b22e3)=>{const _0x360938=_0x371524;this[_0x360938(0x15f)][_0x360938(0x15d)](),this[_0x360938(0x13f)][_0x360938(0x142)](),_0x4b22e3();});}[_0x1e74fe(0x136)](){const _0x2168b3=_0x1e74fe;super[_0x2168b3(0x136)](),this[_0x2168b3(0x116)][_0x2168b3(0x136)](),this[_0x2168b3(0x15f)][_0x2168b3(0x136)](),this[_0x2168b3(0x154)][_0x2168b3(0x12f)]();}}function Gn(_0x11cc33){const _0x40a7ac=_0x1e74fe;return{'top':_0x11cc33[_0x40a7ac(0x13b)],'left':_0x11cc33[_0x40a7ac(0x11a)],'name':_0x40a7ac(0x15e),'config':{'withArrow':!0x1}};}function yn(_0x5c2f65,_0x505a0f){const _0x71aebc=_0x1e74fe;return{'top':_0x5c2f65[_0x71aebc(0x13b)],'left':_0x5c2f65[_0x71aebc(0x11a)]-(_0x505a0f[_0x71aebc(0x12e)]-_0x5c2f65[_0x71aebc(0x12e)]),'name':_0x71aebc(0x15e),'config':{'withArrow':!0x1}};}function Pn(_0x42f0fb,_0x150f03,_0x4da59d){const _0x29477b=_0x1e74fe;switch(_0x42f0fb){case _0x29477b(0x11f):return _0x4df706(_0x150f03,_0x29477b(0x120),_0x4da59d);case _0x29477b(0x11c):return _0x4df706(_0x150f03,_0x29477b(0x12c),_0x4da59d);case _0x29477b(0x135):return _0x4df706(_0x150f03,_0x29477b(0x159),_0x4da59d);}}function Hn(_0x297ad8,_0x56d1b1,_0x20f110){const _0x1a2c5a=_0x1e74fe;switch(_0x297ad8){case _0x1a2c5a(0x11f):return _0x4df706(_0x56d1b1,_0x1a2c5a(0x167),_0x20f110);case _0x1a2c5a(0x11c):return _0x4df706(_0x56d1b1,_0x1a2c5a(0x123),_0x20f110);case _0x1a2c5a(0x135):return _0x4df706(_0x56d1b1,_0x1a2c5a(0x148),_0x20f110);}}
23
+ const _0x3fc1cb=_0x1e5e;(function(_0x2d2f9f,_0x1bbf98){const _0x28b73c=_0x1e5e,_0x485db7=_0x2d2f9f();while(!![]){try{const _0x421fd5=-parseInt(_0x28b73c(0xa2))/0x1*(-parseInt(_0x28b73c(0xf3))/0x2)+parseInt(_0x28b73c(0xb3))/0x3+parseInt(_0x28b73c(0xe7))/0x4+parseInt(_0x28b73c(0xe4))/0x5*(parseInt(_0x28b73c(0xa6))/0x6)+parseInt(_0x28b73c(0xb2))/0x7*(parseInt(_0x28b73c(0xcf))/0x8)+parseInt(_0x28b73c(0xbb))/0x9+-parseInt(_0x28b73c(0xa9))/0xa;if(_0x421fd5===_0x1bbf98)break;else _0x485db7['push'](_0x485db7['shift']());}catch(_0x4b6142){_0x485db7['push'](_0x485db7['shift']());}}}(_0x75ac,0xc54bb));import{KeystrokeHandler as _0xf9a699}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x124eed,BodyCollection as _0x24e283,ButtonView as _0xf28eb2,clickOutsideHandler as _0x32c833,ListItemButtonView as _0x112e11,ListItemView as _0x5012b0,ListView as _0x1aa4c1,SplitButtonView as _0x1e5b0b,UIModel as _0x1a6c1f,View as _0x18d1fb}from'ckeditor5/src/ui.js';import{IconCheck as _0x33fba2,IconAddComment as _0x38c76f,IconDocumentWithLoupe as _0x4a8d26}from'ckeditor5/src/icons.js';function _0x75ac(){const _0x1fa01c=['esc','updateLabels','hide','div','tooltip','destroy','isVisible','2049286QcAugJ','ck-ai-chat__feed__ai-suggestion__actions','showChangeInTextModel','source','ltr','showChangeInText','_updateDropdownActions','setTemplate','fire','_dropdownCurrentConfig','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','_createActionsDropdown','bind','focus','_firstRender','1IkkRuo','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','isTrackChangesOn','keys','2728926XNcptN','ck-ai-chat__feed__ai-suggestion__actions__balloon','actionsButton','41536310OQpmsK','balloonPanelClass','isEnabled','listView','left','actionName','locale','detachFromDom','label','14JuIKXg','744612WQrHLT','bottom','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','arrowless','_createActionsDropdownOrButton','ck-ai-chat__feed__ai-suggestion__actions\x20','_createActionsButton','execute','2362248fqTXIw','attachToDom','applySuggestionModel','items','class','keystrokeHandler','_dropdownOriginalConfig','set','unbind','button','createCollection','slice','open','_setUpKeystrokes','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','add','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','children','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','ck-hidden','5129848udBWQF','_setUpList','uiLanguageDirection','filter','listenTo','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','length','_partsCount','delegate','width','map','balloonPanelView','listItemModels','bodyCollection','ck-ai-chat__feed__ai-suggestion__actions--no-animation','ck-ai-button-primary','element','insertSuggestion','bindTemplate','change:isTrackChangesOn','content','15VEImTu','remove','applySuggestion','3118040THtWIL','arrowView','pin','has','insertSuggestionModel'];_0x75ac=function(){return _0x1fa01c;};return _0x75ac();}import{getTranslation as _0x3ef164}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x3fc1cb(0xe6),_0x3fc1cb(0xe0),_0x3fc1cb(0xf8)];export class AIChatFeedSuggestionItemActionsView extends _0x18d1fb{[_0x3fc1cb(0xa8)];[_0x3fc1cb(0xcc)];[_0x3fc1cb(0xbd)];[_0x3fc1cb(0xf5)];[_0x3fc1cb(0xeb)];[_0x3fc1cb(0xd6)]=0x1;[_0x3fc1cb(0xc1)];[_0x3fc1cb(0x9c)];[_0x3fc1cb(0xa1)]=!0x0;constructor(_0x10b3fd,_0x1555eb){const _0x47bfc8=_0x3fc1cb;super(_0x10b3fd),this[_0x47bfc8(0xc1)]=_0x1555eb||[...AI_REPLY_ACTIONS],this[_0x47bfc8(0x9c)]=[...this[_0x47bfc8(0xc1)]];const _0x223679=this[_0x47bfc8(0xe1)];this[_0x47bfc8(0xc2)](_0x47bfc8(0xab),!0x0),this[_0x47bfc8(0xc2)](_0x47bfc8(0xf2),!0x0),this[_0x47bfc8(0xc2)](_0x47bfc8(0xa4),!0x1),this[_0x47bfc8(0xbd)]=new _0x1a6c1f({'label':Pn(_0x47bfc8(0xe6),_0x10b3fd,this[_0x47bfc8(0xd6)]),'icon':_0x33fba2,'withText':!0x0,'type':_0x47bfc8(0xc4),'actionName':_0x47bfc8(0xe6)}),this[_0x47bfc8(0xf5)]=new _0x1a6c1f({'label':Pn(_0x47bfc8(0xf8),_0x10b3fd,this[_0x47bfc8(0xd6)]),'icon':_0x4a8d26,'withText':!0x0,'type':_0x47bfc8(0xc4),'actionName':_0x47bfc8(0xf8)}),this[_0x47bfc8(0xeb)]=new _0x1a6c1f({'label':Pn(_0x47bfc8(0xe0),_0x10b3fd,this[_0x47bfc8(0xd6)]),'icon':_0x38c76f,'withText':!0x0,'type':_0x47bfc8(0xc4),'actionName':_0x47bfc8(0xe0)}),this[_0x47bfc8(0xa8)]=this[_0x47bfc8(0xb7)](_0x10b3fd),this[_0x47bfc8(0xcc)]=this[_0x47bfc8(0xc5)](),this[_0x47bfc8(0xa8)]&&this[_0x47bfc8(0xcc)][_0x47bfc8(0xca)](this[_0x47bfc8(0xa8)]),this[_0x47bfc8(0x9a)]({'tag':_0x47bfc8(0xef),'attributes':{'class':['ck',_0x47bfc8(0xf4),_0x223679['if'](_0x47bfc8(0xf2),_0x47bfc8(0xce),_0xbb34b9=>!_0xbb34b9)]},'children':this[_0x47bfc8(0xcc)]}),this['on'](_0x47bfc8(0xe2),()=>{const _0x5ec32c=_0x47bfc8;this[_0x5ec32c(0x9c)]=this[_0x5ec32c(0xa4)]?this[_0x5ec32c(0xc1)][_0x5ec32c(0xd2)](_0x265448=>_0x5ec32c(0xe6)!==_0x265448):[...this[_0x5ec32c(0xc1)]],this[_0x5ec32c(0xf9)](_0x10b3fd);});}[_0x3fc1cb(0xf9)](_0x57c927){const _0x58878e=_0x3fc1cb;this[_0x58878e(0xa8)]&&this[_0x58878e(0xcc)][_0x58878e(0xea)](this[_0x58878e(0xa8)])&&(this[_0x58878e(0xcc)][_0x58878e(0xe5)](this[_0x58878e(0xa8)]),this[_0x58878e(0xa8)][_0x58878e(0xf1)]()),this[_0x58878e(0xa8)]=this[_0x58878e(0xb7)](_0x57c927),this[_0x58878e(0xa8)]&&this[_0x58878e(0xcc)][_0x58878e(0xca)](this[_0x58878e(0xa8)]);}[_0x3fc1cb(0xb7)](_0xb8686){const _0x3f038d=_0x3fc1cb;if(0x0==this[_0x3f038d(0x9c)][_0x3f038d(0xd5)])return null;const _0x5dde0f=0x1===this[_0x3f038d(0x9c)][_0x3f038d(0xd5)]?this[_0x3f038d(0xb9)](_0xb8686):this[_0x3f038d(0x9e)](_0xb8686),_0x1f3fe1=this[_0x3f038d(0xa1)]?'':_0x3f038d(0xdd);_0x5dde0f[_0x3f038d(0xc2)]({'label':Pn(this[_0x3f038d(0x9c)][0x0],_0xb8686,this[_0x3f038d(0xd6)]),'tooltip':Hn(this[_0x3f038d(0x9c)][0x0],_0xb8686,this[_0x3f038d(0xd6)]),'withText':!0x0,'class':_0x3f038d(0xb8)+_0x1f3fe1});for(const _0x3a328e of this[_0x3f038d(0x9c)])_0x5dde0f['on'](_0x3a328e,()=>{const _0x47059d=_0x3f038d;this[_0x47059d(0x9b)](_0x3a328e);});return this[_0x3f038d(0xa1)]=!0x1,_0x5dde0f;}[_0x3fc1cb(0xb9)](_0x2531c4){const _0x50ce79=_0x3fc1cb,_0x3b1cd1=new _0xf28eb2(_0x2531c4);return _0x3b1cd1[_0x50ce79(0xc2)]({'class':_0x50ce79(0xde),'withText':!0x0}),_0x3b1cd1['on'](_0x50ce79(0xba),()=>{const _0x1180a3=_0x50ce79;_0x3b1cd1[_0x1180a3(0x9b)](this[_0x1180a3(0x9c)][0x0]);}),_0x3b1cd1;}[_0x3fc1cb(0x9e)](_0x2b1a56){const _0x3ebae5=_0x3fc1cb,_0x21fb27=new Nn(_0x2b1a56,{'listItemModels':this[_0x3ebae5(0x9c)][_0x3ebae5(0xd9)](_0x33f9f6=>{const _0x2d0e74=_0x3ebae5;switch(_0x33f9f6){case _0x2d0e74(0xe6):return this[_0x2d0e74(0xbd)];case _0x2d0e74(0xf8):return this[_0x2d0e74(0xf5)];case _0x2d0e74(0xe0):return this[_0x2d0e74(0xeb)];}})});return _0x21fb27[_0x3ebae5(0xc2)]({'label':Pn(this[_0x3ebae5(0x9c)][0x0],_0x2b1a56,this[_0x3ebae5(0xd6)]),'tooltip':Hn(this[_0x3ebae5(0x9c)][0x0],_0x2b1a56,this[_0x3ebae5(0xd6)]),'withText':!0x0,'class':_0x3ebae5(0xf4),'balloonPanelClass':_0x3ebae5(0xa7)}),_0x21fb27[_0x3ebae5(0x9f)](_0x3ebae5(0xab))['to'](this),_0x21fb27;}[_0x3fc1cb(0xed)](_0x42fa1a){const _0x23b219=_0x3fc1cb,_0x609a1f=this[_0x23b219(0xaf)];this[_0x23b219(0xd6)]=_0x42fa1a||this[_0x23b219(0xd6)],this[_0x23b219(0xa8)][_0x23b219(0xc2)]({'label':Pn(this[_0x23b219(0x9c)][0x0],_0x609a1f,this[_0x23b219(0xd6)]),'tooltip':Hn(this[_0x23b219(0x9c)][0x0],_0x609a1f,this[_0x23b219(0xd6)])}),this[_0x23b219(0xbd)][_0x23b219(0xb1)]=Pn(_0x23b219(0xe6),_0x609a1f,this[_0x23b219(0xd6)]),this[_0x23b219(0xf5)][_0x23b219(0xb1)]=Pn(_0x23b219(0xf8),_0x609a1f,this[_0x23b219(0xd6)]),this[_0x23b219(0xeb)][_0x23b219(0xb1)]=Pn(_0x23b219(0xe0),_0x609a1f,this[_0x23b219(0xd6)]);}}class Nn extends _0x1e5b0b{[_0x3fc1cb(0xdc)];[_0x3fc1cb(0xda)];[_0x3fc1cb(0xac)];[_0x3fc1cb(0xc0)];constructor(_0x4c72d2,_0x4372fe){const _0x2d21a5=_0x3fc1cb;super(_0x4c72d2),this[_0x2d21a5(0xda)]=new _0x124eed(this[_0x2d21a5(0xaf)]),this[_0x2d21a5(0xdc)]=new _0x24e283(this[_0x2d21a5(0xaf)]),this[_0x2d21a5(0xdc)][_0x2d21a5(0xbc)](),this[_0x2d21a5(0xc2)](_0x2d21a5(0xaa),''),this[_0x2d21a5(0xda)][_0x2d21a5(0x9f)](_0x2d21a5(0xbf))['to'](this,_0x2d21a5(0xaa)),this[_0x2d21a5(0xac)]=this[_0x2d21a5(0xd0)](_0x4372fe[_0x2d21a5(0xdb)][_0x2d21a5(0xc6)](0x1)),this[_0x2d21a5(0xdc)][_0x2d21a5(0xca)](this[_0x2d21a5(0xda)]),this[_0x2d21a5(0xda)][_0x2d21a5(0xe3)][_0x2d21a5(0xca)](this[_0x2d21a5(0xac)]),this[_0x2d21a5(0xe8)][_0x2d21a5(0xc3)](_0x2d21a5(0xf0)),this[_0x2d21a5(0xe8)][_0x2d21a5(0xc2)](_0x2d21a5(0xf0),_0x3ef164(this[_0x2d21a5(0xaf)],_0x2d21a5(0xb5))),this[_0x2d21a5(0xc8)](),this['on'](_0x2d21a5(0xba),()=>{const _0x5ebe2f=_0x2d21a5,_0x44f1e3=_0x4372fe[_0x5ebe2f(0xdb)][0x0][_0x5ebe2f(0xae)];this[_0x5ebe2f(0x9b)](_0x44f1e3),this[_0x5ebe2f(0xda)][_0x5ebe2f(0xee)](),this[_0x5ebe2f(0xe8)][_0x5ebe2f(0xa0)]();}),this['on'](_0x2d21a5(0xc7),()=>{const _0x228669=_0x2d21a5;this[_0x228669(0xda)][_0x228669(0xf2)]?(this[_0x228669(0xda)][_0x228669(0xee)](),this[_0x228669(0xe8)][_0x228669(0xa0)]()):(this[_0x228669(0xda)][_0x228669(0xe9)]({'target':this[_0x228669(0xdf)],'positions':[_0x228669(0xf7)===this[_0x228669(0xaf)][_0x228669(0xd1)]?Gn:yn]}),this[_0x228669(0xac)][_0x228669(0xa0)]());}),_0x32c833({'emitter':this[_0x2d21a5(0xda)],'callback':()=>{const _0x14c6fc=_0x2d21a5;this[_0x14c6fc(0xda)][_0x14c6fc(0xee)]();},'activator':()=>this[_0x2d21a5(0xda)][_0x2d21a5(0xf2)],'contextElements':()=>[this[_0x2d21a5(0xdf)],this[_0x2d21a5(0xda)][_0x2d21a5(0xdf)]]});}[_0x3fc1cb(0xd0)](_0x434c35){const _0x4f3a7f=_0x3fc1cb,_0x53cfbe=this[_0x4f3a7f(0xaf)],_0x59280b=new _0x1aa4c1(_0x53cfbe);for(const _0x59af4c of _0x434c35){const _0x357b2f=new _0x5012b0(_0x53cfbe),_0x25a906=new _0x112e11(_0x53cfbe);_0x25a906[_0x4f3a7f(0x9f)](...Object[_0x4f3a7f(0xa5)](_0x59af4c))['to'](_0x59af4c),_0x25a906[_0x4f3a7f(0xd7)](_0x4f3a7f(0xba))['to'](_0x59280b),_0x357b2f[_0x4f3a7f(0xcc)][_0x4f3a7f(0xca)](_0x25a906),_0x59280b[_0x4f3a7f(0xbe)][_0x4f3a7f(0xca)](_0x357b2f);}return _0x59280b[_0x4f3a7f(0xbe)][_0x4f3a7f(0xd7)](_0x4f3a7f(0xba))['to'](this),_0x59280b['on'](_0x4f3a7f(0xba),_0x4861ec=>{const _0x37721e=_0x4f3a7f,_0x14aacc=_0x4861ec[_0x37721e(0xf6)];this[_0x37721e(0x9b)](_0x14aacc[_0x37721e(0xae)]),this[_0x37721e(0xda)][_0x37721e(0xee)](),this[_0x37721e(0xe8)][_0x37721e(0xa0)]();}),_0x59280b;}[_0x3fc1cb(0xc8)](){const _0x163258=_0x3fc1cb;this[_0x163258(0xc0)]=new _0xf9a699(),this[_0x163258(0xc0)][_0x163258(0xd3)](this[_0x163258(0xda)][_0x163258(0xdf)]),this[_0x163258(0xc0)][_0x163258(0xc2)](_0x163258(0xec),(_0x400b35,_0x5c7fb7)=>{const _0x144b28=_0x163258;this[_0x144b28(0xda)][_0x144b28(0xee)](),this[_0x144b28(0xe8)][_0x144b28(0xa0)](),_0x5c7fb7();});}[_0x3fc1cb(0xf1)](){const _0xbdfae5=_0x3fc1cb;super[_0xbdfae5(0xf1)](),this[_0xbdfae5(0xc0)][_0xbdfae5(0xf1)](),this[_0xbdfae5(0xda)][_0xbdfae5(0xf1)](),this[_0xbdfae5(0xdc)][_0xbdfae5(0xb0)]();}}function Gn(_0x40e6cf){const _0x289061=_0x3fc1cb;return{'top':_0x40e6cf[_0x289061(0xb4)],'left':_0x40e6cf[_0x289061(0xad)],'name':_0x289061(0xb6),'config':{'withArrow':!0x1}};}function _0x1e5e(_0xe28bb0,_0x13cbc6){const _0x75ace=_0x75ac();return _0x1e5e=function(_0x1e5e4b,_0x47a44d){_0x1e5e4b=_0x1e5e4b-0x9a;let _0x934148=_0x75ace[_0x1e5e4b];return _0x934148;},_0x1e5e(_0xe28bb0,_0x13cbc6);}function yn(_0x4751a6,_0x30abce){const _0x359c4e=_0x3fc1cb;return{'top':_0x4751a6[_0x359c4e(0xb4)],'left':_0x4751a6[_0x359c4e(0xad)]-(_0x30abce[_0x359c4e(0xd8)]-_0x4751a6[_0x359c4e(0xd8)]),'name':_0x359c4e(0xb6),'config':{'withArrow':!0x1}};}function Pn(_0x21abd8,_0x50bf4a,_0x1c8f3d){const _0x1a2a22=_0x3fc1cb;switch(_0x21abd8){case _0x1a2a22(0xe6):return _0x3ef164(_0x50bf4a,_0x1a2a22(0xc9),_0x1c8f3d);case _0x1a2a22(0xf8):return _0x3ef164(_0x50bf4a,_0x1a2a22(0x9d),_0x1c8f3d);case _0x1a2a22(0xe0):return _0x3ef164(_0x50bf4a,_0x1a2a22(0xcb),_0x1c8f3d);}}function Hn(_0x25441f,_0x2ce66b,_0x41b282){const _0x2fbc44=_0x3fc1cb;switch(_0x25441f){case _0x2fbc44(0xe6):return _0x3ef164(_0x2ce66b,_0x2fbc44(0xcd),_0x41b282);case _0x2fbc44(0xf8):return _0x3ef164(_0x2ce66b,_0x2fbc44(0xa3),_0x41b282);case _0x2fbc44(0xe0):return _0x3ef164(_0x2ce66b,_0x2fbc44(0xd4),_0x41b282);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5446(_0x4c73e0,_0x14c9ff){var _0x310e21=_0x310e();return _0x5446=function(_0x544665,_0x504f04){_0x544665=_0x544665-0x8e;var _0x42a514=_0x310e21[_0x544665];return _0x42a514;},_0x5446(_0x4c73e0,_0x14c9ff);}function _0x310e(){var _0x3b8fe6=['extendTemplate','hasPendingParts','967870XyaNcC','isTrackChangesOn','8655122eLJUjD','236868HxNDlo','like','fire','applySuggestion','2BYkWEG','children','showChangeInText','mouseLeaveSuggestion','updatePartState','bind','partsCount','getPartView','ck-ai-chat__feed__ai-suggestion','isVisible','addMany','insertSuggestion','418212FTAWyp','showDiff','actionsView','containerView','updateLabels','4213KOLLYT','updateSources','dislike','availableActions','markAsDone','updateContent','10492936QxTqLM','bodyView','areActionsDisabled','options','set','hasNonEmptyParts','28MOfFQl','20OGuRAl','mouseOverSuggestion','1686129qQIxYc','isEnabled','toggleSuggestionDisplayMode','rejectSuggestion'];_0x310e=function(){return _0x3b8fe6;};return _0x310e();}var _0x1e2561=_0x5446;(function(_0x1b999e,_0x1abc19){var _0x510fe9=_0x5446,_0x4bcd0b=_0x1b999e();while(!![]){try{var _0x4d33a3=-parseInt(_0x510fe9(0x9f))/0x1*(-parseInt(_0x510fe9(0x8e))/0x2)+-parseInt(_0x510fe9(0xae))/0x3+parseInt(_0x510fe9(0xab))/0x4*(-parseInt(_0x510fe9(0xb4))/0x5)+parseInt(_0x510fe9(0xb7))/0x6+parseInt(_0x510fe9(0xb6))/0x7+parseInt(_0x510fe9(0xa5))/0x8+-parseInt(_0x510fe9(0x9a))/0x9*(-parseInt(_0x510fe9(0xac))/0xa);if(_0x4d33a3===_0x1abc19)break;else _0x4bcd0b['push'](_0x4bcd0b['shift']());}catch(_0x9e2723){_0x4bcd0b['push'](_0x4bcd0b['shift']());}}}(_0x310e,0xbb68d));import{AIChatFeedItemView as _0x38d795}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x325ac6}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x1828b9}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x38d795{[_0x1e2561(0x9d)];[_0x1e2561(0x9c)];constructor(_0x1d5cb9,_0x21682a,_0x42300b){var _0x1f22f9=_0x1e2561;super(_0x21682a),this[_0x1f22f9(0xa9)](_0x1f22f9(0xb5),!0x1),this[_0x1f22f9(0x9d)]=new _0x325ac6(_0x1d5cb9,{'showDiff':_0x21682a[_0x1f22f9(0x9b)],'areActionsDisabled':_0x21682a[_0x1f22f9(0xa7)],'availableActions':_0x21682a[_0x1f22f9(0xa2)]},_0x42300b),this[_0x1f22f9(0x9d)]['on'](_0x1f22f9(0xb0),(_0x56fe38,_0x33ccc6)=>{var _0x2084ca=_0x1f22f9;this[_0x2084ca(0xb9)](_0x2084ca(0xb0),{'replyId':this[_0x2084ca(0xa8)]['id'],'showDiff':_0x33ccc6[_0x2084ca(0x9b)]});}),this[_0x1f22f9(0x9d)]['on'](_0x1f22f9(0xb8),()=>{var _0x23127c=_0x1f22f9;this[_0x23127c(0xb9)](_0x23127c(0xb8),{'replyId':this[_0x23127c(0xa8)]['id']});}),this[_0x1f22f9(0x9d)]['on'](_0x1f22f9(0xa1),()=>{var _0x57d101=_0x1f22f9;this[_0x57d101(0xb9)](_0x57d101(0xa1),{'replyId':this[_0x57d101(0xa8)]['id']});}),this[_0x1f22f9(0x9d)]['on'](_0x1f22f9(0x90),(_0xf57e89,{index:_0x12ae51})=>{var _0x3f6eae=_0x1f22f9;this[_0x3f6eae(0xb9)](_0x3f6eae(0x90),{'replyId':this[_0x3f6eae(0xa8)]['id'],'partIndex':_0x12ae51});}),this[_0x1f22f9(0x9d)]['on'](_0x1f22f9(0x99),(_0x37bd54,{index:_0x19e61d})=>{var _0x19e800=_0x1f22f9;this[_0x19e800(0xb9)](_0x19e800(0x99),{'replyId':this[_0x19e800(0xa8)]['id'],'partIndex':_0x19e61d});}),this[_0x1f22f9(0x9d)]['on'](_0x1f22f9(0xb1),(_0x74e74,{index:_0x5ef62e})=>{var _0x1db34d=_0x1f22f9;this[_0x1db34d(0xb9)](_0x1db34d(0xb1),{'replyId':this[_0x1db34d(0xa8)]['id'],'partIndex':_0x5ef62e});}),this[_0x1f22f9(0x9d)]['on'](_0x1f22f9(0xad),(_0x3cc1e9,{index:_0x3cde83})=>{var _0x182d42=_0x1f22f9;this[_0x182d42(0xb9)](_0x182d42(0xad),{'replyId':this[_0x182d42(0xa8)]['id'],'partIndex':_0x3cde83});}),this[_0x1f22f9(0x9d)]['on'](_0x1f22f9(0x91),(_0x3b1713,{index:_0x303dad})=>{var _0x565d4b=_0x1f22f9;this[_0x565d4b(0xb9)](_0x565d4b(0x91),{'replyId':this[_0x565d4b(0xa8)]['id'],'partIndex':_0x303dad});}),this[_0x1f22f9(0x9c)]=new _0x1828b9(_0x1d5cb9,this[_0x1f22f9(0xa8)][_0x1f22f9(0xa2)]),this[_0x1f22f9(0x9c)][_0x1f22f9(0x93)](_0x1f22f9(0xb5))['to'](this,_0x1f22f9(0xb5)),this[_0x1f22f9(0x9c)]['on'](_0x1f22f9(0x90),()=>{var _0x327ac1=_0x1f22f9;this[_0x327ac1(0xb9)](_0x327ac1(0x90),{'replyId':this[_0x327ac1(0xa8)]['id']});}),this[_0x1f22f9(0x9c)]['on'](_0x1f22f9(0x99),()=>{var _0x5a2a2d=_0x1f22f9;this[_0x5a2a2d(0xb9)](_0x5a2a2d(0x99),{'replyId':this[_0x5a2a2d(0xa8)]['id']});}),this[_0x1f22f9(0x9c)]['on'](_0x1f22f9(0xba),()=>{var _0x5632e4=_0x1f22f9;this[_0x5632e4(0xb9)](_0x5632e4(0xba),{'replyId':this[_0x5632e4(0xa8)]['id']});}),_0x21682a[_0x1f22f9(0xa7)]?this[_0x1f22f9(0x9c)][_0x1f22f9(0xaf)]=!0x1:this[_0x1f22f9(0x9c)][_0x1f22f9(0x93)](_0x1f22f9(0xaf))['to'](this[_0x1f22f9(0x9d)][_0x1f22f9(0xa6)],_0x1f22f9(0xb3)),this[_0x1f22f9(0x8f)][_0x1f22f9(0x98)]([this[_0x1f22f9(0x9d)],this[_0x1f22f9(0x9c)]]),this[_0x1f22f9(0xb2)]({'attributes':{'class':[_0x1f22f9(0x96)]}});}async[_0x1e2561(0xa4)](_0x3c3d7d){var _0x57abf0=_0x1e2561;await this[_0x57abf0(0x9d)][_0x57abf0(0xa4)](_0x3c3d7d),this[_0x57abf0(0x9c)][_0x57abf0(0x9e)](this[_0x57abf0(0x9d)][_0x57abf0(0xa6)][_0x57abf0(0x94)]);}[_0x1e2561(0x92)](_0x2bf507,_0x35a0c8){var _0x5d3775=_0x1e2561;this[_0x5d3775(0x9d)][_0x5d3775(0xa6)][_0x5d3775(0x92)](_0x2bf507,_0x35a0c8);}[_0x1e2561(0xa0)](_0x288280){var _0x37815f=_0x1e2561;this[_0x37815f(0x9d)][_0x37815f(0xa0)](_0x288280);}[_0x1e2561(0x95)](_0x114606){var _0x4bc051=_0x1e2561;return this[_0x4bc051(0x9d)][_0x4bc051(0xa6)][_0x4bc051(0x95)](_0x114606);}[_0x1e2561(0xa3)](){var _0x143297=_0x1e2561;super[_0x143297(0xa3)](),this[_0x143297(0x9d)][_0x143297(0xa3)](),this[_0x143297(0x9c)][_0x143297(0x97)]=this[_0x143297(0x9d)][_0x143297(0xa6)][_0x143297(0xaa)];}}
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)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x50a3ce=_0x524b;function _0x115f(){var _0x3af1f8=['1539984vAawZf','element','_messageContentView','filter','div','_contextChipsView','909888YThxHd','markAsDone','hidden','render','setTemplate','contextItems','_locale','144152IPVXuX','607yGDlRf','children','initialContent','add','15yusmHA','extendTemplate','436jrUneQ','_createMessageContentView','length','innerHTML','ck-ai-chat__feed__context-chips','ck-ai-chat__feed__user-message','869928GHLTCH','options','259680SqyjFy','_bodyCollection','ck-ai-chat__feed__message-content','_createContextChipsView','2685087yXCdyk'];_0x115f=function(){return _0x3af1f8;};return _0x115f();}function _0x524b(_0x4d8a03,_0x59c221){var _0x115fd8=_0x115f();return _0x524b=function(_0x524b7a,_0x3604d0){_0x524b7a=_0x524b7a-0x9b;var _0x53ec26=_0x115fd8[_0x524b7a];return _0x53ec26;},_0x524b(_0x4d8a03,_0x59c221);}(function(_0x388d49,_0x2997ec){var _0x37eb75=_0x524b,_0x3c69aa=_0x388d49();while(!![]){try{var _0x542a02=-parseInt(_0x37eb75(0xa0))/0x1*(-parseInt(_0x37eb75(0xa6))/0x2)+parseInt(_0x37eb75(0xa4))/0x3*(parseInt(_0x37eb75(0x9f))/0x4)+-parseInt(_0x37eb75(0xae))/0x5+-parseInt(_0x37eb75(0xac))/0x6+parseInt(_0x37eb75(0xb9))/0x7+parseInt(_0x37eb75(0xb3))/0x8+-parseInt(_0x37eb75(0xb2))/0x9;if(_0x542a02===_0x2997ec)break;else _0x3c69aa['push'](_0x3c69aa['shift']());}catch(_0x1c5209){_0x3c69aa['push'](_0x3c69aa['shift']());}}}(_0x115f,0x221d3));import{AIChatFeedItemView as _0x314deb}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x300f55}from'./aichatfeedcontextchipsview.js';import{View as _0x54c530}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x314deb{[_0x50a3ce(0xb8)]=null;[_0x50a3ce(0x9e)];[_0x50a3ce(0xaf)];[_0x50a3ce(0xb5)];constructor(_0x31e8fe,_0x2599d2,_0x5b82e3){var _0x41d4e0=_0x50a3ce;super(_0x2599d2),this[_0x41d4e0(0x9e)]=_0x31e8fe,this[_0x41d4e0(0xaf)]=_0x5b82e3,this[_0x41d4e0(0xb1)](),this[_0x41d4e0(0xa7)](),this[_0x41d4e0(0xa5)]({'attributes':{'class':[_0x41d4e0(0xab)]}});}[_0x50a3ce(0xb1)](){var _0x37933e=_0x50a3ce;this[_0x37933e(0xad)][_0x37933e(0x9d)]&&this[_0x37933e(0xad)][_0x37933e(0x9d)][_0x37933e(0xa8)]>0x0&&(this[_0x37933e(0xb8)]=new _0x300f55(this[_0x37933e(0x9e)],this[_0x37933e(0xad)][_0x37933e(0x9d)][_0x37933e(0xb6)](_0x506e7c=>!_0x506e7c[_0x37933e(0xbb)]),this[_0x37933e(0xaf)]),this[_0x37933e(0xb8)][_0x37933e(0xa5)]({'attributes':{'class':_0x37933e(0xaa)}}),this[_0x37933e(0xa1)][_0x37933e(0xa3)](this[_0x37933e(0xb8)]));}[_0x50a3ce(0xa7)](){var _0x5a2606=_0x50a3ce;this[_0x5a2606(0xb5)]=new _0x54c530(this[_0x5a2606(0x9e)]),this[_0x5a2606(0xb5)][_0x5a2606(0x9c)]({'tag':_0x5a2606(0xb7),'attributes':{'class':_0x5a2606(0xb0)}}),this[_0x5a2606(0xa1)][_0x5a2606(0xa3)](this[_0x5a2606(0xb5)]);}[_0x50a3ce(0x9b)](){var _0xe4aa70=_0x50a3ce;super[_0xe4aa70(0x9b)](),this[_0xe4aa70(0xb5)][_0xe4aa70(0xb4)][_0xe4aa70(0xa9)]=this[_0xe4aa70(0xad)][_0xe4aa70(0xa2)],this[_0xe4aa70(0xba)]();}}
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();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x509d2e=_0x2a92;(function(_0x33dd71,_0x5bef29){const _0x3ec39f=_0x2a92,_0x150801=_0x33dd71();while(!![]){try{const _0x3b9848=parseInt(_0x3ec39f(0xb7))/0x1*(-parseInt(_0x3ec39f(0xae))/0x2)+parseInt(_0x3ec39f(0xbf))/0x3*(parseInt(_0x3ec39f(0xc4))/0x4)+-parseInt(_0x3ec39f(0xc1))/0x5*(parseInt(_0x3ec39f(0xaf))/0x6)+parseInt(_0x3ec39f(0xba))/0x7*(parseInt(_0x3ec39f(0xb4))/0x8)+parseInt(_0x3ec39f(0xb6))/0x9+parseInt(_0x3ec39f(0xc2))/0xa+parseInt(_0x3ec39f(0xc0))/0xb*(-parseInt(_0x3ec39f(0xbd))/0xc);if(_0x3b9848===_0x5bef29)break;else _0x150801['push'](_0x150801['shift']());}catch(_0x5d5aad){_0x150801['push'](_0x150801['shift']());}}}(_0x4d29,0x2ba26));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x329970}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x329970,_0x509d2e(0xbe),_0x509d2e(0xc3),_0x509d2e(0xb3),_0x509d2e(0xb1),_0x509d2e(0xb2),_0x509d2e(0xb9),_0x509d2e(0xad),_0x509d2e(0xbc),_0x509d2e(0xb8),_0x509d2e(0xb0),_0x509d2e(0xbb),_0x509d2e(0xb5),_0x509d2e(0xc5)];function _0x2a92(_0xfb6c8a,_0xf4cf35){const _0x4d29e7=_0x4d29();return _0x2a92=function(_0x2a92df,_0x47ef46){_0x2a92df=_0x2a92df-0xad;let _0x5cc64a=_0x4d29e7[_0x2a92df];return _0x5cc64a;},_0x2a92(_0xfb6c8a,_0xf4cf35);}function _0x4d29(){const _0xb2ba53=['addFileToContext','30828EdnUJi','toggleWebSearch','addResourceToContext','662172QIsGGk','startConversation','819ZpXAsl','33GbWvSI','5ANqWqu','2679990iHBfmW','resizeTabs','4484YldAZV','selectModel','addUrlToContext','113166AkPbkq','1227402qBIzre','loadSourceResources','abortPromptStream','addDocumentToContext','sendUserMessage','32EujrDH','toggleReasoning','123939NjAsNE','1ZjtjTX','removeContextItem'];_0x4d29=function(){return _0xb2ba53;};return _0x4d29();}
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();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54c745=_0x27bf;function _0x2036(){const _0x2c499f=['queueEmptyPromise','once','2730DfJYUE','reject','30qrVQkp','shift','push','_processQueue','length','28898HGkVlU','2377770odgntg','fire','352180aOiZdB','18NpQurh','_queueEmpty','isProcessing','queue','abort','_abortController','7789067BxkZzc','10408Ryfrwu','signal','2121750bNatzH','createTask','9tJWUVj','enqueue','callback','resolve','730452GbKFUx','completePromise'];_0x2036=function(){return _0x2c499f;};return _0x2036();}(function(_0x58306f,_0x29a3ed){const _0xf0ffe8=_0x27bf,_0x12567a=_0x58306f();while(!![]){try{const _0x575a0a=-parseInt(_0xf0ffe8(0x91))/0x1*(parseInt(_0xf0ffe8(0x8d))/0x2)+parseInt(_0xf0ffe8(0x9c))/0x3*(-parseInt(_0xf0ffe8(0x90))/0x4)+-parseInt(_0xf0ffe8(0x8e))/0x5+-parseInt(_0xf0ffe8(0xa0))/0x6+-parseInt(_0xf0ffe8(0xa4))/0x7*(parseInt(_0xf0ffe8(0x98))/0x8)+-parseInt(_0xf0ffe8(0x9a))/0x9+parseInt(_0xf0ffe8(0xa6))/0xa*(parseInt(_0xf0ffe8(0x97))/0xb);if(_0x575a0a===_0x29a3ed)break;else _0x12567a['push'](_0x12567a['shift']());}catch(_0x8c2e4f){_0x12567a['push'](_0x12567a['shift']());}}}(_0x2036,0x3f636));import{EmitterMixin as _0x19fd25}from'ckeditor5/src/utils.js';function _0x27bf(_0x5d5b54,_0x3ba82f){const _0x2036ac=_0x2036();return _0x27bf=function(_0x27bf2d,_0x1d3297){_0x27bf2d=_0x27bf2d-0x8b;let _0x565d2e=_0x2036ac[_0x27bf2d];return _0x565d2e;},_0x27bf(_0x5d5b54,_0x3ba82f);}export class PromiseQueue extends _0x19fd25(){[_0x54c745(0x94)]=[];[_0x54c745(0x93)]=!0x1;[_0x54c745(0x96)];async[_0x54c745(0x9d)](_0x57a2b5){const _0x5c7a8a=_0x54c745,_0x1c1fb4=this[_0x5c7a8a(0x9b)](_0x57a2b5);return this[_0x5c7a8a(0x94)][_0x5c7a8a(0xa8)](_0x1c1fb4),this[_0x5c7a8a(0x8b)](),_0x1c1fb4[_0x5c7a8a(0xa1)];}[_0x54c745(0x95)](){const _0x4c8185=_0x54c745;this[_0x4c8185(0x93)]&&(this[_0x4c8185(0x96)][_0x4c8185(0x95)](),this[_0x4c8185(0x96)]=void 0x0,this[_0x4c8185(0x94)]=[],this[_0x4c8185(0x8f)](_0x4c8185(0x92)),this[_0x4c8185(0x93)]=!0x1);}get[_0x54c745(0xa2)](){const _0x2d9fb1=_0x54c745;return this[_0x2d9fb1(0x94)][_0x2d9fb1(0x8c)]||this[_0x2d9fb1(0x93)]?new Promise(_0x35ec40=>{const _0xba0bde=_0x2d9fb1;this[_0xba0bde(0xa3)](_0xba0bde(0x92),()=>{_0x35ec40();});}):Promise[_0x2d9fb1(0x9f)]();}async[_0x54c745(0x8b)](){const _0x338695=_0x54c745;if(!this[_0x338695(0x93)]){this[_0x338695(0x96)]=new AbortController(),this[_0x338695(0x93)]=!0x0;try{for(;this[_0x338695(0x94)][_0x338695(0x8c)]&&this[_0x338695(0x93)];){const _0x13b8d8=this[_0x338695(0x94)][_0x338695(0xa7)]();try{await _0x13b8d8[_0x338695(0x9e)](this[_0x338695(0x96)][_0x338695(0x99)]),_0x13b8d8[_0x338695(0x9f)]();}catch(_0x30ab13){_0x13b8d8[_0x338695(0xa5)](_0x30ab13);}}}finally{this[_0x338695(0x93)]=!0x1,this[_0x338695(0x96)]=void 0x0;}this[_0x338695(0x8f)](_0x338695(0x92));}}[_0x54c745(0x9b)](_0x4abaf3){let _0x351bdf,_0x4adb30;const _0x6b2405=new Promise((_0x1d1c35,_0x3e6c5c)=>{_0x351bdf=_0x1d1c35,_0x4adb30=_0x3e6c5c;});return{'callback':_0x4abaf3,'resolve':_0x351bdf,'reject':_0x4adb30,'completePromise':_0x6b2405};}}
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};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1ffcbe=_0x3c5c;(function(_0x2af4dd,_0xc54baf){var _0x4fd6e3=_0x3c5c,_0x5410c0=_0x2af4dd();while(!![]){try{var _0xc56858=parseInt(_0x4fd6e3(0x1b9))/0x1*(-parseInt(_0x4fd6e3(0x1bb))/0x2)+parseInt(_0x4fd6e3(0x1b4))/0x3+parseInt(_0x4fd6e3(0x1bc))/0x4+-parseInt(_0x4fd6e3(0x1bf))/0x5+-parseInt(_0x4fd6e3(0x1c0))/0x6*(parseInt(_0x4fd6e3(0x1b7))/0x7)+-parseInt(_0x4fd6e3(0x1b6))/0x8*(-parseInt(_0x4fd6e3(0x1be))/0x9)+parseInt(_0x4fd6e3(0x1b5))/0xa*(parseInt(_0x4fd6e3(0x1c2))/0xb);if(_0xc56858===_0xc54baf)break;else _0x5410c0['push'](_0x5410c0['shift']());}catch(_0x192fd1){_0x5410c0['push'](_0x5410c0['shift']());}}}(_0x3487,0xc7a40));import{ContextPlugin as _0x4d9cb7}from'ckeditor5/src/core.js';function _0x3487(){var _0x1408bd=['pluginName','18QiRRze','8112675UXqWjj','408aSFaEW','AIChatHistory','11YpXkfV','isOfficialPlugin','3307602VfrINg','16149270SEEUgy','3541304XdgQvE','139489PEMoIy','isPremiumPlugin','895295ETlnoz','requires','2wHDcyl','4351228QBmnsp'];_0x3487=function(){return _0x1408bd;};return _0x3487();}function _0x3c5c(_0x513370,_0x3c07a9){var _0x3487ae=_0x3487();return _0x3c5c=function(_0x3c5cfb,_0x2716a1){_0x3c5cfb=_0x3c5cfb-0x1b4;var _0x408787=_0x3487ae[_0x3c5cfb];return _0x408787;},_0x3c5c(_0x513370,_0x3c07a9);}import{AIChatHistoryController as _0x1e8a64}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x28a117}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4d9cb7{static get[_0x1ffcbe(0x1ba)](){return[_0x1e8a64,_0x28a117];}static get[_0x1ffcbe(0x1bd)](){var _0x4d154f=_0x1ffcbe;return _0x4d154f(0x1c1);}static get[_0x1ffcbe(0x1c3)](){return!0x0;}static get[_0x1ffcbe(0x1b8)](){return!0x0;}}
23
+ var _0x2f5305=_0x3a3e;function _0x4f33(){var _0xfcbeb0=['652srZvNf','194614ySQyvu','pluginName','requires','5961024zGNBAI','AIChatHistory','490785lXkphD','1412572oAHBRk','193316RpgwKb','isPremiumPlugin','2893236XlTbgU','isOfficialPlugin','7287qtdpHO'];_0x4f33=function(){return _0xfcbeb0;};return _0x4f33();}function _0x3a3e(_0x31bc76,_0x4d6f51){var _0x4f33d1=_0x4f33();return _0x3a3e=function(_0x3a3e03,_0x2f4c4b){_0x3a3e03=_0x3a3e03-0xf5;var _0x45b533=_0x4f33d1[_0x3a3e03];return _0x45b533;},_0x3a3e(_0x31bc76,_0x4d6f51);}(function(_0x5c04f8,_0x640733){var _0x465a01=_0x3a3e,_0x964416=_0x5c04f8();while(!![]){try{var _0x123d72=parseInt(_0x465a01(0xf9))/0x1+parseInt(_0x465a01(0xff))/0x2+parseInt(_0x465a01(0xfd))/0x3*(-parseInt(_0x465a01(0xfe))/0x4)+-parseInt(_0x465a01(0xf7))/0x5+-parseInt(_0x465a01(0xfb))/0x6+parseInt(_0x465a01(0xf8))/0x7+parseInt(_0x465a01(0xf5))/0x8;if(_0x123d72===_0x640733)break;else _0x964416['push'](_0x964416['shift']());}catch(_0x5dfced){_0x964416['push'](_0x964416['shift']());}}}(_0x4f33,0x3fc89));import{ContextPlugin as _0x4de39b}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x4284e1}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x575200}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4de39b{static get[_0x2f5305(0x101)](){return[_0x4284e1,_0x575200];}static get[_0x2f5305(0x100)](){var _0x22a89c=_0x2f5305;return _0x22a89c(0xf6);}static get[_0x2f5305(0xfc)](){return!0x0;}static get[_0x2f5305(0xfa)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50d66a=_0x5c85;(function(_0x5987f1,_0x20d393){const _0x8af01=_0x5c85,_0x8e9aaf=_0x5987f1();while(!![]){try{const _0xe6474d=parseInt(_0x8af01(0xc7))/0x1+-parseInt(_0x8af01(0xf9))/0x2+-parseInt(_0x8af01(0xe1))/0x3*(parseInt(_0x8af01(0xbe))/0x4)+-parseInt(_0x8af01(0x107))/0x5+-parseInt(_0x8af01(0xd8))/0x6*(parseInt(_0x8af01(0xd6))/0x7)+parseInt(_0x8af01(0xb2))/0x8+parseInt(_0x8af01(0xd4))/0x9;if(_0xe6474d===_0x20d393)break;else _0x8e9aaf['push'](_0x8e9aaf['shift']());}catch(_0x231c1f){_0x8e9aaf['push'](_0x8e9aaf['shift']());}}}(_0x110f,0x60dab));import{ContextPlugin as _0x57c978}from'ckeditor5/src/core.js';import{AIConnector as _0x189a96}from'../aicore/aiconnector.js';import{AIChatController as _0x1bf3cb}from'../aichat/aichatcontroller.js';import{AITabs as _0x23870b}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x481498}from'./aichathistoryui.js';function _0x110f(){const _0x327227=['_handleSelectConversation','itemRemoved','resizeTabs','156765RhhvFj','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','context','getFullYear','pinned','rename','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','resizedTabs','getMonth','updates','plugins','_handleRemove','requires','length','operation','error','6312912eeGnSr','activateTab:history','showError','activateTab','_handleTogglePin','unpin','openChat','getGroupId','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','push','setLoadingSkeleton','selectConversation','806984KxOZJE','AI_CHAT_HISTORY_CATEGORY_PINNED','items','editConversationTitle','_aiConnector','getItem','AIChatHistoryController','itemUpdated','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','504055BAZqXj','setIsMaximized','_getCategorizedItems','remove','removeConversation','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','init','updateItemLoadingState','itemsLoaded','pin','listenTo','_updateHistoryItemsUI','getDate','1359000PohstX','title','21WepbIm','activeConversation','609942GIVtSm','_generateErrorMessage','_setItemLoading','removeItem','isPremiumPlugin','get','resize','createdAt','loadConversation','3JIzTnB','_clearItemLoading','change:activeConversation','pluginName','_aiChatHistoryUi','chat','AI_CHAT_HISTORY_ERROR_GENERIC','AI_CHAT_HISTORY_UNPIN_ACTION','handleRemovedConversation','_handleHistoryErrorUI','map','_showConversationHistory','loadItems','view','AI_CHAT_HISTORY_CATEGORY_TODAY','AI_CHAT_HISTORY_CATEGORY_LATER','_setIsMaximized','removeHistoryItem','AI_CHAT_HISTORY_PIN_ACTION','itemId','_aiChatController','isOfficialPlugin','toLocaleDateString','updateItemPinned','1018768aEVFzy','updateItems','_handleEditTitle','getItems','locale','setConversationPinned','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','AI_CHAT_UNTITLED_CONVERSATION','updateItemTitle','setDate','history'];_0x110f=function(){return _0x327227;};return _0x110f();}import{AIChatHistoryConversations as _0x3f569d}from'./model/aichathistoryconversations.js';function _0x5c85(_0x49402a,_0x5bbfc7){const _0x110f76=_0x110f();return _0x5c85=function(_0x5c8578,_0x39f593){_0x5c8578=_0x5c8578-0xa9;let _0x1f301b=_0x110f76[_0x5c8578];return _0x1f301b;},_0x5c85(_0x49402a,_0x5bbfc7);}import{getTranslation as _0x3f10d4}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x57c978{[_0x50d66a(0xc2)];[_0x50d66a(0xe5)];[_0x50d66a(0xf5)];static get[_0x50d66a(0xae)](){return[_0x189a96,_0x1bf3cb,_0x481498,_0x23870b];}static get[_0x50d66a(0xe4)](){const _0x59f2ce=_0x50d66a;return _0x59f2ce(0xc4);}static get[_0x50d66a(0xf6)](){return!0x0;}static get[_0x50d66a(0xdc)](){return!0x0;}[_0x50d66a(0xcd)](){const _0x3aae0c=_0x50d66a;this[_0x3aae0c(0xc2)]=this[_0x3aae0c(0x109)][_0x3aae0c(0xac)][_0x3aae0c(0xdd)](_0x189a96),this[_0x3aae0c(0xe5)]=this[_0x3aae0c(0x109)][_0x3aae0c(0xac)][_0x3aae0c(0xdd)](_0x481498),this[_0x3aae0c(0xf5)]=this[_0x3aae0c(0x109)][_0x3aae0c(0xac)][_0x3aae0c(0xdd)](_0x1bf3cb);const _0x14cb8d=this[_0x3aae0c(0x109)][_0x3aae0c(0xac)][_0x3aae0c(0xdd)](_0x23870b);try{const _0x2ba34d=this[_0x3aae0c(0xf5)][_0x3aae0c(0xb9)]();this[_0x3aae0c(0x103)]=new _0x3f569d({'connector':this[_0x3aae0c(0xc2)],'group':_0x2ba34d}),this[_0x3aae0c(0xd1)](this[_0x3aae0c(0xe5)],_0x3aae0c(0xcb),(_0x535a76,_0x5f4a00)=>{const _0x39dca8=_0x3aae0c;this[_0x39dca8(0xda)](_0x5f4a00['id'],_0x39dca8(0xca)),this[_0x39dca8(0xad)](_0x5f4a00['id']);}),this[_0x3aae0c(0xd1)](this[_0x3aae0c(0xe5)],_0x3aae0c(0xc1),(_0x3fd3e2,_0x5d8fe7)=>{const _0x5e36ed=_0x3aae0c;this[_0x5e36ed(0xda)](_0x5d8fe7['id'],_0x5e36ed(0x10c)),this[_0x5e36ed(0xfb)](_0x5d8fe7['id'],_0x5d8fe7[_0x5e36ed(0xd5)]);}),this[_0x3aae0c(0xd1)](this[_0x3aae0c(0x103)],_0x3aae0c(0xc5),(_0x591061,_0x5c68b0)=>{const _0x5cd04a=_0x3aae0c;void 0x0!==_0x5c68b0[_0x5cd04a(0xab)][_0x5cd04a(0xd5)]&&this[_0x5cd04a(0xe5)][_0x5cd04a(0x101)](_0x5c68b0[_0x5cd04a(0xf4)],_0x5c68b0[_0x5cd04a(0xab)][_0x5cd04a(0xd5)]),void 0x0!==_0x5c68b0[_0x5cd04a(0xab)][_0x5cd04a(0x10b)]&&this[_0x5cd04a(0xd2)](),this[_0x5cd04a(0xe2)](_0x5c68b0[_0x5cd04a(0xf4)]);}),this[_0x3aae0c(0xd1)](this[_0x3aae0c(0x103)],_0x3aae0c(0x105),(_0x465f90,_0x355f61)=>{const _0xeb6695=_0x3aae0c;this[_0xeb6695(0xf5)][_0xeb6695(0xe9)](_0x355f61[_0xeb6695(0xf4)]),this[_0xeb6695(0xe5)][_0xeb6695(0xf2)](_0x355f61[_0xeb6695(0xf4)]),this[_0xeb6695(0xe2)](_0x355f61[_0xeb6695(0xf4)]);}),this[_0x3aae0c(0xd1)](this[_0x3aae0c(0x103)],_0x3aae0c(0xcf),()=>{const _0x23ded0=_0x3aae0c;this[_0x23ded0(0xd2)]();}),this[_0x3aae0c(0xd1)](this[_0x3aae0c(0x103)],_0x3aae0c(0xb1),(_0xb6b257,_0xf2da99)=>{const _0x4b731d=_0x3aae0c;this[_0x4b731d(0xea)](_0xf2da99[_0x4b731d(0xb1)],_0xf2da99[_0x4b731d(0xb0)],_0xf2da99[_0x4b731d(0xf4)]);}),this[_0x3aae0c(0xd1)](this[_0x3aae0c(0xe5)],_0x3aae0c(0xbd),(_0x3e8026,_0x250bb4)=>{const _0x598c7b=_0x3aae0c;this[_0x598c7b(0x104)](_0x250bb4['id']);}),this[_0x3aae0c(0xd1)](this[_0x3aae0c(0xe5)],_0x3aae0c(0xfe),(_0x37c6eb,_0x7d4469)=>{const _0x1e986f=_0x3aae0c,_0x2e07f1=_0x7d4469[_0x1e986f(0x10b)]?_0x1e986f(0xd0):_0x1e986f(0xb7);this[_0x1e986f(0xda)](_0x7d4469['id'],_0x2e07f1),this[_0x1e986f(0xb6)](_0x7d4469['id'],_0x7d4469[_0x1e986f(0x10b)]);}),this[_0x3aae0c(0xd1)](this[_0x3aae0c(0xe5)],_0x3aae0c(0xb8),()=>{const _0x228b18=_0x3aae0c;_0x14cb8d[_0x228b18(0xee)][_0x228b18(0xb5)](_0x228b18(0xe6));}),this[_0x3aae0c(0xd1)](this[_0x3aae0c(0xf5)],_0x3aae0c(0xe3),()=>{const _0x4193c9=_0x3aae0c;this[_0x4193c9(0xd2)]();}),_0x14cb8d[_0x3aae0c(0xee)]['on'](_0x3aae0c(0xb3),()=>{const _0xcdb1c2=_0x3aae0c;this[_0xcdb1c2(0xec)]();}),this[_0x3aae0c(0xd1)](_0x14cb8d,_0x3aae0c(0xa9),(_0x12c7d3,_0x490150)=>{const _0x4041dc=_0x3aae0c;this[_0x4041dc(0xf1)](_0x490150);}),this[_0x3aae0c(0xd1)](this[_0x3aae0c(0xe5)],_0x3aae0c(0x106),()=>{const _0x40f682=_0x3aae0c;_0x14cb8d[_0x40f682(0xde)]();});}catch(_0x47e448){this[_0x3aae0c(0xea)](_0x47e448,_0x3aae0c(0xcd));}}async[_0x50d66a(0xfb)](_0x3f255b,_0x2b7fd9){const _0x1564fb=_0x50d66a;await this[_0x1564fb(0x103)][_0x1564fb(0x101)](_0x3f255b,_0x2b7fd9);}async[_0x50d66a(0xb6)](_0x5da787,_0x46c92b){const _0x4a78d4=_0x50d66a;await this[_0x4a78d4(0x103)][_0x4a78d4(0xf8)](_0x5da787,_0x46c92b);}async[_0x50d66a(0xad)](_0x5d9ca7){const _0x2913ef=_0x50d66a;await this[_0x2913ef(0x103)][_0x2913ef(0xdb)](_0x5d9ca7);}async[_0x50d66a(0x104)](_0x351837){const _0x5298f0=_0x50d66a;await this[_0x5298f0(0xf5)][_0x5298f0(0xe0)](_0x351837);}async[_0x50d66a(0xec)](){const _0x88c4db=_0x50d66a;this[_0x88c4db(0xe5)][_0x88c4db(0xb4)](''),this[_0x88c4db(0xe5)][_0x88c4db(0xbc)](!0x0),await this[_0x88c4db(0x103)][_0x88c4db(0xcd)](),this[_0x88c4db(0xe5)][_0x88c4db(0xbc)](!0x1);}[_0x50d66a(0xd2)](){const _0x3e94ff=_0x50d66a,_0x3c6da8=this[_0x3e94ff(0xf5)][_0x3e94ff(0xd7)]?.['id'],_0x5875d8=this[_0x3e94ff(0xc9)]()[_0x3e94ff(0xeb)](_0x4b1230=>({'title':_0x4b1230[_0x3e94ff(0xd5)],'items':_0x4b1230[_0x3e94ff(0xc0)][_0x3e94ff(0xeb)](_0x2e2173=>({'id':_0x2e2173['id'],'title':_0x2e2173[_0x3e94ff(0xd5)]||_0x3f10d4(this[_0x3e94ff(0x109)][_0x3e94ff(0xfd)],_0x3e94ff(0x100)),'createdAt':new Date(_0x2e2173[_0x3e94ff(0xdf)])[_0x3e94ff(0xf7)](),'active':_0x2e2173['id']===_0x3c6da8,'pinned':_0x2e2173[_0x3e94ff(0x10b)]}))}));this[_0x3e94ff(0xe5)][_0x3e94ff(0xfa)](_0x5875d8);}[_0x50d66a(0xda)](_0x2c038a,_0x2ebed8){const _0x2d6381=_0x50d66a;this[_0x2d6381(0xe5)][_0x2d6381(0xce)](_0x2c038a,_0x2ebed8,!0x0);}[_0x50d66a(0xe2)](_0x49537f){const _0xccffef=_0x50d66a;this[_0xccffef(0xe5)][_0xccffef(0xce)](_0x49537f,null,!0x1);}[_0x50d66a(0xea)](_0x113f17,_0x100b9d,_0x1788da){const _0x3c663e=_0x50d66a,_0x50a3ee=this[_0x3c663e(0xd9)](_0x100b9d,_0x1788da);this[_0x3c663e(0xe5)][_0x3c663e(0xb4)](_0x50a3ee),_0x1788da&&this[_0x3c663e(0xe2)](_0x1788da),this[_0x3c663e(0xe5)][_0x3c663e(0xbc)](!0x1);}[_0x50d66a(0xd9)](_0x3a915f,_0x2f85f9){const _0x28c7a2=_0x50d66a,_0x2d8294=_0x2f85f9?this[_0x28c7a2(0x103)][_0x28c7a2(0xc3)](_0x2f85f9):null,_0x151b65=_0x2d8294?.[_0x28c7a2(0xd5)]||_0x3f10d4(this[_0x28c7a2(0x109)][_0x28c7a2(0xfd)],_0x28c7a2(0x100));switch(_0x3a915f){case _0x28c7a2(0x101):return _0x3f10d4(this[_0x28c7a2(0x109)][_0x28c7a2(0xfd)],_0x28c7a2(0xba),_0x151b65);case _0x28c7a2(0xf8):{const _0x11646a=_0x3f10d4(this[_0x28c7a2(0x109)][_0x28c7a2(0xfd)],_0x2d8294?.[_0x28c7a2(0x10b)]?_0x28c7a2(0xe8):_0x28c7a2(0xf3));return _0x3f10d4(this[_0x28c7a2(0x109)][_0x28c7a2(0xfd)],_0x28c7a2(0xc6),[_0x11646a,_0x151b65]);}case _0x28c7a2(0xdb):return _0x3f10d4(this[_0x28c7a2(0x109)][_0x28c7a2(0xfd)],_0x28c7a2(0x108),_0x151b65);case _0x28c7a2(0xcd):case _0x28c7a2(0xed):return _0x3f10d4(this[_0x28c7a2(0x109)][_0x28c7a2(0xfd)],_0x28c7a2(0x10d));default:return _0x3f10d4(this[_0x28c7a2(0x109)][_0x28c7a2(0xfd)],_0x28c7a2(0xe7));}}[_0x50d66a(0xc9)](){const _0x287db7=_0x50d66a,_0x1fd5e9=new Date(),_0x5ee045=new Date(_0x1fd5e9[_0x287db7(0x10a)](),_0x1fd5e9[_0x287db7(0xaa)](),_0x1fd5e9[_0x287db7(0xd3)]()),_0x1d9233=new Date(_0x5ee045);_0x1d9233[_0x287db7(0x102)](_0x1d9233[_0x287db7(0xd3)]()-0x1);const _0x323c55=new Date(_0x5ee045);_0x323c55[_0x287db7(0x102)](_0x323c55[_0x287db7(0xd3)]()-0xe);const _0x2d6ccc=this[_0x287db7(0x103)][_0x287db7(0xfc)]({'pinned':!0x0}),_0x1feea=this[_0x287db7(0x103)][_0x287db7(0xfc)]({'from':_0x5ee045,'to':_0x5ee045}),_0x2b3d73=this[_0x287db7(0x103)][_0x287db7(0xfc)]({'from':_0x1d9233,'to':_0x1d9233}),_0x5e3717=this[_0x287db7(0x103)][_0x287db7(0xfc)]({'from':_0x323c55,'to':_0x1d9233}),_0x4d5e8e=this[_0x287db7(0x103)][_0x287db7(0xfc)]({'to':_0x323c55}),_0x99108=[];return _0x2d6ccc[_0x287db7(0xaf)]>0x0&&_0x99108[_0x287db7(0xbb)]({'title':_0x3f10d4(this[_0x287db7(0x109)][_0x287db7(0xfd)],_0x287db7(0xbf)),'items':_0x2d6ccc}),_0x1feea[_0x287db7(0xaf)]>0x0&&_0x99108[_0x287db7(0xbb)]({'title':_0x3f10d4(this[_0x287db7(0x109)][_0x287db7(0xfd)],_0x287db7(0xef)),'items':_0x1feea}),_0x2b3d73[_0x287db7(0xaf)]>0x0&&_0x99108[_0x287db7(0xbb)]({'title':_0x3f10d4(this[_0x287db7(0x109)][_0x287db7(0xfd)],_0x287db7(0xff)),'items':_0x2b3d73}),_0x5e3717[_0x287db7(0xaf)]>0x0&&_0x99108[_0x287db7(0xbb)]({'title':_0x3f10d4(this[_0x287db7(0x109)][_0x287db7(0xfd)],_0x287db7(0xcc)),'items':_0x5e3717}),_0x4d5e8e[_0x287db7(0xaf)]>0x0&&_0x99108[_0x287db7(0xbb)]({'title':_0x3f10d4(this[_0x287db7(0x109)][_0x287db7(0xfd)],_0x287db7(0xf0)),'items':_0x4d5e8e}),_0x99108;}[_0x50d66a(0xf1)](_0x420674){const _0x421a19=_0x50d66a;this[_0x421a19(0xe5)][_0x421a19(0xc8)](_0x420674);}}
23
+ const _0x5417b6=_0x22f6;(function(_0x5c107f,_0x125cea){const _0x3bf0d4=_0x22f6,_0x4079fb=_0x5c107f();while(!![]){try{const _0x5d0216=parseInt(_0x3bf0d4(0x1fe))/0x1+-parseInt(_0x3bf0d4(0x1f8))/0x2*(-parseInt(_0x3bf0d4(0x22f))/0x3)+parseInt(_0x3bf0d4(0x1f1))/0x4*(-parseInt(_0x3bf0d4(0x234))/0x5)+parseInt(_0x3bf0d4(0x1dc))/0x6*(-parseInt(_0x3bf0d4(0x20e))/0x7)+-parseInt(_0x3bf0d4(0x221))/0x8*(-parseInt(_0x3bf0d4(0x216))/0x9)+parseInt(_0x3bf0d4(0x209))/0xa*(parseInt(_0x3bf0d4(0x1fd))/0xb)+-parseInt(_0x3bf0d4(0x1df))/0xc;if(_0x5d0216===_0x125cea)break;else _0x4079fb['push'](_0x4079fb['shift']());}catch(_0xc532e3){_0x4079fb['push'](_0x4079fb['shift']());}}}(_0x21c7,0x8b01b));import{ContextPlugin as _0x5d27e6}from'ckeditor5/src/core.js';import{AIConnector as _0x58b831}from'../aicore/aiconnector.js';function _0x22f6(_0x3d7c28,_0x3861b7){const _0x21c71e=_0x21c7();return _0x22f6=function(_0x22f6fd,_0x1eabc3){_0x22f6fd=_0x22f6fd-0x1d6;let _0x22b431=_0x21c71e[_0x22f6fd];return _0x22b431;},_0x22f6(_0x3d7c28,_0x3861b7);}function _0x21c7(){const _0x215b50=['AI_CHAT_UNTITLED_CONVERSATION','updates','loadConversation','getFullYear','map','9976foHahT','removeItem','_updateHistoryItemsUI','itemId','activeConversation','get','requires','347186svLnOJ','change:activeConversation','init','itemsLoaded','length','102817wAFGyF','837682BgxQiW','resizeTabs','AI_CHAT_HISTORY_PIN_ACTION','updateItems','pin','AI_CHAT_HISTORY_CATEGORY_LATER','_generateErrorMessage','updateItemPinned','isOfficialPlugin','AIChatHistoryController','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','490YYVyAv','unpin','itemUpdated','activateTab:history','removeConversation','1673lOIXUj','AI_CHAT_HISTORY_CATEGORY_PINNED','_showConversationHistory','selectConversation','pluginName','locale','AI_CHAT_HISTORY_CATEGORY_TODAY','title','2574558gAsOfZ','_setItemLoading','getDate','_getCategorizedItems','openChat','view','rename','_aiChatHistoryUi','resizedTabs','getGroupId','items','16tQcVOj','setConversationPinned','_clearItemLoading','_handleEditTitle','AI_CHAT_HISTORY_UNPIN_ACTION','_handleSelectConversation','getItem','AI_CHAT_HISTORY_ERROR_GENERIC','updateItemLoadingState','listenTo','toLocaleDateString','remove','_handleRemove','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','15gzvEqt','_aiChatController','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','chat','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','255rrxKeB','error','activateTab','setLoadingSkeleton','_handleTogglePin','loadItems','isPremiumPlugin','_handleHistoryErrorUI','_aiConnector','itemRemoved','showError','setIsMaximized','handleRemovedConversation','setDate','pinned','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','20496PUzTBS','history','removeHistoryItem','14673420lPiJFS','getItems','operation','createdAt','_setIsMaximized','push','plugins','editConversationTitle','resize','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','context','getMonth','updateItemTitle'];_0x21c7=function(){return _0x215b50;};return _0x21c7();}import{AIChatController as _0x1ca558}from'../aichat/aichatcontroller.js';import{AITabs as _0x1a9b8f}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x1e1945}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x497327}from'./model/aichathistoryconversations.js';import{getTranslation as _0x264fc4}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x5d27e6{[_0x5417b6(0x23c)];[_0x5417b6(0x21d)];[_0x5417b6(0x230)];static get[_0x5417b6(0x1f7)](){return[_0x58b831,_0x1ca558,_0x1e1945,_0x1a9b8f];}static get[_0x5417b6(0x212)](){const _0x5f4c98=_0x5417b6;return _0x5f4c98(0x207);}static get[_0x5417b6(0x206)](){return!0x0;}static get[_0x5417b6(0x23a)](){return!0x0;}[_0x5417b6(0x1fa)](){const _0x1a713b=_0x5417b6;this[_0x1a713b(0x23c)]=this[_0x1a713b(0x1e9)][_0x1a713b(0x1e5)][_0x1a713b(0x1f6)](_0x58b831),this[_0x1a713b(0x21d)]=this[_0x1a713b(0x1e9)][_0x1a713b(0x1e5)][_0x1a713b(0x1f6)](_0x1e1945),this[_0x1a713b(0x230)]=this[_0x1a713b(0x1e9)][_0x1a713b(0x1e5)][_0x1a713b(0x1f6)](_0x1ca558);const _0x3b3b25=this[_0x1a713b(0x1e9)][_0x1a713b(0x1e5)][_0x1a713b(0x1f6)](_0x1a9b8f);try{const _0xb78be8=this[_0x1a713b(0x230)][_0x1a713b(0x21f)]();this[_0x1a713b(0x1dd)]=new _0x497327({'connector':this[_0x1a713b(0x23c)],'group':_0xb78be8}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x21d)],_0x1a713b(0x20d),(_0x53ef76,_0x3d2efd)=>{const _0x3c887c=_0x1a713b;this[_0x3c887c(0x217)](_0x3d2efd['id'],_0x3c887c(0x22c)),this[_0x3c887c(0x22d)](_0x3d2efd['id']);}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x21d)],_0x1a713b(0x1e6),(_0x3f2cbb,_0x475a38)=>{const _0x221e24=_0x1a713b;this[_0x221e24(0x217)](_0x475a38['id'],_0x221e24(0x21c)),this[_0x221e24(0x224)](_0x475a38['id'],_0x475a38[_0x221e24(0x215)]);}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x1dd)],_0x1a713b(0x20b),(_0x3de9b4,_0x16cc58)=>{const _0x5f06e4=_0x1a713b;void 0x0!==_0x16cc58[_0x5f06e4(0x1ed)][_0x5f06e4(0x215)]&&this[_0x5f06e4(0x21d)][_0x5f06e4(0x1eb)](_0x16cc58[_0x5f06e4(0x1f4)],_0x16cc58[_0x5f06e4(0x1ed)][_0x5f06e4(0x215)]),void 0x0!==_0x16cc58[_0x5f06e4(0x1ed)][_0x5f06e4(0x1da)]&&this[_0x5f06e4(0x1f3)](),this[_0x5f06e4(0x223)](_0x16cc58[_0x5f06e4(0x1f4)]);}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x1dd)],_0x1a713b(0x23d),(_0x3364fb,_0x4325be)=>{const _0x38193e=_0x1a713b;this[_0x38193e(0x230)][_0x38193e(0x1d8)](_0x4325be[_0x38193e(0x1f4)]),this[_0x38193e(0x21d)][_0x38193e(0x1de)](_0x4325be[_0x38193e(0x1f4)]),this[_0x38193e(0x223)](_0x4325be[_0x38193e(0x1f4)]);}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x1dd)],_0x1a713b(0x1fb),()=>{const _0x55a2dd=_0x1a713b;this[_0x55a2dd(0x1f3)]();}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x1dd)],_0x1a713b(0x235),(_0x11c5ed,_0x21b2c9)=>{const _0x5acb8f=_0x1a713b;this[_0x5acb8f(0x23b)](_0x21b2c9[_0x5acb8f(0x235)],_0x21b2c9[_0x5acb8f(0x1e1)],_0x21b2c9[_0x5acb8f(0x1f4)]);}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x21d)],_0x1a713b(0x211),(_0x4b99e9,_0x4933ae)=>{const _0x566016=_0x1a713b;this[_0x566016(0x226)](_0x4933ae['id']);}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x21d)],_0x1a713b(0x222),(_0x1dd700,_0x45882d)=>{const _0x2d5ec6=_0x1a713b,_0x7c8730=_0x45882d[_0x2d5ec6(0x1da)]?_0x2d5ec6(0x202):_0x2d5ec6(0x20a);this[_0x2d5ec6(0x217)](_0x45882d['id'],_0x7c8730),this[_0x2d5ec6(0x238)](_0x45882d['id'],_0x45882d[_0x2d5ec6(0x1da)]);}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x21d)],_0x1a713b(0x21a),()=>{const _0xd94b0c=_0x1a713b;_0x3b3b25[_0xd94b0c(0x21b)][_0xd94b0c(0x236)](_0xd94b0c(0x232));}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x230)],_0x1a713b(0x1f9),()=>{const _0x5e6af0=_0x1a713b;this[_0x5e6af0(0x1f3)]();}),_0x3b3b25[_0x1a713b(0x21b)]['on'](_0x1a713b(0x20c),()=>{const _0x19b603=_0x1a713b;this[_0x19b603(0x210)]();}),this[_0x1a713b(0x22a)](_0x3b3b25,_0x1a713b(0x21e),(_0x3bd2f3,_0x1cafe7)=>{const _0x319627=_0x1a713b;this[_0x319627(0x1e3)](_0x1cafe7);}),this[_0x1a713b(0x22a)](this[_0x1a713b(0x21d)],_0x1a713b(0x1ff),()=>{const _0x2aead0=_0x1a713b;_0x3b3b25[_0x2aead0(0x1e7)]();});}catch(_0x4e2d62){this[_0x1a713b(0x23b)](_0x4e2d62,_0x1a713b(0x1fa));}}async[_0x5417b6(0x224)](_0x347a48,_0x5ef888){const _0x2c8228=_0x5417b6;await this[_0x2c8228(0x1dd)][_0x2c8228(0x1eb)](_0x347a48,_0x5ef888);}async[_0x5417b6(0x238)](_0x5d0eeb,_0xd57668){const _0x553a3c=_0x5417b6;await this[_0x553a3c(0x1dd)][_0x553a3c(0x205)](_0x5d0eeb,_0xd57668);}async[_0x5417b6(0x22d)](_0x58f039){const _0x4a274b=_0x5417b6;await this[_0x4a274b(0x1dd)][_0x4a274b(0x1f2)](_0x58f039);}async[_0x5417b6(0x226)](_0x258e45){const _0x1e015f=_0x5417b6;await this[_0x1e015f(0x230)][_0x1e015f(0x1ee)](_0x258e45);}async[_0x5417b6(0x210)](){const _0x411efa=_0x5417b6;this[_0x411efa(0x21d)][_0x411efa(0x1d6)](''),this[_0x411efa(0x21d)][_0x411efa(0x237)](!0x0),await this[_0x411efa(0x1dd)][_0x411efa(0x1fa)](),this[_0x411efa(0x21d)][_0x411efa(0x237)](!0x1);}[_0x5417b6(0x1f3)](){const _0x46a905=_0x5417b6,_0x209bd6=this[_0x46a905(0x230)][_0x46a905(0x1f5)]?.['id'],_0x4068c4=this[_0x46a905(0x219)]()[_0x46a905(0x1f0)](_0x3f2d6e=>({'title':_0x3f2d6e[_0x46a905(0x215)],'items':_0x3f2d6e[_0x46a905(0x220)][_0x46a905(0x1f0)](_0x463ef5=>({'id':_0x463ef5['id'],'title':_0x463ef5[_0x46a905(0x215)]||_0x264fc4(this[_0x46a905(0x1e9)][_0x46a905(0x213)],_0x46a905(0x1ec)),'createdAt':new Date(_0x463ef5[_0x46a905(0x1e2)])[_0x46a905(0x22b)](),'active':_0x463ef5['id']===_0x209bd6,'pinned':_0x463ef5[_0x46a905(0x1da)]}))}));this[_0x46a905(0x21d)][_0x46a905(0x201)](_0x4068c4);}[_0x5417b6(0x217)](_0x5dff50,_0x28a658){const _0x2ccc63=_0x5417b6;this[_0x2ccc63(0x21d)][_0x2ccc63(0x229)](_0x5dff50,_0x28a658,!0x0);}[_0x5417b6(0x223)](_0x1c542d){const _0x24c84f=_0x5417b6;this[_0x24c84f(0x21d)][_0x24c84f(0x229)](_0x1c542d,null,!0x1);}[_0x5417b6(0x23b)](_0x13d4cd,_0x527960,_0x5ae081){const _0x485162=_0x5417b6,_0x56a5e6=this[_0x485162(0x204)](_0x527960,_0x5ae081);this[_0x485162(0x21d)][_0x485162(0x1d6)](_0x56a5e6),_0x5ae081&&this[_0x485162(0x223)](_0x5ae081),this[_0x485162(0x21d)][_0x485162(0x237)](!0x1);}[_0x5417b6(0x204)](_0x3e693a,_0x3b6b08){const _0x60b9bc=_0x5417b6,_0x48d545=_0x3b6b08?this[_0x60b9bc(0x1dd)][_0x60b9bc(0x227)](_0x3b6b08):null,_0x50312f=_0x48d545?.[_0x60b9bc(0x215)]||_0x264fc4(this[_0x60b9bc(0x1e9)][_0x60b9bc(0x213)],_0x60b9bc(0x1ec));switch(_0x3e693a){case _0x60b9bc(0x1eb):return _0x264fc4(this[_0x60b9bc(0x1e9)][_0x60b9bc(0x213)],_0x60b9bc(0x22e),_0x50312f);case _0x60b9bc(0x205):{const _0x11dfef=_0x264fc4(this[_0x60b9bc(0x1e9)][_0x60b9bc(0x213)],_0x48d545?.[_0x60b9bc(0x1da)]?_0x60b9bc(0x225):_0x60b9bc(0x200));return _0x264fc4(this[_0x60b9bc(0x1e9)][_0x60b9bc(0x213)],_0x60b9bc(0x231),[_0x11dfef,_0x50312f]);}case _0x60b9bc(0x1f2):return _0x264fc4(this[_0x60b9bc(0x1e9)][_0x60b9bc(0x213)],_0x60b9bc(0x208),_0x50312f);case _0x60b9bc(0x1fa):case _0x60b9bc(0x239):return _0x264fc4(this[_0x60b9bc(0x1e9)][_0x60b9bc(0x213)],_0x60b9bc(0x1db));default:return _0x264fc4(this[_0x60b9bc(0x1e9)][_0x60b9bc(0x213)],_0x60b9bc(0x228));}}[_0x5417b6(0x219)](){const _0x23186e=_0x5417b6,_0x2975e0=new Date(),_0xc6668c=new Date(_0x2975e0[_0x23186e(0x1ef)](),_0x2975e0[_0x23186e(0x1ea)](),_0x2975e0[_0x23186e(0x218)]()),_0x526321=new Date(_0xc6668c);_0x526321[_0x23186e(0x1d9)](_0x526321[_0x23186e(0x218)]()-0x1);const _0x22df4c=new Date(_0xc6668c);_0x22df4c[_0x23186e(0x1d9)](_0x22df4c[_0x23186e(0x218)]()-0xe);const _0x3925ca=this[_0x23186e(0x1dd)][_0x23186e(0x1e0)]({'pinned':!0x0}),_0x109167=this[_0x23186e(0x1dd)][_0x23186e(0x1e0)]({'from':_0xc6668c,'to':_0xc6668c}),_0x43c226=this[_0x23186e(0x1dd)][_0x23186e(0x1e0)]({'from':_0x526321,'to':_0x526321}),_0x40a923=this[_0x23186e(0x1dd)][_0x23186e(0x1e0)]({'from':_0x22df4c,'to':_0x526321}),_0x5ef02a=this[_0x23186e(0x1dd)][_0x23186e(0x1e0)]({'to':_0x22df4c}),_0xd6ec44=[];return _0x3925ca[_0x23186e(0x1fc)]>0x0&&_0xd6ec44[_0x23186e(0x1e4)]({'title':_0x264fc4(this[_0x23186e(0x1e9)][_0x23186e(0x213)],_0x23186e(0x20f)),'items':_0x3925ca}),_0x109167[_0x23186e(0x1fc)]>0x0&&_0xd6ec44[_0x23186e(0x1e4)]({'title':_0x264fc4(this[_0x23186e(0x1e9)][_0x23186e(0x213)],_0x23186e(0x214)),'items':_0x109167}),_0x43c226[_0x23186e(0x1fc)]>0x0&&_0xd6ec44[_0x23186e(0x1e4)]({'title':_0x264fc4(this[_0x23186e(0x1e9)][_0x23186e(0x213)],_0x23186e(0x233)),'items':_0x43c226}),_0x40a923[_0x23186e(0x1fc)]>0x0&&_0xd6ec44[_0x23186e(0x1e4)]({'title':_0x264fc4(this[_0x23186e(0x1e9)][_0x23186e(0x213)],_0x23186e(0x1e8)),'items':_0x40a923}),_0x5ef02a[_0x23186e(0x1fc)]>0x0&&_0xd6ec44[_0x23186e(0x1e4)]({'title':_0x264fc4(this[_0x23186e(0x1e9)][_0x23186e(0x213)],_0x23186e(0x203)),'items':_0x5ef02a}),_0xd6ec44;}[_0x5417b6(0x1e3)](_0x401e21){const _0x4b457f=_0x5417b6;this[_0x4b457f(0x21d)][_0x4b457f(0x1d7)](_0x401e21);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x242e63=_0x109e;(function(_0x31f09f,_0x5dfe81){const _0x3e466d=_0x109e,_0x15f6cc=_0x31f09f();while(!![]){try{const _0x28e1e0=-parseInt(_0x3e466d(0x1d5))/0x1*(-parseInt(_0x3e466d(0x1dc))/0x2)+parseInt(_0x3e466d(0x1c5))/0x3+-parseInt(_0x3e466d(0x1cb))/0x4*(parseInt(_0x3e466d(0x1ef))/0x5)+parseInt(_0x3e466d(0x1dd))/0x6+parseInt(_0x3e466d(0x1c2))/0x7*(parseInt(_0x3e466d(0x1e6))/0x8)+parseInt(_0x3e466d(0x1e3))/0x9+-parseInt(_0x3e466d(0x1d8))/0xa;if(_0x28e1e0===_0x5dfe81)break;else _0x15f6cc['push'](_0x15f6cc['shift']());}catch(_0x399461){_0x15f6cc['push'](_0x15f6cc['shift']());}}}(_0x16c5,0x2e64a));import{ContextPlugin as _0x503e77}from'ckeditor5/src/core.js';function _0x109e(_0x1aed8f,_0xba3d66){const _0x16c579=_0x16c5();return _0x109e=function(_0x109e71,_0x54d855){_0x109e71=_0x109e71-0x1c2;let _0x52114b=_0x16c579[_0x109e71];return _0x52114b;},_0x109e(_0x1aed8f,_0xba3d66);}import{AITabs as _0x1a32fb}from'../aitabs/aitabs.js';import{IconAIHistory as _0xbba543}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0xea780e}from'./ui/aichathistoryview.js';import{getTranslation as _0x3bcd2b}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';function _0x16c5(){const _0x5beb8d=['16JXlPSK','history','context','isLoading','isPremiumPlugin','showConversationHistory','locale','showResizeButton','view','editConversationTitle','301ooeFLv','resizeTabs','setIsMaximized','1216390oHPdOW','plugins','_historyView','isMaximized','1900EYkeaO','395976TGOSjA','selectConversation','pluginName','updateHistoryItemsWithCategories','openChat','AI_CHAT_HISTORY_HEADING','83880GkZdzk','updateItemTitle','showError','2192qTwEIm','requires','removeConversation','updateItemLoadingState','get','delegate','setConversationPinned','AIChatHistoryUI','hideError','221555nPwlbh','1470VTEjjK','isOfficialPlugin','AITabs','210309SoNixJ','errorMessage','removeHistoryItem','addTab','setLoadingSkeleton','updateItems'];_0x16c5=function(){return _0x5beb8d;};return _0x16c5();}export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x242e63(0x1d0),_0x242e63(0x1e8),_0x242e63(0x1d4),_0x242e63(0x1ec),_0x242e63(0x1de),_0x242e63(0x1e1),_0x242e63(0x1d6)];export class AIChatHistoryUI extends _0x503e77{static get[_0x242e63(0x1e7)](){return[_0x1a32fb];}[_0x242e63(0x1da)];static get[_0x242e63(0x1df)](){const _0x59b72e=_0x242e63;return _0x59b72e(0x1ed);}static get[_0x242e63(0x1c3)](){return!0x0;}static get[_0x242e63(0x1cf)](){return!0x0;}constructor(_0x3fb87f){const _0x461da4=_0x242e63;super(_0x3fb87f);const _0x2f0aa1=this[_0x461da4(0x1cd)][_0x461da4(0x1d9)][_0x461da4(0x1ea)](_0x461da4(0x1c4));this[_0x461da4(0x1da)]=new _0xea780e(this[_0x461da4(0x1cd)][_0x461da4(0x1d1)],_0x2f0aa1[_0x461da4(0x1d2)]),this[_0x461da4(0x1da)][_0x461da4(0x1eb)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x2f0aa1[_0x461da4(0x1d3)][_0x461da4(0x1c8)]({'id':_0x461da4(0x1cc),'buttonLabel':_0x3bcd2b(this[_0x461da4(0x1cd)][_0x461da4(0x1d1)],_0x461da4(0x1e2)),'buttonIcon':_0xbba543,'order':0x0,'content':this[_0x461da4(0x1da)]});}[_0x242e63(0x1c7)](_0xc3cf63){const _0x291f56=_0x242e63;this[_0x291f56(0x1da)][_0x291f56(0x1c7)](_0xc3cf63);}[_0x242e63(0x1ca)](_0x5efd21){const _0x24dddc=_0x242e63;this[_0x24dddc(0x1da)][_0x24dddc(0x1e0)](_0x5efd21);}[_0x242e63(0x1e4)](_0x530b79,_0x43076){const _0x2365f3=_0x242e63;this[_0x2365f3(0x1da)][_0x2365f3(0x1e4)](_0x530b79,_0x43076);}[_0x242e63(0x1e9)](_0x32952a,_0x2a5bfd,_0x2b224b){const _0x2808ea=_0x242e63;this[_0x2808ea(0x1da)][_0x2808ea(0x1e9)](_0x32952a,_0x2a5bfd,_0x2b224b);}[_0x242e63(0x1c9)](_0x202d97){const _0x39b0c=_0x242e63;this[_0x39b0c(0x1da)][_0x39b0c(0x1ce)]=_0x202d97;}[_0x242e63(0x1e5)](_0x24cb1d){const _0x54b555=_0x242e63;this[_0x54b555(0x1da)][_0x54b555(0x1c6)]=_0x24cb1d;}[_0x242e63(0x1ee)](){const _0x56cfa0=_0x242e63;this[_0x56cfa0(0x1da)][_0x56cfa0(0x1c6)]='';}[_0x242e63(0x1d7)](_0x5ba7f7){const _0x2bdbee=_0x242e63;this[_0x2bdbee(0x1da)][_0x2bdbee(0x1db)]=_0x5ba7f7;}}
23
+ function _0x2533(_0x58d883,_0x10cbb8){const _0x258a26=_0x258a();return _0x2533=function(_0x2533a3,_0xc6d9a6){_0x2533a3=_0x2533a3-0x181;let _0x3721bb=_0x258a26[_0x2533a3];return _0x3721bb;},_0x2533(_0x58d883,_0x10cbb8);}const _0x56e554=_0x2533;(function(_0x66ed8d,_0x1d9063){const _0x157b17=_0x2533,_0x307b80=_0x66ed8d();while(!![]){try{const _0x3ccbf9=parseInt(_0x157b17(0x185))/0x1+-parseInt(_0x157b17(0x194))/0x2+-parseInt(_0x157b17(0x1a1))/0x3*(parseInt(_0x157b17(0x192))/0x4)+parseInt(_0x157b17(0x19c))/0x5*(parseInt(_0x157b17(0x18d))/0x6)+-parseInt(_0x157b17(0x1ae))/0x7*(-parseInt(_0x157b17(0x188))/0x8)+-parseInt(_0x157b17(0x18c))/0x9*(parseInt(_0x157b17(0x199))/0xa)+parseInt(_0x157b17(0x19b))/0xb;if(_0x3ccbf9===_0x1d9063)break;else _0x307b80['push'](_0x307b80['shift']());}catch(_0x5dcdb3){_0x307b80['push'](_0x307b80['shift']());}}}(_0x258a,0x8f4e6));import{ContextPlugin as _0x38415c}from'ckeditor5/src/core.js';function _0x258a(){const _0x9e41bd=['setConversationPinned','updateItems','AIChatHistoryUI','requires','errorMessage','467026DyMDxk','editConversationTitle','view','delegate','isPremiumPlugin','isMaximized','347374vSGiVm','pluginName','isLoading','40RyNUkv','removeConversation','showConversationHistory','AITabs','1788282uedYud','12cDiDvc','locale','get','updateItemTitle','removeHistoryItem','16ZzhnJW','history','2021636hLsWBA','showError','_historyView','isOfficialPlugin','setLoadingSkeleton','10VmjEHW','hideError','10392404oyQiNk','2740935NhQMJA','selectConversation','updateHistoryItemsWithCategories','showResizeButton','openChat','694203zuBfzz','plugins','addTab','resizeTabs','updateItemLoadingState','AI_CHAT_HISTORY_HEADING','context','setIsMaximized'];_0x258a=function(){return _0x9e41bd;};return _0x258a();}import{AITabs as _0xfab1c}from'../aitabs/aitabs.js';import{IconAIHistory as _0x3db7dc}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x24a59e}from'./ui/aichathistoryview.js';import{getTranslation as _0x28eb5a}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x56e554(0x18a),_0x56e554(0x189),_0x56e554(0x1af),_0x56e554(0x1a9),_0x56e554(0x19d),_0x56e554(0x1a0),_0x56e554(0x1a4)];export class AIChatHistoryUI extends _0x38415c{static get[_0x56e554(0x1ac)](){return[_0xfab1c];}[_0x56e554(0x196)];static get[_0x56e554(0x186)](){const _0x69a58d=_0x56e554;return _0x69a58d(0x1ab);}static get[_0x56e554(0x197)](){return!0x0;}static get[_0x56e554(0x183)](){return!0x0;}constructor(_0x3e7ecb){const _0x5f4c88=_0x56e554;super(_0x3e7ecb);const _0x4b8343=this[_0x5f4c88(0x1a7)][_0x5f4c88(0x1a2)][_0x5f4c88(0x18f)](_0x5f4c88(0x18b));this[_0x5f4c88(0x196)]=new _0x24a59e(this[_0x5f4c88(0x1a7)][_0x5f4c88(0x18e)],_0x4b8343[_0x5f4c88(0x19f)]),this[_0x5f4c88(0x196)][_0x5f4c88(0x182)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x4b8343[_0x5f4c88(0x181)][_0x5f4c88(0x1a3)]({'id':_0x5f4c88(0x193),'buttonLabel':_0x28eb5a(this[_0x5f4c88(0x1a7)][_0x5f4c88(0x18e)],_0x5f4c88(0x1a6)),'buttonIcon':_0x3db7dc,'order':0x0,'content':this[_0x5f4c88(0x196)]});}[_0x56e554(0x191)](_0x399973){const _0x590149=_0x56e554;this[_0x590149(0x196)][_0x590149(0x191)](_0x399973);}[_0x56e554(0x1aa)](_0x4e621a){const _0x1e6caa=_0x56e554;this[_0x1e6caa(0x196)][_0x1e6caa(0x19e)](_0x4e621a);}[_0x56e554(0x190)](_0x286035,_0x541d67){const _0x5357b0=_0x56e554;this[_0x5357b0(0x196)][_0x5357b0(0x190)](_0x286035,_0x541d67);}[_0x56e554(0x1a5)](_0x1ca475,_0x11c524,_0x17acfb){const _0x3ea167=_0x56e554;this[_0x3ea167(0x196)][_0x3ea167(0x1a5)](_0x1ca475,_0x11c524,_0x17acfb);}[_0x56e554(0x198)](_0xfa70a2){const _0x6ddba4=_0x56e554;this[_0x6ddba4(0x196)][_0x6ddba4(0x187)]=_0xfa70a2;}[_0x56e554(0x195)](_0x4d04b5){const _0x277870=_0x56e554;this[_0x277870(0x196)][_0x277870(0x1ad)]=_0x4d04b5;}[_0x56e554(0x19a)](){const _0x281f66=_0x56e554;this[_0x281f66(0x196)][_0x281f66(0x1ad)]='';}[_0x56e554(0x1a8)](_0x4554fa){const _0x5dcd8a=_0x56e554;this[_0x5dcd8a(0x196)][_0x5dcd8a(0x184)]=_0x4554fa;}}