@ckeditor/ckeditor5-ai 47.3.0-alpha.5 → 47.3.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/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/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.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/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aicore/aiconnector.js +1 -1
  221. package/src/aicore/aiediting.js +1 -1
  222. package/src/aicore/model/aicapabilities.js +1 -1
  223. package/src/aicore/model/aicontext.js +1 -1
  224. package/src/aicore/model/aiinteraction.js +1 -1
  225. package/src/aicore/model/aimodels.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/aicore/utils/scrollmanager.js +1 -1
  248. package/src/aieditorintegration/aieditorintegration.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  251. package/src/aiquickactions/aiquickactions.js +1 -1
  252. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  253. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  254. package/src/aiquickactions/aiquickactionsui.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  259. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  260. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  261. package/src/aireviewmode/aireviewmode.js +1 -1
  262. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  263. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  264. package/src/aireviewmode/aireviewmodeui.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  267. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  270. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  271. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  272. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  273. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  285. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  286. package/src/aitabs/aitabs.js +1 -1
  287. package/src/aitabs/aitabsmainview.js +1 -1
  288. package/src/aitabs/tabs/aitabsview.js +1 -1
  289. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  290. package/src/aitabs/tabs/tabpanelview.js +1 -1
  291. package/src/errors.js +1 -1
  292. package/src/errorsmap.js +1 -1
  293. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5dfaec=_0x2951;(function(_0x2f5398,_0x415560){const _0x199602=_0x2951,_0x10eaba=_0x2f5398();while(!![]){try{const _0x34c3d8=-parseInt(_0x199602(0x111))/0x1*(parseInt(_0x199602(0x14c))/0x2)+parseInt(_0x199602(0x136))/0x3*(-parseInt(_0x199602(0x109))/0x4)+-parseInt(_0x199602(0x12e))/0x5+parseInt(_0x199602(0x112))/0x6+parseInt(_0x199602(0x13c))/0x7+-parseInt(_0x199602(0x135))/0x8*(-parseInt(_0x199602(0xf7))/0x9)+parseInt(_0x199602(0x144))/0xa*(parseInt(_0x199602(0x139))/0xb);if(_0x34c3d8===_0x415560)break;else _0x10eaba['push'](_0x10eaba['shift']());}catch(_0x24b556){_0x10eaba['push'](_0x10eaba['shift']());}}}(_0x55db,0xd10de));import{KeystrokeHandler as _0x131e69}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x54f1ab,BodyCollection as _0x2dd432,ButtonView as _0x3ea550,clickOutsideHandler as _0x23fe87,ListItemButtonView as _0x4d91bb,ListItemView as _0x519209,ListView as _0x204097,SplitButtonView as _0xbabbec,UIModel as _0x482d43,View as _0x509bf5}from'ckeditor5/src/ui.js';import{IconCheck as _0x2e5be1,IconAddComment as _0x212d0b,IconDocumentWithLoupe as _0xd653f}from'ckeditor5/src/icons.js';import{getTranslation as _0x2db328}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x5dfaec(0x140),_0x5dfaec(0xfa),_0x5dfaec(0x114)];export class AIChatFeedSuggestionItemActionsView extends _0x509bf5{[_0x5dfaec(0x14d)];[_0x5dfaec(0x10f)];[_0x5dfaec(0x11a)];[_0x5dfaec(0x100)];[_0x5dfaec(0xf5)];[_0x5dfaec(0x14b)]=0x1;[_0x5dfaec(0x147)];[_0x5dfaec(0x10a)];[_0x5dfaec(0x11c)]=!0x0;constructor(_0x35c302,_0x4b8d1a){const _0x93a79=_0x5dfaec;super(_0x35c302),this[_0x93a79(0x147)]=_0x4b8d1a||[...AI_REPLY_ACTIONS],this[_0x93a79(0x10a)]=[...this[_0x93a79(0x147)]];const _0x1f87d5=this[_0x93a79(0x13e)];this[_0x93a79(0xf8)](_0x93a79(0x145),!0x0),this[_0x93a79(0xf8)](_0x93a79(0xf0),!0x0),this[_0x93a79(0xf8)](_0x93a79(0x13a),!0x1),this[_0x93a79(0x11a)]=new _0x482d43({'label':Pn(_0x93a79(0x140),_0x35c302,this[_0x93a79(0x14b)]),'icon':_0x2e5be1,'withText':!0x0,'type':_0x93a79(0xfd),'actionName':_0x93a79(0x140)}),this[_0x93a79(0x100)]=new _0x482d43({'label':Pn(_0x93a79(0x114),_0x35c302,this[_0x93a79(0x14b)]),'icon':_0xd653f,'withText':!0x0,'type':_0x93a79(0xfd),'actionName':_0x93a79(0x114)}),this[_0x93a79(0xf5)]=new _0x482d43({'label':Pn(_0x93a79(0xfa),_0x35c302,this[_0x93a79(0x14b)]),'icon':_0x212d0b,'withText':!0x0,'type':_0x93a79(0xfd),'actionName':_0x93a79(0xfa)}),this[_0x93a79(0x14d)]=this[_0x93a79(0x12a)](_0x35c302),this[_0x93a79(0x10f)]=this[_0x93a79(0x124)](),this[_0x93a79(0x14d)]&&this[_0x93a79(0x10f)][_0x93a79(0x123)](this[_0x93a79(0x14d)]),this[_0x93a79(0xfc)]({'tag':_0x93a79(0xf4),'attributes':{'class':['ck',_0x93a79(0x116),_0x1f87d5['if'](_0x93a79(0xf0),_0x93a79(0x150),_0x22f607=>!_0x22f607)]},'children':this[_0x93a79(0x10f)]}),this['on'](_0x93a79(0x108),()=>{const _0x414763=_0x93a79;this[_0x414763(0x10a)]=this[_0x414763(0x13a)]?this[_0x414763(0x147)][_0x414763(0xf3)](_0xb57a13=>_0x414763(0x140)!==_0xb57a13):[...this[_0x414763(0x147)]],this[_0x414763(0x12f)](_0x35c302);});}[_0x5dfaec(0x12f)](_0x609e0c){const _0x46ded1=_0x5dfaec;this[_0x46ded1(0x14d)]&&this[_0x46ded1(0x10f)][_0x46ded1(0x133)](this[_0x46ded1(0x14d)])&&(this[_0x46ded1(0x10f)][_0x46ded1(0x129)](this[_0x46ded1(0x14d)]),this[_0x46ded1(0x14d)][_0x46ded1(0x102)]()),this[_0x46ded1(0x14d)]=this[_0x46ded1(0x12a)](_0x609e0c),this[_0x46ded1(0x14d)]&&this[_0x46ded1(0x10f)][_0x46ded1(0x123)](this[_0x46ded1(0x14d)]);}[_0x5dfaec(0x12a)](_0xf74bd3){const _0x59e188=_0x5dfaec;if(0x0==this[_0x59e188(0x10a)][_0x59e188(0x126)])return null;const _0x10ca40=0x1===this[_0x59e188(0x10a)][_0x59e188(0x126)]?this[_0x59e188(0x10c)](_0xf74bd3):this[_0x59e188(0x122)](_0xf74bd3),_0x391ccf=this[_0x59e188(0x11c)]?'':_0x59e188(0x11e);_0x10ca40[_0x59e188(0xf8)]({'label':Pn(this[_0x59e188(0x10a)][0x0],_0xf74bd3,this[_0x59e188(0x14b)]),'tooltip':Hn(this[_0x59e188(0x10a)][0x0],_0xf74bd3,this[_0x59e188(0x14b)]),'withText':!0x0,'class':_0x59e188(0x132)+_0x391ccf});for(const _0x3f963f of this[_0x59e188(0x10a)])_0x10ca40['on'](_0x3f963f,()=>{const _0x33c79a=_0x59e188;this[_0x33c79a(0x128)](_0x3f963f);});return this[_0x59e188(0x11c)]=!0x1,_0x10ca40;}[_0x5dfaec(0x10c)](_0x4b7a8b){const _0x3bc781=_0x5dfaec,_0x462dd8=new _0x3ea550(_0x4b7a8b);return _0x462dd8[_0x3bc781(0xf8)]({'class':_0x3bc781(0xfb),'withText':!0x0}),_0x462dd8['on'](_0x3bc781(0x134),()=>{const _0x31360e=_0x3bc781;_0x462dd8[_0x31360e(0x128)](this[_0x31360e(0x10a)][0x0]);}),_0x462dd8;}[_0x5dfaec(0x122)](_0x4b5111){const _0xcea118=_0x5dfaec,_0x5b1d69=new Nn(_0x4b5111,{'listItemModels':this[_0xcea118(0x10a)][_0xcea118(0x149)](_0x431e6f=>{const _0x4948f3=_0xcea118;switch(_0x431e6f){case _0x4948f3(0x140):return this[_0x4948f3(0x11a)];case _0x4948f3(0x114):return this[_0x4948f3(0x100)];case _0x4948f3(0xfa):return this[_0x4948f3(0xf5)];}})});return _0x5b1d69[_0xcea118(0xf8)]({'label':Pn(this[_0xcea118(0x10a)][0x0],_0x4b5111,this[_0xcea118(0x14b)]),'tooltip':Hn(this[_0xcea118(0x10a)][0x0],_0x4b5111,this[_0xcea118(0x14b)]),'withText':!0x0,'class':_0xcea118(0x116),'balloonPanelClass':_0xcea118(0x13d)}),_0x5b1d69[_0xcea118(0x125)](_0xcea118(0x145))['to'](this),_0x5b1d69;}[_0x5dfaec(0x13b)](_0x25df63){const _0x311216=_0x5dfaec,_0x3e97fc=this[_0x311216(0x10b)];this[_0x311216(0x14b)]=_0x25df63||this[_0x311216(0x14b)],this[_0x311216(0x14d)][_0x311216(0xf8)]({'label':Pn(this[_0x311216(0x10a)][0x0],_0x3e97fc,this[_0x311216(0x14b)]),'tooltip':Hn(this[_0x311216(0x10a)][0x0],_0x3e97fc,this[_0x311216(0x14b)])}),this[_0x311216(0x11a)][_0x311216(0x142)]=Pn(_0x311216(0x140),_0x3e97fc,this[_0x311216(0x14b)]),this[_0x311216(0x100)][_0x311216(0x142)]=Pn(_0x311216(0x114),_0x3e97fc,this[_0x311216(0x14b)]),this[_0x311216(0xf5)][_0x311216(0x142)]=Pn(_0x311216(0xfa),_0x3e97fc,this[_0x311216(0x14b)]);}}class Nn extends _0xbabbec{[_0x5dfaec(0x106)];[_0x5dfaec(0x103)];[_0x5dfaec(0x146)];[_0x5dfaec(0xff)];constructor(_0x4a19f0,_0x5ab850){const _0x7cba03=_0x5dfaec;super(_0x4a19f0),this[_0x7cba03(0x103)]=new _0x54f1ab(this[_0x7cba03(0x10b)]),this[_0x7cba03(0x106)]=new _0x2dd432(this[_0x7cba03(0x10b)]),this[_0x7cba03(0x106)][_0x7cba03(0x11b)](),this[_0x7cba03(0xf8)](_0x7cba03(0x14a),''),this[_0x7cba03(0x103)][_0x7cba03(0x125)](_0x7cba03(0x13f))['to'](this,_0x7cba03(0x14a)),this[_0x7cba03(0x146)]=this[_0x7cba03(0x137)](_0x5ab850[_0x7cba03(0x138)][_0x7cba03(0x118)](0x1)),this[_0x7cba03(0x106)][_0x7cba03(0x123)](this[_0x7cba03(0x103)]),this[_0x7cba03(0x103)][_0x7cba03(0x131)][_0x7cba03(0x123)](this[_0x7cba03(0x146)]),this[_0x7cba03(0x117)][_0x7cba03(0xfe)](_0x7cba03(0xf6)),this[_0x7cba03(0x117)][_0x7cba03(0xf8)](_0x7cba03(0xf6),_0x2db328(this[_0x7cba03(0x10b)],_0x7cba03(0xf2))),this[_0x7cba03(0x107)](),this['on'](_0x7cba03(0x134),()=>{const _0x5e63cb=_0x7cba03,_0x2462fc=_0x5ab850[_0x5e63cb(0x138)][0x0][_0x5e63cb(0x101)];this[_0x5e63cb(0x128)](_0x2462fc),this[_0x5e63cb(0x103)][_0x5e63cb(0x12d)](),this[_0x5e63cb(0x117)][_0x5e63cb(0x127)]();}),this['on'](_0x7cba03(0x143),()=>{const _0x497fb6=_0x7cba03;this[_0x497fb6(0x103)][_0x497fb6(0xf0)]?(this[_0x497fb6(0x103)][_0x497fb6(0x12d)](),this[_0x497fb6(0x117)][_0x497fb6(0x127)]()):(this[_0x497fb6(0x103)][_0x497fb6(0x113)]({'target':this[_0x497fb6(0x12c)],'positions':[_0x497fb6(0x141)===this[_0x497fb6(0x10b)][_0x497fb6(0x121)]?Gn:yn]}),this[_0x497fb6(0x146)][_0x497fb6(0x127)]());}),_0x23fe87({'emitter':this[_0x7cba03(0x103)],'callback':()=>{const _0x254fd2=_0x7cba03;this[_0x254fd2(0x103)][_0x254fd2(0x12d)]();},'activator':()=>this[_0x7cba03(0x103)][_0x7cba03(0xf0)],'contextElements':()=>[this[_0x7cba03(0x12c)],this[_0x7cba03(0x103)][_0x7cba03(0x12c)]]});}[_0x5dfaec(0x137)](_0x4de567){const _0x1fdc93=_0x5dfaec,_0x1ba07d=this[_0x1fdc93(0x10b)],_0x1e801e=new _0x204097(_0x1ba07d);for(const _0x14a896 of _0x4de567){const _0x5e77bd=new _0x519209(_0x1ba07d),_0x261a80=new _0x4d91bb(_0x1ba07d);_0x261a80[_0x1fdc93(0x125)](...Object[_0x1fdc93(0x10e)](_0x14a896))['to'](_0x14a896),_0x261a80[_0x1fdc93(0xf9)](_0x1fdc93(0x134))['to'](_0x1e801e),_0x5e77bd[_0x1fdc93(0x10f)][_0x1fdc93(0x123)](_0x261a80),_0x1e801e[_0x1fdc93(0x105)][_0x1fdc93(0x123)](_0x5e77bd);}return _0x1e801e[_0x1fdc93(0x105)][_0x1fdc93(0xf9)](_0x1fdc93(0x134))['to'](this),_0x1e801e['on'](_0x1fdc93(0x134),_0x2eadab=>{const _0x3ac723=_0x1fdc93,_0x25bff7=_0x2eadab[_0x3ac723(0x14f)];this[_0x3ac723(0x128)](_0x25bff7[_0x3ac723(0x101)]),this[_0x3ac723(0x103)][_0x3ac723(0x12d)](),this[_0x3ac723(0x117)][_0x3ac723(0x127)]();}),_0x1e801e;}[_0x5dfaec(0x107)](){const _0x3acc60=_0x5dfaec;this[_0x3acc60(0xff)]=new _0x131e69(),this[_0x3acc60(0xff)][_0x3acc60(0x130)](this[_0x3acc60(0x103)][_0x3acc60(0x12c)]),this[_0x3acc60(0xff)][_0x3acc60(0xf8)](_0x3acc60(0x11d),(_0x9371bc,_0x4c8148)=>{const _0xdfc135=_0x3acc60;this[_0xdfc135(0x103)][_0xdfc135(0x12d)](),this[_0xdfc135(0x117)][_0xdfc135(0x127)](),_0x4c8148();});}[_0x5dfaec(0x102)](){const _0x3d19e5=_0x5dfaec;super[_0x3d19e5(0x102)](),this[_0x3d19e5(0xff)][_0x3d19e5(0x102)](),this[_0x3d19e5(0x103)][_0x3d19e5(0x102)](),this[_0x3d19e5(0x106)][_0x3d19e5(0x104)]();}}function Gn(_0x25b191){const _0x1f0bb1=_0x5dfaec;return{'top':_0x25b191[_0x1f0bb1(0x14e)],'left':_0x25b191[_0x1f0bb1(0x119)],'name':_0x1f0bb1(0x115),'config':{'withArrow':!0x1}};}function _0x2951(_0x127955,_0x569a5a){const _0x55dbb0=_0x55db();return _0x2951=function(_0x2951f0,_0x52eac6){_0x2951f0=_0x2951f0-0xf0;let _0x481a14=_0x55dbb0[_0x2951f0];return _0x481a14;},_0x2951(_0x127955,_0x569a5a);}function yn(_0x38a1f1,_0x4ccc69){const _0x25a6e6=_0x5dfaec;return{'top':_0x38a1f1[_0x25a6e6(0x14e)],'left':_0x38a1f1[_0x25a6e6(0x119)]-(_0x4ccc69[_0x25a6e6(0x148)]-_0x38a1f1[_0x25a6e6(0x148)]),'name':_0x25a6e6(0x115),'config':{'withArrow':!0x1}};}function _0x55db(){const _0x55490e=['width','map','balloonPanelClass','_partsCount','70358AwatGY','actionsButton','bottom','source','ck-hidden','isVisible','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','filter','div','insertSuggestionModel','tooltip','2574AbnTqA','set','delegate','insertSuggestion','ck-ai-button-primary','setTemplate','button','unbind','keystrokeHandler','showChangeInTextModel','actionName','destroy','balloonPanelView','detachFromDom','items','bodyCollection','_setUpKeystrokes','change:isTrackChangesOn','60UcygxP','_dropdownCurrentConfig','locale','_createActionsButton','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','keys','children','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','47ZAypHd','8030796hxRvnu','pin','showChangeInText','arrowless','ck-ai-chat__feed__ai-suggestion__actions','arrowView','slice','left','applySuggestionModel','attachToDom','_firstRender','esc','ck-ai-chat__feed__ai-suggestion__actions--no-animation','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','uiLanguageDirection','_createActionsDropdown','add','createCollection','bind','length','focus','fire','remove','_createActionsDropdownOrButton','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','element','hide','3696170ltpJpI','_updateDropdownActions','listenTo','content','ck-ai-chat__feed__ai-suggestion__actions\x20','has','execute','3736vgVEVo','337959ieECyM','_setUpList','listItemModels','26433ZAVnQG','isTrackChangesOn','updateLabels','7429079rrrkSS','ck-ai-chat__feed__ai-suggestion__actions__balloon','bindTemplate','class','applySuggestion','ltr','label','open','10010kpmCwf','isEnabled','listView','_dropdownOriginalConfig'];_0x55db=function(){return _0x55490e;};return _0x55db();}function Pn(_0x280a9f,_0x5b2b3a,_0x2775ec){const _0x5d9a9e=_0x5dfaec;switch(_0x280a9f){case _0x5d9a9e(0x140):return _0x2db328(_0x5b2b3a,_0x5d9a9e(0x12b),_0x2775ec);case _0x5d9a9e(0x114):return _0x2db328(_0x5b2b3a,_0x5d9a9e(0x120),_0x2775ec);case _0x5d9a9e(0xfa):return _0x2db328(_0x5b2b3a,_0x5d9a9e(0x11f),_0x2775ec);}}function Hn(_0x55b0e0,_0x2db2f2,_0x48fdfe){const _0x472c3c=_0x5dfaec;switch(_0x55b0e0){case _0x472c3c(0x140):return _0x2db328(_0x2db2f2,_0x472c3c(0xf1),_0x48fdfe);case _0x472c3c(0x114):return _0x2db328(_0x2db2f2,_0x472c3c(0x10d),_0x48fdfe);case _0x472c3c(0xfa):return _0x2db328(_0x2db2f2,_0x472c3c(0x110),_0x48fdfe);}}
23
+ const _0x3b76af=_0x8aff;(function(_0x4aaa1b,_0x56ca12){const _0x2b2a18=_0x8aff,_0x2c089a=_0x4aaa1b();while(!![]){try{const _0x3f891a=parseInt(_0x2b2a18(0xe1))/0x1+-parseInt(_0x2b2a18(0xb2))/0x2+-parseInt(_0x2b2a18(0xd3))/0x3*(parseInt(_0x2b2a18(0xd1))/0x4)+parseInt(_0x2b2a18(0xf1))/0x5*(-parseInt(_0x2b2a18(0xba))/0x6)+-parseInt(_0x2b2a18(0xce))/0x7*(parseInt(_0x2b2a18(0x10b))/0x8)+-parseInt(_0x2b2a18(0xe8))/0x9*(-parseInt(_0x2b2a18(0xf3))/0xa)+parseInt(_0x2b2a18(0xda))/0xb;if(_0x3f891a===_0x56ca12)break;else _0x2c089a['push'](_0x2c089a['shift']());}catch(_0x4f8d90){_0x2c089a['push'](_0x2c089a['shift']());}}}(_0x5c98,0x25876));import{KeystrokeHandler as _0x4f8d8b}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x168e75,BodyCollection as _0x356dc4,ButtonView as _0x2dc783,clickOutsideHandler as _0x49f14b,ListItemButtonView as _0x1296cd,ListItemView as _0x3b50ba,ListView as _0x568925,SplitButtonView as _0x180272,UIModel as _0x589a68,View as _0x53665a}from'ckeditor5/src/ui.js';import{IconCheck as _0x1a072e,IconAddComment as _0x3ef96f,IconDocumentWithLoupe as _0x4c98a8}from'ckeditor5/src/icons.js';import{getTranslation as _0x5a69ab}from'../../../aicore/utils/common-translations.js';function _0x5c98(){const _0x249994=['listenTo','ck-ai-chat__feed__ai-suggestion__actions\x20','left','isEnabled','applySuggestion','esc','focus','5435aQpQYN','arrowView','1030XXMScX','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','actionsButton','delegate','attachToDom','_firstRender','arrowless','applySuggestionModel','children','filter','ltr','button','bodyCollection','slice','showChangeInTextModel','listView','add','_setUpList','destroy','bind','width','_dropdownOriginalConfig','remove','hide','66008FTUoeE','unbind','tooltip','bottom','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','items','showChangeInText','set','352134dlsQPH','uiLanguageDirection','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','bindTemplate','_createActionsDropdownOrButton','fire','_dropdownCurrentConfig','isVisible','6vnZkBf','_createActionsDropdown','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','keys','detachFromDom','createCollection','div','_updateDropdownActions','has','balloonPanelView','locale','keystrokeHandler','updateLabels','_setUpKeystrokes','execute','ck-hidden','actionName','label','ck-ai-chat__feed__ai-suggestion__actions__balloon','element','98RtaKJK','_createActionsButton','_partsCount','142728tMLqga','ck-ai-chat__feed__ai-suggestion__actions','18rxmDVS','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','ck-ai-chat__feed__ai-suggestion__actions--no-animation','balloonPanelClass','setTemplate','listItemModels','source','1869736DjMPpA','insertSuggestionModel','length','insertSuggestion','ck-ai-button-primary','open','content','300055tktEYh','pin','change:isTrackChangesOn','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','class','map','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','16641jgpwHv','isTrackChangesOn'];_0x5c98=function(){return _0x249994;};return _0x5c98();}export const AI_REPLY_ACTIONS=[_0x3b76af(0xee),_0x3b76af(0xdd),_0x3b76af(0xb0)];export class AIChatFeedSuggestionItemActionsView extends _0x53665a{[_0x3b76af(0xf5)];[_0x3b76af(0xfb)];[_0x3b76af(0xfa)];[_0x3b76af(0x101)];[_0x3b76af(0xdb)];[_0x3b76af(0xd0)]=0x1;[_0x3b76af(0x108)];[_0x3b76af(0xb8)];[_0x3b76af(0xf8)]=!0x0;constructor(_0x7988cc,_0xad426c){const _0x207ce2=_0x3b76af;super(_0x7988cc),this[_0x207ce2(0x108)]=_0xad426c||[...AI_REPLY_ACTIONS],this[_0x207ce2(0xb8)]=[...this[_0x207ce2(0x108)]];const _0x366a3d=this[_0x207ce2(0xb5)];this[_0x207ce2(0xb1)](_0x207ce2(0xed),!0x0),this[_0x207ce2(0xb1)](_0x207ce2(0xb9),!0x0),this[_0x207ce2(0xb1)](_0x207ce2(0xe9),!0x1),this[_0x207ce2(0xfa)]=new _0x589a68({'label':In(_0x207ce2(0xee),_0x7988cc,this[_0x207ce2(0xd0)]),'icon':_0x1a072e,'withText':!0x0,'type':_0x207ce2(0xfe),'actionName':_0x207ce2(0xee)}),this[_0x207ce2(0x101)]=new _0x589a68({'label':In(_0x207ce2(0xb0),_0x7988cc,this[_0x207ce2(0xd0)]),'icon':_0x4c98a8,'withText':!0x0,'type':_0x207ce2(0xfe),'actionName':_0x207ce2(0xb0)}),this[_0x207ce2(0xdb)]=new _0x589a68({'label':In(_0x207ce2(0xdd),_0x7988cc,this[_0x207ce2(0xd0)]),'icon':_0x3ef96f,'withText':!0x0,'type':_0x207ce2(0xfe),'actionName':_0x207ce2(0xdd)}),this[_0x207ce2(0xf5)]=this[_0x207ce2(0xb6)](_0x7988cc),this[_0x207ce2(0xfb)]=this[_0x207ce2(0xbf)](),this[_0x207ce2(0xf5)]&&this[_0x207ce2(0xfb)][_0x207ce2(0x103)](this[_0x207ce2(0xf5)]),this[_0x207ce2(0xd7)]({'tag':_0x207ce2(0xc0),'attributes':{'class':['ck',_0x207ce2(0xd2),_0x366a3d['if'](_0x207ce2(0xb9),_0x207ce2(0xc9),_0x4ada3c=>!_0x4ada3c)]},'children':this[_0x207ce2(0xfb)]}),this['on'](_0x207ce2(0xe3),()=>{const _0x229dad=_0x207ce2;this[_0x229dad(0xb8)]=this[_0x229dad(0xe9)]?this[_0x229dad(0x108)][_0x229dad(0xfc)](_0x12aa56=>_0x229dad(0xee)!==_0x12aa56):[...this[_0x229dad(0x108)]],this[_0x229dad(0xc1)](_0x7988cc);});}[_0x3b76af(0xc1)](_0x2cf1f9){const _0x50a18c=_0x3b76af;this[_0x50a18c(0xf5)]&&this[_0x50a18c(0xfb)][_0x50a18c(0xc2)](this[_0x50a18c(0xf5)])&&(this[_0x50a18c(0xfb)][_0x50a18c(0x109)](this[_0x50a18c(0xf5)]),this[_0x50a18c(0xf5)][_0x50a18c(0x105)]()),this[_0x50a18c(0xf5)]=this[_0x50a18c(0xb6)](_0x2cf1f9),this[_0x50a18c(0xf5)]&&this[_0x50a18c(0xfb)][_0x50a18c(0x103)](this[_0x50a18c(0xf5)]);}[_0x3b76af(0xb6)](_0x3502a2){const _0x9e8c90=_0x3b76af;if(0x0==this[_0x9e8c90(0xb8)][_0x9e8c90(0xdc)])return null;const _0x3278ae=0x1===this[_0x9e8c90(0xb8)][_0x9e8c90(0xdc)]?this[_0x9e8c90(0xcf)](_0x3502a2):this[_0x9e8c90(0xbb)](_0x3502a2),_0x3f3325=this[_0x9e8c90(0xf8)]?'':_0x9e8c90(0xd5);_0x3278ae[_0x9e8c90(0xb1)]({'label':In(this[_0x9e8c90(0xb8)][0x0],_0x3502a2,this[_0x9e8c90(0xd0)]),'tooltip':Sn(this[_0x9e8c90(0xb8)][0x0],_0x3502a2,this[_0x9e8c90(0xd0)]),'withText':!0x0,'class':_0x9e8c90(0xeb)+_0x3f3325});for(const _0x138b12 of this[_0x9e8c90(0xb8)])_0x3278ae['on'](_0x138b12,()=>{const _0x1861d8=_0x9e8c90;this[_0x1861d8(0xb7)](_0x138b12);});return this[_0x9e8c90(0xf8)]=!0x1,_0x3278ae;}[_0x3b76af(0xcf)](_0x2e3f44){const _0x4e9520=_0x3b76af,_0x4cb771=new _0x2dc783(_0x2e3f44);return _0x4cb771[_0x4e9520(0xb1)]({'class':_0x4e9520(0xde),'withText':!0x0}),_0x4cb771['on'](_0x4e9520(0xc8),()=>{const _0x5a1c4f=_0x4e9520;_0x4cb771[_0x5a1c4f(0xb7)](this[_0x5a1c4f(0xb8)][0x0]);}),_0x4cb771;}[_0x3b76af(0xbb)](_0x2bb6ee){const _0x356329=_0x3b76af,_0x4c2e9c=new gn(_0x2bb6ee,{'listItemModels':this[_0x356329(0xb8)][_0x356329(0xe6)](_0x2a8cd8=>{const _0x1cb262=_0x356329;switch(_0x2a8cd8){case _0x1cb262(0xee):return this[_0x1cb262(0xfa)];case _0x1cb262(0xb0):return this[_0x1cb262(0x101)];case _0x1cb262(0xdd):return this[_0x1cb262(0xdb)];}})});return _0x4c2e9c[_0x356329(0xb1)]({'label':In(this[_0x356329(0xb8)][0x0],_0x2bb6ee,this[_0x356329(0xd0)]),'tooltip':Sn(this[_0x356329(0xb8)][0x0],_0x2bb6ee,this[_0x356329(0xd0)]),'withText':!0x0,'class':_0x356329(0xd2),'balloonPanelClass':_0x356329(0xcc)}),_0x4c2e9c[_0x356329(0x106)](_0x356329(0xed))['to'](this),_0x4c2e9c;}[_0x3b76af(0xc6)](_0x26afbb){const _0x1b5574=_0x3b76af,_0x411367=this[_0x1b5574(0xc4)];this[_0x1b5574(0xd0)]=_0x26afbb||this[_0x1b5574(0xd0)],this[_0x1b5574(0xf5)][_0x1b5574(0xb1)]({'label':In(this[_0x1b5574(0xb8)][0x0],_0x411367,this[_0x1b5574(0xd0)]),'tooltip':Sn(this[_0x1b5574(0xb8)][0x0],_0x411367,this[_0x1b5574(0xd0)])}),this[_0x1b5574(0xfa)][_0x1b5574(0xcb)]=In(_0x1b5574(0xee),_0x411367,this[_0x1b5574(0xd0)]),this[_0x1b5574(0x101)][_0x1b5574(0xcb)]=In(_0x1b5574(0xb0),_0x411367,this[_0x1b5574(0xd0)]),this[_0x1b5574(0xdb)][_0x1b5574(0xcb)]=In(_0x1b5574(0xdd),_0x411367,this[_0x1b5574(0xd0)]);}}function _0x8aff(_0x2ce37e,_0x96832){const _0x5c9864=_0x5c98();return _0x8aff=function(_0x8aff11,_0x42a457){_0x8aff11=_0x8aff11-0xaf;let _0x1b6f4a=_0x5c9864[_0x8aff11];return _0x1b6f4a;},_0x8aff(_0x2ce37e,_0x96832);}class gn extends _0x180272{[_0x3b76af(0xff)];[_0x3b76af(0xc3)];[_0x3b76af(0x102)];[_0x3b76af(0xc5)];constructor(_0x5aa784,_0x3d9d13){const _0x1c87e2=_0x3b76af;super(_0x5aa784),this[_0x1c87e2(0xc3)]=new _0x168e75(this[_0x1c87e2(0xc4)]),this[_0x1c87e2(0xff)]=new _0x356dc4(this[_0x1c87e2(0xc4)]),this[_0x1c87e2(0xff)][_0x1c87e2(0xf7)](),this[_0x1c87e2(0xb1)](_0x1c87e2(0xd6),''),this[_0x1c87e2(0xc3)][_0x1c87e2(0x106)](_0x1c87e2(0xe5))['to'](this,_0x1c87e2(0xd6)),this[_0x1c87e2(0x102)]=this[_0x1c87e2(0x104)](_0x3d9d13[_0x1c87e2(0xd8)][_0x1c87e2(0x100)](0x1)),this[_0x1c87e2(0xff)][_0x1c87e2(0x103)](this[_0x1c87e2(0xc3)]),this[_0x1c87e2(0xc3)][_0x1c87e2(0xe0)][_0x1c87e2(0x103)](this[_0x1c87e2(0x102)]),this[_0x1c87e2(0xf2)][_0x1c87e2(0x10c)](_0x1c87e2(0x10d)),this[_0x1c87e2(0xf2)][_0x1c87e2(0xb1)](_0x1c87e2(0x10d),_0x5a69ab(this[_0x1c87e2(0xc4)],_0x1c87e2(0xd4))),this[_0x1c87e2(0xc7)](),this['on'](_0x1c87e2(0xc8),()=>{const _0x4bca28=_0x1c87e2,_0x29e88a=_0x3d9d13[_0x4bca28(0xd8)][0x0][_0x4bca28(0xca)];this[_0x4bca28(0xb7)](_0x29e88a),this[_0x4bca28(0xc3)][_0x4bca28(0x10a)](),this[_0x4bca28(0xf2)][_0x4bca28(0xf0)]();}),this['on'](_0x1c87e2(0xdf),()=>{const _0x377413=_0x1c87e2;this[_0x377413(0xc3)][_0x377413(0xb9)]?(this[_0x377413(0xc3)][_0x377413(0x10a)](),this[_0x377413(0xf2)][_0x377413(0xf0)]()):(this[_0x377413(0xc3)][_0x377413(0xe2)]({'target':this[_0x377413(0xcd)],'positions':[_0x377413(0xfd)===this[_0x377413(0xc4)][_0x377413(0xb3)]?Tn:pn]}),this[_0x377413(0x102)][_0x377413(0xf0)]());}),_0x49f14b({'emitter':this[_0x1c87e2(0xc3)],'callback':()=>{const _0x1d05ed=_0x1c87e2;this[_0x1d05ed(0xc3)][_0x1d05ed(0x10a)]();},'activator':()=>this[_0x1c87e2(0xc3)][_0x1c87e2(0xb9)],'contextElements':()=>[this[_0x1c87e2(0xcd)],this[_0x1c87e2(0xc3)][_0x1c87e2(0xcd)]]});}[_0x3b76af(0x104)](_0x27759b){const _0x1c46e1=_0x3b76af,_0x2f8833=this[_0x1c46e1(0xc4)],_0x7e18b4=new _0x568925(_0x2f8833);for(const _0x5be1cf of _0x27759b){const _0x451aac=new _0x3b50ba(_0x2f8833),_0x33b0f3=new _0x1296cd(_0x2f8833);_0x33b0f3[_0x1c46e1(0x106)](...Object[_0x1c46e1(0xbd)](_0x5be1cf))['to'](_0x5be1cf),_0x33b0f3[_0x1c46e1(0xf6)](_0x1c46e1(0xc8))['to'](_0x7e18b4),_0x451aac[_0x1c46e1(0xfb)][_0x1c46e1(0x103)](_0x33b0f3),_0x7e18b4[_0x1c46e1(0xaf)][_0x1c46e1(0x103)](_0x451aac);}return _0x7e18b4[_0x1c46e1(0xaf)][_0x1c46e1(0xf6)](_0x1c46e1(0xc8))['to'](this),_0x7e18b4['on'](_0x1c46e1(0xc8),_0x45ef7d=>{const _0x800bf1=_0x1c46e1,_0x4fbd2a=_0x45ef7d[_0x800bf1(0xd9)];this[_0x800bf1(0xb7)](_0x4fbd2a[_0x800bf1(0xca)]),this[_0x800bf1(0xc3)][_0x800bf1(0x10a)](),this[_0x800bf1(0xf2)][_0x800bf1(0xf0)]();}),_0x7e18b4;}[_0x3b76af(0xc7)](){const _0x33d7c7=_0x3b76af;this[_0x33d7c7(0xc5)]=new _0x4f8d8b(),this[_0x33d7c7(0xc5)][_0x33d7c7(0xea)](this[_0x33d7c7(0xc3)][_0x33d7c7(0xcd)]),this[_0x33d7c7(0xc5)][_0x33d7c7(0xb1)](_0x33d7c7(0xef),(_0x46b25c,_0x2acc6d)=>{const _0x428037=_0x33d7c7;this[_0x428037(0xc3)][_0x428037(0x10a)](),this[_0x428037(0xf2)][_0x428037(0xf0)](),_0x2acc6d();});}[_0x3b76af(0x105)](){const _0x319dce=_0x3b76af;super[_0x319dce(0x105)](),this[_0x319dce(0xc5)][_0x319dce(0x105)](),this[_0x319dce(0xc3)][_0x319dce(0x105)](),this[_0x319dce(0xff)][_0x319dce(0xbe)]();}}function Tn(_0x3bde44){const _0x4fef24=_0x3b76af;return{'top':_0x3bde44[_0x4fef24(0x10e)],'left':_0x3bde44[_0x4fef24(0xec)],'name':_0x4fef24(0xf9),'config':{'withArrow':!0x1}};}function pn(_0x2c42af,_0x352839){const _0x173be5=_0x3b76af;return{'top':_0x2c42af[_0x173be5(0x10e)],'left':_0x2c42af[_0x173be5(0xec)]-(_0x352839[_0x173be5(0x107)]-_0x2c42af[_0x173be5(0x107)]),'name':_0x173be5(0xf9),'config':{'withArrow':!0x1}};}function In(_0x69a9d6,_0x28844a,_0x3d1c24){const _0x496f83=_0x3b76af;switch(_0x69a9d6){case _0x496f83(0xee):return _0x5a69ab(_0x28844a,_0x496f83(0xe4),_0x3d1c24);case _0x496f83(0xb0):return _0x5a69ab(_0x28844a,_0x496f83(0xf4),_0x3d1c24);case _0x496f83(0xdd):return _0x5a69ab(_0x28844a,_0x496f83(0xe7),_0x3d1c24);}}function Sn(_0x35cc06,_0x546e97,_0x250986){const _0x1d2e47=_0x3b76af;switch(_0x35cc06){case _0x1d2e47(0xee):return _0x5a69ab(_0x546e97,_0x1d2e47(0xbc),_0x250986);case _0x1d2e47(0xb0):return _0x5a69ab(_0x546e97,_0x1d2e47(0x10f),_0x250986);case _0x1d2e47(0xdd):return _0x5a69ab(_0x546e97,_0x1d2e47(0xb4),_0x250986);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x313f2d=_0x27b4;function _0x27b4(_0x335829,_0x6bfe80){var _0x2acb0c=_0x2acb();return _0x27b4=function(_0x27b4e3,_0x5cc843){_0x27b4e3=_0x27b4e3-0xa5;var _0x3f439e=_0x2acb0c[_0x27b4e3];return _0x3f439e;},_0x27b4(_0x335829,_0x6bfe80);}(function(_0x1a86be,_0x37406a){var _0x244d32=_0x27b4,_0x2bce22=_0x1a86be();while(!![]){try{var _0x5ba130=parseInt(_0x244d32(0xbf))/0x1*(parseInt(_0x244d32(0xae))/0x2)+-parseInt(_0x244d32(0xca))/0x3*(parseInt(_0x244d32(0xc2))/0x4)+-parseInt(_0x244d32(0xcd))/0x5+parseInt(_0x244d32(0xc5))/0x6+parseInt(_0x244d32(0xc3))/0x7+-parseInt(_0x244d32(0xab))/0x8*(-parseInt(_0x244d32(0xad))/0x9)+parseInt(_0x244d32(0xb4))/0xa*(-parseInt(_0x244d32(0xc0))/0xb);if(_0x5ba130===_0x37406a)break;else _0x2bce22['push'](_0x2bce22['shift']());}catch(_0x50a79d){_0x2bce22['push'](_0x2bce22['shift']());}}}(_0x2acb,0xcb022));import{AIChatFeedItemView as _0x593ecd}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x3c3ce1}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x16e17f}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x593ecd{[_0x313f2d(0xc1)];[_0x313f2d(0xb7)];constructor(_0x249f32,_0xd670ac){var _0x3c6c20=_0x313f2d;super(_0xd670ac),this[_0x3c6c20(0xd1)](_0x3c6c20(0xaf),!0x1),this[_0x3c6c20(0xc1)]=new _0x3c3ce1(_0x249f32,{'showDiff':_0xd670ac[_0x3c6c20(0xcc)],'areActionsDisabled':_0xd670ac[_0x3c6c20(0xb6)],'availableActions':_0xd670ac[_0x3c6c20(0xa9)]}),this[_0x3c6c20(0xc1)]['on'](_0x3c6c20(0xc9),(_0x26e833,_0x559c31)=>{var _0x1c6358=_0x3c6c20;this[_0x1c6358(0xac)](_0x1c6358(0xc9),{'replyId':this[_0x1c6358(0xcb)]['id'],'showDiff':_0x559c31[_0x1c6358(0xcc)]});}),this[_0x3c6c20(0xc1)]['on'](_0x3c6c20(0xa8),()=>{var _0x133f16=_0x3c6c20;this[_0x133f16(0xac)](_0x133f16(0xa8),{'replyId':this[_0x133f16(0xcb)]['id']});}),this[_0x3c6c20(0xc1)]['on'](_0x3c6c20(0xa6),()=>{var _0x246097=_0x3c6c20;this[_0x246097(0xac)](_0x246097(0xa6),{'replyId':this[_0x246097(0xcb)]['id']});}),this[_0x3c6c20(0xc1)]['on'](_0x3c6c20(0xb1),(_0x51cb40,{index:_0x506d34})=>{var _0x1816ba=_0x3c6c20;this[_0x1816ba(0xac)](_0x1816ba(0xb1),{'replyId':this[_0x1816ba(0xcb)]['id'],'partIndex':_0x506d34});}),this[_0x3c6c20(0xc1)]['on'](_0x3c6c20(0xb9),(_0x1c3f91,{index:_0x57eaef})=>{var _0x39eb30=_0x3c6c20;this[_0x39eb30(0xac)](_0x39eb30(0xb9),{'replyId':this[_0x39eb30(0xcb)]['id'],'partIndex':_0x57eaef});}),this[_0x3c6c20(0xc1)]['on'](_0x3c6c20(0xce),(_0x1d90e8,{index:_0x24bd8a})=>{var _0x1b6366=_0x3c6c20;this[_0x1b6366(0xac)](_0x1b6366(0xce),{'replyId':this[_0x1b6366(0xcb)]['id'],'partIndex':_0x24bd8a});}),this[_0x3c6c20(0xc1)]['on'](_0x3c6c20(0xd0),(_0x58d1fd,{index:_0x1dac0e})=>{var _0x1a93cf=_0x3c6c20;this[_0x1a93cf(0xac)](_0x1a93cf(0xd0),{'replyId':this[_0x1a93cf(0xcb)]['id'],'partIndex':_0x1dac0e});}),this[_0x3c6c20(0xc1)]['on'](_0x3c6c20(0xbd),(_0x39fe7e,{index:_0x346f1f})=>{var _0x142e00=_0x3c6c20;this[_0x142e00(0xac)](_0x142e00(0xbd),{'replyId':this[_0x142e00(0xcb)]['id'],'partIndex':_0x346f1f});}),this[_0x3c6c20(0xb7)]=new _0x16e17f(_0x249f32,this[_0x3c6c20(0xcb)][_0x3c6c20(0xa9)]),this[_0x3c6c20(0xb7)][_0x3c6c20(0xd2)](_0x3c6c20(0xaf))['to'](this,_0x3c6c20(0xaf)),this[_0x3c6c20(0xb7)]['on'](_0x3c6c20(0xb1),()=>{var _0x5a479f=_0x3c6c20;this[_0x5a479f(0xac)](_0x5a479f(0xb1),{'replyId':this[_0x5a479f(0xcb)]['id']});}),this[_0x3c6c20(0xb7)]['on'](_0x3c6c20(0xb9),()=>{var _0x28716f=_0x3c6c20;this[_0x28716f(0xac)](_0x28716f(0xb9),{'replyId':this[_0x28716f(0xcb)]['id']});}),this[_0x3c6c20(0xb7)]['on'](_0x3c6c20(0xb0),()=>{var _0x4dbf3f=_0x3c6c20;this[_0x4dbf3f(0xac)](_0x4dbf3f(0xb0),{'replyId':this[_0x4dbf3f(0xcb)]['id']});}),_0xd670ac[_0x3c6c20(0xb6)]?this[_0x3c6c20(0xb7)][_0x3c6c20(0xaa)]=!0x1:this[_0x3c6c20(0xb7)][_0x3c6c20(0xd2)](_0x3c6c20(0xaa))['to'](this[_0x3c6c20(0xc1)][_0x3c6c20(0xbe)],_0x3c6c20(0xc6)),this[_0x3c6c20(0xc7)][_0x3c6c20(0xba)]([this[_0x3c6c20(0xc1)],this[_0x3c6c20(0xb7)]]),this[_0x3c6c20(0xb5)]({'attributes':{'class':[_0x3c6c20(0xbc)]}});}async[_0x313f2d(0xb2)](_0x52684c){var _0x20e5ad=_0x313f2d;await this[_0x20e5ad(0xc1)][_0x20e5ad(0xb2)](_0x52684c),this[_0x20e5ad(0xb7)][_0x20e5ad(0xbb)](this[_0x20e5ad(0xc1)][_0x20e5ad(0xbe)][_0x20e5ad(0xc8)]);}[_0x313f2d(0xc4)](_0x108b6f,_0x4f3d8d){var _0x14c3a3=_0x313f2d;this[_0x14c3a3(0xc1)][_0x14c3a3(0xbe)][_0x14c3a3(0xc4)](_0x108b6f,_0x4f3d8d);}[_0x313f2d(0xb8)](_0x1c0451){var _0x3c84ce=_0x313f2d;this[_0x3c84ce(0xc1)][_0x3c84ce(0xb8)](_0x1c0451);}[_0x313f2d(0xa5)](_0x5f4f7e){var _0x38f034=_0x313f2d;return this[_0x38f034(0xc1)][_0x38f034(0xbe)][_0x38f034(0xa5)](_0x5f4f7e);}[_0x313f2d(0xb3)](){var _0x513463=_0x313f2d;super[_0x513463(0xb3)](),this[_0x513463(0xc1)][_0x513463(0xb3)](),this[_0x513463(0xb7)][_0x513463(0xa7)]=this[_0x513463(0xc1)][_0x513463(0xbe)][_0x513463(0xcf)];}}function _0x2acb(){var _0x187468=['hasPendingParts','children','partsCount','toggleSuggestionDisplayMode','258081Qztxbl','options','showDiff','402685WdfZNE','rejectSuggestion','hasNonEmptyParts','mouseOverSuggestion','set','bind','getPartView','dislike','isVisible','like','availableActions','isEnabled','8PKZRDj','fire','10563678Vtxqns','2DjRfGJ','isTrackChangesOn','applySuggestion','showChangeInText','updateContent','markAsDone','10DaApBI','extendTemplate','areActionsDisabled','actionsView','updateSources','insertSuggestion','addMany','updateLabels','ck-ai-chat__feed__ai-suggestion','mouseLeaveSuggestion','bodyView','1277106NQBBMc','25856743wSgbKH','containerView','72kjAGRx','6927249PaFjlK','updatePartState','8224218pMbaZK'];_0x2acb=function(){return _0x187468;};return _0x2acb();}
23
+ var _0xf1262b=_0x1d46;(function(_0x2b00e8,_0x493fa3){var _0xf21327=_0x1d46,_0x3e6088=_0x2b00e8();while(!![]){try{var _0x3e80d6=parseInt(_0xf21327(0xd4))/0x1+-parseInt(_0xf21327(0xb8))/0x2*(parseInt(_0xf21327(0xd0))/0x3)+-parseInt(_0xf21327(0xca))/0x4+parseInt(_0xf21327(0xb6))/0x5+parseInt(_0xf21327(0xc8))/0x6*(parseInt(_0xf21327(0xd9))/0x7)+parseInt(_0xf21327(0xb4))/0x8*(-parseInt(_0xf21327(0xae))/0x9)+parseInt(_0xf21327(0xad))/0xa;if(_0x3e80d6===_0x493fa3)break;else _0x3e6088['push'](_0x3e6088['shift']());}catch(_0xdc2635){_0x3e6088['push'](_0x3e6088['shift']());}}}(_0x22a8,0xa5949));import{AIChatFeedItemView as _0x545aa9}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x437420}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x1d46(_0x5bfc44,_0x120b37){var _0x22a8b7=_0x22a8();return _0x1d46=function(_0x1d466b,_0x5baa17){_0x1d466b=_0x1d466b-0xad;var _0x305452=_0x22a8b7[_0x1d466b];return _0x305452;},_0x1d46(_0x5bfc44,_0x120b37);}import{AIChatFeedSuggestionItemActionsView as _0x1587fc}from'./aichatfeedsuggestionitemactionsview.js';function _0x22a8(){var _0x5e78f6=['68712wApejT','16357990ZfQlaC','405eWUojC','showChangeInText','addMany','ck-ai-chat__feed__ai-suggestion','areActionsDisabled','actionsView','205264UHjQTR','fire','4564775XMDuVY','bodyView','1762aDGQrV','extendTemplate','updateContent','isTrackChangesOn','mouseLeaveSuggestion','updatePartState','hasNonEmptyParts','containerView','set','applySuggestion','updateLabels','partsCount','markAsDone','isVisible','insertSuggestion','bind','744emJWtd','showDiff','4066372iMEQfp','dislike','options','isEnabled','rejectSuggestion','children','4203fQlCSn','availableActions','like','updateSources','317763Hiksar','getPartView','mouseOverSuggestion','hasPendingParts','toggleSuggestionDisplayMode'];_0x22a8=function(){return _0x5e78f6;};return _0x22a8();}export class AIChatFeedSuggestionItemView extends _0x545aa9{[_0xf1262b(0xbf)];[_0xf1262b(0xb3)];constructor(_0x39aa60,_0x4242fd){var _0x195728=_0xf1262b;super(_0x4242fd),this[_0x195728(0xc0)](_0x195728(0xbb),!0x1),this[_0x195728(0xbf)]=new _0x437420(_0x39aa60,{'showDiff':_0x4242fd[_0x195728(0xc9)],'areActionsDisabled':_0x4242fd[_0x195728(0xb2)],'availableActions':_0x4242fd[_0x195728(0xd1)]}),this[_0x195728(0xbf)]['on'](_0x195728(0xd8),(_0x27007b,_0x4fa78e)=>{var _0x4c4284=_0x195728;this[_0x4c4284(0xb5)](_0x4c4284(0xd8),{'replyId':this[_0x4c4284(0xcc)]['id'],'showDiff':_0x4fa78e[_0x4c4284(0xc9)]});}),this[_0x195728(0xbf)]['on'](_0x195728(0xd2),()=>{var _0x4c468a=_0x195728;this[_0x4c468a(0xb5)](_0x4c468a(0xd2),{'replyId':this[_0x4c468a(0xcc)]['id']});}),this[_0x195728(0xbf)]['on'](_0x195728(0xcb),()=>{var _0x2f7edc=_0x195728;this[_0x2f7edc(0xb5)](_0x2f7edc(0xcb),{'replyId':this[_0x2f7edc(0xcc)]['id']});}),this[_0x195728(0xbf)]['on'](_0x195728(0xaf),(_0x1898d8,{index:_0x3e2266})=>{var _0x352e99=_0x195728;this[_0x352e99(0xb5)](_0x352e99(0xaf),{'replyId':this[_0x352e99(0xcc)]['id'],'partIndex':_0x3e2266});}),this[_0x195728(0xbf)]['on'](_0x195728(0xc6),(_0x15a1c8,{index:_0x21dc78})=>{var _0x614741=_0x195728;this[_0x614741(0xb5)](_0x614741(0xc6),{'replyId':this[_0x614741(0xcc)]['id'],'partIndex':_0x21dc78});}),this[_0x195728(0xbf)]['on'](_0x195728(0xce),(_0x181ba3,{index:_0x149600})=>{var _0x3aef8b=_0x195728;this[_0x3aef8b(0xb5)](_0x3aef8b(0xce),{'replyId':this[_0x3aef8b(0xcc)]['id'],'partIndex':_0x149600});}),this[_0x195728(0xbf)]['on'](_0x195728(0xd6),(_0x31f395,{index:_0x4cb020})=>{var _0x40af31=_0x195728;this[_0x40af31(0xb5)](_0x40af31(0xd6),{'replyId':this[_0x40af31(0xcc)]['id'],'partIndex':_0x4cb020});}),this[_0x195728(0xbf)]['on'](_0x195728(0xbc),(_0x825cae,{index:_0x8105b3})=>{var _0x3c3e24=_0x195728;this[_0x3c3e24(0xb5)](_0x3c3e24(0xbc),{'replyId':this[_0x3c3e24(0xcc)]['id'],'partIndex':_0x8105b3});}),this[_0x195728(0xb3)]=new _0x1587fc(_0x39aa60,this[_0x195728(0xcc)][_0x195728(0xd1)]),this[_0x195728(0xb3)][_0x195728(0xc7)](_0x195728(0xbb))['to'](this,_0x195728(0xbb)),this[_0x195728(0xb3)]['on'](_0x195728(0xaf),()=>{var _0x2122b9=_0x195728;this[_0x2122b9(0xb5)](_0x2122b9(0xaf),{'replyId':this[_0x2122b9(0xcc)]['id']});}),this[_0x195728(0xb3)]['on'](_0x195728(0xc6),()=>{var _0x3b4224=_0x195728;this[_0x3b4224(0xb5)](_0x3b4224(0xc6),{'replyId':this[_0x3b4224(0xcc)]['id']});}),this[_0x195728(0xb3)]['on'](_0x195728(0xc1),()=>{var _0x13a03c=_0x195728;this[_0x13a03c(0xb5)](_0x13a03c(0xc1),{'replyId':this[_0x13a03c(0xcc)]['id']});}),_0x4242fd[_0x195728(0xb2)]?this[_0x195728(0xb3)][_0x195728(0xcd)]=!0x1:this[_0x195728(0xb3)][_0x195728(0xc7)](_0x195728(0xcd))['to'](this[_0x195728(0xbf)][_0x195728(0xb7)],_0x195728(0xd7)),this[_0x195728(0xcf)][_0x195728(0xb0)]([this[_0x195728(0xbf)],this[_0x195728(0xb3)]]),this[_0x195728(0xb9)]({'attributes':{'class':[_0x195728(0xb1)]}});}async[_0xf1262b(0xba)](_0x2f5f97){var _0x146943=_0xf1262b;await this[_0x146943(0xbf)][_0x146943(0xba)](_0x2f5f97),this[_0x146943(0xb3)][_0x146943(0xc2)](this[_0x146943(0xbf)][_0x146943(0xb7)][_0x146943(0xc3)]);}[_0xf1262b(0xbd)](_0x4536b7,_0xea0d43){var _0x3d5ba7=_0xf1262b;this[_0x3d5ba7(0xbf)][_0x3d5ba7(0xb7)][_0x3d5ba7(0xbd)](_0x4536b7,_0xea0d43);}[_0xf1262b(0xd3)](_0x3088db){var _0x2a1e4d=_0xf1262b;this[_0x2a1e4d(0xbf)][_0x2a1e4d(0xd3)](_0x3088db);}[_0xf1262b(0xd5)](_0x3f4187){var _0xcf5a9f=_0xf1262b;return this[_0xcf5a9f(0xbf)][_0xcf5a9f(0xb7)][_0xcf5a9f(0xd5)](_0x3f4187);}[_0xf1262b(0xc4)](){var _0x2578f6=_0xf1262b;super[_0x2578f6(0xc4)](),this[_0x2578f6(0xbf)][_0x2578f6(0xc4)](),this[_0x2578f6(0xb3)][_0x2578f6(0xc5)]=this[_0x2578f6(0xbf)][_0x2578f6(0xb7)][_0x2578f6(0xbe)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3c718b=_0x53e6;function _0x53e6(_0xc1fffd,_0x364dd9){var _0x451c29=_0x451c();return _0x53e6=function(_0x53e64a,_0x3aeb8e){_0x53e64a=_0x53e64a-0xd8;var _0x285aa2=_0x451c29[_0x53e64a];return _0x285aa2;},_0x53e6(_0xc1fffd,_0x364dd9);}function _0x451c(){var _0x5a3517=['1786032QuYwvk','add','markAsDone','render','ck-ai-chat__feed__context-chips','890129ItEWLr','18kMCjmZ','innerHTML','1827903ahsOui','extendTemplate','length','ck-ai-chat__feed__message-content','ck-ai-chat__feed__user-message','172008LdaTpk','40kSsAUM','4024332ZsrRAC','_locale','contextItems','49407eDRWuw','filter','_contextChipsView','element','_bodyCollection','hidden','initialContent','setTemplate','div','362130FvOvkx','children','_createMessageContentView','_createContextChipsView','options','_messageContentView'];_0x451c=function(){return _0x5a3517;};return _0x451c();}(function(_0x289626,_0x2804bd){var _0xb720b9=_0x53e6,_0x9c356f=_0x289626();while(!![]){try{var _0x2d01db=parseInt(_0xb720b9(0xe2))/0x1+-parseInt(_0xb720b9(0xeb))/0x2*(-parseInt(_0xb720b9(0xef))/0x3)+-parseInt(_0xb720b9(0xea))/0x4+parseInt(_0xb720b9(0xf8))/0x5*(-parseInt(_0xb720b9(0xe3))/0x6)+parseInt(_0xb720b9(0xe5))/0x7+-parseInt(_0xb720b9(0xdd))/0x8+-parseInt(_0xb720b9(0xec))/0x9;if(_0x2d01db===_0x2804bd)break;else _0x9c356f['push'](_0x9c356f['shift']());}catch(_0xbf4525){_0x9c356f['push'](_0x9c356f['shift']());}}}(_0x451c,0x86444));import{AIChatFeedItemView as _0xdcb9b2}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x5bbf3b}from'./aichatfeedcontextchipsview.js';import{View as _0x170c43}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0xdcb9b2{[_0x3c718b(0xf1)]=null;[_0x3c718b(0xed)];[_0x3c718b(0xf3)];[_0x3c718b(0xdc)];constructor(_0x418abb,_0x2b7d27,_0x480968){var _0x2e7dd2=_0x3c718b;super(_0x2b7d27),this[_0x2e7dd2(0xed)]=_0x418abb,this[_0x2e7dd2(0xf3)]=_0x480968,this[_0x2e7dd2(0xda)](),this[_0x2e7dd2(0xd9)](),this[_0x2e7dd2(0xe6)]({'attributes':{'class':[_0x2e7dd2(0xe9)]}});}[_0x3c718b(0xda)](){var _0x364eb9=_0x3c718b;this[_0x364eb9(0xdb)][_0x364eb9(0xee)]&&this[_0x364eb9(0xdb)][_0x364eb9(0xee)][_0x364eb9(0xe7)]>0x0&&(this[_0x364eb9(0xf1)]=new _0x5bbf3b(this[_0x364eb9(0xed)],this[_0x364eb9(0xdb)][_0x364eb9(0xee)][_0x364eb9(0xf0)](_0xf77e73=>!_0xf77e73[_0x364eb9(0xf4)]),this[_0x364eb9(0xf3)]),this[_0x364eb9(0xf1)][_0x364eb9(0xe6)]({'attributes':{'class':_0x364eb9(0xe1)}}),this[_0x364eb9(0xd8)][_0x364eb9(0xde)](this[_0x364eb9(0xf1)]));}[_0x3c718b(0xd9)](){var _0x2f277c=_0x3c718b;this[_0x2f277c(0xdc)]=new _0x170c43(this[_0x2f277c(0xed)]),this[_0x2f277c(0xdc)][_0x2f277c(0xf6)]({'tag':_0x2f277c(0xf7),'attributes':{'class':_0x2f277c(0xe8)}}),this[_0x2f277c(0xd8)][_0x2f277c(0xde)](this[_0x2f277c(0xdc)]);}[_0x3c718b(0xe0)](){var _0x264afd=_0x3c718b;super[_0x264afd(0xe0)](),this[_0x264afd(0xdc)][_0x264afd(0xf2)][_0x264afd(0xe4)]=this[_0x264afd(0xdb)][_0x264afd(0xf5)],this[_0x264afd(0xdf)]();}}
23
+ function _0x372b(_0x40e2ed,_0x627e11){var _0xc2bbb5=_0xc2bb();return _0x372b=function(_0x372b85,_0x357f45){_0x372b85=_0x372b85-0x19f;var _0x5e2e08=_0xc2bbb5[_0x372b85];return _0x5e2e08;},_0x372b(_0x40e2ed,_0x627e11);}var _0x5ecc9d=_0x372b;(function(_0x25bf83,_0x40bea0){var _0x15bd86=_0x372b,_0x364a89=_0x25bf83();while(!![]){try{var _0x1e3f90=parseInt(_0x15bd86(0x1c2))/0x1*(-parseInt(_0x15bd86(0x1ad))/0x2)+parseInt(_0x15bd86(0x1b9))/0x3*(-parseInt(_0x15bd86(0x1a6))/0x4)+parseInt(_0x15bd86(0x1bd))/0x5*(-parseInt(_0x15bd86(0x1b2))/0x6)+-parseInt(_0x15bd86(0x19f))/0x7*(-parseInt(_0x15bd86(0x1b6))/0x8)+-parseInt(_0x15bd86(0x1a1))/0x9+-parseInt(_0x15bd86(0x1bf))/0xa*(parseInt(_0x15bd86(0x1aa))/0xb)+parseInt(_0x15bd86(0x1a5))/0xc*(parseInt(_0x15bd86(0x1bc))/0xd);if(_0x1e3f90===_0x40bea0)break;else _0x364a89['push'](_0x364a89['shift']());}catch(_0xa5be17){_0x364a89['push'](_0x364a89['shift']());}}}(_0xc2bb,0xe855b));import{AIChatFeedItemView as _0xc5667b}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x2d36cf}from'./aichatfeedcontextchipsview.js';import{View as _0x4e0981}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0xc5667b{[_0x5ecc9d(0x1bb)]=null;[_0x5ecc9d(0x1b4)];[_0x5ecc9d(0x1ae)];[_0x5ecc9d(0x1c1)];constructor(_0x346e3f,_0x57c251,_0x36728e){var _0x56d9d9=_0x5ecc9d;super(_0x57c251),this[_0x56d9d9(0x1b4)]=_0x346e3f,this[_0x56d9d9(0x1ae)]=_0x36728e,this[_0x56d9d9(0x1ba)](),this[_0x56d9d9(0x1b8)](),this[_0x56d9d9(0x1b5)]({'attributes':{'class':[_0x56d9d9(0x1b3)]}});}[_0x5ecc9d(0x1ba)](){var _0x2dcaf7=_0x5ecc9d;this[_0x2dcaf7(0x1a3)][_0x2dcaf7(0x1a0)]&&this[_0x2dcaf7(0x1a3)][_0x2dcaf7(0x1a0)][_0x2dcaf7(0x1ac)]>0x0&&(this[_0x2dcaf7(0x1bb)]=new _0x2d36cf(this[_0x2dcaf7(0x1b4)],this[_0x2dcaf7(0x1a3)][_0x2dcaf7(0x1a0)][_0x2dcaf7(0x1a7)](_0x5042eb=>!_0x5042eb[_0x2dcaf7(0x1b0)]),this[_0x2dcaf7(0x1ae)]),this[_0x2dcaf7(0x1bb)][_0x2dcaf7(0x1b5)]({'attributes':{'class':_0x2dcaf7(0x1a9)}}),this[_0x2dcaf7(0x1ab)][_0x2dcaf7(0x1b7)](this[_0x2dcaf7(0x1bb)]));}[_0x5ecc9d(0x1b8)](){var _0x33a93c=_0x5ecc9d;this[_0x33a93c(0x1c1)]=new _0x4e0981(this[_0x33a93c(0x1b4)]),this[_0x33a93c(0x1c1)][_0x33a93c(0x1af)]({'tag':_0x33a93c(0x1b1),'attributes':{'class':_0x33a93c(0x1be)}}),this[_0x33a93c(0x1ab)][_0x33a93c(0x1b7)](this[_0x33a93c(0x1c1)]);}[_0x5ecc9d(0x1c0)](){var _0x2a0138=_0x5ecc9d;super[_0x2a0138(0x1c0)](),this[_0x2a0138(0x1c1)][_0x2a0138(0x1a2)][_0x2a0138(0x1a8)]=this[_0x2a0138(0x1a3)][_0x2a0138(0x1a4)],this[_0x2a0138(0x1c3)]();}}function _0xc2bb(){var _0x494f2b=['_messageContentView','100699JIxUBO','markAsDone','7GssnHZ','contextItems','10176201ChCeeq','element','options','initialContent','60fvwJOz','15156XUbhQX','filter','innerHTML','ck-ai-chat__feed__context-chips','6787ipjroq','children','length','28XzWZGw','_bodyCollection','setTemplate','hidden','div','309282tAdyiY','ck-ai-chat__feed__user-message','_locale','extendTemplate','3289352akMxXB','add','_createMessageContentView','231RNyXSN','_createContextChipsView','_contextChipsView','17147572iZbrqE','155DOvfmd','ck-ai-chat__feed__message-content','26330SbKGMk','render'];_0xc2bb=function(){return _0x494f2b;};return _0xc2bb();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46c1cc=_0x484e;(function(_0x2539da,_0x5d4a32){const _0x5e5f9d=_0x484e,_0x27bee2=_0x2539da();while(!![]){try{const _0x4de1a1=parseInt(_0x5e5f9d(0x1f1))/0x1+parseInt(_0x5e5f9d(0x1ea))/0x2*(parseInt(_0x5e5f9d(0x1f4))/0x3)+parseInt(_0x5e5f9d(0x1f7))/0x4+-parseInt(_0x5e5f9d(0x1f0))/0x5*(-parseInt(_0x5e5f9d(0x1f3))/0x6)+parseInt(_0x5e5f9d(0x1f2))/0x7*(-parseInt(_0x5e5f9d(0x1e2))/0x8)+parseInt(_0x5e5f9d(0x1e7))/0x9+parseInt(_0x5e5f9d(0x1e3))/0xa*(-parseInt(_0x5e5f9d(0x1f5))/0xb);if(_0x4de1a1===_0x5d4a32)break;else _0x27bee2['push'](_0x27bee2['shift']());}catch(_0x356536){_0x27bee2['push'](_0x27bee2['shift']());}}}(_0xebc2,0xbe5f8));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x11e6a0}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x11e6a0,_0x46c1cc(0x1ec),_0x46c1cc(0x1e1),_0x46c1cc(0x1e8),_0x46c1cc(0x1ed),_0x46c1cc(0x1f6),_0x46c1cc(0x1e5),_0x46c1cc(0x1e4),_0x46c1cc(0x1e0),_0x46c1cc(0x1e9),_0x46c1cc(0x1e6),_0x46c1cc(0x1ef),_0x46c1cc(0x1ee),_0x46c1cc(0x1eb)];function _0x484e(_0x5c41af,_0x60ed30){const _0xebc2b6=_0xebc2();return _0x484e=function(_0x484e3d,_0x3e592f){_0x484e3d=_0x484e3d-0x1e0;let _0x4e7b50=_0xebc2b6[_0x484e3d];return _0x4e7b50;},_0x484e(_0x5c41af,_0x60ed30);}function _0xebc2(){const _0x133eca=['8248SgsKeZ','selectModel','startConversation','abortPromptStream','toggleReasoning','toggleWebSearch','5684585fdWoOe','1163074bNpgTW','91gUEzzj','6YVPRIT','414oNGWnp','11ypciPo','addDocumentToContext','6048968TMSjNA','addResourceToContext','resizeTabs','678376SQphjy','26523100tostGM','addUrlToContext','addFileToContext','loadSourceResources','1377846HjMblO','sendUserMessage','removeContextItem'];_0xebc2=function(){return _0x133eca;};return _0xebc2();}
23
+ const _0x501c1f=_0x5b79;(function(_0x12039d,_0x36d4fe){const _0x37740f=_0x5b79,_0x4f53c9=_0x12039d();while(!![]){try{const _0x25c6fe=parseInt(_0x37740f(0x1f4))/0x1*(-parseInt(_0x37740f(0x1e8))/0x2)+-parseInt(_0x37740f(0x1ef))/0x3*(parseInt(_0x37740f(0x1ec))/0x4)+parseInt(_0x37740f(0x1e7))/0x5*(-parseInt(_0x37740f(0x1fd))/0x6)+parseInt(_0x37740f(0x1f8))/0x7+-parseInt(_0x37740f(0x1f6))/0x8*(parseInt(_0x37740f(0x1f9))/0x9)+-parseInt(_0x37740f(0x1f5))/0xa+parseInt(_0x37740f(0x1f2))/0xb;if(_0x25c6fe===_0x36d4fe)break;else _0x4f53c9['push'](_0x4f53c9['shift']());}catch(_0x77be04){_0x4f53c9['push'](_0x4f53c9['shift']());}}}(_0x24ba,0x833bb));function _0x5b79(_0x1e413b,_0x23fa0d){const _0x24ba7c=_0x24ba();return _0x5b79=function(_0x5b7907,_0x264a9e){_0x5b7907=_0x5b7907-0x1e7;let _0x3ea726=_0x24ba7c[_0x5b7907];return _0x3ea726;},_0x5b79(_0x1e413b,_0x23fa0d);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x398eff}from'../../aicore/utils/eventnames.js';function _0x24ba(){const _0x4193ad=['removeContextItem','addResourceToContext','addFileToContext','5226996ADduer','addUrlToContext','5XdYNcZ','162DtiwIb','addDocumentToContext','selectModel','startConversation','20BzejVt','sendUserMessage','toggleWebSearch','477735AGqKeM','toggleReasoning','resizeTabs','29740150osCxWG','loadSourceResources','5914sIayYT','517140NwXXPW','64KmIRVQ','abortPromptStream','2131444VMrpLv','306531xcVtFh'];_0x24ba=function(){return _0x4193ad;};return _0x24ba();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x398eff,_0x501c1f(0x1eb),_0x501c1f(0x1f1),_0x501c1f(0x1ed),_0x501c1f(0x1f7),_0x501c1f(0x1e9),_0x501c1f(0x1fc),_0x501c1f(0x1fe),_0x501c1f(0x1fb),_0x501c1f(0x1fa),_0x501c1f(0x1f3),_0x501c1f(0x1ee),_0x501c1f(0x1f0),_0x501c1f(0x1ea)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x30ee(){const _0x52ef02=['once','length','enqueue','callback','_queueEmpty','completePromise','21474GMLVLy','createTask','resolve','2593916SBVKZB','12534sTkgwp','3206QmMlbo','signal','queue','5woDBaB','queueEmptyPromise','259230rfRBLZ','shift','15744680PuuSdW','push','_abortController','2922962jTygoU','reject','abort','fire','_processQueue','isProcessing','2168tNGqjB','2221023gJaBpz'];_0x30ee=function(){return _0x52ef02;};return _0x30ee();}const _0x4e9dd8=_0x375b;function _0x375b(_0x3583c2,_0x235384){const _0x30eeeb=_0x30ee();return _0x375b=function(_0x375be9,_0x36eb11){_0x375be9=_0x375be9-0x1c3;let _0x4607b6=_0x30eeeb[_0x375be9];return _0x4607b6;},_0x375b(_0x3583c2,_0x235384);}(function(_0x2aee07,_0x3b53c2){const _0x5a5c79=_0x375b,_0x2e9b9e=_0x2aee07();while(!![]){try{const _0x269bed=parseInt(_0x5a5c79(0x1d0))/0x1+-parseInt(_0x5a5c79(0x1d5))/0x2+parseInt(_0x5a5c79(0x1dc))/0x3+-parseInt(_0x5a5c79(0x1c9))/0x4*(parseInt(_0x5a5c79(0x1ce))/0x5)+parseInt(_0x5a5c79(0x1ca))/0x6*(parseInt(_0x5a5c79(0x1cb))/0x7)+parseInt(_0x5a5c79(0x1db))/0x8*(-parseInt(_0x5a5c79(0x1c6))/0x9)+parseInt(_0x5a5c79(0x1d2))/0xa;if(_0x269bed===_0x3b53c2)break;else _0x2e9b9e['push'](_0x2e9b9e['shift']());}catch(_0x42a664){_0x2e9b9e['push'](_0x2e9b9e['shift']());}}}(_0x30ee,0xbd05b));import{EmitterMixin as _0x4700a6}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x4700a6(){[_0x4e9dd8(0x1cd)]=[];[_0x4e9dd8(0x1da)]=!0x1;[_0x4e9dd8(0x1d4)];async[_0x4e9dd8(0x1df)](_0x274c39){const _0x181e59=_0x4e9dd8,_0x2a03e9=this[_0x181e59(0x1c7)](_0x274c39);return this[_0x181e59(0x1cd)][_0x181e59(0x1d3)](_0x2a03e9),this[_0x181e59(0x1d9)](),_0x2a03e9[_0x181e59(0x1c5)];}[_0x4e9dd8(0x1d7)](){const _0x3d7370=_0x4e9dd8;this[_0x3d7370(0x1da)]&&(this[_0x3d7370(0x1d4)][_0x3d7370(0x1d7)](),this[_0x3d7370(0x1d4)]=void 0x0,this[_0x3d7370(0x1cd)]=[],this[_0x3d7370(0x1d8)](_0x3d7370(0x1c4)),this[_0x3d7370(0x1da)]=!0x1);}get[_0x4e9dd8(0x1cf)](){const _0x3f5e33=_0x4e9dd8;return this[_0x3f5e33(0x1cd)][_0x3f5e33(0x1de)]||this[_0x3f5e33(0x1da)]?new Promise(_0x398305=>{const _0x12f10b=_0x3f5e33;this[_0x12f10b(0x1dd)](_0x12f10b(0x1c4),()=>{_0x398305();});}):Promise[_0x3f5e33(0x1c8)]();}async[_0x4e9dd8(0x1d9)](){const _0x234cc7=_0x4e9dd8;if(!this[_0x234cc7(0x1da)]){this[_0x234cc7(0x1d4)]=new AbortController(),this[_0x234cc7(0x1da)]=!0x0;try{for(;this[_0x234cc7(0x1cd)][_0x234cc7(0x1de)]&&this[_0x234cc7(0x1da)];){const _0x489cf2=this[_0x234cc7(0x1cd)][_0x234cc7(0x1d1)]();try{await _0x489cf2[_0x234cc7(0x1c3)](this[_0x234cc7(0x1d4)][_0x234cc7(0x1cc)]),_0x489cf2[_0x234cc7(0x1c8)]();}catch(_0x2fcce0){_0x489cf2[_0x234cc7(0x1d6)](_0x2fcce0);}}}finally{this[_0x234cc7(0x1da)]=!0x1,this[_0x234cc7(0x1d4)]=void 0x0;}this[_0x234cc7(0x1d8)](_0x234cc7(0x1c4));}}[_0x4e9dd8(0x1c7)](_0x3fa264){let _0x2c9869,_0xe5cdc7;const _0x2f09e7=new Promise((_0x3212a4,_0x39badc)=>{_0x2c9869=_0x3212a4,_0xe5cdc7=_0x39badc;});return{'callback':_0x3fa264,'resolve':_0x2c9869,'reject':_0xe5cdc7,'completePromise':_0x2f09e7};}}
23
+ const _0x5cfae1=_0x1c39;(function(_0x55d1b3,_0xed47cc){const _0x339a46=_0x1c39,_0x45cf73=_0x55d1b3();while(!![]){try{const _0x13a835=-parseInt(_0x339a46(0xee))/0x1+parseInt(_0x339a46(0xed))/0x2*(-parseInt(_0x339a46(0xe0))/0x3)+parseInt(_0x339a46(0xf1))/0x4*(-parseInt(_0x339a46(0xe1))/0x5)+-parseInt(_0x339a46(0xda))/0x6+parseInt(_0x339a46(0xec))/0x7+-parseInt(_0x339a46(0xf5))/0x8+-parseInt(_0x339a46(0xf2))/0x9*(-parseInt(_0x339a46(0xeb))/0xa);if(_0x13a835===_0xed47cc)break;else _0x45cf73['push'](_0x45cf73['shift']());}catch(_0x2dc39d){_0x45cf73['push'](_0x45cf73['shift']());}}}(_0x7bd0,0xecdfe));import{EmitterMixin as _0x2e6f10}from'ckeditor5/src/utils.js';function _0x1c39(_0x47d618,_0xf16521){const _0x7bd04e=_0x7bd0();return _0x1c39=function(_0x1c3975,_0x761b4b){_0x1c3975=_0x1c3975-0xda;let _0x4204bc=_0x7bd04e[_0x1c3975];return _0x4204bc;},_0x1c39(_0x47d618,_0xf16521);}function _0x7bd0(){const _0x5249a8=['queueEmptyPromise','signal','resolve','_abortController','325660FMWhYy','11856691EkLrwi','1003130jasZKe','49664FjQpkj','queue','fire','374684OyZack','1206lpeJsC','reject','callback','13930480CbiFtf','_queueEmpty','11149020HJpgXV','completePromise','abort','shift','isProcessing','createTask','3uSyhix','50wbgZmg','once','_processQueue','length','enqueue','push'];_0x7bd0=function(){return _0x5249a8;};return _0x7bd0();}export class PromiseQueue extends _0x2e6f10(){[_0x5cfae1(0xef)]=[];[_0x5cfae1(0xde)]=!0x1;[_0x5cfae1(0xea)];async[_0x5cfae1(0xe5)](_0x5c7150){const _0x48d006=_0x5cfae1,_0x38af3e=this[_0x48d006(0xdf)](_0x5c7150);return this[_0x48d006(0xef)][_0x48d006(0xe6)](_0x38af3e),this[_0x48d006(0xe3)](),_0x38af3e[_0x48d006(0xdb)];}[_0x5cfae1(0xdc)](){const _0xa12446=_0x5cfae1;this[_0xa12446(0xde)]&&(this[_0xa12446(0xea)][_0xa12446(0xdc)](),this[_0xa12446(0xea)]=void 0x0,this[_0xa12446(0xef)]=[],this[_0xa12446(0xf0)](_0xa12446(0xf6)),this[_0xa12446(0xde)]=!0x1);}get[_0x5cfae1(0xe7)](){const _0x3cd0a3=_0x5cfae1;return this[_0x3cd0a3(0xef)][_0x3cd0a3(0xe4)]||this[_0x3cd0a3(0xde)]?new Promise(_0x48a58a=>{const _0x489391=_0x3cd0a3;this[_0x489391(0xe2)](_0x489391(0xf6),()=>{_0x48a58a();});}):Promise[_0x3cd0a3(0xe9)]();}async[_0x5cfae1(0xe3)](){const _0x5bb840=_0x5cfae1;if(!this[_0x5bb840(0xde)]){this[_0x5bb840(0xea)]=new AbortController(),this[_0x5bb840(0xde)]=!0x0;try{for(;this[_0x5bb840(0xef)][_0x5bb840(0xe4)]&&this[_0x5bb840(0xde)];){const _0x4dbfa1=this[_0x5bb840(0xef)][_0x5bb840(0xdd)]();try{await _0x4dbfa1[_0x5bb840(0xf4)](this[_0x5bb840(0xea)][_0x5bb840(0xe8)]),_0x4dbfa1[_0x5bb840(0xe9)]();}catch(_0x54751e){_0x4dbfa1[_0x5bb840(0xf3)](_0x54751e);}}}finally{this[_0x5bb840(0xde)]=!0x1,this[_0x5bb840(0xea)]=void 0x0;}this[_0x5bb840(0xf0)](_0x5bb840(0xf6));}}[_0x5cfae1(0xdf)](_0x1540e7){let _0x3b9bb9,_0x10ca06;const _0x1b2bfb=new Promise((_0x23e06b,_0x3c0a7a)=>{_0x3b9bb9=_0x23e06b,_0x10ca06=_0x3c0a7a;});return{'callback':_0x1540e7,'resolve':_0x3b9bb9,'reject':_0x10ca06,'completePromise':_0x1b2bfb};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x7adcb3=_0x1317;(function(_0x27bb42,_0x4ed900){var _0x10b7c8=_0x1317,_0x283176=_0x27bb42();while(!![]){try{var _0x46db42=-parseInt(_0x10b7c8(0xc4))/0x1*(parseInt(_0x10b7c8(0xc6))/0x2)+parseInt(_0x10b7c8(0xc0))/0x3*(parseInt(_0x10b7c8(0xc3))/0x4)+-parseInt(_0x10b7c8(0xc1))/0x5*(-parseInt(_0x10b7c8(0xc7))/0x6)+parseInt(_0x10b7c8(0xbc))/0x7*(parseInt(_0x10b7c8(0xbb))/0x8)+parseInt(_0x10b7c8(0xc2))/0x9*(parseInt(_0x10b7c8(0xbf))/0xa)+-parseInt(_0x10b7c8(0xbd))/0xb+parseInt(_0x10b7c8(0xc5))/0xc;if(_0x46db42===_0x4ed900)break;else _0x283176['push'](_0x283176['shift']());}catch(_0x2df4df){_0x283176['push'](_0x283176['shift']());}}}(_0x4e72,0x3fe65));import{ContextPlugin as _0x1e3c8a}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x3636a5}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x308411}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';function _0x1317(_0x2a2b03,_0x1b114f){var _0x4e7208=_0x4e72();return _0x1317=function(_0x1317a4,_0x2307ac){_0x1317a4=_0x1317a4-0xb8;var _0x3e8455=_0x4e7208[_0x1317a4];return _0x3e8455;},_0x1317(_0x2a2b03,_0x1b114f);}export class AIChatHistory extends _0x1e3c8a{static get[_0x7adcb3(0xc8)](){return[_0x3636a5,_0x308411];}static get[_0x7adcb3(0xb9)](){var _0xd8b867=_0x7adcb3;return _0xd8b867(0xb8);}static get[_0x7adcb3(0xbe)](){return!0x0;}static get[_0x7adcb3(0xba)](){return!0x0;}}function _0x4e72(){var _0x330651=['AIChatHistory','pluginName','isPremiumPlugin','1488SGmJGF','3003NdNbgu','892331eFLcee','isOfficialPlugin','20dgIMsm','100479lRVZql','265SPOQvC','1021689uaJgUS','12VQLzRX','48331fIkzwd','1532304kcEzXj','10xysdjq','5604MYMRXT','requires'];_0x4e72=function(){return _0x330651;};return _0x4e72();}
23
+ function _0x3a6b(){var _0x92564f=['14FBDMZs','1394079lVNOOR','isOfficialPlugin','5MOdJSz','309872IOWced','AIChatHistory','2988582egwxKn','3195210CmOYys','18120070JzmBTR','3FzprXa','2586860FBxbFL','2002365zjvSKj','requires','isPremiumPlugin','pluginName'];_0x3a6b=function(){return _0x92564f;};return _0x3a6b();}var _0xd773d9=_0x2103;(function(_0x1d9755,_0x32839d){var _0x5e8713=_0x2103,_0x13e0bd=_0x1d9755();while(!![]){try{var _0x86a983=parseInt(_0x5e8713(0x160))/0x1+-parseInt(_0x5e8713(0x165))/0x2+-parseInt(_0x5e8713(0x159))/0x3*(parseInt(_0x5e8713(0x15a))/0x4)+-parseInt(_0x5e8713(0x162))/0x5*(parseInt(_0x5e8713(0x157))/0x6)+parseInt(_0x5e8713(0x15f))/0x7*(parseInt(_0x5e8713(0x163))/0x8)+parseInt(_0x5e8713(0x15b))/0x9+parseInt(_0x5e8713(0x158))/0xa;if(_0x86a983===_0x32839d)break;else _0x13e0bd['push'](_0x13e0bd['shift']());}catch(_0x1cbd4c){_0x13e0bd['push'](_0x13e0bd['shift']());}}}(_0x3a6b,0xcb3f2));import{ContextPlugin as _0x51505c}from'ckeditor5/src/core.js';function _0x2103(_0x458d4a,_0x3a7ee0){var _0x3a6b43=_0x3a6b();return _0x2103=function(_0x210326,_0x421df9){_0x210326=_0x210326-0x157;var _0x40121f=_0x3a6b43[_0x210326];return _0x40121f;},_0x2103(_0x458d4a,_0x3a7ee0);}import{AIChatHistoryController as _0x58c2a2}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x3dc50f}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x51505c{static get[_0xd773d9(0x15c)](){return[_0x58c2a2,_0x3dc50f];}static get[_0xd773d9(0x15e)](){var _0x553401=_0xd773d9;return _0x553401(0x164);}static get[_0xd773d9(0x161)](){return!0x0;}static get[_0xd773d9(0x15d)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x359452=_0x28b4;(function(_0xf98fab,_0x35ce19){const _0x4470b3=_0x28b4,_0x579b62=_0xf98fab();while(!![]){try{const _0x27185d=parseInt(_0x4470b3(0xc5))/0x1*(parseInt(_0x4470b3(0xb9))/0x2)+-parseInt(_0x4470b3(0x90))/0x3*(parseInt(_0x4470b3(0x6e))/0x4)+parseInt(_0x4470b3(0x71))/0x5*(parseInt(_0x4470b3(0xca))/0x6)+-parseInt(_0x4470b3(0x7b))/0x7*(parseInt(_0x4470b3(0x84))/0x8)+-parseInt(_0x4470b3(0xb8))/0x9*(-parseInt(_0x4470b3(0x89))/0xa)+-parseInt(_0x4470b3(0xb7))/0xb*(parseInt(_0x4470b3(0x9d))/0xc)+-parseInt(_0x4470b3(0x8b))/0xd;if(_0x27185d===_0x35ce19)break;else _0x579b62['push'](_0x579b62['shift']());}catch(_0x168fa2){_0x579b62['push'](_0x579b62['shift']());}}}(_0x48dc,0xcf0eb));import{ContextPlugin as _0x27e726}from'ckeditor5/src/core.js';import{AIConnector as _0xf71b30}from'../aicore/aiconnector.js';import{AIChatController as _0x52dc38}from'../aichat/aichatcontroller.js';import{AITabs as _0x27a951}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x2899b7}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x287f1c}from'./model/aichathistoryconversations.js';function _0x48dc(){const _0xb5cb74=['_aiConnector','30OCxiqX','pin','AI_CHAT_UNTITLED_CONVERSATION','_handleEditTitle','selectConversation','54cqhXSK','map','requires','updateItemPinned','_updateHistoryItemsUI','isPremiumPlugin','_handleSelectConversation','updateItems','title','updateItemTitle','openChat','push','AI_CHAT_HISTORY_CATEGORY_PINNED','24wVTgtJ','getItems','init','833060lIFxgo','getDate','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','pluginName','_handleHistoryErrorUI','removeConversation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','resizedTabs','length','resizeTabs','63XHQjOf','_generateErrorMessage','loadConversation','_setIsMaximized','context','AI_CHAT_HISTORY_ERROR_GENERIC','loadItems','_handleRemove','_aiChatHistoryUi','454696IbvvXW','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','change:activeConversation','remove','unpin','10ZwVvGP','AI_CHAT_HISTORY_PIN_ACTION','9507966gcxaiC','createdAt','AI_CHAT_HISTORY_CATEGORY_TODAY','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','pinned','640938ufwfDe','getGroupId','_getCategorizedItems','removeHistoryItem','rename','getItem','listenTo','resize','activateTab','history','_clearItemLoading','_aiChatController','_setItemLoading','156eaoBDa','handleRemovedConversation','AI_CHAT_HISTORY_CATEGORY_LATER','activeConversation','plugins','_showConversationHistory','get','isOfficialPlugin','chat','setConversationPinned','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','setLoadingSkeleton','itemUpdated','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','removeItem','AIChatHistoryController','itemsLoaded','operation','setDate','locale','activateTab:history','updates','AI_CHAT_HISTORY_UNPIN_ACTION','error','_handleTogglePin','itemRemoved','179201GPUemF','9745317NgFqGx','66824JRamSK','getFullYear','setIsMaximized','toLocaleDateString','view','updateItemLoadingState','showError','getMonth','itemId','editConversationTitle','items'];_0x48dc=function(){return _0xb5cb74;};return _0x48dc();}import{getTranslation as _0x272d57}from'../aicore/utils/common-translations.js';function _0x28b4(_0x28a452,_0x1de614){const _0x48dc13=_0x48dc();return _0x28b4=function(_0x28b41a,_0x397548){_0x28b41a=_0x28b41a-0x69;let _0x2e0b63=_0x48dc13[_0x28b41a];return _0x2e0b63;},_0x28b4(_0x28a452,_0x1de614);}export class AIChatHistoryController extends _0x27e726{[_0x359452(0xc4)];[_0x359452(0x83)];[_0x359452(0x9b)];static get[_0x359452(0xcc)](){return[_0xf71b30,_0x52dc38,_0x2899b7,_0x27a951];}static get[_0x359452(0x74)](){const _0x38d00a=_0x359452;return _0x38d00a(0xac);}static get[_0x359452(0xa4)](){return!0x0;}static get[_0x359452(0xcf)](){return!0x0;}[_0x359452(0x70)](){const _0x4c03f2=_0x359452;this[_0x4c03f2(0xc4)]=this[_0x4c03f2(0x7f)][_0x4c03f2(0xa1)][_0x4c03f2(0xa3)](_0xf71b30),this[_0x4c03f2(0x83)]=this[_0x4c03f2(0x7f)][_0x4c03f2(0xa1)][_0x4c03f2(0xa3)](_0x2899b7),this[_0x4c03f2(0x9b)]=this[_0x4c03f2(0x7f)][_0x4c03f2(0xa1)][_0x4c03f2(0xa3)](_0x52dc38);const _0x5bce2a=this[_0x4c03f2(0x7f)][_0x4c03f2(0xa1)][_0x4c03f2(0xa3)](_0x27a951);try{const _0xa257ea=this[_0x4c03f2(0x9b)][_0x4c03f2(0x91)]();this[_0x4c03f2(0x99)]=new _0x287f1c({'connector':this[_0x4c03f2(0xc4)],'group':_0xa257ea}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x83)],_0x4c03f2(0x76),(_0x254729,_0x38a88d)=>{const _0x9d1d08=_0x4c03f2;this[_0x9d1d08(0x9c)](_0x38a88d['id'],_0x9d1d08(0x87)),this[_0x9d1d08(0x82)](_0x38a88d['id']);}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x83)],_0x4c03f2(0xc2),(_0x19fd53,_0x16a8d1)=>{const _0x206755=_0x4c03f2;this[_0x206755(0x9c)](_0x16a8d1['id'],_0x206755(0x94)),this[_0x206755(0xc8)](_0x16a8d1['id'],_0x16a8d1[_0x206755(0x69)]);}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x99)],_0x4c03f2(0xa9),(_0x366224,_0x4b2ac0)=>{const _0x2d46d6=_0x4c03f2;void 0x0!==_0x4b2ac0[_0x2d46d6(0xb2)][_0x2d46d6(0x69)]&&this[_0x2d46d6(0x83)][_0x2d46d6(0x6a)](_0x4b2ac0[_0x2d46d6(0xc1)],_0x4b2ac0[_0x2d46d6(0xb2)][_0x2d46d6(0x69)]),void 0x0!==_0x4b2ac0[_0x2d46d6(0xb2)][_0x2d46d6(0x8f)]&&this[_0x2d46d6(0xce)](),this[_0x2d46d6(0x9a)](_0x4b2ac0[_0x2d46d6(0xc1)]);}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x99)],_0x4c03f2(0xb6),(_0x3b39e0,_0x5eaa31)=>{const _0x5e94dd=_0x4c03f2;this[_0x5e94dd(0x9b)][_0x5e94dd(0x9e)](_0x5eaa31[_0x5e94dd(0xc1)]),this[_0x5e94dd(0x83)][_0x5e94dd(0x93)](_0x5eaa31[_0x5e94dd(0xc1)]),this[_0x5e94dd(0x9a)](_0x5eaa31[_0x5e94dd(0xc1)]);}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x99)],_0x4c03f2(0xad),()=>{const _0x1438ce=_0x4c03f2;this[_0x1438ce(0xce)]();}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x99)],_0x4c03f2(0xb4),(_0x39a804,_0x556e14)=>{const _0x461cfe=_0x4c03f2;this[_0x461cfe(0x75)](_0x556e14[_0x461cfe(0xb4)],_0x556e14[_0x461cfe(0xae)],_0x556e14[_0x461cfe(0xc1)]);}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x83)],_0x4c03f2(0xc9),(_0x390866,_0x1ae357)=>{const _0x458f07=_0x4c03f2;this[_0x458f07(0xd0)](_0x1ae357['id']);}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x83)],_0x4c03f2(0xa6),(_0x42800b,_0x404e56)=>{const _0x33e46b=_0x4c03f2,_0x270b46=_0x404e56[_0x33e46b(0x8f)]?_0x33e46b(0xc6):_0x33e46b(0x88);this[_0x33e46b(0x9c)](_0x404e56['id'],_0x270b46),this[_0x33e46b(0xb5)](_0x404e56['id'],_0x404e56[_0x33e46b(0x8f)]);}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x83)],_0x4c03f2(0x6b),()=>{const _0x1def61=_0x4c03f2;_0x5bce2a[_0x1def61(0xbd)][_0x1def61(0x98)](_0x1def61(0xa5));}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x9b)],_0x4c03f2(0x86),()=>{const _0x50ca65=_0x4c03f2;this[_0x50ca65(0xce)]();}),_0x5bce2a[_0x4c03f2(0xbd)]['on'](_0x4c03f2(0xb1),()=>{const _0x314db3=_0x4c03f2;this[_0x314db3(0xa2)]();}),this[_0x4c03f2(0x96)](_0x5bce2a,_0x4c03f2(0x78),(_0xf712f2,_0xd88455)=>{const _0x5bc624=_0x4c03f2;this[_0x5bc624(0x7e)](_0xd88455);}),this[_0x4c03f2(0x96)](this[_0x4c03f2(0x83)],_0x4c03f2(0x7a),()=>{const _0x41f5dc=_0x4c03f2;_0x5bce2a[_0x41f5dc(0x97)]();});}catch(_0x23d0c6){this[_0x4c03f2(0x75)](_0x23d0c6,_0x4c03f2(0x70));}}async[_0x359452(0xc8)](_0xb43d1d,_0x288b18){const _0x31fc87=_0x359452;await this[_0x31fc87(0x99)][_0x31fc87(0x6a)](_0xb43d1d,_0x288b18);}async[_0x359452(0xb5)](_0xcc7916,_0x470d05){const _0x24c435=_0x359452;await this[_0x24c435(0x99)][_0x24c435(0xcd)](_0xcc7916,_0x470d05);}async[_0x359452(0x82)](_0x34f430){const _0x28fd4a=_0x359452;await this[_0x28fd4a(0x99)][_0x28fd4a(0xab)](_0x34f430);}async[_0x359452(0xd0)](_0x3846d2){const _0x297ab2=_0x359452;await this[_0x297ab2(0x9b)][_0x297ab2(0x7d)](_0x3846d2);}async[_0x359452(0xa2)](){const _0x379ea1=_0x359452;this[_0x379ea1(0x83)][_0x379ea1(0xbf)](''),this[_0x379ea1(0x83)][_0x379ea1(0xa8)](!0x0),await this[_0x379ea1(0x99)][_0x379ea1(0x70)](),this[_0x379ea1(0x83)][_0x379ea1(0xa8)](!0x1);}[_0x359452(0xce)](){const _0x1af235=_0x359452,_0x156165=this[_0x1af235(0x9b)][_0x1af235(0xa0)]?.['id'],_0x2df1e3=this[_0x1af235(0x92)]()[_0x1af235(0xcb)](_0xdd5609=>({'title':_0xdd5609[_0x1af235(0x69)],'items':_0xdd5609[_0x1af235(0xc3)][_0x1af235(0xcb)](_0x5860e4=>({'id':_0x5860e4['id'],'title':_0x5860e4[_0x1af235(0x69)]||_0x272d57(this[_0x1af235(0x7f)][_0x1af235(0xb0)],_0x1af235(0xc7)),'createdAt':new Date(_0x5860e4[_0x1af235(0x8c)])[_0x1af235(0xbc)](),'active':_0x5860e4['id']===_0x156165,'pinned':_0x5860e4[_0x1af235(0x8f)]}))}));this[_0x1af235(0x83)][_0x1af235(0xd1)](_0x2df1e3);}[_0x359452(0x9c)](_0x355a8e,_0x1c3ec7){const _0x136e4b=_0x359452;this[_0x136e4b(0x83)][_0x136e4b(0xbe)](_0x355a8e,_0x1c3ec7,!0x0);}[_0x359452(0x9a)](_0x378296){const _0x48f5f6=_0x359452;this[_0x48f5f6(0x83)][_0x48f5f6(0xbe)](_0x378296,null,!0x1);}[_0x359452(0x75)](_0x2864bf,_0xc89f1d,_0x56a5a4){const _0x268d92=_0x359452,_0x133c9c=this[_0x268d92(0x7c)](_0xc89f1d,_0x56a5a4);this[_0x268d92(0x83)][_0x268d92(0xbf)](_0x133c9c),_0x56a5a4&&this[_0x268d92(0x9a)](_0x56a5a4),this[_0x268d92(0x83)][_0x268d92(0xa8)](!0x1);}[_0x359452(0x7c)](_0x4ecfb6,_0xdfd6eb){const _0x53a5f9=_0x359452,_0x2cf6dc=_0xdfd6eb?this[_0x53a5f9(0x99)][_0x53a5f9(0x95)](_0xdfd6eb):null,_0x3a33c7=_0x2cf6dc?.[_0x53a5f9(0x69)]||_0x272d57(this[_0x53a5f9(0x7f)][_0x53a5f9(0xb0)],_0x53a5f9(0xc7));switch(_0x4ecfb6){case _0x53a5f9(0x6a):return _0x272d57(this[_0x53a5f9(0x7f)][_0x53a5f9(0xb0)],_0x53a5f9(0x73),_0x3a33c7);case _0x53a5f9(0xcd):{const _0x4da247=_0x272d57(this[_0x53a5f9(0x7f)][_0x53a5f9(0xb0)],_0x2cf6dc?.[_0x53a5f9(0x8f)]?_0x53a5f9(0xb3):_0x53a5f9(0x8a));return _0x272d57(this[_0x53a5f9(0x7f)][_0x53a5f9(0xb0)],_0x53a5f9(0x85),[_0x4da247,_0x3a33c7]);}case _0x53a5f9(0xab):return _0x272d57(this[_0x53a5f9(0x7f)][_0x53a5f9(0xb0)],_0x53a5f9(0xaa),_0x3a33c7);case _0x53a5f9(0x70):case _0x53a5f9(0x81):return _0x272d57(this[_0x53a5f9(0x7f)][_0x53a5f9(0xb0)],_0x53a5f9(0x77));default:return _0x272d57(this[_0x53a5f9(0x7f)][_0x53a5f9(0xb0)],_0x53a5f9(0x80));}}[_0x359452(0x92)](){const _0x37eb7e=_0x359452,_0x29b3eb=new Date(),_0xccabbc=new Date(_0x29b3eb[_0x37eb7e(0xba)](),_0x29b3eb[_0x37eb7e(0xc0)](),_0x29b3eb[_0x37eb7e(0x72)]()),_0x39d671=new Date(_0xccabbc);_0x39d671[_0x37eb7e(0xaf)](_0x39d671[_0x37eb7e(0x72)]()-0x1);const _0x4da442=new Date(_0xccabbc);_0x4da442[_0x37eb7e(0xaf)](_0x4da442[_0x37eb7e(0x72)]()-0xe);const _0x20997f=this[_0x37eb7e(0x99)][_0x37eb7e(0x6f)]({'pinned':!0x0}),_0x3e32fb=this[_0x37eb7e(0x99)][_0x37eb7e(0x6f)]({'from':_0xccabbc,'to':_0xccabbc}),_0x346c38=this[_0x37eb7e(0x99)][_0x37eb7e(0x6f)]({'from':_0x39d671,'to':_0x39d671}),_0x488c14=this[_0x37eb7e(0x99)][_0x37eb7e(0x6f)]({'from':_0x4da442,'to':_0x39d671}),_0x4e4d56=this[_0x37eb7e(0x99)][_0x37eb7e(0x6f)]({'to':_0x4da442}),_0xa0f674=[];return _0x20997f[_0x37eb7e(0x79)]>0x0&&_0xa0f674[_0x37eb7e(0x6c)]({'title':_0x272d57(this[_0x37eb7e(0x7f)][_0x37eb7e(0xb0)],_0x37eb7e(0x6d)),'items':_0x20997f}),_0x3e32fb[_0x37eb7e(0x79)]>0x0&&_0xa0f674[_0x37eb7e(0x6c)]({'title':_0x272d57(this[_0x37eb7e(0x7f)][_0x37eb7e(0xb0)],_0x37eb7e(0x8d)),'items':_0x3e32fb}),_0x346c38[_0x37eb7e(0x79)]>0x0&&_0xa0f674[_0x37eb7e(0x6c)]({'title':_0x272d57(this[_0x37eb7e(0x7f)][_0x37eb7e(0xb0)],_0x37eb7e(0x8e)),'items':_0x346c38}),_0x488c14[_0x37eb7e(0x79)]>0x0&&_0xa0f674[_0x37eb7e(0x6c)]({'title':_0x272d57(this[_0x37eb7e(0x7f)][_0x37eb7e(0xb0)],_0x37eb7e(0xa7)),'items':_0x488c14}),_0x4e4d56[_0x37eb7e(0x79)]>0x0&&_0xa0f674[_0x37eb7e(0x6c)]({'title':_0x272d57(this[_0x37eb7e(0x7f)][_0x37eb7e(0xb0)],_0x37eb7e(0x9f)),'items':_0x4e4d56}),_0xa0f674;}[_0x359452(0x7e)](_0x577adc){const _0x3c5e89=_0x359452;this[_0x3c5e89(0x83)][_0x3c5e89(0xbb)](_0x577adc);}}
23
+ function _0x5b4d(){const _0x48632f=['chat','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','handleRemovedConversation','_handleRemove','getMonth','resizeTabs','unpin','loadItems','5246405HlPBZw','removeConversation','setConversationPinned','title','_setItemLoading','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_setIsMaximized','AI_CHAT_HISTORY_CATEGORY_TODAY','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','updates','641540IhorUM','requires','pluginName','locale','activateTab','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','createdAt','getGroupId','plugins','history','loadConversation','493312AmVPbb','setIsMaximized','AI_CHAT_UNTITLED_CONVERSATION','_handleHistoryErrorUI','6750368vaDvSS','operation','7EuopKR','_generateErrorMessage','rename','_clearItemLoading','isOfficialPlugin','_handleEditTitle','AI_CHAT_HISTORY_PIN_ACTION','activateTab:history','context','_getCategorizedItems','_aiConnector','119892yGdvAK','itemUpdated','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','updateItemTitle','_showConversationHistory','AIChatHistoryController','toLocaleDateString','showError','openChat','getItems','40UAeyTa','itemsLoaded','map','1062164eQNiRM','AI_CHAT_HISTORY_CATEGORY_LATER','itemRemoved','_aiChatController','updateItemLoadingState','listenTo','_handleSelectConversation','1414836SKndUv','_aiChatHistoryUi','AI_CHAT_HISTORY_CATEGORY_PINNED','items','getFullYear','pin','setLoadingSkeleton','change:activeConversation','removeHistoryItem','push','updateItems','itemId','_updateHistoryItemsUI','setDate','AI_CHAT_HISTORY_ERROR_GENERIC','27qRwMeT','init','isPremiumPlugin','pinned','_handleTogglePin','error','length','view','updateItemPinned','get','getDate','editConversationTitle','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','AI_CHAT_HISTORY_UNPIN_ACTION','getItem','resizedTabs','selectConversation','remove','resize','activeConversation','removeItem'];_0x5b4d=function(){return _0x48632f;};return _0x5b4d();}const _0x1cfd37=_0x1fde;(function(_0x45d0f8,_0x4bb6e3){const _0x1d90b6=_0x1fde,_0x2e383c=_0x45d0f8();while(!![]){try{const _0x5dd65a=parseInt(_0x1d90b6(0x1e2))/0x1+-parseInt(_0x1d90b6(0x200))/0x2+parseInt(_0x1d90b6(0x1f3))/0x3*(parseInt(_0x1d90b6(0x1fd))/0x4)+parseInt(_0x1d90b6(0x1cd))/0x5+parseInt(_0x1d90b6(0x207))/0x6*(parseInt(_0x1d90b6(0x1e8))/0x7)+-parseInt(_0x1d90b6(0x1e6))/0x8+parseInt(_0x1d90b6(0x1b0))/0x9*(-parseInt(_0x1d90b6(0x1d7))/0xa);if(_0x5dd65a===_0x4bb6e3)break;else _0x2e383c['push'](_0x2e383c['shift']());}catch(_0x545683){_0x2e383c['push'](_0x2e383c['shift']());}}}(_0x5b4d,0x9518b));import{ContextPlugin as _0x4ce7b5}from'ckeditor5/src/core.js';import{AIConnector as _0x2744b9}from'../aicore/aiconnector.js';import{AIChatController as _0x3717e6}from'../aichat/aichatcontroller.js';import{AITabs as _0x309b6e}from'../aitabs/aitabs.js';function _0x1fde(_0xd6c9e,_0x51416e){const _0x5b4d08=_0x5b4d();return _0x1fde=function(_0x1fde34,_0x21a03f){_0x1fde34=_0x1fde34-0x1a3;let _0x400a38=_0x5b4d08[_0x1fde34];return _0x400a38;},_0x1fde(_0xd6c9e,_0x51416e);}import{AIChatHistoryUI as _0x26e9a2}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x41aa9e}from'./model/aichathistoryconversations.js';import{getTranslation as _0x569a62}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x4ce7b5{[_0x1cfd37(0x1f2)];[_0x1cfd37(0x208)];[_0x1cfd37(0x203)];static get[_0x1cfd37(0x1d8)](){return[_0x2744b9,_0x3717e6,_0x26e9a2,_0x309b6e];}static get[_0x1cfd37(0x1d9)](){const _0xdfaf17=_0x1cfd37;return _0xdfaf17(0x1f8);}static get[_0x1cfd37(0x1ec)](){return!0x0;}static get[_0x1cfd37(0x1b2)](){return!0x0;}[_0x1cfd37(0x1b1)](){const _0x558d88=_0x1cfd37;this[_0x558d88(0x1f2)]=this[_0x558d88(0x1f0)][_0x558d88(0x1df)][_0x558d88(0x1b9)](_0x2744b9),this[_0x558d88(0x208)]=this[_0x558d88(0x1f0)][_0x558d88(0x1df)][_0x558d88(0x1b9)](_0x26e9a2),this[_0x558d88(0x203)]=this[_0x558d88(0x1f0)][_0x558d88(0x1df)][_0x558d88(0x1b9)](_0x3717e6);const _0x44306c=this[_0x558d88(0x1f0)][_0x558d88(0x1df)][_0x558d88(0x1b9)](_0x309b6e);try{const _0x43ba7a=this[_0x558d88(0x203)][_0x558d88(0x1de)]();this[_0x558d88(0x1e0)]=new _0x41aa9e({'connector':this[_0x558d88(0x1f2)],'group':_0x43ba7a}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1ce),(_0x1b839e,_0x12079b)=>{const _0x3d5ac3=_0x558d88;this[_0x3d5ac3(0x1d1)](_0x12079b['id'],_0x3d5ac3(0x1c1)),this[_0x3d5ac3(0x1c8)](_0x12079b['id']);}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1bb),(_0x3b06b7,_0x10d4f0)=>{const _0x3aa324=_0x558d88;this[_0x3aa324(0x1d1)](_0x10d4f0['id'],_0x3aa324(0x1ea)),this[_0x3aa324(0x1ed)](_0x10d4f0['id'],_0x10d4f0[_0x3aa324(0x1d0)]);}),this[_0x558d88(0x205)](this[_0x558d88(0x1e0)],_0x558d88(0x1f4),(_0x41b7c4,_0x48a8a2)=>{const _0x559dcc=_0x558d88;void 0x0!==_0x48a8a2[_0x559dcc(0x1d6)][_0x559dcc(0x1d0)]&&this[_0x559dcc(0x208)][_0x559dcc(0x1f6)](_0x48a8a2[_0x559dcc(0x1ac)],_0x48a8a2[_0x559dcc(0x1d6)][_0x559dcc(0x1d0)]),void 0x0!==_0x48a8a2[_0x559dcc(0x1d6)][_0x559dcc(0x1b3)]&&this[_0x559dcc(0x1ad)](),this[_0x559dcc(0x1eb)](_0x48a8a2[_0x559dcc(0x1ac)]);}),this[_0x558d88(0x205)](this[_0x558d88(0x1e0)],_0x558d88(0x202),(_0x3a089c,_0x4013fd)=>{const _0x28cb97=_0x558d88;this[_0x28cb97(0x203)][_0x28cb97(0x1c7)](_0x4013fd[_0x28cb97(0x1ac)]),this[_0x28cb97(0x208)][_0x28cb97(0x1a9)](_0x4013fd[_0x28cb97(0x1ac)]),this[_0x28cb97(0x1eb)](_0x4013fd[_0x28cb97(0x1ac)]);}),this[_0x558d88(0x205)](this[_0x558d88(0x1e0)],_0x558d88(0x1fe),()=>{const _0x2f4d9c=_0x558d88;this[_0x2f4d9c(0x1ad)]();}),this[_0x558d88(0x205)](this[_0x558d88(0x1e0)],_0x558d88(0x1b5),(_0x116c9e,_0x618b21)=>{const _0x16db8f=_0x558d88;this[_0x16db8f(0x1e5)](_0x618b21[_0x16db8f(0x1b5)],_0x618b21[_0x16db8f(0x1e7)],_0x618b21[_0x16db8f(0x1ac)]);}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1c0),(_0x13cb8a,_0xbf19c5)=>{const _0x124092=_0x558d88;this[_0x124092(0x206)](_0xbf19c5['id']);}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1cf),(_0xa3ee52,_0xeec5a6)=>{const _0x5096db=_0x558d88,_0x546bf4=_0xeec5a6[_0x5096db(0x1b3)]?_0x5096db(0x1a6):_0x5096db(0x1cb);this[_0x5096db(0x1d1)](_0xeec5a6['id'],_0x546bf4),this[_0x5096db(0x1b4)](_0xeec5a6['id'],_0xeec5a6[_0x5096db(0x1b3)]);}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1fb),()=>{const _0x1f6ad0=_0x558d88;_0x44306c[_0x1f6ad0(0x1b7)][_0x1f6ad0(0x1db)](_0x1f6ad0(0x1c5));}),this[_0x558d88(0x205)](this[_0x558d88(0x203)],_0x558d88(0x1a8),()=>{const _0x4f0bc6=_0x558d88;this[_0x4f0bc6(0x1ad)]();}),_0x44306c[_0x558d88(0x1b7)]['on'](_0x558d88(0x1ef),()=>{const _0x4017ef=_0x558d88;this[_0x4017ef(0x1f7)]();}),this[_0x558d88(0x205)](_0x44306c,_0x558d88(0x1bf),(_0x42012c,_0x28ba9e)=>{const _0x443498=_0x558d88;this[_0x443498(0x1d3)](_0x28ba9e);}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1ca),()=>{const _0x4809c6=_0x558d88;_0x44306c[_0x4809c6(0x1c2)]();});}catch(_0x42ee32){this[_0x558d88(0x1e5)](_0x42ee32,_0x558d88(0x1b1));}}async[_0x1cfd37(0x1ed)](_0x48161c,_0x225342){const _0x1ba7c8=_0x1cfd37;await this[_0x1ba7c8(0x1e0)][_0x1ba7c8(0x1f6)](_0x48161c,_0x225342);}async[_0x1cfd37(0x1b4)](_0x2d99ba,_0x570560){const _0x213e88=_0x1cfd37;await this[_0x213e88(0x1e0)][_0x213e88(0x1b8)](_0x2d99ba,_0x570560);}async[_0x1cfd37(0x1c8)](_0x2e48e6){const _0x315a57=_0x1cfd37;await this[_0x315a57(0x1e0)][_0x315a57(0x1c4)](_0x2e48e6);}async[_0x1cfd37(0x206)](_0x30a7bc){const _0x26c594=_0x1cfd37;await this[_0x26c594(0x203)][_0x26c594(0x1e1)](_0x30a7bc);}async[_0x1cfd37(0x1f7)](){const _0x2bfddf=_0x1cfd37;this[_0x2bfddf(0x208)][_0x2bfddf(0x1fa)](''),this[_0x2bfddf(0x208)][_0x2bfddf(0x1a7)](!0x0),await this[_0x2bfddf(0x1e0)][_0x2bfddf(0x1b1)](),this[_0x2bfddf(0x208)][_0x2bfddf(0x1a7)](!0x1);}[_0x1cfd37(0x1ad)](){const _0x295c73=_0x1cfd37,_0x136336=this[_0x295c73(0x203)][_0x295c73(0x1c3)]?.['id'],_0x14eb5d=this[_0x295c73(0x1f1)]()[_0x295c73(0x1ff)](_0x3b2ba4=>({'title':_0x3b2ba4[_0x295c73(0x1d0)],'items':_0x3b2ba4[_0x295c73(0x1a4)][_0x295c73(0x1ff)](_0xde27e2=>({'id':_0xde27e2['id'],'title':_0xde27e2[_0x295c73(0x1d0)]||_0x569a62(this[_0x295c73(0x1f0)][_0x295c73(0x1da)],_0x295c73(0x1e4)),'createdAt':new Date(_0xde27e2[_0x295c73(0x1dd)])[_0x295c73(0x1f9)](),'active':_0xde27e2['id']===_0x136336,'pinned':_0xde27e2[_0x295c73(0x1b3)]}))}));this[_0x295c73(0x208)][_0x295c73(0x1ab)](_0x14eb5d);}[_0x1cfd37(0x1d1)](_0x2027a0,_0x386c0a){const _0x4de691=_0x1cfd37;this[_0x4de691(0x208)][_0x4de691(0x204)](_0x2027a0,_0x386c0a,!0x0);}[_0x1cfd37(0x1eb)](_0x2a9324){const _0x5b2421=_0x1cfd37;this[_0x5b2421(0x208)][_0x5b2421(0x204)](_0x2a9324,null,!0x1);}[_0x1cfd37(0x1e5)](_0x5b04c4,_0x199386,_0x3f3b8d){const _0xc35b0=_0x1cfd37,_0x3a7138=this[_0xc35b0(0x1e9)](_0x199386,_0x3f3b8d);this[_0xc35b0(0x208)][_0xc35b0(0x1fa)](_0x3a7138),_0x3f3b8d&&this[_0xc35b0(0x1eb)](_0x3f3b8d),this[_0xc35b0(0x208)][_0xc35b0(0x1a7)](!0x1);}[_0x1cfd37(0x1e9)](_0x5c0463,_0x5bdabb){const _0x144aff=_0x1cfd37,_0x53597e=_0x5bdabb?this[_0x144aff(0x1e0)][_0x144aff(0x1be)](_0x5bdabb):null,_0x3a8c34=_0x53597e?.[_0x144aff(0x1d0)]||_0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1e4));switch(_0x5c0463){case _0x144aff(0x1f6):return _0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1f5),_0x3a8c34);case _0x144aff(0x1b8):{const _0x11e110=_0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x53597e?.[_0x144aff(0x1b3)]?_0x144aff(0x1bd):_0x144aff(0x1ee));return _0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1bc),[_0x11e110,_0x3a8c34]);}case _0x144aff(0x1c4):return _0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1d5),_0x3a8c34);case _0x144aff(0x1b1):case _0x144aff(0x1cc):return _0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1dc));default:return _0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1af));}}[_0x1cfd37(0x1f1)](){const _0x410b12=_0x1cfd37,_0x202876=new Date(),_0x211e1f=new Date(_0x202876[_0x410b12(0x1a5)](),_0x202876[_0x410b12(0x1c9)](),_0x202876[_0x410b12(0x1ba)]()),_0xa9095f=new Date(_0x211e1f);_0xa9095f[_0x410b12(0x1ae)](_0xa9095f[_0x410b12(0x1ba)]()-0x1);const _0x107ff3=new Date(_0x211e1f);_0x107ff3[_0x410b12(0x1ae)](_0x107ff3[_0x410b12(0x1ba)]()-0xe);const _0x1962b1=this[_0x410b12(0x1e0)][_0x410b12(0x1fc)]({'pinned':!0x0}),_0x367015=this[_0x410b12(0x1e0)][_0x410b12(0x1fc)]({'from':_0x211e1f,'to':_0x211e1f}),_0x554be7=this[_0x410b12(0x1e0)][_0x410b12(0x1fc)]({'from':_0xa9095f,'to':_0xa9095f}),_0x28f9ab=this[_0x410b12(0x1e0)][_0x410b12(0x1fc)]({'from':_0x107ff3,'to':_0xa9095f}),_0x3aff04=this[_0x410b12(0x1e0)][_0x410b12(0x1fc)]({'to':_0x107ff3}),_0x4e0542=[];return _0x1962b1[_0x410b12(0x1b6)]>0x0&&_0x4e0542[_0x410b12(0x1aa)]({'title':_0x569a62(this[_0x410b12(0x1f0)][_0x410b12(0x1da)],_0x410b12(0x1a3)),'items':_0x1962b1}),_0x367015[_0x410b12(0x1b6)]>0x0&&_0x4e0542[_0x410b12(0x1aa)]({'title':_0x569a62(this[_0x410b12(0x1f0)][_0x410b12(0x1da)],_0x410b12(0x1d4)),'items':_0x367015}),_0x554be7[_0x410b12(0x1b6)]>0x0&&_0x4e0542[_0x410b12(0x1aa)]({'title':_0x569a62(this[_0x410b12(0x1f0)][_0x410b12(0x1da)],_0x410b12(0x1c6)),'items':_0x554be7}),_0x28f9ab[_0x410b12(0x1b6)]>0x0&&_0x4e0542[_0x410b12(0x1aa)]({'title':_0x569a62(this[_0x410b12(0x1f0)][_0x410b12(0x1da)],_0x410b12(0x1d2)),'items':_0x28f9ab}),_0x3aff04[_0x410b12(0x1b6)]>0x0&&_0x4e0542[_0x410b12(0x1aa)]({'title':_0x569a62(this[_0x410b12(0x1f0)][_0x410b12(0x1da)],_0x410b12(0x201)),'items':_0x3aff04}),_0x4e0542;}[_0x1cfd37(0x1d3)](_0x3e0556){const _0x427462=_0x1cfd37;this[_0x427462(0x208)][_0x427462(0x1e3)](_0x3e0556);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e602b=_0x4f3c;(function(_0x29f78f,_0x2d3288){const _0x57055c=_0x4f3c,_0x363066=_0x29f78f();while(!![]){try{const _0x4babdc=-parseInt(_0x57055c(0x11a))/0x1+-parseInt(_0x57055c(0x10f))/0x2+-parseInt(_0x57055c(0x124))/0x3*(parseInt(_0x57055c(0x109))/0x4)+-parseInt(_0x57055c(0x12d))/0x5+-parseInt(_0x57055c(0x113))/0x6+-parseInt(_0x57055c(0x115))/0x7*(parseInt(_0x57055c(0x123))/0x8)+parseInt(_0x57055c(0x116))/0x9*(parseInt(_0x57055c(0x121))/0xa);if(_0x4babdc===_0x2d3288)break;else _0x363066['push'](_0x363066['shift']());}catch(_0x3f0614){_0x363066['push'](_0x363066['shift']());}}}(_0x52c1,0x5e563));import{ContextPlugin as _0x25c71e}from'ckeditor5/src/core.js';function _0x4f3c(_0x5eed2b,_0x2f1f40){const _0x52c1ee=_0x52c1();return _0x4f3c=function(_0x4f3c71,_0x355aa5){_0x4f3c71=_0x4f3c71-0x105;let _0x541257=_0x52c1ee[_0x4f3c71];return _0x541257;},_0x4f3c(_0x5eed2b,_0x2f1f40);}import{AITabs as _0x4a325e}from'../aitabs/aitabs.js';import{IconAIHistory as _0x21079e}from'ckeditor5/src/icons.js';function _0x52c1(){const _0x1c54e5=['619098tMqBgH','updateItems','context','updateHistoryItemsWithCategories','setLoadingSkeleton','resizeTabs','isPremiumPlugin','750vvJpIc','selectConversation','5592XXJSRg','6WFofNK','locale','get','pluginName','plugins','showConversationHistory','hideError','isOfficialPlugin','showResizeButton','3830355LThdkt','delegate','openChat','isMaximized','setIsMaximized','requires','updateItemTitle','view','editConversationTitle','addTab','1441156NXIjXZ','AI_CHAT_HISTORY_HEADING','_historyView','removeHistoryItem','AIChatHistoryUI','isLoading','471170ogrmky','removeConversation','updateItemLoadingState','setConversationPinned','364698itrPVL','AITabs','5901mbpWWk','405333jUnBeu','errorMessage','history','showError'];_0x52c1=function(){return _0x1c54e5;};return _0x52c1();}import{AIChatHistoryView as _0x3f8c0c}from'./ui/aichathistoryview.js';import{getTranslation as _0x42e43a}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x5e602b(0x129),_0x5e602b(0x110),_0x5e602b(0x107),_0x5e602b(0x112),_0x5e602b(0x122),_0x5e602b(0x12f),_0x5e602b(0x11f)];export class AIChatHistoryUI extends _0x25c71e{static get[_0x5e602b(0x132)](){return[_0x4a325e];}[_0x5e602b(0x10b)];static get[_0x5e602b(0x127)](){const _0x5c2d42=_0x5e602b;return _0x5c2d42(0x10d);}static get[_0x5e602b(0x12b)](){return!0x0;}static get[_0x5e602b(0x120)](){return!0x0;}constructor(_0x50d4e6){const _0x26cc74=_0x5e602b;super(_0x50d4e6);const _0x2e7f6b=this[_0x26cc74(0x11c)][_0x26cc74(0x128)][_0x26cc74(0x126)](_0x26cc74(0x114));this[_0x26cc74(0x10b)]=new _0x3f8c0c(this[_0x26cc74(0x11c)][_0x26cc74(0x125)],_0x2e7f6b[_0x26cc74(0x12c)]),this[_0x26cc74(0x10b)][_0x26cc74(0x12e)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x2e7f6b[_0x26cc74(0x106)][_0x26cc74(0x108)]({'id':_0x26cc74(0x118),'buttonLabel':_0x42e43a(this[_0x26cc74(0x11c)][_0x26cc74(0x125)],_0x26cc74(0x10a)),'buttonIcon':_0x21079e,'order':0x0,'content':this[_0x26cc74(0x10b)]});}[_0x5e602b(0x10c)](_0x773e41){const _0x486451=_0x5e602b;this[_0x486451(0x10b)][_0x486451(0x10c)](_0x773e41);}[_0x5e602b(0x11b)](_0x11e1c7){const _0x2af626=_0x5e602b;this[_0x2af626(0x10b)][_0x2af626(0x11d)](_0x11e1c7);}[_0x5e602b(0x105)](_0x124d13,_0x26982b){const _0x21a836=_0x5e602b;this[_0x21a836(0x10b)][_0x21a836(0x105)](_0x124d13,_0x26982b);}[_0x5e602b(0x111)](_0x21d104,_0x146a0b,_0x4aec52){const _0x4eb3ae=_0x5e602b;this[_0x4eb3ae(0x10b)][_0x4eb3ae(0x111)](_0x21d104,_0x146a0b,_0x4aec52);}[_0x5e602b(0x11e)](_0x51f0a6){const _0xd4bc85=_0x5e602b;this[_0xd4bc85(0x10b)][_0xd4bc85(0x10e)]=_0x51f0a6;}[_0x5e602b(0x119)](_0x3e8edf){const _0x199fa5=_0x5e602b;this[_0x199fa5(0x10b)][_0x199fa5(0x117)]=_0x3e8edf;}[_0x5e602b(0x12a)](){const _0x486b3f=_0x5e602b;this[_0x486b3f(0x10b)][_0x486b3f(0x117)]='';}[_0x5e602b(0x131)](_0x172d89){const _0x10f8c8=_0x5e602b;this[_0x10f8c8(0x10b)][_0x10f8c8(0x130)]=_0x172d89;}}
23
+ function _0x2a5b(_0xdc6cd7,_0x5c154f){const _0x524558=_0x5245();return _0x2a5b=function(_0x2a5b0b,_0x5382ec){_0x2a5b0b=_0x2a5b0b-0x15d;let _0x5f2dd5=_0x524558[_0x2a5b0b];return _0x5f2dd5;},_0x2a5b(_0xdc6cd7,_0x5c154f);}const _0x6801a6=_0x2a5b;function _0x5245(){const _0x3e415f=['1aZClfH','openChat','updateItems','AI_CHAT_HISTORY_HEADING','showError','isPremiumPlugin','requires','AITabs','pluginName','removeHistoryItem','setIsMaximized','621268mSOceW','editConversationTitle','setLoadingSkeleton','updateItemLoadingState','selectConversation','hideError','delegate','updateHistoryItemsWithCategories','errorMessage','showResizeButton','isOfficialPlugin','2535372WgjFlX','117564qHtHsR','context','get','updateItemTitle','showConversationHistory','locale','928193sLKbdq','removeConversation','setConversationPinned','history','10CvYQkR','544302IkChFK','_historyView','addTab','view','39yUTvmD','1872770NxjJbJ','plugins','isMaximized','12MvagAb','635592BWTWfF','resizeTabs','isLoading','AIChatHistoryUI'];_0x5245=function(){return _0x3e415f;};return _0x5245();}(function(_0xbca33a,_0x7c1c7c){const _0x42088b=_0x2a5b,_0x140b27=_0xbca33a();while(!![]){try{const _0x441c94=-parseInt(_0x42088b(0x170))/0x1*(parseInt(_0x42088b(0x17b))/0x2)+parseInt(_0x42088b(0x167))/0x3*(-parseInt(_0x42088b(0x187))/0x4)+parseInt(_0x42088b(0x168))/0x5+-parseInt(_0x42088b(0x16b))/0x6*(-parseInt(_0x42088b(0x15e))/0x7)+-parseInt(_0x42088b(0x16c))/0x8+-parseInt(_0x42088b(0x186))/0x9*(-parseInt(_0x42088b(0x162))/0xa)+parseInt(_0x42088b(0x163))/0xb;if(_0x441c94===_0x7c1c7c)break;else _0x140b27['push'](_0x140b27['shift']());}catch(_0x21ca71){_0x140b27['push'](_0x140b27['shift']());}}}(_0x5245,0x30878));import{ContextPlugin as _0x3f7001}from'ckeditor5/src/core.js';import{AITabs as _0x4d9170}from'../aitabs/aitabs.js';import{IconAIHistory as _0x282645}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x5c0f20}from'./ui/aichathistoryview.js';import{getTranslation as _0x379b66}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x6801a6(0x18b),_0x6801a6(0x15f),_0x6801a6(0x17c),_0x6801a6(0x160),_0x6801a6(0x17f),_0x6801a6(0x171),_0x6801a6(0x16d)];export class AIChatHistoryUI extends _0x3f7001{static get[_0x6801a6(0x176)](){return[_0x4d9170];}[_0x6801a6(0x164)];static get[_0x6801a6(0x178)](){const _0x33b6e7=_0x6801a6;return _0x33b6e7(0x16f);}static get[_0x6801a6(0x185)](){return!0x0;}static get[_0x6801a6(0x175)](){return!0x0;}constructor(_0x202529){const _0x32fba5=_0x6801a6;super(_0x202529);const _0x1db6a8=this[_0x32fba5(0x188)][_0x32fba5(0x169)][_0x32fba5(0x189)](_0x32fba5(0x177));this[_0x32fba5(0x164)]=new _0x5c0f20(this[_0x32fba5(0x188)][_0x32fba5(0x15d)],_0x1db6a8[_0x32fba5(0x184)]),this[_0x32fba5(0x164)][_0x32fba5(0x181)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x1db6a8[_0x32fba5(0x166)][_0x32fba5(0x165)]({'id':_0x32fba5(0x161),'buttonLabel':_0x379b66(this[_0x32fba5(0x188)][_0x32fba5(0x15d)],_0x32fba5(0x173)),'buttonIcon':_0x282645,'order':0x0,'content':this[_0x32fba5(0x164)]});}[_0x6801a6(0x179)](_0x52d311){const _0xe83ab6=_0x6801a6;this[_0xe83ab6(0x164)][_0xe83ab6(0x179)](_0x52d311);}[_0x6801a6(0x172)](_0x344dcc){const _0x1737f6=_0x6801a6;this[_0x1737f6(0x164)][_0x1737f6(0x182)](_0x344dcc);}[_0x6801a6(0x18a)](_0x32e479,_0x41d25a){const _0x543cbe=_0x6801a6;this[_0x543cbe(0x164)][_0x543cbe(0x18a)](_0x32e479,_0x41d25a);}[_0x6801a6(0x17e)](_0x30bc43,_0xbf83e9,_0x3a4b08){const _0x14247c=_0x6801a6;this[_0x14247c(0x164)][_0x14247c(0x17e)](_0x30bc43,_0xbf83e9,_0x3a4b08);}[_0x6801a6(0x17d)](_0x2e0d53){const _0xadd27f=_0x6801a6;this[_0xadd27f(0x164)][_0xadd27f(0x16e)]=_0x2e0d53;}[_0x6801a6(0x174)](_0x150483){const _0x40d8ee=_0x6801a6;this[_0x40d8ee(0x164)][_0x40d8ee(0x183)]=_0x150483;}[_0x6801a6(0x180)](){const _0x4ec474=_0x6801a6;this[_0x4ec474(0x164)][_0x4ec474(0x183)]='';}[_0x6801a6(0x17a)](_0x2e95d0){const _0x49132a=_0x6801a6;this[_0x49132a(0x164)][_0x49132a(0x16a)]=_0x2e95d0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b5902=_0x15ff;(function(_0x1ca992,_0x177c26){const _0x56eead=_0x15ff,_0x3fe670=_0x1ca992();while(!![]){try{const _0x52bbe8=parseInt(_0x56eead(0xc9))/0x1*(-parseInt(_0x56eead(0xa6))/0x2)+parseInt(_0x56eead(0xac))/0x3*(parseInt(_0x56eead(0xad))/0x4)+-parseInt(_0x56eead(0xba))/0x5+-parseInt(_0x56eead(0xa5))/0x6+-parseInt(_0x56eead(0xaf))/0x7*(parseInt(_0x56eead(0xb6))/0x8)+-parseInt(_0x56eead(0xa2))/0x9*(-parseInt(_0x56eead(0xc3))/0xa)+parseInt(_0x56eead(0xb9))/0xb*(parseInt(_0x56eead(0xbb))/0xc);if(_0x52bbe8===_0x177c26)break;else _0x3fe670['push'](_0x3fe670['shift']());}catch(_0x7c0ab9){_0x3fe670['push'](_0x3fe670['shift']());}}}(_0x57f3,0x1885e));function _0x15ff(_0x31f0b8,_0x3be960){const _0x57f3e1=_0x57f3();return _0x15ff=function(_0x15ff65,_0x2b38d1){_0x15ff65=_0x15ff65-0x9a;let _0x156b02=_0x57f3e1[_0x15ff65];return _0x156b02;},_0x15ff(_0x31f0b8,_0x3be960);}function _0x57f3(){const _0x575d31=['164796jOMYrm','8VVePhl','loadItems','210665qvTdAW','pinned','getItem','updateConversation','items','updateTitle','getResult','24ySYjTD','updateItemTitle','find','218416ghcXxo','848090MuozxV','204Xeqbzy','getItems','itemsLoaded','createdAt','fire','getConversations','itemRemoved','itemUpdated','271430meOZTW','push','execute','getTime','map','splice','739NldIGh','group','from','updatePinned','error','filter','removeItem','getMonth','getDate','connector','36fCfnRQ','fetchConversations','getFullYear','433356labEvC','334RqoywL','addItem','deleteConversation','init','updateItemPinned','findIndex'];_0x57f3=function(){return _0x575d31;};return _0x57f3();}import{EmitterMixin as _0xb984eb}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x591e59}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0xb984eb(){[_0x5b5902(0xb3)]=[];[_0x5b5902(0xa1)];[_0x5b5902(0xca)];constructor({connector:_0x225de2,group:_0x26ea83}){const _0x39c152=_0x5b5902;super(),this[_0x39c152(0xa1)]=_0x225de2,this[_0x39c152(0xca)]=_0x26ea83;}async[_0x5b5902(0xa9)](){const _0x2a5f00=_0x5b5902;try{const _0xeff9a1=this[_0x2a5f00(0xa1)][_0x2a5f00(0xa3)](this[_0x2a5f00(0xca)]),_0x5d797b=await _0xeff9a1[_0x2a5f00(0xc0)]();this[_0x2a5f00(0xae)](_0x5d797b);}catch(_0x3ce05b){this[_0x2a5f00(0xbf)](_0x2a5f00(0x9c),{'error':_0x3ce05b,'operation':_0x2a5f00(0xa9)});}}[_0x5b5902(0xa7)](_0x341fc6){const _0x52417d=_0x5b5902;this[_0x52417d(0xb3)][_0x52417d(0xc4)](_0x341fc6);}async[_0x5b5902(0x9e)](_0x699962){const _0x428d64=_0x5b5902,_0x14362a=this[_0x428d64(0xb3)][_0x428d64(0xab)](_0x2270c9=>_0x2270c9['id']===_0x699962);if(-0x1===_0x14362a)return!0x1;try{return await this[_0x428d64(0xa1)][_0x428d64(0xa8)](_0x699962)[_0x428d64(0xc5)](),this[_0x428d64(0xb3)][_0x428d64(0xc8)](_0x14362a,0x1),this[_0x428d64(0xbf)](_0x428d64(0xc1),{'itemId':_0x699962}),!0x0;}catch(_0x4073d0){return this[_0x428d64(0xbf)](_0x428d64(0x9c),{'error':_0x4073d0,'operation':_0x428d64(0x9e),'itemId':_0x699962}),!0x1;}}[_0x5b5902(0xb1)](_0x299f75){const _0x28efae=_0x5b5902;return this[_0x28efae(0xb3)][_0x28efae(0xb8)](_0x252eee=>_0x252eee['id']===_0x299f75);}async[_0x5b5902(0xb7)](_0x59348e,_0x1305e3){const _0x335ae3=_0x5b5902,_0x546491=this[_0x335ae3(0xb1)](_0x59348e);if(!_0x546491)return!0x1;try{return await this[_0x335ae3(0xa1)][_0x335ae3(0xb2)](_0x59348e,{'title':_0x1305e3})[_0x335ae3(0xb5)](),_0x546491[_0x335ae3(0xb4)](_0x1305e3),this[_0x335ae3(0xbf)](_0x335ae3(0xc2),{'itemId':_0x59348e,'updates':{'title':_0x1305e3}}),!0x0;}catch(_0x1ae78d){return this[_0x335ae3(0xbf)](_0x335ae3(0x9c),{'error':_0x1ae78d,'operation':_0x335ae3(0xb7),'itemId':_0x59348e}),!0x1;}}async[_0x5b5902(0xaa)](_0x531713,_0x3f049a){const _0x1250ce=_0x5b5902,_0x5d094e=this[_0x1250ce(0xb1)](_0x531713);if(!_0x5d094e)return!0x1;try{return await this[_0x1250ce(0xa1)][_0x1250ce(0xb2)](_0x531713,{'pinned':_0x3f049a})[_0x1250ce(0xb5)](),_0x5d094e[_0x1250ce(0x9b)](_0x3f049a),this[_0x1250ce(0xbf)](_0x1250ce(0xc2),{'itemId':_0x531713,'updates':{'pinned':_0x3f049a}}),!0x0;}catch(_0x39b8af){return this[_0x1250ce(0xbf)](_0x1250ce(0x9c),{'error':_0x39b8af,'operation':_0x1250ce(0xaa),'itemId':_0x531713}),!0x1;}}[_0x5b5902(0xae)](_0x33559a){const _0x49ad61=_0x5b5902;try{this[_0x49ad61(0xb3)]=[],_0x33559a[_0x49ad61(0xc7)](_0x3ff9d4=>{const _0x3442a6=_0x49ad61;this[_0x3442a6(0xa7)](new _0x591e59(_0x3ff9d4));}),this[_0x49ad61(0xbf)](_0x49ad61(0xbd),{'items':[...this[_0x49ad61(0xb3)]]});}catch(_0x18433e){this[_0x49ad61(0xbf)](_0x49ad61(0x9c),{'error':_0x18433e,'operation':_0x49ad61(0xae)});}}[_0x5b5902(0xbc)](_0x3cb3f6={}){const _0x5a33cf=_0x5b5902,_0x5d944d=void 0x0!==_0x3cb3f6[_0x5a33cf(0xb0)]&&_0x3cb3f6[_0x5a33cf(0xb0)],_0x52c4b4=_0x3cb3f6[_0x5a33cf(0x9a)]?new Date(_0x3cb3f6[_0x5a33cf(0x9a)][_0x5a33cf(0xa4)](),_0x3cb3f6[_0x5a33cf(0x9a)][_0x5a33cf(0x9f)](),_0x3cb3f6[_0x5a33cf(0x9a)][_0x5a33cf(0xa0)]()):null,_0x4cb187=_0x3cb3f6['to']?new Date(_0x3cb3f6['to'][_0x5a33cf(0xa4)](),_0x3cb3f6['to'][_0x5a33cf(0x9f)](),_0x3cb3f6['to'][_0x5a33cf(0xa0)]()):null;return this[_0x5a33cf(0xb3)][_0x5a33cf(0x9d)](_0x120a01=>{const _0xb2f6ca=_0x5a33cf;if(_0x120a01[_0xb2f6ca(0xb0)]!==_0x5d944d)return!0x1;if(_0x4cb187){const _0x206ba5=new Date(_0x120a01[_0xb2f6ca(0xbe)][_0xb2f6ca(0xa4)](),_0x120a01[_0xb2f6ca(0xbe)][_0xb2f6ca(0x9f)](),_0x120a01[_0xb2f6ca(0xbe)][_0xb2f6ca(0xa0)]());return _0x52c4b4?_0x52c4b4[_0xb2f6ca(0xc6)]()===_0x4cb187[_0xb2f6ca(0xc6)]()?_0x206ba5[_0xb2f6ca(0xc6)]()===_0x52c4b4[_0xb2f6ca(0xc6)]():_0x206ba5<_0x4cb187&&_0x206ba5>=_0x52c4b4:_0x206ba5<_0x4cb187;}return!0x0;});}}
23
+ const _0x5a57f9=_0x1456;(function(_0x35d0c9,_0x18da66){const _0x5cbea3=_0x1456,_0x9dd6d6=_0x35d0c9();while(!![]){try{const _0x549ea8=parseInt(_0x5cbea3(0x101))/0x1+-parseInt(_0x5cbea3(0x120))/0x2*(parseInt(_0x5cbea3(0x125))/0x3)+-parseInt(_0x5cbea3(0x10b))/0x4*(parseInt(_0x5cbea3(0x11c))/0x5)+parseInt(_0x5cbea3(0xfb))/0x6+-parseInt(_0x5cbea3(0x11f))/0x7*(parseInt(_0x5cbea3(0xfa))/0x8)+parseInt(_0x5cbea3(0xfe))/0x9*(parseInt(_0x5cbea3(0x118))/0xa)+parseInt(_0x5cbea3(0x121))/0xb;if(_0x549ea8===_0x18da66)break;else _0x9dd6d6['push'](_0x9dd6d6['shift']());}catch(_0x53fac5){_0x9dd6d6['push'](_0x9dd6d6['shift']());}}}(_0x2da3,0x263ff));function _0x2da3(){const _0x1ec51d=['getMonth','execute','itemUpdated','getDate','fire','112qbBVYL','updateItemPinned','connector','pinned','deleteConversation','createdAt','itemRemoved','filter','find','from','items','getTime','getItems','324430uimjAe','fetchConversations','getConversations','error','36485RacBle','splice','group','11669TRsbmp','8152mlkavw','2141062IEZZbk','getResult','itemsLoaded','addItem','177UurWrL','init','getFullYear','loadItems','updatePinned','368qHKQPz','1546536ihXUzc','findIndex','push','27ofaiWs','updateConversation','map','128426dcMUgE','updateTitle','removeItem','updateItemTitle','getItem'];_0x2da3=function(){return _0x1ec51d;};return _0x2da3();}function _0x1456(_0x3467ed,_0xf19f64){const _0x2da393=_0x2da3();return _0x1456=function(_0x14560f,_0x4e3ffd){_0x14560f=_0x14560f-0xf6;let _0x3245b0=_0x2da393[_0x14560f];return _0x3245b0;},_0x1456(_0x3467ed,_0xf19f64);}import{EmitterMixin as _0x22461f}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x1e3243}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x22461f(){[_0x5a57f9(0x115)]=[];[_0x5a57f9(0x10d)];[_0x5a57f9(0x11e)];constructor({connector:_0x568d32,group:_0x5d065f}){const _0x4fd54b=_0x5a57f9;super(),this[_0x4fd54b(0x10d)]=_0x568d32,this[_0x4fd54b(0x11e)]=_0x5d065f;}async[_0x5a57f9(0xf6)](){const _0x445bfd=_0x5a57f9;try{const _0x3d8c96=this[_0x445bfd(0x10d)][_0x445bfd(0x119)](this[_0x445bfd(0x11e)]),_0x492bac=await _0x3d8c96[_0x445bfd(0x11a)]();this[_0x445bfd(0xf8)](_0x492bac);}catch(_0x3d68b0){this[_0x445bfd(0x10a)](_0x445bfd(0x11b),{'error':_0x3d68b0,'operation':_0x445bfd(0xf6)});}}[_0x5a57f9(0x124)](_0x21ee9c){const _0x4a9b38=_0x5a57f9;this[_0x4a9b38(0x115)][_0x4a9b38(0xfd)](_0x21ee9c);}async[_0x5a57f9(0x103)](_0x4ad342){const _0x4564ab=_0x5a57f9,_0x11e4af=this[_0x4564ab(0x115)][_0x4564ab(0xfc)](_0x2117cc=>_0x2117cc['id']===_0x4ad342);if(-0x1===_0x11e4af)return!0x1;try{return await this[_0x4564ab(0x10d)][_0x4564ab(0x10f)](_0x4ad342)[_0x4564ab(0x107)](),this[_0x4564ab(0x115)][_0x4564ab(0x11d)](_0x11e4af,0x1),this[_0x4564ab(0x10a)](_0x4564ab(0x111),{'itemId':_0x4ad342}),!0x0;}catch(_0x50cb20){return this[_0x4564ab(0x10a)](_0x4564ab(0x11b),{'error':_0x50cb20,'operation':_0x4564ab(0x103),'itemId':_0x4ad342}),!0x1;}}[_0x5a57f9(0x105)](_0x10b4c4){const _0x25db9c=_0x5a57f9;return this[_0x25db9c(0x115)][_0x25db9c(0x113)](_0x4343c8=>_0x4343c8['id']===_0x10b4c4);}async[_0x5a57f9(0x104)](_0x480933,_0x2a3836){const _0x3856e2=_0x5a57f9,_0x1f103d=this[_0x3856e2(0x105)](_0x480933);if(!_0x1f103d)return!0x1;try{return await this[_0x3856e2(0x10d)][_0x3856e2(0xff)](_0x480933,{'title':_0x2a3836})[_0x3856e2(0x122)](),_0x1f103d[_0x3856e2(0x102)](_0x2a3836),this[_0x3856e2(0x10a)](_0x3856e2(0x108),{'itemId':_0x480933,'updates':{'title':_0x2a3836}}),!0x0;}catch(_0x1bf6ff){return this[_0x3856e2(0x10a)](_0x3856e2(0x11b),{'error':_0x1bf6ff,'operation':_0x3856e2(0x104),'itemId':_0x480933}),!0x1;}}async[_0x5a57f9(0x10c)](_0x50551d,_0x41e3d7){const _0x44bc87=_0x5a57f9,_0x2766e9=this[_0x44bc87(0x105)](_0x50551d);if(!_0x2766e9)return!0x1;try{return await this[_0x44bc87(0x10d)][_0x44bc87(0xff)](_0x50551d,{'pinned':_0x41e3d7})[_0x44bc87(0x122)](),_0x2766e9[_0x44bc87(0xf9)](_0x41e3d7),this[_0x44bc87(0x10a)](_0x44bc87(0x108),{'itemId':_0x50551d,'updates':{'pinned':_0x41e3d7}}),!0x0;}catch(_0xf8e54b){return this[_0x44bc87(0x10a)](_0x44bc87(0x11b),{'error':_0xf8e54b,'operation':_0x44bc87(0x10c),'itemId':_0x50551d}),!0x1;}}[_0x5a57f9(0xf8)](_0x2d9a8c){const _0x14f1b2=_0x5a57f9;try{this[_0x14f1b2(0x115)]=[],_0x2d9a8c[_0x14f1b2(0x100)](_0x417b67=>{const _0x22f10d=_0x14f1b2;this[_0x22f10d(0x124)](new _0x1e3243(_0x417b67));}),this[_0x14f1b2(0x10a)](_0x14f1b2(0x123),{'items':[...this[_0x14f1b2(0x115)]]});}catch(_0x8965f9){this[_0x14f1b2(0x10a)](_0x14f1b2(0x11b),{'error':_0x8965f9,'operation':_0x14f1b2(0xf8)});}}[_0x5a57f9(0x117)](_0x48acc9={}){const _0xe734d=_0x5a57f9,_0x53b7cc=void 0x0!==_0x48acc9[_0xe734d(0x10e)]&&_0x48acc9[_0xe734d(0x10e)],_0x4ba27f=_0x48acc9[_0xe734d(0x114)]?new Date(_0x48acc9[_0xe734d(0x114)][_0xe734d(0xf7)](),_0x48acc9[_0xe734d(0x114)][_0xe734d(0x106)](),_0x48acc9[_0xe734d(0x114)][_0xe734d(0x109)]()):null,_0x4afda3=_0x48acc9['to']?new Date(_0x48acc9['to'][_0xe734d(0xf7)](),_0x48acc9['to'][_0xe734d(0x106)](),_0x48acc9['to'][_0xe734d(0x109)]()):null;return this[_0xe734d(0x115)][_0xe734d(0x112)](_0x64493=>{const _0x4e04d0=_0xe734d;if(_0x64493[_0x4e04d0(0x10e)]!==_0x53b7cc)return!0x1;if(_0x4afda3){const _0x21add6=new Date(_0x64493[_0x4e04d0(0x110)][_0x4e04d0(0xf7)](),_0x64493[_0x4e04d0(0x110)][_0x4e04d0(0x106)](),_0x64493[_0x4e04d0(0x110)][_0x4e04d0(0x109)]());return _0x4ba27f?_0x4ba27f[_0x4e04d0(0x116)]()===_0x4afda3[_0x4e04d0(0x116)]()?_0x21add6[_0x4e04d0(0x116)]()===_0x4ba27f[_0x4e04d0(0x116)]():_0x21add6<_0x4afda3&&_0x21add6>=_0x4ba27f:_0x21add6<_0x4afda3;}return!0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1c39ef=_0x17c5;(function(_0x6d95ab,_0x459d9f){var _0x560929=_0x17c5,_0x45b2dc=_0x6d95ab();while(!![]){try{var _0x273f6a=parseInt(_0x560929(0x1ce))/0x1*(parseInt(_0x560929(0x1cc))/0x2)+parseInt(_0x560929(0x1c0))/0x3+-parseInt(_0x560929(0x1c7))/0x4*(-parseInt(_0x560929(0x1c6))/0x5)+-parseInt(_0x560929(0x1cb))/0x6*(-parseInt(_0x560929(0x1bd))/0x7)+-parseInt(_0x560929(0x1be))/0x8*(-parseInt(_0x560929(0x1bf))/0x9)+-parseInt(_0x560929(0x1c9))/0xa+-parseInt(_0x560929(0x1c1))/0xb*(parseInt(_0x560929(0x1cf))/0xc);if(_0x273f6a===_0x459d9f)break;else _0x45b2dc['push'](_0x45b2dc['shift']());}catch(_0x189617){_0x45b2dc['push'](_0x45b2dc['shift']());}}}(_0x19e5,0x90081));function _0x19e5(){var _0x1d8aaa=['17648dDpZXP','2061MFSxoU','1245357sTEFzV','319inDGta','createdAt','pinned','updatePinned','set','30365PDooIQ','668gEDVZG','updateTitle','2259770OpCCbr','title','2134812MKsZfa','2PEwDTC','updatedAt','885575ByyCby','1270980dJroYb','21JRREBN'];_0x19e5=function(){return _0x1d8aaa;};return _0x19e5();}function _0x17c5(_0x571b08,_0x24ebb0){var _0x19e581=_0x19e5();return _0x17c5=function(_0x17c5ac,_0x5411b1){_0x17c5ac=_0x17c5ac-0x1bd;var _0x476ce4=_0x19e581[_0x17c5ac];return _0x476ce4;},_0x17c5(_0x571b08,_0x24ebb0);}import{ObservableMixin as _0x43ec92}from'ckeditor5/src/utils.js';import{escape as _0x23b34c}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x43ec92(){['id'];[_0x1c39ef(0x1c2)];constructor({id:_0x4ffbb3,title:_0x5e3925,createdAt:_0x1a2750,updatedAt:_0x51a47d,pinned:_0x3b96c5}){var _0x3c5c50=_0x1c39ef;super(),this['id']=_0x4ffbb3,this[_0x3c5c50(0x1c2)]=new Date(_0x1a2750),this[_0x3c5c50(0x1c5)](_0x3c5c50(0x1ca),_0x5e3925),this[_0x3c5c50(0x1c5)](_0x3c5c50(0x1cd),_0x51a47d?new Date(_0x51a47d):null),this[_0x3c5c50(0x1c5)](_0x3c5c50(0x1c3),_0x3b96c5||!0x1);}[_0x1c39ef(0x1c8)](_0xd581c7){var _0x4ad883=_0x1c39ef;this[_0x4ad883(0x1c5)](_0x4ad883(0x1ca),_0x23b34c(_0xd581c7)),this[_0x4ad883(0x1cd)]=new Date();}[_0x1c39ef(0x1c4)](_0xadd3fb){var _0x141cd9=_0x1c39ef;this[_0x141cd9(0x1c5)](_0x141cd9(0x1c3),_0xadd3fb),this[_0x141cd9(0x1cd)]=new Date();}}
23
+ var _0x16fee5=_0x3866;(function(_0x425e31,_0x58efed){var _0x482603=_0x3866,_0x48d503=_0x425e31();while(!![]){try{var _0x2bfe35=parseInt(_0x482603(0x11e))/0x1+-parseInt(_0x482603(0x127))/0x2*(-parseInt(_0x482603(0x126))/0x3)+parseInt(_0x482603(0x11a))/0x4+-parseInt(_0x482603(0x122))/0x5+parseInt(_0x482603(0x11d))/0x6+parseInt(_0x482603(0x11f))/0x7+-parseInt(_0x482603(0x11c))/0x8;if(_0x2bfe35===_0x58efed)break;else _0x48d503['push'](_0x48d503['shift']());}catch(_0x1e3d05){_0x48d503['push'](_0x48d503['shift']());}}}(_0x15f9,0xd6320));import{ObservableMixin as _0x431380}from'ckeditor5/src/utils.js';import{escape as _0x32c40b}from'es-toolkit/compat';function _0x15f9(){var _0x53336f=['647940dCXTlw','11900819LbTaFI','updatePinned','set','5038480bJjwUc','updatedAt','title','createdAt','132942jYGboH','14JucUvA','updateTitle','882372ggwJTK','pinned','10798184ATzoGV','2135790eBspPI'];_0x15f9=function(){return _0x53336f;};return _0x15f9();}function _0x3866(_0x46d759,_0x4c5f1e){var _0x15f965=_0x15f9();return _0x3866=function(_0x3866c7,_0x10a7a1){_0x3866c7=_0x3866c7-0x119;var _0x4067a0=_0x15f965[_0x3866c7];return _0x4067a0;},_0x3866(_0x46d759,_0x4c5f1e);}export class AIChatHistoryItem extends _0x431380(){['id'];[_0x16fee5(0x125)];constructor({id:_0x5bbea9,title:_0x4b4f00,createdAt:_0x543b62,updatedAt:_0x3b8ea0,pinned:_0x43388c}){var _0x4f3e85=_0x16fee5;super(),this['id']=_0x5bbea9,this[_0x4f3e85(0x125)]=new Date(_0x543b62),this[_0x4f3e85(0x121)](_0x4f3e85(0x124),_0x4b4f00),this[_0x4f3e85(0x121)](_0x4f3e85(0x123),_0x3b8ea0?new Date(_0x3b8ea0):null),this[_0x4f3e85(0x121)](_0x4f3e85(0x11b),_0x43388c||!0x1);}[_0x16fee5(0x119)](_0xd76ffd){var _0xb11834=_0x16fee5;this[_0xb11834(0x121)](_0xb11834(0x124),_0x32c40b(_0xd76ffd)),this[_0xb11834(0x123)]=new Date();}[_0x16fee5(0x120)](_0xf15c43){var _0x50af90=_0x16fee5;this[_0x50af90(0x121)](_0x50af90(0x11b),_0xf15c43),this[_0x50af90(0x123)]=new Date();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5ac2(_0x3c4e0a,_0x8e5d0b){const _0x4cface=_0x4cfa();return _0x5ac2=function(_0x5ac211,_0x2ffbbb){_0x5ac211=_0x5ac211-0x1bb;let _0x2d7290=_0x4cface[_0x5ac211];return _0x2d7290;},_0x5ac2(_0x3c4e0a,_0x8e5d0b);}const _0x55b91c=_0x5ac2;function _0x4cfa(){const _0xce949f=['ck-ai-chat-history__item-main-content','match','pinned','listitem','panelView','ck-confirm-view-submit','3668110dLvSDs','ck-ai-chat-history__item-check','extendTemplate','_createAcceptEditButtonView','ck-hidden','AI_CHAT_HISTORY_PIN_BUTTON','isMatching','ck-ai-chat-history__item--edit','children','ck-ai-chat-history__item','locale','ck-ai-chat-history__item-row','_commitEditInputValue','updateTitle','_createCancelEditButtonView','div','12FyrlDk','ck-ai-chat-history__item--active','loadingState','value','bindTemplate','_createCheckView','editConversationTitle','6OHCyEG','ck-ai-loader','selectConversation','click','AI_CHAT_HISTORY_LOADING_PINNING','bind','change:isEdit','key','AI_CHAT_HISTORY_LOADING_UNPINNING','523leDOWS','AI_CHAT_HISTORY_REMOVE_CONFIRM','10169190lbEHeN','1465404TFRkTn','ck-ai-chat-history__item-check-container','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','highlightText','AI_CHAT_HISTORY_EDIT_NAME','focus','AI_CHAT_HISTORY_LOADING_RENAMING','ck-ai-loader__text','_createMenuDropdownView','AI_CHAT_HISTORY_ACCEPT','clear','ck-confirm-view-cancel','span','152596rinBIY','updateLoadingState','element','isEdit','AI_CHAT_HISTORY_CANCEL','addMany','187XUBkkp','mainContent','Enter','2830736foYIIq','set','actions','string','1782istJNL','AI_CHAT_HISTORY_LOADING_REMOVING','fire','LOADING_LABELS','buttonView','ck-ai-chat-history__item-date','_titleView','panelPosition','text','ck-ai-chat-history__item-content','setTemplate','isVisible','tiny','9pjOtdz','createCollection','items','ck-ai-chat-history__item-title','setConversationPinned','_createPinButtonView','showConfirm','_createSpinnerView','edit:cancel','_createEditInputView','ck-ai-chat-history__item-actions','add','then','1816948vxmArP','label','AI_CHAT_HISTORY_REMOVE','execute','removeConversation','withText','isOn'];_0x4cfa=function(){return _0xce949f;};return _0x4cfa();}(function(_0x583eab,_0x141e69){const _0xa48eed=_0x5ac2,_0x3b452b=_0x583eab();while(!![]){try{const _0x22cc1d=-parseInt(_0xa48eed(0x1f7))/0x1*(parseInt(_0xa48eed(0x214))/0x2)+parseInt(_0xa48eed(0x1e7))/0x3*(-parseInt(_0xa48eed(0x207))/0x4)+parseInt(_0xa48eed(0x1d7))/0x5*(parseInt(_0xa48eed(0x1ee))/0x6)+-parseInt(_0xa48eed(0x1ca))/0x7+-parseInt(_0xa48eed(0x210))/0x8*(parseInt(_0xa48eed(0x1bd))/0x9)+-parseInt(_0xa48eed(0x1f9))/0xa+parseInt(_0xa48eed(0x20d))/0xb*(parseInt(_0xa48eed(0x1fa))/0xc);if(_0x22cc1d===_0x141e69)break;else _0x3b452b['push'](_0x3b452b['shift']());}catch(_0x1457b5){_0x3b452b['push'](_0x3b452b['shift']());}}}(_0x4cfa,0x88e39));import{ListItemView as _0x7c850e,HighlightedTextView as _0x33c8d7,ButtonView as _0x55e785,ListView as _0x4c8032,IconView as _0x1bcf08,createDropdown as _0x24a436,InputTextView as _0x161a2e}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x39825d,IconPin as _0xdef448,IconCheck as _0x114a55,IconCancel as _0x84d5b3}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x59aca1,ConfirmMixin as _0x483394}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x4f5f55}from'es-toolkit/compat';import{AISpinnerView as _0x53e6a8}from'../../aicore/ui/aispinner.js';import{getTranslation as _0xdd0230}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
- _0x483394(_0x7c850e){['id'];static [_0x55b91c(0x217)]={'remove':_0x55b91c(0x215),'rename':_0x55b91c(0x200),'pin':_0x55b91c(0x1f2),'unpin':_0x55b91c(0x1f6)};[_0x55b91c(0x212)];[_0x55b91c(0x20e)];[_0x55b91c(0x21a)];constructor(_0x3d5348,_0x39e8ac){const _0x3f9df4=_0x55b91c;super(_0x3d5348);const _0x4d988d=this[_0x3f9df4(0x1eb)];this[_0x3f9df4(0x211)](_0x3f9df4(0x20a),!0x1),this[_0x3f9df4(0x211)](_0x3f9df4(0x1bb),!0x0),this[_0x3f9df4(0x211)](_0x3f9df4(0x1d3),!!_0x39e8ac[_0x3f9df4(0x1d3)]),this[_0x3f9df4(0x211)](_0x3f9df4(0x1e9),null),this['id']=_0x39e8ac['id'];const {title:_0x2014a1,createdAt:_0x3a7e9a,active:_0x30cb71=!0x1}=_0x39e8ac;this[_0x3f9df4(0x21a)]=new _0x33c8d7(),this[_0x3f9df4(0x21a)][_0x3f9df4(0x21c)]=_0x2014a1,this[_0x3f9df4(0x21a)][_0x3f9df4(0x1d9)]({'attributes':{'class':[_0x3f9df4(0x1c0)]}});const _0x1c0d6b=this[_0x3f9df4(0x1ec)](),_0x4463ef=this[_0x3f9df4(0x1c2)](_0x3d5348),_0x223949=this[_0x3f9df4(0x202)](),_0x3c7d47=this[_0x3f9df4(0x1c6)](_0x3d5348,_0x2014a1),_0x453d7c=this[_0x3f9df4(0x1da)](_0x3d5348,_0x3c7d47),_0xe63e7f=this[_0x3f9df4(0x1e5)](_0x3d5348,_0x3c7d47);this[_0x3f9df4(0x212)]=this[_0x3f9df4(0x1be)](),this[_0x3f9df4(0x20e)]=this[_0x3f9df4(0x1be)](),this[_0x3f9df4(0x20e)][_0x3f9df4(0x1c8)](this[_0x3f9df4(0x21a)]),this[_0x3f9df4(0x212)][_0x3f9df4(0x1c8)](_0x4463ef),this[_0x3f9df4(0x212)][_0x3f9df4(0x1c8)](_0x223949),this['on'](_0x3f9df4(0x1f4),(_0x4b7715,_0x19e87a,_0x5bd390)=>{const _0x471793=_0x3f9df4;this[_0x471793(0x212)][_0x471793(0x204)](),this[_0x471793(0x20e)][_0x471793(0x204)](),_0x5bd390?(this[_0x471793(0x212)][_0x471793(0x1c8)](_0x453d7c),this[_0x471793(0x212)][_0x471793(0x1c8)](_0xe63e7f),this[_0x471793(0x20e)][_0x471793(0x1c8)](_0x3c7d47),_0x3c7d47[_0x471793(0x209)][_0x471793(0x1ff)]()):(this[_0x471793(0x212)][_0x471793(0x1c8)](_0x4463ef),this[_0x471793(0x212)][_0x471793(0x1c8)](_0x223949),this[_0x471793(0x20e)][_0x471793(0x1c8)](this[_0x471793(0x21a)]));}),this[_0x3f9df4(0x21e)]({'tag':'li','attributes':{'class':[_0x3f9df4(0x1e0),_0x30cb71?_0x3f9df4(0x1e8):'',_0x4d988d['if'](_0x3f9df4(0x1bb),_0x3f9df4(0x1db),_0x5e7d67=>!_0x5e7d67),_0x4d988d['if'](_0x3f9df4(0x20a),_0x3f9df4(0x1de))],'role':_0x3f9df4(0x1d4)},'children':[{'tag':_0x3f9df4(0x206),'attributes':{'class':[_0x3f9df4(0x1fb)]},'children':[{'tag':_0x3f9df4(0x1e6),'attributes':{'class':[_0x3f9df4(0x1d8),_0x4d988d['if'](_0x3f9df4(0x1e9),_0x3f9df4(0x1db),_0x42a226=>!!_0x42a226)]},'children':_0x30cb71?[_0x1c0d6b]:[]},{'tag':_0x3f9df4(0x1e6),'attributes':{'class':[_0x3f9df4(0x1ef),_0x4d988d['if'](_0x3f9df4(0x1e9),_0x3f9df4(0x1db),_0x364383=>!_0x364383)]},'children':[this[_0x3f9df4(0x1c4)]()]}]},{'tag':_0x3f9df4(0x1e6),'attributes':{'class':[_0x3f9df4(0x1e2)]},'children':[{'tag':_0x3f9df4(0x1e6),'attributes':{'class':[_0x3f9df4(0x21d)]},'on':{'click':this[_0x3f9df4(0x1eb)]['to'](_0x3f9df4(0x1f1))},'children':[{'tag':_0x3f9df4(0x1e6),'attributes':{'class':[_0x3f9df4(0x1d1)]},'children':[{'tag':_0x3f9df4(0x1e6),'attributes':{'class':[_0x3f9df4(0x1c0),_0x4d988d['if'](_0x3f9df4(0x1e9),_0x3f9df4(0x1db),_0x3651cf=>!!_0x3651cf)]},'children':this[_0x3f9df4(0x20e)]},{'tag':_0x3f9df4(0x1e6),'attributes':{'class':[_0x3f9df4(0x201),_0x4d988d['if'](_0x3f9df4(0x1e9),_0x3f9df4(0x1db),_0x1a0dd5=>!_0x1a0dd5)]},'children':[{'text':_0x4d988d['to'](_0x3f9df4(0x1e9),_0x4c08b7=>_0x4c08b7?_0xdd0230(this[_0x3f9df4(0x1e1)],AIChatHistoryListItemView[_0x3f9df4(0x217)][_0x4c08b7]):'')}]}]},{'tag':_0x3f9df4(0x206),'attributes':{'class':[_0x3f9df4(0x219)]},'children':[_0x3a7e9a]}]},{'tag':_0x3f9df4(0x1e6),'attributes':{'class':[_0x3f9df4(0x1c7)]},'children':this[_0x3f9df4(0x212)]}]}]}),this['on'](_0x3f9df4(0x1f1),()=>{const _0x13fb19=_0x3f9df4;this[_0x13fb19(0x20a)]||this[_0x13fb19(0x216)](_0x13fb19(0x1f0),{'id':this['id']});});}[_0x55b91c(0x1e4)](_0x3842a4){const _0x2d8851=_0x55b91c;this[_0x2d8851(0x21a)][_0x2d8851(0x21c)]=_0x4f5f55(_0x3842a4);}[_0x55b91c(0x208)](_0x5cd2be,_0x4d94e6){const _0x23b68b=_0x55b91c;this[_0x23b68b(0x211)](_0x23b68b(0x1e9),_0x4d94e6?_0x5cd2be:null);}[_0x55b91c(0x1ec)](){const _0x27bf38=_0x55b91c,_0x161b58=new _0x1bcf08();return _0x161b58[_0x27bf38(0x211)]({'content':_0x114a55}),_0x161b58;}[_0x55b91c(0x1c2)](_0x32eef8){const _0x253f09=_0x55b91c,_0x2615b4=new _0x55e785(_0x32eef8);return _0x2615b4[_0x253f09(0x211)]({'label':_0xdd0230(_0x32eef8,_0x253f09(0x1dc)),'icon':_0xdef448,'withText':!0x1,'tooltip':!0x0}),_0x2615b4[_0x253f09(0x1f3)](_0x253f09(0x1d0))['to'](this,_0x253f09(0x1d3)),_0x2615b4['on'](_0x253f09(0x1cd),()=>{const _0xd62d82=_0x253f09,_0x171ecd=!this[_0xd62d82(0x1d3)];this[_0xd62d82(0x216)](_0xd62d82(0x1c1),{'id':this['id'],'pinned':_0x171ecd});}),_0x2615b4;}[_0x55b91c(0x202)](){const _0x3ffb03=_0x55b91c,_0x4cb4db=_0x24a436(this[_0x3ffb03(0x1e1)],_0x59aca1),_0x13235=_0x4cb4db[_0x3ffb03(0x1d5)][_0x3ffb03(0x1df)];_0x4cb4db[_0x3ffb03(0x218)][_0x3ffb03(0x211)]({'label':_0xdd0230(this[_0x3ffb03(0x1e1)],_0x3ffb03(0x1fc)),'icon':_0x39825d}),_0x4cb4db[_0x3ffb03(0x21b)]='sw';const _0x375d1d=new _0x55e785(this[_0x3ffb03(0x1e1)]);_0x375d1d[_0x3ffb03(0x1cb)]=_0xdd0230(this[_0x3ffb03(0x1e1)],_0x3ffb03(0x1fe)),_0x375d1d[_0x3ffb03(0x1cf)]=!0x0,_0x375d1d['on'](_0x3ffb03(0x1cd),()=>{const _0x48a2d6=_0x3ffb03;this[_0x48a2d6(0x20a)]=!0x0;});const _0x4908e5=new _0x55e785(this[_0x3ffb03(0x1e1)]);_0x4908e5[_0x3ffb03(0x1cb)]=_0xdd0230(this[_0x3ffb03(0x1e1)],_0x3ffb03(0x1cc)),_0x4908e5[_0x3ffb03(0x1cf)]=!0x0,_0x4908e5['on'](_0x3ffb03(0x1cd),()=>{const _0x40fb65=_0x3ffb03;this[_0x40fb65(0x1c3)](_0xdd0230(this[_0x40fb65(0x1e1)],_0x40fb65(0x1f8)),this[_0x40fb65(0x209)])[_0x40fb65(0x1c9)](()=>{const _0x486c7a=_0x40fb65;this[_0x486c7a(0x216)](_0x486c7a(0x1ce),{'id':this['id']});});});const _0x3f10d1=new _0x4c8032(this[_0x3ffb03(0x1e1)]),_0x4c90a2=new _0x7c850e(this[_0x3ffb03(0x1e1)]);_0x4c90a2[_0x3ffb03(0x1df)][_0x3ffb03(0x1c8)](_0x375d1d);const _0x4a38af=new _0x7c850e(this[_0x3ffb03(0x1e1)]);return _0x4a38af[_0x3ffb03(0x1df)][_0x3ffb03(0x1c8)](_0x4908e5),_0x3f10d1[_0x3ffb03(0x1bf)][_0x3ffb03(0x20c)]([_0x4c90a2,_0x4a38af]),_0x13235[_0x3ffb03(0x1c8)](_0x3f10d1),_0x4cb4db;}[_0x55b91c(0x1c6)](_0x35d000,_0x31f1a7){const _0x4d1615=_0x55b91c,_0x1abe94=new _0x161a2e(_0x35d000),_0x156ea1=_0x1abe94[_0x4d1615(0x1eb)];return _0x1abe94[_0x4d1615(0x1ea)]=_0x31f1a7,_0x1abe94[_0x4d1615(0x1d9)]({'on':{'keydown':_0x156ea1['to'](_0x3397a9=>{const _0x392a77=_0x4d1615;_0x392a77(0x20f)==_0x3397a9[_0x392a77(0x1f5)]&&this[_0x392a77(0x1e3)](_0x1abe94);})}}),_0x1abe94;}[_0x55b91c(0x1da)](_0x112c73,_0x510923){const _0x5aea04=_0x55b91c,_0x5f4813=new _0x55e785(_0x112c73);return _0x5f4813[_0x5aea04(0x211)]({'icon':_0x114a55,'withText':!0x1,'tooltip':_0xdd0230(_0x112c73,_0x5aea04(0x203))}),_0x5f4813[_0x5aea04(0x1d9)]({'attributes':{'class':[_0x5aea04(0x1d6)]}}),_0x5f4813['on'](_0x5aea04(0x1cd),()=>{const _0x2b947d=_0x5aea04;this[_0x2b947d(0x1e3)](_0x510923);}),_0x5f4813;}[_0x55b91c(0x1e3)](_0x7cce11){const _0x2d106c=_0x55b91c,_0x2309ea=_0x7cce11[_0x2d106c(0x209)][_0x2d106c(0x1ea)]||'';this[_0x2d106c(0x21a)][_0x2d106c(0x21c)]=_0x2309ea,this[_0x2d106c(0x20a)]=!0x1,this[_0x2d106c(0x216)](_0x2d106c(0x1ed),{'id':this['id'],'title':_0x2309ea});}[_0x55b91c(0x1e5)](_0x1c8b13,_0x36a1f7){const _0x5e9756=_0x55b91c,_0x4fee01=new _0x55e785(_0x1c8b13);return _0x4fee01[_0x5e9756(0x211)]({'icon':_0x84d5b3,'withText':!0x1,'tooltip':_0xdd0230(_0x1c8b13,_0x5e9756(0x20b))}),_0x4fee01[_0x5e9756(0x1d9)]({'attributes':{'class':[_0x5e9756(0x205)]}}),_0x4fee01['on'](_0x5e9756(0x1cd),()=>{const _0x1104e6=_0x5e9756;this[_0x1104e6(0x20a)]=!0x1,_0x36a1f7[_0x1104e6(0x1ea)]=this[_0x1104e6(0x21a)][_0x1104e6(0x21c)]||'',this[_0x1104e6(0x216)](_0x1104e6(0x1c5));}),_0x4fee01;}[_0x55b91c(0x1c4)](){const _0x229ba5=_0x55b91c,_0x321464=new _0x53e6a8(_0x229ba5(0x1bc));return _0x321464[_0x229ba5(0x1bb)]=!0x0,_0x321464;}[_0x55b91c(0x1dd)](_0x15f095){const _0xc37adb=_0x55b91c;return this[_0xc37adb(0x21a)]&&_0xc37adb(0x213)==typeof this[_0xc37adb(0x21a)][_0xc37adb(0x21c)]&&this[_0xc37adb(0x21a)][_0xc37adb(0x21c)][_0xc37adb(0x1d2)](_0x15f095)?{'title':!0x0}:null;}[_0x55b91c(0x1fd)](_0x393904){const _0x1a4dac=_0x55b91c;this[_0x1a4dac(0x21a)][_0x1a4dac(0x1fd)](_0x393904);}}
23
+ const _0x2fc7ab=_0x3ad3;(function(_0x2cc384,_0x53dd49){const _0x2f9797=_0x3ad3,_0x23e396=_0x2cc384();while(!![]){try{const _0x3b116a=-parseInt(_0x2f9797(0xf2))/0x1+parseInt(_0x2f9797(0xf4))/0x2+-parseInt(_0x2f9797(0xdf))/0x3*(parseInt(_0x2f9797(0x134))/0x4)+parseInt(_0x2f9797(0x103))/0x5*(parseInt(_0x2f9797(0xeb))/0x6)+parseInt(_0x2f9797(0x10b))/0x7*(parseInt(_0x2f9797(0xf8))/0x8)+parseInt(_0x2f9797(0xed))/0x9*(-parseInt(_0x2f9797(0xfc))/0xa)+parseInt(_0x2f9797(0x109))/0xb;if(_0x3b116a===_0x53dd49)break;else _0x23e396['push'](_0x23e396['shift']());}catch(_0x6927bf){_0x23e396['push'](_0x23e396['shift']());}}}(_0x5d5d,0xf1800));import{ListItemView as _0x30aad1,HighlightedTextView as _0x4e05cb,ButtonView as _0x145cdd,ListView as _0x59097c,IconView as _0x1b66a8,createDropdown as _0x31ca47,InputTextView as _0x257fbf}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x55469e,IconPin as _0x5289ab,IconCheck as _0x1337f0,IconCancel as _0x4928d2}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x2f35e7,ConfirmMixin as _0x1e16c1}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5d5d(){const _0x4f6b86=['add','ck-ai-chat-history__item-date','AI_CHAT_HISTORY_LOADING_RENAMING','isOn','isEdit','listitem','24rGGdya','execute','focus','panelView','_commitEditInputValue','set','ck-hidden','loadingState','ck-ai-chat-history__item--active','ck-ai-chat-history__item--edit','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','selectConversation','_createSpinnerView','createCollection','415353aYyPws','label','AI_CHAT_HISTORY_LOADING_PINNING','AI_CHAT_HISTORY_CANCEL','updateTitle','ck-ai-loader__text','withText','setConversationPinned','value','bindTemplate','_createCancelEditButtonView','editConversationTitle','5064612vlREts','string','1551789AcnTYM','locale','ck-ai-chat-history__item','removeConversation','ck-ai-chat-history__item-title','270228bcBoRp','buttonView','3414574IODbbb','AI_CHAT_HISTORY_LOADING_UNPINNING','AI_CHAT_HISTORY_LOADING_REMOVING','LOADING_LABELS','16kNJHhR','edit:cancel','ck-ai-chat-history__item-content','tiny','110xLFFqE','then','_createEditInputView','click','showConfirm','extendTemplate','setTemplate','5JmPKQx','ck-ai-chat-history__item-check','fire','AI_CHAT_HISTORY_ACCEPT','AI_CHAT_HISTORY_REMOVE','div','5846082WSVXRt','ck-ai-chat-history__item-main-content','3163643DuYCzr','key','highlightText','_createAcceptEditButtonView','_createCheckView','panelPosition','match','AI_CHAT_HISTORY_EDIT_NAME','text','AI_CHAT_HISTORY_REMOVE_CONFIRM','isMatching','isVisible','_createMenuDropdownView','ck-ai-loader','AI_CHAT_HISTORY_PIN_BUTTON','mainContent','pinned','ck-ai-chat-history__item-actions','_titleView','updateLoadingState','_createPinButtonView','items','addMany','span','ck-confirm-view-submit','bind','ck-ai-chat-history__item-check-container','Enter','element','actions','children','ck-ai-chat-history__item-row','clear','change:isEdit','ck-confirm-view-cancel'];_0x5d5d=function(){return _0x4f6b86;};return _0x5d5d();}import{escape as _0x3d3fcc}from'es-toolkit/compat';import{AISpinnerView as _0x792eba}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x16ea3b}from'../../aicore/utils/common-translations.js';function _0x3ad3(_0x578afc,_0x3d4216){const _0x5d5d3a=_0x5d5d();return _0x3ad3=function(_0x3ad37b,_0x3f733a){_0x3ad37b=_0x3ad37b-0xd4;let _0x3448d5=_0x5d5d3a[_0x3ad37b];return _0x3448d5;},_0x3ad3(_0x578afc,_0x3d4216);}export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
+ _0x1e16c1(_0x30aad1){['id'];static [_0x2fc7ab(0xf7)]={'remove':_0x2fc7ab(0xf6),'rename':_0x2fc7ab(0x130),'pin':_0x2fc7ab(0xe1),'unpin':_0x2fc7ab(0xf5)};[_0x2fc7ab(0x128)];[_0x2fc7ab(0x11a)];[_0x2fc7ab(0x11d)];constructor(_0x43ad62,_0x3f6fec){const _0x227a60=_0x2fc7ab;super(_0x43ad62);const _0x3baeea=this[_0x227a60(0xe8)];this[_0x227a60(0xd6)](_0x227a60(0x132),!0x1),this[_0x227a60(0xd6)](_0x227a60(0x116),!0x0),this[_0x227a60(0xd6)](_0x227a60(0x11b),!!_0x3f6fec[_0x227a60(0x11b)]),this[_0x227a60(0xd6)](_0x227a60(0xd8),null),this['id']=_0x3f6fec['id'];const {title:_0x452dd9,createdAt:_0x1a127b,active:_0x216fc1=!0x1}=_0x3f6fec;this[_0x227a60(0x11d)]=new _0x4e05cb(),this[_0x227a60(0x11d)][_0x227a60(0x113)]=_0x452dd9,this[_0x227a60(0x11d)][_0x227a60(0x101)]({'attributes':{'class':[_0x227a60(0xf1)]}});const _0x30f9f4=this[_0x227a60(0x10f)](),_0x302467=this[_0x227a60(0x11f)](_0x43ad62),_0x58ccb4=this[_0x227a60(0x117)](),_0x5ab24e=this[_0x227a60(0xfe)](_0x43ad62,_0x452dd9),_0x550dc2=this[_0x227a60(0x10e)](_0x43ad62,_0x5ab24e),_0x4f5703=this[_0x227a60(0xe9)](_0x43ad62,_0x5ab24e);this[_0x227a60(0x128)]=this[_0x227a60(0xde)](),this[_0x227a60(0x11a)]=this[_0x227a60(0xde)](),this[_0x227a60(0x11a)][_0x227a60(0x12e)](this[_0x227a60(0x11d)]),this[_0x227a60(0x128)][_0x227a60(0x12e)](_0x302467),this[_0x227a60(0x128)][_0x227a60(0x12e)](_0x58ccb4),this['on'](_0x227a60(0x12c),(_0x2f633f,_0x1b1329,_0x3ed737)=>{const _0x4723a3=_0x227a60;this[_0x4723a3(0x128)][_0x4723a3(0x12b)](),this[_0x4723a3(0x11a)][_0x4723a3(0x12b)](),_0x3ed737?(this[_0x4723a3(0x128)][_0x4723a3(0x12e)](_0x550dc2),this[_0x4723a3(0x128)][_0x4723a3(0x12e)](_0x4f5703),this[_0x4723a3(0x11a)][_0x4723a3(0x12e)](_0x5ab24e),_0x5ab24e[_0x4723a3(0x127)][_0x4723a3(0x136)]()):(this[_0x4723a3(0x128)][_0x4723a3(0x12e)](_0x302467),this[_0x4723a3(0x128)][_0x4723a3(0x12e)](_0x58ccb4),this[_0x4723a3(0x11a)][_0x4723a3(0x12e)](this[_0x4723a3(0x11d)]));}),this[_0x227a60(0x102)]({'tag':'li','attributes':{'class':[_0x227a60(0xef),_0x216fc1?_0x227a60(0xd9):'',_0x3baeea['if'](_0x227a60(0x116),_0x227a60(0xd7),_0x4d54ea=>!_0x4d54ea),_0x3baeea['if'](_0x227a60(0x132),_0x227a60(0xda))],'role':_0x227a60(0x133)},'children':[{'tag':_0x227a60(0x122),'attributes':{'class':[_0x227a60(0x125)]},'children':[{'tag':_0x227a60(0x108),'attributes':{'class':[_0x227a60(0x104),_0x3baeea['if'](_0x227a60(0xd8),_0x227a60(0xd7),_0x1f7b9f=>!!_0x1f7b9f)]},'children':_0x216fc1?[_0x30f9f4]:[]},{'tag':_0x227a60(0x108),'attributes':{'class':[_0x227a60(0x118),_0x3baeea['if'](_0x227a60(0xd8),_0x227a60(0xd7),_0x151e41=>!_0x151e41)]},'children':[this[_0x227a60(0xdd)]()]}]},{'tag':_0x227a60(0x108),'attributes':{'class':[_0x227a60(0x12a)]},'children':[{'tag':_0x227a60(0x108),'attributes':{'class':[_0x227a60(0xfa)]},'on':{'click':this[_0x227a60(0xe8)]['to'](_0x227a60(0xff))},'children':[{'tag':_0x227a60(0x108),'attributes':{'class':[_0x227a60(0x10a)]},'children':[{'tag':_0x227a60(0x108),'attributes':{'class':[_0x227a60(0xf1),_0x3baeea['if'](_0x227a60(0xd8),_0x227a60(0xd7),_0x1931d6=>!!_0x1931d6)]},'children':this[_0x227a60(0x11a)]},{'tag':_0x227a60(0x108),'attributes':{'class':[_0x227a60(0xe4),_0x3baeea['if'](_0x227a60(0xd8),_0x227a60(0xd7),_0x4822ab=>!_0x4822ab)]},'children':[{'text':_0x3baeea['to'](_0x227a60(0xd8),_0x16a268=>_0x16a268?_0x16ea3b(this[_0x227a60(0xee)],AIChatHistoryListItemView[_0x227a60(0xf7)][_0x16a268]):'')}]}]},{'tag':_0x227a60(0x122),'attributes':{'class':[_0x227a60(0x12f)]},'children':[_0x1a127b]}]},{'tag':_0x227a60(0x108),'attributes':{'class':[_0x227a60(0x11c)]},'children':this[_0x227a60(0x128)]}]}]}),this['on'](_0x227a60(0xff),()=>{const _0x4d6963=_0x227a60;this[_0x4d6963(0x132)]||this[_0x4d6963(0x105)](_0x4d6963(0xdc),{'id':this['id']});});}[_0x2fc7ab(0xe3)](_0x49b4c7){const _0x5bba5e=_0x2fc7ab;this[_0x5bba5e(0x11d)][_0x5bba5e(0x113)]=_0x3d3fcc(_0x49b4c7);}[_0x2fc7ab(0x11e)](_0x2b8e9e,_0xf4e71b){const _0x28834c=_0x2fc7ab;this[_0x28834c(0xd6)](_0x28834c(0xd8),_0xf4e71b?_0x2b8e9e:null);}[_0x2fc7ab(0x10f)](){const _0x49f85f=_0x2fc7ab,_0x33c909=new _0x1b66a8();return _0x33c909[_0x49f85f(0xd6)]({'content':_0x1337f0}),_0x33c909;}[_0x2fc7ab(0x11f)](_0x2024d9){const _0x2a472f=_0x2fc7ab,_0x2921a4=new _0x145cdd(_0x2024d9);return _0x2921a4[_0x2a472f(0xd6)]({'label':_0x16ea3b(_0x2024d9,_0x2a472f(0x119)),'icon':_0x5289ab,'withText':!0x1,'tooltip':!0x0}),_0x2921a4[_0x2a472f(0x124)](_0x2a472f(0x131))['to'](this,_0x2a472f(0x11b)),_0x2921a4['on'](_0x2a472f(0x135),()=>{const _0x2e0ba3=_0x2a472f,_0x208208=!this[_0x2e0ba3(0x11b)];this[_0x2e0ba3(0x105)](_0x2e0ba3(0xe6),{'id':this['id'],'pinned':_0x208208});}),_0x2921a4;}[_0x2fc7ab(0x117)](){const _0x547b36=_0x2fc7ab,_0x4fef92=_0x31ca47(this[_0x547b36(0xee)],_0x2f35e7),_0x2c09b7=_0x4fef92[_0x547b36(0xd4)][_0x547b36(0x129)];_0x4fef92[_0x547b36(0xf3)][_0x547b36(0xd6)]({'label':_0x16ea3b(this[_0x547b36(0xee)],_0x547b36(0xdb)),'icon':_0x55469e}),_0x4fef92[_0x547b36(0x110)]='sw';const _0x5e639b=new _0x145cdd(this[_0x547b36(0xee)]);_0x5e639b[_0x547b36(0xe0)]=_0x16ea3b(this[_0x547b36(0xee)],_0x547b36(0x112)),_0x5e639b[_0x547b36(0xe5)]=!0x0,_0x5e639b['on'](_0x547b36(0x135),()=>{const _0x3e6e65=_0x547b36;this[_0x3e6e65(0x132)]=!0x0;});const _0x4b7f75=new _0x145cdd(this[_0x547b36(0xee)]);_0x4b7f75[_0x547b36(0xe0)]=_0x16ea3b(this[_0x547b36(0xee)],_0x547b36(0x107)),_0x4b7f75[_0x547b36(0xe5)]=!0x0,_0x4b7f75['on'](_0x547b36(0x135),()=>{const _0x446484=_0x547b36;this[_0x446484(0x100)](_0x16ea3b(this[_0x446484(0xee)],_0x446484(0x114)),this[_0x446484(0x127)])[_0x446484(0xfd)](()=>{const _0x5899b5=_0x446484;this[_0x5899b5(0x105)](_0x5899b5(0xf0),{'id':this['id']});});});const _0x3c7f3b=new _0x59097c(this[_0x547b36(0xee)]),_0x1cf5b9=new _0x30aad1(this[_0x547b36(0xee)]);_0x1cf5b9[_0x547b36(0x129)][_0x547b36(0x12e)](_0x5e639b);const _0x5744db=new _0x30aad1(this[_0x547b36(0xee)]);return _0x5744db[_0x547b36(0x129)][_0x547b36(0x12e)](_0x4b7f75),_0x3c7f3b[_0x547b36(0x120)][_0x547b36(0x121)]([_0x1cf5b9,_0x5744db]),_0x2c09b7[_0x547b36(0x12e)](_0x3c7f3b),_0x4fef92;}[_0x2fc7ab(0xfe)](_0xab50d5,_0x7808ba){const _0xd377cd=_0x2fc7ab,_0x3d8459=new _0x257fbf(_0xab50d5),_0x18e6b7=_0x3d8459[_0xd377cd(0xe8)];return _0x3d8459[_0xd377cd(0xe7)]=_0x7808ba,_0x3d8459[_0xd377cd(0x101)]({'on':{'keydown':_0x18e6b7['to'](_0x3ff946=>{const _0x43574c=_0xd377cd;_0x43574c(0x126)==_0x3ff946[_0x43574c(0x10c)]&&this[_0x43574c(0xd5)](_0x3d8459);})}}),_0x3d8459;}[_0x2fc7ab(0x10e)](_0x223ae3,_0x43937e){const _0x148dd8=_0x2fc7ab,_0x5099a4=new _0x145cdd(_0x223ae3);return _0x5099a4[_0x148dd8(0xd6)]({'icon':_0x1337f0,'withText':!0x1,'tooltip':_0x16ea3b(_0x223ae3,_0x148dd8(0x106))}),_0x5099a4[_0x148dd8(0x101)]({'attributes':{'class':[_0x148dd8(0x123)]}}),_0x5099a4['on'](_0x148dd8(0x135),()=>{const _0x5d9351=_0x148dd8;this[_0x5d9351(0xd5)](_0x43937e);}),_0x5099a4;}[_0x2fc7ab(0xd5)](_0x3e598f){const _0x330536=_0x2fc7ab,_0x245e4d=_0x3e598f[_0x330536(0x127)][_0x330536(0xe7)]||'';this[_0x330536(0x11d)][_0x330536(0x113)]=_0x245e4d,this[_0x330536(0x132)]=!0x1,this[_0x330536(0x105)](_0x330536(0xea),{'id':this['id'],'title':_0x245e4d});}[_0x2fc7ab(0xe9)](_0x203875,_0x1d522d){const _0x1d4a1a=_0x2fc7ab,_0x716d53=new _0x145cdd(_0x203875);return _0x716d53[_0x1d4a1a(0xd6)]({'icon':_0x4928d2,'withText':!0x1,'tooltip':_0x16ea3b(_0x203875,_0x1d4a1a(0xe2))}),_0x716d53[_0x1d4a1a(0x101)]({'attributes':{'class':[_0x1d4a1a(0x12d)]}}),_0x716d53['on'](_0x1d4a1a(0x135),()=>{const _0x30efb3=_0x1d4a1a;this[_0x30efb3(0x132)]=!0x1,_0x1d522d[_0x30efb3(0xe7)]=this[_0x30efb3(0x11d)][_0x30efb3(0x113)]||'',this[_0x30efb3(0x105)](_0x30efb3(0xf9));}),_0x716d53;}[_0x2fc7ab(0xdd)](){const _0x114d40=_0x2fc7ab,_0x753085=new _0x792eba(_0x114d40(0xfb));return _0x753085[_0x114d40(0x116)]=!0x0,_0x753085;}[_0x2fc7ab(0x115)](_0x46a626){const _0x224ee4=_0x2fc7ab;return this[_0x224ee4(0x11d)]&&_0x224ee4(0xec)==typeof this[_0x224ee4(0x11d)][_0x224ee4(0x113)]&&this[_0x224ee4(0x11d)][_0x224ee4(0x113)][_0x224ee4(0x111)](_0x46a626)?{'title':!0x0}:null;}[_0x2fc7ab(0x10d)](_0x122eae){const _0x4501ec=_0x2fc7ab;this[_0x4501ec(0x11d)][_0x4501ec(0x10d)](_0x122eae);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20b978=_0x44f1;(function(_0x3d8566,_0x29e498){const _0x3c795a=_0x44f1,_0x18b220=_0x3d8566();while(!![]){try{const _0x4e2349=-parseInt(_0x3c795a(0xec))/0x1+-parseInt(_0x3c795a(0xe5))/0x2+-parseInt(_0x3c795a(0xf9))/0x3*(parseInt(_0x3c795a(0xef))/0x4)+-parseInt(_0x3c795a(0xee))/0x5*(-parseInt(_0x3c795a(0xf8))/0x6)+parseInt(_0x3c795a(0xfa))/0x7+parseInt(_0x3c795a(0xfb))/0x8+parseInt(_0x3c795a(0xfd))/0x9;if(_0x4e2349===_0x29e498)break;else _0x18b220['push'](_0x18b220['shift']());}catch(_0x367349){_0x18b220['push'](_0x18b220['shift']());}}}(_0x2d7c,0xbe9e0));function _0x44f1(_0x28b426,_0x1ee35d){const _0x2d7c27=_0x2d7c();return _0x44f1=function(_0x44f1d1,_0xd7162a){_0x44f1d1=_0x44f1d1-0xe3;let _0x3d25a1=_0x2d7c27[_0x44f1d1];return _0x3d25a1;},_0x44f1(_0x28b426,_0x1ee35d);}import{ListItemView as _0x56ace3,View as _0x2185ed,ListView as _0x56667f}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x56ace3{[_0x20b978(0xed)];[_0x20b978(0xfe)];[_0x20b978(0xe3)];constructor(_0x479d6c,{title:_0x322294,items:_0x4771c8}){const _0x196038=_0x20b978;super(_0x479d6c);const _0x2ff117=this[_0x196038(0xf6)];this[_0x196038(0x102)](_0x196038(0xf2),!0x0),this[_0x196038(0xed)]=_0x322294,this[_0x196038(0xfe)]=_0x4771c8;const _0xdd0218=new _0x2185ed(_0x479d6c);_0xdd0218[_0x196038(0xeb)]({'tag':_0x196038(0xf7),'attributes':{'class':[_0x196038(0x100)]},'children':[this[_0x196038(0xed)]]}),this[_0x196038(0xe3)]=new _0x56667f(_0x479d6c),this[_0x196038(0xe3)][_0x196038(0xf4)][_0x196038(0xfc)](this[_0x196038(0xfe)]),this[_0x196038(0xeb)]({'tag':'li','attributes':{'class':[_0x196038(0xff),_0x2ff117['if'](_0x196038(0xf2),_0x196038(0xe9),_0x4d6293=>!_0x4d6293)]},'children':[_0xdd0218,this[_0x196038(0xe3)]]});}[_0x20b978(0xf0)](_0x18221e){const _0x1c98c5=_0x20b978,_0x3c896c=this[_0x1c98c5(0xfe)][_0x1c98c5(0xf1)];let _0x5b4fe8=0x0;for(const _0x194433 of this[_0x1c98c5(0xfe)]){if(_0x18221e){const _0x1f3de0=_0x194433[_0x1c98c5(0xf3)](_0x18221e);_0x194433[_0x1c98c5(0xf2)]=!!_0x1f3de0,_0x194433[_0x1c98c5(0xe8)](_0x18221e);}else _0x194433[_0x1c98c5(0xf2)]=!0x0,_0x194433[_0x1c98c5(0xe8)](null);_0x194433[_0x1c98c5(0xf2)]&&_0x5b4fe8++;}return this[_0x1c98c5(0xf2)]=_0x5b4fe8>0x0,{'resultsCount':_0x5b4fe8,'totalItemsCount':_0x3c896c};}[_0x20b978(0xe6)](_0x15fd4c){const _0x54f7c7=_0x20b978;return this[_0x54f7c7(0xfe)][_0x54f7c7(0xe7)](_0x529bfe=>_0x529bfe['id']===_0x15fd4c);}[_0x20b978(0xe4)](_0xdbea30){const _0x52bfa9=_0x20b978,_0x4241b7=this[_0x52bfa9(0xfe)][_0x52bfa9(0xf5)](_0xdbea30);-0x1!==_0x4241b7&&(this[_0x52bfa9(0xfe)][_0x52bfa9(0x101)](_0x4241b7,0x1),this[_0x52bfa9(0xe3)][_0x52bfa9(0xf4)][_0x52bfa9(0xea)](_0xdbea30));}}function _0x2d7c(){const _0x3137c3=['removeItem','1133714RXeynO','getItem','find','highlightText','ck-hidden','remove','setTemplate','941172dwVulX','title','59765yxRmOH','1613756FcoCEv','filter','length','isVisible','isMatching','items','indexOf','bindTemplate','div','468DaWJlJ','9TFcdKU','871815xOljWy','10225280SrzBJm','addMany','10476675dJflOl','itemsViews','ck-ai-chat-history__section','ck-ai-chat-history__section-title','splice','set','_itemsListView'];_0x2d7c=function(){return _0x3137c3;};return _0x2d7c();}
23
+ const _0x476486=_0x5b22;function _0x5b22(_0x25aced,_0x3df099){const _0x3e8174=_0x3e81();return _0x5b22=function(_0x5b22f4,_0x145a35){_0x5b22f4=_0x5b22f4-0x88;let _0x2ffc39=_0x3e8174[_0x5b22f4];return _0x2ffc39;},_0x5b22(_0x25aced,_0x3df099);}(function(_0xde8e6f,_0x546f4b){const _0x1e4530=_0x5b22,_0x3df49e=_0xde8e6f();while(!![]){try{const _0x4d7e15=-parseInt(_0x1e4530(0x8a))/0x1+parseInt(_0x1e4530(0xa7))/0x2+-parseInt(_0x1e4530(0x90))/0x3+-parseInt(_0x1e4530(0x89))/0x4*(parseInt(_0x1e4530(0xa4))/0x5)+parseInt(_0x1e4530(0x8c))/0x6*(-parseInt(_0x1e4530(0x9f))/0x7)+-parseInt(_0x1e4530(0x9b))/0x8*(parseInt(_0x1e4530(0x8d))/0x9)+parseInt(_0x1e4530(0x96))/0xa;if(_0x4d7e15===_0x546f4b)break;else _0x3df49e['push'](_0x3df49e['shift']());}catch(_0x378e3f){_0x3df49e['push'](_0x3df49e['shift']());}}}(_0x3e81,0xdaa2c));import{ListItemView as _0x2d16f2,View as _0x5560f2,ListView as _0x5706ff}from'ckeditor5/src/ui.js';function _0x3e81(){const _0x4f6bd3=['getItem','splice','2777760PaHymV','set','removeItem','_itemsListView','setTemplate','isMatching','56954290CqGjiL','addMany','itemsViews','ck-ai-chat-history__section-title','isVisible','24XNMobN','remove','div','ck-ai-chat-history__section','1057385Rmeewx','items','bindTemplate','title','filter','1076840UzckkS','length','highlightText','2803902jknDuL','find','indexOf','28yrBgxe','1664271CvNWRq','ck-hidden','30rjinHS','4046418JFDHfz'];_0x3e81=function(){return _0x4f6bd3;};return _0x3e81();}export class AIChatHistoryListView extends _0x2d16f2{[_0x476486(0xa2)];[_0x476486(0x98)];[_0x476486(0x93)];constructor(_0x3e1d05,{title:_0x157e08,items:_0x146e23}){const _0x55c510=_0x476486;super(_0x3e1d05);const _0x5d3871=this[_0x55c510(0xa1)];this[_0x55c510(0x91)](_0x55c510(0x9a),!0x0),this[_0x55c510(0xa2)]=_0x157e08,this[_0x55c510(0x98)]=_0x146e23;const _0x13e1e6=new _0x5560f2(_0x3e1d05);_0x13e1e6[_0x55c510(0x94)]({'tag':_0x55c510(0x9d),'attributes':{'class':[_0x55c510(0x99)]},'children':[this[_0x55c510(0xa2)]]}),this[_0x55c510(0x93)]=new _0x5706ff(_0x3e1d05),this[_0x55c510(0x93)][_0x55c510(0xa0)][_0x55c510(0x97)](this[_0x55c510(0x98)]),this[_0x55c510(0x94)]({'tag':'li','attributes':{'class':[_0x55c510(0x9e),_0x5d3871['if'](_0x55c510(0x9a),_0x55c510(0x8b),_0x11e079=>!_0x11e079)]},'children':[_0x13e1e6,this[_0x55c510(0x93)]]});}[_0x476486(0xa3)](_0x44356f){const _0x23c946=_0x476486,_0x2d0745=this[_0x23c946(0x98)][_0x23c946(0xa5)];let _0x21e2f2=0x0;for(const _0xd502a7 of this[_0x23c946(0x98)]){if(_0x44356f){const _0x3a50fd=_0xd502a7[_0x23c946(0x95)](_0x44356f);_0xd502a7[_0x23c946(0x9a)]=!!_0x3a50fd,_0xd502a7[_0x23c946(0xa6)](_0x44356f);}else _0xd502a7[_0x23c946(0x9a)]=!0x0,_0xd502a7[_0x23c946(0xa6)](null);_0xd502a7[_0x23c946(0x9a)]&&_0x21e2f2++;}return this[_0x23c946(0x9a)]=_0x21e2f2>0x0,{'resultsCount':_0x21e2f2,'totalItemsCount':_0x2d0745};}[_0x476486(0x8e)](_0x511535){const _0x17e6a8=_0x476486;return this[_0x17e6a8(0x98)][_0x17e6a8(0xa8)](_0x4a7012=>_0x4a7012['id']===_0x511535);}[_0x476486(0x92)](_0x442f20){const _0x3f55c2=_0x476486,_0x4ee38f=this[_0x3f55c2(0x98)][_0x3f55c2(0x88)](_0x442f20);-0x1!==_0x4ee38f&&(this[_0x3f55c2(0x98)][_0x3f55c2(0x8f)](_0x4ee38f,0x1),this[_0x3f55c2(0x93)][_0x3f55c2(0xa0)][_0x3f55c2(0x9c)](_0x442f20));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x28fa(_0x21312a,_0x5b99f7){const _0x7aa8ef=_0x7aa8();return _0x28fa=function(_0x28fa98,_0x4bacf5){_0x28fa98=_0x28fa98-0xb9;let _0x4577db=_0x7aa8ef[_0x28fa98];return _0x4577db;},_0x28fa(_0x21312a,_0x5b99f7);}const _0x3d4f41=_0x28fa;(function(_0x4c7073,_0x295e00){const _0x52b478=_0x28fa,_0x557c3e=_0x4c7073();while(!![]){try{const _0x4bdc7=-parseInt(_0x52b478(0xbb))/0x1*(parseInt(_0x52b478(0xb9))/0x2)+parseInt(_0x52b478(0xc4))/0x3+-parseInt(_0x52b478(0xc3))/0x4+parseInt(_0x52b478(0xbe))/0x5*(-parseInt(_0x52b478(0xbc))/0x6)+parseInt(_0x52b478(0xba))/0x7*(-parseInt(_0x52b478(0xc1))/0x8)+-parseInt(_0x52b478(0xc7))/0x9+parseInt(_0x52b478(0xc5))/0xa;if(_0x4bdc7===_0x295e00)break;else _0x557c3e['push'](_0x557c3e['shift']());}catch(_0x57907f){_0x557c3e['push'](_0x557c3e['shift']());}}}(_0x7aa8,0xdb760));import{ListView as _0x47e536}from'ckeditor5/src/ui.js';export class AIChatHistorySectionListView extends _0x47e536{[_0x3d4f41(0xbf)];constructor(_0x198b0a,_0x1cb983){const _0xaa60c=_0x3d4f41;super(_0x198b0a),this[_0xaa60c(0xbf)]=_0x1cb983,this[_0xaa60c(0xc0)][_0xaa60c(0xc8)](this[_0xaa60c(0xbf)]),this[_0xaa60c(0xc2)]({'attributes':{'class':[_0xaa60c(0xbd)]}});}[_0x3d4f41(0xc6)](_0x39d4f5){const _0x1146ad=_0x3d4f41;let _0x50ac93=0x0,_0x17ff99=0x0;for(const _0x54c32f of this[_0x1146ad(0xbf)]){const {resultsCount:_0x180520,totalItemsCount:_0x328a2c}=_0x54c32f[_0x1146ad(0xc6)](_0x39d4f5);_0x50ac93+=_0x180520,_0x17ff99+=_0x328a2c;}return{'resultsCount':_0x50ac93,'totalItemsCount':_0x17ff99};}}function _0x7aa8(){const _0x4e5233=['items','11629336DcSFuf','extendTemplate','2523320WsxLAq','1485717GkrpLV','54178750jKbSAR','filter','13199724ayRZUI','addMany','6osjIQO','7ViwKji','396509HgkGot','12LLRcyx','ck-ai-chat-history__sections','683855FXVPQG','sections'];_0x7aa8=function(){return _0x4e5233;};return _0x7aa8();}
23
+ const _0x390a39=_0x3256;(function(_0x567808,_0x1e0235){const _0x43fd87=_0x3256,_0x1d80fe=_0x567808();while(!![]){try{const _0x11a442=parseInt(_0x43fd87(0x187))/0x1*(parseInt(_0x43fd87(0x184))/0x2)+-parseInt(_0x43fd87(0x182))/0x3*(parseInt(_0x43fd87(0x17a))/0x4)+-parseInt(_0x43fd87(0x17c))/0x5+parseInt(_0x43fd87(0x188))/0x6+-parseInt(_0x43fd87(0x179))/0x7+parseInt(_0x43fd87(0x186))/0x8*(-parseInt(_0x43fd87(0x17e))/0x9)+parseInt(_0x43fd87(0x17b))/0xa;if(_0x11a442===_0x1e0235)break;else _0x1d80fe['push'](_0x1d80fe['shift']());}catch(_0x5c38bf){_0x1d80fe['push'](_0x1d80fe['shift']());}}}(_0x54f4,0xbf511));function _0x54f4(){const _0x3101cd=['ck-ai-chat-history__sections','243qdAYIf','sections','filter','extendTemplate','3VnFKaZ','addMany','22GJlaGX','items','455528alWZWf','16167moivLE','7149444wLPMCQ','320229ybRNGI','2570508nZACzh','27986520SsohpB','5793245abICVQ'];_0x54f4=function(){return _0x3101cd;};return _0x54f4();}function _0x3256(_0x118c39,_0x323b09){const _0x54f4a7=_0x54f4();return _0x3256=function(_0x3256c7,_0x28f198){_0x3256c7=_0x3256c7-0x179;let _0x11e4da=_0x54f4a7[_0x3256c7];return _0x11e4da;},_0x3256(_0x118c39,_0x323b09);}import{ListView as _0x2f5778}from'ckeditor5/src/ui.js';export class AIChatHistorySectionListView extends _0x2f5778{[_0x390a39(0x17f)];constructor(_0x508ae9,_0x57a223){const _0x324de6=_0x390a39;super(_0x508ae9),this[_0x324de6(0x17f)]=_0x57a223,this[_0x324de6(0x185)][_0x324de6(0x183)](this[_0x324de6(0x17f)]),this[_0x324de6(0x181)]({'attributes':{'class':[_0x324de6(0x17d)]}});}[_0x390a39(0x180)](_0x5dc30d){const _0x167e51=_0x390a39;let _0x42422e=0x0,_0x28e937=0x0;for(const _0x87f558 of this[_0x167e51(0x17f)]){const {resultsCount:_0x2bb420,totalItemsCount:_0xcbae7b}=_0x87f558[_0x167e51(0x180)](_0x5dc30d);_0x42422e+=_0x2bb420,_0x28e937+=_0xcbae7b;}return{'resultsCount':_0x42422e,'totalItemsCount':_0x28e937};}}