@ckeditor/ckeditor5-ai 47.1.0-alpha.1 → 47.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +4 -4
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.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/model/aichatmodels.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichat/utils/scrollmanager.js +1 -1
  212. package/src/aichathistory/aichathistory.js +1 -1
  213. package/src/aichathistory/aichathistorycontroller.js +1 -1
  214. package/src/aichathistory/aichathistoryui.js +1 -1
  215. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  216. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  217. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  221. package/src/aicore/aiconnector.js +1 -1
  222. package/src/aicore/aiediting.js +1 -1
  223. package/src/aicore/model/aicapabilities.js +1 -1
  224. package/src/aicore/model/aicontext.js +1 -1
  225. package/src/aicore/model/aiinteraction.js +1 -1
  226. package/src/aicore/model/aireply.js +1 -1
  227. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  228. package/src/aicore/pipeline/airesponseparser.js +2 -2
  229. package/src/aicore/ui/aidisclaimerview.js +1 -1
  230. package/src/aicore/ui/aiskeleton.js +1 -1
  231. package/src/aicore/ui/aispinner.js +1 -1
  232. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  237. package/src/aicore/utils/common-translations.js +1 -1
  238. package/src/aicore/utils/createresizebutton.js +1 -1
  239. package/src/aicore/utils/documentposition.js +1 -1
  240. package/src/aicore/utils/documentrange.js +1 -1
  241. package/src/aicore/utils/eventnames.js +1 -1
  242. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  243. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  244. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  245. package/src/aicore/utils/htmlparser.js +1 -1
  246. package/src/aicore/utils/htmlstreamer.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/aireviewmode/aireviewcheckdefinitions.js +1 -1
  258. package/src/aireviewmode/aireviewmode.js +1 -1
  259. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  260. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  261. package/src/aireviewmode/aireviewmodeui.js +1 -1
  262. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  263. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  264. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  268. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  269. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  270. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  271. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  272. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  280. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  281. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  282. package/src/aitabs/aitabs.js +1 -1
  283. package/src/aitabs/aitabsmainview.js +1 -1
  284. package/src/aitabs/tabs/aitabsview.js +1 -1
  285. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  286. package/src/aitabs/tabs/tabpanelview.js +1 -1
  287. package/src/errors.js +1 -1
  288. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a0a51=_0x5679;(function(_0x4c024a,_0x418a12){const _0x1d2e10=_0x5679,_0xa4b38e=_0x4c024a();while(!![]){try{const _0x264262=parseInt(_0x1d2e10(0x184))/0x1+-parseInt(_0x1d2e10(0x191))/0x2+-parseInt(_0x1d2e10(0x192))/0x3*(parseInt(_0x1d2e10(0x187))/0x4)+-parseInt(_0x1d2e10(0x18a))/0x5+-parseInt(_0x1d2e10(0x186))/0x6+-parseInt(_0x1d2e10(0x190))/0x7+-parseInt(_0x1d2e10(0x1a2))/0x8*(-parseInt(_0x1d2e10(0x19a))/0x9);if(_0x264262===_0x418a12)break;else _0xa4b38e['push'](_0xa4b38e['shift']());}catch(_0x393046){_0xa4b38e['push'](_0xa4b38e['shift']());}}}(_0x2809,0x6c41b));function _0x5679(_0xf9f22e,_0x2b28a4){const _0x280904=_0x2809();return _0x5679=function(_0x567934,_0x576c5c){_0x567934=_0x567934-0x180;let _0x26d8d1=_0x280904[_0x567934];return _0x26d8d1;},_0x5679(_0xf9f22e,_0x2b28a4);}import{View as _0x55e954}from'ckeditor5/src/ui.js';function _0x2809(){const _0x4e8dcc=['content','[data-id]','data-id','setTemplate','stream','60956LpYtJw','1467570QIMrho','3zkrzuQ','cleanUpAnimations','set','htmlStreamer','element','ck-ai-chat__feed__text-item','removeAttribute','streamIntoElement','9dgzuMs','bindTemplate','isDone','querySelectorAll','children','isVisible','animation:\x20ck-html-streamer-fade-in\x20.5s','options','19332200umBGBk','div','ck-hidden','forEach','ck-ai-chat__feed__item_done','482350xYJxYZ','createCollection','2644566sDoNiI','2114092RZqaLI','markAsDone','ck-ai-chat__feed__item','3718395ZFBUVL'];_0x2809=function(){return _0x4e8dcc;};return _0x2809();}import{HTMLStreamer as _0x4ab392}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x55e954{[_0x5a0a51(0x1a1)];[_0x5a0a51(0x18b)]='';[_0x5a0a51(0x195)];[_0x5a0a51(0x19e)];constructor(_0xe3d463){const _0x409a2a=_0x5a0a51;super();const _0x45bcb=this[_0x409a2a(0x19b)];this[_0x409a2a(0x194)](_0x409a2a(0x19c),!0x1),this[_0x409a2a(0x194)](_0x409a2a(0x19f),!0x0),this[_0x409a2a(0x195)]=new _0x4ab392({'textNodeStyle':_0x409a2a(0x1a0),'delay':0x14}),this[_0x409a2a(0x1a1)]=_0xe3d463,this[_0x409a2a(0x19e)]=this[_0x409a2a(0x185)](),this[_0x409a2a(0x18e)]({'tag':_0x409a2a(0x180),'attributes':{'class':['ck',_0x409a2a(0x189),_0x45bcb['if'](_0x409a2a(0x19c),_0x409a2a(0x183)),_0x45bcb['if'](_0x409a2a(0x19f),_0x409a2a(0x181),_0x336c66=>!_0x336c66),_0x409a2a(0x197)],'data-cke-ai-id':this[_0x409a2a(0x1a1)]['id']},'children':this[_0x409a2a(0x19e)]});}[_0x5a0a51(0x188)](){const _0x23315f=_0x5a0a51;this[_0x23315f(0x195)][_0x23315f(0x193)]({'targetElement':this[_0x23315f(0x196)]}),this[_0x23315f(0x196)][_0x23315f(0x19d)](_0x23315f(0x18c))[_0x23315f(0x182)](_0x380406=>{const _0x44ea8d=_0x23315f;_0x380406[_0x44ea8d(0x198)](_0x44ea8d(0x18d));}),this[_0x23315f(0x19c)]=!0x0;}async[_0x5a0a51(0x199)](_0x499e8a,_0x215d43,_0x16ccd7){const _0x2cdaa7=_0x5a0a51;await this[_0x2cdaa7(0x195)][_0x2cdaa7(0x18f)]({'document':_0x499e8a,'targetElement':_0x215d43,'abortSignal':_0x16ccd7});}}
23
+ const _0x57ff23=_0x96c2;(function(_0x54112a,_0x1342a2){const _0x139b69=_0x96c2,_0x111e49=_0x54112a();while(!![]){try{const _0x1fc684=parseInt(_0x139b69(0x20a))/0x1+parseInt(_0x139b69(0x207))/0x2+-parseInt(_0x139b69(0x1fa))/0x3*(parseInt(_0x139b69(0x1f3))/0x4)+parseInt(_0x139b69(0x1fb))/0x5+parseInt(_0x139b69(0x1ef))/0x6*(parseInt(_0x139b69(0x208))/0x7)+-parseInt(_0x139b69(0x202))/0x8+-parseInt(_0x139b69(0x1f6))/0x9*(parseInt(_0x139b69(0x1f5))/0xa);if(_0x1fc684===_0x1342a2)break;else _0x111e49['push'](_0x111e49['shift']());}catch(_0x3ad07b){_0x111e49['push'](_0x111e49['shift']());}}}(_0x1e11,0x6618c));function _0x1e11(){const _0x5b7622=['ck-ai-chat__feed__item_done','markAsDone','forEach','6ikOMAJ','setTemplate','ck-ai-chat__feed__text-item','data-id','92MFdVLP','isDone','10SEmYmz','3028815MXVMrN','div','htmlStreamer','set','53790pUYDxK','1843930jbOkFk','[data-id]','options','ck-hidden','animation:\x20ck-html-streamer-fade-in\x20.5s','streamIntoElement','stream','2549944LHUKQb','querySelectorAll','cleanUpAnimations','createCollection','children','708686uWaLVu','2152927hJyFQv','element','455166iHFtun','ck-ai-chat__feed__item','content','bindTemplate','removeAttribute','isVisible'];_0x1e11=function(){return _0x5b7622;};return _0x1e11();}import{View as _0x47e7f9}from'ckeditor5/src/ui.js';function _0x96c2(_0x5b11cd,_0x38b712){const _0x1e1198=_0x1e11();return _0x96c2=function(_0x96c211,_0x2dab87){_0x96c211=_0x96c211-0x1ed;let _0x8530c5=_0x1e1198[_0x96c211];return _0x8530c5;},_0x96c2(_0x5b11cd,_0x38b712);}import{HTMLStreamer as _0x1620e4}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x47e7f9{[_0x57ff23(0x1fd)];[_0x57ff23(0x20c)]='';[_0x57ff23(0x1f8)];[_0x57ff23(0x206)];constructor(_0x407be3){const _0x1cdea8=_0x57ff23;super();const _0x51f8cd=this[_0x1cdea8(0x20d)];this[_0x1cdea8(0x1f9)](_0x1cdea8(0x1f4),!0x1),this[_0x1cdea8(0x1f9)](_0x1cdea8(0x20f),!0x0),this[_0x1cdea8(0x1f8)]=new _0x1620e4({'textNodeStyle':_0x1cdea8(0x1ff),'delay':0x14}),this[_0x1cdea8(0x1fd)]=_0x407be3,this[_0x1cdea8(0x206)]=this[_0x1cdea8(0x205)](),this[_0x1cdea8(0x1f0)]({'tag':_0x1cdea8(0x1f7),'attributes':{'class':['ck',_0x1cdea8(0x20b),_0x51f8cd['if'](_0x1cdea8(0x1f4),_0x1cdea8(0x210)),_0x51f8cd['if'](_0x1cdea8(0x20f),_0x1cdea8(0x1fe),_0x123857=>!_0x123857),_0x1cdea8(0x1f1)],'data-cke-ai-id':this[_0x1cdea8(0x1fd)]['id']},'children':this[_0x1cdea8(0x206)]});}[_0x57ff23(0x1ed)](){const _0x3f23a0=_0x57ff23;this[_0x3f23a0(0x1f8)][_0x3f23a0(0x204)]({'targetElement':this[_0x3f23a0(0x209)]}),this[_0x3f23a0(0x209)][_0x3f23a0(0x203)](_0x3f23a0(0x1fc))[_0x3f23a0(0x1ee)](_0x5df570=>{const _0x439aaf=_0x3f23a0;_0x5df570[_0x439aaf(0x20e)](_0x439aaf(0x1f2));}),this[_0x3f23a0(0x1f4)]=!0x0;}async[_0x57ff23(0x200)](_0x46ab1f,_0x3cf902,_0x260c73){const _0x3d306f=_0x57ff23;await this[_0x3d306f(0x1f8)][_0x3d306f(0x201)]({'document':_0x46ab1f,'targetElement':_0x3cf902,'abortSignal':_0x260c73});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x18b0(_0x5eebff,_0x2fb209){const _0x8cf4c6=_0x8cf4();return _0x18b0=function(_0x18b003,_0x41e18a){_0x18b003=_0x18b003-0x1bd;let _0x1f0b2b=_0x8cf4c6[_0x18b003];return _0x1f0b2b;},_0x18b0(_0x5eebff,_0x2fb209);}const _0x2b87db=_0x18b0;(function(_0x395352,_0x31b3b3){const _0x155d37=_0x18b0,_0x55de0f=_0x395352();while(!![]){try{const _0x5094df=-parseInt(_0x155d37(0x1d5))/0x1+-parseInt(_0x155d37(0x1d0))/0x2+parseInt(_0x155d37(0x1c5))/0x3+parseInt(_0x155d37(0x1c8))/0x4+-parseInt(_0x155d37(0x1c7))/0x5*(-parseInt(_0x155d37(0x1cd))/0x6)+-parseInt(_0x155d37(0x1d2))/0x7+-parseInt(_0x155d37(0x1c0))/0x8*(-parseInt(_0x155d37(0x1d7))/0x9);if(_0x5094df===_0x31b3b3)break;else _0x55de0f['push'](_0x55de0f['shift']());}catch(_0x18d5e0){_0x55de0f['push'](_0x55de0f['shift']());}}}(_0x8cf4,0xa50a5));import{AIChatFeedItemView as _0x3362e7}from'./aichatfeeditemview.js';import{parse as _0x2dd196,render as _0x1ec76b}from'../../../aicore/utils/htmlparser.js';import{View as _0x2097af}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x2a16cd,AIWebSourceView as _0x3d22f3}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x8cf4(){const _0x55f4ef=['3148488xFvhYW','render','updateContent','ck-reset_all-excluded','isVisible','16224nxMlJo','streaming','setTemplate','1282444gmUQMK','map','9110955ogtPvh','updateSources','addMany','620100UORxDQ','div','9NNMNyh','replyContainer','initialContent','children','streamIntoElement','innerHTML','extendTemplate','ck-ai-chat__feed__ai-reply-container','element','options','10839736REVJaB','static','locale','markAsDone','add','1538217EQZFgb','ck-ai-chat__feed__ai-reply','1080XFtUMo'];_0x8cf4=function(){return _0x55f4ef;};return _0x8cf4();}export class AIChatFeedReplyItemView extends _0x3362e7{[_0x2b87db(0x1d8)];constructor(_0xdda4fe,_0x3fe2b4){const _0x3c24c6=_0x2b87db;super(_0x3fe2b4),this[_0x3c24c6(0x1c2)]=_0xdda4fe,this[_0x3c24c6(0x1dd)]({'attributes':{'class':[_0x3c24c6(0x1c6)]}}),this[_0x3c24c6(0x1d8)]=new _0x2097af(),this[_0x3c24c6(0x1d8)][_0x3c24c6(0x1cf)]({'tag':_0x3c24c6(0x1d6),'attributes':{'class':['ck',_0x3c24c6(0x1cb),_0x3c24c6(0x1bd)]}}),this[_0x3c24c6(0x1da)][_0x3c24c6(0x1c4)](this[_0x3c24c6(0x1d8)]);}async[_0x2b87db(0x1c9)](){const _0x50ba35=_0x2b87db;super[_0x50ba35(0x1c9)](),this[_0x50ba35(0x1bf)][_0x50ba35(0x1d9)]&&(await this[_0x50ba35(0x1ca)]({'parsedContent':_0x2dd196(this[_0x50ba35(0x1bf)][_0x50ba35(0x1d9)]),'renderingStrategy':_0x50ba35(0x1c1)}),this[_0x50ba35(0x1c3)]());}async[_0x2b87db(0x1ca)]({parsedContent:_0x1bc2cc,renderingStrategy:_0x7410c7,abortSignal:_0x43005b}){const _0xb05d2b=_0x2b87db;_0xb05d2b(0x1ce)===_0x7410c7?await this[_0xb05d2b(0x1db)](_0x1bc2cc,this[_0xb05d2b(0x1d8)][_0xb05d2b(0x1be)],_0x43005b):this[_0xb05d2b(0x1d8)][_0xb05d2b(0x1be)][_0xb05d2b(0x1dc)]=_0x1ec76b(_0x1bc2cc);}[_0x2b87db(0x1d3)](_0x251cc6){const _0x1373a5=_0x2b87db,_0x5de84d=new _0x2a16cd(this[_0x1373a5(0x1c2)]);_0x5de84d[_0x1373a5(0x1da)][_0x1373a5(0x1d4)](_0x251cc6[_0x1373a5(0x1d1)](_0x3c2f59=>new _0x3d22f3(this[_0x1373a5(0x1c2)],_0x3c2f59))),_0x5de84d[_0x1373a5(0x1cc)]=!0x0,this[_0x1373a5(0x1da)][_0x1373a5(0x1c4)](_0x5de84d);}}
23
+ const _0x32ad1f=_0x351a;function _0x951f(){const _0x2472bf=['render','3096BJXorf','486NqggBM','261980NdWeZE','options','9GletMY','setTemplate','children','isVisible','add','static','183990eWwJAh','locale','innerHTML','ck-reset_all-excluded','initialContent','replyContainer','streaming','4895JZFAXB','2440148gQVJQG','markAsDone','addMany','162hYghkF','extendTemplate','387rvKwbd','3225033AjczqK','updateContent','map','139428kWhoAd','element','streamIntoElement','div','ck-ai-chat__feed__ai-reply-container','updateSources','7045928eNmaqq','ck-ai-chat__feed__ai-reply'];_0x951f=function(){return _0x2472bf;};return _0x951f();}function _0x351a(_0x38af09,_0x558a19){const _0x951f5=_0x951f();return _0x351a=function(_0x351aa6,_0x139946){_0x351aa6=_0x351aa6-0xac;let _0x45528f=_0x951f5[_0x351aa6];return _0x45528f;},_0x351a(_0x38af09,_0x558a19);}(function(_0x659598,_0x3a9249){const _0x44abef=_0x351a,_0x2ee2d9=_0x659598();while(!![]){try{const _0x24594e=parseInt(_0x44abef(0xc4))/0x1*(parseInt(_0x44abef(0xc5))/0x2)+-parseInt(_0x44abef(0xc8))/0x3*(-parseInt(_0x44abef(0xb2))/0x4)+-parseInt(_0x44abef(0xc6))/0x5*(-parseInt(_0x44abef(0xb5))/0x6)+parseInt(_0x44abef(0xb8))/0x7+parseInt(_0x44abef(0xc1))/0x8+parseInt(_0x44abef(0xb7))/0x9*(parseInt(_0x44abef(0xce))/0xa)+-parseInt(_0x44abef(0xb1))/0xb*(parseInt(_0x44abef(0xbb))/0xc);if(_0x24594e===_0x3a9249)break;else _0x2ee2d9['push'](_0x2ee2d9['shift']());}catch(_0x236087){_0x2ee2d9['push'](_0x2ee2d9['shift']());}}}(_0x951f,0xea33d));import{AIChatFeedItemView as _0x5ea7fb}from'./aichatfeeditemview.js';import{parse as _0x1108e8,render as _0x3c533c}from'../../../aicore/utils/htmlparser.js';import{View as _0x451a25}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x1ccc19,AIWebSourceView as _0x1f1ddc}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x5ea7fb{[_0x32ad1f(0xaf)];constructor(_0x3094fb,_0x588527){const _0x4de1e6=_0x32ad1f;super(_0x588527),this[_0x4de1e6(0xcf)]=_0x3094fb,this[_0x4de1e6(0xb6)]({'attributes':{'class':[_0x4de1e6(0xc2)]}}),this[_0x4de1e6(0xaf)]=new _0x451a25(),this[_0x4de1e6(0xaf)][_0x4de1e6(0xc9)]({'tag':_0x4de1e6(0xbe),'attributes':{'class':['ck',_0x4de1e6(0xad),_0x4de1e6(0xbf)]}}),this[_0x4de1e6(0xca)][_0x4de1e6(0xcc)](this[_0x4de1e6(0xaf)]);}async[_0x32ad1f(0xc3)](){const _0x8d8526=_0x32ad1f;super[_0x8d8526(0xc3)](),this[_0x8d8526(0xc7)][_0x8d8526(0xae)]&&(await this[_0x8d8526(0xb9)]({'parsedContent':_0x1108e8(this[_0x8d8526(0xc7)][_0x8d8526(0xae)]),'renderingStrategy':_0x8d8526(0xcd)}),this[_0x8d8526(0xb3)]());}async[_0x32ad1f(0xb9)]({parsedContent:_0x5ea36d,renderingStrategy:_0x2aa4a1,abortSignal:_0x4775ea}){const _0x40f450=_0x32ad1f;_0x40f450(0xb0)===_0x2aa4a1?await this[_0x40f450(0xbd)](_0x5ea36d,this[_0x40f450(0xaf)][_0x40f450(0xbc)],_0x4775ea):this[_0x40f450(0xaf)][_0x40f450(0xbc)][_0x40f450(0xac)]=_0x3c533c(_0x5ea36d);}[_0x32ad1f(0xc0)](_0x5318e5){const _0x47770f=_0x32ad1f,_0x3d0873=new _0x1ccc19(this[_0x47770f(0xcf)]);_0x3d0873[_0x47770f(0xca)][_0x47770f(0xb4)](_0x5318e5[_0x47770f(0xba)](_0xf073a7=>new _0x1f1ddc(this[_0x47770f(0xcf)],_0xf073a7))),_0x3d0873[_0x47770f(0xcb)]=!0x0,this[_0x47770f(0xca)][_0x47770f(0xcc)](_0x3d0873);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfe841e=_0x21b7;(function(_0xcfa4c3,_0x339a79){const _0x500d2f=_0x21b7,_0x53f5d5=_0xcfa4c3();while(!![]){try{const _0x459dea=parseInt(_0x500d2f(0x188))/0x1*(-parseInt(_0x500d2f(0x1bd))/0x2)+-parseInt(_0x500d2f(0x196))/0x3+-parseInt(_0x500d2f(0x1bc))/0x4*(-parseInt(_0x500d2f(0x195))/0x5)+-parseInt(_0x500d2f(0x1d6))/0x6*(parseInt(_0x500d2f(0x197))/0x7)+-parseInt(_0x500d2f(0x1d9))/0x8*(parseInt(_0x500d2f(0x1a5))/0x9)+-parseInt(_0x500d2f(0x1a2))/0xa+-parseInt(_0x500d2f(0x1c2))/0xb*(-parseInt(_0x500d2f(0x187))/0xc);if(_0x459dea===_0x339a79)break;else _0x53f5d5['push'](_0x53f5d5['shift']());}catch(_0x2cdd67){_0x53f5d5['push'](_0x53f5d5['shift']());}}}(_0x29df,0xe0a46));import{KeystrokeHandler as _0x511bfd}from'ckeditor5/src/utils.js';function _0x21b7(_0x4411a6,_0x5e58b3){const _0x29dfe1=_0x29df();return _0x21b7=function(_0x21b78c,_0x43eadc){_0x21b78c=_0x21b78c-0x185;let _0x42216b=_0x29dfe1[_0x21b78c];return _0x42216b;},_0x21b7(_0x4411a6,_0x5e58b3);}import{BalloonPanelView as _0x22c92c,BodyCollection as _0x1b05ad,ButtonView as _0x49abbd,clickOutsideHandler as _0x3dd6d9,ListItemButtonView as _0x393caf,ListItemView as _0x1047e2,ListView as _0x487f65,SplitButtonView as _0x3caf8a,UIModel as _0x9af8c4,View as _0x8f7ca1}from'ckeditor5/src/ui.js';import{IconCheck as _0x3ee3a7,IconAddComment as _0x4eace6,IconDocumentWithLoupe as _0x3326dd}from'ckeditor5/src/icons.js';import{getTranslation as _0x5e429a}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0xfe841e(0x186),_0xfe841e(0x18b),_0xfe841e(0x1da)];export class AIChatFeedSuggestionItemActionsView extends _0x8f7ca1{[_0xfe841e(0x193)];[_0xfe841e(0x190)];[_0xfe841e(0x1c6)];[_0xfe841e(0x1bf)];[_0xfe841e(0x1d8)];[_0xfe841e(0x1b9)]=0x1;[_0xfe841e(0x19f)];[_0xfe841e(0x1d5)];[_0xfe841e(0x1b3)]=!0x0;constructor(_0x2d8f32,_0x4d8122){const _0x171030=_0xfe841e;super(_0x2d8f32),this[_0x171030(0x19f)]=_0x4d8122||[...ACTIONS],this[_0x171030(0x1d5)]=[...this[_0x171030(0x19f)]];const _0xb1c213=this[_0x171030(0x18a)];this[_0x171030(0x1cc)](_0x171030(0x185),!0x0),this[_0x171030(0x1cc)](_0x171030(0x1a0),!0x0),this[_0x171030(0x1c6)]=new _0x9af8c4({'label':Hn(_0x171030(0x186),_0x2d8f32,this[_0x171030(0x1b9)]),'icon':_0x3ee3a7,'withText':!0x0,'type':_0x171030(0x1ca),'actionName':_0x171030(0x186)}),this[_0x171030(0x1bf)]=new _0x9af8c4({'label':Hn(_0x171030(0x1da),_0x2d8f32,this[_0x171030(0x1b9)]),'icon':_0x3326dd,'withText':!0x0,'type':_0x171030(0x1ca),'actionName':_0x171030(0x1da)}),this[_0x171030(0x1d8)]=new _0x9af8c4({'label':Hn(_0x171030(0x18b),_0x2d8f32,this[_0x171030(0x1b9)]),'icon':_0x4eace6,'withText':!0x0,'type':_0x171030(0x1ca),'actionName':_0x171030(0x18b)}),this[_0x171030(0x193)]=this[_0x171030(0x1be)](_0x2d8f32),this[_0x171030(0x190)]=this[_0x171030(0x1d1)]([this[_0x171030(0x193)]]),this[_0x171030(0x1b5)]({'tag':_0x171030(0x18f),'attributes':{'class':['ck',_0x171030(0x1d4),_0xb1c213['if'](_0x171030(0x1a0),_0x171030(0x18d),_0x3e8c0b=>!_0x3e8c0b)]},'children':this[_0x171030(0x190)]}),this[_0x171030(0x1cf)](this,_0x171030(0x1e4),()=>{const _0x4f854d=_0x171030;this[_0x4f854d(0x1d5)]=this[_0x4f854d(0x19b)]?this[_0x4f854d(0x19f)][_0x4f854d(0x1db)](_0x434b13=>_0x4f854d(0x186)!==_0x434b13):[...this[_0x4f854d(0x19f)]],this[_0x4f854d(0x1bb)](_0x2d8f32);});}[_0xfe841e(0x1bb)](_0x18c9c1){const _0x57cb11=_0xfe841e;this[_0x57cb11(0x190)][_0x57cb11(0x1a1)](this[_0x57cb11(0x193)])&&(this[_0x57cb11(0x190)][_0x57cb11(0x1c0)](this[_0x57cb11(0x193)]),this[_0x57cb11(0x193)][_0x57cb11(0x1b2)]()),0x0!=this[_0x57cb11(0x1d5)][_0x57cb11(0x1b6)]&&(this[_0x57cb11(0x193)]=this[_0x57cb11(0x1be)](_0x18c9c1),this[_0x57cb11(0x190)][_0x57cb11(0x1e5)](this[_0x57cb11(0x193)]));}[_0xfe841e(0x1be)](_0x6fbc19){const _0x105568=_0xfe841e,_0x25744c=0x1===this[_0x105568(0x1d5)][_0x105568(0x1b6)]?this[_0x105568(0x1b0)](_0x6fbc19):this[_0x105568(0x1cd)](_0x6fbc19),_0xd2d154=this[_0x105568(0x1b3)]?'':_0x105568(0x1c3);_0x25744c[_0x105568(0x1cc)]({'label':Hn(this[_0x105568(0x1d5)][0x0],_0x6fbc19,this[_0x105568(0x1b9)]),'tooltip':Un(this[_0x105568(0x1d5)][0x0],_0x6fbc19,this[_0x105568(0x1b9)]),'withText':!0x0,'class':_0x105568(0x198)+_0xd2d154});for(const _0x4eeae5 of this[_0x105568(0x1d5)])_0x25744c['on'](_0x4eeae5,()=>{const _0x585873=_0x105568;this[_0x585873(0x1ab)](_0x4eeae5);});return this[_0x105568(0x1b3)]=!0x1,_0x25744c;}[_0xfe841e(0x1b0)](_0x57d985){const _0x5508e5=_0xfe841e,_0xa023af=new _0x49abbd(_0x57d985);return _0xa023af[_0x5508e5(0x1cc)]({'class':_0x5508e5(0x19c),'withText':!0x0}),_0xa023af['on'](_0x5508e5(0x191),()=>{const _0x221ed3=_0x5508e5;_0xa023af[_0x221ed3(0x1ab)](this[_0x221ed3(0x1d5)][0x0]);}),_0xa023af;}[_0xfe841e(0x1cd)](_0x45b4e9){const _0x4df0c9=_0xfe841e,_0x2d1257=new Gn(_0x45b4e9,{'listItemModels':this[_0x4df0c9(0x1d5)][_0x4df0c9(0x1de)](_0x1674ea=>{const _0x3525c8=_0x4df0c9;switch(_0x1674ea){case _0x3525c8(0x186):return this[_0x3525c8(0x1c6)];case _0x3525c8(0x1da):return this[_0x3525c8(0x1bf)];case _0x3525c8(0x18b):return this[_0x3525c8(0x1d8)];}})});return _0x2d1257[_0x4df0c9(0x1cc)]({'label':Hn(this[_0x4df0c9(0x1d5)][0x0],_0x45b4e9,this[_0x4df0c9(0x1b9)]),'tooltip':Un(this[_0x4df0c9(0x1d5)][0x0],_0x45b4e9,this[_0x4df0c9(0x1b9)]),'withText':!0x0,'class':_0x4df0c9(0x1d4),'balloonPanelClass':_0x4df0c9(0x1a3)}),_0x2d1257[_0x4df0c9(0x1b4)](_0x4df0c9(0x185))['to'](this),_0x2d1257;}[_0xfe841e(0x1c8)](_0x3285ac){const _0x59e1c5=_0xfe841e,_0x1751eb=this[_0x59e1c5(0x19e)];this[_0x59e1c5(0x1b9)]=_0x3285ac||this[_0x59e1c5(0x1b9)],this[_0x59e1c5(0x193)][_0x59e1c5(0x1cc)]({'label':Hn(this[_0x59e1c5(0x1d5)][0x0],_0x1751eb,this[_0x59e1c5(0x1b9)]),'tooltip':Un(this[_0x59e1c5(0x1d5)][0x0],_0x1751eb,this[_0x59e1c5(0x1b9)])}),this[_0x59e1c5(0x1c6)][_0x59e1c5(0x1ad)]=Hn(_0x59e1c5(0x186),_0x1751eb,this[_0x59e1c5(0x1b9)]),this[_0x59e1c5(0x1bf)][_0x59e1c5(0x1ad)]=Hn(_0x59e1c5(0x1da),_0x1751eb,this[_0x59e1c5(0x1b9)]),this[_0x59e1c5(0x1d8)][_0x59e1c5(0x1ad)]=Hn(_0x59e1c5(0x18b),_0x1751eb,this[_0x59e1c5(0x1b9)]);}}class Gn extends _0x3caf8a{[_0xfe841e(0x1d0)];[_0xfe841e(0x19d)];[_0xfe841e(0x1c4)];[_0xfe841e(0x1e2)];constructor(_0x4cacb5,_0x394b30){const _0x3b283c=_0xfe841e;super(_0x4cacb5),this[_0x3b283c(0x19d)]=new _0x22c92c(this[_0x3b283c(0x19e)]),this[_0x3b283c(0x1d0)]=new _0x1b05ad(this[_0x3b283c(0x19e)]),this[_0x3b283c(0x1d0)][_0x3b283c(0x192)](),this[_0x3b283c(0x1cc)](_0x3b283c(0x189),''),this[_0x3b283c(0x19d)][_0x3b283c(0x1b4)](_0x3b283c(0x1cb))['to'](this,_0x3b283c(0x189)),this[_0x3b283c(0x1c4)]=this[_0x3b283c(0x18e)](_0x394b30[_0x3b283c(0x1a8)][_0x3b283c(0x1dd)](0x1)),this[_0x3b283c(0x1d0)][_0x3b283c(0x1e5)](this[_0x3b283c(0x19d)]),this[_0x3b283c(0x19d)][_0x3b283c(0x1df)][_0x3b283c(0x1e5)](this[_0x3b283c(0x1c4)]),this[_0x3b283c(0x1dc)][_0x3b283c(0x1ce)](_0x3b283c(0x1e3)),this[_0x3b283c(0x1dc)][_0x3b283c(0x1cc)](_0x3b283c(0x1e3),_0x5e429a(this[_0x3b283c(0x19e)],_0x3b283c(0x1b8))),this[_0x3b283c(0x1ba)](),this['on'](_0x3b283c(0x191),()=>{const _0x1f3a06=_0x3b283c,_0x5a5032=_0x394b30[_0x1f3a06(0x1a8)][0x0][_0x1f3a06(0x1d3)];this[_0x1f3a06(0x1ab)](_0x5a5032),this[_0x1f3a06(0x19d)][_0x1f3a06(0x199)](),this[_0x1f3a06(0x1dc)][_0x1f3a06(0x1af)]();}),this['on'](_0x3b283c(0x1a4),()=>{const _0x54a91c=_0x3b283c;this[_0x54a91c(0x19d)][_0x54a91c(0x1a0)]?(this[_0x54a91c(0x19d)][_0x54a91c(0x199)](),this[_0x54a91c(0x1dc)][_0x54a91c(0x1af)]()):(this[_0x54a91c(0x19d)][_0x54a91c(0x1d2)]({'target':this[_0x54a91c(0x1a9)],'positions':[_0x54a91c(0x1c1)===this[_0x54a91c(0x19e)][_0x54a91c(0x1e6)]?yn:Pn]}),this[_0x54a91c(0x1c4)][_0x54a91c(0x1af)]());}),_0x3dd6d9({'emitter':this[_0x3b283c(0x19d)],'callback':()=>{const _0x4cc622=_0x3b283c;this[_0x4cc622(0x19d)][_0x4cc622(0x199)]();},'activator':()=>this[_0x3b283c(0x19d)][_0x3b283c(0x1a0)],'contextElements':()=>[this[_0x3b283c(0x1a9)],this[_0x3b283c(0x19d)][_0x3b283c(0x1a9)]]});}[_0xfe841e(0x18e)](_0x58f70b){const _0x278221=_0xfe841e,_0x57e2e9=this[_0x278221(0x19e)],_0x8fcb4a=new _0x487f65(_0x57e2e9);for(const _0x38efec of _0x58f70b){const _0x4c5a21=new _0x1047e2(_0x57e2e9),_0x35fe72=new _0x393caf(_0x57e2e9);_0x35fe72[_0x278221(0x1b4)](...Object[_0x278221(0x1b7)](_0x38efec))['to'](_0x38efec),_0x35fe72[_0x278221(0x1e0)](_0x278221(0x191))['to'](_0x8fcb4a),_0x4c5a21[_0x278221(0x190)][_0x278221(0x1e5)](_0x35fe72),_0x8fcb4a[_0x278221(0x19a)][_0x278221(0x1e5)](_0x4c5a21);}return _0x8fcb4a[_0x278221(0x19a)][_0x278221(0x1e0)](_0x278221(0x191))['to'](this),_0x8fcb4a['on'](_0x278221(0x191),_0x3e6c17=>{const _0x18bd68=_0x278221,_0x5ef09a=_0x3e6c17[_0x18bd68(0x1aa)];this[_0x18bd68(0x1ab)](_0x5ef09a[_0x18bd68(0x1d3)]),this[_0x18bd68(0x19d)][_0x18bd68(0x199)](),this[_0x18bd68(0x1dc)][_0x18bd68(0x1af)]();}),_0x8fcb4a;}[_0xfe841e(0x1ba)](){const _0x3d12de=_0xfe841e;this[_0x3d12de(0x1e2)]=new _0x511bfd(),this[_0x3d12de(0x1e2)][_0x3d12de(0x1cf)](this[_0x3d12de(0x19d)][_0x3d12de(0x1a9)]),this[_0x3d12de(0x1e2)][_0x3d12de(0x1cc)](_0x3d12de(0x1b1),(_0x4aac6f,_0x4e8a70)=>{const _0x365a67=_0x3d12de;this[_0x365a67(0x19d)][_0x365a67(0x199)](),this[_0x365a67(0x1dc)][_0x365a67(0x1af)](),_0x4e8a70();});}[_0xfe841e(0x1b2)](){const _0x25b392=_0xfe841e;super[_0x25b392(0x1b2)](),this[_0x25b392(0x1e2)][_0x25b392(0x1b2)](),this[_0x25b392(0x19d)][_0x25b392(0x1b2)](),this[_0x25b392(0x1d0)][_0x25b392(0x1d7)]();}}function yn(_0x4ba18b){const _0x338992=_0xfe841e;return{'top':_0x4ba18b[_0x338992(0x1a6)],'left':_0x4ba18b[_0x338992(0x1c9)],'name':_0x338992(0x1ac),'config':{'withArrow':!0x1}};}function _0x29df(){const _0x3d4dbc=['balloonPanelView','locale','_dropdownOriginalConfig','isVisible','has','11492460zNPxdi','ck-ai-chat__feed__ai-suggestion__actions__balloon','open','259020BrsZaB','bottom','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','listItemModels','element','source','fire','arrowless','label','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','focus','_createActionsButton','esc','destroy','_firstRender','bind','setTemplate','length','keys','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','_partsCount','_setUpKeystrokes','_updateDropdownActions','4JTUMxP','234MuUPok','_createActionsDropdownOrButton','showChangeInTextModel','remove','ltr','57874157LEZsuZ','ck-ai-chat__feed__ai-suggestion__actions--no-animation','listView','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','applySuggestionModel','width','updateLabels','left','button','class','set','_createActionsDropdown','unbind','listenTo','bodyCollection','createCollection','pin','actionName','ck-ai-chat__feed__ai-suggestion__actions','_dropdownCurrentConfig','83958wJcWdJ','detachFromDom','insertSuggestionModel','128EHAppy','showChangeInText','filter','arrowView','slice','map','content','delegate','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','keystrokeHandler','tooltip','change:isTrackChangesOn','add','uiLanguageDirection','isEnabled','applySuggestion','12DcUbqg','7895JpWVHF','balloonPanelClass','bindTemplate','insertSuggestion','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','ck-hidden','_setUpList','div','children','execute','attachToDom','actionsButton','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','1575745FQpxsh','3975780NwdzbF','399kqDFBH','ck-ai-chat__feed__ai-suggestion__actions\x20','hide','items','isTrackChangesOn','ck-ai-button-primary'];_0x29df=function(){return _0x3d4dbc;};return _0x29df();}function Pn(_0x1ac5f4,_0x368a22){const _0x7a1f4e=_0xfe841e;return{'top':_0x1ac5f4[_0x7a1f4e(0x1a6)],'left':_0x1ac5f4[_0x7a1f4e(0x1c9)]-(_0x368a22[_0x7a1f4e(0x1c7)]-_0x1ac5f4[_0x7a1f4e(0x1c7)]),'name':_0x7a1f4e(0x1ac),'config':{'withArrow':!0x1}};}function Hn(_0x46959e,_0x5efa44,_0x22ab5d){const _0x19e940=_0xfe841e;switch(_0x46959e){case _0x19e940(0x186):return _0x5e429a(_0x5efa44,_0x19e940(0x1e1),_0x22ab5d);case _0x19e940(0x1da):return _0x5e429a(_0x5efa44,_0x19e940(0x1a7),_0x22ab5d);case _0x19e940(0x18b):return _0x5e429a(_0x5efa44,_0x19e940(0x1c5),_0x22ab5d);}}function Un(_0x50a2d3,_0x32a6b2,_0x87c703){const _0x5f3a47=_0xfe841e;switch(_0x50a2d3){case _0x5f3a47(0x186):return _0x5e429a(_0x32a6b2,_0x5f3a47(0x194),_0x87c703);case _0x5f3a47(0x1da):return _0x5e429a(_0x32a6b2,_0x5f3a47(0x18c),_0x87c703);case _0x5f3a47(0x18b):return _0x5e429a(_0x32a6b2,_0x5f3a47(0x1ae),_0x87c703);}}
23
+ function _0x1d7b(){const _0x46ba14=['attachToDom','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','slice','remove','listenTo','_createActionsDropdown','add','isTrackChangesOn','_dropdownOriginalConfig','insertSuggestion','class','insertSuggestionModel','balloonPanelView','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','4729938WbrbtH','focus','balloonPanelClass','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','974602QoXRyT','left','createCollection','button','258384zHcpsK','360672hQgCsY','locale','3982769qXhbLM','keys','actionsButton','execute','ck-ai-button-primary','applySuggestionModel','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','_setUpList','div','3214045zkOSuH','label','source','esc','width','ck-ai-chat__feed__ai-suggestion__actions__balloon','map','showChangeInText','isEnabled','updateLabels','bindTemplate','content','detachFromDom','_firstRender','actionName','bodyCollection','element','delegate','ck-ai-chat__feed__ai-suggestion__actions\x20','_createActionsDropdownOrButton','ck-ai-chat__feed__ai-suggestion__actions--no-animation','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','listView','applySuggestion','length','isVisible','548602eNTRhD','hide','destroy','8zfPIjT','set','54dTftYp','listItemModels','ltr','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','children','setTemplate','open','_setUpKeystrokes','ck-hidden','_partsCount','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','_createActionsButton','uiLanguageDirection','unbind','tooltip','_updateDropdownActions','ck-ai-chat__feed__ai-suggestion__actions','items','has','change:isTrackChangesOn','bind','bottom','_dropdownCurrentConfig','showChangeInTextModel','arrowView','filter','pin','keystrokeHandler','fire','arrowless'];_0x1d7b=function(){return _0x46ba14;};return _0x1d7b();}const _0x349e65=_0x33d9;function _0x33d9(_0x3311ae,_0x500e3a){const _0x1d7bb4=_0x1d7b();return _0x33d9=function(_0x33d9fe,_0x3d7c2a){_0x33d9fe=_0x33d9fe-0x1c1;let _0x78b4ab=_0x1d7bb4[_0x33d9fe];return _0x78b4ab;},_0x33d9(_0x3311ae,_0x500e3a);}(function(_0xf7c3e6,_0x7f6853){const _0x175886=_0x33d9,_0xc095a5=_0xf7c3e6();while(!![]){try{const _0x132bc7=-parseInt(_0x175886(0x1c8))/0x1+parseInt(_0x175886(0x1fd))/0x2+parseInt(_0x175886(0x1f9))/0x3+parseInt(_0x175886(0x1cb))/0x4*(-parseInt(_0x175886(0x20d))/0x5)+-parseInt(_0x175886(0x202))/0x6+parseInt(_0x175886(0x204))/0x7+-parseInt(_0x175886(0x201))/0x8*(-parseInt(_0x175886(0x1cd))/0x9);if(_0x132bc7===_0x7f6853)break;else _0xc095a5['push'](_0xc095a5['shift']());}catch(_0x4b36ac){_0xc095a5['push'](_0xc095a5['shift']());}}}(_0x1d7b,0xe3a12));import{KeystrokeHandler as _0x29299b}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x5dbe10,BodyCollection as _0x47d9aa,ButtonView as _0x2f7801,clickOutsideHandler as _0x5f0666,ListItemButtonView as _0x5f4c3f,ListItemView as _0x12b265,ListView as _0x5a0d0c,SplitButtonView as _0x11ca8b,UIModel as _0x2f43b5,View as _0x1e4716}from'ckeditor5/src/ui.js';import{IconCheck as _0x3731dd,IconAddComment as _0x1a521a,IconDocumentWithLoupe as _0x3d39e8}from'ckeditor5/src/icons.js';import{getTranslation as _0x17f081}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x349e65(0x1c5),_0x349e65(0x1f4),_0x349e65(0x214)];export class AIChatFeedSuggestionItemActionsView extends _0x1e4716{[_0x349e65(0x206)];[_0x349e65(0x1d1)];[_0x349e65(0x209)];[_0x349e65(0x1e4)];[_0x349e65(0x1f6)];[_0x349e65(0x1d6)]=0x1;[_0x349e65(0x1f3)];[_0x349e65(0x1e3)];[_0x349e65(0x21a)]=!0x0;constructor(_0x4b69c9,_0x50509b){const _0x1cb177=_0x349e65;super(_0x4b69c9),this[_0x1cb177(0x1f3)]=_0x50509b||[...ACTIONS],this[_0x1cb177(0x1e3)]=[...this[_0x1cb177(0x1f3)]];const _0x3ecb4f=this[_0x1cb177(0x217)];this[_0x1cb177(0x1cc)](_0x1cb177(0x215),!0x0),this[_0x1cb177(0x1cc)](_0x1cb177(0x1c7),!0x0),this[_0x1cb177(0x209)]=new _0x2f43b5({'label':Hn(_0x1cb177(0x1c5),_0x4b69c9,this[_0x1cb177(0x1d6)]),'icon':_0x3731dd,'withText':!0x0,'type':_0x1cb177(0x200),'actionName':_0x1cb177(0x1c5)}),this[_0x1cb177(0x1e4)]=new _0x2f43b5({'label':Hn(_0x1cb177(0x214),_0x4b69c9,this[_0x1cb177(0x1d6)]),'icon':_0x3d39e8,'withText':!0x0,'type':_0x1cb177(0x200),'actionName':_0x1cb177(0x214)}),this[_0x1cb177(0x1f6)]=new _0x2f43b5({'label':Hn(_0x1cb177(0x1f4),_0x4b69c9,this[_0x1cb177(0x1d6)]),'icon':_0x1a521a,'withText':!0x0,'type':_0x1cb177(0x200),'actionName':_0x1cb177(0x1f4)}),this[_0x1cb177(0x206)]=this[_0x1cb177(0x1c1)](_0x4b69c9),this[_0x1cb177(0x1d1)]=this[_0x1cb177(0x1ff)]([this[_0x1cb177(0x206)]]),this[_0x1cb177(0x1d2)]({'tag':_0x1cb177(0x20c),'attributes':{'class':['ck',_0x1cb177(0x1dd),_0x3ecb4f['if'](_0x1cb177(0x1c7),_0x1cb177(0x1d5),_0x9e814b=>!_0x9e814b)]},'children':this[_0x1cb177(0x1d1)]}),this[_0x1cb177(0x1ef)](this,_0x1cb177(0x1e0),()=>{const _0x1a2a5c=_0x1cb177;this[_0x1a2a5c(0x1e3)]=this[_0x1a2a5c(0x1f2)]?this[_0x1a2a5c(0x1f3)][_0x1a2a5c(0x1e6)](_0x22493a=>_0x1a2a5c(0x1c5)!==_0x22493a):[...this[_0x1a2a5c(0x1f3)]],this[_0x1a2a5c(0x1dc)](_0x4b69c9);});}[_0x349e65(0x1dc)](_0x3fd195){const _0x1e33f0=_0x349e65;this[_0x1e33f0(0x1d1)][_0x1e33f0(0x1df)](this[_0x1e33f0(0x206)])&&(this[_0x1e33f0(0x1d1)][_0x1e33f0(0x1ee)](this[_0x1e33f0(0x206)]),this[_0x1e33f0(0x206)][_0x1e33f0(0x1ca)]()),0x0!=this[_0x1e33f0(0x1e3)][_0x1e33f0(0x1c6)]&&(this[_0x1e33f0(0x206)]=this[_0x1e33f0(0x1c1)](_0x3fd195),this[_0x1e33f0(0x1d1)][_0x1e33f0(0x1f1)](this[_0x1e33f0(0x206)]));}[_0x349e65(0x1c1)](_0x22435f){const _0x2bcbc2=_0x349e65,_0xe5c809=0x1===this[_0x2bcbc2(0x1e3)][_0x2bcbc2(0x1c6)]?this[_0x2bcbc2(0x1d8)](_0x22435f):this[_0x2bcbc2(0x1f0)](_0x22435f),_0x4a62ea=this[_0x2bcbc2(0x21a)]?'':_0x2bcbc2(0x1c2);_0xe5c809[_0x2bcbc2(0x1cc)]({'label':Hn(this[_0x2bcbc2(0x1e3)][0x0],_0x22435f,this[_0x2bcbc2(0x1d6)]),'tooltip':Un(this[_0x2bcbc2(0x1e3)][0x0],_0x22435f,this[_0x2bcbc2(0x1d6)]),'withText':!0x0,'class':_0x2bcbc2(0x21f)+_0x4a62ea});for(const _0x251fbb of this[_0x2bcbc2(0x1e3)])_0xe5c809['on'](_0x251fbb,()=>{const _0x223473=_0x2bcbc2;this[_0x223473(0x1e9)](_0x251fbb);});return this[_0x2bcbc2(0x21a)]=!0x1,_0xe5c809;}[_0x349e65(0x1d8)](_0x1a7634){const _0x1b4d32=_0x349e65,_0x359d3d=new _0x2f7801(_0x1a7634);return _0x359d3d[_0x1b4d32(0x1cc)]({'class':_0x1b4d32(0x208),'withText':!0x0}),_0x359d3d['on'](_0x1b4d32(0x207),()=>{const _0x5ce96e=_0x1b4d32;_0x359d3d[_0x5ce96e(0x1e9)](this[_0x5ce96e(0x1e3)][0x0]);}),_0x359d3d;}[_0x349e65(0x1f0)](_0x860f86){const _0x3b11eb=_0x349e65,_0x305d46=new Gn(_0x860f86,{'listItemModels':this[_0x3b11eb(0x1e3)][_0x3b11eb(0x213)](_0x459c1f=>{const _0x524a74=_0x3b11eb;switch(_0x459c1f){case _0x524a74(0x1c5):return this[_0x524a74(0x209)];case _0x524a74(0x214):return this[_0x524a74(0x1e4)];case _0x524a74(0x1f4):return this[_0x524a74(0x1f6)];}})});return _0x305d46[_0x3b11eb(0x1cc)]({'label':Hn(this[_0x3b11eb(0x1e3)][0x0],_0x860f86,this[_0x3b11eb(0x1d6)]),'tooltip':Un(this[_0x3b11eb(0x1e3)][0x0],_0x860f86,this[_0x3b11eb(0x1d6)]),'withText':!0x0,'class':_0x3b11eb(0x1dd),'balloonPanelClass':_0x3b11eb(0x212)}),_0x305d46[_0x3b11eb(0x1e1)](_0x3b11eb(0x215))['to'](this),_0x305d46;}[_0x349e65(0x216)](_0x1124c4){const _0x95c9c9=_0x349e65,_0x357250=this[_0x95c9c9(0x203)];this[_0x95c9c9(0x1d6)]=_0x1124c4||this[_0x95c9c9(0x1d6)],this[_0x95c9c9(0x206)][_0x95c9c9(0x1cc)]({'label':Hn(this[_0x95c9c9(0x1e3)][0x0],_0x357250,this[_0x95c9c9(0x1d6)]),'tooltip':Un(this[_0x95c9c9(0x1e3)][0x0],_0x357250,this[_0x95c9c9(0x1d6)])}),this[_0x95c9c9(0x209)][_0x95c9c9(0x20e)]=Hn(_0x95c9c9(0x1c5),_0x357250,this[_0x95c9c9(0x1d6)]),this[_0x95c9c9(0x1e4)][_0x95c9c9(0x20e)]=Hn(_0x95c9c9(0x214),_0x357250,this[_0x95c9c9(0x1d6)]),this[_0x95c9c9(0x1f6)][_0x95c9c9(0x20e)]=Hn(_0x95c9c9(0x1f4),_0x357250,this[_0x95c9c9(0x1d6)]);}}class Gn extends _0x11ca8b{[_0x349e65(0x21c)];[_0x349e65(0x1f7)];[_0x349e65(0x1c4)];[_0x349e65(0x1e8)];constructor(_0x249078,_0x5019f0){const _0x45a432=_0x349e65;super(_0x249078),this[_0x45a432(0x1f7)]=new _0x5dbe10(this[_0x45a432(0x203)]),this[_0x45a432(0x21c)]=new _0x47d9aa(this[_0x45a432(0x203)]),this[_0x45a432(0x21c)][_0x45a432(0x1eb)](),this[_0x45a432(0x1cc)](_0x45a432(0x1fb),''),this[_0x45a432(0x1f7)][_0x45a432(0x1e1)](_0x45a432(0x1f5))['to'](this,_0x45a432(0x1fb)),this[_0x45a432(0x1c4)]=this[_0x45a432(0x20b)](_0x5019f0[_0x45a432(0x1ce)][_0x45a432(0x1ed)](0x1)),this[_0x45a432(0x21c)][_0x45a432(0x1f1)](this[_0x45a432(0x1f7)]),this[_0x45a432(0x1f7)][_0x45a432(0x218)][_0x45a432(0x1f1)](this[_0x45a432(0x1c4)]),this[_0x45a432(0x1e5)][_0x45a432(0x1da)](_0x45a432(0x1db)),this[_0x45a432(0x1e5)][_0x45a432(0x1cc)](_0x45a432(0x1db),_0x17f081(this[_0x45a432(0x203)],_0x45a432(0x1c3))),this[_0x45a432(0x1d4)](),this['on'](_0x45a432(0x207),()=>{const _0x343bf3=_0x45a432,_0x8340a4=_0x5019f0[_0x343bf3(0x1ce)][0x0][_0x343bf3(0x21b)];this[_0x343bf3(0x1e9)](_0x8340a4),this[_0x343bf3(0x1f7)][_0x343bf3(0x1c9)](),this[_0x343bf3(0x1e5)][_0x343bf3(0x1fa)]();}),this['on'](_0x45a432(0x1d3),()=>{const _0x42df7a=_0x45a432;this[_0x42df7a(0x1f7)][_0x42df7a(0x1c7)]?(this[_0x42df7a(0x1f7)][_0x42df7a(0x1c9)](),this[_0x42df7a(0x1e5)][_0x42df7a(0x1fa)]()):(this[_0x42df7a(0x1f7)][_0x42df7a(0x1e7)]({'target':this[_0x42df7a(0x21d)],'positions':[_0x42df7a(0x1cf)===this[_0x42df7a(0x203)][_0x42df7a(0x1d9)]?yn:Pn]}),this[_0x42df7a(0x1c4)][_0x42df7a(0x1fa)]());}),_0x5f0666({'emitter':this[_0x45a432(0x1f7)],'callback':()=>{const _0x1b7684=_0x45a432;this[_0x1b7684(0x1f7)][_0x1b7684(0x1c9)]();},'activator':()=>this[_0x45a432(0x1f7)][_0x45a432(0x1c7)],'contextElements':()=>[this[_0x45a432(0x21d)],this[_0x45a432(0x1f7)][_0x45a432(0x21d)]]});}[_0x349e65(0x20b)](_0x15a493){const _0x598e11=_0x349e65,_0xa854ae=this[_0x598e11(0x203)],_0x4d132b=new _0x5a0d0c(_0xa854ae);for(const _0xdbb8c0 of _0x15a493){const _0x5ea32b=new _0x12b265(_0xa854ae),_0xa23064=new _0x5f4c3f(_0xa854ae);_0xa23064[_0x598e11(0x1e1)](...Object[_0x598e11(0x205)](_0xdbb8c0))['to'](_0xdbb8c0),_0xa23064[_0x598e11(0x21e)](_0x598e11(0x207))['to'](_0x4d132b),_0x5ea32b[_0x598e11(0x1d1)][_0x598e11(0x1f1)](_0xa23064),_0x4d132b[_0x598e11(0x1de)][_0x598e11(0x1f1)](_0x5ea32b);}return _0x4d132b[_0x598e11(0x1de)][_0x598e11(0x21e)](_0x598e11(0x207))['to'](this),_0x4d132b['on'](_0x598e11(0x207),_0x25a1f9=>{const _0x454943=_0x598e11,_0x3acb36=_0x25a1f9[_0x454943(0x20f)];this[_0x454943(0x1e9)](_0x3acb36[_0x454943(0x21b)]),this[_0x454943(0x1f7)][_0x454943(0x1c9)](),this[_0x454943(0x1e5)][_0x454943(0x1fa)]();}),_0x4d132b;}[_0x349e65(0x1d4)](){const _0x444956=_0x349e65;this[_0x444956(0x1e8)]=new _0x29299b(),this[_0x444956(0x1e8)][_0x444956(0x1ef)](this[_0x444956(0x1f7)][_0x444956(0x21d)]),this[_0x444956(0x1e8)][_0x444956(0x1cc)](_0x444956(0x210),(_0x351a61,_0x394bda)=>{const _0x51c7ab=_0x444956;this[_0x51c7ab(0x1f7)][_0x51c7ab(0x1c9)](),this[_0x51c7ab(0x1e5)][_0x51c7ab(0x1fa)](),_0x394bda();});}[_0x349e65(0x1ca)](){const _0x427689=_0x349e65;super[_0x427689(0x1ca)](),this[_0x427689(0x1e8)][_0x427689(0x1ca)](),this[_0x427689(0x1f7)][_0x427689(0x1ca)](),this[_0x427689(0x21c)][_0x427689(0x219)]();}}function yn(_0x140e00){const _0x2b55b0=_0x349e65;return{'top':_0x140e00[_0x2b55b0(0x1e2)],'left':_0x140e00[_0x2b55b0(0x1fe)],'name':_0x2b55b0(0x1ea),'config':{'withArrow':!0x1}};}function Pn(_0x58bd3b,_0x4202ce){const _0x2079dc=_0x349e65;return{'top':_0x58bd3b[_0x2079dc(0x1e2)],'left':_0x58bd3b[_0x2079dc(0x1fe)]-(_0x4202ce[_0x2079dc(0x211)]-_0x58bd3b[_0x2079dc(0x211)]),'name':_0x2079dc(0x1ea),'config':{'withArrow':!0x1}};}function Hn(_0x2b6d37,_0x694d04,_0x53eba6){const _0x350f31=_0x349e65;switch(_0x2b6d37){case _0x350f31(0x1c5):return _0x17f081(_0x694d04,_0x350f31(0x1d7),_0x53eba6);case _0x350f31(0x214):return _0x17f081(_0x694d04,_0x350f31(0x1d0),_0x53eba6);case _0x350f31(0x1f4):return _0x17f081(_0x694d04,_0x350f31(0x1fc),_0x53eba6);}}function Un(_0x3055c0,_0x509082,_0x38251f){const _0x492af5=_0x349e65;switch(_0x3055c0){case _0x492af5(0x1c5):return _0x17f081(_0x509082,_0x492af5(0x1ec),_0x38251f);case _0x492af5(0x214):return _0x17f081(_0x509082,_0x492af5(0x20a),_0x38251f);case _0x492af5(0x1f4):return _0x17f081(_0x509082,_0x492af5(0x1f8),_0x38251f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2b8fcf=_0x334b;(function(_0xb18d21,_0x5be954){var _0x2af20c=_0x334b,_0x41f517=_0xb18d21();while(!![]){try{var _0x4ba3fb=-parseInt(_0x2af20c(0x1ad))/0x1+parseInt(_0x2af20c(0x1a9))/0x2+parseInt(_0x2af20c(0x1a5))/0x3+parseInt(_0x2af20c(0x1c4))/0x4+-parseInt(_0x2af20c(0x1c5))/0x5*(parseInt(_0x2af20c(0x1b2))/0x6)+-parseInt(_0x2af20c(0x1c9))/0x7*(-parseInt(_0x2af20c(0x1a8))/0x8)+parseInt(_0x2af20c(0x1b6))/0x9;if(_0x4ba3fb===_0x5be954)break;else _0x41f517['push'](_0x41f517['shift']());}catch(_0x2548b7){_0x41f517['push'](_0x41f517['shift']());}}}(_0x327a,0x8f243));function _0x334b(_0x4229c5,_0x4d96cc){var _0x327af6=_0x327a();return _0x334b=function(_0x334b58,_0x513fba){_0x334b58=_0x334b58-0x1a5;var _0x21b2e8=_0x327af6[_0x334b58];return _0x21b2e8;},_0x334b(_0x4229c5,_0x4d96cc);}import{AIChatFeedItemView as _0x3869bf}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x23639a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x5321cc}from'./aichatfeedsuggestionitemactionsview.js';function _0x327a(){var _0x5b2451=['hasPendingParts','897219FQmQWO','toggleSuggestionDisplayMode','rejectSuggestion','dropdownConfig','like','areActionsDisabled','ck-ai-chat__feed__ai-suggestion','containerView','hasNonEmptyParts','mouseLeaveSuggestion','updatePartState','addMany','children','mouseOverSuggestion','4553320aZBzfQ','2675jYRtCn','insertSuggestion','bind','updateSources','77ZzEdSD','bodyView','showDiff','isVisible','dislike','updateLabels','isEnabled','2258838tjFtsH','getPartView','applySuggestion','47704PtEObs','480088tGlEvX','options','showChangeInText','fire','817917whMtVQ','isTrackChangesOn','extendTemplate','updateContent','actionsView','10008OczJIp','partsCount','markAsDone'];_0x327a=function(){return _0x5b2451;};return _0x327a();}export class AIChatFeedSuggestionItemView extends _0x3869bf{[_0x2b8fcf(0x1bd)];[_0x2b8fcf(0x1b1)];constructor(_0x3ad8dc,_0x37a39f){var _0x28a95b=_0x2b8fcf;super(_0x37a39f),this[_0x28a95b(0x1bd)]=new _0x23639a(_0x3ad8dc,{'showDiff':_0x37a39f[_0x28a95b(0x1cb)],'areActionsDisabled':_0x37a39f[_0x28a95b(0x1bb)]}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1b7),(_0x3bbcaa,_0x354473)=>{var _0x39fbf8=_0x28a95b;this[_0x39fbf8(0x1ac)](_0x39fbf8(0x1b7),{'replyId':this[_0x39fbf8(0x1aa)]['id'],'showDiff':_0x354473[_0x39fbf8(0x1cb)]});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1ba),()=>{var _0xafeb2a=_0x28a95b;this[_0xafeb2a(0x1ac)](_0xafeb2a(0x1ba),{'replyId':this[_0xafeb2a(0x1aa)]['id']});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1cd),()=>{var _0x2dc202=_0x28a95b;this[_0x2dc202(0x1ac)](_0x2dc202(0x1cd),{'replyId':this[_0x2dc202(0x1aa)]['id']});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1ab),(_0x24bff9,{index:_0x2b7e0f})=>{var _0x2c4c82=_0x28a95b;this[_0x2c4c82(0x1ac)](_0x2c4c82(0x1ab),{'replyId':this[_0x2c4c82(0x1aa)]['id'],'partIndex':_0x2b7e0f});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1c6),(_0x4c74eb,{index:_0x345193})=>{var _0x39719c=_0x28a95b;this[_0x39719c(0x1ac)](_0x39719c(0x1c6),{'replyId':this[_0x39719c(0x1aa)]['id'],'partIndex':_0x345193});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1b8),(_0xc01033,{index:_0x59c176})=>{var _0x150ebe=_0x28a95b;this[_0x150ebe(0x1ac)](_0x150ebe(0x1b8),{'replyId':this[_0x150ebe(0x1aa)]['id'],'partIndex':_0x59c176});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1c3),(_0x353219,{index:_0x1ca844})=>{var _0x5e8c57=_0x28a95b;this[_0x5e8c57(0x1ac)](_0x5e8c57(0x1c3),{'replyId':this[_0x5e8c57(0x1aa)]['id'],'partIndex':_0x1ca844});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1bf),(_0xacb498,{index:_0x50046e})=>{var _0x20a9f1=_0x28a95b;this[_0x20a9f1(0x1ac)](_0x20a9f1(0x1bf),{'replyId':this[_0x20a9f1(0x1aa)]['id'],'partIndex':_0x50046e});}),this[_0x28a95b(0x1b1)]=new _0x5321cc(_0x3ad8dc,this[_0x28a95b(0x1aa)][_0x28a95b(0x1b9)]),this[_0x28a95b(0x1b1)][_0x28a95b(0x1c7)](_0x28a95b(0x1ae))['to'](this,_0x28a95b(0x1ae)),this[_0x28a95b(0x1b1)]['on'](_0x28a95b(0x1ab),()=>{var _0x31d928=_0x28a95b;this[_0x31d928(0x1ac)](_0x31d928(0x1ab),{'replyId':this[_0x31d928(0x1aa)]['id']});}),this[_0x28a95b(0x1b1)]['on'](_0x28a95b(0x1c6),()=>{var _0x1c78fd=_0x28a95b;this[_0x1c78fd(0x1ac)](_0x1c78fd(0x1c6),{'replyId':this[_0x1c78fd(0x1aa)]['id']});}),this[_0x28a95b(0x1b1)]['on'](_0x28a95b(0x1a7),()=>{var _0x47aba4=_0x28a95b;this[_0x47aba4(0x1ac)](_0x47aba4(0x1a7),{'replyId':this[_0x47aba4(0x1aa)]['id']});}),_0x37a39f[_0x28a95b(0x1bb)]?this[_0x28a95b(0x1b1)][_0x28a95b(0x1cf)]=!0x1:this[_0x28a95b(0x1b1)][_0x28a95b(0x1c7)](_0x28a95b(0x1cf))['to'](this[_0x28a95b(0x1bd)][_0x28a95b(0x1ca)],_0x28a95b(0x1b5)),this[_0x28a95b(0x1c2)][_0x28a95b(0x1c1)]([this[_0x28a95b(0x1bd)],this[_0x28a95b(0x1b1)]]),this[_0x28a95b(0x1af)]({'attributes':{'class':[_0x28a95b(0x1bc)]}});}async[_0x2b8fcf(0x1b0)](_0x28b04e){var _0x4db50c=_0x2b8fcf;await this[_0x4db50c(0x1bd)][_0x4db50c(0x1b0)](_0x28b04e),this[_0x4db50c(0x1b1)][_0x4db50c(0x1ce)](this[_0x4db50c(0x1bd)][_0x4db50c(0x1ca)][_0x4db50c(0x1b3)]);}[_0x2b8fcf(0x1c0)](_0x3fd0c4,_0x3a5233){var _0x540cbb=_0x2b8fcf;this[_0x540cbb(0x1bd)][_0x540cbb(0x1ca)][_0x540cbb(0x1c0)](_0x3fd0c4,_0x3a5233);}[_0x2b8fcf(0x1c8)](_0x281a81){var _0x591601=_0x2b8fcf;this[_0x591601(0x1bd)][_0x591601(0x1c8)](_0x281a81);}[_0x2b8fcf(0x1a6)](_0x3a9f4c){var _0x1a89f3=_0x2b8fcf;return this[_0x1a89f3(0x1bd)][_0x1a89f3(0x1ca)][_0x1a89f3(0x1a6)](_0x3a9f4c);}[_0x2b8fcf(0x1b4)](){var _0x1aa52b=_0x2b8fcf;super[_0x1aa52b(0x1b4)](),this[_0x1aa52b(0x1bd)][_0x1aa52b(0x1b4)](),this[_0x1aa52b(0x1b1)][_0x1aa52b(0x1cc)]=this[_0x1aa52b(0x1bd)][_0x1aa52b(0x1ca)][_0x1aa52b(0x1be)];}}
23
+ var _0x1710fc=_0x5d07;(function(_0xf1e5a8,_0x3bc7d6){var _0x236598=_0x5d07,_0x5d81b2=_0xf1e5a8();while(!![]){try{var _0x41b7b1=-parseInt(_0x236598(0x135))/0x1*(parseInt(_0x236598(0x127))/0x2)+-parseInt(_0x236598(0x129))/0x3+-parseInt(_0x236598(0x13c))/0x4*(-parseInt(_0x236598(0x120))/0x5)+parseInt(_0x236598(0x139))/0x6*(parseInt(_0x236598(0x13e))/0x7)+parseInt(_0x236598(0x123))/0x8+-parseInt(_0x236598(0x149))/0x9*(parseInt(_0x236598(0x12e))/0xa)+-parseInt(_0x236598(0x12a))/0xb*(-parseInt(_0x236598(0x13a))/0xc);if(_0x41b7b1===_0x3bc7d6)break;else _0x5d81b2['push'](_0x5d81b2['shift']());}catch(_0x4dd9b8){_0x5d81b2['push'](_0x5d81b2['shift']());}}}(_0x5c0f,0xb9bef));import{AIChatFeedItemView as _0xf88401}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x2d6b0a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x297c2f}from'./aichatfeedsuggestionitemactionsview.js';function _0x5c0f(){var _0x36c836=['mouseLeaveSuggestion','applySuggestion','getPartView','23974tSYGIc','isVisible','children','bind','930DqXiWy','808188NDnrWI','updateSources','149144mosmVN','fire','57631BPaznj','options','partsCount','markAsDone','areActionsDisabled','hasNonEmptyParts','mouseOverSuggestion','actionsView','insertSuggestion','updateContent','like','27eaROQh','toggleSuggestionDisplayMode','hasPendingParts','isTrackChangesOn','ck-ai-chat__feed__ai-suggestion','55nRCsTh','showDiff','isEnabled','2371072AUmgLV','containerView','rejectSuggestion','dislike','80TPoEZf','showChangeInText','3271041jMpOcq','374fmrlsJ','bodyView','dropdownConfig','extendTemplate','4874630NkSWcl','updatePartState','addMany','updateLabels'];_0x5c0f=function(){return _0x36c836;};return _0x5c0f();}function _0x5d07(_0x4905c4,_0x513553){var _0x5c0f22=_0x5c0f();return _0x5d07=function(_0x5d0714,_0x4b83ad){_0x5d0714=_0x5d0714-0x120;var _0x2a3f80=_0x5c0f22[_0x5d0714];return _0x2a3f80;},_0x5d07(_0x4905c4,_0x513553);}export class AIChatFeedSuggestionItemView extends _0xf88401{[_0x1710fc(0x124)];[_0x1710fc(0x145)];constructor(_0x4182e2,_0x3f2777){var _0x5283fa=_0x1710fc;super(_0x3f2777),this[_0x5283fa(0x124)]=new _0x2d6b0a(_0x4182e2,{'showDiff':_0x3f2777[_0x5283fa(0x121)],'areActionsDisabled':_0x3f2777[_0x5283fa(0x142)]}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x14a),(_0x87b1db,_0x313d53)=>{var _0x269e17=_0x5283fa;this[_0x269e17(0x13d)](_0x269e17(0x14a),{'replyId':this[_0x269e17(0x13f)]['id'],'showDiff':_0x313d53[_0x269e17(0x121)]});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x148),()=>{var _0x43125c=_0x5283fa;this[_0x43125c(0x13d)](_0x43125c(0x148),{'replyId':this[_0x43125c(0x13f)]['id']});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x126),()=>{var _0x908914=_0x5283fa;this[_0x908914(0x13d)](_0x908914(0x126),{'replyId':this[_0x908914(0x13f)]['id']});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x128),(_0x4ed9a2,{index:_0x4c83e6})=>{var _0x48276d=_0x5283fa;this[_0x48276d(0x13d)](_0x48276d(0x128),{'replyId':this[_0x48276d(0x13f)]['id'],'partIndex':_0x4c83e6});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x146),(_0x4b878e,{index:_0xb0116})=>{var _0x24517a=_0x5283fa;this[_0x24517a(0x13d)](_0x24517a(0x146),{'replyId':this[_0x24517a(0x13f)]['id'],'partIndex':_0xb0116});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x125),(_0x1f9310,{index:_0x3b8748})=>{var _0x4ad131=_0x5283fa;this[_0x4ad131(0x13d)](_0x4ad131(0x125),{'replyId':this[_0x4ad131(0x13f)]['id'],'partIndex':_0x3b8748});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x144),(_0x39d708,{index:_0xee336})=>{var _0xbecbc9=_0x5283fa;this[_0xbecbc9(0x13d)](_0xbecbc9(0x144),{'replyId':this[_0xbecbc9(0x13f)]['id'],'partIndex':_0xee336});}),this[_0x5283fa(0x124)]['on'](_0x5283fa(0x132),(_0x54a806,{index:_0x4ad659})=>{var _0x5ee648=_0x5283fa;this[_0x5ee648(0x13d)](_0x5ee648(0x132),{'replyId':this[_0x5ee648(0x13f)]['id'],'partIndex':_0x4ad659});}),this[_0x5283fa(0x145)]=new _0x297c2f(_0x4182e2,this[_0x5283fa(0x13f)][_0x5283fa(0x12c)]),this[_0x5283fa(0x145)][_0x5283fa(0x138)](_0x5283fa(0x14c))['to'](this,_0x5283fa(0x14c)),this[_0x5283fa(0x145)]['on'](_0x5283fa(0x128),()=>{var _0x7c42b1=_0x5283fa;this[_0x7c42b1(0x13d)](_0x7c42b1(0x128),{'replyId':this[_0x7c42b1(0x13f)]['id']});}),this[_0x5283fa(0x145)]['on'](_0x5283fa(0x146),()=>{var _0x44c495=_0x5283fa;this[_0x44c495(0x13d)](_0x44c495(0x146),{'replyId':this[_0x44c495(0x13f)]['id']});}),this[_0x5283fa(0x145)]['on'](_0x5283fa(0x133),()=>{var _0x1f8a1e=_0x5283fa;this[_0x1f8a1e(0x13d)](_0x1f8a1e(0x133),{'replyId':this[_0x1f8a1e(0x13f)]['id']});}),_0x3f2777[_0x5283fa(0x142)]?this[_0x5283fa(0x145)][_0x5283fa(0x122)]=!0x1:this[_0x5283fa(0x145)][_0x5283fa(0x138)](_0x5283fa(0x122))['to'](this[_0x5283fa(0x124)][_0x5283fa(0x12b)],_0x5283fa(0x14b)),this[_0x5283fa(0x137)][_0x5283fa(0x130)]([this[_0x5283fa(0x124)],this[_0x5283fa(0x145)]]),this[_0x5283fa(0x12d)]({'attributes':{'class':[_0x5283fa(0x14d)]}});}async[_0x1710fc(0x147)](_0xb16184){var _0x5db053=_0x1710fc;await this[_0x5db053(0x124)][_0x5db053(0x147)](_0xb16184),this[_0x5db053(0x145)][_0x5db053(0x131)](this[_0x5db053(0x124)][_0x5db053(0x12b)][_0x5db053(0x140)]);}[_0x1710fc(0x12f)](_0x2c935d,_0x5f19cf){var _0x579f85=_0x1710fc;this[_0x579f85(0x124)][_0x579f85(0x12b)][_0x579f85(0x12f)](_0x2c935d,_0x5f19cf);}[_0x1710fc(0x13b)](_0x4768a2){var _0x2d1a23=_0x1710fc;this[_0x2d1a23(0x124)][_0x2d1a23(0x13b)](_0x4768a2);}[_0x1710fc(0x134)](_0x5e4501){var _0x5b12f0=_0x1710fc;return this[_0x5b12f0(0x124)][_0x5b12f0(0x12b)][_0x5b12f0(0x134)](_0x5e4501);}[_0x1710fc(0x141)](){var _0x4f67e0=_0x1710fc;super[_0x4f67e0(0x141)](),this[_0x4f67e0(0x124)][_0x4f67e0(0x141)](),this[_0x4f67e0(0x145)][_0x4f67e0(0x136)]=this[_0x4f67e0(0x124)][_0x4f67e0(0x12b)][_0x4f67e0(0x143)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5ee9(_0x388a9a,_0x29025e){var _0x44f5dc=_0x44f5();return _0x5ee9=function(_0x5ee991,_0x15e06b){_0x5ee991=_0x5ee991-0x1e9;var _0x1b67f4=_0x44f5dc[_0x5ee991];return _0x1b67f4;},_0x5ee9(_0x388a9a,_0x29025e);}var _0x3965c6=_0x5ee9;(function(_0x1b1e36,_0x2edca6){var _0x54678b=_0x5ee9,_0xa9db4c=_0x1b1e36();while(!![]){try{var _0x3f5517=-parseInt(_0x54678b(0x1ea))/0x1*(-parseInt(_0x54678b(0x209))/0x2)+-parseInt(_0x54678b(0x1f4))/0x3*(parseInt(_0x54678b(0x1f3))/0x4)+-parseInt(_0x54678b(0x20a))/0x5*(parseInt(_0x54678b(0x1f5))/0x6)+-parseInt(_0x54678b(0x1fd))/0x7+-parseInt(_0x54678b(0x1fa))/0x8+parseInt(_0x54678b(0x1f6))/0x9*(parseInt(_0x54678b(0x201))/0xa)+-parseInt(_0x54678b(0x203))/0xb*(-parseInt(_0x54678b(0x1f8))/0xc);if(_0x3f5517===_0x2edca6)break;else _0xa9db4c['push'](_0xa9db4c['shift']());}catch(_0x25da93){_0xa9db4c['push'](_0xa9db4c['shift']());}}}(_0x44f5,0x5f206));import{AIChatFeedItemView as _0x3b0e5f}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x3b2a94}from'./aichatfeedcontextchipsview.js';import{View as _0x59297d}from'ckeditor5/src/ui.js';function _0x44f5(){var _0x34a3f4=['extendTemplate','markAsDone','div','children','ck-ai-chat__feed__context-chips','24HcHkIq','45903vKWjde','4648362XZEqqn','267939iXSJhJ','setTemplate','108xvulzy','ck-ai-chat__feed__user-message','2343936iKNbkF','innerHTML','contextItems','4614659hNTESP','add','_locale','render','40MMdJhV','_createMessageContentView','2488959bWCZdt','element','_messageContentView','options','initialContent','_contextChipsView','298lcVkGZ','5tngbqZ','_bodyCollection','filter','_createContextChipsView','355pHWgUX','length','ck-ai-chat__feed__message-content','hidden'];_0x44f5=function(){return _0x34a3f4;};return _0x44f5();}export class AIChatFeedUserMessageItemView extends _0x3b0e5f{[_0x3965c6(0x208)]=null;[_0x3965c6(0x1ff)];[_0x3965c6(0x20b)];[_0x3965c6(0x205)];constructor(_0x201e75,_0x316eee,_0x58954f){var _0x5acf37=_0x3965c6;super(_0x316eee),this[_0x5acf37(0x1ff)]=_0x201e75,this[_0x5acf37(0x20b)]=_0x58954f,this[_0x5acf37(0x1e9)](),this[_0x5acf37(0x202)](),this[_0x5acf37(0x1ee)]({'attributes':{'class':[_0x5acf37(0x1f9)]}});}[_0x3965c6(0x1e9)](){var _0x430d4f=_0x3965c6;this[_0x430d4f(0x206)][_0x430d4f(0x1fc)]&&this[_0x430d4f(0x206)][_0x430d4f(0x1fc)][_0x430d4f(0x1eb)]>0x0&&(this[_0x430d4f(0x208)]=new _0x3b2a94(this[_0x430d4f(0x1ff)],this[_0x430d4f(0x206)][_0x430d4f(0x1fc)][_0x430d4f(0x20c)](_0x26a1d3=>!_0x26a1d3[_0x430d4f(0x1ed)]),this[_0x430d4f(0x20b)]),this[_0x430d4f(0x208)][_0x430d4f(0x1ee)]({'attributes':{'class':_0x430d4f(0x1f2)}}),this[_0x430d4f(0x1f1)][_0x430d4f(0x1fe)](this[_0x430d4f(0x208)]));}[_0x3965c6(0x202)](){var _0x5981ae=_0x3965c6;this[_0x5981ae(0x205)]=new _0x59297d(this[_0x5981ae(0x1ff)]),this[_0x5981ae(0x205)][_0x5981ae(0x1f7)]({'tag':_0x5981ae(0x1f0),'attributes':{'class':_0x5981ae(0x1ec)}}),this[_0x5981ae(0x1f1)][_0x5981ae(0x1fe)](this[_0x5981ae(0x205)]);}[_0x3965c6(0x200)](){var _0x364e7a=_0x3965c6;super[_0x364e7a(0x200)](),this[_0x364e7a(0x205)][_0x364e7a(0x204)][_0x364e7a(0x1fb)]=this[_0x364e7a(0x206)][_0x364e7a(0x207)],this[_0x364e7a(0x1ef)]();}}
23
+ var _0x1c71b5=_0x5be1;(function(_0x54c254,_0x4393f2){var _0x759d3b=_0x5be1,_0x3a8225=_0x54c254();while(!![]){try{var _0x148957=-parseInt(_0x759d3b(0x1b1))/0x1+parseInt(_0x759d3b(0x193))/0x2+parseInt(_0x759d3b(0x195))/0x3+-parseInt(_0x759d3b(0x1a2))/0x4*(parseInt(_0x759d3b(0x199))/0x5)+-parseInt(_0x759d3b(0x198))/0x6*(parseInt(_0x759d3b(0x1a4))/0x7)+parseInt(_0x759d3b(0x19e))/0x8+parseInt(_0x759d3b(0x1a7))/0x9;if(_0x148957===_0x4393f2)break;else _0x3a8225['push'](_0x3a8225['shift']());}catch(_0x3b1e24){_0x3a8225['push'](_0x3a8225['shift']());}}}(_0x5448,0xef883));import{AIChatFeedItemView as _0x1da28e}from'./aichatfeeditemview.js';function _0x5be1(_0x1b7227,_0xa6a805){var _0x5448db=_0x5448();return _0x5be1=function(_0x5be1f2,_0x378b08){_0x5be1f2=_0x5be1f2-0x192;var _0x2c598e=_0x5448db[_0x5be1f2];return _0x2c598e;},_0x5be1(_0x1b7227,_0xa6a805);}import{AIChatFeedContextChipsView as _0x2d83eb}from'./aichatfeedcontextchipsview.js';import{View as _0xfef51}from'ckeditor5/src/ui.js';function _0x5448(){var _0x5d432c=['markAsDone','div','3821308OfJTtk','children','17206SDZvlK','ck-ai-chat__feed__message-content','_bodyCollection','2789235TXbQPX','ck-ai-chat__feed__context-chips','setTemplate','_locale','_contextChipsView','contextItems','render','_createMessageContentView','ck-ai-chat__feed__user-message','initialContent','1144608rYwWSt','options','extendTemplate','1224202sbisRe','add','1728480SZrXnT','hidden','_createContextChipsView','246uDjsta','5LUHFrW','innerHTML','length','_messageContentView','filter','13469280pIjMED','element'];_0x5448=function(){return _0x5d432c;};return _0x5448();}export class AIChatFeedUserMessageItemView extends _0x1da28e{[_0x1c71b5(0x1ab)]=null;[_0x1c71b5(0x1aa)];[_0x1c71b5(0x1a6)];[_0x1c71b5(0x19c)];constructor(_0x417264,_0x48b42f,_0x5c869f){var _0x28ce01=_0x1c71b5;super(_0x48b42f),this[_0x28ce01(0x1aa)]=_0x417264,this[_0x28ce01(0x1a6)]=_0x5c869f,this[_0x28ce01(0x197)](),this[_0x28ce01(0x1ae)](),this[_0x28ce01(0x192)]({'attributes':{'class':[_0x28ce01(0x1af)]}});}[_0x1c71b5(0x197)](){var _0x19a12c=_0x1c71b5;this[_0x19a12c(0x1b2)][_0x19a12c(0x1ac)]&&this[_0x19a12c(0x1b2)][_0x19a12c(0x1ac)][_0x19a12c(0x19b)]>0x0&&(this[_0x19a12c(0x1ab)]=new _0x2d83eb(this[_0x19a12c(0x1aa)],this[_0x19a12c(0x1b2)][_0x19a12c(0x1ac)][_0x19a12c(0x19d)](_0x3cc392=>!_0x3cc392[_0x19a12c(0x196)]),this[_0x19a12c(0x1a6)]),this[_0x19a12c(0x1ab)][_0x19a12c(0x192)]({'attributes':{'class':_0x19a12c(0x1a8)}}),this[_0x19a12c(0x1a3)][_0x19a12c(0x194)](this[_0x19a12c(0x1ab)]));}[_0x1c71b5(0x1ae)](){var _0x383a37=_0x1c71b5;this[_0x383a37(0x19c)]=new _0xfef51(this[_0x383a37(0x1aa)]),this[_0x383a37(0x19c)][_0x383a37(0x1a9)]({'tag':_0x383a37(0x1a1),'attributes':{'class':_0x383a37(0x1a5)}}),this[_0x383a37(0x1a3)][_0x383a37(0x194)](this[_0x383a37(0x19c)]);}[_0x1c71b5(0x1ad)](){var _0x316f68=_0x1c71b5;super[_0x316f68(0x1ad)](),this[_0x316f68(0x19c)][_0x316f68(0x19f)][_0x316f68(0x19a)]=this[_0x316f68(0x1b2)][_0x316f68(0x1b0)],this[_0x316f68(0x1a0)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53ef44=_0x4618;(function(_0x4ca38c,_0x13ef77){const _0x55fdce=_0x4618,_0x1d0dda=_0x4ca38c();while(!![]){try{const _0x3494ca=-parseInt(_0x55fdce(0x108))/0x1+parseInt(_0x55fdce(0x116))/0x2*(-parseInt(_0x55fdce(0x11a))/0x3)+-parseInt(_0x55fdce(0x117))/0x4*(parseInt(_0x55fdce(0x10f))/0x5)+parseInt(_0x55fdce(0x10c))/0x6+parseInt(_0x55fdce(0x107))/0x7*(parseInt(_0x55fdce(0x110))/0x8)+parseInt(_0x55fdce(0x10e))/0x9*(-parseInt(_0x55fdce(0x104))/0xa)+parseInt(_0x55fdce(0x10d))/0xb;if(_0x3494ca===_0x13ef77)break;else _0x1d0dda['push'](_0x1d0dda['shift']());}catch(_0x1b799f){_0x1d0dda['push'](_0x1d0dda['shift']());}}}(_0x52fa,0xace52));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x55ea57}from'../../aicore/utils/eventnames.js';function _0x4618(_0x98ba2,_0x5688e8){const _0x52fa29=_0x52fa();return _0x4618=function(_0x4618bf,_0xd22043){_0x4618bf=_0x4618bf-0x104;let _0x411f35=_0x52fa29[_0x4618bf];return _0x411f35;},_0x4618(_0x98ba2,_0x5688e8);}function _0x52fa(){const _0x2b7134=['resizeTabs','addResourceToContext','abortPromptStream','7235712OyxoqL','37902920aiREBG','82197BvqYwm','5eDdqeQ','2526216WnlUsB','removeContextItem','startConversation','selectModel','addFileToContext','toggleReasoning','1116230DqFpUo','5612668LHGttx','addUrlToContext','toggleWebSearch','3RfsMnJ','addDocumentToContext','1310vMQlrB','loadSourceResources','sendUserMessage','7cWCCIT','1101566QCLOsx'];_0x52fa=function(){return _0x2b7134;};return _0x52fa();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x55ea57,_0x53ef44(0x112),_0x53ef44(0x109),_0x53ef44(0x106),_0x53ef44(0x10b),_0x53ef44(0x11b),_0x53ef44(0x114),_0x53ef44(0x118),_0x53ef44(0x10a),_0x53ef44(0x111),_0x53ef44(0x105),_0x53ef44(0x119),_0x53ef44(0x115),_0x53ef44(0x113)];
23
+ function _0x2e1f(_0x527b45,_0x5ef3aa){const _0x3cc4fe=_0x3cc4();return _0x2e1f=function(_0x2e1f36,_0x2c500e){_0x2e1f36=_0x2e1f36-0x173;let _0x44996a=_0x3cc4fe[_0x2e1f36];return _0x44996a;},_0x2e1f(_0x527b45,_0x5ef3aa);}const _0x5c8146=_0x2e1f;(function(_0x52201a,_0x1d337a){const _0x1888d6=_0x2e1f,_0x4488e6=_0x52201a();while(!![]){try{const _0x2d955e=parseInt(_0x1888d6(0x17b))/0x1+-parseInt(_0x1888d6(0x180))/0x2*(parseInt(_0x1888d6(0x174))/0x3)+parseInt(_0x1888d6(0x185))/0x4*(parseInt(_0x1888d6(0x183))/0x5)+parseInt(_0x1888d6(0x184))/0x6*(-parseInt(_0x1888d6(0x187))/0x7)+parseInt(_0x1888d6(0x181))/0x8+parseInt(_0x1888d6(0x189))/0x9+parseInt(_0x1888d6(0x17d))/0xa;if(_0x2d955e===_0x1d337a)break;else _0x4488e6['push'](_0x4488e6['shift']());}catch(_0x4ff8e7){_0x4488e6['push'](_0x4488e6['shift']());}}}(_0x3cc4,0x62b71));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x149fae}from'../../aicore/utils/eventnames.js';function _0x3cc4(){const _0x4a4b7c=['toggleWebSearch','402022tKuGlv','1843576vHjtkC','removeContextItem','20JNCIMC','4270866aWqWtS','254940TLRRXC','resizeTabs','7iUyFNB','startConversation','5916618vXCnog','toggleReasoning','6LCLvrS','abortPromptStream','addFileToContext','sendUserMessage','addUrlToContext','addResourceToContext','selectModel','157243AtZfGO','loadSourceResources','2181380IajtFI','addDocumentToContext'];_0x3cc4=function(){return _0x4a4b7c;};return _0x3cc4();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x149fae,_0x5c8146(0x188),_0x5c8146(0x186),_0x5c8146(0x177),_0x5c8146(0x175),_0x5c8146(0x17e),_0x5c8146(0x176),_0x5c8146(0x178),_0x5c8146(0x179),_0x5c8146(0x182),_0x5c8146(0x17c),_0x5c8146(0x17f),_0x5c8146(0x173),_0x5c8146(0x17a)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x348b(_0x3917c6,_0x39ee1d){const _0x14a9b3=_0x14a9();return _0x348b=function(_0x348b2e,_0xf5aa8){_0x348b2e=_0x348b2e-0x1b0;let _0x51ee67=_0x14a9b3[_0x348b2e];return _0x51ee67;},_0x348b(_0x3917c6,_0x39ee1d);}const _0x49d92c=_0x348b;(function(_0x38913b,_0x2141ec){const _0x1cf09b=_0x348b,_0x42d4da=_0x38913b();while(!![]){try{const _0x4e3aae=-parseInt(_0x1cf09b(0x1bf))/0x1*(parseInt(_0x1cf09b(0x1c0))/0x2)+-parseInt(_0x1cf09b(0x1b8))/0x3+-parseInt(_0x1cf09b(0x1cd))/0x4+-parseInt(_0x1cf09b(0x1b5))/0x5*(parseInt(_0x1cf09b(0x1c2))/0x6)+parseInt(_0x1cf09b(0x1b2))/0x7*(parseInt(_0x1cf09b(0x1c5))/0x8)+parseInt(_0x1cf09b(0x1b9))/0x9*(-parseInt(_0x1cf09b(0x1ca))/0xa)+parseInt(_0x1cf09b(0x1b0))/0xb;if(_0x4e3aae===_0x2141ec)break;else _0x42d4da['push'](_0x42d4da['shift']());}catch(_0x44c666){_0x42d4da['push'](_0x42d4da['shift']());}}}(_0x14a9,0x663e0));import{EmitterMixin as _0x5cc79e}from'ckeditor5/src/utils.js';function _0x14a9(){const _0x1e36b0=['50632tnAsJx','completePromise','fire','length','once','250ZUFqMT','_processQueue','isProcessing','1539688ybwHgn','27162432RTNQMv','_abortController','763RsGjJg','_queueEmpty','reject','985tLgMFo','abort','resolve','2159514GWRjiE','163764VyyRDt','callback','push','queue','enqueue','signal','132214OTGOQS','8vFOdFf','queueEmptyPromise','19854xMIMhO','shift','createTask'];_0x14a9=function(){return _0x1e36b0;};return _0x14a9();}export class PromiseQueue extends _0x5cc79e(){[_0x49d92c(0x1bc)]=[];[_0x49d92c(0x1cc)]=!0x1;[_0x49d92c(0x1b1)];async[_0x49d92c(0x1bd)](_0xdfe883){const _0x1512cf=_0x49d92c,_0x36a1cc=this[_0x1512cf(0x1c4)](_0xdfe883);return this[_0x1512cf(0x1bc)][_0x1512cf(0x1bb)](_0x36a1cc),this[_0x1512cf(0x1cb)](),_0x36a1cc[_0x1512cf(0x1c6)];}[_0x49d92c(0x1b6)](){const _0x158dae=_0x49d92c;this[_0x158dae(0x1cc)]&&(this[_0x158dae(0x1b1)][_0x158dae(0x1b6)](),this[_0x158dae(0x1b1)]=void 0x0,this[_0x158dae(0x1bc)]=[],this[_0x158dae(0x1c7)](_0x158dae(0x1b3)),this[_0x158dae(0x1cc)]=!0x1);}get[_0x49d92c(0x1c1)](){const _0x2ee11b=_0x49d92c;return this[_0x2ee11b(0x1bc)][_0x2ee11b(0x1c8)]||this[_0x2ee11b(0x1cc)]?new Promise(_0x216425=>{const _0x3eb87b=_0x2ee11b;this[_0x3eb87b(0x1c9)](_0x3eb87b(0x1b3),()=>{_0x216425();});}):Promise[_0x2ee11b(0x1b7)]();}async[_0x49d92c(0x1cb)](){const _0x176efc=_0x49d92c;if(!this[_0x176efc(0x1cc)]){this[_0x176efc(0x1b1)]=new AbortController(),this[_0x176efc(0x1cc)]=!0x0;try{for(;this[_0x176efc(0x1bc)][_0x176efc(0x1c8)]&&this[_0x176efc(0x1cc)];){const _0x1e7f98=this[_0x176efc(0x1bc)][_0x176efc(0x1c3)]();try{await _0x1e7f98[_0x176efc(0x1ba)](this[_0x176efc(0x1b1)][_0x176efc(0x1be)]),_0x1e7f98[_0x176efc(0x1b7)]();}catch(_0x28c91f){_0x1e7f98[_0x176efc(0x1b4)](_0x28c91f);}}}finally{this[_0x176efc(0x1cc)]=!0x1,this[_0x176efc(0x1b1)]=void 0x0;}this[_0x176efc(0x1c7)](_0x176efc(0x1b3));}}[_0x49d92c(0x1c4)](_0x185ecb){let _0x2d0e43,_0x5362e6;const _0xcbcfb4=new Promise((_0x572124,_0x117f0b)=>{_0x2d0e43=_0x572124,_0x5362e6=_0x117f0b;});return{'callback':_0x185ecb,'resolve':_0x2d0e43,'reject':_0x5362e6,'completePromise':_0xcbcfb4};}}
23
+ const _0x52ea64=_0x21a4;(function(_0x2970a5,_0x22fce2){const _0x28607f=_0x21a4,_0xc01b1b=_0x2970a5();while(!![]){try{const _0x5731f7=-parseInt(_0x28607f(0xe4))/0x1+parseInt(_0x28607f(0xd8))/0x2*(parseInt(_0x28607f(0xe3))/0x3)+-parseInt(_0x28607f(0xd5))/0x4+-parseInt(_0x28607f(0xec))/0x5+-parseInt(_0x28607f(0xde))/0x6*(-parseInt(_0x28607f(0xd1))/0x7)+parseInt(_0x28607f(0xdb))/0x8*(-parseInt(_0x28607f(0xe5))/0x9)+parseInt(_0x28607f(0xd0))/0xa;if(_0x5731f7===_0x22fce2)break;else _0xc01b1b['push'](_0xc01b1b['shift']());}catch(_0x58015d){_0xc01b1b['push'](_0xc01b1b['shift']());}}}(_0x230f,0x99a86));function _0x230f(){const _0xb0075b=['_processQueue','signal','3dxhKAj','1199419xsEnkS','78471JMbKsS','_queueEmpty','once','shift','abort','completePromise','push','5026000FibHGE','31807080XjjwRS','56tQUrHV','_abortController','resolve','isProcessing','4366136jqFVno','createTask','queue','1178354RNjmwi','length','reject','144UBzlHB','enqueue','callback','234444ZSVTbH','queueEmptyPromise','fire'];_0x230f=function(){return _0xb0075b;};return _0x230f();}function _0x21a4(_0xa1ce30,_0x1a4837){const _0x230f0d=_0x230f();return _0x21a4=function(_0x21a41c,_0x4bdcb2){_0x21a41c=_0x21a41c-0xd0;let _0x3cfb0e=_0x230f0d[_0x21a41c];return _0x3cfb0e;},_0x21a4(_0xa1ce30,_0x1a4837);}import{EmitterMixin as _0x1be8b8}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x1be8b8(){[_0x52ea64(0xd7)]=[];[_0x52ea64(0xd4)]=!0x1;[_0x52ea64(0xd2)];async[_0x52ea64(0xdc)](_0xcc553c){const _0x4f61ac=_0x52ea64,_0x1d9706=this[_0x4f61ac(0xd6)](_0xcc553c);return this[_0x4f61ac(0xd7)][_0x4f61ac(0xeb)](_0x1d9706),this[_0x4f61ac(0xe1)](),_0x1d9706[_0x4f61ac(0xea)];}[_0x52ea64(0xe9)](){const _0x4f55db=_0x52ea64;this[_0x4f55db(0xd4)]&&(this[_0x4f55db(0xd2)][_0x4f55db(0xe9)](),this[_0x4f55db(0xd2)]=void 0x0,this[_0x4f55db(0xd7)]=[],this[_0x4f55db(0xe0)](_0x4f55db(0xe6)),this[_0x4f55db(0xd4)]=!0x1);}get[_0x52ea64(0xdf)](){const _0x1984cf=_0x52ea64;return this[_0x1984cf(0xd7)][_0x1984cf(0xd9)]||this[_0x1984cf(0xd4)]?new Promise(_0x3ccc71=>{const _0x425929=_0x1984cf;this[_0x425929(0xe7)](_0x425929(0xe6),()=>{_0x3ccc71();});}):Promise[_0x1984cf(0xd3)]();}async[_0x52ea64(0xe1)](){const _0x2f66dd=_0x52ea64;if(!this[_0x2f66dd(0xd4)]){this[_0x2f66dd(0xd2)]=new AbortController(),this[_0x2f66dd(0xd4)]=!0x0;try{for(;this[_0x2f66dd(0xd7)][_0x2f66dd(0xd9)]&&this[_0x2f66dd(0xd4)];){const _0x2196f6=this[_0x2f66dd(0xd7)][_0x2f66dd(0xe8)]();try{await _0x2196f6[_0x2f66dd(0xdd)](this[_0x2f66dd(0xd2)][_0x2f66dd(0xe2)]),_0x2196f6[_0x2f66dd(0xd3)]();}catch(_0xbe66cb){_0x2196f6[_0x2f66dd(0xda)](_0xbe66cb);}}}finally{this[_0x2f66dd(0xd4)]=!0x1,this[_0x2f66dd(0xd2)]=void 0x0;}this[_0x2f66dd(0xe0)](_0x2f66dd(0xe6));}}[_0x52ea64(0xd6)](_0x391b27){let _0x3d2f0e,_0x147e79;const _0x1fd0ac=new Promise((_0x3b15ef,_0x351cb2)=>{_0x3d2f0e=_0x3b15ef,_0x147e79=_0x351cb2;});return{'callback':_0x391b27,'resolve':_0x3d2f0e,'reject':_0x147e79,'completePromise':_0x1fd0ac};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46c645=_0xe663;(function(_0x41350e,_0x3c9f2b){const _0x417e5a=_0xe663,_0x36e328=_0x41350e();while(!![]){try{const _0x194f8b=-parseInt(_0x417e5a(0x101))/0x1+parseInt(_0x417e5a(0xe8))/0x2+-parseInt(_0x417e5a(0x100))/0x3+-parseInt(_0x417e5a(0xfe))/0x4*(parseInt(_0x417e5a(0xe0))/0x5)+-parseInt(_0x417e5a(0xf6))/0x6*(parseInt(_0x417e5a(0xf8))/0x7)+parseInt(_0x417e5a(0xfa))/0x8*(parseInt(_0x417e5a(0xdb))/0x9)+parseInt(_0x417e5a(0xdf))/0xa*(parseInt(_0x417e5a(0xde))/0xb);if(_0x194f8b===_0x3c9f2b)break;else _0x36e328['push'](_0x36e328['shift']());}catch(_0x4186c0){_0x36e328['push'](_0x36e328['shift']());}}}(_0x4214,0x42b1b));function _0x4214(){const _0x16e104=['abortController','End','234434MogAqB','isUserPaused','auto','ArrowUp','ArrowDown','includes','animationFrameId','destroy','touchstart','_onUserEvent','Home','deltaY','start','_isAtBottom','933924piCvOM','signal','14BfVzZo','abort','8epCRLR','pointerdown','keydown','addEventListener','1408228DMCFFh','wheel','400689extOKP','115283cCDSXg','PageDown','scrollTo','scrollHeight','bind','stop','61686UwViOu','key','_stop','11OtFIqb','10613190ouZwoD','5RvyPME','element','isRunning','_rafUpdate','PageUp','type'];_0x4214=function(){return _0x16e104;};return _0x4214();}function _0xe663(_0x2486df,_0x1d4f1d){const _0x4214e6=_0x4214();return _0xe663=function(_0xe663df,_0x3f5df3){_0xe663df=_0xe663df-0xd6;let _0x6edcba=_0x4214e6[_0xe663df];return _0x6edcba;},_0xe663(_0x2486df,_0x1d4f1d);}const ws=[_0x46c645(0xff),_0x46c645(0xf0),_0x46c645(0xfb),_0x46c645(0xfc)],fs=[_0x46c645(0xeb),_0x46c645(0xec),_0x46c645(0xe4),_0x46c645(0xd6),_0x46c645(0xf2),_0x46c645(0xe7),'\x20'];export class ScrollManager{[_0x46c645(0xe1)];[_0x46c645(0xee)];[_0x46c645(0xe2)];[_0x46c645(0xe6)];[_0x46c645(0xe9)];constructor(_0x23945a){const _0x5c2019=_0x46c645;this[_0x5c2019(0xe1)]=_0x23945a,this[_0x5c2019(0xee)]=null,this[_0x5c2019(0xe2)]=!0x1,this[_0x5c2019(0xe6)]=new AbortController(),this[_0x5c2019(0xe9)]=!0x1;for(const _0x20b1e7 of ws){const _0x1e75bc=_0x5c2019(0xfc)!==_0x20b1e7;this[_0x5c2019(0xe1)][_0x5c2019(0xfd)](_0x20b1e7,this[_0x5c2019(0xf1)][_0x5c2019(0xd9)](this),{'passive':_0x1e75bc,'signal':this[_0x5c2019(0xe6)][_0x5c2019(0xf7)]});}}[_0x46c645(0xf4)](){const _0x489f6a=_0x46c645;this[_0x489f6a(0xe2)]||(this[_0x489f6a(0xe2)]=!0x0,this[_0x489f6a(0xe9)]=!0x1,this[_0x489f6a(0xee)]=requestAnimationFrame(this[_0x489f6a(0xe3)][_0x489f6a(0xd9)](this)));}[_0x46c645(0xda)](){requestAnimationFrame(()=>{const _0x38db5e=_0xe663;this[_0x38db5e(0xdd)]();});}[_0x46c645(0xef)](){const _0xc276b7=_0x46c645;this[_0xc276b7(0xdd)](),this[_0xc276b7(0xe6)][_0xc276b7(0xf9)]();}[_0x46c645(0xdd)](){const _0x1d04b9=_0x46c645;null!==this[_0x1d04b9(0xee)]&&(cancelAnimationFrame(this[_0x1d04b9(0xee)]),this[_0x1d04b9(0xee)]=null),this[_0x1d04b9(0xe2)]&&(this[_0x1d04b9(0xe2)]=!0x1),this[_0x1d04b9(0xe9)]=!0x1;}[_0x46c645(0xf1)](_0x1eee19){const _0x1e1197=_0x46c645;if(this[_0x1e1197(0xe2)]){if(_0x1e1197(0xfc)===_0x1eee19[_0x1e1197(0xe5)]){const _0x44b214=_0x1eee19[_0x1e1197(0xdc)];if(!fs[_0x1e1197(0xed)](_0x44b214))return;}_0x1eee19 instanceof WheelEvent?_0x1eee19[_0x1e1197(0xf3)]<0x0?this[_0x1e1197(0xe9)]=!0x0:this[_0x1e1197(0xe9)]=!this[_0x1e1197(0xf5)]():this[_0x1e1197(0xe9)]=!0x0;}}[_0x46c645(0xf5)](){const _0x18b4ba=_0x46c645,{scrollTop:_0x2ec0f8,scrollHeight:_0x438062,clientHeight:_0x2ba478}=this[_0x18b4ba(0xe1)];return _0x438062-_0x2ec0f8-_0x2ba478<=0x5;}[_0x46c645(0xe3)](){const _0x3bfbfd=_0x46c645;this[_0x3bfbfd(0xe2)]&&(this[_0x3bfbfd(0xe9)]||this[_0x3bfbfd(0xe1)][_0x3bfbfd(0xd7)]({'top':this[_0x3bfbfd(0xe1)][_0x3bfbfd(0xd8)],'behavior':_0x3bfbfd(0xea)}),this[_0x3bfbfd(0xee)]=requestAnimationFrame(this[_0x3bfbfd(0xe3)][_0x3bfbfd(0xd9)](this)));}}
23
+ const _0x1bf503=_0x121d;function _0x121d(_0x46c248,_0x306d24){const _0x5b7cbb=_0x5b7c();return _0x121d=function(_0x121d6d,_0x3c02da){_0x121d6d=_0x121d6d-0x1f1;let _0x2a5a1c=_0x5b7cbb[_0x121d6d];return _0x2a5a1c;},_0x121d(_0x46c248,_0x306d24);}(function(_0x4753e3,_0xbad72e){const _0x21dbc5=_0x121d,_0x247daa=_0x4753e3();while(!![]){try{const _0x1393ae=-parseInt(_0x21dbc5(0x21c))/0x1*(-parseInt(_0x21dbc5(0x1f1))/0x2)+-parseInt(_0x21dbc5(0x20f))/0x3+parseInt(_0x21dbc5(0x209))/0x4+parseInt(_0x21dbc5(0x205))/0x5*(-parseInt(_0x21dbc5(0x1fc))/0x6)+-parseInt(_0x21dbc5(0x20b))/0x7*(parseInt(_0x21dbc5(0x215))/0x8)+-parseInt(_0x21dbc5(0x206))/0x9+-parseInt(_0x21dbc5(0x218))/0xa*(-parseInt(_0x21dbc5(0x1f4))/0xb);if(_0x1393ae===_0xbad72e)break;else _0x247daa['push'](_0x247daa['shift']());}catch(_0x486d95){_0x247daa['push'](_0x247daa['shift']());}}}(_0x5b7c,0x8d268));const ws=[_0x1bf503(0x219),_0x1bf503(0x207),_0x1bf503(0x20d),_0x1bf503(0x202)],fs=[_0x1bf503(0x210),_0x1bf503(0x1fd),_0x1bf503(0x1f3),_0x1bf503(0x213),_0x1bf503(0x211),_0x1bf503(0x1f9),'\x20'];function _0x5b7c(){const _0x112483=['keydown','scrollHeight','addEventListener','71110BQYuLo','5313276gNFOyb','touchstart','isRunning','4496644JcqaJx','includes','1421dnTcNV','_isAtBottom','pointerdown','auto','2111463PhphBl','ArrowUp','Home','bind','PageDown','destroy','12808QUwRjA','isUserPaused','signal','654560vREvUG','wheel','scrollTo','start','385ZMOwLG','2690XibYlZ','stop','PageUp','220uscNTy','_stop','key','abort','animationFrameId','End','_onUserEvent','deltaY','318RgNVnj','ArrowDown','element','abortController','type','_rafUpdate'];_0x5b7c=function(){return _0x112483;};return _0x5b7c();}export class ScrollManager{[_0x1bf503(0x1fe)];[_0x1bf503(0x1f8)];[_0x1bf503(0x208)];[_0x1bf503(0x1ff)];[_0x1bf503(0x216)];constructor(_0x3c8105){const _0x38f893=_0x1bf503;this[_0x38f893(0x1fe)]=_0x3c8105,this[_0x38f893(0x1f8)]=null,this[_0x38f893(0x208)]=!0x1,this[_0x38f893(0x1ff)]=new AbortController(),this[_0x38f893(0x216)]=!0x1;for(const _0x16a63e of ws){const _0x2765e8=_0x38f893(0x202)!==_0x16a63e;this[_0x38f893(0x1fe)][_0x38f893(0x204)](_0x16a63e,this[_0x38f893(0x1fa)][_0x38f893(0x212)](this),{'passive':_0x2765e8,'signal':this[_0x38f893(0x1ff)][_0x38f893(0x217)]});}}[_0x1bf503(0x21b)](){const _0x543f96=_0x1bf503;this[_0x543f96(0x208)]||(this[_0x543f96(0x208)]=!0x0,this[_0x543f96(0x216)]=!0x1,this[_0x543f96(0x1f8)]=requestAnimationFrame(this[_0x543f96(0x201)][_0x543f96(0x212)](this)));}[_0x1bf503(0x1f2)](){requestAnimationFrame(()=>{const _0x38385f=_0x121d;this[_0x38385f(0x1f5)]();});}[_0x1bf503(0x214)](){const _0x43329d=_0x1bf503;this[_0x43329d(0x1f5)](),this[_0x43329d(0x1ff)][_0x43329d(0x1f7)]();}[_0x1bf503(0x1f5)](){const _0x312b05=_0x1bf503;null!==this[_0x312b05(0x1f8)]&&(cancelAnimationFrame(this[_0x312b05(0x1f8)]),this[_0x312b05(0x1f8)]=null),this[_0x312b05(0x208)]&&(this[_0x312b05(0x208)]=!0x1),this[_0x312b05(0x216)]=!0x1;}[_0x1bf503(0x1fa)](_0x15a92c){const _0x5d1ed5=_0x1bf503;if(this[_0x5d1ed5(0x208)]){if(_0x5d1ed5(0x202)===_0x15a92c[_0x5d1ed5(0x200)]){const _0x1aea9d=_0x15a92c[_0x5d1ed5(0x1f6)];if(!fs[_0x5d1ed5(0x20a)](_0x1aea9d))return;}_0x15a92c instanceof WheelEvent?_0x15a92c[_0x5d1ed5(0x1fb)]<0x0?this[_0x5d1ed5(0x216)]=!0x0:this[_0x5d1ed5(0x216)]=!this[_0x5d1ed5(0x20c)]():this[_0x5d1ed5(0x216)]=!0x0;}}[_0x1bf503(0x20c)](){const _0x5ef630=_0x1bf503,{scrollTop:_0x3167c4,scrollHeight:_0x155439,clientHeight:_0x9666be}=this[_0x5ef630(0x1fe)];return _0x155439-_0x3167c4-_0x9666be<=0x5;}[_0x1bf503(0x201)](){const _0xcdb3d6=_0x1bf503;this[_0xcdb3d6(0x208)]&&(this[_0xcdb3d6(0x216)]||this[_0xcdb3d6(0x1fe)][_0xcdb3d6(0x21a)]({'top':this[_0xcdb3d6(0x1fe)][_0xcdb3d6(0x203)],'behavior':_0xcdb3d6(0x20e)}),this[_0xcdb3d6(0x1f8)]=requestAnimationFrame(this[_0xcdb3d6(0x201)][_0xcdb3d6(0x212)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x368abe=_0x2e8b;(function(_0x5261e9,_0x315d28){var _0x5682cf=_0x2e8b,_0x1d3c7c=_0x5261e9();while(!![]){try{var _0x34b34f=parseInt(_0x5682cf(0xc5))/0x1+-parseInt(_0x5682cf(0xba))/0x2+-parseInt(_0x5682cf(0xb9))/0x3+parseInt(_0x5682cf(0xc4))/0x4+parseInt(_0x5682cf(0xbe))/0x5*(parseInt(_0x5682cf(0xbf))/0x6)+-parseInt(_0x5682cf(0xc3))/0x7+-parseInt(_0x5682cf(0xbc))/0x8*(parseInt(_0x5682cf(0xc1))/0x9);if(_0x34b34f===_0x315d28)break;else _0x1d3c7c['push'](_0x1d3c7c['shift']());}catch(_0x51cef5){_0x1d3c7c['push'](_0x1d3c7c['shift']());}}}(_0x9e0c,0xb7363));function _0x9e0c(){var _0x4dd04e=['50864edEsDj','isOfficialPlugin','271015jVlVoP','114ThJuAz','AIChatHistory','486EHSAQy','pluginName','3772909hzdctD','1988412OoOguA','837541ablCPy','isPremiumPlugin','1303839cqLBrJ','594268rHdAfI','requires'];_0x9e0c=function(){return _0x4dd04e;};return _0x9e0c();}import{ContextPlugin as _0x4b34d1}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x145617}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x148e24}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';function _0x2e8b(_0x2b790f,_0x5929d8){var _0x9e0c31=_0x9e0c();return _0x2e8b=function(_0x2e8b26,_0x2889a3){_0x2e8b26=_0x2e8b26-0xb9;var _0x44e55e=_0x9e0c31[_0x2e8b26];return _0x44e55e;},_0x2e8b(_0x2b790f,_0x5929d8);}export class AIChatHistory extends _0x4b34d1{static get[_0x368abe(0xbb)](){return[_0x145617,_0x148e24];}static get[_0x368abe(0xc2)](){var _0x5f2459=_0x368abe;return _0x5f2459(0xc0);}static get[_0x368abe(0xbd)](){return!0x0;}static get[_0x368abe(0xc6)](){return!0x0;}}
23
+ function _0x39a6(_0x18dae8,_0x5510ed){var _0x2cdd4e=_0x2cdd();return _0x39a6=function(_0x39a69d,_0x3c5041){_0x39a69d=_0x39a69d-0x6e;var _0x39bc44=_0x2cdd4e[_0x39a69d];return _0x39bc44;},_0x39a6(_0x18dae8,_0x5510ed);}function _0x2cdd(){var _0x1ef209=['pluginName','10kuAaQY','2TPbBtQ','AIChatHistory','3960813YgoOku','3656022xxrgTs','4741vZoJSd','8VGqHTK','936474nnkcTh','4476012tzrybo','6859179AKpwfF','isPremiumPlugin','1264465MrULgu','requires','isOfficialPlugin','260ixcXun'];_0x2cdd=function(){return _0x1ef209;};return _0x2cdd();}var _0x3ff175=_0x39a6;(function(_0x502d0c,_0x523548){var _0x23ac35=_0x39a6,_0x340e9f=_0x502d0c();while(!![]){try{var _0x15867e=parseInt(_0x23ac35(0x6e))/0x1*(parseInt(_0x23ac35(0x74))/0x2)+parseInt(_0x23ac35(0x76))/0x3+-parseInt(_0x23ac35(0x7b))/0x4+parseInt(_0x23ac35(0x73))/0x5*(-parseInt(_0x23ac35(0x77))/0x6)+parseInt(_0x23ac35(0x7a))/0x7*(-parseInt(_0x23ac35(0x79))/0x8)+parseInt(_0x23ac35(0x7c))/0x9+parseInt(_0x23ac35(0x71))/0xa*(-parseInt(_0x23ac35(0x78))/0xb);if(_0x15867e===_0x523548)break;else _0x340e9f['push'](_0x340e9f['shift']());}catch(_0x5a500c){_0x340e9f['push'](_0x340e9f['shift']());}}}(_0x2cdd,0xd2fca));import{ContextPlugin as _0x2c4a63}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x255b11}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x590283}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x2c4a63{static get[_0x3ff175(0x6f)](){return[_0x255b11,_0x590283];}static get[_0x3ff175(0x72)](){var _0x268b54=_0x3ff175;return _0x268b54(0x75);}static get[_0x3ff175(0x70)](){return!0x0;}static get[_0x3ff175(0x7d)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2379(_0x48175e,_0x26eb4e){const _0x223842=_0x2238();return _0x2379=function(_0x23799c,_0x4d6877){_0x23799c=_0x23799c-0x177;let _0x3ea5c9=_0x223842[_0x23799c];return _0x3ea5c9;},_0x2379(_0x48175e,_0x26eb4e);}function _0x2238(){const _0x2b50f7=['_clearItemLoading','9PNAnqA','history','AI_CHAT_HISTORY_CATEGORY_LATER','_setIsMaximized','152317qCrBXT','title','setDate','length','pin','_handleSelectConversation','updateItemTitle','isPremiumPlugin','showError','AI_CHAT_HISTORY_PIN_ACTION','isOfficialPlugin','getItem','2886HiyLvK','init','resizeTabs','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','unpin','357KHXxBi','7884PqhdzU','toLocaleDateString','setLoadingSkeleton','478559xVEdch','pluginName','getMonth','resizedTabs','pinned','AIChatHistoryController','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_setItemLoading','2QjSsMe','loadConversation','push','getDate','itemUpdated','itemId','removeConversation','AI_CHAT_HISTORY_ERROR_GENERIC','view','itemsLoaded','loadItems','error','AI_CHAT_UNTITLED_CONVERSATION','401355LXCnzp','activateTab:history','_handleHistoryErrorUI','remove','20THvtVh','get','_handleRemove','handleRemovedConversation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','change:activeConversation','items','_handleEditTitle','getItems','activateTab','3650744kzTlbs','requires','_updateHistoryItemsUI','260IZzVfF','removeHistoryItem','createdAt','_showConversationHistory','_getCategorizedItems','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','AI_CHAT_HISTORY_CATEGORY_TODAY','_aiChatController','removeItem','_generateErrorMessage','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','updateItemLoadingState','activeConversation','setConversationPinned','map','selectConversation','_handleTogglePin','chat','getFullYear','editConversationTitle','resize','setIsMaximized','91005BbjmeC','context','updateItemPinned','openChat','updateItems','itemRemoved','getGroupId','locale','operation','rename','AI_CHAT_HISTORY_CATEGORY_PINNED','67590cJsDyx','AI_CHAT_HISTORY_UNPIN_ACTION','_aiConnector','_aiChatHistoryUi','listenTo','plugins','updates'];_0x2238=function(){return _0x2b50f7;};return _0x2238();}const _0x5c5520=_0x2379;(function(_0x38a3c1,_0x5e8cd4){const _0x4fce3f=_0x2379,_0x447532=_0x38a3c1();while(!![]){try{const _0x19482f=parseInt(_0x4fce3f(0x1cc))/0x1+-parseInt(_0x4fce3f(0x1d4))/0x2*(parseInt(_0x4fce3f(0x178))/0x3)+parseInt(_0x4fce3f(0x17c))/0x4*(parseInt(_0x4fce3f(0x19f))/0x5)+parseInt(_0x4fce3f(0x1aa))/0x6*(parseInt(_0x4fce3f(0x1c8))/0x7)+-parseInt(_0x4fce3f(0x186))/0x8*(parseInt(_0x4fce3f(0x1b2))/0x9)+-parseInt(_0x4fce3f(0x189))/0xa*(parseInt(_0x4fce3f(0x1b6))/0xb)+-parseInt(_0x4fce3f(0x1c9))/0xc*(-parseInt(_0x4fce3f(0x1c2))/0xd);if(_0x19482f===_0x5e8cd4)break;else _0x447532['push'](_0x447532['shift']());}catch(_0x320242){_0x447532['push'](_0x447532['shift']());}}}(_0x2238,0x52f47));import{ContextPlugin as _0x21c9ba}from'ckeditor5/src/core.js';import{AIConnector as _0x3d4e69}from'../aicore/aiconnector.js';import{AIChatController as _0x384e4a}from'../aichat/aichatcontroller.js';import{AITabs as _0x40c05d}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x507a82}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x5542f8}from'./model/aichathistoryconversations.js';import{getTranslation as _0x53bf4e}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x21c9ba{[_0x5c5520(0x1ac)];[_0x5c5520(0x1ad)];[_0x5c5520(0x190)];static get[_0x5c5520(0x187)](){return[_0x3d4e69,_0x384e4a,_0x507a82,_0x40c05d];}static get[_0x5c5520(0x1cd)](){const _0x524939=_0x5c5520;return _0x524939(0x1d1);}static get[_0x5c5520(0x1c0)](){return!0x0;}static get[_0x5c5520(0x1bd)](){return!0x0;}[_0x5c5520(0x1c3)](){const _0x51f921=_0x5c5520;this[_0x51f921(0x1ac)]=this[_0x51f921(0x1a0)][_0x51f921(0x1af)][_0x51f921(0x17d)](_0x3d4e69),this[_0x51f921(0x1ad)]=this[_0x51f921(0x1a0)][_0x51f921(0x1af)][_0x51f921(0x17d)](_0x507a82),this[_0x51f921(0x190)]=this[_0x51f921(0x1a0)][_0x51f921(0x1af)][_0x51f921(0x17d)](_0x384e4a);const _0x1c7e83=this[_0x51f921(0x1a0)][_0x51f921(0x1af)][_0x51f921(0x17d)](_0x40c05d),_0x3456b8=this[_0x51f921(0x190)][_0x51f921(0x1a5)]();this[_0x51f921(0x1b3)]=new _0x5542f8({'connector':this[_0x51f921(0x1ac)],'group':_0x3456b8}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x1da),(_0x4673f5,_0x582e21)=>{const _0x5dfeba=_0x51f921;this[_0x5dfeba(0x1d3)](_0x582e21['id'],_0x5dfeba(0x17b)),this[_0x5dfeba(0x17e)](_0x582e21['id']);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x19c),(_0x2a3708,_0x15fb8f)=>{const _0x13623d=_0x51f921;this[_0x13623d(0x1d3)](_0x15fb8f['id'],_0x13623d(0x1a8)),this[_0x13623d(0x183)](_0x15fb8f['id'],_0x15fb8f[_0x13623d(0x1b7)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1b3)],_0x51f921(0x1d8),(_0x381ec8,_0x1a5997)=>{const _0x41e19e=_0x51f921;void 0x0!==_0x1a5997[_0x41e19e(0x1b0)][_0x41e19e(0x1b7)]&&this[_0x41e19e(0x1ad)][_0x41e19e(0x1bc)](_0x1a5997[_0x41e19e(0x1d9)],_0x1a5997[_0x41e19e(0x1b0)][_0x41e19e(0x1b7)]),void 0x0!==_0x1a5997[_0x41e19e(0x1b0)][_0x41e19e(0x1d0)]&&this[_0x41e19e(0x188)](),this[_0x41e19e(0x1b1)](_0x1a5997[_0x41e19e(0x1d9)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1b3)],_0x51f921(0x1a4),(_0x4793e9,_0x1bd84b)=>{const _0x230998=_0x51f921;this[_0x230998(0x190)][_0x230998(0x17f)](_0x1bd84b[_0x230998(0x1d9)]),this[_0x230998(0x1ad)][_0x230998(0x18a)](_0x1bd84b[_0x230998(0x1d9)]),this[_0x230998(0x1b1)](_0x1bd84b[_0x230998(0x1d9)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1b3)],_0x51f921(0x1dd),()=>{const _0x11e96b=_0x51f921;this[_0x11e96b(0x188)]();}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1b3)],_0x51f921(0x1df),(_0x4d9167,_0x19f32b)=>{const _0xe27ce5=_0x51f921;this[_0xe27ce5(0x17a)](_0x19f32b[_0xe27ce5(0x1df)],_0x19f32b[_0xe27ce5(0x1a7)],_0x19f32b[_0xe27ce5(0x1d9)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x198),(_0x597c2b,_0x1c24d0)=>{const _0x1251df=_0x51f921;this[_0x1251df(0x1bb)](_0x1c24d0['id']);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x196),(_0x335500,_0x36dbe6)=>{const _0x250d83=_0x51f921,_0x5a4b57=_0x36dbe6[_0x250d83(0x1d0)]?_0x250d83(0x1ba):_0x250d83(0x1c7);this[_0x250d83(0x1d3)](_0x36dbe6['id'],_0x5a4b57),this[_0x250d83(0x199)](_0x36dbe6['id'],_0x36dbe6[_0x250d83(0x1d0)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x1a2),()=>{const _0x1134f8=_0x51f921;_0x1c7e83[_0x1134f8(0x1dc)][_0x1134f8(0x185)](_0x1134f8(0x19a));}),this[_0x51f921(0x1ae)](this[_0x51f921(0x190)],_0x51f921(0x181),()=>{const _0x378222=_0x51f921;this[_0x378222(0x188)]();}),_0x1c7e83[_0x51f921(0x1dc)]['on'](_0x51f921(0x179),()=>{const _0x79ff4d=_0x51f921;this[_0x79ff4d(0x18c)]();}),this[_0x51f921(0x1ae)](_0x1c7e83,_0x51f921(0x1cf),(_0x2c29b6,_0x2f7179)=>{const _0x504a2b=_0x51f921;this[_0x504a2b(0x1b5)](_0x2f7179);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x1c4),()=>{const _0x3466c8=_0x51f921;_0x1c7e83[_0x3466c8(0x19d)]();});}async[_0x5c5520(0x183)](_0x3ee246,_0x2547b0){const _0x470214=_0x5c5520;await this[_0x470214(0x1b3)][_0x470214(0x1bc)](_0x3ee246,_0x2547b0);}async[_0x5c5520(0x199)](_0x19e596,_0x20443c){const _0x46deed=_0x5c5520;await this[_0x46deed(0x1b3)][_0x46deed(0x1a1)](_0x19e596,_0x20443c);}async[_0x5c5520(0x17e)](_0x4913d1){const _0x318a11=_0x5c5520;await this[_0x318a11(0x1b3)][_0x318a11(0x191)](_0x4913d1);}async[_0x5c5520(0x1bb)](_0x2869e5){const _0x39a156=_0x5c5520;await this[_0x39a156(0x190)][_0x39a156(0x1d5)](_0x2869e5);}async[_0x5c5520(0x18c)](){const _0x505644=_0x5c5520;this[_0x505644(0x1ad)][_0x505644(0x1be)](''),this[_0x505644(0x1ad)][_0x505644(0x1cb)](!0x0),await this[_0x505644(0x1b3)][_0x505644(0x1c3)](),this[_0x505644(0x1ad)][_0x505644(0x1cb)](!0x1);}[_0x5c5520(0x188)](){const _0x17cdbd=_0x5c5520,_0x298939=this[_0x17cdbd(0x190)][_0x17cdbd(0x195)]?.['id'],_0x3ec532=this[_0x17cdbd(0x18d)]()[_0x17cdbd(0x197)](_0x51043d=>({'title':_0x51043d[_0x17cdbd(0x1b7)],'items':_0x51043d[_0x17cdbd(0x182)][_0x17cdbd(0x197)](_0x12f508=>({'id':_0x12f508['id'],'title':_0x12f508[_0x17cdbd(0x1b7)]||_0x53bf4e(this[_0x17cdbd(0x1a0)][_0x17cdbd(0x1a6)],_0x17cdbd(0x177)),'createdAt':new Date(_0x12f508[_0x17cdbd(0x18b)])[_0x17cdbd(0x1ca)](),'active':_0x12f508['id']===_0x298939,'pinned':_0x12f508[_0x17cdbd(0x1d0)]}))}));this[_0x17cdbd(0x1ad)][_0x17cdbd(0x1a3)](_0x3ec532);}[_0x5c5520(0x1d3)](_0x1a9274,_0xa6a0ef){const _0x34abca=_0x5c5520;this[_0x34abca(0x1ad)][_0x34abca(0x194)](_0x1a9274,_0xa6a0ef,!0x0);}[_0x5c5520(0x1b1)](_0x3394c3){const _0x32dcaf=_0x5c5520;this[_0x32dcaf(0x1ad)][_0x32dcaf(0x194)](_0x3394c3,null,!0x1);}[_0x5c5520(0x17a)](_0x693f18,_0x3a86ad,_0x5831f2){const _0x48e767=_0x5c5520,_0x2acbcc=this[_0x48e767(0x192)](_0x3a86ad,_0x5831f2);this[_0x48e767(0x1ad)][_0x48e767(0x1be)](_0x2acbcc),_0x5831f2&&this[_0x48e767(0x1b1)](_0x5831f2),this[_0x48e767(0x1ad)][_0x48e767(0x1cb)](!0x1);}[_0x5c5520(0x192)](_0x593c88,_0x769965){const _0x402895=_0x5c5520,_0x21980c=_0x769965?this[_0x402895(0x1b3)][_0x402895(0x1c1)](_0x769965):null,_0x23c188=_0x21980c?.[_0x402895(0x1b7)]||_0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x177));switch(_0x593c88){case _0x402895(0x1bc):return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x193),_0x23c188);case _0x402895(0x1a1):{const _0x1c2aa5=_0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x21980c?.[_0x402895(0x1d0)]?_0x402895(0x1ab):_0x402895(0x1bf));return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x1c6),[_0x1c2aa5,_0x23c188]);}case _0x402895(0x191):return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x1c5),_0x23c188);case _0x402895(0x1c3):case _0x402895(0x1de):return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x180));default:return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x1db));}}[_0x5c5520(0x18d)](){const _0x96ab80=_0x5c5520,_0x3a70bd=new Date(),_0x247f89=new Date(_0x3a70bd[_0x96ab80(0x19b)](),_0x3a70bd[_0x96ab80(0x1ce)](),_0x3a70bd[_0x96ab80(0x1d7)]()),_0x3b510b=new Date(_0x247f89);_0x3b510b[_0x96ab80(0x1b8)](_0x3b510b[_0x96ab80(0x1d7)]()-0x1);const _0x3135df=new Date(_0x247f89);_0x3135df[_0x96ab80(0x1b8)](_0x3135df[_0x96ab80(0x1d7)]()-0xe);const _0x219d01=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'pinned':!0x0}),_0x3d477a=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'from':_0x247f89,'to':_0x247f89}),_0x157a49=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'from':_0x3b510b,'to':_0x3b510b}),_0x36bd30=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'from':_0x3135df,'to':_0x3b510b}),_0x2a448c=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'to':_0x3135df}),_0x2d0099=[];return _0x219d01[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x1a9)),'items':_0x219d01}),_0x3d477a[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x18f)),'items':_0x3d477a}),_0x157a49[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x18e)),'items':_0x157a49}),_0x36bd30[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x1d2)),'items':_0x36bd30}),_0x2a448c[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x1b4)),'items':_0x2a448c}),_0x2d0099;}[_0x5c5520(0x1b5)](_0x4dcaaf){const _0x318103=_0x5c5520;this[_0x318103(0x1ad)][_0x318103(0x19e)](_0x4dcaaf);}}
23
+ const _0x227c46=_0x2c46;(function(_0x1c6d79,_0x37a2ae){const _0x283965=_0x2c46,_0x33866f=_0x1c6d79();while(!![]){try{const _0x4f8144=-parseInt(_0x283965(0x18e))/0x1+-parseInt(_0x283965(0x1c4))/0x2+-parseInt(_0x283965(0x19c))/0x3*(-parseInt(_0x283965(0x1bf))/0x4)+-parseInt(_0x283965(0x194))/0x5+parseInt(_0x283965(0x1a8))/0x6*(parseInt(_0x283965(0x1a1))/0x7)+-parseInt(_0x283965(0x18f))/0x8*(-parseInt(_0x283965(0x1d2))/0x9)+parseInt(_0x283965(0x1b5))/0xa;if(_0x4f8144===_0x37a2ae)break;else _0x33866f['push'](_0x33866f['shift']());}catch(_0x13a416){_0x33866f['push'](_0x33866f['shift']());}}}(_0x11db,0x2f4da));import{ContextPlugin as _0x45b9aa}from'ckeditor5/src/core.js';import{AIConnector as _0x41da9e}from'../aicore/aiconnector.js';import{AIChatController as _0x21161e}from'../aichat/aichatcontroller.js';import{AITabs as _0x452297}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x59bc05}from'./aichathistoryui.js';function _0x11db(){const _0x1af9f2=['map','pluginName','chat','rename','updateItems','AI_CHAT_UNTITLED_CONVERSATION','get','activateTab','2680uAoevM','getItem','AI_CHAT_HISTORY_CATEGORY_PINNED','getFullYear','AI_CHAT_HISTORY_UNPIN_ACTION','332504MIkDBd','loadConversation','getDate','AIChatHistoryController','change:activeConversation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','requires','context','_handleRemove','itemRemoved','listenTo','getMonth','_setIsMaximized','locale','883044tjESAZ','_getCategorizedItems','_updateHistoryItemsUI','resize','history','itemsLoaded','AI_CHAT_HISTORY_CATEGORY_TODAY','init','updates','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','unpin','updateItemTitle','plugins','_generateErrorMessage','createdAt','_showConversationHistory','error','_aiConnector','_clearItemLoading','remove','resizeTabs','toLocaleDateString','getGroupId','itemUpdated','updateItemLoadingState','_handleEditTitle','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','updateItemPinned','_handleSelectConversation','AI_CHAT_HISTORY_PIN_ACTION','AI_CHAT_HISTORY_ERROR_GENERIC','operation','isPremiumPlugin','removeItem','364306QWmmPp','24feQymt','removeConversation','view','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','_aiChatHistoryUi','240285dinhBp','pin','activateTab:history','handleRemovedConversation','openChat','selectConversation','length','isOfficialPlugin','855DHtyNo','setDate','AI_CHAT_HISTORY_CATEGORY_LATER','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','activeConversation','2436quyJuD','_setItemLoading','setIsMaximized','_handleTogglePin','editConversationTitle','_aiChatController','push','6eGRvkJ','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','items','setConversationPinned','removeHistoryItem','setLoadingSkeleton','pinned','itemId','_handleHistoryErrorUI','title','showError','resizedTabs','loadItems','2867230nVMAUu','getItems'];_0x11db=function(){return _0x1af9f2;};return _0x11db();}import{AIChatHistoryConversations as _0x2e8f22}from'./model/aichathistoryconversations.js';import{getTranslation as _0x235cd}from'../aicore/utils/common-translations.js';function _0x2c46(_0x4c7dbf,_0x36d5a9){const _0x11dbcb=_0x11db();return _0x2c46=function(_0x2c462a,_0x3875a8){_0x2c462a=_0x2c462a-0x18d;let _0x6af885=_0x11dbcb[_0x2c462a];return _0x6af885;},_0x2c46(_0x4c7dbf,_0x36d5a9);}export class AIChatHistoryController extends _0x45b9aa{[_0x227c46(0x1e3)];[_0x227c46(0x193)];[_0x227c46(0x1a6)];static get[_0x227c46(0x1ca)](){return[_0x41da9e,_0x21161e,_0x59bc05,_0x452297];}static get[_0x227c46(0x1b8)](){const _0x1e4fa6=_0x227c46;return _0x1e4fa6(0x1c7);}static get[_0x227c46(0x19b)](){return!0x0;}static get[_0x227c46(0x1f2)](){return!0x0;}[_0x227c46(0x1d9)](){const _0x588d9b=_0x227c46;this[_0x588d9b(0x1e3)]=this[_0x588d9b(0x1cb)][_0x588d9b(0x1de)][_0x588d9b(0x1bd)](_0x41da9e),this[_0x588d9b(0x193)]=this[_0x588d9b(0x1cb)][_0x588d9b(0x1de)][_0x588d9b(0x1bd)](_0x59bc05),this[_0x588d9b(0x1a6)]=this[_0x588d9b(0x1cb)][_0x588d9b(0x1de)][_0x588d9b(0x1bd)](_0x21161e);const _0x54e8c9=this[_0x588d9b(0x1cb)][_0x588d9b(0x1de)][_0x588d9b(0x1bd)](_0x452297),_0x30a29f=this[_0x588d9b(0x1a6)][_0x588d9b(0x1e8)]();this[_0x588d9b(0x1d6)]=new _0x2e8f22({'connector':this[_0x588d9b(0x1e3)],'group':_0x30a29f}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x190),(_0x1b7b83,_0x104a37)=>{const _0x2d78b5=_0x588d9b;this[_0x2d78b5(0x1a2)](_0x104a37['id'],_0x2d78b5(0x1e5)),this[_0x2d78b5(0x1cc)](_0x104a37['id']);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x1a5),(_0x4d1444,_0x2e2de9)=>{const _0x28b357=_0x588d9b;this[_0x28b357(0x1a2)](_0x2e2de9['id'],_0x28b357(0x1ba)),this[_0x28b357(0x1eb)](_0x2e2de9['id'],_0x2e2de9[_0x28b357(0x1b1)]);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x1d6)],_0x588d9b(0x1e9),(_0x54e6fc,_0x4efadf)=>{const _0x4e8568=_0x588d9b;void 0x0!==_0x4efadf[_0x4e8568(0x1da)][_0x4e8568(0x1b1)]&&this[_0x4e8568(0x193)][_0x4e8568(0x1dd)](_0x4efadf[_0x4e8568(0x1af)],_0x4efadf[_0x4e8568(0x1da)][_0x4e8568(0x1b1)]),void 0x0!==_0x4efadf[_0x4e8568(0x1da)][_0x4e8568(0x1ae)]&&this[_0x4e8568(0x1d4)](),this[_0x4e8568(0x1e4)](_0x4efadf[_0x4e8568(0x1af)]);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x1d6)],_0x588d9b(0x1cd),(_0x5e095a,_0x40bad0)=>{const _0x3a3781=_0x588d9b;this[_0x3a3781(0x1a6)][_0x3a3781(0x197)](_0x40bad0[_0x3a3781(0x1af)]),this[_0x3a3781(0x193)][_0x3a3781(0x1ac)](_0x40bad0[_0x3a3781(0x1af)]),this[_0x3a3781(0x1e4)](_0x40bad0[_0x3a3781(0x1af)]);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x1d6)],_0x588d9b(0x1d7),()=>{const _0x561d57=_0x588d9b;this[_0x561d57(0x1d4)]();}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x1d6)],_0x588d9b(0x1e2),(_0xbf7747,_0x1df584)=>{const _0x960dc8=_0x588d9b;this[_0x960dc8(0x1b0)](_0x1df584[_0x960dc8(0x1e2)],_0x1df584[_0x960dc8(0x1f1)],_0x1df584[_0x960dc8(0x1af)]);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x199),(_0x3d0d47,_0x2f2aa9)=>{const _0x162fb9=_0x588d9b;this[_0x162fb9(0x1ee)](_0x2f2aa9['id']);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x1ab),(_0x3d2ca3,_0x2b2931)=>{const _0x32bf03=_0x588d9b,_0x3afcf2=_0x2b2931[_0x32bf03(0x1ae)]?_0x32bf03(0x195):_0x32bf03(0x1dc);this[_0x32bf03(0x1a2)](_0x2b2931['id'],_0x3afcf2),this[_0x32bf03(0x1a4)](_0x2b2931['id'],_0x2b2931[_0x32bf03(0x1ae)]);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x198),()=>{const _0x30de67=_0x588d9b;_0x54e8c9[_0x30de67(0x191)][_0x30de67(0x1be)](_0x30de67(0x1b9));}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x1a6)],_0x588d9b(0x1c8),()=>{const _0x20dc7c=_0x588d9b;this[_0x20dc7c(0x1d4)]();}),_0x54e8c9[_0x588d9b(0x191)]['on'](_0x588d9b(0x196),()=>{const _0x49fe0d=_0x588d9b;this[_0x49fe0d(0x1e1)]();}),this[_0x588d9b(0x1ce)](_0x54e8c9,_0x588d9b(0x1b3),(_0x1d20c2,_0x187104)=>{const _0x975a36=_0x588d9b;this[_0x975a36(0x1d0)](_0x187104);}),this[_0x588d9b(0x1ce)](this[_0x588d9b(0x193)],_0x588d9b(0x1e6),()=>{const _0x5bad1a=_0x588d9b;_0x54e8c9[_0x5bad1a(0x1d5)]();});}async[_0x227c46(0x1eb)](_0x505104,_0x40109a){const _0x132ad2=_0x227c46;await this[_0x132ad2(0x1d6)][_0x132ad2(0x1dd)](_0x505104,_0x40109a);}async[_0x227c46(0x1a4)](_0x29784e,_0x28de2b){const _0x10f7d1=_0x227c46;await this[_0x10f7d1(0x1d6)][_0x10f7d1(0x1ed)](_0x29784e,_0x28de2b);}async[_0x227c46(0x1cc)](_0x2c98aa){const _0x31d2a0=_0x227c46;await this[_0x31d2a0(0x1d6)][_0x31d2a0(0x18d)](_0x2c98aa);}async[_0x227c46(0x1ee)](_0x3bd65e){const _0x344ad0=_0x227c46;await this[_0x344ad0(0x1a6)][_0x344ad0(0x1c5)](_0x3bd65e);}async[_0x227c46(0x1e1)](){const _0x23b54e=_0x227c46;this[_0x23b54e(0x193)][_0x23b54e(0x1b2)](''),this[_0x23b54e(0x193)][_0x23b54e(0x1ad)](!0x0),await this[_0x23b54e(0x1d6)][_0x23b54e(0x1d9)](),this[_0x23b54e(0x193)][_0x23b54e(0x1ad)](!0x1);}[_0x227c46(0x1d4)](){const _0x2a6d92=_0x227c46,_0x4cee5b=this[_0x2a6d92(0x1a6)][_0x2a6d92(0x1a0)]?.['id'],_0x221d89=this[_0x2a6d92(0x1d3)]()[_0x2a6d92(0x1b7)](_0x15c3db=>({'title':_0x15c3db[_0x2a6d92(0x1b1)],'items':_0x15c3db[_0x2a6d92(0x1aa)][_0x2a6d92(0x1b7)](_0x45faea=>({'id':_0x45faea['id'],'title':_0x45faea[_0x2a6d92(0x1b1)]||_0x235cd(this[_0x2a6d92(0x1cb)][_0x2a6d92(0x1d1)],_0x2a6d92(0x1bc)),'createdAt':new Date(_0x45faea[_0x2a6d92(0x1e0)])[_0x2a6d92(0x1e7)](),'active':_0x45faea['id']===_0x4cee5b,'pinned':_0x45faea[_0x2a6d92(0x1ae)]}))}));this[_0x2a6d92(0x193)][_0x2a6d92(0x1bb)](_0x221d89);}[_0x227c46(0x1a2)](_0x46e668,_0x103336){const _0x3c5742=_0x227c46;this[_0x3c5742(0x193)][_0x3c5742(0x1ea)](_0x46e668,_0x103336,!0x0);}[_0x227c46(0x1e4)](_0x37f041){const _0x472978=_0x227c46;this[_0x472978(0x193)][_0x472978(0x1ea)](_0x37f041,null,!0x1);}[_0x227c46(0x1b0)](_0x435b22,_0x17645e,_0x3cba56){const _0x4946ca=_0x227c46,_0x342ab1=this[_0x4946ca(0x1df)](_0x17645e,_0x3cba56);this[_0x4946ca(0x193)][_0x4946ca(0x1b2)](_0x342ab1),_0x3cba56&&this[_0x4946ca(0x1e4)](_0x3cba56),this[_0x4946ca(0x193)][_0x4946ca(0x1ad)](!0x1);}[_0x227c46(0x1df)](_0x2ee889,_0x4a01db){const _0x378248=_0x227c46,_0x198fc4=_0x4a01db?this[_0x378248(0x1d6)][_0x378248(0x1c0)](_0x4a01db):null,_0x2edb1b=_0x198fc4?.[_0x378248(0x1b1)]||_0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x1bc));switch(_0x2ee889){case _0x378248(0x1dd):return _0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x1db),_0x2edb1b);case _0x378248(0x1ed):{const _0x2a5c72=_0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x198fc4?.[_0x378248(0x1ae)]?_0x378248(0x1c3):_0x378248(0x1ef));return _0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x192),[_0x2a5c72,_0x2edb1b]);}case _0x378248(0x18d):return _0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x19f),_0x2edb1b);case _0x378248(0x1d9):case _0x378248(0x1b4):return _0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x1c9));default:return _0x235cd(this[_0x378248(0x1cb)][_0x378248(0x1d1)],_0x378248(0x1f0));}}[_0x227c46(0x1d3)](){const _0x3c2a25=_0x227c46,_0x4f7bfd=new Date(),_0x58527a=new Date(_0x4f7bfd[_0x3c2a25(0x1c2)](),_0x4f7bfd[_0x3c2a25(0x1cf)](),_0x4f7bfd[_0x3c2a25(0x1c6)]()),_0x30a85a=new Date(_0x58527a);_0x30a85a[_0x3c2a25(0x19d)](_0x30a85a[_0x3c2a25(0x1c6)]()-0x1);const _0x2d05d7=new Date(_0x58527a);_0x2d05d7[_0x3c2a25(0x19d)](_0x2d05d7[_0x3c2a25(0x1c6)]()-0xe);const _0xcaaa96=this[_0x3c2a25(0x1d6)][_0x3c2a25(0x1b6)]({'pinned':!0x0}),_0x18ab7b=this[_0x3c2a25(0x1d6)][_0x3c2a25(0x1b6)]({'from':_0x58527a,'to':_0x58527a}),_0x3e1ff3=this[_0x3c2a25(0x1d6)][_0x3c2a25(0x1b6)]({'from':_0x30a85a,'to':_0x30a85a}),_0x1bd829=this[_0x3c2a25(0x1d6)][_0x3c2a25(0x1b6)]({'from':_0x2d05d7,'to':_0x30a85a}),_0x28bb77=this[_0x3c2a25(0x1d6)][_0x3c2a25(0x1b6)]({'to':_0x2d05d7}),_0x5db413=[];return _0xcaaa96[_0x3c2a25(0x19a)]>0x0&&_0x5db413[_0x3c2a25(0x1a7)]({'title':_0x235cd(this[_0x3c2a25(0x1cb)][_0x3c2a25(0x1d1)],_0x3c2a25(0x1c1)),'items':_0xcaaa96}),_0x18ab7b[_0x3c2a25(0x19a)]>0x0&&_0x5db413[_0x3c2a25(0x1a7)]({'title':_0x235cd(this[_0x3c2a25(0x1cb)][_0x3c2a25(0x1d1)],_0x3c2a25(0x1d8)),'items':_0x18ab7b}),_0x3e1ff3[_0x3c2a25(0x19a)]>0x0&&_0x5db413[_0x3c2a25(0x1a7)]({'title':_0x235cd(this[_0x3c2a25(0x1cb)][_0x3c2a25(0x1d1)],_0x3c2a25(0x1ec)),'items':_0x3e1ff3}),_0x1bd829[_0x3c2a25(0x19a)]>0x0&&_0x5db413[_0x3c2a25(0x1a7)]({'title':_0x235cd(this[_0x3c2a25(0x1cb)][_0x3c2a25(0x1d1)],_0x3c2a25(0x1a9)),'items':_0x1bd829}),_0x28bb77[_0x3c2a25(0x19a)]>0x0&&_0x5db413[_0x3c2a25(0x1a7)]({'title':_0x235cd(this[_0x3c2a25(0x1cb)][_0x3c2a25(0x1d1)],_0x3c2a25(0x19e)),'items':_0x28bb77}),_0x5db413;}[_0x227c46(0x1d0)](_0x47f143){const _0x37f4f6=_0x227c46;this[_0x37f4f6(0x193)][_0x37f4f6(0x1a3)](_0x47f143);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e4a41=_0x301c;(function(_0x113805,_0xe6f7f8){const _0x4f2d9b=_0x301c,_0x12811e=_0x113805();while(!![]){try{const _0xe54f79=parseInt(_0x4f2d9b(0xfb))/0x1*(parseInt(_0x4f2d9b(0xf9))/0x2)+parseInt(_0x4f2d9b(0xfe))/0x3*(-parseInt(_0x4f2d9b(0xeb))/0x4)+parseInt(_0x4f2d9b(0xff))/0x5+-parseInt(_0x4f2d9b(0xf7))/0x6*(-parseInt(_0x4f2d9b(0xf5))/0x7)+parseInt(_0x4f2d9b(0xfc))/0x8+-parseInt(_0x4f2d9b(0xfd))/0x9+-parseInt(_0x4f2d9b(0x100))/0xa;if(_0xe54f79===_0xe6f7f8)break;else _0x12811e['push'](_0x12811e['shift']());}catch(_0x24eb0b){_0x12811e['push'](_0x12811e['shift']());}}}(_0x38b0,0x2e608));import{ContextPlugin as _0x36cac9}from'ckeditor5/src/core.js';import{AITabs as _0xfc746}from'../aitabs/aitabs.js';import{IconAIHistory as _0x5a691c}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x2c7e96}from'./ui/aichathistoryview.js';import{getTranslation as _0x5bf469}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x2e4a41(0xed),_0x2e4a41(0xe3),_0x2e4a41(0xef),_0x2e4a41(0xe4),_0x2e4a41(0xf3),_0x2e4a41(0xe9),_0x2e4a41(0xf4)];export class AIChatHistoryUI extends _0x36cac9{static get[_0x2e4a41(0xe0)](){return[_0xfc746];}[_0x2e4a41(0xe2)];static get[_0x2e4a41(0xdd)](){const _0x181efc=_0x2e4a41;return _0x181efc(0xf1);}static get[_0x2e4a41(0xf6)](){return!0x0;}static get[_0x2e4a41(0x101)](){return!0x0;}constructor(_0x4a38cd){const _0x5a98ea=_0x2e4a41;super(_0x4a38cd);const _0x4ed8aa=this[_0x5a98ea(0xd7)][_0x5a98ea(0xde)][_0x5a98ea(0xdf)](_0x5a98ea(0xf2));this[_0x5a98ea(0xe2)]=new _0x2c7e96(this[_0x5a98ea(0xd7)][_0x5a98ea(0x103)],_0x4ed8aa[_0x5a98ea(0xf8)]),this[_0x5a98ea(0xe2)][_0x5a98ea(0xdb)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x4ed8aa[_0x5a98ea(0xe8)][_0x5a98ea(0xee)]({'id':_0x5a98ea(0xe7),'buttonLabel':_0x5bf469(this[_0x5a98ea(0xd7)][_0x5a98ea(0x103)],_0x5a98ea(0xf0)),'buttonIcon':_0x5a691c,'order':0x0,'content':this[_0x5a98ea(0xe2)]});}[_0x2e4a41(0xe1)](_0x3efd13){const _0x544b85=_0x2e4a41;this[_0x544b85(0xe2)][_0x544b85(0xe1)](_0x3efd13);}[_0x2e4a41(0xda)](_0x75b61d){const _0x4d408a=_0x2e4a41;this[_0x4d408a(0xe2)][_0x4d408a(0xea)](_0x75b61d);}[_0x2e4a41(0xdc)](_0x33c766,_0x4bc258){const _0x55fed5=_0x2e4a41;this[_0x55fed5(0xe2)][_0x55fed5(0xdc)](_0x33c766,_0x4bc258);}[_0x2e4a41(0xe5)](_0x11f4ea,_0x17b9a2,_0x21bcfa){const _0x277953=_0x2e4a41;this[_0x277953(0xe2)][_0x277953(0xe5)](_0x11f4ea,_0x17b9a2,_0x21bcfa);}[_0x2e4a41(0x102)](_0x232fbb){const _0x2f25a9=_0x2e4a41;this[_0x2f25a9(0xe2)][_0x2f25a9(0xe6)]=_0x232fbb;}[_0x2e4a41(0xfa)](_0xa2b565){const _0x2cfc46=_0x2e4a41;this[_0x2cfc46(0xe2)][_0x2cfc46(0xd8)]=_0xa2b565;}[_0x2e4a41(0xec)](){const _0x1dd64b=_0x2e4a41;this[_0x1dd64b(0xe2)][_0x1dd64b(0xd8)]='';}[_0x2e4a41(0xd6)](_0x31fff9){const _0x445dde=_0x2e4a41;this[_0x445dde(0xe2)][_0x445dde(0xd9)]=_0x31fff9;}}function _0x301c(_0x3ba431,_0x5b1668){const _0x38b062=_0x38b0();return _0x301c=function(_0x301c9a,_0x45b23d){_0x301c9a=_0x301c9a-0xd6;let _0x581e8a=_0x38b062[_0x301c9a];return _0x581e8a;},_0x301c(_0x3ba431,_0x5b1668);}function _0x38b0(){const _0x17b353=['showConversationHistory','addTab','editConversationTitle','AI_CHAT_HISTORY_HEADING','AIChatHistoryUI','AITabs','selectConversation','resizeTabs','139503GIChTE','isOfficialPlugin','72jbITyr','showResizeButton','185214KbLQsR','showError','1igZnjr','2816112JviMPV','1651941qeubcE','96ArBNoO','701090wcqjWd','2329420yITfxN','isPremiumPlugin','setLoadingSkeleton','locale','setIsMaximized','context','errorMessage','isMaximized','updateItems','delegate','updateItemTitle','pluginName','plugins','get','requires','removeHistoryItem','_historyView','removeConversation','setConversationPinned','updateItemLoadingState','isLoading','history','view','openChat','updateHistoryItemsWithCategories','27192WjUznU','hideError'];_0x38b0=function(){return _0x17b353;};return _0x38b0();}
23
+ const _0x199204=_0x54bb;(function(_0x1f9fdd,_0x499a4d){const _0x123097=_0x54bb,_0x30b45d=_0x1f9fdd();while(!![]){try{const _0x323cbc=parseInt(_0x123097(0x140))/0x1*(-parseInt(_0x123097(0x122))/0x2)+parseInt(_0x123097(0x12b))/0x3*(parseInt(_0x123097(0x125))/0x4)+parseInt(_0x123097(0x137))/0x5*(parseInt(_0x123097(0x12d))/0x6)+parseInt(_0x123097(0x124))/0x7*(parseInt(_0x123097(0x120))/0x8)+-parseInt(_0x123097(0x130))/0x9+parseInt(_0x123097(0x13e))/0xa+-parseInt(_0x123097(0x136))/0xb*(parseInt(_0x123097(0x126))/0xc);if(_0x323cbc===_0x499a4d)break;else _0x30b45d['push'](_0x30b45d['shift']());}catch(_0x5d08af){_0x30b45d['push'](_0x30b45d['shift']());}}}(_0x57a4,0xcf65f));import{ContextPlugin as _0x4c07b4}from'ckeditor5/src/core.js';import{AITabs as _0x130cb6}from'../aitabs/aitabs.js';import{IconAIHistory as _0x10178c}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x264023}from'./ui/aichathistoryview.js';import{getTranslation as _0x436a23}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x199204(0x13a),_0x199204(0x119),_0x199204(0x11b),_0x199204(0x12c),_0x199204(0x13c),_0x199204(0x143),_0x199204(0x121)];export class AIChatHistoryUI extends _0x4c07b4{static get[_0x199204(0x12a)](){return[_0x130cb6];}[_0x199204(0x135)];static get[_0x199204(0x12e)](){const _0x1bad31=_0x199204;return _0x1bad31(0x11f);}static get[_0x199204(0x128)](){return!0x0;}static get[_0x199204(0x11e)](){return!0x0;}constructor(_0x28f936){const _0xf3cd97=_0x199204;super(_0x28f936);const _0xae48e5=this[_0xf3cd97(0x146)][_0xf3cd97(0x142)][_0xf3cd97(0x138)](_0xf3cd97(0x133));this[_0xf3cd97(0x135)]=new _0x264023(this[_0xf3cd97(0x146)][_0xf3cd97(0x11a)],_0xae48e5[_0xf3cd97(0x11c)]),this[_0xf3cd97(0x135)][_0xf3cd97(0x13f)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0xae48e5[_0xf3cd97(0x123)][_0xf3cd97(0x139)]({'id':_0xf3cd97(0x147),'buttonLabel':_0x436a23(this[_0xf3cd97(0x146)][_0xf3cd97(0x11a)],_0xf3cd97(0x129)),'buttonIcon':_0x10178c,'order':0x0,'content':this[_0xf3cd97(0x135)]});}[_0x199204(0x118)](_0x430e8e){const _0x2cf47a=_0x199204;this[_0x2cf47a(0x135)][_0x2cf47a(0x118)](_0x430e8e);}[_0x199204(0x11d)](_0x8a12f){const _0x316d85=_0x199204;this[_0x316d85(0x135)][_0x316d85(0x134)](_0x8a12f);}[_0x199204(0x131)](_0x3a7e72,_0x4a83bb){const _0x467546=_0x199204;this[_0x467546(0x135)][_0x467546(0x131)](_0x3a7e72,_0x4a83bb);}[_0x199204(0x12f)](_0x528610,_0x3395b0,_0x3453c3){const _0xb6785c=_0x199204;this[_0xb6785c(0x135)][_0xb6785c(0x12f)](_0x528610,_0x3395b0,_0x3453c3);}[_0x199204(0x132)](_0xa05e14){const _0x438ba5=_0x199204;this[_0x438ba5(0x135)][_0x438ba5(0x141)]=_0xa05e14;}[_0x199204(0x144)](_0x2d8c17){const _0x55a471=_0x199204;this[_0x55a471(0x135)][_0x55a471(0x145)]=_0x2d8c17;}[_0x199204(0x13b)](){const _0x3ae478=_0x199204;this[_0x3ae478(0x135)][_0x3ae478(0x145)]='';}[_0x199204(0x13d)](_0x2110ec){const _0x4201cd=_0x199204;this[_0x4201cd(0x135)][_0x4201cd(0x127)]=_0x2110ec;}}function _0x54bb(_0x73466e,_0x4ab4e0){const _0x57a4ea=_0x57a4();return _0x54bb=function(_0x54bb4a,_0x1a932c){_0x54bb4a=_0x54bb4a-0x118;let _0x4d233f=_0x57a4ea[_0x54bb4a];return _0x4d233f;},_0x54bb(_0x73466e,_0x4ab4e0);}function _0x57a4(){const _0x19bc3a=['context','history','removeHistoryItem','removeConversation','locale','editConversationTitle','showResizeButton','updateItems','isPremiumPlugin','AIChatHistoryUI','8SyDNBm','resizeTabs','6DVSiLn','view','10123897RYvJcq','324stWTOh','489468AmXuIz','isMaximized','isOfficialPlugin','AI_CHAT_HISTORY_HEADING','requires','52308RcRKUB','setConversationPinned','4049646VMcGhU','pluginName','updateItemLoadingState','6237963CHWPxv','updateItemTitle','setLoadingSkeleton','AITabs','updateHistoryItemsWithCategories','_historyView','737nPMbAz','5gxhOzj','get','addTab','showConversationHistory','hideError','selectConversation','setIsMaximized','16544520kSHTpj','delegate','304169GINAHi','isLoading','plugins','openChat','showError','errorMessage'];_0x57a4=function(){return _0x19bc3a;};return _0x57a4();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3876(){const _0x5f4f83=['getConversations','splice','from','getResult','getFullYear','updateItemPinned','findIndex','12474021xMCDbp','error','getItem','1456745pptPCM','connector','updateConversation','27078hpSxhL','fetchConversations','itemsLoaded','items','28114029OFeoVz','push','updatePinned','execute','deleteConversation','1580tMOQgW','filter','addItem','getDate','getItems','fire','itemRemoved','createdAt','146KApkwa','pinned','updateItemTitle','updateTitle','62043yazvkb','itemUpdated','map','init','579460JujtUo','getMonth','loadItems','7941272KwKQgI','find','getTime','removeItem','group'];_0x3876=function(){return _0x5f4f83;};return _0x3876();}const _0xff92db=_0x16d3;(function(_0x4c5639,_0x2bc249){const _0x526eac=_0x16d3,_0xb69d0a=_0x4c5639();while(!![]){try{const _0x29a306=-parseInt(_0x526eac(0xea))/0x1+-parseInt(_0x526eac(0xd0))/0x2*(parseInt(_0x526eac(0xd4))/0x3)+parseInt(_0x526eac(0xd8))/0x4+-parseInt(_0x526eac(0xc8))/0x5*(-parseInt(_0x526eac(0xed))/0x6)+-parseInt(_0x526eac(0xe7))/0x7+parseInt(_0x526eac(0xdb))/0x8+parseInt(_0x526eac(0xf1))/0x9;if(_0x29a306===_0x2bc249)break;else _0xb69d0a['push'](_0xb69d0a['shift']());}catch(_0x1569c3){_0xb69d0a['push'](_0xb69d0a['shift']());}}}(_0x3876,0xe53c8));import{EmitterMixin as _0x1cf9b5}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x1c2f8c}from'./aichathistoryitem.js';function _0x16d3(_0x12403d,_0x5eecb0){const _0x3876f0=_0x3876();return _0x16d3=function(_0x16d384,_0x29ccf9){_0x16d384=_0x16d384-0xc6;let _0x504632=_0x3876f0[_0x16d384];return _0x504632;},_0x16d3(_0x12403d,_0x5eecb0);}export class AIChatHistoryConversations extends _0x1cf9b5(){[_0xff92db(0xf0)]=[];[_0xff92db(0xeb)];[_0xff92db(0xdf)];constructor({connector:_0x77ffdc,group:_0x5ac84c}){const _0x27af36=_0xff92db;super(),this[_0x27af36(0xeb)]=_0x77ffdc,this[_0x27af36(0xdf)]=_0x5ac84c;}async[_0xff92db(0xd7)](){const _0x446b56=_0xff92db;try{const _0x4dc862=this[_0x446b56(0xeb)][_0x446b56(0xee)](this[_0x446b56(0xdf)]),_0x5f23b5=await _0x4dc862[_0x446b56(0xe0)]();this[_0x446b56(0xda)](_0x5f23b5);}catch(_0x48c839){this[_0x446b56(0xcd)](_0x446b56(0xe8),{'error':_0x48c839,'operation':_0x446b56(0xd7)});}}[_0xff92db(0xca)](_0x3ab1a6){const _0xe22cfa=_0xff92db;this[_0xe22cfa(0xf0)][_0xe22cfa(0xf2)](_0x3ab1a6);}async[_0xff92db(0xde)](_0xd7d48){const _0x34c975=_0xff92db,_0xf21c1c=this[_0x34c975(0xf0)][_0x34c975(0xe6)](_0x5c8950=>_0x5c8950['id']===_0xd7d48);if(-0x1===_0xf21c1c)return!0x1;try{return await this[_0x34c975(0xeb)][_0x34c975(0xc7)](_0xd7d48)[_0x34c975(0xc6)](),this[_0x34c975(0xf0)][_0x34c975(0xe1)](_0xf21c1c,0x1),this[_0x34c975(0xcd)](_0x34c975(0xce),{'itemId':_0xd7d48}),!0x0;}catch(_0xa7077a){return this[_0x34c975(0xcd)](_0x34c975(0xe8),{'error':_0xa7077a,'operation':_0x34c975(0xde),'itemId':_0xd7d48}),!0x1;}}[_0xff92db(0xe9)](_0x15c150){const _0x3562a8=_0xff92db;return this[_0x3562a8(0xf0)][_0x3562a8(0xdc)](_0x3a562d=>_0x3a562d['id']===_0x15c150);}async[_0xff92db(0xd2)](_0x486df5,_0x99417a){const _0x5d1d4d=_0xff92db,_0x386ea5=this[_0x5d1d4d(0xe9)](_0x486df5);if(!_0x386ea5)return!0x1;try{return await this[_0x5d1d4d(0xeb)][_0x5d1d4d(0xec)](_0x486df5,{'title':_0x99417a})[_0x5d1d4d(0xe3)](),_0x386ea5[_0x5d1d4d(0xd3)](_0x99417a),this[_0x5d1d4d(0xcd)](_0x5d1d4d(0xd5),{'itemId':_0x486df5,'updates':{'title':_0x99417a}}),!0x0;}catch(_0x226589){return this[_0x5d1d4d(0xcd)](_0x5d1d4d(0xe8),{'error':_0x226589,'operation':_0x5d1d4d(0xd2),'itemId':_0x486df5}),!0x1;}}async[_0xff92db(0xe5)](_0x44bcb2,_0x607946){const _0x313d75=_0xff92db,_0x429dad=this[_0x313d75(0xe9)](_0x44bcb2);if(!_0x429dad)return!0x1;try{return await this[_0x313d75(0xeb)][_0x313d75(0xec)](_0x44bcb2,{'pinned':_0x607946})[_0x313d75(0xe3)](),_0x429dad[_0x313d75(0xf3)](_0x607946),this[_0x313d75(0xcd)](_0x313d75(0xd5),{'itemId':_0x44bcb2,'updates':{'pinned':_0x607946}}),!0x0;}catch(_0x44750a){return this[_0x313d75(0xcd)](_0x313d75(0xe8),{'error':_0x44750a,'operation':_0x313d75(0xe5),'itemId':_0x44bcb2}),!0x1;}}[_0xff92db(0xda)](_0x3a578b){const _0x5dcd66=_0xff92db;try{this[_0x5dcd66(0xf0)]=[],_0x3a578b[_0x5dcd66(0xd6)](_0xee2754=>{const _0x5a8868=_0x5dcd66;this[_0x5a8868(0xca)](new _0x1c2f8c(_0xee2754));}),this[_0x5dcd66(0xcd)](_0x5dcd66(0xef),{'items':[...this[_0x5dcd66(0xf0)]]});}catch(_0x5215cb){this[_0x5dcd66(0xcd)](_0x5dcd66(0xe8),{'error':_0x5215cb,'operation':_0x5dcd66(0xda)});}}[_0xff92db(0xcc)](_0x2c9d41={}){const _0xca5b02=_0xff92db,_0x117986=void 0x0!==_0x2c9d41[_0xca5b02(0xd1)]&&_0x2c9d41[_0xca5b02(0xd1)],_0x5153a0=_0x2c9d41[_0xca5b02(0xe2)]?new Date(_0x2c9d41[_0xca5b02(0xe2)][_0xca5b02(0xe4)](),_0x2c9d41[_0xca5b02(0xe2)][_0xca5b02(0xd9)](),_0x2c9d41[_0xca5b02(0xe2)][_0xca5b02(0xcb)]()):null,_0x5afaf4=_0x2c9d41['to']?new Date(_0x2c9d41['to'][_0xca5b02(0xe4)](),_0x2c9d41['to'][_0xca5b02(0xd9)](),_0x2c9d41['to'][_0xca5b02(0xcb)]()):null;return this[_0xca5b02(0xf0)][_0xca5b02(0xc9)](_0x5db86d=>{const _0x3131df=_0xca5b02;if(_0x5db86d[_0x3131df(0xd1)]!==_0x117986)return!0x1;if(_0x5afaf4){const _0x178a20=new Date(_0x5db86d[_0x3131df(0xcf)][_0x3131df(0xe4)](),_0x5db86d[_0x3131df(0xcf)][_0x3131df(0xd9)](),_0x5db86d[_0x3131df(0xcf)][_0x3131df(0xcb)]());return _0x5153a0?_0x5153a0[_0x3131df(0xdd)]()===_0x5afaf4[_0x3131df(0xdd)]()?_0x178a20[_0x3131df(0xdd)]()===_0x5153a0[_0x3131df(0xdd)]():_0x178a20<_0x5afaf4&&_0x178a20>=_0x5153a0:_0x178a20<_0x5afaf4;}return!0x0;});}}
23
+ const _0x2a68a8=_0x5e57;function _0x5e57(_0x12df14,_0x56447c){const _0x15224d=_0x1522();return _0x5e57=function(_0x5e57a7,_0x24e4ea){_0x5e57a7=_0x5e57a7-0x1e4;let _0x2c7dcf=_0x15224d[_0x5e57a7];return _0x2c7dcf;},_0x5e57(_0x12df14,_0x56447c);}(function(_0x3dfabd,_0x229798){const _0x5a9cbf=_0x5e57,_0x4a9b02=_0x3dfabd();while(!![]){try{const _0x517c3a=-parseInt(_0x5a9cbf(0x1e9))/0x1+parseInt(_0x5a9cbf(0x1eb))/0x2+parseInt(_0x5a9cbf(0x20b))/0x3+-parseInt(_0x5a9cbf(0x20e))/0x4*(parseInt(_0x5a9cbf(0x201))/0x5)+parseInt(_0x5a9cbf(0x1f3))/0x6+parseInt(_0x5a9cbf(0x1f9))/0x7+parseInt(_0x5a9cbf(0x210))/0x8*(-parseInt(_0x5a9cbf(0x1f6))/0x9);if(_0x517c3a===_0x229798)break;else _0x4a9b02['push'](_0x4a9b02['shift']());}catch(_0x5dcde0){_0x4a9b02['push'](_0x4a9b02['shift']());}}}(_0x1522,0x98255));import{EmitterMixin as _0x250ac4}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x431e5b}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x250ac4(){[_0x2a68a8(0x1f5)]=[];[_0x2a68a8(0x203)];[_0x2a68a8(0x1fe)];constructor({connector:_0x46ef2f,group:_0x5eedf2}){const _0x41b839=_0x2a68a8;super(),this[_0x41b839(0x203)]=_0x46ef2f,this[_0x41b839(0x1fe)]=_0x5eedf2;}async[_0x2a68a8(0x1ea)](){const _0x377a77=_0x2a68a8;try{const _0x3477e2=this[_0x377a77(0x203)][_0x377a77(0x205)](this[_0x377a77(0x1fe)]),_0x7a4b3=await _0x3477e2[_0x377a77(0x208)]();this[_0x377a77(0x20f)](_0x7a4b3);}catch(_0x2d7d2c){this[_0x377a77(0x211)](_0x377a77(0x1e5),{'error':_0x2d7d2c,'operation':_0x377a77(0x1ea)});}}[_0x2a68a8(0x209)](_0x4d2776){const _0x34c211=_0x2a68a8;this[_0x34c211(0x1f5)][_0x34c211(0x1ef)](_0x4d2776);}async[_0x2a68a8(0x1e6)](_0x212c17){const _0x4a0080=_0x2a68a8,_0x3dae07=this[_0x4a0080(0x1f5)][_0x4a0080(0x206)](_0x11a130=>_0x11a130['id']===_0x212c17);if(-0x1===_0x3dae07)return!0x1;try{return await this[_0x4a0080(0x203)][_0x4a0080(0x200)](_0x212c17)[_0x4a0080(0x20a)](),this[_0x4a0080(0x1f5)][_0x4a0080(0x1fb)](_0x3dae07,0x1),this[_0x4a0080(0x211)](_0x4a0080(0x20c),{'itemId':_0x212c17}),!0x0;}catch(_0xf3a7c5){return this[_0x4a0080(0x211)](_0x4a0080(0x1e5),{'error':_0xf3a7c5,'operation':_0x4a0080(0x1e6),'itemId':_0x212c17}),!0x1;}}[_0x2a68a8(0x20d)](_0x2fa844){const _0x435e59=_0x2a68a8;return this[_0x435e59(0x1f5)][_0x435e59(0x1f1)](_0x3648c8=>_0x3648c8['id']===_0x2fa844);}async[_0x2a68a8(0x1fc)](_0x10ac75,_0xfb1b18){const _0x4ffd08=_0x2a68a8,_0x388de9=this[_0x4ffd08(0x20d)](_0x10ac75);if(!_0x388de9)return!0x1;try{return await this[_0x4ffd08(0x203)][_0x4ffd08(0x1fd)](_0x10ac75,{'title':_0xfb1b18})[_0x4ffd08(0x1ee)](),_0x388de9[_0x4ffd08(0x204)](_0xfb1b18),this[_0x4ffd08(0x211)](_0x4ffd08(0x1e7),{'itemId':_0x10ac75,'updates':{'title':_0xfb1b18}}),!0x0;}catch(_0x40100e){return this[_0x4ffd08(0x211)](_0x4ffd08(0x1e5),{'error':_0x40100e,'operation':_0x4ffd08(0x1fc),'itemId':_0x10ac75}),!0x1;}}async[_0x2a68a8(0x1f2)](_0xdc4d16,_0x55b429){const _0x4a9b89=_0x2a68a8,_0x22eeee=this[_0x4a9b89(0x20d)](_0xdc4d16);if(!_0x22eeee)return!0x1;try{return await this[_0x4a9b89(0x203)][_0x4a9b89(0x1fd)](_0xdc4d16,{'pinned':_0x55b429})[_0x4a9b89(0x1ee)](),_0x22eeee[_0x4a9b89(0x1f7)](_0x55b429),this[_0x4a9b89(0x211)](_0x4a9b89(0x1e7),{'itemId':_0xdc4d16,'updates':{'pinned':_0x55b429}}),!0x0;}catch(_0x21be2a){return this[_0x4a9b89(0x211)](_0x4a9b89(0x1e5),{'error':_0x21be2a,'operation':_0x4a9b89(0x1f2),'itemId':_0xdc4d16}),!0x1;}}[_0x2a68a8(0x20f)](_0x253ec6){const _0x351cb8=_0x2a68a8;try{this[_0x351cb8(0x1f5)]=[],_0x253ec6[_0x351cb8(0x1e4)](_0x6584=>{const _0x45ff43=_0x351cb8;this[_0x45ff43(0x209)](new _0x431e5b(_0x6584));}),this[_0x351cb8(0x211)](_0x351cb8(0x207),{'items':[...this[_0x351cb8(0x1f5)]]});}catch(_0x2a8d46){this[_0x351cb8(0x211)](_0x351cb8(0x1e5),{'error':_0x2a8d46,'operation':_0x351cb8(0x20f)});}}[_0x2a68a8(0x1ff)](_0x20812b={}){const _0x4d8c77=_0x2a68a8,_0x349783=void 0x0!==_0x20812b[_0x4d8c77(0x1e8)]&&_0x20812b[_0x4d8c77(0x1e8)],_0x165d77=_0x20812b[_0x4d8c77(0x202)]?new Date(_0x20812b[_0x4d8c77(0x202)][_0x4d8c77(0x1f8)](),_0x20812b[_0x4d8c77(0x202)][_0x4d8c77(0x1f4)](),_0x20812b[_0x4d8c77(0x202)][_0x4d8c77(0x1ed)]()):null,_0x5ea1d6=_0x20812b['to']?new Date(_0x20812b['to'][_0x4d8c77(0x1f8)](),_0x20812b['to'][_0x4d8c77(0x1f4)](),_0x20812b['to'][_0x4d8c77(0x1ed)]()):null;return this[_0x4d8c77(0x1f5)][_0x4d8c77(0x1f0)](_0x14c190=>{const _0x509f01=_0x4d8c77;if(_0x14c190[_0x509f01(0x1e8)]!==_0x349783)return!0x1;if(_0x5ea1d6){const _0x23c419=new Date(_0x14c190[_0x509f01(0x1ec)][_0x509f01(0x1f8)](),_0x14c190[_0x509f01(0x1ec)][_0x509f01(0x1f4)](),_0x14c190[_0x509f01(0x1ec)][_0x509f01(0x1ed)]());return _0x165d77?_0x165d77[_0x509f01(0x1fa)]()===_0x5ea1d6[_0x509f01(0x1fa)]()?_0x23c419[_0x509f01(0x1fa)]()===_0x165d77[_0x509f01(0x1fa)]():_0x23c419<_0x5ea1d6&&_0x23c419>=_0x165d77:_0x23c419<_0x5ea1d6;}return!0x0;});}}function _0x1522(){const _0x1e3a23=['error','removeItem','itemUpdated','pinned','327939WytPkh','init','2297248EipFTN','createdAt','getDate','getResult','push','filter','find','updateItemPinned','3181656VGBAwi','getMonth','items','17743284GihWEu','updatePinned','getFullYear','4613014javTgt','getTime','splice','updateItemTitle','updateConversation','group','getItems','deleteConversation','5195AFidLe','from','connector','updateTitle','fetchConversations','findIndex','itemsLoaded','getConversations','addItem','execute','2695440dzXcOh','itemRemoved','getItem','1208icDlet','loadItems','8kUhvvp','fire','map'];_0x1522=function(){return _0x1e3a23;};return _0x1522();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x534e25=_0x4209;(function(_0x43e582,_0x5c3454){var _0xbc4825=_0x4209,_0x41331b=_0x43e582();while(!![]){try{var _0x4f6ee6=parseInt(_0xbc4825(0xaf))/0x1*(parseInt(_0xbc4825(0xb4))/0x2)+parseInt(_0xbc4825(0xb1))/0x3*(parseInt(_0xbc4825(0xb7))/0x4)+-parseInt(_0xbc4825(0xb8))/0x5+-parseInt(_0xbc4825(0xb6))/0x6*(parseInt(_0xbc4825(0xaa))/0x7)+parseInt(_0xbc4825(0xae))/0x8+-parseInt(_0xbc4825(0xa9))/0x9+parseInt(_0xbc4825(0xac))/0xa;if(_0x4f6ee6===_0x5c3454)break;else _0x41331b['push'](_0x41331b['shift']());}catch(_0x5d9bbb){_0x41331b['push'](_0x41331b['shift']());}}}(_0x733b,0xdb469));import{ObservableMixin as _0x1d4873}from'ckeditor5/src/utils.js';function _0x4209(_0x114e6,_0x3cab00){var _0x733bc6=_0x733b();return _0x4209=function(_0x4209ed,_0x140c18){_0x4209ed=_0x4209ed-0xa9;var _0x1960fd=_0x733bc6[_0x4209ed];return _0x1960fd;},_0x4209(_0x114e6,_0x3cab00);}function _0x733b(){var _0x9165fe=['8fbIlur','3437845MXnHAy','updatedAt','2743173oXlcDA','21qLrPuZ','createdAt','14713930rURBgZ','title','8081864HmwZwY','74rtroal','updateTitle','131853iAQlNN','set','pinned','16196pYBrlw','updatePinned','2556522nVwQoI'];_0x733b=function(){return _0x9165fe;};return _0x733b();}import{escape as _0x4d1edd}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x1d4873(){['id'];[_0x534e25(0xab)];constructor({id:_0x1c2f3f,title:_0x25f88c,createdAt:_0xc53c58,updatedAt:_0x264e43,pinned:_0x318fb3}){var _0x3b4bc1=_0x534e25;super(),this['id']=_0x1c2f3f,this[_0x3b4bc1(0xab)]=new Date(_0xc53c58),this[_0x3b4bc1(0xb2)](_0x3b4bc1(0xad),_0x25f88c),this[_0x3b4bc1(0xb2)](_0x3b4bc1(0xb9),_0x264e43?new Date(_0x264e43):null),this[_0x3b4bc1(0xb2)](_0x3b4bc1(0xb3),_0x318fb3||!0x1);}[_0x534e25(0xb0)](_0x4591bf){var _0x1170fb=_0x534e25;this[_0x1170fb(0xb2)](_0x1170fb(0xad),_0x4d1edd(_0x4591bf)),this[_0x1170fb(0xb9)]=new Date();}[_0x534e25(0xb5)](_0x1673db){var _0x51a36c=_0x534e25;this[_0x51a36c(0xb2)](_0x51a36c(0xb3),_0x1673db),this[_0x51a36c(0xb9)]=new Date();}}
23
+ var _0x3ffa84=_0x5324;(function(_0x18a6c6,_0x4bacfa){var _0x3e1fbe=_0x5324,_0x35237d=_0x18a6c6();while(!![]){try{var _0x54d416=-parseInt(_0x3e1fbe(0x13f))/0x1*(-parseInt(_0x3e1fbe(0x137))/0x2)+-parseInt(_0x3e1fbe(0x13d))/0x3*(-parseInt(_0x3e1fbe(0x140))/0x4)+-parseInt(_0x3e1fbe(0x139))/0x5+-parseInt(_0x3e1fbe(0x133))/0x6+parseInt(_0x3e1fbe(0x136))/0x7*(-parseInt(_0x3e1fbe(0x141))/0x8)+parseInt(_0x3e1fbe(0x13e))/0x9*(-parseInt(_0x3e1fbe(0x135))/0xa)+parseInt(_0x3e1fbe(0x144))/0xb;if(_0x54d416===_0x4bacfa)break;else _0x35237d['push'](_0x35237d['shift']());}catch(_0x23a148){_0x35237d['push'](_0x35237d['shift']());}}}(_0x52ae,0x37237));import{ObservableMixin as _0x1146b6}from'ckeditor5/src/utils.js';function _0x52ae(){var _0x160637=['53934CItJUg','196YLVPCu','27304hBjajN','title','updateTitle','9355995fTQzig','632724yQKEZT','pinned','4007540BMcKnu','483eowkit','10BTRTMh','set','876015LillVj','updatePinned','updatedAt','createdAt','1380rzeFTb','9VraeGV'];_0x52ae=function(){return _0x160637;};return _0x52ae();}function _0x5324(_0x3e6395,_0x5ba376){var _0x52ae2f=_0x52ae();return _0x5324=function(_0x53243b,_0x2eb6f7){_0x53243b=_0x53243b-0x133;var _0x1e15a8=_0x52ae2f[_0x53243b];return _0x1e15a8;},_0x5324(_0x3e6395,_0x5ba376);}import{escape as _0x4c4df9}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x1146b6(){['id'];[_0x3ffa84(0x13c)];constructor({id:_0x5b7f16,title:_0x1c3686,createdAt:_0x10cd4b,updatedAt:_0x40ac1d,pinned:_0x5d4a09}){var _0x32c84c=_0x3ffa84;super(),this['id']=_0x5b7f16,this[_0x32c84c(0x13c)]=new Date(_0x10cd4b),this[_0x32c84c(0x138)](_0x32c84c(0x142),_0x1c3686),this[_0x32c84c(0x138)](_0x32c84c(0x13b),_0x40ac1d?new Date(_0x40ac1d):null),this[_0x32c84c(0x138)](_0x32c84c(0x134),_0x5d4a09||!0x1);}[_0x3ffa84(0x143)](_0x6c2363){var _0xe5ce5f=_0x3ffa84;this[_0xe5ce5f(0x138)](_0xe5ce5f(0x142),_0x4c4df9(_0x6c2363)),this[_0xe5ce5f(0x13b)]=new Date();}[_0x3ffa84(0x13a)](_0x54193c){var _0xd1543=_0x3ffa84;this[_0xd1543(0x138)](_0xd1543(0x134),_0x54193c),this[_0xd1543(0x13b)]=new Date();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28f5f3=_0x438d;(function(_0x1bc365,_0x4a4fce){const _0x5398a9=_0x438d,_0x390d56=_0x1bc365();while(!![]){try{const _0x2e6ba3=parseInt(_0x5398a9(0x132))/0x1+-parseInt(_0x5398a9(0x139))/0x2*(-parseInt(_0x5398a9(0x106))/0x3)+parseInt(_0x5398a9(0x11f))/0x4*(parseInt(_0x5398a9(0xf7))/0x5)+parseInt(_0x5398a9(0xfd))/0x6*(parseInt(_0x5398a9(0x136))/0x7)+parseInt(_0x5398a9(0x134))/0x8*(-parseInt(_0x5398a9(0x12c))/0x9)+-parseInt(_0x5398a9(0xe5))/0xa+parseInt(_0x5398a9(0xf8))/0xb*(-parseInt(_0x5398a9(0xff))/0xc);if(_0x2e6ba3===_0x4a4fce)break;else _0x390d56['push'](_0x390d56['shift']());}catch(_0x3ad9a7){_0x390d56['push'](_0x390d56['shift']());}}}(_0x5370,0xd4fc9));import{ListItemView as _0x4d680d,HighlightedTextView as _0x1d8b39,ButtonView as _0x39accb,ListView as _0x59f30d,IconView as _0x242918,createDropdown as _0x1c3571,InputTextView as _0x165543}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x4465ff,IconPin as _0x1e5508,IconCheck as _0x1c1c9a,IconCancel as _0x306445}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x1f83b3,ConfirmMixin as _0x3c8914}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x165488}from'es-toolkit/compat';function _0x5370(){const _0x495a98=['isEdit','editConversationTitle','AI_CHAT_HISTORY_LOADING_PINNING','_createMenuDropdownView','ck-ai-chat-history__item-actions','element','setTemplate','_createCheckView','LOADING_LABELS','addMany','ck-hidden','updateTitle','ck-ai-chat-history__item--edit','15256SxZxJF','isVisible','Enter','loadingState','_commitEditInputValue','tiny','_createSpinnerView','set','mainContent','bind','ck-ai-loader','extendTemplate','ck-ai-chat-history__item-content','297MsUazT','buttonView','panelView','selectConversation','ck-ai-loader__text','AI_CHAT_HISTORY_LOADING_UNPINNING','901858LvSqoG','fire','4752DsjCZh','bindTemplate','1973377XKhfdF','locale','change:isEdit','1166abMMYx','AI_CHAT_HISTORY_REMOVE_CONFIRM','createCollection','AI_CHAT_HISTORY_REMOVE','_createEditInputView','isMatching','focus','click','children','_titleView','AI_CHAT_HISTORY_LOADING_REMOVING','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','add','value','ck-ai-chat-history__item--active','match','10893090cxhnKF','panelPosition','AI_CHAT_HISTORY_ACCEPT','withText','ck-ai-chat-history__item-check','removeConversation','key','ck-ai-chat-history__item-date','AI_CHAT_HISTORY_PIN_BUTTON','ck-ai-chat-history__item-title','ck-confirm-view-cancel','AI_CHAT_HISTORY_CANCEL','edit:cancel','string','span','then','div','updateLoadingState','1585cPHuzc','165uyrPwO','AI_CHAT_HISTORY_LOADING_RENAMING','showConfirm','AI_CHAT_HISTORY_EDIT_NAME','pinned','30LgdKEe','ck-ai-chat-history__item-check-container','2472408gMrwqL','label','ck-ai-chat-history__item-row','text','items','_createCancelEditButtonView','listitem','7983pDqtyt','actions','setConversationPinned','_createPinButtonView','isOn','execute','_createAcceptEditButtonView','ck-ai-chat-history__item','clear','ck-ai-chat-history__item-main-content','ck-confirm-view-submit','highlightText'];_0x5370=function(){return _0x495a98;};return _0x5370();}function _0x438d(_0xe75de7,_0x560b37){const _0x5370bf=_0x5370();return _0x438d=function(_0x438d0f,_0x5ee648){_0x438d0f=_0x438d0f-0xd9;let _0x37b665=_0x5370bf[_0x438d0f];return _0x37b665;},_0x438d(_0xe75de7,_0x560b37);}import{AISpinnerView as _0x20027e}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x44d73d}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends _0x3c8914(_0x4d680d){['id'];static [_0x28f5f3(0x11a)]={'remove':_0x28f5f3(0xdf),'rename':_0x28f5f3(0xf9),'pin':_0x28f5f3(0x114),'unpin':_0x28f5f3(0x131)};[_0x28f5f3(0x107)];[_0x28f5f3(0x127)];[_0x28f5f3(0xde)];constructor(_0x4384ce,_0x4c54c4){const _0x415b7c=_0x28f5f3;super(_0x4384ce);const _0x3968c0=this[_0x415b7c(0x135)];this[_0x415b7c(0x126)](_0x415b7c(0x112),!0x1),this[_0x415b7c(0x126)](_0x415b7c(0x120),!0x0),this[_0x415b7c(0x126)](_0x415b7c(0xfc),!!_0x4c54c4[_0x415b7c(0xfc)]),this[_0x415b7c(0x126)](_0x415b7c(0x122),null),this['id']=_0x4c54c4['id'];const {title:_0x506cc2,createdAt:_0x8b824c,active:_0x2af3da=!0x1}=_0x4c54c4;this[_0x415b7c(0xde)]=new _0x1d8b39(),this[_0x415b7c(0xde)][_0x415b7c(0x102)]=_0x506cc2,this[_0x415b7c(0xde)][_0x415b7c(0x12a)]({'attributes':{'class':[_0x415b7c(0xee)]}});const _0x80f903=this[_0x415b7c(0x119)](),_0x4c7a9c=this[_0x415b7c(0x109)](_0x4384ce),_0x150e1d=this[_0x415b7c(0x115)](),_0x1fe37a=this[_0x415b7c(0xd9)](_0x4384ce,_0x506cc2),_0x60b043=this[_0x415b7c(0x10c)](_0x4384ce,_0x1fe37a),_0x16abf5=this[_0x415b7c(0x104)](_0x4384ce,_0x1fe37a);this[_0x415b7c(0x107)]=this[_0x415b7c(0x13b)](),this[_0x415b7c(0x127)]=this[_0x415b7c(0x13b)](),this[_0x415b7c(0x127)][_0x415b7c(0xe1)](this[_0x415b7c(0xde)]),this[_0x415b7c(0x107)][_0x415b7c(0xe1)](_0x4c7a9c),this[_0x415b7c(0x107)][_0x415b7c(0xe1)](_0x150e1d),this['on'](_0x415b7c(0x138),(_0x7c8e5e,_0x1efb70,_0x3a8ece)=>{const _0x5e39e0=_0x415b7c;this[_0x5e39e0(0x107)][_0x5e39e0(0x10e)](),this[_0x5e39e0(0x127)][_0x5e39e0(0x10e)](),_0x3a8ece?(this[_0x5e39e0(0x107)][_0x5e39e0(0xe1)](_0x60b043),this[_0x5e39e0(0x107)][_0x5e39e0(0xe1)](_0x16abf5),this[_0x5e39e0(0x127)][_0x5e39e0(0xe1)](_0x1fe37a),_0x1fe37a[_0x5e39e0(0x117)][_0x5e39e0(0xdb)]()):(this[_0x5e39e0(0x107)][_0x5e39e0(0xe1)](_0x4c7a9c),this[_0x5e39e0(0x107)][_0x5e39e0(0xe1)](_0x150e1d),this[_0x5e39e0(0x127)][_0x5e39e0(0xe1)](this[_0x5e39e0(0xde)]));}),this[_0x415b7c(0x118)]({'tag':'li','attributes':{'class':[_0x415b7c(0x10d),_0x2af3da?_0x415b7c(0xe3):'',_0x3968c0['if'](_0x415b7c(0x120),_0x415b7c(0x11c),_0x152fa2=>!_0x152fa2),_0x3968c0['if'](_0x415b7c(0x112),_0x415b7c(0x11e))],'role':_0x415b7c(0x105)},'children':[{'tag':_0x415b7c(0xf3),'attributes':{'class':[_0x415b7c(0xfe)]},'children':[{'tag':_0x415b7c(0xf5),'attributes':{'class':[_0x415b7c(0xe9),_0x3968c0['if'](_0x415b7c(0x122),_0x415b7c(0x11c),_0x5160d2=>!!_0x5160d2)]},'children':_0x2af3da?[_0x80f903]:[]},{'tag':_0x415b7c(0xf5),'attributes':{'class':[_0x415b7c(0x129),_0x3968c0['if'](_0x415b7c(0x122),_0x415b7c(0x11c),_0x253db5=>!_0x253db5)]},'children':[this[_0x415b7c(0x125)]()]}]},{'tag':_0x415b7c(0xf5),'attributes':{'class':[_0x415b7c(0x101)]},'children':[{'tag':_0x415b7c(0xf5),'attributes':{'class':[_0x415b7c(0x12b)]},'on':{'click':this[_0x415b7c(0x135)]['to'](_0x415b7c(0xdc))},'children':[{'tag':_0x415b7c(0xf5),'attributes':{'class':[_0x415b7c(0x10f)]},'children':[{'tag':_0x415b7c(0xf5),'attributes':{'class':[_0x415b7c(0xee),_0x3968c0['if'](_0x415b7c(0x122),_0x415b7c(0x11c),_0x1747ed=>!!_0x1747ed)]},'children':this[_0x415b7c(0x127)]},{'tag':_0x415b7c(0xf5),'attributes':{'class':[_0x415b7c(0x130),_0x3968c0['if'](_0x415b7c(0x122),_0x415b7c(0x11c),_0x261dfe=>!_0x261dfe)]},'children':[{'text':_0x3968c0['to'](_0x415b7c(0x122),_0x3b7a76=>_0x3b7a76?_0x44d73d(this[_0x415b7c(0x137)],AIChatHistoryListItemView[_0x415b7c(0x11a)][_0x3b7a76]):'')}]}]},{'tag':_0x415b7c(0xf3),'attributes':{'class':[_0x415b7c(0xec)]},'children':[_0x8b824c]}]},{'tag':_0x415b7c(0xf5),'attributes':{'class':[_0x415b7c(0x116)]},'children':this[_0x415b7c(0x107)]}]}]}),this['on'](_0x415b7c(0xdc),()=>{const _0x4c8a3e=_0x415b7c;this[_0x4c8a3e(0x112)]||this[_0x4c8a3e(0x133)](_0x4c8a3e(0x12f),{'id':this['id']});});}[_0x28f5f3(0x11d)](_0x1aa6d3){const _0xaf7175=_0x28f5f3;this[_0xaf7175(0xde)][_0xaf7175(0x102)]=_0x165488(_0x1aa6d3);}[_0x28f5f3(0xf6)](_0x45bd7e,_0x1203c2){const _0x106543=_0x28f5f3;this[_0x106543(0x126)](_0x106543(0x122),_0x1203c2?_0x45bd7e:null);}[_0x28f5f3(0x119)](){const _0x494943=_0x28f5f3,_0x4eac30=new _0x242918();return _0x4eac30[_0x494943(0x126)]({'content':_0x1c1c9a}),_0x4eac30;}[_0x28f5f3(0x109)](_0x1d0275){const _0xb834a2=_0x28f5f3,_0x41d211=new _0x39accb(_0x1d0275);return _0x41d211[_0xb834a2(0x126)]({'label':_0x44d73d(_0x1d0275,_0xb834a2(0xed)),'icon':_0x1e5508,'withText':!0x1,'tooltip':!0x0}),_0x41d211[_0xb834a2(0x128)](_0xb834a2(0x10a))['to'](this,_0xb834a2(0xfc)),_0x41d211['on'](_0xb834a2(0x10b),()=>{const _0x31e964=_0xb834a2,_0x215ac5=!this[_0x31e964(0xfc)];this[_0x31e964(0x133)](_0x31e964(0x108),{'id':this['id'],'pinned':_0x215ac5});}),_0x41d211;}[_0x28f5f3(0x115)](){const _0x5ea715=_0x28f5f3,_0x20ab2d=_0x1c3571(this[_0x5ea715(0x137)],_0x1f83b3),_0x5d01b6=_0x20ab2d[_0x5ea715(0x12e)][_0x5ea715(0xdd)];_0x20ab2d[_0x5ea715(0x12d)][_0x5ea715(0x126)]({'label':_0x44d73d(this[_0x5ea715(0x137)],_0x5ea715(0xe0)),'icon':_0x4465ff}),_0x20ab2d[_0x5ea715(0xe6)]='sw';const _0xeff85c=new _0x39accb(this[_0x5ea715(0x137)]);_0xeff85c[_0x5ea715(0x100)]=_0x44d73d(this[_0x5ea715(0x137)],_0x5ea715(0xfb)),_0xeff85c[_0x5ea715(0xe8)]=!0x0,_0xeff85c['on'](_0x5ea715(0x10b),()=>{const _0x502e73=_0x5ea715;this[_0x502e73(0x112)]=!0x0;});const _0x17c941=new _0x39accb(this[_0x5ea715(0x137)]);_0x17c941[_0x5ea715(0x100)]=_0x44d73d(this[_0x5ea715(0x137)],_0x5ea715(0x13c)),_0x17c941[_0x5ea715(0xe8)]=!0x0,_0x17c941['on'](_0x5ea715(0x10b),()=>{const _0x4c7cea=_0x5ea715;this[_0x4c7cea(0xfa)](_0x44d73d(this[_0x4c7cea(0x137)],_0x4c7cea(0x13a)),this[_0x4c7cea(0x117)])[_0x4c7cea(0xf4)](()=>{const _0x492d03=_0x4c7cea;this[_0x492d03(0x133)](_0x492d03(0xea),{'id':this['id']});});});const _0x32ef86=new _0x59f30d(this[_0x5ea715(0x137)]),_0x49aaae=new _0x4d680d(this[_0x5ea715(0x137)]);_0x49aaae[_0x5ea715(0xdd)][_0x5ea715(0xe1)](_0xeff85c);const _0x1f843f=new _0x4d680d(this[_0x5ea715(0x137)]);return _0x1f843f[_0x5ea715(0xdd)][_0x5ea715(0xe1)](_0x17c941),_0x32ef86[_0x5ea715(0x103)][_0x5ea715(0x11b)]([_0x49aaae,_0x1f843f]),_0x5d01b6[_0x5ea715(0xe1)](_0x32ef86),_0x20ab2d;}[_0x28f5f3(0xd9)](_0x3c9c10,_0x1696a0){const _0x17b997=_0x28f5f3,_0x12985a=new _0x165543(_0x3c9c10),_0x33816b=_0x12985a[_0x17b997(0x135)];return _0x12985a[_0x17b997(0xe2)]=_0x1696a0,_0x12985a[_0x17b997(0x12a)]({'on':{'keydown':_0x33816b['to'](_0xce77d9=>{const _0x2f975f=_0x17b997;_0x2f975f(0x121)==_0xce77d9[_0x2f975f(0xeb)]&&this[_0x2f975f(0x123)](_0x12985a);})}}),_0x12985a;}[_0x28f5f3(0x10c)](_0x4994b4,_0x3ff4af){const _0x311d10=_0x28f5f3,_0x5b29d7=new _0x39accb(_0x4994b4);return _0x5b29d7[_0x311d10(0x126)]({'icon':_0x1c1c9a,'withText':!0x1,'tooltip':_0x44d73d(_0x4994b4,_0x311d10(0xe7))}),_0x5b29d7[_0x311d10(0x12a)]({'attributes':{'class':[_0x311d10(0x110)]}}),_0x5b29d7['on'](_0x311d10(0x10b),()=>{const _0x5663f7=_0x311d10;this[_0x5663f7(0x123)](_0x3ff4af);}),_0x5b29d7;}[_0x28f5f3(0x123)](_0x1e7018){const _0x4ed6aa=_0x28f5f3,_0x39d3bd=_0x1e7018[_0x4ed6aa(0x117)][_0x4ed6aa(0xe2)]||'';this[_0x4ed6aa(0xde)][_0x4ed6aa(0x102)]=_0x39d3bd,this[_0x4ed6aa(0x112)]=!0x1,this[_0x4ed6aa(0x133)](_0x4ed6aa(0x113),{'id':this['id'],'title':_0x39d3bd});}[_0x28f5f3(0x104)](_0x2ec673,_0x4377a4){const _0x5d17f4=_0x28f5f3,_0x2b9fc1=new _0x39accb(_0x2ec673);return _0x2b9fc1[_0x5d17f4(0x126)]({'icon':_0x306445,'withText':!0x1,'tooltip':_0x44d73d(_0x2ec673,_0x5d17f4(0xf0))}),_0x2b9fc1[_0x5d17f4(0x12a)]({'attributes':{'class':[_0x5d17f4(0xef)]}}),_0x2b9fc1['on'](_0x5d17f4(0x10b),()=>{const _0x1bdeb6=_0x5d17f4;this[_0x1bdeb6(0x112)]=!0x1,_0x4377a4[_0x1bdeb6(0xe2)]=this[_0x1bdeb6(0xde)][_0x1bdeb6(0x102)]||'',this[_0x1bdeb6(0x133)](_0x1bdeb6(0xf1));}),_0x2b9fc1;}[_0x28f5f3(0x125)](){const _0x2972b4=_0x28f5f3,_0x198ed8=new _0x20027e(_0x2972b4(0x124));return _0x198ed8[_0x2972b4(0x120)]=!0x0,_0x198ed8;}[_0x28f5f3(0xda)](_0x4a3808){const _0xdb5db6=_0x28f5f3;return this[_0xdb5db6(0xde)]&&_0xdb5db6(0xf2)==typeof this[_0xdb5db6(0xde)][_0xdb5db6(0x102)]&&this[_0xdb5db6(0xde)][_0xdb5db6(0x102)][_0xdb5db6(0xe4)](_0x4a3808)?{'title':!0x0}:null;}[_0x28f5f3(0x111)](_0x1048d2){const _0x144d4c=_0x28f5f3;this[_0x144d4c(0xde)][_0x144d4c(0x111)](_0x1048d2);}}
23
+ const _0x41cbe1=_0x2a84;(function(_0x1db10f,_0xa56788){const _0xc3132b=_0x2a84,_0x53ecbe=_0x1db10f();while(!![]){try{const _0x4ae513=-parseInt(_0xc3132b(0x186))/0x1+parseInt(_0xc3132b(0x19f))/0x2+parseInt(_0xc3132b(0x18f))/0x3+parseInt(_0xc3132b(0x17c))/0x4+parseInt(_0xc3132b(0x1a3))/0x5+parseInt(_0xc3132b(0x160))/0x6+-parseInt(_0xc3132b(0x153))/0x7*(parseInt(_0xc3132b(0x185))/0x8);if(_0x4ae513===_0xa56788)break;else _0x53ecbe['push'](_0x53ecbe['shift']());}catch(_0x2c54e3){_0x53ecbe['push'](_0x53ecbe['shift']());}}}(_0x19ec,0xa1303));import{ListItemView as _0x5b7f1b,HighlightedTextView as _0x58caad,ButtonView as _0x305c6e,ListView as _0x18879c,IconView as _0x318517,createDropdown as _0x2aeb69,InputTextView as _0x1dd6b3}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0xb78682,IconPin as _0x18d578,IconCheck as _0x59f4a0,IconCancel as _0x1e9e73}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x1d0c01,ConfirmMixin as _0xcbca61}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x4158c4}from'es-toolkit/compat';function _0x2a84(_0x5377b8,_0x93b112){const _0x19ecd4=_0x19ec();return _0x2a84=function(_0x2a84de,_0xf1ca57){_0x2a84de=_0x2a84de-0x14b;let _0x33ac9e=_0x19ecd4[_0x2a84de];return _0x33ac9e;},_0x2a84(_0x5377b8,_0x93b112);}function _0x19ec(){const _0x4cc70c=['AI_CHAT_HISTORY_ACCEPT','5981580pUZiHL','_createMenuDropdownView','element','value','tiny','label','AI_CHAT_HISTORY_LOADING_RENAMING','ck-ai-chat-history__item-title','string','ck-ai-loader__text','AI_CHAT_HISTORY_REMOVE_CONFIRM','match','loadingState','ck-hidden','_titleView','ck-ai-chat-history__item-content','7uwrBnC','edit:cancel','editConversationTitle','isMatching','selectConversation','ck-ai-chat-history__item--active','add','Enter','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','mainContent','ck-ai-chat-history__item-row','updateLoadingState','_createCheckView','5112576osOhDb','listitem','clear','ck-ai-chat-history__item-date','focus','updateTitle','ck-ai-loader','_createEditInputView','execute','highlightText','ck-ai-chat-history__item','AI_CHAT_HISTORY_LOADING_REMOVING','_createCancelEditButtonView','ck-ai-chat-history__item-check','buttonView','ck-confirm-view-submit','panelView','setTemplate','key','text','items','withText','extendTemplate','locale','span','div','then','_commitEditInputValue','5250812PIIclF','_createSpinnerView','isVisible','AI_CHAT_HISTORY_LOADING_UNPINNING','removeConversation','showConfirm','setConversationPinned','AI_CHAT_HISTORY_PIN_BUTTON','_createPinButtonView','18533064DkNoHz','1152319fmvedZ','actions','_createAcceptEditButtonView','ck-ai-chat-history__item-check-container','ck-ai-chat-history__item--edit','fire','AI_CHAT_HISTORY_EDIT_NAME','change:isEdit','bindTemplate','413898ptTMSB','createCollection','pinned','ck-ai-chat-history__item-actions','panelPosition','ck-ai-chat-history__item-main-content','bind','set','AI_CHAT_HISTORY_CANCEL','isOn','AI_CHAT_HISTORY_REMOVE','AI_CHAT_HISTORY_LOADING_PINNING','children','LOADING_LABELS','ck-confirm-view-cancel','addMany','1260196EXQxJG','isEdit','click'];_0x19ec=function(){return _0x4cc70c;};return _0x19ec();}import{AISpinnerView as _0x376cd1}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x1c3e9a}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends _0xcbca61(_0x5b7f1b){['id'];static [_0x41cbe1(0x19c)]={'remove':_0x41cbe1(0x16b),'rename':_0x41cbe1(0x1a9),'pin':_0x41cbe1(0x19a),'unpin':_0x41cbe1(0x17f)};[_0x41cbe1(0x187)];[_0x41cbe1(0x15c)];[_0x41cbe1(0x151)];constructor(_0x566818,_0x567401){const _0x113fc8=_0x41cbe1;super(_0x566818);const _0x48308f=this[_0x113fc8(0x18e)];this[_0x113fc8(0x196)](_0x113fc8(0x1a0),!0x1),this[_0x113fc8(0x196)](_0x113fc8(0x17e),!0x0),this[_0x113fc8(0x196)](_0x113fc8(0x191),!!_0x567401[_0x113fc8(0x191)]),this[_0x113fc8(0x196)](_0x113fc8(0x14f),null),this['id']=_0x567401['id'];const {title:_0x2cf76d,createdAt:_0x33d605,active:_0x58c23c=!0x1}=_0x567401;this[_0x113fc8(0x151)]=new _0x58caad(),this[_0x113fc8(0x151)][_0x113fc8(0x173)]=_0x2cf76d,this[_0x113fc8(0x151)][_0x113fc8(0x176)]({'attributes':{'class':[_0x113fc8(0x1aa)]}});const _0x50c5c1=this[_0x113fc8(0x15f)](),_0x4cb537=this[_0x113fc8(0x184)](_0x566818),_0x9f1a5=this[_0x113fc8(0x1a4)](),_0x7827e8=this[_0x113fc8(0x167)](_0x566818,_0x2cf76d),_0x1d61f3=this[_0x113fc8(0x188)](_0x566818,_0x7827e8),_0x3a6ba8=this[_0x113fc8(0x16c)](_0x566818,_0x7827e8);this[_0x113fc8(0x187)]=this[_0x113fc8(0x190)](),this[_0x113fc8(0x15c)]=this[_0x113fc8(0x190)](),this[_0x113fc8(0x15c)][_0x113fc8(0x159)](this[_0x113fc8(0x151)]),this[_0x113fc8(0x187)][_0x113fc8(0x159)](_0x4cb537),this[_0x113fc8(0x187)][_0x113fc8(0x159)](_0x9f1a5),this['on'](_0x113fc8(0x18d),(_0x452e63,_0x19d594,_0x30b1d2)=>{const _0x1b3cb8=_0x113fc8;this[_0x1b3cb8(0x187)][_0x1b3cb8(0x162)](),this[_0x1b3cb8(0x15c)][_0x1b3cb8(0x162)](),_0x30b1d2?(this[_0x1b3cb8(0x187)][_0x1b3cb8(0x159)](_0x1d61f3),this[_0x1b3cb8(0x187)][_0x1b3cb8(0x159)](_0x3a6ba8),this[_0x1b3cb8(0x15c)][_0x1b3cb8(0x159)](_0x7827e8),_0x7827e8[_0x1b3cb8(0x1a5)][_0x1b3cb8(0x164)]()):(this[_0x1b3cb8(0x187)][_0x1b3cb8(0x159)](_0x4cb537),this[_0x1b3cb8(0x187)][_0x1b3cb8(0x159)](_0x9f1a5),this[_0x1b3cb8(0x15c)][_0x1b3cb8(0x159)](this[_0x1b3cb8(0x151)]));}),this[_0x113fc8(0x171)]({'tag':'li','attributes':{'class':[_0x113fc8(0x16a),_0x58c23c?_0x113fc8(0x158):'',_0x48308f['if'](_0x113fc8(0x17e),_0x113fc8(0x150),_0x4f0977=>!_0x4f0977),_0x48308f['if'](_0x113fc8(0x1a0),_0x113fc8(0x18a))],'role':_0x113fc8(0x161)},'children':[{'tag':_0x113fc8(0x178),'attributes':{'class':[_0x113fc8(0x189)]},'children':[{'tag':_0x113fc8(0x179),'attributes':{'class':[_0x113fc8(0x16d),_0x48308f['if'](_0x113fc8(0x14f),_0x113fc8(0x150),_0x49093c=>!!_0x49093c)]},'children':_0x58c23c?[_0x50c5c1]:[]},{'tag':_0x113fc8(0x179),'attributes':{'class':[_0x113fc8(0x166),_0x48308f['if'](_0x113fc8(0x14f),_0x113fc8(0x150),_0x3dc4b9=>!_0x3dc4b9)]},'children':[this[_0x113fc8(0x17d)]()]}]},{'tag':_0x113fc8(0x179),'attributes':{'class':[_0x113fc8(0x15d)]},'children':[{'tag':_0x113fc8(0x179),'attributes':{'class':[_0x113fc8(0x152)]},'on':{'click':this[_0x113fc8(0x18e)]['to'](_0x113fc8(0x1a1))},'children':[{'tag':_0x113fc8(0x179),'attributes':{'class':[_0x113fc8(0x194)]},'children':[{'tag':_0x113fc8(0x179),'attributes':{'class':[_0x113fc8(0x1aa),_0x48308f['if'](_0x113fc8(0x14f),_0x113fc8(0x150),_0xfc0932=>!!_0xfc0932)]},'children':this[_0x113fc8(0x15c)]},{'tag':_0x113fc8(0x179),'attributes':{'class':[_0x113fc8(0x14c),_0x48308f['if'](_0x113fc8(0x14f),_0x113fc8(0x150),_0x17a28e=>!_0x17a28e)]},'children':[{'text':_0x48308f['to'](_0x113fc8(0x14f),_0x578120=>_0x578120?_0x1c3e9a(this[_0x113fc8(0x177)],AIChatHistoryListItemView[_0x113fc8(0x19c)][_0x578120]):'')}]}]},{'tag':_0x113fc8(0x178),'attributes':{'class':[_0x113fc8(0x163)]},'children':[_0x33d605]}]},{'tag':_0x113fc8(0x179),'attributes':{'class':[_0x113fc8(0x192)]},'children':this[_0x113fc8(0x187)]}]}]}),this['on'](_0x113fc8(0x1a1),()=>{const _0x45f11e=_0x113fc8;this[_0x45f11e(0x1a0)]||this[_0x45f11e(0x18b)](_0x45f11e(0x157),{'id':this['id']});});}[_0x41cbe1(0x165)](_0x30ee74){const _0xe2e6dc=_0x41cbe1;this[_0xe2e6dc(0x151)][_0xe2e6dc(0x173)]=_0x4158c4(_0x30ee74);}[_0x41cbe1(0x15e)](_0xea1a44,_0x218062){const _0x5f5cff=_0x41cbe1;this[_0x5f5cff(0x196)](_0x5f5cff(0x14f),_0x218062?_0xea1a44:null);}[_0x41cbe1(0x15f)](){const _0x522087=_0x41cbe1,_0x4bd468=new _0x318517();return _0x4bd468[_0x522087(0x196)]({'content':_0x59f4a0}),_0x4bd468;}[_0x41cbe1(0x184)](_0x4fb2a6){const _0x392aeb=_0x41cbe1,_0x3bb15b=new _0x305c6e(_0x4fb2a6);return _0x3bb15b[_0x392aeb(0x196)]({'label':_0x1c3e9a(_0x4fb2a6,_0x392aeb(0x183)),'icon':_0x18d578,'withText':!0x1,'tooltip':!0x0}),_0x3bb15b[_0x392aeb(0x195)](_0x392aeb(0x198))['to'](this,_0x392aeb(0x191)),_0x3bb15b['on'](_0x392aeb(0x168),()=>{const _0x26a8dd=_0x392aeb,_0x67c3b1=!this[_0x26a8dd(0x191)];this[_0x26a8dd(0x18b)](_0x26a8dd(0x182),{'id':this['id'],'pinned':_0x67c3b1});}),_0x3bb15b;}[_0x41cbe1(0x1a4)](){const _0x51c5fa=_0x41cbe1,_0x5ad35e=_0x2aeb69(this[_0x51c5fa(0x177)],_0x1d0c01),_0x53b0d8=_0x5ad35e[_0x51c5fa(0x170)][_0x51c5fa(0x19b)];_0x5ad35e[_0x51c5fa(0x16e)][_0x51c5fa(0x196)]({'label':_0x1c3e9a(this[_0x51c5fa(0x177)],_0x51c5fa(0x15b)),'icon':_0xb78682}),_0x5ad35e[_0x51c5fa(0x193)]='sw';const _0x355d14=new _0x305c6e(this[_0x51c5fa(0x177)]);_0x355d14[_0x51c5fa(0x1a8)]=_0x1c3e9a(this[_0x51c5fa(0x177)],_0x51c5fa(0x18c)),_0x355d14[_0x51c5fa(0x175)]=!0x0,_0x355d14['on'](_0x51c5fa(0x168),()=>{const _0x39d2fe=_0x51c5fa;this[_0x39d2fe(0x1a0)]=!0x0;});const _0x4305ac=new _0x305c6e(this[_0x51c5fa(0x177)]);_0x4305ac[_0x51c5fa(0x1a8)]=_0x1c3e9a(this[_0x51c5fa(0x177)],_0x51c5fa(0x199)),_0x4305ac[_0x51c5fa(0x175)]=!0x0,_0x4305ac['on'](_0x51c5fa(0x168),()=>{const _0x53db28=_0x51c5fa;this[_0x53db28(0x181)](_0x1c3e9a(this[_0x53db28(0x177)],_0x53db28(0x14d)),this[_0x53db28(0x1a5)])[_0x53db28(0x17a)](()=>{const _0x43d76a=_0x53db28;this[_0x43d76a(0x18b)](_0x43d76a(0x180),{'id':this['id']});});});const _0x4225a2=new _0x18879c(this[_0x51c5fa(0x177)]),_0x52c559=new _0x5b7f1b(this[_0x51c5fa(0x177)]);_0x52c559[_0x51c5fa(0x19b)][_0x51c5fa(0x159)](_0x355d14);const _0x41b905=new _0x5b7f1b(this[_0x51c5fa(0x177)]);return _0x41b905[_0x51c5fa(0x19b)][_0x51c5fa(0x159)](_0x4305ac),_0x4225a2[_0x51c5fa(0x174)][_0x51c5fa(0x19e)]([_0x52c559,_0x41b905]),_0x53b0d8[_0x51c5fa(0x159)](_0x4225a2),_0x5ad35e;}[_0x41cbe1(0x167)](_0x3da04a,_0x1c6062){const _0x13c27e=_0x41cbe1,_0x221fff=new _0x1dd6b3(_0x3da04a),_0xd436bb=_0x221fff[_0x13c27e(0x18e)];return _0x221fff[_0x13c27e(0x1a6)]=_0x1c6062,_0x221fff[_0x13c27e(0x176)]({'on':{'keydown':_0xd436bb['to'](_0x5b15d0=>{const _0x5ff89b=_0x13c27e;_0x5ff89b(0x15a)==_0x5b15d0[_0x5ff89b(0x172)]&&this[_0x5ff89b(0x17b)](_0x221fff);})}}),_0x221fff;}[_0x41cbe1(0x188)](_0xadd280,_0x3ac215){const _0x512bdc=_0x41cbe1,_0x517858=new _0x305c6e(_0xadd280);return _0x517858[_0x512bdc(0x196)]({'icon':_0x59f4a0,'withText':!0x1,'tooltip':_0x1c3e9a(_0xadd280,_0x512bdc(0x1a2))}),_0x517858[_0x512bdc(0x176)]({'attributes':{'class':[_0x512bdc(0x16f)]}}),_0x517858['on'](_0x512bdc(0x168),()=>{const _0x4a8b6b=_0x512bdc;this[_0x4a8b6b(0x17b)](_0x3ac215);}),_0x517858;}[_0x41cbe1(0x17b)](_0x43bd57){const _0x4acc78=_0x41cbe1,_0x20403a=_0x43bd57[_0x4acc78(0x1a5)][_0x4acc78(0x1a6)]||'';this[_0x4acc78(0x151)][_0x4acc78(0x173)]=_0x20403a,this[_0x4acc78(0x1a0)]=!0x1,this[_0x4acc78(0x18b)](_0x4acc78(0x155),{'id':this['id'],'title':_0x20403a});}[_0x41cbe1(0x16c)](_0x16e577,_0x55dbd3){const _0x37b9b8=_0x41cbe1,_0x1cf99f=new _0x305c6e(_0x16e577);return _0x1cf99f[_0x37b9b8(0x196)]({'icon':_0x1e9e73,'withText':!0x1,'tooltip':_0x1c3e9a(_0x16e577,_0x37b9b8(0x197))}),_0x1cf99f[_0x37b9b8(0x176)]({'attributes':{'class':[_0x37b9b8(0x19d)]}}),_0x1cf99f['on'](_0x37b9b8(0x168),()=>{const _0x2bb4f6=_0x37b9b8;this[_0x2bb4f6(0x1a0)]=!0x1,_0x55dbd3[_0x2bb4f6(0x1a6)]=this[_0x2bb4f6(0x151)][_0x2bb4f6(0x173)]||'',this[_0x2bb4f6(0x18b)](_0x2bb4f6(0x154));}),_0x1cf99f;}[_0x41cbe1(0x17d)](){const _0x15bc91=_0x41cbe1,_0x6dbcea=new _0x376cd1(_0x15bc91(0x1a7));return _0x6dbcea[_0x15bc91(0x17e)]=!0x0,_0x6dbcea;}[_0x41cbe1(0x156)](_0x443358){const _0x3c3451=_0x41cbe1;return this[_0x3c3451(0x151)]&&_0x3c3451(0x14b)==typeof this[_0x3c3451(0x151)][_0x3c3451(0x173)]&&this[_0x3c3451(0x151)][_0x3c3451(0x173)][_0x3c3451(0x14e)](_0x443358)?{'title':!0x0}:null;}[_0x41cbe1(0x169)](_0xadff0){const _0x184d4e=_0x41cbe1;this[_0x184d4e(0x151)][_0x184d4e(0x169)](_0xadff0);}}