@ckeditor/ckeditor5-ai 47.4.0-alpha.1 → 47.4.0-alpha.3

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 _0x5ca1d6=_0x57d4;(function(_0x3344b7,_0xd66af7){const _0x226115=_0x57d4,_0x55ee65=_0x3344b7();while(!![]){try{const _0x5aca82=-parseInt(_0x226115(0x226))/0x1*(-parseInt(_0x226115(0x213))/0x2)+-parseInt(_0x226115(0x1f7))/0x3+parseInt(_0x226115(0x1ed))/0x4+-parseInt(_0x226115(0x200))/0x5*(-parseInt(_0x226115(0x22a))/0x6)+-parseInt(_0x226115(0x1f3))/0x7*(parseInt(_0x226115(0x1fb))/0x8)+-parseInt(_0x226115(0x215))/0x9+-parseInt(_0x226115(0x1fa))/0xa*(parseInt(_0x226115(0x216))/0xb);if(_0x5aca82===_0xd66af7)break;else _0x55ee65['push'](_0x55ee65['shift']());}catch(_0x90c502){_0x55ee65['push'](_0x55ee65['shift']());}}}(_0x5069,0x6c328));function _0x5069(){const _0x4121a1=['clear','showSourceResourcesBalloon','populateSourceResourceBalloon','destroy','show','onBackToContext','onResourceSelected','execute','content','onBalloonClosed','13UrqPBe','isAnyResourceBalloonVisible','change:isLoading','ck-button-icon\x20ck-button-back','174SlPSNg','2173900LcXRVo','pin','get','setResources','_createBalloonHeader','_addSourceResourceContent','35rOoyMJ','_createBackButton','getTargetElement','once','1625601OwRsxF','_getResourcesViewFromBalloon','values','1740kAvCSR','394824kqSXGO','_setupSingleResourceBalloonClickOutsideHandler','_createBalloonResourcesView','onLoadSourceResources','delete','150545CxpoSr','_sourceResourceBalloons','children','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','loadSourceResources','resource','element','label','_createSourceResourceBalloonPanel','_locale','hide','source','extendTemplate','addResourceToContext','_config','closeSourceResourceBalloon','updateResourceState','set','95914DIyUGj','searchInputVisibleFrom','2424519VvIyzL','34067vlOdwW','isVisible','_bodyCollection','add','getLimiterElement','ck-ai-chat-context-controls__source-balloon-panel'];_0x5069=function(){return _0x4121a1;};return _0x5069();}import{BalloonPanelView as _0x416349,ButtonView as _0x1b0be2,clickOutsideHandler as _0x19641c,FormHeaderView as _0x567a5d}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x14bb96}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x470d8f}from'../../../../aicore/utils/common-translations.js';function _0x57d4(_0x556edd,_0x5c8cc4){const _0x50698f=_0x5069();return _0x57d4=function(_0x57d4d3,_0x23410e){_0x57d4d3=_0x57d4d3-0x1ed;let _0x20857e=_0x50698f[_0x57d4d3];return _0x20857e;},_0x57d4(_0x556edd,_0x5c8cc4);}import{AIChatContextResourcesView as _0x10505b}from'./aichatcontextresourcesview.js';const Nr=_0x5ca1d6(0x21b),Xr=_0x5ca1d6(0x229),Kr=_0x5ca1d6(0x204);export class AIChatResourcesBalloonView{[_0x5ca1d6(0x201)]=new Map();[_0x5ca1d6(0x218)];[_0x5ca1d6(0x20a)];[_0x5ca1d6(0x20f)];constructor(_0x2b872d,_0x404d6c,_0x2d4b6c){const _0x48cb82=_0x5ca1d6;this[_0x48cb82(0x20a)]=_0x2b872d,this[_0x48cb82(0x218)]=_0x404d6c,this[_0x48cb82(0x20f)]=_0x2d4b6c;}[_0x5ca1d6(0x21d)](_0x39bc4a){const _0x4eedca=_0x5ca1d6;let _0x703c07=this[_0x4eedca(0x201)][_0x4eedca(0x1ef)](_0x39bc4a['id']);_0x703c07||(_0x703c07=this[_0x4eedca(0x209)](),this[_0x4eedca(0x201)][_0x4eedca(0x212)](_0x39bc4a['id'],_0x703c07),this[_0x4eedca(0x1fc)](_0x703c07)),this[_0x4eedca(0x1f2)](_0x703c07,_0x39bc4a),_0x703c07[_0x4eedca(0x220)]();const _0x27207a=this[_0x4eedca(0x20f)][_0x4eedca(0x1f5)]();_0x27207a&&_0x703c07[_0x4eedca(0x1ee)]({'target':_0x27207a,'limiter':this[_0x4eedca(0x20f)][_0x4eedca(0x21a)]()});}[_0x5ca1d6(0x21e)](_0x1463b2,_0x3477cb,_0x59255e){const _0x22b413=_0x5ca1d6,_0x1a04f1=this[_0x22b413(0x201)][_0x22b413(0x1ef)](_0x1463b2);if(!_0x1a04f1)return;const _0x43896d=this[_0x22b413(0x1f8)](_0x1a04f1);_0x43896d&&(_0x43896d[_0x22b413(0x1f0)](_0x3477cb,_0x59255e),_0x43896d[_0x22b413(0x1f6)](_0x22b413(0x228),()=>{const _0x2cd7ba=_0x22b413;_0x1a04f1[_0x2cd7ba(0x1ee)]({'target':this[_0x2cd7ba(0x20f)][_0x2cd7ba(0x1f5)](),'limiter':this[_0x2cd7ba(0x20f)][_0x2cd7ba(0x21a)]()});}));}[_0x5ca1d6(0x210)](_0x233320){const _0x56726d=_0x5ca1d6,_0x2e8fd3=this[_0x56726d(0x201)][_0x56726d(0x1ef)](_0x233320);_0x2e8fd3&&requestAnimationFrame(()=>{const _0x5e4f18=_0x56726d;_0x2e8fd3[_0x5e4f18(0x20b)](),this[_0x5e4f18(0x201)][_0x5e4f18(0x1ff)](_0x233320),this[_0x5e4f18(0x20f)][_0x5e4f18(0x225)]();});}[_0x5ca1d6(0x227)](){const _0x258be8=_0x5ca1d6;for(const _0x4dcfbf of this[_0x258be8(0x201)][_0x258be8(0x1f9)]())if(_0x4dcfbf[_0x258be8(0x217)])return!0x0;return!0x1;}[_0x5ca1d6(0x211)](_0x48ee17,_0x1691b5,_0x3d5af4){const _0x3abe37=_0x5ca1d6,_0xe7dae9=this[_0x3abe37(0x201)][_0x3abe37(0x1ef)](_0x48ee17);if(!_0xe7dae9||!_0xe7dae9[_0x3abe37(0x217)])return;const _0x27836b=this[_0x3abe37(0x20f)][_0x3abe37(0x1f5)]();if(!_0x27836b)return;_0xe7dae9[_0x3abe37(0x1ee)]({'target':_0x27836b,'limiter':this[_0x3abe37(0x20f)][_0x3abe37(0x21a)]()});const _0xa44d8b=this[_0x3abe37(0x1f8)](_0xe7dae9);_0xa44d8b&&_0xa44d8b[_0x3abe37(0x211)](_0x1691b5,_0x3d5af4);}[_0x5ca1d6(0x21f)](){const _0x3af2e6=_0x5ca1d6;for(const _0xfa350a of this[_0x3af2e6(0x201)][_0x3af2e6(0x1f9)]())_0xfa350a[_0x3af2e6(0x21f)]();this[_0x3af2e6(0x201)][_0x3af2e6(0x21c)]();}[_0x5ca1d6(0x209)](){const _0x50d681=_0x5ca1d6,_0x5c635e=new _0x416349(this[_0x50d681(0x20a)]);return _0x5c635e[_0x50d681(0x20d)]({'attributes':{'class':Nr}}),this[_0x50d681(0x218)][_0x50d681(0x219)](_0x5c635e),_0x5c635e;}[_0x5ca1d6(0x1f2)](_0x199ff4,_0x2b6898){const _0x170008=_0x5ca1d6;_0x199ff4[_0x170008(0x224)][_0x170008(0x21c)]();const _0x328d51=this[_0x170008(0x1f1)](_0x199ff4,_0x2b6898);_0x199ff4[_0x170008(0x224)][_0x170008(0x219)](_0x328d51);const _0x2cee67=this[_0x170008(0x1fd)](_0x2b6898);_0x199ff4[_0x170008(0x224)][_0x170008(0x219)](_0x2cee67);}[_0x5ca1d6(0x1f1)](_0x2a923f,_0x13674a){const _0x57fb8b=_0x5ca1d6,_0x4a1275=this[_0x57fb8b(0x1f4)](_0x2a923f),_0x5b9918=new _0x567a5d(this[_0x57fb8b(0x20a)],{'label':_0x13674a[_0x57fb8b(0x208)],'class':Kr});return _0x5b9918[_0x57fb8b(0x202)][_0x57fb8b(0x219)](_0x4a1275,0x0),_0x5b9918;}[_0x5ca1d6(0x1f4)](_0x2b7458){const _0x215739=_0x5ca1d6,_0x321b2b=new _0x1b0be2(this[_0x215739(0x20a)]);return _0x321b2b[_0x215739(0x212)]({'icon':_0x14bb96,'tooltip':_0x470d8f(this[_0x215739(0x20a)],_0x215739(0x203)),'tooltipPosition':'n','class':Xr}),_0x321b2b['on'](_0x215739(0x223),()=>{const _0x192e6e=_0x215739;_0x2b7458[_0x192e6e(0x20b)](),this[_0x192e6e(0x20f)][_0x192e6e(0x221)]();}),_0x321b2b;}[_0x5ca1d6(0x1fd)](_0xe025e3){const _0x361f6e=_0x5ca1d6,_0x1ed70a=new _0x10505b(this[_0x361f6e(0x20a)],{'source':_0xe025e3,'searchInputVisibleFrom':this[_0x361f6e(0x20f)][_0x361f6e(0x214)]});return _0x1ed70a['on'](_0x361f6e(0x205),(_0x16128f,_0x539e42)=>{const _0x5315c1=_0x361f6e;this[_0x5315c1(0x20f)][_0x5315c1(0x1fe)](_0x539e42);}),_0x1ed70a['on'](_0x361f6e(0x20e),(_0x121636,_0x4709f5)=>{const _0x40c8f0=_0x361f6e;this[_0x40c8f0(0x20f)][_0x40c8f0(0x222)](_0x4709f5[_0x40c8f0(0x20c)],_0x4709f5[_0x40c8f0(0x206)]),this[_0x40c8f0(0x210)](_0xe025e3['id']);}),_0x1ed70a;}[_0x5ca1d6(0x1f8)](_0x23fb17){const _0x310dae=_0x5ca1d6,_0x1b7f4b=_0x23fb17[_0x310dae(0x224)][_0x310dae(0x1ef)](0x1);return _0x1b7f4b instanceof _0x10505b?_0x1b7f4b:null;}[_0x5ca1d6(0x1fc)](_0x3c3bca){const _0x5d4cd2=_0x5ca1d6;_0x19641c({'emitter':_0x3c3bca,'contextElements':[_0x3c3bca[_0x5d4cd2(0x207)]],'callback':()=>{const _0x268d67=_0x5d4cd2;_0x3c3bca[_0x268d67(0x20b)](),this[_0x268d67(0x20f)][_0x268d67(0x225)]();},'activator':()=>_0x3c3bca[_0x5d4cd2(0x217)]});}}
23
+ function _0x393c(_0x509086,_0x12e279){const _0x1a2660=_0x1a26();return _0x393c=function(_0x393c57,_0xf7544a){_0x393c57=_0x393c57-0xe0;let _0x23384a=_0x1a2660[_0x393c57];return _0x23384a;},_0x393c(_0x509086,_0x12e279);}const _0x361caf=_0x393c;(function(_0x1d8e24,_0x5081db){const _0x4f9584=_0x393c,_0x18c140=_0x1d8e24();while(!![]){try{const _0x253252=parseInt(_0x4f9584(0xf8))/0x1*(parseInt(_0x4f9584(0xfd))/0x2)+-parseInt(_0x4f9584(0xf3))/0x3+parseInt(_0x4f9584(0xeb))/0x4*(-parseInt(_0x4f9584(0xf4))/0x5)+-parseInt(_0x4f9584(0xe3))/0x6*(-parseInt(_0x4f9584(0x115))/0x7)+-parseInt(_0x4f9584(0x101))/0x8*(parseInt(_0x4f9584(0x10e))/0x9)+parseInt(_0x4f9584(0xe8))/0xa+-parseInt(_0x4f9584(0x11d))/0xb*(-parseInt(_0x4f9584(0x102))/0xc);if(_0x253252===_0x5081db)break;else _0x18c140['push'](_0x18c140['shift']());}catch(_0x1bc6eb){_0x18c140['push'](_0x18c140['shift']());}}}(_0x1a26,0x60268));import{BalloonPanelView as _0x4d8ccf,ButtonView as _0x215bbb,clickOutsideHandler as _0x4c2b77,FormHeaderView as _0x4fb904}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x4c6b8a}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x33d6ce}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x46c07e}from'./aichatcontextresourcesview.js';const Nr=_0x361caf(0x10c),Xr=_0x361caf(0x117),Kr=_0x361caf(0x10d);function _0x1a26(){const _0x847ca6=['_createSourceResourceBalloonPanel','_sourceResourceBalloons','onBalloonClosed','pin','6503hkmEtS','getLimiterElement','ck-button-icon\x20ck-button-back','children','_addSourceResourceContent','execute','addResourceToContext','loadSourceResources','618739pZKTgN','hide','showSourceResourcesBalloon','label','source','1218CBoiJf','_getResourcesViewFromBalloon','once','setResources','onLoadSourceResources','6394160ByJROS','_locale','values','4kEFOlO','_bodyCollection','add','destroy','_createBalloonResourcesView','isVisible','extendTemplate','show','260967nTEPAG','2571355pHTooL','element','getTargetElement','_config','3KQkIjY','onBackToContext','clear','change:isLoading','content','320556CNREAq','delete','resource','set','24pmEuue','24AAbHRT','isAnyResourceBalloonVisible','searchInputVisibleFrom','_createBackButton','_setupSingleResourceBalloonClickOutsideHandler','get','onResourceSelected','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','closeSourceResourceBalloon','_createBalloonHeader','ck-ai-chat-context-controls__source-balloon-panel','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','1278729KCjOFz','updateResourceState','populateSourceResourceBalloon'];_0x1a26=function(){return _0x847ca6;};return _0x1a26();}export class AIChatResourcesBalloonView{[_0x361caf(0x112)]=new Map();[_0x361caf(0xec)];[_0x361caf(0xe9)];[_0x361caf(0xf7)];constructor(_0x2b370c,_0x27e4a8,_0x5d7027){const _0x5aea4f=_0x361caf;this[_0x5aea4f(0xe9)]=_0x2b370c,this[_0x5aea4f(0xec)]=_0x27e4a8,this[_0x5aea4f(0xf7)]=_0x5d7027;}[_0x361caf(0xe0)](_0x170a94){const _0xf4a8d5=_0x361caf;let _0x35aeda=this[_0xf4a8d5(0x112)][_0xf4a8d5(0x107)](_0x170a94['id']);_0x35aeda||(_0x35aeda=this[_0xf4a8d5(0x111)](),this[_0xf4a8d5(0x112)][_0xf4a8d5(0x100)](_0x170a94['id'],_0x35aeda),this[_0xf4a8d5(0x106)](_0x35aeda)),this[_0xf4a8d5(0x119)](_0x35aeda,_0x170a94),_0x35aeda[_0xf4a8d5(0xf2)]();const _0x490f0d=this[_0xf4a8d5(0xf7)][_0xf4a8d5(0xf6)]();_0x490f0d&&_0x35aeda[_0xf4a8d5(0x114)]({'target':_0x490f0d,'limiter':this[_0xf4a8d5(0xf7)][_0xf4a8d5(0x116)]()});}[_0x361caf(0x110)](_0x36d035,_0x18d6cb,_0x4a8709){const _0x416c8e=_0x361caf,_0x2d5572=this[_0x416c8e(0x112)][_0x416c8e(0x107)](_0x36d035);if(!_0x2d5572)return;const _0x3114b3=this[_0x416c8e(0xe4)](_0x2d5572);_0x3114b3&&(_0x3114b3[_0x416c8e(0xe6)](_0x18d6cb,_0x4a8709),_0x3114b3[_0x416c8e(0xe5)](_0x416c8e(0xfb),()=>{const _0x4c952f=_0x416c8e;_0x2d5572[_0x4c952f(0x114)]({'target':this[_0x4c952f(0xf7)][_0x4c952f(0xf6)](),'limiter':this[_0x4c952f(0xf7)][_0x4c952f(0x116)]()});}));}[_0x361caf(0x10a)](_0x5c5dac){const _0x1ee1ac=_0x361caf,_0xd671af=this[_0x1ee1ac(0x112)][_0x1ee1ac(0x107)](_0x5c5dac);_0xd671af&&requestAnimationFrame(()=>{const _0x50f826=_0x1ee1ac;_0xd671af[_0x50f826(0x11e)](),this[_0x50f826(0x112)][_0x50f826(0xfe)](_0x5c5dac),this[_0x50f826(0xf7)][_0x50f826(0x113)]();});}[_0x361caf(0x103)](){const _0x4b09e4=_0x361caf;for(const _0x1245cb of this[_0x4b09e4(0x112)][_0x4b09e4(0xea)]())if(_0x1245cb[_0x4b09e4(0xf0)])return!0x0;return!0x1;}[_0x361caf(0x10f)](_0xa6ade,_0x407495,_0x401b9d){const _0x5a674b=_0x361caf,_0x46e9e0=this[_0x5a674b(0x112)][_0x5a674b(0x107)](_0xa6ade);if(!_0x46e9e0||!_0x46e9e0[_0x5a674b(0xf0)])return;const _0x28bf08=this[_0x5a674b(0xf7)][_0x5a674b(0xf6)]();if(!_0x28bf08)return;_0x46e9e0[_0x5a674b(0x114)]({'target':_0x28bf08,'limiter':this[_0x5a674b(0xf7)][_0x5a674b(0x116)]()});const _0x513a98=this[_0x5a674b(0xe4)](_0x46e9e0);_0x513a98&&_0x513a98[_0x5a674b(0x10f)](_0x407495,_0x401b9d);}[_0x361caf(0xee)](){const _0x465dab=_0x361caf;for(const _0x57a45d of this[_0x465dab(0x112)][_0x465dab(0xea)]())_0x57a45d[_0x465dab(0xee)]();this[_0x465dab(0x112)][_0x465dab(0xfa)]();}[_0x361caf(0x111)](){const _0x78b5dc=_0x361caf,_0x5b47fb=new _0x4d8ccf(this[_0x78b5dc(0xe9)]);return _0x5b47fb[_0x78b5dc(0xf1)]({'attributes':{'class':Nr}}),this[_0x78b5dc(0xec)][_0x78b5dc(0xed)](_0x5b47fb),_0x5b47fb;}[_0x361caf(0x119)](_0x361317,_0x28a584){const _0x4c76b8=_0x361caf;_0x361317[_0x4c76b8(0xfc)][_0x4c76b8(0xfa)]();const _0x371179=this[_0x4c76b8(0x10b)](_0x361317,_0x28a584);_0x361317[_0x4c76b8(0xfc)][_0x4c76b8(0xed)](_0x371179);const _0x53fe72=this[_0x4c76b8(0xef)](_0x28a584);_0x361317[_0x4c76b8(0xfc)][_0x4c76b8(0xed)](_0x53fe72);}[_0x361caf(0x10b)](_0x545644,_0x5cbc53){const _0x4c7b51=_0x361caf,_0x12e784=this[_0x4c7b51(0x105)](_0x545644),_0x3fbc52=new _0x4fb904(this[_0x4c7b51(0xe9)],{'label':_0x5cbc53[_0x4c7b51(0xe1)],'class':Kr});return _0x3fbc52[_0x4c7b51(0x118)][_0x4c7b51(0xed)](_0x12e784,0x0),_0x3fbc52;}[_0x361caf(0x105)](_0x13c322){const _0x22d4f8=_0x361caf,_0x4b0fca=new _0x215bbb(this[_0x22d4f8(0xe9)]);return _0x4b0fca[_0x22d4f8(0x100)]({'icon':_0x4c6b8a,'tooltip':_0x33d6ce(this[_0x22d4f8(0xe9)],_0x22d4f8(0x109)),'tooltipPosition':'n','class':Xr}),_0x4b0fca['on'](_0x22d4f8(0x11a),()=>{const _0x415f2b=_0x22d4f8;_0x13c322[_0x415f2b(0x11e)](),this[_0x415f2b(0xf7)][_0x415f2b(0xf9)]();}),_0x4b0fca;}[_0x361caf(0xef)](_0x483c30){const _0x1bfa48=_0x361caf,_0x33f8a7=new _0x46c07e(this[_0x1bfa48(0xe9)],{'source':_0x483c30,'searchInputVisibleFrom':this[_0x1bfa48(0xf7)][_0x1bfa48(0x104)]});return _0x33f8a7['on'](_0x1bfa48(0x11c),(_0x29c9ab,_0x481957)=>{const _0xd106c3=_0x1bfa48;this[_0xd106c3(0xf7)][_0xd106c3(0xe7)](_0x481957);}),_0x33f8a7['on'](_0x1bfa48(0x11b),(_0xa519ae,_0x263dd)=>{const _0x490fbf=_0x1bfa48;this[_0x490fbf(0xf7)][_0x490fbf(0x108)](_0x263dd[_0x490fbf(0xe2)],_0x263dd[_0x490fbf(0xff)]),this[_0x490fbf(0x10a)](_0x483c30['id']);}),_0x33f8a7;}[_0x361caf(0xe4)](_0x554599){const _0x50add8=_0x361caf,_0x5047c7=_0x554599[_0x50add8(0xfc)][_0x50add8(0x107)](0x1);return _0x5047c7 instanceof _0x46c07e?_0x5047c7:null;}[_0x361caf(0x106)](_0x313405){const _0x25db22=_0x361caf;_0x4c2b77({'emitter':_0x313405,'contextElements':[_0x313405[_0x25db22(0xf5)]],'callback':()=>{const _0xe4b328=_0x25db22;_0x313405[_0xe4b328(0x11e)](),this[_0xe4b328(0xf7)][_0xe4b328(0x113)]();},'activator':()=>_0x313405[_0x25db22(0xf0)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3f6dca,IconView as _0x2daa50,LabeledFieldView as _0x2d211f,createLabeledInputText as _0x180c9c}from'ckeditor5/src/ui.js';import{IconLoupe as _0x197649,IconCancel as _0x44b514}from'ckeditor5/src/icons.js';import{getTranslation as _0x113664}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x2d211f{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x35d1f2){const t=_0x35d1f2['t'],_0x5cbe6f={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x180c9c,'label':_0x113664(_0x35d1f2,'AI_CHAT_SEARCH_RESOURCES')};super(_0x35d1f2,_0x5cbe6f['creator']),this['label']=_0x5cbe6f['label'],this['_viewConfig']=_0x5cbe6f,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x35d1f2,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0xf93b16){this['fire']('search',_0xf93b16);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x2daa50(),this['iconView']['content']=_0x197649,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x18f37a,t){this['resetButtonView']=new _0x3f6dca(_0x18f37a),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x44b514,'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',_0x1aa2c7=>!_0x1aa2c7),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 _0xa6bd2b=_0x4287;(function(_0x58fb48,_0x5d1f9f){const _0x14a901=_0x4287,_0xb12cfd=_0x58fb48();while(!![]){try{const _0x25d835=-parseInt(_0x14a901(0xc8))/0x1*(-parseInt(_0x14a901(0xc4))/0x2)+parseInt(_0x14a901(0xbc))/0x3*(-parseInt(_0x14a901(0xc6))/0x4)+parseInt(_0x14a901(0xb6))/0x5*(parseInt(_0x14a901(0xc9))/0x6)+-parseInt(_0x14a901(0xc3))/0x7+parseInt(_0x14a901(0xd4))/0x8+-parseInt(_0x14a901(0xba))/0x9+-parseInt(_0x14a901(0xce))/0xa*(-parseInt(_0x14a901(0xbf))/0xb);if(_0x25d835===_0x5d1f9f)break;else _0xb12cfd['push'](_0xb12cfd['shift']());}catch(_0x302849){_0xb12cfd['push'](_0xb12cfd['shift']());}}}(_0x3c99,0x3ef9b));import{View as _0xae7521}from'ckeditor5/src/ui.js';function _0x4287(_0x5b14fd,_0x2de422){const _0x3c99e0=_0x3c99();return _0x4287=function(_0x4287c1,_0x1466bd){_0x4287c1=_0x4287c1-0xb6;let _0x318f93=_0x3c99e0[_0x4287c1];return _0x318f93;},_0x4287(_0x5b14fd,_0x2de422);}function _0x3c99(){const _0x24eca9=['1328ubdxWw','ck-ai-chat-context-chips-wrapper-balloon','114388Iouthv','createCollection','176UKCvsr','6PmNXNu','element','ck-ai-chat-context-controls__show-more-balloon-panel','setContainerElement','_bodyCollection','18220yGunCS','ck-ai-chat-controls-button','_contextChips','ck-ai-chat-controls_context_show-more-button','locale','ck-ai-chat-context-chips-wrapper','2130544ADKmhJ','ck-ai-chat__feed__context-chips','ck-reset_all','29140mjrHJc','div','destroy','render','3035520lTiSnT','querySelector','9RoArIL','reorganizeChips','setTemplate','4862QeEczm','_overflowManager','add','_createContextChips','3593212bOMVJQ'];_0x3c99=function(){return _0x24eca9;};return _0x3c99();}import{AIChatContextItemButtonView as _0xb4f1d7}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0xb4a8f8}from'../controls/aichatchipsoverflowmanager.js';const $o=_0xa6bd2b(0xd5),Ko=_0xa6bd2b(0xd3),Qo=_0xa6bd2b(0xc5),Uo=_0xa6bd2b(0xcf),No=_0xa6bd2b(0xd1),Oo=_0xa6bd2b(0xcb);export class AIChatFeedContextChipsView extends _0xae7521{[_0xa6bd2b(0xd0)]=this[_0xa6bd2b(0xc7)]();[_0xa6bd2b(0xc0)];[_0xa6bd2b(0xcd)];constructor(_0x233420,_0x57e7e7,_0x4f1c43){const _0x4a06cb=_0xa6bd2b;super(_0x233420),this[_0x4a06cb(0xcd)]=_0x4f1c43,this[_0x4a06cb(0xc2)](_0x57e7e7);const _0x383462={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Qo,'controlsButton':Uo}};this[_0x4a06cb(0xc0)]=new _0xb4a8f8(_0x233420,this[_0x4a06cb(0xd0)],_0x383462,this[_0x4a06cb(0xcd)],this),this[_0x4a06cb(0xbe)]({'tag':_0x4a06cb(0xb7),'attributes':{'class':[$o,'ck',_0x4a06cb(0xd6)]},'children':[{'tag':_0x4a06cb(0xb7),'attributes':{'class':Ko},'children':this[_0x4a06cb(0xd0)]}]});}[_0xa6bd2b(0xb9)](){const _0x9c0bf=_0xa6bd2b;super[_0x9c0bf(0xb9)]();const _0x101536=this[_0x9c0bf(0xca)][_0x9c0bf(0xbb)]('.'+Ko);_0x101536&&(this[_0x9c0bf(0xc0)][_0x9c0bf(0xcc)](_0x101536),this[_0x9c0bf(0xc0)][_0x9c0bf(0xbd)]());}[_0xa6bd2b(0xb8)](){const _0x38af82=_0xa6bd2b;super[_0x38af82(0xb8)](),this[_0x38af82(0xc0)][_0x38af82(0xb8)]();}[_0xa6bd2b(0xc2)](_0x55a4d0){const _0x38daeb=_0xa6bd2b;for(const _0x5326dc of _0x55a4d0){const _0x3754f7=new _0xb4f1d7(this[_0x38daeb(0xd2)],_0x5326dc,!0x0,!0x1);this[_0x38daeb(0xd0)][_0x38daeb(0xc1)](_0x3754f7);}}}
23
+ function _0x1b09(){const _0x1b2ee4=['reorganizeChips','ck-ai-chat-context-controls__show-more-balloon-panel','_overflowManager','4469170TkRfhp','_contextChips','27NKXCwK','6kpWFJD','querySelector','locale','29759hpGleB','ck-ai-chat-controls_context_show-more-button','ck-reset_all','element','ck-ai-chat-context-chips-wrapper','_bodyCollection','740248YYNOJZ','78040tukamN','ck-ai-chat-controls-button','destroy','30742500ZJTnLg','setTemplate','ck-ai-chat__feed__context-chips','11mndBDP','setContainerElement','1774539dEgUSH','ck-ai-chat-context-chips-wrapper-balloon','_createContextChips','render','div','34nVsonq','763470wUWswq','createCollection','21OyQSgC','add'];_0x1b09=function(){return _0x1b2ee4;};return _0x1b09();}const _0x1c6b9a=_0x9432;(function(_0x167e18,_0x1b5cda){const _0x10e382=_0x9432,_0x7477e1=_0x167e18();while(!![]){try{const _0x86ed79=-parseInt(_0x10e382(0x1c2))/0x1*(parseInt(_0x10e382(0x1b4))/0x2)+-parseInt(_0x10e382(0x1be))/0x3*(parseInt(_0x10e382(0x1c9))/0x4)+parseInt(_0x10e382(0x1bc))/0x5*(-parseInt(_0x10e382(0x1bf))/0x6)+parseInt(_0x10e382(0x1b7))/0x7*(-parseInt(_0x10e382(0x1c8))/0x8)+-parseInt(_0x10e382(0x1af))/0x9+parseInt(_0x10e382(0x1b5))/0xa+-parseInt(_0x10e382(0x1ad))/0xb*(-parseInt(_0x10e382(0x1aa))/0xc);if(_0x86ed79===_0x1b5cda)break;else _0x7477e1['push'](_0x7477e1['shift']());}catch(_0x3f799c){_0x7477e1['push'](_0x7477e1['shift']());}}}(_0x1b09,0x8f963));import{View as _0x5c2f09}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x1d4d46}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x418b42}from'../controls/aichatchipsoverflowmanager.js';const $o=_0x1c6b9a(0x1ac),Ko=_0x1c6b9a(0x1c6),Qo=_0x1c6b9a(0x1b0),Uo=_0x1c6b9a(0x1ca),No=_0x1c6b9a(0x1c3),Oo=_0x1c6b9a(0x1ba);function _0x9432(_0x5252d9,_0x3e2259){const _0x1b09bf=_0x1b09();return _0x9432=function(_0x94325,_0x5a080d){_0x94325=_0x94325-0x1a9;let _0x3460b9=_0x1b09bf[_0x94325];return _0x3460b9;},_0x9432(_0x5252d9,_0x3e2259);}export class AIChatFeedContextChipsView extends _0x5c2f09{[_0x1c6b9a(0x1bd)]=this[_0x1c6b9a(0x1b6)]();[_0x1c6b9a(0x1bb)];[_0x1c6b9a(0x1c7)];constructor(_0x4c5efb,_0x1b0e12,_0x566af6){const _0x5d56a9=_0x1c6b9a;super(_0x4c5efb),this[_0x5d56a9(0x1c7)]=_0x566af6,this[_0x5d56a9(0x1b1)](_0x1b0e12);const _0x1e08de={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Qo,'controlsButton':Uo}};this[_0x5d56a9(0x1bb)]=new _0x418b42(_0x4c5efb,this[_0x5d56a9(0x1bd)],_0x1e08de,this[_0x5d56a9(0x1c7)],this),this[_0x5d56a9(0x1ab)]({'tag':_0x5d56a9(0x1b3),'attributes':{'class':[$o,'ck',_0x5d56a9(0x1c4)]},'children':[{'tag':_0x5d56a9(0x1b3),'attributes':{'class':Ko},'children':this[_0x5d56a9(0x1bd)]}]});}[_0x1c6b9a(0x1b2)](){const _0x131e1b=_0x1c6b9a;super[_0x131e1b(0x1b2)]();const _0x59b352=this[_0x131e1b(0x1c5)][_0x131e1b(0x1c0)]('.'+Ko);_0x59b352&&(this[_0x131e1b(0x1bb)][_0x131e1b(0x1ae)](_0x59b352),this[_0x131e1b(0x1bb)][_0x131e1b(0x1b9)]());}[_0x1c6b9a(0x1a9)](){const _0xb39c6f=_0x1c6b9a;super[_0xb39c6f(0x1a9)](),this[_0xb39c6f(0x1bb)][_0xb39c6f(0x1a9)]();}[_0x1c6b9a(0x1b1)](_0x7a3cca){const _0x6598e9=_0x1c6b9a;for(const _0x155ec1 of _0x7a3cca){const _0x281e2c=new _0x1d4d46(this[_0x6598e9(0x1c1)],_0x155ec1,!0x0,!0x1);this[_0x6598e9(0x1bd)][_0x6598e9(0x1b8)](_0x281e2c);}}}
@@ -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 _0x1fb851=_0x38af;function _0x38af(_0x385de9,_0xaa604){const _0x36b115=_0x36b1();return _0x38af=function(_0x38afea,_0x3f686a){_0x38afea=_0x38afea-0x6c;let _0x1f8e3f=_0x36b115[_0x38afea];return _0x1f8e3f;},_0x38af(_0x385de9,_0xaa604);}(function(_0x5e2f84,_0x66b060){const _0x3628c6=_0x38af,_0x264f57=_0x5e2f84();while(!![]){try{const _0x59a7eb=-parseInt(_0x3628c6(0x7f))/0x1+parseInt(_0x3628c6(0x7e))/0x2*(-parseInt(_0x3628c6(0x77))/0x3)+parseInt(_0x3628c6(0x85))/0x4*(-parseInt(_0x3628c6(0x81))/0x5)+-parseInt(_0x3628c6(0x82))/0x6*(parseInt(_0x3628c6(0x78))/0x7)+parseInt(_0x3628c6(0x87))/0x8*(-parseInt(_0x3628c6(0x79))/0x9)+parseInt(_0x3628c6(0x6f))/0xa*(parseInt(_0x3628c6(0x84))/0xb)+parseInt(_0x3628c6(0x71))/0xc;if(_0x59a7eb===_0x66b060)break;else _0x264f57['push'](_0x264f57['shift']());}catch(_0x620bfc){_0x264f57['push'](_0x264f57['shift']());}}}(_0x36b1,0x1e4b6));import{IconBulb as _0x1e988f,IconWeb as _0x109c59}from'@ckeditor/ckeditor5-icons';import{IconView as _0x23579a,View as _0x5bc2a6}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0xa2fd79}from'./aichatfeeditemview.js';import{getTranslation as _0x4f5398}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0xa2fd79{[_0x1fb851(0x83)];constructor(_0x252417,_0x288e35){const _0x300f7f=_0x1fb851;super(_0x288e35);const {isWebSearchEnabled:_0x30b47b,isReasoningEnabled:_0x5242b5}=_0x288e35[_0x300f7f(0x83)],_0x19354b=[];let _0x4b275b='';_0x30b47b&&_0x5242b5?(_0x4b275b=_0x4f5398(_0x252417,_0x300f7f(0x74)),_0x19354b[_0x300f7f(0x72)](aa(_0x109c59)),_0x19354b[_0x300f7f(0x72)](aa(_0x1e988f))):_0x30b47b?(_0x4b275b=_0x4f5398(_0x252417,_0x300f7f(0x6c)),_0x19354b[_0x300f7f(0x72)](aa(_0x109c59))):_0x5242b5&&(_0x4b275b=_0x4f5398(_0x252417,_0x300f7f(0x7a)),_0x19354b[_0x300f7f(0x72)](aa(_0x1e988f))),this[_0x300f7f(0x70)]({'attributes':{'class':[_0x300f7f(0x7c),_0x4b275b?'':_0x300f7f(0x76)]}});const _0x2a1b69=new _0x5bc2a6();_0x2a1b69[_0x300f7f(0x80)]({'tag':_0x300f7f(0x6d),'attributes':{'class':['ck',_0x300f7f(0x86)]},'children':[..._0x19354b,{'tag':_0x300f7f(0x7b),'attributes':{'class':[_0x300f7f(0x73)]},'children':[_0x4b275b]}]}),this[_0x300f7f(0x7d)][_0x300f7f(0x75)](_0x2a1b69),this[_0x300f7f(0x83)]=_0x288e35[_0x300f7f(0x83)];}}function _0x36b1(){const _0x8e2f7c=['content','1033130jLWsOe','extendTemplate','8901252pgwYox','push','ck-ai-chat__feed__interaction-header__capabilities__text','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','add','ck-hidden','15qikjaW','7KtsHmc','36DGNnOZ','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','span','ck-ai-chat__feed__interaction-header','children','27044cFzsvy','145594DfWSOL','setTemplate','325fHmhsp','1225782qFddod','capabilities','11togZoM','14420mmyTHB','ck-ai-chat__feed__interaction-header__capabilities','138344Mkszze','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','div'];_0x36b1=function(){return _0x8e2f7c;};return _0x36b1();}function aa(_0x1343d5){const _0x50d77b=_0x1fb851,_0x1a23a=new _0x23579a();return _0x1a23a[_0x50d77b(0x6e)]=_0x1343d5,_0x1a23a;}
23
+ const _0x464e87=_0xea22;(function(_0x15b731,_0x54cfa3){const _0x555cf2=_0xea22,_0x595a11=_0x15b731();while(!![]){try{const _0x33e1a1=parseInt(_0x555cf2(0x11f))/0x1*(-parseInt(_0x555cf2(0x116))/0x2)+-parseInt(_0x555cf2(0x11b))/0x3*(parseInt(_0x555cf2(0x125))/0x4)+-parseInt(_0x555cf2(0x118))/0x5*(-parseInt(_0x555cf2(0x126))/0x6)+parseInt(_0x555cf2(0x11e))/0x7+-parseInt(_0x555cf2(0x11c))/0x8*(parseInt(_0x555cf2(0x131))/0x9)+-parseInt(_0x555cf2(0x121))/0xa+parseInt(_0x555cf2(0x11a))/0xb*(parseInt(_0x555cf2(0x11d))/0xc);if(_0x33e1a1===_0x54cfa3)break;else _0x595a11['push'](_0x595a11['shift']());}catch(_0x524c5f){_0x595a11['push'](_0x595a11['shift']());}}}(_0x1493,0xe1b12));import{IconBulb as _0x151c1d,IconWeb as _0x230007}from'@ckeditor/ckeditor5-icons';import{IconView as _0x1c5d9f,View as _0x5d7205}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x3dcf5a}from'./aichatfeeditemview.js';import{getTranslation as _0x53352d}from'../../../aicore/utils/common-translations.js';function _0x1493(){const _0x3847c1=['children','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','add','content','push','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-hidden','ck-ai-chat__feed__interaction-header__capabilities__text','div','9AGbdrU','2OhGFIG','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','5125VcwZCl','extendTemplate','11XfsLQN','2582622bVGQiO','4090520yVhQCC','16281732gaIXwL','6011838XvduqB','1280893NwXHXS','capabilities','3611540acJCRO','setTemplate','span','ck-ai-chat__feed__interaction-header__capabilities','4FhmUkh','10086JuDkns'];_0x1493=function(){return _0x3847c1;};return _0x1493();}export class AIChatFeedInteractionHeaderView extends _0x3dcf5a{[_0x464e87(0x120)];constructor(_0x2d596f,_0x493278){const _0x211501=_0x464e87;super(_0x493278);const {isWebSearchEnabled:_0x19ab7a,isReasoningEnabled:_0x11affd}=_0x493278[_0x211501(0x120)],_0x4d3bfc=[];let _0x1e7bc7='';_0x19ab7a&&_0x11affd?(_0x1e7bc7=_0x53352d(_0x2d596f,_0x211501(0x12d)),_0x4d3bfc[_0x211501(0x12c)](aa(_0x230007)),_0x4d3bfc[_0x211501(0x12c)](aa(_0x151c1d))):_0x19ab7a?(_0x1e7bc7=_0x53352d(_0x2d596f,_0x211501(0x129)),_0x4d3bfc[_0x211501(0x12c)](aa(_0x230007))):_0x11affd&&(_0x1e7bc7=_0x53352d(_0x2d596f,_0x211501(0x117)),_0x4d3bfc[_0x211501(0x12c)](aa(_0x151c1d))),this[_0x211501(0x119)]({'attributes':{'class':[_0x211501(0x128),_0x1e7bc7?'':_0x211501(0x12e)]}});const _0xdb8608=new _0x5d7205();_0xdb8608[_0x211501(0x122)]({'tag':_0x211501(0x130),'attributes':{'class':['ck',_0x211501(0x124)]},'children':[..._0x4d3bfc,{'tag':_0x211501(0x123),'attributes':{'class':[_0x211501(0x12f)]},'children':[_0x1e7bc7]}]}),this[_0x211501(0x127)][_0x211501(0x12a)](_0xdb8608),this[_0x211501(0x120)]=_0x493278[_0x211501(0x120)];}}function _0xea22(_0x47b771,_0x19a348){const _0x149319=_0x1493();return _0xea22=function(_0xea225,_0x11aeb3){_0xea225=_0xea225-0x116;let _0x4c7d2d=_0x149319[_0xea225];return _0x4c7d2d;},_0xea22(_0x47b771,_0x19a348);}function aa(_0x574b48){const _0x38ab4d=_0x464e87,_0x359929=new _0x1c5d9f();return _0x359929[_0x38ab4d(0x12b)]=_0x574b48,_0x359929;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19763d=_0x2e56;(function(_0x417597,_0xd76bfa){const _0x3fc3a0=_0x2e56,_0x2c8773=_0x417597();while(!![]){try{const _0x5944d5=-parseInt(_0x3fc3a0(0xe7))/0x1+-parseInt(_0x3fc3a0(0xe6))/0x2*(-parseInt(_0x3fc3a0(0xe5))/0x3)+-parseInt(_0x3fc3a0(0xe2))/0x4*(parseInt(_0x3fc3a0(0xeb))/0x5)+-parseInt(_0x3fc3a0(0xdf))/0x6*(parseInt(_0x3fc3a0(0xe0))/0x7)+parseInt(_0x3fc3a0(0xe9))/0x8+parseInt(_0x3fc3a0(0xdc))/0x9*(-parseInt(_0x3fc3a0(0xde))/0xa)+parseInt(_0x3fc3a0(0xf6))/0xb*(parseInt(_0x3fc3a0(0xe1))/0xc);if(_0x5944d5===_0xd76bfa)break;else _0x2c8773['push'](_0x2c8773['shift']());}catch(_0x58a6c9){_0x2c8773['push'](_0x2c8773['shift']());}}}(_0x9745,0xcc9b8));import{View as _0x31c669}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x3a5a95}from'../../../aicore/utils/htmlstreamer.js';function _0x9745(){const _0x18cc04=['isDone','setTemplate','stream','ck-hidden','data-id','children','ck-ai-chat__feed__item_done','createCollection','content','ck-ai-chat__feed__text-item','set','18PhuUug','options','336620scJIQl','10176PFFryo','4417PaTPTn','588mtQTgg','4492CCWLaC','bindTemplate','ck-ai-chat__feed__item','336PaeBsC','23758Iyvwme','486409RkPlzJ','element','7355008tumsuP','[data-id]','2740UIKEcH','div','forEach','removeAttribute','animation:\x20ck-html-streamer-fade-in\x20.5s','isVisible','streamIntoElement','cleanUpAnimations','htmlStreamer','markAsDone','querySelectorAll','185779kiDVXv'];_0x9745=function(){return _0x18cc04;};return _0x9745();}function _0x2e56(_0x31f72f,_0x3f6ed4){const _0x97454e=_0x9745();return _0x2e56=function(_0x2e5670,_0x375596){_0x2e5670=_0x2e5670-0xdc;let _0x480cb2=_0x97454e[_0x2e5670];return _0x480cb2;},_0x2e56(_0x31f72f,_0x3f6ed4);}export class AIChatFeedItemView extends _0x31c669{[_0x19763d(0xdd)];[_0x19763d(0xff)]='';[_0x19763d(0xf3)];[_0x19763d(0xfc)];constructor(_0x325f8c){const _0x5c14c6=_0x19763d;super();const _0x2f5dc9=this[_0x5c14c6(0xe3)];this[_0x5c14c6(0x101)](_0x5c14c6(0xf7),!0x1),this[_0x5c14c6(0x101)](_0x5c14c6(0xf0),!0x0),this[_0x5c14c6(0xf3)]=new _0x3a5a95({'textNodeStyle':_0x5c14c6(0xef),'delay':0x14}),this[_0x5c14c6(0xdd)]=_0x325f8c,this[_0x5c14c6(0xfc)]=this[_0x5c14c6(0xfe)](),this[_0x5c14c6(0xf8)]({'tag':_0x5c14c6(0xec),'attributes':{'class':['ck',_0x5c14c6(0xe4),_0x2f5dc9['if'](_0x5c14c6(0xf7),_0x5c14c6(0xfd)),_0x2f5dc9['if'](_0x5c14c6(0xf0),_0x5c14c6(0xfa),_0x1867a5=>!_0x1867a5),_0x5c14c6(0x100)],'data-cke-ai-id':this[_0x5c14c6(0xdd)]['id']},'children':this[_0x5c14c6(0xfc)]});}[_0x19763d(0xf4)](){const _0x1ee94c=_0x19763d;this[_0x1ee94c(0xf3)][_0x1ee94c(0xf2)]({'targetElement':this[_0x1ee94c(0xe8)]}),this[_0x1ee94c(0xe8)][_0x1ee94c(0xf5)](_0x1ee94c(0xea))[_0x1ee94c(0xed)](_0x15083f=>{const _0x42eeb5=_0x1ee94c;_0x15083f[_0x42eeb5(0xee)](_0x42eeb5(0xfb));}),this[_0x1ee94c(0xf7)]=!0x0;}async[_0x19763d(0xf1)](_0x52215d,_0xd3d472,_0x4c379f){const _0x2e245e=_0x19763d;await this[_0x2e245e(0xf3)][_0x2e245e(0xf9)]({'document':_0x52215d,'targetElement':_0xd3d472,'abortSignal':_0x4c379f});}}
23
+ function _0x2efd(_0x374c35,_0x58cedb){const _0x31e1f1=_0x31e1();return _0x2efd=function(_0x2efd6,_0x4e36c9){_0x2efd6=_0x2efd6-0x8b;let _0x169b93=_0x31e1f1[_0x2efd6];return _0x169b93;},_0x2efd(_0x374c35,_0x58cedb);}const _0x1e4add=_0x2efd;function _0x31e1(){const _0x3d7e35=['content','210TxYzuO','isVisible','2117424kNMZau','removeAttribute','set','7HXevFh','36792536NMDpVv','cleanUpAnimations','querySelectorAll','228258oaGtQW','9760RAzfFK','3whGuCH','streamIntoElement','forEach','htmlStreamer','5317960jnvJYv','1304756ibPocK','bindTemplate','ck-ai-chat__feed__item_done','ck-ai-chat__feed__item','isDone','980uFZVUM','createCollection','ck-hidden','307462EcuKHI','12yExtgZ','data-id','[data-id]','options','markAsDone','stream','element','setTemplate','ck-ai-chat__feed__text-item','children','div','animation:\x20ck-html-streamer-fade-in\x20.5s'];_0x31e1=function(){return _0x3d7e35;};return _0x31e1();}(function(_0x3e151d,_0x370033){const _0x15898f=_0x2efd,_0x2def9b=_0x3e151d();while(!![]){try{const _0x168d60=-parseInt(_0x15898f(0xac))/0x1+parseInt(_0x15898f(0xa4))/0x2*(-parseInt(_0x15898f(0x9f))/0x3)+-parseInt(_0x15898f(0xa9))/0x4*(parseInt(_0x15898f(0x9e))/0x5)+-parseInt(_0x15898f(0x96))/0x6+parseInt(_0x15898f(0x99))/0x7*(-parseInt(_0x15898f(0xa3))/0x8)+parseInt(_0x15898f(0x9d))/0x9*(-parseInt(_0x15898f(0x94))/0xa)+parseInt(_0x15898f(0x9a))/0xb*(parseInt(_0x15898f(0xad))/0xc);if(_0x168d60===_0x370033)break;else _0x2def9b['push'](_0x2def9b['shift']());}catch(_0x2e3b93){_0x2def9b['push'](_0x2def9b['shift']());}}}(_0x31e1,0x5705d));import{View as _0x4e207a}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x4a840c}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x4e207a{[_0x1e4add(0xb0)];[_0x1e4add(0x93)]='';[_0x1e4add(0xa2)];[_0x1e4add(0x90)];constructor(_0x179f48){const _0x55ae01=_0x1e4add;super();const _0x464c67=this[_0x55ae01(0xa5)];this[_0x55ae01(0x98)](_0x55ae01(0xa8),!0x1),this[_0x55ae01(0x98)](_0x55ae01(0x95),!0x0),this[_0x55ae01(0xa2)]=new _0x4a840c({'textNodeStyle':_0x55ae01(0x92),'delay':0x14}),this[_0x55ae01(0xb0)]=_0x179f48,this[_0x55ae01(0x90)]=this[_0x55ae01(0xaa)](),this[_0x55ae01(0x8e)]({'tag':_0x55ae01(0x91),'attributes':{'class':['ck',_0x55ae01(0xa7),_0x464c67['if'](_0x55ae01(0xa8),_0x55ae01(0xa6)),_0x464c67['if'](_0x55ae01(0x95),_0x55ae01(0xab),_0x232706=>!_0x232706),_0x55ae01(0x8f)],'data-cke-ai-id':this[_0x55ae01(0xb0)]['id']},'children':this[_0x55ae01(0x90)]});}[_0x1e4add(0x8b)](){const _0xb07ad4=_0x1e4add;this[_0xb07ad4(0xa2)][_0xb07ad4(0x9b)]({'targetElement':this[_0xb07ad4(0x8d)]}),this[_0xb07ad4(0x8d)][_0xb07ad4(0x9c)](_0xb07ad4(0xaf))[_0xb07ad4(0xa1)](_0x36bd6c=>{const _0x46e5a8=_0xb07ad4;_0x36bd6c[_0x46e5a8(0x97)](_0x46e5a8(0xae));}),this[_0xb07ad4(0xa8)]=!0x0;}async[_0x1e4add(0xa0)](_0x336f5a,_0x1f3fc1,_0x462d64){const _0x4a2476=_0x1e4add;await this[_0x4a2476(0xa2)][_0x4a2476(0x8c)]({'document':_0x336f5a,'targetElement':_0x1f3fc1,'abortSignal':_0x462d64});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x412eb7=_0x31da;(function(_0x4e38dd,_0x3ef4d7){const _0x40d754=_0x31da,_0x61df7c=_0x4e38dd();while(!![]){try{const _0x5d161b=-parseInt(_0x40d754(0x18e))/0x1+parseInt(_0x40d754(0x19b))/0x2+parseInt(_0x40d754(0x18d))/0x3+-parseInt(_0x40d754(0x1a7))/0x4*(parseInt(_0x40d754(0x19f))/0x5)+parseInt(_0x40d754(0x1a5))/0x6*(parseInt(_0x40d754(0x195))/0x7)+parseInt(_0x40d754(0x1a0))/0x8+parseInt(_0x40d754(0x1a3))/0x9*(-parseInt(_0x40d754(0x19a))/0xa);if(_0x5d161b===_0x3ef4d7)break;else _0x61df7c['push'](_0x61df7c['shift']());}catch(_0x9feb2e){_0x61df7c['push'](_0x61df7c['shift']());}}}(_0x4246,0x54ae6));import{AIChatFeedItemView as _0x2367ed}from'./aichatfeeditemview.js';import{parse as _0x58fb7c,render as _0x2e4803}from'../../../aicore/utils/htmlparser.js';function _0x31da(_0x184d2c,_0x4d7358){const _0x424617=_0x4246();return _0x31da=function(_0x31da54,_0x164366){_0x31da54=_0x31da54-0x18b;let _0x5650af=_0x424617[_0x31da54];return _0x5650af;},_0x31da(_0x184d2c,_0x4d7358);}function _0x4246(){const _0x505343=['options','updateSources','_bodyCollection','extendTemplate','render','div','26243Ohntdu','ck-ai-chat__feed__ai-reply','addMany','innerHTML','ck-ai-chat__feed__ai-reply-container','6590ZSObHV','576880KiCqeS','isVisible','balloonPanelView','children','5bzHNsx','1459496rqMwIM','static','map','8397nJPIVq','streaming','1086eimShV','add','1254724CqbaIb','element','updateContent','setTemplate','streamIntoElement','markAsDone','ck-reset_all-excluded','replyContainer','initialContent','locale','1819788ggwIxg','480660ubZWYa'];_0x4246=function(){return _0x505343;};return _0x4246();}import{View as _0x1b44fc}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x1b2699,AIWebSourceView as _0x4aafe2}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x2367ed{[_0x412eb7(0x1ae)];[_0x412eb7(0x191)];constructor(_0x46a140,_0x2b227b,_0x59d1a8){const _0x1935f0=_0x412eb7;super(_0x2b227b),this[_0x1935f0(0x191)]=_0x59d1a8,this[_0x1935f0(0x18c)]=_0x46a140,this[_0x1935f0(0x192)]({'attributes':{'class':[_0x1935f0(0x196)]}}),this[_0x1935f0(0x1ae)]=new _0x1b44fc(),this[_0x1935f0(0x1ae)][_0x1935f0(0x1aa)]({'tag':_0x1935f0(0x194),'attributes':{'class':['ck',_0x1935f0(0x1ad),_0x1935f0(0x199)]}}),this[_0x1935f0(0x19e)][_0x1935f0(0x1a6)](this[_0x1935f0(0x1ae)]);}async[_0x412eb7(0x193)](){const _0x40d17d=_0x412eb7;super[_0x40d17d(0x193)](),this[_0x40d17d(0x18f)][_0x40d17d(0x18b)]&&(await this[_0x40d17d(0x1a9)]({'parsedContent':_0x58fb7c(this[_0x40d17d(0x18f)][_0x40d17d(0x18b)]),'renderingStrategy':_0x40d17d(0x1a1)}),this[_0x40d17d(0x1ac)]());}async[_0x412eb7(0x1a9)]({parsedContent:_0x405bba,renderingStrategy:_0x2d4b32,abortSignal:_0x139699}){const _0x19587e=_0x412eb7;_0x19587e(0x1a4)===_0x2d4b32?await this[_0x19587e(0x1ab)](_0x405bba,this[_0x19587e(0x1ae)][_0x19587e(0x1a8)],_0x139699):this[_0x19587e(0x1ae)][_0x19587e(0x1a8)][_0x19587e(0x198)]=_0x2e4803(_0x405bba);}[_0x412eb7(0x190)](_0x3e6d86){const _0x3d6f11=_0x412eb7,_0xf7ff68=new _0x1b2699(this[_0x3d6f11(0x18c)],this[_0x3d6f11(0x191)]);_0xf7ff68[_0x3d6f11(0x19e)][_0x3d6f11(0x197)](_0x3e6d86[_0x3d6f11(0x1a2)](_0x9c6bce=>new _0x4aafe2(this[_0x3d6f11(0x18c)],_0x9c6bce,_0xf7ff68[_0x3d6f11(0x19d)]))),_0xf7ff68[_0x3d6f11(0x19c)]=!0x0,this[_0x3d6f11(0x19e)][_0x3d6f11(0x1a6)](_0xf7ff68);}}
23
+ const _0x1c61dc=_0x1dc7;(function(_0x324c7a,_0x3474f2){const _0x25a62e=_0x1dc7,_0x2fc200=_0x324c7a();while(!![]){try{const _0x15aec8=-parseInt(_0x25a62e(0x185))/0x1+-parseInt(_0x25a62e(0x174))/0x2*(-parseInt(_0x25a62e(0x17d))/0x3)+parseInt(_0x25a62e(0x183))/0x4*(-parseInt(_0x25a62e(0x177))/0x5)+parseInt(_0x25a62e(0x176))/0x6+parseInt(_0x25a62e(0x168))/0x7*(parseInt(_0x25a62e(0x178))/0x8)+-parseInt(_0x25a62e(0x164))/0x9*(parseInt(_0x25a62e(0x17e))/0xa)+parseInt(_0x25a62e(0x16e))/0xb*(parseInt(_0x25a62e(0x163))/0xc);if(_0x15aec8===_0x3474f2)break;else _0x2fc200['push'](_0x2fc200['shift']());}catch(_0x3cdbea){_0x2fc200['push'](_0x2fc200['shift']());}}}(_0x1ab8,0x30ff8));import{AIChatFeedItemView as _0x253e62}from'./aichatfeeditemview.js';function _0x1dc7(_0x56fbe8,_0x31bee8){const _0x1ab883=_0x1ab8();return _0x1dc7=function(_0x1dc72e,_0x1f89a3){_0x1dc72e=_0x1dc72e-0x162;let _0x12486f=_0x1ab883[_0x1dc72e];return _0x12486f;},_0x1dc7(_0x56fbe8,_0x31bee8);}function _0x1ab8(){const _0x28d2b3=['294960HevVCE','27QNTFco','render','setTemplate','isVisible','154uneWFj','div','addMany','element','static','markAsDone','176dSTFwx','options','ck-ai-chat__feed__ai-reply','add','ck-ai-chat__feed__ai-reply-container','extendTemplate','1328XAdOIH','replyContainer','1564620LlNScQ','2250oflefY','91784roncxW','updateContent','children','balloonPanelView','initialContent','366eaJeAM','1203430hrpQdi','updateSources','innerHTML','_bodyCollection','map','2352OlRPuQ','ck-reset_all-excluded','161139lNcFSK','streamIntoElement','streaming','locale'];_0x1ab8=function(){return _0x28d2b3;};return _0x1ab8();}import{parse as _0x105411,render as _0x49e21d}from'../../../aicore/utils/htmlparser.js';import{View as _0x5cc597}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x4916ef,AIWebSourceView as _0x3fe325}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x253e62{[_0x1c61dc(0x175)];[_0x1c61dc(0x181)];constructor(_0x154c42,_0x571855,_0x2aff84){const _0x723ca7=_0x1c61dc;super(_0x571855),this[_0x723ca7(0x181)]=_0x2aff84,this[_0x723ca7(0x162)]=_0x154c42,this[_0x723ca7(0x173)]({'attributes':{'class':[_0x723ca7(0x170)]}}),this[_0x723ca7(0x175)]=new _0x5cc597(),this[_0x723ca7(0x175)][_0x723ca7(0x166)]({'tag':_0x723ca7(0x169),'attributes':{'class':['ck',_0x723ca7(0x184),_0x723ca7(0x172)]}}),this[_0x723ca7(0x17a)][_0x723ca7(0x171)](this[_0x723ca7(0x175)]);}async[_0x1c61dc(0x165)](){const _0x14785c=_0x1c61dc;super[_0x14785c(0x165)](),this[_0x14785c(0x16f)][_0x14785c(0x17c)]&&(await this[_0x14785c(0x179)]({'parsedContent':_0x105411(this[_0x14785c(0x16f)][_0x14785c(0x17c)]),'renderingStrategy':_0x14785c(0x16c)}),this[_0x14785c(0x16d)]());}async[_0x1c61dc(0x179)]({parsedContent:_0x32f4be,renderingStrategy:_0x4c51fb,abortSignal:_0x4edac4}){const _0x531027=_0x1c61dc;_0x531027(0x187)===_0x4c51fb?await this[_0x531027(0x186)](_0x32f4be,this[_0x531027(0x175)][_0x531027(0x16b)],_0x4edac4):this[_0x531027(0x175)][_0x531027(0x16b)][_0x531027(0x180)]=_0x49e21d(_0x32f4be);}[_0x1c61dc(0x17f)](_0x1ce613){const _0x47bd6e=_0x1c61dc,_0x5927c7=new _0x4916ef(this[_0x47bd6e(0x162)],this[_0x47bd6e(0x181)]);_0x5927c7[_0x47bd6e(0x17a)][_0x47bd6e(0x16a)](_0x1ce613[_0x47bd6e(0x182)](_0x56d5b0=>new _0x3fe325(this[_0x47bd6e(0x162)],_0x56d5b0,_0x5927c7[_0x47bd6e(0x17b)]))),_0x5927c7[_0x47bd6e(0x167)]=!0x0,this[_0x47bd6e(0x17a)][_0x47bd6e(0x171)](_0x5927c7);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c533c=_0x472f;(function(_0x1b0698,_0x2232de){const _0x3cf1e7=_0x472f,_0x540661=_0x1b0698();while(!![]){try{const _0xdc30a=-parseInt(_0x3cf1e7(0xee))/0x1+parseInt(_0x3cf1e7(0xeb))/0x2+parseInt(_0x3cf1e7(0xfd))/0x3*(parseInt(_0x3cf1e7(0xd2))/0x4)+parseInt(_0x3cf1e7(0xd4))/0x5+-parseInt(_0x3cf1e7(0xe9))/0x6*(parseInt(_0x3cf1e7(0xff))/0x7)+parseInt(_0x3cf1e7(0xb6))/0x8*(parseInt(_0x3cf1e7(0xac))/0x9)+-parseInt(_0x3cf1e7(0xb2))/0xa;if(_0xdc30a===_0x2232de)break;else _0x540661['push'](_0x540661['shift']());}catch(_0x21949a){_0x540661['push'](_0x540661['shift']());}}}(_0x2c9f,0x77cff));import{KeystrokeHandler as _0x417d87}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x50855f,BodyCollection as _0x4e3d26,ButtonView as _0x41d38b,clickOutsideHandler as _0x189f14,ListItemButtonView as _0x2ec330,ListItemView as _0x5c1c4d,ListView as _0x378e81,SplitButtonView as _0x34e1e5,UIModel as _0x314083,View as _0x270230}from'ckeditor5/src/ui.js';import{IconCheck as _0x679e,IconAddComment as _0x380222,IconDocumentWithLoupe as _0x4fed18}from'ckeditor5/src/icons.js';import{getTranslation as _0x3df7d3}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x1c533c(0xb3),_0x1c533c(0xb0),_0x1c533c(0x101)];export class AIChatFeedSuggestionItemActionsView extends _0x270230{[_0x1c533c(0xbe)];[_0x1c533c(0xf7)];[_0x1c533c(0xdc)];[_0x1c533c(0xd5)];[_0x1c533c(0xfc)];[_0x1c533c(0xc8)]=0x1;[_0x1c533c(0xd3)];[_0x1c533c(0xc0)];[_0x1c533c(0xaf)]=!0x0;constructor(_0x5334e1,_0x5ea99a){const _0xa56477=_0x1c533c;super(_0x5334e1),this[_0xa56477(0xd3)]=_0x5ea99a||[...AI_REPLY_ACTIONS],this[_0xa56477(0xc0)]=[...this[_0xa56477(0xd3)]];const _0x4e42b0=this[_0xa56477(0xfa)];this[_0xa56477(0xdf)](_0xa56477(0xb8),!0x0),this[_0xa56477(0xdf)](_0xa56477(0xdd),!0x0),this[_0xa56477(0xdf)](_0xa56477(0xa8),!0x1),this[_0xa56477(0xdc)]=new _0x314083({'label':Pn(_0xa56477(0xb3),_0x5334e1,this[_0xa56477(0xc8)]),'icon':_0x679e,'withText':!0x0,'type':_0xa56477(0xe3),'actionName':_0xa56477(0xb3)}),this[_0xa56477(0xd5)]=new _0x314083({'label':Pn(_0xa56477(0x101),_0x5334e1,this[_0xa56477(0xc8)]),'icon':_0x4fed18,'withText':!0x0,'type':_0xa56477(0xe3),'actionName':_0xa56477(0x101)}),this[_0xa56477(0xfc)]=new _0x314083({'label':Pn(_0xa56477(0xb0),_0x5334e1,this[_0xa56477(0xc8)]),'icon':_0x380222,'withText':!0x0,'type':_0xa56477(0xe3),'actionName':_0xa56477(0xb0)}),this[_0xa56477(0xbe)]=this[_0xa56477(0xea)](_0x5334e1),this[_0xa56477(0xf7)]=this[_0xa56477(0xd1)](),this[_0xa56477(0xbe)]&&this[_0xa56477(0xf7)][_0xa56477(0xcc)](this[_0xa56477(0xbe)]),this[_0xa56477(0xbb)]({'tag':_0xa56477(0xa3),'attributes':{'class':['ck',_0xa56477(0xcb),_0x4e42b0['if'](_0xa56477(0xdd),_0xa56477(0xa2),_0x1b84c3=>!_0x1b84c3)]},'children':this[_0xa56477(0xf7)]}),this['on'](_0xa56477(0xb1),()=>{const _0x103207=_0xa56477;this[_0x103207(0xc0)]=this[_0x103207(0xa8)]?this[_0x103207(0xd3)][_0x103207(0xdb)](_0x512ba3=>_0x103207(0xb3)!==_0x512ba3):[...this[_0x103207(0xd3)]],this[_0x103207(0xec)](_0x5334e1);});}[_0x1c533c(0xec)](_0xbfdc48){const _0x4e1602=_0x1c533c;this[_0x4e1602(0xbe)]&&this[_0x4e1602(0xf7)][_0x4e1602(0xa4)](this[_0x4e1602(0xbe)])&&(this[_0x4e1602(0xf7)][_0x4e1602(0xa7)](this[_0x4e1602(0xbe)]),this[_0x4e1602(0xbe)][_0x4e1602(0xf2)]()),this[_0x4e1602(0xbe)]=this[_0x4e1602(0xea)](_0xbfdc48),this[_0x4e1602(0xbe)]&&this[_0x4e1602(0xf7)][_0x4e1602(0xcc)](this[_0x4e1602(0xbe)]);}[_0x1c533c(0xea)](_0x22a63e){const _0x5b00e5=_0x1c533c;if(0x0==this[_0x5b00e5(0xc0)][_0x5b00e5(0xc6)])return null;const _0xc231cb=0x1===this[_0x5b00e5(0xc0)][_0x5b00e5(0xc6)]?this[_0x5b00e5(0xd9)](_0x22a63e):this[_0x5b00e5(0xf6)](_0x22a63e),_0xd9cf0b=this[_0x5b00e5(0xaf)]?'':_0x5b00e5(0xb5);_0xc231cb[_0x5b00e5(0xdf)]({'label':Pn(this[_0x5b00e5(0xc0)][0x0],_0x22a63e,this[_0x5b00e5(0xc8)]),'tooltip':Hn(this[_0x5b00e5(0xc0)][0x0],_0x22a63e,this[_0x5b00e5(0xc8)]),'withText':!0x0,'class':_0x5b00e5(0xed)+_0xd9cf0b});for(const _0x43b29c of this[_0x5b00e5(0xc0)])_0xc231cb['on'](_0x43b29c,()=>{const _0x2976d3=_0x5b00e5;this[_0x2976d3(0xa5)](_0x43b29c);});return this[_0x5b00e5(0xaf)]=!0x1,_0xc231cb;}[_0x1c533c(0xd9)](_0x5878bf){const _0x3d5b21=_0x1c533c,_0x4116e9=new _0x41d38b(_0x5878bf);return _0x4116e9[_0x3d5b21(0xdf)]({'class':_0x3d5b21(0xb7),'withText':!0x0}),_0x4116e9['on'](_0x3d5b21(0xca),()=>{const _0x3c78ff=_0x3d5b21;_0x4116e9[_0x3c78ff(0xa5)](this[_0x3c78ff(0xc0)][0x0]);}),_0x4116e9;}[_0x1c533c(0xf6)](_0x31c5cb){const _0xa8d559=_0x1c533c,_0x51f591=new Nn(_0x31c5cb,{'listItemModels':this[_0xa8d559(0xc0)][_0xa8d559(0xad)](_0x161710=>{const _0x2f8b06=_0xa8d559;switch(_0x161710){case _0x2f8b06(0xb3):return this[_0x2f8b06(0xdc)];case _0x2f8b06(0x101):return this[_0x2f8b06(0xd5)];case _0x2f8b06(0xb0):return this[_0x2f8b06(0xfc)];}})});return _0x51f591[_0xa8d559(0xdf)]({'label':Pn(this[_0xa8d559(0xc0)][0x0],_0x31c5cb,this[_0xa8d559(0xc8)]),'tooltip':Hn(this[_0xa8d559(0xc0)][0x0],_0x31c5cb,this[_0xa8d559(0xc8)]),'withText':!0x0,'class':_0xa8d559(0xcb),'balloonPanelClass':_0xa8d559(0xd8)}),_0x51f591[_0xa8d559(0xe0)](_0xa8d559(0xb8))['to'](this),_0x51f591;}[_0x1c533c(0xe4)](_0x338857){const _0x262c37=_0x1c533c,_0x58ea7e=this[_0x262c37(0x100)];this[_0x262c37(0xc8)]=_0x338857||this[_0x262c37(0xc8)],this[_0x262c37(0xbe)][_0x262c37(0xdf)]({'label':Pn(this[_0x262c37(0xc0)][0x0],_0x58ea7e,this[_0x262c37(0xc8)]),'tooltip':Hn(this[_0x262c37(0xc0)][0x0],_0x58ea7e,this[_0x262c37(0xc8)])}),this[_0x262c37(0xdc)][_0x262c37(0xa6)]=Pn(_0x262c37(0xb3),_0x58ea7e,this[_0x262c37(0xc8)]),this[_0x262c37(0xd5)][_0x262c37(0xa6)]=Pn(_0x262c37(0x101),_0x58ea7e,this[_0x262c37(0xc8)]),this[_0x262c37(0xfc)][_0x262c37(0xa6)]=Pn(_0x262c37(0xb0),_0x58ea7e,this[_0x262c37(0xc8)]);}}function _0x472f(_0x44e891,_0x5b2cc7){const _0x2c9f96=_0x2c9f();return _0x472f=function(_0x472f79,_0x274c33){_0x472f79=_0x472f79-0xa2;let _0x89ec1b=_0x2c9f96[_0x472f79];return _0x89ec1b;},_0x472f(_0x44e891,_0x5b2cc7);}class Nn extends _0x34e1e5{[_0x1c533c(0xcf)];[_0x1c533c(0xda)];[_0x1c533c(0xf8)];[_0x1c533c(0xe7)];constructor(_0x3bac4d,_0x355d1f){const _0x4d3675=_0x1c533c;super(_0x3bac4d),this[_0x4d3675(0xda)]=new _0x50855f(this[_0x4d3675(0x100)]),this[_0x4d3675(0xcf)]=new _0x4e3d26(this[_0x4d3675(0x100)]),this[_0x4d3675(0xcf)][_0x4d3675(0xde)](),this[_0x4d3675(0xdf)](_0x4d3675(0xc9),''),this[_0x4d3675(0xda)][_0x4d3675(0xe0)](_0x4d3675(0xe2))['to'](this,_0x4d3675(0xc9)),this[_0x4d3675(0xf8)]=this[_0x4d3675(0xc1)](_0x355d1f[_0x4d3675(0xba)][_0x4d3675(0xaa)](0x1)),this[_0x4d3675(0xcf)][_0x4d3675(0xcc)](this[_0x4d3675(0xda)]),this[_0x4d3675(0xda)][_0x4d3675(0xc5)][_0x4d3675(0xcc)](this[_0x4d3675(0xf8)]),this[_0x4d3675(0xbd)][_0x4d3675(0xc3)](_0x4d3675(0xb9)),this[_0x4d3675(0xbd)][_0x4d3675(0xdf)](_0x4d3675(0xb9),_0x3df7d3(this[_0x4d3675(0x100)],_0x4d3675(0xf4))),this[_0x4d3675(0xab)](),this['on'](_0x4d3675(0xca),()=>{const _0x506e81=_0x4d3675,_0x5eff35=_0x355d1f[_0x506e81(0xba)][0x0][_0x506e81(0xa9)];this[_0x506e81(0xa5)](_0x5eff35),this[_0x506e81(0xda)][_0x506e81(0xfb)](),this[_0x506e81(0xbd)][_0x506e81(0xd7)]();}),this['on'](_0x4d3675(0xf3),()=>{const _0x38a280=_0x4d3675;this[_0x38a280(0xda)][_0x38a280(0xdd)]?(this[_0x38a280(0xda)][_0x38a280(0xfb)](),this[_0x38a280(0xbd)][_0x38a280(0xd7)]()):(this[_0x38a280(0xda)][_0x38a280(0xe6)]({'target':this[_0x38a280(0xf0)],'positions':[_0x38a280(0xc2)===this[_0x38a280(0x100)][_0x38a280(0xcd)]?Gn:yn]}),this[_0x38a280(0xf8)][_0x38a280(0xd7)]());}),_0x189f14({'emitter':this[_0x4d3675(0xda)],'callback':()=>{const _0x2daa4c=_0x4d3675;this[_0x2daa4c(0xda)][_0x2daa4c(0xfb)]();},'activator':()=>this[_0x4d3675(0xda)][_0x4d3675(0xdd)],'contextElements':()=>[this[_0x4d3675(0xf0)],this[_0x4d3675(0xda)][_0x4d3675(0xf0)]]});}[_0x1c533c(0xc1)](_0x5bd783){const _0x43eec3=_0x1c533c,_0x1c3d84=this[_0x43eec3(0x100)],_0x17c11b=new _0x378e81(_0x1c3d84);for(const _0x41d4a6 of _0x5bd783){const _0x1d4342=new _0x5c1c4d(_0x1c3d84),_0x1f43a4=new _0x2ec330(_0x1c3d84);_0x1f43a4[_0x43eec3(0xe0)](...Object[_0x43eec3(0xf9)](_0x41d4a6))['to'](_0x41d4a6),_0x1f43a4[_0x43eec3(0xf5)](_0x43eec3(0xca))['to'](_0x17c11b),_0x1d4342[_0x43eec3(0xf7)][_0x43eec3(0xcc)](_0x1f43a4),_0x17c11b[_0x43eec3(0xd6)][_0x43eec3(0xcc)](_0x1d4342);}return _0x17c11b[_0x43eec3(0xd6)][_0x43eec3(0xf5)](_0x43eec3(0xca))['to'](this),_0x17c11b['on'](_0x43eec3(0xca),_0xa45e5d=>{const _0x25cbac=_0x43eec3,_0x4d1dec=_0xa45e5d[_0x25cbac(0xc4)];this[_0x25cbac(0xa5)](_0x4d1dec[_0x25cbac(0xa9)]),this[_0x25cbac(0xda)][_0x25cbac(0xfb)](),this[_0x25cbac(0xbd)][_0x25cbac(0xd7)]();}),_0x17c11b;}[_0x1c533c(0xab)](){const _0x536d43=_0x1c533c;this[_0x536d43(0xe7)]=new _0x417d87(),this[_0x536d43(0xe7)][_0x536d43(0xd0)](this[_0x536d43(0xda)][_0x536d43(0xf0)]),this[_0x536d43(0xe7)][_0x536d43(0xdf)](_0x536d43(0xef),(_0x2b6941,_0x550cda)=>{const _0x197919=_0x536d43;this[_0x197919(0xda)][_0x197919(0xfb)](),this[_0x197919(0xbd)][_0x197919(0xd7)](),_0x550cda();});}[_0x1c533c(0xf2)](){const _0x2e75f5=_0x1c533c;super[_0x2e75f5(0xf2)](),this[_0x2e75f5(0xe7)][_0x2e75f5(0xf2)](),this[_0x2e75f5(0xda)][_0x2e75f5(0xf2)](),this[_0x2e75f5(0xcf)][_0x2e75f5(0xae)]();}}function Gn(_0x2508e0){const _0x35f87e=_0x1c533c;return{'top':_0x2508e0[_0x35f87e(0xe1)],'left':_0x2508e0[_0x35f87e(0xe5)],'name':_0x35f87e(0xbc),'config':{'withArrow':!0x1}};}function _0x2c9f(){const _0x5b3288=['3916070mutGzZ','applySuggestion','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','ck-ai-chat__feed__ai-suggestion__actions--no-animation','4600rWiQyW','ck-ai-button-primary','isEnabled','tooltip','listItemModels','setTemplate','arrowless','arrowView','actionsButton','width','_dropdownCurrentConfig','_setUpList','ltr','unbind','source','content','length','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','_partsCount','balloonPanelClass','execute','ck-ai-chat__feed__ai-suggestion__actions','add','uiLanguageDirection','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','bodyCollection','listenTo','createCollection','3590868RVULZD','_dropdownOriginalConfig','2511170ANAqtN','showChangeInTextModel','items','focus','ck-ai-chat__feed__ai-suggestion__actions__balloon','_createActionsButton','balloonPanelView','filter','applySuggestionModel','isVisible','attachToDom','set','bind','bottom','class','button','updateLabels','left','pin','keystrokeHandler','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','18SsXSdp','_createActionsDropdownOrButton','1383048fjDaXf','_updateDropdownActions','ck-ai-chat__feed__ai-suggestion__actions\x20','343563zUzyqM','esc','element','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','destroy','open','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','delegate','_createActionsDropdown','children','listView','keys','bindTemplate','hide','insertSuggestionModel','3exoaaL','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','2047801lwYAnW','locale','showChangeInText','ck-hidden','div','has','fire','label','remove','isTrackChangesOn','actionName','slice','_setUpKeystrokes','189qeLMns','map','detachFromDom','_firstRender','insertSuggestion','change:isTrackChangesOn'];_0x2c9f=function(){return _0x5b3288;};return _0x2c9f();}function yn(_0x25b012,_0x4df08b){const _0x2f1d91=_0x1c533c;return{'top':_0x25b012[_0x2f1d91(0xe1)],'left':_0x25b012[_0x2f1d91(0xe5)]-(_0x4df08b[_0x2f1d91(0xbf)]-_0x25b012[_0x2f1d91(0xbf)]),'name':_0x2f1d91(0xbc),'config':{'withArrow':!0x1}};}function Pn(_0x231c5f,_0x3a9da8,_0xe58afb){const _0x143942=_0x1c533c;switch(_0x231c5f){case _0x143942(0xb3):return _0x3df7d3(_0x3a9da8,_0x143942(0xe8),_0xe58afb);case _0x143942(0x101):return _0x3df7d3(_0x3a9da8,_0x143942(0xf1),_0xe58afb);case _0x143942(0xb0):return _0x3df7d3(_0x3a9da8,_0x143942(0xfe),_0xe58afb);}}function Hn(_0x2c6715,_0x103b42,_0x590d59){const _0x466bd9=_0x1c533c;switch(_0x2c6715){case _0x466bd9(0xb3):return _0x3df7d3(_0x103b42,_0x466bd9(0xce),_0x590d59);case _0x466bd9(0x101):return _0x3df7d3(_0x103b42,_0x466bd9(0xc7),_0x590d59);case _0x466bd9(0xb0):return _0x3df7d3(_0x103b42,_0x466bd9(0xb4),_0x590d59);}}
23
+ function _0xe590(_0x129d62,_0x4f9b86){const _0x3d64da=_0x3d64();return _0xe590=function(_0xe5903c,_0x3ed1a7){_0xe5903c=_0xe5903c-0x75;let _0x4ce856=_0x3d64da[_0xe5903c];return _0x4ce856;},_0xe590(_0x129d62,_0x4f9b86);}const _0x2fcef1=_0xe590;(function(_0x40185a,_0x4cbd28){const _0x2c9c35=_0xe590,_0x1afde8=_0x40185a();while(!![]){try{const _0x2e0b85=parseInt(_0x2c9c35(0x7c))/0x1+parseInt(_0x2c9c35(0x92))/0x2*(parseInt(_0x2c9c35(0xbe))/0x3)+parseInt(_0x2c9c35(0x9a))/0x4*(-parseInt(_0x2c9c35(0xca))/0x5)+-parseInt(_0x2c9c35(0xb5))/0x6*(-parseInt(_0x2c9c35(0xc3))/0x7)+-parseInt(_0x2c9c35(0xcf))/0x8*(-parseInt(_0x2c9c35(0x8d))/0x9)+parseInt(_0x2c9c35(0xb6))/0xa+-parseInt(_0x2c9c35(0xb4))/0xb;if(_0x2e0b85===_0x4cbd28)break;else _0x1afde8['push'](_0x1afde8['shift']());}catch(_0x4dd762){_0x1afde8['push'](_0x1afde8['shift']());}}}(_0x3d64,0x86937));import{KeystrokeHandler as _0x56aeb5}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x10502c,BodyCollection as _0x235d08,ButtonView as _0x5da394,clickOutsideHandler as _0x2e9253,ListItemButtonView as _0x373e47,ListItemView as _0x3b9677,ListView as _0x4a9eac,SplitButtonView as _0x238f53,UIModel as _0x1993b3,View as _0x1d0723}from'ckeditor5/src/ui.js';import{IconCheck as _0x5c186d,IconAddComment as _0x2f76b4,IconDocumentWithLoupe as _0x40c1e6}from'ckeditor5/src/icons.js';import{getTranslation as _0x5ad4d2}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x2fcef1(0xb0),_0x2fcef1(0x98),_0x2fcef1(0x8b)];export class AIChatFeedSuggestionItemActionsView extends _0x1d0723{[_0x2fcef1(0xb3)];[_0x2fcef1(0x78)];[_0x2fcef1(0x86)];[_0x2fcef1(0x7a)];[_0x2fcef1(0xc0)];[_0x2fcef1(0x83)]=0x1;[_0x2fcef1(0xba)];[_0x2fcef1(0xd0)];[_0x2fcef1(0x8f)]=!0x0;constructor(_0x311067,_0x32988f){const _0x1712cd=_0x2fcef1;super(_0x311067),this[_0x1712cd(0xba)]=_0x32988f||[...AI_REPLY_ACTIONS],this[_0x1712cd(0xd0)]=[...this[_0x1712cd(0xba)]];const _0x4c212e=this[_0x1712cd(0x94)];this[_0x1712cd(0x93)](_0x1712cd(0x77),!0x0),this[_0x1712cd(0x93)](_0x1712cd(0xb7),!0x0),this[_0x1712cd(0x93)](_0x1712cd(0x76),!0x1),this[_0x1712cd(0x86)]=new _0x1993b3({'label':Pn(_0x1712cd(0xb0),_0x311067,this[_0x1712cd(0x83)]),'icon':_0x5c186d,'withText':!0x0,'type':_0x1712cd(0xcc),'actionName':_0x1712cd(0xb0)}),this[_0x1712cd(0x7a)]=new _0x1993b3({'label':Pn(_0x1712cd(0x8b),_0x311067,this[_0x1712cd(0x83)]),'icon':_0x40c1e6,'withText':!0x0,'type':_0x1712cd(0xcc),'actionName':_0x1712cd(0x8b)}),this[_0x1712cd(0xc0)]=new _0x1993b3({'label':Pn(_0x1712cd(0x98),_0x311067,this[_0x1712cd(0x83)]),'icon':_0x2f76b4,'withText':!0x0,'type':_0x1712cd(0xcc),'actionName':_0x1712cd(0x98)}),this[_0x1712cd(0xb3)]=this[_0x1712cd(0xa4)](_0x311067),this[_0x1712cd(0x78)]=this[_0x1712cd(0x85)](),this[_0x1712cd(0xb3)]&&this[_0x1712cd(0x78)][_0x1712cd(0xc5)](this[_0x1712cd(0xb3)]),this[_0x1712cd(0x79)]({'tag':_0x1712cd(0xc1),'attributes':{'class':['ck',_0x1712cd(0xd5),_0x4c212e['if'](_0x1712cd(0xb7),_0x1712cd(0xa5),_0x246a5d=>!_0x246a5d)]},'children':this[_0x1712cd(0x78)]}),this['on'](_0x1712cd(0xce),()=>{const _0x31b4bc=_0x1712cd;this[_0x31b4bc(0xd0)]=this[_0x31b4bc(0x76)]?this[_0x31b4bc(0xba)][_0x31b4bc(0x80)](_0x2e3a9b=>_0x31b4bc(0xb0)!==_0x2e3a9b):[...this[_0x31b4bc(0xba)]],this[_0x31b4bc(0xc4)](_0x311067);});}[_0x2fcef1(0xc4)](_0x1783b7){const _0x5d8c85=_0x2fcef1;this[_0x5d8c85(0xb3)]&&this[_0x5d8c85(0x78)][_0x5d8c85(0xc9)](this[_0x5d8c85(0xb3)])&&(this[_0x5d8c85(0x78)][_0x5d8c85(0x81)](this[_0x5d8c85(0xb3)]),this[_0x5d8c85(0xb3)][_0x5d8c85(0xc6)]()),this[_0x5d8c85(0xb3)]=this[_0x5d8c85(0xa4)](_0x1783b7),this[_0x5d8c85(0xb3)]&&this[_0x5d8c85(0x78)][_0x5d8c85(0xc5)](this[_0x5d8c85(0xb3)]);}[_0x2fcef1(0xa4)](_0x5b225c){const _0x2c15d4=_0x2fcef1;if(0x0==this[_0x2c15d4(0xd0)][_0x2c15d4(0xb8)])return null;const _0x439c12=0x1===this[_0x2c15d4(0xd0)][_0x2c15d4(0xb8)]?this[_0x2c15d4(0x7e)](_0x5b225c):this[_0x2c15d4(0xb2)](_0x5b225c),_0x22b72d=this[_0x2c15d4(0x8f)]?'':_0x2c15d4(0xbf);_0x439c12[_0x2c15d4(0x93)]({'label':Pn(this[_0x2c15d4(0xd0)][0x0],_0x5b225c,this[_0x2c15d4(0x83)]),'tooltip':Hn(this[_0x2c15d4(0xd0)][0x0],_0x5b225c,this[_0x2c15d4(0x83)]),'withText':!0x0,'class':_0x2c15d4(0xd3)+_0x22b72d});for(const _0x24485e of this[_0x2c15d4(0xd0)])_0x439c12['on'](_0x24485e,()=>{const _0x1e91b0=_0x2c15d4;this[_0x1e91b0(0xd1)](_0x24485e);});return this[_0x2c15d4(0x8f)]=!0x1,_0x439c12;}[_0x2fcef1(0x7e)](_0x3b4127){const _0x3a674a=_0x2fcef1,_0x484c2a=new _0x5da394(_0x3b4127);return _0x484c2a[_0x3a674a(0x93)]({'class':_0x3a674a(0xbd),'withText':!0x0}),_0x484c2a['on'](_0x3a674a(0x89),()=>{const _0x2aadbc=_0x3a674a;_0x484c2a[_0x2aadbc(0xd1)](this[_0x2aadbc(0xd0)][0x0]);}),_0x484c2a;}[_0x2fcef1(0xb2)](_0x310a3a){const _0x172dd6=_0x2fcef1,_0x47d0a3=new Nn(_0x310a3a,{'listItemModels':this[_0x172dd6(0xd0)][_0x172dd6(0x87)](_0x59d76a=>{const _0x376ca9=_0x172dd6;switch(_0x59d76a){case _0x376ca9(0xb0):return this[_0x376ca9(0x86)];case _0x376ca9(0x8b):return this[_0x376ca9(0x7a)];case _0x376ca9(0x98):return this[_0x376ca9(0xc0)];}})});return _0x47d0a3[_0x172dd6(0x93)]({'label':Pn(this[_0x172dd6(0xd0)][0x0],_0x310a3a,this[_0x172dd6(0x83)]),'tooltip':Hn(this[_0x172dd6(0xd0)][0x0],_0x310a3a,this[_0x172dd6(0x83)]),'withText':!0x0,'class':_0x172dd6(0xd5),'balloonPanelClass':_0x172dd6(0x75)}),_0x47d0a3[_0x172dd6(0xc8)](_0x172dd6(0x77))['to'](this),_0x47d0a3;}[_0x2fcef1(0x95)](_0x41265d){const _0x308b02=_0x2fcef1,_0x231c64=this[_0x308b02(0x7f)];this[_0x308b02(0x83)]=_0x41265d||this[_0x308b02(0x83)],this[_0x308b02(0xb3)][_0x308b02(0x93)]({'label':Pn(this[_0x308b02(0xd0)][0x0],_0x231c64,this[_0x308b02(0x83)]),'tooltip':Hn(this[_0x308b02(0xd0)][0x0],_0x231c64,this[_0x308b02(0x83)])}),this[_0x308b02(0x86)][_0x308b02(0xad)]=Pn(_0x308b02(0xb0),_0x231c64,this[_0x308b02(0x83)]),this[_0x308b02(0x7a)][_0x308b02(0xad)]=Pn(_0x308b02(0x8b),_0x231c64,this[_0x308b02(0x83)]),this[_0x308b02(0xc0)][_0x308b02(0xad)]=Pn(_0x308b02(0x98),_0x231c64,this[_0x308b02(0x83)]);}}class Nn extends _0x238f53{[_0x2fcef1(0xc2)];[_0x2fcef1(0x82)];[_0x2fcef1(0xa7)];[_0x2fcef1(0x9c)];constructor(_0x2b3fff,_0x1ad6bc){const _0x35ab5e=_0x2fcef1;super(_0x2b3fff),this[_0x35ab5e(0x82)]=new _0x10502c(this[_0x35ab5e(0x7f)]),this[_0x35ab5e(0xc2)]=new _0x235d08(this[_0x35ab5e(0x7f)]),this[_0x35ab5e(0xc2)][_0x35ab5e(0xa3)](),this[_0x35ab5e(0x93)](_0x35ab5e(0x90),''),this[_0x35ab5e(0x82)][_0x35ab5e(0xc8)](_0x35ab5e(0x88))['to'](this,_0x35ab5e(0x90)),this[_0x35ab5e(0xa7)]=this[_0x35ab5e(0x97)](_0x1ad6bc[_0x35ab5e(0x99)][_0x35ab5e(0x7d)](0x1)),this[_0x35ab5e(0xc2)][_0x35ab5e(0xc5)](this[_0x35ab5e(0x82)]),this[_0x35ab5e(0x82)][_0x35ab5e(0xaf)][_0x35ab5e(0xc5)](this[_0x35ab5e(0xa7)]),this[_0x35ab5e(0xcb)][_0x35ab5e(0x9d)](_0x35ab5e(0x7b)),this[_0x35ab5e(0xcb)][_0x35ab5e(0x93)](_0x35ab5e(0x7b),_0x5ad4d2(this[_0x35ab5e(0x7f)],_0x35ab5e(0xac))),this[_0x35ab5e(0xa2)](),this['on'](_0x35ab5e(0x89),()=>{const _0x28566f=_0x35ab5e,_0x51787c=_0x1ad6bc[_0x28566f(0x99)][0x0][_0x28566f(0xbb)];this[_0x28566f(0xd1)](_0x51787c),this[_0x28566f(0x82)][_0x28566f(0xa1)](),this[_0x28566f(0xcb)][_0x28566f(0x84)]();}),this['on'](_0x35ab5e(0x9f),()=>{const _0x2cd375=_0x35ab5e;this[_0x2cd375(0x82)][_0x2cd375(0xb7)]?(this[_0x2cd375(0x82)][_0x2cd375(0xa1)](),this[_0x2cd375(0xcb)][_0x2cd375(0x84)]()):(this[_0x2cd375(0x82)][_0x2cd375(0xae)]({'target':this[_0x2cd375(0xbc)],'positions':[_0x2cd375(0xb1)===this[_0x2cd375(0x7f)][_0x2cd375(0xab)]?Gn:yn]}),this[_0x2cd375(0xa7)][_0x2cd375(0x84)]());}),_0x2e9253({'emitter':this[_0x35ab5e(0x82)],'callback':()=>{const _0x1fc5bc=_0x35ab5e;this[_0x1fc5bc(0x82)][_0x1fc5bc(0xa1)]();},'activator':()=>this[_0x35ab5e(0x82)][_0x35ab5e(0xb7)],'contextElements':()=>[this[_0x35ab5e(0xbc)],this[_0x35ab5e(0x82)][_0x35ab5e(0xbc)]]});}[_0x2fcef1(0x97)](_0x631a61){const _0x2af874=_0x2fcef1,_0x58e0b9=this[_0x2af874(0x7f)],_0x359286=new _0x4a9eac(_0x58e0b9);for(const _0x31eacc of _0x631a61){const _0x3ecbf1=new _0x3b9677(_0x58e0b9),_0x25fa07=new _0x373e47(_0x58e0b9);_0x25fa07[_0x2af874(0xc8)](...Object[_0x2af874(0xa9)](_0x31eacc))['to'](_0x31eacc),_0x25fa07[_0x2af874(0x9b)](_0x2af874(0x89))['to'](_0x359286),_0x3ecbf1[_0x2af874(0x78)][_0x2af874(0xc5)](_0x25fa07),_0x359286[_0x2af874(0xa6)][_0x2af874(0xc5)](_0x3ecbf1);}return _0x359286[_0x2af874(0xa6)][_0x2af874(0x9b)](_0x2af874(0x89))['to'](this),_0x359286['on'](_0x2af874(0x89),_0xfa8636=>{const _0x2a21bf=_0x2af874,_0x1236e6=_0xfa8636[_0x2a21bf(0x8c)];this[_0x2a21bf(0xd1)](_0x1236e6[_0x2a21bf(0xbb)]),this[_0x2a21bf(0x82)][_0x2a21bf(0xa1)](),this[_0x2a21bf(0xcb)][_0x2a21bf(0x84)]();}),_0x359286;}[_0x2fcef1(0xa2)](){const _0x1f186f=_0x2fcef1;this[_0x1f186f(0x9c)]=new _0x56aeb5(),this[_0x1f186f(0x9c)][_0x1f186f(0xa8)](this[_0x1f186f(0x82)][_0x1f186f(0xbc)]),this[_0x1f186f(0x9c)][_0x1f186f(0x93)](_0x1f186f(0xcd),(_0x159c9b,_0x51ba1f)=>{const _0x1beb93=_0x1f186f;this[_0x1beb93(0x82)][_0x1beb93(0xa1)](),this[_0x1beb93(0xcb)][_0x1beb93(0x84)](),_0x51ba1f();});}[_0x2fcef1(0xc6)](){const _0x4f2d75=_0x2fcef1;super[_0x4f2d75(0xc6)](),this[_0x4f2d75(0x9c)][_0x4f2d75(0xc6)](),this[_0x4f2d75(0x82)][_0x4f2d75(0xc6)](),this[_0x4f2d75(0xc2)][_0x4f2d75(0xb9)]();}}function Gn(_0x3820db){const _0x45c568=_0x2fcef1;return{'top':_0x3820db[_0x45c568(0xa0)],'left':_0x3820db[_0x45c568(0x9e)],'name':_0x45c568(0x8e),'config':{'withArrow':!0x1}};}function yn(_0x271a42,_0x50c318){const _0x57ad35=_0x2fcef1;return{'top':_0x271a42[_0x57ad35(0xa0)],'left':_0x271a42[_0x57ad35(0x9e)]-(_0x50c318[_0x57ad35(0xd2)]-_0x271a42[_0x57ad35(0xd2)]),'name':_0x57ad35(0x8e),'config':{'withArrow':!0x1}};}function _0x3d64(){const _0x37de76=['remove','balloonPanelView','_partsCount','focus','createCollection','applySuggestionModel','map','class','execute','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','showChangeInText','source','3645lpKXqd','arrowless','_firstRender','balloonPanelClass','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','650EzsNOX','set','bindTemplate','updateLabels','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','_setUpList','insertSuggestion','listItemModels','2292060URgvkO','delegate','keystrokeHandler','unbind','left','open','bottom','hide','_setUpKeystrokes','attachToDom','_createActionsDropdownOrButton','ck-hidden','items','listView','listenTo','keys','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','uiLanguageDirection','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','label','pin','content','applySuggestion','ltr','_createActionsDropdown','actionsButton','35961706kICNlW','4018722sWdmKH','8317680rQeNED','isVisible','length','detachFromDom','_dropdownOriginalConfig','actionName','element','ck-ai-button-primary','9102XXzMxK','ck-ai-chat__feed__ai-suggestion__actions--no-animation','insertSuggestionModel','div','bodyCollection','7AolJqD','_updateDropdownActions','add','destroy','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','bind','has','5ChRMwR','arrowView','button','esc','change:isTrackChangesOn','21576eWGtBw','_dropdownCurrentConfig','fire','width','ck-ai-chat__feed__ai-suggestion__actions\x20','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','ck-ai-chat__feed__ai-suggestion__actions','ck-ai-chat__feed__ai-suggestion__actions__balloon','isTrackChangesOn','isEnabled','children','setTemplate','showChangeInTextModel','tooltip','813594FFpiCO','slice','_createActionsButton','locale','filter'];_0x3d64=function(){return _0x37de76;};return _0x3d64();}function Pn(_0xc17ff2,_0xdd58d7,_0x94a841){const _0x68b568=_0x2fcef1;switch(_0xc17ff2){case _0x68b568(0xb0):return _0x5ad4d2(_0xdd58d7,_0x68b568(0x91),_0x94a841);case _0x68b568(0x8b):return _0x5ad4d2(_0xdd58d7,_0x68b568(0xd4),_0x94a841);case _0x68b568(0x98):return _0x5ad4d2(_0xdd58d7,_0x68b568(0xaa),_0x94a841);}}function Hn(_0x55c97d,_0x2c8309,_0x3f1ad0){const _0x14d43f=_0x2fcef1;switch(_0x55c97d){case _0x14d43f(0xb0):return _0x5ad4d2(_0x2c8309,_0x14d43f(0x8a),_0x3f1ad0);case _0x14d43f(0x8b):return _0x5ad4d2(_0x2c8309,_0x14d43f(0xc7),_0x3f1ad0);case _0x14d43f(0x98):return _0x5ad4d2(_0x2c8309,_0x14d43f(0x96),_0x3f1ad0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x248ba5=_0x4607;(function(_0x51b72d,_0x508cae){var _0x1dacfa=_0x4607,_0x1a03d6=_0x51b72d();while(!![]){try{var _0x3524b5=-parseInt(_0x1dacfa(0xea))/0x1*(parseInt(_0x1dacfa(0xdc))/0x2)+-parseInt(_0x1dacfa(0xc9))/0x3+-parseInt(_0x1dacfa(0xc6))/0x4*(parseInt(_0x1dacfa(0xe1))/0x5)+-parseInt(_0x1dacfa(0xe7))/0x6*(-parseInt(_0x1dacfa(0xd7))/0x7)+parseInt(_0x1dacfa(0xd8))/0x8+parseInt(_0x1dacfa(0xe4))/0x9*(-parseInt(_0x1dacfa(0xc5))/0xa)+parseInt(_0x1dacfa(0xe2))/0xb;if(_0x3524b5===_0x508cae)break;else _0x1a03d6['push'](_0x1a03d6['shift']());}catch(_0x3e89e4){_0x1a03d6['push'](_0x1a03d6['shift']());}}}(_0x257c,0xbd0b1));import{AIChatFeedItemView as _0x32630c}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x3fcff1}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x4607(_0x34bcb4,_0x53a1b8){var _0x257c1d=_0x257c();return _0x4607=function(_0x46075b,_0x3064f5){_0x46075b=_0x46075b-0xc1;var _0x3c18d0=_0x257c1d[_0x46075b];return _0x3c18d0;},_0x4607(_0x34bcb4,_0x53a1b8);}import{AIChatFeedSuggestionItemActionsView as _0x318f70}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x32630c{[_0x248ba5(0xd4)];[_0x248ba5(0xc8)];constructor(_0x1074a3,_0x14e22d,_0x4211fa){var _0x1c9a8d=_0x248ba5;super(_0x14e22d),this[_0x1c9a8d(0xec)](_0x1c9a8d(0xcd),!0x1),this[_0x1c9a8d(0xd4)]=new _0x3fcff1(_0x1074a3,{'showDiff':_0x14e22d[_0x1c9a8d(0xe3)],'areActionsDisabled':_0x14e22d[_0x1c9a8d(0xc4)],'availableActions':_0x14e22d[_0x1c9a8d(0xed)]},_0x4211fa),this[_0x1c9a8d(0xd4)]['on'](_0x1c9a8d(0xe0),(_0x4fc88a,_0x498f47)=>{var _0x21bde1=_0x1c9a8d;this[_0x21bde1(0xd1)](_0x21bde1(0xe0),{'replyId':this[_0x21bde1(0xce)]['id'],'showDiff':_0x498f47[_0x21bde1(0xe3)]});}),this[_0x1c9a8d(0xd4)]['on'](_0x1c9a8d(0xd2),()=>{var _0x71efe7=_0x1c9a8d;this[_0x71efe7(0xd1)](_0x71efe7(0xd2),{'replyId':this[_0x71efe7(0xce)]['id']});}),this[_0x1c9a8d(0xd4)]['on'](_0x1c9a8d(0xe6),()=>{var _0x53fdc3=_0x1c9a8d;this[_0x53fdc3(0xd1)](_0x53fdc3(0xe6),{'replyId':this[_0x53fdc3(0xce)]['id']});}),this[_0x1c9a8d(0xd4)]['on'](_0x1c9a8d(0xde),(_0x1f6045,{index:_0x5474a0})=>{var _0x288897=_0x1c9a8d;this[_0x288897(0xd1)](_0x288897(0xde),{'replyId':this[_0x288897(0xce)]['id'],'partIndex':_0x5474a0});}),this[_0x1c9a8d(0xd4)]['on'](_0x1c9a8d(0xd0),(_0x77ab1f,{index:_0x12341b})=>{var _0x24138b=_0x1c9a8d;this[_0x24138b(0xd1)](_0x24138b(0xd0),{'replyId':this[_0x24138b(0xce)]['id'],'partIndex':_0x12341b});}),this[_0x1c9a8d(0xd4)]['on'](_0x1c9a8d(0xd3),(_0x4de283,{index:_0xba1d2b})=>{var _0x3c920b=_0x1c9a8d;this[_0x3c920b(0xd1)](_0x3c920b(0xd3),{'replyId':this[_0x3c920b(0xce)]['id'],'partIndex':_0xba1d2b});}),this[_0x1c9a8d(0xd4)]['on'](_0x1c9a8d(0xd5),(_0x2c5da4,{index:_0xf9b633})=>{var _0x15e1b7=_0x1c9a8d;this[_0x15e1b7(0xd1)](_0x15e1b7(0xd5),{'replyId':this[_0x15e1b7(0xce)]['id'],'partIndex':_0xf9b633});}),this[_0x1c9a8d(0xd4)]['on'](_0x1c9a8d(0xd9),(_0x3ba05d,{index:_0x2a442e})=>{var _0x557ddb=_0x1c9a8d;this[_0x557ddb(0xd1)](_0x557ddb(0xd9),{'replyId':this[_0x557ddb(0xce)]['id'],'partIndex':_0x2a442e});}),this[_0x1c9a8d(0xc8)]=new _0x318f70(_0x1074a3,this[_0x1c9a8d(0xce)][_0x1c9a8d(0xed)]),this[_0x1c9a8d(0xc8)][_0x1c9a8d(0xdf)](_0x1c9a8d(0xcd))['to'](this,_0x1c9a8d(0xcd)),this[_0x1c9a8d(0xc8)]['on'](_0x1c9a8d(0xde),()=>{var _0x56676f=_0x1c9a8d;this[_0x56676f(0xd1)](_0x56676f(0xde),{'replyId':this[_0x56676f(0xce)]['id']});}),this[_0x1c9a8d(0xc8)]['on'](_0x1c9a8d(0xd0),()=>{var _0x43a78f=_0x1c9a8d;this[_0x43a78f(0xd1)](_0x43a78f(0xd0),{'replyId':this[_0x43a78f(0xce)]['id']});}),this[_0x1c9a8d(0xc8)]['on'](_0x1c9a8d(0xda),()=>{var _0x2ac1c3=_0x1c9a8d;this[_0x2ac1c3(0xd1)](_0x2ac1c3(0xda),{'replyId':this[_0x2ac1c3(0xce)]['id']});}),_0x14e22d[_0x1c9a8d(0xc4)]?this[_0x1c9a8d(0xc8)][_0x1c9a8d(0xc2)]=!0x1:this[_0x1c9a8d(0xc8)][_0x1c9a8d(0xdf)](_0x1c9a8d(0xc2))['to'](this[_0x1c9a8d(0xd4)][_0x1c9a8d(0xcc)],_0x1c9a8d(0xc7)),this[_0x1c9a8d(0xd6)][_0x1c9a8d(0xeb)]([this[_0x1c9a8d(0xd4)],this[_0x1c9a8d(0xc8)]]),this[_0x1c9a8d(0xee)]({'attributes':{'class':[_0x1c9a8d(0xe9)]}});}async[_0x248ba5(0xdb)](_0x28f7dd){var _0x1ae8e9=_0x248ba5;await this[_0x1ae8e9(0xd4)][_0x1ae8e9(0xdb)](_0x28f7dd),this[_0x1ae8e9(0xc8)][_0x1ae8e9(0xc1)](this[_0x1ae8e9(0xd4)][_0x1ae8e9(0xcc)][_0x1ae8e9(0xcf)]);}[_0x248ba5(0xcb)](_0x15b172,_0x1518ee){var _0x5efa19=_0x248ba5;this[_0x5efa19(0xd4)][_0x5efa19(0xcc)][_0x5efa19(0xcb)](_0x15b172,_0x1518ee);}[_0x248ba5(0xe8)](_0x5a5136){var _0x34337d=_0x248ba5;this[_0x34337d(0xd4)][_0x34337d(0xe8)](_0x5a5136);}[_0x248ba5(0xdd)](_0x15a6a5){var _0x339fbe=_0x248ba5;return this[_0x339fbe(0xd4)][_0x339fbe(0xcc)][_0x339fbe(0xdd)](_0x15a6a5);}[_0x248ba5(0xca)](){var _0x4394de=_0x248ba5;super[_0x4394de(0xca)](),this[_0x4394de(0xd4)][_0x4394de(0xca)](),this[_0x4394de(0xc8)][_0x4394de(0xe5)]=this[_0x4394de(0xd4)][_0x4394de(0xcc)][_0x4394de(0xc3)];}}function _0x257c(){var _0x58159e=['applySuggestion','updateContent','2VJIoMd','getPartView','showChangeInText','bind','toggleSuggestionDisplayMode','55OklXfH','29716005UjpRSt','showDiff','1053MLlRrg','isVisible','dislike','84ZUvyfq','updateSources','ck-ai-chat__feed__ai-suggestion','591837mGHiOl','addMany','set','availableActions','extendTemplate','updateLabels','isEnabled','hasNonEmptyParts','areActionsDisabled','40410fTDpYO','402616zQaHXv','hasPendingParts','actionsView','3513219sXAIML','markAsDone','updatePartState','bodyView','isTrackChangesOn','options','partsCount','insertSuggestion','fire','like','rejectSuggestion','containerView','mouseOverSuggestion','children','437759GohFoY','4321992nVKWDF','mouseLeaveSuggestion'];_0x257c=function(){return _0x58159e;};return _0x257c();}
23
+ var _0x5dc4a8=_0x5bb1;function _0x5bb1(_0x3c97fa,_0x48dc2d){var _0x51a0b9=_0x51a0();return _0x5bb1=function(_0x5bb11c,_0x1535dc){_0x5bb11c=_0x5bb11c-0xbd;var _0x2ff1aa=_0x51a0b9[_0x5bb11c];return _0x2ff1aa;},_0x5bb1(_0x3c97fa,_0x48dc2d);}(function(_0x4ad135,_0x5c415c){var _0x183b98=_0x5bb1,_0x518f3b=_0x4ad135();while(!![]){try{var _0x2768a3=parseInt(_0x183b98(0xeb))/0x1*(parseInt(_0x183b98(0xdf))/0x2)+-parseInt(_0x183b98(0xcb))/0x3*(-parseInt(_0x183b98(0xd4))/0x4)+-parseInt(_0x183b98(0xd2))/0x5+-parseInt(_0x183b98(0xd8))/0x6*(parseInt(_0x183b98(0xe7))/0x7)+parseInt(_0x183b98(0xe0))/0x8+-parseInt(_0x183b98(0xc9))/0x9*(parseInt(_0x183b98(0xc7))/0xa)+parseInt(_0x183b98(0xe4))/0xb*(parseInt(_0x183b98(0xda))/0xc);if(_0x2768a3===_0x5c415c)break;else _0x518f3b['push'](_0x518f3b['shift']());}catch(_0x4e9486){_0x518f3b['push'](_0x518f3b['shift']());}}}(_0x51a0,0x3f055));import{AIChatFeedItemView as _0x32546a}from'./aichatfeeditemview.js';function _0x51a0(){var _0x494722=['like','bodyView','updateContent','getPartView','applySuggestion','actionsView','hasNonEmptyParts','showDiff','14330DvkBDx','fire','522tVjZjm','insertSuggestion','21uSNnbT','bind','mouseOverSuggestion','toggleSuggestionDisplayMode','isEnabled','extendTemplate','areActionsDisabled','2489870vfOhRJ','isVisible','67352AaZGPy','markAsDone','mouseLeaveSuggestion','showChangeInText','210SkzCKq','isTrackChangesOn','49080XMZVbP','updateSources','children','containerView','dislike','4YSJhdv','1080368JCYycH','rejectSuggestion','options','set','638CPlYKg','updateLabels','hasPendingParts','11697YANcmQ','partsCount','ck-ai-chat__feed__ai-suggestion','addMany','203787JafyJy','availableActions','updatePartState'];_0x51a0=function(){return _0x494722;};return _0x51a0();}import{AISuggestionContainerView as _0x22a3d7}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x3ef4a8}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x32546a{[_0x5dc4a8(0xdd)];[_0x5dc4a8(0xc4)];constructor(_0x1ee776,_0x11ede7,_0x48e4e4){var _0xa2a2ae=_0x5dc4a8;super(_0x11ede7),this[_0xa2a2ae(0xe3)](_0xa2a2ae(0xd9),!0x1),this[_0xa2a2ae(0xdd)]=new _0x22a3d7(_0x1ee776,{'showDiff':_0x11ede7[_0xa2a2ae(0xc6)],'areActionsDisabled':_0x11ede7[_0xa2a2ae(0xd1)],'availableActions':_0x11ede7[_0xa2a2ae(0xbd)]},_0x48e4e4),this[_0xa2a2ae(0xdd)]['on'](_0xa2a2ae(0xce),(_0x57f733,_0x4d283e)=>{var _0x546405=_0xa2a2ae;this[_0x546405(0xc8)](_0x546405(0xce),{'replyId':this[_0x546405(0xe2)]['id'],'showDiff':_0x4d283e[_0x546405(0xc6)]});}),this[_0xa2a2ae(0xdd)]['on'](_0xa2a2ae(0xbf),()=>{var _0xebaf1d=_0xa2a2ae;this[_0xebaf1d(0xc8)](_0xebaf1d(0xbf),{'replyId':this[_0xebaf1d(0xe2)]['id']});}),this[_0xa2a2ae(0xdd)]['on'](_0xa2a2ae(0xde),()=>{var _0x4ee369=_0xa2a2ae;this[_0x4ee369(0xc8)](_0x4ee369(0xde),{'replyId':this[_0x4ee369(0xe2)]['id']});}),this[_0xa2a2ae(0xdd)]['on'](_0xa2a2ae(0xd7),(_0x1a8a1a,{index:_0x1f0602})=>{var _0x5989da=_0xa2a2ae;this[_0x5989da(0xc8)](_0x5989da(0xd7),{'replyId':this[_0x5989da(0xe2)]['id'],'partIndex':_0x1f0602});}),this[_0xa2a2ae(0xdd)]['on'](_0xa2a2ae(0xca),(_0x46a410,{index:_0x5779e7})=>{var _0x5f0bad=_0xa2a2ae;this[_0x5f0bad(0xc8)](_0x5f0bad(0xca),{'replyId':this[_0x5f0bad(0xe2)]['id'],'partIndex':_0x5779e7});}),this[_0xa2a2ae(0xdd)]['on'](_0xa2a2ae(0xe1),(_0x9d9c06,{index:_0x48a78d})=>{var _0x9c88a8=_0xa2a2ae;this[_0x9c88a8(0xc8)](_0x9c88a8(0xe1),{'replyId':this[_0x9c88a8(0xe2)]['id'],'partIndex':_0x48a78d});}),this[_0xa2a2ae(0xdd)]['on'](_0xa2a2ae(0xcd),(_0x4e9b4e,{index:_0x5e193c})=>{var _0x53015b=_0xa2a2ae;this[_0x53015b(0xc8)](_0x53015b(0xcd),{'replyId':this[_0x53015b(0xe2)]['id'],'partIndex':_0x5e193c});}),this[_0xa2a2ae(0xdd)]['on'](_0xa2a2ae(0xd6),(_0x441ca3,{index:_0x365638})=>{var _0x32d043=_0xa2a2ae;this[_0x32d043(0xc8)](_0x32d043(0xd6),{'replyId':this[_0x32d043(0xe2)]['id'],'partIndex':_0x365638});}),this[_0xa2a2ae(0xc4)]=new _0x3ef4a8(_0x1ee776,this[_0xa2a2ae(0xe2)][_0xa2a2ae(0xbd)]),this[_0xa2a2ae(0xc4)][_0xa2a2ae(0xcc)](_0xa2a2ae(0xd9))['to'](this,_0xa2a2ae(0xd9)),this[_0xa2a2ae(0xc4)]['on'](_0xa2a2ae(0xd7),()=>{var _0x1b8ad1=_0xa2a2ae;this[_0x1b8ad1(0xc8)](_0x1b8ad1(0xd7),{'replyId':this[_0x1b8ad1(0xe2)]['id']});}),this[_0xa2a2ae(0xc4)]['on'](_0xa2a2ae(0xca),()=>{var _0x3fe4a3=_0xa2a2ae;this[_0x3fe4a3(0xc8)](_0x3fe4a3(0xca),{'replyId':this[_0x3fe4a3(0xe2)]['id']});}),this[_0xa2a2ae(0xc4)]['on'](_0xa2a2ae(0xc3),()=>{var _0x4f7cfd=_0xa2a2ae;this[_0x4f7cfd(0xc8)](_0x4f7cfd(0xc3),{'replyId':this[_0x4f7cfd(0xe2)]['id']});}),_0x11ede7[_0xa2a2ae(0xd1)]?this[_0xa2a2ae(0xc4)][_0xa2a2ae(0xcf)]=!0x1:this[_0xa2a2ae(0xc4)][_0xa2a2ae(0xcc)](_0xa2a2ae(0xcf))['to'](this[_0xa2a2ae(0xdd)][_0xa2a2ae(0xc0)],_0xa2a2ae(0xe6)),this[_0xa2a2ae(0xdc)][_0xa2a2ae(0xea)]([this[_0xa2a2ae(0xdd)],this[_0xa2a2ae(0xc4)]]),this[_0xa2a2ae(0xd0)]({'attributes':{'class':[_0xa2a2ae(0xe9)]}});}async[_0x5dc4a8(0xc1)](_0x19c9cc){var _0x17ba42=_0x5dc4a8;await this[_0x17ba42(0xdd)][_0x17ba42(0xc1)](_0x19c9cc),this[_0x17ba42(0xc4)][_0x17ba42(0xe5)](this[_0x17ba42(0xdd)][_0x17ba42(0xc0)][_0x17ba42(0xe8)]);}[_0x5dc4a8(0xbe)](_0x222d70,_0x4e7ee8){var _0x3725cd=_0x5dc4a8;this[_0x3725cd(0xdd)][_0x3725cd(0xc0)][_0x3725cd(0xbe)](_0x222d70,_0x4e7ee8);}[_0x5dc4a8(0xdb)](_0x20e48a){var _0x302cd3=_0x5dc4a8;this[_0x302cd3(0xdd)][_0x302cd3(0xdb)](_0x20e48a);}[_0x5dc4a8(0xc2)](_0x41d738){var _0x575364=_0x5dc4a8;return this[_0x575364(0xdd)][_0x575364(0xc0)][_0x575364(0xc2)](_0x41d738);}[_0x5dc4a8(0xd5)](){var _0x5d2d12=_0x5dc4a8;super[_0x5d2d12(0xd5)](),this[_0x5d2d12(0xdd)][_0x5d2d12(0xd5)](),this[_0x5d2d12(0xc4)][_0x5d2d12(0xd3)]=this[_0x5d2d12(0xdd)][_0x5d2d12(0xc0)][_0x5d2d12(0xc5)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x348b(_0x45fc57,_0x54b42d){var _0x2b6d00=_0x2b6d();return _0x348b=function(_0x348b7b,_0x2b14a5){_0x348b7b=_0x348b7b-0xd5;var _0x1366ad=_0x2b6d00[_0x348b7b];return _0x1366ad;},_0x348b(_0x45fc57,_0x54b42d);}var _0x4f0143=_0x348b;(function(_0x129f81,_0x38a3c2){var _0x4c35ed=_0x348b,_0x5aabfa=_0x129f81();while(!![]){try{var _0x26080c=parseInt(_0x4c35ed(0xd5))/0x1*(-parseInt(_0x4c35ed(0xe5))/0x2)+-parseInt(_0x4c35ed(0xe7))/0x3+-parseInt(_0x4c35ed(0xee))/0x4*(-parseInt(_0x4c35ed(0xf2))/0x5)+parseInt(_0x4c35ed(0xe3))/0x6+-parseInt(_0x4c35ed(0xeb))/0x7+-parseInt(_0x4c35ed(0xe9))/0x8+parseInt(_0x4c35ed(0xe1))/0x9;if(_0x26080c===_0x38a3c2)break;else _0x5aabfa['push'](_0x5aabfa['shift']());}catch(_0x540a04){_0x5aabfa['push'](_0x5aabfa['shift']());}}}(_0x2b6d,0x8ad44));import{AIChatFeedItemView as _0x28dd2b}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x1bcd17}from'./aichatfeedcontextchipsview.js';import{View as _0xc9cc40}from'ckeditor5/src/ui.js';function _0x2b6d(){var _0x382cf3=['2wuyKJd','_messageContentView','328086dMNKeY','add','7622128OjNvRo','_createContextChipsView','2135413vFCPZx','ck-ai-chat__feed__message-content','filter','120860HGwBRA','options','innerHTML','ck-ai-chat__feed__context-chips','10UOmppU','initialContent','extendTemplate','_contextChipsView','60602XUfuea','length','element','markAsDone','_bodyCollection','setTemplate','div','_createMessageContentView','render','children','_locale','contextItems','7892541mbcycw','hidden','6354324ytwkub','ck-ai-chat__feed__user-message'];_0x2b6d=function(){return _0x382cf3;};return _0x2b6d();}export class AIChatFeedUserMessageItemView extends _0x28dd2b{[_0x4f0143(0xf5)]=null;[_0x4f0143(0xdf)];[_0x4f0143(0xd9)];[_0x4f0143(0xe6)];constructor(_0x4cbd98,_0x1a31c9,_0x2ed197){var _0x430219=_0x4f0143;super(_0x1a31c9),this[_0x430219(0xdf)]=_0x4cbd98,this[_0x430219(0xd9)]=_0x2ed197,this[_0x430219(0xea)](),this[_0x430219(0xdc)](),this[_0x430219(0xf4)]({'attributes':{'class':[_0x430219(0xe4)]}});}[_0x4f0143(0xea)](){var _0x3cd9e8=_0x4f0143;this[_0x3cd9e8(0xef)][_0x3cd9e8(0xe0)]&&this[_0x3cd9e8(0xef)][_0x3cd9e8(0xe0)][_0x3cd9e8(0xd6)]>0x0&&(this[_0x3cd9e8(0xf5)]=new _0x1bcd17(this[_0x3cd9e8(0xdf)],this[_0x3cd9e8(0xef)][_0x3cd9e8(0xe0)][_0x3cd9e8(0xed)](_0x196016=>!_0x196016[_0x3cd9e8(0xe2)]),this[_0x3cd9e8(0xd9)]),this[_0x3cd9e8(0xf5)][_0x3cd9e8(0xf4)]({'attributes':{'class':_0x3cd9e8(0xf1)}}),this[_0x3cd9e8(0xde)][_0x3cd9e8(0xe8)](this[_0x3cd9e8(0xf5)]));}[_0x4f0143(0xdc)](){var _0x152c2c=_0x4f0143;this[_0x152c2c(0xe6)]=new _0xc9cc40(this[_0x152c2c(0xdf)]),this[_0x152c2c(0xe6)][_0x152c2c(0xda)]({'tag':_0x152c2c(0xdb),'attributes':{'class':_0x152c2c(0xec)}}),this[_0x152c2c(0xde)][_0x152c2c(0xe8)](this[_0x152c2c(0xe6)]);}[_0x4f0143(0xdd)](){var _0x44993a=_0x4f0143;super[_0x44993a(0xdd)](),this[_0x44993a(0xe6)][_0x44993a(0xd7)][_0x44993a(0xf0)]=this[_0x44993a(0xef)][_0x44993a(0xf3)],this[_0x44993a(0xd8)]();}}
23
+ var _0x438eff=_0x1e12;function _0x2c72(){var _0x18acb1=['markAsDone','div','23694590ZxNUdN','6NIiOhc','children','contextItems','innerHTML','7934591LoRiFl','element','3386495mZjIaX','194829mCgywM','_bodyCollection','_locale','render','add','4FpOZoU','ck-ai-chat__feed__message-content','options','initialContent','hidden','_messageContentView','8jwDRcW','filter','ck-ai-chat__feed__user-message','60021EjPGgR','setTemplate','extendTemplate','length','_createContextChipsView','ck-ai-chat__feed__context-chips','274773aSFRFp','_createMessageContentView','1887486osYdNm','_contextChipsView'];_0x2c72=function(){return _0x18acb1;};return _0x2c72();}(function(_0x3aa79d,_0x12a8bb){var _0x1fe0f3=_0x1e12,_0x18dd9b=_0x3aa79d();while(!![]){try{var _0x289def=-parseInt(_0x1fe0f3(0x19e))/0x1+-parseInt(_0x1fe0f3(0x192))/0x2+parseInt(_0x1fe0f3(0x190))/0x3*(-parseInt(_0x1fe0f3(0x1a3))/0x4)+-parseInt(_0x1fe0f3(0x19d))/0x5*(-parseInt(_0x1fe0f3(0x197))/0x6)+-parseInt(_0x1fe0f3(0x19b))/0x7*(parseInt(_0x1fe0f3(0x1a9))/0x8)+-parseInt(_0x1fe0f3(0x18a))/0x9+parseInt(_0x1fe0f3(0x196))/0xa;if(_0x289def===_0x12a8bb)break;else _0x18dd9b['push'](_0x18dd9b['shift']());}catch(_0x513e25){_0x18dd9b['push'](_0x18dd9b['shift']());}}}(_0x2c72,0xa523d));import{AIChatFeedItemView as _0x23fec0}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x4ad7ec}from'./aichatfeedcontextchipsview.js';import{View as _0x245f37}from'ckeditor5/src/ui.js';function _0x1e12(_0x394dbb,_0x15a6b4){var _0x2c72c6=_0x2c72();return _0x1e12=function(_0x1e121d,_0x31b3bb){_0x1e121d=_0x1e121d-0x188;var _0x1548ee=_0x2c72c6[_0x1e121d];return _0x1548ee;},_0x1e12(_0x394dbb,_0x15a6b4);}export class AIChatFeedUserMessageItemView extends _0x23fec0{[_0x438eff(0x193)]=null;[_0x438eff(0x1a0)];[_0x438eff(0x19f)];[_0x438eff(0x1a8)];constructor(_0x502349,_0x59600b,_0x4c1c06){var _0x255f3d=_0x438eff;super(_0x59600b),this[_0x255f3d(0x1a0)]=_0x502349,this[_0x255f3d(0x19f)]=_0x4c1c06,this[_0x255f3d(0x18e)](),this[_0x255f3d(0x191)](),this[_0x255f3d(0x18c)]({'attributes':{'class':[_0x255f3d(0x189)]}});}[_0x438eff(0x18e)](){var _0x2bae9e=_0x438eff;this[_0x2bae9e(0x1a5)][_0x2bae9e(0x199)]&&this[_0x2bae9e(0x1a5)][_0x2bae9e(0x199)][_0x2bae9e(0x18d)]>0x0&&(this[_0x2bae9e(0x193)]=new _0x4ad7ec(this[_0x2bae9e(0x1a0)],this[_0x2bae9e(0x1a5)][_0x2bae9e(0x199)][_0x2bae9e(0x188)](_0xf8b59d=>!_0xf8b59d[_0x2bae9e(0x1a7)]),this[_0x2bae9e(0x19f)]),this[_0x2bae9e(0x193)][_0x2bae9e(0x18c)]({'attributes':{'class':_0x2bae9e(0x18f)}}),this[_0x2bae9e(0x198)][_0x2bae9e(0x1a2)](this[_0x2bae9e(0x193)]));}[_0x438eff(0x191)](){var _0x48cfdb=_0x438eff;this[_0x48cfdb(0x1a8)]=new _0x245f37(this[_0x48cfdb(0x1a0)]),this[_0x48cfdb(0x1a8)][_0x48cfdb(0x18b)]({'tag':_0x48cfdb(0x195),'attributes':{'class':_0x48cfdb(0x1a4)}}),this[_0x48cfdb(0x198)][_0x48cfdb(0x1a2)](this[_0x48cfdb(0x1a8)]);}[_0x438eff(0x1a1)](){var _0x259895=_0x438eff;super[_0x259895(0x1a1)](),this[_0x259895(0x1a8)][_0x259895(0x19c)][_0x259895(0x19a)]=this[_0x259895(0x1a5)][_0x259895(0x1a6)],this[_0x259895(0x194)]();}}
@@ -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
- function _0x1813(_0x5c8318,_0x20e1a7){const _0x2937e7=_0x2937();return _0x1813=function(_0x1813a6,_0x4ba196){_0x1813a6=_0x1813a6-0x1a2;let _0x212385=_0x2937e7[_0x1813a6];return _0x212385;},_0x1813(_0x5c8318,_0x20e1a7);}const _0x240eff=_0x1813;(function(_0x4d1418,_0x285993){const _0xb4c18=_0x1813,_0x47c24c=_0x4d1418();while(!![]){try{const _0x1b7344=-parseInt(_0xb4c18(0x1bb))/0x1+parseInt(_0xb4c18(0x1b6))/0x2*(-parseInt(_0xb4c18(0x1bc))/0x3)+-parseInt(_0xb4c18(0x1aa))/0x4+-parseInt(_0xb4c18(0x1bf))/0x5+-parseInt(_0xb4c18(0x1a2))/0x6*(parseInt(_0xb4c18(0x1b3))/0x7)+-parseInt(_0xb4c18(0x1ab))/0x8*(-parseInt(_0xb4c18(0x1b0))/0x9)+-parseInt(_0xb4c18(0x1b5))/0xa*(-parseInt(_0xb4c18(0x1a6))/0xb);if(_0x1b7344===_0x285993)break;else _0x47c24c['push'](_0x47c24c['shift']());}catch(_0x39d16d){_0x47c24c['push'](_0x47c24c['shift']());}}}(_0x2937,0x4af3a));import{EmitterMixin as _0xcb5f5d}from'ckeditor5/src/utils.js';function _0x2937(){const _0x2036c3=['callback','884890unhKka','708888ocgTNt','queueEmptyPromise','reject','shift','16310591rhSiTL','push','_processQueue','enqueue','1955944kfNgts','456ZSqSPv','_abortController','fire','signal','once','35037pPPPTd','queue','length','7iICCCP','createTask','10VscfbA','486646RlXBCW','completePromise','resolve','isProcessing','abort','126922pUfohs','6LwPgjU','_queueEmpty'];_0x2937=function(){return _0x2036c3;};return _0x2937();}export class PromiseQueue extends _0xcb5f5d(){[_0x240eff(0x1b1)]=[];[_0x240eff(0x1b9)]=!0x1;[_0x240eff(0x1ac)];async[_0x240eff(0x1a9)](_0x437f46){const _0x3b1ee4=_0x240eff,_0x56aae1=this[_0x3b1ee4(0x1b4)](_0x437f46);return this[_0x3b1ee4(0x1b1)][_0x3b1ee4(0x1a7)](_0x56aae1),this[_0x3b1ee4(0x1a8)](),_0x56aae1[_0x3b1ee4(0x1b7)];}[_0x240eff(0x1ba)](){const _0x2303d2=_0x240eff;this[_0x2303d2(0x1b9)]&&(this[_0x2303d2(0x1ac)][_0x2303d2(0x1ba)](),this[_0x2303d2(0x1ac)]=void 0x0,this[_0x2303d2(0x1b1)]=[],this[_0x2303d2(0x1ad)](_0x2303d2(0x1bd)),this[_0x2303d2(0x1b9)]=!0x1);}get[_0x240eff(0x1a3)](){const _0x11126f=_0x240eff;return this[_0x11126f(0x1b1)][_0x11126f(0x1b2)]||this[_0x11126f(0x1b9)]?new Promise(_0x42939a=>{const _0x1c4635=_0x11126f;this[_0x1c4635(0x1af)](_0x1c4635(0x1bd),()=>{_0x42939a();});}):Promise[_0x11126f(0x1b8)]();}async[_0x240eff(0x1a8)](){const _0x43b056=_0x240eff;if(!this[_0x43b056(0x1b9)]){this[_0x43b056(0x1ac)]=new AbortController(),this[_0x43b056(0x1b9)]=!0x0;try{for(;this[_0x43b056(0x1b1)][_0x43b056(0x1b2)]&&this[_0x43b056(0x1b9)];){const _0x13a8e0=this[_0x43b056(0x1b1)][_0x43b056(0x1a5)]();try{await _0x13a8e0[_0x43b056(0x1be)](this[_0x43b056(0x1ac)][_0x43b056(0x1ae)]),_0x13a8e0[_0x43b056(0x1b8)]();}catch(_0xb2806e){_0x13a8e0[_0x43b056(0x1a4)](_0xb2806e);}}}finally{this[_0x43b056(0x1b9)]=!0x1,this[_0x43b056(0x1ac)]=void 0x0;}this[_0x43b056(0x1ad)](_0x43b056(0x1bd));}}[_0x240eff(0x1b4)](_0x5140aa){let _0x46bb11,_0x1431bd;const _0x50dac1=new Promise((_0x3bf71a,_0xaaf5cf)=>{_0x46bb11=_0x3bf71a,_0x1431bd=_0xaaf5cf;});return{'callback':_0x5140aa,'resolve':_0x46bb11,'reject':_0x1431bd,'completePromise':_0x50dac1};}}
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 _0x2165e1=_0x15c4;(function(_0x8a3045,_0x186f3d){var _0x52cb86=_0x15c4,_0x3a77be=_0x8a3045();while(!![]){try{var _0x2af9aa=parseInt(_0x52cb86(0x17a))/0x1*(parseInt(_0x52cb86(0x178))/0x2)+-parseInt(_0x52cb86(0x181))/0x3*(-parseInt(_0x52cb86(0x17f))/0x4)+parseInt(_0x52cb86(0x183))/0x5*(parseInt(_0x52cb86(0x179))/0x6)+-parseInt(_0x52cb86(0x176))/0x7+-parseInt(_0x52cb86(0x17d))/0x8*(-parseInt(_0x52cb86(0x185))/0x9)+-parseInt(_0x52cb86(0x17c))/0xa+parseInt(_0x52cb86(0x184))/0xb;if(_0x2af9aa===_0x186f3d)break;else _0x3a77be['push'](_0x3a77be['shift']());}catch(_0x115aa1){_0x3a77be['push'](_0x3a77be['shift']());}}}(_0x3841,0xe91dc));function _0x15c4(_0x134ac7,_0xf30be6){var _0x384123=_0x3841();return _0x15c4=function(_0x15c476,_0x39e61f){_0x15c476=_0x15c476-0x176;var _0x48228f=_0x384123[_0x15c476];return _0x48228f;},_0x15c4(_0x134ac7,_0xf30be6);}import{ContextPlugin as _0x381a2a}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x4f86d4}from'./aichathistorycontroller.js';function _0x3841(){var _0x4d7900=['9kwMAzt','8426026XRKbBD','AIChatHistory','12wpippb','10299012mliKVK','156971maIgoz','pluginName','18055750efvWmT','407464oHDZJw','requires','41176cYcyhD','isPremiumPlugin','279yPpljU','isOfficialPlugin','5foNkWO','3272874mwyyCB'];_0x3841=function(){return _0x4d7900;};return _0x3841();}import{AIChatHistoryUI as _0x192f1f}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x381a2a{static get[_0x2165e1(0x17e)](){return[_0x4f86d4,_0x192f1f];}static get[_0x2165e1(0x17b)](){var _0x2ebb1a=_0x2165e1;return _0x2ebb1a(0x177);}static get[_0x2165e1(0x182)](){return!0x0;}static get[_0x2165e1(0x180)](){return!0x0;}}
23
+ var _0x364805=_0x4aa9;(function(_0x993b40,_0x5815e3){var _0x484ade=_0x4aa9,_0x3c998b=_0x993b40();while(!![]){try{var _0x2b8832=-parseInt(_0x484ade(0x16e))/0x1+-parseInt(_0x484ade(0x170))/0x2+parseInt(_0x484ade(0x177))/0x3*(parseInt(_0x484ade(0x173))/0x4)+parseInt(_0x484ade(0x16c))/0x5+parseInt(_0x484ade(0x16d))/0x6+-parseInt(_0x484ade(0x16f))/0x7*(parseInt(_0x484ade(0x172))/0x8)+parseInt(_0x484ade(0x175))/0x9;if(_0x2b8832===_0x5815e3)break;else _0x3c998b['push'](_0x3c998b['shift']());}catch(_0x2cdb00){_0x3c998b['push'](_0x3c998b['shift']());}}}(_0x1246,0x2214e));import{ContextPlugin as _0x2f801d}from'ckeditor5/src/core.js';function _0x4aa9(_0x139829,_0x529300){var _0x124684=_0x1246();return _0x4aa9=function(_0x4aa969,_0x562ae2){_0x4aa969=_0x4aa969-0x16b;var _0x4cdc80=_0x124684[_0x4aa969];return _0x4cdc80;},_0x4aa9(_0x139829,_0x529300);}import{AIChatHistoryController as _0x10c38a}from'./aichathistorycontroller.js';function _0x1246(){var _0x4e1ff9=['714QiKAbA','478966srfguN','isPremiumPlugin','4168FBIOYL','926124Ocnpqw','requires','284265RCkzIa','isOfficialPlugin','3wmLfMK','pluginName','AIChatHistory','1078755fQZEJB','94590ctprPo','62409bWOOrR'];_0x1246=function(){return _0x4e1ff9;};return _0x1246();}import{AIChatHistoryUI as _0x20d51e}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x2f801d{static get[_0x364805(0x174)](){return[_0x10c38a,_0x20d51e];}static get[_0x364805(0x178)](){var _0x37d365=_0x364805;return _0x37d365(0x16b);}static get[_0x364805(0x176)](){return!0x0;}static get[_0x364805(0x171)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e5ecd=_0xeeed;(function(_0x4138ed,_0x4ebfa0){const _0x48d02c=_0xeeed,_0x2eecc7=_0x4138ed();while(!![]){try{const _0x1d6458=-parseInt(_0x48d02c(0x1e0))/0x1*(-parseInt(_0x48d02c(0x1b6))/0x2)+-parseInt(_0x48d02c(0x185))/0x3*(-parseInt(_0x48d02c(0x1de))/0x4)+-parseInt(_0x48d02c(0x1c4))/0x5+-parseInt(_0x48d02c(0x18b))/0x6+-parseInt(_0x48d02c(0x1a9))/0x7+-parseInt(_0x48d02c(0x1c6))/0x8+parseInt(_0x48d02c(0x1a3))/0x9;if(_0x1d6458===_0x4ebfa0)break;else _0x2eecc7['push'](_0x2eecc7['shift']());}catch(_0x343b21){_0x2eecc7['push'](_0x2eecc7['shift']());}}}(_0x3c0b,0x365b1));import{ContextPlugin as _0x1237da}from'ckeditor5/src/core.js';import{AIConnector as _0x174dc8}from'../aicore/aiconnector.js';import{AIChatController as _0x4f64c8}from'../aichat/aichatcontroller.js';import{AITabs as _0x27cff4}from'../aitabs/aitabs.js';function _0xeeed(_0x274495,_0x33c4a8){const _0x3c0b43=_0x3c0b();return _0xeeed=function(_0xeeed65,_0xf5ca15){_0xeeed65=_0xeeed65-0x180;let _0x43dc5e=_0x3c0b43[_0xeeed65];return _0x43dc5e;},_0xeeed(_0x274495,_0x33c4a8);}function _0x3c0b(){const _0x3ebe86=['showError','history','operation','_handleRemove','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','updateItemTitle','11162tRUyAA','error','setIsMaximized','selectConversation','_aiConnector','rename','_aiChatHistoryUi','resize','editConversationTitle','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','toLocaleDateString','setDate','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','AIChatHistoryController','1510385JZPsoJ','get','378392KWOOMA','unpin','AI_CHAT_HISTORY_ERROR_GENERIC','setConversationPinned','_updateHistoryItemsUI','itemsLoaded','getItem','_setIsMaximized','activateTab','_generateErrorMessage','updateItemPinned','pinned','init','AI_CHAT_HISTORY_CATEGORY_PINNED','removeConversation','removeHistoryItem','removeItem','activeConversation','isPremiumPlugin','_setItemLoading','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','_handleHistoryErrorUI','loadItems','items','8XvLzcQ','AI_CHAT_HISTORY_CATEGORY_LATER','16VkhsAA','listenTo','updateItemLoadingState','view','AI_CHAT_HISTORY_CATEGORY_TODAY','length','_handleSelectConversation','AI_CHAT_UNTITLED_CONVERSATION','_clearItemLoading','pin','127821EInmtw','context','updates','_aiChatController','resizeTabs','remove','1461138GxLntV','updateItems','getGroupId','handleRemovedConversation','_handleEditTitle','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','resizedTabs','requires','setLoadingSkeleton','_showConversationHistory','createdAt','AI_CHAT_HISTORY_UNPIN_ACTION','getFullYear','title','locale','activateTab:history','map','getMonth','_getCategorizedItems','chat','_handleTogglePin','itemRemoved','push','pluginName','6296310ZtcEwr','openChat','isOfficialPlugin','getDate','itemId','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','409920sTmHri','change:activeConversation','plugins','itemUpdated','getItems','loadConversation','AI_CHAT_HISTORY_PIN_ACTION'];_0x3c0b=function(){return _0x3ebe86;};return _0x3c0b();}import{AIChatHistoryUI as _0x67c2d3}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x278f54}from'./model/aichathistoryconversations.js';import{getTranslation as _0x31297c}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x1237da{[_0x1e5ecd(0x1ba)];[_0x1e5ecd(0x1bc)];[_0x1e5ecd(0x188)];static get[_0x1e5ecd(0x192)](){return[_0x174dc8,_0x4f64c8,_0x67c2d3,_0x27cff4];}static get[_0x1e5ecd(0x1a2)](){const _0x16d63c=_0x1e5ecd;return _0x16d63c(0x1c3);}static get[_0x1e5ecd(0x1a5)](){return!0x0;}static get[_0x1e5ecd(0x1d8)](){return!0x0;}[_0x1e5ecd(0x1d2)](){const _0x1553ef=_0x1e5ecd;this[_0x1553ef(0x1ba)]=this[_0x1553ef(0x186)][_0x1553ef(0x1ab)][_0x1553ef(0x1c5)](_0x174dc8),this[_0x1553ef(0x1bc)]=this[_0x1553ef(0x186)][_0x1553ef(0x1ab)][_0x1553ef(0x1c5)](_0x67c2d3),this[_0x1553ef(0x188)]=this[_0x1553ef(0x186)][_0x1553ef(0x1ab)][_0x1553ef(0x1c5)](_0x4f64c8);const _0x3f85c4=this[_0x1553ef(0x186)][_0x1553ef(0x1ab)][_0x1553ef(0x1c5)](_0x27cff4);try{const _0x3ed921=this[_0x1553ef(0x188)][_0x1553ef(0x18d)]();this[_0x1553ef(0x1b1)]=new _0x278f54({'connector':this[_0x1553ef(0x1ba)],'group':_0x3ed921}),this[_0x1553ef(0x1e1)](this[_0x1553ef(0x1bc)],_0x1553ef(0x1d4),(_0x4def8f,_0x24c1b8)=>{const _0x129fb8=_0x1553ef;this[_0x129fb8(0x1d9)](_0x24c1b8['id'],_0x129fb8(0x18a)),this[_0x129fb8(0x1b3)](_0x24c1b8['id']);}),this[_0x1553ef(0x1e1)](this[_0x1553ef(0x1bc)],_0x1553ef(0x1be),(_0x1571c6,_0x3560cd)=>{const _0x172e5d=_0x1553ef;this[_0x172e5d(0x1d9)](_0x3560cd['id'],_0x172e5d(0x1bb)),this[_0x172e5d(0x18f)](_0x3560cd['id'],_0x3560cd[_0x172e5d(0x198)]);}),this[_0x1553ef(0x1e1)](this[_0x1553ef(0x1b1)],_0x1553ef(0x1ac),(_0x327b55,_0x57cb72)=>{const _0x41ec55=_0x1553ef;void 0x0!==_0x57cb72[_0x41ec55(0x187)][_0x41ec55(0x198)]&&this[_0x41ec55(0x1bc)][_0x41ec55(0x1b5)](_0x57cb72[_0x41ec55(0x1a7)],_0x57cb72[_0x41ec55(0x187)][_0x41ec55(0x198)]),void 0x0!==_0x57cb72[_0x41ec55(0x187)][_0x41ec55(0x1d1)]&&this[_0x41ec55(0x1ca)](),this[_0x41ec55(0x183)](_0x57cb72[_0x41ec55(0x1a7)]);}),this[_0x1553ef(0x1e1)](this[_0x1553ef(0x1b1)],_0x1553ef(0x1a0),(_0x216705,_0x33ab59)=>{const _0x524443=_0x1553ef;this[_0x524443(0x188)][_0x524443(0x18e)](_0x33ab59[_0x524443(0x1a7)]),this[_0x524443(0x1bc)][_0x524443(0x1d5)](_0x33ab59[_0x524443(0x1a7)]),this[_0x524443(0x183)](_0x33ab59[_0x524443(0x1a7)]);}),this[_0x1553ef(0x1e1)](this[_0x1553ef(0x1b1)],_0x1553ef(0x1cb),()=>{const _0x58b020=_0x1553ef;this[_0x58b020(0x1ca)]();}),this[_0x1553ef(0x1e1)](this[_0x1553ef(0x1b1)],_0x1553ef(0x1b7),(_0x30fa5b,_0x567e03)=>{const _0xfd79e9=_0x1553ef;this[_0xfd79e9(0x1db)](_0x567e03[_0xfd79e9(0x1b7)],_0x567e03[_0xfd79e9(0x1b2)],_0x567e03[_0xfd79e9(0x1a7)]);}),this[_0x1553ef(0x1e1)](this[_0x1553ef(0x1bc)],_0x1553ef(0x1b9),(_0x159d2c,_0xdb6c3a)=>{const _0x598ae8=_0x1553ef;this[_0x598ae8(0x181)](_0xdb6c3a['id']);}),this[_0x1553ef(0x1e1)](this[_0x1553ef(0x1bc)],_0x1553ef(0x1c9),(_0x268faf,_0x4533df)=>{const _0x5974ac=_0x1553ef,_0x5ce262=_0x4533df[_0x5974ac(0x1d1)]?_0x5974ac(0x184):_0x5974ac(0x1c7);this[_0x5974ac(0x1d9)](_0x4533df['id'],_0x5ce262),this[_0x5974ac(0x19f)](_0x4533df['id'],_0x4533df[_0x5974ac(0x1d1)]);}),this[_0x1553ef(0x1e1)](this[_0x1553ef(0x1bc)],_0x1553ef(0x1a4),()=>{const _0x4cba9d=_0x1553ef;_0x3f85c4[_0x4cba9d(0x1e3)][_0x4cba9d(0x1ce)](_0x4cba9d(0x19e));}),this[_0x1553ef(0x1e1)](this[_0x1553ef(0x188)],_0x1553ef(0x1aa),()=>{const _0x5609a9=_0x1553ef;this[_0x5609a9(0x1ca)]();}),_0x3f85c4[_0x1553ef(0x1e3)]['on'](_0x1553ef(0x19a),()=>{const _0x1f3d36=_0x1553ef;this[_0x1f3d36(0x194)]();}),this[_0x1553ef(0x1e1)](_0x3f85c4,_0x1553ef(0x191),(_0x214adb,_0x578030)=>{const _0x259a4e=_0x1553ef;this[_0x259a4e(0x1cd)](_0x578030);}),this[_0x1553ef(0x1e1)](this[_0x1553ef(0x1bc)],_0x1553ef(0x189),()=>{const _0x6a735e=_0x1553ef;_0x3f85c4[_0x6a735e(0x1bd)]();});}catch(_0x43073a){this[_0x1553ef(0x1db)](_0x43073a,_0x1553ef(0x1d2));}}async[_0x1e5ecd(0x18f)](_0x5ccb67,_0x3f1cf1){const _0x1b2eb9=_0x1e5ecd;await this[_0x1b2eb9(0x1b1)][_0x1b2eb9(0x1b5)](_0x5ccb67,_0x3f1cf1);}async[_0x1e5ecd(0x19f)](_0xf4ae4e,_0x43135f){const _0x308d12=_0x1e5ecd;await this[_0x308d12(0x1b1)][_0x308d12(0x1d0)](_0xf4ae4e,_0x43135f);}async[_0x1e5ecd(0x1b3)](_0x3ebc96){const _0x49ce64=_0x1e5ecd;await this[_0x49ce64(0x1b1)][_0x49ce64(0x1d6)](_0x3ebc96);}async[_0x1e5ecd(0x181)](_0x43edb0){const _0x426fb3=_0x1e5ecd;await this[_0x426fb3(0x188)][_0x426fb3(0x1ae)](_0x43edb0);}async[_0x1e5ecd(0x194)](){const _0x56985e=_0x1e5ecd;this[_0x56985e(0x1bc)][_0x56985e(0x1b0)](''),this[_0x56985e(0x1bc)][_0x56985e(0x193)](!0x0),await this[_0x56985e(0x1b1)][_0x56985e(0x1d2)](),this[_0x56985e(0x1bc)][_0x56985e(0x193)](!0x1);}[_0x1e5ecd(0x1ca)](){const _0x571d68=_0x1e5ecd,_0x31009f=this[_0x571d68(0x188)][_0x571d68(0x1d7)]?.['id'],_0x197e94=this[_0x571d68(0x19d)]()[_0x571d68(0x19b)](_0x2fed4c=>({'title':_0x2fed4c[_0x571d68(0x198)],'items':_0x2fed4c[_0x571d68(0x1dd)][_0x571d68(0x19b)](_0x599cad=>({'id':_0x599cad['id'],'title':_0x599cad[_0x571d68(0x198)]||_0x31297c(this[_0x571d68(0x186)][_0x571d68(0x199)],_0x571d68(0x182)),'createdAt':new Date(_0x599cad[_0x571d68(0x195)])[_0x571d68(0x1c0)](),'active':_0x599cad['id']===_0x31009f,'pinned':_0x599cad[_0x571d68(0x1d1)]}))}));this[_0x571d68(0x1bc)][_0x571d68(0x18c)](_0x197e94);}[_0x1e5ecd(0x1d9)](_0x3f5109,_0x23fede){const _0x597dee=_0x1e5ecd;this[_0x597dee(0x1bc)][_0x597dee(0x1e2)](_0x3f5109,_0x23fede,!0x0);}[_0x1e5ecd(0x183)](_0x5516fc){const _0x50a26a=_0x1e5ecd;this[_0x50a26a(0x1bc)][_0x50a26a(0x1e2)](_0x5516fc,null,!0x1);}[_0x1e5ecd(0x1db)](_0x13c6e2,_0x388135,_0x18efea){const _0x46d6f1=_0x1e5ecd,_0x12b250=this[_0x46d6f1(0x1cf)](_0x388135,_0x18efea);this[_0x46d6f1(0x1bc)][_0x46d6f1(0x1b0)](_0x12b250),_0x18efea&&this[_0x46d6f1(0x183)](_0x18efea),this[_0x46d6f1(0x1bc)][_0x46d6f1(0x193)](!0x1);}[_0x1e5ecd(0x1cf)](_0x1abf21,_0x1544b0){const _0x29f367=_0x1e5ecd,_0xfb7453=_0x1544b0?this[_0x29f367(0x1b1)][_0x29f367(0x1cc)](_0x1544b0):null,_0x1ed256=_0xfb7453?.[_0x29f367(0x198)]||_0x31297c(this[_0x29f367(0x186)][_0x29f367(0x199)],_0x29f367(0x182));switch(_0x1abf21){case _0x29f367(0x1b5):return _0x31297c(this[_0x29f367(0x186)][_0x29f367(0x199)],_0x29f367(0x190),_0x1ed256);case _0x29f367(0x1d0):{const _0x1bee94=_0x31297c(this[_0x29f367(0x186)][_0x29f367(0x199)],_0xfb7453?.[_0x29f367(0x1d1)]?_0x29f367(0x196):_0x29f367(0x1af));return _0x31297c(this[_0x29f367(0x186)][_0x29f367(0x199)],_0x29f367(0x1da),[_0x1bee94,_0x1ed256]);}case _0x29f367(0x1d6):return _0x31297c(this[_0x29f367(0x186)][_0x29f367(0x199)],_0x29f367(0x1b4),_0x1ed256);case _0x29f367(0x1d2):case _0x29f367(0x1dc):return _0x31297c(this[_0x29f367(0x186)][_0x29f367(0x199)],_0x29f367(0x1a8));default:return _0x31297c(this[_0x29f367(0x186)][_0x29f367(0x199)],_0x29f367(0x1c8));}}[_0x1e5ecd(0x19d)](){const _0x5d9f17=_0x1e5ecd,_0x40f720=new Date(),_0x675dd6=new Date(_0x40f720[_0x5d9f17(0x197)](),_0x40f720[_0x5d9f17(0x19c)](),_0x40f720[_0x5d9f17(0x1a6)]()),_0x1c510b=new Date(_0x675dd6);_0x1c510b[_0x5d9f17(0x1c1)](_0x1c510b[_0x5d9f17(0x1a6)]()-0x1);const _0x5b7062=new Date(_0x675dd6);_0x5b7062[_0x5d9f17(0x1c1)](_0x5b7062[_0x5d9f17(0x1a6)]()-0xe);const _0xaf41f8=this[_0x5d9f17(0x1b1)][_0x5d9f17(0x1ad)]({'pinned':!0x0}),_0x231b01=this[_0x5d9f17(0x1b1)][_0x5d9f17(0x1ad)]({'from':_0x675dd6,'to':_0x675dd6}),_0x1209fa=this[_0x5d9f17(0x1b1)][_0x5d9f17(0x1ad)]({'from':_0x1c510b,'to':_0x1c510b}),_0x2c7f2c=this[_0x5d9f17(0x1b1)][_0x5d9f17(0x1ad)]({'from':_0x5b7062,'to':_0x1c510b}),_0x24acae=this[_0x5d9f17(0x1b1)][_0x5d9f17(0x1ad)]({'to':_0x5b7062}),_0x401276=[];return _0xaf41f8[_0x5d9f17(0x180)]>0x0&&_0x401276[_0x5d9f17(0x1a1)]({'title':_0x31297c(this[_0x5d9f17(0x186)][_0x5d9f17(0x199)],_0x5d9f17(0x1d3)),'items':_0xaf41f8}),_0x231b01[_0x5d9f17(0x180)]>0x0&&_0x401276[_0x5d9f17(0x1a1)]({'title':_0x31297c(this[_0x5d9f17(0x186)][_0x5d9f17(0x199)],_0x5d9f17(0x1e4)),'items':_0x231b01}),_0x1209fa[_0x5d9f17(0x180)]>0x0&&_0x401276[_0x5d9f17(0x1a1)]({'title':_0x31297c(this[_0x5d9f17(0x186)][_0x5d9f17(0x199)],_0x5d9f17(0x1c2)),'items':_0x1209fa}),_0x2c7f2c[_0x5d9f17(0x180)]>0x0&&_0x401276[_0x5d9f17(0x1a1)]({'title':_0x31297c(this[_0x5d9f17(0x186)][_0x5d9f17(0x199)],_0x5d9f17(0x1bf)),'items':_0x2c7f2c}),_0x24acae[_0x5d9f17(0x180)]>0x0&&_0x401276[_0x5d9f17(0x1a1)]({'title':_0x31297c(this[_0x5d9f17(0x186)][_0x5d9f17(0x199)],_0x5d9f17(0x1df)),'items':_0x24acae}),_0x401276;}[_0x1e5ecd(0x1cd)](_0x33903a){const _0x177e12=_0x1e5ecd;this[_0x177e12(0x1bc)][_0x177e12(0x1b8)](_0x33903a);}}
23
+ const _0x1b4b58=_0x1a81;(function(_0x768b8e,_0x1e0f84){const _0x30886c=_0x1a81,_0x385701=_0x768b8e();while(!![]){try{const _0x1ba07b=parseInt(_0x30886c(0xf3))/0x1*(parseInt(_0x30886c(0xed))/0x2)+-parseInt(_0x30886c(0x93))/0x3*(-parseInt(_0x30886c(0xb7))/0x4)+-parseInt(_0x30886c(0xa0))/0x5+-parseInt(_0x30886c(0xa3))/0x6+parseInt(_0x30886c(0xbf))/0x7*(parseInt(_0x30886c(0xa6))/0x8)+parseInt(_0x30886c(0xc7))/0x9*(-parseInt(_0x30886c(0xe2))/0xa)+parseInt(_0x30886c(0xc4))/0xb*(parseInt(_0x30886c(0xd3))/0xc);if(_0x1ba07b===_0x1e0f84)break;else _0x385701['push'](_0x385701['shift']());}catch(_0x5795d7){_0x385701['push'](_0x385701['shift']());}}}(_0x52bc,0x2ce10));import{ContextPlugin as _0x24312d}from'ckeditor5/src/core.js';function _0x52bc(){const _0x59f9ce=['_aiConnector','_setIsMaximized','116832TeolmM','get','createdAt','24ZoYogv','updateItemPinned','selectConversation','change:activeConversation','setIsMaximized','AI_CHAT_HISTORY_CATEGORY_TODAY','updateItemTitle','operation','toLocaleDateString','_handleRemove','_handleHistoryErrorUI','pin','map','loadItems','resizeTabs','resizedTabs','_getCategorizedItems','36vOZKmM','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','_setItemLoading','setConversationPinned','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','locale','getMonth','_generateErrorMessage','407050WOzTtV','error','getGroupId','listenTo','activateTab:history','1595iYOlkq','context','init','9STMxPh','AI_CHAT_HISTORY_PIN_ACTION','isPremiumPlugin','_clearItemLoading','loadConversation','requires','AI_CHAT_HISTORY_ERROR_GENERIC','setLoadingSkeleton','remove','getItems','openChat','getItem','11700VWinyo','_aiChatHistoryUi','pinned','_handleEditTitle','activateTab','removeItem','showError','setDate','removeConversation','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','getFullYear','chat','plugins','itemUpdated','1162690tRgIuM','pluginName','updateItems','_aiChatController','isOfficialPlugin','editConversationTitle','itemRemoved','AIChatHistoryController','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','AI_CHAT_HISTORY_CATEGORY_LATER','itemsLoaded','2bYeLNB','itemId','removeHistoryItem','items','updateItemLoadingState','resize','164354TNaHwH','handleRemovedConversation','rename','view','length','unpin','_handleSelectConversation','AI_CHAT_UNTITLED_CONVERSATION','30909rJArta','getDate','history','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','_handleTogglePin','activeConversation','_showConversationHistory','AI_CHAT_HISTORY_UNPIN_ACTION','AI_CHAT_HISTORY_CATEGORY_PINNED','title','updates','_updateHistoryItemsUI','push','1266705SfnYfj'];_0x52bc=function(){return _0x59f9ce;};return _0x52bc();}import{AIConnector as _0x6b0dd7}from'../aicore/aiconnector.js';import{AIChatController as _0x55f9e0}from'../aichat/aichatcontroller.js';import{AITabs as _0x24a0bf}from'../aitabs/aitabs.js';function _0x1a81(_0x3e1633,_0x5dd960){const _0x52bc63=_0x52bc();return _0x1a81=function(_0x1a81d1,_0x5cc1df){_0x1a81d1=_0x1a81d1-0x8d;let _0x12b34b=_0x52bc63[_0x1a81d1];return _0x12b34b;},_0x1a81(_0x3e1633,_0x5dd960);}import{AIChatHistoryUI as _0x1c8105}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x453187}from'./model/aichathistoryconversations.js';import{getTranslation as _0x599af0}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x24312d{[_0x1b4b58(0xa1)];[_0x1b4b58(0xd4)];[_0x1b4b58(0xe5)];static get[_0x1b4b58(0xcc)](){return[_0x6b0dd7,_0x55f9e0,_0x1c8105,_0x24a0bf];}static get[_0x1b4b58(0xe3)](){const _0x1209d1=_0x1b4b58;return _0x1209d1(0xe9);}static get[_0x1b4b58(0xe6)](){return!0x0;}static get[_0x1b4b58(0xc9)](){return!0x0;}[_0x1b4b58(0xc6)](){const _0x53bc3a=_0x1b4b58;this[_0x53bc3a(0xa1)]=this[_0x53bc3a(0xc5)][_0x53bc3a(0xe0)][_0x53bc3a(0xa4)](_0x6b0dd7),this[_0x53bc3a(0xd4)]=this[_0x53bc3a(0xc5)][_0x53bc3a(0xe0)][_0x53bc3a(0xa4)](_0x1c8105),this[_0x53bc3a(0xe5)]=this[_0x53bc3a(0xc5)][_0x53bc3a(0xe0)][_0x53bc3a(0xa4)](_0x55f9e0);const _0x411655=this[_0x53bc3a(0xc5)][_0x53bc3a(0xe0)][_0x53bc3a(0xa4)](_0x24a0bf);try{const _0x57152d=this[_0x53bc3a(0xe5)][_0x53bc3a(0xc1)]();this[_0x53bc3a(0x95)]=new _0x453187({'connector':this[_0x53bc3a(0xa1)],'group':_0x57152d}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xdb),(_0xc32579,_0x5d0c96)=>{const _0x468edb=_0x53bc3a;this[_0x468edb(0xb9)](_0x5d0c96['id'],_0x468edb(0xcf)),this[_0x468edb(0xaf)](_0x5d0c96['id']);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xe7),(_0x50b2e1,_0xd2ac64)=>{const _0x1db107=_0x53bc3a;this[_0x1db107(0xb9)](_0xd2ac64['id'],_0x1db107(0x8d)),this[_0x1db107(0xd6)](_0xd2ac64['id'],_0xd2ac64[_0x1db107(0x9c)]);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0x95)],_0x53bc3a(0xe1),(_0x4c1df3,_0x42eab1)=>{const _0x523a1d=_0x53bc3a;void 0x0!==_0x42eab1[_0x523a1d(0x9d)][_0x523a1d(0x9c)]&&this[_0x523a1d(0xd4)][_0x523a1d(0xac)](_0x42eab1[_0x523a1d(0xee)],_0x42eab1[_0x523a1d(0x9d)][_0x523a1d(0x9c)]),void 0x0!==_0x42eab1[_0x523a1d(0x9d)][_0x523a1d(0xd5)]&&this[_0x523a1d(0x9e)](),this[_0x523a1d(0xca)](_0x42eab1[_0x523a1d(0xee)]);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0x95)],_0x53bc3a(0xe8),(_0x3563bc,_0x1d251b)=>{const _0x10654a=_0x53bc3a;this[_0x10654a(0xe5)][_0x10654a(0xf4)](_0x1d251b[_0x10654a(0xee)]),this[_0x10654a(0xd4)][_0x10654a(0xef)](_0x1d251b[_0x10654a(0xee)]),this[_0x10654a(0xca)](_0x1d251b[_0x10654a(0xee)]);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0x95)],_0x53bc3a(0xec),()=>{const _0x33c90f=_0x53bc3a;this[_0x33c90f(0x9e)]();}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0x95)],_0x53bc3a(0xc0),(_0x1a0a30,_0x270be6)=>{const _0x40630c=_0x53bc3a;this[_0x40630c(0xb0)](_0x270be6[_0x40630c(0xc0)],_0x270be6[_0x40630c(0xad)],_0x270be6[_0x40630c(0xee)]);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xa8),(_0x21d34f,_0x1e5945)=>{const _0x1960de=_0x53bc3a;this[_0x1960de(0x91)](_0x1e5945['id']);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xba),(_0x301101,_0x16562e)=>{const _0x2c3b7c=_0x53bc3a,_0x5698ca=_0x16562e[_0x2c3b7c(0xd5)]?_0x2c3b7c(0xb1):_0x2c3b7c(0x90);this[_0x2c3b7c(0xb9)](_0x16562e['id'],_0x5698ca),this[_0x2c3b7c(0x97)](_0x16562e['id'],_0x16562e[_0x2c3b7c(0xd5)]);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xd1),()=>{const _0x3b2c42=_0x53bc3a;_0x411655[_0x3b2c42(0x8e)][_0x3b2c42(0xd7)](_0x3b2c42(0xdf));}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xe5)],_0x53bc3a(0xa9),()=>{const _0x5c5bd0=_0x53bc3a;this[_0x5c5bd0(0x9e)]();}),_0x411655[_0x53bc3a(0x8e)]['on'](_0x53bc3a(0xc3),()=>{const _0xa1256d=_0x53bc3a;this[_0xa1256d(0x99)]();}),this[_0x53bc3a(0xc2)](_0x411655,_0x53bc3a(0xb5),(_0x16f53f,_0x2acb49)=>{const _0x1307d6=_0x53bc3a;this[_0x1307d6(0xa2)](_0x2acb49);}),this[_0x53bc3a(0xc2)](this[_0x53bc3a(0xd4)],_0x53bc3a(0xb4),()=>{const _0x27b4ad=_0x53bc3a;_0x411655[_0x27b4ad(0xf2)]();});}catch(_0x209481){this[_0x53bc3a(0xb0)](_0x209481,_0x53bc3a(0xc6));}}async[_0x1b4b58(0xd6)](_0x4b39f3,_0x43759e){const _0x5d5c3b=_0x1b4b58;await this[_0x5d5c3b(0x95)][_0x5d5c3b(0xac)](_0x4b39f3,_0x43759e);}async[_0x1b4b58(0x97)](_0x45c2d9,_0x55452c){const _0x23b9cf=_0x1b4b58;await this[_0x23b9cf(0x95)][_0x23b9cf(0xa7)](_0x45c2d9,_0x55452c);}async[_0x1b4b58(0xaf)](_0x1bd7cc){const _0x47ae46=_0x1b4b58;await this[_0x47ae46(0x95)][_0x47ae46(0xd8)](_0x1bd7cc);}async[_0x1b4b58(0x91)](_0x105e6a){const _0x2ec04f=_0x1b4b58;await this[_0x2ec04f(0xe5)][_0x2ec04f(0xcb)](_0x105e6a);}async[_0x1b4b58(0x99)](){const _0x31d30e=_0x1b4b58;this[_0x31d30e(0xd4)][_0x31d30e(0xd9)](''),this[_0x31d30e(0xd4)][_0x31d30e(0xce)](!0x0),await this[_0x31d30e(0x95)][_0x31d30e(0xc6)](),this[_0x31d30e(0xd4)][_0x31d30e(0xce)](!0x1);}[_0x1b4b58(0x9e)](){const _0x2d9130=_0x1b4b58,_0x57f379=this[_0x2d9130(0xe5)][_0x2d9130(0x98)]?.['id'],_0x328d61=this[_0x2d9130(0xb6)]()[_0x2d9130(0xb2)](_0x47f883=>({'title':_0x47f883[_0x2d9130(0x9c)],'items':_0x47f883[_0x2d9130(0xf0)][_0x2d9130(0xb2)](_0x53deb4=>({'id':_0x53deb4['id'],'title':_0x53deb4[_0x2d9130(0x9c)]||_0x599af0(this[_0x2d9130(0xc5)][_0x2d9130(0xbc)],_0x2d9130(0x92)),'createdAt':new Date(_0x53deb4[_0x2d9130(0xa5)])[_0x2d9130(0xae)](),'active':_0x53deb4['id']===_0x57f379,'pinned':_0x53deb4[_0x2d9130(0xd5)]}))}));this[_0x2d9130(0xd4)][_0x2d9130(0xe4)](_0x328d61);}[_0x1b4b58(0xb9)](_0x2be2d8,_0x4fa28f){const _0x32565a=_0x1b4b58;this[_0x32565a(0xd4)][_0x32565a(0xf1)](_0x2be2d8,_0x4fa28f,!0x0);}[_0x1b4b58(0xca)](_0x492ca7){const _0x385952=_0x1b4b58;this[_0x385952(0xd4)][_0x385952(0xf1)](_0x492ca7,null,!0x1);}[_0x1b4b58(0xb0)](_0x2fda00,_0x3dd4ea,_0xf7db5f){const _0x3d51f3=_0x1b4b58,_0x1f576f=this[_0x3d51f3(0xbe)](_0x3dd4ea,_0xf7db5f);this[_0x3d51f3(0xd4)][_0x3d51f3(0xd9)](_0x1f576f),_0xf7db5f&&this[_0x3d51f3(0xca)](_0xf7db5f),this[_0x3d51f3(0xd4)][_0x3d51f3(0xce)](!0x1);}[_0x1b4b58(0xbe)](_0x42dfb3,_0x12cb51){const _0x437328=_0x1b4b58,_0x25a156=_0x12cb51?this[_0x437328(0x95)][_0x437328(0xd2)](_0x12cb51):null,_0x144c97=_0x25a156?.[_0x437328(0x9c)]||_0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0x92));switch(_0x42dfb3){case _0x437328(0xac):return _0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0x96),_0x144c97);case _0x437328(0xa7):{const _0x4a2f5d=_0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x25a156?.[_0x437328(0xd5)]?_0x437328(0x9a):_0x437328(0xc8));return _0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0xea),[_0x4a2f5d,_0x144c97]);}case _0x437328(0xd8):return _0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0xdc),_0x144c97);case _0x437328(0xc6):case _0x437328(0xb3):return _0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0xb8));default:return _0x599af0(this[_0x437328(0xc5)][_0x437328(0xbc)],_0x437328(0xcd));}}[_0x1b4b58(0xb6)](){const _0x182152=_0x1b4b58,_0x58e80a=new Date(),_0x3455c4=new Date(_0x58e80a[_0x182152(0xde)](),_0x58e80a[_0x182152(0xbd)](),_0x58e80a[_0x182152(0x94)]()),_0x4a594d=new Date(_0x3455c4);_0x4a594d[_0x182152(0xda)](_0x4a594d[_0x182152(0x94)]()-0x1);const _0x5cc4a7=new Date(_0x3455c4);_0x5cc4a7[_0x182152(0xda)](_0x5cc4a7[_0x182152(0x94)]()-0xe);const _0xf8d95c=this[_0x182152(0x95)][_0x182152(0xd0)]({'pinned':!0x0}),_0x17c1b3=this[_0x182152(0x95)][_0x182152(0xd0)]({'from':_0x3455c4,'to':_0x3455c4}),_0x11f50c=this[_0x182152(0x95)][_0x182152(0xd0)]({'from':_0x4a594d,'to':_0x4a594d}),_0x38170b=this[_0x182152(0x95)][_0x182152(0xd0)]({'from':_0x5cc4a7,'to':_0x4a594d}),_0x16aee3=this[_0x182152(0x95)][_0x182152(0xd0)]({'to':_0x5cc4a7}),_0x25ed9a=[];return _0xf8d95c[_0x182152(0x8f)]>0x0&&_0x25ed9a[_0x182152(0x9f)]({'title':_0x599af0(this[_0x182152(0xc5)][_0x182152(0xbc)],_0x182152(0x9b)),'items':_0xf8d95c}),_0x17c1b3[_0x182152(0x8f)]>0x0&&_0x25ed9a[_0x182152(0x9f)]({'title':_0x599af0(this[_0x182152(0xc5)][_0x182152(0xbc)],_0x182152(0xab)),'items':_0x17c1b3}),_0x11f50c[_0x182152(0x8f)]>0x0&&_0x25ed9a[_0x182152(0x9f)]({'title':_0x599af0(this[_0x182152(0xc5)][_0x182152(0xbc)],_0x182152(0xbb)),'items':_0x11f50c}),_0x38170b[_0x182152(0x8f)]>0x0&&_0x25ed9a[_0x182152(0x9f)]({'title':_0x599af0(this[_0x182152(0xc5)][_0x182152(0xbc)],_0x182152(0xdd)),'items':_0x38170b}),_0x16aee3[_0x182152(0x8f)]>0x0&&_0x25ed9a[_0x182152(0x9f)]({'title':_0x599af0(this[_0x182152(0xc5)][_0x182152(0xbc)],_0x182152(0xeb)),'items':_0x16aee3}),_0x25ed9a;}[_0x1b4b58(0xa2)](_0x5453d2){const _0x27b46f=_0x1b4b58;this[_0x27b46f(0xd4)][_0x27b46f(0xaa)](_0x5453d2);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ec01e=_0x1b47;(function(_0x2d4e9b,_0x3c6460){const _0x4d8e52=_0x1b47,_0x5da0fb=_0x2d4e9b();while(!![]){try{const _0x108ff2=-parseInt(_0x4d8e52(0xbd))/0x1*(-parseInt(_0x4d8e52(0xac))/0x2)+-parseInt(_0x4d8e52(0xc6))/0x3*(-parseInt(_0x4d8e52(0xab))/0x4)+parseInt(_0x4d8e52(0xc2))/0x5*(-parseInt(_0x4d8e52(0xaf))/0x6)+parseInt(_0x4d8e52(0xa4))/0x7*(-parseInt(_0x4d8e52(0xad))/0x8)+parseInt(_0x4d8e52(0xa8))/0x9+-parseInt(_0x4d8e52(0xb4))/0xa+parseInt(_0x4d8e52(0xaa))/0xb;if(_0x108ff2===_0x3c6460)break;else _0x5da0fb['push'](_0x5da0fb['shift']());}catch(_0x3fa7d1){_0x5da0fb['push'](_0x5da0fb['shift']());}}}(_0x3fe3,0x648a5));import{ContextPlugin as _0x78e163}from'ckeditor5/src/core.js';import{AITabs as _0x40e406}from'../aitabs/aitabs.js';import{IconAIHistory as _0xd7c59a}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x2f2e8f}from'./ui/aichathistoryview.js';import{getTranslation as _0x542a5c}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x2ec01e(0xb5),_0x2ec01e(0xb3),_0x2ec01e(0xc8),_0x2ec01e(0xca),_0x2ec01e(0xb8),_0x2ec01e(0xc3),_0x2ec01e(0xb9)];function _0x3fe3(){const _0x4affdd=['AIChatHistoryUI','77214dEceHO','AI_CHAT_HISTORY_HEADING','updateItemTitle','history','removeConversation','4826190NowQBc','showConversationHistory','showError','updateHistoryItemsWithCategories','selectConversation','resizeTabs','delegate','showResizeButton','get','8273SzKBGL','AITabs','hideError','pluginName','setLoadingSkeleton','255fLlkZI','openChat','requires','updateItems','3xsxDkz','updateItemLoadingState','editConversationTitle','plugins','setConversationPinned','isOfficialPlugin','view','locale','setIsMaximized','errorMessage','isLoading','_historyView','addTab','124537zHDiQL','isPremiumPlugin','removeHistoryItem','context','6756588JBKOZB','isMaximized','2826758NpPCnV','1551932zoacAc','102iXDOcW','120tXzWCV'];_0x3fe3=function(){return _0x4affdd;};return _0x3fe3();}function _0x1b47(_0x2f8cef,_0x3fe698){const _0x3fe3e0=_0x3fe3();return _0x1b47=function(_0x1b4730,_0x31a5a4){_0x1b4730=_0x1b4730-0x9c;let _0x813839=_0x3fe3e0[_0x1b4730];return _0x813839;},_0x1b47(_0x2f8cef,_0x3fe698);}export class AIChatHistoryUI extends _0x78e163{static get[_0x2ec01e(0xc4)](){return[_0x40e406];}[_0x2ec01e(0xa2)];static get[_0x2ec01e(0xc0)](){const _0x57019b=_0x2ec01e;return _0x57019b(0xae);}static get[_0x2ec01e(0x9c)](){return!0x0;}static get[_0x2ec01e(0xa5)](){return!0x0;}constructor(_0x5a008c){const _0x18b1f1=_0x2ec01e;super(_0x5a008c);const _0x49e730=this[_0x18b1f1(0xa7)][_0x18b1f1(0xc9)][_0x18b1f1(0xbc)](_0x18b1f1(0xbe));this[_0x18b1f1(0xa2)]=new _0x2f2e8f(this[_0x18b1f1(0xa7)][_0x18b1f1(0x9e)],_0x49e730[_0x18b1f1(0xbb)]),this[_0x18b1f1(0xa2)][_0x18b1f1(0xba)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x49e730[_0x18b1f1(0x9d)][_0x18b1f1(0xa3)]({'id':_0x18b1f1(0xb2),'buttonLabel':_0x542a5c(this[_0x18b1f1(0xa7)][_0x18b1f1(0x9e)],_0x18b1f1(0xb0)),'buttonIcon':_0xd7c59a,'order':0x0,'content':this[_0x18b1f1(0xa2)]});}[_0x2ec01e(0xa6)](_0x4f2f0e){const _0x1f5f68=_0x2ec01e;this[_0x1f5f68(0xa2)][_0x1f5f68(0xa6)](_0x4f2f0e);}[_0x2ec01e(0xc5)](_0x3a9baa){const _0x4642e8=_0x2ec01e;this[_0x4642e8(0xa2)][_0x4642e8(0xb7)](_0x3a9baa);}[_0x2ec01e(0xb1)](_0xa3ff99,_0x4638f2){const _0x24da87=_0x2ec01e;this[_0x24da87(0xa2)][_0x24da87(0xb1)](_0xa3ff99,_0x4638f2);}[_0x2ec01e(0xc7)](_0x310d38,_0x4a159b,_0x1957e8){const _0x42244d=_0x2ec01e;this[_0x42244d(0xa2)][_0x42244d(0xc7)](_0x310d38,_0x4a159b,_0x1957e8);}[_0x2ec01e(0xc1)](_0x4c37b5){const _0x27941f=_0x2ec01e;this[_0x27941f(0xa2)][_0x27941f(0xa1)]=_0x4c37b5;}[_0x2ec01e(0xb6)](_0x1ee96b){const _0x24f933=_0x2ec01e;this[_0x24f933(0xa2)][_0x24f933(0xa0)]=_0x1ee96b;}[_0x2ec01e(0xbf)](){const _0x8b76af=_0x2ec01e;this[_0x8b76af(0xa2)][_0x8b76af(0xa0)]='';}[_0x2ec01e(0x9f)](_0x436611){const _0x214fc7=_0x2ec01e;this[_0x214fc7(0xa2)][_0x214fc7(0xa9)]=_0x436611;}}
23
+ function _0x79a0(_0x32e0cf,_0x1556c5){const _0x4ce1c9=_0x4ce1();return _0x79a0=function(_0x79a067,_0x19e143){_0x79a067=_0x79a067-0x1b5;let _0x50a6cf=_0x4ce1c9[_0x79a067];return _0x50a6cf;},_0x79a0(_0x32e0cf,_0x1556c5);}const _0x541b74=_0x79a0;function _0x4ce1(){const _0x2499c6=['setIsMaximized','isMaximized','hideError','3583020bhmUCf','locale','plugins','showResizeButton','pluginName','isLoading','history','openChat','editConversationTitle','279dFkPUR','setConversationPinned','context','173420NiFYGr','showConversationHistory','345360PJqLsR','updateItems','get','updateItemLoadingState','errorMessage','7984696nYqtRr','updateHistoryItemsWithCategories','removeConversation','updateItemTitle','AITabs','_historyView','isOfficialPlugin','5946KrlUPG','20841vVJcjZ','106549SYxSKA','requires','addTab','delegate','AI_CHAT_HISTORY_HEADING','setLoadingSkeleton','82eYqhaf','1253rtKmht','view','isPremiumPlugin','removeHistoryItem','showError','selectConversation','AIChatHistoryUI','resizeTabs'];_0x4ce1=function(){return _0x2499c6;};return _0x4ce1();}(function(_0x4ee465,_0x2473a2){const _0xb36ae9=_0x79a0,_0x1a6768=_0x4ee465();while(!![]){try{const _0x56d2f1=-parseInt(_0xb36ae9(0x1da))/0x1+-parseInt(_0xb36ae9(0x1e0))/0x2*(-parseInt(_0xb36ae9(0x1d9))/0x3)+parseInt(_0xb36ae9(0x1be))/0x4+parseInt(_0xb36ae9(0x1cc))/0x5+-parseInt(_0xb36ae9(0x1d8))/0x6*(parseInt(_0xb36ae9(0x1e1))/0x7)+-parseInt(_0xb36ae9(0x1d1))/0x8+-parseInt(_0xb36ae9(0x1c7))/0x9*(-parseInt(_0xb36ae9(0x1ca))/0xa);if(_0x56d2f1===_0x2473a2)break;else _0x1a6768['push'](_0x1a6768['shift']());}catch(_0x4402cb){_0x1a6768['push'](_0x1a6768['shift']());}}}(_0x4ce1,0x7b58f));import{ContextPlugin as _0x523109}from'ckeditor5/src/core.js';import{AITabs as _0x23007a}from'../aitabs/aitabs.js';import{IconAIHistory as _0x5e896e}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x4f9c07}from'./ui/aichathistoryview.js';import{getTranslation as _0x168989}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x541b74(0x1cb),_0x541b74(0x1d3),_0x541b74(0x1c6),_0x541b74(0x1c8),_0x541b74(0x1b8),_0x541b74(0x1c5),_0x541b74(0x1ba)];export class AIChatHistoryUI extends _0x523109{static get[_0x541b74(0x1db)](){return[_0x23007a];}[_0x541b74(0x1d6)];static get[_0x541b74(0x1c2)](){const _0x577d42=_0x541b74;return _0x577d42(0x1b9);}static get[_0x541b74(0x1d7)](){return!0x0;}static get[_0x541b74(0x1b5)](){return!0x0;}constructor(_0x26833c){const _0x4f51ba=_0x541b74;super(_0x26833c);const _0x13ecc3=this[_0x4f51ba(0x1c9)][_0x4f51ba(0x1c0)][_0x4f51ba(0x1ce)](_0x4f51ba(0x1d5));this[_0x4f51ba(0x1d6)]=new _0x4f9c07(this[_0x4f51ba(0x1c9)][_0x4f51ba(0x1bf)],_0x13ecc3[_0x4f51ba(0x1c1)]),this[_0x4f51ba(0x1d6)][_0x4f51ba(0x1dd)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x13ecc3[_0x4f51ba(0x1e2)][_0x4f51ba(0x1dc)]({'id':_0x4f51ba(0x1c4),'buttonLabel':_0x168989(this[_0x4f51ba(0x1c9)][_0x4f51ba(0x1bf)],_0x4f51ba(0x1de)),'buttonIcon':_0x5e896e,'order':0x0,'content':this[_0x4f51ba(0x1d6)]});}[_0x541b74(0x1b6)](_0x3927f4){const _0x5beceb=_0x541b74;this[_0x5beceb(0x1d6)][_0x5beceb(0x1b6)](_0x3927f4);}[_0x541b74(0x1cd)](_0x4a461e){const _0x4e12d4=_0x541b74;this[_0x4e12d4(0x1d6)][_0x4e12d4(0x1d2)](_0x4a461e);}[_0x541b74(0x1d4)](_0x34adf7,_0x54d534){const _0x1b5112=_0x541b74;this[_0x1b5112(0x1d6)][_0x1b5112(0x1d4)](_0x34adf7,_0x54d534);}[_0x541b74(0x1cf)](_0x212b72,_0x4fe4fb,_0x25f0bc){const _0x50b698=_0x541b74;this[_0x50b698(0x1d6)][_0x50b698(0x1cf)](_0x212b72,_0x4fe4fb,_0x25f0bc);}[_0x541b74(0x1df)](_0x223d31){const _0x394641=_0x541b74;this[_0x394641(0x1d6)][_0x394641(0x1c3)]=_0x223d31;}[_0x541b74(0x1b7)](_0x39255a){const _0x15ed62=_0x541b74;this[_0x15ed62(0x1d6)][_0x15ed62(0x1d0)]=_0x39255a;}[_0x541b74(0x1bd)](){const _0x5a60e3=_0x541b74;this[_0x5a60e3(0x1d6)][_0x5a60e3(0x1d0)]='';}[_0x541b74(0x1bb)](_0x74c0ec){const _0x4acdb1=_0x541b74;this[_0x4acdb1(0x1d6)][_0x4acdb1(0x1bc)]=_0x74c0ec;}}